diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1ef4ee6..d8e7486 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,17 +9,44 @@ on: - main jobs: + build-windows: + name: Build Windows + runs-on: blacksmith-4vcpu-windows-2025 + env: + GOWORK: off + steps: + - name: Checkout code + uses: actions/checkout@v5 + + - name: Set up Go + uses: actions/setup-go@v6 + with: + go-version-file: go.mod + cache: true + + - name: Download dependencies + run: go mod download + + - name: Test + run: go test -v -count=1 -timeout=3m ./... + + - name: Build + run: go build -o openapi-changes.exe . + build: name: Build runs-on: blacksmith-4vcpu-ubuntu-2404 + env: + GOWORK: off steps: - name: Checkout code uses: actions/checkout@v5 - - name: Set up Go 1.x + - name: Set up Go uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version-file: go.mod + cache: true id: go - name: Set up Node.js @@ -36,8 +63,8 @@ jobs: status="$(git status --porcelain --untracked-files=all -- html-report/ui/build/static)" test -z "$status" || { echo "$status"; exit 1; } - - name: Get dependencies - run: go get -v -t -d ./... + - name: Download dependencies + run: go mod download - name: Test run: go test ./... diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ec3917c..2d2227e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -19,7 +19,8 @@ jobs: uses: actions/setup-go@v6 id: go with: - go-version: ^1.24 + go-version-file: go.mod + cache: true - name: Set up Node.js uses: actions/setup-node@v5 diff --git a/AGENTS.md b/AGENTS.md index 76a9756..56e6d29 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -122,7 +122,7 @@ All `cmd/` implementation files use their canonical names (e.g., `cmd/summary.go - `git/read_local.go` still forces `ExcludeExtensionRefs = true`, which weakens the practical effect of `--ext-refs` on that path. - libopenapi breaking-rule configuration is global. `cmd/engine.go` guards this with `breakingConfigMu`, but `git/read_local.go` also writes to the global config via `SetActiveBreakingRulesConfig` — if the `git` layer is ever parallelized, it needs its own guard. - The residual `tui/` package still exists in-repo, but it is not the canonical console implementation. The canonical console is `tui/v2/` (Bubbletea). -- **Dependency version sensitivity**: `doctor` (currently `v0.0.49`) and `libopenapi` (currently `v0.34.4`) version bumps can silently change comparison output, count semantics, or tree structure. After upgrading either dependency, always re-run the petstore regression fixtures and verify counts match expectations. +- **Dependency version sensitivity**: `doctor` (currently `v0.0.65`) and `libopenapi` (currently `v0.36.1`) version bumps can silently change comparison output, count semantics, or tree structure. After upgrading either dependency, always re-run the petstore regression fixtures and verify counts match expectations. ## Regression Fixtures diff --git a/cmd/common.go b/cmd/common.go index e303d39..6db5c09 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -10,6 +10,7 @@ import ( "os" "charm.land/lipgloss/v2" + "github.com/charmbracelet/x/term" "github.com/pb33f/doctor/terminal" whatChangedModel "github.com/pb33f/libopenapi/what-changed/model" "github.com/pb33f/openapi-changes/model" @@ -73,6 +74,22 @@ func commandStylesFor(palette terminal.Palette) commandStyles { } } +func commandPaletteForTheme(theme terminal.ThemeName) terminal.Palette { + if canQueryTerminalBackground(os.Stdin, os.Stderr) { + return terminal.PaletteForTheme(theme) + } + env := os.Environ() + return terminal.PaletteFor(theme, os.Stdout, env, terminal.DetectDarkBackgroundFromEnv(env)) +} + +func canQueryTerminalBackground(in, out *os.File) bool { + return isTerminalFile(in) && isTerminalFile(out) +} + +func isTerminalFile(file *os.File) bool { + return file != nil && term.IsTerminal(file.Fd()) +} + func addTerminalThemeFlags(cmd *cobra.Command) { cmd.Flags().BoolP("no-color", "n", false, "Use the light Roger monochrome terminal theme") cmd.Flags().Bool("roger-mode", false, "Alias for --no-color") @@ -101,7 +118,7 @@ func readCommonFlags(cmd *cobra.Command) (opts summaryOpts, configFlag string, e if err != nil { return opts, configFlag, err } - opts.palette = terminal.PaletteForTheme(opts.theme) + opts.palette = commandPaletteForTheme(opts.theme) return } diff --git a/cmd/common_test.go b/cmd/common_test.go index fc32350..fbb5878 100644 --- a/cmd/common_test.go +++ b/cmd/common_test.go @@ -4,6 +4,7 @@ package cmd import ( + "os" "testing" "github.com/pb33f/doctor/terminal" @@ -50,6 +51,24 @@ func TestResolveTheme_RejectsConflictingFlags(t *testing.T) { assert.Contains(t, err.Error(), "--no-color/--roger-mode and --tektronix cannot be used together") } +func TestCanQueryTerminalBackground_RejectsRedirectedHandles(t *testing.T) { + stdinReader, stdinWriter, err := os.Pipe() + require.NoError(t, err) + t.Cleanup(func() { + _ = stdinReader.Close() + _ = stdinWriter.Close() + }) + + stderrReader, stderrWriter, err := os.Pipe() + require.NoError(t, err) + t.Cleanup(func() { + _ = stderrReader.Close() + _ = stderrWriter.Close() + }) + + assert.False(t, canQueryTerminalBackground(stdinReader, stderrWriter)) +} + // --- prepareCommandRun --- func TestPrepareCommandRun_ZeroArgs_PrintsUsageAndReturnsNil(t *testing.T) { diff --git a/cmd/loaders_test.go b/cmd/loaders_test.go index b4562fe..11d735b 100644 --- a/cmd/loaders_test.go +++ b/cmd/loaders_test.go @@ -308,6 +308,10 @@ func TestLoadCommitsFromArgs_GitRefUsesLeftRightDispatch(t *testing.T) { } func TestLoadCommitsFromArgs_LocalColonPathOutsideGitRepoStaysFileComparison(t *testing.T) { + if os.PathSeparator == '\\' { + t.Skip("colon filenames are not portable on Windows") + } + dir := t.TempDir() chdirForTest(t, dir) @@ -325,6 +329,10 @@ func TestLoadCommitsFromArgs_LocalColonPathOutsideGitRepoStaysFileComparison(t * } func TestLoadCommitsFromArgs_RepoHistoryColonPathUsesHistoryDispatch(t *testing.T) { + if os.PathSeparator == '\\' { + t.Skip("colon filenames are not portable on Windows") + } + repoDir := createGitSpecRepoForFile(t, "v1:beta.yaml") chdirForTest(t, t.TempDir()) diff --git a/cmd/markdown_report_test.go b/cmd/markdown_report_test.go index ec9689a..f4d7d55 100644 --- a/cmd/markdown_report_test.go +++ b/cmd/markdown_report_test.go @@ -4,6 +4,7 @@ package cmd import ( + "path/filepath" "strings" "testing" "time" @@ -273,7 +274,7 @@ func TestMarkdownReportCommand_TooManyArgs(t *testing.T) { func TestMarkdownReportCommand_LeftRightFiles(t *testing.T) { cmd := testRootCmd(GetMarkdownReportCommand(), "--no-logo", "--no-color", - "--report-file", "/dev/null", + "--report-file", filepath.Join(t.TempDir(), "report.md"), "../sample-specs/petstorev3-original.json", "../sample-specs/petstorev3.json", ) diff --git a/cmd/paths_test.go b/cmd/paths_test.go index 84c0caf..fb79159 100644 --- a/cmd/paths_test.go +++ b/cmd/paths_test.go @@ -18,7 +18,7 @@ func TestAbsoluteRepoPath(t *testing.T) { }) t.Run("returns absolute path", func(t *testing.T) { - p := "/home/user/repo" + p := t.TempDir() have, err := absoluteRepoPath(p) assert.NoError(t, err) diff --git a/cmd/report_test.go b/cmd/report_test.go index 95e241d..18db333 100644 --- a/cmd/report_test.go +++ b/cmd/report_test.go @@ -526,6 +526,10 @@ func TestReportCommand_GitRefUsesLeftRightMode(t *testing.T) { } func TestReportCommand_RepoHistoryColonPathUsesHistoryMode(t *testing.T) { + if os.PathSeparator == '\\' { + t.Skip("colon filenames are not portable on Windows") + } + repoDir := createGitSpecRepoForFile(t, "v1:beta.yaml") chdirForTest(t, t.TempDir()) diff --git a/cmd/summary_test.go b/cmd/summary_test.go index 55b7094..4edc5cc 100644 --- a/cmd/summary_test.go +++ b/cmd/summary_test.go @@ -28,6 +28,18 @@ func captureStdout(t *testing.T, fn func()) string { reader, writer, err := os.Pipe() require.NoError(t, err) + outputCh := make(chan struct { + data []byte + err error + }, 1) + go func() { + data, readErr := io.ReadAll(reader) + outputCh <- struct { + data []byte + err error + }{data: data, err: readErr} + }() + os.Stdout = writer t.Cleanup(func() { os.Stdout = oldStdout @@ -35,13 +47,13 @@ func captureStdout(t *testing.T, fn func()) string { fn() + os.Stdout = oldStdout require.NoError(t, writer.Close()) - output, err := io.ReadAll(reader) - require.NoError(t, err) + output := <-outputCh + require.NoError(t, output.err) require.NoError(t, reader.Close()) - os.Stdout = oldStdout - return string(output) + return string(output.data) } func captureStderr(t *testing.T, fn func()) string { @@ -51,6 +63,18 @@ func captureStderr(t *testing.T, fn func()) string { reader, writer, err := os.Pipe() require.NoError(t, err) + outputCh := make(chan struct { + data []byte + err error + }, 1) + go func() { + data, readErr := io.ReadAll(reader) + outputCh <- struct { + data []byte + err error + }{data: data, err: readErr} + }() + os.Stderr = writer t.Cleanup(func() { os.Stderr = oldStderr @@ -58,13 +82,13 @@ func captureStderr(t *testing.T, fn func()) string { fn() + os.Stderr = oldStderr require.NoError(t, writer.Close()) - output, err := io.ReadAll(reader) - require.NoError(t, err) + output := <-outputCh + require.NoError(t, output.err) require.NoError(t, reader.Close()) - os.Stderr = oldStderr - return string(output) + return string(output.data) } func mustMakeDoctorOnlyCommitFromSpecs(t *testing.T, hash, left, right string) *model.Commit { diff --git a/cmd/windows_subprocess_test.go b/cmd/windows_subprocess_test.go new file mode 100644 index 0000000..332e92d --- /dev/null +++ b/cmd/windows_subprocess_test.go @@ -0,0 +1,119 @@ +//go:build windows + +package cmd + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "os" + "os/exec" + "path/filepath" + "strings" + "syscall" + "testing" + "time" + + "github.com/stretchr/testify/require" +) + +const windowsCreateNoWindow = 0x08000000 + +func TestWindowsNoConsoleSubprocessDoesNotHang(t *testing.T) { + tests := []struct { + name string + args []string + }{ + { + name: "root", + args: []string{"--no-logo"}, + }, + { + name: "summary", + args: []string{ + "summary", + "--no-logo", + filepath.Join("..", "sample-specs", "petstorev3.json"), + filepath.Join("..", "sample-specs", "petstorev3.json"), + }, + }, + } + + for _, tc := range tests { + t.Run(tc.name, func(t *testing.T) { + runWindowsNoConsoleHelper(t, tc.name, tc.args) + }) + } +} + +func TestWindowsNoConsoleSubprocessHelper(t *testing.T) { + rawArgs := os.Getenv("OPENAPI_CHANGES_WINDOWS_HELPER_ARGS") + if rawArgs == "" { + return + } + + _ = os.Unsetenv("PB33F_DARK_BACKGROUND") + _ = os.Unsetenv("COLORFGBG") + + Version = "test" + Commit = "test" + Date = "test" + var args []string + if err := json.Unmarshal([]byte(rawArgs), &args); err != nil { + fmt.Fprintln(os.Stderr, err) + os.Exit(1) + } + rootCmd.SetArgs(args) + if err := rootCmd.Execute(); err != nil { + fmt.Fprintln(os.Stderr, err) + os.Exit(1) + } + os.Exit(0) +} + +func runWindowsNoConsoleHelper(t *testing.T, name string, args []string) { + t.Helper() + + ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + defer cancel() + + cmd := exec.CommandContext(ctx, os.Args[0], "-test.run=TestWindowsNoConsoleSubprocessHelper") + cmd.Env = envWithoutKeys(os.Environ(), "PB33F_DARK_BACKGROUND", "COLORFGBG") + rawArgs, err := json.Marshal(args) + require.NoError(t, err) + cmd.Env = append(cmd.Env, "OPENAPI_CHANGES_WINDOWS_HELPER_ARGS="+string(rawArgs)) + cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: windowsCreateNoWindow} + + stdin, err := cmd.StdinPipe() + require.NoError(t, err) + defer stdin.Close() + + var stdout bytes.Buffer + var stderr bytes.Buffer + cmd.Stdout = &stdout + cmd.Stderr = &stderr + + err = cmd.Run() + if ctx.Err() == context.DeadlineExceeded { + t.Fatalf("%s hung with no console and redirected stdin; stdout=%q stderr=%q", name, stdout.String(), stderr.String()) + } + require.NoError(t, err, "stdout=%q stderr=%q", stdout.String(), stderr.String()) +} + +func envWithoutKeys(env []string, keys ...string) []string { + filtered := env[:0] + for _, entry := range env { + keep := true + for _, key := range keys { + if strings.HasPrefix(entry, key+"=") { + keep = false + break + } + } + if keep { + filtered = append(filtered, entry) + } + } + return filtered +} diff --git a/go.mod b/go.mod index 74a5c2e..b43cc89 100644 --- a/go.mod +++ b/go.mod @@ -10,10 +10,11 @@ require ( github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de github.com/charmbracelet/colorprofile v0.4.3 github.com/charmbracelet/glamour v0.8.0 + github.com/charmbracelet/x/term v0.2.2 github.com/google/uuid v1.6.0 github.com/mattn/go-runewidth v0.0.23 github.com/muesli/termenv v0.16.0 - github.com/pb33f/doctor v0.0.59 + github.com/pb33f/doctor v0.0.65 github.com/pb33f/libopenapi v0.36.1 github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 github.com/spf13/cobra v1.10.2 @@ -31,7 +32,6 @@ require ( github.com/charmbracelet/lipgloss v1.0.0 // indirect github.com/charmbracelet/ultraviolet v0.0.0-20260416155717-489999b90468 // indirect github.com/charmbracelet/x/ansi v0.11.7 // indirect - github.com/charmbracelet/x/term v0.2.2 // indirect github.com/charmbracelet/x/termios v0.1.1 // indirect github.com/charmbracelet/x/windows v0.2.2 // indirect github.com/clipperhouse/displaywidth v0.11.0 // indirect diff --git a/go.sum b/go.sum index 4a017bf..89d2330 100644 --- a/go.sum +++ b/go.sum @@ -92,8 +92,8 @@ github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc= github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk= -github.com/pb33f/doctor v0.0.59 h1:uy4l/oYHk9YLheL1c17dTbET9gHnp2PAhwaIUBFZNY4= -github.com/pb33f/doctor v0.0.59/go.mod h1:kN+wcMNwBN8RoQbzfi7xYnRkuqHREYj7ir/2wbN5ECY= +github.com/pb33f/doctor v0.0.65 h1:fkvKwYpa+P+aBOsh/t3Gn/kmtiRPptq+/M/Zmsqy9/g= +github.com/pb33f/doctor v0.0.65/go.mod h1:G3z5J8l+YmSR/T94TjnfaDgc+eHR6DZ2I0C/a8lI4u0= github.com/pb33f/jsonpath v0.8.2 h1:Ou4C7zjYClBm97dfZjDCjdZGusJoynv/vrtiEKNfj2Y= github.com/pb33f/jsonpath v0.8.2/go.mod h1:zBV5LJW4OQOPatmQE2QdKpGQJvhDTlE5IEj6ASaRNTo= github.com/pb33f/libopenapi v0.36.1 h1:CNZ52e+/W9fA1kAgL8EePDQQrKPfN9+HdLR6XAxUEpw= diff --git a/html-report/ui/build/static/bundle-lite.js b/html-report/ui/build/static/bundle-lite.js index adddb65..2f7d59f 100644 --- a/html-report/ui/build/static/bundle-lite.js +++ b/html-report/ui/build/static/bundle-lite.js @@ -622,19 +622,28 @@ .equalizer { height: 40px; border-bottom: 1px dashed var(--secondary-color-dimmer); + position: relative; + z-index: 20; } .equalizer-container { margin-top: 7px; + box-sizing: border-box; + min-height: 220px; height: auto; max-height: 400px; + border-top: 1px solid var(--secondary-color-dimmer); border-bottom: 1px solid var(--secondary-color); - background-color: var(--background-color-withopacity); - z-index: 1; + background-color: var(--background-color); + z-index: 20; position: absolute; + left: 0; + right: 0; width: 100%; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); padding-bottom: 20px; + overflow: hidden; + box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35); } .explorer-key-container { @@ -2025,7 +2034,7 @@ .pov-icon { position: absolute; - bottom: -8px; + bottom: -31px; left: 2px; font-size: 16px; color: var(--primary-color); @@ -2036,6 +2045,7 @@ } .rendered-element { + position: relative; overflow: hidden; border: 1px solid var(--change-border-color, var(--primary-color)); } @@ -2076,8 +2086,14 @@ } .row-node { - padding-top: 2px; display: flex; + align-items: center; + min-height: 25px; + } + + .node-content { + width: 100%; + height: 100%; } .load-more-btn { @@ -2102,7 +2118,7 @@ } .single-line .pov-icon { - bottom: -35px; + bottom: -31px; } .single-line .vacuum-results { @@ -2114,14 +2130,20 @@ font-family: var(--font-stack), monospace; text-align: center; width: 100%; + gap: 4px; } .header-node > pb33f-model-icon { + display: flex; + align-items: center; + justify-content: center; + flex: 0 0 30px; width: 30px; } .header-text { - flex-grow: 3; + flex: 1 1 auto; + min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; @@ -2161,6 +2183,16 @@ margin-top: 2px; font-family: var(--font-stack-bold), monospace; } + .header-node .array-count, + .header-node .dependent-icon, + .header-node .count { + flex: 0 0 auto; + float: none; + margin-top: 0; + } + .header-node .dependent-icon::part(base) { + padding: 0 4px 0 0; + } .count::part(base) { font-family: var(--font-stack-bold), monospace; color: var(--primary-color); @@ -2208,18 +2240,33 @@ background-color: var(--secondary-color-very-lowalpha); } - .active > .vacuum-results { - bottom: 0; - } - .slash { color: var(--primary-color); } + .node-annotation { + position: absolute; + bottom: -24px; + height: 20px; + display: flex; + align-items: center; + white-space: nowrap; + } + + .change-div { + left: 0; + } + .vacuum-results { position: absolute; - right: 0; - bottom: 5px; + right: 6px; + bottom: -24px; + display: flex; + align-items: center; + justify-content: flex-end; + gap: 3px; + height: 20px; + white-space: nowrap; } .embedded-schema { @@ -2551,20 +2598,22 @@ class="pov-icon" name="binoculars" label="Point of view mode" - title="Point of view mode - re-build graph around this node">`:null}renderUpArrow(){return N`${this.renderExtensions()} - ${this.renderArrayType()} - ${this.renderVacuumResults()} - ${this.renderPovButton()}`}renderActiveArrow(){return this.active?N``:N``}countResults(){return Zt(this.node,this.violationMap)}renderVacuumResults(){if(this.node?.violationIds&&this.node.violationIds.length>0&&this.violationMap){let e=N``,t=N``,n=N``,r=this.countResults();return r.errors>0&&(e=N` + title="Point of view mode - re-build graph around this node">`:null}renderUpArrow(){return this.renderUnderNodeAnnotations()}renderUnderNodeAnnotations(e=this.countResults(),t=this.changeCounts){return N` + ${this.renderArrayType()} + ${this.renderChanges(t)} + ${this.renderVacuumResults(e)} + ${this.renderPovButton()} + ${this.renderLoadMoreControl()}`}renderActiveArrow(){return this.active?N``:N``}countResults(){return Zt(this.node,this.violationMap)}hasVacuumResults(e=this.countResults()){return e.errors+e.warnings+e.info>0}renderVacuumResults(e=this.countResults()){if(this.node?.violationIds&&this.node.violationIds.length>0&&this.violationMap){let t=N``,n=N``,r=N``;return e.errors+e.warnings+e.info<=0?N``:(e.errors>0&&(t=N` - ${r.errors}`),r.warnings>0&&(t=N`${r.errors>0?N` | `:``} + ${e.errors}`),e.warnings>0&&(n=N`${e.errors>0?N` | `:``} - ${r.warnings}`),r.info>0&&(n=N`${r.errors>0||r.warnings>0?N` | `:``} + ${e.warnings}`),e.info>0&&(r=N`${e.errors>0||e.warnings>0?N` | `:``} - ${r.info}`),N` -
${e}${t}${n}
`}}renderExtensions(){if(this.node?.extensions||this.nodeInstance?.extensions)return N` + ${e.info}`),N` +
${t}${n}${r}
`)}}renderExtensions(){if(this.node?.extensions||this.nodeInstance?.extensions)return N`
 > @@ -2572,39 +2621,42 @@ ${this.node.extensions?this.node.extensions:this.nodeInstance.extensions} -
`}clicked(){this.dispatchEvent(new CustomEvent(Mn,{bubbles:!0,composed:!0,detail:{nodeId:this.id}}))}isSingleLineNode(){return this.height<=30}renderClasses(e=`rendered-element`){let t=[e];this.active&&t.push(`active`),this.isSingleLineNode()&&t.push(`single-line`),this.isRef&&this.outputs.length==1&&t.push(`ref`),this.node.dependency&&this.dim&&t.push(`dependent-node`);let n=this.changeCategory;return n!==Yt.NONE&&n!==Yt.MODIFIED&&t.push(`change-${n}`),t.join(` `)}renderNodeWrapper(e){return N` -
`}clicked(){this.dispatchEvent(new CustomEvent(Mn,{bubbles:!0,composed:!0,detail:{nodeId:this.id}}))}isSingleLineNode(){return this.height<=30}renderClasses(e=`rendered-element`,t=this.countResults(),n=this.changeCounts){let r=[e];this.active&&r.push(`active`),this.isSingleLineNode()&&r.push(`single-line`),this.isRef&&this.outputs.length==1&&r.push(`ref`),this.node.dependency&&this.dim&&r.push(`dependent-node`),this.hasVacuumResults(t)&&r.push(`has-vacuum-results`);let i=n.category;return i!==Yt.NONE&&i!==Yt.MODIFIED&&r.push(`change-${i}`),r.join(` `)}renderNodeWrapper(e){let t=this.countResults(),n=this.changeCounts;return N` +
- ${e} - ${this.renderChanges()} - ${this.renderUpArrow()} +
+ ${e} + ${this.renderExtensions()} +
+ ${this.renderUnderNodeAnnotations(t,n)} ${this.renderActiveArrow()} - `}renderBadges(e,t,n,r){let i=[];return e>0&&i.push(N`${e}`),t>0&&i.push(N`${t}`),n>0&&i.push(N`${n}`),r>0&&i.push(N`${r}`),i}renderChanges(){if(!this.node.timeline)return N``;let{breaking:e,modifications:t,additions:n,removals:r}=this.changeCounts;return N` -
- ${this.renderBadges(e,t,n,r)} + `}renderBadges(e,t,n,r){let i=[];return e>0&&i.push(N`${e}`),t>0&&i.push(N`${t}`),n>0&&i.push(N`${n}`),r>0&&i.push(N`${r}`),i}renderChanges(e=this.changeCounts){if(!this.node.timeline)return N``;let{breaking:t,modifications:n,additions:r,removals:i}=e,a=this.renderBadges(t,n,r,i);return a.length===0?N``:N` +
+ ${a}
- `}render(){let e=N``;return this.node.isArray?e=N` + `}render(){let e=this.countResults(),t=this.changeCounts,n=N``;return this.node.isArray?n=N` - `:this.node.propertyCount&&this.node.propertyCount>0&&(e=N` + `:this.node.propertyCount&&this.node.propertyCount>0&&(n=N` `),N` -
-
- - ${this.label} - ${e} - ${this.renderDependentControl()} +
+
+ + ${this.label} + ${n} + ${this.renderDependentControl()} +
+ ${this.renderExtensions()}
- ${this.renderChanges()} - ${this.renderUpArrow()} - ${this.renderLoadMoreControl()}
+ ${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} `}};U.styles=[sa,ga],_a([A({type:Boolean})],U.prototype,`active`,void 0),_a([A({type:Boolean})],U.prototype,`expanded`,void 0),_a([A({type:Boolean})],U.prototype,`inPovMode`,void 0),_a([A({type:Boolean})],U.prototype,`disablePovMode`,void 0),_a([A({type:Boolean})],U.prototype,`hideExamples`,void 0),_a([A({type:String})],U.prototype,`povNodeId`,void 0),U=_a([O(`pb33f-explorer-graph-node`)],U);var va=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ya=class extends U{constructor(e){super(e)}renderDocument(){let e=[];return e.push(N`
@@ -2750,7 +2802,7 @@ Path Items ${Object.keys(this.components?.pathItems).length} -
`),e}render(){return this.components=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};Ma.styles=[sa,ga],Ma=ja([O(`pb33f-explorer-components-node`)],Ma);function Na(e){return e&&typeof e==`object`&&e.$ref!==void 0&&typeof e.$ref==`string`}var Pa=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Fa=class extends U{constructor(e){super(e),this.embedded=!1}renderNode(){let e=`Schema`;this.label&&(e=this.label);let t=[],n=N``;if(this.schema?.type&&(n=N`${this.schema.type}`,Array.isArray(this.schema.type)&&(n=N`${this.schema.type.map(e=>N`${e} `)}`)),this.embedded||t.push(N` +
`),e}render(){return this.components=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};Ma.styles=[sa,ga],Ma=ja([O(`pb33f-explorer-components-node`)],Ma);function Na(e){return e&&typeof e==`object`&&e.$ref!==void 0&&typeof e.$ref==`string`}var Pa=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Fa=class extends U{constructor(e){super(e),this.embedded=!1}countExamples(e){return e?Array.isArray(e)?e.length:typeof e==`object`?Object.keys(e).length:1:0}schemaExampleCount(e){if(!e)return 0;let t=this.countExamples(e.examples);return e.example!==void 0&&t++,t}schemaDoesNotNeedExamples(e){let t=e.enum&&e.enum.length>0,n=e.type===`boolean`||Array.isArray(e.type)&&e.type.length===1&&e.type[0]===`boolean`,r=e.default!==void 0;return!!(t||n||r)}schemasHaveExampleCoverage(e){return e.length===0?!1:e.every(e=>{if(Na(e))return!1;let t=e;return this.schemaDoesNotNeedExamples(t)||this.schemaExampleCount(t)>0})}getExampleCoverage(e){if(!e)return{schemaExampleCount:0,allPropertiesHaveExamples:!1,allPolyChildrenHaveExamples:!1};if(this.cachedExampleCoverageSchema===e&&this.cachedExampleCoverage)return this.cachedExampleCoverage;let t=e.properties?Object.values(e.properties):[],n=[...e.anyOf||[],...e.oneOf||[],...e.allOf||[]],r={schemaExampleCount:this.schemaExampleCount(e),allPropertiesHaveExamples:this.schemasHaveExampleCoverage(t),allPolyChildrenHaveExamples:this.schemasHaveExampleCoverage(n)};return this.cachedExampleCoverageSchema=e,this.cachedExampleCoverage=r,r}renderNode(){let e=`Schema`;this.label&&(e=this.label);let t=[],n=N``;if(this.schema?.type&&(n=N`${this.schema.type}`,Array.isArray(this.schema.type)&&(n=N`${this.schema.type.map(e=>N`${e} `)}`)),this.embedded||t.push(N`
@@ -2773,23 +2825,24 @@
 > Poly${e} ${this.node.polyType} -
`)}let r;this.nodeMap&&this.node&&this.nodeMap.has(this.node.parentId)&&(r=this.nodeMap.get(this.node.parentId));let i=!1,a=0;r&&(r.instance?.examples||r.instance?.example)&&(i=!0,a++);let o=!1;if(this.schema?.properties){let e=Object.values(this.schema.properties);e.length>0&&(o=e.every(e=>{if(Na(e))return!1;let t=e,n=t.enum&&t.enum.length>0,r=t.type===`boolean`,i=t.default!==void 0;return n||r||i?!0:t.example!==void 0||t.examples!==void 0}))}let s=!1,c=[...this.schema?.anyOf||[],...this.schema?.oneOf||[],...this.schema?.allOf||[]];c.length>0&&(s=c.every(e=>{if(Na(e))return!1;let t=e,n=t.enum&&t.enum.length>0,r=t.type===`boolean`,i=t.default!==void 0;return n||r||i?!0:t.example!==void 0||t.examples!==void 0}));let l=this.schema?.examples||this.schema?.example||i||o||s;return!this.hideExamples&&l?(this.node?.instance.examples&&(a=Object.keys(this.node.instance.examples).length),a<=0&&this.node?.instance?.example&&a++,t.push(N` +
`)}let r;this.nodeMap&&this.node&&this.nodeMap.has(this.node.parentId)&&(r=this.nodeMap.get(this.node.parentId));let i=0;r&&r.instance&&(i=this.schemaExampleCount(r.instance));let{schemaExampleCount:a,allPropertiesHaveExamples:o,allPolyChildrenHaveExamples:s}=this.getExampleCoverage(this.schema),c=o||s,l=a>0||i>0&&!c,u=l||c;if(!this.hideExamples&&l){let e=a>0?a:i;t.push(N`
 > Examples - ${a} -
`)):this.hideExamples||t.push(N` + ${e} +
`)}else !this.hideExamples&&!u&&t.push(N`
No Examples -
`),t}render(){return this.schema=this.nodeInstance,this.embedded?N` +
`);return t}render(){if(this.schema=this.nodeInstance,this.embedded){let e=this.countResults(),t=this.changeCounts;return N`
${this.renderNode()} - ${this.renderUpArrow()} + ${this.renderExtensions()}
+ ${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `:this.renderNodeWrapper(this.renderNode())}};Fa.styles=[sa,ga],Pa([A({type:Boolean})],Fa.prototype,`embedded`,void 0),Fa=Pa([O(`pb33f-explorer-schema-node`)],Fa);var Ia=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},La=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
+ `}return this.renderNodeWrapper(this.renderNode())}};Fa.styles=[sa,ga],Pa([A({type:Boolean})],Fa.prototype,`embedded`,void 0),Fa=Pa([O(`pb33f-explorer-schema-node`)],Fa);var Ia=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},La=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
${this.label} ${this.renderDependentControl()} @@ -3094,14 +3147,14 @@  > ${e.type===B.OPERATION?N``:e.type===B.PATH_ITEM?N``:N`${e.label}`}
- `)}`}renderChanges(){if(!this.node?.timeline?.length)return N``;if(!this.node.childChanges?.length)return super.renderChanges();let e=this.getOwnChanges(this.node);if(!e.length)return N``;let t=Xt(e);return N`
${this.renderBadges(t.breaking,t.modifications,t.additions,t.removals)}
`}render(){return N` -
${r}
`}render(){let e=this.countResults(),t=this.changeCounts;return N` +
${this.renderHeader()} ${this.renderChildRows()} - ${this.renderChanges()} - ${this.renderUpArrow()} + ${this.renderExtensions()}
+ ${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} `}};so.styles=[sa,ga,ao],so=oo([O(`pb33f-explorer-change-view-node`)],so);var co=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},lo=class extends F{constructor(){super(...arguments),this.active=!1,this.visible=!0}configure(e){this.id=e.id,e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.width!==void 0&&(this.width=e.width),e.height!==void 0&&(this.height=e.height),this.body=e.body,e.active!==void 0&&(this.active=e.active),e.visible!==void 0&&(this.visible=e.visible),this.requestUpdate()}render(){if(!this.visible)return lt``;let e=``;return e=this.body?this.body:`Object Node`,this.x==null||this.y==null?lt``:lt` @@ -3109,12 +3162,12 @@
${e}
- `}};lo=co([O(`pb33f-explorer-foreign-object`)],lo);var uo=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},fo=class extends F{constructor(){super(),this.roundCorners=!1,this.visible=!0,this.targetIsLeaf=!1,this.sections=[],this.isDependency=!1,this.dim=!1,this.animated=!0,this.changeCategory=Yt.NONE}configure(e){this.edge=e.edge,e.bendPoints!==void 0&&(this.bendPoints=e.bendPoints),e.bendCurve!==void 0&&(this.bendCurve=e.bendCurve),e.roundCorners!==void 0&&(this.roundCorners=e.roundCorners),e.visible!==void 0&&(this.visible=e.visible),e.animated!==void 0&&(this.animated=e.animated),e.isDependency!==void 0&&(this.isDependency=e.isDependency),e.dim!==void 0&&(this.dim=e.dim),e.changeCategory!==void 0&&(this.changeCategory=e.changeCategory),this.requestUpdate()}render(){if(!this.visible)return lt``;let e=0;return this.sections.length=0,this.edge.sections?.forEach(t=>{let n=`arrow`;this.edge.ref.length>0&&(n=`arrow-ref`),this.edge.poly&&this.edge.poly!=``&&(n=`arrow-poly`),this.targetIsLeaf&&(n=`leaf`),this.targetIsLeaf&&this.edge.ref.length>0&&(n=`leaf-ref`),this.targetIsLeaf&&this.edge.poly&&this.edge.poly!=``&&(n=`leaf-poly`);let r=this.changeCategory!==Yt.NONE&&this.changeCategory!==Yt.MODIFIED;r&&(n===`arrow`?n=`arrow-${this.changeCategory}`:n===`leaf`&&(n=`leaf-${this.changeCategory}`));let i=po(t,this.bendPoints),a=this.bendCurve&&this.shouldUseRoundedPath()?go(i):ho(i),o=[];this.edge.ref.length>0&&o.push(`ref`),this.targetIsLeaf&&o.push(`target-leaf`),this.edge.poly&&this.edge.poly!=``&&o.push(this.edge.poly),this.edge.dependency&&this.dim&&o.push(`dependency`),this.animated||o.push(`no-animation`),r&&o.push(`change-${this.changeCategory}`);let s=lt` + `}};lo=co([O(`pb33f-explorer-foreign-object`)],lo);function uo(e){return function(){return e}}var fo=Math.PI,po=2*fo,mo=1e-6,ho=po-mo;function go(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return go;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;tmo)if(!(Math.abs(u*s-c*l)>mo)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((fo-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>mo&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>mo||Math.abs(this._y1-l)>mo)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%po+po),d>ho?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>mo&&this._append`A${n},${n},0,${+(d>=fo)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function yo(){return new vo}yo.prototype=vo.prototype;function bo(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new vo(t)}Array.prototype.slice;function xo(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function So(e){this._context=e}So.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Co(e){return new So(e)}function wo(e){return e[0]}function To(e){return e[1]}function Eo(e,t){var n=uo(!0),r=null,i=Co,a=null,o=bo(s);e=typeof e==`function`?e:e===void 0?wo:uo(e),t=typeof t==`function`?t:t===void 0?To:uo(t);function s(s){var c,l=(s=xo(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Ao=(function e(t){function n(e){return t===1?new Oo(e):new ko(e,t)}return n.beta=function(t){return e(+t)},n})(.85),jo=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Mo=class extends F{constructor(){super(),this.roundCorners=!1,this.edgePathStyle=`d3`,this.visible=!0,this.targetIsLeaf=!1,this.sections=[],this.isDependency=!1,this.dim=!1,this.animated=!0,this.changeCategory=Yt.NONE}configure(e){this.edge=e.edge,e.bendPoints!==void 0&&(this.bendPoints=e.bendPoints),e.bendCurve!==void 0&&(this.bendCurve=e.bendCurve),e.roundCorners!==void 0&&(this.roundCorners=e.roundCorners),e.edgePathStyle!==void 0&&(this.edgePathStyle=e.edgePathStyle),e.visible!==void 0&&(this.visible=e.visible),e.animated!==void 0&&(this.animated=e.animated),e.isDependency!==void 0&&(this.isDependency=e.isDependency),e.dim!==void 0&&(this.dim=e.dim),e.changeCategory!==void 0&&(this.changeCategory=e.changeCategory),this.requestUpdate()}render(){if(!this.visible)return lt``;let e=0;return this.sections.length=0,this.edge.sections?.forEach(t=>{let n=`arrow`;this.edge.ref.length>0&&(n=`arrow-ref`),this.edge.poly&&this.edge.poly!=``&&(n=`arrow-poly`),this.targetIsLeaf&&(n=`leaf`),this.targetIsLeaf&&this.edge.ref.length>0&&(n=`leaf-ref`),this.targetIsLeaf&&this.edge.poly&&this.edge.poly!=``&&(n=`leaf-poly`);let r=this.changeCategory!==Yt.NONE&&this.changeCategory!==Yt.MODIFIED;r&&(n===`arrow`?n=`arrow-${this.changeCategory}`:n===`leaf`&&(n=`leaf-${this.changeCategory}`));let i=Po(t,this.bendPoints),a=this.buildPath(i),o=[];this.edge.ref.length>0&&o.push(`ref`),this.targetIsLeaf&&o.push(`target-leaf`),this.edge.poly&&this.edge.poly!=``&&o.push(this.edge.poly),this.edge.dependency&&this.dim&&o.push(`dependency`),this.animated||o.push(`no-animation`),r&&o.push(`change-${this.changeCategory}`);let s=lt` `;this.sections.push(s),e+=1}),lt`${this.sections}`}shouldUseRoundedPath(){return this.roundCorners&&this.edge.ref.length===0&&(!this.edge.poly||this.edge.poly===``)}};fo=uo([O(`pb33f-explorer-edge`)],fo);function po(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),mo(n)}function mo(e){if(e.length<=2)return[...e];let t=[];for(let n of e){let e=t[t.length-1];(!e||e.x!==n.x||e.y!==n.y)&&t.push(n)}if(t.length<=2)return t;let n=[t[0]];for(let e=1;e0);n+=` L ${m.x} ${m.y}`,n+=` A ${p} ${p} 0 0 ${g} ${h.x} ${h.y}`}let r=e[e.length-1];return n+=` L ${r.x} ${r.y}`,n}var _o=new Set([B.DOCUMENT,B.INFO,B.COMPONENTS,B.PATHS,B.SCHEMAS,B.PARAMETERS,B.RESPONSES,B.REQUEST_BODY,B.REQUEST_BODIES,B.TAGS,B.SECURITY,B.SECURITY_SCHEMES,B.SERVERS,B.HEADERS,B.LINKS,B.CALLBACKS,B.PATH_ITEMS,B.OPERATIONS,B.EXAMPLES,B.EXTENSIONS,B.WEBHOOKS]),vo=class{constructor(e){this.deps=e}createNodeComponent(e){let t=this.deps.getNodeMap();switch(e){case B.DOCUMENT:return new ya(t);case B.INFO:return new xa(t);case B.LICENSE:return new Ca(t);case B.CONTACT:return new Ta(t);case B.TAG:return new Da(t);case B.SERVER:return new Aa(t);case B.COMPONENTS:return new Ma(t);case B.SCHEMA:return new Fa(t);case B.SECURITY_SCHEME:return new La(t);case B.PARAMETER:return new za(t);case B.HEADER:return new Va(t);case B.REQUEST_BODY:return new Ua(t);case B.MEDIA_TYPE:return new Ga(t);case B.RESPONSE:return new Ja(t);case B.LINK:return new Xa(t);case B.CALLBACK:return new Qa(t);case B.PATH_ITEM:return new eo(t);case B.OPERATION:return new no(t);case B.XML:return new io(t);default:return new U(t)}}buildNodes(e){let t=[],n=[],r=new Map,i=new Map,a=this.deps.getNodeMap(),o=this.deps.getDefinitionCache();return e.graphResponse.nodes?.forEach(e=>{a.set(e.id,e),e.instance&&typeof e.instance==`object`&&!e.instance.$ref&&o.set(e.id,e)}),e.graphResponse.edges?.forEach(e=>{this.deps.getEdgeMap().set(e.id,e)}),e.graph.children?.forEach(s=>{let c=s;c.x&&c.y&&(c.x=Math.round(c.x),c.y=Math.round(c.y));let l=e.graphMode===Jt.change?new so(a):this.createNodeComponent(c.type);l.height=c.height,l.width=c.width-2,l.id=c.id,l.label=c.label,l.isLeaf=!(c.nodes&&c.nodes.length>0),l.expanded=e.expandedNodes.has(c.id),l.moreChildrenCount=e.hasMoreChildren.get(c.id)||0,l.node=c,l.inPovMode=e.povMode,l.povNodeId=e.povNodeId,l.disablePovMode=e.disablePovMode,l.hideExamples=e.hideExamples;let u=a.get(c.id);l.nodeInstance=this.resolveNodeInstance(c,o.get(c.id),u),l.violationMap=e.violationMap,c.violationIds=u?.violationIds;let d=u?.dependency||!1;l.isDependency=d,l.dim=d&&e.povMode;let f=e.activeNode&&e.activeNode.id===c.id;f&&(l.active=!0),r.set(c.id,l);let p=new lo,m={id:c.id,x:c.x,y:c.y,width:c.width,height:c.height,body:l,active:f,visible:!0};p.configure(m),n.push(p),i.set(c.id,p),t.push(c)}),{nodes:t,nodeComponents:n,renderGraphMap:r,nodeComponentMap:i}}buildEdges(e,t){let n=[],r=[],i=new Map,a=this.deps.getEdgeMap(),o=e.nodeLimitExceeded||e.graph.children&&e.graph.children.length>50;return e.graph.edges?.forEach(s=>{let c=s,l=t.get(c.sources[0]);l?.outputs.push(c);let u=t.get(c.targets[0]);u?.inputs.push(c),c.ref.length>0&&l&&(l.isRef=!0);let d=new fo,f=a.get(c.id)?.dependency||!1,p=u?.changeCategory??Yt.NONE,m=!!u?.isLeaf&&!yo(u?.node?.type)&&c.ref.length===0&&(!c.poly||c.poly===``),h={edge:c,visible:!e.collapsedEdges.has(c.id),animated:!o,bendPoints:e.bendPoints,bendCurve:e.bendEdges,roundCorners:m,isDependency:f,dim:f&&e.povMode,changeCategory:p};d.configure(h),n.push(c),r.push(d),i.set(c.id,d)}),this.applyLeafDetection(t,i),{edges:n,edgeComponents:r,edgeComponentMap:i}}resolveNodeInstance(e,t,n){return e.instance&&typeof e.instance==`object`&&!e.instance.$ref?e.instance:t?.instance||n?.instance}applyLeafDetection(e,t){e.forEach(e=>{e.outputs.length<=0?(e.isLeaf=!0,e.inputs.forEach(e=>{let n=t.get(e.id);n&&(n.targetIsLeaf=!0)})):e.outputs.forEach(n=>{if(n.ref!==``){let r=t.get(n.id);r&&r.targetIsLeaf&&(r.targetIsLeaf=!1,e.isLeaf=!1,e.isRef=!0)}})})}};function yo(e){return e?_o.has(e):!1}function bo(){return lt` + marker-end="url(#${n})"/>`;this.sections.push(s),e+=1}),lt`${this.sections}`}shouldUseRoundedPath(){return this.roundCorners&&this.edge.ref.length===0&&(!this.edge.poly||this.edge.poly===``)}buildPath(e){return!this.bendCurve||this.edgePathStyle===`polyline`?Io(e):this.edgePathStyle===`rounded-orthogonal`?this.shouldUseRoundedPath()?Ro(e):Io(e):Lo(e)||Io(e)}};Mo=jo([O(`pb33f-explorer-edge`)],Mo);var No=Eo().x(e=>e.x).y(e=>e.y).curve(Ao.beta(1));function Po(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),Fo(n)}function Fo(e){if(e.length<=2)return[...e];let t=[];for(let n of e){let e=t[t.length-1];(!e||e.x!==n.x||e.y!==n.y)&&t.push(n)}if(t.length<=2)return t;let n=[t[0]];for(let e=1;e0);n+=` L ${m.x} ${m.y}`,n+=` A ${p} ${p} 0 0 ${g} ${h.x} ${h.y}`}let r=e[e.length-1];return n+=` L ${r.x} ${r.y}`,n}var zo=new Set([B.DOCUMENT,B.INFO,B.COMPONENTS,B.PATHS,B.SCHEMAS,B.PARAMETERS,B.RESPONSES,B.REQUEST_BODY,B.REQUEST_BODIES,B.TAGS,B.SECURITY,B.SECURITY_SCHEMES,B.SERVERS,B.HEADERS,B.LINKS,B.CALLBACKS,B.PATH_ITEMS,B.OPERATIONS,B.EXAMPLES,B.EXTENSIONS,B.WEBHOOKS]),Bo=class{constructor(e){this.deps=e}createNodeComponent(e){let t=this.deps.getNodeMap();switch(e){case B.DOCUMENT:return new ya(t);case B.INFO:return new xa(t);case B.LICENSE:return new Ca(t);case B.CONTACT:return new Ta(t);case B.TAG:return new Da(t);case B.SERVER:return new Aa(t);case B.COMPONENTS:return new Ma(t);case B.SCHEMA:return new Fa(t);case B.SECURITY_SCHEME:return new La(t);case B.PARAMETER:return new za(t);case B.HEADER:return new Va(t);case B.REQUEST_BODY:return new Ua(t);case B.MEDIA_TYPE:return new Ga(t);case B.RESPONSE:return new Ja(t);case B.LINK:return new Xa(t);case B.CALLBACK:return new Qa(t);case B.PATH_ITEM:return new eo(t);case B.OPERATION:return new no(t);case B.XML:return new io(t);default:return new U(t)}}buildNodes(e){let t=[],n=[],r=new Map,i=new Map,a=this.deps.getNodeMap(),o=this.deps.getDefinitionCache();return e.graphResponse.nodes?.forEach(e=>{a.set(e.id,e),e.instance&&typeof e.instance==`object`&&!e.instance.$ref&&o.set(e.id,e)}),e.graphResponse.edges?.forEach(e=>{this.deps.getEdgeMap().set(e.id,e)}),e.graph.children?.forEach(s=>{let c=s;c.x&&c.y&&(c.x=Math.round(c.x),c.y=Math.round(c.y));let l=e.graphMode===Jt.change?new so(a):this.createNodeComponent(c.type);l.height=c.height,l.width=c.width-2,l.id=c.id,l.label=c.label,l.isLeaf=!(c.nodes&&c.nodes.length>0),l.expanded=e.expandedNodes.has(c.id),l.moreChildrenCount=e.hasMoreChildren.get(c.id)||0,l.node=c,l.inPovMode=e.povMode,l.povNodeId=e.povNodeId,l.disablePovMode=e.disablePovMode,l.hideExamples=e.hideExamples;let u=a.get(c.id);l.nodeInstance=this.resolveNodeInstance(c,o.get(c.id),u),l.violationMap=e.violationMap,c.violationIds=u?.violationIds;let d=u?.dependency||!1;l.isDependency=d,l.dim=d&&e.povMode;let f=e.activeNode&&e.activeNode.id===c.id;f&&(l.active=!0),r.set(c.id,l);let p=new lo,m={id:c.id,x:c.x,y:c.y,width:c.width,height:c.height,body:l,active:f,visible:!0};p.configure(m),n.push(p),i.set(c.id,p),t.push(c)}),{nodes:t,nodeComponents:n,renderGraphMap:r,nodeComponentMap:i}}buildEdges(e,t){let n=[],r=[],i=new Map,a=this.deps.getEdgeMap(),o=e.nodeLimitExceeded||e.graph.children&&e.graph.children.length>50;return e.graph.edges?.forEach(s=>{let c=s,l=t.get(c.sources[0]);l?.outputs.push(c);let u=t.get(c.targets[0]);u?.inputs.push(c),c.ref.length>0&&l&&(l.isRef=!0);let d=new Mo,f=a.get(c.id)?.dependency||!1,p=u?.changeCategory??Yt.NONE,m=!!u?.isLeaf&&!Vo(u?.node?.type)&&c.ref.length===0&&(!c.poly||c.poly===``),h={edge:c,visible:!e.collapsedEdges.has(c.id),animated:!o,bendPoints:e.bendPoints,bendCurve:e.bendEdges,edgePathStyle:e.edgePathStyle,roundCorners:m,isDependency:f,dim:f&&e.povMode,changeCategory:p};d.configure(h),n.push(c),r.push(d),i.set(c.id,d)}),this.applyLeafDetection(t,i),{edges:n,edgeComponents:r,edgeComponentMap:i}}resolveNodeInstance(e,t,n){return e.instance&&typeof e.instance==`object`&&!e.instance.$ref?e.instance:t?.instance||n?.instance}applyLeafDetection(e,t){e.forEach(e=>{e.outputs.length<=0?(e.isLeaf=!0,e.inputs.forEach(e=>{let n=t.get(e.id);n&&(n.targetIsLeaf=!0)})):e.outputs.forEach(n=>{if(n.ref!==``){let r=t.get(n.id);r&&r.targetIsLeaf&&(r.targetIsLeaf=!1,e.isLeaf=!1,e.isRef=!0)}})})}};function Vo(e){return e?zo.has(e):!1}function Ho(){return lt` - `}var xo=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},So=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Co=class{constructor(e){this.childrenMapCache=null,this.expandedNodes=new Set([`root`]),this.visibleChildrenCount=new Map,this.pathRevealNodes=new Set,this.pathRevealTarget=null,this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null,this.CHILD_BATCH_SIZE=10,this.callbacks=e}toggleNodeExpansion(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.clearPathRevealDescendants(e);this.expandedNodes.has(e)?this.expandedNodes.delete(e):t||this.expandedNodes.add(e),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}loadMoreChildren(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE;this.visibleChildrenCount.set(e,t+this.CHILD_BATCH_SIZE),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}isNodeExpanded(e){return this.expandedNodes.has(e)}isNodeCurrentlyVisible(e){if(e===`root`)return!0;let t=this.callbacks.getNodeMap().get(e);if(!t)return!1;let n=t.parentId||`root`;if(!this.expandedNodes.has(n))return!1;if(!this.childrenMapCache)return!0;let r=this.childrenMapCache.get(n);if(!r)return!0;let i=this.visibleChildrenCount.get(n)||this.CHILD_BATCH_SIZE,a=r.findIndex(t=>t.id===e);return a>=0&&ae.id===t.id);if(r<0){n.push(t);let r=n.length;r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}else r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}}revealPathToNode(e,t){if(t)return;let n=this.callbacks.getNodeMap(),r=[],i=e;for(;i&&i!==`root`;){let e=n.get(i);if(!e||this.isNodeCurrentlyVisible(i)||this.pathRevealNodes.has(i))break;r.push(i),i=e.parentId||`root`}let a=n.get(e);if(r.length===0){a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a),this.callbacks.moveToNode(a));return}r.reverse();for(let e of r)this.pathRevealNodes.add(e);this.pathRevealTarget=e,a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a)),this.callbacks.buildGraph().then(()=>{a&&this.callbacks.moveToNode(a)})}clearPathReveal(){this.pathRevealNodes.size>0&&(this.pathRevealNodes.clear(),this.pathRevealTarget=null)}clearPathRevealDescendants(e){if(this.pathRevealNodes.size===0)return!1;let t=this.callbacks.getNodeMap(),n=[];for(let r of this.pathRevealNodes){let i=r;for(;i&&i!==`root`;){let a=t.get(i);if(!a)break;if(a.parentId===e){n.push(r);break}i=a.parentId}}for(let e of n)this.pathRevealNodes.delete(e);return this.pathRevealTarget&&n.includes(this.pathRevealTarget)&&(this.pathRevealTarget=null),n.length>0}hasPathReveal(){return this.pathRevealNodes.size>0}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(){if(this.childrenMapCache)return;this.childrenMapCache=new Map;let e=this.callbacks.getGraphResponseNodes()||[];for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}getState(){return{expandedNodes:this.expandedNodes,visibleChildrenCount:this.visibleChildrenCount,pathRevealNodes:this.pathRevealNodes,pathRevealTarget:this.pathRevealTarget}}saveState(){return{expandedNodes:new Set(this.expandedNodes),visibleChildrenCount:new Map(this.visibleChildrenCount)}}restoreState(e){this.expandedNodes.clear();for(let t of e.expandedNodes)this.expandedNodes.add(t);this.visibleChildrenCount.clear();for(let[t,n]of e.visibleChildrenCount)this.visibleChildrenCount.set(t,n)}},wo=class{constructor(e){this.childrenMapCache=null,this.positionCache=new Map,this.callbacks=e}filterGraphByExpansion(e,t,n){let r=new Map,i=new Map,a=this.callbacks.getExpandedNodes(),o=this.callbacks.getVisibleChildrenCount(),s=this.callbacks.getPathRevealNodes(),c=this.callbacks.getChildBatchSize(),l=e.find(e=>e.id===`root`);if(l&&r.set(`root`,l),this.buildChildrenMapCache(e),n)for(let t of e)r.set(t.id,t);else{let e=[`root`],t=0;for(;ta&&i.set(n,t.length-a)}else if(s.size>0){let t=this.childrenMapCache.get(n)||[];for(let n of t)s.has(n.id)&&(r.set(n.id,n),e.push(n.id))}}}let u=t.filter(e=>!(!r.has(e.sources[0])||!r.has(e.targets[0])));return{nodes:Array.from(r.values()),edges:u,hasMoreChildren:i}}preservePositions(e){this.positionCache.clear(),e?.children?.forEach(e=>{e.x!==void 0&&e.y!==void 0&&this.positionCache.set(e.id,{x:e.x,y:e.y})})}applyPositionHints(e){for(let t of e){let e=this.positionCache.get(t.id);e&&(t.x=e.x,t.y=e.y)}}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(e){if(!this.childrenMapCache){this.childrenMapCache=new Map;for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}}clearPositionCache(){this.positionCache.clear()}getPositionCache(){return this.positionCache}},To=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Eo,Do;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(Do||={});var Oo=Eo=class extends ca{get expandedNodes(){return this.expansionManager.expandedNodes}get visibleChildrenCount(){return this.expansionManager.visibleChildrenCount}get pathRevealNodes(){return this.expansionManager.pathRevealNodes}get pathRevealTarget(){return this.expansionManager.pathRevealTarget}constructor(){super(),this.embeddedMode=!1,this.disablePovMode=!1,this.hideExamples=!1,this.hideControls=!1,this.changeView=!1,this.graphMode=Jt.standard,this.povPreviousViewBox=null,this.povFocusNodeId=null,this.layoutRequestId=0,this.nodeComponents=[],this.edgeComponents=[],this.scale=1,this.isDragging=!1,this.dragThreshold=5,this.dragStartViewBoxX=0,this.dragStartViewBoxY=0,this.previousActiveNodeId=null,this.zoomMax=8e3,this.zoomMin=50,this.collapsedNodes=new Map,this.collapsedEdges=new Map,this.hasMoreChildren=new Map,this.currentAnimationId=0,this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null,this.resizeObserver=null,this.containerWidth=0,this.containerHeight=0,this._resizeRafId=0,this.ready=!1,this.direction=Do.RIGHT,this.nodeMap=new Map,this.definitionCache=new Map,this.edgeMap=new Map,this.violationMap=new Map,this.renderGraphMap=new Map,this.edgeComponentMap=new Map,this.nodeComponentMap=new Map,this.collapsedNodes=new Map,this.nodes=[],this.edges=[],this.nodeNodeBetweenLayers=`100`,this.nodeNode=`80`,this.edgeNodeBetweenLayers=`30`,this.edgeNode=`120`,this.bendEdges=!0,this.bendPoints=!0,this.nodeLimitExceeded=!1,this.nodeLimit=-1,this.equalizer=new ha,this.renderEqualizer=!0,this.equalizer.renderEqualizer=this.renderEqualizer,this.equalizer.nodeNodeBetweenLayers=parseInt(this.nodeNodeBetweenLayers),this.equalizer.nodeNode=parseInt(this.nodeNode),this.equalizer.edgeNodeBetweenLayers=parseInt(this.edgeNodeBetweenLayers),this.equalizer.edgeNode=parseInt(this.edgeNode),this.equalizer.bendEdges=this.bendEdges,this.equalizer.bendPoints=this.bendPoints,this.zoomX=null,this.zoomY=null,this.zoomW=null,this.zoomH=null,this.graphDependentWorker=Eo.graphDependentWorkerFactory?Eo.graphDependentWorkerFactory():new xo,this.elkLayoutWorker=Eo.elkWorkerFactory?Eo.elkWorkerFactory():new So,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new Co({getNodeMap:()=>this.nodeMap,getGraphResponseNodes:()=>this.graphResponse?.nodes,buildGraph:()=>this.buildGraph(),moveToNode:e=>this.moveToNode(e),getActiveNode:()=>this.activeNode,setActiveNode:e=>{if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}if(this.activeNode=e,e&&this.renderGraphMap){let t=this.renderGraphMap.get(e.id);t&&(t.active=!0)}this.requestUpdate()},setPreviousActiveNodeId:e=>{this.previousActiveNodeId=e},getNodeScreenOffset:e=>this.getNodeScreenOffset(e),restoreNodeScreenPosition:(e,t)=>this.restoreNodeScreenPosition(e,t),preservePositions:()=>this.layoutFilterManager.preservePositions(this.graph)}),this.layoutFilterManager=new wo({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new vo({getNodeMap:()=>this.nodeMap,getDefinitionCache:()=>this.definitionCache,getEdgeMap:()=>this.edgeMap}),this.boundZoomIn=this.zoomIn.bind(this),this.boundZoomOut=this.zoomOut.bind(this),this.boundRotate=this.rotate.bind(this),this.boundReset=this.reset.bind(this),this.boundEqualizerChanged=this.equalizerChanged.bind(this),this.boundEqualizerFiltered=this.equalizerFiltered.bind(this),this.boundDependentNodeClicked=this.dependentNodeClicked.bind(this),this.boundLoadMoreChildren=this.loadMoreChildrenClicked.bind(this),this.boundPovModeExit=this.handlePovModeExit.bind(this),this.boundGraphDependentMessage=e=>{this.toggleNodeVisibility(e.data.filteredNodes,e.data.filteredEdges,e.data.collapse)},this.equalizer.addEventListener(Nn,this.boundZoomIn),this.equalizer.addEventListener(Pn,this.boundZoomOut),this.equalizer.addEventListener(Fn,this.boundRotate),this.equalizer.addEventListener(In,this.boundReset),this.equalizer.addEventListener(Vn,this.boundEqualizerChanged),this.equalizer.addEventListener(Hn,this.boundEqualizerFiltered),this.addEventListener(Un,this.boundDependentNodeClicked),this.addEventListener(Wn,this.boundLoadMoreChildren),this.equalizer.addEventListener(Kn,this.boundPovModeExit),this.graphDependentWorker.onmessage=this.boundGraphDependentMessage}connectedCallback(){super.connectedCallback(),this.setupResizeObserver()}disconnectedCallback(){super.disconnectedCallback(),this.elkLayoutWorker?.terminate(),this.graphDependentWorker?.terminate(),this.resizeObserver?.disconnect(),this.resizeObserver=null,this.equalizer.removeEventListener(Nn,this.boundZoomIn),this.equalizer.removeEventListener(Pn,this.boundZoomOut),this.equalizer.removeEventListener(Fn,this.boundRotate),this.equalizer.removeEventListener(In,this.boundReset),this.equalizer.removeEventListener(Vn,this.boundEqualizerChanged),this.equalizer.removeEventListener(Hn,this.boundEqualizerFiltered),this.equalizer.removeEventListener(Kn,this.boundPovModeExit),this.removeEventListener(Un,this.boundDependentNodeClicked),this.removeEventListener(Wn,this.boundLoadMoreChildren)}setupResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{cancelAnimationFrame(this._resizeRafId),this._resizeRafId=requestAnimationFrame(()=>{let{width:e,height:t}=this.getBoundingClientRect();e===0||t===0||Math.abs(e-this.containerWidth)<2&&Math.abs(t-this.containerHeight)<2||(this.containerWidth=e,this.containerHeight=t)})}),this.resizeObserver.observe(this)}updateViewBoxForContainer(){if(!this.svgItem||this.containerWidth===0||this.containerHeight===0)return;let e=this.svgItem.viewBox.baseVal,t=e.x+e.width/2,n=e.y+e.height/2,r=this.containerWidth/this.containerHeight,i=this.buildBaseViewBox().base+300,a,o;r>1?(o=i,a=i*r):(a=i,o=i/r),e.width=a,e.height=o,e.x=t-a/2,e.y=n-o/2,this.zoomW=a,this.zoomH=o,this.zoomX=e.x,this.zoomY=e.y}toggleNodeVisibility(e,t,n){e.forEach(e=>{if(!e?.id)return;let t=this.nodeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedNodes.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedNodes.delete(e.id)))}),t.forEach(e=>{if(!e?.id)return;let t=this.edgeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedEdges.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedEdges.delete(e.id)))}),this.requestUpdate()}dependentNodeClicked(e){let t=e.detail.node.id;this.toggleNodeExpansion(t)}loadMoreChildrenClicked(e){this.loadMoreChildren(e.detail.parentId)}enterPovMode(e,t){let n=this.expansionManager.saveState();this.savedExpandedNodes=n.expandedNodes,this.savedVisibleChildrenCount=n.visibleChildrenCount,this.povMode=!0,this.povFocusNodeId=e,this.povNode=t,this.povNodeId=e}exitPovMode(e=!0){this.savedExpandedNodes&&this.savedVisibleChildrenCount&&(this.expansionManager.restoreState({expandedNodes:this.savedExpandedNodes,visibleChildrenCount:this.savedVisibleChildrenCount}),this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null),this.graphResponse?.nodes?.forEach(e=>{e.dependency&&=!1}),this.graphResponse?.edges?.forEach(e=>{e.dependency&&=!1}),this.povMode=!1,this.povNode=null,this.equalizer.controls.povNode=null,e&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache())}handlePovModeExit(){this.exitPovMode(!0)}updateGraphResponse(e){this.graphResponse=e,this.graphMode=e.mode||(this.changeView?Jt.change:Jt.standard),this.changeView=this.graphMode===Jt.change,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.equalizer.graphResponse=e,this.equalizer.controls.searchComponent.graphResponse=e,this.violationMap.clear(),e.violations&&Object.entries(e.violations).forEach(([e,t])=>{this.violationMap.set(e,t)}),this.buildGraph().then(()=>{setTimeout(()=>{this.activeNode||this.centerOnRoot()},50)})}rotate(){switch(this.direction){case Do.LEFT:this.direction=Do.UP;break;case Do.DOWN:this.direction=Do.LEFT;break;case Do.RIGHT:this.direction=Do.DOWN;break;case Do.UP:this.direction=Do.RIGHT;break}this.resetNodes(),this.buildGraph().then(()=>{setTimeout(()=>{if(this.activeNode){this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id}}));return}},200)})}mouseMove(e){if(this.grabbed){let t=Math.sqrt((e.clientX-this.startX)**2+(e.clientY-this.startY)**2);!this.isDragging&&t>this.dragThreshold&&(this.isDragging=!0),this.isDragging&&requestAnimationFrame(()=>{let t=this.svgItem.viewBox.baseVal,n=(e.clientX-this.startX)*(t.width/this.svgItem.clientWidth),r=(e.clientY-this.startY)*(t.height/this.svgItem.clientHeight);t.x=this.dragStartViewBoxX-n,t.y=this.dragStartViewBoxY-r,this.zoomX=t.x,this.zoomY=t.y,this.zoomW=t.width,this.zoomH=t.height})}}mouseDown(e){this.grabbed=!0;let t=this.svgItem.viewBox.baseVal;this.startX=e.clientX,this.startY=e.clientY,this.dragStartViewBoxX=t.x,this.dragStartViewBoxY=t.y}mouseUp(){this.grabbed=!1,this.isDragging=!1}zoom(e){e=Math.abs(e)<.02?e/Math.abs(e)*.02:e;let[t,n,r,i]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],a=t+r/2,o=n+i/2,[s,c]=[r+r*e,i+i*e],l=a-s/2,u=o-c/2;s>=this.zoomMax||s<=this.zoomMin||(this.svgItem.setAttribute(`viewBox`,`${l} ${u} ${s} ${c}`),this.zoomX=l,this.zoomY=u,this.zoomW=s,this.zoomH=c)}zoomIn(){this.zoom(-.1)}zoomOut(){this.zoom(.1)}onWheel(e){e.preventDefault();let t=e.deltaY/1e3;t=Math.abs(t)<.02?.02*e.deltaY/Math.abs(e.deltaY):t;let n=new DOMPoint(e.clientX,e.clientY);n=n.matrixTransform(this.svgItem.getScreenCTM()?.inverse());let[r,i,a,o]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],[s,c]=[(n.x-r)/a,(n.y-i)/o],[l,u]=[a+a*t,o+o*t],d=n.x-s*l,f=n.y-c*u;l>=this.zoomMax||l<=this.zoomMin||Number.isNaN(d)||Number.isNaN(f)||Number.isNaN(l)||Number.isNaN(u)||requestAnimationFrame(()=>{this.zoomX=d,this.zoomY=f,this.zoomW=l,this.zoomH=u,this.svgItem.setAttribute(`viewBox`,`${d} ${f} ${l} ${u}`)})}equalizerFiltered(e){this.clearPathReveal(),this.graphResponse=e.detail.graph,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.extractEQPreferences(e);let t=e.detail.povMode;this.povNodeId=e.detail.povNodeId||null,t&&(this.povMode=!0),this.buildGraph().then(()=>{t&&this.povFocusNodeId?(this.equalizer.controls.povNode=this.povNode,setTimeout(()=>{let e=this.graphResponse.nodes?.find(e=>e.id===this.povFocusNodeId);e&&this.moveToNode(e,!1)},50)):this.activeNode||setTimeout(()=>{this.centerOnRoot()},50)})}extractEQPreferences(e){e.detail.spacing&&(e.detail.spacing.nodeNodeBetweenLayers&&(this.nodeNodeBetweenLayers=e.detail.spacing.nodeNodeBetweenLayers.toString()),e.detail.spacing.nodeNode&&(this.nodeNode=e.detail.spacing.nodeNode.toString()),e.detail.spacing.edgeNodeBetweenLayers&&(this.edgeNodeBetweenLayers=e.detail.spacing.edgeNodeBetweenLayers.toString()),e.detail.spacing.edgeNode&&(this.edgeNode=e.detail.spacing.edgeNode.toString()),this.bendEdges=!!e.detail.spacing.bendEdges,this.bendPoints=!!e.detail.spacing.bendPoints)}equalizerChanged(e){this.clearPathReveal(),e.detail.graph.nodes.length>0&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.graphResponse=e.detail.graph),this.extractEQPreferences(e),this.buildGraph().then(()=>{setTimeout(()=>{this.activeNode&&this._visible&&this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id,first:!0}}))},50)})}resetNodes(){this.graph.children?.forEach(e=>{let t=e;delete t.x,delete t.y}),this.graph.edges?.forEach(e=>{delete e.sections})}filterGraphByExpansion(e,t){return this.layoutFilterManager.filterGraphByExpansion(e,t,this.povMode)}preservePositions(){this.layoutFilterManager.preservePositions(this.graph)}applyPositionHints(e){this.layoutFilterManager.applyPositionHints(e)}toggleNodeExpansion(e){this.expansionManager.toggleNodeExpansion(e)}loadMoreChildren(e){this.expansionManager.loadMoreChildren(e)}isNodeExpanded(e){return this.expansionManager.isNodeExpanded(e)}isNodeCurrentlyVisible(e){return this.expansionManager.isNodeCurrentlyVisible(e)}invalidateChildrenCache(){this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache()}addToNodeMap(e){this.nodeMap.has(e.id)||this.nodeMap.set(e.id,e)}ensureNodesVisible(e){this.expansionManager.ensureNodesVisible(e)}revealPathToNode(e){this.expansionManager.revealPathToNode(e,this.povMode)}clearPathReveal(){this.expansionManager.clearPathReveal()}generateOptions(){return{"spacing.nodeNodeBetweenLayers":this.nodeNodeBetweenLayers,"spacing.nodeNode":this.nodeNode,"elk.nodeLabels.placement":`INSIDE V_CENTER H_RIGHT`,"elk.algorithm":`layered`,"elk.direction":this.direction,"org.eclipse.elk.edgeRouting":`ORTHOGONAL`,"elk.layered.unnecessaryBendpoints":`true`,"elk.layered.spacing.edgeNodeBetweenLayers":this.edgeNodeBetweenLayers,"org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment":`BALANCED`,"org.eclipse.elk.layered.cycleBreaking.strategy":`DEPTH_FIRST`,"nodePlacement.strategy":`BRANDES_KOEPF`,"org.eclipse.elk.spacing.edgeLabel":`0`,"org.eclipse.elk.spacing.edgeNode":this.edgeNode,"org.eclipse.elk.layered.edgeLabels.sideSelection":`ALWAYS_UP`,"org.eclipse.elk.spacing.portPort":`10`,"elk.interactive":`true`,"elk.interactiveLayout":`true`,"elk.layered.interactiveReferencePoint":`CENTER`,"elk.layered.crossingMinimization.semiInteractive":`true`,"elk.layered.considerModelOrder.strategy":`NODES_AND_EDGES`}}buildGraph(){let e=++this.layoutRequestId,t=this.generateOptions(),n=this.filterGraphByExpansion(this.graphResponse.nodes||[],this.graphResponse.edges||[]);this.hasMoreChildren=n.hasMoreChildren,this.applyPositionHints(n.nodes);let r={id:`root`,layoutOptions:t,children:n.nodes,edges:n.edges};return this.nodeMap.clear(),this.equalizer.graphResponse||(this.equalizer.graphResponse=this.graphResponse),new Promise((n,i)=>{let a=()=>{this.elkLayoutWorker.removeEventListener(`message`,o),this.elkLayoutWorker.removeEventListener(`error`,s)},o=t=>{t.data.requestId===e&&(a(),t.data.success?(this.graph=t.data.graph,this.readyGo(),n(this.graph)):i(Error(t.data.error)))},s=e=>{a(),i(Error(`Worker error: ${e.message}`))};this.elkLayoutWorker.addEventListener(`message`,o),this.elkLayoutWorker.addEventListener(`error`,s),this.elkLayoutWorker.postMessage({requestId:e,graph:r,layoutOptions:t})})}buildNodes(){this.nodeMap.clear(),this.definitionCache.clear(),this.edgeMap.clear();let e=this.explorerComponentFactory.buildNodes({graph:this.graph,graphResponse:this.graphResponse,expandedNodes:this.expandedNodes,hasMoreChildren:this.hasMoreChildren,povMode:this.povMode,povNodeId:this.povNodeId,activeNode:this.activeNode,violationMap:this.violationMap,disablePovMode:this.disablePovMode,hideExamples:this.hideExamples,changeView:this.changeView,graphMode:this.graphMode});this.nodes=e.nodes,this.nodeComponents=e.nodeComponents,this.renderGraphMap=e.renderGraphMap,this.nodeComponentMap=e.nodeComponentMap}buildEdges(){let e=this.explorerComponentFactory.buildEdges({graph:this.graph,collapsedEdges:this.collapsedEdges,bendPoints:this.bendPoints,bendEdges:this.bendEdges,nodeLimitExceeded:this.nodeLimitExceeded,povMode:this.povMode},this.renderGraphMap);this.edges=e.edges,this.edgeComponents=e.edgeComponents,this.edgeComponentMap=e.edgeComponentMap}readyGo(){this.buildNodes(),this.buildEdges(),this.ready=!0,this.requestUpdate()}reset(){this.direction=Do.RIGHT;let e=this.buildBaseViewBox().base+300,t=e,n=e;if(this.containerWidth>0&&this.containerHeight>0){let r=this.containerWidth/this.containerHeight;r>1?(n=e,t=e*r):(t=e,n=e/r)}this.zoomH=n,this.zoomW=t,this.zoomX=-150,this.zoomY=-150,this.svgItem.setAttribute(`viewBox`,`-150 -150 ${t} ${n}`),this.resetNodes(),this.buildGraph().then(()=>{setTimeout(()=>{this.snapToRoot()},150)})}snapToRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=e.width||0,r=e.height||0;this.snapViewBox(e.x-t.width/2+n/2,e.y-t.height/2+r/2)}this.activeNode=e}}resetSelection(){if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}this.activeNode=void 0,this.previousActiveNodeId=null,this.requestUpdate()}centerOnRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=e.width||0,r=e.height||0;this.animateViewBox(e.x-t.width/2+n/2,e.y-t.height/2+r/2,200)}this.activeNode=e}}navigateToRoot(){this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:`root`,first:!0}}))}animateViewBox(e,t,n){let r=++this.currentAnimationId,i=this.svgItem.viewBox.baseVal,a=i.x,o=i.y,s=performance.now(),c=e=>e<.5?4*e*e*e:1-(-2*e+2)**3/2,l=this;function u(d){if(r!==l.currentAnimationId)return;let f=d-s,p=Math.min(f/n,1),m=c(p);i.x=a+(e-a)*m,i.y=o+(t-o)*m,l.zoomX=i.x,l.zoomY=i.y,p<1&&requestAnimationFrame(u)}requestAnimationFrame(u)}snapViewBox(e,t){this.currentAnimationId++;let n=this.svgItem.viewBox.baseVal;n.x=e,n.y=t,this.zoomX=e,this.zoomY=t,this.zoomW=n.width,this.zoomH=n.height}getNodeScreenOffset(e){let t=this.svgItem?.viewBox?.baseVal;if(!t)return null;let n=this.graph?.children?.find(t=>t.id===e);if(!n||n.x===void 0||n.y===void 0)return null;let r=n.width||0,i=n.height||0,a=n.x+r/2,o=n.y+i/2,s=t.x+t.width/2,c=t.y+t.height/2;return{x:a-s,y:o-c}}restoreNodeScreenPosition(e,t){let n=this.svgItem?.viewBox?.baseVal;if(!n)return;let r=this.graph?.children?.find(t=>t.id===e);if(!r||r.x===void 0||r.y===void 0)return;let i=r.width||0,a=r.height||0,o=r.x+i/2,s=r.y+a/2,c=o-t.x,l=s-t.y,u=c-n.width/2,d=l-n.height/2;this.snapViewBox(u,d)}moveToNode(e,t=!1,n=!1){if(this.svgItem&&this.graph?.children){let t=this.svgItem.viewBox.baseVal,r=this.graph.children.find(t=>t.id===e.id);if(r&&r.x!==void 0&&r.y!==void 0&&!r.filtered){let e=r.width||0,i=r.height||0,a=r.x-t.width/2+e/2,o=r.y-t.height/2+i/2;n?this.snapViewBox(a,o):this.animateViewBox(a,o,200)}}}buildBaseViewBox(){let e=600,t=0;return this.graph.children?.forEach(()=>{e+=1,t+=20}),t>900&&(t=900),{base:e,offset:t}}render(){if(!this.ready)return N` + `}var Uo=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Wo=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Go=class{constructor(e){this.childrenMapCache=null,this.expandedNodes=new Set([`root`]),this.visibleChildrenCount=new Map,this.pathRevealNodes=new Set,this.pathRevealTarget=null,this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null,this.CHILD_BATCH_SIZE=10,this.callbacks=e}toggleNodeExpansion(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.clearPathRevealDescendants(e);this.expandedNodes.has(e)?this.expandedNodes.delete(e):t||this.expandedNodes.add(e),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}loadMoreChildren(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE;this.visibleChildrenCount.set(e,t+this.CHILD_BATCH_SIZE),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}isNodeExpanded(e){return this.expandedNodes.has(e)}isNodeCurrentlyVisible(e){if(e===`root`)return!0;let t=this.callbacks.getNodeMap().get(e);if(!t)return!1;let n=t.parentId||`root`;if(!this.expandedNodes.has(n))return!1;if(!this.childrenMapCache)return!0;let r=this.childrenMapCache.get(n);if(!r)return!0;let i=this.visibleChildrenCount.get(n)||this.CHILD_BATCH_SIZE,a=r.findIndex(t=>t.id===e);return a>=0&&ae.id===t.id);if(r<0){n.push(t);let r=n.length;r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}else r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}}revealPathToNode(e,t){if(t)return;let n=this.callbacks.getNodeMap(),r=[],i=e;for(;i&&i!==`root`;){let e=n.get(i);if(!e||this.isNodeCurrentlyVisible(i)||this.pathRevealNodes.has(i))break;r.push(i),i=e.parentId||`root`}let a=n.get(e);if(r.length===0){a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a),this.callbacks.moveToNode(a));return}r.reverse();for(let e of r)this.pathRevealNodes.add(e);this.pathRevealTarget=e,a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a)),this.callbacks.buildGraph().then(()=>{a&&this.callbacks.moveToNode(a)})}clearPathReveal(){this.pathRevealNodes.size>0&&(this.pathRevealNodes.clear(),this.pathRevealTarget=null)}clearPathRevealDescendants(e){if(this.pathRevealNodes.size===0)return!1;let t=this.callbacks.getNodeMap(),n=[];for(let r of this.pathRevealNodes){let i=r;for(;i&&i!==`root`;){let a=t.get(i);if(!a)break;if(a.parentId===e){n.push(r);break}i=a.parentId}}for(let e of n)this.pathRevealNodes.delete(e);return this.pathRevealTarget&&n.includes(this.pathRevealTarget)&&(this.pathRevealTarget=null),n.length>0}hasPathReveal(){return this.pathRevealNodes.size>0}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(){if(this.childrenMapCache)return;this.childrenMapCache=new Map;let e=this.callbacks.getGraphResponseNodes()||[];for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}getState(){return{expandedNodes:this.expandedNodes,visibleChildrenCount:this.visibleChildrenCount,pathRevealNodes:this.pathRevealNodes,pathRevealTarget:this.pathRevealTarget}}saveState(){return{expandedNodes:new Set(this.expandedNodes),visibleChildrenCount:new Map(this.visibleChildrenCount)}}restoreState(e){this.expandedNodes.clear();for(let t of e.expandedNodes)this.expandedNodes.add(t);this.visibleChildrenCount.clear();for(let[t,n]of e.visibleChildrenCount)this.visibleChildrenCount.set(t,n)}},Ko=class{constructor(e){this.childrenMapCache=null,this.positionCache=new Map,this.callbacks=e}filterGraphByExpansion(e,t,n){let r=new Map,i=new Map,a=this.callbacks.getExpandedNodes(),o=this.callbacks.getVisibleChildrenCount(),s=this.callbacks.getPathRevealNodes(),c=this.callbacks.getChildBatchSize(),l=e.find(e=>e.id===`root`);if(l&&r.set(`root`,l),this.buildChildrenMapCache(e),n)for(let t of e)r.set(t.id,t);else{let e=[`root`],t=0;for(;ta&&i.set(n,t.length-a)}else if(s.size>0){let t=this.childrenMapCache.get(n)||[];for(let n of t)s.has(n.id)&&(r.set(n.id,n),e.push(n.id))}}}let u=t.filter(e=>!(!r.has(e.sources[0])||!r.has(e.targets[0])));return{nodes:Array.from(r.values()),edges:u,hasMoreChildren:i}}preservePositions(e){this.positionCache.clear(),e?.children?.forEach(e=>{e.x!==void 0&&e.y!==void 0&&this.positionCache.set(e.id,{x:e.x,y:e.y})})}applyPositionHints(e){for(let t of e){let e=this.positionCache.get(t.id);e&&(t.x=e.x,t.y=e.y)}}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(e){if(!this.childrenMapCache){this.childrenMapCache=new Map;for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}}clearPositionCache(){this.positionCache.clear()}getPositionCache(){return this.positionCache}},qo=.22,Jo=.5;function Yo(e){switch(e){case`LEFT`:return{x:1-qo,y:Jo};case`UP`:return{x:Jo,y:1-qo};case`DOWN`:return{x:Jo,y:qo};default:return{x:qo,y:Jo}}}function Xo(e,t,n){let r=Yo(e),i=(t.x||0)+(t.width||0)/2,a=(t.y||0)+(t.height||0)/2;return{x:i-n.width*r.x,y:a-n.height*r.y}}function Zo(e,t){let n=(e.x||0)+(e.width||0)/2,r=(e.y||0)+(e.height||0)/2;return{x:n-t.width/2,y:r-t.height/2}}function Qo(e,t,n){return t.id===`root`?Xo(e,t,n):Zo(t,n)}var $o=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},es,ts;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(ts||={});var ns=es=class extends ca{get expandedNodes(){return this.expansionManager.expandedNodes}get visibleChildrenCount(){return this.expansionManager.visibleChildrenCount}get pathRevealNodes(){return this.expansionManager.pathRevealNodes}get pathRevealTarget(){return this.expansionManager.pathRevealTarget}constructor(){super(),this.edgePathStyle=`d3`,this.embeddedMode=!1,this.disablePovMode=!1,this.hideExamples=!1,this.hideControls=!1,this.changeView=!1,this.graphMode=Jt.standard,this.povPreviousViewBox=null,this.povFocusNodeId=null,this.layoutRequestId=0,this.nodeComponents=[],this.edgeComponents=[],this.scale=1,this.isDragging=!1,this.dragThreshold=5,this.dragStartViewBoxX=0,this.dragStartViewBoxY=0,this.previousActiveNodeId=null,this.zoomMax=8e3,this.zoomMin=50,this.collapsedNodes=new Map,this.collapsedEdges=new Map,this.hasMoreChildren=new Map,this.currentAnimationId=0,this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null,this.resizeObserver=null,this.containerWidth=0,this.containerHeight=0,this._resizeRafId=0,this.ready=!1,this.direction=ts.RIGHT,this.nodeMap=new Map,this.definitionCache=new Map,this.edgeMap=new Map,this.violationMap=new Map,this.renderGraphMap=new Map,this.edgeComponentMap=new Map,this.nodeComponentMap=new Map,this.collapsedNodes=new Map,this.nodes=[],this.edges=[],this.nodeNodeBetweenLayers=`100`,this.nodeNode=`80`,this.edgeNodeBetweenLayers=`30`,this.edgeNode=`120`,this.bendEdges=!0,this.bendPoints=!0,this.nodeLimitExceeded=!1,this.nodeLimit=-1,this.equalizer=new ha,this.renderEqualizer=!0,this.equalizer.renderEqualizer=this.renderEqualizer,this.equalizer.nodeNodeBetweenLayers=parseInt(this.nodeNodeBetweenLayers),this.equalizer.nodeNode=parseInt(this.nodeNode),this.equalizer.edgeNodeBetweenLayers=parseInt(this.edgeNodeBetweenLayers),this.equalizer.edgeNode=parseInt(this.edgeNode),this.equalizer.bendEdges=this.bendEdges,this.equalizer.bendPoints=this.bendPoints,this.zoomX=null,this.zoomY=null,this.zoomW=null,this.zoomH=null,this.graphDependentWorker=es.graphDependentWorkerFactory?es.graphDependentWorkerFactory():new Uo,this.elkLayoutWorker=es.elkWorkerFactory?es.elkWorkerFactory():new Wo,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new Go({getNodeMap:()=>this.nodeMap,getGraphResponseNodes:()=>this.graphResponse?.nodes,buildGraph:()=>this.buildGraph(),moveToNode:e=>this.moveToNode(e),getActiveNode:()=>this.activeNode,setActiveNode:e=>{if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}if(this.activeNode=e,e&&this.renderGraphMap){let t=this.renderGraphMap.get(e.id);t&&(t.active=!0)}this.requestUpdate()},setPreviousActiveNodeId:e=>{this.previousActiveNodeId=e},getNodeScreenOffset:e=>this.getNodeScreenOffset(e),restoreNodeScreenPosition:(e,t)=>this.restoreNodeScreenPosition(e,t),preservePositions:()=>this.layoutFilterManager.preservePositions(this.graph)}),this.layoutFilterManager=new Ko({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new Bo({getNodeMap:()=>this.nodeMap,getDefinitionCache:()=>this.definitionCache,getEdgeMap:()=>this.edgeMap}),this.boundZoomIn=this.zoomIn.bind(this),this.boundZoomOut=this.zoomOut.bind(this),this.boundRotate=this.rotate.bind(this),this.boundReset=this.reset.bind(this),this.boundEqualizerChanged=this.equalizerChanged.bind(this),this.boundEqualizerFiltered=this.equalizerFiltered.bind(this),this.boundDependentNodeClicked=this.dependentNodeClicked.bind(this),this.boundLoadMoreChildren=this.loadMoreChildrenClicked.bind(this),this.boundPovModeExit=this.handlePovModeExit.bind(this),this.boundGraphDependentMessage=e=>{this.toggleNodeVisibility(e.data.filteredNodes,e.data.filteredEdges,e.data.collapse)},this.equalizer.addEventListener(Nn,this.boundZoomIn),this.equalizer.addEventListener(Pn,this.boundZoomOut),this.equalizer.addEventListener(Fn,this.boundRotate),this.equalizer.addEventListener(In,this.boundReset),this.equalizer.addEventListener(Vn,this.boundEqualizerChanged),this.equalizer.addEventListener(Hn,this.boundEqualizerFiltered),this.addEventListener(Un,this.boundDependentNodeClicked),this.addEventListener(Wn,this.boundLoadMoreChildren),this.equalizer.addEventListener(Kn,this.boundPovModeExit),this.graphDependentWorker.onmessage=this.boundGraphDependentMessage}connectedCallback(){super.connectedCallback(),this.setupResizeObserver()}disconnectedCallback(){super.disconnectedCallback(),this.elkLayoutWorker?.terminate(),this.graphDependentWorker?.terminate(),this.resizeObserver?.disconnect(),this.resizeObserver=null,this.equalizer.removeEventListener(Nn,this.boundZoomIn),this.equalizer.removeEventListener(Pn,this.boundZoomOut),this.equalizer.removeEventListener(Fn,this.boundRotate),this.equalizer.removeEventListener(In,this.boundReset),this.equalizer.removeEventListener(Vn,this.boundEqualizerChanged),this.equalizer.removeEventListener(Hn,this.boundEqualizerFiltered),this.equalizer.removeEventListener(Kn,this.boundPovModeExit),this.removeEventListener(Un,this.boundDependentNodeClicked),this.removeEventListener(Wn,this.boundLoadMoreChildren)}setupResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{cancelAnimationFrame(this._resizeRafId),this._resizeRafId=requestAnimationFrame(()=>{let{width:e,height:t}=this.getBoundingClientRect();e===0||t===0||Math.abs(e-this.containerWidth)<2&&Math.abs(t-this.containerHeight)<2||(this.containerWidth=e,this.containerHeight=t)})}),this.resizeObserver.observe(this)}updateViewBoxForContainer(){if(!this.svgItem||this.containerWidth===0||this.containerHeight===0)return;let e=this.svgItem.viewBox.baseVal,t=e.x+e.width/2,n=e.y+e.height/2,r=this.containerWidth/this.containerHeight,i=this.buildBaseViewBox().base+300,a,o;r>1?(o=i,a=i*r):(a=i,o=i/r),e.width=a,e.height=o,e.x=t-a/2,e.y=n-o/2,this.zoomW=a,this.zoomH=o,this.zoomX=e.x,this.zoomY=e.y}toggleNodeVisibility(e,t,n){e.forEach(e=>{if(!e?.id)return;let t=this.nodeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedNodes.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedNodes.delete(e.id)))}),t.forEach(e=>{if(!e?.id)return;let t=this.edgeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedEdges.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedEdges.delete(e.id)))}),this.requestUpdate()}dependentNodeClicked(e){let t=e.detail.node.id;this.toggleNodeExpansion(t)}loadMoreChildrenClicked(e){this.loadMoreChildren(e.detail.parentId)}enterPovMode(e,t){let n=this.expansionManager.saveState();this.savedExpandedNodes=n.expandedNodes,this.savedVisibleChildrenCount=n.visibleChildrenCount,this.povMode=!0,this.povFocusNodeId=e,this.povNode=t,this.povNodeId=e}exitPovMode(e=!0){this.savedExpandedNodes&&this.savedVisibleChildrenCount&&(this.expansionManager.restoreState({expandedNodes:this.savedExpandedNodes,visibleChildrenCount:this.savedVisibleChildrenCount}),this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null),this.graphResponse?.nodes?.forEach(e=>{e.dependency&&=!1}),this.graphResponse?.edges?.forEach(e=>{e.dependency&&=!1}),this.povMode=!1,this.povNode=null,this.equalizer.controls.povNode=null,e&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache())}handlePovModeExit(){this.exitPovMode(!0)}updateGraphResponse(e){this.graphResponse=e,this.graphMode=e.mode||(this.changeView?Jt.change:Jt.standard),this.changeView=this.graphMode===Jt.change,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.equalizer.graphResponse=e,this.equalizer.controls.searchComponent.graphResponse=e,this.violationMap.clear(),e.violations&&Object.entries(e.violations).forEach(([e,t])=>{this.violationMap.set(e,t)}),this.buildGraphAndRender().then(()=>{this.activeNode||this.centerOnRoot()})}rotate(){switch(this.direction){case ts.LEFT:this.direction=ts.UP;break;case ts.DOWN:this.direction=ts.LEFT;break;case ts.RIGHT:this.direction=ts.DOWN;break;case ts.UP:this.direction=ts.RIGHT;break}this.resetNodes(),this.buildGraphAndRender().then(()=>{this.activeNode&&this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id}}))})}mouseMove(e){if(this.grabbed){let t=Math.sqrt((e.clientX-this.startX)**2+(e.clientY-this.startY)**2);!this.isDragging&&t>this.dragThreshold&&(this.isDragging=!0),this.isDragging&&requestAnimationFrame(()=>{let t=this.svgItem.viewBox.baseVal,n=(e.clientX-this.startX)*(t.width/this.svgItem.clientWidth),r=(e.clientY-this.startY)*(t.height/this.svgItem.clientHeight);t.x=this.dragStartViewBoxX-n,t.y=this.dragStartViewBoxY-r,this.zoomX=t.x,this.zoomY=t.y,this.zoomW=t.width,this.zoomH=t.height})}}mouseDown(e){this.grabbed=!0;let t=this.svgItem.viewBox.baseVal;this.startX=e.clientX,this.startY=e.clientY,this.dragStartViewBoxX=t.x,this.dragStartViewBoxY=t.y}mouseUp(){this.grabbed=!1,this.isDragging=!1}zoom(e){e=Math.abs(e)<.02?e/Math.abs(e)*.02:e;let[t,n,r,i]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],a=t+r/2,o=n+i/2,[s,c]=[r+r*e,i+i*e],l=a-s/2,u=o-c/2;s>=this.zoomMax||s<=this.zoomMin||(this.svgItem.setAttribute(`viewBox`,`${l} ${u} ${s} ${c}`),this.zoomX=l,this.zoomY=u,this.zoomW=s,this.zoomH=c)}zoomIn(){this.zoom(-.1)}zoomOut(){this.zoom(.1)}onWheel(e){e.preventDefault();let t=e.deltaY/1e3;t=Math.abs(t)<.02?.02*e.deltaY/Math.abs(e.deltaY):t;let n=new DOMPoint(e.clientX,e.clientY);n=n.matrixTransform(this.svgItem.getScreenCTM()?.inverse());let[r,i,a,o]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],[s,c]=[(n.x-r)/a,(n.y-i)/o],[l,u]=[a+a*t,o+o*t],d=n.x-s*l,f=n.y-c*u;l>=this.zoomMax||l<=this.zoomMin||Number.isNaN(d)||Number.isNaN(f)||Number.isNaN(l)||Number.isNaN(u)||requestAnimationFrame(()=>{this.zoomX=d,this.zoomY=f,this.zoomW=l,this.zoomH=u,this.svgItem.setAttribute(`viewBox`,`${d} ${f} ${l} ${u}`)})}equalizerFiltered(e){this.clearPathReveal(),this.graphResponse=e.detail.graph,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.extractEQPreferences(e);let t=e.detail.povMode;this.povNodeId=e.detail.povNodeId||null,t&&(this.povMode=!0),this.buildGraphAndRender().then(()=>{if(t&&this.povFocusNodeId){this.equalizer.controls.povNode=this.povNode;let e=this.graphResponse.nodes?.find(e=>e.id===this.povFocusNodeId);e&&this.moveToNode(e,!1)}else this.activeNode||this.centerOnRoot()})}extractEQPreferences(e){e.detail.spacing&&(e.detail.spacing.nodeNodeBetweenLayers&&(this.nodeNodeBetweenLayers=e.detail.spacing.nodeNodeBetweenLayers.toString()),e.detail.spacing.nodeNode&&(this.nodeNode=e.detail.spacing.nodeNode.toString()),e.detail.spacing.edgeNodeBetweenLayers&&(this.edgeNodeBetweenLayers=e.detail.spacing.edgeNodeBetweenLayers.toString()),e.detail.spacing.edgeNode&&(this.edgeNode=e.detail.spacing.edgeNode.toString()),this.bendEdges=!!e.detail.spacing.bendEdges,this.bendPoints=!!e.detail.spacing.bendPoints)}equalizerChanged(e){this.clearPathReveal(),e.detail.graph.nodes.length>0&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.graphResponse=e.detail.graph),this.extractEQPreferences(e),this.buildGraphAndRender().then(()=>{this.activeNode&&this._visible&&this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id,first:!0}}))})}resetNodes(){this.graph.children?.forEach(e=>{let t=e;delete t.x,delete t.y}),this.graph.edges?.forEach(e=>{delete e.sections})}filterGraphByExpansion(e,t){return this.layoutFilterManager.filterGraphByExpansion(e,t,this.povMode)}preservePositions(){this.layoutFilterManager.preservePositions(this.graph)}applyPositionHints(e){this.layoutFilterManager.applyPositionHints(e)}toggleNodeExpansion(e){this.expansionManager.toggleNodeExpansion(e)}loadMoreChildren(e){this.expansionManager.loadMoreChildren(e)}isNodeExpanded(e){return this.expansionManager.isNodeExpanded(e)}isNodeCurrentlyVisible(e){return this.expansionManager.isNodeCurrentlyVisible(e)}invalidateChildrenCache(){this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache()}addToNodeMap(e){this.nodeMap.has(e.id)||this.nodeMap.set(e.id,e)}ensureNodesVisible(e){this.expansionManager.ensureNodesVisible(e)}revealPathToNode(e){this.expansionManager.revealPathToNode(e,this.povMode)}clearPathReveal(){this.expansionManager.clearPathReveal()}generateOptions(){return{"spacing.nodeNodeBetweenLayers":this.nodeNodeBetweenLayers,"spacing.nodeNode":this.nodeNode,"elk.nodeLabels.placement":`INSIDE V_CENTER H_RIGHT`,"elk.algorithm":`layered`,"elk.direction":this.direction,"org.eclipse.elk.edgeRouting":`ORTHOGONAL`,"elk.layered.unnecessaryBendpoints":`true`,"elk.layered.spacing.edgeNodeBetweenLayers":this.edgeNodeBetweenLayers,"org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment":`BALANCED`,"org.eclipse.elk.layered.cycleBreaking.strategy":`DEPTH_FIRST`,"nodePlacement.strategy":`BRANDES_KOEPF`,"org.eclipse.elk.spacing.edgeLabel":`0`,"org.eclipse.elk.spacing.edgeNode":this.edgeNode,"org.eclipse.elk.layered.edgeLabels.sideSelection":`ALWAYS_UP`,"org.eclipse.elk.spacing.portPort":`10`,"elk.interactive":`true`,"elk.interactiveLayout":`true`,"elk.layered.interactiveReferencePoint":`CENTER`,"elk.layered.crossingMinimization.semiInteractive":`true`,"elk.layered.considerModelOrder.strategy":`NODES_AND_EDGES`}}buildGraph(){let e=++this.layoutRequestId,t=this.generateOptions(),n=this.filterGraphByExpansion(this.graphResponse.nodes||[],this.graphResponse.edges||[]);this.hasMoreChildren=n.hasMoreChildren,this.applyPositionHints(n.nodes);let r={id:`root`,layoutOptions:t,children:n.nodes,edges:n.edges};return this.nodeMap.clear(),this.equalizer.graphResponse||(this.equalizer.graphResponse=this.graphResponse),new Promise((n,i)=>{let a=()=>{this.elkLayoutWorker.removeEventListener(`message`,o),this.elkLayoutWorker.removeEventListener(`error`,s)},o=t=>{t.data.requestId===e&&(a(),t.data.success?(this.graph=t.data.graph,this.readyGo(),n(this.graph)):i(Error(t.data.error)))},s=e=>{a(),i(Error(`Worker error: ${e.message}`))};this.elkLayoutWorker.addEventListener(`message`,o),this.elkLayoutWorker.addEventListener(`error`,s),this.elkLayoutWorker.postMessage({requestId:e,graph:r,layoutOptions:t})})}async buildGraphAndRender(){await this.buildGraph(),await this.updateComplete,await new Promise(e=>requestAnimationFrame(()=>e()))}buildNodes(){this.nodeMap.clear(),this.definitionCache.clear(),this.edgeMap.clear();let e=this.explorerComponentFactory.buildNodes({graph:this.graph,graphResponse:this.graphResponse,expandedNodes:this.expandedNodes,hasMoreChildren:this.hasMoreChildren,povMode:this.povMode,povNodeId:this.povNodeId,activeNode:this.activeNode,violationMap:this.violationMap,disablePovMode:this.disablePovMode,hideExamples:this.hideExamples,changeView:this.changeView,graphMode:this.graphMode});this.nodes=e.nodes,this.nodeComponents=e.nodeComponents,this.renderGraphMap=e.renderGraphMap,this.nodeComponentMap=e.nodeComponentMap}buildEdges(){let e=this.explorerComponentFactory.buildEdges({graph:this.graph,collapsedEdges:this.collapsedEdges,bendPoints:this.bendPoints,bendEdges:this.bendEdges,edgePathStyle:this.edgePathStyle,nodeLimitExceeded:this.nodeLimitExceeded,povMode:this.povMode},this.renderGraphMap);this.edges=e.edges,this.edgeComponents=e.edgeComponents,this.edgeComponentMap=e.edgeComponentMap}readyGo(){this.buildNodes(),this.buildEdges(),this.ready=!0,this.requestUpdate()}reset(){this.direction=ts.RIGHT;let e=this.buildBaseViewBox().base+300,t=e,n=e;if(this.containerWidth>0&&this.containerHeight>0){let r=this.containerWidth/this.containerHeight;r>1?(n=e,t=e*r):(t=e,n=e/r)}this.zoomH=n,this.zoomW=t,this.zoomX=-150,this.zoomY=-150,this.svgItem.setAttribute(`viewBox`,`-150 -150 ${t} ${n}`),this.resetNodes(),this.buildGraphAndRender().then(()=>{this.snapToRoot()})}snapToRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=Qo(this.direction,e,t);this.snapViewBox(n.x,n.y)}this.activeNode=e}}resetSelection(){if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}this.activeNode=void 0,this.previousActiveNodeId=null,this.requestUpdate()}centerOnRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=Qo(this.direction,e,t);this.animateViewBox(n.x,n.y,200)}this.activeNode=e}}navigateToRoot(){this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:`root`,first:!0}}))}animateViewBox(e,t,n){let r=++this.currentAnimationId,i=this.svgItem.viewBox.baseVal,a=i.x,o=i.y,s=performance.now(),c=e=>e<.5?4*e*e*e:1-(-2*e+2)**3/2,l=this;function u(d){if(r!==l.currentAnimationId)return;let f=d-s,p=Math.min(f/n,1),m=c(p);i.x=a+(e-a)*m,i.y=o+(t-o)*m,l.zoomX=i.x,l.zoomY=i.y,p<1&&requestAnimationFrame(u)}requestAnimationFrame(u)}snapViewBox(e,t){this.currentAnimationId++;let n=this.svgItem.viewBox.baseVal;n.x=e,n.y=t,this.zoomX=e,this.zoomY=t,this.zoomW=n.width,this.zoomH=n.height}getNodeScreenOffset(e){let t=this.svgItem?.viewBox?.baseVal;if(!t)return null;let n=this.graph?.children?.find(t=>t.id===e);if(!n||n.x===void 0||n.y===void 0)return null;let r=n.width||0,i=n.height||0,a=n.x+r/2,o=n.y+i/2,s=t.x+t.width/2,c=t.y+t.height/2;return{x:a-s,y:o-c}}restoreNodeScreenPosition(e,t){let n=this.svgItem?.viewBox?.baseVal;if(!n)return;let r=this.graph?.children?.find(t=>t.id===e);if(!r||r.x===void 0||r.y===void 0)return;let i=r.width||0,a=r.height||0,o=r.x+i/2,s=r.y+a/2,c=o-t.x,l=s-t.y,u=c-n.width/2,d=l-n.height/2;this.snapViewBox(u,d)}moveToNode(e,t=!1,n=!1){if(this.svgItem&&this.graph?.children){let t=this.svgItem.viewBox.baseVal,r=this.graph.children.find(t=>t.id===e.id);if(r&&r.x!==void 0&&r.y!==void 0&&!r.filtered){let e=Qo(this.direction,r,t);n?this.snapViewBox(e.x,e.y):this.animateViewBox(e.x,e.y,200)}}}buildBaseViewBox(){let e=600,t=0;return this.graph.children?.forEach(()=>{e+=1,t+=20}),t>900&&(t=900),{base:e,offset:t}}render(){if(!this.ready)return N`
loading explorer... @@ -3262,13 +3315,13 @@ @mousedown="${this.mouseDown}" @mouseup="${this.mouseUp}" @mousemove="${this.mouseMove}"> - ${bo()} + ${Ho()} ${Kt(this.edgeComponents,e=>e.edge.id,e=>e.render())} ${Kt(this.nodeComponents,e=>e.id,e=>e.render())} - `}};Oo.graphDependentWorkerFactory=null,Oo.elkWorkerFactory=null,Oo.styles=[qt,Ji],To([M(`svg`)],Oo.prototype,`svgItem`,void 0),To([M(`svg > g`)],Oo.prototype,`svgGroup`,void 0),To([Be(`path`)],Oo.prototype,`paths`,void 0),To([Be(`foreignObject`)],Oo.prototype,`foreignObjects`,void 0),To([j()],Oo.prototype,`ready`,void 0),To([A()],Oo.prototype,`renderEqualizer`,void 0),To([A({type:Boolean})],Oo.prototype,`embeddedMode`,void 0),To([A()],Oo.prototype,`graphResponse`,void 0),To([A({type:Boolean})],Oo.prototype,`disablePovMode`,void 0),To([A({type:Boolean})],Oo.prototype,`hideExamples`,void 0),To([A({type:Boolean})],Oo.prototype,`hideControls`,void 0),To([A({type:Boolean})],Oo.prototype,`changeView`,void 0),To([A()],Oo.prototype,`graphMode`,void 0),To([A()],Oo.prototype,`povMode`,void 0),To([A()],Oo.prototype,`povNodeId`,void 0),To([A()],Oo.prototype,`povNode`,void 0),To([j()],Oo.prototype,`models`,void 0),Oo=Eo=To([O(`pb33f-explorer`)],Oo);var ko=k` + `}};ns.graphDependentWorkerFactory=null,ns.elkWorkerFactory=null,ns.styles=[qt,Ji],$o([M(`svg`)],ns.prototype,`svgItem`,void 0),$o([M(`svg > g`)],ns.prototype,`svgGroup`,void 0),$o([Be(`path`)],ns.prototype,`paths`,void 0),$o([Be(`foreignObject`)],ns.prototype,`foreignObjects`,void 0),$o([j()],ns.prototype,`ready`,void 0),$o([A()],ns.prototype,`renderEqualizer`,void 0),$o([A()],ns.prototype,`edgePathStyle`,void 0),$o([A({type:Boolean})],ns.prototype,`embeddedMode`,void 0),$o([A()],ns.prototype,`graphResponse`,void 0),$o([A({type:Boolean})],ns.prototype,`disablePovMode`,void 0),$o([A({type:Boolean})],ns.prototype,`hideExamples`,void 0),$o([A({type:Boolean})],ns.prototype,`hideControls`,void 0),$o([A({type:Boolean})],ns.prototype,`changeView`,void 0),$o([A()],ns.prototype,`graphMode`,void 0),$o([A()],ns.prototype,`povMode`,void 0),$o([A()],ns.prototype,`povNodeId`,void 0),$o([A()],ns.prototype,`povNode`,void 0),$o([j()],ns.prototype,`models`,void 0),ns=es=$o([O(`pb33f-explorer`)],ns);var rs=k` :host { display: block; height: 100%; @@ -3375,7 +3428,7 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,Ao=k` +`,is=k` :host { display: inline-block; width: 1em; @@ -3388,17 +3441,17 @@ height: 100%; width: 100%; } -`,jo=Symbol(),Mo=Symbol(),No,Po=new Map,Fo=class extends L{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label=``,this.library=`default`}async resolveIcon(e,t){let n;if(t?.spriteSheet)return this.svg=N` +`,as=Symbol(),os=Symbol(),ss,cs=new Map,ls=class extends L{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label=``,this.library=`default`}async resolveIcon(e,t){let n;if(t?.spriteSheet)return this.svg=N` - `,this.svg;try{if(n=await fetch(e,{mode:`cors`}),!n.ok)return n.status===410?jo:Mo}catch{return Mo}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return jo;No||=new DOMParser;let r=No.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):jo}catch{return jo}}connectedCallback(){super.connectedCallback(),g(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),_(this)}getIconSource(){let e=v(this.library);return this.name&&e?{url:e.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label==`string`&&this.label.length>0?(this.setAttribute(`role`,`img`),this.setAttribute(`aria-label`,this.label),this.removeAttribute(`aria-hidden`)):(this.removeAttribute(`role`),this.removeAttribute(`aria-label`),this.setAttribute(`aria-hidden`,`true`))}async setIcon(){var e;let{url:t,fromLibrary:n}=this.getIconSource(),r=n?v(this.library):void 0;if(!t){this.svg=null;return}let i=Po.get(t);if(i||(i=this.resolveIcon(t,r),Po.set(t,i)),!this.initialRender)return;let a=await i;if(a===Mo&&Po.delete(t),t===this.getIconSource().url){if(It(a)){if(this.svg=a,r){await this.updateComplete;let e=this.shadowRoot.querySelector(`[part='svg']`);typeof r.mutator==`function`&&e&&r.mutator(e)}return}switch(a){case Mo:case jo:this.svg=null,this.emit(`sl-error`);break;default:this.svg=a.cloneNode(!0),(e=r?.mutator)==null||e.call(r,this.svg),this.emit(`sl-load`)}}}render(){return this.svg}};Fo.styles=[wn,Ao],D([j()],Fo.prototype,`svg`,2),D([A({reflect:!0})],Fo.prototype,`name`,2),D([A()],Fo.prototype,`src`,2),D([A()],Fo.prototype,`label`,2),D([A({reflect:!0})],Fo.prototype,`library`,2),D([I(`label`)],Fo.prototype,`handleLabelChange`,1),D([I([`name`,`src`,`library`])],Fo.prototype,`setIcon`,1),Fo.define(`sl-icon`);var Io=c(o(((e,t)=>{var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},r=-1,i=1,a=0;n.Diff=function(e,t){return[e,t]},n.prototype.diff_main=function(e,t,r,i){i===void 0&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:new Date().getTime()+this.Diff_Timeout*1e3);var o=i;if(e==null||t==null)throw Error(`Null input. (diff_main)`);if(e==t)return e?[new n.Diff(a,e)]:[];r===void 0&&(r=!0);var s=r,c=this.diff_commonPrefix(e,t),l=e.substring(0,c);e=e.substring(c),t=t.substring(c),c=this.diff_commonSuffix(e,t);var u=e.substring(e.length-c);e=e.substring(0,e.length-c),t=t.substring(0,t.length-c);var d=this.diff_compute_(e,t,s,o);return l&&d.unshift(new n.Diff(a,l)),u&&d.push(new n.Diff(a,u)),this.diff_cleanupMerge(d),d},n.prototype.diff_compute_=function(e,t,o,s){var c;if(!e)return[new n.Diff(i,t)];if(!t)return[new n.Diff(r,e)];var l=e.length>t.length?e:t,u=e.length>t.length?t:e,d=l.indexOf(u);if(d!=-1)return c=[new n.Diff(i,l.substring(0,d)),new n.Diff(a,u),new n.Diff(i,l.substring(d+u.length))],e.length>t.length&&(c[0][0]=c[2][0]=r),c;if(u.length==1)return[new n.Diff(r,e),new n.Diff(i,t)];var f=this.diff_halfMatch_(e,t);if(f){var p=f[0],m=f[1],h=f[2],g=f[3],_=f[4],v=this.diff_main(p,h,o,s),y=this.diff_main(m,g,o,s);return v.concat([new n.Diff(a,_)],y)}return o&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,s):this.diff_bisect_(e,t,s)},n.prototype.diff_lineMode_=function(e,t,o){var s=this.diff_linesToChars_(e,t);e=s.chars1,t=s.chars2;var c=s.lineArray,l=this.diff_main(e,t,!1,o);this.diff_charsToLines_(l,c),this.diff_cleanupSemantic(l),l.push(new n.Diff(a,``));for(var u=0,d=0,f=0,p=``,m=``;u=1&&f>=1){l.splice(u-d-f,d+f),u=u-d-f;for(var h=this.diff_main(p,m,!1,o),g=h.length-1;g>=0;g--)l.splice(u,0,h[g]);u+=h.length}f=0,d=0,p=``,m=``;break}u++}return l.pop(),l},n.prototype.diff_bisect_=function(e,t,a){for(var o=e.length,s=t.length,c=Math.ceil((o+s)/2),l=c,u=2*c,d=Array(u),f=Array(u),p=0;pa);b++){for(var x=-b+g;x<=b-_;x+=2){for(var S=l+x,C=x==-b||x!=b&&d[S-1]o)_+=2;else if(w>s)g+=2;else if(h){var T=l+m-x;if(T>=0&&T=E)return this.diff_bisectSplit_(e,t,C,w,a)}}}for(var ee=-b+v;ee<=b-y;ee+=2){for(var T=l+ee,E=ee==-b||ee!=b&&f[T-1]o)y+=2;else if(te>s)v+=2;else if(!h){var S=l+m-ee;if(S>=0&&S=E)return this.diff_bisectSplit_(e,t,C,w,a)}}}}return[new n.Diff(r,e),new n.Diff(i,t)]},n.prototype.diff_bisectSplit_=function(e,t,n,r,i){var a=e.substring(0,n),o=t.substring(0,r),s=e.substring(n),c=t.substring(r),l=this.diff_main(a,o,!1,i),u=this.diff_main(s,c,!1,i);return l.concat(u)},n.prototype.diff_linesToChars_=function(e,t){var n=[],r={};n[0]=``;function i(e){for(var t=``,i=0,o=-1,s=n.length;o`,this.svg;try{if(n=await fetch(e,{mode:`cors`}),!n.ok)return n.status===410?as:os}catch{return os}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return as;ss||=new DOMParser;let r=ss.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):as}catch{return as}}connectedCallback(){super.connectedCallback(),g(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),_(this)}getIconSource(){let e=v(this.library);return this.name&&e?{url:e.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label==`string`&&this.label.length>0?(this.setAttribute(`role`,`img`),this.setAttribute(`aria-label`,this.label),this.removeAttribute(`aria-hidden`)):(this.removeAttribute(`role`),this.removeAttribute(`aria-label`),this.setAttribute(`aria-hidden`,`true`))}async setIcon(){var e;let{url:t,fromLibrary:n}=this.getIconSource(),r=n?v(this.library):void 0;if(!t){this.svg=null;return}let i=cs.get(t);if(i||(i=this.resolveIcon(t,r),cs.set(t,i)),!this.initialRender)return;let a=await i;if(a===os&&cs.delete(t),t===this.getIconSource().url){if(It(a)){if(this.svg=a,r){await this.updateComplete;let e=this.shadowRoot.querySelector(`[part='svg']`);typeof r.mutator==`function`&&e&&r.mutator(e)}return}switch(a){case os:case as:this.svg=null,this.emit(`sl-error`);break;default:this.svg=a.cloneNode(!0),(e=r?.mutator)==null||e.call(r,this.svg),this.emit(`sl-load`)}}}render(){return this.svg}};ls.styles=[wn,is],D([j()],ls.prototype,`svg`,2),D([A({reflect:!0})],ls.prototype,`name`,2),D([A()],ls.prototype,`src`,2),D([A()],ls.prototype,`label`,2),D([A({reflect:!0})],ls.prototype,`library`,2),D([I(`label`)],ls.prototype,`handleLabelChange`,1),D([I([`name`,`src`,`library`])],ls.prototype,`setIcon`,1),ls.define(`sl-icon`);var us=c(o(((e,t)=>{var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},r=-1,i=1,a=0;n.Diff=function(e,t){return[e,t]},n.prototype.diff_main=function(e,t,r,i){i===void 0&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:new Date().getTime()+this.Diff_Timeout*1e3);var o=i;if(e==null||t==null)throw Error(`Null input. (diff_main)`);if(e==t)return e?[new n.Diff(a,e)]:[];r===void 0&&(r=!0);var s=r,c=this.diff_commonPrefix(e,t),l=e.substring(0,c);e=e.substring(c),t=t.substring(c),c=this.diff_commonSuffix(e,t);var u=e.substring(e.length-c);e=e.substring(0,e.length-c),t=t.substring(0,t.length-c);var d=this.diff_compute_(e,t,s,o);return l&&d.unshift(new n.Diff(a,l)),u&&d.push(new n.Diff(a,u)),this.diff_cleanupMerge(d),d},n.prototype.diff_compute_=function(e,t,o,s){var c;if(!e)return[new n.Diff(i,t)];if(!t)return[new n.Diff(r,e)];var l=e.length>t.length?e:t,u=e.length>t.length?t:e,d=l.indexOf(u);if(d!=-1)return c=[new n.Diff(i,l.substring(0,d)),new n.Diff(a,u),new n.Diff(i,l.substring(d+u.length))],e.length>t.length&&(c[0][0]=c[2][0]=r),c;if(u.length==1)return[new n.Diff(r,e),new n.Diff(i,t)];var f=this.diff_halfMatch_(e,t);if(f){var p=f[0],m=f[1],h=f[2],g=f[3],_=f[4],v=this.diff_main(p,h,o,s),y=this.diff_main(m,g,o,s);return v.concat([new n.Diff(a,_)],y)}return o&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,s):this.diff_bisect_(e,t,s)},n.prototype.diff_lineMode_=function(e,t,o){var s=this.diff_linesToChars_(e,t);e=s.chars1,t=s.chars2;var c=s.lineArray,l=this.diff_main(e,t,!1,o);this.diff_charsToLines_(l,c),this.diff_cleanupSemantic(l),l.push(new n.Diff(a,``));for(var u=0,d=0,f=0,p=``,m=``;u=1&&f>=1){l.splice(u-d-f,d+f),u=u-d-f;for(var h=this.diff_main(p,m,!1,o),g=h.length-1;g>=0;g--)l.splice(u,0,h[g]);u+=h.length}f=0,d=0,p=``,m=``;break}u++}return l.pop(),l},n.prototype.diff_bisect_=function(e,t,a){for(var o=e.length,s=t.length,c=Math.ceil((o+s)/2),l=c,u=2*c,d=Array(u),f=Array(u),p=0;pa);b++){for(var x=-b+g;x<=b-_;x+=2){for(var S=l+x,C=x==-b||x!=b&&d[S-1]o)_+=2;else if(w>s)g+=2;else if(h){var T=l+m-x;if(T>=0&&T=E)return this.diff_bisectSplit_(e,t,C,w,a)}}}for(var ee=-b+v;ee<=b-y;ee+=2){for(var T=l+ee,E=ee==-b||ee!=b&&f[T-1]o)y+=2;else if(te>s)v+=2;else if(!h){var S=l+m-ee;if(S>=0&&S=E)return this.diff_bisectSplit_(e,t,C,w,a)}}}}return[new n.Diff(r,e),new n.Diff(i,t)]},n.prototype.diff_bisectSplit_=function(e,t,n,r,i){var a=e.substring(0,n),o=t.substring(0,r),s=e.substring(n),c=t.substring(r),l=this.diff_main(a,o,!1,i),u=this.diff_main(s,c,!1,i);return l.concat(u)},n.prototype.diff_linesToChars_=function(e,t){var n=[],r={};n[0]=``;function i(e){for(var t=``,i=0,o=-1,s=n.length;or?e=e.substring(n-r):nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||r.length*2=e.length?[s,c,l,u,o]:null}var o=a(n,r,Math.ceil(n.length/4)),s=a(n,r,Math.ceil(n.length/2)),c;if(!o&&!s)return null;c=s?o&&o[4].length>s[4].length?o:s:o;var l,u,d,f;e.length>t.length?(l=c[0],u=c[1],d=c[2],f=c[3]):(d=c[0],f=c[1],l=c[2],u=c[3]);var p=c[4];return[l,u,d,f,p]},n.prototype.diff_cleanupSemantic=function(e){for(var t=!1,o=[],s=0,c=null,l=0,u=0,d=0,f=0,p=0;l0?o[s-1]:-1,u=0,d=0,f=0,p=0,c=null,t=!0)),l++;for(t&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),l=1;l=_?(g>=m.length/2||g>=h.length/2)&&(e.splice(l,0,new n.Diff(a,h.substring(0,g))),e[l-1][1]=m.substring(0,m.length-g),e[l+1][1]=h.substring(g),l++):(_>=m.length/2||_>=h.length/2)&&(e.splice(l,0,new n.Diff(a,m.substring(0,_))),e[l-1][0]=i,e[l-1][1]=h.substring(0,h.length-_),e[l+1][0]=r,e[l+1][1]=m.substring(_),l++),l++}l++}},n.prototype.diff_cleanupSemanticLossless=function(e){function t(e,t){if(!e||!t)return 6;var r=e.charAt(e.length-1),i=t.charAt(0),a=r.match(n.nonAlphaNumericRegex_),o=i.match(n.nonAlphaNumericRegex_),s=a&&r.match(n.whitespaceRegex_),c=o&&i.match(n.whitespaceRegex_),l=s&&r.match(n.linebreakRegex_),u=c&&i.match(n.linebreakRegex_),d=l&&e.match(n.blanklineEndRegex_),f=u&&t.match(n.blanklineStartRegex_);return d||f?5:l||u?4:a&&!s&&c?3:s||c?2:a||o?1:0}for(var r=1;r=p&&(p=m,u=i,d=o,f=s)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=d,f?e[r+1][1]=f:(e.splice(r+1,1),r--))}r++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(e){for(var t=!1,o=[],s=0,c=null,l=0,u=!1,d=!1,f=!1,p=!1;l0?o[s-1]:-1,f=p=!1),t=!0)),l++;t&&this.diff_cleanupMerge(e)},n.prototype.diff_cleanupMerge=function(e){e.push(new n.Diff(a,``));for(var t=0,o=0,s=0,c=``,l=``,u;t1?(o!==0&&s!==0&&(u=this.diff_commonPrefix(l,c),u!==0&&(t-o-s>0&&e[t-o-s-1][0]==a?e[t-o-s-1][1]+=l.substring(0,u):(e.splice(0,0,new n.Diff(a,l.substring(0,u))),t++),l=l.substring(u),c=c.substring(u)),u=this.diff_commonSuffix(l,c),u!==0&&(e[t][1]=l.substring(l.length-u)+e[t][1],l=l.substring(0,l.length-u),c=c.substring(0,c.length-u))),t-=o+s,e.splice(t,o+s),c.length&&(e.splice(t,0,new n.Diff(r,c)),t++),l.length&&(e.splice(t,0,new n.Diff(i,l)),t++),t++):t!==0&&e[t-1][0]==a?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,s=0,o=0,c=``,l=``;break}e[e.length-1][1]===``&&e.pop();var d=!1;for(t=1;tt));c++)o=n,s=a;return e.length!=c&&e[c][0]===r?s:s+(t-o)},n.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,o=//g,c=/\n/g,l=0;l`);switch(u){case i:t[l]=``+d+``;break;case r:t[l]=``+d+``;break;case a:t[l]=``+d+``;break}}return t.join(``)},n.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw Error(`Pattern too long for this browser.`);var r=this.match_alphabet_(t),i=this;function a(e,r){var a=e/t.length,o=Math.abs(n-r);return i.Match_Distance?a+o/i.Match_Distance:o?1:a}var o=this.Match_Threshold,s=e.indexOf(t,n);s!=-1&&(o=Math.min(a(0,s),o),s=e.lastIndexOf(t,n+t.length),s!=-1&&(o=Math.min(a(0,s),o)));var c=1<=m;_--){var v=r[e.charAt(_-1)];if(p===0?g[_]=(g[_+1]<<1|1)&v:g[_]=(g[_+1]<<1|1)&v|(f[_+1]|f[_])<<1|1|f[_+1],g[_]&c){var y=a(p,_-1);if(y<=o)if(o=y,s=_-1,s>n)m=Math.max(1,2*n-s);else break}}if(a(p+1,n)>o)break;f=g}return s},n.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(c),this.diff_cleanupEfficiency(c));else if(e&&typeof e==`object`&&t===void 0&&o===void 0)c=e,s=this.diff_text1(c);else if(typeof e==`string`&&t&&typeof t==`object`&&o===void 0)s=e,c=t;else if(typeof e==`string`&&typeof t==`string`&&o&&typeof o==`object`)s=e,c=o;else throw Error(`Unknown call format to patch_make.`);if(c.length===0)return[];for(var l=[],u=new n.patch_obj,d=0,f=0,p=0,m=s,h=s,g=0;g=2*this.Patch_Margin&&d&&(this.patch_addContext_(u,m),l.push(u),u=new n.patch_obj,d=0,m=h,f=p);break}_!==i&&(f+=v.length),_!==r&&(p+=v.length)}return d&&(this.patch_addContext_(u,m),l.push(u)),l},n.prototype.patch_deepCopy=function(e){for(var t=[],r=0;rthis.Match_MaxBits?(d=this.match_main(t,u.substring(0,this.Match_MaxBits),l),d!=-1&&(f=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits),(f==-1||d>=f)&&(d=-1))):d=this.match_main(t,u,l),d==-1)s[c]=!1,o-=e[c].length2-e[c].length1;else{s[c]=!0,o=d-l;var p=f==-1?t.substring(d,d+u.length):t.substring(d,f+this.Match_MaxBits);if(u==p)t=t.substring(0,d)+this.diff_text2(e[c].diffs)+t.substring(d+u.length);else{var m=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(m)/u.length>this.Patch_DeleteThreshold)s[c]=!1;else{this.diff_cleanupSemanticLossless(m);for(var h=0,g,_=0;_s[0][1].length){var c=t-s[0][1].length;s[0][1]=r.substring(s[0][1].length)+s[0][1],o.start1-=c,o.start2-=c,o.length1+=c,o.length2+=c}if(o=e[e.length-1],s=o.diffs,s.length==0||s[s.length-1][0]!=a)s.push(new n.Diff(a,r)),o.length1+=t,o.length2+=t;else if(t>s[s.length-1][1].length){var c=t-s[s.length-1][1].length;s[s.length-1][1]+=r.substring(0,c),o.length1+=c,o.length2+=c}return r},n.prototype.patch_splitMax=function(e){for(var t=this.Match_MaxBits,o=0;o2*t?(d.length1+=m.length,c+=m.length,f=!1,d.diffs.push(new n.Diff(p,m)),s.diffs.shift()):(m=m.substring(0,t-d.length1-this.Patch_Margin),d.length1+=m.length,c+=m.length,p===a?(d.length2+=m.length,l+=m.length):f=!1,d.diffs.push(new n.Diff(p,m)),m==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(m.length))}u=this.diff_text2(d.diffs),u=u.substring(u.length-this.Patch_Margin);var h=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);h!==``&&(d.length1+=h.length,d.length2+=h.length,d.diffs.length!==0&&d.diffs[d.diffs.length-1][0]===a?d.diffs[d.diffs.length-1][1]+=h:d.diffs.push(new n.Diff(a,h))),f||e.splice(++o,0,d)}}},n.prototype.patch_toText=function(e){for(var t=[],n=0;n`;break;case 2:case 3:t=N` `;break;case 4:case 5:t=N` `;break}return N`${t}`}renderChangeType(e){let t=N``;switch(e.change){case 1:t=N`(MODIFIED)`;break;case 2:case 3:t=N`(ADDED)`;break;case 4:case 5:t=N`(REMOVED)`;break}return N`${t}`}renderBreaking(e){return e?N` - `:N``}},Ro=k` + `:N``}},fs=k` .props { border-top: 1px dashed var(--secondary-color); padding: 5px 0 5px 0; @@ -3674,7 +3727,7 @@ color: var(--secondary-color); } -`,zo=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Bo=class extends F{constructor(){super(),this.height=20,this.animateStripe=!1,this.speed=2,this._lastTime=performance.now(),this._currentOffset=0,this.warn=!1,this.danger=!1}connectedCallback(){super.connectedCallback(),this.colorAlt=`var(--background-color)`,this.colorMain=`var(--primary-color)`,this.warn&&(this.colorMain=`var(--warning-color)`),this.danger&&(this.colorMain=`var(--error-color)`),this.animateStripe&&(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this)))}disconnectedCallback(){super.disconnectedCallback(),this._animationFrameId&&cancelAnimationFrame(this._animationFrameId)}updated(e){e.has(`animateStripe`)&&(this.animateStripe?(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))):this._animationFrameId&&(cancelAnimationFrame(this._animationFrameId),this._animationFrameId=void 0,this._currentOffset=0,this.requestUpdate()))}_updateAnimation(e){let t=e-this._lastTime;this._lastTime=e;let n=40/this.speed;this._currentOffset=(this._currentOffset+t/1e3*n)%40,this.requestUpdate(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))}render(){let e=`rotate(45) translate(${this.animateStripe?this._currentOffset:0} 0)`;return N` +`,ps=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ms=class extends F{constructor(){super(),this.height=20,this.animateStripe=!1,this.speed=2,this._lastTime=performance.now(),this._currentOffset=0,this.warn=!1,this.danger=!1}connectedCallback(){super.connectedCallback(),this.colorAlt=`var(--background-color)`,this.colorMain=`var(--primary-color)`,this.warn&&(this.colorMain=`var(--warning-color)`),this.danger&&(this.colorMain=`var(--error-color)`),this.animateStripe&&(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this)))}disconnectedCallback(){super.disconnectedCallback(),this._animationFrameId&&cancelAnimationFrame(this._animationFrameId)}updated(e){e.has(`animateStripe`)&&(this.animateStripe?(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))):this._animationFrameId&&(cancelAnimationFrame(this._animationFrameId),this._animationFrameId=void 0,this._currentOffset=0,this.requestUpdate()))}_updateAnimation(e){let t=e-this._lastTime;this._lastTime=e;let n=40/this.speed;this._currentOffset=(this._currentOffset+t/1e3*n)%40,this.requestUpdate(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))}render(){let e=`rotate(45) translate(${this.animateStripe?this._currentOffset:0} 0)`;return N` - `}};Bo.styles=k` + `}};ms.styles=k` :host { display: block; width: 100%; @@ -3704,7 +3757,7 @@ svg { display: block; } - `,zo([A({type:Number})],Bo.prototype,`height`,void 0),zo([A({type:Boolean})],Bo.prototype,`animateStripe`,void 0),zo([A({type:Number})],Bo.prototype,`speed`,void 0),zo([A({type:Boolean})],Bo.prototype,`warn`,void 0),zo([A({type:Boolean})],Bo.prototype,`danger`,void 0),Bo=zo([O(`pb33f-warning-stripe`)],Bo);var Vo=k` + `,ps([A({type:Number})],ms.prototype,`height`,void 0),ps([A({type:Boolean})],ms.prototype,`animateStripe`,void 0),ps([A({type:Number})],ms.prototype,`speed`,void 0),ps([A({type:Boolean})],ms.prototype,`warn`,void 0),ps([A({type:Boolean})],ms.prototype,`danger`,void 0),ms=ps([O(`pb33f-warning-stripe`)],ms);var hs=k` :host { display: inline-flex; } @@ -3793,7 +3846,7 @@ box-shadow: 0 0 0 0 transparent; } } -`,Ho=class extends L{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return N` +`,gs=class extends L{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return N` - `}};Ho.styles=[wn,Vo],D([A({reflect:!0})],Ho.prototype,`variant`,2),D([A({type:Boolean,reflect:!0})],Ho.prototype,`pill`,2),D([A({type:Boolean,reflect:!0})],Ho.prototype,`pulse`,2),Ho.define(`sl-badge`);var Uo=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Wo=class extends F{constructor(){super(...arguments),this.iconSize=V.medium}formatLabel(e){return e?e.replace(/([a-z])([A-Z])/g,`$1 $2`).toUpperCase():``}render(){return N` + `}};gs.styles=[wn,hs],D([A({reflect:!0})],gs.prototype,`variant`,2),D([A({type:Boolean,reflect:!0})],gs.prototype,`pill`,2),D([A({type:Boolean,reflect:!0})],gs.prototype,`pulse`,2),gs.define(`sl-badge`);var _s=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},vs=class extends F{constructor(){super(...arguments),this.iconSize=V.medium}formatLabel(e){return e?e.replace(/([a-z])([A-Z])/g,`$1 $2`).toUpperCase():``}render(){return N` ${this.formatLabel(this.icon)} - `}};Wo.styles=k` + `}};vs.styles=k` :host { display: inline-flex; align-items: center; @@ -3825,7 +3878,7 @@ margin-left: 10px; padding-top: 4px; } - `,Uo([A()],Wo.prototype,`icon`,void 0),Uo([A()],Wo.prototype,`iconSize`,void 0),Wo=Uo([O(`pb33f-model-badge`)],Wo);var Go=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ko=class extends Lo{constructor(e){super(),this.diff=new Io.default,this.showDiff=!0,e&&(this.changes=e),this.renderChangeCountBar=!0,this.addPadding=!1,this.renderBreakingBar=!0,this.renderMeta=!1}toggleDiff(){this.showDiff=!this.showDiff}renderChange(e){let t=N``;e.context&&(e.context.originalLine&&e.context.originalLine===e.context.newLine&&(t=N` + `,_s([A()],vs.prototype,`icon`,void 0),_s([A()],vs.prototype,`iconSize`,void 0),vs=_s([O(`pb33f-model-badge`)],vs);var ys=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},bs=class extends ds{constructor(e){super(),this.diff=new us.default,this.showDiff=!0,e&&(this.changes=e),this.renderChangeCountBar=!0,this.addPadding=!1,this.renderBreakingBar=!0,this.renderMeta=!1}toggleDiff(){this.showDiff=!this.showDiff}renderChange(e){let t=N``;e.context&&(e.context.originalLine&&e.context.originalLine===e.context.newLine&&(t=N` ${e.change==1?N` @@ -3993,7 +4046,7 @@ ${e}
${t} -
`}};Ko.styles=[Ro,Yn],Go([A()],Ko.prototype,`changes`,void 0),Go([A({type:Boolean})],Ko.prototype,`addPadding`,void 0),Go([A({type:Boolean})],Ko.prototype,`renderBreakingBar`,void 0),Go([A({type:Boolean})],Ko.prototype,`renderMeta`,void 0),Go([j()],Ko.prototype,`showDiff`,void 0),Go([j()],Ko.prototype,`renderChangeCountBar`,void 0),Ko=Go([O(`pb33f-changes-component`)],Ko);var qo=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Jo=class extends F{constructor(){super(...arguments),this.changes=[],this.panelHidden=!0}_flashTab(){let e=this.shadowRoot?.querySelector(`.collapse-tab`);e&&(e.addEventListener(`animationend`,()=>e.classList.remove(`flashing`),{once:!0}),e.classList.add(`flashing`))}_onCollapseClick(){this._flashTab(),this.dispatchEvent(new CustomEvent(`explorer-change-panel-toggled`,{bubbles:!0,composed:!0,detail:{hidden:!this.panelHidden}}))}render(){return N` +
`}};bs.styles=[fs,Yn],ys([A()],bs.prototype,`changes`,void 0),ys([A({type:Boolean})],bs.prototype,`addPadding`,void 0),ys([A({type:Boolean})],bs.prototype,`renderBreakingBar`,void 0),ys([A({type:Boolean})],bs.prototype,`renderMeta`,void 0),ys([j()],bs.prototype,`showDiff`,void 0),ys([j()],bs.prototype,`renderChangeCountBar`,void 0),bs=ys([O(`pb33f-changes-component`)],bs);var xs=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ss=class extends F{constructor(){super(...arguments),this.changes=[],this.panelHidden=!0}_flashTab(){let e=this.shadowRoot?.querySelector(`.collapse-tab`);e&&(e.addEventListener(`animationend`,()=>e.classList.remove(`flashing`),{once:!0}),e.classList.add(`flashing`))}_onCollapseClick(){this._flashTab(),this.dispatchEvent(new CustomEvent(`explorer-change-panel-toggled`,{bubbles:!0,composed:!0,detail:{hidden:!this.panelHidden}}))}render(){return N`
${this.panelHidden?P:N`
@@ -4017,7 +4070,7 @@
- `}};Jo.styles=[ko],qo([A({type:Array})],Jo.prototype,`changes`,void 0),qo([A({type:Boolean,attribute:`panel-hidden`,reflect:!0})],Jo.prototype,`panelHidden`,void 0),Jo=qo([O(`pb33f-explorer-change-panel`)],Jo);var Yo=k` + `}};Ss.styles=[rs],xs([A({type:Array})],Ss.prototype,`changes`,void 0),xs([A({type:Boolean,attribute:`panel-hidden`,reflect:!0})],Ss.prototype,`panelHidden`,void 0),Ss=xs([O(`pb33f-explorer-change-panel`)],Ss);var Cs=k` :host { display: flex; @@ -4125,7 +4178,7 @@ padding-bottom: 5px; } -`,Xo=k` +`,ws=k` .scroller::-webkit-scrollbar { width: 8px; } @@ -4139,7 +4192,7 @@ background: var(--secondary-color-lowalpha); padding: var(--global-padding); } -`,Zo=k` +`,Ts=k` ::-webkit-scrollbar { width: 8px; height: 8px; @@ -4153,7 +4206,7 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,Qo=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},$o=class extends Lo{constructor(){super()}getChangeValue(e){return e.new?N`${e.property}: +`,Es=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ds=class extends ds{constructor(){super()}getChangeValue(e){return e.new?N`${e.property}: ${e.new.length>100?e.new.slice(0,70)+`...`:e.new}`:e.original?N`${e.property}: ${e.original.length>100?e.original.slice(0,70)+`...`:e.original}`:N`${e.property}`}render(){return N`
@@ -4170,7 +4223,7 @@
${this.renderBreaking(e.breaking)}
${t}
`})} -
`}};$o.styles=[Yo,Xo],Qo([A()],$o.prototype,`changes`,void 0),$o=Qo([O(`pb33f-change-list`)],$o);var es=k` +
`}};Ds.styles=[Cs,ws],Es([A()],Ds.prototype,`changes`,void 0),Ds=Es([O(`pb33f-change-list`)],Ds);var Os=k` :host { display: block; outline: 0; @@ -4322,7 +4375,7 @@ outline: dashed 1px SelectedItem; } } -`,ts=k` +`,ks=k` :host { display: inline-block; } @@ -4440,7 +4493,7 @@ color: var(--sl-input-required-content-color); margin-inline-start: var(--sl-input-required-content-offset); } -`,ns=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new dn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit(`sl-change`)}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return N` +`,As=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new dn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit(`sl-change`)}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return N`
@@ -4498,7 +4551,7 @@ ${this.helpText}
- `}};ns.styles=[wn,en,ts],ns.dependencies={"sl-icon":Fo},D([M(`input[type="checkbox"]`)],ns.prototype,`input`,2),D([j()],ns.prototype,`hasFocus`,2),D([A()],ns.prototype,`title`,2),D([A()],ns.prototype,`name`,2),D([A()],ns.prototype,`value`,2),D([A({reflect:!0})],ns.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],ns.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],ns.prototype,`checked`,2),D([A({type:Boolean,reflect:!0})],ns.prototype,`indeterminate`,2),D([$t(`checked`)],ns.prototype,`defaultChecked`,2),D([A({reflect:!0})],ns.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],ns.prototype,`required`,2),D([A({attribute:`help-text`})],ns.prototype,`helpText`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],ns.prototype,`handleDisabledChange`,1),D([I([`checked`,`indeterminate`],{waitUntilFirstUpdate:!0})],ns.prototype,`handleStateChange`,1);var rs=k` + `}};As.styles=[wn,en,ks],As.dependencies={"sl-icon":ls},D([M(`input[type="checkbox"]`)],As.prototype,`input`,2),D([j()],As.prototype,`hasFocus`,2),D([A()],As.prototype,`title`,2),D([A()],As.prototype,`name`,2),D([A()],As.prototype,`value`,2),D([A({reflect:!0})],As.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],As.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],As.prototype,`checked`,2),D([A({type:Boolean,reflect:!0})],As.prototype,`indeterminate`,2),D([$t(`checked`)],As.prototype,`defaultChecked`,2),D([A({reflect:!0})],As.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],As.prototype,`required`,2),D([A({attribute:`help-text`})],As.prototype,`helpText`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],As.prototype,`handleDisabledChange`,1),D([I([`checked`,`indeterminate`],{waitUntilFirstUpdate:!0})],As.prototype,`handleStateChange`,1);var js=k` :host { --track-width: 2px; --track-color: rgb(128 128 128 / 25%); @@ -4555,12 +4608,12 @@ stroke-dasharray: 0.05em, 3em; } } -`,is=class extends L{constructor(){super(...arguments),this.localize=new Cn(this)}render(){return N` +`,Ms=class extends L{constructor(){super(...arguments),this.localize=new Cn(this)}render(){return N` - `}};is.styles=[wn,rs];var as=new Map,os=new WeakMap;function ss(e){return e??{keyframes:[],options:{duration:0}}}function cs(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function ls(e,t){as.set(e,ss(t))}function us(e,t,n){let r=os.get(e);if(r?.[t])return cs(r[t],n.dir);let i=as.get(t);return i?cs(i,n.dir):{keyframes:[],options:{duration:0}}}function ds(e,t,n){return new Promise(r=>{if(n?.duration===1/0)throw Error(`Promise-based animations must be finite.`);let i=e.animate(t,ie(re({},n),{duration:ps()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function fs(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function ps(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function ms(e){return Promise.all(e.getAnimations().map(e=>new Promise(t=>{e.cancel(),requestAnimationFrame(t)})))}function hs(e,t){return e.map(e=>ie(re({},e),{height:e.height===`auto`?`${t}px`:e.height}))}function gs(e,t,n){return e?t(e):n?.(e)}var _s=class e extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.indeterminate=!1,this.isLeaf=!1,this.loading=!1,this.selectable=!1,this.expanded=!1,this.selected=!1,this.disabled=!1,this.lazy=!1}static isTreeItem(e){return e instanceof Element&&e.getAttribute(`role`)===`treeitem`}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`treeitem`),this.setAttribute(`tabindex`,`-1`),this.isNestedItem()&&(this.slot=`children`)}firstUpdated(){this.childrenContainer.hidden=!this.expanded,this.childrenContainer.style.height=this.expanded?`auto`:`0`,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0,this.handleExpandedChange()}async animateCollapse(){this.emit(`sl-collapse`),await ms(this.childrenContainer);let{keyframes:e,options:t}=us(this,`tree-item.collapse`,{dir:this.localize.dir()});await ds(this.childrenContainer,hs(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.hidden=!0,this.emit(`sl-after-collapse`)}isNestedItem(){let t=this.parentElement;return!!t&&e.isTreeItem(t)}handleChildrenSlotChange(){this.loading=!1,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0}willUpdate(e){e.has(`selected`)&&!e.has(`indeterminate`)&&(this.indeterminate=!1)}async animateExpand(){this.emit(`sl-expand`),await ms(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=us(this,`tree-item.expand`,{dir:this.localize.dir()});await ds(this.childrenContainer,hs(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.style.height=`auto`,this.emit(`sl-after-expand`)}handleLoadingChange(){this.setAttribute(`aria-busy`,this.loading?`true`:`false`),this.loading||this.animateExpand()}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`)}handleSelectedChange(){this.setAttribute(`aria-selected`,this.selected?`true`:`false`)}handleExpandedChange(){this.isLeaf?this.removeAttribute(`aria-expanded`):this.setAttribute(`aria-expanded`,this.expanded?`true`:`false`)}handleExpandAnimation(){this.expanded?this.lazy?(this.loading=!0,this.emit(`sl-lazy-load`)):this.animateExpand():this.animateCollapse()}handleLazyChange(){this.emit(`sl-lazy-change`)}getChildrenItems({includeDisabled:t=!0}={}){return this.childrenSlot?[...this.childrenSlot.assignedElements({flatten:!0})].filter(n=>e.isTreeItem(n)&&(t||!n.disabled)):[]}render(){let e=this.localize.dir()===`rtl`,t=!this.loading&&(!this.isLeaf||this.lazy);return N` + `}};Ms.styles=[wn,js];var Ns=new Map,Ps=new WeakMap;function Fs(e){return e??{keyframes:[],options:{duration:0}}}function Is(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function Ls(e,t){Ns.set(e,Fs(t))}function Rs(e,t,n){let r=Ps.get(e);if(r?.[t])return Is(r[t],n.dir);let i=Ns.get(t);return i?Is(i,n.dir):{keyframes:[],options:{duration:0}}}function zs(e,t,n){return new Promise(r=>{if(n?.duration===1/0)throw Error(`Promise-based animations must be finite.`);let i=e.animate(t,ie(re({},n),{duration:Vs()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function Bs(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function Vs(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Hs(e){return Promise.all(e.getAnimations().map(e=>new Promise(t=>{e.cancel(),requestAnimationFrame(t)})))}function Us(e,t){return e.map(e=>ie(re({},e),{height:e.height===`auto`?`${t}px`:e.height}))}function Ws(e,t,n){return e?t(e):n?.(e)}var Gs=class e extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.indeterminate=!1,this.isLeaf=!1,this.loading=!1,this.selectable=!1,this.expanded=!1,this.selected=!1,this.disabled=!1,this.lazy=!1}static isTreeItem(e){return e instanceof Element&&e.getAttribute(`role`)===`treeitem`}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`treeitem`),this.setAttribute(`tabindex`,`-1`),this.isNestedItem()&&(this.slot=`children`)}firstUpdated(){this.childrenContainer.hidden=!this.expanded,this.childrenContainer.style.height=this.expanded?`auto`:`0`,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0,this.handleExpandedChange()}async animateCollapse(){this.emit(`sl-collapse`),await Hs(this.childrenContainer);let{keyframes:e,options:t}=Rs(this,`tree-item.collapse`,{dir:this.localize.dir()});await zs(this.childrenContainer,Us(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.hidden=!0,this.emit(`sl-after-collapse`)}isNestedItem(){let t=this.parentElement;return!!t&&e.isTreeItem(t)}handleChildrenSlotChange(){this.loading=!1,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0}willUpdate(e){e.has(`selected`)&&!e.has(`indeterminate`)&&(this.indeterminate=!1)}async animateExpand(){this.emit(`sl-expand`),await Hs(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=Rs(this,`tree-item.expand`,{dir:this.localize.dir()});await zs(this.childrenContainer,Us(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.style.height=`auto`,this.emit(`sl-after-expand`)}handleLoadingChange(){this.setAttribute(`aria-busy`,this.loading?`true`:`false`),this.loading||this.animateExpand()}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`)}handleSelectedChange(){this.setAttribute(`aria-selected`,this.selected?`true`:`false`)}handleExpandedChange(){this.isLeaf?this.removeAttribute(`aria-expanded`):this.setAttribute(`aria-expanded`,this.expanded?`true`:`false`)}handleExpandAnimation(){this.expanded?this.lazy?(this.loading=!0,this.emit(`sl-lazy-load`)):this.animateExpand():this.animateCollapse()}handleLazyChange(){this.emit(`sl-lazy-change`)}getChildrenItems({includeDisabled:t=!0}={}){return this.childrenSlot?[...this.childrenSlot.assignedElements({flatten:!0})].filter(n=>e.isTreeItem(n)&&(t||!n.disabled)):[]}render(){let e=this.localize.dir()===`rtl`,t=!this.loading&&(!this.isLeaf||this.lazy);return N` - ${gs(this.selectable,()=>N` + ${Ws(this.selectable,()=>N` - `}};_s.styles=[wn,es],_s.dependencies={"sl-checkbox":ns,"sl-icon":Fo,"sl-spinner":is},D([j()],_s.prototype,`indeterminate`,2),D([j()],_s.prototype,`isLeaf`,2),D([j()],_s.prototype,`loading`,2),D([j()],_s.prototype,`selectable`,2),D([A({type:Boolean,reflect:!0})],_s.prototype,`expanded`,2),D([A({type:Boolean,reflect:!0})],_s.prototype,`selected`,2),D([A({type:Boolean,reflect:!0})],_s.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],_s.prototype,`lazy`,2),D([M(`slot:not([name])`)],_s.prototype,`defaultSlot`,2),D([M(`slot[name=children]`)],_s.prototype,`childrenSlot`,2),D([M(`.tree-item__item`)],_s.prototype,`itemElement`,2),D([M(`.tree-item__children`)],_s.prototype,`childrenContainer`,2),D([M(`.tree-item__expand-button slot`)],_s.prototype,`expandButtonSlot`,2),D([I(`loading`,{waitUntilFirstUpdate:!0})],_s.prototype,`handleLoadingChange`,1),D([I(`disabled`)],_s.prototype,`handleDisabledChange`,1),D([I(`selected`)],_s.prototype,`handleSelectedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],_s.prototype,`handleExpandedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],_s.prototype,`handleExpandAnimation`,1),D([I(`lazy`,{waitUntilFirstUpdate:!0})],_s.prototype,`handleLazyChange`,1);var vs=_s;ls(`tree-item.expand`,{keyframes:[{height:`0`,opacity:`0`,overflow:`hidden`},{height:`auto`,opacity:`1`,overflow:`hidden`}],options:{duration:250,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}}),ls(`tree-item.collapse`,{keyframes:[{height:`auto`,opacity:`1`,overflow:`hidden`},{height:`0`,opacity:`0`,overflow:`hidden`}],options:{duration:200,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}});var ys=k` + `}};Gs.styles=[wn,Os],Gs.dependencies={"sl-checkbox":As,"sl-icon":ls,"sl-spinner":Ms},D([j()],Gs.prototype,`indeterminate`,2),D([j()],Gs.prototype,`isLeaf`,2),D([j()],Gs.prototype,`loading`,2),D([j()],Gs.prototype,`selectable`,2),D([A({type:Boolean,reflect:!0})],Gs.prototype,`expanded`,2),D([A({type:Boolean,reflect:!0})],Gs.prototype,`selected`,2),D([A({type:Boolean,reflect:!0})],Gs.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],Gs.prototype,`lazy`,2),D([M(`slot:not([name])`)],Gs.prototype,`defaultSlot`,2),D([M(`slot[name=children]`)],Gs.prototype,`childrenSlot`,2),D([M(`.tree-item__item`)],Gs.prototype,`itemElement`,2),D([M(`.tree-item__children`)],Gs.prototype,`childrenContainer`,2),D([M(`.tree-item__expand-button slot`)],Gs.prototype,`expandButtonSlot`,2),D([I(`loading`,{waitUntilFirstUpdate:!0})],Gs.prototype,`handleLoadingChange`,1),D([I(`disabled`)],Gs.prototype,`handleDisabledChange`,1),D([I(`selected`)],Gs.prototype,`handleSelectedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],Gs.prototype,`handleExpandedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],Gs.prototype,`handleExpandAnimation`,1),D([I(`lazy`,{waitUntilFirstUpdate:!0})],Gs.prototype,`handleLazyChange`,1);var Ks=Gs;Ls(`tree-item.expand`,{keyframes:[{height:`0`,opacity:`0`,overflow:`hidden`},{height:`auto`,opacity:`1`,overflow:`hidden`}],options:{duration:250,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}}),Ls(`tree-item.collapse`,{keyframes:[{height:`auto`,opacity:`1`,overflow:`hidden`},{height:`0`,opacity:`0`,overflow:`hidden`}],options:{duration:200,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}});var qs=k` :host { /* * These are actually used by tree item, but we define them here so they can more easily be set and all tree items @@ -4638,7 +4691,7 @@ */ font-size: 0; } -`;function bs(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function xs(e,t=!1){function n(e){let t=e.getChildrenItems({includeDisabled:!1});if(t.length){let n=t.every(e=>e.selected),r=t.every(e=>!e.selected&&!e.indeterminate);e.selected=n,e.indeterminate=!n&&!r}}function r(e){let t=e.parentElement;vs.isTreeItem(t)&&(n(t),r(t))}function i(e){for(let n of e.getChildrenItems())n.selected=t?e.selected||n.selected:!n.disabled&&e.selected,i(n);t&&n(e)}i(e),r(e)}var Ss=class extends L{constructor(){super(),this.selection=`single`,this.clickTarget=null,this.localize=new Cn(this),this.initTreeItem=e=>{e.selectable=this.selection===`multiple`,[`expand`,`collapse`].filter(e=>!!this.querySelector(`[slot="${e}-icon"]`)).forEach(t=>{let n=e.querySelector(`[slot="${t}-icon"]`),r=this.getExpandButtonIcon(t);r&&(n===null?e.append(r):n.hasAttribute(`data-default`)&&n.replaceWith(r))})},this.handleTreeChanged=e=>{for(let t of e){let e=[...t.addedNodes].filter(vs.isTreeItem),n=[...t.removedNodes].filter(vs.isTreeItem);e.forEach(this.initTreeItem),this.lastFocusedItem&&n.includes(this.lastFocusedItem)&&(this.lastFocusedItem=null)}},this.handleFocusOut=e=>{let t=e.relatedTarget;(!t||!this.contains(t))&&(this.tabIndex=0)},this.handleFocusIn=e=>{let t=e.target;e.target===this&&this.focusItem(this.lastFocusedItem||this.getAllTreeItems()[0]),vs.isTreeItem(t)&&!t.disabled&&(this.lastFocusedItem&&(this.lastFocusedItem.tabIndex=-1),this.lastFocusedItem=t,this.tabIndex=-1,t.tabIndex=0)},this.addEventListener(`focusin`,this.handleFocusIn),this.addEventListener(`focusout`,this.handleFocusOut),this.addEventListener(`sl-lazy-change`,this.handleSlotChange)}async connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tree`),this.setAttribute(`tabindex`,`0`),await this.updateComplete,this.mutationObserver=new MutationObserver(this.handleTreeChanged),this.mutationObserver.observe(this,{childList:!0,subtree:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect()}getExpandButtonIcon(e){let t=(e===`expand`?this.expandedIconSlot:this.collapsedIconSlot).assignedElements({flatten:!0})[0];if(t){let n=t.cloneNode(!0);return[n,...n.querySelectorAll(`[id]`)].forEach(e=>e.removeAttribute(`id`)),n.setAttribute(`data-default`,``),n.slot=`${e}-icon`,n}return null}selectItem(e){let t=[...this.selectedItems];if(this.selection===`multiple`)e.selected=!e.selected,e.lazy&&(e.expanded=!0),xs(e);else if(this.selection===`single`||e.isLeaf){let t=this.getAllTreeItems();for(let n of t)n.selected=n===e}else this.selection===`leaf`&&(e.expanded=!e.expanded);let n=this.selectedItems;(t.length!==n.length||n.some(e=>!t.includes(e)))&&Promise.all(n.map(e=>e.updateComplete)).then(()=>{this.emit(`sl-selection-change`,{detail:{selection:n}})})}getAllTreeItems(){return[...this.querySelectorAll(`sl-tree-item`)]}focusItem(e){e?.focus()}handleKeyDown(e){if(![`ArrowDown`,`ArrowUp`,`ArrowRight`,`ArrowLeft`,`Home`,`End`,`Enter`,` `].includes(e.key)||e.composedPath().some(e=>[`input`,`textarea`].includes((e?.tagName)?.toLowerCase())))return;let t=this.getFocusableItems(),n=this.localize.dir()===`ltr`,r=this.localize.dir()===`rtl`;if(t.length>0){e.preventDefault();let i=t.findIndex(e=>e.matches(`:focus`)),a=t[i],o=e=>{let n=t[bs(e,0,t.length-1)];this.focusItem(n)},s=e=>{a.expanded=e};e.key===`ArrowDown`?o(i+1):e.key===`ArrowUp`?o(i-1):n&&e.key===`ArrowRight`||r&&e.key===`ArrowLeft`?!a||a.disabled||a.expanded||a.isLeaf&&!a.lazy?o(i+1):s(!0):n&&e.key===`ArrowLeft`||r&&e.key===`ArrowRight`?!a||a.disabled||a.isLeaf||!a.expanded?o(i-1):s(!1):e.key===`Home`?o(0):e.key===`End`?o(t.length-1):(e.key===`Enter`||e.key===` `)&&(a.disabled||this.selectItem(a))}}handleClick(e){let t=e.target,n=t.closest(`sl-tree-item`),r=e.composedPath().some(e=>(e?.classList)?.contains(`tree-item__expand-button`));!n||n.disabled||t!==this.clickTarget||(r?n.expanded=!n.expanded:this.selectItem(n))}handleMouseDown(e){this.clickTarget=e.target}handleSlotChange(){this.getAllTreeItems().forEach(this.initTreeItem)}async handleSelectionChange(){let e=this.selection===`multiple`,t=this.getAllTreeItems();this.setAttribute(`aria-multiselectable`,e?`true`:`false`);for(let n of t)n.selectable=e;e&&(await this.updateComplete,[...this.querySelectorAll(`:scope > sl-tree-item`)].forEach(e=>xs(e,!0)))}get selectedItems(){return this.getAllTreeItems().filter(e=>e.selected)}getFocusableItems(){let e=this.getAllTreeItems(),t=new Set;return e.filter(e=>{if(e.disabled)return!1;let n=e.parentElement?.closest(`[role=treeitem]`);return n&&(!n.expanded||n.loading||t.has(n))&&t.add(e),!t.has(e)})}render(){return N` +`;function Js(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function Ys(e,t=!1){function n(e){let t=e.getChildrenItems({includeDisabled:!1});if(t.length){let n=t.every(e=>e.selected),r=t.every(e=>!e.selected&&!e.indeterminate);e.selected=n,e.indeterminate=!n&&!r}}function r(e){let t=e.parentElement;Ks.isTreeItem(t)&&(n(t),r(t))}function i(e){for(let n of e.getChildrenItems())n.selected=t?e.selected||n.selected:!n.disabled&&e.selected,i(n);t&&n(e)}i(e),r(e)}var Xs=class extends L{constructor(){super(),this.selection=`single`,this.clickTarget=null,this.localize=new Cn(this),this.initTreeItem=e=>{e.selectable=this.selection===`multiple`,[`expand`,`collapse`].filter(e=>!!this.querySelector(`[slot="${e}-icon"]`)).forEach(t=>{let n=e.querySelector(`[slot="${t}-icon"]`),r=this.getExpandButtonIcon(t);r&&(n===null?e.append(r):n.hasAttribute(`data-default`)&&n.replaceWith(r))})},this.handleTreeChanged=e=>{for(let t of e){let e=[...t.addedNodes].filter(Ks.isTreeItem),n=[...t.removedNodes].filter(Ks.isTreeItem);e.forEach(this.initTreeItem),this.lastFocusedItem&&n.includes(this.lastFocusedItem)&&(this.lastFocusedItem=null)}},this.handleFocusOut=e=>{let t=e.relatedTarget;(!t||!this.contains(t))&&(this.tabIndex=0)},this.handleFocusIn=e=>{let t=e.target;e.target===this&&this.focusItem(this.lastFocusedItem||this.getAllTreeItems()[0]),Ks.isTreeItem(t)&&!t.disabled&&(this.lastFocusedItem&&(this.lastFocusedItem.tabIndex=-1),this.lastFocusedItem=t,this.tabIndex=-1,t.tabIndex=0)},this.addEventListener(`focusin`,this.handleFocusIn),this.addEventListener(`focusout`,this.handleFocusOut),this.addEventListener(`sl-lazy-change`,this.handleSlotChange)}async connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tree`),this.setAttribute(`tabindex`,`0`),await this.updateComplete,this.mutationObserver=new MutationObserver(this.handleTreeChanged),this.mutationObserver.observe(this,{childList:!0,subtree:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect()}getExpandButtonIcon(e){let t=(e===`expand`?this.expandedIconSlot:this.collapsedIconSlot).assignedElements({flatten:!0})[0];if(t){let n=t.cloneNode(!0);return[n,...n.querySelectorAll(`[id]`)].forEach(e=>e.removeAttribute(`id`)),n.setAttribute(`data-default`,``),n.slot=`${e}-icon`,n}return null}selectItem(e){let t=[...this.selectedItems];if(this.selection===`multiple`)e.selected=!e.selected,e.lazy&&(e.expanded=!0),Ys(e);else if(this.selection===`single`||e.isLeaf){let t=this.getAllTreeItems();for(let n of t)n.selected=n===e}else this.selection===`leaf`&&(e.expanded=!e.expanded);let n=this.selectedItems;(t.length!==n.length||n.some(e=>!t.includes(e)))&&Promise.all(n.map(e=>e.updateComplete)).then(()=>{this.emit(`sl-selection-change`,{detail:{selection:n}})})}getAllTreeItems(){return[...this.querySelectorAll(`sl-tree-item`)]}focusItem(e){e?.focus()}handleKeyDown(e){if(![`ArrowDown`,`ArrowUp`,`ArrowRight`,`ArrowLeft`,`Home`,`End`,`Enter`,` `].includes(e.key)||e.composedPath().some(e=>[`input`,`textarea`].includes((e?.tagName)?.toLowerCase())))return;let t=this.getFocusableItems(),n=this.localize.dir()===`ltr`,r=this.localize.dir()===`rtl`;if(t.length>0){e.preventDefault();let i=t.findIndex(e=>e.matches(`:focus`)),a=t[i],o=e=>{let n=t[Js(e,0,t.length-1)];this.focusItem(n)},s=e=>{a.expanded=e};e.key===`ArrowDown`?o(i+1):e.key===`ArrowUp`?o(i-1):n&&e.key===`ArrowRight`||r&&e.key===`ArrowLeft`?!a||a.disabled||a.expanded||a.isLeaf&&!a.lazy?o(i+1):s(!0):n&&e.key===`ArrowLeft`||r&&e.key===`ArrowRight`?!a||a.disabled||a.isLeaf||!a.expanded?o(i-1):s(!1):e.key===`Home`?o(0):e.key===`End`?o(t.length-1):(e.key===`Enter`||e.key===` `)&&(a.disabled||this.selectItem(a))}}handleClick(e){let t=e.target,n=t.closest(`sl-tree-item`),r=e.composedPath().some(e=>(e?.classList)?.contains(`tree-item__expand-button`));!n||n.disabled||t!==this.clickTarget||(r?n.expanded=!n.expanded:this.selectItem(n))}handleMouseDown(e){this.clickTarget=e.target}handleSlotChange(){this.getAllTreeItems().forEach(this.initTreeItem)}async handleSelectionChange(){let e=this.selection===`multiple`,t=this.getAllTreeItems();this.setAttribute(`aria-multiselectable`,e?`true`:`false`);for(let n of t)n.selectable=e;e&&(await this.updateComplete,[...this.querySelectorAll(`:scope > sl-tree-item`)].forEach(e=>Ys(e,!0)))}get selectedItems(){return this.getAllTreeItems().filter(e=>e.selected)}getFocusableItems(){let e=this.getAllTreeItems(),t=new Set;return e.filter(e=>{if(e.disabled)return!1;let n=e.parentElement?.closest(`[role=treeitem]`);return n&&(!n.expanded||n.loading||t.has(n))&&t.add(e),!t.has(e)})}render(){return N` - `}};Ss.styles=[wn,ys],D([M(`slot:not([name])`)],Ss.prototype,`defaultSlot`,2),D([M(`slot[name=expand-icon]`)],Ss.prototype,`expandedIconSlot`,2),D([M(`slot[name=collapse-icon]`)],Ss.prototype,`collapsedIconSlot`,2),D([A()],Ss.prototype,`selection`,2),D([I(`selection`)],Ss.prototype,`handleSelectionChange`,1),Ss.define(`sl-tree`),vs.define(`sl-tree-item`);var Cs=k` + `}};Xs.styles=[wn,qs],D([M(`slot:not([name])`)],Xs.prototype,`defaultSlot`,2),D([M(`slot[name=expand-icon]`)],Xs.prototype,`expandedIconSlot`,2),D([M(`slot[name=collapse-icon]`)],Xs.prototype,`collapsedIconSlot`,2),D([A()],Xs.prototype,`selection`,2),D([I(`selection`)],Xs.prototype,`handleSelectionChange`,1),Xs.define(`sl-tree`),Ks.define(`sl-tree-item`);var Zs=k` sl-tree { --indent-guide-width: 1px; --indent-guide-color: var(--secondary-color); @@ -4757,7 +4810,7 @@ sl-tree-item.no-changes[selected]::part(expand-button) { opacity: 1; } -`,ws={[B.DOCUMENT]:{showOnLeaf:!0,showOnBranch:!0},[B.PATHS]:{showOnLeaf:!0,showOnBranch:!0},[B.COMPONENTS]:{showOnLeaf:!0,showOnBranch:!0},[B.INFO]:{showOnLeaf:!0,showOnBranch:!0},[B.CONTACT]:{showOnLeaf:!0,showOnBranch:!0},[B.LICENSE]:{showOnLeaf:!0,showOnBranch:!0},[B.SERVERS]:{showOnLeaf:!0,showOnBranch:!0},[B.SERVER]:{showOnLeaf:!0,showOnBranch:!0},[B.TAGS]:{showOnLeaf:!0,showOnBranch:!0},[B.TAG]:{showOnLeaf:!0,showOnBranch:!0},[B.SECURITY_SCHEMES]:{showOnLeaf:!0,showOnBranch:!0},[B.SECURITY_SCHEME]:{showOnLeaf:!0,showOnBranch:!0},[B.WEBHOOKS]:{showOnLeaf:!0,showOnBranch:!0},[B.WEBHOOK]:{showOnLeaf:!0,showOnBranch:!0},[B.EXTERNAL_DOCS]:{showOnLeaf:!0,showOnBranch:!0},[B.EXAMPLE]:{showOnLeaf:!0,showOnBranch:!0},[B.EXAMPLES]:{showOnLeaf:!0,showOnBranch:!0},[B.LINK]:{showOnLeaf:!0,showOnBranch:!0},[B.LINKS]:{showOnLeaf:!0,showOnBranch:!0},[B.CALLBACK]:{showOnLeaf:!0,showOnBranch:!0},[B.CALLBACKS]:{showOnLeaf:!0,showOnBranch:!0},[B.EXTENSIONS]:{showOnLeaf:!0,showOnBranch:!0},[B.EXTENSION]:{showOnLeaf:!0,showOnBranch:!0},[B.ROLODEX_FILE]:{showOnLeaf:!0,showOnBranch:!0},[B.ROLODEX_FOLDER]:{showOnLeaf:!0,showOnBranch:!0},[B.SECURITY]:{showOnLeaf:!0,showOnBranch:!0},[B.PARAMETERS]:{showOnLeaf:!0,showOnBranch:!0},[B.HEADERS]:{showOnLeaf:!0,showOnBranch:!0},[B.RESPONSES]:{showOnLeaf:!0,showOnBranch:!0},[B.REQUEST_BODIES]:{showOnLeaf:!0,showOnBranch:!0},[B.REQUEST_BODY]:{showOnLeaf:!0,showOnBranch:!0},[B.PATH_ITEMS]:{showOnLeaf:!0,showOnBranch:!0},[B.SCHEMAS]:{showOnLeaf:!0,showOnBranch:!0}};function Ts(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}var Es=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ds,Os=new Set([B.DOCUMENT,B.INFO,B.CONTACT,B.LICENSE,B.TAGS,B.SERVERS,B.PATHS,B.COMPONENTS,B.SECURITY_SCHEMES,B.WEBHOOKS,B.SCHEMAS,B.PARAMETERS,B.HEADERS,B.RESPONSES,B.REQUEST_BODIES,B.CALLBACKS,B.LINKS,B.EXAMPLES,B.EXTENSIONS,B.PATH_ITEMS,B.EXTERNAL_DOCS,B.SECURITY,B.OPERATIONS,B.ROLODEX_FOLDER]),ks=Ds=class extends F{static renderFileIcon(e,t){return N``}constructor(){super(),this.iconConfig=ws,this.isBundled=!1,this._childRenderLimit=50,this.selectedNodes=[],this.isRolodex=!1,this.filteredNodes=new Map,this.pendingNavigationId=``,this.pendingNavigationPath=``,this.nodesWithChanges=new Map,this.expand=!1,this.expandedNodes=new Map,this.changesEnabled=!1,this.treeChanged=!1,this.childrenRendered=new Set,this.showAllChildren=new Set}disconnectedCallback(){super.disconnectedCallback(),this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout)}showMoreChildren(e){this.showAllChildren.add(e),this.requestUpdate()}nodeClicked(e,t=[],n){this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:e,changes:t,source:n}}))}rolodexClicked(e,t=``,n=[]){this.dispatchEvent(new CustomEvent(jn,{bubbles:!0,composed:!0,detail:{nodeId:e,path:t,changes:n}}))}openNode(e){if(this.nodeMap.get(e)){let t=this.nodeMap.get(e);t&&(this.expandedNodes.set(t.id,t),this.childrenRendered.add(t.id),this.openNode(t.parentId),this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(t.id)}`)[0]?.setAttribute(`expanded`,`true`)),this.requestUpdate();return}else{let t=this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(e)}`)[0];if(t){t.setAttribute(`expanded`,`true`),this.childrenRendered.add(e);let n=t.getAttribute(`data-parentid`);n&&this.openNode(n),this.requestUpdate();return}}}willUpdate(e){(e.has(`node`)||e.has(`nodeMap`))&&(this.childrenRendered.clear(),this.expandedNodes.forEach((e,t)=>{this.childrenRendered.add(t)}),this.showAllChildren.clear())}updated(){if(this.pendingNavigationId!=``&&this.explorerClicked(this.pendingNavigationId),this.pendingNavigationPath&&this.pendingNavigationPath!=``){let e=this.pendingNavigationPath;this.openNodeByPath(e)}}openNodeByPath(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);if(n){let r=null;for(let t=0;t{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})}),t&&this.isRolodex)){let t=r.id.replace(`model-`,``);(this.currentId!==t||this.currentPath!==e)&&(this.currentId=t,this.currentPath=e,this.selectedNodes=[r],this.rolodexClicked(t,e,[]))}}}explorerClicked(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);n?this.pendingNavigationId!=``&&(e=this.pendingNavigationId,this.pendingNavigationId=``):this.pendingNavigationId=e;let r=null;for(let t=0;t{this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout),this.pendingExplorerTimeout=window.setTimeout(()=>{let n=this.renderRoot?.querySelector(`sl-tree-item#model-${CSS.escape(e)}`);n&&(n.selected=!0,t&&n.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`}))},50)});return}}r&&t&&requestAnimationFrame(()=>{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})})}collapse(e,t){e.stopPropagation(),t.treeExpanded=!1,this.expandedNodes.delete(t.id)}expanded(e,t){e.stopPropagation(),t.treeExpanded=!0,this.expandedNodes.set(t.id,t),this.childrenRendered.has(t.id)||(this.childrenRendered.add(t.id),this.requestUpdate())}renderLabel(e,t=!1){if(t)return N`${e.label}`;switch(e.type){case B.ROLODEX_FILE:return N`${e.label}`;case B.RESPONSE:return N`${e.label}`;case B.OPERATION:let t=e.instance?.operationId;return N` +`,Qs={[B.DOCUMENT]:{showOnLeaf:!0,showOnBranch:!0},[B.PATHS]:{showOnLeaf:!0,showOnBranch:!0},[B.COMPONENTS]:{showOnLeaf:!0,showOnBranch:!0},[B.INFO]:{showOnLeaf:!0,showOnBranch:!0},[B.CONTACT]:{showOnLeaf:!0,showOnBranch:!0},[B.LICENSE]:{showOnLeaf:!0,showOnBranch:!0},[B.SERVERS]:{showOnLeaf:!0,showOnBranch:!0},[B.SERVER]:{showOnLeaf:!0,showOnBranch:!0},[B.TAGS]:{showOnLeaf:!0,showOnBranch:!0},[B.TAG]:{showOnLeaf:!0,showOnBranch:!0},[B.SECURITY_SCHEMES]:{showOnLeaf:!0,showOnBranch:!0},[B.SECURITY_SCHEME]:{showOnLeaf:!0,showOnBranch:!0},[B.WEBHOOKS]:{showOnLeaf:!0,showOnBranch:!0},[B.WEBHOOK]:{showOnLeaf:!0,showOnBranch:!0},[B.EXTERNAL_DOCS]:{showOnLeaf:!0,showOnBranch:!0},[B.EXAMPLE]:{showOnLeaf:!0,showOnBranch:!0},[B.EXAMPLES]:{showOnLeaf:!0,showOnBranch:!0},[B.LINK]:{showOnLeaf:!0,showOnBranch:!0},[B.LINKS]:{showOnLeaf:!0,showOnBranch:!0},[B.CALLBACK]:{showOnLeaf:!0,showOnBranch:!0},[B.CALLBACKS]:{showOnLeaf:!0,showOnBranch:!0},[B.EXTENSIONS]:{showOnLeaf:!0,showOnBranch:!0},[B.EXTENSION]:{showOnLeaf:!0,showOnBranch:!0},[B.ROLODEX_FILE]:{showOnLeaf:!0,showOnBranch:!0},[B.ROLODEX_FOLDER]:{showOnLeaf:!0,showOnBranch:!0},[B.SECURITY]:{showOnLeaf:!0,showOnBranch:!0},[B.PARAMETERS]:{showOnLeaf:!0,showOnBranch:!0},[B.HEADERS]:{showOnLeaf:!0,showOnBranch:!0},[B.RESPONSES]:{showOnLeaf:!0,showOnBranch:!0},[B.REQUEST_BODIES]:{showOnLeaf:!0,showOnBranch:!0},[B.REQUEST_BODY]:{showOnLeaf:!0,showOnBranch:!0},[B.PATH_ITEMS]:{showOnLeaf:!0,showOnBranch:!0},[B.SCHEMAS]:{showOnLeaf:!0,showOnBranch:!0}};function $s(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}var ec=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},tc,nc=new Set([B.DOCUMENT,B.INFO,B.CONTACT,B.LICENSE,B.TAGS,B.SERVERS,B.PATHS,B.COMPONENTS,B.SECURITY_SCHEMES,B.WEBHOOKS,B.SCHEMAS,B.PARAMETERS,B.HEADERS,B.RESPONSES,B.REQUEST_BODIES,B.CALLBACKS,B.LINKS,B.EXAMPLES,B.EXTENSIONS,B.PATH_ITEMS,B.EXTERNAL_DOCS,B.SECURITY,B.OPERATIONS,B.ROLODEX_FOLDER]),rc=tc=class extends F{static renderFileIcon(e,t){return N``}constructor(){super(),this.iconConfig=Qs,this.isBundled=!1,this._childRenderLimit=50,this.selectedNodes=[],this.isRolodex=!1,this.filteredNodes=new Map,this.pendingNavigationId=``,this.pendingNavigationPath=``,this.nodesWithChanges=new Map,this.expand=!1,this.expandedNodes=new Map,this.changesEnabled=!1,this.treeChanged=!1,this.childrenRendered=new Set,this.showAllChildren=new Set}disconnectedCallback(){super.disconnectedCallback(),this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout)}showMoreChildren(e){this.showAllChildren.add(e),this.requestUpdate()}nodeClicked(e,t=[],n){this.dispatchEvent(new CustomEvent(An,{bubbles:!0,composed:!0,detail:{nodeId:e,changes:t,source:n}}))}rolodexClicked(e,t=``,n=[]){this.dispatchEvent(new CustomEvent(jn,{bubbles:!0,composed:!0,detail:{nodeId:e,path:t,changes:n}}))}openNode(e){if(this.nodeMap.get(e)){let t=this.nodeMap.get(e);t&&(this.expandedNodes.set(t.id,t),this.childrenRendered.add(t.id),this.openNode(t.parentId),this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(t.id)}`)[0]?.setAttribute(`expanded`,`true`)),this.requestUpdate();return}else{let t=this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(e)}`)[0];if(t){t.setAttribute(`expanded`,`true`),this.childrenRendered.add(e);let n=t.getAttribute(`data-parentid`);n&&this.openNode(n),this.requestUpdate();return}}}willUpdate(e){(e.has(`node`)||e.has(`nodeMap`))&&(this.childrenRendered.clear(),this.expandedNodes.forEach((e,t)=>{this.childrenRendered.add(t)}),this.showAllChildren.clear())}updated(){if(this.pendingNavigationId!=``&&this.explorerClicked(this.pendingNavigationId),this.pendingNavigationPath&&this.pendingNavigationPath!=``){let e=this.pendingNavigationPath;this.openNodeByPath(e)}}openNodeByPath(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);if(n){let r=null;for(let t=0;t{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})}),t&&this.isRolodex)){let t=r.id.replace(`model-`,``);(this.currentId!==t||this.currentPath!==e)&&(this.currentId=t,this.currentPath=e,this.selectedNodes=[r],this.rolodexClicked(t,e,[]))}}}explorerClicked(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);n?this.pendingNavigationId!=``&&(e=this.pendingNavigationId,this.pendingNavigationId=``):this.pendingNavigationId=e;let r=null;for(let t=0;t{this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout),this.pendingExplorerTimeout=window.setTimeout(()=>{let n=this.renderRoot?.querySelector(`sl-tree-item#model-${CSS.escape(e)}`);n&&(n.selected=!0,t&&n.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`}))},50)});return}}r&&t&&requestAnimationFrame(()=>{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})})}collapse(e,t){e.stopPropagation(),t.treeExpanded=!1,this.expandedNodes.delete(t.id)}expanded(e,t){e.stopPropagation(),t.treeExpanded=!0,this.expandedNodes.set(t.id,t),this.childrenRendered.has(t.id)||(this.childrenRendered.add(t.id),this.requestUpdate())}renderLabel(e,t=!1){if(t)return N`${e.label}`;switch(e.type){case B.ROLODEX_FILE:return N`${e.label}`;case B.RESPONSE:return N`${e.label}`;case B.OPERATION:let t=e.instance?.operationId;return N` ${t?N`${t}`:``}`;case B.PATH_ITEM:return N` `;default:return N`${e.label}`}}buildTree(e,t){let n=[],r=e.label?.toLowerCase()===`document`,i=r||this.expand||this.childrenRendered.has(e.id);if(e.nodes&&i){let r=[];for(let t=0;t0){if(e.type===B.PATH_ITEM){let e=r.filter(e=>e.type===B.OPERATION),t=r.filter(e=>e.type===B.PARAMETER||e.type===B.PARAMETERS),n=r.filter(e=>e.type!==B.OPERATION&&e.type!==B.PARAMETER&&e.type!==B.PARAMETERS);r=t.concat(e).concat(n)}else r.sort((e,t)=>e.keyLine-t.keyLine);let i=this.showAllChildren.has(e.id),a=i?r.length:this._childRenderLimit,o=Math.min(r.length,a);for(let e=0;ethis._childRenderLimit){let t=r.length-this._childRenderLimit;n.push(N` @@ -4768,10 +4821,10 @@ `)}}}let a=e.treeExpanded;e.label.toLowerCase()==`document`&&(a=!0),this.expandedNodes&&this.expandedNodes.get(e.id)&&(a=!0);let o=H.primary,s=this.filteredNodes.size>0&&!this.filteredNodes.get(e.id);if(e.type===B.RESPONSE)switch(Ka(parseInt(e.label))){case`http400`:o=H.warning;break;case`http500`:o=H.error;break;default:o=H.font;break}e.type===B.ROLODEX_FILE&&(o=H.secondary),s&&(o=H.filtered);let c=N``,l=N``,u=N``,d=!1,f=this.nodeMap.get(e.id);if(f){let e=Zt(f,this.violationMap);e.warnings>0&&(c=N` ${e.warnings}`),e.errors>0&&(l=N` - ${e.errors}`),d=e.warnings>0||e.errors>0}e.label?.toLowerCase()===`document`&&this.isBundled&&(u=N`BUNDLED`);let p=!e.nodes||e.nodes.length===0,m=Ts(e.type,p,d,this.iconConfig),h=m?N` + ${e.errors}`),d=e.warnings>0||e.errors>0}e.label?.toLowerCase()===`document`&&this.isBundled&&(u=N`BUNDLED`);let p=!e.nodes||e.nodes.length===0,m=$s(e.type,p,d,this.iconConfig),h=m?N` `:N``;if(m&&e.openapi)h=N` `;else if(m&&!e.label.endsWith(`.json`)&&!e.label.endsWith(`.yaml`)&&!e.label.endsWith(`.yml`)&&e.label.includes(`.`)){let t=e.label.split(`.`).pop();if(t){let e=Ds.ICON_TYPE_MAP[t];e&&(h=Ds.renderFileIcon(e,o))}}let g=N``,_=e.timeline&&e.timeline.length>0;if(_){this.nodesWithChanges.set(e.id,e);let{additions:t,removals:n,modifications:r,breaking:i}=Xt(e.timeline);g=N`${i>0?N` `:N``} + color=${o}>`;else if(m&&!e.label.endsWith(`.json`)&&!e.label.endsWith(`.yaml`)&&!e.label.endsWith(`.yml`)&&e.label.includes(`.`)){let t=e.label.split(`.`).pop();if(t){let e=tc.ICON_TYPE_MAP[t];e&&(h=tc.renderFileIcon(e,o))}}let g=N``,_=e.timeline&&e.timeline.length>0;if(_){this.nodesWithChanges.set(e.id,e);let{additions:t,removals:n,modifications:r,breaking:i}=Xt(e.timeline);g=N`${i>0?N` `:N``} ${t>0?N` ${t>1?N`${t}`:N``} @@ -4798,7 +4851,7 @@ data-path="${e.path?e.path:e.nodePath}">
${h} -
+
${s?N`${this.renderLabel(e,s)} @@ -4814,15 +4867,15 @@ ${e} - `}};ks.styles=[Cs,Yi,Yn],ks.ICON_TYPE_MAP={[B.JS]:B.JS,[B.GO]:B.GO,[B.TS]:B.TS,[B.CS]:B.CS,[B.C]:B.C,[B.CPP]:B.CPP,[B.PHP]:B.PHP,[B.PY]:B.PY,[B.HTML]:B.HTML,[B.MD]:B.MD,[B.JAVA]:B.JAVA,[B.RS]:B.RS,[B.ZIG]:B.ZIG,[B.RB]:B.RB},Es([A()],ks.prototype,`node`,void 0),Es([A()],ks.prototype,`filteredNodes`,void 0),Es([A({type:Boolean})],ks.prototype,`expand`,void 0),Es([A({type:Boolean})],ks.prototype,`changesEnabled`,void 0),Es([A()],ks.prototype,`isRolodex`,void 0),Es([A()],ks.prototype,`nodeMap`,void 0),Es([A()],ks.prototype,`violationMap`,void 0),Es([A({type:Object})],ks.prototype,`iconConfig`,void 0),Es([A({type:Boolean})],ks.prototype,`isBundled`,void 0),ks=Ds=Es([O(`pb33f-model-tree`)],ks);function As(e){return e+.5|0}var js=(e,t,n)=>Math.max(Math.min(e,n),t);function Ms(e){return js(As(e*2.55),0,255)}function Ns(e){return js(As(e*255),0,255)}function Ps(e){return js(As(e/2.55)/100,0,1)}function Fs(e){return js(As(e*100),0,100)}var Is={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ls=[...`0123456789ABCDEF`],Rs=e=>Ls[e&15],zs=e=>Ls[(e&240)>>4]+Ls[e&15],Bs=e=>(e&240)>>4==(e&15),Vs=e=>Bs(e.r)&&Bs(e.g)&&Bs(e.b)&&Bs(e.a);function Hs(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&Is[e[1]]*17,g:255&Is[e[2]]*17,b:255&Is[e[3]]*17,a:t===5?Is[e[4]]*17:255}:(t===7||t===9)&&(n={r:Is[e[1]]<<4|Is[e[2]],g:Is[e[3]]<<4|Is[e[4]],b:Is[e[5]]<<4|Is[e[6]],a:t===9?Is[e[7]]<<4|Is[e[8]]:255})),n}var Us=(e,t)=>e<255?t(e):``;function Ws(e){var t=Vs(e)?Rs:zs;return e?`#`+t(e.r)+t(e.g)+t(e.b)+Us(e.a,t):void 0}var Gs=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ks(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function qs(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Js(e,t,n){let r=Ks(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Ys(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Ys(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Zs(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Ns)}function Qs(e,t,n){return Zs(Ks,e,t,n)}function $s(e,t,n){return Zs(Js,e,t,n)}function ec(e,t,n){return Zs(qs,e,t,n)}function tc(e){return(e%360+360)%360}function nc(e){let t=Gs.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?Ms(+t[5]):Ns(+t[5]));let i=tc(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?$s(i,a,o):t[1]===`hsv`?ec(i,a,o):Qs(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function rc(e,t){var n=Xs(e);n[0]=tc(n[0]+t),n=Qs(n),e.r=n[0],e.g=n[1],e.b=n[2]}function ic(e){if(!e)return;let t=Xs(e),n=t[0],r=Fs(t[1]),i=Fs(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${Ps(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var ac={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`},oc={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function sc(){let e={},t=Object.keys(oc),n=Object.keys(ac),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var cc;function lc(e){cc||(cc=sc(),cc.transparent=[0,0,0,0]);let t=cc[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var uc=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function dc(e){let t=uc.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?Ms(e):js(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?Ms(r):js(r,0,255)),i=255&(t[4]?Ms(i):js(i,0,255)),a=255&(t[6]?Ms(a):js(a,0,255)),{r,g:i,b:a,a:n}}}function fc(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Ps(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var pc=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,mc=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function hc(e,t,n){let r=mc(Ps(e.r)),i=mc(Ps(e.g)),a=mc(Ps(e.b));return{r:Ns(pc(r+n*(mc(Ps(t.r))-r))),g:Ns(pc(i+n*(mc(Ps(t.g))-i))),b:Ns(pc(a+n*(mc(Ps(t.b))-a))),a:e.a+n*(t.a-e.a)}}function gc(e,t,n){if(e){let r=Xs(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Qs(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function _c(e,t){return e&&Object.assign(t||{},e)}function vc(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ns(e[3]))):(t=_c(e,{r:0,g:0,b:0,a:1}),t.a=Ns(t.a)),t}function yc(e){return e.charAt(0)===`r`?dc(e):nc(e)}var bc=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=vc(t):n===`string`&&(r=Hs(t)||lc(t)||yc(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=_c(this._rgb);return e&&(e.a=Ps(e.a)),e}set rgb(e){this._rgb=vc(e)}rgbString(){return this._valid?fc(this._rgb):void 0}hexString(){return this._valid?Ws(this._rgb):void 0}hslString(){return this._valid?ic(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=hc(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=Ns(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=As(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return gc(this._rgb,2,e),this}darken(e){return gc(this._rgb,2,-e),this}saturate(e){return gc(this._rgb,1,e),this}desaturate(e){return gc(this._rgb,1,-e),this}rotate(e){return rc(this._rgb,e),this}};function xc(){}var Sc=(()=>{let e=0;return()=>e++})();function W(e){return e==null}function G(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function K(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function Cc(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function wc(e,t){return Cc(e)?e:t}function q(e,t){return e===void 0?t:e}var Tc=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,Ec=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function J(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function Y(e,t,n,r){let i,a,o;if(G(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function Fc(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function Ic(e){let t=Fc(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function Lc(e,t){return(Pc[t]||(Pc[t]=Ic(t)))(e)}function Rc(e){return e.charAt(0).toUpperCase()+e.slice(1)}var zc=e=>e!==void 0,Bc=e=>typeof e==`function`,Vc=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function Hc(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var X=Math.PI,Z=2*X,Uc=Z+X,Wc=1/0,Gc=X/180,Kc=X/2,qc=X/4,Jc=X*2/3,Yc=Math.log10,Xc=Math.sign;function Zc(e,t,n){return Math.abs(e-t)e-t).pop(),t}function el(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function tl(e){return!el(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function nl(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function rl(e,t,n){let r,i,a;for(r=0,i=e.length;rc&&l=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function hl(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var gl=(e,t,n,r)=>hl(e,n,r?r=>{let i=e[r][t];return ie[r][t]hl(e,n,r=>e[r][t]>=n);function vl(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+Rc(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})})}function xl(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(yl.forEach(t=>{delete e[t]}),delete e._chartjs)}function Sl(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var Cl=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function wl(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Cl.call(window,()=>{r=!1,e.apply(t,n)}))}}function Tl(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var El=e=>e===`start`?`left`:e===`end`?`right`:`center`,Dl=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,Ol=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function kl(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(gl(c,u,d).lo,n?r:gl(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!W(e[s.axis]));i-=Math.max(0,e)}i=fl(i,0,r-1)}if(m){let e=Math.max(gl(c,o.axis,f,!0).hi+1,n?0:gl(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!W(e[s.axis]));e+=Math.max(0,t)}a=fl(e,i,r)-i}else a=r-i}return{start:i,count:a}}function Al(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var jl=e=>e===0||e===1,Ml=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*Z/n)),Nl=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*Z/n)+1,Pl={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Kc)+1,easeOutSine:e=>Math.sin(e*Kc),easeInOutSine:e=>-.5*(Math.cos(X*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>jl(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>jl(e)?e:Ml(e,.075,.3),easeOutElastic:e=>jl(e)?e:Nl(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return jl(e)?e:e<.5?.5*Ml(e*2,t,n):.5+.5*Nl(e*2-1,t,n)},easeInBack(e){let t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){let t=1.70158;return--e*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-Pl.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?Pl.easeInBounce(e*2)*.5:Pl.easeOutBounce(e*2-1)*.5+.5};function Fl(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function Il(e){return Fl(e)?e:new bc(e)}function Ll(e){return Fl(e)?e:new bc(e).saturate(.5).darken(.1).hexString()}var Rl=[`x`,`y`,`borderWidth`,`radius`,`tension`],zl=[`color`,`borderColor`,`backgroundColor`];function Bl(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:zl},numbers:{type:`number`,properties:Rl}}),e.describe(`animations`,{_fallback:`animation`}),e.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function Vl(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Hl=new Map;function Ul(e,t){t||={};let n=e+JSON.stringify(t),r=Hl.get(n);return r||(r=new Intl.NumberFormat(e,t),Hl.set(n,r)),r}function Wl(e,t,n){return Ul(t,n).format(e)}var Gl={values(e){return G(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=Kl(e,n)}let o=Yc(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),Wl(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(Yc(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Gl.numeric.call(this,e,t,n):``}};function Kl(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var ql={formatters:Gl};function Jl(e){e.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ql.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var Yl=Object.create(null),Xl=Object.create(null);function Zl(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Ll(t.backgroundColor),this.hoverBorderColor=(e,t)=>Ll(t.borderColor),this.hoverColor=(e,t)=>Ll(t.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Ql(this,e,t)}get(e){return Zl(this,e)}describe(e,t){return Ql(Xl,e,t)}override(e,t){return Ql(Yl,e,t)}route(e,t,n,r){let i=Zl(this,e),a=Zl(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return K(e)?Object.assign({},t,e):q(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[Bl,Vl,Jl]);function eu(e){return!e||W(e.size)||W(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function tu(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function nu(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;cn.length){for(c=0;c0&&e.stroke()}}function su(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,fu(e,a),c=0;c+e||0;function xu(e,t){let n={},r=K(t),i=r?Object.keys(t):t,a=K(e)?r?n=>q(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=bu(a(e));return n}function Su(e){return xu(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function Cu(e){return xu(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function wu(e){let t=Su(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Tu(e,t){e||={},t||=$l.font;let n=q(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=q(e.style,t.style);r&&!(``+r).match(vu)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:q(e.family,t.family),lineHeight:yu(q(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:q(e.weight,t.weight),string:``};return i.string=eu(i),i}function Eu(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;an&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function Ou(e,t){return Object.assign(Object.create(e),t)}function ku(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=Gu(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>ku([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return Pu(n,r,()=>Wu(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return Ku(e).includes(t)},ownKeys(e){return Ku(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function Au(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:ju(e,r),setContext:t=>Au(e,t,n,r),override:i=>Au(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return Pu(e,t,()=>Fu(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function ju(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Bc(n)?n:()=>n,isIndexable:Bc(r)?r:()=>r}}var Mu=(e,t)=>e?e+Rc(t):t,Nu=(e,t)=>K(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Pu(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function Fu(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return Bc(s)&&o.isScriptable(t)&&(s=Iu(t,s,e,n)),G(s)&&s.length&&(s=Lu(t,s,e,o.isIndexable)),Nu(t,s)&&(s=Au(s,i,a&&a[t],o)),s}function Iu(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),Nu(e,c)&&(c=Vu(i._scopes,i,e,c)),c}function Lu(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(K(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=Vu(r,i,e,c);t.push(Au(n,a,o&&o[e],s))}}return t}function Ru(e,t,n){return Bc(e)?e(t,n):e}var zu=(e,t)=>e===!0?t:typeof e==`string`?Lc(t,e):void 0;function Bu(e,t,n,r,i){for(let a of t){let t=zu(n,a);if(t){e.add(t);let a=Ru(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function Vu(e,t,n,r){let i=t._rootScopes,a=Ru(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=Hu(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=Hu(s,o,a,c,r),c===null)?!1:ku(Array.from(s),[``],i,a,()=>Uu(t,n,r))}function Hu(e,t,n,r,i){for(;n;)n=Bu(e,t,n,r,i);return n}function Uu(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return G(i)&&K(n)?n:i||{}}function Wu(e,t,n,r){let i;for(let a of t)if(i=Gu(Mu(a,e),n),i!==void 0)return Nu(e,i)?Vu(n,r,e,i):i}function Gu(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function Ku(e){let t=e._keys;return t||=e._keys=qu(e._scopes),t}function qu(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function Ju(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;ste===`x`?`y`:`x`;function Qu(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=cl(a,i),c=cl(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function $u(e,t,n){let r=e.length,i,a,o,s,c,l=Xu(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)td(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);function ld(e,t){return cd(e).getPropertyValue(t)}var ud=[`top`,`right`,`bottom`,`left`];function dd(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=ud[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var fd=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function pd(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(fd(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function md(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=cd(n),a=i.boxSizing===`border-box`,o=dd(i,`padding`),s=dd(i,`border`,`width`),{x:c,y:l,box:u}=pd(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function hd(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&od(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=cd(a),s=dd(o,`border`,`width`),c=dd(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=sd(o.maxWidth,a,`clientWidth`),i=sd(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||Wc,maxHeight:i||Wc}}var gd=e=>Math.round(e*10)/10;function _d(e,t,n,r){let i=cd(e),a=dd(i,`margin`),o=sd(i.maxWidth,e,`clientWidth`)||Wc,s=sd(i.maxHeight,e,`clientHeight`)||Wc,c=hd(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=dd(i,`border`,`width`),t=dd(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=gd(Math.min(l,o,c.maxWidth)),u=gd(Math.min(u,s,c.maxHeight)),l&&!u&&(u=gd(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=gd(Math.floor(u*r))),{width:l,height:u}}function vd(e,t,n){let r=t||1,i=gd(e.height*r),a=gd(e.width*r);e.height=gd(e.height),e.width=gd(e.width);let o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a?(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var yd=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};ad()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function bd(e,t){let n=ld(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function xd(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Sd(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function Cd(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=xd(e,i,n),s=xd(i,a,n),c=xd(a,t,n);return xd(xd(o,s,n),xd(s,c,n),n)}var wd=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},Td=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Ed(e,t,n){return e?wd(t,n):Td()}function Dd(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function Od(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function kd(e){return e===`angle`?{between:dl,compare:ll,normalize:ul}:{between:ml,compare:(e,t)=>e-t,normalize:e=>e}}function Ad({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function jd(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=kd(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;fc(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(Ad({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(Ad({start:g,end:d,loop:f,count:o,style:p})),m}function Nd(e,t){let n=[],r=e.segments;for(let i=0;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function Fd(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function Id(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=Pd(n,i,a,r);return r===!0?Ld(e,[{start:o,end:s,loop:a}],n,t):Ld(e,Fd(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,Cl.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},Gd=`transparent`,Kd={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=Il(e||Gd),i=r.valid&&Il(t||Gd);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},qd=class{constructor(e,t,n,r){let i=t[n];r=Eu([e.to,r,i,e.from]);let a=Eu([e.from,i,r]);this._active=!0,this._fn=e.fn||Kd[e.type||typeof a],this._easing=Pl[e.easing]||Pl.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Eu([e.to,t,r,e.from]),this._from=Eu([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;if(this._active=i!==o&&(a||t1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e{let i=e[r];if(!K(i))return;let a={};for(let e of t)a[e]=i[e];(G(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=Xd(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&Yd(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u)if(d&&u.active()){u.update(d,l,o);continue}else u.cancel();if(!d||!d.duration){e[c]=l;continue}i[c]=u=new qd(d,e,c,l),r.push(u)}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return Wd.add(this._chart,n),!0}};function Yd(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function lf(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=af(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function df(e,t){return Ou(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function ff(e,t,n){return Ou(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function pf(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;if(!t||t[r]===void 0||t[r][n]===void 0)return;delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n]}}}var mf=e=>e===`reset`||e===`none`,hf=(e,t)=>t?e:Object.assign({},e),gf=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:ef(n,!0),values:null},_f=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=rf(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(e){this.index!==e&&pf(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=q(n.xAxisID,uf(e,`x`)),a=t.yAxisID=q(n.yAxisID,uf(e,`y`)),o=t.rAxisID=q(n.rAxisID,uf(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&xl(this._data,this),e._stacked&&pf(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(K(t)){let e=this._cachedMeta;this._data=nf(t,e)}else if(n!==t){if(n){xl(n,this);let e=this._cachedMeta;pf(e),e._parsed=[]}t&&Object.isExtensible(t)&&bl(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=rf(t.vScale,t),t.stack!==n.stack&&(r=!0,pf(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(lf(this,t._parsed),t._stacked=rf(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length?!0:n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=G(r[e])?this.parseArrayData(n,r,e,t):K(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]t||u=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r=0&&ethis.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(hf(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new Jd(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||mf(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){mf(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!mf(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;oe-t))}return e._cache.$bar}function yf(e){let t=e.iScale,n=vf(t,e.type),r=t._length,i,a,o,s,c=()=>{o===32767||o===-32768||(zc(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i0?i[e-1]:null,s=eMath.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function Cf(e,t,n,r){return G(e)?Sf(e,t,n,r):t[n.axis]=n.parse(e,r),t}function wf(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l=n?1:-1):Xc(e)}function Df(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.basee.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(W(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[q(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;ddl(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>dl(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(Kc,u,f),_=m(X,l,d),v=m(X+Kc,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var If=class extends _f{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`,_indexable:e=>e!==`spacing`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(K(n[e])){let{key:e=`value`}=this._parsing;i=t=>+Lc(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*Z:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=Wl(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r0&&this.getParsed(t-1);for(let n=0;n=_){v.skip=!0;continue}let b=this.getParsed(n),x=W(b[f]),S=v[d]=a.getPixelForValue(b[d],n),C=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(C)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},Rf=class extends _f{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=Wl(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return Ju.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(rt.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*X,d=u,f,p=360/this.countVisibleElements();for(f=0;f{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?il(this.resolveDataElementOptions(e,t).angle||n):0}},zf=Object.freeze({__proto__:null,BarController:Nf,BubbleController:Pf,DoughnutController:If,LineController:Lf,PieController:class extends If{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:Rf,RadarController:class extends _f{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return Ju.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function Bf(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var Vf={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return Bf()}parse(){return Bf()}format(){return Bf()}add(){return Bf()}diff(){return Bf()}startOf(){return Bf()}endOf(){return Bf()}}};function Hf(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?_l:gl;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!W(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!W(e[t.axis]));r.hi+=Math.max(0,o)}return r}else if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function Uf(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var Xf={evaluateInteractionItems:Uf,modes:{index(e,t,n,r){let i=md(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?Gf(e,i,a,r,o):Jf(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=md(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?Gf(e,i,a,r,o):Jf(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;ee.pos===t)}function $f(e,t){return e.filter(e=>Zf.indexOf(e.pos)===-1&&e.box.axis===t)}function ep(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function tp(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=ep(Qf(t,`left`),!0),i=ep(Qf(t,`right`)),a=ep(Qf(t,`top`),!0),o=ep(Qf(t,`bottom`)),s=$f(t,`x`),c=$f(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:Qf(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function ap(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function op(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function sp(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!K(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&op(o,a.getPadding());let s=Math.max(0,t.outerWidth-ap(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-ap(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function cp(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function lp(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function up(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);op(f,wu(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=rp(c.concat(l),d);up(s.fullSize,p,d,m),up(c,p,d,m),up(l,p,d,m)&&up(c,p,d,m),cp(p),fp(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,fp(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Y(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},mp=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},hp=class extends mp{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},gp=`$chartjs`,_p={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},vp=e=>e===null||e===``;function yp(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[gp]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,vp(i)){let t=bd(e,`width`);t!==void 0&&(e.width=t)}if(vp(r))if(e.style.height===``)e.height=e.width/(t||2);else{let t=bd(e,`height`);t!==void 0&&(e.height=t)}return e}var bp=yd?{passive:!0}:!1;function xp(e,t,n){e&&e.addEventListener(t,n,bp)}function Sp(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,bp)}function Cp(e,t){let n=_p[e.type]||e.type,{x:r,y:i}=md(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function wp(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function Tp(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=wp(n.addedNodes,r),t&&=!wp(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function Ep(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=wp(n.removedNodes,r),t&&=!wp(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var Dp=new Map,Op=0;function kp(){let e=window.devicePixelRatio;e!==Op&&(Op=e,Dp.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Ap(e,t){Dp.size||window.addEventListener(`resize`,kp),Dp.set(e,t)}function jp(e){Dp.delete(e),Dp.size||window.removeEventListener(`resize`,kp)}function Mp(e,t,n){let r=e.canvas,i=r&&od(r);if(!i)return;let a=wl((e,t)=>{let r=i.clientWidth;n(e,t),r{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;n===0&&r===0||a(n,r)});return o.observe(i),Ap(e,a),o}function Np(e,t,n){n&&n.disconnect(),t===`resize`&&jp(e)}function Pp(e,t,n){let r=e.canvas,i=wl(t=>{e.ctx!==null&&n(Cp(t,e))},e);return xp(r,t,i),i}var Fp=class extends mp{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(yp(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[gp])return!1;let n=t[gp].initial;[`height`,`width`].forEach(e=>{let r=n[e];W(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[gp],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:Tp,detach:Ep,resize:Mp}[t]||Pp)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:Np,detach:Np,resize:Np}[t]||Sp)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return _d(e,t,n,r)}isAttached(e){let t=e&&od(e);return!!(t&&t.isConnected)}};function Ip(e){return!ad()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?hp:Fp}var Lp=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return tl(this.x)&&tl(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function Rp(e,t){let n=e.options.ticks,r=zp(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?Vp(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return Hp(t,l,a,o/i),l;let u=Bp(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(Up(t,l,u,W(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function Vp(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,Kp=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,qp=(e,t)=>Math.min(t||e,e);function Jp(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function Xp(e,t){Y(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;in?n:t,n=r&&t>n?t:n,{min:wc(t,wc(n,t)),max:wc(n,wc(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){J(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Du(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=fl(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-Zp(e.grid)-t.padding-Qp(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=al(Math.min(Math.asin(fl((l.highest.height+6)/o,-1,1)),Math.asin(fl(s/c,-1,1))-Math.asin(fl(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){J(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){J(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=Qp(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=Zp(i)+a):(e.height=this.maxHeight,e.width=Zp(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=il(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){J(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t({width:a[e]||0,height:o[e]||0});return{first:C(0),last:C(t-1),widest:C(x),highest:C(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return pl(this._alignToPixels?ru(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&eo*r?o/n:s/r:s*r0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=Zp(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return ru(n,e,p)},g,_,v,y,b,x,S,C,w,T,E,ee;if(a===`top`)g=h(this.bottom),x=this.bottom-u,C=g-m,T=h(e.top)+m,ee=e.bottom;else if(a===`bottom`)g=h(this.top),T=e.top,ee=h(e.bottom)-m,x=g+m,C=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,w=h(e.left)+m,E=e.right;else if(a===`right`)g=h(this.left),w=e.left,E=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(K(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}T=e.top,ee=e.bottom,x=g+m,C=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(K(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,w=e.left,E=e.right}let te=q(r.ticks.maxTicksLimit,l),ne=Math.max(1,Math.ceil(l/te));for(_=0;_0&&(a-=r/2);break}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:w,textOffset:ee,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:te,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-il(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{!r.width||!r.color||(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);$l.route(a,i,c,s)})}function sm(e){return`id`in e&&`defaults`in e}var cm=new class{constructor(){this.controllers=new im(_f,`datasets`,!0),this.elements=new im(Lp,`elements`),this.plugins=new im(Object,`plugins`),this.scales=new im(rm,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):Y(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=Rc(e);J(n[`before`+r],[],n),t[e](n),J(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;te.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function um(e){let t={},n=[],r=Object.keys(cm.plugins.items);for(let e=0;e1&&_m(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function bm(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function xm(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return bm(e,`x`,n[0])||bm(e,`y`,n[0])}return{}}function Sm(e,t){let n=Yl[e.type]||{scales:{}},r=t.scales||{},i=mm(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!K(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=ym(t,o,xm(t,e),$l.scales[o.type]),c=gm(s,i),l=n.scales||{};a[t]=Mc(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||mm(i,t),s=(Yl[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=hm(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),Mc(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];Mc(t,[$l.scales[t.type],$l.scale])}),a}function Cm(e){let t=e.options||={};t.plugins=q(t.plugins,{}),t.scales=Sm(e,t)}function wm(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Tm(e){return e||={},e.data=wm(e.data),Cm(e),e}var Em=new Map,Dm=new Set;function Om(e,t){let n=Em.get(e);return n||(n=t(),Em.set(e,n),Dm.add(n)),n}var km=(e,t,n)=>{let r=Lc(t,n);r!==void 0&&e.add(r)},Am=class{constructor(e){this._config=Tm(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=wm(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),Cm(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Om(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return Om(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return Om(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return Om(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>km(s,e,t))),t.forEach(e=>km(s,r,e)),t.forEach(e=>km(s,Yl[i]||{},e)),t.forEach(e=>km(s,$l,e)),t.forEach(e=>km(s,Xl,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),Dm.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,Yl[t]||{},$l.datasets[t]||{},{type:t},$l,Xl]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=jm(this._resolverCache,e,r),s=a;if(Nm(a,t)){i.$shared=!1,n=Bc(n)?n():n;let t=this.createResolver(e,n,o);s=Au(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=jm(this._resolverCache,e,n);return K(t)?Au(i,t,void 0,r):i}};function jm(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:ku(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var Mm=e=>K(e)&&Object.getOwnPropertyNames(e).some(t=>Bc(e[t]));function Nm(e,t){let{isScriptable:n,isIndexable:r}=ju(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(Bc(o)||Mm(o))||a&&G(o))return!0}return!1}var Pm=`4.5.1`,Fm=[`top`,`bottom`,`left`,`right`,`chartArea`];function Im(e,t){return e===`top`||e===`bottom`||Fm.indexOf(e)===-1&&t===`x`}function Lm(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Rm(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),J(n&&n.onComplete,[e],t)}function zm(e){let t=e.chart,n=t.options.animation;J(n&&n.onProgress,[e],t)}function Bm(e){return ad()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Vm={},Hm=e=>{let t=Bm(e);return Object.values(Vm).filter(e=>e.canvas===t).pop()};function Um(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function Wm(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var Gm=class{static defaults=$l;static instances=Vm;static overrides=Yl;static registry=cm;static version=Pm;static getChart=Hm;static register(...e){cm.add(...e),Km()}static unregister(...e){cm.remove(...e),Km()}constructor(e,t){let n=this.config=new Am(t),r=Bm(e),i=Hm(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(Ip(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;if(this.id=Sc(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new lm,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Tl(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],Vm[this.id]=this,!o||!s){console.error(`Failed to create chart: can't acquire context from the given item`);return}Wd.listen(this,`complete`,Rm),Wd.listen(this,`progress`,zm),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return W(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return cm}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():vd(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return iu(this.canvas,this.ctx),this}stop(){return Wd.stop(this),this}resize(e,t){Wd.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,vd(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),J(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Y(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=ym(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),Y(i,t=>{let i=t.options,a=i.id,o=ym(a,i),s=q(i.type,t.dtype);(i.position===void 0||Im(i.position,o)!==Im(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(cm.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),Y(r,(e,t)=>{e||delete n[t]}),Y(n,e=>{pp.configure(this,e,e.options),pp.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;et.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(Lm(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Y(this.scales,e=>{pp.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!Vc(new Set(Object.keys(this._listeners)),new Set(e.events))||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)Um(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;ee.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;pp.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],Y(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=Ud(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&cu(t,r),e.controller.draw(),r&&lu(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return su(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=Xf.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=Ou(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);zc(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Wd.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};Y(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){Y(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Y(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});Dc(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=Hc(e),c=Wm(e,this._lastEvent,n,s);n&&(this._lastEvent=null,J(i.onHover,[e,o,this],this),s&&J(i.onClick,[e,o,this],this));let l=!Dc(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function Km(){return Y(Gm.instances,e=>e._plugins.invalidate())}function qm(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,ul(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,ul(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*ul(r-n));if(u===`round`)e.arc(i,a,t,n-X/2,r+X/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+X/2)+i,c=-o*Math.sin(n+X/2)+a,l=o*Math.cos(r+X/2)+i,u=o*Math.sin(r+X/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function Jm(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+Kc,r-Kc),e.closePath(),e.clip()}function Ym(e){return xu(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Xm(e,t,n,r){let i=Ym(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return fl(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:fl(i.innerStart,0,o),innerEnd:fl(i.innerEnd,0,o)}}function Zm(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Qm(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/X)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=Xm(t,f,d,_-g),S=d-v,C=d-y,w=g+v/S,T=_-y/C,E=f+b,ee=f+x,te=g+b/E,ne=_-x/ee;if(e.beginPath(),a){let t=(w+T)/2;if(e.arc(o,s,d,w,t),e.arc(o,s,d,t,T),y>0){let t=Zm(C,T,o,s);e.arc(t.x,t.y,y,T,_+Kc)}let n=Zm(ee,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=Zm(ee,ne,o,s);e.arc(t.x,t.y,x,_+Kc,ne+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=Zm(E,te,o,s);e.arc(t.x,t.y,b,te+Math.PI,g-Kc)}let i=Zm(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=Zm(S,w,o,s);e.arc(t.x,t.y,v,g-Kc,w)}}else{e.moveTo(o,s);let t=Math.cos(w)*d+o,n=Math.sin(w)*d+s;e.lineTo(t,n);let r=Math.cos(T)*d+o,i=Math.sin(T)*d+s;e.lineTo(r,i)}e.closePath()}function $m(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){Qm(e,t,n,r,c,i);for(let t=0;t=X&&p===0&&u!==`miter`&&qm(e,t,h),a||(Qm(e,t,n,r,h,i),e.stroke())}var th=class extends Lp{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=sl(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=q(l,o-a),f=dl(r,a,o)&&a!==o,p=d>=Z||f,m=ml(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>Z?Math.floor(n/Z):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(X,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,$m(e,this,s,i,a),eh(e,this,s,i,a),e.restore()}};function nh(e,t,n=t){e.lineCap=q(n.borderCapStyle,t.borderCapStyle),e.setLineDash(q(n.borderDash,t.borderDash)),e.lineDashOffset=q(n.borderDashOffset,t.borderDashOffset),e.lineJoin=q(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=q(n.borderWidth,t.borderWidth),e.strokeStyle=q(n.borderColor,t.borderColor)}function rh(e,t,n){e.lineTo(n.x,n.y)}function ih(e){return e.stepped?uu:e.tension||e.cubicInterpolationMode===`monotone`?du:rh}function ah(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=is&&a>s;return{count:r,start:c,loop:t.loop,ilen:l(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(ng&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function ch(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?sh:oh}function lh(e){return e.stepped?Sd:e.tension||e.cubicInterpolationMode===`monotone`?Cd:xd}function uh(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),nh(e,t.options),e.stroke(i)}function dh(e,t,n,r){let{segments:i,options:a}=t,o=ch(t);for(let s of i)nh(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var fh=typeof Path2D==`function`;function ph(e,t,n,r){fh&&!t.options.segment?uh(e,t,n,r):dh(e,t,n,r)}var mh=class extends Lp{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;id(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=Id(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=Nd(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=lh(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function kh(e){return Dh[e%Dh.length]}function Ah(e){return Oh[e%Oh.length]}function jh(e,t){return e.borderColor=kh(t),e.backgroundColor=Ah(t),++t}function Mh(e,t){return e.backgroundColor=e.data.map(()=>kh(t++)),t}function Nh(e,t){return e.backgroundColor=e.data.map(()=>Ah(t++)),t}function Ph(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof If?t=Mh(n,t):i instanceof Rf?t=Nh(n,t):i&&(t=jh(n,t))}}function Fh(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function Ih(e){return e&&(e.borderColor||e.backgroundColor)}function Lh(){return $l.borderColor!==`rgba(0,0,0,0.1)`||$l.backgroundColor!==`rgba(0,0,0,0.1)`}var Rh={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=Fh(r)||Ih(i)||a&&Fh(a)||Lh();if(!n.forceOverride&&o)return;let s=Ph(e);r.forEach(s)}};function zh(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;dp&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function Bh(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;oh&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!W(d)&&!W(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function Vh(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,`data`,{configurable:!0,enumerable:!0,writable:!0,value:t})}}function Hh(e){e.data.datasets.forEach(e=>{Vh(e)})}function Uh(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=fl(gl(t,a.axis,o).lo,0,n-1)),i=l?fl(gl(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var Wh={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){Hh(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(Eu([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=Uh(s,c);if(d<=(n.threshold||4*r)){Vh(t);return}W(a)&&(t._data=c,delete t.data,Object.defineProperty(t,`data`,{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=zh(c,u,d,r,n);break;case`min-max`:f=Bh(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){Hh(e)}};function Gh(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=Jh(r,s,i);let c=Kh(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=Nd(t,c);for(let t of l){let r=Kh(n,a[t.start],a[t.end],t.loop),s=Md(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:Yh(c,r,`start`,Math.max)},end:{[n]:Yh(c,r,`end`,Math.min)}})}}return o}function Kh(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=ul(i),a=ul(a)),{property:e,start:i,end:a}}function qh(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=Jh(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function Jh(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Yh(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Xh(e,t){let n=[],r=!1;return G(e)?(r=!0,n=e):n=qh(e,t),n.length?new mh({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Zh(e){return e&&e.fill!==!1}function Qh(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Cc(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function $h(e,t,n){let r=rg(e);if(K(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return Cc(i)&&Math.floor(i)===i?eg(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function eg(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function tg(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:K(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function ng(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:K(e)?e.value:t.getBaseValue(),r}function rg(e){let t=e.options,n=t.fill,r=q(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function ig(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=ag(t,n);s.push(Xh({x:null,y:t.bottom},r));for(let e=0;e=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&mg(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;Zh(n)&&mg(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;!Zh(r)||n.drawTime!==`beforeDatasetDraw`||mg(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Sg=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},Cg=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,wg=class extends Lp{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=J(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=Tu(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Sg(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=Tg(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=Ed(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=Dl(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=Dl(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=Dl(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=Dl(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;cu(e,this),this._draw(),lu(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=$l.color,s=Ed(e.rtl,this.left,this.width),c=Tu(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=Sg(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=q(n.lineWidth,1);if(r.fillStyle=q(n.fillStyle,o),r.lineCap=q(n.lineCap,`butt`),r.lineDashOffset=q(n.lineDashOffset,0),r.lineJoin=q(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=q(n.strokeStyle,o),r.setLineDash(q(n.lineDash,[])),a.usePointStyle)ou(r,{radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},s.xPlus(e,p/2),t+d,a.pointStyleWidth&&p);else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=Cu(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?gu(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){hu(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:Dl(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:Dl(i,this.top+y+l,this.bottom-t[0].height),line:0},Dd(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,C=f.y;if(s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=Dl(i,this.left+l,this.right-n[f.line])):u>0&&C+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,C=f.y=Dl(i,this.top+y+l,this.bottom-t[f.line].height)),g(s.x(S),C,o),S=Ol(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),C,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=Og(o,e)+l}else f.y+=b}),Od(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=Tu(t.font),r=wu(t.padding);if(!t.display)return;let i=Ed(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=Dl(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+Dl(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=Dl(o,u,u+d);a.textAlign=i.textAlign(El(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,hu(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=Tu(e.font),n=wu(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(ml(e,this.left,this.right)&&ml(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;ne.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function Dg(e,t,n){let r=e;return typeof t.text!=`string`&&(r=Og(t,n)),r}function Og(e,t){return t*(e.text?e.text.length:0)}function kg(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var Ag={id:`legend`,_element:wg,start(e,t,n){let r=e.legend=new wg({ctx:e.ctx,options:n,chart:e});pp.configure(e,r,n),pp.addBox(e,r)},stop(e){pp.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;pp.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=wu(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},jg=class extends Lp{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=G(n.text)?n.text.length:1;this._padding=wu(n.padding);let i=r*Tu(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=Dl(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=Dl(o,r,t),s=X*-.5):(l=i-e,u=Dl(o,t,r),s=X*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=Tu(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);hu(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:El(t.align),textBaseline:`middle`,translation:[i,a]})}};function Mg(e,t){let n=new jg({ctx:e.ctx,options:t,chart:e});pp.configure(e,n,t),pp.addBox(e,n),e.titleBlock=n}var Ng={id:`title`,_element:jg,start(e,t,n){Mg(e,n)},stop(e){let t=e.titleBlock;pp.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;pp.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Pg=new WeakMap,Fg={id:`subtitle`,start(e,t,n){let r=new jg({ctx:e.ctx,options:n,chart:e});pp.configure(e,r,n),pp.addBox(e,r),Pg.set(e,r)},stop(e){pp.removeBox(e,Pg.get(e)),Pg.delete(e)},beforeUpdate(e,t,n){let r=Pg.get(e);pp.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Ig={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;te+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;aMath.max(Math.min(e,n),t);function oc(e){return ac(ic(e*2.55),0,255)}function sc(e){return ac(ic(e*255),0,255)}function cc(e){return ac(ic(e/2.55)/100,0,1)}function lc(e){return ac(ic(e*100),0,100)}var uc={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},dc=[...`0123456789ABCDEF`],fc=e=>dc[e&15],pc=e=>dc[(e&240)>>4]+dc[e&15],mc=e=>(e&240)>>4==(e&15),hc=e=>mc(e.r)&&mc(e.g)&&mc(e.b)&&mc(e.a);function gc(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&uc[e[1]]*17,g:255&uc[e[2]]*17,b:255&uc[e[3]]*17,a:t===5?uc[e[4]]*17:255}:(t===7||t===9)&&(n={r:uc[e[1]]<<4|uc[e[2]],g:uc[e[3]]<<4|uc[e[4]],b:uc[e[5]]<<4|uc[e[6]],a:t===9?uc[e[7]]<<4|uc[e[8]]:255})),n}var _c=(e,t)=>e<255?t(e):``;function vc(e){var t=hc(e)?fc:pc;return e?`#`+t(e.r)+t(e.g)+t(e.b)+_c(e.a,t):void 0}var yc=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function bc(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function xc(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Sc(e,t,n){let r=bc(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Cc(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Cc(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Tc(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(sc)}function Ec(e,t,n){return Tc(bc,e,t,n)}function Dc(e,t,n){return Tc(Sc,e,t,n)}function Oc(e,t,n){return Tc(xc,e,t,n)}function kc(e){return(e%360+360)%360}function Ac(e){let t=yc.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?oc(+t[5]):sc(+t[5]));let i=kc(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Dc(i,a,o):t[1]===`hsv`?Oc(i,a,o):Ec(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function jc(e,t){var n=wc(e);n[0]=kc(n[0]+t),n=Ec(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Mc(e){if(!e)return;let t=wc(e),n=t[0],r=lc(t[1]),i=lc(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${cc(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var Nc={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`},Pc={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function Fc(){let e={},t=Object.keys(Pc),n=Object.keys(Nc),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var Ic;function Lc(e){Ic||(Ic=Fc(),Ic.transparent=[0,0,0,0]);let t=Ic[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Rc=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function zc(e){let t=Rc.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?oc(e):ac(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?oc(r):ac(r,0,255)),i=255&(t[4]?oc(i):ac(i,0,255)),a=255&(t[6]?oc(a):ac(a,0,255)),{r,g:i,b:a,a:n}}}function Bc(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${cc(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Vc=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,Hc=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Uc(e,t,n){let r=Hc(cc(e.r)),i=Hc(cc(e.g)),a=Hc(cc(e.b));return{r:sc(Vc(r+n*(Hc(cc(t.r))-r))),g:sc(Vc(i+n*(Hc(cc(t.g))-i))),b:sc(Vc(a+n*(Hc(cc(t.b))-a))),a:e.a+n*(t.a-e.a)}}function Wc(e,t,n){if(e){let r=wc(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Ec(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Gc(e,t){return e&&Object.assign(t||{},e)}function Kc(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=sc(e[3]))):(t=Gc(e,{r:0,g:0,b:0,a:1}),t.a=sc(t.a)),t}function qc(e){return e.charAt(0)===`r`?zc(e):Ac(e)}var Jc=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=Kc(t):n===`string`&&(r=gc(t)||Lc(t)||qc(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Gc(this._rgb);return e&&(e.a=cc(e.a)),e}set rgb(e){this._rgb=Kc(e)}rgbString(){return this._valid?Bc(this._rgb):void 0}hexString(){return this._valid?vc(this._rgb):void 0}hslString(){return this._valid?Mc(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=Uc(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=sc(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=ic(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Wc(this._rgb,2,e),this}darken(e){return Wc(this._rgb,2,-e),this}saturate(e){return Wc(this._rgb,1,e),this}desaturate(e){return Wc(this._rgb,1,-e),this}rotate(e){return jc(this._rgb,e),this}};function Yc(){}var Xc=(()=>{let e=0;return()=>e++})();function W(e){return e==null}function G(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function K(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function Zc(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function Qc(e,t){return Zc(e)?e:t}function q(e,t){return e===void 0?t:e}var $c=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,el=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function J(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function Y(e,t,n,r){let i,a,o;if(G(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function ll(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function ul(e){let t=ll(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function dl(e,t){return(cl[t]||(cl[t]=ul(t)))(e)}function fl(e){return e.charAt(0).toUpperCase()+e.slice(1)}var pl=e=>e!==void 0,ml=e=>typeof e==`function`,hl=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function gl(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var X=Math.PI,Z=2*X,_l=Z+X,vl=1/0,yl=X/180,bl=X/2,xl=X/4,Sl=X*2/3,Cl=Math.log10,wl=Math.sign;function Tl(e,t,n){return Math.abs(e-t)e-t).pop(),t}function Ol(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function kl(e){return!Ol(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function Al(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function jl(e,t,n){let r,i,a;for(r=0,i=e.length;rc&&l=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Ul(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var Wl=(e,t,n,r)=>Ul(e,n,r?r=>{let i=e[r][t];return ie[r][t]Ul(e,n,r=>e[r][t]>=n);function Kl(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+fl(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})})}function Yl(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(ql.forEach(t=>{delete e[t]}),delete e._chartjs)}function Xl(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var Zl=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function Ql(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Zl.call(window,()=>{r=!1,e.apply(t,n)}))}}function $l(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var eu=e=>e===`start`?`left`:e===`end`?`right`:`center`,tu=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,nu=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function ru(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(Wl(c,u,d).lo,n?r:Wl(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!W(e[s.axis]));i-=Math.max(0,e)}i=Bl(i,0,r-1)}if(m){let e=Math.max(Wl(c,o.axis,f,!0).hi+1,n?0:Wl(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!W(e[s.axis]));e+=Math.max(0,t)}a=Bl(e,i,r)-i}else a=r-i}return{start:i,count:a}}function iu(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var au=e=>e===0||e===1,ou=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*Z/n)),su=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*Z/n)+1,cu={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*bl)+1,easeOutSine:e=>Math.sin(e*bl),easeInOutSine:e=>-.5*(Math.cos(X*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>au(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>au(e)?e:ou(e,.075,.3),easeOutElastic:e=>au(e)?e:su(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return au(e)?e:e<.5?.5*ou(e*2,t,n):.5+.5*su(e*2-1,t,n)},easeInBack(e){let t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){let t=1.70158;return--e*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-cu.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?cu.easeInBounce(e*2)*.5:cu.easeOutBounce(e*2-1)*.5+.5};function lu(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function uu(e){return lu(e)?e:new Jc(e)}function du(e){return lu(e)?e:new Jc(e).saturate(.5).darken(.1).hexString()}var fu=[`x`,`y`,`borderWidth`,`radius`,`tension`],pu=[`color`,`borderColor`,`backgroundColor`];function mu(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:pu},numbers:{type:`number`,properties:fu}}),e.describe(`animations`,{_fallback:`animation`}),e.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function hu(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var gu=new Map;function _u(e,t){t||={};let n=e+JSON.stringify(t),r=gu.get(n);return r||(r=new Intl.NumberFormat(e,t),gu.set(n,r)),r}function vu(e,t,n){return _u(t,n).format(e)}var yu={values(e){return G(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=bu(e,n)}let o=Cl(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),vu(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(Cl(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?yu.numeric.call(this,e,t,n):``}};function bu(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var xu={formatters:yu};function Su(e){e.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:xu.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var Cu=Object.create(null),wu=Object.create(null);function Tu(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>du(t.backgroundColor),this.hoverBorderColor=(e,t)=>du(t.borderColor),this.hoverColor=(e,t)=>du(t.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Eu(this,e,t)}get(e){return Tu(this,e)}describe(e,t){return Eu(wu,e,t)}override(e,t){return Eu(Cu,e,t)}route(e,t,n,r){let i=Tu(this,e),a=Tu(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return K(e)?Object.assign({},t,e):q(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[mu,hu,Su]);function Ou(e){return!e||W(e.size)||W(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function ku(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function Au(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;cn.length){for(c=0;c0&&e.stroke()}}function Fu(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,Bu(e,a),c=0;c+e||0;function Yu(e,t){let n={},r=K(t),i=r?Object.keys(t):t,a=K(e)?r?n=>q(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=Ju(a(e));return n}function Xu(e){return Yu(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function Zu(e){return Yu(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function Qu(e){let t=Xu(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function $u(e,t){e||={},t||=Du.font;let n=q(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=q(e.style,t.style);r&&!(``+r).match(Ku)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:q(e.family,t.family),lineHeight:qu(q(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:q(e.weight,t.weight),string:``};return i.string=Ou(i),i}function ed(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;an&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function nd(e,t){return Object.assign(Object.create(e),t)}function rd(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=yd(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>rd([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return cd(n,r,()=>vd(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return bd(e).includes(t)},ownKeys(e){return bd(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function id(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:ad(e,r),setContext:t=>id(e,t,n,r),override:i=>id(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return cd(e,t,()=>ld(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function ad(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:ml(n)?n:()=>n,isIndexable:ml(r)?r:()=>r}}var od=(e,t)=>e?e+fl(t):t,sd=(e,t)=>K(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function cd(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function ld(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return ml(s)&&o.isScriptable(t)&&(s=ud(t,s,e,n)),G(s)&&s.length&&(s=dd(t,s,e,o.isIndexable)),sd(t,s)&&(s=id(s,i,a&&a[t],o)),s}function ud(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),sd(e,c)&&(c=hd(i._scopes,i,e,c)),c}function dd(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(K(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=hd(r,i,e,c);t.push(id(n,a,o&&o[e],s))}}return t}function fd(e,t,n){return ml(e)?e(t,n):e}var pd=(e,t)=>e===!0?t:typeof e==`string`?dl(t,e):void 0;function md(e,t,n,r,i){for(let a of t){let t=pd(n,a);if(t){e.add(t);let a=fd(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function hd(e,t,n,r){let i=t._rootScopes,a=fd(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=gd(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=gd(s,o,a,c,r),c===null)?!1:rd(Array.from(s),[``],i,a,()=>_d(t,n,r))}function gd(e,t,n,r,i){for(;n;)n=md(e,t,n,r,i);return n}function _d(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return G(i)&&K(n)?n:i||{}}function vd(e,t,n,r){let i;for(let a of t)if(i=yd(od(a,e),n),i!==void 0)return sd(e,i)?hd(n,r,e,i):i}function yd(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function bd(e){let t=e._keys;return t||=e._keys=xd(e._scopes),t}function xd(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function Sd(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;ste===`x`?`y`:`x`;function Ed(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=Il(a,i),c=Il(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function Dd(e,t,n){let r=e.length,i,a,o,s,c,l=wd(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)kd(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);function Ld(e,t){return Id(e).getPropertyValue(t)}var Rd=[`top`,`right`,`bottom`,`left`];function zd(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=Rd[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var Bd=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Vd(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(Bd(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function Hd(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=Id(n),a=i.boxSizing===`border-box`,o=zd(i,`padding`),s=zd(i,`border`,`width`),{x:c,y:l,box:u}=Vd(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function Ud(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&Pd(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=Id(a),s=zd(o,`border`,`width`),c=zd(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=Fd(o.maxWidth,a,`clientWidth`),i=Fd(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||vl,maxHeight:i||vl}}var Wd=e=>Math.round(e*10)/10;function Gd(e,t,n,r){let i=Id(e),a=zd(i,`margin`),o=Fd(i.maxWidth,e,`clientWidth`)||vl,s=Fd(i.maxHeight,e,`clientHeight`)||vl,c=Ud(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=zd(i,`border`,`width`),t=zd(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=Wd(Math.min(l,o,c.maxWidth)),u=Wd(Math.min(u,s,c.maxHeight)),l&&!u&&(u=Wd(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=Wd(Math.floor(u*r))),{width:l,height:u}}function Kd(e,t,n){let r=t||1,i=Wd(e.height*r),a=Wd(e.width*r);e.height=Wd(e.height),e.width=Wd(e.width);let o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a?(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var qd=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};Nd()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function Jd(e,t){let n=Ld(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Yd(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Xd(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function Zd(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=Yd(e,i,n),s=Yd(i,a,n),c=Yd(a,t,n);return Yd(Yd(o,s,n),Yd(s,c,n),n)}var Qd=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},$d=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function ef(e,t,n){return e?Qd(t,n):$d()}function tf(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function nf(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function rf(e){return e===`angle`?{between:zl,compare:Ll,normalize:Rl}:{between:Hl,compare:(e,t)=>e-t,normalize:e=>e}}function af({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function of(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=rf(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;fc(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(af({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(af({start:g,end:d,loop:f,count:o,style:p})),m}function cf(e,t){let n=[],r=e.segments;for(let i=0;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function uf(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function df(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=lf(n,i,a,r);return r===!0?ff(e,[{start:o,end:s,loop:a}],n,t):ff(e,uf(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,Zl.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},bf=`transparent`,xf={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=uu(e||bf),i=r.valid&&uu(t||bf);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},Sf=class{constructor(e,t,n,r){let i=t[n];r=ed([e.to,r,i,e.from]);let a=ed([e.from,i,r]);this._active=!0,this._fn=e.fn||xf[e.type||typeof a],this._easing=cu[e.easing]||cu.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=ed([e.to,t,r,e.from]),this._from=ed([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;if(this._active=i!==o&&(a||t1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e{let i=e[r];if(!K(i))return;let a={};for(let e of t)a[e]=i[e];(G(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=Tf(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&wf(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u)if(d&&u.active()){u.update(d,l,o);continue}else u.cancel();if(!d||!d.duration){e[c]=l;continue}i[c]=u=new Sf(d,e,c,l),r.push(u)}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return yf.add(this._chart,n),!0}};function wf(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function Lf(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=Nf(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function zf(e,t){return nd(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function Bf(e,t,n){return nd(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Vf(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;if(!t||t[r]===void 0||t[r][n]===void 0)return;delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n]}}}var Hf=e=>e===`reset`||e===`none`,Uf=(e,t)=>t?e:Object.assign({},e),Wf=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:kf(n,!0),values:null},Gf=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Mf(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(e){this.index!==e&&Vf(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=q(n.xAxisID,Rf(e,`x`)),a=t.yAxisID=q(n.yAxisID,Rf(e,`y`)),o=t.rAxisID=q(n.rAxisID,Rf(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&Yl(this._data,this),e._stacked&&Vf(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(K(t)){let e=this._cachedMeta;this._data=jf(t,e)}else if(n!==t){if(n){Yl(n,this);let e=this._cachedMeta;Vf(e),e._parsed=[]}t&&Object.isExtensible(t)&&Jl(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=Mf(t.vScale,t),t.stack!==n.stack&&(r=!0,Vf(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Lf(this,t._parsed),t._stacked=Mf(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length?!0:n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=G(r[e])?this.parseArrayData(n,r,e,t):K(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]t||u=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r=0&&ethis.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(Uf(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new Cf(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||Hf(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){Hf(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Hf(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;oe-t))}return e._cache.$bar}function qf(e){let t=e.iScale,n=Kf(t,e.type),r=t._length,i,a,o,s,c=()=>{o===32767||o===-32768||(pl(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i0?i[e-1]:null,s=eMath.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function Zf(e,t,n,r){return G(e)?Xf(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Qf(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l=n?1:-1):wl(e)}function tp(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.basee.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(W(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[q(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;dzl(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>zl(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(bl,u,f),_=m(X,l,d),v=m(X+bl,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var up=class extends Gf{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`,_indexable:e=>e!==`spacing`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(K(n[e])){let{key:e=`value`}=this._parsing;i=t=>+dl(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*Z:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=vu(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r0&&this.getParsed(t-1);for(let n=0;n=_){v.skip=!0;continue}let b=this.getParsed(n),x=W(b[f]),S=v[d]=a.getPixelForValue(b[d],n),C=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(C)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},fp=class extends Gf{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=vu(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return Sd.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(rt.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*X,d=u,f,p=360/this.countVisibleElements();for(f=0;f{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?Ml(this.resolveDataElementOptions(e,t).angle||n):0}},pp=Object.freeze({__proto__:null,BarController:sp,BubbleController:cp,DoughnutController:up,LineController:dp,PieController:class extends up{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:fp,RadarController:class extends Gf{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return Sd.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function mp(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var hp={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return mp()}parse(){return mp()}format(){return mp()}add(){return mp()}diff(){return mp()}startOf(){return mp()}endOf(){return mp()}}};function gp(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?Gl:Wl;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!W(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!W(e[t.axis]));r.hi+=Math.max(0,o)}return r}else if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function _p(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var wp={evaluateInteractionItems:_p,modes:{index(e,t,n,r){let i=Hd(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?yp(e,i,a,r,o):Sp(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=Hd(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?yp(e,i,a,r,o):Sp(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;ee.pos===t)}function Dp(e,t){return e.filter(e=>Tp.indexOf(e.pos)===-1&&e.box.axis===t)}function Op(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function kp(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=Op(Ep(t,`left`),!0),i=Op(Ep(t,`right`)),a=Op(Ep(t,`top`),!0),o=Op(Ep(t,`bottom`)),s=Dp(t,`x`),c=Dp(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:Ep(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Np(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Pp(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Fp(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!K(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&Pp(o,a.getPadding());let s=Math.max(0,t.outerWidth-Np(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Np(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function Ip(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function Lp(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function Rp(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);Pp(f,Qu(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=jp(c.concat(l),d);Rp(s.fullSize,p,d,m),Rp(c,p,d,m),Rp(l,p,d,m)&&Rp(c,p,d,m),Ip(p),Bp(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,Bp(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Y(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},Hp=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},Up=class extends Hp{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},Wp=`$chartjs`,Gp={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},Kp=e=>e===null||e===``;function qp(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[Wp]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,Kp(i)){let t=Jd(e,`width`);t!==void 0&&(e.width=t)}if(Kp(r))if(e.style.height===``)e.height=e.width/(t||2);else{let t=Jd(e,`height`);t!==void 0&&(e.height=t)}return e}var Jp=qd?{passive:!0}:!1;function Yp(e,t,n){e&&e.addEventListener(t,n,Jp)}function Xp(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Jp)}function Zp(e,t){let n=Gp[e.type]||e.type,{x:r,y:i}=Hd(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function Qp(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function $p(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Qp(n.addedNodes,r),t&&=!Qp(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function em(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Qp(n.removedNodes,r),t&&=!Qp(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var tm=new Map,nm=0;function rm(){let e=window.devicePixelRatio;e!==nm&&(nm=e,tm.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function im(e,t){tm.size||window.addEventListener(`resize`,rm),tm.set(e,t)}function am(e){tm.delete(e),tm.size||window.removeEventListener(`resize`,rm)}function om(e,t,n){let r=e.canvas,i=r&&Pd(r);if(!i)return;let a=Ql((e,t)=>{let r=i.clientWidth;n(e,t),r{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;n===0&&r===0||a(n,r)});return o.observe(i),im(e,a),o}function sm(e,t,n){n&&n.disconnect(),t===`resize`&&am(e)}function cm(e,t,n){let r=e.canvas,i=Ql(t=>{e.ctx!==null&&n(Zp(t,e))},e);return Yp(r,t,i),i}var lm=class extends Hp{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(qp(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[Wp])return!1;let n=t[Wp].initial;[`height`,`width`].forEach(e=>{let r=n[e];W(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[Wp],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:$p,detach:em,resize:om}[t]||cm)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:sm,detach:sm,resize:sm}[t]||Xp)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return Gd(e,t,n,r)}isAttached(e){let t=e&&Pd(e);return!!(t&&t.isConnected)}};function um(e){return!Nd()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?Up:lm}var dm=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return kl(this.x)&&kl(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function fm(e,t){let n=e.options.ticks,r=pm(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?hm(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return gm(t,l,a,o/i),l;let u=mm(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(_m(t,l,u,W(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function hm(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,bm=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,xm=(e,t)=>Math.min(t||e,e);function Sm(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function wm(e,t){Y(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;in?n:t,n=r&&t>n?t:n,{min:Qc(t,Qc(n,t)),max:Qc(n,Qc(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){J(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=td(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=Bl(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-Tm(e.grid)-t.padding-Em(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=Nl(Math.min(Math.asin(Bl((l.highest.height+6)/o,-1,1)),Math.asin(Bl(s/c,-1,1))-Math.asin(Bl(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){J(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){J(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=Em(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=Tm(i)+a):(e.height=this.maxHeight,e.width=Tm(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=Ml(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){J(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t({width:a[e]||0,height:o[e]||0});return{first:C(0),last:C(t-1),widest:C(x),highest:C(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return Vl(this._alignToPixels?ju(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&eo*r?o/n:s/r:s*r0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=Tm(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return ju(n,e,p)},g,_,v,y,b,x,S,C,w,T,E,ee;if(a===`top`)g=h(this.bottom),x=this.bottom-u,C=g-m,T=h(e.top)+m,ee=e.bottom;else if(a===`bottom`)g=h(this.top),T=e.top,ee=h(e.bottom)-m,x=g+m,C=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,w=h(e.left)+m,E=e.right;else if(a===`right`)g=h(this.left),w=e.left,E=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(K(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}T=e.top,ee=e.bottom,x=g+m,C=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(K(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,w=e.left,E=e.right}let te=q(r.ticks.maxTicksLimit,l),ne=Math.max(1,Math.ceil(l/te));for(_=0;_0&&(a-=r/2);break}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:w,textOffset:ee,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:te,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-Ml(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{!r.width||!r.color||(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);Du.route(a,i,c,s)})}function Fm(e){return`id`in e&&`defaults`in e}var Im=new class{constructor(){this.controllers=new Mm(Gf,`datasets`,!0),this.elements=new Mm(dm,`elements`),this.plugins=new Mm(Object,`plugins`),this.scales=new Mm(jm,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):Y(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=fl(e);J(n[`before`+r],[],n),t[e](n),J(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;te.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function Rm(e){let t={},n=[],r=Object.keys(Im.plugins.items);for(let e=0;e1&&Gm(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Jm(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function Ym(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return Jm(e,`x`,n[0])||Jm(e,`y`,n[0])}return{}}function Xm(e,t){let n=Cu[e.type]||{scales:{}},r=t.scales||{},i=Hm(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!K(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=qm(t,o,Ym(t,e),Du.scales[o.type]),c=Wm(s,i),l=n.scales||{};a[t]=ol(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Hm(i,t),s=(Cu[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=Um(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),ol(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];ol(t,[Du.scales[t.type],Du.scale])}),a}function Zm(e){let t=e.options||={};t.plugins=q(t.plugins,{}),t.scales=Xm(e,t)}function Qm(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function $m(e){return e||={},e.data=Qm(e.data),Zm(e),e}var eh=new Map,th=new Set;function nh(e,t){let n=eh.get(e);return n||(n=t(),eh.set(e,n),th.add(n)),n}var rh=(e,t,n)=>{let r=dl(t,n);r!==void 0&&e.add(r)},ih=class{constructor(e){this._config=$m(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Qm(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),Zm(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return nh(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return nh(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return nh(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return nh(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>rh(s,e,t))),t.forEach(e=>rh(s,r,e)),t.forEach(e=>rh(s,Cu[i]||{},e)),t.forEach(e=>rh(s,Du,e)),t.forEach(e=>rh(s,wu,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),th.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,Cu[t]||{},Du.datasets[t]||{},{type:t},Du,wu]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=ah(this._resolverCache,e,r),s=a;if(sh(a,t)){i.$shared=!1,n=ml(n)?n():n;let t=this.createResolver(e,n,o);s=id(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=ah(this._resolverCache,e,n);return K(t)?id(i,t,void 0,r):i}};function ah(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:rd(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var oh=e=>K(e)&&Object.getOwnPropertyNames(e).some(t=>ml(e[t]));function sh(e,t){let{isScriptable:n,isIndexable:r}=ad(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(ml(o)||oh(o))||a&&G(o))return!0}return!1}var ch=`4.5.1`,lh=[`top`,`bottom`,`left`,`right`,`chartArea`];function uh(e,t){return e===`top`||e===`bottom`||lh.indexOf(e)===-1&&t===`x`}function dh(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function fh(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),J(n&&n.onComplete,[e],t)}function ph(e){let t=e.chart,n=t.options.animation;J(n&&n.onProgress,[e],t)}function mh(e){return Nd()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var hh={},gh=e=>{let t=mh(e);return Object.values(hh).filter(e=>e.canvas===t).pop()};function _h(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function vh(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var yh=class{static defaults=Du;static instances=hh;static overrides=Cu;static registry=Im;static version=ch;static getChart=gh;static register(...e){Im.add(...e),bh()}static unregister(...e){Im.remove(...e),bh()}constructor(e,t){let n=this.config=new ih(t),r=mh(e),i=gh(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(um(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;if(this.id=Xc(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Lm,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=$l(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],hh[this.id]=this,!o||!s){console.error(`Failed to create chart: can't acquire context from the given item`);return}yf.listen(this,`complete`,fh),yf.listen(this,`progress`,ph),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return W(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Im}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():Kd(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return Mu(this.canvas,this.ctx),this}stop(){return yf.stop(this),this}resize(e,t){yf.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Kd(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),J(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Y(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=qm(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),Y(i,t=>{let i=t.options,a=i.id,o=qm(a,i),s=q(i.type,t.dtype);(i.position===void 0||uh(i.position,o)!==uh(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(Im.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),Y(r,(e,t)=>{e||delete n[t]}),Y(n,e=>{Vp.configure(this,e,e.options),Vp.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;et.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(dh(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Y(this.scales,e=>{Vp.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!hl(new Set(Object.keys(this._listeners)),new Set(e.events))||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)_h(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;ee.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;Vp.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],Y(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=vf(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&Iu(t,r),e.controller.draw(),r&&Lu(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Fu(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=wp.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=nd(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);pl(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),yf.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};Y(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){Y(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Y(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});tl(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=gl(e),c=vh(e,this._lastEvent,n,s);n&&(this._lastEvent=null,J(i.onHover,[e,o,this],this),s&&J(i.onClick,[e,o,this],this));let l=!tl(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function bh(){return Y(yh.instances,e=>e._plugins.invalidate())}function xh(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,Rl(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,Rl(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Rl(r-n));if(u===`round`)e.arc(i,a,t,n-X/2,r+X/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+X/2)+i,c=-o*Math.sin(n+X/2)+a,l=o*Math.cos(r+X/2)+i,u=o*Math.sin(r+X/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function Sh(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+bl,r-bl),e.closePath(),e.clip()}function Ch(e){return Yu(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function wh(e,t,n,r){let i=Ch(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return Bl(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:Bl(i.innerStart,0,o),innerEnd:Bl(i.innerEnd,0,o)}}function Th(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Eh(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/X)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=wh(t,f,d,_-g),S=d-v,C=d-y,w=g+v/S,T=_-y/C,E=f+b,ee=f+x,te=g+b/E,ne=_-x/ee;if(e.beginPath(),a){let t=(w+T)/2;if(e.arc(o,s,d,w,t),e.arc(o,s,d,t,T),y>0){let t=Th(C,T,o,s);e.arc(t.x,t.y,y,T,_+bl)}let n=Th(ee,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=Th(ee,ne,o,s);e.arc(t.x,t.y,x,_+bl,ne+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=Th(E,te,o,s);e.arc(t.x,t.y,b,te+Math.PI,g-bl)}let i=Th(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=Th(S,w,o,s);e.arc(t.x,t.y,v,g-bl,w)}}else{e.moveTo(o,s);let t=Math.cos(w)*d+o,n=Math.sin(w)*d+s;e.lineTo(t,n);let r=Math.cos(T)*d+o,i=Math.sin(T)*d+s;e.lineTo(r,i)}e.closePath()}function Dh(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){Eh(e,t,n,r,c,i);for(let t=0;t=X&&p===0&&u!==`miter`&&xh(e,t,h),a||(Eh(e,t,n,r,h,i),e.stroke())}var kh=class extends dm{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=Fl(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=q(l,o-a),f=zl(r,a,o)&&a!==o,p=d>=Z||f,m=Hl(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>Z?Math.floor(n/Z):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(X,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Dh(e,this,s,i,a),Oh(e,this,s,i,a),e.restore()}};function Ah(e,t,n=t){e.lineCap=q(n.borderCapStyle,t.borderCapStyle),e.setLineDash(q(n.borderDash,t.borderDash)),e.lineDashOffset=q(n.borderDashOffset,t.borderDashOffset),e.lineJoin=q(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=q(n.borderWidth,t.borderWidth),e.strokeStyle=q(n.borderColor,t.borderColor)}function jh(e,t,n){e.lineTo(n.x,n.y)}function Mh(e){return e.stepped?Ru:e.tension||e.cubicInterpolationMode===`monotone`?zu:jh}function Nh(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=is&&a>s;return{count:r,start:c,loop:t.loop,ilen:l(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(ng&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function Ih(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?Fh:Ph}function Lh(e){return e.stepped?Xd:e.tension||e.cubicInterpolationMode===`monotone`?Zd:Yd}function Rh(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),Ah(e,t.options),e.stroke(i)}function zh(e,t,n,r){let{segments:i,options:a}=t,o=Ih(t);for(let s of i)Ah(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var Bh=typeof Path2D==`function`;function Vh(e,t,n,r){Bh&&!t.options.segment?Rh(e,t,n,r):zh(e,t,n,r)}var Hh=class extends dm{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;Md(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=df(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=cf(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=Lh(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function rg(e){return tg[e%tg.length]}function ig(e){return ng[e%ng.length]}function ag(e,t){return e.borderColor=rg(t),e.backgroundColor=ig(t),++t}function og(e,t){return e.backgroundColor=e.data.map(()=>rg(t++)),t}function sg(e,t){return e.backgroundColor=e.data.map(()=>ig(t++)),t}function cg(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof up?t=og(n,t):i instanceof fp?t=sg(n,t):i&&(t=ag(n,t))}}function lg(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function ug(e){return e&&(e.borderColor||e.backgroundColor)}function dg(){return Du.borderColor!==`rgba(0,0,0,0.1)`||Du.backgroundColor!==`rgba(0,0,0,0.1)`}var fg={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=lg(r)||ug(i)||a&&lg(a)||dg();if(!n.forceOverride&&o)return;let s=cg(e);r.forEach(s)}};function pg(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;dp&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function mg(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;oh&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!W(d)&&!W(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function hg(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,`data`,{configurable:!0,enumerable:!0,writable:!0,value:t})}}function gg(e){e.data.datasets.forEach(e=>{hg(e)})}function _g(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=Bl(Wl(t,a.axis,o).lo,0,n-1)),i=l?Bl(Wl(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var vg={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){gg(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(ed([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=_g(s,c);if(d<=(n.threshold||4*r)){hg(t);return}W(a)&&(t._data=c,delete t.data,Object.defineProperty(t,`data`,{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=pg(c,u,d,r,n);break;case`min-max`:f=mg(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){gg(e)}};function yg(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=Sg(r,s,i);let c=bg(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=cf(t,c);for(let t of l){let r=bg(n,a[t.start],a[t.end],t.loop),s=sf(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:Cg(c,r,`start`,Math.max)},end:{[n]:Cg(c,r,`end`,Math.min)}})}}return o}function bg(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Rl(i),a=Rl(a)),{property:e,start:i,end:a}}function xg(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=Sg(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function Sg(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Cg(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function wg(e,t){let n=[],r=!1;return G(e)?(r=!0,n=e):n=xg(e,t),n.length?new Hh({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Tg(e){return e&&e.fill!==!1}function Eg(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Zc(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function Dg(e,t,n){let r=jg(e);if(K(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return Zc(i)&&Math.floor(i)===i?Og(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function Og(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function kg(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:K(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function Ag(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:K(e)?e.value:t.getBaseValue(),r}function jg(e){let t=e.options,n=t.fill,r=q(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function Mg(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=Ng(t,n);s.push(wg({x:null,y:t.bottom},r));for(let e=0;e=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&Hg(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;Tg(n)&&Hg(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;!Tg(r)||n.drawTime!==`beforeDatasetDraw`||Hg(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Xg=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},Zg=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Qg=class extends dm{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=J(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=$u(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Xg(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=$g(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=ef(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=tu(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=tu(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=tu(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=tu(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;Iu(e,this),this._draw(),Lu(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=Du.color,s=ef(e.rtl,this.left,this.width),c=$u(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=Xg(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=q(n.lineWidth,1);if(r.fillStyle=q(n.fillStyle,o),r.lineCap=q(n.lineCap,`butt`),r.lineDashOffset=q(n.lineDashOffset,0),r.lineJoin=q(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=q(n.strokeStyle,o),r.setLineDash(q(n.lineDash,[])),a.usePointStyle)Pu(r,{radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},s.xPlus(e,p/2),t+d,a.pointStyleWidth&&p);else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=Zu(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?Wu(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){Uu(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:tu(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:tu(i,this.top+y+l,this.bottom-t[0].height),line:0},tf(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,C=f.y;if(s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=tu(i,this.left+l,this.right-n[f.line])):u>0&&C+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,C=f.y=tu(i,this.top+y+l,this.bottom-t[f.line].height)),g(s.x(S),C,o),S=nu(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),C,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=n_(o,e)+l}else f.y+=b}),nf(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=$u(t.font),r=Qu(t.padding);if(!t.display)return;let i=ef(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=tu(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+tu(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=tu(o,u,u+d);a.textAlign=i.textAlign(eu(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Uu(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=$u(e.font),n=Qu(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(Hl(e,this.left,this.right)&&Hl(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;ne.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function t_(e,t,n){let r=e;return typeof t.text!=`string`&&(r=n_(t,n)),r}function n_(e,t){return t*(e.text?e.text.length:0)}function r_(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var i_={id:`legend`,_element:Qg,start(e,t,n){let r=e.legend=new Qg({ctx:e.ctx,options:n,chart:e});Vp.configure(e,r,n),Vp.addBox(e,r)},stop(e){Vp.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;Vp.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=Qu(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},a_=class extends dm{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=G(n.text)?n.text.length:1;this._padding=Qu(n.padding);let i=r*$u(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=tu(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=tu(o,r,t),s=X*-.5):(l=i-e,u=tu(o,t,r),s=X*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=$u(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);Uu(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:eu(t.align),textBaseline:`middle`,translation:[i,a]})}};function o_(e,t){let n=new a_({ctx:e.ctx,options:t,chart:e});Vp.configure(e,n,t),Vp.addBox(e,n),e.titleBlock=n}var s_={id:`title`,_element:a_,start(e,t,n){o_(e,n)},stop(e){let t=e.titleBlock;Vp.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;Vp.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},c_=new WeakMap,l_={id:`subtitle`,start(e,t,n){let r=new a_({ctx:e.ctx,options:n,chart:e});Vp.configure(e,r,n),Vp.addBox(e,r),c_.set(e,r)},stop(e){Vp.removeBox(e,c_.get(e)),c_.delete(e)},beforeUpdate(e,t,n){let r=c_.get(e);Vp.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},u_={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;te+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;a-1?e.split(` -`):e}function zg(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Bg(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=Tu(t.bodyFont),l=Tu(t.titleFont),u=Tu(t.footerFont),d=a.length,f=i.length,p=r.length,m=wu(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,Y(e.title,y),n.font=c.string,Y(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,Y(r,e=>{Y(e.before,y),Y(e.lines,y),Y(e.after,y)}),v=0,n.font=u.string,Y(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function Vg(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function Hg(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function Ug(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),Hg(l,e,t,n)&&(l=`center`),l}function Wg(e,t,n){let r=n.yAlign||t.yAlign||Vg(e,n);return{xAlign:n.xAlign||t.xAlign||Ug(e,t,n,r),yAlign:r}}function Gg(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function Kg(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function qg(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=Cu(o),m=Gg(t,s),h=Kg(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:fl(m,0,r.width-t.width),y:fl(h,0,r.height-t.height)}}function Jg(e,t,n){let r=wu(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function Yg(e){return Lg([],Rg(e))}function Xg(e,t,n){return Ou(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function Zg(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var Qg={beforeTitle:xc,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex{let t={before:[],lines:[],after:[]},i=Zg(n,e);Lg(t.before,Rg($g(i,`beforeLabel`,this,e))),Lg(t.lines,$g(i,`label`,this,e)),Lg(t.after,Rg($g(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return Yg($g(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=$g(n,`beforeFooter`,this,e),i=$g(n,`footer`,this,e),a=$g(n,`afterFooter`,this,e),o=[];return o=Lg(o,Rg(r)),o=Lg(o,Rg(i)),o=Lg(o,Rg(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;se.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),Y(o,t=>{let n=Zg(e.callbacks,t);r.push($g(n,`labelColor`,this,t)),i.push($g(n,`labelPointStyle`,this,t)),a.push($g(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=Ig[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=Bg(this,n),o=Object.assign({},e,t),s=Wg(this.chart,n,o),c=qg(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=Cu(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=Ed(n.rtl,this.x,this.width);for(e.x=Jg(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=Tu(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,gu(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),gu(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=Tu(n.bodyFont),d=u.lineHeight,f=0,p=Ed(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=Jg(this,h,n),t.fillStyle=n.bodyColor,Y(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=Ig[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=Bg(this,e),o=Object.assign({},n,this._size),s=Wg(t,e,o),c=qg(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=wu(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),Dd(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Od(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!Dc(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!Dc(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=Ig[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},t_=Object.freeze({__proto__:null,Colors:Rh,Decimation:Wh,Filler:xg,Legend:Ag,SubTitle:Fg,Title:Ng,Tooltip:{id:`tooltip`,_element:e_,positioners:Ig,afterInit(e,t,n){n&&(e.tooltip=new e_({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:Qg},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),n_=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function r_(e,t,n,r){let i=e.indexOf(t);return i===-1?n_(e,t,n,r):i===e.lastIndexOf(t)?i:n}var i_=(e,t)=>e===null?null:fl(Math.round(e),0,t);function a_(e){let t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function s_(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!W(a),_=!W(o),v=!W(c),y=(h-m)/(u+1),b=Qc((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=Qc(w*b/p/f)*f),W(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&nl((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=Zc(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(ol(b),ol(S));x=10**(W(s)?T:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let E=0;for(g&&(d&&S!==a?(n.push({value:a}),So)break;n.push({value:e})}return _&&d&&C!==o?n.length&&Zc(n[n.length-1].value,o,c_(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function c_(e,t,{horizontal:n,minRotation:r}){let i=il(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var l_=class extends rm{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return W(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=Xc(r),t=Xc(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=s_({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&rl(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return Wl(e,this.chart.options.locale,this.options.ticks.format)}},u_=class extends l_{static id=`linear`;static defaults={ticks:{callback:ql.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Cc(e)?e:0,this.max=Cc(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=il(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},d_=e=>Math.floor(Yc(e)),f_=(e,t)=>10**(d_(e)+t);function p_(e){return e/10**d_(e)==1}function m_(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function h_(e,t){let n=d_(t-e);for(;m_(e,t,n)>10;)n++;for(;m_(e,t,n)<10;)n--;return Math.min(n,d_(e))}function g_(e,{min:t,max:n}){t=wc(e.min,t);let r=[],i=d_(t),a=h_(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=wc(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=wc(e.max,f);return r.push({value:p,major:p_(p),significand:d}),r}var __=class extends rm{static id=`logarithmic`;static defaults={ticks:{callback:ql.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=l_.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return Cc(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Cc(e)?Math.max(0,e):null,this.max=Cc(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Cc(this._userMin)&&(this.min=e===f_(this.min,0)?f_(this.min,-1):f_(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(f_(n,-1)),a(f_(r,1)))),n<=0&&i(f_(r,-1)),r<=0&&a(f_(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=g_({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&rl(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:Wl(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=Yc(e),this._valueRange=Yc(this.max)-Yc(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Yc(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function v_(e){let t=e.ticks;if(t.display&&e.display){let e=wu(t.backdropPadding);return q(t.font&&t.font.size,$l.font.size)+e.height}return 0}function y_(e,t,n){return n=G(n)?n:[n],{w:nu(e,t.string,n),h:n.length*t.lineHeight}}function b_(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function x_(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?X/a:0;for(let c=0;ct.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.startt.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function C_(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(al(ul(c.angle+Kc))),u=O_(c.y,s.h,l),d=E_(l),f=D_(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function w_(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(su({x:n,y:r},t)||su({x:n,y:a},t)||su({x:i,y:r},t)||su({x:i,y:a},t))}function T_(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:v_(a)/2,additionalAngle:o?X/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function k_(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!W(s)){let n=Cu(t.borderRadius),c=wu(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),gu(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function A_(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));k_(n,a,t);let o=Tu(a.font),{x:s,y:c,textAlign:l}=t;hu(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function j_(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Z);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=J(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?x_(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=Z/(this._pointLabels.length||1),n=this.options.startAngle||0;return ul(e*t+il(n))}getDistanceFromCenterForValue(e){if(W(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(W(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);M_(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=Tu(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=wu(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}hu(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},F_={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},I_=Object.keys(F_);function L_(e,t){return e-t}function R_(e,t){if(W(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),Cc(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(tl(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function z_(e,t,n,r){let i=I_.length;for(let a=I_.indexOf(e);a=I_.indexOf(n);a--){let n=I_[a];if(F_[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return I_[n?I_.indexOf(n):0]}function V_(e){for(let t=I_.indexOf(e)+1,n=I_.length;t=t?n[r]:n[i];e[a]=!0}}function U_(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function W_(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=fl(t,0,a),n=fl(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||z_(i.minUnit,t,n,this._getLabelCapacity(t)),o=q(r.ticks.stepSize,1),s=a===`week`?i.isoWeekday:!1,c=tl(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return J(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=gl(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=gl(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var q_=class extends G_{static id=`timeseries`;static defaults=G_.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=K_(t,this.min),this._tableRange=K_(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;ae-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(K_(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return K_(this._table,n*this._tableRange+this._minPos,!0)}},J_=[zf,Eh,t_,Object.freeze({__proto__:null,CategoryScale:o_,LinearScale:u_,LogarithmicScale:__,RadialLinearScale:P_,TimeScale:G_,TimeSeriesScale:q_})];Gm.register(...J_);var Y_=Gm,X_={size:15,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Z_={size:10,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Q_={size:12,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},$_={size:15,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`bold`,style:`normal`},ev={size:25,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,weight:`bold`,style:`normal`,lineHeight:3},tv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},nv=class extends F{constructor(){super(),this.currentTheme=`dark`,this._themeHandler=()=>{this.readColors(),this.currentTheme=rv()}}readColors(){let e=getComputedStyle(this);this.primary=e.getPropertyValue(`--primary-color`).trim(),this.secondary=e.getPropertyValue(`--secondary-color`).trim(),this.tertiary=e.getPropertyValue(`--tertiary-color`).trim(),this.background=e.getPropertyValue(`--background-color`).trim(),this.error=e.getPropertyValue(`--error-color`).trim(),this.ok=e.getPropertyValue(`--terminal-text`).trim(),this.warn=e.getPropertyValue(`--warn-color`).trim(),this.color1=e.getPropertyValue(`--chart-color1`).trim(),this.color2=e.getPropertyValue(`--chart-color2`).trim(),this.color3=e.getPropertyValue(`--chart-color3`).trim(),this.color4=e.getPropertyValue(`--chart-color4`).trim(),this.color5=e.getPropertyValue(`--chart-color5`).trim()}firstUpdated(){this.readColors(),this.currentTheme=rv(),this.font=X_,this.smallFont=Z_,this.mediumFont=Q_,this.titleFont=ev,this.fontBold=$_,window.addEventListener(Zi,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Zi,this._themeHandler)}};tv([j()],nv.prototype,`currentTheme`,void 0);function rv(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var iv=[`#f83aff`,`rgba(98, 196, 255, 1)`,`rgba(248,58,255,0.47)`,`rgba(98, 196, 255, 0.8)`,`rgba(248,58,255,0.2)`,`rgba(98, 196, 255, 0.5)`],av=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.4)`,`rgba(0, 0, 0, 0.25)`,`rgba(0, 0, 0, 0.15)`,`rgba(0, 0, 0, 0.08)`,`rgba(0, 0, 0, 0.5)`],ov=[`#33ff33`,`rgba(102, 255, 102, 0.8)`,`rgba(51, 255, 51, 0.47)`,`rgba(102, 255, 102, 0.6)`,`rgba(51, 255, 51, 0.25)`,`rgba(102, 255, 102, 0.4)`],sv=[`#f83aff`,`#00FF00`,`#787878`],cv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],lv=[`#33ff33`,`#66ff66`,`#1a991a`],uv=[`#ff246b`,`rgba(98, 196, 255, 1)`],dv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],fv=[`#66ff66`,`#1a991a`],pv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},mv=class extends nv{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=iv,this.width=300,this.height=300,this.id=crypto.randomUUID(),this.firstRun=!0}dataChanged(){let e=JSON.stringify(this.datasets?.map(e=>e.data)),t=JSON.stringify(this.labels);return e!==this._prevDatasets||t!==this._prevLabels?(this._prevDatasets=e,this._prevLabels=t,!0):!1}refresh(){this.chart.update()}firstUpdated(){super.firstUpdated()}updated(e){if(!(!this.chart||e.has(`changesChart`)||e.has(`breakingChanges`)||e.has(`currentTheme`)||this.dataChanged()))return;this.chart&&this.chart.destroy();let t=this.currentTheme;this.changesChart?this.colors=t===`tektronix`?lv:t===`light`?cv:sv:this.breakingChanges?this.colors=t===`tektronix`?fv:t===`light`?dv:uv:this.colors=t===`tektronix`?ov:t===`light`?av:iv,this.datasets.forEach(e=>{e.backgroundColor=this.colors,e.borderColor=this.background});let n=!1;this.title&&(n=!0);let r=this.firstRun?1e3:250;this.chart=new Y_(this.shadowRoot?.querySelector(`#chart-`+this.id),{type:`doughnut`,data:{labels:this.labels,datasets:this.datasets},options:{animation:{duration:r},responsive:!0,maintainAspectRatio:!1,layout:{autoPadding:!1,padding:{top:0,bottom:0}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:n,text:this.title,font:this.titleFont,color:this.primary,align:`center`},legend:{display:this.showLegend,position:`right`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,generateLabels:e=>{let t=e.data;if(t.labels&&t.datasets.length){let e=t.datasets[0].backgroundColor||[];return t.labels.map((t,n)=>({text:t,fillStyle:e[n]||this.secondary,strokeStyle:e[n]||this.secondary,fontColor:e[n]||this.secondary,hidden:!1,index:n}))}return[]}}}}}}),this.firstRun=!1}render(){return N` +`):e}function p_(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function m_(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=$u(t.bodyFont),l=$u(t.titleFont),u=$u(t.footerFont),d=a.length,f=i.length,p=r.length,m=Qu(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,Y(e.title,y),n.font=c.string,Y(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,Y(r,e=>{Y(e.before,y),Y(e.lines,y),Y(e.after,y)}),v=0,n.font=u.string,Y(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function h_(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function g_(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function __(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),g_(l,e,t,n)&&(l=`center`),l}function v_(e,t,n){let r=n.yAlign||t.yAlign||h_(e,n);return{xAlign:n.xAlign||t.xAlign||__(e,t,n,r),yAlign:r}}function y_(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function b_(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function x_(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=Zu(o),m=y_(t,s),h=b_(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:Bl(m,0,r.width-t.width),y:Bl(h,0,r.height-t.height)}}function S_(e,t,n){let r=Qu(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function C_(e){return d_([],f_(e))}function w_(e,t,n){return nd(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function T_(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var E_={beforeTitle:Yc,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex{let t={before:[],lines:[],after:[]},i=T_(n,e);d_(t.before,f_(D_(i,`beforeLabel`,this,e))),d_(t.lines,D_(i,`label`,this,e)),d_(t.after,f_(D_(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return C_(D_(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=D_(n,`beforeFooter`,this,e),i=D_(n,`footer`,this,e),a=D_(n,`afterFooter`,this,e),o=[];return o=d_(o,f_(r)),o=d_(o,f_(i)),o=d_(o,f_(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;se.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),Y(o,t=>{let n=T_(e.callbacks,t);r.push(D_(n,`labelColor`,this,t)),i.push(D_(n,`labelPointStyle`,this,t)),a.push(D_(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=u_[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=m_(this,n),o=Object.assign({},e,t),s=v_(this.chart,n,o),c=x_(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=Zu(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=ef(n.rtl,this.x,this.width);for(e.x=S_(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=$u(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Wu(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Wu(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=$u(n.bodyFont),d=u.lineHeight,f=0,p=ef(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=S_(this,h,n),t.fillStyle=n.bodyColor,Y(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=u_[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=m_(this,e),o=Object.assign({},n,this._size),s=v_(t,e,o),c=x_(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=Qu(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),tf(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),nf(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!tl(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!tl(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=u_[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},k_=Object.freeze({__proto__:null,Colors:fg,Decimation:vg,Filler:Yg,Legend:i_,SubTitle:l_,Title:s_,Tooltip:{id:`tooltip`,_element:O_,positioners:u_,afterInit(e,t,n){n&&(e.tooltip=new O_({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:E_},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),A_=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function j_(e,t,n,r){let i=e.indexOf(t);return i===-1?A_(e,t,n,r):i===e.lastIndexOf(t)?i:n}var M_=(e,t)=>e===null?null:Bl(Math.round(e),0,t);function N_(e){let t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function F_(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!W(a),_=!W(o),v=!W(c),y=(h-m)/(u+1),b=El((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=El(w*b/p/f)*f),W(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&Al((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=Tl(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(Pl(b),Pl(S));x=10**(W(s)?T:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let E=0;for(g&&(d&&S!==a?(n.push({value:a}),So)break;n.push({value:e})}return _&&d&&C!==o?n.length&&Tl(n[n.length-1].value,o,I_(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function I_(e,t,{horizontal:n,minRotation:r}){let i=Ml(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var L_=class extends jm{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return W(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=wl(r),t=wl(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=F_({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&jl(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return vu(e,this.chart.options.locale,this.options.ticks.format)}},R_=class extends L_{static id=`linear`;static defaults={ticks:{callback:xu.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Zc(e)?e:0,this.max=Zc(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=Ml(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},z_=e=>Math.floor(Cl(e)),B_=(e,t)=>10**(z_(e)+t);function V_(e){return e/10**z_(e)==1}function H_(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function U_(e,t){let n=z_(t-e);for(;H_(e,t,n)>10;)n++;for(;H_(e,t,n)<10;)n--;return Math.min(n,z_(e))}function W_(e,{min:t,max:n}){t=Qc(e.min,t);let r=[],i=z_(t),a=U_(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=Qc(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=Qc(e.max,f);return r.push({value:p,major:V_(p),significand:d}),r}var G_=class extends jm{static id=`logarithmic`;static defaults={ticks:{callback:xu.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=L_.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return Zc(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Zc(e)?Math.max(0,e):null,this.max=Zc(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Zc(this._userMin)&&(this.min=e===B_(this.min,0)?B_(this.min,-1):B_(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(B_(n,-1)),a(B_(r,1)))),n<=0&&i(B_(r,-1)),r<=0&&a(B_(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=W_({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&jl(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:vu(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=Cl(e),this._valueRange=Cl(this.max)-Cl(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Cl(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function K_(e){let t=e.ticks;if(t.display&&e.display){let e=Qu(t.backdropPadding);return q(t.font&&t.font.size,Du.font.size)+e.height}return 0}function q_(e,t,n){return n=G(n)?n:[n],{w:Au(e,t.string,n),h:n.length*t.lineHeight}}function J_(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function Y_(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?X/a:0;for(let c=0;ct.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.startt.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function Z_(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(Nl(Rl(c.angle+bl))),u=nv(c.y,s.h,l),d=ev(l),f=tv(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function Q_(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Fu({x:n,y:r},t)||Fu({x:n,y:a},t)||Fu({x:i,y:r},t)||Fu({x:i,y:a},t))}function $_(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:K_(a)/2,additionalAngle:o?X/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function rv(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!W(s)){let n=Zu(t.borderRadius),c=Qu(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),Wu(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function iv(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));rv(n,a,t);let o=$u(a.font),{x:s,y:c,textAlign:l}=t;Uu(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function av(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Z);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=J(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?Y_(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=Z/(this._pointLabels.length||1),n=this.options.startAngle||0;return Rl(e*t+Ml(n))}getDistanceFromCenterForValue(e){if(W(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(W(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);ov(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=$u(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=Qu(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}Uu(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},lv={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},uv=Object.keys(lv);function dv(e,t){return e-t}function fv(e,t){if(W(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),Zc(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(kl(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function pv(e,t,n,r){let i=uv.length;for(let a=uv.indexOf(e);a=uv.indexOf(n);a--){let n=uv[a];if(lv[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return uv[n?uv.indexOf(n):0]}function hv(e){for(let t=uv.indexOf(e)+1,n=uv.length;t=t?n[r]:n[i];e[a]=!0}}function _v(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function vv(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=Bl(t,0,a),n=Bl(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||pv(i.minUnit,t,n,this._getLabelCapacity(t)),o=q(r.ticks.stepSize,1),s=a===`week`?i.isoWeekday:!1,c=kl(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return J(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=Wl(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=Wl(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var xv=class extends yv{static id=`timeseries`;static defaults=yv.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=bv(t,this.min),this._tableRange=bv(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;ae-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(bv(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return bv(this._table,n*this._tableRange+this._minPos,!0)}},Sv=[pp,eg,k_,Object.freeze({__proto__:null,CategoryScale:P_,LinearScale:R_,LogarithmicScale:G_,RadialLinearScale:cv,TimeScale:yv,TimeSeriesScale:xv})];yh.register(...Sv);var Cv=yh,wv={size:15,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Tv={size:10,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Ev={size:12,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Dv={size:15,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`bold`,style:`normal`},Ov={size:25,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,weight:`bold`,style:`normal`,lineHeight:3},kv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Av=class extends F{constructor(){super(),this.currentTheme=`dark`,this._themeHandler=()=>{this.readColors(),this.currentTheme=jv()}}readColors(){let e=getComputedStyle(this);this.primary=e.getPropertyValue(`--primary-color`).trim(),this.secondary=e.getPropertyValue(`--secondary-color`).trim(),this.tertiary=e.getPropertyValue(`--tertiary-color`).trim(),this.background=e.getPropertyValue(`--background-color`).trim(),this.error=e.getPropertyValue(`--error-color`).trim(),this.ok=e.getPropertyValue(`--terminal-text`).trim(),this.warn=e.getPropertyValue(`--warn-color`).trim(),this.color1=e.getPropertyValue(`--chart-color1`).trim(),this.color2=e.getPropertyValue(`--chart-color2`).trim(),this.color3=e.getPropertyValue(`--chart-color3`).trim(),this.color4=e.getPropertyValue(`--chart-color4`).trim(),this.color5=e.getPropertyValue(`--chart-color5`).trim()}firstUpdated(){this.readColors(),this.currentTheme=jv(),this.font=wv,this.smallFont=Tv,this.mediumFont=Ev,this.titleFont=Ov,this.fontBold=Dv,window.addEventListener(Zi,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Zi,this._themeHandler)}};kv([j()],Av.prototype,`currentTheme`,void 0);function jv(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var Mv=[`#f83aff`,`rgba(98, 196, 255, 1)`,`rgba(248,58,255,0.47)`,`rgba(98, 196, 255, 0.8)`,`rgba(248,58,255,0.2)`,`rgba(98, 196, 255, 0.5)`],Nv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.4)`,`rgba(0, 0, 0, 0.25)`,`rgba(0, 0, 0, 0.15)`,`rgba(0, 0, 0, 0.08)`,`rgba(0, 0, 0, 0.5)`],Pv=[`#33ff33`,`rgba(102, 255, 102, 0.8)`,`rgba(51, 255, 51, 0.47)`,`rgba(102, 255, 102, 0.6)`,`rgba(51, 255, 51, 0.25)`,`rgba(102, 255, 102, 0.4)`],Fv=[`#f83aff`,`#00FF00`,`#787878`],Iv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],Lv=[`#33ff33`,`#66ff66`,`#1a991a`],Rv=[`#ff246b`,`rgba(98, 196, 255, 1)`],zv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],Bv=[`#66ff66`,`#1a991a`],Vv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Hv=class extends Av{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=Mv,this.width=300,this.height=300,this.id=crypto.randomUUID(),this.firstRun=!0}dataChanged(){let e=JSON.stringify(this.datasets?.map(e=>e.data)),t=JSON.stringify(this.labels);return e!==this._prevDatasets||t!==this._prevLabels?(this._prevDatasets=e,this._prevLabels=t,!0):!1}refresh(){this.chart.update()}firstUpdated(){super.firstUpdated()}updated(e){if(!(!this.chart||e.has(`changesChart`)||e.has(`breakingChanges`)||e.has(`currentTheme`)||this.dataChanged()))return;this.chart&&this.chart.destroy();let t=this.currentTheme;this.changesChart?this.colors=t===`tektronix`?Lv:t===`light`?Iv:Fv:this.breakingChanges?this.colors=t===`tektronix`?Bv:t===`light`?zv:Rv:this.colors=t===`tektronix`?Pv:t===`light`?Nv:Mv,this.datasets.forEach(e=>{e.backgroundColor=this.colors,e.borderColor=this.background});let n=!1;this.title&&(n=!0);let r=this.firstRun?1e3:250;this.chart=new Cv(this.shadowRoot?.querySelector(`#chart-`+this.id),{type:`doughnut`,data:{labels:this.labels,datasets:this.datasets},options:{animation:{duration:r},responsive:!0,maintainAspectRatio:!1,layout:{autoPadding:!1,padding:{top:0,bottom:0}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:n,text:this.title,font:this.titleFont,color:this.primary,align:`center`},legend:{display:this.showLegend,position:`right`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,generateLabels:e=>{let t=e.data;if(t.labels&&t.datasets.length){let e=t.datasets[0].backgroundColor||[];return t.labels.map((t,n)=>({text:t,fillStyle:e[n]||this.secondary,strokeStyle:e[n]||this.secondary,fontColor:e[n]||this.secondary,hidden:!1,index:n}))}return[]}}}}}}),this.firstRun=!1}render(){return N` - `}};pv([A()],mv.prototype,`title`,void 0),pv([A()],mv.prototype,`datasets`,void 0),pv([A()],mv.prototype,`labels`,void 0),pv([A({type:Number})],mv.prototype,`width`,void 0),pv([A({type:Number})],mv.prototype,`height`,void 0),pv([A({type:Boolean})],mv.prototype,`changesChart`,void 0),pv([A({type:Boolean})],mv.prototype,`showLegend`,void 0),pv([A({type:Boolean})],mv.prototype,`breakingChanges`,void 0),mv=pv([O(`pb33f-doughnut-chart`)],mv);var hv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},gv=class extends nv{constructor(){super(),this.title=`chart`,this.legend=!1,this.height=458,this.smallTitle=!1,this.stepSize=1,this.chartType=`line`}computeSuggestedMax(){if(!this.datasets||this.datasets.length===0)return;let e=0;for(let t of this.datasets)if(t.data)for(let n of t.data)n>e&&(e=n);return Math.ceil(e*1.1)}updateChart(){this.chart&&this.chart.data&&this.datasets&&this.datasets.length>0&&(this.chart.data.labels=this.labels,this.chart.data.datasets=this.datasets,this.chart.update())}buildChart(){let e=this.titleFont;this.smallTitle&&(e=this.fontBold),this.chart&&this.chart.destroy(),this.chart=new Y_(this.shadowRoot?.querySelector(`#chart`),{type:this.chartType,data:{labels:this.labels,datasets:this.datasets},options:{responsive:!0,maintainAspectRatio:!1,elements:{point:{borderColor:this.secondary,backgroundColor:this.secondary,pointStyle:`rect`,radius:4}},scales:{x:{ticks:{font:this.smallFont,color:this.secondary},border:{color:this.secondary}},y:{min:0,suggestedMax:this.computeSuggestedMax(),ticks:{stepSize:this.stepSize,font:this.font,color:this.secondary},border:{color:this.secondary}}},layout:{autoPadding:!1,padding:{top:20,bottom:20}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:!0,text:this.title,font:e,color:this.primary,align:`start`},legend:{display:this.legend,position:`bottom`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,pointStyle:`line`,boxHeight:1}}}}})}connectedCallback(){super.connectedCallback(),!this.chart&&this.hasUpdated&&this.updateComplete.then(()=>this.buildChart())}disconnectedCallback(){super.disconnectedCallback(),this.chart&&=(this.chart.destroy(),null)}resize(){this.chart?.resize()}firstUpdated(){super.firstUpdated(),this.buildChart()}updated(e){e.has(`currentTheme`)&&this.chart&&this.buildChart()}render(){return N` + `}};Vv([A()],Hv.prototype,`title`,void 0),Vv([A()],Hv.prototype,`datasets`,void 0),Vv([A()],Hv.prototype,`labels`,void 0),Vv([A({type:Number})],Hv.prototype,`width`,void 0),Vv([A({type:Number})],Hv.prototype,`height`,void 0),Vv([A({type:Boolean})],Hv.prototype,`changesChart`,void 0),Vv([A({type:Boolean})],Hv.prototype,`showLegend`,void 0),Vv([A({type:Boolean})],Hv.prototype,`breakingChanges`,void 0),Hv=Vv([O(`pb33f-doughnut-chart`)],Hv);var Uv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Wv=class extends Av{constructor(){super(),this.title=`chart`,this.legend=!1,this.height=458,this.smallTitle=!1,this.stepSize=1,this.chartType=`line`}computeSuggestedMax(){if(!this.datasets||this.datasets.length===0)return;let e=0;for(let t of this.datasets)if(t.data)for(let n of t.data)n>e&&(e=n);return Math.ceil(e*1.1)}updateChart(){this.chart&&this.chart.data&&this.datasets&&this.datasets.length>0&&(this.chart.data.labels=this.labels,this.chart.data.datasets=this.datasets,this.chart.update())}buildChart(){let e=this.titleFont;this.smallTitle&&(e=this.fontBold),this.chart&&this.chart.destroy(),this.chart=new Cv(this.shadowRoot?.querySelector(`#chart`),{type:this.chartType,data:{labels:this.labels,datasets:this.datasets},options:{responsive:!0,maintainAspectRatio:!1,elements:{point:{borderColor:this.secondary,backgroundColor:this.secondary,pointStyle:`rect`,radius:4}},scales:{x:{ticks:{font:this.smallFont,color:this.secondary},border:{color:this.secondary}},y:{min:0,suggestedMax:this.computeSuggestedMax(),ticks:{stepSize:this.stepSize,font:this.font,color:this.secondary},border:{color:this.secondary}}},layout:{autoPadding:!1,padding:{top:20,bottom:20}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:!0,text:this.title,font:e,color:this.primary,align:`start`},legend:{display:this.legend,position:`bottom`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,pointStyle:`line`,boxHeight:1}}}}})}connectedCallback(){super.connectedCallback(),!this.chart&&this.hasUpdated&&this.updateComplete.then(()=>this.buildChart())}disconnectedCallback(){super.disconnectedCallback(),this.chart&&=(this.chart.destroy(),null)}resize(){this.chart?.resize()}firstUpdated(){super.firstUpdated(),this.buildChart()}updated(e){e.has(`currentTheme`)&&this.chart&&this.buildChart()}render(){return N`
- `}};gv.styles=k` + `}};Wv.styles=k` :host { display: block; width: 100%; @@ -4830,7 +4883,7 @@ .chart-container { position: relative; width: 100%; - }`,hv([A()],gv.prototype,`title`,void 0),hv([A()],gv.prototype,`datasets`,void 0),hv([A()],gv.prototype,`labels`,void 0),hv([A({type:Boolean})],gv.prototype,`legend`,void 0),hv([A({type:Boolean})],gv.prototype,`smallTitle`,void 0),hv([A({type:Number})],gv.prototype,`height`,void 0),hv([A({type:Number})],gv.prototype,`width`,void 0),hv([A({type:Number})],gv.prototype,`stepSize`,void 0),hv([A()],gv.prototype,`chartType`,void 0),gv=hv([O(`pb33f-chart`)],gv);var _v=k` + }`,Uv([A()],Wv.prototype,`title`,void 0),Uv([A()],Wv.prototype,`datasets`,void 0),Uv([A()],Wv.prototype,`labels`,void 0),Uv([A({type:Boolean})],Wv.prototype,`legend`,void 0),Uv([A({type:Boolean})],Wv.prototype,`smallTitle`,void 0),Uv([A({type:Number})],Wv.prototype,`height`,void 0),Uv([A({type:Number})],Wv.prototype,`width`,void 0),Uv([A({type:Number})],Wv.prototype,`stepSize`,void 0),Uv([A()],Wv.prototype,`chartType`,void 0),Wv=Uv([O(`pb33f-chart`)],Wv);var Gv=k` .timeline-item { display: flex; padding-top: 5px; @@ -4972,7 +5025,7 @@ } -`,vv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},yv=class extends F{constructor(){super(),this.large=!1,this.selected=!1,this.hideScore=!1}render(){N``;let e=N` +`,Kv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},qv=class extends F{constructor(){super(),this.large=!1,this.selected=!1,this.hideScore=!1}render(){N``;let e=N` `,t=!1;this.specSummary.breakingChanges&&this.specSummary.breakingChanges>0&&(e=N` ${this.specSummary.breakingChanges} `,t=!0);let n=N` @@ -5028,7 +5081,7 @@
`}
- `}additionalWidth(e){return e?e>=1e5?this.large?`sext-large`:`sext`:e>=1e4?this.large?`quint-large`:`quint`:e>=1e3?this.large?`quad-large`:`quad`:e>=100?this.large?`triple-large`:`triple`:`no`+e:`gip`}};yv.styles=[_v,Yn],vv([A()],yv.prototype,`specSummary`,void 0),vv([A()],yv.prototype,`large`,void 0),vv([A()],yv.prototype,`selected`,void 0),vv([A({type:Boolean})],yv.prototype,`hideScore`,void 0),yv=vv([O(`pb33f-spec-summary-timeline-item`)],yv);var bv=k` + `}additionalWidth(e){return e?e>=1e5?this.large?`sext-large`:`sext`:e>=1e4?this.large?`quint-large`:`quint`:e>=1e3?this.large?`quad-large`:`quad`:e>=100?this.large?`triple-large`:`triple`:`no`+e:`gip`}};qv.styles=[Gv,Yn],Kv([A()],qv.prototype,`specSummary`,void 0),Kv([A()],qv.prototype,`large`,void 0),Kv([A()],qv.prototype,`selected`,void 0),Kv([A({type:Boolean})],qv.prototype,`hideScore`,void 0),qv=Kv([O(`pb33f-spec-summary-timeline-item`)],qv);var Jv=k` pb33f-timeline-item { width: 100%; @@ -5085,7 +5138,7 @@ } } -`,xv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Sv=class extends F{constructor(){super(),this.skinny=!1}render(){return N` +`,Yv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Xv=class extends F{constructor(){super(),this.skinny=!1}render(){return N`
@@ -5093,7 +5146,7 @@
- `}};Sv.styles=bv,xv([A({type:Boolean})],Sv.prototype,`skinny`,void 0),Sv=xv([O(`pb33f-timeline`)],Sv);var Cv=k` + `}};Xv.styles=Jv,Yv([A({type:Boolean})],Xv.prototype,`skinny`,void 0),Xv=Yv([O(`pb33f-timeline`)],Xv);var Zv=k` :host { display: flex; position: relative; @@ -5201,7 +5254,7 @@ } -`,wv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Tv=class extends F{constructor(){super(),this.skinny=!1}render(){return this.skinny?N` +`,Qv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},$v=class extends F{constructor(){super(),this.skinny=!1}render(){return this.skinny?N`
@@ -5223,7 +5276,7 @@
-
`}};Tv.styles=Cv,wv([A({type:Boolean})],Tv.prototype,`skinny`,void 0),Tv=wv([O(`pb33f-timeline-item`)],Tv);var Ev=k` +
`}};$v.styles=Zv,Qv([A({type:Boolean})],$v.prototype,`skinny`,void 0),$v=Qv([O(`pb33f-timeline-item`)],$v);var ey=k` a, a:visited, a:active { text-decoration: none; color: var(--primary-color); @@ -5346,7 +5399,7 @@ to { opacity: 0; } - }`,Dv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ov=class extends F{constructor(){super(),this.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,this.fluid=!1}render(){return N` + }`,ty=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ny=class extends F{constructor(){super(),this.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,this.fluid=!1}render(){return N`
`}};Ov.styles=Ev,Dv([A()],Ov.prototype,`name`,void 0),Dv([A()],Ov.prototype,`url`,void 0),Dv([A({type:Boolean})],Ov.prototype,`wide`,void 0),Dv([A({type:Boolean})],Ov.prototype,`fluid`,void 0),Ov=Dv([O(`pb33f-header`)],Ov);var kv=k` + `}};ny.styles=ey,ty([A()],ny.prototype,`name`,void 0),ty([A()],ny.prototype,`url`,void 0),ty([A({type:Boolean})],ny.prototype,`wide`,void 0),ty([A({type:Boolean})],ny.prototype,`fluid`,void 0),ny=ty([O(`pb33f-header`)],ny);var ry=k` footer { padding: var(--footer-padding); width: 100vw; @@ -5380,11 +5433,11 @@ font-weight: normal; color: var(--font-color-sub2); } -`,Av=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},jv=class extends F{constructor(){super(),this.url=`https://pb33f.io`,this.build=``,this.fluid=!1}render(){return N` +`,iy=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ay=`https://pb33f.io`,oy=`princess b33f heavy industries`,sy=class extends F{constructor(){super(),this.url=ay,this.linkTitle=oy,this.build=``,this.fluid=!1}render(){let e=this.linkTitle||`princess b33f heavy industries`;return N` `}};jv.styles=[kv,Oa],Av([A()],jv.prototype,`build`,void 0),Av([A()],jv.prototype,`url`,void 0),Av([A({type:Boolean,reflect:!0})],jv.prototype,`fluid`,void 0),jv=Av([O(`pb33f-footer`)],jv);var Mv=k` + ${e} + ${this.build?N`${this.build}`:``} + `}};sy.styles=[ry,Oa],iy([A()],sy.prototype,`build`,void 0),iy([A()],sy.prototype,`url`,void 0),iy([A({attribute:`link-title`})],sy.prototype,`linkTitle`,void 0),iy([A({type:Boolean,reflect:!0})],sy.prototype,`fluid`,void 0),sy=iy([O(`pb33f-footer`)],sy);var cy=k` :host { display: inline-flex; @@ -5402,7 +5455,7 @@ text-shadow: 0 0 8px rgba(51, 255, 51, 0.6); } -`,Nv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Pv=`tektronix`,Fv=`pb33f-theme`,Iv=`pb33f-base-theme`,Lv=class extends F{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?Pv:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(Fv);e===`tektronix`?(this.tektronixActive=!0,this.baseTheme=localStorage.getItem(Iv)===`light`?`light`:`dark`):(this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`),this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(Fv,e),localStorage.setItem(Iv,this.baseTheme);let t=document.querySelector(`html`);t&&(t.setAttribute(`theme`,e),e===`light`?t.classList.remove(`sl-theme-dark`):t.classList.add(`sl-theme-dark`))}dispatchThemeChange(){window.dispatchEvent(new CustomEvent(Zi,{detail:{theme:this.activeTheme}}))}toggleTheme(){this.baseTheme=this.baseTheme===`dark`?`light`:`dark`,this.tektronixActive&&=!1,this.applyTheme(),this.dispatchThemeChange()}toggleTektronix(){this.tektronixActive=!this.tektronixActive,this.applyTheme(),this.dispatchThemeChange()}render(){let e=this.baseTheme===`dark`?`sun`:`moon`,t=this.baseTheme===`dark`?`Switch to Roger Mode (light)`:`Switch to PB33F Mode (dark)`,n=this.tektronixActive?`Disable Tektronix 4010 Mode`:`Enable Tektronix 4010 Mode`;return N` +`,ly=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},uy=`tektronix`,dy=`pb33f-theme`,fy=`pb33f-base-theme`,py=class extends F{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?uy:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(dy);e===`tektronix`?(this.tektronixActive=!0,this.baseTheme=localStorage.getItem(fy)===`light`?`light`:`dark`):(this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`),this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(dy,e),localStorage.setItem(fy,this.baseTheme);let t=document.querySelector(`html`);t&&(t.setAttribute(`theme`,e),e===`light`?t.classList.remove(`sl-theme-dark`):t.classList.add(`sl-theme-dark`))}dispatchThemeChange(){window.dispatchEvent(new CustomEvent(Zi,{detail:{theme:this.activeTheme}}))}toggleTheme(){this.baseTheme=this.baseTheme===`dark`?`light`:`dark`,this.tektronixActive&&=!1,this.applyTheme(),this.dispatchThemeChange()}toggleTektronix(){this.tektronixActive=!this.tektronixActive,this.applyTheme(),this.dispatchThemeChange()}render(){let e=this.baseTheme===`dark`?`sun`:`moon`,t=this.baseTheme===`dark`?`Switch to Roger Mode (light)`:`Switch to PB33F Mode (dark)`,n=this.tektronixActive?`Disable Tektronix 4010 Mode`:`Enable Tektronix 4010 Mode`;return N` - `}};Lv.styles=[Mv,Yn],Nv([j()],Lv.prototype,`baseTheme`,void 0),Nv([j()],Lv.prototype,`tektronixActive`,void 0),Lv=Nv([O(`pb33f-theme-switcher`)],Lv);function Rv(e){switch(e.toLowerCase()){case`get`:return`success`;case`post`:return`primary`;case`put`:return`primary`;case`delete`:return`danger`;case`patch`:return`warning`;case`query`:return`primary`;default:return`neutral`}}var zv=k` + `}};py.styles=[cy,Yn],ly([j()],py.prototype,`baseTheme`,void 0),ly([j()],py.prototype,`tektronixActive`,void 0),py=ly([O(`pb33f-theme-switcher`)],py);function my(e){switch(e.toLowerCase()){case`get`:return`success`;case`post`:return`primary`;case`put`:return`primary`;case`delete`:return`danger`;case`patch`:return`warning`;case`query`:return`primary`;default:return`neutral`}}var hy=k` :host { --http-get-color: var(--terminal-text); --http-get-border-color: var(--ok-color-lowalpha); @@ -5554,11 +5607,11 @@ --http-trace-color: #6b7280; --http-query-color: #2563eb; } -`,Bv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Vv={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},Hv=class extends F{constructor(){super(),this.mode=``,this.lower=!1,this.method=`GET`}render(){if(this.mode===`nav-naked`){let e=this.method.toUpperCase(),t=Vv[e]??e;return N`${t}`}let e=`medium`;this.large&&(e=`large`),this.tiny&&(e=`small`),this.micro&&(e=`small`);let t=this.method.toLowerCase(),n=this.micro?`method ${e} micro ${t}`:`method ${e} ${t}`;return N` - =0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_y={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},vy=class extends F{constructor(){super(),this.mode=``,this.lower=!1,this.method=`GET`}render(){if(this.mode===`nav-naked`){let e=this.method.toUpperCase(),t=_y[e]??e;return N`${t}`}let e=`medium`;this.large&&(e=`large`),this.tiny&&(e=`small`),this.micro&&(e=`small`);let t=this.method.toLowerCase(),n=this.micro?`method ${e} micro ${t}`:`method ${e} ${t}`;return N` + ${this.lower?this.method.toLowerCase():this.method.toUpperCase()} - `}};Hv.styles=zv,Bv([A()],Hv.prototype,`method`,void 0),Bv([A({type:Boolean})],Hv.prototype,`lower`,void 0),Bv([A({type:Boolean})],Hv.prototype,`large`,void 0),Bv([A({type:Boolean})],Hv.prototype,`tiny`,void 0),Bv([A({type:Boolean})],Hv.prototype,`micro`,void 0),Bv([A({reflect:!0})],Hv.prototype,`mode`,void 0),Hv=Bv([O(`pb33f-http-method`)],Hv);var Uv=k` + `}};vy.styles=hy,gy([A()],vy.prototype,`method`,void 0),gy([A({type:Boolean})],vy.prototype,`lower`,void 0),gy([A({type:Boolean})],vy.prototype,`large`,void 0),gy([A({type:Boolean})],vy.prototype,`tiny`,void 0),gy([A({type:Boolean})],vy.prototype,`micro`,void 0),gy([A({reflect:!0})],vy.prototype,`mode`,void 0),vy=gy([O(`pb33f-http-method`)],vy);var yy=k` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5597,7 +5650,7 @@ .nowrap { display: inline-block; } -`,Wv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Gv=class extends F{constructor(){super(),this.path=`/`,this.nowrap=!1}replaceBrackets(){let e=/\{([\w$.#/]+)\}/g,t=this.nowrap?` nowrap`:``,n=this.formatSlashes(this.path).replace(e,(e,n)=>`{${n}}`);return this.nowrap?N`
${Nt(n)}
`:N`${Nt(n)}`}formatSlashes(e){return e.replaceAll(`/`,`/`)}render(){return N`${this.replaceBrackets()}`}};Gv.styles=Uv,Wv([A()],Gv.prototype,`path`,void 0),Wv([A({type:Boolean})],Gv.prototype,`nowrap`,void 0),Gv=Wv([O(`pb33f-render-operation-path`)],Gv);var Kv=k` +`,by=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},xy=class extends F{constructor(){super(),this.path=`/`,this.nowrap=!1}replaceBrackets(){let e=/\{([\w$.#/]+)\}/g,t=this.nowrap?` nowrap`:``,n=this.formatSlashes(this.path).replace(e,(e,n)=>`{${n}}`);return this.nowrap?N`
${Nt(n)}
`:N`${Nt(n)}`}formatSlashes(e){return e.replaceAll(`/`,`/`)}render(){return N`${this.replaceBrackets()}`}};xy.styles=yy,by([A()],xy.prototype,`path`,void 0),by([A({type:Boolean})],xy.prototype,`nowrap`,void 0),xy=by([O(`pb33f-render-operation-path`)],xy);var Sy=k` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5689,7 +5742,7 @@ -`,qv=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Jv=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,Yv=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,Xv=class extends F{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=Jv.exec(e))!==null;)t.forEach((e,t)=>{e!==void 0&&(t===1||t===4)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&(t===2||t===5)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&t===3&&(n=n.replaceAll(e,``+e+``))});return n}breakPath(){if(!this.path)return N`{no path}`;let e=this.path.split(`.`);e.length>0&&e[0]==`$`&&(e=e.slice(1,e.length));let t=e.join(`.`),n=t,r=new Map,i;for(;(i=Yv.exec(n))!==null;){let e=Zv(Yv.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(Yv.lastIndex)}t=t.replaceAll(`.`,`.`),r.forEach((e,n)=>{let r=[];e[1]!==void 0&&r.push(``+e[1]+``),e[2]!==void 0&&r.push(e[2]),e[3]!==void 0&&r.push(``+this.replaceBrackets(e[3])+``),e[4]!==void 0&&r.push(e[4]),e[5]!==void 0&&r.push(``+e[5]+``);let i=r.join(``);t=t.replaceAll(n,i)});let a=t;return a=a.replaceAll(`$`,`$`),a===``&&(a=`{no path available}`),N`${Nt(a.toString())}`}render(){return N`${this.breakPath()}`}};Xv.styles=Kv,qv([A()],Xv.prototype,`path`,void 0),qv([A({type:Boolean})],Xv.prototype,`selected`,void 0),Xv=qv([O(`pb33f-render-json-path`)],Xv);function Zv(e,t){let n=``;for(let r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n}var Qv=k` +`,Cy=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},wy=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,Ty=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,Ey=class extends F{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=wy.exec(e))!==null;)t.forEach((e,t)=>{e!==void 0&&(t===1||t===4)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&(t===2||t===5)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&t===3&&(n=n.replaceAll(e,``+e+``))});return n}breakPath(){if(!this.path)return N`{no path}`;let e=this.path.split(`.`);e.length>0&&e[0]==`$`&&(e=e.slice(1,e.length));let t=e.join(`.`),n=t,r=new Map,i;for(;(i=Ty.exec(n))!==null;){let e=Dy(Ty.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(Ty.lastIndex)}t=t.replaceAll(`.`,`.`),r.forEach((e,n)=>{let r=[];e[1]!==void 0&&r.push(``+e[1]+``),e[2]!==void 0&&r.push(e[2]),e[3]!==void 0&&r.push(``+this.replaceBrackets(e[3])+``),e[4]!==void 0&&r.push(e[4]),e[5]!==void 0&&r.push(``+e[5]+``);let i=r.join(``);t=t.replaceAll(n,i)});let a=t;return a=a.replaceAll(`$`,`$`),a===``&&(a=`{no path available}`),N`${Nt(a.toString())}`}render(){return N`${this.breakPath()}`}};Ey.styles=Sy,Cy([A()],Ey.prototype,`path`,void 0),Cy([A({type:Boolean})],Ey.prototype,`selected`,void 0),Ey=Cy([O(`pb33f-render-json-path`)],Ey);function Dy(e,t){let n=``;for(let r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n}var Oy=k` .change-card { border-bottom: 1px dashed var(--secondary-color-dimmer); background: var(--background-color); @@ -5880,7 +5933,7 @@ .line-content .gi { color: var(--terminal-text); font-family: var(--font-stack-bold), monospace; } .line-content .ge { text-decoration: underline; } .line-content .gh, .line-content .gu { font-family: var(--font-stack-bold), monospace; } -`,$v=[Qv,Zo,k` +`,ky=[Oy,Ts,k` :host { display: block; overflow: hidden; @@ -6049,11 +6102,11 @@ background: var(--secondary-color); color: var(--background-color); } -`],ey=10,ty=500,ny=1,ry=2,iy=3,ay=4,oy=5;function sy(e,t,n,r,i,a=ey){let o=cy(t),s=cy(n);return(e||[]).map((e,t)=>{let n=my(e),c=_y(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${Cy(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function cy(e){if(!e)return[];let t=e.split(` -`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function ly(e){return{start:e,end:e}}function uy(e,t){if(t<=0||e.length===0||t>e.length)return{start:t,end:t};let n=t-1,r=jy(e[n]),i=n;for(let t=n-1;t>=0;t--){let n=e[t];if(!My(n)&&jy(n)e.length)return{start:t,end:t};let n=t-1,r=fy(e,n,n,jy(e[n]));return{start:t,end:Math.max(t,r+1)}}function fy(e,t,n,r){let i=t;for(let a=t+1;ar){i=a;continue}break}for(;i>n&&My(e[i]);)i--;if(i+10;){if(Dy(e,n,r))return dy(e,n);let t=Oy(e,n,r);if(t>0)return dy(e,t);let i=ky(e,n);if(i<=0||i===n)break;n=i}}return uy(e,t)}function my(e){let t=yy(e),n=by(e);switch(e.change){case ry:case iy:return hy(`Added Value`,`added`,n);case ay:case oy:return hy(`Removed Value`,`removed`,t);case ny:{let e=[];return t&&e.push({title:`Original Value`,tone:`removed`,lines:gy(t)}),n&&e.push({title:`Modified Value`,tone:`added`,lines:gy(n)}),e}default:return[]}}function hy(e,t,n){return n?[{title:e,tone:t,lines:gy(n)}]:[]}function gy(e){let t=e.split(` -`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function _y(e,t,n,r,i,a=ey){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=Sy(e);switch(e.change){case ry:case iy:c>0&&o.push(vy(`Modified Context`,`added`,n,i,py(n,c,e),a));break;case ay:case oy:s>0&&o.push(vy(`Original Context`,`removed`,t,r,py(t,s,e),a));break;case ny:s>0&&o.push(vy(`Original Context`,`removed`,t,r,l?py(t,s,e):ly(s),a)),c>0&&o.push(vy(`Modified Context`,`added`,n,i,l?py(n,c,e):ly(c),a));break;default:break}return o}function vy(e,t,n,r,i,a=ey){let o=Math.max(1,i.start-a),s=Math.min(n.length,i.end+a),c=[];for(let e=o;e<=s;e++)c.push({lineNum:e,content:n[e-1]||``,highlightedContent:r[e],emphasis:e===i.start?`primary`:e>i.start&&e<=i.end?`range`:`normal`});return{title:e,tone:t,lines:c}}function yy(e){return e.originalEncoded?e.originalEncoded:xy(e.original)}function by(e){return e.newEncoded?e.newEncoded:xy(e.new)}function xy(e){if(e==null)return``;if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`)return String(e);try{return JSON.stringify(e,null,2)}catch{return String(e)}}function Sy(e){return yy(e).includes(` -`)||by(e).includes(` -`)}function Cy(e){switch(e){case ry:case iy:return`Added`;case ay:case oy:return`Removed`;case ny:default:return`Modified`}}function wy(e){return e>=ny&&e<=oy}function Ty(e){let t=new Set,n=[],r=e=>{let r=Ey(e);!r||t.has(r)||(t.add(r),n.push(r))};return r(e.property||``),r(yy(e)),r(by(e)),n}function Ey(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function Dy(e,t,n){if(t<=0||t>e.length||n.length===0)return!1;let r=Ay(e[t-1]);return r?n.includes(r):!1}function Oy(e,t,n){if(t<=0||t>e.length||n.length===0)return 0;let r=t-1,i=jy(e[r]),a=-1;for(let t=r+1;te.length)return 0;let n=t-1,r=jy(e[n]);for(let t=n-1;t>=0;t--)if(!My(e[t])&&jy(e[t])0?e.slice(0,n):e)}let n=t.indexOf(`:`);return n>0?Ey(t.slice(0,n)):t[0]===`{`||t[0]===`}`||t[0]===`[`||t[0]===`]`?null:Ey(t)}function jy(e){for(let t=0;t{let n=Wy(e),c=qy(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${$y(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function Ry(e){if(!e)return[];let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function zy(e){return{start:e,end:e}}function By(e,t){if(t<=0||e.length===0||t>e.length)return{start:t,end:t};let n=t-1,r=sb(e[n]),i=n;for(let t=n-1;t>=0;t--){let n=e[t];if(!cb(n)&&sb(n)e.length)return{start:t,end:t};let n=t-1,r=Hy(e,n,n,sb(e[n]));return{start:t,end:Math.max(t,r+1)}}function Hy(e,t,n,r){let i=t;for(let a=t+1;ar){i=a;continue}break}for(;i>n&&cb(e[i]);)i--;if(i+10;){if(rb(e,n,r))return Vy(e,n);let t=ib(e,n,r);if(t>0)return Vy(e,t);let i=ab(e,n);if(i<=0||i===n)break;n=i}}return By(e,t)}function Wy(e){let t=Yy(e),n=Xy(e);switch(e.change){case Ny:case Py:return Gy(`Added Value`,`added`,n);case Fy:case Iy:return Gy(`Removed Value`,`removed`,t);case My:{let e=[];return t&&e.push({title:`Original Value`,tone:`removed`,lines:Ky(t)}),n&&e.push({title:`Modified Value`,tone:`added`,lines:Ky(n)}),e}default:return[]}}function Gy(e,t,n){return n?[{title:e,tone:t,lines:Ky(n)}]:[]}function Ky(e){let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function qy(e,t,n,r,i,a=Ay){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=Qy(e);switch(e.change){case Ny:case Py:c>0&&o.push(Jy(`Modified Context`,`added`,n,i,Uy(n,c,e),a));break;case Fy:case Iy:s>0&&o.push(Jy(`Original Context`,`removed`,t,r,Uy(t,s,e),a));break;case My:s>0&&o.push(Jy(`Original Context`,`removed`,t,r,l?Uy(t,s,e):zy(s),a)),c>0&&o.push(Jy(`Modified Context`,`added`,n,i,l?Uy(n,c,e):zy(c),a));break;default:break}return o}function Jy(e,t,n,r,i,a=Ay){let o=Math.max(1,i.start-a),s=Math.min(n.length,i.end+a),c=[];for(let e=o;e<=s;e++)c.push({lineNum:e,content:n[e-1]||``,highlightedContent:r[e],emphasis:e===i.start?`primary`:e>i.start&&e<=i.end?`range`:`normal`});return{title:e,tone:t,lines:c}}function Yy(e){return e.originalEncoded?e.originalEncoded:Zy(e.original)}function Xy(e){return e.newEncoded?e.newEncoded:Zy(e.new)}function Zy(e){if(e==null)return``;if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`)return String(e);try{return JSON.stringify(e,null,2)}catch{return String(e)}}function Qy(e){return Yy(e).includes(` +`)||Xy(e).includes(` +`)}function $y(e){switch(e){case Ny:case Py:return`Added`;case Fy:case Iy:return`Removed`;case My:default:return`Modified`}}function eb(e){return e>=My&&e<=Iy}function tb(e){let t=new Set,n=[],r=e=>{let r=nb(e);!r||t.has(r)||(t.add(r),n.push(r))};return r(e.property||``),r(Yy(e)),r(Xy(e)),n}function nb(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function rb(e,t,n){if(t<=0||t>e.length||n.length===0)return!1;let r=ob(e[t-1]);return r?n.includes(r):!1}function ib(e,t,n){if(t<=0||t>e.length||n.length===0)return 0;let r=t-1,i=sb(e[r]),a=-1;for(let t=r+1;te.length)return 0;let n=t-1,r=sb(e[n]);for(let t=n-1;t>=0;t--)if(!cb(e[t])&&sb(e[t])0?e.slice(0,n):e)}let n=t.indexOf(`:`);return n>0?nb(t.slice(0,n)):t[0]===`{`||t[0]===`}`||t[0]===`[`||t[0]===`]`?null:nb(t)}function sb(e){for(let t=0;tnull,Ly=class extends L{constructor(){super(...arguments),this.isCollapsed=!1,this.localize=new Cn(this),this.positionBeforeCollapsing=0,this.position=50,this.vertical=!1,this.disabled=!1,this.snapValue=``,this.snapFunction=Iy,this.snapThreshold=12}toSnapFunction(e){let t=e.split(` `);return({pos:n,size:r,snapThreshold:i,isRtl:a,vertical:o})=>{let s=n,c=1/0;return t.forEach(t=>{let l;if(t.startsWith(`repeat(`)){let t=e.substring(7,e.length-1),i=t.endsWith(`%`),s=Number.parseFloat(t),c=i?s/100*r:s;l=Math.round((a&&!o?r-n:n)/c)*c}else l=t.endsWith(`%`)?Number.parseFloat(t)/100*r:Number.parseFloat(t);a&&!o&&(l=r-l);let u=Math.abs(n-l);u<=i&&uthis.handleResize(e)),this.updateComplete.then(()=>this.resizeObserver.observe(this)),this.detectSize(),this.cachedPositionInPixels=this.percentageToPixels(this.position)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.resizeObserver)==null||e.unobserve(this)}detectSize(){let{width:e,height:t}=this.getBoundingClientRect();this.size=this.vertical?t:e}percentageToPixels(e){return this.size*(e/100)}pixelsToPercentage(e){return e/this.size*100}handleDrag(e){let t=this.localize.dir()===`rtl`;this.disabled||(e.cancelable&&e.preventDefault(),Fy(this,{onMove:(e,n)=>{let r=this.vertical?n:e;this.primary===`end`&&(r=this.size-r),r=this.snapFunction({pos:r,size:this.size,snapThreshold:this.snapThreshold,isRtl:t,vertical:this.vertical})??r,this.position=bs(this.pixelsToPercentage(r),0,100)},initialEvent:e}))}handleKeyDown(e){if(!this.disabled&&[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`,`Enter`].includes(e.key)){let t=this.position,n=(e.shiftKey?10:1)*(this.primary===`end`?-1:1);if(e.preventDefault(),(e.key===`ArrowLeft`&&!this.vertical||e.key===`ArrowUp`&&this.vertical)&&(t-=n),(e.key===`ArrowRight`&&!this.vertical||e.key===`ArrowDown`&&this.vertical)&&(t+=n),e.key===`Home`&&(t=this.primary===`end`?100:0),e.key===`End`&&(t=this.primary===`end`?0:100),e.key===`Enter`)if(this.isCollapsed)t=this.positionBeforeCollapsing,this.isCollapsed=!1;else{let e=this.position;t=0,requestAnimationFrame(()=>{this.isCollapsed=!0,this.positionBeforeCollapsing=e})}this.position=bs(t,0,100)}}handleResize(e){let{width:t,height:n}=e[0].contentRect;this.size=this.vertical?n:t,(isNaN(this.cachedPositionInPixels)||this.position===1/0)&&(this.cachedPositionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.positionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.position=this.pixelsToPercentage(this.positionInPixels)),this.primary&&(this.position=this.pixelsToPercentage(this.cachedPositionInPixels))}handlePositionChange(){this.cachedPositionInPixels=this.percentageToPixels(this.position),this.isCollapsed=!1,this.positionBeforeCollapsing=0,this.positionInPixels=this.percentageToPixels(this.position),this.emit(`sl-reposition`)}handlePositionInPixelsChange(){this.position=this.pixelsToPercentage(this.positionInPixels)}handleVerticalChange(){this.detectSize()}render(){let e=this.vertical?`gridTemplateRows`:`gridTemplateColumns`,t=this.vertical?`gridTemplateColumns`:`gridTemplateRows`,n=this.localize.dir()===`rtl`,r=` +`;function fb(e,t){function n(n){let r=e.getBoundingClientRect(),i=e.ownerDocument.defaultView,a=r.left+i.scrollX,o=r.top+i.scrollY,s=n.pageX-a,c=n.pageY-o;t?.onMove&&t.onMove(s,c)}function r(){document.removeEventListener(`pointermove`,n),document.removeEventListener(`pointerup`,r),t?.onStop&&t.onStop()}document.addEventListener(`pointermove`,n,{passive:!0}),document.addEventListener(`pointerup`,r),t?.initialEvent instanceof PointerEvent&&n(t.initialEvent)}var pb=()=>null,mb=class extends L{constructor(){super(...arguments),this.isCollapsed=!1,this.localize=new Cn(this),this.positionBeforeCollapsing=0,this.position=50,this.vertical=!1,this.disabled=!1,this.snapValue=``,this.snapFunction=pb,this.snapThreshold=12}toSnapFunction(e){let t=e.split(` `);return({pos:n,size:r,snapThreshold:i,isRtl:a,vertical:o})=>{let s=n,c=1/0;return t.forEach(t=>{let l;if(t.startsWith(`repeat(`)){let t=e.substring(7,e.length-1),i=t.endsWith(`%`),s=Number.parseFloat(t),c=i?s/100*r:s;l=Math.round((a&&!o?r-n:n)/c)*c}else l=t.endsWith(`%`)?Number.parseFloat(t)/100*r:Number.parseFloat(t);a&&!o&&(l=r-l);let u=Math.abs(n-l);u<=i&&uthis.handleResize(e)),this.updateComplete.then(()=>this.resizeObserver.observe(this)),this.detectSize(),this.cachedPositionInPixels=this.percentageToPixels(this.position)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.resizeObserver)==null||e.unobserve(this)}detectSize(){let{width:e,height:t}=this.getBoundingClientRect();this.size=this.vertical?t:e}percentageToPixels(e){return this.size*(e/100)}pixelsToPercentage(e){return e/this.size*100}handleDrag(e){let t=this.localize.dir()===`rtl`;this.disabled||(e.cancelable&&e.preventDefault(),fb(this,{onMove:(e,n)=>{let r=this.vertical?n:e;this.primary===`end`&&(r=this.size-r),r=this.snapFunction({pos:r,size:this.size,snapThreshold:this.snapThreshold,isRtl:t,vertical:this.vertical})??r,this.position=Js(this.pixelsToPercentage(r),0,100)},initialEvent:e}))}handleKeyDown(e){if(!this.disabled&&[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`,`Enter`].includes(e.key)){let t=this.position,n=(e.shiftKey?10:1)*(this.primary===`end`?-1:1);if(e.preventDefault(),(e.key===`ArrowLeft`&&!this.vertical||e.key===`ArrowUp`&&this.vertical)&&(t-=n),(e.key===`ArrowRight`&&!this.vertical||e.key===`ArrowDown`&&this.vertical)&&(t+=n),e.key===`Home`&&(t=this.primary===`end`?100:0),e.key===`End`&&(t=this.primary===`end`?0:100),e.key===`Enter`)if(this.isCollapsed)t=this.positionBeforeCollapsing,this.isCollapsed=!1;else{let e=this.position;t=0,requestAnimationFrame(()=>{this.isCollapsed=!0,this.positionBeforeCollapsing=e})}this.position=Js(t,0,100)}}handleResize(e){let{width:t,height:n}=e[0].contentRect;this.size=this.vertical?n:t,(isNaN(this.cachedPositionInPixels)||this.position===1/0)&&(this.cachedPositionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.positionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.position=this.pixelsToPercentage(this.positionInPixels)),this.primary&&(this.position=this.pixelsToPercentage(this.cachedPositionInPixels))}handlePositionChange(){this.cachedPositionInPixels=this.percentageToPixels(this.position),this.isCollapsed=!1,this.positionBeforeCollapsing=0,this.positionInPixels=this.percentageToPixels(this.position),this.emit(`sl-reposition`)}handlePositionInPixelsChange(){this.position=this.pixelsToPercentage(this.positionInPixels)}handleVerticalChange(){this.detectSize()}render(){let e=this.vertical?`gridTemplateRows`:`gridTemplateColumns`,t=this.vertical?`gridTemplateColumns`:`gridTemplateRows`,n=this.localize.dir()===`rtl`,r=` clamp( 0%, clamp( @@ -6158,7 +6211,7 @@
- `}};Ly.styles=[wn,Py],D([M(`.divider`)],Ly.prototype,`divider`,2),D([A({type:Number,reflect:!0})],Ly.prototype,`position`,2),D([A({attribute:`position-in-pixels`,type:Number})],Ly.prototype,`positionInPixels`,2),D([A({type:Boolean,reflect:!0})],Ly.prototype,`vertical`,2),D([A({type:Boolean,reflect:!0})],Ly.prototype,`disabled`,2),D([A()],Ly.prototype,`primary`,2),D([A({reflect:!0})],Ly.prototype,`snap`,1),D([A({type:Number,attribute:`snap-threshold`})],Ly.prototype,`snapThreshold`,2),D([I(`position`)],Ly.prototype,`handlePositionChange`,1),D([I(`positionInPixels`)],Ly.prototype,`handlePositionInPixelsChange`,1),D([I(`vertical`)],Ly.prototype,`handleVerticalChange`,1),Ly.define(`sl-split-panel`);var Ry=k` + `}};mb.styles=[wn,db],D([M(`.divider`)],mb.prototype,`divider`,2),D([A({type:Number,reflect:!0})],mb.prototype,`position`,2),D([A({attribute:`position-in-pixels`,type:Number})],mb.prototype,`positionInPixels`,2),D([A({type:Boolean,reflect:!0})],mb.prototype,`vertical`,2),D([A({type:Boolean,reflect:!0})],mb.prototype,`disabled`,2),D([A()],mb.prototype,`primary`,2),D([A({reflect:!0})],mb.prototype,`snap`,1),D([A({type:Number,attribute:`snap-threshold`})],mb.prototype,`snapThreshold`,2),D([I(`position`)],mb.prototype,`handlePositionChange`,1),D([I(`positionInPixels`)],mb.prototype,`handlePositionInPixelsChange`,1),D([I(`vertical`)],mb.prototype,`handleVerticalChange`,1),mb.define(`sl-split-panel`);var hb=k` :host { display: block; } @@ -6190,7 +6243,7 @@ white-space: nowrap; border: 0; } -`,zy=k` +`,gb=k` :host { display: inline-block; } @@ -6199,7 +6252,7 @@ display: flex; flex-wrap: nowrap; } -`,By=class extends L{constructor(){super(...arguments),this.disableRole=!1,this.label=``}handleFocus(e){Vy(e.target)?.toggleAttribute(`data-sl-button-group__button--focus`,!0)}handleBlur(e){Vy(e.target)?.toggleAttribute(`data-sl-button-group__button--focus`,!1)}handleMouseOver(e){Vy(e.target)?.toggleAttribute(`data-sl-button-group__button--hover`,!0)}handleMouseOut(e){Vy(e.target)?.toggleAttribute(`data-sl-button-group__button--hover`,!1)}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),r=Vy(t);r&&(r.toggleAttribute(`data-sl-button-group__button`,!0),r.toggleAttribute(`data-sl-button-group__button--first`,n===0),r.toggleAttribute(`data-sl-button-group__button--inner`,n>0&&n{let n=e.indexOf(t),r=vb(t);r&&(r.toggleAttribute(`data-sl-button-group__button`,!0),r.toggleAttribute(`data-sl-button-group__button--first`,n===0),r.toggleAttribute(`data-sl-button-group__button--inner`,n>0&&n
- `}};By.styles=[wn,zy],D([M(`slot`)],By.prototype,`defaultSlot`,2),D([j()],By.prototype,`disableRole`,2),D([A()],By.prototype,`label`,2);function Vy(e){let t=`sl-button, sl-radio-button`;return e.closest(t)??e.querySelector(t)}var Hy=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this),this.hasSlotController=new dn(this,`help-text`,`label`),this.customValidityMessage=``,this.hasButtonGroup=!1,this.errorMessage=``,this.defaultValue=``,this.label=``,this.helpText=``,this.name=`option`,this.value=``,this.size=`medium`,this.form=``,this.required=!1}get validity(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?ln:cn:un}get validationMessage(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?this.validationInput.validationMessage:``:this.customValidityMessage}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll(`sl-radio, sl-radio-button`)]}handleRadioClick(e){let t=e.target.closest(`sl-radio, sl-radio-button`),n=this.getAllRadios(),r=this.value;!t||t.disabled||(this.value=t.value,n.forEach(e=>e.checked=e===t),this.value!==r&&(this.emit(`sl-change`),this.emit(`sl-input`)))}handleKeyDown(e){if(![`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,` `].includes(e.key))return;let t=this.getAllRadios().filter(e=>!e.disabled),n=t.find(e=>e.checked)??t[0],r=e.key===` `?0:[`ArrowUp`,`ArrowLeft`].includes(e.key)?-1:1,i=this.value,a=t.indexOf(n)+r;a<0&&(a=t.length-1),a>t.length-1&&(a=0),this.getAllRadios().forEach(e=>{e.checked=!1,this.hasButtonGroup||e.setAttribute(`tabindex`,`-1`)}),this.value=t[a].value,t[a].checked=!0,this.hasButtonGroup?t[a].shadowRoot.querySelector(`button`).focus():(t[a].setAttribute(`tabindex`,`0`),t[a].focus()),this.value!==i&&(this.emit(`sl-change`),this.emit(`sl-input`)),e.preventDefault()}handleLabelClick(){this.focus()}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}async syncRadioElements(){let e=this.getAllRadios();if(await Promise.all(e.map(async e=>{await e.updateComplete,e.checked=e.value===this.value,e.size=this.size})),this.hasButtonGroup=e.some(e=>e.tagName.toLowerCase()===`sl-radio-button`),e.length>0&&!e.some(e=>e.checked))if(this.hasButtonGroup){let t=e[0].shadowRoot?.querySelector(`button`);t&&t.setAttribute(`tabindex`,`0`)}else e[0].setAttribute(`tabindex`,`0`);if(this.hasButtonGroup){let e=this.shadowRoot?.querySelector(`sl-button-group`);e&&(e.disableRole=!0)}}syncRadios(){if(customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)){this.syncRadioElements();return}customElements.get(`sl-radio`)?this.syncRadioElements():customElements.whenDefined(`sl-radio`).then(()=>this.syncRadios()),customElements.get(`sl-radio-button`)?this.syncRadioElements():customElements.whenDefined(`sl-radio-button`).then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){let e=this.required&&!this.value,t=this.customValidityMessage!==``;return e||t?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let e=this.validity.valid;return this.errorMessage=this.customValidityMessage||e?``:this.validationInput.validationMessage,this.formControlController.setValidity(e),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),e||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),e}setCustomValidity(e=``){this.customValidityMessage=e,this.errorMessage=e,this.validationInput.setCustomValidity(e),this.formControlController.updateValidity()}focus(e){let t=this.getAllRadios(),n=t.find(e=>e.checked),r=t.find(e=>!e.disabled),i=n||r;i&&i.focus(e)}render(){let e=this.hasSlotController.test(`label`),t=this.hasSlotController.test(`help-text`),n=this.label?!0:!!e,r=this.helpText?!0:!!t,i=N` + `}};_b.styles=[wn,gb],D([M(`slot`)],_b.prototype,`defaultSlot`,2),D([j()],_b.prototype,`disableRole`,2),D([A()],_b.prototype,`label`,2);function vb(e){let t=`sl-button, sl-radio-button`;return e.closest(t)??e.querySelector(t)}var yb=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this),this.hasSlotController=new dn(this,`help-text`,`label`),this.customValidityMessage=``,this.hasButtonGroup=!1,this.errorMessage=``,this.defaultValue=``,this.label=``,this.helpText=``,this.name=`option`,this.value=``,this.size=`medium`,this.form=``,this.required=!1}get validity(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?ln:cn:un}get validationMessage(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?this.validationInput.validationMessage:``:this.customValidityMessage}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll(`sl-radio, sl-radio-button`)]}handleRadioClick(e){let t=e.target.closest(`sl-radio, sl-radio-button`),n=this.getAllRadios(),r=this.value;!t||t.disabled||(this.value=t.value,n.forEach(e=>e.checked=e===t),this.value!==r&&(this.emit(`sl-change`),this.emit(`sl-input`)))}handleKeyDown(e){if(![`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,` `].includes(e.key))return;let t=this.getAllRadios().filter(e=>!e.disabled),n=t.find(e=>e.checked)??t[0],r=e.key===` `?0:[`ArrowUp`,`ArrowLeft`].includes(e.key)?-1:1,i=this.value,a=t.indexOf(n)+r;a<0&&(a=t.length-1),a>t.length-1&&(a=0),this.getAllRadios().forEach(e=>{e.checked=!1,this.hasButtonGroup||e.setAttribute(`tabindex`,`-1`)}),this.value=t[a].value,t[a].checked=!0,this.hasButtonGroup?t[a].shadowRoot.querySelector(`button`).focus():(t[a].setAttribute(`tabindex`,`0`),t[a].focus()),this.value!==i&&(this.emit(`sl-change`),this.emit(`sl-input`)),e.preventDefault()}handleLabelClick(){this.focus()}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}async syncRadioElements(){let e=this.getAllRadios();if(await Promise.all(e.map(async e=>{await e.updateComplete,e.checked=e.value===this.value,e.size=this.size})),this.hasButtonGroup=e.some(e=>e.tagName.toLowerCase()===`sl-radio-button`),e.length>0&&!e.some(e=>e.checked))if(this.hasButtonGroup){let t=e[0].shadowRoot?.querySelector(`button`);t&&t.setAttribute(`tabindex`,`0`)}else e[0].setAttribute(`tabindex`,`0`);if(this.hasButtonGroup){let e=this.shadowRoot?.querySelector(`sl-button-group`);e&&(e.disableRole=!0)}}syncRadios(){if(customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)){this.syncRadioElements();return}customElements.get(`sl-radio`)?this.syncRadioElements():customElements.whenDefined(`sl-radio`).then(()=>this.syncRadios()),customElements.get(`sl-radio-button`)?this.syncRadioElements():customElements.whenDefined(`sl-radio-button`).then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){let e=this.required&&!this.value,t=this.customValidityMessage!==``;return e||t?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let e=this.validity.valid;return this.errorMessage=this.customValidityMessage||e?``:this.validationInput.validationMessage,this.formControlController.setValidity(e),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),e||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),e}setCustomValidity(e=``){this.customValidityMessage=e,this.errorMessage=e,this.validationInput.setCustomValidity(e),this.formControlController.updateValidity()}focus(e){let t=this.getAllRadios(),n=t.find(e=>e.checked),r=t.find(e=>!e.disabled),i=n||r;i&&i.focus(e)}render(){let e=this.hasSlotController.test(`label`),t=this.hasSlotController.test(`help-text`),n=this.label?!0:!!e,r=this.helpText?!0:!!t,i=N` `;return N`
${this.helpText}
- `}};Hy.styles=[wn,en,Ry],Hy.dependencies={"sl-button-group":By},D([M(`slot:not([name])`)],Hy.prototype,`defaultSlot`,2),D([M(`.radio-group__validation-input`)],Hy.prototype,`validationInput`,2),D([j()],Hy.prototype,`hasButtonGroup`,2),D([j()],Hy.prototype,`errorMessage`,2),D([j()],Hy.prototype,`defaultValue`,2),D([A()],Hy.prototype,`label`,2),D([A({attribute:`help-text`})],Hy.prototype,`helpText`,2),D([A()],Hy.prototype,`name`,2),D([A({reflect:!0})],Hy.prototype,`value`,2),D([A({reflect:!0})],Hy.prototype,`size`,2),D([A({reflect:!0})],Hy.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],Hy.prototype,`required`,2),D([I(`size`,{waitUntilFirstUpdate:!0})],Hy.prototype,`handleSizeChange`,1),D([I(`value`)],Hy.prototype,`handleValueChange`,1),Hy.define(`sl-radio-group`);var Uy=k` + `}};yb.styles=[wn,en,hb],yb.dependencies={"sl-button-group":_b},D([M(`slot:not([name])`)],yb.prototype,`defaultSlot`,2),D([M(`.radio-group__validation-input`)],yb.prototype,`validationInput`,2),D([j()],yb.prototype,`hasButtonGroup`,2),D([j()],yb.prototype,`errorMessage`,2),D([j()],yb.prototype,`defaultValue`,2),D([A()],yb.prototype,`label`,2),D([A({attribute:`help-text`})],yb.prototype,`helpText`,2),D([A()],yb.prototype,`name`,2),D([A({reflect:!0})],yb.prototype,`value`,2),D([A({reflect:!0})],yb.prototype,`size`,2),D([A({reflect:!0})],yb.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],yb.prototype,`required`,2),D([I(`size`,{waitUntilFirstUpdate:!0})],yb.prototype,`handleSizeChange`,1),D([I(`value`)],yb.prototype,`handleValueChange`,1),yb.define(`sl-radio-group`);var bb=k` :host { display: inline-block; position: relative; @@ -6857,8 +6910,8 @@ :host([data-sl-button-group__button][checked]) { z-index: 2; } -`,Wy=k` - ${Uy} +`,xb=k` + ${bb} .button__prefix, .button__suffix, @@ -6881,7 +6934,7 @@ opacity: 0; z-index: -1; } -`,Gy=Symbol.for(``),Ky=e=>{if(e?.r===Gy)return e?._$litStatic$},qy=(e,...t)=>({_$litStatic$:t.reduce((t,n,r)=>t+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[r+1],e[0]),r:Gy}),Jy=new Map,Yy=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l{if(e?.r===Sb)return e?._$litStatic$},wb=(e,...t)=>({_$litStatic$:t.reduce((t,n,r)=>t+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[r+1],e[0]),r:Sb}),Tb=new Map,Eb=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l - `}};Xy.styles=[wn,Wy],D([M(`.button`)],Xy.prototype,`input`,2),D([M(`.hidden-input`)],Xy.prototype,`hiddenInput`,2),D([j()],Xy.prototype,`hasFocus`,2),D([A({type:Boolean,reflect:!0})],Xy.prototype,`checked`,2),D([A()],Xy.prototype,`value`,2),D([A({type:Boolean,reflect:!0})],Xy.prototype,`disabled`,2),D([A({reflect:!0})],Xy.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Xy.prototype,`pill`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Xy.prototype,`handleDisabledChange`,1),Xy.define(`sl-radio-button`);var Zy=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Qy=Object.freeze({type:`spacer`,content:``}),$y=20,eb=20,tb=`pb33f-diff-view-mode`;function nb(e){return e===`side-by-side`||e===`unified`}var rb=class extends F{constructor(){super(...arguments),this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.selectedChanges=[],this.contentMode=`file`,this.viewMode=`side-by-side`,this._cachedFocusedSections=[],this.cachedLeft=[],this.cachedRight=[],this.cachedUnified=[],this.originalLineToIndex=new Map,this.modifiedLineToIndex=new Map,this.dmp=(()=>{let e=new Io.default;return e.Diff_Timeout=5,e})(),this._highlightTimer=0,this._highlightedElement=null,this._panels=[],this._scrollListeners=[],this._resizeObserver=null,this._rafId=0,this._scrollDirty=!1,this._syncing=!1,this._rendering=!1,this._renderStart=[0,0],this._renderEnd=[0,0],this._viewportHeight=[0,0],this._lastScrollTop=0,this._pendingJump=[0,0]}connectedCallback(){super.connectedCallback(),this.restoreStoredViewMode()}willUpdate(e){e.has(`selectedChanges`)&&(this.contentMode=this.hasSelection?`change`:`file`);let t=e.has(`originalSpec`)||e.has(`modifiedSpec`);t?this.recomputeDiffs():(e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&this._applyHighlights(),(t||e.has(`selectedChanges`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedFocusedSections=[])}updated(e){super.updated(e);let t=e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`);if(e.has(`contentMode`)&&this.contentMode===`change`&&this._teardownScrolling(),this.contentMode===`file`&&(e.has(`contentMode`)||e.has(`viewMode`)||e.has(`originalSpec`)||e.has(`modifiedSpec`))){let t=e.has(`contentMode`)&&e.get(`contentMode`)===`change`;this.updateComplete.then(()=>{requestAnimationFrame(()=>{let e=0,n=0;if(t&&this.selectedChanges.length>0){let t=this.selectedChanges.find(e=>e.context?.originalLine>0||e.context?.newLine>0);t&&(e=t.context?.originalLine||0,n=t.context?.newLine||0)}this._setupScrolling(e,n)})})}else this.contentMode===`file`&&t&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this._panels.length>0&&this._markDirty()})})}disconnectedCallback(){super.disconnectedCallback(),this._teardownScrolling(),this._highlightTimer&&=(clearTimeout(this._highlightTimer),0)}restoreStoredViewMode(){try{let e=localStorage.getItem(tb);nb(e)&&(this.viewMode=e)}catch{}}setViewMode(e){this.viewMode=e;try{localStorage.setItem(tb,e)}catch{}}get hasSelection(){return Array.isArray(this.selectedChanges)&&this.selectedChanges.length>0}recomputeDiffs(){let e=this.dmp.diff_linesToChars_(this.originalSpec,this.modifiedSpec),t=this.dmp.diff_main(e.chars1,e.chars2,!1);this.dmp.diff_charsToLines_(t,e.lineArray);let n=[],r=[],i=[],a=this.originalHighlighted||{},o=this.modifiedHighlighted||{},s=new Map,c=new Map,l=1,u=1;for(let[e,d]of t){let t=d.split(` -`);t[t.length-1]===``&&t.pop();for(let d of t)if(e===0){let e=n.length,t={type:`equal`,content:d,highlightedContent:a[l]||o[u],originalLineNum:l,modifiedLineNum:u};n.push(t),r.push(t),i.push(t),s.set(l,e),c.set(u,e),l++,u++}else if(e===-1){let e=n.length,t={type:`removed`,content:d,highlightedContent:a[l],originalLineNum:l};n.push(t),r.push(Qy),i.push(t),s.set(l,e),l++}else if(e===1){let e=r.length,t={type:`added`,content:d,highlightedContent:o[u],modifiedLineNum:u};r.push(t),n.push(Qy),i.push(t),c.set(u,e),u++}}this.cachedLeft=n,this.cachedRight=r,this.cachedUnified=i,this.originalLineToIndex=s,this.modifiedLineToIndex=c,this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_applyHighlights(){let e=this.originalHighlighted||{},t=this.modifiedHighlighted||{};for(let n of this.cachedLeft)n.type!==`spacer`&&(n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));for(let n of this.cachedRight)n.type!==`spacer`&&(n.modifiedLineNum?n.highlightedContent=t[n.modifiedLineNum]:n.originalLineNum&&(n.highlightedContent=e[n.originalLineNum]));for(let n of this.cachedUnified)n.type!==`spacer`&&(n.originalLineNum&&n.modifiedLineNum?n.highlightedContent=e[n.originalLineNum]||t[n.modifiedLineNum]:n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_setupScrolling(e=0,t=0){this._teardownScrolling(),this._renderStart=[-1,-1],this._renderEnd=[-1,-1],this._lastScrollTop=0,this._pendingJump=[e,t];let n=Array.from(this.renderRoot.querySelectorAll(`.diff-panel`));if(this._panels=n,n.length){for(let e of n)e.scrollTop=0;this._resizeObserver=new ResizeObserver(()=>{this._markDirty()});for(let e=0;e{this._rendering||this._syncing||(this._lastScrollTop=t.scrollTop,this.viewMode===`side-by-side`&&n.length===2&&(this._syncing=!0,n[1-e].scrollTop=this._lastScrollTop,this._syncing=!1),this._markDirty())};t.addEventListener(`scroll`,r,{passive:!0}),this._scrollListeners.push(()=>t.removeEventListener(`scroll`,r))}this._markDirty()}}_teardownScrolling(){for(let e of this._scrollListeners)e();this._scrollListeners=[],this._resizeObserver?.disconnect(),this._resizeObserver=null,this._rafId&&=(cancelAnimationFrame(this._rafId),0),this._scrollDirty=!1,this._panels=[]}_markDirty(){this._scrollDirty||(this._scrollDirty=!0,this._rafId=requestAnimationFrame(()=>{this._scrollDirty=!1,this._rafId=0,this._updateAllPanels()}))}_updateAllPanels(){let e=this._lastScrollTop;for(let t=0;t0||this._pendingJump[1]>0){let[e,t]=this._pendingJump;this._pendingJump=[0,0],requestAnimationFrame(()=>this.scrollToLine(e,t))}}_getLinesForPanel(e){return this.viewMode===`unified`?this.cachedUnified:e===0?this.cachedLeft:this.cachedRight}_getSideForPanel(e){return this.viewMode===`unified`?`unified`:e===0?`left`:`right`}_renderRange(e,t,n,r,i,a){let o=e.querySelector(`.scroll-pad-top`),s=e.querySelector(`.visible-lines`),c=e.querySelector(`.scroll-pad-bottom`);if(!o||!s||!c)return;this._highlightedElement&&=null,this._rendering=!0;let l=e.scrollTop;o.style.height=`${n*$y}px`,c.style.height=`${(i-r)*$y}px`;let u=document.createDocumentFragment();for(let e=n;e0&&(n=this.originalLineToIndex.get(e)??-1),n<0&&t&&t>0&&(n=this.modifiedLineToIndex.get(t)??-1),n<0)return;let r=this._panels[0];if(!r)return;let i=this._viewportHeight[0]||r.clientHeight,a=Math.max(0,n*$y-i/2+$y/2);r.scrollTop=a,this._panels.length>1&&(this._panels[1].scrollTop=a),await new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(e)));let o=this._findScrollTarget(e,t);o&&(this._highlightTimer&&=(clearTimeout(this._highlightTimer),0),this._highlightedElement&&=(this._highlightedElement.classList.remove(`highlight`),null),o.classList.add(`highlight`),this._highlightedElement=o,this._highlightTimer=window.setTimeout(()=>{o?.classList.remove(`highlight`),this._highlightedElement=null,this._highlightTimer=0},2e3))}_findScrollTarget(e,t){if(this.viewMode===`side-by-side`&&this._panels.length>1){if(e>0){let t=this._panels[0].querySelector(`[data-original-line="${e}"]`);if(t)return t}if(t&&t>0){let e=this._panels[1].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(t&&t>0){let e=this._panels[0].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(e>0){let t=this._panels[1].querySelector(`[data-original-line="${e}"]`);if(t)return t}return null}let n=this._panels[0];if(!n)return null;if(e>0){let t=n.querySelector(`[data-original-line="${e}"]`);if(t)return t}return t&&t>0?n.querySelector(`[data-modified-line="${t}"]`):null}renderControls(){return N` + `}};Db.styles=[wn,xb],D([M(`.button`)],Db.prototype,`input`,2),D([M(`.hidden-input`)],Db.prototype,`hiddenInput`,2),D([j()],Db.prototype,`hasFocus`,2),D([A({type:Boolean,reflect:!0})],Db.prototype,`checked`,2),D([A()],Db.prototype,`value`,2),D([A({type:Boolean,reflect:!0})],Db.prototype,`disabled`,2),D([A({reflect:!0})],Db.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Db.prototype,`pill`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Db.prototype,`handleDisabledChange`,1),Db.define(`sl-radio-button`);var Ob=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},kb=Object.freeze({type:`spacer`,content:``}),Ab=20,jb=20,Mb=`pb33f-diff-view-mode`;function Nb(e){return e===`side-by-side`||e===`unified`}var Pb=class extends F{constructor(){super(...arguments),this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.selectedChanges=[],this.contentMode=`file`,this.viewMode=`side-by-side`,this._cachedFocusedSections=[],this.cachedLeft=[],this.cachedRight=[],this.cachedUnified=[],this.originalLineToIndex=new Map,this.modifiedLineToIndex=new Map,this.dmp=(()=>{let e=new us.default;return e.Diff_Timeout=5,e})(),this._highlightTimer=0,this._highlightedElement=null,this._panels=[],this._scrollListeners=[],this._resizeObserver=null,this._rafId=0,this._scrollDirty=!1,this._syncing=!1,this._rendering=!1,this._renderStart=[0,0],this._renderEnd=[0,0],this._viewportHeight=[0,0],this._lastScrollTop=0,this._pendingJump=[0,0]}connectedCallback(){super.connectedCallback(),this.restoreStoredViewMode()}willUpdate(e){e.has(`selectedChanges`)&&(this.contentMode=this.hasSelection?`change`:`file`);let t=e.has(`originalSpec`)||e.has(`modifiedSpec`);t?this.recomputeDiffs():(e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&this._applyHighlights(),(t||e.has(`selectedChanges`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedFocusedSections=[])}updated(e){super.updated(e);let t=e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`);if(e.has(`contentMode`)&&this.contentMode===`change`&&this._teardownScrolling(),this.contentMode===`file`&&(e.has(`contentMode`)||e.has(`viewMode`)||e.has(`originalSpec`)||e.has(`modifiedSpec`))){let t=e.has(`contentMode`)&&e.get(`contentMode`)===`change`;this.updateComplete.then(()=>{requestAnimationFrame(()=>{let e=0,n=0;if(t&&this.selectedChanges.length>0){let t=this.selectedChanges.find(e=>e.context?.originalLine>0||e.context?.newLine>0);t&&(e=t.context?.originalLine||0,n=t.context?.newLine||0)}this._setupScrolling(e,n)})})}else this.contentMode===`file`&&t&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this._panels.length>0&&this._markDirty()})})}disconnectedCallback(){super.disconnectedCallback(),this._teardownScrolling(),this._highlightTimer&&=(clearTimeout(this._highlightTimer),0)}restoreStoredViewMode(){try{let e=localStorage.getItem(Mb);Nb(e)&&(this.viewMode=e)}catch{}}setViewMode(e){this.viewMode=e;try{localStorage.setItem(Mb,e)}catch{}}get hasSelection(){return Array.isArray(this.selectedChanges)&&this.selectedChanges.length>0}recomputeDiffs(){let e=this.dmp.diff_linesToChars_(this.originalSpec,this.modifiedSpec),t=this.dmp.diff_main(e.chars1,e.chars2,!1);this.dmp.diff_charsToLines_(t,e.lineArray);let n=[],r=[],i=[],a=this.originalHighlighted||{},o=this.modifiedHighlighted||{},s=new Map,c=new Map,l=1,u=1;for(let[e,d]of t){let t=d.split(` +`);t[t.length-1]===``&&t.pop();for(let d of t)if(e===0){let e=n.length,t={type:`equal`,content:d,highlightedContent:a[l]||o[u],originalLineNum:l,modifiedLineNum:u};n.push(t),r.push(t),i.push(t),s.set(l,e),c.set(u,e),l++,u++}else if(e===-1){let e=n.length,t={type:`removed`,content:d,highlightedContent:a[l],originalLineNum:l};n.push(t),r.push(kb),i.push(t),s.set(l,e),l++}else if(e===1){let e=r.length,t={type:`added`,content:d,highlightedContent:o[u],modifiedLineNum:u};r.push(t),n.push(kb),i.push(t),c.set(u,e),u++}}this.cachedLeft=n,this.cachedRight=r,this.cachedUnified=i,this.originalLineToIndex=s,this.modifiedLineToIndex=c,this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_applyHighlights(){let e=this.originalHighlighted||{},t=this.modifiedHighlighted||{};for(let n of this.cachedLeft)n.type!==`spacer`&&(n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));for(let n of this.cachedRight)n.type!==`spacer`&&(n.modifiedLineNum?n.highlightedContent=t[n.modifiedLineNum]:n.originalLineNum&&(n.highlightedContent=e[n.originalLineNum]));for(let n of this.cachedUnified)n.type!==`spacer`&&(n.originalLineNum&&n.modifiedLineNum?n.highlightedContent=e[n.originalLineNum]||t[n.modifiedLineNum]:n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_setupScrolling(e=0,t=0){this._teardownScrolling(),this._renderStart=[-1,-1],this._renderEnd=[-1,-1],this._lastScrollTop=0,this._pendingJump=[e,t];let n=Array.from(this.renderRoot.querySelectorAll(`.diff-panel`));if(this._panels=n,n.length){for(let e of n)e.scrollTop=0;this._resizeObserver=new ResizeObserver(()=>{this._markDirty()});for(let e=0;e{this._rendering||this._syncing||(this._lastScrollTop=t.scrollTop,this.viewMode===`side-by-side`&&n.length===2&&(this._syncing=!0,n[1-e].scrollTop=this._lastScrollTop,this._syncing=!1),this._markDirty())};t.addEventListener(`scroll`,r,{passive:!0}),this._scrollListeners.push(()=>t.removeEventListener(`scroll`,r))}this._markDirty()}}_teardownScrolling(){for(let e of this._scrollListeners)e();this._scrollListeners=[],this._resizeObserver?.disconnect(),this._resizeObserver=null,this._rafId&&=(cancelAnimationFrame(this._rafId),0),this._scrollDirty=!1,this._panels=[]}_markDirty(){this._scrollDirty||(this._scrollDirty=!0,this._rafId=requestAnimationFrame(()=>{this._scrollDirty=!1,this._rafId=0,this._updateAllPanels()}))}_updateAllPanels(){let e=this._lastScrollTop;for(let t=0;t0||this._pendingJump[1]>0){let[e,t]=this._pendingJump;this._pendingJump=[0,0],requestAnimationFrame(()=>this.scrollToLine(e,t))}}_getLinesForPanel(e){return this.viewMode===`unified`?this.cachedUnified:e===0?this.cachedLeft:this.cachedRight}_getSideForPanel(e){return this.viewMode===`unified`?`unified`:e===0?`left`:`right`}_renderRange(e,t,n,r,i,a){let o=e.querySelector(`.scroll-pad-top`),s=e.querySelector(`.visible-lines`),c=e.querySelector(`.scroll-pad-bottom`);if(!o||!s||!c)return;this._highlightedElement&&=null,this._rendering=!0;let l=e.scrollTop;o.style.height=`${n*Ab}px`,c.style.height=`${(i-r)*Ab}px`;let u=document.createDocumentFragment();for(let e=n;e0&&(n=this.originalLineToIndex.get(e)??-1),n<0&&t&&t>0&&(n=this.modifiedLineToIndex.get(t)??-1),n<0)return;let r=this._panels[0];if(!r)return;let i=this._viewportHeight[0]||r.clientHeight,a=Math.max(0,n*Ab-i/2+Ab/2);r.scrollTop=a,this._panels.length>1&&(this._panels[1].scrollTop=a),await new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(e)));let o=this._findScrollTarget(e,t);o&&(this._highlightTimer&&=(clearTimeout(this._highlightTimer),0),this._highlightedElement&&=(this._highlightedElement.classList.remove(`highlight`),null),o.classList.add(`highlight`),this._highlightedElement=o,this._highlightTimer=window.setTimeout(()=>{o?.classList.remove(`highlight`),this._highlightedElement=null,this._highlightTimer=0},2e3))}_findScrollTarget(e,t){if(this.viewMode===`side-by-side`&&this._panels.length>1){if(e>0){let t=this._panels[0].querySelector(`[data-original-line="${e}"]`);if(t)return t}if(t&&t>0){let e=this._panels[1].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(t&&t>0){let e=this._panels[0].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(e>0){let t=this._panels[1].querySelector(`[data-original-line="${e}"]`);if(t)return t}return null}let n=this._panels[0];if(!n)return null;if(e>0){let t=n.querySelector(`[data-original-line="${e}"]`);if(t)return t}return t&&t>0?n.querySelector(`[data-modified-line="${t}"]`):null}renderControls(){return N`
${this.hasSelection?N` `:P}
- `}renderFocusedDiff(){!this._cachedFocusedSections.length&&this.selectedChanges.length&&(this._cachedFocusedSections=sy(this.selectedChanges,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{}));let e=this._cachedFocusedSections;if(!e.length)return N` + `}renderFocusedDiff(){!this._cachedFocusedSections.length&&this.selectedChanges.length&&(this._cachedFocusedSections=Ly(this.selectedChanges,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{}));let e=this._cachedFocusedSections;if(!e.length)return N` ${this.renderControls()}
No focused changes available
`;let t=[],n=[];for(let r of e){let e=N` @@ -6999,7 +7052,7 @@
- `}};rb.styles=$v,Zy([A()],rb.prototype,`originalSpec`,void 0),Zy([A()],rb.prototype,`modifiedSpec`,void 0),Zy([A({type:Object})],rb.prototype,`originalHighlighted`,void 0),Zy([A({type:Object})],rb.prototype,`modifiedHighlighted`,void 0),Zy([A({type:Array})],rb.prototype,`selectedChanges`,void 0),Zy([j()],rb.prototype,`contentMode`,void 0),Zy([j()],rb.prototype,`viewMode`,void 0),rb=Zy([O(`pb33f-diff-viewer`)],rb);var ib=k` + `}};Pb.styles=ky,Ob([A()],Pb.prototype,`originalSpec`,void 0),Ob([A()],Pb.prototype,`modifiedSpec`,void 0),Ob([A({type:Object})],Pb.prototype,`originalHighlighted`,void 0),Ob([A({type:Object})],Pb.prototype,`modifiedHighlighted`,void 0),Ob([A({type:Array})],Pb.prototype,`selectedChanges`,void 0),Ob([j()],Pb.prototype,`contentMode`,void 0),Ob([j()],Pb.prototype,`viewMode`,void 0),Pb=Ob([O(`pb33f-diff-viewer`)],Pb);var Fb=k` :host { display: block; } @@ -7026,7 +7079,7 @@ .change-card { padding-bottom: var(--global-padding); } -`,ab=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ob=class extends F{constructor(){super(...arguments),this.changes=[],this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.compact=!1,this._cachedSections=null}willUpdate(e){(e.has(`changes`)||e.has(`originalSpec`)||e.has(`modifiedSpec`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedSections=null)}_getSections(){return this._cachedSections===null?this.changes.length?(this._cachedSections=sy(this.changes,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{},this.compact?5:void 0),this._cachedSections):[]:this._cachedSections}renderValueBlock(e){return N` +`,Ib=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Lb=class extends F{constructor(){super(...arguments),this.changes=[],this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.compact=!1,this._cachedSections=null}willUpdate(e){(e.has(`changes`)||e.has(`originalSpec`)||e.has(`modifiedSpec`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedSections=null)}_getSections(){return this._cachedSections===null?this.changes.length?(this._cachedSections=Ly(this.changes,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{},this.compact?5:void 0),this._cachedSections):[]:this._cachedSections}renderValueBlock(e){return N`
${this.compact?P:N`
${e.title}
`}
@@ -7070,7 +7123,7 @@ `})}
- `:P}};ob.styles=[Qv,ib],ab([A({type:Array})],ob.prototype,`changes`,void 0),ab([A()],ob.prototype,`originalSpec`,void 0),ab([A()],ob.prototype,`modifiedSpec`,void 0),ab([A({type:Object})],ob.prototype,`originalHighlighted`,void 0),ab([A({type:Object})],ob.prototype,`modifiedHighlighted`,void 0),ab([A({type:Boolean})],ob.prototype,`compact`,void 0),ob=ab([O(`pb33f-focused-diff-panel`)],ob);var sb=[Zo,k` + `:P}};Lb.styles=[Oy,Fb],Ib([A({type:Array})],Lb.prototype,`changes`,void 0),Ib([A()],Lb.prototype,`originalSpec`,void 0),Ib([A()],Lb.prototype,`modifiedSpec`,void 0),Ib([A({type:Object})],Lb.prototype,`originalHighlighted`,void 0),Ib([A({type:Object})],Lb.prototype,`modifiedHighlighted`,void 0),Ib([A({type:Boolean})],Lb.prototype,`compact`,void 0),Lb=Ib([O(`pb33f-focused-diff-panel`)],Lb);var Rb=[Ts,k` :host { display: flex; flex-direction: column; @@ -7890,7 +7943,7 @@ padding-bottom: var(--global-padding); border-bottom: 1px dashed var(--hrcolor); } -`];function cb(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var lb=k` +`];function zb(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var Bb=k` :host { --indicator-color: var(--sl-color-primary-600); --track-color: var(--sl-color-neutral-200); @@ -8124,11 +8177,11 @@ .tab-group--end ::slotted(sl-tab-panel) { --padding: 0 var(--sl-spacing-medium); } -`,ub=k` +`,Vb=k` :host { display: contents; } -`,db=class extends L{constructor(){super(...arguments),this.observedElements=[],this.disabled=!1}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(e=>{this.emit(`sl-resize`,{detail:{entries:e}})}),this.disabled||this.startObserver()}disconnectedCallback(){super.disconnectedCallback(),this.stopObserver()}handleSlotChange(){this.disabled||this.startObserver()}startObserver(){let e=this.shadowRoot.querySelector(`slot`);if(e!==null){let t=e.assignedElements({flatten:!0});this.observedElements.forEach(e=>this.resizeObserver.unobserve(e)),this.observedElements=[],t.forEach(e=>{this.resizeObserver.observe(e),this.observedElements.push(e)})}}stopObserver(){this.resizeObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}render(){return N` `}};db.styles=[wn,ub],D([A({type:Boolean,reflect:!0})],db.prototype,`disabled`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],db.prototype,`handleDisabledChange`,1);function fb(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function pb(e,t,n=`vertical`,r=`smooth`){let i=fb(e,t),a=i.top+t.scrollTop,o=i.left+t.scrollLeft,s=t.scrollLeft,c=t.scrollLeft+t.offsetWidth,l=t.scrollTop,u=t.scrollTop+t.offsetHeight;(n===`horizontal`||n===`both`)&&(oc&&t.scrollTo({left:o-t.offsetWidth+e.clientWidth,behavior:r})),(n===`vertical`||n===`both`)&&(au&&t.scrollTo({top:a-t.offsetHeight+e.clientHeight,behavior:r}))}var mb=k` +`,Hb=class extends L{constructor(){super(...arguments),this.observedElements=[],this.disabled=!1}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(e=>{this.emit(`sl-resize`,{detail:{entries:e}})}),this.disabled||this.startObserver()}disconnectedCallback(){super.disconnectedCallback(),this.stopObserver()}handleSlotChange(){this.disabled||this.startObserver()}startObserver(){let e=this.shadowRoot.querySelector(`slot`);if(e!==null){let t=e.assignedElements({flatten:!0});this.observedElements.forEach(e=>this.resizeObserver.unobserve(e)),this.observedElements=[],t.forEach(e=>{this.resizeObserver.observe(e),this.observedElements.push(e)})}}stopObserver(){this.resizeObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}render(){return N` `}};Hb.styles=[wn,Vb],D([A({type:Boolean,reflect:!0})],Hb.prototype,`disabled`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Hb.prototype,`handleDisabledChange`,1);function Ub(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function Wb(e,t,n=`vertical`,r=`smooth`){let i=Ub(e,t),a=i.top+t.scrollTop,o=i.left+t.scrollLeft,s=t.scrollLeft,c=t.scrollLeft+t.offsetWidth,l=t.scrollTop,u=t.scrollTop+t.offsetHeight;(n===`horizontal`||n===`both`)&&(oc&&t.scrollTo({left:o-t.offsetWidth+e.clientWidth,behavior:r})),(n===`vertical`||n===`both`)&&(au&&t.scrollTo({top:a-t.offsetHeight+e.clientHeight,behavior:r}))}var Gb=k` :host { display: inline-block; color: var(--sl-color-neutral-600); @@ -8175,7 +8228,7 @@ .icon-button__icon { pointer-events: none; } -`,hb=class extends L{constructor(){super(...arguments),this.hasFocus=!1,this.label=``,this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}render(){let e=!!this.href,t=e?qy`a`:qy`button`;return Yy` +`,Kb=class extends L{constructor(){super(...arguments),this.hasFocus=!1,this.label=``,this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}render(){let e=!!this.href,t=e?wb`a`:wb`button`;return Eb` <${t} part="base" class=${En({"icon-button":!0,"icon-button--disabled":!e&&this.disabled,"icon-button--focused":this.hasFocus})} @@ -8201,7 +8254,7 @@ aria-hidden="true" > - `}};hb.styles=[wn,mb],hb.dependencies={"sl-icon":Fo},D([M(`.icon-button`)],hb.prototype,`button`,2),D([j()],hb.prototype,`hasFocus`,2),D([A()],hb.prototype,`name`,2),D([A()],hb.prototype,`library`,2),D([A()],hb.prototype,`src`,2),D([A()],hb.prototype,`href`,2),D([A()],hb.prototype,`target`,2),D([A()],hb.prototype,`download`,2),D([A()],hb.prototype,`label`,2),D([A({type:Boolean,reflect:!0})],hb.prototype,`disabled`,2);var gb=class extends L{constructor(){super(...arguments),this.tabs=[],this.focusableTabs=[],this.panels=[],this.localize=new Cn(this),this.hasScrollControls=!1,this.shouldHideScrollStartButton=!1,this.shouldHideScrollEndButton=!1,this.placement=`top`,this.activation=`auto`,this.noScrollControls=!1,this.fixedScrollControls=!1,this.scrollOffset=1}connectedCallback(){let e=Promise.all([customElements.whenDefined(`sl-tab`),customElements.whenDefined(`sl-tab-panel`)]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(e=>{let t=e.filter(({target:e})=>{if(e===this)return!0;if(e.closest(`sl-tab-group`)!==this)return!1;let t=e.tagName.toLowerCase();return t===`sl-tab`||t===`sl-tab-panel`});if(t.length!==0){if(t.some(e=>![`aria-labelledby`,`aria-controls`].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),t.some(e=>e.attributeName===`disabled`))this.syncTabsAndPanels();else if(t.some(e=>e.attributeName===`active`)){let e=t.filter(e=>e.attributeName===`active`&&e.target.tagName.toLowerCase()===`sl-tab`).map(e=>e.target).find(e=>e.active);e&&this.setActiveTab(e)}}}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,attributeFilter:[`active`,`disabled`,`name`,`panel`],childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),e.then(()=>{new IntersectionObserver((e,t)=>{e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab(this.getActiveTab()??this.tabs[0],{emitEvents:!1}),t.unobserve(e[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){var e,t;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(){return this.shadowRoot.querySelector(`slot[name="nav"]`).assignedElements()}getAllPanels(){return[...this.body.assignedElements()].filter(e=>e.tagName.toLowerCase()===`sl-tab-panel`)}getActiveTab(){return this.tabs.find(e=>e.active)}handleClick(e){let t=e.target.closest(`sl-tab`);t?.closest(`sl-tab-group`)===this&&t!==null&&this.setActiveTab(t,{scrollBehavior:`smooth`})}handleKeyDown(e){let t=e.target.closest(`sl-tab`);if(t?.closest(`sl-tab-group`)===this&&([`Enter`,` `].includes(e.key)&&t!==null&&(this.setActiveTab(t,{scrollBehavior:`smooth`}),e.preventDefault()),[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key))){let t=this.tabs.find(e=>e.matches(`:focus`)),n=this.localize.dir()===`rtl`,r=null;if(t?.tagName.toLowerCase()===`sl-tab`){if(e.key===`Home`)r=this.focusableTabs[0];else if(e.key===`End`)r=this.focusableTabs[this.focusableTabs.length-1];else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowRight`:`ArrowLeft`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowUp`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`backward`)}else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowLeft`:`ArrowRight`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowDown`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`forward`)}if(!r)return;r.tabIndex=0,r.focus({preventScroll:!0}),this.activation===`auto`?this.setActiveTab(r,{scrollBehavior:`smooth`}):this.tabs.forEach(e=>{e.tabIndex=e===r?0:-1}),[`top`,`bottom`].includes(this.placement)&&pb(r,this.nav,`horizontal`),e.preventDefault()}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:`smooth`})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:`smooth`})}setActiveTab(e,t){if(t=re({emitEvents:!0,scrollBehavior:`auto`},t),e!==this.activeTab&&!e.disabled){let n=this.activeTab;this.activeTab=e,this.tabs.forEach(e=>{e.active=e===this.activeTab,e.tabIndex=e===this.activeTab?0:-1}),this.panels.forEach(e=>e.active=e.name===this.activeTab?.panel),this.syncIndicator(),[`top`,`bottom`].includes(this.placement)&&pb(this.activeTab,this.nav,`horizontal`,t.scrollBehavior),t.emitEvents&&(n&&this.emit(`sl-tab-hide`,{detail:{name:n.panel}}),this.emit(`sl-tab-show`,{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(e=>{let t=this.panels.find(t=>t.name===e.panel);t&&(e.setAttribute(`aria-controls`,t.getAttribute(`id`)),t.setAttribute(`aria-labelledby`,e.getAttribute(`id`)))})}repositionIndicator(){let e=this.getActiveTab();if(!e)return;let t=e.clientWidth,n=e.clientHeight,r=this.localize.dir()===`rtl`,i=this.getAllTabs(),a=i.slice(0,i.indexOf(e)).reduce((e,t)=>({left:e.left+t.clientWidth,top:e.top+t.clientHeight}),{left:0,top:0});switch(this.placement){case`top`:case`bottom`:this.indicator.style.width=`${t}px`,this.indicator.style.height=`auto`,this.indicator.style.translate=r?`${-1*a.left}px`:`${a.left}px`;break;case`start`:case`end`:this.indicator.style.width=`auto`,this.indicator.style.height=`${n}px`,this.indicator.style.translate=`0 ${a.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs(),this.focusableTabs=this.tabs.filter(e=>!e.disabled),this.panels=this.getAllPanels(),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}findNextFocusableTab(e,t){let n=null,r=t===`forward`?1:-1,i=e+r;for(;e=this.nav.scrollWidth-this.scrollOffset}scrollFromStart(){return this.localize.dir()===`rtl`?-this.nav.scrollLeft:this.nav.scrollLeft}updateScrollControls(){this.noScrollControls?this.hasScrollControls=!1:this.hasScrollControls=[`top`,`bottom`].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth+1,this.updateScrollButtons()}syncIndicator(){this.getActiveTab()?(this.indicator.style.display=`block`,this.repositionIndicator()):this.indicator.style.display=`none`}show(e){let t=this.tabs.find(t=>t.panel===e);t&&this.setActiveTab(t,{scrollBehavior:`smooth`})}render(){let e=this.localize.dir()===`rtl`;return N` + `}};Kb.styles=[wn,Gb],Kb.dependencies={"sl-icon":ls},D([M(`.icon-button`)],Kb.prototype,`button`,2),D([j()],Kb.prototype,`hasFocus`,2),D([A()],Kb.prototype,`name`,2),D([A()],Kb.prototype,`library`,2),D([A()],Kb.prototype,`src`,2),D([A()],Kb.prototype,`href`,2),D([A()],Kb.prototype,`target`,2),D([A()],Kb.prototype,`download`,2),D([A()],Kb.prototype,`label`,2),D([A({type:Boolean,reflect:!0})],Kb.prototype,`disabled`,2);var qb=class extends L{constructor(){super(...arguments),this.tabs=[],this.focusableTabs=[],this.panels=[],this.localize=new Cn(this),this.hasScrollControls=!1,this.shouldHideScrollStartButton=!1,this.shouldHideScrollEndButton=!1,this.placement=`top`,this.activation=`auto`,this.noScrollControls=!1,this.fixedScrollControls=!1,this.scrollOffset=1}connectedCallback(){let e=Promise.all([customElements.whenDefined(`sl-tab`),customElements.whenDefined(`sl-tab-panel`)]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(e=>{let t=e.filter(({target:e})=>{if(e===this)return!0;if(e.closest(`sl-tab-group`)!==this)return!1;let t=e.tagName.toLowerCase();return t===`sl-tab`||t===`sl-tab-panel`});if(t.length!==0){if(t.some(e=>![`aria-labelledby`,`aria-controls`].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),t.some(e=>e.attributeName===`disabled`))this.syncTabsAndPanels();else if(t.some(e=>e.attributeName===`active`)){let e=t.filter(e=>e.attributeName===`active`&&e.target.tagName.toLowerCase()===`sl-tab`).map(e=>e.target).find(e=>e.active);e&&this.setActiveTab(e)}}}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,attributeFilter:[`active`,`disabled`,`name`,`panel`],childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),e.then(()=>{new IntersectionObserver((e,t)=>{e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab(this.getActiveTab()??this.tabs[0],{emitEvents:!1}),t.unobserve(e[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){var e,t;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(){return this.shadowRoot.querySelector(`slot[name="nav"]`).assignedElements()}getAllPanels(){return[...this.body.assignedElements()].filter(e=>e.tagName.toLowerCase()===`sl-tab-panel`)}getActiveTab(){return this.tabs.find(e=>e.active)}handleClick(e){let t=e.target.closest(`sl-tab`);t?.closest(`sl-tab-group`)===this&&t!==null&&this.setActiveTab(t,{scrollBehavior:`smooth`})}handleKeyDown(e){let t=e.target.closest(`sl-tab`);if(t?.closest(`sl-tab-group`)===this&&([`Enter`,` `].includes(e.key)&&t!==null&&(this.setActiveTab(t,{scrollBehavior:`smooth`}),e.preventDefault()),[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key))){let t=this.tabs.find(e=>e.matches(`:focus`)),n=this.localize.dir()===`rtl`,r=null;if(t?.tagName.toLowerCase()===`sl-tab`){if(e.key===`Home`)r=this.focusableTabs[0];else if(e.key===`End`)r=this.focusableTabs[this.focusableTabs.length-1];else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowRight`:`ArrowLeft`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowUp`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`backward`)}else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowLeft`:`ArrowRight`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowDown`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`forward`)}if(!r)return;r.tabIndex=0,r.focus({preventScroll:!0}),this.activation===`auto`?this.setActiveTab(r,{scrollBehavior:`smooth`}):this.tabs.forEach(e=>{e.tabIndex=e===r?0:-1}),[`top`,`bottom`].includes(this.placement)&&Wb(r,this.nav,`horizontal`),e.preventDefault()}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:`smooth`})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:`smooth`})}setActiveTab(e,t){if(t=re({emitEvents:!0,scrollBehavior:`auto`},t),e!==this.activeTab&&!e.disabled){let n=this.activeTab;this.activeTab=e,this.tabs.forEach(e=>{e.active=e===this.activeTab,e.tabIndex=e===this.activeTab?0:-1}),this.panels.forEach(e=>e.active=e.name===this.activeTab?.panel),this.syncIndicator(),[`top`,`bottom`].includes(this.placement)&&Wb(this.activeTab,this.nav,`horizontal`,t.scrollBehavior),t.emitEvents&&(n&&this.emit(`sl-tab-hide`,{detail:{name:n.panel}}),this.emit(`sl-tab-show`,{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(e=>{let t=this.panels.find(t=>t.name===e.panel);t&&(e.setAttribute(`aria-controls`,t.getAttribute(`id`)),t.setAttribute(`aria-labelledby`,e.getAttribute(`id`)))})}repositionIndicator(){let e=this.getActiveTab();if(!e)return;let t=e.clientWidth,n=e.clientHeight,r=this.localize.dir()===`rtl`,i=this.getAllTabs(),a=i.slice(0,i.indexOf(e)).reduce((e,t)=>({left:e.left+t.clientWidth,top:e.top+t.clientHeight}),{left:0,top:0});switch(this.placement){case`top`:case`bottom`:this.indicator.style.width=`${t}px`,this.indicator.style.height=`auto`,this.indicator.style.translate=r?`${-1*a.left}px`:`${a.left}px`;break;case`start`:case`end`:this.indicator.style.width=`auto`,this.indicator.style.height=`${n}px`,this.indicator.style.translate=`0 ${a.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs(),this.focusableTabs=this.tabs.filter(e=>!e.disabled),this.panels=this.getAllPanels(),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}findNextFocusableTab(e,t){let n=null,r=t===`forward`?1:-1,i=e+r;for(;e=this.nav.scrollWidth-this.scrollOffset}scrollFromStart(){return this.localize.dir()===`rtl`?-this.nav.scrollLeft:this.nav.scrollLeft}updateScrollControls(){this.noScrollControls?this.hasScrollControls=!1:this.hasScrollControls=[`top`,`bottom`].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth+1,this.updateScrollButtons()}syncIndicator(){this.getActiveTab()?(this.indicator.style.display=`block`,this.repositionIndicator()):this.indicator.style.display=`none`}show(e){let t=this.tabs.find(t=>t.panel===e);t&&this.setActiveTab(t,{scrollBehavior:`smooth`})}render(){let e=this.localize.dir()===`rtl`;return N`
- `}};gb.styles=[wn,lb],gb.dependencies={"sl-icon-button":hb,"sl-resize-observer":db},D([M(`.tab-group`)],gb.prototype,`tabGroup`,2),D([M(`.tab-group__body`)],gb.prototype,`body`,2),D([M(`.tab-group__nav`)],gb.prototype,`nav`,2),D([M(`.tab-group__indicator`)],gb.prototype,`indicator`,2),D([j()],gb.prototype,`hasScrollControls`,2),D([j()],gb.prototype,`shouldHideScrollStartButton`,2),D([j()],gb.prototype,`shouldHideScrollEndButton`,2),D([A()],gb.prototype,`placement`,2),D([A()],gb.prototype,`activation`,2),D([A({attribute:`no-scroll-controls`,type:Boolean})],gb.prototype,`noScrollControls`,2),D([A({attribute:`fixed-scroll-controls`,type:Boolean})],gb.prototype,`fixedScrollControls`,2),D([Le({passive:!0})],gb.prototype,`updateScrollButtons`,1),D([I(`noScrollControls`,{waitUntilFirstUpdate:!0})],gb.prototype,`updateScrollControls`,1),D([I(`placement`,{waitUntilFirstUpdate:!0})],gb.prototype,`syncIndicator`,1),gb.define(`sl-tab-group`);var _b=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},vb=(e,t,n)=>{let r=e[t];e[t]=function(...e){r.call(this,...e),n.call(this,r,...e)}};(()=>{if(!(typeof window>`u`)&&!(`onscrollend`in window)){let e=new Set,t=new WeakMap,n=t=>{for(let n of t.changedTouches)e.add(n.identifier)},r=t=>{for(let n of t.changedTouches)e.delete(n.identifier)};document.addEventListener(`touchstart`,n,!0),document.addEventListener(`touchend`,r,!0),document.addEventListener(`touchcancel`,r,!0),vb(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=_b(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),vb(EventTarget.prototype,`removeEventListener`,function(e,n){if(n!==`scrollend`)return;let r=t.get(this);r&&e.call(this,`scroll`,r,{passive:!0})})}})();var yb=k` + `}};qb.styles=[wn,Bb],qb.dependencies={"sl-icon-button":Kb,"sl-resize-observer":Hb},D([M(`.tab-group`)],qb.prototype,`tabGroup`,2),D([M(`.tab-group__body`)],qb.prototype,`body`,2),D([M(`.tab-group__nav`)],qb.prototype,`nav`,2),D([M(`.tab-group__indicator`)],qb.prototype,`indicator`,2),D([j()],qb.prototype,`hasScrollControls`,2),D([j()],qb.prototype,`shouldHideScrollStartButton`,2),D([j()],qb.prototype,`shouldHideScrollEndButton`,2),D([A()],qb.prototype,`placement`,2),D([A()],qb.prototype,`activation`,2),D([A({attribute:`no-scroll-controls`,type:Boolean})],qb.prototype,`noScrollControls`,2),D([A({attribute:`fixed-scroll-controls`,type:Boolean})],qb.prototype,`fixedScrollControls`,2),D([Le({passive:!0})],qb.prototype,`updateScrollButtons`,1),D([I(`noScrollControls`,{waitUntilFirstUpdate:!0})],qb.prototype,`updateScrollControls`,1),D([I(`placement`,{waitUntilFirstUpdate:!0})],qb.prototype,`syncIndicator`,1),qb.define(`sl-tab-group`);var Jb=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},Yb=(e,t,n)=>{let r=e[t];e[t]=function(...e){r.call(this,...e),n.call(this,r,...e)}};(()=>{if(!(typeof window>`u`)&&!(`onscrollend`in window)){let e=new Set,t=new WeakMap,n=t=>{for(let n of t.changedTouches)e.add(n.identifier)},r=t=>{for(let n of t.changedTouches)e.delete(n.identifier)};document.addEventListener(`touchstart`,n,!0),document.addEventListener(`touchend`,r,!0),document.addEventListener(`touchcancel`,r,!0),Yb(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=Jb(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),Yb(EventTarget.prototype,`removeEventListener`,function(e,n){if(n!==`scrollend`)return;let r=t.get(this);r&&e.call(this,`scroll`,r,{passive:!0})})}})();var Xb=k` :host { --padding: 0; @@ -8264,12 +8317,12 @@ display: block; padding: var(--padding); } -`,bb=0,xb=class extends L{constructor(){super(...arguments),this.attrId=++bb,this.componentId=`sl-tab-panel-${this.attrId}`,this.name=``,this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute(`role`,`tabpanel`)}handleActiveChange(){this.setAttribute(`aria-hidden`,this.active?`false`:`true`)}render(){return N` +`,Zb=0,Qb=class extends L{constructor(){super(...arguments),this.attrId=++Zb,this.componentId=`sl-tab-panel-${this.attrId}`,this.name=``,this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute(`role`,`tabpanel`)}handleActiveChange(){this.setAttribute(`aria-hidden`,this.active?`false`:`true`)}render(){return N` - `}};xb.styles=[wn,yb],D([A({reflect:!0})],xb.prototype,`name`,2),D([A({type:Boolean,reflect:!0})],xb.prototype,`active`,2),D([I(`active`)],xb.prototype,`handleActiveChange`,1),xb.define(`sl-tab-panel`);var Sb=k` + `}};Qb.styles=[wn,Xb],D([A({reflect:!0})],Qb.prototype,`name`,2),D([A({type:Boolean,reflect:!0})],Qb.prototype,`active`,2),D([I(`active`)],Qb.prototype,`handleActiveChange`,1),Qb.define(`sl-tab-panel`);var $b=k` :host { display: inline-block; } @@ -8334,7 +8387,7 @@ outline-offset: -3px; } } -`,Cb=0,wb=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.attrId=++Cb,this.componentId=`sl-tab-${this.attrId}`,this.panel=``,this.active=!1,this.closable=!1,this.disabled=!1,this.tabIndex=0}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tab`)}handleCloseClick(e){e.stopPropagation(),this.emit(`sl-close`)}handleActiveChange(){this.setAttribute(`aria-selected`,this.active?`true`:`false`)}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`),this.disabled&&!this.active?this.tabIndex=-1:this.tabIndex=0}render(){return this.id=this.id.length>0?this.id:this.componentId,N` +`,ex=0,tx=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.attrId=++ex,this.componentId=`sl-tab-${this.attrId}`,this.panel=``,this.active=!1,this.closable=!1,this.disabled=!1,this.tabIndex=0}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tab`)}handleCloseClick(e){e.stopPropagation(),this.emit(`sl-close`)}handleActiveChange(){this.setAttribute(`aria-selected`,this.active?`true`:`false`)}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`),this.disabled&&!this.active?this.tabIndex=-1:this.tabIndex=0}render(){return this.id=this.id.length>0?this.id:this.componentId,N`
`:``}
- `}};wb.styles=[wn,Sb],wb.dependencies={"sl-icon-button":hb},D([M(`.tab`)],wb.prototype,`tab`,2),D([A({reflect:!0})],wb.prototype,`panel`,2),D([A({type:Boolean,reflect:!0})],wb.prototype,`active`,2),D([A({type:Boolean,reflect:!0})],wb.prototype,`closable`,2),D([A({type:Boolean,reflect:!0})],wb.prototype,`disabled`,2),D([A({type:Number,reflect:!0})],wb.prototype,`tabIndex`,2),D([I(`active`)],wb.prototype,`handleActiveChange`,1),D([I(`disabled`)],wb.prototype,`handleDisabledChange`,1),wb.define(`sl-tab`);var Tb=k` + `}};tx.styles=[wn,$b],tx.dependencies={"sl-icon-button":Kb},D([M(`.tab`)],tx.prototype,`tab`,2),D([A({reflect:!0})],tx.prototype,`panel`,2),D([A({type:Boolean,reflect:!0})],tx.prototype,`active`,2),D([A({type:Boolean,reflect:!0})],tx.prototype,`closable`,2),D([A({type:Boolean,reflect:!0})],tx.prototype,`disabled`,2),D([A({type:Number,reflect:!0})],tx.prototype,`tabIndex`,2),D([I(`active`)],tx.prototype,`handleActiveChange`,1),D([I(`disabled`)],tx.prototype,`handleDisabledChange`,1),tx.define(`sl-tab`);var nx=k` :host { --max-width: 20rem; --hide-delay: 0ms; @@ -8405,7 +8458,7 @@ user-select: none; -webkit-user-select: none; } -`;function Eb(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var Db=class extends L{constructor(){super(),this.localize=new Cn(this),this.content=``,this.placement=`top`,this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger=`hover focus`,this.hoist=!1,this.handleBlur=()=>{this.hasTrigger(`focus`)&&this.hide()},this.handleClick=()=>{this.hasTrigger(`click`)&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger(`focus`)&&this.show()},this.handleDocumentKeyDown=e=>{e.key===`Escape`&&(e.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger(`hover`)){let e=fs(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=fs(getComputedStyle(this).getPropertyValue(`--hide-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}},this.addEventListener(`blur`,this.handleBlur,!0),this.addEventListener(`focus`,this.handleFocus,!0),this.addEventListener(`click`,this.handleClick),this.addEventListener(`mouseover`,this.handleMouseOver),this.addEventListener(`mouseout`,this.handleMouseOut)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.closeWatcher)==null||e.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(e){return this.trigger.split(` `).includes(e)}async handleOpenChange(){var e,t;if(this.open){if(this.disabled)return;this.emit(`sl-show`),`CloseWatcher`in window?((e=this.closeWatcher)==null||e.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.hide()}):document.addEventListener(`keydown`,this.handleDocumentKeyDown),await ms(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=us(this,`tooltip.show`,{dir:this.localize.dir()});await ds(this.popup.popup,t,n),this.popup.reposition(),this.emit(`sl-after-show`)}else{this.emit(`sl-hide`),(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown),await ms(this.body);let{keyframes:e,options:n}=us(this,`tooltip.hide`,{dir:this.localize.dir()});await ds(this.popup.popup,e,n),this.popup.active=!1,this.body.hidden=!0,this.emit(`sl-after-hide`)}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,Eb(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,Eb(this,`sl-after-hide`)}render(){return N` +`;function rx(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var ix=class extends L{constructor(){super(),this.localize=new Cn(this),this.content=``,this.placement=`top`,this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger=`hover focus`,this.hoist=!1,this.handleBlur=()=>{this.hasTrigger(`focus`)&&this.hide()},this.handleClick=()=>{this.hasTrigger(`click`)&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger(`focus`)&&this.show()},this.handleDocumentKeyDown=e=>{e.key===`Escape`&&(e.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger(`hover`)){let e=Bs(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=Bs(getComputedStyle(this).getPropertyValue(`--hide-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}},this.addEventListener(`blur`,this.handleBlur,!0),this.addEventListener(`focus`,this.handleFocus,!0),this.addEventListener(`click`,this.handleClick),this.addEventListener(`mouseover`,this.handleMouseOver),this.addEventListener(`mouseout`,this.handleMouseOut)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.closeWatcher)==null||e.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(e){return this.trigger.split(` `).includes(e)}async handleOpenChange(){var e,t;if(this.open){if(this.disabled)return;this.emit(`sl-show`),`CloseWatcher`in window?((e=this.closeWatcher)==null||e.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.hide()}):document.addEventListener(`keydown`,this.handleDocumentKeyDown),await Hs(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=Rs(this,`tooltip.show`,{dir:this.localize.dir()});await zs(this.popup.popup,t,n),this.popup.reposition(),this.emit(`sl-after-show`)}else{this.emit(`sl-hide`),(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown),await Hs(this.body);let{keyframes:e,options:n}=Rs(this,`tooltip.hide`,{dir:this.localize.dir()});await zs(this.popup.popup,e,n),this.popup.active=!1,this.body.hidden=!0,this.emit(`sl-after-hide`)}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,rx(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,rx(this,`sl-after-hide`)}render(){return N` ${this.content}
- `}};Db.styles=[wn,Tb],Db.dependencies={"sl-popup":z},D([M(`slot:not([name])`)],Db.prototype,`defaultSlot`,2),D([M(`.tooltip__body`)],Db.prototype,`body`,2),D([M(`sl-popup`)],Db.prototype,`popup`,2),D([A()],Db.prototype,`content`,2),D([A()],Db.prototype,`placement`,2),D([A({type:Boolean,reflect:!0})],Db.prototype,`disabled`,2),D([A({type:Number})],Db.prototype,`distance`,2),D([A({type:Boolean,reflect:!0})],Db.prototype,`open`,2),D([A({type:Number})],Db.prototype,`skidding`,2),D([A()],Db.prototype,`trigger`,2),D([A({type:Boolean})],Db.prototype,`hoist`,2),D([I(`open`,{waitUntilFirstUpdate:!0})],Db.prototype,`handleOpenChange`,1),D([I([`content`,`distance`,`hoist`,`placement`,`skidding`])],Db.prototype,`handleOptionsChange`,1),D([I(`disabled`)],Db.prototype,`handleDisabledChange`,1),ls(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),ls(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),Db.define(`sl-tooltip`);var Ob=[{max:276e4,value:6e4,unit:`minute`},{max:72e6,value:36e5,unit:`hour`},{max:5184e5,value:864e5,unit:`day`},{max:24192e5,value:6048e5,unit:`week`},{max:28512e6,value:2592e6,unit:`month`},{max:1/0,value:31536e6,unit:`year`}],kb=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.isoTime=``,this.relativeTime=``,this.date=new Date,this.format=`long`,this.numeric=`auto`,this.sync=!1}disconnectedCallback(){super.disconnectedCallback(),clearTimeout(this.updateTimeout)}render(){let e=new Date,t=new Date(this.date);if(isNaN(t.getMilliseconds()))return this.relativeTime=``,this.isoTime=``,``;let n=t.getTime()-e.getTime(),{unit:r,value:i}=Ob.find(e=>Math.abs(n)this.requestUpdate(),e)}return N` `}};D([j()],kb.prototype,`isoTime`,2),D([j()],kb.prototype,`relativeTime`,2),D([A()],kb.prototype,`date`,2),D([A()],kb.prototype,`format`,2),D([A()],kb.prototype,`numeric`,2),D([A({type:Boolean})],kb.prototype,`sync`,2);function Ab(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}kb.define(`sl-relative-time`);var jb=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.value=0,this.type=`decimal`,this.noGrouping=!1,this.currency=`USD`,this.currencyDisplay=`symbol`}render(){return isNaN(this.value)?``:this.localize.number(this.value,{style:this.type,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:!this.noGrouping,minimumIntegerDigits:this.minimumIntegerDigits,minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits,minimumSignificantDigits:this.minimumSignificantDigits,maximumSignificantDigits:this.maximumSignificantDigits})}};D([A({type:Number})],jb.prototype,`value`,2),D([A()],jb.prototype,`type`,2),D([A({attribute:`no-grouping`,type:Boolean})],jb.prototype,`noGrouping`,2),D([A()],jb.prototype,`currency`,2),D([A({attribute:`currency-display`})],jb.prototype,`currencyDisplay`,2),D([A({attribute:`minimum-integer-digits`,type:Number})],jb.prototype,`minimumIntegerDigits`,2),D([A({attribute:`minimum-fraction-digits`,type:Number})],jb.prototype,`minimumFractionDigits`,2),D([A({attribute:`maximum-fraction-digits`,type:Number})],jb.prototype,`maximumFractionDigits`,2),D([A({attribute:`minimum-significant-digits`,type:Number})],jb.prototype,`minimumSignificantDigits`,2),D([A({attribute:`maximum-significant-digits`,type:Number})],jb.prototype,`maximumSignificantDigits`,2),jb.define(`sl-format-number`),hb.define(`sl-icon-button`);var Mb=k` + `}};ix.styles=[wn,nx],ix.dependencies={"sl-popup":z},D([M(`slot:not([name])`)],ix.prototype,`defaultSlot`,2),D([M(`.tooltip__body`)],ix.prototype,`body`,2),D([M(`sl-popup`)],ix.prototype,`popup`,2),D([A()],ix.prototype,`content`,2),D([A()],ix.prototype,`placement`,2),D([A({type:Boolean,reflect:!0})],ix.prototype,`disabled`,2),D([A({type:Number})],ix.prototype,`distance`,2),D([A({type:Boolean,reflect:!0})],ix.prototype,`open`,2),D([A({type:Number})],ix.prototype,`skidding`,2),D([A()],ix.prototype,`trigger`,2),D([A({type:Boolean})],ix.prototype,`hoist`,2),D([I(`open`,{waitUntilFirstUpdate:!0})],ix.prototype,`handleOpenChange`,1),D([I([`content`,`distance`,`hoist`,`placement`,`skidding`])],ix.prototype,`handleOptionsChange`,1),D([I(`disabled`)],ix.prototype,`handleDisabledChange`,1),Ls(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),Ls(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),ix.define(`sl-tooltip`);var ax=[{max:276e4,value:6e4,unit:`minute`},{max:72e6,value:36e5,unit:`hour`},{max:5184e5,value:864e5,unit:`day`},{max:24192e5,value:6048e5,unit:`week`},{max:28512e6,value:2592e6,unit:`month`},{max:1/0,value:31536e6,unit:`year`}],ox=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.isoTime=``,this.relativeTime=``,this.date=new Date,this.format=`long`,this.numeric=`auto`,this.sync=!1}disconnectedCallback(){super.disconnectedCallback(),clearTimeout(this.updateTimeout)}render(){let e=new Date,t=new Date(this.date);if(isNaN(t.getMilliseconds()))return this.relativeTime=``,this.isoTime=``,``;let n=t.getTime()-e.getTime(),{unit:r,value:i}=ax.find(e=>Math.abs(n)this.requestUpdate(),e)}return N` `}};D([j()],ox.prototype,`isoTime`,2),D([j()],ox.prototype,`relativeTime`,2),D([A()],ox.prototype,`date`,2),D([A()],ox.prototype,`format`,2),D([A()],ox.prototype,`numeric`,2),D([A({type:Boolean})],ox.prototype,`sync`,2);function sx(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}ox.define(`sl-relative-time`);var cx=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.value=0,this.type=`decimal`,this.noGrouping=!1,this.currency=`USD`,this.currencyDisplay=`symbol`}render(){return isNaN(this.value)?``:this.localize.number(this.value,{style:this.type,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:!this.noGrouping,minimumIntegerDigits:this.minimumIntegerDigits,minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits,minimumSignificantDigits:this.minimumSignificantDigits,maximumSignificantDigits:this.maximumSignificantDigits})}};D([A({type:Number})],cx.prototype,`value`,2),D([A()],cx.prototype,`type`,2),D([A({attribute:`no-grouping`,type:Boolean})],cx.prototype,`noGrouping`,2),D([A()],cx.prototype,`currency`,2),D([A({attribute:`currency-display`})],cx.prototype,`currencyDisplay`,2),D([A({attribute:`minimum-integer-digits`,type:Number})],cx.prototype,`minimumIntegerDigits`,2),D([A({attribute:`minimum-fraction-digits`,type:Number})],cx.prototype,`minimumFractionDigits`,2),D([A({attribute:`maximum-fraction-digits`,type:Number})],cx.prototype,`maximumFractionDigits`,2),D([A({attribute:`minimum-significant-digits`,type:Number})],cx.prototype,`minimumSignificantDigits`,2),D([A({attribute:`maximum-significant-digits`,type:Number})],cx.prototype,`maximumSignificantDigits`,2),cx.define(`sl-format-number`),Kb.define(`sl-icon-button`);var lx=k` :host { display: inline-block; } @@ -8543,7 +8596,7 @@ .tag--pill { border-radius: var(--sl-border-radius-pill); } -`,Nb=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.variant=`neutral`,this.size=`medium`,this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit(`sl-remove`)}render(){return N` +`,ux=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.variant=`neutral`,this.size=`medium`,this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit(`sl-remove`)}render(){return N` `:``} - `}};Nb.styles=[wn,Mb],Nb.dependencies={"sl-icon-button":hb},D([A({reflect:!0})],Nb.prototype,`variant`,2),D([A({reflect:!0})],Nb.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Nb.prototype,`pill`,2),D([A({type:Boolean})],Nb.prototype,`removable`,2),Nb.define(`sl-tag`);var Pb=k` + `}};ux.styles=[wn,lx],ux.dependencies={"sl-icon-button":Kb},D([A({reflect:!0})],ux.prototype,`variant`,2),D([A({reflect:!0})],ux.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],ux.prototype,`pill`,2),D([A({type:Boolean})],ux.prototype,`removable`,2),ux.define(`sl-tag`);var dx=k` :host { display: block; } @@ -8956,7 +9009,7 @@ ${this.helpText} - `}};Q.styles=[wn,en,Pb],Q.dependencies={"sl-icon":Fo},D([M(`.input__control`)],Q.prototype,`input`,2),D([j()],Q.prototype,`hasFocus`,2),D([A()],Q.prototype,`title`,2),D([A({reflect:!0})],Q.prototype,`type`,2),D([A()],Q.prototype,`name`,2),D([A()],Q.prototype,`value`,2),D([$t()],Q.prototype,`defaultValue`,2),D([A({reflect:!0})],Q.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`filled`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`pill`,2),D([A()],Q.prototype,`label`,2),D([A({attribute:`help-text`})],Q.prototype,`helpText`,2),D([A({type:Boolean})],Q.prototype,`clearable`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`disabled`,2),D([A()],Q.prototype,`placeholder`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`readonly`,2),D([A({attribute:`password-toggle`,type:Boolean})],Q.prototype,`passwordToggle`,2),D([A({attribute:`password-visible`,type:Boolean})],Q.prototype,`passwordVisible`,2),D([A({attribute:`no-spin-buttons`,type:Boolean})],Q.prototype,`noSpinButtons`,2),D([A({reflect:!0})],Q.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`required`,2),D([A()],Q.prototype,`pattern`,2),D([A({type:Number})],Q.prototype,`minlength`,2),D([A({type:Number})],Q.prototype,`maxlength`,2),D([A()],Q.prototype,`min`,2),D([A()],Q.prototype,`max`,2),D([A()],Q.prototype,`step`,2),D([A()],Q.prototype,`autocapitalize`,2),D([A()],Q.prototype,`autocorrect`,2),D([A()],Q.prototype,`autocomplete`,2),D([A({type:Boolean})],Q.prototype,`autofocus`,2),D([A()],Q.prototype,`enterkeyhint`,2),D([A({type:Boolean,converter:{fromAttribute:e=>!(!e||e===`false`),toAttribute:e=>e?`true`:`false`}})],Q.prototype,`spellcheck`,2),D([A()],Q.prototype,`inputmode`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Q.prototype,`handleDisabledChange`,1),D([I(`step`,{waitUntilFirstUpdate:!0})],Q.prototype,`handleStepChange`,1),D([I(`value`,{waitUntilFirstUpdate:!0})],Q.prototype,`handleValueChange`,1),Q.define(`sl-input`);var $=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this,{assumeInteractionOn:[`click`]}),this.hasSlotController=new dn(this,`[default]`,`prefix`,`suffix`),this.localize=new Cn(this),this.hasFocus=!1,this.invalid=!1,this.title=``,this.variant=`default`,this.size=`medium`,this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type=`button`,this.name=``,this.value=``,this.href=``,this.rel=`noreferrer noopener`}get validity(){return this.isButton()?this.button.validity:cn}get validationMessage(){return this.isButton()?this.button.validationMessage:``}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(){this.type===`submit`&&this.formControlController.submit(this),this.type===`reset`&&this.formControlController.reset(this)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?qy`a`:qy`button`;return Yy` + `}};Q.styles=[wn,en,dx],Q.dependencies={"sl-icon":ls},D([M(`.input__control`)],Q.prototype,`input`,2),D([j()],Q.prototype,`hasFocus`,2),D([A()],Q.prototype,`title`,2),D([A({reflect:!0})],Q.prototype,`type`,2),D([A()],Q.prototype,`name`,2),D([A()],Q.prototype,`value`,2),D([$t()],Q.prototype,`defaultValue`,2),D([A({reflect:!0})],Q.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`filled`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`pill`,2),D([A()],Q.prototype,`label`,2),D([A({attribute:`help-text`})],Q.prototype,`helpText`,2),D([A({type:Boolean})],Q.prototype,`clearable`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`disabled`,2),D([A()],Q.prototype,`placeholder`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`readonly`,2),D([A({attribute:`password-toggle`,type:Boolean})],Q.prototype,`passwordToggle`,2),D([A({attribute:`password-visible`,type:Boolean})],Q.prototype,`passwordVisible`,2),D([A({attribute:`no-spin-buttons`,type:Boolean})],Q.prototype,`noSpinButtons`,2),D([A({reflect:!0})],Q.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],Q.prototype,`required`,2),D([A()],Q.prototype,`pattern`,2),D([A({type:Number})],Q.prototype,`minlength`,2),D([A({type:Number})],Q.prototype,`maxlength`,2),D([A()],Q.prototype,`min`,2),D([A()],Q.prototype,`max`,2),D([A()],Q.prototype,`step`,2),D([A()],Q.prototype,`autocapitalize`,2),D([A()],Q.prototype,`autocorrect`,2),D([A()],Q.prototype,`autocomplete`,2),D([A({type:Boolean})],Q.prototype,`autofocus`,2),D([A()],Q.prototype,`enterkeyhint`,2),D([A({type:Boolean,converter:{fromAttribute:e=>!(!e||e===`false`),toAttribute:e=>e?`true`:`false`}})],Q.prototype,`spellcheck`,2),D([A()],Q.prototype,`inputmode`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Q.prototype,`handleDisabledChange`,1),D([I(`step`,{waitUntilFirstUpdate:!0})],Q.prototype,`handleStepChange`,1),D([I(`value`,{waitUntilFirstUpdate:!0})],Q.prototype,`handleValueChange`,1),Q.define(`sl-input`);var $=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this,{assumeInteractionOn:[`click`]}),this.hasSlotController=new dn(this,`[default]`,`prefix`,`suffix`),this.localize=new Cn(this),this.hasFocus=!1,this.invalid=!1,this.title=``,this.variant=`default`,this.size=`medium`,this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type=`button`,this.name=``,this.value=``,this.href=``,this.rel=`noreferrer noopener`}get validity(){return this.isButton()?this.button.validity:cn}get validationMessage(){return this.isButton()?this.button.validationMessage:``}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(){this.type===`submit`&&this.formControlController.submit(this),this.type===`reset`&&this.formControlController.reset(this)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?wb`a`:wb`button`;return Eb` <${t} part="base" class=${En({button:!0,"button--default":this.variant===`default`,"button--primary":this.variant===`primary`,"button--success":this.variant===`success`,"button--neutral":this.variant===`neutral`,"button--warning":this.variant===`warning`,"button--danger":this.variant===`danger`,"button--text":this.variant===`text`,"button--small":this.size===`small`,"button--medium":this.size===`medium`,"button--large":this.size===`large`,"button--caret":this.caret,"button--circle":this.circle,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--loading":this.loading,"button--standard":!this.outline,"button--outline":this.outline,"button--pill":this.pill,"button--rtl":this.localize.dir()===`rtl`,"button--has-label":this.hasSlotController.test(`[default]`),"button--has-prefix":this.hasSlotController.test(`prefix`),"button--has-suffix":this.hasSlotController.test(`suffix`)})} @@ -8980,10 +9033,10 @@ - ${this.caret?Yy` `:``} - ${this.loading?Yy``:``} + ${this.caret?Eb` `:``} + ${this.loading?Eb``:``} - `}};$.styles=[wn,Uy],$.dependencies={"sl-icon":Fo,"sl-spinner":is},D([M(`.button`)],$.prototype,`button`,2),D([j()],$.prototype,`hasFocus`,2),D([j()],$.prototype,`invalid`,2),D([A()],$.prototype,`title`,2),D([A({reflect:!0})],$.prototype,`variant`,2),D([A({reflect:!0})],$.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`caret`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`loading`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`outline`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`pill`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`circle`,2),D([A()],$.prototype,`type`,2),D([A()],$.prototype,`name`,2),D([A()],$.prototype,`value`,2),D([A()],$.prototype,`href`,2),D([A()],$.prototype,`target`,2),D([A()],$.prototype,`rel`,2),D([A()],$.prototype,`download`,2),D([A()],$.prototype,`form`,2),D([A({attribute:`formaction`})],$.prototype,`formAction`,2),D([A({attribute:`formenctype`})],$.prototype,`formEnctype`,2),D([A({attribute:`formmethod`})],$.prototype,`formMethod`,2),D([A({attribute:`formnovalidate`,type:Boolean})],$.prototype,`formNoValidate`,2),D([A({attribute:`formtarget`})],$.prototype,`formTarget`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],$.prototype,`handleDisabledChange`,1),$.define(`sl-button`);var Fb=k` + `}};$.styles=[wn,bb],$.dependencies={"sl-icon":ls,"sl-spinner":Ms},D([M(`.button`)],$.prototype,`button`,2),D([j()],$.prototype,`hasFocus`,2),D([j()],$.prototype,`invalid`,2),D([A()],$.prototype,`title`,2),D([A({reflect:!0})],$.prototype,`variant`,2),D([A({reflect:!0})],$.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`caret`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`loading`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`outline`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`pill`,2),D([A({type:Boolean,reflect:!0})],$.prototype,`circle`,2),D([A()],$.prototype,`type`,2),D([A()],$.prototype,`name`,2),D([A()],$.prototype,`value`,2),D([A()],$.prototype,`href`,2),D([A()],$.prototype,`target`,2),D([A()],$.prototype,`rel`,2),D([A()],$.prototype,`download`,2),D([A()],$.prototype,`form`,2),D([A({attribute:`formaction`})],$.prototype,`formAction`,2),D([A({attribute:`formenctype`})],$.prototype,`formEnctype`,2),D([A({attribute:`formmethod`})],$.prototype,`formMethod`,2),D([A({attribute:`formnovalidate`,type:Boolean})],$.prototype,`formNoValidate`,2),D([A({attribute:`formtarget`})],$.prototype,`formTarget`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],$.prototype,`handleDisabledChange`,1),$.define(`sl-button`);var fx=k` :host { display: inline-block; } @@ -9148,7 +9201,7 @@ background-color: ButtonText; } } -`,Ib=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new dn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleClick(){this.checked=!this.checked,this.emit(`sl-change`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleKeyDown(e){e.key===`ArrowLeft`&&(e.preventDefault(),this.checked=!1,this.emit(`sl-change`),this.emit(`sl-input`)),e.key===`ArrowRight`&&(e.preventDefault(),this.checked=!0,this.emit(`sl-change`),this.emit(`sl-input`))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return N` +`,px=class extends L{constructor(){super(...arguments),this.formControlController=new sn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new dn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleClick(){this.checked=!this.checked,this.emit(`sl-change`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleKeyDown(e){e.key===`ArrowLeft`&&(e.preventDefault(),this.checked=!1,this.emit(`sl-change`),this.emit(`sl-input`)),e.key===`ArrowRight`&&(e.preventDefault(),this.checked=!0,this.emit(`sl-change`),this.emit(`sl-input`))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return N`
@@ -9194,7 +9247,7 @@ ${this.helpText}
- `}};Ib.styles=[wn,en,Fb],D([M(`input[type="checkbox"]`)],Ib.prototype,`input`,2),D([j()],Ib.prototype,`hasFocus`,2),D([A()],Ib.prototype,`title`,2),D([A()],Ib.prototype,`name`,2),D([A()],Ib.prototype,`value`,2),D([A({reflect:!0})],Ib.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Ib.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],Ib.prototype,`checked`,2),D([$t(`checked`)],Ib.prototype,`defaultChecked`,2),D([A({reflect:!0})],Ib.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],Ib.prototype,`required`,2),D([A({attribute:`help-text`})],Ib.prototype,`helpText`,2),D([I(`checked`,{waitUntilFirstUpdate:!0})],Ib.prototype,`handleCheckedChange`,1),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Ib.prototype,`handleDisabledChange`,1),Ib.define(`sl-switch`);var Lb=[`MODIFIED`,`ADDED`,`REMOVED`],Rb=[`BREAKING`,`NON-BREAKING`],zb={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function Bb(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function Vb(e,t,n,r){return{pointRadius:Array.from({length:e},(e,n)=>n===t?12:4),pointBackgroundColor:Array.from({length:e},(e,i)=>i===t?n:r),pointBorderColor:Array(e).fill(r),pointBorderWidth:Array.from({length:e},(e,n)=>n===t?3:1)}}var Hb=class extends F{constructor(...e){super(...e),this.data=null,this.activeItemIndex=0,this.error=``,this.activeMainTab=`overview`,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[],this._graphNodeMap=new Map,this._cachedChartIndex=-1,this._cachedData=null,this._changeDataset=[],this._breakingDataset=[],this._overviewResizeObserver=null,this._chartsInitialized=!1,this._onThemeChange=()=>{requestAnimationFrame(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})},this.handleTabShow=e=>{this.onTabShow(e)},this._onTreeNodeClicked=e=>{this.handleTreeNodeClicked(e)}}static{this.styles=sb}get _chartPointIndex(){let e=this.data?.history?.changeData?.labels?.length??0;return e>0?e-1-this.activeItemIndex:0}connectedCallback(){super.connectedCallback(),this.loadData(),this.addEventListener(An,this._onTreeNodeClicked),window.addEventListener(`pb33f-theme-change`,this._onThemeChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(An,this._onTreeNodeClicked),window.removeEventListener(`pb33f-theme-change`,this._onThemeChange),this._overviewResizeObserver?.disconnect()}loadData(){try{let e=document.getElementById(`report-data`);if(e?.textContent){this.data=JSON.parse(e.textContent);return}if(window.__REPORT_DATA__){this.data=window.__REPORT_DATA__;return}this.error=`No report data found`}catch(e){this.error=`Failed to parse report data: ${e}`}}get activeItem(){return this.data?.items?.length&&this.data.items[this.activeItemIndex]||null}get isMultiCommit(){return(this.data?.items?.length??0)>1}selectItem(e){this.activeItemIndex=e,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[]}selectNode(e){this.selectedNodeId=e;let t=this._graphNodeMap.get(e);t?(this.selectedNodeChanges=t.timeline||[],this.selectedDiffChanges=t.timeline||[]):(this.selectedNodeChanges=[],this.selectedDiffChanges=[])}updateModelTree(){let e=this.activeItem;if(!this.modelTree||!e?.graph?.nodes)return;let t=new Map;for(let n of e.graph.nodes)t.set(n.id,n);this._graphNodeMap=t,this.modelTree.nodeMap=t,this.modelTree.node=t.get(`root`)||null,this.modelTree.changesEnabled=!0,this.modelTree.violationMap=new Map}updateBeefyChart(){if(!this.beefyChart||!this.data?.history?.changeData)return;let e=this.data.history.changeData,t=e.labels.length,n=this._chartPointIndex,r=this.beefyChart.background||`#1a1e2e`,i=document.documentElement.getAttribute(`theme`)===`light`,a={ok:`#000`,tertiary:`#999`,error:`#555`};this.beefyChart.datasets=e.datasets.map(e=>{let o=zb[e.label]||``,s=i?a[o]||`#666`:e.borderColor||o&&this.beefyChart[o]||`#888`;return{...e,borderColor:s,borderWidth:3,tension:0,fill:!1,pointStyle:`rect`,...Vb(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>Bb(e)),this.beefyChart.buildChart(),requestAnimationFrame(()=>this._drawActiveGlow())}_drawActiveGlow(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=e.ctx;for(let r of e.getSortedVisibleDatasetMetas()){let i=r.data[t];if(!i)continue;let a=e.data.datasets[r.index]?.borderColor||`#fff`;for(let e=0;e<5;e++)n.save(),n.shadowColor=a,n.shadowBlur=25+e*12,n.strokeStyle=a,n.lineWidth=2,n.globalAlpha=.9,n.strokeRect(i.x-12,i.y-12,24,24),n.restore()}}updateBeefyChartHighlight(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=this.beefyChart.background||`#1a1e2e`;for(let r of e.data.datasets){let e=r.data.length;Object.assign(r,Vb(e,t,n,r.borderColor))}e.update(`none`),requestAnimationFrame(()=>this._drawActiveGlow())}willUpdate(e){(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateChartData()}updated(e){super.updated(e),(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateComplete.then(()=>{this.onDataOrIndexChanged(e),this._upgradeReportIcons()})}_upgradeReportIcons(){let e=this.renderRoot.querySelectorAll(`.change-report pb33f-model-icon`);for(let t of e)t.getAttribute(`size`)!==`medium`&&t.setAttribute(`size`,`medium`)}onDataOrIndexChanged(e){this.updateModelTree(),e.has(`data`)&&requestAnimationFrame(()=>{this.mainTabGroup&&this.mainTabGroup.show(`overview`),this._observeOverviewPanel()}),e.has(`activeItemIndex`)&&this._chartsInitialized&&this.updateBeefyChartHighlight()}_observeOverviewPanel(){if(this._overviewResizeObserver)return;let e=this.renderRoot.querySelector(`.overview-content`);e&&(this._overviewResizeObserver=new ResizeObserver(e=>{for(let t of e)t.contentRect.width>0&&t.contentRect.height>0&&!this._chartsInitialized&&(this._chartsInitialized=!0,this.updateBeefyChart(),this.resizeDoughnutCharts())}),this._overviewResizeObserver.observe(e))}onTabShow(e){this.activeMainTab=e.detail.name,e.detail.name===`overview`&&this.updateComplete.then(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})}resizeDoughnutCharts(){let e=this.renderRoot.querySelectorAll(`pb33f-doughnut-chart`);for(let t of e)t.chart?.resize()}updateChartData(){if(this._cachedChartIndex===this.activeItemIndex&&this._cachedData===this.data)return;this._cachedChartIndex=this.activeItemIndex,this._cachedData=this.data;let e=this.activeItem;e&&(this._changeDataset=[{labels:Lb,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:Rb,data:[e.summary.breakingChanges||0,(e.summary.totalChanges||0)-(e.summary.breakingChanges||0)]}])}handleTreeNodeClicked(e){let{changes:t}=e.detail;t&&t.length>0&&this.navigateToDiffForChanges(t)}navigateToDiffForChanges(e){!e||e.length===0||(this.selectedDiffChanges=[...e],this.mainTabGroup&&this.mainTabGroup.show(`diff`))}renderNavigator(){return N` + `}};px.styles=[wn,en,fx],D([M(`input[type="checkbox"]`)],px.prototype,`input`,2),D([j()],px.prototype,`hasFocus`,2),D([A()],px.prototype,`title`,2),D([A()],px.prototype,`name`,2),D([A()],px.prototype,`value`,2),D([A({reflect:!0})],px.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],px.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],px.prototype,`checked`,2),D([$t(`checked`)],px.prototype,`defaultChecked`,2),D([A({reflect:!0})],px.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],px.prototype,`required`,2),D([A({attribute:`help-text`})],px.prototype,`helpText`,2),D([I(`checked`,{waitUntilFirstUpdate:!0})],px.prototype,`handleCheckedChange`,1),D([I(`disabled`,{waitUntilFirstUpdate:!0})],px.prototype,`handleDisabledChange`,1),px.define(`sl-switch`);var mx=[`MODIFIED`,`ADDED`,`REMOVED`],hx=[`BREAKING`,`NON-BREAKING`],gx={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function _x(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function vx(e,t,n,r){return{pointRadius:Array.from({length:e},(e,n)=>n===t?12:4),pointBackgroundColor:Array.from({length:e},(e,i)=>i===t?n:r),pointBorderColor:Array(e).fill(r),pointBorderWidth:Array.from({length:e},(e,n)=>n===t?3:1)}}var yx=class extends F{constructor(...e){super(...e),this.data=null,this.activeItemIndex=0,this.error=``,this.activeMainTab=`overview`,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[],this._graphNodeMap=new Map,this._cachedChartIndex=-1,this._cachedData=null,this._changeDataset=[],this._breakingDataset=[],this._overviewResizeObserver=null,this._chartsInitialized=!1,this._onThemeChange=()=>{requestAnimationFrame(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})},this.handleTabShow=e=>{this.onTabShow(e)},this._onTreeNodeClicked=e=>{this.handleTreeNodeClicked(e)}}static{this.styles=Rb}get _chartPointIndex(){let e=this.data?.history?.changeData?.labels?.length??0;return e>0?e-1-this.activeItemIndex:0}connectedCallback(){super.connectedCallback(),this.loadData(),this.addEventListener(An,this._onTreeNodeClicked),window.addEventListener(`pb33f-theme-change`,this._onThemeChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(An,this._onTreeNodeClicked),window.removeEventListener(`pb33f-theme-change`,this._onThemeChange),this._overviewResizeObserver?.disconnect()}loadData(){try{let e=document.getElementById(`report-data`);if(e?.textContent){this.data=JSON.parse(e.textContent);return}if(window.__REPORT_DATA__){this.data=window.__REPORT_DATA__;return}this.error=`No report data found`}catch(e){this.error=`Failed to parse report data: ${e}`}}get activeItem(){return this.data?.items?.length&&this.data.items[this.activeItemIndex]||null}get isMultiCommit(){return(this.data?.items?.length??0)>1}selectItem(e){this.activeItemIndex=e,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[]}selectNode(e){this.selectedNodeId=e;let t=this._graphNodeMap.get(e);t?(this.selectedNodeChanges=t.timeline||[],this.selectedDiffChanges=t.timeline||[]):(this.selectedNodeChanges=[],this.selectedDiffChanges=[])}updateModelTree(){let e=this.activeItem;if(!this.modelTree||!e?.graph?.nodes)return;let t=new Map;for(let n of e.graph.nodes)t.set(n.id,n);this._graphNodeMap=t,this.modelTree.nodeMap=t,this.modelTree.node=t.get(`root`)||null,this.modelTree.changesEnabled=!0,this.modelTree.violationMap=new Map}updateBeefyChart(){if(!this.beefyChart||!this.data?.history?.changeData)return;let e=this.data.history.changeData,t=e.labels.length,n=this._chartPointIndex,r=this.beefyChart.background||`#1a1e2e`,i=document.documentElement.getAttribute(`theme`)===`light`,a={ok:`#000`,tertiary:`#999`,error:`#555`};this.beefyChart.datasets=e.datasets.map(e=>{let o=gx[e.label]||``,s=i?a[o]||`#666`:e.borderColor||o&&this.beefyChart[o]||`#888`;return{...e,borderColor:s,borderWidth:3,tension:0,fill:!1,pointStyle:`rect`,...vx(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>_x(e)),this.beefyChart.buildChart(),requestAnimationFrame(()=>this._drawActiveGlow())}_drawActiveGlow(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=e.ctx;for(let r of e.getSortedVisibleDatasetMetas()){let i=r.data[t];if(!i)continue;let a=e.data.datasets[r.index]?.borderColor||`#fff`;for(let e=0;e<5;e++)n.save(),n.shadowColor=a,n.shadowBlur=25+e*12,n.strokeStyle=a,n.lineWidth=2,n.globalAlpha=.9,n.strokeRect(i.x-12,i.y-12,24,24),n.restore()}}updateBeefyChartHighlight(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=this.beefyChart.background||`#1a1e2e`;for(let r of e.data.datasets){let e=r.data.length;Object.assign(r,vx(e,t,n,r.borderColor))}e.update(`none`),requestAnimationFrame(()=>this._drawActiveGlow())}willUpdate(e){(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateChartData()}updated(e){super.updated(e),(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateComplete.then(()=>{this.onDataOrIndexChanged(e),this._upgradeReportIcons()})}_upgradeReportIcons(){let e=this.renderRoot.querySelectorAll(`.change-report pb33f-model-icon`);for(let t of e)t.getAttribute(`size`)!==`medium`&&t.setAttribute(`size`,`medium`)}onDataOrIndexChanged(e){this.updateModelTree(),e.has(`data`)&&requestAnimationFrame(()=>{this.mainTabGroup&&this.mainTabGroup.show(`overview`),this._observeOverviewPanel()}),e.has(`activeItemIndex`)&&this._chartsInitialized&&this.updateBeefyChartHighlight()}_observeOverviewPanel(){if(this._overviewResizeObserver)return;let e=this.renderRoot.querySelector(`.overview-content`);e&&(this._overviewResizeObserver=new ResizeObserver(e=>{for(let t of e)t.contentRect.width>0&&t.contentRect.height>0&&!this._chartsInitialized&&(this._chartsInitialized=!0,this.updateBeefyChart(),this.resizeDoughnutCharts())}),this._overviewResizeObserver.observe(e))}onTabShow(e){this.activeMainTab=e.detail.name,e.detail.name===`overview`&&this.updateComplete.then(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})}resizeDoughnutCharts(){let e=this.renderRoot.querySelectorAll(`pb33f-doughnut-chart`);for(let t of e)t.chart?.resize()}updateChartData(){if(this._cachedChartIndex===this.activeItemIndex&&this._cachedData===this.data)return;this._cachedChartIndex=this.activeItemIndex,this._cachedData=this.data;let e=this.activeItem;e&&(this._changeDataset=[{labels:mx,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:hx,data:[e.summary.breakingChanges||0,(e.summary.totalChanges||0)-(e.summary.breakingChanges||0)]}])}handleTreeNodeClicked(e){let{changes:t}=e.detail;t&&t.length>0&&this.navigateToDiffForChanges(t)}navigateToDiffForChanges(e){!e||e.length===0||(this.selectedDiffChanges=[...e],this.mainTabGroup&&this.mainTabGroup.show(`diff`))}renderNavigator(){return N` - `}};Ur.styles=[gn,wee],w([At(`.popup`)],Ur.prototype,`popup`,2),w([At(`.popup__arrow`)],Ur.prototype,`arrowEl`,2),w([Et()],Ur.prototype,`anchor`,2),w([Et({type:Boolean,reflect:!0})],Ur.prototype,`active`,2),w([Et({reflect:!0})],Ur.prototype,`placement`,2),w([Et({reflect:!0})],Ur.prototype,`strategy`,2),w([Et({type:Number})],Ur.prototype,`distance`,2),w([Et({type:Number})],Ur.prototype,`skidding`,2),w([Et({type:Boolean})],Ur.prototype,`arrow`,2),w([Et({attribute:`arrow-placement`})],Ur.prototype,`arrowPlacement`,2),w([Et({attribute:`arrow-padding`,type:Number})],Ur.prototype,`arrowPadding`,2),w([Et({type:Boolean})],Ur.prototype,`flip`,2),w([Et({attribute:`flip-fallback-placements`,converter:{fromAttribute:e=>e.split(` `).map(e=>e.trim()).filter(e=>e!==``),toAttribute:e=>e.join(` `)}})],Ur.prototype,`flipFallbackPlacements`,2),w([Et({attribute:`flip-fallback-strategy`})],Ur.prototype,`flipFallbackStrategy`,2),w([Et({type:Object})],Ur.prototype,`flipBoundary`,2),w([Et({attribute:`flip-padding`,type:Number})],Ur.prototype,`flipPadding`,2),w([Et({type:Boolean})],Ur.prototype,`shift`,2),w([Et({type:Object})],Ur.prototype,`shiftBoundary`,2),w([Et({attribute:`shift-padding`,type:Number})],Ur.prototype,`shiftPadding`,2),w([Et({attribute:`auto-size`})],Ur.prototype,`autoSize`,2),w([Et()],Ur.prototype,`sync`,2),w([Et({type:Object})],Ur.prototype,`autoSizeBoundary`,2),w([Et({attribute:`auto-size-padding`,type:Number})],Ur.prototype,`autoSizePadding`,2),w([Et({attribute:`hover-bridge`,type:Boolean})],Ur.prototype,`hoverBridge`,2),Ur.define(`sl-popup`);var Wr=xe` + `}};Wr.styles=[gn,See],w([Ot(`.popup`)],Wr.prototype,`popup`,2),w([Ot(`.popup__arrow`)],Wr.prototype,`arrowEl`,2),w([E()],Wr.prototype,`anchor`,2),w([E({type:Boolean,reflect:!0})],Wr.prototype,`active`,2),w([E({reflect:!0})],Wr.prototype,`placement`,2),w([E({reflect:!0})],Wr.prototype,`strategy`,2),w([E({type:Number})],Wr.prototype,`distance`,2),w([E({type:Number})],Wr.prototype,`skidding`,2),w([E({type:Boolean})],Wr.prototype,`arrow`,2),w([E({attribute:`arrow-placement`})],Wr.prototype,`arrowPlacement`,2),w([E({attribute:`arrow-padding`,type:Number})],Wr.prototype,`arrowPadding`,2),w([E({type:Boolean})],Wr.prototype,`flip`,2),w([E({attribute:`flip-fallback-placements`,converter:{fromAttribute:e=>e.split(` `).map(e=>e.trim()).filter(e=>e!==``),toAttribute:e=>e.join(` `)}})],Wr.prototype,`flipFallbackPlacements`,2),w([E({attribute:`flip-fallback-strategy`})],Wr.prototype,`flipFallbackStrategy`,2),w([E({type:Object})],Wr.prototype,`flipBoundary`,2),w([E({attribute:`flip-padding`,type:Number})],Wr.prototype,`flipPadding`,2),w([E({type:Boolean})],Wr.prototype,`shift`,2),w([E({type:Object})],Wr.prototype,`shiftBoundary`,2),w([E({attribute:`shift-padding`,type:Number})],Wr.prototype,`shiftPadding`,2),w([E({attribute:`auto-size`})],Wr.prototype,`autoSize`,2),w([E()],Wr.prototype,`sync`,2),w([E({type:Object})],Wr.prototype,`autoSizeBoundary`,2),w([E({attribute:`auto-size-padding`,type:Number})],Wr.prototype,`autoSizePadding`,2),w([E({attribute:`hover-bridge`,type:Boolean})],Wr.prototype,`hoverBridge`,2),Wr.define(`sl-popup`);var Gr=xe` a, a:visited, a:active { text-decoration: none; @@ -1369,7 +1378,7 @@ } } -`,Gr=xe` +`,Kr=xe` code { font-size: 0.7rem; vertical-align: top; @@ -1688,7 +1697,7 @@ padding-left: 20px; margin-bottom: 10px; } -`,vte=xe` +`,gte=xe` em, i { font-style: normal; @@ -1701,10 +1710,10 @@ } -`,E;(function(e){e.VERSION=`version`,e.SCHEMA=`schema`,e.SCHEMAS=`schemas`,e.SCHEMA_TYPES=`types`,e.MEDIA_TYPE=`mediaType`,e.HEADER=`header`,e.EXAMPLE=`example`,e.EXAMPLES=`examples`,e.ENCODING=`encoding`,e.REQUEST_BODY=`requestBody`,e.REQUEST_BODIES=`requestBodies`,e.PARAMETER=`parameter`,e.PARAMETER_QUERY=`query`,e.COOKIE=`cookie`,e.PARAMETERS=`parameters`,e.LINK=`link`,e.LINKS=`links`,e.RESPONSE=`response`,e.RESPONSES=`responses`,e.OPERATION=`operation`,e.OPERATIONS=`operations`,e.SECURITY_SCHEME=`securityScheme`,e.SECURITY_SCHEMES=`securitySchemes`,e.EXTERNAL_DOCS=`externalDocs`,e.SECURITY=`security`,e.CALLBACK=`callback`,e.CALLBACKS=`callbacks`,e.PATH_ITEM=`pathItem`,e.PATH_ITEMS=`pathItems`,e.XML=`xml`,e.HEADERS=`headers`,e.SERVER=`server`,e.SERVERS=`servers`,e.SERVER_VARIABLE=`serverVariable`,e.PATHS=`paths`,e.COMPONENTS=`components`,e.CONTACT=`contact`,e.LICENSE=`license`,e.INFO=`info`,e.TAG=`tag`,e.TAGS=`tags`,e.DOCUMENT=`document`,e.WEBHOOK=`webhook`,e.WEBHOOKS=`webhooks`,e.EXTENSIONS=`extensions`,e.EXTENSION=`extension`,e.NO_EXAMPLE=`noExample`,e.POLYMORPHIC=`polymorphic`,e.ERROR=`error`,e.WARNING=`warning`,e.ROLODEX_FILE=`rolodex-file`,e.ROLODEX_FOLDER=`rolodex-dir`,e.OPENAPI=`openapi`,e.UPLOAD=`upload`,e.ADD=`add`,e.UNKNOWN=`unknown`,e.EXPAND_NODE=`expand-node`,e.POV_MODE=`pov-mode`,e.JS=`js`,e.GO=`go`,e.TS=`ts`,e.CS=`cs`,e.C=`c`,e.CPP=`cpp`,e.PHP=`php`,e.PY=`py`,e.HTML=`html`,e.MD=`md`,e.JAVA=`java`,e.RS=`rs`,e.ZIG=`zig`,e.RB=`rb`,e.YAML=`yaml`,e.JSON=`json`})(E||={});var Kr=`pb33f-theme-change`,qr=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Jr,Yr;(function(e){e.tiny=`tiny`,e.small=`small`,e.smaller=`smaller`,e.medium=`medium`,e.large=`large`,e.huge=`huge`})(Yr||={});var Xr;(function(e){e.primary=`primary`,e.secondary=`secondary`,e.inverse=`inverse`,e.font=`font`,e.warning=`warning`,e.polymorphic=`polymorphic`,e.error=`error`,e.filtered=`filtered`})(Xr||={});var Zr=Jr=class extends Ct{getSize(){switch(this.size){case Yr.tiny:return`0.8rem`;case Yr.smaller:return`1.2rem`;case Yr.medium:return`1.4rem`;case Yr.large:return`1.8rem`;case Yr.huge:return`2rem`;default:return`1rem`}}getIconColor(){switch(this.color){case Xr.primary:return`var(--primary-color)`;case Xr.secondary:return`var(--secondary-color)`;case Xr.warning:return`var(--warn-color)`;case Xr.polymorphic:return`var(--warn-color)`;case Xr.error:return`var(--error-color)`;case Xr.inverse:return`var(--background-color)`;case Xr.filtered:return`var(--font-color-sub2)`;case Xr.font:default:return`var(--font-color)`}}constructor(){super(),this._themeHandler=()=>this.requestUpdate(),this.size=Yr.medium,this.color=Xr.primary}connectedCallback(){super.connectedCallback(),window.addEventListener(Kr,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Kr,this._themeHandler)}isLightMode(){return document.documentElement.getAttribute(`theme`)===`light`}getNodeTypeFromIcon(e){return Object.values(E).includes(e)?e:E.SCHEMA}static getIconForType(e){switch(e){case E.DOCUMENT:return`stars`;case E.SCHEMA:return`box`;case E.SCHEMA_TYPES:return`diagram-3`;case E.MEDIA_TYPE:case E.XML:return`code-slash`;case E.HEADER:case E.HEADERS:return`envelope`;case E.EXAMPLE:case E.EXAMPLES:return`chat-left-quote`;case E.ENCODING:return`box-seam`;case E.REQUEST_BODY:case E.REQUEST_BODIES:return`box-arrow-in-right`;case E.PARAMETER:case E.PARAMETERS:case E.SERVER_VARIABLE:return`braces-asterisk`;case E.PARAMETER_QUERY:return`question-lg`;case E.COOKIE:return`cookie`;case E.LINK:case E.LINKS:return`link`;case E.RESPONSE:case E.RESPONSES:return`box-arrow-left`;case E.OPERATION:case E.OPERATIONS:return`gear-wide-connected`;case E.SECURITY_SCHEME:case E.SECURITY_SCHEMES:case E.SECURITY:return`shield-lock`;case E.CALLBACK:case E.CALLBACKS:return`telephone-outbound`;case E.PATH_ITEM:case E.PATH_ITEMS:return`geo`;case E.SERVER:case E.SERVERS:return`hdd-network`;case E.PATHS:return`compass`;case E.COMPONENTS:return`boxes`;case E.CONTACT:return`person-circle`;case E.LICENSE:return`patch-check`;case E.UPLOAD:return`upload`;case E.INFO:return`info-square`;case E.TAG:return`tag`;case E.TAGS:return`tags`;case E.VERSION:return`award`;case E.EXTENSIONS:case E.EXTENSION:return`plug`;case E.WEBHOOK:case E.WEBHOOKS:return`arrow-clockwise`;case E.NO_EXAMPLE:return`exclamation-circle`;case E.POLYMORPHIC:return`diagram-3`;case E.ERROR:return`x-square`;case E.WARNING:return`exclamation-triangle`;case E.ROLODEX_FOLDER:return`folder`;case E.ROLODEX_FILE:return`journal-code`;case E.JS:return`filetype-js`;case E.PHP:return`filetype-php`;case E.PY:return`filetype-py`;case E.HTML:return`filetype-html`;case E.MD:return`markdown`;case E.JAVA:return`filetype-java`;case E.EXTERNAL_DOCS:return`journals`;case E.RB:return`filetype-rb`;case E.EXPAND_NODE:return`node-plus`;case E.POV_MODE:return`binoculars`;default:return`box`}}openapiIcon(){return this.isLightMode()?`PHN2ZyBpZD0icGIzM2Zfb3BlbmFwaSIgZGF0YS1uYW1lPSJwYjMzZl9vcGVuYXBpIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3ODQuMzcgNzg0LjI5Ij4KICA8cGF0aCBkPSJNMjA3LjI4LDQ1MC45N0guMzFjLjA0LDEuMDIuMDcsMi4wMy4xMiwzLjAzLjA4LDEuOTUuMjIsMy44OC4zNCw1LjgzLjA1Ljg0LjA5LDEuNjcuMTYsMi41LjE2LDIuMjUuMzUsNC41LjU2LDYuNzMuMDUuNTEuMDksMS4wMi4xNCwxLjUuMjQsMi41LjUxLDQuOTkuOCw3LjQ3LjAxLjI0LjA0LjQ4LjA4LjcyLjMzLDIuNjcuNjcsNS4zNSwxLjA2LDgsMCwuMDQsMCwuMDguMDEuMSwyLjM5LDE2LjU0LDUuOTYsMzIuODgsMTAuNyw0OC45LjAzLjA3LjA1LjEzLjA3LjIuNzUsMi41NCwxLjUzLDUuMDUsMi4zMyw3LjU0LjA1LjE0LjEuMy4xNC40NHMuMDkuMjkuMTQuNDRjLjczLDIuMjYsMS41LDQuNTEsMi4yOCw2Ljc3LjIuNTYuMzksMS4xNC42LDEuNzEuNjksMS45NSwxLjQsMy45LDIuMTMsNS44Ni4zNC44OC42NywxLjc1Ljk5LDIuNjQuNjQsMS42MiwxLjI2LDMuMjMsMS45LDQuODQuNDgsMS4yMi45OCwyLjQzLDEuNDksMy42My41MiwxLjI3LDEuMDUsMi41MSwxLjU4LDMuNzguNjUsMS41NCwxLjM1LDMuMDcsMi4wMyw0LjYyLjQxLjkyLjgyLDEuODIsMS4yMywyLjczLjg0LDEuODQsMS43LDMuNjksMi41OCw1LjUyLjI5LjU5LjU2LDEuMTguODUsMS43NSwxLjAyLDIuMTIsMi4wNSw0LjIsMy4xLDYuMjguMTguMzEuMzMuNjQuNS45NSwxLjE4LDIuMywyLjM4LDQuNTksMy42Miw2Ljg2LjA1LjEuMTIuMi4xNi4zMS4yNi40Ny41NS45My44MSwxLjRsMTc2Ljc2LTEwNi40Ny42NS0uMzljLTYuOTctMTQuNy0xMS4zMS0zMC4zMy0xMi45My00Ni4yMmgwWiIgc3R5bGU9ImZpbGw6ICMzNTllZDM7Ii8+CiAgPHBhdGggZD0iTTI1OC4xNSw1NDUuOTlsLS41LjUtMTQ1Ljc5LDE0NS43N2MuNzUuNjksMS40OSwxLjQxLDIuMjYsMi4wOCwxLjM2LDEuMjQsMi43NSwyLjQ2LDQuMTIsMy42Ny43Mi42MywxLjQxLDEuMjYsMi4xMywxLjg4LDEuNjUsMS40MywzLjMyLDIuODEsNC45OCw0LjIxLjQ2LjM4Ljg5Ljc1LDEuMzUsMS4xMiwyLjEyLDEuNzQsNC4yNiwzLjQ2LDYuNDIsNS4xNSwyLjA3LDEuNjMsNC4xNCwzLjIyLDYuMjYsNC44MS4wOS4wNS4xNi4xLjI0LjE3LDguOCw2LjU3LDE3LjksMTIuNzIsMjcuMjcsMTguNDQuMzEuMjEuNjQuMzkuOTcuNiwxLjc5LDEuMDYsMy41NywyLjEyLDUuMzcsMy4xNmwzLjI5LDEuODhjMS4wNS42LDIuMDgsMS4xOCwzLjEyLDEuNzUsMS45LDEuMDMsMy43OSwyLjA3LDUuNywzLjA3LjI2LjE0LjUyLjI5LjguNDIsNS4zLDIuNzcsMTAuNjgsNS4zNSwxNi4xMiw3LjgzbDUuMTgtMTIuNTcsNzMuMzMtMTc4LjA0LjI2LS42NWMtOC00LjI5LTE1LjY4LTkuMzYtMjIuODktMTUuMjdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik0yNDIuOTcsNTMxLjQ2Yy0xLjU3LTEuNzQtMy4wOC0zLjUzLTQuNTUtNS4zNi0xLjMxLTEuNjEtMi41Ni0zLjIzLTMuNzgtNC44OC0xLjQtMS44OC0yLjc2LTMuNzktNC4wNS01LjczLTEuMjktMS45NS0yLjU4LTMuOTEtMy43OC01LjlsLTE3Ni45OCwxMDYuNmMyLjcyLDQuNTIsNS41NCw4LjkyLDguNDUsMTMuMjYuMDkuMTYuMTguMzEuMjkuNDYuMDMuMDcuMDcuMS4xLjE3LjA5LjEzLjE4LjI5LjI3LjQzLjAxLjAxLjAzLjAzLjAzLjA1LjI0LjM0LjQ3LjY4LjcxLDEuMDMuMDEuMDEuMDMuMDQuMDUuMDdzLjAxLjAxLjAxLjAzYzMuMDcsNC41NCw2LjI0LDkuMDEsOS40OSwxMy4zOC4wNy4wOS4xNC4xOC4yMS4yNy4wOC4wOS4xNC4xOC4yMS4yNywxLjQzLDEuODcsMi44NCwzLjc0LDQuMyw1LjYuMi4yNS4zOC40OC41OS43MiwxLjQ5LDEuOTIsMy4wMiwzLjgyLDQuNTgsNS42OS4zNy40NC43NS44OSwxLjExLDEuMzUsMS40LDEuNjcsMi44LDMuMzMsNC4yMiw0Ljk4LjYxLjcxLDEuMjQsMS40MywxLjg3LDIuMTIsMS4yMiwxLjM5LDIuNDIsMi43NywzLjY2LDQuMTMuNjguNzUsMS4zOSwxLjUsMi4wOCwyLjI1LjMxLjM1LjYzLjY4Ljk1LDEuMDMuOS45OCwxLjgsMS45NiwyLjcyLDIuOTMuMzcuMzguNzYuNzYsMS4xMiwxLjE1LDEuNjEsMS42NywzLjI0LDMuMzYsNC44OSw1LjAxbDE0Ni4wMS0xNDUuOThjLTEuNjctMS42Ny0zLjI0LTMuNC00Ljc5LTUuMTNoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik00MzYuNSw1NDUuOTFjLTEuNjEsMS4yOS0zLjIzLDIuNTYtNC44OCwzLjc4bC4zNS42MSwxMDYuNDYsMTc2LjY4YzQuOTMtMy4yMiw5LjgxLTYuNTQsMTQuNTctMTAuMDMsMTAuMy03LjYsMjAuMjctMTUuODMsMjkuODgtMjQuN2wtMTQ1LjgtMTQ1Ljc3LS41OC0uNThaIiBzdHlsZT0iZmlsbDogIzYyYzRmZjsiLz4KICA8cGF0aCBkPSJNNTIyLjk2LDcyOC40NGwtMy42MS02LTk5LjM3LTE2NC45MmMtMi4wMSwxLjItNC4wNywyLjMtNi4xMiwzLjQtMi4wOCwxLjEyLTQuMTYsMi4xNi02LjI4LDMuMTYtMTkuMDksOS4wNS0zOS43NSwxMy42OC02MC40NSwxMy42OC0xMy41NiwwLTI3LjEtMS45Ni00MC4yMS01Ljg3LTIuMjQtLjY3LTQuNDItMS41NC02LjYyLTIuMzMtMi4yMS0uNzctNC40NS0xLjQ1LTYuNjItMi4zNGwtNzMuMjcsMTc3LjkzLTIuODYsNi45Ny0yLjQ2LDUuOTh2LjAzYy4xNy4wOC4zNy4xNC41NS4yMi4yMS4wOC40MS4xNC42LjI0aC4wM2MuMDUuMDMuMS4wNC4xNC4wNSwxLjczLjcyLDMuNDYsMS4zMiw1LjIsMiwyLjE4Ljg1LDQuMzUsMS43MSw2LjU0LDIuNTEsMS4xMi40MSwyLjIyLjg4LDMuMzMsMS4yN2guMDFjMjIuOTYsOC4xLDQ2LjcxLDEzLjc5LDcwLjg1LDE2Ljk2Ljk1LjEyLDEuODguMjUsMi44NC4zOC45OC4xMiwxLjk3LjIxLDIuOTcuMzMsMS44Ni4yMSwzLjcxLjQyLDUuNTguNmwxLjM5LjEyYzIuMjkuMjIsNC41OC40Miw2Ljg1LjU4Ljc4LjA3LDEuNTcuMDksMi4zNC4xNiwyLC4xMyw0LC4yNSw2LC4zNCwxLjIzLjA4LDIuNDYuMSwzLjY5LjE2LDEuNi4wNSwzLjE4LjEyLDQuNzcuMTcsMi4yOS4wNSw0LjYuMDcsNi45LjA4LjU1LDAsMS4wOS4wMSwxLjYzLjAzLDE5LjI5LDAsMzguNTctMS42MSw1Ny42NS00LjgxLjMxLS4wNS42NC0uMS45Ny0uMTQsMi4wMS0uMzUsNC4wMy0uNzMsNi4wNC0xLjEsMS4xNS0uMjIsMi4zMS0uNDQsMy40NC0uNjcsMS4xOC0uMjUsMi4zNy0uNDgsMy41NC0uNzUsMS45Ni0uNDEsMy45Mi0uODQsNS45LTEuMjkuMzUtLjA4LjcxLS4xNCwxLjA2LS4yNSwyOS02Ljc1LDU3LjAxLTE3LjIxLDgzLjMxLTMxLjA1aDBjMS43My0uOTIsMy40MS0xLjk1LDUuMTMtMi44OSwyLjA0LTEuMTEsNC4wNy0yLjI4LDYuMTEtMy40NCwxLjQtLjgsMi44Mi0xLjU0LDQuMjItMi4zOC4wMS0uMDEuMDMtLjAzLjA0LS4wM2guMDFzLjA0LS4wMy4wNy0uMDRsLjAzLS4wMy0uMjYtLjQzLjI2LjQzcy4wMy0uMDEuMDQtLjAxYy4wMy0uMDEuMDQtLjAzLjA3LS4wNC4wOC0uMDUuMTYtLjA5LjI0LS4xNC40NC0uMjcuOS0uNTQsMS4zNi0uODFsLTMuNTgtNS45OVpNMjU4LjIzLDMyOC4wNWMxLjYxLTEuMzEsMy4yNC0yLjU2LDQuODgtMy43OWwtLjM1LS42LTEwNi40Ni0xNzYuN2MtNC45NCwzLjIzLTkuODIsNi41Ni0xNC41OSwxMC4wNS0xMC4yOSw3LjU4LTIwLjI3LDE1LjgxLTI5Ljg1LDI0LjY2bDE0NS44LDE0NS43OS41OC41OVoiIHN0eWxlPSJmaWxsOiAjMzU5ZWQzOyIvPgogIDxwYXRoIGQ9Ik0xMDEuNzUsMTkxLjM5Yy0xLjY2LDEuNjYtMy4yMywzLjM3LTQuODUsNS4wNS0xLjYxLDEuNjktMy4yNiwzLjM2LTQuODQsNS4wNi0xMC42NCwxMS41MS0yMC41LDIzLjcyLTI5LjUsMzYuNTYtLjQzLjU5LS44NSwxLjIyLTEuMjgsMS44Mi0uOTksMS40Ni0xLjk5LDIuOTItMi45NSw0LjM4LTEuMDIsMS41Mi0yLjAzLDMuMDYtMy4wMSw0LjU5LS4zNy41Ni0uNzMsMS4xNC0xLjA5LDEuN0MyMC43LDMwMy4xNCwyLjczLDM2Mi44LjMxLDQyMi45NmMtLjA5LDIuMzQtLjE0LDQuNjgtLjIsNy4wMS0uMDQsMi4zMy0uMTIsNC42Ny0uMTIsN2gyMDYuNDljMC0yLjMzLjIxLTQuNjUuMzQtNywuMTItMi4zNC4xNC00LjY4LjM4LTcuMDEsMi42Ny0yNi44OCwxMy4wNS01My4xNCwzMS4xNC03NS4xOCwxLjQ2LTEuNzksMy4xMi0zLjQ4LDQuNzEtNS4yLDEuNTYtMS43NCwzLjAyLTMuNTMsNC42OS01LjJMMTAxLjc1LDE5MS4zOVpNNTI3LjgsMTQwLjE0Yy0uMjctLjE3LS41OC0uMzQtLjg1LS41MS0xLjgyLTEuMTEtMy42NS0yLjE4LTUuNDktMy4yNi0xLjA2LS42MS0yLjEzLTEuMjItMy4xOS0xLjgyLTEuMDktLjYtMi4xNC0xLjItMy4yMy0xLjc5LTEuODctMS4wMi0zLjc0LTIuMDMtNS42MS0zLjAzLS4zLS4xNC0uNTktLjMtLjg5LS40Ni0xMi4xMS02LjMzLTI0LjU0LTExLjktMzcuMjQtMTYuNzQtLjMzLS4xMy0uNjUtLjI2LS45OC0uMzgtMi43Ny0xLjAzLTUuNTQtMi4wNy04LjM0LTMuMDMtMjIuNTYtNy44Ny00NS44OC0xMy40LTY5LjU3LTE2LjUxbC0yLjktLjM5Yy0uOTgtLjEyLTEuOTUtLjIxLTIuOTItLjMxLTEuODctLjIyLTMuNzMtLjQzLTUuNjEtLjYxLS41MS0uMDUtMS4wMy0uMDgtMS41Ny0uMTQtMi4yMS0uMi00LjQ1LS4zOS02LjY3LS41NmwtMi42LS4xNmMtMS45LS4xMi0zLjgzLS4yNi01LjczLS4zNC0xLjAyLS4wNS0yLjA0LS4wOS0zLjA1LS4xMnYyMDYuOTdjMTAuNjIsMS4xLDIxLjE0LDMuMzYsMzEuMzUsNi44M2wxNTIuMzQtMTUyLjMxYy01LjY2LTMuOTItMTEuMzgtNy43NC0xNy4yNi0xMS4zMWgwWiIgc3R5bGU9ImZpbGw6ICM2MmM0ZmY7Ii8+CiAgPHBhdGggZD0iTTM0MC4zNyw4OS44Yy0yLjM0LjA1LTQuNjguMDUtNy4wMS4xNC0xNC42LjU5LTI5LjE4LDIuMDgtNDMuNjQsNC41MS0uMzEuMDUtLjYzLjEtLjk1LjE2LTIuMDMuMzUtNC4wNC43Mi02LjA1LDEuMS0xLjE0LjIyLTIuMjkuNDMtMy40NC42NS0xLjE5LjI0LTIuMzcuNDgtMy41Ni43NS0xLjk2LjQxLTMuOTIuODQtNS44NywxLjI5LS4zNy4wNy0uNzIuMTYtMS4wNy4yNC0yOC45OCw2Ljc3LTU2Ljk5LDE3LjIxLTgzLjMzLDMxLjA3LTEuNzEuOTItMy4zOSwxLjk1LTUuMSwyLjg4LTIuMDQsMS4xMi00LjA4LDIuMjgtNi4xMSwzLjQ0LTEuNS44OC0zLjAzLDEuNjctNC41NCwyLjU2LS4wMS4wMS0uMDQuMDMtLjA1LjAzLS4xLjA3LS4yMS4xMy0uMzEuMTgtLjM5LjI1LS44LjQ0LTEuMTkuNjh2LjAzczMuNjMsNiwzLjYzLDZsMTAyLjk3LDE3MC45M2MyLjAxLTEuMiw0LjA3LTIuMzEsNi4xMi0zLjQxLDIuMDctMS4xMSw0LjE2LTIuMTYsNi4yNi0zLjE1LDE0LjU1LTYuOTUsMzAuMTktMTEuMzMsNDYuMjMtMTIuOTYsMi4zMy0uMjQsNC42NS0uNDMsNy0uNTUsMi4zMy0uMTIsNC42Ny0uMjQsNy4wMS0uMjRWODkuNjVjLTIuMzQsMC00LjY3LjEtNywuMTRoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik02OTQuMyw0MTkuOWMtLjEtMS44Ni0uMjEtMy43LS4zNC01LjU3LS4wNS0uOTItLjExLTEuODUtLjE4LTIuNzctLjE0LTIuMTgtLjMzLTQuMzctLjU0LTYuNTUtLjA0LS41Ni0uMDktMS4xMi0uMTQtMS42OS0uMjQtMi40NS0uNS00Ljg4LS43OC03LjMxLS4wMy0uMi0uMDQtLjM5LS4wNy0uNTlsLS4wNC0uMjdjLS4zMS0yLjYzLS42Ny01LjI2LTEuMDMtNy44N2wtLjA0LS4yNWMtMi4zOC0xNi41LTUuOTUtMzIuODItMTAuNjctNDguODEtLjA0LS4xMi0uMDctLjIxLS4xLS4zMS0uNzUtMi41LTEuNTItNC45Ny0yLjI5LTcuNDQtLjEyLS4zMy0uMjItLjY1LS4zMy0uOTgtLjczLTIuMjQtMS40OC00LjQ2LTIuMjUtNi42OGwtLjYzLTEuOGMtLjY4LTEuOTItMS4zOS0zLjg0LTIuMDktNS43Ny0uMzUtLjkyLS42OS0xLjgzLTEuMDYtMi43My0uNi0xLjYtMS4yMi0zLjE4LTEuODYtNC43NS0uNS0xLjI3LTEuMDEtMi41MS0xLjUyLTMuNzQtLjUxLTEuMjQtMS4wMy0yLjQ2LTEuNTQtMy42OS0uNjgtMS41Ny0xLjM3LTMuMTQtMi4wNy00LjY5LS4zOS0uODgtLjc4LTEuNzctMS4xOS0yLjY1LS44NS0xLjg2LTEuNzMtMy43My0yLjYtNS41OC0uMjctLjU1LS41NS0xLjEyLS44Mi0xLjY5LTEuMDItMi4xMi0yLjA3LTQuMjUtMy4xNC02LjM0LS4xNC0uMjktLjMtLjU5LS40NC0uODgtMS4xOS0yLjMxLTIuNDItNC42NC0zLjY1LTYuOTMtLjA1LS4wOC0uMDktLjE3LS4xNC0uMjUtNi0xMS4wMy0xMi42LTIxLjc0LTE5Ljc2LTMyLjA2bC0xNTIuMzgsMTUyLjM4YzMuNDYsMTAuMjEsNS43MSwyMC43NCw2LjgxLDMxLjM0aDIwN2MtLjA1LTEuMDMtLjA4LTIuMDctLjEzLTMuMDdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik00ODguMjQsNDM2Ljk3YzAsMi4zNC0uMjIsNC42Ny0uMzQsNy4wMXMtLjE2LDQuNjgtLjM5LDdjLTIuNjcsMjYuOS0xMy4wNCw1My4xNS0zMS4xMyw3NS4yMS0xLjQ2LDEuNzktMy4xMiwzLjQ2LTQuNzEsNS4yLTEuNTcsMS43My0zLjAyLDMuNTItNC42OSw1LjE5bDE0Ni4wMSwxNDUuOThjMS42Ni0xLjY2LDMuMjItMy4zNyw0Ljg0LTUuMDZzMy4yNy0zLjM1LDQuODQtNS4wNmMxMC44LTExLjcsMjAuNjgtMjMuOTQsMjkuNTgtMzYuNjYuMzctLjUxLjY5LTEuMDEsMS4wNS0xLjUsMS4wOS0xLjU2LDIuMTMtMy4xNCwzLjItNC43MS45My0xLjQxLDEuODYtMi44MSwyLjc2LTQuMjQuNDYtLjY4LjktMS4zOSwxLjMzLTIuMDcsMzMuNDktNTIuNTcsNTEuNDEtMTEyLjE3LDUzLjgyLTE3Mi4yOS4wOS0yLjMzLjE0LTQuNjcuMTgtNy4wMS4wNS0yLjMzLjEyLTQuNjUuMTItN2gtMjA2LjQ2WiIgc3R5bGU9ImZpbGw6ICNmNmY7Ii8+CiAgPHBhdGggZD0iTTc1Ni4wNCwyOC4zM2MtMzcuNzctMzcuNzctOTkuMDItMzcuNzctMTM2Ljc5LDAtMzAuMTQsMzAuMTItMzYuMTcsNzUuMTctMTguMjEsMTExLjMzbC0yMTAuNzIsMjEwLjdjLTM2LjE3LTE3Ljk0LTgxLjIyLTExLjkyLTExMS4zNiwxOC4yLTM3Ljc3LDM3Ljc3LTM3Ljc2LDk5LjAyLDAsMTM2Ljc5LDM3Ljc5LDM3Ljc3LDk5LjA0LDM3Ljc2LDEzNi44MiwwLDMwLjE0LTMwLjE0LDM2LjE1LTc1LjE4LDE4LjItMTExLjM1bDIxMC43Mi0yMTAuNjljMzYuMTgsMTcuOTQsODEuMjEsMTEuOTIsMTExLjM1LTE4LjIxLDM3Ljc3LTM3Ljc2LDM3Ljc3LTk5LDAtMTM2Ljc4aDBaIiBzdHlsZT0iZmlsbDogIzAwMDsiLz4KPC9zdmc+`:`PHN2ZyBpZD0icGIzM2Zfb3BlbmFwaSIgZGF0YS1uYW1lPSJwYjMzZl9vcGVuYXBpIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3ODQuMzcgNzg0LjI5Ij4KICA8cGF0aCBkPSJNMjA3LjI4LDQ1MC45N0guMzFjLjA0LDEuMDIuMDcsMi4wMy4xMiwzLjAzLjA4LDEuOTUuMjIsMy44OC4zNCw1LjgzLjA1Ljg0LjA5LDEuNjcuMTYsMi41LjE2LDIuMjUuMzUsNC41LjU2LDYuNzMuMDUuNTEuMDksMS4wMi4xNCwxLjUuMjQsMi41LjUxLDQuOTkuOCw3LjQ3LjAxLjI0LjA0LjQ4LjA4LjcyLjMzLDIuNjcuNjcsNS4zNSwxLjA2LDgsMCwuMDQsMCwuMDguMDEuMSwyLjM5LDE2LjU0LDUuOTYsMzIuODgsMTAuNyw0OC45LjAzLjA3LjA1LjEzLjA3LjIuNzUsMi41NCwxLjUzLDUuMDUsMi4zMyw3LjU0LjA1LjE0LjEuMy4xNC40NHMuMDkuMjkuMTQuNDRjLjczLDIuMjYsMS41LDQuNTEsMi4yOCw2Ljc3LjIuNTYuMzksMS4xNC42LDEuNzEuNjksMS45NSwxLjQsMy45LDIuMTMsNS44Ni4zNC44OC42NywxLjc1Ljk5LDIuNjQuNjQsMS42MiwxLjI2LDMuMjMsMS45LDQuODQuNDgsMS4yMi45OCwyLjQzLDEuNDksMy42My41MiwxLjI3LDEuMDUsMi41MSwxLjU4LDMuNzguNjUsMS41NCwxLjM1LDMuMDcsMi4wMyw0LjYyLjQxLjkyLjgyLDEuODIsMS4yMywyLjczLjg0LDEuODQsMS43LDMuNjksMi41OCw1LjUyLjI5LjU5LjU2LDEuMTguODUsMS43NSwxLjAyLDIuMTIsMi4wNSw0LjIsMy4xLDYuMjguMTguMzEuMzMuNjQuNS45NSwxLjE4LDIuMywyLjM4LDQuNTksMy42Miw2Ljg2LjA1LjEuMTIuMi4xNi4zMS4yNi40Ny41NS45My44MSwxLjRsMTc2Ljc2LTEwNi40Ny42NS0uMzljLTYuOTctMTQuNy0xMS4zMS0zMC4zMy0xMi45My00Ni4yMmgwWiIgc3R5bGU9ImZpbGw6ICMzNTllZDM7Ii8+CiAgPHBhdGggZD0iTTI1OC4xNSw1NDUuOTlsLS41LjUtMTQ1Ljc5LDE0NS43N2MuNzUuNjksMS40OSwxLjQxLDIuMjYsMi4wOCwxLjM2LDEuMjQsMi43NSwyLjQ2LDQuMTIsMy42Ny43Mi42MywxLjQxLDEuMjYsMi4xMywxLjg4LDEuNjUsMS40MywzLjMyLDIuODEsNC45OCw0LjIxLjQ2LjM4Ljg5Ljc1LDEuMzUsMS4xMiwyLjEyLDEuNzQsNC4yNiwzLjQ2LDYuNDIsNS4xNSwyLjA3LDEuNjMsNC4xNCwzLjIyLDYuMjYsNC44MS4wOS4wNS4xNi4xLjI0LjE3LDguOCw2LjU3LDE3LjksMTIuNzIsMjcuMjcsMTguNDQuMzEuMjEuNjQuMzkuOTcuNiwxLjc5LDEuMDYsMy41NywyLjEyLDUuMzcsMy4xNmwzLjI5LDEuODhjMS4wNS42LDIuMDgsMS4xOCwzLjEyLDEuNzUsMS45LDEuMDMsMy43OSwyLjA3LDUuNywzLjA3LjI2LjE0LjUyLjI5LjguNDIsNS4zLDIuNzcsMTAuNjgsNS4zNSwxNi4xMiw3LjgzbDUuMTgtMTIuNTcsNzMuMzMtMTc4LjA0LjI2LS42NWMtOC00LjI5LTE1LjY4LTkuMzYtMjIuODktMTUuMjdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik0yNDIuOTcsNTMxLjQ2Yy0xLjU3LTEuNzQtMy4wOC0zLjUzLTQuNTUtNS4zNi0xLjMxLTEuNjEtMi41Ni0zLjIzLTMuNzgtNC44OC0xLjQtMS44OC0yLjc2LTMuNzktNC4wNS01LjczLTEuMjktMS45NS0yLjU4LTMuOTEtMy43OC01LjlsLTE3Ni45OCwxMDYuNmMyLjcyLDQuNTIsNS41NCw4LjkyLDguNDUsMTMuMjYuMDkuMTYuMTguMzEuMjkuNDYuMDMuMDcuMDcuMS4xLjE3LjA5LjEzLjE4LjI5LjI3LjQzLjAxLjAxLjAzLjAzLjAzLjA1LjI0LjM0LjQ3LjY4LjcxLDEuMDMuMDEuMDEuMDMuMDQuMDUuMDdzLjAxLjAxLjAxLjAzYzMuMDcsNC41NCw2LjI0LDkuMDEsOS40OSwxMy4zOC4wNy4wOS4xNC4xOC4yMS4yNy4wOC4wOS4xNC4xOC4yMS4yNywxLjQzLDEuODcsMi44NCwzLjc0LDQuMyw1LjYuMi4yNS4zOC40OC41OS43MiwxLjQ5LDEuOTIsMy4wMiwzLjgyLDQuNTgsNS42OS4zNy40NC43NS44OSwxLjExLDEuMzUsMS40LDEuNjcsMi44LDMuMzMsNC4yMiw0Ljk4LjYxLjcxLDEuMjQsMS40MywxLjg3LDIuMTIsMS4yMiwxLjM5LDIuNDIsMi43NywzLjY2LDQuMTMuNjguNzUsMS4zOSwxLjUsMi4wOCwyLjI1LjMxLjM1LjYzLjY4Ljk1LDEuMDMuOS45OCwxLjgsMS45NiwyLjcyLDIuOTMuMzcuMzguNzYuNzYsMS4xMiwxLjE1LDEuNjEsMS42NywzLjI0LDMuMzYsNC44OSw1LjAxbDE0Ni4wMS0xNDUuOThjLTEuNjctMS42Ny0zLjI0LTMuNC00Ljc5LTUuMTNoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik00MzYuNSw1NDUuOTFjLTEuNjEsMS4yOS0zLjIzLDIuNTYtNC44OCwzLjc4bC4zNS42MSwxMDYuNDYsMTc2LjY4YzQuOTMtMy4yMiw5LjgxLTYuNTQsMTQuNTctMTAuMDMsMTAuMy03LjYsMjAuMjctMTUuODMsMjkuODgtMjQuN2wtMTQ1LjgtMTQ1Ljc3LS41OC0uNThaIiBzdHlsZT0iZmlsbDogIzYyYzRmZjsiLz4KICA8cGF0aCBkPSJNNTIyLjk2LDcyOC40NGwtMy42MS02LTk5LjM3LTE2NC45MmMtMi4wMSwxLjItNC4wNywyLjMtNi4xMiwzLjQtMi4wOCwxLjEyLTQuMTYsMi4xNi02LjI4LDMuMTYtMTkuMDksOS4wNS0zOS43NSwxMy42OC02MC40NSwxMy42OC0xMy41NiwwLTI3LjEtMS45Ni00MC4yMS01Ljg3LTIuMjQtLjY3LTQuNDItMS41NC02LjYyLTIuMzMtMi4yMS0uNzctNC40NS0xLjQ1LTYuNjItMi4zNGwtNzMuMjcsMTc3LjkzLTIuODYsNi45Ny0yLjQ2LDUuOTh2LjAzYy4xNy4wOC4zNy4xNC41NS4yMi4yMS4wOC40MS4xNC42LjI0aC4wM2MuMDUuMDMuMS4wNC4xNC4wNSwxLjczLjcyLDMuNDYsMS4zMiw1LjIsMiwyLjE4Ljg1LDQuMzUsMS43MSw2LjU0LDIuNTEsMS4xMi40MSwyLjIyLjg4LDMuMzMsMS4yN2guMDFjMjIuOTYsOC4xLDQ2LjcxLDEzLjc5LDcwLjg1LDE2Ljk2Ljk1LjEyLDEuODguMjUsMi44NC4zOC45OC4xMiwxLjk3LjIxLDIuOTcuMzMsMS44Ni4yMSwzLjcxLjQyLDUuNTguNmwxLjM5LjEyYzIuMjkuMjIsNC41OC40Miw2Ljg1LjU4Ljc4LjA3LDEuNTcuMDksMi4zNC4xNiwyLC4xMyw0LC4yNSw2LC4zNCwxLjIzLjA4LDIuNDYuMSwzLjY5LjE2LDEuNi4wNSwzLjE4LjEyLDQuNzcuMTcsMi4yOS4wNSw0LjYuMDcsNi45LjA4LjU1LDAsMS4wOS4wMSwxLjYzLjAzLDE5LjI5LDAsMzguNTctMS42MSw1Ny42NS00LjgxLjMxLS4wNS42NC0uMS45Ny0uMTQsMi4wMS0uMzUsNC4wMy0uNzMsNi4wNC0xLjEsMS4xNS0uMjIsMi4zMS0uNDQsMy40NC0uNjcsMS4xOC0uMjUsMi4zNy0uNDgsMy41NC0uNzUsMS45Ni0uNDEsMy45Mi0uODQsNS45LTEuMjkuMzUtLjA4LjcxLS4xNCwxLjA2LS4yNSwyOS02Ljc1LDU3LjAxLTE3LjIxLDgzLjMxLTMxLjA1aDBjMS43My0uOTIsMy40MS0xLjk1LDUuMTMtMi44OSwyLjA0LTEuMTEsNC4wNy0yLjI4LDYuMTEtMy40NCwxLjQtLjgsMi44Mi0xLjU0LDQuMjItMi4zOC4wMS0uMDEuMDMtLjAzLjA0LS4wM2guMDFzLjA0LS4wMy4wNy0uMDRsLjAzLS4wMy0uMjYtLjQzLjI2LjQzcy4wMy0uMDEuMDQtLjAxYy4wMy0uMDEuMDQtLjAzLjA3LS4wNC4wOC0uMDUuMTYtLjA5LjI0LS4xNC40NC0uMjcuOS0uNTQsMS4zNi0uODFsLTMuNTgtNS45OVpNMjU4LjIzLDMyOC4wNWMxLjYxLTEuMzEsMy4yNC0yLjU2LDQuODgtMy43OWwtLjM1LS42LTEwNi40Ni0xNzYuN2MtNC45NCwzLjIzLTkuODIsNi41Ni0xNC41OSwxMC4wNS0xMC4yOSw3LjU4LTIwLjI3LDE1LjgxLTI5Ljg1LDI0LjY2bDE0NS44LDE0NS43OS41OC41OVoiIHN0eWxlPSJmaWxsOiAjMzU5ZWQzOyIvPgogIDxwYXRoIGQ9Ik0xMDEuNzUsMTkxLjM5Yy0xLjY2LDEuNjYtMy4yMywzLjM3LTQuODUsNS4wNS0xLjYxLDEuNjktMy4yNiwzLjM2LTQuODQsNS4wNi0xMC42NCwxMS41MS0yMC41LDIzLjcyLTI5LjUsMzYuNTYtLjQzLjU5LS44NSwxLjIyLTEuMjgsMS44Mi0uOTksMS40Ni0xLjk5LDIuOTItMi45NSw0LjM4LTEuMDIsMS41Mi0yLjAzLDMuMDYtMy4wMSw0LjU5LS4zNy41Ni0uNzMsMS4xNC0xLjA5LDEuN0MyMC43LDMwMy4xNCwyLjczLDM2Mi44LjMxLDQyMi45NmMtLjA5LDIuMzQtLjE0LDQuNjgtLjIsNy4wMS0uMDQsMi4zMy0uMTIsNC42Ny0uMTIsN2gyMDYuNDljMC0yLjMzLjIxLTQuNjUuMzQtNywuMTItMi4zNC4xNC00LjY4LjM4LTcuMDEsMi42Ny0yNi44OCwxMy4wNS01My4xNCwzMS4xNC03NS4xOCwxLjQ2LTEuNzksMy4xMi0zLjQ4LDQuNzEtNS4yLDEuNTYtMS43NCwzLjAyLTMuNTMsNC42OS01LjJMMTAxLjc1LDE5MS4zOVpNNTI3LjgsMTQwLjE0Yy0uMjctLjE3LS41OC0uMzQtLjg1LS41MS0xLjgyLTEuMTEtMy42NS0yLjE4LTUuNDktMy4yNi0xLjA2LS42MS0yLjEzLTEuMjItMy4xOS0xLjgyLTEuMDktLjYtMi4xNC0xLjItMy4yMy0xLjc5LTEuODctMS4wMi0zLjc0LTIuMDMtNS42MS0zLjAzLS4zLS4xNC0uNTktLjMtLjg5LS40Ni0xMi4xMS02LjMzLTI0LjU0LTExLjktMzcuMjQtMTYuNzQtLjMzLS4xMy0uNjUtLjI2LS45OC0uMzgtMi43Ny0xLjAzLTUuNTQtMi4wNy04LjM0LTMuMDMtMjIuNTYtNy44Ny00NS44OC0xMy40LTY5LjU3LTE2LjUxbC0yLjktLjM5Yy0uOTgtLjEyLTEuOTUtLjIxLTIuOTItLjMxLTEuODctLjIyLTMuNzMtLjQzLTUuNjEtLjYxLS41MS0uMDUtMS4wMy0uMDgtMS41Ny0uMTQtMi4yMS0uMi00LjQ1LS4zOS02LjY3LS41NmwtMi42LS4xNmMtMS45LS4xMi0zLjgzLS4yNi01LjczLS4zNC0xLjAyLS4wNS0yLjA0LS4wOS0zLjA1LS4xMnYyMDYuOTdjMTAuNjIsMS4xLDIxLjE0LDMuMzYsMzEuMzUsNi44M2wxNTIuMzQtMTUyLjMxYy01LjY2LTMuOTItMTEuMzgtNy43NC0xNy4yNi0xMS4zMWgwWiIgc3R5bGU9ImZpbGw6ICM2MmM0ZmY7Ii8+CiAgPHBhdGggZD0iTTM0MC4zNyw4OS44Yy0yLjM0LjA1LTQuNjguMDUtNy4wMS4xNC0xNC42LjU5LTI5LjE4LDIuMDgtNDMuNjQsNC41MS0uMzEuMDUtLjYzLjEtLjk1LjE2LTIuMDMuMzUtNC4wNC43Mi02LjA1LDEuMS0xLjE0LjIyLTIuMjkuNDMtMy40NC42NS0xLjE5LjI0LTIuMzcuNDgtMy41Ni43NS0xLjk2LjQxLTMuOTIuODQtNS44NywxLjI5LS4zNy4wNy0uNzIuMTYtMS4wNy4yNC0yOC45OCw2Ljc3LTU2Ljk5LDE3LjIxLTgzLjMzLDMxLjA3LTEuNzEuOTItMy4zOSwxLjk1LTUuMSwyLjg4LTIuMDQsMS4xMi00LjA4LDIuMjgtNi4xMSwzLjQ0LTEuNS44OC0zLjAzLDEuNjctNC41NCwyLjU2LS4wMS4wMS0uMDQuMDMtLjA1LjAzLS4xLjA3LS4yMS4xMy0uMzEuMTgtLjM5LjI1LS44LjQ0LTEuMTkuNjh2LjAzczMuNjMsNiwzLjYzLDZsMTAyLjk3LDE3MC45M2MyLjAxLTEuMiw0LjA3LTIuMzEsNi4xMi0zLjQxLDIuMDctMS4xMSw0LjE2LTIuMTYsNi4yNi0zLjE1LDE0LjU1LTYuOTUsMzAuMTktMTEuMzMsNDYuMjMtMTIuOTYsMi4zMy0uMjQsNC42NS0uNDMsNy0uNTUsMi4zMy0uMTIsNC42Ny0uMjQsNy4wMS0uMjRWODkuNjVjLTIuMzQsMC00LjY3LjEtNywuMTRoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik02OTQuMyw0MTkuOWMtLjEtMS44Ni0uMjEtMy43LS4zNC01LjU3LS4wNS0uOTItLjExLTEuODUtLjE4LTIuNzctLjE0LTIuMTgtLjMzLTQuMzctLjU0LTYuNTUtLjA0LS41Ni0uMDktMS4xMi0uMTQtMS42OS0uMjQtMi40NS0uNS00Ljg4LS43OC03LjMxLS4wMy0uMi0uMDQtLjM5LS4wNy0uNTlsLS4wNC0uMjdjLS4zMS0yLjYzLS42Ny01LjI2LTEuMDMtNy44N2wtLjA0LS4yNWMtMi4zOC0xNi41LTUuOTUtMzIuODItMTAuNjctNDguODEtLjA0LS4xMi0uMDctLjIxLS4xLS4zMS0uNzUtMi41LTEuNTItNC45Ny0yLjI5LTcuNDQtLjEyLS4zMy0uMjItLjY1LS4zMy0uOTgtLjczLTIuMjQtMS40OC00LjQ2LTIuMjUtNi42OGwtLjYzLTEuOGMtLjY4LTEuOTItMS4zOS0zLjg0LTIuMDktNS43Ny0uMzUtLjkyLS42OS0xLjgzLTEuMDYtMi43My0uNi0xLjYtMS4yMi0zLjE4LTEuODYtNC43NS0uNS0xLjI3LTEuMDEtMi41MS0xLjUyLTMuNzQtLjUxLTEuMjQtMS4wMy0yLjQ2LTEuNTQtMy42OS0uNjgtMS41Ny0xLjM3LTMuMTQtMi4wNy00LjY5LS4zOS0uODgtLjc4LTEuNzctMS4xOS0yLjY1LS44NS0xLjg2LTEuNzMtMy43My0yLjYtNS41OC0uMjctLjU1LS41NS0xLjEyLS44Mi0xLjY5LTEuMDItMi4xMi0yLjA3LTQuMjUtMy4xNC02LjM0LS4xNC0uMjktLjMtLjU5LS40NC0uODgtMS4xOS0yLjMxLTIuNDItNC42NC0zLjY1LTYuOTMtLjA1LS4wOC0uMDktLjE3LS4xNC0uMjUtNi0xMS4wMy0xMi42LTIxLjc0LTE5Ljc2LTMyLjA2bC0xNTIuMzgsMTUyLjM4YzMuNDYsMTAuMjEsNS43MSwyMC43NCw2LjgxLDMxLjM0aDIwN2MtLjA1LTEuMDMtLjA4LTIuMDctLjEzLTMuMDdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik00ODguMjQsNDM2Ljk3YzAsMi4zNC0uMjIsNC42Ny0uMzQsNy4wMXMtLjE2LDQuNjgtLjM5LDdjLTIuNjcsMjYuOS0xMy4wNCw1My4xNS0zMS4xMyw3NS4yMS0xLjQ2LDEuNzktMy4xMiwzLjQ2LTQuNzEsNS4yLTEuNTcsMS43My0zLjAyLDMuNTItNC42OSw1LjE5bDE0Ni4wMSwxNDUuOThjMS42Ni0xLjY2LDMuMjItMy4zNyw0Ljg0LTUuMDZzMy4yNy0zLjM1LDQuODQtNS4wNmMxMC44LTExLjcsMjAuNjgtMjMuOTQsMjkuNTgtMzYuNjYuMzctLjUxLjY5LTEuMDEsMS4wNS0xLjUsMS4wOS0xLjU2LDIuMTMtMy4xNCwzLjItNC43MS45My0xLjQxLDEuODYtMi44MSwyLjc2LTQuMjQuNDYtLjY4LjktMS4zOSwxLjMzLTIuMDcsMzMuNDktNTIuNTcsNTEuNDEtMTEyLjE3LDUzLjgyLTE3Mi4yOS4wOS0yLjMzLjE0LTQuNjcuMTgtNy4wMS4wNS0yLjMzLjEyLTQuNjUuMTItN2gtMjA2LjQ2WiIgc3R5bGU9ImZpbGw6ICNmNmY7Ii8+CiAgPHBhdGggZD0iTTc1Ni4wNCwyOC4zM2MtMzcuNzctMzcuNzctOTkuMDItMzcuNzctMTM2Ljc5LDAtMzAuMTQsMzAuMTItMzYuMTcsNzUuMTctMTguMjEsMTExLjMzbC0yMTAuNzIsMjEwLjdjLTM2LjE3LTE3Ljk0LTgxLjIyLTExLjkyLTExMS4zNiwxOC4yLTM3Ljc3LDM3Ljc3LTM3Ljc2LDk5LjAyLDAsMTM2Ljc5LDM3Ljc5LDM3Ljc3LDk5LjA0LDM3Ljc2LDEzNi44MiwwLDMwLjE0LTMwLjE0LDM2LjE1LTc1LjE4LDE4LjItMTExLjM1bDIxMC43Mi0yMTAuNjljMzYuMTgsMTcuOTQsODEuMjEsMTEuOTIsMTExLjM1LTE4LjIxLDM3Ljc3LTM3Ljc2LDM3Ljc3LTk5LDAtMTM2Ljc4aDBaIiBzdHlsZT0iZmlsbDogI2ZmZjsiLz4KPC9zdmc+`}goIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJubyI/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIuMDAwMDAxIj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC0xMDIwLjM2MjIpIj4KICAgIDxlbGxpcHNlIGN4PSItOTA3LjM1NjU3IiBjeT0iNDc5LjkwMDA5IiBmaWxsPSIjMzg0ZTU0IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHJ4PSIzLjU3OTM5OTYiIHJ5PSIzLjgyMDc5NTMiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiIHRyYW5zZm9ybT0ic2NhbGUoLTEgMSkgcm90YXRlKC02MC41NDgpIi8+CiAgICA8ZWxsaXBzZSBjeD0iLTg5MS41NzY1NCIgY3k9IjUwNy44NDYxIiBmaWxsPSIjMzg0ZTU0IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHJ4PSIzLjU3OTM5OTYiIHJ5PSIzLjgyMDc5NTMiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiIHRyYW5zZm9ybT0icm90YXRlKC02MC41NDgpIi8+CiAgICA8cGF0aCBmaWxsPSIjMzg0ZTU0IiBkPSJNMTYuMDkxNjkzIDEwMjEuMzY0MmMtMS4xMDU3NDkuMDEtMi4yMTAzNDEuMDQ5LTMuMzE2MDkuMDlDNi44NDIyNTU4IDEwMjEuNjczOCAyIDEwMjYuMzk0MiAyIDEwMzIuMzYyMnYyMGgyOHYtMjBjMC01Ljk2ODMtNC42NjczNDUtMTAuNDkxMi0xMC41OTAyMy0xMC45MDgtMS4xMDU3NS0uMDc4LTIuMjEyMzI4LS4wOTktMy4zMTgwNzctLjA5eiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjNzZlMWZlIiBkPSJNNC42MDc4ODY3IDEwMjUuMDQ2MmMuNDU5NTY0LjI1OTUgMS44MTgyNjIgMS4yMDEzIDEuOTgwOTgzIDEuNjQ4LjE4MzQwMS41MDM1LjE1OTM4NSAxLjA2NTctLjExNDYxNCAxLjU1MS0uMzQ2NjI3LjYxMzgtMS4wMDUzNDEuOTQ4Ny0xLjY5NjQyMS45MzY1LS4zMzk4ODYtLjAxLTEuNzIwMjgzLS42MzcyLTIuMDQyNTYxLS44MTkyLS45Nzc1NC0uNTUxOS0xLjM1MDc5NS0xLjc0MTgtLjgzMzY4Ni0yLjY1NzYuNTE3MTA5LS45MTU4IDEuNzI4NzQ5LTEuMjEwNyAyLjcwNjI5OS0uNjU4N3oiIGNvbG9yPSIjMDAwIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9Imlzb2xhdGlvbjphdXRvO21peC1ibGVuZC1tb2RlOm5vcm1hbDtzb2xpZC1jb2xvcjojMDAwO3NvbGlkLW9wYWNpdHk6MSIvPgogICAgPHJlY3Qgd2lkdGg9IjMuMDg2NjY1OSIgaGVpZ2h0PSIzLjUzMTM2NjMiIHg9IjE0LjQwNjIxMyIgeT0iMTAzNS42ODQyIiBmaWxsLW9wYWNpdHk9Ii4zMjg1MDI0NiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiByeT0iLjYyNDI2MzI5IiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjNzZlMWZlIiBkPSJNMTYgMTAyMy4zNjIyYy05IDAtMTIgMy43MTUzLTEyIDl2MjBoMjRjLS4wNDg4OS03LjM1NjIgMC0xOCAwLTIwIDAtNS4yODQ4LTMtOS0xMi05eiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjNzZlMWZlIiBkPSJNMjcuMDc0MDczIDEwMjUuMDQ2MmMtLjQ1OTU3LjI1OTUtMS44MTgyNTcgMS4yMDEzLTEuOTgwOTc5IDEuNjQ4LS4xODM0MDEuNTAzNS0uMTU5Mzg0IDEuMDY1Ny4xMTQ2MTQgMS41NTEuMzQ2NjI3LjYxMzggMS4wMDUzMzUuOTQ4NyAxLjY5NjQxNS45MzY1LjMzOTg4LS4wMSAxLjcyMDI5LS42MzcyIDIuMDQyNTYtLjgxOTIuOTc3NTQtLjU1MTkgMS4zNTA3OS0xLjc0MTguODMzNjktMi42NTc2LS41MTcxMS0uOTE1OC0xLjcyODc2LTEuMjEwNy0yLjcwNjMtLjY1ODd6IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxjaXJjbGUgY3g9IjIxLjE3NTczNCIgY3k9IjEwMzAuMzU0MiIgcj0iNC42NTM3NTQyIiBmaWxsPSIjZmZmIiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxjaXJjbGUgY3g9IjEwLjMzOTQ4NiIgY3k9IjEwMzAuMzU0MiIgcj0iNC44MzE2MzQ1IiBmaWxsPSIjZmZmIiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxyZWN0IHdpZHRoPSIzLjY2NzM2ODciIGhlaWdodD0iNC4xMDYzNDA5IiB4PSIxNC4xMTU4NjMiIHk9IjEwMzUuOTE3NCIgZmlsbC1vcGFjaXR5PSIuMzI5NDExNzYiIGNvbG9yPSIjMDAwIiBvdmVyZmxvdz0idmlzaWJsZSIgcnk9Ii43MjU5MDUzNiIgc3R5bGU9Imlzb2xhdGlvbjphdXRvO21peC1ibGVuZC1tb2RlOm5vcm1hbDtzb2xpZC1jb2xvcjojMDAwO3NvbGlkLW9wYWNpdHk6MSIvPgogICAgPHJlY3Qgd2lkdGg9IjMuNjY3MzY4NyIgaGVpZ2h0PSI0LjEwNjM0MDkiIHg9IjE0LjExNTg2MyIgeT0iMTAzNS4yMjUzIiBmaWxsPSIjZmZmY2ZiIiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHJ5PSIuNzI1OTA1MzYiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxwYXRoIGZpbGwtb3BhY2l0eT0iLjMyOTQxMTc2IiBkPSJNMTkuOTk5NzM1IDEwMzYuNTI4OWMwIC44MzgtLjg3MTIyOCAxLjI2ODItMi4xNDQ3NjYgMS4xNjU5LS4wMjM2NiAwLS4wNDc5NS0uNjAwNC0uMjU0MTQ3LS41ODMyLS41MDM2NjkuMDQyLTEuMDk1OTAyLS4wMi0xLjY4NTk2NC0uMDItLjYxMjkzOSAwLTEuMjA2MzQyLjE4MjYtMS42ODU0OS4wMTctLjExMDIzMy0uMDM4LS4xNzgyOTguNTgzOC0uMjYxNTMyLjU4MTYtMS4yNDM2ODUtLjAzMy0yLjA3ODgwMy0uMzM4My0yLjA3ODgwMy0xLjE2MTggMC0xLjIxMTggMS44MTU2MzUtMi4xOTQxIDQuMDU1MzUxLTIuMTk0MSAyLjIzOTcwNCAwIDQuMDU1MzUxLjk4MjMgNC4wNTUzNTEgMi4xOTQxeiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjYzM4Yzc0IiBkPSJNMTkuOTc3NDE0IDEwMzUuNzAwNGMwIC41Njg1LS40MzM2NTkuODU1NC0xLjEzODA5MSAxLjAwMDEtLjI5MTkzMy4wNi0uNjMwMzcxLjA5Ni0xLjAwMzcxOS4xMTY2LS41NjQwNS4wMzItMS4yMDc3ODIuMDMxLTEuODkxMjIuMDMxLS42NzI4MzQgMC0xLjMwNzE4MiAwLTEuODY0OTA0LS4wMjktLjMwNjI2OC0uMDE3LS41ODk0MjktLjA0My0uODQzMTY0LS4wODQtLjgxMzgzMy0uMTMxOC0xLjMyNDk2Mi0uNDE3LTEuMzI0OTYyLTEuMDM0NCAwLTEuMTYwMSAxLjgwNTY0Mi0yLjEwMDYgNC4wMzMwMy0yLjEwMDYgMi4yMjczNzcgMCA0LjAzMzAzLjk0MDUgNC4wMzMwMyAyLjEwMDZ6IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxlbGxpcHNlIGN4PSIxNS45NDQzODIiIGN5PSIxMDMzLjg1MDEiIGZpbGw9IiMyMzIwMWYiIGNvbG9yPSIjMDAwIiBvdmVyZmxvdz0idmlzaWJsZSIgcng9IjIuMDgwMTczMyIgcnk9IjEuMzQzNzQ3IiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8Y2lyY2xlIGN4PSIxMi40MTQyMDEiIGN5PSIxMDMwLjM1NDIiIHI9IjEuOTYzMDYzNCIgZmlsbD0iIzE3MTMxMSIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8Y2lyY2xlIGN4PSIyMy4xMTAxMjEiIGN5PSIxMDMwLjM1NDIiIHI9IjEuOTYzMDYzNCIgZmlsbD0iIzE3MTMxMSIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMzODRlNTQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIuMzk3MzA4NzQiIGQ9Ik01LjAwNTUzNzcgMTAyNy4yNzI3Yy0xLjE3MDQzNS0xLjA4MzUtMi4wMjY5NzMtLjc3MjEtMi4wNDQxNzItLjc0NjMiLz4KICAgIDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzM4NGU1NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9Ii4zOTczMDg3NCIgZD0iTTQuMzg1MjQ1NyAxMDI2LjkxNTJjLTEuMTU4NTU3LjAzNi0xLjM0NjcwNC42MzAzLTEuMzM4ODEuNjUyM20yMy41ODQwOTczLS4zOTUxYzEuMTcwNDMtMS4wODM1IDIuMDI2OTctLjc3MjEgMi4wNDQxNy0uNzQ2MyIvPgogICAgPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzg0ZTU0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS13aWR0aD0iLjM5NzMwODc0IiBkPSJNMjcuMzIxNzczIDEwMjYuNjczYzEuMTU4NTYuMDM2IDEuMzQ2Ny42MzAyIDEuMzM4OC42NTIyIi8+CiAgPC9nPgo8L3N2Zz4=`}typescriptIcon(){return`CjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB3aWR0aD0iNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IGZpbGw9IiMzMTc4YzYiIGhlaWdodD0iNTEyIiByeD0iNTAiIHdpZHRoPSI1MTIiLz48cmVjdCBmaWxsPSIjMzE3OGM2IiBoZWlnaHQ9IjUxMiIgcng9IjUwIiB3aWR0aD0iNTEyIi8+PHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMzE2LjkzOSA0MDcuNDI0djUwLjA2MWM4LjEzOCA0LjE3MiAxNy43NjMgNy4zIDI4Ljg3NSA5LjM4NnMyMi44MjMgMy4xMjkgMzUuMTM1IDMuMTI5YzExLjk5OSAwIDIzLjM5Ny0xLjE0NyAzNC4xOTYtMy40NDIgMTAuNzk5LTIuMjk0IDIwLjI2OC02LjA3NSAyOC40MDYtMTEuMzQyIDguMTM4LTUuMjY2IDE0LjU4MS0xMi4xNSAxOS4zMjgtMjAuNjVzNy4xMjEtMTkuMDA3IDcuMTIxLTMxLjUyMmMwLTkuMDc0LTEuMzU2LTE3LjAyNi00LjA2OS0yMy44NTdzLTYuNjI1LTEyLjkwNi0xMS43MzgtMTguMjI1Yy01LjExMi01LjMxOS0xMS4yNDItMTAuMDkxLTE4LjM4OS0xNC4zMTVzLTE1LjIwNy04LjIxMy0yNC4xOC0xMS45NjdjLTYuNTczLTIuNzEyLTEyLjQ2OC01LjM0NS0xNy42ODUtNy45LTUuMjE3LTIuNTU2LTkuNjUxLTUuMTYzLTEzLjMwMy03LjgyMi0zLjY1Mi0yLjY2LTYuNDY5LTUuNDc2LTguNDUxLTguNDQ4LTEuOTgyLTIuOTczLTIuOTc0LTYuMzM2LTIuOTc0LTEwLjA5MSAwLTMuNDQxLjg4Ny02LjU0NCAyLjY2MS05LjMwOHM0LjI3OC01LjEzNiA3LjUxMi03LjExOGMzLjIzNS0xLjk4MSA3LjE5OS0zLjUyIDExLjg5NC00LjYxNSA0LjY5Ni0xLjA5NSA5LjkxMi0xLjY0MiAxNS42NTEtMS42NDIgNC4xNzMgMCA4LjU4MS4zMTMgMTMuMjI0LjkzOCA0LjY0My42MjYgOS4zMTIgMS41OTEgMTQuMDA4IDIuODk0IDQuNjk1IDEuMzA0IDkuMjU5IDIuOTQ3IDEzLjY5NCA0LjkyOCA0LjQzNCAxLjk4MiA4LjUyOSA0LjI3NiAxMi4yODUgNi44ODR2LTQ2Ljc3NmMtNy42MTYtMi45Mi0xNS45MzctNS4wODQtMjQuOTYyLTYuNDkycy0xOS4zODEtMi4xMTItMzEuMDY2LTIuMTEyYy0xMS44OTUgMC0yMy4xNjMgMS4yNzgtMzMuODA1IDMuODMzcy0yMC4wMDYgNi41NDQtMjguMDkzIDExLjk2N2MtOC4wODYgNS40MjQtMTQuNDc2IDEyLjMzMy0xOS4xNzEgMjAuNzI5LTQuNjk1IDguMzk1LTcuMDQzIDE4LjQzMy03LjA0MyAzMC4xMTQgMCAxNC45MTQgNC4zMDQgMjcuNjM4IDEyLjkxMiAzOC4xNzIgOC42MDcgMTAuNTMzIDIxLjY3NSAxOS40NSAzOS4yMDQgMjYuNzUxIDYuODg2IDIuODE2IDEzLjMwMyA1LjU3OSAxOS4yNSA4LjI5MXMxMS4wODYgNS41MjggMTUuNDE1IDguNDQ4YzQuMzMgMi45MiA3Ljc0NyA2LjEwMSAxMC4yNTIgOS41NDMgMi41MDQgMy40NDEgMy43NTYgNy4zNTIgMy43NTYgMTEuNzMzIDAgMy4yMzMtLjc4MyA2LjIzMS0yLjM0OCA4Ljk5NXMtMy45MzkgNS4xNjItNy4xMjEgNy4xOTYtNy4xNDcgMy42MjQtMTEuODk0IDQuNzcxYy00Ljc0OCAxLjE0OC0xMC4zMDMgMS43MjEtMTYuNjY4IDEuNzIxLTEwLjg1MSAwLTIxLjU5Ny0xLjkwMy0zMi4yNC01LjcxLTEwLjY0Mi0zLjgwNi0yMC41MDItOS41MTYtMjkuNTc5LTE3LjEzem0tODQuMTU5LTEyMy4zNDJoNjQuMjJ2LTQxLjA4MmgtMTc5djQxLjA4Mmg2My45MDZ2MTgyLjkxOGg1MC44NzR6IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=`}csIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJubyI/Pgo8c3ZnCiAgIHdpZHRoPSIyMDQuOCIKICAgaGVpZ2h0PSIyMDQuOCIKICAgdmlld0JveD0iMCAwIDU0LjE4NjY2NiA1NC4xODY2NjciCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEyIj4KICAgIDxsaW5lYXJHcmFkaWVudAogICAgICAgaWQ9ImEiCiAgICAgICB4MT0iNDYuNzczIgogICAgICAgeDI9IjY5LjkwNyIKICAgICAgIHkxPSI4Ni40NjIiCiAgICAgICB5Mj0iMTI2LjczMiIKICAgICAgIGdyYWRpZW50VHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzMy45ODMgLTUxOC45NzQpIHNjYWxlKDguNzg5OTYpIgogICAgICAgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8c3RvcAogICAgICAgICBzdG9wLWNvbG9yPSIjOTI3QkU1IgogICAgICAgICBpZD0ic3RvcDEiIC8+CiAgICAgIDxzdG9wCiAgICAgICAgIG9mZnNldD0iMSIKICAgICAgICAgc3RvcC1jb2xvcj0iIzUxMkJENCIKICAgICAgICAgaWQ9InN0b3AyIiAvPgogICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDxmaWx0ZXIKICAgICAgIGlkPSJiIgogICAgICAgd2lkdGg9IjQyLjg0NSIKICAgICAgIGhlaWdodD0iMzkuMTM2IgogICAgICAgeD0iNDQuNjI5IgogICAgICAgeT0iOTEuODkiCiAgICAgICBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiCiAgICAgICBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8ZmVGbG9vZAogICAgICAgICBmbG9vZC1vcGFjaXR5PSIwIgogICAgICAgICByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIKICAgICAgICAgaWQ9ImZlRmxvb2QyIiAvPgogICAgICA8ZmVDb2xvck1hdHJpeAogICAgICAgICBpbj0iU291cmNlQWxwaGEiCiAgICAgICAgIHJlc3VsdD0iaGFyZEFscGhhIgogICAgICAgICB0eXBlPSJtYXRyaXgiCiAgICAgICAgIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4MiIgLz4KICAgICAgPGZlT2Zmc2V0CiAgICAgICAgIGlkPSJmZU9mZnNldDIiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjEgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXgzIiAvPgogICAgICA8ZmVCbGVuZAogICAgICAgICBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIKICAgICAgICAgbW9kZT0ibm9ybWFsIgogICAgICAgICByZXN1bHQ9ImVmZmVjdDFfZHJvcFNoYWRvd18yMDM3XzI4MDAiCiAgICAgICAgIGlkPSJmZUJsZW5kMyIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXgKICAgICAgICAgaW49IlNvdXJjZUFscGhhIgogICAgICAgICByZXN1bHQ9ImhhcmRBbHBoYSIKICAgICAgICAgdHlwZT0ibWF0cml4IgogICAgICAgICB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDEyNyAwIgogICAgICAgICBpZD0iZmVDb2xvck1hdHJpeDQiIC8+CiAgICAgIDxmZU9mZnNldAogICAgICAgICBkeT0iMSIKICAgICAgICAgaWQ9ImZlT2Zmc2V0NCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyCiAgICAgICAgIHN0ZERldmlhdGlvbj0iMi40OTkiCiAgICAgICAgIGlkPSJmZUdhdXNzaWFuQmx1cjQiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjEgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXg1IiAvPgogICAgICA8ZmVCbGVuZAogICAgICAgICBpbjI9ImVmZmVjdDFfZHJvcFNoYWRvd18yMDM3XzI4MDAiCiAgICAgICAgIG1vZGU9Im5vcm1hbCIKICAgICAgICAgcmVzdWx0PSJlZmZlY3QyX2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBpZD0iZmVCbGVuZDUiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIGluPSJTb3VyY2VBbHBoYSIKICAgICAgICAgcmVzdWx0PSJoYXJkQWxwaGEiCiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXg2IiAvPgogICAgICA8ZmVPZmZzZXQKICAgICAgICAgZHk9IjQiCiAgICAgICAgIGlkPSJmZU9mZnNldDYiIC8+CiAgICAgIDxmZUdhdXNzaWFuQmx1cgogICAgICAgICBzdGREZXZpYXRpb249IjIiCiAgICAgICAgIGlkPSJmZUdhdXNzaWFuQmx1cjYiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjA5IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4NyIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW4yPSJlZmZlY3QyX2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBtb2RlPSJub3JtYWwiCiAgICAgICAgIHJlc3VsdD0iZWZmZWN0M19kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgaWQ9ImZlQmxlbmQ3IiAvPgogICAgICA8ZmVDb2xvck1hdHJpeAogICAgICAgICBpbj0iU291cmNlQWxwaGEiCiAgICAgICAgIHJlc3VsdD0iaGFyZEFscGhhIgogICAgICAgICB0eXBlPSJtYXRyaXgiCiAgICAgICAgIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4OCIgLz4KICAgICAgPGZlT2Zmc2V0CiAgICAgICAgIGR5PSI5IgogICAgICAgICBpZD0iZmVPZmZzZXQ4IiAvPgogICAgICA8ZmVHYXVzc2lhbkJsdXIKICAgICAgICAgc3RkRGV2aWF0aW9uPSIyLjUiCiAgICAgICAgIGlkPSJmZUdhdXNzaWFuQmx1cjgiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjA1IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4OSIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW4yPSJlZmZlY3QzX2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBtb2RlPSJub3JtYWwiCiAgICAgICAgIHJlc3VsdD0iZWZmZWN0NF9kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgaWQ9ImZlQmxlbmQ5IiAvPgogICAgICA8ZmVDb2xvck1hdHJpeAogICAgICAgICBpbj0iU291cmNlQWxwaGEiCiAgICAgICAgIHJlc3VsdD0iaGFyZEFscGhhIgogICAgICAgICB0eXBlPSJtYXRyaXgiCiAgICAgICAgIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4MTAiIC8+CiAgICAgIDxmZU9mZnNldAogICAgICAgICBkeT0iMTUiCiAgICAgICAgIGlkPSJmZU9mZnNldDEwIiAvPgogICAgICA8ZmVHYXVzc2lhbkJsdXIKICAgICAgICAgc3RkRGV2aWF0aW9uPSIzIgogICAgICAgICBpZD0iZmVHYXVzc2lhbkJsdXIxMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXgKICAgICAgICAgdHlwZT0ibWF0cml4IgogICAgICAgICB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMDEgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXgxMSIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW4yPSJlZmZlY3Q0X2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBtb2RlPSJub3JtYWwiCiAgICAgICAgIHJlc3VsdD0iZWZmZWN0NV9kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgaWQ9ImZlQmxlbmQxMSIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW49IlNvdXJjZUdyYXBoaWMiCiAgICAgICAgIGluMj0iZWZmZWN0NV9kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgbW9kZT0ibm9ybWFsIgogICAgICAgICByZXN1bHQ9InNoYXBlIgogICAgICAgICBpZD0iZmVCbGVuZDEyIiAvPgogICAgPC9maWx0ZXI+CiAgPC9kZWZzPgogIDxwYXRoCiAgICAgZD0iTTEzNS43MzEgMjg1Ljg1djE3My45M2MwIDIxLjUxNyAxMS40NzggNDEuNDE4IDMwLjEyNSA1Mi4xNjhsMTUwLjYyNCA4Ni45NzZhNjAuMjIzIDYwLjIyMyAwIDAgMCA2MC4yNSAwbDE1MC42MjMtODYuOTc2YTYwLjIzNyA2MC4yMzcgMCAwIDAgMzAuMTI0LTUyLjE2OVYyODUuODUxYzAtMjEuNTI1LTExLjQ3Ny00MS40MjMtMzAuMTI0LTUyLjE3N0wzNzYuNzI5IDE0Ni43MmE2MC4yMSA2MC4yMSAwIDAgMC02MC4yNDkgMGwtMTUwLjYyNCA4Ni45NTRhNjAuMjQ1IDYwLjI0NSAwIDAgMC0zMC4xMjUgNTIuMTc3eiIKICAgICBmaWxsPSJ1cmwoI2EpIgogICAgIHRyYW5zZm9ybT0ibWF0cml4KC4xIDAgMCAuMSAtNy41NjcgLTEwLjE4OSkiCiAgICAgaWQ9InBhdGgxMiIgLz4KICA8cGF0aAogICAgIGQ9Ik01NC4wNTYgOTguMDN2Ni44NTVhMS43MTEgMS43MTEgMCAwIDAgMS43MTQgMS43MTQgMS43MTMgMS43MTMgMCAwIDAgMS43MTQtMS43MTQgMS43MTMgMS43MTMgMCAxIDEgMy40MjcgMCA1LjE0IDUuMTQgMCAxIDEtMTAuMjgyIDB2LTYuODU0YTUuMTQgNS4xNCAwIDEgMSAxMC4yODIgMCAxLjcxMiAxLjcxMiAwIDEgMS0zLjQyNyAwIDEuNzEyIDEuNzEyIDAgMSAwLTMuNDI3IDB6bTI3LjQxOCA2Ljg1NWExLjcxMiAxLjcxMiAwIDAgMS0xLjcxNCAxLjcxNGgtMS43MTR2MS43MTNjMCAuNDU1LS4xOC44OTEtLjUwMiAxLjIxMmExLjcxIDEuNzEgMCAwIDEtMi40MjMgMCAxLjcxOSAxLjcxOSAwIDAgMS0uNTAyLTEuMjEydi0xLjcxM2gtMy40Mjd2MS43MTNhMS43MSAxLjcxIDAgMCAxLTEuNzE0IDEuNzE0IDEuNzEgMS43MSAwIDAgMS0xLjcxMy0xLjcxNHYtMS43MTNINjYuMDVhMS43MTMgMS43MTMgMCAxIDEgMC0zLjQyN2gxLjcxNHYtMy40MjdINjYuMDVhMS43MTIgMS43MTIgMCAxIDEgMC0zLjQyN2gxLjcxNHYtMS43MTRhMS43MTMgMS43MTMgMCAxIDEgMy40MjcgMHYxLjcxM2gzLjQyN3YtMS43MTNhMS43MTIgMS43MTIgMCAxIDEgMy40MjcgMHYxLjcxM2gxLjcxNGMuNDU0IDAgLjg5LjE4IDEuMjExLjUwMmExLjcxIDEuNzEgMCAwIDEgMCAyLjQyMyAxLjcxMiAxLjcxMiAwIDAgMS0xLjIxMS41MDNoLTEuNzE0djMuNDI3aDEuNzE0YTEuNzE4IDEuNzE4IDAgMCAxIDEuNzE0IDEuNzEzem0tNi44NTUtNS4xNGgtMy40Mjd2My40MjdoMy40Mjd6IgogICAgIGZpbGw9IiNmZmYiCiAgICAgZmlsdGVyPSJ1cmwoI2IpIgogICAgIHN0eWxlPSJtaXgtYmxlbmQtbW9kZTpzY3JlZW4iCiAgICAgdHJhbnNmb3JtPSJtYXRyaXgoLjg3OSAwIDAgLjg3OSAtMzAuOTY1IC02Mi4wODYpIgogICAgIGlkPSJwYXRoMTMiIC8+Cjwvc3ZnPgo=`}cIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJubyI/Pgo8c3ZnCiAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIKICAgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIgogICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnNvZGlwb2RpPSJodHRwOi8vc29kaXBvZGkuc291cmNlZm9yZ2UubmV0L0RURC9zb2RpcG9kaS0wLmR0ZCIKICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiCiAgIHZpZXdCb3g9IjAgMCAzOC4wMDAwODkgNDIuMDAwMDMxIgogICB3aWR0aD0iMzgwLjAwMDg5IgogICBoZWlnaHQ9IjQyMC4wMDAzMSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMTAiCiAgIHNvZGlwb2RpOmRvY25hbWU9Imljb25zOC1jLXByb2dyYW1taW5nLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4wLjEgKDNiYzJlODEzZjUsIDIwMjAtMDktMDcpIj4KICA8bWV0YWRhdGEKICAgICBpZD0ibWV0YWRhdGExNiI+CiAgICA8cmRmOlJERj4KICAgICAgPGNjOldvcmsKICAgICAgICAgcmRmOmFib3V0PSIiPgogICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgICAgIDxkYzp0eXBlCiAgICAgICAgICAgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIgLz4KICAgICAgICA8ZGM6dGl0bGU+PC9kYzp0aXRsZT4KICAgICAgPC9jYzpXb3JrPgogICAgPC9yZGY6UkRGPgogIDwvbWV0YWRhdGE+CiAgPGRlZnMKICAgICBpZD0iZGVmczE0IiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiM2NjY2NjYiCiAgICAgYm9yZGVyb3BhY2l0eT0iMSIKICAgICBvYmplY3R0b2xlcmFuY2U9IjEwIgogICAgIGdyaWR0b2xlcmFuY2U9IjEwIgogICAgIGd1aWRldG9sZXJhbmNlPSIxMCIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMCIKICAgICBpbmtzY2FwZTpwYWdlc2hhZG93PSIyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMTkyMCIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMDU2IgogICAgIGlkPSJuYW1lZHZpZXcxMiIKICAgICBzaG93Z3JpZD0iZmFsc2UiCiAgICAgZml0LW1hcmdpbi10b3A9IjAiCiAgICAgZml0LW1hcmdpbi1sZWZ0PSIwIgogICAgIGZpdC1tYXJnaW4tcmlnaHQ9IjAiCiAgICAgZml0LW1hcmdpbi1ib3R0b209IjAiCiAgICAgaW5rc2NhcGU6em9vbT0iMS40ODk1ODMzIgogICAgIGlua3NjYXBlOmN4PSIxOTAiCiAgICAgaW5rc2NhcGU6Y3k9IjIxMC4wMDI4MiIKICAgICBpbmtzY2FwZTp3aW5kb3cteD0iMCIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iMCIKICAgICBpbmtzY2FwZTp3aW5kb3ctbWF4aW1pemVkPSIxIgogICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZzEwIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzI4MzU5MyIKICAgICBmaWxsLXJ1bGU9ImV2ZW5vZGQiCiAgICAgZD0ibSAxNy45MDMsMC4yODYyODE2NiBjIDAuNjc5LC0wLjM4MSAxLjUxNSwtMC4zODEgMi4xOTMsMCBDIDIzLjQ1MSwyLjE2OTI4MTcgMzMuNTQ3LDcuODM3MjgxNyAzNi45MDMsOS43MjAyODE3IDM3LjU4MiwxMC4xMDAyODIgMzgsMTAuODA0MjgyIDM4LDExLjU2NjI4MiBjIDAsMy43NjYgMCwxNS4xMDEgMCwxOC44NjcgMCwwLjc2MiAtMC40MTgsMS40NjYgLTEuMDk3LDEuODQ3IC0zLjM1NSwxLjg4MyAtMTMuNDUxLDcuNTUxIC0xNi44MDcsOS40MzQgLTAuNjc5LDAuMzgxIC0xLjUxNSwwLjM4MSAtMi4xOTMsMCAtMy4zNTUsLTEuODgzIC0xMy40NTEsLTcuNTUxIC0xNi44MDcsLTkuNDM0IC0wLjY3OCwtMC4zODEgLTEuMDk2LC0xLjA4NCAtMS4wOTYsLTEuODQ2IDAsLTMuNzY2IDAsLTE1LjEwMSAwLC0xOC44NjcgMCwtMC43NjIgMC40MTgsLTEuNDY2IDEuMDk3LC0xLjg0NzAwMDMgMy4zNTQsLTEuODgzIDEzLjQ1MiwtNy41NTEgMTYuODA2LC05LjQzNDAwMDA0IHoiCiAgICAgY2xpcC1ydWxlPSJldmVub2RkIgogICAgIGlkPSJwYXRoMiIKICAgICBzdHlsZT0iZmlsbDojMDA0NDgyO2ZpbGwtb3BhY2l0eToxIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzVjNmJjMCIKICAgICBmaWxsLXJ1bGU9ImV2ZW5vZGQiCiAgICAgZD0ibSAwLjMwNCwzMS40MDQyODIgYyAtMC4yNjYsLTAuMzU2IC0wLjMwNCwtMC42OTQgLTAuMzA0LC0xLjE0OSAwLC0zLjc0NCAwLC0xNS4wMTQgMCwtMTguNzU5IDAsLTAuNzU4IDAuNDE3LC0xLjQ1OCAxLjA5NCwtMS44MzYwMDAzIDMuMzQzLC0xLjg3MiAxMy40MDUsLTcuNTA3IDE2Ljc0OCwtOS4zODAwMDAwNCAwLjY3NywtMC4zNzkgMS41OTQsLTAuMzcxIDIuMjcxLDAuMDA4IDMuMzQzLDEuODcyMDAwMDQgMTMuMzcxLDcuNDU5MDAwMDQgMTYuNzE0LDkuMzMxMDAwMDQgMC4yNywwLjE1MiAwLjQ3NiwwLjMzNSAwLjY2LDAuNTc2MDAwMyB6IgogICAgIGNsaXAtcnVsZT0iZXZlbm9kZCIKICAgICBpZD0icGF0aDQiCiAgICAgc3R5bGU9ImZpbGw6IzY1OWFkMjtmaWxsLW9wYWNpdHk6MSIgLz4KICA8cGF0aAogICAgIGZpbGw9IiNmZmZmZmYiCiAgICAgZmlsbC1ydWxlPSJldmVub2RkIgogICAgIGQ9Im0gMTksNy4wMDAyODE3IGMgNy43MjcsMCAxNCw2LjI3MzAwMDMgMTQsMTQuMDAwMDAwMyAwLDcuNzI3IC02LjI3MywxNCAtMTQsMTQgLTcuNzI3LDAgLTE0LC02LjI3MyAtMTQsLTE0IDAsLTcuNzI3IDYuMjczLC0xNC4wMDAwMDAzIDE0LC0xNC4wMDAwMDAzIHogbSAwLDcuMDAwMDAwMyBjIDMuODYzLDAgNywzLjEzNiA3LDcgMCwzLjg2MyAtMy4xMzcsNyAtNyw3IC0zLjg2MywwIC03LC0zLjEzNyAtNywtNyAwLC0zLjg2NCAzLjEzNiwtNyA3LC03IHoiCiAgICAgY2xpcC1ydWxlPSJldmVub2RkIgogICAgIGlkPSJwYXRoNiIgLz4KICA8cGF0aAogICAgIGZpbGw9IiMzOTQ5YWIiCiAgICAgZmlsbC1ydWxlPSJldmVub2RkIgogICAgIGQ9Im0gMzcuNDg1LDEwLjIwNTI4MiBjIDAuNTE2LDAuNDgzIDAuNTA2LDEuMjExIDAuNTA2LDEuNzg0IDAsMy43OTUgLTAuMDMyLDE0LjU4OSAwLjAwOSwxOC4zODQgMC4wMDQsMC4zOTYgLTAuMTI3LDAuODEzIC0wLjMyMywxLjEyNyBsIC0xOS4wODQsLTEwLjUgeiIKICAgICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgICAgaWQ9InBhdGg4IgogICAgIHN0eWxlPSJmaWxsOiMwMDU5OWM7ZmlsbC1vcGFjaXR5OjEiIC8+Cjwvc3ZnPgo=`}cppIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9InV0Zi04Ij8+CjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjQsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMzA2cHgiIGhlaWdodD0iMzQ0LjM1cHgiIHZpZXdCb3g9IjAgMCAzMDYgMzQ0LjM1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAzMDYgMzQ0LjM1IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0iIzAwNTk5QyIgZD0iTTMwMi4xMDcsMjU4LjI2MmMyLjQwMS00LjE1OSwzLjg5My04Ljg0NSwzLjg5My0xMy4wNTNWOTkuMTRjMC00LjIwOC0xLjQ5LTguODkzLTMuODkyLTEzLjA1MkwxNTMsMTcyLjE3NQoJTDMwMi4xMDcsMjU4LjI2MnoiLz4KPHBhdGggZmlsbD0iIzAwNDQ4MiIgZD0iTTE2Ni4yNSwzNDEuMTkzbDEyNi41LTczLjAzNGMzLjY0NC0yLjEwNCw2Ljk1Ni01LjczNyw5LjM1Ny05Ljg5N0wxNTMsMTcyLjE3NUwzLjg5MywyNTguMjYzCgljMi40MDEsNC4xNTksNS43MTQsNy43OTMsOS4zNTcsOS44OTZsMTI2LjUsNzMuMDM0QzE0Ny4wMzcsMzQ1LjQwMSwxNTguOTYzLDM0NS40MDEsMTY2LjI1LDM0MS4xOTN6Ii8+CjxwYXRoIGZpbGw9IiM2NTlBRDIiIGQ9Ik0zMDIuMTA4LDg2LjA4N2MtMi40MDItNC4xNi01LjcxNS03Ljc5My05LjM1OC05Ljg5N0wxNjYuMjUsMy4xNTZjLTcuMjg3LTQuMjA4LTE5LjIxMy00LjIwOC0yNi41LDAKCUwxMy4yNSw3Ni4xOUM1Ljk2Miw4MC4zOTcsMCw5MC43MjUsMCw5OS4xNHYxNDYuMDY5YzAsNC4yMDgsMS40OTEsOC44OTQsMy44OTMsMTMuMDUzTDE1MywxNzIuMTc1TDMwMi4xMDgsODYuMDg3eiIvPgo8Zz4KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNTMsMjc0LjE3NWMtNTYuMjQzLDAtMTAyLTQ1Ljc1Ny0xMDItMTAyczQ1Ljc1Ny0xMDIsMTAyLTEwMmMzNi4yOTIsMCw3MC4xMzksMTkuNTMsODguMzMxLDUwLjk2OAoJCWwtNDQuMTQzLDI1LjU0NGMtOS4xMDUtMTUuNzM2LTI2LjAzOC0yNS41MTItNDQuMTg4LTI1LjUxMmMtMjguMTIyLDAtNTEsMjIuODc4LTUxLDUxYzAsMjguMTIxLDIyLjg3OCw1MSw1MSw1MQoJCWMxOC4xNTIsMCwzNS4wODUtOS43NzYsNDQuMTkxLTI1LjUxNWw0NC4xNDMsMjUuNTQzQzIyMy4xNDIsMjU0LjY0NCwxODkuMjk0LDI3NC4xNzUsMTUzLDI3NC4xNzV6Ii8+CjwvZz4KPGc+Cgk8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjI1NSwxNjYuNTA4IDI0My42NjYsMTY2LjUwOCAyNDMuNjY2LDE1NS4xNzUgMjMyLjMzNCwxNTUuMTc1IDIzMi4zMzQsMTY2LjUwOCAyMjEsMTY2LjUwOCAKCQkyMjEsMTc3Ljg0MSAyMzIuMzM0LDE3Ny44NDEgMjMyLjMzNCwxODkuMTc1IDI0My42NjYsMTg5LjE3NSAyNDMuNjY2LDE3Ny44NDEgMjU1LDE3Ny44NDEgCSIvPgo8L2c+CjxnPgoJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIyOTcuNSwxNjYuNTA4IDI4Ni4xNjYsMTY2LjUwOCAyODYuMTY2LDE1NS4xNzUgMjc0LjgzNCwxNTUuMTc1IDI3NC44MzQsMTY2LjUwOCAyNjMuNSwxNjYuNTA4IAoJCTI2My41LDE3Ny44NDEgMjc0LjgzNCwxNzcuODQxIDI3NC44MzQsMTg5LjE3NSAyODYuMTY2LDE4OS4xNzUgMjg2LjE2NiwxNzcuODQxIDI5Ny41LDE3Ny44NDEgCSIvPgo8L2c+Cjwvc3ZnPgo=`}zigLogo(){return`CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTUzIDE0MCI+CjxnIGZpbGw9IiNmN2E0MWQiPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI0NiwyMiAyOCw0NCAxOSwzMCIvPgoJCTxwb2x5Z29uIHBvaW50cz0iNDYsMjIgMzMsMzMgMjgsNDQgMjIsNDQgMjIsOTUgMzEsOTUgMjAsMTAwIDEyLDExNyAwLDExNyAwLDIyIiBzaGFwZS1yZW5kZXJpbmc9ImNyaXNwRWRnZXMiLz4KCQk8cG9seWdvbiBwb2ludHM9IjMxLDk1IDEyLDExNyA0LDEwNiIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI1NiwyMiA2MiwzNiAzNyw0NCIvPgoJCTxwb2x5Z29uIHBvaW50cz0iNTYsMjIgMTExLDIyIDExMSw0NCAzNyw0NCA1NiwzMiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIi8+CgkJPHBvbHlnb24gcG9pbnRzPSIxMTYsOTUgOTcsMTE3IDkwLDEwNCIvPgoJCTxwb2x5Z29uIHBvaW50cz0iMTE2LDk1IDEwMCwxMDQgOTcsMTE3IDQyLDExNyA0Miw5NSIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIi8+CgkJPHBvbHlnb24gcG9pbnRzPSIxNTAsMCA1MiwxMTcgMywxNDAgMTAxLDIyIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjE0MSwyMiAxNDAsNDAgMTIyLDQ1Ii8+CgkJPHBvbHlnb24gcG9pbnRzPSIxNTMsMjIgMTUzLDExNyAxMDYsMTE3IDEyMCwxMDUgMTI1LDk1IDEzMSw5NSAxMzEsNDUgMTIyLDQ1IDEzMiwzNiAxNDEsMjIiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyIvPgoJCTxwb2x5Z29uIHBvaW50cz0iMTI1LDk1IDEzMCwxMTAgMTA2LDExNyIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=`}render(){let e=Jr.getIconForType(this.getNodeTypeFromIcon(this.icon));switch(this.icon){case E.OPENAPI:return T``;case E.GO:return T``;case E.TS:return T``;case E.CS:return T``;case E.C:return T``;case E.CPP:return T``;case E.ZIG:return T``}return T` +`,D;(function(e){e.VERSION=`version`,e.SCHEMA=`schema`,e.SCHEMAS=`schemas`,e.SCHEMA_TYPES=`types`,e.MEDIA_TYPE=`mediaType`,e.HEADER=`header`,e.EXAMPLE=`example`,e.EXAMPLES=`examples`,e.ENCODING=`encoding`,e.REQUEST_BODY=`requestBody`,e.REQUEST_BODIES=`requestBodies`,e.PARAMETER=`parameter`,e.PARAMETER_QUERY=`query`,e.COOKIE=`cookie`,e.PARAMETERS=`parameters`,e.LINK=`link`,e.LINKS=`links`,e.RESPONSE=`response`,e.RESPONSES=`responses`,e.OPERATION=`operation`,e.OPERATIONS=`operations`,e.SECURITY_SCHEME=`securityScheme`,e.SECURITY_SCHEMES=`securitySchemes`,e.EXTERNAL_DOCS=`externalDocs`,e.SECURITY=`security`,e.CALLBACK=`callback`,e.CALLBACKS=`callbacks`,e.PATH_ITEM=`pathItem`,e.PATH_ITEMS=`pathItems`,e.XML=`xml`,e.HEADERS=`headers`,e.SERVER=`server`,e.SERVERS=`servers`,e.SERVER_VARIABLE=`serverVariable`,e.PATHS=`paths`,e.COMPONENTS=`components`,e.CONTACT=`contact`,e.LICENSE=`license`,e.INFO=`info`,e.TAG=`tag`,e.TAGS=`tags`,e.DOCUMENT=`document`,e.WEBHOOK=`webhook`,e.WEBHOOKS=`webhooks`,e.EXTENSIONS=`extensions`,e.EXTENSION=`extension`,e.NO_EXAMPLE=`noExample`,e.POLYMORPHIC=`polymorphic`,e.ERROR=`error`,e.WARNING=`warning`,e.ROLODEX_FILE=`rolodex-file`,e.ROLODEX_FOLDER=`rolodex-dir`,e.OPENAPI=`openapi`,e.UPLOAD=`upload`,e.ADD=`add`,e.UNKNOWN=`unknown`,e.EXPAND_NODE=`expand-node`,e.POV_MODE=`pov-mode`,e.JS=`js`,e.GO=`go`,e.TS=`ts`,e.CS=`cs`,e.C=`c`,e.CPP=`cpp`,e.PHP=`php`,e.PY=`py`,e.HTML=`html`,e.MD=`md`,e.JAVA=`java`,e.RS=`rs`,e.ZIG=`zig`,e.RB=`rb`,e.YAML=`yaml`,e.JSON=`json`})(D||={});var qr=`pb33f-theme-change`,Jr=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Yr,Xr;(function(e){e.tiny=`tiny`,e.small=`small`,e.smaller=`smaller`,e.medium=`medium`,e.large=`large`,e.huge=`huge`})(Xr||={});var Zr;(function(e){e.primary=`primary`,e.secondary=`secondary`,e.inverse=`inverse`,e.font=`font`,e.warning=`warning`,e.polymorphic=`polymorphic`,e.error=`error`,e.filtered=`filtered`})(Zr||={});var Qr=Yr=class extends St{getSize(){switch(this.size){case Xr.tiny:return`0.8rem`;case Xr.smaller:return`1.2rem`;case Xr.medium:return`1.4rem`;case Xr.large:return`1.8rem`;case Xr.huge:return`2rem`;default:return`1rem`}}getIconColor(){switch(this.color){case Zr.primary:return`var(--primary-color)`;case Zr.secondary:return`var(--secondary-color)`;case Zr.warning:return`var(--warn-color)`;case Zr.polymorphic:return`var(--warn-color)`;case Zr.error:return`var(--error-color)`;case Zr.inverse:return`var(--background-color)`;case Zr.filtered:return`var(--font-color-sub2)`;case Zr.font:default:return`var(--font-color)`}}constructor(){super(),this._themeHandler=()=>this.requestUpdate(),this.size=Xr.medium,this.color=Zr.primary}connectedCallback(){super.connectedCallback(),window.addEventListener(qr,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(qr,this._themeHandler)}isLightMode(){return document.documentElement.getAttribute(`theme`)===`light`}getNodeTypeFromIcon(e){return Object.values(D).includes(e)?e:D.SCHEMA}static getIconForType(e){switch(e){case D.DOCUMENT:return`stars`;case D.SCHEMA:return`box`;case D.SCHEMA_TYPES:return`diagram-3`;case D.MEDIA_TYPE:case D.XML:return`code-slash`;case D.HEADER:case D.HEADERS:return`envelope`;case D.EXAMPLE:case D.EXAMPLES:return`chat-left-quote`;case D.ENCODING:return`box-seam`;case D.REQUEST_BODY:case D.REQUEST_BODIES:return`box-arrow-in-right`;case D.PARAMETER:case D.PARAMETERS:case D.SERVER_VARIABLE:return`braces-asterisk`;case D.PARAMETER_QUERY:return`question-lg`;case D.COOKIE:return`cookie`;case D.LINK:case D.LINKS:return`link`;case D.RESPONSE:case D.RESPONSES:return`box-arrow-left`;case D.OPERATION:case D.OPERATIONS:return`gear-wide-connected`;case D.SECURITY_SCHEME:case D.SECURITY_SCHEMES:case D.SECURITY:return`shield-lock`;case D.CALLBACK:case D.CALLBACKS:return`telephone-outbound`;case D.PATH_ITEM:case D.PATH_ITEMS:return`geo`;case D.SERVER:case D.SERVERS:return`hdd-network`;case D.PATHS:return`compass`;case D.COMPONENTS:return`boxes`;case D.CONTACT:return`person-circle`;case D.LICENSE:return`patch-check`;case D.UPLOAD:return`upload`;case D.INFO:return`info-square`;case D.TAG:return`tag`;case D.TAGS:return`tags`;case D.VERSION:return`award`;case D.EXTENSIONS:case D.EXTENSION:return`plug`;case D.WEBHOOK:case D.WEBHOOKS:return`arrow-clockwise`;case D.NO_EXAMPLE:return`exclamation-circle`;case D.POLYMORPHIC:return`diagram-3`;case D.ERROR:return`x-square`;case D.WARNING:return`exclamation-triangle`;case D.ROLODEX_FOLDER:return`folder`;case D.ROLODEX_FILE:return`journal-code`;case D.JS:return`filetype-js`;case D.PHP:return`filetype-php`;case D.PY:return`filetype-py`;case D.HTML:return`filetype-html`;case D.MD:return`markdown`;case D.JAVA:return`filetype-java`;case D.EXTERNAL_DOCS:return`journals`;case D.RB:return`filetype-rb`;case D.EXPAND_NODE:return`node-plus`;case D.POV_MODE:return`binoculars`;default:return`box`}}openapiIcon(){return this.isLightMode()?`PHN2ZyBpZD0icGIzM2Zfb3BlbmFwaSIgZGF0YS1uYW1lPSJwYjMzZl9vcGVuYXBpIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3ODQuMzcgNzg0LjI5Ij4KICA8cGF0aCBkPSJNMjA3LjI4LDQ1MC45N0guMzFjLjA0LDEuMDIuMDcsMi4wMy4xMiwzLjAzLjA4LDEuOTUuMjIsMy44OC4zNCw1LjgzLjA1Ljg0LjA5LDEuNjcuMTYsMi41LjE2LDIuMjUuMzUsNC41LjU2LDYuNzMuMDUuNTEuMDksMS4wMi4xNCwxLjUuMjQsMi41LjUxLDQuOTkuOCw3LjQ3LjAxLjI0LjA0LjQ4LjA4LjcyLjMzLDIuNjcuNjcsNS4zNSwxLjA2LDgsMCwuMDQsMCwuMDguMDEuMSwyLjM5LDE2LjU0LDUuOTYsMzIuODgsMTAuNyw0OC45LjAzLjA3LjA1LjEzLjA3LjIuNzUsMi41NCwxLjUzLDUuMDUsMi4zMyw3LjU0LjA1LjE0LjEuMy4xNC40NHMuMDkuMjkuMTQuNDRjLjczLDIuMjYsMS41LDQuNTEsMi4yOCw2Ljc3LjIuNTYuMzksMS4xNC42LDEuNzEuNjksMS45NSwxLjQsMy45LDIuMTMsNS44Ni4zNC44OC42NywxLjc1Ljk5LDIuNjQuNjQsMS42MiwxLjI2LDMuMjMsMS45LDQuODQuNDgsMS4yMi45OCwyLjQzLDEuNDksMy42My41MiwxLjI3LDEuMDUsMi41MSwxLjU4LDMuNzguNjUsMS41NCwxLjM1LDMuMDcsMi4wMyw0LjYyLjQxLjkyLjgyLDEuODIsMS4yMywyLjczLjg0LDEuODQsMS43LDMuNjksMi41OCw1LjUyLjI5LjU5LjU2LDEuMTguODUsMS43NSwxLjAyLDIuMTIsMi4wNSw0LjIsMy4xLDYuMjguMTguMzEuMzMuNjQuNS45NSwxLjE4LDIuMywyLjM4LDQuNTksMy42Miw2Ljg2LjA1LjEuMTIuMi4xNi4zMS4yNi40Ny41NS45My44MSwxLjRsMTc2Ljc2LTEwNi40Ny42NS0uMzljLTYuOTctMTQuNy0xMS4zMS0zMC4zMy0xMi45My00Ni4yMmgwWiIgc3R5bGU9ImZpbGw6ICMzNTllZDM7Ii8+CiAgPHBhdGggZD0iTTI1OC4xNSw1NDUuOTlsLS41LjUtMTQ1Ljc5LDE0NS43N2MuNzUuNjksMS40OSwxLjQxLDIuMjYsMi4wOCwxLjM2LDEuMjQsMi43NSwyLjQ2LDQuMTIsMy42Ny43Mi42MywxLjQxLDEuMjYsMi4xMywxLjg4LDEuNjUsMS40MywzLjMyLDIuODEsNC45OCw0LjIxLjQ2LjM4Ljg5Ljc1LDEuMzUsMS4xMiwyLjEyLDEuNzQsNC4yNiwzLjQ2LDYuNDIsNS4xNSwyLjA3LDEuNjMsNC4xNCwzLjIyLDYuMjYsNC44MS4wOS4wNS4xNi4xLjI0LjE3LDguOCw2LjU3LDE3LjksMTIuNzIsMjcuMjcsMTguNDQuMzEuMjEuNjQuMzkuOTcuNiwxLjc5LDEuMDYsMy41NywyLjEyLDUuMzcsMy4xNmwzLjI5LDEuODhjMS4wNS42LDIuMDgsMS4xOCwzLjEyLDEuNzUsMS45LDEuMDMsMy43OSwyLjA3LDUuNywzLjA3LjI2LjE0LjUyLjI5LjguNDIsNS4zLDIuNzcsMTAuNjgsNS4zNSwxNi4xMiw3LjgzbDUuMTgtMTIuNTcsNzMuMzMtMTc4LjA0LjI2LS42NWMtOC00LjI5LTE1LjY4LTkuMzYtMjIuODktMTUuMjdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik0yNDIuOTcsNTMxLjQ2Yy0xLjU3LTEuNzQtMy4wOC0zLjUzLTQuNTUtNS4zNi0xLjMxLTEuNjEtMi41Ni0zLjIzLTMuNzgtNC44OC0xLjQtMS44OC0yLjc2LTMuNzktNC4wNS01LjczLTEuMjktMS45NS0yLjU4LTMuOTEtMy43OC01LjlsLTE3Ni45OCwxMDYuNmMyLjcyLDQuNTIsNS41NCw4LjkyLDguNDUsMTMuMjYuMDkuMTYuMTguMzEuMjkuNDYuMDMuMDcuMDcuMS4xLjE3LjA5LjEzLjE4LjI5LjI3LjQzLjAxLjAxLjAzLjAzLjAzLjA1LjI0LjM0LjQ3LjY4LjcxLDEuMDMuMDEuMDEuMDMuMDQuMDUuMDdzLjAxLjAxLjAxLjAzYzMuMDcsNC41NCw2LjI0LDkuMDEsOS40OSwxMy4zOC4wNy4wOS4xNC4xOC4yMS4yNy4wOC4wOS4xNC4xOC4yMS4yNywxLjQzLDEuODcsMi44NCwzLjc0LDQuMyw1LjYuMi4yNS4zOC40OC41OS43MiwxLjQ5LDEuOTIsMy4wMiwzLjgyLDQuNTgsNS42OS4zNy40NC43NS44OSwxLjExLDEuMzUsMS40LDEuNjcsMi44LDMuMzMsNC4yMiw0Ljk4LjYxLjcxLDEuMjQsMS40MywxLjg3LDIuMTIsMS4yMiwxLjM5LDIuNDIsMi43NywzLjY2LDQuMTMuNjguNzUsMS4zOSwxLjUsMi4wOCwyLjI1LjMxLjM1LjYzLjY4Ljk1LDEuMDMuOS45OCwxLjgsMS45NiwyLjcyLDIuOTMuMzcuMzguNzYuNzYsMS4xMiwxLjE1LDEuNjEsMS42NywzLjI0LDMuMzYsNC44OSw1LjAxbDE0Ni4wMS0xNDUuOThjLTEuNjctMS42Ny0zLjI0LTMuNC00Ljc5LTUuMTNoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik00MzYuNSw1NDUuOTFjLTEuNjEsMS4yOS0zLjIzLDIuNTYtNC44OCwzLjc4bC4zNS42MSwxMDYuNDYsMTc2LjY4YzQuOTMtMy4yMiw5LjgxLTYuNTQsMTQuNTctMTAuMDMsMTAuMy03LjYsMjAuMjctMTUuODMsMjkuODgtMjQuN2wtMTQ1LjgtMTQ1Ljc3LS41OC0uNThaIiBzdHlsZT0iZmlsbDogIzYyYzRmZjsiLz4KICA8cGF0aCBkPSJNNTIyLjk2LDcyOC40NGwtMy42MS02LTk5LjM3LTE2NC45MmMtMi4wMSwxLjItNC4wNywyLjMtNi4xMiwzLjQtMi4wOCwxLjEyLTQuMTYsMi4xNi02LjI4LDMuMTYtMTkuMDksOS4wNS0zOS43NSwxMy42OC02MC40NSwxMy42OC0xMy41NiwwLTI3LjEtMS45Ni00MC4yMS01Ljg3LTIuMjQtLjY3LTQuNDItMS41NC02LjYyLTIuMzMtMi4yMS0uNzctNC40NS0xLjQ1LTYuNjItMi4zNGwtNzMuMjcsMTc3LjkzLTIuODYsNi45Ny0yLjQ2LDUuOTh2LjAzYy4xNy4wOC4zNy4xNC41NS4yMi4yMS4wOC40MS4xNC42LjI0aC4wM2MuMDUuMDMuMS4wNC4xNC4wNSwxLjczLjcyLDMuNDYsMS4zMiw1LjIsMiwyLjE4Ljg1LDQuMzUsMS43MSw2LjU0LDIuNTEsMS4xMi40MSwyLjIyLjg4LDMuMzMsMS4yN2guMDFjMjIuOTYsOC4xLDQ2LjcxLDEzLjc5LDcwLjg1LDE2Ljk2Ljk1LjEyLDEuODguMjUsMi44NC4zOC45OC4xMiwxLjk3LjIxLDIuOTcuMzMsMS44Ni4yMSwzLjcxLjQyLDUuNTguNmwxLjM5LjEyYzIuMjkuMjIsNC41OC40Miw2Ljg1LjU4Ljc4LjA3LDEuNTcuMDksMi4zNC4xNiwyLC4xMyw0LC4yNSw2LC4zNCwxLjIzLjA4LDIuNDYuMSwzLjY5LjE2LDEuNi4wNSwzLjE4LjEyLDQuNzcuMTcsMi4yOS4wNSw0LjYuMDcsNi45LjA4LjU1LDAsMS4wOS4wMSwxLjYzLjAzLDE5LjI5LDAsMzguNTctMS42MSw1Ny42NS00LjgxLjMxLS4wNS42NC0uMS45Ny0uMTQsMi4wMS0uMzUsNC4wMy0uNzMsNi4wNC0xLjEsMS4xNS0uMjIsMi4zMS0uNDQsMy40NC0uNjcsMS4xOC0uMjUsMi4zNy0uNDgsMy41NC0uNzUsMS45Ni0uNDEsMy45Mi0uODQsNS45LTEuMjkuMzUtLjA4LjcxLS4xNCwxLjA2LS4yNSwyOS02Ljc1LDU3LjAxLTE3LjIxLDgzLjMxLTMxLjA1aDBjMS43My0uOTIsMy40MS0xLjk1LDUuMTMtMi44OSwyLjA0LTEuMTEsNC4wNy0yLjI4LDYuMTEtMy40NCwxLjQtLjgsMi44Mi0xLjU0LDQuMjItMi4zOC4wMS0uMDEuMDMtLjAzLjA0LS4wM2guMDFzLjA0LS4wMy4wNy0uMDRsLjAzLS4wMy0uMjYtLjQzLjI2LjQzcy4wMy0uMDEuMDQtLjAxYy4wMy0uMDEuMDQtLjAzLjA3LS4wNC4wOC0uMDUuMTYtLjA5LjI0LS4xNC40NC0uMjcuOS0uNTQsMS4zNi0uODFsLTMuNTgtNS45OVpNMjU4LjIzLDMyOC4wNWMxLjYxLTEuMzEsMy4yNC0yLjU2LDQuODgtMy43OWwtLjM1LS42LTEwNi40Ni0xNzYuN2MtNC45NCwzLjIzLTkuODIsNi41Ni0xNC41OSwxMC4wNS0xMC4yOSw3LjU4LTIwLjI3LDE1LjgxLTI5Ljg1LDI0LjY2bDE0NS44LDE0NS43OS41OC41OVoiIHN0eWxlPSJmaWxsOiAjMzU5ZWQzOyIvPgogIDxwYXRoIGQ9Ik0xMDEuNzUsMTkxLjM5Yy0xLjY2LDEuNjYtMy4yMywzLjM3LTQuODUsNS4wNS0xLjYxLDEuNjktMy4yNiwzLjM2LTQuODQsNS4wNi0xMC42NCwxMS41MS0yMC41LDIzLjcyLTI5LjUsMzYuNTYtLjQzLjU5LS44NSwxLjIyLTEuMjgsMS44Mi0uOTksMS40Ni0xLjk5LDIuOTItMi45NSw0LjM4LTEuMDIsMS41Mi0yLjAzLDMuMDYtMy4wMSw0LjU5LS4zNy41Ni0uNzMsMS4xNC0xLjA5LDEuN0MyMC43LDMwMy4xNCwyLjczLDM2Mi44LjMxLDQyMi45NmMtLjA5LDIuMzQtLjE0LDQuNjgtLjIsNy4wMS0uMDQsMi4zMy0uMTIsNC42Ny0uMTIsN2gyMDYuNDljMC0yLjMzLjIxLTQuNjUuMzQtNywuMTItMi4zNC4xNC00LjY4LjM4LTcuMDEsMi42Ny0yNi44OCwxMy4wNS01My4xNCwzMS4xNC03NS4xOCwxLjQ2LTEuNzksMy4xMi0zLjQ4LDQuNzEtNS4yLDEuNTYtMS43NCwzLjAyLTMuNTMsNC42OS01LjJMMTAxLjc1LDE5MS4zOVpNNTI3LjgsMTQwLjE0Yy0uMjctLjE3LS41OC0uMzQtLjg1LS41MS0xLjgyLTEuMTEtMy42NS0yLjE4LTUuNDktMy4yNi0xLjA2LS42MS0yLjEzLTEuMjItMy4xOS0xLjgyLTEuMDktLjYtMi4xNC0xLjItMy4yMy0xLjc5LTEuODctMS4wMi0zLjc0LTIuMDMtNS42MS0zLjAzLS4zLS4xNC0uNTktLjMtLjg5LS40Ni0xMi4xMS02LjMzLTI0LjU0LTExLjktMzcuMjQtMTYuNzQtLjMzLS4xMy0uNjUtLjI2LS45OC0uMzgtMi43Ny0xLjAzLTUuNTQtMi4wNy04LjM0LTMuMDMtMjIuNTYtNy44Ny00NS44OC0xMy40LTY5LjU3LTE2LjUxbC0yLjktLjM5Yy0uOTgtLjEyLTEuOTUtLjIxLTIuOTItLjMxLTEuODctLjIyLTMuNzMtLjQzLTUuNjEtLjYxLS41MS0uMDUtMS4wMy0uMDgtMS41Ny0uMTQtMi4yMS0uMi00LjQ1LS4zOS02LjY3LS41NmwtMi42LS4xNmMtMS45LS4xMi0zLjgzLS4yNi01LjczLS4zNC0xLjAyLS4wNS0yLjA0LS4wOS0zLjA1LS4xMnYyMDYuOTdjMTAuNjIsMS4xLDIxLjE0LDMuMzYsMzEuMzUsNi44M2wxNTIuMzQtMTUyLjMxYy01LjY2LTMuOTItMTEuMzgtNy43NC0xNy4yNi0xMS4zMWgwWiIgc3R5bGU9ImZpbGw6ICM2MmM0ZmY7Ii8+CiAgPHBhdGggZD0iTTM0MC4zNyw4OS44Yy0yLjM0LjA1LTQuNjguMDUtNy4wMS4xNC0xNC42LjU5LTI5LjE4LDIuMDgtNDMuNjQsNC41MS0uMzEuMDUtLjYzLjEtLjk1LjE2LTIuMDMuMzUtNC4wNC43Mi02LjA1LDEuMS0xLjE0LjIyLTIuMjkuNDMtMy40NC42NS0xLjE5LjI0LTIuMzcuNDgtMy41Ni43NS0xLjk2LjQxLTMuOTIuODQtNS44NywxLjI5LS4zNy4wNy0uNzIuMTYtMS4wNy4yNC0yOC45OCw2Ljc3LTU2Ljk5LDE3LjIxLTgzLjMzLDMxLjA3LTEuNzEuOTItMy4zOSwxLjk1LTUuMSwyLjg4LTIuMDQsMS4xMi00LjA4LDIuMjgtNi4xMSwzLjQ0LTEuNS44OC0zLjAzLDEuNjctNC41NCwyLjU2LS4wMS4wMS0uMDQuMDMtLjA1LjAzLS4xLjA3LS4yMS4xMy0uMzEuMTgtLjM5LjI1LS44LjQ0LTEuMTkuNjh2LjAzczMuNjMsNiwzLjYzLDZsMTAyLjk3LDE3MC45M2MyLjAxLTEuMiw0LjA3LTIuMzEsNi4xMi0zLjQxLDIuMDctMS4xMSw0LjE2LTIuMTYsNi4yNi0zLjE1LDE0LjU1LTYuOTUsMzAuMTktMTEuMzMsNDYuMjMtMTIuOTYsMi4zMy0uMjQsNC42NS0uNDMsNy0uNTUsMi4zMy0uMTIsNC42Ny0uMjQsNy4wMS0uMjRWODkuNjVjLTIuMzQsMC00LjY3LjEtNywuMTRoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik02OTQuMyw0MTkuOWMtLjEtMS44Ni0uMjEtMy43LS4zNC01LjU3LS4wNS0uOTItLjExLTEuODUtLjE4LTIuNzctLjE0LTIuMTgtLjMzLTQuMzctLjU0LTYuNTUtLjA0LS41Ni0uMDktMS4xMi0uMTQtMS42OS0uMjQtMi40NS0uNS00Ljg4LS43OC03LjMxLS4wMy0uMi0uMDQtLjM5LS4wNy0uNTlsLS4wNC0uMjdjLS4zMS0yLjYzLS42Ny01LjI2LTEuMDMtNy44N2wtLjA0LS4yNWMtMi4zOC0xNi41LTUuOTUtMzIuODItMTAuNjctNDguODEtLjA0LS4xMi0uMDctLjIxLS4xLS4zMS0uNzUtMi41LTEuNTItNC45Ny0yLjI5LTcuNDQtLjEyLS4zMy0uMjItLjY1LS4zMy0uOTgtLjczLTIuMjQtMS40OC00LjQ2LTIuMjUtNi42OGwtLjYzLTEuOGMtLjY4LTEuOTItMS4zOS0zLjg0LTIuMDktNS43Ny0uMzUtLjkyLS42OS0xLjgzLTEuMDYtMi43My0uNi0xLjYtMS4yMi0zLjE4LTEuODYtNC43NS0uNS0xLjI3LTEuMDEtMi41MS0xLjUyLTMuNzQtLjUxLTEuMjQtMS4wMy0yLjQ2LTEuNTQtMy42OS0uNjgtMS41Ny0xLjM3LTMuMTQtMi4wNy00LjY5LS4zOS0uODgtLjc4LTEuNzctMS4xOS0yLjY1LS44NS0xLjg2LTEuNzMtMy43My0yLjYtNS41OC0uMjctLjU1LS41NS0xLjEyLS44Mi0xLjY5LTEuMDItMi4xMi0yLjA3LTQuMjUtMy4xNC02LjM0LS4xNC0uMjktLjMtLjU5LS40NC0uODgtMS4xOS0yLjMxLTIuNDItNC42NC0zLjY1LTYuOTMtLjA1LS4wOC0uMDktLjE3LS4xNC0uMjUtNi0xMS4wMy0xMi42LTIxLjc0LTE5Ljc2LTMyLjA2bC0xNTIuMzgsMTUyLjM4YzMuNDYsMTAuMjEsNS43MSwyMC43NCw2LjgxLDMxLjM0aDIwN2MtLjA1LTEuMDMtLjA4LTIuMDctLjEzLTMuMDdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik00ODguMjQsNDM2Ljk3YzAsMi4zNC0uMjIsNC42Ny0uMzQsNy4wMXMtLjE2LDQuNjgtLjM5LDdjLTIuNjcsMjYuOS0xMy4wNCw1My4xNS0zMS4xMyw3NS4yMS0xLjQ2LDEuNzktMy4xMiwzLjQ2LTQuNzEsNS4yLTEuNTcsMS43My0zLjAyLDMuNTItNC42OSw1LjE5bDE0Ni4wMSwxNDUuOThjMS42Ni0xLjY2LDMuMjItMy4zNyw0Ljg0LTUuMDZzMy4yNy0zLjM1LDQuODQtNS4wNmMxMC44LTExLjcsMjAuNjgtMjMuOTQsMjkuNTgtMzYuNjYuMzctLjUxLjY5LTEuMDEsMS4wNS0xLjUsMS4wOS0xLjU2LDIuMTMtMy4xNCwzLjItNC43MS45My0xLjQxLDEuODYtMi44MSwyLjc2LTQuMjQuNDYtLjY4LjktMS4zOSwxLjMzLTIuMDcsMzMuNDktNTIuNTcsNTEuNDEtMTEyLjE3LDUzLjgyLTE3Mi4yOS4wOS0yLjMzLjE0LTQuNjcuMTgtNy4wMS4wNS0yLjMzLjEyLTQuNjUuMTItN2gtMjA2LjQ2WiIgc3R5bGU9ImZpbGw6ICNmNmY7Ii8+CiAgPHBhdGggZD0iTTc1Ni4wNCwyOC4zM2MtMzcuNzctMzcuNzctOTkuMDItMzcuNzctMTM2Ljc5LDAtMzAuMTQsMzAuMTItMzYuMTcsNzUuMTctMTguMjEsMTExLjMzbC0yMTAuNzIsMjEwLjdjLTM2LjE3LTE3Ljk0LTgxLjIyLTExLjkyLTExMS4zNiwxOC4yLTM3Ljc3LDM3Ljc3LTM3Ljc2LDk5LjAyLDAsMTM2Ljc5LDM3Ljc5LDM3Ljc3LDk5LjA0LDM3Ljc2LDEzNi44MiwwLDMwLjE0LTMwLjE0LDM2LjE1LTc1LjE4LDE4LjItMTExLjM1bDIxMC43Mi0yMTAuNjljMzYuMTgsMTcuOTQsODEuMjEsMTEuOTIsMTExLjM1LTE4LjIxLDM3Ljc3LTM3Ljc2LDM3Ljc3LTk5LDAtMTM2Ljc4aDBaIiBzdHlsZT0iZmlsbDogIzAwMDsiLz4KPC9zdmc+`:`PHN2ZyBpZD0icGIzM2Zfb3BlbmFwaSIgZGF0YS1uYW1lPSJwYjMzZl9vcGVuYXBpIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3ODQuMzcgNzg0LjI5Ij4KICA8cGF0aCBkPSJNMjA3LjI4LDQ1MC45N0guMzFjLjA0LDEuMDIuMDcsMi4wMy4xMiwzLjAzLjA4LDEuOTUuMjIsMy44OC4zNCw1LjgzLjA1Ljg0LjA5LDEuNjcuMTYsMi41LjE2LDIuMjUuMzUsNC41LjU2LDYuNzMuMDUuNTEuMDksMS4wMi4xNCwxLjUuMjQsMi41LjUxLDQuOTkuOCw3LjQ3LjAxLjI0LjA0LjQ4LjA4LjcyLjMzLDIuNjcuNjcsNS4zNSwxLjA2LDgsMCwuMDQsMCwuMDguMDEuMSwyLjM5LDE2LjU0LDUuOTYsMzIuODgsMTAuNyw0OC45LjAzLjA3LjA1LjEzLjA3LjIuNzUsMi41NCwxLjUzLDUuMDUsMi4zMyw3LjU0LjA1LjE0LjEuMy4xNC40NHMuMDkuMjkuMTQuNDRjLjczLDIuMjYsMS41LDQuNTEsMi4yOCw2Ljc3LjIuNTYuMzksMS4xNC42LDEuNzEuNjksMS45NSwxLjQsMy45LDIuMTMsNS44Ni4zNC44OC42NywxLjc1Ljk5LDIuNjQuNjQsMS42MiwxLjI2LDMuMjMsMS45LDQuODQuNDgsMS4yMi45OCwyLjQzLDEuNDksMy42My41MiwxLjI3LDEuMDUsMi41MSwxLjU4LDMuNzguNjUsMS41NCwxLjM1LDMuMDcsMi4wMyw0LjYyLjQxLjkyLjgyLDEuODIsMS4yMywyLjczLjg0LDEuODQsMS43LDMuNjksMi41OCw1LjUyLjI5LjU5LjU2LDEuMTguODUsMS43NSwxLjAyLDIuMTIsMi4wNSw0LjIsMy4xLDYuMjguMTguMzEuMzMuNjQuNS45NSwxLjE4LDIuMywyLjM4LDQuNTksMy42Miw2Ljg2LjA1LjEuMTIuMi4xNi4zMS4yNi40Ny41NS45My44MSwxLjRsMTc2Ljc2LTEwNi40Ny42NS0uMzljLTYuOTctMTQuNy0xMS4zMS0zMC4zMy0xMi45My00Ni4yMmgwWiIgc3R5bGU9ImZpbGw6ICMzNTllZDM7Ii8+CiAgPHBhdGggZD0iTTI1OC4xNSw1NDUuOTlsLS41LjUtMTQ1Ljc5LDE0NS43N2MuNzUuNjksMS40OSwxLjQxLDIuMjYsMi4wOCwxLjM2LDEuMjQsMi43NSwyLjQ2LDQuMTIsMy42Ny43Mi42MywxLjQxLDEuMjYsMi4xMywxLjg4LDEuNjUsMS40MywzLjMyLDIuODEsNC45OCw0LjIxLjQ2LjM4Ljg5Ljc1LDEuMzUsMS4xMiwyLjEyLDEuNzQsNC4yNiwzLjQ2LDYuNDIsNS4xNSwyLjA3LDEuNjMsNC4xNCwzLjIyLDYuMjYsNC44MS4wOS4wNS4xNi4xLjI0LjE3LDguOCw2LjU3LDE3LjksMTIuNzIsMjcuMjcsMTguNDQuMzEuMjEuNjQuMzkuOTcuNiwxLjc5LDEuMDYsMy41NywyLjEyLDUuMzcsMy4xNmwzLjI5LDEuODhjMS4wNS42LDIuMDgsMS4xOCwzLjEyLDEuNzUsMS45LDEuMDMsMy43OSwyLjA3LDUuNywzLjA3LjI2LjE0LjUyLjI5LjguNDIsNS4zLDIuNzcsMTAuNjgsNS4zNSwxNi4xMiw3LjgzbDUuMTgtMTIuNTcsNzMuMzMtMTc4LjA0LjI2LS42NWMtOC00LjI5LTE1LjY4LTkuMzYtMjIuODktMTUuMjdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik0yNDIuOTcsNTMxLjQ2Yy0xLjU3LTEuNzQtMy4wOC0zLjUzLTQuNTUtNS4zNi0xLjMxLTEuNjEtMi41Ni0zLjIzLTMuNzgtNC44OC0xLjQtMS44OC0yLjc2LTMuNzktNC4wNS01LjczLTEuMjktMS45NS0yLjU4LTMuOTEtMy43OC01LjlsLTE3Ni45OCwxMDYuNmMyLjcyLDQuNTIsNS41NCw4LjkyLDguNDUsMTMuMjYuMDkuMTYuMTguMzEuMjkuNDYuMDMuMDcuMDcuMS4xLjE3LjA5LjEzLjE4LjI5LjI3LjQzLjAxLjAxLjAzLjAzLjAzLjA1LjI0LjM0LjQ3LjY4LjcxLDEuMDMuMDEuMDEuMDMuMDQuMDUuMDdzLjAxLjAxLjAxLjAzYzMuMDcsNC41NCw2LjI0LDkuMDEsOS40OSwxMy4zOC4wNy4wOS4xNC4xOC4yMS4yNy4wOC4wOS4xNC4xOC4yMS4yNywxLjQzLDEuODcsMi44NCwzLjc0LDQuMyw1LjYuMi4yNS4zOC40OC41OS43MiwxLjQ5LDEuOTIsMy4wMiwzLjgyLDQuNTgsNS42OS4zNy40NC43NS44OSwxLjExLDEuMzUsMS40LDEuNjcsMi44LDMuMzMsNC4yMiw0Ljk4LjYxLjcxLDEuMjQsMS40MywxLjg3LDIuMTIsMS4yMiwxLjM5LDIuNDIsMi43NywzLjY2LDQuMTMuNjguNzUsMS4zOSwxLjUsMi4wOCwyLjI1LjMxLjM1LjYzLjY4Ljk1LDEuMDMuOS45OCwxLjgsMS45NiwyLjcyLDIuOTMuMzcuMzguNzYuNzYsMS4xMiwxLjE1LDEuNjEsMS42NywzLjI0LDMuMzYsNC44OSw1LjAxbDE0Ni4wMS0xNDUuOThjLTEuNjctMS42Ny0zLjI0LTMuNC00Ljc5LTUuMTNoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik00MzYuNSw1NDUuOTFjLTEuNjEsMS4yOS0zLjIzLDIuNTYtNC44OCwzLjc4bC4zNS42MSwxMDYuNDYsMTc2LjY4YzQuOTMtMy4yMiw5LjgxLTYuNTQsMTQuNTctMTAuMDMsMTAuMy03LjYsMjAuMjctMTUuODMsMjkuODgtMjQuN2wtMTQ1LjgtMTQ1Ljc3LS41OC0uNThaIiBzdHlsZT0iZmlsbDogIzYyYzRmZjsiLz4KICA8cGF0aCBkPSJNNTIyLjk2LDcyOC40NGwtMy42MS02LTk5LjM3LTE2NC45MmMtMi4wMSwxLjItNC4wNywyLjMtNi4xMiwzLjQtMi4wOCwxLjEyLTQuMTYsMi4xNi02LjI4LDMuMTYtMTkuMDksOS4wNS0zOS43NSwxMy42OC02MC40NSwxMy42OC0xMy41NiwwLTI3LjEtMS45Ni00MC4yMS01Ljg3LTIuMjQtLjY3LTQuNDItMS41NC02LjYyLTIuMzMtMi4yMS0uNzctNC40NS0xLjQ1LTYuNjItMi4zNGwtNzMuMjcsMTc3LjkzLTIuODYsNi45Ny0yLjQ2LDUuOTh2LjAzYy4xNy4wOC4zNy4xNC41NS4yMi4yMS4wOC40MS4xNC42LjI0aC4wM2MuMDUuMDMuMS4wNC4xNC4wNSwxLjczLjcyLDMuNDYsMS4zMiw1LjIsMiwyLjE4Ljg1LDQuMzUsMS43MSw2LjU0LDIuNTEsMS4xMi40MSwyLjIyLjg4LDMuMzMsMS4yN2guMDFjMjIuOTYsOC4xLDQ2LjcxLDEzLjc5LDcwLjg1LDE2Ljk2Ljk1LjEyLDEuODguMjUsMi44NC4zOC45OC4xMiwxLjk3LjIxLDIuOTcuMzMsMS44Ni4yMSwzLjcxLjQyLDUuNTguNmwxLjM5LjEyYzIuMjkuMjIsNC41OC40Miw2Ljg1LjU4Ljc4LjA3LDEuNTcuMDksMi4zNC4xNiwyLC4xMyw0LC4yNSw2LC4zNCwxLjIzLjA4LDIuNDYuMSwzLjY5LjE2LDEuNi4wNSwzLjE4LjEyLDQuNzcuMTcsMi4yOS4wNSw0LjYuMDcsNi45LjA4LjU1LDAsMS4wOS4wMSwxLjYzLjAzLDE5LjI5LDAsMzguNTctMS42MSw1Ny42NS00LjgxLjMxLS4wNS42NC0uMS45Ny0uMTQsMi4wMS0uMzUsNC4wMy0uNzMsNi4wNC0xLjEsMS4xNS0uMjIsMi4zMS0uNDQsMy40NC0uNjcsMS4xOC0uMjUsMi4zNy0uNDgsMy41NC0uNzUsMS45Ni0uNDEsMy45Mi0uODQsNS45LTEuMjkuMzUtLjA4LjcxLS4xNCwxLjA2LS4yNSwyOS02Ljc1LDU3LjAxLTE3LjIxLDgzLjMxLTMxLjA1aDBjMS43My0uOTIsMy40MS0xLjk1LDUuMTMtMi44OSwyLjA0LTEuMTEsNC4wNy0yLjI4LDYuMTEtMy40NCwxLjQtLjgsMi44Mi0xLjU0LDQuMjItMi4zOC4wMS0uMDEuMDMtLjAzLjA0LS4wM2guMDFzLjA0LS4wMy4wNy0uMDRsLjAzLS4wMy0uMjYtLjQzLjI2LjQzcy4wMy0uMDEuMDQtLjAxYy4wMy0uMDEuMDQtLjAzLjA3LS4wNC4wOC0uMDUuMTYtLjA5LjI0LS4xNC40NC0uMjcuOS0uNTQsMS4zNi0uODFsLTMuNTgtNS45OVpNMjU4LjIzLDMyOC4wNWMxLjYxLTEuMzEsMy4yNC0yLjU2LDQuODgtMy43OWwtLjM1LS42LTEwNi40Ni0xNzYuN2MtNC45NCwzLjIzLTkuODIsNi41Ni0xNC41OSwxMC4wNS0xMC4yOSw3LjU4LTIwLjI3LDE1LjgxLTI5Ljg1LDI0LjY2bDE0NS44LDE0NS43OS41OC41OVoiIHN0eWxlPSJmaWxsOiAjMzU5ZWQzOyIvPgogIDxwYXRoIGQ9Ik0xMDEuNzUsMTkxLjM5Yy0xLjY2LDEuNjYtMy4yMywzLjM3LTQuODUsNS4wNS0xLjYxLDEuNjktMy4yNiwzLjM2LTQuODQsNS4wNi0xMC42NCwxMS41MS0yMC41LDIzLjcyLTI5LjUsMzYuNTYtLjQzLjU5LS44NSwxLjIyLTEuMjgsMS44Mi0uOTksMS40Ni0xLjk5LDIuOTItMi45NSw0LjM4LTEuMDIsMS41Mi0yLjAzLDMuMDYtMy4wMSw0LjU5LS4zNy41Ni0uNzMsMS4xNC0xLjA5LDEuN0MyMC43LDMwMy4xNCwyLjczLDM2Mi44LjMxLDQyMi45NmMtLjA5LDIuMzQtLjE0LDQuNjgtLjIsNy4wMS0uMDQsMi4zMy0uMTIsNC42Ny0uMTIsN2gyMDYuNDljMC0yLjMzLjIxLTQuNjUuMzQtNywuMTItMi4zNC4xNC00LjY4LjM4LTcuMDEsMi42Ny0yNi44OCwxMy4wNS01My4xNCwzMS4xNC03NS4xOCwxLjQ2LTEuNzksMy4xMi0zLjQ4LDQuNzEtNS4yLDEuNTYtMS43NCwzLjAyLTMuNTMsNC42OS01LjJMMTAxLjc1LDE5MS4zOVpNNTI3LjgsMTQwLjE0Yy0uMjctLjE3LS41OC0uMzQtLjg1LS41MS0xLjgyLTEuMTEtMy42NS0yLjE4LTUuNDktMy4yNi0xLjA2LS42MS0yLjEzLTEuMjItMy4xOS0xLjgyLTEuMDktLjYtMi4xNC0xLjItMy4yMy0xLjc5LTEuODctMS4wMi0zLjc0LTIuMDMtNS42MS0zLjAzLS4zLS4xNC0uNTktLjMtLjg5LS40Ni0xMi4xMS02LjMzLTI0LjU0LTExLjktMzcuMjQtMTYuNzQtLjMzLS4xMy0uNjUtLjI2LS45OC0uMzgtMi43Ny0xLjAzLTUuNTQtMi4wNy04LjM0LTMuMDMtMjIuNTYtNy44Ny00NS44OC0xMy40LTY5LjU3LTE2LjUxbC0yLjktLjM5Yy0uOTgtLjEyLTEuOTUtLjIxLTIuOTItLjMxLTEuODctLjIyLTMuNzMtLjQzLTUuNjEtLjYxLS41MS0uMDUtMS4wMy0uMDgtMS41Ny0uMTQtMi4yMS0uMi00LjQ1LS4zOS02LjY3LS41NmwtMi42LS4xNmMtMS45LS4xMi0zLjgzLS4yNi01LjczLS4zNC0xLjAyLS4wNS0yLjA0LS4wOS0zLjA1LS4xMnYyMDYuOTdjMTAuNjIsMS4xLDIxLjE0LDMuMzYsMzEuMzUsNi44M2wxNTIuMzQtMTUyLjMxYy01LjY2LTMuOTItMTEuMzgtNy43NC0xNy4yNi0xMS4zMWgwWiIgc3R5bGU9ImZpbGw6ICM2MmM0ZmY7Ii8+CiAgPHBhdGggZD0iTTM0MC4zNyw4OS44Yy0yLjM0LjA1LTQuNjguMDUtNy4wMS4xNC0xNC42LjU5LTI5LjE4LDIuMDgtNDMuNjQsNC41MS0uMzEuMDUtLjYzLjEtLjk1LjE2LTIuMDMuMzUtNC4wNC43Mi02LjA1LDEuMS0xLjE0LjIyLTIuMjkuNDMtMy40NC42NS0xLjE5LjI0LTIuMzcuNDgtMy41Ni43NS0xLjk2LjQxLTMuOTIuODQtNS44NywxLjI5LS4zNy4wNy0uNzIuMTYtMS4wNy4yNC0yOC45OCw2Ljc3LTU2Ljk5LDE3LjIxLTgzLjMzLDMxLjA3LTEuNzEuOTItMy4zOSwxLjk1LTUuMSwyLjg4LTIuMDQsMS4xMi00LjA4LDIuMjgtNi4xMSwzLjQ0LTEuNS44OC0zLjAzLDEuNjctNC41NCwyLjU2LS4wMS4wMS0uMDQuMDMtLjA1LjAzLS4xLjA3LS4yMS4xMy0uMzEuMTgtLjM5LjI1LS44LjQ0LTEuMTkuNjh2LjAzczMuNjMsNiwzLjYzLDZsMTAyLjk3LDE3MC45M2MyLjAxLTEuMiw0LjA3LTIuMzEsNi4xMi0zLjQxLDIuMDctMS4xMSw0LjE2LTIuMTYsNi4yNi0zLjE1LDE0LjU1LTYuOTUsMzAuMTktMTEuMzMsNDYuMjMtMTIuOTYsMi4zMy0uMjQsNC42NS0uNDMsNy0uNTUsMi4zMy0uMTIsNC42Ny0uMjQsNy4wMS0uMjRWODkuNjVjLTIuMzQsMC00LjY3LjEtNywuMTRoMFoiIHN0eWxlPSJmaWxsOiAjZjZmOyIvPgogIDxwYXRoIGQ9Ik02OTQuMyw0MTkuOWMtLjEtMS44Ni0uMjEtMy43LS4zNC01LjU3LS4wNS0uOTItLjExLTEuODUtLjE4LTIuNzctLjE0LTIuMTgtLjMzLTQuMzctLjU0LTYuNTUtLjA0LS41Ni0uMDktMS4xMi0uMTQtMS42OS0uMjQtMi40NS0uNS00Ljg4LS43OC03LjMxLS4wMy0uMi0uMDQtLjM5LS4wNy0uNTlsLS4wNC0uMjdjLS4zMS0yLjYzLS42Ny01LjI2LTEuMDMtNy44N2wtLjA0LS4yNWMtMi4zOC0xNi41LTUuOTUtMzIuODItMTAuNjctNDguODEtLjA0LS4xMi0uMDctLjIxLS4xLS4zMS0uNzUtMi41LTEuNTItNC45Ny0yLjI5LTcuNDQtLjEyLS4zMy0uMjItLjY1LS4zMy0uOTgtLjczLTIuMjQtMS40OC00LjQ2LTIuMjUtNi42OGwtLjYzLTEuOGMtLjY4LTEuOTItMS4zOS0zLjg0LTIuMDktNS43Ny0uMzUtLjkyLS42OS0xLjgzLTEuMDYtMi43My0uNi0xLjYtMS4yMi0zLjE4LTEuODYtNC43NS0uNS0xLjI3LTEuMDEtMi41MS0xLjUyLTMuNzQtLjUxLTEuMjQtMS4wMy0yLjQ2LTEuNTQtMy42OS0uNjgtMS41Ny0xLjM3LTMuMTQtMi4wNy00LjY5LS4zOS0uODgtLjc4LTEuNzctMS4xOS0yLjY1LS44NS0xLjg2LTEuNzMtMy43My0yLjYtNS41OC0uMjctLjU1LS41NS0xLjEyLS44Mi0xLjY5LTEuMDItMi4xMi0yLjA3LTQuMjUtMy4xNC02LjM0LS4xNC0uMjktLjMtLjU5LS40NC0uODgtMS4xOS0yLjMxLTIuNDItNC42NC0zLjY1LTYuOTMtLjA1LS4wOC0uMDktLjE3LS4xNC0uMjUtNi0xMS4wMy0xMi42LTIxLjc0LTE5Ljc2LTMyLjA2bC0xNTIuMzgsMTUyLjM4YzMuNDYsMTAuMjEsNS43MSwyMC43NCw2LjgxLDMxLjM0aDIwN2MtLjA1LTEuMDMtLjA4LTIuMDctLjEzLTMuMDdoMFoiIHN0eWxlPSJmaWxsOiAjNjJjNGZmOyIvPgogIDxwYXRoIGQ9Ik00ODguMjQsNDM2Ljk3YzAsMi4zNC0uMjIsNC42Ny0uMzQsNy4wMXMtLjE2LDQuNjgtLjM5LDdjLTIuNjcsMjYuOS0xMy4wNCw1My4xNS0zMS4xMyw3NS4yMS0xLjQ2LDEuNzktMy4xMiwzLjQ2LTQuNzEsNS4yLTEuNTcsMS43My0zLjAyLDMuNTItNC42OSw1LjE5bDE0Ni4wMSwxNDUuOThjMS42Ni0xLjY2LDMuMjItMy4zNyw0Ljg0LTUuMDZzMy4yNy0zLjM1LDQuODQtNS4wNmMxMC44LTExLjcsMjAuNjgtMjMuOTQsMjkuNTgtMzYuNjYuMzctLjUxLjY5LTEuMDEsMS4wNS0xLjUsMS4wOS0xLjU2LDIuMTMtMy4xNCwzLjItNC43MS45My0xLjQxLDEuODYtMi44MSwyLjc2LTQuMjQuNDYtLjY4LjktMS4zOSwxLjMzLTIuMDcsMzMuNDktNTIuNTcsNTEuNDEtMTEyLjE3LDUzLjgyLTE3Mi4yOS4wOS0yLjMzLjE0LTQuNjcuMTgtNy4wMS4wNS0yLjMzLjEyLTQuNjUuMTItN2gtMjA2LjQ2WiIgc3R5bGU9ImZpbGw6ICNmNmY7Ii8+CiAgPHBhdGggZD0iTTc1Ni4wNCwyOC4zM2MtMzcuNzctMzcuNzctOTkuMDItMzcuNzctMTM2Ljc5LDAtMzAuMTQsMzAuMTItMzYuMTcsNzUuMTctMTguMjEsMTExLjMzbC0yMTAuNzIsMjEwLjdjLTM2LjE3LTE3Ljk0LTgxLjIyLTExLjkyLTExMS4zNiwxOC4yLTM3Ljc3LDM3Ljc3LTM3Ljc2LDk5LjAyLDAsMTM2Ljc5LDM3Ljc5LDM3Ljc3LDk5LjA0LDM3Ljc2LDEzNi44MiwwLDMwLjE0LTMwLjE0LDM2LjE1LTc1LjE4LDE4LjItMTExLjM1bDIxMC43Mi0yMTAuNjljMzYuMTgsMTcuOTQsODEuMjEsMTEuOTIsMTExLjM1LTE4LjIxLDM3Ljc3LTM3Ljc2LDM3Ljc3LTk5LDAtMTM2Ljc4aDBaIiBzdHlsZT0iZmlsbDogI2ZmZjsiLz4KPC9zdmc+`}goIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJubyI/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIuMDAwMDAxIj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC0xMDIwLjM2MjIpIj4KICAgIDxlbGxpcHNlIGN4PSItOTA3LjM1NjU3IiBjeT0iNDc5LjkwMDA5IiBmaWxsPSIjMzg0ZTU0IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHJ4PSIzLjU3OTM5OTYiIHJ5PSIzLjgyMDc5NTMiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiIHRyYW5zZm9ybT0ic2NhbGUoLTEgMSkgcm90YXRlKC02MC41NDgpIi8+CiAgICA8ZWxsaXBzZSBjeD0iLTg5MS41NzY1NCIgY3k9IjUwNy44NDYxIiBmaWxsPSIjMzg0ZTU0IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHJ4PSIzLjU3OTM5OTYiIHJ5PSIzLjgyMDc5NTMiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiIHRyYW5zZm9ybT0icm90YXRlKC02MC41NDgpIi8+CiAgICA8cGF0aCBmaWxsPSIjMzg0ZTU0IiBkPSJNMTYuMDkxNjkzIDEwMjEuMzY0MmMtMS4xMDU3NDkuMDEtMi4yMTAzNDEuMDQ5LTMuMzE2MDkuMDlDNi44NDIyNTU4IDEwMjEuNjczOCAyIDEwMjYuMzk0MiAyIDEwMzIuMzYyMnYyMGgyOHYtMjBjMC01Ljk2ODMtNC42NjczNDUtMTAuNDkxMi0xMC41OTAyMy0xMC45MDgtMS4xMDU3NS0uMDc4LTIuMjEyMzI4LS4wOTktMy4zMTgwNzctLjA5eiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjNzZlMWZlIiBkPSJNNC42MDc4ODY3IDEwMjUuMDQ2MmMuNDU5NTY0LjI1OTUgMS44MTgyNjIgMS4yMDEzIDEuOTgwOTgzIDEuNjQ4LjE4MzQwMS41MDM1LjE1OTM4NSAxLjA2NTctLjExNDYxNCAxLjU1MS0uMzQ2NjI3LjYxMzgtMS4wMDUzNDEuOTQ4Ny0xLjY5NjQyMS45MzY1LS4zMzk4ODYtLjAxLTEuNzIwMjgzLS42MzcyLTIuMDQyNTYxLS44MTkyLS45Nzc1NC0uNTUxOS0xLjM1MDc5NS0xLjc0MTgtLjgzMzY4Ni0yLjY1NzYuNTE3MTA5LS45MTU4IDEuNzI4NzQ5LTEuMjEwNyAyLjcwNjI5OS0uNjU4N3oiIGNvbG9yPSIjMDAwIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9Imlzb2xhdGlvbjphdXRvO21peC1ibGVuZC1tb2RlOm5vcm1hbDtzb2xpZC1jb2xvcjojMDAwO3NvbGlkLW9wYWNpdHk6MSIvPgogICAgPHJlY3Qgd2lkdGg9IjMuMDg2NjY1OSIgaGVpZ2h0PSIzLjUzMTM2NjMiIHg9IjE0LjQwNjIxMyIgeT0iMTAzNS42ODQyIiBmaWxsLW9wYWNpdHk9Ii4zMjg1MDI0NiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiByeT0iLjYyNDI2MzI5IiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjNzZlMWZlIiBkPSJNMTYgMTAyMy4zNjIyYy05IDAtMTIgMy43MTUzLTEyIDl2MjBoMjRjLS4wNDg4OS03LjM1NjIgMC0xOCAwLTIwIDAtNS4yODQ4LTMtOS0xMi05eiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjNzZlMWZlIiBkPSJNMjcuMDc0MDczIDEwMjUuMDQ2MmMtLjQ1OTU3LjI1OTUtMS44MTgyNTcgMS4yMDEzLTEuOTgwOTc5IDEuNjQ4LS4xODM0MDEuNTAzNS0uMTU5Mzg0IDEuMDY1Ny4xMTQ2MTQgMS41NTEuMzQ2NjI3LjYxMzggMS4wMDUzMzUuOTQ4NyAxLjY5NjQxNS45MzY1LjMzOTg4LS4wMSAxLjcyMDI5LS42MzcyIDIuMDQyNTYtLjgxOTIuOTc3NTQtLjU1MTkgMS4zNTA3OS0xLjc0MTguODMzNjktMi42NTc2LS41MTcxMS0uOTE1OC0xLjcyODc2LTEuMjEwNy0yLjcwNjMtLjY1ODd6IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxjaXJjbGUgY3g9IjIxLjE3NTczNCIgY3k9IjEwMzAuMzU0MiIgcj0iNC42NTM3NTQyIiBmaWxsPSIjZmZmIiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxjaXJjbGUgY3g9IjEwLjMzOTQ4NiIgY3k9IjEwMzAuMzU0MiIgcj0iNC44MzE2MzQ1IiBmaWxsPSIjZmZmIiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxyZWN0IHdpZHRoPSIzLjY2NzM2ODciIGhlaWdodD0iNC4xMDYzNDA5IiB4PSIxNC4xMTU4NjMiIHk9IjEwMzUuOTE3NCIgZmlsbC1vcGFjaXR5PSIuMzI5NDExNzYiIGNvbG9yPSIjMDAwIiBvdmVyZmxvdz0idmlzaWJsZSIgcnk9Ii43MjU5MDUzNiIgc3R5bGU9Imlzb2xhdGlvbjphdXRvO21peC1ibGVuZC1tb2RlOm5vcm1hbDtzb2xpZC1jb2xvcjojMDAwO3NvbGlkLW9wYWNpdHk6MSIvPgogICAgPHJlY3Qgd2lkdGg9IjMuNjY3MzY4NyIgaGVpZ2h0PSI0LjEwNjM0MDkiIHg9IjE0LjExNTg2MyIgeT0iMTAzNS4yMjUzIiBmaWxsPSIjZmZmY2ZiIiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHJ5PSIuNzI1OTA1MzYiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxwYXRoIGZpbGwtb3BhY2l0eT0iLjMyOTQxMTc2IiBkPSJNMTkuOTk5NzM1IDEwMzYuNTI4OWMwIC44MzgtLjg3MTIyOCAxLjI2ODItMi4xNDQ3NjYgMS4xNjU5LS4wMjM2NiAwLS4wNDc5NS0uNjAwNC0uMjU0MTQ3LS41ODMyLS41MDM2NjkuMDQyLTEuMDk1OTAyLS4wMi0xLjY4NTk2NC0uMDItLjYxMjkzOSAwLTEuMjA2MzQyLjE4MjYtMS42ODU0OS4wMTctLjExMDIzMy0uMDM4LS4xNzgyOTguNTgzOC0uMjYxNTMyLjU4MTYtMS4yNDM2ODUtLjAzMy0yLjA3ODgwMy0uMzM4My0yLjA3ODgwMy0xLjE2MTggMC0xLjIxMTggMS44MTU2MzUtMi4xOTQxIDQuMDU1MzUxLTIuMTk0MSAyLjIzOTcwNCAwIDQuMDU1MzUxLjk4MjMgNC4wNTUzNTEgMi4xOTQxeiIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSIjYzM4Yzc0IiBkPSJNMTkuOTc3NDE0IDEwMzUuNzAwNGMwIC41Njg1LS40MzM2NTkuODU1NC0xLjEzODA5MSAxLjAwMDEtLjI5MTkzMy4wNi0uNjMwMzcxLjA5Ni0xLjAwMzcxOS4xMTY2LS41NjQwNS4wMzItMS4yMDc3ODIuMDMxLTEuODkxMjIuMDMxLS42NzI4MzQgMC0xLjMwNzE4MiAwLTEuODY0OTA0LS4wMjktLjMwNjI2OC0uMDE3LS41ODk0MjktLjA0My0uODQzMTY0LS4wODQtLjgxMzgzMy0uMTMxOC0xLjMyNDk2Mi0uNDE3LTEuMzI0OTYyLTEuMDM0NCAwLTEuMTYwMSAxLjgwNTY0Mi0yLjEwMDYgNC4wMzMwMy0yLjEwMDYgMi4yMjczNzcgMCA0LjAzMzAzLjk0MDUgNC4wMzMwMyAyLjEwMDZ6IiBjb2xvcj0iIzAwMCIgb3ZlcmZsb3c9InZpc2libGUiIHN0eWxlPSJpc29sYXRpb246YXV0bzttaXgtYmxlbmQtbW9kZTpub3JtYWw7c29saWQtY29sb3I6IzAwMDtzb2xpZC1vcGFjaXR5OjEiLz4KICAgIDxlbGxpcHNlIGN4PSIxNS45NDQzODIiIGN5PSIxMDMzLjg1MDEiIGZpbGw9IiMyMzIwMWYiIGNvbG9yPSIjMDAwIiBvdmVyZmxvdz0idmlzaWJsZSIgcng9IjIuMDgwMTczMyIgcnk9IjEuMzQzNzQ3IiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8Y2lyY2xlIGN4PSIxMi40MTQyMDEiIGN5PSIxMDMwLjM1NDIiIHI9IjEuOTYzMDYzNCIgZmlsbD0iIzE3MTMxMSIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8Y2lyY2xlIGN4PSIyMy4xMTAxMjEiIGN5PSIxMDMwLjM1NDIiIHI9IjEuOTYzMDYzNCIgZmlsbD0iIzE3MTMxMSIgY29sb3I9IiMwMDAiIG92ZXJmbG93PSJ2aXNpYmxlIiBzdHlsZT0iaXNvbGF0aW9uOmF1dG87bWl4LWJsZW5kLW1vZGU6bm9ybWFsO3NvbGlkLWNvbG9yOiMwMDA7c29saWQtb3BhY2l0eToxIi8+CiAgICA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMzODRlNTQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIuMzk3MzA4NzQiIGQ9Ik01LjAwNTUzNzcgMTAyNy4yNzI3Yy0xLjE3MDQzNS0xLjA4MzUtMi4wMjY5NzMtLjc3MjEtMi4wNDQxNzItLjc0NjMiLz4KICAgIDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzM4NGU1NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9Ii4zOTczMDg3NCIgZD0iTTQuMzg1MjQ1NyAxMDI2LjkxNTJjLTEuMTU4NTU3LjAzNi0xLjM0NjcwNC42MzAzLTEuMzM4ODEuNjUyM20yMy41ODQwOTczLS4zOTUxYzEuMTcwNDMtMS4wODM1IDIuMDI2OTctLjc3MjEgMi4wNDQxNy0uNzQ2MyIvPgogICAgPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzg0ZTU0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS13aWR0aD0iLjM5NzMwODc0IiBkPSJNMjcuMzIxNzczIDEwMjYuNjczYzEuMTU4NTYuMDM2IDEuMzQ2Ny42MzAyIDEuMzM4OC42NTIyIi8+CiAgPC9nPgo8L3N2Zz4=`}typescriptIcon(){return`CjxzdmcgZmlsbD0ibm9uZSIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB3aWR0aD0iNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IGZpbGw9IiMzMTc4YzYiIGhlaWdodD0iNTEyIiByeD0iNTAiIHdpZHRoPSI1MTIiLz48cmVjdCBmaWxsPSIjMzE3OGM2IiBoZWlnaHQ9IjUxMiIgcng9IjUwIiB3aWR0aD0iNTEyIi8+PHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMzE2LjkzOSA0MDcuNDI0djUwLjA2MWM4LjEzOCA0LjE3MiAxNy43NjMgNy4zIDI4Ljg3NSA5LjM4NnMyMi44MjMgMy4xMjkgMzUuMTM1IDMuMTI5YzExLjk5OSAwIDIzLjM5Ny0xLjE0NyAzNC4xOTYtMy40NDIgMTAuNzk5LTIuMjk0IDIwLjI2OC02LjA3NSAyOC40MDYtMTEuMzQyIDguMTM4LTUuMjY2IDE0LjU4MS0xMi4xNSAxOS4zMjgtMjAuNjVzNy4xMjEtMTkuMDA3IDcuMTIxLTMxLjUyMmMwLTkuMDc0LTEuMzU2LTE3LjAyNi00LjA2OS0yMy44NTdzLTYuNjI1LTEyLjkwNi0xMS43MzgtMTguMjI1Yy01LjExMi01LjMxOS0xMS4yNDItMTAuMDkxLTE4LjM4OS0xNC4zMTVzLTE1LjIwNy04LjIxMy0yNC4xOC0xMS45NjdjLTYuNTczLTIuNzEyLTEyLjQ2OC01LjM0NS0xNy42ODUtNy45LTUuMjE3LTIuNTU2LTkuNjUxLTUuMTYzLTEzLjMwMy03LjgyMi0zLjY1Mi0yLjY2LTYuNDY5LTUuNDc2LTguNDUxLTguNDQ4LTEuOTgyLTIuOTczLTIuOTc0LTYuMzM2LTIuOTc0LTEwLjA5MSAwLTMuNDQxLjg4Ny02LjU0NCAyLjY2MS05LjMwOHM0LjI3OC01LjEzNiA3LjUxMi03LjExOGMzLjIzNS0xLjk4MSA3LjE5OS0zLjUyIDExLjg5NC00LjYxNSA0LjY5Ni0xLjA5NSA5LjkxMi0xLjY0MiAxNS42NTEtMS42NDIgNC4xNzMgMCA4LjU4MS4zMTMgMTMuMjI0LjkzOCA0LjY0My42MjYgOS4zMTIgMS41OTEgMTQuMDA4IDIuODk0IDQuNjk1IDEuMzA0IDkuMjU5IDIuOTQ3IDEzLjY5NCA0LjkyOCA0LjQzNCAxLjk4MiA4LjUyOSA0LjI3NiAxMi4yODUgNi44ODR2LTQ2Ljc3NmMtNy42MTYtMi45Mi0xNS45MzctNS4wODQtMjQuOTYyLTYuNDkycy0xOS4zODEtMi4xMTItMzEuMDY2LTIuMTEyYy0xMS44OTUgMC0yMy4xNjMgMS4yNzgtMzMuODA1IDMuODMzcy0yMC4wMDYgNi41NDQtMjguMDkzIDExLjk2N2MtOC4wODYgNS40MjQtMTQuNDc2IDEyLjMzMy0xOS4xNzEgMjAuNzI5LTQuNjk1IDguMzk1LTcuMDQzIDE4LjQzMy03LjA0MyAzMC4xMTQgMCAxNC45MTQgNC4zMDQgMjcuNjM4IDEyLjkxMiAzOC4xNzIgOC42MDcgMTAuNTMzIDIxLjY3NSAxOS40NSAzOS4yMDQgMjYuNzUxIDYuODg2IDIuODE2IDEzLjMwMyA1LjU3OSAxOS4yNSA4LjI5MXMxMS4wODYgNS41MjggMTUuNDE1IDguNDQ4YzQuMzMgMi45MiA3Ljc0NyA2LjEwMSAxMC4yNTIgOS41NDMgMi41MDQgMy40NDEgMy43NTYgNy4zNTIgMy43NTYgMTEuNzMzIDAgMy4yMzMtLjc4MyA2LjIzMS0yLjM0OCA4Ljk5NXMtMy45MzkgNS4xNjItNy4xMjEgNy4xOTYtNy4xNDcgMy42MjQtMTEuODk0IDQuNzcxYy00Ljc0OCAxLjE0OC0xMC4zMDMgMS43MjEtMTYuNjY4IDEuNzIxLTEwLjg1MSAwLTIxLjU5Ny0xLjkwMy0zMi4yNC01LjcxLTEwLjY0Mi0zLjgwNi0yMC41MDItOS41MTYtMjkuNTc5LTE3LjEzem0tODQuMTU5LTEyMy4zNDJoNjQuMjJ2LTQxLjA4MmgtMTc5djQxLjA4Mmg2My45MDZ2MTgyLjkxOGg1MC44NzR6IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=`}csIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJubyI/Pgo8c3ZnCiAgIHdpZHRoPSIyMDQuOCIKICAgaGVpZ2h0PSIyMDQuOCIKICAgdmlld0JveD0iMCAwIDU0LjE4NjY2NiA1NC4xODY2NjciCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEyIj4KICAgIDxsaW5lYXJHcmFkaWVudAogICAgICAgaWQ9ImEiCiAgICAgICB4MT0iNDYuNzczIgogICAgICAgeDI9IjY5LjkwNyIKICAgICAgIHkxPSI4Ni40NjIiCiAgICAgICB5Mj0iMTI2LjczMiIKICAgICAgIGdyYWRpZW50VHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzMy45ODMgLTUxOC45NzQpIHNjYWxlKDguNzg5OTYpIgogICAgICAgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8c3RvcAogICAgICAgICBzdG9wLWNvbG9yPSIjOTI3QkU1IgogICAgICAgICBpZD0ic3RvcDEiIC8+CiAgICAgIDxzdG9wCiAgICAgICAgIG9mZnNldD0iMSIKICAgICAgICAgc3RvcC1jb2xvcj0iIzUxMkJENCIKICAgICAgICAgaWQ9InN0b3AyIiAvPgogICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDxmaWx0ZXIKICAgICAgIGlkPSJiIgogICAgICAgd2lkdGg9IjQyLjg0NSIKICAgICAgIGhlaWdodD0iMzkuMTM2IgogICAgICAgeD0iNDQuNjI5IgogICAgICAgeT0iOTEuODkiCiAgICAgICBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiCiAgICAgICBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8ZmVGbG9vZAogICAgICAgICBmbG9vZC1vcGFjaXR5PSIwIgogICAgICAgICByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIKICAgICAgICAgaWQ9ImZlRmxvb2QyIiAvPgogICAgICA8ZmVDb2xvck1hdHJpeAogICAgICAgICBpbj0iU291cmNlQWxwaGEiCiAgICAgICAgIHJlc3VsdD0iaGFyZEFscGhhIgogICAgICAgICB0eXBlPSJtYXRyaXgiCiAgICAgICAgIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4MiIgLz4KICAgICAgPGZlT2Zmc2V0CiAgICAgICAgIGlkPSJmZU9mZnNldDIiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjEgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXgzIiAvPgogICAgICA8ZmVCbGVuZAogICAgICAgICBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIKICAgICAgICAgbW9kZT0ibm9ybWFsIgogICAgICAgICByZXN1bHQ9ImVmZmVjdDFfZHJvcFNoYWRvd18yMDM3XzI4MDAiCiAgICAgICAgIGlkPSJmZUJsZW5kMyIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXgKICAgICAgICAgaW49IlNvdXJjZUFscGhhIgogICAgICAgICByZXN1bHQ9ImhhcmRBbHBoYSIKICAgICAgICAgdHlwZT0ibWF0cml4IgogICAgICAgICB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDEyNyAwIgogICAgICAgICBpZD0iZmVDb2xvck1hdHJpeDQiIC8+CiAgICAgIDxmZU9mZnNldAogICAgICAgICBkeT0iMSIKICAgICAgICAgaWQ9ImZlT2Zmc2V0NCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyCiAgICAgICAgIHN0ZERldmlhdGlvbj0iMi40OTkiCiAgICAgICAgIGlkPSJmZUdhdXNzaWFuQmx1cjQiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjEgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXg1IiAvPgogICAgICA8ZmVCbGVuZAogICAgICAgICBpbjI9ImVmZmVjdDFfZHJvcFNoYWRvd18yMDM3XzI4MDAiCiAgICAgICAgIG1vZGU9Im5vcm1hbCIKICAgICAgICAgcmVzdWx0PSJlZmZlY3QyX2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBpZD0iZmVCbGVuZDUiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIGluPSJTb3VyY2VBbHBoYSIKICAgICAgICAgcmVzdWx0PSJoYXJkQWxwaGEiCiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXg2IiAvPgogICAgICA8ZmVPZmZzZXQKICAgICAgICAgZHk9IjQiCiAgICAgICAgIGlkPSJmZU9mZnNldDYiIC8+CiAgICAgIDxmZUdhdXNzaWFuQmx1cgogICAgICAgICBzdGREZXZpYXRpb249IjIiCiAgICAgICAgIGlkPSJmZUdhdXNzaWFuQmx1cjYiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjA5IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4NyIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW4yPSJlZmZlY3QyX2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBtb2RlPSJub3JtYWwiCiAgICAgICAgIHJlc3VsdD0iZWZmZWN0M19kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgaWQ9ImZlQmxlbmQ3IiAvPgogICAgICA8ZmVDb2xvck1hdHJpeAogICAgICAgICBpbj0iU291cmNlQWxwaGEiCiAgICAgICAgIHJlc3VsdD0iaGFyZEFscGhhIgogICAgICAgICB0eXBlPSJtYXRyaXgiCiAgICAgICAgIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4OCIgLz4KICAgICAgPGZlT2Zmc2V0CiAgICAgICAgIGR5PSI5IgogICAgICAgICBpZD0iZmVPZmZzZXQ4IiAvPgogICAgICA8ZmVHYXVzc2lhbkJsdXIKICAgICAgICAgc3RkRGV2aWF0aW9uPSIyLjUiCiAgICAgICAgIGlkPSJmZUdhdXNzaWFuQmx1cjgiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIHR5cGU9Im1hdHJpeCIKICAgICAgICAgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjA1IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4OSIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW4yPSJlZmZlY3QzX2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBtb2RlPSJub3JtYWwiCiAgICAgICAgIHJlc3VsdD0iZWZmZWN0NF9kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgaWQ9ImZlQmxlbmQ5IiAvPgogICAgICA8ZmVDb2xvck1hdHJpeAogICAgICAgICBpbj0iU291cmNlQWxwaGEiCiAgICAgICAgIHJlc3VsdD0iaGFyZEFscGhhIgogICAgICAgICB0eXBlPSJtYXRyaXgiCiAgICAgICAgIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiCiAgICAgICAgIGlkPSJmZUNvbG9yTWF0cml4MTAiIC8+CiAgICAgIDxmZU9mZnNldAogICAgICAgICBkeT0iMTUiCiAgICAgICAgIGlkPSJmZU9mZnNldDEwIiAvPgogICAgICA8ZmVHYXVzc2lhbkJsdXIKICAgICAgICAgc3RkRGV2aWF0aW9uPSIzIgogICAgICAgICBpZD0iZmVHYXVzc2lhbkJsdXIxMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXgKICAgICAgICAgdHlwZT0ibWF0cml4IgogICAgICAgICB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMDEgMCIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXgxMSIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW4yPSJlZmZlY3Q0X2Ryb3BTaGFkb3dfMjAzN18yODAwIgogICAgICAgICBtb2RlPSJub3JtYWwiCiAgICAgICAgIHJlc3VsdD0iZWZmZWN0NV9kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgaWQ9ImZlQmxlbmQxMSIgLz4KICAgICAgPGZlQmxlbmQKICAgICAgICAgaW49IlNvdXJjZUdyYXBoaWMiCiAgICAgICAgIGluMj0iZWZmZWN0NV9kcm9wU2hhZG93XzIwMzdfMjgwMCIKICAgICAgICAgbW9kZT0ibm9ybWFsIgogICAgICAgICByZXN1bHQ9InNoYXBlIgogICAgICAgICBpZD0iZmVCbGVuZDEyIiAvPgogICAgPC9maWx0ZXI+CiAgPC9kZWZzPgogIDxwYXRoCiAgICAgZD0iTTEzNS43MzEgMjg1Ljg1djE3My45M2MwIDIxLjUxNyAxMS40NzggNDEuNDE4IDMwLjEyNSA1Mi4xNjhsMTUwLjYyNCA4Ni45NzZhNjAuMjIzIDYwLjIyMyAwIDAgMCA2MC4yNSAwbDE1MC42MjMtODYuOTc2YTYwLjIzNyA2MC4yMzcgMCAwIDAgMzAuMTI0LTUyLjE2OVYyODUuODUxYzAtMjEuNTI1LTExLjQ3Ny00MS40MjMtMzAuMTI0LTUyLjE3N0wzNzYuNzI5IDE0Ni43MmE2MC4yMSA2MC4yMSAwIDAgMC02MC4yNDkgMGwtMTUwLjYyNCA4Ni45NTRhNjAuMjQ1IDYwLjI0NSAwIDAgMC0zMC4xMjUgNTIuMTc3eiIKICAgICBmaWxsPSJ1cmwoI2EpIgogICAgIHRyYW5zZm9ybT0ibWF0cml4KC4xIDAgMCAuMSAtNy41NjcgLTEwLjE4OSkiCiAgICAgaWQ9InBhdGgxMiIgLz4KICA8cGF0aAogICAgIGQ9Ik01NC4wNTYgOTguMDN2Ni44NTVhMS43MTEgMS43MTEgMCAwIDAgMS43MTQgMS43MTQgMS43MTMgMS43MTMgMCAwIDAgMS43MTQtMS43MTQgMS43MTMgMS43MTMgMCAxIDEgMy40MjcgMCA1LjE0IDUuMTQgMCAxIDEtMTAuMjgyIDB2LTYuODU0YTUuMTQgNS4xNCAwIDEgMSAxMC4yODIgMCAxLjcxMiAxLjcxMiAwIDEgMS0zLjQyNyAwIDEuNzEyIDEuNzEyIDAgMSAwLTMuNDI3IDB6bTI3LjQxOCA2Ljg1NWExLjcxMiAxLjcxMiAwIDAgMS0xLjcxNCAxLjcxNGgtMS43MTR2MS43MTNjMCAuNDU1LS4xOC44OTEtLjUwMiAxLjIxMmExLjcxIDEuNzEgMCAwIDEtMi40MjMgMCAxLjcxOSAxLjcxOSAwIDAgMS0uNTAyLTEuMjEydi0xLjcxM2gtMy40Mjd2MS43MTNhMS43MSAxLjcxIDAgMCAxLTEuNzE0IDEuNzE0IDEuNzEgMS43MSAwIDAgMS0xLjcxMy0xLjcxNHYtMS43MTNINjYuMDVhMS43MTMgMS43MTMgMCAxIDEgMC0zLjQyN2gxLjcxNHYtMy40MjdINjYuMDVhMS43MTIgMS43MTIgMCAxIDEgMC0zLjQyN2gxLjcxNHYtMS43MTRhMS43MTMgMS43MTMgMCAxIDEgMy40MjcgMHYxLjcxM2gzLjQyN3YtMS43MTNhMS43MTIgMS43MTIgMCAxIDEgMy40MjcgMHYxLjcxM2gxLjcxNGMuNDU0IDAgLjg5LjE4IDEuMjExLjUwMmExLjcxIDEuNzEgMCAwIDEgMCAyLjQyMyAxLjcxMiAxLjcxMiAwIDAgMS0xLjIxMS41MDNoLTEuNzE0djMuNDI3aDEuNzE0YTEuNzE4IDEuNzE4IDAgMCAxIDEuNzE0IDEuNzEzem0tNi44NTUtNS4xNGgtMy40Mjd2My40MjdoMy40Mjd6IgogICAgIGZpbGw9IiNmZmYiCiAgICAgZmlsdGVyPSJ1cmwoI2IpIgogICAgIHN0eWxlPSJtaXgtYmxlbmQtbW9kZTpzY3JlZW4iCiAgICAgdHJhbnNmb3JtPSJtYXRyaXgoLjg3OSAwIDAgLjg3OSAtMzAuOTY1IC02Mi4wODYpIgogICAgIGlkPSJwYXRoMTMiIC8+Cjwvc3ZnPgo=`}cIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04IiBzdGFuZGFsb25lPSJubyI/Pgo8c3ZnCiAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIKICAgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIgogICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnNvZGlwb2RpPSJodHRwOi8vc29kaXBvZGkuc291cmNlZm9yZ2UubmV0L0RURC9zb2RpcG9kaS0wLmR0ZCIKICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiCiAgIHZpZXdCb3g9IjAgMCAzOC4wMDAwODkgNDIuMDAwMDMxIgogICB3aWR0aD0iMzgwLjAwMDg5IgogICBoZWlnaHQ9IjQyMC4wMDAzMSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMTAiCiAgIHNvZGlwb2RpOmRvY25hbWU9Imljb25zOC1jLXByb2dyYW1taW5nLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4wLjEgKDNiYzJlODEzZjUsIDIwMjAtMDktMDcpIj4KICA8bWV0YWRhdGEKICAgICBpZD0ibWV0YWRhdGExNiI+CiAgICA8cmRmOlJERj4KICAgICAgPGNjOldvcmsKICAgICAgICAgcmRmOmFib3V0PSIiPgogICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgICAgIDxkYzp0eXBlCiAgICAgICAgICAgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIgLz4KICAgICAgICA8ZGM6dGl0bGU+PC9kYzp0aXRsZT4KICAgICAgPC9jYzpXb3JrPgogICAgPC9yZGY6UkRGPgogIDwvbWV0YWRhdGE+CiAgPGRlZnMKICAgICBpZD0iZGVmczE0IiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiM2NjY2NjYiCiAgICAgYm9yZGVyb3BhY2l0eT0iMSIKICAgICBvYmplY3R0b2xlcmFuY2U9IjEwIgogICAgIGdyaWR0b2xlcmFuY2U9IjEwIgogICAgIGd1aWRldG9sZXJhbmNlPSIxMCIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMCIKICAgICBpbmtzY2FwZTpwYWdlc2hhZG93PSIyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMTkyMCIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMDU2IgogICAgIGlkPSJuYW1lZHZpZXcxMiIKICAgICBzaG93Z3JpZD0iZmFsc2UiCiAgICAgZml0LW1hcmdpbi10b3A9IjAiCiAgICAgZml0LW1hcmdpbi1sZWZ0PSIwIgogICAgIGZpdC1tYXJnaW4tcmlnaHQ9IjAiCiAgICAgZml0LW1hcmdpbi1ib3R0b209IjAiCiAgICAgaW5rc2NhcGU6em9vbT0iMS40ODk1ODMzIgogICAgIGlua3NjYXBlOmN4PSIxOTAiCiAgICAgaW5rc2NhcGU6Y3k9IjIxMC4wMDI4MiIKICAgICBpbmtzY2FwZTp3aW5kb3cteD0iMCIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iMCIKICAgICBpbmtzY2FwZTp3aW5kb3ctbWF4aW1pemVkPSIxIgogICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZzEwIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzI4MzU5MyIKICAgICBmaWxsLXJ1bGU9ImV2ZW5vZGQiCiAgICAgZD0ibSAxNy45MDMsMC4yODYyODE2NiBjIDAuNjc5LC0wLjM4MSAxLjUxNSwtMC4zODEgMi4xOTMsMCBDIDIzLjQ1MSwyLjE2OTI4MTcgMzMuNTQ3LDcuODM3MjgxNyAzNi45MDMsOS43MjAyODE3IDM3LjU4MiwxMC4xMDAyODIgMzgsMTAuODA0MjgyIDM4LDExLjU2NjI4MiBjIDAsMy43NjYgMCwxNS4xMDEgMCwxOC44NjcgMCwwLjc2MiAtMC40MTgsMS40NjYgLTEuMDk3LDEuODQ3IC0zLjM1NSwxLjg4MyAtMTMuNDUxLDcuNTUxIC0xNi44MDcsOS40MzQgLTAuNjc5LDAuMzgxIC0xLjUxNSwwLjM4MSAtMi4xOTMsMCAtMy4zNTUsLTEuODgzIC0xMy40NTEsLTcuNTUxIC0xNi44MDcsLTkuNDM0IC0wLjY3OCwtMC4zODEgLTEuMDk2LC0xLjA4NCAtMS4wOTYsLTEuODQ2IDAsLTMuNzY2IDAsLTE1LjEwMSAwLC0xOC44NjcgMCwtMC43NjIgMC40MTgsLTEuNDY2IDEuMDk3LC0xLjg0NzAwMDMgMy4zNTQsLTEuODgzIDEzLjQ1MiwtNy41NTEgMTYuODA2LC05LjQzNDAwMDA0IHoiCiAgICAgY2xpcC1ydWxlPSJldmVub2RkIgogICAgIGlkPSJwYXRoMiIKICAgICBzdHlsZT0iZmlsbDojMDA0NDgyO2ZpbGwtb3BhY2l0eToxIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzVjNmJjMCIKICAgICBmaWxsLXJ1bGU9ImV2ZW5vZGQiCiAgICAgZD0ibSAwLjMwNCwzMS40MDQyODIgYyAtMC4yNjYsLTAuMzU2IC0wLjMwNCwtMC42OTQgLTAuMzA0LC0xLjE0OSAwLC0zLjc0NCAwLC0xNS4wMTQgMCwtMTguNzU5IDAsLTAuNzU4IDAuNDE3LC0xLjQ1OCAxLjA5NCwtMS44MzYwMDAzIDMuMzQzLC0xLjg3MiAxMy40MDUsLTcuNTA3IDE2Ljc0OCwtOS4zODAwMDAwNCAwLjY3NywtMC4zNzkgMS41OTQsLTAuMzcxIDIuMjcxLDAuMDA4IDMuMzQzLDEuODcyMDAwMDQgMTMuMzcxLDcuNDU5MDAwMDQgMTYuNzE0LDkuMzMxMDAwMDQgMC4yNywwLjE1MiAwLjQ3NiwwLjMzNSAwLjY2LDAuNTc2MDAwMyB6IgogICAgIGNsaXAtcnVsZT0iZXZlbm9kZCIKICAgICBpZD0icGF0aDQiCiAgICAgc3R5bGU9ImZpbGw6IzY1OWFkMjtmaWxsLW9wYWNpdHk6MSIgLz4KICA8cGF0aAogICAgIGZpbGw9IiNmZmZmZmYiCiAgICAgZmlsbC1ydWxlPSJldmVub2RkIgogICAgIGQ9Im0gMTksNy4wMDAyODE3IGMgNy43MjcsMCAxNCw2LjI3MzAwMDMgMTQsMTQuMDAwMDAwMyAwLDcuNzI3IC02LjI3MywxNCAtMTQsMTQgLTcuNzI3LDAgLTE0LC02LjI3MyAtMTQsLTE0IDAsLTcuNzI3IDYuMjczLC0xNC4wMDAwMDAzIDE0LC0xNC4wMDAwMDAzIHogbSAwLDcuMDAwMDAwMyBjIDMuODYzLDAgNywzLjEzNiA3LDcgMCwzLjg2MyAtMy4xMzcsNyAtNyw3IC0zLjg2MywwIC03LC0zLjEzNyAtNywtNyAwLC0zLjg2NCAzLjEzNiwtNyA3LC03IHoiCiAgICAgY2xpcC1ydWxlPSJldmVub2RkIgogICAgIGlkPSJwYXRoNiIgLz4KICA8cGF0aAogICAgIGZpbGw9IiMzOTQ5YWIiCiAgICAgZmlsbC1ydWxlPSJldmVub2RkIgogICAgIGQ9Im0gMzcuNDg1LDEwLjIwNTI4MiBjIDAuNTE2LDAuNDgzIDAuNTA2LDEuMjExIDAuNTA2LDEuNzg0IDAsMy43OTUgLTAuMDMyLDE0LjU4OSAwLjAwOSwxOC4zODQgMC4wMDQsMC4zOTYgLTAuMTI3LDAuODEzIC0wLjMyMywxLjEyNyBsIC0xOS4wODQsLTEwLjUgeiIKICAgICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgICAgaWQ9InBhdGg4IgogICAgIHN0eWxlPSJmaWxsOiMwMDU5OWM7ZmlsbC1vcGFjaXR5OjEiIC8+Cjwvc3ZnPgo=`}cppIcon(){return`Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9InV0Zi04Ij8+CjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjQsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMzA2cHgiIGhlaWdodD0iMzQ0LjM1cHgiIHZpZXdCb3g9IjAgMCAzMDYgMzQ0LjM1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAzMDYgMzQ0LjM1IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0iIzAwNTk5QyIgZD0iTTMwMi4xMDcsMjU4LjI2MmMyLjQwMS00LjE1OSwzLjg5My04Ljg0NSwzLjg5My0xMy4wNTNWOTkuMTRjMC00LjIwOC0xLjQ5LTguODkzLTMuODkyLTEzLjA1MkwxNTMsMTcyLjE3NQoJTDMwMi4xMDcsMjU4LjI2MnoiLz4KPHBhdGggZmlsbD0iIzAwNDQ4MiIgZD0iTTE2Ni4yNSwzNDEuMTkzbDEyNi41LTczLjAzNGMzLjY0NC0yLjEwNCw2Ljk1Ni01LjczNyw5LjM1Ny05Ljg5N0wxNTMsMTcyLjE3NUwzLjg5MywyNTguMjYzCgljMi40MDEsNC4xNTksNS43MTQsNy43OTMsOS4zNTcsOS44OTZsMTI2LjUsNzMuMDM0QzE0Ny4wMzcsMzQ1LjQwMSwxNTguOTYzLDM0NS40MDEsMTY2LjI1LDM0MS4xOTN6Ii8+CjxwYXRoIGZpbGw9IiM2NTlBRDIiIGQ9Ik0zMDIuMTA4LDg2LjA4N2MtMi40MDItNC4xNi01LjcxNS03Ljc5My05LjM1OC05Ljg5N0wxNjYuMjUsMy4xNTZjLTcuMjg3LTQuMjA4LTE5LjIxMy00LjIwOC0yNi41LDAKCUwxMy4yNSw3Ni4xOUM1Ljk2Miw4MC4zOTcsMCw5MC43MjUsMCw5OS4xNHYxNDYuMDY5YzAsNC4yMDgsMS40OTEsOC44OTQsMy44OTMsMTMuMDUzTDE1MywxNzIuMTc1TDMwMi4xMDgsODYuMDg3eiIvPgo8Zz4KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNTMsMjc0LjE3NWMtNTYuMjQzLDAtMTAyLTQ1Ljc1Ny0xMDItMTAyczQ1Ljc1Ny0xMDIsMTAyLTEwMmMzNi4yOTIsMCw3MC4xMzksMTkuNTMsODguMzMxLDUwLjk2OAoJCWwtNDQuMTQzLDI1LjU0NGMtOS4xMDUtMTUuNzM2LTI2LjAzOC0yNS41MTItNDQuMTg4LTI1LjUxMmMtMjguMTIyLDAtNTEsMjIuODc4LTUxLDUxYzAsMjguMTIxLDIyLjg3OCw1MSw1MSw1MQoJCWMxOC4xNTIsMCwzNS4wODUtOS43NzYsNDQuMTkxLTI1LjUxNWw0NC4xNDMsMjUuNTQzQzIyMy4xNDIsMjU0LjY0NCwxODkuMjk0LDI3NC4xNzUsMTUzLDI3NC4xNzV6Ii8+CjwvZz4KPGc+Cgk8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjI1NSwxNjYuNTA4IDI0My42NjYsMTY2LjUwOCAyNDMuNjY2LDE1NS4xNzUgMjMyLjMzNCwxNTUuMTc1IDIzMi4zMzQsMTY2LjUwOCAyMjEsMTY2LjUwOCAKCQkyMjEsMTc3Ljg0MSAyMzIuMzM0LDE3Ny44NDEgMjMyLjMzNCwxODkuMTc1IDI0My42NjYsMTg5LjE3NSAyNDMuNjY2LDE3Ny44NDEgMjU1LDE3Ny44NDEgCSIvPgo8L2c+CjxnPgoJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIyOTcuNSwxNjYuNTA4IDI4Ni4xNjYsMTY2LjUwOCAyODYuMTY2LDE1NS4xNzUgMjc0LjgzNCwxNTUuMTc1IDI3NC44MzQsMTY2LjUwOCAyNjMuNSwxNjYuNTA4IAoJCTI2My41LDE3Ny44NDEgMjc0LjgzNCwxNzcuODQxIDI3NC44MzQsMTg5LjE3NSAyODYuMTY2LDE4OS4xNzUgMjg2LjE2NiwxNzcuODQxIDI5Ny41LDE3Ny44NDEgCSIvPgo8L2c+Cjwvc3ZnPgo=`}zigLogo(){return`CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTUzIDE0MCI+CjxnIGZpbGw9IiNmN2E0MWQiPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI0NiwyMiAyOCw0NCAxOSwzMCIvPgoJCTxwb2x5Z29uIHBvaW50cz0iNDYsMjIgMzMsMzMgMjgsNDQgMjIsNDQgMjIsOTUgMzEsOTUgMjAsMTAwIDEyLDExNyAwLDExNyAwLDIyIiBzaGFwZS1yZW5kZXJpbmc9ImNyaXNwRWRnZXMiLz4KCQk8cG9seWdvbiBwb2ludHM9IjMxLDk1IDEyLDExNyA0LDEwNiIvPgoJPC9nPgoJPGc+CgkJPHBvbHlnb24gcG9pbnRzPSI1NiwyMiA2MiwzNiAzNyw0NCIvPgoJCTxwb2x5Z29uIHBvaW50cz0iNTYsMjIgMTExLDIyIDExMSw0NCAzNyw0NCA1NiwzMiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIi8+CgkJPHBvbHlnb24gcG9pbnRzPSIxMTYsOTUgOTcsMTE3IDkwLDEwNCIvPgoJCTxwb2x5Z29uIHBvaW50cz0iMTE2LDk1IDEwMCwxMDQgOTcsMTE3IDQyLDExNyA0Miw5NSIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIi8+CgkJPHBvbHlnb24gcG9pbnRzPSIxNTAsMCA1MiwxMTcgMywxNDAgMTAxLDIyIi8+Cgk8L2c+Cgk8Zz4KCQk8cG9seWdvbiBwb2ludHM9IjE0MSwyMiAxNDAsNDAgMTIyLDQ1Ii8+CgkJPHBvbHlnb24gcG9pbnRzPSIxNTMsMjIgMTUzLDExNyAxMDYsMTE3IDEyMCwxMDUgMTI1LDk1IDEzMSw5NSAxMzEsNDUgMTIyLDQ1IDEzMiwzNiAxNDEsMjIiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyIvPgoJCTxwb2x5Z29uIHBvaW50cz0iMTI1LDk1IDEzMCwxMTAgMTA2LDExNyIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=`}render(){let e=Yr.getIconForType(this.getNodeTypeFromIcon(this.icon));switch(this.icon){case D.OPENAPI:return T``;case D.GO:return T``;case D.TS:return T``;case D.CS:return T``;case D.C:return T``;case D.CPP:return T``;case D.ZIG:return T``}return T` `}};Zr.styles=[Wr,Gr,vte,Bn],qr([Et()],Zr.prototype,`icon`,void 0),qr([Et({type:Yr})],Zr.prototype,`size`,void 0),qr([Et({type:Xr})],Zr.prototype,`color`,void 0),qr([Et()],Zr.prototype,`tooltip`,void 0),Zr=Jr=qr([wt(`pb33f-model-icon`)],Zr);var Qr=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},$r=class extends Ct{constructor(){super(),this.handleWorkerMessage=e=>{e.data.nodes&&(this.results=e.data.nodes),this.activeNodeId=``,this.activeNodeIndex=-1;for(let e of this.results)this.unlightItem(e.id)},this.searchWorker=new Cee,this.results=[],this.searchWorker.addEventListener(`message`,this.handleWorkerMessage),this.currentSearch=``,this.activeNodeIndex=-1,this.activeNodeId=``}disconnectedCallback(){super.disconnectedCallback(),this.searchWorker&&(this.searchWorker.removeEventListener(`message`,this.handleWorkerMessage),this.searchWorker.terminate())}disableSearchPanel(){this.searchActive=!1,this.searchInput&&(this.searchInput.value=``),this.activeNodeId=``,this.activeNodeIndex=-1;for(let e of this.results)this.unlightItem(e.id)}inputChanged(){this.searchActive=!0,this.currentSearch=this.searchInput.value,this.graphResponse.nodes&&this.searchWorker.postMessage({searchGraph:this.graphResponse,searchKeyword:this.currentSearch})}highlightItem(e){let t=this.shadowRoot?.getElementById(`model_icon_`+e),n=this.shadowRoot?.getElementById(e);t&&(t.color=Xr.inverse),n&&n.classList.add(`search-result-active`)}unlightItem(e){let t=this.shadowRoot?.getElementById(`model_icon_`+e),n=this.shadowRoot?.getElementById(e);t&&(t.color=Xr.secondary),n&&n.classList.remove(`search-result-active`)}selectResult(e){e&&e.id?this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:e.id}})):this.activeNodeIndex=-1}keyboardControls(e){switch(e.key){case`ArrowDown`:this.activeNodeIndex>=0?this.results&&this.results.length>this.activeNodeIndex+1&&(this.unlightItem(this.results[this.activeNodeIndex].id),this.activeNodeIndex++,this.activeNodeId=this.results[this.activeNodeIndex].id,this.highlightItem(this.activeNodeId)):(this.activeNodeIndex=0,this.results[this.activeNodeIndex]&&(this.activeNodeId=this.results[this.activeNodeIndex].id,this.highlightItem(this.activeNodeId)));break;case`ArrowUp`:this.activeNodeIndex>0&&this.results&&this.results.length>this.activeNodeIndex-1&&(this.unlightItem(this.results[this.activeNodeIndex].id),this.activeNodeIndex--,this.activeNodeIndex>=0&&(this.activeNodeId=this.results[this.activeNodeIndex].id,this.highlightItem(this.activeNodeId)));break;case`Enter`:let e=this.results[this.activeNodeIndex];this.selectResult(e);break;case`Escape`:this.disableSearchPanel();break}}render(){return T` + style="font-size: ${this.getSize()}; color: ${this.getIconColor()}">`}};Qr.styles=[Gr,Kr,gte,Bn],Jr([E()],Qr.prototype,`icon`,void 0),Jr([E({type:Xr})],Qr.prototype,`size`,void 0),Jr([E({type:Zr})],Qr.prototype,`color`,void 0),Jr([E()],Qr.prototype,`tooltip`,void 0),Qr=Yr=Jr([Ct(`pb33f-model-icon`)],Qr);var $r=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ei=class extends St{constructor(){super(),this.handleWorkerMessage=e=>{e.data.nodes&&(this.results=e.data.nodes),this.activeNodeId=``,this.activeNodeIndex=-1;for(let e of this.results)this.unlightItem(e.id)},this.searchWorker=new xee,this.results=[],this.searchWorker.addEventListener(`message`,this.handleWorkerMessage),this.currentSearch=``,this.activeNodeIndex=-1,this.activeNodeId=``}disconnectedCallback(){super.disconnectedCallback(),this.searchWorker&&(this.searchWorker.removeEventListener(`message`,this.handleWorkerMessage),this.searchWorker.terminate())}disableSearchPanel(){this.searchActive=!1,this.searchInput&&(this.searchInput.value=``),this.activeNodeId=``,this.activeNodeIndex=-1;for(let e of this.results)this.unlightItem(e.id)}inputChanged(){this.searchActive=!0,this.currentSearch=this.searchInput.value,this.graphResponse.nodes&&this.searchWorker.postMessage({searchGraph:this.graphResponse,searchKeyword:this.currentSearch})}highlightItem(e){let t=this.shadowRoot?.getElementById(`model_icon_`+e),n=this.shadowRoot?.getElementById(e);t&&(t.color=Zr.inverse),n&&n.classList.add(`search-result-active`)}unlightItem(e){let t=this.shadowRoot?.getElementById(`model_icon_`+e),n=this.shadowRoot?.getElementById(e);t&&(t.color=Zr.secondary),n&&n.classList.remove(`search-result-active`)}selectResult(e){e&&e.id?this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:e.id}})):this.activeNodeIndex=-1}keyboardControls(e){switch(e.key){case`ArrowDown`:this.activeNodeIndex>=0?this.results&&this.results.length>this.activeNodeIndex+1&&(this.unlightItem(this.results[this.activeNodeIndex].id),this.activeNodeIndex++,this.activeNodeId=this.results[this.activeNodeIndex].id,this.highlightItem(this.activeNodeId)):(this.activeNodeIndex=0,this.results[this.activeNodeIndex]&&(this.activeNodeId=this.results[this.activeNodeIndex].id,this.highlightItem(this.activeNodeId)));break;case`ArrowUp`:this.activeNodeIndex>0&&this.results&&this.results.length>this.activeNodeIndex-1&&(this.unlightItem(this.results[this.activeNodeIndex].id),this.activeNodeIndex--,this.activeNodeIndex>=0&&(this.activeNodeId=this.results[this.activeNodeIndex].id,this.highlightItem(this.activeNodeId)));break;case`Enter`:let e=this.results[this.activeNodeIndex];this.selectResult(e);break;case`Escape`:this.disableSearchPanel();break}}render(){return T`
@@ -1720,7 +1729,7 @@ @mouseenter="${()=>this.highlightItem(e.id)}" @mouseleave="${()=>this.unlightItem(e.id)}" @click="${()=>this.selectResult(e)}"> - ${n} ${e.searchKey?T` @@ -1728,7 +1737,7 @@
`})} ${this.results.length==0?T`
No results found for '${this.currentSearch}'
`:``} - `}};$r.styles=[Cn,See,Bn],Qr([Et()],$r.prototype,`searchActive`,void 0),Qr([At(`sl-input.search-input`)],$r.prototype,`searchInput`,void 0),Qr([Et()],$r.prototype,`results`,void 0),$r=Qr([wt(`pb33f-explorer-search-controls`)],$r);var ei=xe` + `}};ei.styles=[Cn,Vn,Bn],$r([E()],ei.prototype,`searchActive`,void 0),$r([Ot(`sl-input.search-input`)],ei.prototype,`searchInput`,void 0),$r([E()],ei.prototype,`results`,void 0),ei=$r([Ct(`pb33f-explorer-search-controls`)],ei);var ti=xe` sl-button::part(base){ border: 1px solid var(--primary-color); border-radius: 0; @@ -1854,7 +1863,7 @@ color: var(--background-color); } -`,ti=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ni=class extends Ct{constructor(){super(),this.showAncestors=!0,this.searchComponent=new $r,this.equalizerClosed=!0,this.keyClosed=!0,this.renderEqualizer=!0}zoomIn(){this.dispatchEvent(new Event(En,{bubbles:!0,composed:!0}))}zoomOut(){this.dispatchEvent(new Event(Dn,{bubbles:!0,composed:!0}))}rotate(){this.dispatchEvent(new Event(On,{bubbles:!0,composed:!0}))}reset(){this.dispatchEvent(new Event(kn,{bubbles:!0,composed:!0}))}toggleEqualizer(){if(!this.povMode){if(this.equalizerClosed=!this.equalizerClosed,this.equalizerClosed){this.dispatchEvent(new Event(jn,{bubbles:!0,composed:!0}));return}this.dispatchEvent(new Event(Nn,{bubbles:!0,composed:!0})),this.dispatchEvent(new Event(An,{bubbles:!0,composed:!0}))}}toggleKey(){if(this.keyClosed=!this.keyClosed,this.keyClosed){this.dispatchEvent(new Event(Nn,{bubbles:!0,composed:!0}));return}this.dispatchEvent(new Event(jn,{bubbles:!0,composed:!0})),this.dispatchEvent(new Event(Mn,{bubbles:!0,composed:!0}))}exitPovMode(){this.povMode=!1,this.showAncestors=!0,this.dispatchEvent(new Event(Rn,{bubbles:!0,composed:!0}))}toggleAncestors(){this.showAncestors=!this.showAncestors,this.dispatchEvent(new CustomEvent(zn,{bubbles:!0,composed:!0,detail:{showAncestors:this.showAncestors}}))}render(){let e=T` +`,ni=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ri=class extends St{constructor(){super(),this.showAncestors=!0,this.searchComponent=new ei,this.equalizerClosed=!0,this.keyClosed=!0,this.renderEqualizer=!0}zoomIn(){this.dispatchEvent(new Event(En,{bubbles:!0,composed:!0}))}zoomOut(){this.dispatchEvent(new Event(Dn,{bubbles:!0,composed:!0}))}rotate(){this.dispatchEvent(new Event(On,{bubbles:!0,composed:!0}))}reset(){this.dispatchEvent(new Event(kn,{bubbles:!0,composed:!0}))}toggleEqualizer(){if(!this.povMode){if(this.equalizerClosed=!this.equalizerClosed,this.equalizerClosed){this.dispatchEvent(new Event(jn,{bubbles:!0,composed:!0}));return}this.dispatchEvent(new Event(Nn,{bubbles:!0,composed:!0})),this.dispatchEvent(new Event(An,{bubbles:!0,composed:!0}))}}toggleKey(){if(this.keyClosed=!this.keyClosed,this.keyClosed){this.dispatchEvent(new Event(Nn,{bubbles:!0,composed:!0}));return}this.dispatchEvent(new Event(jn,{bubbles:!0,composed:!0})),this.dispatchEvent(new Event(Mn,{bubbles:!0,composed:!0}))}exitPovMode(){this.povMode=!1,this.showAncestors=!0,this.dispatchEvent(new Event(Rn,{bubbles:!0,composed:!0}))}toggleAncestors(){this.showAncestors=!this.showAncestors,this.dispatchEvent(new CustomEvent(zn,{bubbles:!0,composed:!0,detail:{showAncestors:this.showAncestors}}))}render(){let e=T`
${n} - `}};ni.styles=[Cn,Bn,ei],ti([Et()],ni.prototype,`equalizerClosed`,void 0),ti([Et()],ni.prototype,`keyClosed`,void 0),ti([Et()],ni.prototype,`renderEqualizer`,void 0),ti([Et()],ni.prototype,`povMode`,void 0),ti([Et()],ni.prototype,`showAncestors`,void 0),ti([Et()],ni.prototype,`povNode`,void 0),ni=ti([wt(`pb33f-explorer-orientation-controls`)],ni);var yte=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},ri=xe` + `}};ri.styles=[Cn,Bn,ti],ni([E()],ri.prototype,`equalizerClosed`,void 0),ni([E()],ri.prototype,`keyClosed`,void 0),ni([E()],ri.prototype,`renderEqualizer`,void 0),ni([E()],ri.prototype,`povMode`,void 0),ni([E()],ri.prototype,`showAncestors`,void 0),ni([E()],ri.prototype,`povNode`,void 0),ri=ni([Ct(`pb33f-explorer-orientation-controls`)],ri);var _te=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},ii=xe` .element { padding-left: 5px; @@ -2025,7 +2034,7 @@ .pov-icon { position: absolute; - bottom: -8px; + bottom: -31px; left: 2px; font-size: 16px; color: var(--primary-color); @@ -2036,6 +2045,7 @@ } .rendered-element { + position: relative; overflow: hidden; border: 1px solid var(--change-border-color, var(--primary-color)); } @@ -2076,8 +2086,14 @@ } .row-node { - padding-top: 2px; display: flex; + align-items: center; + min-height: 25px; + } + + .node-content { + width: 100%; + height: 100%; } .load-more-btn { @@ -2102,7 +2118,7 @@ } .single-line .pov-icon { - bottom: -35px; + bottom: -31px; } .single-line .vacuum-results { @@ -2114,14 +2130,20 @@ font-family: var(--font-stack), monospace; text-align: center; width: 100%; + gap: 4px; } .header-node > pb33f-model-icon { + display: flex; + align-items: center; + justify-content: center; + flex: 0 0 30px; width: 30px; } .header-text { - flex-grow: 3; + flex: 1 1 auto; + min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; @@ -2161,6 +2183,16 @@ margin-top: 2px; font-family: var(--font-stack-bold), monospace; } + .header-node .array-count, + .header-node .dependent-icon, + .header-node .count { + flex: 0 0 auto; + float: none; + margin-top: 0; + } + .header-node .dependent-icon::part(base) { + padding: 0 4px 0 0; + } .count::part(base) { font-family: var(--font-stack-bold), monospace; color: var(--primary-color); @@ -2208,18 +2240,33 @@ background-color: var(--secondary-color-very-lowalpha); } - .active > .vacuum-results { - bottom: 0; - } - .slash { color: var(--primary-color); } + .node-annotation { + position: absolute; + bottom: -24px; + height: 20px; + display: flex; + align-items: center; + white-space: nowrap; + } + + .change-div { + left: 0; + } + .vacuum-results { position: absolute; - right: 0; - bottom: 5px; + right: 6px; + bottom: -24px; + display: flex; + align-items: center; + justify-content: flex-end; + gap: 3px; + height: 20px; + white-space: nowrap; } .embedded-schema { @@ -2236,7 +2283,7 @@ box-shadow: 0 0 20px 20px rgb(0, 0, 0, 0); } } -`,ii=class extends Ct{constructor(){super(),this._visible=!1}connectedCallback(){super.connectedCallback(),this.observer=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?this.componentVisible():this.componentHidden()})},{root:null,threshold:1}),this.observer.observe(this)}componentVisible(){this._visible=!0}componentHidden(){this._visible=!1}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect()}},bte=xe` +`,ai=class extends St{constructor(){super(),this._visible=!1}connectedCallback(){super.connectedCallback(),this.observer=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?this.componentVisible():this.componentHidden()})},{root:null,threshold:1}),this.observer.observe(this)}componentVisible(){this._visible=!0}componentHidden(){this._visible=!1}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect()}},vte=xe` .key { padding: 0 10px 10px 0; position: relative; @@ -2303,7 +2350,7 @@ em { font-family: var(--font-stack-italic), monospace; } -`,xte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ai=class extends ii{constructor(){super()}closeKey(){this.dispatchEvent(new CustomEvent(Nn,{bubbles:!0,composed:!0}))}render(){return T` +`,yte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},oi=class extends ai{constructor(){super()}closeKey(){this.dispatchEvent(new CustomEvent(Nn,{bubbles:!0,composed:!0}))}render(){return T`

Explorer Key

@@ -2417,27 +2464,27 @@ Next object is polymorphic with no descendants.
- ${ci.getObjectTypes().map(e=>T` + ${li.getObjectTypes().map(e=>T`
+ size="${Xr.smaller}" class="object-icon"> ${e.label}
`)}
- + Focused View
- + Load More
- `}};ai.styles=[bte],ai=xte([wt(`pb33f-explorer-key`)],ai);var oi=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},si;(function(e){e.NodeNodeBetweenLayers=`nodeNodeBetweenLayers`,e.NodeNode=`nodeNode`,e.EdgeNodeBetweenLayers=`edgeNodeBetweenLayers`,e.EdgeNode=`edgeNode`})(si||={});var Ste=1e4,ci=class extends ii{static getObjectTypes(){return[{type:E.DOCUMENT,label:`Document`},{type:E.INFO,label:`Info`},{type:E.PATHS,label:`Paths`},{type:E.PATH_ITEM,label:`Path Item`},{type:E.OPERATION,label:`Operation`},{type:E.PARAMETER,label:`Parameter`},{type:E.REQUEST_BODY,label:`Request Body`},{type:E.RESPONSE,label:`Response`},{type:E.MEDIA_TYPE,label:`Media Type`},{type:E.SCHEMA,label:`Schema`},{type:E.COMPONENTS,label:`Components`},{type:E.SCHEMAS,label:`Schemas`},{type:E.RESPONSES,label:`Responses`},{type:E.PARAMETERS,label:`Parameters`},{type:E.REQUEST_BODIES,label:`Request Bodies`},{type:E.HEADERS,label:`Headers`},{type:E.SECURITY_SCHEMES,label:`Security Schemes`},{type:E.LINKS,label:`Links`},{type:E.CALLBACKS,label:`Callbacks`},{type:E.SERVERS,label:`Servers`},{type:E.SERVER,label:`Server`},{type:E.TAGS,label:`Tags`},{type:E.TAG,label:`Tag`},{type:E.EXTERNAL_DOCS,label:`External Docs`},{type:E.WEBHOOKS,label:`Webhooks`},{type:E.WEBHOOK,label:`Webhook`},{type:E.EXAMPLE,label:`Example`},{type:E.HEADER,label:`Header`},{type:E.LINK,label:`Link`},{type:E.CALLBACK,label:`Callback`},{type:E.SECURITY_SCHEME,label:`Security Scheme`},{type:E.POLYMORPHIC,label:`Polymorphic`}]}constructor(){super(),this.maxNodes=Ste,this.initialized=!1,this._inPovMode=!1,this.renderEqualizer=!0,this.controls=new ni,this.keyComponent=new ai,this.controls.searchComponent.graphResponse=this.graphResponse,this.equalizerOpen=!1,this.keyOpen=!1,this.equalizerWorker=new yte,this.boundHandleEQResult=this.handleEQResult.bind(this),this.boundOpenEqualizer=this.openEqualizer.bind(this),this.boundCloseEqualizer=this.closeEqualizer.bind(this),this.boundOpenKey=this.openKey.bind(this),this.boundCloseKey=this.closeKey.bind(this),this.boundExitPovMode=this.exitPovMode.bind(this),this.boundHandleAncestorToggle=this.handleAncestorToggle.bind(this),this.equalizerWorker.addEventListener(`message`,this.boundHandleEQResult),this.controls.addEventListener(An,this.boundOpenEqualizer),this.controls.addEventListener(jn,this.boundCloseEqualizer),this.addEventListener(Mn,this.boundOpenKey),this.addEventListener(Nn,this.boundCloseKey),this.controls.addEventListener(Rn,this.boundExitPovMode),this.controls.addEventListener(zn,this.boundHandleAncestorToggle),this.firstBoot=!0}disconnectedCallback(){super.disconnectedCallback(),this.equalizerWorker.removeEventListener(`message`,this.boundHandleEQResult),this.equalizerWorker.terminate(),this.controls.removeEventListener(An,this.boundOpenEqualizer),this.controls.removeEventListener(jn,this.boundCloseEqualizer),this.removeEventListener(Mn,this.boundOpenKey),this.removeEventListener(Nn,this.boundCloseKey),this.controls.removeEventListener(Rn,this.boundExitPovMode),this.controls.removeEventListener(zn,this.boundHandleAncestorToggle)}updated(){this.controls.renderEqualizer=this.renderEqualizer,this.controls.povMode=this.povMode}async runEQ(e=!1){return this.runEQPromise=new Promise(t=>{let n={};n.graphResponse=this.graphResponse,n.rebuild=e,this.extractSpacing(n);let r=e=>{this.equalizerWorker.removeEventListener(`message`,r),t(e.data)};this.equalizerWorker.addEventListener(`message`,r),this._visible||e?this.equalizerWorker.postMessage(n):(this._cachedEQ=n,this.equalizerWorker.removeEventListener(`message`,r),t(n))}),this.runEQPromise}handleEQResult(e){if(e.data.povMode){this.povMode=!0,this.equalizerOpen=!1,this.controls.equalizerClosed=!0,this.controls.povMode=!0,this._inPovMode||=!0;let t={nodes:e.data.nodes,edges:e.data.edges,spacing:{nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints},povMode:!0,povNodeId:e.data.povNodeId};this.dispatchEvent(new CustomEvent(Fn,{bubbles:!0,composed:!0,detail:{graph:t,spacing:t.spacing,povMode:!0,povNodeId:e.data.povNodeId}}));return}if(this.controls.searchComponent.graphResponse=e.data,!this.firstBoot){let t={graph:e.data,spacing:{nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints},povMode:!1};this.dispatchEvent(new CustomEvent(Fn,{bubbles:!0,composed:!0,detail:t}))}this.initialized||=!0,(this.firstBoot||e.data.rebuild)&&(this.dispatchEvent(new CustomEvent(Pn,{bubbles:!0,composed:!0,detail:{graph:e.data,spacing:{nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints},povMode:!1}})),this.firstBoot&&setTimeout(()=>{this.activeNode||this.navigateToRoot(),this.firstBoot=!1},2e3))}navigateToRoot(){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:`root`,first:!0}}))}openEqualizer(){this.equalizerOpen=!0,this.controls.equalizerClosed=!1,this.requestUpdate()}closeEqualizer(){this.equalizerOpen=!1,this.controls.equalizerClosed=!0,this.requestUpdate()}closeKey(){this.keyOpen=!1,this.controls.keyClosed=!0,this.requestUpdate()}openKey(){this.keyOpen=!0,this.controls.keyClosed=!1,this.requestUpdate()}isInitialized(){return this.initialized}nodeSpacingRangeChanged(e){let t=this.shadowRoot?.querySelector(`#${e}`),n=parseInt(t.value);switch(e){case si.NodeNodeBetweenLayers:this.nodeNodeBetweenLayers=n;break;case si.NodeNode:this.nodeNode=n;break;case si.EdgeNodeBetweenLayers:this.edgeNodeBetweenLayers=n;break;case si.EdgeNode:this.edgeNode=n;break}}bendChanged(){this.bendEdges=!this.bendEdges,this.bendEdges&&(this.bendPoints=!0)}bendPointsChanged(){this.bendPoints=!this.bendPoints}exitPovMode(){this.povMode=!1,this._inPovMode=!1,this.controls.povMode=!1,this.controls.equalizerClosed=!0,this.controls.showAncestors=!0,this.runEQ(!0)}handleAncestorToggle(e){let t=e.detail.showAncestors;this.dispatchEvent(new CustomEvent(`reprocessPov`,{bubbles:!0,composed:!0,detail:{showAncestors:t}}))}async initializeEqualizer(){return new Promise(e=>{if(this.initialized){e(this.graphResponse);return}let t={};t.graphResponse=this.graphResponse,this.extractSpacing(t);let n=t=>{this.equalizerWorker.removeEventListener(`message`,n),e(t.data)};this.equalizerWorker.addEventListener(`message`,n),this.equalizerWorker.postMessage(t)})}componentVisible(){super.componentVisible()}componentHidden(){super.componentHidden(),this.controls.searchComponent.disableSearchPanel()}async sendConfig(){return new Promise(e=>{let t={};t.graphResponse=this.graphResponse,this.extractSpacing(t);let n=t=>{this.equalizerWorker.removeEventListener(`message`,n),e(t.data)};this.equalizerWorker.addEventListener(`message`,n),this.equalizerWorker.postMessage(t),this.closeEqualizer()})}extractSpacing(e){e.spacing={nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints}}equalizer(){return T` + `}};oi.styles=[vte],oi=yte([Ct(`pb33f-explorer-key`)],oi);var si=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ci;(function(e){e.NodeNodeBetweenLayers=`nodeNodeBetweenLayers`,e.NodeNode=`nodeNode`,e.EdgeNodeBetweenLayers=`edgeNodeBetweenLayers`,e.EdgeNode=`edgeNode`})(ci||={});var bte=1e4,li=class extends ai{static getObjectTypes(){return[{type:D.DOCUMENT,label:`Document`},{type:D.INFO,label:`Info`},{type:D.PATHS,label:`Paths`},{type:D.PATH_ITEM,label:`Path Item`},{type:D.OPERATION,label:`Operation`},{type:D.PARAMETER,label:`Parameter`},{type:D.REQUEST_BODY,label:`Request Body`},{type:D.RESPONSE,label:`Response`},{type:D.MEDIA_TYPE,label:`Media Type`},{type:D.SCHEMA,label:`Schema`},{type:D.COMPONENTS,label:`Components`},{type:D.SCHEMAS,label:`Schemas`},{type:D.RESPONSES,label:`Responses`},{type:D.PARAMETERS,label:`Parameters`},{type:D.REQUEST_BODIES,label:`Request Bodies`},{type:D.HEADERS,label:`Headers`},{type:D.SECURITY_SCHEMES,label:`Security Schemes`},{type:D.LINKS,label:`Links`},{type:D.CALLBACKS,label:`Callbacks`},{type:D.SERVERS,label:`Servers`},{type:D.SERVER,label:`Server`},{type:D.TAGS,label:`Tags`},{type:D.TAG,label:`Tag`},{type:D.EXTERNAL_DOCS,label:`External Docs`},{type:D.WEBHOOKS,label:`Webhooks`},{type:D.WEBHOOK,label:`Webhook`},{type:D.EXAMPLE,label:`Example`},{type:D.HEADER,label:`Header`},{type:D.LINK,label:`Link`},{type:D.CALLBACK,label:`Callback`},{type:D.SECURITY_SCHEME,label:`Security Scheme`},{type:D.POLYMORPHIC,label:`Polymorphic`}]}constructor(){super(),this.maxNodes=bte,this.initialized=!1,this._inPovMode=!1,this.renderEqualizer=!0,this.controls=new ri,this.keyComponent=new oi,this.controls.searchComponent.graphResponse=this.graphResponse,this.equalizerOpen=!1,this.keyOpen=!1,this.equalizerWorker=new _te,this.boundHandleEQResult=this.handleEQResult.bind(this),this.boundOpenEqualizer=this.openEqualizer.bind(this),this.boundCloseEqualizer=this.closeEqualizer.bind(this),this.boundOpenKey=this.openKey.bind(this),this.boundCloseKey=this.closeKey.bind(this),this.boundExitPovMode=this.exitPovMode.bind(this),this.boundHandleAncestorToggle=this.handleAncestorToggle.bind(this),this.equalizerWorker.addEventListener(`message`,this.boundHandleEQResult),this.controls.addEventListener(An,this.boundOpenEqualizer),this.controls.addEventListener(jn,this.boundCloseEqualizer),this.addEventListener(Mn,this.boundOpenKey),this.addEventListener(Nn,this.boundCloseKey),this.controls.addEventListener(Rn,this.boundExitPovMode),this.controls.addEventListener(zn,this.boundHandleAncestorToggle),this.firstBoot=!0}disconnectedCallback(){super.disconnectedCallback(),this.equalizerWorker.removeEventListener(`message`,this.boundHandleEQResult),this.equalizerWorker.terminate(),this.controls.removeEventListener(An,this.boundOpenEqualizer),this.controls.removeEventListener(jn,this.boundCloseEqualizer),this.removeEventListener(Mn,this.boundOpenKey),this.removeEventListener(Nn,this.boundCloseKey),this.controls.removeEventListener(Rn,this.boundExitPovMode),this.controls.removeEventListener(zn,this.boundHandleAncestorToggle)}updated(){this.controls.renderEqualizer=this.renderEqualizer,this.controls.povMode=this.povMode}async runEQ(e=!1){return this.runEQPromise=new Promise(t=>{let n={};n.graphResponse=this.graphResponse,n.rebuild=e,this.extractSpacing(n);let r=e=>{this.equalizerWorker.removeEventListener(`message`,r),t(e.data)};this.equalizerWorker.addEventListener(`message`,r),this._visible||e?this.equalizerWorker.postMessage(n):(this._cachedEQ=n,this.equalizerWorker.removeEventListener(`message`,r),t(n))}),this.runEQPromise}handleEQResult(e){if(e.data.povMode){this.povMode=!0,this.equalizerOpen=!1,this.controls.equalizerClosed=!0,this.controls.povMode=!0,this._inPovMode||=!0;let t={nodes:e.data.nodes,edges:e.data.edges,spacing:{nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints},povMode:!0,povNodeId:e.data.povNodeId};this.dispatchEvent(new CustomEvent(Fn,{bubbles:!0,composed:!0,detail:{graph:t,spacing:t.spacing,povMode:!0,povNodeId:e.data.povNodeId}}));return}if(this.controls.searchComponent.graphResponse=e.data,!this.firstBoot){let t={graph:e.data,spacing:{nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints},povMode:!1};this.dispatchEvent(new CustomEvent(Fn,{bubbles:!0,composed:!0,detail:t}))}this.initialized||=!0,(this.firstBoot||e.data.rebuild)&&(this.dispatchEvent(new CustomEvent(Pn,{bubbles:!0,composed:!0,detail:{graph:e.data,spacing:{nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints},povMode:!1}})),this.firstBoot&&setTimeout(()=>{this.activeNode||this.navigateToRoot(),this.firstBoot=!1},2e3))}navigateToRoot(){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:`root`,first:!0}}))}openEqualizer(){this.equalizerOpen=!0,this.controls.equalizerClosed=!1,this.requestUpdate()}closeEqualizer(){this.equalizerOpen=!1,this.controls.equalizerClosed=!0,this.requestUpdate()}closeKey(){this.keyOpen=!1,this.controls.keyClosed=!0,this.requestUpdate()}openKey(){this.keyOpen=!0,this.controls.keyClosed=!1,this.requestUpdate()}isInitialized(){return this.initialized}nodeSpacingRangeChanged(e){let t=this.shadowRoot?.querySelector(`#${e}`),n=parseInt(t.value);switch(e){case ci.NodeNodeBetweenLayers:this.nodeNodeBetweenLayers=n;break;case ci.NodeNode:this.nodeNode=n;break;case ci.EdgeNodeBetweenLayers:this.edgeNodeBetweenLayers=n;break;case ci.EdgeNode:this.edgeNode=n;break}}bendChanged(){this.bendEdges=!this.bendEdges,this.bendEdges&&(this.bendPoints=!0)}bendPointsChanged(){this.bendPoints=!this.bendPoints}exitPovMode(){this.povMode=!1,this._inPovMode=!1,this.controls.povMode=!1,this.controls.equalizerClosed=!0,this.controls.showAncestors=!0,this.runEQ(!0)}handleAncestorToggle(e){let t=e.detail.showAncestors;this.dispatchEvent(new CustomEvent(`reprocessPov`,{bubbles:!0,composed:!0,detail:{showAncestors:t}}))}async initializeEqualizer(){return new Promise(e=>{if(this.initialized){e(this.graphResponse);return}let t={};t.graphResponse=this.graphResponse,this.extractSpacing(t);let n=t=>{this.equalizerWorker.removeEventListener(`message`,n),e(t.data)};this.equalizerWorker.addEventListener(`message`,n),this.equalizerWorker.postMessage(t)})}componentVisible(){super.componentVisible()}componentHidden(){super.componentHidden(),this.controls.searchComponent.disableSearchPanel()}async sendConfig(){return new Promise(e=>{let t={};t.graphResponse=this.graphResponse,this.extractSpacing(t);let n=t=>{this.equalizerWorker.removeEventListener(`message`,n),e(t.data)};this.equalizerWorker.addEventListener(`message`,n),this.equalizerWorker.postMessage(t),this.closeEqualizer()})}extractSpacing(e){e.spacing={nodeNodeBetweenLayers:this.nodeNodeBetweenLayers,nodeNode:this.nodeNode,edgeNodeBetweenLayers:this.edgeNodeBetweenLayers,edgeNode:this.edgeNode,bendEdges:this.bendEdges,bendPoints:this.bendPoints}}equalizer(){return T`

Layout Settings

@@ -2445,15 +2492,15 @@
- ${this.nodeNodeBetweenLayers}
- ${this.nodeNode} @@ -2461,15 +2508,15 @@
- ${this.edgeNodeBetweenLayers}
- ${this.edgeNode} @@ -2505,7 +2552,7 @@ ${this.equalizerOpen?this.equalizer():null} ${this.keyOpen?this.key():null}
- `}};ci.styles=[Cn,ri,See,ei],oi([At(`form`)],ci.prototype,`form`,void 0),oi([Et({type:Number})],ci.prototype,`nodeNodeBetweenLayers`,void 0),oi([Et({type:Number})],ci.prototype,`nodeNode`,void 0),oi([Et({type:Number})],ci.prototype,`edgeNodeBetweenLayers`,void 0),oi([Et({type:Number})],ci.prototype,`edgeNode`,void 0),oi([Et({type:Boolean})],ci.prototype,`bendEdges`,void 0),oi([Et({type:Boolean})],ci.prototype,`bendPoints`,void 0),oi([Et({type:Boolean})],ci.prototype,`renderEqualizer`,void 0),oi([Et({type:Boolean})],ci.prototype,`povMode`,void 0),oi([Et({type:Number})],ci.prototype,`maxNodes`,void 0),ci=oi([wt(`pb33f-explorer-equalizer`)],ci);var li=xe` + `}};li.styles=[Cn,ii,Vn,ti],si([Ot(`form`)],li.prototype,`form`,void 0),si([E({type:Number})],li.prototype,`nodeNodeBetweenLayers`,void 0),si([E({type:Number})],li.prototype,`nodeNode`,void 0),si([E({type:Number})],li.prototype,`edgeNodeBetweenLayers`,void 0),si([E({type:Number})],li.prototype,`edgeNode`,void 0),si([E({type:Boolean})],li.prototype,`bendEdges`,void 0),si([E({type:Boolean})],li.prototype,`bendPoints`,void 0),si([E({type:Boolean})],li.prototype,`renderEqualizer`,void 0),si([E({type:Boolean})],li.prototype,`povMode`,void 0),si([E({type:Number})],li.prototype,`maxNodes`,void 0),li=si([Ct(`pb33f-explorer-equalizer`)],li);var ui=xe` .change-icon { display: inline-block; margin-left: 6px; @@ -2534,7 +2581,7 @@ color: var(--font-color-sub1) } -`,ui=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},di=class extends Ct{get changeCounts(){return Kt(this.node?.timeline)}get changeCategory(){return this.changeCounts.category}constructor(e,t){super(),this.disablePovMode=!1,this.hideExamples=!1,this.moreChildrenCount=0,this.nodeMap=e,this.violationMap=t||new Map,this.isLeaf=!1,this.refChecked=!1,this.outputs=[],this.inputs=[],this.dim=!1,this.expanded=!0}areDependentsVisible(){if(this.nodeMap&&this.node.nodes){for(let e=0;e=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},fi=class extends St{get changeCounts(){return Kt(this.node?.timeline)}get changeCategory(){return this.changeCounts.category}constructor(e,t){super(),this.disablePovMode=!1,this.hideExamples=!1,this.moreChildrenCount=0,this.nodeMap=e,this.violationMap=t||new Map,this.isLeaf=!1,this.refChecked=!1,this.outputs=[],this.inputs=[],this.dim=!1,this.expanded=!0}areDependentsVisible(){if(this.nodeMap&&this.node.nodes){for(let e=0;e ${this.moreChildrenCount} `:null}renderArrayType(){return this.node?.isArray?T` -
Array[]
`:null}activatePovMode(){this.dispatchEvent(new CustomEvent(bee,{bubbles:!0,composed:!0,detail:{nodeId:this.node.id}}))}renderPovButton(){return this.disablePovMode?null:this.active&&this.node.id!==`root`?this.inPovMode&&this.povNodeId===this.node.id?null:T` +
Array[]
`:null}activatePovMode(){this.dispatchEvent(new CustomEvent(yee,{bubbles:!0,composed:!0,detail:{nodeId:this.node.id}}))}renderPovButton(){return this.disablePovMode?null:this.active&&this.node.id!==`root`?this.inPovMode&&this.povNodeId===this.node.id?null:T` `:null}renderUpArrow(){return T`${this.renderExtensions()} - ${this.renderArrayType()} - ${this.renderVacuumResults()} - ${this.renderPovButton()}`}renderActiveArrow(){return this.active?T``:T``}countResults(){return qt(this.node,this.violationMap)}renderVacuumResults(){if(this.node?.violationIds&&this.node.violationIds.length>0&&this.violationMap){let e=T``,t=T``,n=T``,r=this.countResults();return r.errors>0&&(e=T` - - ${r.errors}`),r.warnings>0&&(t=T`${r.errors>0?T` | `:``} - - ${r.warnings}`),r.info>0&&(n=T`${r.errors>0||r.warnings>0?T` | `:``} - - ${r.info}`),T` -
${e}${t}${n}
`}}renderExtensions(){if(this.node?.extensions||this.nodeInstance?.extensions)return T` + title="Point of view mode - re-build graph around this node">`:null}renderUpArrow(){return this.renderUnderNodeAnnotations()}renderUnderNodeAnnotations(e=this.countResults(),t=this.changeCounts){return T` + ${this.renderArrayType()} + ${this.renderChanges(t)} + ${this.renderVacuumResults(e)} + ${this.renderPovButton()} + ${this.renderLoadMoreControl()}`}renderActiveArrow(){return this.active?T``:T``}countResults(){return qt(this.node,this.violationMap)}hasVacuumResults(e=this.countResults()){return e.errors+e.warnings+e.info>0}renderVacuumResults(e=this.countResults()){if(this.node?.violationIds&&this.node.violationIds.length>0&&this.violationMap){let t=T``,n=T``,r=T``;return e.errors+e.warnings+e.info<=0?T``:(e.errors>0&&(t=T` + + ${e.errors}`),e.warnings>0&&(n=T`${e.errors>0?T` | `:``} + + ${e.warnings}`),e.info>0&&(r=T`${e.errors>0||e.warnings>0?T` | `:``} + + ${e.info}`),T` +
${t}${n}${r}
`)}}renderExtensions(){if(this.node?.extensions||this.nodeInstance?.extensions)return T`
 > - + Extensions ${this.node.extensions?this.node.extensions:this.nodeInstance.extensions} -
`}clicked(){this.dispatchEvent(new CustomEvent(Tn,{bubbles:!0,composed:!0,detail:{nodeId:this.id}}))}isSingleLineNode(){return this.height<=30}renderClasses(e=`rendered-element`){let t=[e];this.active&&t.push(`active`),this.isSingleLineNode()&&t.push(`single-line`),this.isRef&&this.outputs.length==1&&t.push(`ref`),this.node.dependency&&this.dim&&t.push(`dependent-node`);let n=this.changeCategory;return n!==Gt.NONE&&n!==Gt.MODIFIED&&t.push(`change-${n}`),t.join(` `)}renderNodeWrapper(e){return T` -
`}clicked(){this.dispatchEvent(new CustomEvent(Tn,{bubbles:!0,composed:!0,detail:{nodeId:this.id}}))}isSingleLineNode(){return this.height<=30}renderClasses(e=`rendered-element`,t=this.countResults(),n=this.changeCounts){let r=[e];this.active&&r.push(`active`),this.isSingleLineNode()&&r.push(`single-line`),this.isRef&&this.outputs.length==1&&r.push(`ref`),this.node.dependency&&this.dim&&r.push(`dependent-node`),this.hasVacuumResults(t)&&r.push(`has-vacuum-results`);let i=n.category;return i!==Gt.NONE&&i!==Gt.MODIFIED&&r.push(`change-${i}`),r.join(` `)}renderNodeWrapper(e){let t=this.countResults(),n=this.changeCounts;return T` +
- ${e} - ${this.renderChanges()} - ${this.renderUpArrow()} +
+ ${e} + ${this.renderExtensions()} +
+ ${this.renderUnderNodeAnnotations(t,n)} ${this.renderActiveArrow()} - `}renderBadges(e,t,n,r){let i=[];return e>0&&i.push(T`${e}`),t>0&&i.push(T`${t}`),n>0&&i.push(T`${n}`),r>0&&i.push(T`${r}`),i}renderChanges(){if(!this.node.timeline)return T``;let{breaking:e,modifications:t,additions:n,removals:r}=this.changeCounts;return T` -
- ${this.renderBadges(e,t,n,r)} + `}renderBadges(e,t,n,r){let i=[];return e>0&&i.push(T`${e}`),t>0&&i.push(T`${t}`),n>0&&i.push(T`${n}`),r>0&&i.push(T`${r}`),i}renderChanges(e=this.changeCounts){if(!this.node.timeline)return T``;let{breaking:t,modifications:n,additions:r,removals:i}=e,a=this.renderBadges(t,n,r,i);return a.length===0?T``:T` +
+ ${a}
- `}render(){let e=T``;return this.node.isArray?e=T` + `}render(){let e=this.countResults(),t=this.changeCounts,n=T``;return this.node.isArray?n=T` - `:this.node.propertyCount&&this.node.propertyCount>0&&(e=T` + `:this.node.propertyCount&&this.node.propertyCount>0&&(n=T` `),T` -
-
- - ${this.label} - ${e} - ${this.renderDependentControl()} +
+
+ + ${this.label} + ${n} + ${this.renderDependentControl()} +
+ ${this.renderExtensions()}
- ${this.renderChanges()} - ${this.renderUpArrow()} - ${this.renderLoadMoreControl()}
+ ${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `}};di.styles=[ri,li],ui([Et({type:Boolean})],di.prototype,`active`,void 0),ui([Et({type:Boolean})],di.prototype,`expanded`,void 0),ui([Et({type:Boolean})],di.prototype,`inPovMode`,void 0),ui([Et({type:Boolean})],di.prototype,`disablePovMode`,void 0),ui([Et({type:Boolean})],di.prototype,`hideExamples`,void 0),ui([Et({type:String})],di.prototype,`povNodeId`,void 0),di=ui([wt(`pb33f-explorer-graph-node`)],di);var Cte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},fi=class extends di{constructor(e){super(e)}renderDocument(){let e=[];return e.push(T`
- + `}};fi.styles=[ii,ui],di([E({type:Boolean})],fi.prototype,`active`,void 0),di([E({type:Boolean})],fi.prototype,`expanded`,void 0),di([E({type:Boolean})],fi.prototype,`inPovMode`,void 0),di([E({type:Boolean})],fi.prototype,`disablePovMode`,void 0),di([E({type:Boolean})],fi.prototype,`hideExamples`,void 0),di([E({type:String})],fi.prototype,`povNodeId`,void 0),fi=di([Ct(`pb33f-explorer-graph-node`)],fi);var xte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},pi=class extends fi{constructor(e){super(e)}renderDocument(){let e=[];return e.push(T`
+ OpenAPI Document
`),this.document?.version&&e.push(T`
 > - + Version ${this.document?.version}
`),this.document?.components&&e.push(T`
 > - + Components
`),this.document?.paths&&e.push(T`
 > - + Paths
`),this.document?.tags&&e.push(T`
 > - + Tags ${this.document?.tags}
`),this.document?.security&&e.push(T`
 > - + Security Schemes ${this.document?.security}
`),this.document?.servers&&e.push(T`
 > - + Servers ${this.document?.servers} -
`),e}render(){return this.document=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};fi.styles=[ri],fi=Cte([wt(`pb33f-explorer-document-node`)],fi);var wte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},pi=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- +
`),e}render(){return this.document=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};pi.styles=[ii],pi=xte([Ct(`pb33f-explorer-document-node`)],pi);var Ste=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},mi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
+ Information ${this.renderDependentControl()}
`),this.info?.title&&e.push(T`
 > @@ -2646,8 +2698,8 @@
`),this.info?.version&&e.push(T`
 > Version ${this.info?.version} -
`),e}render(){return this.info=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};pi.styles=[ri,li],pi=wte([wt(`pb33f-explorer-info-node`)],pi);var Tte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},mi=class extends di{constructor(e){super(e)}renderNode(){let e=[];if(e.push(T`
- +
`),e}render(){return this.info=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};mi.styles=[ii,ui],mi=Ste([Ct(`pb33f-explorer-info-node`)],mi);var Cte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},hi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];if(e.push(T`
+ License
`),this.license?.name&&e.push(T`
 > ${this.license.name} @@ -2655,21 +2707,21 @@ ${this.license?.identifier}
`),e;e.push(T`
 > ${this.license?.url} -
`)}return e}render(){return this.license=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};mi.styles=[ri,li],mi=Tte([wt(`pb33f-explorer-license-node`)],mi);var Ete=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},hi=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- +
`)}return e}render(){return this.license=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};hi.styles=[ii,ui],hi=Cte([Ct(`pb33f-explorer-license-node`)],hi);var wte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},gi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
+ Contact
`),this.contact?.name&&e.push(T`
 > ${this.contact?.name} -
`),e}render(){return this.contact=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};hi.styles=[ri,li],hi=Ete([wt(`pb33f-explorer-contact-node`)],hi);var Dte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},gi=class extends di{constructor(e){super(e)}renderNode(){let e=[],t=T``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(t=T``),e.push(T` +
`),e}render(){return this.contact=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};gi.styles=[ii,ui],gi=wte([Ct(`pb33f-explorer-contact-node`)],gi);var Tte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_i=class extends fi{constructor(e){super(e)}renderNode(){let e=[],t=T``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(t=T``),e.push(T`
- + Tag ${t}
`),this.label&&e.push(T`
 > ${this.label} -
`),e}render(){return this.renderNodeWrapper(this.renderNode())}};gi.styles=[ri,li],gi=Dte([wt(`pb33f-explorer-tag-node`)],gi);var _i=xe` +
`),e}render(){return this.renderNodeWrapper(this.renderNode())}};_i.styles=[ii,ui],_i=Tte([Ct(`pb33f-explorer-tag-node`)],_i);var vi=xe` a { color: var(--primary-color); text-decoration: none; @@ -2684,76 +2736,76 @@ a:active { color: var(--primary-color); } -`,vi=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},yi=class extends di{constructor(e){super(e)}renderNode(){let e=T``;this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(e=T``);let t=[];return t.push(T`
- +`,yi=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},bi=class extends fi{constructor(e){super(e)}renderNode(){let e=T``;this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(e=T``);let t=[];return t.push(T`
+ Server ${e}
`),this.server?.url&&t.push(T``),this.server?.variables&&t.push(T`
 > - + Variables ${Object.keys(this.server.variables).length} -
`),t}render(){return this.server=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};yi.styles=[ri,_i,li],yi=vi([wt(`pb33f-explorer-server-node`)],yi);var bi=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},xi=class extends di{constructor(e){super(e)}renderDocument(){let e=[];return e.push(T` +
`),t}render(){return this.server=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};bi.styles=[ii,vi,ui],bi=yi([Ct(`pb33f-explorer-server-node`)],bi);var Ete=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},xi=class extends fi{constructor(e){super(e)}renderDocument(){let e=[];return e.push(T`
- + Components ${this.renderDependentControl()}
`),this.components?.schemas&&e.push(T`
 > - + Schemas ${Object.keys(this.components?.schemas).length}
`),this.components?.parameters&&e.push(T`
 > - + Parameters ${Object.keys(this.components?.parameters).length}
`),this.components?.responses&&e.push(T`
 > - + Responses ${Object.keys(this.components?.responses).length}
`),this.components?.requestBodies&&e.push(T`
 > - + Request Bodies ${Object.keys(this.components?.requestBodies).length}
`),this.components?.callbacks&&e.push(T`
 > - + Callbacks ${Object.keys(this.components?.callbacks).length}
`),this.components?.headers&&e.push(T`
 > - + Headers ${Object.keys(this.components?.headers).length}
`),this.components?.links&&e.push(T`
 > - + Links ${Object.keys(this.components?.links).length}
`),this.components?.securitySchemes&&e.push(T`
 > - + Security Schemes ${Object.keys(this.components?.securitySchemes).length}
`),this.components?.examples&&e.push(T`
 > - + Examples ${Object.keys(this.components?.examples).length}
`),this.components?.pathItems&&e.push(T`
 > - + Path Items ${Object.keys(this.components?.pathItems).length} -
`),e}render(){return this.components=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};xi.styles=[ri,li],xi=bi([wt(`pb33f-explorer-components-node`)],xi);function Si(e){return e&&typeof e==`object`&&e.$ref!==void 0&&typeof e.$ref==`string`}var Ci=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},wi=class extends di{constructor(e){super(e),this.embedded=!1}renderNode(){let e=`Schema`;this.label&&(e=this.label);let t=[],n=T``;if(this.schema?.type&&(n=T`${this.schema.type}`,Array.isArray(this.schema.type)&&(n=T`${this.schema.type.map(e=>T`${e} `)}`)),this.embedded||t.push(T` +
`),e}render(){return this.components=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};xi.styles=[ii,ui],xi=Ete([Ct(`pb33f-explorer-components-node`)],xi);function Dte(e){return e&&typeof e==`object`&&e.$ref!==void 0&&typeof e.$ref==`string`}var Si=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ci=class extends fi{constructor(e){super(e),this.embedded=!1}countExamples(e){return e?Array.isArray(e)?e.length:typeof e==`object`?Object.keys(e).length:1:0}schemaExampleCount(e){if(!e)return 0;let t=this.countExamples(e.examples);return e.example!==void 0&&t++,t}schemaDoesNotNeedExamples(e){let t=e.enum&&e.enum.length>0,n=e.type===`boolean`||Array.isArray(e.type)&&e.type.length===1&&e.type[0]===`boolean`,r=e.default!==void 0;return!!(t||n||r)}schemasHaveExampleCoverage(e){return e.length===0?!1:e.every(e=>{if(Dte(e))return!1;let t=e;return this.schemaDoesNotNeedExamples(t)||this.schemaExampleCount(t)>0})}getExampleCoverage(e){if(!e)return{schemaExampleCount:0,allPropertiesHaveExamples:!1,allPolyChildrenHaveExamples:!1};if(this.cachedExampleCoverageSchema===e&&this.cachedExampleCoverage)return this.cachedExampleCoverage;let t=e.properties?Object.values(e.properties):[],n=[...e.anyOf||[],...e.oneOf||[],...e.allOf||[]],r={schemaExampleCount:this.schemaExampleCount(e),allPropertiesHaveExamples:this.schemasHaveExampleCoverage(t),allPolyChildrenHaveExamples:this.schemasHaveExampleCoverage(n)};return this.cachedExampleCoverageSchema=e,this.cachedExampleCoverage=r,r}renderNode(){let e=`Schema`;this.label&&(e=this.label);let t=[],n=T``;if(this.schema?.type&&(n=T`${this.schema.type}`,Array.isArray(this.schema.type)&&(n=T`${this.schema.type.map(e=>T`${e} `)}`)),this.embedded||t.push(T`
- + ${e} ${n} ${this.renderDependentControl()}
`),this.schema?.title&&t.push(T` @@ -2766,31 +2818,32 @@ ${Object.keys(this.schema?.properties).length}
`)}if(this.schema?.anyOf||this.schema?.oneOf||this.schema?.allOf){let e=0,n=[];this.schema.anyOf&&(e+=this.schema.anyOf.length,n.push(T`anyOf `)),this.schema.oneOf&&(e+=this.schema.oneOf.length,n.push(T`oneOf `)),this.schema.allOf&&(e+=this.schema.allOf.length,n.push(T`allOf `)),t.push(T`
 > - + Polymorphic ${n} ${e}
`)}if(this.node?.isPoly&&this.node?.polyType!=``){let e=T``;this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(e=T``),t.push(T`
 > - + Poly${e} ${this.node.polyType} -
`)}let r;this.nodeMap&&this.node&&this.nodeMap.has(this.node.parentId)&&(r=this.nodeMap.get(this.node.parentId));let i=!1,a=0;r&&(r.instance?.examples||r.instance?.example)&&(i=!0,a++);let o=!1;if(this.schema?.properties){let e=Object.values(this.schema.properties);e.length>0&&(o=e.every(e=>{if(Si(e))return!1;let t=e,n=t.enum&&t.enum.length>0,r=t.type===`boolean`,i=t.default!==void 0;return n||r||i?!0:t.example!==void 0||t.examples!==void 0}))}let s=!1,c=[...this.schema?.anyOf||[],...this.schema?.oneOf||[],...this.schema?.allOf||[]];c.length>0&&(s=c.every(e=>{if(Si(e))return!1;let t=e,n=t.enum&&t.enum.length>0,r=t.type===`boolean`,i=t.default!==void 0;return n||r||i?!0:t.example!==void 0||t.examples!==void 0}));let l=this.schema?.examples||this.schema?.example||i||o||s;return!this.hideExamples&&l?(this.node?.instance.examples&&(a=Object.keys(this.node.instance.examples).length),a<=0&&this.node?.instance?.example&&a++,t.push(T` +
`)}let r;this.nodeMap&&this.node&&this.nodeMap.has(this.node.parentId)&&(r=this.nodeMap.get(this.node.parentId));let i=0;r&&r.instance&&(i=this.schemaExampleCount(r.instance));let{schemaExampleCount:a,allPropertiesHaveExamples:o,allPolyChildrenHaveExamples:s}=this.getExampleCoverage(this.schema),c=o||s,l=a>0||i>0&&!c,u=l||c;if(!this.hideExamples&&l){let e=a>0?a:i;t.push(T`
 > - + Examples - ${a} -
`)):this.hideExamples||t.push(T` + ${e} +
`)}else !this.hideExamples&&!u&&t.push(T`
- + No Examples -
`),t}render(){return this.schema=this.nodeInstance,this.embedded?T` +
`);return t}render(){if(this.schema=this.nodeInstance,this.embedded){let e=this.countResults(),t=this.changeCounts;return T`
${this.renderNode()} - ${this.renderUpArrow()} + ${this.renderExtensions()}
+ ${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `:this.renderNodeWrapper(this.renderNode())}};wi.styles=[ri,li],Ci([Et({type:Boolean})],wi.prototype,`embedded`,void 0),wi=Ci([wt(`pb33f-explorer-schema-node`)],wi);var Ote=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ti=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- + `}return this.renderNodeWrapper(this.renderNode())}};Ci.styles=[ii,ui],Si([E({type:Boolean})],Ci.prototype,`embedded`,void 0),Ci=Si([Ct(`pb33f-explorer-schema-node`)],Ci);var Ote=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},wi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
+ ${this.label} ${this.renderDependentControl()}
`),this.scheme?.type&&e.push(T`
 > @@ -2798,8 +2851,8 @@
`),this.scheme?.flows&&e.push(T`
 > Flows ${Object.keys(this.scheme?.flows).length} -
`),e}render(){return this.scheme=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ti.styles=[ri,li],Ti=Ote([wt(`pb33f-explorer-security-scheme-node`)],Ti);var kte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ei=class extends di{constructor(e){super(e)}renderNode(){let e=[],t=T``;if(this.parameter?.schema&&!this.parameter.schema.hasOwnProperty(`$ref`)){let e=this.parameter.schema;t=T`${e.type}`,Array.isArray(e.type)&&(t=T`${e.type.map(e=>T`${e} `)}`)}let n=T``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(n=T``),e.push(T`
- +
`),e}render(){return this.scheme=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};wi.styles=[ii,ui],wi=Ote([Ct(`pb33f-explorer-security-scheme-node`)],wi);var kte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ti=class extends fi{constructor(e){super(e)}renderNode(){let e=[],t=T``;if(this.parameter?.schema&&!this.parameter.schema.hasOwnProperty(`$ref`)){let e=this.parameter.schema;t=T`${e.type}`,Array.isArray(e.type)&&(t=T`${e.type.map(e=>T`${e} `)}`)}let n=T``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(n=T``),e.push(T`
+ ${this.label}${n} ${t} ${this.renderDependentControl()}
`),this.parameter?.name&&e.push(T`
 > @@ -2814,11 +2867,11 @@ Deprecated
`),this.parameter?.content&&e.push(T`
 > - + Media Types ${Object.keys(this.parameter?.content).length} -
`),e}render(){return this.parameter=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ei.styles=[ri,li],Ei=kte([wt(`pb33f-explorer-parameter-node`)],Ei);var Ate=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Di=class extends di{constructor(e){super(e)}renderNode(){let e=[],t=T``;if(this.header?.schema&&!this.header.schema.hasOwnProperty(`$ref`)){let e=this.header.schema;t=T`${e.type}`,Array.isArray(e.type)&&(t=T`${e.type.map(e=>T`${e} `)}`)}return e.push(T`
- +
`),e}render(){return this.parameter=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ti.styles=[ii,ui],Ti=kte([Ct(`pb33f-explorer-parameter-node`)],Ti);var Ate=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ei=class extends fi{constructor(e){super(e)}renderNode(){let e=[],t=T``;if(this.header?.schema&&!this.header.schema.hasOwnProperty(`$ref`)){let e=this.header.schema;t=T`${e.type}`,Array.isArray(e.type)&&(t=T`${e.type.map(e=>T`${e} `)}`)}return e.push(T`
+ ${this.label} ${t} ${this.renderDependentControl()}
`),this.header?.style&&e.push(T`
 > @@ -2831,7 +2884,7 @@ Deprecated
`),this.header?.content&&e.push(T`
 > - + Media Types ${Object.keys(this.header?.content).length}
`),this.header?.schema&&e.push(T` @@ -2839,8 +2892,8 @@
- `),e}render(){return this.header=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Di.styles=[ri,li],Di=Ate([wt(`pb33f-explorer-header-node`)],Di);var jte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Oi=class extends di{constructor(e){super(e)}renderNode(){let e=[],t=this.label.replaceAll(`/`,`/`);return e.push(T`
- + `),e}render(){return this.header=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ei.styles=[ii,ui],Ei=Ate([Ct(`pb33f-explorer-header-node`)],Ei);var jte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Di=class extends fi{constructor(e){super(e)}renderNode(){let e=[],t=this.label.replaceAll(`/`,`/`);return e.push(T`
+ ${t} ${this.renderDependentControl()}
`),this.requestBody?.required&&e.push(T`
 > @@ -2848,16 +2901,16 @@ Required
`),this.requestBody?.content&&e.push(T`
 > - + Media Types ${Object.keys(this.requestBody?.content).length} -
`),e}render(){return this.requestBody=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Oi.styles=[ri,li],Oi=jte([wt(`pb33f-explorer-request-body-node`)],Oi);var ki=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ai=class extends di{constructor(e){super(e)}renderNode(){let e=[],t=T``,n=this.label.replaceAll(`/`,`/`);if(this.mediaType?.schema&&!this.mediaType.schema.hasOwnProperty(`$ref`)){let e=this.mediaType.schema;t=T`${e.type}`,Array.isArray(e.type)&&(t=T`${e.type.map(e=>T`${e} `)}`)}return e.push(T`
- - ${It(n.toString())} ${t} +
`),e}render(){return this.requestBody=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Di.styles=[ii,ui],Di=jte([Ct(`pb33f-explorer-request-body-node`)],Di);var Oi=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ki=class extends fi{constructor(e){super(e)}renderNode(){let e=[],t=T``,n=this.label.replaceAll(`/`,`/`);if(this.mediaType?.schema&&!this.mediaType.schema.hasOwnProperty(`$ref`)){let e=this.mediaType.schema;t=T`${e.type}`,Array.isArray(e.type)&&(t=T`${e.type.map(e=>T`${e} `)}`)}return e.push(T`
+ + ${Pt(n.toString())} ${t} ${this.renderDependentControl()}
`),this.mediaType?.encoding&&e.push(T`
 > - + Encoding ${Object.keys(this.mediaType?.encoding).length}
`),this.mediaType?.schema&&e.push(T` @@ -2865,30 +2918,30 @@
- `),e}render(){return this.mediaType=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ai.styles=[ri,li],Ai=ki([wt(`pb33f-explorer-media-type-node`)],Ai);function ji(e){return e?e>=100&&e<400?`http200`:e>=400&&e<500?`http400`:e>=500?`http500`:`pending`:`pending`}var Mte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Mi=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- - ${this.label} + `),e}render(){return this.mediaType=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};ki.styles=[ii,ui],ki=Oi([Ct(`pb33f-explorer-media-type-node`)],ki);function Ai(e){return e?e>=100&&e<400?`http200`:e>=400&&e<500?`http400`:e>=500?`http500`:`pending`:`pending`}var Mte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ji=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
+ + ${this.label} ${this.renderDependentControl()}
`),this.response?.content&&e.push(T`
 > - + Media Types ${Object.keys(this.response?.content).length}
`),this.response?.headers&&e.push(T`
 > - + Headers ${Object.keys(this.response?.headers).length}
`),this.response?.links&&e.push(T`
 > - + Links ${Object.keys(this.response?.links).length} -
`),e}render(){return this.response=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Mi.styles=[ri,Gr,li],Mi=Mte([wt(`pb33f-explorer-response-node`)],Mi);var Nte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ni=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T` +
`),e}render(){return this.response=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};ji.styles=[ii,Kr,ui],ji=Mte([Ct(`pb33f-explorer-response-node`)],ji);var Nte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Mi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- + ${this.label} ${this.renderDependentControl()}
`),this.link?.operationId&&e.push(T` @@ -2902,34 +2955,34 @@ Server: ${this.link.server.url}
`),this.link?.parameters&&e.push(T`
 > - + Link Parameters ${Object.keys(this.link?.parameters).length} -
`),e}render(){return this.link=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ni.styles=[ri,_i,li],Ni=Nte([wt(`pb33f-explorer-link-node`)],Ni);var Pte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Pi=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T` +
`),e}render(){return this.link=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Mi.styles=[ii,vi,ui],Mi=Nte([Ct(`pb33f-explorer-link-node`)],Mi);var Pte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ni=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- + ${this.label}
`),Object.keys(this.callback).length>0&&e.push(T`
 > - + Expressions ${Object.keys(this.callback).filter(e=>!e.startsWith(`x-`)).length} -
`),e}render(){return this.callback=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Pi.styles=[ri,li],Pi=Pte([wt(`pb33f-explorer-callback-node`)],Pi);var Fte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Fi=class extends di{constructor(e){super(e)}renderStatsForOperation(e){let t=0,n=0,r=0,i=T``,a=T``,o=T``;return e.parameters&&(n=e.parameters.length,i=T` - (${n})`),e.responses&&(r=Object.keys(e.responses).length,a=T` - (${r})`),e.servers&&(t=e.servers.length,o=T` - (${t})`),T`${i}${a}${o}`}renderNode(){let e=[];if(e.push(T` +
`),e}render(){return this.callback=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ni.styles=[ii,ui],Ni=Pte([Ct(`pb33f-explorer-callback-node`)],Ni);var Fte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Pi=class extends fi{constructor(e){super(e)}renderStatsForOperation(e){let t=0,n=0,r=0,i=T``,a=T``,o=T``;return e.parameters&&(n=e.parameters.length,i=T` + (${n})`),e.responses&&(r=Object.keys(e.responses).length,a=T` + (${r})`),e.servers&&(t=e.servers.length,o=T` + (${t})`),T`${i}${a}${o}`}renderNode(){let e=[];if(e.push(T`
- + ${this.renderDependentControl()}
`),this.pathItem?.get){let t=T``;if(!this.pathItem.get.$ref){let e=this.pathItem.get;t=this.renderStatsForOperation(e)}e.push(T` @@ -2966,20 +3019,20 @@ ${t} `)}return this.pathItem?.parameters&&e.push(T`
 > - + Path Parameters ${Object.keys(this.pathItem?.parameters).length}
`),this.pathItem?.servers&&e.push(T`
 > - + Path Servers ${Object.keys(this.pathItem?.servers).length} -
`),e}render(){return this.pathItem=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Fi.styles=[ri,li],Fi=Fte([wt(`pb33f-explorer-pathitem-node`)],Fi);var Ite=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ii=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T` + `),e}render(){return this.pathItem=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Pi.styles=[ii,ui],Pi=Fte([Ct(`pb33f-explorer-pathitem-node`)],Pi);var Ite=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Fi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- + ${this.renderDependentControl()}
`),this.operation?.operationId&&e.push(T` @@ -2987,47 +3040,47 @@ ID: ${this.operation.operationId} `),this.operation?.callbacks&&e.push(T`
 > - + Callbacks ${Object.keys(this.operation?.callbacks).length}
`),this.operation?.parameters&&e.push(T`
 > - + Parameters ${Object.keys(this.operation?.parameters).length}
`),this.operation?.servers&&e.push(T`
 > - + Servers ${Object.keys(this.operation?.servers).length}
`),this.operation?.responses&&e.push(T`
 > - + Responses ${Object.keys(this.operation?.responses).length}
`),this.operation?.security&&e.push(T`
 > - + Security Reqs ${Object.keys(this.operation?.security).length}
`),this.operation?.tags&&e.push(T`
 > - + Tags ${Object.keys(this.operation?.tags).length}
`),this.operation?.deprecated&&e.push(T`
 > Deprecated -
`),e}render(){return this.operation=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ii.styles=[ri,_i,li],Ii=Ite([wt(`pb33f-explorer-operation-node`)],Ii);var Lte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Li=class extends di{constructor(e){super(e)}renderNode(){let e=[];return e.push(T` + `),e}render(){return this.operation=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Fi.styles=[ii,vi,ui],Fi=Ite([Ct(`pb33f-explorer-operation-node`)],Fi);var Lte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ii=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- + XML
`),this.xml?.name&&e.push(T`
 > Name: ${this.xml.name} -
`),e}render(){return this.xml=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Li.styles=[ri,li],Li=Lte([wt(`pb33f-explorer-xml-node`)],Li);var Rte=xe` + `),e}render(){return this.xml=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ii.styles=[ii,ui],Ii=Lte([Ct(`pb33f-explorer-xml-node`)],Ii);var Rte=xe` .cv-row { display: flex; align-items: center; @@ -3065,56 +3118,56 @@ .change-icon.added { border-color: rgba(0, 255, 0, 0.3); } -`,zte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ri=class extends di{constructor(e){super(e)}renderHeader(){switch(this.node?.type){case E.OPERATION:return T` +`,zte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Li=class extends fi{constructor(e){super(e)}renderHeader(){switch(this.node?.type){case D.OPERATION:return T`
- + ${this.renderDependentControl()} -
`;case E.PATH_ITEM:return T` + `;case D.PATH_ITEM:return T`
- + ${this.renderDependentControl()} -
`;case E.DOCUMENT:return T` + `;case D.DOCUMENT:return T`
- + OpenAPI Document ${this.renderDependentControl()}
`;default:return T`
- ${this.label} ${this.renderDependentControl()} -
`}}childRowClicked(e,t){t.stopPropagation(),this.dispatchEvent(new CustomEvent(Tn,{bubbles:!0,composed:!0,detail:{nodeId:e}}))}getOwnChanges(e){if(!e.timeline?.length)return[];let t=e.childChanges;if(!t?.length)return e.timeline;let n=new Set;for(let e of t){let t=this.nodeMap?.get(e.nodeId);if(t?.timeline)for(let e of t.timeline)n.add(`${e.path}:${e.property}:${e.change}:${e.context?.newLine}:${e.context?.originalLine}`)}return e.timeline.filter(e=>!n.has(`${e.path}:${e.property}:${e.change}:${e.context?.newLine}:${e.context?.originalLine}`))}renderChildRows(){let e=this.node?.childChanges;return!e||e.length===0?ct:T`${e.map(e=>T` + `}}childRowClicked(e,t){t.stopPropagation(),this.dispatchEvent(new CustomEvent(Tn,{bubbles:!0,composed:!0,detail:{nodeId:e}}))}getOwnChanges(e){if(!e.timeline?.length)return[];let t=e.childChanges;if(!t?.length)return e.timeline;let n=new Set;for(let e of t){let t=this.nodeMap?.get(e.nodeId);if(t?.timeline)for(let e of t.timeline)n.add(`${e.path}:${e.property}:${e.change}:${e.context?.newLine}:${e.context?.originalLine}`)}return e.timeline.filter(e=>!n.has(`${e.path}:${e.property}:${e.change}:${e.context?.newLine}:${e.context?.originalLine}`))}renderChildRows(){let e=this.node?.childChanges;return!e||e.length===0?ot:T`${e.map(e=>T`
 > - ${e.type===E.OPERATION?T``:e.type===E.PATH_ITEM?T``:T`${e.label}`} + ${e.type===D.OPERATION?T``:e.type===D.PATH_ITEM?T``:T`${e.label}`}
- `)}`}renderChanges(){if(!this.node?.timeline?.length)return T``;if(!this.node.childChanges?.length)return super.renderChanges();let e=this.getOwnChanges(this.node);if(!e.length)return T``;let t=Kt(e);return T`
${this.renderBadges(t.breaking,t.modifications,t.additions,t.removals)}
`}render(){return T` -
${r}
`}render(){let e=this.countResults(),t=this.changeCounts;return T` +
${this.renderHeader()} ${this.renderChildRows()} - ${this.renderChanges()} - ${this.renderUpArrow()} + ${this.renderExtensions()}
+ ${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `}};Ri.styles=[ri,li,Rte],Ri=zte([wt(`pb33f-explorer-change-view-node`)],Ri);var Bte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},zi=class extends Ct{constructor(){super(...arguments),this.active=!1,this.visible=!0}configure(e){this.id=e.id,e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.width!==void 0&&(this.width=e.width),e.height!==void 0&&(this.height=e.height),this.body=e.body,e.active!==void 0&&(this.active=e.active),e.visible!==void 0&&(this.visible=e.visible),this.requestUpdate()}render(){if(!this.visible)return ot``;let e=``;return e=this.body?this.body:`Object Node`,this.x==null||this.y==null?ot``:ot` + `}};Li.styles=[ii,ui,Rte],Li=zte([Ct(`pb33f-explorer-change-view-node`)],Li);var Bte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ri=class extends St{constructor(){super(...arguments),this.active=!1,this.visible=!0}configure(e){this.id=e.id,e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.width!==void 0&&(this.width=e.width),e.height!==void 0&&(this.height=e.height),this.body=e.body,e.active!==void 0&&(this.active=e.active),e.visible!==void 0&&(this.visible=e.visible),this.requestUpdate()}render(){if(!this.visible)return it``;let e=``;return e=this.body?this.body:`Object Node`,this.x==null||this.y==null?it``:it`
${e}
-
`}};zi=Bte([wt(`pb33f-explorer-foreign-object`)],zi);var Vte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Bi=class extends Ct{constructor(){super(),this.roundCorners=!1,this.visible=!0,this.targetIsLeaf=!1,this.sections=[],this.isDependency=!1,this.dim=!1,this.animated=!0,this.changeCategory=Gt.NONE}configure(e){this.edge=e.edge,e.bendPoints!==void 0&&(this.bendPoints=e.bendPoints),e.bendCurve!==void 0&&(this.bendCurve=e.bendCurve),e.roundCorners!==void 0&&(this.roundCorners=e.roundCorners),e.visible!==void 0&&(this.visible=e.visible),e.animated!==void 0&&(this.animated=e.animated),e.isDependency!==void 0&&(this.isDependency=e.isDependency),e.dim!==void 0&&(this.dim=e.dim),e.changeCategory!==void 0&&(this.changeCategory=e.changeCategory),this.requestUpdate()}render(){if(!this.visible)return ot``;let e=0;return this.sections.length=0,this.edge.sections?.forEach(t=>{let n=`arrow`;this.edge.ref.length>0&&(n=`arrow-ref`),this.edge.poly&&this.edge.poly!=``&&(n=`arrow-poly`),this.targetIsLeaf&&(n=`leaf`),this.targetIsLeaf&&this.edge.ref.length>0&&(n=`leaf-ref`),this.targetIsLeaf&&this.edge.poly&&this.edge.poly!=``&&(n=`leaf-poly`);let r=this.changeCategory!==Gt.NONE&&this.changeCategory!==Gt.MODIFIED;r&&(n===`arrow`?n=`arrow-${this.changeCategory}`:n===`leaf`&&(n=`leaf-${this.changeCategory}`));let i=Hte(t,this.bendPoints),a=this.bendCurve&&this.shouldUseRoundedPath()?Wte(i):Vi(i),o=[];this.edge.ref.length>0&&o.push(`ref`),this.targetIsLeaf&&o.push(`target-leaf`),this.edge.poly&&this.edge.poly!=``&&o.push(this.edge.poly),this.edge.dependency&&this.dim&&o.push(`dependency`),this.animated||o.push(`no-animation`),r&&o.push(`change-${this.changeCategory}`);let s=ot` + `}};Ri=Bte([Ct(`pb33f-explorer-foreign-object`)],Ri);function zi(e){return function(){return e}}var Bi=Math.PI,Vi=2*Bi,Hi=1e-6,Vte=Vi-Hi;function Ui(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return Ui;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;tHi)if(!(Math.abs(u*s-c*l)>Hi)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Bi-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Hi&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Hi||Math.abs(this._y1-l)>Hi)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Vi+Vi),d>Vte?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>Hi&&this._append`A${n},${n},0,${+(d>=Bi)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function Ute(){return new Wi}Ute.prototype=Wi.prototype;function Wte(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Wi(t)}Array.prototype.slice;function Gte(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Gi(e){this._context=e}Gi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Kte(e){return new Gi(e)}function qte(e){return e[0]}function Jte(e){return e[1]}function Yte(e,t){var n=zi(!0),r=null,i=Kte,a=null,o=Wte(s);e=typeof e==`function`?e:e===void 0?qte:zi(e),t=typeof t==`function`?t:t===void 0?Jte:zi(t);function s(s){var c,l=(s=Gte(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Xte=(function e(t){function n(e){return t===1?new qi(e):new Ji(e,t)}return n.beta=function(t){return e(+t)},n})(.85),Zte=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Yi=class extends St{constructor(){super(),this.roundCorners=!1,this.edgePathStyle=`d3`,this.visible=!0,this.targetIsLeaf=!1,this.sections=[],this.isDependency=!1,this.dim=!1,this.animated=!0,this.changeCategory=Gt.NONE}configure(e){this.edge=e.edge,e.bendPoints!==void 0&&(this.bendPoints=e.bendPoints),e.bendCurve!==void 0&&(this.bendCurve=e.bendCurve),e.roundCorners!==void 0&&(this.roundCorners=e.roundCorners),e.edgePathStyle!==void 0&&(this.edgePathStyle=e.edgePathStyle),e.visible!==void 0&&(this.visible=e.visible),e.animated!==void 0&&(this.animated=e.animated),e.isDependency!==void 0&&(this.isDependency=e.isDependency),e.dim!==void 0&&(this.dim=e.dim),e.changeCategory!==void 0&&(this.changeCategory=e.changeCategory),this.requestUpdate()}render(){if(!this.visible)return it``;let e=0;return this.sections.length=0,this.edge.sections?.forEach(t=>{let n=`arrow`;this.edge.ref.length>0&&(n=`arrow-ref`),this.edge.poly&&this.edge.poly!=``&&(n=`arrow-poly`),this.targetIsLeaf&&(n=`leaf`),this.targetIsLeaf&&this.edge.ref.length>0&&(n=`leaf-ref`),this.targetIsLeaf&&this.edge.poly&&this.edge.poly!=``&&(n=`leaf-poly`);let r=this.changeCategory!==Gt.NONE&&this.changeCategory!==Gt.MODIFIED;r&&(n===`arrow`?n=`arrow-${this.changeCategory}`:n===`leaf`&&(n=`leaf-${this.changeCategory}`));let i=$te(t,this.bendPoints),a=this.buildPath(i),o=[];this.edge.ref.length>0&&o.push(`ref`),this.targetIsLeaf&&o.push(`target-leaf`),this.edge.poly&&this.edge.poly!=``&&o.push(this.edge.poly),this.edge.dependency&&this.dim&&o.push(`dependency`),this.animated||o.push(`no-animation`),r&&o.push(`change-${this.changeCategory}`);let s=it` `;this.sections.push(s),e+=1}),ot`${this.sections}`}shouldUseRoundedPath(){return this.roundCorners&&this.edge.ref.length===0&&(!this.edge.poly||this.edge.poly===``)}};Bi=Vte([wt(`pb33f-explorer-edge`)],Bi);function Hte(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),Ute(n)}function Ute(e){if(e.length<=2)return[...e];let t=[];for(let n of e){let e=t[t.length-1];(!e||e.x!==n.x||e.y!==n.y)&&t.push(n)}if(t.length<=2)return t;let n=[t[0]];for(let e=1;e0);n+=` L ${m.x} ${m.y}`,n+=` A ${p} ${p} 0 0 ${g} ${h.x} ${h.y}`}let r=e[e.length-1];return n+=` L ${r.x} ${r.y}`,n}var Gte=new Set([E.DOCUMENT,E.INFO,E.COMPONENTS,E.PATHS,E.SCHEMAS,E.PARAMETERS,E.RESPONSES,E.REQUEST_BODY,E.REQUEST_BODIES,E.TAGS,E.SECURITY,E.SECURITY_SCHEMES,E.SERVERS,E.HEADERS,E.LINKS,E.CALLBACKS,E.PATH_ITEMS,E.OPERATIONS,E.EXAMPLES,E.EXTENSIONS,E.WEBHOOKS]),Kte=class{constructor(e){this.deps=e}createNodeComponent(e){let t=this.deps.getNodeMap();switch(e){case E.DOCUMENT:return new fi(t);case E.INFO:return new pi(t);case E.LICENSE:return new mi(t);case E.CONTACT:return new hi(t);case E.TAG:return new gi(t);case E.SERVER:return new yi(t);case E.COMPONENTS:return new xi(t);case E.SCHEMA:return new wi(t);case E.SECURITY_SCHEME:return new Ti(t);case E.PARAMETER:return new Ei(t);case E.HEADER:return new Di(t);case E.REQUEST_BODY:return new Oi(t);case E.MEDIA_TYPE:return new Ai(t);case E.RESPONSE:return new Mi(t);case E.LINK:return new Ni(t);case E.CALLBACK:return new Pi(t);case E.PATH_ITEM:return new Fi(t);case E.OPERATION:return new Ii(t);case E.XML:return new Li(t);default:return new di(t)}}buildNodes(e){let t=[],n=[],r=new Map,i=new Map,a=this.deps.getNodeMap(),o=this.deps.getDefinitionCache();return e.graphResponse.nodes?.forEach(e=>{a.set(e.id,e),e.instance&&typeof e.instance==`object`&&!e.instance.$ref&&o.set(e.id,e)}),e.graphResponse.edges?.forEach(e=>{this.deps.getEdgeMap().set(e.id,e)}),e.graph.children?.forEach(s=>{let c=s;c.x&&c.y&&(c.x=Math.round(c.x),c.y=Math.round(c.y));let l=e.graphMode===Wt.change?new Ri(a):this.createNodeComponent(c.type);l.height=c.height,l.width=c.width-2,l.id=c.id,l.label=c.label,l.isLeaf=!(c.nodes&&c.nodes.length>0),l.expanded=e.expandedNodes.has(c.id),l.moreChildrenCount=e.hasMoreChildren.get(c.id)||0,l.node=c,l.inPovMode=e.povMode,l.povNodeId=e.povNodeId,l.disablePovMode=e.disablePovMode,l.hideExamples=e.hideExamples;let u=a.get(c.id);l.nodeInstance=this.resolveNodeInstance(c,o.get(c.id),u),l.violationMap=e.violationMap,c.violationIds=u?.violationIds;let d=u?.dependency||!1;l.isDependency=d,l.dim=d&&e.povMode;let f=e.activeNode&&e.activeNode.id===c.id;f&&(l.active=!0),r.set(c.id,l);let p=new zi,m={id:c.id,x:c.x,y:c.y,width:c.width,height:c.height,body:l,active:f,visible:!0};p.configure(m),n.push(p),i.set(c.id,p),t.push(c)}),{nodes:t,nodeComponents:n,renderGraphMap:r,nodeComponentMap:i}}buildEdges(e,t){let n=[],r=[],i=new Map,a=this.deps.getEdgeMap(),o=e.nodeLimitExceeded||e.graph.children&&e.graph.children.length>50;return e.graph.edges?.forEach(s=>{let c=s,l=t.get(c.sources[0]);l?.outputs.push(c);let u=t.get(c.targets[0]);u?.inputs.push(c),c.ref.length>0&&l&&(l.isRef=!0);let d=new Bi,f=a.get(c.id)?.dependency||!1,p=u?.changeCategory??Gt.NONE,m=!!u?.isLeaf&&!qte(u?.node?.type)&&c.ref.length===0&&(!c.poly||c.poly===``),h={edge:c,visible:!e.collapsedEdges.has(c.id),animated:!o,bendPoints:e.bendPoints,bendCurve:e.bendEdges,roundCorners:m,isDependency:f,dim:f&&e.povMode,changeCategory:p};d.configure(h),n.push(c),r.push(d),i.set(c.id,d)}),this.applyLeafDetection(t,i),{edges:n,edgeComponents:r,edgeComponentMap:i}}resolveNodeInstance(e,t,n){return e.instance&&typeof e.instance==`object`&&!e.instance.$ref?e.instance:t?.instance||n?.instance}applyLeafDetection(e,t){e.forEach(e=>{e.outputs.length<=0?(e.isLeaf=!0,e.inputs.forEach(e=>{let n=t.get(e.id);n&&(n.targetIsLeaf=!0)})):e.outputs.forEach(n=>{if(n.ref!==``){let r=t.get(n.id);r&&r.targetIsLeaf&&(r.targetIsLeaf=!1,e.isLeaf=!1,e.isRef=!0)}})})}};function qte(e){return e?Gte.has(e):!1}function Jte(){return ot` + marker-end="url(#${n})"/>`;this.sections.push(s),e+=1}),it`${this.sections}`}shouldUseRoundedPath(){return this.roundCorners&&this.edge.ref.length===0&&(!this.edge.poly||this.edge.poly===``)}buildPath(e){return!this.bendCurve||this.edgePathStyle===`polyline`?Xi(e):this.edgePathStyle===`rounded-orthogonal`?this.shouldUseRoundedPath()?nne(e):Xi(e):tne(e)||Xi(e)}};Yi=Zte([Ct(`pb33f-explorer-edge`)],Yi);var Qte=Yte().x(e=>e.x).y(e=>e.y).curve(Xte.beta(1));function $te(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),ene(n)}function ene(e){if(e.length<=2)return[...e];let t=[];for(let n of e){let e=t[t.length-1];(!e||e.x!==n.x||e.y!==n.y)&&t.push(n)}if(t.length<=2)return t;let n=[t[0]];for(let e=1;e0);n+=` L ${m.x} ${m.y}`,n+=` A ${p} ${p} 0 0 ${g} ${h.x} ${h.y}`}let r=e[e.length-1];return n+=` L ${r.x} ${r.y}`,n}var rne=new Set([D.DOCUMENT,D.INFO,D.COMPONENTS,D.PATHS,D.SCHEMAS,D.PARAMETERS,D.RESPONSES,D.REQUEST_BODY,D.REQUEST_BODIES,D.TAGS,D.SECURITY,D.SECURITY_SCHEMES,D.SERVERS,D.HEADERS,D.LINKS,D.CALLBACKS,D.PATH_ITEMS,D.OPERATIONS,D.EXAMPLES,D.EXTENSIONS,D.WEBHOOKS]),ine=class{constructor(e){this.deps=e}createNodeComponent(e){let t=this.deps.getNodeMap();switch(e){case D.DOCUMENT:return new pi(t);case D.INFO:return new mi(t);case D.LICENSE:return new hi(t);case D.CONTACT:return new gi(t);case D.TAG:return new _i(t);case D.SERVER:return new bi(t);case D.COMPONENTS:return new xi(t);case D.SCHEMA:return new Ci(t);case D.SECURITY_SCHEME:return new wi(t);case D.PARAMETER:return new Ti(t);case D.HEADER:return new Ei(t);case D.REQUEST_BODY:return new Di(t);case D.MEDIA_TYPE:return new ki(t);case D.RESPONSE:return new ji(t);case D.LINK:return new Mi(t);case D.CALLBACK:return new Ni(t);case D.PATH_ITEM:return new Pi(t);case D.OPERATION:return new Fi(t);case D.XML:return new Ii(t);default:return new fi(t)}}buildNodes(e){let t=[],n=[],r=new Map,i=new Map,a=this.deps.getNodeMap(),o=this.deps.getDefinitionCache();return e.graphResponse.nodes?.forEach(e=>{a.set(e.id,e),e.instance&&typeof e.instance==`object`&&!e.instance.$ref&&o.set(e.id,e)}),e.graphResponse.edges?.forEach(e=>{this.deps.getEdgeMap().set(e.id,e)}),e.graph.children?.forEach(s=>{let c=s;c.x&&c.y&&(c.x=Math.round(c.x),c.y=Math.round(c.y));let l=e.graphMode===Wt.change?new Li(a):this.createNodeComponent(c.type);l.height=c.height,l.width=c.width-2,l.id=c.id,l.label=c.label,l.isLeaf=!(c.nodes&&c.nodes.length>0),l.expanded=e.expandedNodes.has(c.id),l.moreChildrenCount=e.hasMoreChildren.get(c.id)||0,l.node=c,l.inPovMode=e.povMode,l.povNodeId=e.povNodeId,l.disablePovMode=e.disablePovMode,l.hideExamples=e.hideExamples;let u=a.get(c.id);l.nodeInstance=this.resolveNodeInstance(c,o.get(c.id),u),l.violationMap=e.violationMap,c.violationIds=u?.violationIds;let d=u?.dependency||!1;l.isDependency=d,l.dim=d&&e.povMode;let f=e.activeNode&&e.activeNode.id===c.id;f&&(l.active=!0),r.set(c.id,l);let p=new Ri,m={id:c.id,x:c.x,y:c.y,width:c.width,height:c.height,body:l,active:f,visible:!0};p.configure(m),n.push(p),i.set(c.id,p),t.push(c)}),{nodes:t,nodeComponents:n,renderGraphMap:r,nodeComponentMap:i}}buildEdges(e,t){let n=[],r=[],i=new Map,a=this.deps.getEdgeMap(),o=e.nodeLimitExceeded||e.graph.children&&e.graph.children.length>50;return e.graph.edges?.forEach(s=>{let c=s,l=t.get(c.sources[0]);l?.outputs.push(c);let u=t.get(c.targets[0]);u?.inputs.push(c),c.ref.length>0&&l&&(l.isRef=!0);let d=new Yi,f=a.get(c.id)?.dependency||!1,p=u?.changeCategory??Gt.NONE,m=!!u?.isLeaf&&!ane(u?.node?.type)&&c.ref.length===0&&(!c.poly||c.poly===``),h={edge:c,visible:!e.collapsedEdges.has(c.id),animated:!o,bendPoints:e.bendPoints,bendCurve:e.bendEdges,edgePathStyle:e.edgePathStyle,roundCorners:m,isDependency:f,dim:f&&e.povMode,changeCategory:p};d.configure(h),n.push(c),r.push(d),i.set(c.id,d)}),this.applyLeafDetection(t,i),{edges:n,edgeComponents:r,edgeComponentMap:i}}resolveNodeInstance(e,t,n){return e.instance&&typeof e.instance==`object`&&!e.instance.$ref?e.instance:t?.instance||n?.instance}applyLeafDetection(e,t){e.forEach(e=>{e.outputs.length<=0?(e.isLeaf=!0,e.inputs.forEach(e=>{let n=t.get(e.id);n&&(n.targetIsLeaf=!0)})):e.outputs.forEach(n=>{if(n.ref!==``){let r=t.get(n.id);r&&r.targetIsLeaf&&(r.targetIsLeaf=!1,e.isLeaf=!1,e.isRef=!0)}})})}};function ane(e){return e?rne.has(e):!1}function one(){return it` - `}var Yte=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Xte=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Zte=class{constructor(e){this.childrenMapCache=null,this.expandedNodes=new Set([`root`]),this.visibleChildrenCount=new Map,this.pathRevealNodes=new Set,this.pathRevealTarget=null,this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null,this.CHILD_BATCH_SIZE=10,this.callbacks=e}toggleNodeExpansion(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.clearPathRevealDescendants(e);this.expandedNodes.has(e)?this.expandedNodes.delete(e):t||this.expandedNodes.add(e),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}loadMoreChildren(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE;this.visibleChildrenCount.set(e,t+this.CHILD_BATCH_SIZE),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}isNodeExpanded(e){return this.expandedNodes.has(e)}isNodeCurrentlyVisible(e){if(e===`root`)return!0;let t=this.callbacks.getNodeMap().get(e);if(!t)return!1;let n=t.parentId||`root`;if(!this.expandedNodes.has(n))return!1;if(!this.childrenMapCache)return!0;let r=this.childrenMapCache.get(n);if(!r)return!0;let i=this.visibleChildrenCount.get(n)||this.CHILD_BATCH_SIZE,a=r.findIndex(t=>t.id===e);return a>=0&&ae.id===t.id);if(r<0){n.push(t);let r=n.length;r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}else r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}}revealPathToNode(e,t){if(t)return;let n=this.callbacks.getNodeMap(),r=[],i=e;for(;i&&i!==`root`;){let e=n.get(i);if(!e||this.isNodeCurrentlyVisible(i)||this.pathRevealNodes.has(i))break;r.push(i),i=e.parentId||`root`}let a=n.get(e);if(r.length===0){a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a),this.callbacks.moveToNode(a));return}r.reverse();for(let e of r)this.pathRevealNodes.add(e);this.pathRevealTarget=e,a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a)),this.callbacks.buildGraph().then(()=>{a&&this.callbacks.moveToNode(a)})}clearPathReveal(){this.pathRevealNodes.size>0&&(this.pathRevealNodes.clear(),this.pathRevealTarget=null)}clearPathRevealDescendants(e){if(this.pathRevealNodes.size===0)return!1;let t=this.callbacks.getNodeMap(),n=[];for(let r of this.pathRevealNodes){let i=r;for(;i&&i!==`root`;){let a=t.get(i);if(!a)break;if(a.parentId===e){n.push(r);break}i=a.parentId}}for(let e of n)this.pathRevealNodes.delete(e);return this.pathRevealTarget&&n.includes(this.pathRevealTarget)&&(this.pathRevealTarget=null),n.length>0}hasPathReveal(){return this.pathRevealNodes.size>0}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(){if(this.childrenMapCache)return;this.childrenMapCache=new Map;let e=this.callbacks.getGraphResponseNodes()||[];for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}getState(){return{expandedNodes:this.expandedNodes,visibleChildrenCount:this.visibleChildrenCount,pathRevealNodes:this.pathRevealNodes,pathRevealTarget:this.pathRevealTarget}}saveState(){return{expandedNodes:new Set(this.expandedNodes),visibleChildrenCount:new Map(this.visibleChildrenCount)}}restoreState(e){this.expandedNodes.clear();for(let t of e.expandedNodes)this.expandedNodes.add(t);this.visibleChildrenCount.clear();for(let[t,n]of e.visibleChildrenCount)this.visibleChildrenCount.set(t,n)}},Qte=class{constructor(e){this.childrenMapCache=null,this.positionCache=new Map,this.callbacks=e}filterGraphByExpansion(e,t,n){let r=new Map,i=new Map,a=this.callbacks.getExpandedNodes(),o=this.callbacks.getVisibleChildrenCount(),s=this.callbacks.getPathRevealNodes(),c=this.callbacks.getChildBatchSize(),l=e.find(e=>e.id===`root`);if(l&&r.set(`root`,l),this.buildChildrenMapCache(e),n)for(let t of e)r.set(t.id,t);else{let e=[`root`],t=0;for(;ta&&i.set(n,t.length-a)}else if(s.size>0){let t=this.childrenMapCache.get(n)||[];for(let n of t)s.has(n.id)&&(r.set(n.id,n),e.push(n.id))}}}let u=t.filter(e=>!(!r.has(e.sources[0])||!r.has(e.targets[0])));return{nodes:Array.from(r.values()),edges:u,hasMoreChildren:i}}preservePositions(e){this.positionCache.clear(),e?.children?.forEach(e=>{e.x!==void 0&&e.y!==void 0&&this.positionCache.set(e.id,{x:e.x,y:e.y})})}applyPositionHints(e){for(let t of e){let e=this.positionCache.get(t.id);e&&(t.x=e.x,t.y=e.y)}}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(e){if(!this.childrenMapCache){this.childrenMapCache=new Map;for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}}clearPositionCache(){this.positionCache.clear()}getPositionCache(){return this.positionCache}},Hi=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ui,Wi;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(Wi||={});var Gi=Ui=class extends ii{get expandedNodes(){return this.expansionManager.expandedNodes}get visibleChildrenCount(){return this.expansionManager.visibleChildrenCount}get pathRevealNodes(){return this.expansionManager.pathRevealNodes}get pathRevealTarget(){return this.expansionManager.pathRevealTarget}constructor(){super(),this.embeddedMode=!1,this.disablePovMode=!1,this.hideExamples=!1,this.hideControls=!1,this.changeView=!1,this.graphMode=Wt.standard,this.povPreviousViewBox=null,this.povFocusNodeId=null,this.layoutRequestId=0,this.nodeComponents=[],this.edgeComponents=[],this.scale=1,this.isDragging=!1,this.dragThreshold=5,this.dragStartViewBoxX=0,this.dragStartViewBoxY=0,this.previousActiveNodeId=null,this.zoomMax=8e3,this.zoomMin=50,this.collapsedNodes=new Map,this.collapsedEdges=new Map,this.hasMoreChildren=new Map,this.currentAnimationId=0,this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null,this.resizeObserver=null,this.containerWidth=0,this.containerHeight=0,this._resizeRafId=0,this.ready=!1,this.direction=Wi.RIGHT,this.nodeMap=new Map,this.definitionCache=new Map,this.edgeMap=new Map,this.violationMap=new Map,this.renderGraphMap=new Map,this.edgeComponentMap=new Map,this.nodeComponentMap=new Map,this.collapsedNodes=new Map,this.nodes=[],this.edges=[],this.nodeNodeBetweenLayers=`100`,this.nodeNode=`80`,this.edgeNodeBetweenLayers=`30`,this.edgeNode=`120`,this.bendEdges=!0,this.bendPoints=!0,this.nodeLimitExceeded=!1,this.nodeLimit=-1,this.equalizer=new ci,this.renderEqualizer=!0,this.equalizer.renderEqualizer=this.renderEqualizer,this.equalizer.nodeNodeBetweenLayers=parseInt(this.nodeNodeBetweenLayers),this.equalizer.nodeNode=parseInt(this.nodeNode),this.equalizer.edgeNodeBetweenLayers=parseInt(this.edgeNodeBetweenLayers),this.equalizer.edgeNode=parseInt(this.edgeNode),this.equalizer.bendEdges=this.bendEdges,this.equalizer.bendPoints=this.bendPoints,this.zoomX=null,this.zoomY=null,this.zoomW=null,this.zoomH=null,this.graphDependentWorker=Ui.graphDependentWorkerFactory?Ui.graphDependentWorkerFactory():new Yte,this.elkLayoutWorker=Ui.elkWorkerFactory?Ui.elkWorkerFactory():new Xte,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new Zte({getNodeMap:()=>this.nodeMap,getGraphResponseNodes:()=>this.graphResponse?.nodes,buildGraph:()=>this.buildGraph(),moveToNode:e=>this.moveToNode(e),getActiveNode:()=>this.activeNode,setActiveNode:e=>{if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}if(this.activeNode=e,e&&this.renderGraphMap){let t=this.renderGraphMap.get(e.id);t&&(t.active=!0)}this.requestUpdate()},setPreviousActiveNodeId:e=>{this.previousActiveNodeId=e},getNodeScreenOffset:e=>this.getNodeScreenOffset(e),restoreNodeScreenPosition:(e,t)=>this.restoreNodeScreenPosition(e,t),preservePositions:()=>this.layoutFilterManager.preservePositions(this.graph)}),this.layoutFilterManager=new Qte({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new Kte({getNodeMap:()=>this.nodeMap,getDefinitionCache:()=>this.definitionCache,getEdgeMap:()=>this.edgeMap}),this.boundZoomIn=this.zoomIn.bind(this),this.boundZoomOut=this.zoomOut.bind(this),this.boundRotate=this.rotate.bind(this),this.boundReset=this.reset.bind(this),this.boundEqualizerChanged=this.equalizerChanged.bind(this),this.boundEqualizerFiltered=this.equalizerFiltered.bind(this),this.boundDependentNodeClicked=this.dependentNodeClicked.bind(this),this.boundLoadMoreChildren=this.loadMoreChildrenClicked.bind(this),this.boundPovModeExit=this.handlePovModeExit.bind(this),this.boundGraphDependentMessage=e=>{this.toggleNodeVisibility(e.data.filteredNodes,e.data.filteredEdges,e.data.collapse)},this.equalizer.addEventListener(En,this.boundZoomIn),this.equalizer.addEventListener(Dn,this.boundZoomOut),this.equalizer.addEventListener(On,this.boundRotate),this.equalizer.addEventListener(kn,this.boundReset),this.equalizer.addEventListener(Pn,this.boundEqualizerChanged),this.equalizer.addEventListener(Fn,this.boundEqualizerFiltered),this.addEventListener(In,this.boundDependentNodeClicked),this.addEventListener(Ln,this.boundLoadMoreChildren),this.equalizer.addEventListener(Rn,this.boundPovModeExit),this.graphDependentWorker.onmessage=this.boundGraphDependentMessage}connectedCallback(){super.connectedCallback(),this.setupResizeObserver()}disconnectedCallback(){super.disconnectedCallback(),this.elkLayoutWorker?.terminate(),this.graphDependentWorker?.terminate(),this.resizeObserver?.disconnect(),this.resizeObserver=null,this.equalizer.removeEventListener(En,this.boundZoomIn),this.equalizer.removeEventListener(Dn,this.boundZoomOut),this.equalizer.removeEventListener(On,this.boundRotate),this.equalizer.removeEventListener(kn,this.boundReset),this.equalizer.removeEventListener(Pn,this.boundEqualizerChanged),this.equalizer.removeEventListener(Fn,this.boundEqualizerFiltered),this.equalizer.removeEventListener(Rn,this.boundPovModeExit),this.removeEventListener(In,this.boundDependentNodeClicked),this.removeEventListener(Ln,this.boundLoadMoreChildren)}setupResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{cancelAnimationFrame(this._resizeRafId),this._resizeRafId=requestAnimationFrame(()=>{let{width:e,height:t}=this.getBoundingClientRect();e===0||t===0||Math.abs(e-this.containerWidth)<2&&Math.abs(t-this.containerHeight)<2||(this.containerWidth=e,this.containerHeight=t)})}),this.resizeObserver.observe(this)}updateViewBoxForContainer(){if(!this.svgItem||this.containerWidth===0||this.containerHeight===0)return;let e=this.svgItem.viewBox.baseVal,t=e.x+e.width/2,n=e.y+e.height/2,r=this.containerWidth/this.containerHeight,i=this.buildBaseViewBox().base+300,a,o;r>1?(o=i,a=i*r):(a=i,o=i/r),e.width=a,e.height=o,e.x=t-a/2,e.y=n-o/2,this.zoomW=a,this.zoomH=o,this.zoomX=e.x,this.zoomY=e.y}toggleNodeVisibility(e,t,n){e.forEach(e=>{if(!e?.id)return;let t=this.nodeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedNodes.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedNodes.delete(e.id)))}),t.forEach(e=>{if(!e?.id)return;let t=this.edgeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedEdges.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedEdges.delete(e.id)))}),this.requestUpdate()}dependentNodeClicked(e){let t=e.detail.node.id;this.toggleNodeExpansion(t)}loadMoreChildrenClicked(e){this.loadMoreChildren(e.detail.parentId)}enterPovMode(e,t){let n=this.expansionManager.saveState();this.savedExpandedNodes=n.expandedNodes,this.savedVisibleChildrenCount=n.visibleChildrenCount,this.povMode=!0,this.povFocusNodeId=e,this.povNode=t,this.povNodeId=e}exitPovMode(e=!0){this.savedExpandedNodes&&this.savedVisibleChildrenCount&&(this.expansionManager.restoreState({expandedNodes:this.savedExpandedNodes,visibleChildrenCount:this.savedVisibleChildrenCount}),this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null),this.graphResponse?.nodes?.forEach(e=>{e.dependency&&=!1}),this.graphResponse?.edges?.forEach(e=>{e.dependency&&=!1}),this.povMode=!1,this.povNode=null,this.equalizer.controls.povNode=null,e&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache())}handlePovModeExit(){this.exitPovMode(!0)}updateGraphResponse(e){this.graphResponse=e,this.graphMode=e.mode||(this.changeView?Wt.change:Wt.standard),this.changeView=this.graphMode===Wt.change,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.equalizer.graphResponse=e,this.equalizer.controls.searchComponent.graphResponse=e,this.violationMap.clear(),e.violations&&Object.entries(e.violations).forEach(([e,t])=>{this.violationMap.set(e,t)}),this.buildGraph().then(()=>{setTimeout(()=>{this.activeNode||this.centerOnRoot()},50)})}rotate(){switch(this.direction){case Wi.LEFT:this.direction=Wi.UP;break;case Wi.DOWN:this.direction=Wi.LEFT;break;case Wi.RIGHT:this.direction=Wi.DOWN;break;case Wi.UP:this.direction=Wi.RIGHT;break}this.resetNodes(),this.buildGraph().then(()=>{setTimeout(()=>{if(this.activeNode){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id}}));return}},200)})}mouseMove(e){if(this.grabbed){let t=Math.sqrt((e.clientX-this.startX)**2+(e.clientY-this.startY)**2);!this.isDragging&&t>this.dragThreshold&&(this.isDragging=!0),this.isDragging&&requestAnimationFrame(()=>{let t=this.svgItem.viewBox.baseVal,n=(e.clientX-this.startX)*(t.width/this.svgItem.clientWidth),r=(e.clientY-this.startY)*(t.height/this.svgItem.clientHeight);t.x=this.dragStartViewBoxX-n,t.y=this.dragStartViewBoxY-r,this.zoomX=t.x,this.zoomY=t.y,this.zoomW=t.width,this.zoomH=t.height})}}mouseDown(e){this.grabbed=!0;let t=this.svgItem.viewBox.baseVal;this.startX=e.clientX,this.startY=e.clientY,this.dragStartViewBoxX=t.x,this.dragStartViewBoxY=t.y}mouseUp(){this.grabbed=!1,this.isDragging=!1}zoom(e){e=Math.abs(e)<.02?e/Math.abs(e)*.02:e;let[t,n,r,i]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],a=t+r/2,o=n+i/2,[s,c]=[r+r*e,i+i*e],l=a-s/2,u=o-c/2;s>=this.zoomMax||s<=this.zoomMin||(this.svgItem.setAttribute(`viewBox`,`${l} ${u} ${s} ${c}`),this.zoomX=l,this.zoomY=u,this.zoomW=s,this.zoomH=c)}zoomIn(){this.zoom(-.1)}zoomOut(){this.zoom(.1)}onWheel(e){e.preventDefault();let t=e.deltaY/1e3;t=Math.abs(t)<.02?.02*e.deltaY/Math.abs(e.deltaY):t;let n=new DOMPoint(e.clientX,e.clientY);n=n.matrixTransform(this.svgItem.getScreenCTM()?.inverse());let[r,i,a,o]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],[s,c]=[(n.x-r)/a,(n.y-i)/o],[l,u]=[a+a*t,o+o*t],d=n.x-s*l,f=n.y-c*u;l>=this.zoomMax||l<=this.zoomMin||Number.isNaN(d)||Number.isNaN(f)||Number.isNaN(l)||Number.isNaN(u)||requestAnimationFrame(()=>{this.zoomX=d,this.zoomY=f,this.zoomW=l,this.zoomH=u,this.svgItem.setAttribute(`viewBox`,`${d} ${f} ${l} ${u}`)})}equalizerFiltered(e){this.clearPathReveal(),this.graphResponse=e.detail.graph,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.extractEQPreferences(e);let t=e.detail.povMode;this.povNodeId=e.detail.povNodeId||null,t&&(this.povMode=!0),this.buildGraph().then(()=>{t&&this.povFocusNodeId?(this.equalizer.controls.povNode=this.povNode,setTimeout(()=>{let e=this.graphResponse.nodes?.find(e=>e.id===this.povFocusNodeId);e&&this.moveToNode(e,!1)},50)):this.activeNode||setTimeout(()=>{this.centerOnRoot()},50)})}extractEQPreferences(e){e.detail.spacing&&(e.detail.spacing.nodeNodeBetweenLayers&&(this.nodeNodeBetweenLayers=e.detail.spacing.nodeNodeBetweenLayers.toString()),e.detail.spacing.nodeNode&&(this.nodeNode=e.detail.spacing.nodeNode.toString()),e.detail.spacing.edgeNodeBetweenLayers&&(this.edgeNodeBetweenLayers=e.detail.spacing.edgeNodeBetweenLayers.toString()),e.detail.spacing.edgeNode&&(this.edgeNode=e.detail.spacing.edgeNode.toString()),this.bendEdges=!!e.detail.spacing.bendEdges,this.bendPoints=!!e.detail.spacing.bendPoints)}equalizerChanged(e){this.clearPathReveal(),e.detail.graph.nodes.length>0&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.graphResponse=e.detail.graph),this.extractEQPreferences(e),this.buildGraph().then(()=>{setTimeout(()=>{this.activeNode&&this._visible&&this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id,first:!0}}))},50)})}resetNodes(){this.graph.children?.forEach(e=>{let t=e;delete t.x,delete t.y}),this.graph.edges?.forEach(e=>{delete e.sections})}filterGraphByExpansion(e,t){return this.layoutFilterManager.filterGraphByExpansion(e,t,this.povMode)}preservePositions(){this.layoutFilterManager.preservePositions(this.graph)}applyPositionHints(e){this.layoutFilterManager.applyPositionHints(e)}toggleNodeExpansion(e){this.expansionManager.toggleNodeExpansion(e)}loadMoreChildren(e){this.expansionManager.loadMoreChildren(e)}isNodeExpanded(e){return this.expansionManager.isNodeExpanded(e)}isNodeCurrentlyVisible(e){return this.expansionManager.isNodeCurrentlyVisible(e)}invalidateChildrenCache(){this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache()}addToNodeMap(e){this.nodeMap.has(e.id)||this.nodeMap.set(e.id,e)}ensureNodesVisible(e){this.expansionManager.ensureNodesVisible(e)}revealPathToNode(e){this.expansionManager.revealPathToNode(e,this.povMode)}clearPathReveal(){this.expansionManager.clearPathReveal()}generateOptions(){return{"spacing.nodeNodeBetweenLayers":this.nodeNodeBetweenLayers,"spacing.nodeNode":this.nodeNode,"elk.nodeLabels.placement":`INSIDE V_CENTER H_RIGHT`,"elk.algorithm":`layered`,"elk.direction":this.direction,"org.eclipse.elk.edgeRouting":`ORTHOGONAL`,"elk.layered.unnecessaryBendpoints":`true`,"elk.layered.spacing.edgeNodeBetweenLayers":this.edgeNodeBetweenLayers,"org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment":`BALANCED`,"org.eclipse.elk.layered.cycleBreaking.strategy":`DEPTH_FIRST`,"nodePlacement.strategy":`BRANDES_KOEPF`,"org.eclipse.elk.spacing.edgeLabel":`0`,"org.eclipse.elk.spacing.edgeNode":this.edgeNode,"org.eclipse.elk.layered.edgeLabels.sideSelection":`ALWAYS_UP`,"org.eclipse.elk.spacing.portPort":`10`,"elk.interactive":`true`,"elk.interactiveLayout":`true`,"elk.layered.interactiveReferencePoint":`CENTER`,"elk.layered.crossingMinimization.semiInteractive":`true`,"elk.layered.considerModelOrder.strategy":`NODES_AND_EDGES`}}buildGraph(){let e=++this.layoutRequestId,t=this.generateOptions(),n=this.filterGraphByExpansion(this.graphResponse.nodes||[],this.graphResponse.edges||[]);this.hasMoreChildren=n.hasMoreChildren,this.applyPositionHints(n.nodes);let r={id:`root`,layoutOptions:t,children:n.nodes,edges:n.edges};return this.nodeMap.clear(),this.equalizer.graphResponse||(this.equalizer.graphResponse=this.graphResponse),new Promise((n,i)=>{let a=()=>{this.elkLayoutWorker.removeEventListener(`message`,o),this.elkLayoutWorker.removeEventListener(`error`,s)},o=t=>{t.data.requestId===e&&(a(),t.data.success?(this.graph=t.data.graph,this.readyGo(),n(this.graph)):i(Error(t.data.error)))},s=e=>{a(),i(Error(`Worker error: ${e.message}`))};this.elkLayoutWorker.addEventListener(`message`,o),this.elkLayoutWorker.addEventListener(`error`,s),this.elkLayoutWorker.postMessage({requestId:e,graph:r,layoutOptions:t})})}buildNodes(){this.nodeMap.clear(),this.definitionCache.clear(),this.edgeMap.clear();let e=this.explorerComponentFactory.buildNodes({graph:this.graph,graphResponse:this.graphResponse,expandedNodes:this.expandedNodes,hasMoreChildren:this.hasMoreChildren,povMode:this.povMode,povNodeId:this.povNodeId,activeNode:this.activeNode,violationMap:this.violationMap,disablePovMode:this.disablePovMode,hideExamples:this.hideExamples,changeView:this.changeView,graphMode:this.graphMode});this.nodes=e.nodes,this.nodeComponents=e.nodeComponents,this.renderGraphMap=e.renderGraphMap,this.nodeComponentMap=e.nodeComponentMap}buildEdges(){let e=this.explorerComponentFactory.buildEdges({graph:this.graph,collapsedEdges:this.collapsedEdges,bendPoints:this.bendPoints,bendEdges:this.bendEdges,nodeLimitExceeded:this.nodeLimitExceeded,povMode:this.povMode},this.renderGraphMap);this.edges=e.edges,this.edgeComponents=e.edgeComponents,this.edgeComponentMap=e.edgeComponentMap}readyGo(){this.buildNodes(),this.buildEdges(),this.ready=!0,this.requestUpdate()}reset(){this.direction=Wi.RIGHT;let e=this.buildBaseViewBox().base+300,t=e,n=e;if(this.containerWidth>0&&this.containerHeight>0){let r=this.containerWidth/this.containerHeight;r>1?(n=e,t=e*r):(t=e,n=e/r)}this.zoomH=n,this.zoomW=t,this.zoomX=-150,this.zoomY=-150,this.svgItem.setAttribute(`viewBox`,`-150 -150 ${t} ${n}`),this.resetNodes(),this.buildGraph().then(()=>{setTimeout(()=>{this.snapToRoot()},150)})}snapToRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=e.width||0,r=e.height||0;this.snapViewBox(e.x-t.width/2+n/2,e.y-t.height/2+r/2)}this.activeNode=e}}resetSelection(){if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}this.activeNode=void 0,this.previousActiveNodeId=null,this.requestUpdate()}centerOnRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=e.width||0,r=e.height||0;this.animateViewBox(e.x-t.width/2+n/2,e.y-t.height/2+r/2,200)}this.activeNode=e}}navigateToRoot(){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:`root`,first:!0}}))}animateViewBox(e,t,n){let r=++this.currentAnimationId,i=this.svgItem.viewBox.baseVal,a=i.x,o=i.y,s=performance.now(),c=e=>e<.5?4*e*e*e:1-(-2*e+2)**3/2,l=this;function u(d){if(r!==l.currentAnimationId)return;let f=d-s,p=Math.min(f/n,1),m=c(p);i.x=a+(e-a)*m,i.y=o+(t-o)*m,l.zoomX=i.x,l.zoomY=i.y,p<1&&requestAnimationFrame(u)}requestAnimationFrame(u)}snapViewBox(e,t){this.currentAnimationId++;let n=this.svgItem.viewBox.baseVal;n.x=e,n.y=t,this.zoomX=e,this.zoomY=t,this.zoomW=n.width,this.zoomH=n.height}getNodeScreenOffset(e){let t=this.svgItem?.viewBox?.baseVal;if(!t)return null;let n=this.graph?.children?.find(t=>t.id===e);if(!n||n.x===void 0||n.y===void 0)return null;let r=n.width||0,i=n.height||0,a=n.x+r/2,o=n.y+i/2,s=t.x+t.width/2,c=t.y+t.height/2;return{x:a-s,y:o-c}}restoreNodeScreenPosition(e,t){let n=this.svgItem?.viewBox?.baseVal;if(!n)return;let r=this.graph?.children?.find(t=>t.id===e);if(!r||r.x===void 0||r.y===void 0)return;let i=r.width||0,a=r.height||0,o=r.x+i/2,s=r.y+a/2,c=o-t.x,l=s-t.y,u=c-n.width/2,d=l-n.height/2;this.snapViewBox(u,d)}moveToNode(e,t=!1,n=!1){if(this.svgItem&&this.graph?.children){let t=this.svgItem.viewBox.baseVal,r=this.graph.children.find(t=>t.id===e.id);if(r&&r.x!==void 0&&r.y!==void 0&&!r.filtered){let e=r.width||0,i=r.height||0,a=r.x-t.width/2+e/2,o=r.y-t.height/2+i/2;n?this.snapViewBox(a,o):this.animateViewBox(a,o,200)}}}buildBaseViewBox(){let e=600,t=0;return this.graph.children?.forEach(()=>{e+=1,t+=20}),t>900&&(t=900),{base:e,offset:t}}render(){if(!this.ready)return T` + `}var sne=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},cne=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},lne=class{constructor(e){this.childrenMapCache=null,this.expandedNodes=new Set([`root`]),this.visibleChildrenCount=new Map,this.pathRevealNodes=new Set,this.pathRevealTarget=null,this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null,this.CHILD_BATCH_SIZE=10,this.callbacks=e}toggleNodeExpansion(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.clearPathRevealDescendants(e);this.expandedNodes.has(e)?this.expandedNodes.delete(e):t||this.expandedNodes.add(e),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}loadMoreChildren(e){this.callbacks.preservePositions(),this.pendingExpansionNodeId=e,this.expansionNodeScreenOffset=this.callbacks.getNodeScreenOffset(e);let t=this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE;this.visibleChildrenCount.set(e,t+this.CHILD_BATCH_SIZE),this.callbacks.buildGraph().then(()=>{this.pendingExpansionNodeId&&this.expansionNodeScreenOffset&&this.callbacks.restoreNodeScreenPosition(this.pendingExpansionNodeId,this.expansionNodeScreenOffset),this.pendingExpansionNodeId=null,this.expansionNodeScreenOffset=null})}isNodeExpanded(e){return this.expandedNodes.has(e)}isNodeCurrentlyVisible(e){if(e===`root`)return!0;let t=this.callbacks.getNodeMap().get(e);if(!t)return!1;let n=t.parentId||`root`;if(!this.expandedNodes.has(n))return!1;if(!this.childrenMapCache)return!0;let r=this.childrenMapCache.get(n);if(!r)return!0;let i=this.visibleChildrenCount.get(n)||this.CHILD_BATCH_SIZE,a=r.findIndex(t=>t.id===e);return a>=0&&ae.id===t.id);if(r<0){n.push(t);let r=n.length;r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}else r>=(this.visibleChildrenCount.get(e)||this.CHILD_BATCH_SIZE)&&this.visibleChildrenCount.set(e,r+1)}}revealPathToNode(e,t){if(t)return;let n=this.callbacks.getNodeMap(),r=[],i=e;for(;i&&i!==`root`;){let e=n.get(i);if(!e||this.isNodeCurrentlyVisible(i)||this.pathRevealNodes.has(i))break;r.push(i),i=e.parentId||`root`}let a=n.get(e);if(r.length===0){a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a),this.callbacks.moveToNode(a));return}r.reverse();for(let e of r)this.pathRevealNodes.add(e);this.pathRevealTarget=e,a&&(this.callbacks.setPreviousActiveNodeId(this.callbacks.getActiveNode()?.id||null),this.callbacks.setActiveNode(a)),this.callbacks.buildGraph().then(()=>{a&&this.callbacks.moveToNode(a)})}clearPathReveal(){this.pathRevealNodes.size>0&&(this.pathRevealNodes.clear(),this.pathRevealTarget=null)}clearPathRevealDescendants(e){if(this.pathRevealNodes.size===0)return!1;let t=this.callbacks.getNodeMap(),n=[];for(let r of this.pathRevealNodes){let i=r;for(;i&&i!==`root`;){let a=t.get(i);if(!a)break;if(a.parentId===e){n.push(r);break}i=a.parentId}}for(let e of n)this.pathRevealNodes.delete(e);return this.pathRevealTarget&&n.includes(this.pathRevealTarget)&&(this.pathRevealTarget=null),n.length>0}hasPathReveal(){return this.pathRevealNodes.size>0}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(){if(this.childrenMapCache)return;this.childrenMapCache=new Map;let e=this.callbacks.getGraphResponseNodes()||[];for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}getState(){return{expandedNodes:this.expandedNodes,visibleChildrenCount:this.visibleChildrenCount,pathRevealNodes:this.pathRevealNodes,pathRevealTarget:this.pathRevealTarget}}saveState(){return{expandedNodes:new Set(this.expandedNodes),visibleChildrenCount:new Map(this.visibleChildrenCount)}}restoreState(e){this.expandedNodes.clear();for(let t of e.expandedNodes)this.expandedNodes.add(t);this.visibleChildrenCount.clear();for(let[t,n]of e.visibleChildrenCount)this.visibleChildrenCount.set(t,n)}},une=class{constructor(e){this.childrenMapCache=null,this.positionCache=new Map,this.callbacks=e}filterGraphByExpansion(e,t,n){let r=new Map,i=new Map,a=this.callbacks.getExpandedNodes(),o=this.callbacks.getVisibleChildrenCount(),s=this.callbacks.getPathRevealNodes(),c=this.callbacks.getChildBatchSize(),l=e.find(e=>e.id===`root`);if(l&&r.set(`root`,l),this.buildChildrenMapCache(e),n)for(let t of e)r.set(t.id,t);else{let e=[`root`],t=0;for(;ta&&i.set(n,t.length-a)}else if(s.size>0){let t=this.childrenMapCache.get(n)||[];for(let n of t)s.has(n.id)&&(r.set(n.id,n),e.push(n.id))}}}let u=t.filter(e=>!(!r.has(e.sources[0])||!r.has(e.targets[0])));return{nodes:Array.from(r.values()),edges:u,hasMoreChildren:i}}preservePositions(e){this.positionCache.clear(),e?.children?.forEach(e=>{e.x!==void 0&&e.y!==void 0&&this.positionCache.set(e.id,{x:e.x,y:e.y})})}applyPositionHints(e){for(let t of e){let e=this.positionCache.get(t.id);e&&(t.x=e.x,t.y=e.y)}}invalidateChildrenCache(){this.childrenMapCache=null}getChildrenMapCache(){return this.childrenMapCache}setChildrenMapCache(e){this.childrenMapCache=e}buildChildrenMapCache(e){if(!this.childrenMapCache){this.childrenMapCache=new Map;for(let t of e){if(t.id===`root`)continue;let e=t.parentId||`root`;this.childrenMapCache.has(e)||this.childrenMapCache.set(e,[]),this.childrenMapCache.get(e).push(t)}}}clearPositionCache(){this.positionCache.clear()}getPositionCache(){return this.positionCache}},Zi=.22,Qi=.5;function dne(e){switch(e){case`LEFT`:return{x:1-Zi,y:Qi};case`UP`:return{x:Qi,y:1-Zi};case`DOWN`:return{x:Qi,y:Zi};default:return{x:Zi,y:Qi}}}function fne(e,t,n){let r=dne(e),i=(t.x||0)+(t.width||0)/2,a=(t.y||0)+(t.height||0)/2;return{x:i-n.width*r.x,y:a-n.height*r.y}}function pne(e,t){let n=(e.x||0)+(e.width||0)/2,r=(e.y||0)+(e.height||0)/2;return{x:n-t.width/2,y:r-t.height/2}}function $i(e,t,n){return t.id===`root`?fne(e,t,n):pne(t,n)}var ea=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ta,na;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(na||={});var ra=ta=class extends ai{get expandedNodes(){return this.expansionManager.expandedNodes}get visibleChildrenCount(){return this.expansionManager.visibleChildrenCount}get pathRevealNodes(){return this.expansionManager.pathRevealNodes}get pathRevealTarget(){return this.expansionManager.pathRevealTarget}constructor(){super(),this.edgePathStyle=`d3`,this.embeddedMode=!1,this.disablePovMode=!1,this.hideExamples=!1,this.hideControls=!1,this.changeView=!1,this.graphMode=Wt.standard,this.povPreviousViewBox=null,this.povFocusNodeId=null,this.layoutRequestId=0,this.nodeComponents=[],this.edgeComponents=[],this.scale=1,this.isDragging=!1,this.dragThreshold=5,this.dragStartViewBoxX=0,this.dragStartViewBoxY=0,this.previousActiveNodeId=null,this.zoomMax=8e3,this.zoomMin=50,this.collapsedNodes=new Map,this.collapsedEdges=new Map,this.hasMoreChildren=new Map,this.currentAnimationId=0,this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null,this.resizeObserver=null,this.containerWidth=0,this.containerHeight=0,this._resizeRafId=0,this.ready=!1,this.direction=na.RIGHT,this.nodeMap=new Map,this.definitionCache=new Map,this.edgeMap=new Map,this.violationMap=new Map,this.renderGraphMap=new Map,this.edgeComponentMap=new Map,this.nodeComponentMap=new Map,this.collapsedNodes=new Map,this.nodes=[],this.edges=[],this.nodeNodeBetweenLayers=`100`,this.nodeNode=`80`,this.edgeNodeBetweenLayers=`30`,this.edgeNode=`120`,this.bendEdges=!0,this.bendPoints=!0,this.nodeLimitExceeded=!1,this.nodeLimit=-1,this.equalizer=new li,this.renderEqualizer=!0,this.equalizer.renderEqualizer=this.renderEqualizer,this.equalizer.nodeNodeBetweenLayers=parseInt(this.nodeNodeBetweenLayers),this.equalizer.nodeNode=parseInt(this.nodeNode),this.equalizer.edgeNodeBetweenLayers=parseInt(this.edgeNodeBetweenLayers),this.equalizer.edgeNode=parseInt(this.edgeNode),this.equalizer.bendEdges=this.bendEdges,this.equalizer.bendPoints=this.bendPoints,this.zoomX=null,this.zoomY=null,this.zoomW=null,this.zoomH=null,this.graphDependentWorker=ta.graphDependentWorkerFactory?ta.graphDependentWorkerFactory():new sne,this.elkLayoutWorker=ta.elkWorkerFactory?ta.elkWorkerFactory():new cne,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new lne({getNodeMap:()=>this.nodeMap,getGraphResponseNodes:()=>this.graphResponse?.nodes,buildGraph:()=>this.buildGraph(),moveToNode:e=>this.moveToNode(e),getActiveNode:()=>this.activeNode,setActiveNode:e=>{if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}if(this.activeNode=e,e&&this.renderGraphMap){let t=this.renderGraphMap.get(e.id);t&&(t.active=!0)}this.requestUpdate()},setPreviousActiveNodeId:e=>{this.previousActiveNodeId=e},getNodeScreenOffset:e=>this.getNodeScreenOffset(e),restoreNodeScreenPosition:(e,t)=>this.restoreNodeScreenPosition(e,t),preservePositions:()=>this.layoutFilterManager.preservePositions(this.graph)}),this.layoutFilterManager=new une({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new ine({getNodeMap:()=>this.nodeMap,getDefinitionCache:()=>this.definitionCache,getEdgeMap:()=>this.edgeMap}),this.boundZoomIn=this.zoomIn.bind(this),this.boundZoomOut=this.zoomOut.bind(this),this.boundRotate=this.rotate.bind(this),this.boundReset=this.reset.bind(this),this.boundEqualizerChanged=this.equalizerChanged.bind(this),this.boundEqualizerFiltered=this.equalizerFiltered.bind(this),this.boundDependentNodeClicked=this.dependentNodeClicked.bind(this),this.boundLoadMoreChildren=this.loadMoreChildrenClicked.bind(this),this.boundPovModeExit=this.handlePovModeExit.bind(this),this.boundGraphDependentMessage=e=>{this.toggleNodeVisibility(e.data.filteredNodes,e.data.filteredEdges,e.data.collapse)},this.equalizer.addEventListener(En,this.boundZoomIn),this.equalizer.addEventListener(Dn,this.boundZoomOut),this.equalizer.addEventListener(On,this.boundRotate),this.equalizer.addEventListener(kn,this.boundReset),this.equalizer.addEventListener(Pn,this.boundEqualizerChanged),this.equalizer.addEventListener(Fn,this.boundEqualizerFiltered),this.addEventListener(In,this.boundDependentNodeClicked),this.addEventListener(Ln,this.boundLoadMoreChildren),this.equalizer.addEventListener(Rn,this.boundPovModeExit),this.graphDependentWorker.onmessage=this.boundGraphDependentMessage}connectedCallback(){super.connectedCallback(),this.setupResizeObserver()}disconnectedCallback(){super.disconnectedCallback(),this.elkLayoutWorker?.terminate(),this.graphDependentWorker?.terminate(),this.resizeObserver?.disconnect(),this.resizeObserver=null,this.equalizer.removeEventListener(En,this.boundZoomIn),this.equalizer.removeEventListener(Dn,this.boundZoomOut),this.equalizer.removeEventListener(On,this.boundRotate),this.equalizer.removeEventListener(kn,this.boundReset),this.equalizer.removeEventListener(Pn,this.boundEqualizerChanged),this.equalizer.removeEventListener(Fn,this.boundEqualizerFiltered),this.equalizer.removeEventListener(Rn,this.boundPovModeExit),this.removeEventListener(In,this.boundDependentNodeClicked),this.removeEventListener(Ln,this.boundLoadMoreChildren)}setupResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{cancelAnimationFrame(this._resizeRafId),this._resizeRafId=requestAnimationFrame(()=>{let{width:e,height:t}=this.getBoundingClientRect();e===0||t===0||Math.abs(e-this.containerWidth)<2&&Math.abs(t-this.containerHeight)<2||(this.containerWidth=e,this.containerHeight=t)})}),this.resizeObserver.observe(this)}updateViewBoxForContainer(){if(!this.svgItem||this.containerWidth===0||this.containerHeight===0)return;let e=this.svgItem.viewBox.baseVal,t=e.x+e.width/2,n=e.y+e.height/2,r=this.containerWidth/this.containerHeight,i=this.buildBaseViewBox().base+300,a,o;r>1?(o=i,a=i*r):(a=i,o=i/r),e.width=a,e.height=o,e.x=t-a/2,e.y=n-o/2,this.zoomW=a,this.zoomH=o,this.zoomX=e.x,this.zoomY=e.y}toggleNodeVisibility(e,t,n){e.forEach(e=>{if(!e?.id)return;let t=this.nodeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedNodes.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedNodes.delete(e.id)))}),t.forEach(e=>{if(!e?.id)return;let t=this.edgeComponentMap.get(e.id);t&&(t.visible&&n?(t.visible=!1,this.collapsedEdges.set(e.id,!0)):!t.visible&&!n&&(t.visible=!0,this.collapsedEdges.delete(e.id)))}),this.requestUpdate()}dependentNodeClicked(e){let t=e.detail.node.id;this.toggleNodeExpansion(t)}loadMoreChildrenClicked(e){this.loadMoreChildren(e.detail.parentId)}enterPovMode(e,t){let n=this.expansionManager.saveState();this.savedExpandedNodes=n.expandedNodes,this.savedVisibleChildrenCount=n.visibleChildrenCount,this.povMode=!0,this.povFocusNodeId=e,this.povNode=t,this.povNodeId=e}exitPovMode(e=!0){this.savedExpandedNodes&&this.savedVisibleChildrenCount&&(this.expansionManager.restoreState({expandedNodes:this.savedExpandedNodes,visibleChildrenCount:this.savedVisibleChildrenCount}),this.savedExpandedNodes=null,this.savedVisibleChildrenCount=null),this.graphResponse?.nodes?.forEach(e=>{e.dependency&&=!1}),this.graphResponse?.edges?.forEach(e=>{e.dependency&&=!1}),this.povMode=!1,this.povNode=null,this.equalizer.controls.povNode=null,e&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache())}handlePovModeExit(){this.exitPovMode(!0)}updateGraphResponse(e){this.graphResponse=e,this.graphMode=e.mode||(this.changeView?Wt.change:Wt.standard),this.changeView=this.graphMode===Wt.change,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.equalizer.graphResponse=e,this.equalizer.controls.searchComponent.graphResponse=e,this.violationMap.clear(),e.violations&&Object.entries(e.violations).forEach(([e,t])=>{this.violationMap.set(e,t)}),this.buildGraphAndRender().then(()=>{this.activeNode||this.centerOnRoot()})}rotate(){switch(this.direction){case na.LEFT:this.direction=na.UP;break;case na.DOWN:this.direction=na.LEFT;break;case na.RIGHT:this.direction=na.DOWN;break;case na.UP:this.direction=na.RIGHT;break}this.resetNodes(),this.buildGraphAndRender().then(()=>{this.activeNode&&this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id}}))})}mouseMove(e){if(this.grabbed){let t=Math.sqrt((e.clientX-this.startX)**2+(e.clientY-this.startY)**2);!this.isDragging&&t>this.dragThreshold&&(this.isDragging=!0),this.isDragging&&requestAnimationFrame(()=>{let t=this.svgItem.viewBox.baseVal,n=(e.clientX-this.startX)*(t.width/this.svgItem.clientWidth),r=(e.clientY-this.startY)*(t.height/this.svgItem.clientHeight);t.x=this.dragStartViewBoxX-n,t.y=this.dragStartViewBoxY-r,this.zoomX=t.x,this.zoomY=t.y,this.zoomW=t.width,this.zoomH=t.height})}}mouseDown(e){this.grabbed=!0;let t=this.svgItem.viewBox.baseVal;this.startX=e.clientX,this.startY=e.clientY,this.dragStartViewBoxX=t.x,this.dragStartViewBoxY=t.y}mouseUp(){this.grabbed=!1,this.isDragging=!1}zoom(e){e=Math.abs(e)<.02?e/Math.abs(e)*.02:e;let[t,n,r,i]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],a=t+r/2,o=n+i/2,[s,c]=[r+r*e,i+i*e],l=a-s/2,u=o-c/2;s>=this.zoomMax||s<=this.zoomMin||(this.svgItem.setAttribute(`viewBox`,`${l} ${u} ${s} ${c}`),this.zoomX=l,this.zoomY=u,this.zoomW=s,this.zoomH=c)}zoomIn(){this.zoom(-.1)}zoomOut(){this.zoom(.1)}onWheel(e){e.preventDefault();let t=e.deltaY/1e3;t=Math.abs(t)<.02?.02*e.deltaY/Math.abs(e.deltaY):t;let n=new DOMPoint(e.clientX,e.clientY);n=n.matrixTransform(this.svgItem.getScreenCTM()?.inverse());let[r,i,a,o]=this.svgItem.getAttribute(`viewBox`)?.split(` `).map(Number)??[0,0,0,0],[s,c]=[(n.x-r)/a,(n.y-i)/o],[l,u]=[a+a*t,o+o*t],d=n.x-s*l,f=n.y-c*u;l>=this.zoomMax||l<=this.zoomMin||Number.isNaN(d)||Number.isNaN(f)||Number.isNaN(l)||Number.isNaN(u)||requestAnimationFrame(()=>{this.zoomX=d,this.zoomY=f,this.zoomW=l,this.zoomH=u,this.svgItem.setAttribute(`viewBox`,`${d} ${f} ${l} ${u}`)})}equalizerFiltered(e){this.clearPathReveal(),this.graphResponse=e.detail.graph,this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.extractEQPreferences(e);let t=e.detail.povMode;this.povNodeId=e.detail.povNodeId||null,t&&(this.povMode=!0),this.buildGraphAndRender().then(()=>{if(t&&this.povFocusNodeId){this.equalizer.controls.povNode=this.povNode;let e=this.graphResponse.nodes?.find(e=>e.id===this.povFocusNodeId);e&&this.moveToNode(e,!1)}else this.activeNode||this.centerOnRoot()})}extractEQPreferences(e){e.detail.spacing&&(e.detail.spacing.nodeNodeBetweenLayers&&(this.nodeNodeBetweenLayers=e.detail.spacing.nodeNodeBetweenLayers.toString()),e.detail.spacing.nodeNode&&(this.nodeNode=e.detail.spacing.nodeNode.toString()),e.detail.spacing.edgeNodeBetweenLayers&&(this.edgeNodeBetweenLayers=e.detail.spacing.edgeNodeBetweenLayers.toString()),e.detail.spacing.edgeNode&&(this.edgeNode=e.detail.spacing.edgeNode.toString()),this.bendEdges=!!e.detail.spacing.bendEdges,this.bendPoints=!!e.detail.spacing.bendPoints)}equalizerChanged(e){this.clearPathReveal(),e.detail.graph.nodes.length>0&&(this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache(),this.graphResponse=e.detail.graph),this.extractEQPreferences(e),this.buildGraphAndRender().then(()=>{this.activeNode&&this._visible&&this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:this.activeNode.id,first:!0}}))})}resetNodes(){this.graph.children?.forEach(e=>{let t=e;delete t.x,delete t.y}),this.graph.edges?.forEach(e=>{delete e.sections})}filterGraphByExpansion(e,t){return this.layoutFilterManager.filterGraphByExpansion(e,t,this.povMode)}preservePositions(){this.layoutFilterManager.preservePositions(this.graph)}applyPositionHints(e){this.layoutFilterManager.applyPositionHints(e)}toggleNodeExpansion(e){this.expansionManager.toggleNodeExpansion(e)}loadMoreChildren(e){this.expansionManager.loadMoreChildren(e)}isNodeExpanded(e){return this.expansionManager.isNodeExpanded(e)}isNodeCurrentlyVisible(e){return this.expansionManager.isNodeCurrentlyVisible(e)}invalidateChildrenCache(){this.expansionManager.invalidateChildrenCache(),this.layoutFilterManager.invalidateChildrenCache()}addToNodeMap(e){this.nodeMap.has(e.id)||this.nodeMap.set(e.id,e)}ensureNodesVisible(e){this.expansionManager.ensureNodesVisible(e)}revealPathToNode(e){this.expansionManager.revealPathToNode(e,this.povMode)}clearPathReveal(){this.expansionManager.clearPathReveal()}generateOptions(){return{"spacing.nodeNodeBetweenLayers":this.nodeNodeBetweenLayers,"spacing.nodeNode":this.nodeNode,"elk.nodeLabels.placement":`INSIDE V_CENTER H_RIGHT`,"elk.algorithm":`layered`,"elk.direction":this.direction,"org.eclipse.elk.edgeRouting":`ORTHOGONAL`,"elk.layered.unnecessaryBendpoints":`true`,"elk.layered.spacing.edgeNodeBetweenLayers":this.edgeNodeBetweenLayers,"org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment":`BALANCED`,"org.eclipse.elk.layered.cycleBreaking.strategy":`DEPTH_FIRST`,"nodePlacement.strategy":`BRANDES_KOEPF`,"org.eclipse.elk.spacing.edgeLabel":`0`,"org.eclipse.elk.spacing.edgeNode":this.edgeNode,"org.eclipse.elk.layered.edgeLabels.sideSelection":`ALWAYS_UP`,"org.eclipse.elk.spacing.portPort":`10`,"elk.interactive":`true`,"elk.interactiveLayout":`true`,"elk.layered.interactiveReferencePoint":`CENTER`,"elk.layered.crossingMinimization.semiInteractive":`true`,"elk.layered.considerModelOrder.strategy":`NODES_AND_EDGES`}}buildGraph(){let e=++this.layoutRequestId,t=this.generateOptions(),n=this.filterGraphByExpansion(this.graphResponse.nodes||[],this.graphResponse.edges||[]);this.hasMoreChildren=n.hasMoreChildren,this.applyPositionHints(n.nodes);let r={id:`root`,layoutOptions:t,children:n.nodes,edges:n.edges};return this.nodeMap.clear(),this.equalizer.graphResponse||(this.equalizer.graphResponse=this.graphResponse),new Promise((n,i)=>{let a=()=>{this.elkLayoutWorker.removeEventListener(`message`,o),this.elkLayoutWorker.removeEventListener(`error`,s)},o=t=>{t.data.requestId===e&&(a(),t.data.success?(this.graph=t.data.graph,this.readyGo(),n(this.graph)):i(Error(t.data.error)))},s=e=>{a(),i(Error(`Worker error: ${e.message}`))};this.elkLayoutWorker.addEventListener(`message`,o),this.elkLayoutWorker.addEventListener(`error`,s),this.elkLayoutWorker.postMessage({requestId:e,graph:r,layoutOptions:t})})}async buildGraphAndRender(){await this.buildGraph(),await this.updateComplete,await new Promise(e=>requestAnimationFrame(()=>e()))}buildNodes(){this.nodeMap.clear(),this.definitionCache.clear(),this.edgeMap.clear();let e=this.explorerComponentFactory.buildNodes({graph:this.graph,graphResponse:this.graphResponse,expandedNodes:this.expandedNodes,hasMoreChildren:this.hasMoreChildren,povMode:this.povMode,povNodeId:this.povNodeId,activeNode:this.activeNode,violationMap:this.violationMap,disablePovMode:this.disablePovMode,hideExamples:this.hideExamples,changeView:this.changeView,graphMode:this.graphMode});this.nodes=e.nodes,this.nodeComponents=e.nodeComponents,this.renderGraphMap=e.renderGraphMap,this.nodeComponentMap=e.nodeComponentMap}buildEdges(){let e=this.explorerComponentFactory.buildEdges({graph:this.graph,collapsedEdges:this.collapsedEdges,bendPoints:this.bendPoints,bendEdges:this.bendEdges,edgePathStyle:this.edgePathStyle,nodeLimitExceeded:this.nodeLimitExceeded,povMode:this.povMode},this.renderGraphMap);this.edges=e.edges,this.edgeComponents=e.edgeComponents,this.edgeComponentMap=e.edgeComponentMap}readyGo(){this.buildNodes(),this.buildEdges(),this.ready=!0,this.requestUpdate()}reset(){this.direction=na.RIGHT;let e=this.buildBaseViewBox().base+300,t=e,n=e;if(this.containerWidth>0&&this.containerHeight>0){let r=this.containerWidth/this.containerHeight;r>1?(n=e,t=e*r):(t=e,n=e/r)}this.zoomH=n,this.zoomW=t,this.zoomX=-150,this.zoomY=-150,this.svgItem.setAttribute(`viewBox`,`-150 -150 ${t} ${n}`),this.resetNodes(),this.buildGraphAndRender().then(()=>{this.snapToRoot()})}snapToRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=$i(this.direction,e,t);this.snapViewBox(n.x,n.y)}this.activeNode=e}}resetSelection(){if(this.previousActiveNodeId&&this.renderGraphMap){let e=this.renderGraphMap.get(this.previousActiveNodeId);e&&(e.active=!1)}this.activeNode=void 0,this.previousActiveNodeId=null,this.requestUpdate()}centerOnRoot(){if(!this.graph?.children)return;let e=this.graph.children.find(e=>e.id===`root`);if(e&&e.x!==void 0&&e.y!==void 0){let t=this.svgItem?.viewBox?.baseVal;if(t){let n=$i(this.direction,e,t);this.animateViewBox(n.x,n.y,200)}this.activeNode=e}}navigateToRoot(){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:`root`,first:!0}}))}animateViewBox(e,t,n){let r=++this.currentAnimationId,i=this.svgItem.viewBox.baseVal,a=i.x,o=i.y,s=performance.now(),c=e=>e<.5?4*e*e*e:1-(-2*e+2)**3/2,l=this;function u(d){if(r!==l.currentAnimationId)return;let f=d-s,p=Math.min(f/n,1),m=c(p);i.x=a+(e-a)*m,i.y=o+(t-o)*m,l.zoomX=i.x,l.zoomY=i.y,p<1&&requestAnimationFrame(u)}requestAnimationFrame(u)}snapViewBox(e,t){this.currentAnimationId++;let n=this.svgItem.viewBox.baseVal;n.x=e,n.y=t,this.zoomX=e,this.zoomY=t,this.zoomW=n.width,this.zoomH=n.height}getNodeScreenOffset(e){let t=this.svgItem?.viewBox?.baseVal;if(!t)return null;let n=this.graph?.children?.find(t=>t.id===e);if(!n||n.x===void 0||n.y===void 0)return null;let r=n.width||0,i=n.height||0,a=n.x+r/2,o=n.y+i/2,s=t.x+t.width/2,c=t.y+t.height/2;return{x:a-s,y:o-c}}restoreNodeScreenPosition(e,t){let n=this.svgItem?.viewBox?.baseVal;if(!n)return;let r=this.graph?.children?.find(t=>t.id===e);if(!r||r.x===void 0||r.y===void 0)return;let i=r.width||0,a=r.height||0,o=r.x+i/2,s=r.y+a/2,c=o-t.x,l=s-t.y,u=c-n.width/2,d=l-n.height/2;this.snapViewBox(u,d)}moveToNode(e,t=!1,n=!1){if(this.svgItem&&this.graph?.children){let t=this.svgItem.viewBox.baseVal,r=this.graph.children.find(t=>t.id===e.id);if(r&&r.x!==void 0&&r.y!==void 0&&!r.filtered){let e=$i(this.direction,r,t);n?this.snapViewBox(e.x,e.y):this.animateViewBox(e.x,e.y,200)}}}buildBaseViewBox(){let e=600,t=0;return this.graph.children?.forEach(()=>{e+=1,t+=20}),t>900&&(t=900),{base:e,offset:t}}render(){if(!this.ready)return T`
loading explorer... -
`;let e=this.buildBaseViewBox().base+300,t=e,n=e;if(this.containerWidth>0&&this.containerHeight>0){let r=this.containerWidth/this.containerHeight;r>1?(n=e,t=e*r):(t=e,n=e/r)}let r=this.zoomX===null?-150:this.zoomX,i=this.zoomY===null?-150:this.zoomY,a=this.zoomW===null?t:this.zoomW,o=this.zoomH===null?n:this.zoomH;return ot` - ${this.hideControls?ct:this.equalizer} + `;let e=this.buildBaseViewBox().base+300,t=e,n=e;if(this.containerWidth>0&&this.containerHeight>0){let r=this.containerWidth/this.containerHeight;r>1?(n=e,t=e*r):(t=e,n=e/r)}let r=this.zoomX===null?-150:this.zoomX,i=this.zoomY===null?-150:this.zoomY,a=this.zoomW===null?t:this.zoomW,o=this.zoomH===null?n:this.zoomH;return it` + ${this.hideControls?ot:this.equalizer} - ${Jte()} + ${one()} ${Ht(this.edgeComponents,e=>e.edge.id,e=>e.render())} ${Ht(this.nodeComponents,e=>e.id,e=>e.render())} - `}};Gi.graphDependentWorkerFactory=null,Gi.elkWorkerFactory=null,Gi.styles=[Ut,Wr],Hi([At(`svg`)],Gi.prototype,`svgItem`,void 0),Hi([At(`svg > g`)],Gi.prototype,`svgGroup`,void 0),Hi([jt(`path`)],Gi.prototype,`paths`,void 0),Hi([jt(`foreignObject`)],Gi.prototype,`foreignObjects`,void 0),Hi([Dt()],Gi.prototype,`ready`,void 0),Hi([Et()],Gi.prototype,`renderEqualizer`,void 0),Hi([Et({type:Boolean})],Gi.prototype,`embeddedMode`,void 0),Hi([Et()],Gi.prototype,`graphResponse`,void 0),Hi([Et({type:Boolean})],Gi.prototype,`disablePovMode`,void 0),Hi([Et({type:Boolean})],Gi.prototype,`hideExamples`,void 0),Hi([Et({type:Boolean})],Gi.prototype,`hideControls`,void 0),Hi([Et({type:Boolean})],Gi.prototype,`changeView`,void 0),Hi([Et()],Gi.prototype,`graphMode`,void 0),Hi([Et()],Gi.prototype,`povMode`,void 0),Hi([Et()],Gi.prototype,`povNodeId`,void 0),Hi([Et()],Gi.prototype,`povNode`,void 0),Hi([Dt()],Gi.prototype,`models`,void 0),Gi=Ui=Hi([wt(`pb33f-explorer`)],Gi);var $te=xe` + `}};ra.graphDependentWorkerFactory=null,ra.elkWorkerFactory=null,ra.styles=[Ut,Gr],ea([Ot(`svg`)],ra.prototype,`svgItem`,void 0),ea([Ot(`svg > g`)],ra.prototype,`svgGroup`,void 0),ea([kt(`path`)],ra.prototype,`paths`,void 0),ea([kt(`foreignObject`)],ra.prototype,`foreignObjects`,void 0),ea([Tt()],ra.prototype,`ready`,void 0),ea([E()],ra.prototype,`renderEqualizer`,void 0),ea([E()],ra.prototype,`edgePathStyle`,void 0),ea([E({type:Boolean})],ra.prototype,`embeddedMode`,void 0),ea([E()],ra.prototype,`graphResponse`,void 0),ea([E({type:Boolean})],ra.prototype,`disablePovMode`,void 0),ea([E({type:Boolean})],ra.prototype,`hideExamples`,void 0),ea([E({type:Boolean})],ra.prototype,`hideControls`,void 0),ea([E({type:Boolean})],ra.prototype,`changeView`,void 0),ea([E()],ra.prototype,`graphMode`,void 0),ea([E()],ra.prototype,`povMode`,void 0),ea([E()],ra.prototype,`povNodeId`,void 0),ea([E()],ra.prototype,`povNode`,void 0),ea([Tt()],ra.prototype,`models`,void 0),ra=ta=ea([Ct(`pb33f-explorer`)],ra);var mne=xe` :host { display: block; height: 100%; @@ -3375,7 +3428,7 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,ene=xe` +`,hne=xe` :host { display: inline-block; width: 1em; @@ -3388,17 +3441,17 @@ height: 100%; width: 100%; } -`,Ki=Symbol(),qi=Symbol(),tne,Ji=new Map,Yi=class extends vn{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label=``,this.library=`default`}async resolveIcon(e,t){let n;if(t?.spriteSheet)return this.svg=T` +`,ia=Symbol(),aa=Symbol(),oa,sa=new Map,ca=class extends vn{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label=``,this.library=`default`}async resolveIcon(e,t){let n;if(t?.spriteSheet)return this.svg=T` - `,this.svg;try{if(n=await fetch(e,{mode:`cors`}),!n.ok)return n.status===410?Ki:qi}catch{return qi}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return Ki;tne||=new DOMParser;let r=tne.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):Ki}catch{return Ki}}connectedCallback(){super.connectedCallback(),g(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),_(this)}getIconSource(){let e=v(this.library);return this.name&&e?{url:e.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label==`string`&&this.label.length>0?(this.setAttribute(`role`,`img`),this.setAttribute(`aria-label`,this.label),this.removeAttribute(`aria-hidden`)):(this.removeAttribute(`role`),this.removeAttribute(`aria-label`),this.setAttribute(`aria-hidden`,`true`))}async setIcon(){var e;let{url:t,fromLibrary:n}=this.getIconSource(),r=n?v(this.library):void 0;if(!t){this.svg=null;return}let i=Ji.get(t);if(i||(i=this.resolveIcon(t,r),Ji.set(t,i)),!this.initialRender)return;let a=await i;if(a===qi&&Ji.delete(t),t===this.getIconSource().url){if(lee(a)){if(this.svg=a,r){await this.updateComplete;let e=this.shadowRoot.querySelector(`[part='svg']`);typeof r.mutator==`function`&&e&&r.mutator(e)}return}switch(a){case qi:case Ki:this.svg=null,this.emit(`sl-error`);break;default:this.svg=a.cloneNode(!0),(e=r?.mutator)==null||e.call(r,this.svg),this.emit(`sl-load`)}}}render(){return this.svg}};Yi.styles=[gn,ene],w([Dt()],Yi.prototype,`svg`,2),w([Et({reflect:!0})],Yi.prototype,`name`,2),w([Et()],Yi.prototype,`src`,2),w([Et()],Yi.prototype,`label`,2),w([Et({reflect:!0})],Yi.prototype,`library`,2),w([hn(`label`)],Yi.prototype,`handleLabelChange`,1),w([hn([`name`,`src`,`library`])],Yi.prototype,`setIcon`,1),Yi.define(`sl-icon`);var Xi=c(o(((e,t)=>{var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},r=-1,i=1,a=0;n.Diff=function(e,t){return[e,t]},n.prototype.diff_main=function(e,t,r,i){i===void 0&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:new Date().getTime()+this.Diff_Timeout*1e3);var o=i;if(e==null||t==null)throw Error(`Null input. (diff_main)`);if(e==t)return e?[new n.Diff(a,e)]:[];r===void 0&&(r=!0);var s=r,c=this.diff_commonPrefix(e,t),l=e.substring(0,c);e=e.substring(c),t=t.substring(c),c=this.diff_commonSuffix(e,t);var u=e.substring(e.length-c);e=e.substring(0,e.length-c),t=t.substring(0,t.length-c);var d=this.diff_compute_(e,t,s,o);return l&&d.unshift(new n.Diff(a,l)),u&&d.push(new n.Diff(a,u)),this.diff_cleanupMerge(d),d},n.prototype.diff_compute_=function(e,t,o,s){var c;if(!e)return[new n.Diff(i,t)];if(!t)return[new n.Diff(r,e)];var l=e.length>t.length?e:t,u=e.length>t.length?t:e,d=l.indexOf(u);if(d!=-1)return c=[new n.Diff(i,l.substring(0,d)),new n.Diff(a,u),new n.Diff(i,l.substring(d+u.length))],e.length>t.length&&(c[0][0]=c[2][0]=r),c;if(u.length==1)return[new n.Diff(r,e),new n.Diff(i,t)];var f=this.diff_halfMatch_(e,t);if(f){var p=f[0],m=f[1],h=f[2],g=f[3],_=f[4],v=this.diff_main(p,h,o,s),y=this.diff_main(m,g,o,s);return v.concat([new n.Diff(a,_)],y)}return o&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,s):this.diff_bisect_(e,t,s)},n.prototype.diff_lineMode_=function(e,t,o){var s=this.diff_linesToChars_(e,t);e=s.chars1,t=s.chars2;var c=s.lineArray,l=this.diff_main(e,t,!1,o);this.diff_charsToLines_(l,c),this.diff_cleanupSemantic(l),l.push(new n.Diff(a,``));for(var u=0,d=0,f=0,p=``,m=``;u=1&&f>=1){l.splice(u-d-f,d+f),u=u-d-f;for(var h=this.diff_main(p,m,!1,o),g=h.length-1;g>=0;g--)l.splice(u,0,h[g]);u+=h.length}f=0,d=0,p=``,m=``;break}u++}return l.pop(),l},n.prototype.diff_bisect_=function(e,t,a){for(var o=e.length,s=t.length,c=Math.ceil((o+s)/2),l=c,u=2*c,d=Array(u),f=Array(u),p=0;pa);b++){for(var x=-b+g;x<=b-_;x+=2){for(var S=l+x,ee=x==-b||x!=b&&d[S-1]o)_+=2;else if(te>s)g+=2;else if(h){var ne=l+m-x;if(ne>=0&&ne=C)return this.diff_bisectSplit_(e,t,ee,te,a)}}}for(var re=-b+v;re<=b-y;re+=2){for(var ne=l+re,C=re==-b||re!=b&&f[ne-1]o)y+=2;else if(ie>s)v+=2;else if(!h){var S=l+m-re;if(S>=0&&S=C)return this.diff_bisectSplit_(e,t,ee,te,a)}}}}return[new n.Diff(r,e),new n.Diff(i,t)]},n.prototype.diff_bisectSplit_=function(e,t,n,r,i){var a=e.substring(0,n),o=t.substring(0,r),s=e.substring(n),c=t.substring(r),l=this.diff_main(a,o,!1,i),u=this.diff_main(s,c,!1,i);return l.concat(u)},n.prototype.diff_linesToChars_=function(e,t){var n=[],r={};n[0]=``;function i(e){for(var t=``,i=0,o=-1,s=n.length;o`,this.svg;try{if(n=await fetch(e,{mode:`cors`}),!n.ok)return n.status===410?ia:aa}catch{return aa}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return ia;oa||=new DOMParser;let r=oa.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):ia}catch{return ia}}connectedCallback(){super.connectedCallback(),g(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),_(this)}getIconSource(){let e=v(this.library);return this.name&&e?{url:e.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label==`string`&&this.label.length>0?(this.setAttribute(`role`,`img`),this.setAttribute(`aria-label`,this.label),this.removeAttribute(`aria-hidden`)):(this.removeAttribute(`role`),this.removeAttribute(`aria-label`),this.setAttribute(`aria-hidden`,`true`))}async setIcon(){var e;let{url:t,fromLibrary:n}=this.getIconSource(),r=n?v(this.library):void 0;if(!t){this.svg=null;return}let i=sa.get(t);if(i||(i=this.resolveIcon(t,r),sa.set(t,i)),!this.initialRender)return;let a=await i;if(a===aa&&sa.delete(t),t===this.getIconSource().url){if(lee(a)){if(this.svg=a,r){await this.updateComplete;let e=this.shadowRoot.querySelector(`[part='svg']`);typeof r.mutator==`function`&&e&&r.mutator(e)}return}switch(a){case aa:case ia:this.svg=null,this.emit(`sl-error`);break;default:this.svg=a.cloneNode(!0),(e=r?.mutator)==null||e.call(r,this.svg),this.emit(`sl-load`)}}}render(){return this.svg}};ca.styles=[gn,hne],w([Tt()],ca.prototype,`svg`,2),w([E({reflect:!0})],ca.prototype,`name`,2),w([E()],ca.prototype,`src`,2),w([E()],ca.prototype,`label`,2),w([E({reflect:!0})],ca.prototype,`library`,2),w([hn(`label`)],ca.prototype,`handleLabelChange`,1),w([hn([`name`,`src`,`library`])],ca.prototype,`setIcon`,1),ca.define(`sl-icon`);var la=c(o(((e,t)=>{var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},r=-1,i=1,a=0;n.Diff=function(e,t){return[e,t]},n.prototype.diff_main=function(e,t,r,i){i===void 0&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:new Date().getTime()+this.Diff_Timeout*1e3);var o=i;if(e==null||t==null)throw Error(`Null input. (diff_main)`);if(e==t)return e?[new n.Diff(a,e)]:[];r===void 0&&(r=!0);var s=r,c=this.diff_commonPrefix(e,t),l=e.substring(0,c);e=e.substring(c),t=t.substring(c),c=this.diff_commonSuffix(e,t);var u=e.substring(e.length-c);e=e.substring(0,e.length-c),t=t.substring(0,t.length-c);var d=this.diff_compute_(e,t,s,o);return l&&d.unshift(new n.Diff(a,l)),u&&d.push(new n.Diff(a,u)),this.diff_cleanupMerge(d),d},n.prototype.diff_compute_=function(e,t,o,s){var c;if(!e)return[new n.Diff(i,t)];if(!t)return[new n.Diff(r,e)];var l=e.length>t.length?e:t,u=e.length>t.length?t:e,d=l.indexOf(u);if(d!=-1)return c=[new n.Diff(i,l.substring(0,d)),new n.Diff(a,u),new n.Diff(i,l.substring(d+u.length))],e.length>t.length&&(c[0][0]=c[2][0]=r),c;if(u.length==1)return[new n.Diff(r,e),new n.Diff(i,t)];var f=this.diff_halfMatch_(e,t);if(f){var p=f[0],m=f[1],h=f[2],g=f[3],_=f[4],v=this.diff_main(p,h,o,s),y=this.diff_main(m,g,o,s);return v.concat([new n.Diff(a,_)],y)}return o&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,s):this.diff_bisect_(e,t,s)},n.prototype.diff_lineMode_=function(e,t,o){var s=this.diff_linesToChars_(e,t);e=s.chars1,t=s.chars2;var c=s.lineArray,l=this.diff_main(e,t,!1,o);this.diff_charsToLines_(l,c),this.diff_cleanupSemantic(l),l.push(new n.Diff(a,``));for(var u=0,d=0,f=0,p=``,m=``;u=1&&f>=1){l.splice(u-d-f,d+f),u=u-d-f;for(var h=this.diff_main(p,m,!1,o),g=h.length-1;g>=0;g--)l.splice(u,0,h[g]);u+=h.length}f=0,d=0,p=``,m=``;break}u++}return l.pop(),l},n.prototype.diff_bisect_=function(e,t,a){for(var o=e.length,s=t.length,c=Math.ceil((o+s)/2),l=c,u=2*c,d=Array(u),f=Array(u),p=0;pa);b++){for(var x=-b+g;x<=b-_;x+=2){for(var S=l+x,ee=x==-b||x!=b&&d[S-1]o)_+=2;else if(te>s)g+=2;else if(h){var ne=l+m-x;if(ne>=0&&ne=C)return this.diff_bisectSplit_(e,t,ee,te,a)}}}for(var re=-b+v;re<=b-y;re+=2){for(var ne=l+re,C=re==-b||re!=b&&f[ne-1]o)y+=2;else if(ie>s)v+=2;else if(!h){var S=l+m-re;if(S>=0&&S=C)return this.diff_bisectSplit_(e,t,ee,te,a)}}}}return[new n.Diff(r,e),new n.Diff(i,t)]},n.prototype.diff_bisectSplit_=function(e,t,n,r,i){var a=e.substring(0,n),o=t.substring(0,r),s=e.substring(n),c=t.substring(r),l=this.diff_main(a,o,!1,i),u=this.diff_main(s,c,!1,i);return l.concat(u)},n.prototype.diff_linesToChars_=function(e,t){var n=[],r={};n[0]=``;function i(e){for(var t=``,i=0,o=-1,s=n.length;or?e=e.substring(n-r):nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||r.length*2=e.length?[s,c,l,u,o]:null}var o=a(n,r,Math.ceil(n.length/4)),s=a(n,r,Math.ceil(n.length/2)),c;if(!o&&!s)return null;c=s?o&&o[4].length>s[4].length?o:s:o;var l,u,d,f;e.length>t.length?(l=c[0],u=c[1],d=c[2],f=c[3]):(d=c[0],f=c[1],l=c[2],u=c[3]);var p=c[4];return[l,u,d,f,p]},n.prototype.diff_cleanupSemantic=function(e){for(var t=!1,o=[],s=0,c=null,l=0,u=0,d=0,f=0,p=0;l0?o[s-1]:-1,u=0,d=0,f=0,p=0,c=null,t=!0)),l++;for(t&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),l=1;l=_?(g>=m.length/2||g>=h.length/2)&&(e.splice(l,0,new n.Diff(a,h.substring(0,g))),e[l-1][1]=m.substring(0,m.length-g),e[l+1][1]=h.substring(g),l++):(_>=m.length/2||_>=h.length/2)&&(e.splice(l,0,new n.Diff(a,m.substring(0,_))),e[l-1][0]=i,e[l-1][1]=h.substring(0,h.length-_),e[l+1][0]=r,e[l+1][1]=m.substring(_),l++),l++}l++}},n.prototype.diff_cleanupSemanticLossless=function(e){function t(e,t){if(!e||!t)return 6;var r=e.charAt(e.length-1),i=t.charAt(0),a=r.match(n.nonAlphaNumericRegex_),o=i.match(n.nonAlphaNumericRegex_),s=a&&r.match(n.whitespaceRegex_),c=o&&i.match(n.whitespaceRegex_),l=s&&r.match(n.linebreakRegex_),u=c&&i.match(n.linebreakRegex_),d=l&&e.match(n.blanklineEndRegex_),f=u&&t.match(n.blanklineStartRegex_);return d||f?5:l||u?4:a&&!s&&c?3:s||c?2:a||o?1:0}for(var r=1;r=p&&(p=m,u=i,d=o,f=s)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=d,f?e[r+1][1]=f:(e.splice(r+1,1),r--))}r++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(e){for(var t=!1,o=[],s=0,c=null,l=0,u=!1,d=!1,f=!1,p=!1;l0?o[s-1]:-1,f=p=!1),t=!0)),l++;t&&this.diff_cleanupMerge(e)},n.prototype.diff_cleanupMerge=function(e){e.push(new n.Diff(a,``));for(var t=0,o=0,s=0,c=``,l=``,u;t1?(o!==0&&s!==0&&(u=this.diff_commonPrefix(l,c),u!==0&&(t-o-s>0&&e[t-o-s-1][0]==a?e[t-o-s-1][1]+=l.substring(0,u):(e.splice(0,0,new n.Diff(a,l.substring(0,u))),t++),l=l.substring(u),c=c.substring(u)),u=this.diff_commonSuffix(l,c),u!==0&&(e[t][1]=l.substring(l.length-u)+e[t][1],l=l.substring(0,l.length-u),c=c.substring(0,c.length-u))),t-=o+s,e.splice(t,o+s),c.length&&(e.splice(t,0,new n.Diff(r,c)),t++),l.length&&(e.splice(t,0,new n.Diff(i,l)),t++),t++):t!==0&&e[t-1][0]==a?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,s=0,o=0,c=``,l=``;break}e[e.length-1][1]===``&&e.pop();var d=!1;for(t=1;tt));c++)o=n,s=a;return e.length!=c&&e[c][0]===r?s:s+(t-o)},n.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,o=//g,c=/\n/g,l=0;l`);switch(u){case i:t[l]=``+d+``;break;case r:t[l]=``+d+``;break;case a:t[l]=``+d+``;break}}return t.join(``)},n.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw Error(`Pattern too long for this browser.`);var r=this.match_alphabet_(t),i=this;function a(e,r){var a=e/t.length,o=Math.abs(n-r);return i.Match_Distance?a+o/i.Match_Distance:o?1:a}var o=this.Match_Threshold,s=e.indexOf(t,n);s!=-1&&(o=Math.min(a(0,s),o),s=e.lastIndexOf(t,n+t.length),s!=-1&&(o=Math.min(a(0,s),o)));var c=1<=m;_--){var v=r[e.charAt(_-1)];if(p===0?g[_]=(g[_+1]<<1|1)&v:g[_]=(g[_+1]<<1|1)&v|(f[_+1]|f[_])<<1|1|f[_+1],g[_]&c){var y=a(p,_-1);if(y<=o)if(o=y,s=_-1,s>n)m=Math.max(1,2*n-s);else break}}if(a(p+1,n)>o)break;f=g}return s},n.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(c),this.diff_cleanupEfficiency(c));else if(e&&typeof e==`object`&&t===void 0&&o===void 0)c=e,s=this.diff_text1(c);else if(typeof e==`string`&&t&&typeof t==`object`&&o===void 0)s=e,c=t;else if(typeof e==`string`&&typeof t==`string`&&o&&typeof o==`object`)s=e,c=o;else throw Error(`Unknown call format to patch_make.`);if(c.length===0)return[];for(var l=[],u=new n.patch_obj,d=0,f=0,p=0,m=s,h=s,g=0;g=2*this.Patch_Margin&&d&&(this.patch_addContext_(u,m),l.push(u),u=new n.patch_obj,d=0,m=h,f=p);break}_!==i&&(f+=v.length),_!==r&&(p+=v.length)}return d&&(this.patch_addContext_(u,m),l.push(u)),l},n.prototype.patch_deepCopy=function(e){for(var t=[],r=0;rthis.Match_MaxBits?(d=this.match_main(t,u.substring(0,this.Match_MaxBits),l),d!=-1&&(f=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits),(f==-1||d>=f)&&(d=-1))):d=this.match_main(t,u,l),d==-1)s[c]=!1,o-=e[c].length2-e[c].length1;else{s[c]=!0,o=d-l;var p=f==-1?t.substring(d,d+u.length):t.substring(d,f+this.Match_MaxBits);if(u==p)t=t.substring(0,d)+this.diff_text2(e[c].diffs)+t.substring(d+u.length);else{var m=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(m)/u.length>this.Patch_DeleteThreshold)s[c]=!1;else{this.diff_cleanupSemanticLossless(m);for(var h=0,g,_=0;_s[0][1].length){var c=t-s[0][1].length;s[0][1]=r.substring(s[0][1].length)+s[0][1],o.start1-=c,o.start2-=c,o.length1+=c,o.length2+=c}if(o=e[e.length-1],s=o.diffs,s.length==0||s[s.length-1][0]!=a)s.push(new n.Diff(a,r)),o.length1+=t,o.length2+=t;else if(t>s[s.length-1][1].length){var c=t-s[s.length-1][1].length;s[s.length-1][1]+=r.substring(0,c),o.length1+=c,o.length2+=c}return r},n.prototype.patch_splitMax=function(e){for(var t=this.Match_MaxBits,o=0;o2*t?(d.length1+=m.length,c+=m.length,f=!1,d.diffs.push(new n.Diff(p,m)),s.diffs.shift()):(m=m.substring(0,t-d.length1-this.Patch_Margin),d.length1+=m.length,c+=m.length,p===a?(d.length2+=m.length,l+=m.length):f=!1,d.diffs.push(new n.Diff(p,m)),m==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(m.length))}u=this.diff_text2(d.diffs),u=u.substring(u.length-this.Patch_Margin);var h=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);h!==``&&(d.length1+=h.length,d.length2+=h.length,d.diffs.length!==0&&d.diffs[d.diffs.length-1][0]===a?d.diffs[d.diffs.length-1][1]+=h:d.diffs.push(new n.Diff(a,h))),f||e.splice(++o,0,d)}}},n.prototype.patch_toText=function(e){for(var t=[],n=0;n`;break;case 2:case 3:t=T` `;break;case 4:case 5:t=T` `;break}return T`${t}`}renderChangeType(e){let t=T``;switch(e.change){case 1:t=T`(MODIFIED)`;break;case 2:case 3:t=T`(ADDED)`;break;case 4:case 5:t=T`(REMOVED)`;break}return T`${t}`}renderBreaking(e){return e?T` - `:T``}},nne=xe` +
`:T``}},gne=xe` .props { border-top: 1px dashed var(--secondary-color); padding: 5px 0 5px 0; @@ -3674,7 +3727,7 @@ color: var(--secondary-color); } -`,Qi=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},$i=class extends Ct{constructor(){super(),this.height=20,this.animateStripe=!1,this.speed=2,this._lastTime=performance.now(),this._currentOffset=0,this.warn=!1,this.danger=!1}connectedCallback(){super.connectedCallback(),this.colorAlt=`var(--background-color)`,this.colorMain=`var(--primary-color)`,this.warn&&(this.colorMain=`var(--warning-color)`),this.danger&&(this.colorMain=`var(--error-color)`),this.animateStripe&&(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this)))}disconnectedCallback(){super.disconnectedCallback(),this._animationFrameId&&cancelAnimationFrame(this._animationFrameId)}updated(e){e.has(`animateStripe`)&&(this.animateStripe?(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))):this._animationFrameId&&(cancelAnimationFrame(this._animationFrameId),this._animationFrameId=void 0,this._currentOffset=0,this.requestUpdate()))}_updateAnimation(e){let t=e-this._lastTime;this._lastTime=e;let n=40/this.speed;this._currentOffset=(this._currentOffset+t/1e3*n)%40,this.requestUpdate(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))}render(){let e=`rotate(45) translate(${this.animateStripe?this._currentOffset:0} 0)`;return T` +`,da=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},fa=class extends St{constructor(){super(),this.height=20,this.animateStripe=!1,this.speed=2,this._lastTime=performance.now(),this._currentOffset=0,this.warn=!1,this.danger=!1}connectedCallback(){super.connectedCallback(),this.colorAlt=`var(--background-color)`,this.colorMain=`var(--primary-color)`,this.warn&&(this.colorMain=`var(--warning-color)`),this.danger&&(this.colorMain=`var(--error-color)`),this.animateStripe&&(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this)))}disconnectedCallback(){super.disconnectedCallback(),this._animationFrameId&&cancelAnimationFrame(this._animationFrameId)}updated(e){e.has(`animateStripe`)&&(this.animateStripe?(this._lastTime=performance.now(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))):this._animationFrameId&&(cancelAnimationFrame(this._animationFrameId),this._animationFrameId=void 0,this._currentOffset=0,this.requestUpdate()))}_updateAnimation(e){let t=e-this._lastTime;this._lastTime=e;let n=40/this.speed;this._currentOffset=(this._currentOffset+t/1e3*n)%40,this.requestUpdate(),this._animationFrameId=requestAnimationFrame(this._updateAnimation.bind(this))}render(){let e=`rotate(45) translate(${this.animateStripe?this._currentOffset:0} 0)`;return T` - `}};$i.styles=xe` + `}};fa.styles=xe` :host { display: block; width: 100%; @@ -3704,7 +3757,7 @@ svg { display: block; } - `,Qi([Et({type:Number})],$i.prototype,`height`,void 0),Qi([Et({type:Boolean})],$i.prototype,`animateStripe`,void 0),Qi([Et({type:Number})],$i.prototype,`speed`,void 0),Qi([Et({type:Boolean})],$i.prototype,`warn`,void 0),Qi([Et({type:Boolean})],$i.prototype,`danger`,void 0),$i=Qi([wt(`pb33f-warning-stripe`)],$i);var rne=xe` + `,da([E({type:Number})],fa.prototype,`height`,void 0),da([E({type:Boolean})],fa.prototype,`animateStripe`,void 0),da([E({type:Number})],fa.prototype,`speed`,void 0),da([E({type:Boolean})],fa.prototype,`warn`,void 0),da([E({type:Boolean})],fa.prototype,`danger`,void 0),fa=da([Ct(`pb33f-warning-stripe`)],fa);var _ne=xe` :host { display: inline-flex; } @@ -3793,7 +3846,7 @@ box-shadow: 0 0 0 0 transparent; } } -`,ea=class extends vn{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return T` +`,pa=class extends vn{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return T` - `}};ea.styles=[gn,rne],w([Et({reflect:!0})],ea.prototype,`variant`,2),w([Et({type:Boolean,reflect:!0})],ea.prototype,`pill`,2),w([Et({type:Boolean,reflect:!0})],ea.prototype,`pulse`,2),ea.define(`sl-badge`);var ta=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},na=class extends Ct{constructor(){super(...arguments),this.iconSize=Yr.medium}formatLabel(e){return e?e.replace(/([a-z])([A-Z])/g,`$1 $2`).toUpperCase():``}render(){return T` + `}};pa.styles=[gn,_ne],w([E({reflect:!0})],pa.prototype,`variant`,2),w([E({type:Boolean,reflect:!0})],pa.prototype,`pill`,2),w([E({type:Boolean,reflect:!0})],pa.prototype,`pulse`,2),pa.define(`sl-badge`);var ma=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ha=class extends St{constructor(){super(...arguments),this.iconSize=Xr.medium}formatLabel(e){return e?e.replace(/([a-z])([A-Z])/g,`$1 $2`).toUpperCase():``}render(){return T` ${this.formatLabel(this.icon)} - `}};na.styles=xe` + `}};ha.styles=xe` :host { display: inline-flex; align-items: center; @@ -3825,7 +3878,7 @@ margin-left: 10px; padding-top: 4px; } - `,ta([Et()],na.prototype,`icon`,void 0),ta([Et()],na.prototype,`iconSize`,void 0),na=ta([wt(`pb33f-model-badge`)],na);var ra=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ia=class extends Zi{constructor(e){super(),this.diff=new Xi.default,this.showDiff=!0,e&&(this.changes=e),this.renderChangeCountBar=!0,this.addPadding=!1,this.renderBreakingBar=!0,this.renderMeta=!1}toggleDiff(){this.showDiff=!this.showDiff}renderChange(e){let t=T``;e.context&&(e.context.originalLine&&e.context.originalLine===e.context.newLine&&(t=T` + `,ma([E()],ha.prototype,`icon`,void 0),ma([E()],ha.prototype,`iconSize`,void 0),ha=ma([Ct(`pb33f-model-badge`)],ha);var ga=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_a=class extends ua{constructor(e){super(),this.diff=new la.default,this.showDiff=!0,e&&(this.changes=e),this.renderChangeCountBar=!0,this.addPadding=!1,this.renderBreakingBar=!0,this.renderMeta=!1}toggleDiff(){this.showDiff=!this.showDiff}renderChange(e){let t=T``;e.context&&(e.context.originalLine&&e.context.originalLine===e.context.newLine&&(t=T` ${e.change==1?T` @@ -3993,9 +4046,9 @@ ${e}
${t} -
`}};ia.styles=[nne,Bn],ra([Et()],ia.prototype,`changes`,void 0),ra([Et({type:Boolean})],ia.prototype,`addPadding`,void 0),ra([Et({type:Boolean})],ia.prototype,`renderBreakingBar`,void 0),ra([Et({type:Boolean})],ia.prototype,`renderMeta`,void 0),ra([Dt()],ia.prototype,`showDiff`,void 0),ra([Dt()],ia.prototype,`renderChangeCountBar`,void 0),ia=ra([wt(`pb33f-changes-component`)],ia);var aa=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},oa=class extends Ct{constructor(){super(...arguments),this.changes=[],this.panelHidden=!0}_flashTab(){let e=this.shadowRoot?.querySelector(`.collapse-tab`);e&&(e.addEventListener(`animationend`,()=>e.classList.remove(`flashing`),{once:!0}),e.classList.add(`flashing`))}_onCollapseClick(){this._flashTab(),this.dispatchEvent(new CustomEvent(`explorer-change-panel-toggled`,{bubbles:!0,composed:!0,detail:{hidden:!this.panelHidden}}))}render(){return T` + `}};_a.styles=[gne,Bn],ga([E()],_a.prototype,`changes`,void 0),ga([E({type:Boolean})],_a.prototype,`addPadding`,void 0),ga([E({type:Boolean})],_a.prototype,`renderBreakingBar`,void 0),ga([E({type:Boolean})],_a.prototype,`renderMeta`,void 0),ga([Tt()],_a.prototype,`showDiff`,void 0),ga([Tt()],_a.prototype,`renderChangeCountBar`,void 0),_a=ga([Ct(`pb33f-changes-component`)],_a);var va=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ya=class extends St{constructor(){super(...arguments),this.changes=[],this.panelHidden=!0}_flashTab(){let e=this.shadowRoot?.querySelector(`.collapse-tab`);e&&(e.addEventListener(`animationend`,()=>e.classList.remove(`flashing`),{once:!0}),e.classList.add(`flashing`))}_onCollapseClick(){this._flashTab(),this.dispatchEvent(new CustomEvent(`explorer-change-panel-toggled`,{bubbles:!0,composed:!0,detail:{hidden:!this.panelHidden}}))}render(){return T`
- ${this.panelHidden?ct:T` + ${this.panelHidden?ot:T`
- `}};oa.styles=[$te],aa([Et({type:Array})],oa.prototype,`changes`,void 0),aa([Et({type:Boolean,attribute:`panel-hidden`,reflect:!0})],oa.prototype,`panelHidden`,void 0),oa=aa([wt(`pb33f-explorer-change-panel`)],oa);var ine=xe` + `}};ya.styles=[mne],va([E({type:Array})],ya.prototype,`changes`,void 0),va([E({type:Boolean,attribute:`panel-hidden`,reflect:!0})],ya.prototype,`panelHidden`,void 0),ya=va([Ct(`pb33f-explorer-change-panel`)],ya);var vne=xe` :host { display: flex; @@ -4125,7 +4178,7 @@ padding-bottom: 5px; } -`,ane=xe` +`,yne=xe` .scroller::-webkit-scrollbar { width: 8px; } @@ -4139,7 +4192,7 @@ background: var(--secondary-color-lowalpha); padding: var(--global-padding); } -`,sa=xe` +`,ba=xe` ::-webkit-scrollbar { width: 8px; height: 8px; @@ -4153,14 +4206,14 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,ca=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},la=class extends Zi{constructor(){super()}getChangeValue(e){return e.new?T`${e.property}: +`,xa=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Sa=class extends ua{constructor(){super()}getChangeValue(e){return e.new?T`${e.property}: ${e.new.length>100?e.new.slice(0,70)+`...`:e.new}`:e.original?T`${e.property}: ${e.original.length>100?e.original.slice(0,70)+`...`:e.original}`:T`${e.property}`}render(){return T`
${this.changes?.map(e=>{let t=T`${e.context.newLine}:${e.context.newColumn}`;return e.context.newLine||(t=T`${e.context.originalLine}:${e.context.originalColumn}`),T`
${this.renderChangeIcon(e)}
- +
${this.getChangeValue(e)} @@ -4170,7 +4223,7 @@
${this.renderBreaking(e.breaking)}
${t}
`})} -
`}};la.styles=[ine,ane],ca([Et()],la.prototype,`changes`,void 0),la=ca([wt(`pb33f-change-list`)],la);var one=xe` +
`}};Sa.styles=[vne,yne],xa([E()],Sa.prototype,`changes`,void 0),Sa=xa([Ct(`pb33f-change-list`)],Sa);var bne=xe` :host { display: block; outline: 0; @@ -4322,7 +4375,7 @@ outline: dashed 1px SelectedItem; } } -`,sne=xe` +`,xne=xe` :host { display: inline-block; } @@ -4440,7 +4493,7 @@ color: var(--sl-input-required-content-color); margin-inline-start: var(--sl-input-required-content-offset); } -`,ua=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new rn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit(`sl-change`)}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return T` +`,Ca=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new rn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit(`sl-change`)}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return T`
@@ -4498,7 +4551,7 @@ ${this.helpText}
- `}};ua.styles=[gn,Yt,sne],ua.dependencies={"sl-icon":Yi},w([At(`input[type="checkbox"]`)],ua.prototype,`input`,2),w([Dt()],ua.prototype,`hasFocus`,2),w([Et()],ua.prototype,`title`,2),w([Et()],ua.prototype,`name`,2),w([Et()],ua.prototype,`value`,2),w([Et({reflect:!0})],ua.prototype,`size`,2),w([Et({type:Boolean,reflect:!0})],ua.prototype,`disabled`,2),w([Et({type:Boolean,reflect:!0})],ua.prototype,`checked`,2),w([Et({type:Boolean,reflect:!0})],ua.prototype,`indeterminate`,2),w([Jt(`checked`)],ua.prototype,`defaultChecked`,2),w([Et({reflect:!0})],ua.prototype,`form`,2),w([Et({type:Boolean,reflect:!0})],ua.prototype,`required`,2),w([Et({attribute:`help-text`})],ua.prototype,`helpText`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],ua.prototype,`handleDisabledChange`,1),w([hn([`checked`,`indeterminate`],{waitUntilFirstUpdate:!0})],ua.prototype,`handleStateChange`,1);var cne=xe` + `}};Ca.styles=[gn,Yt,xne],Ca.dependencies={"sl-icon":ca},w([Ot(`input[type="checkbox"]`)],Ca.prototype,`input`,2),w([Tt()],Ca.prototype,`hasFocus`,2),w([E()],Ca.prototype,`title`,2),w([E()],Ca.prototype,`name`,2),w([E()],Ca.prototype,`value`,2),w([E({reflect:!0})],Ca.prototype,`size`,2),w([E({type:Boolean,reflect:!0})],Ca.prototype,`disabled`,2),w([E({type:Boolean,reflect:!0})],Ca.prototype,`checked`,2),w([E({type:Boolean,reflect:!0})],Ca.prototype,`indeterminate`,2),w([Jt(`checked`)],Ca.prototype,`defaultChecked`,2),w([E({reflect:!0})],Ca.prototype,`form`,2),w([E({type:Boolean,reflect:!0})],Ca.prototype,`required`,2),w([E({attribute:`help-text`})],Ca.prototype,`helpText`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],Ca.prototype,`handleDisabledChange`,1),w([hn([`checked`,`indeterminate`],{waitUntilFirstUpdate:!0})],Ca.prototype,`handleStateChange`,1);var Sne=xe` :host { --track-width: 2px; --track-color: rgb(128 128 128 / 25%); @@ -4555,12 +4608,12 @@ stroke-dasharray: 0.05em, 3em; } } -`,da=class extends vn{constructor(){super(...arguments),this.localize=new mn(this)}render(){return T` +`,wa=class extends vn{constructor(){super(...arguments),this.localize=new mn(this)}render(){return T` - `}};da.styles=[gn,cne];var fa=new Map,lne=new WeakMap;function une(e){return e??{keyframes:[],options:{duration:0}}}function pa(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function ma(e,t){fa.set(e,une(t))}function ha(e,t,n){let r=lne.get(e);if(r?.[t])return pa(r[t],n.dir);let i=fa.get(t);return i?pa(i,n.dir):{keyframes:[],options:{duration:0}}}function ga(e,t,n){return new Promise(r=>{if(n?.duration===1/0)throw Error(`Promise-based animations must be finite.`);let i=e.animate(t,se(oe({},n),{duration:dne()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function _a(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function dne(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function va(e){return Promise.all(e.getAnimations().map(e=>new Promise(t=>{e.cancel(),requestAnimationFrame(t)})))}function ya(e,t){return e.map(e=>se(oe({},e),{height:e.height===`auto`?`${t}px`:e.height}))}function ba(e,t,n){return e?t(e):n?.(e)}var xa=class e extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.indeterminate=!1,this.isLeaf=!1,this.loading=!1,this.selectable=!1,this.expanded=!1,this.selected=!1,this.disabled=!1,this.lazy=!1}static isTreeItem(e){return e instanceof Element&&e.getAttribute(`role`)===`treeitem`}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`treeitem`),this.setAttribute(`tabindex`,`-1`),this.isNestedItem()&&(this.slot=`children`)}firstUpdated(){this.childrenContainer.hidden=!this.expanded,this.childrenContainer.style.height=this.expanded?`auto`:`0`,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0,this.handleExpandedChange()}async animateCollapse(){this.emit(`sl-collapse`),await va(this.childrenContainer);let{keyframes:e,options:t}=ha(this,`tree-item.collapse`,{dir:this.localize.dir()});await ga(this.childrenContainer,ya(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.hidden=!0,this.emit(`sl-after-collapse`)}isNestedItem(){let t=this.parentElement;return!!t&&e.isTreeItem(t)}handleChildrenSlotChange(){this.loading=!1,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0}willUpdate(e){e.has(`selected`)&&!e.has(`indeterminate`)&&(this.indeterminate=!1)}async animateExpand(){this.emit(`sl-expand`),await va(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=ha(this,`tree-item.expand`,{dir:this.localize.dir()});await ga(this.childrenContainer,ya(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.style.height=`auto`,this.emit(`sl-after-expand`)}handleLoadingChange(){this.setAttribute(`aria-busy`,this.loading?`true`:`false`),this.loading||this.animateExpand()}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`)}handleSelectedChange(){this.setAttribute(`aria-selected`,this.selected?`true`:`false`)}handleExpandedChange(){this.isLeaf?this.removeAttribute(`aria-expanded`):this.setAttribute(`aria-expanded`,this.expanded?`true`:`false`)}handleExpandAnimation(){this.expanded?this.lazy?(this.loading=!0,this.emit(`sl-lazy-load`)):this.animateExpand():this.animateCollapse()}handleLazyChange(){this.emit(`sl-lazy-change`)}getChildrenItems({includeDisabled:t=!0}={}){return this.childrenSlot?[...this.childrenSlot.assignedElements({flatten:!0})].filter(n=>e.isTreeItem(n)&&(t||!n.disabled)):[]}render(){let e=this.localize.dir()===`rtl`,t=!this.loading&&(!this.isLeaf||this.lazy);return T` + `}};wa.styles=[gn,Sne];var Cne=new Map,wne=new WeakMap;function Tne(e){return e??{keyframes:[],options:{duration:0}}}function Ene(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function Ta(e,t){Cne.set(e,Tne(t))}function Ea(e,t,n){let r=wne.get(e);if(r?.[t])return Ene(r[t],n.dir);let i=Cne.get(t);return i?Ene(i,n.dir):{keyframes:[],options:{duration:0}}}function Da(e,t,n){return new Promise(r=>{if(n?.duration===1/0)throw Error(`Promise-based animations must be finite.`);let i=e.animate(t,se(oe({},n),{duration:One()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function Dne(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function One(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Oa(e){return Promise.all(e.getAnimations().map(e=>new Promise(t=>{e.cancel(),requestAnimationFrame(t)})))}function ka(e,t){return e.map(e=>se(oe({},e),{height:e.height===`auto`?`${t}px`:e.height}))}function Aa(e,t,n){return e?t(e):n?.(e)}var ja=class e extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.indeterminate=!1,this.isLeaf=!1,this.loading=!1,this.selectable=!1,this.expanded=!1,this.selected=!1,this.disabled=!1,this.lazy=!1}static isTreeItem(e){return e instanceof Element&&e.getAttribute(`role`)===`treeitem`}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`treeitem`),this.setAttribute(`tabindex`,`-1`),this.isNestedItem()&&(this.slot=`children`)}firstUpdated(){this.childrenContainer.hidden=!this.expanded,this.childrenContainer.style.height=this.expanded?`auto`:`0`,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0,this.handleExpandedChange()}async animateCollapse(){this.emit(`sl-collapse`),await Oa(this.childrenContainer);let{keyframes:e,options:t}=Ea(this,`tree-item.collapse`,{dir:this.localize.dir()});await Da(this.childrenContainer,ka(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.hidden=!0,this.emit(`sl-after-collapse`)}isNestedItem(){let t=this.parentElement;return!!t&&e.isTreeItem(t)}handleChildrenSlotChange(){this.loading=!1,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0}willUpdate(e){e.has(`selected`)&&!e.has(`indeterminate`)&&(this.indeterminate=!1)}async animateExpand(){this.emit(`sl-expand`),await Oa(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=Ea(this,`tree-item.expand`,{dir:this.localize.dir()});await Da(this.childrenContainer,ka(e,this.childrenContainer.scrollHeight),t),this.childrenContainer.style.height=`auto`,this.emit(`sl-after-expand`)}handleLoadingChange(){this.setAttribute(`aria-busy`,this.loading?`true`:`false`),this.loading||this.animateExpand()}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`)}handleSelectedChange(){this.setAttribute(`aria-selected`,this.selected?`true`:`false`)}handleExpandedChange(){this.isLeaf?this.removeAttribute(`aria-expanded`):this.setAttribute(`aria-expanded`,this.expanded?`true`:`false`)}handleExpandAnimation(){this.expanded?this.lazy?(this.loading=!0,this.emit(`sl-lazy-load`)):this.animateExpand():this.animateCollapse()}handleLazyChange(){this.emit(`sl-lazy-change`)}getChildrenItems({includeDisabled:t=!0}={}){return this.childrenSlot?[...this.childrenSlot.assignedElements({flatten:!0})].filter(n=>e.isTreeItem(n)&&(t||!n.disabled)):[]}render(){let e=this.localize.dir()===`rtl`,t=!this.loading&&(!this.isLeaf||this.lazy);return T` - ${ba(this.selectable,()=>T` + ${Aa(this.selectable,()=>T` - `}};xa.styles=[gn,one],xa.dependencies={"sl-checkbox":ua,"sl-icon":Yi,"sl-spinner":da},w([Dt()],xa.prototype,`indeterminate`,2),w([Dt()],xa.prototype,`isLeaf`,2),w([Dt()],xa.prototype,`loading`,2),w([Dt()],xa.prototype,`selectable`,2),w([Et({type:Boolean,reflect:!0})],xa.prototype,`expanded`,2),w([Et({type:Boolean,reflect:!0})],xa.prototype,`selected`,2),w([Et({type:Boolean,reflect:!0})],xa.prototype,`disabled`,2),w([Et({type:Boolean,reflect:!0})],xa.prototype,`lazy`,2),w([At(`slot:not([name])`)],xa.prototype,`defaultSlot`,2),w([At(`slot[name=children]`)],xa.prototype,`childrenSlot`,2),w([At(`.tree-item__item`)],xa.prototype,`itemElement`,2),w([At(`.tree-item__children`)],xa.prototype,`childrenContainer`,2),w([At(`.tree-item__expand-button slot`)],xa.prototype,`expandButtonSlot`,2),w([hn(`loading`,{waitUntilFirstUpdate:!0})],xa.prototype,`handleLoadingChange`,1),w([hn(`disabled`)],xa.prototype,`handleDisabledChange`,1),w([hn(`selected`)],xa.prototype,`handleSelectedChange`,1),w([hn(`expanded`,{waitUntilFirstUpdate:!0})],xa.prototype,`handleExpandedChange`,1),w([hn(`expanded`,{waitUntilFirstUpdate:!0})],xa.prototype,`handleExpandAnimation`,1),w([hn(`lazy`,{waitUntilFirstUpdate:!0})],xa.prototype,`handleLazyChange`,1);var Sa=xa;ma(`tree-item.expand`,{keyframes:[{height:`0`,opacity:`0`,overflow:`hidden`},{height:`auto`,opacity:`1`,overflow:`hidden`}],options:{duration:250,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}}),ma(`tree-item.collapse`,{keyframes:[{height:`auto`,opacity:`1`,overflow:`hidden`},{height:`0`,opacity:`0`,overflow:`hidden`}],options:{duration:200,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}});var fne=xe` + `}};ja.styles=[gn,bne],ja.dependencies={"sl-checkbox":Ca,"sl-icon":ca,"sl-spinner":wa},w([Tt()],ja.prototype,`indeterminate`,2),w([Tt()],ja.prototype,`isLeaf`,2),w([Tt()],ja.prototype,`loading`,2),w([Tt()],ja.prototype,`selectable`,2),w([E({type:Boolean,reflect:!0})],ja.prototype,`expanded`,2),w([E({type:Boolean,reflect:!0})],ja.prototype,`selected`,2),w([E({type:Boolean,reflect:!0})],ja.prototype,`disabled`,2),w([E({type:Boolean,reflect:!0})],ja.prototype,`lazy`,2),w([Ot(`slot:not([name])`)],ja.prototype,`defaultSlot`,2),w([Ot(`slot[name=children]`)],ja.prototype,`childrenSlot`,2),w([Ot(`.tree-item__item`)],ja.prototype,`itemElement`,2),w([Ot(`.tree-item__children`)],ja.prototype,`childrenContainer`,2),w([Ot(`.tree-item__expand-button slot`)],ja.prototype,`expandButtonSlot`,2),w([hn(`loading`,{waitUntilFirstUpdate:!0})],ja.prototype,`handleLoadingChange`,1),w([hn(`disabled`)],ja.prototype,`handleDisabledChange`,1),w([hn(`selected`)],ja.prototype,`handleSelectedChange`,1),w([hn(`expanded`,{waitUntilFirstUpdate:!0})],ja.prototype,`handleExpandedChange`,1),w([hn(`expanded`,{waitUntilFirstUpdate:!0})],ja.prototype,`handleExpandAnimation`,1),w([hn(`lazy`,{waitUntilFirstUpdate:!0})],ja.prototype,`handleLazyChange`,1);var Ma=ja;Ta(`tree-item.expand`,{keyframes:[{height:`0`,opacity:`0`,overflow:`hidden`},{height:`auto`,opacity:`1`,overflow:`hidden`}],options:{duration:250,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}}),Ta(`tree-item.collapse`,{keyframes:[{height:`auto`,opacity:`1`,overflow:`hidden`},{height:`0`,opacity:`0`,overflow:`hidden`}],options:{duration:200,easing:`cubic-bezier(0.4, 0.0, 0.2, 1)`}});var kne=xe` :host { /* * These are actually used by tree item, but we define them here so they can more easily be set and all tree items @@ -4638,7 +4691,7 @@ */ font-size: 0; } -`;function Ca(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function wa(e,t=!1){function n(e){let t=e.getChildrenItems({includeDisabled:!1});if(t.length){let n=t.every(e=>e.selected),r=t.every(e=>!e.selected&&!e.indeterminate);e.selected=n,e.indeterminate=!n&&!r}}function r(e){let t=e.parentElement;Sa.isTreeItem(t)&&(n(t),r(t))}function i(e){for(let n of e.getChildrenItems())n.selected=t?e.selected||n.selected:!n.disabled&&e.selected,i(n);t&&n(e)}i(e),r(e)}var Ta=class extends vn{constructor(){super(),this.selection=`single`,this.clickTarget=null,this.localize=new mn(this),this.initTreeItem=e=>{e.selectable=this.selection===`multiple`,[`expand`,`collapse`].filter(e=>!!this.querySelector(`[slot="${e}-icon"]`)).forEach(t=>{let n=e.querySelector(`[slot="${t}-icon"]`),r=this.getExpandButtonIcon(t);r&&(n===null?e.append(r):n.hasAttribute(`data-default`)&&n.replaceWith(r))})},this.handleTreeChanged=e=>{for(let t of e){let e=[...t.addedNodes].filter(Sa.isTreeItem),n=[...t.removedNodes].filter(Sa.isTreeItem);e.forEach(this.initTreeItem),this.lastFocusedItem&&n.includes(this.lastFocusedItem)&&(this.lastFocusedItem=null)}},this.handleFocusOut=e=>{let t=e.relatedTarget;(!t||!this.contains(t))&&(this.tabIndex=0)},this.handleFocusIn=e=>{let t=e.target;e.target===this&&this.focusItem(this.lastFocusedItem||this.getAllTreeItems()[0]),Sa.isTreeItem(t)&&!t.disabled&&(this.lastFocusedItem&&(this.lastFocusedItem.tabIndex=-1),this.lastFocusedItem=t,this.tabIndex=-1,t.tabIndex=0)},this.addEventListener(`focusin`,this.handleFocusIn),this.addEventListener(`focusout`,this.handleFocusOut),this.addEventListener(`sl-lazy-change`,this.handleSlotChange)}async connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tree`),this.setAttribute(`tabindex`,`0`),await this.updateComplete,this.mutationObserver=new MutationObserver(this.handleTreeChanged),this.mutationObserver.observe(this,{childList:!0,subtree:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect()}getExpandButtonIcon(e){let t=(e===`expand`?this.expandedIconSlot:this.collapsedIconSlot).assignedElements({flatten:!0})[0];if(t){let n=t.cloneNode(!0);return[n,...n.querySelectorAll(`[id]`)].forEach(e=>e.removeAttribute(`id`)),n.setAttribute(`data-default`,``),n.slot=`${e}-icon`,n}return null}selectItem(e){let t=[...this.selectedItems];if(this.selection===`multiple`)e.selected=!e.selected,e.lazy&&(e.expanded=!0),wa(e);else if(this.selection===`single`||e.isLeaf){let t=this.getAllTreeItems();for(let n of t)n.selected=n===e}else this.selection===`leaf`&&(e.expanded=!e.expanded);let n=this.selectedItems;(t.length!==n.length||n.some(e=>!t.includes(e)))&&Promise.all(n.map(e=>e.updateComplete)).then(()=>{this.emit(`sl-selection-change`,{detail:{selection:n}})})}getAllTreeItems(){return[...this.querySelectorAll(`sl-tree-item`)]}focusItem(e){e?.focus()}handleKeyDown(e){if(![`ArrowDown`,`ArrowUp`,`ArrowRight`,`ArrowLeft`,`Home`,`End`,`Enter`,` `].includes(e.key)||e.composedPath().some(e=>[`input`,`textarea`].includes((e?.tagName)?.toLowerCase())))return;let t=this.getFocusableItems(),n=this.localize.dir()===`ltr`,r=this.localize.dir()===`rtl`;if(t.length>0){e.preventDefault();let i=t.findIndex(e=>e.matches(`:focus`)),a=t[i],o=e=>{let n=t[Ca(e,0,t.length-1)];this.focusItem(n)},s=e=>{a.expanded=e};e.key===`ArrowDown`?o(i+1):e.key===`ArrowUp`?o(i-1):n&&e.key===`ArrowRight`||r&&e.key===`ArrowLeft`?!a||a.disabled||a.expanded||a.isLeaf&&!a.lazy?o(i+1):s(!0):n&&e.key===`ArrowLeft`||r&&e.key===`ArrowRight`?!a||a.disabled||a.isLeaf||!a.expanded?o(i-1):s(!1):e.key===`Home`?o(0):e.key===`End`?o(t.length-1):(e.key===`Enter`||e.key===` `)&&(a.disabled||this.selectItem(a))}}handleClick(e){let t=e.target,n=t.closest(`sl-tree-item`),r=e.composedPath().some(e=>(e?.classList)?.contains(`tree-item__expand-button`));!n||n.disabled||t!==this.clickTarget||(r?n.expanded=!n.expanded:this.selectItem(n))}handleMouseDown(e){this.clickTarget=e.target}handleSlotChange(){this.getAllTreeItems().forEach(this.initTreeItem)}async handleSelectionChange(){let e=this.selection===`multiple`,t=this.getAllTreeItems();this.setAttribute(`aria-multiselectable`,e?`true`:`false`);for(let n of t)n.selectable=e;e&&(await this.updateComplete,[...this.querySelectorAll(`:scope > sl-tree-item`)].forEach(e=>wa(e,!0)))}get selectedItems(){return this.getAllTreeItems().filter(e=>e.selected)}getFocusableItems(){let e=this.getAllTreeItems(),t=new Set;return e.filter(e=>{if(e.disabled)return!1;let n=e.parentElement?.closest(`[role=treeitem]`);return n&&(!n.expanded||n.loading||t.has(n))&&t.add(e),!t.has(e)})}render(){return T` +`;function Na(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function Pa(e,t=!1){function n(e){let t=e.getChildrenItems({includeDisabled:!1});if(t.length){let n=t.every(e=>e.selected),r=t.every(e=>!e.selected&&!e.indeterminate);e.selected=n,e.indeterminate=!n&&!r}}function r(e){let t=e.parentElement;Ma.isTreeItem(t)&&(n(t),r(t))}function i(e){for(let n of e.getChildrenItems())n.selected=t?e.selected||n.selected:!n.disabled&&e.selected,i(n);t&&n(e)}i(e),r(e)}var Fa=class extends vn{constructor(){super(),this.selection=`single`,this.clickTarget=null,this.localize=new mn(this),this.initTreeItem=e=>{e.selectable=this.selection===`multiple`,[`expand`,`collapse`].filter(e=>!!this.querySelector(`[slot="${e}-icon"]`)).forEach(t=>{let n=e.querySelector(`[slot="${t}-icon"]`),r=this.getExpandButtonIcon(t);r&&(n===null?e.append(r):n.hasAttribute(`data-default`)&&n.replaceWith(r))})},this.handleTreeChanged=e=>{for(let t of e){let e=[...t.addedNodes].filter(Ma.isTreeItem),n=[...t.removedNodes].filter(Ma.isTreeItem);e.forEach(this.initTreeItem),this.lastFocusedItem&&n.includes(this.lastFocusedItem)&&(this.lastFocusedItem=null)}},this.handleFocusOut=e=>{let t=e.relatedTarget;(!t||!this.contains(t))&&(this.tabIndex=0)},this.handleFocusIn=e=>{let t=e.target;e.target===this&&this.focusItem(this.lastFocusedItem||this.getAllTreeItems()[0]),Ma.isTreeItem(t)&&!t.disabled&&(this.lastFocusedItem&&(this.lastFocusedItem.tabIndex=-1),this.lastFocusedItem=t,this.tabIndex=-1,t.tabIndex=0)},this.addEventListener(`focusin`,this.handleFocusIn),this.addEventListener(`focusout`,this.handleFocusOut),this.addEventListener(`sl-lazy-change`,this.handleSlotChange)}async connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tree`),this.setAttribute(`tabindex`,`0`),await this.updateComplete,this.mutationObserver=new MutationObserver(this.handleTreeChanged),this.mutationObserver.observe(this,{childList:!0,subtree:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect()}getExpandButtonIcon(e){let t=(e===`expand`?this.expandedIconSlot:this.collapsedIconSlot).assignedElements({flatten:!0})[0];if(t){let n=t.cloneNode(!0);return[n,...n.querySelectorAll(`[id]`)].forEach(e=>e.removeAttribute(`id`)),n.setAttribute(`data-default`,``),n.slot=`${e}-icon`,n}return null}selectItem(e){let t=[...this.selectedItems];if(this.selection===`multiple`)e.selected=!e.selected,e.lazy&&(e.expanded=!0),Pa(e);else if(this.selection===`single`||e.isLeaf){let t=this.getAllTreeItems();for(let n of t)n.selected=n===e}else this.selection===`leaf`&&(e.expanded=!e.expanded);let n=this.selectedItems;(t.length!==n.length||n.some(e=>!t.includes(e)))&&Promise.all(n.map(e=>e.updateComplete)).then(()=>{this.emit(`sl-selection-change`,{detail:{selection:n}})})}getAllTreeItems(){return[...this.querySelectorAll(`sl-tree-item`)]}focusItem(e){e?.focus()}handleKeyDown(e){if(![`ArrowDown`,`ArrowUp`,`ArrowRight`,`ArrowLeft`,`Home`,`End`,`Enter`,` `].includes(e.key)||e.composedPath().some(e=>[`input`,`textarea`].includes((e?.tagName)?.toLowerCase())))return;let t=this.getFocusableItems(),n=this.localize.dir()===`ltr`,r=this.localize.dir()===`rtl`;if(t.length>0){e.preventDefault();let i=t.findIndex(e=>e.matches(`:focus`)),a=t[i],o=e=>{let n=t[Na(e,0,t.length-1)];this.focusItem(n)},s=e=>{a.expanded=e};e.key===`ArrowDown`?o(i+1):e.key===`ArrowUp`?o(i-1):n&&e.key===`ArrowRight`||r&&e.key===`ArrowLeft`?!a||a.disabled||a.expanded||a.isLeaf&&!a.lazy?o(i+1):s(!0):n&&e.key===`ArrowLeft`||r&&e.key===`ArrowRight`?!a||a.disabled||a.isLeaf||!a.expanded?o(i-1):s(!1):e.key===`Home`?o(0):e.key===`End`?o(t.length-1):(e.key===`Enter`||e.key===` `)&&(a.disabled||this.selectItem(a))}}handleClick(e){let t=e.target,n=t.closest(`sl-tree-item`),r=e.composedPath().some(e=>(e?.classList)?.contains(`tree-item__expand-button`));!n||n.disabled||t!==this.clickTarget||(r?n.expanded=!n.expanded:this.selectItem(n))}handleMouseDown(e){this.clickTarget=e.target}handleSlotChange(){this.getAllTreeItems().forEach(this.initTreeItem)}async handleSelectionChange(){let e=this.selection===`multiple`,t=this.getAllTreeItems();this.setAttribute(`aria-multiselectable`,e?`true`:`false`);for(let n of t)n.selectable=e;e&&(await this.updateComplete,[...this.querySelectorAll(`:scope > sl-tree-item`)].forEach(e=>Pa(e,!0)))}get selectedItems(){return this.getAllTreeItems().filter(e=>e.selected)}getFocusableItems(){let e=this.getAllTreeItems(),t=new Set;return e.filter(e=>{if(e.disabled)return!1;let n=e.parentElement?.closest(`[role=treeitem]`);return n&&(!n.expanded||n.loading||t.has(n))&&t.add(e),!t.has(e)})}render(){return T` - `}};Ta.styles=[gn,fne],w([At(`slot:not([name])`)],Ta.prototype,`defaultSlot`,2),w([At(`slot[name=expand-icon]`)],Ta.prototype,`expandedIconSlot`,2),w([At(`slot[name=collapse-icon]`)],Ta.prototype,`collapsedIconSlot`,2),w([Et()],Ta.prototype,`selection`,2),w([hn(`selection`)],Ta.prototype,`handleSelectionChange`,1),Ta.define(`sl-tree`),Sa.define(`sl-tree-item`);var pne=xe` + `}};Fa.styles=[gn,kne],w([Ot(`slot:not([name])`)],Fa.prototype,`defaultSlot`,2),w([Ot(`slot[name=expand-icon]`)],Fa.prototype,`expandedIconSlot`,2),w([Ot(`slot[name=collapse-icon]`)],Fa.prototype,`collapsedIconSlot`,2),w([E()],Fa.prototype,`selection`,2),w([hn(`selection`)],Fa.prototype,`handleSelectionChange`,1),Fa.define(`sl-tree`),Ma.define(`sl-tree-item`);var Ane=xe` sl-tree { --indent-guide-width: 1px; --indent-guide-color: var(--secondary-color); @@ -4757,21 +4810,21 @@ sl-tree-item.no-changes[selected]::part(expand-button) { opacity: 1; } -`,mne={[E.DOCUMENT]:{showOnLeaf:!0,showOnBranch:!0},[E.PATHS]:{showOnLeaf:!0,showOnBranch:!0},[E.COMPONENTS]:{showOnLeaf:!0,showOnBranch:!0},[E.INFO]:{showOnLeaf:!0,showOnBranch:!0},[E.CONTACT]:{showOnLeaf:!0,showOnBranch:!0},[E.LICENSE]:{showOnLeaf:!0,showOnBranch:!0},[E.SERVERS]:{showOnLeaf:!0,showOnBranch:!0},[E.SERVER]:{showOnLeaf:!0,showOnBranch:!0},[E.TAGS]:{showOnLeaf:!0,showOnBranch:!0},[E.TAG]:{showOnLeaf:!0,showOnBranch:!0},[E.SECURITY_SCHEMES]:{showOnLeaf:!0,showOnBranch:!0},[E.SECURITY_SCHEME]:{showOnLeaf:!0,showOnBranch:!0},[E.WEBHOOKS]:{showOnLeaf:!0,showOnBranch:!0},[E.WEBHOOK]:{showOnLeaf:!0,showOnBranch:!0},[E.EXTERNAL_DOCS]:{showOnLeaf:!0,showOnBranch:!0},[E.EXAMPLE]:{showOnLeaf:!0,showOnBranch:!0},[E.EXAMPLES]:{showOnLeaf:!0,showOnBranch:!0},[E.LINK]:{showOnLeaf:!0,showOnBranch:!0},[E.LINKS]:{showOnLeaf:!0,showOnBranch:!0},[E.CALLBACK]:{showOnLeaf:!0,showOnBranch:!0},[E.CALLBACKS]:{showOnLeaf:!0,showOnBranch:!0},[E.EXTENSIONS]:{showOnLeaf:!0,showOnBranch:!0},[E.EXTENSION]:{showOnLeaf:!0,showOnBranch:!0},[E.ROLODEX_FILE]:{showOnLeaf:!0,showOnBranch:!0},[E.ROLODEX_FOLDER]:{showOnLeaf:!0,showOnBranch:!0},[E.SECURITY]:{showOnLeaf:!0,showOnBranch:!0},[E.PARAMETERS]:{showOnLeaf:!0,showOnBranch:!0},[E.HEADERS]:{showOnLeaf:!0,showOnBranch:!0},[E.RESPONSES]:{showOnLeaf:!0,showOnBranch:!0},[E.REQUEST_BODIES]:{showOnLeaf:!0,showOnBranch:!0},[E.REQUEST_BODY]:{showOnLeaf:!0,showOnBranch:!0},[E.PATH_ITEMS]:{showOnLeaf:!0,showOnBranch:!0},[E.SCHEMAS]:{showOnLeaf:!0,showOnBranch:!0}};function hne(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}var Ea=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Da,gne=new Set([E.DOCUMENT,E.INFO,E.CONTACT,E.LICENSE,E.TAGS,E.SERVERS,E.PATHS,E.COMPONENTS,E.SECURITY_SCHEMES,E.WEBHOOKS,E.SCHEMAS,E.PARAMETERS,E.HEADERS,E.RESPONSES,E.REQUEST_BODIES,E.CALLBACKS,E.LINKS,E.EXAMPLES,E.EXTENSIONS,E.PATH_ITEMS,E.EXTERNAL_DOCS,E.SECURITY,E.OPERATIONS,E.ROLODEX_FOLDER]),Oa=Da=class extends Ct{static renderFileIcon(e,t){return T``}constructor(){super(),this.iconConfig=mne,this.isBundled=!1,this._childRenderLimit=50,this.selectedNodes=[],this.isRolodex=!1,this.filteredNodes=new Map,this.pendingNavigationId=``,this.pendingNavigationPath=``,this.nodesWithChanges=new Map,this.expand=!1,this.expandedNodes=new Map,this.changesEnabled=!1,this.treeChanged=!1,this.childrenRendered=new Set,this.showAllChildren=new Set}disconnectedCallback(){super.disconnectedCallback(),this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout)}showMoreChildren(e){this.showAllChildren.add(e),this.requestUpdate()}nodeClicked(e,t=[],n){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:e,changes:t,source:n}}))}rolodexClicked(e,t=``,n=[]){this.dispatchEvent(new CustomEvent(yee,{bubbles:!0,composed:!0,detail:{nodeId:e,path:t,changes:n}}))}openNode(e){if(this.nodeMap.get(e)){let t=this.nodeMap.get(e);t&&(this.expandedNodes.set(t.id,t),this.childrenRendered.add(t.id),this.openNode(t.parentId),this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(t.id)}`)[0]?.setAttribute(`expanded`,`true`)),this.requestUpdate();return}else{let t=this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(e)}`)[0];if(t){t.setAttribute(`expanded`,`true`),this.childrenRendered.add(e);let n=t.getAttribute(`data-parentid`);n&&this.openNode(n),this.requestUpdate();return}}}willUpdate(e){(e.has(`node`)||e.has(`nodeMap`))&&(this.childrenRendered.clear(),this.expandedNodes.forEach((e,t)=>{this.childrenRendered.add(t)}),this.showAllChildren.clear())}updated(){if(this.pendingNavigationId!=``&&this.explorerClicked(this.pendingNavigationId),this.pendingNavigationPath&&this.pendingNavigationPath!=``){let e=this.pendingNavigationPath;this.openNodeByPath(e)}}openNodeByPath(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);if(n){let r=null;for(let t=0;t{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})}),t&&this.isRolodex)){let t=r.id.replace(`model-`,``);(this.currentId!==t||this.currentPath!==e)&&(this.currentId=t,this.currentPath=e,this.selectedNodes=[r],this.rolodexClicked(t,e,[]))}}}explorerClicked(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);n?this.pendingNavigationId!=``&&(e=this.pendingNavigationId,this.pendingNavigationId=``):this.pendingNavigationId=e;let r=null;for(let t=0;t{this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout),this.pendingExplorerTimeout=window.setTimeout(()=>{let n=this.renderRoot?.querySelector(`sl-tree-item#model-${CSS.escape(e)}`);n&&(n.selected=!0,t&&n.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`}))},50)});return}}r&&t&&requestAnimationFrame(()=>{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})})}collapse(e,t){e.stopPropagation(),t.treeExpanded=!1,this.expandedNodes.delete(t.id)}expanded(e,t){e.stopPropagation(),t.treeExpanded=!0,this.expandedNodes.set(t.id,t),this.childrenRendered.has(t.id)||(this.childrenRendered.add(t.id),this.requestUpdate())}renderLabel(e,t=!1){if(t)return T`${e.label}`;switch(e.type){case E.ROLODEX_FILE:return T`${e.label}`;case E.RESPONSE:return T`${e.label}`;case E.OPERATION:let t=e.instance?.operationId;return T` - ${t?T`${t}`:``}`;case E.PATH_ITEM:return T` - `;default:return T`${e.label}`}}buildTree(e,t){let n=[],r=e.label?.toLowerCase()===`document`,i=r||this.expand||this.childrenRendered.has(e.id);if(e.nodes&&i){let r=[];for(let t=0;t0){if(e.type===E.PATH_ITEM){let e=r.filter(e=>e.type===E.OPERATION),t=r.filter(e=>e.type===E.PARAMETER||e.type===E.PARAMETERS),n=r.filter(e=>e.type!==E.OPERATION&&e.type!==E.PARAMETER&&e.type!==E.PARAMETERS);r=t.concat(e).concat(n)}else r.sort((e,t)=>e.keyLine-t.keyLine);let i=this.showAllChildren.has(e.id),a=i?r.length:this._childRenderLimit,o=Math.min(r.length,a);for(let e=0;ethis._childRenderLimit){let t=r.length-this._childRenderLimit;n.push(T` +`,Ia={[D.DOCUMENT]:{showOnLeaf:!0,showOnBranch:!0},[D.PATHS]:{showOnLeaf:!0,showOnBranch:!0},[D.COMPONENTS]:{showOnLeaf:!0,showOnBranch:!0},[D.INFO]:{showOnLeaf:!0,showOnBranch:!0},[D.CONTACT]:{showOnLeaf:!0,showOnBranch:!0},[D.LICENSE]:{showOnLeaf:!0,showOnBranch:!0},[D.SERVERS]:{showOnLeaf:!0,showOnBranch:!0},[D.SERVER]:{showOnLeaf:!0,showOnBranch:!0},[D.TAGS]:{showOnLeaf:!0,showOnBranch:!0},[D.TAG]:{showOnLeaf:!0,showOnBranch:!0},[D.SECURITY_SCHEMES]:{showOnLeaf:!0,showOnBranch:!0},[D.SECURITY_SCHEME]:{showOnLeaf:!0,showOnBranch:!0},[D.WEBHOOKS]:{showOnLeaf:!0,showOnBranch:!0},[D.WEBHOOK]:{showOnLeaf:!0,showOnBranch:!0},[D.EXTERNAL_DOCS]:{showOnLeaf:!0,showOnBranch:!0},[D.EXAMPLE]:{showOnLeaf:!0,showOnBranch:!0},[D.EXAMPLES]:{showOnLeaf:!0,showOnBranch:!0},[D.LINK]:{showOnLeaf:!0,showOnBranch:!0},[D.LINKS]:{showOnLeaf:!0,showOnBranch:!0},[D.CALLBACK]:{showOnLeaf:!0,showOnBranch:!0},[D.CALLBACKS]:{showOnLeaf:!0,showOnBranch:!0},[D.EXTENSIONS]:{showOnLeaf:!0,showOnBranch:!0},[D.EXTENSION]:{showOnLeaf:!0,showOnBranch:!0},[D.ROLODEX_FILE]:{showOnLeaf:!0,showOnBranch:!0},[D.ROLODEX_FOLDER]:{showOnLeaf:!0,showOnBranch:!0},[D.SECURITY]:{showOnLeaf:!0,showOnBranch:!0},[D.PARAMETERS]:{showOnLeaf:!0,showOnBranch:!0},[D.HEADERS]:{showOnLeaf:!0,showOnBranch:!0},[D.RESPONSES]:{showOnLeaf:!0,showOnBranch:!0},[D.REQUEST_BODIES]:{showOnLeaf:!0,showOnBranch:!0},[D.REQUEST_BODY]:{showOnLeaf:!0,showOnBranch:!0},[D.PATH_ITEMS]:{showOnLeaf:!0,showOnBranch:!0},[D.SCHEMAS]:{showOnLeaf:!0,showOnBranch:!0}};function La(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}var Ra=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},za,jne=new Set([D.DOCUMENT,D.INFO,D.CONTACT,D.LICENSE,D.TAGS,D.SERVERS,D.PATHS,D.COMPONENTS,D.SECURITY_SCHEMES,D.WEBHOOKS,D.SCHEMAS,D.PARAMETERS,D.HEADERS,D.RESPONSES,D.REQUEST_BODIES,D.CALLBACKS,D.LINKS,D.EXAMPLES,D.EXTENSIONS,D.PATH_ITEMS,D.EXTERNAL_DOCS,D.SECURITY,D.OPERATIONS,D.ROLODEX_FOLDER]),Ba=za=class extends St{static renderFileIcon(e,t){return T``}constructor(){super(),this.iconConfig=Ia,this.isBundled=!1,this._childRenderLimit=50,this.selectedNodes=[],this.isRolodex=!1,this.filteredNodes=new Map,this.pendingNavigationId=``,this.pendingNavigationPath=``,this.nodesWithChanges=new Map,this.expand=!1,this.expandedNodes=new Map,this.changesEnabled=!1,this.treeChanged=!1,this.childrenRendered=new Set,this.showAllChildren=new Set}disconnectedCallback(){super.disconnectedCallback(),this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout)}showMoreChildren(e){this.showAllChildren.add(e),this.requestUpdate()}nodeClicked(e,t=[],n){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0,detail:{nodeId:e,changes:t,source:n}}))}rolodexClicked(e,t=``,n=[]){this.dispatchEvent(new CustomEvent(vee,{bubbles:!0,composed:!0,detail:{nodeId:e,path:t,changes:n}}))}openNode(e){if(this.nodeMap.get(e)){let t=this.nodeMap.get(e);t&&(this.expandedNodes.set(t.id,t),this.childrenRendered.add(t.id),this.openNode(t.parentId),this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(t.id)}`)[0]?.setAttribute(`expanded`,`true`)),this.requestUpdate();return}else{let t=this.renderRoot.querySelectorAll(`sl-tree-item#model-${CSS.escape(e)}`)[0];if(t){t.setAttribute(`expanded`,`true`),this.childrenRendered.add(e);let n=t.getAttribute(`data-parentid`);n&&this.openNode(n),this.requestUpdate();return}}}willUpdate(e){(e.has(`node`)||e.has(`nodeMap`))&&(this.childrenRendered.clear(),this.expandedNodes.forEach((e,t)=>{this.childrenRendered.add(t)}),this.showAllChildren.clear())}updated(){if(this.pendingNavigationId!=``&&this.explorerClicked(this.pendingNavigationId),this.pendingNavigationPath&&this.pendingNavigationPath!=``){let e=this.pendingNavigationPath;this.openNodeByPath(e)}}openNodeByPath(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);if(n){let r=null;for(let t=0;t{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})}),t&&this.isRolodex)){let t=r.id.replace(`model-`,``);(this.currentId!==t||this.currentPath!==e)&&(this.currentId=t,this.currentPath=e,this.selectedNodes=[r],this.rolodexClicked(t,e,[]))}}}explorerClicked(e,t=!0){let n=this.renderRoot?.querySelectorAll(`sl-tree-item`);n?this.pendingNavigationId!=``&&(e=this.pendingNavigationId,this.pendingNavigationId=``):this.pendingNavigationId=e;let r=null;for(let t=0;t{this.pendingExplorerTimeout!==void 0&&clearTimeout(this.pendingExplorerTimeout),this.pendingExplorerTimeout=window.setTimeout(()=>{let n=this.renderRoot?.querySelector(`sl-tree-item#model-${CSS.escape(e)}`);n&&(n.selected=!0,t&&n.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`}))},50)});return}}r&&t&&requestAnimationFrame(()=>{r?.scrollIntoView({behavior:`smooth`,block:`center`,inline:`center`})})}collapse(e,t){e.stopPropagation(),t.treeExpanded=!1,this.expandedNodes.delete(t.id)}expanded(e,t){e.stopPropagation(),t.treeExpanded=!0,this.expandedNodes.set(t.id,t),this.childrenRendered.has(t.id)||(this.childrenRendered.add(t.id),this.requestUpdate())}renderLabel(e,t=!1){if(t)return T`${e.label}`;switch(e.type){case D.ROLODEX_FILE:return T`${e.label}`;case D.RESPONSE:return T`${e.label}`;case D.OPERATION:let t=e.instance?.operationId;return T` + ${t?T`${t}`:``}`;case D.PATH_ITEM:return T` + `;default:return T`${e.label}`}}buildTree(e,t){let n=[],r=e.label?.toLowerCase()===`document`,i=r||this.expand||this.childrenRendered.has(e.id);if(e.nodes&&i){let r=[];for(let t=0;t0){if(e.type===D.PATH_ITEM){let e=r.filter(e=>e.type===D.OPERATION),t=r.filter(e=>e.type===D.PARAMETER||e.type===D.PARAMETERS),n=r.filter(e=>e.type!==D.OPERATION&&e.type!==D.PARAMETER&&e.type!==D.PARAMETERS);r=t.concat(e).concat(n)}else r.sort((e,t)=>e.keyLine-t.keyLine);let i=this.showAllChildren.has(e.id),a=i?r.length:this._childRenderLimit,o=Math.min(r.length,a);for(let e=0;ethis._childRenderLimit){let t=r.length-this._childRenderLimit;n.push(T` Show ${t} more items... - `)}}}let a=e.treeExpanded;e.label.toLowerCase()==`document`&&(a=!0),this.expandedNodes&&this.expandedNodes.get(e.id)&&(a=!0);let o=Xr.primary,s=this.filteredNodes.size>0&&!this.filteredNodes.get(e.id);if(e.type===E.RESPONSE)switch(ji(parseInt(e.label))){case`http400`:o=Xr.warning;break;case`http500`:o=Xr.error;break;default:o=Xr.font;break}e.type===E.ROLODEX_FILE&&(o=Xr.secondary),s&&(o=Xr.filtered);let c=T``,l=T``,u=T``,d=!1,f=this.nodeMap.get(e.id);if(f){let e=qt(f,this.violationMap);e.warnings>0&&(c=T` + `)}}}let a=e.treeExpanded;e.label.toLowerCase()==`document`&&(a=!0),this.expandedNodes&&this.expandedNodes.get(e.id)&&(a=!0);let o=Zr.primary,s=this.filteredNodes.size>0&&!this.filteredNodes.get(e.id);if(e.type===D.RESPONSE)switch(Ai(parseInt(e.label))){case`http400`:o=Zr.warning;break;case`http500`:o=Zr.error;break;default:o=Zr.font;break}e.type===D.ROLODEX_FILE&&(o=Zr.secondary),s&&(o=Zr.filtered);let c=T``,l=T``,u=T``,d=!1,f=this.nodeMap.get(e.id);if(f){let e=qt(f,this.violationMap);e.warnings>0&&(c=T` ${e.warnings}`),e.errors>0&&(l=T` - ${e.errors}`),d=e.warnings>0||e.errors>0}e.label?.toLowerCase()===`document`&&this.isBundled&&(u=T`BUNDLED`);let p=!e.nodes||e.nodes.length===0,m=hne(e.type,p,d,this.iconConfig),h=m?T` - `:T``;if(m&&e.openapi)h=T` - `;else if(m&&!e.label.endsWith(`.json`)&&!e.label.endsWith(`.yaml`)&&!e.label.endsWith(`.yml`)&&e.label.includes(`.`)){let t=e.label.split(`.`).pop();if(t){let e=Da.ICON_TYPE_MAP[t];e&&(h=Da.renderFileIcon(e,o))}}let g=T``,_=e.timeline&&e.timeline.length>0;if(_){this.nodesWithChanges.set(e.id,e);let{additions:t,removals:n,modifications:r,breaking:i}=Kt(e.timeline);g=T`${i>0?T` `:T``} + ${e.errors}`),d=e.warnings>0||e.errors>0}e.label?.toLowerCase()===`document`&&this.isBundled&&(u=T`BUNDLED`);let p=!e.nodes||e.nodes.length===0,m=La(e.type,p,d,this.iconConfig),h=m?T` + `:T``;if(m&&e.openapi)h=T` + `;else if(m&&!e.label.endsWith(`.json`)&&!e.label.endsWith(`.yaml`)&&!e.label.endsWith(`.yml`)&&e.label.includes(`.`)){let t=e.label.split(`.`).pop();if(t){let e=za.ICON_TYPE_MAP[t];e&&(h=za.renderFileIcon(e,o))}}let g=T``,_=e.timeline&&e.timeline.length>0;if(_){this.nodesWithChanges.set(e.id,e);let{additions:t,removals:n,modifications:r,breaking:i}=Kt(e.timeline);g=T`${i>0?T` `:T``} ${t>0?T` ${t>1?T`${t}`:T``} @@ -4798,7 +4851,7 @@ data-path="${e.path?e.path:e.nodePath}">
${h} -
+
${s?T`${this.renderLabel(e,s)} @@ -4814,15 +4867,15 @@ ${e} - `}};Oa.styles=[pne,Gr,Bn],Oa.ICON_TYPE_MAP={[E.JS]:E.JS,[E.GO]:E.GO,[E.TS]:E.TS,[E.CS]:E.CS,[E.C]:E.C,[E.CPP]:E.CPP,[E.PHP]:E.PHP,[E.PY]:E.PY,[E.HTML]:E.HTML,[E.MD]:E.MD,[E.JAVA]:E.JAVA,[E.RS]:E.RS,[E.ZIG]:E.ZIG,[E.RB]:E.RB},Ea([Et()],Oa.prototype,`node`,void 0),Ea([Et()],Oa.prototype,`filteredNodes`,void 0),Ea([Et({type:Boolean})],Oa.prototype,`expand`,void 0),Ea([Et({type:Boolean})],Oa.prototype,`changesEnabled`,void 0),Ea([Et()],Oa.prototype,`isRolodex`,void 0),Ea([Et()],Oa.prototype,`nodeMap`,void 0),Ea([Et()],Oa.prototype,`violationMap`,void 0),Ea([Et({type:Object})],Oa.prototype,`iconConfig`,void 0),Ea([Et({type:Boolean})],Oa.prototype,`isBundled`,void 0),Oa=Da=Ea([wt(`pb33f-model-tree`)],Oa);function ka(e){return e+.5|0}var Aa=(e,t,n)=>Math.max(Math.min(e,n),t);function ja(e){return Aa(ka(e*2.55),0,255)}function Ma(e){return Aa(ka(e*255),0,255)}function Na(e){return Aa(ka(e/2.55)/100,0,1)}function Pa(e){return Aa(ka(e*100),0,100)}var Fa={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ia=[...`0123456789ABCDEF`],_ne=e=>Ia[e&15],vne=e=>Ia[(e&240)>>4]+Ia[e&15],La=e=>(e&240)>>4==(e&15),yne=e=>La(e.r)&&La(e.g)&&La(e.b)&&La(e.a);function bne(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&Fa[e[1]]*17,g:255&Fa[e[2]]*17,b:255&Fa[e[3]]*17,a:t===5?Fa[e[4]]*17:255}:(t===7||t===9)&&(n={r:Fa[e[1]]<<4|Fa[e[2]],g:Fa[e[3]]<<4|Fa[e[4]],b:Fa[e[5]]<<4|Fa[e[6]],a:t===9?Fa[e[7]]<<4|Fa[e[8]]:255})),n}var xne=(e,t)=>e<255?t(e):``;function Sne(e){var t=yne(e)?_ne:vne;return e?`#`+t(e.r)+t(e.g)+t(e.b)+xne(e.a,t):void 0}var Cne=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ra(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function wne(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Tne(e,t,n){let r=Ra(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Ene(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Ene(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Ba(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Ma)}function Va(e,t,n){return Ba(Ra,e,t,n)}function Ha(e,t,n){return Ba(Tne,e,t,n)}function Dne(e,t,n){return Ba(wne,e,t,n)}function Ua(e){return(e%360+360)%360}function One(e){let t=Cne.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?ja(+t[5]):Ma(+t[5]));let i=Ua(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Ha(i,a,o):t[1]===`hsv`?Dne(i,a,o):Va(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function kne(e,t){var n=za(e);n[0]=Ua(n[0]+t),n=Va(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Ane(e){if(!e)return;let t=za(e),n=t[0],r=Pa(t[1]),i=Pa(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${Na(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var jne={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`},Mne={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function Nne(){let e={},t=Object.keys(Mne),n=Object.keys(jne),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var Wa;function Pne(e){Wa||(Wa=Nne(),Wa.transparent=[0,0,0,0]);let t=Wa[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Fne=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Ine(e){let t=Fne.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?ja(e):Aa(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?ja(r):Aa(r,0,255)),i=255&(t[4]?ja(i):Aa(i,0,255)),a=255&(t[6]?ja(a):Aa(a,0,255)),{r,g:i,b:a,a:n}}}function Lne(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Na(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Ga=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,Ka=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Rne(e,t,n){let r=Ka(Na(e.r)),i=Ka(Na(e.g)),a=Ka(Na(e.b));return{r:Ma(Ga(r+n*(Ka(Na(t.r))-r))),g:Ma(Ga(i+n*(Ka(Na(t.g))-i))),b:Ma(Ga(a+n*(Ka(Na(t.b))-a))),a:e.a+n*(t.a-e.a)}}function qa(e,t,n){if(e){let r=za(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Va(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Ja(e,t){return e&&Object.assign(t||{},e)}function Ya(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ma(e[3]))):(t=Ja(e,{r:0,g:0,b:0,a:1}),t.a=Ma(t.a)),t}function zne(e){return e.charAt(0)===`r`?Ine(e):One(e)}var Xa=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=Ya(t):n===`string`&&(r=bne(t)||Pne(t)||zne(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Ja(this._rgb);return e&&(e.a=Na(e.a)),e}set rgb(e){this._rgb=Ya(e)}rgbString(){return this._valid?Lne(this._rgb):void 0}hexString(){return this._valid?Sne(this._rgb):void 0}hslString(){return this._valid?Ane(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=Rne(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=Ma(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=ka(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return qa(this._rgb,2,e),this}darken(e){return qa(this._rgb,2,-e),this}saturate(e){return qa(this._rgb,1,e),this}desaturate(e){return qa(this._rgb,1,-e),this}rotate(e){return kne(this._rgb,e),this}};function Za(){}var Bne=(()=>{let e=0;return()=>e++})();function Qa(e){return e==null}function $a(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function eo(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function to(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function no(e,t){return to(e)?e:t}function ro(e,t){return e===void 0?t:e}var Vne=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,io=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function ao(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function oo(e,t,n,r){let i,a,o;if($a(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function Wne(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function Gne(e){let t=Wne(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function mo(e,t){return(po[t]||(po[t]=Gne(t)))(e)}function ho(e){return e.charAt(0).toUpperCase()+e.slice(1)}var go=e=>e!==void 0,_o=e=>typeof e==`function`,vo=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function Kne(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var yo=Math.PI,bo=2*yo,qne=bo+yo,xo=1/0,Jne=yo/180,So=yo/2,Co=yo/4,wo=yo*2/3,To=Math.log10,Eo=Math.sign;function Do(e,t,n){return Math.abs(e-t)e-t).pop(),t}function Yne(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function Ao(e){return!Yne(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function Xne(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function jo(e,t,n){let r,i,a;for(r=0,i=e.length;rc&&l=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Vo(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var Ho=(e,t,n,r)=>Vo(e,n,r?r=>{let i=e[r][t];return ie[r][t]Vo(e,n,r=>e[r][t]>=n);function Uo(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+ho(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})})}function Ko(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(Wo.forEach(t=>{delete e[t]}),delete e._chartjs)}function qo(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var Jo=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function Yo(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Jo.call(window,()=>{r=!1,e.apply(t,n)}))}}function Xo(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var Zo=e=>e===`start`?`left`:e===`end`?`right`:`center`,Qo=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,ere=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function $o(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(Ho(c,u,d).lo,n?r:Ho(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!Qa(e[s.axis]));i-=Math.max(0,e)}i=zo(i,0,r-1)}if(m){let e=Math.max(Ho(c,o.axis,f,!0).hi+1,n?0:Ho(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!Qa(e[s.axis]));e+=Math.max(0,t)}a=zo(e,i,r)-i}else a=r-i}return{start:i,count:a}}function es(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var ts=e=>e===0||e===1,ns=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*bo/n)),rs=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*bo/n)+1,is={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*So)+1,easeOutSine:e=>Math.sin(e*So),easeInOutSine:e=>-.5*(Math.cos(yo*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>ts(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ts(e)?e:ns(e,.075,.3),easeOutElastic:e=>ts(e)?e:rs(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return ts(e)?e:e<.5?.5*ns(e*2,t,n):.5+.5*rs(e*2-1,t,n)},easeInBack(e){let t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){let t=1.70158;return--e*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-is.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?is.easeInBounce(e*2)*.5:is.easeOutBounce(e*2-1)*.5+.5};function as(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function os(e){return as(e)?e:new Xa(e)}function ss(e){return as(e)?e:new Xa(e).saturate(.5).darken(.1).hexString()}var tre=[`x`,`y`,`borderWidth`,`radius`,`tension`],nre=[`color`,`borderColor`,`backgroundColor`];function rre(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:nre},numbers:{type:`number`,properties:tre}}),e.describe(`animations`,{_fallback:`animation`}),e.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function cs(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var ls=new Map;function ire(e,t){t||={};let n=e+JSON.stringify(t),r=ls.get(n);return r||(r=new Intl.NumberFormat(e,t),ls.set(n,r)),r}function us(e,t,n){return ire(t,n).format(e)}var ds={values(e){return $a(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=are(e,n)}let o=To(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),us(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(To(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?ds.numeric.call(this,e,t,n):``}};function are(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var fs={formatters:ds};function ore(e){e.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:fs.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var ps=Object.create(null),ms=Object.create(null);function hs(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>ss(t.backgroundColor),this.hoverBorderColor=(e,t)=>ss(t.borderColor),this.hoverColor=(e,t)=>ss(t.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return gs(this,e,t)}get(e){return hs(this,e)}describe(e,t){return gs(ms,e,t)}override(e,t){return gs(ps,e,t)}route(e,t,n,r){let i=hs(this,e),a=hs(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return eo(e)?Object.assign({},t,e):ro(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[rre,cs,ore]);function sre(e){return!e||Qa(e.size)||Qa(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function vs(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function cre(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;cn.length){for(c=0;c0&&e.stroke()}}function Cs(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,dre(e,a),c=0;c+e||0;function Os(e,t){let n={},r=eo(t),i=r?Object.keys(t):t,a=eo(e)?r?n=>ro(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=_re(a(e));return n}function ks(e){return Os(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function As(e){return Os(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function js(e){let t=ks(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Ms(e,t){e||={},t||=_s.font;let n=ro(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=ro(e.style,t.style);r&&!(``+r).match(hre)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:ro(e.family,t.family),lineHeight:gre(ro(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:ro(e.weight,t.weight),string:``};return i.string=sre(i),i}function Ns(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;an&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function Ps(e,t){return Object.assign(Object.create(e),t)}function Fs(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=Us(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>Fs([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return zs(n,r,()=>Ere(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return Ws(e).includes(t)},ownKeys(e){return Ws(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function Is(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Ls(e,r),setContext:t=>Is(e,t,n,r),override:i=>Is(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return zs(e,t,()=>bre(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function Ls(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:_o(n)?n:()=>n,isIndexable:_o(r)?r:()=>r}}var yre=(e,t)=>e?e+ho(t):t,Rs=(e,t)=>eo(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function zs(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function bre(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return _o(s)&&o.isScriptable(t)&&(s=xre(t,s,e,n)),$a(s)&&s.length&&(s=Sre(t,s,e,o.isIndexable)),Rs(t,s)&&(s=Is(s,i,a&&a[t],o)),s}function xre(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),Rs(e,c)&&(c=Vs(i._scopes,i,e,c)),c}function Sre(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(eo(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=Vs(r,i,e,c);t.push(Is(n,a,o&&o[e],s))}}return t}function Bs(e,t,n){return _o(e)?e(t,n):e}var Cre=(e,t)=>e===!0?t:typeof e==`string`?mo(t,e):void 0;function wre(e,t,n,r,i){for(let a of t){let t=Cre(n,a);if(t){e.add(t);let a=Bs(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function Vs(e,t,n,r){let i=t._rootScopes,a=Bs(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=Hs(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=Hs(s,o,a,c,r),c===null)?!1:Fs(Array.from(s),[``],i,a,()=>Tre(t,n,r))}function Hs(e,t,n,r,i){for(;n;)n=wre(e,t,n,r,i);return n}function Tre(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return $a(i)&&eo(n)?n:i||{}}function Ere(e,t,n,r){let i;for(let a of t)if(i=Us(yre(a,e),n),i!==void 0)return Rs(e,i)?Vs(n,r,e,i):i}function Us(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function Ws(e){let t=e._keys;return t||=e._keys=Dre(e._scopes),t}function Dre(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function Gs(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;ste===`x`?`y`:`x`;function kre(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=Io(a,i),c=Io(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function Are(e,t,n){let r=e.length,i,a,o,s,c,l=Ks(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)Mre(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);function Fre(e,t){return Qs(e).getPropertyValue(t)}var Ire=[`top`,`right`,`bottom`,`left`];function $s(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=Ire[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var Lre=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Rre(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(Lre(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function ec(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=Qs(n),a=i.boxSizing===`border-box`,o=$s(i,`padding`),s=$s(i,`border`,`width`),{x:c,y:l,box:u}=Rre(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function zre(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&Xs(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=Qs(a),s=$s(o,`border`,`width`),c=$s(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=Zs(o.maxWidth,a,`clientWidth`),i=Zs(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||xo,maxHeight:i||xo}}var tc=e=>Math.round(e*10)/10;function Bre(e,t,n,r){let i=Qs(e),a=$s(i,`margin`),o=Zs(i.maxWidth,e,`clientWidth`)||xo,s=Zs(i.maxHeight,e,`clientHeight`)||xo,c=zre(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=$s(i,`border`,`width`),t=$s(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=tc(Math.min(l,o,c.maxWidth)),u=tc(Math.min(u,s,c.maxHeight)),l&&!u&&(u=tc(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=tc(Math.floor(u*r))),{width:l,height:u}}function nc(e,t,n){let r=t||1,i=tc(e.height*r),a=tc(e.width*r);e.height=tc(e.height),e.width=tc(e.width);let o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a?(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var Vre=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};Ys()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function rc(e,t){let n=Fre(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function ic(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Hre(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function Ure(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=ic(e,i,n),s=ic(i,a,n),c=ic(a,t,n);return ic(ic(o,s,n),ic(s,c,n),n)}var Wre=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},Gre=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function ac(e,t,n){return e?Wre(t,n):Gre()}function oc(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function sc(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function cc(e){return e===`angle`?{between:Ro,compare:Zne,normalize:Lo}:{between:Bo,compare:(e,t)=>e-t,normalize:e=>e}}function lc({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function Kre(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=cc(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;fc(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),ee=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&ee()&&(m.push(lc({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(lc({start:g,end:d,loop:f,count:o,style:p})),m}function dc(e,t){let n=[],r=e.segments;for(let i=0;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function Jre(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function fc(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=qre(n,i,a,r);return r===!0?pc(e,[{start:o,end:s,loop:a}],n,t):pc(e,Jre(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,Jo.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},vc=`transparent`,Qre={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=os(e||vc),i=r.valid&&os(t||vc);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},$re=class{constructor(e,t,n,r){let i=t[n];r=Ns([e.to,r,i,e.from]);let a=Ns([e.from,i,r]);this._active=!0,this._fn=e.fn||Qre[e.type||typeof a],this._easing=is[e.easing]||is.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Ns([e.to,t,r,e.from]),this._from=Ns([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;if(this._active=i!==o&&(a||t1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e{let i=e[r];if(!eo(i))return;let a={};for(let e of t)a[e]=i[e];($a(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=tie(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&eie(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u)if(d&&u.active()){u.update(d,l,o);continue}else u.cancel();if(!d||!d.duration){e[c]=l;continue}i[c]=u=new $re(d,e,c,l),r.push(u)}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return _c.add(this._chart,n),!0}};function eie(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function Tc(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=aie(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function cie(e,t){return Ps(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function lie(e,t,n){return Ps(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Dc(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;if(!t||t[r]===void 0||t[r][n]===void 0)return;delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n]}}}var Oc=e=>e===`reset`||e===`none`,kc=(e,t)=>t?e:Object.assign({},e),uie=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:xc(n,!0),values:null},Ac=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Cc(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(e){this.index!==e&&Dc(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=ro(n.xAxisID,Ec(e,`x`)),a=t.yAxisID=ro(n.yAxisID,Ec(e,`y`)),o=t.rAxisID=ro(n.rAxisID,Ec(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&Ko(this._data,this),e._stacked&&Dc(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(eo(t)){let e=this._cachedMeta;this._data=iie(t,e)}else if(n!==t){if(n){Ko(n,this);let e=this._cachedMeta;Dc(e),e._parsed=[]}t&&Object.isExtensible(t)&&Go(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=Cc(t.vScale,t),t.stack!==n.stack&&(r=!0,Dc(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Tc(this,t._parsed),t._stacked=Cc(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length?!0:n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=$a(r[e])?this.parseArrayData(n,r,e,t):eo(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]t||u=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r=0&&ethis.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(kc(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new yc(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||Oc(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){Oc(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Oc(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;oe-t))}return e._cache.$bar}function fie(e){let t=e.iScale,n=die(t,e.type),r=t._length,i,a,o,s,c=()=>{o===32767||o===-32768||(go(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i0?i[e-1]:null,s=eMath.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function gie(e,t,n,r){return $a(e)?hie(e,t,n,r):t[n.axis]=n.parse(e,r),t}function _ie(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l=n?1:-1):Eo(e)}function yie(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.basee.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(Qa(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[ro(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;dRo(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>Ro(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(So,u,f),_=m(yo,l,d),v=m(yo+So,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var Nc=class extends Ac{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`,_indexable:e=>e!==`spacing`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(eo(n[e])){let{key:e=`value`}=this._parsing;i=t=>+mo(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*bo:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=us(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r0&&this.getParsed(t-1);for(let n=0;n=_){v.skip=!0;continue}let b=this.getParsed(n),x=Qa(b[f]),S=v[d]=a.getPixelForValue(b[d],n),ee=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(ee)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},Oie=class extends Ac{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=us(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return Gs.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(rt.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*yo,d=u,f,p=360/this.countVisibleElements();for(f=0;f{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?Mo(this.resolveDataElementOptions(e,t).angle||n):0}},kie=Object.freeze({__proto__:null,BarController:Mc,BubbleController:Tie,DoughnutController:Nc,LineController:Die,PieController:class extends Nc{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:Oie,RadarController:class extends Ac{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return Gs.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function Pc(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var Aie={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return Pc()}parse(){return Pc()}format(){return Pc()}add(){return Pc()}diff(){return Pc()}startOf(){return Pc()}endOf(){return Pc()}}};function jie(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?$ne:Ho;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!Qa(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!Qa(e[t.axis]));r.hi+=Math.max(0,o)}return r}else if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function Fc(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var Pie={evaluateInteractionItems:Fc,modes:{index(e,t,n,r){let i=ec(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?Lc(e,i,a,r,o):Rc(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=ec(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?Lc(e,i,a,r,o):Rc(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;ee.pos===t)}function Hc(e,t){return e.filter(e=>Bc.indexOf(e.pos)===-1&&e.box.axis===t)}function Uc(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function Wc(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=Uc(Vc(t,`left`),!0),i=Uc(Vc(t,`right`)),a=Uc(Vc(t,`top`),!0),o=Uc(Vc(t,`bottom`)),s=Hc(t,`x`),c=Hc(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:Vc(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Kc(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function qc(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Jc(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!eo(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&qc(o,a.getPadding());let s=Math.max(0,t.outerWidth-Kc(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Kc(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function Lie(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function Rie(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function Yc(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);qc(f,js(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=Iie(c.concat(l),d);Yc(s.fullSize,p,d,m),Yc(c,p,d,m),Yc(l,p,d,m)&&Yc(c,p,d,m),Lie(p),Zc(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,Zc(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},oo(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},$c=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},zie=class extends $c{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},el=`$chartjs`,Bie={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},tl=e=>e===null||e===``;function Vie(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[el]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,tl(i)){let t=rc(e,`width`);t!==void 0&&(e.width=t)}if(tl(r))if(e.style.height===``)e.height=e.width/(t||2);else{let t=rc(e,`height`);t!==void 0&&(e.height=t)}return e}var nl=Vre?{passive:!0}:!1;function Hie(e,t,n){e&&e.addEventListener(t,n,nl)}function Uie(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,nl)}function Wie(e,t){let n=Bie[e.type]||e.type,{x:r,y:i}=ec(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function rl(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function Gie(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=rl(n.addedNodes,r),t&&=!rl(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function il(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=rl(n.removedNodes,r),t&&=!rl(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var al=new Map,ol=0;function sl(){let e=window.devicePixelRatio;e!==ol&&(ol=e,al.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function cl(e,t){al.size||window.addEventListener(`resize`,sl),al.set(e,t)}function Kie(e){al.delete(e),al.size||window.removeEventListener(`resize`,sl)}function qie(e,t,n){let r=e.canvas,i=r&&Xs(r);if(!i)return;let a=Yo((e,t)=>{let r=i.clientWidth;n(e,t),r{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;n===0&&r===0||a(n,r)});return o.observe(i),cl(e,a),o}function ll(e,t,n){n&&n.disconnect(),t===`resize`&&Kie(e)}function Jie(e,t,n){let r=e.canvas,i=Yo(t=>{e.ctx!==null&&n(Wie(t,e))},e);return Hie(r,t,i),i}var Yie=class extends $c{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(Vie(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[el])return!1;let n=t[el].initial;[`height`,`width`].forEach(e=>{let r=n[e];Qa(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[el],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:Gie,detach:il,resize:qie}[t]||Jie)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:ll,detach:ll,resize:ll}[t]||Uie)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return Bre(e,t,n,r)}isAttached(e){let t=e&&Xs(e);return!!(t&&t.isConnected)}};function Xie(e){return!Ys()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?zie:Yie}var ul=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return Ao(this.x)&&Ao(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function Zie(e,t){let n=e.options.ticks,r=Qie(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?eae(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return tae(t,l,a,o/i),l;let u=$ie(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(dl(t,l,u,Qa(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function eae(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,fl=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,iae=(e,t)=>Math.min(t||e,e);function aae(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function sae(e,t){oo(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;in?n:t,n=r&&t>n?t:n,{min:no(t,no(n,t)),max:no(n,no(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ao(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=vre(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=zo(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-pl(e.grid)-t.padding-ml(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=No(Math.min(Math.asin(zo((l.highest.height+6)/o,-1,1)),Math.asin(zo(s/c,-1,1))-Math.asin(zo(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){ao(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ao(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=ml(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=pl(i)+a):(e.height=this.maxHeight,e.width=pl(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=Mo(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){ao(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t({width:a[e]||0,height:o[e]||0});return{first:ee(0),last:ee(t-1),widest:ee(x),highest:ee(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return Qne(this._alignToPixels?ys(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&eo*r?o/n:s/r:s*r0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=pl(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return ys(n,e,p)},g,_,v,y,b,x,S,ee,te,ne,C,re;if(a===`top`)g=h(this.bottom),x=this.bottom-u,ee=g-m,ne=h(e.top)+m,re=e.bottom;else if(a===`bottom`)g=h(this.top),ne=e.top,re=h(e.bottom)-m,x=g+m,ee=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,te=h(e.left)+m,C=e.right;else if(a===`right`)g=h(this.left),te=e.left,C=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(eo(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}ne=e.top,re=e.bottom,x=g+m,ee=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(eo(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,te=e.left,C=e.right}let ie=ro(r.ticks.maxTicksLimit,l),ae=Math.max(1,Math.ceil(l/ie));for(_=0;_0&&(a-=r/2);break}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:te,textOffset:re,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:ie,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-Mo(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{!r.width||!r.color||(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);_s.route(a,i,c,s)})}function fae(e){return`id`in e&&`defaults`in e}var yl=new class{constructor(){this.controllers=new _l(Ac,`datasets`,!0),this.elements=new _l(ul,`elements`),this.plugins=new _l(Object,`plugins`),this.scales=new _l(gl,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):oo(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=ho(e);ao(n[`before`+r],[],n),t[e](n),ao(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;te.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function xl(e){let t={},n=[],r=Object.keys(yl.plugins.items);for(let e=0;e1&&vae(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function bae(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function xae(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return bae(e,`x`,n[0])||bae(e,`y`,n[0])}return{}}function Sae(e,t){let n=ps[e.type]||{scales:{}},r=t.scales||{},i=Sl(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!eo(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=Cl(t,o,xae(t,e),_s.scales[o.type]),c=_ae(s,i),l=n.scales||{};a[t]=fo(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Sl(i,t),s=(ps[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=gae(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),fo(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];fo(t,[_s.scales[t.type],_s.scale])}),a}function Cae(e){let t=e.options||={};t.plugins=ro(t.plugins,{}),t.scales=Sae(e,t)}function wae(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Tae(e){return e||={},e.data=wae(e.data),Cae(e),e}var Eae=new Map,Dae=new Set;function wl(e,t){let n=Eae.get(e);return n||(n=t(),Eae.set(e,n),Dae.add(n)),n}var Tl=(e,t,n)=>{let r=mo(t,n);r!==void 0&&e.add(r)},El=class{constructor(e){this._config=Tae(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=wae(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),Cae(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return wl(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return wl(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return wl(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return wl(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>Tl(s,e,t))),t.forEach(e=>Tl(s,r,e)),t.forEach(e=>Tl(s,ps[i]||{},e)),t.forEach(e=>Tl(s,_s,e)),t.forEach(e=>Tl(s,ms,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),Dae.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,ps[t]||{},_s.datasets[t]||{},{type:t},_s,ms]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=Dl(this._resolverCache,e,r),s=a;if(kl(a,t)){i.$shared=!1,n=_o(n)?n():n;let t=this.createResolver(e,n,o);s=Is(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=Dl(this._resolverCache,e,n);return eo(t)?Is(i,t,void 0,r):i}};function Dl(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:Fs(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var Ol=e=>eo(e)&&Object.getOwnPropertyNames(e).some(t=>_o(e[t]));function kl(e,t){let{isScriptable:n,isIndexable:r}=Ls(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(_o(o)||Ol(o))||a&&$a(o))return!0}return!1}var Al=`4.5.1`,jl=[`top`,`bottom`,`left`,`right`,`chartArea`];function Oae(e,t){return e===`top`||e===`bottom`||jl.indexOf(e)===-1&&t===`x`}function Ml(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Nl(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),ao(n&&n.onComplete,[e],t)}function Pl(e){let t=e.chart,n=t.options.animation;ao(n&&n.onProgress,[e],t)}function Fl(e){return Ys()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Il={},Ll=e=>{let t=Fl(e);return Object.values(Il).filter(e=>e.canvas===t).pop()};function kae(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function Rl(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var zl=class{static defaults=_s;static instances=Il;static overrides=ps;static registry=yl;static version=Al;static getChart=Ll;static register(...e){yl.add(...e),Bl()}static unregister(...e){yl.remove(...e),Bl()}constructor(e,t){let n=this.config=new El(t),r=Fl(e),i=Ll(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(Xie(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;if(this.id=Bne(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bl,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Xo(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],Il[this.id]=this,!o||!s){console.error(`Failed to create chart: can't acquire context from the given item`);return}_c.listen(this,`complete`,Nl),_c.listen(this,`progress`,Pl),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return Qa(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return yl}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():nc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return bs(this.canvas,this.ctx),this}stop(){return _c.stop(this),this}resize(e,t){_c.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,nc(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),ao(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){oo(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=Cl(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),oo(i,t=>{let i=t.options,a=i.id,o=Cl(a,i),s=ro(i.type,t.dtype);(i.position===void 0||Oae(i.position,o)!==Oae(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(yl.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),oo(r,(e,t)=>{e||delete n[t]}),oo(n,e=>{Qc.configure(this,e,e.options),Qc.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;et.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(Ml(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){oo(this.scales,e=>{Qc.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!vo(new Set(Object.keys(this._listeners)),new Set(e.events))||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)kae(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;ee.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;Qc.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],oo(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=gc(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&ws(t,r),e.controller.draw(),r&&Ts(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Cs(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=Pie.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=Ps(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);go(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),_c.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};oo(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){oo(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},oo(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});so(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=Kne(e),c=Rl(e,this._lastEvent,n,s);n&&(this._lastEvent=null,ao(i.onHover,[e,o,this],this),s&&ao(i.onClick,[e,o,this],this));let l=!so(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function Bl(){return oo(zl.instances,e=>e._plugins.invalidate())}function Vl(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,Lo(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,Lo(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Lo(r-n));if(u===`round`)e.arc(i,a,t,n-yo/2,r+yo/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+yo/2)+i,c=-o*Math.sin(n+yo/2)+a,l=o*Math.cos(r+yo/2)+i,u=o*Math.sin(r+yo/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function Aae(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+So,r-So),e.closePath(),e.clip()}function Hl(e){return Os(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function D(e,t,n,r){let i=Hl(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return zo(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:zo(i.innerStart,0,o),innerEnd:zo(i.innerEnd,0,o)}}function Ul(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Wl(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/yo)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=D(t,f,d,_-g),S=d-v,ee=d-y,te=g+v/S,ne=_-y/ee,C=f+b,re=f+x,ie=g+b/C,ae=_-x/re;if(e.beginPath(),a){let t=(te+ne)/2;if(e.arc(o,s,d,te,t),e.arc(o,s,d,t,ne),y>0){let t=Ul(ee,ne,o,s);e.arc(t.x,t.y,y,ne,_+So)}let n=Ul(re,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=Ul(re,ae,o,s);e.arc(t.x,t.y,x,_+So,ae+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=Ul(C,ie,o,s);e.arc(t.x,t.y,b,ie+Math.PI,g-So)}let i=Ul(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=Ul(S,te,o,s);e.arc(t.x,t.y,v,g-So,te)}}else{e.moveTo(o,s);let t=Math.cos(te)*d+o,n=Math.sin(te)*d+s;e.lineTo(t,n);let r=Math.cos(ne)*d+o,i=Math.sin(ne)*d+s;e.lineTo(r,i)}e.closePath()}function Gl(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){Wl(e,t,n,r,c,i);for(let t=0;t=yo&&p===0&&u!==`miter`&&Vl(e,t,h),a||(Wl(e,t,n,r,h,i),e.stroke())}var jae=class extends ul{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=Fo(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=ro(l,o-a),f=Ro(r,a,o)&&a!==o,p=d>=bo||f,m=Bo(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>bo?Math.floor(n/bo):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(yo,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Gl(e,this,s,i,a),Kl(e,this,s,i,a),e.restore()}};function ql(e,t,n=t){e.lineCap=ro(n.borderCapStyle,t.borderCapStyle),e.setLineDash(ro(n.borderDash,t.borderDash)),e.lineDashOffset=ro(n.borderDashOffset,t.borderDashOffset),e.lineJoin=ro(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ro(n.borderWidth,t.borderWidth),e.strokeStyle=ro(n.borderColor,t.borderColor)}function Jl(e,t,n){e.lineTo(n.x,n.y)}function Yl(e){return e.stepped?lre:e.tension||e.cubicInterpolationMode===`monotone`?ure:Jl}function Xl(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=is&&a>s;return{count:r,start:c,loop:t.loop,ilen:l(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(ng&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function $l(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?Ql:Zl}function Mae(e){return e.stepped?Hre:e.tension||e.cubicInterpolationMode===`monotone`?Ure:ic}function Nae(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),ql(e,t.options),e.stroke(i)}function eu(e,t,n,r){let{segments:i,options:a}=t,o=$l(t);for(let s of i)ql(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var Pae=typeof Path2D==`function`;function Fae(e,t,n,r){Pae&&!t.options.segment?Nae(e,t,n,r):eu(e,t,n,r)}var tu=class extends ul{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;Pre(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=fc(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=dc(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=Mae(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function lu(e){return su[e%su.length]}function uu(e){return cu[e%cu.length]}function Uae(e,t){return e.borderColor=lu(t),e.backgroundColor=uu(t),++t}function du(e,t){return e.backgroundColor=e.data.map(()=>lu(t++)),t}function Wae(e,t){return e.backgroundColor=e.data.map(()=>uu(t++)),t}function Gae(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof Nc?t=du(n,t):i instanceof Oie?t=Wae(n,t):i&&(t=Uae(n,t))}}function fu(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function pu(e){return e&&(e.borderColor||e.backgroundColor)}function Kae(){return _s.borderColor!==`rgba(0,0,0,0.1)`||_s.backgroundColor!==`rgba(0,0,0,0.1)`}var qae={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=fu(r)||pu(i)||a&&fu(a)||Kae();if(!n.forceOverride&&o)return;let s=Gae(e);r.forEach(s)}};function Jae(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;dp&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function Yae(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;oh&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!Qa(d)&&!Qa(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function mu(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,`data`,{configurable:!0,enumerable:!0,writable:!0,value:t})}}function hu(e){e.data.datasets.forEach(e=>{mu(e)})}function gu(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=zo(Ho(t,a.axis,o).lo,0,n-1)),i=l?zo(Ho(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var _u={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){hu(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(Ns([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=gu(s,c);if(d<=(n.threshold||4*r)){mu(t);return}Qa(a)&&(t._data=c,delete t.data,Object.defineProperty(t,`data`,{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=Jae(c,u,d,r,n);break;case`min-max`:f=Yae(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){hu(e)}};function vu(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=xu(r,s,i);let c=yu(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=dc(t,c);for(let t of l){let r=yu(n,a[t.start],a[t.end],t.loop),s=uc(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:Su(c,r,`start`,Math.max)},end:{[n]:Su(c,r,`end`,Math.min)}})}}return o}function yu(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Lo(i),a=Lo(a)),{property:e,start:i,end:a}}function bu(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=xu(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function xu(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Su(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Cu(e,t){let n=[],r=!1;return $a(e)?(r=!0,n=e):n=bu(e,t),n.length?new tu({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function wu(e){return e&&e.fill!==!1}function Xae(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!to(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function Zae(e,t,n){let r=toe(e);if(eo(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return to(i)&&Math.floor(i)===i?Qae(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function Qae(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function $ae(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:eo(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function eoe(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:eo(e)?e.value:t.getBaseValue(),r}function toe(e){let t=e.options,n=t.fill,r=ro(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function noe(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=roe(t,n);s.push(Cu({x:null,y:t.bottom},r));for(let e=0;e=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&Du(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;wu(n)&&Du(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;!wu(r)||n.drawTime!==`beforeDatasetDraw`||Du(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Mu=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},poe=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Nu=class extends ul{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=ao(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=Ms(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Mu(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=moe(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=ac(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=Qo(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=Qo(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=Qo(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=Qo(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;ws(e,this),this._draw(),Ts(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=_s.color,s=ac(e.rtl,this.left,this.width),c=Ms(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=Mu(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=ro(n.lineWidth,1);if(r.fillStyle=ro(n.fillStyle,o),r.lineCap=ro(n.lineCap,`butt`),r.lineDashOffset=ro(n.lineDashOffset,0),r.lineJoin=ro(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=ro(n.strokeStyle,o),r.setLineDash(ro(n.lineDash,[])),a.usePointStyle)Ss(r,{radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},s.xPlus(e,p/2),t+d,a.pointStyleWidth&&p);else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=As(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?Ds(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){Es(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:Qo(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:Qo(i,this.top+y+l,this.bottom-t[0].height),line:0},oc(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,ee=f.y;if(s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(ee=f.y+=b,f.line++,S=f.x=Qo(i,this.left+l,this.right-n[f.line])):u>0&&ee+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,ee=f.y=Qo(i,this.top+y+l,this.bottom-t[f.line].height)),g(s.x(S),ee,o),S=ere(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),ee,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=Pu(o,e)+l}else f.y+=b}),sc(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=Ms(t.font),r=js(t.padding);if(!t.display)return;let i=ac(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=Qo(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+Qo(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=Qo(o,u,u+d);a.textAlign=i.textAlign(Zo(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Es(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=Ms(e.font),n=js(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(Bo(e,this.left,this.right)&&Bo(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;ne.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function goe(e,t,n){let r=e;return typeof t.text!=`string`&&(r=Pu(t,n)),r}function Pu(e,t){return t*(e.text?e.text.length:0)}function _oe(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var voe={id:`legend`,_element:Nu,start(e,t,n){let r=e.legend=new Nu({ctx:e.ctx,options:n,chart:e});Qc.configure(e,r,n),Qc.addBox(e,r)},stop(e){Qc.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;Qc.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=js(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},Fu=class extends ul{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=$a(n.text)?n.text.length:1;this._padding=js(n.padding);let i=r*Ms(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=Qo(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=Qo(o,r,t),s=yo*-.5):(l=i-e,u=Qo(o,t,r),s=yo*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=Ms(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);Es(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:Zo(t.align),textBaseline:`middle`,translation:[i,a]})}};function yoe(e,t){let n=new Fu({ctx:e.ctx,options:t,chart:e});Qc.configure(e,n,t),Qc.addBox(e,n),e.titleBlock=n}var boe={id:`title`,_element:Fu,start(e,t,n){yoe(e,n)},stop(e){let t=e.titleBlock;Qc.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;Qc.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Iu=new WeakMap,xoe={id:`subtitle`,start(e,t,n){let r=new Fu({ctx:e.ctx,options:n,chart:e});Qc.configure(e,r,n),Qc.addBox(e,r),Iu.set(e,r)},stop(e){Qc.removeBox(e,Iu.get(e)),Iu.delete(e)},beforeUpdate(e,t,n){let r=Iu.get(e);Qc.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},Lu={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;te+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;aMath.max(Math.min(e,n),t);function Ua(e){return Ha(Va(e*2.55),0,255)}function Wa(e){return Ha(Va(e*255),0,255)}function Ga(e){return Ha(Va(e/2.55)/100,0,1)}function Ka(e){return Ha(Va(e*100),0,100)}var qa={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ja=[...`0123456789ABCDEF`],Ya=e=>Ja[e&15],Mne=e=>Ja[(e&240)>>4]+Ja[e&15],Xa=e=>(e&240)>>4==(e&15),Nne=e=>Xa(e.r)&&Xa(e.g)&&Xa(e.b)&&Xa(e.a);function Pne(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&qa[e[1]]*17,g:255&qa[e[2]]*17,b:255&qa[e[3]]*17,a:t===5?qa[e[4]]*17:255}:(t===7||t===9)&&(n={r:qa[e[1]]<<4|qa[e[2]],g:qa[e[3]]<<4|qa[e[4]],b:qa[e[5]]<<4|qa[e[6]],a:t===9?qa[e[7]]<<4|qa[e[8]]:255})),n}var Fne=(e,t)=>e<255?t(e):``;function Ine(e){var t=Nne(e)?Ya:Mne;return e?`#`+t(e.r)+t(e.g)+t(e.b)+Fne(e.a,t):void 0}var Lne=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Za(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Rne(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function zne(e,t,n){let r=Za(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Bne(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Bne(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function $a(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Wa)}function eo(e,t,n){return $a(Za,e,t,n)}function to(e,t,n){return $a(zne,e,t,n)}function Vne(e,t,n){return $a(Rne,e,t,n)}function no(e){return(e%360+360)%360}function Hne(e){let t=Lne.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?Ua(+t[5]):Wa(+t[5]));let i=no(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?to(i,a,o):t[1]===`hsv`?Vne(i,a,o):eo(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function Une(e,t){var n=Qa(e);n[0]=no(n[0]+t),n=eo(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Wne(e){if(!e)return;let t=Qa(e),n=t[0],r=Ka(t[1]),i=Ka(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${Ga(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var ro={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`},io={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function Gne(){let e={},t=Object.keys(io),n=Object.keys(ro),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var ao;function Kne(e){ao||(ao=Gne(),ao.transparent=[0,0,0,0]);let t=ao[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var qne=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Jne(e){let t=qne.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?Ua(e):Ha(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?Ua(r):Ha(r,0,255)),i=255&(t[4]?Ua(i):Ha(i,0,255)),a=255&(t[6]?Ua(a):Ha(a,0,255)),{r,g:i,b:a,a:n}}}function Yne(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Ga(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var oo=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,so=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Xne(e,t,n){let r=so(Ga(e.r)),i=so(Ga(e.g)),a=so(Ga(e.b));return{r:Wa(oo(r+n*(so(Ga(t.r))-r))),g:Wa(oo(i+n*(so(Ga(t.g))-i))),b:Wa(oo(a+n*(so(Ga(t.b))-a))),a:e.a+n*(t.a-e.a)}}function co(e,t,n){if(e){let r=Qa(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=eo(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function lo(e,t){return e&&Object.assign(t||{},e)}function uo(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Wa(e[3]))):(t=lo(e,{r:0,g:0,b:0,a:1}),t.a=Wa(t.a)),t}function fo(e){return e.charAt(0)===`r`?Jne(e):Hne(e)}var po=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=uo(t):n===`string`&&(r=Pne(t)||Kne(t)||fo(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=lo(this._rgb);return e&&(e.a=Ga(e.a)),e}set rgb(e){this._rgb=uo(e)}rgbString(){return this._valid?Yne(this._rgb):void 0}hexString(){return this._valid?Ine(this._rgb):void 0}hslString(){return this._valid?Wne(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=Xne(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=Wa(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=Va(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return co(this._rgb,2,e),this}darken(e){return co(this._rgb,2,-e),this}saturate(e){return co(this._rgb,1,e),this}desaturate(e){return co(this._rgb,1,-e),this}rotate(e){return Une(this._rgb,e),this}};function mo(){}var Zne=(()=>{let e=0;return()=>e++})();function ho(e){return e==null}function go(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function _o(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function vo(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function yo(e,t){return vo(e)?e:t}function bo(e,t){return e===void 0?t:e}var Qne=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,xo=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function So(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function Co(e,t,n,r){let i,a,o;if(go(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function ere(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function jo(e){let t=ere(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function Mo(e,t){return(Ao[t]||(Ao[t]=jo(t)))(e)}function No(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Po=e=>e!==void 0,Fo=e=>typeof e==`function`,Io=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function tre(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var Lo=Math.PI,Ro=2*Lo,nre=Ro+Lo,zo=1/0,rre=Lo/180,Bo=Lo/2,Vo=Lo/4,Ho=Lo*2/3,Uo=Math.log10,Wo=Math.sign;function Go(e,t,n){return Math.abs(e-t)e-t).pop(),t}function are(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function qo(e){return!are(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function ore(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function Jo(e,t,n){let r,i,a;for(r=0,i=e.length;rc&&l=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function as(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var os=(e,t,n,r)=>as(e,n,r?r=>{let i=e[r][t];return ie[r][t]as(e,n,r=>e[r][t]>=n);function lre(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+No(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})})}function cs(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(ss.forEach(t=>{delete e[t]}),delete e._chartjs)}function ls(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var us=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function ds(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,us.call(window,()=>{r=!1,e.apply(t,n)}))}}function dre(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var fs=e=>e===`start`?`left`:e===`end`?`right`:`center`,ps=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,fre=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function ms(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,vScale:s,_parsed:c}=e,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:p,maxDefined:m}=o.getUserBounds();if(p){if(i=Math.min(os(c,u,d).lo,n?r:os(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!ho(e[s.axis]));i-=Math.max(0,e)}i=ns(i,0,r-1)}if(m){let e=Math.max(os(c,o.axis,f,!0).hi+1,n?0:os(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!ho(e[s.axis]));e+=Math.max(0,t)}a=ns(e,i,r)-i}else a=r-i}return{start:i,count:a}}function hs(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var gs=e=>e===0||e===1,_s=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*Ro/n)),vs=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*Ro/n)+1,ys={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Bo)+1,easeOutSine:e=>Math.sin(e*Bo),easeInOutSine:e=>-.5*(Math.cos(Lo*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>gs(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>gs(e)?e:_s(e,.075,.3),easeOutElastic:e=>gs(e)?e:vs(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return gs(e)?e:e<.5?.5*_s(e*2,t,n):.5+.5*vs(e*2-1,t,n)},easeInBack(e){let t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){let t=1.70158;return--e*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-ys.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?ys.easeInBounce(e*2)*.5:ys.easeOutBounce(e*2-1)*.5+.5};function bs(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function xs(e){return bs(e)?e:new po(e)}function Ss(e){return bs(e)?e:new po(e).saturate(.5).darken(.1).hexString()}var pre=[`x`,`y`,`borderWidth`,`radius`,`tension`],mre=[`color`,`borderColor`,`backgroundColor`];function hre(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:mre},numbers:{type:`number`,properties:pre}}),e.describe(`animations`,{_fallback:`animation`}),e.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function gre(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Cs=new Map;function _re(e,t){t||={};let n=e+JSON.stringify(t),r=Cs.get(n);return r||(r=new Intl.NumberFormat(e,t),Cs.set(n,r)),r}function ws(e,t,n){return _re(t,n).format(e)}var Ts={values(e){return go(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=vre(e,n)}let o=Uo(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),ws(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(Uo(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Ts.numeric.call(this,e,t,n):``}};function vre(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Es={formatters:Ts};function yre(e){e.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Es.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var Ds=Object.create(null),Os=Object.create(null);function ks(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Ss(t.backgroundColor),this.hoverBorderColor=(e,t)=>Ss(t.borderColor),this.hoverColor=(e,t)=>Ss(t.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return As(this,e,t)}get(e){return ks(this,e)}describe(e,t){return As(Os,e,t)}override(e,t){return As(Ds,e,t)}route(e,t,n,r){let i=ks(this,e),a=ks(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return _o(e)?Object.assign({},t,e):bo(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[hre,gre,yre]);function bre(e){return!e||ho(e.size)||ho(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function Ms(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function xre(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;cn.length){for(c=0;c0&&e.stroke()}}function Ls(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,wre(e,a),c=0;c+e||0;function Hs(e,t){let n={},r=_o(t),i=r?Object.keys(t):t,a=_o(e)?r?n=>bo(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=Are(a(e));return n}function Us(e){return Hs(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function Ws(e){return Hs(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function Gs(e){let t=Us(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Ks(e,t){e||={},t||=js.font;let n=bo(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=bo(e.style,t.style);r&&!(``+r).match(Ore)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:bo(e.family,t.family),lineHeight:kre(bo(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:bo(e.weight,t.weight),string:``};return i.string=bre(i),i}function qs(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;an&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function Js(e,t){return Object.assign(Object.create(e),t)}function Ys(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=rc(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>Ys([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return $s(n,r,()=>zre(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return ic(e).includes(t)},ownKeys(e){return ic(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function Xs(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Zs(e,r),setContext:t=>Xs(e,t,n,r),override:i=>Xs(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return $s(e,t,()=>Nre(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function Zs(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Fo(n)?n:()=>n,isIndexable:Fo(r)?r:()=>r}}var Mre=(e,t)=>e?e+No(t):t,Qs=(e,t)=>_o(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function $s(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function Nre(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return Fo(s)&&o.isScriptable(t)&&(s=Pre(t,s,e,n)),go(s)&&s.length&&(s=Fre(t,s,e,o.isIndexable)),Qs(t,s)&&(s=Xs(s,i,a&&a[t],o)),s}function Pre(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),Qs(e,c)&&(c=tc(i._scopes,i,e,c)),c}function Fre(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(_o(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=tc(r,i,e,c);t.push(Xs(n,a,o&&o[e],s))}}return t}function ec(e,t,n){return Fo(e)?e(t,n):e}var Ire=(e,t)=>e===!0?t:typeof e==`string`?Mo(t,e):void 0;function Lre(e,t,n,r,i){for(let a of t){let t=Ire(n,a);if(t){e.add(t);let a=ec(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function tc(e,t,n,r){let i=t._rootScopes,a=ec(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=nc(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=nc(s,o,a,c,r),c===null)?!1:Ys(Array.from(s),[``],i,a,()=>Rre(t,n,r))}function nc(e,t,n,r,i){for(;n;)n=Lre(e,t,n,r,i);return n}function Rre(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return go(i)&&_o(n)?n:i||{}}function zre(e,t,n,r){let i;for(let a of t)if(i=rc(Mre(a,e),n),i!==void 0)return Qs(e,i)?tc(n,r,e,i):i}function rc(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function ic(e){let t=e._keys;return t||=e._keys=Bre(e._scopes),t}function Bre(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}function ac(e,t,n,r){let{iScale:i}=e,{key:a=`r`}=this._parsing,o=Array(r),s,c,l,u;for(s=0,c=r;ste===`x`?`y`:`x`;function Ure(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=$o(a,i),c=$o(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function Wre(e,t,n){let r=e.length,i,a,o,s,c,l=oc(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)Kre(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);function Yre(e,t){return dc(e).getPropertyValue(t)}var Xre=[`top`,`right`,`bottom`,`left`];function fc(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=Xre[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var Zre=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Qre(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(Zre(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function pc(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=dc(n),a=i.boxSizing===`border-box`,o=fc(i,`padding`),s=fc(i,`border`,`width`),{x:c,y:l,box:u}=Qre(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function $re(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&lc(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=dc(a),s=fc(o,`border`,`width`),c=fc(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=uc(o.maxWidth,a,`clientWidth`),i=uc(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||zo,maxHeight:i||zo}}var mc=e=>Math.round(e*10)/10;function eie(e,t,n,r){let i=dc(e),a=fc(i,`margin`),o=uc(i.maxWidth,e,`clientWidth`)||zo,s=uc(i.maxHeight,e,`clientHeight`)||zo,c=$re(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=fc(i,`border`,`width`),t=fc(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=mc(Math.min(l,o,c.maxWidth)),u=mc(Math.min(u,s,c.maxHeight)),l&&!u&&(u=mc(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=mc(Math.floor(u*r))),{width:l,height:u}}function hc(e,t,n){let r=t||1,i=mc(e.height*r),a=mc(e.width*r);e.height=mc(e.height),e.width=mc(e.width);let o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a?(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var tie=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};cc()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function gc(e,t){let n=Yre(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function _c(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function nie(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function rie(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=_c(e,i,n),s=_c(i,a,n),c=_c(a,t,n);return _c(_c(o,s,n),_c(s,c,n),n)}var iie=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},aie=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function vc(e,t,n){return e?iie(t,n):aie()}function yc(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function bc(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function xc(e){return e===`angle`?{between:ts,compare:sre,normalize:es}:{between:is,compare:(e,t)=>e-t,normalize:e=>e}}function Sc({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function oie(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=xc(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;fc(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),ee=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&ee()&&(m.push(Sc({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(Sc({start:g,end:d,loop:f,count:o,style:p})),m}function wc(e,t){let n=[],r=e.segments;for(let i=0;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function cie(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function lie(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=sie(n,i,a,r);return r===!0?Tc(e,[{start:o,end:s,loop:a}],n,t):Tc(e,cie(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,us.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},Ac=`transparent`,pie={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=xs(e||Ac),i=r.valid&&xs(t||Ac);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},mie=class{constructor(e,t,n,r){let i=t[n];r=qs([e.to,r,i,e.from]);let a=qs([e.from,i,r]);this._active=!0,this._fn=e.fn||pie[e.type||typeof a],this._easing=ys[e.easing]||ys.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=qs([e.to,t,r,e.from]),this._from=qs([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;if(this._active=i!==o&&(a||t1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e{let i=e[r];if(!_o(i))return;let a={};for(let e of t)a[e]=i[e];(go(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=gie(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&hie(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u)if(d&&u.active()){u.update(d,l,o);continue}else u.cancel();if(!d||!d.duration){e[c]=l;continue}i[c]=u=new mie(d,e,c,l),r.push(u)}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return kc.add(this._chart,n),!0}};function hie(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function Rc(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=Ic(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function Bc(e,t){return Js(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function Vc(e,t,n){return Js(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Hc(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;if(!t||t[r]===void 0||t[r][n]===void 0)return;delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n]}}}var Uc=e=>e===`reset`||e===`none`,Wc=(e,t)=>t?e:Object.assign({},e),Gc=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Nc(n,!0),values:null},Kc=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Fc(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(e){this.index!==e&&Hc(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=bo(n.xAxisID,zc(e,`x`)),a=t.yAxisID=bo(n.yAxisID,zc(e,`y`)),o=t.rAxisID=bo(n.rAxisID,zc(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&cs(this._data,this),e._stacked&&Hc(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(_o(t)){let e=this._cachedMeta;this._data=yie(t,e)}else if(n!==t){if(n){cs(n,this);let e=this._cachedMeta;Hc(e),e._parsed=[]}t&&Object.isExtensible(t)&&ure(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=Fc(t.vScale,t),t.stack!==n.stack&&(r=!0,Hc(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Rc(this,t._parsed),t._stacked=Fc(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length?!0:n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=go(r[e])?this.parseArrayData(n,r,e,t):_o(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]t||u=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r=0&&ethis.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(Wc(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new jc(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||Uc(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){Uc(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Uc(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;oe-t))}return e._cache.$bar}function Cie(e){let t=e.iScale,n=Sie(t,e.type),r=t._length,i,a,o,s,c=()=>{o===32767||o===-32768||(Po(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i0?i[e-1]:null,s=eMath.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function qc(e,t,n,r){return go(e)?Eie(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Jc(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l=n?1:-1):Wo(e)}function Xc(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.basee.controller.options.grouped),i=n.options.stacked,a=[],o=this._cachedMeta.controller.getParsed(t),s=o&&o[n.axis],c=e=>{let t=e._parsed.find(e=>e[n.axis]===s),r=t&&t[e.vScale.axis];if(ho(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&c(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(n=>e[n].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let n of this.chart.data.datasets)e[bo(this.chart.options.indexAxis===`x`?n.xAxisID:n.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:i}=t,a=this.getParsed(e),o=r.getLabelForValue(a.x),s=i.getLabelForValue(a.y),c=a._custom;return{label:n[e]||``,value:`(`+o+`, `+s+(c?`, `+c:``)+`)`}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o}=this._cachedMeta,{sharedOptions:s,includeOptions:c}=this._getSharedOptions(t,r),l=a.axis,u=o.axis;for(let d=t;dts(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>ts(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(Bo,u,f),_=m(Lo,l,d),v=m(Lo+Bo,u,f);r=(h-_)/2,i=(g-v)/2,a=-(h+_)/2,o=-(g+v)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}var tl=class extends Kc{static id=`doughnut`;static defaults={datasetElementType:!1,dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:`number`,properties:[`circumference`,`endAngle`,`innerRadius`,`outerRadius`,`startAngle`,`x`,`y`,`offset`,`borderWidth`,`spacing`]}},cutout:`50%`,rotation:0,circumference:360,radius:`100%`,spacing:0,indexAxis:`r`};static descriptors={_scriptable:e=>e!==`spacing`,_indexable:e=>e!==`spacing`&&!e.startsWith(`borderDash`)&&!e.startsWith(`hoverBorderDash`)};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{let c=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:c.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||c.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let n=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=n;else{let i=e=>+n[e];if(_o(n[e])){let{key:e=`value`}=this._parsing;i=t=>+Mo(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*Ro:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=ws(t._parsed[e],n.options.locale);return{label:r[e]||``,value:i}}getMaxBorderWidth(e){let t=0,n=this.chart,r,i,a,o,s;if(!e){for(r=0,i=n.data.datasets.length;r0&&this.getParsed(t-1);for(let n=0;n=_){v.skip=!0;continue}let b=this.getParsed(n),x=ho(b[f]),S=v[d]=a.getPixelForValue(b[d],n),ee=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(ee)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},rl=class extends Kc{static id=`polarArea`;static defaults={dataElementType:`arc`,animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:`number`,properties:[`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`]}},indexAxis:`r`,startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:n,color:r}}=e.legend.options;return t.labels.map((t,i)=>{let a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:r,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:`radialLinear`,angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=ws(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return ac.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,n)=>{let r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(rt.max&&(t.max=r))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(r/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,r){let i=r===`reset`,a=this.chart,o=a.options.animation,s=this._cachedMeta.rScale,c=s.xCenter,l=s.yCenter,u=s.getIndexAngle(0)-.5*Lo,d=u,f,p=360/this.countVisibleElements();for(f=0;f{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++}),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?Yo(this.resolveDataElementOptions(e,t).angle||n):0}},Mie=Object.freeze({__proto__:null,BarController:el,BubbleController:Aie,DoughnutController:tl,LineController:nl,PieController:class extends tl{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:rl,RadarController:class extends Kc{static id=`radar`;static defaults={datasetElementType:`line`,dataElementType:`point`,indexAxis:`r`,showLine:!0,elements:{line:{fill:`start`}}};static overrides={aspectRatio:1,scales:{r:{type:`radialLinear`}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:``+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,r){return ac.bind(this)(e,t,n,r)}update(e){let t=this._cachedMeta,n=t.dataset,r=t.data||[],i=t.iScale.getLabels();if(n.points=r,e!==`resize`){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let a={_loop:!0,_fullLoop:i.length===r.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,n,r){let i=this._cachedMeta.rScale,a=r===`reset`;for(let o=t;o0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(n[f]-v[f])>g,h&&(m.parsed=n,m.raw=c.data[l]),d&&(m.options=u||this.resolveDataElementOptions(l,t.active?`active`:r)),_||this.updateElement(t,l,m,r),v=n}this.updateSharedOptions(u,r,l)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}let n=e.dataset,r=n.options&&n.options.borderWidth||0;if(!t.length)return r;let i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(r,i,a)/2}}});function il(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var Nie={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return il()}parse(){return il()}format(){return il()}add(){return il()}diff(){return il()}startOf(){return il()}endOf(){return il()}}};function Pie(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let o=s._reversePixels?cre:os;if(!r){let r=o(a,t,n);if(c){let{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!ho(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!ho(e[t.axis]));r.hi+=Math.max(0,o)}return r}else if(i._sharedOptions){let e=a[0],r=typeof e.getRange==`function`&&e.getRange(t);if(r){let e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function al(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var Rie={evaluateInteractionItems:al,modes:{index(e,t,n,r){let i=pc(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?ol(e,i,a,r,o):sl(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=pc(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?ol(e,i,a,r,o):sl(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;ee.pos===t)}function dl(e,t){return e.filter(e=>ll.indexOf(e.pos)===-1&&e.box.axis===t)}function fl(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function pl(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=fl(ul(t,`left`),!0),i=fl(ul(t,`right`)),a=fl(ul(t,`top`),!0),o=fl(ul(t,`bottom`)),s=dl(t,`x`),c=dl(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:ul(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Vie(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Hie(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Uie(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!_o(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&Hie(o,a.getPadding());let s=Math.max(0,t.outerWidth-Vie(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Vie(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function hl(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function Wie(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function gl(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);Hie(f,Gs(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=zie(c.concat(l),d);gl(s.fullSize,p,d,m),gl(c,p,d,m),gl(l,p,d,m)&&gl(c,p,d,m),hl(p),Gie(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,Gie(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},Co(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},Kie=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},yl=class extends Kie{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},bl=`$chartjs`,xl={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},Sl=e=>e===null||e===``;function qie(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[bl]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,Sl(i)){let t=gc(e,`width`);t!==void 0&&(e.width=t)}if(Sl(r))if(e.style.height===``)e.height=e.width/(t||2);else{let t=gc(e,`height`);t!==void 0&&(e.height=t)}return e}var Jie=tie?{passive:!0}:!1;function Yie(e,t,n){e&&e.addEventListener(t,n,Jie)}function Xie(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Jie)}function Cl(e,t){let n=xl[e.type]||e.type,{x:r,y:i}=pc(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function wl(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function Tl(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=wl(n.addedNodes,r),t&&=!wl(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function Zie(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=wl(n.removedNodes,r),t&&=!wl(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var El=new Map,Qie=0;function Dl(){let e=window.devicePixelRatio;e!==Qie&&(Qie=e,El.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function $ie(e,t){El.size||window.addEventListener(`resize`,Dl),El.set(e,t)}function Ol(e){El.delete(e),El.size||window.removeEventListener(`resize`,Dl)}function eae(e,t,n){let r=e.canvas,i=r&&lc(r);if(!i)return;let a=ds((e,t)=>{let r=i.clientWidth;n(e,t),r{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;n===0&&r===0||a(n,r)});return o.observe(i),$ie(e,a),o}function kl(e,t,n){n&&n.disconnect(),t===`resize`&&Ol(e)}function tae(e,t,n){let r=e.canvas,i=ds(t=>{e.ctx!==null&&n(Cl(t,e))},e);return Yie(r,t,i),i}var Al=class extends Kie{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(qie(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[bl])return!1;let n=t[bl].initial;[`height`,`width`].forEach(e=>{let r=n[e];ho(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[bl],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:Tl,detach:Zie,resize:eae}[t]||tae)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:kl,detach:kl,resize:kl}[t]||Xie)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return eie(e,t,n,r)}isAttached(e){let t=e&&lc(e);return!!(t&&t.isConnected)}};function jl(e){return!cc()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?yl:Al}var Ml=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return qo(this.x)&&qo(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function nae(e,t){let n=e.options.ticks,r=rae(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?aae(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return oae(t,l,a,o/i),l;let u=iae(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(Nl(t,l,u,ho(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function aae(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,lae=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,uae=(e,t)=>Math.min(t||e,e);function dae(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function pae(e,t){Co(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;in?n:t,n=r&&t>n?t:n,{min:yo(t,yo(n,t)),max:yo(n,yo(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){So(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=jre(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=ns(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-Pl(e.grid)-t.padding-mae(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=Xo(Math.min(Math.asin(ns((l.highest.height+6)/o,-1,1)),Math.asin(ns(s/c,-1,1))-Math.asin(ns(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){So(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){So(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=mae(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=Pl(i)+a):(e.height=this.maxHeight,e.width=Pl(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=Yo(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){So(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t({width:a[e]||0,height:o[e]||0});return{first:ee(0),last:ee(t-1),widest:ee(x),highest:ee(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return rs(this._alignToPixels?Ns(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&eo*r?o/n:s/r:s*r0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+ +!!s,u=Pl(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Ns(n,e,p)},g,_,v,y,b,x,S,ee,te,ne,C,re;if(a===`top`)g=h(this.bottom),x=this.bottom-u,ee=g-m,ne=h(e.top)+m,re=e.bottom;else if(a===`bottom`)g=h(this.top),ne=e.top,re=h(e.bottom)-m,x=g+m,ee=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,te=h(e.left)+m,C=e.right;else if(a===`right`)g=h(this.left),te=e.left,C=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(_o(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}ne=e.top,re=e.bottom,x=g+m,ee=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(_o(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,te=e.left,C=e.right}let ie=bo(r.ticks.maxTicksLimit,l),ae=Math.max(1,Math.ceil(l/ie));for(_=0;_0&&(a-=r/2);break}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:te,textOffset:re,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:ie,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-Yo(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{!r.width||!r.color||(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);js.route(a,i,c,s)})}function Bl(e){return`id`in e&&`defaults`in e}var Vl=new class{constructor(){this.controllers=new Ll(Kc,`datasets`,!0),this.elements=new Ll(Ml,`elements`),this.plugins=new Ll(Object,`plugins`),this.scales=new Ll(Il,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):Co(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=No(e);So(n[`before`+r],[],n),t[e](n),So(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;te.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function Ul(e){let t={},n=[],r=Object.keys(Vl.plugins.items);for(let e=0;e1&&Yl(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Ql(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function $l(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return Ql(e,`x`,n[0])||Ql(e,`y`,n[0])}return{}}function O(e,t){let n=Ds[e.type]||{scales:{}},r=t.scales||{},i=ql(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!_o(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=Zl(t,o,$l(t,e),js.scales[o.type]),c=Jl(s,i),l=n.scales||{};a[t]=Oo(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||ql(i,t),s=(Ds[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=vae(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),Oo(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];Oo(t,[js.scales[t.type],js.scale])}),a}function eu(e){let t=e.options||={};t.plugins=bo(t.plugins,{}),t.scales=O(e,t)}function tu(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function nu(e){return e||={},e.data=tu(e.data),eu(e),e}var ru=new Map,iu=new Set;function au(e,t){let n=ru.get(e);return n||(n=t(),ru.set(e,n),iu.add(n)),n}var ou=(e,t,n)=>{let r=Mo(t,n);r!==void 0&&e.add(r)},su=class{constructor(e){this._config=nu(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=tu(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),eu(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return au(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return au(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return au(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return au(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>ou(s,e,t))),t.forEach(e=>ou(s,r,e)),t.forEach(e=>ou(s,Ds[i]||{},e)),t.forEach(e=>ou(s,js,e)),t.forEach(e=>ou(s,Os,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),iu.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,Ds[t]||{},js.datasets[t]||{},{type:t},js,Os]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=cu(this._resolverCache,e,r),s=a;if(uu(a,t)){i.$shared=!1,n=Fo(n)?n():n;let t=this.createResolver(e,n,o);s=Xs(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=cu(this._resolverCache,e,n);return _o(t)?Xs(i,t,void 0,r):i}};function cu(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:Ys(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var lu=e=>_o(e)&&Object.getOwnPropertyNames(e).some(t=>Fo(e[t]));function uu(e,t){let{isScriptable:n,isIndexable:r}=Zs(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(Fo(o)||lu(o))||a&&go(o))return!0}return!1}var du=`4.5.1`,yae=[`top`,`bottom`,`left`,`right`,`chartArea`];function fu(e,t){return e===`top`||e===`bottom`||yae.indexOf(e)===-1&&t===`x`}function pu(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function mu(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),So(n&&n.onComplete,[e],t)}function bae(e){let t=e.chart,n=t.options.animation;So(n&&n.onProgress,[e],t)}function hu(e){return cc()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var gu={},_u=e=>{let t=hu(e);return Object.values(gu).filter(e=>e.canvas===t).pop()};function xae(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function Sae(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var vu=class{static defaults=js;static instances=gu;static overrides=Ds;static registry=Vl;static version=du;static getChart=_u;static register(...e){Vl.add(...e),yu()}static unregister(...e){Vl.remove(...e),yu()}constructor(e,t){let n=this.config=new su(t),r=hu(e),i=_u(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(jl(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;if(this.id=Zne(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Hl,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=dre(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],gu[this.id]=this,!o||!s){console.error(`Failed to create chart: can't acquire context from the given item`);return}kc.listen(this,`complete`,mu),kc.listen(this,`progress`,bae),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return ho(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Vl}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():hc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return Ps(this.canvas,this.ctx),this}stop(){return kc.stop(this),this}resize(e,t){kc.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,hc(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),So(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Co(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=Zl(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),Co(i,t=>{let i=t.options,a=i.id,o=Zl(a,i),s=bo(i.type,t.dtype);(i.position===void 0||fu(i.position,o)!==fu(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(Vl.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),Co(r,(e,t)=>{e||delete n[t]}),Co(n,e=>{vl.configure(this,e,e.options),vl.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;et.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(pu(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){Co(this.scales,e=>{vl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!Io(new Set(Object.keys(this._listeners)),new Set(e.events))||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)xae(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;ee.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;vl.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],Co(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n={meta:e,index:e.index,cancelable:!0},r=Oc(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&Rs(t,r),e.controller.draw(),r&&zs(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Ls(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=Rie.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=Js(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);Po(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),kc.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};Co(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){Co(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Co(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});wo(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=tre(e),c=Sae(e,this._lastEvent,n,s);n&&(this._lastEvent=null,So(i.onHover,[e,o,this],this),s&&So(i.onClick,[e,o,this],this));let l=!wo(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function yu(){return Co(vu.instances,e=>e._plugins.invalidate())}function Cae(e,t,n){let{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:c}=t,{borderWidth:l,borderJoinStyle:u}=c,d=Math.min(l/o,es(r-n));if(e.beginPath(),e.arc(i,a,o-l/2,r+d/2,n-d/2),s>0){let t=Math.min(l/s,es(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*es(r-n));if(u===`round`)e.arc(i,a,t,n-Lo/2,r+Lo/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+Lo/2)+i,c=-o*Math.sin(n+Lo/2)+a,l=o*Math.cos(r+Lo/2)+i,u=o*Math.sin(r+Lo/2)+a;e.lineTo(s,c),e.lineTo(l,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip(`evenodd`)}function wae(e,t,n){let{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:c}=t,l=i/s;e.beginPath(),e.arc(a,o,s,r-l,n+l),c>i?(l=i/c,e.arc(a,o,c,n+l,r-l,!0)):e.arc(a,o,i,n+Bo,r-Bo),e.closePath(),e.clip()}function Tae(e){return Hs(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Eae(e,t,n,r){let i=Tae(e.options.borderRadius),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{let t=(n-Math.min(a,e))*r/2;return ns(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:ns(i.innerStart,0,o),innerEnd:ns(i.innerEnd,0,o)}}function bu(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function xu(e,t,n,r,i,a){let{x:o,y:s,startAngle:c,pixelMargin:l,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-l,0),f=u>0?u+r+n+l:0,p=0,m=i-c;if(r){let e=((u>0?u-r:0)+(d>0?d-r:0))/2;p=(m-(e===0?m:m*e/(e+r)))/2}let h=(m-Math.max(.001,m*d-n/Lo)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=Eae(t,f,d,_-g),S=d-v,ee=d-y,te=g+v/S,ne=_-y/ee,C=f+b,re=f+x,ie=g+b/C,ae=_-x/re;if(e.beginPath(),a){let t=(te+ne)/2;if(e.arc(o,s,d,te,t),e.arc(o,s,d,t,ne),y>0){let t=bu(ee,ne,o,s);e.arc(t.x,t.y,y,ne,_+Bo)}let n=bu(re,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=bu(re,ae,o,s);e.arc(t.x,t.y,x,_+Bo,ae+Math.PI)}let r=(_-x/f+(g+b/f))/2;if(e.arc(o,s,f,_-x/f,r,!0),e.arc(o,s,f,r,g+b/f,!0),b>0){let t=bu(C,ie,o,s);e.arc(t.x,t.y,b,ie+Math.PI,g-Bo)}let i=bu(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=bu(S,te,o,s);e.arc(t.x,t.y,v,g-Bo,te)}}else{e.moveTo(o,s);let t=Math.cos(te)*d+o,n=Math.sin(te)*d+s;e.lineTo(t,n);let r=Math.cos(ne)*d+o,i=Math.sin(ne)*d+s;e.lineTo(r,i)}e.closePath()}function Su(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){xu(e,t,n,r,c,i);for(let t=0;t=Lo&&p===0&&u!==`miter`&&Cae(e,t,h),a||(xu(e,t,n,r,h,i),e.stroke())}var Oae=class extends Ml{static id=`arc`;static defaults={borderAlign:`center`,borderColor:`#fff`,borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:`backgroundColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){let{angle:r,distance:i}=Qo(this.getProps([`x`,`y`],n),{x:e,y:t}),{startAngle:a,endAngle:o,innerRadius:s,outerRadius:c,circumference:l}=this.getProps([`startAngle`,`endAngle`,`innerRadius`,`outerRadius`,`circumference`],n),u=(this.options.spacing+this.options.borderWidth)/2,d=bo(l,o-a),f=ts(r,a,o)&&a!==o,p=d>=Ro||f,m=is(i,s+u,c+u);return p&&m}getCenterPoint(e){let{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps([`x`,`y`,`startAngle`,`endAngle`,`innerRadius`,`outerRadius`],e),{offset:s,spacing:c}=this.options,l=(r+i)/2,u=(a+o+c+s)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin=t.borderAlign===`inner`?.33:0,this.fullCircles=n>Ro?Math.floor(n/Ro):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();let o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);let s=r*(1-Math.sin(Math.min(Lo,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Su(e,this,s,i,a),Dae(e,this,s,i,a),e.restore()}};function Cu(e,t,n=t){e.lineCap=bo(n.borderCapStyle,t.borderCapStyle),e.setLineDash(bo(n.borderDash,t.borderDash)),e.lineDashOffset=bo(n.borderDashOffset,t.borderDashOffset),e.lineJoin=bo(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=bo(n.borderWidth,t.borderWidth),e.strokeStyle=bo(n.borderColor,t.borderColor)}function kae(e,t,n){e.lineTo(n.x,n.y)}function wu(e){return e.stepped?Sre:e.tension||e.cubicInterpolationMode===`monotone`?Cre:kae}function Tu(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=is&&a>s;return{count:r,start:c,loop:t.loop,ilen:l(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(ng&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function Du(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?Eu:Aae}function jae(e){return e.stepped?nie:e.tension||e.cubicInterpolationMode===`monotone`?rie:_c}function Mae(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),Cu(e,t.options),e.stroke(i)}function Nae(e,t,n,r){let{segments:i,options:a}=t,o=Du(t);for(let s of i)Cu(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var Pae=typeof Path2D==`function`;function Fae(e,t,n,r){Pae&&!t.options.segment?Mae(e,t,n,r):Nae(e,t,n,r)}var Ou=class extends Ml{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;Jre(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=lie(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=wc(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=jae(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function Bu(e){return Ru[e%Ru.length]}function Vu(e){return zu[e%zu.length]}function zae(e,t){return e.borderColor=Bu(t),e.backgroundColor=Vu(t),++t}function Bae(e,t){return e.backgroundColor=e.data.map(()=>Bu(t++)),t}function Vae(e,t){return e.backgroundColor=e.data.map(()=>Vu(t++)),t}function Hae(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof tl?t=Bae(n,t):i instanceof rl?t=Vae(n,t):i&&(t=zae(n,t))}}function Hu(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function Uae(e){return e&&(e.borderColor||e.backgroundColor)}function Wae(){return js.borderColor!==`rgba(0,0,0,0.1)`||js.backgroundColor!==`rgba(0,0,0,0.1)`}var Gae={id:`colors`,defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;let{data:{datasets:r},options:i}=e.config,{elements:a}=i,o=Hu(r)||Uae(i)||a&&Hu(a)||Wae();if(!n.forceOverride&&o)return;let s=Hae(e);r.forEach(s)}};function Kae(e,t,n,r,i){let a=i.samples||r;if(a>=n)return e.slice(t,t+n);let o=[],s=(n-2)/(a-2),c=0,l=t+n-1,u=t,d,f,p,m,h;for(o[c++]=e[u],d=0;dp&&(p=m,f=e[a],h=a);o[c++]=f,u=h}return o[c++]=e[l],o}function qae(e,t,n,r){let i=0,a=0,o,s,c,l,u,d,f,p,m,h,g=[],_=t+n-1,v=e[t].x,y=e[_].x-v;for(o=t;oh&&(h=l,f=o),i=(a*i+s.x)/++a;else{let n=o-1;if(!ho(d)&&!ho(f)){let t=Math.min(d,f),r=Math.max(d,f);t!==p&&t!==n&&g.push({...e[t],x:i}),r!==p&&r!==n&&g.push({...e[r],x:i})}o>0&&n!==p&&g.push(e[n]),g.push(s),u=t,a=0,m=h=l,d=f=p=o}}return g}function Uu(e){if(e._decimated){let t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,`data`,{configurable:!0,enumerable:!0,writable:!0,value:t})}}function Wu(e){e.data.datasets.forEach(e=>{Uu(e)})}function Jae(e,t){let n=t.length,r=0,i,{iScale:a}=e,{min:o,max:s,minDefined:c,maxDefined:l}=a.getUserBounds();return c&&(r=ns(os(t,a.axis,o).lo,0,n-1)),i=l?ns(os(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var Yae={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){Wu(e);return}let r=e.width;e.data.datasets.forEach((t,i)=>{let{_data:a,indexAxis:o}=t,s=e.getDatasetMeta(i),c=a||t.data;if(qs([o,e.options.indexAxis])===`y`||!s.controller.supportsDecimation)return;let l=e.scales[s.xAxisID];if(l.type!==`linear`&&l.type!==`time`||e.options.parsing)return;let{start:u,count:d}=Jae(s,c);if(d<=(n.threshold||4*r)){Uu(t);return}ho(a)&&(t._data=c,delete t.data,Object.defineProperty(t,`data`,{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}}));let f;switch(n.algorithm){case`lttb`:f=Kae(c,u,d,r,n);break;case`min-max`:f=qae(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){Wu(e)}};function Xae(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=Ku(r,s,i);let c=Gu(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=wc(t,c);for(let t of l){let r=Gu(n,a[t.start],a[t.end],t.loop),s=Cc(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:qu(c,r,`start`,Math.max)},end:{[n]:qu(c,r,`end`,Math.min)}})}}return o}function Gu(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=es(i),a=es(a)),{property:e,start:i,end:a}}function Zae(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=Ku(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function Ku(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function qu(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Ju(e,t){let n=[],r=!1;return go(e)?(r=!0,n=e):n=Zae(e,t),n.length?new Ou({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Yu(e){return e&&e.fill!==!1}function Qae(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!vo(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function $ae(e,t,n){let r=roe(e);if(_o(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return vo(i)&&Math.floor(i)===i?eoe(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function eoe(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function toe(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:_o(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function noe(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:_o(e)?e.value:t.getBaseValue(),r}function roe(e){let t=e.options,n=t.fill,r=bo(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function ioe(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=aoe(t,n);s.push(Ju({x:null,y:t.bottom},r));for(let e=0;e=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&Zu(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;Yu(n)&&Zu(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;!Yu(r)||n.drawTime!==`beforeDatasetDraw`||Zu(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},nd=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},goe=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,rd=class extends Ml{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=So(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=Ks(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=nd(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=_oe(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=vc(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=ps(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=ps(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=ps(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=ps(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;Rs(e,this),this._draw(),zs(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=js.color,s=vc(e.rtl,this.left,this.width),c=Ks(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=nd(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=bo(n.lineWidth,1);if(r.fillStyle=bo(n.fillStyle,o),r.lineCap=bo(n.lineCap,`butt`),r.lineDashOffset=bo(n.lineDashOffset,0),r.lineJoin=bo(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=bo(n.strokeStyle,o),r.setLineDash(bo(n.lineDash,[])),a.usePointStyle)Is(r,{radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},s.xPlus(e,p/2),t+d,a.pointStyleWidth&&p);else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=Ws(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?Vs(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){Bs(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:ps(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:ps(i,this.top+y+l,this.bottom-t[0].height),line:0},yc(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,ee=f.y;if(s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(ee=f.y+=b,f.line++,S=f.x=ps(i,this.left+l,this.right-n[f.line])):u>0&&ee+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,ee=f.y=ps(i,this.top+y+l,this.bottom-t[f.line].height)),g(s.x(S),ee,o),S=fre(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),ee,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=id(o,e)+l}else f.y+=b}),bc(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=Ks(t.font),r=Gs(t.padding);if(!t.display)return;let i=vc(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=ps(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+ps(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=ps(o,u,u+d);a.textAlign=i.textAlign(fs(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Bs(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=Ks(e.font),n=Gs(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(is(e,this.left,this.right)&&is(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;ne.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function yoe(e,t,n){let r=e;return typeof t.text!=`string`&&(r=id(t,n)),r}function id(e,t){return t*(e.text?e.text.length:0)}function boe(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var xoe={id:`legend`,_element:rd,start(e,t,n){let r=e.legend=new rd({ctx:e.ctx,options:n,chart:e});vl.configure(e,r,n),vl.addBox(e,r)},stop(e){vl.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;vl.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=Gs(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},ad=class extends Ml{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=go(n.text)?n.text.length:1;this._padding=Gs(n.padding);let i=r*Ks(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=ps(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=ps(o,r,t),s=Lo*-.5):(l=i-e,u=ps(o,t,r),s=Lo*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=Ks(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);Bs(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:fs(t.align),textBaseline:`middle`,translation:[i,a]})}};function Soe(e,t){let n=new ad({ctx:e.ctx,options:t,chart:e});vl.configure(e,n,t),vl.addBox(e,n),e.titleBlock=n}var Coe={id:`title`,_element:ad,start(e,t,n){Soe(e,n)},stop(e){let t=e.titleBlock;vl.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;vl.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},od=new WeakMap,woe={id:`subtitle`,start(e,t,n){let r=new ad({ctx:e.ctx,options:n,chart:e});vl.configure(e,r,n),vl.addBox(e,r),od.set(e,r)},stop(e){vl.removeBox(e,od.get(e)),od.delete(e)},beforeUpdate(e,t,n){let r=od.get(e);vl.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`normal`},fullSize:!0,padding:0,position:`top`,text:``,weight:1500},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},sd={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;te+t)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;a-1?e.split(` -`):e}function Soe(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Bu(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=Ms(t.bodyFont),l=Ms(t.titleFont),u=Ms(t.footerFont),d=a.length,f=i.length,p=r.length,m=js(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,oo(e.title,y),n.font=c.string,oo(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,oo(r,e=>{oo(e.before,y),oo(e.lines,y),oo(e.after,y)}),v=0,n.font=u.string,oo(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function Coe(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function woe(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function Toe(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),woe(l,e,t,n)&&(l=`center`),l}function Vu(e,t,n){let r=n.yAlign||t.yAlign||Coe(e,n);return{xAlign:n.xAlign||t.xAlign||Toe(e,t,n,r),yAlign:r}}function Eoe(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function Doe(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function Hu(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=As(o),m=Eoe(t,s),h=Doe(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:zo(m,0,r.width-t.width),y:zo(h,0,r.height-t.height)}}function Uu(e,t,n){let r=js(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function Wu(e){return Ru([],zu(e))}function Ooe(e,t,n){return Ps(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function Gu(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var Ku={beforeTitle:Za,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex{let t={before:[],lines:[],after:[]},i=Gu(n,e);Ru(t.before,zu(qu(i,`beforeLabel`,this,e))),Ru(t.lines,qu(i,`label`,this,e)),Ru(t.after,zu(qu(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return Wu(qu(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=qu(n,`beforeFooter`,this,e),i=qu(n,`footer`,this,e),a=qu(n,`afterFooter`,this,e),o=[];return o=Ru(o,zu(r)),o=Ru(o,zu(i)),o=Ru(o,zu(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;se.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),oo(o,t=>{let n=Gu(e.callbacks,t);r.push(qu(n,`labelColor`,this,t)),i.push(qu(n,`labelPointStyle`,this,t)),a.push(qu(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=Lu[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=Bu(this,n),o=Object.assign({},e,t),s=Vu(this.chart,n,o),c=Hu(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=As(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=ac(n.rtl,this.x,this.width);for(e.x=Uu(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=Ms(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Ds(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Ds(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=Ms(n.bodyFont),d=u.lineHeight,f=0,p=ac(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=Uu(this,h,n),t.fillStyle=n.bodyColor,oo(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=Lu[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=Bu(this,e),o=Object.assign({},n,this._size),s=Vu(t,e,o),c=Hu(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=js(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),oc(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),sc(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!so(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!so(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=Lu[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},koe=Object.freeze({__proto__:null,Colors:qae,Decimation:_u,Filler:foe,Legend:voe,SubTitle:xoe,Title:boe,Tooltip:{id:`tooltip`,_element:Ju,positioners:Lu,afterInit(e,t,n){n&&(e.tooltip=new Ju({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:Ku},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),Aoe=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function joe(e,t,n,r){let i=e.indexOf(t);return i===-1?Aoe(e,t,n,r):i===e.lastIndexOf(t)?i:n}var Moe=(e,t)=>e===null?null:zo(Math.round(e),0,t);function Yu(e){let t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function Poe(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!Qa(a),_=!Qa(o),v=!Qa(c),y=(h-m)/(u+1),b=Oo((h-m)/p/f)*f,x,S,ee,te;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];te=Math.ceil(h/b)-Math.floor(m/b),te>p&&(b=Oo(te*b/p/f)*f),Qa(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,ee=Math.ceil(h/b)*b):(S=m,ee=h),g&&_&&i&&Xne((o-a)/i,b/1e3)?(te=Math.round(Math.min((o-a)/b,l)),b=(o-a)/te,S=a,ee=o):v?(S=g?a:S,ee=_?o:ee,te=c-1,b=(ee-S)/te):(te=(ee-S)/b,te=Do(te,Math.round(te),b/1e3)?Math.round(te):Math.ceil(te));let ne=Math.max(Po(b),Po(S));x=10**(Qa(s)?ne:s),S=Math.round(S*x)/x,ee=Math.round(ee*x)/x;let C=0;for(g&&(d&&S!==a?(n.push({value:a}),So)break;n.push({value:e})}return _&&d&&ee!==o?n.length&&Do(n[n.length-1].value,o,Xu(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||ee===o)&&n.push({value:ee}),n}function Xu(e,t,{horizontal:n,minRotation:r}){let i=Mo(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var Zu=class extends gl{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Qa(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=Eo(r),t=Eo(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=Poe({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&jo(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return us(e,this.chart.options.locale,this.options.ticks.format)}},Foe=class extends Zu{static id=`linear`;static defaults={ticks:{callback:fs.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=to(e)?e:0,this.max=to(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=Mo(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},Qu=e=>Math.floor(To(e)),$u=(e,t)=>10**(Qu(e)+t);function ed(e){return e/10**Qu(e)==1}function td(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function Ioe(e,t){let n=Qu(t-e);for(;td(e,t,n)>10;)n++;for(;td(e,t,n)<10;)n--;return Math.min(n,Qu(e))}function Loe(e,{min:t,max:n}){t=no(e.min,t);let r=[],i=Qu(t),a=Ioe(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=no(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=no(e.max,f);return r.push({value:p,major:ed(p),significand:d}),r}var Roe=class extends gl{static id=`logarithmic`;static defaults={ticks:{callback:fs.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=Zu.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return to(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=to(e)?Math.max(0,e):null,this.max=to(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!to(this._userMin)&&(this.min=e===$u(this.min,0)?$u(this.min,-1):$u(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i($u(n,-1)),a($u(r,1)))),n<=0&&i($u(r,-1)),r<=0&&a($u(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=Loe({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&jo(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:us(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=To(e),this._valueRange=To(this.max)-To(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(To(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function nd(e){let t=e.ticks;if(t.display&&e.display){let e=js(t.backdropPadding);return ro(t.font&&t.font.size,_s.font.size)+e.height}return 0}function zoe(e,t,n){return n=$a(n)?n:[n],{w:cre(e,t.string,n),h:n.length*t.lineHeight}}function rd(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function Boe(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?yo/a:0;for(let c=0;ct.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.startt.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function id(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(No(Lo(c.angle+So))),u=Goe(c.y,s.h,l),d=Uoe(l),f=Woe(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function ad(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Cs({x:n,y:r},t)||Cs({x:n,y:a},t)||Cs({x:i,y:r},t)||Cs({x:i,y:a},t))}function Hoe(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:nd(a)/2,additionalAngle:o?yo/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function Koe(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!Qa(s)){let n=As(t.borderRadius),c=js(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),Ds(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function qoe(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));Koe(n,a,t);let o=Ms(a.font),{x:s,y:c,textAlign:l}=t;Es(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function od(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,bo);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=ao(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?Boe(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=bo/(this._pointLabels.length||1),n=this.options.startAngle||0;return Lo(e*t+Mo(n))}getDistanceFromCenterForValue(e){if(Qa(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(Qa(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);Joe(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=Ms(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=js(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}Es(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},sd={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},cd=Object.keys(sd);function ld(e,t){return e-t}function ud(e,t){if(Qa(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),to(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(Ao(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function dd(e,t,n,r){let i=cd.length;for(let a=cd.indexOf(e);a=cd.indexOf(n);a--){let n=cd[a];if(sd[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return cd[n?cd.indexOf(n):0]}function Qoe(e){for(let t=cd.indexOf(e)+1,n=cd.length;t=t?n[r]:n[i];e[a]=!0}}function ese(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function tse(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=zo(t,0,a),n=zo(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||dd(i.minUnit,t,n,this._getLabelCapacity(t)),o=ro(r.ticks.stepSize,1),s=a===`week`?i.isoWeekday:!1,c=Ao(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return ao(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=Ho(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=Ho(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var nse=class extends fd{static id=`timeseries`;static defaults=fd.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=pd(t,this.min),this._tableRange=pd(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;ae-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(pd(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return pd(this._table,n*this._tableRange+this._minPos,!0)}},rse=[kie,Hae,koe,Object.freeze({__proto__:null,CategoryScale:Noe,LinearScale:Foe,LogarithmicScale:Roe,RadialLinearScale:Xoe,TimeScale:fd,TimeSeriesScale:nse})];zl.register(...rse);var md=zl,ise={size:15,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},hd={size:10,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},ase={size:12,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},ose={size:15,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`bold`,style:`normal`},sse={size:25,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,weight:`bold`,style:`normal`,lineHeight:3},cse=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},gd=class extends Ct{constructor(){super(),this.currentTheme=`dark`,this._themeHandler=()=>{this.readColors(),this.currentTheme=_d()}}readColors(){let e=getComputedStyle(this);this.primary=e.getPropertyValue(`--primary-color`).trim(),this.secondary=e.getPropertyValue(`--secondary-color`).trim(),this.tertiary=e.getPropertyValue(`--tertiary-color`).trim(),this.background=e.getPropertyValue(`--background-color`).trim(),this.error=e.getPropertyValue(`--error-color`).trim(),this.ok=e.getPropertyValue(`--terminal-text`).trim(),this.warn=e.getPropertyValue(`--warn-color`).trim(),this.color1=e.getPropertyValue(`--chart-color1`).trim(),this.color2=e.getPropertyValue(`--chart-color2`).trim(),this.color3=e.getPropertyValue(`--chart-color3`).trim(),this.color4=e.getPropertyValue(`--chart-color4`).trim(),this.color5=e.getPropertyValue(`--chart-color5`).trim()}firstUpdated(){this.readColors(),this.currentTheme=_d(),this.font=ise,this.smallFont=hd,this.mediumFont=ase,this.titleFont=sse,this.fontBold=ose,window.addEventListener(Kr,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Kr,this._themeHandler)}};cse([Dt()],gd.prototype,`currentTheme`,void 0);function _d(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var vd=[`#f83aff`,`rgba(98, 196, 255, 1)`,`rgba(248,58,255,0.47)`,`rgba(98, 196, 255, 0.8)`,`rgba(248,58,255,0.2)`,`rgba(98, 196, 255, 0.5)`],lse=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.4)`,`rgba(0, 0, 0, 0.25)`,`rgba(0, 0, 0, 0.15)`,`rgba(0, 0, 0, 0.08)`,`rgba(0, 0, 0, 0.5)`],use=[`#33ff33`,`rgba(102, 255, 102, 0.8)`,`rgba(51, 255, 51, 0.47)`,`rgba(102, 255, 102, 0.6)`,`rgba(51, 255, 51, 0.25)`,`rgba(102, 255, 102, 0.4)`],dse=[`#f83aff`,`#00FF00`,`#787878`],fse=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],pse=[`#33ff33`,`#66ff66`,`#1a991a`],mse=[`#ff246b`,`rgba(98, 196, 255, 1)`],hse=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],gse=[`#66ff66`,`#1a991a`],yd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},bd=class extends gd{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=vd,this.width=300,this.height=300,this.id=crypto.randomUUID(),this.firstRun=!0}dataChanged(){let e=JSON.stringify(this.datasets?.map(e=>e.data)),t=JSON.stringify(this.labels);return e!==this._prevDatasets||t!==this._prevLabels?(this._prevDatasets=e,this._prevLabels=t,!0):!1}refresh(){this.chart.update()}firstUpdated(){super.firstUpdated()}updated(e){if(!(!this.chart||e.has(`changesChart`)||e.has(`breakingChanges`)||e.has(`currentTheme`)||this.dataChanged()))return;this.chart&&this.chart.destroy();let t=this.currentTheme;this.changesChart?this.colors=t===`tektronix`?pse:t===`light`?fse:dse:this.breakingChanges?this.colors=t===`tektronix`?gse:t===`light`?hse:mse:this.colors=t===`tektronix`?use:t===`light`?lse:vd,this.datasets.forEach(e=>{e.backgroundColor=this.colors,e.borderColor=this.background});let n=!1;this.title&&(n=!0);let r=this.firstRun?1e3:250;this.chart=new md(this.shadowRoot?.querySelector(`#chart-`+this.id),{type:`doughnut`,data:{labels:this.labels,datasets:this.datasets},options:{animation:{duration:r},responsive:!0,maintainAspectRatio:!1,layout:{autoPadding:!1,padding:{top:0,bottom:0}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:n,text:this.title,font:this.titleFont,color:this.primary,align:`center`},legend:{display:this.showLegend,position:`right`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,generateLabels:e=>{let t=e.data;if(t.labels&&t.datasets.length){let e=t.datasets[0].backgroundColor||[];return t.labels.map((t,n)=>({text:t,fillStyle:e[n]||this.secondary,strokeStyle:e[n]||this.secondary,fontColor:e[n]||this.secondary,hidden:!1,index:n}))}return[]}}}}}}),this.firstRun=!1}render(){return T` +`):e}function Toe(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function ud(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=Ks(t.bodyFont),l=Ks(t.titleFont),u=Ks(t.footerFont),d=a.length,f=i.length,p=r.length,m=Gs(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,Co(e.title,y),n.font=c.string,Co(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,Co(r,e=>{Co(e.before,y),Co(e.lines,y),Co(e.after,y)}),v=0,n.font=u.string,Co(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function Eoe(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function Doe(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function Ooe(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),Doe(l,e,t,n)&&(l=`center`),l}function dd(e,t,n){let r=n.yAlign||t.yAlign||Eoe(e,n);return{xAlign:n.xAlign||t.xAlign||Ooe(e,t,n,r),yAlign:r}}function koe(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function Aoe(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function fd(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=Ws(o),m=koe(t,s),h=Aoe(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:ns(m,0,r.width-t.width),y:ns(h,0,r.height-t.height)}}function pd(e,t,n){let r=Gs(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function md(e){return cd([],ld(e))}function hd(e,t,n){return Js(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function gd(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var _d={beforeTitle:mo,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex{let t={before:[],lines:[],after:[]},i=gd(n,e);cd(t.before,ld(vd(i,`beforeLabel`,this,e))),cd(t.lines,vd(i,`label`,this,e)),cd(t.after,ld(vd(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return md(vd(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=vd(n,`beforeFooter`,this,e),i=vd(n,`footer`,this,e),a=vd(n,`afterFooter`,this,e),o=[];return o=cd(o,ld(r)),o=cd(o,ld(i)),o=cd(o,ld(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;se.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),Co(o,t=>{let n=gd(e.callbacks,t);r.push(vd(n,`labelColor`,this,t)),i.push(vd(n,`labelPointStyle`,this,t)),a.push(vd(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=sd[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=ud(this,n),o=Object.assign({},e,t),s=dd(this.chart,n,o),c=fd(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=Ws(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=vc(n.rtl,this.x,this.width);for(e.x=pd(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=Ks(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Vs(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Vs(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=Ks(n.bodyFont),d=u.lineHeight,f=0,p=vc(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=pd(this,h,n),t.fillStyle=n.bodyColor,Co(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=sd[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=ud(this,e),o=Object.assign({},n,this._size),s=dd(t,e,o),c=fd(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=Gs(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),yc(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),bc(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!wo(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!wo(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)!==void 0);let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=sd[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},Moe=Object.freeze({__proto__:null,Colors:Gae,Decimation:Yae,Filler:hoe,Legend:xoe,SubTitle:woe,Title:Coe,Tooltip:{id:`tooltip`,_element:joe,positioners:sd,afterInit(e,t,n){n&&(e.tooltip=new joe({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:_d},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]}}),Noe=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Poe(e,t,n,r){let i=e.indexOf(t);return i===-1?Noe(e,t,n,r):i===e.lastIndexOf(t)?i:n}var Foe=(e,t)=>e===null?null:ns(Math.round(e),0,t);function Ioe(e){let t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function Roe(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!ho(a),_=!ho(o),v=!ho(c),y=(h-m)/(u+1),b=Ko((h-m)/p/f)*f,x,S,ee,te;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];te=Math.ceil(h/b)-Math.floor(m/b),te>p&&(b=Ko(te*b/p/f)*f),ho(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,ee=Math.ceil(h/b)*b):(S=m,ee=h),g&&_&&i&&ore((o-a)/i,b/1e3)?(te=Math.round(Math.min((o-a)/b,l)),b=(o-a)/te,S=a,ee=o):v?(S=g?a:S,ee=_?o:ee,te=c-1,b=(ee-S)/te):(te=(ee-S)/b,te=Go(te,Math.round(te),b/1e3)?Math.round(te):Math.ceil(te));let ne=Math.max(Zo(b),Zo(S));x=10**(ho(s)?ne:s),S=Math.round(S*x)/x,ee=Math.round(ee*x)/x;let C=0;for(g&&(d&&S!==a?(n.push({value:a}),So)break;n.push({value:e})}return _&&d&&ee!==o?n.length&&Go(n[n.length-1].value,o,zoe(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||ee===o)&&n.push({value:ee}),n}function zoe(e,t,{horizontal:n,minRotation:r}){let i=Yo(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var yd=class extends Il{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return ho(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=Wo(r),t=Wo(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=Roe({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&Jo(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return ws(e,this.chart.options.locale,this.options.ticks.format)}},Boe=class extends yd{static id=`linear`;static defaults={ticks:{callback:Es.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=vo(e)?e:0,this.max=vo(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=Yo(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},bd=e=>Math.floor(Uo(e)),xd=(e,t)=>10**(bd(e)+t);function Voe(e){return e/10**bd(e)==1}function Hoe(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function Uoe(e,t){let n=bd(t-e);for(;Hoe(e,t,n)>10;)n++;for(;Hoe(e,t,n)<10;)n--;return Math.min(n,bd(e))}function Woe(e,{min:t,max:n}){t=yo(e.min,t);let r=[],i=bd(t),a=Uoe(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=yo(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=yo(e.max,f);return r.push({value:p,major:Voe(p),significand:d}),r}var Goe=class extends Il{static id=`logarithmic`;static defaults={ticks:{callback:Es.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=yd.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return vo(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=vo(e)?Math.max(0,e):null,this.max=vo(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!vo(this._userMin)&&(this.min=e===xd(this.min,0)?xd(this.min,-1):xd(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(xd(n,-1)),a(xd(r,1)))),n<=0&&i(xd(r,-1)),r<=0&&a(xd(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=Woe({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&Jo(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:ws(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=Uo(e),this._valueRange=Uo(this.max)-Uo(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Uo(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function Sd(e){let t=e.ticks;if(t.display&&e.display){let e=Gs(t.backdropPadding);return bo(t.font&&t.font.size,js.font.size)+e.height}return 0}function Koe(e,t,n){return n=go(n)?n:[n],{w:xre(e,t.string,n),h:n.length*t.lineHeight}}function qoe(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function Joe(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?Lo/a:0;for(let c=0;ct.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.startt.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function Cd(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(Xo(es(c.angle+Bo))),u=ese(c.y,s.h,l),d=Qoe(l),f=$oe(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function Xoe(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Ls({x:n,y:r},t)||Ls({x:n,y:a},t)||Ls({x:i,y:r},t)||Ls({x:i,y:a},t))}function Zoe(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:Sd(a)/2,additionalAngle:o?Lo/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function tse(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!ho(s)){let n=Ws(t.borderRadius),c=Gs(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),Vs(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function nse(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));tse(n,a,t);let o=Ks(a.font),{x:s,y:c,textAlign:l}=t;Bs(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function rse(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Ro);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=So(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?Joe(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=Ro/(this._pointLabels.length||1),n=this.options.startAngle||0;return es(e*t+Yo(n))}getDistanceFromCenterForValue(e){if(ho(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(ho(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e{if(t!==0||t===0&&this.min<0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);ise(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&this.min>=0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=Ks(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=Gs(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}Bs(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},wd={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Td=Object.keys(wd);function sse(e,t){return e-t}function cse(e,t){if(ho(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),vo(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(qo(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function lse(e,t,n,r){let i=Td.length;for(let a=Td.indexOf(e);a=Td.indexOf(n);a--){let n=Td[a];if(wd[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return Td[n?Td.indexOf(n):0]}function dse(e){for(let t=Td.indexOf(e)+1,n=Td.length;t=t?n[r]:n[i];e[a]=!0}}function pse(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function mse(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=ns(t,0,a),n=ns(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||lse(i.minUnit,t,n,this._getLabelCapacity(t)),o=bo(r.ticks.stepSize,1),s=a===`week`?i.isoWeekday:!1,c=qo(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return So(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=os(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=os(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}var hse=class extends Ed{static id=`timeseries`;static defaults=Ed.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Dd(t,this.min),this._tableRange=Dd(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;ae-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(Dd(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return Dd(this._table,n*this._tableRange+this._minPos,!0)}},gse=[Mie,Rae,Moe,Object.freeze({__proto__:null,CategoryScale:Loe,LinearScale:Boe,LogarithmicScale:Goe,RadialLinearScale:ose,TimeScale:Ed,TimeSeriesScale:hse})];vu.register(...gse);var _se=vu,vse={size:15,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},yse={size:10,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},bse={size:12,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Od={size:15,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`bold`,style:`normal`},kd={size:25,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,weight:`bold`,style:`normal`,lineHeight:3},Ad=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},jd=class extends St{constructor(){super(),this.currentTheme=`dark`,this._themeHandler=()=>{this.readColors(),this.currentTheme=Md()}}readColors(){let e=getComputedStyle(this);this.primary=e.getPropertyValue(`--primary-color`).trim(),this.secondary=e.getPropertyValue(`--secondary-color`).trim(),this.tertiary=e.getPropertyValue(`--tertiary-color`).trim(),this.background=e.getPropertyValue(`--background-color`).trim(),this.error=e.getPropertyValue(`--error-color`).trim(),this.ok=e.getPropertyValue(`--terminal-text`).trim(),this.warn=e.getPropertyValue(`--warn-color`).trim(),this.color1=e.getPropertyValue(`--chart-color1`).trim(),this.color2=e.getPropertyValue(`--chart-color2`).trim(),this.color3=e.getPropertyValue(`--chart-color3`).trim(),this.color4=e.getPropertyValue(`--chart-color4`).trim(),this.color5=e.getPropertyValue(`--chart-color5`).trim()}firstUpdated(){this.readColors(),this.currentTheme=Md(),this.font=vse,this.smallFont=yse,this.mediumFont=bse,this.titleFont=kd,this.fontBold=Od,window.addEventListener(qr,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(qr,this._themeHandler)}};Ad([Tt()],jd.prototype,`currentTheme`,void 0);function Md(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var Nd=[`#f83aff`,`rgba(98, 196, 255, 1)`,`rgba(248,58,255,0.47)`,`rgba(98, 196, 255, 0.8)`,`rgba(248,58,255,0.2)`,`rgba(98, 196, 255, 0.5)`],xse=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.4)`,`rgba(0, 0, 0, 0.25)`,`rgba(0, 0, 0, 0.15)`,`rgba(0, 0, 0, 0.08)`,`rgba(0, 0, 0, 0.5)`],Sse=[`#33ff33`,`rgba(102, 255, 102, 0.8)`,`rgba(51, 255, 51, 0.47)`,`rgba(102, 255, 102, 0.6)`,`rgba(51, 255, 51, 0.25)`,`rgba(102, 255, 102, 0.4)`],Cse=[`#f83aff`,`#00FF00`,`#787878`],wse=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],Tse=[`#33ff33`,`#66ff66`,`#1a991a`],Ese=[`#ff246b`,`rgba(98, 196, 255, 1)`],Pd=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],Dse=[`#66ff66`,`#1a991a`],Fd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Id=class extends jd{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=Nd,this.width=300,this.height=300,this.id=crypto.randomUUID(),this.firstRun=!0}dataChanged(){let e=JSON.stringify(this.datasets?.map(e=>e.data)),t=JSON.stringify(this.labels);return e!==this._prevDatasets||t!==this._prevLabels?(this._prevDatasets=e,this._prevLabels=t,!0):!1}refresh(){this.chart.update()}firstUpdated(){super.firstUpdated()}updated(e){if(!(!this.chart||e.has(`changesChart`)||e.has(`breakingChanges`)||e.has(`currentTheme`)||this.dataChanged()))return;this.chart&&this.chart.destroy();let t=this.currentTheme;this.changesChart?this.colors=t===`tektronix`?Tse:t===`light`?wse:Cse:this.breakingChanges?this.colors=t===`tektronix`?Dse:t===`light`?Pd:Ese:this.colors=t===`tektronix`?Sse:t===`light`?xse:Nd,this.datasets.forEach(e=>{e.backgroundColor=this.colors,e.borderColor=this.background});let n=!1;this.title&&(n=!0);let r=this.firstRun?1e3:250;this.chart=new _se(this.shadowRoot?.querySelector(`#chart-`+this.id),{type:`doughnut`,data:{labels:this.labels,datasets:this.datasets},options:{animation:{duration:r},responsive:!0,maintainAspectRatio:!1,layout:{autoPadding:!1,padding:{top:0,bottom:0}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:n,text:this.title,font:this.titleFont,color:this.primary,align:`center`},legend:{display:this.showLegend,position:`right`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,generateLabels:e=>{let t=e.data;if(t.labels&&t.datasets.length){let e=t.datasets[0].backgroundColor||[];return t.labels.map((t,n)=>({text:t,fillStyle:e[n]||this.secondary,strokeStyle:e[n]||this.secondary,fontColor:e[n]||this.secondary,hidden:!1,index:n}))}return[]}}}}}}),this.firstRun=!1}render(){return T` - `}};yd([Et()],bd.prototype,`title`,void 0),yd([Et()],bd.prototype,`datasets`,void 0),yd([Et()],bd.prototype,`labels`,void 0),yd([Et({type:Number})],bd.prototype,`width`,void 0),yd([Et({type:Number})],bd.prototype,`height`,void 0),yd([Et({type:Boolean})],bd.prototype,`changesChart`,void 0),yd([Et({type:Boolean})],bd.prototype,`showLegend`,void 0),yd([Et({type:Boolean})],bd.prototype,`breakingChanges`,void 0),bd=yd([wt(`pb33f-doughnut-chart`)],bd);var xd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Sd=class extends gd{constructor(){super(),this.title=`chart`,this.legend=!1,this.height=458,this.smallTitle=!1,this.stepSize=1,this.chartType=`line`}computeSuggestedMax(){if(!this.datasets||this.datasets.length===0)return;let e=0;for(let t of this.datasets)if(t.data)for(let n of t.data)n>e&&(e=n);return Math.ceil(e*1.1)}updateChart(){this.chart&&this.chart.data&&this.datasets&&this.datasets.length>0&&(this.chart.data.labels=this.labels,this.chart.data.datasets=this.datasets,this.chart.update())}buildChart(){let e=this.titleFont;this.smallTitle&&(e=this.fontBold),this.chart&&this.chart.destroy(),this.chart=new md(this.shadowRoot?.querySelector(`#chart`),{type:this.chartType,data:{labels:this.labels,datasets:this.datasets},options:{responsive:!0,maintainAspectRatio:!1,elements:{point:{borderColor:this.secondary,backgroundColor:this.secondary,pointStyle:`rect`,radius:4}},scales:{x:{ticks:{font:this.smallFont,color:this.secondary},border:{color:this.secondary}},y:{min:0,suggestedMax:this.computeSuggestedMax(),ticks:{stepSize:this.stepSize,font:this.font,color:this.secondary},border:{color:this.secondary}}},layout:{autoPadding:!1,padding:{top:20,bottom:20}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:!0,text:this.title,font:e,color:this.primary,align:`start`},legend:{display:this.legend,position:`bottom`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,pointStyle:`line`,boxHeight:1}}}}})}connectedCallback(){super.connectedCallback(),!this.chart&&this.hasUpdated&&this.updateComplete.then(()=>this.buildChart())}disconnectedCallback(){super.disconnectedCallback(),this.chart&&=(this.chart.destroy(),null)}resize(){this.chart?.resize()}firstUpdated(){super.firstUpdated(),this.buildChart()}updated(e){e.has(`currentTheme`)&&this.chart&&this.buildChart()}render(){return T` + `}};Fd([E()],Id.prototype,`title`,void 0),Fd([E()],Id.prototype,`datasets`,void 0),Fd([E()],Id.prototype,`labels`,void 0),Fd([E({type:Number})],Id.prototype,`width`,void 0),Fd([E({type:Number})],Id.prototype,`height`,void 0),Fd([E({type:Boolean})],Id.prototype,`changesChart`,void 0),Fd([E({type:Boolean})],Id.prototype,`showLegend`,void 0),Fd([E({type:Boolean})],Id.prototype,`breakingChanges`,void 0),Id=Fd([Ct(`pb33f-doughnut-chart`)],Id);var Ld=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Rd=class extends jd{constructor(){super(),this.title=`chart`,this.legend=!1,this.height=458,this.smallTitle=!1,this.stepSize=1,this.chartType=`line`}computeSuggestedMax(){if(!this.datasets||this.datasets.length===0)return;let e=0;for(let t of this.datasets)if(t.data)for(let n of t.data)n>e&&(e=n);return Math.ceil(e*1.1)}updateChart(){this.chart&&this.chart.data&&this.datasets&&this.datasets.length>0&&(this.chart.data.labels=this.labels,this.chart.data.datasets=this.datasets,this.chart.update())}buildChart(){let e=this.titleFont;this.smallTitle&&(e=this.fontBold),this.chart&&this.chart.destroy(),this.chart=new _se(this.shadowRoot?.querySelector(`#chart`),{type:this.chartType,data:{labels:this.labels,datasets:this.datasets},options:{responsive:!0,maintainAspectRatio:!1,elements:{point:{borderColor:this.secondary,backgroundColor:this.secondary,pointStyle:`rect`,radius:4}},scales:{x:{ticks:{font:this.smallFont,color:this.secondary},border:{color:this.secondary}},y:{min:0,suggestedMax:this.computeSuggestedMax(),ticks:{stepSize:this.stepSize,font:this.font,color:this.secondary},border:{color:this.secondary}}},layout:{autoPadding:!1,padding:{top:20,bottom:20}},plugins:{tooltip:{titleFont:this.fontBold,bodyFont:this.font,titleColor:this.primary,displayColors:!1,borderColor:this.tertiary,borderWidth:1,cornerRadius:0},title:{display:!0,text:this.title,font:e,color:this.primary,align:`start`},legend:{display:this.legend,position:`bottom`,maxHeight:40,labels:{color:this.secondary,font:this.mediumFont,pointStyle:`line`,boxHeight:1}}}}})}connectedCallback(){super.connectedCallback(),!this.chart&&this.hasUpdated&&this.updateComplete.then(()=>this.buildChart())}disconnectedCallback(){super.disconnectedCallback(),this.chart&&=(this.chart.destroy(),null)}resize(){this.chart?.resize()}firstUpdated(){super.firstUpdated(),this.buildChart()}updated(e){e.has(`currentTheme`)&&this.chart&&this.buildChart()}render(){return T`
- `}};Sd.styles=xe` + `}};Rd.styles=xe` :host { display: block; width: 100%; @@ -4830,7 +4883,7 @@ .chart-container { position: relative; width: 100%; - }`,xd([Et()],Sd.prototype,`title`,void 0),xd([Et()],Sd.prototype,`datasets`,void 0),xd([Et()],Sd.prototype,`labels`,void 0),xd([Et({type:Boolean})],Sd.prototype,`legend`,void 0),xd([Et({type:Boolean})],Sd.prototype,`smallTitle`,void 0),xd([Et({type:Number})],Sd.prototype,`height`,void 0),xd([Et({type:Number})],Sd.prototype,`width`,void 0),xd([Et({type:Number})],Sd.prototype,`stepSize`,void 0),xd([Et()],Sd.prototype,`chartType`,void 0),Sd=xd([wt(`pb33f-chart`)],Sd);var _se=xe` + }`,Ld([E()],Rd.prototype,`title`,void 0),Ld([E()],Rd.prototype,`datasets`,void 0),Ld([E()],Rd.prototype,`labels`,void 0),Ld([E({type:Boolean})],Rd.prototype,`legend`,void 0),Ld([E({type:Boolean})],Rd.prototype,`smallTitle`,void 0),Ld([E({type:Number})],Rd.prototype,`height`,void 0),Ld([E({type:Number})],Rd.prototype,`width`,void 0),Ld([E({type:Number})],Rd.prototype,`stepSize`,void 0),Ld([E()],Rd.prototype,`chartType`,void 0),Rd=Ld([Ct(`pb33f-chart`)],Rd);var zd=xe` .timeline-item { display: flex; padding-top: 5px; @@ -4972,7 +5025,7 @@ } -`,Cd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},wd=class extends Ct{constructor(){super(),this.large=!1,this.selected=!1,this.hideScore=!1}render(){T``;let e=T` +`,Bd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Vd=class extends St{constructor(){super(),this.large=!1,this.selected=!1,this.hideScore=!1}render(){T``;let e=T` `,t=!1;this.specSummary.breakingChanges&&this.specSummary.breakingChanges>0&&(e=T` ${this.specSummary.breakingChanges} `,t=!0);let n=T` @@ -5020,7 +5073,7 @@ ${a}
- ${this.hideScore?ct:T` + ${this.hideScore?ot:T`
${o} @@ -5028,7 +5081,7 @@ `}
- `}additionalWidth(e){return e?e>=1e5?this.large?`sext-large`:`sext`:e>=1e4?this.large?`quint-large`:`quint`:e>=1e3?this.large?`quad-large`:`quad`:e>=100?this.large?`triple-large`:`triple`:`no`+e:`gip`}};wd.styles=[_se,Bn],Cd([Et()],wd.prototype,`specSummary`,void 0),Cd([Et()],wd.prototype,`large`,void 0),Cd([Et()],wd.prototype,`selected`,void 0),Cd([Et({type:Boolean})],wd.prototype,`hideScore`,void 0),wd=Cd([wt(`pb33f-spec-summary-timeline-item`)],wd);var vse=xe` + `}additionalWidth(e){return e?e>=1e5?this.large?`sext-large`:`sext`:e>=1e4?this.large?`quint-large`:`quint`:e>=1e3?this.large?`quad-large`:`quad`:e>=100?this.large?`triple-large`:`triple`:`no`+e:`gip`}};Vd.styles=[zd,Bn],Bd([E()],Vd.prototype,`specSummary`,void 0),Bd([E()],Vd.prototype,`large`,void 0),Bd([E()],Vd.prototype,`selected`,void 0),Bd([E({type:Boolean})],Vd.prototype,`hideScore`,void 0),Vd=Bd([Ct(`pb33f-spec-summary-timeline-item`)],Vd);var Ose=xe` pb33f-timeline-item { width: 100%; @@ -5085,7 +5138,7 @@ } } -`,Td=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ed=class extends Ct{constructor(){super(),this.skinny=!1}render(){return T` +`,Hd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ud=class extends St{constructor(){super(),this.skinny=!1}render(){return T`
@@ -5093,7 +5146,7 @@
- `}};Ed.styles=vse,Td([Et({type:Boolean})],Ed.prototype,`skinny`,void 0),Ed=Td([wt(`pb33f-timeline`)],Ed);var yse=xe` + `}};Ud.styles=Ose,Hd([E({type:Boolean})],Ud.prototype,`skinny`,void 0),Ud=Hd([Ct(`pb33f-timeline`)],Ud);var Wd=xe` :host { display: flex; position: relative; @@ -5201,7 +5254,7 @@ } -`,Dd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Od=class extends Ct{constructor(){super(),this.skinny=!1}render(){return this.skinny?T` +`,Gd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Kd=class extends St{constructor(){super(),this.skinny=!1}render(){return this.skinny?T`
@@ -5223,7 +5276,7 @@
-
`}};Od.styles=yse,Dd([Et({type:Boolean})],Od.prototype,`skinny`,void 0),Od=Dd([wt(`pb33f-timeline-item`)],Od);var bse=xe` +
`}};Kd.styles=Wd,Gd([E({type:Boolean})],Kd.prototype,`skinny`,void 0),Kd=Gd([Ct(`pb33f-timeline-item`)],Kd);var qd=xe` a, a:visited, a:active { text-decoration: none; color: var(--primary-color); @@ -5346,7 +5399,7 @@ to { opacity: 0; } - }`,kd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ad=class extends Ct{constructor(){super(),this.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,this.fluid=!1}render(){return T` + }`,Jd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Yd=class extends St{constructor(){super(),this.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,this.fluid=!1}render(){return T`
`}};Ad.styles=bse,kd([Et()],Ad.prototype,`name`,void 0),kd([Et()],Ad.prototype,`url`,void 0),kd([Et({type:Boolean})],Ad.prototype,`wide`,void 0),kd([Et({type:Boolean})],Ad.prototype,`fluid`,void 0),Ad=kd([wt(`pb33f-header`)],Ad);var jd=xe` + `}};Yd.styles=qd,Jd([E()],Yd.prototype,`name`,void 0),Jd([E()],Yd.prototype,`url`,void 0),Jd([E({type:Boolean})],Yd.prototype,`wide`,void 0),Jd([E({type:Boolean})],Yd.prototype,`fluid`,void 0),Yd=Jd([Ct(`pb33f-header`)],Yd);var Xd=xe` footer { padding: var(--footer-padding); width: 100vw; @@ -5380,11 +5433,11 @@ font-weight: normal; color: var(--font-color-sub2); } -`,Md=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Nd=class extends Ct{constructor(){super(),this.url=`https://pb33f.io`,this.build=``,this.fluid=!1}render(){return T` +`,Zd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},kse=`https://pb33f.io`,Ase=`princess b33f heavy industries`,Qd=class extends St{constructor(){super(),this.url=kse,this.linkTitle=Ase,this.build=``,this.fluid=!1}render(){let e=this.linkTitle||`princess b33f heavy industries`;return T` `}};Nd.styles=[jd,_i],Md([Et()],Nd.prototype,`build`,void 0),Md([Et()],Nd.prototype,`url`,void 0),Md([Et({type:Boolean,reflect:!0})],Nd.prototype,`fluid`,void 0),Nd=Md([wt(`pb33f-footer`)],Nd);var xse=xe` + ${e} + ${this.build?T`${this.build}`:``} + `}};Qd.styles=[Xd,vi],Zd([E()],Qd.prototype,`build`,void 0),Zd([E()],Qd.prototype,`url`,void 0),Zd([E({attribute:`link-title`})],Qd.prototype,`linkTitle`,void 0),Zd([E({type:Boolean,reflect:!0})],Qd.prototype,`fluid`,void 0),Qd=Zd([Ct(`pb33f-footer`)],Qd);var jse=xe` :host { display: inline-flex; @@ -5402,7 +5455,7 @@ text-shadow: 0 0 8px rgba(51, 255, 51, 0.6); } -`,Pd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Sse=`tektronix`,Fd=`pb33f-theme`,Id=`pb33f-base-theme`,Ld=class extends Ct{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?Sse:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(Fd);e===`tektronix`?(this.tektronixActive=!0,this.baseTheme=localStorage.getItem(Id)===`light`?`light`:`dark`):(this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`),this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(Fd,e),localStorage.setItem(Id,this.baseTheme);let t=document.querySelector(`html`);t&&(t.setAttribute(`theme`,e),e===`light`?t.classList.remove(`sl-theme-dark`):t.classList.add(`sl-theme-dark`))}dispatchThemeChange(){window.dispatchEvent(new CustomEvent(Kr,{detail:{theme:this.activeTheme}}))}toggleTheme(){this.baseTheme=this.baseTheme===`dark`?`light`:`dark`,this.tektronixActive&&=!1,this.applyTheme(),this.dispatchThemeChange()}toggleTektronix(){this.tektronixActive=!this.tektronixActive,this.applyTheme(),this.dispatchThemeChange()}render(){let e=this.baseTheme===`dark`?`sun`:`moon`,t=this.baseTheme===`dark`?`Switch to Roger Mode (light)`:`Switch to PB33F Mode (dark)`,n=this.tektronixActive?`Disable Tektronix 4010 Mode`:`Enable Tektronix 4010 Mode`;return T` +`,$d=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Mse=`tektronix`,k=`pb33f-theme`,Nse=`pb33f-base-theme`,ef=class extends St{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?Mse:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(k);e===`tektronix`?(this.tektronixActive=!0,this.baseTheme=localStorage.getItem(Nse)===`light`?`light`:`dark`):(this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`),this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(k,e),localStorage.setItem(Nse,this.baseTheme);let t=document.querySelector(`html`);t&&(t.setAttribute(`theme`,e),e===`light`?t.classList.remove(`sl-theme-dark`):t.classList.add(`sl-theme-dark`))}dispatchThemeChange(){window.dispatchEvent(new CustomEvent(qr,{detail:{theme:this.activeTheme}}))}toggleTheme(){this.baseTheme=this.baseTheme===`dark`?`light`:`dark`,this.tektronixActive&&=!1,this.applyTheme(),this.dispatchThemeChange()}toggleTektronix(){this.tektronixActive=!this.tektronixActive,this.applyTheme(),this.dispatchThemeChange()}render(){let e=this.baseTheme===`dark`?`sun`:`moon`,t=this.baseTheme===`dark`?`Switch to Roger Mode (light)`:`Switch to PB33F Mode (dark)`,n=this.tektronixActive?`Disable Tektronix 4010 Mode`:`Enable Tektronix 4010 Mode`;return T` - `}};Ld.styles=[xse,Bn],Pd([Dt()],Ld.prototype,`baseTheme`,void 0),Pd([Dt()],Ld.prototype,`tektronixActive`,void 0),Ld=Pd([wt(`pb33f-theme-switcher`)],Ld);function Cse(e){switch(e.toLowerCase()){case`get`:return`success`;case`post`:return`primary`;case`put`:return`primary`;case`delete`:return`danger`;case`patch`:return`warning`;case`query`:return`primary`;default:return`neutral`}}var Rd=xe` + `}};ef.styles=[jse,Bn],$d([Tt()],ef.prototype,`baseTheme`,void 0),$d([Tt()],ef.prototype,`tektronixActive`,void 0),ef=$d([Ct(`pb33f-theme-switcher`)],ef);function Pse(e){switch(e.toLowerCase()){case`get`:return`success`;case`post`:return`primary`;case`put`:return`primary`;case`delete`:return`danger`;case`patch`:return`warning`;case`query`:return`primary`;default:return`neutral`}}var Fse=xe` :host { --http-get-color: var(--terminal-text); --http-get-border-color: var(--ok-color-lowalpha); @@ -5554,11 +5607,11 @@ --http-trace-color: #6b7280; --http-query-color: #2563eb; } -`,zd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},wse={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},Bd=class extends Ct{constructor(){super(),this.mode=``,this.lower=!1,this.method=`GET`}render(){if(this.mode===`nav-naked`){let e=this.method.toUpperCase(),t=wse[e]??e;return T`${t}`}let e=`medium`;this.large&&(e=`large`),this.tiny&&(e=`small`),this.micro&&(e=`small`);let t=this.method.toLowerCase(),n=this.micro?`method ${e} micro ${t}`:`method ${e} ${t}`;return T` - =0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},nf={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},rf=class extends St{constructor(){super(),this.mode=``,this.lower=!1,this.method=`GET`}render(){if(this.mode===`nav-naked`){let e=this.method.toUpperCase(),t=nf[e]??e;return T`${t}`}let e=`medium`;this.large&&(e=`large`),this.tiny&&(e=`small`),this.micro&&(e=`small`);let t=this.method.toLowerCase(),n=this.micro?`method ${e} micro ${t}`:`method ${e} ${t}`;return T` + ${this.lower?this.method.toLowerCase():this.method.toUpperCase()} - `}};Bd.styles=Rd,zd([Et()],Bd.prototype,`method`,void 0),zd([Et({type:Boolean})],Bd.prototype,`lower`,void 0),zd([Et({type:Boolean})],Bd.prototype,`large`,void 0),zd([Et({type:Boolean})],Bd.prototype,`tiny`,void 0),zd([Et({type:Boolean})],Bd.prototype,`micro`,void 0),zd([Et({reflect:!0})],Bd.prototype,`mode`,void 0),Bd=zd([wt(`pb33f-http-method`)],Bd);var Vd=xe` + `}};rf.styles=Fse,tf([E()],rf.prototype,`method`,void 0),tf([E({type:Boolean})],rf.prototype,`lower`,void 0),tf([E({type:Boolean})],rf.prototype,`large`,void 0),tf([E({type:Boolean})],rf.prototype,`tiny`,void 0),tf([E({type:Boolean})],rf.prototype,`micro`,void 0),tf([E({reflect:!0})],rf.prototype,`mode`,void 0),rf=tf([Ct(`pb33f-http-method`)],rf);var af=xe` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5597,7 +5650,7 @@ .nowrap { display: inline-block; } -`,Hd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ud=class extends Ct{constructor(){super(),this.path=`/`,this.nowrap=!1}replaceBrackets(){let e=/\{([\w$.#/]+)\}/g,t=this.nowrap?` nowrap`:``,n=this.formatSlashes(this.path).replace(e,(e,n)=>`{${n}}`);return this.nowrap?T`
${It(n)}
`:T`${It(n)}`}formatSlashes(e){return e.replaceAll(`/`,`/`)}render(){return T`${this.replaceBrackets()}`}};Ud.styles=Vd,Hd([Et()],Ud.prototype,`path`,void 0),Hd([Et({type:Boolean})],Ud.prototype,`nowrap`,void 0),Ud=Hd([wt(`pb33f-render-operation-path`)],Ud);var Wd=xe` +`,of=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},sf=class extends St{constructor(){super(),this.path=`/`,this.nowrap=!1}replaceBrackets(){let e=/\{([\w$.#/]+)\}/g,t=this.nowrap?` nowrap`:``,n=this.formatSlashes(this.path).replace(e,(e,n)=>`{${n}}`);return this.nowrap?T`
${Pt(n)}
`:T`${Pt(n)}`}formatSlashes(e){return e.replaceAll(`/`,`/`)}render(){return T`${this.replaceBrackets()}`}};sf.styles=af,of([E()],sf.prototype,`path`,void 0),of([E({type:Boolean})],sf.prototype,`nowrap`,void 0),sf=of([Ct(`pb33f-render-operation-path`)],sf);var Ise=xe` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5689,7 +5742,7 @@ -`,Gd=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Tse=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,Kd=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,qd=class extends Ct{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=Tse.exec(e))!==null;)t.forEach((e,t)=>{e!==void 0&&(t===1||t===4)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&(t===2||t===5)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&t===3&&(n=n.replaceAll(e,``+e+``))});return n}breakPath(){if(!this.path)return T`{no path}`;let e=this.path.split(`.`);e.length>0&&e[0]==`$`&&(e=e.slice(1,e.length));let t=e.join(`.`),n=t,r=new Map,i;for(;(i=Kd.exec(n))!==null;){let e=Jd(Kd.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(Kd.lastIndex)}t=t.replaceAll(`.`,`.`),r.forEach((e,n)=>{let r=[];e[1]!==void 0&&r.push(``+e[1]+``),e[2]!==void 0&&r.push(e[2]),e[3]!==void 0&&r.push(``+this.replaceBrackets(e[3])+``),e[4]!==void 0&&r.push(e[4]),e[5]!==void 0&&r.push(``+e[5]+``);let i=r.join(``);t=t.replaceAll(n,i)});let a=t;return a=a.replaceAll(`$`,`$`),a===``&&(a=`{no path available}`),T`${It(a.toString())}`}render(){return T`${this.breakPath()}`}};qd.styles=Wd,Gd([Et()],qd.prototype,`path`,void 0),Gd([Et({type:Boolean})],qd.prototype,`selected`,void 0),qd=Gd([wt(`pb33f-render-json-path`)],qd);function Jd(e,t){let n=``;for(let r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n}function Yd(e,t,n,r,i){if(e&&e.nodes){for(let a of e.nodes)if(!t.has(a)){let e=r.get(a);if(!e)continue;t.set(a,e);let o=i.get(a);if(o)for(let e of o)n.has(e.id)||n.set(e.id,e);Yd(e,t,n,r,i)}}}function Xd(e,t){if(typeof e==`function`){e(t);return}e.handleEvent(t)}var Zd=class{constructor(){this.onmessage=null,this.onerror=null,this.messageListeners=new Set,this.errorListeners=new Set,this.terminated=!1}postMessage(e){queueMicrotask(()=>this.handleRequest(e))}addEventListener(e,t){t&&(e===`message`&&this.messageListeners.add(t),e===`error`&&this.errorListeners.add(t))}removeEventListener(e,t){t&&(e===`message`&&this.messageListeners.delete(t),e===`error`&&this.errorListeners.delete(t))}terminate(){this.terminated=!0,this.messageListeners.clear(),this.errorListeners.clear(),this.onmessage=null,this.onerror=null}handleRequest(e){if(!this.terminated&&e.dependentNode)try{let t=e.dependentNode,n=e.nodes??[],r=e.edges??[],i=new Map,a=new Map,o=new Map,s=new Map;n.forEach(e=>s.set(e.id,e)),r.forEach(e=>{e.targets.forEach(t=>{o.has(t)||o.set(t,[]),o.get(t).push(e)})}),Yd(t,i,a,s,o);let c=new MessageEvent(`message`,{data:{filteredNodes:i,filteredEdges:a,collapse:e.collapse}});this.onmessage?.(c);for(let e of this.messageListeners)Xd(e,c)}catch(e){let t=e instanceof Error?e.message:`Unknown error`,n=new ErrorEvent(`error`,{message:t});this.onerror?.(n);for(let e of this.errorListeners)Xd(e,n)}}};function Qd(){return new Zd}var $d=xe` +`,cf=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},lf=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,uf=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,df=class extends St{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=lf.exec(e))!==null;)t.forEach((e,t)=>{e!==void 0&&(t===1||t===4)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&(t===2||t===5)&&(n=n.replaceAll(e,``+e+``)),e!==void 0&&t===3&&(n=n.replaceAll(e,``+e+``))});return n}breakPath(){if(!this.path)return T`{no path}`;let e=this.path.split(`.`);e.length>0&&e[0]==`$`&&(e=e.slice(1,e.length));let t=e.join(`.`),n=t,r=new Map,i;for(;(i=uf.exec(n))!==null;){let e=Lse(uf.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(uf.lastIndex)}t=t.replaceAll(`.`,`.`),r.forEach((e,n)=>{let r=[];e[1]!==void 0&&r.push(``+e[1]+``),e[2]!==void 0&&r.push(e[2]),e[3]!==void 0&&r.push(``+this.replaceBrackets(e[3])+``),e[4]!==void 0&&r.push(e[4]),e[5]!==void 0&&r.push(``+e[5]+``);let i=r.join(``);t=t.replaceAll(n,i)});let a=t;return a=a.replaceAll(`$`,`$`),a===``&&(a=`{no path available}`),T`${Pt(a.toString())}`}render(){return T`${this.breakPath()}`}};df.styles=Ise,cf([E()],df.prototype,`path`,void 0),cf([E({type:Boolean})],df.prototype,`selected`,void 0),df=cf([Ct(`pb33f-render-json-path`)],df);function Lse(e,t){let n=``;for(let r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n}function ff(e,t,n,r,i){if(e&&e.nodes){for(let a of e.nodes)if(!t.has(a)){let e=r.get(a);if(!e)continue;t.set(a,e);let o=i.get(a);if(o)for(let e of o)n.has(e.id)||n.set(e.id,e);ff(e,t,n,r,i)}}}function pf(e,t){if(typeof e==`function`){e(t);return}e.handleEvent(t)}var mf=class{constructor(){this.onmessage=null,this.onerror=null,this.messageListeners=new Set,this.errorListeners=new Set,this.terminated=!1}postMessage(e){queueMicrotask(()=>this.handleRequest(e))}addEventListener(e,t){t&&(e===`message`&&this.messageListeners.add(t),e===`error`&&this.errorListeners.add(t))}removeEventListener(e,t){t&&(e===`message`&&this.messageListeners.delete(t),e===`error`&&this.errorListeners.delete(t))}terminate(){this.terminated=!0,this.messageListeners.clear(),this.errorListeners.clear(),this.onmessage=null,this.onerror=null}handleRequest(e){if(!this.terminated&&e.dependentNode)try{let t=e.dependentNode,n=e.nodes??[],r=e.edges??[],i=new Map,a=new Map,o=new Map,s=new Map;n.forEach(e=>s.set(e.id,e)),r.forEach(e=>{e.targets.forEach(t=>{o.has(t)||o.set(t,[]),o.get(t).push(e)})}),ff(t,i,a,s,o);let c=new MessageEvent(`message`,{data:{filteredNodes:i,filteredEdges:a,collapse:e.collapse}});this.onmessage?.(c);for(let e of this.messageListeners)pf(e,c)}catch(e){let t=e instanceof Error?e.message:`Unknown error`,n=new ErrorEvent(`error`,{message:t});this.onerror?.(n);for(let e of this.errorListeners)pf(e,n)}}};function hf(){return new mf}var gf=xe` .change-card { border-bottom: 1px dashed var(--secondary-color-dimmer); background: var(--background-color); @@ -5880,7 +5933,7 @@ .line-content .gi { color: var(--terminal-text); font-family: var(--font-stack-bold), monospace; } .line-content .ge { text-decoration: underline; } .line-content .gh, .line-content .gu { font-family: var(--font-stack-bold), monospace; } -`,ef=[$d,sa,xe` +`,_f=[gf,ba,xe` :host { display: block; overflow: hidden; @@ -6049,11 +6102,11 @@ background: var(--secondary-color); color: var(--background-color); } -`],tf=10,Ese=500,nf=1,rf=2,af=3,of=4,sf=5;function O(e,t,n,r,i,a=tf){let o=Dse(t),s=Dse(n);return(e||[]).map((e,t)=>{let n=uf(e),c=jse(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${Nse(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function Dse(e){if(!e)return[];let t=e.split(` -`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Ose(e){return{start:e,end:e}}function kse(e,t){if(t<=0||e.length===0||t>e.length)return{start:t,end:t};let n=t-1,r=Cf(e[n]),i=n;for(let t=n-1;t>=0;t--){let n=e[t];if(!wf(n)&&Cf(n)e.length)return{start:t,end:t};let n=t-1,r=cf(e,n,n,Cf(e[n]));return{start:t,end:Math.max(t,r+1)}}function cf(e,t,n,r){let i=t;for(let a=t+1;ar){i=a;continue}break}for(;i>n&&wf(e[i]);)i--;if(i+10;){if(yf(e,n,r))return Ase(e,n);let t=bf(e,n,r);if(t>0)return Ase(e,t);let i=xf(e,n);if(i<=0||i===n)break;n=i}}return kse(e,t)}function uf(e){let t=mf(e),n=hf(e);switch(e.change){case rf:case af:return df(`Added Value`,`added`,n);case of:case sf:return df(`Removed Value`,`removed`,t);case nf:{let e=[];return t&&e.push({title:`Original Value`,tone:`removed`,lines:ff(t)}),n&&e.push({title:`Modified Value`,tone:`added`,lines:ff(n)}),e}default:return[]}}function df(e,t,n){return n?[{title:e,tone:t,lines:ff(n)}]:[]}function ff(e){let t=e.split(` -`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function jse(e,t,n,r,i,a=tf){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=Mse(e);switch(e.change){case rf:case af:c>0&&o.push(pf(`Modified Context`,`added`,n,i,lf(n,c,e),a));break;case of:case sf:s>0&&o.push(pf(`Original Context`,`removed`,t,r,lf(t,s,e),a));break;case nf:s>0&&o.push(pf(`Original Context`,`removed`,t,r,l?lf(t,s,e):Ose(s),a)),c>0&&o.push(pf(`Modified Context`,`added`,n,i,l?lf(n,c,e):Ose(c),a));break;default:break}return o}function pf(e,t,n,r,i,a=tf){let o=Math.max(1,i.start-a),s=Math.min(n.length,i.end+a),c=[];for(let e=o;e<=s;e++)c.push({lineNum:e,content:n[e-1]||``,highlightedContent:r[e],emphasis:e===i.start?`primary`:e>i.start&&e<=i.end?`range`:`normal`});return{title:e,tone:t,lines:c}}function mf(e){return e.originalEncoded?e.originalEncoded:gf(e.original)}function hf(e){return e.newEncoded?e.newEncoded:gf(e.new)}function gf(e){if(e==null)return``;if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`)return String(e);try{return JSON.stringify(e,null,2)}catch{return String(e)}}function Mse(e){return mf(e).includes(` -`)||hf(e).includes(` -`)}function Nse(e){switch(e){case rf:case af:return`Added`;case of:case sf:return`Removed`;case nf:default:return`Modified`}}function _f(e){return e>=nf&&e<=sf}function Pse(e){let t=new Set,n=[],r=e=>{let r=vf(e);!r||t.has(r)||(t.add(r),n.push(r))};return r(e.property||``),r(mf(e)),r(hf(e)),n}function vf(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function yf(e,t,n){if(t<=0||t>e.length||n.length===0)return!1;let r=Sf(e[t-1]);return r?n.includes(r):!1}function bf(e,t,n){if(t<=0||t>e.length||n.length===0)return 0;let r=t-1,i=Cf(e[r]),a=-1;for(let t=r+1;te.length)return 0;let n=t-1,r=Cf(e[n]);for(let t=n-1;t>=0;t--)if(!wf(e[t])&&Cf(e[t])0?e.slice(0,n):e)}let n=t.indexOf(`:`);return n>0?vf(t.slice(0,n)):t[0]===`{`||t[0]===`}`||t[0]===`[`||t[0]===`]`?null:vf(t)}function Cf(e){for(let t=0;t{let n=Af(e),c=Vse(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${If(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function Tf(e){if(!e)return[];let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Ef(e){return{start:e,end:e}}function zse(e,t){if(t<=0||e.length===0||t>e.length)return{start:t,end:t};let n=t-1,r=Uf(e[n]),i=n;for(let t=n-1;t>=0;t--){let n=e[t];if(!Wf(n)&&Uf(n)e.length)return{start:t,end:t};let n=t-1,r=Of(e,n,n,Uf(e[n]));return{start:t,end:Math.max(t,r+1)}}function Of(e,t,n,r){let i=t;for(let a=t+1;ar){i=a;continue}break}for(;i>n&&Wf(e[i]);)i--;if(i+10;){if(zf(e,n,r))return Df(e,n);let t=Bf(e,n,r);if(t>0)return Df(e,t);let i=Vf(e,n);if(i<=0||i===n)break;n=i}}return zse(e,t)}function Af(e){let t=Nf(e),n=Pf(e);switch(e.change){case bf:case xf:return Bse(`Added Value`,`added`,n);case Sf:case Cf:return Bse(`Removed Value`,`removed`,t);case yf:{let e=[];return t&&e.push({title:`Original Value`,tone:`removed`,lines:jf(t)}),n&&e.push({title:`Modified Value`,tone:`added`,lines:jf(n)}),e}default:return[]}}function Bse(e,t,n){return n?[{title:e,tone:t,lines:jf(n)}]:[]}function jf(e){let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Vse(e,t,n,r,i,a=vf){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=Ff(e);switch(e.change){case bf:case xf:c>0&&o.push(Mf(`Modified Context`,`added`,n,i,kf(n,c,e),a));break;case Sf:case Cf:s>0&&o.push(Mf(`Original Context`,`removed`,t,r,kf(t,s,e),a));break;case yf:s>0&&o.push(Mf(`Original Context`,`removed`,t,r,l?kf(t,s,e):Ef(s),a)),c>0&&o.push(Mf(`Modified Context`,`added`,n,i,l?kf(n,c,e):Ef(c),a));break;default:break}return o}function Mf(e,t,n,r,i,a=vf){let o=Math.max(1,i.start-a),s=Math.min(n.length,i.end+a),c=[];for(let e=o;e<=s;e++)c.push({lineNum:e,content:n[e-1]||``,highlightedContent:r[e],emphasis:e===i.start?`primary`:e>i.start&&e<=i.end?`range`:`normal`});return{title:e,tone:t,lines:c}}function Nf(e){return e.originalEncoded?e.originalEncoded:Hse(e.original)}function Pf(e){return e.newEncoded?e.newEncoded:Hse(e.new)}function Hse(e){if(e==null)return``;if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`)return String(e);try{return JSON.stringify(e,null,2)}catch{return String(e)}}function Ff(e){return Nf(e).includes(` +`)||Pf(e).includes(` +`)}function If(e){switch(e){case bf:case xf:return`Added`;case Sf:case Cf:return`Removed`;case yf:default:return`Modified`}}function Use(e){return e>=yf&&e<=Cf}function Lf(e){let t=new Set,n=[],r=e=>{let r=Rf(e);!r||t.has(r)||(t.add(r),n.push(r))};return r(e.property||``),r(Nf(e)),r(Pf(e)),n}function Rf(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function zf(e,t,n){if(t<=0||t>e.length||n.length===0)return!1;let r=Hf(e[t-1]);return r?n.includes(r):!1}function Bf(e,t,n){if(t<=0||t>e.length||n.length===0)return 0;let r=t-1,i=Uf(e[r]),a=-1;for(let t=r+1;te.length)return 0;let n=t-1,r=Uf(e[n]);for(let t=n-1;t>=0;t--)if(!Wf(e[t])&&Uf(e[t])0?e.slice(0,n):e)}let n=t.indexOf(`:`);return n>0?Rf(t.slice(0,n)):t[0]===`{`||t[0]===`}`||t[0]===`[`||t[0]===`]`?null:Rf(t)}function Uf(e){for(let t=0;tnull,kf=class extends vn{constructor(){super(...arguments),this.isCollapsed=!1,this.localize=new mn(this),this.positionBeforeCollapsing=0,this.position=50,this.vertical=!1,this.disabled=!1,this.snapValue=``,this.snapFunction=Of,this.snapThreshold=12}toSnapFunction(e){let t=e.split(` `);return({pos:n,size:r,snapThreshold:i,isRtl:a,vertical:o})=>{let s=n,c=1/0;return t.forEach(t=>{let l;if(t.startsWith(`repeat(`)){let t=e.substring(7,e.length-1),i=t.endsWith(`%`),s=Number.parseFloat(t),c=i?s/100*r:s;l=Math.round((a&&!o?r-n:n)/c)*c}else l=t.endsWith(`%`)?Number.parseFloat(t)/100*r:Number.parseFloat(t);a&&!o&&(l=r-l);let u=Math.abs(n-l);u<=i&&uthis.handleResize(e)),this.updateComplete.then(()=>this.resizeObserver.observe(this)),this.detectSize(),this.cachedPositionInPixels=this.percentageToPixels(this.position)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.resizeObserver)==null||e.unobserve(this)}detectSize(){let{width:e,height:t}=this.getBoundingClientRect();this.size=this.vertical?t:e}percentageToPixels(e){return this.size*(e/100)}pixelsToPercentage(e){return e/this.size*100}handleDrag(e){let t=this.localize.dir()===`rtl`;this.disabled||(e.cancelable&&e.preventDefault(),Df(this,{onMove:(e,n)=>{let r=this.vertical?n:e;this.primary===`end`&&(r=this.size-r),r=this.snapFunction({pos:r,size:this.size,snapThreshold:this.snapThreshold,isRtl:t,vertical:this.vertical})??r,this.position=Ca(this.pixelsToPercentage(r),0,100)},initialEvent:e}))}handleKeyDown(e){if(!this.disabled&&[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`,`Enter`].includes(e.key)){let t=this.position,n=(e.shiftKey?10:1)*(this.primary===`end`?-1:1);if(e.preventDefault(),(e.key===`ArrowLeft`&&!this.vertical||e.key===`ArrowUp`&&this.vertical)&&(t-=n),(e.key===`ArrowRight`&&!this.vertical||e.key===`ArrowDown`&&this.vertical)&&(t+=n),e.key===`Home`&&(t=this.primary===`end`?100:0),e.key===`End`&&(t=this.primary===`end`?0:100),e.key===`Enter`)if(this.isCollapsed)t=this.positionBeforeCollapsing,this.isCollapsed=!1;else{let e=this.position;t=0,requestAnimationFrame(()=>{this.isCollapsed=!0,this.positionBeforeCollapsing=e})}this.position=Ca(t,0,100)}}handleResize(e){let{width:t,height:n}=e[0].contentRect;this.size=this.vertical?n:t,(isNaN(this.cachedPositionInPixels)||this.position===1/0)&&(this.cachedPositionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.positionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.position=this.pixelsToPercentage(this.positionInPixels)),this.primary&&(this.position=this.pixelsToPercentage(this.cachedPositionInPixels))}handlePositionChange(){this.cachedPositionInPixels=this.percentageToPixels(this.position),this.isCollapsed=!1,this.positionBeforeCollapsing=0,this.positionInPixels=this.percentageToPixels(this.position),this.emit(`sl-reposition`)}handlePositionInPixelsChange(){this.position=this.pixelsToPercentage(this.positionInPixels)}handleVerticalChange(){this.detectSize()}render(){let e=this.vertical?`gridTemplateRows`:`gridTemplateColumns`,t=this.vertical?`gridTemplateColumns`:`gridTemplateRows`,n=this.localize.dir()===`rtl`,r=` +`;function Kse(e,t){function n(n){let r=e.getBoundingClientRect(),i=e.ownerDocument.defaultView,a=r.left+i.scrollX,o=r.top+i.scrollY,s=n.pageX-a,c=n.pageY-o;t?.onMove&&t.onMove(s,c)}function r(){document.removeEventListener(`pointermove`,n),document.removeEventListener(`pointerup`,r),t?.onStop&&t.onStop()}document.addEventListener(`pointermove`,n,{passive:!0}),document.addEventListener(`pointerup`,r),t?.initialEvent instanceof PointerEvent&&n(t.initialEvent)}var Kf=()=>null,qf=class extends vn{constructor(){super(...arguments),this.isCollapsed=!1,this.localize=new mn(this),this.positionBeforeCollapsing=0,this.position=50,this.vertical=!1,this.disabled=!1,this.snapValue=``,this.snapFunction=Kf,this.snapThreshold=12}toSnapFunction(e){let t=e.split(` `);return({pos:n,size:r,snapThreshold:i,isRtl:a,vertical:o})=>{let s=n,c=1/0;return t.forEach(t=>{let l;if(t.startsWith(`repeat(`)){let t=e.substring(7,e.length-1),i=t.endsWith(`%`),s=Number.parseFloat(t),c=i?s/100*r:s;l=Math.round((a&&!o?r-n:n)/c)*c}else l=t.endsWith(`%`)?Number.parseFloat(t)/100*r:Number.parseFloat(t);a&&!o&&(l=r-l);let u=Math.abs(n-l);u<=i&&uthis.handleResize(e)),this.updateComplete.then(()=>this.resizeObserver.observe(this)),this.detectSize(),this.cachedPositionInPixels=this.percentageToPixels(this.position)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.resizeObserver)==null||e.unobserve(this)}detectSize(){let{width:e,height:t}=this.getBoundingClientRect();this.size=this.vertical?t:e}percentageToPixels(e){return this.size*(e/100)}pixelsToPercentage(e){return e/this.size*100}handleDrag(e){let t=this.localize.dir()===`rtl`;this.disabled||(e.cancelable&&e.preventDefault(),Kse(this,{onMove:(e,n)=>{let r=this.vertical?n:e;this.primary===`end`&&(r=this.size-r),r=this.snapFunction({pos:r,size:this.size,snapThreshold:this.snapThreshold,isRtl:t,vertical:this.vertical})??r,this.position=Na(this.pixelsToPercentage(r),0,100)},initialEvent:e}))}handleKeyDown(e){if(!this.disabled&&[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`,`Enter`].includes(e.key)){let t=this.position,n=(e.shiftKey?10:1)*(this.primary===`end`?-1:1);if(e.preventDefault(),(e.key===`ArrowLeft`&&!this.vertical||e.key===`ArrowUp`&&this.vertical)&&(t-=n),(e.key===`ArrowRight`&&!this.vertical||e.key===`ArrowDown`&&this.vertical)&&(t+=n),e.key===`Home`&&(t=this.primary===`end`?100:0),e.key===`End`&&(t=this.primary===`end`?0:100),e.key===`Enter`)if(this.isCollapsed)t=this.positionBeforeCollapsing,this.isCollapsed=!1;else{let e=this.position;t=0,requestAnimationFrame(()=>{this.isCollapsed=!0,this.positionBeforeCollapsing=e})}this.position=Na(t,0,100)}}handleResize(e){let{width:t,height:n}=e[0].contentRect;this.size=this.vertical?n:t,(isNaN(this.cachedPositionInPixels)||this.position===1/0)&&(this.cachedPositionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.positionInPixels=Number(this.getAttribute(`position-in-pixels`)),this.position=this.pixelsToPercentage(this.positionInPixels)),this.primary&&(this.position=this.pixelsToPercentage(this.cachedPositionInPixels))}handlePositionChange(){this.cachedPositionInPixels=this.percentageToPixels(this.position),this.isCollapsed=!1,this.positionBeforeCollapsing=0,this.positionInPixels=this.percentageToPixels(this.position),this.emit(`sl-reposition`)}handlePositionInPixelsChange(){this.position=this.pixelsToPercentage(this.positionInPixels)}handleVerticalChange(){this.detectSize()}render(){let e=this.vertical?`gridTemplateRows`:`gridTemplateColumns`,t=this.vertical?`gridTemplateColumns`:`gridTemplateRows`,n=this.localize.dir()===`rtl`,r=` clamp( 0%, clamp( @@ -6158,7 +6211,7 @@
- `}};kf.styles=[gn,Ef],w([At(`.divider`)],kf.prototype,`divider`,2),w([Et({type:Number,reflect:!0})],kf.prototype,`position`,2),w([Et({attribute:`position-in-pixels`,type:Number})],kf.prototype,`positionInPixels`,2),w([Et({type:Boolean,reflect:!0})],kf.prototype,`vertical`,2),w([Et({type:Boolean,reflect:!0})],kf.prototype,`disabled`,2),w([Et()],kf.prototype,`primary`,2),w([Et({reflect:!0})],kf.prototype,`snap`,1),w([Et({type:Number,attribute:`snap-threshold`})],kf.prototype,`snapThreshold`,2),w([hn(`position`)],kf.prototype,`handlePositionChange`,1),w([hn(`positionInPixels`)],kf.prototype,`handlePositionInPixelsChange`,1),w([hn(`vertical`)],kf.prototype,`handleVerticalChange`,1),kf.define(`sl-split-panel`);var Af=xe` + `}};qf.styles=[gn,Gse],w([Ot(`.divider`)],qf.prototype,`divider`,2),w([E({type:Number,reflect:!0})],qf.prototype,`position`,2),w([E({attribute:`position-in-pixels`,type:Number})],qf.prototype,`positionInPixels`,2),w([E({type:Boolean,reflect:!0})],qf.prototype,`vertical`,2),w([E({type:Boolean,reflect:!0})],qf.prototype,`disabled`,2),w([E()],qf.prototype,`primary`,2),w([E({reflect:!0})],qf.prototype,`snap`,1),w([E({type:Number,attribute:`snap-threshold`})],qf.prototype,`snapThreshold`,2),w([hn(`position`)],qf.prototype,`handlePositionChange`,1),w([hn(`positionInPixels`)],qf.prototype,`handlePositionInPixelsChange`,1),w([hn(`vertical`)],qf.prototype,`handleVerticalChange`,1),qf.define(`sl-split-panel`);var qse=xe` :host { display: block; } @@ -6190,7 +6243,7 @@ white-space: nowrap; border: 0; } -`,Fse=xe` +`,Jse=xe` :host { display: inline-block; } @@ -6199,7 +6252,7 @@ display: flex; flex-wrap: nowrap; } -`,jf=class extends vn{constructor(){super(...arguments),this.disableRole=!1,this.label=``}handleFocus(e){Mf(e.target)?.toggleAttribute(`data-sl-button-group__button--focus`,!0)}handleBlur(e){Mf(e.target)?.toggleAttribute(`data-sl-button-group__button--focus`,!1)}handleMouseOver(e){Mf(e.target)?.toggleAttribute(`data-sl-button-group__button--hover`,!0)}handleMouseOut(e){Mf(e.target)?.toggleAttribute(`data-sl-button-group__button--hover`,!1)}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),r=Mf(t);r&&(r.toggleAttribute(`data-sl-button-group__button`,!0),r.toggleAttribute(`data-sl-button-group__button--first`,n===0),r.toggleAttribute(`data-sl-button-group__button--inner`,n>0&&n{let n=e.indexOf(t),r=Yf(t);r&&(r.toggleAttribute(`data-sl-button-group__button`,!0),r.toggleAttribute(`data-sl-button-group__button--first`,n===0),r.toggleAttribute(`data-sl-button-group__button--inner`,n>0&&n
- `}};jf.styles=[gn,Fse],w([At(`slot`)],jf.prototype,`defaultSlot`,2),w([Dt()],jf.prototype,`disableRole`,2),w([Et()],jf.prototype,`label`,2);function Mf(e){let t=`sl-button, sl-radio-button`;return e.closest(t)??e.querySelector(t)}var Nf=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this),this.hasSlotController=new rn(this,`help-text`,`label`),this.customValidityMessage=``,this.hasButtonGroup=!1,this.errorMessage=``,this.defaultValue=``,this.label=``,this.helpText=``,this.name=`option`,this.value=``,this.size=`medium`,this.form=``,this.required=!1}get validity(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?hee:nn:gee}get validationMessage(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?this.validationInput.validationMessage:``:this.customValidityMessage}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll(`sl-radio, sl-radio-button`)]}handleRadioClick(e){let t=e.target.closest(`sl-radio, sl-radio-button`),n=this.getAllRadios(),r=this.value;!t||t.disabled||(this.value=t.value,n.forEach(e=>e.checked=e===t),this.value!==r&&(this.emit(`sl-change`),this.emit(`sl-input`)))}handleKeyDown(e){if(![`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,` `].includes(e.key))return;let t=this.getAllRadios().filter(e=>!e.disabled),n=t.find(e=>e.checked)??t[0],r=e.key===` `?0:[`ArrowUp`,`ArrowLeft`].includes(e.key)?-1:1,i=this.value,a=t.indexOf(n)+r;a<0&&(a=t.length-1),a>t.length-1&&(a=0),this.getAllRadios().forEach(e=>{e.checked=!1,this.hasButtonGroup||e.setAttribute(`tabindex`,`-1`)}),this.value=t[a].value,t[a].checked=!0,this.hasButtonGroup?t[a].shadowRoot.querySelector(`button`).focus():(t[a].setAttribute(`tabindex`,`0`),t[a].focus()),this.value!==i&&(this.emit(`sl-change`),this.emit(`sl-input`)),e.preventDefault()}handleLabelClick(){this.focus()}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}async syncRadioElements(){let e=this.getAllRadios();if(await Promise.all(e.map(async e=>{await e.updateComplete,e.checked=e.value===this.value,e.size=this.size})),this.hasButtonGroup=e.some(e=>e.tagName.toLowerCase()===`sl-radio-button`),e.length>0&&!e.some(e=>e.checked))if(this.hasButtonGroup){let t=e[0].shadowRoot?.querySelector(`button`);t&&t.setAttribute(`tabindex`,`0`)}else e[0].setAttribute(`tabindex`,`0`);if(this.hasButtonGroup){let e=this.shadowRoot?.querySelector(`sl-button-group`);e&&(e.disableRole=!0)}}syncRadios(){if(customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)){this.syncRadioElements();return}customElements.get(`sl-radio`)?this.syncRadioElements():customElements.whenDefined(`sl-radio`).then(()=>this.syncRadios()),customElements.get(`sl-radio-button`)?this.syncRadioElements():customElements.whenDefined(`sl-radio-button`).then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){let e=this.required&&!this.value,t=this.customValidityMessage!==``;return e||t?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let e=this.validity.valid;return this.errorMessage=this.customValidityMessage||e?``:this.validationInput.validationMessage,this.formControlController.setValidity(e),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),e||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),e}setCustomValidity(e=``){this.customValidityMessage=e,this.errorMessage=e,this.validationInput.setCustomValidity(e),this.formControlController.updateValidity()}focus(e){let t=this.getAllRadios(),n=t.find(e=>e.checked),r=t.find(e=>!e.disabled),i=n||r;i&&i.focus(e)}render(){let e=this.hasSlotController.test(`label`),t=this.hasSlotController.test(`help-text`),n=this.label?!0:!!e,r=this.helpText?!0:!!t,i=T` + `}};Jf.styles=[gn,Jse],w([Ot(`slot`)],Jf.prototype,`defaultSlot`,2),w([Tt()],Jf.prototype,`disableRole`,2),w([E()],Jf.prototype,`label`,2);function Yf(e){let t=`sl-button, sl-radio-button`;return e.closest(t)??e.querySelector(t)}var Xf=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this),this.hasSlotController=new rn(this,`help-text`,`label`),this.customValidityMessage=``,this.hasButtonGroup=!1,this.errorMessage=``,this.defaultValue=``,this.label=``,this.helpText=``,this.name=`option`,this.value=``,this.size=`medium`,this.form=``,this.required=!1}get validity(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?mee:nn:hee}get validationMessage(){let e=this.required&&!this.value;return this.customValidityMessage===``?e?this.validationInput.validationMessage:``:this.customValidityMessage}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll(`sl-radio, sl-radio-button`)]}handleRadioClick(e){let t=e.target.closest(`sl-radio, sl-radio-button`),n=this.getAllRadios(),r=this.value;!t||t.disabled||(this.value=t.value,n.forEach(e=>e.checked=e===t),this.value!==r&&(this.emit(`sl-change`),this.emit(`sl-input`)))}handleKeyDown(e){if(![`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,` `].includes(e.key))return;let t=this.getAllRadios().filter(e=>!e.disabled),n=t.find(e=>e.checked)??t[0],r=e.key===` `?0:[`ArrowUp`,`ArrowLeft`].includes(e.key)?-1:1,i=this.value,a=t.indexOf(n)+r;a<0&&(a=t.length-1),a>t.length-1&&(a=0),this.getAllRadios().forEach(e=>{e.checked=!1,this.hasButtonGroup||e.setAttribute(`tabindex`,`-1`)}),this.value=t[a].value,t[a].checked=!0,this.hasButtonGroup?t[a].shadowRoot.querySelector(`button`).focus():(t[a].setAttribute(`tabindex`,`0`),t[a].focus()),this.value!==i&&(this.emit(`sl-change`),this.emit(`sl-input`)),e.preventDefault()}handleLabelClick(){this.focus()}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}async syncRadioElements(){let e=this.getAllRadios();if(await Promise.all(e.map(async e=>{await e.updateComplete,e.checked=e.value===this.value,e.size=this.size})),this.hasButtonGroup=e.some(e=>e.tagName.toLowerCase()===`sl-radio-button`),e.length>0&&!e.some(e=>e.checked))if(this.hasButtonGroup){let t=e[0].shadowRoot?.querySelector(`button`);t&&t.setAttribute(`tabindex`,`0`)}else e[0].setAttribute(`tabindex`,`0`);if(this.hasButtonGroup){let e=this.shadowRoot?.querySelector(`sl-button-group`);e&&(e.disableRole=!0)}}syncRadios(){if(customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)){this.syncRadioElements();return}customElements.get(`sl-radio`)?this.syncRadioElements():customElements.whenDefined(`sl-radio`).then(()=>this.syncRadios()),customElements.get(`sl-radio-button`)?this.syncRadioElements():customElements.whenDefined(`sl-radio-button`).then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){let e=this.required&&!this.value,t=this.customValidityMessage!==``;return e||t?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let e=this.validity.valid;return this.errorMessage=this.customValidityMessage||e?``:this.validationInput.validationMessage,this.formControlController.setValidity(e),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),e||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),e}setCustomValidity(e=``){this.customValidityMessage=e,this.errorMessage=e,this.validationInput.setCustomValidity(e),this.formControlController.updateValidity()}focus(e){let t=this.getAllRadios(),n=t.find(e=>e.checked),r=t.find(e=>!e.disabled),i=n||r;i&&i.focus(e)}render(){let e=this.hasSlotController.test(`label`),t=this.hasSlotController.test(`help-text`),n=this.label?!0:!!e,r=this.helpText?!0:!!t,i=T` `;return T`
${this.helpText}
- `}};Nf.styles=[gn,Yt,Af],Nf.dependencies={"sl-button-group":jf},w([At(`slot:not([name])`)],Nf.prototype,`defaultSlot`,2),w([At(`.radio-group__validation-input`)],Nf.prototype,`validationInput`,2),w([Dt()],Nf.prototype,`hasButtonGroup`,2),w([Dt()],Nf.prototype,`errorMessage`,2),w([Dt()],Nf.prototype,`defaultValue`,2),w([Et()],Nf.prototype,`label`,2),w([Et({attribute:`help-text`})],Nf.prototype,`helpText`,2),w([Et()],Nf.prototype,`name`,2),w([Et({reflect:!0})],Nf.prototype,`value`,2),w([Et({reflect:!0})],Nf.prototype,`size`,2),w([Et({reflect:!0})],Nf.prototype,`form`,2),w([Et({type:Boolean,reflect:!0})],Nf.prototype,`required`,2),w([hn(`size`,{waitUntilFirstUpdate:!0})],Nf.prototype,`handleSizeChange`,1),w([hn(`value`)],Nf.prototype,`handleValueChange`,1),Nf.define(`sl-radio-group`);var Pf=xe` + `}};Xf.styles=[gn,Yt,qse],Xf.dependencies={"sl-button-group":Jf},w([Ot(`slot:not([name])`)],Xf.prototype,`defaultSlot`,2),w([Ot(`.radio-group__validation-input`)],Xf.prototype,`validationInput`,2),w([Tt()],Xf.prototype,`hasButtonGroup`,2),w([Tt()],Xf.prototype,`errorMessage`,2),w([Tt()],Xf.prototype,`defaultValue`,2),w([E()],Xf.prototype,`label`,2),w([E({attribute:`help-text`})],Xf.prototype,`helpText`,2),w([E()],Xf.prototype,`name`,2),w([E({reflect:!0})],Xf.prototype,`value`,2),w([E({reflect:!0})],Xf.prototype,`size`,2),w([E({reflect:!0})],Xf.prototype,`form`,2),w([E({type:Boolean,reflect:!0})],Xf.prototype,`required`,2),w([hn(`size`,{waitUntilFirstUpdate:!0})],Xf.prototype,`handleSizeChange`,1),w([hn(`value`)],Xf.prototype,`handleValueChange`,1),Xf.define(`sl-radio-group`);var Zf=xe` :host { display: inline-block; position: relative; @@ -6857,8 +6910,8 @@ :host([data-sl-button-group__button][checked]) { z-index: 2; } -`,Ff=xe` - ${Pf} +`,Yse=xe` + ${Zf} .button__prefix, .button__suffix, @@ -6881,7 +6934,7 @@ opacity: 0; z-index: -1; } -`,Ise=Symbol.for(``),Lse=e=>{if(e?.r===Ise)return e?._$litStatic$},If=(e,...t)=>({_$litStatic$:t.reduce((t,n,r)=>t+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[r+1],e[0]),r:Ise}),Rse=new Map,Lf=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l{if(e?.r===Qf)return e?._$litStatic$},$f=(e,...t)=>({_$litStatic$:t.reduce((t,n,r)=>t+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[r+1],e[0]),r:Qf}),ep=new Map,tp=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l - `}};Rf.styles=[gn,Ff],w([At(`.button`)],Rf.prototype,`input`,2),w([At(`.hidden-input`)],Rf.prototype,`hiddenInput`,2),w([Dt()],Rf.prototype,`hasFocus`,2),w([Et({type:Boolean,reflect:!0})],Rf.prototype,`checked`,2),w([Et()],Rf.prototype,`value`,2),w([Et({type:Boolean,reflect:!0})],Rf.prototype,`disabled`,2),w([Et({reflect:!0})],Rf.prototype,`size`,2),w([Et({type:Boolean,reflect:!0})],Rf.prototype,`pill`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],Rf.prototype,`handleDisabledChange`,1),Rf.define(`sl-radio-button`);var zf=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Bf=Object.freeze({type:`spacer`,content:``}),Vf=20,Hf=20,Uf=`pb33f-diff-view-mode`;function Wf(e){return e===`side-by-side`||e===`unified`}var Gf=class extends Ct{constructor(){super(...arguments),this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.selectedChanges=[],this.contentMode=`file`,this.viewMode=`side-by-side`,this._cachedFocusedSections=[],this.cachedLeft=[],this.cachedRight=[],this.cachedUnified=[],this.originalLineToIndex=new Map,this.modifiedLineToIndex=new Map,this.dmp=(()=>{let e=new Xi.default;return e.Diff_Timeout=5,e})(),this._highlightTimer=0,this._highlightedElement=null,this._panels=[],this._scrollListeners=[],this._resizeObserver=null,this._rafId=0,this._scrollDirty=!1,this._syncing=!1,this._rendering=!1,this._renderStart=[0,0],this._renderEnd=[0,0],this._viewportHeight=[0,0],this._lastScrollTop=0,this._pendingJump=[0,0]}connectedCallback(){super.connectedCallback(),this.restoreStoredViewMode()}willUpdate(e){e.has(`selectedChanges`)&&(this.contentMode=this.hasSelection?`change`:`file`);let t=e.has(`originalSpec`)||e.has(`modifiedSpec`);t?this.recomputeDiffs():(e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&this._applyHighlights(),(t||e.has(`selectedChanges`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedFocusedSections=[])}updated(e){super.updated(e);let t=e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`);if(e.has(`contentMode`)&&this.contentMode===`change`&&this._teardownScrolling(),this.contentMode===`file`&&(e.has(`contentMode`)||e.has(`viewMode`)||e.has(`originalSpec`)||e.has(`modifiedSpec`))){let t=e.has(`contentMode`)&&e.get(`contentMode`)===`change`;this.updateComplete.then(()=>{requestAnimationFrame(()=>{let e=0,n=0;if(t&&this.selectedChanges.length>0){let t=this.selectedChanges.find(e=>e.context?.originalLine>0||e.context?.newLine>0);t&&(e=t.context?.originalLine||0,n=t.context?.newLine||0)}this._setupScrolling(e,n)})})}else this.contentMode===`file`&&t&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this._panels.length>0&&this._markDirty()})})}disconnectedCallback(){super.disconnectedCallback(),this._teardownScrolling(),this._highlightTimer&&=(clearTimeout(this._highlightTimer),0)}restoreStoredViewMode(){try{let e=localStorage.getItem(Uf);Wf(e)&&(this.viewMode=e)}catch{}}setViewMode(e){this.viewMode=e;try{localStorage.setItem(Uf,e)}catch{}}get hasSelection(){return Array.isArray(this.selectedChanges)&&this.selectedChanges.length>0}recomputeDiffs(){let e=this.dmp.diff_linesToChars_(this.originalSpec,this.modifiedSpec),t=this.dmp.diff_main(e.chars1,e.chars2,!1);this.dmp.diff_charsToLines_(t,e.lineArray);let n=[],r=[],i=[],a=this.originalHighlighted||{},o=this.modifiedHighlighted||{},s=new Map,c=new Map,l=1,u=1;for(let[e,d]of t){let t=d.split(` -`);t[t.length-1]===``&&t.pop();for(let d of t)if(e===0){let e=n.length,t={type:`equal`,content:d,highlightedContent:a[l]||o[u],originalLineNum:l,modifiedLineNum:u};n.push(t),r.push(t),i.push(t),s.set(l,e),c.set(u,e),l++,u++}else if(e===-1){let e=n.length,t={type:`removed`,content:d,highlightedContent:a[l],originalLineNum:l};n.push(t),r.push(Bf),i.push(t),s.set(l,e),l++}else if(e===1){let e=r.length,t={type:`added`,content:d,highlightedContent:o[u],modifiedLineNum:u};r.push(t),n.push(Bf),i.push(t),c.set(u,e),u++}}this.cachedLeft=n,this.cachedRight=r,this.cachedUnified=i,this.originalLineToIndex=s,this.modifiedLineToIndex=c,this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_applyHighlights(){let e=this.originalHighlighted||{},t=this.modifiedHighlighted||{};for(let n of this.cachedLeft)n.type!==`spacer`&&(n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));for(let n of this.cachedRight)n.type!==`spacer`&&(n.modifiedLineNum?n.highlightedContent=t[n.modifiedLineNum]:n.originalLineNum&&(n.highlightedContent=e[n.originalLineNum]));for(let n of this.cachedUnified)n.type!==`spacer`&&(n.originalLineNum&&n.modifiedLineNum?n.highlightedContent=e[n.originalLineNum]||t[n.modifiedLineNum]:n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_setupScrolling(e=0,t=0){this._teardownScrolling(),this._renderStart=[-1,-1],this._renderEnd=[-1,-1],this._lastScrollTop=0,this._pendingJump=[e,t];let n=Array.from(this.renderRoot.querySelectorAll(`.diff-panel`));if(this._panels=n,n.length){for(let e of n)e.scrollTop=0;this._resizeObserver=new ResizeObserver(()=>{this._markDirty()});for(let e=0;e{this._rendering||this._syncing||(this._lastScrollTop=t.scrollTop,this.viewMode===`side-by-side`&&n.length===2&&(this._syncing=!0,n[1-e].scrollTop=this._lastScrollTop,this._syncing=!1),this._markDirty())};t.addEventListener(`scroll`,r,{passive:!0}),this._scrollListeners.push(()=>t.removeEventListener(`scroll`,r))}this._markDirty()}}_teardownScrolling(){for(let e of this._scrollListeners)e();this._scrollListeners=[],this._resizeObserver?.disconnect(),this._resizeObserver=null,this._rafId&&=(cancelAnimationFrame(this._rafId),0),this._scrollDirty=!1,this._panels=[]}_markDirty(){this._scrollDirty||(this._scrollDirty=!0,this._rafId=requestAnimationFrame(()=>{this._scrollDirty=!1,this._rafId=0,this._updateAllPanels()}))}_updateAllPanels(){let e=this._lastScrollTop;for(let t=0;t0||this._pendingJump[1]>0){let[e,t]=this._pendingJump;this._pendingJump=[0,0],requestAnimationFrame(()=>this.scrollToLine(e,t))}}_getLinesForPanel(e){return this.viewMode===`unified`?this.cachedUnified:e===0?this.cachedLeft:this.cachedRight}_getSideForPanel(e){return this.viewMode===`unified`?`unified`:e===0?`left`:`right`}_renderRange(e,t,n,r,i,a){let o=e.querySelector(`.scroll-pad-top`),s=e.querySelector(`.visible-lines`),c=e.querySelector(`.scroll-pad-bottom`);if(!o||!s||!c)return;this._highlightedElement&&=null,this._rendering=!0;let l=e.scrollTop;o.style.height=`${n*Vf}px`,c.style.height=`${(i-r)*Vf}px`;let u=document.createDocumentFragment();for(let e=n;e0&&(n=this.originalLineToIndex.get(e)??-1),n<0&&t&&t>0&&(n=this.modifiedLineToIndex.get(t)??-1),n<0)return;let r=this._panels[0];if(!r)return;let i=this._viewportHeight[0]||r.clientHeight,a=Math.max(0,n*Vf-i/2+Vf/2);r.scrollTop=a,this._panels.length>1&&(this._panels[1].scrollTop=a),await new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(e)));let o=this._findScrollTarget(e,t);o&&(this._highlightTimer&&=(clearTimeout(this._highlightTimer),0),this._highlightedElement&&=(this._highlightedElement.classList.remove(`highlight`),null),o.classList.add(`highlight`),this._highlightedElement=o,this._highlightTimer=window.setTimeout(()=>{o?.classList.remove(`highlight`),this._highlightedElement=null,this._highlightTimer=0},2e3))}_findScrollTarget(e,t){if(this.viewMode===`side-by-side`&&this._panels.length>1){if(e>0){let t=this._panels[0].querySelector(`[data-original-line="${e}"]`);if(t)return t}if(t&&t>0){let e=this._panels[1].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(t&&t>0){let e=this._panels[0].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(e>0){let t=this._panels[1].querySelector(`[data-original-line="${e}"]`);if(t)return t}return null}let n=this._panels[0];if(!n)return null;if(e>0){let t=n.querySelector(`[data-original-line="${e}"]`);if(t)return t}return t&&t>0?n.querySelector(`[data-modified-line="${t}"]`):null}renderControls(){return T` + `}};np.styles=[gn,Yse],w([Ot(`.button`)],np.prototype,`input`,2),w([Ot(`.hidden-input`)],np.prototype,`hiddenInput`,2),w([Tt()],np.prototype,`hasFocus`,2),w([E({type:Boolean,reflect:!0})],np.prototype,`checked`,2),w([E()],np.prototype,`value`,2),w([E({type:Boolean,reflect:!0})],np.prototype,`disabled`,2),w([E({reflect:!0})],np.prototype,`size`,2),w([E({type:Boolean,reflect:!0})],np.prototype,`pill`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],np.prototype,`handleDisabledChange`,1),np.define(`sl-radio-button`);var rp=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ip=Object.freeze({type:`spacer`,content:``}),ap=20,op=20,sp=`pb33f-diff-view-mode`;function cp(e){return e===`side-by-side`||e===`unified`}var lp=class extends St{constructor(){super(...arguments),this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.selectedChanges=[],this.contentMode=`file`,this.viewMode=`side-by-side`,this._cachedFocusedSections=[],this.cachedLeft=[],this.cachedRight=[],this.cachedUnified=[],this.originalLineToIndex=new Map,this.modifiedLineToIndex=new Map,this.dmp=(()=>{let e=new la.default;return e.Diff_Timeout=5,e})(),this._highlightTimer=0,this._highlightedElement=null,this._panels=[],this._scrollListeners=[],this._resizeObserver=null,this._rafId=0,this._scrollDirty=!1,this._syncing=!1,this._rendering=!1,this._renderStart=[0,0],this._renderEnd=[0,0],this._viewportHeight=[0,0],this._lastScrollTop=0,this._pendingJump=[0,0]}connectedCallback(){super.connectedCallback(),this.restoreStoredViewMode()}willUpdate(e){e.has(`selectedChanges`)&&(this.contentMode=this.hasSelection?`change`:`file`);let t=e.has(`originalSpec`)||e.has(`modifiedSpec`);t?this.recomputeDiffs():(e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&this._applyHighlights(),(t||e.has(`selectedChanges`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedFocusedSections=[])}updated(e){super.updated(e);let t=e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`);if(e.has(`contentMode`)&&this.contentMode===`change`&&this._teardownScrolling(),this.contentMode===`file`&&(e.has(`contentMode`)||e.has(`viewMode`)||e.has(`originalSpec`)||e.has(`modifiedSpec`))){let t=e.has(`contentMode`)&&e.get(`contentMode`)===`change`;this.updateComplete.then(()=>{requestAnimationFrame(()=>{let e=0,n=0;if(t&&this.selectedChanges.length>0){let t=this.selectedChanges.find(e=>e.context?.originalLine>0||e.context?.newLine>0);t&&(e=t.context?.originalLine||0,n=t.context?.newLine||0)}this._setupScrolling(e,n)})})}else this.contentMode===`file`&&t&&this.updateComplete.then(()=>{requestAnimationFrame(()=>{this._panels.length>0&&this._markDirty()})})}disconnectedCallback(){super.disconnectedCallback(),this._teardownScrolling(),this._highlightTimer&&=(clearTimeout(this._highlightTimer),0)}restoreStoredViewMode(){try{let e=localStorage.getItem(sp);cp(e)&&(this.viewMode=e)}catch{}}setViewMode(e){this.viewMode=e;try{localStorage.setItem(sp,e)}catch{}}get hasSelection(){return Array.isArray(this.selectedChanges)&&this.selectedChanges.length>0}recomputeDiffs(){let e=this.dmp.diff_linesToChars_(this.originalSpec,this.modifiedSpec),t=this.dmp.diff_main(e.chars1,e.chars2,!1);this.dmp.diff_charsToLines_(t,e.lineArray);let n=[],r=[],i=[],a=this.originalHighlighted||{},o=this.modifiedHighlighted||{},s=new Map,c=new Map,l=1,u=1;for(let[e,d]of t){let t=d.split(` +`);t[t.length-1]===``&&t.pop();for(let d of t)if(e===0){let e=n.length,t={type:`equal`,content:d,highlightedContent:a[l]||o[u],originalLineNum:l,modifiedLineNum:u};n.push(t),r.push(t),i.push(t),s.set(l,e),c.set(u,e),l++,u++}else if(e===-1){let e=n.length,t={type:`removed`,content:d,highlightedContent:a[l],originalLineNum:l};n.push(t),r.push(ip),i.push(t),s.set(l,e),l++}else if(e===1){let e=r.length,t={type:`added`,content:d,highlightedContent:o[u],modifiedLineNum:u};r.push(t),n.push(ip),i.push(t),c.set(u,e),u++}}this.cachedLeft=n,this.cachedRight=r,this.cachedUnified=i,this.originalLineToIndex=s,this.modifiedLineToIndex=c,this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_applyHighlights(){let e=this.originalHighlighted||{},t=this.modifiedHighlighted||{};for(let n of this.cachedLeft)n.type!==`spacer`&&(n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));for(let n of this.cachedRight)n.type!==`spacer`&&(n.modifiedLineNum?n.highlightedContent=t[n.modifiedLineNum]:n.originalLineNum&&(n.highlightedContent=e[n.originalLineNum]));for(let n of this.cachedUnified)n.type!==`spacer`&&(n.originalLineNum&&n.modifiedLineNum?n.highlightedContent=e[n.originalLineNum]||t[n.modifiedLineNum]:n.originalLineNum?n.highlightedContent=e[n.originalLineNum]:n.modifiedLineNum&&(n.highlightedContent=t[n.modifiedLineNum]));this._renderStart=[-1,-1],this._renderEnd=[-1,-1]}_setupScrolling(e=0,t=0){this._teardownScrolling(),this._renderStart=[-1,-1],this._renderEnd=[-1,-1],this._lastScrollTop=0,this._pendingJump=[e,t];let n=Array.from(this.renderRoot.querySelectorAll(`.diff-panel`));if(this._panels=n,n.length){for(let e of n)e.scrollTop=0;this._resizeObserver=new ResizeObserver(()=>{this._markDirty()});for(let e=0;e{this._rendering||this._syncing||(this._lastScrollTop=t.scrollTop,this.viewMode===`side-by-side`&&n.length===2&&(this._syncing=!0,n[1-e].scrollTop=this._lastScrollTop,this._syncing=!1),this._markDirty())};t.addEventListener(`scroll`,r,{passive:!0}),this._scrollListeners.push(()=>t.removeEventListener(`scroll`,r))}this._markDirty()}}_teardownScrolling(){for(let e of this._scrollListeners)e();this._scrollListeners=[],this._resizeObserver?.disconnect(),this._resizeObserver=null,this._rafId&&=(cancelAnimationFrame(this._rafId),0),this._scrollDirty=!1,this._panels=[]}_markDirty(){this._scrollDirty||(this._scrollDirty=!0,this._rafId=requestAnimationFrame(()=>{this._scrollDirty=!1,this._rafId=0,this._updateAllPanels()}))}_updateAllPanels(){let e=this._lastScrollTop;for(let t=0;t0||this._pendingJump[1]>0){let[e,t]=this._pendingJump;this._pendingJump=[0,0],requestAnimationFrame(()=>this.scrollToLine(e,t))}}_getLinesForPanel(e){return this.viewMode===`unified`?this.cachedUnified:e===0?this.cachedLeft:this.cachedRight}_getSideForPanel(e){return this.viewMode===`unified`?`unified`:e===0?`left`:`right`}_renderRange(e,t,n,r,i,a){let o=e.querySelector(`.scroll-pad-top`),s=e.querySelector(`.visible-lines`),c=e.querySelector(`.scroll-pad-bottom`);if(!o||!s||!c)return;this._highlightedElement&&=null,this._rendering=!0;let l=e.scrollTop;o.style.height=`${n*ap}px`,c.style.height=`${(i-r)*ap}px`;let u=document.createDocumentFragment();for(let e=n;e0&&(n=this.originalLineToIndex.get(e)??-1),n<0&&t&&t>0&&(n=this.modifiedLineToIndex.get(t)??-1),n<0)return;let r=this._panels[0];if(!r)return;let i=this._viewportHeight[0]||r.clientHeight,a=Math.max(0,n*ap-i/2+ap/2);r.scrollTop=a,this._panels.length>1&&(this._panels[1].scrollTop=a),await new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(e)));let o=this._findScrollTarget(e,t);o&&(this._highlightTimer&&=(clearTimeout(this._highlightTimer),0),this._highlightedElement&&=(this._highlightedElement.classList.remove(`highlight`),null),o.classList.add(`highlight`),this._highlightedElement=o,this._highlightTimer=window.setTimeout(()=>{o?.classList.remove(`highlight`),this._highlightedElement=null,this._highlightTimer=0},2e3))}_findScrollTarget(e,t){if(this.viewMode===`side-by-side`&&this._panels.length>1){if(e>0){let t=this._panels[0].querySelector(`[data-original-line="${e}"]`);if(t)return t}if(t&&t>0){let e=this._panels[1].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(t&&t>0){let e=this._panels[0].querySelector(`[data-modified-line="${t}"]`);if(e)return e}if(e>0){let t=this._panels[1].querySelector(`[data-original-line="${e}"]`);if(t)return t}return null}let n=this._panels[0];if(!n)return null;if(e>0){let t=n.querySelector(`[data-original-line="${e}"]`);if(t)return t}return t&&t>0?n.querySelector(`[data-modified-line="${t}"]`):null}renderControls(){return T`
${this.hasSelection?T` Focused File Diff - `:ct} + `:ot} ${this.contentMode===`file`?T` Side by Side Unified - `:ct} + `:ot}
- `}renderFocusedDiff(){!this._cachedFocusedSections.length&&this.selectedChanges.length&&(this._cachedFocusedSections=O(this.selectedChanges,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{}));let e=this._cachedFocusedSections;if(!e.length)return T` + `}renderFocusedDiff(){!this._cachedFocusedSections.length&&this.selectedChanges.length&&(this._cachedFocusedSections=wf(this.selectedChanges,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{}));let e=this._cachedFocusedSections;if(!e.length)return T` ${this.renderControls()}
No focused changes available
`;let t=[],n=[];for(let r of e){let e=T`

${r.title}

- ${r.path?T``:ct} + ${r.path?T``:ot}
- ${r.breaking?T`
Breaking Change
`:ct} + ${r.breaking?T`
Breaking Change
`:ot}
`,i=r.valueBlocks.find(e=>e.tone===`removed`),a=r.valueBlocks.find(e=>e.tone===`added`),o=r.contextBlocks.find(e=>e.tone===`removed`),s=r.contextBlocks.find(e=>e.tone===`added`),c=!!(i||o),l=!!(a||s);c&&t.push(T`
${e} - ${i?this.renderValueBlock(i):ct} - ${o?this.renderContextBlock(o):ct} + ${i?this.renderValueBlock(i):ot} + ${o?this.renderContextBlock(o):ot}
`),l&&n.push(T`
${e} - ${a?this.renderValueBlock(a):ct} - ${s?this.renderContextBlock(s):ct} + ${a?this.renderValueBlock(a):ot} + ${s?this.renderContextBlock(s):ot}
`)}let r=t.length>0,i=n.length>0;return r&&!i?T` ${this.renderControls()} @@ -6999,7 +7052,7 @@
- `}};Gf.styles=ef,zf([Et()],Gf.prototype,`originalSpec`,void 0),zf([Et()],Gf.prototype,`modifiedSpec`,void 0),zf([Et({type:Object})],Gf.prototype,`originalHighlighted`,void 0),zf([Et({type:Object})],Gf.prototype,`modifiedHighlighted`,void 0),zf([Et({type:Array})],Gf.prototype,`selectedChanges`,void 0),zf([Dt()],Gf.prototype,`contentMode`,void 0),zf([Dt()],Gf.prototype,`viewMode`,void 0),Gf=zf([wt(`pb33f-diff-viewer`)],Gf);var Kf=xe` + `}};lp.styles=_f,rp([E()],lp.prototype,`originalSpec`,void 0),rp([E()],lp.prototype,`modifiedSpec`,void 0),rp([E({type:Object})],lp.prototype,`originalHighlighted`,void 0),rp([E({type:Object})],lp.prototype,`modifiedHighlighted`,void 0),rp([E({type:Array})],lp.prototype,`selectedChanges`,void 0),rp([Tt()],lp.prototype,`contentMode`,void 0),rp([Tt()],lp.prototype,`viewMode`,void 0),lp=rp([Ct(`pb33f-diff-viewer`)],lp);var Zse=xe` :host { display: block; } @@ -7026,9 +7079,9 @@ .change-card { padding-bottom: var(--global-padding); } -`,qf=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Jf=class extends Ct{constructor(){super(...arguments),this.changes=[],this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.compact=!1,this._cachedSections=null}willUpdate(e){(e.has(`changes`)||e.has(`originalSpec`)||e.has(`modifiedSpec`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedSections=null)}_getSections(){return this._cachedSections===null?this.changes.length?(this._cachedSections=O(this.changes,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{},this.compact?5:void 0),this._cachedSections):[]:this._cachedSections}renderValueBlock(e){return T` +`,up=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},dp=class extends St{constructor(){super(...arguments),this.changes=[],this.originalSpec=``,this.modifiedSpec=``,this.originalHighlighted={},this.modifiedHighlighted={},this.compact=!1,this._cachedSections=null}willUpdate(e){(e.has(`changes`)||e.has(`originalSpec`)||e.has(`modifiedSpec`)||e.has(`originalHighlighted`)||e.has(`modifiedHighlighted`))&&(this._cachedSections=null)}_getSections(){return this._cachedSections===null?this.changes.length?(this._cachedSections=wf(this.changes,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{},this.compact?5:void 0),this._cachedSections):[]:this._cachedSections}renderValueBlock(e){return T`
- ${this.compact?ct:T`
${e.title}
`} + ${this.compact?ot:T`
${e.title}
`}
${e.lines.map(e=>T`
${e}
`)}
@@ -7037,11 +7090,11 @@
${r} ${i} - ${e.highlightedContent?It(e.highlightedContent):e.content} + ${e.highlightedContent?Pt(e.highlightedContent):e.content}
`}renderContextBlock(e){return T`
- ${this.compact?ct:T`
${e.title}
`} + ${this.compact?ot:T`
${e.title}
`}
${e.lines.map(t=>this.renderDiffLine(t,e.tone))}
@@ -7050,27 +7103,27 @@
${e.map(e=>{let t=e.valueBlocks.find(e=>e.tone===`removed`),n=e.valueBlocks.find(e=>e.tone===`added`),r=e.contextBlocks.find(e=>e.tone===`removed`),i=e.contextBlocks.find(e=>e.tone===`added`);return this.compact?T`
- ${e.breaking?T`
Breaking
`:ct} - ${r?this.renderContextBlock(r):ct} - ${i?this.renderContextBlock(i):ct} + ${e.breaking?T`
Breaking
`:ot} + ${r?this.renderContextBlock(r):ot} + ${i?this.renderContextBlock(i):ot}
`:T`

${e.title}

- ${e.path?T``:ct} + ${e.path?T``:ot}
- ${e.breaking?T`
Breaking
`:ct} + ${e.breaking?T`
Breaking
`:ot}
- ${t?this.renderValueBlock(t):ct} - ${r?this.renderContextBlock(r):ct} - ${n?this.renderValueBlock(n):ct} - ${i?this.renderContextBlock(i):ct} + ${t?this.renderValueBlock(t):ot} + ${r?this.renderContextBlock(r):ot} + ${n?this.renderValueBlock(n):ot} + ${i?this.renderContextBlock(i):ot}
`})}
- `:ct}};Jf.styles=[$d,Kf],qf([Et({type:Array})],Jf.prototype,`changes`,void 0),qf([Et()],Jf.prototype,`originalSpec`,void 0),qf([Et()],Jf.prototype,`modifiedSpec`,void 0),qf([Et({type:Object})],Jf.prototype,`originalHighlighted`,void 0),qf([Et({type:Object})],Jf.prototype,`modifiedHighlighted`,void 0),qf([Et({type:Boolean})],Jf.prototype,`compact`,void 0),Jf=qf([wt(`pb33f-focused-diff-panel`)],Jf);var Yf=[sa,xe` + `:ot}};dp.styles=[gf,Zse],up([E({type:Array})],dp.prototype,`changes`,void 0),up([E()],dp.prototype,`originalSpec`,void 0),up([E()],dp.prototype,`modifiedSpec`,void 0),up([E({type:Object})],dp.prototype,`originalHighlighted`,void 0),up([E({type:Object})],dp.prototype,`modifiedHighlighted`,void 0),up([E({type:Boolean})],dp.prototype,`compact`,void 0),dp=up([Ct(`pb33f-focused-diff-panel`)],dp);var fp=[ba,xe` :host { display: flex; flex-direction: column; @@ -7890,7 +7943,7 @@ padding-bottom: var(--global-padding); border-bottom: 1px dashed var(--hrcolor); } -`];function Xf(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var Zf=xe` +`];function pp(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var mp=xe` :host { --indicator-color: var(--sl-color-primary-600); --track-color: var(--sl-color-neutral-200); @@ -8124,11 +8177,11 @@ .tab-group--end ::slotted(sl-tab-panel) { --padding: 0 var(--sl-spacing-medium); } -`,zse=xe` +`,Qse=xe` :host { display: contents; } -`,Qf=class extends vn{constructor(){super(...arguments),this.observedElements=[],this.disabled=!1}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(e=>{this.emit(`sl-resize`,{detail:{entries:e}})}),this.disabled||this.startObserver()}disconnectedCallback(){super.disconnectedCallback(),this.stopObserver()}handleSlotChange(){this.disabled||this.startObserver()}startObserver(){let e=this.shadowRoot.querySelector(`slot`);if(e!==null){let t=e.assignedElements({flatten:!0});this.observedElements.forEach(e=>this.resizeObserver.unobserve(e)),this.observedElements=[],t.forEach(e=>{this.resizeObserver.observe(e),this.observedElements.push(e)})}}stopObserver(){this.resizeObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}render(){return T` `}};Qf.styles=[gn,zse],w([Et({type:Boolean,reflect:!0})],Qf.prototype,`disabled`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],Qf.prototype,`handleDisabledChange`,1);function Bse(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function $f(e,t,n=`vertical`,r=`smooth`){let i=Bse(e,t),a=i.top+t.scrollTop,o=i.left+t.scrollLeft,s=t.scrollLeft,c=t.scrollLeft+t.offsetWidth,l=t.scrollTop,u=t.scrollTop+t.offsetHeight;(n===`horizontal`||n===`both`)&&(oc&&t.scrollTo({left:o-t.offsetWidth+e.clientWidth,behavior:r})),(n===`vertical`||n===`both`)&&(au&&t.scrollTo({top:a-t.offsetHeight+e.clientHeight,behavior:r}))}var Vse=xe` +`,hp=class extends vn{constructor(){super(...arguments),this.observedElements=[],this.disabled=!1}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(e=>{this.emit(`sl-resize`,{detail:{entries:e}})}),this.disabled||this.startObserver()}disconnectedCallback(){super.disconnectedCallback(),this.stopObserver()}handleSlotChange(){this.disabled||this.startObserver()}startObserver(){let e=this.shadowRoot.querySelector(`slot`);if(e!==null){let t=e.assignedElements({flatten:!0});this.observedElements.forEach(e=>this.resizeObserver.unobserve(e)),this.observedElements=[],t.forEach(e=>{this.resizeObserver.observe(e),this.observedElements.push(e)})}}stopObserver(){this.resizeObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}render(){return T` `}};hp.styles=[gn,Qse],w([E({type:Boolean,reflect:!0})],hp.prototype,`disabled`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],hp.prototype,`handleDisabledChange`,1);function $se(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function gp(e,t,n=`vertical`,r=`smooth`){let i=$se(e,t),a=i.top+t.scrollTop,o=i.left+t.scrollLeft,s=t.scrollLeft,c=t.scrollLeft+t.offsetWidth,l=t.scrollTop,u=t.scrollTop+t.offsetHeight;(n===`horizontal`||n===`both`)&&(oc&&t.scrollTo({left:o-t.offsetWidth+e.clientWidth,behavior:r})),(n===`vertical`||n===`both`)&&(au&&t.scrollTo({top:a-t.offsetHeight+e.clientHeight,behavior:r}))}var ece=xe` :host { display: inline-block; color: var(--sl-color-neutral-600); @@ -8175,7 +8228,7 @@ .icon-button__icon { pointer-events: none; } -`,ep=class extends vn{constructor(){super(...arguments),this.hasFocus=!1,this.label=``,this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}render(){let e=!!this.href,t=e?If`a`:If`button`;return Lf` +`,_p=class extends vn{constructor(){super(...arguments),this.hasFocus=!1,this.label=``,this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}render(){let e=!!this.href,t=e?$f`a`:$f`button`;return tp` <${t} part="base" class=${yn({"icon-button":!0,"icon-button--disabled":!e&&this.disabled,"icon-button--focused":this.hasFocus})} @@ -8201,7 +8254,7 @@ aria-hidden="true" > - `}};ep.styles=[gn,Vse],ep.dependencies={"sl-icon":Yi},w([At(`.icon-button`)],ep.prototype,`button`,2),w([Dt()],ep.prototype,`hasFocus`,2),w([Et()],ep.prototype,`name`,2),w([Et()],ep.prototype,`library`,2),w([Et()],ep.prototype,`src`,2),w([Et()],ep.prototype,`href`,2),w([Et()],ep.prototype,`target`,2),w([Et()],ep.prototype,`download`,2),w([Et()],ep.prototype,`label`,2),w([Et({type:Boolean,reflect:!0})],ep.prototype,`disabled`,2);var tp=class extends vn{constructor(){super(...arguments),this.tabs=[],this.focusableTabs=[],this.panels=[],this.localize=new mn(this),this.hasScrollControls=!1,this.shouldHideScrollStartButton=!1,this.shouldHideScrollEndButton=!1,this.placement=`top`,this.activation=`auto`,this.noScrollControls=!1,this.fixedScrollControls=!1,this.scrollOffset=1}connectedCallback(){let e=Promise.all([customElements.whenDefined(`sl-tab`),customElements.whenDefined(`sl-tab-panel`)]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(e=>{let t=e.filter(({target:e})=>{if(e===this)return!0;if(e.closest(`sl-tab-group`)!==this)return!1;let t=e.tagName.toLowerCase();return t===`sl-tab`||t===`sl-tab-panel`});if(t.length!==0){if(t.some(e=>![`aria-labelledby`,`aria-controls`].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),t.some(e=>e.attributeName===`disabled`))this.syncTabsAndPanels();else if(t.some(e=>e.attributeName===`active`)){let e=t.filter(e=>e.attributeName===`active`&&e.target.tagName.toLowerCase()===`sl-tab`).map(e=>e.target).find(e=>e.active);e&&this.setActiveTab(e)}}}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,attributeFilter:[`active`,`disabled`,`name`,`panel`],childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),e.then(()=>{new IntersectionObserver((e,t)=>{e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab(this.getActiveTab()??this.tabs[0],{emitEvents:!1}),t.unobserve(e[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){var e,t;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(){return this.shadowRoot.querySelector(`slot[name="nav"]`).assignedElements()}getAllPanels(){return[...this.body.assignedElements()].filter(e=>e.tagName.toLowerCase()===`sl-tab-panel`)}getActiveTab(){return this.tabs.find(e=>e.active)}handleClick(e){let t=e.target.closest(`sl-tab`);t?.closest(`sl-tab-group`)===this&&t!==null&&this.setActiveTab(t,{scrollBehavior:`smooth`})}handleKeyDown(e){let t=e.target.closest(`sl-tab`);if(t?.closest(`sl-tab-group`)===this&&([`Enter`,` `].includes(e.key)&&t!==null&&(this.setActiveTab(t,{scrollBehavior:`smooth`}),e.preventDefault()),[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key))){let t=this.tabs.find(e=>e.matches(`:focus`)),n=this.localize.dir()===`rtl`,r=null;if(t?.tagName.toLowerCase()===`sl-tab`){if(e.key===`Home`)r=this.focusableTabs[0];else if(e.key===`End`)r=this.focusableTabs[this.focusableTabs.length-1];else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowRight`:`ArrowLeft`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowUp`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`backward`)}else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowLeft`:`ArrowRight`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowDown`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`forward`)}if(!r)return;r.tabIndex=0,r.focus({preventScroll:!0}),this.activation===`auto`?this.setActiveTab(r,{scrollBehavior:`smooth`}):this.tabs.forEach(e=>{e.tabIndex=e===r?0:-1}),[`top`,`bottom`].includes(this.placement)&&$f(r,this.nav,`horizontal`),e.preventDefault()}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:`smooth`})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:`smooth`})}setActiveTab(e,t){if(t=oe({emitEvents:!0,scrollBehavior:`auto`},t),e!==this.activeTab&&!e.disabled){let n=this.activeTab;this.activeTab=e,this.tabs.forEach(e=>{e.active=e===this.activeTab,e.tabIndex=e===this.activeTab?0:-1}),this.panels.forEach(e=>e.active=e.name===this.activeTab?.panel),this.syncIndicator(),[`top`,`bottom`].includes(this.placement)&&$f(this.activeTab,this.nav,`horizontal`,t.scrollBehavior),t.emitEvents&&(n&&this.emit(`sl-tab-hide`,{detail:{name:n.panel}}),this.emit(`sl-tab-show`,{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(e=>{let t=this.panels.find(t=>t.name===e.panel);t&&(e.setAttribute(`aria-controls`,t.getAttribute(`id`)),t.setAttribute(`aria-labelledby`,e.getAttribute(`id`)))})}repositionIndicator(){let e=this.getActiveTab();if(!e)return;let t=e.clientWidth,n=e.clientHeight,r=this.localize.dir()===`rtl`,i=this.getAllTabs(),a=i.slice(0,i.indexOf(e)).reduce((e,t)=>({left:e.left+t.clientWidth,top:e.top+t.clientHeight}),{left:0,top:0});switch(this.placement){case`top`:case`bottom`:this.indicator.style.width=`${t}px`,this.indicator.style.height=`auto`,this.indicator.style.translate=r?`${-1*a.left}px`:`${a.left}px`;break;case`start`:case`end`:this.indicator.style.width=`auto`,this.indicator.style.height=`${n}px`,this.indicator.style.translate=`0 ${a.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs(),this.focusableTabs=this.tabs.filter(e=>!e.disabled),this.panels=this.getAllPanels(),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}findNextFocusableTab(e,t){let n=null,r=t===`forward`?1:-1,i=e+r;for(;e=this.nav.scrollWidth-this.scrollOffset}scrollFromStart(){return this.localize.dir()===`rtl`?-this.nav.scrollLeft:this.nav.scrollLeft}updateScrollControls(){this.noScrollControls?this.hasScrollControls=!1:this.hasScrollControls=[`top`,`bottom`].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth+1,this.updateScrollButtons()}syncIndicator(){this.getActiveTab()?(this.indicator.style.display=`block`,this.repositionIndicator()):this.indicator.style.display=`none`}show(e){let t=this.tabs.find(t=>t.panel===e);t&&this.setActiveTab(t,{scrollBehavior:`smooth`})}render(){let e=this.localize.dir()===`rtl`;return T` + `}};_p.styles=[gn,ece],_p.dependencies={"sl-icon":ca},w([Ot(`.icon-button`)],_p.prototype,`button`,2),w([Tt()],_p.prototype,`hasFocus`,2),w([E()],_p.prototype,`name`,2),w([E()],_p.prototype,`library`,2),w([E()],_p.prototype,`src`,2),w([E()],_p.prototype,`href`,2),w([E()],_p.prototype,`target`,2),w([E()],_p.prototype,`download`,2),w([E()],_p.prototype,`label`,2),w([E({type:Boolean,reflect:!0})],_p.prototype,`disabled`,2);var vp=class extends vn{constructor(){super(...arguments),this.tabs=[],this.focusableTabs=[],this.panels=[],this.localize=new mn(this),this.hasScrollControls=!1,this.shouldHideScrollStartButton=!1,this.shouldHideScrollEndButton=!1,this.placement=`top`,this.activation=`auto`,this.noScrollControls=!1,this.fixedScrollControls=!1,this.scrollOffset=1}connectedCallback(){let e=Promise.all([customElements.whenDefined(`sl-tab`),customElements.whenDefined(`sl-tab-panel`)]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(e=>{let t=e.filter(({target:e})=>{if(e===this)return!0;if(e.closest(`sl-tab-group`)!==this)return!1;let t=e.tagName.toLowerCase();return t===`sl-tab`||t===`sl-tab-panel`});if(t.length!==0){if(t.some(e=>![`aria-labelledby`,`aria-controls`].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),t.some(e=>e.attributeName===`disabled`))this.syncTabsAndPanels();else if(t.some(e=>e.attributeName===`active`)){let e=t.filter(e=>e.attributeName===`active`&&e.target.tagName.toLowerCase()===`sl-tab`).map(e=>e.target).find(e=>e.active);e&&this.setActiveTab(e)}}}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,attributeFilter:[`active`,`disabled`,`name`,`panel`],childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),e.then(()=>{new IntersectionObserver((e,t)=>{e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab(this.getActiveTab()??this.tabs[0],{emitEvents:!1}),t.unobserve(e[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){var e,t;super.disconnectedCallback(),(e=this.mutationObserver)==null||e.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(){return this.shadowRoot.querySelector(`slot[name="nav"]`).assignedElements()}getAllPanels(){return[...this.body.assignedElements()].filter(e=>e.tagName.toLowerCase()===`sl-tab-panel`)}getActiveTab(){return this.tabs.find(e=>e.active)}handleClick(e){let t=e.target.closest(`sl-tab`);t?.closest(`sl-tab-group`)===this&&t!==null&&this.setActiveTab(t,{scrollBehavior:`smooth`})}handleKeyDown(e){let t=e.target.closest(`sl-tab`);if(t?.closest(`sl-tab-group`)===this&&([`Enter`,` `].includes(e.key)&&t!==null&&(this.setActiveTab(t,{scrollBehavior:`smooth`}),e.preventDefault()),[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key))){let t=this.tabs.find(e=>e.matches(`:focus`)),n=this.localize.dir()===`rtl`,r=null;if(t?.tagName.toLowerCase()===`sl-tab`){if(e.key===`Home`)r=this.focusableTabs[0];else if(e.key===`End`)r=this.focusableTabs[this.focusableTabs.length-1];else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowRight`:`ArrowLeft`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowUp`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`backward`)}else if([`top`,`bottom`].includes(this.placement)&&e.key===(n?`ArrowLeft`:`ArrowRight`)||[`start`,`end`].includes(this.placement)&&e.key===`ArrowDown`){let e=this.tabs.findIndex(e=>e===t);r=this.findNextFocusableTab(e,`forward`)}if(!r)return;r.tabIndex=0,r.focus({preventScroll:!0}),this.activation===`auto`?this.setActiveTab(r,{scrollBehavior:`smooth`}):this.tabs.forEach(e=>{e.tabIndex=e===r?0:-1}),[`top`,`bottom`].includes(this.placement)&&gp(r,this.nav,`horizontal`),e.preventDefault()}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:`smooth`})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()===`rtl`?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:`smooth`})}setActiveTab(e,t){if(t=oe({emitEvents:!0,scrollBehavior:`auto`},t),e!==this.activeTab&&!e.disabled){let n=this.activeTab;this.activeTab=e,this.tabs.forEach(e=>{e.active=e===this.activeTab,e.tabIndex=e===this.activeTab?0:-1}),this.panels.forEach(e=>e.active=e.name===this.activeTab?.panel),this.syncIndicator(),[`top`,`bottom`].includes(this.placement)&&gp(this.activeTab,this.nav,`horizontal`,t.scrollBehavior),t.emitEvents&&(n&&this.emit(`sl-tab-hide`,{detail:{name:n.panel}}),this.emit(`sl-tab-show`,{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(e=>{let t=this.panels.find(t=>t.name===e.panel);t&&(e.setAttribute(`aria-controls`,t.getAttribute(`id`)),t.setAttribute(`aria-labelledby`,e.getAttribute(`id`)))})}repositionIndicator(){let e=this.getActiveTab();if(!e)return;let t=e.clientWidth,n=e.clientHeight,r=this.localize.dir()===`rtl`,i=this.getAllTabs(),a=i.slice(0,i.indexOf(e)).reduce((e,t)=>({left:e.left+t.clientWidth,top:e.top+t.clientHeight}),{left:0,top:0});switch(this.placement){case`top`:case`bottom`:this.indicator.style.width=`${t}px`,this.indicator.style.height=`auto`,this.indicator.style.translate=r?`${-1*a.left}px`:`${a.left}px`;break;case`start`:case`end`:this.indicator.style.width=`auto`,this.indicator.style.height=`${n}px`,this.indicator.style.translate=`0 ${a.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs(),this.focusableTabs=this.tabs.filter(e=>!e.disabled),this.panels=this.getAllPanels(),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}findNextFocusableTab(e,t){let n=null,r=t===`forward`?1:-1,i=e+r;for(;e=this.nav.scrollWidth-this.scrollOffset}scrollFromStart(){return this.localize.dir()===`rtl`?-this.nav.scrollLeft:this.nav.scrollLeft}updateScrollControls(){this.noScrollControls?this.hasScrollControls=!1:this.hasScrollControls=[`top`,`bottom`].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth+1,this.updateScrollButtons()}syncIndicator(){this.getActiveTab()?(this.indicator.style.display=`block`,this.repositionIndicator()):this.indicator.style.display=`none`}show(e){let t=this.tabs.find(t=>t.panel===e);t&&this.setActiveTab(t,{scrollBehavior:`smooth`})}render(){let e=this.localize.dir()===`rtl`;return T`
- `}};tp.styles=[gn,Zf],tp.dependencies={"sl-icon-button":ep,"sl-resize-observer":Qf},w([At(`.tab-group`)],tp.prototype,`tabGroup`,2),w([At(`.tab-group__body`)],tp.prototype,`body`,2),w([At(`.tab-group__nav`)],tp.prototype,`nav`,2),w([At(`.tab-group__indicator`)],tp.prototype,`indicator`,2),w([Dt()],tp.prototype,`hasScrollControls`,2),w([Dt()],tp.prototype,`shouldHideScrollStartButton`,2),w([Dt()],tp.prototype,`shouldHideScrollEndButton`,2),w([Et()],tp.prototype,`placement`,2),w([Et()],tp.prototype,`activation`,2),w([Et({attribute:`no-scroll-controls`,type:Boolean})],tp.prototype,`noScrollControls`,2),w([Et({attribute:`fixed-scroll-controls`,type:Boolean})],tp.prototype,`fixedScrollControls`,2),w([Ot({passive:!0})],tp.prototype,`updateScrollButtons`,1),w([hn(`noScrollControls`,{waitUntilFirstUpdate:!0})],tp.prototype,`updateScrollControls`,1),w([hn(`placement`,{waitUntilFirstUpdate:!0})],tp.prototype,`syncIndicator`,1),tp.define(`sl-tab-group`);var Hse=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},np=(e,t,n)=>{let r=e[t];e[t]=function(...e){r.call(this,...e),n.call(this,r,...e)}};(()=>{if(!(typeof window>`u`)&&!(`onscrollend`in window)){let e=new Set,t=new WeakMap,n=t=>{for(let n of t.changedTouches)e.add(n.identifier)},r=t=>{for(let n of t.changedTouches)e.delete(n.identifier)};document.addEventListener(`touchstart`,n,!0),document.addEventListener(`touchend`,r,!0),document.addEventListener(`touchcancel`,r,!0),np(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=Hse(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),np(EventTarget.prototype,`removeEventListener`,function(e,n){if(n!==`scrollend`)return;let r=t.get(this);r&&e.call(this,`scroll`,r,{passive:!0})})}})();var Use=xe` + `}};vp.styles=[gn,mp],vp.dependencies={"sl-icon-button":_p,"sl-resize-observer":hp},w([Ot(`.tab-group`)],vp.prototype,`tabGroup`,2),w([Ot(`.tab-group__body`)],vp.prototype,`body`,2),w([Ot(`.tab-group__nav`)],vp.prototype,`nav`,2),w([Ot(`.tab-group__indicator`)],vp.prototype,`indicator`,2),w([Tt()],vp.prototype,`hasScrollControls`,2),w([Tt()],vp.prototype,`shouldHideScrollStartButton`,2),w([Tt()],vp.prototype,`shouldHideScrollEndButton`,2),w([E()],vp.prototype,`placement`,2),w([E()],vp.prototype,`activation`,2),w([E({attribute:`no-scroll-controls`,type:Boolean})],vp.prototype,`noScrollControls`,2),w([E({attribute:`fixed-scroll-controls`,type:Boolean})],vp.prototype,`fixedScrollControls`,2),w([Et({passive:!0})],vp.prototype,`updateScrollButtons`,1),w([hn(`noScrollControls`,{waitUntilFirstUpdate:!0})],vp.prototype,`updateScrollControls`,1),w([hn(`placement`,{waitUntilFirstUpdate:!0})],vp.prototype,`syncIndicator`,1),vp.define(`sl-tab-group`);var tce=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},yp=(e,t,n)=>{let r=e[t];e[t]=function(...e){r.call(this,...e),n.call(this,r,...e)}};(()=>{if(!(typeof window>`u`)&&!(`onscrollend`in window)){let e=new Set,t=new WeakMap,n=t=>{for(let n of t.changedTouches)e.add(n.identifier)},r=t=>{for(let n of t.changedTouches)e.delete(n.identifier)};document.addEventListener(`touchstart`,n,!0),document.addEventListener(`touchend`,r,!0),document.addEventListener(`touchcancel`,r,!0),yp(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=tce(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),yp(EventTarget.prototype,`removeEventListener`,function(e,n){if(n!==`scrollend`)return;let r=t.get(this);r&&e.call(this,`scroll`,r,{passive:!0})})}})();var bp=xe` :host { --padding: 0; @@ -8264,12 +8317,12 @@ display: block; padding: var(--padding); } -`,rp=0,ip=class extends vn{constructor(){super(...arguments),this.attrId=++rp,this.componentId=`sl-tab-panel-${this.attrId}`,this.name=``,this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute(`role`,`tabpanel`)}handleActiveChange(){this.setAttribute(`aria-hidden`,this.active?`false`:`true`)}render(){return T` +`,xp=0,Sp=class extends vn{constructor(){super(...arguments),this.attrId=++xp,this.componentId=`sl-tab-panel-${this.attrId}`,this.name=``,this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute(`role`,`tabpanel`)}handleActiveChange(){this.setAttribute(`aria-hidden`,this.active?`false`:`true`)}render(){return T` - `}};ip.styles=[gn,Use],w([Et({reflect:!0})],ip.prototype,`name`,2),w([Et({type:Boolean,reflect:!0})],ip.prototype,`active`,2),w([hn(`active`)],ip.prototype,`handleActiveChange`,1),ip.define(`sl-tab-panel`);var Wse=xe` + `}};Sp.styles=[gn,bp],w([E({reflect:!0})],Sp.prototype,`name`,2),w([E({type:Boolean,reflect:!0})],Sp.prototype,`active`,2),w([hn(`active`)],Sp.prototype,`handleActiveChange`,1),Sp.define(`sl-tab-panel`);var nce=xe` :host { display: inline-block; } @@ -8334,7 +8387,7 @@ outline-offset: -3px; } } -`,Gse=0,ap=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.attrId=++Gse,this.componentId=`sl-tab-${this.attrId}`,this.panel=``,this.active=!1,this.closable=!1,this.disabled=!1,this.tabIndex=0}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tab`)}handleCloseClick(e){e.stopPropagation(),this.emit(`sl-close`)}handleActiveChange(){this.setAttribute(`aria-selected`,this.active?`true`:`false`)}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`),this.disabled&&!this.active?this.tabIndex=-1:this.tabIndex=0}render(){return this.id=this.id.length>0?this.id:this.componentId,T` +`,rce=0,Cp=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.attrId=++rce,this.componentId=`sl-tab-${this.attrId}`,this.panel=``,this.active=!1,this.closable=!1,this.disabled=!1,this.tabIndex=0}connectedCallback(){super.connectedCallback(),this.setAttribute(`role`,`tab`)}handleCloseClick(e){e.stopPropagation(),this.emit(`sl-close`)}handleActiveChange(){this.setAttribute(`aria-selected`,this.active?`true`:`false`)}handleDisabledChange(){this.setAttribute(`aria-disabled`,this.disabled?`true`:`false`),this.disabled&&!this.active?this.tabIndex=-1:this.tabIndex=0}render(){return this.id=this.id.length>0?this.id:this.componentId,T`
`:``}
- `}};ap.styles=[gn,Wse],ap.dependencies={"sl-icon-button":ep},w([At(`.tab`)],ap.prototype,`tab`,2),w([Et({reflect:!0})],ap.prototype,`panel`,2),w([Et({type:Boolean,reflect:!0})],ap.prototype,`active`,2),w([Et({type:Boolean,reflect:!0})],ap.prototype,`closable`,2),w([Et({type:Boolean,reflect:!0})],ap.prototype,`disabled`,2),w([Et({type:Number,reflect:!0})],ap.prototype,`tabIndex`,2),w([hn(`active`)],ap.prototype,`handleActiveChange`,1),w([hn(`disabled`)],ap.prototype,`handleDisabledChange`,1),ap.define(`sl-tab`);var Kse=xe` + `}};Cp.styles=[gn,nce],Cp.dependencies={"sl-icon-button":_p},w([Ot(`.tab`)],Cp.prototype,`tab`,2),w([E({reflect:!0})],Cp.prototype,`panel`,2),w([E({type:Boolean,reflect:!0})],Cp.prototype,`active`,2),w([E({type:Boolean,reflect:!0})],Cp.prototype,`closable`,2),w([E({type:Boolean,reflect:!0})],Cp.prototype,`disabled`,2),w([E({type:Number,reflect:!0})],Cp.prototype,`tabIndex`,2),w([hn(`active`)],Cp.prototype,`handleActiveChange`,1),w([hn(`disabled`)],Cp.prototype,`handleDisabledChange`,1),Cp.define(`sl-tab`);var ice=xe` :host { --max-width: 20rem; --hide-delay: 0ms; @@ -8405,7 +8458,7 @@ user-select: none; -webkit-user-select: none; } -`;function op(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var sp=class extends vn{constructor(){super(),this.localize=new mn(this),this.content=``,this.placement=`top`,this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger=`hover focus`,this.hoist=!1,this.handleBlur=()=>{this.hasTrigger(`focus`)&&this.hide()},this.handleClick=()=>{this.hasTrigger(`click`)&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger(`focus`)&&this.show()},this.handleDocumentKeyDown=e=>{e.key===`Escape`&&(e.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger(`hover`)){let e=_a(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=_a(getComputedStyle(this).getPropertyValue(`--hide-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}},this.addEventListener(`blur`,this.handleBlur,!0),this.addEventListener(`focus`,this.handleFocus,!0),this.addEventListener(`click`,this.handleClick),this.addEventListener(`mouseover`,this.handleMouseOver),this.addEventListener(`mouseout`,this.handleMouseOut)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.closeWatcher)==null||e.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(e){return this.trigger.split(` `).includes(e)}async handleOpenChange(){var e,t;if(this.open){if(this.disabled)return;this.emit(`sl-show`),`CloseWatcher`in window?((e=this.closeWatcher)==null||e.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.hide()}):document.addEventListener(`keydown`,this.handleDocumentKeyDown),await va(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=ha(this,`tooltip.show`,{dir:this.localize.dir()});await ga(this.popup.popup,t,n),this.popup.reposition(),this.emit(`sl-after-show`)}else{this.emit(`sl-hide`),(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown),await va(this.body);let{keyframes:e,options:n}=ha(this,`tooltip.hide`,{dir:this.localize.dir()});await ga(this.popup.popup,e,n),this.popup.active=!1,this.body.hidden=!0,this.emit(`sl-after-hide`)}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,op(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,op(this,`sl-after-hide`)}render(){return T` +`;function ace(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var wp=class extends vn{constructor(){super(),this.localize=new mn(this),this.content=``,this.placement=`top`,this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger=`hover focus`,this.hoist=!1,this.handleBlur=()=>{this.hasTrigger(`focus`)&&this.hide()},this.handleClick=()=>{this.hasTrigger(`click`)&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger(`focus`)&&this.show()},this.handleDocumentKeyDown=e=>{e.key===`Escape`&&(e.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger(`hover`)){let e=Dne(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=Dne(getComputedStyle(this).getPropertyValue(`--hide-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),e)}},this.addEventListener(`blur`,this.handleBlur,!0),this.addEventListener(`focus`,this.handleFocus,!0),this.addEventListener(`click`,this.handleClick),this.addEventListener(`mouseover`,this.handleMouseOver),this.addEventListener(`mouseout`,this.handleMouseOut)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.closeWatcher)==null||e.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(e){return this.trigger.split(` `).includes(e)}async handleOpenChange(){var e,t;if(this.open){if(this.disabled)return;this.emit(`sl-show`),`CloseWatcher`in window?((e=this.closeWatcher)==null||e.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.hide()}):document.addEventListener(`keydown`,this.handleDocumentKeyDown),await Oa(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=Ea(this,`tooltip.show`,{dir:this.localize.dir()});await Da(this.popup.popup,t,n),this.popup.reposition(),this.emit(`sl-after-show`)}else{this.emit(`sl-hide`),(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener(`keydown`,this.handleDocumentKeyDown),await Oa(this.body);let{keyframes:e,options:n}=Ea(this,`tooltip.hide`,{dir:this.localize.dir()});await Da(this.popup.popup,e,n),this.popup.active=!1,this.body.hidden=!0,this.emit(`sl-after-hide`)}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,ace(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,ace(this,`sl-after-hide`)}render(){return T` ${this.content}
- `}};sp.styles=[gn,Kse],sp.dependencies={"sl-popup":Ur},w([At(`slot:not([name])`)],sp.prototype,`defaultSlot`,2),w([At(`.tooltip__body`)],sp.prototype,`body`,2),w([At(`sl-popup`)],sp.prototype,`popup`,2),w([Et()],sp.prototype,`content`,2),w([Et()],sp.prototype,`placement`,2),w([Et({type:Boolean,reflect:!0})],sp.prototype,`disabled`,2),w([Et({type:Number})],sp.prototype,`distance`,2),w([Et({type:Boolean,reflect:!0})],sp.prototype,`open`,2),w([Et({type:Number})],sp.prototype,`skidding`,2),w([Et()],sp.prototype,`trigger`,2),w([Et({type:Boolean})],sp.prototype,`hoist`,2),w([hn(`open`,{waitUntilFirstUpdate:!0})],sp.prototype,`handleOpenChange`,1),w([hn([`content`,`distance`,`hoist`,`placement`,`skidding`])],sp.prototype,`handleOptionsChange`,1),w([hn(`disabled`)],sp.prototype,`handleDisabledChange`,1),ma(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),ma(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),sp.define(`sl-tooltip`);var qse=[{max:276e4,value:6e4,unit:`minute`},{max:72e6,value:36e5,unit:`hour`},{max:5184e5,value:864e5,unit:`day`},{max:24192e5,value:6048e5,unit:`week`},{max:28512e6,value:2592e6,unit:`month`},{max:1/0,value:31536e6,unit:`year`}],cp=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.isoTime=``,this.relativeTime=``,this.date=new Date,this.format=`long`,this.numeric=`auto`,this.sync=!1}disconnectedCallback(){super.disconnectedCallback(),clearTimeout(this.updateTimeout)}render(){let e=new Date,t=new Date(this.date);if(isNaN(t.getMilliseconds()))return this.relativeTime=``,this.isoTime=``,``;let n=t.getTime()-e.getTime(),{unit:r,value:i}=qse.find(e=>Math.abs(n)this.requestUpdate(),e)}return T` `}};w([Dt()],cp.prototype,`isoTime`,2),w([Dt()],cp.prototype,`relativeTime`,2),w([Et()],cp.prototype,`date`,2),w([Et()],cp.prototype,`format`,2),w([Et()],cp.prototype,`numeric`,2),w([Et({type:Boolean})],cp.prototype,`sync`,2);function lp(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}cp.define(`sl-relative-time`);var up=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.value=0,this.type=`decimal`,this.noGrouping=!1,this.currency=`USD`,this.currencyDisplay=`symbol`}render(){return isNaN(this.value)?``:this.localize.number(this.value,{style:this.type,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:!this.noGrouping,minimumIntegerDigits:this.minimumIntegerDigits,minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits,minimumSignificantDigits:this.minimumSignificantDigits,maximumSignificantDigits:this.maximumSignificantDigits})}};w([Et({type:Number})],up.prototype,`value`,2),w([Et()],up.prototype,`type`,2),w([Et({attribute:`no-grouping`,type:Boolean})],up.prototype,`noGrouping`,2),w([Et()],up.prototype,`currency`,2),w([Et({attribute:`currency-display`})],up.prototype,`currencyDisplay`,2),w([Et({attribute:`minimum-integer-digits`,type:Number})],up.prototype,`minimumIntegerDigits`,2),w([Et({attribute:`minimum-fraction-digits`,type:Number})],up.prototype,`minimumFractionDigits`,2),w([Et({attribute:`maximum-fraction-digits`,type:Number})],up.prototype,`maximumFractionDigits`,2),w([Et({attribute:`minimum-significant-digits`,type:Number})],up.prototype,`minimumSignificantDigits`,2),w([Et({attribute:`maximum-significant-digits`,type:Number})],up.prototype,`maximumSignificantDigits`,2),up.define(`sl-format-number`),ep.define(`sl-icon-button`);var dp=xe` + `}};wp.styles=[gn,ice],wp.dependencies={"sl-popup":Wr},w([Ot(`slot:not([name])`)],wp.prototype,`defaultSlot`,2),w([Ot(`.tooltip__body`)],wp.prototype,`body`,2),w([Ot(`sl-popup`)],wp.prototype,`popup`,2),w([E()],wp.prototype,`content`,2),w([E()],wp.prototype,`placement`,2),w([E({type:Boolean,reflect:!0})],wp.prototype,`disabled`,2),w([E({type:Number})],wp.prototype,`distance`,2),w([E({type:Boolean,reflect:!0})],wp.prototype,`open`,2),w([E({type:Number})],wp.prototype,`skidding`,2),w([E()],wp.prototype,`trigger`,2),w([E({type:Boolean})],wp.prototype,`hoist`,2),w([hn(`open`,{waitUntilFirstUpdate:!0})],wp.prototype,`handleOpenChange`,1),w([hn([`content`,`distance`,`hoist`,`placement`,`skidding`])],wp.prototype,`handleOptionsChange`,1),w([hn(`disabled`)],wp.prototype,`handleDisabledChange`,1),Ta(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),Ta(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),wp.define(`sl-tooltip`);var oce=[{max:276e4,value:6e4,unit:`minute`},{max:72e6,value:36e5,unit:`hour`},{max:5184e5,value:864e5,unit:`day`},{max:24192e5,value:6048e5,unit:`week`},{max:28512e6,value:2592e6,unit:`month`},{max:1/0,value:31536e6,unit:`year`}],Tp=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.isoTime=``,this.relativeTime=``,this.date=new Date,this.format=`long`,this.numeric=`auto`,this.sync=!1}disconnectedCallback(){super.disconnectedCallback(),clearTimeout(this.updateTimeout)}render(){let e=new Date,t=new Date(this.date);if(isNaN(t.getMilliseconds()))return this.relativeTime=``,this.isoTime=``,``;let n=t.getTime()-e.getTime(),{unit:r,value:i}=oce.find(e=>Math.abs(n)this.requestUpdate(),e)}return T` `}};w([Tt()],Tp.prototype,`isoTime`,2),w([Tt()],Tp.prototype,`relativeTime`,2),w([E()],Tp.prototype,`date`,2),w([E()],Tp.prototype,`format`,2),w([E()],Tp.prototype,`numeric`,2),w([E({type:Boolean})],Tp.prototype,`sync`,2);function Ep(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}Tp.define(`sl-relative-time`);var Dp=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.value=0,this.type=`decimal`,this.noGrouping=!1,this.currency=`USD`,this.currencyDisplay=`symbol`}render(){return isNaN(this.value)?``:this.localize.number(this.value,{style:this.type,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:!this.noGrouping,minimumIntegerDigits:this.minimumIntegerDigits,minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits,minimumSignificantDigits:this.minimumSignificantDigits,maximumSignificantDigits:this.maximumSignificantDigits})}};w([E({type:Number})],Dp.prototype,`value`,2),w([E()],Dp.prototype,`type`,2),w([E({attribute:`no-grouping`,type:Boolean})],Dp.prototype,`noGrouping`,2),w([E()],Dp.prototype,`currency`,2),w([E({attribute:`currency-display`})],Dp.prototype,`currencyDisplay`,2),w([E({attribute:`minimum-integer-digits`,type:Number})],Dp.prototype,`minimumIntegerDigits`,2),w([E({attribute:`minimum-fraction-digits`,type:Number})],Dp.prototype,`minimumFractionDigits`,2),w([E({attribute:`maximum-fraction-digits`,type:Number})],Dp.prototype,`maximumFractionDigits`,2),w([E({attribute:`minimum-significant-digits`,type:Number})],Dp.prototype,`minimumSignificantDigits`,2),w([E({attribute:`maximum-significant-digits`,type:Number})],Dp.prototype,`maximumSignificantDigits`,2),Dp.define(`sl-format-number`),_p.define(`sl-icon-button`);var sce=xe` :host { display: inline-block; } @@ -8543,7 +8596,7 @@ .tag--pill { border-radius: var(--sl-border-radius-pill); } -`,fp=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.variant=`neutral`,this.size=`medium`,this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit(`sl-remove`)}render(){return T` +`,Op=class extends vn{constructor(){super(...arguments),this.localize=new mn(this),this.variant=`neutral`,this.size=`medium`,this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit(`sl-remove`)}render(){return T` `:``} - `}};fp.styles=[gn,dp],fp.dependencies={"sl-icon-button":ep},w([Et({reflect:!0})],fp.prototype,`variant`,2),w([Et({reflect:!0})],fp.prototype,`size`,2),w([Et({type:Boolean,reflect:!0})],fp.prototype,`pill`,2),w([Et({type:Boolean})],fp.prototype,`removable`,2),fp.define(`sl-tag`);var Jse=xe` + `}};Op.styles=[gn,sce],Op.dependencies={"sl-icon-button":_p},w([E({reflect:!0})],Op.prototype,`variant`,2),w([E({reflect:!0})],Op.prototype,`size`,2),w([E({type:Boolean,reflect:!0})],Op.prototype,`pill`,2),w([E({type:Boolean})],Op.prototype,`removable`,2),Op.define(`sl-tag`);var cce=xe` :host { display: block; } @@ -8849,7 +8902,7 @@ .input--no-spin-buttons input[type='number'] { -moz-appearance: textfield; } -`,pp=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{assumeInteractionOn:[`sl-blur`,`sl-input`]}),this.hasSlotController=new rn(this,`help-text`,`label`),this.localize=new mn(this),this.hasFocus=!1,this.title=``,this.__numberInput=Object.assign(document.createElement(`input`),{type:`number`}),this.__dateInput=Object.assign(document.createElement(`input`),{type:`date`}),this.type=`text`,this.name=``,this.value=``,this.defaultValue=``,this.size=`medium`,this.filled=!1,this.pill=!1,this.label=``,this.helpText=``,this.clearable=!1,this.disabled=!1,this.placeholder=``,this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form=``,this.required=!1,this.spellcheck=!0}get valueAsDate(){return this.__dateInput.type=this.type,this.__dateInput.value=this.value,this.input?.valueAsDate||this.__dateInput.valueAsDate}set valueAsDate(e){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=e,this.value=this.__dateInput.value}get valueAsNumber(){return this.__numberInput.value=this.value,this.input?.valueAsNumber||this.__numberInput.valueAsNumber}set valueAsNumber(e){this.__numberInput.valueAsNumber=e,this.value=this.__numberInput.value}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleChange(){this.value=this.input.value,this.emit(`sl-change`)}handleClearClick(e){e.preventDefault(),this.value!==``&&(this.value=``,this.emit(`sl-clear`),this.emit(`sl-input`),this.emit(`sl-change`)),this.input.focus()}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleKeyDown(e){let t=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key===`Enter`&&!t&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,t,n=`none`){this.input.setSelectionRange(e,t,n)}setRangeText(e,t,n,r=`preserve`){let i=t??this.input.selectionStart,a=n??this.input.selectionEnd;this.input.setRangeText(e,i,a,r),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){`showPicker`in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`label`),t=this.hasSlotController.test(`help-text`),n=this.label?!0:!!e,r=this.helpText?!0:!!t,i=this.clearable&&!this.disabled&&!this.readonly&&(typeof this.value==`number`||this.value.length>0);return T` +`,kp=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{assumeInteractionOn:[`sl-blur`,`sl-input`]}),this.hasSlotController=new rn(this,`help-text`,`label`),this.localize=new mn(this),this.hasFocus=!1,this.title=``,this.__numberInput=Object.assign(document.createElement(`input`),{type:`number`}),this.__dateInput=Object.assign(document.createElement(`input`),{type:`date`}),this.type=`text`,this.name=``,this.value=``,this.defaultValue=``,this.size=`medium`,this.filled=!1,this.pill=!1,this.label=``,this.helpText=``,this.clearable=!1,this.disabled=!1,this.placeholder=``,this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form=``,this.required=!1,this.spellcheck=!0}get valueAsDate(){return this.__dateInput.type=this.type,this.__dateInput.value=this.value,this.input?.valueAsDate||this.__dateInput.valueAsDate}set valueAsDate(e){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=e,this.value=this.__dateInput.value}get valueAsNumber(){return this.__numberInput.value=this.value,this.input?.valueAsNumber||this.__numberInput.valueAsNumber}set valueAsNumber(e){this.__numberInput.valueAsNumber=e,this.value=this.__numberInput.value}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleChange(){this.value=this.input.value,this.emit(`sl-change`)}handleClearClick(e){e.preventDefault(),this.value!==``&&(this.value=``,this.emit(`sl-clear`),this.emit(`sl-input`),this.emit(`sl-change`)),this.input.focus()}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleKeyDown(e){let t=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key===`Enter`&&!t&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,t,n=`none`){this.input.setSelectionRange(e,t,n)}setRangeText(e,t,n,r=`preserve`){let i=t??this.input.selectionStart,a=n??this.input.selectionEnd;this.input.setRangeText(e,i,a,r),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){`showPicker`in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`label`),t=this.hasSlotController.test(`help-text`),n=this.label?!0:!!e,r=this.helpText?!0:!!t,i=this.clearable&&!this.disabled&&!this.readonly&&(typeof this.value==`number`||this.value.length>0);return T`
${this.helpText}
- `}};pp.styles=[gn,Yt,Jse],pp.dependencies={"sl-icon":Yi},w([At(`.input__control`)],pp.prototype,`input`,2),w([Dt()],pp.prototype,`hasFocus`,2),w([Et()],pp.prototype,`title`,2),w([Et({reflect:!0})],pp.prototype,`type`,2),w([Et()],pp.prototype,`name`,2),w([Et()],pp.prototype,`value`,2),w([Jt()],pp.prototype,`defaultValue`,2),w([Et({reflect:!0})],pp.prototype,`size`,2),w([Et({type:Boolean,reflect:!0})],pp.prototype,`filled`,2),w([Et({type:Boolean,reflect:!0})],pp.prototype,`pill`,2),w([Et()],pp.prototype,`label`,2),w([Et({attribute:`help-text`})],pp.prototype,`helpText`,2),w([Et({type:Boolean})],pp.prototype,`clearable`,2),w([Et({type:Boolean,reflect:!0})],pp.prototype,`disabled`,2),w([Et()],pp.prototype,`placeholder`,2),w([Et({type:Boolean,reflect:!0})],pp.prototype,`readonly`,2),w([Et({attribute:`password-toggle`,type:Boolean})],pp.prototype,`passwordToggle`,2),w([Et({attribute:`password-visible`,type:Boolean})],pp.prototype,`passwordVisible`,2),w([Et({attribute:`no-spin-buttons`,type:Boolean})],pp.prototype,`noSpinButtons`,2),w([Et({reflect:!0})],pp.prototype,`form`,2),w([Et({type:Boolean,reflect:!0})],pp.prototype,`required`,2),w([Et()],pp.prototype,`pattern`,2),w([Et({type:Number})],pp.prototype,`minlength`,2),w([Et({type:Number})],pp.prototype,`maxlength`,2),w([Et()],pp.prototype,`min`,2),w([Et()],pp.prototype,`max`,2),w([Et()],pp.prototype,`step`,2),w([Et()],pp.prototype,`autocapitalize`,2),w([Et()],pp.prototype,`autocorrect`,2),w([Et()],pp.prototype,`autocomplete`,2),w([Et({type:Boolean})],pp.prototype,`autofocus`,2),w([Et()],pp.prototype,`enterkeyhint`,2),w([Et({type:Boolean,converter:{fromAttribute:e=>!(!e||e===`false`),toAttribute:e=>e?`true`:`false`}})],pp.prototype,`spellcheck`,2),w([Et()],pp.prototype,`inputmode`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],pp.prototype,`handleDisabledChange`,1),w([hn(`step`,{waitUntilFirstUpdate:!0})],pp.prototype,`handleStepChange`,1),w([hn(`value`,{waitUntilFirstUpdate:!0})],pp.prototype,`handleValueChange`,1),pp.define(`sl-input`);var mp=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{assumeInteractionOn:[`click`]}),this.hasSlotController=new rn(this,`[default]`,`prefix`,`suffix`),this.localize=new mn(this),this.hasFocus=!1,this.invalid=!1,this.title=``,this.variant=`default`,this.size=`medium`,this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type=`button`,this.name=``,this.value=``,this.href=``,this.rel=`noreferrer noopener`}get validity(){return this.isButton()?this.button.validity:nn}get validationMessage(){return this.isButton()?this.button.validationMessage:``}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(){this.type===`submit`&&this.formControlController.submit(this),this.type===`reset`&&this.formControlController.reset(this)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?If`a`:If`button`;return Lf` + `}};kp.styles=[gn,Yt,cce],kp.dependencies={"sl-icon":ca},w([Ot(`.input__control`)],kp.prototype,`input`,2),w([Tt()],kp.prototype,`hasFocus`,2),w([E()],kp.prototype,`title`,2),w([E({reflect:!0})],kp.prototype,`type`,2),w([E()],kp.prototype,`name`,2),w([E()],kp.prototype,`value`,2),w([Jt()],kp.prototype,`defaultValue`,2),w([E({reflect:!0})],kp.prototype,`size`,2),w([E({type:Boolean,reflect:!0})],kp.prototype,`filled`,2),w([E({type:Boolean,reflect:!0})],kp.prototype,`pill`,2),w([E()],kp.prototype,`label`,2),w([E({attribute:`help-text`})],kp.prototype,`helpText`,2),w([E({type:Boolean})],kp.prototype,`clearable`,2),w([E({type:Boolean,reflect:!0})],kp.prototype,`disabled`,2),w([E()],kp.prototype,`placeholder`,2),w([E({type:Boolean,reflect:!0})],kp.prototype,`readonly`,2),w([E({attribute:`password-toggle`,type:Boolean})],kp.prototype,`passwordToggle`,2),w([E({attribute:`password-visible`,type:Boolean})],kp.prototype,`passwordVisible`,2),w([E({attribute:`no-spin-buttons`,type:Boolean})],kp.prototype,`noSpinButtons`,2),w([E({reflect:!0})],kp.prototype,`form`,2),w([E({type:Boolean,reflect:!0})],kp.prototype,`required`,2),w([E()],kp.prototype,`pattern`,2),w([E({type:Number})],kp.prototype,`minlength`,2),w([E({type:Number})],kp.prototype,`maxlength`,2),w([E()],kp.prototype,`min`,2),w([E()],kp.prototype,`max`,2),w([E()],kp.prototype,`step`,2),w([E()],kp.prototype,`autocapitalize`,2),w([E()],kp.prototype,`autocorrect`,2),w([E()],kp.prototype,`autocomplete`,2),w([E({type:Boolean})],kp.prototype,`autofocus`,2),w([E()],kp.prototype,`enterkeyhint`,2),w([E({type:Boolean,converter:{fromAttribute:e=>!(!e||e===`false`),toAttribute:e=>e?`true`:`false`}})],kp.prototype,`spellcheck`,2),w([E()],kp.prototype,`inputmode`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],kp.prototype,`handleDisabledChange`,1),w([hn(`step`,{waitUntilFirstUpdate:!0})],kp.prototype,`handleStepChange`,1),w([hn(`value`,{waitUntilFirstUpdate:!0})],kp.prototype,`handleValueChange`,1),kp.define(`sl-input`);var Ap=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{assumeInteractionOn:[`click`]}),this.hasSlotController=new rn(this,`[default]`,`prefix`,`suffix`),this.localize=new mn(this),this.hasFocus=!1,this.invalid=!1,this.title=``,this.variant=`default`,this.size=`medium`,this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type=`button`,this.name=``,this.value=``,this.href=``,this.rel=`noreferrer noopener`}get validity(){return this.isButton()?this.button.validity:nn}get validationMessage(){return this.isButton()?this.button.validationMessage:``}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleClick(){this.type===`submit`&&this.formControlController.submit(this),this.type===`reset`&&this.formControlController.reset(this)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(e){this.button.focus(e)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?$f`a`:$f`button`;return tp` <${t} part="base" class=${yn({button:!0,"button--default":this.variant===`default`,"button--primary":this.variant===`primary`,"button--success":this.variant===`success`,"button--neutral":this.variant===`neutral`,"button--warning":this.variant===`warning`,"button--danger":this.variant===`danger`,"button--text":this.variant===`text`,"button--small":this.size===`small`,"button--medium":this.size===`medium`,"button--large":this.size===`large`,"button--caret":this.caret,"button--circle":this.circle,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--loading":this.loading,"button--standard":!this.outline,"button--outline":this.outline,"button--pill":this.pill,"button--rtl":this.localize.dir()===`rtl`,"button--has-label":this.hasSlotController.test(`[default]`),"button--has-prefix":this.hasSlotController.test(`prefix`),"button--has-suffix":this.hasSlotController.test(`suffix`)})} @@ -8980,10 +9033,10 @@ - ${this.caret?Lf` `:``} - ${this.loading?Lf``:``} + ${this.caret?tp` `:``} + ${this.loading?tp``:``} - `}};mp.styles=[gn,Pf],mp.dependencies={"sl-icon":Yi,"sl-spinner":da},w([At(`.button`)],mp.prototype,`button`,2),w([Dt()],mp.prototype,`hasFocus`,2),w([Dt()],mp.prototype,`invalid`,2),w([Et()],mp.prototype,`title`,2),w([Et({reflect:!0})],mp.prototype,`variant`,2),w([Et({reflect:!0})],mp.prototype,`size`,2),w([Et({type:Boolean,reflect:!0})],mp.prototype,`caret`,2),w([Et({type:Boolean,reflect:!0})],mp.prototype,`disabled`,2),w([Et({type:Boolean,reflect:!0})],mp.prototype,`loading`,2),w([Et({type:Boolean,reflect:!0})],mp.prototype,`outline`,2),w([Et({type:Boolean,reflect:!0})],mp.prototype,`pill`,2),w([Et({type:Boolean,reflect:!0})],mp.prototype,`circle`,2),w([Et()],mp.prototype,`type`,2),w([Et()],mp.prototype,`name`,2),w([Et()],mp.prototype,`value`,2),w([Et()],mp.prototype,`href`,2),w([Et()],mp.prototype,`target`,2),w([Et()],mp.prototype,`rel`,2),w([Et()],mp.prototype,`download`,2),w([Et()],mp.prototype,`form`,2),w([Et({attribute:`formaction`})],mp.prototype,`formAction`,2),w([Et({attribute:`formenctype`})],mp.prototype,`formEnctype`,2),w([Et({attribute:`formmethod`})],mp.prototype,`formMethod`,2),w([Et({attribute:`formnovalidate`,type:Boolean})],mp.prototype,`formNoValidate`,2),w([Et({attribute:`formtarget`})],mp.prototype,`formTarget`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],mp.prototype,`handleDisabledChange`,1),mp.define(`sl-button`);var Yse=xe` + `}};Ap.styles=[gn,Zf],Ap.dependencies={"sl-icon":ca,"sl-spinner":wa},w([Ot(`.button`)],Ap.prototype,`button`,2),w([Tt()],Ap.prototype,`hasFocus`,2),w([Tt()],Ap.prototype,`invalid`,2),w([E()],Ap.prototype,`title`,2),w([E({reflect:!0})],Ap.prototype,`variant`,2),w([E({reflect:!0})],Ap.prototype,`size`,2),w([E({type:Boolean,reflect:!0})],Ap.prototype,`caret`,2),w([E({type:Boolean,reflect:!0})],Ap.prototype,`disabled`,2),w([E({type:Boolean,reflect:!0})],Ap.prototype,`loading`,2),w([E({type:Boolean,reflect:!0})],Ap.prototype,`outline`,2),w([E({type:Boolean,reflect:!0})],Ap.prototype,`pill`,2),w([E({type:Boolean,reflect:!0})],Ap.prototype,`circle`,2),w([E()],Ap.prototype,`type`,2),w([E()],Ap.prototype,`name`,2),w([E()],Ap.prototype,`value`,2),w([E()],Ap.prototype,`href`,2),w([E()],Ap.prototype,`target`,2),w([E()],Ap.prototype,`rel`,2),w([E()],Ap.prototype,`download`,2),w([E()],Ap.prototype,`form`,2),w([E({attribute:`formaction`})],Ap.prototype,`formAction`,2),w([E({attribute:`formenctype`})],Ap.prototype,`formEnctype`,2),w([E({attribute:`formmethod`})],Ap.prototype,`formMethod`,2),w([E({attribute:`formnovalidate`,type:Boolean})],Ap.prototype,`formNoValidate`,2),w([E({attribute:`formtarget`})],Ap.prototype,`formTarget`,2),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],Ap.prototype,`handleDisabledChange`,1),Ap.define(`sl-button`);var jp=xe` :host { display: inline-block; } @@ -9148,7 +9201,7 @@ background-color: ButtonText; } } -`,hp=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new rn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleClick(){this.checked=!this.checked,this.emit(`sl-change`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleKeyDown(e){e.key===`ArrowLeft`&&(e.preventDefault(),this.checked=!1,this.emit(`sl-change`),this.emit(`sl-input`)),e.key===`ArrowRight`&&(e.preventDefault(),this.checked=!0,this.emit(`sl-change`),this.emit(`sl-input`))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return T` +`,Mp=class extends vn{constructor(){super(...arguments),this.formControlController=new tn(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new rn(this,`help-text`),this.hasFocus=!1,this.title=``,this.name=``,this.size=`medium`,this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form=``,this.required=!1,this.helpText=``}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit(`sl-blur`)}handleInput(){this.emit(`sl-input`)}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}handleClick(){this.checked=!this.checked,this.emit(`sl-change`)}handleFocus(){this.hasFocus=!0,this.emit(`sl-focus`)}handleKeyDown(e){e.key===`ArrowLeft`&&(e.preventDefault(),this.checked=!1,this.emit(`sl-change`),this.emit(`sl-input`)),e.key===`ArrowRight`&&(e.preventDefault(),this.checked=!0,this.emit(`sl-change`),this.emit(`sl-input`))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e=this.hasSlotController.test(`help-text`),t=this.helpText?!0:!!e;return T`
@@ -9194,13 +9247,13 @@ ${this.helpText}
- `}};hp.styles=[gn,Yt,Yse],w([At(`input[type="checkbox"]`)],hp.prototype,`input`,2),w([Dt()],hp.prototype,`hasFocus`,2),w([Et()],hp.prototype,`title`,2),w([Et()],hp.prototype,`name`,2),w([Et()],hp.prototype,`value`,2),w([Et({reflect:!0})],hp.prototype,`size`,2),w([Et({type:Boolean,reflect:!0})],hp.prototype,`disabled`,2),w([Et({type:Boolean,reflect:!0})],hp.prototype,`checked`,2),w([Jt(`checked`)],hp.prototype,`defaultChecked`,2),w([Et({reflect:!0})],hp.prototype,`form`,2),w([Et({type:Boolean,reflect:!0})],hp.prototype,`required`,2),w([Et({attribute:`help-text`})],hp.prototype,`helpText`,2),w([hn(`checked`,{waitUntilFirstUpdate:!0})],hp.prototype,`handleCheckedChange`,1),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],hp.prototype,`handleDisabledChange`,1),hp.define(`sl-switch`);var gp=[`MODIFIED`,`ADDED`,`REMOVED`],_p=[`BREAKING`,`NON-BREAKING`],Xse={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function vp(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function yp(e,t,n,r){return{pointRadius:Array.from({length:e},(e,n)=>n===t?12:4),pointBackgroundColor:Array.from({length:e},(e,i)=>i===t?n:r),pointBorderColor:Array(e).fill(r),pointBorderWidth:Array.from({length:e},(e,n)=>n===t?3:1)}}var bp=class extends Ct{constructor(...e){super(...e),this.data=null,this.activeItemIndex=0,this.error=``,this.activeMainTab=`overview`,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[],this._graphNodeMap=new Map,this._cachedChartIndex=-1,this._cachedData=null,this._changeDataset=[],this._breakingDataset=[],this._overviewResizeObserver=null,this._chartsInitialized=!1,this._onThemeChange=()=>{requestAnimationFrame(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})},this.handleTabShow=e=>{this.onTabShow(e)},this._onTreeNodeClicked=e=>{this.handleTreeNodeClicked(e)}}static{this.styles=Yf}get _chartPointIndex(){let e=this.data?.history?.changeData?.labels?.length??0;return e>0?e-1-this.activeItemIndex:0}connectedCallback(){super.connectedCallback(),this.loadData(),this.addEventListener(wn,this._onTreeNodeClicked),window.addEventListener(`pb33f-theme-change`,this._onThemeChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(wn,this._onTreeNodeClicked),window.removeEventListener(`pb33f-theme-change`,this._onThemeChange),this._overviewResizeObserver?.disconnect()}loadData(){try{let e=document.getElementById(`report-data`);if(e?.textContent){this.data=JSON.parse(e.textContent);return}if(window.__REPORT_DATA__){this.data=window.__REPORT_DATA__;return}this.error=`No report data found`}catch(e){this.error=`Failed to parse report data: ${e}`}}get activeItem(){return this.data?.items?.length&&this.data.items[this.activeItemIndex]||null}get isMultiCommit(){return(this.data?.items?.length??0)>1}selectItem(e){this.activeItemIndex=e,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[]}selectNode(e){this.selectedNodeId=e;let t=this._graphNodeMap.get(e);t?(this.selectedNodeChanges=t.timeline||[],this.selectedDiffChanges=t.timeline||[]):(this.selectedNodeChanges=[],this.selectedDiffChanges=[])}updateModelTree(){let e=this.activeItem;if(!this.modelTree||!e?.graph?.nodes)return;let t=new Map;for(let n of e.graph.nodes)t.set(n.id,n);this._graphNodeMap=t,this.modelTree.nodeMap=t,this.modelTree.node=t.get(`root`)||null,this.modelTree.changesEnabled=!0,this.modelTree.violationMap=new Map}updateBeefyChart(){if(!this.beefyChart||!this.data?.history?.changeData)return;let e=this.data.history.changeData,t=e.labels.length,n=this._chartPointIndex,r=this.beefyChart.background||`#1a1e2e`,i=document.documentElement.getAttribute(`theme`)===`light`,a={ok:`#000`,tertiary:`#999`,error:`#555`};this.beefyChart.datasets=e.datasets.map(e=>{let o=Xse[e.label]||``,s=i?a[o]||`#666`:e.borderColor||o&&this.beefyChart[o]||`#888`;return{...e,borderColor:s,borderWidth:3,tension:0,fill:!1,pointStyle:`rect`,...yp(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>vp(e)),this.beefyChart.buildChart(),requestAnimationFrame(()=>this._drawActiveGlow())}_drawActiveGlow(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=e.ctx;for(let r of e.getSortedVisibleDatasetMetas()){let i=r.data[t];if(!i)continue;let a=e.data.datasets[r.index]?.borderColor||`#fff`;for(let e=0;e<5;e++)n.save(),n.shadowColor=a,n.shadowBlur=25+e*12,n.strokeStyle=a,n.lineWidth=2,n.globalAlpha=.9,n.strokeRect(i.x-12,i.y-12,24,24),n.restore()}}updateBeefyChartHighlight(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=this.beefyChart.background||`#1a1e2e`;for(let r of e.data.datasets){let e=r.data.length;Object.assign(r,yp(e,t,n,r.borderColor))}e.update(`none`),requestAnimationFrame(()=>this._drawActiveGlow())}willUpdate(e){(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateChartData()}updated(e){super.updated(e),(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateComplete.then(()=>{this.onDataOrIndexChanged(e),this._upgradeReportIcons()})}_upgradeReportIcons(){let e=this.renderRoot.querySelectorAll(`.change-report pb33f-model-icon`);for(let t of e)t.getAttribute(`size`)!==`medium`&&t.setAttribute(`size`,`medium`)}onDataOrIndexChanged(e){this.updateModelTree(),e.has(`data`)&&requestAnimationFrame(()=>{this.mainTabGroup&&this.mainTabGroup.show(`overview`),this._observeOverviewPanel()}),e.has(`activeItemIndex`)&&this._chartsInitialized&&this.updateBeefyChartHighlight()}_observeOverviewPanel(){if(this._overviewResizeObserver)return;let e=this.renderRoot.querySelector(`.overview-content`);e&&(this._overviewResizeObserver=new ResizeObserver(e=>{for(let t of e)t.contentRect.width>0&&t.contentRect.height>0&&!this._chartsInitialized&&(this._chartsInitialized=!0,this.updateBeefyChart(),this.resizeDoughnutCharts())}),this._overviewResizeObserver.observe(e))}onTabShow(e){this.activeMainTab=e.detail.name,e.detail.name===`overview`&&this.updateComplete.then(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})}resizeDoughnutCharts(){let e=this.renderRoot.querySelectorAll(`pb33f-doughnut-chart`);for(let t of e)t.chart?.resize()}updateChartData(){if(this._cachedChartIndex===this.activeItemIndex&&this._cachedData===this.data)return;this._cachedChartIndex=this.activeItemIndex,this._cachedData=this.data;let e=this.activeItem;e&&(this._changeDataset=[{labels:gp,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:_p,data:[e.summary.breakingChanges||0,(e.summary.totalChanges||0)-(e.summary.breakingChanges||0)]}])}handleTreeNodeClicked(e){let{changes:t}=e.detail;t&&t.length>0&&this.navigateToDiffForChanges(t)}navigateToDiffForChanges(e){!e||e.length===0||(this.selectedDiffChanges=[...e],this.mainTabGroup&&this.mainTabGroup.show(`diff`))}renderNavigator(){return T` + `}};Mp.styles=[gn,Yt,jp],w([Ot(`input[type="checkbox"]`)],Mp.prototype,`input`,2),w([Tt()],Mp.prototype,`hasFocus`,2),w([E()],Mp.prototype,`title`,2),w([E()],Mp.prototype,`name`,2),w([E()],Mp.prototype,`value`,2),w([E({reflect:!0})],Mp.prototype,`size`,2),w([E({type:Boolean,reflect:!0})],Mp.prototype,`disabled`,2),w([E({type:Boolean,reflect:!0})],Mp.prototype,`checked`,2),w([Jt(`checked`)],Mp.prototype,`defaultChecked`,2),w([E({reflect:!0})],Mp.prototype,`form`,2),w([E({type:Boolean,reflect:!0})],Mp.prototype,`required`,2),w([E({attribute:`help-text`})],Mp.prototype,`helpText`,2),w([hn(`checked`,{waitUntilFirstUpdate:!0})],Mp.prototype,`handleCheckedChange`,1),w([hn(`disabled`,{waitUntilFirstUpdate:!0})],Mp.prototype,`handleDisabledChange`,1),Mp.define(`sl-switch`);var Np=[`MODIFIED`,`ADDED`,`REMOVED`],Pp=[`BREAKING`,`NON-BREAKING`],lce={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function Fp(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function Ip(e,t,n,r){return{pointRadius:Array.from({length:e},(e,n)=>n===t?12:4),pointBackgroundColor:Array.from({length:e},(e,i)=>i===t?n:r),pointBorderColor:Array(e).fill(r),pointBorderWidth:Array.from({length:e},(e,n)=>n===t?3:1)}}var Lp=class extends St{constructor(...e){super(...e),this.data=null,this.activeItemIndex=0,this.error=``,this.activeMainTab=`overview`,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[],this._graphNodeMap=new Map,this._cachedChartIndex=-1,this._cachedData=null,this._changeDataset=[],this._breakingDataset=[],this._overviewResizeObserver=null,this._chartsInitialized=!1,this._onThemeChange=()=>{requestAnimationFrame(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})},this.handleTabShow=e=>{this.onTabShow(e)},this._onTreeNodeClicked=e=>{this.handleTreeNodeClicked(e)}}static{this.styles=fp}get _chartPointIndex(){let e=this.data?.history?.changeData?.labels?.length??0;return e>0?e-1-this.activeItemIndex:0}connectedCallback(){super.connectedCallback(),this.loadData(),this.addEventListener(wn,this._onTreeNodeClicked),window.addEventListener(`pb33f-theme-change`,this._onThemeChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(wn,this._onTreeNodeClicked),window.removeEventListener(`pb33f-theme-change`,this._onThemeChange),this._overviewResizeObserver?.disconnect()}loadData(){try{let e=document.getElementById(`report-data`);if(e?.textContent){this.data=JSON.parse(e.textContent);return}if(window.__REPORT_DATA__){this.data=window.__REPORT_DATA__;return}this.error=`No report data found`}catch(e){this.error=`Failed to parse report data: ${e}`}}get activeItem(){return this.data?.items?.length&&this.data.items[this.activeItemIndex]||null}get isMultiCommit(){return(this.data?.items?.length??0)>1}selectItem(e){this.activeItemIndex=e,this.selectedDiffChanges=[],this.selectedNodeId=null,this.selectedNodeChanges=[]}selectNode(e){this.selectedNodeId=e;let t=this._graphNodeMap.get(e);t?(this.selectedNodeChanges=t.timeline||[],this.selectedDiffChanges=t.timeline||[]):(this.selectedNodeChanges=[],this.selectedDiffChanges=[])}updateModelTree(){let e=this.activeItem;if(!this.modelTree||!e?.graph?.nodes)return;let t=new Map;for(let n of e.graph.nodes)t.set(n.id,n);this._graphNodeMap=t,this.modelTree.nodeMap=t,this.modelTree.node=t.get(`root`)||null,this.modelTree.changesEnabled=!0,this.modelTree.violationMap=new Map}updateBeefyChart(){if(!this.beefyChart||!this.data?.history?.changeData)return;let e=this.data.history.changeData,t=e.labels.length,n=this._chartPointIndex,r=this.beefyChart.background||`#1a1e2e`,i=document.documentElement.getAttribute(`theme`)===`light`,a={ok:`#000`,tertiary:`#999`,error:`#555`};this.beefyChart.datasets=e.datasets.map(e=>{let o=lce[e.label]||``,s=i?a[o]||`#666`:e.borderColor||o&&this.beefyChart[o]||`#888`;return{...e,borderColor:s,borderWidth:3,tension:0,fill:!1,pointStyle:`rect`,...Ip(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>Fp(e)),this.beefyChart.buildChart(),requestAnimationFrame(()=>this._drawActiveGlow())}_drawActiveGlow(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=e.ctx;for(let r of e.getSortedVisibleDatasetMetas()){let i=r.data[t];if(!i)continue;let a=e.data.datasets[r.index]?.borderColor||`#fff`;for(let e=0;e<5;e++)n.save(),n.shadowColor=a,n.shadowBlur=25+e*12,n.strokeStyle=a,n.lineWidth=2,n.globalAlpha=.9,n.strokeRect(i.x-12,i.y-12,24,24),n.restore()}}updateBeefyChartHighlight(){let e=this.beefyChart?.chart;if(!e)return;let t=this._chartPointIndex,n=this.beefyChart.background||`#1a1e2e`;for(let r of e.data.datasets){let e=r.data.length;Object.assign(r,Ip(e,t,n,r.borderColor))}e.update(`none`),requestAnimationFrame(()=>this._drawActiveGlow())}willUpdate(e){(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateChartData()}updated(e){super.updated(e),(e.has(`activeItemIndex`)||e.has(`data`))&&this.updateComplete.then(()=>{this.onDataOrIndexChanged(e),this._upgradeReportIcons()})}_upgradeReportIcons(){let e=this.renderRoot.querySelectorAll(`.change-report pb33f-model-icon`);for(let t of e)t.getAttribute(`size`)!==`medium`&&t.setAttribute(`size`,`medium`)}onDataOrIndexChanged(e){this.updateModelTree(),e.has(`data`)&&requestAnimationFrame(()=>{this.mainTabGroup&&this.mainTabGroup.show(`overview`),this._observeOverviewPanel()}),e.has(`activeItemIndex`)&&this._chartsInitialized&&this.updateBeefyChartHighlight()}_observeOverviewPanel(){if(this._overviewResizeObserver)return;let e=this.renderRoot.querySelector(`.overview-content`);e&&(this._overviewResizeObserver=new ResizeObserver(e=>{for(let t of e)t.contentRect.width>0&&t.contentRect.height>0&&!this._chartsInitialized&&(this._chartsInitialized=!0,this.updateBeefyChart(),this.resizeDoughnutCharts())}),this._overviewResizeObserver.observe(e))}onTabShow(e){this.activeMainTab=e.detail.name,e.detail.name===`overview`&&this.updateComplete.then(()=>{this.updateBeefyChart(),this.resizeDoughnutCharts()})}resizeDoughnutCharts(){let e=this.renderRoot.querySelectorAll(`pb33f-doughnut-chart`);for(let t of e)t.chart?.resize()}updateChartData(){if(this._cachedChartIndex===this.activeItemIndex&&this._cachedData===this.data)return;this._cachedChartIndex=this.activeItemIndex,this._cachedData=this.data;let e=this.activeItem;e&&(this._changeDataset=[{labels:Np,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:Pp,data:[e.summary.breakingChanges||0,(e.summary.totalChanges||0)-(e.summary.breakingChanges||0)]}])}handleTreeNodeClicked(e){let{changes:t}=e.detail;t&&t.length>0&&this.navigateToDiffForChanges(t)}navigateToDiffForChanges(e){!e||e.length===0||(this.selectedDiffChanges=[...e],this.mainTabGroup&&this.mainTabGroup.show(`diff`))}renderNavigator(){return T` `}renderSummary(){let e=this.activeItem;return e?T`
${(e.summary.breakingChanges||0)>0?T` - `:ct} + `:ot}
- `:ct}renderHistoryChart(){if(!this.isMultiCommit||!this.data?.history?.changeData)return ct;let e=this.data.history.changeData,t=e.labels.map(e=>vp(e));return T` + `:ot}renderHistoryChart(){if(!this.isMultiCommit||!this.data?.history?.changeData)return ot;let e=this.data.history.changeData,t=e.labels.map(e=>Fp(e));return T`

Change History Chart

${e.commit.hash.substring(0,8)} ${e.commit.message||`No message`} - ${e.commit.author?T`${e.commit.author}`:ct} + ${e.commit.author?T`${e.commit.author}`:ot} ${new Date(e.commit.date).toLocaleString(void 0,{month:`short`,day:`numeric`,year:`numeric`,hour:`2-digit`,minute:`2-digit`})}
${this.renderSummary()} ${this.renderHistoryChart()} - `:ct}renderHtmlReport(e){return e.htmlReport?T`
${It(e.htmlReport)}
`:T`

No report available

`}renderCombinedReport(e){return T` + `:ot}renderHtmlReport(e){return e.htmlReport?T`
${Pt(e.htmlReport)}
`:T`

No report available

`}renderCombinedReport(e){return T`
${this.data?.originalPath&&this.data?.modifiedPath?T`
@@ -9287,7 +9340,7 @@ Modified: ${this.data.modifiedPath}
- `:ct} + `:ot} ${this.renderSummary()} ${this.renderHtmlReport(e)}
@@ -9312,7 +9365,7 @@ ${this.renderHtmlReport(e)} - `:ct} + `:ot} @@ -9334,11 +9387,11 @@ > - `}renderExtraTabNavs(){return ct}renderExtraTabPanels(){return ct}render(){if(this.error)return T`
${this.error}
`;if(!this.data)return T`
Loading...
`;if(!this.data.items.length)return T`
No changes found
`;let e=this.activeItem;return T` + `}renderExtraTabNavs(){return ot}renderExtraTabPanels(){return ot}render(){if(this.error)return T`
${this.error}
`;if(!this.data)return T`
Loading...
`;if(!this.data.items.length)return T`
No changes found
`;let e=this.activeItem;return T`
- ${this.data?.appVersion?T`v${this.data.appVersion}`:ct} + ${this.data?.appVersion?T`v${this.data.appVersion}`:ot}
@@ -9360,32 +9413,32 @@ url="https://pb33f.io/openapi-changes/" .build=${`Generated `+new Date(this.data?.dateGenerated||``).toLocaleString()}> - `}};Xf([Dt()],bp.prototype,`data`,void 0),Xf([Dt()],bp.prototype,`activeItemIndex`,void 0),Xf([Dt()],bp.prototype,`error`,void 0),Xf([Dt()],bp.prototype,`activeMainTab`,void 0),Xf([Dt()],bp.prototype,`selectedDiffChanges`,void 0),Xf([Dt()],bp.prototype,`selectedNodeId`,void 0),Xf([Dt()],bp.prototype,`selectedNodeChanges`,void 0),Xf([At(`.navigator-panel pb33f-model-tree`)],bp.prototype,`modelTree`,void 0),Xf([At(`pb33f-chart`)],bp.prototype,`beefyChart`,void 0),Xf([At(`.tab-content > sl-tab-group`)],bp.prototype,`mainTabGroup`,void 0);var Zse=c(o(((e,t)=>{(function(n){if(typeof e==`object`&&t!==void 0)t.exports=n();else if(typeof define==`function`&&define.amd)define([],n);else{var r=typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this;r.ELK=n()}})(function(){return(function(){function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof require==`function`&&require;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var l=Error(`Cannot find module '`+o+`'`);throw l.code=`MODULE_NOT_FOUND`,l}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var a=typeof require==`function`&&require,o=0;o0&&arguments[0]!==void 0?arguments[0]:{},r=n.defaultLayoutOptions,o=r===void 0?{}:r,s=n.algorithms,c=s===void 0?[`layered`,`stress`,`mrtree`,`radial`,`force`,`disco`,`sporeOverlap`,`sporeCompaction`,`rectpacking`]:s,l=n.workerFactory,u=n.workerUrl;if(i(this,e),this.defaultLayoutOptions=o,this.initialized=!1,u===void 0&&l===void 0)throw Error(`Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.`);var d=l;u!==void 0&&l===void 0&&(d=function(e){return new Worker(e)});var f=d(u);if(typeof f.postMessage!=`function`)throw TypeError(`Created worker does not provide the required 'postMessage' function.`);this.worker=new a(f),this.worker.postMessage({cmd:`register`,algorithms:c}).then(function(e){return t.initialized=!0}).catch(console.err)}return r(e,[{key:`layout`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.layoutOptions,r=n===void 0?this.defaultLayoutOptions:n,i=t.logging,a=i===void 0?!1:i,o=t.measureExecutionTime,s=o===void 0?!1:o;return e?this.worker.postMessage({cmd:`layout`,graph:e,layoutOptions:r,options:{logging:a,measureExecutionTime:s}}):Promise.reject(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()}}]),e}();var a=function(){function e(t){var n=this;if(i(this,e),t===void 0)throw Error(`Missing mandatory parameter 'worker'.`);this.resolvers={},this.worker=t,this.worker.onmessage=function(e){setTimeout(function(){n.receive(n,e)},0)}}return r(e,[{key:`postMessage`,value:function(e){var t=this.id||0;this.id=t+1,e.id=t;var n=this;return new Promise(function(r,i){n.resolvers[t]=function(e,t){e?(n.convertGwtStyleError(e),i(e)):r(t)},n.worker.postMessage(e)})}},{key:`receive`,value:function(e,t){var n=t.data,r=e.resolvers[n.id];r&&(delete e.resolvers[n.id],n.error?r(n.error):r(null,n.data))}},{key:`terminate`,value:function(){this.worker&&this.worker.terminate()}},{key:`convertGwtStyleError`,value:function(e){if(e){var t=e.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(e.cause=t.cause.backingJsObject,this.convertGwtStyleError(e.cause)),delete e.__java$exception)}}}]),e}()},{}],2:[function(e,t,n){(function(e){(function(){"use strict";var r;typeof window<`u`?r=window:e===void 0?typeof self<`u`&&(r=self):r=e;var i;function a(){}function o(){}function s(){}function c(){}function l(){}function u(){}function d(){}function f(){}function p(){}function m(){}function h(){}function g(){}function _(){}function v(){}function y(){}function b(){}function x(){}function S(){}function ee(){}function te(){}function ne(){}function C(){}function re(){}function ie(){}function ae(){}function oe(){}function se(){}function w(){}function ce(){}function le(){}function ue(){}function de(){}function fe(){}function pe(){}function me(){}function he(){}function ge(){}function _e(){}function ve(){}function ye(){}function be(){}function xe(){}function Se(){}function Ce(){}function we(){}function Te(){}function Ee(){}function De(){}function Oe(){}function ke(){}function Ae(){}function je(){}function Me(){}function Ne(){}function Pe(){}function Fe(){}function Ie(){}function Le(){}function Re(){}function ze(){}function Be(){}function Ve(){}function He(){}function Ue(){}function We(){}function Ge(){}function eee(){}function Ke(){}function qe(){}function Je(){}function Ye(){}function Xe(){}function Ze(){}function Qe(){}function $e(){}function et(){}function tt(){}function nt(){}function rt(){}function it(){}function at(){}function T(){}function ot(){}function st(){}function ct(){}function tee(){}function lt(){}function ut(){}function dt(){}function ft(){}function pt(){}function mt(){}function ht(){}function gt(){}function _t(){}function vt(){}function yt(){}function bt(){}function xt(){}function nee(){}function ree(){}function St(){}function Ct(){}function iee(){}function wt(){}function Tt(){}function aee(){}function Et(){}function Dt(){}function Ot(){}function kt(){}function At(){}function oee(){}function jt(){}function Mt(){}function Nt(){}function Pt(){}function Ft(){}function It(){}function see(){}function cee(){}function lee(){}function uee(){}function dee(){}function Lt(){}function Rt(){}function fee(){}function zt(){}function pee(){}function Bt(){}function Vt(){}function Ht(){}function Ut(){}function Wt(){}function Gt(){}function Kt(){}function qt(){}function mee(){}function Jt(){}function Yt(){}function Xt(){}function Zt(){}function Qt(){}function $t(){}function en(){}function tn(){}function nn(){}function hee(){}function gee(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function ln(){}function un(){}function dn(){}function fn(){}function _ee(){}function pn(){}function vee(){}function mn(){}function hn(){}function gn(){}function _n(){}function vn(){}function yn(){}function bn(){}function xn(){}function Sn(){}function Cn(){}function wn(){}function yee(){}function Tn(){}function En(){}function Dn(){}function On(){}function kn(){}function An(){}function jn(){}function Mn(){}function Nn(){}function Pn(){}function Fn(){}function In(){}function Ln(){}function bee(){}function Rn(){}function zn(){}function xee(){}function Bn(){}function See(){}function Cee(){}function wee(){}function Vn(){}function Hn(){}function Un(){}function Wn(){}function Gn(){}function Tee(){}function Kn(){}function qn(){}function Jn(){}function Yn(){}function Xn(){}function Zn(){}function Qn(){}function $n(){}function Eee(){}function Dee(){}function er(){}function tr(){}function nr(){}function Oee(){}function kee(){}function Aee(){}function jee(){}function rr(){}function Mee(){}function ir(){}function ar(){}function or(){}function Nee(){}function Pee(){}function Fee(){}function Iee(){}function Lee(){}function Ree(){}function zee(){}function Bee(){}function Vee(){}function Hee(){}function sr(){}function cr(){}function lr(){}function ur(){}function dr(){}function fr(){}function pr(){}function mr(){}function hr(){}function Uee(){}function gr(){}function Wee(){}function _r(){}function vr(){}function yr(){}function br(){}function Gee(){}function xr(){}function Sr(){}function Cr(){}function wr(){}function Tr(){}function Er(){}function Dr(){}function Or(){}function kr(){}function Ar(){}function jr(){}function Kee(){}function Mr(){}function qee(){}function Nr(){}function Pr(){}function Fr(){}function Jee(){}function Yee(){}function Xee(){}function Ir(){}function Zee(){}function Qee(){}function Lr(){}function $ee(){}function ete(){}function tte(){}function nte(){}function rte(){}function Rr(){}function ite(){}function ate(){}function ote(){}function ste(){}function zr(){}function Br(){}function cte(){}function lte(){}function ute(){}function dte(){}function fte(){}function Vr(){}function pte(){}function mte(){}function hte(){}function Hr(){}function gte(){}function _te(){}function Ur(){}function Wr(){}function Gr(){}function vte(){}function E(){}function Kr(){}function qr(){}function Jr(){}function Yr(){}function Xr(){}function Zr(){}function Qr(){}function $r(){}function ei(){}function ti(){}function ni(){}function yte(){}function ri(){}function ii(){}function bte(){}function xte(){}function ai(){}function oi(){}function si(){}function Ste(){}function ci(){}function li(){}function ui(){}function di(){}function Cte(){}function fi(){}function wte(){}function pi(){}function Tte(){}function mi(){}function Ete(){}function hi(){}function Dte(){}function gi(){}function _i(){}function vi(){}function yi(){}function bi(){}function xi(){}function Si(){}function Ci(){}function wi(){}function Ote(){}function Ti(){}function kte(){}function Ei(){}function Ate(){}function Di(){}function jte(){}function Oi(){}function ki(){}function Ai(){}function ji(){}function Mte(){}function Mi(){}function Nte(){}function Ni(){}function Pte(){}function Pi(){}function Fte(){}function Fi(){}function Ite(){}function Ii(){}function Lte(){}function Li(){}function Rte(){}function zte(){}function Ri(){}function Bte(){}function zi(){}function Vte(){}function Bi(){}function Hte(){}function Ute(){}function Vi(){}function Wte(){}function Gte(){}function Kte(){}function qte(){}function Jte(){}function Yte(){}function Xte(){}function Zte(){}function Qte(){}function Hi(){}function Ui(){}function Wi(){}function Gi(){}function $te(){}function ene(){}function Ki(){}function qi(){}function tne(){}function Ji(){}function Yi(){}function Xi(){}function Zi(){}function nne(){}function Qi(){}function $i(){}function rne(){}function ea(){}function ta(){}function na(){}function ra(){}function ia(){}function aa(){}function oa(){}function ine(){}function ane(){}function sa(){}function ca(){}function la(){}function one(){}function sne(){}function ua(){}function cne(){}function da(){}function fa(){}function lne(){}function une(){}function pa(){}function ma(){}function ha(){}function ga(){}function _a(){}function dne(){}function va(){}function ya(){}function ba(){}function xa(){}function Sa(){}function fne(){}function Ca(){}function wa(){}function Ta(){}function pne(){}function mne(){}function hne(){}function Ea(){}function Da(){}function gne(){}function Oa(){}function ka(){}function Aa(){}function ja(){}function Ma(){}function Na(){}function Pa(){}function Fa(){}function Ia(){}function _ne(){}function vne(){}function La(){}function yne(){}function bne(){}function xne(){}function Sne(){}function Cne(){}function Ra(){}function wne(){}function Tne(){}function Ene(){}function za(){}function Ba(){}function Va(){}function Ha(){}function Dne(){}function Ua(){}function One(){}function kne(){}function Ane(){}function jne(){}function Mne(){}function Nne(){}function Wa(){}function Pne(){}function Fne(){}function Ine(){}function Lne(){}function Ga(){}function Ka(){}function Rne(){}function qa(){}function Ja(){}function Ya(){}function zne(){}function Xa(){}function Za(){}function Bne(){}function Qa(){}function $a(){}function eo(){}function to(){}function no(){}function ro(){}function Vne(){}function io(){}function ao(){}function oo(){}function so(){}function co(){}function lo(){}function Hne(){}function uo(){}function fo(){}function Une(){}function po(){}function Wne(){}function Gne(){}function mo(){}function ho(){}function go(){}function _o(){}function vo(){}function Kne(){}function yo(){}function bo(){}function qne(){}function xo(){}function Jne(){}function So(){}function Co(){}function wo(){}function To(){}function Eo(){}function Do(){}function Oo(){}function ko(){}function Yne(){}function Ao(){}function Xne(){}function jo(){}function Mo(){}function No(){}function Po(){}function Fo(){}function Io(){}function Zne(){}function Lo(){}function Ro(){}function zo(){}function Qne(){}function Bo(){}function Vo(){}function Ho(){}function $ne(){}function Uo(){}function Wo(){}function Go(){}function Ko(){}function qo(){}function Jo(){}function Yo(){}function Xo(){}function Zo(){}function Qo(){}function ere(){}function $o(){}function es(){}function ts(){}function ns(){}function rs(){}function is(){}function as(){}function os(){}function ss(){}function tre(){}function nre(){}function rre(){}function cs(){}function ls(){}function ire(){}function us(){}function ds(){}function are(){}function fs(){}function ore(){}function ps(){}function ms(){}function hs(){}function gs(){}function _s(){}function sre(){}function vs(){}function cre(){}function ys(){}function bs(){}function xs(){}function Ss(){}function Cs(){}function ws(){}function Ts(){}function lre(){}function ure(){}function dre(){}function fre(){}function pre(){}function Es(){}function Ds(){}function mre(){}function hre(){}function gre(){}function _re(){}function Os(){}function ks(){}function As(){}function js(){}function Ms(){}function Ns(){}function vre(){}function Ps(){}function Fs(){}function Is(){}function Ls(){}function yre(){}function Rs(){}function zs(){}function bre(){}function xre(){}function Sre(){}function Bs(){}function Cre(){}function wre(){}function Vs(){}function Hs(){}function Tre(){}function Ere(){}function Us(){}function Ws(){}function Dre(){}function Gs(){}function Ore(){}function Ks(){}function qs(){}function kre(){}function Are(){}function jre(){}function Mre(){}function Js(){}function Nre(){}function Pre(){}function Ys(){}function Xs(){}function Zs(){}function Qs(){}function Fre(){}function Ire(){}function $s(){}function Lre(){}function Rre(){}function ec(){}function zre(){}function tc(){}function Bre(){}function nc(){}function Vre(){}function rc(){}function ic(){}function Hre(){}function Ure(){}function Wre(){}function Gre(){}function ac(){}function oc(){}function sc(){}function cc(){}function lc(){}function Kre(){}function uc(){}function dc(){}function qre(){}function Jre(){}function fc(){}function pc(){}function Yre(){}function mc(){Dp()}function Xre(){Mh()}function hc(){AF()}function Zre(){Bj()}function gc(){yP()}function _c(){W4e()}function vc(){FR()}function Qre(){c$e()}function $re(){TF()}function yc(){Nh()}function eie(){Ub()}function tie(){Rde()}function bc(){aA()}function nie(){WIe()}function rie(){uVe()}function xc(){lje()}function Sc(){fVe()}function iie(){LLe()}function Cc(){sje()}function aie(){Oj()}function oie(){mVe()}function sie(){pVe()}function wc(){TNe()}function Tc(){hVe()}function Ec(){gI()}function cie(){Fh()}function lie(){Zft()}function Dc(){Zz()}function Oc(){gVe()}function kc(){MHe()}function uie(){uje()}function Ac(){m$e()}function die(){dje()}function fie(){Git()}function pie(){J5e()}function mie(){HO()}function hie(){pqe()}function gie(){HR()}function _ie(){Yje()}function jc(){VO()}function vie(){uit()}function yie(){EI()}function bie(){pit()}function xie(){sR()}function Sie(){dI()}function Cie(){art()}function wie(){JP()}function Mc(){Hbe()}function Tie(){OD()}function Eie(){fI()}function Nc(){eB()}function Die(){kj()}function Oie(){SYe()}function kie(){oA()}function Pc(){nz()}function Aie(){Uat()}function jie(e){kC(e)}function Fc(e){this.a=e}function Ic(e){this.a=e}function Lc(e){this.a=e}function Mie(e){this.a=e}function Nie(e){this.a=e}function Rc(e){this.a=e}function zc(e){this.a=e}function Pie(e){this.a=e}function Bc(e){this.a=e}function Vc(e){this.a=e}function Hc(e){this.a=e}function Uc(e){this.a=e}function Wc(e){this.a=e}function Fie(e){this.a=e}function Iie(e){this.a=e}function Gc(e){this.a=e}function Kc(e){this.a=e}function qc(e){this.a=e}function Jc(e){this.a=e}function Lie(e){this.a=e}function Rie(e){this.a=e}function Yc(e){this.a=e}function Xc(e){this.b=e}function Zc(e){this.c=e}function Qc(e){this.a=e}function $c(e){this.a=e}function zie(e){this.a=e}function el(e){this.a=e}function Bie(e){this.a=e}function tl(e){this.a=e}function Vie(e){this.a=e}function nl(e){this.a=e}function Hie(e){this.a=e}function Uie(e){this.a=e}function Wie(e){this.a=e}function rl(e){this.a=e}function Gie(e){this.a=e}function il(e){this.a=e}function al(e){this.a=e}function ol(e){this.a=e}function sl(e){this.a=e}function cl(){this.a=[]}function Kie(e,t){e.a=t}function qie(e,t){e.a=t}function ll(e,t){e.b=t}function Jie(e,t){e.b=t}function Yie(e,t){e.b=t}function Xie(e,t){e.j=t}function ul(e,t){e.g=t}function Zie(e,t){e.i=t}function Qie(e,t){e.c=t}function $ie(e,t){e.c=t}function eae(e,t){e.d=t}function tae(e,t){e.d=t}function dl(e,t){e.k=t}function nae(e,t){e.c=t}function rae(e,t){e.c=t}function fl(e,t){e.a=t}function iae(e,t){e.a=t}function aae(e,t){e.f=t}function oae(e,t){e.a=t}function sae(e,t){e.b=t}function pl(e,t){e.d=t}function ml(e,t){e.i=t}function hl(e,t){e.o=t}function cae(e,t){e.r=t}function lae(e,t){e.a=t}function uae(e,t){e.b=t}function gl(e,t){e.e=t}function _l(e,t){e.f=t}function vl(e,t){e.g=t}function dae(e,t){e.e=t}function fae(e,t){e.f=t}function yl(e,t){e.f=t}function bl(e,t){e.a=t}function xl(e,t){e.b=t}function pae(e,t){e.n=t}function mae(e,t){e.a=t}function hae(e,t){e.c=t}function Sl(e,t){e.c=t}function gae(e,t){e.c=t}function _ae(e,t){e.a=t}function vae(e,t){e.a=t}function yae(e,t){e.d=t}function Cl(e,t){e.d=t}function bae(e,t){e.e=t}function xae(e,t){e.e=t}function Sae(e,t){e.g=t}function Cae(e,t){e.f=t}function wae(e,t){e.j=t}function Tae(e,t){e.a=t}function Eae(e,t){e.a=t}function Dae(e,t){e.b=t}function wl(e){e.b=e.a}function Tl(e){e.c=e.d.d}function El(e){this.a=e}function Dl(e){this.a=e}function Ol(e){this.a=e}function kl(e){this.a=e}function Al(e){this.a=e}function jl(e){this.a=e}function Oae(e){this.a=e}function Ml(e){this.a=e}function Nl(e){this.a=e}function Pl(e){this.a=e}function Fl(e){this.a=e}function Il(e){this.a=e}function Ll(e){this.a=e}function kae(e){this.a=e}function Rl(e){this.b=e}function zl(e){this.b=e}function Bl(e){this.b=e}function Vl(e){this.a=e}function Aae(e){this.a=e}function Hl(e){this.c=e}function D(e){this.c=e}function Ul(e){this.c=e}function Wl(e){this.d=e}function Gl(e){this.a=e}function Kl(e){this.a=e}function jae(e){this.a=e}function ql(e){this.a=e}function Jl(e){this.a=e}function Yl(e){this.a=e}function Xl(e){this.a=e}function Zl(e){this.a=e}function Ql(e){this.a=e}function $l(e){this.a=e}function Mae(e){this.a=e}function Nae(e){this.a=e}function eu(e){this.a=e}function Pae(e){this.a=e}function Fae(e){this.a=e}function tu(e){this.a=e}function nu(e){this.a=e}function Iae(e){this.a=e}function ru(e){this.a=e}function iu(e){this.a=e}function Lae(e){this.a=e}function Rae(e){this.a=e}function zae(e){this.a=e}function au(e){this.a=e}function Bae(e){this.a=e}function Vae(e){this.a=e}function ou(e){this.a=e}function Hae(e){this.a=e}function su(e){this.a=e}function cu(e){this.a=e}function lu(e){this.a=e}function uu(e){this.a=e}function Uae(e){this.a=e}function du(e){this.a=e}function Wae(e){this.a=e}function Gae(e){this.a=e}function fu(e){this.a=e}function pu(e){this.a=e}function Kae(e){this.a=e}function qae(e){this.a=e}function Jae(e){this.a=e}function Yae(e){this.a=e}function mu(e){this.a=e}function hu(e){this.a=e}function gu(e){this.a=e}function _u(e){this.a=e}function vu(e){this.a=e}function yu(e){this.a=e}function bu(e){this.e=e}function xu(e){this.a=e}function Su(e){this.a=e}function Cu(e){this.a=e}function wu(e){this.a=e}function Xae(e){this.a=e}function Zae(e){this.a=e}function Qae(e){this.a=e}function $ae(e){this.a=e}function eoe(e){this.a=e}function toe(e){this.a=e}function noe(e){this.a=e}function roe(e){this.a=e}function ioe(e){this.a=e}function aoe(e){this.a=e}function Tu(e){this.a=e}function Eu(e){this.a=e}function ooe(e){this.a=e}function soe(e){this.a=e}function coe(e){this.a=e}function loe(e){this.a=e}function Du(e){this.a=e}function uoe(e){this.a=e}function Ou(e){this.a=e}function ku(e){this.a=e}function Au(e){this.a=e}function doe(e){this.a=e}function ju(e){this.a=e}function foe(e){this.a=e}function Mu(e){this.a=e}function poe(e){this.a=e}function Nu(e){this.a=e}function moe(e){this.a=e}function hoe(e){this.a=e}function goe(e){this.a=e}function Pu(e){this.a=e}function _oe(e){this.a=e}function voe(e){this.a=e}function Fu(e){this.a=e}function yoe(e){this.a=e}function boe(e){this.a=e}function Iu(e){this.a=e}function xoe(e){this.a=e}function Lu(e){this.a=e}function Ru(e){this.a=e}function zu(e){this.a=e}function Soe(e){this.a=e}function Bu(e){this.a=e}function Coe(e){this.a=e}function woe(e){this.a=e}function Toe(e){this.a=e}function Vu(e){this.a=e}function Eoe(e){this.a=e}function Doe(e){this.a=e}function Hu(e){this.a=e}function Uu(e){this.c=e}function Wu(e){this.b=e}function Ooe(e){this.a=e}function Gu(e){this.a=e}function Ku(e){this.a=e}function qu(e){this.a=e}function Ju(e){this.a=e}function koe(e){this.a=e}function Aoe(e){this.a=e}function joe(e){this.a=e}function Moe(e){this.a=e}function Yu(e){this.a=e}function Noe(e){this.a=e}function Poe(e){this.a=e}function Xu(e){this.a=e}function Zu(e){this.a=e}function Foe(e){this.a=e}function Qu(e){this.a=e}function $u(e){this.a=e}function ed(e){this.a=e}function td(e){this.a=e}function Ioe(e){this.a=e}function Loe(e){this.a=e}function Roe(e){this.a=e}function nd(e){this.a=e}function zoe(e){this.a=e}function rd(e){this.a=e}function Boe(e){this.a=e}function Voe(e){this.a=e}function id(e){this.a=e}function ad(e){this.a=e}function Hoe(e){this.a=e}function Uoe(e){this.a=e}function Woe(e){this.a=e}function Goe(e){this.a=e}function Koe(e){this.a=e}function qoe(e){this.a=e}function od(e){this.a=e}function Joe(e){this.a=e}function Yoe(e){this.a=e}function Xoe(e){this.a=e}function sd(e){this.a=e}function cd(e){this.a=e}function ld(e){this.a=e}function ud(e){this.a=e}function dd(e){this.a=e}function Zoe(e){this.a=e}function Qoe(e){this.a=e}function $oe(e){this.a=e}function ese(e){this.a=e}function tse(e){this.a=e}function fd(e){this.a=e}function pd(e){this.a=e}function nse(e){this.a=e}function rse(e){this.a=e}function md(e){this.a=e}function ise(e){this.a=e}function hd(e){this.a=e}function ase(e){this.f=e}function ose(e){this.a=e}function sse(e){this.a=e}function cse(e){this.a=e}function gd(e){this.a=e}function _d(e){this.a=e}function vd(e){this.a=e}function lse(e){this.a=e}function use(e){this.a=e}function dse(e){this.a=e}function fse(e){this.a=e}function pse(e){this.a=e}function mse(e){this.a=e}function hse(e){this.a=e}function gse(e){this.a=e}function yd(e){this.a=e}function bd(e){this.a=e}function xd(e){this.a=e}function Sd(e){this.a=e}function _se(e){this.a=e}function Cd(e){this.a=e}function wd(e){this.a=e}function vse(e){this.a=e}function Td(e){this.a=e}function Ed(e){this.a=e}function yse(e){this.a=e}function Dd(e){this.a=e}function Od(e){this.a=e}function bse(e){this.a=e}function kd(e){this.a=e}function Ad(e){this.a=e}function jd(e){this.b=e}function Md(e){this.a=e}function Nd(e){this.a=e}function xse(e){this.a=e}function Pd(e){this.a=e}function Sse(e){this.a=e}function Fd(e){this.a=e}function Id(e){this.a=e}function Ld(e){this.b=e}function Cse(e){this.a=e}function Rd(e){this.a=e}function zd(e){this.a=e}function wse(e){this.a=e}function Bd(e){this.c=e}function Vd(e){this.e=e}function Hd(e){this.a=e}function Ud(e){this.a=e}function Wd(e){this.a=e}function Gd(e){this.d=e}function Tse(e){this.a=e}function Kd(e){this.a=e}function qd(e){this.a=e}function Jd(e){this.e=e}function Yd(){this.a=0}function Xd(){MS(this)}function Zd(){kv(this)}function Qd(){MDe(this)}function $d(){}function ef(){this.c=ZVt}function tf(e,t){e.b+=t}function Ese(e,t){t.Wb(e)}function nf(e){return e.a}function rf(e){return e.a}function af(e){return e.a}function of(e){return e.a}function sf(e){return e.a}function O(e){return e.e}function Dse(){return null}function Ose(){return null}function kse(){nue(),Xdt()}function Ase(e){e.b.Of(e.e)}function cf(e){e.b=new gm}function lf(e,t){e.b=t-e.b}function uf(e,t){e.a=t-e.a}function df(e,t){e.push(t)}function ff(e,t){e.sort(t)}function jse(e,t){t.jd(e.a)}function pf(e,t){qI(t,e)}function mf(e,t,n){e.Yd(n,t)}function hf(e,t){e.e=t,t.b=e}function gf(e){Lb(),this.a=e}function Mse(e){Lb(),this.a=e}function Nse(e){Lb(),this.a=e}function _f(e){oC(),this.a=e}function Pse(e){gw(),Qxt.le(e)}function vf(){vf=C,new Xd}function yf(){y_e.call(this)}function bf(){y_e.call(this)}function xf(){yf.call(this)}function Sf(){yf.call(this)}function Cf(){yf.call(this)}function wf(){yf.call(this)}function Tf(){yf.call(this)}function Ef(){yf.call(this)}function Df(){yf.call(this)}function Of(){yf.call(this)}function kf(){yf.call(this)}function Af(){yf.call(this)}function Fse(){yf.call(this)}function jf(){this.a=this}function Mf(){this.Bb|=256}function Nf(){this.b=new Dme}function Pf(e,t){e.length=t}function Ff(e,t){ey(e.a,t)}function Ise(e,t){l3e(e.c,t)}function Lse(e,t){FS(e.b,t)}function If(e,t){UP(e.a,t)}function Rse(e,t){bqe(e.a,t)}function Lf(e,t){CA(e.e,t)}function Rf(e){lL(e.c,e.b)}function zf(e,t){e.kc().Nb(t)}function Bf(e){this.a=qqe(e)}function Vf(){this.a=new Xd}function Hf(){this.a=new Xd}function Uf(){this.a=new vde}function Wf(){this.a=new Zd}function Gf(){this.a=new Zd}function Kf(){this.a=new Zd}function qf(){this.a=new Je}function Jf(){this.a=new AIe}function Yf(){this.a=new Nt}function Xf(){this.a=new oje}function Zf(){this.a=new jye}function zse(){this.a=new Zd}function Qf(){this.a=new Zd}function Bse(){this.a=new Zd}function $f(){this.a=new Zd}function Vse(){this.d=new Zd}function ep(){this.a=new FMe}function tp(){this.a=new Vf}function Hse(){this.a=new Xd}function np(){this.b=new Xd}function Use(){this.b=new Zd}function rp(){this.e=new Zd}function ip(){this.a=new Ec}function Wse(){this.d=new Zd}function Gse(){Mke.call(this)}function ap(){Mke.call(this)}function Kse(){Zd.call(this)}function op(){xf.call(this)}function sp(){Wf.call(this)}function qse(){bb.call(this)}function cp(){$f.call(this)}function lp(){$d.call(this)}function up(){lp.call(this)}function dp(){$d.call(this)}function fp(){dp.call(this)}function Jse(){ace.call(this)}function pp(){ace.call(this)}function mp(){ace.call(this)}function Yse(){cce.call(this)}function hp(){Mo.call(this)}function gp(){Mo.call(this)}function _p(){hh.call(this)}function Xse(){dce.call(this)}function vp(){dce.call(this)}function yp(){Xd.call(this)}function bp(){Xd.call(this)}function Zse(){Xd.call(this)}function xp(){SVe.call(this)}function Qse(){Vf.call(this)}function $se(){Mf.call(this)}function Sp(){Gge.call(this)}function Cp(){Xd.call(this)}function wp(){Gge.call(this)}function Tp(){Xd.call(this)}function ece(){Xd.call(this)}function tce(){Go.call(this)}function nce(){tce.call(this)}function rce(){Go.call(this)}function ice(){fc.call(this)}function ace(){this.a=new Vf}function oce(){this.a=new Xd}function sce(){this.a=new Zd}function cce(){this.a=new Xd}function Ep(){this.a=new hh}function lce(){this.j=new Zd}function uce(){this.a=new Sue}function dce(){this.a=new Wo}function fce(){this.a=new Ra}function Dp(){Dp=C,NJ=new o}function Op(){Op=C,RJ=new mce}function kp(){kp=C,zJ=new pce}function pce(){Gc.call(this,``)}function mce(){Gc.call(this,``)}function hce(e){cBe.call(this,e)}function gce(e){cBe.call(this,e)}function _ce(e){Bc.call(this,e)}function vce(e){ide.call(this,e)}function yce(e){ide.call(this,e)}function bce(e){vce.call(this,e)}function xce(e){vce.call(this,e)}function Sce(e){vce.call(this,e)}function Cce(e){vE.call(this,e)}function wce(e){vE.call(this,e)}function Tce(e){Ebe.call(this,e)}function Ece(e){cde.call(this,e)}function Ap(e){sh.call(this,e)}function Dce(e){sh.call(this,e)}function Oce(e){sh.call(this,e)}function kce(e){H4e.call(this,e)}function Ace(e){kce.call(this,e)}function jp(e){qTe.call(this,e)}function jce(e){jp.call(this,e)}function Mp(){sl.call(this,{})}function Mce(){Mce=C,nSt=new te}function Np(){Np=C,UJ=new gge}function Nce(){Nce=C,Jxt=new a}function Pce(){Pce=C,Zxt=new v}function Pp(){Pp=C,JJ=new x}function Fp(e){dy(),this.a=e}function Ip(e){jHe(),this.a=e}function Lp(e){Qx(),this.f=e}function Rp(e){Qx(),this.f=e}function Fce(e){Vbe(),this.a=e}function Ice(e){e.b=null,e.c=0}function Lce(e,t){e.e=t,Att(e,t)}function Rce(e,t){e.a=t,f6e(e)}function zp(e,t,n){e.a[t.g]=n}function zce(e,t,n){D1e(n,e,t)}function Bce(e,t){Dbe(t.i,e.n)}function Vce(e,t){rGe(e).Cd(t)}function Hce(e,t){e.a.ec().Mc(t)}function Uce(e,t){return e.g-t.g}function Wce(e,t){return e*e/t}function Bp(e){return kC(e),e}function k(e){return kC(e),e}function Vp(e){return kC(e),e}function Gce(e){return new ol(e)}function Kce(e){return new aC(e)}function qce(e){return kC(e),e}function Jce(e){return kC(e),e}function Hp(e){jp.call(this,e)}function Up(e){jp.call(this,e)}function Yce(e){jp.call(this,e)}function Wp(e){qTe.call(this,e)}function Gp(e){jp.call(this,e)}function Kp(e){jp.call(this,e)}function qp(e){jp.call(this,e)}function Xce(e){jp.call(this,e)}function Jp(e){jp.call(this,e)}function Yp(e){jp.call(this,e)}function Xp(e){jp.call(this,e)}function Zp(e){jp.call(this,e)}function Qp(e){jp.call(this,e)}function $p(e){jp.call(this,e)}function em(e){jp.call(this,e)}function tm(e){kC(e),this.a=e}function Zce(e){return vj(e),e}function nm(e){wEe(e,e.length)}function rm(e){return e.b==e.c}function im(e){return!!e&&e.b}function Qce(e){return!!e&&e.k}function $ce(e){return!!e&&e.j}function ele(e,t,n){e.c.Ef(t,n)}function tle(e,t){e.be(t),t.ae(e)}function am(e){Lb(),this.a=iC(e)}function om(){this.a=eb(iC(hB))}function nle(){throw O(new Df)}function rle(){throw O(new Df)}function ile(){throw O(new Df)}function ale(){throw O(new Df)}function ole(){throw O(new Df)}function sle(){throw O(new Df)}function sm(){sm=C,gw()}function cm(){jl.call(this,``)}function lm(){jl.call(this,``)}function um(){jl.call(this,``)}function dm(){jl.call(this,``)}function cle(e){Up.call(this,e)}function lle(e){Up.call(this,e)}function fm(e){Kp.call(this,e)}function pm(e){Bl.call(this,e)}function ule(e){pm.call(this,e)}function mm(e){vy.call(this,e)}function hm(e){I_e.call(this,e,0)}function gm(){Eje.call(this,12,3)}function A(e,t){return $Ae(e,t)}function _m(e,t){return jD(e,t)}function dle(e,t){return e.a-t.a}function fle(e,t){return e.a-t.a}function ple(e,t){return e.a-t.a}function mle(e,t){return t in e.a}function hle(e){return e.a?e.b:0}function gle(e){return e.a?e.b:0}function _le(e,t,n){t.Cd(e.a[n])}function vle(e,t,n){t.Pe(e.a[n])}function yle(e,t){e.b=new pv(t)}function ble(e,t){return e.b=t,e}function xle(e,t){return e.c=t,e}function Sle(e,t){return e.f=t,e}function Cle(e,t){return e.g=t,e}function wle(e,t){return e.a=t,e}function Tle(e,t){return e.f=t,e}function Ele(e,t){return e.k=t,e}function Dle(e,t){return e.a=t,e}function Ole(e,t){return e.e=t,e}function kle(e,t){return e.e=t,e}function Ale(e,t){return e.f=t,e}function jle(e,t){e.b=!0,e.d=t}function Mle(e,t){return e.b-t.b}function Nle(e,t){return e.g-t.g}function Ple(e,t){return e?0:t-1}function Fle(e,t){return e?0:t-1}function Ile(e,t){return e?t-1:0}function Lle(e,t){return e.s-t.s}function Rle(e,t){return t.rg(e)}function vm(e,t){return e.b=t,e}function ym(e,t){return e.a=t,e}function bm(e,t){return e.c=t,e}function xm(e,t){return e.d=t,e}function Sm(e,t){return e.e=t,e}function zle(e,t){return e.f=t,e}function Cm(e,t){return e.a=t,e}function wm(e,t){return e.b=t,e}function Tm(e,t){return e.c=t,e}function Em(e,t){return e.c=t,e}function Dm(e,t){return e.b=t,e}function Om(e,t){return e.d=t,e}function km(e,t){return e.e=t,e}function Ble(e,t){return e.f=t,e}function Am(e,t){return e.g=t,e}function jm(e,t){return e.a=t,e}function Mm(e,t){return e.i=t,e}function Nm(e,t){return e.j=t,e}function Vle(e,t){gI(),sT(t,e)}function Hle(e,t,n){wTe(e.a,t,n)}function Pm(e){Nb.call(this,e)}function Ule(e){pJe.call(this,e)}function Wle(e){IOe.call(this,e)}function Gle(e){IOe.call(this,e)}function Fm(e){PO.call(this,e)}function Kle(e){ow.call(this,e)}function qle(e){ow.call(this,e)}function Jle(){nge.call(this,``)}function Im(){this.a=0,this.b=0}function Yle(){this.b=0,this.a=0}function Xle(e,t){e.b=0,tk(e,t)}function Zle(e,t){return e.k=t,e}function Qle(e,t){return e.j=t,e}function $le(e,t){e.c=t,e.b=!0}function eue(){eue=C,RSt=g0e()}function Lm(){Lm=C,ZBt=i1e()}function tue(){tue=C,n7=i2e()}function nue(){nue=C,S7=mk()}function Rm(){Rm=C,LVt=a1e()}function rue(){rue=C,wHt=o1e()}function iue(){iue=C,b9=l6e()}function zm(e){return e.e&&e.e()}function aue(e){return e.l|e.m<<22}function oue(e,t){return e.c._b(t)}function sue(e,t){return FKe(e.b,t)}function cue(e){return e?e.d:null}function lue(e){return e?e.g:null}function uue(e){return e?e.i:null}function Bm(e){return tb(e),e.o}function Vm(e,t){return e.a+=t,e}function Hm(e,t){return e.a+=t,e}function Um(e,t){return e.a+=t,e}function Wm(e,t){return e.a+=t,e}function due(e,t){for(;e.Bd(t););}function Gm(e){this.a=new ph(e)}function fue(){throw O(new Df)}function pue(){throw O(new Df)}function mue(){throw O(new Df)}function hue(){throw O(new Df)}function gue(){throw O(new Df)}function _ue(){throw O(new Df)}function Km(e){this.a=new fS(e)}function vue(){this.a=new VL(EFt)}function yue(){this.b=new VL(fPt)}function bue(){this.a=new VL(SIt)}function xue(){this.b=new VL(w3)}function Sue(){this.b=new VL(w3)}function qm(e){this.a=0,this.b=e}function Cue(e){Jut(),vft(this,e)}function Jm(e){return EC(e),e.a}function Ym(e){return e.b!=e.d.c}function wue(e,t){return e.d[t.p]}function Tue(e,t){return Ott(e,t)}function Eue(e,t,n){e.splice(t,n)}function Xm(e,t){for(;e.Re(t););}function Due(e){e.c?Tnt(e):Ent(e)}function Oue(){throw O(new Df)}function kue(){throw O(new Df)}function Aue(){throw O(new Df)}function jue(){throw O(new Df)}function Mue(){throw O(new Df)}function Nue(){throw O(new Df)}function Pue(){throw O(new Df)}function Fue(){throw O(new Df)}function Iue(){throw O(new Df)}function Lue(){throw O(new Df)}function Rue(){throw O(new Af)}function zue(){throw O(new Af)}function Zm(e){this.a=new Bue(e)}function Bue(e){MVe(this,e,J4e())}function Qm(e){return!e||ODe(e)}function $m(e){return A9[e]!=-1}function Vue(){KJ!=0&&(KJ=0),qJ=-1}function Hue(){Nxt??=[]}function eh(e,t){uy.call(this,e,t)}function th(e,t){eh.call(this,e,t)}function Uue(e,t){this.a=e,this.b=t}function Wue(e,t){this.a=e,this.b=t}function Gue(e,t){this.a=e,this.b=t}function Kue(e,t){this.a=e,this.b=t}function que(e,t){this.a=e,this.b=t}function Jue(e,t){this.a=e,this.b=t}function Yue(e,t){this.a=e,this.b=t}function nh(e,t){this.e=e,this.d=t}function Xue(e,t){this.b=e,this.c=t}function Zue(e,t){this.b=e,this.a=t}function Que(e,t){this.b=e,this.a=t}function $ue(e,t){this.b=e,this.a=t}function ede(e,t){this.b=e,this.a=t}function tde(e,t){this.a=e,this.b=t}function rh(e,t){this.a=e,this.b=t}function nde(e,t){this.a=e,this.f=t}function ih(e,t){this.g=e,this.i=t}function ah(e,t){this.f=e,this.g=t}function rde(e,t){this.b=e,this.c=t}function ide(e){qge(e.dc()),this.c=e}function ade(e,t){this.a=e,this.b=t}function ode(e,t){this.a=e,this.b=t}function sde(e){this.a=F(iC(e),15)}function cde(e){this.a=F(iC(e),15)}function lde(e){this.a=F(iC(e),85)}function oh(e){this.b=F(iC(e),85)}function sh(e){this.b=F(iC(e),51)}function ch(){this.q=new r.Date}function lh(e,t){this.a=e,this.b=t}function ude(e,t){return DS(e.b,t)}function uh(e,t){return e.b.Hc(t)}function dde(e,t){return e.b.Ic(t)}function fde(e,t){return e.b.Qc(t)}function pde(e,t){return e.b.Hc(t)}function mde(e,t){return e.c.uc(t)}function hde(e,t){return xM(e.c,t)}function dh(e,t){return e.a._b(t)}function gde(e,t){return e>t&&t0}function eg(e,t){return iM(e,t)<0}function nfe(e,t){return Ux(e.a,t)}function rfe(e,t){tje.call(this,e,t)}function ife(e){sC(),Ebe.call(this,e)}function afe(e,t){hTe(e,e.length,t)}function tg(e,t){REe(e,e.length,t)}function ng(e,t){return e.a.get(t)}function ofe(e,t){return DS(e.e,t)}function sfe(e){return kC(e),!1}function cfe(e){this.a=F(iC(e),229)}function rg(e){wT.call(this,e,21)}function ig(e,t){ah.call(this,e,t)}function ag(e,t){ah.call(this,e,t)}function lfe(e,t){this.b=e,this.a=t}function og(e,t){this.d=e,this.e=t}function ufe(e,t){this.a=e,this.b=t}function dfe(e,t){this.a=e,this.b=t}function ffe(e,t){this.a=e,this.b=t}function pfe(e,t){this.a=e,this.b=t}function sg(e,t){this.a=e,this.b=t}function mfe(e,t){this.b=e,this.a=t}function hfe(e,t){this.b=e,this.a=t}function gfe(e,t){ah.call(this,e,t)}function _fe(e,t){ah.call(this,e,t)}function cg(e,t){ah.call(this,e,t)}function lg(e,t){ah.call(this,e,t)}function ug(e,t){ah.call(this,e,t)}function dg(e,t){ah.call(this,e,t)}function fg(e,t){ah.call(this,e,t)}function vfe(e,t){this.b=e,this.a=t}function pg(e,t){ah.call(this,e,t)}function yfe(e,t){this.b=e,this.a=t}function mg(e,t){ah.call(this,e,t)}function bfe(e,t){this.b=e,this.a=t}function xfe(e,t){ah.call(this,e,t)}function hg(e,t){ah.call(this,e,t)}function gg(e,t){ah.call(this,e,t)}function _g(e,t,n){e.splice(t,0,n)}function Sfe(e,t,n){e.Mb(n)&&t.Cd(n)}function Cfe(e,t,n){t.Pe(e.a.Ye(n))}function wfe(e,t,n){t.Dd(e.a.Ze(n))}function Tfe(e,t,n){t.Cd(e.a.Kb(n))}function Efe(e,t){return wy(e.c,t)}function Dfe(e,t){return wy(e.e,t)}function vg(e,t){ah.call(this,e,t)}function yg(e,t){ah.call(this,e,t)}function bg(e,t){ah.call(this,e,t)}function Ofe(e,t){ah.call(this,e,t)}function xg(e,t){ah.call(this,e,t)}function Sg(e,t){ah.call(this,e,t)}function kfe(e,t){this.a=e,this.b=t}function Afe(e,t){this.a=e,this.b=t}function jfe(e,t){this.a=e,this.b=t}function Mfe(e,t){this.a=e,this.b=t}function Nfe(e,t){this.a=e,this.b=t}function Pfe(e,t){this.a=e,this.b=t}function Ffe(e,t){this.b=e,this.a=t}function Ife(e,t){this.b=e,this.a=t}function Lfe(e,t){this.b=e,this.a=t}function Cg(e,t){this.c=e,this.d=t}function Rfe(e,t){this.e=e,this.d=t}function zfe(e,t){this.a=e,this.b=t}function Bfe(e,t){this.a=e,this.b=t}function Vfe(e,t){this.a=e,this.b=t}function Hfe(e,t){this.b=e,this.a=t}function Ufe(e,t){this.b=t,this.c=e}function wg(e,t){ah.call(this,e,t)}function Tg(e,t){ah.call(this,e,t)}function Eg(e,t){ah.call(this,e,t)}function Wfe(e,t){ah.call(this,e,t)}function Dg(e,t){ah.call(this,e,t)}function Og(e,t){ah.call(this,e,t)}function kg(e,t){ah.call(this,e,t)}function Ag(e,t){ah.call(this,e,t)}function Gfe(e,t){ah.call(this,e,t)}function jg(e,t){ah.call(this,e,t)}function Mg(e,t){ah.call(this,e,t)}function Kfe(e,t){ah.call(this,e,t)}function Ng(e,t){ah.call(this,e,t)}function Pg(e,t){ah.call(this,e,t)}function Fg(e,t){ah.call(this,e,t)}function Ig(e,t){ah.call(this,e,t)}function Lg(e,t){ah.call(this,e,t)}function qfe(e,t){ah.call(this,e,t)}function Rg(e,t){ah.call(this,e,t)}function zg(e,t){ah.call(this,e,t)}function Bg(e,t){ah.call(this,e,t)}function Vg(e,t){ah.call(this,e,t)}function Hg(e,t){ah.call(this,e,t)}function Ug(e,t){ah.call(this,e,t)}function Wg(e,t){ah.call(this,e,t)}function Jfe(e,t){ah.call(this,e,t)}function Gg(e,t){ah.call(this,e,t)}function Kg(e,t){ah.call(this,e,t)}function qg(e,t){ah.call(this,e,t)}function Jg(e,t){ah.call(this,e,t)}function Yg(e,t){ah.call(this,e,t)}function Yfe(e,t){ah.call(this,e,t)}function Xg(e,t){ah.call(this,e,t)}function Xfe(e,t){this.b=e,this.a=t}function Zfe(e,t){ah.call(this,e,t)}function Qfe(e,t){this.a=e,this.b=t}function $fe(e,t){this.a=e,this.b=t}function epe(e,t){this.a=e,this.b=t}function tpe(e,t){ah.call(this,e,t)}function npe(e,t){ah.call(this,e,t)}function rpe(e,t){this.a=e,this.b=t}function ipe(e,t){return Kb(),t!=e}function Zg(e){return nb(e.a),e.b}function Qg(e){return N5e(e,e.c),e}function ape(){return eue(),new RSt}function ope(){Wb(),this.a=new Pye}function spe(){YL(),this.a=new Vf}function cpe(){fje(),this.b=new Vf}function lpe(e,t){this.b=e,this.d=t}function upe(e,t){this.a=e,this.b=t}function dpe(e,t){this.a=e,this.b=t}function fpe(e,t){this.a=e,this.b=t}function ppe(e,t){this.b=e,this.a=t}function mpe(e,t){ah.call(this,e,t)}function hpe(e,t){ah.call(this,e,t)}function $g(e,t){ah.call(this,e,t)}function e_(e,t){ah.call(this,e,t)}function t_(e,t){ah.call(this,e,t)}function n_(e,t){ah.call(this,e,t)}function gpe(e,t){ah.call(this,e,t)}function _pe(e,t){ah.call(this,e,t)}function r_(e,t){ah.call(this,e,t)}function vpe(e,t){ah.call(this,e,t)}function i_(e,t){ah.call(this,e,t)}function a_(e,t){ah.call(this,e,t)}function o_(e,t){ah.call(this,e,t)}function s_(e,t){ah.call(this,e,t)}function c_(e,t){ah.call(this,e,t)}function l_(e,t){ah.call(this,e,t)}function ype(e,t){ah.call(this,e,t)}function u_(e,t){ah.call(this,e,t)}function bpe(e,t){ah.call(this,e,t)}function d_(e,t){ah.call(this,e,t)}function f_(e,t){ah.call(this,e,t)}function xpe(e,t){ah.call(this,e,t)}function p_(e,t){ah.call(this,e,t)}function Spe(e,t){ah.call(this,e,t)}function Cpe(e,t){this.b=e,this.a=t}function wpe(e,t){this.b=e,this.a=t}function Tpe(e,t){this.b=e,this.a=t}function Epe(e,t){this.b=e,this.a=t}function Dpe(e,t){this.a=e,this.b=t}function Ope(e,t){this.a=e,this.b=t}function kpe(e,t){this.a=e,this.b=t}function j(e,t){this.a=e,this.b=t}function m_(e,t){ah.call(this,e,t)}function h_(e,t){ah.call(this,e,t)}function g_(e,t){ah.call(this,e,t)}function __(e,t){ah.call(this,e,t)}function v_(e,t){ah.call(this,e,t)}function y_(e,t){ah.call(this,e,t)}function b_(e,t){ah.call(this,e,t)}function x_(e,t){ah.call(this,e,t)}function S_(e,t){ah.call(this,e,t)}function C_(e,t){ah.call(this,e,t)}function w_(e,t){ah.call(this,e,t)}function T_(e,t){ah.call(this,e,t)}function E_(e,t){ah.call(this,e,t)}function D_(e,t){ah.call(this,e,t)}function O_(e,t){ah.call(this,e,t)}function k_(e,t){ah.call(this,e,t)}function A_(e,t){ah.call(this,e,t)}function j_(e,t){ah.call(this,e,t)}function Ape(e,t){ah.call(this,e,t)}function M_(e,t){ah.call(this,e,t)}function jpe(e,t){this.a=e,this.b=t}function Mpe(e,t){this.a=e,this.b=t}function Npe(e,t){this.a=e,this.b=t}function Ppe(e,t){this.a=e,this.b=t}function Fpe(e,t){this.a=e,this.b=t}function Ipe(e,t){this.a=e,this.b=t}function N_(e,t){this.a=e,this.b=t}function Lpe(e,t){this.a=e,this.b=t}function Rpe(e,t){this.a=e,this.b=t}function zpe(e,t){this.a=e,this.b=t}function Bpe(e,t){this.a=e,this.b=t}function Vpe(e,t){this.a=e,this.b=t}function Hpe(e,t){this.a=e,this.b=t}function Upe(e,t){this.b=e,this.a=t}function Wpe(e,t){this.b=e,this.a=t}function Gpe(e,t){this.b=e,this.a=t}function Kpe(e,t){this.b=e,this.a=t}function qpe(e,t){this.a=e,this.b=t}function Jpe(e,t){this.a=e,this.b=t}function P_(e,t){ah.call(this,e,t)}function Ype(e,t){this.a=e,this.b=t}function Xpe(e,t){this.a=e,this.b=t}function F_(e,t){ah.call(this,e,t)}function Zpe(e,t){this.f=e,this.c=t}function Qpe(e,t){return wy(e.g,t)}function $pe(e,t){return wy(t.b,e)}function eme(e,t){return SN(e.a,t)}function tme(e,t){return-e.b.af(t)}function nme(e,t){e&&PC(y7,e,t)}function rme(e,t){e.i=null,jk(e,t)}function ime(e,t,n){W1e(t,RI(e,n))}function ame(e,t,n){W1e(t,RI(e,n))}function ome(e,t){cet(e.a,F(t,58))}function sme(e,t){NRe(e.a,F(t,12))}function I_(e,t){this.a=e,this.b=t}function cme(e,t){this.a=e,this.b=t}function lme(e,t){this.a=e,this.b=t}function ume(e,t){this.a=e,this.b=t}function dme(e,t){this.a=e,this.b=t}function fme(e,t){this.d=e,this.b=t}function pme(e,t){this.e=e,this.a=t}function L_(e,t){this.b=e,this.c=t}function mme(e,t){this.i=e,this.g=t}function hme(e,t){this.d=e,this.e=t}function gme(e,t){Sze(new cy(e),t)}function R_(e){return xN(e.c,e.b)}function z_(e){return e?e.md():null}function M(e){return e??null}function B_(e){return typeof e===lB}function V_(e){return typeof e===cB}function H_(e){return typeof e===opt}function U_(e,t){return iM(e,t)==0}function W_(e,t){return iM(e,t)>=0}function G_(e,t){return iM(e,t)!=0}function K_(e,t){return qHe(e.Kc(),t)}function q_(e,t){return e.Rd().Xb(t)}function _me(e){return cN(e),e.d.gc()}function J_(e){return Tx(e==null),e}function Y_(e,t){return e.a+=``+t,e}function X_(e,t){return e.a+=``+t,e}function Z_(e,t){return e.a+=``+t,e}function Q_(e,t){return e.a+=``+t,e}function $_(e,t){return e.a+=``+t,e}function vme(e,t){return e.a+=``+t,e}function yme(e){return``+(kC(e),e)}function bme(e){MS(this),uA(this,e)}function xme(){cje(),xTe.call(this)}function Sme(e,t){KTe.call(this,e,t)}function Cme(e,t){KTe.call(this,e,t)}function ev(e,t){KTe.call(this,e,t)}function tv(e,t){bE(e,t,e.c.b,e.c)}function nv(e,t){bE(e,t,e.a,e.a.a)}function wme(e){return ST(e,0),null}function Tme(){this.b=0,this.a=!1}function Eme(){this.b=0,this.a=!1}function Dme(){this.b=new ph(EO(12))}function Ome(){Ome=C,mwt=Yj(oP())}function kme(){kme=C,iDt=Yj(Met())}function Ame(){Ame=C,EPt=Yj($He())}function jme(){jme=C,vf(),$xt=new Xd}function rv(e){return e.a=0,e.b=0,e}function Mme(e,t){return e.a=t.g+1,e}function Nme(e,t){Eb.call(this,e,t)}function iv(e,t){pb.call(this,e,t)}function av(e,t){mme.call(this,e,t)}function Pme(e,t){Ay.call(this,e,t)}function Fme(e,t){LA.call(this,e,t)}function ov(e,t){Gh(),PC(T7,e,t)}function Ime(e,t){e.q.setTime(UT(t))}function Lme(e){r.clearTimeout(e)}function Rme(e){return iC(e),new mv(e)}function zme(e,t){return M(e)===M(t)}function Bme(e,t){return e.a.a.a.cc(t)}function Vme(e,t){return jw(e.a,0,t)}function Hme(e){return WEe(F(e,74))}function sv(e){return Bw((kC(e),e))}function Ume(e){return Bw((kC(e),e))}function Wme(e){return Hv(e.l,e.m,e.h)}function Gme(e,t){return Vv(e.a,t.a)}function Kme(e,t){return AEe(e.a,t.a)}function qme(e,t){return zM(e.a,t.a)}function cv(e,t){return e.indexOf(t)}function Jme(e,t){return e.j[t.p]==2}function lv(e,t){return e==t?0:e?1:-1}function uv(e){return e<10?`0`+e:``+e}function dv(e){return typeof e===opt}function Yme(e){return e==JX||e==ZX}function Xme(e){return e==JX||e==YX}function Zme(e,t){return Vv(e.g,t.g)}function Qme(e){return VD(e.b.b,e,0)}function $me(){Mx.call(this,0,0,0,0)}function fv(){ql.call(this,new yE)}function ehe(e,t){MD(e,0,e.length,t)}function the(e,t){return ey(e.a,t),t}function nhe(e,t){return Gb(),t.a+=e}function rhe(e,t){return Gb(),t.a+=e}function ihe(e,t){return Gb(),t.c+=e}function ahe(e,t){return ey(e.c,t),e}function ohe(e,t){return xA(e.a,t),e}function she(e){this.a=ape(),this.b=e}function che(e){this.a=ape(),this.b=e}function pv(e){this.a=e.a,this.b=e.b}function mv(e){this.a=e,mc.call(this)}function lhe(e){this.a=e,mc.call(this)}function hv(){$C.call(this,0,0,0,0)}function gv(e){return xA(new NC,e)}function uhe(e){return BC(F(e,123))}function _v(e){return e.vh()&&e.wh()}function vv(e){return e!=J8&&e!=Y8}function yv(e){return e==c8||e==l8}function bv(e){return e==d8||e==s8}function dhe(e){return e==W0||e==U0}function fhe(e,t){return Vv(e.g,t.g)}function phe(e,t){return new LA(t,e)}function mhe(e,t){return new LA(t,e)}function hhe(e){return _Ce(e.b.Kc(),e.a)}function xv(e,t){Rj(e,t),rk(e,e.D)}function Sv(e,t,n){$O(e,t),WO(e,n)}function Cv(e,t,n){qO(e,t),KO(e,n)}function wv(e,t,n){JO(e,t),YO(e,n)}function Tv(e,t,n){GO(e,t),ZO(e,n)}function Ev(e,t,n){XO(e,t),QO(e,n)}function ghe(e,t,n){Uve.call(this,e,t,n)}function _he(e){Zpe.call(this,e,!0)}function vhe(){ig.call(this,`Tail`,3)}function yhe(){ig.call(this,`Head`,1)}function Dv(e){hR(),zHe.call(this,e)}function Ov(e){Mx.call(this,e,e,e,e)}function kv(e){e.c=H(MJ,gB,1,0,5,1)}function bhe(e){return e.b&&iz(e),e.a}function xhe(e){return e.b&&iz(e),e.c}function She(e,t){jY||(e.b=t)}function Che(e,t){return e[e.length]=t}function whe(e,t){return e[e.length]=t}function The(e,t){return jO(t,Uw(e))}function Ehe(e,t){return jO(t,Uw(e))}function Dhe(e,t){return Sk(nC(e.d),t)}function Ohe(e,t){return Sk(nC(e.g),t)}function khe(e,t){return Sk(nC(e.j),t)}function Av(e,t){pb.call(this,e.b,t)}function Ahe(e,t){gD(uE(e.a),yje(t))}function jhe(e,t){gD(qD(e.a),bje(t))}function Mhe(e,t,n){wv(n,n.i+e,n.j+t)}function Nhe(e,t,n){fC(e.c[t.g],t.g,n)}function Phe(e,t,n){F(e.c,71).Gi(t,n)}function jv(e,t,n){return fC(e,t,n),n}function Fhe(e){MO(e.Sf(),new Uae(e))}function Mv(e){return e==null?0:Wk(e)}function Ihe(e){return e==null?0:Wk(e)}function Nv(e){nB(),Jd.call(this,e)}function Lhe(e){this.a=e,mCe.call(this,e)}function Pv(){Pv=C,r.Math.log(2)}function Fv(){Fv=C,d9=(Qde(),sVt)}function Rhe(){Rhe=C,P2=new iN(b8)}function Iv(){Iv=C,new zhe,new Zd}function zhe(){new Xd,new Xd,new Xd}function Bhe(){throw O(new Yp(kxt))}function Vhe(){throw O(new Yp(kxt))}function Hhe(){throw O(new Yp(Axt))}function Uhe(){throw O(new Yp(Axt))}function Lv(e){this.a=e,oh.call(this,e)}function Rv(e){this.a=e,oh.call(this,e)}function Whe(e,t){oC(),this.a=e,this.b=t}function Ghe(e,t){iC(t),ZC(e).Jc(new m)}function zv(e,t){Gx(e.c,e.c.length,t)}function Bv(e){return e.at)}function Jhe(e,t){return iM(e,t)>0?e:t}function Hv(e,t,n){return{l:e,m:t,h:n}}function Yhe(e,t){e.a!=null&&sme(t,e.a)}function Xhe(e){aT(e,null),cT(e,null)}function Zhe(e,t,n){return PC(e.g,n,t)}function Uv(e,t,n){return kYe(t,n,e.c)}function Qhe(e,t,n){return PC(e.k,n,t)}function $he(e,t,n){return Wlt(e,t,n),n}function ege(e,t){return nT(),t.n.b+=e}function tge(e){Nke.call(this),this.b=e}function nge(e){Aye.call(this),this.a=e}function rge(){ig.call(this,`Range`,2)}function Wv(e){this.b=e,this.a=new Zd}function ige(e){this.b=new wt,this.a=e}function age(e){e.a=new pe,e.c=new pe}function oge(e){e.a=new Xd,e.d=new Xd}function sge(e){lT(e,null),uT(e,null)}function cge(e,t){return Jlt(e.a,t,null)}function lge(e,t){return PC(e.a,t.a,t)}function Gv(e){return new j(e.a,e.b)}function uge(e){return new j(e.c,e.d)}function dge(e){return new j(e.c,e.d)}function Kv(e,t){return Ict(e.c,e.b,t)}function N(e,t){return e!=null&&DP(e,t)}function qv(e,t){return nWe(e.Kc(),t)!=-1}function Jv(e){return e.Ob()?e.Pb():null}function fge(e){this.b=(lw(),new Hl(e))}function pge(e){this.a=e,Xd.call(this)}function mge(){Ay.call(this,null,null)}function hge(){jy.call(this,null,null)}function gge(){ah.call(this,`INSTANCE`,0)}function _ge(){f1e(),this.a=new VL(UTt)}function vge(e){return zN(e,0,e.length)}function yge(e,t){return new l_e(e.Kc(),t)}function bge(e,t){return e.a.Bc(t)!=null}function xge(e,t){Cz(e),e.Gc(F(t,15))}function Sge(e,t,n){e.c.bd(t,F(n,136))}function Cge(e,t,n){e.c.Ui(t,F(n,136))}function wge(e,t){e.c&&(owe(t),vAe(t))}function Tge(e,t){e.q.setHours(t),XR(e,t)}function Ege(e,t){qy(t,e.a.a.a,e.a.a.b)}function Dge(e,t,n,r){fC(e.a[t.g],n.g,r)}function Yv(e,t,n){return e.a[t.g][n.g]}function Oge(e,t){return e.e[t.c.p][t.p]}function kge(e,t){return e.c[t.c.p][t.p]}function Xv(e,t){return e.a[t.c.p][t.p]}function Age(e,t){return e.j[t.p]=I9e(t)}function Zv(e,t){return e.a.Bc(t)!=null}function jge(e,t){return k(P(t.a))<=e}function Mge(e,t){return k(P(t.a))>=e}function Nge(e,t){return SIe(e.f,t.Pg())}function Qv(e,t){return e.a*t.a+e.b*t.b}function Pge(e,t){return e.a0?t/(e*e):t*100}function Z_e(e,t){return e>0?t*t/e:t*t*100}function Ky(e,t){return F(fO(e.a,t),34)}function Q_e(e,t){return gI(),iL(e,t.e,t)}function $_e(e,t,n){return Ih(),n.Mg(e,t)}function eve(e){return HO(),e.e.a+e.f.a/2}function tve(e,t,n){return HO(),n.e.a-e*t}function nve(e){return HO(),e.e.b+e.f.b/2}function rve(e,t,n){return HO(),n.e.b-e*t}function ive(e){e.d=new G_e(e),e.e=new Xd}function ave(){this.a=new Pw,this.b=new Pw}function ove(e){this.c=e,this.a=1,this.b=1}function sve(e){Yz(),cf(this),this.Ff(e)}function cve(e,t,n){OD(),e.pf(t)&&n.Cd(e)}function lve(e,t,n){return ey(t,AJe(e,n))}function qy(e,t,n){return e.a+=t,e.b+=n,e}function uve(e,t,n){return e.a*=t,e.b*=n,e}function dve(e,t){return e.a=t.a,e.b=t.b,e}function Jy(e){return e.a=-e.a,e.b=-e.b,e}function Yy(e,t,n){return e.a-=t,e.b-=n,e}function fve(e){hh.call(this),bk(this,e)}function pve(){ah.call(this,`GROW_TREE`,0)}function mve(){ah.call(this,`POLYOMINO`,0)}function Xy(e,t,n){xD.call(this,e,t,n,2)}function hve(e,t,n){kM(uE(e.a),t,yje(n))}function gve(e,t){Kh(),Ay.call(this,e,t)}function _ve(e,t){qh(),jy.call(this,e,t)}function vve(e,t){qh(),_ve.call(this,e,t)}function yve(e,t){qh(),jy.call(this,e,t)}function bve(e,t){return e.c.Fc(F(t,136))}function xve(e,t,n){kM(qD(e.a),t,bje(n))}function Sve(e){this.c=e,JO(e,0),YO(e,0)}function Zy(e,t){Fv(),zx.call(this,e,t)}function Cve(e,t){Fv(),Zy.call(this,e,t)}function wve(e,t){Fv(),Zy.call(this,e,t)}function Tve(e,t){Fv(),zx.call(this,e,t)}function Eve(e,t){Fv(),wve.call(this,e,t)}function Dve(e,t){Fv(),Tve.call(this,e,t)}function Ove(e,t){Fv(),zx.call(this,e,t)}function kve(e,t,n){return t.zl(e.e,e.c,n)}function Ave(e,t,n){return t.Al(e.e,e.c,n)}function jve(e,t,n){return gz(JD(e,t),n)}function Qy(e,t){return aM(e.e,F(t,54))}function Mve(e){return e==null?null:Xut(e)}function Nve(e){return e==null?null:$4e(e)}function Pve(e){return e==null?null:aN(e)}function Fve(e){return e==null?null:aN(e)}function $y(e){return Tx(e==null||V_(e)),e}function P(e){return Tx(e==null||H_(e)),e}function eb(e){return Tx(e==null||B_(e)),e}function tb(e){e.o??G7e(e)}function Ive(e){if(!e)throw O(new wf)}function Lve(e){if(!e)throw O(new Sf)}function nb(e){if(!e)throw O(new Af)}function rb(e){if(!e)throw O(new Tf)}function Rve(e){if(!e)throw O(new Of)}function ib(){ib=C,w7=new Xse,new vp}function ab(){ab=C,E4=new jd(`root`)}function zve(){SVe.call(this),this.Bb|=WV}function Bve(e,t){this.d=e,Tl(this),this.b=t}function Vve(e,t){mD.call(this,e),this.a=t}function Hve(e,t){mD.call(this,e),this.a=t}function Uve(e,t,n){eD.call(this,e,t,n,null)}function Wve(e,t,n){eD.call(this,e,t,n,null)}function ob(e,t){this.c=e,nh.call(this,e,t)}function sb(e,t){this.a=e,ob.call(this,e,t)}function Gve(e){this.q=new r.Date(UT(e))}function Kve(e){return e>8?0:e+1}function qve(e,t){jY||ey(e.a,t)}function Jve(e,t){return Nh(),wA(t.d.i,e)}function Yve(e,t){return aA(),new Zrt(t,e)}function Xve(e,t,n){return e.Ne(t,n)<=0?n:t}function Zve(e,t,n){return e.Ne(t,n)<=0?t:n}function Qve(e,t){return F(fO(e.b,t),143)}function $ve(e,t){return F(fO(e.c,t),233)}function cb(e){return F(Ox(e.a,e.b),294)}function eye(e){return new j(e.c,e.d+e.a)}function tye(e){return kC(e),e?1231:1237}function nye(e){return nT(),dhe(F(e,203))}function lb(){lb=C,hwt=BM((PN(),O5))}function rye(e,t){t.a?H5e(e,t):Zv(e.a,t.b)}function ub(e,t,n){++e.j,e.tj(),fD(e,t,n)}function iye(e,t,n){++e.j,e.qj(t,e.Zi(t,n))}function aye(e,t,n){e.fd(t).Rb(n)}function oye(e,t,n){return n=MR(e,t,6,n),n}function sye(e,t,n){return n=MR(e,t,3,n),n}function cye(e,t,n){return n=MR(e,t,9,n),n}function db(e,t){return Ew(t,_mt),e.f=t,e}function lye(e,t){return(t&dB)%e.d.length}function uye(e,t,n){return dst(e.c,e.b,t,n)}function dye(e,t){this.c=e,PO.call(this,t)}function fye(e,t){this.a=e,Ld.call(this,t)}function fb(e,t){this.a=e,Ld.call(this,t)}function pb(e,t){jd.call(this,e),this.a=t}function pye(e,t){Bd.call(this,e),this.a=t}function mb(e,t){Bd.call(this,e),this.a=t}function mye(e){QJe.call(this,0,0),this.f=e}function hye(e,t,n){return e.a+=zN(t,0,n),e}function hb(e){return!e.a&&(e.a=new ee),e.a}function gye(e,t){var n=e.e;return e.e=t,n}function _ye(e,t){var n=t;return!!e.Fe(n)}function vye(e,t){return Oy(),e==t?0:e?1:-1}function gb(e,t){e.a.bd(e.b,t),++e.b,e.c=-1}function _b(e){e.b?_b(e.b):e.f.c.zc(e.e,e.d)}function yye(e){MS(e.e),e.d.b=e.d,e.d.a=e.d}function bye(e,t,n){xh(),Kie(e,t.Ve(e.a,n))}function xye(e,t,n){return LS(e,F(t,22),n)}function vb(e,t){return _m(Array(t),e)}function Sye(e){return eS(cS(e,32))^eS(e)}function yb(e){return String.fromCharCode(e)}function Cye(e){return e==null?null:e.message}function wye(e,t,n){return e.apply(t,n)}function Tye(e,t){e[tH].call(e,t)}function Eye(e,t){e[tH].call(e,t)}function Dye(e,t){return Nh(),!wA(t.d.i,e)}function Oye(e,t,n,r){Mx.call(this,e,t,n,r)}function kye(){bb.call(this),this.a=new Im}function Aye(){this.n=new Im,this.o=new Im}function jye(){this.b=new Im,this.c=new Zd}function Mye(){this.a=new Zd,this.b=new Zd}function Nye(){this.a=new Nt,this.b=new Nf}function Pye(){this.b=new yE,this.a=new yE}function Fye(){this.b=new Vf,this.a=new Vf}function Iye(){this.b=new Xd,this.a=new Xd}function Lye(){this.b=new yue,this.a=new Ji}function Rye(){this.a=new cie,this.b=new Cte}function zye(){this.a=new Zd,this.d=new Zd}function bb(){this.n=new dp,this.i=new hv}function Bye(e){this.a=(xk(e,qB),new iD(e))}function Vye(e){this.a=(xk(e,qB),new iD(e))}function Hye(e){return e<100?null:new Fm(e)}function Uye(e,t){return e.n.a=(kC(t),t)+10}function Wye(e,t){return e.n.a=(kC(t),t)+10}function Gye(e,t){return t==e||FF(jL(t),e)}function Kye(e,t){return PC(e.a,t,``)==null}function qye(e,t){return t.qi(e.a)}function xb(e,t){return e.a+=t.a,e.b+=t.b,e}function Sb(e,t){return e.a-=t.a,e.b-=t.b,e}function Jye(e){return Pf(e.j.c,0),e.a=-1,e}function Yye(e,t,n){return n=MR(e,t,11,n),n}function Xye(e,t,n){n!=null&&Ok(t,rF(e,n))}function Zye(e,t,n){n!=null&&kk(t,rF(e,n))}function Cb(e,t,n,r){I.call(this,e,t,n,r)}function Qye(e,t,n,r){I.call(this,e,t,n,r)}function $ye(e,t,n,r){Qye.call(this,e,t,n,r)}function ebe(e,t,n,r){SS.call(this,e,t,n,r)}function wb(e,t,n,r){SS.call(this,e,t,n,r)}function tbe(e,t,n,r){SS.call(this,e,t,n,r)}function nbe(e,t,n,r){wb.call(this,e,t,n,r)}function rbe(e,t,n,r){wb.call(this,e,t,n,r)}function Tb(e,t,n,r){tbe.call(this,e,t,n,r)}function ibe(e,t,n,r){rbe.call(this,e,t,n,r)}function abe(e,t,n,r){fEe.call(this,e,t,n,r)}function Eb(e,t){Up.call(this,wq+e+pq+t)}function obe(e,t){return e.jk().wi().ri(e,t)}function sbe(e,t){return e.jk().wi().ti(e,t)}function cbe(e,t){return kC(e),M(e)===M(t)}function Db(e,t){return kC(e),M(e)===M(t)}function lbe(e,t){return e.b.Bd(new dfe(e,t))}function ube(e,t){return e.b.Bd(new ffe(e,t))}function dbe(e,t){return e.b.Bd(new pfe(e,t))}function fbe(e,t){return e.e=F(e.d.Kb(t),159)}function pbe(e,t,n){return e.lastIndexOf(t,n)}function mbe(e,t,n){return zM(e[t.a],e[n.a])}function hbe(e,t){return G(t,(Zz(),v1),e)}function gbe(e,t){return Vv(t.a.d.p,e.a.d.p)}function _be(e,t){return Vv(e.a.d.p,t.a.d.p)}function vbe(e,t){return zM(e.c-e.s,t.c-t.s)}function ybe(e,t){return zM(e.b.e.a,t.b.e.a)}function bbe(e,t){return zM(e.c.e.a,t.c.e.a)}function xbe(e){return e.c?VD(e.c.a,e,0):-1}function Ob(e){return e==W8||e==K8||e==G8}function Sbe(e,t){this.c=e,zS.call(this,e,t)}function Cbe(e,t,n){this.a=e,I_e.call(this,t,n)}function wbe(e){this.c=e,ev.call(this,PB,0)}function Tbe(e,t,n){this.c=t,this.b=n,this.a=e}function kb(e){Kb(),this.d=e,this.a=new sy}function Ebe(e){Lb(),this.a=(lw(),new pm(e))}function Dbe(e,t){yv(e.f)?I7e(e,t):b2e(e,t)}function Obe(e,t){SCe.call(this,e,e.length,t)}function kbe(e,t){jY||t&&(e.d=t)}function Abe(e,t){return N(t,15)&&Hnt(e.c,t)}function jbe(e,t,n){return F(e.c,71).Wk(t,n)}function Ab(e,t,n){return F(e.c,71).Xk(t,n)}function Mbe(e,t,n){return kve(e,F(t,343),n)}function Nbe(e,t,n){return Ave(e,F(t,343),n)}function Pbe(e,t,n){return P0e(e,F(t,343),n)}function Fbe(e,t,n){return R2e(e,F(t,343),n)}function jb(e,t){return t==null?null:hM(e.b,t)}function Ibe(e){return H_(e)?(kC(e),e):e.ue()}function Mb(e){return!isNaN(e)&&!isFinite(e)}function Nb(e){age(this),aw(this),Xk(this,e)}function Pb(e){kv(this),OCe(this.c,0,e.Pc())}function Fb(e,t,n){this.a=e,this.b=t,this.c=n}function Lbe(e,t,n){this.a=e,this.b=t,this.c=n}function Rbe(e,t,n){this.d=e,this.b=n,this.a=t}function zbe(e){this.a=e,gh(),AA(Date.now())}function Bbe(e){bC(e.a),kLe(e.c,e.b),e.b=null}function Ib(){Ib=C,VSt=new me,HSt=new he}function Vbe(){Vbe=C,vVt=H(MJ,gB,1,0,5,1)}function Hbe(){Hbe=C,KVt=H(MJ,gB,1,0,5,1)}function Ube(){Ube=C,qVt=H(MJ,gB,1,0,5,1)}function Lb(){Lb=C,new gf((lw(),lw(),yY))}function Wbe(e){return PD(),sk((fRe(),XSt),e)}function Gbe(e){return Wj(),sk((hLe(),aCt),e)}function Kbe(e){return dP(),sk((sFe(),gCt),e)}function qbe(e){return _O(),sk((cFe(),yCt),e)}function Jbe(e){return cR(),sk((kUe(),ICt),e)}function Ybe(e){return zO(),sk((pLe(),BCt),e)}function Xbe(e){return FD(),sk((fLe(),HCt),e)}function Zbe(e){return iO(),sk((mLe(),GCt),e)}function Qbe(e){return rB(),sk((Ome(),mwt),e)}function $be(e){return zA(),sk((mRe(),_wt),e)}function exe(e){return wP(),sk((gRe(),ywt),e)}function txe(e){return CP(),sk((hRe(),Twt),e)}function nxe(e){return Ah(),sk((wNe(),Dwt),e)}function rxe(e){return vO(),sk((lFe(),Qwt),e)}function ixe(e){return rO(),sk((gLe(),zTt),e)}function axe(e){return uI(),sk((Dze(),WTt),e)}function oxe(e){return $A(),sk((vRe(),XTt),e)}function sxe(e){return ZN(),sk((_Re(),aEt),e)}function cxe(e,t){if(!e)throw O(new Kp(t))}function Rb(e){if(!e)throw O(new qp(lpt))}function zb(e,t){if(e!=t)throw O(new Of)}function lxe(e,t,n){this.a=e,this.b=t,this.c=n}function uxe(e,t,n){this.a=e,this.b=t,this.c=n}function dxe(e,t,n){this.a=e,this.b=t,this.c=n}function Bb(e,t,n){this.b=e,this.a=t,this.c=n}function fxe(e,t,n){this.b=e,this.c=t,this.a=n}function pxe(e,t,n){this.a=e,this.b=t,this.c=n}function Vb(e,t,n){this.e=t,this.b=e,this.d=n}function mxe(e,t,n){this.b=e,this.a=t,this.c=n}function hxe(e,t,n){return xh(),e.a.Yd(t,n),t}function Hb(e){var t=new Ye;return t.e=e,t}function gxe(e){var t=new Vse;return t.b=e,t}function Ub(){Ub=C,mZ=new See,hZ=new Cee}function Wb(){Wb=C,uDt=new ir,lDt=new ar}function Gb(){Gb=C,vDt=new zr,yDt=new Br}function _xe(e){return Mk(),sk((qIe(),kDt),e)}function vxe(e){return tB(),sk((kme(),iDt),e)}function yxe(e){return ZA(),sk((bRe(),cDt),e)}function bxe(e){return QA(),sk((yRe(),SDt),e)}function xxe(e){return qF(),sk((Oze(),wDt),e)}function Sxe(e){return rR(),sk((QHe(),jDt),e)}function Cxe(e){return LI(),sk((SBe(),MDt),e)}function wxe(e){return cD(),sk((gFe(),FDt),e)}function Txe(e){return Ck(),sk((GIe(),RDt),e)}function Exe(e){return fk(),sk((KIe(),VDt),e)}function Dxe(e){return BN(),sk((kze(),WDt),e)}function Oxe(e){return yO(),sk((fFe(),qDt),e)}function kxe(e){return _I(),sk((TBe(),pOt),e)}function Axe(e){return nR(),sk((SWe(),mOt),e)}function jxe(e){return BA(),sk((YIe(),hOt),e)}function Mxe(e){return aO(),sk((XIe(),_Ot),e)}function Nxe(e){return nE(),sk((dFe(),bOt),e)}function Pxe(e){return zF(),sk((wBe(),oOt),e)}function Fxe(e){return uj(),sk((JIe(),YDt),e)}function Ixe(e){return xI(),sk((CBe(),ZDt),e)}function Lxe(e){return ID(),sk((pFe(),eOt),e)}function Rxe(e){return mN(),sk((jze(),POt),e)}function zxe(e){return UL(),sk((EUe(),TMt),e)}function Bxe(e){return oM(),sk((ZIe(),OMt),e)}function Vxe(e){return NP(),sk((xRe(),kMt),e)}function Hxe(e){return SP(),sk((Aze(),MMt),e)}function Uxe(e){return bR(),sk((CWe(),RMt),e)}function Wxe(e){return VN(),sk((SRe(),VMt),e)}function Gxe(e){return oO(),sk((mFe(),UMt),e)}function Kxe(e){return pk(),sk((eLe(),GMt),e)}function qxe(e){return gA(),sk((QIe(),YMt),e)}function Jxe(e){return Ej(),sk(($Ie(),ZMt),e)}function Yxe(e){return Uj(),sk((tLe(),eNt),e)}function Xxe(e){return dk(),sk((nLe(),iNt),e)}function Zxe(e){return ej(),sk((rLe(),oNt),e)}function Qxe(e){return uk(),sk((dLe(),wNt),e)}function $xe(e){return rE(),sk((hFe(),jNt),e)}function eSe(e){return Gw(),sk((yFe(),BNt),e)}function tSe(e){return Kw(),sk((bFe(),HNt),e)}function nSe(e){return oD(),sk((xFe(),iPt),e)}function rSe(e){return Ww(),sk((SFe(),dPt),e)}function iSe(e){return bF(),sk((IRe(),pPt),e)}function aSe(e){return SR(),sk((Ame(),EPt),e)}function oSe(e){return Dj(),sk((iLe(),kPt),e)}function sSe(e){return Vj(),sk((FRe(),vFt),e)}function cSe(e){return bT(),sk((_Fe(),xFt),e)}function lSe(e){return Nk(),sk((vFe(),DFt),e)}function uSe(e){return XF(),sk((Mze(),kFt),e)}function dSe(e){return Hj(),sk((aLe(),IFt),e)}function fSe(e){return kD(),sk((CFe(),MFt),e)}function pSe(e){return nF(),sk((PRe(),_It),e)}function mSe(e){return hA(),sk((oLe(),xIt),e)}function hSe(e){return FN(),sk((sLe(),CIt),e)}function gSe(e){return PP(),sk((cLe(),TIt),e)}function _Se(e){return ZM(),sk((lLe(),jIt),e)}function vSe(e){return AE(),sk((wFe(),mLt),e)}function ySe(e){return sA(),sk((uFe(),SEt),e)}function bSe(e){return yI(),sk((EBe(),uEt),e)}function xSe(e){return LD(),sk((uLe(),vLt),e)}function SSe(e){return VA(),sk((TFe(),SLt),e)}function CSe(e){return IL(),sk((Nze(),TLt),e)}function wSe(e){return Lh(),sk((WNe(),OLt),e)}function TSe(e){return jM(),sk((vLe(),ELt),e)}function ESe(e){return Rh(),sk((GNe(),ALt),e)}function DSe(e){return sD(),sk((EFe(),MLt),e)}function OSe(e){return wI(),sk((Pze(),LLt),e)}function kSe(e){return zh(),sk((KNe(),hRt),e)}function ASe(e){return tj(),sk((DFe(),vRt),e)}function jSe(e){return lP(),sk((Ize(),ORt),e)}function MSe(e){return NI(),sk((XHe(),jRt),e)}function NSe(e){return FP(),sk((DBe(),FRt),e)}function PSe(e){return KF(),sk((OBe(),qRt),e)}function FSe(e){return AM(),sk((Fze(),Yzt),e)}function ISe(e){return BO(),sk((yLe(),Zzt),e)}function LSe(e){return XM(),sk((LRe(),Qzt),e)}function RSe(e){return sI(),sk((kBe(),aBt),e)}function zSe(e){return cM(),sk((_Le(),pBt),e)}function BSe(e){return xF(),sk((RRe(),hBt),e)}function VSe(e){return vL(),sk((OUe(),gBt),e)}function HSe(e){return fP(),sk((Lze(),yBt),e)}function USe(e){return YF(),sk((ABe(),xBt),e)}function WSe(e){return YI(),sk((jBe(),SBt),e)}function GSe(e){return Vz(),sk((Rze(),CBt),e)}function KSe(e){return PN(),sk((zRe(),kBt),e)}function qSe(e){return OR(),sk((DUe(),jBt),e)}function JSe(e){return sM(),sk((bLe(),PBt),e)}function YSe(e,t){return(kC(e),e)+(kC(t),t)}function XSe(e){return qb(),sk((OFe(),LBt),e)}function ZSe(e){return hN(),sk((BRe(),HBt),e)}function QSe(e){return Tj(),sk((VRe(),JBt),e)}function Kb(){Kb=C,DNt=(Vz(),C5),T2=r5}function qb(){qb=C,FBt=new wwe,IBt=new lEe}function $Se(e){return!e.e&&(e.e=new Zd),e.e}function Jb(e,t){this.c=e,this.a=t,this.b=t-e}function eCe(e,t,n){this.a=e,this.b=t,this.c=n}function Yb(e,t,n){this.a=e,this.b=t,this.c=n}function tCe(e,t,n){this.a=e,this.b=t,this.c=n}function nCe(e,t,n){this.a=e,this.b=t,this.c=n}function rCe(e,t,n){this.a=e,this.b=t,this.c=n}function iCe(e,t,n){this.a=e,this.b=t,this.c=n}function Xb(e,t,n){this.e=e,this.a=t,this.c=n}function aCe(e,t,n){Fv(),_Ae.call(this,e,t,n)}function Zb(e,t,n){Fv(),SDe.call(this,e,t,n)}function oCe(e,t,n){Fv(),SDe.call(this,e,t,n)}function sCe(e,t,n){Fv(),SDe.call(this,e,t,n)}function cCe(e,t,n){Fv(),Zb.call(this,e,t,n)}function lCe(e,t,n){Fv(),Zb.call(this,e,t,n)}function uCe(e,t,n){Fv(),lCe.call(this,e,t,n)}function dCe(e,t,n){Fv(),oCe.call(this,e,t,n)}function fCe(e,t,n){Fv(),sCe.call(this,e,t,n)}function Qb(e){Mx.call(this,e.d,e.c,e.a,e.b)}function pCe(e){Mx.call(this,e.d,e.c,e.a,e.b)}function mCe(e){this.d=e,Tl(this),this.b=ITe(e.d)}function hCe(e){return mL(),sk((ZHe(),pVt),e)}function $b(e,t){return iC(e),iC(t),new Wue(e,t)}function ex(e,t){return iC(e),iC(t),new $Ce(e,t)}function gCe(e,t){return iC(e),iC(t),new ewe(e,t)}function _Ce(e,t){return iC(e),iC(t),new ede(e,t)}function tx(e){return nb(e.b!=0),NO(e,e.a.a)}function vCe(e){return nb(e.b!=0),NO(e,e.c.b)}function yCe(e){return!e.c&&(e.c=new cs),e.c}function nx(e){var t=new Zd;return dO(t,e),t}function bCe(e){var t=new Vf;return dO(t,e),t}function xCe(e){var t=new Uf;return Uk(t,e),t}function rx(e){var t=new hh;return Uk(t,e),t}function F(e,t){return Tx(e==null||DP(e,t)),e}function SCe(e,t,n){GTe.call(this,t,n),this.a=e}function CCe(e,t){this.c=e,this.b=t,this.a=!1}function wCe(){this.a=`;,;`,this.b=``,this.c=``}function TCe(e,t,n){this.b=e,Sme.call(this,t,n)}function ECe(e,t,n){this.c=e,og.call(this,t,n)}function DCe(e,t,n){Cg.call(this,e,t),this.b=n}function OCe(e,t,n){d5e(n,0,e,t,n.length,!1)}function ix(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function kCe(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function ACe(e,t){t&&(e.b=t,e.a=(EC(t),t.a))}function ax(e,t){if(!e)throw O(new Kp(t))}function ox(e,t){if(!e)throw O(new qp(t))}function jCe(e,t){if(!e)throw O(new Yce(t))}function MCe(e,t){return Fh(),Vv(e.d.p,t.d.p)}function NCe(e,t){return HO(),zM(e.e.b,t.e.b)}function PCe(e,t){return HO(),zM(e.e.a,t.e.a)}function FCe(e,t){return Vv(pwe(e.d),pwe(t.d))}function sx(e,t){return t&&SC(e,t.d)?t:null}function ICe(e,t){return t==(Vz(),C5)?e.c:e.d}function LCe(e){return TA(_Ee(dv(e)?MA(e):e))}function RCe(e){return new j(e.c+e.b,e.d+e.a)}function zCe(e){return e!=null&&!lN(e,E7,D7)}function BCe(e,t){return(XKe(e)<<4|XKe(t))&oV}function VCe(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function HCe(e){var t=e.b;e.b=e.c,e.c=t}function UCe(e){var t,n=e.d;t=e.a,e.d=t,e.a=n}function WCe(e,t){var n=e.c;return AVe(e,t),n}function GCe(e,t){return t<0?e.g=-1:e.g=t,e}function cx(e,t){return hBe(e),e.a*=t,e.b*=t,e}function KCe(e,t,n){sBe.call(this,t,n),this.d=e}function lx(e,t,n){hme.call(this,e,t),this.c=n}function ux(e,t,n){hme.call(this,e,t),this.c=n}function qCe(e){Ube(),Go.call(this),this.ci(e)}function JCe(){nD(),wDe.call(this,(Wh(),B7))}function YCe(e){return nB(),++W9,new Rx(0,e)}function XCe(){XCe=C,yHt=(lw(),new Vl(lJ))}function dx(){dx=C,new vZe((kp(),zJ),(Op(),RJ))}function ZCe(){ZCe=C,dSt=H(aY,X,17,256,0,1)}function QCe(){this.b=k(P(mP((FR(),kX))))}function fx(e){this.b=e,this.a=rS(this.b.a).Od()}function $Ce(e,t){this.b=e,this.a=t,mc.call(this)}function ewe(e,t){this.a=e,this.b=t,mc.call(this)}function twe(e,t,n){this.a=e,av.call(this,t,n)}function nwe(e,t,n){this.a=e,av.call(this,t,n)}function px(e,t,n){xO(e,t,new aC(n))}function rwe(e,t,n){var r=e[t];return e[t]=n,r}function mx(e){return jD(e.slice(),e)}function hx(e){var t=e.n;return e.a.b+t.d+t.a}function iwe(e){var t=e.n;return e.e.b+t.d+t.a}function awe(e){var t=e.n;return e.e.a+t.b+t.c}function owe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function gx(e,t){return bE(e,t,e.c.b,e.c),!0}function swe(e){return e.a?e.a:TOe(e)}function cwe(e){return uw(),pI(e)==$w(mI(e))}function lwe(e){return uw(),mI(e)==$w(pI(e))}function _x(e,t){return MF(e,new Cg(t.a,t.b))}function uwe(e,t){return FC(),ZP(e,t),new JDe(e,t)}function dwe(e,t){return e.c=t)throw O(new op)}function hS(e,t){return bM(e,(kC(t),new Mae(t)))}function gS(e,t){return bM(e,(kC(t),new Nae(t)))}function ZTe(e,t,n){return qft(e,F(t,12),F(n,12))}function QTe(e){return cA(),F(e,12).g.c.length!=0}function $Te(e){return cA(),F(e,12).e.c.length!=0}function eEe(e,t){return aA(),zM(t.a.o.a,e.a.o.a)}function tEe(e,t){(t.Bb&RK)!=0&&!e.a.o&&(e.a.o=t)}function nEe(e,t){t.Ug(`General 'Rotator`,1),Nut(e)}function rEe(e,t,n){t.qf(n,k(P(dC(e.b,n)))*e.a)}function iEe(e,t,n){return iR(),dA(e,t)&&dA(e,n)}function _S(e){return YI(),!e.Hc(Q8)&&!e.Hc(e5)}function aEe(e){return e.e?IIe(e.e):null}function vS(e){return dv(e)?``+e:Int(e)}function oEe(e){for(var t=e;t.f;)t=t.f;return t}function sEe(e,t,n){return fC(t,0,Vwe(t[0],n[0])),t}function yS(e,t,n,r){var i=e.i;i.i=t,i.a=n,i.b=r}function I(e,t,n,r){ny.call(this,e,t,n),this.b=r}function bS(e,t,n,r,i){SD.call(this,e,t,n,r,i,-1)}function xS(e,t,n,r,i){CD.call(this,e,t,n,r,i,-1)}function SS(e,t,n,r){lx.call(this,e,t,n),this.b=r}function cEe(e){Zpe.call(this,e,!1),this.a=!1}function lEe(){Ape.call(this,`LOOKAHEAD_LAYOUT`,1)}function uEe(e){this.b=e,Ny.call(this,e),Qge(this)}function dEe(e){this.b=e,Fy.call(this,e),$ge(this)}function CS(e,t,n){this.a=e,Cb.call(this,t,n,5,6)}function fEe(e,t,n,r){this.b=e,ny.call(this,t,n,r)}function pEe(e,t){this.b=e,Zc.call(this,e.b),this.a=t}function mEe(e){this.a=gZe(e.a),this.b=new Pb(e.b)}function hEe(e,t){oC(),ade.call(this,e,uM(new tm(t)))}function wS(e,t){return nB(),++W9,new xDe(e,t,0)}function TS(e,t){return nB(),++W9,new xDe(6,e,t)}function ES(e,t){for(kC(t);e.Ob();)t.Cd(e.Pb())}function DS(e,t){return B_(t)?yw(e,t):!!Wx(e.f,t)}function OS(e,t){return t.Vh()?aM(e.b,F(t,54)):t}function gEe(e,t){return Db(e.substr(0,t.length),t)}function kS(e){return new dS(new a_e(e.a.length,e.a))}function AS(e){return new j(e.c+e.b/2,e.d+e.a/2)}function _Ee(e){return Hv(~e.l&AV,~e.m&AV,~e.h&jV)}function jS(e){return typeof e===sB||typeof e===uB}function MS(e){e.f=new she(e),e.i=new che(e),++e.g}function vEe(e){if(!e)throw O(new Af);return e.d}function NS(e){var t=fj(e);return nb(t!=null),t}function yEe(e){var t=Aqe(e);return nb(t!=null),t}function PS(e,t){var n=e.a.gc();return xIe(t,n),n-t}function FS(e,t){return e.a.zc(t,e)==null}function IS(e,t){return e.a.zc(t,(Oy(),QJ))==null}function bEe(e){return new jx(null,MEe(e,e.length))}function xEe(e,t,n){return Pst(e,F(t,42),F(n,176))}function LS(e,t,n){return Ik(e.a,t),rwe(e.b,t.g,n)}function SEe(e,t,n){mS(n,e.a.c.length),EE(e.a,n,t)}function L(e,t,n,r){jGe(t,n,e.length),CEe(e,t,n,r)}function CEe(e,t,n,r){var i;for(i=t;i0?r.Math.log(e/t):-100}function AEe(e,t){return iM(e,t)<0?-1:+(iM(e,t)>0)}function US(e,t){xge(e,N(t,160)?t:F(t,2036).Rl())}function jEe(e,t){if(e==null)throw O(new Jp(t))}function MEe(e,t){return uBe(t,e.length),new Cwe(e,t)}function NEe(e,t){return t?Xk(e,t):!1}function PEe(){return Np(),W(A(Wxt,1),Z,549,0,[UJ])}function WS(e){return e.e==0?e:new RS(-e.e,e.d,e.a)}function FEe(e,t){return zM(e.c.c+e.c.b,t.c.c+t.c.b)}function GS(e,t){bE(e.d,t,e.b.b,e.b),++e.a,e.c=null}function IEe(e,t){return e.c?IEe(e.c,t):ey(e.b,t),e}function LEe(e,t,n){var r=pO(e,t);return dE(e,t,n),r}function REe(e,t,n){var r;for(r=0;r=e.g}function fC(e,t,n){return Lve(n==null||kat(e,n)),e[t]=n}function uDe(e,t){return CT(t,e.length+1),e.substr(t)}function pC(e,t){for(kC(t);e.c=e?new yde:PVe(e-1)}function TC(e){return!e.a&&e.c?e.c.b:e.a}function jDe(e){return N(e,616)?e:new OAe(e)}function EC(e){e.c?EC(e.c):(HM(e),e.d=!0)}function DC(e){e.c?e.c.$e():(e.d=!0,Oet(e))}function MDe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function NDe(e){return e.c.i.c==e.d.i.c}function PDe(e,t){var n=e.Ih(t);n>=0?e.ki(n):i8e(e,t)}function FDe(e,t){e.c<0||e.b.b0;)e=e<<1|e<0;return e}function iOe(e,t){var n=new mC(e);return df(t.c,n),n}function aOe(e,t){e.u.Hc((YI(),Q8))&&E8e(e,t),xLe(e,t)}function RC(e,t){return M(e)===M(t)||e!=null&&xM(e,t)}function zC(e,t){return Ux(e.a,t)?e.b[F(t,22).g]:null}function oOe(){return Ah(),W(A(Ewt,1),Z,489,0,[gX])}function sOe(){return Lh(),W(A(DLt,1),Z,490,0,[T3])}function cOe(){return Rh(),W(A(kLt,1),Z,558,0,[E3])}function lOe(){return zh(),W(A(mRt,1),Z,539,0,[F3])}function BC(e){return!e.n&&(e.n=new I(a7,e,1,7)),e.n}function uOe(e){return!e.c&&(e.c=new I(s7,e,9,9)),e.c}function dOe(e){return!e.c&&(e.c=new Tb(Y5,e,5,8)),e.c}function fOe(e){return!e.b&&(e.b=new Tb(Y5,e,4,7)),e.b}function VC(e){return e.j.c.length=0,wOe(e.c),Jye(e.a),e}function HC(e){return e.e==uJ&&xae(e,pXe(e.g,e.b)),e.e}function UC(e){return e.f==uJ&&Cae(e,I$e(e.g,e.b)),e.f}function WC(e,t,n,r){return hUe(e,t,n,!1),wM(e,r),e}function pOe(e,t){this.b=e,zS.call(this,e,t),Qge(this)}function mOe(e,t){this.b=e,Sbe.call(this,e,t),$ge(this)}function GC(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function hOe(e,t){this.b=e,this.c=t,this.a=new mh(this.b)}function KC(e,t){return CT(t,e.length),e.charCodeAt(t)}function gOe(e,t){Vqe(e,k(ak(t,`x`)),k(ak(t,`y`)))}function _Oe(e,t){Vqe(e,k(ak(t,`x`)),k(ak(t,`y`)))}function qC(e,t){return HM(e),new jx(e,new ARe(t,e.a))}function JC(e,t){return HM(e),new jx(e,new DIe(t,e.a))}function YC(e,t){return HM(e),new Vve(e,new TIe(t,e.a))}function XC(e,t){return HM(e),new Hve(e,new EIe(t,e.a))}function vOe(e,t){return new yke(F(iC(e),50),F(iC(t),50))}function yOe(e,t){return zM(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function bOe(e,t,n){n.a?YO(e,t.b-e.f/2):JO(e,t.a-e.g/2)}function xOe(e,t){return zM(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function SOe(e,t){return Ide(),zM((kC(e),e),(kC(t),t))}function COe(e){return e!=null&&uh(O7,e.toLowerCase())}function wOe(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function ZC(e){var t=e.b;return!t&&(e.b=t=new Hc(e)),t}function TOe(e){return RVe(e)||null}function EOe(e,t){var n=e/t,r=Bw(n);return n>r&&++r,r}function DOe(e,t,n){var r=F(e.d.Kb(n),159);r&&r.Nb(t)}function OOe(e,t,n){jst(e.a,n),BUe(n),p7e(e.b,n),act(t,n)}function QC(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function kOe(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function AOe(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function $C(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function jOe(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function MOe(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function NOe(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function POe(e,t,n){this.a=Tpt,this.d=e,this.b=t,this.c=n}function ew(e,t,n,r){ah.call(this,e,t),this.a=n,this.b=r}function FOe(e,t){this.d=(kC(e),e),this.a=16449,this.c=t}function IOe(e){this.a=new Zd,this.e=H(q9,X,53,e,0,2)}function LOe(e){e.Ug(`No crossing minimization`,1),e.Vg()}function ROe(){jp.call(this,`There is no more element.`)}function zOe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function BOe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function tw(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function VOe(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function HOe(e,t,n,r){Fv(),OIe.call(this,t,n,r),this.a=e}function UOe(e,t,n,r){Fv(),OIe.call(this,t,n,r),this.a=e}function WOe(e,t,n){var r=vdt(e);return t.ti(n,r)}function nw(e){var t,n=(t=new ef,t);return LO(n,e),n}function GOe(e){var t,n=(t=new ef,t);return f4e(n,e),n}function KOe(e,t){return KHe(t,dC(e.f,t)),null}function qOe(e){return!e.b&&(e.b=new I(X5,e,12,3)),e.b}function JOe(e){return Tx(e==null||jS(e)&&e.Tm!==ne),e}function rw(e){return e.n&&(e.e!==Spt&&e.je(),e.j=null),e}function iw(e){if(cN(e.d),e.d.d!=e.c)throw O(new Of)}function YOe(e){return nb(e.b0&&y1e(this)}function XOe(e,t){this.a=e,Bve.call(this,e,F(e.d,15).fd(t))}function ZOe(e,t){return zM(Ix(e)*Fx(e),Ix(t)*Fx(t))}function QOe(e,t){return zM(Ix(e)*Fx(e),Ix(t)*Fx(t))}function $Oe(e){return nL(e)&&Bp($y(J(e,(Zz(),L1))))}function eke(e,t){return iL(e,F(K(t,(Zz(),n0)),17),t)}function tke(e,t){return F(K(e,(Y(),D$)),15).Fc(t),t}function nke(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function rke(e,t,n,r){this.b=e,this.c=r,ev.call(this,t,n)}function ike(e,t,n){e.i=0,e.e=0,t!=n&&WWe(e,t,n)}function ake(e,t,n){e.i=0,e.e=0,t!=n&&GWe(e,t,n)}function oke(e,t,n){return Ph(),cJe(F(dC(e.e,t),529),n)}function sw(e){var t;return t=e.f,t||(e.f=new nh(e,e.c))}function ske(e,t){return mM(e.j,t.s,t.c)+mM(t.e,e.s,e.c)}function cke(e,t){e.e&&!e.e.a&&(tf(e.e,t),cke(e.e,t))}function lke(e,t){e.d&&!e.d.a&&(tf(e.d,t),lke(e.d,t))}function uke(e,t){return-zM(Ix(e)*Fx(e),Ix(t)*Fx(t))}function dke(e){return F(e.ld(),149).Pg()+`:`+aN(e.md())}function fke(){vI(this,new Pc),this.wb=(cC(),G7),Rm()}function pke(e){this.b=new Zd,YA(this.b,this.b),this.a=e}function mke(e,t){new hh,this.a=new _p,this.b=e,this.c=t}function cw(){cw=C,MSt=new le,CY=new le,NSt=new ue}function lw(){lw=C,yY=new ae,bY=new se,xY=new w}function hke(){hke=C,dCt=new We,pCt=new bTe,fCt=new Ge}function uw(){uw=C,SX=new Zd,xX=new Xd,bX=new Zd}function dw(e,t){if(e==null)throw O(new Jp(t));return e}function fw(e){return!e.a&&(e.a=new I(o7,e,10,11)),e.a}function pw(e){return!e.q&&(e.q=new I(z7,e,11,10)),e.q}function z(e){return!e.s&&(e.s=new I(j7,e,21,17)),e.s}function gke(e){return iC(e),qZe(new dS(fy(e.a.Kc(),new d)))}function _ke(e,t){return Kj(e),Kj(t),Uce(F(e,22),F(t,22))}function mw(e,t,n){xO(e,t,new ol(Ibe(n)))}function hw(e,t,n,r,i,a){CD.call(this,e,t,n,r,i,a?-2:-1)}function vke(e,t,n,r){hme.call(this,t,n),this.b=e,this.a=r}function yke(e,t){bce.call(this,new fS(e)),this.a=e,this.b=t}function bke(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function xke(e){Gb();var t=F(e.g,10);t.n.a=e.d.c+t.d.b}function gw(){gw=C;var e,t=!AYe();e=new b,Qxt=t?new y:e}function _w(e){return lw(),N(e,59)?new mm(e):new vy(e)}function vw(e){return N(e,16)?new Ax(F(e,16)):bCe(e.Kc())}function Ske(e){return new n_e(e,e.e.Rd().gc()*e.c.Rd().gc())}function Cke(e){return new r_e(e,e.e.Rd().gc()*e.c.Rd().gc())}function wke(e){return e&&e.hashCode?e.hashCode():Ey(e)}function yw(e,t){return t==null?!!Wx(e.f,null):fTe(e.i,t)}function Tke(e,t){var n=bge(e.a,t);return n&&(t.d=null),n}function Eke(e,t,n){return e.f?e.f.ef(t,n):!1}function bw(e,t,n,r){fC(e.c[t.g],n.g,r),fC(e.c[n.g],t.g,r)}function xw(e,t,n,r){fC(e.c[t.g],t.g,n),fC(e.b[t.g],t.g,r)}function Dke(e,t,n){return k(P(n.a))<=e&&k(P(n.b))>=t}function Oke(e,t){this.g=e,this.d=W(A(iZ,1),XU,10,0,[t])}function kke(e){this.c=e,this.b=new Km(F(iC(new eee),50))}function Ake(e){this.c=e,this.b=new Km(F(iC(new zt),50))}function jke(e){this.b=e,this.a=new Km(F(iC(new iee),50))}function Mke(){this.b=new Vf,this.d=new hh,this.e=new sp}function Nke(){this.c=new Im,this.d=new Im,this.e=new Im}function Sw(){this.a=new _p,this.b=(xk(3,qB),new iD(3))}function Cw(e,t){this.e=e,this.a=MJ,this.b=Ort(t),this.c=t}function ww(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function Pke(e,t,n,r,i,a){this.a=e,wk.call(this,t,n,r,i,a)}function Fke(e,t,n,r,i,a){this.a=e,wk.call(this,t,n,r,i,a)}function Tw(e,t,n,r,i,a,o){return new gE(e.e,t,n,r,i,a,o)}function Ike(e,t,n){return n>=0&&Db(e.substr(n,t.length),t)}function Lke(e,t){return N(t,149)&&Db(e.b,F(t,149).Pg())}function Rke(e,t){return e.a?t.Gh().Kc():F(t.Gh(),71).Ii()}function zke(e,t){var n=e.b.Qc(t);return rFe(n,e.b.gc()),n}function Ew(e,t){if(e==null)throw O(new Jp(t));return e}function Dw(e){return e.u||=(NE(e),new fye(e,e)),e.u}function Ow(e){this.a=(lw(),N(e,59)?new mm(e):new vy(e))}function kw(e){return F(EA(e,16),29)||e.ii()}function Aw(e,t){var n=Bm(e.Rm);return t==null?n:n+`: `+t}function jw(e,t,n){return pD(t,n,e.length),e.substr(t,n-t)}function Bke(e,t){bb.call(this),xBe(this),this.a=e,this.c=t}function Vke(e){!e||Aw(e,e.ie())}function Hke(e){sm(),r.setTimeout(function(){throw e},0)}function Uke(){return dP(),W(A(hCt,1),Z,436,0,[RY,mCt])}function Wke(){return _O(),W(A(vCt,1),Z,435,0,[_Ct,zY])}function Gke(){return vO(),W(A(Zwt,1),Z,432,0,[CX,wX])}function Kke(){return sA(),W(A(xEt,1),Z,517,0,[pZ,fZ])}function qke(){return nE(),W(A(yOt,1),Z,429,0,[s$,vOt])}function Jke(){return yO(),W(A(KDt,1),Z,428,0,[kQ,GDt])}function Yke(){return cD(),W(A(PDt,1),Z,431,0,[NDt,bQ])}function Xke(){return oO(),W(A(HMt,1),Z,430,0,[s2,c2])}function Zke(){return rE(),W(A(ANt,1),Z,531,0,[D2,E2])}function Qke(){return Nk(),W(A(EFt,1),Z,501,0,[D4,O4])}function $ke(){return Gw(),W(A(zNt,1),Z,523,0,[j2,A2])}function eAe(){return Kw(),W(A(VNt,1),Z,522,0,[M2,N2])}function tAe(){return oD(),W(A(rPt,1),Z,528,0,[L2,I2])}function nAe(){return ID(),W(A($Dt,1),Z,488,0,[QDt,zQ])}function rAe(){return AE(),W(A(pLt,1),Z,491,0,[m3,fLt])}function iAe(){return VA(),W(A(xLt,1),Z,492,0,[yLt,bLt])}function aAe(){return bT(),W(A(bFt,1),Z,433,0,[T4,yFt])}function oAe(){return kD(),W(A(jFt,1),Z,434,0,[AFt,P4])}function sAe(){return Ww(),W(A(uPt,1),Z,465,0,[R2,z2])}function cAe(){return sD(),W(A(jLt,1),Z,438,0,[O3,D3])}function lAe(){return tj(),W(A(_Rt,1),Z,437,0,[I3,gRt])}function uAe(){return qb(),W(A(V5,1),Z,347,0,[FBt,IBt])}function Mw(e,t,n,r){return n>=0?e.Uh(t,n,r):e.Ch(null,n,r)}function Nw(e){return e.b.b==0?e.a.sf():tx(e.b)}function dAe(e){if(e.p!=5)throw O(new Tf);return eS(e.f)}function fAe(e){if(e.p!=5)throw O(new Tf);return eS(e.k)}function pAe(e){return M(e.a)===M((oA(),YVt))&&Fct(e),e.a}function mAe(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=Nx(e.c,e.b,e.a))}function hAe(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=Nx(e.c,e.b,e.a))}function gAe(e,t){lae(this,new j(e.a,e.b)),uae(this,rx(t))}function Pw(){xce.call(this,new ph(EO(12))),qge(!0),this.a=2}function Fw(e,t,n){nB(),Jd.call(this,e),this.b=t,this.a=n}function _Ae(e,t,n){Fv(),Vd.call(this,t),this.a=e,this.b=n}function vAe(e){var t=e.c.d.b;e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function yAe(e){return e.b==0?null:(nb(e.b!=0),NO(e,e.a.a))}function Iw(e,t){return t==null?z_(Wx(e.f,null)):ng(e.i,t)}function bAe(e,t,n,r,i){return new OI(e,(PD(),DY),t,n,r,i)}function Lw(e,t){return JPe(t),XBe(e,H(q9,bV,28,t,15,1),t)}function Rw(e,t){return dw(e,`set1`),dw(t,`set2`),new ode(e,t)}function xAe(e,t){return GJ[e.charCodeAt(0)]??e}function SAe(e,t){var n=t,r=new _e;return Glt(e,n,r),r.d}function CAe(e,t,n,r){var i=new kye;t.a[n.g]=i,LS(e.b,r,i)}function wAe(e,t){return xb(Jy(IBe(e.f,t)),e.f.d)}function zw(e){var t;_Ve(e.a),Fhe(e.a),t=new du(e.a),EJe(t)}function TAe(e,t){ert(e,!0),MO(e.e.Rf(),new fxe(e,!0,t))}function EAe(e,t){return uw(),e==$w(pI(t))||e==$w(mI(t))}function DAe(e,t){return HO(),F(K(t,(HR(),b4)),17).a==e}function Bw(e){return Math.max(Math.min(e,dB),-2147483648)|0}function OAe(e){this.a=F(iC(e),277),this.b=(lw(),new v_e(e))}function kAe(e,t,n){this.i=new Zd,this.b=e,this.g=t,this.a=n}function AAe(e,t,n){this.a=new Zd,this.e=e,this.f=t,this.c=n}function Vw(e,t,n){this.c=new Zd,this.e=e,this.f=t,this.b=n}function jAe(e){bb.call(this),xBe(this),this.a=e,this.c=!0}function MAe(e){function t(){}return t.prototype=e||{},new t}function NAe(e){if(e.Ae())return null;var t=e.n;return jJ[t]}function Hw(e){return e.Db>>16==3?F(e.Cb,27):null}function Uw(e){return e.Db>>16==9?F(e.Cb,27):null}function PAe(e){return e.Db>>16==6?F(e.Cb,74):null}function Ww(){Ww=C,R2=new hpe(DH,0),z2=new hpe(OH,1)}function Gw(){Gw=C,j2=new tpe(OH,0),A2=new tpe(DH,1)}function Kw(){Kw=C,M2=new npe(PH,0),N2=new npe(`UP`,1)}function FAe(){FAe=C,Gxt=Yj((Np(),W(A(Wxt,1),Z,549,0,[UJ])))}function IAe(e){var t=new Gm(EO(e.length));return AWe(t,e),t}function LAe(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function RAe(e,t){return HUe(e,t)?(nVe(e),!0):!1}function qw(e,t){if(t==null)throw O(new Ef);return HYe(e,t)}function Jw(e,t){var n=e.q.getHours();e.q.setDate(t),XR(e,n)}function zAe(e,t,n){var r=e.Ih(t);r>=0?e.bi(r,n):B9e(e,t,n)}function BAe(e,t){var n=e.Ih(t);return n>=0?e.Wh(n):eL(e,t)}function VAe(e,t){var n;for(iC(t),n=e.a;n;n=n.c)t.Yd(n.g,n.i)}function Yw(e,t,n){e.b=new Hk(FWe(e,t,n).c.length)}function Xw(e,t,n){tT(),e&&PC(b7,e,t),e&&PC(y7,e,n)}function HAe(e,t){return Wb(),Oy(),F(t.a,17).a0}function GAe(e){var t=e.d;return t=e.bj(e.f),gD(e,t),t.Ob()}function KAe(e,t){var n=new qwe(t);return G2e(n,e),new Pb(n)}function qAe(e){if(e.p!=0)throw O(new Tf);return G_(e.f,0)}function JAe(e){if(e.p!=0)throw O(new Tf);return G_(e.k,0)}function YAe(e){return e.Db>>16==7?F(e.Cb,241):null}function Qw(e){return e.Db>>16==6?F(e.Cb,241):null}function XAe(e){return e.Db>>16==7?F(e.Cb,167):null}function $w(e){return e.Db>>16==11?F(e.Cb,27):null}function eT(e){return e.Db>>16==17?F(e.Cb,29):null}function ZAe(e){return e.Db>>16==3?F(e.Cb,155):null}function QAe(e){var t;return HM(e),t=new Vf,qC(e,new Bae(t))}function $Ae(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.ve(t))}function eje(e,t){var n=e.q.getHours();e.q.setMonth(t),XR(e,n)}function tje(e,t){oy(this),this.f=t,this.g=e,rw(this),this.je()}function nje(e,t){this.a=e,this.c=Gv(this.a),this.b=new ww(t)}function rje(e,t,n){this.a=t,this.c=e,this.b=(iC(n),new Pb(n))}function ije(e,t,n){this.a=t,this.c=e,this.b=(iC(n),new Pb(n))}function aje(e){this.a=e,this.b=H(TNt,X,2043,e.e.length,0,2)}function oje(){this.a=new fv,this.e=new Vf,this.g=0,this.i=0}function tT(){tT=C,b7=new Xd,y7=new Xd,nme(ISt,new Bo)}function sje(){sje=C,sNt=$x(new NC,(uI(),HX),(tB(),FZ))}function cje(){cje=C,cNt=$x(new NC,(uI(),HX),(tB(),FZ))}function lje(){lje=C,uNt=$x(new NC,(uI(),HX),(tB(),FZ))}function uje(){uje=C,MNt=Cx(new NC,(uI(),HX),(tB(),yZ))}function nT(){nT=C,FNt=Cx(new NC,(uI(),HX),(tB(),yZ))}function dje(){dje=C,RNt=Cx(new NC,(uI(),HX),(tB(),yZ))}function fje(){fje=C,UNt=Cx(new NC,(uI(),HX),(tB(),yZ))}function rT(e,t,n,r,i,a){return new QD(e.e,t,e.Lj(),n,r,i,a)}function iT(e,t,n){return t==null?HI(e.f,null,n):UM(e.i,t,n)}function aT(e,t){e.c&&zD(e.c.g,e),e.c=t,e.c&&ey(e.c.g,e)}function oT(e,t){e.c&&zD(e.c.a,e),e.c=t,e.c&&ey(e.c.a,e)}function sT(e,t){e.i&&zD(e.i.j,e),e.i=t,e.i&&ey(e.i.j,e)}function cT(e,t){e.d&&zD(e.d.e,e),e.d=t,e.d&&ey(e.d.e,e)}function lT(e,t){e.a&&zD(e.a.k,e),e.a=t,e.a&&ey(e.a.k,e)}function uT(e,t){e.b&&zD(e.b.f,e),e.b=t,e.b&&ey(e.b.f,e)}function pje(e,t){mDe(e,e.b,e.c),F(e.b.b,68),t&&F(t.b,68).b}function mje(e,t){return zM(F(e.c,65).c.e.b,F(t.c,65).c.e.b)}function hje(e,t){return zM(F(e.c,65).c.e.a,F(t.c,65).c.e.a)}function gje(e){return Gj(),Oy(),F(e.a,86).d.e!=0}function dT(e,t){N(e.Cb,184)&&(F(e.Cb,184).tb=null),Gk(e,t)}function fT(e,t){N(e.Cb,90)&&GI(NE(F(e.Cb,90)),4),Gk(e,t)}function _je(e,t){Wqe(e,t),N(e.Cb,90)&&GI(NE(F(e.Cb,90)),2)}function vje(e,t){t.c!=null&&hC(e,new aC(t.c))}function yje(e){var t,n=(Rm(),t=new ef,t);return LO(n,e),n}function bje(e){var t,n=(Rm(),t=new ef,t);return LO(n,e),n}function xje(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function Sje(e,t,n){return ey(e.a,(FC(),ZP(t,n),new ih(t,n))),e}function pT(e,t){return Yh(),cO(t)?new bx(t,e):new L_(t,e)}function mT(e){return hR(),iM(e,0)>=0?kN(e):WS(kN(BD(e)))}function Cje(e){var t=F(mx(e.b),9);return new Fb(e.a,t,e.c)}function wje(e,t){var n=F(hM(sw(e.a),t),16);return n?n.gc():0}function Tje(e,t,n){var r;JKe(t,n,e.c.length),r=n-t,Eue(e.c,t,r)}function hT(e,t,n){JKe(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function gT(e){this.c=new hh,this.b=e.b,this.d=e.c,this.a=e.a}function _T(e){this.a=r.Math.cos(e),this.b=r.Math.sin(e)}function vT(e,t,n,r){this.c=e,this.d=r,lT(this,t),uT(this,n)}function Eje(e,t){yce.call(this,new ph(EO(e))),xk(t,hpt),this.a=t}function Dje(e,t,n){return new OI(e,(PD(),EY),null,!1,t,n)}function Oje(e,t,n){return new OI(e,(PD(),OY),t,n,null,!1)}function kje(){return Wj(),W(A(PY,1),Z,108,0,[iCt,MY,NY])}function Aje(){return iO(),W(A(WCt,1),Z,472,0,[$Y,QY,ZY])}function jje(){return FD(),W(A(VCt,1),Z,471,0,[YY,JY,XY])}function Mje(){return zO(),W(A(GY,1),Z,237,0,[HY,UY,WY])}function Nje(){return rO(),W(A(RTt,1),Z,391,0,[IX,FX,LX])}function Pje(){return Mk(),W(A(rQ,1),Z,372,0,[nQ,tQ,eQ])}function Fje(){return Ck(),W(A(LDt,1),Z,322,0,[SQ,xQ,IDt])}function Ije(){return fk(),W(A(BDt,1),Z,351,0,[zDt,wQ,CQ])}function Lje(){return uj(),W(A(JDt,1),Z,460,0,[jQ,AQ,MQ])}function Rje(){return BA(),W(A(r$,1),Z,299,0,[t$,n$,e$])}function zje(){return aO(),W(A(gOt,1),Z,311,0,[a$,o$,i$])}function Bje(){return oM(),W(A(DMt,1),Z,390,0,[V0,EMt,H0])}function Vje(){return pk(),W(A(WMt,1),Z,463,0,[d2,l2,u2])}function Hje(){return gA(),W(A(JMt,1),Z,387,0,[KMt,f2,qMt])}function Uje(){return Ej(),W(A(XMt,1),Z,349,0,[h2,p2,m2])}function Wje(){return Uj(),W(A($Mt,1),Z,350,0,[g2,QMt,_2])}function Gje(){return dk(),W(A(rNt,1),Z,352,0,[nNt,v2,tNt])}function Kje(){return ej(),W(A(aNt,1),Z,388,0,[b2,x2,y2])}function qje(){return uk(),W(A(CNt,1),Z,464,0,[S2,C2,w2])}function yT(e){return hj(W(A($3,1),X,8,0,[e.i.n,e.n,e.a]))}function Jje(){return Dj(),W(A(OPt,1),Z,392,0,[DPt,q2,K2])}function Yje(){Yje=C,SFt=$x(new NC,(bF(),H2),(SR(),gPt))}function bT(){bT=C,T4=new gpe(`DFS`,0),yFt=new gpe(`BFS`,1)}function Xje(e,t,n){var r=new Vi;r.b=t,r.a=n,++t.b,ey(e.d,r)}function Zje(e,t,n){var r=new pv(n.d);xb(r,e),Vqe(t,r.a,r.b)}function Qje(e,t){Lge(e,eS(ET(sS(t,24),oH)),eS(ET(t,oH)))}function xT(e,t){if(e<0||e>t)throw O(new Up(Jpt+e+Ypt+t))}function ST(e,t){if(e<0||e>=t)throw O(new Up(Jpt+e+Ypt+t))}function CT(e,t){if(e<0||e>=t)throw O(new cle(Jpt+e+Ypt+t))}function wT(e,t){this.b=(kC(e),e),this.a=(t&VV)==0?t|64|AB:t}function $je(e){var t;return HM(e),t=(cw(),cw(),CY),OO(e,t)}function eMe(e,t,n){var r=rz(e,t,!1);return r.b<=t&&r.a<=n}function tMe(){return LD(),W(A(_Lt,1),Z,439,0,[h3,gLt,hLt])}function nMe(){return ZM(),W(A(AIt,1),Z,394,0,[kIt,a3,OIt])}function rMe(){return FN(),W(A(SIt,1),Z,445,0,[W4,G4,K4])}function iMe(){return PP(),W(A(wIt,1),Z,456,0,[q4,Y4,J4])}function aMe(){return Hj(),W(A(FFt,1),Z,393,0,[F4,NFt,PFt])}function oMe(){return hA(),W(A(bIt,1),Z,300,0,[U4,yIt,vIt])}function sMe(){return cM(),W(A(fBt,1),Z,346,0,[w8,C8,T8])}function cMe(){return jM(),W(A(w3,1),Z,444,0,[x3,S3,C3])}function lMe(){return BO(),W(A(Xzt,1),Z,278,0,[p8,m8,h8])}function uMe(){return sM(),W(A(NBt,1),Z,280,0,[MBt,z5,B5])}function TT(e){return iC(e),N(e,16)?new Pb(F(e,16)):nx(e.Kc())}function dMe(e,t){return e&&e.equals?e.equals(t):M(e)===M(t)}function ET(e,t){return TA(VTe(dv(e)?MA(e):e,dv(t)?MA(t):t))}function DT(e,t){return TA(HTe(dv(e)?MA(e):e,dv(t)?MA(t):t))}function OT(e,t){return TA(UTe(dv(e)?MA(e):e,dv(t)?MA(t):t))}function fMe(e,t){var n=(kC(e),e).g;return Ive(!!n),kC(t),n(t)}function pMe(e,t){var n,r=PS(e,t);return n=e.a.fd(r),new rde(e,n)}function mMe(e){return e.Db>>16==6?F(pL(e),241):null}function hMe(e){if(e.p!=2)throw O(new Tf);return eS(e.f)&oV}function gMe(e){if(e.p!=2)throw O(new Tf);return eS(e.k)&oV}function B(e){return nb(e.ar)}function MMe(e,t){var n=HD(t);return F(dC(e.c,n),17).a}function MT(e,t,n){var r=e.d[t.p];e.d[t.p]=e.d[n.p],e.d[n.p]=r}function NMe(e,t,n){var r;e.n&&t&&n&&(r=new Ao,ey(e.e,r))}function NT(e,t){if(FS(e.a,t),t.d)throw O(new jp(Qpt));t.d=e}function PMe(e,t){this.a=new Zd,this.d=new Zd,this.f=e,this.c=t}function FMe(){this.c=new _ge,this.a=new jIe,this.b=new np,Lde()}function IMe(){nj(),this.b=new Xd,this.a=new Xd,this.c=new Zd}function LMe(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function RMe(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function zMe(e,t,n,r,i,a){VBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function BMe(e,t,n,r,i,a){HBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function VMe(e,t,n,r,i,a){tIe.call(this,e,t,n,r,i),a&&(this.o=-2)}function HMe(e,t,n,r,i,a){GBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function UMe(e,t,n,r,i,a){nIe.call(this,e,t,n,r,i),a&&(this.o=-2)}function WMe(e,t,n,r,i,a){UBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function GMe(e,t,n,r,i,a){WBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function KMe(e,t,n,r,i,a){rIe.call(this,e,t,n,r,i),a&&(this.o=-2)}function qMe(e,t,n,r){Vd.call(this,n),this.b=e,this.c=t,this.d=r}function JMe(e,t){this.f=e,this.a=(nD(),p9),this.c=p9,this.b=t}function YMe(e,t){this.g=e,this.d=(nD(),m9),this.a=m9,this.b=t}function XMe(e,t){!e.c&&(e.c=new bA(e,0)),pz(e.c,(Oz(),w9),t)}function ZMe(e,t){return X7e(e,t,N(t,102)&&(F(t,19).Bb&WV)!=0)}function QMe(e,t){return AEe(AA(e.q.getTime()),AA(t.q.getTime()))}function $Me(e){return wx(e.e.Rd().gc()*e.c.Rd().gc(),16,new Rc(e))}function eNe(e){return!!e.u&&uE(e.u.a).i!=0&&!(e.n&&KP(e.n))}function tNe(e){return!!e.a&&qD(e.a.a).i!=0&&!(e.b&&qP(e.b))}function nNe(e,t){return t==0?!!e.o&&e.o.f!=0:pP(e,t)}function rNe(e,t,n){var r=F(e.Zb().xc(t),16);return!!r&&r.Hc(n)}function iNe(e,t,n){var r=F(e.Zb().xc(t),16);return!!r&&r.Mc(n)}function aNe(e,t){var n=1-t;return e.a[n]=Lk(e.a[n],n),Lk(e,t)}function oNe(e,t){var n,r=ET(e,JV);return n=oS(t,32),DT(n,r)}function sNe(e,t,n){a$e(new rje((iC(e),new Pb(e)),t,n))}function PT(e,t,n){o$e(new ije((iC(e),new Pb(e)),t,n))}function FT(e,t,n,r,i,a){return hUe(e,t,n,a),$Ke(e,r),eqe(e,i),e}function cNe(e,t,n,r){return e.a+=``+jw(t==null?_B:aN(t),n,r),e}function IT(e,t){this.a=e,Wl.call(this,e),xT(t,e.gc()),this.b=t}function lNe(e){this.a=H(MJ,gB,1,_We(r.Math.max(8,e))<<1,5,1)}function LT(e){return F(nP(e,H(iZ,XU,10,e.c.length,0,1)),199)}function RT(e){return F(nP(e,H(rZ,YU,18,e.c.length,0,1)),483)}function uNe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(``+e.e):e.c}function zT(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function dNe(e){return nb(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function fNe(e,t,n){e.a=t,e.c=n,e.b.a.$b(),aw(e.d),Pf(e.e.a.c,0)}function pNe(e,t){var n;e.e=new fce,n=$L(t),zv(n,e.c),Snt(e,n,0)}function BT(e,t,n,r){var i=new no;i.a=t,i.b=n,i.c=r,gx(e.a,i)}function V(e,t,n,r){var i=new no;i.a=t,i.b=n,i.c=r,gx(e.b,i)}function mNe(e,t,n){if(e<0||tn)throw O(new Up(E3e(e,t,n)))}function VT(e,t){if(e<0||e>=t)throw O(new Up(L6e(e,t)));return e}function hNe(e){if(!(`stack`in e))try{throw e}catch{}return e}function HT(e){return Ph(),N(e.g,10)?F(e.g,10):null}function gNe(e){return ZC(e).dc()?!1:(Ghe(e,new h),!0)}function UT(e){var t;return dv(e)?(t=e,t==-0?0:t):QRe(e)}function _Ne(e,t){return N(t,44)?tF(e.a,F(t,44)):!1}function vNe(e,t){return N(t,44)?tF(e.a,F(t,44)):!1}function yNe(e,t){return N(t,44)?tF(e.a,F(t,44)):!1}function bNe(e){var t;return EC(e),t=new de,Xm(e.a,new Rae(t)),t}function xNe(){var e,t=(n=(e=new ef,e),n),n;return ey(lHt,t),t}function WT(e){var t;return EC(e),t=new fe,Xm(e.a,new zae(t)),t}function SNe(e,t){return e.a<=e.b?(t.Dd(e.a++),!0):!1}function CNe(e){eA.call(this,e,(PD(),TY),null,!1,null,!1)}function wNe(){wNe=C,Dwt=Yj((Ah(),W(A(Ewt,1),Z,489,0,[gX])))}function TNe(){TNe=C,_Nt=tOe(dM(1),dM(4)),gNt=tOe(dM(1),dM(2))}function ENe(e,t){return new Yb(t,Yy(Gv(t.e),e,e),(Oy(),!0))}function GT(e){return new iD((xk(e,YB),TO(GM(GM(5,e),e/10|0))))}function DNe(e){return wx(e.e.Rd().gc()*e.c.Rd().gc(),273,new Nie(e))}function ONe(e){return F(nP(e,H(vEt,rht,12,e.c.length,0,1)),2042)}function kNe(e){return nT(),!ME(e)&&!(!ME(e)&&e.c.i.c==e.d.i.c)}function ANe(e,t){return VO(),F(K(t,(HR(),_4)),17).a>=e.gc()}function KT(e,t){$dt(t,e),HCe(e.d),HCe(F(K(e,(Zz(),W1)),214))}function qT(e,t){eft(t,e),UCe(e.d),UCe(F(K(e,(Zz(),W1)),214))}function jNe(e,t,n){e.d&&zD(e.d.e,e),e.d=t,e.d&&Kx(e.d.e,n,e)}function MNe(e,t,n){return n.f.c.length>0?xEe(e.a,t,n):xEe(e.b,t,n)}function NNe(e,t,n){var r=bXe();try{return wye(e,t,n)}finally{oFe(r)}}function JT(e,t){var n=qw(e,t),r=null;return n&&(r=n.pe()),r}function YT(e,t){var n=qw(e,t),r=null;return n&&(r=n.se()),r}function XT(e,t){var n=pO(e,t),r=null;return n&&(r=n.se()),r}function ZT(e,t){var n=qw(e,t),r=null;return n&&(r=F3e(n)),r}function PNe(e,t,n){var r=HN(n);return yR(e.g,r,t),yR(e.i,t,n),t}function FNe(e,t,n){this.d=new Doe(this),this.e=e,this.i=t,this.f=n}function INe(e,t,n,r){this.e=null,this.c=e,this.d=t,this.a=n,this.b=r}function LNe(e,t,n,r){oge(this),this.c=e,this.e=t,this.f=n,this.b=r}function RNe(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function zNe(e,t,n,r){return N(n,59)?new R_e(e,t,n,r):new JTe(e,t,n,r)}function QT(e){return N(e,16)?F(e,16).dc():!e.Kc().Ob()}function BNe(e){if(e.e.g!=e.b)throw O(new Of);return!!e.c&&e.d>0}function $T(e){return nb(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function VNe(e,t){kC(t),fC(e.a,e.c,t),e.c=e.c+1&e.a.length-1,GQe(e)}function eE(e,t){kC(t),e.b=e.b-1&e.a.length-1,fC(e.a,e.b,t),GQe(e)}function HNe(e){var t=e.Gh();this.a=N(t,71)?F(t,71).Ii():t.Kc()}function UNe(e){return new wT(yBe(F(e.a.md(),16).gc(),e.a.ld()),16)}function WNe(){WNe=C,OLt=Yj((Lh(),W(A(DLt,1),Z,490,0,[T3])))}function GNe(){GNe=C,ALt=Yj((Rh(),W(A(kLt,1),Z,558,0,[E3])))}function KNe(){KNe=C,hRt=Yj((zh(),W(A(mRt,1),Z,539,0,[F3])))}function qNe(){return ZN(),W(A(iEt,1),Z,389,0,[tZ,rEt,$X,eZ])}function JNe(){return PD(),W(A(kY,1),Z,304,0,[TY,EY,DY,OY])}function YNe(){return wP(),W(A(vwt,1),Z,332,0,[sX,oX,cX,lX])}function XNe(){return CP(),W(A(wwt,1),Z,406,0,[pX,fX,mX,hX])}function ZNe(){return zA(),W(A(gwt,1),Z,417,0,[aX,nX,rX,iX])}function QNe(){return $A(),W(A(YTt,1),Z,416,0,[JX,ZX,YX,XX])}function $Ne(){return QA(),W(A(xDt,1),Z,421,0,[GZ,KZ,qZ,JZ])}function ePe(){return ZA(),W(A(sDt,1),Z,371,0,[WZ,HZ,UZ,VZ])}function tPe(){return NP(),W(A(q0,1),Z,203,0,[G0,K0,W0,U0])}function nPe(){return VN(),W(A(BMt,1),Z,284,0,[i2,zMt,a2,o2])}function rPe(e){var t;return e.j==(Vz(),x5)&&(t=F5e(e),wy(t,r5))}function iPe(e,t){var n=t.a;aT(n,t.c.d),cT(n,t.d.d),fA(n.a,e.n)}function aPe(e,t){var n=F(fO(e.b,t),67);return!n&&(n=new hh),n}function tE(e){return Ph(),N(e.g,154)?F(e.g,154):null}function oPe(e){e.a=null,e.e=null,Pf(e.b.c,0),Pf(e.f.c,0),e.c=null}function nE(){nE=C,s$=new qfe(EH,0),vOt=new qfe(`TOP_LEFT`,1)}function rE(){rE=C,D2=new Zfe(`UPPER`,0),E2=new Zfe(`LOWER`,1)}function sPe(e,t){return Qv(new j(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function cPe(e,t){return F(yy(hS(F(UE(e.k,t),15).Oc(),fQ)),113)}function lPe(e,t){return F(yy(gS(F(UE(e.k,t),15).Oc(),fQ)),113)}function uPe(){return bF(),W(A(fPt,1),Z,405,0,[B2,V2,H2,U2])}function dPe(){return Vj(),W(A(_Ft,1),Z,353,0,[w4,S4,C4,x4])}function fPe(){return nF(),W(A(gIt,1),Z,354,0,[H4,mIt,hIt,pIt])}function pPe(){return PN(),W(A(k5,1),Z,386,0,[D5,O5,E5,T5])}function mPe(){return xF(),W(A(mBt,1),Z,291,0,[k8,E8,D8,O8])}function hPe(){return XM(),W(A(b8,1),Z,223,0,[y8,_8,g8,v8])}function gPe(){return hN(),W(A(VBt,1),Z,320,0,[H5,RBt,BBt,zBt])}function _Pe(){return Tj(),W(A(qBt,1),Z,415,0,[U5,GBt,WBt,KBt])}function vPe(e){return tT(),DS(b7,e)?F(dC(b7,e),341).Qg():null}function iE(e,t,n){return t<0?eL(e,n):F(n,69).wk().Bk(e,e.hi(),t)}function yPe(e,t,n){var r=HN(n);return yR(e.j,r,t),PC(e.k,t,n),t}function bPe(e,t,n){var r=HN(n);return yR(e.d,r,t),PC(e.e,t,n),t}function xPe(e){var t=(Lm(),n=new No,n),n;return e&&PL(t,e),t}function SPe(e){var t=e.aj(e.i);return e.i>0&&BR(e.g,0,t,0,e.i),t}function CPe(e,t){var n;for(n=e.j.c.length;n>24}function DPe(e){if(e.p!=1)throw O(new Tf);return eS(e.k)<<24>>24}function OPe(e){if(e.p!=7)throw O(new Tf);return eS(e.k)<<16>>16}function kPe(e){if(e.p!=7)throw O(new Tf);return eS(e.f)<<16>>16}function aE(e,t){return t.e==0||e.e==0?hY:(aR(),HL(e,t))}function APe(e,t){return M(t)===M(e)?`(this Map)`:t==null?_B:aN(t)}function jPe(e,t,n){return lS(P(z_(Wx(e.f,t))),P(z_(Wx(e.f,n))))}function MPe(e,t,n){var r=F(dC(e.g,n),60);ey(e.a.c,new N_(t,r))}function NPe(e,t,n){e.i=0,e.e=0,t!=n&&(GWe(e,t,n),WWe(e,t,n))}function PPe(e,t,n,r,i){ey(t,w6e(i,b9e(i,n,r))),x4e(e,i,t)}function FPe(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function IPe(e,t){Nke.call(this),this.a=e,this.b=t,ey(this.a.b,this)}function LPe(e){this.b=new Xd,this.c=new Xd,this.d=new Xd,this.a=e}function RPe(e,t){var n=new dm;return e.Gd(n),n.a+=`..`,t.Hd(n),n.a}function zPe(e,t){for(var n=t;n;)qy(e,n.i,n.j),n=$w(n);return e}function BPe(e,t,n){var r=HN(n);return PC(e.b,r,t),PC(e.c,t,n),t}function oE(e){for(var t=0;e.Ob();)e.Pb(),t=GM(t,1);return TO(t)}function sE(e,t){Yh();var n=F(e,69).vk();return G4e(n,t),n.xl(t)}function VPe(e,t,n){if(n){var r=n.oe();e.a[t]=r(n)}else delete e.a[t]}function HPe(e,t){var n=e.q.getHours();e.q.setFullYear(t+yV),XR(e,n)}function UPe(e,t){return F(t==null?z_(Wx(e.f,null)):ng(e.i,t),288)}function WPe(e,t){return e==(yI(),lZ)&&t==lZ?4:e==lZ||t==lZ?8:32}function cE(e,t,n){return KR(e,t,n,N(t,102)&&(F(t,19).Bb&WV)!=0)}function GPe(e,t,n){return QR(e,t,n,N(t,102)&&(F(t,19).Bb&WV)!=0)}function KPe(e,t,n){return s9e(e,t,n,N(t,102)&&(F(t,19).Bb&WV)!=0)}function qPe(e){e.b!=e.c&&(e.a=H(MJ,gB,1,8,5,1),e.b=0,e.c=0)}function lE(e){return nb(e.a=0&&e.a[n]===t[n];n--);return n<0}function SE(e){var t;return e?new qwe(e):(t=new fv,Uk(t,e),t)}function aFe(e,t){var n,r=!1;do n=bWe(e,t),r|=n;while(n);return r}function oFe(e){e&&xze((Pce(),Zxt)),--KJ,e&&qJ!=-1&&(Lme(qJ),qJ=-1)}function CE(e){h2e(),Lge(this,eS(ET(sS(e,24),oH)),eS(ET(e,oH)))}function sFe(){sFe=C,gCt=Yj((dP(),W(A(hCt,1),Z,436,0,[RY,mCt])))}function cFe(){cFe=C,yCt=Yj((_O(),W(A(vCt,1),Z,435,0,[_Ct,zY])))}function lFe(){lFe=C,Qwt=Yj((vO(),W(A(Zwt,1),Z,432,0,[CX,wX])))}function uFe(){uFe=C,SEt=Yj((sA(),W(A(xEt,1),Z,517,0,[pZ,fZ])))}function dFe(){dFe=C,bOt=Yj((nE(),W(A(yOt,1),Z,429,0,[s$,vOt])))}function fFe(){fFe=C,qDt=Yj((yO(),W(A(KDt,1),Z,428,0,[kQ,GDt])))}function pFe(){pFe=C,eOt=Yj((ID(),W(A($Dt,1),Z,488,0,[QDt,zQ])))}function mFe(){mFe=C,UMt=Yj((oO(),W(A(HMt,1),Z,430,0,[s2,c2])))}function hFe(){hFe=C,jNt=Yj((rE(),W(A(ANt,1),Z,531,0,[D2,E2])))}function gFe(){gFe=C,FDt=Yj((cD(),W(A(PDt,1),Z,431,0,[NDt,bQ])))}function _Fe(){_Fe=C,xFt=Yj((bT(),W(A(bFt,1),Z,433,0,[T4,yFt])))}function vFe(){vFe=C,DFt=Yj((Nk(),W(A(EFt,1),Z,501,0,[D4,O4])))}function yFe(){yFe=C,BNt=Yj((Gw(),W(A(zNt,1),Z,523,0,[j2,A2])))}function bFe(){bFe=C,HNt=Yj((Kw(),W(A(VNt,1),Z,522,0,[M2,N2])))}function xFe(){xFe=C,iPt=Yj((oD(),W(A(rPt,1),Z,528,0,[L2,I2])))}function SFe(){SFe=C,dPt=Yj((Ww(),W(A(uPt,1),Z,465,0,[R2,z2])))}function CFe(){CFe=C,MFt=Yj((kD(),W(A(jFt,1),Z,434,0,[AFt,P4])))}function wFe(){wFe=C,mLt=Yj((AE(),W(A(pLt,1),Z,491,0,[m3,fLt])))}function TFe(){TFe=C,SLt=Yj((VA(),W(A(xLt,1),Z,492,0,[yLt,bLt])))}function EFe(){EFe=C,MLt=Yj((sD(),W(A(jLt,1),Z,438,0,[O3,D3])))}function DFe(){DFe=C,vRt=Yj((tj(),W(A(_Rt,1),Z,437,0,[I3,gRt])))}function OFe(){OFe=C,LBt=Yj((qb(),W(A(V5,1),Z,347,0,[FBt,IBt])))}function kFe(){return AM(),W(A(f8,1),Z,88,0,[u8,l8,c8,s8,d8])}function AFe(){return Vz(),W(A(w5,1),WU,64,0,[S5,i5,r5,x5,C5])}function jFe(e,t,n){return F(t==null?HI(e.f,null,n):UM(e.i,t,n),288)}function MFe(e){return(e.k==(yI(),lZ)||e.k==oZ)&&Wy(e,(Y(),m$))}function wE(e){return e.c&&e.d?OMe(e.c)+`->`+OMe(e.d):`e_`+Ey(e)}function TE(e,t){var n,r;for(kC(t),r=e.Kc();r.Ob();)n=r.Pb(),t.Cd(n)}function NFe(e,t){var n=new Mp;mw(n,`x`,t.a),mw(n,`y`,t.b),hC(e,n)}function PFe(e,t){var n=new Mp;mw(n,`x`,t.a),mw(n,`y`,t.b),hC(e,n)}function FFe(e,t){for(var n=t;n;)qy(e,-n.i,-n.j),n=$w(n);return e}function IFe(e,t){for(var n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function EE(e,t,n){var r=(ST(t,e.c.length),e.c[t]);return e.c[t]=n,r}function LFe(e,t,n){e.a.c.length=0,Bct(e,t,n),e.a.c.length==0||qit(e,t)}function DE(e){e.i=0,tg(e.b,null),tg(e.c,null),e.a=null,e.e=null,++e.g}function OE(){OE=C,jY=!0,eCt=!1,tCt=!1,rCt=!1,nCt=!1}function kE(e){OE(),!jY&&(this.c=e,this.e=!0,this.a=new Zd)}function RFe(e,t){this.c=0,this.b=t,Cme.call(this,e,17493),this.a=this.c}function zFe(e){Bft(),cf(this),this.a=new hh,sGe(this,e),gx(this.a,e)}function BFe(){kv(this),this.b=new j(zV,zV),this.a=new j(BV,BV)}function AE(){AE=C,m3=new ype(bht,0),fLt=new ype(`TARGET_WIDTH`,1)}function jE(e,t){return(HM(e),Jm(new jx(e,new ARe(t,e.a)))).Bd(FY)}function VFe(){return uI(),W(A(UTt,1),Z,367,0,[RX,zX,BX,VX,HX])}function HFe(){return qF(),W(A(CDt,1),Z,375,0,[XZ,QZ,$Z,ZZ,YZ])}function UFe(){return BN(),W(A(UDt,1),Z,348,0,[TQ,HDt,DQ,OQ,EQ])}function WFe(){return SP(),W(A(jMt,1),Z,323,0,[AMt,Y0,X0,J0,Z0])}function GFe(){return mN(),W(A(NOt,1),Z,171,0,[i1,e1,t1,n1,r1])}function KFe(){return XF(),W(A(OFt,1),Z,368,0,[M4,k4,N4,A4,j4])}function qFe(){return IL(),W(A(wLt,1),Z,373,0,[_3,g3,y3,v3,b3])}function JFe(){return wI(),W(A(ILt,1),Z,324,0,[NLt,k3,FLt,A3,PLt])}function YFe(){return lP(),W(A(W3,1),Z,170,0,[H3,V3,z3,U3,B3])}function XFe(){return fP(),W(A(U8,1),Z,256,0,[V8,H8,_Bt,B8,vBt])}function ZFe(e){return sm(),function(){return NNe(e,this,arguments)}}function ME(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function QFe(e,t){return N(t,143)?Db(e.c,F(t,143).c):!1}function NE(e){return e.t||(e.t=new Fd(e),kM(new Fce(e),0,e.t)),e.t}function $Fe(e){this.b=e,cy.call(this,e),this.a=F(EA(this.b.a,4),129)}function eIe(e){this.b=e,Py.call(this,e),this.a=F(EA(this.b.a,4),129)}function PE(e,t,n,r,i){kIe.call(this,t,r,i),this.c=e,this.b=n}function tIe(e,t,n,r,i){LMe.call(this,t,r,i),this.c=e,this.a=n}function nIe(e,t,n,r,i){RMe.call(this,t,r,i),this.c=e,this.a=n}function rIe(e,t,n,r,i){kIe.call(this,t,r,i),this.c=e,this.a=n}function FE(e,t){return F(fO(e.d,t),23)||F(fO(e.e,t),23)}function iIe(e,t){var n=t.ld(),r=e.Fe(n);return!!r&&RC(r.e,t.md())}function aIe(e,t){var n=t.ld();return new ih(n,e.e.pc(n,F(t.md(),16)))}function oIe(e,t){return e.a.get(t)??H(MJ,gB,1,0,5,1)}function sIe(e){var t=e.length;return Db(UV.substr(UV.length-t,t),e)}function IE(e){if(hL(e))return e.c=e.a,e.a.Pb();throw O(new Af)}function cIe(e,t){return t==0||e.e==0?e:t>0?jtt(e,t):DYe(e,-t)}function LE(e,t){return t==0||e.e==0?e:t>0?DYe(e,t):jtt(e,-t)}function lIe(e){rfe.call(this,e==null?_B:aN(e),N(e,82)?F(e,82):null)}function uIe(e){var t;return e.c||(t=e.r,N(t,90)&&(e.c=F(t,29))),e.c}function RE(e){var t=new Sw;return PA(t,e),G(t,(Zz(),R1),null),t}function dIe(e){var t=e.c.i,n=e.d.i;return t.k==(yI(),oZ)&&n.k==oZ}function zE(e){return Hv(e&AV,e>>22&AV,e<0?jV:0)}function fIe(e){var t,n,r,i;for(n=e,r=0,i=n.length;r=0?e.Lh(r,n,!0):oL(e,t,n)}function mIe(e,t,n){return zM(Qv(sP(e),Gv(t.b)),Qv(sP(e),Gv(n.b)))}function hIe(e,t,n){return zM(Qv(sP(e),Gv(t.e)),Qv(sP(e),Gv(n.e)))}function gIe(e,t){return r.Math.min(vD(t.a,e.d.d.c),vD(t.b,e.d.d.c))}function VE(e,t){e._i(e.i+1),ty(e,e.i,e.Zi(e.i,t)),e.Mi(e.i++,t),e.Ni()}function HE(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.Oi(n,t),e.Ni()}function _Ie(e,t,n){var r=new pge(e.a);uA(r,e.a.a),HI(r.f,t,n),e.a.a=r}function vIe(e,t,n,r){var i;for(i=0;it)throw O(new Up(y6e(e,t,`index`)));return e}function KE(e,t){var n=(ST(t,e.c.length),e.c[t]);return Eue(e.c,t,1),n}function SIe(e,t){var n=(kC(e),e),r=(kC(t),t);return n==r?0:nt.p?-1:0}function RIe(e){var t;return e.a||(t=e.r,N(t,156)&&(e.a=F(t,156))),e.a}function zIe(e,t,n){var r;return++e.e,--e.f,r=F(e.d[t].gd(n),136),r.md()}function BIe(e){var t=e.ld();return $b(F(e.md(),16).Nc(),new Pie(t))}function VIe(e,t){return DS(e.a,t)?(JE(e.a,t),!0):!1}function QE(e,t,n){return VT(t,e.e.Rd().gc()),VT(n,e.c.Rd().gc()),e.a[t][n]}function $E(e,t,n){this.a=e,this.b=t,this.c=n,ey(e.t,this),ey(t.i,this)}function eD(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function tD(){this.b=new hh,this.a=new hh,this.b=new hh,this.a=new hh}function nD(){nD=C;var e,t;p9=(Rm(),t=new Mf,t),m9=(e=new xp,e)}function HIe(e){var t;return HM(e),t=new TCe(e,e.a.e,e.a.d|4),new Vve(e,t)}function UIe(e){var t;for(EC(e),t=0;e.a.Bd(new ze);)t=GM(t,1);return t}function rD(e,t){return kC(t),e.c=0,`Initial capacity must not be negative`)}function aD(){aD=C,Q3=new jd(`org.eclipse.elk.labels.labelManager`)}function WIe(){WIe=C,oDt=new pb(`separateLayerConnections`,(ZA(),WZ))}function oD(){oD=C,L2=new mpe(`REGULAR`,0),I2=new mpe(`CRITICAL`,1)}function sD(){sD=C,O3=new xpe(`FIXED`,0),D3=new xpe(`CENTER_NODE`,1)}function cD(){cD=C,NDt=new Wfe(`QUADRATIC`,0),bQ=new Wfe(`SCANLINE`,1)}function GIe(){GIe=C,RDt=Yj((Ck(),W(A(LDt,1),Z,322,0,[SQ,xQ,IDt])))}function KIe(){KIe=C,VDt=Yj((fk(),W(A(BDt,1),Z,351,0,[zDt,wQ,CQ])))}function qIe(){qIe=C,kDt=Yj((Mk(),W(A(rQ,1),Z,372,0,[nQ,tQ,eQ])))}function JIe(){JIe=C,YDt=Yj((uj(),W(A(JDt,1),Z,460,0,[jQ,AQ,MQ])))}function YIe(){YIe=C,hOt=Yj((BA(),W(A(r$,1),Z,299,0,[t$,n$,e$])))}function XIe(){XIe=C,_Ot=Yj((aO(),W(A(gOt,1),Z,311,0,[a$,o$,i$])))}function ZIe(){ZIe=C,OMt=Yj((oM(),W(A(DMt,1),Z,390,0,[V0,EMt,H0])))}function QIe(){QIe=C,YMt=Yj((gA(),W(A(JMt,1),Z,387,0,[KMt,f2,qMt])))}function $Ie(){$Ie=C,ZMt=Yj((Ej(),W(A(XMt,1),Z,349,0,[h2,p2,m2])))}function eLe(){eLe=C,GMt=Yj((pk(),W(A(WMt,1),Z,463,0,[d2,l2,u2])))}function tLe(){tLe=C,eNt=Yj((Uj(),W(A($Mt,1),Z,350,0,[g2,QMt,_2])))}function nLe(){nLe=C,iNt=Yj((dk(),W(A(rNt,1),Z,352,0,[nNt,v2,tNt])))}function rLe(){rLe=C,oNt=Yj((ej(),W(A(aNt,1),Z,388,0,[b2,x2,y2])))}function iLe(){iLe=C,kPt=Yj((Dj(),W(A(OPt,1),Z,392,0,[DPt,q2,K2])))}function aLe(){aLe=C,IFt=Yj((Hj(),W(A(FFt,1),Z,393,0,[F4,NFt,PFt])))}function oLe(){oLe=C,xIt=Yj((hA(),W(A(bIt,1),Z,300,0,[U4,yIt,vIt])))}function sLe(){sLe=C,CIt=Yj((FN(),W(A(SIt,1),Z,445,0,[W4,G4,K4])))}function cLe(){cLe=C,TIt=Yj((PP(),W(A(wIt,1),Z,456,0,[q4,Y4,J4])))}function lLe(){lLe=C,jIt=Yj((ZM(),W(A(AIt,1),Z,394,0,[kIt,a3,OIt])))}function uLe(){uLe=C,vLt=Yj((LD(),W(A(_Lt,1),Z,439,0,[h3,gLt,hLt])))}function dLe(){dLe=C,wNt=Yj((uk(),W(A(CNt,1),Z,464,0,[S2,C2,w2])))}function fLe(){fLe=C,HCt=Yj((FD(),W(A(VCt,1),Z,471,0,[YY,JY,XY])))}function pLe(){pLe=C,BCt=Yj((zO(),W(A(GY,1),Z,237,0,[HY,UY,WY])))}function mLe(){mLe=C,GCt=Yj((iO(),W(A(WCt,1),Z,472,0,[$Y,QY,ZY])))}function hLe(){hLe=C,aCt=Yj((Wj(),W(A(PY,1),Z,108,0,[iCt,MY,NY])))}function gLe(){gLe=C,zTt=Yj((rO(),W(A(RTt,1),Z,391,0,[IX,FX,LX])))}function _Le(){_Le=C,pBt=Yj((cM(),W(A(fBt,1),Z,346,0,[w8,C8,T8])))}function vLe(){vLe=C,ELt=Yj((jM(),W(A(w3,1),Z,444,0,[x3,S3,C3])))}function yLe(){yLe=C,Zzt=Yj((BO(),W(A(Xzt,1),Z,278,0,[p8,m8,h8])))}function bLe(){bLe=C,PBt=Yj((sM(),W(A(NBt,1),Z,280,0,[MBt,z5,B5])))}function lD(e,t){return!e.o&&(e.o=new xD((qz(),i7),l7,e,0)),SN(e.o,t)}function xLe(e,t){var n;e.C&&(n=F(zC(e.b,t),127).n,n.d=e.C.d,n.a=e.C.a)}function SLe(e){var t,n,r,i=e.d;t=e.a,n=e.b,r=e.c,e.d=n,e.a=r,e.b=i,e.c=t}function CLe(e){return!e.g&&(e.g=new Uo),!e.g.b&&(e.g.b=new Nd(e)),e.g.b}function uD(e){return!e.g&&(e.g=new Uo),!e.g.c&&(e.g.c=new Sse(e)),e.g.c}function wLe(e){return!e.g&&(e.g=new Uo),!e.g.d&&(e.g.d=new xse(e)),e.g.d}function TLe(e){return!e.g&&(e.g=new Uo),!e.g.a&&(e.g.a=new Pd(e)),e.g.a}function ELe(e,t,n,r){return n&&(r=n.Rh(t,_N(n.Dh(),e.c.uk()),null,r)),r}function DLe(e,t,n,r){return n&&(r=n.Th(t,_N(n.Dh(),e.c.uk()),null,r)),r}function dD(e,t,n,r){var i=H(q9,bV,28,t+1,15,1);return oot(i,e,t,n,r),i}function H(e,t,n,r,i,a){var o=OQe(i,r);return i!=10&&W(A(e,a),t,n,i,o),o}function OLe(e,t,n){var r,i=new LA(t,e);for(r=0;rn||t=0?e.Lh(n,!0,!0):oL(e,t,!0)}function rRe(e,t,n){var r=FWe(e,t,n);return e.b=new Hk(r.c.length),int(e,r)}function iRe(e){if(e.b<=0)throw O(new Af);return--e.b,e.a-=e.c.c,dM(e.a)}function aRe(e){var t;if(!e.a)throw O(new ROe);return t=e.a,e.a=$w(e.a),t}function oRe(e){for(;!e.a;)if(!dbe(e.c,new au(e)))return!1;return!0}function DD(e){var t;return iC(e),N(e,204)?(t=F(e,204),t):new Yc(e)}function sRe(e){OD(),F(e.of((eB(),K6)),181).Fc((YI(),$8)),e.qf(G6,null)}function OD(){OD=C,wRt=new Za,ERt=new Bne,TRt=fGe((eB(),G6),wRt,P6,ERt)}function kD(){kD=C,AFt=new vpe(`LEAF_NUMBER`,0),P4=new vpe(`NODE_SIZE`,1)}function AD(e){e.a=H(q9,bV,28,e.b+1,15,1),e.c=H(q9,bV,28,e.b,15,1),e.d=0}function cRe(e,t){e.a.Ne(t.d,e.b)>0&&(ey(e.c,new DCe(t.c,t.d,e.d)),e.b=t.d)}function lRe(e,t){if(e.g==null||t>=e.i)throw O(new Nme(t,e.i));return e.g[t]}function uRe(e,t,n){if(Cj(e,n),n!=null&&!e.fk(n))throw O(new Sf);return n}function jD(e,t){return gO(t)!=10&&W(Kj(t),t.Sm,t.__elementTypeId$,gO(t),e),e}function MD(e,t,n,r){var i;r=(cw(),r||MSt),i=e.slice(t,n),b6e(i,e,t,n,-t,r)}function ND(e,t,n,r,i){return t<0?oL(e,n,r):F(n,69).wk().yk(e,e.hi(),t,r,i)}function dRe(e,t){return zM(k(P(K(e,(Y(),B$)))),k(P(K(t,B$))))}function fRe(){fRe=C,XSt=Yj((PD(),W(A(kY,1),Z,304,0,[TY,EY,DY,OY])))}function PD(){PD=C,TY=new ig(`All`,0),EY=new yhe,DY=new rge,OY=new vhe}function FD(){FD=C,YY=new ug(DH,0),JY=new ug(EH,1),XY=new ug(OH,2)}function pRe(){pRe=C,nz(),VHt=zV,BHt=BV,UHt=new Nl(zV),HHt=new Nl(BV)}function mRe(){mRe=C,_wt=Yj((zA(),W(A(gwt,1),Z,417,0,[aX,nX,rX,iX])))}function hRe(){hRe=C,Twt=Yj((CP(),W(A(wwt,1),Z,406,0,[pX,fX,mX,hX])))}function gRe(){gRe=C,ywt=Yj((wP(),W(A(vwt,1),Z,332,0,[sX,oX,cX,lX])))}function _Re(){_Re=C,aEt=Yj((ZN(),W(A(iEt,1),Z,389,0,[tZ,rEt,$X,eZ])))}function vRe(){vRe=C,XTt=Yj(($A(),W(A(YTt,1),Z,416,0,[JX,ZX,YX,XX])))}function yRe(){yRe=C,SDt=Yj((QA(),W(A(xDt,1),Z,421,0,[GZ,KZ,qZ,JZ])))}function bRe(){bRe=C,cDt=Yj((ZA(),W(A(sDt,1),Z,371,0,[WZ,HZ,UZ,VZ])))}function xRe(){xRe=C,kMt=Yj((NP(),W(A(q0,1),Z,203,0,[G0,K0,W0,U0])))}function SRe(){SRe=C,VMt=Yj((VN(),W(A(BMt,1),Z,284,0,[i2,zMt,a2,o2])))}function ID(){ID=C,QDt=new Kfe(UU,0),zQ=new Kfe(`IMPROVE_STRAIGHTNESS`,1)}function CRe(e,t){var n,r=t/e.c.Rd().gc()|0;return n=t%e.c.Rd().gc(),QE(e,r,n)}function wRe(e){var t;if(e.nl())for(t=e.i-1;t>=0;--t)U(e,t);return SPe(e)}function TRe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function ERe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function DRe(e){return N(e,180)?``+F(e,180).a:e==null?null:aN(e)}function ORe(e){return N(e,180)?``+F(e,180).a:e==null?null:aN(e)}function kRe(e,t){if(t.a)throw O(new jp(Qpt));FS(e.a,t),t.a=e,!e.j&&(e.j=t)}function ARe(e,t){ev.call(this,t.zd(),t.yd()&-16449),kC(e),this.a=e,this.c=t}function jRe(e,t){return new Yb(t,qy(Gv(t.e),t.f.a+e,t.f.b+e),(Oy(),!1))}function MRe(e,t){return Kb(),ey(e,new N_(t,dM(t.e.c.length+t.g.c.length)))}function NRe(e,t){return Kb(),ey(e,new N_(t,dM(t.e.c.length+t.g.c.length)))}function PRe(){PRe=C,_It=Yj((nF(),W(A(gIt,1),Z,354,0,[H4,mIt,hIt,pIt])))}function FRe(){FRe=C,vFt=Yj((Vj(),W(A(_Ft,1),Z,353,0,[w4,S4,C4,x4])))}function IRe(){IRe=C,pPt=Yj((bF(),W(A(fPt,1),Z,405,0,[B2,V2,H2,U2])))}function LRe(){LRe=C,Qzt=Yj((XM(),W(A(b8,1),Z,223,0,[y8,_8,g8,v8])))}function RRe(){RRe=C,hBt=Yj((xF(),W(A(mBt,1),Z,291,0,[k8,E8,D8,O8])))}function zRe(){zRe=C,kBt=Yj((PN(),W(A(k5,1),Z,386,0,[D5,O5,E5,T5])))}function BRe(){BRe=C,HBt=Yj((hN(),W(A(VBt,1),Z,320,0,[H5,RBt,BBt,zBt])))}function VRe(){VRe=C,JBt=Yj((Tj(),W(A(qBt,1),Z,415,0,[U5,GBt,WBt,KBt])))}function LD(){LD=C,h3=new u_(w_t,0),gLt=new u_(e_t,1),hLt=new u_(UU,2)}function RD(e,t,n,r,i){return kC(e),kC(t),kC(n),kC(r),kC(i),new TEe(e,t,r)}function HRe(e,t){var n=F(JE(e.e,t),400);return n?(owe(n),n.e):null}function zD(e,t){var n=VD(e,t,0);return n==-1?!1:(KE(e,n),!0)}function URe(e,t,n){var r;return EC(e),r=new Le,r.a=t,e.a.Nb(new mfe(r,n)),r.a}function WRe(e){var t;return EC(e),t=H(Z9,KV,28,0,15,1),Xm(e.a,new Lae(t)),t}function GRe(e){var t;if(!Ak(e))throw O(new Af);return e.e=1,t=e.d,e.d=null,t}function BD(e){var t;return dv(e)&&(t=0-e,!isNaN(t))?t:TA(sj(e))}function VD(e,t,n){for(;n=0?kP(e,n,!0,!0):oL(e,t,!0)}function tze(e){var t=ok(EA(e,32));return t??=(KN(e),ok(EA(e,32))),t}function nze(e){var t;return e.Oh()||(t=uC(e.Dh())-e.ji(),e.$h().Mk(t)),e.zh()}function rze(e,t){Swt=new Tt,xwt=t,uX=e,F(uX.b,68),PLe(uX,Swt,null),lct(uX)}function rO(){rO=C,IX=new hg(`XY`,0),FX=new hg(`X`,1),LX=new hg(`Y`,2)}function iO(){iO=C,$Y=new dg(`TOP`,0),QY=new dg(EH,1),ZY=new dg(vmt,2)}function aO(){aO=C,a$=new Lg(UU,0),o$=new Lg(`TOP`,1),i$=new Lg(vmt,2)}function oO(){oO=C,s2=new Jfe(`INPUT_ORDER`,0),c2=new Jfe(`PORT_DEGREE`,1)}function sO(){sO=C,rSt=Hv(AV,AV,524287),iSt=Hv(0,0,MV),aSt=zE(1),zE(2),oSt=zE(0)}function cO(e){var t;return e.d!=e.r&&(t=OF(e),e.e=!!t&&t.lk()==Nbt,e.d=t),e.e}function lO(e,t,n){var r=e.g[t];return ty(e,t,e.Zi(t,n)),e.Ri(t,n,r),e.Ni(),r}function uO(e,t){var n=e.dd(t);return n>=0?(e.gd(n),!0):!1}function dO(e,t){var n;for(iC(e),iC(t),n=!1;t.Ob();)n|=e.Fc(t.Pb());return n}function fO(e,t){var n=F(dC(e.e,t),400);return n?(wge(e,n),n.e):null}function ize(e){var t=e/60|0,n=e%60;return n==0?``+t:``+t+`:`+(``+n)}function pO(e,t){var n=e.a[t],r=(dj(),XJ)[typeof n];return r?r(n):nKe(typeof n)}function mO(e,t){var n,r;return HM(e),r=new DIe(t,e.a),n=new wbe(r),new jx(e,n)}function hO(e){var t=e.b.c.length==0?null:Ox(e.b,0);return t!=null&&zk(e,0),t}function aze(e,t){var n,r,i=t.c.i;n=F(dC(e.f,i),60),r=n.d.c-n.e.c,SHe(t.a,r,0)}function oze(e,t){var n;for(++e.d,++e.c[t],n=t+1;n=0;)++t[0]}function lze(e,t){JO(e,t==null||Mb((kC(t),t))||isNaN((kC(t),t))?0:(kC(t),t))}function uze(e,t){YO(e,t==null||Mb((kC(t),t))||isNaN((kC(t),t))?0:(kC(t),t))}function dze(e,t){qO(e,t==null||Mb((kC(t),t))||isNaN((kC(t),t))?0:(kC(t),t))}function fze(e,t){KO(e,t==null||Mb((kC(t),t))||isNaN((kC(t),t))?0:(kC(t),t))}function pze(e,t,n){return Qv(new j(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(kC(t),t)}function mze(e,t){return N(t,102)&&(F(t,19).Bb&WV)!=0?new Fme(t,e):new LA(t,e)}function hze(e,t){return N(t,102)&&(F(t,19).Bb&WV)!=0?new Fme(t,e):new LA(t,e)}function gO(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function gze(e,t){return t==(Ib(),Ib(),HSt)?e.toLocaleLowerCase():e.toLowerCase()}function _ze(e){if(!e.e)throw O(new Af);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function vze(e){if(!e.c)throw O(new Af);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function yze(e){var t;for(++e.a,t=e.c.a.length;e.ae.a[r]&&(r=n);return r}function Tze(e){var t=F(K(e,(Y(),l$)),313);return t?t.a==e:!1}function Eze(e){var t=F(K(e,(Y(),l$)),313);return t?t.i==e:!1}function Dze(){Dze=C,WTt=Yj((uI(),W(A(UTt,1),Z,367,0,[RX,zX,BX,VX,HX])))}function Oze(){Oze=C,wDt=Yj((qF(),W(A(CDt,1),Z,375,0,[XZ,QZ,$Z,ZZ,YZ])))}function kze(){kze=C,WDt=Yj((BN(),W(A(UDt,1),Z,348,0,[TQ,HDt,DQ,OQ,EQ])))}function Aze(){Aze=C,MMt=Yj((SP(),W(A(jMt,1),Z,323,0,[AMt,Y0,X0,J0,Z0])))}function jze(){jze=C,POt=Yj((mN(),W(A(NOt,1),Z,171,0,[i1,e1,t1,n1,r1])))}function Mze(){Mze=C,kFt=Yj((XF(),W(A(OFt,1),Z,368,0,[M4,k4,N4,A4,j4])))}function Nze(){Nze=C,TLt=Yj((IL(),W(A(wLt,1),Z,373,0,[_3,g3,y3,v3,b3])))}function Pze(){Pze=C,LLt=Yj((wI(),W(A(ILt,1),Z,324,0,[NLt,k3,FLt,A3,PLt])))}function Fze(){Fze=C,Yzt=Yj((AM(),W(A(f8,1),Z,88,0,[u8,l8,c8,s8,d8])))}function Ize(){Ize=C,ORt=Yj((lP(),W(A(W3,1),Z,170,0,[H3,V3,z3,U3,B3])))}function Lze(){Lze=C,yBt=Yj((fP(),W(A(U8,1),Z,256,0,[V8,H8,_Bt,B8,vBt])))}function Rze(){Rze=C,CBt=Yj((Vz(),W(A(w5,1),WU,64,0,[S5,i5,r5,x5,C5])))}function _O(){_O=C,_Ct=new _fe(`BY_SIZE`,0),zY=new _fe(`BY_SIZE_AND_SHAPE`,1)}function vO(){vO=C,CX=new xfe(`EADES`,0),wX=new xfe(`FRUCHTERMAN_REINGOLD`,1)}function yO(){yO=C,kQ=new Gfe(`READING_DIRECTION`,0),GDt=new Gfe(`ROTATION`,1)}function bO(){bO=C,$Tt=new Vt,eEt=new Gt,ZTt=new Kt,QTt=new Wt,tEt=new qt}function zze(e){this.b=new Zd,this.a=new Zd,this.c=new Zd,this.d=new Zd,this.e=e}function Bze(e){this.g=e,this.f=new Zd,this.a=r.Math.min(this.g.c.c,this.g.d.c)}function Vze(e,t,n){bb.call(this),xBe(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function Hze(e,t,n){var r,i;for(i=new D(n);i.a=0&&t0?t-1:t;return Zle(Qle(zBe(GCe(new Ep,n),e.n),e.j),e.k)}function wO(e){var t,n=(t=new Sp,t);gD((!e.q&&(e.q=new I(z7,e,11,10)),e.q),n)}function Wze(e){return(e.i&2?`interface `:e.i&1?``:`class `)+(tb(e),e.o)}function TO(e){return iM(e,dB)>0?dB:iM(e,$B)<0?$B:eS(e)}function EO(e){return e<3?(xk(e,bpt),e+1):e=-.01&&e.a<=jH&&(e.a=0),e.b>=-.01&&e.b<=jH&&(e.b=0),e}function AO(e){iR();var t,n=o_t;for(t=0;tn&&(n=e[t]);return n}function rBe(e,t){var n=WL(e.Dh(),t);if(!n)throw O(new Kp(FK+t+LK));return n}function jO(e,t){for(var n=e;$w(n);)if(n=$w(n),n==t)return!0;return!1}function iBe(e,t){var n,r=t.a.ld(),i;for(n=F(t.a.md(),16).gc(),i=0;ie||e>t)throw O(new lle(`fromIndex: 0, toIndex: `+e+Bpt+t))}function PO(e){if(e<0)throw O(new Kp(`Illegal Capacity: `+e));this.g=this.aj(e)}function dBe(e,t){return Pv(),hk(QB),r.Math.abs(e-t)<=QB||e==t||isNaN(e)&&isNaN(t)}function FO(e,t){var n,r,i,a;for(r=e.d,i=0,a=r.length;i0&&(e.a/=t,e.b/=t),e}function IO(e){var t;return e.w?e.w:(t=mMe(e),t&&!t.Vh()&&(e.w=t),t)}function LO(e,t){var n,r=e.a;n=tqe(e,t,null),r!=t&&!e.e&&(n=Nz(e,t,n)),n&&n.oj()}function gBe(e,t,n){var r=t,i;do i=k(e.p[r.p])+n,e.p[r.p]=i,r=e.a[r.p];while(r!=t)}function _Be(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function vBe(e){var t;return e==null?null:(t=F(e,195),P2e(t,t.length))}function U(e,t){if(e.g==null||t>=e.i)throw O(new Nme(t,e.i));return e.Wi(t,e.g[t])}function yBe(e,t){lw();var n,r=new Zd;for(n=0;n=14&&t<=16))),e}function sk(e,t){var n;return kC(t),n=e[`:`+t],ax(!!n,`Enum constant undefined: `+t),n}function ck(e,t,n,r,i,a){var o=rC(e,t);return BBe(n,o),o.i=i?8:0,o.f=r,o.e=i,o.g=a,o}function VBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=e,this.a=n}function HBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=e,this.a=n}function UBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=e,this.a=n}function WBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=e,this.a=n}function GBe(e,t,n,r,i){this.d=t,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=e,this.a=n}function KBe(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i=0))throw O(new Kp(`tolerance (`+e+`) must be >= 0`));return e}function tVe(e,t){var n;return N(t,44)?e.c.Mc(t):(n=SN(e,t),WN(e,t),n)}function gk(e,t,n){return Qj(e,t),Gk(e,n),ek(e,0),tk(e,1),TM(e,!0),CM(e,!0),e}function _k(e,t){var n=e.gc();if(t<0||t>n)throw O(new Eb(t,n));return new Sbe(e,t)}function vk(e,t){e.b=r.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),ey(e.a,t)}function nVe(e){rb(e.c>=0),XYe(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function yk(e){var t,n;for(n=e.c.Cc().Kc();n.Ob();)t=F(n.Pb(),16),t.$b();e.c.$b(),e.d=0}function rVe(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r=0}function TVe(e,t){e.r>0&&e.c0&&e.g!=0&&TVe(e.i,t/e.r*e.i.d))}function EVe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,1,n,e.c))}function Tk(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,4,n,e.c))}function Ek(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,2,n,e.k))}function Dk(e,t){var n=e.D;e.D=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,2,n,e.D))}function Ok(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,8,n,e.f))}function kk(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,7,n,e.i))}function DVe(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,8,n,e.a))}function OVe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,0,n,e.b))}function kVe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,0,n,e.b))}function AVe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,1,n,e.c))}function jVe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,1,n,e.d))}function MVe(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new ice:new fc,e.c=Ztt(r,e.b,e.a)}function NVe(e,t){return ZL(e.e,t)?(Yh(),cO(t)?new bx(t,e):new L_(t,e)):new dme(t,e)}function PVe(e){var t,n;return 0>e?new yde:(t=e+1,n=new RFe(t,e),new Hve(null,n))}function FVe(e,t){lw();var n=new ph(1);return B_(e)?iT(n,e,t):HI(n.f,e,t),new Hl(n)}function IVe(e,t){var n=e.c,r=t.e[e.p];return r>0?F(Ox(n.a,r-1),10):null}function LVe(e,t){var n=e.o+e.p,r=t.o+t.p;return nt?(t<<=1,t>0?t:KB):t}function Ak(e){switch(Jge(e.e!=3),e.e){case 2:return!1;case 0:return!0}return wIe(e)}function BVe(e,t){var n;return N(t,8)?(n=F(t,8),e.a==n.a&&e.b==n.b):!1}function VVe(e,t){var n=new Tt;F(t.b,68),F(t.b,68),F(t.b,68),MO(t.a,new nCe(e,n,t))}function HVe(e,t){var n,r;for(r=t.vc().Kc();r.Ob();)n=F(r.Pb(),44),PF(e,n.ld(),n.md())}function UVe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,11,n,e.d))}function jk(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,13,n,e.j))}function WVe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,21,n,e.b))}function GVe(e,t){(OE(),jY?null:t.c).length==0&&qve(t,new be),iT(e.a,jY?null:t.c,t)}function KVe(e,t){t.Ug(`Hierarchical port constraint processing`,1),KXe(e),Aft(e),t.Vg()}function Mk(){Mk=C,nQ=new Eg(`START`,0),tQ=new Eg(`MIDDLE`,1),eQ=new Eg(`END`,2)}function Nk(){Nk=C,D4=new _pe(`P1_NODE_PLACEMENT`,0),O4=new _pe(`P2_EDGE_ROUTING`,1)}function Pk(){Pk=C,MX=new jd(Hmt),NX=new jd(Umt),jX=new jd(Wmt),AX=new jd(Gmt)}function Fk(e){var t;return zb(e.f.g,e.d),nb(e.b),e.c=e.a,t=F(e.a.Pb(),44),e.b=VUe(e),t}function qVe(e){var t;return e.b==null?(qh(),qh(),l9):(t=e.ul()?e.tl():e.sl(),t)}function JVe(e,t){var n=t==null?-1:VD(e.b,t,0);return n<0?!1:(zk(e,n),!0)}function Ik(e,t){var n;return kC(t),n=t.g,e.b[n]?!1:(fC(e.b,n,t),++e.c,!0)}function Lk(e,t){var n=1-t,r=e.a[n];return e.a[n]=r.a[t],r.a[t]=e,e.b=!0,r.b=!1,r}function YVe(e,t){var n,r;for(r=t.Kc();r.Ob();)n=F(r.Pb(),272),e.b=!0,FS(e.e,n),n.b=e}function XVe(e,t){var n=F(K(e,(Zz(),l0)),8),r=F(K(t,l0),8);return zM(n.b,r.b)}function Rk(e,t,n){var r,i,a=t>>5;return i=t&31,r=ET(cS(e.n[n][a],eS(oS(i,1))),3),r}function ZVe(e,t,n){var r,i,a=e.a.length-1;for(i=e.b,r=0;r0):(!e.c&&(e.c=mT(AA(e.f))),e.c).e}function fHe(e,t){t?e.B??(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function pHe(e,t){return $A(),e==JX&&t==ZX||e==ZX&&t==JX||e==XX&&t==YX||e==YX&&t==XX}function mHe(e,t){return $A(),e==JX&&t==YX||e==JX&&t==XX||e==ZX&&t==XX||e==ZX&&t==YX}function hHe(e,t){return Pv(),hk(jH),r.Math.abs(0-t)<=jH||t==0?0:e/t}function gHe(e,t){return k(P(yy(bM(JC(new jx(null,new wT(e.c.b,16)),new Coe(e)),t))))}function _He(e,t){return k(P(yy(bM(JC(new jx(null,new wT(e.c.b,16)),new Bu(e)),t))))}function vHe(){return nR(),W(A($Q,1),Z,259,0,[WQ,KQ,qQ,JQ,YQ,XQ,QQ,UQ,GQ,ZQ])}function yHe(){return bR(),W(A(LMt,1),Z,243,0,[n2,e2,t2,PMt,FMt,NMt,IMt,r2,Q0,$0])}function bHe(e,t){var n;t.Ug(`General Compactor`,1),n=FJe(F(J(e,(EI(),L4)),393)),n.Cg(e)}function xHe(e,t){var n=F(J(e,(EI(),R4)),17),r=F(J(t,R4),17);return Vv(n.a,r.a)}function SHe(e,t,n){var r,i;for(i=uP(e,0);i.b!=i.d.c;)r=F($T(i),8),r.a+=t,r.b+=n;return e}function Qk(e,t,n){var r;for(r=e.b[n&e.f];r;r=r.b)if(n==r.a&&wC(t,r.g))return r;return null}function $k(e,t,n){var r;for(r=e.c[n&e.f];r;r=r.d)if(n==r.f&&wC(t,r.i))return r;return null}function CHe(e,t,n){var r=0,i,a;for(i=0;i>>31;r!=0&&(e[n]=r)}function eA(e,t,n,r,i,a){var o;this.c=e,o=new Zd,lQe(e,o,t,e.b,n,r,i,a),this.a=new IT(o,0)}function wHe(){this.c=new qm(0),this.b=new qm(a_t),this.d=new qm(i_t),this.a=new qm(rU)}function tA(e,t,n,r,i,a,o){ah.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=a,this.a=WE(o)}function nA(e,t,n,r,i,a,o,s,c,l,u,d,f){return v6e(e,t,n,r,i,a,o,s,c,l,u,d,f),Uqe(e,!1),e}function THe(e){return e.b.c.i.k==(yI(),oZ)?F(K(e.b.c.i,(Y(),I$)),12):e.b.c}function EHe(e){return e.b.d.i.k==(yI(),oZ)?F(K(e.b.d.i,(Y(),I$)),12):e.b.d}function DHe(e){var t=WT(e);return U_(t.a,0)?(yh(),yh(),WSt):(yh(),new K_e(t.b))}function rA(e){var t=bNe(e);return U_(t.a,0)?(vh(),vh(),wY):(vh(),new Vy(t.b))}function iA(e){var t=bNe(e);return U_(t.a,0)?(vh(),vh(),wY):(vh(),new Vy(t.c))}function OHe(e){switch(e.g){case 2:return Vz(),C5;case 4:return Vz(),r5;default:return e}}function kHe(e){switch(e.g){case 1:return Vz(),x5;case 3:return Vz(),i5;default:return e}}function AHe(e){switch(e.g){case 0:return new Mne;case 1:return new Nne;default:return null}}function aA(){aA=C,BZ=new pb(`edgelabelcenterednessanalysis.includelabel`,(Oy(),QJ))}function jHe(){jHe=C,SNt=GN(Mme(Cx(Cx(new NC,(uI(),BX),(tB(),AZ)),VX,SZ),HX),kZ)}function MHe(){MHe=C,ENt=GN(Mme(Cx(Cx(new NC,(uI(),BX),(tB(),AZ)),VX,SZ),HX),kZ)}function oA(){oA=C,c9=new Qse,YVt=W(A(j7,1),Fq,179,0,[]),JVt=W(A(z7,1),Fbt,62,0,[])}function sA(){sA=C,pZ=new Ofe(`TO_INTERNAL_LTR`,0),fZ=new Ofe(`TO_INPUT_DIRECTION`,1)}function cA(){cA=C,hEt=new en,pEt=new tn,mEt=new nn,fEt=new hee,gEt=new gee,_Et=new rn}function NHe(e,t){t.Ug(pht,1),EJe(jde(new du((jh(),new MOe(e,!1,!1,new Qt))))),t.Vg()}function PHe(e,t,n){n.Ug(`DFS Treeifying phase`,1),yYe(e,t),rtt(e,t),e.a=null,e.b=null,n.Vg()}function lA(e,t){return Oy(),B_(e)?SIe(e,eb(t)):H_(e)?lS(e,P(t)):V_(e)?WTe(e,$y(t)):e.Fd(t)}function uA(e,t){var n,r;for(kC(t),r=t.vc().Kc();r.Ob();)n=F(r.Pb(),44),e.zc(n.ld(),n.md())}function FHe(e,t,n){var r;for(r=n.Kc();r.Ob();)if(!cE(e,t,r.Pb()))return!1;return!0}function IHe(e,t,n,r,i){var a;return n&&(a=_N(t.Dh(),e.c),i=n.Rh(t,-1-(a==-1?r:a),null,i)),i}function LHe(e,t,n,r,i){var a;return n&&(a=_N(t.Dh(),e.c),i=n.Th(t,-1-(a==-1?r:a),null,i)),i}function RHe(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 zHe(e){if(kC(e),e.length==0)throw O(new fm(`Zero length BigInteger`));Tit(this,e)}function BHe(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g))}function VHe(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new Zd,Y6e(this),lw(),zv(this.a,null)}function HHe(e,t){t.q=e,e.d=r.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),ey(e.a,t)}function dA(e,t){var n,r,i=e.c,a;return n=e.c+e.b,a=e.d,r=e.d+e.a,t.a>i&&t.aa&&t.bi?n=i:CT(t,n+1),e.a=jw(e.a,0,t)+(``+r)+uDe(e.a,n)}function iUe(e,t){e.a=GM(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d=GM(e.d,t)}function aUe(e,t){return t1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw O(new Af)}function vUe(e){switch(e.a.g){case 1:return new spe;case 3:return new HQe;default:return new fie}}function yUe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return nNe(e,t)}function AA(e){return IV>22),i=e.h+t.h+(r>>22);return Hv(n&AV,r&AV,i&jV)}function zUe(e,t){var n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22);return Hv(n&AV,r&AV,i&jV)}function BUe(e){var t,n;for(adt(e),n=new D(e.d);n.ar)throw O(new Eb(t,r));return e.Si()&&(n=KAe(e,n)),e.Ei(t,n)}function oj(e,t,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=t;a<=r;a++)$P(e,a,o)||fR(e,a,o,!0,!1)}function gWe(e){iR();var t,n=H($3,X,8,2,0,1),r=0;for(t=0;t<2;t++)r+=.5,n[t]=rQe(r,e);return n}function sj(e){var t=~e.l+1&AV,n=~e.m+ +(t==0)&AV;return Hv(t,n,~e.h+ +(t==0&&n==0)&jV)}function _We(e){var t;if(e<0)return $B;if(e==0)return 0;for(t=KB;(t&e)==0;t>>=1);return t}function cj(e,t,n){return e>=128?!1:G_(e<64?ET(oS(1,e),n):ET(oS(1,e-64),t),0)}function lj(e,t,n){return n==null?(!e.q&&(e.q=new Xd),JE(e.q,t)):(!e.q&&(e.q=new Xd),PC(e.q,t,n)),e}function G(e,t,n){return n==null?(!e.q&&(e.q=new Xd),JE(e.q,t)):(!e.q&&(e.q=new Xd),PC(e.q,t,n)),e}function vWe(e){var t,n=new XE;return PA(n,e),G(n,(Pk(),MX),e),t=new Xd,jot(e,n,t),mut(e,n,t),n}function yWe(e){var t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d;return t||n}function bWe(e,t){var n=!1,r=e.a[t].length,i,a;for(a=0;a=0,`Negative initial capacity`),ax(t>=0,`Non-positive load factor`),MS(this)}function kWe(e,t,n,r,i){var a,o=e.length;if(a=n.length,t<0||r<0||i<0||t+i>o||r+i>a)throw O(new xf)}function AWe(e,t){lw();var n,r,i,a,o=!1;for(r=t,i=0,a=r.length;i1||t>=0&&e.b<3)}function _j(e){var t=~e.l+1&AV,n=~e.m+ +(t==0)&AV,r=~e.h+ +(t==0&&n==0)&jV;e.l=t,e.m=n,e.h=r}function HWe(e){lw();var t,n,r=1;for(n=e.Kc();n.Ob();)t=n.Pb(),r=31*r+(t==null?0:Wk(t)),r|=0;return r}function UWe(e,t,n,r,i){var a=a7e(e,t);return n&&_j(a),i&&(e=hQe(e,t),ZJ=r?sj(e):Hv(e.l,e.m,e.h)),a}function WWe(e,t,n){e.g=II(e,t,(Vz(),r5),e.b),e.d=II(e,n,r5,e.b),!(e.g.c==0||e.d.c==0)&&b4e(e)}function GWe(e,t,n){e.g=II(e,t,(Vz(),C5),e.j),e.d=II(e,n,C5,e.j),!(e.g.c==0||e.d.c==0)&&b4e(e)}function KWe(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return MJe(e,t)}function qWe(e,t){switch(t.g){case 0:N(e.b,641)||(e.b=new nUe);break;case 1:N(e.b,642)||(e.b=new QCe)}}function JWe(e){switch(e.g){case 0:return new Ga;default:throw O(new Kp(aK+(e.f==null?``+e.g:e.f)))}}function YWe(e){switch(e.g){case 0:return new Ine;default:throw O(new Kp(aK+(e.f==null?``+e.g:e.f)))}}function XWe(e,t,n){return!Jm(qC(new jx(null,new wT(e.c,16)),new eu(new Mpe(t,n)))).Bd((xh(),FY))}function ZWe(e,t){return Qv(sP(F(K(t,(HR(),h4)),88)),new j(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function QWe(e,t){for(;e.g==null&&!e.c?GAe(e):e.g==null||e.i!=0&&F(e.g[e.i-1],51).Ob();)ome(t,EL(e))}function vj(e){var t,n;for(n=new D(e.a.b);n.ar)}function rGe(e){return ey(e.c,(nj(),xRt)),dBe(e.a,k(P(mP((vN(),F0)))))?new Eo:new rse(e)}function iGe(e){for(;!e.d||!e.d.Ob();)if(e.b&&!rm(e.b))e.d=F(NS(e.b),51);else return null;return e.d}function aGe(e){switch(e.g){case 1:return i_t;default:case 2:return 0;case 3:return rU;case 4:return a_t}}function oGe(){nB();var e;return JHt||(e=z_e(Wz(`M`,!0)),e=Lx(Wz(`M`,!1),e),JHt=e,JHt)}function Tj(){Tj=C,U5=new P_(`ELK`,0),GBt=new P_(`JSON`,1),WBt=new P_(`DOT`,2),KBt=new P_(`SVG`,3)}function Ej(){Ej=C,h2=new qg(`STACKED`,0),p2=new qg(`REVERSE_STACKED`,1),m2=new qg(`SEQUENCED`,2)}function Dj(){Dj=C,DPt=new t_(UU,0),q2=new t_(`MIDDLE_TO_MIDDLE`,1),K2=new t_(`AVOID_OVERLAP`,2)}function Oj(){Oj=C,hDt=new ur,gDt=new dr,mDt=new cr,pDt=new fr,fDt=new lr,dDt=(kC(fDt),new ce)}function kj(){kj=C,dBt=new Ov(15),uBt=new Av((eB(),L6),dBt),S8=J6,oBt=XRt,sBt=j6,lBt=N6,cBt=M6}function Aj(e,t){var n,r,i,a,o;for(r=t,i=0,a=r.length;i=e.b.c.length||(pGe(e,2*t+1),n=2*t+2,n0&&(t.Cd(n),n.i&&xqe(n))}function hGe(e,t,n){var r;for(r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:eg(ET(e[r],JV),ET(t[r],JV))?-1:1}function gGe(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=zVe(n),r=H(Kxt,WB,227,i,0,1),this.b=r}function Pj(e,t,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=t;a<=r;a++)if($P(e,a,o))return!0;return!1}function _Ge(e,t){var n,r;for(r=e.Zb().Cc().Kc();r.Ob();)if(n=F(r.Pb(),16),n.Hc(t))return!0;return!1}function vGe(e,t,n){var r,i,a,o;for(kC(n),o=!1,a=e.fd(t),i=n.Kc();i.Ob();)r=i.Pb(),a.Rb(r),o=!0;return o}function Fj(e,t){var n,r=F(EA(e.a,4),129);return n=H(C7,mbt,424,t,0,1),r!=null&&BR(r,0,n,0,r.length),n}function yGe(e,t){var n=new Xnt((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t);return e.e??(n.c=e),n}function bGe(e,t){var n;return e===t?!0:N(t,85)?(n=F(t,85),c3e(rS(e),n.vc())):!1}function xGe(e,t,n){var r,i;for(i=n.Kc();i.Ob();)if(r=F(i.Pb(),44),e.Be(t,r.md()))return!0;return!1}function SGe(e,t,n){return e.d[t.p][n.p]||(hZe(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function CGe(e,t){var n;return!e||e==t||!Wy(t,(Y(),E$))?!1:(n=F(K(t,(Y(),E$)),10),n!=e)}function Ij(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l()}}function wGe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l()}}function TGe(e){tje.call(this,`The given string does not match the expected format for individual spacings.`,e)}function EGe(e,t){var n;t.Ug(`Min Size Preprocessing`,1),n=r6e(e),EP(e,(lR(),n3),n.a),EP(e,$4,n.b),t.Vg()}function DGe(e){var t=0,n,r=H($3,X,8,e.b,0,1);for(n=uP(e,0);n.b!=n.d.c;)r[t++]=F($T(n),8);return r}function Lj(e,t,n){var r=new hh,i,a;for(a=uP(n,0);a.b!=a.d.c;)i=F($T(a),8),gx(r,new pv(i));vGe(e,t,r)}function OGe(e,t){var n=GM(e,t);return eg(OT(e,t),0)|W_(OT(e,n),0)?n:GM(PB,OT(cS(n,63),1))}function kGe(e,t){var n=F(e.d.Bc(t),16),r;return n?(r=e.e.hc(),r.Gc(n),e.e.d-=n.gc(),n.$b(),r):null}function AGe(e){var t=e.a.c.length;if(t>0)return mS(t-1,e.a.c.length),KE(e.a,t-1);throw O(new kf)}function jGe(e,t,n){if(e>t)throw O(new Kp(fH+e+Kpt+t));if(e<0||t>n)throw O(new lle(fH+e+qpt+t+Bpt+n))}function Rj(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),Dk(e,t==null?null:(kC(t),t)),e.C&&e.hl(null)}function MGe(e,t){var n=mP((vN(),F0))!=null&&t.Sg()!=null?k(P(t.Sg()))/k(P(mP(F0))):1;PC(e.b,t,n)}function NGe(e,t){var n,r=e.c[t];if(r!=0)for(e.c[t]=0,e.d-=r,n=t+1;nAG?e-n>AG:n-e>AG}function rKe(e,t){var n;for(n=0;ni&&(a0e(t.q,i),r=n!=t.q.d)),r}function oKe(e,t){var n,i,a,o,s,c,l=t.i,u=t.j;return i=e.f,a=i.i,o=i.j,s=l-a,c=u-o,n=r.Math.sqrt(s*s+c*c),n}function sKe(e,t){var n,r=JN(e);return r||(!uVt&&(uVt=new es),n=(vz(),q7e(t)),r=new Gd(n),gD(r.El(),e)),r}function eM(e,t){var n=F(e.c.Bc(t),16),r;return n?(r=e.hc(),r.Gc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function cKe(e,t){var n,r=kL(e.d,1)!=0;for(n=!0;n;)n=!1,n=t.c.mg(t.e,r),n|=GL(e,t,r,!1),r=!r;cHe(e)}function lKe(e,t,n,r){var i,a;e.a=t,a=+!r,e.f=(i=new _3e(e.c,e.a,n,a),new $nt(n,e.a,i,e.e,e.b,e.c==(uk(),C2)))}function tM(e){var t;return nb(e.a!=e.b),t=e.d.a[e.a],Rve(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function uKe(e){var t;if(e.c!=0)return e.c;for(t=0;t=e.c.b:e.a<=e.c.b))throw O(new Af);return t=e.a,e.a+=e.c.c,++e.b,dM(t)}function nM(e){var t=new nge(e.a);return PA(t,e),G(t,(Y(),I$),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function rM(e){return(Vz(),h5).Hc(e.j)?k(P(K(e,(Y(),Y$)))):hj(W(A($3,1),X,8,0,[e.i.n,e.n,e.a])).b}function fKe(e){var t=gv(xNt);return F(K(e,(Y(),x$)),21).Hc((nR(),YQ))&&Cx(t,(uI(),BX),(tB(),NZ)),t}function pKe(e){var t,n,r,i=new Vf;for(r=new D(e);r.a=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,--r);return t<0?1/i:i}function yKe(e,t){var n,r,i=1;for(n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,--r);return t<0?1/i:i}function aM(e,t){var n,r,i,a=(i=e?JN(e):null,E6e((r=t,i&&i.Gl(),r)));return a==t&&(n=JN(e),n&&n.Gl()),a}function bKe(e,t,n){var r,i=e.f;return e.f=t,e.Db&4&&!(e.Db&1)&&(r=new bS(e,1,0,i,t),n?n.nj(r):n=r),n}function xKe(e,t,n){var r,i=e.b;return e.b=t,e.Db&4&&!(e.Db&1)&&(r=new bS(e,1,3,i,t),n?n.nj(r):n=r),n}function SKe(e,t,n){var r,i=e.a;return e.a=t,e.Db&4&&!(e.Db&1)&&(r=new bS(e,1,1,i,t),n?n.nj(r):n=r),n}function CKe(e){var t,n,r,i;if(e!=null){for(n=0;n=r||t-129&&e<128?(ZCe(),t=e+128,n=dSt[t],!n&&(n=dSt[t]=new El(e)),n):new El(e)}function fM(e){var t,n;return e>-129&&e<128?(Uwe(),t=e+128,n=_St[t],!n&&(n=_St[t]=new Ol(e)),n):new Ol(e)}function MKe(e,t){var n;e.a.c.length>0&&(n=F(Ox(e.a,e.a.c.length-1),579),sGe(n,t))||ey(e.a,new zFe(t))}function NKe(e){Gb();var t=e.d.c-e.e.c,n=F(e.g,154);MO(n.b,new Pu(t)),MO(n.c,new _oe(t)),TE(n.i,new voe(t))}function PKe(e){var t=new um;return t.a+=`VerticalSegment `,Q_(t,e.e),t.a+=` `,$_(t,Kge(new om,new D(e.k))),t.a}function pM(e,t){var n=0,r,i;for(i=JM(e,t).Kc();i.Ob();)r=F(i.Pb(),12),n+=K(r,(Y(),z$))==null?0:1;return n}function mM(e,t,n){var r=0,i,a;for(a=uP(e,0);a.b!=a.d.c&&(i=k(P($T(a))),!(i>n));)i>=t&&++r;return r}function FKe(e,t){iC(e);try{return e._b(t)}catch(e){if(e=qA(e),N(e,212)||N(e,169))return!1;throw O(e)}}function IKe(e,t){iC(e);try{return e.Hc(t)}catch(e){if(e=qA(e),N(e,212)||N(e,169))return!1;throw O(e)}}function LKe(e,t){iC(e);try{return e.Mc(t)}catch(e){if(e=qA(e),N(e,212)||N(e,169))return!1;throw O(e)}}function hM(e,t){iC(e);try{return e.xc(t)}catch(e){if(e=qA(e),N(e,212)||N(e,169))return null;throw O(e)}}function RKe(e,t){iC(e);try{return e.Bc(t)}catch(e){if(e=qA(e),N(e,212)||N(e,169))return null;throw O(e)}}function gM(e,t){switch(t.g){case 2:case 1:return JM(e,t);case 3:case 4:return uN(JM(e,t))}return lw(),lw(),yY}function _M(e){var t;return e.Db&64?SL(e):(t=new hy(SL(e)),t.a+=` (name: `,X_(t,e.zb),t.a+=`)`,t.a)}function zKe(e){var t=F(fO(e.c.c,``),233);return t||(t=new gT(Tm(wm(new to,``),`Other`)),aP(e.c.c,``,t)),t}function BKe(e,t,n){var r,i=e.sb;return e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new bS(e,1,4,i,t),n?n.nj(r):n=r),n}function VKe(e,t,n){var r,i=e.r;return e.r=t,e.Db&4&&!(e.Db&1)&&(r=new bS(e,1,8,i,e.r),n?n.nj(r):n=r),n}function HKe(e,t,n){var r=new QD(e.e,4,13,(i=t.c,i||(iB(),$7)),null,jP(e,t),!1),i;return n?n.nj(r):n=r,n}function UKe(e,t,n){var r=new QD(e.e,3,13,null,(i=t.c,i||(iB(),$7)),jP(e,t),!1),i;return n?n.nj(r):n=r,n}function vM(e,t){var n=F(t,691),r=n.el();return!r&&n.fl(r=N(t,90)?new fme(e,F(t,29)):new JMe(e,F(t,156))),r}function yM(e,t,n){var r;e._i(e.i+1),r=e.Zi(t,n),t!=e.i&&BR(e.g,t,e.g,t+1,e.i-t),fC(e.g,t,r),++e.i,e.Mi(t,n),e.Ni()}function WKe(e,t){var n;return t.a&&(n=t.a.a.length,e.a?$_(e.a,e.b):e.a=new gy(e.d),cNe(e.a,t.a,t.d.length,n)),e}function GKe(e,t){var n;e.c=t,e.a=VJe(t),e.a<54&&(e.f=(n=t.d>1?oNe(t.a[0],t.a[1]):oNe(t.a[0],0),UT(t.e>0?n:BD(n))))}function bM(e,t){var n=new Le;return e.a.Bd(n)?(dy(),new Fp(kC(URe(e,n.a,t)))):(EC(e),dy(),dy(),USt)}function KKe(e,t){var n;e.c.length!=0&&(n=F(nP(e,H(iZ,XU,10,e.c.length,0,1)),199),ehe(n,new Rn),Y8e(n,t))}function qKe(e,t){var n;e.c.length!=0&&(n=F(nP(e,H(iZ,XU,10,e.c.length,0,1)),199),ehe(n,new zn),Y8e(n,t))}function xM(e,t){return B_(e)?Db(e,t):H_(e)?cbe(e,t):V_(e)?(kC(e),M(e)===M(t)):zTe(e)?e.Fb(t):uTe(e)?zme(e,t):dMe(e,t)}function SM(e,t,n){if(t<0)i8e(e,n);else{if(!n.rk())throw O(new Kp(FK+n.xe()+IK));F(n,69).wk().Ek(e,e.hi(),t)}}function JKe(e,t,n){if(e<0||t>n)throw O(new Up(fH+e+qpt+t+`, size: `+n));if(e>t)throw O(new Kp(fH+e+Kpt+t))}function YKe(e){var t;return e.Db&64?SL(e):(t=new hy(SL(e)),t.a+=` (source: `,X_(t,e.d),t.a+=`)`,t.a)}function XKe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function ZKe(e){rB();var t,n,r,i;for(n=oP(),r=0,i=n.length;r=0?kN(e):WS(kN(BD(e))))}function aqe(e,t,n,r,i,a){this.e=new Zd,this.f=(pk(),d2),ey(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=a}function oqe(e,t,n){e.n=kx(Y9,[X,HV],[376,28],14,[n,Bw(r.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}function sqe(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 cqe(e,t){var n,r;for(r=new cy(e);r.e!=r.i.gc();)if(n=F(hP(r),142),M(t)===M(n))return!0;return!1}function lqe(e,t,n){var r,i,a=(i=wL(e.b,t),i);return a&&(r=F(gz(JD(e,a),``),29),r)?J7e(e,r,t,n):null}function OM(e,t,n){var r,i,a=(i=wL(e.b,t),i);return a&&(r=F(gz(JD(e,a),``),29),r)?Y7e(e,r,t,n):null}function uqe(e,t){var n=UO(e.i,t);if(n==null)throw O(new Qp(`Node did not exist in input.`));return KHe(t,n),null}function dqe(e,t){var n=WL(e,t);if(N(n,331))return F(n,35);throw O(new Kp(FK+t+`' is not a valid attribute`))}function kM(e,t,n){var r=e.gc();if(t>r)throw O(new Eb(t,r));if(e.Si()&&e.Hc(n))throw O(new Kp(dq));e.Gi(t,n)}function fqe(e,t){t.Ug(`Sort end labels`,1),Sh(qC(mO(new jx(null,new wT(e.b,16)),new wn),new yee),new Tn),t.Vg()}function AM(){AM=C,u8=new v_(AH,0),l8=new v_(OH,1),c8=new v_(DH,2),s8=new v_(PH,3),d8=new v_(`UP`,4)}function jM(){jM=C,x3=new f_(`P1_STRUCTURE`,0),S3=new f_(`P2_PROCESSING_ORDER`,1),C3=new f_(`P3_EXECUTION`,2)}function pqe(){pqe=C,wFt=GN(GN(Hh(GN(GN(Hh(Cx(new NC,(bF(),V2),(SR(),G2)),H2),xPt),CPt),U2),_Pt),wPt)}function mqe(e){switch(F(K(e,(Y(),T$)),311).g){case 1:G(e,T$,(aO(),i$));break;case 2:G(e,T$,(aO(),o$))}}function hqe(e){switch(e){case 0:return new mp;case 1:return new Jse;case 2:return new pp;default:throw O(new wf)}}function gqe(e){switch(e.g){case 2:return l8;case 1:return c8;case 4:return s8;case 3:return d8;default:return u8}}function _qe(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new $C(t.d,0,t.a,t.b);default:return null}}function vqe(e){switch(e.g){case 1:return C5;case 2:return i5;case 3:return r5;case 4:return x5;default:return S5}}function MM(e){switch(e.g){case 1:return x5;case 2:return C5;case 3:return i5;case 4:return r5;default:return S5}}function NM(e){switch(e.g){case 1:return r5;case 2:return x5;case 3:return C5;case 4:return i5;default:return S5}}function yqe(e,t,n,r){switch(t){case 1:return!e.n&&(e.n=new I(a7,e,1,7)),e.n;case 2:return e.k}return QQe(e,t,n,r)}function PM(e,t,n){var r,i;return e.Pj()?(i=e.Qj(),r=rL(e,t,n),e.Jj(e.Ij(7,dM(n),r,t,i)),r):rL(e,t,n)}function bqe(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.ld(),n=t.Bi(),r=(n&dB)%e.d.length,zIe(e,r,r9e(e,r,n,i)))}function FM(e,t){var n=(e.Bb&GB)!=0;t?e.Bb|=GB:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,10,n,t))}function IM(e,t){var n=(e.Bb&VV)!=0;t?e.Bb|=VV:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,12,n,t))}function LM(e,t){var n=(e.Bb&Eq)!=0;t?e.Bb|=Eq:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,15,n,t))}function RM(e,t){var n=(e.Bb&Dq)!=0;t?e.Bb|=Dq:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,11,n,t))}function xqe(e){var t;e.g&&(t=e.c.kg()?e.f:e.a,Itt(t.a,e.o,!0),Itt(t.a,e.o,!1),G(e.o,(Zz(),a0),(YF(),W8)))}function Sqe(e){var t;if(!e.a)throw O(new qp(`Cannot offset an unassigned cut.`));t=e.c-e.b,e.b+=t,lke(e,t),cke(e,t)}function Cqe(e,t){var n=dC(e.k,t);if(n==null)throw O(new Qp(`Port did not exist in input.`));return KHe(t,n),null}function wqe(e){var t,n;for(n=Z7e(IO(e)).Kc();n.Ob();)if(t=eb(n.Pb()),NR(e,t))return eFe(($de(),PVt),t);return null}function Tqe(e){var t,n;for(n=e.p.a.ec().Kc();n.Ob();)if(t=F(n.Pb(),218),t.f&&e.b[t.c]<-1e-10)return t;return null}function Eqe(e){var t,n=yC(new um,91);for(t=!0;e.Ob();)t||(n.a+=hB),t=!1,Q_(n,e.Pb());return(n.a+=`]`,n).a}function Dqe(e){var t=new Zd,n,r;for(r=new D(e.b);r.at?1:e==t?e==0?zM(1/e,1/t):0:isNaN(e)?+!isNaN(t):-1}function Aqe(e){var t=e.a[e.c-1&e.a.length-1];return t==null?null:(e.c=e.c-1&e.a.length-1,fC(e.a,e.c,null),t)}function jqe(e){var t,n,r=0;for(n=e.length,t=0;t=1?l8:s8):n}function Lqe(e){switch(F(K(e,(Zz(),k1)),223).g){case 1:return new ci;case 3:return new fi;default:return new Ste}}function HM(e){if(e.c)HM(e.c);else if(e.d)throw O(new qp(`Stream already terminated, can't be modified or used`))}function UM(e,t,n){var r=e.a.get(t);return e.a.set(t,n===void 0?null:n),r===void 0?(++e.c,++e.b.g):++e.d,r}function Rqe(e,t,n){var r,i;for(i=e.a.ec().Kc();i.Ob();)if(r=F(i.Pb(),10),KA(n,F(Ox(t,r.p),16)))return r;return null}function zqe(e,t,n){var r=0;return t&&(bv(e.a)?r+=t.f.a/2:r+=t.f.b/2),n&&(bv(e.a)?r+=n.f.a/2:r+=n.f.b/2),r}function Bqe(e,t,n){var r=n;!r&&(r=GCe(new Ep,0)),r.Ug(Qmt,2),xZe(e.b,t,r.eh(1)),Dct(e,t,r.eh(1)),Edt(t,r.eh(1)),r.Vg()}function Vqe(e,t,n){var r=(Lm(),i=new jo,i),i;return $O(r,t),WO(r,n),e&&gD((!e.a&&(e.a=new ny(K5,e,5)),e.a),r),r}function Hqe(e){var t;return e.Db&64?SL(e):(t=new hy(SL(e)),t.a+=` (identifier: `,X_(t,e.k),t.a+=`)`,t.a)}function Uqe(e,t){var n=(e.Bb&RK)!=0;t?e.Bb|=RK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,18,n,t))}function Wqe(e,t){var n=(e.Bb&RK)!=0;t?e.Bb|=RK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,18,n,t))}function WM(e,t){var n=(e.Bb&AB)!=0;t?e.Bb|=AB:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,16,n,t))}function Gqe(e,t){var n=(e.Bb&WV)!=0;t?e.Bb|=WV:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&CA(e,new PE(e,1,20,n,t))}function Kqe(e){var t=H(K9,iV,28,2,15,1);return e-=WV,t[0]=(e>>10)+GV&oV,t[1]=(e&1023)+56320&oV,zN(t,0,t.length)}function qqe(e){var t=bI(e);return t>34028234663852886e22?zV:t<-34028234663852886e22?BV:t}function GM(e,t){var n;return dv(e)&&dv(t)&&(n=e+t,IV`+jT(t.c):`e_`+Wk(t),e.b&&e.c?jT(e.b)+`->`+jT(e.c):`e_`+Wk(e))}function Xqe(e,t){return Db(t.b&&t.c?jT(t.b)+`->`+jT(t.c):`e_`+Wk(t),e.b&&e.c?jT(e.b)+`->`+jT(e.c):`e_`+Wk(e))}function YM(e,t){return Pv(),hk(QB),r.Math.abs(e-t)<=QB||e==t||isNaN(e)&&isNaN(t)?0:et?1:lv(isNaN(e),isNaN(t))}function XM(){XM=C,y8=new b_(AH,0),_8=new b_(`POLYLINE`,1),g8=new b_(`ORTHOGONAL`,2),v8=new b_(`SPLINES`,3)}function ZM(){ZM=C,kIt=new l_(`ASPECT_RATIO_DRIVEN`,0),a3=new l_(`MAX_SCALE_DRIVEN`,1),OIt=new l_(`AREA_DRIVEN`,2)}function Zqe(e,t,n){var r;try{RWe(e,t,n)}catch(e){throw e=qA(e),N(e,606)?(r=e,O(new lIe(r))):O(e)}return t}function Qqe(e){var t,n,r;for(n=0,r=e.length;nt&&r.Ne(e[a-1],e[a])>0;--a)o=e[a],fC(e,a,e[a-1]),fC(e,a-1,o)}function rN(e,t){var n=t.f,r,i,a,o;if(aP(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,o=i.length;at){dNe(n);break}}GS(n,t)}function iJe(e,t){var n,i=k(P(EN(HT(t),(Zz(),h0))));n=r.Math.max(0,i/2-.5),jF(t,n,1),ey(e,new Ffe(t,n))}function aJe(e,t,n){var r;n.Ug(`Straight Line Edge Routing`,1),n.dh(t,x_t),r=F(J(t,(ab(),E4)),27),Ost(e,r),n.dh(t,HG)}function oJe(e,t){e.n.c.length==0&&ey(e.n,new Vw(e.s,e.t,e.i)),ey(e.b,t),tQe(F(Ox(e.n,e.n.c.length-1),209),t),got(e,t)}function iN(e){var t;this.a=(t=F(e.e&&e.e(),9),new Fb(t,F(vb(t,t.length),9),0)),this.b=H(MJ,gB,1,this.a.a.length,5,1)}function aN(e){var t;return Array.isArray(e)&&e.Tm===ne?Bm(Kj(e))+`@`+(t=Wk(e)>>>0,t.toString(16)):e.toString()}function sJe(e,t){return e.h==MV&&e.m==0&&e.l==0?(t&&(ZJ=Hv(0,0,0)),Wme((sO(),aSt))):(t&&(ZJ=Hv(e.l,e.m,e.h)),Hv(0,0,0))}function cJe(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 lJe(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 uJe(e,t,n,r){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return yqe(e,t,n,r)}function oN(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw O(new Kp(`Node `+t+` not part of edge `+e))}function dJe(e,t){var n=WL(e.Dh(),t);if(N(n,102))return F(n,19);throw O(new Kp(FK+t+`' is not a valid reference`))}function sN(e,t,n,r){if(t<0)B9e(e,n,r);else{if(!n.rk())throw O(new Kp(FK+n.xe()+IK));F(n,69).wk().Ck(e,e.hi(),t,r)}}function cN(e){var t;if(e.b){if(cN(e.b),e.b.d!=e.c)throw O(new Of)}else e.d.dc()&&(t=F(e.f.c.xc(e.e),16),t&&(e.d=t))}function fJe(e){lb();var t=e.o.b,n,r,i;for(r=F(F(UE(e.r,(Vz(),x5)),21),87).Kc();r.Ob();)n=F(r.Pb(),117),i=n.e,i.b+=t}function pJe(e){var t,n,r;for(this.a=new fv,r=new D(e);r.a=i)return t.c+n;return t.c+t.b.gc()}function hJe(e,t){ib();var n,r=wRe(e),i=t,a;for(MD(r,0,r.length,i),n=0;n0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function yJe(e){var t,n,r,i,a=S2e(e);return n=Qm(e.c),r=!n,r&&(i=new cl,xO(a,`knownLayouters`,i),t=new Od(i),TE(e.c,t)),a}function bJe(e){var t,n,r=new cm;for(r.a+=`[`,t=0,n=e.gc();t0&&(CT(t-1,e.length),e.charCodeAt(t-1)==58)&&!lN(e,E7,D7))}function wJe(e,t){var n;return M(e)===M(t)?!0:N(t,92)?(n=F(t,92),e.e==n.e&&e.d==n.d&&iFe(e,n.a)):!1}function dN(e){switch(Vz(),e.g){case 4:return i5;case 1:return r5;case 3:return x5;case 2:return C5;default:return S5}}function TJe(e){var t,n;if(e.b)return e.b;for(n=jY?null:e.d;n;){if(t=jY?null:n.b,t)return t;n=jY?null:n.d}return bh(),$St}function EJe(e){var t,n,r=k(P(e.a.of((eB(),e8))));for(n=new D(e.a.Sf());n.a>5,t=e&31,r=H(q9,bV,28,n+1,15,1),r[n]=1<3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function _N(e,t){var n=(e.i??WR(e),e.i),r=t.Lj(),i;if(r!=-1){for(i=n.length;r=0;--r)for(t=n[r],i=0;i>1,this.k=t-1>>1}function $Je(e){OD(),F(e.of((eB(),P6)),181).Hc((OR(),L5))&&(F(e.of(K6),181).Fc((YI(),t5)),F(e.of(P6),181).Mc(L5))}function eYe(e){var t=e.d==(LI(),mQ),n=k0e(e);t&&!n||!t&&n?G(e.a,(Zz(),a1),(FP(),i6)):G(e.a,(Zz(),a1),(FP(),r6))}function vN(){vN=C,Ih(),F0=(Zz(),T0),yMt=WE(W(A(R3,1),Qgt,149,0,[m0,h0,_0,v0,x0,S0,C0,w0,D0,k0,g0,y0,E0]))}function tYe(e,t){var n=F(xE(e,bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15);return n.Qc(Ewe(n.gc()))}function nYe(e,t){var n,r=new $l(e.a.ad(t,!0));if(r.a.gc()<=1)throw O(new Ef);return n=r.a.ec().Kc(),n.Pb(),F(n.Pb(),40)}function rYe(e,t,n){var r=k(e.p[t.i.p])+k(e.d[t.i.p])+t.n.b+t.a.b;return k(e.p[n.i.p])+k(e.d[n.i.p])+n.n.b+n.a.b-r}function iYe(e,t){var n;return e.i>0&&(t.lengthe.i&&fC(t,e.i,null),t}function yN(e){var t;return e.Db&64?_M(e):(t=new hy(_M(e)),t.a+=` (instanceClassName: `,X_(t,e.D),t.a+=`)`,t.a)}function bN(e){var t,n,r,i=0;for(n=0,r=e.length;n0?(e._j(),r=t==null?0:Wk(t),i=(r&dB)%e.d.length,n=r9e(e,i,r,t),n!=-1):!1}function oYe(e,t){var n,i;e.a=GM(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d+=t,n=t-e.f,i=e.e+n,e.f=i-e.e-n,e.e=i}function sYe(e,t){switch(t){case 3:KO(e,0);return;case 4:qO(e,0);return;case 5:JO(e,0);return;case 6:YO(e,0);return}kKe(e,t)}function CN(e,t){switch(t.g){case 1:return ex(e.j,(cA(),pEt));case 2:return ex(e.j,(cA(),hEt));default:return lw(),lw(),yY}}function cYe(e){oC();var t=e.Pc();switch(t.length){case 0:return BJ;case 1:return new Dx(iC(t[0]));default:return new Ow(Qqe(t))}}function lYe(e,t){e.Xj();try{e.d.bd(e.e++,t),e.f=e.d.j,e.g=-1}catch(e){throw e=qA(e),N(e,77)?O(new Of):O(e)}}function wN(){wN=C,sHt=new ns,eHt=new rs,tHt=new is,nHt=new as,rHt=new os,iHt=new ss,aHt=new tre,oHt=new nre,cHt=new rre}function TN(e,t){jme();var n=hb((Pp(),Pp(),JJ)),r=null;return t==n&&(r=F(Iw($xt,e),624)),r||(r=new aDe(e),t==n&&iT($xt,e,r)),r}function uYe(e){return NP(),(e.q?e.q:(lw(),lw(),bY))._b((Zz(),J1))?F(K(e,J1),203):F(K(TC(e),Y1),203)}function EN(e,t){var n,r=null;return Wy(e,(Zz(),b0))&&(n=F(K(e,b0),96),n.pf(t)&&(r=n.of(t))),r??=K(TC(e),t),r}function dYe(e,t){var n,r,i;return N(t,44)?(n=F(t,44),r=n.ld(),i=hM(e.Rc(),r),wC(i,n.md())&&(i!=null||e.Rc()._b(r))):!1}function DN(e,t){var n,r,i;return e.f>0&&(e._j(),r=t==null?0:Wk(t),i=(r&dB)%e.d.length,n=Q8e(e,i,r,t),n)?n.md():null}function ON(e,t,n){var r,i,a;return e.Pj()?(r=e.i,a=e.Qj(),yM(e,r,t),i=e.Ij(3,null,t,r,a),n?n.nj(i):n=i):yM(e,e.i,t),n}function fYe(e,t,n){var r=new QD(e.e,4,10,(i=t.c,N(i,90)?F(i,29):(iB(),e9)),null,jP(e,t),!1),i;return n?n.nj(r):n=r,n}function pYe(e,t,n){var r=new QD(e.e,3,10,null,(i=t.c,N(i,90)?F(i,29):(iB(),e9)),jP(e,t),!1),i;return n?n.nj(r):n=r,n}function mYe(e){lb();var t=new pv(F(e.e.of((eB(),N6)),8));return e.B.Hc((OR(),M5))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function kN(e){hR();var t,n=eS(e);return t=eS(cS(e,32)),t==0?n>10||n<0?new fE(1,n):OSt[n]:new yMe(n,t)}function AN(e,t){var n;return dv(e)&&dv(t)&&(n=e%t,IV=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function LN(e,t,n){for(var r,i=null,a=e.b;a;){if(r=e.a.Ne(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function wYe(e,t,n,r){var i=!1,a,o;return klt(e.f,n,r)&&(_Xe(e.f,e.a[t][n],e.a[t][r]),a=e.a[t],o=a[r],a[r]=a[n],a[n]=o,i=!0),i}function TYe(e,t,n){var r,i=F(dC(e.b,n),183),a,o;for(r=0,o=new D(t.j);o.a>5,r,i,a;return t&=31,i=e.d+n+(t==0?0:1),r=H(q9,bV,28,i,15,1),E2e(r,e.a,n,t),a=new RS(e.e,i,r),zT(a),a}function OYe(e,t){var n,r,i;for(r=new dS(fy(eN(e).a.Kc(),new d));hL(r);)if(n=F(IE(r),18),i=n.d.i,i.c==t)return!1;return!0}function kYe(e,t,n){var i,a,o,s=e.k,c=t.k;return i=n[s.g][c.g],a=P(EN(e,i)),o=P(EN(t,i)),r.Math.max((kC(a),a),(kC(o),o))}function AYe(){return Error.stackTraceLimit>0?(r.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):`stack`in Error()}function jYe(e,t){return Pv(),Pv(),hk(QB),(r.Math.abs(e-t)<=QB||e==t||isNaN(e)&&isNaN(t)?0:et?1:lv(isNaN(e),isNaN(t)))>0}function MYe(e,t){return Pv(),Pv(),hk(QB),(r.Math.abs(e-t)<=QB||e==t||isNaN(e)&&isNaN(t)?0:et?1:lv(isNaN(e),isNaN(t)))<0}function NYe(e,t){return Pv(),Pv(),hk(QB),(r.Math.abs(e-t)<=QB||e==t||isNaN(e)&&isNaN(t)?0:et?1:lv(isNaN(e),isNaN(t)))<=0}function RN(e,t){for(var n=0;!t[n]||t[n]==``;)n++;for(var r=t[n++];n0&&this.b>0&&(this.g=Nx(this.c,this.b,this.a))}function HYe(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var i=(dj(),XJ)[typeof r];return i?i(r):nKe(typeof r)}function HN(e){var t,n,r=null;if(t=iq in e.a,n=!t,n)throw O(new Qp(`Every element must have an id.`));return r=XI(qw(e,iq)),r}function UN(e){var t,n=T3e(e);for(t=null;e.c==2;)Qz(e),t||(t=(nB(),nB(),++W9,new Nv(2)),Sz(t,n),n=t),n.Jm(T3e(e));return n}function WN(e,t){var n,r,i;return e._j(),r=t==null?0:Wk(t),i=(r&dB)%e.d.length,n=Q8e(e,i,r,t),n?(tVe(e,n),n.md()):null}function UYe(e,t){return e.e>t.e?1:e.et.d?e.e:e.d=48&&e<48+r.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function GYe(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw O(new Kp(`Input edge is not connected to the input port.`))}function KYe(e){if(YN(bK,e))return Oy(),$J;if(YN(xK,e))return Oy(),QJ;throw O(new Kp(`Expecting true or false`))}function qYe(e){switch(typeof e){case lB:return wj(e);case opt:return sv(e);case cB:return tye(e);default:return e==null?0:Ey(e)}}function GN(e,t){if(e.a<0)throw O(new qp(`Did not call before(...) or after(...) before calling add(...).`));return U_e(e,e.a,t),e}function JYe(e){return tT(),N(e,162)?F(dC(y7,ISt),295).Rg(e):DS(y7,Kj(e))?F(dC(y7,Kj(e)),295).Rg(e):null}function KN(e){var t,n;return e.Db&32||(n=(t=F(EA(e,16),29),uC(t||e.ii())-uC(e.ii())),n!=0&&qN(e,32,H(MJ,gB,1,n,5,1))),e}function qN(e,t,n){var r;(e.Db&t)==0?n!=null&&xtt(e,t,n):n==null?L5e(e,t):(r=aF(e,t),r==-1?e.Eb=n:fC(ok(e.Eb),r,n))}function YYe(e,t,n,r){var i,a;t.c.length!=0&&(i=U9e(n,r),a=o8e(t),Sh(OO(new jx(null,new wT(a,1)),new Hi),new jOe(e,n,i,r)))}function XYe(e,t){var n,r=e.a.length-1,i,a;return n=t-e.b&r,a=e.c-t&r,i=e.c-e.b&r,Rve(n=a?(BGe(e,t),-1):(zGe(e,t),1)}function JN(e){var t,n,r=e.Jh();if(!r)for(t=0,n=e.Ph();n;n=n.Ph()){if(++t>qV)return n.Qh();if(r=n.Jh(),r||n==e)break}return r}function ZYe(e,t){var n;return M(t)===M(e)?!0:!N(t,21)||(n=F(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function QYe(e,t){return e.et.e?1:e.ft.f?1:Wk(e)-Wk(t)}function YN(e,t){return kC(e),t==null?!1:Db(e,t)?!0:e.length==t.length&&Db(e.toLowerCase(),t.toLowerCase())}function XN(e){var t,n;return iM(e,-129)>0&&iM(e,128)<0?(Hwe(),t=eS(e)+128,n=pSt[t],!n&&(n=pSt[t]=new Dl(e)),n):new Dl(e)}function ZN(){ZN=C,tZ=new yg(UU,0),rEt=new yg(`INSIDE_PORT_SIDE_GROUPS`,1),$X=new yg(`GROUP_MODEL_ORDER`,2),eZ=new yg($mt,3)}function $Ye(e){var t;return e.b||$le(e,(t=qye(e.e,e.a),!t||!Db(xK,DN((!t.b&&(t.b=new Xy((iB(),a9),u9,t)),t.b),`qualified`)))),e.c}function eXe(e,t){for(var n=(CT(t,e.length),e.charCodeAt(t)),r=t+1;r2e3&&(Xxt=e,qJ=r.setTimeout(Vue,10))),KJ++==0?(bze((Pce(),Zxt)),!0):!1}function xXe(e,t,n){var r;(eCt?(TJe(e),!0):tCt||rCt?(bh(),!0):nCt&&(bh(),!1))&&(r=new zbe(t),r.b=n,M4e(e,r))}function eP(e,t){var n=!e.A.Hc((PN(),O5))||e.q==(YF(),G8);e.u.Hc((YI(),Q8))?n?mdt(e,t):Hut(e,t):e.u.Hc(e5)&&(n?yut(e,t):Ldt(e,t))}function SXe(e){var t;M(J(e,(eB(),C6)))===M((cM(),w8))&&($w(e)?(t=F(J($w(e),C6),346),EP(e,C6,t)):EP(e,C6,T8))}function CXe(e){var t,n;return Wy(e.d.i,(Zz(),n0))?(t=F(K(e.c.i,n0),17),n=F(K(e.d.i,n0),17),Vv(t.a,n.a)>0):!1}function wXe(e,t,n){return new $C(r.Math.min(e.a,t.a)-n/2,r.Math.min(e.b,t.b)-n/2,r.Math.abs(e.a-t.a)+n,r.Math.abs(e.b-t.b)+n)}function TXe(e){var t;this.d=new Zd,this.j=new Im,this.g=new Im,t=e.g.b,this.f=F(K(TC(t),(Zz(),w1)),88),this.e=k(P(vP(t,x0)))}function EXe(e){this.d=new Zd,this.e=new yE,this.c=H(q9,bV,28,(Vz(),W(A(w5,1),WU,64,0,[S5,i5,r5,x5,C5])).length,15,1),this.b=e}function DXe(e,t,n){var r=n[e.g][t];switch(e.g){case 1:case 3:return new j(0,r);case 2:case 4:return new j(r,0);default:return null}}function OXe(e,t,n){var r,i=F(Nw(t.f),205);try{i.rf(e,n),FDe(t.f,i)}catch(e){throw e=qA(e),N(e,103)?(r=e,O(r)):O(e)}}function kXe(e,t,n){var r=null,i,a,o,s=ult(mk(),t),c;return a=null,s&&(i=null,c=Yct(s,n),o=null,c!=null&&(o=e.qf(s,c)),i=o,a=i),r=a,r}function tP(e,t,n,r){var i=e.length;if(t>=i)return i;for(t=t>0?t:0;tr&&fC(t,r,null),t}function AXe(e,t){var n,r=e.a.length;for(t.lengthr&&fC(t,r,null),t}function rP(e,t){var n,r;if(++e.j,t!=null&&(n=(r=e.a.Cb,N(r,99)?F(r,99).th():null),e5e(t,n))){qN(e.a,4,n);return}qN(e.a,4,F(t,129))}function jXe(e){var t;if(e==null)return null;if(t=i9e(dz(e,!0)),t==null)throw O(new $p(`Invalid hexBinary value: '`+e+`'`));return t}function iP(e,t,n){var r;t.a.length>0&&(ey(e.b,new CCe(t.a,n)),r=t.a.length,0r&&(t.a+=vge(H(K9,iV,28,-r,15,1))))}function MXe(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new D(qj(t));i.a=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n=0?e.Wh(i):eL(e,r)):n<0?eL(e,r):F(r,69).wk().Bk(e,e.hi(),n)}function UXe(e){var t,n,r=(!e.o&&(e.o=new xD((qz(),i7),l7,e,0)),e.o);for(n=r.c.Kc();n.e!=n.i.gc();)t=F(n.Yj(),44),t.md();return uD(r)}function mP(e){var t;if(N(e.a,4)){if(t=JYe(e.a),t==null)throw O(new qp(gvt+e.b+`'. `+mvt+(tb(x7),x7.k)+hvt));return t}else return e.a}function WXe(e,t){var n,r;if(e.j.length!=t.j.length)return!1;for(n=0,r=e.j.length;n=64&&t<128&&(i=DT(i,oS(1,t-64)));return i}function vP(e,t){var n,r=null;return Wy(e,(eB(),$6))&&(n=F(K(e,$6),96),n.pf(t)&&(r=n.of(t))),r==null&&TC(e)&&(r=K(TC(e),t)),r}function GXe(e,t){var n=F(K(e,(Zz(),R1)),75);return qv(t,oEt)?n?aw(n):(n=new _p,G(e,R1,n)):n&&G(e,R1,null),n}function yP(){yP=C,Vwt=(eB(),Nzt),yX=azt,Nwt=h6,Iwt=L6,zwt=(AF(),CCt),Rwt=xCt,Bwt=TCt,Lwt=bCt,Pwt=(Bj(),kwt),_X=Owt,Fwt=jwt,vX=Mwt}function bP(e){switch(Ide(),this.c=new Zd,this.d=e,e.g){case 0:case 2:this.a=$De(nEt),this.b=zV;break;case 3:case 1:this.a=nEt,this.b=BV}}function KXe(e){var t;Ob(F(K(e,(Zz(),a0)),101))&&(t=e.b,r5e((ST(0,t.c.length),F(t.c[0],30))),r5e(F(Ox(t,t.c.length-1),30)))}function qXe(e,t){t.Ug(`Self-Loop post-processing`,1),Sh(qC(qC(mO(new jx(null,new wT(e.b,16)),new yr),new br),new Gee),new xr),t.Vg()}function JXe(e,t,n){var r,i;if(e.c)JO(e.c,e.c.i+t),YO(e.c,e.c.j+n);else for(i=new D(e.b);i.a=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function SP(){SP=C,AMt=new Hg(e_t,0),Y0=new Hg(fW,1),X0=new Hg(`LINEAR_SEGMENTS`,2),J0=new Hg(`BRANDES_KOEPF`,3),Z0=new Hg($gt,4)}function CP(){CP=C,pX=new mg(IH,0),fX=new mg(LH,1),mX=new mg(RH,2),hX=new mg(zH,3),pX.a=!1,fX.a=!0,mX.a=!1,hX.a=!0}function wP(){wP=C,sX=new pg(IH,0),oX=new pg(LH,1),cX=new pg(RH,2),lX=new pg(zH,3),sX.a=!1,oX.a=!0,cX.a=!1,lX.a=!0}function TP(e,t,n,r){var i;return n>=0?e.Sh(t,n,r):(e.Ph()&&(r=(i=e.Fh(),i>=0?e.Ah(r):e.Ph().Th(e,-1-i,null,r))),e.Ch(t,n,r))}function nZe(e,t){switch(t){case 7:!e.e&&(e.e=new Tb(X5,e,7,4)),Cz(e.e);return;case 8:!e.d&&(e.d=new Tb(X5,e,8,5)),Cz(e.d);return}sYe(e,t)}function EP(e,t,n){return n==null?(!e.o&&(e.o=new xD((qz(),i7),l7,e,0)),WN(e.o,t)):(!e.o&&(e.o=new xD((qz(),i7),l7,e,0)),PF(e.o,t,n)),e}function rZe(e,t){lw();var n=e,r,i,a=t;for(N(e,21)&&!N(t,21)&&(n=t,a=e),i=n.Kc();i.Ob();)if(r=i.Pb(),a.Hc(r))return!1;return!0}function iZe(e,t,n,r){return t.an.b)}function DP(e,t){return B_(e)?!!Lxt[t]:e.Sm?!!e.Sm[t]:H_(e)?!!Ixt[t]:V_(e)?!!Fxt[t]:!1}function aZe(e){var t=e.a;do t=F(IE(new dS(fy($M(t).a.Kc(),new d))),18).c.i,t.k==(yI(),cZ)&&e.b.Fc(t);while(t.k==(yI(),cZ));e.b=uN(e.b)}function oZe(e,t){var n,i,a=e;for(i=new dS(fy($M(t).a.Kc(),new d));hL(i);)n=F(IE(i),18),n.c.i.c&&(a=r.Math.max(a,n.c.i.c.p));return a}function sZe(e,t){var n,r,i=0;for(r=F(F(UE(e.r,t),21),87).Kc();r.Ob();)n=F(r.Pb(),117),i+=n.d.d+n.b.Mf().b+n.d.a,r.Ob()&&(i+=e.w);return i}function cZe(e,t){var n,r,i=0;for(r=F(F(UE(e.r,t),21),87).Kc();r.Ob();)n=F(r.Pb(),117),i+=n.d.b+n.b.Mf().a+n.d.c,r.Ob()&&(i+=e.w);return i}function lZe(e){var t,n,r=0,i=$L(e);if(i.c.length==0)return 1;for(n=new D(i);n.a=0?e.Lh(o,n,!0):oL(e,a,n)):F(a,69).wk().yk(e,e.hi(),i,n,r)}function pZe(e,t,n,r){var i=ZKe(t.pf((eB(),A6))?F(t.of(A6),21):e.j);i!=(rB(),eX)&&(n&&!BYe(i)||l3e(a9e(e,i,r),t))}function mZe(e){switch(e.g){case 1:return zA(),aX;case 3:return zA(),nX;case 2:return zA(),iX;case 4:return zA(),rX;default:return null}}function hZe(e,t,n){if(e.e)switch(e.b){case 1:ike(e.c,t,n);break;case 0:ake(e.c,t,n)}else NPe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function gZe(e){var t,n;if(e==null)return null;for(n=H(iZ,X,199,e.length,0,2),t=0;t=0)return i;if(e.ol()){for(r=0;r=i)throw O(new Eb(t,i));if(e.Si()&&(r=e.dd(n),r>=0&&r!=t))throw O(new Kp(dq));return e.Xi(t,n)}function vZe(e,t){if(this.a=F(iC(e),253),this.b=F(iC(t),253),e.Ed(t)>0||e==(Op(),RJ)||t==(kp(),zJ))throw O(new Kp(`Invalid range: `+RPe(e,t)))}function yZe(e){var t,n;for(this.b=new Zd,this.c=e,this.a=!1,n=new D(e.a);n.a0),(t&-t)==t)return Bw(t*kL(e,31)*4656612873077393e-25);do n=kL(e,31),r=n%t;while(n-r+(t-1)<0);return Bw(r)}function OZe(e,t,n){switch(n.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 LP(e,t,n,r){var i,a;for(i=t;i1&&(a=bZe(e,t)),a}function AZe(e){var t=k(P(J(e,(eB(),r8))))*r.Math.sqrt((!e.a&&(e.a=new I(o7,e,10,11)),e.a).i);return new j(t,t/k(P(J(e,n8))))}function BP(e){var t;return e.f&&e.f.Vh()&&(t=F(e.f,54),e.f=F(aM(e,t),84),e.f!=t&&e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,9,8,t,e.f))),e.f}function VP(e){var t;return e.i&&e.i.Vh()&&(t=F(e.i,54),e.i=F(aM(e,t),84),e.i!=t&&e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,9,7,t,e.i))),e.i}function HP(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=F(aM(e,t),19),e.b!=t&&e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,9,21,t,e.b))),e.b}function UP(e,t){var n,r,i;e.d==null?(++e.e,++e.f):(r=t.Bi(),Cet(e,e.f+1),i=(r&dB)%e.d.length,n=e.d[i],!n&&(n=e.d[i]=e.dk()),n.Fc(t),++e.f)}function jZe(e,t,n){var r;return t.tk()?!1:t.Ik()==-2?t.qk()==e.e.Dh()&&n==null:(r=t.ik(),r==null?n==null:xM(r,n))}function WP(){var e;xk(16,bpt),e=zVe(16),this.b=H(VJ,WB,303,e,0,1),this.c=H(VJ,WB,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function GP(e){Aye.call(this),this.k=(yI(),lZ),this.j=(xk(6,qB),new iD(6)),this.b=(xk(2,qB),new iD(2)),this.d=new up,this.f=new fp,this.a=e}function MZe(e){var t,n;e.c.length<=1||(t=mnt(e,(Vz(),x5)),j3e(e,F(t.a,17).a,F(t.b,17).a),n=mnt(e,C5),j3e(e,F(n.a,17).a,F(n.b,17).a))}function NZe(e,t,n){var r,i=e.a.b;for(r=i.c.length;r102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function ZP(e,t){if(e==null)throw O(new Jp(`null key in entry: null=`+t));if(t==null)throw O(new Jp(`null value in entry: `+e+`=null`))}function zZe(e,t){for(var n,r;e.Ob();)if(!t.Ob()||(n=e.Pb(),r=t.Pb(),!(M(n)===M(r)||n!=null&&xM(n,r))))return!1;return!t.Ob()}function BZe(e,t){var n=W(A(Z9,1),KV,28,15,[Xj(e.a[0],t),Xj(e.a[1],t),Xj(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function VZe(e,t){var n=W(A(Z9,1),KV,28,15,[Zj(e.a[0],t),Zj(e.a[1],t),Zj(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function HZe(e,t,n){Ob(F(K(t,(Zz(),a0)),101))||(LFe(e,t,TI(t,n)),LFe(e,t,TI(t,(Vz(),x5))),LFe(e,t,TI(t,i5)),lw(),zv(t.j,new Eoe(e)))}function UZe(e){var t,n;for(e.c||zct(e),n=new _p,t=new D(e.a),B(t);t.a0&&(CT(0,t.length),t.charCodeAt(0)==43)?(CT(1,t.length+1),t.substr(1)):t))}function cQe(e){var t;return e==null?null:new Dv((t=dz(e,!0),t.length>0&&(CT(0,t.length),t.charCodeAt(0)==43)?(CT(1,t.length+1),t.substr(1)):t))}function lQe(e,t,n,r,i,a,o,s){var c,l;r&&(c=r.a[0],c&&lQe(e,t,n,c,i,a,o,s),_F(e,n,r.d,i,a,o,s)&&t.Fc(r),l=r.a[1],l&&lQe(e,t,n,l,i,a,o,s))}function $P(e,t,n){try{return U_(Rk(e,t,n),1)}catch(r){throw r=qA(r),N(r,333)?O(new Up(VH+e.o+`*`+e.p+HH+t+hB+n+UH)):O(r)}}function uQe(e,t,n){try{return U_(Rk(e,t,n),0)}catch(r){throw r=qA(r),N(r,333)?O(new Up(VH+e.o+`*`+e.p+HH+t+hB+n+UH)):O(r)}}function dQe(e,t,n){try{return U_(Rk(e,t,n),2)}catch(r){throw r=qA(r),N(r,333)?O(new Up(VH+e.o+`*`+e.p+HH+t+hB+n+UH)):O(r)}}function fQe(e,t){if(e.g==-1)throw O(new Tf);e.Xj();try{e.d.hd(e.g,t),e.f=e.d.j}catch(e){throw e=qA(e),N(e,77)?O(new Of):O(e)}}function pQe(e){var t,n,r,i,a;for(r=new D(e.b);r.aa&&fC(t,a,null),t}function mQe(e,t){var n,r=e.gc();if(t==null){for(n=0;n0&&(c+=i),l[u]=o,o+=s*(c+r)}function TQe(e){var t,n,r=e.f;for(e.n=H(Z9,KV,28,r,15,1),e.d=H(Z9,KV,28,r,15,1),t=0;t0?e.c:0),++a;e.b=i,e.d=o}function AQe(e,t){var n=W(A(Z9,1),KV,28,15,[DZe(e,(zO(),HY),t),DZe(e,UY,t),DZe(e,WY,t)]);return e.f&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function jQe(e,t,n){var r;try{fR(e,t+e.j,n+e.k,!1,!0)}catch(e){throw e=qA(e),N(e,77)?(r=e,O(new Up(r.g+WH+t+hB+n+`).`))):O(e)}}function MQe(e,t,n){var r;try{fR(e,t+e.j,n+e.k,!0,!1)}catch(e){throw e=qA(e),N(e,77)?(r=e,O(new Up(r.g+WH+t+hB+n+`).`))):O(e)}}function NQe(e){var t;Wy(e,(Zz(),G1))&&(t=F(K(e,G1),21),t.Hc((vL(),j8))?(t.Mc(j8),t.Fc(N8)):t.Hc(N8)&&(t.Mc(N8),t.Fc(j8)))}function PQe(e){var t;Wy(e,(Zz(),G1))&&(t=F(K(e,G1),21),t.Hc((vL(),R8))?(t.Mc(R8),t.Fc(I8)):t.Hc(I8)&&(t.Mc(I8),t.Fc(R8)))}function cF(e,t,n,r){var i,a,o,s;return e.a??z4e(e,t),o=t.b.j.c.length,a=n.d.p,s=r.d.p,i=s-1,i<0&&(i=o-1),a<=i?e.a[i]-e.a[a]:e.a[o-1]-e.a[a]+e.a[i]}function FQe(e){var t,n;if(!e.b)for(e.b=GT(F(e.f,27).kh().i),n=new cy(F(e.f,27).kh());n.e!=n.i.gc();)t=F(hP(n),135),ey(e.b,new Rp(t));return e.b}function IQe(e){var t,n;if(!e.e)for(e.e=GT(uOe(F(e.f,27)).i),n=new cy(uOe(F(e.f,27)));n.e!=n.i.gc();)t=F(hP(n),123),ey(e.e,new ase(t));return e.e}function LQe(e){var t,n;if(!e.a)for(e.a=GT(fw(F(e.f,27)).i),n=new cy(fw(F(e.f,27)));n.e!=n.i.gc();)t=F(hP(n),27),ey(e.a,new My(e,t));return e.a}function lF(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=cut(e),t)e.hl(t);else try{e.hl(null)}catch(e){if(e=qA(e),!N(e,63))throw O(e)}return e.C}function RQe(e){switch(e.q.g){case 5:C1e(e,(Vz(),i5)),C1e(e,x5);break;case 4:Qct(e,(Vz(),i5)),Qct(e,x5);break;default:J3e(e,(Vz(),i5)),J3e(e,x5)}}function zQe(e){switch(e.q.g){case 5:w1e(e,(Vz(),r5)),w1e(e,C5);break;case 4:$ct(e,(Vz(),r5)),$ct(e,C5);break;default:Y3e(e,(Vz(),r5)),Y3e(e,C5)}}function uF(e,t){var n,i,a=new Im;for(i=e.Kc();i.Ob();)n=F(i.Pb(),36),mR(n,a.a,0),a.a+=n.f.a+t,a.b=r.Math.max(a.b,n.f.b);return a.b>0&&(a.b+=t),a}function dF(e,t){var n,i,a=new Im;for(i=e.Kc();i.Ob();)n=F(i.Pb(),36),mR(n,0,a.b),a.b+=n.f.b+t,a.a=r.Math.max(a.a,n.f.a);return a.a>0&&(a.a+=t),a}function BQe(e){var t,n,i=dB;for(n=new D(e.a);n.a>16==6?e.Cb.Th(e,5,t7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function UQe(e){gw();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+` + `}};pp([Tt()],Lp.prototype,`data`,void 0),pp([Tt()],Lp.prototype,`activeItemIndex`,void 0),pp([Tt()],Lp.prototype,`error`,void 0),pp([Tt()],Lp.prototype,`activeMainTab`,void 0),pp([Tt()],Lp.prototype,`selectedDiffChanges`,void 0),pp([Tt()],Lp.prototype,`selectedNodeId`,void 0),pp([Tt()],Lp.prototype,`selectedNodeChanges`,void 0),pp([Ot(`.navigator-panel pb33f-model-tree`)],Lp.prototype,`modelTree`,void 0),pp([Ot(`pb33f-chart`)],Lp.prototype,`beefyChart`,void 0),pp([Ot(`.tab-content > sl-tab-group`)],Lp.prototype,`mainTabGroup`,void 0);var uce=c(o(((e,t)=>{(function(n){if(typeof e==`object`&&t!==void 0)t.exports=n();else if(typeof define==`function`&&define.amd)define([],n);else{var r=typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this;r.ELK=n()}})(function(){return(function(){function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof require==`function`&&require;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var l=Error(`Cannot find module '`+o+`'`);throw l.code=`MODULE_NOT_FOUND`,l}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var a=typeof require==`function`&&require,o=0;o0&&arguments[0]!==void 0?arguments[0]:{},r=n.defaultLayoutOptions,o=r===void 0?{}:r,s=n.algorithms,c=s===void 0?[`layered`,`stress`,`mrtree`,`radial`,`force`,`disco`,`sporeOverlap`,`sporeCompaction`,`rectpacking`]:s,l=n.workerFactory,u=n.workerUrl;if(i(this,e),this.defaultLayoutOptions=o,this.initialized=!1,u===void 0&&l===void 0)throw Error(`Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.`);var d=l;u!==void 0&&l===void 0&&(d=function(e){return new Worker(e)});var f=d(u);if(typeof f.postMessage!=`function`)throw TypeError(`Created worker does not provide the required 'postMessage' function.`);this.worker=new a(f),this.worker.postMessage({cmd:`register`,algorithms:c}).then(function(e){return t.initialized=!0}).catch(console.err)}return r(e,[{key:`layout`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.layoutOptions,r=n===void 0?this.defaultLayoutOptions:n,i=t.logging,a=i===void 0?!1:i,o=t.measureExecutionTime,s=o===void 0?!1:o;return e?this.worker.postMessage({cmd:`layout`,graph:e,layoutOptions:r,options:{logging:a,measureExecutionTime:s}}):Promise.reject(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()}}]),e}();var a=function(){function e(t){var n=this;if(i(this,e),t===void 0)throw Error(`Missing mandatory parameter 'worker'.`);this.resolvers={},this.worker=t,this.worker.onmessage=function(e){setTimeout(function(){n.receive(n,e)},0)}}return r(e,[{key:`postMessage`,value:function(e){var t=this.id||0;this.id=t+1,e.id=t;var n=this;return new Promise(function(r,i){n.resolvers[t]=function(e,t){e?(n.convertGwtStyleError(e),i(e)):r(t)},n.worker.postMessage(e)})}},{key:`receive`,value:function(e,t){var n=t.data,r=e.resolvers[n.id];r&&(delete e.resolvers[n.id],n.error?r(n.error):r(null,n.data))}},{key:`terminate`,value:function(){this.worker&&this.worker.terminate()}},{key:`convertGwtStyleError`,value:function(e){if(e){var t=e.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(e.cause=t.cause.backingJsObject,this.convertGwtStyleError(e.cause)),delete e.__java$exception)}}}]),e}()},{}],2:[function(e,t,n){(function(e){(function(){"use strict";var r;typeof window<`u`?r=window:e===void 0?typeof self<`u`&&(r=self):r=e;var i;function a(){}function o(){}function s(){}function c(){}function l(){}function u(){}function d(){}function f(){}function p(){}function m(){}function h(){}function g(){}function _(){}function v(){}function y(){}function b(){}function x(){}function S(){}function ee(){}function te(){}function ne(){}function C(){}function re(){}function ie(){}function ae(){}function oe(){}function se(){}function w(){}function ce(){}function le(){}function ue(){}function de(){}function fe(){}function pe(){}function me(){}function he(){}function ge(){}function _e(){}function ve(){}function ye(){}function be(){}function xe(){}function Se(){}function Ce(){}function we(){}function Te(){}function Ee(){}function De(){}function Oe(){}function ke(){}function Ae(){}function je(){}function Me(){}function Ne(){}function Pe(){}function Fe(){}function Ie(){}function Le(){}function Re(){}function ze(){}function Be(){}function Ve(){}function eee(){}function He(){}function Ue(){}function We(){}function tee(){}function Ge(){}function Ke(){}function qe(){}function Je(){}function Ye(){}function Xe(){}function Ze(){}function Qe(){}function nee(){}function $e(){}function et(){}function tt(){}function nt(){}function rt(){}function T(){}function it(){}function at(){}function ot(){}function st(){}function ct(){}function lt(){}function ut(){}function dt(){}function ft(){}function pt(){}function mt(){}function ht(){}function gt(){}function _t(){}function vt(){}function yt(){}function bt(){}function ree(){}function iee(){}function xt(){}function St(){}function aee(){}function Ct(){}function wt(){}function oee(){}function E(){}function Tt(){}function Et(){}function Dt(){}function Ot(){}function see(){}function kt(){}function At(){}function jt(){}function Mt(){}function Nt(){}function Pt(){}function cee(){}function Ft(){}function lee(){}function uee(){}function It(){}function Lt(){}function Rt(){}function dee(){}function zt(){}function fee(){}function Bt(){}function Vt(){}function Ht(){}function Ut(){}function Wt(){}function Gt(){}function Kt(){}function qt(){}function pee(){}function Jt(){}function Yt(){}function Xt(){}function Zt(){}function Qt(){}function $t(){}function en(){}function tn(){}function nn(){}function mee(){}function hee(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function ln(){}function un(){}function dn(){}function fn(){}function gee(){}function pn(){}function _ee(){}function mn(){}function hn(){}function gn(){}function _n(){}function vn(){}function yn(){}function bn(){}function xn(){}function Sn(){}function Cn(){}function wn(){}function vee(){}function Tn(){}function En(){}function Dn(){}function On(){}function kn(){}function An(){}function jn(){}function Mn(){}function Nn(){}function Pn(){}function Fn(){}function In(){}function Ln(){}function yee(){}function Rn(){}function zn(){}function bee(){}function Bn(){}function Vn(){}function xee(){}function See(){}function Hn(){}function Un(){}function Wn(){}function Gn(){}function Kn(){}function Cee(){}function qn(){}function Jn(){}function Yn(){}function Xn(){}function Zn(){}function Qn(){}function $n(){}function er(){}function wee(){}function Tee(){}function tr(){}function Eee(){}function nr(){}function Dee(){}function Oee(){}function kee(){}function Aee(){}function rr(){}function jee(){}function ir(){}function ar(){}function or(){}function Mee(){}function Nee(){}function Pee(){}function Fee(){}function Iee(){}function Lee(){}function Ree(){}function zee(){}function Bee(){}function Vee(){}function sr(){}function cr(){}function lr(){}function ur(){}function dr(){}function fr(){}function pr(){}function mr(){}function hr(){}function Hee(){}function gr(){}function Uee(){}function _r(){}function vr(){}function yr(){}function br(){}function Wee(){}function xr(){}function Sr(){}function Cr(){}function wr(){}function Tr(){}function Er(){}function Dr(){}function Or(){}function kr(){}function Ar(){}function jr(){}function Gee(){}function Mr(){}function Kee(){}function Nr(){}function Pr(){}function Fr(){}function qee(){}function Jee(){}function Yee(){}function Ir(){}function Xee(){}function Zee(){}function Lr(){}function Rr(){}function Qee(){}function $ee(){}function ete(){}function tte(){}function zr(){}function Br(){}function Vr(){}function nte(){}function rte(){}function Hr(){}function ite(){}function ate(){}function ote(){}function ste(){}function cte(){}function lte(){}function ute(){}function dte(){}function fte(){}function pte(){}function Ur(){}function mte(){}function hte(){}function Wr(){}function Gr(){}function Kr(){}function gte(){}function D(){}function qr(){}function Jr(){}function Yr(){}function Xr(){}function Zr(){}function Qr(){}function $r(){}function ei(){}function ti(){}function ni(){}function ri(){}function _te(){}function ii(){}function ai(){}function vte(){}function yte(){}function oi(){}function si(){}function ci(){}function bte(){}function li(){}function ui(){}function di(){}function fi(){}function xte(){}function pi(){}function Ste(){}function mi(){}function Cte(){}function hi(){}function wte(){}function gi(){}function Tte(){}function _i(){}function vi(){}function yi(){}function bi(){}function Ete(){}function xi(){}function Dte(){}function Si(){}function Ci(){}function Ote(){}function wi(){}function kte(){}function Ti(){}function Ate(){}function Ei(){}function jte(){}function Di(){}function Oi(){}function ki(){}function Ai(){}function Mte(){}function ji(){}function Nte(){}function Mi(){}function Pte(){}function Ni(){}function Fte(){}function Pi(){}function Ite(){}function Fi(){}function Lte(){}function Ii(){}function Rte(){}function zte(){}function Li(){}function Bte(){}function Ri(){}function zi(){}function Bi(){}function Vi(){}function Hi(){}function Vte(){}function Ui(){}function Hte(){}function Wi(){}function Ute(){}function Wte(){}function Gte(){}function Gi(){}function Kte(){}function qte(){}function Jte(){}function Yte(){}function Ki(){}function qi(){}function Ji(){}function Xte(){}function Zte(){}function Yi(){}function Qte(){}function $te(){}function ene(){}function Xi(){}function tne(){}function nne(){}function rne(){}function ine(){}function ane(){}function one(){}function sne(){}function cne(){}function lne(){}function une(){}function Zi(){}function Qi(){}function dne(){}function fne(){}function pne(){}function $i(){}function ea(){}function ta(){}function na(){}function ra(){}function mne(){}function hne(){}function ia(){}function aa(){}function oa(){}function sa(){}function ca(){}function la(){}function ua(){}function gne(){}function da(){}function fa(){}function _ne(){}function pa(){}function ma(){}function ha(){}function ga(){}function _a(){}function va(){}function ya(){}function vne(){}function yne(){}function ba(){}function xa(){}function Sa(){}function bne(){}function xne(){}function Ca(){}function Sne(){}function wa(){}function Cne(){}function wne(){}function Tne(){}function Ene(){}function Ta(){}function Ea(){}function Da(){}function Dne(){}function One(){}function Oa(){}function ka(){}function Aa(){}function ja(){}function Ma(){}function kne(){}function Na(){}function Pa(){}function Fa(){}function Ane(){}function Ia(){}function La(){}function Ra(){}function za(){}function jne(){}function Ba(){}function Va(){}function Ha(){}function Ua(){}function Wa(){}function Ga(){}function Ka(){}function qa(){}function Ja(){}function Ya(){}function Mne(){}function Xa(){}function Nne(){}function Pne(){}function Fne(){}function Ine(){}function Lne(){}function Za(){}function Rne(){}function zne(){}function Bne(){}function Qa(){}function $a(){}function eo(){}function to(){}function Vne(){}function no(){}function Hne(){}function Une(){}function Wne(){}function ro(){}function io(){}function Gne(){}function ao(){}function Kne(){}function qne(){}function Jne(){}function Yne(){}function oo(){}function so(){}function Xne(){}function co(){}function lo(){}function uo(){}function fo(){}function po(){}function mo(){}function Zne(){}function ho(){}function go(){}function _o(){}function vo(){}function yo(){}function bo(){}function Qne(){}function xo(){}function So(){}function Co(){}function wo(){}function To(){}function Eo(){}function $ne(){}function Do(){}function Oo(){}function ko(){}function Ao(){}function ere(){}function jo(){}function Mo(){}function No(){}function Po(){}function Fo(){}function Io(){}function tre(){}function Lo(){}function Ro(){}function nre(){}function zo(){}function rre(){}function Bo(){}function Vo(){}function Ho(){}function Uo(){}function Wo(){}function Go(){}function Ko(){}function ire(){}function are(){}function qo(){}function ore(){}function Jo(){}function Yo(){}function Xo(){}function Zo(){}function Qo(){}function $o(){}function sre(){}function es(){}function ts(){}function ns(){}function rs(){}function is(){}function as(){}function os(){}function cre(){}function lre(){}function ss(){}function ure(){}function cs(){}function ls(){}function us(){}function ds(){}function dre(){}function fs(){}function ps(){}function fre(){}function ms(){}function hs(){}function gs(){}function _s(){}function vs(){}function ys(){}function bs(){}function xs(){}function Ss(){}function pre(){}function mre(){}function hre(){}function gre(){}function Cs(){}function _re(){}function ws(){}function Ts(){}function vre(){}function Es(){}function yre(){}function Ds(){}function Os(){}function ks(){}function As(){}function js(){}function bre(){}function Ms(){}function xre(){}function Ns(){}function Ps(){}function Fs(){}function Is(){}function Ls(){}function Rs(){}function zs(){}function Sre(){}function Cre(){}function wre(){}function Tre(){}function Ere(){}function Bs(){}function Vs(){}function Dre(){}function Ore(){}function kre(){}function Are(){}function Hs(){}function Us(){}function Ws(){}function Gs(){}function Ks(){}function qs(){}function jre(){}function Js(){}function Ys(){}function Xs(){}function Zs(){}function Mre(){}function Qs(){}function $s(){}function Nre(){}function Pre(){}function Fre(){}function ec(){}function Ire(){}function Lre(){}function tc(){}function nc(){}function Rre(){}function zre(){}function rc(){}function ic(){}function Bre(){}function ac(){}function Vre(){}function oc(){}function Hre(){}function Ure(){}function Wre(){}function Gre(){}function Kre(){}function sc(){}function qre(){}function Jre(){}function cc(){}function lc(){}function uc(){}function dc(){}function Yre(){}function Xre(){}function fc(){Ap()}function Zre(){Wh()}function Qre(){RF()}function pc(){Kj()}function $re(){DP()}function mc(){I4e()}function eie(){JR()}function hc(){e$e()}function tie(){NF()}function gc(){Gh()}function _c(){ex()}function nie(){Tde()}function rie(){mA()}function iie(){MIe()}function aie(){eVe()}function vc(){WAe()}function yc(){nVe()}function bc(){TLe()}function xc(){HAe()}function Sc(){Pj()}function oie(){iVe()}function Cc(){rVe()}function wc(){aNe()}function sie(){aVe()}function cie(){wI()}function lie(){qh()}function Tc(){Bft()}function uie(){cB()}function Ec(){oVe()}function die(){CHe()}function Dc(){GAe()}function fie(){o$e()}function Oc(){KAe()}function kc(){Mit()}function Ac(){B5e()}function pie(){QO()}function mie(){cqe()}function jc(){tz()}function hie(){kje()}function gie(){ZO()}function Mc(){Zrt()}function _ie(){PI()}function vie(){eit()}function Nc(){mR()}function Pc(){yI()}function yie(){vR()}function Fc(){nF()}function Ic(){Abe()}function bie(){zD()}function xie(){bI()}function Lc(){dB()}function Rc(){Fj()}function zc(){mYe()}function Bc(){hA()}function Vc(){hz()}function Hc(){Aat()}function Uc(e){BC(e)}function Wc(e){this.a=e}function Gc(e){this.a=e}function Kc(e){this.a=e}function Sie(e){this.a=e}function Cie(e){this.a=e}function wie(e){this.a=e}function Tie(e){this.a=e}function Eie(e){this.a=e}function qc(e){this.a=e}function Jc(e){this.a=e}function Yc(e){this.a=e}function Die(e){this.a=e}function Xc(e){this.a=e}function Oie(e){this.a=e}function Zc(e){this.a=e}function Qc(e){this.a=e}function $c(e){this.a=e}function kie(e){this.a=e}function el(e){this.a=e}function Aie(e){this.a=e}function jie(e){this.a=e}function tl(e){this.a=e}function nl(e){this.b=e}function rl(e){this.c=e}function Mie(e){this.a=e}function il(e){this.a=e}function Nie(e){this.a=e}function Pie(e){this.a=e}function al(e){this.a=e}function Fie(e){this.a=e}function ol(e){this.a=e}function Iie(e){this.a=e}function Lie(e){this.a=e}function sl(e){this.a=e}function cl(e){this.a=e}function Rie(e){this.a=e}function ll(e){this.a=e}function ul(e){this.a=e}function dl(e){this.a=e}function fl(e){this.a=e}function pl(e){this.a=e}function ml(){this.a=[]}function zie(e,t){e.a=t}function Bie(e,t){e.a=t}function Vie(e,t){e.b=t}function Hie(e,t){e.b=t}function Uie(e,t){e.b=t}function hl(e,t){e.j=t}function Wie(e,t){e.g=t}function gl(e,t){e.i=t}function _l(e,t){e.c=t}function Gie(e,t){e.c=t}function vl(e,t){e.d=t}function Kie(e,t){e.d=t}function yl(e,t){e.k=t}function bl(e,t){e.c=t}function xl(e,t){e.c=t}function Sl(e,t){e.a=t}function qie(e,t){e.a=t}function Jie(e,t){e.f=t}function Yie(e,t){e.a=t}function Xie(e,t){e.b=t}function Cl(e,t){e.d=t}function wl(e,t){e.i=t}function Tl(e,t){e.o=t}function Zie(e,t){e.r=t}function El(e,t){e.a=t}function Qie(e,t){e.b=t}function Dl(e,t){e.e=t}function $ie(e,t){e.f=t}function Ol(e,t){e.g=t}function eae(e,t){e.e=t}function kl(e,t){e.f=t}function tae(e,t){e.f=t}function Al(e,t){e.a=t}function jl(e,t){e.b=t}function Ml(e,t){e.n=t}function nae(e,t){e.a=t}function rae(e,t){e.c=t}function iae(e,t){e.c=t}function aae(e,t){e.c=t}function oae(e,t){e.a=t}function Nl(e,t){e.a=t}function sae(e,t){e.d=t}function cae(e,t){e.d=t}function lae(e,t){e.e=t}function uae(e,t){e.e=t}function dae(e,t){e.g=t}function fae(e,t){e.f=t}function pae(e,t){e.j=t}function Pl(e,t){e.a=t}function mae(e,t){e.a=t}function hae(e,t){e.b=t}function gae(e){e.b=e.a}function _ae(e){e.c=e.d.d}function Fl(e){this.a=e}function Il(e){this.a=e}function Ll(e){this.a=e}function Rl(e){this.a=e}function zl(e){this.a=e}function Bl(e){this.a=e}function Vl(e){this.a=e}function Hl(e){this.a=e}function Ul(e){this.a=e}function Wl(e){this.a=e}function Gl(e){this.a=e}function Kl(e){this.a=e}function ql(e){this.a=e}function vae(e){this.a=e}function Jl(e){this.b=e}function Yl(e){this.b=e}function Xl(e){this.b=e}function Zl(e){this.a=e}function Ql(e){this.a=e}function $l(e){this.c=e}function O(e){this.c=e}function eu(e){this.c=e}function tu(e){this.d=e}function nu(e){this.a=e}function ru(e){this.a=e}function iu(e){this.a=e}function au(e){this.a=e}function ou(e){this.a=e}function su(e){this.a=e}function cu(e){this.a=e}function lu(e){this.a=e}function uu(e){this.a=e}function du(e){this.a=e}function yae(e){this.a=e}function fu(e){this.a=e}function pu(e){this.a=e}function mu(e){this.a=e}function bae(e){this.a=e}function hu(e){this.a=e}function gu(e){this.a=e}function _u(e){this.a=e}function xae(e){this.a=e}function Sae(e){this.a=e}function vu(e){this.a=e}function yu(e){this.a=e}function Cae(e){this.a=e}function wae(e){this.a=e}function Tae(e){this.a=e}function Eae(e){this.a=e}function bu(e){this.a=e}function xu(e){this.a=e}function Su(e){this.a=e}function Dae(e){this.a=e}function Oae(e){this.a=e}function Cu(e){this.a=e}function kae(e){this.a=e}function wu(e){this.a=e}function Tu(e){this.a=e}function Aae(e){this.a=e}function Eu(e){this.a=e}function Du(e){this.a=e}function jae(e){this.a=e}function Mae(e){this.a=e}function Nae(e){this.a=e}function Pae(e){this.a=e}function Fae(e){this.a=e}function Ou(e){this.a=e}function ku(e){this.a=e}function Au(e){this.a=e}function ju(e){this.a=e}function Mu(e){this.a=e}function Nu(e){this.e=e}function Pu(e){this.a=e}function Iae(e){this.a=e}function Fu(e){this.a=e}function Iu(e){this.a=e}function Lae(e){this.a=e}function Lu(e){this.a=e}function Rae(e){this.a=e}function Ru(e){this.a=e}function zu(e){this.a=e}function Bu(e){this.a=e}function Vu(e){this.a=e}function zae(e){this.a=e}function Bae(e){this.a=e}function Vae(e){this.a=e}function Hae(e){this.a=e}function Hu(e){this.a=e}function Uae(e){this.a=e}function Wae(e){this.a=e}function Gae(e){this.a=e}function Kae(e){this.a=e}function qae(e){this.a=e}function Uu(e){this.a=e}function Wu(e){this.a=e}function Jae(e){this.a=e}function Yae(e){this.a=e}function Xae(e){this.a=e}function Gu(e){this.a=e}function Zae(e){this.a=e}function Ku(e){this.a=e}function qu(e){this.a=e}function Ju(e){this.a=e}function Yu(e){this.a=e}function Qae(e){this.a=e}function $ae(e){this.a=e}function eoe(e){this.a=e}function toe(e){this.a=e}function noe(e){this.a=e}function roe(e){this.a=e}function ioe(e){this.a=e}function aoe(e){this.a=e}function ooe(e){this.a=e}function soe(e){this.a=e}function Xu(e){this.a=e}function coe(e){this.a=e}function loe(e){this.a=e}function uoe(e){this.a=e}function doe(e){this.a=e}function foe(e){this.a=e}function Zu(e){this.a=e}function poe(e){this.a=e}function Qu(e){this.a=e}function $u(e){this.a=e}function ed(e){this.a=e}function moe(e){this.a=e}function td(e){this.c=e}function hoe(e){this.b=e}function nd(e){this.a=e}function goe(e){this.a=e}function rd(e){this.a=e}function _oe(e){this.a=e}function voe(e){this.a=e}function yoe(e){this.a=e}function id(e){this.a=e}function boe(e){this.a=e}function xoe(e){this.a=e}function ad(e){this.a=e}function Soe(e){this.a=e}function Coe(e){this.a=e}function od(e){this.a=e}function woe(e){this.a=e}function sd(e){this.a=e}function cd(e){this.a=e}function ld(e){this.a=e}function Toe(e){this.a=e}function ud(e){this.a=e}function Eoe(e){this.a=e}function Doe(e){this.a=e}function Ooe(e){this.a=e}function dd(e){this.a=e}function koe(e){this.a=e}function Aoe(e){this.a=e}function fd(e){this.a=e}function pd(e){this.a=e}function md(e){this.a=e}function hd(e){this.a=e}function gd(e){this.a=e}function _d(e){this.a=e}function vd(e){this.a=e}function joe(e){this.a=e}function Moe(e){this.a=e}function Noe(e){this.a=e}function Poe(e){this.a=e}function Foe(e){this.a=e}function Ioe(e){this.a=e}function Loe(e){this.a=e}function Roe(e){this.a=e}function zoe(e){this.a=e}function yd(e){this.a=e}function Boe(e){this.a=e}function bd(e){this.a=e}function xd(e){this.a=e}function Voe(e){this.a=e}function Hoe(e){this.a=e}function Uoe(e){this.a=e}function Woe(e){this.a=e}function Goe(e){this.a=e}function Sd(e){this.a=e}function Koe(e){this.a=e}function qoe(e){this.a=e}function Joe(e){this.a=e}function Yoe(e){this.a=e}function Cd(e){this.a=e}function Xoe(e){this.f=e}function Zoe(e){this.a=e}function Qoe(e){this.a=e}function $oe(e){this.a=e}function ese(e){this.a=e}function tse(e){this.a=e}function nse(e){this.a=e}function rse(e){this.a=e}function ise(e){this.a=e}function ase(e){this.a=e}function ose(e){this.a=e}function wd(e){this.a=e}function Td(e){this.a=e}function sse(e){this.a=e}function cse(e){this.a=e}function lse(e){this.a=e}function use(e){this.a=e}function dse(e){this.a=e}function fse(e){this.a=e}function pse(e){this.a=e}function mse(e){this.a=e}function Ed(e){this.a=e}function Dd(e){this.a=e}function hse(e){this.a=e}function gse(e){this.a=e}function _se(e){this.a=e}function vse(e){this.a=e}function yse(e){this.a=e}function bse(e){this.a=e}function Od(e){this.a=e}function kd(e){this.a=e}function Ad(e){this.b=e}function jd(e){this.a=e}function Md(e){this.a=e}function Nd(e){this.a=e}function xse(e){this.a=e}function Sse(e){this.a=e}function Cse(e){this.a=e}function wse(e){this.a=e}function Tse(e){this.b=e}function Ese(e){this.a=e}function Pd(e){this.a=e}function Dse(e){this.a=e}function Fd(e){this.a=e}function Id(e){this.c=e}function Ld(e){this.e=e}function Rd(e){this.a=e}function zd(e){this.a=e}function Bd(e){this.a=e}function Vd(e){this.d=e}function Ose(e){this.a=e}function Hd(e){this.a=e}function Ud(e){this.a=e}function Wd(e){this.e=e}function Gd(){this.a=0}function Kd(){US(this)}function qd(){Hv(this)}function Jd(){bDe(this)}function Yd(){}function Xd(){this.c=XVt}function Zd(e,t){e.b+=t}function kse(e,t){t.Wb(e)}function Ase(e){return e.a}function Qd(e){return e.a}function jse(e){return e.a}function $d(e){return e.a}function Mse(e){return e.a}function k(e){return e.e}function Nse(){return null}function ef(){return null}function Pse(){Wle(),zdt()}function Fse(e){e.b.Of(e.e)}function tf(e){e.b=new Dm}function nf(e,t){e.b=t-e.b}function rf(e,t){e.a=t-e.a}function af(e,t){e.push(t)}function of(e,t){e.sort(t)}function sf(e,t){t.jd(e.a)}function Ise(e,t){tL(t,e)}function cf(e,t,n){e.Yd(n,t)}function lf(e,t){e.e=t,t.b=e}function uf(e){Jb(),this.a=e}function df(e){Jb(),this.a=e}function Lse(e){Jb(),this.a=e}function ff(e){_C(),this.a=e}function pf(e){Nw(),Xxt.le(e)}function mf(){mf=C,new Kd}function hf(){a_e.call(this)}function gf(){a_e.call(this)}function _f(){hf.call(this)}function vf(){hf.call(this)}function Rse(){hf.call(this)}function yf(){hf.call(this)}function bf(){hf.call(this)}function xf(){hf.call(this)}function Sf(){hf.call(this)}function Cf(){hf.call(this)}function wf(){hf.call(this)}function Tf(){hf.call(this)}function Ef(){hf.call(this)}function zse(){this.a=this}function Df(){this.Bb|=256}function Of(){this.b=new hme}function kf(e,t){e.length=t}function Af(e,t){py(e.a,t)}function Bse(e,t){t3e(e.c,t)}function jf(e,t){KS(e.b,t)}function Vse(e,t){ZP(e.a,t)}function Mf(e,t){BM(e.a,t)}function Nf(e,t){MA(e.e,t)}function Pf(e){_L(e.c,e.b)}function Hse(e,t){e.kc().Nb(t)}function Ff(e){this.a=Rqe(e)}function If(){this.a=new Kd}function Use(){this.a=new Kd}function Lf(){this.a=new ade}function Rf(){this.a=new qd}function zf(){this.a=new qd}function Bf(){this.a=new qd}function Vf(){this.a=new qe}function Hf(){this.a=new _Ie}function Uf(){this.a=new jt}function Wf(){this.a=new VAe}function Gf(){this.a=new vye}function Wse(){this.a=new qd}function Gse(){this.a=new qd}function Kse(){this.a=new qd}function Kf(){this.a=new qd}function qf(){this.d=new qd}function qse(){this.a=new hMe}function Jse(){this.a=new If}function Jf(){this.a=new Kd}function Yf(){this.b=new Kd}function Xf(){this.b=new qd}function Zf(){this.e=new qd}function Yse(){this.a=new cie}function Qf(){this.d=new qd}function Xse(){mke.call(this)}function $f(){mke.call(this)}function ep(){qd.call(this)}function tp(){_f.call(this)}function np(){Rf.call(this)}function rp(){Mb.call(this)}function ip(){Kf.call(this)}function ap(){Yd.call(this)}function op(){ap.call(this)}function sp(){Yd.call(this)}function cp(){sp.call(this)}function lp(){wp.call(this)}function Zse(){wp.call(this)}function up(){wp.call(this)}function dp(){Ep.call(this)}function fp(){Oo.call(this)}function pp(){Oo.call(this)}function mp(){Dh.call(this)}function Qse(){cce.call(this)}function hp(){cce.call(this)}function $se(){Kd.call(this)}function gp(){Kd.call(this)}function ece(){Kd.call(this)}function _p(){fVe.call(this)}function vp(){If.call(this)}function tce(){Df.call(this)}function yp(){jge.call(this)}function bp(){Kd.call(this)}function xp(){jge.call(this)}function Sp(){Kd.call(this)}function nce(){Kd.call(this)}function rce(){Bo.call(this)}function Cp(){rce.call(this)}function ice(){Bo.call(this)}function ace(){dc.call(this)}function wp(){this.a=new If}function oce(){this.a=new Kd}function Tp(){this.a=new qd}function Ep(){this.a=new Kd}function Dp(){this.a=new Dh}function sce(){this.j=new qd}function Op(){this.a=new lue}function cce(){this.a=new rre}function kp(){this.a=new Ma}function Ap(){Ap=C,FJ=new o}function jp(){jp=C,BJ=new Pp}function Mp(){Mp=C,VJ=new Np}function Np(){Qc.call(this,``)}function Pp(){Qc.call(this,``)}function lce(e){Zze.call(this,e)}function Fp(e){Zze.call(this,e)}function Ip(e){qc.call(this,e)}function Lp(e){Gue.call(this,e)}function uce(e){Gue.call(this,e)}function dce(e){Lp.call(this,e)}function fce(e){Lp.call(this,e)}function pce(e){Lp.call(this,e)}function Rp(e){RE.call(this,e)}function zp(e){RE.call(this,e)}function Bp(e){mbe.call(this,e)}function mce(e){Yue.call(this,e)}function Vp(e){yh.call(this,e)}function hce(e){yh.call(this,e)}function gce(e){yh.call(this,e)}function _ce(e){P4e.call(this,e)}function vce(e){_ce.call(this,e)}function Hp(e){FTe.call(this,e)}function yce(e){Hp.call(this,e)}function Up(){pl.call(this,{})}function bce(){bce=C,eSt=new te}function Wp(){Wp=C,GJ=new nge}function xce(){xce=C,Kxt=new a}function Sce(){Sce=C,Yxt=new v}function Gp(){Gp=C,XJ=new x}function Kp(e){wy(),this.a=e}function qp(e){SHe(),this.a=e}function Jp(e){lS(),this.f=e}function Yp(e){lS(),this.f=e}function Cce(e){kbe(),this.a=e}function wce(e){e.b=null,e.c=0}function Tce(e,t){e.e=t,wtt(e,t)}function Ece(e,t){e.a=t,i6e(e)}function Xp(e,t,n){e.a[t.g]=n}function Dce(e,t,n){y1e(n,e,t)}function Oce(e,t){hbe(t.i,e.n)}function kce(e,t){ZWe(e).Cd(t)}function Ace(e,t){e.a.ec().Mc(t)}function jce(e,t){return e.g-t.g}function Mce(e,t){return e*e/t}function Zp(e){return BC(e),e}function A(e){return BC(e),e}function Qp(e){return BC(e),e}function Nce(e){return new fl(e)}function Pce(e){return new gC(e)}function Fce(e){return BC(e),e}function Ice(e){return BC(e),e}function $p(e){Hp.call(this,e)}function em(e){Hp.call(this,e)}function Lce(e){Hp.call(this,e)}function tm(e){FTe.call(this,e)}function nm(e){Hp.call(this,e)}function rm(e){Hp.call(this,e)}function im(e){Hp.call(this,e)}function Rce(e){Hp.call(this,e)}function am(e){Hp.call(this,e)}function om(e){Hp.call(this,e)}function sm(e){Hp.call(this,e)}function cm(e){Hp.call(this,e)}function lm(e){Hp.call(this,e)}function um(e){Hp.call(this,e)}function dm(e){Hp.call(this,e)}function fm(e){BC(e),this.a=e}function zce(e){return wj(e),e}function pm(e){fEe(e,e.length)}function mm(e){return e.b==e.c}function hm(e){return!!e&&e.b}function Bce(e){return!!e&&e.k}function Vce(e){return!!e&&e.j}function Hce(e,t,n){e.c.Ef(t,n)}function Uce(e,t){e.be(t),t.ae(e)}function gm(e){Jb(),this.a=hC(e)}function _m(){this.a=pb(hC(EB))}function Wce(){throw k(new Sf)}function Gce(){throw k(new Sf)}function Kce(){throw k(new Sf)}function qce(){throw k(new Sf)}function Jce(){throw k(new Sf)}function Yce(){throw k(new Sf)}function vm(){vm=C,Nw()}function ym(){Bl.call(this,``)}function bm(){Bl.call(this,``)}function xm(){Bl.call(this,``)}function Sm(){Bl.call(this,``)}function Xce(e){em.call(this,e)}function Zce(e){em.call(this,e)}function Cm(e){rm.call(this,e)}function wm(e){Xl.call(this,e)}function Qce(e){wm.call(this,e)}function Tm(e){jy.call(this,e)}function Em(e){S_e.call(this,e,0)}function Dm(){oje.call(this,12,3)}function j(e,t){return PAe(e,t)}function Om(e,t){return HD(e,t)}function $ce(e,t){return e.a-t.a}function ele(e,t){return e.a-t.a}function tle(e,t){return e.a-t.a}function nle(e,t){return t in e.a}function rle(e){return e.a?e.b:0}function ile(e){return e.a?e.b:0}function ale(e,t,n){t.Cd(e.a[n])}function ole(e,t,n){t.Pe(e.a[n])}function sle(e,t){e.b=new Ev(t)}function cle(e,t){return e.b=t,e}function lle(e,t){return e.c=t,e}function ule(e,t){return e.f=t,e}function dle(e,t){return e.g=t,e}function fle(e,t){return e.a=t,e}function ple(e,t){return e.f=t,e}function mle(e,t){return e.k=t,e}function hle(e,t){return e.a=t,e}function gle(e,t){return e.e=t,e}function _le(e,t){return e.e=t,e}function vle(e,t){return e.f=t,e}function yle(e,t){e.b=!0,e.d=t}function ble(e,t){return e.b-t.b}function xle(e,t){return e.g-t.g}function Sle(e,t){return e?0:t-1}function Cle(e,t){return e?0:t-1}function wle(e,t){return e?t-1:0}function Tle(e,t){return e.s-t.s}function Ele(e,t){return t.rg(e)}function km(e,t){return e.b=t,e}function Am(e,t){return e.a=t,e}function jm(e,t){return e.c=t,e}function Mm(e,t){return e.d=t,e}function Nm(e,t){return e.e=t,e}function Dle(e,t){return e.f=t,e}function Pm(e,t){return e.a=t,e}function Fm(e,t){return e.b=t,e}function Im(e,t){return e.c=t,e}function Lm(e,t){return e.c=t,e}function Rm(e,t){return e.b=t,e}function zm(e,t){return e.d=t,e}function Bm(e,t){return e.e=t,e}function Ole(e,t){return e.f=t,e}function Vm(e,t){return e.g=t,e}function Hm(e,t){return e.a=t,e}function Um(e,t){return e.i=t,e}function Wm(e,t){return e.j=t,e}function kle(e,t){wI(),ET(t,e)}function Ale(e,t,n){fTe(e.a,t,n)}function Gm(e){Wb.call(this,e)}function jle(e){iJe.call(this,e)}function Mle(e){bOe.call(this,e)}function Nle(e){bOe.call(this,e)}function Km(e){GO.call(this,e)}function Ple(e){Cw.call(this,e)}function Fle(e){Cw.call(this,e)}function Ile(){Hhe.call(this,``)}function qm(){this.a=0,this.b=0}function Lle(){this.b=0,this.a=0}function Rle(e,t){e.b=0,dk(e,t)}function zle(e,t){return e.k=t,e}function Ble(e,t){return e.j=t,e}function Vle(e,t){e.c=t,e.b=!0}function Hle(){Hle=C,ISt=c0e()}function Jm(){Jm=C,XBt=X$e()}function Ule(){Ule=C,r7=X0e()}function Wle(){Wle=C,C7=wk()}function Ym(){Ym=C,IVt=Z$e()}function Gle(){Gle=C,CHt=Q$e()}function Kle(){Kle=C,x9=t6e()}function Xm(e){return e.e&&e.e()}function qle(e){return e.l|e.m<<22}function Jle(e,t){return e.c._b(t)}function Yle(e,t){return AKe(e.b,t)}function Zm(e){return e?e.d:null}function Xle(e){return e?e.g:null}function Zle(e){return e?e.i:null}function Qm(e){return mb(e),e.o}function $m(e,t){return e.a+=t,e}function eh(e,t){return e.a+=t,e}function th(e,t){return e.a+=t,e}function nh(e,t){return e.a+=t,e}function Qle(e,t){for(;e.Bd(t););}function rh(e){this.a=new Th(e)}function $le(){throw k(new Sf)}function eue(){throw k(new Sf)}function tue(){throw k(new Sf)}function nue(){throw k(new Sf)}function rue(){throw k(new Sf)}function iue(){throw k(new Sf)}function ih(e){this.a=new CS(e)}function aue(){this.a=new JL(TFt)}function oue(){this.b=new JL(uPt)}function sue(){this.a=new JL(xIt)}function cue(){this.b=new JL(T3)}function lue(){this.b=new JL(T3)}function ah(e){this.a=0,this.b=e}function uue(e){Lut(),sft(this,e)}function oh(e){return LC(e),e.a}function sh(e){return e.b!=e.d.c}function due(e,t){return e.d[t.p]}function fue(e,t){return Stt(e,t)}function pue(e,t,n){e.splice(t,n)}function ch(e,t){for(;e.Re(t););}function mue(e){e.c?vnt(e):ynt(e)}function hue(){throw k(new Sf)}function gue(){throw k(new Sf)}function _ue(){throw k(new Sf)}function vue(){throw k(new Sf)}function yue(){throw k(new Sf)}function bue(){throw k(new Sf)}function xue(){throw k(new Sf)}function Sue(){throw k(new Sf)}function Cue(){throw k(new Sf)}function wue(){throw k(new Sf)}function Tue(){throw k(new Tf)}function Eue(){throw k(new Tf)}function lh(e){this.a=new Due(e)}function Due(e){SVe(this,e,B4e())}function uh(e){return!e||gDe(e)}function dh(e){return j9[e]!=-1}function Oue(){JJ!=0&&(JJ=0),YJ=-1}function kue(){jxt??=[]}function fh(e,t){Cy.call(this,e,t)}function ph(e,t){fh.call(this,e,t)}function Aue(e,t){this.a=e,this.b=t}function jue(e,t){this.a=e,this.b=t}function Mue(e,t){this.a=e,this.b=t}function Nue(e,t){this.a=e,this.b=t}function Pue(e,t){this.a=e,this.b=t}function Fue(e,t){this.a=e,this.b=t}function Iue(e,t){this.a=e,this.b=t}function mh(e,t){this.e=e,this.d=t}function Lue(e,t){this.b=e,this.c=t}function Rue(e,t){this.b=e,this.a=t}function zue(e,t){this.b=e,this.a=t}function Bue(e,t){this.b=e,this.a=t}function Vue(e,t){this.b=e,this.a=t}function Hue(e,t){this.a=e,this.b=t}function hh(e,t){this.a=e,this.b=t}function Uue(e,t){this.a=e,this.f=t}function gh(e,t){this.g=e,this.i=t}function _h(e,t){this.f=e,this.g=t}function Wue(e,t){this.b=e,this.c=t}function Gue(e){Nge(e.dc()),this.c=e}function Kue(e,t){this.a=e,this.b=t}function que(e,t){this.a=e,this.b=t}function Jue(e){this.a=I(hC(e),15)}function Yue(e){this.a=I(hC(e),15)}function Xue(e){this.a=I(hC(e),85)}function vh(e){this.b=I(hC(e),85)}function yh(e){this.b=I(hC(e),51)}function bh(){this.q=new r.Date}function xh(e,t){this.a=e,this.b=t}function Zue(e,t){return RS(e.b,t)}function Sh(e,t){return e.b.Hc(t)}function Que(e,t){return e.b.Ic(t)}function $ue(e,t){return e.b.Qc(t)}function ede(e,t){return e.b.Hc(t)}function tde(e,t){return e.c.uc(t)}function nde(e,t){return EM(e.c,t)}function Ch(e,t){return e.a._b(t)}function rde(e,t){return e>t&&t0}function fg(e,t){return lM(e,t)<0}function Ude(e,t){return eS(e.a,t)}function Wde(e,t){IAe.call(this,e,t)}function Gde(e){vC(),mbe.call(this,e)}function Kde(e,t){rTe(e,e.length,t)}function pg(e,t){EEe(e,e.length,t)}function mg(e,t){return e.a.get(t)}function qde(e,t){return RS(e.e,t)}function Jde(e){return BC(e),!1}function Yde(e){this.a=I(hC(e),229)}function hg(e){UT.call(this,e,21)}function gg(e,t){_h.call(this,e,t)}function _g(e,t){_h.call(this,e,t)}function Xde(e,t){this.b=e,this.a=t}function vg(e,t){this.d=e,this.e=t}function Zde(e,t){this.a=e,this.b=t}function Qde(e,t){this.a=e,this.b=t}function $de(e,t){this.a=e,this.b=t}function efe(e,t){this.a=e,this.b=t}function yg(e,t){this.a=e,this.b=t}function tfe(e,t){this.b=e,this.a=t}function nfe(e,t){this.b=e,this.a=t}function rfe(e,t){_h.call(this,e,t)}function ife(e,t){_h.call(this,e,t)}function bg(e,t){_h.call(this,e,t)}function xg(e,t){_h.call(this,e,t)}function Sg(e,t){_h.call(this,e,t)}function Cg(e,t){_h.call(this,e,t)}function wg(e,t){_h.call(this,e,t)}function afe(e,t){this.b=e,this.a=t}function Tg(e,t){_h.call(this,e,t)}function ofe(e,t){this.b=e,this.a=t}function Eg(e,t){_h.call(this,e,t)}function sfe(e,t){this.b=e,this.a=t}function cfe(e,t){_h.call(this,e,t)}function Dg(e,t){_h.call(this,e,t)}function Og(e,t){_h.call(this,e,t)}function kg(e,t,n){e.splice(t,0,n)}function lfe(e,t,n){e.Mb(n)&&t.Cd(n)}function ufe(e,t,n){t.Pe(e.a.Ye(n))}function dfe(e,t,n){t.Dd(e.a.Ze(n))}function ffe(e,t,n){t.Cd(e.a.Kb(n))}function pfe(e,t){return Ly(e.c,t)}function mfe(e,t){return Ly(e.e,t)}function Ag(e,t){_h.call(this,e,t)}function jg(e,t){_h.call(this,e,t)}function Mg(e,t){_h.call(this,e,t)}function hfe(e,t){_h.call(this,e,t)}function Ng(e,t){_h.call(this,e,t)}function Pg(e,t){_h.call(this,e,t)}function gfe(e,t){this.a=e,this.b=t}function _fe(e,t){this.a=e,this.b=t}function vfe(e,t){this.a=e,this.b=t}function yfe(e,t){this.a=e,this.b=t}function bfe(e,t){this.a=e,this.b=t}function xfe(e,t){this.a=e,this.b=t}function Sfe(e,t){this.b=e,this.a=t}function Cfe(e,t){this.b=e,this.a=t}function wfe(e,t){this.b=e,this.a=t}function Fg(e,t){this.c=e,this.d=t}function Tfe(e,t){this.e=e,this.d=t}function Efe(e,t){this.a=e,this.b=t}function Dfe(e,t){this.a=e,this.b=t}function Ofe(e,t){this.a=e,this.b=t}function kfe(e,t){this.b=e,this.a=t}function Afe(e,t){this.b=t,this.c=e}function Ig(e,t){_h.call(this,e,t)}function Lg(e,t){_h.call(this,e,t)}function jfe(e,t){_h.call(this,e,t)}function Mfe(e,t){_h.call(this,e,t)}function Rg(e,t){_h.call(this,e,t)}function Nfe(e,t){_h.call(this,e,t)}function zg(e,t){_h.call(this,e,t)}function Bg(e,t){_h.call(this,e,t)}function Pfe(e,t){_h.call(this,e,t)}function Vg(e,t){_h.call(this,e,t)}function Hg(e,t){_h.call(this,e,t)}function Ffe(e,t){_h.call(this,e,t)}function Ug(e,t){_h.call(this,e,t)}function Wg(e,t){_h.call(this,e,t)}function Gg(e,t){_h.call(this,e,t)}function Kg(e,t){_h.call(this,e,t)}function qg(e,t){_h.call(this,e,t)}function Ife(e,t){_h.call(this,e,t)}function Jg(e,t){_h.call(this,e,t)}function Yg(e,t){_h.call(this,e,t)}function Xg(e,t){_h.call(this,e,t)}function Zg(e,t){_h.call(this,e,t)}function Qg(e,t){_h.call(this,e,t)}function $g(e,t){_h.call(this,e,t)}function e_(e,t){_h.call(this,e,t)}function Lfe(e,t){_h.call(this,e,t)}function t_(e,t){_h.call(this,e,t)}function n_(e,t){_h.call(this,e,t)}function r_(e,t){_h.call(this,e,t)}function i_(e,t){_h.call(this,e,t)}function a_(e,t){_h.call(this,e,t)}function o_(e,t){_h.call(this,e,t)}function s_(e,t){_h.call(this,e,t)}function Rfe(e,t){this.b=e,this.a=t}function zfe(e,t){_h.call(this,e,t)}function Bfe(e,t){this.a=e,this.b=t}function Vfe(e,t){this.a=e,this.b=t}function Hfe(e,t){this.a=e,this.b=t}function Ufe(e,t){_h.call(this,e,t)}function Wfe(e,t){_h.call(this,e,t)}function Gfe(e,t){this.a=e,this.b=t}function Kfe(e,t){return rx(),t!=e}function c_(e){return hb(e.a),e.b}function l_(e){return T5e(e,e.c),e}function qfe(){return Hle(),new ISt}function Jfe(){tx(),this.a=new xye}function Yfe(){tR(),this.a=new If}function Xfe(){xT(),this.b=new If}function Zfe(e,t){this.b=e,this.d=t}function Qfe(e,t){this.a=e,this.b=t}function $fe(e,t){this.a=e,this.b=t}function epe(e,t){this.a=e,this.b=t}function tpe(e,t){this.b=e,this.a=t}function npe(e,t){_h.call(this,e,t)}function rpe(e,t){_h.call(this,e,t)}function u_(e,t){_h.call(this,e,t)}function d_(e,t){_h.call(this,e,t)}function f_(e,t){_h.call(this,e,t)}function p_(e,t){_h.call(this,e,t)}function ipe(e,t){_h.call(this,e,t)}function ape(e,t){_h.call(this,e,t)}function m_(e,t){_h.call(this,e,t)}function ope(e,t){_h.call(this,e,t)}function h_(e,t){_h.call(this,e,t)}function g_(e,t){_h.call(this,e,t)}function __(e,t){_h.call(this,e,t)}function v_(e,t){_h.call(this,e,t)}function y_(e,t){_h.call(this,e,t)}function b_(e,t){_h.call(this,e,t)}function spe(e,t){_h.call(this,e,t)}function x_(e,t){_h.call(this,e,t)}function cpe(e,t){_h.call(this,e,t)}function S_(e,t){_h.call(this,e,t)}function C_(e,t){_h.call(this,e,t)}function lpe(e,t){_h.call(this,e,t)}function w_(e,t){_h.call(this,e,t)}function upe(e,t){_h.call(this,e,t)}function dpe(e,t){this.b=e,this.a=t}function fpe(e,t){this.b=e,this.a=t}function ppe(e,t){this.b=e,this.a=t}function mpe(e,t){this.b=e,this.a=t}function hpe(e,t){this.a=e,this.b=t}function gpe(e,t){this.a=e,this.b=t}function _pe(e,t){this.a=e,this.b=t}function M(e,t){this.a=e,this.b=t}function T_(e,t){_h.call(this,e,t)}function E_(e,t){_h.call(this,e,t)}function D_(e,t){_h.call(this,e,t)}function O_(e,t){_h.call(this,e,t)}function k_(e,t){_h.call(this,e,t)}function A_(e,t){_h.call(this,e,t)}function j_(e,t){_h.call(this,e,t)}function M_(e,t){_h.call(this,e,t)}function N_(e,t){_h.call(this,e,t)}function P_(e,t){_h.call(this,e,t)}function F_(e,t){_h.call(this,e,t)}function I_(e,t){_h.call(this,e,t)}function L_(e,t){_h.call(this,e,t)}function R_(e,t){_h.call(this,e,t)}function z_(e,t){_h.call(this,e,t)}function B_(e,t){_h.call(this,e,t)}function V_(e,t){_h.call(this,e,t)}function H_(e,t){_h.call(this,e,t)}function vpe(e,t){_h.call(this,e,t)}function U_(e,t){_h.call(this,e,t)}function ype(e,t){this.a=e,this.b=t}function bpe(e,t){this.a=e,this.b=t}function xpe(e,t){this.a=e,this.b=t}function Spe(e,t){this.a=e,this.b=t}function Cpe(e,t){this.a=e,this.b=t}function wpe(e,t){this.a=e,this.b=t}function W_(e,t){this.a=e,this.b=t}function Tpe(e,t){this.a=e,this.b=t}function Epe(e,t){this.a=e,this.b=t}function Dpe(e,t){this.a=e,this.b=t}function Ope(e,t){this.a=e,this.b=t}function kpe(e,t){this.a=e,this.b=t}function Ape(e,t){this.a=e,this.b=t}function jpe(e,t){this.b=e,this.a=t}function Mpe(e,t){this.b=e,this.a=t}function Npe(e,t){this.b=e,this.a=t}function Ppe(e,t){this.b=e,this.a=t}function Fpe(e,t){this.a=e,this.b=t}function Ipe(e,t){this.a=e,this.b=t}function G_(e,t){_h.call(this,e,t)}function Lpe(e,t){this.a=e,this.b=t}function Rpe(e,t){this.a=e,this.b=t}function K_(e,t){_h.call(this,e,t)}function zpe(e,t){this.f=e,this.c=t}function Bpe(e,t){return Ly(e.g,t)}function Vpe(e,t){return Ly(t.b,e)}function Hpe(e,t){return jN(e.a,t)}function Upe(e,t){return-e.b.af(t)}function Wpe(e,t){e&&GC(b7,e,t)}function Gpe(e,t){e.i=null,Bk(e,t)}function Kpe(e,t,n){I1e(t,KI(e,n))}function qpe(e,t,n){I1e(t,KI(e,n))}function Jpe(e,t){eet(e.a,I(t,58))}function Ype(e,t){SRe(e.a,I(t,12))}function q_(e,t){this.a=e,this.b=t}function Xpe(e,t){this.a=e,this.b=t}function Zpe(e,t){this.a=e,this.b=t}function Qpe(e,t){this.a=e,this.b=t}function $pe(e,t){this.a=e,this.b=t}function eme(e,t){this.d=e,this.b=t}function tme(e,t){this.e=e,this.a=t}function J_(e,t){this.b=e,this.c=t}function nme(e,t){this.i=e,this.g=t}function rme(e,t){this.d=e,this.e=t}function ime(e,t){dze(new xy(e),t)}function Y_(e){return AN(e.c,e.b)}function X_(e){return e?e.md():null}function N(e){return e??null}function Z_(e){return typeof e===bB}function Q_(e){return typeof e===yB}function $_(e){return typeof e===Yft}function ev(e,t){return lM(e,t)==0}function tv(e,t){return lM(e,t)>=0}function nv(e,t){return lM(e,t)!=0}function rv(e,t){return RHe(e.Kc(),t)}function iv(e,t){return e.Rd().Xb(t)}function ame(e){return _N(e),e.d.gc()}function av(e){return Ix(e==null),e}function ov(e,t){return e.a+=``+t,e}function sv(e,t){return e.a+=``+t,e}function cv(e,t){return e.a+=``+t,e}function lv(e,t){return e.a+=``+t,e}function uv(e,t){return e.a+=``+t,e}function ome(e,t){return e.a+=``+t,e}function sme(e){return``+(BC(e),e)}function cme(e){US(this),yA(this,e)}function lme(){UAe(),lTe.call(this)}function ume(e,t){PTe.call(this,e,t)}function dme(e,t){PTe.call(this,e,t)}function dv(e,t){PTe.call(this,e,t)}function fv(e,t){BE(e,t,e.c.b,e.c)}function pv(e,t){BE(e,t,e.a,e.a.a)}function fme(e){return VT(e,0),null}function pme(){this.b=0,this.a=!1}function mme(){this.b=0,this.a=!1}function hme(){this.b=new Th(LO(12))}function gme(){gme=C,fwt=tM(mP())}function _me(){_me=C,nDt=tM(Tet())}function vme(){vme=C,wPt=tM(WHe())}function yme(){yme=C,mf(),Zxt=new Kd}function mv(e){return e.a=0,e.b=0,e}function bme(e,t){return e.a=t.g+1,e}function hv(e,t){Lb.call(this,e,t)}function gv(e,t){Eb.call(this,e,t)}function _v(e,t){nme.call(this,e,t)}function xme(e,t){Uy.call(this,e,t)}function vv(e,t){KA.call(this,e,t)}function yv(e,t){rg(),GC(E7,e,t)}function Sme(e,t){e.q.setTime(lE(t))}function Cme(e){r.clearTimeout(e)}function wme(e){return hC(e),new Dv(e)}function Tme(e,t){return N(e)===N(t)}function Eme(e,t){return e.a.a.a.cc(t)}function Dme(e,t){return Jw(e.a,0,t)}function Ome(e){return MEe(I(e,74))}function bv(e){return iT((BC(e),e))}function kme(e){return iT((BC(e),e))}function Ame(e){return ty(e.l,e.m,e.h)}function jme(e,t){return ey(e.a,t.a)}function Mme(e,t){return vEe(e.a,t.a)}function Nme(e,t){return KM(e.a,t.a)}function xv(e,t){return e.indexOf(t)}function Pme(e,t){return e.j[t.p]==2}function Sv(e,t){return e==t?0:e?1:-1}function Cv(e){return e<10?`0`+e:``+e}function wv(e){return typeof e===Yft}function Fme(e){return e==XX||e==$X}function Ime(e){return e==XX||e==ZX}function Lme(e,t){return ey(e.g,t.g)}function Rme(e){return QD(e.b.b,e,0)}function zme(){Ux.call(this,0,0,0,0)}function Tv(){au.call(this,new zE)}function Bme(e,t){UD(e,0,e.length,t)}function Vme(e,t){return py(e.a,t),t}function Hme(e,t){return nx(),t.a+=e}function Ume(e,t){return nx(),t.a+=e}function Wme(e,t){return nx(),t.c+=e}function Gme(e,t){return py(e.c,t),e}function Kme(e,t){return AA(e.a,t),e}function qme(e){this.a=qfe(),this.b=e}function Jme(e){this.a=qfe(),this.b=e}function Ev(e){this.a=e.a,this.b=e.b}function Dv(e){this.a=e,fc.call(this)}function Yme(e){this.a=e,fc.call(this)}function Ov(){fw.call(this,0,0,0,0)}function kv(e){return AA(new WC,e)}function Xme(e){return ZC(I(e,123))}function Av(e){return e.vh()&&e.wh()}function jv(e){return e!=Y8&&e!=X8}function Mv(e){return e==l8||e==u8}function Nv(e){return e==f8||e==c8}function Zme(e){return e==K0||e==G0}function Qme(e,t){return ey(e.g,t.g)}function $me(e,t){return new KA(t,e)}function ehe(e,t){return new KA(t,e)}function the(e){return aCe(e.b.Kc(),e.a)}function Pv(e,t){Wj(e,t),pk(e,e.D)}function Fv(e,t,n){lk(e,t),ek(e,n)}function Iv(e,t,n){rk(e,t),nk(e,n)}function Lv(e,t,n){ik(e,t),ak(e,n)}function Rv(e,t,n){tk(e,t),sk(e,n)}function zv(e,t,n){ok(e,t),ck(e,n)}function nhe(e,t,n){kve.call(this,e,t,n)}function rhe(e){zpe.call(this,e,!0)}function ihe(){gg.call(this,`Tail`,3)}function ahe(){gg.call(this,`Head`,1)}function Bv(e){OR(),AHe.call(this,e)}function Vv(e){Ux.call(this,e,e,e,e)}function Hv(e){e.c=H(PJ,DB,1,0,5,1)}function ohe(e){return e.b&&_z(e),e.a}function she(e){return e.b&&_z(e),e.c}function che(e,t){NY||(e.b=t)}function lhe(e,t){return e[e.length]=t}function uhe(e,t){return e[e.length]=t}function dhe(e,t){return HO(t,sT(e))}function fhe(e,t){return HO(t,sT(e))}function phe(e,t){return Mk(pC(e.d),t)}function mhe(e,t){return Mk(pC(e.g),t)}function hhe(e,t){return Mk(pC(e.j),t)}function Uv(e,t){Eb.call(this,e.b,t)}function ghe(e,t){OD(AE(e.a),$Ae(t))}function _he(e,t){OD(iO(e.a),eje(t))}function vhe(e,t,n){Lv(n,n.i+e,n.j+t)}function yhe(e,t,n){CC(e.c[t.g],t.g,n)}function bhe(e,t,n){I(e.c,71).Gi(t,n)}function Wv(e,t,n){return CC(e,t,n),n}function xhe(e){UO(e.Sf(),new kae(e))}function Gv(e){return e==null?0:$k(e)}function She(e){return e==null?0:$k(e)}function Kv(e){pB(),Wd.call(this,e)}function Che(e){this.a=e,nCe.call(this,e)}function qv(){qv=C,r.Math.log(2)}function Jv(){Jv=C,f9=(zde(),oVt)}function whe(){whe=C,I2=new pN(x8)}function Yv(){Yv=C,new The,new qd}function The(){new Kd,new Kd,new Kd}function Ehe(){throw k(new om(Dxt))}function Dhe(){throw k(new om(Dxt))}function Ohe(){throw k(new om(Oxt))}function khe(){throw k(new om(Oxt))}function Xv(e){this.a=e,vh.call(this,e)}function Zv(e){this.a=e,vh.call(this,e)}function Ahe(e,t){_C(),this.a=e,this.b=t}function jhe(e,t){hC(t),lw(e).Jc(new m)}function Qv(e,t){nS(e.c,e.c.length,t)}function $v(e){return e.at)}function Phe(e,t){return lM(e,t)>0?e:t}function ty(e,t,n){return{l:e,m:t,h:n}}function Fhe(e,t){e.a!=null&&Ype(t,e.a)}function Ihe(e){wT(e,null),DT(e,null)}function Lhe(e,t,n){return GC(e.g,n,t)}function ny(e,t,n){return xYe(t,n,e.c)}function Rhe(e,t,n){return GC(e.k,n,t)}function zhe(e,t,n){return Nlt(e,t,n),n}function Bhe(e,t){return bT(),t.n.b+=e}function Vhe(e){hke.call(this),this.b=e}function Hhe(e){_ye.call(this),this.a=e}function Uhe(){gg.call(this,`Range`,2)}function ry(e){this.b=e,this.a=new qd}function Whe(e){this.b=new Ct,this.a=e}function Ghe(e){e.a=new pe,e.c=new pe}function Khe(e){e.a=new Kd,e.d=new Kd}function qhe(e){OT(e,null),kT(e,null)}function Jhe(e,t){return Llt(e.a,t,null)}function Yhe(e,t){return GC(e.a,t.a,t)}function iy(e){return new M(e.a,e.b)}function Xhe(e){return new M(e.c,e.d)}function Zhe(e){return new M(e.c,e.d)}function ay(e,t){return Tct(e.c,e.b,t)}function P(e,t){return e!=null&&FP(e,t)}function oy(e,t){return XUe(e.Kc(),t)!=-1}function sy(e){return e.Ob()?e.Pb():null}function Qhe(e){this.b=(Ew(),new $l(e))}function $he(e){this.a=e,Kd.call(this)}function ege(){Uy.call(this,null,null)}function tge(){Wy.call(this,null,null)}function nge(){_h.call(this,`INSTANCE`,0)}function rge(){i1e(),this.a=new JL(VTt)}function ige(e){return qN(e,0,e.length)}function age(e,t){return new Yge(e.Kc(),t)}function oge(e,t){return e.a.Bc(t)!=null}function sge(e,t){Pz(e),e.Gc(I(t,15))}function cge(e,t,n){e.c.bd(t,I(n,136))}function lge(e,t,n){e.c.Ui(t,I(n,136))}function uge(e,t){e.c&&(JCe(t),eAe(t))}function dge(e,t){e.q.setHours(t),lz(e,t)}function fge(e,t){ob(t,e.a.a.a,e.a.a.b)}function pge(e,t,n,r){CC(e.a[t.g],n.g,r)}function cy(e,t,n){return e.a[t.g][n.g]}function mge(e,t){return e.e[t.c.p][t.p]}function hge(e,t){return e.c[t.c.p][t.p]}function ly(e,t){return e.a[t.c.p][t.p]}function gge(e,t){return e.j[t.p]=O9e(t)}function uy(e,t){return e.a.Bc(t)!=null}function _ge(e,t){return A(F(t.a))<=e}function vge(e,t){return A(F(t.a))>=e}function yge(e,t){return lIe(e.f,t.Pg())}function dy(e,t){return e.a*t.a+e.b*t.b}function bge(e,t){return e.a0?t/(e*e):t*100}function L_e(e,t){return e>0?t*t/e:t*t*100}function ab(e,t){return I(CO(e.a,t),34)}function R_e(e,t){return wI(),fL(e,t.e,t)}function z_e(e,t,n){return Jh(),n.Mg(e,t)}function B_e(e){return QO(),e.e.a+e.f.a/2}function V_e(e,t,n){return QO(),n.e.a-e*t}function H_e(e){return QO(),e.e.b+e.f.b/2}function U_e(e,t,n){return QO(),n.e.b-e*t}function W_e(e){e.d=new j_e(e),e.e=new Kd}function G_e(){this.a=new Zw,this.b=new Zw}function K_e(e){this.c=e,this.a=1,this.b=1}function q_e(e){oB(),tf(this),this.Ff(e)}function J_e(e,t,n){zD(),e.pf(t)&&n.Cd(e)}function Y_e(e,t,n){return py(t,xJe(e,n))}function ob(e,t,n){return e.a+=t,e.b+=n,e}function X_e(e,t,n){return e.a*=t,e.b*=n,e}function Z_e(e,t){return e.a=t.a,e.b=t.b,e}function sb(e){return e.a=-e.a,e.b=-e.b,e}function cb(e,t,n){return e.a-=t,e.b-=n,e}function Q_e(e){Dh.call(this),Ak(this,e)}function $_e(){_h.call(this,`GROW_TREE`,0)}function eve(){_h.call(this,`POLYOMINO`,0)}function lb(e,t,n){ND.call(this,e,t,n,2)}function tve(e,t,n){PM(AE(e.a),t,$Ae(n))}function nve(e,t){ig(),Uy.call(this,e,t)}function rve(e,t){ag(),Wy.call(this,e,t)}function ive(e,t){ag(),rve.call(this,e,t)}function ave(e,t){ag(),Wy.call(this,e,t)}function ove(e,t){return e.c.Fc(I(t,136))}function sve(e,t,n){PM(iO(e.a),t,eje(n))}function cve(e){this.c=e,ik(e,0),ak(e,0)}function ub(e,t){Jv(),Xx.call(this,e,t)}function lve(e,t){Jv(),ub.call(this,e,t)}function uve(e,t){Jv(),ub.call(this,e,t)}function dve(e,t){Jv(),Xx.call(this,e,t)}function fve(e,t){Jv(),uve.call(this,e,t)}function pve(e,t){Jv(),dve.call(this,e,t)}function mve(e,t){Jv(),Xx.call(this,e,t)}function hve(e,t,n){return t.zl(e.e,e.c,n)}function gve(e,t,n){return t.Al(e.e,e.c,n)}function _ve(e,t,n){return Dz(aO(e,t),n)}function db(e,t){return uM(e.e,I(t,54))}function vve(e){return e==null?null:zut(e)}function yve(e){return e==null?null:G4e(e)}function bve(e){return e==null?null:mN(e)}function xve(e){return e==null?null:mN(e)}function fb(e){return Ix(e==null||Q_(e)),e}function F(e){return Ix(e==null||$_(e)),e}function pb(e){return Ix(e==null||Z_(e)),e}function mb(e){e.o??L7e(e)}function Sve(e){if(!e)throw k(new yf)}function Cve(e){if(!e)throw k(new vf)}function hb(e){if(!e)throw k(new Tf)}function gb(e){if(!e)throw k(new bf)}function wve(e){if(!e)throw k(new Cf)}function _b(){_b=C,T7=new Qse,new hp}function vb(){vb=C,D4=new Ad(`root`)}function Tve(){fVe.call(this),this.Bb|=UV}function Eve(e,t){this.d=e,_ae(this),this.b=t}function Dve(e,t){ED.call(this,e),this.a=t}function Ove(e,t){ED.call(this,e),this.a=t}function kve(e,t,n){fD.call(this,e,t,n,null)}function Ave(e,t,n){fD.call(this,e,t,n,null)}function yb(e,t){this.c=e,mh.call(this,e,t)}function bb(e,t){this.a=e,yb.call(this,e,t)}function jve(e){this.q=new r.Date(lE(e))}function Mve(e){return e>8?0:e+1}function Nve(e,t){NY||py(e.a,t)}function Pve(e,t){return Gh(),NA(t.d.i,e)}function Fve(e,t){return mA(),new Rrt(t,e)}function Ive(e,t,n){return e.Ne(t,n)<=0?n:t}function Lve(e,t,n){return e.Ne(t,n)<=0?t:n}function Rve(e,t){return I(CO(e.b,t),143)}function zve(e,t){return I(CO(e.c,t),233)}function xb(e){return I(zx(e.a,e.b),294)}function Bve(e){return new M(e.c,e.d+e.a)}function Vve(e){return BC(e),e?1231:1237}function Hve(e){return bT(),Zme(I(e,203))}function Sb(){Sb=C,pwt=qM((HN(),k5))}function Uve(e,t){t.a?P5e(e,t):uy(e.a,t.b)}function Cb(e,t,n){++e.j,e.tj(),wD(e,t,n)}function Wve(e,t,n){++e.j,e.qj(t,e.Zi(t,n))}function Gve(e,t,n){e.fd(t).Rb(n)}function Kve(e,t,n){return n=GR(e,t,6,n),n}function qve(e,t,n){return n=GR(e,t,3,n),n}function Jve(e,t,n){return n=GR(e,t,9,n),n}function wb(e,t){return Uw(t,vmt),e.f=t,e}function Yve(e,t){return(t&SB)%e.d.length}function Xve(e,t,n){return Qot(e.c,e.b,t,n)}function Zve(e,t){this.c=e,GO.call(this,t)}function Qve(e,t){this.a=e,Tse.call(this,t)}function Tb(e,t){this.a=e,Tse.call(this,t)}function Eb(e,t){Ad.call(this,e),this.a=t}function $ve(e,t){Id.call(this,e),this.a=t}function Db(e,t){Id.call(this,e),this.a=t}function eye(e){UJe.call(this,0,0),this.f=e}function tye(e,t,n){return e.a+=qN(t,0,n),e}function Ob(e){return!e.a&&(e.a=new ee),e.a}function nye(e,t){var n=e.e;return e.e=t,n}function rye(e,t){var n=t;return!!e.Fe(n)}function iye(e,t){return Vy(),e==t?0:e?1:-1}function kb(e,t){e.a.bd(e.b,t),++e.b,e.c=-1}function Ab(e){e.b?Ab(e.b):e.f.c.zc(e.e,e.d)}function aye(e){US(e.e),e.d.b=e.d,e.d.a=e.d}function oye(e,t,n){Nh(),zie(e,t.Ve(e.a,n))}function sye(e,t,n){return JS(e,I(t,22),n)}function jb(e,t){return Om(Array(t),e)}function cye(e){return dS(yS(e,32))^dS(e)}function lye(e){return String.fromCharCode(e)}function uye(e){return e==null?null:e.message}function dye(e,t,n){return e.apply(t,n)}function fye(e,t){e[eH].call(e,t)}function pye(e,t){e[eH].call(e,t)}function mye(e,t){return Gh(),!NA(t.d.i,e)}function hye(e,t,n,r){Ux.call(this,e,t,n,r)}function gye(){Mb.call(this),this.a=new qm}function _ye(){this.n=new qm,this.o=new qm}function vye(){this.b=new qm,this.c=new qd}function yye(){this.a=new qd,this.b=new qd}function bye(){this.a=new jt,this.b=new Of}function xye(){this.b=new zE,this.a=new zE}function Sye(){this.b=new If,this.a=new If}function Cye(){this.b=new Kd,this.a=new Kd}function wye(){this.b=new oue,this.a=new $te}function Tye(){this.a=new lie,this.b=new xte}function Eye(){this.a=new qd,this.d=new qd}function Mb(){this.n=new sp,this.i=new Ov}function Dye(e){this.a=(jk(e,iV),new gD(e))}function Oye(e){this.a=(jk(e,iV),new gD(e))}function kye(e){return e<100?null:new Km(e)}function Aye(e,t){return e.n.a=(BC(t),t)+10}function jye(e,t){return e.n.a=(BC(t),t)+10}function Mye(e,t){return t==e||UF(zL(t),e)}function Nye(e,t){return GC(e.a,t,``)==null}function Pye(e,t){return t.qi(e.a)}function Nb(e,t){return e.a+=t.a,e.b+=t.b,e}function Pb(e,t){return e.a-=t.a,e.b-=t.b,e}function Fye(e){return kf(e.j.c,0),e.a=-1,e}function Iye(e,t,n){return n=GR(e,t,11,n),n}function Lye(e,t,n){n!=null&&Rk(t,dF(e,n))}function Rye(e,t,n){n!=null&&zk(t,dF(e,n))}function Fb(e,t,n,r){L.call(this,e,t,n,r)}function zye(e,t,n,r){L.call(this,e,t,n,r)}function Bye(e,t,n,r){zye.call(this,e,t,n,r)}function Vye(e,t,n,r){NS.call(this,e,t,n,r)}function Hye(e,t,n,r){NS.call(this,e,t,n,r)}function Uye(e,t,n,r){NS.call(this,e,t,n,r)}function Wye(e,t,n,r){Hye.call(this,e,t,n,r)}function Gye(e,t,n,r){Hye.call(this,e,t,n,r)}function Ib(e,t,n,r){Uye.call(this,e,t,n,r)}function Kye(e,t,n,r){Gye.call(this,e,t,n,r)}function qye(e,t,n,r){eEe.call(this,e,t,n,r)}function Lb(e,t){em.call(this,Eq+e+fq+t)}function Jye(e,t){return e.jk().wi().ri(e,t)}function Yye(e,t){return e.jk().wi().ti(e,t)}function Xye(e,t){return BC(e),N(e)===N(t)}function Rb(e,t){return BC(e),N(e)===N(t)}function Zye(e,t){return e.b.Bd(new Qde(e,t))}function Qye(e,t){return e.b.Bd(new $de(e,t))}function $ye(e,t){return e.b.Bd(new efe(e,t))}function ebe(e,t){return e.e=I(e.d.Kb(t),159)}function tbe(e,t,n){return e.lastIndexOf(t,n)}function nbe(e,t,n){return KM(e[t.a],e[n.a])}function rbe(e,t){return G(t,(cB(),b1),e)}function ibe(e,t){return ey(t.a.d.p,e.a.d.p)}function abe(e,t){return ey(e.a.d.p,t.a.d.p)}function obe(e,t){return KM(e.c-e.s,t.c-t.s)}function sbe(e,t){return KM(e.b.e.a,t.b.e.a)}function cbe(e,t){return KM(e.c.e.a,t.c.e.a)}function lbe(e){return e.c?QD(e.c.a,e,0):-1}function zb(e){return e==G8||e==q8||e==K8}function ube(e,t){this.c=e,XS.call(this,e,t)}function dbe(e,t,n){this.a=e,S_e.call(this,t,n)}function fbe(e){this.c=e,dv.call(this,GB,0)}function pbe(e,t,n){this.c=t,this.b=n,this.a=e}function Bb(e){rx(),this.d=e,this.a=new by}function mbe(e){Jb(),this.a=(Ew(),new wm(e))}function hbe(e,t){Mv(e.f)?O7e(e,t):f2e(e,t)}function gbe(e,t){uCe.call(this,e,e.length,t)}function _be(e,t){NY||t&&(e.d=t)}function vbe(e,t){return P(t,15)&&Pnt(e.c,t)}function ybe(e,t,n){return I(e.c,71).Wk(t,n)}function Vb(e,t,n){return I(e.c,71).Xk(t,n)}function bbe(e,t,n){return hve(e,I(t,343),n)}function xbe(e,t,n){return gve(e,I(t,343),n)}function Sbe(e,t,n){return E0e(e,I(t,343),n)}function Cbe(e,t,n){return A2e(e,I(t,343),n)}function Hb(e,t){return t==null?null:bM(e.b,t)}function wbe(e){return $_(e)?(BC(e),e):e.ue()}function Ub(e){return!isNaN(e)&&!isFinite(e)}function Wb(e){Ghe(this),Sw(this),aA(this,e)}function Gb(e){Hv(this),gCe(this.c,0,e.Pc())}function Kb(e,t,n){this.a=e,this.b=t,this.c=n}function Tbe(e,t,n){this.a=e,this.b=t,this.c=n}function Ebe(e,t,n){this.d=e,this.b=n,this.a=t}function Dbe(e){this.a=e,Oh(),zA(Date.now())}function Obe(e){jC(e.a),_Le(e.c,e.b),e.b=null}function qb(){qb=C,zSt=new me,BSt=new he}function kbe(){kbe=C,_Vt=H(PJ,DB,1,0,5,1)}function Abe(){Abe=C,GVt=H(PJ,DB,1,0,5,1)}function jbe(){jbe=C,KVt=H(PJ,DB,1,0,5,1)}function Jb(){Jb=C,new uf((Ew(),Ew(),xY))}function Mbe(e){return GD(),_k((tRe(),JSt),e)}function Nbe(e){return Xj(),_k((rLe(),rCt),e)}function Pbe(e){return yP(),_k((VPe(),mCt),e)}function Fbe(e){return OO(),_k((HPe(),_Ct),e)}function Ibe(e){return gR(),_k((bUe(),PCt),e)}function Lbe(e){return YO(),_k((tLe(),RCt),e)}function Rbe(e){return KD(),_k((eLe(),BCt),e)}function zbe(e){return hO(),_k((nLe(),UCt),e)}function Bbe(e){return mB(),_k((gme(),fwt),e)}function Vbe(e){return JA(),_k((rRe(),hwt),e)}function Hbe(e){return MP(),_k((aRe(),_wt),e)}function Ube(e){return jP(),_k((iRe(),Cwt),e)}function Wbe(e){return Hh(),_k((iNe(),Twt),e)}function Gbe(e){return kO(),_k((UPe(),Xwt),e)}function Kbe(e){return mO(),_k((iLe(),LTt),e)}function qbe(e){return vI(),_k((gze(),HTt),e)}function Jbe(e){return aj(),_k((sRe(),JTt),e)}function Ybe(e){return aP(),_k((oRe(),rEt),e)}function Xbe(e,t){if(!e)throw k(new rm(t))}function Yb(e){if(!e)throw k(new im(Qft))}function Xb(e,t){if(e!=t)throw k(new Cf)}function Zbe(e,t,n){this.a=e,this.b=t,this.c=n}function Qbe(e,t,n){this.a=e,this.b=t,this.c=n}function $be(e,t,n){this.a=e,this.b=t,this.c=n}function Zb(e,t,n){this.b=e,this.a=t,this.c=n}function exe(e,t,n){this.b=e,this.c=t,this.a=n}function txe(e,t,n){this.a=e,this.b=t,this.c=n}function Qb(e,t,n){this.e=t,this.b=e,this.d=n}function nxe(e,t,n){this.b=e,this.a=t,this.c=n}function rxe(e,t,n){return Nh(),e.a.Yd(t,n),t}function $b(e){var t=new Je;return t.e=e,t}function ixe(e){var t=new qf;return t.b=e,t}function ex(){ex=C,gZ=new Vn,_Z=new xee}function tx(){tx=C,cDt=new ir,sDt=new ar}function nx(){nx=C,gDt=new Hr,_Dt=new ite}function axe(e){return Vk(),_k((FIe(),DDt),e)}function oxe(e){return fB(),_k((_me(),nDt),e)}function sxe(e){return rj(),_k((lRe(),oDt),e)}function cxe(e){return ij(),_k((cRe(),bDt),e)}function lxe(e){return tI(),_k((_ze(),SDt),e)}function uxe(e){return lR(),_k((UHe(),kDt),e)}function dxe(e){return GI(),_k((fBe(),ADt),e)}function fxe(e){return bD(),_k((XPe(),NDt),e)}function pxe(e){return Nk(),_k((NIe(),IDt),e)}function mxe(e){return Sk(),_k((PIe(),zDt),e)}function hxe(e){return JN(),_k((vze(),HDt),e)}function gxe(e){return AO(),_k((KPe(),GDt),e)}function _xe(e){return TI(),_k((hBe(),dOt),e)}function vxe(e){return cR(),_k((gWe(),fOt),e)}function yxe(e){return YA(),_k((LIe(),pOt),e)}function bxe(e){return gO(),_k((RIe(),hOt),e)}function xxe(e){return SE(),_k((GPe(),vOt),e)}function Sxe(e){return qF(),_k((mBe(),iOt),e)}function Cxe(e){return gj(),_k((IIe(),qDt),e)}function wxe(e){return kI(),_k((pBe(),YDt),e)}function Txe(e){return qD(),_k((qPe(),QDt),e)}function Exe(e){return CN(),_k((bze(),MOt),e)}function Dxe(e){return YL(),_k((_Ue(),CMt),e)}function Oxe(e){return dM(),_k((zIe(),EMt),e)}function kxe(e){return VP(),_k((uRe(),DMt),e)}function Axe(e){return AP(),_k((yze(),AMt),e)}function jxe(e){return NR(),_k((_We(),IMt),e)}function Mxe(e){return YN(),_k((dRe(),zMt),e)}function Nxe(e){return _O(),_k((JPe(),VMt),e)}function Pxe(e){return Ck(),_k((HIe(),UMt),e)}function Fxe(e){return TA(),_k((BIe(),qMt),e)}function Ixe(e){return Mj(),_k((VIe(),YMt),e)}function Lxe(e){return Yj(),_k((UIe(),QMt),e)}function Rxe(e){return xk(),_k((WIe(),nNt),e)}function zxe(e){return oj(),_k((GIe(),iNt),e)}function Bxe(e){return bk(),_k(($Ie(),SNt),e)}function Vxe(e){return CE(),_k((YPe(),kNt),e)}function Hxe(e){return lT(),_k(($Pe(),RNt),e)}function Uxe(e){return uT(),_k((eFe(),BNt),e)}function Wxe(e){return vD(),_k((tFe(),nPt),e)}function Gxe(e){return cT(),_k((nFe(),lPt),e)}function Kxe(e){return OF(),_k((TRe(),dPt),e)}function qxe(e){return FR(),_k((vme(),wPt),e)}function Jxe(e){return Nj(),_k((KIe(),DPt),e)}function Yxe(e){return qj(),_k((wRe(),_Ft),e)}function Xxe(e){return zT(),_k((ZPe(),bFt),e)}function Zxe(e){return Hk(),_k((QPe(),EFt),e)}function Qxe(e){return iI(),_k((xze(),OFt),e)}function $xe(e){return Jj(),_k((qIe(),FFt),e)}function eSe(e){return BD(),_k((rFe(),jFt),e)}function tSe(e){return uF(),_k((CRe(),gIt),e)}function nSe(e){return wA(),_k((JIe(),bIt),e)}function rSe(e){return UN(),_k((YIe(),SIt),e)}function iSe(e){return HP(),_k((XIe(),wIt),e)}function aSe(e){return oN(),_k((ZIe(),AIt),e)}function oSe(e){return JE(),_k((iFe(),pLt),e)}function sSe(e){return gA(),_k((WPe(),bEt),e)}function cSe(e){return DI(),_k((gBe(),cEt),e)}function lSe(e){return JD(),_k((QIe(),_Lt),e)}function uSe(e){return XA(),_k((aFe(),xLt),e)}function dSe(e){return WL(),_k((Sze(),wLt),e)}function fSe(e){return Yh(),_k((wNe(),DLt),e)}function pSe(e){return IM(),_k((oLe(),TLt),e)}function mSe(e){return Xh(),_k((TNe(),kLt),e)}function hSe(e){return yD(),_k((oFe(),jLt),e)}function gSe(e){return MI(),_k((Cze(),ILt),e)}function _Se(e){return Zh(),_k((ENe(),mRt),e)}function vSe(e){return sj(),_k((sFe(),_Rt),e)}function ySe(e){return _P(),_k((Tze(),DRt),e)}function bSe(e){return VI(),_k((VHe(),ARt),e)}function xSe(e){return UP(),_k((_Be(),PRt),e)}function SSe(e){return eI(),_k((vBe(),KRt),e)}function CSe(e){return FM(),_k((wze(),Jzt),e)}function wSe(e){return XO(),_k((sLe(),Xzt),e)}function TSe(e){return aN(),_k((ERe(),Zzt),e)}function ESe(e){return hI(),_k((yBe(),iBt),e)}function DSe(e){return pM(),_k((aLe(),fBt),e)}function OSe(e){return kF(),_k((DRe(),mBt),e)}function kSe(e){return EL(),_k((yUe(),hBt),e)}function ASe(e){return bP(),_k((Eze(),vBt),e)}function jSe(e){return rI(),_k((bBe(),bBt),e)}function MSe(e){return rL(),_k((xBe(),xBt),e)}function NSe(e){return Qz(),_k((Dze(),SBt),e)}function PSe(e){return HN(),_k((ORe(),OBt),e)}function FSe(e){return VR(),_k((vUe(),ABt),e)}function ISe(e){return fM(),_k((cLe(),NBt),e)}function LSe(e,t){return(BC(e),e)+(BC(t),t)}function RSe(e){return ix(),_k((cFe(),IBt),e)}function zSe(e){return wN(),_k((kRe(),VBt),e)}function BSe(e){return jj(),_k((ARe(),qBt),e)}function rx(){rx=C,TNt=(Qz(),w5),D2=i5}function ix(){ix=C,PBt=new fwe,FBt=new ZTe}function VSe(e){return!e.e&&(e.e=new qd),e.e}function ax(e,t){this.c=e,this.a=t,this.b=t-e}function HSe(e,t,n){this.a=e,this.b=t,this.c=n}function ox(e,t,n){this.a=e,this.b=t,this.c=n}function USe(e,t,n){this.a=e,this.b=t,this.c=n}function WSe(e,t,n){this.a=e,this.b=t,this.c=n}function GSe(e,t,n){this.a=e,this.b=t,this.c=n}function KSe(e,t,n){this.a=e,this.b=t,this.c=n}function sx(e,t,n){this.e=e,this.a=t,this.c=n}function qSe(e,t,n){Jv(),$ke.call(this,e,t,n)}function cx(e,t,n){Jv(),uDe.call(this,e,t,n)}function JSe(e,t,n){Jv(),uDe.call(this,e,t,n)}function YSe(e,t,n){Jv(),uDe.call(this,e,t,n)}function XSe(e,t,n){Jv(),cx.call(this,e,t,n)}function ZSe(e,t,n){Jv(),cx.call(this,e,t,n)}function QSe(e,t,n){Jv(),ZSe.call(this,e,t,n)}function $Se(e,t,n){Jv(),JSe.call(this,e,t,n)}function eCe(e,t,n){Jv(),YSe.call(this,e,t,n)}function lx(e){Ux.call(this,e.d,e.c,e.a,e.b)}function tCe(e){Ux.call(this,e.d,e.c,e.a,e.b)}function nCe(e){this.d=e,_ae(this),this.b=wTe(e.d)}function rCe(e){return SL(),_k((HHe(),fVt),e)}function ux(e,t){return hC(e),hC(t),new jue(e,t)}function dx(e,t){return hC(e),hC(t),new VCe(e,t)}function iCe(e,t){return hC(e),hC(t),new HCe(e,t)}function aCe(e,t){return hC(e),hC(t),new Vue(e,t)}function fx(e){return hb(e.b!=0),WO(e,e.a.a)}function oCe(e){return hb(e.b!=0),WO(e,e.c.b)}function sCe(e){return!e.c&&(e.c=new rs),e.c}function px(e){var t=new qd;return SO(t,e),t}function cCe(e){var t=new If;return SO(t,e),t}function lCe(e){var t=new Lf;return Qk(t,e),t}function mx(e){var t=new Dh;return Qk(t,e),t}function I(e,t){return Ix(e==null||FP(e,t)),e}function uCe(e,t,n){NTe.call(this,t,n),this.a=e}function dCe(e,t){this.c=e,this.b=t,this.a=!1}function fCe(){this.a=`;,;`,this.b=``,this.c=``}function pCe(e,t,n){this.b=e,ume.call(this,t,n)}function mCe(e,t,n){this.c=e,vg.call(this,t,n)}function hCe(e,t,n){Fg.call(this,e,t),this.b=n}function gCe(e,t,n){r5e(n,0,e,t,n.length,!1)}function hx(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function _Ce(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function vCe(e,t){t&&(e.b=t,e.a=(LC(t),t.a))}function gx(e,t){if(!e)throw k(new rm(t))}function _x(e,t){if(!e)throw k(new im(t))}function yCe(e,t){if(!e)throw k(new Lce(t))}function bCe(e,t){return qh(),ey(e.d.p,t.d.p)}function xCe(e,t){return QO(),KM(e.e.b,t.e.b)}function SCe(e,t){return QO(),KM(e.e.a,t.e.a)}function CCe(e,t){return ey(twe(e.d),twe(t.d))}function vx(e,t){return t&&NC(e,t.d)?t:null}function wCe(e,t){return t==(Qz(),w5)?e.c:e.d}function TCe(e){return PA(aEe(wv(e)?VA(e):e))}function ECe(e){return new M(e.c+e.b,e.d+e.a)}function DCe(e){return e!=null&&!vN(e,D7,O7)}function OCe(e,t){return(GKe(e)<<4|GKe(t))&_V}function kCe(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function ACe(e){var t=e.b;e.b=e.c,e.c=t}function jCe(e){var t,n=e.d;t=e.a,e.d=t,e.a=n}function MCe(e,t){var n=e.c;return bVe(e,t),n}function NCe(e,t){return t<0?e.g=-1:e.g=t,e}function yx(e,t){return aBe(e),e.a*=t,e.b*=t,e}function PCe(e,t,n){Xze.call(this,t,n),this.d=e}function bx(e,t,n){rme.call(this,e,t),this.c=n}function xx(e,t,n){rme.call(this,e,t),this.c=n}function FCe(e){jbe(),Bo.call(this),this.ci(e)}function ICe(){mD(),fDe.call(this,(ng(),V7))}function LCe(e){return pB(),++W9,new Yx(0,e)}function RCe(){RCe=C,vHt=(Ew(),new Zl(dJ))}function Sx(){Sx=C,new uZe((Mp(),VJ),(jp(),BJ))}function zCe(){zCe=C,lSt=H(sY,X,17,256,0,1)}function BCe(){this.b=A(F(SP((JR(),jX))))}function Cx(e){this.b=e,this.a=mS(this.b.a).Od()}function VCe(e,t){this.b=e,this.a=t,fc.call(this)}function HCe(e,t){this.a=e,this.b=t,fc.call(this)}function UCe(e,t,n){this.a=e,_v.call(this,t,n)}function WCe(e,t,n){this.a=e,_v.call(this,t,n)}function wx(e,t,n){MO(e,t,new gC(n))}function GCe(e,t,n){var r=e[t];return e[t]=n,r}function Tx(e){return HD(e.slice(),e)}function Ex(e){var t=e.n;return e.a.b+t.d+t.a}function KCe(e){var t=e.n;return e.e.b+t.d+t.a}function qCe(e){var t=e.n;return e.e.a+t.b+t.c}function JCe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Dx(e,t){return BE(e,t,e.c.b,e.c),!0}function YCe(e){return e.a?e.a:uw(e)}function XCe(e){return Dw(),xI(e)==_T(SI(e))}function ZCe(e){return Dw(),SI(e)==_T(xI(e))}function Ox(e,t){return BF(e,new Fg(t.a,t.b))}function QCe(e,t){return KC(),aF(e,t),new IDe(e,t)}function $Ce(e,t){return e.c=t)throw k(new tp)}function ES(e,t){return TM(e,(BC(t),new yae(t)))}function DS(e,t){return TM(e,(BC(t),new fu(t)))}function zTe(e,t,n){return Ift(e,I(t,12),I(n,12))}function BTe(e){return _A(),I(e,12).g.c.length!=0}function VTe(e){return _A(),I(e,12).e.c.length!=0}function HTe(e,t){return mA(),KM(t.a.o.a,e.a.o.a)}function UTe(e,t){(t.Bb&LK)!=0&&!e.a.o&&(e.a.o=t)}function WTe(e,t){t.Ug(`General 'Rotator`,1),Sut(e)}function GTe(e,t,n){t.qf(n,A(F(SC(e.b,n)))*e.a)}function KTe(e,t,n){return uR(),bA(e,t)&&bA(e,n)}function OS(e){return rL(),!e.Hc($8)&&!e.Hc(t5)}function qTe(e){return e.e?wIe(e.e):null}function kS(e){return wv(e)?``+e:Ont(e)}function JTe(e){for(var t=e;t.f;)t=t.f;return t}function YTe(e,t,n){return CC(t,0,kwe(t[0],n[0])),t}function AS(e,t,n,r){var i=e.i;i.i=t,i.a=n,i.b=r}function L(e,t,n,r){hy.call(this,e,t,n),this.b=r}function jS(e,t,n,r,i){ULe.call(this,e,t,n,r,i,-1)}function MS(e,t,n,r,i){PD.call(this,e,t,n,r,i,-1)}function NS(e,t,n,r){bx.call(this,e,t,n),this.b=r}function XTe(e){zpe.call(this,e,!1),this.a=!1}function ZTe(){vpe.call(this,`LOOKAHEAD_LAYOUT`,1)}function QTe(e){this.b=e,Ky.call(this,e),Rge(this)}function $Te(e){this.b=e,Jy.call(this,e),zge(this)}function PS(e,t,n){this.a=e,Fb.call(this,t,n,5,6)}function eEe(e,t,n,r){this.b=e,hy.call(this,t,n,r)}function tEe(e,t){this.b=e,rl.call(this,e.b),this.a=t}function nEe(e){this.a=cZe(e.a),this.b=new Gb(e.b)}function rEe(e,t){_C(),Kue.call(this,e,hM(new fm(t)))}function FS(e,t){return pB(),++W9,new lDe(e,t,0)}function IS(e,t){return pB(),++W9,new lDe(6,e,t)}function LS(e,t){for(BC(t);e.Ob();)t.Cd(e.Pb())}function RS(e,t){return Z_(t)?Iw(e,t):!!tS(e.f,t)}function zS(e,t){return t.Vh()?uM(e.b,I(t,54)):t}function iEe(e,t){return Rb(e.substr(0,t.length),t)}function BS(e){return new SS(new Gge(e.a.length,e.a))}function VS(e){return new M(e.c+e.b/2,e.d+e.a/2)}function aEe(e){return ty(~e.l&kV,~e.m&kV,~e.h&AV)}function HS(e){return typeof e===vB||typeof e===xB}function US(e){e.f=new qme(e),e.i=new Jme(e),++e.g}function oEe(e){if(!e)throw k(new Tf);return e.d}function WS(e){var t=vj(e);return hb(t!=null),t}function sEe(e){var t=Cqe(e);return hb(t!=null),t}function GS(e,t){var n=e.a.gc();return cIe(t,n),n-t}function KS(e,t){return e.a.zc(t,e)==null}function qS(e,t){return e.a.zc(t,(Vy(),eY))==null}function cEe(e){return new Hx(null,bEe(e,e.length))}function lEe(e,t,n){return Cst(e,I(t,42),I(n,176))}function JS(e,t,n){return Gk(e.a,t),GCe(e.b,t.g,n)}function uEe(e,t,n){TS(n,e.a.c.length),GE(e.a,n,t)}function R(e,t,n,r){TGe(t,n,e.length),dEe(e,t,n,r)}function dEe(e,t,n,r){var i;for(i=t;i0?r.Math.log(e/t):-100}function vEe(e,t){return lM(e,t)<0?-1:+(lM(e,t)>0)}function eC(e,t){sge(e,P(t,160)?t:I(t,2036).Rl())}function yEe(e,t){if(e==null)throw k(new am(t))}function bEe(e,t){return $ze(t,e.length),new dwe(e,t)}function xEe(e,t){return t?aA(e,t):!1}function SEe(){return Wp(),W(j(Hxt,1),Z,549,0,[GJ])}function tC(e){return e.e==0?e:new YS(-e.e,e.d,e.a)}function CEe(e,t){return KM(e.c.c+e.c.b,t.c.c+t.c.b)}function nC(e,t){BE(e.d,t,e.b.b,e.b),++e.a,e.c=null}function wEe(e,t){return e.c?wEe(e.c,t):py(e.b,t),e}function TEe(e,t,n){var r=wO(e,t);return jE(e,t,n),r}function EEe(e,t,n){var r;for(r=0;r=e.g}function CC(e,t,n){return Cve(n==null||gat(e,n)),e[t]=n}function QEe(e,t){return HT(t,e.length+1),e.substr(t)}function wC(e,t){for(BC(t);e.c=e?new ode:wVe(e-1)}function IC(e){return!e.a&&e.c?e.c.b:e.a}function yDe(e){return P(e,616)?e:new lAe(e)}function LC(e){e.c?LC(e.c):(YM(e),e.d=!0)}function RC(e){e.c?e.c.$e():(e.d=!0,bet(e))}function bDe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function xDe(e){return e.c.i.c==e.d.i.c}function SDe(e,t){var n=e.Ih(t);n>=0?e.ki(n):X6e(e,t)}function CDe(e,t){e.c<0||e.b.b0;)e=e<<1|e<0;return e}function KDe(e,t){var n=new TC(e);return af(t.c,n),n}function qDe(e,t){e.u.Hc((rL(),$8))&&v8e(e,t),lLe(e,t)}function YC(e,t){return N(e)===N(t)||e!=null&&EM(e,t)}function XC(e,t){return eS(e.a,t)?e.b[I(t,22).g]:null}function JDe(){return Hh(),W(j(wwt,1),Z,489,0,[vX])}function YDe(){return Yh(),W(j(ELt,1),Z,490,0,[E3])}function XDe(){return Xh(),W(j(OLt,1),Z,558,0,[D3])}function ZDe(){return Zh(),W(j(pRt,1),Z,539,0,[I3])}function ZC(e){return!e.n&&(e.n=new L(o7,e,1,7)),e.n}function QC(e){return!e.c&&(e.c=new L(c7,e,9,9)),e.c}function QDe(e){return!e.c&&(e.c=new Ib(X5,e,5,8)),e.c}function $De(e){return!e.b&&(e.b=new Ib(X5,e,4,7)),e.b}function $C(e){return e.j.c.length=0,dOe(e.c),Fye(e.a),e}function ew(e){return e.e==fJ&&uae(e,aXe(e.g,e.b)),e.e}function tw(e){return e.f==fJ&&fae(e,O$e(e.g,e.b)),e.f}function nw(e,t,n,r){return oUe(e,t,n,!1),kM(e,r),e}function eOe(e,t){this.b=e,XS.call(this,e,t),Rge(this)}function tOe(e,t){this.b=e,ube.call(this,e,t),zge(this)}function rw(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function nOe(e,t){this.b=e,this.c=t,this.a=new Eh(this.b)}function iw(e,t){return HT(t,e.length),e.charCodeAt(t)}function rOe(e,t){Pqe(e,A(hk(t,`x`)),A(hk(t,`y`)))}function iOe(e,t){Pqe(e,A(hk(t,`x`)),A(hk(t,`y`)))}function aw(e,t){return YM(e),new Hx(e,new yRe(t,e.a))}function ow(e,t){return YM(e),new Hx(e,new mIe(t,e.a))}function sw(e,t){return YM(e),new Dve(e,new fIe(t,e.a))}function cw(e,t){return YM(e),new Ove(e,new pIe(t,e.a))}function aOe(e,t){return new tke(I(hC(e),50),I(hC(t),50))}function oOe(e,t){return KM(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function sOe(e,t,n){n.a?ak(e,t.b-e.f/2):ik(e,t.a-e.g/2)}function cOe(e,t){return KM(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function lOe(e,t){return Cde(),KM((BC(e),e),(BC(t),t))}function uOe(e){return e!=null&&Sh(k7,e.toLowerCase())}function dOe(e){var t;for(t=e.Kc();t.Ob();)t.Pb(),t.Qb()}function lw(e){var t=e.b;return!t&&(e.b=t=new Yc(e)),t}function uw(e){return OVe(e)||null}function fOe(e,t){var n=e/t,r=iT(n);return n>r&&++r,r}function pOe(e,t,n){var r=I(e.d.Kb(n),159);r&&r.Nb(t)}function mOe(e,t,n){bst(e.a,n),NUe(n),a7e(e.b,n),Jst(t,n)}function dw(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function hOe(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function gOe(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function fw(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function _Oe(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function pw(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function vOe(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function mw(e,t,n){this.a=mpt,this.d=e,this.b=t,this.c=n}function hw(e,t,n,r){_h.call(this,e,t),this.a=n,this.b=r}function yOe(e,t){this.d=(BC(e),e),this.a=16449,this.c=t}function bOe(e){this.a=new qd,this.e=H(q9,X,53,e,0,2)}function xOe(e){e.Ug(`No crossing minimization`,1),e.Vg()}function SOe(){Hp.call(this,`There is no more element.`)}function COe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function wOe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function gw(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function TOe(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function EOe(e,t,n,r){Jv(),hIe.call(this,t,n,r),this.a=e}function DOe(e,t,n,r){Jv(),hIe.call(this,t,n,r),this.a=e}function _w(e,t,n){var r=sdt(e);return t.ti(n,r)}function vw(e){var t,n=(t=new Xd,t);return qO(n,e),n}function yw(e){var t,n=(t=new Xd,t);return i4e(n,e),n}function OOe(e,t){return LHe(t,SC(e.f,t)),null}function kOe(e){return!e.b&&(e.b=new L(Z5,e,12,3)),e.b}function AOe(e){return Ix(e==null||HS(e)&&e.Tm!==ne),e}function bw(e){return e.n&&(e.e!==dpt&&e.je(),e.j=null),e}function xw(e){if(_N(e.d),e.d.d!=e.c)throw k(new Cf)}function jOe(e){return hb(e.b0&&d1e(this)}function MOe(e,t){this.a=e,Eve.call(this,e,I(e.d,15).fd(t))}function NOe(e,t){return KM(qx(e)*Kx(e),qx(t)*Kx(t))}function POe(e,t){return KM(qx(e)*Kx(e),qx(t)*Kx(t))}function FOe(e){return uL(e)&&Zp(fb(J(e,(cB(),z1))))}function IOe(e,t){return fL(e,I(K(t,(cB(),i0)),17),t)}function LOe(e,t){return I(K(e,(Y(),k$)),15).Fc(t),t}function ROe(e,t){return e.b=t.b,e.c=t.c,e.d=t.d,e.a=t.a,e}function zOe(e,t,n,r){this.b=e,this.c=r,dv.call(this,t,n)}function BOe(e,t,n){e.i=0,e.e=0,t!=n&&RWe(e,t,n)}function VOe(e,t,n){e.i=0,e.e=0,t!=n&&zWe(e,t,n)}function HOe(e,t,n){return Kh(),$qe(I(SC(e.e,t),529),n)}function ww(e){var t;return t=e.f,t||(e.f=new mh(e,e.c))}function UOe(e,t){return yM(e.j,t.s,t.c)+yM(t.e,e.s,e.c)}function WOe(e,t){e.e&&!e.e.a&&(Zd(e.e,t),WOe(e.e,t))}function GOe(e,t){e.d&&!e.d.a&&(Zd(e.d,t),GOe(e.d,t))}function KOe(e,t){return-KM(qx(e)*Kx(e),qx(t)*Kx(t))}function qOe(e){return I(e.ld(),149).Pg()+`:`+mN(e.md())}function JOe(){EI(this,new Vc),this.wb=(yC(),K7),Ym()}function YOe(e){this.b=new qd,nj(this.b,this.b),this.a=e}function XOe(e,t){new Dh,this.a=new mp,this.b=e,this.c=t}function Tw(){Tw=C,ASt=new le,TY=new le,jSt=new ue}function Ew(){Ew=C,xY=new ae,SY=new se,CY=new w}function ZOe(){ZOe=C,lCt=new Ue,dCt=new cTe,uCt=new We}function Dw(){Dw=C,wX=new qd,CX=new Kd,SX=new qd}function Ow(e,t){if(e==null)throw k(new am(t));return e}function kw(e){return!e.a&&(e.a=new L(s7,e,10,11)),e.a}function Aw(e){return!e.q&&(e.q=new L(B7,e,11,10)),e.q}function B(e){return!e.s&&(e.s=new L(M7,e,21,17)),e.s}function QOe(e){return hC(e),zZe(new SS(Ty(e.a.Kc(),new d)))}function $Oe(e,t){return Qj(e),Qj(t),jce(I(e,22),I(t,22))}function jw(e,t,n){MO(e,t,new fl(wbe(n)))}function Mw(e,t,n,r,i,a){PD.call(this,e,t,n,r,i,a?-2:-1)}function eke(e,t,n,r){rme.call(this,t,n),this.b=e,this.a=r}function tke(e,t){dce.call(this,new CS(e)),this.a=e,this.b=t}function nke(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function rke(e){nx();var t=I(e.g,10);t.n.a=e.d.c+t.d.b}function Nw(){Nw=C;var e,t=!SYe();e=new b,Xxt=t?new y:e}function Pw(e){return Ew(),P(e,59)?new Tm(e):new jy(e)}function Fw(e){return P(e,16)?new Vx(I(e,16)):cCe(e.Kc())}function ike(e){return new Hge(e,e.e.Rd().gc()*e.c.Rd().gc())}function ake(e){return new Uge(e,e.e.Rd().gc()*e.c.Rd().gc())}function oke(e){return e&&e.hashCode?e.hashCode():zy(e)}function Iw(e,t){return t==null?!!tS(e.f,null):eTe(e.i,t)}function ske(e,t){var n=oge(e.a,t);return n&&(t.d=null),n}function cke(e,t,n){return e.f?e.f.ef(t,n):!1}function Lw(e,t,n,r){CC(e.c[t.g],n.g,r),CC(e.c[n.g],t.g,r)}function Rw(e,t,n,r){CC(e.c[t.g],t.g,n),CC(e.b[t.g],t.g,r)}function lke(e,t,n){return A(F(n.a))<=e&&A(F(n.b))>=t}function uke(e,t){this.g=e,this.d=W(j(oZ,1),YU,10,0,[t])}function dke(e){this.c=e,this.b=new ih(I(hC(new tee),50))}function fke(e){this.c=e,this.b=new ih(I(hC(new zt),50))}function pke(e){this.b=e,this.a=new ih(I(hC(new aee),50))}function mke(){this.b=new If,this.d=new Dh,this.e=new np}function hke(){this.c=new qm,this.d=new qm,this.e=new qm}function zw(){this.a=new mp,this.b=(jk(3,iV),new gD(3))}function Bw(e,t){this.e=e,this.a=PJ,this.b=vrt(t),this.c=t}function Vw(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function gke(e,t,n,r,i,a){this.a=e,Pk.call(this,t,n,r,i,a)}function _ke(e,t,n,r,i,a){this.a=e,Pk.call(this,t,n,r,i,a)}function Hw(e,t,n,r,i,a,o){return new IE(e.e,t,n,r,i,a,o)}function vke(e,t,n){return n>=0&&Rb(e.substr(n,t.length),t)}function yke(e,t){return P(t,149)&&Rb(e.b,I(t,149).Pg())}function bke(e,t){return e.a?t.Gh().Kc():I(t.Gh(),71).Ii()}function xke(e,t){var n=e.b.Qc(t);return LPe(n,e.b.gc()),n}function Uw(e,t){if(e==null)throw k(new am(t));return e}function Ww(e){return e.u||=(ZE(e),new Qve(e,e)),e.u}function Gw(e){this.a=(Ew(),P(e,59)?new Tm(e):new jy(e))}function Kw(e){return I(FA(e,16),29)||e.ii()}function qw(e,t){var n=Qm(e.Rm);return t==null?n:n+`: `+t}function Jw(e,t,n){return TD(t,n,e.length),e.substr(t,n-t)}function Ske(e,t){Mb.call(this),dBe(this),this.a=e,this.c=t}function Cke(e){!e||qw(e,e.ie())}function wke(e){vm(),r.setTimeout(function(){throw e},0)}function Tke(){return yP(),W(j(pCt,1),Z,436,0,[BY,fCt])}function Eke(){return OO(),W(j(gCt,1),Z,435,0,[hCt,VY])}function Dke(){return kO(),W(j(Ywt,1),Z,432,0,[TX,EX])}function Oke(){return gA(),W(j(yEt,1),Z,517,0,[hZ,mZ])}function kke(){return SE(),W(j(_Ot,1),Z,429,0,[l$,gOt])}function Ake(){return AO(),W(j(WDt,1),Z,428,0,[jQ,UDt])}function jke(){return bD(),W(j(MDt,1),Z,431,0,[jDt,SQ])}function Mke(){return _O(),W(j(BMt,1),Z,430,0,[l2,u2])}function Nke(){return CE(),W(j(ONt,1),Z,531,0,[k2,O2])}function Pke(){return Hk(),W(j(TFt,1),Z,501,0,[O4,k4])}function Fke(){return lT(),W(j(LNt,1),Z,523,0,[N2,M2])}function Ike(){return uT(),W(j(zNt,1),Z,522,0,[P2,F2])}function Lke(){return vD(),W(j(tPt,1),Z,528,0,[z2,R2])}function Rke(){return qD(),W(j(ZDt,1),Z,488,0,[XDt,VQ])}function zke(){return JE(),W(j(fLt,1),Z,491,0,[h3,dLt])}function Bke(){return XA(),W(j(bLt,1),Z,492,0,[vLt,yLt])}function Vke(){return zT(),W(j(yFt,1),Z,433,0,[E4,vFt])}function Hke(){return BD(),W(j(AFt,1),Z,434,0,[kFt,F4])}function Uke(){return cT(),W(j(cPt,1),Z,465,0,[B2,V2])}function Wke(){return yD(),W(j(ALt,1),Z,438,0,[k3,O3])}function Gke(){return sj(),W(j(gRt,1),Z,437,0,[L3,hRt])}function Kke(){return ix(),W(j(H5,1),Z,347,0,[PBt,FBt])}function Yw(e,t,n,r){return n>=0?e.Uh(t,n,r):e.Ch(null,n,r)}function Xw(e){return e.b.b==0?e.a.sf():fx(e.b)}function qke(e){if(e.p!=5)throw k(new bf);return dS(e.f)}function Jke(e){if(e.p!=5)throw k(new bf);return dS(e.k)}function Yke(e){return N(e.a)===N((hA(),JVt))&&wct(e),e.a}function Xke(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=Wx(e.c,e.b,e.a))}function Zke(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=Wx(e.c,e.b,e.a))}function Qke(e,t){El(this,new M(e.a,e.b)),Qie(this,mx(t))}function Zw(){fce.call(this,new Th(LO(12))),Nge(!0),this.a=2}function Qw(e,t,n){pB(),Wd.call(this,e),this.b=t,this.a=n}function $ke(e,t,n){Jv(),Ld.call(this,t),this.a=e,this.b=n}function eAe(e){var t=e.c.d.b;e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function tAe(e){return e.b==0?null:(hb(e.b!=0),WO(e,e.a.a))}function $w(e,t){return t==null?X_(tS(e.f,null)):mg(e.i,t)}function nAe(e,t,n,r,i){return new II(e,(GD(),kY),t,n,r,i)}function eT(e,t){return OPe(t),BBe(e,H(q9,DV,28,t,15,1),t)}function tT(e,t){return Ow(e,`set1`),Ow(t,`set2`),new que(e,t)}function rAe(e,t){return qJ[e.charCodeAt(0)]??e}function iAe(e,t){var n=t,r=new _e;return Plt(e,n,r),r.d}function nT(e,t,n,r){var i=new gye;t.a[n.g]=i,JS(e.b,r,i)}function aAe(e,t){return Nb(sb(EBe(e.f,t)),e.f.d)}function rT(e){var t;sVe(e.a),xhe(e.a),t=new wu(e.a),_Je(t)}function oAe(e,t){Gnt(e,!0),UO(e.e.Rf(),new exe(e,!0,t))}function sAe(e,t){return Dw(),e==_T(xI(t))||e==_T(SI(t))}function cAe(e,t){return QO(),I(K(t,(tz(),x4)),17).a==e}function iT(e){return Math.max(Math.min(e,SB),-2147483648)|0}function lAe(e){this.a=I(hC(e),277),this.b=(Ew(),new i_e(e))}function uAe(e,t,n){this.i=new qd,this.b=e,this.g=t,this.a=n}function dAe(e,t,n){this.a=new qd,this.e=e,this.f=t,this.c=n}function aT(e,t,n){this.c=new qd,this.e=e,this.f=t,this.b=n}function fAe(e){Mb.call(this),dBe(this),this.a=e,this.c=!0}function pAe(e){function t(){}return t.prototype=e||{},new t}function mAe(e){if(e.Ae())return null;var t=e.n;return NJ[t]}function oT(e){return e.Db>>16==3?I(e.Cb,27):null}function sT(e){return e.Db>>16==9?I(e.Cb,27):null}function hAe(e){return e.Db>>16==6?I(e.Cb,74):null}function cT(){cT=C,B2=new rpe(EH,0),V2=new rpe(DH,1)}function lT(){lT=C,N2=new Ufe(DH,0),M2=new Ufe(EH,1)}function uT(){uT=C,P2=new Wfe(NH,0),F2=new Wfe(`UP`,1)}function gAe(){gAe=C,Uxt=tM((Wp(),W(j(Hxt,1),Z,549,0,[GJ])))}function _Ae(e){var t=new rh(LO(e.length));return wWe(t,e),t}function vAe(e,t){return e.b+=t.b,e.c+=t.c,e.d+=t.d,e.a+=t.a,e}function yAe(e,t){return FUe(e,t)?(KBe(e),!0):!1}function dT(e,t){if(t==null)throw k(new xf);return PYe(e,t)}function fT(e,t){var n=e.q.getHours();e.q.setDate(t),lz(e,n)}function bAe(e,t,n){var r=e.Ih(t);r>=0?e.bi(r,n):M9e(e,t,n)}function xAe(e,t){var n=e.Ih(t);return n>=0?e.Wh(n):cL(e,t)}function SAe(e,t){var n;for(hC(t),n=e.a;n;n=n.c)t.Yd(n.g,n.i)}function pT(e,t,n){e.b=new Zk(kWe(e,t,n).c.length)}function mT(e,t,n){yT(),e&&GC(x7,e,t),e&&GC(b7,e,n)}function CAe(e,t){return tx(),Vy(),I(t.a,17).a0}function EAe(e){var t=e.d;return t=e.bj(e.f),OD(e,t),t.Ob()}function DAe(e,t){var n=new Fwe(t);return L2e(n,e),new Gb(n)}function OAe(e){if(e.p!=0)throw k(new bf);return nv(e.f,0)}function kAe(e){if(e.p!=0)throw k(new bf);return nv(e.k,0)}function AAe(e){return e.Db>>16==7?I(e.Cb,241):null}function gT(e){return e.Db>>16==6?I(e.Cb,241):null}function jAe(e){return e.Db>>16==7?I(e.Cb,167):null}function _T(e){return e.Db>>16==11?I(e.Cb,27):null}function vT(e){return e.Db>>16==17?I(e.Cb,29):null}function MAe(e){return e.Db>>16==3?I(e.Cb,155):null}function NAe(e){var t;return YM(e),t=new If,aw(e,new Tae(t))}function PAe(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.ve(t))}function FAe(e,t){var n=e.q.getHours();e.q.setMonth(t),lz(e,n)}function IAe(e,t){yy(this),this.f=t,this.g=e,bw(this),this.je()}function LAe(e,t){this.a=e,this.c=iy(this.a),this.b=new Vw(t)}function RAe(e,t,n){this.a=t,this.c=e,this.b=(hC(n),new Gb(n))}function zAe(e,t,n){this.a=t,this.c=e,this.b=(hC(n),new Gb(n))}function BAe(e){this.a=e,this.b=H(CNt,X,2043,e.e.length,0,2)}function VAe(){this.a=new Tv,this.e=new If,this.g=0,this.i=0}function yT(){yT=C,x7=new Kd,b7=new Kd,Wpe(PSt,new tre)}function HAe(){HAe=C,aNt=uS(new WC,(vI(),WX),(fB(),LZ))}function UAe(){UAe=C,oNt=uS(new WC,(vI(),WX),(fB(),LZ))}function WAe(){WAe=C,cNt=uS(new WC,(vI(),WX),(fB(),LZ))}function GAe(){GAe=C,ANt=Px(new WC,(vI(),WX),(fB(),xZ))}function bT(){bT=C,NNt=Px(new WC,(vI(),WX),(fB(),xZ))}function KAe(){KAe=C,INt=Px(new WC,(vI(),WX),(fB(),xZ))}function xT(){xT=C,VNt=Px(new WC,(vI(),WX),(fB(),xZ))}function ST(e,t,n,r,i,a){return new lO(e.e,t,e.Lj(),n,r,i,a)}function CT(e,t,n){return t==null?XI(e.f,null,n):XM(e.i,t,n)}function wT(e,t){e.c&&XD(e.c.g,e),e.c=t,e.c&&py(e.c.g,e)}function TT(e,t){e.c&&XD(e.c.a,e),e.c=t,e.c&&py(e.c.a,e)}function ET(e,t){e.i&&XD(e.i.j,e),e.i=t,e.i&&py(e.i.j,e)}function DT(e,t){e.d&&XD(e.d.e,e),e.d=t,e.d&&py(e.d.e,e)}function OT(e,t){e.a&&XD(e.a.k,e),e.a=t,e.a&&py(e.a.k,e)}function kT(e,t){e.b&&XD(e.b.f,e),e.b=t,e.b&&py(e.b.f,e)}function qAe(e,t){nDe(e,e.b,e.c),I(e.b.b,68),t&&I(t.b,68).b}function JAe(e,t){return KM(I(e.c,65).c.e.b,I(t.c,65).c.e.b)}function YAe(e,t){return KM(I(e.c,65).c.e.a,I(t.c,65).c.e.a)}function XAe(e){return Zj(),Vy(),I(e.a,86).d.e!=0}function AT(e,t){P(e.Cb,184)&&(I(e.Cb,184).tb=null),eA(e,t)}function jT(e,t){P(e.Cb,90)&&$I(ZE(I(e.Cb,90)),4),eA(e,t)}function ZAe(e,t){Fqe(e,t),P(e.Cb,90)&&$I(ZE(I(e.Cb,90)),2)}function QAe(e,t){t.c!=null&&EC(e,new gC(t.c))}function $Ae(e){var t,n=(Ym(),t=new Xd,t);return qO(n,e),n}function eje(e){var t,n=(Ym(),t=new Xd,t);return qO(n,e),n}function tje(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function nje(e,t,n){return py(e.a,(KC(),aF(t,n),new gh(t,n))),e}function MT(e,t){return sg(),yO(t)?new jx(t,e):new J_(t,e)}function NT(e){return OR(),lM(e,0)>=0?RN(e):tC(RN(ZD(e)))}function rje(e){var t=I(Tx(e.b),9);return new Kb(e.a,t,e.c)}function ije(e,t){var n=I(bM(ww(e.a),t),16);return n?n.gc():0}function aje(e,t,n){var r;UKe(t,n,e.c.length),r=n-t,pue(e.c,t,r)}function PT(e,t,n){UKe(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function FT(e){this.c=new Dh,this.b=e.b,this.d=e.c,this.a=e.a}function IT(e){this.a=r.Math.cos(e),this.b=r.Math.sin(e)}function LT(e,t,n,r){this.c=e,this.d=r,OT(this,t),kT(this,n)}function oje(e,t){uce.call(this,new Th(LO(e))),jk(t,ipt),this.a=t}function sje(e,t,n){return new II(e,(GD(),OY),null,!1,t,n)}function cje(e,t,n){return new II(e,(GD(),AY),t,n,null,!1)}function lje(){return Xj(),W(j(IY,1),Z,108,0,[nCt,PY,FY])}function uje(){return hO(),W(j(HCt,1),Z,472,0,[tX,eX,$Y])}function dje(){return KD(),W(j(zCt,1),Z,471,0,[ZY,XY,QY])}function fje(){return YO(),W(j(qY,1),Z,237,0,[WY,GY,KY])}function pje(){return mO(),W(j(ITt,1),Z,391,0,[RX,LX,zX])}function mje(){return Vk(),W(j(aQ,1),Z,372,0,[iQ,rQ,nQ])}function hje(){return Nk(),W(j(FDt,1),Z,322,0,[wQ,CQ,PDt])}function gje(){return Sk(),W(j(RDt,1),Z,351,0,[LDt,EQ,TQ])}function _je(){return gj(),W(j(KDt,1),Z,460,0,[NQ,MQ,PQ])}function vje(){return YA(),W(j(a$,1),Z,299,0,[r$,i$,n$])}function yje(){return gO(),W(j(mOt,1),Z,311,0,[s$,c$,o$])}function bje(){return dM(),W(j(TMt,1),Z,390,0,[U0,wMt,W0])}function xje(){return Ck(),W(j(HMt,1),Z,463,0,[p2,d2,f2])}function Sje(){return TA(),W(j(KMt,1),Z,387,0,[WMt,m2,GMt])}function Cje(){return Mj(),W(j(JMt,1),Z,349,0,[_2,h2,g2])}function wje(){return Yj(),W(j(ZMt,1),Z,350,0,[v2,XMt,y2])}function Tje(){return xk(),W(j(tNt,1),Z,352,0,[eNt,b2,$Mt])}function Eje(){return oj(),W(j(rNt,1),Z,388,0,[S2,C2,x2])}function Dje(){return bk(),W(j(xNt,1),Z,464,0,[w2,T2,E2])}function RT(e){return xj(W(j(e6,1),X,8,0,[e.i.n,e.n,e.a]))}function Oje(){return Nj(),W(j(EPt,1),Z,392,0,[TPt,Y2,J2])}function kje(){kje=C,xFt=uS(new WC,(OF(),W2),(FR(),mPt))}function zT(){zT=C,E4=new ipe(`DFS`,0),vFt=new ipe(`BFS`,1)}function Aje(e,t,n){var r=new Vte;r.b=t,r.a=n,++t.b,py(e.d,r)}function jje(e,t,n){var r=new Ev(n.d);Nb(r,e),Pqe(t,r.a,r.b)}function Mje(e,t){Cge(e,dS(GT(vS(t,24),aH)),dS(GT(t,aH)))}function BT(e,t){if(e<0||e>t)throw k(new em(Ypt+e+Xpt+t))}function VT(e,t){if(e<0||e>=t)throw k(new em(Ypt+e+Xpt+t))}function HT(e,t){if(e<0||e>=t)throw k(new Xce(Ypt+e+Xpt+t))}function UT(e,t){this.b=(BC(e),e),this.a=(t&BV)==0?t|64|VB:t}function Nje(e){var t;return YM(e),t=(Tw(),Tw(),TY),zO(e,t)}function Pje(e,t,n){var r=gz(e,t,!1);return r.b<=t&&r.a<=n}function Fje(){return JD(),W(j(gLt,1),Z,439,0,[g3,hLt,mLt])}function Ije(){return oN(),W(j(kIt,1),Z,394,0,[OIt,o3,DIt])}function Lje(){return UN(),W(j(xIt,1),Z,445,0,[G4,K4,q4])}function Rje(){return HP(),W(j(CIt,1),Z,456,0,[J4,X4,Y4])}function zje(){return Jj(),W(j(PFt,1),Z,393,0,[I4,MFt,NFt])}function Bje(){return wA(),W(j(yIt,1),Z,300,0,[W4,vIt,_It])}function Vje(){return pM(),W(j(dBt,1),Z,346,0,[T8,w8,E8])}function Hje(){return IM(),W(j(T3,1),Z,444,0,[S3,C3,w3])}function Uje(){return XO(),W(j(Yzt,1),Z,278,0,[m8,h8,g8])}function Wje(){return fM(),W(j(MBt,1),Z,280,0,[jBt,B5,V5])}function WT(e){return hC(e),P(e,16)?new Gb(I(e,16)):px(e.Kc())}function Gje(e,t){return e&&e.equals?e.equals(t):N(e)===N(t)}function GT(e,t){return PA(kTe(wv(e)?VA(e):e,wv(t)?VA(t):t))}function KT(e,t){return PA(ATe(wv(e)?VA(e):e,wv(t)?VA(t):t))}function qT(e,t){return PA(jTe(wv(e)?VA(e):e,wv(t)?VA(t):t))}function Kje(e,t){var n=(BC(e),e).g;return Sve(!!n),BC(t),n(t)}function qje(e,t){var n,r=GS(e,t);return n=e.a.fd(r),new Wue(e,n)}function Jje(e){return e.Db>>16==6?I(xL(e),241):null}function Yje(e){if(e.p!=2)throw k(new bf);return dS(e.f)&_V}function Xje(e){if(e.p!=2)throw k(new bf);return dS(e.k)&_V}function V(e){return hb(e.ar)}function fMe(e,t){var n=$D(t);return I(SC(e.c,n),17).a}function ZT(e,t,n){var r=e.d[t.p];e.d[t.p]=e.d[n.p],e.d[n.p]=r}function pMe(e,t,n){var r;e.n&&t&&n&&(r=new Eo,py(e.e,r))}function QT(e,t){if(KS(e.a,t),t.d)throw k(new Hp($pt));t.d=e}function mMe(e,t){this.a=new qd,this.d=new qd,this.f=e,this.c=t}function hMe(){this.c=new rge,this.a=new vIe,this.b=new Yf,wde()}function gMe(){cj(),this.b=new Kd,this.a=new Kd,this.c=new qd}function _Me(e,t,n){this.d=e,this.j=t,this.e=n,this.o=-1,this.p=3}function vMe(e,t,n){this.d=e,this.k=t,this.f=n,this.o=-1,this.p=5}function yMe(e,t,n,r,i,a){jBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function bMe(e,t,n,r,i,a){MBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function xMe(e,t,n,r,i,a){LFe.call(this,e,t,n,r,i),a&&(this.o=-2)}function SMe(e,t,n,r,i,a){FBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function CMe(e,t,n,r,i,a){RFe.call(this,e,t,n,r,i),a&&(this.o=-2)}function wMe(e,t,n,r,i,a){NBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function TMe(e,t,n,r,i,a){PBe.call(this,e,t,n,r,i),a&&(this.o=-2)}function EMe(e,t,n,r,i,a){zFe.call(this,e,t,n,r,i),a&&(this.o=-2)}function DMe(e,t,n,r){Ld.call(this,n),this.b=e,this.c=t,this.d=r}function OMe(e,t){this.f=e,this.a=(mD(),m9),this.c=m9,this.b=t}function kMe(e,t){this.g=e,this.d=(mD(),h9),this.a=h9,this.b=t}function AMe(e,t){!e.c&&(e.c=new kA(e,0)),wz(e.c,(zz(),T9),t)}function jMe(e,t){return H7e(e,t,P(t,102)&&(I(t,19).Bb&UV)!=0)}function MMe(e,t){return vEe(zA(e.q.getTime()),zA(t.q.getTime()))}function NMe(e){return Fx(e.e.Rd().gc()*e.c.Rd().gc(),16,new wie(e))}function PMe(e){return!!e.u&&AE(e.u.a).i!=0&&!(e.n&&eF(e.n))}function FMe(e){return!!e.a&&iO(e.a.a).i!=0&&!(e.b&&tF(e.b))}function IMe(e,t){return t==0?!!e.o&&e.o.f!=0:xP(e,t)}function LMe(e,t,n){var r=I(e.Zb().xc(t),16);return!!r&&r.Hc(n)}function RMe(e,t,n){var r=I(e.Zb().xc(t),16);return!!r&&r.Mc(n)}function zMe(e,t){var n=1-t;return e.a[n]=Kk(e.a[n],n),Kk(e,t)}function BMe(e,t){var n,r=GT(e,qV);return n=_S(t,32),KT(n,r)}function VMe(e,t,n){ZQe(new RAe((hC(e),new Gb(e)),t,n))}function $T(e,t,n){QQe(new zAe((hC(e),new Gb(e)),t,n))}function eE(e,t,n,r,i,a){return oUe(e,t,n,a),JKe(e,r),YKe(e,i),e}function HMe(e,t,n,r){return e.a+=``+Jw(t==null?OB:mN(t),n,r),e}function tE(e,t){this.a=e,tu.call(this,e),BT(t,e.gc()),this.b=t}function UMe(e){this.a=H(PJ,DB,1,dWe(r.Math.max(8,e))<<1,5,1)}function nE(e){return I(uP(e,H(oZ,YU,10,e.c.length,0,1)),199)}function rE(e){return I(uP(e,H(aZ,JU,18,e.c.length,0,1)),483)}function WMe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(``+e.e):e.c}function iE(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function GMe(e){return hb(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function KMe(e,t,n){e.a=t,e.c=n,e.b.a.$b(),Sw(e.d),kf(e.e.a.c,0)}function qMe(e,t){var n;e.e=new kp,n=aR(t),Qv(n,e.c),hnt(e,n,0)}function aE(e,t,n,r){var i=new to;i.a=t,i.b=n,i.c=r,Dx(e.a,i)}function oE(e,t,n,r){var i=new to;i.a=t,i.b=n,i.c=r,Dx(e.b,i)}function JMe(e,t,n){if(e<0||tn)throw k(new em(v3e(e,t,n)))}function sE(e,t){if(e<0||e>=t)throw k(new em(k6e(e,t)));return e}function YMe(e){if(!(`stack`in e))try{throw e}catch{}return e}function cE(e){return Kh(),P(e.g,10)?I(e.g,10):null}function XMe(e){return lw(e).dc()?!1:(jhe(e,new h),!0)}function lE(e){var t;return wv(e)?(t=e,t==-0?0:t):VRe(e)}function ZMe(e,t){return P(t,44)?lF(e.a,I(t,44)):!1}function QMe(e,t){return P(t,44)?lF(e.a,I(t,44)):!1}function $Me(e,t){return P(t,44)?lF(e.a,I(t,44)):!1}function eNe(e){var t;return LC(e),t=new de,ch(e.a,new yu(t)),t}function tNe(){var e,t=(n=(e=new Xd,e),n),n;return py(cHt,t),t}function uE(e){var t;return LC(e),t=new fe,ch(e.a,new Cae(t)),t}function nNe(e,t){return e.a<=e.b?(t.Dd(e.a++),!0):!1}function rNe(e){lA.call(this,e,(GD(),DY),null,!1,null,!1)}function iNe(){iNe=C,Twt=tM((Hh(),W(j(wwt,1),Z,489,0,[vX])))}function aNe(){aNe=C,hNt=UDe(gM(1),gM(4)),mNt=UDe(gM(1),gM(2))}function oNe(e,t){return new ox(t,cb(iy(t.e),e,e),(Vy(),!0))}function dE(e){return new gD((jk(e,oV),IO(eN(eN(5,e),e/10|0))))}function sNe(e){return Fx(e.e.Rd().gc()*e.c.Rd().gc(),273,new Cie(e))}function cNe(e){return I(uP(e,H(gEt,iht,12,e.c.length,0,1)),2042)}function lNe(e){return bT(),!XE(e)&&!(!XE(e)&&e.c.i.c==e.d.i.c)}function uNe(e,t){return ZO(),I(K(t,(tz(),v4)),17).a>=e.gc()}function fE(e,t){Hdt(t,e),ACe(e.d),ACe(I(K(e,(cB(),K1)),214))}function pE(e,t){Udt(t,e),jCe(e.d),jCe(I(K(e,(cB(),K1)),214))}function dNe(e,t,n){e.d&&XD(e.d.e,e),e.d=t,e.d&&rS(e.d.e,n,e)}function fNe(e,t,n){return n.f.c.length>0?lEe(e.a,t,n):lEe(e.b,t,n)}function pNe(e,t,n){var r=fXe();try{return dye(e,t,n)}finally{BPe(r)}}function mE(e,t){var n=dT(e,t),r=null;return n&&(r=n.pe()),r}function hE(e,t){var n=dT(e,t),r=null;return n&&(r=n.se()),r}function gE(e,t){var n=wO(e,t),r=null;return n&&(r=n.se()),r}function _E(e,t){var n=dT(e,t),r=null;return n&&(r=D3e(n)),r}function mNe(e,t,n){var r=XN(n);return MR(e.g,r,t),MR(e.i,t,n),t}function hNe(e,t,n){this.d=new ed(this),this.e=e,this.i=t,this.f=n}function gNe(e,t,n,r){this.e=null,this.c=e,this.d=t,this.a=n,this.b=r}function _Ne(e,t,n,r){Khe(this),this.c=e,this.e=t,this.f=n,this.b=r}function vNe(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function yNe(e,t,n,r){return P(n,59)?new w_e(e,t,n,r):new ITe(e,t,n,r)}function vE(e){return P(e,16)?I(e,16).dc():!e.Kc().Ob()}function bNe(e){if(e.e.g!=e.b)throw k(new Cf);return!!e.c&&e.d>0}function yE(e){return hb(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function xNe(e,t){BC(t),CC(e.a,e.c,t),e.c=e.c+1&e.a.length-1,LQe(e)}function bE(e,t){BC(t),e.b=e.b-1&e.a.length-1,CC(e.a,e.b,t),LQe(e)}function SNe(e){var t=e.Gh();this.a=P(t,71)?I(t,71).Ii():t.Kc()}function CNe(e){return new UT(lBe(I(e.a.md(),16).gc(),e.a.ld()),16)}function wNe(){wNe=C,DLt=tM((Yh(),W(j(ELt,1),Z,490,0,[E3])))}function TNe(){TNe=C,kLt=tM((Xh(),W(j(OLt,1),Z,558,0,[D3])))}function ENe(){ENe=C,mRt=tM((Zh(),W(j(pRt,1),Z,539,0,[I3])))}function DNe(){return aP(),W(j(nEt,1),Z,389,0,[rZ,tEt,tZ,nZ])}function ONe(){return GD(),W(j(jY,1),Z,304,0,[DY,OY,kY,AY])}function kNe(){return MP(),W(j(gwt,1),Z,332,0,[lX,cX,uX,dX])}function ANe(){return jP(),W(j(Swt,1),Z,406,0,[hX,mX,gX,_X])}function jNe(){return JA(),W(j(mwt,1),Z,417,0,[sX,iX,aX,oX])}function MNe(){return aj(),W(j(qTt,1),Z,416,0,[XX,$X,ZX,QX])}function NNe(){return ij(),W(j(yDt,1),Z,421,0,[qZ,JZ,YZ,XZ])}function PNe(){return rj(),W(j(aDt,1),Z,371,0,[KZ,WZ,GZ,UZ])}function FNe(){return VP(),W(j(Y0,1),Z,203,0,[q0,J0,K0,G0])}function INe(){return YN(),W(j(RMt,1),Z,284,0,[o2,LMt,s2,c2])}function LNe(e){var t;return e.j==(Qz(),S5)&&(t=D5e(e),Ly(t,i5))}function RNe(e,t){var n=t.a;wT(n,t.c.d),DT(n,t.d.d),xA(n.a,e.n)}function zNe(e,t){var n=I(CO(e.b,t),67);return!n&&(n=new Dh),n}function xE(e){return Kh(),P(e.g,154)?I(e.g,154):null}function BNe(e){e.a=null,e.e=null,kf(e.b.c,0),kf(e.f.c,0),e.c=null}function SE(){SE=C,l$=new Ife(TH,0),gOt=new Ife(`TOP_LEFT`,1)}function CE(){CE=C,k2=new zfe(`UPPER`,0),O2=new zfe(`LOWER`,1)}function VNe(e,t){return dy(new M(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)}function HNe(e,t){return I(My(ES(I(rD(e.k,t),15).Oc(),mQ)),113)}function UNe(e,t){return I(My(DS(I(rD(e.k,t),15).Oc(),mQ)),113)}function WNe(){return OF(),W(j(uPt,1),Z,405,0,[H2,U2,W2,G2])}function GNe(){return qj(),W(j(gFt,1),Z,353,0,[T4,C4,w4,S4])}function KNe(){return uF(),W(j(hIt,1),Z,354,0,[U4,pIt,mIt,fIt])}function qNe(){return HN(),W(j(A5,1),Z,386,0,[O5,k5,D5,E5])}function JNe(){return kF(),W(j(pBt,1),Z,291,0,[A8,D8,O8,k8])}function YNe(){return aN(),W(j(x8,1),Z,223,0,[b8,v8,_8,y8])}function XNe(){return wN(),W(j(BBt,1),Z,320,0,[U5,LBt,zBt,RBt])}function ZNe(){return jj(),W(j(KBt,1),Z,415,0,[W5,WBt,UBt,GBt])}function QNe(e){return yT(),RS(x7,e)?I(SC(x7,e),341).Qg():null}function wE(e,t,n){return t<0?cL(e,n):I(n,69).wk().Bk(e,e.hi(),t)}function $Ne(e,t,n){var r=XN(n);return MR(e.j,r,t),GC(e.k,t,n),t}function ePe(e,t,n){var r=XN(n);return MR(e.d,r,t),GC(e.e,t,n),t}function tPe(e){var t=(Jm(),n=new ko,n),n;return e&&HL(t,e),t}function nPe(e){var t=e.aj(e.i);return e.i>0&&$R(e.g,0,t,0,e.i),t}function rPe(e,t){var n;for(n=e.j.c.length;n>24}function sPe(e){if(e.p!=1)throw k(new bf);return dS(e.k)<<24>>24}function cPe(e){if(e.p!=7)throw k(new bf);return dS(e.k)<<16>>16}function lPe(e){if(e.p!=7)throw k(new bf);return dS(e.f)<<16>>16}function TE(e,t){return t.e==0||e.e==0?_Y:(dR(),Met(e,t))}function uPe(e,t){return N(t)===N(e)?`(this Map)`:t==null?OB:mN(t)}function dPe(e,t,n){return bS(F(X_(tS(e.f,t))),F(X_(tS(e.f,n))))}function fPe(e,t,n){var r=I(SC(e.g,n),60);py(e.a.c,new W_(t,r))}function pPe(e,t,n){e.i=0,e.e=0,t!=n&&(zWe(e,t,n),RWe(e,t,n))}function mPe(e,t,n,r,i){py(t,g6e(i,f9e(i,n,r))),p4e(e,i,t)}function hPe(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function gPe(e,t){hke.call(this),this.a=e,this.b=t,py(this.a.b,this)}function _Pe(e){this.b=new Kd,this.c=new Kd,this.d=new Kd,this.a=e}function vPe(e,t){var n=new Sm;return e.Gd(n),n.a+=`..`,t.Hd(n),n.a}function yPe(e,t){for(var n=t;n;)ob(e,n.i,n.j),n=_T(n);return e}function bPe(e,t,n){var r=XN(n);return GC(e.b,r,t),GC(e.c,t,n),t}function EE(e){for(var t=0;e.Ob();)e.Pb(),t=eN(t,1);return IO(t)}function DE(e,t){sg();var n=I(e,69).vk();return L4e(n,t),n.xl(t)}function xPe(e,t,n){if(n){var r=n.oe();e.a[t]=r(n)}else delete e.a[t]}function SPe(e,t){var n=e.q.getHours();e.q.setFullYear(t+EV),lz(e,n)}function CPe(e,t){return I(t==null?X_(tS(e.f,null)):mg(e.i,t),288)}function wPe(e,t){return e==(DI(),dZ)&&t==dZ?4:e==dZ||t==dZ?8:32}function OE(e,t,n){return az(e,t,n,P(t,102)&&(I(t,19).Bb&UV)!=0)}function TPe(e,t,n){return dz(e,t,n,P(t,102)&&(I(t,19).Bb&UV)!=0)}function EPe(e,t,n){return $7e(e,t,n,P(t,102)&&(I(t,19).Bb&UV)!=0)}function DPe(e){e.b!=e.c&&(e.a=H(PJ,DB,1,8,5,1),e.b=0,e.c=0)}function kE(e){return hb(e.a=0&&e.a[n]===t[n];n--);return n<0}function HE(e){var t;return e?new Fwe(e):(t=new Tv,Qk(t,e),t)}function zPe(e,t){var n,r=!1;do n=mWe(e,t),r|=n;while(n);return r}function BPe(e){e&&uze((Sce(),Yxt)),--JJ,e&&YJ!=-1&&(Cme(YJ),YJ=-1)}function UE(e){s2e(),Cge(this,dS(GT(vS(e,24),aH)),dS(GT(e,aH)))}function VPe(){VPe=C,mCt=tM((yP(),W(j(pCt,1),Z,436,0,[BY,fCt])))}function HPe(){HPe=C,_Ct=tM((OO(),W(j(gCt,1),Z,435,0,[hCt,VY])))}function UPe(){UPe=C,Xwt=tM((kO(),W(j(Ywt,1),Z,432,0,[TX,EX])))}function WPe(){WPe=C,bEt=tM((gA(),W(j(yEt,1),Z,517,0,[hZ,mZ])))}function GPe(){GPe=C,vOt=tM((SE(),W(j(_Ot,1),Z,429,0,[l$,gOt])))}function KPe(){KPe=C,GDt=tM((AO(),W(j(WDt,1),Z,428,0,[jQ,UDt])))}function qPe(){qPe=C,QDt=tM((qD(),W(j(ZDt,1),Z,488,0,[XDt,VQ])))}function JPe(){JPe=C,VMt=tM((_O(),W(j(BMt,1),Z,430,0,[l2,u2])))}function YPe(){YPe=C,kNt=tM((CE(),W(j(ONt,1),Z,531,0,[k2,O2])))}function XPe(){XPe=C,NDt=tM((bD(),W(j(MDt,1),Z,431,0,[jDt,SQ])))}function ZPe(){ZPe=C,bFt=tM((zT(),W(j(yFt,1),Z,433,0,[E4,vFt])))}function QPe(){QPe=C,EFt=tM((Hk(),W(j(TFt,1),Z,501,0,[O4,k4])))}function $Pe(){$Pe=C,RNt=tM((lT(),W(j(LNt,1),Z,523,0,[N2,M2])))}function eFe(){eFe=C,BNt=tM((uT(),W(j(zNt,1),Z,522,0,[P2,F2])))}function tFe(){tFe=C,nPt=tM((vD(),W(j(tPt,1),Z,528,0,[z2,R2])))}function nFe(){nFe=C,lPt=tM((cT(),W(j(cPt,1),Z,465,0,[B2,V2])))}function rFe(){rFe=C,jFt=tM((BD(),W(j(AFt,1),Z,434,0,[kFt,F4])))}function iFe(){iFe=C,pLt=tM((JE(),W(j(fLt,1),Z,491,0,[h3,dLt])))}function aFe(){aFe=C,xLt=tM((XA(),W(j(bLt,1),Z,492,0,[vLt,yLt])))}function oFe(){oFe=C,jLt=tM((yD(),W(j(ALt,1),Z,438,0,[k3,O3])))}function sFe(){sFe=C,_Rt=tM((sj(),W(j(gRt,1),Z,437,0,[L3,hRt])))}function cFe(){cFe=C,IBt=tM((ix(),W(j(H5,1),Z,347,0,[PBt,FBt])))}function lFe(){return FM(),W(j(p8,1),Z,88,0,[d8,u8,l8,c8,f8])}function uFe(){return Qz(),W(j(T5,1),UU,64,0,[C5,a5,i5,S5,w5])}function dFe(e,t,n){return I(t==null?XI(e.f,null,n):XM(e.i,t,n),288)}function fFe(e){return(e.k==(DI(),dZ)||e.k==cZ)&&rb(e,(Y(),g$))}function pFe(e){return e.c&&e.d?cMe(e.c)+`->`+cMe(e.d):`e_`+zy(e)}function WE(e,t){var n,r;for(BC(t),r=e.Kc();r.Ob();)n=r.Pb(),t.Cd(n)}function mFe(e,t){var n=new Up;jw(n,`x`,t.a),jw(n,`y`,t.b),EC(e,n)}function hFe(e,t){var n=new Up;jw(n,`x`,t.a),jw(n,`y`,t.b),EC(e,n)}function gFe(e,t){for(var n=t;n;)ob(e,-n.i,-n.j),n=_T(n);return e}function _Fe(e,t){for(var n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function GE(e,t,n){var r=(VT(t,e.c.length),e.c[t]);return e.c[t]=n,r}function vFe(e,t,n){e.a.c.length=0,kct(e,t,n),e.a.c.length==0||Pit(e,t)}function KE(e){e.i=0,pg(e.b,null),pg(e.c,null),e.a=null,e.e=null,++e.g}function qE(){qE=C,NY=!0,QSt=!1,$St=!1,tCt=!1,eCt=!1}function yFe(e){qE(),!NY&&(this.c=e,this.e=!0,this.a=new qd)}function bFe(e,t){this.c=0,this.b=t,dme.call(this,e,17493),this.a=this.c}function xFe(e){kft(),tf(this),this.a=new Dh,tGe(this,e),Dx(this.a,e)}function SFe(){Hv(this),this.b=new M(RV,RV),this.a=new M(zV,zV)}function JE(){JE=C,h3=new spe(xht,0),dLt=new spe(`TARGET_WIDTH`,1)}function YE(e,t){return(YM(e),oh(new Hx(e,new yRe(t,e.a)))).Bd(LY)}function CFe(){return vI(),W(j(VTt,1),Z,367,0,[BX,VX,HX,UX,WX])}function wFe(){return tI(),W(j(xDt,1),Z,375,0,[QZ,eQ,tQ,$Z,ZZ])}function TFe(){return JN(),W(j(VDt,1),Z,348,0,[DQ,BDt,kQ,AQ,OQ])}function EFe(){return AP(),W(j(kMt,1),Z,323,0,[OMt,Z0,Q0,X0,$0])}function DFe(){return CN(),W(j(jOt,1),Z,171,0,[o1,n1,r1,i1,a1])}function OFe(){return iI(),W(j(DFt,1),Z,368,0,[N4,A4,P4,j4,M4])}function kFe(){return WL(),W(j(CLt,1),Z,373,0,[v3,_3,b3,y3,x3])}function AFe(){return MI(),W(j(FLt,1),Z,324,0,[MLt,A3,PLt,j3,NLt])}function jFe(){return _P(),W(j(G3,1),Z,170,0,[U3,H3,B3,W3,V3])}function MFe(){return bP(),W(j(W8,1),Z,256,0,[H8,U8,gBt,V8,_Bt])}function NFe(e){return vm(),function(){return pNe(e,this,arguments)}}function XE(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function PFe(e,t){return P(t,143)?Rb(e.c,I(t,143).c):!1}function ZE(e){return e.t||(e.t=new Cse(e),PM(new Cce(e),0,e.t)),e.t}function FFe(e){this.b=e,xy.call(this,e),this.a=I(FA(this.b.a,4),129)}function IFe(e){this.b=e,qy.call(this,e),this.a=I(FA(this.b.a,4),129)}function QE(e,t,n,r,i){gIe.call(this,t,r,i),this.c=e,this.b=n}function LFe(e,t,n,r,i){_Me.call(this,t,r,i),this.c=e,this.a=n}function RFe(e,t,n,r,i){vMe.call(this,t,r,i),this.c=e,this.a=n}function zFe(e,t,n,r,i){gIe.call(this,t,r,i),this.c=e,this.a=n}function BFe(e,t){return I(CO(e.d,t),23)||I(CO(e.e,t),23)}function VFe(e,t){var n=t.ld(),r=e.Fe(n);return!!r&&YC(r.e,t.md())}function HFe(e,t){var n=t.ld();return new gh(n,e.e.pc(n,I(t.md(),16)))}function UFe(e,t){return e.a.get(t)??H(PJ,DB,1,0,5,1)}function WFe(e){var t=e.length;return Rb(HV.substr(HV.length-t,t),e)}function $E(e){if(CL(e))return e.c=e.a,e.a.Pb();throw k(new Tf)}function GFe(e,t){return t==0||e.e==0?e:t>0?Ttt(e,t):yYe(e,-t)}function eD(e,t){return t==0||e.e==0?e:t>0?yYe(e,t):Ttt(e,-t)}function KFe(e){Wde.call(this,e==null?OB:mN(e),P(e,82)?I(e,82):null)}function qFe(e){var t;return e.c||(t=e.r,P(t,90)&&(e.c=I(t,29))),e.c}function JFe(e){var t=new zw;return UA(t,e),G(t,(cB(),B1),null),t}function YFe(e){var t=e.c.i,n=e.d.i;return t.k==(DI(),cZ)&&n.k==cZ}function XFe(e){return ty(e&kV,e>>22&kV,e<0?AV:0)}function ZFe(e){var t,n,r,i;for(n=e,r=0,i=n.length;r=0?e.Lh(r,n,!0):mL(e,t,n)}function eIe(e,t,n){return KM(dy(hP(e),iy(t.b)),dy(hP(e),iy(n.b)))}function tIe(e,t,n){return KM(dy(hP(e),iy(t.e)),dy(hP(e),iy(n.e)))}function nIe(e,t){return r.Math.min(AD(t.a,e.d.d.c),AD(t.b,e.d.d.c))}function tD(e,t){e._i(e.i+1),my(e,e.i,e.Zi(e.i,t)),e.Mi(e.i++,t),e.Ni()}function nD(e){var t,n;++e.j,t=e.g,n=e.i,e.g=null,e.i=0,e.Oi(n,t),e.Ni()}function rIe(e,t,n){var r=new $he(e.a);yA(r,e.a.a),XI(r.f,t,n),e.a.a=r}function iIe(e,t,n,r){var i;for(i=0;it)throw k(new em(d6e(e,t,`index`)));return e}function aD(e,t){var n=(VT(t,e.c.length),e.c[t]);return pue(e.c,t,1),n}function lIe(e,t){var n=(BC(e),e),r=(BC(t),t);return n==r?0:nt.p?-1:0}function EIe(e){var t;return e.a||(t=e.r,P(t,156)&&(e.a=I(t,156))),e.a}function DIe(e,t,n){var r;return++e.e,--e.f,r=I(e.d[t].gd(n),136),r.md()}function OIe(e){var t=e.ld();return ux(I(e.md(),16).Nc(),new Eie(t))}function kIe(e,t){return RS(e.a,t)?(sD(e.a,t),!0):!1}function uD(e,t,n){return sE(t,e.e.Rd().gc()),sE(n,e.c.Rd().gc()),e.a[t][n]}function dD(e,t,n){this.a=e,this.b=t,this.c=n,py(e.t,this),py(t.i,this)}function fD(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function pD(){this.b=new Dh,this.a=new Dh,this.b=new Dh,this.a=new Dh}function mD(){mD=C;var e,t;m9=(Ym(),t=new Df,t),h9=(e=new _p,e)}function AIe(e){var t;return YM(e),t=new pCe(e,e.a.e,e.a.d|4),new Dve(e,t)}function jIe(e){var t;for(LC(e),t=0;e.a.Bd(new ze);)t=eN(t,1);return t}function hD(e,t){return BC(t),e.c=0,`Initial capacity must not be negative`)}function _D(){_D=C,$3=new Ad(`org.eclipse.elk.labels.labelManager`)}function MIe(){MIe=C,iDt=new Eb(`separateLayerConnections`,(rj(),KZ))}function vD(){vD=C,z2=new npe(`REGULAR`,0),R2=new npe(`CRITICAL`,1)}function yD(){yD=C,k3=new lpe(`FIXED`,0),O3=new lpe(`CENTER_NODE`,1)}function bD(){bD=C,jDt=new Mfe(`QUADRATIC`,0),SQ=new Mfe(`SCANLINE`,1)}function NIe(){NIe=C,IDt=tM((Nk(),W(j(FDt,1),Z,322,0,[wQ,CQ,PDt])))}function PIe(){PIe=C,zDt=tM((Sk(),W(j(RDt,1),Z,351,0,[LDt,EQ,TQ])))}function FIe(){FIe=C,DDt=tM((Vk(),W(j(aQ,1),Z,372,0,[iQ,rQ,nQ])))}function IIe(){IIe=C,qDt=tM((gj(),W(j(KDt,1),Z,460,0,[NQ,MQ,PQ])))}function LIe(){LIe=C,pOt=tM((YA(),W(j(a$,1),Z,299,0,[r$,i$,n$])))}function RIe(){RIe=C,hOt=tM((gO(),W(j(mOt,1),Z,311,0,[s$,c$,o$])))}function zIe(){zIe=C,EMt=tM((dM(),W(j(TMt,1),Z,390,0,[U0,wMt,W0])))}function BIe(){BIe=C,qMt=tM((TA(),W(j(KMt,1),Z,387,0,[WMt,m2,GMt])))}function VIe(){VIe=C,YMt=tM((Mj(),W(j(JMt,1),Z,349,0,[_2,h2,g2])))}function HIe(){HIe=C,UMt=tM((Ck(),W(j(HMt,1),Z,463,0,[p2,d2,f2])))}function UIe(){UIe=C,QMt=tM((Yj(),W(j(ZMt,1),Z,350,0,[v2,XMt,y2])))}function WIe(){WIe=C,nNt=tM((xk(),W(j(tNt,1),Z,352,0,[eNt,b2,$Mt])))}function GIe(){GIe=C,iNt=tM((oj(),W(j(rNt,1),Z,388,0,[S2,C2,x2])))}function KIe(){KIe=C,DPt=tM((Nj(),W(j(EPt,1),Z,392,0,[TPt,Y2,J2])))}function qIe(){qIe=C,FFt=tM((Jj(),W(j(PFt,1),Z,393,0,[I4,MFt,NFt])))}function JIe(){JIe=C,bIt=tM((wA(),W(j(yIt,1),Z,300,0,[W4,vIt,_It])))}function YIe(){YIe=C,SIt=tM((UN(),W(j(xIt,1),Z,445,0,[G4,K4,q4])))}function XIe(){XIe=C,wIt=tM((HP(),W(j(CIt,1),Z,456,0,[J4,X4,Y4])))}function ZIe(){ZIe=C,AIt=tM((oN(),W(j(kIt,1),Z,394,0,[OIt,o3,DIt])))}function QIe(){QIe=C,_Lt=tM((JD(),W(j(gLt,1),Z,439,0,[g3,hLt,mLt])))}function $Ie(){$Ie=C,SNt=tM((bk(),W(j(xNt,1),Z,464,0,[w2,T2,E2])))}function eLe(){eLe=C,BCt=tM((KD(),W(j(zCt,1),Z,471,0,[ZY,XY,QY])))}function tLe(){tLe=C,RCt=tM((YO(),W(j(qY,1),Z,237,0,[WY,GY,KY])))}function nLe(){nLe=C,UCt=tM((hO(),W(j(HCt,1),Z,472,0,[tX,eX,$Y])))}function rLe(){rLe=C,rCt=tM((Xj(),W(j(IY,1),Z,108,0,[nCt,PY,FY])))}function iLe(){iLe=C,LTt=tM((mO(),W(j(ITt,1),Z,391,0,[RX,LX,zX])))}function aLe(){aLe=C,fBt=tM((pM(),W(j(dBt,1),Z,346,0,[T8,w8,E8])))}function oLe(){oLe=C,TLt=tM((IM(),W(j(T3,1),Z,444,0,[S3,C3,w3])))}function sLe(){sLe=C,Xzt=tM((XO(),W(j(Yzt,1),Z,278,0,[m8,h8,g8])))}function cLe(){cLe=C,NBt=tM((fM(),W(j(MBt,1),Z,280,0,[jBt,B5,V5])))}function xD(e,t){return!e.o&&(e.o=new ND((iB(),a7),u7,e,0)),jN(e.o,t)}function lLe(e,t){var n;e.C&&(n=I(XC(e.b,t),127).n,n.d=e.C.d,n.a=e.C.a)}function uLe(e){var t,n,r,i=e.d;t=e.a,n=e.b,r=e.c,e.d=n,e.a=r,e.b=i,e.c=t}function dLe(e){return!e.g&&(e.g=new zo),!e.g.b&&(e.g.b=new Md(e)),e.g.b}function SD(e){return!e.g&&(e.g=new zo),!e.g.c&&(e.g.c=new Sse(e)),e.g.c}function fLe(e){return!e.g&&(e.g=new zo),!e.g.d&&(e.g.d=new Nd(e)),e.g.d}function pLe(e){return!e.g&&(e.g=new zo),!e.g.a&&(e.g.a=new xse(e)),e.g.a}function mLe(e,t,n,r){return n&&(r=n.Rh(t,EN(n.Dh(),e.c.uk()),null,r)),r}function hLe(e,t,n,r){return n&&(r=n.Th(t,EN(n.Dh(),e.c.uk()),null,r)),r}function CD(e,t,n,r){var i=H(q9,DV,28,t+1,15,1);return qat(i,e,t,n,r),i}function H(e,t,n,r,i,a){var o=bQe(i,r);return i!=10&&W(j(e,a),t,n,i,o),o}function gLe(e,t,n){var r,i=new KA(t,e);for(r=0;rn||t=0?e.Lh(n,!0,!0):mL(e,t,!0)}function KLe(e,t,n){var r=kWe(e,t,n);return e.b=new Zk(r.c.length),Qtt(e,r)}function qLe(e){if(e.b<=0)throw k(new Tf);return--e.b,e.a-=e.c.c,gM(e.a)}function JLe(e){var t;if(!e.a)throw k(new SOe);return t=e.a,e.a=_T(e.a),t}function YLe(e){for(;!e.a;)if(!$ye(e.c,new wae(e)))return!1;return!0}function RD(e){var t;return hC(e),P(e,204)?(t=I(e,204),t):new tl(e)}function XLe(e){zD(),I(e.of((dB(),q6)),181).Fc((rL(),e5)),e.qf(K6,null)}function zD(){zD=C,CRt=new Rne,TRt=new zne,wRt=oGe((dB(),K6),CRt,F6,TRt)}function BD(){BD=C,kFt=new ope(`LEAF_NUMBER`,0),F4=new ope(`NODE_SIZE`,1)}function VD(e){e.a=H(q9,DV,28,e.b+1,15,1),e.c=H(q9,DV,28,e.b,15,1),e.d=0}function ZLe(e,t){e.a.Ne(t.d,e.b)>0&&(py(e.c,new hCe(t.c,t.d,e.d)),e.b=t.d)}function QLe(e,t){if(e.g==null||t>=e.i)throw k(new hv(t,e.i));return e.g[t]}function $Le(e,t,n){if(kj(e,n),n!=null&&!e.fk(n))throw k(new vf);return n}function HD(e,t){return DO(t)!=10&&W(Qj(t),t.Sm,t.__elementTypeId$,DO(t),e),e}function UD(e,t,n,r){var i;r=(Tw(),r||ASt),i=e.slice(t,n),f6e(i,e,t,n,-t,r)}function WD(e,t,n,r,i){return t<0?mL(e,n,r):I(n,69).wk().yk(e,e.hi(),t,r,i)}function eRe(e,t){return KM(A(F(K(e,(Y(),H$)))),A(F(K(t,H$))))}function tRe(){tRe=C,JSt=tM((GD(),W(j(jY,1),Z,304,0,[DY,OY,kY,AY])))}function GD(){GD=C,DY=new gg(`All`,0),OY=new ahe,kY=new Uhe,AY=new ihe}function KD(){KD=C,ZY=new Sg(EH,0),XY=new Sg(TH,1),QY=new Sg(DH,2)}function nRe(){nRe=C,hz(),BHt=RV,zHt=zV,HHt=new Ul(RV),VHt=new Ul(zV)}function rRe(){rRe=C,hwt=tM((JA(),W(j(mwt,1),Z,417,0,[sX,iX,aX,oX])))}function iRe(){iRe=C,Cwt=tM((jP(),W(j(Swt,1),Z,406,0,[hX,mX,gX,_X])))}function aRe(){aRe=C,_wt=tM((MP(),W(j(gwt,1),Z,332,0,[lX,cX,uX,dX])))}function oRe(){oRe=C,rEt=tM((aP(),W(j(nEt,1),Z,389,0,[rZ,tEt,tZ,nZ])))}function sRe(){sRe=C,JTt=tM((aj(),W(j(qTt,1),Z,416,0,[XX,$X,ZX,QX])))}function cRe(){cRe=C,bDt=tM((ij(),W(j(yDt,1),Z,421,0,[qZ,JZ,YZ,XZ])))}function lRe(){lRe=C,oDt=tM((rj(),W(j(aDt,1),Z,371,0,[KZ,WZ,GZ,UZ])))}function uRe(){uRe=C,DMt=tM((VP(),W(j(Y0,1),Z,203,0,[q0,J0,K0,G0])))}function dRe(){dRe=C,zMt=tM((YN(),W(j(RMt,1),Z,284,0,[o2,LMt,s2,c2])))}function qD(){qD=C,XDt=new Ffe(HU,0),VQ=new Ffe(`IMPROVE_STRAIGHTNESS`,1)}function fRe(e,t){var n,r=t/e.c.Rd().gc()|0;return n=t%e.c.Rd().gc(),uD(e,r,n)}function pRe(e){var t;if(e.nl())for(t=e.i-1;t>=0;--t)U(e,t);return nPe(e)}function mRe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function hRe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function gRe(e){return P(e,180)?``+I(e,180).a:e==null?null:mN(e)}function _Re(e){return P(e,180)?``+I(e,180).a:e==null?null:mN(e)}function vRe(e,t){if(t.a)throw k(new Hp($pt));KS(e.a,t),t.a=e,!e.j&&(e.j=t)}function yRe(e,t){dv.call(this,t.zd(),t.yd()&-16449),BC(e),this.a=e,this.c=t}function bRe(e,t){return new ox(t,ob(iy(t.e),t.f.a+e,t.f.b+e),(Vy(),!1))}function xRe(e,t){return rx(),py(e,new W_(t,gM(t.e.c.length+t.g.c.length)))}function SRe(e,t){return rx(),py(e,new W_(t,gM(t.e.c.length+t.g.c.length)))}function CRe(){CRe=C,gIt=tM((uF(),W(j(hIt,1),Z,354,0,[U4,pIt,mIt,fIt])))}function wRe(){wRe=C,_Ft=tM((qj(),W(j(gFt,1),Z,353,0,[T4,C4,w4,S4])))}function TRe(){TRe=C,dPt=tM((OF(),W(j(uPt,1),Z,405,0,[H2,U2,W2,G2])))}function ERe(){ERe=C,Zzt=tM((aN(),W(j(x8,1),Z,223,0,[b8,v8,_8,y8])))}function DRe(){DRe=C,mBt=tM((kF(),W(j(pBt,1),Z,291,0,[A8,D8,O8,k8])))}function ORe(){ORe=C,OBt=tM((HN(),W(j(A5,1),Z,386,0,[O5,k5,D5,E5])))}function kRe(){kRe=C,VBt=tM((wN(),W(j(BBt,1),Z,320,0,[U5,LBt,zBt,RBt])))}function ARe(){ARe=C,qBt=tM((jj(),W(j(KBt,1),Z,415,0,[W5,WBt,UBt,GBt])))}function JD(){JD=C,g3=new x_(T_t,0),hLt=new x_(t_t,1),mLt=new x_(HU,2)}function YD(e,t,n,r,i){return BC(e),BC(t),BC(n),BC(r),BC(i),new pEe(e,t,r)}function jRe(e,t){var n=I(sD(e.e,t),400);return n?(JCe(n),n.e):null}function XD(e,t){var n=QD(e,t,0);return n==-1?!1:(aD(e,n),!0)}function MRe(e,t,n){var r;return LC(e),r=new Le,r.a=t,e.a.Nb(new tfe(r,n)),r.a}function NRe(e){var t;return LC(e),t=H(Z9,GV,28,0,15,1),ch(e.a,new vu(t)),t}function PRe(e){var t;if(!AVe(e))throw k(new Tf);return e.e=1,t=e.d,e.d=null,t}function ZD(e){var t;return wv(e)&&(t=0-e,!isNaN(t))?t:PA(pj(e))}function QD(e,t,n){for(;n=0?LP(e,n,!0,!0):mL(e,t,!0)}function WRe(e){var t=gk(FA(e,32));return t??=(eP(e),gk(FA(e,32))),t}function GRe(e){var t;return e.Oh()||(t=xC(e.Dh())-e.ji(),e.$h().Mk(t)),e.zh()}function KRe(e,t){bwt=new wt,ywt=t,fX=e,I(fX.b,68),SLe(fX,bwt,null),Qst(fX)}function mO(){mO=C,RX=new Dg(`XY`,0),LX=new Dg(`X`,1),zX=new Dg(`Y`,2)}function hO(){hO=C,tX=new Cg(`TOP`,0),eX=new Cg(TH,1),$Y=new Cg(ymt,2)}function gO(){gO=C,s$=new qg(HU,0),c$=new qg(`TOP`,1),o$=new qg(ymt,2)}function _O(){_O=C,l2=new Lfe(`INPUT_ORDER`,0),u2=new Lfe(`PORT_DEGREE`,1)}function vO(){vO=C,tSt=ty(kV,kV,524287),nSt=ty(0,0,jV),rSt=XFe(1),XFe(2),iSt=XFe(0)}function yO(e){var t;return e.d!=e.r&&(t=IF(e),e.e=!!t&&t.lk()==jbt,e.d=t),e.e}function bO(e,t,n){var r=e.g[t];return my(e,t,e.Zi(t,n)),e.Ri(t,n,r),e.Ni(),r}function xO(e,t){var n=e.dd(t);return n>=0?(e.gd(n),!0):!1}function SO(e,t){var n;for(hC(e),hC(t),n=!1;t.Ob();)n|=e.Fc(t.Pb());return n}function CO(e,t){var n=I(SC(e.e,t),400);return n?(uge(e,n),n.e):null}function qRe(e){var t=e/60|0,n=e%60;return n==0?``+t:``+t+`:`+(``+n)}function wO(e,t){var n=e.a[t],r=(_j(),QJ)[typeof n];return r?r(n):XGe(typeof n)}function TO(e,t){var n,r;return YM(e),r=new mIe(t,e.a),n=new fbe(r),new Hx(e,n)}function EO(e){var t=e.b.c.length==0?null:zx(e.b,0);return t!=null&&Jk(e,0),t}function JRe(e,t){var n,r,i=t.c.i;n=I(SC(e.f,i),60),r=n.d.c-n.e.c,pHe(t.a,r,0)}function YRe(e,t){var n;for(++e.d,++e.c[t],n=t+1;n=0;)++t[0]}function QRe(e,t){ik(e,t==null||Ub((BC(t),t))||isNaN((BC(t),t))?0:(BC(t),t))}function $Re(e,t){ak(e,t==null||Ub((BC(t),t))||isNaN((BC(t),t))?0:(BC(t),t))}function eze(e,t){rk(e,t==null||Ub((BC(t),t))||isNaN((BC(t),t))?0:(BC(t),t))}function tze(e,t){nk(e,t==null||Ub((BC(t),t))||isNaN((BC(t),t))?0:(BC(t),t))}function nze(e,t,n){return dy(new M(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(BC(t),t)}function rze(e,t){return P(t,102)&&(I(t,19).Bb&UV)!=0?new vv(t,e):new KA(t,e)}function ize(e,t){return P(t,102)&&(I(t,19).Bb&UV)!=0?new vv(t,e):new KA(t,e)}function DO(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function aze(e,t){return t==(qb(),qb(),BSt)?e.toLocaleLowerCase():e.toLowerCase()}function oze(e){if(!e.e)throw k(new Tf);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function sze(e){if(!e.c)throw k(new Tf);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function cze(e){var t;for(++e.a,t=e.c.a.length;e.ae.a[r]&&(r=n);return r}function mze(e){var t=I(K(e,(Y(),d$)),313);return t?t.a==e:!1}function hze(e){var t=I(K(e,(Y(),d$)),313);return t?t.i==e:!1}function gze(){gze=C,HTt=tM((vI(),W(j(VTt,1),Z,367,0,[BX,VX,HX,UX,WX])))}function _ze(){_ze=C,SDt=tM((tI(),W(j(xDt,1),Z,375,0,[QZ,eQ,tQ,$Z,ZZ])))}function vze(){vze=C,HDt=tM((JN(),W(j(VDt,1),Z,348,0,[DQ,BDt,kQ,AQ,OQ])))}function yze(){yze=C,AMt=tM((AP(),W(j(kMt,1),Z,323,0,[OMt,Z0,Q0,X0,$0])))}function bze(){bze=C,MOt=tM((CN(),W(j(jOt,1),Z,171,0,[o1,n1,r1,i1,a1])))}function xze(){xze=C,OFt=tM((iI(),W(j(DFt,1),Z,368,0,[N4,A4,P4,j4,M4])))}function Sze(){Sze=C,wLt=tM((WL(),W(j(CLt,1),Z,373,0,[v3,_3,b3,y3,x3])))}function Cze(){Cze=C,ILt=tM((MI(),W(j(FLt,1),Z,324,0,[MLt,A3,PLt,j3,NLt])))}function wze(){wze=C,Jzt=tM((FM(),W(j(p8,1),Z,88,0,[d8,u8,l8,c8,f8])))}function Tze(){Tze=C,DRt=tM((_P(),W(j(G3,1),Z,170,0,[U3,H3,B3,W3,V3])))}function Eze(){Eze=C,vBt=tM((bP(),W(j(W8,1),Z,256,0,[H8,U8,gBt,V8,_Bt])))}function Dze(){Dze=C,SBt=tM((Qz(),W(j(T5,1),UU,64,0,[C5,a5,i5,S5,w5])))}function OO(){OO=C,hCt=new ife(`BY_SIZE`,0),VY=new ife(`BY_SIZE_AND_SHAPE`,1)}function kO(){kO=C,TX=new cfe(`EADES`,0),EX=new cfe(`FRUCHTERMAN_REINGOLD`,1)}function AO(){AO=C,jQ=new Pfe(`READING_DIRECTION`,0),UDt=new Pfe(`ROTATION`,1)}function jO(){jO=C,ZTt=new Vt,QTt=new Gt,YTt=new Kt,XTt=new Wt,$Tt=new qt}function Oze(e){this.b=new qd,this.a=new qd,this.c=new qd,this.d=new qd,this.e=e}function kze(e){this.g=e,this.f=new qd,this.a=r.Math.min(this.g.c.c,this.g.d.c)}function Aze(e,t,n){Mb.call(this),dBe(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function jze(e,t,n){var r,i;for(i=new O(n);i.a=0&&t0?t-1:t;return zle(Ble(kBe(NCe(new Dp,n),e.n),e.j),e.k)}function FO(e){var t,n=(t=new yp,t);OD((!e.q&&(e.q=new L(B7,e,11,10)),e.q),n)}function Nze(e){return(e.i&2?`interface `:e.i&1?``:`class `)+(mb(e),e.o)}function IO(e){return lM(e,SB)>0?SB:lM(e,uV)<0?uV:dS(e)}function LO(e){return e<3?(jk(e,lpt),e+1):e=-.01&&e.a<=AH&&(e.a=0),e.b>=-.01&&e.b<=AH&&(e.b=0),e}function VO(e){uR();var t,n=s_t;for(t=0;tn&&(n=e[t]);return n}function Kze(e,t){var n=XL(e.Dh(),t);if(!n)throw k(new rm(PK+t+IK));return n}function HO(e,t){for(var n=e;_T(n);)if(n=_T(n),n==t)return!0;return!1}function qze(e,t){var n,r=t.a.ld(),i;for(n=I(t.a.md(),16).gc(),i=0;ie||e>t)throw k(new Zce(`fromIndex: 0, toIndex: `+e+Vpt+t))}function GO(e){if(e<0)throw k(new rm(`Illegal Capacity: `+e));this.g=this.aj(e)}function eBe(e,t){return qv(),Tk(lV),r.Math.abs(e-t)<=lV||e==t||isNaN(e)&&isNaN(t)}function tBe(e,t){var n,r,i,a;for(r=e.d,i=0,a=r.length;i0&&(e.a/=t,e.b/=t),e}function KO(e){var t;return e.w?e.w:(t=Jje(e),t&&!t.Vh()&&(e.w=t),t)}function qO(e,t){var n,r=e.a;n=XKe(e,t,null),r!=t&&!e.e&&(n=Wz(e,t,n)),n&&n.oj()}function oBe(e,t,n){var r=t,i;do i=A(e.p[r.p])+n,e.p[r.p]=i,r=e.a[r.p];while(r!=t)}function sBe(e,t,n){var r=function(){return e.apply(r,arguments)};return t.apply(r,n),r}function cBe(e){var t;return e==null?null:(t=I(e,195),E2e(t,t.length))}function U(e,t){if(e.g==null||t>=e.i)throw k(new hv(t,e.i));return e.Wi(t,e.g[t])}function lBe(e,t){Ew();var n,r=new qd;for(n=0;n=14&&t<=16))),e}function _k(e,t){var n;return BC(t),n=e[`:`+t],gx(!!n,`Enum constant undefined: `+t),n}function vk(e,t,n,r,i,a){var o=mC(e,t);return ABe(n,o),o.i=i?8:0,o.f=r,o.e=i,o.g=a,o}function jBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=e,this.a=n}function MBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=e,this.a=n}function NBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=e,this.a=n}function PBe(e,t,n,r,i){this.d=t,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=e,this.a=n}function FBe(e,t,n,r,i){this.d=t,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=e,this.a=n}function IBe(e,t){var n,r,i,a;for(r=t,i=0,a=r.length;i=0))throw k(new rm(`tolerance (`+e+`) must be >= 0`));return e}function GBe(e,t){var n;return P(t,44)?e.c.Mc(t):(n=jN(e,t),QN(e,t),n)}function Ek(e,t,n){return iM(e,t),eA(e,n),uk(e,0),dk(e,1),AM(e,!0),OM(e,!0),e}function Dk(e,t){var n=e.gc();if(t<0||t>n)throw k(new Lb(t,n));return new ube(e,t)}function Ok(e,t){e.b=r.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),py(e.a,t)}function KBe(e){gb(e.c>=0),HYe(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function kk(e){var t,n;for(n=e.c.Cc().Kc();n.Ob();)t=I(n.Pb(),16),t.$b();e.c.$b(),e.d=0}function qBe(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r=0}function hVe(e,t){e.r>0&&e.c0&&e.g!=0&&hVe(e.i,t/e.r*e.i.d))}function gVe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,1,n,e.c))}function Fk(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,4,n,e.c))}function Ik(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,2,n,e.k))}function Lk(e,t){var n=e.D;e.D=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,2,n,e.D))}function Rk(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,8,n,e.f))}function zk(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,7,n,e.i))}function _Ve(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,8,n,e.a))}function vVe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,0,n,e.b))}function yVe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,0,n,e.b))}function bVe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,1,n,e.c))}function xVe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,1,n,e.d))}function SVe(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new ace:new dc,e.c=Gtt(r,e.b,e.a)}function CVe(e,t){return rR(e.e,t)?(sg(),yO(t)?new jx(t,e):new J_(t,e)):new $pe(t,e)}function wVe(e){var t,n;return 0>e?new ode:(t=e+1,n=new bFe(t,e),new Ove(null,n))}function TVe(e,t){Ew();var n=new Th(1);return Z_(e)?CT(n,e,t):XI(n.f,e,t),new $l(n)}function EVe(e,t){var n=e.c,r=t.e[e.p];return r>0?I(zx(n.a,r-1),10):null}function DVe(e,t){var n=e.o+e.p,r=t.o+t.p;return nt?(t<<=1,t>0?t:rV):t}function AVe(e){switch(Pge(e.e!=3),e.e){case 2:return!1;case 0:return!0}return dIe(e)}function jVe(e,t){var n;return P(t,8)?(n=I(t,8),e.a==n.a&&e.b==n.b):!1}function MVe(e,t){var n=new wt;I(t.b,68),I(t.b,68),I(t.b,68),UO(t.a,new WSe(e,n,t))}function NVe(e,t){var n,r;for(r=t.vc().Kc();r.Ob();)n=I(r.Pb(),44),HF(e,n.ld(),n.md())}function PVe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,11,n,e.d))}function Bk(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,13,n,e.j))}function FVe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,21,n,e.b))}function IVe(e,t){(qE(),NY?null:t.c).length==0&&Nve(t,new be),CT(e.a,NY?null:t.c,t)}function LVe(e,t){t.Ug(`Hierarchical port constraint processing`,1),RXe(e),yft(e),t.Vg()}function Vk(){Vk=C,iQ=new jfe(`START`,0),rQ=new jfe(`MIDDLE`,1),nQ=new jfe(`END`,2)}function Hk(){Hk=C,O4=new ape(`P1_NODE_PLACEMENT`,0),k4=new ape(`P2_EDGE_ROUTING`,1)}function Uk(){Uk=C,PX=new Ad(Umt),FX=new Ad(Wmt),NX=new Ad(Gmt),MX=new Ad(Kmt)}function Wk(e){var t;return Xb(e.f.g,e.d),hb(e.b),e.c=e.a,t=I(e.a.Pb(),44),e.b=PUe(e),t}function RVe(e){var t;return e.b==null?(ag(),ag(),u9):(t=e.ul()?e.tl():e.sl(),t)}function zVe(e,t){var n=t==null?-1:QD(e.b,t,0);return n<0?!1:(Jk(e,n),!0)}function Gk(e,t){var n;return BC(t),n=t.g,e.b[n]?!1:(CC(e.b,n,t),++e.c,!0)}function Kk(e,t){var n=1-t,r=e.a[n];return e.a[n]=r.a[t],r.a[t]=e,e.b=!0,r.b=!1,r}function BVe(e,t){var n,r;for(r=t.Kc();r.Ob();)n=I(r.Pb(),272),e.b=!0,KS(e.e,n),n.b=e}function VVe(e,t){var n=I(K(e,(cB(),d0)),8),r=I(K(t,d0),8);return KM(n.b,r.b)}function qk(e,t,n){var r,i,a=t>>5;return i=t&31,r=GT(yS(e.n[n][a],dS(_S(i,1))),3),r}function HVe(e,t,n){var r,i,a=e.a.length-1;for(i=e.b,r=0;r0):(!e.c&&(e.c=NT(zA(e.f))),e.c).e}function rHe(e,t){t?e.B??(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function iHe(e,t){return aj(),e==XX&&t==$X||e==$X&&t==XX||e==QX&&t==ZX||e==ZX&&t==QX}function aHe(e,t){return aj(),e==XX&&t==ZX||e==XX&&t==QX||e==$X&&t==QX||e==$X&&t==ZX}function oHe(e,t){return qv(),Tk(AH),r.Math.abs(0-t)<=AH||t==0?0:e/t}function sHe(e,t){return A(F(My(TM(ow(new Hx(null,new UT(e.c.b,16)),new foe(e)),t))))}function cHe(e,t){return A(F(My(TM(ow(new Hx(null,new UT(e.c.b,16)),new doe(e)),t))))}function lHe(){return cR(),W(j(t$,1),Z,259,0,[KQ,JQ,YQ,XQ,ZQ,QQ,e$,GQ,qQ,$Q])}function uHe(){return NR(),W(j(FMt,1),Z,243,0,[i2,n2,r2,MMt,NMt,jMt,PMt,a2,e2,t2])}function dHe(e,t){var n;t.Ug(`General Compactor`,1),n=EJe(I(J(e,(PI(),R4)),393)),n.Cg(e)}function fHe(e,t){var n=I(J(e,(PI(),z4)),17),r=I(J(t,z4),17);return ey(n.a,r.a)}function pHe(e,t,n){var r,i;for(i=vP(e,0);i.b!=i.d.c;)r=I(yE(i),8),r.a+=t,r.b+=n;return e}function sA(e,t,n){var r;for(r=e.b[n&e.f];r;r=r.b)if(n==r.a&&FC(t,r.g))return r;return null}function cA(e,t,n){var r;for(r=e.c[n&e.f];r;r=r.d)if(n==r.f&&FC(t,r.i))return r;return null}function mHe(e,t,n){var r=0,i,a;for(i=0;i>>31;r!=0&&(e[n]=r)}function lA(e,t,n,r,i,a){var o;this.c=e,o=new qd,tQe(e,o,t,e.b,n,r,i,a),this.a=new tE(o,0)}function hHe(){this.c=new ah(0),this.b=new ah(o_t),this.d=new ah(a_t),this.a=new ah(nU)}function uA(e,t,n,r,i,a,o){_h.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=a,this.a=iD(o)}function dA(e,t,n,r,i,a,o,s,c,l,u,d,f){return u6e(e,t,n,r,i,a,o,s,c,l,u,d,f),QM(e,!1),e}function gHe(e){return e.b.c.i.k==(DI(),cZ)?I(K(e.b.c.i,(Y(),R$)),12):e.b.c}function _He(e){return e.b.d.i.k==(DI(),cZ)?I(K(e.b.d.i,(Y(),R$)),12):e.b.d}function vHe(e){var t=uE(e);return ev(t.a,0)?(jh(),jh(),HSt):(jh(),new M_e(t.b))}function fA(e){var t=eNe(e);return ev(t.a,0)?(Ah(),Ah(),EY):(Ah(),new eb(t.b))}function pA(e){var t=eNe(e);return ev(t.a,0)?(Ah(),Ah(),EY):(Ah(),new eb(t.c))}function yHe(e){switch(e.g){case 2:return Qz(),w5;case 4:return Qz(),i5;default:return e}}function bHe(e){switch(e.g){case 1:return Qz(),S5;case 3:return Qz(),a5;default:return e}}function xHe(e){switch(e.g){case 0:return new Ua;case 1:return new Wa;default:return null}}function mA(){mA=C,HZ=new Eb(`edgelabelcenterednessanalysis.includelabel`,(Vy(),eY))}function SHe(){SHe=C,bNt=$N(bme(Px(Px(new WC,(vI(),HX),(fB(),MZ)),UX,wZ),WX),jZ)}function CHe(){CHe=C,wNt=$N(bme(Px(Px(new WC,(vI(),HX),(fB(),MZ)),UX,wZ),WX),jZ)}function hA(){hA=C,l9=new vp,JVt=W(j(M7,1),Lq,179,0,[]),qVt=W(j(B7,1),Nbt,62,0,[])}function gA(){gA=C,hZ=new hfe(`TO_INTERNAL_LTR`,0),mZ=new hfe(`TO_INPUT_DIRECTION`,1)}function _A(){_A=C,pEt=new en,dEt=new tn,fEt=new nn,uEt=new mee,mEt=new hee,hEt=new rn}function wHe(e,t){t.Ug(mht,1),_Je(vde(new wu((Uh(),new pw(e,!1,!1,new Qt))))),t.Vg()}function THe(e,t,n){n.Ug(`DFS Treeifying phase`,1),dYe(e,t),Zet(e,t),e.a=null,e.b=null,n.Vg()}function vA(e,t){return Vy(),Z_(e)?lIe(e,pb(t)):$_(e)?bS(e,F(t)):Q_(e)?MTe(e,fb(t)):e.Fd(t)}function yA(e,t){var n,r;for(BC(t),r=t.vc().Kc();r.Ob();)n=I(r.Pb(),44),e.zc(n.ld(),n.md())}function EHe(e,t,n){var r;for(r=n.Kc();r.Ob();)if(!OE(e,t,r.Pb()))return!1;return!0}function DHe(e,t,n,r,i){var a;return n&&(a=EN(t.Dh(),e.c),i=n.Rh(t,-1-(a==-1?r:a),null,i)),i}function OHe(e,t,n,r,i){var a;return n&&(a=EN(t.Dh(),e.c),i=n.Th(t,-1-(a==-1?r:a),null,i)),i}function kHe(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 AHe(e){if(BC(e),e.length==0)throw k(new Cm(`Zero length BigInteger`));fit(this,e)}function jHe(e){this.i=e.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),e.Qc(this.g))}function MHe(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new qd,V6e(this),Ew(),Qv(this.a,null)}function NHe(e,t){t.q=e,e.d=r.Math.max(e.d,t.r),e.b+=t.d+(e.a.c.length==0?0:e.c),py(e.a,t)}function bA(e,t){var n,r,i=e.c,a;return n=e.c+e.b,a=e.d,r=e.d+e.a,t.a>i&&t.aa&&t.bi?n=i:HT(t,n+1),e.a=Jw(e.a,0,t)+(``+r)+QEe(e.a,n)}function YHe(e,t){e.a=eN(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d=eN(e.d,t)}function XHe(e,t){return t1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw k(new Tf)}function lUe(e){switch(e.a.g){case 1:return new Yfe;case 3:return new PQe;default:return new kc}}function uUe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return IMe(e,t)}function zA(e){return FV>22),i=e.h+t.h+(r>>22);return ty(n&kV,r&kV,i&AV)}function MUe(e,t){var n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22);return ty(n&kV,r&kV,i&AV)}function NUe(e){var t,n;for(Jut(e),n=new O(e.d);n.ar)throw k(new Lb(t,r));return e.Si()&&(n=DAe(e,n)),e.Ei(t,n)}function fj(e,t,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=t;a<=r;a++)sF(e,a,o)||wR(e,a,o,!0,!1)}function uWe(e){uR();var t,n=H(e6,X,8,2,0,1),r=0;for(t=0;t<2;t++)r+=.5,n[t]=YZe(r,e);return n}function pj(e){var t=~e.l+1&kV,n=~e.m+ +(t==0)&kV;return ty(t,n,~e.h+ +(t==0&&n==0)&AV)}function dWe(e){var t;if(e<0)return uV;if(e==0)return 0;for(t=rV;(t&e)==0;t>>=1);return t}function mj(e,t,n){return e>=128?!1:nv(e<64?GT(_S(1,e),n):GT(_S(1,e-64),t),0)}function hj(e,t,n){return n==null?(!e.q&&(e.q=new Kd),sD(e.q,t)):(!e.q&&(e.q=new Kd),GC(e.q,t,n)),e}function G(e,t,n){return n==null?(!e.q&&(e.q=new Kd),sD(e.q,t)):(!e.q&&(e.q=new Kd),GC(e.q,t,n)),e}function fWe(e){var t,n=new lD;return UA(n,e),G(n,(Uk(),PX),e),t=new Kd,vot(e,n,t),rut(e,n,t),n}function pWe(e){var t=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d;return t||n}function mWe(e,t){var n=!1,r=e.a[t].length,i,a;for(a=0;a=0,`Negative initial capacity`),gx(t>=0,`Non-positive load factor`),US(this)}function CWe(e,t,n,r,i){var a,o=e.length;if(a=n.length,t<0||r<0||i<0||t+i>o||r+i>a)throw k(new _f)}function wWe(e,t){Ew();var n,r,i,a,o=!1;for(r=t,i=0,a=r.length;i1||t>=0&&e.b<3)}function Cj(e){var t=~e.l+1&kV,n=~e.m+ +(t==0)&kV,r=~e.h+ +(t==0&&n==0)&AV;e.l=t,e.m=n,e.h=r}function IWe(e){Ew();var t,n,r=1;for(n=e.Kc();n.Ob();)t=n.Pb(),r=31*r+(t==null?0:$k(t)),r|=0;return r}function LWe(e,t,n,r,i){var a=Z5e(e,t);return n&&Cj(a),i&&(e=sQe(e,t),$J=r?pj(e):ty(e.l,e.m,e.h)),a}function RWe(e,t,n){e.g=WI(e,t,(Qz(),i5),e.b),e.d=WI(e,n,i5,e.b),!(e.g.c==0||e.d.c==0)&&f4e(e)}function zWe(e,t,n){e.g=WI(e,t,(Qz(),w5),e.j),e.d=WI(e,n,w5,e.j),!(e.g.c==0||e.d.c==0)&&f4e(e)}function BWe(e,t){switch(t){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return CJe(e,t)}function VWe(e,t){switch(t.g){case 0:P(e.b,641)||(e.b=new qHe);break;case 1:P(e.b,642)||(e.b=new BCe)}}function HWe(e){switch(e.g){case 0:return new Mne;default:throw k(new rm(iK+(e.f==null?``+e.g:e.f)))}}function UWe(e){switch(e.g){case 0:return new Ja;default:throw k(new rm(iK+(e.f==null?``+e.g:e.f)))}}function WWe(e,t,n){return!oh(aw(new Hx(null,new UT(e.c,16)),new pu(new bpe(t,n)))).Bd((Nh(),LY))}function GWe(e,t){return dy(hP(I(K(t,(tz(),g4)),88)),new M(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function KWe(e,t){for(;e.g==null&&!e.c?EAe(e):e.g==null||e.i!=0&&I(e.g[e.i-1],51).Ob();)Jpe(t,PL(e))}function wj(e){var t,n;for(n=new O(e.a.b);n.ar)}function ZWe(e){return py(e.c,(cj(),bRt)),eBe(e.a,A(F(SP((DN(),L0)))))?new xo:new qoe(e)}function QWe(e){for(;!e.d||!e.d.Ob();)if(e.b&&!mm(e.b))e.d=I(WS(e.b),51);else return null;return e.d}function $We(e){switch(e.g){case 1:return a_t;default:case 2:return 0;case 3:return nU;case 4:return o_t}}function eGe(){pB();var e;return qHt||(e=T_e(tB(`M`,!0)),e=Jx(tB(`M`,!1),e),qHt=e,qHt)}function jj(){jj=C,W5=new G_(`ELK`,0),WBt=new G_(`JSON`,1),UBt=new G_(`DOT`,2),GBt=new G_(`SVG`,3)}function Mj(){Mj=C,_2=new r_(`STACKED`,0),h2=new r_(`REVERSE_STACKED`,1),g2=new r_(`SEQUENCED`,2)}function Nj(){Nj=C,TPt=new f_(HU,0),Y2=new f_(`MIDDLE_TO_MIDDLE`,1),J2=new f_(`AVOID_OVERLAP`,2)}function Pj(){Pj=C,pDt=new ur,mDt=new dr,fDt=new cr,dDt=new fr,uDt=new lr,lDt=(BC(uDt),new ce)}function Fj(){Fj=C,uBt=new Vv(15),lBt=new Uv((dB(),R6),uBt),C8=Y6,aBt=YRt,oBt=M6,cBt=P6,sBt=N6}function Ij(e,t){var n,r,i,a,o;for(r=t,i=0,a=r.length;i=e.b.c.length||(sGe(e,2*t+1),n=2*t+2,n0&&(t.Cd(n),n.i&&hqe(n))}function lGe(e,t,n){var r;for(r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:fg(GT(e[r],qV),GT(t[r],qV))?-1:1}function uGe(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=kVe(n),r=H(Wxt,tV,227,i,0,1),this.b=r}function Bj(e,t,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=t;a<=r;a++)if(sF(e,a,o))return!0;return!1}function dGe(e,t){var n,r;for(r=e.Zb().Cc().Kc();r.Ob();)if(n=I(r.Pb(),16),n.Hc(t))return!0;return!1}function fGe(e,t,n){var r,i,a,o;for(BC(n),o=!1,a=e.fd(t),i=n.Kc();i.Ob();)r=i.Pb(),a.Rb(r),o=!0;return o}function Vj(e,t){var n,r=I(FA(e.a,4),129);return n=H(w7,fbt,424,t,0,1),r!=null&&$R(r,0,n,0,r.length),n}function pGe(e,t){var n=new _R((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,t);return e.e??(n.c=e),n}function mGe(e,t){var n;return e===t?!0:P(t,85)?(n=I(t,85),e3e(mS(e),n.vc())):!1}function hGe(e,t,n){var r,i;for(i=n.Kc();i.Ob();)if(r=I(i.Pb(),44),e.Be(t,r.md()))return!0;return!1}function gGe(e,t,n){return e.d[t.p][n.p]||(sZe(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function _Ge(e,t){var n;return!e||e==t||!rb(t,(Y(),O$))?!1:(n=I(K(t,(Y(),O$)),10),n!=e)}function Hj(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.$l()}}function vGe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e._l()}}function yGe(e){IAe.call(this,`The given string does not match the expected format for individual spacings.`,e)}function bGe(e,t){var n;t.Ug(`Min Size Preprocessing`,1),n=Y3e(e),PP(e,(yR(),r3),n.a),PP(e,e3,n.b),t.Vg()}function xGe(e){var t=0,n,r=H(e6,X,8,e.b,0,1);for(n=vP(e,0);n.b!=n.d.c;)r[t++]=I(yE(n),8);return r}function Uj(e,t,n){var r=new Dh,i,a;for(a=vP(n,0);a.b!=a.d.c;)i=I(yE(a),8),Dx(r,new Ev(i));fGe(e,t,r)}function SGe(e,t){var n=eN(e,t);return fg(qT(e,t),0)|tv(qT(e,n),0)?n:eN(GB,qT(yS(n,63),1))}function CGe(e,t){var n=I(e.d.Bc(t),16),r;return n?(r=e.e.hc(),r.Gc(n),e.e.d-=n.gc(),n.$b(),r):null}function wGe(e){var t=e.a.c.length;if(t>0)return TS(t-1,e.a.c.length),aD(e.a,t-1);throw k(new wf)}function TGe(e,t,n){if(e>t)throw k(new rm(dH+e+qpt+t));if(e<0||t>n)throw k(new Zce(dH+e+Jpt+t+Vpt+n))}function Wj(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),Lk(e,t==null?null:(BC(t),t)),e.C&&e.hl(null)}function EGe(e,t){var n=SP((DN(),L0))!=null&&t.Sg()!=null?A(F(t.Sg()))/A(F(SP(L0))):1;GC(e.b,t,n)}function DGe(e,t){var n,r=e.c[t];if(r!=0)for(e.c[t]=0,e.d-=r,n=t+1;nkG?e-n>kG:n-e>kG}function QGe(e,t){var n;for(n=0;ni&&(Z1e(t.q,i),r=n!=t.q.d)),r}function tKe(e,t){var n,i,a,o,s,c,l=t.i,u=t.j;return i=e.f,a=i.i,o=i.j,s=l-a,c=u-o,n=r.Math.sqrt(s*s+c*c),n}function nKe(e,t){var n,r=nP(e);return r||(!lVt&&(lVt=new ore),n=(kz(),z7e(t)),r=new Vd(n),OD(r.El(),e)),r}function aM(e,t){var n=I(e.c.Bc(t),16),r;return n?(r=e.hc(),r.Gc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function rKe(e,t){var n,r=LL(e.d,1)!=0;for(n=!0;n;)n=!1,n=t.c.mg(t.e,r),n|=ZL(e,t,r,!1),r=!r;$Ve(e)}function iKe(e,t,n,r){var i,a;e.a=t,a=+!r,e.f=(i=new l3e(e.c,e.a,n,a),new Wnt(n,e.a,i,e.e,e.b,e.c==(bk(),T2)))}function oM(e){var t;return hb(e.a!=e.b),t=e.d.a[e.a],wve(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function aKe(e){var t;if(e.c!=0)return e.c;for(t=0;t=e.c.b:e.a<=e.c.b))throw k(new Tf);return t=e.a,e.a+=e.c.c,++e.b,gM(t)}function sM(e){var t=new Hhe(e.a);return UA(t,e),G(t,(Y(),R$),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function cM(e){return(Qz(),g5).Hc(e.j)?A(F(K(e,(Y(),Z$)))):xj(W(j(e6,1),X,8,0,[e.i.n,e.n,e.a])).b}function sKe(e){var t=kv(yNt);return I(K(e,(Y(),C$)),21).Hc((cR(),ZQ))&&Px(t,(vI(),HX),(fB(),FZ)),t}function cKe(e){var t,n,r,i=new If;for(r=new O(e);r.a=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,--r);return t<0?1/i:i}function mKe(e,t){var n,r,i=1;for(n=e,r=t>=0?t:-t;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,--r);return t<0?1/i:i}function uM(e,t){var n,r,i,a=(i=e?nP(e):null,v6e((r=t,i&&i.Gl(),r)));return a==t&&(n=nP(e),n&&n.Gl()),a}function hKe(e,t,n){var r,i=e.f;return e.f=t,e.Db&4&&!(e.Db&1)&&(r=new jS(e,1,0,i,t),n?n.nj(r):n=r),n}function gKe(e,t,n){var r,i=e.b;return e.b=t,e.Db&4&&!(e.Db&1)&&(r=new jS(e,1,3,i,t),n?n.nj(r):n=r),n}function _Ke(e,t,n){var r,i=e.a;return e.a=t,e.Db&4&&!(e.Db&1)&&(r=new jS(e,1,1,i,t),n?n.nj(r):n=r),n}function vKe(e){var t,n,r,i;if(e!=null){for(n=0;n=r||t-129&&e<128?(zCe(),t=e+128,n=lSt[t],!n&&(n=lSt[t]=new Fl(e)),n):new Fl(e)}function _M(e){var t,n;return e>-129&&e<128?(jwe(),t=e+128,n=hSt[t],!n&&(n=hSt[t]=new Ll(e)),n):new Ll(e)}function DKe(e,t){var n;e.a.c.length>0&&(n=I(zx(e.a,e.a.c.length-1),579),tGe(n,t))||py(e.a,new xFe(t))}function OKe(e){nx();var t=e.d.c-e.e.c,n=I(e.g,154);UO(n.b,new eoe(t)),UO(n.c,new toe(t)),WE(n.i,new noe(t))}function kKe(e){var t=new xm;return t.a+=`VerticalSegment `,lv(t,e.e),t.a+=` `,uv(t,Mge(new _m,new O(e.k))),t.a}function vM(e,t){var n=0,r,i;for(i=rN(e,t).Kc();i.Ob();)r=I(i.Pb(),12),n+=K(r,(Y(),V$))==null?0:1;return n}function yM(e,t,n){var r=0,i,a;for(a=vP(e,0);a.b!=a.d.c&&(i=A(F(yE(a))),!(i>n));)i>=t&&++r;return r}function AKe(e,t){hC(e);try{return e._b(t)}catch(e){if(e=ej(e),P(e,212)||P(e,169))return!1;throw k(e)}}function jKe(e,t){hC(e);try{return e.Hc(t)}catch(e){if(e=ej(e),P(e,212)||P(e,169))return!1;throw k(e)}}function MKe(e,t){hC(e);try{return e.Mc(t)}catch(e){if(e=ej(e),P(e,212)||P(e,169))return!1;throw k(e)}}function bM(e,t){hC(e);try{return e.xc(t)}catch(e){if(e=ej(e),P(e,212)||P(e,169))return null;throw k(e)}}function NKe(e,t){hC(e);try{return e.Bc(t)}catch(e){if(e=ej(e),P(e,212)||P(e,169))return null;throw k(e)}}function xM(e,t){switch(t.g){case 2:case 1:return rN(e,t);case 3:case 4:return yN(rN(e,t))}return Ew(),Ew(),xY}function SM(e){var t;return e.Db&64?AL(e):(t=new Oy(AL(e)),t.a+=` (name: `,sv(t,e.zb),t.a+=`)`,t.a)}function PKe(e){var t=I(CO(e.c.c,``),233);return t||(t=new FT(Im(Fm(new eo,``),`Other`)),pP(e.c.c,``,t)),t}function FKe(e,t,n){var r,i=e.sb;return e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new jS(e,1,4,i,t),n?n.nj(r):n=r),n}function IKe(e,t,n){var r,i=e.r;return e.r=t,e.Db&4&&!(e.Db&1)&&(r=new jS(e,1,8,i,e.r),n?n.nj(r):n=r),n}function LKe(e,t,n){var r=new lO(e.e,4,13,(i=t.c,i||(hB(),e9)),null,zP(e,t),!1),i;return n?n.nj(r):n=r,n}function RKe(e,t,n){var r=new lO(e.e,3,13,null,(i=t.c,i||(hB(),e9)),zP(e,t),!1),i;return n?n.nj(r):n=r,n}function CM(e,t){var n=I(t,691),r=n.el();return!r&&n.fl(r=P(t,90)?new eme(e,I(t,29)):new OMe(e,I(t,156))),r}function wM(e,t,n){var r;e._i(e.i+1),r=e.Zi(t,n),t!=e.i&&$R(e.g,t,e.g,t+1,e.i-t),CC(e.g,t,r),++e.i,e.Mi(t,n),e.Ni()}function zKe(e,t){var n;return t.a&&(n=t.a.a.length,e.a?uv(e.a,e.b):e.a=new ky(e.d),HMe(e.a,t.a,t.d.length,n)),e}function BKe(e,t){var n;e.c=t,e.a=MJe(t),e.a<54&&(e.f=(n=t.d>1?BMe(t.a[0],t.a[1]):BMe(t.a[0],0),lE(t.e>0?n:ZD(n))))}function TM(e,t){var n=new Le;return e.a.Bd(n)?(wy(),new Kp(BC(MRe(e,n.a,t)))):(LC(e),wy(),wy(),VSt)}function VKe(e,t){var n;e.c.length!=0&&(n=I(uP(e,H(oZ,YU,10,e.c.length,0,1)),199),Bme(n,new Rn),V8e(n,t))}function HKe(e,t){var n;e.c.length!=0&&(n=I(uP(e,H(oZ,YU,10,e.c.length,0,1)),199),Bme(n,new zn),V8e(n,t))}function EM(e,t){return Z_(e)?Rb(e,t):$_(e)?Xye(e,t):Q_(e)?(BC(e),N(e)===N(t)):DTe(e)?e.Fb(t):Qwe(e)?Tme(e,t):Gje(e,t)}function DM(e,t,n){if(t<0)X6e(e,n);else{if(!n.rk())throw k(new rm(PK+n.xe()+FK));I(n,69).wk().Ek(e,e.hi(),t)}}function UKe(e,t,n){if(e<0||t>n)throw k(new em(dH+e+Jpt+t+`, size: `+n));if(e>t)throw k(new rm(dH+e+qpt+t))}function WKe(e){var t;return e.Db&64?AL(e):(t=new Oy(AL(e)),t.a+=` (source: `,sv(t,e.d),t.a+=`)`,t.a)}function GKe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function KKe(e){mB();var t,n,r,i;for(n=mP(),r=0,i=n.length;r=0?RN(e):tC(RN(ZD(e))))}function eqe(e,t,n,r,i,a){this.e=new qd,this.f=(Ck(),p2),py(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=a}function tqe(e,t,n){e.n=Bx(Y9,[X,VV],[376,28],14,[n,iT(r.Math.ceil(t/32))],2),e.o=t,e.p=n,e.j=t-1>>1,e.k=n-1>>1}function nqe(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 rqe(e,t){var n,r;for(r=new xy(e);r.e!=r.i.gc();)if(n=I(CP(r),142),N(t)===N(n))return!0;return!1}function iqe(e,t,n){var r,i,a=(i=ML(e.b,t),i);return a&&(r=I(Dz(aO(e,a),``),29),r)?B7e(e,r,t,n):null}function NM(e,t,n){var r,i,a=(i=ML(e.b,t),i);return a&&(r=I(Dz(aO(e,a),``),29),r)?V7e(e,r,t,n):null}function aqe(e,t){var n=$O(e.i,t);if(n==null)throw k(new lm(`Node did not exist in input.`));return LHe(t,n),null}function oqe(e,t){var n=XL(e,t);if(P(n,331))return I(n,35);throw k(new rm(PK+t+`' is not a valid attribute`))}function PM(e,t,n){var r=e.gc();if(t>r)throw k(new Lb(t,r));if(e.Si()&&e.Hc(n))throw k(new rm(uq));e.Gi(t,n)}function sqe(e,t){t.Ug(`Sort end labels`,1),Ph(aw(TO(new Hx(null,new UT(e.b,16)),new wn),new vee),new Tn),t.Vg()}function FM(){FM=C,d8=new k_(kH,0),u8=new k_(DH,1),l8=new k_(EH,2),c8=new k_(NH,3),f8=new k_(`UP`,4)}function IM(){IM=C,S3=new C_(`P1_STRUCTURE`,0),C3=new C_(`P2_PROCESSING_ORDER`,1),w3=new C_(`P3_EXECUTION`,2)}function cqe(){cqe=C,CFt=$N($N(eg($N($N(eg(Px(new WC,(OF(),U2),(FR(),q2)),W2),yPt),xPt),G2),hPt),SPt)}function lqe(e){switch(I(K(e,(Y(),D$)),311).g){case 1:G(e,D$,(gO(),o$));break;case 2:G(e,D$,(gO(),c$))}}function uqe(e){switch(e){case 0:return new up;case 1:return new lp;case 2:return new Zse;default:throw k(new yf)}}function dqe(e){switch(e.g){case 2:return u8;case 1:return l8;case 4:return c8;case 3:return f8;default:return d8}}function fqe(e,t){switch(e.b.g){case 0:case 1:return t;case 2:case 3:return new fw(t.d,0,t.a,t.b);default:return null}}function pqe(e){switch(e.g){case 1:return w5;case 2:return a5;case 3:return i5;case 4:return S5;default:return C5}}function LM(e){switch(e.g){case 1:return S5;case 2:return w5;case 3:return a5;case 4:return i5;default:return C5}}function RM(e){switch(e.g){case 1:return i5;case 2:return S5;case 3:return w5;case 4:return a5;default:return C5}}function mqe(e,t,n,r){switch(t){case 1:return!e.n&&(e.n=new L(o7,e,1,7)),e.n;case 2:return e.k}return WQe(e,t,n,r)}function zM(e,t,n){var r,i;return e.Pj()?(i=e.Qj(),r=dL(e,t,n),e.Jj(e.Ij(7,gM(n),r,t,i)),r):dL(e,t,n)}function BM(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.ld(),n=t.Bi(),r=(n&SB)%e.d.length,DIe(e,r,Y7e(e,r,n,i)))}function VM(e,t){var n=(e.Bb&nV)!=0;t?e.Bb|=nV:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,10,n,t))}function HM(e,t){var n=(e.Bb&BV)!=0;t?e.Bb|=BV:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,12,n,t))}function UM(e,t){var n=(e.Bb&Oq)!=0;t?e.Bb|=Oq:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,15,n,t))}function WM(e,t){var n=(e.Bb&kq)!=0;t?e.Bb|=kq:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,11,n,t))}function hqe(e){var t;e.g&&(t=e.c.kg()?e.f:e.a,Att(t.a,e.o,!0),Att(t.a,e.o,!1),G(e.o,(cB(),s0),(rI(),G8)))}function gqe(e){var t;if(!e.a)throw k(new im(`Cannot offset an unassigned cut.`));t=e.c-e.b,e.b+=t,GOe(e,t),WOe(e,t)}function _qe(e,t){var n=SC(e.k,t);if(n==null)throw k(new lm(`Port did not exist in input.`));return LHe(t,n),null}function vqe(e){var t,n;for(n=U7e(KO(e)).Kc();n.Ob();)if(t=pb(n.Pb()),KR(e,t))return PPe((Bde(),NVt),t);return null}function yqe(e){var t,n;for(n=e.p.a.ec().Kc();n.Ob();)if(t=I(n.Pb(),218),t.f&&e.b[t.c]<-1e-10)return t;return null}function bqe(e){var t,n=AC(new xm,91);for(t=!0;e.Ob();)t||(n.a+=EB),t=!1,lv(n,e.Pb());return(n.a+=`]`,n).a}function xqe(e){var t=new qd,n,r;for(r=new O(e.b);r.at?1:e==t?e==0?KM(1/e,1/t):0:isNaN(e)?+!isNaN(t):-1}function Cqe(e){var t=e.a[e.c-1&e.a.length-1];return t==null?null:(e.c=e.c-1&e.a.length-1,CC(e.a,e.c,null),t)}function wqe(e){var t,n,r=0;for(n=e.length,t=0;t=1?u8:c8):n}function Aqe(e){switch(I(K(e,(cB(),j1)),223).g){case 1:return new li;case 3:return new pi;default:return new bte}}function YM(e){if(e.c)YM(e.c);else if(e.d)throw k(new im(`Stream already terminated, can't be modified or used`))}function XM(e,t,n){var r=e.a.get(t);return e.a.set(t,n===void 0?null:n),r===void 0?(++e.c,++e.b.g):++e.d,r}function jqe(e,t,n){var r,i;for(i=e.a.ec().Kc();i.Ob();)if(r=I(i.Pb(),10),$A(n,I(zx(t,r.p),16)))return r;return null}function Mqe(e,t,n){var r=0;return t&&(Nv(e.a)?r+=t.f.a/2:r+=t.f.b/2),n&&(Nv(e.a)?r+=n.f.a/2:r+=n.f.b/2),r}function Nqe(e,t,n){var r=n;!r&&(r=NCe(new Dp,0)),r.Ug($mt,2),pZe(e.b,t,r.eh(1)),gct(e,t,r.eh(1)),hdt(t,r.eh(1)),r.Vg()}function Pqe(e,t,n){var r=(Jm(),i=new Do,i),i;return lk(r,t),ek(r,n),e&&OD((!e.a&&(e.a=new hy(q5,e,5)),e.a),r),r}function ZM(e){var t;return e.Db&64?AL(e):(t=new Oy(AL(e)),t.a+=` (identifier: `,sv(t,e.k),t.a+=`)`,t.a)}function QM(e,t){var n=(e.Bb&LK)!=0;t?e.Bb|=LK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,18,n,t))}function Fqe(e,t){var n=(e.Bb&LK)!=0;t?e.Bb|=LK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,18,n,t))}function $M(e,t){var n=(e.Bb&VB)!=0;t?e.Bb|=VB:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,16,n,t))}function Iqe(e,t){var n=(e.Bb&UV)!=0;t?e.Bb|=UV:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&MA(e,new QE(e,1,20,n,t))}function Lqe(e){var t=H(K9,hV,28,2,15,1);return e-=UV,t[0]=(e>>10)+WV&_V,t[1]=(e&1023)+56320&_V,qN(t,0,t.length)}function Rqe(e){var t=OI(e);return t>34028234663852886e22?RV:t<-34028234663852886e22?zV:t}function eN(e,t){var n;return wv(e)&&wv(t)&&(n=e+t,FV`+XT(t.c):`e_`+$k(t),e.b&&e.c?XT(e.b)+`->`+XT(e.c):`e_`+$k(e))}function Vqe(e,t){return Rb(t.b&&t.c?XT(t.b)+`->`+XT(t.c):`e_`+$k(t),e.b&&e.c?XT(e.b)+`->`+XT(e.c):`e_`+$k(e))}function iN(e,t){return qv(),Tk(lV),r.Math.abs(e-t)<=lV||e==t||isNaN(e)&&isNaN(t)?0:et?1:Sv(isNaN(e),isNaN(t))}function aN(){aN=C,b8=new j_(kH,0),v8=new j_(`POLYLINE`,1),_8=new j_(`ORTHOGONAL`,2),y8=new j_(`SPLINES`,3)}function oN(){oN=C,OIt=new b_(`ASPECT_RATIO_DRIVEN`,0),o3=new b_(`MAX_SCALE_DRIVEN`,1),DIt=new b_(`AREA_DRIVEN`,2)}function Hqe(e,t,n){var r;try{MWe(e,t,n)}catch(e){throw e=ej(e),P(e,606)?(r=e,k(new KFe(r))):k(e)}return t}function Uqe(e){var t,n,r;for(n=0,r=e.length;nt&&r.Ne(e[a-1],e[a])>0;--a)o=e[a],CC(e,a,e[a-1]),CC(e,a-1,o)}function fN(e,t){var n=t.f,r,i,a,o;if(pP(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,o=i.length;at){GMe(n);break}}nC(n,t)}function Yqe(e,t){var n,i=A(F(FN(cE(t),(cB(),_0))));n=r.Math.max(0,i/2-.5),zF(t,n,1),py(e,new Sfe(t,n))}function Xqe(e,t,n){var r;n.Ug(`Straight Line Edge Routing`,1),n.dh(t,S_t),r=I(J(t,(vb(),D4)),27),_st(e,r),n.dh(t,VG)}function Zqe(e,t){e.n.c.length==0&&py(e.n,new aT(e.s,e.t,e.i)),py(e.b,t),qZe(I(zx(e.n,e.n.c.length-1),209),t),rot(e,t)}function pN(e){var t;this.a=(t=I(e.e&&e.e(),9),new Kb(t,I(jb(t,t.length),9),0)),this.b=H(PJ,DB,1,this.a.a.length,5,1)}function mN(e){var t;return Array.isArray(e)&&e.Tm===ne?Qm(Qj(e))+`@`+(t=$k(e)>>>0,t.toString(16)):e.toString()}function Qqe(e,t){return e.h==jV&&e.m==0&&e.l==0?(t&&($J=ty(0,0,0)),Ame((vO(),rSt))):(t&&($J=ty(e.l,e.m,e.h)),ty(0,0,0))}function $qe(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 eJe(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 tJe(e,t,n,r){switch(t){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return mqe(e,t,n,r)}function hN(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw k(new rm(`Node `+t+` not part of edge `+e))}function nJe(e,t){var n=XL(e.Dh(),t);if(P(n,102))return I(n,19);throw k(new rm(PK+t+`' is not a valid reference`))}function gN(e,t,n,r){if(t<0)M9e(e,n,r);else{if(!n.rk())throw k(new rm(PK+n.xe()+FK));I(n,69).wk().Ck(e,e.hi(),t,r)}}function _N(e){var t;if(e.b){if(_N(e.b),e.b.d!=e.c)throw k(new Cf)}else e.d.dc()&&(t=I(e.f.c.xc(e.e),16),t&&(e.d=t))}function rJe(e){Sb();var t=e.o.b,n,r,i;for(r=I(I(rD(e.r,(Qz(),S5)),21),87).Kc();r.Ob();)n=I(r.Pb(),117),i=n.e,i.b+=t}function iJe(e){var t,n,r;for(this.a=new Tv,r=new O(e);r.a=i)return t.c+n;return t.c+t.b.gc()}function oJe(e,t){_b();var n,r=pRe(e),i=t,a;for(UD(r,0,r.length,i),n=0;n0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function uJe(e){var t,n,r,i,a=m2e(e);return n=uh(e.c),r=!n,r&&(i=new ml,MO(a,`knownLayouters`,i),t=new yse(i),WE(e.c,t)),a}function dJe(e){var t,n,r=new ym;for(r.a+=`[`,t=0,n=e.gc();t0&&(HT(t-1,e.length),e.charCodeAt(t-1)==58)&&!vN(e,D7,O7))}function hJe(e,t){var n;return N(e)===N(t)?!0:P(t,92)?(n=I(t,92),e.e==n.e&&e.d==n.d&&RPe(e,n.a)):!1}function bN(e){switch(Qz(),e.g){case 4:return a5;case 1:return i5;case 3:return S5;case 2:return w5;default:return C5}}function gJe(e){var t,n;if(e.b)return e.b;for(n=NY?null:e.d;n;){if(t=NY?null:n.b,t)return t;n=NY?null:n.d}return Mh(),ZSt}function _Je(e){var t,n,r=A(F(e.a.of((dB(),t8))));for(n=new O(e.a.Sf());n.a>5,t=e&31,r=H(q9,DV,28,n+1,15,1),r[n]=1<3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function EN(e,t){var n=(e.i??rz(e),e.i),r=t.Lj(),i;if(r!=-1){for(i=n.length;r=0;--r)for(t=n[r],i=0;i>1,this.k=t-1>>1}function WJe(e){zD(),I(e.of((dB(),F6)),181).Hc((VR(),R5))&&(I(e.of(q6),181).Fc((rL(),n5)),I(e.of(F6),181).Mc(R5))}function GJe(e){var t=e.d==(GI(),gQ),n=x0e(e);t&&!n||!t&&n?G(e.a,(cB(),s1),(UP(),a6)):G(e.a,(cB(),s1),(UP(),i6))}function DN(){DN=C,Jh(),L0=(cB(),D0),_Mt=iD(W(j(z3,1),$gt,149,0,[g0,_0,y0,b0,C0,w0,T0,E0,k0,j0,v0,x0,O0]))}function KJe(e,t){var n=I(VE(e,MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15);return n.Qc(mwe(n.gc()))}function qJe(e,t){var n,r=new du(e.a.ad(t,!0));if(r.a.gc()<=1)throw k(new xf);return n=r.a.ec().Kc(),n.Pb(),I(n.Pb(),40)}function JJe(e,t,n){var r=A(e.p[t.i.p])+A(e.d[t.i.p])+t.n.b+t.a.b;return A(e.p[n.i.p])+A(e.d[n.i.p])+n.n.b+n.a.b-r}function YJe(e,t){var n;return e.i>0&&(t.lengthe.i&&CC(t,e.i,null),t}function ON(e){var t;return e.Db&64?SM(e):(t=new Oy(SM(e)),t.a+=` (instanceClassName: `,sv(t,e.D),t.a+=`)`,t.a)}function kN(e){var t,n,r,i=0;for(n=0,r=e.length;n0?(e._j(),r=t==null?0:$k(t),i=(r&SB)%e.d.length,n=Y7e(e,i,r,t),n!=-1):!1}function ZJe(e,t){var n,i;e.a=eN(e.a,1),e.c=r.Math.min(e.c,t),e.b=r.Math.max(e.b,t),e.d+=t,n=t-e.f,i=e.e+n,e.f=i-e.e-n,e.e=i}function QJe(e,t){switch(t){case 3:nk(e,0);return;case 4:rk(e,0);return;case 5:ik(e,0);return;case 6:ak(e,0);return}wKe(e,t)}function MN(e,t){switch(t.g){case 1:return dx(e.j,(_A(),dEt));case 2:return dx(e.j,(_A(),pEt));default:return Ew(),Ew(),xY}}function $Je(e){_C();var t=e.Pc();switch(t.length){case 0:return HJ;case 1:return new Rx(hC(t[0]));default:return new Gw(Uqe(t))}}function eYe(e,t){e.Xj();try{e.d.bd(e.e++,t),e.f=e.d.j,e.g=-1}catch(e){throw e=ej(e),P(e,77)?k(new Cf):k(e)}}function NN(){NN=C,oHt=new Yo,$Vt=new Xo,eHt=new Zo,tHt=new Qo,nHt=new $o,rHt=new sre,iHt=new es,aHt=new ts,sHt=new ns}function PN(e,t){yme();var n=Ob((Gp(),Gp(),XJ)),r=null;return t==n&&(r=I($w(Zxt,e),624)),r||(r=new qEe(e),t==n&&CT(Zxt,e,r)),r}function tYe(e){return VP(),(e.q?e.q:(Ew(),Ew(),SY))._b((cB(),X1))?I(K(e,X1),203):I(K(IC(e),Z1),203)}function FN(e,t){var n,r=null;return rb(e,(cB(),S0))&&(n=I(K(e,S0),96),n.pf(t)&&(r=n.of(t))),r??=K(IC(e),t),r}function nYe(e,t){var n,r,i;return P(t,44)?(n=I(t,44),r=n.ld(),i=bM(e.Rc(),r),FC(i,n.md())&&(i!=null||e.Rc()._b(r))):!1}function IN(e,t){var n,r,i;return e.f>0&&(e._j(),r=t==null?0:$k(t),i=(r&SB)%e.d.length,n=W8e(e,i,r,t),n)?n.md():null}function LN(e,t,n){var r,i,a;return e.Pj()?(r=e.i,a=e.Qj(),wM(e,r,t),i=e.Ij(3,null,t,r,a),n?n.nj(i):n=i):wM(e,e.i,t),n}function rYe(e,t,n){var r=new lO(e.e,4,10,(i=t.c,P(i,90)?I(i,29):(hB(),t9)),null,zP(e,t),!1),i;return n?n.nj(r):n=r,n}function iYe(e,t,n){var r=new lO(e.e,3,10,null,(i=t.c,P(i,90)?I(i,29):(hB(),t9)),zP(e,t),!1),i;return n?n.nj(r):n=r,n}function aYe(e){Sb();var t=new Ev(I(e.e.of((dB(),P6)),8));return e.B.Hc((VR(),N5))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function RN(e){OR();var t,n=dS(e);return t=dS(yS(e,32)),t==0?n>10||n<0?new ME(1,n):ESt[n]:new $je(n,t)}function zN(e,t){var n;return wv(e)&&wv(t)&&(n=e%t,FV=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function GN(e,t,n){for(var r,i=null,a=e.b;a;){if(r=e.a.Ne(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function gYe(e,t,n,r){var i=!1,a,o;return vlt(e.f,n,r)&&(lXe(e.f,e.a[t][n],e.a[t][r]),a=e.a[t],o=a[r],a[r]=a[n],a[n]=o,i=!0),i}function _Ye(e,t,n){var r,i=I(SC(e.b,n),183),a,o;for(r=0,o=new O(t.j);o.a>5,r,i,a;return t&=31,i=e.d+n+(t==0?0:1),r=H(q9,DV,28,i,15,1),v2e(r,e.a,n,t),a=new YS(e.e,i,r),iE(a),a}function bYe(e,t){var n,r,i;for(r=new SS(Ty(lN(e).a.Kc(),new d));CL(r);)if(n=I($E(r),18),i=n.d.i,i.c==t)return!1;return!0}function xYe(e,t,n){var i,a,o,s=e.k,c=t.k;return i=n[s.g][c.g],a=F(FN(e,i)),o=F(FN(t,i)),r.Math.max((BC(a),a),(BC(o),o))}function SYe(){return Error.stackTraceLimit>0?(r.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):`stack`in Error()}function CYe(e,t){return qv(),qv(),Tk(lV),(r.Math.abs(e-t)<=lV||e==t||isNaN(e)&&isNaN(t)?0:et?1:Sv(isNaN(e),isNaN(t)))>0}function wYe(e,t){return qv(),qv(),Tk(lV),(r.Math.abs(e-t)<=lV||e==t||isNaN(e)&&isNaN(t)?0:et?1:Sv(isNaN(e),isNaN(t)))<0}function TYe(e,t){return qv(),qv(),Tk(lV),(r.Math.abs(e-t)<=lV||e==t||isNaN(e)&&isNaN(t)?0:et?1:Sv(isNaN(e),isNaN(t)))<=0}function KN(e,t){for(var n=0;!t[n]||t[n]==``;)n++;for(var r=t[n++];n0&&this.b>0&&(this.g=Wx(this.c,this.b,this.a))}function PYe(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var i=(_j(),QJ)[typeof r];return i?i(r):XGe(typeof r)}function XN(e){var t,n,r=null;if(t=rq in e.a,n=!t,n)throw k(new lm(`Every element must have an id.`));return r=iL(dT(e,rq)),r}function ZN(e){var t,n=_3e(e);for(t=null;e.c==2;)lB(e),t||(t=(pB(),pB(),++W9,new Kv(2)),Nz(t,n),n=t),n.Jm(_3e(e));return n}function QN(e,t){var n,r,i;return e._j(),r=t==null?0:$k(t),i=(r&SB)%e.d.length,n=W8e(e,i,r,t),n?(GBe(e,n),n.md()):null}function FYe(e,t){return e.e>t.e?1:e.et.d?e.e:e.d=48&&e<48+r.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function LYe(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw k(new rm(`Input edge is not connected to the input port.`))}function RYe(e){if(rP(yK,e))return Vy(),tY;if(rP(bK,e))return Vy(),eY;throw k(new rm(`Expecting true or false`))}function zYe(e){switch(typeof e){case bB:return Aj(e);case Yft:return bv(e);case yB:return Vve(e);default:return e==null?0:zy(e)}}function $N(e,t){if(e.a<0)throw k(new im(`Did not call before(...) or after(...) before calling add(...).`));return k_e(e,e.a,t),e}function BYe(e){return yT(),P(e,162)?I(SC(b7,PSt),295).Rg(e):RS(b7,Qj(e))?I(SC(b7,Qj(e)),295).Rg(e):null}function eP(e){var t,n;return e.Db&32||(n=(t=I(FA(e,16),29),xC(t||e.ii())-xC(e.ii())),n!=0&&tP(e,32,H(PJ,DB,1,n,5,1))),e}function tP(e,t,n){var r;(e.Db&t)==0?n!=null&&htt(e,t,n):n==null?k5e(e,t):(r=pF(e,t),r==-1?e.Eb=n:CC(gk(e.Eb),r,n))}function VYe(e,t,n,r){var i,a;t.c.length!=0&&(i=F9e(n,r),a=Q6e(t),Ph(zO(new Hx(null,new UT(a,1)),new Jte),new _Oe(e,n,i,r)))}function HYe(e,t){var n,r=e.a.length-1,i,a;return n=t-e.b&r,a=e.c-t&r,i=e.c-e.b&r,wve(n=a?(PGe(e,t),-1):(NGe(e,t),1)}function nP(e){var t,n,r=e.Jh();if(!r)for(t=0,n=e.Ph();n;n=n.Ph()){if(++t>KV)return n.Qh();if(r=n.Jh(),r||n==e)break}return r}function UYe(e,t){var n;return N(t)===N(e)?!0:!P(t,21)||(n=I(t,21),n.gc()!=e.gc())?!1:e.Ic(n)}function WYe(e,t){return e.et.e?1:e.ft.f?1:$k(e)-$k(t)}function rP(e,t){return BC(e),t==null?!1:Rb(e,t)?!0:e.length==t.length&&Rb(e.toLowerCase(),t.toLowerCase())}function iP(e){var t,n;return lM(e,-129)>0&&lM(e,128)<0?(Awe(),t=dS(e)+128,n=dSt[t],!n&&(n=dSt[t]=new Il(e)),n):new Il(e)}function aP(){aP=C,rZ=new jg(HU,0),tEt=new jg(`INSIDE_PORT_SIDE_GROUPS`,1),tZ=new jg(`GROUP_MODEL_ORDER`,2),nZ=new jg(eht,3)}function GYe(e){var t;return e.b||Vle(e,(t=Pye(e.e,e.a),!t||!Rb(bK,IN((!t.b&&(t.b=new lb((hB(),o9),d9,t)),t.b),`qualified`)))),e.c}function KYe(e,t){for(var n=(HT(t,e.length),e.charCodeAt(t)),r=t+1;r2e3&&(Jxt=e,YJ=r.setTimeout(Oue,10))),JJ++==0?(lze((Sce(),Yxt)),!0):!1}function pXe(e,t,n){var r;(QSt?(gJe(e),!0):$St||tCt?(Mh(),!0):eCt&&(Mh(),!1))&&(r=new Dbe(t),r.b=n,w4e(e,r))}function cP(e,t){var n=!e.A.Hc((HN(),k5))||e.q==(rI(),K8);e.u.Hc((rL(),$8))?n?rdt(e,t):jut(e,t):e.u.Hc(t5)&&(n?cut(e,t):Edt(e,t))}function mXe(e){var t;N(J(e,(dB(),w6)))===N((pM(),T8))&&(_T(e)?(t=I(J(_T(e),w6),346),PP(e,w6,t)):PP(e,w6,E8))}function hXe(e){var t,n;return rb(e.d.i,(cB(),i0))?(t=I(K(e.c.i,i0),17),n=I(K(e.d.i,i0),17),ey(t.a,n.a)>0):!1}function gXe(e,t,n){return new fw(r.Math.min(e.a,t.a)-n/2,r.Math.min(e.b,t.b)-n/2,r.Math.abs(e.a-t.a)+n,r.Math.abs(e.b-t.b)+n)}function _Xe(e){var t;this.d=new qd,this.j=new qm,this.g=new qm,t=e.g.b,this.f=I(K(IC(t),(cB(),E1)),88),this.e=A(F(EP(t,C0)))}function vXe(e){this.d=new qd,this.e=new zE,this.c=H(q9,DV,28,(Qz(),W(j(T5,1),UU,64,0,[C5,a5,i5,S5,w5])).length,15,1),this.b=e}function yXe(e,t,n){var r=n[e.g][t];switch(e.g){case 1:case 3:return new M(0,r);case 2:case 4:return new M(r,0);default:return null}}function bXe(e,t,n){var r,i=I(Xw(t.f),205);try{i.rf(e,n),CDe(t.f,i)}catch(e){throw e=ej(e),P(e,103)?(r=e,k(r)):k(e)}}function xXe(e,t,n){var r=null,i,a,o,s=$ct(wk(),t),c;return a=null,s&&(i=null,c=Rct(s,n),o=null,c!=null&&(o=e.qf(s,c)),i=o,a=i),r=a,r}function lP(e,t,n,r){var i=e.length;if(t>=i)return i;for(t=t>0?t:0;tr&&CC(t,r,null),t}function SXe(e,t){var n,r=e.a.length;for(t.lengthr&&CC(t,r,null),t}function dP(e,t){var n,r;if(++e.j,t!=null&&(n=(r=e.a.Cb,P(r,99)?I(r,99).th():null),K8e(t,n))){tP(e.a,4,n);return}tP(e.a,4,I(t,129))}function CXe(e){var t;if(e==null)return null;if(t=X7e(Sz(e,!0)),t==null)throw k(new um(`Invalid hexBinary value: '`+e+`'`));return t}function fP(e,t,n){var r;t.a.length>0&&(py(e.b,new dCe(t.a,n)),r=t.a.length,0r&&(t.a+=ige(H(K9,hV,28,-r,15,1))))}function wXe(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new O($j(t));i.a=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n=0?e.Wh(i):cL(e,r)):n<0?cL(e,r):I(r,69).wk().Bk(e,e.hi(),n)}function FXe(e){var t,n,r=(!e.o&&(e.o=new ND((iB(),a7),u7,e,0)),e.o);for(n=r.c.Kc();n.e!=n.i.gc();)t=I(n.Yj(),44),t.md();return SD(r)}function SP(e){var t;if(P(e.a,4)){if(t=BYe(e.a),t==null)throw k(new im(_vt+e.b+`'. `+hvt+(mb(S7),S7.k)+gvt));return t}else return e.a}function IXe(e,t){var n,r;if(e.j.length!=t.j.length)return!1;for(n=0,r=e.j.length;n=64&&t<128&&(i=KT(i,_S(1,t-64)));return i}function EP(e,t){var n,r=null;return rb(e,(dB(),e8))&&(n=I(K(e,e8),96),n.pf(t)&&(r=n.of(t))),r==null&&IC(e)&&(r=K(IC(e),t)),r}function LXe(e,t){var n=I(K(e,(cB(),B1)),75);return oy(t,iEt)?n?Sw(n):(n=new mp,G(e,B1,n)):n&&G(e,B1,null),n}function DP(){DP=C,zwt=(dB(),Mzt),xX=izt,jwt=g6,Pwt=R6,Lwt=(RF(),xCt),Iwt=yCt,Rwt=CCt,Fwt=vCt,Mwt=(Kj(),Dwt),yX=Ewt,Nwt=kwt,bX=Awt}function OP(e){switch(Cde(),this.c=new qd,this.d=e,e.g){case 0:case 2:this.a=VDe(eEt),this.b=RV;break;case 3:case 1:this.a=eEt,this.b=zV}}function RXe(e){var t;zb(I(K(e,(cB(),s0)),101))&&(t=e.b,Y8e((VT(0,t.c.length),I(t.c[0],30))),Y8e(I(zx(t,t.c.length-1),30)))}function zXe(e,t){t.Ug(`Self-Loop post-processing`,1),Ph(aw(aw(TO(new Hx(null,new UT(e.b,16)),new yr),new br),new Wee),new xr),t.Vg()}function BXe(e,t,n){var r,i;if(e.c)ik(e.c,e.c.i+t),ak(e.c,e.c.j+n);else for(i=new O(e.b);i.a=0&&(n.d=e.t);break;case 3:e.t>=0&&(n.a=e.t)}e.C&&(n.b=e.C.b,n.c=e.C.c)}function AP(){AP=C,OMt=new Qg(t_t,0),Z0=new Qg(dW,1),Q0=new Qg(`LINEAR_SEGMENTS`,2),X0=new Qg(`BRANDES_KOEPF`,3),$0=new Qg(e_t,4)}function jP(){jP=C,hX=new Eg(FH,0),mX=new Eg(IH,1),gX=new Eg(LH,2),_X=new Eg(RH,3),hX.a=!1,mX.a=!0,gX.a=!1,_X.a=!0}function MP(){MP=C,lX=new Tg(FH,0),cX=new Tg(IH,1),uX=new Tg(LH,2),dX=new Tg(RH,3),lX.a=!1,cX.a=!0,uX.a=!1,dX.a=!0}function NP(e,t,n,r){var i;return n>=0?e.Sh(t,n,r):(e.Ph()&&(r=(i=e.Fh(),i>=0?e.Ah(r):e.Ph().Th(e,-1-i,null,r))),e.Ch(t,n,r))}function JXe(e,t){switch(t){case 7:!e.e&&(e.e=new Ib(Z5,e,7,4)),Pz(e.e);return;case 8:!e.d&&(e.d=new Ib(Z5,e,8,5)),Pz(e.d);return}QJe(e,t)}function PP(e,t,n){return n==null?(!e.o&&(e.o=new ND((iB(),a7),u7,e,0)),QN(e.o,t)):(!e.o&&(e.o=new ND((iB(),a7),u7,e,0)),HF(e.o,t,n)),e}function YXe(e,t){Ew();var n=e,r,i,a=t;for(P(e,21)&&!P(t,21)&&(n=t,a=e),i=n.Kc();i.Ob();)if(r=i.Pb(),a.Hc(r))return!1;return!0}function XXe(e,t,n,r){return t.an.b)}function FP(e,t){return Z_(e)?!!Fxt[t]:e.Sm?!!e.Sm[t]:$_(e)?!!Pxt[t]:Q_(e)?!!Nxt[t]:!1}function ZXe(e){var t=e.a;do t=I($E(new SS(Ty(cN(t).a.Kc(),new d))),18).c.i,t.k==(DI(),uZ)&&e.b.Fc(t);while(t.k==(DI(),uZ));e.b=yN(e.b)}function QXe(e,t){var n,i,a=e;for(i=new SS(Ty(cN(t).a.Kc(),new d));CL(i);)n=I($E(i),18),n.c.i.c&&(a=r.Math.max(a,n.c.i.c.p));return a}function $Xe(e,t){var n,r,i=0;for(r=I(I(rD(e.r,t),21),87).Kc();r.Ob();)n=I(r.Pb(),117),i+=n.d.d+n.b.Mf().b+n.d.a,r.Ob()&&(i+=e.w);return i}function eZe(e,t){var n,r,i=0;for(r=I(I(rD(e.r,t),21),87).Kc();r.Ob();)n=I(r.Pb(),117),i+=n.d.b+n.b.Mf().a+n.d.c,r.Ob()&&(i+=e.w);return i}function tZe(e){var t,n,r=0,i=aR(e);if(i.c.length==0)return 1;for(n=new O(i);n.a=0?e.Lh(o,n,!0):mL(e,a,n)):I(a,69).wk().yk(e,e.hi(),i,n,r)}function aZe(e,t,n,r){var i=KKe(t.pf((dB(),j6))?I(t.of(j6),21):e.j);i!=(mB(),nX)&&(n&&!MYe(i)||t3e(Z7e(e,i,r),t))}function oZe(e){switch(e.g){case 1:return JA(),sX;case 3:return JA(),iX;case 2:return JA(),oX;case 4:return JA(),aX;default:return null}}function sZe(e,t,n){if(e.e)switch(e.b){case 1:BOe(e.c,t,n);break;case 0:VOe(e.c,t,n)}else pPe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function cZe(e){var t,n;if(e==null)return null;for(n=H(oZ,X,199,e.length,0,2),t=0;t=0)return i;if(e.ol()){for(r=0;r=i)throw k(new Lb(t,i));if(e.Si()&&(r=e.dd(n),r>=0&&r!=t))throw k(new rm(uq));return e.Xi(t,n)}function uZe(e,t){if(this.a=I(hC(e),253),this.b=I(hC(t),253),e.Ed(t)>0||e==(jp(),BJ)||t==(Mp(),VJ))throw k(new rm(`Invalid range: `+vPe(e,t)))}function dZe(e){var t,n;for(this.b=new qd,this.c=e,this.a=!1,n=new O(e.a);n.a0),(t&-t)==t)return iT(t*LL(e,31)*4656612873077393e-25);do n=LL(e,31),r=n%t;while(n-r+(t-1)<0);return iT(r)}function bZe(e,t,n){switch(n.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 GP(e,t,n,r){var i,a;for(i=t;i1&&(a=fZe(e,t)),a}function SZe(e){var t=A(F(J(e,(dB(),i8))))*r.Math.sqrt((!e.a&&(e.a=new L(s7,e,10,11)),e.a).i);return new M(t,t/A(F(J(e,r8))))}function JP(e){var t;return e.f&&e.f.Vh()&&(t=I(e.f,54),e.f=I(uM(e,t),84),e.f!=t&&e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,9,8,t,e.f))),e.f}function YP(e){var t;return e.i&&e.i.Vh()&&(t=I(e.i,54),e.i=I(uM(e,t),84),e.i!=t&&e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,9,7,t,e.i))),e.i}function XP(e){var t;return e.b&&e.b.Db&64&&(t=e.b,e.b=I(uM(e,t),19),e.b!=t&&e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,9,21,t,e.b))),e.b}function ZP(e,t){var n,r,i;e.d==null?(++e.e,++e.f):(r=t.Bi(),het(e,e.f+1),i=(r&SB)%e.d.length,n=e.d[i],!n&&(n=e.d[i]=e.dk()),n.Fc(t),++e.f)}function CZe(e,t,n){var r;return t.tk()?!1:t.Ik()==-2?t.qk()==e.e.Dh()&&n==null:(r=t.ik(),r==null?n==null:EM(r,n))}function QP(){var e;jk(16,lpt),e=kVe(16),this.b=H(UJ,tV,303,e,0,1),this.c=H(UJ,tV,303,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function $P(e){_ye.call(this),this.k=(DI(),dZ),this.j=(jk(6,iV),new gD(6)),this.b=(jk(2,iV),new gD(2)),this.d=new op,this.f=new cp,this.a=e}function wZe(e){var t,n;e.c.length<=1||(t=cnt(e,(Qz(),S5)),C3e(e,I(t.a,17).a,I(t.b,17).a),n=cnt(e,w5),C3e(e,I(n.a,17).a,I(n.b,17).a))}function TZe(e,t,n){var r,i=e.a.b;for(r=i.c.length;r102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function aF(e,t){if(e==null)throw k(new am(`null key in entry: null=`+t));if(t==null)throw k(new am(`null value in entry: `+e+`=null`))}function jZe(e,t){for(var n,r;e.Ob();)if(!t.Ob()||(n=e.Pb(),r=t.Pb(),!(N(n)===N(r)||n!=null&&EM(n,r))))return!1;return!t.Ob()}function MZe(e,t){var n=W(j(Z9,1),GV,28,15,[nM(e.a[0],t),nM(e.a[1],t),nM(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function NZe(e,t){var n=W(j(Z9,1),GV,28,15,[rM(e.a[0],t),rM(e.a[1],t),rM(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function PZe(e,t,n){zb(I(K(t,(cB(),s0)),101))||(vFe(e,t,NI(t,n)),vFe(e,t,NI(t,(Qz(),S5))),vFe(e,t,NI(t,a5)),Ew(),Qv(t.j,new $u(e)))}function FZe(e){var t,n;for(e.c||Oct(e),n=new mp,t=new O(e.a),V(t);t.a0&&(HT(0,t.length),t.charCodeAt(0)==43)?(HT(1,t.length+1),t.substr(1)):t))}function eQe(e){var t;return e==null?null:new Bv((t=Sz(e,!0),t.length>0&&(HT(0,t.length),t.charCodeAt(0)==43)?(HT(1,t.length+1),t.substr(1)):t))}function tQe(e,t,n,r,i,a,o,s){var c,l;r&&(c=r.a[0],c&&tQe(e,t,n,c,i,a,o,s),TF(e,n,r.d,i,a,o,s)&&t.Fc(r),l=r.a[1],l&&tQe(e,t,n,l,i,a,o,s))}function sF(e,t,n){try{return ev(qk(e,t,n),1)}catch(r){throw r=ej(r),P(r,333)?k(new em(BH+e.o+`*`+e.p+VH+t+EB+n+HH)):k(r)}}function nQe(e,t,n){try{return ev(qk(e,t,n),0)}catch(r){throw r=ej(r),P(r,333)?k(new em(BH+e.o+`*`+e.p+VH+t+EB+n+HH)):k(r)}}function rQe(e,t,n){try{return ev(qk(e,t,n),2)}catch(r){throw r=ej(r),P(r,333)?k(new em(BH+e.o+`*`+e.p+VH+t+EB+n+HH)):k(r)}}function iQe(e,t){if(e.g==-1)throw k(new bf);e.Xj();try{e.d.hd(e.g,t),e.f=e.d.j}catch(e){throw e=ej(e),P(e,77)?k(new Cf):k(e)}}function aQe(e){var t,n,r,i,a;for(r=new O(e.b);r.aa&&CC(t,a,null),t}function oQe(e,t){var n,r=e.gc();if(t==null){for(n=0;n0&&(c+=i),l[u]=o,o+=s*(c+r)}function _Qe(e){var t,n,r=e.f;for(e.n=H(Z9,GV,28,r,15,1),e.d=H(Z9,GV,28,r,15,1),t=0;t0?e.c:0),++a;e.b=i,e.d=o}function SQe(e,t){var n=W(j(Z9,1),GV,28,15,[yZe(e,(YO(),WY),t),yZe(e,GY,t),yZe(e,KY,t)]);return e.f&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function CQe(e,t,n){var r;try{wR(e,t+e.j,n+e.k,!1,!0)}catch(e){throw e=ej(e),P(e,77)?(r=e,k(new em(r.g+UH+t+EB+n+`).`))):k(e)}}function wQe(e,t,n){var r;try{wR(e,t+e.j,n+e.k,!0,!1)}catch(e){throw e=ej(e),P(e,77)?(r=e,k(new em(r.g+UH+t+EB+n+`).`))):k(e)}}function TQe(e){var t;rb(e,(cB(),q1))&&(t=I(K(e,q1),21),t.Hc((EL(),M8))?(t.Mc(M8),t.Fc(P8)):t.Hc(P8)&&(t.Mc(P8),t.Fc(M8)))}function EQe(e){var t;rb(e,(cB(),q1))&&(t=I(K(e,q1),21),t.Hc((EL(),z8))?(t.Mc(z8),t.Fc(L8)):t.Hc(L8)&&(t.Mc(L8),t.Fc(z8)))}function gF(e,t,n,r){var i,a,o,s;return e.a??j4e(e,t),o=t.b.j.c.length,a=n.d.p,s=r.d.p,i=s-1,i<0&&(i=o-1),a<=i?e.a[i]-e.a[a]:e.a[o-1]-e.a[a]+e.a[i]}function DQe(e){var t,n;if(!e.b)for(e.b=dE(I(e.f,27).kh().i),n=new xy(I(e.f,27).kh());n.e!=n.i.gc();)t=I(CP(n),135),py(e.b,new Yp(t));return e.b}function OQe(e){var t,n;if(!e.e)for(e.e=dE(QC(I(e.f,27)).i),n=new xy(QC(I(e.f,27)));n.e!=n.i.gc();)t=I(CP(n),123),py(e.e,new Xoe(t));return e.e}function kQe(e){var t,n;if(!e.a)for(e.a=dE(kw(I(e.f,27)).i),n=new xy(kw(I(e.f,27)));n.e!=n.i.gc();)t=I(CP(n),27),py(e.a,new Gy(e,t));return e.a}function _F(e){var t;if(!e.C&&(e.D!=null||e.B!=null))if(t=Zlt(e),t)e.hl(t);else try{e.hl(null)}catch(e){if(e=ej(e),!P(e,63))throw k(e)}return e.C}function AQe(e){switch(e.q.g){case 5:h1e(e,(Qz(),a5)),h1e(e,S5);break;case 4:Vct(e,(Qz(),a5)),Vct(e,S5);break;default:B3e(e,(Qz(),a5)),B3e(e,S5)}}function jQe(e){switch(e.q.g){case 5:g1e(e,(Qz(),i5)),g1e(e,w5);break;case 4:Hct(e,(Qz(),i5)),Hct(e,w5);break;default:V3e(e,(Qz(),i5)),V3e(e,w5)}}function vF(e,t){var n,i,a=new qm;for(i=e.Kc();i.Ob();)n=I(i.Pb(),36),DR(n,a.a,0),a.a+=n.f.a+t,a.b=r.Math.max(a.b,n.f.b);return a.b>0&&(a.b+=t),a}function yF(e,t){var n,i,a=new qm;for(i=e.Kc();i.Ob();)n=I(i.Pb(),36),DR(n,0,a.b),a.b+=n.f.b+t,a.a=r.Math.max(a.a,n.f.a);return a.a>0&&(a.a+=t),a}function MQe(e){var t,n,i=SB;for(n=new O(e.a);n.a>16==6?e.Cb.Th(e,5,n7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function FQe(e){Nw();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+` `;return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split(` -`)}return[]}function WQe(e){var t=(lVe(),fSt);return 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 GQe(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=_We(r.Math.max(8,i))<<1,e.b==0?Pf(e.a,n):(t=vb(e.a,n),ZVe(e,t,i),e.a=t,e.b=0),e.c=i)}function KQe(e,t){var n=e.b;return n.pf((eB(),H6))?n.ag()==(Vz(),C5)?-n.Mf().a-k(P(n.of(H6))):t+k(P(n.of(H6))):n.ag()==(Vz(),C5)?-n.Mf().a:t}function pF(e){var t;return e.b.c.length!=0&&F(Ox(e.b,0),72).a?F(Ox(e.b,0),72).a:(t=TOe(e),t??``+(e.c?VD(e.c.a,e,0):-1))}function mF(e){var t;return e.f.c.length!=0&&F(Ox(e.f,0),72).a?F(Ox(e.f,0),72).a:(t=TOe(e),t??``+(e.i?VD(e.i.j,e,0):-1))}function qQe(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n0?e.c:0),a=r.Math.max(a,t.d),++i;e.e=o,e.b=a}function XQe(e){var t,n;if(!e.b)for(e.b=GT(F(e.f,123).kh().i),n=new cy(F(e.f,123).kh());n.e!=n.i.gc();)t=F(hP(n),135),ey(e.b,new Rp(t));return e.b}function ZQe(e,t){var n,r,i;if(t.dc())return ib(),ib(),w7;for(n=new dye(e,t.gc()),i=new cy(e);i.e!=i.i.gc();)r=hP(i),t.Hc(r)&&gD(n,r);return n}function QQe(e,t,n,r){return t==0?r?(!e.o&&(e.o=new xD((qz(),i7),l7,e,0)),e.o):(!e.o&&(e.o=new xD((qz(),i7),l7,e,0)),uD(e.o)):kP(e,t,n,r)}function hF(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t>22),i+=r>>22,i<0)?!1:(e.l=n&AV,e.m=r&AV,e.h=i&jV,!0)}function _F(e,t,n,r,i,a,o){var s,c;return!(t.Te()&&(c=e.a.Ne(n,r),c<0||!i&&c==0)||t.Ue()&&(s=e.a.Ne(n,a),s>0||!o&&s==0))}function n$e(e,t){if(Oj(),e.j.g-t.j.g!=0)return 0;switch(e.j.g){case 2:return tN(t,gDt)-tN(e,gDt);case 4:return tN(e,hDt)-tN(t,hDt)}return 0}function r$e(e){switch(e.g){case 0:return NQ;case 1:return PQ;case 2:return FQ;case 3:return IQ;case 4:return LQ;case 5:return RQ;default:return null}}function vF(e,t,n){var r=(i=new wp,Qj(i,t),Gk(i,n),gD((!e.c&&(e.c=new I(V7,e,12,10)),e.c),i),i),i;return ek(r,0),tk(r,1),TM(r,!0),CM(r,!0),r}function yF(e,t){var n,r;if(t>=e.i)throw O(new Nme(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&BR(e.g,t+1,e.g,t,r),fC(e.g,--e.i,null),e.Qi(t,n),e.Ni(),n}function i$e(e,t){var n,r;return e.Db>>16==17?e.Cb.Th(e,21,P7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function a$e(e){var t,n,r,i;for(lw(),zv(e.c,e.a),i=new D(e.c);i.an.a.c.length))throw O(new Kp(`index must be >= 0 and <= layer node count`));e.c&&zD(e.c.a,e),e.c=n,n&&Kx(n.a,t,e)}function y$e(e,t){var n,r,i;for(r=new dS(fy(QM(e).a.Kc(),new d));hL(r);)return n=F(IE(r),18),i=F(t.Kb(n),10),new Ic(iC(i.n.b+i.o.b/2));return Dp(),Dp(),NJ}function b$e(e,t){this.c=new Xd,this.a=e,this.b=t,this.d=F(K(e,(Y(),q$)),312),M(K(e,(Zz(),Vjt)))===M((ID(),zQ))?this.e=new ap:this.e=new Gse}function CF(e,t){var n,r=null;return e.pf((eB(),$6))&&(n=F(e.of($6),96),n.pf(t)&&(r=n.of(t))),r==null&&e.Tf()&&(r=e.Tf().of(t)),r??=mP(t),r}function wF(e,t){var n=e.fd(t),r;try{return r=n.Pb(),n.Qb(),r}catch(e){throw e=qA(e),N(e,112)?O(new Up(`Can't remove element `+t)):O(e)}}function x$e(e,t){var n,r=new ch,i=new DWe(r.q.getFullYear()-yV,r.q.getMonth(),r.q.getDate());if(n=est(e,t,i),n==0||n0?t:0),++n;return new j(i,a)}function O$e(e,t){var n,r;return e.Db>>16==6?e.Cb.Th(e,6,X5,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(qz(),r7)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function k$e(e,t){var n,r;return e.Db>>16==7?e.Cb.Th(e,1,q5,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(qz(),nVt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function A$e(e,t){var n,r;return e.Db>>16==9?e.Cb.Th(e,9,o7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(qz(),iVt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function j$e(e,t){var n,r;return e.Db>>16==5?e.Cb.Th(e,9,I7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(iB(),X7)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function M$e(e,t){var n,r;return e.Db>>16==7?e.Cb.Th(e,6,t7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(iB(),n9)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function N$e(e,t){var n,r;return e.Db>>16==3?e.Cb.Th(e,0,Q5,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(iB(),K7)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function P$e(){this.a=new zo,this.g=new WP,this.j=new WP,this.b=new Xd,this.d=new WP,this.i=new WP,this.k=new Xd,this.c=new Xd,this.e=new Xd,this.f=new Xd}function F$e(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;iqV)return EF(e,r);if(r==e)return!0}}return!1}function L$e(e){switch(Dy(),e.q.g){case 5:v8e(e,(Vz(),i5)),v8e(e,x5);break;case 4:_9e(e,(Vz(),i5)),_9e(e,x5);break;default:$ut(e,(Vz(),i5)),$ut(e,x5)}}function R$e(e){switch(Dy(),e.q.g){case 5:_5e(e,(Vz(),r5)),_5e(e,C5);break;case 4:XXe(e,(Vz(),r5)),XXe(e,C5);break;default:edt(e,(Vz(),r5)),edt(e,C5)}}function z$e(e){var t=F(K(e,(FR(),fTt)),17),n;t?(n=t.a,n==0?G(e,(Pk(),NX),new pN):G(e,(Pk(),NX),new CE(n))):G(e,(Pk(),NX),new CE(1))}function B$e(e,t){var n=e.i;switch(t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function V$e(e,t){switch(e.g){case 0:return t==(mN(),t1)?HZ:UZ;case 1:return t==(mN(),t1)?HZ:VZ;case 2:return t==(mN(),t1)?VZ:UZ;default:return VZ}}function DF(e,t){var n,i,a;for(zD(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=S_t,i=new D(e.a);i.a>16==3?e.Cb.Th(e,12,o7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(qz(),eVt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function U$e(e,t){var n,r;return e.Db>>16==11?e.Cb.Th(e,10,o7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(qz(),rVt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function W$e(e,t){var n,r;return e.Db>>16==10?e.Cb.Th(e,11,P7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(iB(),t9)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function G$e(e,t){var n,r;return e.Db>>16==10?e.Cb.Th(e,12,z7,t):(r=HP(F(CO((n=F(EA(e,16),29),n||(iB(),r9)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function OF(e){var t;return!(e.Bb&1)&&e.r&&e.r.Vh()&&(t=F(e.r,54),e.r=F(aM(e,t),142),e.r!=t&&e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,9,8,t,e.r))),e.r}function kF(e,t,n){var i=W(A(Z9,1),KV,28,15,[z2e(e,(zO(),HY),t,n),z2e(e,UY,t,n),z2e(e,WY,t,n)]);return e.f&&(i[0]=r.Math.max(i[0],i[2]),i[2]=i[0]),i}function K$e(e,t){var n,r,i=ZXe(e,t);if(i.c.length!=0)for(zv(i,new nr),n=i.c.length,r=0;r>19,l=t.h>>19;return c==l?(i=e.h,s=t.h,i==s?(r=e.m,o=t.m,r==o?(n=e.l,a=t.l,n-a):r-o):i-s):l-c}function AF(){AF=C,ECt=(cR(),VY),TCt=new iv(umt,ECt),wCt=(_O(),zY),CCt=new iv(dmt,wCt),SCt=(dP(),RY),xCt=new iv(fmt,SCt),bCt=new iv(pmt,(Oy(),!0))}function jF(e,t,n){var r=t*n,i;N(e.g,154)?(i=tE(e),i.f.d?i.f.a||(e.d.a+=r+jH):(e.d.d-=r+jH,e.d.a+=r+jH)):N(e.g,10)&&(e.d.d-=r,e.d.a+=2*r)}function $$e(e,t,n){var i,a=e[n.g],o,s,c;for(c=new D(t.d);c.a0?e.b:0),++n;t.b=i,t.e=a}function t1e(e){var t,n,r=e.b;if(gde(e.i,r.length)){for(n=r.length*2,e.b=H(VJ,WB,303,n,0,1),e.c=H(VJ,WB,303,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)JI(e,t,t);++e.g}}function n1e(e,t,n,r){var i,a,o,s;for(i=0;is&&(c=s/i),a>o&&(l=o/a),$v(e,r.Math.min(c,l)),e}function i1e(){nz();var e,t;try{if(t=F(Z1e((Wh(),B7),qK),2113),t)return t}catch(t){if(t=qA(t),N(t,103))e=t,YEe((Iv(),e));else throw O(t)}return new Fo}function a1e(){nz();var e,t;try{if(t=F(Z1e((Wh(),B7),Kq),2040),t)return t}catch(t){if(t=qA(t),N(t,103))e=t,YEe((Iv(),e));else throw O(t)}return new ire}function o1e(){pRe();var e,t;try{if(t=F(Z1e((Wh(),B7),cJ),2122),t)return t}catch(t){if(t=qA(t),N(t,103))e=t,YEe((Iv(),e));else throw O(t)}return new xre}function s1e(e,t,n){var r,i=e.e;return e.e=t,e.Db&4&&!(e.Db&1)&&(r=new bS(e,1,4,i,t),n?n.nj(r):n=r),i!=t&&(n=t?Nz(e,AL(e,t),n):Nz(e,e.a,n)),n}function c1e(){ch.call(this),this.e=-1,this.a=!1,this.p=$B,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=$B}function l1e(e,t){var n,r=e.b.d.d,i;if(e.a||(r+=e.b.d.a),i=t.b.d.d,t.a||(i+=t.b.d.a),n=zM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function u1e(e,t){var n,r=e.b.b.d,i;if(e.a||(r+=e.b.b.a),i=t.b.b.d,t.a||(i+=t.b.b.a),n=zM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function d1e(e,t){var n,r=e.b.g.d,i;if(e.a||(r+=e.b.g.a),i=t.b.g.d,t.a||(i+=t.b.g.a),n=zM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function f1e(){f1e=C,BTt=$x(Cx(Cx(Cx(new NC,(uI(),VX),(tB(),GEt)),VX,KEt),HX,qEt),HX,PEt),HTt=Cx(Cx(new NC,VX,DEt),VX,FEt),VTt=$x(new NC,HX,LEt)}function p1e(e){var t=F(K(e,(Y(),m$)),85),n,r,i,a=e.n;for(r=t.Cc().Kc();r.Ob();)n=F(r.Pb(),314),i=n.i,i.c+=a.a,i.d+=a.b,n.c?Tnt(n):Ent(n);G(e,m$,null)}function m1e(e,t,n){var r,i=e.b;switch(r=i.d,t.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function h1e(e,t,n){var r,i;for(n.Ug(`Interactive node placement`,1),e.a=F(K(t,(Y(),q$)),312),i=new D(t.b);i.a0&&(o=(a&dB)%e.d.length,i=Q8e(e,o,a,t),i)?(s=i.nd(n),s):(r=e.ck(a,t,n),e.c.Fc(r),null)}function j1e(e,t){var n,r,i,a;switch(vM(e,t).Kl()){case 3:case 2:for(n=az(t),i=0,a=n.i;i=0;i--)if(Db(e[i].d,t)||Db(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}function IF(e,t){var n;return dv(e)&&dv(t)&&(n=e/t,IV0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=r.Math.min(i,a))}function U1e(e){var t=F(K(F(xP(e.b,0),40),(HR(),aFt)),107);G(e,(Bz(),Y2),new j(0,0)),Fit(new tD,e,t.b+t.c-k(P(K(e,$2))),t.d+t.a-k(P(K(e,e4))))}function W1e(e,t){var n,r=!1;if(B_(t)&&(r=!0,hC(e,new aC(eb(t)))),r||N(t,242)&&(r=!0,hC(e,(n=Ibe(F(t,242)),new ol(n)))),!r)throw O(new Wp(byt))}function G1e(e,t,n,r){var i=new QD(e.e,1,10,(o=t.c,N(o,90)?F(o,29):(iB(),e9)),(a=n.c,N(a,90)?F(a,29):(iB(),e9)),jP(e,t),!1),a,o;return r?r.nj(i):r=i,r}function K1e(e){var t,n;switch(F(K(TC(e),(Zz(),Njt)),429).g){case 0:return t=e.n,n=e.o,new j(t.a+n.a/2,t.b+n.b/2);case 1:return new pv(e.n);default:return null}}function zF(){zF=C,VQ=new Ng(UU,0),nOt=new Ng(`LEFTUP`,1),iOt=new Ng(`RIGHTUP`,2),tOt=new Ng(`LEFTDOWN`,3),rOt=new Ng(`RIGHTDOWN`,4),BQ=new Ng(`BALANCED`,5)}function q1e(e,t,n){var r=zM(e.a[t.p],e.a[n.p]),i,a;if(r==0){if(i=F(K(t,(Y(),D$)),15),a=F(K(n,D$),15),i.Hc(n))return-1;if(a.Hc(t))return 1}return r}function J1e(e){switch(e.g){case 1:return new Ia;case 2:return new _ne;case 3:return new Fa;case 0:return null;default:throw O(new Kp(WG+(e.f==null?``+e.g:e.f)))}}function Y1e(e,t,n){switch(t){case 1:!e.n&&(e.n=new I(a7,e,1,7)),Cz(e.n),!e.n&&(e.n=new I(a7,e,1,7)),YS(e.n,F(n,16));return;case 2:Ek(e,eb(n));return}$We(e,t,n)}function X1e(e,t,n){switch(t){case 3:KO(e,k(P(n)));return;case 4:qO(e,k(P(n)));return;case 5:JO(e,k(P(n)));return;case 6:YO(e,k(P(n)));return}Y1e(e,t,n)}function BF(e,t,n){var r,i,a=(r=new wp,r);i=iI(a,t,null),i&&i.oj(),Gk(a,n),gD((!e.c&&(e.c=new I(V7,e,12,10)),e.c),a),ek(a,0),tk(a,1),TM(a,!0),CM(a,!0)}function Z1e(e,t){var n=ng(e.i,t),r,i;return N(n,241)?(i=F(n,241),i.zi(),i.wi()):N(n,507)?(r=F(n,2037),i=r.b,i):null}function Q1e(e,t,n,r){var i,a;return iC(t),iC(n),a=F(jb(e.d,t),17),YRe(!!a,`Row %s not in %s`,t,e.e),i=F(jb(e.b,n),17),YRe(!!i,`Column %s not in %s`,n,e.c),eWe(e,a.a,i.a,r)}function $1e(e,t,n,r,i,a,o){var s,c,l,u=i[a],d;if(l=a==o-1,s=l?r:0,d=OQe(s,u),r!=10&&W(A(e,o-a),t[a],n[a],s,d),!l)for(++a,c=0;c1||s==-1?(a=F(c,15),i.Wb(zJe(e,a))):i.Wb(kR(e,F(c,58)))))}function c0e(e,t,n,r){Hue();var i=Nxt;Pxt=r;function a(){for(var e=0;e0)return!1;return!0}function d0e(e){var t,n,r,i,a;for(r=new yA(new Al(e.b).a);r.b;)n=Fk(r),t=F(n.ld(),10),a=F(F(n.md(),42).a,10),i=F(F(n.md(),42).b,8),xb(rv(t.n),xb(Gv(a.n),i))}function f0e(e){switch(F(K(e.b,(Zz(),Ejt)),387).g){case 1:Sh(JC(mO(new jx(null,new wT(e.d,16)),new yte),new ri),new ii);break;case 2:frt(e);break;case 0:N6e(e)}}function p0e(e,t,n){var r=n,i,a;for(!r&&(r=new Ep),r.Ug(`Layout`,e.a.c.length),a=new D(e.a);a.aDG)return n;i>-1e-6&&++n}return n}function v0e(e,t){var n;t==e.b?e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,3,t,t)):(n=null,e.b&&(n=Mw(e.b,e,-4,n)),t&&(n=TP(t,e,-4,n)),n=xKe(e,t,n),n&&n.oj())}function y0e(e,t){var n;t==e.f?e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,0,t,t)):(n=null,e.f&&(n=Mw(e.f,e,-1,n)),t&&(n=TP(t,e,-1,n)),n=bKe(e,t,n),n&&n.oj())}function b0e(e,t,n,r){var i,a,o,s;return _v(e.e)&&(i=t.Lk(),s=t.md(),a=n.md(),o=Tw(e,1,i,s,a,i.Jk()?QR(e,i,a,N(i,102)&&(F(i,19).Bb&WV)!=0):-1,!0),r?r.nj(o):r=o),r}function x0e(e){var t,n,r;if(e==null)return null;if(n=F(e,15),n.dc())return``;for(r=new cm,t=n.Kc();t.Ob();)X_(r,(Oz(),eb(t.Pb()))),r.a+=` `;return Vme(r,r.a.length-1)}function S0e(e){var t,n,r;if(e==null)return null;if(n=F(e,15),n.dc())return``;for(r=new cm,t=n.Kc();t.Ob();)X_(r,(Oz(),eb(t.Pb()))),r.a+=` `;return Vme(r,r.a.length-1)}function C0e(e,t,n){var r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p];return r.a!=null&&i.a!=null?lS(r.a,i.a):r.a==null?i.a==null?0:1:-1}function w0e(e,t,n){return n.Ug(`Tree layout`,1),VC(e.b),BS(e.b,(bF(),B2),B2),BS(e.b,V2,V2),BS(e.b,H2,H2),BS(e.b,U2,U2),e.a=Tz(e.b,t),p0e(e,t,n.eh(1)),n.Vg(),t}function T0e(e,t){var n,r,i,a,o,s;if(t)for(a=t.a.length,n=new pS(a),s=(n.b-n.a)*n.c<0?(Xh(),G9):new ly(n);s.Ob();)o=F(s.Pb(),17),i=XT(t,o.a),r=new fse(e),_Oe(r.a,i)}function E0e(e,t){var n,r,i,a,o,s;if(t)for(a=t.a.length,n=new pS(a),s=(n.b-n.a)*n.c<0?(Xh(),G9):new ly(n);s.Ob();)o=F(s.Pb(),17),i=XT(t,o.a),r=new ose(e),gOe(r.a,i)}function D0e(e){var t;if(e!=null&&e.length>0&&KC(e,e.length-1)==33)try{return t=q7e(jw(e,0,e.length-1)),t.e==null}catch(e){if(e=qA(e),!N(e,33))throw O(e)}return!1}function O0e(e,t,n){var r=VM(TC(t)),i=new CI;switch(sT(i,t),n.g){case 1:qI(i,MM(dN(r)));break;case 2:qI(i,dN(r))}return G(i,(Zz(),i0),P(K(e,i0))),i}function k0e(e){var t=F(IE(new dS(fy($M(e.a).a.Kc(),new d))),18),n=F(IE(new dS(fy(eN(e.a).a.Kc(),new d))),18);return Bp($y(K(t,(Y(),W$))))||Bp($y(K(n,W$)))}function qF(){qF=C,XZ=new Tg(`ONE_SIDE`,0),QZ=new Tg(`TWO_SIDES_CORNER`,1),$Z=new Tg(`TWO_SIDES_OPPOSING`,2),ZZ=new Tg(`THREE_SIDES`,3),YZ=new Tg(`FOUR_SIDES`,4)}function A0e(e,t){var n,r,i,a=new Zd;for(i=0,r=t.Kc();r.Ob();){for(n=dM(F(r.Pb(),17).a+i);n.a=e.f)break;df(a.c,n)}return a}function j0e(e,t){var n,r,i,a,o;for(a=new D(t.a);a.a0&&l$e(this,this.c-1,(Vz(),r5)),this.c0&&e[0].length>0&&(this.c=Bp($y(K(TC(e[0][0]),(Y(),EOt))))),this.a=H(yNt,X,2117,e.length,0,2),this.b=H(bNt,X,2118,e.length,0,2),this.d=new tKe}function W0e(e){return e.c.length==0?!1:(ST(0,e.c.length),F(e.c[0],18)).c.i.k==(yI(),cZ)?!0:jE(JC(new jx(null,new wT(e,16)),new Mte),new Mi)}function G0e(e,t){var n,i,a,o,s,c=$L(t),l;for(o=t.f,l=t.g,s=r.Math.sqrt(o*o+l*l),a=0,i=new D(c);i.a=0?(n=IF(e,FV),r=AN(e,FV)):(t=cS(e,1),n=IF(t,5e8),r=AN(t,5e8),r=GM(oS(r,1),ET(e,1))),DT(oS(r,32),ET(n,JV))}function s2e(e,t,n){var r=(nb(t.b!=0),F(NO(t,t.a.a),8)),i;switch(n.g){case 0:r.b=0;break;case 2:r.b=e.f;break;case 3:r.a=0;break;default:r.a=e.g}return i=uP(t,0),GS(i,r),t}function c2e(e,t,n,r){var i,a,o,s,c=e.b;switch(a=t.d,o=a.j,s=DXe(o,c.d[o.g],n),i=xb(Gv(a.n),a.a),a.j.g){case 1:case 3:s.a+=i.a;break;case 2:case 4:s.b+=i.b}bE(r,s,r.c.b,r.c)}function l2e(e,t,n){var r,i,a,o=VD(e.e,t,0);for(a=new rp,a.b=n,r=new IT(e.e,o);r.b1;t>>=1)t&1&&(r=aE(r,n)),n=n.d==1?aE(n,n):new cXe(fat(n.a,n.d,H(q9,bV,28,n.d<<1,15,1)));return r=aE(r,n),r}function h2e(){h2e=C;var e,t,n,r;for(GSt=H(Z9,KV,28,25,15,1),KSt=H(Z9,KV,28,33,15,1),r=152587890625e-16,t=32;t>=0;t--)KSt[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)GSt[e]=n,n*=.5}function g2e(e){var t,n;if(Bp($y(J(e,(Zz(),I1))))){for(n=new dS(fy(OL(e).a.Kc(),new d));hL(n);)if(t=F(IE(n),74),nL(t)&&Bp($y(J(t,L1))))return!0}return!1}function _2e(e,t){var n,r,i;FS(e.f,t)&&(t.b=e,r=t.c,VD(e.j,r,0)!=-1||ey(e.j,r),i=t.d,VD(e.j,i,0)!=-1||ey(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new TXe(e)),uUe(e.i,n)))}function v2e(e){var t,n=e.c.d,r=n.j,i=e.d.d,a=i.j;return r==a?n.p=0&&Db(e.substr(t,3),`GMT`)||t>=0&&Db(e.substr(t,3),`UTC`))&&(n[0]=t+3),eat(e,n,r)}function b2e(e,t){var n,r,i,a=e.g.a,o=e.g.b;for(r=new D(e.d);r.an;a--)e[a]|=t[a-n-1]>>>o,e[a-1]=t[a-n-1]<0&&BR(e.g,t,e.g,t+r,s),o=n.Kc(),e.i+=r,i=0;i>4&15,a=e[r]&15,o[i++]=cVt[n],o[i++]=cVt[a];return zN(o,0,o.length)}function oI(e){var t,n;return e>=WV?(t=GV+(e-WV>>10&1023)&oV,n=56320+(e-WV&1023)&oV,String.fromCharCode(t)+(``+String.fromCharCode(n))):String.fromCharCode(e&oV)}function F2e(e,t){lb();var n,r,i=F(F(UE(e.r,t),21),87),a;return i.gc()>=2?(r=F(i.Kc().Pb(),117),n=e.u.Hc((YI(),Z8)),a=e.u.Hc(t5),!r.a&&!n&&(i.gc()==2||a)):!1}function I2e(e,t,n,r,i){for(var a=$tt(e,t,n,r,i),o,s=!1;!a;)bL(e,i,!0),s=!0,a=$tt(e,t,n,r,i);s&&bL(e,i,!1),o=rj(i),o.c.length!=0&&(e.d&&e.d.Gg(o),I2e(e,i,n,r,o))}function sI(){sI=C,x8=new x_(UU,0),tBt=new x_(`DIRECTED`,1),rBt=new x_(`UNDIRECTED`,2),$zt=new x_(`ASSOCIATION`,3),nBt=new x_(`GENERALIZATION`,4),eBt=new x_(`DEPENDENCY`,5)}function L2e(e,t){var n;if(!Uw(e))throw O(new qp(Kvt));switch(n=Uw(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function R2e(e,t,n){var r=t.Lk(),i,a=t.md();return i=r.Jk()?Tw(e,4,r,a,null,QR(e,r,a,N(r,102)&&(F(r,19).Bb&WV)!=0),!0):Tw(e,r.tk()?2:1,r,a,r.ik(),-1,!0),n?n.nj(i):n=i,n}function cI(e,t){var n,r;for(kC(t),r=e.b.c.length,ey(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.Ne(Ox(e.b,r),t)<=0)return EE(e.b,n,t),!0;EE(e.b,n,Ox(e.b,r))}return EE(e.b,r,t),!0}function z2e(e,t,n,i){var a=0,o;if(n)a=Zj(e.a[n.g][t.g],i);else for(o=0;o=s)}function V2e(e){switch(e.g){case 0:return new Dne;case 1:return new One;default:throw O(new Kp(`No implementation is available for the width approximator `+(e.f==null?``+e.g:e.f)))}}function H2e(e,t,n,r){var i=!1;if(B_(r)&&(i=!0,px(t,n,eb(r))),i||V_(r)&&(i=!0,H2e(e,t,n,r)),i||N(r,242)&&(i=!0,mw(t,n,F(r,242))),!i)throw O(new Wp(byt))}function U2e(e,t){var n=t.qi(e.a),r,i;if(n&&(i=DN((!n.b&&(n.b=new Xy((iB(),a9),u9,n)),n.b),zq),i!=null)){for(r=1;r<(FI(),fHt).length;++r)if(Db(fHt[r],i))return r}return 0}function W2e(e,t){var n=t.qi(e.a),r,i;if(n&&(i=DN((!n.b&&(n.b=new Xy((iB(),a9),u9,n)),n.b),zq),i!=null)){for(r=1;r<(FI(),pHt).length;++r)if(Db(pHt[r],i))return r}return 0}function G2e(e,t){var n,r,i,a;if(kC(t),a=e.a.gc(),a0);a.a[i]!=n;)a=a.a[i],i=+(e.a.Ne(n.d,a.d)>0);a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function X2e(e){var t=new Zd,n=H(J9,wH,28,e.a.c.length,16,1),r,i;for(wEe(n,n.length),i=new D(e.a);i.a0&&Vit((ST(0,n.c.length),F(n.c[0],30)),e),n.c.length>1&&Vit(F(Ox(n,n.c.length-1),30),e),t.Vg()}function $2e(e){YI();var t=Yx(Q8,W(A(n5,1),Z,279,0,[e5])),n;return!(NA(Rw(t,e))>1||(n=Yx(Z8,W(A(n5,1),Z,279,0,[X8,t5])),NA(Rw(n,e))>1))}function e4e(e,t){N(Iw((Wh(),B7),e),507)?iT(B7,e,new lme(this,t)):iT(B7,e,this),vI(this,t),t==(Rm(),LVt)?(this.wb=F(this,2038),F(t,2040)):this.wb=(cC(),G7)}function t4e(e){var t,n,r;if(e==null)return null;for(t=null,n=0;n=aV?`error`:r>=900?`warn`:r>=800?`info`:`log`),gDe(n,e.a),e.b&&Vet(t,n,e.b,`Exception: `,!0))}function K(e,t){var n;return(!e.q&&(e.q=new Xd),dC(e.q,t))??(n=t.Sg(),N(n,4)&&(n==null?(!e.q&&(e.q=new Xd),JE(e.q,t)):(!e.q&&(e.q=new Xd),PC(e.q,t,n))),n)}function uI(){uI=C,RX=new gg(`P1_CYCLE_BREAKING`,0),zX=new gg(`P2_LAYERING`,1),BX=new gg(`P3_NODE_ORDERING`,2),VX=new gg(`P4_NODE_PLACEMENT`,3),HX=new gg(`P5_EDGE_ROUTING`,4)}function i4e(e,t){bO();var n;if(e.c==t.c){if(e.b==t.b||pHe(e.b,t.b)){if(n=Yme(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return Vv(e.b.g,t.b.g)}else return zM(e.c,t.c)}function a4e(e,t){var n,r,i;if(u4e(e,t))return!0;for(r=new D(t);r.a=i||t<0)throw O(new Up(fq+t+pq+i));if(n>=i||n<0)throw O(new Up(mq+n+pq+i));return r=t==n?e.xj(n):(a=e.Cj(n),e.qj(t,a),a),r}function l4e(e){var t,n,r=e;if(e)for(t=0,n=e.Eh();n;n=n.Eh()){if(++t>qV)return l4e(n);if(r=n,n==e)throw O(new qp(`There is a cycle in the containment hierarchy of `+e))}return r}function hI(e){var t,n,r=new IA(hB,`[`,`]`);for(n=e.Kc();n.Ob();)t=n.Pb(),qE(r,M(t)===M(e)?`(this Collection)`:t==null?_B:aN(t));return r.a?r.e.length==0?r.a.a:r.a.a+(``+r.e):r.c}function u4e(e,t){var n,r=!1;if(t.gc()<2)return!1;for(n=0;n1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=r.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function gI(){gI=C,EDt=W(A(w5,1),WU,64,0,[(Vz(),i5),r5,x5]),TDt=W(A(w5,1),WU,64,0,[r5,x5,C5]),DDt=W(A(w5,1),WU,64,0,[x5,C5,i5]),ODt=W(A(w5,1),WU,64,0,[C5,i5,r5])}function m4e(e,t,n,r){var i,a,o=e.c.d,s=e.d.d,c,l,u;if(o.j!=s.j)for(u=e.b,i=o.j,c=null;i!=s.j;)c=t==0?NM(i):vqe(i),a=DXe(i,u.d[i.g],n),l=DXe(c,u.d[c.g],n),gx(r,xb(a,l)),i=c}function h4e(e,t,n,r){var i,a,o=p$e(e.a,t,n),s=F(o.a,17).a,c;return a=F(o.b,17).a,r&&(c=F(K(t,(Y(),z$)),10),i=F(K(n,z$),10),c&&i&&(NPe(e.b,c,i),s+=e.b.i,a+=e.b.e)),s>a}function g4e(e){var t,n,r,i,a,o,s,c,l;for(this.a=gZe(e),this.b=new Zd,n=e,r=0,i=n.length;rcb(e.d).c?(e.i+=e.g.c,MN(e.d)):cb(e.d).c>cb(e.g).c?(e.e+=e.d.c,MN(e.g)):(e.i+=aTe(e.g),e.e+=aTe(e.d),MN(e.g),MN(e.d))}function x4e(e,t,n){var r,i,a=t.q,o=t.r;for(new vT((oD(),I2),t,a,1),new vT(I2,a,o,1),i=new D(n);i.ac&&(l=c/i),a>o&&(u=o/a),s=r.Math.min(l,u),e.a+=s*(t.a-e.a),e.b+=s*(t.b-e.b)}function D4e(e,t,n,r,i){var a,o=!1;for(a=F(Ox(n.b,0),27);Iot(e,t,a,r,i)&&(o=!0,i0e(n,a),n.b.c.length!=0);)a=F(Ox(n.b,0),27);return n.b.c.length==0&&DF(n.j,n),o&&sF(t.q),o}function O4e(e,t){iR();var n,r,i,a;if(t.b<2)return!1;for(a=uP(t,0),n=F($T(a),8),r=n;a.b!=a.d.c;){if(i=F($T(a),8),RL(e,r,i))return!0;r=i}return!!RL(e,r,n)}function k4e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new xD((qz(),i7),l7,e,0)),Ab(e.o,t,r)):(a=F(CO((i=F(EA(e,16),29),i||e.ii()),n),69),a.wk().Ak(e,KN(e),n-uC(e.ii()),t,r))}function vI(e,t){var n;t==e.sb?e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,4,t,t)):(n=null,e.sb&&(n=F(e.sb,54).Th(e,1,$5,n)),t&&(n=F(t,54).Rh(e,1,$5,n)),n=BKe(e,t,n),n&&n.oj())}function A4e(e,t){var n,r,i,a;if(t)i=ak(t,`x`),n=new lse(e),GO(n.a,(kC(i),i)),a=ak(t,`y`),r=new use(e),ZO(r.a,(kC(a),a));else throw O(new Qp(`All edge sections need an end point.`))}function j4e(e,t){var n,r,i,a;if(t)i=ak(t,`x`),n=new gd(e),XO(n.a,(kC(i),i)),a=ak(t,`y`),r=new _d(e),QO(r.a,(kC(a),a));else throw O(new Qp(`All edge sections need a start point.`))}function M4e(e,t){var n,r,i,a,o,s,c;for(r=dGe(e),a=0,s=r.length;a>22-t,i=e.h<>22-t):t<44?(n=0,r=e.l<>44-t):(n=0,r=0,i=e.l<e)throw O(new Kp(`k must be smaller than n`));return t==0||t==e?1:e==0?0:P1e(e)/(P1e(t)*P1e(e-t))}function V4e(e,t){for(var n=new _he(e),r,i,a;n.g==null&&!n.c?GAe(n):n.g==null||n.i!=0&&F(n.g[n.i-1],51).Ob();)if(a=F(EL(n),58),N(a,167))for(r=F(a,167),i=0;i>4],t[n*2+1]=N9[a&15];return zN(t,0,t.length)}function e3e(e){FC();var t,n;switch(e.c.length){case 0:return Hxt;case 1:return t=F(e8e(new D(e)),44),uwe(t.ld(),t.md());default:return n=F(nP(e,H(LJ,RB,44,e.c.length,0,1)),173),new kce(n)}}function t3e(e){var t=new sy,n=new sy,r,i,a,o;for(eE(t,e),eE(n,e);n.b!=n.c;)for(i=F(NS(n),36),o=new D(i.a);o.a0&&_R(e,n,t),i):x5e(e,t,n):r}function EI(){EI=C,sIt=(eB(),J6),dIt=t8,tIt=j6,nIt=N6,rIt=P6,eIt=A6,iIt=I6,oIt=K6,I4=(uit(),RFt),L4=zFt,cIt=GFt,B4=JFt,lIt=KFt,uIt=qFt,aIt=VFt,R4=UFt,z4=WFt,V4=YFt,fIt=ZFt,$Ft=LFt}function i3e(e,t){var n,r,i,a,o;if(e.e<=t||eMe(e,e.g,t))return e.g;for(a=e.r,r=e.g,o=e.r,i=(a-r)/2+r;r+11&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=r.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function u3e(e){var t,n,r,i=e.i;switch(t=i.b,r=i.j,n=i.g,i.a.g){case 0:n.a=(e.g.b.o.a-r.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-r.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function d3e(e,t,n){var r,i,a;for(i=new dS(fy(QM(n).a.Kc(),new d));hL(i);)r=F(IE(i),18),!ME(r)&&!(!ME(r)&&r.c.i.c==r.d.i.c)&&(a=F9e(e,r,n,new Kse),a.c.length>1&&df(t.c,a))}function f3e(e,t,n,r,i){if(rr&&(e.a=r),e.bi&&(e.b=i),e}function p3e(e){if(N(e,143))return Pet(F(e,143));if(N(e,233))return yJe(F(e,233));if(N(e,23))return F4e(F(e,23));throw O(new Kp(xyt+hI(new tm(W(A(MJ,1),gB,1,5,[e])))))}function m3e(e,t,n,r,i){var a=!0,o,s;for(o=0;o>>i|n[o+r+1]<>>i,++o}return a}function h3e(e,t,n,r){var i,a,o;if(t.k==(yI(),cZ)){for(a=new dS(fy($M(t).a.Kc(),new d));hL(a);)if(i=F(IE(a),18),o=i.c.i.k,o==cZ&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function g3e(e,t){var n,r,i,a;return t&=63,n=e.h&jV,t<22?(a=n>>>t,i=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(a=0,i=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(a=0,i=0,r=n>>>t-44),Hv(r&AV,i&AV,a&jV)}function _3e(e,t,n,r){var i;this.b=r,this.e=e==(uk(),C2),i=t[n],this.d=kx(J9,[X,wH],[183,28],16,[i.length,i.length],2),this.a=kx(q9,[X,bV],[53,28],15,[i.length,i.length],2),this.c=new V0e(t,n)}function v3e(e){var t,n,r;for(e.k=new Eje((Vz(),W(A(w5,1),WU,64,0,[S5,i5,r5,x5,C5])).length,e.j.c.length),r=new D(e.j);r.a=n)return AI(e,t,r.p),!0;return!1}function kI(e,t,n,r){var i,a,o=n.length,s,c,l;for(a=0,i=-1,l=gze((CT(t,e.length+1),e.substr(t)),(Ib(),VSt)),s=0;sa&&gEe(l,gze(n[s],VSt))&&(i=s,a=c);return i>=0&&(r[0]=t+a),i}function C3e(e){var t;return e.Db&64?SI(e):(t=new gy(nyt),!e.a||$_($_((t.a+=` "`,t),e.a),`"`),$_(Wm($_(Wm($_(Wm($_(Wm((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function w3e(e,t,n){var r,i,a,o,s=JL(e.e.Dh(),t);for(i=F(e.g,124),r=0,o=0;on?y6e(e,n,`start index`):t<0||t>n?y6e(t,n,`end index`):dR(`end index (%s) must not be less than start index (%s)`,W(A(MJ,1),gB,1,5,[dM(t),dM(e)]))}function D3e(e,t){var n,r,i,a;for(r=0,i=e.length;r0&&k3e(e,a,n));t.p=0}function jI(e){var t;this.c=new hh,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=F(zm(W3),9),new Fb(t,F(vb(t,t.length),9),0)),this.g=e.f}function A3e(e){var t=yC($_(new gy(`Predicates.`),`and`),40),n=!0,r,i;for(i=new Wl(e);i.b0?s[o-1]:H(iZ,XU,10,0,0,1),i=s[o],l=o=0?e.ki(i):i8e(e,r);else throw O(new Kp(FK+r.xe()+IK))}else SM(e,n,r)}function F3e(e){var t,n=null;if(t=!1,N(e,211)&&(t=!0,n=F(e,211).a),t||N(e,263)&&(t=!0,n=``+F(e,263).a),t||N(e,493)&&(t=!0,n=``+F(e,493).a),!t)throw O(new Wp(byt));return n}function I3e(e,t,n){var r,i,a,o,s,c=JL(e.e.Dh(),t);for(r=0,s=e.i,i=F(e.g,124),o=0;o=e.d.b.c.length&&(t=new mC(e.d),t.p=r.p-1,ey(e.d.b,t),n=new mC(e.d),n.p=r.p,ey(e.d.b,n)),oT(r,F(Ox(e.d.b,r.p),30))}function U3e(e,t,n){var r,i,a;if(!e.b[t.g]){for(e.b[t.g]=!0,r=n,!r&&(r=new tD),gx(r.b,t),a=e.a[t.g].Kc();a.Ob();)i=F(a.Pb(),65),i.b!=t&&U3e(e,i.b,r),i.c!=t&&U3e(e,i.c,r),gx(r.a,i);return r}return null}function W3e(e){switch(e.g){case 0:case 1:case 2:return Vz(),i5;case 3:case 4:case 5:return Vz(),x5;case 6:case 7:case 8:return Vz(),C5;case 9:case 10:case 11:return Vz(),r5;default:return Vz(),S5}}function G3e(e,t){var n;return e.c.length==0?!1:(n=uYe((ST(0,e.c.length),F(e.c[0],18)).c.i),nT(),n==(NP(),W0)||n==U0?!0:jE(JC(new jx(null,new wT(e,16)),new Nte),new Zu(t)))}function RI(e,t){if(N(t,207))return Ohe(e,F(t,27));if(N(t,193))return khe(e,F(t,123));if(N(t,452))return Dhe(e,F(t,166));throw O(new Kp(xyt+hI(new tm(W(A(MJ,1),gB,1,5,[t])))))}function K3e(e,t,n){var r,i;if(this.f=e,r=F(dC(e.b,t),260),i=r?r.a:0,xIe(n,i),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++0;)vze(this);this.b=t,this.a=null}function q3e(e,t){var n,r;t.a?ott(e,t):(n=F(wh(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),r=F(Ch(e.b,t.b),60),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Fc(r),Zv(e.b,t.b))}function J3e(e,t){var n=F(zC(e.b,t),127),r;if(F(F(UE(e.r,t),21),87).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Hc((PN(),O5))&&hrt(e,t),r=cZe(e,t),xnt(e,t)==(fP(),V8)&&(r+=2*e.w),n.a.a=r}function Y3e(e,t){var n=F(zC(e.b,t),127),r;if(F(F(UE(e.r,t),21),87).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Hc((PN(),O5))&&grt(e,t),r=sZe(e,t),xnt(e,t)==(fP(),V8)&&(r+=2*e.w),n.a.b=r}function X3e(e,t){var n,r,i,a=new Zd;for(r=new D(t);r.ar&&(CT(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||tn.a&&(r.Hc((KF(),s6))?i=(t.a-n.a)/2:r.Hc(l6)&&(i=t.a-n.a)),t.b>n.b&&(r.Hc((KF(),d6))?a=(t.b-n.b)/2:r.Hc(u6)&&(a=t.b-n.b)),J2e(e,i,a)}function v6e(e,t,n,r,i,a,o,s,c,l,u,d,f){N(e.Cb,90)&&GI(NE(F(e.Cb,90)),4),Gk(e,n),e.f=o,IM(e,s),RM(e,c),FM(e,l),LM(e,u),TM(e,d),WM(e,f),CM(e,!0),ek(e,i),e.Zk(a),Qj(e,t),r!=null&&(e.i=null,jk(e,r))}function y6e(e,t,n){if(e<0)return dR(spt,W(A(MJ,1),gB,1,5,[n,dM(e)]));if(t<0)throw O(new Kp(cpt+t));return dR(`%s (%s) must not be greater than size (%s)`,W(A(MJ,1),gB,1,5,[n,dM(e),dM(t)]))}function b6e(e,t,n,r,i,a){var o=r-n,s,c,l;if(o<7){nJe(t,n,r,a);return}if(c=n+i,s=r+i,l=c+(s-c>>1),b6e(t,e,c,l,-i,a),b6e(t,e,l,s,-i,a),a.Ne(e[l-1],e[l])<=0){for(;n=0?e.bi(a,n):B9e(e,i,n);else throw O(new Kp(FK+i.xe()+IK))}else sN(e,r,i,n)}function T6e(e){var t,n;if(e.f){for(;e.n>0;){if(t=F(e.k.Xb(e.n-1),76),n=t.Lk(),N(n,102)&&(F(n,19).Bb&RK)!=0&&(!e.e||n.pk()!=G5||n.Lj()!=0)&&t.md()!=null)return!0;--e.n}return!1}else return e.n>0}function E6e(e){var t,n=F(e,54)._h(),r,i;if(n)try{if(r=null,t=wL((Wh(),B7),cat(xJe(n))),t&&(i=t.ai(),i&&(r=i.Fl(Jce(n.e)))),r&&r!=e)return E6e(r)}catch(e){if(e=qA(e),!N(e,63))throw O(e)}return e}function D6e(e,t,n){var r,i,a;n.Ug(`Remove overlaps`,1),n.dh(t,x_t),r=F(J(t,(ab(),E4)),27),e.f=r,e.a=RP(F(J(t,(EI(),V4)),300)),i=P(J(t,(eB(),t8))),vl(e,(kC(i),i)),a=$L(r),sut(e,t,a,n),n.dh(t,HG)}function O6e(e){var t,n,r;if(Bp($y(J(e,(eB(),w6))))){for(r=new Zd,n=new dS(fy(OL(e).a.Kc(),new d));hL(n);)t=F(IE(n),74),nL(t)&&Bp($y(J(t,T6)))&&df(r.c,t);return r}else return lw(),lw(),yY}function k6e(e){if(!e)return Mce(),nSt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=XJ[typeof t];return n?n(t):nKe(typeof t)}else if(e instanceof Array||e instanceof r.Array)return new il(e);else return new sl(e)}function A6e(e,t,n){var i,a,o=e.o;switch(i=F(zC(e.p,n),252),a=i.i,a.b=QI(i),a.a=ZI(i),a.b=r.Math.max(a.b,o.a),a.b>o.a&&!t&&(a.b=o.a),a.c=-(a.b-o.a)/2,n.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}UR(i),GR(i)}function j6e(e,t,n){var i,a,o=e.o;switch(i=F(zC(e.p,n),252),a=i.i,a.b=QI(i),a.a=ZI(i),a.a=r.Math.max(a.a,o.b),a.a>o.b&&!t&&(a.a=o.b),a.d=-(a.a-o.b)/2,n.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}UR(i),GR(i)}function M6e(e,t){var n,r,i,a,o;if(!t.dc()){if(i=F(t.Xb(0),131),t.gc()==1){Ctt(e,i,i,1,0,t);return}for(n=1;n0)try{i=AR(t,$B,dB)}catch(e){throw e=qA(e),N(e,130)?(r=e,O(new WD(r))):O(e)}return n=(!e.a&&(e.a=new Wd(e)),e.a),i=0?F(U(n,i),58):null}function L6e(e,t){if(e<0)return dR(spt,W(A(MJ,1),gB,1,5,[`index`,dM(e)]));if(t<0)throw O(new Kp(cpt+t));return dR(`%s (%s) must be less than size (%s)`,W(A(MJ,1),gB,1,5,[`index`,dM(e),dM(t)]))}function R6e(e){var t,n,r,i,a;if(e==null)return _B;for(a=new IA(hB,`[`,`]`),n=e,r=0,i=n.length;r`,O(new Kp(r.a))}function t8e(e){var t,n=-e.a;return t=W(A(K9,1),iV,28,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&oV,t[2]=t[2]+(n/60|0)%10&oV,t[3]=t[3]+(n%60/10|0)&oV,t[4]=t[4]+n%10&oV,zN(t,0,t.length)}function n8e(e){var t,n,r,i;for(e.g=new iN(F(iC(w5),297)),r=0,n=(Vz(),i5),t=0;t=0?e.Lh(n,!0,!0):oL(e,i,!0),160)),F(r,220).Zl(t);else throw O(new Kp(FK+t.xe()+IK))}function a8e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=Bw(r.Math.floor(r.Math.log(e)/.6931471805599453)),(!t||e!=r.Math.pow(2,n))&&++n,n):FUe(AA(e))}function o8e(e){var t,n,r,i,a=new fv,o,s;for(n=new D(e);n.a2&&s.e.b+s.j.b<=2&&(i=s,r=o),a.a.zc(i,a),i.q=r);return a}function s8e(e,t,n){n.Ug(`Eades radial`,1),n.dh(t,HG),e.d=F(J(t,(ab(),E4)),27),e.c=k(P(J(t,(EI(),z4)))),e.e=RP(F(J(t,V4),300)),e.a=PJe(F(J(t,fIt),434)),e.b=J1e(F(J(t,aIt),354)),g1e(e),n.dh(t,HG)}function c8e(e,t){if(t.Ug(`Target Width Setter`,1),lD(e,(sR(),p3)))EP(e,(lR(),i3),P(J(e,p3)));else throw O(new Xp(`A target width has to be set if the TargetWidthWidthApproximator should be used.`));t.Vg()}function l8e(e,t){var n,r=new GP(e),i;return PA(r,t),G(r,(Y(),v$),t),G(r,(Zz(),a0),(YF(),G8)),G(r,a1,(FP(),n6)),dl(r,(yI(),oZ)),n=new CI,sT(n,r),qI(n,(Vz(),C5)),i=new CI,sT(i,r),qI(i,r5),r}function u8e(e){switch(e.g){case 0:return new Ip((uk(),S2));case 1:return new Oc;case 2:return new kc;default:throw O(new Kp(`No implementation is available for the crossing minimizer `+(e.f==null?``+e.g:e.f)))}}function d8e(e,t){var n,r,i,a,o;for(e.c[t.p]=!0,ey(e.a,t),o=new D(t.j);o.a=a)o.$b();else for(i=o.Kc(),r=0;r0?ile():o<0&&S8e(e,t,-o),!0):!1}function ZI(e){var t,n,r,i,a,o,s=0;if(e.b==0){for(o=BZe(e,!0),t=0,r=o,i=0,a=r.length;i0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}else s=hle(rA(YC(qC(bEe(e.a),new Qe),new $e)));return s>0?s+e.n.d+e.n.a:0}function QI(e){var t,n,r,i,a,o,s=0;if(e.b==0)s=hle(rA(YC(qC(bEe(e.a),new Xe),new Ze)));else{for(o=VZe(e,!0),t=0,r=o,i=0,a=r.length;i0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}return s>0?s+e.n.b+e.n.c:0}function w8e(e){var t,n;if(e.c.length!=2)throw O(new qp(`Order only allowed for two paths.`));t=(ST(0,e.c.length),F(e.c[0],18)),n=(ST(1,e.c.length),F(e.c[1],18)),t.d.i!=n.c.i&&(e.c.length=0,df(e.c,n),df(e.c,t))}function T8e(e,t,n){var r;for(Cv(n,t.g,t.f),wv(n,t.i,t.j),r=0;r<(!t.a&&(t.a=new I(o7,t,10,11)),t.a).i;r++)T8e(e,F(U((!t.a&&(t.a=new I(o7,t,10,11)),t.a),r),27),F(U((!n.a&&(n.a=new I(o7,n,10,11)),n.a),r),27))}function E8e(e,t){var n,i,a,o=F(zC(e.b,t),127);for(n=o.a,a=F(F(UE(e.r,t),21),87).Kc();a.Ob();)i=F(a.Pb(),117),i.c&&(n.a=r.Math.max(n.a,awe(i.c)));if(n.a>0)switch(t.g){case 2:o.n.c=e.s;break;case 4:o.n.b=e.s}}function D8e(e,t){var n=F(K(t,(FR(),EX)),17).a-F(K(e,EX),17).a,r,i;return n==0?(r=Sb(Gv(F(K(e,(Pk(),AX)),8)),F(K(e,jX),8)),i=Sb(Gv(F(K(t,AX),8)),F(K(t,jX),8)),zM(r.a*r.b,i.a*i.b)):n}function O8e(e,t){var n=F(K(t,(HR(),v4)),17).a-F(K(e,v4),17).a,r,i;return n==0?(r=Sb(Gv(F(K(e,(Bz(),J2)),8)),F(K(e,Y2),8)),i=Sb(Gv(F(K(t,J2),8)),F(K(t,Y2),8)),zM(r.a*r.b,i.a*i.b)):n}function k8e(e){var t,n=new um;return n.a+=`e_`,t=NUe(e),t!=null&&(n.a+=``+t),e.c&&e.d&&($_((n.a+=` `,n),mF(e.c)),$_(Q_((n.a+=`[`,n),e.c.i),`]`),$_((n.a+=JU,n),mF(e.d)),$_(Q_((n.a+=`[`,n),e.d.i),`]`)),n.a}function A8e(e){switch(e.g){case 0:return new _ie;case 1:return new jc;case 2:return new hie;case 3:return new mie;default:throw O(new Kp(`No implementation is available for the layout phase `+(e.f==null?``+e.g:e.f)))}}function j8e(e,t,n,i,a){var o=0;switch(a.g){case 1:o=r.Math.max(0,t.b+e.b-(n.b+i));break;case 3:o=r.Math.max(0,-e.b-i);break;case 2:o=r.Math.max(0,-e.a-i);break;case 4:o=r.Math.max(0,t.a+e.a-(n.a+i))}return o}function M8e(e,t,n){var r,i,a,o,s;if(n)for(i=n.a.length,r=new pS(i),s=(r.b-r.a)*r.c<0?(Xh(),G9):new ly(r);s.Ob();)o=F(s.Pb(),17),a=XT(n,o.a),myt in a.a||tq in a.a?eit(e,a,t):uft(e,a,t),Zge(F(dC(e.b,HN(a)),74))}function N8e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=OF(e),t&&(Yh(),t.lk()==Nbt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function P8e(e,t){var n,r,i,a;if(Qz(e),e.c!=0||e.a!=123)throw O(new em(oB((Iv(),Uyt))));if(a=t==112,r=e.d,n=Ly(e.i,125,r),n<0)throw O(new em(oB((Iv(),Wyt))));return i=jw(e.i,r,n),e.d=n+1,YLe(i,a,(e.e&512)==512)}function F8e(e){var t,n,r=e.a.c.length,i,a,o,s;if(r>0)for(o=e.c.d,s=e.d.d,i=$v(Sb(new j(s.a,s.b),o),1/(r+1)),a=new j(o.a,o.b),n=new D(e.a);n.a=0&&r=0?e.Lh(n,!0,!0):oL(e,i,!0),160)),F(r,220).Wl(t);throw O(new Kp(FK+t.xe()+LK))}function B8e(){efe();var e;return uHt?F(wL((Wh(),B7),Kq),2038):(ov(LJ,new Ps),Ylt(),e=F(N(Iw((Wh(),B7),Kq),560)?Iw(B7,Kq):new YDe,560),uHt=!0,Jft(e),apt(e),PC((Xde(),IVt),e,new us),iT(B7,Kq,e),e)}function V8e(e,t){var n,r,i,a;e.j=-1,_v(e.e)?(n=e.i,a=e.i!=0,VE(e,t),r=new QD(e.e,3,e.c,null,t,n,a),i=t.zl(e.e,e.c,null),i=P0e(e,t,i),i?(i.nj(r),i.oj()):CA(e.e,r)):(VE(e,t),i=t.zl(e.e,e.c,null),i&&i.oj())}function tL(e,t){var n,r,i=0;if(r=t[0],r>=e.length)return-1;for(n=(CT(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(CT(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function H8e(e){var t,n,i,a=F(e.a,17).a,o=F(e.b,17).a;return n=a,i=o,t=r.Math.max(r.Math.abs(a),r.Math.abs(o)),a<=0&&a==o?(n=0,i=o-1):a==-t&&o!=t?(n=o,i=a,o>=0&&++n):(n=-o,i=a),new N_(dM(n),dM(i))}function U8e(e,t,n,r){var i,a,o,s,c,l;for(i=0;i=0&&l>=0&&c=e.i)throw O(new Up(fq+t+pq+e.i));if(n>=e.i)throw O(new Up(mq+n+pq+e.i));return r=e.g[n],t!=n&&(t>16),t=r>>16&16,n=16-t,e>>=t,r=e-256,t=r>>16&8,n+=t,e<<=t,r=e-VV,t=r>>16&4,n+=t,e<<=t,r=e-AB,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function G8e(e){uw();var t,n,r,i;for(SX=new Zd,xX=new Xd,bX=new Zd,t=(!e.a&&(e.a=new I(o7,e,10,11)),e.a),hdt(t),i=new cy(t);i.e!=i.i.gc();)r=F(hP(i),27),VD(SX,r,0)==-1&&(n=new Zd,ey(bX,n),gXe(r,n));return bX}function K8e(e,t,n){var r,i,a,o;e.a=n.b.d,N(t,326)?(i=eR(F(t,74),!1,!1),a=DI(i),r=new Jae(e),TE(a,r),qR(a,i),t.of((eB(),O6))!=null&&TE(F(t.of(O6),75),r)):(o=F(t,422),o.rh(o.nh()+e.a.a),o.sh(o.oh()+e.a.b))}function q8e(e,t){var n,r,i=new Zd;for(r=uP(t.a,0);r.b!=r.d.c;)n=F($T(r),65),n.c.g==e.g&&M(K(n.b,(HR(),b4)))!==M(K(n.c,b4))&&!jE(new jx(null,new wT(i,16)),new Boe(n))&&df(i.c,n);return zv(i,new Xi),i}function J8e(e,t,n){var r,i,a,o;return N(t,153)&&N(n,153)?(a=F(t,153),o=F(n,153),e.a[a.a][o.a]+e.a[o.a][a.a]):N(t,250)&&N(n,250)&&(r=F(t,250),i=F(n,250),r.a==i.a)?F(K(i.a,(FR(),EX)),17).a:0}function Y8e(e,t){var n,i,a,o,s,c,l,u=k(P(K(t,(Zz(),k0))));for(l=e[0].n.a+e[0].o.a+e[0].d.c+u,c=1;c=0?n:(s=xC(Sb(new j(o.c+o.b/2,o.d+o.a/2),new j(a.c+a.b/2,a.d+a.a/2))),-(jat(a,o)-1)*s)}function Z8e(e,t,n){var r;Sh(new jx(null,(!n.a&&(n.a=new I(Z5,n,6,6)),new wT(n.a,16))),new Fpe(e,t)),Sh(new jx(null,(!n.n&&(n.n=new I(a7,n,1,7)),new wT(n.n,16))),new Ipe(e,t)),r=F(J(n,(eB(),O6)),75),r&&SHe(r,e,t)}function oL(e,t,n){var r,i,a=Dz((FI(),f9),e.Dh(),t);if(a)return Yh(),F(a,69).xk()||(a=AT(YD(f9,a))),i=(r=e.Ih(a),F(r>=0?e.Lh(r,!0,!0):oL(e,a,!0),160)),F(i,220).Sl(t,n);throw O(new Kp(FK+t.xe()+LK))}function Q8e(e,t,n,r){var i=e.d[t],a,o,s,c;if(i){if(a=i.g,c=i.i,r!=null){for(s=0;s=n&&(r=t,l=(c.c+c.a)/2,o=l-n,c.c<=l-n&&(i=new Jb(c.c,o),Kx(e,r++,i)),s=l+n,s<=c.a&&(a=new Jb(s,c.a),xT(r,e.c.length),_g(e.c,r,a)))}function a5e(e,t,n){var r,i,a,o,s,c;if(!t.dc()){for(i=new hh,c=t.Kc();c.Ob();)for(s=F(c.Pb(),40),PC(e.a,dM(s.g),dM(n)),o=(r=uP(new id(s).a.d,0),new ad(r));Ym(o.a);)a=F($T(o.a),65).c,bE(i,a,i.c.b,i.c);a5e(e,i,n+1)}}function o5e(e){var t;if(!e.c&&e.g==null)e.d=e.bj(e.f),gD(e,e.d),t=e.d;else if(e.g==null)return!0;else if(e.i==0)return!1;else t=F(e.g[e.i-1],51);return t==e.b&&null.Vm>=null.Um()?(EL(e),o5e(e)):t.Ob()}function s5e(e){if(this.a=e,e.c.i.k==(yI(),oZ))this.c=e.c,this.d=F(K(e.c.i,(Y(),y$)),64);else if(e.d.i.k==oZ)this.c=e.d,this.d=F(K(e.d.i,(Y(),y$)),64);else throw O(new Kp(`Edge `+e+` is not an external edge.`))}function c5e(e,t){var n,r,i=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,3,i,e.b)),t?t!=e&&(Gk(e,t.zb),nk(e,t.d),n=(r=t.c,r??t.zb),Tk(e,n==null||Db(n,t.zb)?null:n)):(Gk(e,null),nk(e,0),Tk(e,null))}function l5e(e,t){var n;this.e=(oC(),iC(e),oC(),cYe(e)),this.c=(iC(t),cYe(t)),qge(this.e.Rd().dc()==this.c.Rd().dc()),this.d=tJe(this.e),this.b=tJe(this.c),n=kx(MJ,[X,gB],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=n,rVe(this)}function u5e(e){var t=(!GJ&&(GJ=Pdt()),GJ);return`"`+e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(e){return xAe(e,t)})+`"`}function d5e(e,t,n,i,a,o){var s,c,l,u,d;if(a!=0)for(M(e)===M(n)&&(e=e.slice(t,t+a),t=0),l=n,c=t,u=t+a;c=o)throw O(new Eb(t,o));return i=n[t],o==1?r=null:(r=H(C7,mbt,424,o-1,0,1),BR(n,0,r,0,t),a=o-t-1,a>0&&BR(n,t+1,r,t,a)),rP(e,r),c6e(e,t,i),i}function h5e(e){var t,n;if(e.f){for(;e.n0?dN(n):MM(dN(n))),EP(t,c0,a)}function y5e(e,t){var n;t.Ug(`Partition preprocessing`,1),n=F(xE(qC(mO(qC(new jx(null,new wT(e.a,16)),new Bee),new Vee),new Hee),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15),Sh(n.Oc(),new sr),t.Vg()}function b5e(e,t){var n,r,i,a,o=e.j;for(t.a!=t.b&&zv(o,new xte),i=o.c.length/2|0,r=0;r0&&_R(e,n,t),a):r.a==null?i.a==null?0:(_R(e,n,t),1):(_R(e,t,n),-1)}function S5e(e,t){var n,r,i=t.b.b,a,o;for(e.a=H(IJ,aU,15,i,0,1),e.b=H(J9,wH,28,i,16,1),o=uP(t.b,0);o.b!=o.d.c;)a=F($T(o),40),e.a[a.g]=new hh;for(r=uP(t.a,0);r.b!=r.d.c;)n=F($T(r),65),e.a[n.b.g].Fc(n),e.a[n.c.g].Fc(n)}function C5e(e,t){var n,r,i,a;e.Pj()?(n=e.Ej(),a=e.Qj(),++e.j,e.qj(n,e.Zi(n,t)),r=e.Ij(3,null,t,n,a),e.Mj()?(i=e.Nj(t,null),i?(i.nj(r),i.oj()):e.Jj(r)):e.Jj(r)):(_De(e,t),e.Mj()&&(i=e.Nj(t,null),i&&i.oj()))}function w5e(e,t,n){var r,i,a;e.Pj()?(a=e.Qj(),yM(e,t,n),r=e.Ij(3,null,n,t,a),e.Mj()?(i=e.Nj(n,null),e.Tj()&&(i=e.Uj(n,i)),i?(i.nj(r),i.oj()):e.Jj(r)):e.Jj(r)):(yM(e,t,n),e.Mj()&&(i=e.Nj(n,null),i&&i.oj()))}function lL(e,t){var n,r,i,a,o=JL(e.e.Dh(),t);for(i=new Vo,n=F(e.g,124),a=e.i;--a>=0;)r=n[a],o.am(r.Lk())&&gD(i,r);!Hdt(e,i)&&_v(e.e)&&Lf(e,t.Jk()?Tw(e,6,t,(lw(),yY),null,-1,!1):Tw(e,t.tk()?2:1,t,null,null,-1,!1))}function T5e(e,t){var n,r,i,a,o;return e.a==(_I(),HQ)?!0:(a=t.a.c,n=t.a.c+t.a.b,!(t.j&&(r=t.A,o=r.c.c.a-r.o.a/2,i=a-(r.n.a+r.o.a),i>o)||t.q&&(r=t.C,o=r.c.c.a-r.o.a/2,i=r.n.a-n,i>o)))}function E5e(e){fje();var t,n=new yE,r,i,a,o,s;for(i=new D(e.e.b);i.a1?e.e*=k(e.a):e.f/=k(e.a),JGe(e),rXe(e),brt(e),G(e.b,(yP(),vX),e.g)}function M5e(e,t,n){var r=0,i,a,o,s,c=n;for(t||(r=n*(e.c.length-1),c*=-1),a=new D(e);a.a=0?e.Ah(null):e.Ph().Th(e,-1-t,null,null)),e.Bh(F(i,54),n),r&&r.oj(),e.vh()&&e.wh()&&n>-1&&CA(e,new bS(e,9,n,a,i)),i):a}function W5e(e,t){var n,r,i,a=e.b.Ce(t),o;for(r=(n=e.a.get(a),n??H(MJ,gB,1,0,5,1)),o=0;o>5,i>=e.d)return e.e<0;if(n=e.a[i],t=1<<(t&31),e.e<0){if(r=RHe(e),i>16)),15).dd(a),s0&&(!(yv(e.a.c)&&t.n.d)&&!(bv(e.a.c)&&t.n.b)&&(t.g.d+=r.Math.max(0,i/2-.5)),!(yv(e.a.c)&&t.n.a)&&!(bv(e.a.c)&&t.n.c)&&(t.g.a-=i-1))}function n7e(e){var t,n,i,a=new Zd,o=yat(e,a);if(t=F(K(e,(Y(),z$)),10),t)for(i=new D(t.j);i.a>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(o=r?jV:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(o=r?jV:0,a=r?AV:0,i=n>>t-44),Hv(i&AV,a&AV,o&jV)}function gL(e){var t,n,i,a,o,s;for(this.c=new Zd,this.d=e,i=zV,a=zV,t=BV,n=BV,s=uP(e,0);s.b!=s.d.c;)o=F($T(s),8),i=r.Math.min(i,o.a),a=r.Math.min(a,o.b),t=r.Math.max(t,o.a),n=r.Math.max(n,o.b);this.a=new $C(i,a,t-i,n-a)}function o7e(e,t){var n,r,i,a,o,s;for(a=new D(e.b);a.a0&&N(t,44)&&(e.a._j(),l=F(t,44),c=l.ld(),a=c==null?0:Wk(c),o=lye(e.a,a),n=e.a.d[o],n)){for(r=F(n.g,379),u=n.i,s=0;s=2)for(n=a.Kc(),t=P(n.Pb());n.Ob();)o=t,t=P(n.Pb()),i=r.Math.min(i,(kC(t),t)-(kC(o),o));return i}function w7e(e,t){var n,r,i=new Zd;for(r=uP(t.a,0);r.b!=r.d.c;)n=F($T(r),65),n.b.g==e.g&&!Db(n.b.c,NG)&&M(K(n.b,(HR(),b4)))!==M(K(n.c,b4))&&!jE(new jx(null,new wT(i,16)),new Voe(n))&&df(i.c,n);return zv(i,new $i),i}function T7e(e,t){var n,r,i;if(M(t)===M(iC(e)))return!0;if(!N(t,15)||(r=F(t,15),i=e.gc(),i!=r.gc()))return!1;if(N(r,59)){for(n=0;n0&&(i=n),o=new D(e.f.e);o.a0?(--t,--n):r>=0&&i<0?(t+=1,n+=1):r>0&&i>=0?(--t,n+=1):(t+=1,--n),new N_(dM(t),dM(n))}function V7e(e,t){return e.ct.c?1:e.bt.b?1:e.a==t.a?e.d==(rE(),D2)&&t.d==E2?-1:+(e.d==E2&&t.d==D2):Wk(e.a)-Wk(t.a)}function H7e(e,t){var n,r,i,a=t.a,o=a.c.i==t.b?a.d:a.c;return r=a.c.i==t.b?a.c:a.d,i=rYe(e.a,o,r),i>0&&i0):i<0&&-i0):!1}function U7e(e,t,n,r){var i=(t-e.d)/e.c.c.length,a=0,o,s,c,l,u,d;for(e.a+=n,e.d=t,d=new D(e.c);d.a>24;return o}function G7e(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 n=e.j,r=e.d;r=r.split(`/`),e.o=RN(`.`,[n,RN(`$`,r)]),e.b=RN(`.`,[n,RN(`.`,r)]),e.k=r[r.length-1]}function K7e(e,t){var n,r,i,a,o=null;for(a=new D(e.e.a);a.a=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(r=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=r,r=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=r);e.c=!0}}function e9e(e,t){var n,r,i,a,o,s,c,l=-1,u=0;for(o=e,s=0,c=o.length;s0&&++u;++l}return u}function SL(e){var t,n=new gy(Bm(e.Rm));return n.a+=`@`,$_(n,(t=Wk(e)>>>0,t.toString(16))),e.Vh()?(n.a+=` (eProxyURI: `,Q_(n,e._h()),e.Kh()&&(n.a+=` eClass: `,Q_(n,e.Kh())),n.a+=`)`):e.Kh()&&(n.a+=` (eClass: `,Q_(n,e.Kh()),n.a+=`)`),n.a}function CL(e){var t,n,r,i;if(e.e)throw O(new qp((tb(LY),gH+LY.k+_H)));for(e.d==(AM(),u8)&&Iz(e,c8),n=new D(e.a.a);n.a>24}return n}function a9e(e,t,n){var r,i=F(zC(e.i,t),314),a;if(!i)if(i=new Vze(e.d,t,n),LS(e.i,t,i),BYe(t))Dge(e.a,t.c,t.b,i);else switch(a=W3e(t),r=F(zC(e.p,a),252),a.g){case 1:case 3:i.j=!0,zp(r,t.b,i);break;case 4:case 2:i.k=!0,zp(r,t.c,i)}return i}function o9e(e,t){var n,r,i,a,o,s,c=Iy(e.c-e.b&e.a.length-1),l=null,u=null;for(a=new GC(e);a.a!=a.b;)i=F(tM(a),10),n=(s=F(K(i,(Y(),j$)),12),s?s.i:null),r=(o=F(K(i,M$),12),o?o.i:null),(l!=n||u!=r)&&(P5e(c,t),l=n,u=r),df(c.c,i);P5e(c,t)}function s9e(e,t,n,r){var i,a,o,s=new Vo,c=JL(e.e.Dh(),t),l;if(i=F(e.g,124),Yh(),F(t,69).xk())for(o=0;o=0)return a;for(o=1,c=new D(t.j);c.a=0)return a;for(o=1,c=new D(t.j);c.a0&&t.Ne((ST(i-1,e.c.length),F(e.c[i-1],10)),a)>0;)EE(e,i,(ST(i-1,e.c.length),F(e.c[i-1],10))),--i;ST(i,e.c.length),e.c[i]=a}n.a=new Xd,n.b=new Xd}function d9e(e,t,n){var r,i,a,o,s,c,l,u=(r=F(t.e&&t.e(),9),new Fb(r,F(vb(r,r.length),9),0));for(c=VR(n,`[\\[\\]\\s,]+`),a=c,o=0,s=a.length;o=0?(t||(t=new lm,r>0&&X_(t,(pD(0,r,e.length),e.substr(0,r)))),t.a+=`\\`,vC(t,n&oV)):t&&vC(t,n&oV);return t?t.a:e}function p9e(e){var t,n,i;for(n=new D(e.a.a.b);n.a0&&(!(yv(e.a.c)&&t.n.d)&&!(bv(e.a.c)&&t.n.b)&&(t.g.d-=r.Math.max(0,i/2-.5)),!(yv(e.a.c)&&t.n.a)&&!(bv(e.a.c)&&t.n.c)&&(t.g.a+=r.Math.max(0,i-1)))}function m9e(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(Vz(),i5)||t==r5?(DO(F(fj(e),15),(xF(),E8)),DO(F(fj(e),15),D8)):(DO(F(fj(e),15),(xF(),D8)),DO(F(fj(e),15),E8));else for(i=new GC(e);i.a!=i.b;)r=F(tM(i),15),DO(r,n)}function h9e(e,t){var n,r,i=nx(new Ad(e)),a,o,s=new IT(i,i.c.length),c;for(a=nx(new Ad(t)),c=new IT(a,a.c.length),o=null;s.b>0&&c.b>0&&(n=(nb(s.b>0),F(s.a.Xb(s.c=--s.b),27)),r=(nb(c.b>0),F(c.a.Xb(c.c=--c.b),27)),n==r);)o=n;return o}function g9e(e,t,n){var r,i,a,o;MMe(e,t)>MMe(e,n)?(r=JM(n,(Vz(),r5)),e.d=r.dc()?0:vx(F(r.Xb(0),12)),o=JM(t,C5),e.b=o.dc()?0:vx(F(o.Xb(0),12))):(i=JM(n,(Vz(),C5)),e.d=i.dc()?0:vx(F(i.Xb(0),12)),a=JM(t,r5),e.b=a.dc()?0:vx(F(a.Xb(0),12)))}function _9e(e,t){var n=e.o.a,r,i,a;for(a=F(F(UE(e.r,t),21),87).Kc();a.Ob();)i=F(a.Pb(),117),i.e.a=n*k(P(i.b.of(tX))),i.e.b=(r=i.b,r.pf((eB(),H6))?r.ag()==(Vz(),i5)?-r.Mf().b-k(P(r.of(H6))):k(P(r.of(H6))):r.ag()==(Vz(),i5)?-r.Mf().b:0)}function v9e(e,t){var n,r,i,a;for(t.Ug(`Self-Loop pre-processing`,1),r=new D(e.a);r.ae.c));o++)i.a>=e.s&&(a<0&&(a=o),s=o);return c=(e.s+e.c)/2,a>=0&&(r=Qrt(e,t,a,s),c=Jde((ST(r,t.c.length),F(t.c[r],339))),i5e(t,r,n)),c}function TL(e,t,n){var r,i,a,o=(a=new qo,a),s,c,l;for(jVe(o,(kC(t),t)),l=(!o.b&&(o.b=new Xy((iB(),a9),u9,o)),o.b),c=1;c0&&Pct(this,i)}function S9e(e,t,n,r,i,a){var o,s,c;if(!i[t.a]){for(i[t.a]=!0,o=r,!o&&(o=new XE),ey(o.e,t),c=a[t.a].Kc();c.Ob();)s=F(c.Pb(),290),!(s.d==n||s.c==n)&&(s.c!=t&&S9e(e,s.c,t,o,i,a),s.d!=t&&S9e(e,s.d,t,o,i,a),ey(o.c,s),YA(o.d,s.b));return o}return null}function C9e(e){var t=0,n,r,i,a,o,s;for(i=new D(e.e);i.a=2}function w9e(e,t,n,r,i){var a=e.c.d.j,o=F(xP(n,0),8),s,c,l,u;for(u=1;u1||(t=Yx(j8,W(A(z8,1),Z,95,0,[A8,N8])),NA(Rw(t,e))>1)||(r=Yx(R8,W(A(z8,1),Z,95,0,[L8,I8])),NA(Rw(r,e))>1))}function E9e(e,t,n){var r,i,a;for(a=new D(e.t);a.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&gx(t,r.b));for(i=new D(e.i);i.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&gx(n,r.a))}function EL(e){var t,n,r,i,a;if(e.g==null&&(e.d=e.bj(e.f),gD(e,e.d),e.c))return a=e.f,a;if(t=F(e.g[e.i-1],51),i=t.Pb(),e.e=t,n=e.bj(i),n.Ob())e.d=n,gD(e,n);else for(e.d=null;!t.Ob()&&(fC(e.g,--e.i,null),e.i!=0);)r=F(e.g[e.i-1],51),t=r;return i}function D9e(e,t){var n,r=t,i=r.Lk(),a,o,s;if(ZL(e.e,i)){if(i.Si()&&cE(e,i,r.md()))return!1}else for(s=JL(e.e.Dh(),i),n=F(e.g,124),a=0;a1||n>1)return 2;return t+n==1?2:0}function kL(e,t){var n,i,a,o=e.a*iH+e.b*1502,s,c=e.b*iH+11;return n=r.Math.floor(c*aH),o+=n,c-=n*zpt,o%=zpt,e.a=o,e.b=c,t<=24?r.Math.floor(e.a*GSt[t]):(a=e.a*(1<=2147483648&&(i-=4294967296),i)}function L9e(e,t,n){var r,i,a=new Zd,o,s,c,l=new hh;for(o=new hh,Yot(e,l,o,t),flt(e,l,o,t,n),c=new D(e);c.ar.b.g&&df(a.c,r);return a}function R9e(e,t,n){var r,i,a,o,s=e.c,c;for(o=(n.q?n.q:(lw(),lw(),bY)).vc().Kc();o.Ob();)a=F(o.Pb(),44),r=!Jm(qC(new jx(null,new wT(s,16)),new eu(new Ope(t,a)))).Bd((xh(),FY)),r&&(c=a.md(),N(c,4)&&(i=JYe(c),i!=null&&(c=i)),t.qf(F(a.ld(),149),c))}function z9e(e,t,n){var r,i;if(VC(e.b),BS(e.b,(jM(),x3),(zh(),F3)),BS(e.b,S3,t.g),BS(e.b,C3,t.a),e.a=Tz(e.b,t),n.Ug(`Compaction by shrinking a tree`,e.a.c.length),t.i.c.length>1)for(i=new D(e.a);i.a=0?e.Lh(r,!0,!0):oL(e,a,!0),160)),F(i,220).Xl(t,n)}else throw O(new Kp(FK+t.xe()+IK))}function AL(e,t){var n,r,i,a,o;if(t){for(a=N(e.Cb,90)||N(e.Cb,102),o=!a&&N(e.Cb,331),r=new cy((!t.a&&(t.a=new Bx(t,R7,t)),t.a));r.e!=r.i.gc();)if(n=F(hP(r),89),i=IR(n),a?N(i,90):o?N(i,156):i)return i;return a?(iB(),e9):(iB(),$7)}else return null}function V9e(e,t){var n,r,i,a;for(t.Ug(`Resize child graph to fit parent.`,1),r=new D(e.b);r.a=2*t&&ey(n,new Jb(o[r-1]+t,o[r]-t));return n}function W9e(e,t,n){var r,i,a,o,s,c,l,u;if(n)for(a=n.a.length,r=new pS(a),s=(r.b-r.a)*r.c<0?(Xh(),G9):new ly(r);s.Ob();)o=F(s.Pb(),17),i=XT(n,o.a),i&&(c=yPe(e,(l=(Lm(),u=new gp,u),t&&tet(l,t),l),i),Ek(c,ZT(i,iq)),$F(i,c),F6e(i,c),gj(e,i,c))}function jL(e){var t,n,r,i,a,o;if(!e.j){if(o=new $o,t=c9,a=t.a.zc(e,t),a==null){for(r=new cy(Dw(e));r.e!=r.i.gc();)n=F(hP(r),29),i=jL(n),YS(o,i),gD(o,n);t.a.Bc(e)}zj(o),e.j=new av((F(U(z((cC(),G7).o),11),19),o.i),o.g),NE(e).b&=-33}return e.j}function G9e(e){var t,n,r,i;if(e==null)return null;if(r=dz(e,!0),i=mJ.length,Db(r.substr(r.length-i,i),mJ)){if(n=r.length,n==4){if(t=(CT(0,r.length),r.charCodeAt(0)),t==43)return UHt;if(t==45)return HHt}else if(n==3)return UHt}return new Bf(r)}function K9e(e){var t,n=e.l,r;return n&n-1||(r=e.m,r&r-1)||(t=e.h,t&t-1)||t==0&&r==0&&n==0?-1:t==0&&r==0&&n!=0?aVe(n):t==0&&r!=0&&n==0?aVe(r)+22:t!=0&&r==0&&n==0?aVe(t)+44:-1}function ML(e,t){var n,r,i=t.a&e.f,a=null,o;for(r=e.b[i];;r=r.b){if(r==t){a?a.b=t.b:e.b[i]=t.b;break}a=r}for(o=t.f&e.f,a=null,n=e.c[o];;n=n.d){if(n==t){a?a.d=t.d:e.c[o]=t.d;break}a=n}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 q9e(e,t){var n;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?(n=F(OC(F(JE(e.b,t.a),260)),260),n.a=0,++e.c):(n=F(OC(F(dC(e.b,t.a),260)),260),--n.a,t.e?t.e.c=t.c:n.b=F(OC(t.c),511),t.c?t.c.e=t.e:n.c=F(OC(t.e),511)),--e.d}function J9e(e){var t,n=e.o,i,a,o,s,c,l,u,d;for(t=e.p,s=dB,a=$B,c=dB,o=$B,u=0;u0),a.a.Xb(a.c=--a.b),gb(a,i),nb(a.b3&&$D(e,0,t-3))}function Q9e(e){var t,n,r,i;return M(K(e,(Zz(),P1)))===M((cM(),C8))?!e.e&&M(K(e,v1))!==M((BA(),e$)):(r=F(K(e,y1),299),i=Bp($y(K(e,x1)))||M(K(e,S1))===M((Ck(),xQ)),t=F(K(e,gjt),17).a,n=e.a.c.length,!i&&r!=(BA(),e$)&&(t==0||t>n))}function $9e(e){for(var t,n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(EF(e,t))throw O(new Kp(VK+D5e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?O$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=TP(t,e,6,r)),r=oye(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,6,t,t))}function PL(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(EF(e,t))throw O(new Kp(VK+yst(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?H$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=TP(t,e,12,r)),r=sye(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,3,t,t))}function tet(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(EF(e,t))throw O(new Kp(VK+Vrt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?A$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=TP(t,e,9,r)),r=cye(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,9,t,t))}function FL(e){var t,n,r=OF(e),i,a=e.j;if(a==null&&r)return e.Jk()?null:r.ik();if(N(r,156)){if(n=r.jk(),n&&(i=n.wi(),i!=e.i)){if(t=F(r,156),t.nk())try{e.g=i.ti(t,a)}catch(t){if(t=qA(t),N(t,82))e.g=null;else throw O(t)}e.i=i}return e.g}return null}function net(e){var t=new Zd;return ey(t,new sg(new j(e.c,e.d),new j(e.c+e.b,e.d))),ey(t,new sg(new j(e.c,e.d),new j(e.c,e.d+e.a))),ey(t,new sg(new j(e.c+e.b,e.d+e.a),new j(e.c+e.b,e.d))),ey(t,new sg(new j(e.c+e.b,e.d+e.a),new j(e.c,e.d+e.a))),t}function ret(e){var t,n,r;if(e==null)return _B;try{return aN(e)}catch(i){if(i=qA(i),N(i,103))return t=i,r=Bm(Kj(e))+`@`+(n=(gh(),qYe(e))>>>0,n.toString(16)),xXe(IUe(),(bh(),`Exception during lenientFormat for `+r),t),`<`+r+` threw `+Bm(t.Rm)+`>`;throw O(i)}}function iet(e,t,n){var r,i,a;for(a=t.a.ec().Kc();a.Ob();)i=F(a.Pb(),74),r=F(dC(e.b,i),272),!r&&($w(pI(i))==$w(mI(i))?stt(e,i,n):pI(i)==$w(mI(i))?dC(e.c,i)==null&&dC(e.b,mI(i))!=null&&Vlt(e,i,n,!1):dC(e.d,i)==null&&dC(e.b,pI(i))!=null&&Vlt(e,i,n,!0))}function aet(e,t){var n,r,i,a,o,s,c;for(i=e.Kc();i.Ob();)for(r=F(i.Pb(),10),s=new CI,sT(s,r),qI(s,(Vz(),r5)),G(s,(Y(),R$),(Oy(),!0)),o=t.Kc();o.Ob();)a=F(o.Pb(),10),c=new CI,sT(c,a),qI(c,C5),G(c,R$,!0),n=new Sw,G(n,R$,!0),aT(n,s),cT(n,c)}function oet(e,t,n,r){var i=TYe(e,t,n),a=TYe(e,n,t),o=F(dC(e.c,t),118),s=F(dC(e.c,n),118);i1)for(t=by((n=new Jf,++e.b,n),e.d),s=uP(a,0);s.b!=s.d.c;)o=F($T(s),125),qL(Dh(Eh(Oh(Th(new qf,1),0),t),o))}function det(e,t,n){var r,i,a,o,s;for(n.Ug(`Breaking Point Removing`,1),e.a=F(K(t,(Zz(),k1)),223),a=new D(t.b);a.a>16!=11&&t){if(EF(e,t))throw O(new Kp(VK+Brt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?U$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=TP(t,e,10,r)),r=Yye(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,11,t,t))}function fet(e){var t,n,r,i;for(r=new yA(new Al(e.b).a);r.b;)n=Fk(r),i=F(n.ld(),12),t=F(n.md(),10),G(t,(Y(),I$),i),G(i,z$,t),G(i,w$,(Oy(),!0)),qI(i,F(K(t,y$),64)),K(t,y$),G(i.i,(Zz(),a0),(YF(),q8)),F(K(TC(i.i),x$),21).Fc((nR(),YQ))}function pet(e,t,n){var r,i,a=0,o=0,s,c;if(e.c)for(c=new D(e.d.i.j);c.aa.a?-1:i.ac){for(u=e.d,e.d=H(hVt,gbt,66,2*c+4,0,1),a=0;a=0x8000000000000000?(sO(),rSt):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=PV&&(r=Bw(e/PV),e-=r*PV),n=0,e>=NV&&(n=Bw(e/NV),e-=n*NV),t=Bw(e),a=Hv(t,n,r),i&&_j(a),a)}function Oet(e){var t,n,r,i,a=new Zd;if(MO(e.b,new Hae(a)),e.b.c.length=0,a.c.length!=0){for(t=(ST(0,a.c.length),F(a.c[0],82)),n=1,r=a.c.length;n=-t&&i==t?new N_(dM(n-1),dM(i)):new N_(dM(n),dM(i-1))}function Met(){return tB(),W(A(rDt,1),Z,81,0,[NEt,AEt,gZ,bZ,QEt,CZ,RZ,OZ,XEt,VEt,JEt,DZ,ZEt,REt,$Et,wEt,AZ,PZ,xZ,NZ,tDt,MZ,TEt,YEt,nDt,IZ,eDt,SZ,FEt,KEt,GEt,zZ,OEt,vZ,TZ,DEt,EZ,UEt,zEt,qEt,yZ,jEt,kEt,WEt,BEt,kZ,LZ,EEt,jZ,HEt,wZ,IEt,PEt,FZ,_Z,LEt,MEt])}function Net(e,t,n){e.d=0,e.b=0,t.k==(yI(),uZ)&&n.k==uZ&&F(K(t,(Y(),I$)),10)==F(K(n,I$),10)&&(HD(t).j==(Vz(),i5)?g9e(e,t,n):g9e(e,n,t)),t.k==uZ&&n.k==cZ?HD(t).j==(Vz(),i5)?e.d=1:e.b=1:n.k==uZ&&t.k==cZ&&(HD(n).j==(Vz(),i5)?e.b=1:e.d=1),$Ze(e,t,n)}function Pet(e){var t,n,r,i,a,o,s,c,l,u,d=S2e(e);return t=e.a,c=t!=null,c&&px(d,`category`,e.a),i=Qm(new kl(e.d)),o=!i,o&&(l=new cl,xO(d,`knownOptions`,l),n=new yse(l),TE(new kl(e.d),n)),a=Qm(e.g),s=!a,s&&(u=new cl,xO(d,`supportedFeatures`,u),r=new Dd(u),TE(e.g,r)),d}function Fet(e){var t,n,r=!1,i,a,o,s,c,l;for(t=336,n=0,a=new Bye(e.length),s=e,c=0,l=s.length;c>16!=7&&t){if(EF(e,t))throw O(new Kp(VK+C3e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?k$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=F(t,54).Rh(e,1,q5,r)),r=MTe(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,7,t,t))}function Ret(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(EF(e,t))throw O(new Kp(VK+YKe(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?N$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=F(t,54).Rh(e,0,Q5,r)),r=NTe(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,3,t,t))}function HL(e,t){aR();var n,r,i,a,o,s,c,l,u;return t.d>e.d&&(s=e,e=t,t=s),t.d<63?Ktt(e,t):(o=(e.d&-2)<<4,l=cIe(e,o),u=cIe(t,o),r=uz(e,LE(l,o)),i=uz(t,LE(u,o)),c=HL(l,u),n=HL(r,i),a=HL(uz(l,r),uz(i,u)),a=Ez(Ez(a,c),n),a=LE(a,o),c=LE(c,o<<1),Ez(Ez(c,a),n))}function UL(){UL=C,B0=new zg($gt,0),xMt=new zg(`LONGEST_PATH`,1),SMt=new zg(`LONGEST_PATH_SOURCE`,2),L0=new zg(`COFFMAN_GRAHAM`,3),bMt=new zg(fW,4),CMt=new zg(`STRETCH_WIDTH`,5),z0=new zg(`MIN_WIDTH`,6),I0=new zg(`BF_MODEL_ORDER`,7),R0=new zg(`DF_MODEL_ORDER`,8)}function zet(e,t,n){var r,i,a,o=gM(e,n),s=H(iZ,XU,10,t.length,0,1);for(r=0,a=o.Kc();a.Ob();)i=F(a.Pb(),12),Bp($y(K(i,(Y(),w$))))&&(s[r++]=F(K(i,z$),10));if(r=0;a+=n?1:-1)o|=t.c.lg(c,a,n,r&&!Bp($y(K(t.j,(Y(),b$))))&&!Bp($y(K(t.j,(Y(),G$))))),o|=t.q.ug(c,a,n),o|=urt(e,c[a],n,r);return FS(e.c,t),o}function KL(e,t,n){var r,i,a,o,s,c,l,u,d,f;for(u=ONe(e.j),d=0,f=u.length;d1&&(e.a=!0),vTe(F(n.b,68),xb(Gv(F(t.b,68).c),$v(Sb(Gv(F(n.b,68).a),F(t.b,68).a),i))),pje(e,t),Wet(e,n)}function Get(e){var t,n,r,i,a,o,s;for(a=new D(e.a.a);a.a0&&a>0?o.p=t++:r>0?o.p=n++:a>0?o.p=i++:o.p=n++}lw(),zv(e.j,new Fee)}function qet(e){var t,n=null;t=F(Ox(e.g,0),18);do{if(n=t.d.i,Wy(n,(Y(),M$)))return F(K(n,M$),12).i;if(n.k!=(yI(),lZ)&&hL(new dS(fy(eN(n).a.Kc(),new d))))t=F(IE(new dS(fy(eN(n).a.Kc(),new d))),18);else if(n.k!=lZ)return null}while(n&&n.k!=(yI(),lZ));return n}function Jet(e,t){var n,r,i,a,o,s=t.j,c,l,u;for(o=t.g,c=F(Ox(s,s.c.length-1),113),u=(ST(0,s.c.length),F(s.c[0],113)),l=cF(e,o,c,u),a=1;al&&(c=n,u=i,l=r);t.a=u,t.c=c}function Yet(e,t,n){var r,i,a,o,s,c,l=new Km(new Moe(e));for(o=W(A(vEt,1),rht,12,0,[t,n]),s=0,c=o.length;sc-e.b&&sc-e.a&&s0?a.a?(s=a.b.Mf().a,n>s&&(i=(n-s)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:_S(e.u)&&(r=A2e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.Mf().a&&(a.d.c=r.c+r.b-a.b.Mf().a))}function htt(e,t){var n,r,i,a,o=new Zd;n=t;do a=F(dC(e.b,n),131),a.B=n.c,a.D=n.d,df(o.c,a),n=F(dC(e.k,n),18);while(n);return r=(ST(0,o.c.length),F(o.c[0],131)),r.j=!0,r.A=F(r.d.a.ec().Kc().Pb(),18).c.i,i=F(Ox(o,o.c.length-1),131),i.q=!0,i.C=F(i.d.a.ec().Kc().Pb(),18).d.i,o}function gtt(e){var t=F(e.a,17).a,n=F(e.b,17).a;if(t>=0){if(t==n)return new N_(dM(-t-1),dM(-t-1));if(t==-n)return new N_(dM(-t),dM(n+1))}return r.Math.abs(t)>r.Math.abs(n)?t<0?new N_(dM(-t),dM(n)):new N_(dM(-t),dM(n+1)):new N_(dM(t+1),dM(n))}function _tt(e){var t,n=F(K(e,(Zz(),z1)),171);t=F(K(e,(Y(),T$)),311),n==(mN(),t1)?(G(e,z1,i1),G(e,T$,(aO(),o$))):n==r1?(G(e,z1,i1),G(e,T$,(aO(),i$))):t==(aO(),o$)?(G(e,z1,t1),G(e,T$,a$)):t==i$&&(G(e,z1,r1),G(e,T$,a$))}function YL(){YL=C,F2=new qte,QNt=Cx(new NC,(uI(),BX),(tB(),xZ)),tPt=$x(Cx(new NC,BX,MZ),HX,jZ),nPt=GN(GN(Hh($x(Cx(new NC,RX,RZ),HX,LZ),VX),IZ),zZ),$Nt=$x(Cx(Cx(Cx(new NC,zX,CZ),VX,TZ),VX,EZ),HX,wZ),ePt=$x(Cx(Cx(new NC,VX,EZ),VX,vZ),HX,_Z)}function XL(){XL=C,aPt=Cx($x(new NC,(uI(),HX),(tB(),IEt)),BX,xZ),lPt=GN(GN(Hh($x(Cx(new NC,RX,RZ),HX,LZ),VX),IZ),zZ),oPt=$x(Cx(Cx(Cx(new NC,zX,CZ),VX,TZ),VX,EZ),HX,wZ),cPt=Cx(Cx(new NC,BX,MZ),HX,jZ),sPt=$x(Cx(Cx(new NC,VX,EZ),VX,vZ),HX,_Z)}function vtt(e,t,n,r,i){var a,o;(!ME(t)&&t.c.i.c==t.d.i.c||!BVe(hj(W(A($3,1),X,8,0,[i.i.n,i.n,i.a])),n))&&!ME(t)&&(t.c==i?zy(t.a,0,new pv(n)):gx(t.a,new pv(n)),r&&!dh(e.a,n)&&(o=F(K(t,(Zz(),R1)),75),o||(o=new _p,G(t,R1,o)),a=new pv(n),bE(o,a,o.c.b,o.c),FS(e.a,a)))}function ytt(e,t){var n,r,i,a=eS(KM(HB,LC(eS(KM(t==null?0:Wk(t),UB)),15)));for(n=a&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==a&&wC(r.i,t))return i?i.a=r.a:e.b[n]=r.a,tle(F(OC(r.c),604),F(OC(r.f),604)),hf(F(OC(r.b),227),F(OC(r.e),227)),--e.f,++e.e,!0;return!1}function btt(e){var t,n;for(n=new dS(fy($M(e).a.Kc(),new d));hL(n);)if(t=F(IE(n),18),t.c.i.k!=(yI(),sZ))throw O(new Xp(nW+pF(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 xtt(e,t,n){var r,i=sqe(e.Db&254),a,o,s,c,l;if(i==0)e.Eb=n;else{if(i==1)s=H(MJ,gB,1,2,5,1),a=aF(e,t),a==0?(s[0]=n,s[1]=e.Eb):(s[0]=e.Eb,s[1]=n);else for(s=H(MJ,gB,1,i+1,5,1),o=ok(e.Eb),r=2,c=0,l=0;r<=128;r<<=1)r==t?s[l++]=n:(e.Db&r)!=0&&(s[l++]=o[c++]);e.Eb=s}e.Db|=t}function Stt(e,t,n){var i,a,o,s;for(this.b=new Zd,a=0,i=0,s=new D(e);s.a0&&(o=F(Ox(this.b,0),176),a+=o.o,i+=o.p),a*=2,i*=2,t>1?a=Bw(r.Math.ceil(a*t)):i=Bw(r.Math.ceil(i/t)),this.a=new QJe(a,i)}function Ctt(e,t,n,i,a,o){var s,c,l,u,d=i,f,p,m,h,g,_,v;for(t.j&&t.o?(m=F(dC(e.f,t.A),60),g=m.d.c+m.d.b,--d):g=t.a.c+t.a.b,f=a,n.q&&n.o?(m=F(dC(e.f,n.C),60),u=m.d.c,++f):u=n.a.c,_=u-g,l=r.Math.max(2,f-d),c=_/l,h=g+c,p=d;p=0;o+=i?1:-1){for(s=t[o],c=r==(Vz(),r5)?i?JM(s,r):uN(JM(s,r)):i?uN(JM(s,r)):JM(s,r),a&&(e.c[s.p]=c.gc()),d=c.Kc();d.Ob();)u=F(d.Pb(),12),e.d[u.p]=l++;YA(n,c)}}function Ett(e,t,n){var r,i,a=k(P(e.b.Kc().Pb())),o,s,c,l=k(P(PUe(t.b))),u;for(r=$v(Gv(e.a),l-n),i=$v(Gv(t.a),n-a),u=xb(r,i),$v(u,1/(l-a)),this.a=u,this.b=new Zd,s=!0,o=e.b.Kc(),o.Pb();o.Ob();)c=k(P(o.Pb())),s&&c-n>DG&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n)}function Dtt(e){var t,n,r,i;if(tit(e,e.n),e.d.c.length>0){for(nm(e.c);e7e(e,F(B(new D(e.e.a)),125))>5,i,a,o;if(t&=31,r>=e.d)return e.e<0?(hR(),DSt):(hR(),hY);if(a=e.d-r,i=H(q9,bV,28,a+1,15,1),m3e(i,a,e.a,r,t),e.e<0){for(n=0;n0&&e.a[n]<<32-t){for(n=0;n=0?!1:(n=Dz((FI(),f9),i,t),n?(r=n.Ik(),(r>1||r==-1)&&AC(YD(f9,n))!=3):!0)):!1}function Ptt(e,t,n,r){var i,a,o,s=eI(F(U((!t.b&&(t.b=new Tb(Y5,t,4,7)),t.b),0),84)),c=eI(F(U((!t.c&&(t.c=new Tb(Y5,t,5,8)),t.c),0),84));return $w(s)==$w(c)||jO(c,s)?null:(o=Hw(t),o==n?r:(a=F(dC(e.a,o),10),a&&(i=a.e,i)?i:null))}function Ftt(e,t,n){var r,i,a,o,s;for(n.Ug(`Longest path to source layering`,1),e.a=t,s=e.a.a,e.b=H(q9,bV,28,s.c.length,15,1),r=0,o=new D(s);o.a0&&(n[0]+=e.d,s-=n[0]),n[2]>0&&(n[2]+=e.d,s-=n[2]),o=r.Math.max(0,s),n[1]=r.Math.max(n[1],s),vIe(e,UY,a.c+i.b+n[0]-(n[1]-s)/2,n),t==UY&&(e.c.b=o,e.c.c=a.c+i.b+(o-s)/2)}function Ytt(){this.c=H(Z9,KV,28,(Vz(),W(A(w5,1),WU,64,0,[S5,i5,r5,x5,C5])).length,15,1),this.b=H(Z9,KV,28,W(A(w5,1),WU,64,0,[S5,i5,r5,x5,C5]).length,15,1),this.a=H(Z9,KV,28,W(A(w5,1),WU,64,0,[S5,i5,r5,x5,C5]).length,15,1),afe(this.c,zV),afe(this.b,BV),afe(this.a,BV)}function QL(e,t,n){var r,i,a,o;if(t<=n?(i=t,a=n):(i=n,a=t),r=0,e.b==null)e.b=H(q9,bV,28,2,15,1),e.b[0]=i,e.b[1]=a,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==i){e.b[r-1]=a;return}o=H(q9,bV,28,r+2,15,1),BR(e.b,0,o,0,r),e.b=o,e.b[r-1]>=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||xL(e)}}function Xtt(e,t,n){var r,i,a,o,s,c,l=t.d;for(e.a=new iD(l.c.length),e.c=new Xd,s=new D(l);s.a=0?e.Lh(l,!1,!0):oL(e,n,!1),61));n:for(a=d.Kc();a.Ob();){for(i=F(a.Pb(),58),u=0;u1;)tR(i,i.i-1);return r}function rnt(e,t){var n=new sy,r,i,a,o,s,c;for(a=new D(e.b);a.ae.d[o.p]&&(n+=IFe(e.b,a),eE(e.a,dM(a)));for(;!rm(e.a);)oze(e.b,F(NS(e.a),17).a)}return n}function ant(e){var t,n,r,i,a,o,s,c,l;for(e.a=new Pye,l=0,i=0,r=new D(e.i.b);r.ac.d&&(d=c.d+c.a+u));n.c.d=d,t.a.zc(n,t),l=r.Math.max(l,n.c.d+n.c.a)}return l}function nR(){nR=C,WQ=new Fg(`COMMENTS`,0),KQ=new Fg(`EXTERNAL_PORTS`,1),qQ=new Fg(`HYPEREDGES`,2),JQ=new Fg(`HYPERNODES`,3),YQ=new Fg(`NON_FREE_PORTS`,4),XQ=new Fg(`NORTH_SOUTH_PORTS`,5),QQ=new Fg(Cht,6),UQ=new Fg(`CENTER_LABELS`,7),GQ=new Fg(`END_LABELS`,8),ZQ=new Fg(`PARTITIONS`,9)}function cnt(e,t,n,r,i){return r<0?(r=kI(e,i,W(A(lY,1),X,2,6,[sV,cV,lV,uV,dV,fV,pV,mV,hV,gV,_V,vV]),t),r<0&&(r=kI(e,i,W(A(lY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,dV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function lnt(e,t,n,r,i){return r<0?(r=kI(e,i,W(A(lY,1),X,2,6,[sV,cV,lV,uV,dV,fV,pV,mV,hV,gV,_V,vV]),t),r<0&&(r=kI(e,i,W(A(lY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,dV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function unt(e,t,n,r,i,a){var o,s=32,c,l;if(r<0){if(t[0]>=e.length||(s=KC(e,t[0]),s!=43&&s!=45)||(++t[0],r=tL(e,t),r<0))return!1;s==45&&(r=-r)}return s==32&&t[0]-n==2&&i.b==2&&(c=new ch,l=c.q.getFullYear()-yV+yV-80,o=l%100,a.a=r==o,r+=(l/100|0)*100+(r=0?kN(e):WS(kN(BD(e)))),vY[t]=W_(oS(e,t),0)?kN(oS(e,t)):WS(kN(BD(oS(e,t)))),e=KM(e,5);for(;t=u&&(l=i);l&&(d=r.Math.max(d,l.a.o.a)),d>p&&(f=u,p=d)}return f}function vnt(e){var t,n,r,i,a=new Km(F(iC(new ct),50)),o,s=BV;for(n=new D(e.d);n.aR_t?zv(l,e.b):i<=R_t&&i>z_t?zv(l,e.d):i<=z_t&&i>B_t?zv(l,e.c):i<=B_t&&zv(l,e.a),o=Snt(e,l,o);return a}function Cnt(e,t,n,r){var i=(r.c+r.a)/2,a,o,s,c,l;for(aw(t.j),gx(t.j,i),aw(n.e),gx(n.e,i),l=new Yle,s=new D(e.f);s.a1,s&&(r=new j(i,n.b),gx(t.a,r)),bk(t.a,W(A($3,1),X,8,0,[f,d]))}function Ont(e,t,n){var r,i;for(t=48;n--)M9[n]=n-48<<24>>24;for(r=70;r>=65;r--)M9[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)M9[i]=i-97+10<<24>>24;for(a=0;a<10;a++)N9[a]=48+a&oV;for(e=10;e<=15;e++)N9[e]=65+e-10&oV}function jnt(e,t){t.Ug(`Process graph bounds`,1),G(e,(Bz(),$2),Zg(iA(YC(new jx(null,new wT(e.b,16)),new ane)))),G(e,e4,Zg(iA(YC(new jx(null,new wT(e.b,16)),new sa)))),G(e,MPt,Zg(rA(YC(new jx(null,new wT(e.b,16)),new ca)))),G(e,NPt,Zg(rA(YC(new jx(null,new wT(e.b,16)),new la)))),t.Vg()}function Mnt(e){var t,n,i,a=F(K(e,(Zz(),Z1)),21),o=F(K(e,e0),21);n=new j(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new pv(n),a.Hc((PN(),T5))&&(i=F(K(e,$1),8),o.Hc((OR(),M5))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=r.Math.max(n.a,i.a),t.b=r.Math.max(n.b,i.b)),Bp($y(K(e,Q1)))||cst(e,n,t)}function Nnt(e,t){var n,r,i,a;for(a=JM(t,(Vz(),x5)).Kc();a.Ob();)r=F(a.Pb(),12),n=F(K(r,(Y(),z$)),10),n&&qL(Dh(Eh(Oh(Th(new qf,0),.1),e.i[t.p].d),e.i[n.p].a));for(i=JM(t,i5).Kc();i.Ob();)r=F(i.Pb(),12),n=F(K(r,(Y(),z$)),10),n&&qL(Dh(Eh(Oh(Th(new qf,0),.1),e.i[n.p].d),e.i[t.p].a))}function Pnt(e){var t,n,r,i,a,o;if(!e.c){if(o=new Jo,t=c9,a=t.a.zc(e,t),a==null){for(r=new cy(uE(e));r.e!=r.i.gc();)n=F(hP(r),89),i=IR(n),N(i,90)&&YS(o,Pnt(F(i,29))),gD(o,n);t.a.Bc(e),t.a.gc()}KJe(o),zj(o),e.c=new av((F(U(z((cC(),G7).o),15),19),o.i),o.g),NE(e).b&=-33}return e.c}function Fnt(e){var t;if(e.c!=10)throw O(new em(oB((Iv(),vq))));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 O(new em(oB((Iv(),Sq))))}return t}function Int(e){var t,n,r,i,a;if(e.l==0&&e.m==0&&e.h==0)return`0`;if(e.h==MV&&e.m==0&&e.l==0)return`-9223372036854775808`;if(e.h>>19)return`-`+Int(sj(e));for(n=e,r=``;!(n.l==0&&n.m==0&&n.h==0);){if(i=zE(FV),n=Mct(n,i,!0),t=``+aue(ZJ),!(n.l==0&&n.m==0&&n.h==0))for(a=9-t.length;a>0;a--)t=`0`+t;r=t+r}return r}function Lnt(e){var t=!1,n=0,r,i,a,o,s;for(i=new D(e.d.b);i.a=e.a||!Z0e(t,n))return-1;if(QT(F(i.Kb(t),20)))return 1;for(a=0,s=F(i.Kb(t),20).Kc();s.Ob();)if(o=F(s.Pb(),18),l=o.c.i==t?o.d.i:o.c.i,c=Vnt(e,l,n,i),c==-1||(a=r.Math.max(a,c),a>e.c-1))return-1;return a+1}function Hnt(e,t){var n,r,i,a,o,s;if(M(t)===M(e))return!0;if(!N(t,15)||(r=F(t,15),s=e.gc(),r.gc()!=s))return!1;if(o=r.Kc(),e.Yi()){for(n=0;n0){if(e._j(),t!=null){for(a=0;a>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 fm(`Invalid hexadecimal`))}}function cR(){cR=C,PCt=new cg(`SPIRAL`,0),ACt=new cg(`LINE_BY_LINE`,1),jCt=new cg(`MANHATTAN`,2),kCt=new cg(`JITTER`,3),VY=new cg(`QUADRANTS_LINE_BY_LINE`,4),NCt=new cg(`QUADRANTS_MANHATTAN`,5),MCt=new cg(`QUADRANTS_JITTER`,6),OCt=new cg(`COMBINE_LINE_BY_LINE_MANHATTAN`,7),DCt=new cg(`COMBINE_JITTER_MANHATTAN`,8)}function qnt(e,t,n,r){var i,a,o,s,c=LF(e,n),l=LF(t,n);for(i=!1;c&&l&&(r||JQe(c,l,n));)o=LF(c,n),s=LF(l,n),KD(t),KD(e),a=c.c,kz(c,!1),kz(l,!1),n?(SF(t,l.p,a),t.p=l.p,SF(e,c.p+1,a),e.p=c.p):(SF(e,c.p,a),e.p=c.p,SF(t,l.p+1,a),t.p=l.p),oT(c,null),oT(l,null),c=o,l=s,i=!0;return i}function Jnt(e){switch(e.g){case 0:return new Tc;case 1:return new sie;case 3:return new zde;case 4:return new Ti;case 5:return new Fye;case 6:return new wc;case 2:return new oie;case 7:return new rie;case 8:return new Sc;default:throw O(new Kp(`No implementation is available for the layerer `+(e.f==null?``+e.g:e.f)))}}function Ynt(e,t,n,r){var i=!1,a=!1,o,s,c;for(s=new D(r.j);s.a=t.length)throw O(new Up(`Greedy SwitchDecider: Free layer not in graph.`));this.c=t[e],this.e=new kb(r),Bk(this.e,this.c,(Vz(),C5)),this.i=new kb(r),Bk(this.i,this.c,r5),this.f=new Ywe(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(yI(),oZ),this.a&&M3e(this,e,t.length)}function ert(e,t){var n,r,i,a=!e.B.Hc((OR(),A5)),o=e.B.Hc(N5),s;e.a=new ZJe(o,a,e.c),e.n&&nke(e.a.n,e.n),zp(e.g,(zO(),UY),e.a),t||(r=new $N(1,a,e.c),r.n.a=e.k,LS(e.p,(Vz(),i5),r),i=new $N(1,a,e.c),i.n.d=e.k,LS(e.p,x5,i),s=new $N(0,a,e.c),s.n.c=e.k,LS(e.p,C5,s),n=new $N(0,a,e.c),n.n.b=e.k,LS(e.p,r5,n))}function trt(e){var t=F(K(e.d,(Zz(),k1)),223),n,r;switch(t.g){case 2:n=nft(e);break;case 3:n=(r=new Zd,Sh(qC(JC(mO(mO(new jx(null,new wT(e.d.b,16)),new gte),new _te),new Ur),new ste),new Iu(r)),r);break;default:throw O(new qp(`Compaction not supported for `+t+` edges.`))}vct(e,n),TE(new kl(e.g),new yoe(e))}function nrt(e,t){var n,r,i,a,o,s,c;if(t.Ug(`Process directions`,1),n=F(K(e,(HR(),h4)),88),n!=(AM(),s8))for(i=uP(e.b,0);i.b!=i.d.c;){switch(r=F($T(i),40),s=F(K(r,(Bz(),p4)),17).a,c=F(K(r,m4),17).a,n.g){case 4:c*=-1;break;case 1:a=s,s=c,c=a;break;case 2:o=s,s=-c,c=o}G(r,p4,dM(s)),G(r,m4,dM(c))}t.Vg()}function rrt(e,t){var n=new St;return t&&PA(n,F(dC(e.a,q5),96)),N(t,422)&&PA(n,F(dC(e.a,J5),96)),N(t,366)?(PA(n,F(dC(e.a,a7),96)),n):(N(t,84)&&PA(n,F(dC(e.a,Y5),96)),N(t,207)?(PA(n,F(dC(e.a,o7),96)),n):N(t,193)?(PA(n,F(dC(e.a,s7),96)),n):(N(t,326)&&PA(n,F(dC(e.a,X5),96)),n))}function irt(e){var t,n,r,i,a,o,s,c=new BFe;for(s=new D(e.a);s.a0&&t=0)return!1;if(t.p=n.b,ey(n.e,t),i==(yI(),cZ)||i==uZ){for(o=new D(t.j);o.ae.d[s.p]&&(n+=IFe(e.b,a),eE(e.a,dM(a)))):++o;for(n+=e.b.d*o;!rm(e.a);)oze(e.b,F(NS(e.a),17).a)}return n}function Ort(e){var t,n,r,i,a=0,o;return t=OF(e),t.kk()&&(a|=4),(e.Bb&Eq)!=0&&(a|=2),N(e,102)?(n=F(e,19),i=HP(n),(n.Bb&RK)!=0&&(a|=32),i&&(uC(eT(i)),a|=8,o=i.t,(o>1||o==-1)&&(a|=16),(i.Bb&RK)!=0&&(a|=64)),(n.Bb&WV)!=0&&(a|=Dq),a|=GB):N(t,469)?a|=512:(r=t.kk(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function krt(e,t){var n;return e.f==yHt?(n=AC(YD((FI(),f9),t)),e.e?n==4&&t!=(cL(),g9)&&t!=(cL(),h9)&&t!=(cL(),bHt)&&t!=(cL(),xHt):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(AT(YD((FI(),f9),t)))||e.d.Hc(Dz((FI(),f9),e.b,t)))?!0:e.f&&het((FI(),e.f),UC(YD(f9,t)))?(n=AC(YD(f9,t)),e.e?n==4:n==2):!1}function Art(e){var t,n,r,i,a,o,s,c,l,u,d,f=-1,p=0;for(l=e,u=0,d=l.length;u0&&++p;++f}return p}function jrt(e,t,n,i){var a,o,s=F(J(n,(eB(),J6)),8),c,l=s.a,u,d=s.b+e,f;return a=r.Math.atan2(d,l),a<0&&(a+=VG),a+=t,a>VG&&(a-=VG),c=F(J(i,J6),8),u=c.a,f=c.b+e,o=r.Math.atan2(f,u),o<0&&(o+=VG),o+=t,o>VG&&(o-=VG),Pv(),hk(1e-10),r.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:ao?1:lv(isNaN(a),isNaN(o))}function Mrt(e){var t,n,r,i,a,o,s=new Xd;for(r=new D(e.a.b);r.a=e.o)throw O(new op);s=t>>5,o=t&31,a=oS(1,eS(oS(o,1))),i?e.n[n][s]=DT(e.n[n][s],a):e.n[n][s]=ET(e.n[n][s],LCe(a)),a=oS(a,1),r?e.n[n][s]=DT(e.n[n][s],a):e.n[n][s]=ET(e.n[n][s],LCe(a))}catch(r){throw r=qA(r),N(r,333)?O(new Up(VH+e.o+`*`+e.p+HH+t+hB+n+UH)):O(r)}}function Irt(e,t,n,r){var i,a,o,s,c,l,u,d,f=new Km(new joe(e));for(s=W(A(iZ,1),XU,10,0,[t,n]),c=0,l=s.length;c0&&(r=(!e.n&&(e.n=new I(a7,e,1,7)),F(U(e.n,0),135)).a,!r||$_($_((t.a+=` "`,t),r),`"`))),$_(Wm($_(Wm($_(Wm($_(Wm((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function Vrt(e){var t,n,r;return e.Db&64?SI(e):(t=new gy(iyt),n=e.k,n?$_($_((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new I(a7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new I(a7,e,1,7)),F(U(e.n,0),135)).a,!r||$_($_((t.a+=` "`,t),r),`"`))),$_(Wm($_(Wm($_(Wm($_(Wm((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function Hrt(e,t){var n,r,i,a,o;for(t==(Ej(),p2)&&BI(F(UE(e.a,(qF(),XZ)),15)),i=F(UE(e.a,(qF(),XZ)),15).Kc();i.Ob();)switch(r=F(i.Pb(),105),n=F(Ox(r.j,0),113).d.j,a=new Pb(r.j),zv(a,new Jr),t.g){case 2:tI(e,a,n,(Mk(),tQ),1);break;case 1:case 0:o=$9e(a),tI(e,new hT(a,0,o),n,(Mk(),tQ),0),tI(e,new hT(a,o,a.c.length),n,tQ,1)}}function Urt(e,t){var n,r,i,a,o,s,c;if(t==null||t.length==0)return null;if(i=F(Iw(e.a,t),143),!i){for(r=(s=new Fl(e.b).a.vc().Kc(),new Il(s));r.a.Ob();)if(n=(a=F(r.a.Pb(),44),F(a.md(),143)),o=n.c,c=t.length,Db(o.substr(o.length-c,c),t)&&(t.length==o.length||KC(o,o.length-t.length-1)==46)){if(i)return null;i=n}i&&iT(e.a,t,i)}return i}function Wrt(e,t){var n=new pt,r=F(xE(JC(new jx(null,new wT(e.f,16)),n),RD(new Te,new Ee,new Ne,new Pe,W(A(PY,1),Z,108,0,[(Wj(),NY),MY]))),21),i=r.gc(),a;return r=F(xE(JC(new jx(null,new wT(t.f,16)),n),RD(new Te,new Ee,new Ne,new Pe,W(A(PY,1),Z,108,0,[NY,MY]))),21),a=r.gc(),ii.p?(qI(a,x5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=s-t)):a.j==x5&&i.p>e.p&&(qI(a,i5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=-(s-t)));break}return i}function pR(e,t,n,r,i){var a,o,s,c,l,u,d;if(!(N(t,207)||N(t,366)||N(t,193)))throw O(new Kp(`Method only works for ElkNode-, ElkLabel and ElkPort-objects.`));return o=e.a/2,c=t.i+r-o,u=t.j+i-o,l=c+t.g+e.a,d=u+t.f+e.a,a=new _p,gx(a,new j(c,u)),gx(a,new j(c,d)),gx(a,new j(l,d)),gx(a,new j(l,u)),s=new gL(a),PA(s,t),n&&PC(e.b,t,s),s}function mR(e,t,n){var r,i,a=new j(t,n),o,s,c,l,u,d,f;for(u=new D(e.a);u.a1,s&&(r=new j(i,n.b),gx(t.a,r)),bk(t.a,W(A($3,1),X,8,0,[f,d]))}function bR(){bR=C,n2=new Ug(UU,0),e2=new Ug(`NIKOLOV`,1),t2=new Ug(`NIKOLOV_PIXEL`,2),PMt=new Ug(`NIKOLOV_IMPROVED`,3),FMt=new Ug(`NIKOLOV_IMPROVED_PIXEL`,4),NMt=new Ug(`DUMMYNODE_PERCENTAGE`,5),IMt=new Ug(`NODECOUNT_PERCENTAGE`,6),r2=new Ug(`NO_BOUNDARY`,7),Q0=new Ug(`MODEL_ORDER_LEFT_TO_RIGHT`,8),$0=new Ug(`MODEL_ORDER_RIGHT_TO_LEFT`,9)}function lit(e){var t,n,r=e.length,i,a;for(t=new lm,a=0;a=40,o&&Qat(e),Ust(e),Dtt(e),n=Tqe(e),r=0;n&&r0&&gx(e.f,a)):(e.c[o]-=l+1,e.c[o]<=0&&e.a[o]>0&&gx(e.e,a))))}function Fit(e,t,n,r){var i,a,o,s,c=new j(n,r),l,u;for(Sb(c,F(K(t,(Bz(),Y2)),8)),u=uP(t.b,0);u.b!=u.d.c;)l=F($T(u),40),xb(l.e,c),gx(e.b,l);for(s=F(xE(QAe(new jx(null,new wT(t.a,16))),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15).Kc();s.Ob();){for(o=F(s.Pb(),65),a=uP(o.a,0);a.b!=a.d.c;)i=F($T(a),8),i.a+=c.a,i.b+=c.b;gx(e.a,o)}}function Iit(e,t){var n,r,i,a;if(0<(N(e,16)?F(e,16).gc():oE(e.Kc()))){if(i=t,1=0&&ca*2?(u=new RO(d),l=Ix(o)/Fx(o),c=Kz(u,t,new dp,n,r,i,l),xb(rv(u.e),c),d.c.length=0,a=0,df(d.c,u),df(d.c,o),a=Ix(u)*Fx(u)+Ix(o)*Fx(o)):(df(d.c,o),a+=Ix(o)*Fx(o));return d}function Vit(e,t){var n,r,i,a,o,s=F(K(t,(Zz(),a0)),101);if(s==(YF(),K8)||s==G8)for(i=new j(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,o=new D(e.a);o.an?t:n;l<=d;++l)l==n?s=r++:(a=i[l],u=m.am(a.Lk()),l==t&&(c=l==d&&!u?r-1:r),u&&++r);return f=F(PM(e,t,n),76),s!=c&&Lf(e,new CD(e.e,7,o,dM(s),p.md(),c)),f}}else return F(rL(e,t,n),76);return F(PM(e,t,n),76)}function Uit(e,t){var n,r,i,a,o,s,c;for(t.Ug(`Port order processing`,1),c=F(K(e,(Zz(),$jt)),430),r=new D(e.b);r.a=0&&(s=t$e(e,o),!(s&&(l<22?c.l|=1<>>1,o.m=u>>>1|(d&1)<<21,o.l=f>>>1|(u&1)<<21,--l;return n&&_j(c),a&&(r?(ZJ=sj(e),i&&(ZJ=zUe(ZJ,(sO(),aSt)))):ZJ=Hv(e.l,e.m,e.h)),c}function qit(e,t){var n,r,i,a,o,s,c,l=e.e[t.c.p][t.p]+1,u,d;for(c=t.c.a.c.length+1,s=new D(e.a);s.a0&&(CT(0,e.length),e.charCodeAt(0)==45||(CT(0,e.length),e.charCodeAt(0)==43))),r=o;rn)throw O(new fm(RV+e+`"`));return s}function Jit(e){var t,n,i,a,o,s=new hh,c;for(o=new D(e.a);o.a1)&&t==1&&F(e.a[e.b],10).k==(yI(),sZ)?ez(F(e.a[e.b],10),(xF(),E8)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&F(e.a[e.c-1&e.a.length-1],10).k==(yI(),sZ)?ez(F(e.a[e.c-1&e.a.length-1],10),(xF(),D8)):(e.c-e.b&e.a.length-1)==2?(ez(F(fj(e),10),(xF(),E8)),ez(F(fj(e),10),D8)):o9e(e,i),qPe(e)}function Qit(e,t,n){var i,a,o=0,s,c;for(a=new cy((!e.a&&(e.a=new I(o7,e,10,11)),e.a));a.e!=a.i.gc();)i=F(hP(a),27),s=``,(!i.n&&(i.n=new I(a7,i,1,7)),i.n).i==0||(s=F(U((!i.n&&(i.n=new I(a7,i,1,7)),i.n),0),135).a),c=new xj(o++,t,s),PA(c,i),G(c,(Bz(),c4),i),c.e.b=i.j+i.f/2,c.f.a=r.Math.max(i.g,1),c.e.a=i.i+i.g/2,c.f.b=r.Math.max(i.f,1),gx(t.b,c),HI(n.f,i,c)}function $it(e){var t,n,r=F(K(e,(Y(),I$)),27),i,a=F(J(r,(Zz(),Z1)),181).Hc((PN(),O5));e.e||(i=F(K(e,x$),21),t=new j(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Hc((nR(),KQ))?(EP(r,a0,(YF(),G8)),Hz(r,t.a,t.b,!1,!0)):Bp($y(J(r,Q1)))||Hz(r,t.a,t.b,!0,!0)),a?EP(r,Z1,BM(O5)):EP(r,Z1,(n=F(zm(k5),9),new Fb(n,F(vb(n,n.length),9),0)))}function eat(e,t,n){var r,i,a,o;if(t[0]>=e.length)return n.o=0,!0;switch(KC(e,t[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++t[0],a=t[0],o=tL(e,t),o==0&&t[0]==a)return!1;if(t[0]s&&(s=i,u.c.length=0),i==s&&ey(u,new N_(n.c.i,n)));lw(),zv(u,e.c),Kx(e.b,c.p,u)}}function iat(e,t){var n,r,i,a,o,s,c,l,u;for(o=new D(t.b);o.as&&(s=i,u.c.length=0),i==s&&ey(u,new N_(n.d.i,n)));lw(),zv(u,e.c),Kx(e.f,c.p,u)}}function aat(e,t){var n,r,i,a,o,s,c,l=$y(K(t,(HR(),lFt)));if(l==null||(kC(l),l)){for(S5e(e,t),i=new Zd,c=uP(t.b,0);c.b!=c.d.c;)o=F($T(c),40),n=U3e(e,o,null),n&&(PA(n,t),df(i.c,n));if(e.a=null,e.b=null,i.c.length>1)for(r=new D(i);r.a=0&&s!=n&&(a=new bS(e,1,s,o,null),r?r.nj(a):r=a),n>=0&&(a=new bS(e,1,n,s==n?o:null,t),r?r.nj(a):r=a)),r}function cat(e){var t,n,r;if(e.b==null){if(r=new cm,e.i!=null&&(X_(r,e.i),r.a+=`:`),e.f&256){for(e.f&256&&e.a!=null&&(COe(e.i)||(r.a+=`//`),X_(r,e.a)),e.d!=null&&(r.a+=`/`,X_(r,e.d)),e.f&16&&(r.a+=`/`),t=0,n=e.j.length;tf?!1:(d=(c=rz(r,f,!1),c.a),u+s+d<=t.b&&(wD(n,a-n.s),n.c=!0,wD(r,a-n.s),zP(r,n.s,n.t+n.d+s),r.k=!0,HHe(n.q,r),p=!0,i&&(vk(t,r),r.j=t,e.c.length>o&&(DF((ST(o,e.c.length),F(e.c[o],186)),r),(ST(o,e.c.length),F(e.c[o],186)).a.c.length==0&&KE(e,o)))),p)}function hat(e,t){var n,r,i,a,o,s;if(t.Ug(`Partition midprocessing`,1),i=new Pw,Sh(qC(new jx(null,new wT(e.a,16)),new Lee),new foe(i)),i.d!=0){for(s=F(xE($je((a=i.i,new jx(null,(a||(i.i=new uy(i,i.c))).Nc()))),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15),r=s.Kc(),n=F(r.Pb(),17);r.Ob();)o=F(r.Pb(),17),aet(F(UE(i,n),21),F(UE(i,o),21)),n=o;t.Vg()}}function gat(e,t,n){var r,i,a,o,s,c,l,u;if(t.p==0){for(t.p=1,o=n,o||=(i=new Zd,a=(r=F(zm(w5),9),new Fb(r,F(vb(r,r.length),9),0)),new N_(i,a)),F(o.a,15).Fc(t),t.k==(yI(),oZ)&&F(o.b,21).Fc(F(K(t,(Y(),y$)),64)),c=new D(t.j);c.a0){if(i=F(e.Ab.g,2033),t==null){for(a=0;an.s&&co)return Vz(),r5;break;case 4:case 3:if(u<0)return Vz(),i5;if(u+n>a)return Vz(),x5}return c=(l+s/2)/o,r=(u+n/2)/a,c+r<=1&&c-r<=0?(Vz(),C5):c+r>=1&&c-r>=0?(Vz(),r5):r<.5?(Vz(),i5):(Vz(),x5)}function Tat(e,t){var n=!1,r,i,a,o,s,c,l,u=k(P(K(t,(Zz(),T0)))),d,f,p,m=QB*u,h;for(i=new D(t.b);i.ac+m&&(h=d.g+f.g,f.a=(f.g*f.a+d.g*d.a)/h,f.g=h,d.f=f,n=!0)),a=s,d=f;return n}function Eat(e,t,n,r,i,a,o){var s,c,l,u,d,f=new hv;for(l=t.Kc();l.Ob();)for(s=F(l.Pb(),853),d=new D(s.Rf());d.a0?c.a?(u=c.b.Mf().b,a>u&&(e.v||c.c.d.c.length==1?(s=(a-u)/2,c.d.d=s,c.d.a=s):(n=F(Ox(c.c.d,0),187).Mf().b,i=(n-u)/2,c.d.d=r.Math.max(0,i),c.d.a=a-i-u))):c.d.a=e.t+a:_S(e.u)&&(o=A2e(c.b),o.d<0&&(c.d.d=-o.d),o.d+o.a>c.b.Mf().b&&(c.d.a=o.d+o.a-c.b.Mf().b))}function FR(){FR=C,EX=new Av((eB(),Y6),dM(1)),OX=new Av(t8,80),hTt=new Av(Fzt,5),$wt=new Av(h6,pU),fTt=new Av(X6,dM(1)),mTt=new Av(Q6,(Oy(),!0)),lTt=new Ov(50),cTt=new Av(L6,lTt),tTt=E6,uTt=U6,eTt=new Av(x6,!1),sTt=I6,aTt=M6,oTt=P6,iTt=j6,rTt=A6,dTt=K6,nTt=(W4e(),Wwt),kX=Ywt,TX=Uwt,DX=Kwt,pTt=Jwt,vTt=i8,bTt=o8,_Tt=r8,gTt=n8,yTt=(sM(),z5),new Av(a8,yTt)}function kat(e,t){var n;switch(gO(e)){case 6:return B_(t);case 7:return H_(t);case 8:return V_(t);case 3:return Array.isArray(t)&&(n=gO(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===uB;case 12:return t!=null&&(typeof t===sB||typeof t==uB);case 0:return DP(t,e.__elementTypeId$);case 2:return jS(t)&&t.Tm!==ne;case 1:return jS(t)&&t.Tm!==ne||DP(t,e.__elementTypeId$);default:return!0}}function Aat(e){var t,n,i=e.o,a;lb(),e.A.dc()||xM(e.A,hwt)?a=i.a:(a=e.D?r.Math.max(i.a,QI(e.f)):QI(e.f),e.A.Hc((PN(),E5))&&!e.B.Hc((OR(),F5))&&(a=r.Math.max(a,QI(F(zC(e.p,(Vz(),i5)),252))),a=r.Math.max(a,QI(F(zC(e.p,x5),252)))),t=tUe(e),t&&(a=r.Math.max(a,t.a))),Bp($y(e.e.Tf().of((eB(),M6))))?i.a=r.Math.max(i.a,a):i.a=a,n=e.f.i,n.c=0,n.b=a,UR(e.f)}function jat(e,t){var n,i=r.Math.min(r.Math.abs(e.c-(t.c+t.b)),r.Math.abs(e.c+e.b-t.c)),a,o=r.Math.min(r.Math.abs(e.d-(t.d+t.a)),r.Math.abs(e.d+e.a-t.d));return n=r.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(a=r.Math.abs(e.d+e.a/2-(t.d+t.a/2)),a>e.a/2+t.a/2)?1:n==0&&a==0?0:n==0?o/a+1:a==0?i/n+1:r.Math.min(i/n,o/a)+1}function Mat(e,t){var n,r,i,a=0,o,s=0,c=0;for(i=new D(e.f.e);i.a0&&e.d!=(rO(),LX)&&(s+=o*(r.d.a+e.a[t.a][r.a]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(rO(),FX)&&(c+=o*(r.d.b+e.a[t.a][r.a]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new j(s/a,t.d.b);case 2:return new j(t.d.a,c/a);default:return new j(s/a,c/a)}}function Nat(e){var t,n=(!e.a&&(e.a=new ny(K5,e,5)),e.a).i+2,r,i,a,o=new iD(n);for(ey(o,new j(e.j,e.k)),Sh(new jx(null,(!e.a&&(e.a=new ny(K5,e,5)),new wT(e.a,16))),new md(o)),ey(o,new j(e.b,e.c)),t=1;t0&&(aj(c,!1,(AM(),c8)),aj(c,!0,l8)),MO(t.g,new Vfe(e,n)),PC(e.g,t,n)}function Iat(){Iat=C;var e;for(mSt=W(A(q9,1),bV,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]),sY=H(q9,bV,28,37,15,1),hSt=W(A(q9,1),bV,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]),gSt=H(Y9,HV,28,37,14,1),e=2;e<=36;e++)sY[e]=Bw(r.Math.pow(e,mSt[e])),gSt[e]=IF(PB,sY[e])}function Lat(e){var t;if((!e.a&&(e.a=new I(Z5,e,6,6)),e.a).i!=1)throw O(new Kp(qvt+(!e.a&&(e.a=new I(Z5,e,6,6)),e.a).i));return t=new _p,JA(F(U((!e.b&&(e.b=new Tb(Y5,e,4,7)),e.b),0),84))&&Xk(t,Eft(e,JA(F(U((!e.b&&(e.b=new Tb(Y5,e,4,7)),e.b),0),84)),!1)),JA(F(U((!e.c&&(e.c=new Tb(Y5,e,5,8)),e.c),0),84))&&Xk(t,Eft(e,JA(F(U((!e.c&&(e.c=new Tb(Y5,e,5,8)),e.c),0),84)),!0)),t}function Rat(e,t){var n,r,i=t.d?e.a.c==(Gw(),j2)?$M(t.b):eN(t.b):e.a.c==(Gw(),A2)?$M(t.b):eN(t.b),a=!1,o;for(r=new dS(fy(i.a.Kc(),new d));hL(r);)if(n=F(IE(r),18),o=Bp(e.a.f[e.a.g[t.b.p].p]),!(!o&&!ME(n)&&n.c.i.c==n.d.i.c)&&!(Bp(e.a.n[e.a.g[t.b.p].p])||Bp(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,dh(e.b,e.a.g[SQe(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function zat(e,t,n){var r=n.gc(),i,a,o,s,c,l;if(r==0)return!1;if(e.Pj())if(c=e.Qj(),WJe(e,t,n),o=r==1?e.Ij(3,null,n.Kc().Pb(),t,c):e.Ij(5,null,n,t,c),e.Mj()){for(s=r<100?null:new Fm(r),a=t+r,i=t;i0){for(s=0;s>16==-15&&e.Cb.Yh()&&GD(new SD(e.Cb,9,13,n,e.c,jP(qD(F(e.Cb,62)),e))):N(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(t=e.c,N(t,90)||(t=(iB(),e9)),N(n,90)||(n=(iB(),e9)),GD(new SD(e.Cb,9,10,n,t,jP(uE(F(e.Cb,29)),e)))))),e.c}function Kat(e,t,n){var r,i,a,o,s,c,l,u,d;for(n.Ug(`Hyperedge merging`,1),g7e(e,t),c=new IT(t.b,0);c.b0,s=oN(t,a),C_e(n?s.b:s.g,t),qj(s).c.length==1&&bE(r,s,r.c.b,r.c),i=new N_(a,t),eE(e.o,i),zD(e.e.a,a))}function $at(e,t){var n,i=r.Math.abs(AS(e.b).a-AS(t.b).a),a,o,s,c=r.Math.abs(AS(e.b).b-AS(t.b).b),l;return a=0,l=0,n=1,s=1,i>e.b.b/2+t.b.b/2&&(a=r.Math.min(r.Math.abs(e.b.c-(t.b.c+t.b.b)),r.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-a/i),c>e.b.a/2+t.b.a/2&&(l=r.Math.min(r.Math.abs(e.b.d-(t.b.d+t.b.a)),r.Math.abs(e.b.d+e.b.a-t.b.d)),s=1-l/c),o=r.Math.min(n,s),(1-o)*r.Math.sqrt(i*i+c*c)}function eot(e){var t,n,r,i;for(zz(e,e.e,e.f,(Ww(),R2),!0,e.c,e.i),zz(e,e.e,e.f,R2,!1,e.c,e.i),zz(e,e.e,e.f,z2,!0,e.c,e.i),zz(e,e.e,e.f,z2,!1,e.c,e.i),Gat(e,e.c,e.e,e.f,e.i),r=new IT(e.i,0);r.b=65;n--)A9[n]=n-65<<24>>24;for(r=122;r>=97;r--)A9[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)A9[i]=i-48+52<<24>>24;for(A9[43]=62,A9[47]=63,a=0;a<=25;a++)j9[a]=65+a&oV;for(o=26,c=0;o<=51;++o,c++)j9[o]=97+c&oV;for(e=52,s=0;e<=61;++e,s++)j9[e]=48+s&oV;j9[62]=43,j9[63]=47}function not(e,t){var n,i,a=dHe(e),o,s,c=dHe(t);return a==c?e.e==t.e&&e.a<54&&t.a<54?e.ft.f):(i=e.e-t.e,n=(e.d>0?e.d:r.Math.floor((e.a-1)*Ppt)+1)-(t.d>0?t.d:r.Math.floor((t.a-1)*Ppt)+1),n>i+1?a:n0&&(s=aE(s,qot(i))),UYe(o,s))):au&&(p=0,m+=l+t,l=0),mR(s,p,m),n=r.Math.max(n,p+d.a),l=r.Math.max(l,d.b),p+=d.a+t;return new j(n+t,m+l+t)}function aot(e,t){var n,r,i,a,o,s,c;if(!Uw(e))throw O(new qp(Kvt));if(r=Uw(e),a=r.g,i=r.f,a<=0&&i<=0)return Vz(),S5;switch(s=e.i,c=e.j,t.g){case 2:case 1:if(s<0)return Vz(),C5;if(s+e.g>a)return Vz(),r5;break;case 4:case 3:if(c<0)return Vz(),i5;if(c+e.f>i)return Vz(),x5}return o=(s+e.g/2)/a,n=(c+e.f/2)/i,o+n<=1&&o-n<=0?(Vz(),C5):o+n>=1&&o-n>=0?(Vz(),r5):n<.5?(Vz(),i5):(Vz(),x5)}function oot(e,t,n,r,i){var a=GM(ET(t[0],JV),ET(r[0],JV)),o;if(e[0]=eS(a),a=sS(a,32),n>=i){for(o=1;o0&&(i.b[o++]=0,i.b[o++]=a.b[0]-1),t=1;t0&&(pl(c,c.d-i.d),i.c==(oD(),I2)&&oae(c,c.a-i.d),c.d<=0&&c.i>0&&bE(t,c,t.c.b,t.c)));for(a=new D(e.f);a.a0&&(ml(s,s.i-i.d),i.c==(oD(),I2)&&sae(s,s.b-i.d),s.i<=0&&s.d>0&&bE(n,s,n.c.b,n.c)))}function uot(e,t,n,r,i){var a,o,s,c,l,u,d,f,p;for(lw(),zv(e,new xo),o=rx(e),p=new Zd,f=new Zd,s=null,c=0;o.b!=0;)a=F(o.b==0?null:(nb(o.b!=0),NO(o,o.a.a)),163),!s||Ix(s)*Fx(s)/21&&(c>Ix(s)*Fx(s)/2||o.b==0)&&(d=new RO(f),u=Ix(s)/Fx(s),l=Kz(d,t,new dp,n,r,i,u),xb(rv(d.e),l),s=d,df(p.c,d),c=0,f.c.length=0));return YA(p,f),p}function BR(e,t,n,r,i){gh();var a,o,s,c,l,u,d;if(jEe(e,`src`),jEe(n,`dest`),d=Kj(e),c=Kj(n),jCe((d.i&4)!=0,`srcType is not an array`),jCe((c.i&4)!=0,`destType is not an array`),u=d.c,o=c.c,jCe(u.i&1?u==o:(o.i&1)==0,`Array types don't match`),kWe(e,t,n,r,i),!(u.i&1)&&d!=c)if(l=ok(e),a=ok(n),M(e)===M(n)&&tr;)fC(a,s,l[--t]);else for(s=r+i;r0),r.a.Xb(r.c=--r.b),d>f+c&&bC(r);for(o=new D(p);o.a0),r.a.Xb(r.c=--r.b)}}function pot(){nB();var e,t,n,r,i,a;if(V9)return V9;for(e=(++W9,new kT(4)),fz(e,Wz(DJ,!0)),jz(e,Wz(`M`,!0)),jz(e,Wz(`C`,!0)),a=(++W9,new kT(4)),r=0;r<11;r++)QL(a,r,r);return t=(++W9,new kT(4)),fz(t,Wz(`M`,!0)),QL(t,4448,4607),QL(t,65438,65439),i=(++W9,new Nv(2)),Sz(i,e),Sz(i,B9),n=(++W9,new Nv(2)),n.Jm(Lx(a,Wz(`L`,!0))),n.Jm(t),n=(++W9,new pE(3,n)),n=(++W9,new OEe(i,n)),V9=n,V9}function VR(e,t){var n=new RegExp(t,`g`),r,i,a,o,s,c=H(lY,X,2,0,6,1),l;for(r=0,l=e,a=null;;)if(s=n.exec(l),s==null||l==``){c[r]=l;break}else o=s.index,c[r]=(pD(0,o,l.length),l.substr(0,o)),l=jw(l,o+s[0].length,l.length),n.lastIndex=0,a==l&&(c[r]=(pD(0,1,l.length),l.substr(0,1)),l=(CT(1,l.length+1),l.substr(1))),a=l,++r;if(e.length>0){for(i=c.length;i>0&&c[i-1]==``;)--i;i0&&(f-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(f-=i[2]+e.c),i[1]=r.Math.max(i[1],f),qx(e.a[1],n.c+t.b+i[0]-(i[1]-f)/2,i[1]);for(o=e.a,c=0,u=o.length;c0?(e.n.c.length-1)*e.i:0,i=new D(e.n);i.a1)for(r=uP(i,0);r.b!=r.d.c;)for(n=F($T(r),235),a=0,c=new D(n.e);c.a0&&(t[0]+=e.c,f-=t[0]),t[2]>0&&(f-=t[2]+e.c),t[1]=r.Math.max(t[1],f),Jx(e.a[1],i.d+n.d+t[0]-(t[1]-f)/2,t[1]);else for(h=i.d+n.d,m=i.a-n.d-n.a,s=e.a,l=0,d=s.length;l0||YM(a.b.d,e.b.d+e.b.a)==0&&i.b<0||YM(a.b.d+a.b.a,e.b.d)==0&&i.b>0){c=0;break}}else c=r.Math.min(c,G6e(e,a,i));c=r.Math.min(c,xot(e,o,c,i))}return c}function qR(e,t){var n,r,i,a,o,s,c;if(e.b<2)throw O(new Kp(`The vector chain must contain at least a source and a target point.`));for(i=(nb(e.b!=0),F(e.a.a.c,8)),Ev(t,i.a,i.b),c=new Ny((!t.a&&(t.a=new ny(K5,t,5)),t.a)),o=uP(e,1);o.a=0&&a!=n))throw O(new Kp(dq));for(i=0,c=0;ck(Xv(o.g,o.d[0]).a)?(nb(c.b>0),c.a.Xb(c.c=--c.b),gb(c,o),i=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Zd),s.e).Mc(t),l=(!s.e&&(s.e=new Zd),s.e).Mc(n),(a||l)&&((!s.e&&(s.e=new Zd),s.e).Fc(o),++o.c));i||df(r.c,o)}function Tot(e,t,n){var r,i,a,o,s,c,l,u,d=e.a.i+e.a.g/2,f=e.a.i+e.a.g/2,p,m=t.i+t.g/2,h,g=t.j+t.f/2,_;return s=new j(m,g),l=F(J(t,(eB(),J6)),8),l.a+=d,l.b+=f,a=(s.b-l.b)/(s.a-l.a),r=s.b-a*s.a,h=n.i+n.g/2,_=n.j+n.f/2,c=new j(h,_),u=F(J(n,J6),8),u.a+=d,u.b+=f,o=(c.b-u.b)/(c.a-u.a),i=c.b-o*c.a,p=(r-i)/(o-a),l.a>>0,`0`+t.toString(16)),r=`\\x`+jw(n,n.length-2,n.length)):e>=WV?(n=(t=e>>>0,`0`+t.toString(16)),r=`\\v`+jw(n,n.length-6,n.length)):r=``+String.fromCharCode(e&oV)}return r}function Not(e){var t,n,r;if(vv(F(K(e,(Zz(),a0)),101)))for(n=new D(e.j);n.a=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(o=F(Ox(t.n,t.n.c.length-1),209),o.e+o.d+n.g+i<=r&&(a=F(Ox(t.n,t.n.c.length-1),209),a.f-e.f+n.f<=e.b||e.a.c.length==1))return oJe(t,n),!0;if(t.s+n.g<=r&&(t.t+t.d+n.f+i<=e.b||e.a.c.length==1))return ey(t.b,n),s=F(Ox(t.n,t.n.c.length-1),209),ey(t.n,new Vw(t.s,s.f+s.a+t.i,t.i)),tQe(F(Ox(t.n,t.n.c.length-1),209),n),got(t,n),!0}return!1}function Lot(e,t,n){var r,i,a,o;return e.Pj()?(i=null,a=e.Qj(),r=e.Ij(1,o=lO(e,t,n),n,t,a),e.Mj()&&!(e.Yi()&&o!=null?xM(o,n):M(o)===M(n))?(o!=null&&(i=e.Oj(o,i)),i=e.Nj(n,i),e.Tj()&&(i=e.Wj(o,n,i)),i?(i.nj(r),i.oj()):e.Jj(r)):(e.Tj()&&(i=e.Wj(o,n,i)),i?(i.nj(r),i.oj()):e.Jj(r)),o):(o=lO(e,t,n),e.Mj()&&!(e.Yi()&&o!=null?xM(o,n):M(o)===M(n))&&(i=null,o!=null&&(i=e.Oj(o,null)),i=e.Nj(n,i),i&&i.oj()),o)}function Rot(e,t){var n,r,i,a,o;if(t.Ug(`Path-Like Graph Wrapping`,1),e.b.c.length==0){t.Vg();return}if(i=new i7e(e),o=(i.i??=_He(i,new _i),k(i.i)*i.f),n=o/(i.i??=_He(i,new _i),k(i.i)),i.b>n){t.Vg();return}switch(F(K(e,(Zz(),M0)),351).g){case 2:a=new bi;break;case 0:a=new pi;break;default:a=new xi}if(r=a.og(e,i),!a.pg())switch(F(K(e,P0),352).g){case 2:r=X6e(i,r);break;case 1:r=A0e(i,r)}rct(e,i,r),t.Vg()}function XR(e,t){var n,i,a,o,s,c,l,u;t%=24,e.q.getHours()!=t&&(i=new r.Date(e.q.getTime()),i.setDate(i.getDate()+1),c=e.q.getTimezoneOffset()-i.getTimezoneOffset(),c>0&&(l=c/60|0,u=c%60,a=e.q.getDate(),n=e.q.getHours(),n+l>=24&&++a,o=new r.Date(e.q.getFullYear(),e.q.getMonth(),a,t+l,e.q.getMinutes()+u,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(o.getTime()))),s=e.q.getTime(),e.q.setTime(s+36e5),e.q.getHours()!=t&&e.q.setTime(s)}function zot(e,t){var n,r,i,a;if(Qje(e.d,e.e),e.c.a.$b(),k(P(K(t.j,(Zz(),f1))))!=0||k(P(K(t.j,f1)))!=0)for(n=iU,M(K(t.j,h1))!==M((VN(),i2))&&G(t.j,(Y(),b$),(Oy(),!0)),a=F(K(t.j,A0),17).a,i=0;ii&&++l,ey(o,(ST(s+l,t.c.length),F(t.c[s+l],17))),c+=(ST(s+l,t.c.length),F(t.c[s+l],17)).a-r,++n;n=_&&e.e[l.p]>h*e.b||b>=n*_)&&(df(p.c,c),c=new Zd,Xk(s,o),o.a.$b(),u-=d,m=r.Math.max(m,u*e.b+g),u+=b,y=b,b=0,d=0,g=0);return new N_(m,p)}function ZR(e){var t,n,r,i,a,o,s;if(!e.d){if(s=new Qo,t=c9,a=t.a.zc(e,t),a==null){for(r=new cy(Dw(e));r.e!=r.i.gc();)n=F(hP(r),29),YS(s,ZR(n));t.a.Bc(e),t.a.gc()}for(o=s.i,i=(!e.q&&(e.q=new I(z7,e,11,10)),new cy(e.q));i.e!=i.i.gc();++o)F(hP(i),411);YS(s,(!e.q&&(e.q=new I(z7,e,11,10)),e.q)),zj(s),e.d=new av((F(U(z((cC(),G7).o),9),19),s.i),s.g),e.e=F(s.g,688),e.e??=JVt,NE(e).b&=-17}return e.d}function QR(e,t,n,r){var i,a,o,s,c,l=JL(e.e.Dh(),t);if(c=0,i=F(e.g,124),Yh(),F(t,69).xk()){for(o=0;o1||m==-1)if(d=F(h,71),f=F(u,71),d.dc())f.$b();else for(o=!!HP(t),a=0,s=e.a?d.Kc():d.Ii();s.Ob();)l=F(s.Pb(),58),i=F(fO(e,l),58),i?(o?(c=f.dd(i),c==-1?f.Gi(a,i):a!=c&&f.Ui(a,i)):f.Gi(a,i),++a):e.b&&!o&&(f.Gi(a,l),++a);else h==null?u.Wb(null):(i=fO(e,h),i==null?e.b&&!HP(t)&&u.Wb(h):u.Wb(i))}function Wot(e,t){var n=new Bn,i,a,o,s,c,l,u;for(a=new dS(fy($M(t).a.Kc(),new d));hL(a);)if(i=F(IE(a),18),!ME(i)&&(c=i.c.i,Z0e(c,hZ))){if(u=Vnt(e,c,hZ,mZ),u==-1)continue;n.b=r.Math.max(n.b,u),!n.a&&(n.a=new Zd),ey(n.a,c)}for(s=new dS(fy(eN(t).a.Kc(),new d));hL(s);)if(o=F(IE(s),18),!ME(o)&&(l=o.d.i,Z0e(l,mZ))){if(u=Vnt(e,l,mZ,hZ),u==-1)continue;n.d=r.Math.max(n.d,u),!n.c&&(n.c=new Zd),ey(n.c,l)}return n}function Got(e,t,n,r){var i,a,o,s,c,l,u;if(n.d.i!=t.i){for(i=new GP(e),dl(i,(yI(),cZ)),G(i,(Y(),I$),n),G(i,(Zz(),a0),(YF(),G8)),df(r.c,i),o=new CI,sT(o,i),qI(o,(Vz(),C5)),s=new CI,sT(s,i),qI(s,r5),u=n.d,cT(n,o),a=new Sw,PA(a,n),G(a,R1,null),aT(a,s),cT(a,u),l=new IT(n.b,0);l.b1e6)throw O(new Hp(`power of ten too big`));if(e<=dB)return LE(sL(_Y[1],t),t);for(r=sL(_Y[1],dB),i=r,n=AA(e-dB),t=Bw(e%dB);iM(n,dB)>0;)i=aE(i,r),n=qM(n,dB);for(i=aE(i,sL(_Y[1],t)),i=LE(i,dB),n=AA(e-dB);iM(n,dB)>0;)i=LE(i,dB),n=qM(n,dB);return i=LE(i,t),i}function Jot(e){var t,n,r,i,a,o,s,c,l,u;for(c=new D(e.a);c.al&&r>l)u=s,l=k(t.p[s.p])+k(t.d[s.p])+s.o.b+s.d.a;else{i=!1,n._g()&&n.bh(`bk node placement breaks on `+s+` which should have been after `+u);break}if(!i)break}return n._g()&&n.bh(t+` is feasible: `+i),i}function Zot(e,t,n,r){var i,a=new GP(e),o,s,c,l,u,d,f;if(dl(a,(yI(),uZ)),G(a,(Zz(),a0),(YF(),G8)),i=0,t){for(o=new CI,G(o,(Y(),I$),t),G(a,I$,t.i),qI(o,(Vz(),C5)),sT(o,a),f=RT(t.e),l=f,u=0,d=l.length;u0){if(i<0&&u.a&&(i=c,a=l[0],r=0),i>=0){if(s=u.b,c==i&&(s-=r++,s==0))return 0;if(!bdt(t,l,u,s,o)){c=i-1,l[0]=a;continue}}else if(i=-1,!bdt(t,l,u,0,o))return 0}else{if(i=-1,KC(u.c,0)==32){if(d=l[0],cze(t,l),l[0]>d)continue}else if(Ike(t,u.c,l[0])){l[0]+=u.c.length;continue}return 0}return Zut(o,n)?l[0]:0}function tst(e,t,n){var r,i,a,o,s,c,l,u=new uS(new Yae(n)),d,f;for(s=H(J9,wH,28,e.f.e.c.length,16,1),wEe(s,s.length),n[t.a]=0,l=new D(e.f.e);l.a=0&&!$P(e,u,d);)--d;i[u]=d}for(p=0;p=0&&!$P(e,s,m);)--s;a[m]=s}for(c=0;ct[f]&&fr[c]&&fR(e,c,f,!1,!0)}function rst(e){var t,n=Bp($y(K(e,(FR(),eTt)))),r,i,a=e.a.c.d,o,s=e.a.d.d,c;n?(o=$v(Sb(new j(s.a,s.b),a),.5),c=$v(Gv(e.e),.5),t=Sb(xb(new j(a.a,a.b),o),c),dve(e.d,t)):(i=k(P(K(e.a,hTt))),r=e.d,a.a>=s.a?a.b>=s.b?(r.a=s.a+(a.a-s.a)/2+i,r.b=s.b+(a.b-s.b)/2-i-e.e.b):(r.a=s.a+(a.a-s.a)/2+i,r.b=a.b+(s.b-a.b)/2+i):a.b>=s.b?(r.a=a.a+(s.a-a.a)/2+i,r.b=s.b+(a.b-s.b)/2+i):(r.a=a.a+(s.a-a.a)/2+i,r.b=a.b+(s.b-a.b)/2-i-e.e.b))}function tz(e){var t,n,r,i,a,o,s,c;if(!e.f){if(c=new Xo,s=new Xo,t=c9,o=t.a.zc(e,t),o==null){for(a=new cy(Dw(e));a.e!=a.i.gc();)i=F(hP(a),29),YS(c,tz(i));t.a.Bc(e),t.a.gc()}for(r=(!e.s&&(e.s=new I(j7,e,21,17)),new cy(e.s));r.e!=r.i.gc();)n=F(hP(r),179),N(n,102)&&gD(s,F(n,19));zj(s),e.r=new twe(e,(F(U(z((cC(),G7).o),6),19),s.i),s.g),YS(c,e.r),zj(c),e.f=new av((F(U(z(G7.o),5),19),c.i),c.g),NE(e).b&=-3}return e.f}function ist(e){Vh(e,new QF(Sm(vm(xm(bm(new $a,ZH),`ELK DisCo`),`Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out.`),new Dt))),V(e,ZH,QH,mP(Vwt)),V(e,ZH,$H,mP(yX)),V(e,ZH,eU,mP(Nwt)),V(e,ZH,tU,mP(Iwt)),V(e,ZH,dmt,mP(zwt)),V(e,ZH,fmt,mP(Rwt)),V(e,ZH,umt,mP(Bwt)),V(e,ZH,pmt,mP(Lwt)),V(e,ZH,kmt,mP(Pwt)),V(e,ZH,Amt,mP(_X)),V(e,ZH,jmt,mP(Fwt)),V(e,ZH,Mmt,mP(vX))}function nz(){nz=C,cVt=W(A(K9,1),iV,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),lVt=RegExp(`[ -\r\f]+`);try{c7=W(A(XVt,1),gB,2114,0,[new Rd((jme(),TN(`yyyy-MM-dd'T'HH:mm:ss'.'SSSZ`,hb((Pp(),Pp(),JJ))))),new Rd(TN(`yyyy-MM-dd'T'HH:mm:ss'.'SSS`,hb(JJ))),new Rd(TN(`yyyy-MM-dd'T'HH:mm:ss`,hb(JJ))),new Rd(TN(`yyyy-MM-dd'T'HH:mm`,hb(JJ))),new Rd(TN(`yyyy-MM-dd`,hb(JJ)))])}catch(e){if(e=qA(e),!N(e,82))throw O(e)}}function ast(e,t){var n,r,i=kL(e.d,1)!=0,a;if(r=Yrt(e,t),r==0&&Bp($y(K(t.j,(Y(),b$)))))return 0;!Bp($y(K(t.j,(Y(),b$))))&&!Bp($y(K(t.j,G$)))||M(K(t.j,(Zz(),h1)))===M((VN(),i2))?t.c.mg(t.e,i):i=Bp($y(K(t.j,b$))),GL(e,t,i,!0),Bp($y(K(t.j,G$)))&&G(t.j,G$,(Oy(),!1)),Bp($y(K(t.j,b$)))&&(G(t.j,b$,(Oy(),!1)),G(t.j,G$,!0)),n=Yrt(e,t);do{if(cHe(e),n==0)return 0;i=!i,a=n,GL(e,t,i,!1),n=Yrt(e,t)}while(a>n);return a}function ost(e,t){var n,r,i=kL(e.d,1)!=0,a;if(r=VI(e,t),r==0&&Bp($y(K(t.j,(Y(),b$)))))return 0;!Bp($y(K(t.j,(Y(),b$))))&&!Bp($y(K(t.j,G$)))||M(K(t.j,(Zz(),h1)))===M((VN(),i2))?t.c.mg(t.e,i):i=Bp($y(K(t.j,b$))),GL(e,t,i,!0),Bp($y(K(t.j,G$)))&&G(t.j,G$,(Oy(),!1)),Bp($y(K(t.j,b$)))&&(G(t.j,b$,(Oy(),!1)),G(t.j,G$,!0)),n=VI(e,t);do{if(cHe(e),n==0)return 0;i=!i,a=n,GL(e,t,i,!1),n=VI(e,t)}while(a>n);return a}function sst(e,t,n,i){var a,o,s,c,l=Sb(new j(n.a,n.b),e),u=l.a*t.b-l.b*t.a,d=t.a*i.b-t.b*i.a,f=(l.a*i.b-l.b*i.a)/d,p=u/d;return d==0?u==0?(a=xb(new j(n.a,n.b),$v(new j(i.a,i.b),.5)),o=vD(e,a),s=vD(xb(new j(e.a,e.b),t),a),c=r.Math.sqrt(i.a*i.a+i.b*i.b)*.5,o=0&&f<=1&&p>=0&&p<=1?xb(new j(e.a,e.b),$v(new j(t.a,t.b),f)):null}function cst(e,t,n){var r=F(K(e,(Zz(),g1)),21),i,a,o,s;if(n.a>t.a&&(r.Hc((KF(),s6))?e.c.a+=(n.a-t.a)/2:r.Hc(l6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((KF(),d6))?e.c.b+=(n.b-t.b)/2:r.Hc(u6)&&(e.c.b+=n.b-t.b)),F(K(e,(Y(),x$)),21).Hc((nR(),KQ))&&(n.a>t.a||n.b>t.b))for(s=new D(e.a);s.at.a&&(r.Hc((KF(),s6))?e.c.a+=(n.a-t.a)/2:r.Hc(l6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((KF(),d6))?e.c.b+=(n.b-t.b)/2:r.Hc(u6)&&(e.c.b+=n.b-t.b)),F(K(e,(Y(),x$)),21).Hc((nR(),KQ))&&(n.a>t.a||n.b>t.b))for(o=new D(e.a);o.a0?e.i:0)>t&&l>0&&(o=0,s+=l+e.i,a=r.Math.max(a,p),i+=l+e.i,l=0,p=0,n&&(++f,ey(e.n,new Vw(e.s,s,e.i))),c=0),p+=u.g+(c>0?e.i:0),l=r.Math.max(l,u.f),n&&tQe(F(Ox(e.n,f),209),u),o+=u.g+(c>0?e.i:0),++c;return a=r.Math.max(a,p),i+=l,n&&(e.r=a,e.d=i,YQe(e.j)),new $C(e.s,e.t,a,i)}function iz(e){var t,n,i,a,o,s,c,l,u,d,f,p;for(e.b=!1,f=zV,l=BV,p=zV,u=BV,i=e.e.a.ec().Kc();i.Ob();)for(n=F(i.Pb(),272),a=n.a,f=r.Math.min(f,a.c),l=r.Math.max(l,a.c+a.b),p=r.Math.min(p,a.d),u=r.Math.max(u,a.d+a.a),s=new D(n.c);s.ae.o.a&&(d=(l-e.o.a)/2,c.b=r.Math.max(c.b,d),c.c=r.Math.max(c.c,d))}}function pst(e){var t,n,r,i,a=new IMe,o,s,c;for(ahe(a,(nj(),bRt)),r=(i=Zk(e,H(lY,X,2,0,6,1)),new Wl(new tm(new lh(e,i).b)));r.bs?1:-1,i==-1)d=-c,u=o==c?GE(t.a,s,e.a,a):dD(t.a,s,e.a,a);else if(d=o,o==c){if(i==0)return hR(),hY;u=GE(e.a,a,t.a,s)}else u=dD(e.a,a,t.a,s);return l=new RS(d,u.length,u),zT(l),l}function mst(e,t){var n,r,i,a=Xat(t);if(!t.c&&(t.c=new I(s7,t,9,9)),Sh(new jx(null,(!t.c&&(t.c=new I(s7,t,9,9)),new wT(t.c,16))),new Xae(a)),i=F(K(a,(Y(),x$)),21),eut(t,i),i.Hc((nR(),KQ)))for(r=new cy((!t.c&&(t.c=new I(s7,t,9,9)),t.c));r.e!=r.i.gc();)n=F(hP(r),123),Lut(e,t,a,n);return F(J(t,(Zz(),Z1)),181).gc()!=0&&dnt(t,a),Bp($y(K(a,Gjt)))&&i.Fc(ZQ),Wy(a,f0)&&Vce(new XJe(k(P(K(a,f0)))),a),M(J(t,P1))===M((cM(),C8))?Yft(e,t,a):wft(e,t,a),a}function hst(e){var t,n,r,i,a,o,s,c;for(i=new D(e.b);i.a0?jw(n.a,0,a-1):``):(pD(0,a-1,e.length),e.substr(0,a-1)):n?n.a:e}function gst(e,t){var n,r,i,a,o,s,c;for(t.Ug(`Sort By Input Model `+K(e,(Zz(),h1)),1),i=0,r=new D(e.b);r.a=e.b.length?(a[i++]=o.b[r++],a[i++]=o.b[r++]):r>=o.b.length?(a[i++]=e.b[n++],a[i++]=e.b[n++]):o.b[r]0?e.i:0)),++t;for(Iqe(e.n,l),e.d=n,e.r=i,e.g=0,e.f=0,e.e=0,e.o=zV,e.p=zV,o=new D(e.b);o.a0&&(i=(!e.n&&(e.n=new I(a7,e,1,7)),F(U(e.n,0),135)).a,!i||$_($_((t.a+=` "`,t),i),`"`))),n=(!e.b&&(e.b=new Tb(Y5,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Tb(Y5,e,5,8)),e.c.i<=1))),n?t.a+=` [`:t.a+=` `,$_(t,Kge(new om,new cy(e.b))),n&&(t.a+=`]`),t.a+=JU,n&&(t.a+=`[`),$_(t,Kge(new om,new cy(e.c))),n&&(t.a+=`]`),t.a)}function bst(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x=e.c,S=t.c,ee,te,ne,C;for(n=VD(x.a,e,0),r=VD(S.a,t,0),y=F(CN(e,(pk(),l2)).Kc().Pb(),12),ne=F(CN(e,u2).Kc().Pb(),12),b=F(CN(t,l2).Kc().Pb(),12),C=F(CN(t,u2).Kc().Pb(),12),_=RT(y.e),ee=RT(ne.g),v=RT(b.e),te=RT(C.g),SF(e,r,S),o=v,u=0,m=o.length;ud?new vT((oD(),L2),n,t,u-d):u>0&&d>0&&(new vT((oD(),L2),t,n,0),new vT(L2,n,t,0))),s)}function wst(e,t,n){var r,i,a;for(e.a=new Zd,a=uP(t.b,0);a.b!=a.d.c;){for(i=F($T(a),40);F(K(i,(HR(),b4)),17).a>e.a.c.length-1;)ey(e.a,new N_(iU,o_t));r=F(K(i,b4),17).a,n==(AM(),c8)||n==l8?(i.e.ak(P(F(Ox(e.a,r),42).b))&&xl(F(Ox(e.a,r),42),i.e.a+i.f.a)):(i.e.bk(P(F(Ox(e.a,r),42).b))&&xl(F(Ox(e.a,r),42),i.e.b+i.f.b))}}function Tst(e,t,n,r){var i,a=VM(r),o,s=Bp($y(K(r,(Zz(),zjt)))),c,l,u;if((s||Bp($y(K(e,F1))))&&!vv(F(K(e,a0),101)))i=dN(a),c=vat(e,n,n==(pk(),u2)?i:MM(i));else switch(c=new CI,sT(c,e),t?(u=c.n,u.a=t.a-e.n.a,u.b=t.b-e.n.b,f3e(u,0,0,e.o.a,e.o.b),qI(c,wat(c,a))):(i=dN(a),qI(c,n==(pk(),u2)?i:MM(i))),o=F(K(r,(Y(),x$)),21),l=c.j,a.g){case 2:case 1:(l==(Vz(),i5)||l==x5)&&o.Fc((nR(),XQ));break;case 4:case 3:(l==(Vz(),r5)||l==C5)&&o.Fc((nR(),XQ))}return c}function Est(e,t){var n,i,a,o,s,c;for(s=new yA(new Al(e.f.b).a);s.b;){if(o=Fk(s),a=F(o.ld(),602),t==1){if(a.Af()!=(AM(),d8)&&a.Af()!=s8)continue}else if(a.Af()!=(AM(),c8)&&a.Af()!=l8)continue;switch(i=F(F(o.md(),42).b,86),c=F(F(o.md(),42).a,194),n=c.c,a.Af().g){case 2:i.g.c=e.e.a,i.g.b=r.Math.max(1,i.g.b+n);break;case 1:i.g.c=i.g.c+n,i.g.b=r.Math.max(1,i.g.b-n);break;case 4:i.g.d=e.e.b,i.g.a=r.Math.max(1,i.g.a+n);break;case 3:i.g.d=i.g.d+n,i.g.a=r.Math.max(1,i.g.a-n)}}}function Dst(e,t){var n,i,a,o,s,c=H(q9,bV,28,t.b.c.length,15,1),l,u=H(dZ,Z,273,t.b.c.length,0,1),d,f,p,m,h,g;for(l=H(iZ,XU,10,t.b.c.length,0,1),f=e.a,p=0,m=f.length;p0&&l[i]&&(h=Uv(e.b,l[i],a)),g=r.Math.max(g,a.c.c.b+h);for(o=new D(d.e);o.a1)throw O(new Kp(dJ));c||(a=sE(t,r.Kc().Pb()),o.Fc(a))}return hWe(e,I3e(e,t,n),o)}function pz(e,t,n){var r,i,a,o,s,c,l,u;if(ZL(e.e,t))c=(Yh(),F(t,69).xk()?new bx(t,e):new L_(t,e)),lL(c.c,c.b),Kv(c,F(n,16));else{for(u=JL(e.e.Dh(),t),r=F(e.g,124),o=0;o`}c!=null&&(t.a+=``+c)}else e.e?(s=e.e.zb,s!=null&&(t.a+=``+s)):(t.a+=`?`,e.b?(t.a+=` super `,mz(e.b,t)):e.f&&(t.a+=` extends `,mz(e.f,t)))}function Lst(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 Rst(e){var t,n,i=Xz((!e.c&&(e.c=mT(AA(e.f))),e.c),0),a;if(e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(t=+(dHe(e)<0),n=e.e,a=(i.length+1+r.Math.abs(Bw(e.e)),new dm),t==1&&(a.a+=`-`),e.e>0)if(n-=i.length-t,n>=0){for(a.a+=`0.`;n>uY.length;n-=uY.length)Fwe(a,uY);hye(a,uY,Bw(n)),$_(a,(CT(t,i.length+1),i.substr(t)))}else n=t-n,$_(a,jw(i,t,Bw(n))),a.a+=`.`,$_(a,uDe(i,Bw(n)));else{for($_(a,(CT(t,i.length+1),i.substr(t)));n<-uY.length;n+=uY.length)Fwe(a,uY);hye(a,uY,Bw(-n))}return a.a}function hz(e){var t,n,r,i,a,o,s,c,l;return!(e.k!=(yI(),lZ)||e.j.c.length<=1||(a=F(K(e,(Zz(),a0)),101),a==(YF(),G8))||(i=(NP(),r=(e.q?e.q:(lw(),lw(),bY))._b(J1)?F(K(e,J1),203):F(K(TC(e),Y1),203),r),i==G0)||!(i==W0||i==U0)&&(o=k(P(EN(e,k0))),t=F(K(e,O0),140),!t&&(t=new Oye(o,o,o,o)),l=JM(e,(Vz(),C5)),c=t.d+t.a+(l.gc()-1)*o,c>e.o.b||(n=JM(e,r5),s=t.d+t.a+(n.gc()-1)*o,s>e.o.b)))}function zst(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;t.Ug(`Orthogonal edge routing`,1),l=k(P(K(e,(Zz(),E0)))),n=k(P(K(e,g0))),r=k(P(K(e,y0))),f=new QS(0,n),g=0,o=new IT(e.b,0),s=null,u=null,c=null,d=null;do u=o.b0?(p=(m-1)*n,s&&(p+=r),u&&(p+=r),pt||Bp($y(J(c,(sR(),c3)))))&&(i=0,a+=u.b+n,df(d.c,u),u=new PMe(a,n),r=new Sj(0,u.f,u,n),vk(u,r),i=0),r.b.c.length==0||!Bp($y(J($w(c),(sR(),u3))))&&(c.f>=r.o&&c.f<=r.f||r.a*.5<=c.f&&r.a*1.5>=c.f)?oJe(r,c):(o=new Sj(r.s+r.r+n,u.f,u,n),vk(u,o),oJe(o,c)),i=c.i+c.g;return df(d.c,u),d}function bz(e){var t,n,r,i;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,i=0;i=e.b[i+1])i+=2;else if(n0)for(r=new Pb(F(UE(e.a,a),21)),lw(),zv(r,new vu(t)),i=new IT(a.b,0);i.b0&&r>=-6?r>=0?xy(a,n-Bw(e.e),`.`):(SA(a,t-1,t-1,`0.`),xy(a,t+1,zN(uY,0,-Bw(r)-1))):(n-t>=1&&(xy(a,t,`.`),++n),xy(a,n,`E`),r>0&&xy(a,++n,`+`),xy(a,++n,``+vS(AA(r)))),e.g=a.a,e.g)):e.g}function ect(e,t){var n,i=k(P(K(t,(Zz(),Hjt)))),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=F(K(t,A0),17).a,ee,te;p=4,a=3,ee=20/S,m=!1,l=0,s=dB;do{for(o=l!=1,f=l!=0,te=0,_=e.a,y=0,x=_.length;yS)?(l=2,s=dB):l==0?(l=1,s=te):(l=0,s=te)):(m=te>=s||s-te0?1:lv(isNaN(i),!1))>=0^(hk(SG),(r.Math.abs(c)<=SG||c==0?0:c<0?-1:c>0?1:lv(isNaN(c),!1))>=0)?r.Math.max(c,i):(hk(SG),(r.Math.abs(i)<=SG||i==0?0:i<0?-1:i>0?1:lv(isNaN(i),!1))>0?r.Math.sqrt(c*c+i*i):-r.Math.sqrt(c*c+i*i))}function Sz(e,t){var n,r,i,a,o,s;if(t){if(!e.a&&(e.a=new Wf),e.e==2){Ff(e.a,t);return}if(t.e==1){for(i=0;i=WV?X_(n,Kqe(r)):vC(n,r&oV),o=(++W9,new Fw(10,null,0)),SEe(e.a,o,s-1)):(n=(o.Mm().length+a,new lm),X_(n,o.Mm())),t.e==0?(r=t.Km(),r>=WV?X_(n,Kqe(r)):vC(n,r&oV)):X_(n,t.Mm()),F(o,530).b=n.a}}function rct(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(!n.dc()){for(s=0,f=0,r=n.Kc(),m=F(r.Pb(),17).a;s1&&(c=l.Hg(c,e.a,s));return c.c.length==1?F(Ox(c,c.c.length-1),238):c.c.length==2?Vst((ST(0,c.c.length),F(c.c[0],238)),(ST(1,c.c.length),F(c.c[1],238)),o,a):null}function cct(e,t,n){var r,i,a,o,s,c,l;for(n.Ug(`Find roots`,1),e.a.c.length=0,i=uP(t.b,0);i.b!=i.d.c;)r=F($T(i),40),r.b.b==0&&(G(r,(Bz(),f4),(Oy(),!0)),ey(e.a,r));switch(e.a.c.length){case 0:a=new xj(0,t,`DUMMY_ROOT`),G(a,(Bz(),f4),(Oy(),!0)),G(a,Z2,!0),gx(t.b,a);break;case 1:break;default:for(o=new xj(0,t,NG),c=new D(e.a);c.a=r.Math.abs(i.b)?(i.b=0,o.d+o.a>s.d&&o.ds.c&&o.c0){if(t=new mme(e.i,e.g),n=e.i,a=n<100?null:new Fm(n),e.Tj())for(r=0;r0){for(s=e.g,l=e.i,HE(e),a=l<100?null:new Fm(l),r=0;r>13|(e.m&15)<<9,i=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,s=t.l&8191,c=t.l>>13|(t.m&15)<<9,l=t.m>>4&8191,u=t.m>>17|(t.h&255)<<5,d=(t.h&1048320)>>8,f,p,m,h,g,_,v,y,b,x,S,ee,te=n*s,ne=r*s,C=i*s,re=a*s,ie=o*s;return c!=0&&(ne+=n*c,C+=r*c,re+=i*c,ie+=a*c),l!=0&&(C+=n*l,re+=r*l,ie+=i*l),u!=0&&(re+=n*u,ie+=r*u),d!=0&&(ie+=n*d),p=te&AV,m=(ne&511)<<13,f=p+m,g=te>>22,_=ne>>9,v=(C&262143)<<4,y=(re&31)<<17,h=g+_+v+y,x=C>>18,S=re>>5,ee=(ie&4095)<<8,b=x+S+ee,h+=f>>22,f&=AV,b+=h>>22,h&=AV,b&=jV,Hv(f,h,b)}function pct(e){var t,n,i,a,o,s,c=F(Ox(e.j,0),12);if(c.g.c.length!=0&&c.e.c.length!=0)throw O(new qp(`Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges.`));if(c.g.c.length!=0){for(o=zV,n=new D(c.g);n.a4)if(e.fk(t)){if(e.al()){if(i=F(t,54),r=i.Eh(),c=r==e.e&&(e.ml()?i.yh(i.Fh(),e.il())==e.jl():-1-i.Fh()==e.Lj()),e.nl()&&!c&&!r&&i.Jh()){for(a=0;a0&&k3e(e,s,d);for(i=new D(d);i.ae.d[o.p]&&(n+=IFe(e.b,a)*F(c.b,17).a,eE(e.a,dM(a)));for(;!rm(e.a);)oze(e.b,F(NS(e.a),17).a)}return n}function _ct(e,t){var n,r,i,a,o,s,c,l,u=F(K(e,(Y(),y$)),64),d;if(r=F(Ox(e.j,0),12),u==(Vz(),i5)?qI(r,x5):u==x5&&qI(r,i5),F(K(t,(Zz(),Z1)),181).Hc((PN(),O5))){if(c=k(P(K(e,C0))),l=k(P(K(e,w0))),o=k(P(K(e,x0))),s=F(K(t,s0),21),s.Hc((YI(),Q8)))for(n=l,d=e.o.a/2-r.n.a,a=new D(r.f);a.a0&&(l=e.n.a/a);break;case 2:case 4:i=e.i.o.b,i>0&&(l=e.n.b/i)}G(e,(Y(),B$),l)}if(c=e.o,o=e.a,r)o.a=r.a,o.b=r.b,e.d=!0;else if(t!=J8&&t!=Y8&&s!=S5)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2}else o.a=c.a/2,o.b=c.b/2}function wz(e){var t,n,r,i,a,o,s,c,l,u;if(e.Pj())if(u=e.Ej(),c=e.Qj(),u>0)if(t=new BHe(e.pj()),n=u,a=n<100?null:new Fm(n),ub(e,n,t.g),i=n==1?e.Ij(4,U(t,0),null,0,c):e.Ij(6,t,null,-1,c),e.Mj()){for(r=new cy(t);r.e!=r.i.gc();)a=e.Oj(hP(r),a);a?(a.nj(i),a.oj()):e.Jj(i)}else a?(a.nj(i),a.oj()):e.Jj(i);else ub(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(lw(),yY),null,-1,c));else if(e.Mj())if(u=e.Ej(),u>0){for(s=e.Fj(),l=u,ub(e,u,s),a=l<100?null:new Fm(l),r=0;r1&&Ix(o)*Fx(o)/2>s[0]){for(a=0;as[a];)++a;m=new hT(h,0,a+1),d=new RO(m),u=Ix(o)/Fx(o),c=Kz(d,t,new dp,n,r,i,u),xb(rv(d.e),c),ox(cI(f,d),ZV),p=new hT(h,a+1,h.c.length),S$e(f,p),h.c.length=0,l=0,hTe(s,s.length,0)}else g=f.b.c.length==0?null:Ox(f.b,0),g!=null&&zk(f,0),l>0&&(s[l]=s[l-1]),s[l]+=Ix(o)*Fx(o),++l,df(h.c,o);return h}function Cct(e,t){var n=t.b,r,i,a=new Pb(n.j);i=0,r=n.j,r.c.length=0,qS(F(vA(e.b,(Vz(),i5),(Mk(),nQ)),15),n),i=LP(a,i,new Xr,r),qS(F(vA(e.b,i5,tQ),15),n),i=LP(a,i,new Gr,r),qS(F(vA(e.b,i5,eQ),15),n),qS(F(vA(e.b,r5,nQ),15),n),qS(F(vA(e.b,r5,tQ),15),n),i=LP(a,i,new Zr,r),qS(F(vA(e.b,r5,eQ),15),n),qS(F(vA(e.b,x5,nQ),15),n),i=LP(a,i,new Qr,r),qS(F(vA(e.b,x5,tQ),15),n),i=LP(a,i,new $r,r),qS(F(vA(e.b,x5,eQ),15),n),qS(F(vA(e.b,C5,nQ),15),n),i=LP(a,i,new Kr,r),qS(F(vA(e.b,C5,tQ),15),n),qS(F(vA(e.b,C5,eQ),15),n)}function wct(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;for(s=new D(t);s.a.5?v-=s*2*(h-.5):h<.5&&(v+=o*2*(.5-h)),a=c.d.b,v_.a-g-d&&(v=_.a-g-d),c.n.a=t+v}}function Act(e){var t,n,r=F(K(e,(Zz(),z1)),171),i,a;if(r==(mN(),t1)){for(n=new dS(fy($M(e).a.Kc(),new d));hL(n);)if(t=F(IE(n),18),!dIe(t))throw O(new Xp(nW+pF(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(r==r1){for(a=new dS(fy(eN(e).a.Kc(),new d));hL(a);)if(i=F(IE(a),18),!dIe(i))throw O(new Xp(nW+pF(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 Tz(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.e&&e.c.c>19&&(t=sj(t),c=!c),o=K9e(t),a=!1,i=!1,r=!1,e.h==MV&&e.m==0&&e.l==0)if(i=!0,a=!0,o==-1)e=Wme((sO(),rSt)),r=!0,c=!c;else return s=a7e(e,o),c&&_j(s),n&&(ZJ=Hv(0,0,0)),s;else e.h>>19&&(a=!0,e=sj(e),r=!0,c=!c);return o==-1?Q$e(e,t)<0?(n&&(ZJ=a?sj(e):Hv(e.l,e.m,e.h)),Hv(0,0,0)):Kit(r?e:Hv(e.l,e.m,e.h),t,c,a,i,n):UWe(e,o,c,a,n)}function Ez(e,t){var n,r,i,a,o=e.e,s,c=t.e,l,u,d,f,p,m;if(o==0)return t;if(c==0)return e;if(a=e.d,s=t.d,a+s==2)return n=ET(e.a[0],JV),r=ET(t.a[0],JV),o==c?(u=GM(n,r),m=eS(u),p=eS(cS(u,32)),p==0?new fE(o,m):new RS(o,2,W(A(q9,1),bV,28,15,[m,p]))):(hR(),W_(o<0?qM(r,n):qM(n,r),0)?kN(o<0?qM(r,n):qM(n,r)):WS(kN(BD(o<0?qM(r,n):qM(n,r)))));if(o==c)f=o,d=a>=s?dD(e.a,a,t.a,s):dD(t.a,s,e.a,a);else{if(i=a==s?hGe(e.a,t.a,a):a>s?1:-1,i==0)return hR(),hY;i==1?(f=o,d=GE(e.a,a,t.a,s)):(f=c,d=GE(t.a,s,e.a,a))}return l=new RS(f,d.length,d),zT(l),l}function Nct(e,t){var n,r,i,a,o,s,c;if(!(e.g>t.f||t.g>e.f)){for(n=0,r=0,o=e.w.a.ec().Kc();o.Ob();)i=F(o.Pb(),12),$j(hj(W(A($3,1),X,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(s=e.r.a.ec().Kc();s.Ob();)i=F(s.Pb(),12),$j(hj(W(A($3,1),X,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(c=t.w.a.ec().Kc();c.Ob();)i=F(c.Pb(),12),$j(hj(W(A($3,1),X,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Kc();a.Ob();)i=F(a.Pb(),12),$j(hj(W(A($3,1),X,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n=0)return n;switch(AC(YD(e,n))){case 2:if(Db(``,vM(e,n.qk()).xe())){if(c=UC(YD(e,n)),s=HC(YD(e,n)),u=J7e(e,t,c,s),u)return u;for(i=mit(e,t),o=0,d=i.gc();o1)throw O(new Kp(dJ));for(u=JL(e.e.Dh(),t),r=F(e.g,124),o=0;o1,u=new YE(p.b);Bv(u.a)||Bv(u.b);)l=F(Bv(u.a)?B(u.a):B(u.b),18),f=l.c==p?l.d:l.c,r.Math.abs(hj(W(A($3,1),X,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&vtt(e,l,s,o,p)}}function zct(e){var t,n,i,a=new IT(e.e,0),o,s;if(i=new IT(e.a,0),e.d)for(n=0;nDG;){for(o=t,s=0;r.Math.abs(t-o)0),a.a.Xb(a.c=--a.b),fot(e,e.b-s,o,i,a),nb(a.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(n=0;n0?(e.f[d.p]=m/(d.e.c.length+d.g.c.length),e.c=r.Math.min(e.c,e.f[d.p]),e.b=r.Math.max(e.b,e.f[d.p])):c&&(e.f[d.p]=m)}}function Vct(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 Hct(e,t,n){var r,i,a,o;for(n.Ug(`Graph transformation (`+e.a+`)`,1),o=TT(t.a),a=new D(t.b);a.a=s.b.c)&&(s.b=t),(!s.c||t.c<=s.c.c)&&(s.d=s.c,s.c=t),(!s.e||t.d>=s.e.d)&&(s.e=t),(!s.f||t.d<=s.f.d)&&(s.f=t);return r=new bP(($A(),JX)),PT(e,eEt,new tm(W(A(qX,1),gB,382,0,[r]))),o=new bP(ZX),PT(e,$Tt,new tm(W(A(qX,1),gB,382,0,[o]))),i=new bP(YX),PT(e,QTt,new tm(W(A(qX,1),gB,382,0,[i]))),a=new bP(XX),PT(e,ZTt,new tm(W(A(qX,1),gB,382,0,[a]))),NL(r.c,JX),NL(i.c,YX),NL(a.c,XX),NL(o.c,ZX),s.a.c.length=0,YA(s.a,r.c),YA(s.a,uN(i.c)),YA(s.a,a.c),YA(s.a,uN(o.c)),s}function Gct(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h;for(t.Ug(nvt,1),m=k(P(J(e,(lR(),i3)))),s=k(P(J(e,(sR(),f3)))),c=F(J(e,d3),107),eHe((!e.a&&(e.a=new I(o7,e,10,11)),e.a)),d=qst((!e.a&&(e.a=new I(o7,e,10,11)),e.a),m,s),!e.a&&(e.a=new I(o7,e,10,11)),u=new D(d);u.a0&&(e.a=c+(m-1)*a,t.c.b+=e.a,t.f.b+=e.a)),h.a.gc()!=0&&(p=new QS(1,a),m=Dlt(p,t,h,g,t.f.b+c-t.c.b),m>0&&(t.f.b+=c+(m-1)*a))}function qct(e,t,n){var i,a,o,s,c,l,u,d=k(P(K(e,(Zz(),v0)))),f,p,m,h,g,_,v,y,b,x;for(i=k(P(K(e,uMt))),p=new ko,G(p,v0,d+i),u=t,v=u.d,g=u.c.i,y=u.d.i,_=Qme(g.c),b=Qme(y.c),a=new Zd,f=_;f<=b;f++)c=new GP(e),dl(c,(yI(),cZ)),G(c,(Y(),I$),u),G(c,a0,(YF(),G8)),G(c,b0,p),m=F(Ox(e.b,f),30),f==_?SF(c,m.a.c.length-n,m):oT(c,m),x=k(P(K(u,M1))),x<0&&(x=0,G(u,M1,x)),c.o.b=x,h=r.Math.floor(x/2),s=new CI,qI(s,(Vz(),C5)),sT(s,c),s.n.b=h,l=new CI,qI(l,r5),sT(l,c),l.n.b=h,cT(u,s),o=new Sw,PA(o,u),G(o,R1,null),aT(o,l),cT(o,v),r1e(c,u,o),df(a.c,o),u=o;return a}function kz(e,t){var n,r,i,a,o,s,c=F(TI(e,(Vz(),C5)).Kc().Pb(),12).e,l,u,d,f,p=F(TI(e,r5).Kc().Pb(),12).g,m,h,g,_,v,y;for(s=c.c.length,y=yT(F(Ox(e.j,0),12));s-- >0;){for(h=(ST(0,c.c.length),F(c.c[0],18)),i=(ST(0,p.c.length),F(p.c[0],18)),v=i.d.e,a=VD(v,i,0),jNe(h,i.d,a),aT(i,null),cT(i,null),m=h.a,t&&gx(m,new pv(y)),r=uP(i.a,0);r.b!=r.d.c;)n=F($T(r),8),gx(m,new pv(n));for(_=h.b,f=new D(i.b);f.ao)&&FS(e.b,F(g.b,18));++s}a=o}}}function Yct(e,t){var n;if(t==null||Db(t,_B)||t.length==0&&e.k!=(NI(),J3))return null;switch(e.k.g){case 1:return YN(t,bK)?(Oy(),$J):YN(t,xK)?(Oy(),QJ):null;case 2:try{return dM(AR(t,$B,dB))}catch(e){if(e=qA(e),N(e,130))return null;throw O(e)}case 4:try{return bI(t)}catch(e){if(e=qA(e),N(e,130))return null;throw O(e)}case 3:return t;case 5:return FGe(e),z8e(e,t);case 6:return FGe(e),d9e(e,e.a,t);case 7:try{return n=U5e(e),n.cg(t),n}catch(e){if(e=qA(e),N(e,33))return null;throw O(e)}default:throw O(new qp(`Invalid type set for this layout option.`))}}function Xct(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&&Bp($y(t))!=G_(e.k,0);case 1:return t!=null&&F(t,222).a!=eS(e.k)<<24>>24;case 2:return t!=null&&F(t,180).a!=(eS(e.k)&oV);case 6:return t!=null&&G_(F(t,168).a,e.k);case 5:return t!=null&&F(t,17).a!=eS(e.k);case 7:return t!=null&&F(t,191).a!=eS(e.k)<<16>>16;case 3:return t!=null&&k(P(t))!=e.j;case 4:return t!=null&&F(t,161).a!=e.j;default:return t==null?e.n!=null:!xM(t,e.n)}}function Az(e,t,n){var r,i,a,o;return e.ol()&&e.nl()&&(o=OS(e,F(n,58)),M(o)!==M(n))?(e.xj(t),e.Dj(t,uRe(e,t,o)),e.al()&&(a=(i=F(n,54),e.ml()?e.kl()?i.Th(e.b,HP(F(CO(kw(e.b),e.Lj()),19)).n,F(CO(kw(e.b),e.Lj()).Hk(),29).kk(),null):i.Th(e.b,_N(i.Dh(),HP(F(CO(kw(e.b),e.Lj()),19))),null,null):i.Th(e.b,-1-e.Lj(),null,null)),!F(o,54).Ph()&&(a=(r=F(o,54),e.ml()?e.kl()?r.Rh(e.b,HP(F(CO(kw(e.b),e.Lj()),19)).n,F(CO(kw(e.b),e.Lj()).Hk(),29).kk(),a):r.Rh(e.b,_N(r.Dh(),HP(F(CO(kw(e.b),e.Lj()),19))),null,a):r.Rh(e.b,-1-e.Lj(),null,a))),a&&a.oj()),_v(e.b)&&e.Jj(e.Ij(9,n,o,t,!1)),o):n}function Zct(e){var t,n,r=new Zd,i,a,o,s,c,l,u;for(o=new D(e.e.a);o.a0&&(s=r.Math.max(s,hHe(e.C.b+i.d.b,a))),d=i,f=a,p=o;e.C&&e.C.c>0&&(m=p+e.C.c,u&&(m+=d.d.c),s=r.Math.max(s,(Pv(),hk(jH),r.Math.abs(f-1)<=jH||f==1?0:m/(1-f)))),n.n.b=0,n.a.a=s}function $ct(e,t){var n=F(zC(e.b,t),127),i,a,o,s,c,l=F(F(UE(e.r,t),21),87),u,d,f,p,m;if(l.dc()){n.n.d=0,n.n.a=0;return}for(u=e.u.Hc((YI(),Q8)),s=0,e.A.Hc((PN(),O5))&&grt(e,t),c=l.Kc(),d=null,p=0,f=0;c.Ob();)i=F(c.Pb(),117),o=k(P(i.b.of((Dy(),tX)))),a=i.b.Mf().b,d?(m=f+d.d.a+e.w+i.d.d,s=r.Math.max(s,(Pv(),hk(jH),r.Math.abs(p-o)<=jH||p==o||isNaN(p)&&isNaN(o)?0:m/(o-p)))):e.C&&e.C.d>0&&(s=r.Math.max(s,hHe(e.C.d+i.d.d,o))),d=i,p=o,f=a;e.C&&e.C.a>0&&(m=f+e.C.a,u&&(m+=d.d.a),s=r.Math.max(s,(Pv(),hk(jH),r.Math.abs(p-1)<=jH||p==1?0:m/(1-p)))),n.n.d=0,n.a.b=s}function elt(e,t,n,r,i,a,o,s){var c,l,u,d,f,p,m=!1,h,g,_;if(l=Eet(n.q,t.f+t.b-n.q.f),p=r.f>t.b&&s,_=i-(n.q.e+l-o),d=(c=rz(r,_,!1),c.a),p&&d>r.f)return!1;if(p){for(f=0,g=new D(t.d);g.a=(ST(a,e.c.length),F(e.c[a],186)).e,!p&&d>t.b&&!u)?!1:((u||p||d<=t.b)&&(u&&d>t.b?(n.d=d,wD(n,i3e(n,d))):(a0e(n.q,l),n.c=!0),wD(r,i-(n.s+n.r)),zP(r,n.q.e+n.q.d,t.f),vk(t,r),e.c.length>a&&(DF((ST(a,e.c.length),F(e.c[a],186)),r),(ST(a,e.c.length),F(e.c[a],186)).a.c.length==0&&KE(e,a)),m=!0),m)}function tlt(e,t,n){var r,i,a,o,s,c;for(this.g=e,s=t.d.length,c=n.d.length,this.d=H(iZ,XU,10,s+c,0,1),o=0;o0?FO(this,this.f/this.a):Xv(t.g,t.d[0]).a!=null&&Xv(n.g,n.d[0]).a!=null?FO(this,(k(Xv(t.g,t.d[0]).a)+k(Xv(n.g,n.d[0]).a))/2):Xv(t.g,t.d[0]).a==null?Xv(n.g,n.d[0]).a!=null&&FO(this,Xv(n.g,n.d[0]).a):FO(this,Xv(t.g,t.d[0]).a)}function nlt(e,t){var n,r,i,a,o,s,c,l,u,d;for(e.a=new pDe(aWe(f8)),r=new D(t.a);r.a=1&&(g-o>0&&d>=0?(c.n.a+=h,c.n.b+=a*o):g-o<0&&u>=0&&(c.n.a+=h*g,c.n.b+=a));e.o.a=t.a,e.o.b=t.b,G(e,(Zz(),Z1),(PN(),r=F(zm(k5),9),new Fb(r,F(vb(r,r.length),9),0)))}function slt(e,t,n,r,i,a){var o;if(!(t==null||!lN(t,OVt,kVt)))throw O(new Kp(`invalid scheme: `+t));if(!e&&!(n!=null&&cv(n,oI(35))==-1&&n.length>0&&(CT(0,n.length),n.charCodeAt(0)!=47)))throw O(new Kp(`invalid opaquePart: `+n));if(e&&!(t!=null&&uh(O7,t.toLowerCase()))&&!(n==null||!lN(n,E7,D7))||e&&t!=null&&uh(O7,t.toLowerCase())&&!D0e(n))throw O(new Kp(ybt+n));if(!CJe(r))throw O(new Kp(`invalid device: `+r));if(!iKe(i))throw o=i==null?`invalid segments: null`:`invalid segment: `+UGe(i),O(new Kp(o));if(!(a==null||cv(a,oI(35))==-1))throw O(new Kp(`invalid query: `+a))}function clt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v;if(n.Ug(`Network simplex layering`,1),e.b=t,v=F(K(t,(Zz(),A0)),17).a*4,_=e.b.a,_.c.length<1){n.Vg();return}for(o=_it(e,_),g=null,a=uP(o,0);a.b!=a.d.c;){for(i=F($T(a),15),c=v*Bw(r.Math.sqrt(i.gc())),s=Wit(i),DR(wle(Ele(Tle(Hb(s),c),g),!0),n.eh(1)),p=e.b.b,h=new D(s.a);h.a1)for(g=H(q9,bV,28,e.b.b.c.length,15,1),f=0,u=new D(e.b.b);u.a0){iP(e,n,0),n.a+=String.fromCharCode(r),i=eXe(t,a),iP(e,n,i),a+=i-1;continue}r==39?a+10&&m.a<=0){c.c.length=0,df(c.c,m);break}p=m.i-m.d,p>=s&&(p>s&&(c.c.length=0,s=p),df(c.c,m))}c.c.length!=0&&(o=F(Ox(c,IP(i,c.c.length)),118),y.a.Bc(o),o.g=u++,lot(o,t,n,r),c.c.length=0)}for(g=e.c.length+1,f=new D(e);f.aBV||t.o==M2&&u=s&&i<=c)s<=i&&a<=c?(n[u++]=i,n[u++]=a,r+=2):s<=i?(n[u++]=i,n[u++]=c,e.b[r]=c+1,o+=2):a<=c?(n[u++]=s,n[u++]=a,r+=2):(n[u++]=s,n[u++]=c,e.b[r]=c+1);else if(cQB)&&c<10);kle(e.c,new Lt),hlt(e),EEe(e.c),Uct(e.f)}function xlt(e,t){var n=F(K(e,(Zz(),a0)),101),i,a,o,s=e.f,c,l,u,d,f,p,m,h,g;for(o=e.d,c=s.a+o.b+o.c,l=0-o.d-e.c.b,d=s.b+o.d+o.a-e.c.b,u=new Zd,f=new Zd,a=new D(t);a.a=2){for(c=uP(n,0),o=F($T(c),8),s=F($T(c),8);s.a0&&aj(l,!0,(AM(),l8)),s.k==(yI(),oZ)&&MDe(l),PC(e.f,s,t)}}function wlt(e){var t,n,i,a=F(K(e,(Bz(),c4)),27),o,s,c,l,u=dB,d=dB,f,p,m,h,g,_,v,y,b,x;for(c=$B,l=$B,b=uP(e.b,0);b.b!=b.d.c;)v=F($T(b),40),m=v.e,h=v.f,u=r.Math.min(u,m.a-h.a/2),d=r.Math.min(d,m.b-h.b/2),c=r.Math.max(c,m.a+h.a/2),l=r.Math.max(l,m.b+h.b/2);for(p=F(J(a,(HR(),aFt)),107),y=uP(e.b,0);y.b!=y.d.c;)v=F($T(y),40),f=K(v,c4),N(f,207)&&(o=F(f,27),wv(o,v.e.a,v.e.b),zL(o,v));for(_=uP(e.a,0);_.b!=_.d.c;)g=F($T(_),65),i=F(K(g,c4),74),i&&(t=g.a,n=eR(i,!0,!0),qR(t,n));x=c-u+(p.b+p.c),s=l-d+(p.d+p.a),Bp($y(J(a,(eB(),M6))))||Hz(a,x,s,!1,!1),EP(a,_6,x-(p.b+p.c)),EP(a,g6,s-(p.d+p.a))}function Tlt(e,t){var n,r,i,a,o,s,c=!0,l,u,f;for(i=0,l=e.g[t.p],u=t.o.b+e.o,n=e.d[t.p][2],EE(e.b,l,dM(F(Ox(e.b,l),17).a-1+n)),EE(e.c,l,k(P(Ox(e.c,l)))-u+n*e.f),++l,l>=e.j?(++e.j,ey(e.b,dM(1)),ey(e.c,u)):(r=e.d[t.p][1],EE(e.b,l,dM(F(Ox(e.b,l),17).a+1-r)),EE(e.c,l,k(P(Ox(e.c,l)))+u-r*e.f)),(e.r==(bR(),e2)&&(F(Ox(e.b,l),17).a>e.k||F(Ox(e.b,l-1),17).a>e.k)||e.r==t2&&(k(P(Ox(e.c,l)))>e.n||k(P(Ox(e.c,l-1)))>e.n))&&(c=!1),o=new dS(fy($M(t).a.Kc(),new d));hL(o);)a=F(IE(o),18),s=a.c.i,e.g[s.p]==l&&(f=Tlt(e,s),i+=F(f.a,17).a,c&&=Bp($y(f.b)));return e.g[t.p]=l,i+=e.d[t.p][0],new N_(dM(i),(Oy(),!!c))}function Elt(e,t){var n=k(P(K(t,(Zz(),h0)))),r,i,a,o;n<2&&G(t,h0,2),r=F(K(t,w1),88),r==(AM(),u8)&&G(t,w1,VM(t)),i=F(K(t,nMt),17),i.a==0?G(t,(Y(),H$),new pN):G(t,(Y(),H$),new CE(i.a)),a=$y(K(t,q1)),a??G(t,q1,(Oy(),M(K(t,k1))===M((XM(),g8)))),Sh(new jx(null,new wT(t.a,16)),new gu(e)),Sh(mO(new jx(null,new wT(t.b,16)),new It),new _u(e)),o=new rlt(t),G(t,(Y(),q$),o),VC(e.a),BS(e.a,(uI(),RX),F(K(t,C1),188)),BS(e.a,zX,F(K(t,H1),188)),BS(e.a,BX,F(K(t,S1),188)),BS(e.a,VX,F(K(t,X1),188)),BS(e.a,HX,_Ue(F(K(t,k1),223))),ohe(e.a,hft(t)),G(t,V$,Tz(e.a,t))}function Dlt(e,t,n,i,a){var o,s,c,l,u,d,f=new Xd,p,m,h,g,_,v;for(s=new Zd,o6e(e,n,e.d.Ag(),s,f),o6e(e,i,e.d.Bg(),s,f),e.b=.2*(g=C7e(mO(new jx(null,new wT(s,16)),new $te)),_=C7e(mO(new jx(null,new wT(s,16)),new ene)),r.Math.min(g,_)),o=0,c=0;c=2&&(v=L9e(s,!0,p),!e.e&&(e.e=new nd(e)),YYe(e.e,v,s,e.b)),Q0e(s,p),Ilt(s),m=-1,d=new D(s);d.as)}function Alt(e,t){var n,i,a,o,s,c,l,u=zV,d=zV,f,p,m,h,g,_,v,y;for(c=BV,l=BV,p=new D(t.i);p.a-1){for(a=uP(c,0);a.b!=a.d.c;)i=F($T(a),131),i.v=s;for(;c.b!=0;)for(i=F(wF(c,0),131),n=new D(i.i);n.a-1){for(o=new D(c);o.a0)&&(hl(l,r.Math.min(l.o,a.o-1)),ml(l,l.i-1),l.i==0&&df(c.c,l))}}function Llt(e,t,n,i,a){var o,s,c,l=zV;return s=!1,c=sst(e,Sb(new j(t.a,t.b),e),xb(new j(n.a,n.b),a),Sb(new j(i.a,i.b),n)),o=!!c&&!(r.Math.abs(c.a-e.a)<=SK&&r.Math.abs(c.b-e.b)<=SK||r.Math.abs(c.a-t.a)<=SK&&r.Math.abs(c.b-t.b)<=SK),c=sst(e,Sb(new j(t.a,t.b),e),n,a),c&&((r.Math.abs(c.a-e.a)<=SK&&r.Math.abs(c.b-e.b)<=SK)==(r.Math.abs(c.a-t.a)<=SK&&r.Math.abs(c.b-t.b)<=SK)||o?l=r.Math.min(l,xC(Sb(c,n))):s=!0),c=sst(e,Sb(new j(t.a,t.b),e),i,a),c&&(s||(r.Math.abs(c.a-e.a)<=SK&&r.Math.abs(c.b-e.b)<=SK)==(r.Math.abs(c.a-t.a)<=SK&&r.Math.abs(c.b-t.b)<=SK)||o)&&(l=r.Math.min(l,xC(Sb(c,i)))),l}function Rlt(e){Vh(e,new QF(ym(Sm(vm(xm(bm(new $a,PU),Zmt),`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 see),mU))),V(e,PU,bU,mP(ATt)),V(e,PU,SU,(Oy(),!0)),V(e,PU,EU,mP(NTt)),V(e,PU,FU,mP(PTt)),V(e,PU,TU,mP(FTt)),V(e,PU,DU,mP(MTt)),V(e,PU,CU,mP(ITt)),V(e,PU,OU,mP(LTt)),V(e,PU,Kmt,mP(kTt)),V(e,PU,Jmt,mP(DTt)),V(e,PU,Ymt,mP(OTt)),V(e,PU,Xmt,mP(jTt)),V(e,PU,qmt,mP(PX))}function zlt(e){var t=null,n,r,i,a,o,s,c;for(r=new D(e);r.a0&&n.c==0&&(!t&&(t=new Zd),df(t.c,n));if(t)for(;t.c.length!=0;){if(n=F(KE(t,0),239),n.b&&n.b.c.length>0){for(a=(!n.b&&(n.b=new Zd),new D(n.b));a.aVD(e,n,0))return new N_(i,n)}else if(k(Xv(i.g,i.d[0]).a)>k(Xv(n.g,n.d[0]).a))return new N_(i,n)}for(s=(!n.e&&(n.e=new Zd),n.e).Kc();s.Ob();)o=F(s.Pb(),239),c=(!o.b&&(o.b=new Zd),o.b),xT(0,c.c.length),_g(c.c,0,n),o.c==c.c.length&&df(t.c,o)}return null}function Blt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(t.Ug(`Interactive crossing minimization`,1),o=0,a=new D(e.b);a.a0&&(n+=c.n.a+c.o.a/2,++d),m=new D(c.j);m.a0&&(n/=d),_=H(Z9,KV,28,r.a.c.length,15,1),s=0,l=new D(r.a);l.a=s&&i<=c)s<=i&&a<=c?r+=2:s<=i?(e.b[r]=c+1,o+=2):a<=c?(n[u++]=i,n[u++]=s-1,r+=2):(n[u++]=i,n[u++]=s-1,e.b[r]=c+1,o+=2);else if(c2?(d=new Zd,YA(d,new hT(v,1,v.b)),o=Oft(d,b+e.a),y=new gL(o),PA(y,t),df(n.c,y)):y=F(i?dC(e.b,pI(t)):dC(e.b,mI(t)),272),l=pI(t),i&&(l=mI(t)),s=x3e(_,l),u=b+e.a,s.a?(u+=r.Math.abs(_.b-f.b),g=new j(f.a,(f.b+_.b)/2)):(u+=r.Math.abs(_.a-f.a),g=new j((f.a+_.a)/2,f.b)),PC(i?e.d:e.c,t,new vQe(y,s,g,u)),PC(e.b,t,y),h=(!t.n&&(t.n=new I(a7,t,1,7)),t.n),m=new cy(h);m.e!=m.i.gc();)p=F(hP(m),135),a=pR(e,p,!0,0,0),df(n.c,a)}function Hlt(e){var t,n,r,i,a,o,s;if(!e.A.dc()){if(e.A.Hc((PN(),D5))&&(F(zC(e.b,(Vz(),i5)),127).k=!0,F(zC(e.b,x5),127).k=!0,t=e.q!=(YF(),K8)&&e.q!=G8,Xie(F(zC(e.b,r5),127),t),Xie(F(zC(e.b,C5),127),t),Xie(e.g,t),e.A.Hc(O5)&&(F(zC(e.b,i5),127).j=!0,F(zC(e.b,x5),127).j=!0,F(zC(e.b,r5),127).k=!0,F(zC(e.b,C5),127).k=!0,e.g.k=!0)),e.A.Hc(E5))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,s=e.B.Hc((OR(),F5)),i=oP(),a=0,o=i.length;a0),F(u.a.Xb(u.c=--u.b),18));a!=r&&u.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(nb(u.b>0),F(u.a.Xb(u.c=--u.b),18));u.b>0&&bC(u)}}function Glt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;if(!e.b)return!1;for(o=null,f=null,c=new hD(null,null),i=1,c.a[1]=e.b,d=c;d.a[i];)l=i,s=f,f=d,d=d.a[i],r=e.a.Ne(t,d.d),i=r<0?0:1,r==0&&(!n.c||RC(d.e,n.d))&&(o=d),!(d&&d.b)&&!im(d.a[i])&&(im(d.a[1-i])?f=f.a[l]=Lk(d,i):im(d.a[1-i])||(p=f.a[1-l],p&&(!im(p.a[1-l])&&!im(p.a[l])?(f.b=!1,p.b=!0,d.b=!0):(a=+(s.a[1]==f),im(p.a[l])?s.a[a]=aNe(f,l):im(p.a[1-l])&&(s.a[a]=Lk(f,l)),d.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1))));return o&&(n.b=!0,n.d=o.e,d!=o&&(u=new hD(d.d,d.e),Y2e(e,c,o,u),f==o&&(f=u)),f.a[+(f.a[1]==d)]=d.a[+!d.a[0]],--e.c),e.b=c.a[1],e.b&&(e.b.b=!1),n.b}function Klt(e){var t,n,i,a,o,s,c,l,u,d,f,p;for(a=new D(e.a.a.b);a.a0?i-=864e5:i+=864e5,c=new Gve(GM(AA(t.q.getTime()),i))),u=new dm,l=e.a.length,a=0;a=97&&r<=122||r>=65&&r<=90){for(o=a+1;o=l)throw O(new Kp(`Missing trailing '`));o+1=14&&u<=16))?t.a._b(r)?(n.a?$_(n.a,n.b):n.a=new gy(n.d),Z_(n.a,`[...]`)):(s=ok(r),l=new Ax(t),qE(n,Xlt(s,l))):N(r,183)?qE(n,V6e(F(r,183))):N(r,195)?qE(n,q0e(F(r,195))):N(r,201)?qE(n,U4e(F(r,201))):N(r,2111)?qE(n,J0e(F(r,2111))):N(r,53)?qE(n,B6e(F(r,53))):N(r,376)?qE(n,g8e(F(r,376))):N(r,846)?qE(n,z6e(F(r,846))):N(r,109)&&qE(n,R6e(F(r,109))):qE(n,r==null?_B:aN(r));return n.a?n.e.length==0?n.a.a:n.a.a+(``+n.e):n.c}function Mz(e,t){var n,r,i,a=e.F;t==null?(e.F=null,Rj(e,null)):(e.F=(kC(t),t),r=cv(t,oI(60)),r==-1?(i=t,cv(t,oI(46))==-1&&(r=cv(t,oI(91)),r!=-1&&(i=(pD(0,r,t.length),t.substr(0,r))),!Db(i,cB)&&!Db(i,Oq)&&!Db(i,kq)&&!Db(i,Aq)&&!Db(i,jq)&&!Db(i,Mq)&&!Db(i,Nq)&&!Db(i,Pq)?(i=Pbt,r!=-1&&(i+=``+(CT(r,t.length+1),t.substr(r)))):i=t),Rj(e,i),i==t&&(e.F=e.D)):(i=(pD(0,r,t.length),t.substr(0,r)),cv(t,oI(46))==-1&&!Db(i,cB)&&!Db(i,Oq)&&!Db(i,kq)&&!Db(i,Aq)&&!Db(i,jq)&&!Db(i,Mq)&&!Db(i,Nq)&&!Db(i,Pq)&&(i=Pbt),n=py(t,oI(62)),n!=-1&&(i+=``+(CT(n+1,t.length+1),t.substr(n+1))),Rj(e,i))),e.Db&4&&!(e.Db&1)&&CA(e,new bS(e,1,5,a,t))}function Zlt(e,t){var n,r,i,a,o,s,c=t.length-1,l,u,d;if(s=(CT(c,t.length),t.charCodeAt(c)),s==93){if(o=cv(t,oI(91)),o>=0)return i=dJe(e,(pD(1,o,t.length),t.substr(1,o-1))),u=(pD(o+1,c,t.length),t.substr(o+1,c-(o+1))),rft(e,u,i)}else{if(n=-1,lSt??=RegExp(`\\d`),lSt.test(String.fromCharCode(s))&&(n=pbe(t,oI(46),c-1),n>=0)){r=F(BE(e,rBe(e,(pD(1,n,t.length),t.substr(1,n-1))),!1),61),l=0;try{l=AR((CT(n+1,t.length+1),t.substr(n+1)),$B,dB)}catch(e){throw e=qA(e),N(e,130)?(a=e,O(new WD(a))):O(e)}if(l>16==-10?n=F(e.Cb,292).Yk(t,n):e.Db>>16==-15&&(!t&&(t=(iB(),$7)),!l&&(l=(iB(),$7)),e.Cb.Yh()&&(c=new QD(e.Cb,1,13,l,t,jP(qD(F(e.Cb,62)),e),!1),n?n.nj(c):n=c));else if(N(e.Cb,90))e.Db>>16==-23&&(N(t,90)||(t=(iB(),e9)),N(l,90)||(l=(iB(),e9)),e.Cb.Yh()&&(c=new QD(e.Cb,1,10,l,t,jP(uE(F(e.Cb,29)),e),!1),n?n.nj(c):n=c));else if(N(e.Cb,457))for(s=F(e.Cb,850),o=(!s.b&&(s.b=new Hd(new Tp)),s.b),a=(r=new yA(new Al(o.a).a),new Ud(r));a.a.b;)i=F(Fk(a.a).ld(),89),n=Nz(i,AL(i,s),n)}return n}function eut(e,t){var n,r,i,a,o=Bp($y(J(e,(Zz(),I1)))),s,c,l,u,d,f=F(J(e,s0),21);for(c=!1,l=!1,d=new cy((!e.c&&(e.c=new I(s7,e,9,9)),e.c));d.e!=d.i.gc()&&(!c||!l);){for(a=F(hP(d),123),s=0,i=kS(lk(W(A(PJ,1),gB,20,0,[(!a.d&&(a.d=new Tb(X5,a,8,5)),a.d),(!a.e&&(a.e=new Tb(X5,a,7,4)),a.e)])));hL(i)&&(r=F(IE(i),74),u=o&&nL(r)&&Bp($y(J(r,L1))),n=mct((!r.b&&(r.b=new Tb(Y5,r,4,7)),r.b),a)?e==$w(eI(F(U((!r.c&&(r.c=new Tb(Y5,r,5,8)),r.c),0),84))):e==$w(eI(F(U((!r.b&&(r.b=new Tb(Y5,r,4,7)),r.b),0),84))),!((u||n)&&(++s,s>1))););(s>0||f.Hc((YI(),Q8))&&(!a.n&&(a.n=new I(a7,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(l=!0)}c&&t.Fc((nR(),KQ)),l&&t.Fc((nR(),qQ))}function tut(e){var t,n,i,a,o,s,c,l,u,d,f,p=F(J(e,(eB(),j6)),21);if(p.dc())return null;if(c=0,s=0,p.Hc((PN(),D5))){for(d=F(J(e,U6),101),i=2,n=2,a=2,o=2,t=$w(e)?F(J($w(e),b6),88):F(J(e,b6),88),u=new cy((!e.c&&(e.c=new I(s7,e,9,9)),e.c));u.e!=u.i.gc();)if(l=F(hP(u),123),f=F(J(l,q6),64),f==(Vz(),S5)&&(f=aot(l,t),EP(l,q6,f)),d==(YF(),G8))switch(f.g){case 1:i=r.Math.max(i,l.i+l.g);break;case 2:n=r.Math.max(n,l.j+l.f);break;case 3:a=r.Math.max(a,l.i+l.g);break;case 4:o=r.Math.max(o,l.j+l.f)}else switch(f.g){case 1:i+=l.g+2;break;case 2:n+=l.f+2;break;case 3:a+=l.g+2;break;case 4:o+=l.f+2}c=r.Math.max(i,a),s=r.Math.max(n,o)}return Hz(e,c,s,!0,!0)}function Pz(e,t,n,i,a){var o,s,c,l,u,d,f,p,m,h,g,_,v,y=F(xE(OO(qC(new jx(null,new wT(t.d,16)),new zu(n)),new Soe(n)),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15),b,x;for(f=dB,d=$B,l=new D(t.b.j);l.a0,l?l&&(f=_.p,o?++f:--f,d=F(Ox(_.c.a,f),10),r=lWe(d),p=!(RL(r,S,n[0])||iEe(r,S,n[0]))):p=!0),m=!1,x=t.D.i,x&&x.c&&s.e&&(u=o&&x.p>0||!o&&x.p=0){for(c=null,s=new IT(u.a,l+1);s.bs?1:lv(!1,isNaN(s)))<0&&(hk(SG),(r.Math.abs(s-1)<=SG||s==1?0:s<1?-1:s>1?1:lv(isNaN(s),!1))<0)&&(hk(SG),(r.Math.abs(0-c)<=SG||c==0?0:0c?1:lv(!1,isNaN(c)))<0)&&(hk(SG),(r.Math.abs(c-1)<=SG||c==1?0:c<1?-1:c>1?1:lv(isNaN(c),!1))<0)),o)}function cut(e){var t,n=e.D==null?e.B:e.D,r,i;if(t=cv(n,oI(91)),t!=-1){r=(pD(0,t,n.length),n.substr(0,t)),i=new cm;do i.a+=`[`;while((t=Ly(n,91,++t))!=-1);Db(r,cB)?i.a+=`Z`:Db(r,Oq)?i.a+=`B`:Db(r,kq)?i.a+=`C`:Db(r,Aq)?i.a+=`D`:Db(r,jq)?i.a+=`F`:Db(r,Mq)?i.a+=`I`:Db(r,Nq)?i.a+=`J`:Db(r,Pq)?i.a+=`S`:(i.a+=`L`,i.a+=``+r,i.a+=`;`);try{return null}catch(e){if(e=qA(e),!N(e,63))throw O(e)}}else if(cv(n,oI(46))==-1){if(Db(n,cB))return J9;if(Db(n,Oq))return X9;if(Db(n,kq))return K9;if(Db(n,Aq))return Z9;if(Db(n,jq))return Q9;if(Db(n,Mq))return q9;if(Db(n,Nq))return Y9;if(Db(n,Pq))return $9}return null}function lut(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;for(e.e=t,s=G8e(t),S=new Zd,r=new D(s);r.a=0&&h=u.c.c.length?WPe((yI(),lZ),cZ):WPe((yI(),cZ),cZ),d*=2,o=n.a.g,n.a.g=r.Math.max(o,o+(d-o)),s=n.b.g,n.b.g=r.Math.max(s,s+(d-s)),a=t}}function put(e){var t,n,i,a;for(Sh(qC(new jx(null,new wT(e.a.b,16)),new cte),new lte),d0e(e),Sh(qC(new jx(null,new wT(e.a.b,16)),new ute),new dte),e.c==(XM(),v8)&&(Sh(qC(mO(new jx(null,new wT(new kl(e.f),1)),new fte),new Vr),new Fu(e)),Sh(qC(JC(mO(mO(new jx(null,new wT(e.d.b,16)),new pte),new mte),new hte),new Hr),new boe(e))),a=new j(zV,zV),t=new j(BV,BV),i=new D(e.a.b);i.a `):t.a+=`Root `,n=e.Dh().zb,Db(n.substr(0,3),`Elk`)?$_(t,(CT(3,n.length+1),n.substr(3))):t.a+=``+n,i=e.jh(),i){$_((t.a+=` `,t),i);return}if(N(e,366)&&(l=F(e,135).a,l)){$_((t.a+=` `,t),l);return}for(o=new cy(e.kh());o.e!=o.i.gc();)if(a=F(hP(o),135),l=a.a,l){$_((t.a+=` `,t),l);return}if(N(e,326)&&(r=F(e,74),!r.b&&(r.b=new Tb(Y5,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new Tb(Y5,r,5,8)),r.c.i!=0))){for(t.a+=` (`,s=new Ny((!r.b&&(r.b=new Tb(Y5,r,4,7)),r.b));s.e!=s.i.gc();)s.e>0&&(t.a+=hB),Rz(F(hP(s),167),t);for(t.a+=JU,c=new Ny((!r.c&&(r.c=new Tb(Y5,r,5,8)),r.c));c.e!=c.i.gc();)c.e>0&&(t.a+=hB),Rz(F(hP(c),167),t);t.a+=`)`}}function mut(e,t,n){var i,a,o,s,c,l,u,f;for(l=new cy((!e.a&&(e.a=new I(o7,e,10,11)),e.a));l.e!=l.i.gc();)for(c=F(hP(l),27),a=new dS(fy(OL(c).a.Kc(),new d));hL(a);){if(i=F(IE(a),74),!i.b&&(i.b=new Tb(Y5,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new Tb(Y5,i,5,8)),i.c.i<=1)))throw O(new Zp(`Graph must not contain hyperedges.`));if(!dL(i)&&c!=eI(F(U((!i.c&&(i.c=new Tb(Y5,i,5,8)),i.c),0),84)))for(u=new Mye,PA(u,i),G(u,(Pk(),MX),i),Qie(u,F(z_(Wx(n.f,c)),153)),tae(u,F(dC(n,eI(F(U((!i.c&&(i.c=new Tb(Y5,i,5,8)),i.c),0),84))),153)),ey(t.c,u),s=new cy((!i.n&&(i.n=new I(a7,i,1,7)),i.n));s.e!=s.i.gc();)o=F(hP(s),135),f=new IPe(u,o.a),PA(f,o),G(f,MX,o),f.e.a=r.Math.max(o.g,1),f.e.b=r.Math.max(o.f,1),rst(f),ey(t.d,f)}}function hut(e,t,n){var i,a,o,s,c,l,u,d,f,p;switch(n.Ug(`Node promotion heuristic`,1),e.i=t,e.r=F(K(t,(Zz(),V1)),243),e.r!=(bR(),Q0)&&e.r!=$0?ndt(e):ant(e),d=F(K(e.i,Rjt),17).a,o=new or,e.r.g){case 2:case 1:yz(e,o);break;case 3:for(e.r=r2,yz(e,o),l=0,c=new D(e.b);c.ae.k&&(e.r=e2,yz(e,o));break;case 4:for(e.r=r2,yz(e,o),u=0,a=new D(e.c);a.ae.n&&(e.r=t2,yz(e,o));break;case 6:p=Bw(r.Math.ceil(e.g.length*d/100)),yz(e,new doe(p));break;case 5:f=Bw(r.Math.ceil(e.e*d/100)),yz(e,new ju(f));break;case 8:Ift(e,!0);break;case 9:Ift(e,!1);break;default:yz(e,o)}e.r!=Q0&&e.r!=$0?ctt(e,t):Frt(e,t),n.Vg()}function gut(e){var t,n,r,i,a,o,s,c,l,u,d=e.b,f,p,m,h,g,_,v,y;for(u=new IT(d,0),gb(u,new mC(e)),v=!1,o=1;u.b0&&(p.d+=d.n.d,p.d+=d.d),p.a>0&&(p.a+=d.n.a,p.a+=d.d),p.b>0&&(p.b+=d.n.b,p.b+=d.d),p.c>0&&(p.c+=d.n.c,p.c+=d.d),p}function vut(e,t,n){var i,a,o,s,c,l,u,d,f,p=n.d,m,h;for(f=n.c,o=new j(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),s=o.b,u=new D(e.a);u.a0&&(e.c[t.c.p][t.p].d+=kL(e.i,24)*aH*.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 Sut(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;for(m=new D(e);m.ai.d,i.d=r.Math.max(i.d,t),c&&n&&(i.d=r.Math.max(i.d,i.a),i.a=i.d+a);break;case 3:n=t>i.a,i.a=r.Math.max(i.a,t),c&&n&&(i.a=r.Math.max(i.a,i.d),i.d=i.a+a);break;case 2:n=t>i.c,i.c=r.Math.max(i.c,t),c&&n&&(i.c=r.Math.max(i.b,i.c),i.b=i.c+a);break;case 4:n=t>i.b,i.b=r.Math.max(i.b,t),c&&n&&(i.b=r.Math.max(i.b,i.c),i.c=i.b+a)}}}function Tut(e,t){var n,r,i,a,o,s,c,l=``,u;return t.length==0?e.ne(Tpt,nV,-1,-1):(u=zI(t),Db(u.substr(0,3),`at `)&&(u=(CT(3,u.length+1),u.substr(3))),u=u.replace(/\[.*?\]/g,``),o=u.indexOf(`(`),o==-1?(o=u.indexOf(`@`),o==-1?(l=u,u=``):(l=zI((CT(o+1,u.length+1),u.substr(o+1))),u=zI((pD(0,o,u.length),u.substr(0,o))))):(n=u.indexOf(`)`,o),l=(pD(o+1,n,u.length),u.substr(o+1,n-(o+1))),u=zI((pD(0,o,u.length),u.substr(0,o)))),o=cv(u,oI(46)),o!=-1&&(u=(CT(o+1,u.length+1),u.substr(o+1))),(u.length==0||Db(u,`Anonymous function`))&&(u=nV),s=py(l,oI(58)),i=pbe(l,oI(58),s-1),c=-1,r=-1,a=Tpt,s!=-1&&i!=-1&&(a=(pD(0,i,l.length),l.substr(0,i)),c=B_e((pD(i+1,s,l.length),l.substr(i+1,s-(i+1)))),r=B_e((CT(s+1,l.length+1),l.substr(s+1)))),e.ne(a,u,c,r))}function Eut(e){var t,n,r,i,a,o,s,c,l,u,d;for(l=new D(e);l.a0||u.j==C5&&u.e.c.length-u.g.c.length<0)){t=!1;break}for(i=new D(u.g);i.a=u&&S>=_&&(p+=h.n.b+g.n.b+g.a.b-x,++c));if(n)for(s=new D(y.e);s.a=u&&S>=_&&(p+=h.n.b+g.n.b+g.a.b-x,++c))}c>0&&(ee+=p/c,++m)}m>0?(t.a=a*ee/m,t.g=m):(t.a=0,t.g=0)}function Out(e){var t,n,r,i,a=e.f.b,o,s,c,l,u,d,f=a.a,p,m,h,g,_,v,y,b,x,S,ee;for(u=a.b,m=e.e.g,p=e.e.f,Cv(e.e,a.a,a.b),S=f/m,ee=u/p,l=new cy(BC(e.e));l.e!=l.i.gc();)c=F(hP(l),135),JO(c,c.i*S),YO(c,c.j*ee);for(v=new cy(uOe(e.e));v.e!=v.i.gc();)_=F(hP(v),123),b=_.i,x=_.j,b>0&&JO(_,b*S),x>0&&YO(_,x*ee);for(mA(e.b,new Mt),t=new Zd,s=new yA(new Al(e.c).a);s.b;)o=Fk(s),r=F(o.ld(),74),n=F(o.md(),407).a,i=eR(r,!1,!1),d=s2e(pI(r),DI(i),n),qR(d,i),y=o4e(r),y&&VD(t,y,0)==-1&&(df(t.c,y),bOe(y,(nb(d.b!=0),F(d.a.a.c,8)),n));for(g=new yA(new Al(e.d).a);g.b;)h=Fk(g),r=F(h.ld(),74),n=F(h.md(),407).a,i=eR(r,!1,!1),d=s2e(mI(r),yj(DI(i)),n),d=yj(d),qR(d,i),y=s4e(r),y&&VD(t,y,0)==-1&&(df(t.c,y),bOe(y,(nb(d.b!=0),F(d.c.b.c,8)),n))}function kut(e,t,n,r){var i,a,o,s=new Gut(t),c;return ket(s,r),i=!0,e&&e.pf((eB(),b6))&&(a=F(e.of((eB(),b6)),88),i=a==(AM(),u8)||a==c8||a==l8),ert(s,!1),MO(s.e.Rf(),new fxe(s,!1,i)),CAe(s,s.f,(zO(),HY),(Vz(),i5)),CAe(s,s.f,WY,x5),CAe(s,s.g,HY,C5),CAe(s,s.g,WY,r5),tZe(s,i5),tZe(s,x5),aOe(s,r5),aOe(s,C5),lb(),o=s.A.Hc((PN(),T5))&&s.B.Hc((OR(),P5))?mYe(s):null,o&&yle(s.a,o),wut(s),RQe(s),zQe(s),Hlt(s),Aat(s),L$e(s),eP(s,i5),eP(s,x5),wrt(s),oct(s),n?(fJe(s),R$e(s),eP(s,r5),eP(s,C5),c=s.B.Hc((OR(),F5)),A6e(s,c,i5),A6e(s,c,x5),j6e(s,c,r5),j6e(s,c,C5),Sh(new jx(null,new wT(new Fl(s.i),0)),new nt),Sh(qC(new jx(null,$Ee(s.r).a.oc()),new rt),new it),L0e(s),s.e.Pf(s.o),Sh(new jx(null,$Ee(s.r).a.oc()),new at),s.o):s.o}function Aut(e){var t,n,i,a,o,s,c,l,u=zV,d,f,p,m,h,g;for(i=new D(e.a.b);i.a1)for(m=new dct(h,b,i),TE(b,new upe(e,m)),df(s.c,m),f=b.a.ec().Kc();f.Ob();)d=F(f.Pb(),42),zD(o,d.b);if(c.a.gc()>1)for(m=new dct(h,c,i),TE(c,new dpe(e,m)),df(s.c,m),f=c.a.ec().Kc();f.Ob();)d=F(f.Pb(),42),zD(o,d.b)}}function Fut(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g=e.n,_=e.o,v;if(p=e.d,f=k(P(EN(e,(Zz(),p0)))),t){for(d=f*(t.gc()-1),m=0,l=t.Kc();l.Ob();)s=F(l.Pb(),10),d+=s.o.a,m=r.Math.max(m,s.o.b);for(v=g.a-(d-_.a)/2,o=g.b-p.d+m,i=_.a/(t.gc()+1),a=i,c=t.Kc();c.Ob();)s=F(c.Pb(),10),s.n.a=v,s.n.b=o-s.o.b,v+=s.o.a+f,u=Y9e(s),u.n.a=s.o.a/2-u.a.a,u.n.b=s.o.b,h=F(K(s,(Y(),u$)),12),h.e.c.length+h.g.c.length==1&&(h.n.a=a-h.a.a,h.n.b=0,sT(h,e)),a+=i}if(n){for(d=f*(n.gc()-1),m=0,l=n.Kc();l.Ob();)s=F(l.Pb(),10),d+=s.o.a,m=r.Math.max(m,s.o.b);for(v=g.a-(d-_.a)/2,o=g.b+_.b+p.a-m,i=_.a/(n.gc()+1),a=i,c=n.Kc();c.Ob();)s=F(c.Pb(),10),s.n.a=v,s.n.b=o,v+=s.o.a+f,u=Y9e(s),u.n.a=s.o.a/2-u.a.a,u.n.b=0,h=F(K(s,(Y(),u$)),12),h.e.c.length+h.g.c.length==1&&(h.n.a=a-h.a.a,h.n.b=_.b,sT(h,e)),a+=i}}function Iut(e,t){var n,i,a,o,s,c;if(F(K(t,(Y(),x$)),21).Hc((nR(),KQ))){for(c=new D(t.a);c.a=0&&o0&&(F(zC(e.b,t),127).a.b=n)}function Uut(e,t,n,r){var i,a,o,s,c,l,u,d,f=k(P(K(e,(Zz(),C0)))),p=k(P(K(e,w0))),m,h;if(d=k(P(K(e,x0))),s=e.o,a=F(Ox(e.j,0),12),o=a.n,h=L3e(a,d),h){if(t.Hc((YI(),Q8)))switch(F(K(e,(Y(),y$)),64).g){case 1:h.c=(s.a-h.b)/2-o.a,h.d=p;break;case 3:h.c=(s.a-h.b)/2-o.a,h.d=-p-h.a;break;case 2:n&&a.e.c.length==0&&a.g.c.length==0?(u=r?h.a:F(Ox(a.f,0),72).o.b,h.d=(s.b-u)/2-o.b):h.d=s.b+p-o.b,h.c=-f-h.b;break;case 4:n&&a.e.c.length==0&&a.g.c.length==0?(u=r?h.a:F(Ox(a.f,0),72).o.b,h.d=(s.b-u)/2-o.b):h.d=s.b+p-o.b,h.c=f}else if(t.Hc(e5))switch(F(K(e,(Y(),y$)),64).g){case 1:case 3:h.c=o.a+f;break;case 2:case 4:n&&!a.c?(u=r?h.a:F(Ox(a.f,0),72).o.b,h.d=(s.b-u)/2-o.b):h.d=o.b+p}for(i=h.d,l=new D(a.f);l.a=e.length)return{done:!0};var r=e[n++];return{value:[r,t.get(r)],done:!1}}}},Rnt()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(e){return this.obj[`:`+e]},e.prototype.set=function(e,t){this.obj[`:`+e]=t},e.prototype[tH]=function(e){delete this.obj[`:`+e]},e.prototype.keys=function(){var e=[];for(var t in this.obj)t.charCodeAt(0)==58&&e.push(t.substring(1));return e}),e}function Bz(){Bz=C,c4=new jd(Hmt),new jd(Umt),new pb(`DEPTH`,dM(0)),Q2=new pb(`FAN`,dM(0)),jPt=new pb(l_t,dM(0)),f4=new pb(`ROOT`,(Oy(),!1)),n4=new pb(`LEFTNEIGHBOR`,null),FPt=new pb(`RIGHTNEIGHBOR`,null),r4=new pb(`LEFTSIBLING`,null),d4=new pb(`RIGHTSIBLING`,null),Z2=new pb(`DUMMY`,!1),new pb(`LEVEL`,dM(0)),PPt=new pb(`REMOVABLE_EDGES`,new hh),p4=new pb(`XCOOR`,dM(0)),m4=new pb(`YCOOR`,dM(0)),i4=new pb(`LEVELHEIGHT`,0),o4=new pb(`LEVELMIN`,0),a4=new pb(`LEVELMAX`,0),$2=new pb(`GRAPH_XMIN`,0),e4=new pb(`GRAPH_YMIN`,0),MPt=new pb(`GRAPH_XMAX`,0),NPt=new pb(`GRAPH_YMAX`,0),APt=new pb(`COMPACT_LEVEL_ASCENSION`,!1),X2=new pb(`COMPACT_CONSTRAINTS`,new Zd),t4=new pb(`ID`,``),l4=new pb(`POSITION`,dM(0)),u4=new pb(`PRELIM`,0),s4=new pb(`MODIFIER`,0),Y2=new jd(Wmt),J2=new jd(Gmt)}function Xut(e){tot();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null)return null;if(d=e.length*8,d==0)return``;for(s=d%24,p=d/24|0,f=s==0?p:p+1,a=null,a=H(K9,iV,28,f*4,15,1),l=0,u=0,t=0,n=0,r=0,o=0,i=0,c=0;c>24,l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,h=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,g=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,a[o++]=j9[m],a[o++]=j9[h|l<<4],a[o++]=j9[u<<2|g],a[o++]=j9[r&63];return s==8?(t=e[i],l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,a[o++]=j9[m],a[o++]=j9[l<<4],a[o++]=61,a[o++]=61):s==16&&(t=e[i],n=e[i+1],u=(n&15)<<24>>24,l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,h=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,a[o++]=j9[m],a[o++]=j9[h|l<<4],a[o++]=j9[u<<2],a[o++]=61),zN(a,0,a.length)}function Zut(e,t){var n,i,a,o,s,c,l;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>$B&&HPe(t,e.p-yV),s=t.q.getDate(),Jw(t,1),e.k>=0&&eje(t,e.k),e.c>=0?Jw(t,e.c):e.k>=0?(l=new DWe(t.q.getFullYear()-yV,t.q.getMonth(),35),i=35-l.q.getDate(),Jw(t,r.Math.min(i,s))):Jw(t,s),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Tge(t,e.f==24&&e.g?0:e.f),e.j>=0&&FIe(t,e.j),e.n>=0&&ALe(t,e.n),e.i>=0&&Ime(t,GM(KM(IF(AA(t.q.getTime()),aV),aV),e.i)),e.a&&(a=new ch,HPe(a,a.q.getFullYear()-yV-80),eg(AA(t.q.getTime()),AA(a.q.getTime()))&&HPe(t,a.q.getFullYear()-yV+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),c=t.q.getMonth(),Jw(t,t.q.getDate()+n),t.q.getMonth()!=c&&Jw(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>$B&&(o=t.q.getTimezoneOffset(),Ime(t,GM(AA(t.q.getTime()),(e.o-o)*60*aV))),!0}function Qut(e,t){var n,r,i=K(t,(Y(),I$)),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(N(i,207)){for(m=F(i,27),h=t.e,f=new pv(t.c),a=t.d,f.a+=a.b,f.b+=a.d,b=F(J(m,(Zz(),e0)),181),wy(b,(OR(),j5))&&(p=F(J(m,Ujt),107),qie(p,a.a),eae(p,a.d),ll(p,a.b),$ie(p,a.c)),n=new Zd,u=new D(t.a);u.ar.c.length-1;)ey(r,new N_(iU,o_t));n=F(K(i,b4),17).a,yv(F(K(e,h4),88))?(i.e.ak(P((ST(n,r.c.length),F(r.c[n],42)).b))&&xl((ST(n,r.c.length),F(r.c[n],42)),i.e.a+i.f.a)):(i.e.bk(P((ST(n,r.c.length),F(r.c[n],42)).b))&&xl((ST(n,r.c.length),F(r.c[n],42)),i.e.b+i.f.b))}for(a=uP(e.b,0);a.b!=a.d.c;)i=F($T(a),40),n=F(K(i,(HR(),b4)),17).a,G(i,(Bz(),o4),P((ST(n,r.c.length),F(r.c[n],42)).a)),G(i,a4,P((ST(n,r.c.length),F(r.c[n],42)).b));t.Vg()}function ndt(e){var t,n,i,a,o,s,c,l,u,f,p,m,h,g,_;for(e.o=k(P(K(e.i,(Zz(),T0)))),e.f=k(P(K(e.i,y0))),e.j=e.i.b.c.length,c=e.j-1,m=0,e.k=0,e.n=0,e.b=WE(H(aY,X,17,e.j,0,1)),e.c=WE(H(rY,X,345,e.j,7,1)),s=new D(e.i.b);s.a0&&ey(e.q,f),ey(e.p,f);t-=i,h=l+t,u+=t*e.f,EE(e.b,c,dM(h)),EE(e.c,c,u),e.k=r.Math.max(e.k,h),e.n=r.Math.max(e.n,u),e.e+=t,t+=_}}function Vz(){Vz=C;var e;S5=new O_(AH,0),i5=new O_(IH,1),r5=new O_(LH,2),x5=new O_(RH,3),C5=new O_(zH,4),l5=(lw(),new pm((e=F(zm(w5),9),new Fb(e,F(vb(e,e.length),9),0)))),u5=lM(Yx(i5,W(A(w5,1),WU,64,0,[]))),a5=lM(Yx(r5,W(A(w5,1),WU,64,0,[]))),v5=lM(Yx(x5,W(A(w5,1),WU,64,0,[]))),b5=lM(Yx(C5,W(A(w5,1),WU,64,0,[]))),h5=lM(Yx(i5,W(A(w5,1),WU,64,0,[x5]))),c5=lM(Yx(r5,W(A(w5,1),WU,64,0,[C5]))),_5=lM(Yx(i5,W(A(w5,1),WU,64,0,[C5]))),d5=lM(Yx(i5,W(A(w5,1),WU,64,0,[r5]))),y5=lM(Yx(x5,W(A(w5,1),WU,64,0,[C5]))),o5=lM(Yx(r5,W(A(w5,1),WU,64,0,[x5]))),m5=lM(Yx(i5,W(A(w5,1),WU,64,0,[r5,C5]))),s5=lM(Yx(r5,W(A(w5,1),WU,64,0,[x5,C5]))),g5=lM(Yx(i5,W(A(w5,1),WU,64,0,[x5,C5]))),f5=lM(Yx(i5,W(A(w5,1),WU,64,0,[r5,x5]))),p5=lM(Yx(i5,W(A(w5,1),WU,64,0,[r5,x5,C5])))}function rdt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;for(t.Ug(vht,1),h=new Zd,S=new Zd,l=new D(e.b);l.a0&&(x-=h),kct(s,x),f=0,m=new D(s.a);m.a0),c.a.Xb(c.c=--c.b)),l=.4*i*f,!o&&c.b0&&(c=(CT(0,t.length),t.charCodeAt(0)),c!=64)){if(c==37&&(d=t.lastIndexOf(`%`),l=!1,d!=0&&(d==f-1||(l=(CT(d+1,t.length),t.charCodeAt(d+1)==46))))){if(o=(pD(1,d,t.length),t.substr(1,d-1)),y=Db(`%`,o)?null:vdt(o),r=0,l)try{r=AR((CT(d+2,t.length+1),t.substr(d+2)),$B,dB)}catch(e){throw e=qA(e),N(e,130)?(s=e,O(new WD(s))):O(e)}for(g=qVe(e.Gh());g.Ob();)if(m=kA(g),N(m,519)&&(i=F(m,598),v=i.d,(y==null?v==null:Db(y,v))&&r--==0))return i;return null}if(u=t.lastIndexOf(`.`),p=u==-1?t:(pD(0,u,t.length),t.substr(0,u)),n=0,u!=-1)try{n=AR((CT(u+1,t.length+1),t.substr(u+1)),$B,dB)}catch(e){if(e=qA(e),N(e,130))p=t;else throw O(e)}for(p=Db(`%`,p)?null:vdt(p),h=qVe(e.Gh());h.Ob();)if(m=kA(h),N(m,197)&&(a=F(m,197),_=a.xe(),(p==null?_==null:Db(p,_))&&n--==0))return a;return null}return Zlt(e,t)}function pdt(e){var t,n,r,i,a,o,s,c,l,u=new Xd,f,p,m,h,g,_,v,y;for(c=new Pw,r=new D(e.a.a.b);r.at.d.c){if(m=e.c[t.a.d],_=e.c[f.a.d],m==_)continue;qL(Dh(Eh(Oh(Th(new qf,1),100),m),_))}}}}}function mdt(e,t){var n,i,a,o,s,c,l,u,d,f,p=F(F(UE(e.r,t),21),87),m,h,g,_,v,y,b,x,S,ee;if(t==(Vz(),r5)||t==C5){Hut(e,t);return}for(o=t==i5?(zA(),nX):(zA(),aX),x=t==i5?(iO(),$Y):(iO(),ZY),n=F(zC(e.b,t),127),i=n.i,a=i.c+AO(W(A(Z9,1),KV,28,15,[n.n.b,e.C.b,e.k])),v=i.c+i.b-AO(W(A(Z9,1),KV,28,15,[n.n.c,e.C.c,e.k])),s=Dle(gxe(o),e.t),y=t==i5?BV:zV,f=p.Kc();f.Ob();)u=F(f.Pb(),117),!(!u.c||u.c.d.c.length<=0)&&(_=u.b.Mf(),g=u.e,m=u.c,h=m.i,h.b=(l=m.n,m.e.a+l.b+l.c),h.a=(c=m.n,m.e.b+c.d+c.a),Ew(x,_mt),m.f=x,_D(m,(FD(),XY)),h.c=g.a-(h.b-_.a)/2,S=r.Math.min(a,g.a),ee=r.Math.max(v,g.a+_.a),h.cee&&(h.c=ee-h.b),ey(s.d,new Zx(h,_qe(s,h))),y=t==i5?r.Math.max(y,g.b+u.b.Mf().b):r.Math.min(y,g.b));for(y+=t==i5?e.t:-e.t,b=JJe((s.e=y,s)),b>0&&(F(zC(e.b,t),127).a.b=b),d=p.Kc();d.Ob();)u=F(d.Pb(),117),!(!u.c||u.c.d.c.length<=0)&&(h=u.c.i,h.c-=u.e.a,h.d-=u.e.b)}function hdt(e){var t=new Xd,n,r,i,a,o,s,c,l,u,f,p,m;for(c=new cy(e);c.e!=c.i.gc();){for(s=F(hP(c),27),n=new Vf,PC(xX,s,n),m=new Ot,i=F(xE(new jx(null,new ZS(new dS(fy(DL(s).a.Kc(),new d)))),mTe(m,bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)])))),85),ZBe(n,F(i.xc((Oy(),!0)),16),new kt),r=F(xE(qC(F(i.xc(!1),15).Lc(),new At),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[MY]))),15),o=r.Kc();o.Ob();)a=F(o.Pb(),74),p=o4e(a),p&&(l=F(z_(Wx(t.f,p)),21),l||(l=Mtt(p),HI(t.f,p,l)),Xk(n,l));for(i=F(xE(new jx(null,new ZS(new dS(fy(OL(s).a.Kc(),new d)))),mTe(m,bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[MY])))),85),ZBe(n,F(i.xc(!0),16),new oee),r=F(xE(qC(F(i.xc(!1),15).Lc(),new jt),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[MY]))),15),f=r.Kc();f.Ob();)u=F(f.Pb(),74),p=s4e(u),p&&(l=F(z_(Wx(t.f,p)),21),l||(l=Mtt(p),HI(t.f,p,l)),Xk(n,l))}}function gdt(e,t){lz();var n,r,i,a,o,s,c=iM(e,0)<0,l,u,d,f,p,m,h;if(c&&(e=BD(e)),iM(e,0)==0)switch(t){case 0:return`0`;case 1:return YV;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 p=new um,t<0?p.a+=`0E+`:p.a+=`0E`,p.a+=t==$B?`2147483648`:``+-t,p.a}u=18,d=H(K9,iV,28,u+1,15,1),n=u,h=e;do l=h,h=IF(h,10),d[--n]=eS(GM(48,qM(l,KM(h,10))))&oV;while(iM(h,0)!=0);if(i=qM(qM(qM(u,n),t),1),t==0)return c&&(d[--n]=45),zN(d,n,u-n);if(t>0&&iM(i,-6)>=0){if(iM(i,0)>=0){for(a=n+eS(i),s=u-1;s>=a;s--)d[s+1]=d[s];return d[++a]=46,c&&(d[--n]=45),zN(d,n,u-n+1)}for(o=2;eg(o,GM(BD(i),1));o++)d[--n]=48;return d[--n]=46,d[--n]=48,c&&(d[--n]=45),zN(d,n,u-n)}return m=n+1,r=u,f=new dm,c&&(f.a+=`-`),r-m>=1?(yC(f,d[n]),f.a+=`.`,f.a+=zN(d,n+1,u-n-1)):f.a+=zN(d,n,u-n),f.a+=`E`,iM(i,0)>0&&(f.a+=`+`),f.a+=``+vS(i),f.a}function Hz(e,t,n,i,a){var o,s,c,l,u,d,f,p,m,h,g,_=new j(e.g,e.f),v,y,b,x,S,ee;if(g=r6e(e),g.a=r.Math.max(g.a,t),g.b=r.Math.max(g.b,n),ee=g.a/_.a,d=g.b/_.b,x=g.a-_.a,l=g.b-_.b,i)for(s=$w(e)?F(J($w(e),(eB(),b6)),88):F(J(e,(eB(),b6)),88),c=M(J(e,(eB(),U6)))===M((YF(),G8)),y=new cy((!e.c&&(e.c=new I(s7,e,9,9)),e.c));y.e!=y.i.gc();)switch(v=F(hP(y),123),b=F(J(v,q6),64),b==(Vz(),S5)&&(b=aot(v,s),EP(v,q6,b)),b.g){case 1:c||JO(v,v.i*ee);break;case 2:JO(v,v.i+x),c||YO(v,v.j*d);break;case 3:c||JO(v,v.i*ee),YO(v,v.j+l);break;case 4:c||YO(v,v.j*d)}if(Cv(e,g.a,g.b),a)for(p=new cy((!e.n&&(e.n=new I(a7,e,1,7)),e.n));p.e!=p.i.gc();)f=F(hP(p),135),m=f.i+f.g/2,h=f.j+f.f/2,S=m/_.a,u=h/_.b,S+u>=1&&(S-u>0&&h>=0?(JO(f,f.i+x),YO(f,f.j+l*u)):S-u<0&&m>=0&&(JO(f,f.i+x*S),YO(f,f.j+l)));return EP(e,(eB(),j6),(PN(),o=F(zm(k5),9),new Fb(o,F(vb(o,o.length),9),0))),new j(ee,d)}function _dt(e){Vh(e,new QF(ym(Sm(vm(xm(bm(new $a,ZG),`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 yne),ZG))),V(e,ZG,mG,mP(sIt)),V(e,ZG,gU,mP(dIt)),V(e,ZG,EU,mP(tIt)),V(e,ZG,FU,mP(nIt)),V(e,ZG,TU,mP(rIt)),V(e,ZG,DU,mP(eIt)),V(e,ZG,CU,mP(iIt)),V(e,ZG,OU,mP(oIt)),V(e,ZG,JG,mP(I4)),V(e,ZG,qG,mP(L4)),V(e,ZG,KG,mP(cIt)),V(e,ZG,YG,mP(B4)),V(e,ZG,XG,mP(lIt)),V(e,ZG,N_t,mP(uIt)),V(e,ZG,M_t,mP(aIt)),V(e,ZG,O_t,mP(R4)),V(e,ZG,k_t,mP(z4)),V(e,ZG,A_t,mP(V4)),V(e,ZG,j_t,mP(fIt)),V(e,ZG,D_t,mP($Ft))}function Uz(e){var t,n,r,i,a,o,s,c,l,u,d;if(e==null)throw O(new fm(_B));if(l=e,a=e.length,c=!1,a>0&&(t=(CT(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(CT(1,e.length+1),e.substr(1)),--a,c=t==45)),a==0)throw O(new fm(RV+l+`"`));for(;e.length>0&&(CT(0,e.length),e.charCodeAt(0)==48);)e=(CT(1,e.length+1),e.substr(1)),--a;if(a>(Iat(),hSt)[10])throw O(new fm(RV+l+`"`));for(i=0;i0&&(d=-parseInt((pD(0,r,e.length),e.substr(0,r)),10),e=(CT(r,e.length+1),e.substr(r)),a-=r,n=!1);a>=o;){if(r=parseInt((pD(0,o,e.length),e.substr(0,o)),10),e=(CT(o,e.length+1),e.substr(o)),a-=o,n)n=!1;else{if(iM(d,s)<0)throw O(new fm(RV+l+`"`));d=KM(d,u)}d=qM(d,r)}if(iM(d,0)>0||!c&&(d=BD(d),iM(d,0)<0))throw O(new fm(RV+l+`"`));return d}function vdt(e){vz();var t,n,r,i,a,o,s,c;if(e==null)return null;if(i=cv(e,oI(37)),i<0)return e;for(c=new gy((pD(0,i,e.length),e.substr(0,i))),t=H(X9,GK,28,4,15,1),s=0,r=0,o=e.length;ii+2&&cj((CT(i+1,e.length),e.charCodeAt(i+1)),EVt,DVt)&&cj((CT(i+2,e.length),e.charCodeAt(i+2)),EVt,DVt))if(n=BCe((CT(i+1,e.length),e.charCodeAt(i+1)),(CT(i+2,e.length),e.charCodeAt(i+2))),i+=2,r>0?(n&192)==128?t[s++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(t[s++]=n<<24>>24,r=2):(n&240)==224?(t[s++]=n<<24>>24,r=3):(n&248)==240&&(t[s++]=n<<24>>24,r=4)),r>0){if(s==r){switch(s){case 2:yC(c,((t[0]&31)<<6|t[1]&63)&oV);break;case 3:yC(c,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&oV);break}s=0,r=0}}else{for(a=0;a=2){if((!e.a&&(e.a=new I(Z5,e,6,6)),e.a).i==0)n=(Lm(),a=new Po,a),gD((!e.a&&(e.a=new I(Z5,e,6,6)),e.a),n);else if((!e.a&&(e.a=new I(Z5,e,6,6)),e.a).i>1)for(p=new Ny((!e.a&&(e.a=new I(Z5,e,6,6)),e.a));p.e!=p.i.gc();)VF(p);qR(t,F(U((!e.a&&(e.a=new I(Z5,e,6,6)),e.a),0),166))}if(f)for(i=new cy((!e.a&&(e.a=new I(Z5,e,6,6)),e.a));i.e!=i.i.gc();)for(n=F(hP(i),166),u=new cy((!n.a&&(n.a=new ny(K5,n,5)),n.a));u.e!=u.i.gc();)l=F(hP(u),377),c.a=r.Math.max(c.a,l.a),c.b=r.Math.max(c.b,l.b);for(s=new cy((!e.n&&(e.n=new I(a7,e,1,7)),e.n));s.e!=s.i.gc();)o=F(hP(s),135),d=F(J(o,S8),8),d&&wv(o,d.a,d.b),f&&(c.a=r.Math.max(c.a,o.i+o.g),c.b=r.Math.max(c.b,o.j+o.f));return c}function bdt(e,t,n,r,i){var a,o,s;if(cze(e,t),o=t[0],a=KC(n.c,0),s=-1,VWe(n))if(r>0){if(o+r>e.length)return!1;s=tL((pD(0,o+r,e.length),e.substr(0,o+r)),t)}else s=tL(e,t);switch(a){case 71:return s=kI(e,o,W(A(lY,1),X,2,6,[Ept,Dpt]),t),i.e=s,!0;case 77:return cnt(e,t,i,s,o);case 76:return lnt(e,t,i,s,o);case 69:return u6e(e,t,o,i);case 99:return d6e(e,t,o,i);case 97:return s=kI(e,o,W(A(lY,1),X,2,6,[`AM`,`PM`]),t),i.b=s,!0;case 121:return unt(e,t,o,s,n,i);case 100:return s<=0?!1:(i.c=s,!0);case 83:return s<0?!1:GJe(s,o,t[0],i);case 104:s==12&&(s=0);case 75:case 72:return s<0?!1:(i.f=s,i.g=!1,!0);case 107:return s<0?!1:(i.f=s,i.g=!0,!0);case 109:return s<0?!1:(i.j=s,!0);case 115:return s<0?!1:(i.n=s,!0);case 90:if(one[l]&&(_=l),f=new D(e.a.b);f.a1;){if(a=bet(t),f=o.g,h=F(J(t,d3),107),g=k(P(J(t,o3))),(!t.a&&(t.a=new I(o7,t,10,11)),t.a).i>1&&k(P(J(t,(lR(),t3))))!=zV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))1&&k(P(J(t,(lR(),e3))))!=zV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))>g&&EP(a,(lR(),i3),r.Math.max(k(P(J(t,n3))),k(P(J(a,i3)))-k(P(J(t,e3))))),m=new Dpe(i,d),l=kft(m,a,p),u=l.g,u>=f&&u==u){for(s=0;s<(!a.a&&(a.a=new I(o7,a,10,11)),a.a).i;s++)T8e(e,F(U((!a.a&&(a.a=new I(o7,a,10,11)),a.a),s),27),F(U((!t.a&&(t.a=new I(o7,t,10,11)),t.a),s),27));oBe(t,m),hAe(o,l.c),mAe(o,l.b)}--c}EP(t,(lR(),Z4),o.b),EP(t,Q4,o.c),n.Vg()}function wdt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;for(t.Ug(`Interactive node layering`,1),n=new Zd,p=new D(e.a);p.a=c){nb(y.b>0),y.a.Xb(y.c=--y.b);break}else _.a>l&&(i?(YA(i.b,_.b),i.a=r.Math.max(i.a,_.a),bC(y)):(ey(_.b,d),_.c=r.Math.min(_.c,l),_.a=r.Math.max(_.a,c),i=_));i||(i=new Use,i.c=l,i.a=c,gb(y,i),ey(i.b,d))}for(s=e.b,u=0,v=new D(n);v.am&&(o&&(tv(ee,p),tv(ne,dM(u.b-1))),oe=n.b,se+=p+t,p=0,d=r.Math.max(d,n.b+n.c+ae)),JO(c,oe),YO(c,se),d=r.Math.max(d,oe+ae+n.c),p=r.Math.max(p,f),oe+=ae+t;if(d=r.Math.max(d,i),ie=se+p+n.a,ieuU,C=r.Math.abs(p.b-h.b)>uU,(!n&&ne&&C||n&&(ne||C))&&gx(_.a,x)),Xk(_.a,i),p=i.b==0?x:(nb(i.b!=0),F(i.c.b.c,8)),jUe(m,f,g),EHe(a)==te&&(TC(te.i)!=a.a&&(g=new Im,V3e(g,TC(te.i),y)),G(_,Q$,g)),K4e(m,_,y),d.a.zc(m,d);aT(_,S),cT(_,te)}for(u=d.a.ec().Kc();u.Ob();)l=F(u.Pb(),18),aT(l,null),cT(l,null);t.Vg()}function Ddt(e,t){var n,r,i=F(K(e,(HR(),h4)),88),a,o,s,c,l,u=i==(AM(),c8)||i==l8?s8:l8,d,f;for(n=F(xE(qC(new jx(null,new wT(e.b,16)),new ia),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15),c=F(xE(JC(n.Oc(),new Goe(t)),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[MY]))),15),c.Gc(F(xE(JC(n.Oc(),new Koe(t)),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[MY]))),16)),c.jd(new qoe(u)),f=new Km(new od(i)),r=new Xd,s=c.Kc();s.Ob();)o=F(s.Pb(),240),l=F(o.a,40),Bp($y(o.c))?(f.a.zc(l,(Oy(),QJ)),new $l(f.a.Zc(l,!1)).a.gc()>0&&PC(r,l,F(new $l(f.a.Zc(l,!1)).a.Vc(),40)),new $l(f.a.ad(l,!0)).a.gc()>1&&PC(r,nYe(f,l),l)):(new $l(f.a.Zc(l,!1)).a.gc()>0&&(a=F(new $l(f.a.Zc(l,!1)).a.Vc(),40),M(a)===M(z_(Wx(r.f,l)))&&F(K(l,(Bz(),X2)),15).Fc(a)),new $l(f.a.ad(l,!0)).a.gc()>1&&(d=nYe(f,l),M(z_(Wx(r.f,d)))===M(l)&&F(K(d,(Bz(),X2)),15).Fc(l)),f.a.Bc(l))}function Odt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;if(e.gc()==1)return F(e.Xb(0),235);if(e.gc()<=0)return new XE;for(a=e.Kc();a.Ob();){for(n=F(a.Pb(),235),h=0,d=dB,f=dB,l=$B,u=$B,m=new D(n.e);m.ac&&(b=0,x+=s+v,s=0),Nit(g,n,b,x),t=r.Math.max(t,b+_.a),s=r.Math.max(s,_.b),b+=_.a+v;return g}function kdt(e){tot();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null||(a=eO(e),m=jqe(a),m%4!=0))return null;if(h=m/4|0,h==0)return H(X9,GK,28,0,15,1);for(d=null,t=0,n=0,r=0,i=0,o=0,s=0,c=0,l=0,p=0,f=0,u=0,d=H(X9,GK,28,h*3,15,1);p>4)<<24>>24,d[f++]=((n&15)<<4|r>>2&15)<<24>>24,d[f++]=(r<<6|i)<<24>>24}return!$m(o=a[u++])||!$m(s=a[u++])?null:(t=A9[o],n=A9[s],c=a[u++],l=a[u++],A9[c]==-1||A9[l]==-1?c==61&&l==61?n&15?null:(g=H(X9,GK,28,p*3+1,15,1),BR(d,0,g,0,p*3),g[f]=(t<<2|n>>4)<<24>>24,g):c!=61&&l==61?(r=A9[c],r&3?null:(g=H(X9,GK,28,p*3+2,15,1),BR(d,0,g,0,p*3),g[f++]=(t<<2|n>>4)<<24>>24,g[f]=((n&15)<<4|r>>2&15)<<24>>24,g)):null:(r=A9[c],i=A9[l],d[f++]=(t<<2|n>>4)<<24>>24,d[f++]=((n&15)<<4|r>>2&15)<<24>>24,d[f++]=(r<<6|i)<<24>>24,d))}function Adt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;for(t.Ug(vht,1),m=F(K(e,(Zz(),k1)),223),i=new D(e.b);i.a=2){for(h=!0,f=new D(a.j),n=F(B(f),12),p=null;f.a0)if(i=f.gc(),u=Bw(r.Math.floor((i+1)/2))-1,a=Bw(r.Math.ceil((i+1)/2))-1,t.o==N2)for(d=a;d>=u;d--)t.a[x.p]==x&&(g=F(f.Xb(d),42),h=F(g.a,10),!dh(n,g.b)&&m>e.b.e[h.p]&&(t.a[h.p]=x,t.g[x.p]=t.g[h.p],t.a[x.p]=t.g[x.p],t.f[t.g[x.p].p]=(Oy(),!!(Bp(t.f[t.g[x.p].p])&x.k==(yI(),cZ))),m=e.b.e[h.p]));else for(d=u;d<=a;d++)t.a[x.p]==x&&(v=F(f.Xb(d),42),_=F(v.a,10),!dh(n,v.b)&&m0&&(a=F(Ox(_.c.a,ee-1),10),s=e.i[a.p],ne=r.Math.ceil(Uv(e.n,a,_)),o=S.a.e-_.d.d-(s.a.e+a.o.b+a.d.a)-ne),u=zV,ee<_.c.a.c.length-1&&(l=F(Ox(_.c.a,ee+1),10),d=e.i[l.p],ne=r.Math.ceil(Uv(e.n,l,_)),u=d.a.e-l.d.d-(S.a.e+_.o.b+_.d.a)-ne),n&&(Pv(),hk(SG),r.Math.abs(o-u)<=SG||o==u||isNaN(o)&&isNaN(u))?!0:(i=JS(b.a),c=-JS(b.b),f=-JS(te.a),y=JS(te.b),g=b.a.e.e-b.a.a-(b.b.e.e-b.b.a)>0&&te.a.e.e-te.a.a-(te.b.e.e-te.b.a)<0,h=b.a.e.e-b.a.a-(b.b.e.e-b.b.a)<0&&te.a.e.e-te.a.a-(te.b.e.e-te.b.a)>0,m=b.a.e.e+b.b.ate.b.e.e+te.a.a,x=0,!g&&!h&&(p?o+f>0?x=f:u-i>0&&(x=i):m&&(o+c>0?x=c:u-y>0&&(x=y))),S.a.e+=x,S.b&&(S.d.e+=x),!1))}function Ndt(e,t,n){var i=new $C(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),a=new hv,o,s,c,l,u,d,f,p;if(e.c)for(s=new D(t.Rf());s.al&&(r.a+=vge(H(K9,iV,28,-l,15,1))),r.a+=`Is`,cv(c,oI(32))>=0)for(i=0;i=r.o.b/2}else v=!d;v?(_=F(K(r,(Y(),$$)),15),_?f?a=_:(i=F(K(r,c$),15),i?a=_.gc()<=i.gc()?_:i:(a=new Zd,G(r,c$,a))):(a=new Zd,G(r,$$,a))):(i=F(K(r,(Y(),c$)),15),i?d?a=i:(_=F(K(r,$$),15),_?a=i.gc()<=_.gc()?i:_:(a=new Zd,G(r,$$,a))):(a=new Zd,G(r,c$,a))),a.Fc(e),G(e,(Y(),u$),n),t.d==n?(cT(t,null),n.e.c.length+n.g.c.length==0&&sT(n,null),cGe(n)):(aT(t,null),n.e.c.length+n.g.c.length==0&&sT(n,null)),aw(t.a)}function zdt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se;for(n.Ug(`MinWidth layering`,1),m=t.b,te=t.a,se=F(K(t,(Zz(),Ijt)),17).a,c=F(K(t,Ljt),17).a,e.b=k(P(K(t,h0))),e.d=zV,x=new D(te);x.a0?(u=0,_&&(u+=c),u+=(C-1)*s,b&&(u+=c),ne&&b&&(u=r.Math.max(u,ntt(b,s,y,te))),u=e.a&&(i=Wot(e,b),f=r.Math.max(f,i.b),S=r.Math.max(S,i.d),ey(c,new N_(b,i)));for(C=new Zd,u=0;u0),v.a.Xb(v.c=--v.b),re=new mC(e.b),gb(v,re),nb(v.b0){for(f=u<100?null:new Fm(u),l=new BHe(t),m=l.g,_=H(q9,bV,28,u,15,1),r=0,b=new PO(u),i=0;i=0;)if(p==null?M(p)===M(m[c]):xM(p,m[c])){_.length<=r&&(g=_,_=H(q9,bV,28,2*_.length,15,1),BR(g,0,_,0,r)),_[r++]=i,gD(b,m[c]);break v}if(p=p,M(p)===M(s))break}}if(l=b,m=b.g,u=r,r>_.length&&(g=_,_=H(q9,bV,28,r,15,1),BR(g,0,_,0,r)),r>0){for(y=!0,a=0;a=0;)yF(e,_[o]);if(r!=u){for(i=u;--i>=r;)yF(l,i);g=_,_=H(q9,bV,28,r,15,1),BR(g,0,_,0,r)}t=l}}}else for(t=ZQe(e,t),i=e.i;--i>=0;)t.Hc(e.g[i])&&(yF(e,i),y=!0);if(y){if(_!=null){for(n=t.gc(),d=n==1?rT(e,4,t.Kc().Pb(),null,_[0],h):rT(e,6,t,_,_[0],h),f=n<100?null:new Fm(n),i=t.Kc();i.Ob();)p=i.Pb(),f=Nbe(e,F(p,76),f);f?(f.nj(d),f.oj()):CA(e.e,d)}else{for(f=Hye(t.gc()),i=t.Kc();i.Ob();)p=i.Pb(),f=Nbe(e,F(p,76),f);f&&f.oj()}return!0}else return!1}function Udt(e,t){var n=new yZe(t),r,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b;for(n.a||Xit(t),l=irt(t),c=new Pw,_=new Ytt,g=new D(t.a);g.a0||n.o==N2&&a=n}function Kdt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=t,b,x,S,ee,te,ne,C,re,ie;for(v=new Pw,b=new Pw,u=JT(y,hyt),r=new zOe(e,n,v,b),s3e(r.a,r.b,r.c,r.d,u),c=(ee=v.i,ee||(v.i=new uy(v,v.c))),ne=c.Kc();ne.Ob();)for(te=F(ne.Pb(),166),i=F(UE(v,te),21),h=i.Kc();h.Ob();)if(m=h.Pb(),x=F(UO(e.d,m),166),x)s=(!te.e&&(te.e=new Tb(Z5,te,10,9)),te.e),gD(s,x);else throw o=ZT(y,iq),f=wyt+m+Tyt+o,p=f+oq,O(new Qp(p));for(l=(S=b.i,S||(b.i=new uy(b,b.c))),re=l.Kc();re.Ob();)for(C=F(re.Pb(),166),a=F(UE(b,C),21),_=a.Kc();_.Ob();)if(g=_.Pb(),x=F(UO(e.d,g),166),x)d=(!C.g&&(C.g=new Tb(Z5,C,9,10)),C.g),gD(d,x);else throw o=ZT(y,iq),f=wyt+g+Tyt+o,p=f+oq,O(new Qp(p));!n.b&&(n.b=new Tb(Y5,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new Tb(Y5,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new Tb(Y5,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new Tb(Y5,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new I(Z5,n,6,6)),n.a).i==1&&(ie=F(U((!n.a&&(n.a=new I(Z5,n,6,6)),n.a),0),166),!BP(ie)&&!VP(ie)&&(Ok(ie,F(U((!n.b&&(n.b=new Tb(Y5,n,4,7)),n.b),0),84)),kk(ie,F(U((!n.c&&(n.c=new Tb(Y5,n,5,8)),n.c),0),84))))}function qdt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re;for(b=e.a,x=0,S=b.length;x0?(f=F(Ox(p.c.a,s-1),10),ne=Uv(e.b,p,f),_=p.n.b-p.d.d-(f.n.b+f.o.b+f.d.a+ne)):_=p.n.b-p.d.d,u=r.Math.min(_,u),s1&&(s=r.Math.min(s,r.Math.abs(F(xP(c.a,1),8).b-d.b)))));else for(g=new D(t.j);g.aa&&(o=p.a-a,s=dB,i.c.length=0,a=p.a),p.a>=a&&(df(i.c,c),c.a.b>1&&(s=r.Math.min(s,r.Math.abs(F(xP(c.a,c.a.b-2),8).b-p.b)))));if(i.c.length!=0&&o>t.o.a/2&&s>t.o.b/2){for(m=new CI,sT(m,t),qI(m,(Vz(),i5)),m.n.a=t.o.a/2,v=new CI,sT(v,t),qI(v,x5),v.n.a=t.o.a/2,v.n.b=t.o.b,l=new D(i);l.a=u.b?aT(c,v):aT(c,m)):(u=F(vCe(c.a),8),_=c.a.b==0?yT(c.c):F(Uy(c.a),8),_.b>=u.b?cT(c,v):cT(c,m)),f=F(K(c,(Zz(),R1)),75),f&&gN(f,u,!0);t.n.a=a-t.o.a/2}}function Ydt(e,t,n){var i,a,o,s,c,l,u,d,f,p;for(c=uP(e.b,0);c.b!=c.d.c;)if(s=F($T(c),40),!Db(s.c,NG))for(u=w7e(s,e),t==(AM(),c8)||t==l8?zv(u,new xa):zv(u,new Sa),l=u.c.length,i=0;i=0?dN(s):MM(dN(s)),e.qf(c0,p)),l=new Im,f=!1,e.pf(r0)?(dve(l,F(e.of(r0),8)),f=!0):Rge(l,o.a/2,o.b/2),p.g){case 4:G(u,z1,(mN(),t1)),G(u,p$,(uj(),MQ)),u.o.b=o.b,h<0&&(u.o.a=-h),qI(d,(Vz(),r5)),f||(l.a=o.a),l.a-=o.a;break;case 2:G(u,z1,(mN(),r1)),G(u,p$,(uj(),AQ)),u.o.b=o.b,h<0&&(u.o.a=-h),qI(d,(Vz(),C5)),f||(l.a=0);break;case 1:G(u,T$,(aO(),o$)),u.o.a=o.a,h<0&&(u.o.b=-h),qI(d,(Vz(),x5)),f||(l.b=o.b),l.b-=o.b;break;case 3:G(u,T$,(aO(),i$)),u.o.a=o.a,h<0&&(u.o.b=-h),qI(d,(Vz(),i5)),f||(l.b=0)}if(dve(d.n,l),G(u,r0,l),t==W8||t==K8||t==G8){if(m=0,t==W8&&e.pf(o0))switch(p.g){case 1:case 2:m=F(e.of(o0),17).a;break;case 3:case 4:m=-F(e.of(o0),17).a}else switch(p.g){case 4:case 2:m=a.b,t==K8&&(m/=i.b);break;case 1:case 3:m=a.a,t==K8&&(m/=i.a)}G(u,B$,m)}return G(u,y$,p),u}function Xdt(){nue();function e(e){var t=this;this.dispatch=function(t){var n=t.data;switch(n.cmd){case`algorithms`:var r=qJe((lw(),new Bl(new Fl(S7.b))));e.postMessage({id:n.id,data:r});break;case`categories`:var i=qJe((lw(),new Bl(new Fl(S7.c))));e.postMessage({id:n.id,data:i});break;case`options`:var a=qJe((lw(),new Bl(new Fl(S7.d))));e.postMessage({id:n.id,data:a});break;case`register`:alt(n.algorithms),e.postMessage({id:n.id});break;case`layout`:$ot(n.graph,n.layoutOptions||{},n.options||{}),e.postMessage({id:n.id,data:n.graph});break}},this.saveDispatch=function(n){try{t.dispatch(n)}catch(t){e.postMessage({id:n.data.id,error:t})}}}function r(t){var n=this;this.dispatcher=new e({postMessage:function(e){n.onmessage({data:e})}}),this.postMessage=function(e){setTimeout(function(){n.dispatcher.saveDispatch({data:e})},0)}}if(typeof document===uH&&typeof self!==uH){var i=new e(self);self.onmessage=i.saveDispatch}else typeof t!==uH&&t.exports&&(Object.defineProperty(n,`__esModule`,{value:!0}),t.exports={default:r,Worker:r})}function Zdt(e,t,n){var r,i,a,o,s,c,l,u=new GP(n),d,f;for(PA(u,t),G(u,(Y(),I$),t),u.o.a=t.g,u.o.b=t.f,u.n.a=t.i,u.n.b=t.j,ey(n.a,u),PC(e.a,t,u),((!t.a&&(t.a=new I(o7,t,10,11)),t.a).i!=0||Bp($y(J(t,(Zz(),I1)))))&&G(u,SOt,(Oy(),!0)),l=F(K(n,x$),21),d=F(K(u,(Zz(),a0)),101),d==(YF(),Y8)?G(u,a0,J8):d!=J8&&l.Fc((nR(),YQ)),f=0,r=F(K(n,w1),88),c=new cy((!t.c&&(t.c=new I(s7,t,9,9)),t.c));c.e!=c.i.gc();)s=F(hP(c),123),i=$w(t),(M(J(i,h1))!==M((VN(),i2))||M(J(i,C1))===M((BN(),OQ))||M(J(i,C1))===M((BN(),EQ))||Bp($y(J(i,_1)))||M(J(i,d1))!==M((ZN(),tZ))||M(J(i,V1))===M((bR(),Q0))||M(J(i,V1))===M((bR(),$0))||M(J(i,H1))===M((UL(),I0))||M(J(i,H1))===M((UL(),R0)))&&!Bp($y(J(t,p1)))&&EP(s,F$,dM(f++)),Bp($y(J(s,t0)))||Rut(e,s,u,l,r,d);for(o=new cy((!t.n&&(t.n=new I(a7,t,1,7)),t.n));o.e!=o.i.gc();)a=F(hP(o),135),!Bp($y(J(a,t0)))&&a.a&&ey(u.b,nM(a));return Bp($y(K(u,c1)))&&l.Fc((nR(),WQ)),Bp($y(K(u,F1)))&&(l.Fc((nR(),JQ)),l.Fc(qQ),G(u,a0,J8)),u}function Kz(e,t,n,i,a,o,s){var c,l,u,d,f,p,m,h,g=0,_,v,y,b,x,S,ee,te,ne,C,re=0,ie,ae,oe,se;for(u=new D(e.b);u.ag&&(o&&(tv(ee,m),tv(ne,dM(d.b-1)),ey(e.d,h),c.c.length=0),oe=n.b,se+=m+t,m=0,f=r.Math.max(f,n.b+n.c+ae)),df(c.c,l),JXe(l,oe,se),f=r.Math.max(f,oe+ae+n.c),m=r.Math.max(m,p),oe+=ae+t,h=l;if(YA(e.a,c),ey(e.d,F(Ox(c,c.c.length-1),163)),f=r.Math.max(f,i),ie=se+m+n.a,iei.d.d+i.d.a?u.f.d=!0:(u.f.d=!0,u.f.a=!0))),r.b!=r.d.c&&(t=n);u&&(a=F(dC(e.f,o.d.i),60),t.ba.d.d+a.d.a?u.f.d=!0:(u.f.d=!0,u.f.a=!0))}for(s=new dS(fy($M(m).a.Kc(),new d));hL(s);)o=F(IE(s),18),o.a.b!=0&&(t=F(Uy(o.a),8),o.d.j==(Vz(),i5)&&(_=new $R(t,new j(t.a,i.d.d),i,o),_.f.a=!0,_.a=o.d,df(g.c,_)),o.d.j==x5&&(_=new $R(t,new j(t.a,i.d.d+i.d.a),i,o),_.f.d=!0,_.a=o.d,df(g.c,_)))}return g}function rft(e,t,n){var r,i,a,o,s,c=new Zd,l,u,d=t.length,f;for(o=NWe(n),l=0;l=m&&(v>m&&(p.c.length=0,m=v),df(p.c,o));p.c.length!=0&&(f=F(Ox(p,IP(t,p.c.length)),131),re.a.Bc(f),f.s=h++,E9e(f,ne,S),p.c.length=0)}for(b=e.c.length+1,s=new D(e);s.aC.s&&(bC(n),zD(C.i,r),r.c>0&&(r.a=C,ey(C.t,r),r.b=ee,ey(ee.i,r)))}function oft(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h=new iD(t.b),g,_,v,y,b=new iD(t.b),x,S,ee,te,ne,C,re;for(f=new iD(t.b),te=new iD(t.b),g=new iD(t.b),ee=uP(t,0);ee.b!=ee.d.c;)for(x=F($T(ee),12),s=new D(x.g);s.a0,_=x.g.c.length>0,l&&_?df(f.c,x):l?df(h.c,x):_&&df(b.c,x);for(m=new D(h);m.ay.nh()-u.b&&(p=y.nh()-u.b),m>y.oh()-u.d&&(m=y.oh()-u.d),d0){for(x=uP(e.f,0);x.b!=x.d.c;)b=F($T(x),10),b.p+=m-e.e;H3e(e),aw(e.f),Ont(e,i,h)}else{for(gx(e.f,h),h.p=i,e.e=r.Math.max(e.e,i),o=new dS(fy($M(h).a.Kc(),new d));hL(o);)a=F(IE(o),18),!a.c.i.c&&a.c.i.k==(yI(),sZ)&&(gx(e.f,a.c.i),a.c.i.p=i-1);e.c=i}else H3e(e),aw(e.f),i=0,hL(new dS(fy($M(h).a.Kc(),new d)))?(m=0,m=oZe(m,h),i=m+2,Ont(e,i,h)):(gx(e.f,h),h.p=0,e.e=r.Math.max(e.e,0),e.b=F(Ox(e.d.b,0),30),e.c=0);for(e.f.b==0||H3e(e),e.d.a.c.length=0,y=new Zd,u=new D(e.d.b);u.a=48&&t<=57){for(r=t-48;i=48&&t<=57;)if(r=r*10+t-48,r<0)throw O(new em(oB((Iv(),ubt))))}else throw O(new em(oB((Iv(),obt))));if(n=r,t==44){if(i>=e.j)throw O(new em(oB((Iv(),cbt))));if((t=KC(e.i,i++))>=48&&t<=57){for(n=t-48;i=48&&t<=57;)if(n=n*10+t-48,n<0)throw O(new em(oB((Iv(),ubt))));if(r>n)throw O(new em(oB((Iv(),lbt))))}else n=-1}if(t!=125)throw O(new em(oB((Iv(),sbt))));e.bm(i)?(a=(nB(),nB(),++W9,new pE(9,a)),e.d=i+1):(a=(nB(),nB(),++W9,new pE(3,a)),e.d=i),a.Om(r),a.Nm(n),Qz(e)}}return a}function hft(e){var t,n=F(K(e,(Y(),x$)),21),r,i,a;switch(t=gv(BTt),i=F(K(e,(Zz(),P1)),346),i==(cM(),C8)&&xA(t,VTt),Bp($y(K(e,N1)))?Cx(t,(uI(),RX),(tB(),PZ)):Cx(t,(uI(),BX),(tB(),PZ)),K(e,(aD(),Q3))!=null&&xA(t,HTt),(Bp($y(K(e,Mjt)))||Bp($y(K(e,Ojt))))&&$x(t,(uI(),HX),(tB(),jEt)),F(K(e,w1),88).g){case 2:case 3:case 4:$x(Cx(t,(uI(),RX),(tB(),NEt)),HX,MEt)}switch(n.Hc((nR(),WQ))&&$x(Cx(Cx(t,(uI(),RX),(tB(),AEt)),VX,OEt),HX,kEt),M(K(e,V1))!==M((bR(),n2))&&Cx(t,(uI(),BX),(tB(),JEt)),n.Hc(ZQ)&&(Cx(t,(uI(),RX),(tB(),QEt)),Cx(t,zX,XEt),Cx(t,BX,ZEt)),M(K(e,u1))!==M((_I(),HQ))&&M(K(e,k1))!==M((XM(),_8))&&$x(t,(uI(),HX),(tB(),HEt)),Bp($y(K(e,Ajt)))&&Cx(t,(uI(),BX),(tB(),VEt)),Bp($y(K(e,x1)))&&Cx(t,(uI(),BX),(tB(),$Et)),Q9e(e)&&(r=M(K(e,P1))===M(C8)?F(K(e,v1),299):F(K(e,y1),299),a=r==(BA(),t$)?(tB(),YEt):(tB(),nDt),Cx(t,(uI(),VX),a)),F(K(e,_Mt),388).g){case 1:Cx(t,(uI(),VX),(tB(),eDt));break;case 2:$x(Cx(Cx(t,(uI(),BX),(tB(),wEt)),VX,TEt),HX,EEt)}return M(K(e,h1))!==M((VN(),i2))&&Cx(t,(uI(),BX),(tB(),tDt)),t}function gft(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;if(DS(e.a,t)){if(dh(F(dC(e.a,t),49),n))return 1}else PC(e.a,t,new Vf);if(DS(e.a,n)){if(dh(F(dC(e.a,n),49),t))return-1}else PC(e.a,n,new Vf);if(DS(e.e,t)){if(dh(F(dC(e.e,t),49),n))return-1}else PC(e.e,t,new Vf);if(DS(e.e,n)){if(dh(F(dC(e.a,n),49),t))return 1}else PC(e.e,n,new Vf);if(e.c==(VN(),a2)||!Wy(t,(Y(),F$))||!Wy(n,(Y(),F$))){for(d=null,l=new D(t.j);l.ao?gR(e,t,n):gR(e,n,t),io)}return r=F(K(t,(Y(),F$)),17).a,a=F(K(n,F$),17).a,r>a?gR(e,t,n):gR(e,n,t),ra)}function Jz(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n==null)return null;if(e.a!=t.jk())throw O(new Kp(HK+t.xe()+UK));if(N(t,469)){if(g=bnt(F(t,685),n),!g)throw O(new Kp(WK+n+`' is not a valid enumerator of '`+t.xe()+`'`));return g}switch(vM((FI(),f9),t).Nl()){case 2:n=dz(n,!1);break;case 3:n=dz(n,!0);break}if(r=vM(f9,t).Jl(),r)return r.jk().wi().ti(r,n);if(f=vM(f9,t).Ll(),f){for(g=new Zd,l=Nj(n),u=0,d=l.length;u1)for(h=new Ny((!e.a&&(e.a=new I(Z5,e,6,6)),e.a));h.e!=h.i.gc();)VF(h);for(s=F(U((!e.a&&(e.a=new I(Z5,e,6,6)),e.a),0),166),_=oe,oe>S+x?_=S+x:oeee+g?v=ee+g:seS-x&&_ee-g&&voe+ae?ne=oe+ae:Sse+te?C=se+te:eeoe-ae&&nese-te&&Cn&&(p=n-1),m=de+kL(t,24)*aH*f-f/2,m<0?m=1:m>i&&(m=i-1),a=(Lm(),l=new jo,l),$O(a,p),WO(a,m),gD((!s.a&&(s.a=new ny(K5,s,5)),s.a),a)}function Sft(e){Vh(e,new QF(Sm(vm(xm(bm(new $a,tK),`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 Ba))),V(e,tK,eU,1.3),V(e,tK,wU,(Oy(),!1)),V(e,tK,tU,iLt),V(e,tK,gU,15),V(e,tK,dG,mP(qIt)),V(e,tK,EU,mP(QIt)),V(e,tK,FU,mP(eLt)),V(e,tK,TU,mP(tLt)),V(e,tK,DU,mP(ZIt)),V(e,tK,CU,mP(l3)),V(e,tK,OU,mP(aLt)),V(e,tK,J_t,mP(lLt)),V(e,tK,Y_t,mP(cLt)),V(e,tK,q_t,mP(p3)),V(e,tK,K_t,mP(uLt)),V(e,tK,X_t,mP(rLt)),V(e,tK,Z_t,mP(u3)),V(e,tK,Q_t,mP(nLt)),V(e,tK,$_t,mP(sLt)),V(e,tK,bU,mP(YIt)),V(e,tK,hG,mP(XIt)),V(e,tK,W_t,mP(s3)),V(e,tK,U_t,mP(JIt)),V(e,tK,G_t,mP(c3)),V(e,tK,H_t,mP(oLt))}function Xz(e,t){lz();var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te=e.e,ne,C,re,ie,ae;if(m=e.d,i=e.a,te==0)switch(t){case 0:return`0`;case 1:return YV;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 um,t<0?S.a+=`0E+`:S.a+=`0E`,S.a+=-t,S.a}if(y=m*10+1+7,b=H(K9,iV,28,y+1,15,1),n=y,m==1)if(s=i[0],s<0){ae=ET(s,JV);do h=ae,ae=IF(ae,10),b[--n]=48+eS(qM(h,KM(ae,10)))&oV;while(iM(ae,0)!=0)}else{ae=s;do h=ae,ae=ae/10|0,b[--n]=48+(h-ae*10)&oV;while(ae!=0)}else{C=H(q9,bV,28,m,15,1),ie=m,BR(i,0,C,0,ie);I:for(;;){for(ee=0,l=ie-1;l>=0;l--)re=GM(oS(ee,32),ET(C[l],JV)),_=o2e(re),C[l]=eS(_),ee=eS(sS(_,32));v=eS(ee),g=n;do b[--n]=48+v%10&oV;while((v=v/10|0)!=0&&n!=0);for(r=9-g+n,c=0;c0;c++)b[--n]=48;for(d=ie-1;C[d]==0;d--)if(d==0)break I;ie=d+1}for(;b[n]==48;)++n}if(p=te<0,o=y-n-t-1,t==0)return p&&(b[--n]=45),zN(b,n,y-n);if(t>0&&o>=-6){if(o>=0){for(u=n+o,f=y-1;f>=u;f--)b[f+1]=b[f];return b[++u]=46,p&&(b[--n]=45),zN(b,n,y-n+1)}for(d=2;d<-o+1;d++)b[--n]=48;return b[--n]=46,b[--n]=48,p&&(b[--n]=45),zN(b,n,y-n)}return ne=n+1,a=y,x=new dm,p&&(x.a+=`-`),a-ne>=1?(yC(x,b[n]),x.a+=`.`,x.a+=zN(b,n+1,y-n-1)):x.a+=zN(b,n,y-n),x.a+=`E`,o>0&&(x.a+=`+`),x.a+=``+o,x.a}function Cft(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;switch(e.c=t,e.g=new Xd,n=(Uh(),new Lp(e.c)),i=new du(n),EJe(i),b=eb(J(e.c,(dI(),ULt))),l=F(J(e.c,M3),324),S=F(J(e.c,N3),437),s=F(J(e.c,RLt),490),x=F(J(e.c,j3),438),e.j=k(P(J(e.c,WLt))),c=e.a,l.g){case 0:c=e.a;break;case 1:c=e.b;break;case 2:c=e.i;break;case 3:c=e.e;break;case 4:c=e.f;break;default:throw O(new Kp(aK+(l.f==null?``+l.g:l.f)))}if(e.d=new kAe(c,S,s),G(e.d,(_A(),dX),$y(J(e.c,BLt))),e.d.c=Bp($y(J(e.c,zLt))),fw(e.c).i==0)return e.d;for(f=new cy(fw(e.c));f.e!=f.i.gc();){for(d=F(hP(f),27),m=d.g/2,p=d.f/2,ee=new j(d.i+m,d.j+p);DS(e.g,ee);)qy(ee,(r.Math.random()-.5)*uU,(r.Math.random()-.5)*uU);g=F(J(d,(eB(),k6)),140),_=new nje(ee,new $C(ee.a-m-e.j/2-g.b,ee.b-p-e.j/2-g.d,d.g+e.j+(g.b+g.c),d.f+e.j+(g.d+g.a))),ey(e.d.i,_),PC(e.g,ee,new N_(_,d))}switch(x.g){case 0:if(b==null)e.d.d=F(Ox(e.d.i,0),68);else for(y=new D(e.d.i);y.a0?ie+1:1);for(o=new D(S.g);o.a0?ie+1:1)}e.c[l]==0?gx(e.e,h):e.a[l]==0&&gx(e.f,h),++l}for(m=-1,p=1,d=new Zd,e.d=F(K(t,(Y(),H$)),234);ce>0;){for(;e.e.b!=0;)oe=F(tx(e.e),10),e.b[oe.p]=m--,Pit(e,oe),--ce;for(;e.f.b!=0;)se=F(tx(e.f),10),e.b[se.p]=p++,Pit(e,se),--ce;if(ce>0){for(f=$B,v=new D(y);v.a=f&&(b>f&&(d.c.length=0,f=b),df(d.c,h)));u=e.sg(d),e.b[u.p]=p++,Pit(e,u),--ce}}for(ae=y.c.length+1,l=0;le.b[w]&&(JR(r,!0),G(t,f$,(Oy(),!0)));e.a=null,e.c=null,e.b=null,aw(e.f),aw(e.e),n.Vg()}function Eft(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=F(U((!e.a&&(e.a=new I(Z5,e,6,6)),e.a),0),166),ee;for(d=new _p,x=new Xd,ee=Nat(S),HI(x.f,S,ee),p=new Xd,i=new hh,h=kS(lk(W(A(PJ,1),gB,20,0,[(!t.d&&(t.d=new Tb(X5,t,8,5)),t.d),(!t.e&&(t.e=new Tb(X5,t,7,4)),t.e)])));hL(h);){if(m=F(IE(h),74),(!e.a&&(e.a=new I(Z5,e,6,6)),e.a).i!=1)throw O(new Kp(qvt+(!e.a&&(e.a=new I(Z5,e,6,6)),e.a).i));m!=e&&(_=F(U((!m.a&&(m.a=new I(Z5,m,6,6)),m.a),0),166),bE(i,_,i.c.b,i.c),g=F(z_(Wx(x.f,_)),13),g||(g=Nat(_),HI(x.f,_,g)),f=n?Sb(new pv(F(Ox(ee,ee.c.length-1),8)),F(Ox(g,g.c.length-1),8)):Sb(new pv((ST(0,ee.c.length),F(ee.c[0],8))),(ST(0,g.c.length),F(g.c[0],8))),HI(p.f,_,f))}if(i.b!=0)for(v=F(Ox(ee,n?ee.c.length-1:0),8),u=1;u1&&bE(d,v,d.c.b,d.c),kO(a)));v=y}return d}function Dft(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(n.Ug(y_t,1),C=F(xE(qC(new jx(null,new wT(t,16)),new Ea),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15),u=F(xE(qC(new jx(null,new wT(t,16)),new Yoe(t)),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[MY]))),15),m=F(xE(qC(new jx(null,new wT(t,16)),new Joe(t)),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[MY]))),15),h=H(W2,IG,40,t.gc(),0,1),o=0;o=0&&ne=0&&!h[p]){h[p]=i,u.gd(s),--s;break}if(p=ne-f,p=0&&!h[p]){h[p]=i,u.gd(s),--s;break}}for(m.jd(new Da),c=h.length-1;c>=0;c--)!h[c]&&!m.dc()&&(h[c]=F(m.Xb(0),40),m.gd(0));for(l=0;l=0;c--)gx(n,(ST(c,o.c.length),F(o.c[c],8)));return n}function kft(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=k(P(J(t,(lR(),i3)))),x;for(m=k(P(J(t,n3))),p=k(P(J(t,$4))),eHe((!t.a&&(t.a=new I(o7,t,10,11)),t.a)),v=qst((!t.a&&(t.a=new I(o7,t,10,11)),t.a),b,e.b),_=0;_f&&DF((ST(f,t.c.length),F(t.c[f],186)),u),u=null;t.c.length>f&&(ST(f,t.c.length),F(t.c[f],186)).a.c.length==0;)zD(t,(ST(f,t.c.length),t.c[f]));if(!u){--o;continue}if(!Bp($y(F(Ox(u.b,0),27).of((sR(),c3))))&&mat(t,m,a,u,g,n,f,r)){h=!0;continue}if(g){if(p=m.b,d=u.f,!Bp($y(F(Ox(u.b,0),27).of(c3)))&&elt(t,m,a,u,n,f,r,i)){if(h=!0,p=e.j){e.a=-1,e.c=1;return}if(t=KC(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw O(new em(oB((Iv(),vq))));e.a=KC(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||KC(e.i,e.d)!=63)break;if(++e.d>=e.j)throw O(new em(oB((Iv(),Pyt))));switch(t=KC(e.i,e.d++),t){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(e.d>=e.j)throw O(new em(oB((Iv(),Pyt))));if(t=KC(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw O(new em(oB((Iv(),Fyt))));break;case 35:for(;e.d=e.j)throw O(new em(oB((Iv(),vq))));e.a=KC(e.i,e.d++);break;default:r=0}e.c=r}function Nft(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n.Ug(`Process compaction`,1),Bp($y(K(t,(HR(),qPt))))){for(i=F(K(t,h4),88),p=k(P(K(t,y4))),wst(e,t,i),Ddt(t,p/2/2),m=t.b,Vk(m,new Hoe(i)),l=uP(m,0);l.b!=l.d.c;)if(c=F($T(l),40),!Bp($y(K(c,(Bz(),f4))))){if(r=srt(c,i),h=kot(c,t),d=0,f=0,r)switch(g=r.e,i.g){case 2:d=g.a-p-c.f.a,h.e.a-p-c.f.ad&&(d=h.e.a+h.f.a+p),f=d+c.f.a;break;case 4:d=g.b-p-c.f.b,h.e.b-p-c.f.bd&&(d=h.e.b+h.f.b+p),f=d+c.f.b}else if(h)switch(i.g){case 2:d=h.e.a-p-c.f.a,f=d+c.f.a;break;case 1:d=h.e.a+h.f.a+p,f=d+c.f.a;break;case 4:d=h.e.b-p-c.f.b,f=d+c.f.b;break;case 3:d=h.e.b+h.f.b+p,f=d+c.f.b}M(K(t,g4))===M((Dj(),K2))?(a=d,o=f,s=bj(qC(new jx(null,new wT(e.a,16)),new ppe(a,o))),s.a==null?(s=i==(AM(),c8)||i==d8?bj(qC(bBe(new jx(null,new wT(e.a,16))),new Uoe(a))):bj(qC(bBe(new jx(null,new wT(e.a,16))),new Woe(a))),s.a!=null&&(i==c8||i==l8?c.e.a=k(P((nb(s.a!=null),F(s.a,42)).a)):c.e.b=k(P((nb(s.a!=null),F(s.a,42)).a)))):i==(AM(),c8)||i==l8?c.e.a=d:c.e.b=d,s.a!=null&&(u=VD(e.a,(nb(s.a!=null),s.a),0),u>0&&u!=F(K(c,b4),17).a&&(G(c,APt,(Oy(),!0)),G(c,b4,dM(u))))):i==(AM(),c8)||i==l8?c.e.a=d:c.e.b=d}n.Vg()}}function Pft(e){var t,n,r,i,a,o,s,c,l;for(e.b=1,Qz(e),t=null,e.c==0&&e.a==94?(Qz(e),t=(nB(),nB(),++W9,new kT(4)),QL(t,0,xJ),s=(++W9,new kT(4))):s=(nB(),nB(),++W9,new kT(4)),i=!0;(l=e.c)!=1;){if(l==0&&e.a==93&&!i){t&&(jz(t,s),s=t);break}if(n=e.a,r=!1,l==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:fz(s,jR(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(fz(s,jR(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(c=P8e(e,n),!c)throw O(new em(oB((Iv(),Kyt))));fz(s,c),r=!0;break;default:n=Fnt(e)}else if(l==24&&!i){if(t&&(jz(t,s),s=t),a=Pft(e),jz(s,a),e.c!=0||e.a!=93)throw O(new em(oB((Iv(),Yyt))));break}if(Qz(e),!r){if(l==0){if(n==91)throw O(new em(oB((Iv(),Xyt))));if(n==93)throw O(new em(oB((Iv(),Zyt))));if(n==45&&!i&&e.a!=93)throw O(new em(oB((Iv(),Qyt))))}if(e.c!=0||e.a!=45||n==45&&i)QL(s,n,n);else{if(Qz(e),(l=e.c)==1)throw O(new em(oB((Iv(),bq))));if(l==0&&e.a==93)QL(s,n,n),QL(s,45,45);else if(l==0&&e.a==93||l==24)throw O(new em(oB((Iv(),Qyt))));else{if(o=e.a,l==0){if(o==91)throw O(new em(oB((Iv(),Xyt))));if(o==93)throw O(new em(oB((Iv(),Zyt))));if(o==45)throw O(new em(oB((Iv(),Qyt))))}else l==10&&(o=Fnt(e));if(Qz(e),n>o)throw O(new em(oB((Iv(),tbt))));QL(s,n,o)}}}i=!1}if(e.c==1)throw O(new em(oB((Iv(),bq))));return xL(s),bz(s),e.b=0,Qz(e),s}function Fft(e,t,n){var r,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b,x,S;if(n.Ug(`Coffman-Graham Layering`,1),t.a.c.length==0){n.Vg();return}for(S=F(K(t,(Zz(),Pjt)),17).a,c=0,o=0,p=new D(t.a);p.a=S||!OYe(v,r))&&(r=iOe(t,u)),oT(v,r),a=new dS(fy($M(v).a.Kc(),new d));hL(a);)i=F(IE(a),18),!e.a[i.p]&&(g=i.c.i,--e.e[g.p],e.e[g.p]==0&&ox(cI(m,g),ZV));for(l=u.c.length-1;l>=0;--l)ey(t.b,(ST(l,u.c.length),F(u.c[l],30)));t.a.c.length=0,n.Vg()}function Ift(e,t){var n,r,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b,x=!1;do for(x=!1,a=t?new kl(e.a.b).a.gc()-2:1;t?a>=0:aF(K(_,F$),17).a)&&(b=!1);if(b){for(c=t?a+1:a-1,s=aPe(e.a,dM(c)),o=!1,y=!0,r=!1,u=uP(s,0);u.b!=u.d.c;)l=F($T(u),10),Wy(l,F$)?l.p!=f.p&&(o|=t?F(K(l,F$),17).aF(K(f,F$),17).a,y=!1):!o&&y&&l.k==(yI(),sZ)&&(r=!0,p=t?F(IE(new dS(fy($M(l).a.Kc(),new d))),18).c.i:F(IE(new dS(fy(eN(l).a.Kc(),new d))),18).d.i,p==f&&(n=t?F(IE(new dS(fy(eN(l).a.Kc(),new d))),18).d.i:F(IE(new dS(fy($M(l).a.Kc(),new d))),18).c.i,(t?F(Ky(e.a,n),17).a-F(Ky(e.a,p),17).a:F(Ky(e.a,p),17).a-F(Ky(e.a,n),17).a)<=2&&(y=!1)));if(r&&y&&(n=t?F(IE(new dS(fy(eN(f).a.Kc(),new d))),18).d.i:F(IE(new dS(fy($M(f).a.Kc(),new d))),18).c.i,(t?F(Ky(e.a,n),17).a-F(Ky(e.a,f),17).a:F(Ky(e.a,f),17).a-F(Ky(e.a,n),17).a)<=2&&n.k==(yI(),lZ)&&(y=!1)),o||y){for(g=X9e(e,f,t);g.a.gc()!=0;)h=F(g.a.ec().Kc().Pb(),10),g.a.Bc(h),Xk(g,X9e(e,h,t));--m,x=!0}}}while(x)}function Lft(e){TL(e.c,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#decimal`])),TL(e.d,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#integer`])),TL(e.e,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#boolean`])),TL(e.f,Rq,W(A(lY,1),X,2,6,[Yq,`EBoolean`,cq,`EBoolean:Object`])),TL(e.i,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#byte`])),TL(e.g,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#hexBinary`])),TL(e.j,Rq,W(A(lY,1),X,2,6,[Yq,`EByte`,cq,`EByte:Object`])),TL(e.n,Rq,W(A(lY,1),X,2,6,[Yq,`EChar`,cq,`EChar:Object`])),TL(e.t,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#double`])),TL(e.u,Rq,W(A(lY,1),X,2,6,[Yq,`EDouble`,cq,`EDouble:Object`])),TL(e.F,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#float`])),TL(e.G,Rq,W(A(lY,1),X,2,6,[Yq,`EFloat`,cq,`EFloat:Object`])),TL(e.I,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#int`])),TL(e.J,Rq,W(A(lY,1),X,2,6,[Yq,`EInt`,cq,`EInt:Object`])),TL(e.N,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#long`])),TL(e.O,Rq,W(A(lY,1),X,2,6,[Yq,`ELong`,cq,`ELong:Object`])),TL(e.Z,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#short`])),TL(e.$,Rq,W(A(lY,1),X,2,6,[Yq,`EShort`,cq,`EShort:Object`])),TL(e._,Rq,W(A(lY,1),X,2,6,[Yq,`http://www.w3.org/2001/XMLSchema#string`]))}function Rft(e,t,n,r,i,a,o){var s,c,l,u,d,f=F(r.a,17).a,p=F(r.b,17).a,m;return d=e.b,m=e.c,s=0,u=0,t==(AM(),c8)||t==l8?(u=Zg(iqe(YC(JC(new jx(null,new wT(n.b,16)),new Oa),new ha))),d.e.b+d.f.b/2>u?(l=++p,s=k(P(yy(hS(JC(new jx(null,new wT(n.b,16)),new Tpe(i,l)),new ga))))):(c=++f,s=k(P(yy(gS(JC(new jx(null,new wT(n.b,16)),new Epe(i,c)),new _a)))))):(u=Zg(iqe(YC(JC(new jx(null,new wT(n.b,16)),new ba),new ma))),d.e.a+d.f.a/2>u?(l=++p,s=k(P(yy(hS(JC(new jx(null,new wT(n.b,16)),new Cpe(i,l)),new dne))))):(c=++f,s=k(P(yy(gS(JC(new jx(null,new wT(n.b,16)),new wpe(i,c)),new va)))))),t==c8?(tv(e.a,new j(k(P(K(d,(Bz(),o4))))-i,s)),tv(e.a,new j(m.e.a+m.f.a+i+a,s)),tv(e.a,new j(m.e.a+m.f.a+i+a,m.e.b+m.f.b/2)),tv(e.a,new j(m.e.a+m.f.a,m.e.b+m.f.b/2))):t==l8?(tv(e.a,new j(k(P(K(d,(Bz(),a4))))+i,d.e.b+d.f.b/2)),tv(e.a,new j(d.e.a+d.f.a+i,s)),tv(e.a,new j(m.e.a-i-a,s)),tv(e.a,new j(m.e.a-i-a,m.e.b+m.f.b/2)),tv(e.a,new j(m.e.a,m.e.b+m.f.b/2))):t==d8?(tv(e.a,new j(s,k(P(K(d,(Bz(),o4))))-i)),tv(e.a,new j(s,m.e.b+m.f.b+i+a)),tv(e.a,new j(m.e.a+m.f.a/2,m.e.b+m.f.b+i+a)),tv(e.a,new j(m.e.a+m.f.a/2,m.e.b+m.f.b+i))):(e.a.b==0||(F(Uy(e.a),8).b=k(P(K(d,(Bz(),a4))))+i*F(o.b,17).a),tv(e.a,new j(s,k(P(K(d,(Bz(),a4))))+i*F(o.b,17).a)),tv(e.a,new j(s,m.e.b-i*F(o.a,17).a-a))),new N_(dM(f),dM(p))}function zft(e){var t,n,r,i,a,o=!0,s,c,l,u,d=null,f,p;if(r=null,i=null,t=!1,p=AVt,l=null,a=null,s=0,c=tP(e,s,OVt,kVt),c=0&&Db(e.substr(s,2),`//`)?(s+=2,c=tP(e,s,E7,D7),r=(pD(s,c,e.length),e.substr(s,c-s)),s=c):d!=null&&(s==e.length||(CT(s,e.length),e.charCodeAt(s)!=47))&&(o=!1,c=d_e(e,oI(35),s),c==-1&&(c=e.length),r=(pD(s,c,e.length),e.substr(s,c-s)),s=c);if(!n&&s0&&KC(u,u.length-1)==58&&(i=u,s=c)),syL(a))&&(d=a);for(!d&&(d=(ST(0,g.c.length),F(g.c[0],185))),h=new D(t.b);h.af&&(ie=0,ae+=d+te,d=0),Fit(S,s,ie,ae),t=r.Math.max(t,ie+ee.a),d=r.Math.max(d,ee.b),ie+=ee.a+te;for(x=new Xd,n=new Xd,C=new D(e);C.a=-1900),n>=4?$_(e,W(A(lY,1),X,2,6,[Ept,Dpt])[s]):$_(e,W(A(lY,1),X,2,6,[`BC`,`AD`])[s]);break;case 121:FXe(e,n,r);break;case 77:Mit(e,n,r);break;case 107:c=i.q.getHours(),c==0?$D(e,24,n):$D(e,c,n);break;case 83:Z9e(e,n,i);break;case 69:u=r.q.getDay(),n==5?$_(e,W(A(lY,1),X,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[u]):n==4?$_(e,W(A(lY,1),X,2,6,[xV,SV,CV,wV,TV,EV,DV])[u]):$_(e,W(A(lY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[u]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?$_(e,W(A(lY,1),X,2,6,[`AM`,`PM`])[1]):$_(e,W(A(lY,1),X,2,6,[`AM`,`PM`])[0]);break;case 104:d=i.q.getHours()%12,d==0?$D(e,12,n):$D(e,d,n);break;case 75:f=i.q.getHours()%12,$D(e,f,n);break;case 72:p=i.q.getHours(),$D(e,p,n);break;case 99:m=r.q.getDay(),n==5?$_(e,W(A(lY,1),X,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[m]):n==4?$_(e,W(A(lY,1),X,2,6,[xV,SV,CV,wV,TV,EV,DV])[m]):n==3?$_(e,W(A(lY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[m]):$D(e,m,1);break;case 76:h=r.q.getMonth(),n==5?$_(e,W(A(lY,1),X,2,6,[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`])[h]):n==4?$_(e,W(A(lY,1),X,2,6,[sV,cV,lV,uV,dV,fV,pV,mV,hV,gV,_V,vV])[h]):n==3?$_(e,W(A(lY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,dV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`])[h]):$D(e,h+1,n);break;case 81:g=r.q.getMonth()/3|0,n<4?$_(e,W(A(lY,1),X,2,6,[`Q1`,`Q2`,`Q3`,`Q4`])[g]):$_(e,W(A(lY,1),X,2,6,[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`])[g]);break;case 100:_=r.q.getDate(),$D(e,_,n);break;case 109:l=i.q.getMinutes(),$D(e,l,n);break;case 115:o=i.q.getSeconds(),$D(e,o,n);break;case 122:n<4?$_(e,a.c[0]):$_(e,a.c[1]);break;case 118:$_(e,a.b);break;case 90:n<3?$_(e,t8e(a)):n==3?$_(e,m8e(a)):$_(e,h8e(a.a));break;default:return!1}return!0}function Gft(e,t,n,r){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae;if(Jrt(t),c=F(U((!t.b&&(t.b=new Tb(Y5,t,4,7)),t.b),0),84),u=F(U((!t.c&&(t.c=new Tb(Y5,t,5,8)),t.c),0),84),s=eI(c),l=eI(u),o=(!t.a&&(t.a=new I(Z5,t,6,6)),t.a).i==0?null:F(U((!t.a&&(t.a=new I(Z5,t,6,6)),t.a),0),166),ee=F(dC(e.a,s),10),re=F(dC(e.a,l),10),te=null,ie=null,N(c,193)&&(S=F(dC(e.a,c),305),N(S,12)?te=F(S,12):N(S,10)&&(ee=F(S,10),te=F(Ox(ee.j,0),12))),N(u,193)&&(C=F(dC(e.a,u),305),N(C,12)?ie=F(C,12):N(C,10)&&(re=F(C,10),ie=F(Ox(re.j,0),12))),!ee||!re)throw O(new Zp(`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(h=new Sw,PA(h,t),G(h,(Y(),I$),t),G(h,(Zz(),R1),null),p=F(K(r,x$),21),ee==re&&p.Fc((nR(),QQ)),te||=(x=(pk(),u2),ne=null,o&&vv(F(K(ee,a0),101))&&(ne=new j(o.j,o.k),zPe(ne,Hw(t)),FFe(ne,n),jO(l,s)&&(x=l2,xb(ne,ee.n))),Tst(ee,ne,x,r)),ie||=(x=(pk(),l2),ae=null,o&&vv(F(K(re,a0),101))&&(ae=new j(o.b,o.c),zPe(ae,Hw(t)),FFe(ae,n)),Tst(re,ae,x,TC(re))),aT(h,te),cT(h,ie),(te.e.c.length>1||te.g.c.length>1||ie.e.c.length>1||ie.g.c.length>1)&&p.Fc((nR(),qQ)),f=new cy((!t.n&&(t.n=new I(a7,t,1,7)),t.n));f.e!=f.i.gc();)if(d=F(hP(f),135),!Bp($y(J(d,t0)))&&d.a)switch(g=nM(d),ey(h.b,g),F(K(g,D1),278).g){case 1:case 2:p.Fc((nR(),GQ));break;case 0:p.Fc((nR(),UQ)),G(g,D1,(BO(),p8))}if(a=F(K(r,S1),322),_=F(K(r,X1),323),i=a==(Ck(),xQ)||_==(SP(),Y0),o&&(!o.a&&(o.a=new ny(K5,o,5)),o.a).i!=0&&i){for(v=DI(o),m=new _p,b=uP(v,0);b.b!=b.d.c;)y=F($T(b),8),gx(m,new pv(y));G(h,DOt,m)}return h}function Kft(e,t,n,r){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne=0,C=0,re,ie,ae,oe;for(ee=new Xd,x=F(yy(hS(JC(new jx(null,new wT(e.b,16)),new ya),new pne)),17).a+1,te=H(q9,bV,28,x,15,1),g=H(q9,bV,28,x,15,1),h=0;h1)for(s=ie+1;sl.b.e.b*(1-_)+l.c.e.b*_));m++);if(S.gc()>0&&(ae=l.a.b==0?Gv(l.b.e):F(Uy(l.a),8),y=xb(Gv(F(S.Xb(S.gc()-1),40).e),F(S.Xb(S.gc()-1),40).f),f=xb(Gv(F(S.Xb(0),40).e),F(S.Xb(0),40).f),m>=S.gc()-1&&ae.b>y.b&&l.c.e.b>y.b||m<=0&&ae.bl.b.e.a*(1-_)+l.c.e.a*_));m++);if(S.gc()>0&&(ae=l.a.b==0?Gv(l.b.e):F(Uy(l.a),8),y=xb(Gv(F(S.Xb(S.gc()-1),40).e),F(S.Xb(S.gc()-1),40).f),f=xb(Gv(F(S.Xb(0),40).e),F(S.Xb(0),40).f),m>=S.gc()-1&&ae.a>y.a&&l.c.e.a>y.a||m<=0&&ae.a=k(P(K(e,(Bz(),NPt))))&&++C):(p.f&&p.d.e.a<=k(P(K(e,(Bz(),$2))))&&++ne,p.g&&p.c.e.a+p.c.f.a>=k(P(K(e,(Bz(),MPt))))&&++C)}else b==0?b8e(l):b<0&&(++te[ie],++g[oe],re=Rft(l,t,e,new N_(dM(ne),dM(C)),n,r,new N_(dM(g[oe]),dM(te[ie]))),ne=F(re.a,17).a,C=F(re.b,17).a)}function qft(e,t,n){var r=t,i,a,o,s,c=n,l,u,d,f,p,m,h,g,_,v;if(e.b&&r.j==(Vz(),C5)&&c.j==(Vz(),C5)&&(v=r,r=c,c=v),DS(e.a,r)){if(dh(F(dC(e.a,r),49),c))return 1}else PC(e.a,r,new Vf);if(DS(e.a,c)){if(dh(F(dC(e.a,c),49),r))return-1}else PC(e.a,c,new Vf);if(DS(e.d,r)){if(dh(F(dC(e.d,r),49),c))return-1}else PC(e.d,r,new Vf);if(DS(e.d,c)){if(dh(F(dC(e.a,c),49),r))return 1}else PC(e.d,c,new Vf);if(r.j!=c.j)return _=fhe(r.j,c.j),_==-1?vR(e,c,r):vR(e,r,c),_;if(r.e.c.length!=0&&c.e.c.length!=0){if(e.b&&(_=WGe(r,c),_!=0))return _==-1?vR(e,c,r):_==1&&vR(e,r,c),_;if(a=F(Ox(r.e,0),18).c.i,u=F(Ox(c.e,0),18).c.i,a==u)return i=F(K(F(Ox(r.e,0),18),(Y(),F$)),17).a,l=F(K(F(Ox(c.e,0),18),F$),17).a,i>l?vR(e,r,c):vR(e,c,r),il);for(m=e.c,h=0,g=m.length;hl?vR(e,r,c):vR(e,c,r),il)):e.b&&(_=WGe(r,c),_!=0)?(_==-1?vR(e,c,r):_==1&&vR(e,r,c),_):(o=0,d=0,Wy(F(Ox(r.g,0),18),F$)&&(o=F(K(F(Ox(r.g,0),18),F$),17).a),Wy(F(Ox(c.g,0),18),F$)&&(d=F(K(F(Ox(r.g,0),18),F$),17).a),s&&s==f?Bp($y(K(F(Ox(r.g,0),18),W$)))&&!Bp($y(K(F(Ox(c.g,0),18),W$)))?(vR(e,r,c),1):!Bp($y(K(F(Ox(r.g,0),18),W$)))&&Bp($y(K(F(Ox(c.g,0),18),W$)))?(vR(e,c,r),-1):(o>d?vR(e,r,c):vR(e,c,r),od)):(e.f&&(e.f._b(s)&&(o=F(e.f.xc(s),17).a),e.f._b(f)&&(d=F(e.f.xc(f),17).a)),o>d?vR(e,r,c):vR(e,c,r),od)))):r.e.c.length!=0&&c.g.c.length!=0?(vR(e,r,c),1):r.g.c.length!=0&&c.e.c.length!=0?(vR(e,c,r),-1):Wy(r,(Y(),F$))&&Wy(c,F$)?(i=F(K(r,F$),17).a,l=F(K(c,F$),17).a,i>l?vR(e,r,c):vR(e,c,r),il)):(vR(e,c,r),-1)}function Jft(e){e.gb||(e.gb=!0,e.b=DA(e,0),Jk(e.b,18),Yk(e.b,19),e.a=DA(e,1),Jk(e.a,1),Yk(e.a,2),Yk(e.a,3),Yk(e.a,4),Yk(e.a,5),e.o=DA(e,2),Jk(e.o,8),Jk(e.o,9),Yk(e.o,10),Yk(e.o,11),Yk(e.o,12),Yk(e.o,13),Yk(e.o,14),Yk(e.o,15),Yk(e.o,16),Yk(e.o,17),Yk(e.o,18),Yk(e.o,19),Yk(e.o,20),Yk(e.o,21),Yk(e.o,22),Yk(e.o,23),wO(e.o),wO(e.o),wO(e.o),wO(e.o),wO(e.o),wO(e.o),wO(e.o),wO(e.o),wO(e.o),wO(e.o),e.p=DA(e,3),Jk(e.p,2),Jk(e.p,3),Jk(e.p,4),Jk(e.p,5),Yk(e.p,6),Yk(e.p,7),wO(e.p),wO(e.p),e.q=DA(e,4),Jk(e.q,8),e.v=DA(e,5),Yk(e.v,9),wO(e.v),wO(e.v),wO(e.v),e.w=DA(e,6),Jk(e.w,2),Jk(e.w,3),Jk(e.w,4),Yk(e.w,5),e.B=DA(e,7),Yk(e.B,1),wO(e.B),wO(e.B),wO(e.B),e.Q=DA(e,8),Yk(e.Q,0),wO(e.Q),e.R=DA(e,9),Jk(e.R,1),e.S=DA(e,10),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),wO(e.S),e.T=DA(e,11),Yk(e.T,10),Yk(e.T,11),Yk(e.T,12),Yk(e.T,13),Yk(e.T,14),wO(e.T),wO(e.T),e.U=DA(e,12),Jk(e.U,2),Jk(e.U,3),Yk(e.U,4),Yk(e.U,5),Yk(e.U,6),Yk(e.U,7),wO(e.U),e.V=DA(e,13),Yk(e.V,10),e.W=DA(e,14),Jk(e.W,18),Jk(e.W,19),Jk(e.W,20),Yk(e.W,21),Yk(e.W,22),Yk(e.W,23),e.bb=DA(e,15),Jk(e.bb,10),Jk(e.bb,11),Jk(e.bb,12),Jk(e.bb,13),Jk(e.bb,14),Jk(e.bb,15),Jk(e.bb,16),Yk(e.bb,17),wO(e.bb),wO(e.bb),e.eb=DA(e,16),Jk(e.eb,2),Jk(e.eb,3),Jk(e.eb,4),Jk(e.eb,5),Jk(e.eb,6),Jk(e.eb,7),Yk(e.eb,8),Yk(e.eb,9),e.ab=DA(e,17),Jk(e.ab,0),Jk(e.ab,1),e.H=DA(e,18),Yk(e.H,0),Yk(e.H,1),Yk(e.H,2),Yk(e.H,3),Yk(e.H,4),Yk(e.H,5),wO(e.H),e.db=DA(e,19),Yk(e.db,2),e.c=OA(e,20),e.d=OA(e,21),e.e=OA(e,22),e.f=OA(e,23),e.i=OA(e,24),e.g=OA(e,25),e.j=OA(e,26),e.k=OA(e,27),e.n=OA(e,28),e.r=OA(e,29),e.s=OA(e,30),e.t=OA(e,31),e.u=OA(e,32),e.fb=OA(e,33),e.A=OA(e,34),e.C=OA(e,35),e.D=OA(e,36),e.F=OA(e,37),e.G=OA(e,38),e.I=OA(e,39),e.J=OA(e,40),e.L=OA(e,41),e.M=OA(e,42),e.N=OA(e,43),e.O=OA(e,44),e.P=OA(e,45),e.X=OA(e,46),e.Y=OA(e,47),e.Z=OA(e,48),e.$=OA(e,49),e._=OA(e,50),e.cb=OA(e,51),e.K=OA(e,52))}function Yft(e,t,n){var r,i,a,o=new hh,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=F(K(n,(Zz(),w1)),88),ee,te,ne,C,re,ie;for(h=0,Xk(o,(!t.a&&(t.a=new I(o7,t,10,11)),t.a));o.b!=0;)u=F(o.b==0?null:(nb(o.b!=0),NO(o,o.a.a)),27),l=$w(u),(M(J(l,h1))!==M((VN(),i2))||M(J(l,C1))===M((BN(),OQ))||M(J(l,C1))===M((BN(),EQ))||Bp($y(J(l,_1)))||M(J(l,d1))!==M((ZN(),tZ))||M(J(l,V1))===M((bR(),Q0))||M(J(l,V1))===M((bR(),$0))||M(J(l,H1))===M((UL(),I0))||M(J(l,H1))===M((UL(),R0)))&&!Bp($y(J(u,p1)))&&EP(u,(Y(),F$),dM(h++)),_=!Bp($y(J(u,t0))),_&&(f=(!u.a&&(u.a=new I(o7,u,10,11)),u.a).i!=0,m=g2e(u),p=M(J(u,P1))===M((cM(),C8)),ie=!lD(u,(eB(),m6))||sIe(eb(J(u,m6))),b=null,ie&&p&&(f||m)&&(b=Xat(u),G(b,w1,S),Wy(b,f0)&&Vce(new XJe(k(P(K(b,f0)))),b),F(J(u,Z1),181).gc()!=0&&(d=b,Sh(new jx(null,(!u.c&&(u.c=new I(s7,u,9,9)),new wT(u.c,16))),new Zae(d)),dnt(u,b))),ee=n,te=F(dC(e.a,$w(u)),10),te&&(ee=te.e),y=Zdt(e,u,ee),b&&(y.e=b,b.e=y,Xk(o,(!u.a&&(u.a=new I(o7,u,10,11)),u.a))));for(h=0,bE(o,t,o.c.b,o.c);o.b!=0;){for(a=F(o.b==0?null:(nb(o.b!=0),NO(o,o.a.a)),27),c=new cy((!a.b&&(a.b=new I(X5,a,12,3)),a.b));c.e!=c.i.gc();)s=F(hP(c),74),Jrt(s),(M(J(t,h1))!==M((VN(),i2))||M(J(t,C1))===M((BN(),OQ))||M(J(t,C1))===M((BN(),EQ))||Bp($y(J(t,_1)))||M(J(t,d1))!==M((ZN(),tZ))||M(J(t,V1))===M((bR(),Q0))||M(J(t,V1))===M((bR(),$0))||M(J(t,H1))===M((UL(),I0))||M(J(t,H1))===M((UL(),R0)))&&EP(s,(Y(),F$),dM(h++)),C=eI(F(U((!s.b&&(s.b=new Tb(Y5,s,4,7)),s.b),0),84)),re=eI(F(U((!s.c&&(s.c=new Tb(Y5,s,5,8)),s.c),0),84)),!(Bp($y(J(s,t0)))||Bp($y(J(C,t0)))||Bp($y(J(re,t0))))&&(g=nL(s)&&Bp($y(J(C,I1)))&&Bp($y(J(s,L1))),x=a,g||jO(re,C)?x=C:jO(C,re)&&(x=re),ee=n,te=F(dC(e.a,x),10),te&&(ee=te.e),v=Gft(e,s,x,ee),G(v,(Y(),COt),Ptt(e,s,t,n)));if(p=M(J(a,P1))===M((cM(),C8)),p)for(i=new cy((!a.a&&(a.a=new I(o7,a,10,11)),a.a));i.e!=i.i.gc();)r=F(hP(i),27),ie=!lD(r,(eB(),m6))||sIe(eb(J(r,m6))),ne=M(J(r,P1))===M(C8),ie&&ne&&bE(o,r,o.c.b,o.c)}}function Y(){Y=C;var e,t;I$=new jd(Hmt),COt=new jd(`coordinateOrigin`),V$=new jd(`processors`),SOt=new pb(`compoundNode`,(Oy(),!1)),w$=new pb(`insideConnections`,!1),DOt=new jd(`originalBendpoints`),OOt=new jd(`originalDummyNodePosition`),kOt=new jd(`originalLabelEdge`),U$=new jd(`representedLabels`),m$=new jd(`endLabels`),h$=new jd(`endLabel.origin`),O$=new pb(`labelSide`,(xF(),k8)),P$=new pb(`maxEdgeThickness`,0),W$=new pb(`reversed`,!1),H$=new jd(Umt),j$=new pb(`longEdgeSource`,null),M$=new pb(`longEdgeTarget`,null),A$=new pb(`longEdgeHasLabelDummies`,!1),k$=new pb(`longEdgeBeforeLabelDummy`,!1),p$=new pb(`edgeConstraint`,(uj(),jQ)),E$=new jd(`inLayerLayoutUnit`),T$=new pb(`inLayerConstraint`,(aO(),a$)),D$=new pb(`inLayerSuccessorConstraint`,new Zd),EOt=new pb(`inLayerSuccessorConstraintBetweenNonDummies`,!1),z$=new jd(`portDummy`),d$=new pb(`crossingHint`,dM(0)),x$=new pb(`graphProperties`,(t=F(zm($Q),9),new Fb(t,F(vb(t,t.length),9),0))),y$=new pb(`externalPortSide`,(Vz(),S5)),TOt=new pb(`externalPortSize`,new Im),_$=new jd(`externalPortReplacedDummies`),v$=new jd(`externalPortReplacedDummy`),g$=new pb(`externalPortConnections`,(e=F(zm(w5),9),new Fb(e,F(vb(e,e.length),9),0))),B$=new pb(xmt,0),xOt=new jd(`barycenterAssociates`),$$=new jd(`TopSideComments`),c$=new jd(`BottomSideComments`),u$=new jd(`CommentConnectionPort`),C$=new pb(`inputCollect`,!1),L$=new pb(`outputCollect`,!1),f$=new pb(`cyclic`,!1),wOt=new jd(`crossHierarchyMap`),Q$=new jd(`targetOffset`),new pb(`splineLabelSize`,new Im),q$=new jd(`spacings`),R$=new pb(`partitionConstraint`,!1),l$=new jd(`breakingPoint.info`),MOt=new jd(`splines.survivingEdge`),X$=new jd(`splines.route.start`),J$=new jd(`splines.edgeChain`),jOt=new jd(`originalPortConstraints`),K$=new jd(`selfLoopHolder`),Y$=new jd(`splines.nsPortY`),F$=new jd(`modelOrder`),N$=new jd(`longEdgeTargetNode`),b$=new pb(wht,!1),G$=new pb(wht,!1),S$=new jd(`layerConstraints.hiddenNodes`),AOt=new jd(`layerConstraints.opposidePort`),Z$=new jd(`targetNode.modelOrder`)}function Xft(e,t,n,i){var a,o,s,c,l,u,d,f,p,m,h;for(f=uP(e.b,0);f.b!=f.d.c;)if(d=F($T(f),40),!Db(d.c,NG))for(o=F(xE(new jx(null,new wT(q8e(d,e),16)),bD(new we,new Ce,new Me,W(A(PY,1),Z,108,0,[(Wj(),MY)]))),15),t==(AM(),c8)||t==l8?o.jd(new fne):o.jd(new Ca),h=o.gc(),a=0;a0&&(c=F(Uy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Uy(F(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(l-m)/(r.Math.abs(c-p)/40)>50&&(m>l?tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a+i/5.3,d.e.b+d.f.b*s-i/2)):tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a+i/5.3,d.e.b+d.f.b*s+i/2)))),tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a,d.e.b+d.f.b*s))):t==l8?(u=k(P(K(d,(Bz(),o4)))),d.e.a-i>u?tv(F(o.Xb(a),65).a,new j(u-n,d.e.b+d.f.b*s)):F(o.Xb(a),65).a.b>0&&(c=F(Uy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Uy(F(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(l-m)/(r.Math.abs(c-p)/40)>50&&(m>l?tv(F(o.Xb(a),65).a,new j(d.e.a-i/5.3,d.e.b+d.f.b*s-i/2)):tv(F(o.Xb(a),65).a,new j(d.e.a-i/5.3,d.e.b+d.f.b*s+i/2)))),tv(F(o.Xb(a),65).a,new j(d.e.a,d.e.b+d.f.b*s))):t==d8?(u=k(P(K(d,(Bz(),a4)))),d.e.b+d.f.b+i0&&(c=F(Uy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Uy(F(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(c-p)/(r.Math.abs(l-m)/40)>50&&(p>c?tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s-i/2,d.e.b+i/5.3+d.f.b)):tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s+i/2,d.e.b+i/5.3+d.f.b)))),tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s,d.e.b+d.f.b))):(u=k(P(K(d,(Bz(),o4)))),ZWe(F(o.Xb(a),65),e)?tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s,F(Uy(F(o.Xb(a),65).a),8).b)):d.e.b-i>u?tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s,u-n)):F(o.Xb(a),65).a.b>0&&(c=F(Uy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Uy(F(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(c-p)/(r.Math.abs(l-m)/40)>50&&(p>c?tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s-i/2,d.e.b-i/5.3)):tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s+i/2,d.e.b-i/5.3)))),tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s,d.e.b)))}function eB(){eB=C;var e,t;m6=new jd(bvt),Z6=new jd(xvt),YRt=(FP(),e6),JRt=new iv(Ngt,YRt),new Yd,h6=new iv(eU,null),XRt=new jd(Svt),ezt=(KF(),Yx(f6,W(A(p6,1),Z,298,0,[c6]))),v6=new iv(dG,ezt),y6=new iv(lG,(Oy(),!1)),tzt=(AM(),u8),b6=new iv(uG,tzt),izt=(XM(),y8),rzt=new iv(iG,izt),szt=new iv(vvt,!1),czt=(cM(),w8),C6=new iv(rG,czt),vzt=new Ov(12),L6=new iv(tU,vzt),E6=new iv(bU,!1),D6=new iv(hG,!1),I6=new iv(CU,!1),Ezt=(YF(),Y8),U6=new iv(xU,Ezt),J6=new jd(mG),Y6=new jd(hU),X6=new jd(vU),Q6=new jd(yU),uzt=new _p,O6=new iv(Wgt,uzt),$Rt=new iv(qgt,!1),lzt=new iv(Jgt,!1),new jd(Cvt),dzt=new lp,k6=new iv(Xgt,dzt),F6=new iv(jgt,!1),new Yd,Azt=new iv(wvt,1),_6=new jd(Tvt),g6=new jd(Evt),i8=new iv(kU,!1),new iv(Dvt,!0),dM(0),new iv(Ovt,dM(100)),new iv(kvt,!1),dM(0),new iv(Avt,dM(4e3)),dM(0),new iv(jvt,dM(400)),new iv(Mvt,!1),new iv(Nvt,!1),new iv(Pvt,!0),new iv(Fvt,!1),QRt=(hN(),H5),ZRt=new iv(yvt,QRt),jzt=new iv(bgt,10),Mzt=new iv(xgt,10),Nzt=new iv(QH,20),Pzt=new iv(Sgt,10),Fzt=new iv(_U,2),Izt=new iv(cG,10),Lzt=new iv(Cgt,0),e8=new iv(Egt,5),Rzt=new iv(wgt,1),zzt=new iv(Tgt,1),t8=new iv(gU,20),Bzt=new iv(Dgt,10),Uzt=new iv(Ogt,10),$6=new jd(kgt),Hzt=new $me,Vzt=new iv(Zgt,Hzt),xzt=new jd(pG),bzt=!1,yzt=new iv(fG,bzt),pzt=new Ov(5),fzt=new iv(Igt,pzt),mzt=(vL(),t=F(zm(z8),9),new Fb(t,F(vb(t,t.length),9),0)),A6=new iv(DU,mzt),wzt=(fP(),V8),Czt=new iv(zgt,wzt),z6=new jd(Bgt),B6=new jd(Vgt),V6=new jd(Hgt),R6=new jd(Ugt),hzt=(e=F(zm(k5),9),new Fb(e,F(vb(e,e.length),9),0)),j6=new iv(EU,hzt),_zt=BM((OR(),M5)),P6=new iv(TU,_zt),gzt=new j(0,0),N6=new iv(FU,gzt),M6=new iv(wU,!1),nzt=(BO(),p8),S6=new iv(Ggt,nzt),x6=new iv(SU,!1),new jd(Ivt),dM(1),new iv(Lvt,null),Tzt=new jd(Ygt),W6=new jd(Kgt),kzt=(Vz(),S5),q6=new iv(Mgt,kzt),H6=new jd(Agt),Dzt=(YI(),BM(e5)),K6=new iv(OU,Dzt),G6=new iv(Lgt,!1),Ozt=new iv(Rgt,!0),new Yd,o8=new iv(AU,1),qzt=new iv(Rvt,null),r8=new iv(jU,150),n8=new iv(MU,1.414),a8=new iv(NU,null),Wzt=new iv(zvt,1),w6=new iv(Pgt,!1),T6=new iv(Fgt,!1),azt=new iv($H,1),ozt=(sI(),x8),new iv(Bvt,ozt),Szt=!0,Kzt=(sM(),z5),Jzt=z5,Gzt=z5}function tB(){tB=C,NEt=new xg(`DIRECTION_PREPROCESSOR`,0),AEt=new xg(`COMMENT_PREPROCESSOR`,1),gZ=new xg(`EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER`,2),bZ=new xg(`INTERACTIVE_EXTERNAL_PORT_POSITIONER`,3),QEt=new xg(`PARTITION_PREPROCESSOR`,4),CZ=new xg(`LABEL_DUMMY_INSERTER`,5),RZ=new xg(`SELF_LOOP_PREPROCESSOR`,6),OZ=new xg(`LAYER_CONSTRAINT_PREPROCESSOR`,7),XEt=new xg(`PARTITION_MIDPROCESSOR`,8),VEt=new xg(`HIGH_DEGREE_NODE_LAYER_PROCESSOR`,9),JEt=new xg(`NODE_PROMOTION`,10),DZ=new xg(`LAYER_CONSTRAINT_POSTPROCESSOR`,11),ZEt=new xg(`PARTITION_POSTPROCESSOR`,12),REt=new xg(`HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR`,13),$Et=new xg(`SEMI_INTERACTIVE_CROSSMIN_PROCESSOR`,14),wEt=new xg(`BREAKING_POINT_INSERTER`,15),AZ=new xg(`LONG_EDGE_SPLITTER`,16),PZ=new xg(`PORT_SIDE_PROCESSOR`,17),xZ=new xg(`INVERTED_PORT_PROCESSOR`,18),NZ=new xg(`PORT_LIST_SORTER`,19),tDt=new xg(`SORT_BY_INPUT_ORDER_OF_MODEL`,20),MZ=new xg(`NORTH_SOUTH_PORT_PREPROCESSOR`,21),TEt=new xg(`BREAKING_POINT_PROCESSOR`,22),YEt=new xg(mht,23),nDt=new xg(hht,24),IZ=new xg(`SELF_LOOP_PORT_RESTORER`,25),eDt=new xg(`SINGLE_EDGE_GRAPH_WRAPPER`,26),SZ=new xg(`IN_LAYER_CONSTRAINT_PROCESSOR`,27),FEt=new xg(`END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR`,28),KEt=new xg(`LABEL_AND_NODE_SIZE_PROCESSOR`,29),GEt=new xg(`INNERMOST_NODE_MARGIN_CALCULATOR`,30),zZ=new xg(`SELF_LOOP_ROUTER`,31),OEt=new xg(`COMMENT_NODE_MARGIN_CALCULATOR`,32),vZ=new xg(`END_LABEL_PREPROCESSOR`,33),TZ=new xg(`LABEL_DUMMY_SWITCHER`,34),DEt=new xg(`CENTER_LABEL_MANAGEMENT_PROCESSOR`,35),EZ=new xg(`LABEL_SIDE_SELECTOR`,36),UEt=new xg(`HYPEREDGE_DUMMY_MERGER`,37),zEt=new xg(`HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR`,38),qEt=new xg(`LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR`,39),yZ=new xg(`HIERARCHICAL_PORT_POSITION_PROCESSOR`,40),jEt=new xg(`CONSTRAINTS_POSTPROCESSOR`,41),kEt=new xg(`COMMENT_POSTPROCESSOR`,42),WEt=new xg(`HYPERNODE_PROCESSOR`,43),BEt=new xg(`HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER`,44),kZ=new xg(`LONG_EDGE_JOINER`,45),LZ=new xg(`SELF_LOOP_POSTPROCESSOR`,46),EEt=new xg(`BREAKING_POINT_REMOVER`,47),jZ=new xg(`NORTH_SOUTH_PORT_POSTPROCESSOR`,48),HEt=new xg(`HORIZONTAL_COMPACTOR`,49),wZ=new xg(`LABEL_DUMMY_REMOVER`,50),IEt=new xg(`FINAL_SPLINE_BENDPOINTS_CALCULATOR`,51),PEt=new xg(`END_LABEL_SORTER`,52),FZ=new xg(`REVERSED_EDGE_RESTORER`,53),_Z=new xg(`END_LABEL_POSTPROCESSOR`,54),LEt=new xg(`HIERARCHICAL_NODE_RESIZER`,55),MEt=new xg(`DIRECTION_POSTPROCESSOR`,56)}function Zft(){Zft=C,ykt=(yO(),kQ),vkt=new iv(Tht,ykt),Ikt=new iv(Eht,(Oy(),!1)),Hkt=(nE(),s$),Vkt=new iv(pW,Hkt),oAt=new iv(Dht,!1),sAt=new iv(Oht,!0),FOt=new iv(kht,!1),DAt=(oO(),s2),EAt=new iv(Aht,DAt),dM(1),FAt=new iv(jht,dM(7)),IAt=new iv(Mht,!1),Lkt=new iv(Nht,!1),_kt=(BN(),TQ),gkt=new iv(mW,_kt),aAt=(UL(),B0),iAt=new iv(hW,aAt),Ykt=(mN(),i1),Jkt=new iv(Pht,Ykt),dM(-1),qkt=new iv(Fht,null),dM(-1),Xkt=new iv(Iht,dM(-1)),dM(-1),Zkt=new iv(gW,dM(4)),dM(-1),$kt=new iv(_W,dM(2)),rAt=(bR(),n2),nAt=new iv(vW,rAt),dM(0),tAt=new iv(yW,dM(0)),Gkt=new iv(bW,dM(dB)),hkt=(Ck(),SQ),mkt=new iv(xW,hkt),ZOt=new iv(Lht,!1),okt=new iv(SW,.1),fkt=new iv(CW,!1),ckt=new iv(Rht,null),lkt=new iv(zht,null),dM(-1),ukt=new iv(Bht,null),dM(-1),dkt=new iv(Vht,dM(-1)),dM(0),QOt=new iv(Hht,dM(40)),ikt=(BA(),n$),rkt=new iv(wW,ikt),ekt=e$,$Ot=new iv(TW,ekt),TAt=(SP(),J0),wAt=new iv(EW,TAt),mAt=new jd(DW),lAt=(ID(),zQ),cAt=new iv(OW,lAt),fAt=(zF(),VQ),dAt=new iv(kW,fAt),new Yd,_At=new iv(AW,.3),yAt=new jd(jW),xAt=(NP(),G0),bAt=new iv(MW,xAt),Dkt=(gA(),f2),Ekt=new iv(Uht,Dkt),kkt=(Ej(),h2),Okt=new iv(Wht,kkt),jkt=(Uj(),_2),Akt=new iv(NW,jkt),Nkt=new iv(PW,.2),wkt=new iv(FW,2),jAt=new iv(Ght,null),NAt=new iv(Kht,10),MAt=new iv(qht,10),PAt=new iv(Jht,20),dM(0),OAt=new iv(Yht,dM(0)),dM(0),kAt=new iv(Xht,dM(0)),dM(0),AAt=new iv(Zht,dM(0)),IOt=new iv(IW,!1),BOt=(_I(),HQ),zOt=new iv(Qht,BOt),ROt=(cD(),bQ),LOt=new iv($ht,ROt),zkt=new iv(LW,!1),dM(0),Rkt=new iv(RW,dM(16)),dM(0),Bkt=new iv(zW,dM(5)),ajt=(ej(),b2),ijt=new iv(BW,ajt),LAt=new iv(VW,10),BAt=new iv(HW,1),YAt=(fk(),wQ),JAt=new iv(UW,YAt),UAt=new jd(WW),KAt=dM(1),dM(0),GAt=new iv(GW,KAt),ujt=(dk(),v2),ljt=new iv(KW,ujt),ojt=new jd(qW),ejt=new iv(JW,!0),QAt=new iv(YW,2),njt=new iv(XW,!0),Ckt=(xI(),LQ),Skt=new iv(egt,Ckt),xkt=(LI(),hQ),bkt=new iv(tgt,xkt),XOt=(VN(),i2),YOt=new iv(ZW,XOt),JOt=new iv(ngt,!1),qOt=new iv(rgt,!1),HOt=(ZN(),tZ),VOt=new iv(QW,HOt),KOt=(oM(),V0),GOt=new iv(igt,KOt),UOt=new iv($W,0),WOt=new iv(eG,0),Wkt=DQ,Ukt=xQ,Qkt=z0,eAt=z0,Kkt=L0,skt=(cM(),C8),pkt=SQ,akt=SQ,tkt=SQ,nkt=C8,hAt=Z0,gAt=J0,uAt=J0,pAt=J0,vAt=X0,CAt=Z0,SAt=Z0,Mkt=(XM(),v8),Pkt=v8,Fkt=_2,Tkt=_8,RAt=x2,zAt=y2,VAt=x2,HAt=y2,XAt=x2,ZAt=y2,WAt=CQ,qAt=wQ,djt=x2,fjt=y2,sjt=x2,cjt=y2,tjt=y2,$At=y2,rjt=y2}function Qft(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se,w,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De=0,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie;for(oe=t,ce=0,de=oe.length;ce0&&(e.a[ve.p]=De++)}for(Me=0,se=n,le=0,fe=se.length;le0;){for(ve=(nb(Se.b>0),F(Se.a.Xb(Se.c=--Se.b),12)),xe=0,c=new D(ve.e);c.a0&&(ve.j==(Vz(),i5)?(e.a[ve.p]=Me,++Me):(e.a[ve.p]=Me+pe+he,++he))}Me+=he}for(be=new Xd,h=new fv,ae=t,w=0,ue=ae.length;wu.b&&(u.b=Ce)):ve.i.c==Ee&&(Ceu.c&&(u.c=Ce));for(MD(g,0,g.length,null),je=H(q9,bV,28,g.length,15,1),i=H(q9,bV,28,Me+1,15,1),v=0;v0;)te%2>0&&(a+=Fe[te+1]),te=(te-1)/2|0,++Fe[te];for(C=H(kNt,gB,374,g.length*2,0,1),x=0;x0&&Nw(w.f),J(v,qzt)!=null&&(c=F(J(v,qzt),347),be=c.Tg(v),Cv(v,r.Math.max(v.g,be.a),r.Math.max(v.f,be.b)));if(fe=F(J(t,L6),107),m=t.g-(fe.b+fe.c),p=t.f-(fe.d+fe.a),Ce.bh(`Available Child Area: (`+m+`|`+p+`)`),EP(t,h6,m/p),OXe(t,a,i.eh(ue)),F(J(t,a8),280)==B5&&(sft(t),Cv(t,fe.b+k(P(J(t,_6)))+fe.c,fe.d+k(P(J(t,g6)))+fe.a)),Ce.bh(`Executed layout algorithm: `+eb(J(t,m6))+` on node `+t.k),F(J(t,a8),280)==z5){if(m<0||p<0)throw O(new Xp(`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(lD(t,_6)||lD(t,g6)||sft(t),g=k(P(J(t,_6))),h=k(P(J(t,g6))),Ce.bh(`Desired Child Area: (`+g+`|`+h+`)`),me=m/g,he=p/h,pe=r.Math.min(me,r.Math.min(he,k(P(J(t,Wzt))))),EP(t,o8,pe),Ce.bh(t.k+` -- Local Scale Factor (X|Y): (`+me+`|`+he+`)`),x=F(J(t,v6),21),o=0,s=0,pe'?`:Db(Fyt,e)?`'(?<' or '(? toIndex: `,qpt=`, toIndex: `,Jpt=`Index: `,Ypt=`, Size: `,pH=`org.eclipse.elk.alg.common`,mH={50:1},Xpt=`org.eclipse.elk.alg.common.compaction`,Zpt=`Scanline/EventHandler`,hH=`org.eclipse.elk.alg.common.compaction.oned`,Qpt=`CNode belongs to another CGroup.`,$pt=`ISpacingsHandler/1`,gH=`The `,_H=` instance has been finished already.`,emt=`The direction `,tmt=` is not supported by the CGraph instance.`,nmt=`OneDimensionalCompactor`,rmt=`OneDimensionalCompactor/lambda$0$Type`,imt=`Quadruplet`,amt=`ScanlineConstraintCalculator`,omt=`ScanlineConstraintCalculator/ConstraintsScanlineHandler`,smt=`ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type`,cmt=`ScanlineConstraintCalculator/Timestamp`,lmt=`ScanlineConstraintCalculator/lambda$0$Type`,vH={178:1,46:1},yH=`org.eclipse.elk.alg.common.compaction.options`,bH=`org.eclipse.elk.core.data`,umt=`org.eclipse.elk.polyomino.traversalStrategy`,dmt=`org.eclipse.elk.polyomino.lowLevelSort`,fmt=`org.eclipse.elk.polyomino.highLevelSort`,pmt=`org.eclipse.elk.polyomino.fill`,xH={134:1},SH=`polyomino`,CH=`org.eclipse.elk.alg.common.networksimplex`,wH={183:1,3:1,4:1},mmt=`org.eclipse.elk.alg.common.nodespacing`,TH=`org.eclipse.elk.alg.common.nodespacing.cellsystem`,EH=`CENTER`,hmt={217:1,336:1},gmt={3:1,4:1,5:1,603:1},DH=`LEFT`,OH=`RIGHT`,_mt=`Vertical alignment cannot be null`,vmt=`BOTTOM`,kH=`org.eclipse.elk.alg.common.nodespacing.internal`,AH=`UNDEFINED`,jH=.01,MH=`org.eclipse.elk.alg.common.nodespacing.internal.algorithm`,ymt=`LabelPlacer/lambda$0$Type`,bmt=`LabelPlacer/lambda$1$Type`,xmt=`portRatioOrPosition`,NH=`org.eclipse.elk.alg.common.overlaps`,PH=`DOWN`,FH=`org.eclipse.elk.alg.common.polyomino`,IH=`NORTH`,LH=`EAST`,RH=`SOUTH`,zH=`WEST`,BH=`org.eclipse.elk.alg.common.polyomino.structures`,Smt=`Direction`,VH=`Grid is only of size `,HH=`. Requested point (`,UH=`) is out of bounds.`,WH=` Given center based coordinates were (`,GH=`org.eclipse.elk.graph.properties`,Cmt=`IPropertyHolder`,wmt={3:1,96:1,137:1},KH=`org.eclipse.elk.alg.common.spore`,Tmt=`org.eclipse.elk.alg.common.utils`,qH={205:1},JH=`org.eclipse.elk.core`,Emt=`Connected Components Compaction`,Dmt=`org.eclipse.elk.alg.disco`,YH=`org.eclipse.elk.alg.disco.graph`,XH=`org.eclipse.elk.alg.disco.options`,Omt=`CompactionStrategy`,kmt=`org.eclipse.elk.disco.componentCompaction.strategy`,Amt=`org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm`,jmt=`org.eclipse.elk.disco.debug.discoGraph`,Mmt=`org.eclipse.elk.disco.debug.discoPolys`,Nmt=`componentCompaction`,ZH=`org.eclipse.elk.disco`,QH=`org.eclipse.elk.spacing.componentComponent`,$H=`org.eclipse.elk.edge.thickness`,eU=`org.eclipse.elk.aspectRatio`,tU=`org.eclipse.elk.padding`,nU=`org.eclipse.elk.alg.disco.transform`,rU=1.5707963267948966,iU=17976931348623157e292,aU={3:1,4:1,5:1,198:1},Pmt={3:1,6:1,4:1,5:1,100:1,115:1},oU=`org.eclipse.elk.alg.force`,Fmt=`ComponentsProcessor`,Imt=`ComponentsProcessor/1`,Lmt=`ElkGraphImporter/lambda$0$Type`,sU=`org.eclipse.elk.alg.force.graph`,Rmt=`Component Layout`,zmt=`org.eclipse.elk.alg.force.model`,cU=`org.eclipse.elk.force.model`,Bmt=`org.eclipse.elk.force.iterations`,Vmt=`org.eclipse.elk.force.repulsivePower`,lU=`org.eclipse.elk.force.temperature`,uU=.001,dU=`org.eclipse.elk.force.repulsion`,fU=`org.eclipse.elk.alg.force.options`,pU=1.600000023841858,mU=`org.eclipse.elk.force`,hU=`org.eclipse.elk.priority`,gU=`org.eclipse.elk.spacing.nodeNode`,_U=`org.eclipse.elk.spacing.edgeLabel`,vU=`org.eclipse.elk.randomSeed`,yU=`org.eclipse.elk.separateConnectedComponents`,bU=`org.eclipse.elk.interactive`,xU=`org.eclipse.elk.portConstraints`,SU=`org.eclipse.elk.edgeLabels.inline`,CU=`org.eclipse.elk.omitNodeMicroLayout`,wU=`org.eclipse.elk.nodeSize.fixedGraphSize`,TU=`org.eclipse.elk.nodeSize.options`,EU=`org.eclipse.elk.nodeSize.constraints`,DU=`org.eclipse.elk.nodeLabels.placement`,OU=`org.eclipse.elk.portLabels.placement`,kU=`org.eclipse.elk.topdownLayout`,AU=`org.eclipse.elk.topdown.scaleFactor`,jU=`org.eclipse.elk.topdown.hierarchicalNodeWidth`,MU=`org.eclipse.elk.topdown.hierarchicalNodeAspectRatio`,NU=`org.eclipse.elk.topdown.nodeType`,Hmt=`origin`,Umt=`random`,Wmt=`boundingBox.upLeft`,Gmt=`boundingBox.lowRight`,Kmt=`org.eclipse.elk.stress.fixed`,qmt=`org.eclipse.elk.stress.desiredEdgeLength`,Jmt=`org.eclipse.elk.stress.dimension`,Ymt=`org.eclipse.elk.stress.epsilon`,Xmt=`org.eclipse.elk.stress.iterationLimit`,PU=`org.eclipse.elk.stress`,Zmt=`ELK Stress`,FU=`org.eclipse.elk.nodeSize.minimum`,IU=`org.eclipse.elk.alg.force.stress`,Qmt=`Layered layout`,LU=`org.eclipse.elk.alg.layered`,RU=`org.eclipse.elk.alg.layered.compaction.components`,zU=`org.eclipse.elk.alg.layered.compaction.oned`,BU=`org.eclipse.elk.alg.layered.compaction.oned.algs`,VU=`org.eclipse.elk.alg.layered.compaction.recthull`,HU=`org.eclipse.elk.alg.layered.components`,UU=`NONE`,$mt=`MODEL_ORDER`,WU={3:1,6:1,4:1,9:1,5:1,126:1},eht={3:1,6:1,4:1,5:1,150:1,100:1,115:1},GU=`org.eclipse.elk.alg.layered.compound`,KU={47:1},qU=`org.eclipse.elk.alg.layered.graph`,JU=` -> `,tht=`Not supported by LGraph`,nht=`Port side is undefined`,YU={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},XU={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},rht={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},iht=`([{"' \r -`,aht=`)]}"' \r -`,oht=`The given string contains parts that cannot be parsed as numbers.`,ZU=`org.eclipse.elk.core.math`,sht={3:1,4:1,140:1,214:1,423:1},cht={3:1,4:1,107:1,214:1,423:1},QU=`org.eclipse.elk.alg.layered.graph.transform`,lht=`ElkGraphImporter`,uht=`ElkGraphImporter/lambda$1$Type`,dht=`ElkGraphImporter/lambda$2$Type`,fht=`ElkGraphImporter/lambda$4$Type`,$U=`org.eclipse.elk.alg.layered.intermediate`,pht=`Node margin calculation`,mht=`ONE_SIDED_GREEDY_SWITCH`,hht=`TWO_SIDED_GREEDY_SWITCH`,eW=`No implementation is available for the layout processor `,tW=`IntermediateProcessorStrategy`,nW=`Node '`,ght=`FIRST_SEPARATE`,_ht=`LAST_SEPARATE`,vht=`Odd port side processing`,rW=`org.eclipse.elk.alg.layered.intermediate.compaction`,iW=`org.eclipse.elk.alg.layered.intermediate.greedyswitch`,aW=`org.eclipse.elk.alg.layered.p3order.counting`,oW={230:1},sW=`org.eclipse.elk.alg.layered.intermediate.loops`,cW=`org.eclipse.elk.alg.layered.intermediate.loops.ordering`,lW=`org.eclipse.elk.alg.layered.intermediate.loops.routing`,yht=`org.eclipse.elk.alg.layered.intermediate.preserveorder`,uW=`org.eclipse.elk.alg.layered.intermediate.wrapping`,dW=`org.eclipse.elk.alg.layered.options`,fW=`INTERACTIVE`,bht=`GREEDY`,xht=`DEPTH_FIRST`,Sht=`EDGE_LENGTH`,Cht=`SELF_LOOPS`,wht=`firstTryWithInitialOrder`,Tht=`org.eclipse.elk.layered.directionCongruency`,Eht=`org.eclipse.elk.layered.feedbackEdges`,pW=`org.eclipse.elk.layered.interactiveReferencePoint`,Dht=`org.eclipse.elk.layered.mergeEdges`,Oht=`org.eclipse.elk.layered.mergeHierarchyEdges`,kht=`org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides`,Aht=`org.eclipse.elk.layered.portSortingStrategy`,jht=`org.eclipse.elk.layered.thoroughness`,Mht=`org.eclipse.elk.layered.unnecessaryBendpoints`,Nht=`org.eclipse.elk.layered.generatePositionAndLayerIds`,mW=`org.eclipse.elk.layered.cycleBreaking.strategy`,hW=`org.eclipse.elk.layered.layering.strategy`,Pht=`org.eclipse.elk.layered.layering.layerConstraint`,Fht=`org.eclipse.elk.layered.layering.layerChoiceConstraint`,Iht=`org.eclipse.elk.layered.layering.layerId`,gW=`org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth`,_W=`org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor`,vW=`org.eclipse.elk.layered.layering.nodePromotion.strategy`,yW=`org.eclipse.elk.layered.layering.nodePromotion.maxIterations`,bW=`org.eclipse.elk.layered.layering.coffmanGraham.layerBound`,xW=`org.eclipse.elk.layered.crossingMinimization.strategy`,Lht=`org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder`,SW=`org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness`,CW=`org.eclipse.elk.layered.crossingMinimization.semiInteractive`,Rht=`org.eclipse.elk.layered.crossingMinimization.inLayerPredOf`,zht=`org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf`,Bht=`org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint`,Vht=`org.eclipse.elk.layered.crossingMinimization.positionId`,Hht=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold`,wW=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.type`,TW=`org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type`,EW=`org.eclipse.elk.layered.nodePlacement.strategy`,DW=`org.eclipse.elk.layered.nodePlacement.favorStraightEdges`,OW=`org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening`,kW=`org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment`,AW=`org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening`,jW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility`,MW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default`,Uht=`org.eclipse.elk.layered.edgeRouting.selfLoopDistribution`,Wht=`org.eclipse.elk.layered.edgeRouting.selfLoopOrdering`,NW=`org.eclipse.elk.layered.edgeRouting.splines.mode`,PW=`org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor`,FW=`org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth`,Ght=`org.eclipse.elk.layered.spacing.baseValue`,Kht=`org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers`,qht=`org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers`,Jht=`org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers`,Yht=`org.eclipse.elk.layered.priority.direction`,Xht=`org.eclipse.elk.layered.priority.shortness`,Zht=`org.eclipse.elk.layered.priority.straightness`,IW=`org.eclipse.elk.layered.compaction.connectedComponents`,Qht=`org.eclipse.elk.layered.compaction.postCompaction.strategy`,$ht=`org.eclipse.elk.layered.compaction.postCompaction.constraints`,LW=`org.eclipse.elk.layered.highDegreeNodes.treatment`,RW=`org.eclipse.elk.layered.highDegreeNodes.threshold`,zW=`org.eclipse.elk.layered.highDegreeNodes.treeHeight`,BW=`org.eclipse.elk.layered.wrapping.strategy`,VW=`org.eclipse.elk.layered.wrapping.additionalEdgeSpacing`,HW=`org.eclipse.elk.layered.wrapping.correctionFactor`,UW=`org.eclipse.elk.layered.wrapping.cutting.strategy`,WW=`org.eclipse.elk.layered.wrapping.cutting.cuts`,GW=`org.eclipse.elk.layered.wrapping.cutting.msd.freedom`,KW=`org.eclipse.elk.layered.wrapping.validify.strategy`,qW=`org.eclipse.elk.layered.wrapping.validify.forbiddenIndices`,JW=`org.eclipse.elk.layered.wrapping.multiEdge.improveCuts`,YW=`org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty`,XW=`org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges`,egt=`org.eclipse.elk.layered.edgeLabels.sideSelection`,tgt=`org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy`,ZW=`org.eclipse.elk.layered.considerModelOrder.strategy`,ngt=`org.eclipse.elk.layered.considerModelOrder.portModelOrder`,rgt=`org.eclipse.elk.layered.considerModelOrder.noModelOrder`,QW=`org.eclipse.elk.layered.considerModelOrder.components`,igt=`org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy`,$W=`org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence`,eG=`org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence`,tG=`layering`,agt=`layering.minWidth`,ogt=`layering.nodePromotion`,nG=`crossingMinimization`,rG=`org.eclipse.elk.hierarchyHandling`,sgt=`crossingMinimization.greedySwitch`,cgt=`nodePlacement`,lgt=`nodePlacement.bk`,ugt=`edgeRouting`,iG=`org.eclipse.elk.edgeRouting`,aG=`spacing`,dgt=`priority`,fgt=`compaction`,pgt=`compaction.postCompaction`,mgt=`Specifies whether and how post-process compaction is applied.`,hgt=`highDegreeNodes`,ggt=`wrapping`,_gt=`wrapping.cutting`,vgt=`wrapping.validify`,ygt=`wrapping.multiEdge`,oG=`edgeLabels`,sG=`considerModelOrder`,bgt=`org.eclipse.elk.spacing.commentComment`,xgt=`org.eclipse.elk.spacing.commentNode`,Sgt=`org.eclipse.elk.spacing.edgeEdge`,cG=`org.eclipse.elk.spacing.edgeNode`,Cgt=`org.eclipse.elk.spacing.labelLabel`,wgt=`org.eclipse.elk.spacing.labelPortHorizontal`,Tgt=`org.eclipse.elk.spacing.labelPortVertical`,Egt=`org.eclipse.elk.spacing.labelNode`,Dgt=`org.eclipse.elk.spacing.nodeSelfLoop`,Ogt=`org.eclipse.elk.spacing.portPort`,kgt=`org.eclipse.elk.spacing.individual`,Agt=`org.eclipse.elk.port.borderOffset`,jgt=`org.eclipse.elk.noLayout`,Mgt=`org.eclipse.elk.port.side`,lG=`org.eclipse.elk.debugMode`,Ngt=`org.eclipse.elk.alignment`,Pgt=`org.eclipse.elk.insideSelfLoops.activate`,Fgt=`org.eclipse.elk.insideSelfLoops.yo`,uG=`org.eclipse.elk.direction`,Igt=`org.eclipse.elk.nodeLabels.padding`,Lgt=`org.eclipse.elk.portLabels.nextToPortIfPossible`,Rgt=`org.eclipse.elk.portLabels.treatAsGroup`,zgt=`org.eclipse.elk.portAlignment.default`,Bgt=`org.eclipse.elk.portAlignment.north`,Vgt=`org.eclipse.elk.portAlignment.south`,Hgt=`org.eclipse.elk.portAlignment.west`,Ugt=`org.eclipse.elk.portAlignment.east`,dG=`org.eclipse.elk.contentAlignment`,Wgt=`org.eclipse.elk.junctionPoints`,Ggt=`org.eclipse.elk.edgeLabels.placement`,Kgt=`org.eclipse.elk.port.index`,qgt=`org.eclipse.elk.commentBox`,Jgt=`org.eclipse.elk.hypernode`,Ygt=`org.eclipse.elk.port.anchor`,fG=`org.eclipse.elk.partitioning.activate`,pG=`org.eclipse.elk.partitioning.partition`,mG=`org.eclipse.elk.position`,Xgt=`org.eclipse.elk.margins`,Zgt=`org.eclipse.elk.spacing.portsSurrounding`,hG=`org.eclipse.elk.interactiveLayout`,gG=`org.eclipse.elk.core.util`,Qgt={3:1,4:1,5:1,601:1},$gt=`NETWORK_SIMPLEX`,e_t=`SIMPLE`,_G={106:1,47:1},vG=`org.eclipse.elk.alg.layered.p1cycles`,yG=`org.eclipse.elk.alg.layered.p2layers`,t_t={413:1,230:1},n_t={846:1,3:1,4:1},bG=`org.eclipse.elk.alg.layered.p3order`,xG=`org.eclipse.elk.alg.layered.p4nodes`,r_t={3:1,4:1,5:1,854:1},SG=1e-5,CG=`org.eclipse.elk.alg.layered.p4nodes.bk`,wG=`org.eclipse.elk.alg.layered.p5edges`,TG=`org.eclipse.elk.alg.layered.p5edges.orthogonal`,EG=`org.eclipse.elk.alg.layered.p5edges.orthogonal.direction`,DG=1e-6,OG=`org.eclipse.elk.alg.layered.p5edges.splines`,kG=.09999999999999998,AG=1e-8,i_t=4.71238898038469,a_t=3.141592653589793,jG=`org.eclipse.elk.alg.mrtree`,MG=.10000000149011612,NG=`SUPER_ROOT`,PG=`org.eclipse.elk.alg.mrtree.graph`,o_t=-17976931348623157e292,FG=`org.eclipse.elk.alg.mrtree.intermediate`,s_t=`Processor compute fanout`,IG={3:1,6:1,4:1,5:1,534:1,100:1,115:1},c_t=`Set neighbors in level`,LG=`org.eclipse.elk.alg.mrtree.options`,l_t=`DESCENDANTS`,u_t=`org.eclipse.elk.mrtree.compaction`,d_t=`org.eclipse.elk.mrtree.edgeEndTextureLength`,f_t=`org.eclipse.elk.mrtree.treeLevel`,p_t=`org.eclipse.elk.mrtree.positionConstraint`,m_t=`org.eclipse.elk.mrtree.weighting`,h_t=`org.eclipse.elk.mrtree.edgeRoutingMode`,g_t=`org.eclipse.elk.mrtree.searchOrder`,__t=`Position Constraint`,RG=`org.eclipse.elk.mrtree`,v_t=`org.eclipse.elk.tree`,y_t=`Processor arrange level`,zG=`org.eclipse.elk.alg.mrtree.p2order`,BG=`org.eclipse.elk.alg.mrtree.p4route`,b_t=`org.eclipse.elk.alg.radial`,VG=6.283185307179586,x_t=`Before`,S_t=5e-324,HG=`After`,C_t=`org.eclipse.elk.alg.radial.intermediate`,w_t=`COMPACTION`,UG=`org.eclipse.elk.alg.radial.intermediate.compaction`,T_t={3:1,4:1,5:1,100:1},E_t=`org.eclipse.elk.alg.radial.intermediate.optimization`,WG=`No implementation is available for the layout option `,GG=`org.eclipse.elk.alg.radial.options`,D_t=`org.eclipse.elk.radial.centerOnRoot`,O_t=`org.eclipse.elk.radial.orderId`,k_t=`org.eclipse.elk.radial.radius`,KG=`org.eclipse.elk.radial.rotate`,qG=`org.eclipse.elk.radial.compactor`,JG=`org.eclipse.elk.radial.compactionStepSize`,A_t=`org.eclipse.elk.radial.sorter`,j_t=`org.eclipse.elk.radial.wedgeCriteria`,M_t=`org.eclipse.elk.radial.optimizationCriteria`,YG=`org.eclipse.elk.radial.rotation.targetAngle`,XG=`org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace`,N_t=`org.eclipse.elk.radial.rotation.outgoingEdgeAngles`,P_t=`Compaction`,F_t=`rotation`,ZG=`org.eclipse.elk.radial`,I_t=`org.eclipse.elk.alg.radial.p1position.wedge`,L_t=`org.eclipse.elk.alg.radial.sorting`,R_t=5.497787143782138,z_t=3.9269908169872414,B_t=2.356194490192345,V_t=`org.eclipse.elk.alg.rectpacking`,QG=`org.eclipse.elk.alg.rectpacking.intermediate`,$G=`org.eclipse.elk.alg.rectpacking.options`,H_t=`org.eclipse.elk.rectpacking.trybox`,U_t=`org.eclipse.elk.rectpacking.currentPosition`,W_t=`org.eclipse.elk.rectpacking.desiredPosition`,G_t=`org.eclipse.elk.rectpacking.inNewRow`,K_t=`org.eclipse.elk.rectpacking.widthApproximation.strategy`,q_t=`org.eclipse.elk.rectpacking.widthApproximation.targetWidth`,J_t=`org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal`,Y_t=`org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift`,X_t=`org.eclipse.elk.rectpacking.packing.strategy`,Z_t=`org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation`,Q_t=`org.eclipse.elk.rectpacking.packing.compaction.iterations`,$_t=`org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy`,eK=`widthApproximation`,evt=`Compaction Strategy`,tvt=`packing.compaction`,tK=`org.eclipse.elk.rectpacking`,nK=`org.eclipse.elk.alg.rectpacking.p1widthapproximation`,rK=`org.eclipse.elk.alg.rectpacking.p2packing`,nvt=`No Compaction`,rvt=`org.eclipse.elk.alg.rectpacking.p3whitespaceelimination`,iK=`org.eclipse.elk.alg.rectpacking.util`,aK=`No implementation available for `,oK=`org.eclipse.elk.alg.spore`,sK=`org.eclipse.elk.alg.spore.options`,cK=`org.eclipse.elk.sporeCompaction`,lK=`org.eclipse.elk.underlyingLayoutAlgorithm`,ivt=`org.eclipse.elk.processingOrder.treeConstruction`,avt=`org.eclipse.elk.processingOrder.spanningTreeCostFunction`,uK=`org.eclipse.elk.processingOrder.preferredRoot`,dK=`org.eclipse.elk.processingOrder.rootSelection`,fK=`org.eclipse.elk.structure.structureExtractionStrategy`,ovt=`org.eclipse.elk.compaction.compactionStrategy`,svt=`org.eclipse.elk.compaction.orthogonal`,cvt=`org.eclipse.elk.overlapRemoval.maxIterations`,lvt=`org.eclipse.elk.overlapRemoval.runScanline`,pK=`processingOrder`,uvt=`overlapRemoval`,mK=`org.eclipse.elk.sporeOverlap`,dvt=`org.eclipse.elk.alg.spore.p1structure`,hK=`org.eclipse.elk.alg.spore.p2processingorder`,gK=`org.eclipse.elk.alg.spore.p3execution`,fvt=`Topdown Layout`,pvt=`Invalid index: `,_K=`org.eclipse.elk.core.alg`,vK={341:1},yK={295:1},mvt=`Make sure its type is registered with the `,hvt=` utility class.`,bK=`true`,xK=`false`,gvt=`Couldn't clone property '`,SK=.05,CK=`org.eclipse.elk.core.options`,_vt=1.2999999523162842,wK=`org.eclipse.elk.box`,vvt=`org.eclipse.elk.expandNodes`,yvt=`org.eclipse.elk.box.packingMode`,bvt=`org.eclipse.elk.algorithm`,xvt=`org.eclipse.elk.resolvedAlgorithm`,Svt=`org.eclipse.elk.bendPoints`,Cvt=`org.eclipse.elk.labelManager`,wvt=`org.eclipse.elk.scaleFactor`,Tvt=`org.eclipse.elk.childAreaWidth`,Evt=`org.eclipse.elk.childAreaHeight`,Dvt=`org.eclipse.elk.animate`,Ovt=`org.eclipse.elk.animTimeFactor`,kvt=`org.eclipse.elk.layoutAncestors`,Avt=`org.eclipse.elk.maxAnimTime`,jvt=`org.eclipse.elk.minAnimTime`,Mvt=`org.eclipse.elk.progressBar`,Nvt=`org.eclipse.elk.validateGraph`,Pvt=`org.eclipse.elk.validateOptions`,Fvt=`org.eclipse.elk.zoomToFit`,Ivt=`org.eclipse.elk.font.name`,Lvt=`org.eclipse.elk.font.size`,Rvt=`org.eclipse.elk.topdown.sizeApproximator`,zvt=`org.eclipse.elk.topdown.scaleCap`,Bvt=`org.eclipse.elk.edge.type`,Vvt=`partitioning`,Hvt=`nodeLabels`,TK=`portAlignment`,EK=`nodeSize`,DK=`port`,Uvt=`portLabels`,OK=`topdown`,Wvt=`insideSelfLoops`,kK=`org.eclipse.elk.fixed`,AK=`org.eclipse.elk.random`,Gvt={3:1,34:1,22:1,347:1},Kvt=`port must have a parent node to calculate the port side`,qvt=`The edge needs to have exactly one edge section. Found: `,jK=`org.eclipse.elk.core.util.adapters`,MK=`org.eclipse.emf.ecore`,NK=`org.eclipse.elk.graph`,Jvt=`EMapPropertyHolder`,Yvt=`ElkBendPoint`,Xvt=`ElkGraphElement`,Zvt=`ElkConnectableShape`,Qvt=`ElkEdge`,$vt=`ElkEdgeSection`,eyt=`EModelElement`,tyt=`ENamedElement`,nyt=`ElkLabel`,ryt=`ElkNode`,iyt=`ElkPort`,ayt={94:1,93:1},PK=`org.eclipse.emf.common.notify.impl`,FK=`The feature '`,IK=`' is not a valid changeable feature`,oyt=`Expecting null`,LK=`' is not a valid feature`,syt=`The feature ID`,cyt=` is not a valid feature ID`,RK=32768,lyt={110:1,94:1,93:1,58:1,54:1,99:1},zK=`org.eclipse.emf.ecore.impl`,BK=`org.eclipse.elk.graph.impl`,VK=`Recursive containment not allowed for `,HK=`The datatype '`,UK=`' is not a valid classifier`,WK=`The value '`,GK={195:1,3:1,4:1},KK=`The class '`,qK=`http://www.eclipse.org/elk/ElkGraph`,uyt=`property`,JK=`value`,YK=`source`,dyt=`properties`,fyt=`identifier`,XK=`height`,ZK=`width`,QK=`parent`,$K=`text`,eq=`children`,pyt=`hierarchical`,myt=`sources`,tq=`targets`,hyt=`sections`,nq=`bendPoints`,gyt=`outgoingShape`,_yt=`incomingShape`,vyt=`outgoingSections`,yyt=`incomingSections`,rq=`org.eclipse.emf.common.util`,byt=`Severe implementation error in the Json to ElkGraph importer.`,iq=`id`,aq=`org.eclipse.elk.graph.json`,xyt=`Unhandled parameter types: `,Syt=`startPoint`,Cyt=`An edge must have at least one source and one target (edge id: '`,oq=`').`,wyt=`Referenced edge section does not exist: `,Tyt=` (edge id: '`,Eyt=`target`,Dyt=`sourcePoint`,Oyt=`targetPoint`,sq=`group`,cq=`name`,kyt=`connectableShape cannot be null`,Ayt=`edge cannot be null`,lq=`Passed edge is not 'simple'.`,uq=`org.eclipse.elk.graph.util`,dq=`The 'no duplicates' constraint is violated`,fq=`targetIndex=`,pq=`, size=`,mq=`sourceIndex=`,hq={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},gq={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},_q=`logging`,jyt=`measureExecutionTime`,Myt=`parser.parse.1`,Nyt=`parser.parse.2`,vq=`parser.next.1`,Pyt=`parser.next.2`,Fyt=`parser.next.3`,Iyt=`parser.next.4`,yq=`parser.factor.1`,Lyt=`parser.factor.2`,Ryt=`parser.factor.3`,zyt=`parser.factor.4`,Byt=`parser.factor.5`,Vyt=`parser.factor.6`,Hyt=`parser.atom.1`,Uyt=`parser.atom.2`,Wyt=`parser.atom.3`,Gyt=`parser.atom.4`,Kyt=`parser.atom.5`,qyt=`parser.cc.1`,bq=`parser.cc.2`,Jyt=`parser.cc.3`,Yyt=`parser.cc.5`,Xyt=`parser.cc.6`,Zyt=`parser.cc.7`,Qyt=`parser.cc.8`,$yt=`parser.ope.1`,ebt=`parser.ope.2`,tbt=`parser.ope.3`,xq=`parser.descape.1`,nbt=`parser.descape.2`,rbt=`parser.descape.3`,ibt=`parser.descape.4`,abt=`parser.descape.5`,Sq=`parser.process.1`,obt=`parser.quantifier.1`,sbt=`parser.quantifier.2`,cbt=`parser.quantifier.3`,lbt=`parser.quantifier.4`,ubt=`parser.quantifier.5`,dbt=`org.eclipse.emf.common.notify`,fbt={424:1,686:1},pbt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},Cq={378:1,152:1},wq=`index=`,mbt={3:1,4:1,5:1,129:1},hbt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},gbt={3:1,6:1,4:1,5:1,198:1},_bt={3:1,4:1,5:1,173:1,379:1},vbt=`;/?:@&=+$,`,ybt=`invalid authority: `,bbt=`EAnnotation`,xbt=`ETypedElement`,Sbt=`EStructuralFeature`,Cbt=`EAttribute`,wbt=`EClassifier`,Tbt=`EEnumLiteral`,Ebt=`EGenericType`,Dbt=`EOperation`,Obt=`EParameter`,kbt=`EReference`,Abt=`ETypeParameter`,Tq=`org.eclipse.emf.ecore.util`,jbt={79:1},Mbt={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},Nbt=`org.eclipse.emf.ecore.util.FeatureMap$Entry`,Eq=8192,Dq=2048,Oq=`byte`,kq=`char`,Aq=`double`,jq=`float`,Mq=`int`,Nq=`long`,Pq=`short`,Pbt=`java.lang.Object`,Fq={3:1,4:1,5:1,254:1},Fbt={3:1,4:1,5:1,688:1},Ibt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Iq={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},Lq=`mixed`,Rq=`http:///org/eclipse/emf/ecore/util/ExtendedMetaData`,zq=`kind`,Lbt={3:1,4:1,5:1,689:1},Rbt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},Bq={20:1,31:1,56:1,16:1,15:1,61:1,71:1},Vq={51:1,128:1,287:1},Hq={76:1,343:1},Uq=`The value of type '`,Wq=`' must be of type '`,Gq=1352,Kq=`http://www.eclipse.org/emf/2002/Ecore`,qq=-32768,Jq=`constraints`,Yq=`baseType`,zbt=`getEStructuralFeature`,Bbt=`getFeatureID`,Xq=`feature`,Vbt=`getOperationID`,Hbt=`operation`,Ubt=`defaultValue`,Wbt=`eTypeParameters`,Gbt=`isInstance`,Kbt=`getEEnumLiteral`,qbt=`eContainingClass`,Zq={57:1},Jbt={3:1,4:1,5:1,124:1},Ybt=`org.eclipse.emf.ecore.resource`,Xbt={94:1,93:1,599:1,2034:1},Qq=`org.eclipse.emf.ecore.resource.impl`,Zbt=`unspecified`,$q=`simple`,eJ=`attribute`,Qbt=`attributeWildcard`,tJ=`element`,nJ=`elementWildcard`,rJ=`collapse`,iJ=`itemType`,aJ=`namespace`,oJ=`##targetNamespace`,sJ=`whiteSpace`,$bt=`wildcards`,cJ=`http://www.eclipse.org/emf/2003/XMLType`,lJ=`##any`,uJ=`uninitialized`,dJ=`The multiplicity constraint is violated`,fJ=`org.eclipse.emf.ecore.xml.type`,ext=`ProcessingInstruction`,txt=`SimpleAnyType`,nxt=`XMLTypeDocumentRoot`,pJ=`org.eclipse.emf.ecore.xml.type.impl`,mJ=`INF`,rxt=`processing`,ixt=`ENTITIES_._base`,axt=`minLength`,oxt=`ENTITY`,hJ=`NCName`,sxt=`IDREFS_._base`,cxt=`integer`,gJ=`token`,_J=`pattern`,lxt=`[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*`,uxt=`\\i\\c*`,dxt=`[\\i-[:]][\\c-[:]]*`,fxt=`nonPositiveInteger`,vJ=`maxInclusive`,pxt=`NMTOKEN`,mxt=`NMTOKENS_._base`,hxt=`nonNegativeInteger`,yJ=`minInclusive`,gxt=`normalizedString`,_xt=`unsignedByte`,vxt=`unsignedInt`,yxt=`18446744073709551615`,bxt=`unsignedShort`,xxt=`processingInstruction`,bJ=`org.eclipse.emf.ecore.xml.type.internal`,xJ=1114111,Sxt=`Internal Error: shorthands: \\u`,SJ=`xml:isDigit`,CJ=`xml:isWord`,wJ=`xml:isSpace`,TJ=`xml:isNameChar`,EJ=`xml:isInitialNameChar`,Cxt=`09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩`,wxt=`AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣`,Txt=`Private Use`,DJ=`ASSIGNED`,OJ=`\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾＀￯`,Ext=`UNASSIGNED`,kJ={3:1,122:1},Dxt=`org.eclipse.emf.ecore.xml.type.util`,AJ={3:1,4:1,5:1,381:1},Oxt=`org.eclipse.xtext.xbase.lib`,kxt=`Cannot add elements to a Range`,Axt=`Cannot set elements in a Range`,jxt=`Cannot remove elements from a Range`,Mxt=`user.agent`,Q,jJ,Nxt,Pxt=-1;r.goog=r.goog||{},r.goog.global=r.goog.global||r,jJ={},q(1,null,{},a),Q.Fb=function(e){return zme(this,e)},Q.Gb=function(){return this.Rm},Q.Hb=function(){return Ey(this)},Q.Ib=function(){var e;return Bm(Kj(this))+`@`+(e=Wk(this)>>>0,e.toString(16))},Q.equals=function(e){return this.Fb(e)},Q.hashCode=function(){return this.Hb()},Q.toString=function(){return this.Ib()};var Fxt,Ixt,Lxt;q(297,1,{297:1,2124:1},wWe),Q.ve=function(e){var t=new wWe;return t.i=4,e>1?t.c=$Ae(this,e-1):t.c=this,t},Q.we=function(){return tb(this),this.b},Q.xe=function(){return Bm(this)},Q.ye=function(){return tb(this),this.k},Q.ze=function(){return(this.i&4)!=0},Q.Ae=function(){return(this.i&1)!=0},Q.Ib=function(){return Wze(this)},Q.i=0;var Rxt=1,MJ=R(fB,`Object`,1),zxt=R(fB,`Class`,297);q(2096,1,pB),R(mB,`Optional`,2096),q(1191,2096,pB,o),Q.Fb=function(e){return e===this},Q.Hb=function(){return 2040732332},Q.Ib=function(){return`Optional.absent()`},Q.Jb=function(e){return iC(e),Dp(),NJ};var NJ;R(mB,`Absent`,1191),q(636,1,{},om),R(mB,`Joiner`,636);var Bxt=xx(mB,`Predicate`);q(589,1,{178:1,589:1,3:1,46:1},Fc),Q.Mb=function(e){return zWe(this,e)},Q.Lb=function(e){return zWe(this,e)},Q.Fb=function(e){var t;return N(e,589)?(t=F(e,589),h7e(this.a,t.a)):!1},Q.Hb=function(){return HWe(this.a)+306654252},Q.Ib=function(){return A3e(this.a)},R(mB,`Predicates/AndPredicate`,589),q(419,2096,{419:1,3:1},Ic),Q.Fb=function(e){var t;return N(e,419)?(t=F(e,419),xM(this.a,t.a)):!1},Q.Hb=function(){return 1502476572+Wk(this.a)},Q.Ib=function(){return upt+this.a+`)`},Q.Jb=function(e){return new Ic(dw(e.Kb(this.a),`the Function passed to Optional.transform() must not return null.`))},R(mB,`Present`,419),q(204,1,vB),Q.Nb=function(e){ES(this,e)},Q.Qb=function(){nle()},R(yB,`UnmodifiableIterator`,204),q(2076,204,bB),Q.Qb=function(){nle()},Q.Rb=function(e){throw O(new Df)},Q.Wb=function(e){throw O(new Df)},R(yB,`UnmodifiableListIterator`,2076),q(399,2076,bB),Q.Ob=function(){return this.c0},Q.Pb=function(){if(this.c>=this.d)throw O(new Af);return this.Xb(this.c++)},Q.Tb=function(){return this.c},Q.Ub=function(){if(this.c<=0)throw O(new Af);return this.Xb(--this.c)},Q.Vb=function(){return this.c-1},Q.c=0,Q.d=0,R(yB,`AbstractIndexedListIterator`,399),q(713,204,vB),Q.Ob=function(){return Ak(this)},Q.Pb=function(){return GRe(this)},Q.e=1,R(yB,`AbstractIterator`,713),q(2084,1,{229:1}),Q.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},Q.Fb=function(e){return jj(this,e)},Q.Hb=function(){return Wk(this.Zb())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return tS(this)},Q.Ib=function(){return aN(this.Zb())},R(yB,`AbstractMultimap`,2084),q(742,2084,xB),Q.$b=function(){yk(this)},Q._b=function(e){return oue(this,e)},Q.ac=function(){return new nh(this,this.c)},Q.ic=function(e){return this.hc()},Q.bc=function(){return new uy(this,this.c)},Q.jc=function(){return this.mc(this.hc())},Q.kc=function(){return new gce(this)},Q.lc=function(){return aI(this.c.vc().Nc(),new c,64,this.d)},Q.cc=function(e){return UE(this,e)},Q.fc=function(e){return eM(this,e)},Q.gc=function(){return this.d},Q.mc=function(e){return lw(),new Bl(e)},Q.nc=function(){return new hce(this)},Q.oc=function(){return aI(this.c.Cc().Nc(),new s,64,this.d)},Q.pc=function(e,t){return new eD(this,e,t,null)},Q.d=0,R(yB,`AbstractMapBasedMultimap`,742),q(1696,742,xB),Q.hc=function(){return new iD(this.a)},Q.jc=function(){return lw(),lw(),yY},Q.cc=function(e){return F(UE(this,e),15)},Q.fc=function(e){return F(eM(this,e),15)},Q.Zb=function(){return sw(this)},Q.Fb=function(e){return jj(this,e)},Q.qc=function(e){return F(UE(this,e),15)},Q.rc=function(e){return F(eM(this,e),15)},Q.mc=function(e){return _w(F(e,15))},Q.pc=function(e,t){return zNe(this,e,F(t,15),null)},R(yB,`AbstractListMultimap`,1696),q(748,1,SB),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return this.c.Ob()||this.e.Ob()},Q.Pb=function(){var e;return this.e.Ob()||(e=F(this.c.Pb(),44),this.b=e.ld(),this.a=F(e.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},Q.Qb=function(){this.e.Qb(),F(OC(this.a),16).dc()&&this.c.Qb(),--this.d.d},R(yB,`AbstractMapBasedMultimap/Itr`,748),q(1129,748,SB,hce),Q.sc=function(e,t){return t},R(yB,`AbstractMapBasedMultimap/1`,1129),q(1130,1,{},s),Q.Kb=function(e){return F(e,16).Nc()},R(yB,`AbstractMapBasedMultimap/1methodref$spliterator$Type`,1130),q(1131,748,SB,gce),Q.sc=function(e,t){return new ih(e,t)},R(yB,`AbstractMapBasedMultimap/2`,1131);var Vxt=xx(CB,`Map`);q(2065,1,wB),Q.wc=function(e){mA(this,e)},Q.yc=function(e,t,n){return nN(this,e,t,n)},Q.$b=function(){this.vc().$b()},Q.tc=function(e){return tF(this,e)},Q._b=function(e){return!!I0e(this,e,!1)},Q.uc=function(e){var t,n,r;for(n=this.vc().Kc();n.Ob();)if(t=F(n.Pb(),44),r=t.md(),M(e)===M(r)||e!=null&&xM(e,r))return!0;return!1},Q.Fb=function(e){var t,n,r;if(e===this)return!0;if(!N(e,85)||(r=F(e,85),this.gc()!=r.gc()))return!1;for(n=r.vc().Kc();n.Ob();)if(t=F(n.Pb(),44),!this.tc(t))return!1;return!0},Q.xc=function(e){return z_(I0e(this,e,!1))},Q.Hb=function(){return iWe(this.vc())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return new kl(this)},Q.zc=function(e,t){throw O(new Yp(`Put not supported on this map`))},Q.Ac=function(e){uA(this,e)},Q.Bc=function(e){return z_(I0e(this,e,!0))},Q.gc=function(){return this.vc().gc()},Q.Ib=function(){return Y0e(this)},Q.Cc=function(){return new Fl(this)},R(CB,`AbstractMap`,2065),q(2085,2065,wB),Q.bc=function(){return new oh(this)},Q.vc=function(){return FTe(this)},Q.ec=function(){return this.g||=this.bc()},Q.Cc=function(){return this.i||=new lde(this)},R(yB,`Maps/ViewCachingAbstractMap`,2085),q(402,2085,wB,nh),Q.xc=function(e){return Kze(this,e)},Q.Bc=function(e){return kGe(this,e)},Q.$b=function(){this.d==this.e.c?this.e.$b():Ex(new Nwe(this))},Q._b=function(e){return FKe(this.d,e)},Q.Ec=function(){return new Lc(this)},Q.Dc=function(){return this.Ec()},Q.Fb=function(e){return this===e||xM(this.d,e)},Q.Hb=function(){return Wk(this.d)},Q.ec=function(){return this.e.ec()},Q.gc=function(){return this.d.gc()},Q.Ib=function(){return aN(this.d)},R(yB,`AbstractMapBasedMultimap/AsMap`,402);var PJ=xx(fB,`Iterable`);q(31,1,TB),Q.Jc=function(e){TE(this,e)},Q.Lc=function(){return this.Oc()},Q.Nc=function(){return new wT(this,0)},Q.Oc=function(){return new jx(null,this.Nc())},Q.Fc=function(e){throw O(new Yp(`Add not supported on this collection`))},Q.Gc=function(e){return Xk(this,e)},Q.$b=function(){wOe(this)},Q.Hc=function(e){return gN(this,e,!1)},Q.Ic=function(e){return KA(this,e)},Q.dc=function(){return this.gc()==0},Q.Mc=function(e){return gN(this,e,!0)},Q.Pc=function(){return LTe(this)},Q.Qc=function(e){return eF(this,e)},Q.Ib=function(){return hI(this)},R(CB,`AbstractCollection`,31);var FJ=xx(CB,`Set`);q(EB,31,DB),Q.Nc=function(){return new wT(this,1)},Q.Fb=function(e){return ZYe(this,e)},Q.Hb=function(){return iWe(this)},R(CB,`AbstractSet`,EB),q(2068,EB,DB),R(yB,`Sets/ImprovedAbstractSet`,2068),q(2069,2068,DB),Q.$b=function(){this.Rc().$b()},Q.Hc=function(e){return dYe(this,e)},Q.dc=function(){return this.Rc().dc()},Q.Mc=function(e){var t;return this.Hc(e)&&N(e,44)?(t=F(e,44),this.Rc().ec().Mc(t.ld())):!1},Q.gc=function(){return this.Rc().gc()},R(yB,`Maps/EntrySet`,2069),q(1127,2069,DB,Lc),Q.Hc=function(e){return IKe(this.a.d.vc(),e)},Q.Kc=function(){return new Nwe(this.a)},Q.Rc=function(){return this.a},Q.Mc=function(e){var t;return IKe(this.a.d.vc(),e)?(t=F(OC(F(e,44)),44),pIe(this.a.e,t.ld()),!0):!1},Q.Nc=function(){return $b(this.a.d.vc().Nc(),new Mie(this.a))},R(yB,`AbstractMapBasedMultimap/AsMap/AsMapEntries`,1127),q(1128,1,{},Mie),Q.Kb=function(e){return aIe(this.a,F(e,44))},R(yB,`AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type`,1128),q(746,1,SB,Nwe),Q.Nb=function(e){ES(this,e)},Q.Pb=function(){var e;return e=F(this.b.Pb(),44),this.a=F(e.md(),16),aIe(this.c,e)},Q.Ob=function(){return this.b.Ob()},Q.Qb=function(){Rb(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},R(yB,`AbstractMapBasedMultimap/AsMap/AsMapIterator`,746),q(542,2068,DB,oh),Q.$b=function(){this.b.$b()},Q.Hc=function(e){return this.b._b(e)},Q.Jc=function(e){iC(e),this.b.wc(new el(e))},Q.dc=function(){return this.b.dc()},Q.Kc=function(){return new Ap(this.b.vc().Kc())},Q.Mc=function(e){return this.b._b(e)?(this.b.Bc(e),!0):!1},Q.gc=function(){return this.b.gc()},R(yB,`Maps/KeySet`,542),q(327,542,DB,uy),Q.$b=function(){var e;Ex((e=this.b.vc().Kc(),new Xue(this,e)))},Q.Ic=function(e){return this.b.ec().Ic(e)},Q.Fb=function(e){return this===e||xM(this.b.ec(),e)},Q.Hb=function(){return Wk(this.b.ec())},Q.Kc=function(){var e;return e=this.b.vc().Kc(),new Xue(this,e)},Q.Mc=function(e){var t,n=0;return t=F(this.b.Bc(e),16),t&&(n=t.gc(),t.$b(),this.a.d-=n),n>0},Q.Nc=function(){return this.b.ec().Nc()},R(yB,`AbstractMapBasedMultimap/KeySet`,327),q(747,1,SB,Xue),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return this.c.Ob()},Q.Pb=function(){return this.a=F(this.c.Pb(),44),this.a.ld()},Q.Qb=function(){var e;Rb(!!this.a),e=F(this.a.md(),16),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},R(yB,`AbstractMapBasedMultimap/KeySet/1`,747),q(503,402,{85:1,133:1},ob),Q.bc=function(){return this.Sc()},Q.ec=function(){return this.Uc()},Q.Sc=function(){return new eh(this.c,this.Wc())},Q.Tc=function(){return this.Wc().Tc()},Q.Uc=function(){var e;return e=this.b,e||(this.b=this.Sc())},Q.Vc=function(){return this.Wc().Vc()},Q.Wc=function(){return F(this.d,133)},R(yB,`AbstractMapBasedMultimap/SortedAsMap`,503),q(446,503,dpt,sb),Q.bc=function(){return new th(this.a,F(F(this.d,133),139))},Q.Sc=function(){return new th(this.a,F(F(this.d,133),139))},Q.ec=function(){var e;return e=this.b,F(e||(this.b=new th(this.a,F(F(this.d,133),139))),277)},Q.Uc=function(){var e;return e=this.b,F(e||(this.b=new th(this.a,F(F(this.d,133),139))),277)},Q.Wc=function(){return F(F(this.d,133),139)},Q.Xc=function(e){return F(F(this.d,133),139).Xc(e)},Q.Yc=function(e){return F(F(this.d,133),139).Yc(e)},Q.Zc=function(e,t){return new sb(this.a,F(F(this.d,133),139).Zc(e,t))},Q.$c=function(e){return F(F(this.d,133),139).$c(e)},Q._c=function(e){return F(F(this.d,133),139)._c(e)},Q.ad=function(e,t){return new sb(this.a,F(F(this.d,133),139).ad(e,t))},R(yB,`AbstractMapBasedMultimap/NavigableAsMap`,446),q(502,327,fpt,eh),Q.Nc=function(){return this.b.ec().Nc()},R(yB,`AbstractMapBasedMultimap/SortedKeySet`,502),q(401,502,ppt,th),R(yB,`AbstractMapBasedMultimap/NavigableKeySet`,401),q(551,31,TB,eD),Q.Fc=function(e){var t,n;return cN(this),n=this.d.dc(),t=this.d.Fc(e),t&&(++this.f.d,n&&_b(this)),t},Q.Gc=function(e){var t,n,r;return e.dc()?!1:(r=(cN(this),this.d.gc()),t=this.d.Gc(e),t&&(n=this.d.gc(),this.f.d+=n-r,r==0&&_b(this)),t)},Q.$b=function(){var e=(cN(this),this.d.gc());e!=0&&(this.d.$b(),this.f.d-=e,Hx(this))},Q.Hc=function(e){return cN(this),this.d.Hc(e)},Q.Ic=function(e){return cN(this),this.d.Ic(e)},Q.Fb=function(e){return e===this?!0:(cN(this),xM(this.d,e))},Q.Hb=function(){return cN(this),Wk(this.d)},Q.Kc=function(){return cN(this),new mCe(this)},Q.Mc=function(e){var t;return cN(this),t=this.d.Mc(e),t&&(--this.f.d,Hx(this)),t},Q.gc=function(){return _me(this)},Q.Nc=function(){return cN(this),this.d.Nc()},Q.Ib=function(){return cN(this),aN(this.d)},R(yB,`AbstractMapBasedMultimap/WrappedCollection`,551);var IJ=xx(CB,`List`);q(744,551,{20:1,31:1,16:1,15:1},JTe),Q.jd=function(e){Vk(this,e)},Q.Nc=function(){return cN(this),this.d.Nc()},Q.bd=function(e,t){var n;cN(this),n=this.d.dc(),F(this.d,15).bd(e,t),++this.a.d,n&&_b(this)},Q.cd=function(e,t){var n,r,i;return t.dc()?!1:(i=(cN(this),this.d.gc()),n=F(this.d,15).cd(e,t),n&&(r=this.d.gc(),this.a.d+=r-i,i==0&&_b(this)),n)},Q.Xb=function(e){return cN(this),F(this.d,15).Xb(e)},Q.dd=function(e){return cN(this),F(this.d,15).dd(e)},Q.ed=function(){return cN(this),new Lhe(this)},Q.fd=function(e){return cN(this),new XOe(this,e)},Q.gd=function(e){var t;return cN(this),t=F(this.d,15).gd(e),--this.a.d,Hx(this),t},Q.hd=function(e,t){return cN(this),F(this.d,15).hd(e,t)},Q.kd=function(e,t){return cN(this),zNe(this.a,this.e,F(this.d,15).kd(e,t),this.b?this.b:this)},R(yB,`AbstractMapBasedMultimap/WrappedList`,744),q(1126,744,{20:1,31:1,16:1,15:1,59:1},R_e),R(yB,`AbstractMapBasedMultimap/RandomAccessWrappedList`,1126),q(628,1,SB,mCe),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return iw(this),this.b.Ob()},Q.Pb=function(){return iw(this),this.b.Pb()},Q.Qb=function(){e_e(this)},R(yB,`AbstractMapBasedMultimap/WrappedCollection/WrappedIterator`,628),q(745,628,OB,Lhe,XOe),Q.Qb=function(){e_e(this)},Q.Rb=function(e){var t=_me(this.a)==0;(iw(this),F(this.b,128)).Rb(e),++this.a.a.d,t&&_b(this.a)},Q.Sb=function(){return(iw(this),F(this.b,128)).Sb()},Q.Tb=function(){return(iw(this),F(this.b,128)).Tb()},Q.Ub=function(){return(iw(this),F(this.b,128)).Ub()},Q.Vb=function(){return(iw(this),F(this.b,128)).Vb()},Q.Wb=function(e){(iw(this),F(this.b,128)).Wb(e)},R(yB,`AbstractMapBasedMultimap/WrappedList/WrappedListIterator`,745),q(743,551,fpt,Uve),Q.Nc=function(){return cN(this),this.d.Nc()},R(yB,`AbstractMapBasedMultimap/WrappedSortedSet`,743),q(1125,743,ppt,ghe),R(yB,`AbstractMapBasedMultimap/WrappedNavigableSet`,1125),q(1124,551,DB,Wve),Q.Nc=function(){return cN(this),this.d.Nc()},R(yB,`AbstractMapBasedMultimap/WrappedSet`,1124),q(1133,1,{},c),Q.Kb=function(e){return BIe(F(e,44))},R(yB,`AbstractMapBasedMultimap/lambda$1$Type`,1133),q(1132,1,{},Pie),Q.Kb=function(e){return new ih(this.a,e)},R(yB,`AbstractMapBasedMultimap/lambda$2$Type`,1132);var LJ=xx(CB,`Map/Entry`);q(358,1,kB),Q.Fb=function(e){var t;return N(e,44)?(t=F(e,44),wC(this.ld(),t.ld())&&wC(this.md(),t.md())):!1},Q.Hb=function(){var e=this.ld(),t=this.md();return(e==null?0:Wk(e))^(t==null?0:Wk(t))},Q.nd=function(e){throw O(new Df)},Q.Ib=function(){return this.ld()+`=`+this.md()},R(yB,mpt,358),q(2086,31,TB),Q.$b=function(){this.od().$b()},Q.Hc=function(e){var t;return N(e,44)?(t=F(e,44),rNe(this.od(),t.ld(),t.md())):!1},Q.Mc=function(e){var t;return N(e,44)?(t=F(e,44),iNe(this.od(),t.ld(),t.md())):!1},Q.gc=function(){return this.od().d},R(yB,`Multimaps/Entries`,2086),q(749,2086,TB,Bc),Q.Kc=function(){return this.a.kc()},Q.od=function(){return this.a},Q.Nc=function(){return this.a.lc()},R(yB,`AbstractMultimap/Entries`,749),q(750,749,DB,_ce),Q.Nc=function(){return this.a.lc()},Q.Fb=function(e){return c3e(this,e)},Q.Hb=function(){return lHe(this)},R(yB,`AbstractMultimap/EntrySet`,750),q(751,31,TB,Vc),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return _Ge(this.a,e)},Q.Kc=function(){return this.a.nc()},Q.gc=function(){return this.a.d},Q.Nc=function(){return this.a.oc()},R(yB,`AbstractMultimap/Values`,751),q(2087,31,{849:1,20:1,31:1,16:1}),Q.Jc=function(e){iC(e),ZC(this).Jc(new Uie(e))},Q.Nc=function(){var e;return e=ZC(this).Nc(),aI(e,new g,64|e.yd()&1296,this.a.d)},Q.Fc=function(e){return ile(),!0},Q.Gc=function(e){return iC(this),iC(e),N(e,552)?gNe(F(e,849)):!e.dc()&&dO(this,e.Kc())},Q.Hc=function(e){var t;return t=F(hM(sw(this.a),e),16),(t?t.gc():0)>0},Q.Fb=function(e){return z7e(this,e)},Q.Hb=function(){return Wk(ZC(this))},Q.dc=function(){return ZC(this).dc()},Q.Mc=function(e){return S8e(this,e,1)>0},Q.Ib=function(){return aN(ZC(this))},R(yB,`AbstractMultiset`,2087),q(2089,2068,DB),Q.$b=function(){yk(this.a.a)},Q.Hc=function(e){var t,n;return N(e,504)?(n=F(e,425),F(n.a.md(),16).gc()<=0?!1:(t=wje(this.a,n.a.ld()),t==F(n.a.md(),16).gc())):!1},Q.Mc=function(e){var t,n,r,i;return N(e,504)&&(n=F(e,425),t=n.a.ld(),r=F(n.a.md(),16).gc(),r!=0)?(i=this.a,C8e(i,t,r)):!1},R(yB,`Multisets/EntrySet`,2089),q(1139,2089,DB,Hc),Q.Kc=function(){return new Oce(FTe(sw(this.a.a)).Kc())},Q.gc=function(){return sw(this.a.a).gc()},R(yB,`AbstractMultiset/EntrySet`,1139),q(627,742,xB),Q.hc=function(){return this.pd()},Q.jc=function(){return this.qd()},Q.cc=function(e){return this.rd(e)},Q.fc=function(e){return this.sd(e)},Q.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},Q.qd=function(){return lw(),lw(),xY},Q.Fb=function(e){return jj(this,e)},Q.rd=function(e){return F(UE(this,e),21)},Q.sd=function(e){return F(eM(this,e),21)},Q.mc=function(e){return lw(),new pm(F(e,21))},Q.pc=function(e,t){return new Wve(this,e,F(t,21))},R(yB,`AbstractSetMultimap`,627),q(1723,627,xB),Q.hc=function(){return new Km(this.b)},Q.pd=function(){return new Km(this.b)},Q.jc=function(){return jDe(new Km(this.b))},Q.qd=function(){return jDe(new Km(this.b))},Q.cc=function(e){return F(F(UE(this,e),21),87)},Q.rd=function(e){return F(F(UE(this,e),21),87)},Q.fc=function(e){return F(F(eM(this,e),21),87)},Q.sd=function(e){return F(F(eM(this,e),21),87)},Q.mc=function(e){return N(e,277)?jDe(F(e,277)):(lw(),new v_e(F(e,87)))},Q.Zb=function(){var e;return e=this.f,e||(this.f=N(this.c,139)?new sb(this,F(this.c,139)):N(this.c,133)?new ob(this,F(this.c,133)):new nh(this,this.c))},Q.pc=function(e,t){return N(t,277)?new ghe(this,e,F(t,277)):new Uve(this,e,F(t,87))},R(yB,`AbstractSortedSetMultimap`,1723),q(1724,1723,xB),Q.Zb=function(){var e;return e=this.f,F(F(e||(this.f=N(this.c,139)?new sb(this,F(this.c,139)):N(this.c,133)?new ob(this,F(this.c,133)):new nh(this,this.c)),133),139)},Q.ec=function(){var e;return e=this.i,F(F(e||(this.i=N(this.c,139)?new th(this,F(this.c,139)):N(this.c,133)?new eh(this,F(this.c,133)):new uy(this,this.c)),87),277)},Q.bc=function(){return N(this.c,139)?new th(this,F(this.c,139)):N(this.c,133)?new eh(this,F(this.c,133)):new uy(this,this.c)},R(yB,`AbstractSortedKeySortedSetMultimap`,1724),q(2109,1,{2046:1}),Q.Fb=function(e){return I1e(this,e)},Q.Hb=function(){var e;return iWe((e=this.g,e||(this.g=new Wc(this))))},Q.Ib=function(){var e;return Y0e((e=this.f,e||(this.f=new t_e(this))))},R(yB,`AbstractTable`,2109),q(679,EB,DB,Wc),Q.$b=function(){ale()},Q.Hc=function(e){var t,n;return N(e,479)?(t=F(e,697),n=F(hM(tDe(this.a),q_(t.c.e,t.b)),85),!!n&&IKe(n.vc(),new ih(q_(t.c.c,t.a),QE(t.c,t.b,t.a)))):!1},Q.Kc=function(){return Ske(this.a)},Q.Mc=function(e){var t,n;return N(e,479)?(t=F(e,697),n=F(hM(tDe(this.a),q_(t.c.e,t.b)),85),!!n&&LKe(n.vc(),new ih(q_(t.c.c,t.a),QE(t.c,t.b,t.a)))):!1},Q.gc=function(){return Dwe(this.a)},Q.Nc=function(){return DNe(this.a)},R(yB,`AbstractTable/CellSet`,679),q(2025,31,TB,Fie),Q.$b=function(){ale()},Q.Hc=function(e){return a2e(this.a,e)},Q.Kc=function(){return Cke(this.a)},Q.gc=function(){return Dwe(this.a)},Q.Nc=function(){return $Me(this.a)},R(yB,`AbstractTable/Values`,2025),q(1697,1696,xB),R(yB,`ArrayListMultimapGwtSerializationDependencies`,1697),q(520,1697,xB,gm,Eje),Q.hc=function(){return new iD(this.a)},Q.a=0,R(yB,`ArrayListMultimap`,520),q(678,2109,{678:1,2046:1,3:1},l5e),R(yB,`ArrayTable`,678),q(2021,399,bB,n_e),Q.Xb=function(e){return new TWe(this.a,e)},R(yB,`ArrayTable/1`,2021),q(2022,1,{},Nie),Q.td=function(e){return new TWe(this.a,e)},R(yB,`ArrayTable/1methodref$getCell$Type`,2022),q(2110,1,{697:1}),Q.Fb=function(e){var t;return e===this?!0:N(e,479)?(t=F(e,697),wC(q_(this.c.e,this.b),q_(t.c.e,t.b))&&wC(q_(this.c.c,this.a),q_(t.c.c,t.a))&&wC(QE(this.c,this.b,this.a),QE(t.c,t.b,t.a))):!1},Q.Hb=function(){return Jj(W(A(MJ,1),gB,1,5,[q_(this.c.e,this.b),q_(this.c.c,this.a),QE(this.c,this.b,this.a)]))},Q.Ib=function(){return`(`+q_(this.c.e,this.b)+`,`+q_(this.c.c,this.a)+`)=`+QE(this.c,this.b,this.a)},R(yB,`Tables/AbstractCell`,2110),q(479,2110,{479:1,697:1},TWe),Q.a=0,Q.b=0,Q.d=0,R(yB,`ArrayTable/2`,479),q(2024,1,{},Rc),Q.td=function(e){return CRe(this.a,e)},R(yB,`ArrayTable/2methodref$getValue$Type`,2024),q(2023,399,bB,r_e),Q.Xb=function(e){return CRe(this.a,e)},R(yB,`ArrayTable/3`,2023),q(2077,2065,wB),Q.$b=function(){Ex(this.kc())},Q.vc=function(){return new zie(this)},Q.lc=function(){return new FOe(this.kc(),this.gc())},R(yB,`Maps/IteratorBasedAbstractMap`,2077),q(842,2077,wB),Q.$b=function(){throw O(new Df)},Q._b=function(e){return sue(this.c,e)},Q.kc=function(){return new i_e(this,this.c.b.c.gc())},Q.lc=function(){return wx(this.c.b.c.gc(),16,new zc(this))},Q.xc=function(e){var t=F(jb(this.c,e),17);return t?this.vd(t.a):null},Q.dc=function(){return this.c.b.c.dc()},Q.ec=function(){return iS(this.c)},Q.zc=function(e,t){var n=F(jb(this.c,e),17);if(!n)throw O(new Kp(this.ud()+` `+e+` not in `+iS(this.c)));return this.wd(n.a,t)},Q.Bc=function(e){throw O(new Df)},Q.gc=function(){return this.c.b.c.gc()},R(yB,`ArrayTable/ArrayMap`,842),q(2020,1,{},zc),Q.td=function(e){return rDe(this.a,e)},R(yB,`ArrayTable/ArrayMap/0methodref$getEntry$Type`,2020),q(2018,358,kB,Uue),Q.ld=function(){return H_e(this.a,this.b)},Q.md=function(){return this.a.vd(this.b)},Q.nd=function(e){return this.a.wd(this.b,e)},Q.b=0,R(yB,`ArrayTable/ArrayMap/1`,2018),q(2019,399,bB,i_e),Q.Xb=function(e){return rDe(this.a,e)},R(yB,`ArrayTable/ArrayMap/2`,2019),q(2017,842,wB,pEe),Q.ud=function(){return`Column`},Q.vd=function(e){return QE(this.b,this.a,e)},Q.wd=function(e,t){return eWe(this.b,this.a,e,t)},Q.a=0,R(yB,`ArrayTable/Row`,2017),q(843,842,wB,t_e),Q.vd=function(e){return new pEe(this.a,e)},Q.zc=function(e,t){return F(t,85),ole()},Q.wd=function(e,t){return F(t,85),sle()},Q.ud=function(){return`Row`},R(yB,`ArrayTable/RowMap`,843),q(1157,1,jB,Wue),Q.Ad=function(e){return(this.a.yd()&-262&e)!=0},Q.yd=function(){return this.a.yd()&-262},Q.zd=function(){return this.a.zd()},Q.Nb=function(e){this.a.Nb(new Kue(e,this.b))},Q.Bd=function(e){return this.a.Bd(new Gue(e,this.b))},R(yB,`CollectSpliterators/1`,1157),q(1158,1,MB,Gue),Q.Cd=function(e){this.a.Cd(this.b.Kb(e))},R(yB,`CollectSpliterators/1/lambda$0$Type`,1158),q(1159,1,MB,Kue),Q.Cd=function(e){this.a.Cd(this.b.Kb(e))},R(yB,`CollectSpliterators/1/lambda$1$Type`,1159),q(1154,1,jB,Tbe),Q.Ad=function(e){return((16464|this.b)&e)!=0},Q.yd=function(){return 16464|this.b},Q.zd=function(){return this.a.zd()},Q.Nb=function(e){this.a.Qe(new Jue(e,this.c))},Q.Bd=function(e){return this.a.Re(new que(e,this.c))},Q.b=0,R(yB,`CollectSpliterators/1WithCharacteristics`,1154),q(1155,1,NB,que),Q.Dd=function(e){this.a.Cd(this.b.td(e))},R(yB,`CollectSpliterators/1WithCharacteristics/lambda$0$Type`,1155),q(1156,1,NB,Jue),Q.Dd=function(e){this.a.Cd(this.b.td(e))},R(yB,`CollectSpliterators/1WithCharacteristics/lambda$1$Type`,1156),q(1150,1,jB),Q.Ad=function(e){return(this.a&e)!=0},Q.yd=function(){return this.a},Q.zd=function(){return this.e&&(this.b=Jhe(this.b,this.e.zd())),Jhe(this.b,0)},Q.Nb=function(e){this.e&&=(this.e.Nb(e),null),this.c.Nb(new Yue(this,e)),this.b=0},Q.Bd=function(e){for(;;){if(this.e&&this.e.Bd(e))return G_(this.b,PB)&&(this.b=qM(this.b,1)),!0;if(this.e=null,!this.c.Bd(new Iie(this)))return!1}},Q.a=0,Q.b=0,R(yB,`CollectSpliterators/FlatMapSpliterator`,1150),q(1152,1,MB,Iie),Q.Cd=function(e){fbe(this.a,e)},R(yB,`CollectSpliterators/FlatMapSpliterator/lambda$0$Type`,1152),q(1153,1,MB,Yue),Q.Cd=function(e){DOe(this.a,this.b,e)},R(yB,`CollectSpliterators/FlatMapSpliterator/lambda$1$Type`,1153),q(1151,1150,jB,INe),R(yB,`CollectSpliterators/FlatMapSpliteratorOfObject`,1151),q(253,1,FB),Q.Fd=function(e){return this.Ed(F(e,253))},Q.Ed=function(e){var t;return e==(kp(),zJ)?1:e==(Op(),RJ)?-1:(t=(dx(),lA(this.a,e.a)),t==0?N(this,526)==N(e,526)?0:N(this,526)?1:-1:t)},Q.Id=function(){return this.a},Q.Fb=function(e){return bQe(this,e)},R(yB,`Cut`,253),q(1823,253,FB,mce),Q.Ed=function(e){return e==this?0:1},Q.Gd=function(e){throw O(new bf)},Q.Hd=function(e){e.a+=`+∞)`},Q.Id=function(){throw O(new qp(gpt))},Q.Hb=function(){return gh(),qYe(this)},Q.Jd=function(e){return!1},Q.Ib=function(){return`+∞`};var RJ;R(yB,`Cut/AboveAll`,1823),q(526,253,{253:1,526:1,3:1,34:1},h_e),Q.Gd=function(e){Q_((e.a+=`(`,e),this.a)},Q.Hd=function(e){yC(Q_(e,this.a),93)},Q.Hb=function(){return~Wk(this.a)},Q.Jd=function(e){return dx(),lA(this.a,e)<0},Q.Ib=function(){return`/`+this.a+`\\`},R(yB,`Cut/AboveValue`,526),q(1822,253,FB,pce),Q.Ed=function(e){return e==this?0:-1},Q.Gd=function(e){e.a+=`(-∞`},Q.Hd=function(e){throw O(new bf)},Q.Id=function(){throw O(new qp(gpt))},Q.Hb=function(){return gh(),qYe(this)},Q.Jd=function(e){return!0},Q.Ib=function(){return`-∞`};var zJ;R(yB,`Cut/BelowAll`,1822),q(1824,253,FB,g_e),Q.Gd=function(e){Q_((e.a+=`[`,e),this.a)},Q.Hd=function(e){yC(Q_(e,this.a),41)},Q.Hb=function(){return Wk(this.a)},Q.Jd=function(e){return dx(),lA(this.a,e)<=0},Q.Ib=function(){return`\\`+this.a+`/`},R(yB,`Cut/BelowValue`,1824),q(547,1,IB),Q.Jc=function(e){TE(this,e)},Q.Ib=function(){return Eqe(F(dw(this,`use Optional.orNull() instead of Optional.or(null)`),20).Kc())},R(yB,`FluentIterable`,547),q(442,547,IB,mv),Q.Kc=function(){return new dS(fy(this.a.Kc(),new d))},R(yB,`FluentIterable/2`,442),q(1059,547,IB,lhe),Q.Kc=function(){return kS(this)},R(yB,`FluentIterable/3`,1059),q(724,399,bB,a_e),Q.Xb=function(e){return this.a[e].Kc()},R(yB,`FluentIterable/3/1`,724),q(2070,1,{}),Q.Ib=function(){return aN(this.Kd().b)},R(yB,`ForwardingObject`,2070),q(2071,2070,_pt),Q.Kd=function(){return this.Ld()},Q.Jc=function(e){TE(this,e)},Q.Lc=function(){return this.Oc()},Q.Nc=function(){return new wT(this,0)},Q.Oc=function(){return new jx(null,this.Nc())},Q.Fc=function(e){return this.Ld(),pue()},Q.Gc=function(e){return this.Ld(),mue()},Q.$b=function(){this.Ld(),hue()},Q.Hc=function(e){return this.Ld().Hc(e)},Q.Ic=function(e){return this.Ld().Ic(e)},Q.dc=function(){return this.Ld().b.dc()},Q.Kc=function(){return this.Ld().Kc()},Q.Mc=function(e){return this.Ld(),gue()},Q.gc=function(){return this.Ld().b.gc()},Q.Pc=function(){return this.Ld().Pc()},Q.Qc=function(e){return this.Ld().Qc(e)},R(yB,`ForwardingCollection`,2071),q(2078,31,vpt),Q.Kc=function(){return this.Od()},Q.Fc=function(e){throw O(new Df)},Q.Gc=function(e){throw O(new Df)},Q.Md=function(){return this.c||=this.Nd()},Q.$b=function(){throw O(new Df)},Q.Hc=function(e){return e!=null&&gN(this,e,!1)},Q.Nd=function(){switch(this.gc()){case 0:return oC(),oC(),BJ;case 1:return oC(),new Dx(iC(this.Od().Pb()));default:return new hEe(this,this.Pc())}},Q.Mc=function(e){throw O(new Df)},R(yB,`ImmutableCollection`,2078),q(727,2078,vpt,gf),Q.Kc=function(){return DD(this.a.Kc())},Q.Hc=function(e){return e!=null&&this.a.Hc(e)},Q.Ic=function(e){return this.a.Ic(e)},Q.dc=function(){return this.a.dc()},Q.Od=function(){return DD(this.a.Kc())},Q.gc=function(){return this.a.gc()},Q.Pc=function(){return this.a.Pc()},Q.Qc=function(e){return this.a.Qc(e)},Q.Ib=function(){return aN(this.a)},R(yB,`ForwardingImmutableCollection`,727),q(307,2078,LB),Q.Kc=function(){return this.Od()},Q.ed=function(){return this.Pd(0)},Q.fd=function(e){return this.Pd(e)},Q.jd=function(e){Vk(this,e)},Q.Nc=function(){return new wT(this,16)},Q.kd=function(e,t){return this.Qd(e,t)},Q.bd=function(e,t){throw O(new Df)},Q.cd=function(e,t){throw O(new Df)},Q.Md=function(){return this},Q.Fb=function(e){return T7e(this,e)},Q.Hb=function(){return xUe(this)},Q.dd=function(e){return e==null?-1:mQe(this,e)},Q.Od=function(){return this.Pd(0)},Q.Pd=function(e){return Ry(this,e)},Q.gd=function(e){throw O(new Df)},Q.hd=function(e,t){throw O(new Df)},Q.Qd=function(e,t){var n;return uM((n=new sde(this),new hT(n,e,t)))};var BJ;R(yB,`ImmutableList`,307),q(2105,307,LB),Q.Kc=function(){return DD(this.Rd().Kc())},Q.kd=function(e,t){return uM(this.Rd().kd(e,t))},Q.Hc=function(e){return e!=null&&this.Rd().Hc(e)},Q.Ic=function(e){return this.Rd().Ic(e)},Q.Fb=function(e){return xM(this.Rd(),e)},Q.Xb=function(e){return q_(this,e)},Q.Hb=function(){return Wk(this.Rd())},Q.dd=function(e){return this.Rd().dd(e)},Q.dc=function(){return this.Rd().dc()},Q.Od=function(){return DD(this.Rd().Kc())},Q.gc=function(){return this.Rd().gc()},Q.Qd=function(e,t){return uM(this.Rd().kd(e,t))},Q.Pc=function(){return this.Rd().Qc(H(MJ,gB,1,this.Rd().gc(),5,1))},Q.Qc=function(e){return this.Rd().Qc(e)},Q.Ib=function(){return aN(this.Rd())},R(yB,`ForwardingImmutableList`,2105),q(729,1,zB),Q.vc=function(){return rS(this)},Q.wc=function(e){mA(this,e)},Q.ec=function(){return iS(this)},Q.yc=function(e,t,n){return nN(this,e,t,n)},Q.Cc=function(){return this.Vd()},Q.$b=function(){throw O(new Df)},Q._b=function(e){return this.xc(e)!=null},Q.uc=function(e){return this.Vd().Hc(e)},Q.Td=function(){return new Mse(this)},Q.Ud=function(){return new Nse(this)},Q.Fb=function(e){return bGe(this,e)},Q.Hb=function(){return rS(this).Hb()},Q.dc=function(){return this.gc()==0},Q.zc=function(e,t){return rle()},Q.Bc=function(e){throw O(new Df)},Q.Ib=function(){return I4e(this)},Q.Vd=function(){return this.e?this.e:this.e=this.Ud()},Q.c=null,Q.d=null,Q.e=null;var Hxt;R(yB,`ImmutableMap`,729),q(730,729,zB),Q._b=function(e){return sue(this,e)},Q.uc=function(e){return mde(this.b,e)},Q.Sd=function(){return jKe(new Uc(this))},Q.Td=function(){return jKe(rOe(this.b))},Q.Ud=function(){return Lb(),new gf(nOe(this.b))},Q.Fb=function(e){return hde(this.b,e)},Q.xc=function(e){return jb(this,e)},Q.Hb=function(){return Wk(this.b.c)},Q.dc=function(){return this.b.c.dc()},Q.gc=function(){return this.b.c.gc()},Q.Ib=function(){return aN(this.b.c)},R(yB,`ForwardingImmutableMap`,730),q(2072,2071,BB),Q.Kd=function(){return this.Wd()},Q.Ld=function(){return this.Wd()},Q.Nc=function(){return new wT(this,1)},Q.Fb=function(e){return e===this||this.Wd().Fb(e)},Q.Hb=function(){return this.Wd().Hb()},R(yB,`ForwardingSet`,2072),q(1085,2072,BB,Uc),Q.Kd=function(){return IC(this.a.b)},Q.Ld=function(){return IC(this.a.b)},Q.Hc=function(e){if(N(e,44)&&F(e,44).ld()==null)return!1;try{return pde(IC(this.a.b),e)}catch(e){if(e=qA(e),N(e,212))return!1;throw O(e)}},Q.Wd=function(){return IC(this.a.b)},Q.Qc=function(e){var t=zke(IC(this.a.b),e);return IC(this.a.b).b.gc()=0?`+`:``)+(n/60|0),t=uv(r.Math.abs(n)%60),(n4e(),PSt)[this.q.getDay()]+` `+FSt[this.q.getMonth()]+` `+uv(this.q.getDate())+` `+uv(this.q.getHours())+`:`+uv(this.q.getMinutes())+`:`+uv(this.q.getSeconds())+` GMT`+e+t+` `+this.q.getFullYear()};var YJ=R(CB,`Date`,206);q(2015,206,jpt,c1e),Q.a=!1,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=0,Q.g=!1,Q.i=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0,Q.p=0,R(`com.google.gwt.i18n.shared.impl`,`DateRecord`,2015),q(2064,1,{}),Q.pe=function(){return null},Q.qe=function(){return null},Q.re=function(){return null},Q.se=function(){return null},Q.te=function(){return null},R(kV,`JSONValue`,2064),q(221,2064,{221:1},cl,il),Q.Fb=function(e){return N(e,221)?dMe(this.a,F(e,221).a):!1},Q.oe=function(){return of},Q.Hb=function(){return wke(this.a)},Q.pe=function(){return this},Q.Ib=function(){var e,t,n=new gy(`[`);for(t=0,e=this.a.length;t0&&(n.a+=`,`),Q_(n,pO(this,t));return n.a+=`]`,n.a},R(kV,`JSONArray`,221),q(493,2064,{493:1},al),Q.oe=function(){return sf},Q.qe=function(){return this},Q.Ib=function(){return Oy(),``+this.a},Q.a=!1;var eSt,tSt;R(kV,`JSONBoolean`,493),q(997,63,eV,jce),R(kV,`JSONException`,997),q(1036,2064,{},te),Q.oe=function(){return Dse},Q.Ib=function(){return _B};var nSt;R(kV,`JSONNull`,1036),q(263,2064,{263:1},ol),Q.Fb=function(e){return N(e,263)?this.a==F(e,263).a:!1},Q.oe=function(){return rf},Q.Hb=function(){return sv(this.a)},Q.re=function(){return this},Q.Ib=function(){return this.a+``},Q.a=0,R(kV,`JSONNumber`,263),q(190,2064,{190:1},Mp,sl),Q.Fb=function(e){return N(e,190)?dMe(this.a,F(e,190).a):!1},Q.oe=function(){return af},Q.Hb=function(){return wke(this.a)},Q.se=function(){return this},Q.Ib=function(){var e,t,n,r,i,a,o=new gy(`{`);for(e=!0,a=Zk(this,H(lY,X,2,0,6,1)),n=a,r=0,i=n.length;r=0?`:`+this.c:``)+`)`},Q.c=0;var vSt=R(fB,`StackTraceElement`,319);Lxt={3:1,484:1,34:1,2:1};var lY=R(fB,Cpt,2);q(111,427,{484:1},cm,lm,hy),R(fB,`StringBuffer`,111),q(104,427,{484:1},um,dm,gy),R(fB,`StringBuilder`,104),q(702,77,LV,cle),R(fB,`StringIndexOutOfBoundsException`,702),q(2145,1,{});var ySt;q(48,63,{3:1,103:1,63:1,82:1,48:1},Df,Yp),R(fB,`UnsupportedOperationException`,48),q(247,242,{3:1,34:1,242:1,247:1},DM,Cue),Q.Fd=function(e){return not(this,F(e,247))},Q.ue=function(){return bI($st(this))},Q.Fb=function(e){var t;return this===e?!0:N(e,247)?(t=F(e,247),this.e==t.e&¬(this,t)==0):!1},Q.Hb=function(){var e;return this.b==0?this.a<54?(e=AA(this.f),this.b=eS(ET(e,-1)),this.b=33*this.b+eS(ET(sS(e,32),-1)),this.b=17*this.b+Bw(this.e),this.b):(this.b=17*uKe(this.c)+Bw(this.e),this.b):this.b},Q.Ib=function(){return $st(this)},Q.a=0,Q.b=0,Q.d=0,Q.e=0,Q.f=0;var bSt,uY,xSt,SSt,CSt,wSt,TSt,ESt,dY=R(`java.math`,`BigDecimal`,247);q(92,242,{3:1,34:1,242:1,92:1},fE,yMe,RS,cXe,Dv),Q.Fd=function(e){return UYe(this,F(e,92))},Q.ue=function(){return bI(Xz(this,0))},Q.Fb=function(e){return wJe(this,e)},Q.Hb=function(){return uKe(this)},Q.Ib=function(){return Xz(this,0)},Q.b=-2,Q.c=0,Q.d=0,Q.e=0;var DSt,fY,OSt,pY,mY,hY,gY=R(`java.math`,`BigInteger`,92),kSt,ASt,_Y,vY;q(498,2065,wB),Q.$b=function(){MS(this)},Q._b=function(e){return DS(this,e)},Q.uc=function(e){return xGe(this,e,this.i)||xGe(this,e,this.f)},Q.vc=function(){return new Al(this)},Q.xc=function(e){return dC(this,e)},Q.zc=function(e,t){return PC(this,e,t)},Q.Bc=function(e){return JE(this,e)},Q.gc=function(){return fh(this)},Q.g=0,R(CB,`AbstractHashMap`,498),q(267,EB,DB,Al),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return _Ne(this,e)},Q.Kc=function(){return new yA(this.a)},Q.Mc=function(e){var t;return _Ne(this,e)?(t=F(e,44).ld(),this.a.Bc(t),!0):!1},Q.gc=function(){return this.a.gc()},R(CB,`AbstractHashMap/EntrySet`,267),q(268,1,SB,yA),Q.Nb=function(e){ES(this,e)},Q.Pb=function(){return Fk(this)},Q.Ob=function(){return this.b},Q.Qb=function(){qRe(this)},Q.b=!1,Q.d=0,R(CB,`AbstractHashMap/EntrySetIterator`,268),q(426,1,SB,Wl),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return Qh(this)},Q.Pb=function(){return YOe(this)},Q.Qb=function(){bC(this)},Q.b=0,Q.c=-1,R(CB,`AbstractList/IteratorImpl`,426),q(98,426,OB,IT),Q.Qb=function(){bC(this)},Q.Rb=function(e){gb(this,e)},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Ub=function(){return nb(this.b>0),this.a.Xb(this.c=--this.b)},Q.Vb=function(){return this.b-1},Q.Wb=function(e){rb(this.c!=-1),this.a.hd(this.c,e)},R(CB,`AbstractList/ListIteratorImpl`,98),q(244,56,JB,hT),Q.bd=function(e,t){xT(e,this.b),this.c.bd(this.a+e,t),++this.b},Q.Xb=function(e){return ST(e,this.b),this.c.Xb(this.a+e)},Q.gd=function(e){var t;return ST(e,this.b),t=this.c.gd(this.a+e),--this.b,t},Q.hd=function(e,t){return ST(e,this.b),this.c.hd(this.a+e,t)},Q.gc=function(){return this.b},Q.a=0,Q.b=0,R(CB,`AbstractList/SubList`,244),q(266,EB,DB,kl),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return this.a._b(e)},Q.Kc=function(){var e;return e=this.a.vc().Kc(),new Pl(e)},Q.Mc=function(e){return this.a._b(e)?(this.a.Bc(e),!0):!1},Q.gc=function(){return this.a.gc()},R(CB,`AbstractMap/1`,266),q(541,1,SB,Pl),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){var e;return e=F(this.a.Pb(),44),e.ld()},Q.Qb=function(){this.a.Qb()},R(CB,`AbstractMap/1/1`,541),q(231,31,TB,Fl),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return this.a.uc(e)},Q.Kc=function(){var e;return e=this.a.vc().Kc(),new Il(e)},Q.gc=function(){return this.a.gc()},R(CB,`AbstractMap/2`,231),q(301,1,SB,Il),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){var e;return e=F(this.a.Pb(),44),e.md()},Q.Qb=function(){this.a.Qb()},R(CB,`AbstractMap/2/1`,301),q(494,1,{494:1,44:1}),Q.Fb=function(e){var t;return N(e,44)?(t=F(e,44),RC(this.d,t.ld())&&RC(this.e,t.md())):!1},Q.ld=function(){return this.d},Q.md=function(){return this.e},Q.Hb=function(){return Mv(this.d)^Mv(this.e)},Q.nd=function(e){return gye(this,e)},Q.Ib=function(){return this.d+`=`+this.e},R(CB,`AbstractMap/AbstractEntry`,494),q(397,494,{494:1,397:1,44:1},og),R(CB,`AbstractMap/SimpleEntry`,397),q(2082,1,XV),Q.Fb=function(e){var t;return N(e,44)?(t=F(e,44),RC(this.ld(),t.ld())&&RC(this.md(),t.md())):!1},Q.Hb=function(){return Mv(this.ld())^Mv(this.md())},Q.Ib=function(){return this.ld()+`=`+this.md()},R(CB,mpt,2082),q(2090,2065,dpt),Q.Xc=function(e){return cue(this.Ee(e))},Q.tc=function(e){return iIe(this,e)},Q._b=function(e){return _ye(this,e)},Q.vc=function(){return new Rl(this)},Q.Tc=function(){return vEe(this.Ge())},Q.Yc=function(e){return cue(this.He(e))},Q.xc=function(e){var t=e;return z_(this.Fe(t))},Q.$c=function(e){return cue(this.Ie(e))},Q.ec=function(){return new Ll(this)},Q.Vc=function(){return vEe(this.Je())},Q._c=function(e){return cue(this.Ke(e))},R(CB,`AbstractNavigableMap`,2090),q(629,EB,DB,Rl),Q.Hc=function(e){return N(e,44)&&iIe(this.b,F(e,44))},Q.Kc=function(){return this.b.De()},Q.Mc=function(e){var t;return N(e,44)?(t=F(e,44),this.b.Le(t)):!1},Q.gc=function(){return this.b.gc()},R(CB,`AbstractNavigableMap/EntrySet`,629),q(1146,EB,ppt,Ll),Q.Nc=function(){return new rg(this)},Q.$b=function(){this.a.$b()},Q.Hc=function(e){return _ye(this.a,e)},Q.Kc=function(){return new kae(this.a.vc().b.De())},Q.Mc=function(e){return _ye(this.a,e)?(this.a.Bc(e),!0):!1},Q.gc=function(){return this.a.gc()},R(CB,`AbstractNavigableMap/NavigableKeySet`,1146),q(1147,1,SB,kae),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return Qh(this.a.a)},Q.Pb=function(){return J_e(this.a).ld()},Q.Qb=function(){Bbe(this.a)},R(CB,`AbstractNavigableMap/NavigableKeySet/1`,1147),q(2103,31,TB),Q.Fc=function(e){return ox(cI(this,e),ZV),!0},Q.Gc=function(e){return kC(e),ax(e!=this,`Can't add a queue to itself`),Xk(this,e)},Q.$b=function(){for(;hO(this)!=null;);},R(CB,`AbstractQueue`,2103),q(310,31,{4:1,20:1,31:1,16:1},sy,lNe),Q.Fc=function(e){return VNe(this,e),!0},Q.$b=function(){qPe(this)},Q.Hc=function(e){return HUe(new GC(this),e)},Q.dc=function(){return rm(this)},Q.Kc=function(){return new GC(this)},Q.Mc=function(e){return RAe(new GC(this),e)},Q.gc=function(){return this.c-this.b&this.a.length-1},Q.Nc=function(){return new wT(this,272)},Q.Qc=function(e){var t=this.c-this.b&this.a.length-1;return e.lengtht&&fC(e,t,null),e},Q.b=0,Q.c=0,R(CB,`ArrayDeque`,310),q(459,1,SB,GC),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return this.a!=this.b},Q.Pb=function(){return tM(this)},Q.Qb=function(){nVe(this)},Q.a=0,Q.b=0,Q.c=-1,R(CB,`ArrayDeque/IteratorImpl`,459),q(13,56,Fpt,Zd,iD,Pb),Q.bd=function(e,t){Kx(this,e,t)},Q.Fc=function(e){return ey(this,e)},Q.cd=function(e,t){return VGe(this,e,t)},Q.Gc=function(e){return YA(this,e)},Q.$b=function(){Pf(this.c,0)},Q.Hc=function(e){return VD(this,e,0)!=-1},Q.Jc=function(e){MO(this,e)},Q.Xb=function(e){return Ox(this,e)},Q.dd=function(e){return VD(this,e,0)},Q.dc=function(){return this.c.length==0},Q.Kc=function(){return new D(this)},Q.gd=function(e){return KE(this,e)},Q.Mc=function(e){return zD(this,e)},Q.ce=function(e,t){Tje(this,e,t)},Q.hd=function(e,t){return EE(this,e,t)},Q.gc=function(){return this.c.length},Q.jd=function(e){zv(this,e)},Q.Pc=function(){return mx(this.c)},Q.Qc=function(e){return nP(this,e)};var jSt=R(CB,`ArrayList`,13);q(7,1,SB,D),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return Bv(this)},Q.Pb=function(){return B(this)},Q.Qb=function(){HS(this)},Q.a=0,Q.b=-1,R(CB,`ArrayList/1`,7),q(2112,r.Function,{},ie),Q.Me=function(e,t){return zM(e,t)},q(151,56,Ipt,tm),Q.Hc=function(e){return iVe(this,e)!=-1},Q.Jc=function(e){var t,n,r,i;for(kC(e),n=this.a,r=0,i=n.length;r0)throw O(new Kp(Hpt+e+` greater than `+this.e));return this.f.Te()?bAe(this.c,this.b,this.a,e,t):Dje(this.c,e,t)},Q.zc=function(e,t){if(!_F(this.c,this.f,e,this.b,this.a,this.e,this.d))throw O(new Kp(e+` outside the range `+this.b+` to `+this.e));return jWe(this.c,e,t)},Q.Bc=function(e){var t=e;return _F(this.c,this.f,t,this.b,this.a,this.e,this.d)?SAe(this.c,t):null},Q.Le=function(e){return SC(this,e.ld())&&kLe(this.c,e)},Q.gc=function(){var e,t=this.f.Te()?this.a?IN(this.c,this.b,!0):IN(this.c,this.b,!1):TRe(this.c),n;if(!(t&&SC(this,t.d)&&t))return 0;for(e=0,n=new eA(this.c,this.f,this.b,this.a,this.e,this.d);Qh(n.a);n.b=F(YOe(n.a),44))++e;return e},Q.ad=function(e,t){if(this.f.Te()&&this.c.a.Ne(e,this.b)<0)throw O(new Kp(Hpt+e+Upt+this.b));return this.f.Ue()?bAe(this.c,e,t,this.e,this.d):Oje(this.c,e,t)},Q.a=!1,Q.d=!1,R(CB,`TreeMap/SubMap`,631),q(304,22,sH,ig),Q.Te=function(){return!1},Q.Ue=function(){return!1};var TY,EY,DY,OY,kY=ck(CB,`TreeMap/SubMapType`,304,HJ,JNe,Wbe);q(1143,304,sH,yhe),Q.Ue=function(){return!0},ck(CB,`TreeMap/SubMapType/1`,1143,kY,null,null),q(1144,304,sH,rge),Q.Te=function(){return!0},Q.Ue=function(){return!0},ck(CB,`TreeMap/SubMapType/2`,1144,kY,null,null),q(1145,304,sH,vhe),Q.Te=function(){return!0},ck(CB,`TreeMap/SubMapType/3`,1145,kY,null,null);var XSt;q(157,EB,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},Uf,Km,$l),Q.Nc=function(){return new rg(this)},Q.Fc=function(e){return IS(this,e)},Q.$b=function(){this.a.$b()},Q.Hc=function(e){return this.a._b(e)},Q.Kc=function(){return this.a.ec().Kc()},Q.Mc=function(e){return Zv(this,e)},Q.gc=function(){return this.a.gc()};var ZSt=R(CB,`TreeSet`,157);q(1082,1,{},Mae),Q.Ve=function(e,t){return Xve(this.a,e,t)},R(cH,`BinaryOperator/lambda$0$Type`,1082),q(1083,1,{},Nae),Q.Ve=function(e,t){return Zve(this.a,e,t)},R(cH,`BinaryOperator/lambda$1$Type`,1083),q(952,1,{},ve),Q.Kb=function(e){return e},R(cH,`Function/lambda$0$Type`,952),q(395,1,XB,eu),Q.Mb=function(e){return!this.a.Mb(e)},R(cH,`Predicate/lambda$2$Type`,395),q(581,1,{581:1});var QSt=R(lH,`Handler`,581);q(2107,1,pB),Q.xe=function(){return`DUMMY`},Q.Ib=function(){return this.xe()};var $St;R(lH,`Level`,2107),q(1706,2107,pB,ye),Q.xe=function(){return`INFO`},R(lH,`Level/LevelInfo`,1706),q(1843,1,{},Hf);var AY;R(lH,`LogManager`,1843),q(1896,1,pB,zbe),Q.b=null,R(lH,`LogRecord`,1896),q(525,1,{525:1},kE),Q.e=!1;var eCt=!1,tCt=!1,jY=!1,nCt=!1,rCt=!1;R(lH,`Logger`,525),q(835,581,{581:1},be),R(lH,`SimpleConsoleLogHandler`,835),q(108,22,{3:1,34:1,22:1,108:1},ag);var iCt,MY,NY,PY=ck(dH,`Collector/Characteristics`,108,HJ,kje,Gbe),aCt;q(758,1,{},TEe),R(dH,`CollectorImpl`,758),q(1074,1,{},xe),Q.Ve=function(e,t){return WKe(F(e,213),F(t,213))},R(dH,`Collectors/10methodref$merge$Type`,1074),q(1075,1,{},Se),Q.Kb=function(e){return uNe(F(e,213))},R(dH,`Collectors/11methodref$toString$Type`,1075),q(1076,1,{},Pae),Q.Kb=function(e){return Oy(),!!Hme(e)},R(dH,`Collectors/12methodref$test$Type`,1076),q(144,1,{},Ce),Q.Yd=function(e,t){F(e,16).Fc(t)},R(dH,`Collectors/20methodref$add$Type`,144),q(146,1,{},we),Q.Xe=function(){return new Zd},R(dH,`Collectors/21methodref$ctor$Type`,146),q(359,1,{},Te),Q.Xe=function(){return new Vf},R(dH,`Collectors/23methodref$ctor$Type`,359),q(360,1,{},Ee),Q.Yd=function(e,t){FS(F(e,49),t)},R(dH,`Collectors/24methodref$add$Type`,360),q(1069,1,{},De),Q.Ve=function(e,t){return Ede(F(e,15),F(t,16))},R(dH,`Collectors/4methodref$addAll$Type`,1069),q(1073,1,{},Oe),Q.Yd=function(e,t){qE(F(e,213),F(t,484))},R(dH,`Collectors/9methodref$add$Type`,1073),q(1072,1,{},wCe),Q.Xe=function(){return new IA(this.a,this.b,this.c)},R(dH,`Collectors/lambda$15$Type`,1072),q(1077,1,{},ke),Q.Xe=function(){var e;return e=new yE,aP(e,(Oy(),!1),new Zd),aP(e,!0,new Zd),e},R(dH,`Collectors/lambda$22$Type`,1077),q(1078,1,{},Fae),Q.Xe=function(){return W(A(MJ,1),gB,1,5,[this.a])},R(dH,`Collectors/lambda$25$Type`,1078),q(1079,1,{},tu),Q.Yd=function(e,t){zwe(this.a,ok(e))},R(dH,`Collectors/lambda$26$Type`,1079),q(1080,1,{},nu),Q.Ve=function(e,t){return sEe(this.a,ok(e),ok(t))},R(dH,`Collectors/lambda$27$Type`,1080),q(1081,1,{},Ae),Q.Kb=function(e){return ok(e)[0]},R(dH,`Collectors/lambda$28$Type`,1081),q(728,1,{},je),Q.Ve=function(e,t){return Vwe(e,t)},R(dH,`Collectors/lambda$4$Type`,728),q(145,1,{},Me),Q.Ve=function(e,t){return Sde(F(e,16),F(t,16))},R(dH,`Collectors/lambda$42$Type`,145),q(361,1,{},Ne),Q.Ve=function(e,t){return Cde(F(e,49),F(t,49))},R(dH,`Collectors/lambda$50$Type`,361),q(362,1,{},Pe),Q.Kb=function(e){return F(e,49)},R(dH,`Collectors/lambda$51$Type`,362),q(1068,1,{},Iae),Q.Yd=function(e,t){tGe(this.a,F(e,85),t)},R(dH,`Collectors/lambda$7$Type`,1068),q(1070,1,{},Fe),Q.Ve=function(e,t){return WUe(F(e,85),F(t,85),new De)},R(dH,`Collectors/lambda$8$Type`,1070),q(1071,1,{},ru),Q.Kb=function(e){return $qe(this.a,F(e,85))},R(dH,`Collectors/lambda$9$Type`,1071),q(550,1,{}),Q.$e=function(){DC(this)},Q.d=!1,R(dH,`TerminatableStream`,550),q(827,550,Gpt,Vve),Q.$e=function(){DC(this)},R(dH,`DoubleStreamImpl`,827),q(1847,736,jB,TCe),Q.Re=function(e){return JZe(this,F(e,189))},Q.a=null,R(dH,`DoubleStreamImpl/2`,1847),q(1848,1,$V,iu),Q.Pe=function(e){whe(this.a,e)},R(dH,`DoubleStreamImpl/2/lambda$0$Type`,1848),q(1845,1,$V,Lae),Q.Pe=function(e){Che(this.a,e)},R(dH,`DoubleStreamImpl/lambda$0$Type`,1845),q(1846,1,$V,Rae),Q.Pe=function(e){oYe(this.a,e)},R(dH,`DoubleStreamImpl/lambda$2$Type`,1846),q(1397,735,jB,RFe),Q.Re=function(e){return SNe(this,F(e,202))},Q.a=0,Q.b=0,Q.c=0,R(dH,`IntStream/5`,1397),q(806,550,Gpt,Hve),Q.$e=function(){DC(this)},Q._e=function(){return EC(this),this.a},R(dH,`IntStreamImpl`,806),q(807,550,Gpt,yde),Q.$e=function(){DC(this)},Q._e=function(){return EC(this),Yge(),JSt},R(dH,`IntStreamImpl/Empty`,807),q(1687,1,NB,zae),Q.Dd=function(e){iUe(this.a,e)},R(dH,`IntStreamImpl/lambda$4$Type`,1687);var oCt=xx(dH,`Stream`);q(26,550,{533:1,687:1,848:1},jx),Q.$e=function(){DC(this)};var FY;R(dH,`StreamImpl`,26),q(1102,500,jB,wbe),Q.Bd=function(e){for(;oRe(this);)if(this.a.Bd(e))return!0;else DC(this.b),this.b=null,this.a=null;return!1},R(dH,`StreamImpl/1`,1102),q(1103,1,MB,au),Q.Cd=function(e){ACe(this.a,F(e,848))},R(dH,`StreamImpl/1/lambda$0$Type`,1103),q(1104,1,XB,Bae),Q.Mb=function(e){return FS(this.a,e)},R(dH,`StreamImpl/1methodref$add$Type`,1104),q(1105,500,jB,rke),Q.Bd=function(e){var t;return this.a||=(t=new Zd,this.b.a.Nb(new Vae(t)),lw(),zv(t,this.c),new wT(t,16)),Gze(this.a,e)},Q.a=null,R(dH,`StreamImpl/5`,1105),q(1106,1,MB,Vae),Q.Cd=function(e){ey(this.a,e)},R(dH,`StreamImpl/5/2methodref$add$Type`,1106),q(737,500,jB,ARe),Q.Bd=function(e){for(this.b=!1;!this.b&&this.c.Bd(new ufe(this,e)););return this.b},Q.b=!1,R(dH,`StreamImpl/FilterSpliterator`,737),q(1096,1,MB,ufe),Q.Cd=function(e){YTe(this.a,this.b,e)},R(dH,`StreamImpl/FilterSpliterator/lambda$0$Type`,1096),q(1091,736,jB,TIe),Q.Re=function(e){return lbe(this,F(e,189))},R(dH,`StreamImpl/MapToDoubleSpliterator`,1091),q(1095,1,MB,dfe),Q.Cd=function(e){Cfe(this.a,this.b,e)},R(dH,`StreamImpl/MapToDoubleSpliterator/lambda$0$Type`,1095),q(1090,735,jB,EIe),Q.Re=function(e){return ube(this,F(e,202))},R(dH,`StreamImpl/MapToIntSpliterator`,1090),q(1094,1,MB,ffe),Q.Cd=function(e){wfe(this.a,this.b,e)},R(dH,`StreamImpl/MapToIntSpliterator/lambda$0$Type`,1094),q(734,500,jB,DIe),Q.Bd=function(e){return dbe(this,e)},R(dH,`StreamImpl/MapToObjSpliterator`,734),q(1093,1,MB,pfe),Q.Cd=function(e){Tfe(this.a,this.b,e)},R(dH,`StreamImpl/MapToObjSpliterator/lambda$0$Type`,1093),q(1092,500,jB,CVe),Q.Bd=function(e){for(;$h(this.b,0);){if(!this.a.Bd(new Ie))return!1;this.b=qM(this.b,1)}return this.a.Bd(e)},Q.b=0,R(dH,`StreamImpl/SkipSpliterator`,1092),q(1097,1,MB,Ie),Q.Cd=function(e){},R(dH,`StreamImpl/SkipSpliterator/lambda$0$Type`,1097),q(626,1,MB,Le),Q.Cd=function(e){Kie(this,e)},R(dH,`StreamImpl/ValueConsumer`,626),q(1098,1,MB,Re),Q.Cd=function(e){xh()},R(dH,`StreamImpl/lambda$0$Type`,1098),q(1099,1,MB,ze),Q.Cd=function(e){xh()},R(dH,`StreamImpl/lambda$1$Type`,1099),q(1100,1,{},ou),Q.Ve=function(e,t){return hxe(this.a,e,t)},R(dH,`StreamImpl/lambda$4$Type`,1100),q(1101,1,MB,mfe),Q.Cd=function(e){bye(this.b,this.a,e)},R(dH,`StreamImpl/lambda$5$Type`,1101),q(1107,1,MB,Hae),Q.Cd=function(e){bUe(this.a,F(e,380))},R(dH,`TerminatableStream/lambda$0$Type`,1107),q(2142,1,{}),q(2014,1,{},Be),R(`javaemul.internal`,`ConsoleLogger`,2014);var sCt=0;q(2134,1,{}),q(1830,1,MB,Ve),Q.Cd=function(e){F(e,317)},R(pH,`BowyerWatsonTriangulation/lambda$0$Type`,1830),q(1831,1,MB,cu),Q.Cd=function(e){Xk(this.a,F(e,317).e)},R(pH,`BowyerWatsonTriangulation/lambda$1$Type`,1831),q(1832,1,MB,He),Q.Cd=function(e){F(e,177)},R(pH,`BowyerWatsonTriangulation/lambda$2$Type`,1832),q(1827,1,mH,lu),Q.Ne=function(e,t){return jPe(this.a,F(e,177),F(t,177))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(pH,`NaiveMinST/lambda$0$Type`,1827),q(449,1,{},su),R(pH,`NodeMicroLayout`,449),q(177,1,{177:1},sg),Q.Fb=function(e){var t;return N(e,177)?(t=F(e,177),RC(this.a,t.a)&&RC(this.b,t.b)||RC(this.a,t.b)&&RC(this.b,t.a)):!1},Q.Hb=function(){return Mv(this.a)+Mv(this.b)};var cCt=R(pH,`TEdge`,177);q(317,1,{317:1},Oot),Q.Fb=function(e){var t;return N(e,317)?(t=F(e,317),XD(this,t.a)&&XD(this,t.b)&&XD(this,t.c)):!1},Q.Hb=function(){return Mv(this.a)+Mv(this.b)+Mv(this.c)},R(pH,`TTriangle`,317),q(225,1,{225:1},Wv),R(pH,`Tree`,225),q(1218,1,{},rje),R(Xpt,`Scanline`,1218);var lCt=xx(Xpt,Zpt);q(1758,1,{},zze),R(hH,`CGraph`,1758),q(316,1,{316:1},oje),Q.b=0,Q.c=0,Q.d=0,Q.g=0,Q.i=0,Q.k=BV,R(hH,`CGroup`,316),q(830,1,{},Xf),R(hH,`CGroup/CGroupBuilder`,830),q(60,1,{60:1},jye),Q.Ib=function(){var e;return this.j?eb(this.j.Kb(this)):(tb(IY),IY.o+`@`+(e=Ey(this)>>>0,e.toString(16)))},Q.f=0,Q.i=BV;var IY=R(hH,`CNode`,60);q(829,1,{},Zf),R(hH,`CNode/CNodeBuilder`,829);var uCt;q(1590,1,{},Ue),Q.ff=function(e,t){return 0},Q.gf=function(e,t){return 0},R(hH,$pt,1590),q(1853,1,{},We),Q.cf=function(e){var t,n,i,a,o,s,c,l,u=zV,d,f,p,m,h,g;for(i=new D(e.a.b);i.ar.d.c||r.d.c==a.d.c&&r.d.b0?e+this.n.d+this.n.a:0},Q.kf=function(){var e,t,n,i,a=0;if(this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].kf());else if(this.g)a=vJe(this,kF(this,null,!0));else for(t=(zO(),W(A(GY,1),Z,237,0,[HY,UY,WY])),n=0,i=t.length;n0?a+this.n.b+this.n.c:0},Q.lf=function(){var e,t,n,r,i;if(this.g)for(e=kF(this,null,!1),n=(zO(),W(A(GY,1),Z,237,0,[HY,UY,WY])),r=0,i=n.length;r0&&(i[0]+=this.d,n-=i[0]),i[2]>0&&(i[2]+=this.d,n-=i[2]),this.c.a=r.Math.max(0,n),this.c.d=t.d+e.d+(this.c.a-n)/2,i[1]=r.Math.max(i[1],n),yIe(this,UY,t.d+e.d+i[0]-(i[1]-n)/2,i)},Q.b=null,Q.d=0,Q.e=!1,Q.f=!1,Q.g=!1;var KY=0,qY=0;R(TH,`GridContainerCell`,1538),q(471,22,{3:1,34:1,22:1,471:1},ug);var JY,YY,XY,VCt=ck(TH,`HorizontalLabelAlignment`,471,HJ,jje,Xbe),HCt;q(314,217,{217:1,314:1},jAe,Vze,Bke),Q.jf=function(){return iwe(this)},Q.kf=function(){return awe(this)},Q.a=0,Q.c=!1;var UCt=R(TH,`LabelCell`,314);q(252,336,{217:1,336:1,252:1},$N),Q.jf=function(){return ZI(this)},Q.kf=function(){return QI(this)},Q.lf=function(){UR(this)},Q.mf=function(){GR(this)},Q.b=0,Q.c=0,Q.d=!1,R(TH,`StripContainerCell`,252),q(1691,1,XB,Xe),Q.Mb=function(e){return Qce(F(e,217))},R(TH,`StripContainerCell/lambda$0$Type`,1691),q(1692,1,{},Ze),Q.Ye=function(e){return F(e,217).kf()},R(TH,`StripContainerCell/lambda$1$Type`,1692),q(1693,1,XB,Qe),Q.Mb=function(e){return $ce(F(e,217))},R(TH,`StripContainerCell/lambda$2$Type`,1693),q(1694,1,{},$e),Q.Ye=function(e){return F(e,217).jf()},R(TH,`StripContainerCell/lambda$3$Type`,1694),q(472,22,{3:1,34:1,22:1,472:1},dg);var ZY,QY,$Y,WCt=ck(TH,`VerticalLabelAlignment`,472,HJ,Aje,Zbe),GCt;q(800,1,{},Gut),Q.c=0,Q.d=0,Q.k=0,Q.s=0,Q.t=0,Q.v=!1,Q.w=0,Q.D=!1,Q.F=!1,R(kH,`NodeContext`,800),q(1536,1,mH,et),Q.Ne=function(e,t){return Zme(F(e,64),F(t,64))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(kH,`NodeContext/0methodref$comparePortSides$Type`,1536),q(1537,1,mH,tt),Q.Ne=function(e,t){return M2e(F(e,117),F(t,117))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(kH,`NodeContext/1methodref$comparePortContexts$Type`,1537),q(164,22,{3:1,34:1,22:1,164:1},tA);var KCt,qCt,JCt,YCt,XCt,ZCt,QCt,$Ct,ewt,twt,nwt,rwt,iwt,awt,owt,swt,cwt,lwt,uwt,dwt,fwt,eX,pwt=ck(kH,`NodeLabelLocation`,164,HJ,oP,Qbe),mwt;q(117,1,{117:1},g5e),Q.a=!1,R(kH,`PortContext`,117),q(1541,1,MB,nt),Q.Cd=function(e){Due(F(e,314))},R(MH,ymt,1541),q(1542,1,XB,rt),Q.Mb=function(e){return!!F(e,117).c},R(MH,bmt,1542),q(1543,1,MB,it),Q.Cd=function(e){Due(F(e,117).c)},R(MH,`LabelPlacer/lambda$2$Type`,1543);var hwt;q(1540,1,MB,at),Q.Cd=function(e){lb(),Ase(F(e,117))},R(MH,`NodeLabelAndSizeUtilities/lambda$0$Type`,1540),q(801,1,MB,fxe),Q.Cd=function(e){Hde(this.b,this.c,this.a,F(e,187))},Q.a=!1,Q.c=!1,R(MH,`NodeLabelCellCreator/lambda$0$Type`,801),q(1539,1,MB,Wae),Q.Cd=function(e){Ise(this.a,F(e,187))},R(MH,`PortContextCreator/lambda$0$Type`,1539);var tX;q(1902,1,{},T),R(NH,`GreedyRectangleStripOverlapRemover`,1902),q(1903,1,mH,ot),Q.Ne=function(e,t){return w_e(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(NH,`GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type`,1903),q(1849,1,{},Vse),Q.a=5,Q.e=0,R(NH,`RectangleStripOverlapRemover`,1849),q(1850,1,mH,st),Q.Ne=function(e,t){return T_e(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(NH,`RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type`,1850),q(1852,1,mH,ct),Q.Ne=function(e,t){return FEe(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(NH,`RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type`,1852),q(417,22,{3:1,34:1,22:1,417:1},fg);var nX,rX,iX,aX,gwt=ck(NH,`RectangleStripOverlapRemover/OverlapRemovalDirection`,417,HJ,ZNe,$be),_wt;q(226,1,{226:1},Zx),R(NH,`RectangleStripOverlapRemover/RectangleNode`,226),q(1851,1,MB,Gae),Q.Cd=function(e){_Qe(this.a,F(e,226))},R(NH,`RectangleStripOverlapRemover/lambda$1$Type`,1851),q(1323,1,mH,tee),Q.Ne=function(e,t){return Yst(F(e,176),F(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator`,1323),q(1326,1,{},lt),Q.Kb=function(e){return F(e,334).a},R(FH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type`,1326),q(1327,1,XB,ut),Q.Mb=function(e){return F(e,332).a},R(FH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type`,1327),q(1328,1,XB,dt),Q.Mb=function(e){return F(e,332).a},R(FH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type`,1328),q(1321,1,mH,ft),Q.Ne=function(e,t){return Wrt(F(e,176),F(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FH,`PolyominoCompactor/MinNumOfExtensionDirectionsComparator`,1321),q(1324,1,{},pt),Q.Kb=function(e){return F(e,334).a},R(FH,`PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type`,1324),q(781,1,mH,mt),Q.Ne=function(e,t){return MUe(F(e,176),F(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FH,`PolyominoCompactor/MinNumOfExtensionsComparator`,781),q(1319,1,mH,ht),Q.Ne=function(e,t){return LVe(F(e,330),F(t,330))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FH,`PolyominoCompactor/MinPerimeterComparator`,1319),q(1320,1,mH,gt),Q.Ne=function(e,t){return _Ze(F(e,330),F(t,330))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FH,`PolyominoCompactor/MinPerimeterComparatorWithShape`,1320),q(1322,1,mH,_t),Q.Ne=function(e,t){return Eit(F(e,176),F(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FH,`PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator`,1322),q(1325,1,{},vt),Q.Kb=function(e){return F(e,334).a},R(FH,`PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type`,1325),q(782,1,{},vfe),Q.Ve=function(e,t){return MNe(this,F(e,42),F(t,176))},R(FH,`SuccessorCombination`,782),q(649,1,{},yt),Q.Ve=function(e,t){var n;return H8e((n=F(e,42),F(t,176),n))},R(FH,`SuccessorJitter`,649),q(648,1,{},bt),Q.Ve=function(e,t){var n;return gtt((n=F(e,42),F(t,176),n))},R(FH,`SuccessorLineByLine`,648),q(573,1,{},xt),Q.Ve=function(e,t){var n;return B7e((n=F(e,42),F(t,176),n))},R(FH,`SuccessorManhattan`,573),q(1344,1,{},nee),Q.Ve=function(e,t){var n;return jet((n=F(e,42),F(t,176),n))},R(FH,`SuccessorMaxNormWindingInMathPosSense`,1344),q(409,1,{},fu),Q.Ve=function(e,t){return xEe(this,e,t)},Q.c=!1,Q.d=!1,Q.e=!1,Q.f=!1,R(FH,`SuccessorQuadrantsGeneric`,409),q(1345,1,{},ree),Q.Kb=function(e){return F(e,334).a},R(FH,`SuccessorQuadrantsGeneric/lambda$0$Type`,1345),q(332,22,{3:1,34:1,22:1,332:1},pg),Q.a=!1;var oX,sX,cX,lX,vwt=ck(BH,Smt,332,HJ,YNe,exe),ywt;q(1317,1,{}),Q.Ib=function(){var e,t,n=` `,r,i,a;for(e=dM(0),i=0;i=0?`b`+e+`[`+wE(this.a)+`]`:`b[`+wE(this.a)+`]`):`b_`+Ey(this)},R(sU,`FBendpoint`,250),q(290,137,{3:1,290:1,96:1,137:1},Mye),Q.Ib=function(){return wE(this)},R(sU,`FEdge`,290),q(235,137,{3:1,235:1,96:1,137:1},XE);var Hwt=R(sU,`FGraph`,235);q(454,309,{3:1,454:1,309:1,96:1,137:1},IPe),Q.Ib=function(){return this.b==null||this.b.length==0?`l[`+wE(this.a)+`]`:`l_`+this.b},R(sU,`FLabel`,454),q(153,309,{3:1,153:1,309:1,96:1,137:1},tge),Q.Ib=function(){return OMe(this)},Q.a=0,R(sU,`FNode`,153),q(2100,1,{}),Q.vf=function(e){Vat(this,e)},Q.wf=function(){kQe(this)},Q.d=0,R(zmt,`AbstractForceModel`,2100),q(641,2100,{641:1},nUe),Q.uf=function(e,t){var n,i,a,o,s;return Ect(this.f,e,t),a=Sb(Gv(t.d),e.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),i=r.Math.max(0,s-xC(e.e)/2-xC(t.e)/2),n=J8e(this.e,e,t),o=n>0?-kEe(i,this.c)*n:X_e(i,this.b)*F(K(e,(FR(),EX)),17).a,$v(a,o/s),a},Q.vf=function(e){Vat(this,e),this.a=F(K(e,(FR(),TX)),17).a,this.c=k(P(K(e,OX))),this.b=k(P(K(e,DX)))},Q.xf=function(e){return e0&&(o-=Wce(i,this.a)*n),$v(a,o*this.b/s),a},Q.vf=function(e){var t,n,i,a,o,s,c;for(Vat(this,e),this.b=k(P(K(e,(FR(),kX)))),this.c=this.b/F(K(e,TX),17).a,i=e.e.c.length,o=0,a=0,c=new D(e.e);c.a0},Q.a=0,Q.b=0,Q.c=0,R(zmt,`FruchtermanReingoldModel`,642),q(860,1,xH,_c),Q.hf=function(e){rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,cU),``),`Force Model`),`Determines the model for force calculation.`),Gwt),(NI(),q3)),Zwt),BM((lP(),H3))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Bmt),``),`Iterations`),`The number of iterations on the force model.`),dM(300)),Y3),aY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Vmt),``),`Repulsive Power`),`Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model`),dM(0)),Y3),aY),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,lU),``),`FR Temperature`),`The temperature is used as a scaling factor for particle displacements.`),uU),K3),rY),BM(H3)))),BT(e,lU,cU,Xwt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,dU),``),`Eades Repulsion`),`Factor for repulsive forces in Eades' model.`),5),K3),rY),BM(H3)))),BT(e,dU,cU,qwt),Fdt((new vc,e))};var Uwt,Wwt,Gwt,Kwt,qwt,Jwt,Ywt,Xwt;R(fU,`ForceMetaDataProvider`,860),q(432,22,{3:1,34:1,22:1,432:1},xfe);var CX,wX,Zwt=ck(fU,`ForceModelStrategy`,432,HJ,Gke,rxe),Qwt;q(aV,1,xH,vc),Q.hf=function(e){Fdt(e)};var $wt,eTt,tTt,TX,nTt,rTt,iTt,aTt,oTt,sTt,cTt,lTt,uTt,dTt,EX,fTt,DX,pTt,mTt,hTt,OX,kX,gTt,_Tt,vTt,yTt,bTt;R(fU,`ForceOptions`,aV),q(1001,1,{},lee),Q.sf=function(){var e;return e=new Yf,e},Q.tf=function(e){},R(fU,`ForceOptions/ForceFactory`,1001);var AX,jX,MX,NX;q(861,1,xH,Qre),Q.hf=function(e){rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Kmt),``),`Fixed Position`),`Prevent that the node is moved by the layout algorithm.`),(Oy(),!1)),(NI(),G3)),eY),BM((lP(),V3))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,qmt),``),`Desired Edge Length`),`Either specified for parent nodes or for individual edges, where the latter takes higher precedence.`),100),K3),rY),Yx(H3,W(A(W3,1),Z,170,0,[z3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Jmt),``),`Layout Dimension`),`Dimensions that are permitted to be altered during layout.`),CTt),q3),RTt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Ymt),``),`Stress Epsilon`),`Termination criterion for the iterative process.`),uU),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Xmt),``),`Iteration Limit`),`Maximum number of performed iterations. Takes higher precedence than 'epsilon'.`),dM(dB)),Y3),aY),BM(H3)))),Rlt((new $re,e))};var xTt,STt,CTt,wTt,TTt,ETt;R(fU,`StressMetaDataProvider`,861),q(1004,1,xH,$re),Q.hf=function(e){Rlt(e)};var PX,DTt,OTt,kTt,ATt,jTt,MTt,NTt,PTt,FTt,ITt,LTt;R(fU,`StressOptions`,1004),q(1005,1,{},see),Q.sf=function(){var e;return e=new Nye,e},Q.tf=function(e){},R(fU,`StressOptions/StressFactory`,1005),q(1110,205,qH,Nye),Q.rf=function(e,t){var n,r,i,a,o;for(t.Ug(Zmt,1),Bp($y(J(e,(TF(),ATt))))?Bp($y(J(e,ITt)))||zw((n=new su((Uh(),new Lp(e))),n)):A9e(new Yf,e,t.eh(1)),i=vWe(e),r=_ot(this.a,i),o=r.Kc();o.Ob();)a=F(o.Pb(),235),!(a.e.c.length<=1)&&(Wst(this.b,a),F7e(this.b),MO(a.d,new cee));i=Odt(r),dft(i),t.Vg()},R(IU,`StressLayoutProvider`,1110),q(1111,1,MB,cee),Q.Cd=function(e){rst(F(e,454))},R(IU,`StressLayoutProvider/lambda$0$Type`,1111),q(1002,1,{},Nf),Q.c=0,Q.e=0,Q.g=0,R(IU,`StressMajorization`,1002),q(391,22,{3:1,34:1,22:1,391:1},hg);var FX,IX,LX,RTt=ck(IU,`StressMajorization/Dimension`,391,HJ,Nje,ixe),zTt;q(1003,1,mH,Yae),Q.Ne=function(e,t){return mbe(this.a,F(e,153),F(t,153))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(IU,`StressMajorization/lambda$0$Type`,1003),q(1192,1,{},FMe),R(LU,`ElkLayered`,1192),q(1193,1,MB,mu),Q.Cd=function(e){U6e(this.a,F(e,36))},R(LU,`ElkLayered/lambda$0$Type`,1193),q(1194,1,MB,hu),Q.Cd=function(e){hbe(this.a,F(e,36))},R(LU,`ElkLayered/lambda$1$Type`,1194),q(1281,1,{},_ge);var BTt,VTt,HTt;R(LU,`GraphConfigurator`,1281),q(770,1,MB,gu),Q.Cd=function(e){N4e(this.a,F(e,10))},R(LU,`GraphConfigurator/lambda$0$Type`,770),q(771,1,{},It),Q.Kb=function(e){return f1e(),new jx(null,new wT(F(e,30).a,16))},R(LU,`GraphConfigurator/lambda$1$Type`,771),q(772,1,MB,_u),Q.Cd=function(e){N4e(this.a,F(e,10))},R(LU,`GraphConfigurator/lambda$2$Type`,772),q(1109,205,qH,ep),Q.rf=function(e,t){var n=mst(new Hse,e);M(J(e,(Zz(),P1)))===M((cM(),C8))?Bqe(this.a,n,t):k7e(this.a,n,t),t.$g()||Qut(new yc,n)},R(LU,`LayeredLayoutProvider`,1109),q(367,22,{3:1,34:1,22:1,367:1},gg);var RX,zX,BX,VX,HX,UTt=ck(LU,`LayeredPhases`,367,HJ,VFe,axe),WTt;q(1717,1,{},yVe),Q.i=0;var GTt;R(RU,`ComponentsToCGraphTransformer`,1717);var KTt;q(1718,1,{},Ft),Q.yf=function(e,t){return r.Math.min(e.a==null?e.c.i:k(e.a),t.a==null?t.c.i:k(t.a))},Q.zf=function(e,t){return r.Math.min(e.a==null?e.c.i:k(e.a),t.a==null?t.c.i:k(t.a))},R(RU,`ComponentsToCGraphTransformer/1`,1718),q(86,1,{86:1}),Q.i=0,Q.k=!0,Q.o=BV;var UX=R(zU,`CNode`,86);q(470,86,{470:1,86:1},L_e,sXe),Q.Ib=function(){return``},R(RU,`ComponentsToCGraphTransformer/CRectNode`,470),q(1688,1,{},uee);var WX,GX;R(RU,`OneDimensionalComponentsCompaction`,1688),q(1689,1,{},dee),Q.Kb=function(e){return gje(F(e,42))},Q.Fb=function(e){return this===e},R(RU,`OneDimensionalComponentsCompaction/lambda$0$Type`,1689),q(1690,1,{},Lt),Q.Kb=function(e){return Jqe(F(e,42))},Q.Fb=function(e){return this===e},R(RU,`OneDimensionalComponentsCompaction/lambda$1$Type`,1690),q(1720,1,{},pDe),R(zU,`CGraph`,1720),q(194,1,{194:1},QN),Q.b=0,Q.c=0,Q.e=0,Q.g=!0,Q.i=BV,R(zU,`CGroup`,194),q(1719,1,{},Rt),Q.yf=function(e,t){return r.Math.max(e.a==null?e.c.i:k(e.a),t.a==null?t.c.i:k(t.a))},Q.zf=function(e,t){return r.Math.max(e.a==null?e.c.i:k(e.a),t.a==null?t.c.i:k(t.a))},R(zU,$pt,1719),q(1721,1,{},t5e),Q.d=!1;var qTt,KX=R(zU,nmt,1721);q(1722,1,{},fee),Q.Kb=function(e){return Fde(),Oy(),F(F(e,42).a,86).d.e!=0},Q.Fb=function(e){return this===e},R(zU,rmt,1722),q(833,1,{},Kwe),Q.a=!1,Q.b=!1,Q.c=!1,Q.d=!1,R(zU,imt,833),q(1898,1,{},yTe),R(BU,amt,1898);var qX=xx(VU,Zpt);q(1899,1,{382:1},Ake),Q.bf=function(e){Utt(this,F(e,476))},R(BU,omt,1899),q(yV,1,mH,zt),Q.Ne=function(e,t){return xOe(F(e,86),F(t,86))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BU,smt,yV),q(476,1,{476:1},Lfe),Q.a=!1,R(BU,cmt,476),q(1901,1,mH,pee),Q.Ne=function(e,t){return d1e(F(e,476),F(t,476))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BU,lmt,1901),q(148,1,{148:1},Cg,DCe),Q.Fb=function(e){var t;return e==null||JTt!=Kj(e)?!1:(t=F(e,148),RC(this.c,t.c)&&RC(this.d,t.d))},Q.Hb=function(){return Jj(W(A(MJ,1),gB,1,5,[this.c,this.d]))},Q.Ib=function(){return`(`+this.c+hB+this.d+(this.a?`cx`:``)+this.b+`)`},Q.a=!0,Q.c=0,Q.d=0;var JTt=R(VU,`Point`,148);q(416,22,{3:1,34:1,22:1,416:1},vg);var JX,YX,XX,ZX,YTt=ck(VU,`Point/Quadrant`,416,HJ,QNe,oxe),XTt;q(1708,1,{},Bse),Q.b=null,Q.c=null,Q.d=null,Q.e=null,Q.f=null;var ZTt,QTt,$Tt,eEt,tEt;R(VU,`RectilinearConvexHull`,1708),q(583,1,{382:1},bP),Q.bf=function(e){cRe(this,F(e,148))},Q.b=0;var nEt;R(VU,`RectilinearConvexHull/MaximalElementsEventHandler`,583),q(1710,1,mH,Bt),Q.Ne=function(e,t){return SOe(P(e),P(t))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(VU,`RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type`,1710),q(1709,1,{382:1},Bze),Q.bf=function(e){Iet(this,F(e,148))},Q.a=0,Q.b=null,Q.c=null,Q.d=null,Q.e=null,R(VU,`RectilinearConvexHull/RectangleEventHandler`,1709),q(1711,1,mH,Vt),Q.Ne=function(e,t){return CMe(F(e,148),F(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(VU,`RectilinearConvexHull/lambda$0$Type`,1711),q(1712,1,mH,Gt),Q.Ne=function(e,t){return wMe(F(e,148),F(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(VU,`RectilinearConvexHull/lambda$1$Type`,1712),q(1713,1,mH,Kt),Q.Ne=function(e,t){return SMe(F(e,148),F(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(VU,`RectilinearConvexHull/lambda$2$Type`,1713),q(1714,1,mH,Wt),Q.Ne=function(e,t){return TMe(F(e,148),F(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(VU,`RectilinearConvexHull/lambda$3$Type`,1714),q(1715,1,mH,qt),Q.Ne=function(e,t){return i4e(F(e,148),F(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(VU,`RectilinearConvexHull/lambda$4$Type`,1715),q(1716,1,{},ije),R(VU,`Scanline`,1716),q(2104,1,{}),R(HU,`AbstractGraphPlacer`,2104),q(335,1,{335:1},sve),Q.Ff=function(e){return this.Gf(e)?(iL(this.b,F(K(e,(Y(),g$)),21),e),!0):!1},Q.Gf=function(e){var t=F(K(e,(Y(),g$)),21),n,r;for(r=F(UE(QX,t),21).Kc();r.Ob();)if(n=F(r.Pb(),21),!F(UE(this.b,n),15).dc())return!1;return!0};var QX;R(HU,`ComponentGroup`,335),q(779,2104,{},$f),Q.Hf=function(e){var t,n;for(n=new D(this.a);n.an&&(d=0,f+=c+i,c=0),l=o.c,mR(o,d+l.a,f+l.b),rv(l),a=r.Math.max(a,d+u.a),c=r.Math.max(c,u.b),d+=u.a+i;t.f.a=a,t.f.b=f+c},Q.Jf=function(e,t){var n,r,i,a,o;if(M(K(t,(Zz(),d1)))===M((ZN(),tZ))){for(r=e.Kc();r.Ob();){for(n=F(r.Pb(),36),o=0,a=new D(n.a);a.an&&!F(K(o,(Y(),g$)),21).Hc((Vz(),i5))||l&&F(K(l,(Y(),g$)),21).Hc((Vz(),r5))||F(K(o,(Y(),g$)),21).Hc((Vz(),C5)))&&(p=f,m+=c+i,c=0),u=o.c,F(K(o,(Y(),g$)),21).Hc((Vz(),i5))&&(p=a+i),mR(o,p+u.a,m+u.b),a=r.Math.max(a,p+d.a),F(K(o,g$),21).Hc(x5)&&(f=r.Math.max(f,p+d.a+i)),rv(u),c=r.Math.max(c,d.b),p+=d.a+i,l=o;t.f.a=a,t.f.b=m+c},Q.Jf=function(e,t){},R(HU,`ModelOrderRowGraphPlacer`,1313),q(1311,1,mH,Yt),Q.Ne=function(e,t){return CUe(F(e,36),F(t,36))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(HU,`SimpleRowGraphPlacer/1`,1311);var oEt;q(1280,1,vH,Xt),Q.Lb=function(e){var t;return t=F(K(F(e,249).b,(Zz(),R1)),75),!!t&&t.b!=0},Q.Fb=function(e){return this===e},Q.Mb=function(e){var t;return t=F(K(F(e,249).b,(Zz(),R1)),75),!!t&&t.b!=0},R(GU,`CompoundGraphPostprocessor/1`,1280),q(1279,1,KU,np),Q.Kf=function(e,t){xZe(this,F(e,36),t)},R(GU,`CompoundGraphPreprocessor`,1279),q(453,1,{453:1},aqe),Q.c=!1,R(GU,`CompoundGraphPreprocessor/ExternalPort`,453),q(249,1,{249:1},Bb),Q.Ib=function(){return Gy(this.c)+`:`+k8e(this.b)},R(GU,`CrossHierarchyEdge`,249),q(777,1,mH,vu),Q.Ne=function(e,t){return v$e(this,F(e,249),F(t,249))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(GU,`CrossHierarchyEdgeComparator`,777),q(305,137,{3:1,305:1,96:1,137:1}),Q.p=0,R(qU,`LGraphElement`,305),q(18,305,{3:1,18:1,305:1,96:1,137:1},Sw),Q.Ib=function(){return k8e(this)};var rZ=R(qU,`LEdge`,18);q(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},bVe),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){return new D(this.b)},Q.Ib=function(){return this.b.c.length==0?`G-unlayered`+hI(this.a):this.a.c.length==0?`G-layered`+hI(this.b):`G[layerless`+hI(this.a)+`, layers`+hI(this.b)+`]`};var sEt=R(qU,`LGraph`,36),cEt;q(666,1,{}),Q.Lf=function(){return this.e.n},Q.of=function(e){return K(this.e,e)},Q.Mf=function(){return this.e.o},Q.Nf=function(){return this.e.p},Q.pf=function(e){return Wy(this.e,e)},Q.Of=function(e){this.e.n.a=e.a,this.e.n.b=e.b},Q.Pf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},Q.Qf=function(e){this.e.p=e},R(qU,`LGraphAdapters/AbstractLShapeAdapter`,666),q(474,1,{853:1},yu),Q.Rf=function(){var e,t;if(!this.b)for(this.b=Iy(this.a.b.c.length),t=new D(this.a.b);t.a0&&XGe((CT(t-1,e.length),e.charCodeAt(t-1)),aht);)--t;if(a> `,e),mF(n)),$_(Q_((e.a+=`[`,e),n.i),`]`)),e.a},Q.c=!0,Q.d=!1;var fEt,pEt,mEt,hEt,gEt,_Et,vEt=R(qU,`LPort`,12);q(408,1,IB,xu),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){return new Su(new D(this.a.e))},R(qU,`LPort/1`,408),q(1309,1,SB,Su),Q.Nb=function(e){ES(this,e)},Q.Pb=function(){return F(B(this.a),18).c},Q.Ob=function(){return Bv(this.a)},Q.Qb=function(){HS(this.a)},R(qU,`LPort/1/1`,1309),q(369,1,IB,Cu),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){var e;return e=new D(this.a.g),new wu(e)},R(qU,`LPort/2`,369),q(776,1,SB,wu),Q.Nb=function(e){ES(this,e)},Q.Pb=function(){return F(B(this.a),18).d},Q.Ob=function(){return Bv(this.a)},Q.Qb=function(){HS(this.a)},R(qU,`LPort/2/1`,776),q(1302,1,IB,jfe),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){return new YE(this)},R(qU,`LPort/CombineIter`,1302),q(208,1,SB,YE),Q.Nb=function(e){ES(this,e)},Q.Qb=function(){fue()},Q.Ob=function(){return Ty(this)},Q.Pb=function(){return Bv(this.a)?B(this.a):B(this.b)},R(qU,`LPort/CombineIter/1`,208),q(1303,1,vH,en),Q.Lb=function(e){return QTe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return cA(),F(e,12).g.c.length!=0},R(qU,`LPort/lambda$0$Type`,1303),q(1304,1,vH,tn),Q.Lb=function(e){return $Te(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return cA(),F(e,12).e.c.length!=0},R(qU,`LPort/lambda$1$Type`,1304),q(1305,1,vH,nn),Q.Lb=function(e){return cA(),F(e,12).j==(Vz(),i5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return cA(),F(e,12).j==(Vz(),i5)},R(qU,`LPort/lambda$2$Type`,1305),q(1306,1,vH,hee),Q.Lb=function(e){return cA(),F(e,12).j==(Vz(),r5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return cA(),F(e,12).j==(Vz(),r5)},R(qU,`LPort/lambda$3$Type`,1306),q(1307,1,vH,gee),Q.Lb=function(e){return cA(),F(e,12).j==(Vz(),x5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return cA(),F(e,12).j==(Vz(),x5)},R(qU,`LPort/lambda$4$Type`,1307),q(1308,1,vH,rn),Q.Lb=function(e){return cA(),F(e,12).j==(Vz(),C5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return cA(),F(e,12).j==(Vz(),C5)},R(qU,`LPort/lambda$5$Type`,1308),q(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},mC),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){return new D(this.a)},Q.Ib=function(){return`L_`+VD(this.b.b,this,0)+hI(this.a)},R(qU,`Layer`,30),q(1330,1,{},Hse),R(QU,lht,1330),q(1334,1,{},an),Q.Kb=function(e){return eI(F(e,84))},R(QU,`ElkGraphImporter/0methodref$connectableShapeToNode$Type`,1334),q(1337,1,{},on),Q.Kb=function(e){return eI(F(e,84))},R(QU,`ElkGraphImporter/1methodref$connectableShapeToNode$Type`,1337),q(1331,1,MB,Xae),Q.Cd=function(e){v5e(this.a,F(e,123))},R(QU,Lmt,1331),q(1332,1,MB,Zae),Q.Cd=function(e){v5e(this.a,F(e,123))},R(QU,uht,1332),q(1333,1,{},sn),Q.Kb=function(e){return new jx(null,new wT(dOe(F(e,74)),16))},R(QU,dht,1333),q(1335,1,XB,Qae),Q.Mb=function(e){return The(this.a,F(e,27))},R(QU,fht,1335),q(1336,1,{},cn),Q.Kb=function(e){return new jx(null,new wT(fOe(F(e,74)),16))},R(QU,`ElkGraphImporter/lambda$5$Type`,1336),q(1338,1,XB,$ae),Q.Mb=function(e){return Ehe(this.a,F(e,27))},R(QU,`ElkGraphImporter/lambda$7$Type`,1338),q(1339,1,XB,ln),Q.Mb=function(e){return $Oe(F(e,74))},R(QU,`ElkGraphImporter/lambda$8$Type`,1339),q(1297,1,{},yc);var yEt;R(QU,`ElkGraphLayoutTransferrer`,1297),q(1298,1,XB,eoe),Q.Mb=function(e){return Dye(this.a,F(e,18))},R(QU,`ElkGraphLayoutTransferrer/lambda$0$Type`,1298),q(1299,1,MB,toe),Q.Cd=function(e){Nh(),ey(this.a,F(e,18))},R(QU,`ElkGraphLayoutTransferrer/lambda$1$Type`,1299),q(1300,1,XB,noe),Q.Mb=function(e){return Jve(this.a,F(e,18))},R(QU,`ElkGraphLayoutTransferrer/lambda$2$Type`,1300),q(1301,1,MB,roe),Q.Cd=function(e){Nh(),ey(this.a,F(e,18))},R(QU,`ElkGraphLayoutTransferrer/lambda$3$Type`,1301),q(819,1,{},Pye),R($U,`BiLinkedHashMultiMap`,819),q(1550,1,KU,un),Q.Kf=function(e,t){oHe(F(e,36),t)},R($U,`CommentNodeMarginCalculator`,1550),q(1551,1,{},dn),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`CommentNodeMarginCalculator/lambda$0$Type`,1551),q(1552,1,MB,fn),Q.Cd=function(e){fst(F(e,10))},R($U,`CommentNodeMarginCalculator/lambda$1$Type`,1552),q(1553,1,KU,_ee),Q.Kf=function(e,t){tnt(F(e,36),t)},R($U,`CommentPostprocessor`,1553),q(1554,1,KU,pn),Q.Kf=function(e,t){But(F(e,36),t)},R($U,`CommentPreprocessor`,1554),q(1555,1,KU,vee),Q.Kf=function(e,t){Xet(F(e,36),t)},R($U,`ConstraintsPostprocessor`,1555),q(1556,1,KU,mn),Q.Kf=function(e,t){dUe(F(e,36),t)},R($U,`EdgeAndLayerConstraintEdgeReverser`,1556),q(1557,1,KU,hn),Q.Kf=function(e,t){YJe(F(e,36),t)},R($U,`EndLabelPostprocessor`,1557),q(1558,1,{},gn),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`EndLabelPostprocessor/lambda$0$Type`,1558),q(1559,1,XB,_n),Q.Mb=function(e){return MFe(F(e,10))},R($U,`EndLabelPostprocessor/lambda$1$Type`,1559),q(1560,1,MB,vn),Q.Cd=function(e){p1e(F(e,10))},R($U,`EndLabelPostprocessor/lambda$2$Type`,1560),q(1561,1,KU,yn),Q.Kf=function(e,t){Q3e(F(e,36),t)},R($U,`EndLabelPreprocessor`,1561),q(1562,1,{},bn),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`EndLabelPreprocessor/lambda$0$Type`,1562),q(1563,1,MB,dxe),Q.Cd=function(e){Ude(this.a,this.b,this.c,F(e,10))},Q.a=0,Q.b=0,Q.c=!1,R($U,`EndLabelPreprocessor/lambda$1$Type`,1563),q(1564,1,XB,xn),Q.Mb=function(e){return M(K(F(e,72),(Zz(),D1)))===M((BO(),h8))},R($U,`EndLabelPreprocessor/lambda$2$Type`,1564),q(1565,1,MB,ioe),Q.Cd=function(e){gx(this.a,F(e,72))},R($U,`EndLabelPreprocessor/lambda$3$Type`,1565),q(1566,1,XB,Sn),Q.Mb=function(e){return M(K(F(e,72),(Zz(),D1)))===M((BO(),m8))},R($U,`EndLabelPreprocessor/lambda$4$Type`,1566),q(1567,1,MB,aoe),Q.Cd=function(e){gx(this.a,F(e,72))},R($U,`EndLabelPreprocessor/lambda$5$Type`,1567),q(1615,1,KU,Xre),Q.Kf=function(e,t){fqe(F(e,36),t)};var bEt;R($U,`EndLabelSorter`,1615),q(1616,1,mH,Cn),Q.Ne=function(e,t){return mXe(F(e,466),F(t,466))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`EndLabelSorter/1`,1616),q(466,1,{466:1},pke),R($U,`EndLabelSorter/LabelGroup`,466),q(1617,1,{},wn),Q.Kb=function(e){return Mh(),new jx(null,new wT(F(e,30).a,16))},R($U,`EndLabelSorter/lambda$0$Type`,1617),q(1618,1,XB,yee),Q.Mb=function(e){return Mh(),F(e,10).k==(yI(),lZ)},R($U,`EndLabelSorter/lambda$1$Type`,1618),q(1619,1,MB,Tn),Q.Cd=function(e){P4e(F(e,10))},R($U,`EndLabelSorter/lambda$2$Type`,1619),q(1620,1,XB,En),Q.Mb=function(e){return Mh(),M(K(F(e,72),(Zz(),D1)))===M((BO(),m8))},R($U,`EndLabelSorter/lambda$3$Type`,1620),q(1621,1,XB,Dn),Q.Mb=function(e){return Mh(),M(K(F(e,72),(Zz(),D1)))===M((BO(),h8))},R($U,`EndLabelSorter/lambda$4$Type`,1621),q(1568,1,KU,On),Q.Kf=function(e,t){Ist(this,F(e,36))},Q.b=0,Q.c=0,R($U,`FinalSplineBendpointsCalculator`,1568),q(1569,1,{},kn),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`FinalSplineBendpointsCalculator/lambda$0$Type`,1569),q(1570,1,{},An),Q.Kb=function(e){return new jx(null,new ZS(new dS(fy(eN(F(e,10)).a.Kc(),new d))))},R($U,`FinalSplineBendpointsCalculator/lambda$1$Type`,1570),q(1571,1,XB,jn),Q.Mb=function(e){return!ME(F(e,18))},R($U,`FinalSplineBendpointsCalculator/lambda$2$Type`,1571),q(1572,1,XB,Mn),Q.Mb=function(e){return Wy(F(e,18),(Y(),X$))},R($U,`FinalSplineBendpointsCalculator/lambda$3$Type`,1572),q(1573,1,MB,Tu),Q.Cd=function(e){Ait(this.a,F(e,131))},R($U,`FinalSplineBendpointsCalculator/lambda$4$Type`,1573),q(1574,1,MB,Nn),Q.Cd=function(e){BI(F(e,18).a)},R($U,`FinalSplineBendpointsCalculator/lambda$5$Type`,1574),q(803,1,KU,Eu),Q.Kf=function(e,t){Hct(this,F(e,36),t)},R($U,`GraphTransformer`,803),q(517,22,{3:1,34:1,22:1,517:1},Ofe);var fZ,pZ,xEt=ck($U,`GraphTransformer/Mode`,517,HJ,Kke,ySe),SEt;q(1575,1,KU,Pn),Q.Kf=function(e,t){V9e(F(e,36),t)},R($U,`HierarchicalNodeResizingProcessor`,1575),q(1576,1,KU,Fn),Q.Kf=function(e,t){KVe(F(e,36),t)},R($U,`HierarchicalPortConstraintProcessor`,1576),q(1577,1,mH,In),Q.Ne=function(e,t){return $Xe(F(e,10),F(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`HierarchicalPortConstraintProcessor/NodeComparator`,1577),q(1578,1,KU,Ln),Q.Kf=function(e,t){cot(F(e,36),t)},R($U,`HierarchicalPortDummySizeProcessor`,1578),q(1579,1,KU,bee),Q.Kf=function(e,t){Gnt(this,F(e,36),t)},Q.a=0,R($U,`HierarchicalPortOrthogonalEdgeRouter`,1579),q(1580,1,mH,Rn),Q.Ne=function(e,t){return E_e(F(e,10),F(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`HierarchicalPortOrthogonalEdgeRouter/1`,1580),q(1581,1,mH,zn),Q.Ne=function(e,t){return dRe(F(e,10),F(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`HierarchicalPortOrthogonalEdgeRouter/2`,1581),q(1582,1,KU,xee),Q.Kf=function(e,t){Q2e(F(e,36),t)},R($U,`HierarchicalPortPositionProcessor`,1582),q(1583,1,KU,eie),Q.Kf=function(e,t){Vdt(this,F(e,36))},Q.a=0,Q.c=0;var mZ,hZ;R($U,`HighDegreeNodeLayeringProcessor`,1583),q(580,1,{580:1},Bn),Q.b=-1,Q.d=-1,R($U,`HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation`,580),q(1584,1,{},See),Q.Kb=function(e){return Ub(),$M(F(e,10))},Q.Fb=function(e){return this===e},R($U,`HighDegreeNodeLayeringProcessor/lambda$0$Type`,1584),q(1585,1,{},Cee),Q.Kb=function(e){return Ub(),eN(F(e,10))},Q.Fb=function(e){return this===e},R($U,`HighDegreeNodeLayeringProcessor/lambda$1$Type`,1585),q(1591,1,KU,wee),Q.Kf=function(e,t){Kat(this,F(e,36),t)},R($U,`HyperedgeDummyMerger`,1591),q(804,1,{},pxe),Q.a=!1,Q.b=!1,Q.c=!1,R($U,`HyperedgeDummyMerger/MergeState`,804),q(1592,1,{},Vn),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`HyperedgeDummyMerger/lambda$0$Type`,1592),q(1593,1,{},Hn),Q.Kb=function(e){return new jx(null,new wT(F(e,10).j,16))},R($U,`HyperedgeDummyMerger/lambda$1$Type`,1593),q(1594,1,MB,Un),Q.Cd=function(e){F(e,12).p=-1},R($U,`HyperedgeDummyMerger/lambda$2$Type`,1594),q(1595,1,KU,Wn),Q.Kf=function(e,t){Wat(F(e,36),t)},R($U,`HypernodesProcessor`,1595),q(1596,1,KU,Gn),Q.Kf=function(e,t){sot(F(e,36),t)},R($U,`InLayerConstraintProcessor`,1596),q(1597,1,KU,Tee),Q.Kf=function(e,t){NHe(F(e,36),t)},R($U,`InnermostNodeMarginCalculator`,1597),q(1598,1,KU,Kn),Q.Kf=function(e,t){Iut(this,F(e,36))},Q.a=BV,Q.b=BV,Q.c=zV,Q.d=zV;var CEt=R($U,`InteractiveExternalPortPositioner`,1598);q(1599,1,{},qn),Q.Kb=function(e){return F(e,18).d.i},Q.Fb=function(e){return this===e},R($U,`InteractiveExternalPortPositioner/lambda$0$Type`,1599),q(1600,1,{},ooe),Q.Kb=function(e){return D_e(this.a,P(e))},Q.Fb=function(e){return this===e},R($U,`InteractiveExternalPortPositioner/lambda$1$Type`,1600),q(1601,1,{},Jn),Q.Kb=function(e){return F(e,18).c.i},Q.Fb=function(e){return this===e},R($U,`InteractiveExternalPortPositioner/lambda$2$Type`,1601),q(1602,1,{},soe),Q.Kb=function(e){return O_e(this.a,P(e))},Q.Fb=function(e){return this===e},R($U,`InteractiveExternalPortPositioner/lambda$3$Type`,1602),q(1603,1,{},coe),Q.Kb=function(e){return Uye(this.a,P(e))},Q.Fb=function(e){return this===e},R($U,`InteractiveExternalPortPositioner/lambda$4$Type`,1603),q(1604,1,{},loe),Q.Kb=function(e){return Wye(this.a,P(e))},Q.Fb=function(e){return this===e},R($U,`InteractiveExternalPortPositioner/lambda$5$Type`,1604),q(81,22,{3:1,34:1,22:1,81:1,196:1},xg),Q.dg=function(){switch(this.g){case 15:return new Tte;case 22:return new mi;case 47:return new Dte;case 28:case 35:return new Oee;case 32:return new un;case 42:return new _ee;case 1:return new pn;case 41:return new vee;case 56:return new Eu((sA(),pZ));case 0:return new Eu((sA(),fZ));case 2:return new mn;case 54:return new hn;case 33:return new yn;case 51:return new On;case 55:return new Pn;case 13:return new Fn;case 38:return new Ln;case 44:return new bee;case 40:return new xee;case 9:return new eie;case 49:return new F_e;case 37:return new wee;case 43:return new Wn;case 27:return new Gn;case 30:return new Tee;case 3:return new Kn;case 18:return new Xn;case 29:return new Zn;case 5:return new tie;case 50:return new Yn;case 34:return new bc;case 36:return new kee;case 52:return new Xre;case 11:return new Aee;case 7:return new nie;case 39:return new jee;case 45:return new rr;case 16:return new Mee;case 10:return new ope;case 48:return new Nee;case 21:return new Pee;case 23:return new Ip((uk(),C2));case 8:return new Iee;case 12:return new Ree;case 4:return new zee;case 19:return new aie;case 17:return new pr;case 53:return new mr;case 6:return new wr;case 25:return new ip;case 46:return new vr;case 31:return new Rye;case 14:return new Kee;case 26:return new Si;case 20:return new Fr;case 24:return new Ip((uk(),w2));default:throw O(new Kp(eW+(this.f==null?``+this.g:this.f)))}};var wEt,TEt,EEt,DEt,OEt,kEt,AEt,jEt,MEt,NEt,gZ,_Z,vZ,PEt,FEt,IEt,LEt,REt,zEt,BEt,yZ,VEt,HEt,UEt,WEt,GEt,bZ,xZ,SZ,KEt,CZ,wZ,TZ,EZ,DZ,OZ,qEt,kZ,AZ,JEt,jZ,MZ,YEt,XEt,ZEt,QEt,NZ,PZ,FZ,IZ,LZ,RZ,zZ,$Et,eDt,tDt,nDt,rDt=ck($U,tW,81,HJ,Met,vxe),iDt;q(1605,1,KU,Xn),Q.Kf=function(e,t){Put(F(e,36),t)},R($U,`InvertedPortProcessor`,1605),q(1606,1,KU,Zn),Q.Kf=function(e,t){git(F(e,36),t)},R($U,`LabelAndNodeSizeProcessor`,1606),q(1607,1,XB,Qn),Q.Mb=function(e){return F(e,10).k==(yI(),lZ)},R($U,`LabelAndNodeSizeProcessor/lambda$0$Type`,1607),q(1608,1,XB,$n),Q.Mb=function(e){return F(e,10).k==(yI(),oZ)},R($U,`LabelAndNodeSizeProcessor/lambda$1$Type`,1608),q(1609,1,MB,mxe),Q.Cd=function(e){Wde(this.b,this.a,this.c,F(e,10))},Q.a=!1,Q.c=!1,R($U,`LabelAndNodeSizeProcessor/lambda$2$Type`,1609),q(1610,1,KU,tie),Q.Kf=function(e,t){Qlt(F(e,36),t)};var aDt;R($U,`LabelDummyInserter`,1610),q(1611,1,vH,Eee),Q.Lb=function(e){return M(K(F(e,72),(Zz(),D1)))===M((BO(),p8))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return M(K(F(e,72),(Zz(),D1)))===M((BO(),p8))},R($U,`LabelDummyInserter/1`,1611),q(1612,1,KU,Yn),Q.Kf=function(e,t){jlt(F(e,36),t)},R($U,`LabelDummyRemover`,1612),q(1613,1,XB,Dee),Q.Mb=function(e){return Bp($y(K(F(e,72),(Zz(),E1))))},R($U,`LabelDummyRemover/lambda$0$Type`,1613),q(1378,1,KU,bc),Q.Kf=function(e,t){vlt(this,F(e,36),t)},Q.a=null;var BZ;R($U,`LabelDummySwitcher`,1378),q(293,1,{293:1},Zrt),Q.c=0,Q.d=null,Q.f=0,R($U,`LabelDummySwitcher/LabelDummyInfo`,293),q(1379,1,{},er),Q.Kb=function(e){return aA(),new jx(null,new wT(F(e,30).a,16))},R($U,`LabelDummySwitcher/lambda$0$Type`,1379),q(1380,1,XB,tr),Q.Mb=function(e){return aA(),F(e,10).k==(yI(),sZ)},R($U,`LabelDummySwitcher/lambda$1$Type`,1380),q(1381,1,{},Du),Q.Kb=function(e){return Yve(this.a,F(e,10))},R($U,`LabelDummySwitcher/lambda$2$Type`,1381),q(1382,1,MB,uoe),Q.Cd=function(e){hDe(this.a,F(e,293))},R($U,`LabelDummySwitcher/lambda$3$Type`,1382),q(1383,1,mH,nr),Q.Ne=function(e,t){return eEe(F(e,293),F(t,293))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`LabelDummySwitcher/lambda$4$Type`,1383),q(802,1,KU,Oee),Q.Kf=function(e,t){MLe(F(e,36),t)},R($U,`LabelManagementProcessor`,802),q(1614,1,KU,kee),Q.Kf=function(e,t){Ntt(F(e,36),t)},R($U,`LabelSideSelector`,1614),q(1622,1,KU,Aee),Q.Kf=function(e,t){Mot(F(e,36),t)},R($U,`LayerConstraintPostprocessor`,1622),q(1623,1,KU,nie),Q.Kf=function(e,t){s7e(F(e,36),t)};var oDt;R($U,`LayerConstraintPreprocessor`,1623),q(371,22,{3:1,34:1,22:1,371:1},Sg);var VZ,HZ,UZ,WZ,sDt=ck($U,`LayerConstraintPreprocessor/HiddenNodeConnections`,371,HJ,ePe,yxe),cDt;q(1624,1,KU,jee),Q.Kf=function(e,t){Oct(F(e,36),t)},R($U,`LayerSizeAndGraphHeightCalculator`,1624),q(1625,1,KU,rr),Q.Kf=function(e,t){H9e(F(e,36),t)},R($U,`LongEdgeJoiner`,1625),q(1626,1,KU,Mee),Q.Kf=function(e,t){Zst(F(e,36),t)},R($U,`LongEdgeSplitter`,1626),q(1627,1,KU,ope),Q.Kf=function(e,t){hut(this,F(e,36),t)},Q.e=0,Q.f=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0;var lDt,uDt;R($U,`NodePromotion`,1627),q(1628,1,mH,ir),Q.Ne=function(e,t){return lGe(F(e,10),F(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`NodePromotion/1`,1628),q(1629,1,mH,ar),Q.Ne=function(e,t){return uGe(F(e,10),F(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`NodePromotion/2`,1629),q(1630,1,{},or),Q.Kb=function(e){return F(e,42),Wb(),Oy(),!0},Q.Fb=function(e){return this===e},R($U,`NodePromotion/lambda$0$Type`,1630),q(1631,1,{},doe),Q.Kb=function(e){return UAe(this.a,F(e,42))},Q.Fb=function(e){return this===e},Q.a=0,R($U,`NodePromotion/lambda$1$Type`,1631),q(1632,1,{},ju),Q.Kb=function(e){return HAe(this.a,F(e,42))},Q.Fb=function(e){return this===e},Q.a=0,R($U,`NodePromotion/lambda$2$Type`,1632),q(1633,1,KU,Nee),Q.Kf=function(e,t){Adt(F(e,36),t)},R($U,`NorthSouthPortPostprocessor`,1633),q(1634,1,KU,Pee),Q.Kf=function(e,t){rdt(F(e,36),t)},R($U,`NorthSouthPortPreprocessor`,1634),q(1635,1,mH,Fee),Q.Ne=function(e,t){return wUe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`NorthSouthPortPreprocessor/lambda$0$Type`,1635),q(1636,1,KU,Iee),Q.Kf=function(e,t){hat(F(e,36),t)},R($U,`PartitionMidprocessor`,1636),q(1637,1,XB,Lee),Q.Mb=function(e){return Wy(F(e,10),(Zz(),n0))},R($U,`PartitionMidprocessor/lambda$0$Type`,1637),q(1638,1,MB,foe),Q.Cd=function(e){eke(this.a,F(e,10))},R($U,`PartitionMidprocessor/lambda$1$Type`,1638),q(1639,1,KU,Ree),Q.Kf=function(e,t){_et(F(e,36),t)},R($U,`PartitionPostprocessor`,1639),q(1640,1,KU,zee),Q.Kf=function(e,t){y5e(F(e,36),t)},R($U,`PartitionPreprocessor`,1640),q(1641,1,XB,Bee),Q.Mb=function(e){return Wy(F(e,10),(Zz(),n0))},R($U,`PartitionPreprocessor/lambda$0$Type`,1641),q(1642,1,{},Vee),Q.Kb=function(e){return new jx(null,new ZS(new dS(fy(eN(F(e,10)).a.Kc(),new d))))},R($U,`PartitionPreprocessor/lambda$1$Type`,1642),q(1643,1,XB,Hee),Q.Mb=function(e){return CXe(F(e,18))},R($U,`PartitionPreprocessor/lambda$2$Type`,1643),q(1644,1,MB,sr),Q.Cd=function(e){sWe(F(e,18))},R($U,`PartitionPreprocessor/lambda$3$Type`,1644),q(1645,1,KU,aie),Q.Kf=function(e,t){Uit(F(e,36),t)};var dDt,fDt,pDt,mDt,hDt,gDt;R($U,`PortListSorter`,1645),q(1648,1,mH,cr),Q.Ne=function(e,t){return YPe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`PortListSorter/lambda$0$Type`,1648),q(1650,1,mH,lr),Q.Ne=function(e,t){return Pat(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`PortListSorter/lambda$1$Type`,1650),q(1646,1,{},ur),Q.Kb=function(e){return Oj(),F(e,12).e},R($U,`PortListSorter/lambda$2$Type`,1646),q(1647,1,{},dr),Q.Kb=function(e){return Oj(),F(e,12).g},R($U,`PortListSorter/lambda$3$Type`,1647),q(1649,1,mH,fr),Q.Ne=function(e,t){return n$e(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`PortListSorter/lambda$4$Type`,1649),q(1651,1,KU,pr),Q.Kf=function(e,t){D7e(F(e,36),t)},R($U,`PortSideProcessor`,1651),q(1652,1,KU,mr),Q.Kf=function(e,t){xrt(F(e,36),t)},R($U,`ReversedEdgeRestorer`,1652),q(1657,1,KU,ip),Q.Kf=function(e,t){CQe(this,F(e,36),t)},R($U,`SelfLoopPortRestorer`,1657),q(1658,1,{},hr),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`SelfLoopPortRestorer/lambda$0$Type`,1658),q(1659,1,XB,Uee),Q.Mb=function(e){return F(e,10).k==(yI(),lZ)},R($U,`SelfLoopPortRestorer/lambda$1$Type`,1659),q(1660,1,XB,gr),Q.Mb=function(e){return Wy(F(e,10),(Y(),K$))},R($U,`SelfLoopPortRestorer/lambda$2$Type`,1660),q(1661,1,{},Wee),Q.Kb=function(e){return F(K(F(e,10),(Y(),K$)),337)},R($U,`SelfLoopPortRestorer/lambda$3$Type`,1661),q(1662,1,MB,ku),Q.Cd=function(e){Q4e(this.a,F(e,337))},R($U,`SelfLoopPortRestorer/lambda$4$Type`,1662),q(805,1,MB,_r),Q.Cd=function(e){v3e(F(e,105))},R($U,`SelfLoopPortRestorer/lambda$5$Type`,805),q(1663,1,KU,vr),Q.Kf=function(e,t){qXe(F(e,36),t)},R($U,`SelfLoopPostProcessor`,1663),q(1664,1,{},yr),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`SelfLoopPostProcessor/lambda$0$Type`,1664),q(1665,1,XB,br),Q.Mb=function(e){return F(e,10).k==(yI(),lZ)},R($U,`SelfLoopPostProcessor/lambda$1$Type`,1665),q(1666,1,XB,Gee),Q.Mb=function(e){return Wy(F(e,10),(Y(),K$))},R($U,`SelfLoopPostProcessor/lambda$2$Type`,1666),q(1667,1,MB,xr),Q.Cd=function(e){B1e(F(e,10))},R($U,`SelfLoopPostProcessor/lambda$3$Type`,1667),q(1668,1,{},Sr),Q.Kb=function(e){return new jx(null,new wT(F(e,105).f,1))},R($U,`SelfLoopPostProcessor/lambda$4$Type`,1668),q(1669,1,MB,Ou),Q.Cd=function(e){iPe(this.a,F(e,340))},R($U,`SelfLoopPostProcessor/lambda$5$Type`,1669),q(1670,1,XB,Cr),Q.Mb=function(e){return!!F(e,105).i},R($U,`SelfLoopPostProcessor/lambda$6$Type`,1670),q(1671,1,MB,Au),Q.Cd=function(e){Bce(this.a,F(e,105))},R($U,`SelfLoopPostProcessor/lambda$7$Type`,1671),q(1653,1,KU,wr),Q.Kf=function(e,t){v9e(F(e,36),t)},R($U,`SelfLoopPreProcessor`,1653),q(1654,1,{},Tr),Q.Kb=function(e){return new jx(null,new wT(F(e,105).f,1))},R($U,`SelfLoopPreProcessor/lambda$0$Type`,1654),q(1655,1,{},Er),Q.Kb=function(e){return F(e,340).a},R($U,`SelfLoopPreProcessor/lambda$1$Type`,1655),q(1656,1,MB,Dr),Q.Cd=function(e){Xhe(F(e,18))},R($U,`SelfLoopPreProcessor/lambda$2$Type`,1656),q(1672,1,KU,Rye),Q.Kf=function(e,t){T4e(this,F(e,36),t)},R($U,`SelfLoopRouter`,1672),q(1673,1,{},Or),Q.Kb=function(e){return new jx(null,new wT(F(e,30).a,16))},R($U,`SelfLoopRouter/lambda$0$Type`,1673),q(1674,1,XB,kr),Q.Mb=function(e){return F(e,10).k==(yI(),lZ)},R($U,`SelfLoopRouter/lambda$1$Type`,1674),q(1675,1,XB,Ar),Q.Mb=function(e){return Wy(F(e,10),(Y(),K$))},R($U,`SelfLoopRouter/lambda$2$Type`,1675),q(1676,1,{},jr),Q.Kb=function(e){return F(K(F(e,10),(Y(),K$)),337)},R($U,`SelfLoopRouter/lambda$3$Type`,1676),q(1677,1,MB,kfe),Q.Cd=function(e){OOe(this.a,this.b,F(e,337))},R($U,`SelfLoopRouter/lambda$4$Type`,1677),q(1678,1,KU,Kee),Q.Kf=function(e,t){ftt(F(e,36),t)},R($U,`SemiInteractiveCrossMinProcessor`,1678),q(1679,1,XB,Mr),Q.Mb=function(e){return F(e,10).k==(yI(),lZ)},R($U,`SemiInteractiveCrossMinProcessor/lambda$0$Type`,1679),q(1680,1,XB,qee),Q.Mb=function(e){return iTe(F(e,10))._b((Zz(),l0))},R($U,`SemiInteractiveCrossMinProcessor/lambda$1$Type`,1680),q(1681,1,mH,Nr),Q.Ne=function(e,t){return XVe(F(e,10),F(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R($U,`SemiInteractiveCrossMinProcessor/lambda$2$Type`,1681),q(1682,1,{},Pr),Q.Ve=function(e,t){return tke(F(e,10),F(t,10))},R($U,`SemiInteractiveCrossMinProcessor/lambda$3$Type`,1682),q(1684,1,KU,Fr),Q.Kf=function(e,t){gst(F(e,36),t)},R($U,`SortByInputModelProcessor`,1684),q(1685,1,XB,Jee),Q.Mb=function(e){return F(e,12).g.c.length!=0},R($U,`SortByInputModelProcessor/lambda$0$Type`,1685),q(1686,1,MB,Mu),Q.Cd=function(e){O3e(this.a,F(e,12))},R($U,`SortByInputModelProcessor/lambda$1$Type`,1686),q(1759,817,{},iHe),Q.df=function(e){var t,n,r,i;switch(this.c=e,this.a.g){case 2:t=new Zd,Sh(qC(new jx(null,new wT(this.c.a.b,16)),new ate),new zfe(this,t)),UI(this,new Xee),MO(t,new Ir),t.c.length=0,Sh(qC(new jx(null,new wT(this.c.a.b,16)),new Zee),new Nu(t)),UI(this,new Qee),MO(t,new Lr),t.c.length=0,n=qhe(iA(YC(new jx(null,new wT(this.c.a.b,16)),new moe(this))),new $ee),Sh(new jx(null,new wT(this.c.a.a,16)),new Mfe(n,t)),UI(this,new tte),MO(t,new nte),t.c.length=0;break;case 3:r=new Zd,UI(this,new Yee),i=qhe(iA(YC(new jx(null,new wT(this.c.a.b,16)),new poe(this))),new ete),Sh(qC(new jx(null,new wT(this.c.a.b,16)),new rte),new Pfe(i,r)),UI(this,new Rr),MO(r,new ite),r.c.length=0;break;default:throw O(new Fse)}},Q.b=0,R(rW,`EdgeAwareScanlineConstraintCalculation`,1759),q(1760,1,vH,Yee),Q.Lb=function(e){return N(F(e,60).g,154)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,154)},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$0$Type`,1760),q(1761,1,{},poe),Q.Ye=function(e){return K6e(this.a,F(e,60))},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$1$Type`,1761),q(1769,1,ZB,Afe),Q.de=function(){jF(this.a,this.b,-1)},Q.b=0,R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$10$Type`,1769),q(1771,1,vH,Xee),Q.Lb=function(e){return N(F(e,60).g,154)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,154)},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$11$Type`,1771),q(1772,1,MB,Ir),Q.Cd=function(e){F(e,380).de()},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$12$Type`,1772),q(1773,1,XB,Zee),Q.Mb=function(e){return N(F(e,60).g,10)},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$13$Type`,1773),q(1775,1,MB,Nu),Q.Cd=function(e){iJe(this.a,F(e,60))},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$14$Type`,1775),q(1774,1,ZB,Ffe),Q.de=function(){jF(this.b,this.a,-1)},Q.a=0,R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$15$Type`,1774),q(1776,1,vH,Qee),Q.Lb=function(e){return N(F(e,60).g,10)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,10)},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$16$Type`,1776),q(1777,1,MB,Lr),Q.Cd=function(e){F(e,380).de()},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$17$Type`,1777),q(1778,1,{},moe),Q.Ye=function(e){return q6e(this.a,F(e,60))},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$18$Type`,1778),q(1779,1,{},$ee),Q.We=function(){return 0},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$19$Type`,1779),q(1762,1,{},ete),Q.We=function(){return 0},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$2$Type`,1762),q(1781,1,MB,Mfe),Q.Cd=function(e){ETe(this.a,this.b,F(e,316))},Q.a=0,R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$20$Type`,1781),q(1780,1,ZB,Nfe),Q.de=function(){A7e(this.a,this.b,-1)},Q.b=0,R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$21$Type`,1780),q(1782,1,vH,tte),Q.Lb=function(e){return F(e,60),!0},Q.Fb=function(e){return this===e},Q.Mb=function(e){return F(e,60),!0},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$22$Type`,1782),q(1783,1,MB,nte),Q.Cd=function(e){F(e,380).de()},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$23$Type`,1783),q(1763,1,XB,rte),Q.Mb=function(e){return N(F(e,60).g,10)},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$3$Type`,1763),q(1765,1,MB,Pfe),Q.Cd=function(e){DTe(this.a,this.b,F(e,60))},Q.a=0,R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$4$Type`,1765),q(1764,1,ZB,Ife),Q.de=function(){jF(this.b,this.a,-1)},Q.a=0,R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$5$Type`,1764),q(1766,1,vH,Rr),Q.Lb=function(e){return F(e,60),!0},Q.Fb=function(e){return this===e},Q.Mb=function(e){return F(e,60),!0},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$6$Type`,1766),q(1767,1,MB,ite),Q.Cd=function(e){F(e,380).de()},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$7$Type`,1767),q(1768,1,XB,ate),Q.Mb=function(e){return N(F(e,60).g,154)},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$8$Type`,1768),q(1770,1,MB,zfe),Q.Cd=function(e){eBe(this.a,this.b,F(e,60))},R(rW,`EdgeAwareScanlineConstraintCalculation/lambda$9$Type`,1770),q(1586,1,KU,F_e),Q.Kf=function(e,t){ict(this,F(e,36),t)};var _Dt;R(rW,`HorizontalGraphCompactor`,1586),q(1587,1,{},hoe),Q.ff=function(e,t){var n,r,i;return JRe(e,t)||(n=HT(e),r=HT(t),n&&n.k==(yI(),oZ)||r&&r.k==(yI(),oZ))?0:(i=F(K(this.a.a,(Y(),q$)),312),M_e(i,n?n.k:(yI(),cZ),r?r.k:(yI(),cZ)))},Q.gf=function(e,t){var n,r,i;return JRe(e,t)?1:(n=HT(e),r=HT(t),i=F(K(this.a.a,(Y(),q$)),312),N_e(i,n?n.k:(yI(),cZ),r?r.k:(yI(),cZ)))},R(rW,`HorizontalGraphCompactor/1`,1587),q(1588,1,{},ote),Q.ef=function(e,t){return Ph(),e.a.i==0},R(rW,`HorizontalGraphCompactor/lambda$0$Type`,1588),q(1589,1,{},goe),Q.ef=function(e,t){return oke(this.a,e,t)},R(rW,`HorizontalGraphCompactor/lambda$1$Type`,1589),q(1730,1,{},KRe);var vDt,yDt;R(rW,`LGraphToCGraphTransformer`,1730),q(1738,1,XB,ste),Q.Mb=function(e){return e!=null},R(rW,`LGraphToCGraphTransformer/0methodref$nonNull$Type`,1738),q(1731,1,{},zr),Q.Kb=function(e){return Gb(),aN(K(F(F(e,60).g,10),(Y(),I$)))},R(rW,`LGraphToCGraphTransformer/lambda$0$Type`,1731),q(1732,1,{},Br),Q.Kb=function(e){return Gb(),PKe(F(F(e,60).g,154))},R(rW,`LGraphToCGraphTransformer/lambda$1$Type`,1732),q(1741,1,XB,cte),Q.Mb=function(e){return Gb(),N(F(e,60).g,10)},R(rW,`LGraphToCGraphTransformer/lambda$10$Type`,1741),q(1742,1,MB,lte),Q.Cd=function(e){xke(F(e,60))},R(rW,`LGraphToCGraphTransformer/lambda$11$Type`,1742),q(1743,1,XB,ute),Q.Mb=function(e){return Gb(),N(F(e,60).g,154)},R(rW,`LGraphToCGraphTransformer/lambda$12$Type`,1743),q(1747,1,MB,dte),Q.Cd=function(e){NKe(F(e,60))},R(rW,`LGraphToCGraphTransformer/lambda$13$Type`,1747),q(1744,1,MB,Pu),Q.Cd=function(e){nhe(this.a,F(e,8))},Q.a=0,R(rW,`LGraphToCGraphTransformer/lambda$14$Type`,1744),q(1745,1,MB,_oe),Q.Cd=function(e){ihe(this.a,F(e,116))},Q.a=0,R(rW,`LGraphToCGraphTransformer/lambda$15$Type`,1745),q(1746,1,MB,voe),Q.Cd=function(e){rhe(this.a,F(e,8))},Q.a=0,R(rW,`LGraphToCGraphTransformer/lambda$16$Type`,1746),q(1748,1,{},fte),Q.Kb=function(e){return Gb(),new jx(null,new ZS(new dS(fy(eN(F(e,10)).a.Kc(),new d))))},R(rW,`LGraphToCGraphTransformer/lambda$17$Type`,1748),q(1749,1,XB,Vr),Q.Mb=function(e){return Gb(),ME(F(e,18))},R(rW,`LGraphToCGraphTransformer/lambda$18$Type`,1749),q(1750,1,MB,Fu),Q.Cd=function(e){aze(this.a,F(e,18))},R(rW,`LGraphToCGraphTransformer/lambda$19$Type`,1750),q(1734,1,MB,yoe),Q.Cd=function(e){AMe(this.a,F(e,154))},R(rW,`LGraphToCGraphTransformer/lambda$2$Type`,1734),q(1751,1,{},pte),Q.Kb=function(e){return Gb(),new jx(null,new wT(F(e,30).a,16))},R(rW,`LGraphToCGraphTransformer/lambda$20$Type`,1751),q(1752,1,{},mte),Q.Kb=function(e){return Gb(),new jx(null,new ZS(new dS(fy(eN(F(e,10)).a.Kc(),new d))))},R(rW,`LGraphToCGraphTransformer/lambda$21$Type`,1752),q(1753,1,{},hte),Q.Kb=function(e){return Gb(),F(K(F(e,18),(Y(),X$)),15)},R(rW,`LGraphToCGraphTransformer/lambda$22$Type`,1753),q(1754,1,XB,Hr),Q.Mb=function(e){return P_e(F(e,15))},R(rW,`LGraphToCGraphTransformer/lambda$23$Type`,1754),q(1755,1,MB,boe),Q.Cd=function(e){M6e(this.a,F(e,15))},R(rW,`LGraphToCGraphTransformer/lambda$24$Type`,1755),q(1733,1,MB,Bfe),Q.Cd=function(e){MPe(this.a,this.b,F(e,154))},R(rW,`LGraphToCGraphTransformer/lambda$3$Type`,1733),q(1735,1,{},gte),Q.Kb=function(e){return Gb(),new jx(null,new wT(F(e,30).a,16))},R(rW,`LGraphToCGraphTransformer/lambda$4$Type`,1735),q(1736,1,{},_te),Q.Kb=function(e){return Gb(),new jx(null,new ZS(new dS(fy(eN(F(e,10)).a.Kc(),new d))))},R(rW,`LGraphToCGraphTransformer/lambda$5$Type`,1736),q(1737,1,{},Ur),Q.Kb=function(e){return Gb(),F(K(F(e,18),(Y(),X$)),15)},R(rW,`LGraphToCGraphTransformer/lambda$6$Type`,1737),q(1739,1,MB,Iu),Q.Cd=function(e){J6e(this.a,F(e,15))},R(rW,`LGraphToCGraphTransformer/lambda$8$Type`,1739),q(1740,1,MB,Vfe),Q.Cd=function(e){Zhe(this.a,this.b,F(e,154))},R(rW,`LGraphToCGraphTransformer/lambda$9$Type`,1740),q(1729,1,{},Wr),Q.cf=function(e){var t,n,r,i,a;for(this.a=e,this.d=new Gf,this.c=H(RCt,gB,125,this.a.a.a.c.length,0,1),this.b=0,n=new D(this.a.a.a);n.a=g&&(ey(o,dM(d)),y=r.Math.max(y,b[d-1]-f),c+=h,_+=b[d-1]-_,f=b[d-1],h=l[d]),h=r.Math.max(h,l[d]),++d;c+=h}m=r.Math.min(1/y,1/t.b/c),m>i&&(i=m,n=o)}return n},Q.pg=function(){return!1},R(uW,`MSDCutIndexHeuristic`,816),q(1683,1,KU,Si),Q.Kf=function(e,t){Rot(F(e,36),t)},R(uW,`SingleEdgeGraphWrapper`,1683),q(232,22,{3:1,34:1,22:1,232:1},Dg);var pQ,mQ,hQ,gQ,_Q,vQ,yQ=ck(dW,`CenterEdgeLabelPlacementStrategy`,232,HJ,VLe,Cxe),MDt;q(431,22,{3:1,34:1,22:1,431:1},Wfe);var NDt,bQ,PDt=ck(dW,`ConstraintCalculationStrategy`,431,HJ,Yke,wxe),FDt;q(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},Og),Q.dg=function(){return u8e(this)},Q.qg=function(){return u8e(this)};var xQ,SQ,IDt,LDt=ck(dW,`CrossingMinimizationStrategy`,322,HJ,Fje,Txe),RDt;q(351,22,{3:1,34:1,22:1,351:1},kg);var zDt,CQ,wQ,BDt=ck(dW,`CuttingStrategy`,351,HJ,Ije,Exe),VDt;q(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},Ag),Q.dg=function(){return v7e(this)},Q.qg=function(){return v7e(this)};var HDt,TQ,EQ,DQ,OQ,UDt=ck(dW,`CycleBreakingStrategy`,348,HJ,UFe,Dxe),WDt;q(428,22,{3:1,34:1,22:1,428:1},Gfe);var kQ,GDt,KDt=ck(dW,`DirectionCongruency`,428,HJ,Jke,Oxe),qDt;q(460,22,{3:1,34:1,22:1,460:1},jg);var AQ,jQ,MQ,JDt=ck(dW,`EdgeConstraint`,460,HJ,Lje,Fxe),YDt;q(283,22,{3:1,34:1,22:1,283:1},Mg);var NQ,PQ,FQ,IQ,LQ,RQ,XDt=ck(dW,`EdgeLabelSideSelection`,283,HJ,RLe,Ixe),ZDt;q(488,22,{3:1,34:1,22:1,488:1},Kfe);var zQ,QDt,$Dt=ck(dW,`EdgeStraighteningStrategy`,488,HJ,nAe,Lxe),eOt;q(281,22,{3:1,34:1,22:1,281:1},Ng);var BQ,tOt,nOt,VQ,rOt,iOt,aOt=ck(dW,`FixedAlignment`,281,HJ,zLe,Pxe),oOt;q(282,22,{3:1,34:1,22:1,282:1},Pg);var sOt,cOt,lOt,uOt,HQ,dOt,fOt=ck(dW,`GraphCompactionStrategy`,282,HJ,BLe,kxe),pOt;q(259,22,{3:1,34:1,22:1,259:1},Fg);var UQ,WQ,GQ,KQ,qQ,JQ,YQ,XQ,ZQ,QQ,$Q=ck(dW,`GraphProperties`,259,HJ,vHe,Axe),mOt;q(299,22,{3:1,34:1,22:1,299:1},Ig);var e$,t$,n$,r$=ck(dW,`GreedySwitchType`,299,HJ,Rje,jxe),hOt;q(311,22,{3:1,34:1,22:1,311:1},Lg);var i$,a$,o$,gOt=ck(dW,`InLayerConstraint`,311,HJ,zje,Mxe),_Ot;q(429,22,{3:1,34:1,22:1,429:1},qfe);var s$,vOt,yOt=ck(dW,`InteractiveReferencePoint`,429,HJ,qke,Nxe),bOt,xOt,c$,l$,u$,SOt,COt,d$,wOt,f$,p$,m$,h$,g$,_$,v$,y$,TOt,b$,x$,S$,C$,w$,T$,E$,D$,EOt,O$,k$,A$,j$,M$,N$,P$,F$,I$,DOt,OOt,kOt,AOt,jOt,L$,R$,z$,B$,V$,H$,U$,W$,G$,K$,q$,J$,Y$,X$,MOt,Z$,Q$,$$;q(171,22,{3:1,34:1,22:1,171:1},Rg);var e1,t1,n1,r1,i1,NOt=ck(dW,`LayerConstraint`,171,HJ,GFe,Rxe),POt;q(859,1,xH,lie),Q.hf=function(e){rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Tht),``),`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.`),ykt),(NI(),q3)),KDt),BM((lP(),H3))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Eht),``),`Feedback Edges`),`Whether feedback edges should be highlighted by routing around the nodes.`),(Oy(),!1)),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,pW),``),`Interactive Reference Point`),`Determines which point of a node is considered by interactive layout phases.`),Hkt),q3),yOt),BM(H3)))),BT(e,pW,mW,Wkt),BT(e,pW,xW,Ukt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Dht),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Oht),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Ble(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,kht),``),`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),G3),eY),BM(U3)),W(A(lY,1),X,2,6,[`org.eclipse.elk.layered.northOrSouthPort`])))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Aht),``),`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.`),DAt),q3),HMt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,jht),``),`Thoroughness`),`How much effort should be spent to produce a nice layout.`),dM(7)),Y3),aY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Mht),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Nht),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,mW),`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).`),_kt),q3),UDt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,hW),tG),`Node Layering Strategy`),`Strategy for node layering.`),aAt),q3),wMt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Pht),tG),`Layer Constraint`),`Determines a constraint on the placement of the node regarding the layering.`),Ykt),q3),NOt),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Fht),tG),`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),Y3),aY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Iht),tG),`Layer ID`),`Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set.`),dM(-1)),Y3),aY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,gW),agt),`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.`),dM(4)),Y3),aY),BM(H3)))),BT(e,gW,hW,Qkt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,_W),agt),`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.`),dM(2)),Y3),aY),BM(H3)))),BT(e,_W,hW,eAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,vW),ogt),`Node Promotion Strategy`),`Reduces number of dummy nodes after layering phase (if possible).`),rAt),q3),LMt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,yW),ogt),`Max Node Promotion Iterations`),`Limits the number of iterations for node promotion.`),dM(0)),Y3),aY),BM(H3)))),BT(e,yW,vW,null),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,bW),`layering.coffmanGraham`),`Layer Bound`),`The maximum number of nodes allowed per layer.`),dM(dB)),Y3),aY),BM(H3)))),BT(e,bW,hW,Kkt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,xW),nG),`Crossing Minimization Strategy`),`Strategy for crossing minimization.`),hkt),q3),LDt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Lht),nG),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,SW),nG),`Hierarchical Sweepiness`),`How likely it is to use cross-hierarchy (1) vs bottom-up (-1).`),.1),K3),rY),BM(H3)))),BT(e,SW,rG,skt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,CW),nG),`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),G3),eY),BM(H3)))),BT(e,CW,xW,pkt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Rht),nG),`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),Z3),lY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,zht),nG),`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),Z3),lY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Bht),nG),`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),Y3),aY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Vht),nG),`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.`),dM(-1)),Y3),aY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Hht),sgt),`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.`),dM(40)),Y3),aY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,wW),sgt),`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.`),ikt),q3),r$),BM(H3)))),BT(e,wW,xW,akt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,TW),`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.`),ekt),q3),r$),BM(H3)))),BT(e,TW,xW,tkt),BT(e,TW,rG,nkt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,EW),cgt),`Node Placement Strategy`),`Strategy for node placement.`),TAt),q3),jMt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,DW),cgt),`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.`),G3),eY),BM(H3)))),BT(e,DW,EW,hAt),BT(e,DW,EW,gAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,OW),lgt),`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.`),lAt),q3),$Dt),BM(H3)))),BT(e,OW,EW,uAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,kW),lgt),`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.`),fAt),q3),aOt),BM(H3)))),BT(e,kW,EW,pAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,AW),`nodePlacement.linearSegments`),`Linear Segments Deflection Dampening`),`Dampens the movement of nodes to keep the diagram from getting too large.`),.3),K3),rY),BM(H3)))),BT(e,AW,EW,vAt),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,jW),`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.`),q3),q0),BM(V3)))),BT(e,jW,EW,CAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,MW),`nodePlacement.networkSimplex.nodeFlexibility`),`Node Flexibility Default`),`Default value of the 'nodeFlexibility' option for the children of a hierarchical node.`),xAt),q3),q0),BM(H3)))),BT(e,MW,EW,SAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Uht),ugt),`Self-Loop Distribution`),`Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE.`),Dkt),q3),JMt),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Wht),ugt),`Self-Loop Ordering`),`Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE.`),kkt),q3),XMt),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,NW),`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.`),jkt),q3),$Mt),BM(H3)))),BT(e,NW,iG,Mkt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,PW),`edgeRouting.splines.sloppy`),`Sloppy Spline Layer Spacing Factor`),`Spacing factor for routing area between layers when using sloppy spline routing.`),.2),K3),rY),BM(H3)))),BT(e,PW,iG,Pkt),BT(e,PW,NW,Fkt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,FW),`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),K3),rY),BM(H3)))),BT(e,FW,iG,Tkt),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Ght),aG),`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.`),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Kht),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,qht),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Jht),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Yht),dgt),`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.`),dM(0)),Y3),aY),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Xht),dgt),`Shortness Priority`),`Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase.`),dM(0)),Y3),aY),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Zht),dgt),`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.`),dM(0)),Y3),aY),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,IW),fgt),Emt),`Tries to further compact components (disconnected sub-graphs).`),!1),G3),eY),BM(H3)))),BT(e,IW,yU,!0),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Qht),pgt),`Post Compaction Strategy`),mgt),BOt),q3),fOt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,$ht),pgt),`Post Compaction Constraint Calculation`),mgt),ROt),q3),PDt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,LW),hgt),`High Degree Node Treatment`),`Makes room around high degree nodes to place leafs and trees.`),!1),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,RW),hgt),`High Degree Node Threshold`),`Whether a node is considered to have a high degree.`),dM(16)),Y3),aY),BM(H3)))),BT(e,RW,LW,!0),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,zW),hgt),`High Degree Node Maximum Tree Height`),`Maximum height of a subtree connected to a high degree node to be moved to separate layers.`),dM(5)),Y3),aY),BM(H3)))),BT(e,zW,LW,!0),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,BW),ggt),`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'.`),ajt),q3),aNt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,VW),ggt),`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),K3),rY),BM(H3)))),BT(e,VW,BW,RAt),BT(e,VW,BW,zAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,HW),ggt),`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),K3),rY),BM(H3)))),BT(e,HW,BW,VAt),BT(e,HW,BW,HAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,UW),_gt),`Cutting Strategy`),`The strategy by which the layer indexes are determined at which the layering crumbles into chunks.`),YAt),q3),BDt),BM(H3)))),BT(e,UW,BW,XAt),BT(e,UW,BW,ZAt),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,WW),_gt),`Manually Specified Cuts`),`Allows the user to specify her own cuts for a certain graph.`),X3),IJ),BM(H3)))),BT(e,WW,UW,WAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,GW),`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.`),KAt),Y3),aY),BM(H3)))),BT(e,GW,UW,qAt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,KW),vgt),`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.`),ujt),q3),rNt),BM(H3)))),BT(e,KW,BW,djt),BT(e,KW,BW,fjt),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,qW),vgt),`Valid Indices for Wrapping`),null),X3),IJ),BM(H3)))),BT(e,qW,BW,sjt),BT(e,qW,BW,cjt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,JW),ygt),`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),G3),eY),BM(H3)))),BT(e,JW,BW,tjt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,YW),ygt),`Distance Penalty When Improving Cuts`),null),2),K3),rY),BM(H3)))),BT(e,YW,BW,$At),BT(e,YW,JW,!0),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,XW),ygt),`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),G3),eY),BM(H3)))),BT(e,XW,BW,rjt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,egt),oG),`Edge Label Side Selection`),`Method to decide on edge label sides.`),Ckt),q3),XDt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,tgt),oG),`Edge Center Label Placement Strategy`),`Determines in which layer center labels of long edges should be placed.`),xkt),q3),yQ),Yx(H3,W(A(W3,1),Z,170,0,[B3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,ZW),sG),`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.`),XOt),q3),BMt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,ngt),sG),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,rgt),sG),`No Model Order`),`Set on a node to not set a model order for this node even though it is a real node.`),!1),G3),eY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,QW),sG),`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.`),HOt),q3),iEt),BM(H3)))),BT(e,QW,yU,null),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,igt),sG),`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.`),KOt),q3),DMt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,$W),sG),`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),K3),rY),BM(H3)))),BT(e,$W,ZW,null),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,eG),sG),`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),K3),rY),BM(H3)))),BT(e,eG,ZW,null),tpt((new Dc,e))};var FOt,IOt,LOt,ROt,zOt,BOt,VOt,HOt,UOt,WOt,GOt,KOt,qOt,JOt,YOt,XOt,ZOt,QOt,$Ot,ekt,tkt,nkt,rkt,ikt,akt,okt,skt,ckt,lkt,ukt,dkt,fkt,pkt,mkt,hkt,gkt,_kt,vkt,ykt,bkt,xkt,Skt,Ckt,wkt,Tkt,Ekt,Dkt,Okt,kkt,Akt,jkt,Mkt,Nkt,Pkt,Fkt,Ikt,Lkt,Rkt,zkt,Bkt,Vkt,Hkt,Ukt,Wkt,Gkt,Kkt,qkt,Jkt,Ykt,Xkt,Zkt,Qkt,$kt,eAt,tAt,nAt,rAt,iAt,aAt,oAt,sAt,cAt,lAt,uAt,dAt,fAt,pAt,mAt,hAt,gAt,_At,vAt,yAt,bAt,xAt,SAt,CAt,wAt,TAt,EAt,DAt,OAt,kAt,AAt,jAt,MAt,NAt,PAt,FAt,IAt,LAt,RAt,zAt,BAt,VAt,HAt,UAt,WAt,GAt,KAt,qAt,JAt,YAt,XAt,ZAt,QAt,$At,ejt,tjt,njt,rjt,ijt,ajt,ojt,sjt,cjt,ljt,ujt,djt,fjt;R(dW,`LayeredMetaDataProvider`,859),q(998,1,xH,Dc),Q.hf=function(e){tpt(e)};var a1,o1,s1,c1,l1,pjt,u1,d1,f1,mjt,hjt,p1,m1,h1,g1,_1,gjt,v1,y1,_jt,vjt,yjt,bjt,b1,x1,S1,C1,xjt,w1,Sjt,Cjt,T1,E1,D1,O1,k1,wjt,Tjt,Ejt,A1,j1,Djt,M1,N1,Ojt,P1,kjt,Ajt,jjt,F1,I1,L1,Mjt,Njt,R1,Pjt,Fjt,z1,B1,Ijt,Ljt,Rjt,V1,H1,U1,zjt,Bjt,W1,G1,Vjt,K1,q1,Hjt,J1,Y1,X1,Z1,Q1,$1,e0,t0,Ujt,Wjt,Gjt,n0,Kjt,qjt,Jjt,Yjt,Xjt,r0,i0,a0,o0,Zjt,s0,Qjt,c0,$jt,l0,eMt,u0,tMt,d0,nMt,rMt,f0,p0,iMt,m0,h0,g0,_0,v0,y0,b0,x0,S0,C0,w0,T0,E0,D0,O0,k0,A0,aMt,oMt,sMt,cMt,lMt,j0,uMt,dMt,fMt,pMt,M0,mMt,hMt,gMt,_Mt,N0,P0;R(dW,`LayeredOptions`,998),q(999,1,{},Ci),Q.sf=function(){var e;return e=new ep,e},Q.tf=function(e){},R(dW,`LayeredOptions/LayeredFactory`,999),q(1391,1,{}),Q.a=0;var vMt;R(gG,`ElkSpacings/AbstractSpacingsBuilder`,1391),q(792,1391,{},XJe);var F0,yMt;R(dW,`LayeredSpacings/LayeredSpacingsBuilder`,792),q(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},zg),Q.dg=function(){return Jnt(this)},Q.qg=function(){return Jnt(this)};var I0,L0,R0,bMt,xMt,SMt,z0,B0,CMt,wMt=ck(dW,`LayeringStrategy`,265,HJ,eVe,zxe),TMt;q(390,22,{3:1,34:1,22:1,390:1},Bg);var V0,EMt,H0,DMt=ck(dW,`LongEdgeOrderingStrategy`,390,HJ,Bje,Bxe),OMt;q(203,22,{3:1,34:1,22:1,203:1},Vg);var U0,W0,G0,K0,q0=ck(dW,`NodeFlexibility`,203,HJ,tPe,Vxe),kMt;q(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},Hg),Q.dg=function(){return _7e(this)},Q.qg=function(){return _7e(this)};var J0,Y0,X0,Z0,AMt,jMt=ck(dW,`NodePlacementStrategy`,323,HJ,WFe,Hxe),MMt;q(243,22,{3:1,34:1,22:1,243:1},Ug);var NMt,Q0,$0,e2,PMt,FMt,t2,IMt,n2,r2,LMt=ck(dW,`NodePromotionStrategy`,243,HJ,yHe,Uxe),RMt;q(284,22,{3:1,34:1,22:1,284:1},Wg);var zMt,i2,a2,o2,BMt=ck(dW,`OrderingStrategy`,284,HJ,nPe,Wxe),VMt;q(430,22,{3:1,34:1,22:1,430:1},Jfe);var s2,c2,HMt=ck(dW,`PortSortingStrategy`,430,HJ,Xke,Gxe),UMt;q(463,22,{3:1,34:1,22:1,463:1},Gg);var l2,u2,d2,WMt=ck(dW,`PortType`,463,HJ,Vje,Kxe),GMt;q(387,22,{3:1,34:1,22:1,387:1},Kg);var KMt,f2,qMt,JMt=ck(dW,`SelfLoopDistributionStrategy`,387,HJ,Hje,qxe),YMt;q(349,22,{3:1,34:1,22:1,349:1},qg);var p2,m2,h2,XMt=ck(dW,`SelfLoopOrderingStrategy`,349,HJ,Uje,Jxe),ZMt;q(312,1,{312:1},rlt),R(dW,`Spacings`,312),q(350,22,{3:1,34:1,22:1,350:1},Jg);var g2,QMt,_2,$Mt=ck(dW,`SplineRoutingMode`,350,HJ,Wje,Yxe),eNt;q(352,22,{3:1,34:1,22:1,352:1},Yg);var v2,tNt,nNt,rNt=ck(dW,`ValidifyStrategy`,352,HJ,Gje,Xxe),iNt;q(388,22,{3:1,34:1,22:1,388:1},Yfe);var y2,b2,x2,aNt=ck(dW,`WrappingStrategy`,388,HJ,Kje,Zxe),oNt;q(1398,1,_G,Cc),Q.rg=function(e){return F(e,36),sNt},Q.Kf=function(e,t){tct(this,F(e,36),t)};var sNt;R(vG,`DepthFirstCycleBreaker`,1398),q(793,1,_G,xTe),Q.rg=function(e){return F(e,36),cNt},Q.Kf=function(e,t){Tft(this,F(e,36),t)},Q.sg=function(e){return F(Ox(e,IP(this.d,e.c.length)),10)};var cNt;R(vG,`GreedyCycleBreaker`,793),q(1401,793,_G,xme),Q.sg=function(e){var t,n,r,i=null;for(t=dB,r=new D(e);r.a1&&(Bp($y(K(TC((ST(0,e.c.length),F(e.c[0],10))),(Zz(),_1))))?u9e(e,this.d,F(this,669)):(lw(),zv(e,this.d)),gUe(this.e,e))},Q.lg=function(e,t,n,r){var i,a,o,s,c,l,u;for(t!=nTe(n,e.length)&&(a=e[t-(n?1:-1)],NIe(this.f,a,n?(pk(),u2):(pk(),l2))),i=e[t][0],u=!r||i.k==(yI(),oZ),l=WE(e[t]),this.vg(l,u,!1,n),o=0,c=new D(l);c.a`),e0?Yw(this.a,e[t-1],e[t]):!n&&t1&&(Bp($y(K(TC((ST(0,e.c.length),F(e.c[0],10))),(Zz(),_1))))?u9e(e,this.d,this):(lw(),zv(e,this.d)),Bp($y(K(TC((ST(0,e.c.length),F(e.c[0],10))),_1)))||gUe(this.e,e))},R(bG,`ModelOrderBarycenterHeuristic`,669),q(1866,1,mH,Ju),Q.Ne=function(e,t){return r3e(this.a,F(e,10),F(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(bG,`ModelOrderBarycenterHeuristic/lambda$0$Type`,1866),q(1423,1,_G,kc),Q.rg=function(e){var t;return F(e,36),t=gv(ENt),Cx(t,(uI(),BX),(tB(),NZ)),t},Q.Kf=function(e,t){LOe((F(e,36),t))};var ENt;R(bG,`NoCrossingMinimizer`,1423),q(809,413,t_t,Gle),Q.tg=function(e,t,n){var r,i,a,o,s,c,l,u,d=this.g,f,p;switch(n.g){case 1:for(i=0,a=0,u=new D(e.j);u.a1&&(i.j==(Vz(),r5)?this.b[e]=!0:i.j==C5&&e>0&&(this.b[e-1]=!0))},Q.f=0,R(aW,`AllCrossingsCounter`,1861),q(595,1,{},Hk),Q.b=0,Q.d=0,R(aW,`BinaryIndexedTree`,595),q(532,1,{},kb);var DNt,T2;R(aW,`CrossingsCounter`,532),q(1950,1,mH,koe),Q.Ne=function(e,t){return Qwe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(aW,`CrossingsCounter/lambda$0$Type`,1950),q(1951,1,mH,Aoe),Q.Ne=function(e,t){return $we(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(aW,`CrossingsCounter/lambda$1$Type`,1951),q(1952,1,mH,joe),Q.Ne=function(e,t){return eTe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(aW,`CrossingsCounter/lambda$2$Type`,1952),q(1953,1,mH,Moe),Q.Ne=function(e,t){return tTe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(aW,`CrossingsCounter/lambda$3$Type`,1953),q(1954,1,MB,Yu),Q.Cd=function(e){MRe(this.a,F(e,12))},R(aW,`CrossingsCounter/lambda$4$Type`,1954),q(1955,1,XB,Noe),Q.Mb=function(e){return ipe(this.a,F(e,12))},R(aW,`CrossingsCounter/lambda$5$Type`,1955),q(1956,1,MB,Poe),Q.Cd=function(e){sme(this,e)},R(aW,`CrossingsCounter/lambda$6$Type`,1956),q(1957,1,MB,Xfe),Q.Cd=function(e){var t;Kb(),eE(this.b,(t=this.a,F(e,12),t))},R(aW,`CrossingsCounter/lambda$7$Type`,1957),q(839,1,vH,ki),Q.Lb=function(e){return Kb(),Wy(F(e,12),(Y(),z$))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Kb(),Wy(F(e,12),(Y(),z$))},R(aW,`CrossingsCounter/lambda$8$Type`,839),q(1949,1,{},Xu),R(aW,`HyperedgeCrossingsCounter`,1949),q(478,1,{34:1,478:1},zye),Q.Fd=function(e){return QYe(this,F(e,478))},Q.b=0,Q.c=0,Q.e=0,Q.f=0;var ONt=R(aW,`HyperedgeCrossingsCounter/Hyperedge`,478);q(374,1,{34:1,374:1},QC),Q.Fd=function(e){return V7e(this,F(e,374))},Q.b=0,Q.c=0;var kNt=R(aW,`HyperedgeCrossingsCounter/HyperedgeCorner`,374);q(531,22,{3:1,34:1,22:1,531:1},Zfe);var E2,D2,ANt=ck(aW,`HyperedgeCrossingsCounter/HyperedgeCorner/Type`,531,HJ,Zke,$xe),jNt;q(1425,1,_G,uie),Q.rg=function(e){return F(K(F(e,36),(Y(),x$)),21).Hc((nR(),KQ))?MNt:null},Q.Kf=function(e,t){h1e(this,F(e,36),t)};var MNt;R(xG,`InteractiveNodePlacer`,1425),q(1426,1,_G,Ac),Q.rg=function(e){return F(K(F(e,36),(Y(),x$)),21).Hc((nR(),KQ))?NNt:null},Q.Kf=function(e,t){eQe(this,F(e,36),t)};var NNt,O2,k2;R(xG,`LinearSegmentsNodePlacer`,1426),q(261,1,{34:1,261:1},rp),Q.Fd=function(e){return Mle(this,F(e,261))},Q.Fb=function(e){var t;return N(e,261)?(t=F(e,261),this.b==t.b):!1},Q.Hb=function(){return this.b},Q.Ib=function(){return`ls`+hI(this.e)},Q.a=0,Q.b=0,Q.c=-1,Q.d=-1,Q.g=0;var PNt=R(xG,`LinearSegmentsNodePlacer/LinearSegment`,261);q(1428,1,_G,STe),Q.rg=function(e){return F(K(F(e,36),(Y(),x$)),21).Hc((nR(),KQ))?FNt:null},Q.Kf=function(e,t){cft(this,F(e,36),t)},Q.b=0,Q.g=0;var FNt;R(xG,`NetworkSimplexPlacer`,1428),q(1447,1,mH,Ai),Q.Ne=function(e,t){return Vv(F(e,17).a,F(t,17).a)},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(xG,`NetworkSimplexPlacer/0methodref$compare$Type`,1447),q(1449,1,mH,ji),Q.Ne=function(e,t){return Vv(F(e,17).a,F(t,17).a)},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(xG,`NetworkSimplexPlacer/1methodref$compare$Type`,1449),q(655,1,{655:1},Qfe);var INt=R(xG,`NetworkSimplexPlacer/EdgeRep`,655);q(412,1,{412:1},kOe),Q.b=!1;var LNt=R(xG,`NetworkSimplexPlacer/NodeRep`,412);q(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},Kse),R(xG,`NetworkSimplexPlacer/Path`,515),q(1429,1,{},Mte),Q.Kb=function(e){return F(e,18).d.i.k},R(xG,`NetworkSimplexPlacer/Path/lambda$0$Type`,1429),q(1430,1,XB,Mi),Q.Mb=function(e){return F(e,273)==(yI(),cZ)},R(xG,`NetworkSimplexPlacer/Path/lambda$1$Type`,1430),q(1431,1,{},Nte),Q.Kb=function(e){return F(e,18).d.i},R(xG,`NetworkSimplexPlacer/Path/lambda$2$Type`,1431),q(1432,1,XB,Zu),Q.Mb=function(e){return nye(uYe(F(e,10)))},R(xG,`NetworkSimplexPlacer/Path/lambda$3$Type`,1432),q(1433,1,XB,Ni),Q.Mb=function(e){return hwe(F(e,12))},R(xG,`NetworkSimplexPlacer/lambda$0$Type`,1433),q(1434,1,MB,$fe),Q.Cd=function(e){Qhe(this.a,this.b,F(e,12))},R(xG,`NetworkSimplexPlacer/lambda$1$Type`,1434),q(1443,1,MB,Foe),Q.Cd=function(e){Z6e(this.a,F(e,18))},R(xG,`NetworkSimplexPlacer/lambda$10$Type`,1443),q(1444,1,{},Pte),Q.Kb=function(e){return nT(),new jx(null,new wT(F(e,30).a,16))},R(xG,`NetworkSimplexPlacer/lambda$11$Type`,1444),q(1445,1,MB,Qu),Q.Cd=function(e){Nnt(this.a,F(e,10))},R(xG,`NetworkSimplexPlacer/lambda$12$Type`,1445),q(1446,1,{},Pi),Q.Kb=function(e){return nT(),dM(F(e,125).e)},R(xG,`NetworkSimplexPlacer/lambda$13$Type`,1446),q(1448,1,{},Fte),Q.Kb=function(e){return nT(),dM(F(e,125).e)},R(xG,`NetworkSimplexPlacer/lambda$15$Type`,1448),q(1450,1,XB,Fi),Q.Mb=function(e){return nT(),F(e,412).c.k==(yI(),lZ)},R(xG,`NetworkSimplexPlacer/lambda$17$Type`,1450),q(1451,1,XB,Ite),Q.Mb=function(e){return nT(),F(e,412).c.j.c.length>1},R(xG,`NetworkSimplexPlacer/lambda$18$Type`,1451),q(1452,1,MB,AOe),Q.Cd=function(e){kJe(this.c,this.b,this.d,this.a,F(e,412))},Q.c=0,Q.d=0,R(xG,`NetworkSimplexPlacer/lambda$19$Type`,1452),q(1435,1,{},Ii),Q.Kb=function(e){return nT(),new jx(null,new wT(F(e,30).a,16))},R(xG,`NetworkSimplexPlacer/lambda$2$Type`,1435),q(1453,1,MB,$u),Q.Cd=function(e){ege(this.a,F(e,12))},Q.a=0,R(xG,`NetworkSimplexPlacer/lambda$20$Type`,1453),q(1454,1,{},Lte),Q.Kb=function(e){return nT(),new jx(null,new wT(F(e,30).a,16))},R(xG,`NetworkSimplexPlacer/lambda$21$Type`,1454),q(1455,1,MB,ed),Q.Cd=function(e){Age(this.a,F(e,10))},R(xG,`NetworkSimplexPlacer/lambda$22$Type`,1455),q(1456,1,XB,Li),Q.Mb=function(e){return nye(e)},R(xG,`NetworkSimplexPlacer/lambda$23$Type`,1456),q(1457,1,{},Rte),Q.Kb=function(e){return nT(),new jx(null,new wT(F(e,30).a,16))},R(xG,`NetworkSimplexPlacer/lambda$24$Type`,1457),q(1458,1,XB,td),Q.Mb=function(e){return Jme(this.a,F(e,10))},R(xG,`NetworkSimplexPlacer/lambda$25$Type`,1458),q(1459,1,MB,epe),Q.Cd=function(e){d3e(this.a,this.b,F(e,10))},R(xG,`NetworkSimplexPlacer/lambda$26$Type`,1459),q(1460,1,XB,zte),Q.Mb=function(e){return nT(),!ME(F(e,18))},R(xG,`NetworkSimplexPlacer/lambda$27$Type`,1460),q(1461,1,XB,Ri),Q.Mb=function(e){return nT(),!ME(F(e,18))},R(xG,`NetworkSimplexPlacer/lambda$28$Type`,1461),q(1462,1,{},Ioe),Q.Ve=function(e,t){return $he(this.a,F(e,30),F(t,30))},R(xG,`NetworkSimplexPlacer/lambda$29$Type`,1462),q(1436,1,{},Bte),Q.Kb=function(e){return nT(),new jx(null,new ZS(new dS(fy(eN(F(e,10)).a.Kc(),new d))))},R(xG,`NetworkSimplexPlacer/lambda$3$Type`,1436),q(1437,1,XB,zi),Q.Mb=function(e){return nT(),kNe(F(e,18))},R(xG,`NetworkSimplexPlacer/lambda$4$Type`,1437),q(1438,1,MB,Loe),Q.Cd=function(e){Aot(this.a,F(e,18))},R(xG,`NetworkSimplexPlacer/lambda$5$Type`,1438),q(1439,1,{},Vte),Q.Kb=function(e){return nT(),new jx(null,new wT(F(e,30).a,16))},R(xG,`NetworkSimplexPlacer/lambda$6$Type`,1439),q(1440,1,XB,Bi),Q.Mb=function(e){return nT(),F(e,10).k==(yI(),lZ)},R(xG,`NetworkSimplexPlacer/lambda$7$Type`,1440),q(1441,1,{},Hte),Q.Kb=function(e){return nT(),new jx(null,new ZS(new dS(fy(QM(F(e,10)).a.Kc(),new d))))},R(xG,`NetworkSimplexPlacer/lambda$8$Type`,1441),q(1442,1,XB,Ute),Q.Mb=function(e){return nT(),mwe(F(e,18))},R(xG,`NetworkSimplexPlacer/lambda$9$Type`,1442),q(1424,1,_G,die),Q.rg=function(e){return F(K(F(e,36),(Y(),x$)),21).Hc((nR(),KQ))?RNt:null},Q.Kf=function(e,t){Ast(F(e,36),t)};var RNt;R(xG,`SimpleNodePlacer`,1424),q(185,1,{185:1},ER),Q.Ib=function(){var e=``;return this.c==(Gw(),j2)?e+=OH:this.c==A2&&(e+=DH),this.o==(Kw(),M2)?e+=PH:this.o==N2?e+=`UP`:e+=`BALANCED`,e},R(CG,`BKAlignedLayout`,185),q(523,22,{3:1,34:1,22:1,523:1},tpe);var A2,j2,zNt=ck(CG,`BKAlignedLayout/HDirection`,523,HJ,$ke,eSe),BNt;q(522,22,{3:1,34:1,22:1,522:1},npe);var M2,N2,VNt=ck(CG,`BKAlignedLayout/VDirection`,522,HJ,eAe,tSe),HNt;q(1699,1,{},rpe),R(CG,`BKAligner`,1699),q(1702,1,{},b$e),R(CG,`BKCompactor`,1702),q(663,1,{663:1},Vi),Q.a=0,R(CG,`BKCompactor/ClassEdge`,663),q(467,1,{467:1},Wse),Q.a=null,Q.b=0,R(CG,`BKCompactor/ClassNode`,467),q(1427,1,_G,cpe),Q.rg=function(e){return F(K(F(e,36),(Y(),x$)),21).Hc((nR(),KQ))?UNt:null},Q.Kf=function(e,t){Vft(this,F(e,36),t)},Q.d=!1;var UNt;R(CG,`BKNodePlacer`,1427),q(1700,1,{},Wte),Q.d=0,R(CG,`NeighborhoodInformation`,1700),q(1701,1,mH,Roe),Q.Ne=function(e,t){return tBe(this,F(e,42),F(t,42))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(CG,`NeighborhoodInformation/NeighborComparator`,1701),q(823,1,{}),R(CG,`ThresholdStrategy`,823),q(1825,823,{},Gse),Q.wg=function(e,t,n){return this.a.o==(Kw(),N2)?zV:BV},Q.xg=function(){},R(CG,`ThresholdStrategy/NullThresholdStrategy`,1825),q(587,1,{587:1},lpe),Q.c=!1,Q.d=!1,R(CG,`ThresholdStrategy/Postprocessable`,587),q(1826,823,{},ap),Q.wg=function(e,t,n){var r,i=t==n,a;return r=this.a.a[n.p]==t,i||r?(a=e,this.a.c,Gw(),i&&(a=Mst(this,t,!0)),!isNaN(a)&&!isFinite(a)&&r&&(a=Mst(this,n,!1)),a):e},Q.xg=function(){for(var e,t,n,r,i;this.d.b!=0;)i=F(yAe(this.d),587),r=Rat(this,i),r.a&&(e=r.a,n=Bp(this.a.f[this.a.g[i.b.p].p]),!(!n&&!ME(e)&&e.c.i.c==e.d.i.c)&&(t=H7e(this,i),t||the(this.e,i)));for(;this.e.a.c.length!=0;)H7e(this,F(AGe(this.e),587))},R(CG,`ThresholdStrategy/SimpleThresholdStrategy`,1826),q(645,1,{645:1,188:1,196:1},Gte),Q.dg=function(){return vUe(this)},Q.qg=function(){return vUe(this)};var P2;R(wG,`EdgeRouterFactory`,645),q(1485,1,_G,fie),Q.rg=function(e){return Gtt(F(e,36))},Q.Kf=function(e,t){zst(F(e,36),t)};var WNt,GNt,KNt,qNt,JNt,YNt,XNt,ZNt;R(wG,`OrthogonalEdgeRouter`,1485),q(1478,1,_G,spe),Q.rg=function(e){return N1e(F(e,36))},Q.Kf=function(e,t){udt(this,F(e,36),t)};var QNt,$Nt,ePt,tPt,F2,nPt;R(wG,`PolylineEdgeRouter`,1478),q(1479,1,vH,qte),Q.Lb=function(e){return AUe(F(e,10))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return AUe(F(e,10))},R(wG,`PolylineEdgeRouter/1`,1479),q(1872,1,XB,Jte),Q.Mb=function(e){return F(e,132).c==(oD(),I2)},R(TG,`HyperEdgeCycleDetector/lambda$0$Type`,1872),q(1873,1,{},Yte),Q.Ze=function(e){return F(e,132).d},R(TG,`HyperEdgeCycleDetector/lambda$1$Type`,1873),q(1874,1,XB,Xte),Q.Mb=function(e){return F(e,132).c==(oD(),I2)},R(TG,`HyperEdgeCycleDetector/lambda$2$Type`,1874),q(1875,1,{},Zte),Q.Ze=function(e){return F(e,132).d},R(TG,`HyperEdgeCycleDetector/lambda$3$Type`,1875),q(1876,1,{},Qte),Q.Ze=function(e){return F(e,132).d},R(TG,`HyperEdgeCycleDetector/lambda$4$Type`,1876),q(1877,1,{},Kte),Q.Ze=function(e){return F(e,132).d},R(TG,`HyperEdgeCycleDetector/lambda$5$Type`,1877),q(118,1,{34:1,118:1},RA),Q.Fd=function(e){return Nle(this,F(e,118))},Q.Fb=function(e){var t;return N(e,118)?(t=F(e,118),this.g==t.g):!1},Q.Hb=function(){return this.g},Q.Ib=function(){for(var e=new gy(`{`),t,n,r=new D(this.n);r.a`+this.b+` (`+Y_e(this.c)+`)`},Q.d=0,R(TG,`HyperEdgeSegmentDependency`,132),q(528,22,{3:1,34:1,22:1,528:1},mpe);var I2,L2,rPt=ck(TG,`HyperEdgeSegmentDependency/DependencyType`,528,HJ,tAe,nSe),iPt;q(1878,1,{},nd),R(TG,`HyperEdgeSegmentSplitter`,1878),q(1879,1,{},Yle),Q.a=0,Q.b=0,R(TG,`HyperEdgeSegmentSplitter/AreaRating`,1879),q(339,1,{339:1},Jb),Q.a=0,Q.b=0,Q.c=0,R(TG,`HyperEdgeSegmentSplitter/FreeArea`,339),q(1880,1,mH,Hi),Q.Ne=function(e,t){return vbe(F(e,118),F(t,118))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(TG,`HyperEdgeSegmentSplitter/lambda$0$Type`,1880),q(1881,1,MB,jOe),Q.Cd=function(e){PPe(this.a,this.d,this.c,this.b,F(e,118))},Q.b=0,R(TG,`HyperEdgeSegmentSplitter/lambda$1$Type`,1881),q(1882,1,{},Ui),Q.Kb=function(e){return new jx(null,new wT(F(e,118).e,16))},R(TG,`HyperEdgeSegmentSplitter/lambda$2$Type`,1882),q(1883,1,{},Wi),Q.Kb=function(e){return new jx(null,new wT(F(e,118).j,16))},R(TG,`HyperEdgeSegmentSplitter/lambda$3$Type`,1883),q(1884,1,{},Gi),Q.Ye=function(e){return k(P(e))},R(TG,`HyperEdgeSegmentSplitter/lambda$4$Type`,1884),q(664,1,{},QS),Q.a=0,Q.b=0,Q.c=0,R(TG,`OrthogonalRoutingGenerator`,664),q(1703,1,{},$te),Q.Kb=function(e){return new jx(null,new wT(F(e,118).e,16))},R(TG,`OrthogonalRoutingGenerator/lambda$0$Type`,1703),q(1704,1,{},ene),Q.Kb=function(e){return new jx(null,new wT(F(e,118).j,16))},R(TG,`OrthogonalRoutingGenerator/lambda$1$Type`,1704),q(670,1,{}),R(EG,`BaseRoutingDirectionStrategy`,670),q(1870,670,{},Jse),Q.yg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t+e.o*n,u=new D(e.n);u.auU&&(o=d,a=e,i=new j(f,o),gx(s.a,i),PR(this,s,a,i,!1),p=e.r,p&&(m=k(P(xP(p.e,0))),i=new j(m,o),gx(s.a,i),PR(this,s,a,i,!1),o=t+p.o*n,a=p,i=new j(m,o),gx(s.a,i),PR(this,s,a,i,!1)),i=new j(g,o),gx(s.a,i),PR(this,s,a,i,!1)))},Q.zg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.Ag=function(){return Vz(),x5},Q.Bg=function(){return Vz(),i5},R(EG,`NorthToSouthRoutingStrategy`,1870),q(1871,670,{},pp),Q.yg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t-e.o*n,u=new D(e.n);u.auU&&(o=d,a=e,i=new j(f,o),gx(s.a,i),PR(this,s,a,i,!1),p=e.r,p&&(m=k(P(xP(p.e,0))),i=new j(m,o),gx(s.a,i),PR(this,s,a,i,!1),o=t-p.o*n,a=p,i=new j(m,o),gx(s.a,i),PR(this,s,a,i,!1)),i=new j(g,o),gx(s.a,i),PR(this,s,a,i,!1)))},Q.zg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.Ag=function(){return Vz(),i5},Q.Bg=function(){return Vz(),x5},R(EG,`SouthToNorthRoutingStrategy`,1871),q(1869,670,{},mp),Q.yg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t+e.o*n,u=new D(e.n);u.auU&&(o=d,a=e,i=new j(o,f),gx(s.a,i),PR(this,s,a,i,!0),p=e.r,p&&(m=k(P(xP(p.e,0))),i=new j(o,m),gx(s.a,i),PR(this,s,a,i,!0),o=t+p.o*n,a=p,i=new j(o,m),gx(s.a,i),PR(this,s,a,i,!0)),i=new j(o,g),gx(s.a,i),PR(this,s,a,i,!0)))},Q.zg=function(e){return e.i.n.b+e.n.b+e.a.b},Q.Ag=function(){return Vz(),r5},Q.Bg=function(){return Vz(),C5},R(EG,`WestToEastRoutingStrategy`,1869),q(828,1,{},Pot),Q.Ib=function(){return hI(this.a)},Q.b=0,Q.c=!1,Q.d=!1,Q.f=0,R(OG,`NubSpline`,828),q(418,1,{418:1},Ett,gAe),R(OG,`NubSpline/PolarCP`,418),q(1480,1,_G,HQe),Q.rg=function(e){return $0e(F(e,36))},Q.Kf=function(e,t){Bdt(this,F(e,36),t)};var aPt,oPt,sPt,cPt,lPt;R(OG,`SplineEdgeRouter`,1480),q(274,1,{274:1},$E),Q.Ib=function(){return this.a+` ->(`+this.c+`) `+this.b},Q.c=0,R(OG,`SplineEdgeRouter/Dependency`,274),q(465,22,{3:1,34:1,22:1,465:1},hpe);var R2,z2,uPt=ck(OG,`SplineEdgeRouter/SideToProcess`,465,HJ,sAe,rSe),dPt;q(1481,1,XB,Ki),Q.Mb=function(e){return XL(),!F(e,131).o},R(OG,`SplineEdgeRouter/lambda$0$Type`,1481),q(1482,1,{},qi),Q.Ze=function(e){return XL(),F(e,131).v+1},R(OG,`SplineEdgeRouter/lambda$1$Type`,1482),q(1483,1,MB,upe),Q.Cd=function(e){vwe(this.a,this.b,F(e,42))},R(OG,`SplineEdgeRouter/lambda$2$Type`,1483),q(1484,1,MB,dpe),Q.Cd=function(e){ywe(this.a,this.b,F(e,42))},R(OG,`SplineEdgeRouter/lambda$3$Type`,1484),q(131,1,{34:1,131:1},s6e,dct),Q.Fd=function(e){return Lle(this,F(e,131))},Q.b=0,Q.e=!1,Q.f=0,Q.g=0,Q.j=!1,Q.k=!1,Q.n=0,Q.o=!1,Q.p=!1,Q.q=!1,Q.s=0,Q.u=0,Q.v=0,Q.F=0,R(OG,`SplineSegment`,131),q(468,1,{468:1},tne),Q.a=0,Q.b=!1,Q.c=!1,Q.d=!1,Q.e=!1,Q.f=0,R(OG,`SplineSegment/EdgeInformation`,468),q(1198,1,{},Ji),R(jG,Fmt,1198),q(1199,1,mH,Yi),Q.Ne=function(e,t){return O8e(F(e,121),F(t,121))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(jG,Imt,1199),q(1197,1,{},yue),R(jG,`MrTree`,1197),q(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},$g),Q.dg=function(){return A8e(this)},Q.qg=function(){return A8e(this)};var B2,V2,H2,U2,fPt=ck(jG,`TreeLayoutPhases`,405,HJ,uPe,iSe),pPt;q(1112,205,qH,Lye),Q.rf=function(e,t){var n,r,i,a,o,s,c,l;for(Bp($y(J(e,(HR(),iFt))))||zw((n=new su((Uh(),new Lp(e))),n)),o=t.eh(MG),o.Ug(`build tGraph`,1),s=(c=new tD,PA(c,e),G(c,(Bz(),c4),e),l=new Xd,Qit(e,c,l),Dat(e,c,l),c),o.Vg(),o=t.eh(MG),o.Ug(`Split graph`,1),a=aat(this.a,s),o.Vg(),i=new D(a);i.a`+jT(this.c):`e_`+Wk(this)},R(PG,`TEdge`,65),q(121,137,{3:1,121:1,96:1,137:1},tD),Q.Ib=function(){var e,t,n,r,i=null;for(r=uP(this.b,0);r.b!=r.d.c;)n=F($T(r),40),i+=(n.c==null||n.c.length==0?`n_`+n.g:`n_`+n.c)+` -`;for(t=uP(this.a,0);t.b!=t.d.c;)e=F($T(t),65),i+=(e.b&&e.c?jT(e.b)+`->`+jT(e.c):`e_`+Wk(e))+` -`;return i};var mPt=R(PG,`TGraph`,121);q(643,508,{3:1,508:1,643:1,96:1,137:1}),R(PG,`TShape`,643),q(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},xj),Q.Ib=function(){return jT(this)};var W2=R(PG,`TNode`,40);q(236,1,IB,id),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){var e;return e=uP(this.a.d,0),new ad(e)},R(PG,`TNode/2`,236),q(329,1,SB,ad),Q.Nb=function(e){ES(this,e)},Q.Pb=function(){return F($T(this.a),65).c},Q.Ob=function(){return Ym(this.a)},Q.Qb=function(){kO(this.a)},R(PG,`TNode/2/1`,329),q(1923,1,KU,ea),Q.Kf=function(e,t){Nft(this,F(e,121),t)},R(FG,`CompactionProcessor`,1923),q(1924,1,mH,Hoe),Q.Ne=function(e,t){return oUe(this.a,F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FG,`CompactionProcessor/lambda$0$Type`,1924),q(1925,1,XB,ppe),Q.Mb=function(e){return Dke(this.b,this.a,F(e,42))},Q.a=0,Q.b=0,R(FG,`CompactionProcessor/lambda$1$Type`,1925),q(1934,1,mH,ta),Q.Ne=function(e,t){return BEe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FG,`CompactionProcessor/lambda$10$Type`,1934),q(1935,1,mH,na),Q.Ne=function(e,t){return A_e(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FG,`CompactionProcessor/lambda$11$Type`,1935),q(1936,1,mH,ra),Q.Ne=function(e,t){return VEe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FG,`CompactionProcessor/lambda$12$Type`,1936),q(1926,1,XB,Uoe),Q.Mb=function(e){return jge(this.a,F(e,42))},Q.a=0,R(FG,`CompactionProcessor/lambda$2$Type`,1926),q(1927,1,XB,Woe),Q.Mb=function(e){return Mge(this.a,F(e,42))},Q.a=0,R(FG,`CompactionProcessor/lambda$3$Type`,1927),q(1928,1,XB,ia),Q.Mb=function(e){return F(e,40).c.indexOf(NG)==-1},R(FG,`CompactionProcessor/lambda$4$Type`,1928),q(1929,1,{},Goe),Q.Kb=function(e){return ENe(this.a,F(e,40))},Q.a=0,R(FG,`CompactionProcessor/lambda$5$Type`,1929),q(1930,1,{},Koe),Q.Kb=function(e){return jRe(this.a,F(e,40))},Q.a=0,R(FG,`CompactionProcessor/lambda$6$Type`,1930),q(1931,1,mH,qoe),Q.Ne=function(e,t){return mIe(this.a,F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FG,`CompactionProcessor/lambda$7$Type`,1931),q(1932,1,mH,od),Q.Ne=function(e,t){return hIe(this.a,F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FG,`CompactionProcessor/lambda$8$Type`,1932),q(1933,1,mH,aa),Q.Ne=function(e,t){return j_e(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(FG,`CompactionProcessor/lambda$9$Type`,1933),q(1921,1,KU,oa),Q.Kf=function(e,t){nrt(F(e,121),t)},R(FG,`DirectionProcessor`,1921),q(1913,1,KU,Iye),Q.Kf=function(e,t){Sat(this,F(e,121),t)},R(FG,`FanProcessor`,1913),q(1937,1,KU,ine),Q.Kf=function(e,t){jnt(F(e,121),t)},R(FG,`GraphBoundsProcessor`,1937),q(1938,1,{},ane),Q.Ye=function(e){return F(e,40).e.a},R(FG,`GraphBoundsProcessor/lambda$0$Type`,1938),q(1939,1,{},sa),Q.Ye=function(e){return F(e,40).e.b},R(FG,`GraphBoundsProcessor/lambda$1$Type`,1939),q(1940,1,{},ca),Q.Ye=function(e){return Kde(F(e,40))},R(FG,`GraphBoundsProcessor/lambda$2$Type`,1940),q(1941,1,{},la),Q.Ye=function(e){return Gde(F(e,40))},R(FG,`GraphBoundsProcessor/lambda$3$Type`,1941),q(262,22,{3:1,34:1,22:1,262:1,196:1},e_),Q.dg=function(){switch(this.g){case 0:return new sce;case 1:return new Iye;case 2:return new oce;case 3:return new da;case 4:return new sne;case 8:return new one;case 5:return new oa;case 6:return new lne;case 7:return new ea;case 9:return new ine;case 10:return new une;default:throw O(new Kp(eW+(this.f==null?``+this.g:this.f)))}};var hPt,gPt,_Pt,vPt,yPt,bPt,xPt,SPt,CPt,wPt,G2,TPt=ck(FG,tW,262,HJ,$He,aSe),EPt;q(1920,1,KU,one),Q.Kf=function(e,t){tdt(F(e,121),t)},R(FG,`LevelCoordinatesProcessor`,1920),q(1918,1,KU,sne),Q.Kf=function(e,t){yet(this,F(e,121),t)},Q.a=0,R(FG,`LevelHeightProcessor`,1918),q(1919,1,IB,ua),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){return lw(),_h(),SY},R(FG,`LevelHeightProcessor/1`,1919),q(1914,1,KU,oce),Q.Kf=function(e,t){gnt(this,F(e,121),t)},R(FG,`LevelProcessor`,1914),q(1915,1,XB,cne),Q.Mb=function(e){return Bp($y(K(F(e,40),(Bz(),f4))))},R(FG,`LevelProcessor/lambda$0$Type`,1915),q(1916,1,KU,da),Q.Kf=function(e,t){n6e(this,F(e,121),t)},Q.a=0,R(FG,`NeighborsProcessor`,1916),q(1917,1,IB,fa),Q.Jc=function(e){TE(this,e)},Q.Kc=function(){return lw(),_h(),SY},R(FG,`NeighborsProcessor/1`,1917),q(1922,1,KU,lne),Q.Kf=function(e,t){xat(this,F(e,121),t)},Q.a=0,R(FG,`NodePositionProcessor`,1922),q(1912,1,KU,sce),Q.Kf=function(e,t){cct(this,F(e,121),t)},R(FG,`RootProcessor`,1912),q(1942,1,KU,une),Q.Kf=function(e,t){CZe(F(e,121),t)},R(FG,`Untreeifyer`,1942),q(392,22,{3:1,34:1,22:1,392:1},t_);var K2,q2,DPt,OPt=ck(LG,`EdgeRoutingMode`,392,HJ,Jje,oSe),kPt,J2,Y2,X2,APt,jPt,Z2,Q2,MPt,$2,NPt,e4,t4,n4,r4,i4,a4,o4,s4,c4,l4,u4,PPt,FPt,d4,f4,p4,m4;q(862,1,xH,pie),Q.hf=function(e){rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,u_t),``),__t),`Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level`),(Oy(),!1)),(NI(),G3)),eY),BM((lP(),H3))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,d_t),``),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,f_t),``),`Tree Level`),`The index for the tree level the node is in`),dM(0)),Y3),aY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,p_t),``),__t),`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`),dM(-1)),Y3),aY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,m_t),``),`Weighting of Nodes`),`Which weighting to use when computing a node order.`),GPt),q3),_Ft),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,h_t),``),`Edge Routing Mode`),`Chooses an Edge Routing algorithm.`),zPt),q3),OPt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,g_t),``),`Search Order`),`Which search order to use when computing a spanning tree.`),HPt),q3),bFt),BM(H3)))),Idt((new gie,e))};var IPt,LPt,RPt,zPt,BPt,VPt,HPt,UPt,WPt,GPt;R(LG,`MrTreeMetaDataProvider`,862),q(1006,1,xH,gie),Q.hf=function(e){Idt(e)};var KPt,qPt,JPt,h4,YPt,XPt,g4,ZPt,QPt,$Pt,eFt,tFt,nFt,rFt,iFt,aFt,oFt,sFt,_4,v4,cFt,lFt,uFt,y4,dFt,fFt,pFt,mFt,hFt,b4,gFt;R(LG,`MrTreeOptions`,1006),q(1007,1,{},pa),Q.sf=function(){var e;return e=new Lye,e},Q.tf=function(e){},R(LG,`MrTreeOptions/MrtreeFactory`,1007),q(353,22,{3:1,34:1,22:1,353:1},n_);var x4,S4,C4,w4,_Ft=ck(LG,`OrderWeighting`,353,HJ,dPe,sSe),vFt;q(433,22,{3:1,34:1,22:1,433:1},gpe);var yFt,T4,bFt=ck(LG,`TreeifyingOrder`,433,HJ,aAe,cSe),xFt;q(1486,1,_G,_ie),Q.rg=function(e){return F(e,121),SFt},Q.Kf=function(e,t){PHe(this,F(e,121),t)};var SFt;R(`org.eclipse.elk.alg.mrtree.p1treeify`,`DFSTreeifyer`,1486),q(1487,1,_G,jc),Q.rg=function(e){return F(e,121),CFt},Q.Kf=function(e,t){wnt(this,F(e,121),t)};var CFt;R(zG,`NodeOrderer`,1487),q(1494,1,{},mne),Q.td=function(e){return Ewe(e)},R(zG,`NodeOrderer/0methodref$lambda$6$Type`,1494),q(1488,1,XB,hne),Q.Mb=function(e){return VO(),Bp($y(K(F(e,40),(Bz(),f4))))},R(zG,`NodeOrderer/lambda$0$Type`,1488),q(1489,1,XB,Ea),Q.Mb=function(e){return VO(),F(K(F(e,40),(HR(),_4)),17).a<0},R(zG,`NodeOrderer/lambda$1$Type`,1489),q(1490,1,XB,Yoe),Q.Mb=function(e){return wVe(this.a,F(e,40))},R(zG,`NodeOrderer/lambda$2$Type`,1490),q(1491,1,XB,Joe),Q.Mb=function(e){return ANe(this.a,F(e,40))},R(zG,`NodeOrderer/lambda$3$Type`,1491),q(1492,1,mH,Da),Q.Ne=function(e,t){return Jze(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(zG,`NodeOrderer/lambda$4$Type`,1492),q(1493,1,XB,gne),Q.Mb=function(e){return VO(),F(K(F(e,40),(Bz(),Q2)),17).a!=0},R(zG,`NodeOrderer/lambda$5$Type`,1493),q(1495,1,_G,hie),Q.rg=function(e){return F(e,121),wFt},Q.Kf=function(e,t){Lit(this,F(e,121),t)},Q.b=0;var wFt;R(`org.eclipse.elk.alg.mrtree.p3place`,`NodePlacer`,1495),q(1496,1,_G,mie),Q.rg=function(e){return F(e,121),TFt},Q.Kf=function(e,t){rit(F(e,121),t)};var TFt;R(BG,`EdgeRouter`,1496),q(1498,1,mH,pne),Q.Ne=function(e,t){return Vv(F(e,17).a,F(t,17).a)},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/0methodref$compare$Type`,1498),q(1503,1,{},ha),Q.Ye=function(e){return k(P(e))},R(BG,`EdgeRouter/1methodref$doubleValue$Type`,1503),q(1505,1,mH,ga),Q.Ne=function(e,t){return zM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/2methodref$compare$Type`,1505),q(1507,1,mH,_a),Q.Ne=function(e,t){return zM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/3methodref$compare$Type`,1507),q(1509,1,{},ma),Q.Ye=function(e){return k(P(e))},R(BG,`EdgeRouter/4methodref$doubleValue$Type`,1509),q(1511,1,mH,dne),Q.Ne=function(e,t){return zM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/5methodref$compare$Type`,1511),q(1513,1,mH,va),Q.Ne=function(e,t){return zM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/6methodref$compare$Type`,1513),q(1497,1,{},ya),Q.Kb=function(e){return HO(),F(K(F(e,40),(HR(),b4)),17)},R(BG,`EdgeRouter/lambda$0$Type`,1497),q(1508,1,{},ba),Q.Kb=function(e){return eve(F(e,40))},R(BG,`EdgeRouter/lambda$11$Type`,1508),q(1510,1,{},Cpe),Q.Kb=function(e){return gwe(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(BG,`EdgeRouter/lambda$13$Type`,1510),q(1512,1,{},wpe),Q.Kb=function(e){return tve(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(BG,`EdgeRouter/lambda$15$Type`,1512),q(1514,1,mH,xa),Q.Ne=function(e,t){return zXe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/lambda$17$Type`,1514),q(1515,1,mH,Sa),Q.Ne=function(e,t){return BXe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/lambda$18$Type`,1515),q(1516,1,mH,fne),Q.Ne=function(e,t){return HXe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/lambda$19$Type`,1516),q(1499,1,XB,Xoe),Q.Mb=function(e){return DAe(this.a,F(e,40))},Q.a=0,R(BG,`EdgeRouter/lambda$2$Type`,1499),q(1517,1,mH,Ca),Q.Ne=function(e,t){return VXe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/lambda$20$Type`,1517),q(1500,1,mH,wa),Q.Ne=function(e,t){return NCe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/lambda$3$Type`,1500),q(1501,1,mH,Ta),Q.Ne=function(e,t){return PCe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`EdgeRouter/lambda$4$Type`,1501),q(1502,1,{},Oa),Q.Kb=function(e){return nve(F(e,40))},R(BG,`EdgeRouter/lambda$5$Type`,1502),q(1504,1,{},Tpe),Q.Kb=function(e){return _we(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(BG,`EdgeRouter/lambda$7$Type`,1504),q(1506,1,{},Epe),Q.Kb=function(e){return rve(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(BG,`EdgeRouter/lambda$9$Type`,1506),q(675,1,{675:1},yQe),Q.e=0,Q.f=!1,Q.g=!1,R(BG,`MultiLevelEdgeNodeNodeGap`,675),q(1943,1,mH,ka),Q.Ne=function(e,t){return mje(F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`MultiLevelEdgeNodeNodeGap/lambda$0$Type`,1943),q(1944,1,mH,Aa),Q.Ne=function(e,t){return hje(F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(BG,`MultiLevelEdgeNodeNodeGap/lambda$1$Type`,1944);var E4;q(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},_pe),Q.dg=function(){return NJe(this)},Q.qg=function(){return NJe(this)};var D4,O4,EFt=ck(b_t,`RadialLayoutPhases`,501,HJ,Qke,lSe),DFt;q(1113,205,qH,vue),Q.rf=function(e,t){var n=Qet(this,e),r,i,a,o,s;if(t.Ug(`Radial layout`,n.c.length),Bp($y(J(e,(EI(),iIt))))||zw((r=new su((Uh(),new Lp(e))),r)),s=r2e(e),EP(e,(ab(),E4),s),!s)throw O(new Kp(`The given graph is not a tree!`));for(i=k(P(J(e,z4))),i==0&&(i=f8e(e)),EP(e,z4,i),o=new D(Qet(this,e));o.a=3)for(S=F(U(b,0),27),ee=F(U(b,1),27),o=0;o+2=S.f+ee.f+d||ee.f>=x.f+S.f+d){ne=!0;break}else ++o;else ne=!0;if(!ne){for(p=b.i,c=new cy(b);c.e!=c.i.gc();)s=F(hP(c),27),EP(s,(eB(),Y6),dM(p)),--p;dot(e,new Ep),t.Vg();return}for(n=(VC(this.a),BS(this.a,(FN(),W4),F(J(e,uLt),188)),BS(this.a,G4,F(J(e,rLt),188)),BS(this.a,K4,F(J(e,sLt),188)),ohe(this.a,(re=new NC,Cx(re,W4,(PP(),Y4)),Cx(re,G4,J4),Bp($y(J(e,YIt)))&&Cx(re,W4,q4),re)),Tz(this.a,e)),u=1/n.c.length,te=0,h=new D(n);h.a0&&rKe((CT(t-1,e.length),e.charCodeAt(t-1)),aht);)--t;if(r>=t)throw O(new Kp(`The given string does not contain any numbers.`));if(i=VR((pD(r,t,e.length),e.substr(r,t-r)),`,|;|\r| -`),i.length!=2)throw O(new Kp(`Exactly two numbers are expected, `+i.length+` were found.`));try{this.a=bI(zI(i[0])),this.b=bI(zI(i[1]))}catch(e){throw e=qA(e),N(e,130)?(n=e,O(new Kp(oht+n))):O(e)}},Q.Ib=function(){return`(`+this.a+`,`+this.b+`)`},Q.a=0,Q.b=0;var $3=R(ZU,`KVector`,8);q(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},_p,Pm,fve),Q.Pc=function(){return DGe(this)},Q.cg=function(e){var t,n,r=VR(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),i,a,o;aw(this);try{for(n=0,a=0,i=0,o=0;n0&&(a%2==0?i=bI(r[n]):o=bI(r[n]),a>0&&a%2!=0&&gx(this,new j(i,o)),++a),++n}catch(e){throw e=qA(e),N(e,130)?(t=e,O(new Kp(`The given string does not match the expected format for vectors.`+t))):O(e)}},Q.Ib=function(){for(var e=new gy(`(`),t=uP(this,0),n;t.b!=t.d.c;)n=F($T(t),8),$_(e,n.a+`,`+n.b),t.b!=t.d.c&&(e.a+=`; `);return(e.a+=`)`,e).a};var NRt=R(ZU,`KVectorChain`,75);q(255,22,{3:1,34:1,22:1,255:1},m_);var e6,t6,n6,r6,i6,a6,PRt=ck(CK,`Alignment`,255,HJ,KLe,NSe),FRt;q(991,1,xH,Eie),Q.hf=function(e){Cat(e)};var IRt,o6,LRt,RRt,zRt,BRt,VRt,HRt,URt,WRt,GRt,KRt;R(CK,`BoxLayouterOptions`,991),q(992,1,{},Kne),Q.sf=function(){var e;return e=new qne,e},Q.tf=function(e){},R(CK,`BoxLayouterOptions/BoxFactory`,992),q(298,22,{3:1,34:1,22:1,298:1},__);var s6,c6,l6,u6,d6,f6,p6=ck(CK,`ContentAlignment`,298,HJ,qLe,PSe),qRt;q(699,1,xH,Nc),Q.hf=function(e){rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,bvt),``),`Layout Algorithm`),`Select a specific layout algorithm.`),(NI(),Z3)),lY),BM((lP(),H3))))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,xvt),``),`Resolved Layout Algorithm`),`Meta data associated with the selected algorithm.`),X3),DRt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Ngt),``),`Alignment`),`Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm.`),YRt),q3),PRt),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,eU),``),`Aspect Ratio`),`The desired aspect ratio of the drawing, that is the quotient of width by height.`),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Svt),``),`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.`),X3),NRt),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,dG),``),`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.`),ezt),J3),p6),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,lG),``),`Debug Mode`),`Whether additional debug information shall be generated.`),(Oy(),!1)),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,uG),``),Smt),`Overall direction of edges: horizontal (right / left) or vertical (down / up).`),tzt),q3),f8),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,iG),``),`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.`),izt),q3),b8),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,vvt),``),`Expand Nodes`),`If active, nodes are expanded to fill the area of their parent.`),!1),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,rG),``),`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`."),czt),q3),fBt),Yx(H3,W(A(W3,1),Z,170,0,[V3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,tU),``),`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.`),vzt),X3),dEt),Yx(H3,W(A(W3,1),Z,170,0,[V3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,bU),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,hG),``),`interactive Layout`),`Whether the graph should be changeable interactively and by setting constraints`),!1),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,CU),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,xU),``),`Port Constraints`),`Defines constraints of the position of the ports of a node.`),Ezt),q3),bBt),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,mG),``),`Position`),`The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position.`),X3),$3),Yx(V3,W(A(W3,1),Z,170,0,[U3,B3]))))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,hU),``),`Priority`),`Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used.`),Y3),aY),Yx(V3,W(A(W3,1),Z,170,0,[z3]))))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,vU),``),`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).`),Y3),aY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,yU),``),`Separate Connected Components`),`Whether each connected component should be processed separately.`),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Wgt),``),`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.`),uzt),X3),NRt),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,qgt),``),`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),G3),eY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Jgt),``),`Hypernode`),`Whether the node should be handled as a hypernode.`),!1),G3),eY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Cvt),``),`Label Manager`),`Label managers can shorten labels upon a layout algorithm's request.`),X3),uUt),Yx(H3,W(A(W3,1),Z,170,0,[B3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Xgt),``),`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.`),dzt),X3),lEt),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,jgt),``),`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),G3),eY),Yx(V3,W(A(W3,1),Z,170,0,[z3,U3,B3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,wvt),``),`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),K3),rY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Tvt),``),`Child Area Width`),`The width of the area occupied by the laid out children of a node.`),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Evt),``),`Child Area Height`),`The height of the area occupied by the laid out children of a node.`),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,kU),``),fvt),`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),G3),eY),BM(H3)))),BT(e,kU,NU,null),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Dvt),``),`Animate`),`Whether the shift from the old layout to the new computed layout shall be animated.`),!0),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Ovt),``),`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'.`),dM(100)),Y3),aY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,kvt),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Avt),``),`Maximal Animation Time`),`The maximal time for animations, in milliseconds.`),dM(4e3)),Y3),aY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,jvt),``),`Minimal Animation Time`),`The minimal time for animations, in milliseconds.`),dM(400)),Y3),aY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Mvt),``),`Progress Bar`),`Whether a progress bar shall be displayed during layout computations.`),!1),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Nvt),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Pvt),``),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Fvt),``),`Zoom to Fit`),`Whether the zoom level shall be set to view the whole diagram after layout.`),!1),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,yvt),`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.`),QRt),q3),VBt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,bgt),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,xgt),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,QH),aG),`Components Spacing`),`Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated.`),20),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Sgt),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,_U),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,cG),aG),`Edge Node Spacing`),`Spacing to be preserved between nodes and edges.`),10),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Cgt),aG),`Label Spacing`),`Determines the amount of space to be left between two labels of the same graph element.`),0),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Egt),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,wgt),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Tgt),aG),`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),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,gU),aG),`Node Spacing`),`The minimal distance to be preserved between each two nodes.`),20),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Dgt),aG),`Node Self Loop Spacing`),`Spacing to be preserved between a node and its self loops.`),10),K3),rY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Ogt),aG),`Port Spacing`),`Spacing between pairs of ports of the same node.`),10),K3),rY),Yx(H3,W(A(W3,1),Z,170,0,[V3]))))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,kgt),aG),`Individual Spacing`),`Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent.`),X3),UBt),Yx(V3,W(A(W3,1),Z,170,0,[z3,U3,B3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Zgt),aG),`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.`),Hzt),X3),lEt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,pG),Vvt),`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).`),Y3),aY),Yx(H3,W(A(W3,1),Z,170,0,[V3]))))),BT(e,pG,fG,Szt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,fG),Vvt),`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.`),bzt),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Igt),Hvt),`Node Label Padding`),`Define padding for node labels that are placed inside of a node.`),pzt),X3),dEt),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,DU),Hvt),`Node Label Placement`),`Hints for where node labels are to be placed; if empty, the node label's position is not modified.`),mzt),J3),z8),Yx(V3,W(A(W3,1),Z,170,0,[B3]))))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,zgt),TK),`Port Alignment`),`Defines the default port distribution for a node. May be overridden for each side individually.`),wzt),q3),U8),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Bgt),TK),`Port Alignment (North)`),`Defines how ports on the northern side are placed, overriding the node's general port alignment.`),q3),U8),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Vgt),TK),`Port Alignment (South)`),`Defines how ports on the southern side are placed, overriding the node's general port alignment.`),q3),U8),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Hgt),TK),`Port Alignment (West)`),`Defines how ports on the western side are placed, overriding the node's general port alignment.`),q3),U8),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Ugt),TK),`Port Alignment (East)`),`Defines how ports on the eastern side are placed, overriding the node's general port alignment.`),q3),U8),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,EU),EK),`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.`),hzt),J3),k5),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,TU),EK),`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.`),_zt),J3),ABt),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,FU),EK),`Node Size Minimum`),`The minimal size to which a node can be reduced.`),gzt),X3),$3),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,wU),EK),`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),G3),eY),BM(H3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Ggt),oG),`Edge Label Placement`),`Gives a hint on where to put edge labels.`),nzt),q3),Xzt),BM(B3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,SU),oG),`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),G3),eY),BM(B3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Ivt),`font`),`Font Name`),`Font name used for a label.`),Z3),lY),BM(B3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Lvt),`font`),`Font Size`),`Font size used for a label.`),Y3),aY),BM(B3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Ygt),DK),`Port Anchor Offset`),`The offset to the port position where connections shall be attached.`),X3),$3),BM(U3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Kgt),DK),`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.`),Y3),aY),BM(U3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Mgt),DK),`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.`),kzt),q3),w5),BM(U3)))),rN(e,new jI(Mm(jm(Nm(Em(Am(Om(km(new vo,Agt),DK),`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.`),K3),rY),BM(U3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,OU),Uvt),`Port Label Placement`),`Decides on a placement method for port labels; if empty, the node label's position is not modified.`),Dzt),J3),n5),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Lgt),Uvt),`Port Labels Next to Port`),`Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE.`),!1),G3),eY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Rgt),Uvt),`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),G3),eY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,AU),OK),`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),K3),rY),BM(H3)))),BT(e,AU,NU,Kzt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Rvt),OK),`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),q3),V5),BM(V3)))),BT(e,Rvt,NU,Jzt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,jU),OK),`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),K3),rY),Yx(H3,W(A(W3,1),Z,170,0,[V3]))))),BT(e,jU,NU,null),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,MU),OK),`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),K3),rY),Yx(H3,W(A(W3,1),Z,170,0,[V3]))))),BT(e,MU,NU,null),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,NU),OK),`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),q3),NBt),BM(V3)))),BT(e,NU,wU,null),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,zvt),OK),`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),K3),rY),BM(H3)))),BT(e,zvt,NU,Gzt),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Pgt),Wvt),`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),G3),eY),BM(V3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Fgt),Wvt),`Inside Self Loop`),`Whether a self loop should be routed inside a node instead of around that node.`),!1),G3),eY),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,$H),`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),K3),rY),BM(z3)))),rN(e,new jI(Mm(jm(Nm(Dm(Em(Am(Om(km(new vo,Bvt),`edge`),`Edge Type`),`The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations.`),ozt),q3),iBt),BM(z3)))),Bh(e,new gT(Cm(Tm(wm(new to,UV),`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.`))),Bh(e,new gT(Cm(Tm(wm(new to,`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.`))),Bh(e,new gT(Cm(Tm(wm(new to,mU),`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.`))),Bh(e,new gT(Cm(Tm(wm(new to,`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.`))),Bh(e,new gT(Cm(Tm(wm(new to,v_t),`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.`))),Bh(e,new gT(Cm(Tm(wm(new to,`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.`))),Bh(e,new gT(Cm(Tm(wm(new to,ZG),`Radial`),`Radial layout algorithms usually position the nodes of the graph on concentric circles.`))),sit((new Die,e)),Cat((new Eie,e)),knt((new Oie,e))};var m6,JRt,YRt,h6,XRt,ZRt,QRt,g6,_6,$Rt,v6,ezt,y6,b6,tzt,x6,S6,nzt,rzt,izt,azt,ozt,szt,C6,czt,lzt,w6,T6,E6,D6,O6,uzt,k6,dzt,fzt,pzt,A6,mzt,j6,hzt,M6,N6,gzt,P6,_zt,F6,I6,L6,vzt,yzt,bzt,xzt,Szt,Czt,wzt,R6,z6,B6,V6,Tzt,H6,U6,Ezt,W6,G6,K6,Dzt,Ozt,q6,kzt,J6,Y6,X6,Z6,Azt,Q6,jzt,Mzt,Nzt,Pzt,Fzt,Izt,$6,Lzt,e8,Rzt,zzt,t8,Bzt,Vzt,Hzt,Uzt,n8,r8,i8,a8,Wzt,Gzt,o8,Kzt,qzt,Jzt;R(CK,`CoreOptions`,699),q(88,22,{3:1,34:1,22:1,88:1},v_);var s8,c8,l8,u8,d8,f8=ck(CK,Smt,88,HJ,kFe,FSe),Yzt;q(278,22,{3:1,34:1,22:1,278:1},y_);var p8,m8,h8,Xzt=ck(CK,`EdgeLabelPlacement`,278,HJ,lMe,ISe),Zzt;q(223,22,{3:1,34:1,22:1,223:1},b_);var g8,_8,v8,y8,b8=ck(CK,`EdgeRouting`,223,HJ,hPe,LSe),Qzt;q(321,22,{3:1,34:1,22:1,321:1},x_);var $zt,eBt,tBt,nBt,x8,rBt,iBt=ck(CK,`EdgeType`,321,HJ,GLe,RSe),aBt;q(989,1,xH,Die),Q.hf=function(e){sit(e)};var oBt,sBt,cBt,lBt,uBt,dBt,S8;R(CK,`FixedLayouterOptions`,989),q(990,1,{},yo),Q.sf=function(){var e;return e=new Oo,e},Q.tf=function(e){},R(CK,`FixedLayouterOptions/FixedFactory`,990),q(346,22,{3:1,34:1,22:1,346:1},S_);var C8,w8,T8,fBt=ck(CK,`HierarchyHandling`,346,HJ,sMe,zSe),pBt;q(291,22,{3:1,34:1,22:1,291:1},C_);var E8,D8,O8,k8,mBt=ck(CK,`LabelSide`,291,HJ,mPe,BSe),hBt;q(95,22,{3:1,34:1,22:1,95:1},w_);var A8,j8,M8,N8,P8,F8,I8,L8,R8,z8=ck(CK,`NodeLabelPlacement`,95,HJ,NBe,VSe),gBt;q(256,22,{3:1,34:1,22:1,256:1},T_);var _Bt,B8,V8,vBt,H8,U8=ck(CK,`PortAlignment`,256,HJ,XFe,HSe),yBt;q(101,22,{3:1,34:1,22:1,101:1},E_);var W8,G8,K8,q8,J8,Y8,bBt=ck(CK,`PortConstraints`,101,HJ,WLe,USe),xBt;q(279,22,{3:1,34:1,22:1,279:1},D_);var X8,Z8,Q8,$8,e5,t5,n5=ck(CK,`PortLabelPlacement`,279,HJ,ULe,WSe),SBt;q(64,22,{3:1,34:1,22:1,64:1},O_);var r5,i5,a5,o5,s5,c5,l5,u5,d5,f5,p5,m5,h5,g5,_5,v5,y5,b5,x5,S5,C5,w5=ck(CK,`PortSide`,64,HJ,AFe,GSe),CBt;q(993,1,xH,Oie),Q.hf=function(e){knt(e)};var wBt,TBt,EBt,DBt,OBt;R(CK,`RandomLayouterOptions`,993),q(994,1,{},bo),Q.sf=function(){var e;return e=new To,e},Q.tf=function(e){},R(CK,`RandomLayouterOptions/RandomFactory`,994),q(386,22,{3:1,34:1,22:1,386:1},k_);var T5,E5,D5,O5,k5=ck(CK,`SizeConstraint`,386,HJ,pPe,KSe),kBt;q(264,22,{3:1,34:1,22:1,264:1},A_);var A5,j5,M5,N5,P5,F5,I5,L5,R5,ABt=ck(CK,`SizeOptions`,264,HJ,cVe,qSe),jBt;q(280,22,{3:1,34:1,22:1,280:1},j_);var z5,MBt,B5,NBt=ck(CK,`TopdownNodeTypes`,280,HJ,uMe,JSe),PBt;q(347,22,Gvt);var FBt,IBt,V5=ck(CK,`TopdownSizeApproximator`,347,HJ,uAe,XSe);q(987,347,Gvt,wwe),Q.Tg=function(e){return AZe(e)},ck(CK,`TopdownSizeApproximator/1`,987,V5,null,null),q(988,347,Gvt,lEe),Q.Tg=function(e){var t=F(J(e,(eB(),Z6)),143),n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee=(Lm(),m=new hp,m),te,ne,C;for(zL(ee,e),te=new Xd,o=new cy((!e.a&&(e.a=new I(o7,e,10,11)),e.a));o.e!=o.i.gc();)i=F(hP(o),27),y=(p=new hp,p),LL(y,ee),zL(y,i),C=AZe(i),Cv(y,r.Math.max(i.g,C.a),r.Math.max(i.f,C.b)),HI(te.f,i,y);for(a=new cy((!e.a&&(e.a=new I(o7,e,10,11)),e.a));a.e!=a.i.gc();)for(i=F(hP(a),27),d=new cy((!i.e&&(i.e=new Tb(X5,i,7,4)),i.e));d.e!=d.i.gc();)u=F(hP(d),74),x=F(z_(Wx(te.f,i)),27),S=F(dC(te,U((!u.c&&(u.c=new Tb(Y5,u,5,8)),u.c),0)),27),b=(f=new No,f),gD((!b.b&&(b.b=new Tb(Y5,b,4,7)),b.b),x),gD((!b.c&&(b.c=new Tb(Y5,b,5,8)),b.c),S),PL(b,$w(x)),zL(b,u);g=F(Nw(t.f),205);try{g.rf(ee,new Xne),FDe(t.f,g)}catch(e){throw e=qA(e),N(e,103)?(h=e,O(h)):O(e)}return lD(ee,_6)||lD(ee,g6)||sft(ee),l=k(P(J(ee,_6))),c=k(P(J(ee,g6))),s=l/c,n=k(P(J(ee,r8)))*r.Math.sqrt((!ee.a&&(ee.a=new I(o7,ee,10,11)),ee.a).i),ne=F(J(ee,L6),107),v=ne.b+ne.c+1,_=ne.d+ne.a+1,new j(r.Math.max(v,n),r.Math.max(_,n/s))},ck(CK,`TopdownSizeApproximator/2`,988,V5,null,null);var LBt;q(344,1,{871:1},Ep),Q.Ug=function(e,t){return x2e(this,e,t)},Q.Vg=function(){o3e(this)},Q.Wg=function(){return this.q},Q.Xg=function(){return this.f?_w(this.f):null},Q.Yg=function(){return _w(this.a)},Q.Zg=function(){return this.p},Q.$g=function(){return!1},Q._g=function(){return this.n},Q.ah=function(){return this.p!=null&&!this.b},Q.bh=function(e){var t;this.n&&(t=e,ey(this.f,t))},Q.dh=function(e,t){var n,r;this.n&&e&&NMe(this,(n=new ZEe,r=kR(n,e),uut(n),r),(Tj(),U5))},Q.eh=function(e){var t;return this.b?null:(t=Uze(this,this.g),gx(this.a,t),t.i=this,this.d=e,t)},Q.fh=function(e){e>0&&!this.b&&TVe(this,e)},Q.b=!1,Q.c=0,Q.d=-1,Q.e=null,Q.f=null,Q.g=-1,Q.j=!1,Q.k=!1,Q.n=!1,Q.o=0,Q.q=0,Q.r=0,R(gG,`BasicProgressMonitor`,344),q(717,205,qH,qne),Q.rf=function(e,t){dot(e,t)},R(gG,`BoxLayoutProvider`,717),q(983,1,mH,pd),Q.Ne=function(e,t){return xet(this,F(e,27),F(t,27))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},Q.a=!1,R(gG,`BoxLayoutProvider/1`,983),q(163,1,{163:1},RO,Sve),Q.Ib=function(){return this.c?Brt(this.c):hI(this.b)},R(gG,`BoxLayoutProvider/Group`,163),q(320,22,{3:1,34:1,22:1,320:1},M_);var RBt,zBt,BBt,H5,VBt=ck(gG,`BoxLayoutProvider/PackingMode`,320,HJ,gPe,ZSe),HBt;q(984,1,mH,xo),Q.Ne=function(e,t){return uke(F(e,163),F(t,163))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(gG,`BoxLayoutProvider/lambda$0$Type`,984),q(985,1,mH,Jne),Q.Ne=function(e,t){return ZOe(F(e,163),F(t,163))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(gG,`BoxLayoutProvider/lambda$1$Type`,985),q(986,1,mH,So),Q.Ne=function(e,t){return QOe(F(e,163),F(t,163))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(gG,`BoxLayoutProvider/lambda$2$Type`,986),q(1384,1,{845:1},Co),Q.Mg=function(e,t){return Ih(),!N(t,167)||Tue((nj(),F(e,167)),t)},R(gG,`ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type`,1384),q(1385,1,MB,nse),Q.Cd=function(e){MGe(this.a,F(e,149))},R(gG,`ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type`,1385),q(1386,1,MB,Eo),Q.Cd=function(e){F(e,96),Ih()},R(gG,`ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type`,1386),q(1390,1,MB,rse),Q.Cd=function(e){aHe(this.a,F(e,96))},R(gG,`ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type`,1390),q(1388,1,XB,jpe),Q.Mb=function(e){return XWe(this.a,this.b,F(e,149))},R(gG,`ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type`,1388),q(1387,1,XB,Mpe),Q.Mb=function(e){return $_e(this.a,this.b,F(e,845))},R(gG,`ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type`,1387),q(1389,1,MB,Npe),Q.Cd=function(e){rEe(this.a,this.b,F(e,149))},R(gG,`ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type`,1389),q(947,1,{},Do),Q.Kb=function(e){return uhe(e)},Q.Fb=function(e){return this===e},R(gG,`ElkUtil/lambda$0$Type`,947),q(948,1,MB,Ppe),Q.Cd=function(e){Z8e(this.a,this.b,F(e,74))},Q.a=0,Q.b=0,R(gG,`ElkUtil/lambda$1$Type`,948),q(949,1,MB,Fpe),Q.Cd=function(e){zce(this.a,this.b,F(e,166))},Q.a=0,Q.b=0,R(gG,`ElkUtil/lambda$2$Type`,949),q(950,1,MB,Ipe),Q.Cd=function(e){Mhe(this.a,this.b,F(e,135))},Q.a=0,Q.b=0,R(gG,`ElkUtil/lambda$3$Type`,950),q(951,1,MB,md),Q.Cd=function(e){Twe(this.a,F(e,377))},R(gG,`ElkUtil/lambda$4$Type`,951),q(325,1,{34:1,325:1},Yd),Q.Fd=function(e){return Pge(this,F(e,242))},Q.Fb=function(e){var t;return N(e,325)?(t=F(e,325),this.a==t.a):!1},Q.Hb=function(){return Bw(this.a)},Q.Ib=function(){return this.a+` (exclusive)`},Q.a=0,R(gG,`ExclusiveBounds/ExclusiveLowerBound`,325),q(1119,205,qH,Oo),Q.rf=function(e,t){var n,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Ug(`Fixed Layout`,1),o=F(J(e,(eB(),rzt)),223),p=0,m=0,b=new cy((!e.a&&(e.a=new I(o7,e,10,11)),e.a));b.e!=b.i.gc();){for(v=F(hP(b),27),C=F(J(v,(kj(),S8)),8),C&&(wv(v,C.a,C.b),F(J(v,sBt),181).Hc((PN(),T5))&&(h=F(J(v,lBt),8),h.a>0&&h.b>0&&Hz(v,h.a,h.b,!0,!0))),p=r.Math.max(p,v.i+v.g),m=r.Math.max(m,v.j+v.f),u=new cy((!v.n&&(v.n=new I(a7,v,1,7)),v.n));u.e!=u.i.gc();)c=F(hP(u),135),C=F(J(c,S8),8),C&&wv(c,C.a,C.b),p=r.Math.max(p,v.i+c.i+c.g),m=r.Math.max(m,v.j+c.j+c.f);for(ee=new cy((!v.c&&(v.c=new I(s7,v,9,9)),v.c));ee.e!=ee.i.gc();)for(S=F(hP(ee),123),C=F(J(S,S8),8),C&&wv(S,C.a,C.b),te=v.i+S.i,ne=v.j+S.j,p=r.Math.max(p,te+S.g),m=r.Math.max(m,ne+S.f),l=new cy((!S.n&&(S.n=new I(a7,S,1,7)),S.n));l.e!=l.i.gc();)c=F(hP(l),135),C=F(J(c,S8),8),C&&wv(c,C.a,C.b),p=r.Math.max(p,te+c.i+c.g),m=r.Math.max(m,ne+c.j+c.f);for(a=new dS(fy(OL(v).a.Kc(),new d));hL(a);)n=F(IE(a),74),f=ydt(n),p=r.Math.max(p,f.a),m=r.Math.max(m,f.b);for(i=new dS(fy(DL(v).a.Kc(),new d));hL(i);)n=F(IE(i),74),$w(pI(n))!=e&&(f=ydt(n),p=r.Math.max(p,f.a),m=r.Math.max(m,f.b))}if(o==(XM(),g8))for(y=new cy((!e.a&&(e.a=new I(o7,e,10,11)),e.a));y.e!=y.i.gc();)for(v=F(hP(y),27),i=new dS(fy(OL(v).a.Kc(),new d));hL(i);)n=F(IE(i),74),s=Lat(n),s.b==0?EP(n,O6,null):EP(n,O6,s);Bp($y(J(e,(kj(),cBt))))||(x=F(J(e,uBt),107),_=p+x.b+x.c,g=m+x.d+x.a,Hz(e,_,g,!0,!0)),t.Vg()},R(gG,`FixedLayoutProvider`,1119),q(385,137,{3:1,423:1,385:1,96:1,137:1},ko,$Re),Q.cg=function(e){var t,n,r,i,a,o,s,c,l;if(e)try{for(c=VR(e,`;,;`),a=c,o=0,s=a.length;o>16&oV|t^r<<16},Q.Kc=function(){return new ise(this)},Q.Ib=function(){return this.a==null&&this.b==null?`pair(null,null)`:this.a==null?`pair(null,`+aN(this.b)+`)`:this.b==null?`pair(`+aN(this.a)+`,null)`:`pair(`+aN(this.a)+`,`+aN(this.b)+`)`},R(gG,`Pair`,42),q(995,1,SB,ise),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},Q.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 Af)},Q.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 Tf)},Q.b=!1,Q.c=!1,R(gG,`Pair/1`,995),q(455,1,{455:1},NOe),Q.Fb=function(e){return RC(this.a,F(e,455).a)&&RC(this.c,F(e,455).c)&&RC(this.d,F(e,455).d)&&RC(this.b,F(e,455).b)},Q.Hb=function(){return Jj(W(A(MJ,1),gB,1,5,[this.a,this.c,this.d,this.b]))},Q.Ib=function(){return`(`+this.a+hB+this.c+hB+this.d+hB+this.b+`)`},R(gG,`Quadruple`,455),q(1108,205,qH,To),Q.rf=function(e,t){var n,r,i,a,o;if(t.Ug(`Random Layout`,1),(!e.a&&(e.a=new I(o7,e,10,11)),e.a).i==0){t.Vg();return}a=F(J(e,(SYe(),DBt)),17),i=a&&a.a!=0?new CE(a.a):new pN,n=Vp(P(J(e,wBt))),o=Vp(P(J(e,OBt))),r=F(J(e,TBt),107),zut(e,i,n,o,r),t.Vg()},R(gG,`RandomLayoutProvider`,1108),q(240,1,{240:1},Yb),Q.Fb=function(e){return RC(this.a,F(e,240).a)&&RC(this.b,F(e,240).b)&&RC(this.c,F(e,240).c)},Q.Hb=function(){return Jj(W(A(MJ,1),gB,1,5,[this.a,this.b,this.c]))},Q.Ib=function(){return`(`+this.a+hB+this.b+hB+this.c+`)`},R(gG,`Triple`,240);var YBt;q(562,1,{}),Q.Lf=function(){return new j(this.f.i,this.f.j)},Q.of=function(e){return Lke(e,(eB(),H6))?J(this.f,XBt):J(this.f,e)},Q.Mf=function(){return new j(this.f.g,this.f.f)},Q.Nf=function(){return this.g},Q.pf=function(e){return lD(this.f,e)},Q.Of=function(e){JO(this.f,e.a),YO(this.f,e.b)},Q.Pf=function(e){qO(this.f,e.a),KO(this.f,e.b)},Q.Qf=function(e){this.g=e},Q.g=0;var XBt;R(jK,`ElkGraphAdapters/AbstractElkGraphElementAdapter`,562),q(563,1,{853:1},hd),Q.Rf=function(){var e,t;if(!this.b)for(this.b=GT(BC(this.a).i),t=new cy(BC(this.a));t.e!=t.i.gc();)e=F(hP(t),135),ey(this.b,new Rp(e));return this.b},Q.b=null,R(jK,`ElkGraphAdapters/ElkEdgeAdapter`,563),q(289,562,{},Lp),Q.Sf=function(){return LQe(this)},Q.a=null,R(jK,`ElkGraphAdapters/ElkGraphAdapter`,289),q(640,562,{187:1},Rp),R(jK,`ElkGraphAdapters/ElkLabelAdapter`,640),q(639,562,{695:1},My),Q.Rf=function(){return FQe(this)},Q.Vf=function(){var e;return e=F(J(this.f,(eB(),k6)),140),!e&&(e=new lp),e},Q.Xf=function(){return IQe(this)},Q.Zf=function(e){var t=new Qb(e);EP(this.f,(eB(),k6),t)},Q.$f=function(e){EP(this.f,(eB(),L6),new pCe(e))},Q.Tf=function(){return this.d},Q.Uf=function(){var e,t;if(!this.a)for(this.a=new Zd,t=new dS(fy(DL(F(this.f,27)).a.Kc(),new d));hL(t);)e=F(IE(t),74),ey(this.a,new hd(e));return this.a},Q.Wf=function(){var e,t;if(!this.c)for(this.c=new Zd,t=new dS(fy(OL(F(this.f,27)).a.Kc(),new d));hL(t);)e=F(IE(t),74),ey(this.c,new hd(e));return this.c},Q.Yf=function(){return fw(F(this.f,27)).i!=0||Bp($y(F(this.f,27).of((eB(),w6))))},Q._f=function(){eze(this,(Uh(),YBt))},Q.a=null,Q.b=null,Q.c=null,Q.d=null,Q.e=null,R(jK,`ElkGraphAdapters/ElkNodeAdapter`,639),q(1284,562,{852:1},ase),Q.Rf=function(){return XQe(this)},Q.Uf=function(){var e,t;if(!this.a)for(this.a=Iy(F(this.f,123).hh().i),t=new cy(F(this.f,123).hh());t.e!=t.i.gc();)e=F(hP(t),74),ey(this.a,new hd(e));return this.a},Q.Wf=function(){var e,t;if(!this.c)for(this.c=Iy(F(this.f,123).ih().i),t=new cy(F(this.f,123).ih());t.e!=t.i.gc();)e=F(hP(t),74),ey(this.c,new hd(e));return this.c},Q.ag=function(){return F(F(this.f,123).of((eB(),q6)),64)},Q.bg=function(){var e,t,n,r=Uw(F(this.f,123)),i,a,o,s;for(n=new cy(F(this.f,123).ih());n.e!=n.i.gc();)for(e=F(hP(n),74),s=new cy((!e.c&&(e.c=new Tb(Y5,e,5,8)),e.c));s.e!=s.i.gc();)if(o=F(hP(s),84),jO(eI(o),r)||eI(o)==r&&Bp($y(J(e,(eB(),T6)))))return!0;for(t=new cy(F(this.f,123).hh());t.e!=t.i.gc();)for(e=F(hP(t),74),a=new cy((!e.b&&(e.b=new Tb(Y5,e,4,7)),e.b));a.e!=a.i.gc();)if(i=F(hP(a),84),jO(eI(i),r))return!0;return!1},Q.a=null,Q.b=null,Q.c=null,R(jK,`ElkGraphAdapters/ElkPortAdapter`,1284),q(1285,1,mH,wo),Q.Ne=function(e,t){return zrt(F(e,123),F(t,123))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(jK,`ElkGraphAdapters/PortComparator`,1285);var W5=xx(MK,`EObject`),G5=xx(NK,Jvt),K5=xx(NK,Yvt),q5=xx(NK,Xvt),J5=xx(NK,`ElkShape`),Y5=xx(NK,Zvt),X5=xx(NK,Qvt),Z5=xx(NK,$vt),Q5=xx(MK,eyt),$5=xx(MK,`EFactory`),ZBt,e7=xx(MK,tyt),t7=xx(MK,`EPackage`),n7,QBt,$Bt,eVt,r7,tVt,nVt,rVt,iVt,i7,aVt,oVt,a7=xx(NK,nyt),o7=xx(NK,ryt),s7=xx(NK,iyt);q(93,1,ayt),Q.th=function(){return this.uh(),null},Q.uh=function(){return null},Q.vh=function(){return this.uh(),!1},Q.wh=function(){return!1},Q.xh=function(e){CA(this,e)},R(PK,`BasicNotifierImpl`,93),q(99,93,lyt),Q.Yh=function(){return _v(this)},Q.yh=function(e,t){return e},Q.zh=function(){throw O(new Df)},Q.Ah=function(e){var t;return t=HP(F(CO(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,e)},Q.Bh=function(e,t){throw O(new Df)},Q.Ch=function(e,t,n){return MR(this,e,t,n)},Q.Dh=function(){var e;return this.zh()&&(e=this.zh().Nk(),e)?e:this.ii()},Q.Eh=function(){return pL(this)},Q.Fh=function(){throw O(new Df)},Q.Gh=function(){var e,t=this.$h().Ok();return!t&&this.zh().Tk(t=(Kh(),e=pAe(WR(this.Dh())),e==null?QVt:new Ay(this,e))),t},Q.Hh=function(e,t){return e},Q.Ih=function(e){return e.pk()?e.Lj():_N(this.Dh(),e)},Q.Jh=function(){var e=this.zh();return e?e.Qk():null},Q.Kh=function(){return this.zh()?this.zh().Nk():null},Q.Lh=function(e,t,n){return kP(this,e,t,n)},Q.Mh=function(e){return ED(this,e)},Q.Nh=function(e,t){return BE(this,e,t)},Q.Oh=function(){var e=this.zh();return!!e&&e.Rk()},Q.Ph=function(){throw O(new Df)},Q.Qh=function(){return JN(this)},Q.Rh=function(e,t,n,r){return TP(this,e,t,r)},Q.Sh=function(e,t,n){var r;return r=F(CO(this.Dh(),t),69),r.wk().zk(this,this.hi(),t-this.ji(),e,n)},Q.Th=function(e,t,n,r){return Mw(this,e,t,r)},Q.Uh=function(e,t,n){var r;return r=F(CO(this.Dh(),t),69),r.wk().Ak(this,this.hi(),t-this.ji(),e,n)},Q.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},Q.Wh=function(e){return pP(this,e)},Q.Xh=function(e){return BAe(this,e)},Q.Zh=function(e){return Zlt(this,e)},Q.$h=function(){throw O(new Df)},Q._h=function(){return this.zh()?this.zh().Pk():null},Q.ai=function(){return JN(this)},Q.bi=function(e,t){WI(this,e,t)},Q.ci=function(e){this.$h().Sk(e)},Q.di=function(e){this.$h().Vk(e)},Q.ei=function(e){this.$h().Uk(e)},Q.fi=function(e,t){var n,r,i,a=this.Jh();return a&&e&&(t=OP(a.El(),this,t),a.Il(this)),r=this.Ph(),r&&((xR(this,this.Ph(),this.Fh()).Bb&WV)==0?(t=(n=this.Fh(),n>=0?this.Ah(t):this.Ph().Th(this,-1-n,null,t)),t=this.Ch(null,-1,t)):(i=r.Qh(),i&&(e?!a&&i.Il(this):i.Hl(this)))),this.di(e),t},Q.gi=function(e){var t,n=this.Dh(),r,i,a=_N(n,e),o,s,c;if(t=this.ji(),a>=t)return F(e,69).wk().Dk(this,this.hi(),a-t);if(a<=-1)if(o=Dz((FI(),f9),n,e),o){if(Yh(),F(o,69).xk()||(o=AT(YD(f9,o))),i=(r=this.Ih(o),F(r>=0?this.Lh(r,!0,!0):oL(this,o,!0),160)),c=o.Ik(),c>1||c==-1)return F(F(i,220).Sl(e,!1),79)}else throw O(new Kp(FK+e.xe()+LK));else if(e.Jk())return r=this.Ih(e),F(r>=0?this.Lh(r,!1,!0):oL(this,e,!1),79);return s=new cme(this,e),s},Q.hi=function(){return nze(this)},Q.ii=function(){return(cC(),G7).S},Q.ji=function(){return uC(this.ii())},Q.ki=function(e){MI(this,e)},Q.Ib=function(){return SL(this)},R(zK,`BasicEObjectImpl`,99);var sVt;q(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),Q.li=function(e){return tze(this)[e]},Q.mi=function(e,t){fC(tze(this),e,t)},Q.ni=function(e){fC(tze(this),e,null)},Q.th=function(){return F(EA(this,4),129)},Q.uh=function(){throw O(new Df)},Q.vh=function(){return(this.Db&4)!=0},Q.zh=function(){throw O(new Df)},Q.oi=function(e){qN(this,2,e)},Q.Bh=function(e,t){this.Db=t<<16|this.Db&255,this.oi(e)},Q.Dh=function(){return kw(this)},Q.Fh=function(){return this.Db>>16},Q.Gh=function(){var e,t;return Kh(),t=pAe(WR((e=F(EA(this,16),29),e||this.ii()))),t==null?QVt:new Ay(this,t)},Q.wh=function(){return(this.Db&1)==0},Q.Jh=function(){return F(EA(this,128),2034)},Q.Kh=function(){return F(EA(this,16),29)},Q.Oh=function(){return(this.Db&32)!=0},Q.Ph=function(){return F(EA(this,2),54)},Q.Vh=function(){return(this.Db&64)!=0},Q.$h=function(){throw O(new Df)},Q._h=function(){return F(EA(this,64),288)},Q.ci=function(e){qN(this,16,e)},Q.di=function(e){qN(this,128,e)},Q.ei=function(e){qN(this,64,e)},Q.hi=function(){return KN(this)},Q.Db=0,R(zK,`MinimalEObjectImpl`,119),q(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),Q.oi=function(e){this.Cb=e},Q.Ph=function(){return this.Cb},R(zK,`MinimalEObjectImpl/Container`,120),q(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),Q.Lh=function(e,t,n){return QQe(this,e,t,n)},Q.Uh=function(e,t,n){return k4e(this,e,t,n)},Q.Wh=function(e){return nNe(this,e)},Q.bi=function(e,t){$We(this,e,t)},Q.ii=function(){return qz(),oVt},Q.ki=function(e){pWe(this,e)},Q.nf=function(){return UXe(this)},Q.gh=function(){return!this.o&&(this.o=new xD((qz(),i7),l7,this,0)),this.o},Q.of=function(e){return J(this,e)},Q.pf=function(e){return lD(this,e)},Q.qf=function(e,t){return EP(this,e,t)},R(BK,`EMapPropertyHolderImpl`,2083),q(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},jo),Q.Lh=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return kP(this,e,t,n)},Q.Wh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return pP(this,e)},Q.bi=function(e,t){switch(e){case 0:$O(this,k(P(t)));return;case 1:WO(this,k(P(t)));return}WI(this,e,t)},Q.ii=function(){return qz(),QBt},Q.ki=function(e){switch(e){case 0:$O(this,0);return;case 1:WO(this,0);return}MI(this,e)},Q.Ib=function(){var e;return this.Db&64?SL(this):(e=new hy(SL(this)),e.a+=` (x: `,Vm(e,this.a),e.a+=`, y: `,Vm(e,this.b),e.a+=`)`,e.a)},Q.a=0,Q.b=0,R(BK,`ElkBendPointImpl`,572),q(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}),Q.Lh=function(e,t,n){return yqe(this,e,t,n)},Q.Sh=function(e,t,n){return nI(this,e,t,n)},Q.Uh=function(e,t,n){return UA(this,e,t,n)},Q.Wh=function(e){return yUe(this,e)},Q.bi=function(e,t){Y1e(this,e,t)},Q.ii=function(){return qz(),tVt},Q.ki=function(e){kKe(this,e)},Q.jh=function(){return this.k},Q.kh=function(){return BC(this)},Q.Ib=function(){return Hqe(this)},Q.k=null,R(BK,`ElkGraphElementImpl`,739),q(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}),Q.Lh=function(e,t,n){return uJe(this,e,t,n)},Q.Wh=function(e){return MJe(this,e)},Q.bi=function(e,t){X1e(this,e,t)},Q.ii=function(){return qz(),aVt},Q.ki=function(e){sYe(this,e)},Q.lh=function(){return this.f},Q.mh=function(){return this.g},Q.nh=function(){return this.i},Q.oh=function(){return this.j},Q.ph=function(e,t){Cv(this,e,t)},Q.qh=function(e,t){wv(this,e,t)},Q.rh=function(e){JO(this,e)},Q.sh=function(e){YO(this,e)},Q.Ib=function(){return SI(this)},Q.f=0,Q.g=0,Q.i=0,Q.j=0,R(BK,`ElkShapeImpl`,740),q(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}),Q.Lh=function(e,t,n){return RZe(this,e,t,n)},Q.Sh=function(e,t,n){return O1e(this,e,t,n)},Q.Uh=function(e,t,n){return k1e(this,e,t,n)},Q.Wh=function(e){return KWe(this,e)},Q.bi=function(e,t){m7e(this,e,t)},Q.ii=function(){return qz(),$Bt},Q.ki=function(e){nZe(this,e)},Q.hh=function(){return!this.d&&(this.d=new Tb(X5,this,8,5)),this.d},Q.ih=function(){return!this.e&&(this.e=new Tb(X5,this,7,4)),this.e},R(BK,`ElkConnectableShapeImpl`,741),q(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},No),Q.Ah=function(e){return H$e(this,e)},Q.Lh=function(e,t,n){switch(e){case 3:return Hw(this);case 4:return!this.b&&(this.b=new Tb(Y5,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Tb(Y5,this,5,8)),this.c;case 6:return!this.a&&(this.a=new I(Z5,this,6,6)),this.a;case 7:return Oy(),!this.b&&(this.b=new Tb(Y5,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tb(Y5,this,5,8)),this.c.i<=1));case 8:return Oy(),!!dL(this);case 9:return Oy(),!!nL(this);case 10:return Oy(),!this.b&&(this.b=new Tb(Y5,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tb(Y5,this,5,8)),this.c.i!=0)}return yqe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 3:return this.Cb&&(n=(r=this.Db>>16,r>=0?H$e(this,n):this.Cb.Th(this,-1-r,null,n))),sye(this,F(e,27),n);case 4:return!this.b&&(this.b=new Tb(Y5,this,4,7)),ON(this.b,e,n);case 5:return!this.c&&(this.c=new Tb(Y5,this,5,8)),ON(this.c,e,n);case 6:return!this.a&&(this.a=new I(Z5,this,6,6)),ON(this.a,e,n)}return nI(this,e,t,n)},Q.Uh=function(e,t,n){switch(t){case 3:return sye(this,null,n);case 4:return!this.b&&(this.b=new Tb(Y5,this,4,7)),OP(this.b,e,n);case 5:return!this.c&&(this.c=new Tb(Y5,this,5,8)),OP(this.c,e,n);case 6:return!this.a&&(this.a=new I(Z5,this,6,6)),OP(this.a,e,n)}return UA(this,e,t,n)},Q.Wh=function(e){switch(e){case 3:return!!Hw(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 Tb(Y5,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Tb(Y5,this,5,8)),this.c.i<=1));case 8:return dL(this);case 9:return nL(this);case 10:return!this.b&&(this.b=new Tb(Y5,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Tb(Y5,this,5,8)),this.c.i!=0)}return yUe(this,e)},Q.bi=function(e,t){switch(e){case 3:PL(this,F(t,27));return;case 4:!this.b&&(this.b=new Tb(Y5,this,4,7)),Cz(this.b),!this.b&&(this.b=new Tb(Y5,this,4,7)),YS(this.b,F(t,16));return;case 5:!this.c&&(this.c=new Tb(Y5,this,5,8)),Cz(this.c),!this.c&&(this.c=new Tb(Y5,this,5,8)),YS(this.c,F(t,16));return;case 6:!this.a&&(this.a=new I(Z5,this,6,6)),Cz(this.a),!this.a&&(this.a=new I(Z5,this,6,6)),YS(this.a,F(t,16));return}Y1e(this,e,t)},Q.ii=function(){return qz(),eVt},Q.ki=function(e){switch(e){case 3:PL(this,null);return;case 4:!this.b&&(this.b=new Tb(Y5,this,4,7)),Cz(this.b);return;case 5:!this.c&&(this.c=new Tb(Y5,this,5,8)),Cz(this.c);return;case 6:!this.a&&(this.a=new I(Z5,this,6,6)),Cz(this.a);return}kKe(this,e)},Q.Ib=function(){return yst(this)},R(BK,`ElkEdgeImpl`,326),q(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},Po),Q.Ah=function(e){return O$e(this,e)},Q.Lh=function(e,t,n){switch(e){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 ny(K5,this,5)),this.a;case 6:return PAe(this);case 7:return t?VP(this):this.i;case 8:return t?BP(this):this.f;case 9:return!this.g&&(this.g=new Tb(Z5,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Tb(Z5,this,10,9)),this.e;case 11:return this.d}return QQe(this,e,t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?O$e(this,n):this.Cb.Th(this,-1-i,null,n))),oye(this,F(e,74),n);case 9:return!this.g&&(this.g=new Tb(Z5,this,9,10)),ON(this.g,e,n);case 10:return!this.e&&(this.e=new Tb(Z5,this,10,9)),ON(this.e,e,n)}return a=F(CO((r=F(EA(this,16),29),r||(qz(),r7)),t),69),a.wk().zk(this,KN(this),t-uC((qz(),r7)),e,n)},Q.Uh=function(e,t,n){switch(t){case 5:return!this.a&&(this.a=new ny(K5,this,5)),OP(this.a,e,n);case 6:return oye(this,null,n);case 9:return!this.g&&(this.g=new Tb(Z5,this,9,10)),OP(this.g,e,n);case 10:return!this.e&&(this.e=new Tb(Z5,this,10,9)),OP(this.e,e,n)}return k4e(this,e,t,n)},Q.Wh=function(e){switch(e){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!!PAe(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 nNe(this,e)},Q.bi=function(e,t){switch(e){case 1:XO(this,k(P(t)));return;case 2:QO(this,k(P(t)));return;case 3:GO(this,k(P(t)));return;case 4:ZO(this,k(P(t)));return;case 5:!this.a&&(this.a=new ny(K5,this,5)),Cz(this.a),!this.a&&(this.a=new ny(K5,this,5)),YS(this.a,F(t,16));return;case 6:eet(this,F(t,74));return;case 7:kk(this,F(t,84));return;case 8:Ok(this,F(t,84));return;case 9:!this.g&&(this.g=new Tb(Z5,this,9,10)),Cz(this.g),!this.g&&(this.g=new Tb(Z5,this,9,10)),YS(this.g,F(t,16));return;case 10:!this.e&&(this.e=new Tb(Z5,this,10,9)),Cz(this.e),!this.e&&(this.e=new Tb(Z5,this,10,9)),YS(this.e,F(t,16));return;case 11:UVe(this,eb(t));return}$We(this,e,t)},Q.ii=function(){return qz(),r7},Q.ki=function(e){switch(e){case 1:XO(this,0);return;case 2:QO(this,0);return;case 3:GO(this,0);return;case 4:ZO(this,0);return;case 5:!this.a&&(this.a=new ny(K5,this,5)),Cz(this.a);return;case 6:eet(this,null);return;case 7:kk(this,null);return;case 8:Ok(this,null);return;case 9:!this.g&&(this.g=new Tb(Z5,this,9,10)),Cz(this.g);return;case 10:!this.e&&(this.e=new Tb(Z5,this,10,9)),Cz(this.e);return;case 11:UVe(this,null);return}pWe(this,e)},Q.Ib=function(){return D5e(this)},Q.b=0,Q.c=0,Q.d=null,Q.j=0,Q.k=0,R(BK,`ElkEdgeSectionImpl`,452),q(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),Q.Lh=function(e,t,n){var r;return e==0?(!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab):ND(this,e-uC(this.ii()),CO((r=F(EA(this,16),29),r||this.ii()),e),t,n)},Q.Sh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n)):(i=F(CO((r=F(EA(this,16),29),r||this.ii()),t),69),i.wk().zk(this,KN(this),t-uC(this.ii()),e,n))},Q.Uh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n)):(i=F(CO((r=F(EA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,KN(this),t-uC(this.ii()),e,n))},Q.Wh=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:iE(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.Zh=function(e){return fdt(this,e)},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return}sN(this,e-uC(this.ii()),CO((n=F(EA(this,16),29),n||this.ii()),e),t)},Q.di=function(e){qN(this,128,e)},Q.ii=function(){return iB(),VVt},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return}SM(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.pi=function(){this.Bb|=1},Q.qi=function(e){return NR(this,e)},Q.Bb=0,R(zK,`EModelElementImpl`,158),q(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},Pc),Q.ri=function(e,t){return Plt(this,e,t)},Q.si=function(e){var t,n,r,i,a;if(this.a!=IO(e)||e.Bb&256)throw O(new Kp(KK+e.zb+UK));for(r=Dw(e);uE(r.a).i!=0;){if(n=F(Az(r,0,(t=F(U(uE(r.a),0),89),a=t.c,N(a,90)?F(a,29):(iB(),e9))),29),lF(n))return i=IO(n).wi().si(n),F(i,54).ci(e),i;r=Dw(n)}return(e.D==null?e.B:e.D)==`java.util.Map$Entry`?new Swe(e):new qCe(e)},Q.ti=function(e,t){return Jz(this,e,t)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.a}return ND(this,e-uC((iB(),Z7)),CO((r=F(EA(this,16),29),r||Z7),e),t,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 1:return this.a&&(n=F(this.a,54).Th(this,4,t7,n)),SKe(this,F(e,241),n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),Z7)),t),69),i.wk().zk(this,KN(this),t-uC((iB(),Z7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 1:return SKe(this,null,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),Z7)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),Z7)),e,n)},Q.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return iE(this,e-uC((iB(),Z7)),CO((t=F(EA(this,16),29),t||Z7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:d4e(this,F(t,241));return}sN(this,e-uC((iB(),Z7)),CO((n=F(EA(this,16),29),n||Z7),e),t)},Q.ii=function(){return iB(),Z7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:d4e(this,null);return}SM(this,e-uC((iB(),Z7)),CO((t=F(EA(this,16),29),t||Z7),e))};var c7,cVt,lVt;R(zK,`EFactoryImpl`,720),q(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},Fo),Q.ri=function(e,t){switch(e.hk()){case 12:return F(t,149).Pg();case 13:return aN(t);default:throw O(new Kp(HK+e.xe()+UK))}},Q.si=function(e){var t,n,r,i,a,o,s,c;switch(e.G==-1&&(e.G=(t=IO(e),t?jP(t.vi(),e):-1)),e.G){case 4:return a=new Io,a;case 6:return o=new hp,o;case 7:return s=new gp,s;case 8:return r=new No,r;case 9:return n=new jo,n;case 10:return i=new Po,i;case 11:return c=new Zne,c;default:throw O(new Kp(KK+e.zb+UK))}},Q.ti=function(e,t){switch(e.hk()){case 13:case 12:return null;default:throw O(new Kp(HK+e.xe()+UK))}},R(BK,`ElkGraphFactoryImpl`,1037),q(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}),Q.Gh=function(){var e,t=(e=F(EA(this,16),29),pAe(WR(e||this.ii())));return t==null?(Kh(),Kh(),QVt):new gve(this,t)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.xe()}return ND(this,e-uC(this.ii()),CO((r=F(EA(this,16),29),r||this.ii()),e),t,n)},Q.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return iE(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:this.ui(eb(t));return}sN(this,e-uC(this.ii()),CO((n=F(EA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return iB(),HVt},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:this.ui(null);return}SM(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.xe=function(){return this.zb},Q.ui=function(e){Gk(this,e)},Q.Ib=function(){return _M(this)},Q.zb=null,R(zK,`ENamedElementImpl`,448),q(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},fke),Q.Ah=function(e){return M$e(this,e)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,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 CS(this,N7,this)),this.rb;case 6:return!this.vb&&(this.vb=new Cb(t7,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?F(this.Cb,241):null:YAe(this)}return ND(this,e-uC((iB(),n9)),CO((r=F(EA(this,16),29),r||n9),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 4:return this.sb&&(n=F(this.sb,54).Th(this,1,$5,n)),BKe(this,F(e,480),n);case 5:return!this.rb&&(this.rb=new CS(this,N7,this)),ON(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Cb(t7,this,6,7)),ON(this.vb,e,n);case 7:return this.Cb&&(n=(i=this.Db>>16,i>=0?M$e(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,7,n)}return a=F(CO((r=F(EA(this,16),29),r||(iB(),n9)),t),69),a.wk().zk(this,KN(this),t-uC((iB(),n9)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 4:return BKe(this,null,n);case 5:return!this.rb&&(this.rb=new CS(this,N7,this)),OP(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Cb(t7,this,6,7)),OP(this.vb,e,n);case 7:return MR(this,null,7,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),n9)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),n9)),e,n)},Q.Wh=function(e){var t;switch(e){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!!YAe(this)}return iE(this,e-uC((iB(),n9)),CO((t=F(EA(this,16),29),t||n9),e))},Q.Zh=function(e){return Bet(this,e)||fdt(this,e)},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:Gk(this,eb(t));return;case 2:qk(this,eb(t));return;case 3:Kk(this,eb(t));return;case 4:vI(this,F(t,480));return;case 5:!this.rb&&(this.rb=new CS(this,N7,this)),Cz(this.rb),!this.rb&&(this.rb=new CS(this,N7,this)),YS(this.rb,F(t,16));return;case 6:!this.vb&&(this.vb=new Cb(t7,this,6,7)),Cz(this.vb),!this.vb&&(this.vb=new Cb(t7,this,6,7)),YS(this.vb,F(t,16));return}sN(this,e-uC((iB(),n9)),CO((n=F(EA(this,16),29),n||n9),e),t)},Q.ei=function(e){var t,n;if(e&&this.rb)for(n=new cy(this.rb);n.e!=n.i.gc();)t=hP(n),N(t,364)&&(F(t,364).w=null);qN(this,64,e)},Q.ii=function(){return iB(),n9},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:Gk(this,null);return;case 2:qk(this,null);return;case 3:Kk(this,null);return;case 4:vI(this,null);return;case 5:!this.rb&&(this.rb=new CS(this,N7,this)),Cz(this.rb);return;case 6:!this.vb&&(this.vb=new Cb(t7,this,6,7)),Cz(this.vb);return}SM(this,e-uC((iB(),n9)),CO((t=F(EA(this,16),29),t||n9),e))},Q.pi=function(){hF(this)},Q.vi=function(){return!this.rb&&(this.rb=new CS(this,N7,this)),this.rb},Q.wi=function(){return this.sb},Q.xi=function(){return this.ub},Q.yi=function(){return this.xb},Q.zi=function(){return this.yb},Q.Ai=function(e){this.ub=e},Q.Ib=function(){var e;return this.Db&64?_M(this):(e=new hy(_M(this)),e.a+=` (nsURI: `,X_(e,this.yb),e.a+=`, nsPrefix: `,X_(e,this.xb),e.a+=`)`,e.a)},Q.xb=null,Q.yb=null;var uVt;R(zK,`EPackageImpl`,184),q(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},Y5e),Q.q=!1,Q.r=!1;var dVt=!1;R(BK,`ElkGraphPackageImpl`,569),q(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},Io),Q.Ah=function(e){return k$e(this,e)},Q.Lh=function(e,t,n){switch(e){case 7:return XAe(this);case 8:return this.a}return uJe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 7:return this.Cb&&(n=(r=this.Db>>16,r>=0?k$e(this,n):this.Cb.Th(this,-1-r,null,n))),MTe(this,F(e,167),n)}return nI(this,e,t,n)},Q.Uh=function(e,t,n){return t==7?MTe(this,null,n):UA(this,e,t,n)},Q.Wh=function(e){switch(e){case 7:return!!XAe(this);case 8:return!Db(``,this.a)}return MJe(this,e)},Q.bi=function(e,t){switch(e){case 7:Let(this,F(t,167));return;case 8:DVe(this,eb(t));return}X1e(this,e,t)},Q.ii=function(){return qz(),nVt},Q.ki=function(e){switch(e){case 7:Let(this,null);return;case 8:DVe(this,``);return}sYe(this,e)},Q.Ib=function(){return C3e(this)},Q.a=``,R(BK,`ElkLabelImpl`,366),q(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},hp),Q.Ah=function(e){return U$e(this,e)},Q.Lh=function(e,t,n){switch(e){case 9:return!this.c&&(this.c=new I(s7,this,9,9)),this.c;case 10:return!this.a&&(this.a=new I(o7,this,10,11)),this.a;case 11:return $w(this);case 12:return!this.b&&(this.b=new I(X5,this,12,3)),this.b;case 13:return Oy(),!this.a&&(this.a=new I(o7,this,10,11)),this.a.i>0}return RZe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 9:return!this.c&&(this.c=new I(s7,this,9,9)),ON(this.c,e,n);case 10:return!this.a&&(this.a=new I(o7,this,10,11)),ON(this.a,e,n);case 11:return this.Cb&&(n=(r=this.Db>>16,r>=0?U$e(this,n):this.Cb.Th(this,-1-r,null,n))),Yye(this,F(e,27),n);case 12:return!this.b&&(this.b=new I(X5,this,12,3)),ON(this.b,e,n)}return O1e(this,e,t,n)},Q.Uh=function(e,t,n){switch(t){case 9:return!this.c&&(this.c=new I(s7,this,9,9)),OP(this.c,e,n);case 10:return!this.a&&(this.a=new I(o7,this,10,11)),OP(this.a,e,n);case 11:return Yye(this,null,n);case 12:return!this.b&&(this.b=new I(X5,this,12,3)),OP(this.b,e,n)}return k1e(this,e,t,n)},Q.Wh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!$w(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new I(o7,this,10,11)),this.a.i>0}return KWe(this,e)},Q.bi=function(e,t){switch(e){case 9:!this.c&&(this.c=new I(s7,this,9,9)),Cz(this.c),!this.c&&(this.c=new I(s7,this,9,9)),YS(this.c,F(t,16));return;case 10:!this.a&&(this.a=new I(o7,this,10,11)),Cz(this.a),!this.a&&(this.a=new I(o7,this,10,11)),YS(this.a,F(t,16));return;case 11:LL(this,F(t,27));return;case 12:!this.b&&(this.b=new I(X5,this,12,3)),Cz(this.b),!this.b&&(this.b=new I(X5,this,12,3)),YS(this.b,F(t,16));return}m7e(this,e,t)},Q.ii=function(){return qz(),rVt},Q.ki=function(e){switch(e){case 9:!this.c&&(this.c=new I(s7,this,9,9)),Cz(this.c);return;case 10:!this.a&&(this.a=new I(o7,this,10,11)),Cz(this.a);return;case 11:LL(this,null);return;case 12:!this.b&&(this.b=new I(X5,this,12,3)),Cz(this.b);return}nZe(this,e)},Q.Ib=function(){return Brt(this)},R(BK,`ElkNodeImpl`,207),q(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},gp),Q.Ah=function(e){return A$e(this,e)},Q.Lh=function(e,t,n){return e==9?Uw(this):RZe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 9:return this.Cb&&(n=(r=this.Db>>16,r>=0?A$e(this,n):this.Cb.Th(this,-1-r,null,n))),cye(this,F(e,27),n)}return O1e(this,e,t,n)},Q.Uh=function(e,t,n){return t==9?cye(this,null,n):k1e(this,e,t,n)},Q.Wh=function(e){return e==9?!!Uw(this):KWe(this,e)},Q.bi=function(e,t){switch(e){case 9:tet(this,F(t,27));return}m7e(this,e,t)},Q.ii=function(){return qz(),iVt},Q.ki=function(e){switch(e){case 9:tet(this,null);return}nZe(this,e)},Q.Ib=function(){return Vrt(this)},R(BK,`ElkPortImpl`,193);var fVt=xx(rq,`BasicEMap/Entry`);q(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},Zne),Q.Fb=function(e){return this===e},Q.ld=function(){return this.b},Q.Hb=function(){return Ey(this)},Q.Di=function(e){OVe(this,F(e,149))},Q.Lh=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return kP(this,e,t,n)},Q.Wh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return pP(this,e)},Q.bi=function(e,t){switch(e){case 0:OVe(this,F(t,149));return;case 1:EVe(this,t);return}WI(this,e,t)},Q.ii=function(){return qz(),i7},Q.ki=function(e){switch(e){case 0:OVe(this,null);return;case 1:EVe(this,null);return}MI(this,e)},Q.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?Wk(e):0),this.a},Q.md=function(){return this.c},Q.Ci=function(e){this.a=e},Q.nd=function(e){var t=this.c;return EVe(this,e),t},Q.Ib=function(){var e;return this.Db&64?SL(this):(e=new um,$_($_($_(e,this.b?this.b.Pg():_B),JU),my(this.c)),e.a)},Q.a=-1,Q.c=null;var l7=R(BK,`ElkPropertyToValueMapEntryImpl`,1122);q(996,1,{},zo),R(aq,`JsonAdapter`,996),q(216,63,eV,Qp),R(aq,`JsonImportException`,216),q(868,1,{},P$e),R(aq,`JsonImporter`,868),q(903,1,{},Lpe),R(aq,`JsonImporter/lambda$0$Type`,903),q(904,1,{},Rpe),R(aq,`JsonImporter/lambda$1$Type`,904),q(912,1,{},ose),R(aq,`JsonImporter/lambda$10$Type`,912),q(914,1,{},zpe),R(aq,`JsonImporter/lambda$11$Type`,914),q(915,1,{},Bpe),R(aq,`JsonImporter/lambda$12$Type`,915),q(921,1,{},zOe),R(aq,`JsonImporter/lambda$13$Type`,921),q(920,1,{},BOe),R(aq,`JsonImporter/lambda$14$Type`,920),q(916,1,{},Vpe),R(aq,`JsonImporter/lambda$15$Type`,916),q(917,1,{},Hpe),R(aq,`JsonImporter/lambda$16$Type`,917),q(918,1,{},Upe),R(aq,`JsonImporter/lambda$17$Type`,918),q(919,1,{},Wpe),R(aq,`JsonImporter/lambda$18$Type`,919),q(924,1,{},sse),R(aq,`JsonImporter/lambda$19$Type`,924),q(905,1,{},cse),R(aq,`JsonImporter/lambda$2$Type`,905),q(922,1,{},gd),R(aq,`JsonImporter/lambda$20$Type`,922),q(923,1,{},_d),R(aq,`JsonImporter/lambda$21$Type`,923),q(927,1,{},vd),R(aq,`JsonImporter/lambda$22$Type`,927),q(925,1,{},lse),R(aq,`JsonImporter/lambda$23$Type`,925),q(926,1,{},use),R(aq,`JsonImporter/lambda$24$Type`,926),q(929,1,{},dse),R(aq,`JsonImporter/lambda$25$Type`,929),q(928,1,{},fse),R(aq,`JsonImporter/lambda$26$Type`,928),q(930,1,MB,Gpe),Q.Cd=function(e){tRe(this.b,this.a,eb(e))},R(aq,`JsonImporter/lambda$27$Type`,930),q(931,1,MB,Kpe),Q.Cd=function(e){nRe(this.b,this.a,eb(e))},R(aq,`JsonImporter/lambda$28$Type`,931),q(932,1,{},qpe),R(aq,`JsonImporter/lambda$29$Type`,932),q(908,1,{},pse),R(aq,`JsonImporter/lambda$3$Type`,908),q(933,1,{},Jpe),R(aq,`JsonImporter/lambda$30$Type`,933),q(934,1,{},mse),R(aq,`JsonImporter/lambda$31$Type`,934),q(935,1,{},hse),R(aq,`JsonImporter/lambda$32$Type`,935),q(936,1,{},gse),R(aq,`JsonImporter/lambda$33$Type`,936),q(937,1,{},yd),R(aq,`JsonImporter/lambda$34$Type`,937),q(870,1,{},bd),R(aq,`JsonImporter/lambda$35$Type`,870),q(941,1,{},rCe),R(aq,`JsonImporter/lambda$36$Type`,941),q(938,1,MB,xd),Q.Cd=function(e){NFe(this.a,F(e,377))},R(aq,`JsonImporter/lambda$37$Type`,938),q(939,1,MB,Ype),Q.Cd=function(e){ime(this.a,this.b,F(e,166))},R(aq,`JsonImporter/lambda$38$Type`,939),q(940,1,MB,Xpe),Q.Cd=function(e){ame(this.a,this.b,F(e,166))},R(aq,`JsonImporter/lambda$39$Type`,940),q(906,1,{},Sd),R(aq,`JsonImporter/lambda$4$Type`,906),q(942,1,MB,_se),Q.Cd=function(e){PFe(this.a,F(e,8))},R(aq,`JsonImporter/lambda$40$Type`,942),q(907,1,{},Cd),R(aq,`JsonImporter/lambda$5$Type`,907),q(911,1,{},wd),R(aq,`JsonImporter/lambda$6$Type`,911),q(909,1,{},vse),R(aq,`JsonImporter/lambda$7$Type`,909),q(910,1,{},Td),R(aq,`JsonImporter/lambda$8$Type`,910),q(913,1,{},Ed),R(aq,`JsonImporter/lambda$9$Type`,913),q(961,1,MB,yse),Q.Cd=function(e){hC(this.a,new aC(eb(e)))},R(aq,`JsonMetaDataConverter/lambda$0$Type`,961),q(962,1,MB,Dd),Q.Cd=function(e){KEe(this.a,F(e,245))},R(aq,`JsonMetaDataConverter/lambda$1$Type`,962),q(963,1,MB,Od),Q.Cd=function(e){vje(this.a,F(e,143))},R(aq,`JsonMetaDataConverter/lambda$2$Type`,963),q(964,1,MB,bse),Q.Cd=function(e){qEe(this.a,F(e,170))},R(aq,`JsonMetaDataConverter/lambda$3$Type`,964),q(245,22,{3:1,34:1,22:1,245:1},F_);var u7,d7,f7,p7,m7,h7,g7,_7,v7=ck(GH,`GraphFeature`,245,HJ,Xze,hCe),pVt;q(11,1,{34:1,149:1},jd,pb,iv,Av),Q.Fd=function(e){return Fge(this,F(e,149))},Q.Fb=function(e){return Lke(this,e)},Q.Sg=function(){return mP(this)},Q.Pg=function(){return this.b},Q.Hb=function(){return wj(this.b)},Q.Ib=function(){return this.b},R(GH,`Property`,11),q(671,1,mH,kd),Q.Ne=function(e,t){return Fqe(this,F(e,96),F(t,96))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new Kl(this)},R(GH,`PropertyHolderComparator`,671),q(709,1,SB,Ad),Q.Nb=function(e){ES(this,e)},Q.Pb=function(){return aRe(this)},Q.Qb=function(){fue()},Q.Ob=function(){return!!this.a},R(uq,`ElkGraphUtil/AncestorIterator`,709);var mVt=xx(rq,`EList`);q(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),Q.bd=function(e,t){kM(this,e,t)},Q.Fc=function(e){return gD(this,e)},Q.cd=function(e,t){return hWe(this,e,t)},Q.Gc=function(e){return YS(this,e)},Q.Ii=function(){return new Py(this)},Q.Ji=function(){return new Fy(this)},Q.Ki=function(e){return _k(this,e)},Q.Li=function(){return!0},Q.Mi=function(e,t){},Q.Ni=function(){},Q.Oi=function(e,t){fD(this,e,t)},Q.Pi=function(e,t,n){},Q.Qi=function(e,t){},Q.Ri=function(e,t,n){},Q.Fb=function(e){return Hnt(this,e)},Q.Hb=function(){return $Ue(this)},Q.Si=function(){return!1},Q.Kc=function(){return new cy(this)},Q.ed=function(){return new Ny(this)},Q.fd=function(e){var t=this.gc();if(e<0||e>t)throw O(new Eb(e,t));return new zS(this,e)},Q.Ui=function(e,t){this.Ti(e,this.dd(t))},Q.Mc=function(e){return uO(this,e)},Q.Wi=function(e,t){return t},Q.hd=function(e,t){return MP(this,e,t)},Q.Ib=function(){return bJe(this)},Q.Yi=function(){return!0},Q.Zi=function(e,t){return Cj(this,t)},R(rq,`AbstractEList`,70),q(66,70,hq,Vo,PO,BHe),Q.Ei=function(e,t){return rI(this,e,t)},Q.Fi=function(e){return iQe(this,e)},Q.Gi=function(e,t){yM(this,e,t)},Q.Hi=function(e){VE(this,e)},Q.$i=function(e){return lRe(this,e)},Q.$b=function(){HE(this)},Q.Hc=function(e){return FF(this,e)},Q.Xb=function(e){return U(this,e)},Q._i=function(e){var t,n,r;++this.j,n=this.g==null?0:this.g.length,e>n&&(r=this.g,t=n+(n/2|0)+4,t=0?(this.gd(t),!0):!1},Q.Xi=function(e,t){return this.Dj(e,this.Zi(e,t))},Q.gc=function(){return this.Ej()},Q.Pc=function(){return this.Fj()},Q.Qc=function(e){return this.Gj(e)},Q.Ib=function(){return this.Hj()},R(rq,`DelegatingEList`,2093),q(2094,2093,pbt),Q.Ei=function(e,t){return zat(this,e,t)},Q.Fi=function(e){return this.Ei(this.Ej(),e)},Q.Gi=function(e,t){X5e(this,e,t)},Q.Hi=function(e){C5e(this,e)},Q.Li=function(){return!this.Mj()},Q.$b=function(){wz(this)},Q.Ij=function(e,t,n,r,i){return new Fke(this,e,t,n,r,i)},Q.Jj=function(e){CA(this.jj(),e)},Q.Kj=function(){return null},Q.Lj=function(){return-1},Q.jj=function(){return null},Q.Mj=function(){return!1},Q.Nj=function(e,t){return t},Q.Oj=function(e,t){return t},Q.Pj=function(){return!1},Q.Qj=function(){return!this.Aj()},Q.Ti=function(e,t){var n,r;return this.Pj()?(r=this.Qj(),n=c4e(this,e,t),this.Jj(this.Ij(7,dM(t),n,e,r)),n):c4e(this,e,t)},Q.gd=function(e){var t,n,r,i;return this.Pj()?(n=null,r=this.Qj(),t=this.Ij(4,i=Sx(this,e),null,e,r),this.Mj()&&i&&(n=this.Oj(i,n)),n?(n.nj(t),n.oj()):this.Jj(t),i):(i=Sx(this,e),this.Mj()&&i&&(n=this.Oj(i,null),n&&n.oj()),i)},Q.Xi=function(e,t){return Bat(this,e,t)},R(PK,`DelegatingNotifyingListImpl`,2094),q(152,1,Cq),Q.nj=function(e){return N0e(this,e)},Q.oj=function(){GD(this)},Q.gj=function(){return this.d},Q.Kj=function(){return null},Q.Rj=function(){return null},Q.hj=function(e){return-1},Q.ij=function(){return Rtt(this)},Q.jj=function(){return null},Q.kj=function(){return ztt(this)},Q.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Q.Sj=function(){return!1},Q.mj=function(e){var t,n,r,i,a,o,s,c,l,u,d;switch(this.d){case 1:case 2:switch(i=e.gj(),i){case 1:case 2:if(a=e.jj(),M(a)===M(this.jj())&&this.hj(null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0}case 4:switch(i=e.gj(),i){case 4:if(a=e.jj(),M(a)===M(this.jj())&&this.hj(null)==e.hj(null))return l=Xct(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,o=e.lj(),this.d=6,d=new PO(2),c<=o?(gD(d,this.n),gD(d,e.kj()),this.g=W(A(q9,1),bV,28,15,[this.o=c,o+1])):(gD(d,e.kj()),gD(d,this.n),this.g=W(A(q9,1),bV,28,15,[this.o=o,c])),this.n=d,l||(this.o=-2-this.o-1),!0;break}break;case 6:switch(i=e.gj(),i){case 4:if(a=e.jj(),M(a)===M(this.jj())&&this.hj(null)==e.hj(null)){for(l=Xct(this),o=e.lj(),u=F(this.g,53),r=H(q9,bV,28,u.length+1,15,1),t=0;t>>0,t.toString(16)));switch(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:Hm(r,this.d);break}if(iit(this)&&(r.a+=`, touch: true`),r.a+=`, position: `,Hm(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=`, notifier: `,Y_(r,this.jj()),r.a+=`, feature: `,Y_(r,this.Kj()),r.a+=`, oldValue: `,Y_(r,ztt(this)),r.a+=`, newValue: `,this.d==6&&N(this.g,53)){for(n=F(this.g,53),r.a+=`[`,e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new Ax(this),this.a=this.j),dh(this.b,e)):FF(this,e)},Q.Yi=function(){return!0},Q.a=0,R(rq,`AbstractEList/1`,966),q(302,77,LV,Eb),R(rq,`AbstractEList/BasicIndexOutOfBoundsException`,302),q(37,1,SB,cy),Q.Nb=function(e){ES(this,e)},Q.Xj=function(){if(this.i.j!=this.f)throw O(new Of)},Q.Yj=function(){return hP(this)},Q.Ob=function(){return this.e!=this.i.gc()},Q.Pb=function(){return this.Yj()},Q.Qb=function(){VF(this)},Q.e=0,Q.f=0,Q.g=-1,R(rq,`AbstractEList/EIterator`,37),q(286,37,OB,Ny,zS),Q.Qb=function(){VF(this)},Q.Rb=function(e){lYe(this,e)},Q.Zj=function(){var e;try{return e=this.d.Xb(--this.e),this.Xj(),this.g=this.e,e}catch(e){throw e=qA(e),N(e,77)?(this.Xj(),O(new Af)):O(e)}},Q.$j=function(e){fQe(this,e)},Q.Sb=function(){return this.e!=0},Q.Tb=function(){return this.e},Q.Ub=function(){return this.Zj()},Q.Vb=function(){return this.e-1},Q.Wb=function(e){this.$j(e)},R(rq,`AbstractEList/EListIterator`,286),q(355,37,SB,Py),Q.Yj=function(){return gP(this)},Q.Qb=function(){throw O(new Df)},R(rq,`AbstractEList/NonResolvingEIterator`,355),q(398,286,OB,Fy,Sbe),Q.Rb=function(e){throw O(new Df)},Q.Yj=function(){var e;try{return e=this.c.Vi(this.e),this.Xj(),this.g=this.e++,e}catch(e){throw e=qA(e),N(e,77)?(this.Xj(),O(new Af)):O(e)}},Q.Zj=function(){var e;try{return e=this.c.Vi(--this.e),this.Xj(),this.g=this.e,e}catch(e){throw e=qA(e),N(e,77)?(this.Xj(),O(new Af)):O(e)}},Q.Qb=function(){throw O(new Df)},Q.Wb=function(e){throw O(new Df)},R(rq,`AbstractEList/NonResolvingEListIterator`,398),q(2080,70,hbt),Q.Ei=function(e,t){var n,r,i=t.gc(),a,o,s,c,l,u,d,f;if(i!=0){for(l=F(EA(this.a,4),129),u=l==null?0:l.length,f=u+i,r=Fj(this,f),d=u-e,d>0&&BR(l,e,r,e+i,d),c=t.Kc(),o=0;on)throw O(new Eb(e,n));return new mOe(this,e)},Q.$b=function(){var e,t;++this.j,e=F(EA(this.a,4),129),t=e==null?0:e.length,rP(this,null),fD(this,t,e)},Q.Hc=function(e){var t=F(EA(this.a,4),129),n,r,i,a;if(t!=null){if(e!=null){for(r=t,i=0,a=r.length;i=n)throw O(new Eb(e,n));return t[e]},Q.dd=function(e){var t=F(EA(this.a,4),129),n,r;if(t!=null){if(e!=null){for(n=0,r=t.length;nn)throw O(new Eb(e,n));return new pOe(this,e)},Q.Ti=function(e,t){var n=PYe(this),r,i=n==null?0:n.length;if(e>=i)throw O(new Up(fq+e+pq+i));if(t>=i)throw O(new Up(mq+t+pq+i));return r=n[t],e!=t&&(e0&&BR(e,0,t,0,n),t},Q.Qc=function(e){var t=F(EA(this.a,4),129),n,r=t==null?0:t.length;return r>0&&(e.lengthr&&fC(e,r,null),e};var vVt;R(rq,`ArrayDelegatingEList`,2080),q(1051,37,SB,$Fe),Q.Xj=function(){if(this.b.j!=this.f||M(F(EA(this.b.a,4),129))!==M(this.a))throw O(new Of)},Q.Qb=function(){VF(this),this.a=F(EA(this.b.a,4),129)},R(rq,`ArrayDelegatingEList/EIterator`,1051),q(722,286,OB,uEe,pOe),Q.Xj=function(){if(this.b.j!=this.f||M(F(EA(this.b.a,4),129))!==M(this.a))throw O(new Of)},Q.$j=function(e){fQe(this,e),this.a=F(EA(this.b.a,4),129)},Q.Qb=function(){VF(this),this.a=F(EA(this.b.a,4),129)},R(rq,`ArrayDelegatingEList/EListIterator`,722),q(1052,355,SB,eIe),Q.Xj=function(){if(this.b.j!=this.f||M(F(EA(this.b.a,4),129))!==M(this.a))throw O(new Of)},R(rq,`ArrayDelegatingEList/NonResolvingEIterator`,1052),q(723,398,OB,dEe,mOe),Q.Xj=function(){if(this.b.j!=this.f||M(F(EA(this.b.a,4),129))!==M(this.a))throw O(new Of)},R(rq,`ArrayDelegatingEList/NonResolvingEListIterator`,723),q(615,302,LV,Nme),R(rq,`BasicEList/BasicIndexOutOfBoundsException`,615),q(710,66,hq,mme),Q.bd=function(e,t){throw O(new Df)},Q.Fc=function(e){throw O(new Df)},Q.cd=function(e,t){throw O(new Df)},Q.Gc=function(e){throw O(new Df)},Q.$b=function(){throw O(new Df)},Q._i=function(e){throw O(new Df)},Q.Kc=function(){return this.Ii()},Q.ed=function(){return this.Ji()},Q.fd=function(e){return this.Ki(e)},Q.Ti=function(e,t){throw O(new Df)},Q.Ui=function(e,t){throw O(new Df)},Q.gd=function(e){throw O(new Df)},Q.Mc=function(e){throw O(new Df)},Q.hd=function(e,t){throw O(new Df)},R(rq,`BasicEList/UnmodifiableEList`,710),q(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),Q.bd=function(e,t){Sge(this,e,F(t,44))},Q.Fc=function(e){return bve(this,F(e,44))},Q.Jc=function(e){TE(this,e)},Q.Xb=function(e){return F(U(this.c,e),136)},Q.Ti=function(e,t){return F(this.c.Ti(e,t),44)},Q.Ui=function(e,t){Cge(this,e,F(t,44))},Q.Lc=function(){return new jx(null,new wT(this,16))},Q.gd=function(e){return F(this.c.gd(e),44)},Q.hd=function(e,t){return GEe(this,e,F(t,44))},Q.jd=function(e){Vk(this,e)},Q.Nc=function(){return new wT(this,16)},Q.Oc=function(){return new jx(null,new wT(this,16))},Q.cd=function(e,t){return this.c.cd(e,t)},Q.Gc=function(e){return this.c.Gc(e)},Q.$b=function(){this.c.$b()},Q.Hc=function(e){return this.c.Hc(e)},Q.Ic=function(e){return KA(this.c,e)},Q._j=function(){var e,t,n;if(this.d==null){for(this.d=H(hVt,gbt,66,2*this.f+1,0,1),n=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)e=F(t.Yj(),136),UP(this,e);this.e=n}},Q.Fb=function(e){return Abe(this,e)},Q.Hb=function(){return $Ue(this.c)},Q.dd=function(e){return this.c.dd(e)},Q.ak=function(){this.c=new Md(this)},Q.dc=function(){return this.f==0},Q.Kc=function(){return this.c.Kc()},Q.ed=function(){return this.c.ed()},Q.fd=function(e){return this.c.fd(e)},Q.bk=function(){return uD(this)},Q.ck=function(e,t,n){return new iCe(e,t,n)},Q.dk=function(){return new $ne},Q.Mc=function(e){return tVe(this,e)},Q.gc=function(){return this.f},Q.kd=function(e,t){return new hT(this.c,e,t)},Q.Pc=function(){return this.c.Pc()},Q.Qc=function(e){return this.c.Qc(e)},Q.Ib=function(){return bJe(this.c)},Q.e=0,Q.f=0,R(rq,`BasicEMap`,721),q(1046,66,hq,Md),Q.Mi=function(e,t){If(this,F(t,136))},Q.Pi=function(e,t,n){var r;++(r=this,F(t,136),r).a.e},Q.Qi=function(e,t){Rse(this,F(t,136))},Q.Ri=function(e,t,n){W_e(this,F(t,136),F(n,136))},Q.Oi=function(e,t){pUe(this.a)},R(rq,`BasicEMap/1`,1046),q(1047,66,hq,$ne),Q.aj=function(e){return H(yVt,_bt,621,e,0,1)},R(rq,`BasicEMap/2`,1047),q(1048,EB,DB,Nd),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){return SN(this.a,e)},Q.Kc=function(){return this.a.f==0?(ib(),w7.a):new Kle(this.a)},Q.Mc=function(e){var t=this.a.f;return WN(this.a,e),this.a.f!=t},Q.gc=function(){return this.a.f},R(rq,`BasicEMap/3`,1048),q(1049,31,TB,xse),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){return Unt(this.a,e)},Q.Kc=function(){return this.a.f==0?(ib(),w7.a):new qle(this.a)},Q.gc=function(){return this.a.f},R(rq,`BasicEMap/4`,1049),q(1050,EB,DB,Pd),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){var t,n,r,i,a,o,s,c,l;if(this.a.f>0&&N(e,44)&&(this.a._j(),c=F(e,44),s=c.ld(),i=s==null?0:Wk(s),a=lye(this.a,i),t=this.a.d[a],t)){for(n=F(t.g,379),l=t.i,o=0;o`+this.c},Q.a=0;var yVt=R(rq,`BasicEMap/EntryImpl`,621);q(546,1,{},Uo),R(rq,`BasicEMap/View`,546);var w7;q(783,1,{}),Q.Fb=function(e){return h7e((lw(),yY),e)},Q.Hb=function(){return HWe((lw(),yY))},Q.Ib=function(){return hI((lw(),yY))},R(rq,`ECollections/BasicEmptyUnmodifiableEList`,783),q(1348,1,OB,Wo),Q.Nb=function(e){ES(this,e)},Q.Rb=function(e){throw O(new Df)},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Pb=function(){throw O(new Af)},Q.Tb=function(){return 0},Q.Ub=function(){throw O(new Af)},Q.Vb=function(){return-1},Q.Qb=function(){throw O(new Df)},Q.Wb=function(e){throw O(new Df)},R(rq,`ECollections/BasicEmptyUnmodifiableEList/1`,1348),q(1346,783,{20:1,16:1,15:1,61:1},Xse),Q.bd=function(e,t){Oue()},Q.Fc=function(e){return kue()},Q.cd=function(e,t){return Aue()},Q.Gc=function(e){return jue()},Q.$b=function(){Mue()},Q.Hc=function(e){return!1},Q.Ic=function(e){return!1},Q.Jc=function(e){TE(this,e)},Q.Xb=function(e){return wme((lw(),e)),null},Q.dd=function(e){return-1},Q.dc=function(){return!0},Q.Kc=function(){return this.a},Q.ed=function(){return this.a},Q.fd=function(e){return this.a},Q.Ti=function(e,t){return Nue()},Q.Ui=function(e,t){Pue()},Q.Lc=function(){return new jx(null,new wT(this,16))},Q.gd=function(e){return Fue()},Q.Mc=function(e){return Iue()},Q.hd=function(e,t){return Lue()},Q.gc=function(){return 0},Q.jd=function(e){Vk(this,e)},Q.Nc=function(){return new wT(this,16)},Q.Oc=function(){return new jx(null,new wT(this,16))},Q.kd=function(e,t){return lw(),new hT(yY,e,t)},Q.Pc=function(){return LTe((lw(),yY))},Q.Qc=function(e){return lw(),eF(yY,e)},R(rq,`ECollections/EmptyUnmodifiableEList`,1346),q(1347,783,{20:1,16:1,15:1,61:1,597:1},vp),Q.bd=function(e,t){Oue()},Q.Fc=function(e){return kue()},Q.cd=function(e,t){return Aue()},Q.Gc=function(e){return jue()},Q.$b=function(){Mue()},Q.Hc=function(e){return!1},Q.Ic=function(e){return!1},Q.Jc=function(e){TE(this,e)},Q.Xb=function(e){return wme((lw(),e)),null},Q.dd=function(e){return-1},Q.dc=function(){return!0},Q.Kc=function(){return this.a},Q.ed=function(){return this.a},Q.fd=function(e){return this.a},Q.Ti=function(e,t){return Nue()},Q.Ui=function(e,t){Pue()},Q.Lc=function(){return new jx(null,new wT(this,16))},Q.gd=function(e){return Fue()},Q.Mc=function(e){return Iue()},Q.hd=function(e,t){return Lue()},Q.gc=function(){return 0},Q.jd=function(e){Vk(this,e)},Q.Nc=function(){return new wT(this,16)},Q.Oc=function(){return new jx(null,new wT(this,16))},Q.kd=function(e,t){return lw(),new hT(yY,e,t)},Q.Pc=function(){return LTe((lw(),yY))},Q.Qc=function(e){return lw(),eF(yY,e)},Q.bk=function(){return lw(),lw(),bY},R(rq,`ECollections/EmptyUnmodifiableEMap`,1347);var bVt=xx(rq,`Enumerator`),T7;q(288,1,{288:1},Xnt),Q.Fb=function(e){var t;return this===e?!0:N(e,288)?(t=F(e,288),this.f==t.f&&rTe(this.i,t.i)&&Px(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&Px(this.d,t.d)&&Px(this.g,t.g)&&Px(this.e,t.e)&&WXe(this,t)):!1},Q.Hb=function(){return this.f},Q.Ib=function(){return cat(this)},Q.f=0;var xVt=0,SVt=0,CVt=0,wVt=0,TVt=0,EVt=0,DVt=0,OVt=0,kVt=0,AVt,E7=0,D7=0,jVt=0,MVt=0,O7,NVt;R(rq,`URI`,288),q(1121,45,eH,yp),Q.zc=function(e,t){return F(iT(this,eb(e),F(t,288)),288)},R(rq,`URI/URICache`,1121),q(506,66,hq,Ro,Vx),Q.Si=function(){return!0},R(rq,`UniqueEList`,506),q(590,63,eV,WD),R(rq,`WrappedException`,590);var k7=xx(MK,bbt),A7=xx(MK,xbt),j7=xx(MK,Sbt),M7=xx(MK,Cbt),N7=xx(MK,wbt),P7=xx(MK,`EClass`),F7=xx(MK,`EDataType`),PVt;q(1233,45,eH,bp),Q.xc=function(e){return B_(e)?Iw(this,e):z_(Wx(this.f,e))},R(MK,`EDataType/Internal/ConversionDelegate/Factory/Registry/Impl`,1233);var I7=xx(MK,`EEnum`),L7=xx(MK,Tbt),R7=xx(MK,Ebt),z7=xx(MK,Dbt),B7,V7=xx(MK,Obt),H7=xx(MK,kbt);q(1042,1,{},Lo),Q.Ib=function(){return`NIL`},R(MK,`EStructuralFeature/Internal/DynamicValueHolder/1`,1042);var FVt;q(1041,45,eH,Zse),Q.xc=function(e){return B_(e)?Iw(this,e):z_(Wx(this.f,e))},R(MK,`EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl`,1041);var U7=xx(MK,Abt),W7=xx(MK,`EValidator/PatternMatcher`),IVt,LVt,G7,K7,q7,J7,RVt,zVt,BVt,Y7,X7,Z7,Q7,$7,VVt,HVt,e9,t9,UVt,n9,r9,i9,a9,WVt,GVt,o9,s9=xx(Tq,`FeatureMap/Entry`);q(545,1,{76:1},I_),Q.Lk=function(){return this.a},Q.md=function(){return this.b},R(zK,`BasicEObjectImpl/1`,545),q(1040,1,jbt,cme),Q.Fk=function(e){return BE(this.a,this.b,e)},Q.Qj=function(){return BAe(this.a,this.b)},Q.Wb=function(e){zAe(this.a,this.b,e)},Q.Gk=function(){PDe(this.a,this.b)},R(zK,`BasicEObjectImpl/4`,1040),q(2081,1,{114:1}),Q.Mk=function(e){this.e=e==0?KVt:H(MJ,gB,1,e,5,1)},Q.li=function(e){return this.e[e]},Q.mi=function(e,t){this.e[e]=t},Q.ni=function(e){this.e[e]=null},Q.Nk=function(){return this.c},Q.Ok=function(){throw O(new Df)},Q.Pk=function(){throw O(new Df)},Q.Qk=function(){return this.d},Q.Rk=function(){return this.e!=null},Q.Sk=function(e){this.c=e},Q.Tk=function(e){throw O(new Df)},Q.Uk=function(e){throw O(new Df)},Q.Vk=function(e){this.d=e};var KVt;R(zK,`BasicEObjectImpl/EPropertiesHolderBaseImpl`,2081),q(192,2081,{114:1},Mc),Q.Ok=function(){return this.a},Q.Pk=function(){return this.b},Q.Tk=function(e){this.a=e},Q.Uk=function(e){this.b=e},R(zK,`BasicEObjectImpl/EPropertiesHolderImpl`,192),q(516,99,lyt,Go),Q.uh=function(){return this.f},Q.zh=function(){return this.k},Q.Bh=function(e,t){this.g=e,this.i=t},Q.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},Q.Fh=function(){return this.i},Q.wh=function(){return(this.j&1)!=0},Q.Ph=function(){return this.g},Q.Vh=function(){return(this.j&4)!=0},Q.$h=function(){return!this.k&&(this.k=new Mc),this.k},Q.ci=function(e){this.$h().Sk(e),e?this.j|=2:this.j&=-3},Q.ei=function(e){this.$h().Uk(e),e?this.j|=4:this.j&=-5},Q.ii=function(){return(cC(),G7).S},Q.i=0,Q.j=1,R(zK,`EObjectImpl`,516),q(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},qCe),Q.li=function(e){return this.e[e]},Q.mi=function(e,t){this.e[e]=t},Q.ni=function(e){this.e[e]=null},Q.Dh=function(){return this.d},Q.Ih=function(e){return _N(this.d,e)},Q.Kh=function(){return this.d},Q.Oh=function(){return this.e!=null},Q.$h=function(){return!this.k&&(this.k=new Ko),this.k},Q.ci=function(e){this.d=e},Q.hi=function(){var e;return this.e??=(e=uC(this.d),e==0?qVt:H(MJ,gB,1,e,5,1)),this},Q.ji=function(){return 0};var qVt;R(zK,`DynamicEObjectImpl`,798),q(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},Swe),Q.Fb=function(e){return this===e},Q.Hb=function(){return Ey(this)},Q.ci=function(e){this.d=e,this.b=WL(e,`key`),this.c=WL(e,JK)},Q.Bi=function(){var e;return this.a==-1&&(e=nO(this,this.b),this.a=e==null?0:Wk(e)),this.a},Q.ld=function(){return nO(this,this.b)},Q.md=function(){return nO(this,this.c)},Q.Ci=function(e){this.a=e},Q.Di=function(e){zAe(this,this.b,e)},Q.nd=function(e){var t=nO(this,this.c);return zAe(this,this.c,e),t},Q.a=0,R(zK,`DynamicEObjectImpl/BasicEMapEntry`,1522),q(1523,1,{114:1},Ko),Q.Mk=function(e){throw O(new Df)},Q.li=function(e){throw O(new Df)},Q.mi=function(e,t){throw O(new Df)},Q.ni=function(e){throw O(new Df)},Q.Nk=function(){throw O(new Df)},Q.Ok=function(){return this.a},Q.Pk=function(){return this.b},Q.Qk=function(){return this.c},Q.Rk=function(){throw O(new Df)},Q.Sk=function(e){throw O(new Df)},Q.Tk=function(e){this.a=e},Q.Uk=function(e){this.b=e},Q.Vk=function(e){this.c=e},R(zK,`DynamicEObjectImpl/DynamicEPropertiesHolderImpl`,1523),q(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},qo),Q.Ah=function(e){return N$e(this,e)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new Xy((iB(),a9),u9,this)),this.b):(!this.b&&(this.b=new Xy((iB(),a9),u9,this)),uD(this.b));case 3:return ZAe(this);case 4:return!this.a&&(this.a=new ny(W5,this,4)),this.a;case 5:return!this.c&&(this.c=new ay(W5,this,5)),this.c}return ND(this,e-uC((iB(),K7)),CO((r=F(EA(this,16),29),r||K7),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 3:return this.Cb&&(n=(i=this.Db>>16,i>=0?N$e(this,n):this.Cb.Th(this,-1-i,null,n))),NTe(this,F(e,155),n)}return a=F(CO((r=F(EA(this,16),29),r||(iB(),K7)),t),69),a.wk().zk(this,KN(this),t-uC((iB(),K7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 2:return!this.b&&(this.b=new Xy((iB(),a9),u9,this)),Ab(this.b,e,n);case 3:return NTe(this,null,n);case 4:return!this.a&&(this.a=new ny(W5,this,4)),OP(this.a,e,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),K7)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),K7)),e,n)},Q.Wh=function(e){var t;switch(e){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!!ZAe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return iE(this,e-uC((iB(),K7)),CO((t=F(EA(this,16),29),t||K7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:Owe(this,eb(t));return;case 2:!this.b&&(this.b=new Xy((iB(),a9),u9,this)),pA(this.b,t);return;case 3:Ret(this,F(t,155));return;case 4:!this.a&&(this.a=new ny(W5,this,4)),Cz(this.a),!this.a&&(this.a=new ny(W5,this,4)),YS(this.a,F(t,16));return;case 5:!this.c&&(this.c=new ay(W5,this,5)),Cz(this.c),!this.c&&(this.c=new ay(W5,this,5)),YS(this.c,F(t,16));return}sN(this,e-uC((iB(),K7)),CO((n=F(EA(this,16),29),n||K7),e),t)},Q.ii=function(){return iB(),K7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:jVe(this,null);return;case 2:!this.b&&(this.b=new Xy((iB(),a9),u9,this)),this.b.c.$b();return;case 3:Ret(this,null);return;case 4:!this.a&&(this.a=new ny(W5,this,4)),Cz(this.a);return;case 5:!this.c&&(this.c=new ay(W5,this,5)),Cz(this.c);return}SM(this,e-uC((iB(),K7)),CO((t=F(EA(this,16),29),t||K7),e))},Q.Ib=function(){return YKe(this)},Q.d=null,R(zK,`EAnnotationImpl`,519),q(141,721,Mbt,xD),Q.Gi=function(e,t){Phe(this,e,F(t,44))},Q.Wk=function(e,t){return jbe(this,F(e,44),t)},Q.$i=function(e){return F(F(this.c,71).$i(e),136)},Q.Ii=function(){return F(this.c,71).Ii()},Q.Ji=function(){return F(this.c,71).Ji()},Q.Ki=function(e){return F(this.c,71).Ki(e)},Q.Xk=function(e,t){return Ab(this,e,t)},Q.Fk=function(e){return F(this.c,79).Fk(e)},Q.ak=function(){},Q.Qj=function(){return F(this.c,79).Qj()},Q.ck=function(e,t,n){var r=F(IO(this.b).wi().si(this.b),136);return r.Ci(e),r.Di(t),r.nd(n),r},Q.dk=function(){return new Kd(this)},Q.Wb=function(e){pA(this,e)},Q.Gk=function(){F(this.c,79).Gk()},R(Tq,`EcoreEMap`,141),q(165,141,Mbt,Xy),Q._j=function(){var e,t,n,r,i,a;if(this.d==null){for(a=H(hVt,gbt,66,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)t=F(n.Yj(),136),r=t.Bi(),i=(r&dB)%a.length,e=a[i],!e&&(e=a[i]=new Kd(this)),e.Fc(t);this.d=a}},R(zK,`EAnnotationImpl/1`,165),q(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}),Q.Lh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Oy(),!!(this.Bb&256);case 3:return Oy(),!!(this.Bb&512);case 4:return dM(this.s);case 5:return dM(this.t);case 6:return Oy(),!!this.Jk();case 7:return Oy(),i=this.s,i>=1;case 8:return t?OF(this):this.r;case 9:return this.q}return ND(this,e-uC(this.ii()),CO((r=F(EA(this,16),29),r||this.ii()),e),t,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 9:return XS(this,n)}return i=F(CO((r=F(EA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,KN(this),t-uC(this.ii()),e,n)},Q.Wh=function(e){var t,n;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&_C(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_C(this.q).i==0)}return iE(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:this.ui(eb(t));return;case 2:CM(this,Bp($y(t)));return;case 3:TM(this,Bp($y(t)));return;case 4:ek(this,F(t,17).a);return;case 5:this.Zk(F(t,17).a);return;case 8:Qj(this,F(t,142));return;case 9:r=iI(this,F(t,89),null),r&&r.oj();return}sN(this,e-uC(this.ii()),CO((n=F(EA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return iB(),GVt},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:this.ui(null);return;case 2:CM(this,!0);return;case 3:TM(this,!0);return;case 4:ek(this,0);return;case 5:this.Zk(1);return;case 8:Qj(this,null);return;case 9:n=iI(this,null,null),n&&n.oj();return}SM(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.pi=function(){OF(this),this.Bb|=1},Q.Hk=function(){return OF(this)},Q.Ik=function(){return this.t},Q.Jk=function(){var e;return e=this.t,e>1||e==-1},Q.Si=function(){return(this.Bb&512)!=0},Q.Yk=function(e,t){return VKe(this,e,t)},Q.Zk=function(e){tk(this,e)},Q.Ib=function(){return O5e(this)},Q.s=0,Q.t=1,R(zK,`ETypedElementImpl`,292),q(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}),Q.Ah=function(e){return i$e(this,e)},Q.Lh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Oy(),!!(this.Bb&256);case 3:return Oy(),!!(this.Bb&512);case 4:return dM(this.s);case 5:return dM(this.t);case 6:return Oy(),!!this.Jk();case 7:return Oy(),i=this.s,i>=1;case 8:return t?OF(this):this.r;case 9:return this.q;case 10:return Oy(),(this.Bb&GB)!=0;case 11:return Oy(),(this.Bb&Dq)!=0;case 12:return Oy(),(this.Bb&VV)!=0;case 13:return this.j;case 14:return FL(this);case 15:return Oy(),(this.Bb&Eq)!=0;case 16:return Oy(),(this.Bb&AB)!=0;case 17:return eT(this)}return ND(this,e-uC(this.ii()),CO((r=F(EA(this,16),29),r||this.ii()),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 17:return this.Cb&&(n=(i=this.Db>>16,i>=0?i$e(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,17,n)}return a=F(CO((r=F(EA(this,16),29),r||this.ii()),t),69),a.wk().zk(this,KN(this),t-uC(this.ii()),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 9:return XS(this,n);case 17:return MR(this,null,17,n)}return i=F(CO((r=F(EA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,KN(this),t-uC(this.ii()),e,n)},Q.Wh=function(e){var t,n;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&_C(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_C(this.q).i==0);case 10:return(this.Bb&GB)==0;case 11:return(this.Bb&Dq)!=0;case 12:return(this.Bb&VV)!=0;case 13:return this.j!=null;case 14:return FL(this)!=null;case 15:return(this.Bb&Eq)!=0;case 16:return(this.Bb&AB)!=0;case 17:return!!eT(this)}return iE(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:fT(this,eb(t));return;case 2:CM(this,Bp($y(t)));return;case 3:TM(this,Bp($y(t)));return;case 4:ek(this,F(t,17).a);return;case 5:this.Zk(F(t,17).a);return;case 8:Qj(this,F(t,142));return;case 9:r=iI(this,F(t,89),null),r&&r.oj();return;case 10:FM(this,Bp($y(t)));return;case 11:RM(this,Bp($y(t)));return;case 12:IM(this,Bp($y(t)));return;case 13:rme(this,eb(t));return;case 15:LM(this,Bp($y(t)));return;case 16:WM(this,Bp($y(t)));return}sN(this,e-uC(this.ii()),CO((n=F(EA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return iB(),WVt},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:N(this.Cb,90)&&GI(NE(F(this.Cb,90)),4),Gk(this,null);return;case 2:CM(this,!0);return;case 3:TM(this,!0);return;case 4:ek(this,0);return;case 5:this.Zk(1);return;case 8:Qj(this,null);return;case 9:n=iI(this,null,null),n&&n.oj();return;case 10:FM(this,!0);return;case 11:RM(this,!1);return;case 12:IM(this,!1);return;case 13:this.i=null,jk(this,null);return;case 15:LM(this,!1);return;case 16:WM(this,!1);return}SM(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.pi=function(){HC(YD((FI(),f9),this)),OF(this),this.Bb|=1},Q.pk=function(){return this.f},Q.ik=function(){return FL(this)},Q.qk=function(){return eT(this)},Q.uk=function(){return null},Q.$k=function(){return this.k},Q.Lj=function(){return this.n},Q.vk=function(){return GF(this)},Q.wk=function(){var e,t,n,r,i,a,o,s,c;return this.p||(n=eT(this),(n.i??WR(n),n.i).length,r=this.uk(),r&&uC(eT(r)),i=OF(this),o=i.kk(),e=o?o.i&1?o==J9?eY:o==q9?aY:o==Q9?iY:o==Z9?rY:o==Y9?oY:o==$9?cY:o==X9?tY:nY:o:null,t=FL(this),s=i.ik(),eJe(this),(this.Bb&AB)!=0&&((a=j1e((FI(),f9),n))&&a!=this||(a=AT(YD(f9,this))))?this.p=new ume(this,a):this.Jk()?this.al()?r?(this.Bb&Eq)==0?e?this.bl()?this.p=new tw(49,e,this,r):this.p=new tw(7,e,this,r):this.bl()?this.p=new _E(48,this,r):this.p=new _E(6,this,r):e?this.bl()?this.p=new tw(47,e,this,r):this.p=new tw(5,e,this,r):this.bl()?this.p=new _E(46,this,r):this.p=new _E(4,this,r):(this.Bb&Eq)==0?e?e==LJ?this.p=new Xb(41,fVt,this):this.bl()?this.p=new Xb(45,e,this):this.p=new Xb(3,e,this):this.bl()?this.p=new Cw(44,this):this.p=new Cw(2,this):e?e==LJ?this.p=new Xb(50,fVt,this):this.bl()?this.p=new Xb(43,e,this):this.p=new Xb(1,e,this):this.bl()?this.p=new Cw(42,this):this.p=new Cw(0,this):N(i,156)?e==s9?this.p=new Cw(40,this):this.Bb&512?(this.Bb&Eq)==0?e?this.p=new Xb(11,e,this):this.p=new Cw(10,this):e?this.p=new Xb(9,e,this):this.p=new Cw(8,this):(this.Bb&Eq)==0?e?this.p=new Xb(15,e,this):this.p=new Cw(14,this):e?this.p=new Xb(13,e,this):this.p=new Cw(12,this):r?(c=r.t,c>1||c==-1?this.bl()?(this.Bb&Eq)==0?e?this.p=new tw(27,e,this,r):this.p=new _E(26,this,r):e?this.p=new tw(25,e,this,r):this.p=new _E(24,this,r):(this.Bb&Eq)==0?e?this.p=new tw(31,e,this,r):this.p=new _E(30,this,r):e?this.p=new tw(29,e,this,r):this.p=new _E(28,this,r):this.bl()?(this.Bb&Eq)==0?e?this.p=new tw(35,e,this,r):this.p=new _E(34,this,r):e?this.p=new tw(33,e,this,r):this.p=new _E(32,this,r):(this.Bb&Eq)==0?e?this.p=new tw(39,e,this,r):this.p=new _E(38,this,r):e?this.p=new tw(37,e,this,r):this.p=new _E(36,this,r)):this.bl()?(this.Bb&Eq)==0?e?this.p=new Xb(19,e,this):this.p=new Cw(18,this):e?this.p=new Xb(17,e,this):this.p=new Cw(16,this):(this.Bb&Eq)==0?e?this.p=new Xb(23,e,this):this.p=new Cw(22,this):e?this.p=new Xb(21,e,this):this.p=new Cw(20,this):this._k()?this.bl()?this.p=new aCe(F(i,29),this,r):this.p=new _Ae(F(i,29),this,r):N(i,156)?e==s9?this.p=new Cw(40,this):(this.Bb&Eq)==0?e?this.p=new ATe(t,s,this,(wN(),o==q9?aHt:o==J9?eHt:o==Y9?oHt:o==Q9?iHt:o==Z9?rHt:o==$9?cHt:o==X9?tHt:o==K9?nHt:sHt)):this.p=new HOe(F(i,156),t,s,this):e?this.p=new jTe(t,s,this,(wN(),o==q9?aHt:o==J9?eHt:o==Y9?oHt:o==Q9?iHt:o==Z9?rHt:o==$9?cHt:o==X9?tHt:o==K9?nHt:sHt)):this.p=new UOe(F(i,156),t,s,this):this.al()?r?(this.Bb&Eq)==0?this.bl()?this.p=new cCe(F(i,29),this,r):this.p=new Zb(F(i,29),this,r):this.bl()?this.p=new uCe(F(i,29),this,r):this.p=new lCe(F(i,29),this,r):(this.Bb&Eq)==0?this.bl()?this.p=new Cve(F(i,29),this):this.p=new Zy(F(i,29),this):this.bl()?this.p=new Eve(F(i,29),this):this.p=new wve(F(i,29),this):this.bl()?r?(this.Bb&Eq)==0?this.p=new oCe(F(i,29),this,r):this.p=new dCe(F(i,29),this,r):(this.Bb&Eq)==0?this.p=new Tve(F(i,29),this):this.p=new Dve(F(i,29),this):r?(this.Bb&Eq)==0?this.p=new sCe(F(i,29),this,r):this.p=new fCe(F(i,29),this,r):(this.Bb&Eq)==0?this.p=new zx(F(i,29),this):this.p=new Ove(F(i,29),this)),this.p},Q.rk=function(){return(this.Bb&GB)!=0},Q._k=function(){return!1},Q.al=function(){return!1},Q.sk=function(){return(this.Bb&AB)!=0},Q.xk=function(){return cO(this)},Q.bl=function(){return!1},Q.tk=function(){return(this.Bb&Eq)!=0},Q.cl=function(e){this.k=e},Q.ui=function(e){fT(this,e)},Q.Ib=function(){return uR(this)},Q.e=!1,Q.n=0,R(zK,`EStructuralFeatureImpl`,462),q(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},xp),Q.Lh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Oy(),!!(this.Bb&256);case 3:return Oy(),!!(this.Bb&512);case 4:return dM(this.s);case 5:return dM(this.t);case 6:return Oy(),!!N8e(this);case 7:return Oy(),i=this.s,i>=1;case 8:return t?OF(this):this.r;case 9:return this.q;case 10:return Oy(),(this.Bb&GB)!=0;case 11:return Oy(),(this.Bb&Dq)!=0;case 12:return Oy(),(this.Bb&VV)!=0;case 13:return this.j;case 14:return FL(this);case 15:return Oy(),(this.Bb&Eq)!=0;case 16:return Oy(),(this.Bb&AB)!=0;case 17:return eT(this);case 18:return Oy(),(this.Bb&RK)!=0;case 19:return t?GA(this):RIe(this)}return ND(this,e-uC((iB(),q7)),CO((r=F(EA(this,16),29),r||q7),e),t,n)},Q.Wh=function(e){var t,n;switch(e){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 N8e(this);case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&_C(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_C(this.q).i==0);case 10:return(this.Bb&GB)==0;case 11:return(this.Bb&Dq)!=0;case 12:return(this.Bb&VV)!=0;case 13:return this.j!=null;case 14:return FL(this)!=null;case 15:return(this.Bb&Eq)!=0;case 16:return(this.Bb&AB)!=0;case 17:return!!eT(this);case 18:return(this.Bb&RK)!=0;case 19:return!!RIe(this)}return iE(this,e-uC((iB(),q7)),CO((t=F(EA(this,16),29),t||q7),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:fT(this,eb(t));return;case 2:CM(this,Bp($y(t)));return;case 3:TM(this,Bp($y(t)));return;case 4:ek(this,F(t,17).a);return;case 5:Xle(this,F(t,17).a);return;case 8:Qj(this,F(t,142));return;case 9:r=iI(this,F(t,89),null),r&&r.oj();return;case 10:FM(this,Bp($y(t)));return;case 11:RM(this,Bp($y(t)));return;case 12:IM(this,Bp($y(t)));return;case 13:rme(this,eb(t));return;case 15:LM(this,Bp($y(t)));return;case 16:WM(this,Bp($y(t)));return;case 18:Uqe(this,Bp($y(t)));return}sN(this,e-uC((iB(),q7)),CO((n=F(EA(this,16),29),n||q7),e),t)},Q.ii=function(){return iB(),q7},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:N(this.Cb,90)&&GI(NE(F(this.Cb,90)),4),Gk(this,null);return;case 2:CM(this,!0);return;case 3:TM(this,!0);return;case 4:ek(this,0);return;case 5:this.b=0,tk(this,1);return;case 8:Qj(this,null);return;case 9:n=iI(this,null,null),n&&n.oj();return;case 10:FM(this,!0);return;case 11:RM(this,!1);return;case 12:IM(this,!1);return;case 13:this.i=null,jk(this,null);return;case 15:LM(this,!1);return;case 16:WM(this,!1);return;case 18:Uqe(this,!1);return}SM(this,e-uC((iB(),q7)),CO((t=F(EA(this,16),29),t||q7),e))},Q.pi=function(){GA(this),HC(YD((FI(),f9),this)),OF(this),this.Bb|=1},Q.Jk=function(){return N8e(this)},Q.Yk=function(e,t){return this.b=0,this.a=null,VKe(this,e,t)},Q.Zk=function(e){Xle(this,e)},Q.Ib=function(){var e;return this.Db&64?uR(this):(e=new hy(uR(this)),e.a+=` (iD: `,Um(e,(this.Bb&RK)!=0),e.a+=`)`,e.a)},Q.b=0,R(zK,`EAttributeImpl`,331),q(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}),Q.dl=function(e){return e.Dh()==this},Q.Ah=function(e){return fF(this,e)},Q.Bh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return lF(this);case 4:return this.ik();case 5:return this.F;case 6:return t?IO(this):Qw(this);case 7:return!this.A&&(this.A=new iy(U7,this,7)),this.A}return ND(this,e-uC(this.ii()),CO((r=F(EA(this,16),29),r||this.ii()),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?fF(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,6,n)}return a=F(CO((r=F(EA(this,16),29),r||this.ii()),t),69),a.wk().zk(this,KN(this),t-uC(this.ii()),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 6:return MR(this,null,6,n);case 7:return!this.A&&(this.A=new iy(U7,this,7)),OP(this.A,e,n)}return i=F(CO((r=F(EA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,KN(this),t-uC(this.ii()),e,n)},Q.Wh=function(e){var t;switch(e){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!!lF(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Qw(this);case 7:return!!this.A&&this.A.i!=0}return iE(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:dT(this,eb(t));return;case 2:xv(this,eb(t));return;case 5:Mz(this,eb(t));return;case 7:!this.A&&(this.A=new iy(U7,this,7)),Cz(this.A),!this.A&&(this.A=new iy(U7,this,7)),YS(this.A,F(t,16));return}sN(this,e-uC(this.ii()),CO((n=F(EA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return iB(),RVt},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),Gk(this,null);return;case 2:Rj(this,null),rk(this,this.D);return;case 5:Mz(this,null);return;case 7:!this.A&&(this.A=new iy(U7,this,7)),Cz(this.A);return}SM(this,e-uC(this.ii()),CO((t=F(EA(this,16),29),t||this.ii()),e))},Q.hk=function(){var e;return this.G==-1&&(this.G=(e=IO(this),e?jP(e.vi(),this):-1)),this.G},Q.ik=function(){return null},Q.jk=function(){return IO(this)},Q.el=function(){return this.v},Q.kk=function(){return lF(this)},Q.lk=function(){return this.D==null?this.B:this.D},Q.mk=function(){return this.F},Q.fk=function(e){return LR(this,e)},Q.fl=function(e){this.v=e},Q.gl=function(e){fHe(this,e)},Q.hl=function(e){this.C=e},Q.ui=function(e){dT(this,e)},Q.Ib=function(){return yN(this)},Q.C=null,Q.D=null,Q.G=-1,R(zK,`EClassifierImpl`,364),q(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},kie),Q.dl=function(e){return Gye(this,e.Dh())},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return lF(this);case 4:return null;case 5:return this.F;case 6:return t?IO(this):Qw(this);case 7:return!this.A&&(this.A=new iy(U7,this,7)),this.A;case 8:return Oy(),!!(this.Bb&256);case 9:return Oy(),!!(this.Bb&512);case 10:return Dw(this);case 11:return!this.q&&(this.q=new I(z7,this,11,10)),this.q;case 12:return az(this);case 13:return tz(this);case 14:return tz(this),this.r;case 15:return az(this),this.k;case 16:return i6e(this);case 17:return ZR(this);case 18:return WR(this);case 19:return jL(this);case 20:return az(this),this.o;case 21:return!this.s&&(this.s=new I(j7,this,21,17)),this.s;case 22:return uE(this);case 23:return Pnt(this)}return ND(this,e-uC((iB(),J7)),CO((r=F(EA(this,16),29),r||J7),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?fF(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,6,n);case 11:return!this.q&&(this.q=new I(z7,this,11,10)),ON(this.q,e,n);case 21:return!this.s&&(this.s=new I(j7,this,21,17)),ON(this.s,e,n)}return a=F(CO((r=F(EA(this,16),29),r||(iB(),J7)),t),69),a.wk().zk(this,KN(this),t-uC((iB(),J7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 6:return MR(this,null,6,n);case 7:return!this.A&&(this.A=new iy(U7,this,7)),OP(this.A,e,n);case 11:return!this.q&&(this.q=new I(z7,this,11,10)),OP(this.q,e,n);case 21:return!this.s&&(this.s=new I(j7,this,21,17)),OP(this.s,e,n);case 22:return OP(uE(this),e,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),J7)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),J7)),e,n)},Q.Wh=function(e){var t;switch(e){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!!lF(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Qw(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&&uE(this.u.a).i!=0&&!(this.n&&KP(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return az(this).i!=0;case 13:return tz(this).i!=0;case 14:return tz(this),this.r.i!=0;case 15:return az(this),this.k.i!=0;case 16:return i6e(this).i!=0;case 17:return ZR(this).i!=0;case 18:return WR(this).i!=0;case 19:return jL(this).i!=0;case 20:return az(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&KP(this.n);case 23:return Pnt(this).i!=0}return iE(this,e-uC((iB(),J7)),CO((t=F(EA(this,16),29),t||J7),e))},Q.Zh=function(e){return(this.i==null||this.q&&this.q.i!=0?null:WL(this,e))||fdt(this,e)},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:dT(this,eb(t));return;case 2:xv(this,eb(t));return;case 5:Mz(this,eb(t));return;case 7:!this.A&&(this.A=new iy(U7,this,7)),Cz(this.A),!this.A&&(this.A=new iy(U7,this,7)),YS(this.A,F(t,16));return;case 8:$Ke(this,Bp($y(t)));return;case 9:eqe(this,Bp($y(t)));return;case 10:wz(Dw(this)),YS(Dw(this),F(t,16));return;case 11:!this.q&&(this.q=new I(z7,this,11,10)),Cz(this.q),!this.q&&(this.q=new I(z7,this,11,10)),YS(this.q,F(t,16));return;case 21:!this.s&&(this.s=new I(j7,this,21,17)),Cz(this.s),!this.s&&(this.s=new I(j7,this,21,17)),YS(this.s,F(t,16));return;case 22:Cz(uE(this)),YS(uE(this),F(t,16));return}sN(this,e-uC((iB(),J7)),CO((n=F(EA(this,16),29),n||J7),e),t)},Q.ii=function(){return iB(),J7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),Gk(this,null);return;case 2:Rj(this,null),rk(this,this.D);return;case 5:Mz(this,null);return;case 7:!this.A&&(this.A=new iy(U7,this,7)),Cz(this.A);return;case 8:$Ke(this,!1);return;case 9:eqe(this,!1);return;case 10:this.u&&wz(this.u);return;case 11:!this.q&&(this.q=new I(z7,this,11,10)),Cz(this.q);return;case 21:!this.s&&(this.s=new I(j7,this,21,17)),Cz(this.s);return;case 22:this.n&&Cz(this.n);return}SM(this,e-uC((iB(),J7)),CO((t=F(EA(this,16),29),t||J7),e))},Q.pi=function(){var e,t;if(az(this),tz(this),i6e(this),ZR(this),WR(this),jL(this),Pnt(this),HE(yCe(NE(this))),this.s)for(e=0,t=this.s.i;e=0;--t)U(this,t);return iYe(this,e)},Q.Gk=function(){Cz(this)},Q.Zi=function(e,t){return RBe(this,e,t)},R(Tq,`EcoreEList`,632),q(505,632,Iq,lx),Q.Li=function(){return!1},Q.Lj=function(){return this.c},Q.Mj=function(){return!1},Q.ol=function(){return!0},Q.Si=function(){return!0},Q.Wi=function(e,t){return t},Q.Yi=function(){return!1},Q.c=0,R(Tq,`EObjectEList`,505),q(83,505,Iq,ny),Q.Mj=function(){return!0},Q.ml=function(){return!1},Q.al=function(){return!0},R(Tq,`EObjectContainmentEList`,83),q(555,83,Iq,ry),Q.Ni=function(){this.b=!0},Q.Qj=function(){return this.b},Q.Gk=function(){var e;Cz(this),_v(this.e)?(e=this.b,this.b=!1,CA(this.e,new PE(this.e,2,this.c,e,!1))):this.b=!1},Q.b=!1,R(Tq,`EObjectContainmentEList/Unsettable`,555),q(1161,555,Iq,OTe),Q.Ti=function(e,t){var n,r;return n=F(PM(this,e,t),89),_v(this.e)&&Lf(this,new CD(this.a,7,(iB(),zVt),dM(t),(r=n.c,N(r,90)?F(r,29):e9),e)),n},Q.Uj=function(e,t){return pYe(this,F(e,89),t)},Q.Vj=function(e,t){return fYe(this,F(e,89),t)},Q.Wj=function(e,t,n){return G1e(this,F(e,89),F(t,89),n)},Q.Ij=function(e,t,n,r,i){switch(e){case 3:return rT(this,e,t,n,r,this.i>1);case 5:return rT(this,e,t,n,r,this.i-F(n,15).gc()>0);default:return new QD(this.e,e,this.c,t,n,r,!0)}},Q.Tj=function(){return!0},Q.Qj=function(){return KP(this)},Q.Gk=function(){Cz(this)},R(zK,`EClassImpl/1`,1161),q(1175,1174,fbt),Q.dj=function(e){var t,n=e.gj(),r,i,a,o,s;if(n!=8){if(r=PXe(e),r==0)switch(n){case 1:case 9:s=e.kj(),s!=null&&(t=NE(F(s,482)),!t.c&&(t.c=new cs),uO(t.c,e.jj())),o=e.ij(),o!=null&&(i=F(o,482),i.Bb&1||(t=NE(i),!t.c&&(t.c=new cs),gD(t.c,F(e.jj(),29))));break;case 3:o=e.ij(),o!=null&&(i=F(o,482),i.Bb&1||(t=NE(i),!t.c&&(t.c=new cs),gD(t.c,F(e.jj(),29))));break;case 5:if(o=e.ij(),o!=null)for(a=F(o,16).Kc();a.Ob();)i=F(a.Pb(),482),i.Bb&1||(t=NE(i),!t.c&&(t.c=new cs),gD(t.c,F(e.jj(),29)));break;case 4:s=e.kj(),s!=null&&(i=F(s,482),i.Bb&1||(t=NE(i),!t.c&&(t.c=new cs),uO(t.c,e.jj())));break;case 6:if(s=e.kj(),s!=null)for(a=F(s,16).Kc();a.Ob();)i=F(a.Pb(),482),i.Bb&1||(t=NE(i),!t.c&&(t.c=new cs),uO(t.c,e.jj()));break}this.ql(r)}},Q.ql=function(e){lrt(this,e)},Q.b=63,R(zK,`ESuperAdapter`,1175),q(1176,1175,fbt,Fd),Q.ql=function(e){GI(this,e)},R(zK,`EClassImpl/10`,1176),q(1165,710,Iq),Q.Ei=function(e,t){return rI(this,e,t)},Q.Fi=function(e){return iQe(this,e)},Q.Gi=function(e,t){yM(this,e,t)},Q.Hi=function(e){VE(this,e)},Q.$i=function(e){return lRe(this,e)},Q.Xi=function(e,t){return lO(this,e,t)},Q.Wk=function(e,t){throw O(new Df)},Q.Ii=function(){return new Py(this)},Q.Ji=function(){return new Fy(this)},Q.Ki=function(e){return _k(this,e)},Q.Xk=function(e,t){throw O(new Df)},Q.Fk=function(e){return this},Q.Qj=function(){return this.i!=0},Q.Wb=function(e){throw O(new Df)},Q.Gk=function(){throw O(new Df)},R(Tq,`EcoreEList/UnmodifiableEList`,1165),q(328,1165,Iq,av),Q.Yi=function(){return!1},R(Tq,`EcoreEList/UnmodifiableEList/FastCompare`,328),q(1168,328,Iq,EWe),Q.dd=function(e){var t,n,r;if(N(e,179)&&(t=F(e,179),n=t.Lj(),n!=-1)){for(r=this.i;n4)if(this.fk(e)){if(this.al()){if(r=F(e,54),n=r.Eh(),s=n==this.b&&(this.ml()?r.yh(r.Fh(),F(CO(kw(this.b),this.Lj()).Hk(),29).kk())==HP(F(CO(kw(this.b),this.Lj()),19)).n:-1-r.Fh()==this.Lj()),this.nl()&&!s&&!n&&r.Jh()){for(i=0;i1||r==-1)):!1},Q.ml=function(){var e,t=CO(kw(this.b),this.Lj()),n;return N(t,102)?(e=F(t,19),n=HP(e),!!n):!1},Q.nl=function(){var e,t=CO(kw(this.b),this.Lj());return N(t,102)?(e=F(t,19),(e.Bb&WV)!=0):!1},Q.dd=function(e){var t,n,r=this.zj(e),i;if(r>=0)return r;if(this.ol()){for(n=0,i=this.Ej();n=0;--e)Az(this,e,this.xj(e));return this.Fj()},Q.Qc=function(e){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)Az(this,t,this.xj(t));return this.Gj(e)},Q.Gk=function(){wz(this)},Q.Zi=function(e,t){return uRe(this,e,t)},R(Tq,`DelegatingEcoreEList`,756),q(1171,756,Rbt,fye),Q.qj=function(e,t){hve(this,e,F(t,29))},Q.rj=function(e){Ahe(this,F(e,29))},Q.xj=function(e){var t,n;return t=F(U(uE(this.a),e),89),n=t.c,N(n,90)?F(n,29):(iB(),e9)},Q.Cj=function(e){var t,n;return t=F(tR(uE(this.a),e),89),n=t.c,N(n,90)?F(n,29):(iB(),e9)},Q.Dj=function(e,t){return oQe(this,e,F(t,29))},Q.Li=function(){return!1},Q.Ij=function(e,t,n,r,i){return null},Q.sj=function(){return new Cse(this)},Q.tj=function(){Cz(uE(this.a))},Q.uj=function(e){return nqe(this,e)},Q.vj=function(e){var t,n;for(n=e.Kc();n.Ob();)if(t=n.Pb(),!nqe(this,t))return!1;return!0},Q.wj=function(e){var t,n,r;if(N(e,15)&&(r=F(e,15),r.gc()==uE(this.a).i)){for(t=r.Kc(),n=new cy(this);t.Ob();)if(M(t.Pb())!==M(hP(n)))return!1;return!0}return!1},Q.yj=function(){var e,t,n=1,r,i;for(t=new cy(uE(this.a));t.e!=t.i.gc();)e=F(hP(t),89),r=(i=e.c,N(i,90)?F(i,29):(iB(),e9)),n=31*n+(r?Ey(r):0);return n},Q.zj=function(e){var t,n,r=0,i;for(n=new cy(uE(this.a));n.e!=n.i.gc();){if(t=F(hP(n),89),M(e)===M((i=t.c,N(i,90)?F(i,29):(iB(),e9))))return r;++r}return-1},Q.Aj=function(){return uE(this.a).i==0},Q.Bj=function(){return null},Q.Ej=function(){return uE(this.a).i},Q.Fj=function(){var e,t,n,r,i,a=uE(this.a).i;for(i=H(MJ,gB,1,a,5,1),n=0,t=new cy(uE(this.a));t.e!=t.i.gc();)e=F(hP(t),89),i[n++]=(r=e.c,N(r,90)?F(r,29):(iB(),e9));return i},Q.Gj=function(e){var t,n,r,i,a,o,s=uE(this.a).i;for(e.lengths&&fC(e,s,null),r=0,n=new cy(uE(this.a));n.e!=n.i.gc();)t=F(hP(n),89),a=(o=t.c,N(o,90)?F(o,29):(iB(),e9)),fC(e,r++,a);return e},Q.Hj=function(){var e,t,n,r,i=new cm;for(i.a+=`[`,e=uE(this.a),t=0,r=uE(this.a).i;t>16,i>=0?fF(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,6,n);case 9:return!this.a&&(this.a=new I(L7,this,9,5)),ON(this.a,e,n)}return a=F(CO((r=F(EA(this,16),29),r||(iB(),Y7)),t),69),a.wk().zk(this,KN(this),t-uC((iB(),Y7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 6:return MR(this,null,6,n);case 7:return!this.A&&(this.A=new iy(U7,this,7)),OP(this.A,e,n);case 9:return!this.a&&(this.a=new I(L7,this,9,5)),OP(this.a,e,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),Y7)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),Y7)),e,n)},Q.Wh=function(e){var t;switch(e){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!!lF(this);case 4:return!!IGe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Qw(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 iE(this,e-uC((iB(),Y7)),CO((t=F(EA(this,16),29),t||Y7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:dT(this,eb(t));return;case 2:xv(this,eb(t));return;case 5:Mz(this,eb(t));return;case 7:!this.A&&(this.A=new iy(U7,this,7)),Cz(this.A),!this.A&&(this.A=new iy(U7,this,7)),YS(this.A,F(t,16));return;case 8:wM(this,Bp($y(t)));return;case 9:!this.a&&(this.a=new I(L7,this,9,5)),Cz(this.a),!this.a&&(this.a=new I(L7,this,9,5)),YS(this.a,F(t,16));return}sN(this,e-uC((iB(),Y7)),CO((n=F(EA(this,16),29),n||Y7),e),t)},Q.ii=function(){return iB(),Y7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),Gk(this,null);return;case 2:Rj(this,null),rk(this,this.D);return;case 5:Mz(this,null);return;case 7:!this.A&&(this.A=new iy(U7,this,7)),Cz(this.A);return;case 8:wM(this,!0);return;case 9:!this.a&&(this.a=new I(L7,this,9,5)),Cz(this.a);return}SM(this,e-uC((iB(),Y7)),CO((t=F(EA(this,16),29),t||Y7),e))},Q.pi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?F(this.Cb,685):null}return ND(this,e-uC((iB(),X7)),CO((r=F(EA(this,16),29),r||X7),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 5:return this.Cb&&(n=(i=this.Db>>16,i>=0?j$e(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,5,n)}return a=F(CO((r=F(EA(this,16),29),r||(iB(),X7)),t),69),a.wk().zk(this,KN(this),t-uC((iB(),X7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 5:return MR(this,null,5,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),X7)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),X7)),e,n)},Q.Wh=function(e){var t;switch(e){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&&F(this.Cb,685))}return iE(this,e-uC((iB(),X7)),CO((t=F(EA(this,16),29),t||X7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:Gk(this,eb(t));return;case 2:nk(this,F(t,17).a);return;case 3:c5e(this,F(t,2039));return;case 4:Tk(this,eb(t));return}sN(this,e-uC((iB(),X7)),CO((n=F(EA(this,16),29),n||X7),e),t)},Q.ii=function(){return iB(),X7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:Gk(this,null);return;case 2:nk(this,0);return;case 3:c5e(this,null);return;case 4:Tk(this,null);return}SM(this,e-uC((iB(),X7)),CO((t=F(EA(this,16),29),t||X7),e))},Q.Ib=function(){var e;return e=this.c,e??this.zb},Q.b=null,Q.c=null,Q.d=0,R(zK,`EEnumLiteralImpl`,582);var XVt=xx(zK,`EFactoryImpl/InternalEDateTimeFormat`);q(499,1,{2114:1},Rd),R(zK,`EFactoryImpl/1ClientInternalEDateTimeFormat`,499),q(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},ef),Q.Ch=function(e,t,n){var r;return n=MR(this,e,t,n),this.e&&N(e,179)&&(r=AL(this,this.e),r!=this.c&&(n=Nz(this,r,n))),n},Q.Lh=function(e,t,n){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new ny(R7,this,1)),this.d;case 2:return t?IR(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?YP(this):this.a}return ND(this,e-uC((iB(),Q7)),CO((r=F(EA(this,16),29),r||Q7),e),t,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return bKe(this,null,n);case 1:return!this.d&&(this.d=new ny(R7,this,1)),OP(this.d,e,n);case 3:return xKe(this,null,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),Q7)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),Q7)),e,n)},Q.Wh=function(e){var t;switch(e){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 iE(this,e-uC((iB(),Q7)),CO((t=F(EA(this,16),29),t||Q7),e))},Q.bi=function(e,t){var n;switch(e){case 0:y0e(this,F(t,89));return;case 1:!this.d&&(this.d=new ny(R7,this,1)),Cz(this.d),!this.d&&(this.d=new ny(R7,this,1)),YS(this.d,F(t,16));return;case 3:v0e(this,F(t,89));return;case 4:f4e(this,F(t,850));return;case 5:LO(this,F(t,142));return}sN(this,e-uC((iB(),Q7)),CO((n=F(EA(this,16),29),n||Q7),e),t)},Q.ii=function(){return iB(),Q7},Q.ki=function(e){var t;switch(e){case 0:y0e(this,null);return;case 1:!this.d&&(this.d=new ny(R7,this,1)),Cz(this.d);return;case 3:v0e(this,null);return;case 4:f4e(this,null);return;case 5:LO(this,null);return}SM(this,e-uC((iB(),Q7)),CO((t=F(EA(this,16),29),t||Q7),e))},Q.Ib=function(){var e=new gy(SL(this));return e.a+=` (expression: `,mz(this,e),e.a+=`)`,e.a};var ZVt;R(zK,`EGenericTypeImpl`,248),q(2067,2062,Bq),Q.Gi=function(e,t){aye(this,e,t)},Q.Wk=function(e,t){return aye(this,this.gc(),e),t},Q.$i=function(e){return xP(this.pj(),e)},Q.Ii=function(){return this.Ji()},Q.pj=function(){return new Tse(this)},Q.Ji=function(){return this.Ki(0)},Q.Ki=function(e){return this.pj().fd(e)},Q.Xk=function(e,t){return gN(this,e,!0),t},Q.Ti=function(e,t){var n,r=wF(this,t);return n=this.fd(e),n.Rb(r),r},Q.Ui=function(e,t){var n;gN(this,t,!0),n=this.fd(e),n.Rb(t)},R(Tq,`AbstractSequentialInternalEList`,2067),q(496,2067,Bq,Ay),Q.$i=function(e){return xP(this.pj(),e)},Q.Ii=function(){return this.b==null?(qh(),qh(),l9):this.sl()},Q.pj=function(){return new Pme(this.a,this.b)},Q.Ji=function(){return this.b==null?(qh(),qh(),l9):this.sl()},Q.Ki=function(e){var t,n;if(this.b==null){if(e<0||e>1)throw O(new Up(wq+e+`, size=0`));return qh(),qh(),l9}for(n=this.sl(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.pk()!=G5||t.Lj()!=0)&&(!this.vl()||this.b.Xh(t))){if(a=this.b.Nh(t,this.ul()),this.f=(Yh(),F(t,69).xk()),this.f||t.Jk()){if(this.ul()?(r=F(a,15),this.k=r):(r=F(a,71),this.k=this.j=r),N(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?B3e(this,this.p):T6e(this))return i=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,76),e.Lk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=-3,!0}else if(a!=null)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return i=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,76),e.Lk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=-3,!0}},Q.Pb=function(){return kA(this)},Q.Tb=function(){return this.a},Q.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw O(new Af)},Q.Vb=function(){return this.a-1},Q.Qb=function(){throw O(new Df)},Q.ul=function(){return!1},Q.Wb=function(e){throw O(new Df)},Q.vl=function(){return!0},Q.a=0,Q.d=0,Q.f=!1,Q.g=0,Q.n=0,Q.o=0;var l9;R(Tq,`EContentsEList/FeatureIteratorImpl`,287),q(711,287,Vq,_ve),Q.ul=function(){return!0},R(Tq,`EContentsEList/ResolvingFeatureIteratorImpl`,711),q(1178,711,Vq,vve),Q.vl=function(){return!1},R(zK,`ENamedElementImpl/1/1`,1178),q(1179,287,Vq,yve),Q.vl=function(){return!1},R(zK,`ENamedElementImpl/1/2`,1179),q(39,152,Cq,mE,hE,bS,SD,QD,PE,VBe,zMe,HBe,BMe,tIe,VMe,GBe,HMe,nIe,UMe,UBe,WMe,xS,CD,hw,WBe,GMe,rIe,KMe),Q.Kj=function(){return JLe(this)},Q.Rj=function(){var e=JLe(this);return e?e.ik():null},Q.hj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,e)},Q.jj=function(){return this.c},Q.Sj=function(){var e=JLe(this);return e?e.tk():!1},Q.b=-1,R(zK,`ENotificationImpl`,39),q(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},Sp),Q.Ah=function(e){return W$e(this,e)},Q.Lh=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Oy(),!!(this.Bb&256);case 3:return Oy(),!!(this.Bb&512);case 4:return dM(this.s);case 5:return dM(this.t);case 6:return Oy(),a=this.t,a>1||a==-1;case 7:return Oy(),i=this.s,i>=1;case 8:return t?OF(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?F(this.Cb,29):null;case 11:return!this.d&&(this.d=new iy(U7,this,11)),this.d;case 12:return!this.c&&(this.c=new I(V7,this,12,10)),this.c;case 13:return!this.a&&(this.a=new fb(this,this)),this.a;case 14:return qD(this)}return ND(this,e-uC((iB(),t9)),CO((r=F(EA(this,16),29),r||t9),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?W$e(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,10,n);case 12:return!this.c&&(this.c=new I(V7,this,12,10)),ON(this.c,e,n)}return a=F(CO((r=F(EA(this,16),29),r||(iB(),t9)),t),69),a.wk().zk(this,KN(this),t-uC((iB(),t9)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 9:return XS(this,n);case 10:return MR(this,null,10,n);case 11:return!this.d&&(this.d=new iy(U7,this,11)),OP(this.d,e,n);case 12:return!this.c&&(this.c=new I(V7,this,12,10)),OP(this.c,e,n);case 14:return OP(qD(this),e,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),t9)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),t9)),e,n)},Q.Wh=function(e){var t,n,r;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&_C(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_C(this.q).i==0);case 10:return!!(this.Db>>16==10&&F(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&&qD(this.a.a).i!=0&&!(this.b&&qP(this.b));case 14:return!!this.b&&qP(this.b)}return iE(this,e-uC((iB(),t9)),CO((t=F(EA(this,16),29),t||t9),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:Gk(this,eb(t));return;case 2:CM(this,Bp($y(t)));return;case 3:TM(this,Bp($y(t)));return;case 4:ek(this,F(t,17).a);return;case 5:tk(this,F(t,17).a);return;case 8:Qj(this,F(t,142));return;case 9:r=iI(this,F(t,89),null),r&&r.oj();return;case 11:!this.d&&(this.d=new iy(U7,this,11)),Cz(this.d),!this.d&&(this.d=new iy(U7,this,11)),YS(this.d,F(t,16));return;case 12:!this.c&&(this.c=new I(V7,this,12,10)),Cz(this.c),!this.c&&(this.c=new I(V7,this,12,10)),YS(this.c,F(t,16));return;case 13:!this.a&&(this.a=new fb(this,this)),wz(this.a),!this.a&&(this.a=new fb(this,this)),YS(this.a,F(t,16));return;case 14:Cz(qD(this)),YS(qD(this),F(t,16));return}sN(this,e-uC((iB(),t9)),CO((n=F(EA(this,16),29),n||t9),e),t)},Q.ii=function(){return iB(),t9},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:Gk(this,null);return;case 2:CM(this,!0);return;case 3:TM(this,!0);return;case 4:ek(this,0);return;case 5:tk(this,1);return;case 8:Qj(this,null);return;case 9:n=iI(this,null,null),n&&n.oj();return;case 11:!this.d&&(this.d=new iy(U7,this,11)),Cz(this.d);return;case 12:!this.c&&(this.c=new I(V7,this,12,10)),Cz(this.c);return;case 13:this.a&&wz(this.a);return;case 14:this.b&&Cz(this.b);return}SM(this,e-uC((iB(),t9)),CO((t=F(EA(this,16),29),t||t9),e))},Q.pi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;es&&fC(e,s,null),r=0,n=new cy(qD(this.a));n.e!=n.i.gc();)t=F(hP(n),89),a=(o=t.c,o||(iB(),$7)),fC(e,r++,a);return e},Q.Hj=function(){var e,t,n,r,i=new cm;for(i.a+=`[`,e=qD(this.a),t=0,r=qD(this.a).i;t1);case 5:return rT(this,e,t,n,r,this.i-F(n,15).gc()>0);default:return new QD(this.e,e,this.c,t,n,r,!0)}},Q.Tj=function(){return!0},Q.Qj=function(){return qP(this)},Q.Gk=function(){Cz(this)},R(zK,`EOperationImpl/2`,1377),q(507,1,{2037:1,507:1},lme),R(zK,`EPackageImpl/1`,507),q(14,83,Iq,I),Q.il=function(){return this.d},Q.jl=function(){return this.b},Q.ml=function(){return!0},Q.b=0,R(Tq,`EObjectContainmentWithInverseEList`,14),q(365,14,Iq,Cb),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectContainmentWithInverseEList/Resolving`,365),q(308,365,Iq,CS),Q.Ni=function(){this.a.tb=null},R(zK,`EPackageImpl/2`,308),q(1278,1,{},es),R(zK,`EPackageImpl/3`,1278),q(733,45,eH,Cp),Q._b=function(e){return B_(e)?yw(this,e):!!Wx(this.f,e)},R(zK,`EPackageRegistryImpl`,733),q(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},wp),Q.Ah=function(e){return G$e(this,e)},Q.Lh=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Oy(),!!(this.Bb&256);case 3:return Oy(),!!(this.Bb&512);case 4:return dM(this.s);case 5:return dM(this.t);case 6:return Oy(),a=this.t,a>1||a==-1;case 7:return Oy(),i=this.s,i>=1;case 8:return t?OF(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?F(this.Cb,62):null}return ND(this,e-uC((iB(),r9)),CO((r=F(EA(this,16),29),r||r9),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),ON(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?G$e(this,n):this.Cb.Th(this,-1-i,null,n))),MR(this,e,10,n)}return a=F(CO((r=F(EA(this,16),29),r||(iB(),r9)),t),69),a.wk().zk(this,KN(this),t-uC((iB(),r9)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 9:return XS(this,n);case 10:return MR(this,null,10,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),r9)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),r9)),e,n)},Q.Wh=function(e){var t,n,r;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&_C(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_C(this.q).i==0);case 10:return!!(this.Db>>16==10&&F(this.Cb,62))}return iE(this,e-uC((iB(),r9)),CO((t=F(EA(this,16),29),t||r9),e))},Q.ii=function(){return iB(),r9},R(zK,`EParameterImpl`,518),q(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},zve),Q.Lh=function(e,t,n){var r,i,a,o;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Oy(),!!(this.Bb&256);case 3:return Oy(),!!(this.Bb&512);case 4:return dM(this.s);case 5:return dM(this.t);case 6:return Oy(),o=this.t,o>1||o==-1;case 7:return Oy(),i=this.s,i>=1;case 8:return t?OF(this):this.r;case 9:return this.q;case 10:return Oy(),(this.Bb&GB)!=0;case 11:return Oy(),(this.Bb&Dq)!=0;case 12:return Oy(),(this.Bb&VV)!=0;case 13:return this.j;case 14:return FL(this);case 15:return Oy(),(this.Bb&Eq)!=0;case 16:return Oy(),(this.Bb&AB)!=0;case 17:return eT(this);case 18:return Oy(),(this.Bb&RK)!=0;case 19:return Oy(),a=HP(this),!!(a&&(a.Bb&RK)!=0);case 20:return Oy(),(this.Bb&WV)!=0;case 21:return t?HP(this):this.b;case 22:return t?NWe(this):uIe(this);case 23:return!this.a&&(this.a=new ay(M7,this,23)),this.a}return ND(this,e-uC((iB(),i9)),CO((r=F(EA(this,16),29),r||i9),e),t,n)},Q.Wh=function(e){var t,n,r,i;switch(e){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 i=this.t,i>1||i==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&_C(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&_C(this.q).i==0);case 10:return(this.Bb&GB)==0;case 11:return(this.Bb&Dq)!=0;case 12:return(this.Bb&VV)!=0;case 13:return this.j!=null;case 14:return FL(this)!=null;case 15:return(this.Bb&Eq)!=0;case 16:return(this.Bb&AB)!=0;case 17:return!!eT(this);case 18:return(this.Bb&RK)!=0;case 19:return r=HP(this),!!r&&(r.Bb&RK)!=0;case 20:return(this.Bb&WV)==0;case 21:return!!this.b;case 22:return!!uIe(this);case 23:return!!this.a&&this.a.i!=0}return iE(this,e-uC((iB(),i9)),CO((t=F(EA(this,16),29),t||i9),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:fT(this,eb(t));return;case 2:CM(this,Bp($y(t)));return;case 3:TM(this,Bp($y(t)));return;case 4:ek(this,F(t,17).a);return;case 5:tk(this,F(t,17).a);return;case 8:Qj(this,F(t,142));return;case 9:r=iI(this,F(t,89),null),r&&r.oj();return;case 10:FM(this,Bp($y(t)));return;case 11:RM(this,Bp($y(t)));return;case 12:IM(this,Bp($y(t)));return;case 13:rme(this,eb(t));return;case 15:LM(this,Bp($y(t)));return;case 16:WM(this,Bp($y(t)));return;case 18:_je(this,Bp($y(t)));return;case 20:Gqe(this,Bp($y(t)));return;case 21:WVe(this,F(t,19));return;case 23:!this.a&&(this.a=new ay(M7,this,23)),Cz(this.a),!this.a&&(this.a=new ay(M7,this,23)),YS(this.a,F(t,16));return}sN(this,e-uC((iB(),i9)),CO((n=F(EA(this,16),29),n||i9),e),t)},Q.ii=function(){return iB(),i9},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:N(this.Cb,90)&&GI(NE(F(this.Cb,90)),4),Gk(this,null);return;case 2:CM(this,!0);return;case 3:TM(this,!0);return;case 4:ek(this,0);return;case 5:tk(this,1);return;case 8:Qj(this,null);return;case 9:n=iI(this,null,null),n&&n.oj();return;case 10:FM(this,!0);return;case 11:RM(this,!1);return;case 12:IM(this,!1);return;case 13:this.i=null,jk(this,null);return;case 15:LM(this,!1);return;case 16:WM(this,!1);return;case 18:Wqe(this,!1),N(this.Cb,90)&&GI(NE(F(this.Cb,90)),2);return;case 20:Gqe(this,!0);return;case 21:WVe(this,null);return;case 23:!this.a&&(this.a=new ay(M7,this,23)),Cz(this.a);return}SM(this,e-uC((iB(),i9)),CO((t=F(EA(this,16),29),t||i9),e))},Q.pi=function(){NWe(this),HC(YD((FI(),f9),this)),OF(this),this.Bb|=1},Q.uk=function(){return HP(this)},Q._k=function(){var e;return e=HP(this),!!e&&(e.Bb&RK)!=0},Q.al=function(){return(this.Bb&RK)!=0},Q.bl=function(){return(this.Bb&WV)!=0},Q.Yk=function(e,t){return this.c=null,VKe(this,e,t)},Q.Ib=function(){var e;return this.Db&64?uR(this):(e=new hy(uR(this)),e.a+=` (containment: `,Um(e,(this.Bb&RK)!=0),e.a+=`, resolveProxies: `,Um(e,(this.Bb&WV)!=0),e.a+=`)`,e.a)},R(zK,`EReferenceImpl`,102),q(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},ts),Q.Fb=function(e){return this===e},Q.ld=function(){return this.b},Q.md=function(){return this.c},Q.Hb=function(){return Ey(this)},Q.Di=function(e){kwe(this,eb(e))},Q.nd=function(e){return WCe(this,eb(e))},Q.Lh=function(e,t,n){var r;switch(e){case 0:return this.b;case 1:return this.c}return ND(this,e-uC((iB(),a9)),CO((r=F(EA(this,16),29),r||a9),e),t,n)},Q.Wh=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return iE(this,e-uC((iB(),a9)),CO((t=F(EA(this,16),29),t||a9),e))},Q.bi=function(e,t){var n;switch(e){case 0:Awe(this,eb(t));return;case 1:AVe(this,eb(t));return}sN(this,e-uC((iB(),a9)),CO((n=F(EA(this,16),29),n||a9),e),t)},Q.ii=function(){return iB(),a9},Q.ki=function(e){var t;switch(e){case 0:kVe(this,null);return;case 1:AVe(this,null);return}SM(this,e-uC((iB(),a9)),CO((t=F(EA(this,16),29),t||a9),e))},Q.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:wj(e)),this.a},Q.Ci=function(e){this.a=e},Q.Ib=function(){var e;return this.Db&64?SL(this):(e=new hy(SL(this)),e.a+=` (key: `,X_(e,this.b),e.a+=`, value: `,X_(e,this.c),e.a+=`)`,e.a)},Q.a=-1,Q.b=null,Q.c=null;var u9=R(zK,`EStringToStringMapEntryImpl`,561),$Vt=xx(Tq,`FeatureMap/Entry/Internal`);q(576,1,Hq),Q.xl=function(e){return this.yl(F(e,54))},Q.yl=function(e){return this.xl(e)},Q.Fb=function(e){var t,n;return this===e?!0:N(e,76)?(t=F(e,76),t.Lk()==this.c?(n=this.md(),n==null?t.md()==null:xM(n,t.md())):!1):!1},Q.Lk=function(){return this.c},Q.Hb=function(){var e=this.md();return Wk(this.c)^(e==null?0:Wk(e))},Q.Ib=function(){var e=this.c,t=IO(e.qk()).yi();return e.xe(),(t!=null&&t.length!=0?t+`:`+e.xe():e.xe())+`=`+this.md()},R(zK,`EStructuralFeatureImpl/BasicFeatureMapEntry`,576),q(791,576,Hq,pye),Q.yl=function(e){return new pye(this.c,e)},Q.md=function(){return this.a},Q.zl=function(e,t,n){return IHe(this,e,this.a,t,n)},Q.Al=function(e,t,n){return LHe(this,e,this.a,t,n)},R(zK,`EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry`,791),q(1350,1,{},ume),Q.yk=function(e,t,n,r,i){return F(ED(e,this.b),220).Yl(this.a).Fk(r)},Q.zk=function(e,t,n,r,i){return F(ED(e,this.b),220).Pl(this.a,r,i)},Q.Ak=function(e,t,n,r,i){return F(ED(e,this.b),220).Ql(this.a,r,i)},Q.Bk=function(e,t,n){return F(ED(e,this.b),220).Yl(this.a).Qj()},Q.Ck=function(e,t,n,r){F(ED(e,this.b),220).Yl(this.a).Wb(r)},Q.Dk=function(e,t,n){return F(ED(e,this.b),220).Yl(this.a)},Q.Ek=function(e,t,n){F(ED(e,this.b),220).Yl(this.a).Gk()},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator`,1350),q(91,1,{},Xb,tw,Cw,_E),Q.yk=function(e,t,n,r,i){var a=t.li(n);if(a??t.mi(n,a=$z(this,e)),!i)switch(this.e){case 50:case 41:return F(a,597).bk();case 40:return F(a,220).Vl()}return a},Q.zk=function(e,t,n,r,i){var a,o=t.li(n);return o??t.mi(n,o=$z(this,e)),a=F(o,71).Wk(r,i),a},Q.Ak=function(e,t,n,r,i){var a=t.li(n);return a!=null&&(i=F(a,71).Xk(r,i)),i},Q.Bk=function(e,t,n){var r=t.li(n);return r!=null&&F(r,79).Qj()},Q.Ck=function(e,t,n,r){var i=F(t.li(n),79);!i&&t.mi(n,i=$z(this,e)),i.Wb(r)},Q.Dk=function(e,t,n){var r,i=t.li(n);return i??t.mi(n,i=$z(this,e)),N(i,79)?F(i,79):(r=F(t.li(n),15),new wse(r))},Q.Ek=function(e,t,n){var r=F(t.li(n),79);!r&&t.mi(n,r=$z(this,e)),r.Gk()},Q.b=0,Q.e=0,R(zK,`EStructuralFeatureImpl/InternalSettingDelegateMany`,91),q(512,1,{}),Q.zk=function(e,t,n,r,i){throw O(new Df)},Q.Ak=function(e,t,n,r,i){throw O(new Df)},Q.Dk=function(e,t,n){return new VOe(this,e,t,n)};var d9;R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingle`,512),q(1367,1,jbt,VOe),Q.Fk=function(e){return this.a.yk(this.c,this.d,this.b,e,!0)},Q.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},Q.Wb=function(e){this.a.Ck(this.c,this.d,this.b,e)},Q.Gk=function(){this.a.Ek(this.c,this.d,this.b)},Q.b=0,R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingle/1`,1367),q(784,512,{},_Ae),Q.yk=function(e,t,n,r,i){return xR(e,e.Ph(),e.Fh())==this.b?this.bl()&&r?pL(e):e.Ph():null},Q.zk=function(e,t,n,r,i){var a,o;return e.Ph()&&(i=(a=e.Fh(),a>=0?e.Ah(i):e.Ph().Th(e,-1-a,null,i))),o=_N(e.Dh(),this.e),e.Ch(r,o,i)},Q.Ak=function(e,t,n,r,i){var a=_N(e.Dh(),this.e);return e.Ch(null,a,i)},Q.Bk=function(e,t,n){var r=_N(e.Dh(),this.e);return!!e.Ph()&&e.Fh()==r},Q.Ck=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!LR(this.a,r))throw O(new Gp(Uq+(N(r,58)?m0e(F(r,58).Dh()):Wze(Kj(r)))+Wq+this.a+`'`));if(i=e.Ph(),o=_N(e.Dh(),this.e),M(r)!==M(i)||e.Fh()!=o&&r!=null){if(EF(e,F(r,58)))throw O(new Kp(VK+e.Ib()));c=null,i&&(c=(a=e.Fh(),a>=0?e.Ah(c):e.Ph().Th(e,-1-a,null,c))),s=F(r,54),s&&(c=s.Rh(e,_N(s.Dh(),this.b),null,c)),c=e.Ch(s,o,c),c&&c.oj()}else e.vh()&&e.wh()&&CA(e,new bS(e,1,o,r,r))},Q.Ek=function(e,t,n){var r=e.Ph(),i,a,o;r?(o=(i=e.Fh(),i>=0?e.Ah(null):e.Ph().Th(e,-1-i,null,null)),a=_N(e.Dh(),this.e),o=e.Ch(null,a,o),o&&o.oj()):e.vh()&&e.wh()&&CA(e,new xS(e,1,this.e,null,null))},Q.bl=function(){return!1},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainer`,784),q(1351,784,{},aCe),Q.bl=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving`,1351),q(574,512,{}),Q.yk=function(e,t,n,r,i){var a;return a=t.li(n),a==null?this.b:M(a)===M(d9)?null:a},Q.Bk=function(e,t,n){var r=t.li(n);return r!=null&&(M(r)===M(d9)||!xM(r,this.b))},Q.Ck=function(e,t,n,r){var i,a;e.vh()&&e.wh()?(i=(a=t.li(n),a==null?this.b:M(a)===M(d9)?null:a),r==null?this.c==null?this.b==null?t.mi(n,null):t.mi(n,d9):(t.mi(n,null),r=this.b):(this.Bl(r),t.mi(n,r)),CA(e,this.d.Cl(e,1,this.e,i,r))):r==null?this.c==null?this.b==null?t.mi(n,null):t.mi(n,d9):t.mi(n,null):(this.Bl(r),t.mi(n,r))},Q.Ek=function(e,t,n){var r,i;e.vh()&&e.wh()?(r=(i=t.li(n),i==null?this.b:M(i)===M(d9)?null:i),t.ni(n),CA(e,this.d.Cl(e,1,this.e,r,this.b))):t.ni(n)},Q.Bl=function(e){throw O(new Cf)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData`,574),q(Gq,1,{},ns),Q.Cl=function(e,t,n,r,i){return new xS(e,t,n,r,i)},Q.Dl=function(e,t,n,r,i,a){return new hw(e,t,n,r,i,a)};var eHt,tHt,nHt,rHt,iHt,aHt,oHt,sHt,cHt;R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator`,Gq),q(1368,Gq,{},rs),Q.Cl=function(e,t,n,r,i){return new rIe(e,t,n,Bp($y(r)),Bp($y(i)))},Q.Dl=function(e,t,n,r,i,a){return new KMe(e,t,n,Bp($y(r)),Bp($y(i)),a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1`,1368),q(1369,Gq,{},is),Q.Cl=function(e,t,n,r,i){return new VBe(e,t,n,F(r,222).a,F(i,222).a)},Q.Dl=function(e,t,n,r,i,a){return new zMe(e,t,n,F(r,222).a,F(i,222).a,a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2`,1369),q(1370,Gq,{},as),Q.Cl=function(e,t,n,r,i){return new HBe(e,t,n,F(r,180).a,F(i,180).a)},Q.Dl=function(e,t,n,r,i,a){return new BMe(e,t,n,F(r,180).a,F(i,180).a,a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3`,1370),q(1371,Gq,{},os),Q.Cl=function(e,t,n,r,i){return new tIe(e,t,n,k(P(r)),k(P(i)))},Q.Dl=function(e,t,n,r,i,a){return new VMe(e,t,n,k(P(r)),k(P(i)),a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4`,1371),q(1372,Gq,{},ss),Q.Cl=function(e,t,n,r,i){return new GBe(e,t,n,F(r,161).a,F(i,161).a)},Q.Dl=function(e,t,n,r,i,a){return new HMe(e,t,n,F(r,161).a,F(i,161).a,a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5`,1372),q(1373,Gq,{},tre),Q.Cl=function(e,t,n,r,i){return new nIe(e,t,n,F(r,17).a,F(i,17).a)},Q.Dl=function(e,t,n,r,i,a){return new UMe(e,t,n,F(r,17).a,F(i,17).a,a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6`,1373),q(1374,Gq,{},nre),Q.Cl=function(e,t,n,r,i){return new UBe(e,t,n,F(r,168).a,F(i,168).a)},Q.Dl=function(e,t,n,r,i,a){return new WMe(e,t,n,F(r,168).a,F(i,168).a,a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7`,1374),q(1375,Gq,{},rre),Q.Cl=function(e,t,n,r,i){return new WBe(e,t,n,F(r,191).a,F(i,191).a)},Q.Dl=function(e,t,n,r,i,a){return new GMe(e,t,n,F(r,191).a,F(i,191).a,a)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8`,1375),q(1353,574,{},HOe),Q.Bl=function(e){if(!this.a.fk(e))throw O(new Gp(Uq+Kj(e)+Wq+this.a+`'`))},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic`,1353),q(1354,574,{},ATe),Q.Bl=function(e){},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic`,1354),q(785,574,{}),Q.Bk=function(e,t,n){return t.li(n)!=null},Q.Ck=function(e,t,n,r){var i,a;e.vh()&&e.wh()?(i=!0,a=t.li(n),a==null?(i=!1,a=this.b):M(a)===M(d9)&&(a=null),r==null?this.c==null?t.mi(n,d9):(t.mi(n,null),r=this.b):(this.Bl(r),t.mi(n,r)),CA(e,this.d.Dl(e,1,this.e,a,r,!i))):r==null?this.c==null?t.mi(n,d9):t.mi(n,null):(this.Bl(r),t.mi(n,r))},Q.Ek=function(e,t,n){var r,i;e.vh()&&e.wh()?(r=!0,i=t.li(n),i==null?(r=!1,i=this.b):M(i)===M(d9)&&(i=null),t.ni(n),CA(e,this.d.Dl(e,2,this.e,i,this.b,r))):t.ni(n)},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable`,785),q(1355,785,{},UOe),Q.Bl=function(e){if(!this.a.fk(e))throw O(new Gp(Uq+Kj(e)+Wq+this.a+`'`))},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic`,1355),q(1356,785,{},jTe),Q.Bl=function(e){},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic`,1356),q(410,512,{},zx),Q.yk=function(e,t,n,r,i){var a,o,s,c,l=t.li(n);if(this.tk()&&M(l)===M(d9))return null;if(this.bl()&&r&&l!=null){if(s=F(l,54),s.Vh()&&(c=aM(e,s),s!=c)){if(!LR(this.a,c))throw O(new Gp(Uq+Kj(c)+Wq+this.a+`'`));t.mi(n,l=c),this.al()&&(a=F(c,54),o=s.Th(e,this.b?_N(s.Dh(),this.b):-1-_N(e.Dh(),this.e),null,null),!a.Ph()&&(o=a.Rh(e,this.b?_N(a.Dh(),this.b):-1-_N(e.Dh(),this.e),null,o)),o&&o.oj()),e.vh()&&e.wh()&&CA(e,new xS(e,9,this.e,s,c))}return l}else return l},Q.zk=function(e,t,n,r,i){var a,o=t.li(n);return M(o)===M(d9)&&(o=null),t.mi(n,r),this.Mj()?M(o)!==M(r)&&o!=null&&(a=F(o,54),i=a.Th(e,_N(a.Dh(),this.b),null,i)):this.al()&&o!=null&&(i=F(o,54).Th(e,-1-_N(e.Dh(),this.e),null,i)),e.vh()&&e.wh()&&(!i&&(i=new Fm(4)),i.nj(new xS(e,1,this.e,o,r))),i},Q.Ak=function(e,t,n,r,i){var a=t.li(n);return M(a)===M(d9)&&(a=null),t.ni(n),e.vh()&&e.wh()&&(!i&&(i=new Fm(4)),this.tk()?i.nj(new xS(e,2,this.e,a,null)):i.nj(new xS(e,1,this.e,a,null))),i},Q.Bk=function(e,t,n){return t.li(n)!=null},Q.Ck=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!LR(this.a,r))throw O(new Gp(Uq+(N(r,58)?m0e(F(r,58).Dh()):Wze(Kj(r)))+Wq+this.a+`'`));c=t.li(n),s=c!=null,this.tk()&&M(c)===M(d9)&&(c=null),o=null,this.Mj()?M(c)!==M(r)&&(c!=null&&(i=F(c,54),o=i.Th(e,_N(i.Dh(),this.b),null,o)),r!=null&&(i=F(r,54),o=i.Rh(e,_N(i.Dh(),this.b),null,o))):this.al()&&M(c)!==M(r)&&(c!=null&&(o=F(c,54).Th(e,-1-_N(e.Dh(),this.e),null,o)),r!=null&&(o=F(r,54).Rh(e,-1-_N(e.Dh(),this.e),null,o))),r==null&&this.tk()?t.mi(n,d9):t.mi(n,r),e.vh()&&e.wh()?(a=new hw(e,1,this.e,c,r,this.tk()&&!s),o?(o.nj(a),o.oj()):CA(e,a)):o&&o.oj()},Q.Ek=function(e,t,n){var r,i,a,o,s=t.li(n);o=s!=null,this.tk()&&M(s)===M(d9)&&(s=null),a=null,s!=null&&(this.Mj()?(r=F(s,54),a=r.Th(e,_N(r.Dh(),this.b),null,a)):this.al()&&(a=F(s,54).Th(e,-1-_N(e.Dh(),this.e),null,a))),t.ni(n),e.vh()&&e.wh()?(i=new hw(e,this.tk()?2:1,this.e,s,null,o),a?(a.nj(i),a.oj()):CA(e,i)):a&&a.oj()},Q.Mj=function(){return!1},Q.al=function(){return!1},Q.bl=function(){return!1},Q.tk=function(){return!1},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObject`,410),q(575,410,{},Zy),Q.al=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment`,575),q(1359,575,{},Cve),Q.bl=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving`,1359),q(787,575,{},wve),Q.tk=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable`,787),q(1361,787,{},Eve),Q.bl=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving`,1361),q(650,575,{},Zb),Q.Mj=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse`,650),q(1360,650,{},cCe),Q.bl=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving`,1360),q(788,650,{},lCe),Q.tk=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable`,788),q(1362,788,{},uCe),Q.bl=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving`,1362),q(651,410,{},Tve),Q.bl=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving`,651),q(1363,651,{},Dve),Q.tk=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable`,1363),q(789,651,{},oCe),Q.Mj=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse`,789),q(1364,789,{},dCe),Q.tk=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable`,1364),q(1357,410,{},Ove),Q.tk=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable`,1357),q(786,410,{},sCe),Q.Mj=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse`,786),q(1358,786,{},fCe),Q.tk=function(){return!0},R(zK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable`,1358),q(790,576,Hq,yDe),Q.yl=function(e){return new yDe(this.a,this.c,e)},Q.md=function(){return this.b},Q.zl=function(e,t,n){return ELe(this,e,this.b,n)},Q.Al=function(e,t,n){return DLe(this,e,this.b,n)},R(zK,`EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry`,790),q(1365,1,jbt,wse),Q.Fk=function(e){return this.a},Q.Qj=function(){return N(this.a,97)?F(this.a,97).Qj():!this.a.dc()},Q.Wb=function(e){this.a.$b(),this.a.Gc(F(e,15))},Q.Gk=function(){N(this.a,97)?F(this.a,97).Gk():this.a.$b()},R(zK,`EStructuralFeatureImpl/SettingMany`,1365),q(1366,576,Hq,$Pe),Q.xl=function(e){return new mb((Oz(),k9),this.b.ri(this.a,e))},Q.md=function(){return null},Q.zl=function(e,t,n){return n},Q.Al=function(e,t,n){return n},R(zK,`EStructuralFeatureImpl/SimpleContentFeatureMapEntry`,1366),q(652,576,Hq,mb),Q.xl=function(e){return new mb(this.c,e)},Q.md=function(){return this.a},Q.zl=function(e,t,n){return n},Q.Al=function(e,t,n){return n},R(zK,`EStructuralFeatureImpl/SimpleFeatureMapEntry`,652),q(403,506,hq,cs),Q.aj=function(e){return H(P7,gB,29,e,0,1)},Q.Yi=function(){return!1},R(zK,`ESuperAdapter/1`,403),q(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},ls),Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new Bx(this,R7,this)),this.a}return ND(this,e-uC((iB(),o9)),CO((r=F(EA(this,16),29),r||o9),e),t,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(k7,this,0,3)),OP(this.Ab,e,n);case 2:return!this.a&&(this.a=new Bx(this,R7,this)),OP(this.a,e,n)}return i=F(CO((r=F(EA(this,16),29),r||(iB(),o9)),t),69),i.wk().Ak(this,KN(this),t-uC((iB(),o9)),e,n)},Q.Wh=function(e){var t;switch(e){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 iE(this,e-uC((iB(),o9)),CO((t=F(EA(this,16),29),t||o9),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab),!this.Ab&&(this.Ab=new I(k7,this,0,3)),YS(this.Ab,F(t,16));return;case 1:Gk(this,eb(t));return;case 2:!this.a&&(this.a=new Bx(this,R7,this)),Cz(this.a),!this.a&&(this.a=new Bx(this,R7,this)),YS(this.a,F(t,16));return}sN(this,e-uC((iB(),o9)),CO((n=F(EA(this,16),29),n||o9),e),t)},Q.ii=function(){return iB(),o9},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(k7,this,0,3)),Cz(this.Ab);return;case 1:Gk(this,null);return;case 2:!this.a&&(this.a=new Bx(this,R7,this)),Cz(this.a);return}SM(this,e-uC((iB(),o9)),CO((t=F(EA(this,16),29),t||o9),e))},R(zK,`ETypeParameterImpl`,457),q(458,83,Iq,Bx),Q.Nj=function(e,t){return w2e(this,F(e,89),t)},Q.Oj=function(e,t){return T2e(this,F(e,89),t)},R(zK,`ETypeParameterImpl/1`,458),q(647,45,eH,Tp),Q.ec=function(){return new Hd(this)},R(zK,`ETypeParameterImpl/2`,647),q(570,EB,DB,Hd),Q.Fc=function(e){return Kye(this,F(e,89))},Q.Gc=function(e){var t,n,r=!1;for(n=e.Kc();n.Ob();)t=F(n.Pb(),89),PC(this.a,t,``)??(r=!0);return r},Q.$b=function(){MS(this.a)},Q.Hc=function(e){return DS(this.a,e)},Q.Kc=function(){var e;return e=new yA(new Al(this.a).a),new Ud(e)},Q.Mc=function(e){return VIe(this,e)},Q.gc=function(){return fh(this.a)},R(zK,`ETypeParameterImpl/2/1`,570),q(571,1,SB,Ud),Q.Nb=function(e){ES(this,e)},Q.Pb=function(){return F(Fk(this.a).ld(),89)},Q.Ob=function(){return this.a.b},Q.Qb=function(){qRe(this.a)},R(zK,`ETypeParameterImpl/2/1/1`,571),q(1329,45,eH,ece),Q._b=function(e){return B_(e)?yw(this,e):!!Wx(this.f,e)},Q.xc=function(e){var t=B_(e)?Iw(this,e):z_(Wx(this.f,e)),n;return N(t,851)?(n=F(t,851),t=n.Kk(),PC(this,F(e,241),t),t):t??(e==null?(Jh(),gHt):null)},R(zK,`EValidatorRegistryImpl`,1329),q(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},ire),Q.ri=function(e,t){switch(e.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:aN(t);case 25:return vBe(t);case 27:return DRe(t);case 28:return ORe(t);case 29:return t==null?null:cge(c7[0],F(t,206));case 41:return t==null?``:Bm(F(t,297));case 42:return aN(t);case 50:return eb(t);default:throw O(new Kp(HK+e.xe()+UK))}},Q.si=function(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;switch(e.G==-1&&(e.G=(f=IO(e),f?jP(f.vi(),e):-1)),e.G){case 0:return n=new xp,n;case 1:return t=new qo,t;case 2:return r=new kie,r;case 4:return i=new Mf,i;case 5:return a=new $se,a;case 6:return o=new jf,o;case 7:return s=new Pc,s;case 10:return l=new Go,l;case 11:return u=new Sp,u;case 12:return d=new fke,d;case 13:return p=new wp,p;case 14:return m=new zve,m;case 17:return h=new ts,h;case 18:return c=new ef,c;case 19:return g=new ls,g;default:throw O(new Kp(KK+e.zb+UK))}},Q.ti=function(e,t){switch(e.hk()){case 20:return t==null?null:new Cue(t);case 21:return t==null?null:new Dv(t);case 23:case 22:return t==null?null:KYe(t);case 26:case 24:return t==null?null:tO(AR(t,-128,127)<<24>>24);case 25:return W7e(t);case 27:return $Qe(t);case 28:return e$e(t);case 29:return t4e(t);case 32:case 31:return t==null?null:bI(t);case 38:case 37:return t==null?null:new Bf(t);case 40:case 39:return t==null?null:dM(AR(t,$B,dB));case 41:return null;case 42:return null;case 44:case 43:return t==null?null:XN(Uz(t));case 49:case 48:return t==null?null:fM(AR(t,qq,32767)<<16>>16);case 50:return t;default:throw O(new Kp(HK+e.xe()+UK))}},R(zK,`EcoreFactoryImpl`,1349),q(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},YDe),Q.gb=!1,Q.hb=!1;var lHt,uHt=!1;R(zK,`EcorePackageImpl`,560),q(1234,1,{851:1},us),Q.Kk=function(){return Xge(),_Ht},R(zK,`EcorePackageImpl/1`,1234),q(1243,1,Zq,ds),Q.fk=function(e){return N(e,155)},Q.gk=function(e){return H(Q5,gB,155,e,0,1)},R(zK,`EcorePackageImpl/10`,1243),q(1244,1,Zq,are),Q.fk=function(e){return N(e,197)},Q.gk=function(e){return H(e7,gB,197,e,0,1)},R(zK,`EcorePackageImpl/11`,1244),q(1245,1,Zq,fs),Q.fk=function(e){return N(e,58)},Q.gk=function(e){return H(W5,gB,58,e,0,1)},R(zK,`EcorePackageImpl/12`,1245),q(1246,1,Zq,ore),Q.fk=function(e){return N(e,411)},Q.gk=function(e){return H(z7,Fbt,62,e,0,1)},R(zK,`EcorePackageImpl/13`,1246),q(1247,1,Zq,ps),Q.fk=function(e){return N(e,241)},Q.gk=function(e){return H(t7,gB,241,e,0,1)},R(zK,`EcorePackageImpl/14`,1247),q(1248,1,Zq,ms),Q.fk=function(e){return N(e,518)},Q.gk=function(e){return H(V7,gB,2116,e,0,1)},R(zK,`EcorePackageImpl/15`,1248),q(1249,1,Zq,hs),Q.fk=function(e){return N(e,102)},Q.gk=function(e){return H(H7,Fq,19,e,0,1)},R(zK,`EcorePackageImpl/16`,1249),q(1250,1,Zq,gs),Q.fk=function(e){return N(e,179)},Q.gk=function(e){return H(j7,Fq,179,e,0,1)},R(zK,`EcorePackageImpl/17`,1250),q(1251,1,Zq,_s),Q.fk=function(e){return N(e,481)},Q.gk=function(e){return H(A7,gB,481,e,0,1)},R(zK,`EcorePackageImpl/18`,1251),q(1252,1,Zq,sre),Q.fk=function(e){return N(e,561)},Q.gk=function(e){return H(u9,_bt,561,e,0,1)},R(zK,`EcorePackageImpl/19`,1252),q(1235,1,Zq,vs),Q.fk=function(e){return N(e,331)},Q.gk=function(e){return H(M7,Fq,35,e,0,1)},R(zK,`EcorePackageImpl/2`,1235),q(1253,1,Zq,cre),Q.fk=function(e){return N(e,248)},Q.gk=function(e){return H(R7,Lbt,89,e,0,1)},R(zK,`EcorePackageImpl/20`,1253),q(1254,1,Zq,ys),Q.fk=function(e){return N(e,457)},Q.gk=function(e){return H(U7,gB,850,e,0,1)},R(zK,`EcorePackageImpl/21`,1254),q(1255,1,Zq,bs),Q.fk=function(e){return V_(e)},Q.gk=function(e){return H(eY,X,485,e,8,1)},R(zK,`EcorePackageImpl/22`,1255),q(1256,1,Zq,xs),Q.fk=function(e){return N(e,195)},Q.gk=function(e){return H(X9,X,195,e,0,2)},R(zK,`EcorePackageImpl/23`,1256),q(1257,1,Zq,Ss),Q.fk=function(e){return N(e,222)},Q.gk=function(e){return H(tY,X,222,e,0,1)},R(zK,`EcorePackageImpl/24`,1257),q(1258,1,Zq,Cs),Q.fk=function(e){return N(e,180)},Q.gk=function(e){return H(nY,X,180,e,0,1)},R(zK,`EcorePackageImpl/25`,1258),q(1259,1,Zq,ws),Q.fk=function(e){return N(e,206)},Q.gk=function(e){return H(YJ,X,206,e,0,1)},R(zK,`EcorePackageImpl/26`,1259),q(1260,1,Zq,Ts),Q.fk=function(e){return!1},Q.gk=function(e){return H(dUt,gB,2215,e,0,1)},R(zK,`EcorePackageImpl/27`,1260),q(1261,1,Zq,lre),Q.fk=function(e){return H_(e)},Q.gk=function(e){return H(rY,X,345,e,7,1)},R(zK,`EcorePackageImpl/28`,1261),q(1262,1,Zq,ure),Q.fk=function(e){return N(e,61)},Q.gk=function(e){return H(mVt,aU,61,e,0,1)},R(zK,`EcorePackageImpl/29`,1262),q(1236,1,Zq,dre),Q.fk=function(e){return N(e,519)},Q.gk=function(e){return H(k7,{3:1,4:1,5:1,2033:1},598,e,0,1)},R(zK,`EcorePackageImpl/3`,1236),q(1263,1,Zq,fre),Q.fk=function(e){return N(e,582)},Q.gk=function(e){return H(bVt,gB,2039,e,0,1)},R(zK,`EcorePackageImpl/30`,1263),q(1264,1,Zq,pre),Q.fk=function(e){return N(e,160)},Q.gk=function(e){return H(hHt,aU,160,e,0,1)},R(zK,`EcorePackageImpl/31`,1264),q(1265,1,Zq,Es),Q.fk=function(e){return N(e,76)},Q.gk=function(e){return H(s9,Jbt,76,e,0,1)},R(zK,`EcorePackageImpl/32`,1265),q(1266,1,Zq,Ds),Q.fk=function(e){return N(e,161)},Q.gk=function(e){return H(iY,X,161,e,0,1)},R(zK,`EcorePackageImpl/33`,1266),q(1267,1,Zq,mre),Q.fk=function(e){return N(e,17)},Q.gk=function(e){return H(aY,X,17,e,0,1)},R(zK,`EcorePackageImpl/34`,1267),q(1268,1,Zq,hre),Q.fk=function(e){return N(e,297)},Q.gk=function(e){return H(zxt,gB,297,e,0,1)},R(zK,`EcorePackageImpl/35`,1268),q(1269,1,Zq,gre),Q.fk=function(e){return N(e,168)},Q.gk=function(e){return H(oY,X,168,e,0,1)},R(zK,`EcorePackageImpl/36`,1269),q(1270,1,Zq,_re),Q.fk=function(e){return N(e,85)},Q.gk=function(e){return H(Vxt,gB,85,e,0,1)},R(zK,`EcorePackageImpl/37`,1270),q(1271,1,Zq,Os),Q.fk=function(e){return N(e,599)},Q.gk=function(e){return H(dHt,gB,599,e,0,1)},R(zK,`EcorePackageImpl/38`,1271),q(1272,1,Zq,ks),Q.fk=function(e){return!1},Q.gk=function(e){return H(fUt,gB,2216,e,0,1)},R(zK,`EcorePackageImpl/39`,1272),q(1237,1,Zq,As),Q.fk=function(e){return N(e,90)},Q.gk=function(e){return H(P7,gB,29,e,0,1)},R(zK,`EcorePackageImpl/4`,1237),q(1273,1,Zq,js),Q.fk=function(e){return N(e,191)},Q.gk=function(e){return H(cY,X,191,e,0,1)},R(zK,`EcorePackageImpl/40`,1273),q(1274,1,Zq,Ms),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(zK,`EcorePackageImpl/41`,1274),q(1275,1,Zq,Ns),Q.fk=function(e){return N(e,596)},Q.gk=function(e){return H(gVt,gB,596,e,0,1)},R(zK,`EcorePackageImpl/42`,1275),q(1276,1,Zq,vre),Q.fk=function(e){return!1},Q.gk=function(e){return H(pUt,X,2217,e,0,1)},R(zK,`EcorePackageImpl/43`,1276),q(1277,1,Zq,Ps),Q.fk=function(e){return N(e,44)},Q.gk=function(e){return H(LJ,RB,44,e,0,1)},R(zK,`EcorePackageImpl/44`,1277),q(1238,1,Zq,Fs),Q.fk=function(e){return N(e,142)},Q.gk=function(e){return H(N7,gB,142,e,0,1)},R(zK,`EcorePackageImpl/5`,1238),q(1239,1,Zq,Is),Q.fk=function(e){return N(e,156)},Q.gk=function(e){return H(F7,gB,156,e,0,1)},R(zK,`EcorePackageImpl/6`,1239),q(1240,1,Zq,Ls),Q.fk=function(e){return N(e,469)},Q.gk=function(e){return H(I7,gB,685,e,0,1)},R(zK,`EcorePackageImpl/7`,1240),q(1241,1,Zq,yre),Q.fk=function(e){return N(e,582)},Q.gk=function(e){return H(L7,gB,694,e,0,1)},R(zK,`EcorePackageImpl/8`,1241),q(1242,1,Zq,Rs),Q.fk=function(e){return N(e,480)},Q.gk=function(e){return H($5,gB,480,e,0,1)},R(zK,`EcorePackageImpl/9`,1242),q(1038,2080,hbt,Fce),Q.Mi=function(e,t){QKe(this,F(t,424))},Q.Qi=function(e,t){c6e(this,e,F(t,424))},R(zK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList`,1038),q(1039,152,Cq,bDe),Q.jj=function(){return this.a.a},R(zK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList/1`,1039),q(1067,1066,{},zhe),R(`org.eclipse.emf.ecore.plugin`,`EcorePlugin`,1067);var dHt=xx(Ybt,`Resource`);q(799,1524,Xbt),Q.Hl=function(e){},Q.Il=function(e){},Q.El=function(){return!this.a&&(this.a=new Wd(this)),this.a},Q.Fl=function(e){var t,n,r=e.length,i,a;if(r>0)if(CT(0,e.length),e.charCodeAt(0)==47){for(a=new iD(4),i=1,t=1;t0&&(e=(pD(0,n,e.length),e.substr(0,n))));return x8e(this,e)},Q.Gl=function(){return this.c},Q.Ib=function(){var e;return Bm(this.Rm)+`@`+(e=Wk(this)>>>0,e.toString(16))+` uri='`+this.d+`'`},Q.b=!1,R(Qq,`ResourceImpl`,799),q(1525,799,Xbt,Gd),R(Qq,`BinaryResourceImpl`,1525),q(1190,708,gq),Q.bj=function(e){return N(e,58)?Rke(this,F(e,58)):N(e,599)?new cy(F(e,599).El()):M(e)===M(this.f)?F(e,16).Kc():(ib(),w7.a)},Q.Ob=function(){return o5e(this)},Q.a=!1,R(Tq,`EcoreUtil/ContentTreeIterator`,1190),q(1526,1190,gq,cEe),Q.bj=function(e){return M(e)===M(this.f)?F(e,15).Kc():new HNe(F(e,58))},R(Qq,`ResourceImpl/5`,1526),q(658,2092,Ibt,Wd),Q.Hc=function(e){return this.i<=4?FF(this,e):N(e,54)&&F(e,54).Jh()==this.a},Q.Mi=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},Q.Oi=function(e,t){e==0?this.a.b||(this.a.b=!0):fD(this,e,t)},Q.Qi=function(e,t){},Q.Ri=function(e,t,n){},Q.Lj=function(){return 2},Q.jj=function(){return this.a},Q.Mj=function(){return!0},Q.Nj=function(e,t){return t=F(e,54).fi(this.a,t),t},Q.Oj=function(e,t){return F(e,54).fi(null,t)},Q.Pj=function(){return!1},Q.Si=function(){return!0},Q.aj=function(e){return H(W5,gB,58,e,0,1)},Q.Yi=function(){return!1},R(Qq,`ResourceImpl/ContentsEList`,658),q(970,2062,JB,Tse),Q.fd=function(e){return this.a.Ki(e)},Q.gc=function(){return this.a.gc()},R(Tq,`AbstractSequentialInternalEList/1`,970);var fHt,pHt,f9,mHt;q(634,1,{},JCe);var p9,m9;R(Tq,`BasicExtendedMetaData`,634),q(1181,1,{},fme),Q.Jl=function(){return null},Q.Kl=function(){return this.a==-2&&mae(this,U2e(this.d,this.b)),this.a},Q.Ll=function(){return null},Q.Ml=function(){return lw(),lw(),yY},Q.xe=function(){return this.c==uJ&&hae(this,fXe(this.d,this.b)),this.c},Q.Nl=function(){return 0},Q.a=-2,Q.c=uJ,R(Tq,`BasicExtendedMetaData/EClassExtendedMetaDataImpl`,1181),q(1182,1,{},JMe),Q.Jl=function(){return this.a==(nD(),p9)&&_ae(this,vrt(this.f,this.b)),this.a},Q.Kl=function(){return 0},Q.Ll=function(){return this.c==(nD(),p9)&&Sl(this,yrt(this.f,this.b)),this.c},Q.Ml=function(){return!this.d&&yae(this,vot(this.f,this.b)),this.d},Q.xe=function(){return this.e==uJ&&bae(this,fXe(this.f,this.b)),this.e},Q.Nl=function(){return this.g==-2&&Sae(this,K0e(this.f,this.b)),this.g},Q.e=uJ,Q.g=-2,R(Tq,`BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl`,1182),q(1180,1,{},pme),Q.b=!1,Q.c=!1,R(Tq,`BasicExtendedMetaData/EPackageExtendedMetaDataImpl`,1180),q(1183,1,{},YMe),Q.c=-2,Q.e=uJ,Q.f=uJ,R(Tq,`BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl`,1183),q(593,632,Iq,ux),Q.Lj=function(){return this.c},Q.ol=function(){return!1},Q.Wi=function(e,t){return t},Q.c=0,R(Tq,`EDataTypeEList`,593);var hHt=xx(Tq,`FeatureMap`);q(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},bA),Q.bd=function(e,t){wet(this,e,F(t,76))},Q.Fc=function(e){return D9e(this,F(e,76))},Q.Hi=function(e){JEe(this,F(e,76))},Q.Nj=function(e,t){return Mbe(this,F(e,76),t)},Q.Oj=function(e,t){return Nbe(this,F(e,76),t)},Q.Ti=function(e,t){return Hit(this,e,t)},Q.Wi=function(e,t){return ilt(this,e,F(t,76))},Q.hd=function(e,t){return ktt(this,e,F(t,76))},Q.Uj=function(e,t){return Pbe(this,F(e,76),t)},Q.Vj=function(e,t){return Fbe(this,F(e,76),t)},Q.Wj=function(e,t,n){return b0e(this,F(e,76),F(t,76),n)},Q.Zi=function(e,t){return ZF(this,e,F(t,76))},Q.Ol=function(e,t){return Cit(this,e,t)},Q.cd=function(e,t){var n,r,i,a,o,s,c,l=new PO(t.gc()),u;for(i=t.Kc();i.Ob();)if(r=F(i.Pb(),76),a=r.Lk(),ZL(this.e,a))(!a.Si()||!cE(this,a,r.md())&&!FF(l,r))&&gD(l,r);else{for(u=JL(this.e.Dh(),a),n=F(this.g,124),o=!0,s=0;s=0;)if(t=e[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},R(Tq,`BasicFeatureMap/FeatureEIterator`,420),q(676,420,OB,Fme),Q.ul=function(){return!0},R(Tq,`BasicFeatureMap/ResolvingFeatureEIterator`,676),q(968,496,Bq,mge),Q.pj=function(){return this},R(Tq,`EContentsEList/1`,968),q(969,496,Bq,Pme),Q.ul=function(){return!1},R(Tq,`EContentsEList/2`,969),q(967,287,Vq,hge),Q.wl=function(e){},Q.Ob=function(){return!1},Q.Sb=function(){return!1},R(Tq,`EContentsEList/FeatureIteratorImpl/1`,967),q(840,593,Iq,zge),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Cz(this),_v(this.e)?(e=this.a,this.a=!1,CA(this.e,new PE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(Tq,`EDataTypeEList/Unsettable`,840),q(1958,593,Iq,Bge),Q.Si=function(){return!0},R(Tq,`EDataTypeUniqueEList`,1958),q(1959,840,Iq,Vge),Q.Si=function(){return!0},R(Tq,`EDataTypeUniqueEList/Unsettable`,1959),q(147,83,Iq,iy),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectContainmentEList/Resolving`,147),q(1184,555,Iq,Hge),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectContainmentEList/Unsettable/Resolving`,1184),q(766,14,Iq,Qye),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Cz(this),_v(this.e)?(e=this.a,this.a=!1,CA(this.e,new PE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(Tq,`EObjectContainmentWithInverseEList/Unsettable`,766),q(1222,766,Iq,$ye),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectContainmentWithInverseEList/Unsettable/Resolving`,1222),q(757,505,Iq,Uge),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Cz(this),_v(this.e)?(e=this.a,this.a=!1,CA(this.e,new PE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(Tq,`EObjectEList/Unsettable`,757),q(338,505,Iq,ay),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectResolvingEList`,338),q(1844,757,Iq,Wge),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectResolvingEList/Unsettable`,1844),q(1527,1,{},zs);var gHt;R(Tq,`EObjectValidator`,1527),q(559,505,Iq,SS),Q.il=function(){return this.d},Q.jl=function(){return this.b},Q.Mj=function(){return!0},Q.ml=function(){return!0},Q.b=0,R(Tq,`EObjectWithInverseEList`,559),q(1225,559,Iq,ebe),Q.ll=function(){return!0},R(Tq,`EObjectWithInverseEList/ManyInverse`,1225),q(635,559,Iq,wb),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Cz(this),_v(this.e)?(e=this.a,this.a=!1,CA(this.e,new PE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(Tq,`EObjectWithInverseEList/Unsettable`,635),q(1224,635,Iq,nbe),Q.ll=function(){return!0},R(Tq,`EObjectWithInverseEList/Unsettable/ManyInverse`,1224),q(767,559,Iq,tbe),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectWithInverseResolvingEList`,767),q(32,767,Iq,Tb),Q.ll=function(){return!0},R(Tq,`EObjectWithInverseResolvingEList/ManyInverse`,32),q(768,635,Iq,rbe),Q.nl=function(){return!0},Q.Wi=function(e,t){return uL(this,e,F(t,58))},R(Tq,`EObjectWithInverseResolvingEList/Unsettable`,768),q(1223,768,Iq,ibe),Q.ll=function(){return!0},R(Tq,`EObjectWithInverseResolvingEList/Unsettable/ManyInverse`,1223),q(1185,632,Iq),Q.Li=function(){return(this.b&1792)==0},Q.Ni=function(){this.b|=1},Q.kl=function(){return(this.b&4)!=0},Q.Mj=function(){return(this.b&40)!=0},Q.ll=function(){return(this.b&16)!=0},Q.ml=function(){return(this.b&8)!=0},Q.nl=function(){return(this.b&Dq)!=0},Q.al=function(){return(this.b&32)!=0},Q.ol=function(){return(this.b&GB)!=0},Q.fk=function(e){return this.d?TPe(this.d,e):this.Lk().Hk().fk(e)},Q.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},Q.Si=function(){return(this.b&128)!=0},Q.Gk=function(){var e;Cz(this),this.b&2&&(_v(this.e)?(e=(this.b&1)!=0,this.b&=-2,Lf(this,new PE(this.e,2,_N(this.e.Dh(),this.Lk()),e,!1))):this.b&=-2)},Q.Yi=function(){return(this.b&1536)==0},Q.b=0,R(Tq,`EcoreEList/Generic`,1185),q(1186,1185,Iq,vke),Q.Lk=function(){return this.a},R(Tq,`EcoreEList/Dynamic`,1186),q(765,66,hq,Kd),Q.aj=function(e){return ik(this.a.a,e)},R(Tq,`EcoreEMap/1`,765),q(764,83,Iq,fEe),Q.Mi=function(e,t){UP(this.b,F(t,136))},Q.Oi=function(e,t){pUe(this.b)},Q.Pi=function(e,t,n){var r;++(r=this.b,F(t,136),r).e},Q.Qi=function(e,t){bqe(this.b,F(t,136))},Q.Ri=function(e,t,n){bqe(this.b,F(n,136)),M(n)===M(t)&&F(n,136).Ci(Ihe(F(t,136).ld())),UP(this.b,F(t,136))},R(Tq,`EcoreEMap/DelegateEObjectContainmentEList`,764),q(1220,141,Mbt,xVe),R(Tq,`EcoreEMap/Unsettable`,1220),q(1221,764,Iq,abe),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Cz(this),_v(this.e)?(e=this.a,this.a=!1,CA(this.e,new PE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(Tq,`EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList`,1221),q(1189,215,eH,ZEe),Q.a=!1,Q.b=!1,R(Tq,`EcoreUtil/Copier`,1189),q(759,1,SB,HNe),Q.Nb=function(e){ES(this,e)},Q.Ob=function(){return CYe(this)},Q.Pb=function(){var e;return CYe(this),e=this.b,this.b=null,e},Q.Qb=function(){this.a.Qb()},R(Tq,`EcoreUtil/ProperContentIterator`,759),q(1528,1527,{},Aie);var _Ht;R(Tq,`EcoreValidator`,1528);var vHt;xx(Tq,`FeatureMapUtil/Validator`),q(1295,1,{2041:1},bre),Q.am=function(e){return!0},R(Tq,`FeatureMapUtil/1`,1295),q(773,1,{2041:1},Vut),Q.am=function(e){var t;return this.c==e?!0:(t=$y(dC(this.a,e)),t==null?krt(this,e)?(_Ie(this.a,e,(Oy(),$J)),!0):(_Ie(this.a,e,(Oy(),QJ)),!1):t==(Oy(),$J))},Q.e=!1;var yHt;R(Tq,`FeatureMapUtil/BasicValidator`,773),q(774,45,eH,pge),R(Tq,`FeatureMapUtil/BasicValidator/Cache`,774),q(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},L_),Q.bd=function(e,t){Btt(this.c,this.b,e,t)},Q.Fc=function(e){return Cit(this.c,this.b,e)},Q.cd=function(e,t){return Nst(this.c,this.b,e,t)},Q.Gc=function(e){return Kv(this,e)},Q.Gi=function(e,t){qze(this.c,this.b,e,t)},Q.Wk=function(e,t){return Trt(this.c,this.b,e,t)},Q.$i=function(e){return cz(this.c,this.b,e,!1)},Q.Ii=function(){return phe(this.c,this.b)},Q.Ji=function(){return mhe(this.c,this.b)},Q.Ki=function(e){return OLe(this.c,this.b,e)},Q.Xk=function(e,t){return uye(this,e,t)},Q.$b=function(){Rf(this)},Q.Hc=function(e){return cE(this.c,this.b,e)},Q.Ic=function(e){return FHe(this.c,this.b,e)},Q.Xb=function(e){return cz(this.c,this.b,e,!0)},Q.Fk=function(e){return this},Q.dd=function(e){return GPe(this.c,this.b,e)},Q.dc=function(){return R_(this)},Q.Qj=function(){return!xN(this.c,this.b)},Q.Kc=function(){return mze(this.c,this.b)},Q.ed=function(){return hze(this.c,this.b)},Q.fd=function(e){return Nqe(this.c,this.b,e)},Q.Ti=function(e,t){return Jat(this.c,this.b,e,t)},Q.Ui=function(e,t){NLe(this.c,this.b,e,t)},Q.gd=function(e){return w3e(this.c,this.b,e)},Q.Mc=function(e){return hit(this.c,this.b,e)},Q.hd=function(e,t){return Sot(this.c,this.b,e,t)},Q.Wb=function(e){lL(this.c,this.b),Kv(this,F(e,15))},Q.gc=function(){return Mqe(this.c,this.b)},Q.Pc=function(){return ZMe(this.c,this.b)},Q.Qc=function(e){return KPe(this.c,this.b,e)},Q.Ib=function(){var e,t=new cm;for(t.a+=`[`,e=phe(this.c,this.b);Ij(e);)X_(t,my(AP(e))),Ij(e)&&(t.a+=hB);return t.a+=`]`,t.a},Q.Gk=function(){lL(this.c,this.b)},R(Tq,`FeatureMapUtil/FeatureEList`,509),q(644,39,Cq,gE),Q.hj=function(e){return EM(this,e)},Q.mj=function(e){var t,n,r,i,a,o,s;switch(this.d){case 1:case 2:if(a=e.jj(),M(a)===M(this.c)&&EM(this,null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0;break;case 3:switch(i=e.gj(),i){case 3:if(a=e.jj(),M(a)===M(this.c)&&EM(this,null)==e.hj(null))return this.d=5,t=new PO(2),gD(t,this.g),gD(t,e.ij()),this.g=t,!0;break}break;case 5:switch(i=e.gj(),i){case 3:if(a=e.jj(),M(a)===M(this.c)&&EM(this,null)==e.hj(null))return n=F(this.g,16),n.Fc(e.ij()),!0;break}break;case 4:switch(i=e.gj(),i){case 3:if(a=e.jj(),M(a)===M(this.c)&&EM(this,null)==e.hj(null))return this.d=1,this.g=e.ij(),!0;break;case 4:if(a=e.jj(),M(a)===M(this.c)&&EM(this,null)==e.hj(null))return this.d=6,s=new PO(2),gD(s,this.n),gD(s,e.kj()),this.n=s,o=W(A(q9,1),bV,28,15,[this.o,e.lj()]),this.g=o,!0;break}break;case 6:switch(i=e.gj(),i){case 4:if(a=e.jj(),M(a)===M(this.c)&&EM(this,null)==e.hj(null))return n=F(this.n,16),n.Fc(e.kj()),o=F(this.g,53),r=H(q9,bV,28,o.length+1,15,1),BR(o,0,r,0,o.length),r[o.length]=e.lj(),this.g=r,!0;break}break}return!1},R(Tq,`FeatureMapUtil/FeatureENotificationImpl`,644),q(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},bx),Q.Ol=function(e,t){return Cit(this.c,e,t)},Q.Pl=function(e,t,n){return Trt(this.c,e,t,n)},Q.Ql=function(e,t,n){return dst(this.c,e,t,n)},Q.Rl=function(){return this},Q.Sl=function(e,t){return sz(this.c,e,t)},Q.Tl=function(e){return F(cz(this.c,this.b,e,!1),76).Lk()},Q.Ul=function(e){return F(cz(this.c,this.b,e,!1),76).md()},Q.Vl=function(){return this.a},Q.Wl=function(e){return!xN(this.c,e)},Q.Xl=function(e,t){pz(this.c,e,t)},Q.Yl=function(e){return NVe(this.c,e)},Q.Zl=function(e){EQe(this.c,e)},R(Tq,`FeatureMapUtil/FeatureFeatureMap`,564),q(1294,1,jbt,dme),Q.Fk=function(e){return cz(this.b,this.a,-1,e)},Q.Qj=function(){return!xN(this.b,this.a)},Q.Wb=function(e){pz(this.b,this.a,e)},Q.Gk=function(){lL(this.b,this.a)},R(Tq,`FeatureMapUtil/FeatureValue`,1294);var h9,bHt,xHt,g9,SHt,_9=xx(fJ,`AnyType`);q(680,63,eV,$p),R(fJ,`InvalidDatatypeValueException`,680);var v9=xx(fJ,ext),y9=xx(fJ,txt),CHt=xx(fJ,nxt),wHt,b9,THt,x9,EHt,DHt,OHt,kHt,AHt,jHt,MHt,NHt,PHt,FHt,IHt,S9,LHt,C9,w9,RHt,T9,E9,D9,zHt,O9,k9;q(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},tce),Q.Lh=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new bA(this,0)),this.c):(!this.c&&(this.c=new bA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new bA(this,0)),F(pT(this.c,(Oz(),x9)),160)):(!this.c&&(this.c=new bA(this,0)),F(F(pT(this.c,(Oz(),x9)),160),220)).Vl();case 2:return n?(!this.b&&(this.b=new bA(this,2)),this.b):(!this.b&&(this.b=new bA(this,2)),this.b.b)}return ND(this,e-uC(this.ii()),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():this.ii(),e),t,n)},Q.Uh=function(e,t,n){var r;switch(t){case 0:return!this.c&&(this.c=new bA(this,0)),wR(this.c,e,n);case 1:return(!this.c&&(this.c=new bA(this,0)),F(F(pT(this.c,(Oz(),x9)),160),71)).Xk(e,n);case 2:return!this.b&&(this.b=new bA(this,2)),wR(this.b,e,n)}return r=F(CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():this.ii(),t),69),r.wk().Ak(this,nze(this),t-uC(this.ii()),e,n)},Q.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new bA(this,0)),F(pT(this.c,(Oz(),x9)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return iE(this,e-uC(this.ii()),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():this.ii(),e))},Q.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new bA(this,0)),US(this.c,t);return;case 1:(!this.c&&(this.c=new bA(this,0)),F(F(pT(this.c,(Oz(),x9)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new bA(this,2)),US(this.b,t);return}sN(this,e-uC(this.ii()),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():this.ii(),e),t)},Q.ii=function(){return Oz(),THt},Q.ki=function(e){switch(e){case 0:!this.c&&(this.c=new bA(this,0)),Cz(this.c);return;case 1:(!this.c&&(this.c=new bA(this,0)),F(pT(this.c,(Oz(),x9)),160)).$b();return;case 2:!this.b&&(this.b=new bA(this,2)),Cz(this.b);return}SM(this,e-uC(this.ii()),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():this.ii(),e))},Q.Ib=function(){var e;return this.j&4?SL(this):(e=new hy(SL(this)),e.a+=` (mixed: `,Y_(e,this.c),e.a+=`, anyAttribute: `,Y_(e,this.b),e.a+=`)`,e.a)},R(pJ,`AnyTypeImpl`,844),q(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},Ws),Q.Lh=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return ND(this,e-uC((Oz(),S9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():S9,e),t,n)},Q.Wh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return iE(this,e-uC((Oz(),S9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():S9,e))},Q.bi=function(e,t){switch(e){case 0:Tae(this,eb(t));return;case 1:Dae(this,eb(t));return}sN(this,e-uC((Oz(),S9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():S9,e),t)},Q.ii=function(){return Oz(),S9},Q.ki=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}SM(this,e-uC((Oz(),S9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():S9,e))},Q.Ib=function(){var e;return this.j&4?SL(this):(e=new hy(SL(this)),e.a+=` (data: `,X_(e,this.a),e.a+=`, target: `,X_(e,this.b),e.a+=`)`,e.a)},Q.a=null,Q.b=null,R(pJ,`ProcessingInstructionImpl`,681),q(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},nce),Q.Lh=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new bA(this,0)),this.c):(!this.c&&(this.c=new bA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new bA(this,0)),F(pT(this.c,(Oz(),x9)),160)):(!this.c&&(this.c=new bA(this,0)),F(F(pT(this.c,(Oz(),x9)),160),220)).Vl();case 2:return n?(!this.b&&(this.b=new bA(this,2)),this.b):(!this.b&&(this.b=new bA(this,2)),this.b.b);case 3:return!this.c&&(this.c=new bA(this,0)),eb(sz(this.c,(Oz(),w9),!0));case 4:return sbe(this.a,(!this.c&&(this.c=new bA(this,0)),eb(sz(this.c,(Oz(),w9),!0))));case 5:return this.a}return ND(this,e-uC((Oz(),C9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():C9,e),t,n)},Q.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new bA(this,0)),F(pT(this.c,(Oz(),x9)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new bA(this,0)),eb(sz(this.c,(Oz(),w9),!0))!=null;case 4:return sbe(this.a,(!this.c&&(this.c=new bA(this,0)),eb(sz(this.c,(Oz(),w9),!0))))!=null;case 5:return!!this.a}return iE(this,e-uC((Oz(),C9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():C9,e))},Q.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new bA(this,0)),US(this.c,t);return;case 1:(!this.c&&(this.c=new bA(this,0)),F(F(pT(this.c,(Oz(),x9)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new bA(this,2)),US(this.b,t);return;case 3:XMe(this,eb(t));return;case 4:XMe(this,obe(this.a,t));return;case 5:Eae(this,F(t,156));return}sN(this,e-uC((Oz(),C9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():C9,e),t)},Q.ii=function(){return Oz(),C9},Q.ki=function(e){switch(e){case 0:!this.c&&(this.c=new bA(this,0)),Cz(this.c);return;case 1:(!this.c&&(this.c=new bA(this,0)),F(pT(this.c,(Oz(),x9)),160)).$b();return;case 2:!this.b&&(this.b=new bA(this,2)),Cz(this.b);return;case 3:!this.c&&(this.c=new bA(this,0)),pz(this.c,(Oz(),w9),null);return;case 4:XMe(this,obe(this.a,null));return;case 5:this.a=null;return}SM(this,e-uC((Oz(),C9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():C9,e))},R(pJ,`SimpleAnyTypeImpl`,682),q(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},rce),Q.Lh=function(e,t,n){switch(e){case 0:return n?(!this.a&&(this.a=new bA(this,0)),this.a):(!this.a&&(this.a=new bA(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new xD((iB(),a9),u9,this,1)),this.b):(!this.b&&(this.b=new xD((iB(),a9),u9,this,1)),uD(this.b));case 2:return n?(!this.c&&(this.c=new xD((iB(),a9),u9,this,2)),this.c):(!this.c&&(this.c=new xD((iB(),a9),u9,this,2)),uD(this.c));case 3:return!this.a&&(this.a=new bA(this,0)),pT(this.a,(Oz(),E9));case 4:return!this.a&&(this.a=new bA(this,0)),pT(this.a,(Oz(),D9));case 5:return!this.a&&(this.a=new bA(this,0)),pT(this.a,(Oz(),O9));case 6:return!this.a&&(this.a=new bA(this,0)),pT(this.a,(Oz(),k9))}return ND(this,e-uC((Oz(),T9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():T9,e),t,n)},Q.Uh=function(e,t,n){var r;switch(t){case 0:return!this.a&&(this.a=new bA(this,0)),wR(this.a,e,n);case 1:return!this.b&&(this.b=new xD((iB(),a9),u9,this,1)),Ab(this.b,e,n);case 2:return!this.c&&(this.c=new xD((iB(),a9),u9,this,2)),Ab(this.c,e,n);case 5:return!this.a&&(this.a=new bA(this,0)),uye(pT(this.a,(Oz(),O9)),e,n)}return r=F(CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():(Oz(),T9),t),69),r.wk().Ak(this,nze(this),t-uC((Oz(),T9)),e,n)},Q.Wh=function(e){switch(e){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 bA(this,0)),!R_(pT(this.a,(Oz(),E9)));case 4:return!this.a&&(this.a=new bA(this,0)),!R_(pT(this.a,(Oz(),D9)));case 5:return!this.a&&(this.a=new bA(this,0)),!R_(pT(this.a,(Oz(),O9)));case 6:return!this.a&&(this.a=new bA(this,0)),!R_(pT(this.a,(Oz(),k9)))}return iE(this,e-uC((Oz(),T9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():T9,e))},Q.bi=function(e,t){switch(e){case 0:!this.a&&(this.a=new bA(this,0)),US(this.a,t);return;case 1:!this.b&&(this.b=new xD((iB(),a9),u9,this,1)),pA(this.b,t);return;case 2:!this.c&&(this.c=new xD((iB(),a9),u9,this,2)),pA(this.c,t);return;case 3:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),E9))),!this.a&&(this.a=new bA(this,0)),Kv(pT(this.a,E9),F(t,16));return;case 4:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),D9))),!this.a&&(this.a=new bA(this,0)),Kv(pT(this.a,D9),F(t,16));return;case 5:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),O9))),!this.a&&(this.a=new bA(this,0)),Kv(pT(this.a,O9),F(t,16));return;case 6:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),k9))),!this.a&&(this.a=new bA(this,0)),Kv(pT(this.a,k9),F(t,16));return}sN(this,e-uC((Oz(),T9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():T9,e),t)},Q.ii=function(){return Oz(),T9},Q.ki=function(e){switch(e){case 0:!this.a&&(this.a=new bA(this,0)),Cz(this.a);return;case 1:!this.b&&(this.b=new xD((iB(),a9),u9,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new xD((iB(),a9),u9,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),E9)));return;case 4:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),D9)));return;case 5:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),O9)));return;case 6:!this.a&&(this.a=new bA(this,0)),Rf(pT(this.a,(Oz(),k9)));return}SM(this,e-uC((Oz(),T9)),CO(this.j&2?(!this.k&&(this.k=new Mc),this.k).Nk():T9,e))},Q.Ib=function(){var e;return this.j&4?SL(this):(e=new hy(SL(this)),e.a+=` (mixed: `,Y_(e,this.a),e.a+=`)`,e.a)},R(pJ,`XMLTypeDocumentRootImpl`,683),q(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},xre),Q.ri=function(e,t){switch(e.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:aN(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return eb(t);case 6:return Mve(F(t,195));case 12:case 47:case 49:case 11:return Plt(this,e,t);case 13:return t==null?null:Rst(F(t,247));case 15:case 14:return t==null?null:HEe(k(P(t)));case 17:return x0e((Oz(),t));case 18:return x0e(t);case 21:case 20:return t==null?null:UEe(F(t,161).a);case 27:return Nve(F(t,195));case 30:return DQe((Oz(),F(t,15)));case 31:return DQe(F(t,15));case 40:return Fve((Oz(),t));case 42:return S0e((Oz(),t));case 43:return S0e(t);case 59:case 48:return Pve((Oz(),t));default:throw O(new Kp(HK+e.xe()+UK))}},Q.si=function(e){var t,n,r,i,a;switch(e.G==-1&&(e.G=(n=IO(e),n?jP(n.vi(),e):-1)),e.G){case 0:return t=new tce,t;case 1:return r=new Ws,r;case 2:return i=new nce,i;case 3:return a=new rce,a;default:throw O(new Kp(KK+e.zb+UK))}},Q.ti=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;switch(e.hk()){case 5:case 52:case 4:return t;case 6:return YXe(t);case 8:case 7:return t==null?null:F0e(t);case 9:return t==null?null:tO(AR((r=dz(t,!0),r.length>0&&(CT(0,r.length),r.charCodeAt(0)==43)?(CT(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:tO(AR((i=dz(t,!0),i.length>0&&(CT(0,i.length),i.charCodeAt(0)==43)?(CT(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 11:return eb(Jz(this,(Oz(),OHt),t));case 12:return eb(Jz(this,(Oz(),kHt),t));case 13:return t==null?null:new Cue(dz(t,!0));case 15:case 14:return M9e(t);case 16:return eb(Jz(this,(Oz(),AHt),t));case 17:return FYe((Oz(),t));case 18:return FYe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return dz(t,!0);case 21:case 20:return G9e(t);case 22:return eb(Jz(this,(Oz(),jHt),t));case 23:return eb(Jz(this,(Oz(),MHt),t));case 24:return eb(Jz(this,(Oz(),NHt),t));case 25:return eb(Jz(this,(Oz(),PHt),t));case 26:return eb(Jz(this,(Oz(),FHt),t));case 27:return jXe(t);case 30:return IYe((Oz(),t));case 31:return IYe(t);case 32:return t==null?null:dM(AR((u=dz(t,!0),u.length>0&&(CT(0,u.length),u.charCodeAt(0)==43)?(CT(1,u.length+1),u.substr(1)):u),$B,dB));case 33:return t==null?null:new Dv((d=dz(t,!0),d.length>0&&(CT(0,d.length),d.charCodeAt(0)==43)?(CT(1,d.length+1),d.substr(1)):d));case 34:return t==null?null:dM(AR((f=dz(t,!0),f.length>0&&(CT(0,f.length),f.charCodeAt(0)==43)?(CT(1,f.length+1),f.substr(1)):f),$B,dB));case 36:return t==null?null:XN(Uz((p=dz(t,!0),p.length>0&&(CT(0,p.length),p.charCodeAt(0)==43)?(CT(1,p.length+1),p.substr(1)):p)));case 37:return t==null?null:XN(Uz((m=dz(t,!0),m.length>0&&(CT(0,m.length),m.charCodeAt(0)==43)?(CT(1,m.length+1),m.substr(1)):m)));case 40:return cQe((Oz(),t));case 42:return LYe((Oz(),t));case 43:return LYe(t);case 44:return t==null?null:new Dv((h=dz(t,!0),h.length>0&&(CT(0,h.length),h.charCodeAt(0)==43)?(CT(1,h.length+1),h.substr(1)):h));case 45:return t==null?null:new Dv((g=dz(t,!0),g.length>0&&(CT(0,g.length),g.charCodeAt(0)==43)?(CT(1,g.length+1),g.substr(1)):g));case 46:return dz(t,!1);case 47:return eb(Jz(this,(Oz(),IHt),t));case 59:case 48:return sQe((Oz(),t));case 49:return eb(Jz(this,(Oz(),LHt),t));case 50:return t==null?null:fM(AR((_=dz(t,!0),_.length>0&&(CT(0,_.length),_.charCodeAt(0)==43)?(CT(1,_.length+1),_.substr(1)):_),qq,32767)<<16>>16);case 51:return t==null?null:fM(AR((a=dz(t,!0),a.length>0&&(CT(0,a.length),a.charCodeAt(0)==43)?(CT(1,a.length+1),a.substr(1)):a),qq,32767)<<16>>16);case 53:return eb(Jz(this,(Oz(),RHt),t));case 55:return t==null?null:fM(AR((o=dz(t,!0),o.length>0&&(CT(0,o.length),o.charCodeAt(0)==43)?(CT(1,o.length+1),o.substr(1)):o),qq,32767)<<16>>16);case 56:return t==null?null:fM(AR((s=dz(t,!0),s.length>0&&(CT(0,s.length),s.charCodeAt(0)==43)?(CT(1,s.length+1),s.substr(1)):s),qq,32767)<<16>>16);case 57:return t==null?null:XN(Uz((c=dz(t,!0),c.length>0&&(CT(0,c.length),c.charCodeAt(0)==43)?(CT(1,c.length+1),c.substr(1)):c)));case 58:return t==null?null:XN(Uz((l=dz(t,!0),l.length>0&&(CT(0,l.length),l.charCodeAt(0)==43)?(CT(1,l.length+1),l.substr(1)):l)));case 60:return t==null?null:dM(AR((n=dz(t,!0),n.length>0&&(CT(0,n.length),n.charCodeAt(0)==43)?(CT(1,n.length+1),n.substr(1)):n),$B,dB));case 61:return t==null?null:dM(AR(dz(t,!0),$B,dB));default:throw O(new Kp(HK+e.xe()+UK))}};var BHt,VHt,HHt,UHt;R(pJ,`XMLTypeFactoryImpl`,2028),q(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},XDe),Q.N=!1,Q.O=!1;var WHt=!1;R(pJ,`XMLTypePackageImpl`,594),q(1961,1,{851:1},Sre),Q.Kk=function(){return Uat(),lUt},R(pJ,`XMLTypePackageImpl/1`,1961),q(1970,1,Zq,Bs),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/10`,1970),q(1971,1,Zq,Cre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/11`,1971),q(1972,1,Zq,wre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/12`,1972),q(1973,1,Zq,Vs),Q.fk=function(e){return H_(e)},Q.gk=function(e){return H(rY,X,345,e,7,1)},R(pJ,`XMLTypePackageImpl/13`,1973),q(1974,1,Zq,Hs),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/14`,1974),q(1975,1,Zq,Tre),Q.fk=function(e){return N(e,15)},Q.gk=function(e){return H(IJ,aU,15,e,0,1)},R(pJ,`XMLTypePackageImpl/15`,1975),q(1976,1,Zq,Ere),Q.fk=function(e){return N(e,15)},Q.gk=function(e){return H(IJ,aU,15,e,0,1)},R(pJ,`XMLTypePackageImpl/16`,1976),q(1977,1,Zq,Us),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/17`,1977),q(1978,1,Zq,Dre),Q.fk=function(e){return N(e,161)},Q.gk=function(e){return H(iY,X,161,e,0,1)},R(pJ,`XMLTypePackageImpl/18`,1978),q(1979,1,Zq,Gs),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/19`,1979),q(1962,1,Zq,Ore),Q.fk=function(e){return N(e,857)},Q.gk=function(e){return H(_9,gB,857,e,0,1)},R(pJ,`XMLTypePackageImpl/2`,1962),q(1980,1,Zq,Ks),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/20`,1980),q(1981,1,Zq,qs),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/21`,1981),q(1982,1,Zq,kre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/22`,1982),q(1983,1,Zq,Are),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/23`,1983),q(1984,1,Zq,jre),Q.fk=function(e){return N(e,195)},Q.gk=function(e){return H(X9,X,195,e,0,2)},R(pJ,`XMLTypePackageImpl/24`,1984),q(1985,1,Zq,Mre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/25`,1985),q(1986,1,Zq,Js),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/26`,1986),q(1987,1,Zq,Nre),Q.fk=function(e){return N(e,15)},Q.gk=function(e){return H(IJ,aU,15,e,0,1)},R(pJ,`XMLTypePackageImpl/27`,1987),q(1988,1,Zq,Pre),Q.fk=function(e){return N(e,15)},Q.gk=function(e){return H(IJ,aU,15,e,0,1)},R(pJ,`XMLTypePackageImpl/28`,1988),q(1989,1,Zq,Ys),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/29`,1989),q(1963,1,Zq,Xs),Q.fk=function(e){return N(e,681)},Q.gk=function(e){return H(v9,gB,2119,e,0,1)},R(pJ,`XMLTypePackageImpl/3`,1963),q(1990,1,Zq,Zs),Q.fk=function(e){return N(e,17)},Q.gk=function(e){return H(aY,X,17,e,0,1)},R(pJ,`XMLTypePackageImpl/30`,1990),q(1991,1,Zq,Qs),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/31`,1991),q(1992,1,Zq,Fre),Q.fk=function(e){return N(e,168)},Q.gk=function(e){return H(oY,X,168,e,0,1)},R(pJ,`XMLTypePackageImpl/32`,1992),q(1993,1,Zq,Ire),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/33`,1993),q(1994,1,Zq,$s),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/34`,1994),q(1995,1,Zq,Lre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/35`,1995),q(1996,1,Zq,Rre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/36`,1996),q(1997,1,Zq,ec),Q.fk=function(e){return N(e,15)},Q.gk=function(e){return H(IJ,aU,15,e,0,1)},R(pJ,`XMLTypePackageImpl/37`,1997),q(1998,1,Zq,zre),Q.fk=function(e){return N(e,15)},Q.gk=function(e){return H(IJ,aU,15,e,0,1)},R(pJ,`XMLTypePackageImpl/38`,1998),q(1999,1,Zq,tc),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/39`,1999),q(1964,1,Zq,Bre),Q.fk=function(e){return N(e,682)},Q.gk=function(e){return H(y9,gB,2120,e,0,1)},R(pJ,`XMLTypePackageImpl/4`,1964),q(2e3,1,Zq,nc),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/40`,2e3),q(2001,1,Zq,Vre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/41`,2001),q(2002,1,Zq,rc),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/42`,2002),q(2003,1,Zq,ic),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/43`,2003),q(2004,1,Zq,Hre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/44`,2004),q(2005,1,Zq,Ure),Q.fk=function(e){return N(e,191)},Q.gk=function(e){return H(cY,X,191,e,0,1)},R(pJ,`XMLTypePackageImpl/45`,2005),q(2006,1,Zq,Wre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/46`,2006),q(2007,1,Zq,Gre),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/47`,2007),q(2008,1,Zq,ac),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/48`,2008),q(2009,1,Zq,oc),Q.fk=function(e){return N(e,191)},Q.gk=function(e){return H(cY,X,191,e,0,1)},R(pJ,`XMLTypePackageImpl/49`,2009),q(1965,1,Zq,sc),Q.fk=function(e){return N(e,683)},Q.gk=function(e){return H(CHt,gB,2121,e,0,1)},R(pJ,`XMLTypePackageImpl/5`,1965),q(2010,1,Zq,cc),Q.fk=function(e){return N(e,168)},Q.gk=function(e){return H(oY,X,168,e,0,1)},R(pJ,`XMLTypePackageImpl/50`,2010),q(2011,1,Zq,lc),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/51`,2011),q(2012,1,Zq,Kre),Q.fk=function(e){return N(e,17)},Q.gk=function(e){return H(aY,X,17,e,0,1)},R(pJ,`XMLTypePackageImpl/52`,2012),q(1966,1,Zq,uc),Q.fk=function(e){return B_(e)},Q.gk=function(e){return H(lY,X,2,e,6,1)},R(pJ,`XMLTypePackageImpl/6`,1966),q(1967,1,Zq,dc),Q.fk=function(e){return N(e,195)},Q.gk=function(e){return H(X9,X,195,e,0,2)},R(pJ,`XMLTypePackageImpl/7`,1967),q(1968,1,Zq,qre),Q.fk=function(e){return V_(e)},Q.gk=function(e){return H(eY,X,485,e,8,1)},R(pJ,`XMLTypePackageImpl/8`,1968),q(1969,1,Zq,Jre),Q.fk=function(e){return N(e,222)},Q.gk=function(e){return H(tY,X,222,e,0,1)},R(pJ,`XMLTypePackageImpl/9`,1969);var A9,j9,M9,N9,$;q(55,63,eV,em),R(bJ,`RegEx/ParseException`,55),q(836,1,{},fc),Q.bm=function(e){return en*16)throw O(new em(oB((Iv(),nbt))));n=n*16+i}while(!0);if(this.a!=125)throw O(new em(oB((Iv(),rbt))));if(n>xJ)throw O(new em(oB((Iv(),ibt))));e=n}else{if(i=0,this.c!=0||(i=XP(this.a))<0||(n=i,Qz(this),this.c!=0||(i=XP(this.a))<0))throw O(new em(oB((Iv(),xq))));n=n*16+i,e=n}break;case 117:if(r=0,Qz(this),this.c!=0||(r=XP(this.a))<0||(t=r,Qz(this),this.c!=0||(r=XP(this.a))<0)||(t=t*16+r,Qz(this),this.c!=0||(r=XP(this.a))<0)||(t=t*16+r,Qz(this),this.c!=0||(r=XP(this.a))<0))throw O(new em(oB((Iv(),xq))));t=t*16+r,e=t;break;case 118:if(Qz(this),this.c!=0||(r=XP(this.a))<0||(t=r,Qz(this),this.c!=0||(r=XP(this.a))<0)||(t=t*16+r,Qz(this),this.c!=0||(r=XP(this.a))<0)||(t=t*16+r,Qz(this),this.c!=0||(r=XP(this.a))<0)||(t=t*16+r,Qz(this),this.c!=0||(r=XP(this.a))<0)||(t=t*16+r,Qz(this),this.c!=0||(r=XP(this.a))<0))throw O(new em(oB((Iv(),xq))));if(t=t*16+r,t>xJ)throw O(new em(oB((Iv(),`parser.descappe.4`))));e=t;break;case 65:case 90:case 122:throw O(new em(oB((Iv(),abt))))}return e},Q.dm=function(e){var t,n;switch(e){case 100:n=(this.e&32)==32?Wz(`Nd`,!0):(nB(),z9);break;case 68:n=(this.e&32)==32?Wz(`Nd`,!1):(nB(),QHt);break;case 119:n=(this.e&32)==32?Wz(`IsWord`,!0):(nB(),U9);break;case 87:n=(this.e&32)==32?Wz(`IsWord`,!1):(nB(),eUt);break;case 115:n=(this.e&32)==32?Wz(`IsSpace`,!0):(nB(),H9);break;case 83:n=(this.e&32)==32?Wz(`IsSpace`,!1):(nB(),$Ht);break;default:throw O(new jp((t=e,Sxt+t.toString(16))))}return n},Q.em=function(e){var t,n,r,i,a,o,s,c,l,u,d,f;for(this.b=1,Qz(this),t=null,this.c==0&&this.a==94?(Qz(this),e?u=(nB(),nB(),++W9,new kT(5)):(t=(nB(),nB(),++W9,new kT(4)),QL(t,0,xJ),u=(++W9,new kT(4)))):u=(nB(),nB(),++W9,new kT(4)),i=!0;(f=this.c)!=1&&!(f==0&&this.a==93&&!i);){if(i=!1,n=this.a,r=!1,f==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:fz(u,this.dm(n)),r=!0;break;case 105:case 73:case 99:case 67:n=this.um(u,n),n<0&&(r=!0);break;case 112:case 80:if(d=P8e(this,n),!d)throw O(new em(oB((Iv(),Kyt))));fz(u,d),r=!0;break;default:n=this.cm()}else if(f==20){if(o=Ly(this.i,58,this.d),o<0)throw O(new em(oB((Iv(),qyt))));if(s=!0,KC(this.i,this.d)==94&&(++this.d,s=!1),a=jw(this.i,this.d,o),c=YLe(a,s,(this.e&512)==512),!c)throw O(new em(oB((Iv(),Jyt))));if(fz(u,c),r=!0,o+1>=this.j||KC(this.i,o+1)!=93)throw O(new em(oB((Iv(),qyt))));this.d=o+2}if(Qz(this),!r)if(this.c!=0||this.a!=45)QL(u,n,n);else{if(Qz(this),(f=this.c)==1)throw O(new em(oB((Iv(),bq))));f==0&&this.a==93?(QL(u,n,n),QL(u,45,45)):(l=this.a,f==10&&(l=this.cm()),Qz(this),QL(u,n,l))}(this.e&GB)==GB&&this.c==0&&this.a==44&&Qz(this)}if(this.c==1)throw O(new em(oB((Iv(),bq))));return t&&(jz(t,u),u=t),xL(u),bz(u),this.b=0,Qz(this),u},Q.fm=function(){for(var e,t,n=this.em(!1),r;(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(Qz(this),this.c!=9)throw O(new em(oB((Iv(),$yt))));if(t=this.em(!1),r==4)fz(n,t);else if(e==45)jz(n,t);else if(e==38)ylt(n,t);else throw O(new jp(`ASSERT`))}else throw O(new em(oB((Iv(),ebt))));return Qz(this),n},Q.gm=function(){var e=this.a-48,t=(nB(),nB(),++W9,new Fw(12,null,e));return!this.g&&(this.g=new Wf),Ff(this.g,new qd(e)),Qz(this),t},Q.hm=function(){return Qz(this),nB(),nUt},Q.im=function(){return Qz(this),nB(),tUt},Q.jm=function(){throw O(new em(oB((Iv(),Sq))))},Q.km=function(){throw O(new em(oB((Iv(),Sq))))},Q.lm=function(){return Qz(this),oGe()},Q.mm=function(){return Qz(this),nB(),iUt},Q.nm=function(){return Qz(this),nB(),oUt},Q.om=function(){var e;if(this.d>=this.j||((e=KC(this.i,this.d++))&65504)!=64)throw O(new em(oB((Iv(),Hyt))));return Qz(this),nB(),nB(),++W9,new Rx(0,e-64)},Q.pm=function(){return Qz(this),pot()},Q.qm=function(){return Qz(this),nB(),sUt},Q.rm=function(){var e=(nB(),nB(),++W9,new Rx(0,105));return Qz(this),e},Q.sm=function(){return Qz(this),nB(),aUt},Q.tm=function(){return Qz(this),nB(),rUt},Q.um=function(e,t){return this.cm()},Q.vm=function(){return Qz(this),nB(),XHt},Q.wm=function(){var e,t,n,r,i;if(this.d+1>=this.j)throw O(new em(oB((Iv(),zyt))));if(r=-1,t=null,e=KC(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new Wf),Ff(this.g,new qd(r)),++this.d,KC(this.i,this.d)!=41)throw O(new em(oB((Iv(),yq))));++this.d}else switch(e==63&&--this.d,Qz(this),t=mft(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw O(new em(oB((Iv(),yq))));break;default:throw O(new em(oB((Iv(),Byt))))}if(Qz(this),i=UN(this),n=null,i.e==2){if(i.Pm()!=2)throw O(new em(oB((Iv(),Vyt))));n=i.Lm(1),i=i.Lm(0)}if(this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),nB(),nB(),++W9,new sze(r,t,i,n)},Q.xm=function(){return Qz(this),nB(),ZHt},Q.ym=function(){var e;if(Qz(this),e=wS(24,UN(this)),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),e},Q.zm=function(){var e;if(Qz(this),e=wS(20,UN(this)),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),e},Q.Am=function(){var e;if(Qz(this),e=wS(22,UN(this)),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),e},Q.Bm=function(){var e=0,t,n=0,r,i;for(t=-1;this.d=this.j)throw O(new em(oB((Iv(),Lyt))));if(t==45){for(++this.d;this.d=this.j)throw O(new em(oB((Iv(),Lyt))))}if(t==58){if(++this.d,Qz(this),r=nDe(UN(this),e,n),this.c!=7)throw O(new em(oB((Iv(),yq))));Qz(this)}else if(t==41)++this.d,Qz(this),r=nDe(UN(this),e,n);else throw O(new em(oB((Iv(),Ryt))));return r},Q.Cm=function(){var e;if(Qz(this),e=wS(21,UN(this)),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),e},Q.Dm=function(){var e;if(Qz(this),e=wS(23,UN(this)),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),e},Q.Em=function(){var e,t;if(Qz(this),e=this.f++,t=TS(UN(this),e),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),t},Q.Fm=function(){var e;if(Qz(this),e=TS(UN(this),0),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),e},Q.Gm=function(e){return Qz(this),this.c==5?(Qz(this),Lx(e,(nB(),nB(),++W9,new pE(9,e)))):Lx(e,(nB(),nB(),++W9,new pE(3,e)))},Q.Hm=function(e){var t;return Qz(this),t=(nB(),nB(),++W9,new Nv(2)),this.c==5?(Qz(this),Sz(t,B9),Sz(t,e)):(Sz(t,e),Sz(t,B9)),t},Q.Im=function(e){return Qz(this),this.c==5?(Qz(this),nB(),nB(),++W9,new pE(9,e)):(nB(),nB(),++W9,new pE(3,e))},Q.a=0,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=1,Q.g=null,Q.j=0,R(bJ,`RegEx/RegexParser`,836),q(1947,836,{},ice),Q.bm=function(e){return!1},Q.cm=function(){return Fnt(this)},Q.dm=function(e){return jR(e)},Q.em=function(e){return Pft(this)},Q.fm=function(){throw O(new em(oB((Iv(),Sq))))},Q.gm=function(){throw O(new em(oB((Iv(),Sq))))},Q.hm=function(){throw O(new em(oB((Iv(),Sq))))},Q.im=function(){throw O(new em(oB((Iv(),Sq))))},Q.jm=function(){return Qz(this),jR(67)},Q.km=function(){return Qz(this),jR(73)},Q.lm=function(){throw O(new em(oB((Iv(),Sq))))},Q.mm=function(){throw O(new em(oB((Iv(),Sq))))},Q.nm=function(){throw O(new em(oB((Iv(),Sq))))},Q.om=function(){return Qz(this),jR(99)},Q.pm=function(){throw O(new em(oB((Iv(),Sq))))},Q.qm=function(){throw O(new em(oB((Iv(),Sq))))},Q.rm=function(){return Qz(this),jR(105)},Q.sm=function(){throw O(new em(oB((Iv(),Sq))))},Q.tm=function(){throw O(new em(oB((Iv(),Sq))))},Q.um=function(e,t){return fz(e,jR(t)),-1},Q.vm=function(){return Qz(this),nB(),nB(),++W9,new Rx(0,94)},Q.wm=function(){throw O(new em(oB((Iv(),Sq))))},Q.xm=function(){return Qz(this),nB(),nB(),++W9,new Rx(0,36)},Q.ym=function(){throw O(new em(oB((Iv(),Sq))))},Q.zm=function(){throw O(new em(oB((Iv(),Sq))))},Q.Am=function(){throw O(new em(oB((Iv(),Sq))))},Q.Bm=function(){throw O(new em(oB((Iv(),Sq))))},Q.Cm=function(){throw O(new em(oB((Iv(),Sq))))},Q.Dm=function(){throw O(new em(oB((Iv(),Sq))))},Q.Em=function(){var e;if(Qz(this),e=TS(UN(this),0),this.c!=7)throw O(new em(oB((Iv(),yq))));return Qz(this),e},Q.Fm=function(){throw O(new em(oB((Iv(),Sq))))},Q.Gm=function(e){return Qz(this),Lx(e,(nB(),nB(),++W9,new pE(3,e)))},Q.Hm=function(e){var t;return Qz(this),t=(nB(),nB(),++W9,new Nv(2)),Sz(t,e),Sz(t,B9),t},Q.Im=function(e){return Qz(this),nB(),nB(),++W9,new pE(3,e)};var P9=null,F9=null;R(bJ,`RegEx/ParserForXMLSchema`,1947),q(122,1,kJ,Jd),Q.Jm=function(e){throw O(new jp(`Not supported.`))},Q.Km=function(){return-1},Q.Lm=function(e){return null},Q.Mm=function(){return null},Q.Nm=function(e){},Q.Om=function(e){},Q.Pm=function(){return 0},Q.Ib=function(){return this.Qm(0)},Q.Qm=function(e){return this.e==11?`.`:``},Q.e=0;var GHt,I9,L9,KHt,qHt,R9=null,z9,JHt=null,YHt,B9,V9=null,XHt,ZHt,QHt,$Ht,eUt,tUt,H9,nUt,rUt,iUt,aUt,U9,oUt,sUt,W9=0,cUt=R(bJ,`RegEx/Token`,122);q(138,122,{3:1,138:1,122:1},kT),Q.Qm=function(e){var t,n,r;if(this.e==4)if(this==YHt)n=`.`;else if(this==z9)n=`\\d`;else if(this==U9)n=`\\w`;else if(this==H9)n=`\\s`;else{for(r=new cm,r.a+=`[`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?X_(r,YR(this.b[t])):(X_(r,YR(this.b[t])),r.a+=`-`,X_(r,YR(this.b[t+1])));r.a+=`]`,n=r.a}else if(this==QHt)n=`\\D`;else if(this==eUt)n=`\\W`;else if(this==$Ht)n=`\\S`;else{for(r=new cm,r.a+=`[^`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?X_(r,YR(this.b[t])):(X_(r,YR(this.b[t])),r.a+=`-`,X_(r,YR(this.b[t+1])));r.a+=`]`,n=r.a}return n},Q.a=!1,Q.c=!1,R(bJ,`RegEx/RangeToken`,138),q(592,1,{592:1},qd),Q.a=0,R(bJ,`RegEx/RegexParser/ReferencePosition`,592),q(591,1,{3:1,591:1},Bue),Q.Fb=function(e){var t;return e==null||!N(e,591)?!1:(t=F(e,591),Db(this.b,t.b)&&this.a==t.a)},Q.Hb=function(){return wj(this.b+`/`+itt(this.a))},Q.Ib=function(){return this.c.Qm(this.a)},Q.a=0,R(bJ,`RegEx/RegularExpression`,591),q(228,122,kJ,Rx),Q.Km=function(){return this.a},Q.Qm=function(e){var t,n,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=`\\`+yb(this.a&oV);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>=WV?(n=(t=this.a>>>0,`0`+t.toString(16)),r=`\\v`+jw(n,n.length-6,n.length)):r=``+yb(this.a&oV)}break;case 8:r=this==XHt||this==ZHt?``+yb(this.a&oV):`\\`+yb(this.a&oV);break;default:r=null}return r},Q.a=0,R(bJ,`RegEx/Token/CharToken`,228),q(318,122,kJ,pE),Q.Lm=function(e){return this.a},Q.Nm=function(e){this.b=e},Q.Om=function(e){this.c=e},Q.Pm=function(){return 1},Q.Qm=function(e){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Qm(e)+`*`;else if(this.c==this.b)t=this.a.Qm(e)+`{`+this.c+`}`;else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+`{`+this.c+`,`+this.b+`}`;else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+`{`+this.c+`,}`;else throw O(new jp(`Token#toString(): CLOSURE `+this.c+hB+this.b));else if(this.c<0&&this.b<0)t=this.a.Qm(e)+`*?`;else if(this.c==this.b)t=this.a.Qm(e)+`{`+this.c+`}?`;else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+`{`+this.c+`,`+this.b+`}?`;else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+`{`+this.c+`,}?`;else throw O(new jp(`Token#toString(): NONGREEDYCLOSURE `+this.c+hB+this.b));return t},Q.b=0,Q.c=0,R(bJ,`RegEx/Token/ClosureToken`,318),q(837,122,kJ,OEe),Q.Lm=function(e){return e==0?this.a:this.b},Q.Pm=function(){return 2},Q.Qm=function(e){return this.b.e==3&&this.b.Lm(0)==this.a?this.a.Qm(e)+`+`:this.b.e==9&&this.b.Lm(0)==this.a?this.a.Qm(e)+`+?`:this.a.Qm(e)+(``+this.b.Qm(e))},R(bJ,`RegEx/Token/ConcatToken`,837),q(1945,122,kJ,sze),Q.Lm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw O(new jp(`Internal Error: `+e))},Q.Pm=function(){return this.b?2:1},Q.Qm=function(e){var t=this.c>0?`(?(`+this.c+`)`:this.a.e==8?`(?(`+this.a+`)`:`(?`+this.a;return this.b?t+=this.d+`|`+this.b+`)`:t+=this.d+`)`,t},Q.c=0,R(bJ,`RegEx/Token/ConditionToken`,1945),q(1946,122,kJ,bMe),Q.Lm=function(e){return this.b},Q.Pm=function(){return 1},Q.Qm=function(e){return`(?`+(this.a==0?``:itt(this.a))+(this.c==0?``:itt(this.c))+`:`+this.b.Qm(e)+`)`},Q.a=0,Q.c=0,R(bJ,`RegEx/Token/ModifierToken`,1946),q(838,122,kJ,xDe),Q.Lm=function(e){return this.a},Q.Pm=function(){return 1},Q.Qm=function(e){var t=null;switch(this.e){case 6:t=this.b==0?`(?:`+this.a.Qm(e)+`)`:`(`+this.a.Qm(e)+`)`;break;case 20:t=`(?=`+this.a.Qm(e)+`)`;break;case 21:t=`(?!`+this.a.Qm(e)+`)`;break;case 22:t=`(?<=`+this.a.Qm(e)+`)`;break;case 23:t=`(?`+this.a.Qm(e)+`)`}return t},Q.b=0,R(bJ,`RegEx/Token/ParenToken`,838),q(530,122,{3:1,122:1,530:1},Fw),Q.Mm=function(){return this.b},Q.Qm=function(e){return this.e==12?`\\`+this.a:f9e(this.b)},Q.a=0,R(bJ,`RegEx/Token/StringToken`,530),q(477,122,kJ,Nv),Q.Jm=function(e){Sz(this,e)},Q.Lm=function(e){return F(CC(this.a,e),122)},Q.Pm=function(){return this.a?this.a.a.c.length:0},Q.Qm=function(e){var t,n,r,i,a;if(this.e==1){if(this.a.a.c.length==2)t=F(CC(this.a,0),122),n=F(CC(this.a,1),122),i=n.e==3&&n.Lm(0)==t?t.Qm(e)+`+`:n.e==9&&n.Lm(0)==t?t.Qm(e)+`+?`:t.Qm(e)+(``+n.Qm(e));else{for(a=new cm,r=0;r=this.c.b:this.a<=this.c.b},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Vb=function(){return this.b-1},Q.Qb=function(){throw O(new Yp(jxt))},Q.a=0,Q.b=0,R(Oxt,`ExclusiveRange/RangeIterator`,258);var K9=jC(kq,`C`),q9=jC(Mq,`I`),J9=jC(cB,`Z`),Y9=jC(Nq,`J`),X9=jC(Oq,`B`),Z9=jC(Aq,`D`),Q9=jC(jq,`F`),$9=jC(Pq,`S`),uUt=xx(`org.eclipse.elk.core.labels`,`ILabelManager`),dUt=xx(rq,`DiagnosticChain`),fUt=xx(Ybt,`ResourceSet`),pUt=R(rq,`InvocationTargetException`,null),mUt=(sm(),ZFe),hUt=hUt=c0e;vVe(kse),oVe(`permProps`,[[[`locale`,`default`],[Mxt,`gecko1_8`]],[[`locale`,`default`],[Mxt,`safari`]]]),hUt(null,`elk`,null)}).call(this)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}],3:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function i(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function a(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(t){a(n,t);function n(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,n);var a=Object.assign({},t),o=!1;try{e.resolve(`web-worker`),o=!0}catch{}if(t.workerUrl)if(o){var s=e(`web-worker`);a.workerFactory=function(e){return new s(e)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +`)}return[]}function IQe(e){var t=($Be(),uSt);return 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 LQe(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=dWe(r.Math.max(8,i))<<1,e.b==0?kf(e.a,n):(t=jb(e.a,n),HVe(e,t,i),e.a=t,e.b=0),e.c=i)}function RQe(e,t){var n=e.b;return n.pf((dB(),U6))?n.ag()==(Qz(),w5)?-n.Mf().a-A(F(n.of(U6))):t+A(F(n.of(U6))):n.ag()==(Qz(),w5)?-n.Mf().a:t}function xF(e){var t;return e.b.c.length!=0&&I(zx(e.b,0),72).a?I(zx(e.b,0),72).a:(t=uw(e),t??``+(e.c?QD(e.c.a,e,0):-1))}function SF(e){var t;return e.f.c.length!=0&&I(zx(e.f,0),72).a?I(zx(e.f,0),72).a:(t=uw(e),t??``+(e.i?QD(e.i.j,e,0):-1))}function zQe(e,t){var n,r;if(t<0||t>=e.gc())return null;for(n=t;n0?e.c:0),a=r.Math.max(a,t.d),++i;e.e=o,e.b=a}function HQe(e){var t,n;if(!e.b)for(e.b=dE(I(e.f,123).kh().i),n=new xy(I(e.f,123).kh());n.e!=n.i.gc();)t=I(CP(n),135),py(e.b,new Yp(t));return e.b}function UQe(e,t){var n,r,i;if(t.dc())return _b(),_b(),T7;for(n=new Zve(e,t.gc()),i=new xy(e);i.e!=i.i.gc();)r=CP(i),t.Hc(r)&&OD(n,r);return n}function WQe(e,t,n,r){return t==0?r?(!e.o&&(e.o=new ND((iB(),a7),u7,e,0)),e.o):(!e.o&&(e.o=new ND((iB(),a7),u7,e,0)),SD(e.o)):LP(e,t,n,r)}function CF(e){var t,n;if(e.rb)for(t=0,n=e.rb.i;t>22),i+=r>>22,i<0)?!1:(e.l=n&kV,e.m=r&kV,e.h=i&AV,!0)}function TF(e,t,n,r,i,a,o){var s,c;return!(t.Te()&&(c=e.a.Ne(n,r),c<0||!i&&c==0)||t.Ue()&&(s=e.a.Ne(n,a),s>0||!o&&s==0))}function JQe(e,t){if(Pj(),e.j.g-t.j.g!=0)return 0;switch(e.j.g){case 2:return uN(t,mDt)-uN(e,mDt);case 4:return uN(e,pDt)-uN(t,pDt)}return 0}function YQe(e){switch(e.g){case 0:return FQ;case 1:return IQ;case 2:return LQ;case 3:return RQ;case 4:return zQ;case 5:return BQ;default:return null}}function EF(e,t,n){var r=(i=new xp,iM(i,t),eA(i,n),OD((!e.c&&(e.c=new L(H7,e,12,10)),e.c),i),i),i;return uk(r,0),dk(r,1),AM(r,!0),OM(r,!0),r}function DF(e,t){var n,r;if(t>=e.i)throw k(new hv(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&$R(e.g,t+1,e.g,t,r),CC(e.g,--e.i,null),e.Qi(t,n),e.Ni(),n}function XQe(e,t){var n,r;return e.Db>>16==17?e.Cb.Th(e,21,F7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||e.ii()),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function ZQe(e){var t,n,r,i;for(Ew(),Qv(e.c,e.a),i=new O(e.c);i.an.a.c.length))throw k(new rm(`index must be >= 0 and <= layer node count`));e.c&&XD(e.c.a,e),e.c=n,n&&rS(n.a,t,e)}function d$e(e,t){var n,r,i;for(r=new SS(Ty(sN(e).a.Kc(),new d));CL(r);)return n=I($E(r),18),i=I(t.Kb(n),10),new Gc(hC(i.n.b+i.o.b/2));return Ap(),Ap(),FJ}function f$e(e,t){this.c=new Kd,this.a=e,this.b=t,this.d=I(K(e,(Y(),Y$)),312),N(K(e,(cB(),zjt)))===N((qD(),VQ))?this.e=new $f:this.e=new Xse}function jF(e,t){var n,r=null;return e.pf((dB(),e8))&&(n=I(e.of(e8),96),n.pf(t)&&(r=n.of(t))),r==null&&e.Tf()&&(r=e.Tf().of(t)),r??=SP(t),r}function MF(e,t){var n=e.fd(t),r;try{return r=n.Pb(),n.Qb(),r}catch(e){throw e=ej(e),P(e,112)?k(new em(`Can't remove element `+t)):k(e)}}function p$e(e,t){var n,r=new bh,i=new xWe(r.q.getFullYear()-EV,r.q.getMonth(),r.q.getDate());if(n=Vot(e,t,i),n==0||n0?t:0),++n;return new M(i,a)}function b$e(e,t){var n,r;return e.Db>>16==6?e.Cb.Th(e,6,Z5,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(iB(),i7)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function x$e(e,t){var n,r;return e.Db>>16==7?e.Cb.Th(e,1,J5,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(iB(),tVt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function S$e(e,t){var n,r;return e.Db>>16==9?e.Cb.Th(e,9,s7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(iB(),rVt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function C$e(e,t){var n,r;return e.Db>>16==5?e.Cb.Th(e,9,L7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(hB(),Z7)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function w$e(e,t){var n,r;return e.Db>>16==7?e.Cb.Th(e,6,n7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(hB(),r9)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function T$e(e,t){var n,r;return e.Db>>16==3?e.Cb.Th(e,0,$5,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(hB(),q7)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function E$e(){this.a=new Fo,this.g=new QP,this.j=new QP,this.b=new Kd,this.d=new QP,this.i=new QP,this.k=new Kd,this.c=new Kd,this.e=new Kd,this.f=new Kd}function D$e(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;iKV)return PF(e,r);if(r==e)return!0}}return!1}function k$e(e){switch(By(),e.q.g){case 5:u8e(e,(Qz(),a5)),u8e(e,S5);break;case 4:l9e(e,(Qz(),a5)),l9e(e,S5);break;default:Hut(e,(Qz(),a5)),Hut(e,S5)}}function A$e(e){switch(By(),e.q.g){case 5:l5e(e,(Qz(),i5)),l5e(e,w5);break;case 4:HXe(e,(Qz(),i5)),HXe(e,w5);break;default:Uut(e,(Qz(),i5)),Uut(e,w5)}}function j$e(e){var t=I(K(e,(JR(),uTt)),17),n;t?(n=t.a,n==0?G(e,(Uk(),FX),new SN):G(e,(Uk(),FX),new UE(n))):G(e,(Uk(),FX),new UE(1))}function M$e(e,t){var n=e.i;switch(t.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-n.o.a;case 3:return e.n.b-n.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function N$e(e,t){switch(e.g){case 0:return t==(CN(),r1)?WZ:GZ;case 1:return t==(CN(),r1)?WZ:UZ;case 2:return t==(CN(),r1)?UZ:GZ;default:return UZ}}function FF(e,t){var n,i,a;for(XD(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=C_t,i=new O(e.a);i.a>16==3?e.Cb.Th(e,12,s7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(iB(),$Bt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function F$e(e,t){var n,r;return e.Db>>16==11?e.Cb.Th(e,10,s7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(iB(),nVt)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function I$e(e,t){var n,r;return e.Db>>16==10?e.Cb.Th(e,11,F7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(hB(),n9)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function L$e(e,t){var n,r;return e.Db>>16==10?e.Cb.Th(e,12,B7,t):(r=XP(I(PO((n=I(FA(e,16),29),n||(hB(),i9)),e.Db>>16),19)),e.Cb.Th(e,r.n,r.f,t))}function IF(e){var t;return!(e.Bb&1)&&e.r&&e.r.Vh()&&(t=I(e.r,54),e.r=I(uM(e,t),142),e.r!=t&&e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,9,8,t,e.r))),e.r}function LF(e,t,n){var i=W(j(Z9,1),GV,28,15,[j2e(e,(YO(),WY),t,n),j2e(e,GY,t,n),j2e(e,KY,t,n)]);return e.f&&(i[0]=r.Math.max(i[0],i[2]),i[2]=i[0]),i}function R$e(e,t){var n,r,i=UXe(e,t);if(i.c.length!=0)for(Qv(i,new nr),n=i.c.length,r=0;r>19,l=t.h>>19;return c==l?(i=e.h,s=t.h,i==s?(r=e.m,o=t.m,r==o?(n=e.l,a=t.l,n-a):r-o):i-s):l-c}function RF(){RF=C,wCt=(gR(),UY),CCt=new gv(dmt,wCt),SCt=(OO(),VY),xCt=new gv(fmt,SCt),bCt=(yP(),BY),yCt=new gv(pmt,bCt),vCt=new gv(mmt,(Vy(),!0))}function zF(e,t,n){var r=t*n,i;P(e.g,154)?(i=xE(e),i.f.d?i.f.a||(e.d.a+=r+AH):(e.d.d-=r+AH,e.d.a+=r+AH)):P(e.g,10)&&(e.d.d-=r,e.d.a+=2*r)}function G$e(e,t,n){var i,a=e[n.g],o,s,c;for(c=new O(t.d);c.a0?e.b:0),++n;t.b=i,t.e=a}function q$e(e){var t,n,r=e.b;if(rde(e.i,r.length)){for(n=r.length*2,e.b=H(UJ,tV,303,n,0,1),e.c=H(UJ,tV,303,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)nL(e,t,t);++e.g}}function J$e(e,t,n,r){var i,a,o,s;for(i=0;is&&(c=s/i),a>o&&(l=o/a),fy(e,r.Math.min(c,l)),e}function X$e(){hz();var e,t;try{if(t=I(U1e((ng(),V7),KK),2113),t)return t}catch(t){if(t=ej(t),P(t,103))e=t,LEe((Yv(),e));else throw k(t)}return new ere}function Z$e(){hz();var e,t;try{if(t=I(U1e((ng(),V7),Jq),2040),t)return t}catch(t){if(t=ej(t),P(t,103))e=t,LEe((Yv(),e));else throw k(t)}return new as}function Q$e(){nRe();var e,t;try{if(t=I(U1e((ng(),V7),uJ),2122),t)return t}catch(t){if(t=ej(t),P(t,103))e=t,LEe((Yv(),e));else throw k(t)}return new Rs}function $$e(e,t,n){var r,i=e.e;return e.e=t,e.Db&4&&!(e.Db&1)&&(r=new jS(e,1,4,i,t),n?n.nj(r):n=r),i!=t&&(n=t?Wz(e,RL(e,t),n):Wz(e,e.a,n)),n}function e1e(){bh.call(this),this.e=-1,this.a=!1,this.p=uV,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=uV}function t1e(e,t){var n,r=e.b.d.d,i;if(e.a||(r+=e.b.d.a),i=t.b.d.d,t.a||(i+=t.b.d.a),n=KM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function n1e(e,t){var n,r=e.b.b.d,i;if(e.a||(r+=e.b.b.a),i=t.b.b.d,t.a||(i+=t.b.b.a),n=KM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function r1e(e,t){var n,r=e.b.g.d,i;if(e.a||(r+=e.b.g.a),i=t.b.g.d,t.a||(i+=t.b.g.a),n=KM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function i1e(){i1e=C,RTt=uS(Px(Px(Px(new WC,(vI(),UX),(fB(),UEt)),UX,WEt),WX,GEt),WX,MEt),BTt=Px(Px(new WC,UX,TEt),UX,NEt),zTt=uS(new WC,WX,FEt)}function a1e(e){var t=I(K(e,(Y(),g$)),85),n,r,i,a=e.n;for(r=t.Cc().Kc();r.Ob();)n=I(r.Pb(),314),i=n.i,i.c+=a.a,i.d+=a.b,n.c?vnt(n):ynt(n);G(e,g$,null)}function o1e(e,t,n){var r,i=e.b;switch(r=i.d,t.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}function s1e(e,t,n){var r,i;for(n.Ug(`Interactive node placement`,1),e.a=I(K(t,(Y(),Y$)),312),i=new O(t.b);i.a0&&(o=(a&SB)%e.d.length,i=W8e(e,o,a,t),i)?(s=i.nd(n),s):(r=e.ck(a,t,n),e.c.Fc(r),null)}function C1e(e,t){var n,r,i,a;switch(CM(e,t).Kl()){case 3:case 2:for(n=vz(t),i=0,a=n.i;i=0;i--)if(Rb(e[i].d,t)||Rb(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}function WF(e,t){var n;return wv(e)&&wv(t)&&(n=e/t,FV0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=r.Math.min(i,a))}function F1e(e){var t=I(K(I(kP(e.b,0),40),(tz(),iFt)),107);G(e,(Zz(),Z2),new M(0,0)),Sit(new pD,e,t.b+t.c-A(F(K(e,t4))),t.d+t.a-A(F(K(e,n4))))}function I1e(e,t){var n,r=!1;if(Z_(t)&&(r=!0,EC(e,new gC(pb(t)))),r||P(t,242)&&(r=!0,EC(e,(n=wbe(I(t,242)),new fl(n)))),!r)throw k(new tm(xyt))}function L1e(e,t,n,r){var i=new lO(e.e,1,10,(o=t.c,P(o,90)?I(o,29):(hB(),t9)),(a=n.c,P(a,90)?I(a,29):(hB(),t9)),zP(e,t),!1),a,o;return r?r.nj(i):r=i,r}function R1e(e){var t,n;switch(I(K(IC(e),(cB(),jjt)),429).g){case 0:return t=e.n,n=e.o,new M(t.a+n.a/2,t.b+n.b/2);case 1:return new Ev(e.n);default:return null}}function qF(){qF=C,UQ=new Ug(HU,0),eOt=new Ug(`LEFTUP`,1),nOt=new Ug(`RIGHTUP`,2),$Dt=new Ug(`LEFTDOWN`,3),tOt=new Ug(`RIGHTDOWN`,4),HQ=new Ug(`BALANCED`,5)}function z1e(e,t,n){var r=KM(e.a[t.p],e.a[n.p]),i,a;if(r==0){if(i=I(K(t,(Y(),k$)),15),a=I(K(n,k$),15),i.Hc(n))return-1;if(a.Hc(t))return 1}return r}function B1e(e){switch(e.g){case 1:return new Ta;case 2:return new Ea;case 3:return new Ene;case 0:return null;default:throw k(new rm(UG+(e.f==null?``+e.g:e.f)))}}function V1e(e,t,n){switch(t){case 1:!e.n&&(e.n=new L(o7,e,1,7)),Pz(e.n),!e.n&&(e.n=new L(o7,e,1,7)),oC(e.n,I(n,16));return;case 2:Ik(e,pb(n));return}qWe(e,t,n)}function H1e(e,t,n){switch(t){case 3:nk(e,A(F(n)));return;case 4:rk(e,A(F(n)));return;case 5:ik(e,A(F(n)));return;case 6:ak(e,A(F(n)));return}V1e(e,t,n)}function JF(e,t,n){var r,i,a=(r=new xp,r);i=fI(a,t,null),i&&i.oj(),eA(a,n),OD((!e.c&&(e.c=new L(H7,e,12,10)),e.c),a),uk(a,0),dk(a,1),AM(a,!0),OM(a,!0)}function U1e(e,t){var n=mg(e.i,t),r,i;return P(n,241)?(i=I(n,241),i.zi(),i.wi()):P(n,507)?(r=I(n,2037),i=r.b,i):null}function W1e(e,t,n,r){var i,a;return hC(t),hC(n),a=I(Hb(e.d,t),17),RRe(!!a,`Row %s not in %s`,t,e.e),i=I(Hb(e.b,n),17),RRe(!!i,`Column %s not in %s`,n,e.c),JUe(e,a.a,i.a,r)}function G1e(e,t,n,r,i,a,o){var s,c,l,u=i[a],d;if(l=a==o-1,s=l?r:0,d=bQe(s,u),r!=10&&W(j(e,o-a),t[a],n[a],s,d),!l)for(++a,c=0;c1||s==-1?(a=I(c,15),i.Wb(AJe(e,a))):i.Wb(HR(e,I(c,58)))))}function e0e(e,t,n,r){kue();var i=jxt;Mxt=r;function a(){for(var e=0;e0)return!1;return!0}function r0e(e){var t,n,r,i,a;for(r=new OA(new zl(e.b).a);r.b;)n=Wk(r),t=I(n.ld(),10),a=I(I(n.md(),42).a,10),i=I(I(n.md(),42).b,8),Nb(mv(t.n),Nb(iy(a.n),i))}function i0e(e){switch(I(K(e.b,(cB(),wjt)),387).g){case 1:Ph(ow(TO(new Hx(null,new UT(e.d,16)),new _te),new ii),new ai);break;case 2:nrt(e);break;case 0:T6e(e)}}function a0e(e,t,n){var r=n,i,a;for(!r&&(r=new Dp),r.Ug(`Layout`,e.a.c.length),a=new O(e.a);a.aEG)return n;i>-1e-6&&++n}return n}function u0e(e,t){var n;t==e.b?e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,3,t,t)):(n=null,e.b&&(n=Yw(e.b,e,-4,n)),t&&(n=NP(t,e,-4,n)),n=gKe(e,t,n),n&&n.oj())}function d0e(e,t){var n;t==e.f?e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,0,t,t)):(n=null,e.f&&(n=Yw(e.f,e,-1,n)),t&&(n=NP(t,e,-1,n)),n=hKe(e,t,n),n&&n.oj())}function f0e(e,t,n,r){var i,a,o,s;return Av(e.e)&&(i=t.Lk(),s=t.md(),a=n.md(),o=Hw(e,1,i,s,a,i.Jk()?dz(e,i,a,P(i,102)&&(I(i,19).Bb&UV)!=0):-1,!0),r?r.nj(o):r=o),r}function p0e(e){var t,n,r;if(e==null)return null;if(n=I(e,15),n.dc())return``;for(r=new ym,t=n.Kc();t.Ob();)sv(r,(zz(),pb(t.Pb()))),r.a+=` `;return Dme(r,r.a.length-1)}function m0e(e){var t,n,r;if(e==null)return null;if(n=I(e,15),n.dc())return``;for(r=new ym,t=n.Kc();t.Ob();)sv(r,(zz(),pb(t.Pb()))),r.a+=` `;return Dme(r,r.a.length-1)}function h0e(e,t,n){var r=e.c[t.c.p][t.p],i=e.c[n.c.p][n.p];return r.a!=null&&i.a!=null?bS(r.a,i.a):r.a==null?i.a==null?0:1:-1}function g0e(e,t,n){return n.Ug(`Tree layout`,1),$C(e.b),ZS(e.b,(OF(),H2),H2),ZS(e.b,U2,U2),ZS(e.b,W2,W2),ZS(e.b,G2,G2),e.a=Iz(e.b,t),a0e(e,t,n.eh(1)),n.Vg(),t}function _0e(e,t){var n,r,i,a,o,s;if(t)for(a=t.a.length,n=new wS(a),s=(n.b-n.a)*n.c<0?(cg(),G9):new Sy(n);s.Ob();)o=I(s.Pb(),17),i=gE(t,o.a),r=new ose(e),iOe(r.a,i)}function v0e(e,t){var n,r,i,a,o,s;if(t)for(a=t.a.length,n=new wS(a),s=(n.b-n.a)*n.c<0?(cg(),G9):new Sy(n);s.Ob();)o=I(s.Pb(),17),i=gE(t,o.a),r=new Zoe(e),rOe(r.a,i)}function y0e(e){var t;if(e!=null&&e.length>0&&iw(e,e.length-1)==33)try{return t=z7e(Jw(e,0,e.length-1)),t.e==null}catch(e){if(e=ej(e),!P(e,33))throw k(e)}return!1}function b0e(e,t,n){var r=JM(IC(t)),i=new jI;switch(ET(i,t),n.g){case 1:tL(i,LM(bN(r)));break;case 2:tL(i,bN(r))}return G(i,(cB(),o0),F(K(e,o0))),i}function x0e(e){var t=I($E(new SS(Ty(cN(e.a).a.Kc(),new d))),18),n=I($E(new SS(Ty(lN(e.a).a.Kc(),new d))),18);return Zp(fb(K(t,(Y(),K$))))||Zp(fb(K(n,K$)))}function tI(){tI=C,QZ=new Lg(`ONE_SIDE`,0),eQ=new Lg(`TWO_SIDES_CORNER`,1),tQ=new Lg(`TWO_SIDES_OPPOSING`,2),$Z=new Lg(`THREE_SIDES`,3),ZZ=new Lg(`FOUR_SIDES`,4)}function S0e(e,t){var n,r,i,a=new qd;for(i=0,r=t.Kc();r.Ob();){for(n=gM(I(r.Pb(),17).a+i);n.a=e.f)break;af(a.c,n)}return a}function C0e(e,t){var n,r,i,a,o;for(a=new O(t.a);a.a0&&t$e(this,this.c-1,(Qz(),i5)),this.c0&&e[0].length>0&&(this.c=Zp(fb(K(IC(e[0][0]),(Y(),wOt))))),this.a=H(_Nt,X,2117,e.length,0,2),this.b=H(vNt,X,2118,e.length,0,2),this.d=new YGe}function I0e(e){return e.c.length==0?!1:(VT(0,e.c.length),I(e.c[0],18)).c.i.k==(DI(),uZ)?!0:YE(ow(new Hx(null,new UT(e,16)),new Mte),new ji)}function L0e(e,t){var n,i,a,o,s,c=aR(t),l;for(o=t.f,l=t.g,s=r.Math.sqrt(o*o+l*l),a=0,i=new O(c);i.a=0?(n=WF(e,PV),r=zN(e,PV)):(t=yS(e,1),n=WF(t,5e8),r=zN(t,5e8),r=eN(_S(r,1),GT(e,1))),KT(_S(r,32),GT(n,qV))}function $0e(e,t,n){var r=(hb(t.b!=0),I(WO(t,t.a.a),8)),i;switch(n.g){case 0:r.b=0;break;case 2:r.b=e.f;break;case 3:r.a=0;break;default:r.a=e.g}return i=vP(t,0),nC(i,r),t}function e2e(e,t,n,r){var i,a,o,s,c=e.b;switch(a=t.d,o=a.j,s=yXe(o,c.d[o.g],n),i=Nb(iy(a.n),a.a),a.j.g){case 1:case 3:s.a+=i.a;break;case 2:case 4:s.b+=i.b}BE(r,s,r.c.b,r.c)}function t2e(e,t,n){var r,i,a,o=QD(e.e,t,0);for(a=new Zf,a.b=n,r=new tE(e.e,o);r.b1;t>>=1)t&1&&(r=TE(r,n)),n=n.d==1?TE(n,n):new eXe($it(n.a,n.d,H(q9,DV,28,n.d<<1,15,1)));return r=TE(r,n),r}function s2e(){s2e=C;var e,t,n,r;for(USt=H(Z9,GV,28,25,15,1),WSt=H(Z9,GV,28,33,15,1),r=152587890625e-16,t=32;t>=0;t--)WSt[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)USt[e]=n,n*=.5}function c2e(e){var t,n;if(Zp(fb(J(e,(cB(),R1))))){for(n=new SS(Ty(IL(e).a.Kc(),new d));CL(n);)if(t=I($E(n),74),uL(t)&&Zp(fb(J(t,z1))))return!0}return!1}function l2e(e,t){var n,r,i;KS(e.f,t)&&(t.b=e,r=t.c,QD(e.j,r,0)!=-1||py(e.j,r),i=t.d,QD(e.j,i,0)!=-1||py(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new _Xe(e)),tUe(e.i,n)))}function u2e(e){var t,n=e.c.d,r=n.j,i=e.d.d,a=i.j;return r==a?n.p=0&&Rb(e.substr(t,3),`GMT`)||t>=0&&Rb(e.substr(t,3),`UTC`))&&(n[0]=t+3),Vit(e,n,r)}function f2e(e,t){var n,r,i,a=e.g.a,o=e.g.b;for(r=new O(e.d);r.an;a--)e[a]|=t[a-n-1]>>>o,e[a-1]=t[a-n-1]<0&&$R(e.g,t,e.g,t+r,s),o=n.Kc(),e.i+=r,i=0;i>4&15,a=e[r]&15,o[i++]=sVt[n],o[i++]=sVt[a];return qN(o,0,o.length)}function mI(e){var t,n;return e>=UV?(t=WV+(e-UV>>10&1023)&_V,n=56320+(e-UV&1023)&_V,String.fromCharCode(t)+(``+String.fromCharCode(n))):String.fromCharCode(e&_V)}function D2e(e,t){Sb();var n,r,i=I(I(rD(e.r,t),21),87),a;return i.gc()>=2?(r=I(i.Kc().Pb(),117),n=e.u.Hc((rL(),Q8)),a=e.u.Hc(n5),!r.a&&!n&&(i.gc()==2||a)):!1}function O2e(e,t,n,r,i){for(var a=qtt(e,t,n,r,i),o,s=!1;!a;)OL(e,i,!0),s=!0,a=qtt(e,t,n,r,i);s&&OL(e,i,!1),o=lj(i),o.c.length!=0&&(e.d&&e.d.Gg(o),O2e(e,i,n,r,o))}function hI(){hI=C,S8=new M_(HU,0),eBt=new M_(`DIRECTED`,1),nBt=new M_(`UNDIRECTED`,2),Qzt=new M_(`ASSOCIATION`,3),tBt=new M_(`GENERALIZATION`,4),$zt=new M_(`DEPENDENCY`,5)}function k2e(e,t){var n;if(!sT(e))throw k(new im(qvt));switch(n=sT(e),t.g){case 1:return-(e.j+e.f);case 2:return e.i-n.g;case 3:return e.j-n.f;case 4:return-(e.i+e.g)}return 0}function A2e(e,t,n){var r=t.Lk(),i,a=t.md();return i=r.Jk()?Hw(e,4,r,a,null,dz(e,r,a,P(r,102)&&(I(r,19).Bb&UV)!=0),!0):Hw(e,r.tk()?2:1,r,a,r.ik(),-1,!0),n?n.nj(i):n=i,n}function gI(e,t){var n,r;for(BC(t),r=e.b.c.length,py(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.Ne(zx(e.b,r),t)<=0)return GE(e.b,n,t),!0;GE(e.b,n,zx(e.b,r))}return GE(e.b,r,t),!0}function j2e(e,t,n,i){var a=0,o;if(n)a=rM(e.a[n.g][t.g],i);else for(o=0;o=s)}function N2e(e){switch(e.g){case 0:return new Ra;case 1:return new jne;default:throw k(new rm(`No implementation is available for the width approximator `+(e.f==null?``+e.g:e.f)))}}function P2e(e,t,n,r){var i=!1;if(Z_(r)&&(i=!0,wx(t,n,pb(r))),i||Q_(r)&&(i=!0,P2e(e,t,n,r)),i||P(r,242)&&(i=!0,jw(t,n,I(r,242))),!i)throw k(new tm(xyt))}function F2e(e,t){var n=t.qi(e.a),r,i;if(n&&(i=IN((!n.b&&(n.b=new lb((hB(),o9),d9,n)),n.b),Vq),i!=null)){for(r=1;r<(UI(),dHt).length;++r)if(Rb(dHt[r],i))return r}return 0}function I2e(e,t){var n=t.qi(e.a),r,i;if(n&&(i=IN((!n.b&&(n.b=new lb((hB(),o9),d9,n)),n.b),Vq),i!=null)){for(r=1;r<(UI(),fHt).length;++r)if(Rb(fHt[r],i))return r}return 0}function L2e(e,t){var n,r,i,a;if(BC(t),a=e.a.gc(),a0);a.a[i]!=n;)a=a.a[i],i=+(e.a.Ne(n.d,a.d)>0);a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function H2e(e){var t=new qd,n=H(J9,CH,28,e.a.c.length,16,1),r,i;for(fEe(n,n.length),i=new O(e.a);i.a0&&Oit((VT(0,n.c.length),I(n.c[0],30)),e),n.c.length>1&&Oit(I(zx(n,n.c.length-1),30),e),t.Vg()}function G2e(e){rL();var t=oS($8,W(j(r5,1),Z,279,0,[t5])),n;return!(HA(tT(t,e))>1||(n=oS(Q8,W(j(r5,1),Z,279,0,[Z8,n5])),HA(tT(n,e))>1))}function K2e(e,t){P($w((ng(),V7),e),507)?CT(V7,e,new Zpe(this,t)):CT(V7,e,this),EI(this,t),t==(Ym(),IVt)?(this.wb=I(this,2038),I(t,2040)):this.wb=(yC(),K7)}function q2e(e){var t,n,r;if(e==null)return null;for(t=null,n=0;n=gV?`error`:r>=900?`warn`:r>=800?`info`:`log`),iDe(n,e.a),e.b&&Fet(t,n,e.b,`Exception: `,!0))}function K(e,t){var n;return(!e.q&&(e.q=new Kd),SC(e.q,t))??(n=t.Sg(),P(n,4)&&(n==null?(!e.q&&(e.q=new Kd),sD(e.q,t)):(!e.q&&(e.q=new Kd),GC(e.q,t,n))),n)}function vI(){vI=C,BX=new Og(`P1_CYCLE_BREAKING`,0),VX=new Og(`P2_LAYERING`,1),HX=new Og(`P3_NODE_ORDERING`,2),UX=new Og(`P4_NODE_PLACEMENT`,3),WX=new Og(`P5_EDGE_ROUTING`,4)}function X2e(e,t){jO();var n;if(e.c==t.c){if(e.b==t.b||iHe(e.b,t.b)){if(n=Fme(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return ey(e.b.g,t.b.g)}else return KM(e.c,t.c)}function Z2e(e,t){var n,r,i;if(n4e(e,t))return!0;for(r=new O(t);r.a=i||t<0)throw k(new em(dq+t+fq+i));if(n>=i||n<0)throw k(new em(pq+n+fq+i));return r=t==n?e.xj(n):(a=e.Cj(n),e.qj(t,a),a),r}function t4e(e){var t,n,r=e;if(e)for(t=0,n=e.Eh();n;n=n.Eh()){if(++t>KV)return t4e(n);if(r=n,n==e)throw k(new im(`There is a cycle in the containment hierarchy of `+e))}return r}function CI(e){var t,n,r=new GA(EB,`[`,`]`);for(n=e.Kc();n.Ob();)t=n.Pb(),oD(r,N(t)===N(e)?`(this Collection)`:t==null?OB:mN(t));return r.a?r.e.length==0?r.a.a:r.a.a+(``+r.e):r.c}function n4e(e,t){var n,r=!1;if(t.gc()<2)return!1;for(n=0;n1&&(e.j.b+=e.e)):(e.j.a+=n.a,e.j.b=r.Math.max(e.j.b,n.b),e.d.c.length>1&&(e.j.a+=e.e))}function wI(){wI=C,wDt=W(j(T5,1),UU,64,0,[(Qz(),a5),i5,S5]),CDt=W(j(T5,1),UU,64,0,[i5,S5,w5]),TDt=W(j(T5,1),UU,64,0,[S5,w5,a5]),EDt=W(j(T5,1),UU,64,0,[w5,a5,i5])}function o4e(e,t,n,r){var i,a,o=e.c.d,s=e.d.d,c,l,u;if(o.j!=s.j)for(u=e.b,i=o.j,c=null;i!=s.j;)c=t==0?RM(i):pqe(i),a=yXe(i,u.d[i.g],n),l=yXe(c,u.d[c.g],n),Dx(r,Nb(a,l)),i=c}function s4e(e,t,n,r){var i,a,o=a$e(e.a,t,n),s=I(o.a,17).a,c;return a=I(o.b,17).a,r&&(c=I(K(t,(Y(),V$)),10),i=I(K(n,V$),10),c&&i&&(pPe(e.b,c,i),s+=e.b.i,a+=e.b.e)),s>a}function c4e(e){var t,n,r,i,a,o,s,c,l;for(this.a=cZe(e),this.b=new qd,n=e,r=0,i=n.length;rxb(e.d).c?(e.i+=e.g.c,sYe(e.d)):xb(e.d).c>xb(e.g).c?(e.e+=e.d.c,sYe(e.g)):(e.i+=qwe(e.g),e.e+=qwe(e.d),sYe(e.g),sYe(e.d))}function p4e(e,t,n){var r,i,a=t.q,o=t.r;for(new LT((vD(),R2),t,a,1),new LT(R2,a,o,1),i=new O(n);i.ac&&(l=c/i),a>o&&(u=o/a),s=r.Math.min(l,u),e.a+=s*(t.a-e.a),e.b+=s*(t.b-e.b)}function y4e(e,t,n,r,i){var a,o=!1;for(a=I(zx(n.b,0),27);Cot(e,t,a,r,i)&&(o=!0,X1e(n,a),n.b.c.length!=0);)a=I(zx(n.b,0),27);return n.b.c.length==0&&FF(n.j,n),o&&hF(t.q),o}function b4e(e,t){uR();var n,r,i,a;if(t.b<2)return!1;for(a=vP(t,0),n=I(yE(a),8),r=n;a.b!=a.d.c;){if(i=I(yE(a),8),oet(e,r,i))return!0;r=i}return!!oet(e,r,n)}function x4e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new ND((iB(),a7),u7,e,0)),Vb(e.o,t,r)):(a=I(PO((i=I(FA(e,16),29),i||e.ii()),n),69),a.wk().Ak(e,eP(e),n-xC(e.ii()),t,r))}function EI(e,t){var n;t==e.sb?e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,4,t,t)):(n=null,e.sb&&(n=I(e.sb,54).Th(e,1,e7,n)),t&&(n=I(t,54).Rh(e,1,e7,n)),n=FKe(e,t,n),n&&n.oj())}function S4e(e,t){var n,r,i,a;if(t)i=hk(t,`x`),n=new rse(e),tk(n.a,(BC(i),i)),a=hk(t,`y`),r=new ise(e),sk(r.a,(BC(a),a));else throw k(new lm(`All edge sections need an end point.`))}function C4e(e,t){var n,r,i,a;if(t)i=hk(t,`x`),n=new ese(e),ok(n.a,(BC(i),i)),a=hk(t,`y`),r=new tse(e),ck(r.a,(BC(a),a));else throw k(new lm(`All edge sections need a start point.`))}function w4e(e,t){var n,r,i,a,o,s,c;for(r=aGe(e),a=0,s=r.length;a>22-t,i=e.h<>22-t):t<44?(n=0,r=e.l<>44-t):(n=0,r=0,i=e.l<e)throw k(new rm(`k must be smaller than n`));return t==0||t==e?1:e==0?0:E1e(e)/(E1e(t)*E1e(e-t))}function N4e(e,t){for(var n=new rhe(e),r,i,a;n.g==null&&!n.c?EAe(n):n.g==null||n.i!=0&&I(n.g[n.i-1],51).Ob();)if(a=I(PL(n),58),P(a,167))for(r=I(a,167),i=0;i>4],t[n*2+1]=P9[a&15];return qN(t,0,t.length)}function K4e(e){KC();var t,n;switch(e.c.length){case 0:return Bxt;case 1:return t=I(K6e(new O(e)),44),QCe(t.ld(),t.md());default:return n=I(uP(e,H(zJ,YB,44,e.c.length,0,1)),173),new _ce(n)}}function q4e(e){var t=new by,n=new by,r,i,a,o;for(bE(t,e),bE(n,e);n.b!=n.c;)for(i=I(WS(n),36),o=new O(i.a);o.a0&&AR(e,n,t),i):p5e(e,t,n):r}function PI(){PI=C,oIt=(dB(),Y6),uIt=n8,eIt=M6,tIt=P6,nIt=F6,$Ft=j6,rIt=L6,aIt=q6,L4=(Zrt(),LFt),R4=RFt,sIt=WFt,V4=qFt,cIt=GFt,lIt=KFt,iIt=BFt,z4=HFt,B4=UFt,H4=JFt,dIt=XFt,QFt=IFt}function X4e(e,t){var n,r,i,a,o;if(e.e<=t||Pje(e,e.g,t))return e.g;for(a=e.r,r=e.g,o=e.r,i=(a-r)/2+r;r+11&&(e.e.b+=e.a)):(e.e.a+=n.a,e.e.b=r.Math.max(e.e.b,n.b),e.d.c.length>1&&(e.e.a+=e.a))}function n3e(e){var t,n,r,i=e.i;switch(t=i.b,r=i.j,n=i.g,i.a.g){case 0:n.a=(e.g.b.o.a-r.a)/2;break;case 1:n.a=t.d.n.a+t.d.a.a;break;case 2:n.a=t.d.n.a+t.d.a.a-r.a;break;case 3:n.b=t.d.n.b+t.d.a.b}}function r3e(e,t,n){var r,i,a;for(i=new SS(Ty(sN(n).a.Kc(),new d));CL(i);)r=I($E(i),18),!XE(r)&&!(!XE(r)&&r.c.i.c==r.d.i.c)&&(a=D9e(e,r,n,new ep),a.c.length>1&&af(t.c,a))}function i3e(e,t,n,r,i){if(rr&&(e.a=r),e.bi&&(e.b=i),e}function a3e(e){if(P(e,143))return Det(I(e,143));if(P(e,233))return uJe(I(e,233));if(P(e,23))return D4e(I(e,23));throw k(new rm(Syt+CI(new fm(W(j(PJ,1),DB,1,5,[e])))))}function o3e(e,t,n,r,i){var a=!0,o,s;for(o=0;o>>i|n[o+r+1]<>>i,++o}return a}function s3e(e,t,n,r){var i,a,o;if(t.k==(DI(),uZ)){for(a=new SS(Ty(cN(t).a.Kc(),new d));CL(a);)if(i=I($E(a),18),o=i.c.i.k,o==uZ&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function c3e(e,t){var n,r,i,a;return t&=63,n=e.h&AV,t<22?(a=n>>>t,i=e.m>>t|n<<22-t,r=e.l>>t|e.m<<22-t):t<44?(a=0,i=n>>>t-22,r=e.m>>t-22|e.h<<44-t):(a=0,i=0,r=n>>>t-44),ty(r&kV,i&kV,a&AV)}function l3e(e,t,n,r){var i;this.b=r,this.e=e==(bk(),T2),i=t[n],this.d=Bx(J9,[X,CH],[183,28],16,[i.length,i.length],2),this.a=Bx(q9,[X,DV],[53,28],15,[i.length,i.length],2),this.c=new N0e(t,n)}function u3e(e){var t,n,r;for(e.k=new oje((Qz(),W(j(T5,1),UU,64,0,[C5,a5,i5,S5,w5])).length,e.j.c.length),r=new O(e.j);r.a=n)return RI(e,t,r.p),!0;return!1}function LI(e,t,n,r){var i,a,o=n.length,s,c,l;for(a=0,i=-1,l=aze((HT(t,e.length+1),e.substr(t)),(qb(),zSt)),s=0;sa&&iEe(l,aze(n[s],zSt))&&(i=s,a=c);return i>=0&&(r[0]=t+a),i}function h3e(e){var t;return e.Db&64?AI(e):(t=new ky(ryt),!e.a||uv(uv((t.a+=` "`,t),e.a),`"`),uv(nh(uv(nh(uv(nh(uv(nh((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function g3e(e,t,n){var r,i,a,o,s=eR(e.e.Dh(),t);for(i=I(e.g,124),r=0,o=0;on?d6e(e,n,`start index`):t<0||t>n?d6e(t,n,`end index`):xR(`end index (%s) must not be less than start index (%s)`,W(j(PJ,1),DB,1,5,[gM(t),gM(e)]))}function y3e(e,t){var n,r,i,a;for(r=0,i=e.length;r0&&x3e(e,a,n));t.p=0}function zI(e){var t;this.c=new Dh,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=I(Xm(G3),9),new Kb(t,I(jb(t,t.length),9),0)),this.g=e.f}function S3e(e){var t=AC(uv(new ky(`Predicates.`),`and`),40),n=!0,r,i;for(i=new tu(e);i.b0?s[o-1]:H(oZ,YU,10,0,0,1),i=s[o],l=o=0?e.ki(i):X6e(e,r);else throw k(new rm(PK+r.xe()+FK))}else DM(e,n,r)}function D3e(e){var t,n=null;if(t=!1,P(e,211)&&(t=!0,n=I(e,211).a),t||P(e,263)&&(t=!0,n=``+I(e,263).a),t||P(e,493)&&(t=!0,n=``+I(e,493).a),!t)throw k(new tm(xyt));return n}function O3e(e,t,n){var r,i,a,o,s,c=eR(e.e.Dh(),t);for(r=0,s=e.i,i=I(e.g,124),o=0;o=e.d.b.c.length&&(t=new TC(e.d),t.p=r.p-1,py(e.d.b,t),n=new TC(e.d),n.p=r.p,py(e.d.b,n)),TT(r,I(zx(e.d.b,r.p),30))}function F3e(e,t,n){var r,i,a;if(!e.b[t.g]){for(e.b[t.g]=!0,r=n,!r&&(r=new pD),Dx(r.b,t),a=e.a[t.g].Kc();a.Ob();)i=I(a.Pb(),65),i.b!=t&&F3e(e,i.b,r),i.c!=t&&F3e(e,i.c,r),Dx(r.a,i);return r}return null}function I3e(e){switch(e.g){case 0:case 1:case 2:return Qz(),a5;case 3:case 4:case 5:return Qz(),S5;case 6:case 7:case 8:return Qz(),w5;case 9:case 10:case 11:return Qz(),i5;default:return Qz(),C5}}function L3e(e,t){var n;return e.c.length==0?!1:(n=tYe((VT(0,e.c.length),I(e.c[0],18)).c.i),bT(),n==(VP(),K0)||n==G0?!0:YE(ow(new Hx(null,new UT(e,16)),new Nte),new woe(t)))}function KI(e,t){if(P(t,207))return mhe(e,I(t,27));if(P(t,193))return hhe(e,I(t,123));if(P(t,452))return phe(e,I(t,166));throw k(new rm(Syt+CI(new fm(W(j(PJ,1),DB,1,5,[t])))))}function R3e(e,t,n){var r,i;if(this.f=e,r=I(SC(e.b,t),260),i=r?r.a:0,cIe(n,i),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++0;)sze(this);this.b=t,this.a=null}function z3e(e,t){var n,r;t.a?ett(e,t):(n=I(Ih(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Fc(t.b),r=I(Fh(e.b,t.b),60),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Fc(r),uy(e.b,t.b))}function B3e(e,t){var n=I(XC(e.b,t),127),r;if(I(I(rD(e.r,t),21),87).dc()){n.n.b=0,n.n.c=0;return}n.n.b=e.C.b,n.n.c=e.C.c,e.A.Hc((HN(),k5))&&art(e,t),r=eZe(e,t),pR(e,t)==(bP(),H8)&&(r+=2*e.w),n.a.a=r}function V3e(e,t){var n=I(XC(e.b,t),127),r;if(I(I(rD(e.r,t),21),87).dc()){n.n.d=0,n.n.a=0;return}n.n.d=e.C.d,n.n.a=e.C.a,e.A.Hc((HN(),k5))&&ort(e,t),r=$Xe(e,t),pR(e,t)==(bP(),H8)&&(r+=2*e.w),n.a.b=r}function H3e(e,t){var n,r,i,a=new qd;for(r=new O(t);r.ar&&(HT(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||tn.a&&(r.Hc((eI(),c6))?i=(t.a-n.a)/2:r.Hc(u6)&&(i=t.a-n.a)),t.b>n.b&&(r.Hc((eI(),f6))?a=(t.b-n.b)/2:r.Hc(d6)&&(a=t.b-n.b)),B2e(e,i,a)}function u6e(e,t,n,r,i,a,o,s,c,l,u,d,f){P(e.Cb,90)&&$I(ZE(I(e.Cb,90)),4),eA(e,n),e.f=o,HM(e,s),WM(e,c),VM(e,l),UM(e,u),AM(e,d),$M(e,f),OM(e,!0),uk(e,i),e.Zk(a),iM(e,t),r!=null&&(e.i=null,Bk(e,r))}function d6e(e,t,n){if(e<0)return xR(Xft,W(j(PJ,1),DB,1,5,[n,gM(e)]));if(t<0)throw k(new rm(Zft+t));return xR(`%s (%s) must not be greater than size (%s)`,W(j(PJ,1),DB,1,5,[n,gM(e),gM(t)]))}function f6e(e,t,n,r,i,a){var o=r-n,s,c,l;if(o<7){qqe(t,n,r,a);return}if(c=n+i,s=r+i,l=c+(s-c>>1),f6e(t,e,c,l,-i,a),f6e(t,e,l,s,-i,a),a.Ne(e[l-1],e[l])<=0){for(;n=0?e.bi(a,n):M9e(e,i,n);else throw k(new rm(PK+i.xe()+FK))}else gN(e,r,i,n)}function _6e(e){var t,n;if(e.f){for(;e.n>0;){if(t=I(e.k.Xb(e.n-1),76),n=t.Lk(),P(n,102)&&(I(n,19).Bb&LK)!=0&&(!e.e||n.pk()!=K5||n.Lj()!=0)&&t.md()!=null)return!0;--e.n}return!1}else return e.n>0}function v6e(e){var t,n=I(e,54)._h(),r,i;if(n)try{if(r=null,t=ML((ng(),V7),Yit(fJe(n))),t&&(i=t.ai(),i&&(r=i.Fl(Ice(n.e)))),r&&r!=e)return v6e(r)}catch(e){if(e=ej(e),!P(e,63))throw k(e)}return e}function y6e(e,t,n){var r,i,a;n.Ug(`Remove overlaps`,1),n.dh(t,S_t),r=I(J(t,(vb(),D4)),27),e.f=r,e.a=KP(I(J(t,(PI(),H4)),300)),i=F(J(t,(dB(),n8))),Ol(e,(BC(i),i)),a=aR(r),Xlt(e,t,a,n),n.dh(t,VG)}function b6e(e){var t,n,r;if(Zp(fb(J(e,(dB(),T6))))){for(r=new qd,n=new SS(Ty(IL(e).a.Kc(),new d));CL(n);)t=I($E(n),74),uL(t)&&Zp(fb(J(t,E6)))&&af(r.c,t);return r}else return Ew(),Ew(),xY}function x6e(e){if(!e)return bce(),eSt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=QJ[typeof t];return n?n(t):XGe(typeof t)}else if(e instanceof Array||e instanceof r.Array)return new ul(e);else return new pl(e)}function S6e(e,t,n){var i,a,o=e.o;switch(i=I(XC(e.p,n),252),a=i.i,a.b=oL(i),a.a=aL(i),a.b=r.Math.max(a.b,o.a),a.b>o.a&&!t&&(a.b=o.a),a.c=-(a.b-o.a)/2,n.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}nz(i),iz(i)}function C6e(e,t,n){var i,a,o=e.o;switch(i=I(XC(e.p,n),252),a=i.i,a.b=oL(i),a.a=aL(i),a.a=r.Math.max(a.a,o.b),a.a>o.b&&!t&&(a.a=o.b),a.d=-(a.a-o.b)/2,n.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}nz(i),iz(i)}function w6e(e,t){var n,r,i,a,o;if(!t.dc()){if(i=I(t.Xb(0),131),t.gc()==1){_tt(e,i,i,1,0,t);return}for(n=1;n0)try{i=UR(t,uV,SB)}catch(e){throw e=ej(e),P(e,130)?(r=e,k(new tO(r))):k(e)}return n=(!e.a&&(e.a=new Bd(e)),e.a),i=0?I(U(n,i),58):null}function k6e(e,t){if(e<0)return xR(Xft,W(j(PJ,1),DB,1,5,[`index`,gM(e)]));if(t<0)throw k(new rm(Zft+t));return xR(`%s (%s) must be less than size (%s)`,W(j(PJ,1),DB,1,5,[`index`,gM(e),gM(t)]))}function A6e(e){var t,n,r,i,a;if(e==null)return OB;for(a=new GA(EB,`[`,`]`),n=e,r=0,i=n.length;r`,k(new rm(r.a))}function q6e(e){var t,n=-e.a;return t=W(j(K9,1),hV,28,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&_V,t[2]=t[2]+(n/60|0)%10&_V,t[3]=t[3]+(n%60/10|0)&_V,t[4]=t[4]+n%10&_V,qN(t,0,t.length)}function J6e(e){var t,n,r,i;for(e.g=new pN(I(hC(T5),297)),r=0,n=(Qz(),a5),t=0;t=0?e.Lh(n,!0,!0):mL(e,i,!0),160)),I(r,220).Zl(t);else throw k(new rm(PK+t.xe()+FK))}function Z6e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=iT(r.Math.floor(r.Math.log(e)/.6931471805599453)),(!t||e!=r.Math.pow(2,n))&&++n,n):EUe(zA(e))}function Q6e(e){var t,n,r,i,a=new Tv,o,s;for(n=new O(e);n.a2&&s.e.b+s.j.b<=2&&(i=s,r=o),a.a.zc(i,a),i.q=r);return a}function $6e(e,t,n){n.Ug(`Eades radial`,1),n.dh(t,VG),e.d=I(J(t,(vb(),D4)),27),e.c=A(F(J(t,(PI(),B4)))),e.e=KP(I(J(t,H4),300)),e.a=TJe(I(J(t,dIt),434)),e.b=B1e(I(J(t,iIt),354)),c1e(e),n.dh(t,VG)}function e8e(e,t){if(t.Ug(`Target Width Setter`,1),xD(e,(mR(),m3)))PP(e,(yR(),a3),F(J(e,m3)));else throw k(new sm(`A target width has to be set if the TargetWidthWidthApproximator should be used.`));t.Vg()}function t8e(e,t){var n,r=new $P(e),i;return UA(r,t),G(r,(Y(),b$),t),G(r,(cB(),s0),(rI(),K8)),G(r,s1,(UP(),r6)),yl(r,(DI(),cZ)),n=new jI,ET(n,r),tL(n,(Qz(),w5)),i=new jI,ET(i,r),tL(i,i5),r}function n8e(e){switch(e.g){case 0:return new qp((bk(),w2));case 1:return new Ec;case 2:return new die;default:throw k(new rm(`No implementation is available for the crossing minimizer `+(e.f==null?``+e.g:e.f)))}}function r8e(e,t){var n,r,i,a,o;for(e.c[t.p]=!0,py(e.a,t),o=new O(t.j);o.a=a)o.$b();else for(i=o.Kc(),r=0;r0?Kce():o<0&&m8e(e,t,-o),!0):!1}function aL(e){var t,n,r,i,a,o,s=0;if(e.b==0){for(o=MZe(e,!0),t=0,r=o,i=0,a=r.length;i0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}else s=rle(fA(sw(aw(cEe(e.a),new Ze),new Qe)));return s>0?s+e.n.d+e.n.a:0}function oL(e){var t,n,r,i,a,o,s=0;if(e.b==0)s=rle(fA(sw(aw(cEe(e.a),new Ye),new Xe)));else{for(o=NZe(e,!0),t=0,r=o,i=0,a=r.length;i0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}return s>0?s+e.n.b+e.n.c:0}function g8e(e){var t,n;if(e.c.length!=2)throw k(new im(`Order only allowed for two paths.`));t=(VT(0,e.c.length),I(e.c[0],18)),n=(VT(1,e.c.length),I(e.c[1],18)),t.d.i!=n.c.i&&(e.c.length=0,af(e.c,n),af(e.c,t))}function _8e(e,t,n){var r;for(Iv(n,t.g,t.f),Lv(n,t.i,t.j),r=0;r<(!t.a&&(t.a=new L(s7,t,10,11)),t.a).i;r++)_8e(e,I(U((!t.a&&(t.a=new L(s7,t,10,11)),t.a),r),27),I(U((!n.a&&(n.a=new L(s7,n,10,11)),n.a),r),27))}function v8e(e,t){var n,i,a,o=I(XC(e.b,t),127);for(n=o.a,a=I(I(rD(e.r,t),21),87).Kc();a.Ob();)i=I(a.Pb(),117),i.c&&(n.a=r.Math.max(n.a,qCe(i.c)));if(n.a>0)switch(t.g){case 2:o.n.c=e.s;break;case 4:o.n.b=e.s}}function y8e(e,t){var n=I(K(t,(JR(),OX)),17).a-I(K(e,OX),17).a,r,i;return n==0?(r=Pb(iy(I(K(e,(Uk(),MX)),8)),I(K(e,NX),8)),i=Pb(iy(I(K(t,MX),8)),I(K(t,NX),8)),KM(r.a*r.b,i.a*i.b)):n}function b8e(e,t){var n=I(K(t,(tz(),y4)),17).a-I(K(e,y4),17).a,r,i;return n==0?(r=Pb(iy(I(K(e,(Zz(),X2)),8)),I(K(e,Z2),8)),i=Pb(iy(I(K(t,X2),8)),I(K(t,Z2),8)),KM(r.a*r.b,i.a*i.b)):n}function x8e(e){var t,n=new xm;return n.a+=`e_`,t=wUe(e),t!=null&&(n.a+=``+t),e.c&&e.d&&(uv((n.a+=` `,n),SF(e.c)),uv(lv((n.a+=`[`,n),e.c.i),`]`),uv((n.a+=qU,n),SF(e.d)),uv(lv((n.a+=`[`,n),e.d.i),`]`)),n.a}function S8e(e){switch(e.g){case 0:return new hie;case 1:return new gie;case 2:return new mie;case 3:return new pie;default:throw k(new rm(`No implementation is available for the layout phase `+(e.f==null?``+e.g:e.f)))}}function C8e(e,t,n,i,a){var o=0;switch(a.g){case 1:o=r.Math.max(0,t.b+e.b-(n.b+i));break;case 3:o=r.Math.max(0,-e.b-i);break;case 2:o=r.Math.max(0,-e.a-i);break;case 4:o=r.Math.max(0,t.a+e.a-(n.a+i))}return o}function w8e(e,t,n){var r,i,a,o,s;if(n)for(i=n.a.length,r=new wS(i),s=(r.b-r.a)*r.c<0?(cg(),G9):new Sy(r);s.Ob();)o=I(s.Pb(),17),a=gE(n,o.a),hyt in a.a||eq in a.a?Vrt(e,a,t):$dt(e,a,t),Lge(I(SC(e.b,XN(a)),74))}function T8e(e){var t,n;switch(e.b){case-1:return!0;case 0:return n=e.t,n>1||n==-1?(e.b=-1,!0):(t=IF(e),t&&(sg(),t.lk()==jbt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function E8e(e,t){var n,r,i,a;if(lB(e),e.c!=0||e.a!=123)throw k(new dm(_B((Yv(),Uyt))));if(a=t==112,r=e.d,n=Xy(e.i,125,r),n<0)throw k(new dm(_B((Yv(),Wyt))));return i=Jw(e.i,r,n),e.d=n+1,LLe(i,a,(e.e&512)==512)}function D8e(e){var t,n,r=e.a.c.length,i,a,o,s;if(r>0)for(o=e.c.d,s=e.d.d,i=fy(Pb(new M(s.a,s.b),o),1/(r+1)),a=new M(o.a,o.b),n=new O(e.a);n.a=0&&r=0?e.Lh(n,!0,!0):mL(e,i,!0),160)),I(r,220).Wl(t);throw k(new rm(PK+t.xe()+IK))}function M8e(){Vde();var e;return lHt?I(ML((ng(),V7),Jq),2038):(yv(zJ,new bre),Rlt(),e=I(P($w((ng(),V7),Jq),560)?$w(V7,Jq):new LDe,560),lHt=!0,Lft(e),Jft(e),GC((Lde(),FVt),e,new os),CT(V7,Jq,e),e)}function N8e(e,t){var n,r,i,a;e.j=-1,Av(e.e)?(n=e.i,a=e.i!=0,tD(e,t),r=new lO(e.e,3,e.c,null,t,n,a),i=t.zl(e.e,e.c,null),i=E0e(e,t,i),i?(i.nj(r),i.oj()):MA(e.e,r)):(tD(e,t),i=t.zl(e.e,e.c,null),i&&i.oj())}function lL(e,t){var n,r,i=0;if(r=t[0],r>=e.length)return-1;for(n=(HT(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(HT(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function P8e(e){var t,n,i,a=I(e.a,17).a,o=I(e.b,17).a;return n=a,i=o,t=r.Math.max(r.Math.abs(a),r.Math.abs(o)),a<=0&&a==o?(n=0,i=o-1):a==-t&&o!=t?(n=o,i=a,o>=0&&++n):(n=-o,i=a),new W_(gM(n),gM(i))}function F8e(e,t,n,r){var i,a,o,s,c,l;for(i=0;i=0&&l>=0&&c=e.i)throw k(new em(dq+t+fq+e.i));if(n>=e.i)throw k(new em(pq+n+fq+e.i));return r=e.g[n],t!=n&&(t>16),t=r>>16&16,n=16-t,e>>=t,r=e-256,t=r>>16&8,n+=t,e<<=t,r=e-BV,t=r>>16&4,n+=t,e<<=t,r=e-VB,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function L8e(e){Dw();var t,n,r,i;for(wX=new qd,CX=new Kd,SX=new qd,t=(!e.a&&(e.a=new L(s7,e,10,11)),e.a),idt(t),i=new xy(t);i.e!=i.i.gc();)r=I(CP(i),27),QD(wX,r,0)==-1&&(n=new qd,py(SX,n),cXe(r,n));return SX}function R8e(e,t,n){var r,i,a,o;e.a=n.b.d,P(t,326)?(i=oR(I(t,74),!1,!1),a=FI(i),r=new Nae(e),WE(a,r),oz(a,i),t.of((dB(),k6))!=null&&WE(I(t.of(k6),75),r)):(o=I(t,422),o.rh(o.nh()+e.a.a),o.sh(o.oh()+e.a.b))}function z8e(e,t){var n,r,i=new qd;for(r=vP(t.a,0);r.b!=r.d.c;)n=I(yE(r),65),n.c.g==e.g&&N(K(n.b,(tz(),x4)))!==N(K(n.c,x4))&&!YE(new Hx(null,new UT(i,16)),new fd(n))&&af(i.c,n);return Qv(i,new Xi),i}function B8e(e,t,n){var r,i,a,o;return P(t,153)&&P(n,153)?(a=I(t,153),o=I(n,153),e.a[a.a][o.a]+e.a[o.a][a.a]):P(t,250)&&P(n,250)&&(r=I(t,250),i=I(n,250),r.a==i.a)?I(K(i.a,(JR(),OX)),17).a:0}function V8e(e,t){var n,i,a,o,s,c,l,u=A(F(K(t,(cB(),j0))));for(l=e[0].n.a+e[0].o.a+e[0].d.c+u,c=1;c=0?n:(s=MC(Pb(new M(o.c+o.b/2,o.d+o.a/2),new M(a.c+a.b/2,a.d+a.a/2))),-(vat(a,o)-1)*s)}function U8e(e,t,n){var r;Ph(new Hx(null,(!n.a&&(n.a=new L(Q5,n,6,6)),new UT(n.a,16))),new Cpe(e,t)),Ph(new Hx(null,(!n.n&&(n.n=new L(o7,n,1,7)),new UT(n.n,16))),new wpe(e,t)),r=I(J(n,(dB(),k6)),75),r&&pHe(r,e,t)}function mL(e,t,n){var r,i,a=Rz((UI(),p9),e.Dh(),t);if(a)return sg(),I(a,69).xk()||(a=YT(oO(p9,a))),i=(r=e.Ih(a),I(r>=0?e.Lh(r,!0,!0):mL(e,a,!0),160)),I(i,220).Sl(t,n);throw k(new rm(PK+t.xe()+IK))}function W8e(e,t,n,r){var i=e.d[t],a,o,s,c;if(i){if(a=i.g,c=i.i,r!=null){for(s=0;s=n&&(r=t,l=(c.c+c.a)/2,o=l-n,c.c<=l-n&&(i=new ax(c.c,o),rS(e,r++,i)),s=l+n,s<=c.a&&(a=new ax(s,c.a),BT(r,e.c.length),kg(e.c,r,a)))}function Z8e(e,t,n){var r,i,a,o,s,c;if(!t.dc()){for(i=new Dh,c=t.Kc();c.Ob();)for(s=I(c.Pb(),40),GC(e.a,gM(s.g),gM(n)),o=(r=vP(new md(s).a.d,0),new hd(r));sh(o.a);)a=I(yE(o.a),65).c,BE(i,a,i.c.b,i.c);Z8e(e,i,n+1)}}function Q8e(e){var t;if(!e.c&&e.g==null)e.d=e.bj(e.f),OD(e,e.d),t=e.d;else if(e.g==null)return!0;else if(e.i==0)return!1;else t=I(e.g[e.i-1],51);return t==e.b&&null.Vm>=null.Um()?(PL(e),Q8e(e)):t.Ob()}function $8e(e){if(this.a=e,e.c.i.k==(DI(),cZ))this.c=e.c,this.d=I(K(e.c.i,(Y(),x$)),64);else if(e.d.i.k==cZ)this.c=e.d,this.d=I(K(e.d.i,(Y(),x$)),64);else throw k(new rm(`Edge `+e+` is not an external edge.`))}function e5e(e,t){var n,r,i=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,3,i,e.b)),t?t!=e&&(eA(e,t.zb),fk(e,t.d),n=(r=t.c,r??t.zb),Fk(e,n==null||Rb(n,t.zb)?null:n)):(eA(e,null),fk(e,0),Fk(e,null))}function t5e(e,t){var n;this.e=(_C(),hC(e),_C(),$Je(e)),this.c=(hC(t),$Je(t)),Nge(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Kqe(this.e),this.b=Kqe(this.c),n=Bx(PJ,[X,DB],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=n,qBe(this)}function n5e(e){var t=(!qJ&&(qJ=Cdt()),qJ);return`"`+e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(e){return rAe(e,t)})+`"`}function r5e(e,t,n,i,a,o){var s,c,l,u,d;if(a!=0)for(N(e)===N(n)&&(e=e.slice(t,t+a),t=0),l=n,c=t,u=t+a;c=o)throw k(new Lb(t,o));return i=n[t],o==1?r=null:(r=H(w7,fbt,424,o-1,0,1),$R(n,0,r,0,t),a=o-t-1,a>0&&$R(n,t+1,r,t,a)),dP(e,r),e6e(e,t,i),i}function s5e(e){var t,n;if(e.f){for(;e.n0?bN(n):LM(bN(n))),PP(t,u0,a)}function d5e(e,t){var n;t.Ug(`Partition preprocessing`,1),n=I(VE(aw(TO(aw(new Hx(null,new UT(e.a,16)),new zee),new Bee),new Vee),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15),Ph(n.Oc(),new sr),t.Vg()}function f5e(e,t){var n,r,i,a,o=e.j;for(t.a!=t.b&&Qv(o,new yte),i=o.c.length/2|0,r=0;r0&&AR(e,n,t),a):r.a==null?i.a==null?0:(AR(e,n,t),1):(AR(e,t,n),-1)}function m5e(e,t){var n,r,i=t.b.b,a,o;for(e.a=H(RJ,iU,15,i,0,1),e.b=H(J9,CH,28,i,16,1),o=vP(t.b,0);o.b!=o.d.c;)a=I(yE(o),40),e.a[a.g]=new Dh;for(r=vP(t.a,0);r.b!=r.d.c;)n=I(yE(r),65),e.a[n.b.g].Fc(n),e.a[n.c.g].Fc(n)}function h5e(e,t){var n,r,i,a;e.Pj()?(n=e.Ej(),a=e.Qj(),++e.j,e.qj(n,e.Zi(n,t)),r=e.Ij(3,null,t,n,a),e.Mj()?(i=e.Nj(t,null),i?(i.nj(r),i.oj()):e.Jj(r)):e.Jj(r)):(aDe(e,t),e.Mj()&&(i=e.Nj(t,null),i&&i.oj()))}function g5e(e,t,n){var r,i,a;e.Pj()?(a=e.Qj(),wM(e,t,n),r=e.Ij(3,null,n,t,a),e.Mj()?(i=e.Nj(n,null),e.Tj()&&(i=e.Uj(n,i)),i?(i.nj(r),i.oj()):e.Jj(r)):e.Jj(r)):(wM(e,t,n),e.Mj()&&(i=e.Nj(n,null),i&&i.oj()))}function _L(e,t){var n,r,i,a,o=eR(e.e.Dh(),t);for(i=new Lo,n=I(e.g,124),a=e.i;--a>=0;)r=n[a],o.am(r.Lk())&&OD(i,r);!jdt(e,i)&&Av(e.e)&&Nf(e,t.Jk()?Hw(e,6,t,(Ew(),xY),null,-1,!1):Hw(e,t.tk()?2:1,t,null,null,-1,!1))}function _5e(e,t){var n,r,i,a,o;return e.a==(TI(),WQ)?!0:(a=t.a.c,n=t.a.c+t.a.b,!(t.j&&(r=t.A,o=r.c.c.a-r.o.a/2,i=a-(r.n.a+r.o.a),i>o)||t.q&&(r=t.C,o=r.c.c.a-r.o.a/2,i=r.n.a-n,i>o)))}function v5e(e){xT();var t,n=new zE,r,i,a,o,s;for(i=new O(e.e.b);i.a1?e.e*=A(e.a):e.f/=A(e.a),HGe(e),YYe(e),urt(e),G(e.b,(DP(),bX),e.g)}function w5e(e,t,n){var r=0,i,a,o,s,c=n;for(t||(r=n*(e.c.length-1),c*=-1),a=new O(e);a.a=0?e.Ah(null):e.Ph().Th(e,-1-t,null,null)),e.Bh(I(i,54),n),r&&r.oj(),e.vh()&&e.wh()&&n>-1&&MA(e,new jS(e,9,n,a,i)),i):a}function I5e(e,t){var n,r,i,a=e.b.Ce(t),o;for(r=(n=e.a.get(a),n??H(PJ,DB,1,0,5,1)),o=0;o>5,i>=e.d)return e.e<0;if(n=e.a[i],t=1<<(t&31),e.e<0){if(r=kHe(e),i>16)),15).dd(a),s0&&(!(Mv(e.a.c)&&t.n.d)&&!(Nv(e.a.c)&&t.n.b)&&(t.g.d+=r.Math.max(0,i/2-.5)),!(Mv(e.a.c)&&t.n.a)&&!(Nv(e.a.c)&&t.n.c)&&(t.g.a-=i-1))}function J5e(e){var t,n,i,a=new qd,o=oat(e,a);if(t=I(K(e,(Y(),V$)),10),t)for(i=new O(t.j);i.a>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(o=r?AV:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(o=r?AV:0,a=r?kV:0,i=n>>t-44),ty(i&kV,a&kV,o&AV)}function wL(e){var t,n,i,a,o,s;for(this.c=new qd,this.d=e,i=RV,a=RV,t=zV,n=zV,s=vP(e,0);s.b!=s.d.c;)o=I(yE(s),8),i=r.Math.min(i,o.a),a=r.Math.min(a,o.b),t=r.Math.max(t,o.a),n=r.Math.max(n,o.b);this.a=new fw(i,a,t-i,n-a)}function Q5e(e,t){var n,r,i,a,o,s;for(a=new O(e.b);a.a0&&P(t,44)&&(e.a._j(),l=I(t,44),c=l.ld(),a=c==null?0:$k(c),o=Yve(e.a,a),n=e.a.d[o],n)){for(r=I(n.g,379),u=n.i,s=0;s=2)for(n=a.Kc(),t=F(n.Pb());n.Ob();)o=t,t=F(n.Pb()),i=r.Math.min(i,(BC(t),t)-(BC(o),o));return i}function g7e(e,t){var n,r,i=new qd;for(r=vP(t.a,0);r.b!=r.d.c;)n=I(yE(r),65),n.b.g==e.g&&!Rb(n.b.c,MG)&&N(K(n.b,(tz(),x4)))!==N(K(n.c,x4))&&!YE(new Hx(null,new UT(i,16)),new pd(n))&&af(i.c,n);return Qv(i,new ine),i}function _7e(e,t){var n,r,i;if(N(t)===N(hC(e)))return!0;if(!P(t,15)||(r=I(t,15),i=e.gc(),i!=r.gc()))return!1;if(P(r,59)){for(n=0;n0&&(i=n),o=new O(e.f.e);o.a0?(--t,--n):r>=0&&i<0?(t+=1,n+=1):r>0&&i>=0?(--t,n+=1):(t+=1,--n),new W_(gM(t),gM(n))}function N7e(e,t){return e.ct.c?1:e.bt.b?1:e.a==t.a?e.d==(CE(),k2)&&t.d==O2?-1:+(e.d==O2&&t.d==k2):$k(e.a)-$k(t.a)}function P7e(e,t){var n,r,i,a=t.a,o=a.c.i==t.b?a.d:a.c;return r=a.c.i==t.b?a.c:a.d,i=JJe(e.a,o,r),i>0&&i0):i<0&&-i0):!1}function F7e(e,t,n,r){var i=(t-e.d)/e.c.c.length,a=0,o,s,c,l,u,d;for(e.a+=n,e.d=t,d=new O(e.c);d.a>24;return o}function L7e(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 n=e.j,r=e.d;r=r.split(`/`),e.o=KN(`.`,[n,KN(`$`,r)]),e.b=KN(`.`,[n,KN(`.`,r)]),e.k=r[r.length-1]}function R7e(e,t){var n,r,i,a,o=null;for(a=new O(e.e.a);a.a=0;t-=2)for(n=0;n<=t;n+=2)(e.b[n]>e.b[n+2]||e.b[n]===e.b[n+2]&&e.b[n+1]>e.b[n+3])&&(r=e.b[n+2],e.b[n+2]=e.b[n],e.b[n]=r,r=e.b[n+3],e.b[n+3]=e.b[n+1],e.b[n+1]=r);e.c=!0}}function K7e(e,t){var n,r,i,a,o,s,c,l=-1,u=0;for(o=e,s=0,c=o.length;s0&&++u;++l}return u}function AL(e){var t,n=new ky(Qm(e.Rm));return n.a+=`@`,uv(n,(t=$k(e)>>>0,t.toString(16))),e.Vh()?(n.a+=` (eProxyURI: `,lv(n,e._h()),e.Kh()&&(n.a+=` eClass: `,lv(n,e.Kh())),n.a+=`)`):e.Kh()&&(n.a+=` (eClass: `,lv(n,e.Kh()),n.a+=`)`),n.a}function jL(e){var t,n,r,i;if(e.e)throw k(new im((mb(zY),hH+zY.k+gH)));for(e.d==(FM(),d8)&&qz(e,l8),n=new O(e.a.a);n.a>24}return n}function Z7e(e,t,n){var r,i=I(XC(e.i,t),314),a;if(!i)if(i=new Aze(e.d,t,n),JS(e.i,t,i),MYe(t))pge(e.a,t.c,t.b,i);else switch(a=I3e(t),r=I(XC(e.p,a),252),a.g){case 1:case 3:i.j=!0,Xp(r,t.b,i);break;case 4:case 2:i.k=!0,Xp(r,t.c,i)}return i}function Q7e(e,t){var n,r,i,a,o,s,c=Yy(e.c-e.b&e.a.length-1),l=null,u=null;for(a=new rw(e);a.a!=a.b;)i=I(oM(a),10),n=(s=I(K(i,(Y(),N$)),12),s?s.i:null),r=(o=I(K(i,P$),12),o?o.i:null),(l!=n||u!=r)&&(E5e(c,t),l=n,u=r),af(c.c,i);E5e(c,t)}function $7e(e,t,n,r){var i,a,o,s=new Lo,c=eR(e.e.Dh(),t),l;if(i=I(e.g,124),sg(),I(t,69).xk())for(o=0;o=0)return a;for(o=1,c=new O(t.j);c.a=0)return a;for(o=1,c=new O(t.j);c.a0&&t.Ne((VT(i-1,e.c.length),I(e.c[i-1],10)),a)>0;)GE(e,i,(VT(i-1,e.c.length),I(e.c[i-1],10))),--i;VT(i,e.c.length),e.c[i]=a}n.a=new Kd,n.b=new Kd}function r9e(e,t,n){var r,i,a,o,s,c,l,u=(r=I(t.e&&t.e(),9),new Kb(r,I(jb(r,r.length),9),0));for(c=ez(n,`[\\[\\]\\s,]+`),a=c,o=0,s=a.length;o=0?(t||(t=new bm,r>0&&sv(t,(TD(0,r,e.length),e.substr(0,r)))),t.a+=`\\`,kC(t,n&_V)):t&&kC(t,n&_V);return t?t.a:e}function a9e(e){var t,n,i;for(n=new O(e.a.a.b);n.a0&&(!(Mv(e.a.c)&&t.n.d)&&!(Nv(e.a.c)&&t.n.b)&&(t.g.d-=r.Math.max(0,i/2-.5)),!(Mv(e.a.c)&&t.n.a)&&!(Nv(e.a.c)&&t.n.c)&&(t.g.a+=r.Math.max(0,i-1)))}function o9e(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(Qz(),a5)||t==i5?(RO(I(vj(e),15),(kF(),D8)),RO(I(vj(e),15),O8)):(RO(I(vj(e),15),(kF(),O8)),RO(I(vj(e),15),D8));else for(i=new rw(e);i.a!=i.b;)r=I(oM(i),15),RO(r,n)}function s9e(e,t){var n,r,i=px(new kd(e)),a,o,s=new tE(i,i.c.length),c;for(a=px(new kd(t)),c=new tE(a,a.c.length),o=null;s.b>0&&c.b>0&&(n=(hb(s.b>0),I(s.a.Xb(s.c=--s.b),27)),r=(hb(c.b>0),I(c.a.Xb(c.c=--c.b),27)),n==r);)o=n;return o}function c9e(e,t,n){var r,i,a,o;fMe(e,t)>fMe(e,n)?(r=rN(n,(Qz(),i5)),e.d=r.dc()?0:kx(I(r.Xb(0),12)),o=rN(t,w5),e.b=o.dc()?0:kx(I(o.Xb(0),12))):(i=rN(n,(Qz(),w5)),e.d=i.dc()?0:kx(I(i.Xb(0),12)),a=rN(t,i5),e.b=a.dc()?0:kx(I(a.Xb(0),12)))}function l9e(e,t){var n=e.o.a,r,i,a;for(a=I(I(rD(e.r,t),21),87).Kc();a.Ob();)i=I(a.Pb(),117),i.e.a=n*A(F(i.b.of(rX))),i.e.b=(r=i.b,r.pf((dB(),U6))?r.ag()==(Qz(),a5)?-r.Mf().b-A(F(r.of(U6))):A(F(r.of(U6))):r.ag()==(Qz(),a5)?-r.Mf().b:0)}function u9e(e,t){var n,r,i,a;for(t.Ug(`Self-Loop pre-processing`,1),r=new O(e.a);r.ae.c));o++)i.a>=e.s&&(a<0&&(a=o),s=o);return c=(e.s+e.c)/2,a>=0&&(r=zrt(e,t,a,s),c=Fde((VT(r,t.c.length),I(t.c[r],339))),X8e(t,r,n)),c}function NL(e,t,n){var r,i,a,o=(a=new Ho,a),s,c,l;for(xVe(o,(BC(t),t)),l=(!o.b&&(o.b=new lb((hB(),o9),d9,o)),o.b),c=1;c0&&Cct(this,i)}function m9e(e,t,n,r,i,a){var o,s,c;if(!i[t.a]){for(i[t.a]=!0,o=r,!o&&(o=new lD),py(o.e,t),c=a[t.a].Kc();c.Ob();)s=I(c.Pb(),290),!(s.d==n||s.c==n)&&(s.c!=t&&m9e(e,s.c,t,o,i,a),s.d!=t&&m9e(e,s.d,t,o,i,a),py(o.c,s),nj(o.d,s.b));return o}return null}function h9e(e){var t=0,n,r,i,a,o,s;for(i=new O(e.e);i.a=2}function g9e(e,t,n,r,i){var a=e.c.d.j,o=I(kP(n,0),8),s,c,l,u;for(u=1;u1||(t=oS(M8,W(j(B8,1),Z,95,0,[j8,P8])),HA(tT(t,e))>1)||(r=oS(z8,W(j(B8,1),Z,95,0,[R8,L8])),HA(tT(r,e))>1))}function v9e(e,t,n){var r,i,a;for(a=new O(e.t);a.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&Dx(t,r.b));for(i=new O(e.i);i.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&Dx(n,r.a))}function PL(e){var t,n,r,i,a;if(e.g==null&&(e.d=e.bj(e.f),OD(e,e.d),e.c))return a=e.f,a;if(t=I(e.g[e.i-1],51),i=t.Pb(),e.e=t,n=e.bj(i),n.Ob())e.d=n,OD(e,n);else for(e.d=null;!t.Ob()&&(CC(e.g,--e.i,null),e.i!=0);)r=I(e.g[e.i-1],51),t=r;return i}function y9e(e,t){var n,r=t,i=r.Lk(),a,o,s;if(rR(e.e,i)){if(i.Si()&&OE(e,i,r.md()))return!1}else for(s=eR(e.e.Dh(),i),n=I(e.g,124),a=0;a1||n>1)return 2;return t+n==1?2:0}function LL(e,t){var n,i,a,o=e.a*rH+e.b*1502,s,c=e.b*rH+11;return n=r.Math.floor(c*iH),o+=n,c-=n*Bpt,o%=Bpt,e.a=o,e.b=c,t<=24?r.Math.floor(e.a*USt[t]):(a=e.a*(1<=2147483648&&(i-=4294967296),i)}function k9e(e,t,n){var r,i,a=new qd,o,s,c,l=new Dh;for(o=new Dh,Iot(e,l,o,t),tlt(e,l,o,t,n),c=new O(e);c.ar.b.g&&af(a.c,r);return a}function A9e(e,t,n){var r,i,a,o,s=e.c,c;for(o=(n.q?n.q:(Ew(),Ew(),SY)).vc().Kc();o.Ob();)a=I(o.Pb(),44),r=!oh(aw(new Hx(null,new UT(s,16)),new pu(new gpe(t,a)))).Bd((Nh(),LY)),r&&(c=a.md(),P(c,4)&&(i=BYe(c),i!=null&&(c=i)),t.qf(I(a.ld(),149),c))}function j9e(e,t,n){var r,i;if($C(e.b),ZS(e.b,(IM(),S3),(Zh(),I3)),ZS(e.b,C3,t.g),ZS(e.b,w3,t.a),e.a=Iz(e.b,t),n.Ug(`Compaction by shrinking a tree`,e.a.c.length),t.i.c.length>1)for(i=new O(e.a);i.a=0?e.Lh(r,!0,!0):mL(e,a,!0),160)),I(i,220).Xl(t,n)}else throw k(new rm(PK+t.xe()+FK))}function RL(e,t){var n,r,i,a,o;if(t){for(a=P(e.Cb,90)||P(e.Cb,102),o=!a&&P(e.Cb,331),r=new xy((!t.a&&(t.a=new Zx(t,z7,t)),t.a));r.e!=r.i.gc();)if(n=I(CP(r),89),i=YR(n),a?P(i,90):o?P(i,156):i)return i;return a?(hB(),t9):(hB(),e9)}else return null}function N9e(e,t){var n,r,i,a;for(t.Ug(`Resize child graph to fit parent.`,1),r=new O(e.b);r.a=2*t&&py(n,new ax(o[r-1]+t,o[r]-t));return n}function I9e(e,t,n){var r,i,a,o,s,c,l,u;if(n)for(a=n.a.length,r=new wS(a),s=(r.b-r.a)*r.c<0?(cg(),G9):new Sy(r);s.Ob();)o=I(s.Pb(),17),i=gE(n,o.a),i&&(c=$Ne(e,(l=(Jm(),u=new pp,u),t&&q9e(l,t),l),i),Ik(c,_E(i,rq)),sI(i,c),D6e(i,c),Sj(e,i,c))}function zL(e){var t,n,r,i,a,o;if(!e.j){if(o=new qo,t=l9,a=t.a.zc(e,t),a==null){for(r=new xy(Ww(e));r.e!=r.i.gc();)n=I(CP(r),29),i=zL(n),oC(o,i),OD(o,n);t.a.Bc(e)}Gj(o),e.j=new _v((I(U(B((yC(),K7).o),11),19),o.i),o.g),ZE(e).b&=-33}return e.j}function L9e(e){var t,n,r,i;if(e==null)return null;if(r=Sz(e,!0),i=gJ.length,Rb(r.substr(r.length-i,i),gJ)){if(n=r.length,n==4){if(t=(HT(0,r.length),r.charCodeAt(0)),t==43)return HHt;if(t==45)return VHt}else if(n==3)return HHt}return new Ff(r)}function R9e(e){var t,n=e.l,r;return n&n-1||(r=e.m,r&r-1)||(t=e.h,t&t-1)||t==0&&r==0&&n==0?-1:t==0&&r==0&&n!=0?YBe(n):t==0&&r!=0&&n==0?YBe(r)+22:t!=0&&r==0&&n==0?YBe(t)+44:-1}function BL(e,t){var n,r,i=t.a&e.f,a=null,o;for(r=e.b[i];;r=r.b){if(r==t){a?a.b=t.b:e.b[i]=t.b;break}a=r}for(o=t.f&e.f,a=null,n=e.c[o];;n=n.d){if(n==t){a?a.d=t.d:e.c[o]=t.d;break}a=n}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 z9e(e,t){var n;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?(n=I(zC(I(sD(e.b,t.a),260)),260),n.a=0,++e.c):(n=I(zC(I(SC(e.b,t.a),260)),260),--n.a,t.e?t.e.c=t.c:n.b=I(zC(t.c),511),t.c?t.c.e=t.e:n.c=I(zC(t.e),511)),--e.d}function B9e(e){var t,n=e.o,i,a,o,s,c,l,u,d;for(t=e.p,s=SB,a=uV,c=SB,o=uV,u=0;u0),a.a.Xb(a.c=--a.b),kb(a,i),hb(a.b3&&uO(e,0,t-3))}function W9e(e){var t,n,r,i;return N(K(e,(cB(),I1)))===N((pM(),w8))?!e.e&&N(K(e,b1))!==N((YA(),n$)):(r=I(K(e,x1),299),i=Zp(fb(K(e,C1)))||N(K(e,w1))===N((Nk(),CQ)),t=I(K(e,mjt),17).a,n=e.a.c.length,!i&&r!=(YA(),n$)&&(t==0||t>n))}function G9e(e){for(var t,n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(PF(e,t))throw k(new rm(BK+y5e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?b$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=NP(t,e,6,r)),r=Kve(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,6,t,t))}function HL(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(PF(e,t))throw k(new rm(BK+cst(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?P$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=NP(t,e,12,r)),r=qve(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,3,t,t))}function q9e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(PF(e,t))throw k(new rm(BK+krt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?S$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=NP(t,e,9,r)),r=Jve(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,9,t,t))}function UL(e){var t,n,r=IF(e),i,a=e.j;if(a==null&&r)return e.Jk()?null:r.ik();if(P(r,156)){if(n=r.jk(),n&&(i=n.wi(),i!=e.i)){if(t=I(r,156),t.nk())try{e.g=i.ti(t,a)}catch(t){if(t=ej(t),P(t,82))e.g=null;else throw k(t)}e.i=i}return e.g}return null}function J9e(e){var t=new qd;return py(t,new yg(new M(e.c,e.d),new M(e.c+e.b,e.d))),py(t,new yg(new M(e.c,e.d),new M(e.c,e.d+e.a))),py(t,new yg(new M(e.c+e.b,e.d+e.a),new M(e.c+e.b,e.d))),py(t,new yg(new M(e.c+e.b,e.d+e.a),new M(e.c,e.d+e.a))),t}function Y9e(e){var t,n,r;if(e==null)return OB;try{return mN(e)}catch(i){if(i=ej(i),P(i,103))return t=i,r=Qm(Qj(e))+`@`+(n=(Oh(),zYe(e))>>>0,n.toString(16)),pXe(DUe(),(Mh(),`Exception during lenientFormat for `+r),t),`<`+r+` threw `+Qm(t.Rm)+`>`;throw k(i)}}function X9e(e,t,n){var r,i,a;for(a=t.a.ec().Kc();a.Ob();)i=I(a.Pb(),74),r=I(SC(e.b,i),272),!r&&(_T(xI(i))==_T(SI(i))?ttt(e,i,n):xI(i)==_T(SI(i))?SC(e.c,i)==null&&SC(e.b,SI(i))!=null&&Alt(e,i,n,!1):SC(e.d,i)==null&&SC(e.b,xI(i))!=null&&Alt(e,i,n,!0))}function Z9e(e,t){var n,r,i,a,o,s,c;for(i=e.Kc();i.Ob();)for(r=I(i.Pb(),10),s=new jI,ET(s,r),tL(s,(Qz(),i5)),G(s,(Y(),B$),(Vy(),!0)),o=t.Kc();o.Ob();)a=I(o.Pb(),10),c=new jI,ET(c,a),tL(c,w5),G(c,B$,!0),n=new zw,G(n,B$,!0),wT(n,s),DT(n,c)}function Q9e(e,t,n,r){var i=_Ye(e,t,n),a=_Ye(e,n,t),o=I(SC(e.c,t),118),s=I(SC(e.c,n),118);i1)for(t=Ny((n=new Hf,++e.b,n),e.d),s=vP(a,0);s.b!=s.d.c;)o=I(yE(s),125),$L(zh(Rh(Bh(Lh(new Vf,1),0),t),o))}function net(e,t,n){var r,i,a,o,s;for(n.Ug(`Breaking Point Removing`,1),e.a=I(K(t,(cB(),j1)),223),a=new O(t.b);a.a>16!=11&&t){if(PF(e,t))throw k(new rm(BK+Ort(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?F$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=NP(t,e,10,r)),r=Iye(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,11,t,t))}function ret(e){var t,n,r,i;for(r=new OA(new zl(e.b).a);r.b;)n=Wk(r),i=I(n.ld(),12),t=I(n.md(),10),G(t,(Y(),R$),i),G(i,V$,t),G(i,E$,(Vy(),!0)),tL(i,I(K(t,x$),64)),K(t,x$),G(i.i,(cB(),s0),(rI(),J8)),I(K(IC(i.i),C$),21).Fc((cR(),ZQ))}function iet(e,t,n){var r,i,a=0,o=0,s,c;if(e.c)for(c=new O(e.d.i.j);c.aa.a?-1:i.ac){for(u=e.d,e.d=H(mVt,mbt,66,2*c+4,0,1),a=0;a=0x8000000000000000?(vO(),tSt):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=NV&&(r=iT(e/NV),e-=r*NV),n=0,e>=MV&&(n=iT(e/MV),e-=n*MV),t=iT(e),a=ty(t,n,r),i&&Cj(a),a)}function bet(e){var t,n,r,i,a=new qd;if(UO(e.b,new xu(a)),e.b.c.length=0,a.c.length!=0){for(t=(VT(0,a.c.length),I(a.c[0],82)),n=1,r=a.c.length;n=-t&&i==t?new W_(gM(n-1),gM(i)):new W_(gM(n),gM(i-1))}function Tet(){return fB(),W(j(tDt,1),Z,81,0,[jEt,OEt,vZ,SZ,XEt,TZ,BZ,AZ,JEt,zEt,KEt,kZ,YEt,IEt,ZEt,SEt,MZ,IZ,CZ,FZ,$Et,PZ,CEt,qEt,eDt,RZ,QEt,wZ,NEt,WEt,UEt,VZ,EEt,bZ,DZ,TEt,OZ,VEt,LEt,GEt,xZ,kEt,DEt,HEt,REt,jZ,zZ,wEt,NZ,BEt,EZ,PEt,MEt,LZ,yZ,FEt,AEt])}function Eet(e,t,n){e.d=0,e.b=0,t.k==(DI(),fZ)&&n.k==fZ&&I(K(t,(Y(),R$)),10)==I(K(n,R$),10)&&($D(t).j==(Qz(),a5)?c9e(e,t,n):c9e(e,n,t)),t.k==fZ&&n.k==uZ?$D(t).j==(Qz(),a5)?e.d=1:e.b=1:n.k==fZ&&t.k==uZ&&($D(n).j==(Qz(),a5)?e.b=1:e.d=1),GZe(e,t,n)}function Det(e){var t,n,r,i,a,o,s,c,l,u,d=m2e(e);return t=e.a,c=t!=null,c&&wx(d,`category`,e.a),i=uh(new Rl(e.d)),o=!i,o&&(l=new ml,MO(d,`knownOptions`,l),n=new _se(l),WE(new Rl(e.d),n)),a=uh(e.g),s=!a,s&&(u=new ml,MO(d,`supportedFeatures`,u),r=new vse(u),WE(e.g,r)),d}function Oet(e){var t,n,r=!1,i,a,o,s,c,l;for(t=336,n=0,a=new Dye(e.length),s=e,c=0,l=s.length;c>16!=7&&t){if(PF(e,t))throw k(new rm(BK+h3e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?x$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=I(t,54).Rh(e,1,J5,r)),r=bTe(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,7,t,t))}function jet(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(PF(e,t))throw k(new rm(BK+WKe(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?T$e(e,r):e.Cb.Th(e,-1-n,null,r))),t&&(r=I(t,54).Rh(e,0,$5,r)),r=xTe(e,t,r),r&&r.oj()}else e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,3,t,t))}function Met(e,t){dR();var n,r,i,a,o,s,c,l,u;return t.d>e.d&&(s=e,e=t,t=s),t.d<63?Btt(e,t):(o=(e.d&-2)<<4,l=GFe(e,o),u=GFe(t,o),r=nst(e,eD(l,o)),i=nst(t,eD(u,o)),c=Met(l,u),n=Met(r,i),a=Met(nst(l,r),nst(i,u)),a=Lz(Lz(a,c),n),a=eD(a,o),c=eD(c,o<<1),Lz(Lz(c,a),n))}function YL(){YL=C,H0=new Yg(e_t,0),yMt=new Yg(`LONGEST_PATH`,1),bMt=new Yg(`LONGEST_PATH_SOURCE`,2),z0=new Yg(`COFFMAN_GRAHAM`,3),vMt=new Yg(dW,4),xMt=new Yg(`STRETCH_WIDTH`,5),V0=new Yg(`MIN_WIDTH`,6),R0=new Yg(`BF_MODEL_ORDER`,7),B0=new Yg(`DF_MODEL_ORDER`,8)}function Net(e,t,n){var r,i,a,o=xM(e,n),s=H(oZ,YU,10,t.length,0,1);for(r=0,a=o.Kc();a.Ob();)i=I(a.Pb(),12),Zp(fb(K(i,(Y(),E$))))&&(s[r++]=I(K(i,V$),10));if(r=0;a+=n?1:-1)o|=t.c.lg(c,a,n,r&&!Zp(fb(K(t.j,(Y(),S$))))&&!Zp(fb(K(t.j,(Y(),q$))))),o|=t.q.ug(c,a,n),o|=ert(e,c[a],n,r);return KS(e.c,t),o}function QL(e,t,n){var r,i,a,o,s,c,l,u,d,f;for(u=cNe(e.j),d=0,f=u.length;d1&&(e.a=!0),oTe(I(n.b,68),Nb(iy(I(t.b,68).c),fy(Pb(iy(I(n.b,68).a),I(t.b,68).a),i))),qAe(e,t),Ret(e,n)}function zet(e){var t,n,r,i,a,o,s;for(a=new O(e.a.a);a.a0&&a>0?o.p=t++:r>0?o.p=n++:a>0?o.p=i++:o.p=n++}Ew(),Qv(e.j,new Pee)}function Vet(e){var t,n=null;t=I(zx(e.g,0),18);do{if(n=t.d.i,rb(n,(Y(),P$)))return I(K(n,P$),12).i;if(n.k!=(DI(),dZ)&&CL(new SS(Ty(lN(n).a.Kc(),new d))))t=I($E(new SS(Ty(lN(n).a.Kc(),new d))),18);else if(n.k!=dZ)return null}while(n&&n.k!=(DI(),dZ));return n}function Het(e,t){var n,r,i,a,o,s=t.j,c,l,u;for(o=t.g,c=I(zx(s,s.c.length-1),113),u=(VT(0,s.c.length),I(s.c[0],113)),l=gF(e,o,c,u),a=1;al&&(c=n,u=i,l=r);t.a=u,t.c=c}function Uet(e,t,n){var r,i,a,o,s,c,l=new ih(new xoe(e));for(o=W(j(gEt,1),iht,12,0,[t,n]),s=0,c=o.length;sc-e.b&&sc-e.a&&s0?a.a?(s=a.b.Mf().a,n>s&&(i=(n-s)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:OS(e.u)&&(r=S2e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.Mf().a&&(a.d.c=r.c+r.b-a.b.Mf().a))}function ltt(e,t){var n,r,i,a,o=new qd;n=t;do a=I(SC(e.b,n),131),a.B=n.c,a.D=n.d,af(o.c,a),n=I(SC(e.k,n),18);while(n);return r=(VT(0,o.c.length),I(o.c[0],131)),r.j=!0,r.A=I(r.d.a.ec().Kc().Pb(),18).c.i,i=I(zx(o,o.c.length-1),131),i.q=!0,i.C=I(i.d.a.ec().Kc().Pb(),18).d.i,o}function utt(e){var t=I(e.a,17).a,n=I(e.b,17).a;if(t>=0){if(t==n)return new W_(gM(-t-1),gM(-t-1));if(t==-n)return new W_(gM(-t),gM(n+1))}return r.Math.abs(t)>r.Math.abs(n)?t<0?new W_(gM(-t),gM(n)):new W_(gM(-t),gM(n+1)):new W_(gM(t+1),gM(n))}function dtt(e){var t,n=I(K(e,(cB(),V1)),171);t=I(K(e,(Y(),D$)),311),n==(CN(),r1)?(G(e,V1,o1),G(e,D$,(gO(),c$))):n==a1?(G(e,V1,o1),G(e,D$,(gO(),o$))):t==(gO(),c$)?(G(e,V1,r1),G(e,D$,s$)):t==o$&&(G(e,V1,a1),G(e,D$,s$))}function tR(){tR=C,L2=new Ute,XNt=Px(new WC,(vI(),HX),(fB(),CZ)),$Nt=uS(Px(new WC,HX,PZ),WX,NZ),ePt=$N($N(eg(uS(Px(new WC,BX,BZ),WX,zZ),UX),RZ),VZ),ZNt=uS(Px(Px(Px(new WC,VX,TZ),UX,DZ),UX,OZ),WX,EZ),QNt=uS(Px(Px(new WC,UX,OZ),UX,bZ),WX,yZ)}function nR(){nR=C,rPt=Px(uS(new WC,(vI(),WX),(fB(),PEt)),HX,CZ),sPt=$N($N(eg(uS(Px(new WC,BX,BZ),WX,zZ),UX),RZ),VZ),iPt=uS(Px(Px(Px(new WC,VX,TZ),UX,DZ),UX,OZ),WX,EZ),oPt=Px(Px(new WC,HX,PZ),WX,NZ),aPt=uS(Px(Px(new WC,UX,OZ),UX,bZ),WX,yZ)}function ftt(e,t,n,r,i){var a,o;(!XE(t)&&t.c.i.c==t.d.i.c||!jVe(xj(W(j(e6,1),X,8,0,[i.i.n,i.n,i.a])),n))&&!XE(t)&&(t.c==i?Qy(t.a,0,new Ev(n)):Dx(t.a,new Ev(n)),r&&!Ch(e.a,n)&&(o=I(K(t,(cB(),B1)),75),o||(o=new mp,G(t,B1,o)),a=new Ev(n),BE(o,a,o.c.b,o.c),KS(e.a,a)))}function ptt(e,t){var n,r,i,a=dS(tN($B,JC(dS(tN(t==null?0:$k(t),eV)),15)));for(n=a&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==a&&FC(r.i,t))return i?i.a=r.a:e.b[n]=r.a,Uce(I(zC(r.c),604),I(zC(r.f),604)),lf(I(zC(r.b),227),I(zC(r.e),227)),--e.f,++e.e,!0;return!1}function mtt(e){var t,n;for(n=new SS(Ty(cN(e).a.Kc(),new d));CL(n);)if(t=I($E(n),18),t.c.i.k!=(DI(),lZ))throw k(new sm(tW+xF(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 htt(e,t,n){var r,i=nqe(e.Db&254),a,o,s,c,l;if(i==0)e.Eb=n;else{if(i==1)s=H(PJ,DB,1,2,5,1),a=pF(e,t),a==0?(s[0]=n,s[1]=e.Eb):(s[0]=e.Eb,s[1]=n);else for(s=H(PJ,DB,1,i+1,5,1),o=gk(e.Eb),r=2,c=0,l=0;r<=128;r<<=1)r==t?s[l++]=n:(e.Db&r)!=0&&(s[l++]=o[c++]);e.Eb=s}e.Db|=t}function gtt(e,t,n){var i,a,o,s;for(this.b=new qd,a=0,i=0,s=new O(e);s.a0&&(o=I(zx(this.b,0),176),a+=o.o,i+=o.p),a*=2,i*=2,t>1?a=iT(r.Math.ceil(a*t)):i=iT(r.Math.ceil(i/t)),this.a=new UJe(a,i)}function _tt(e,t,n,i,a,o){var s,c,l,u,d=i,f,p,m,h,g,_,v;for(t.j&&t.o?(m=I(SC(e.f,t.A),60),g=m.d.c+m.d.b,--d):g=t.a.c+t.a.b,f=a,n.q&&n.o?(m=I(SC(e.f,n.C),60),u=m.d.c,++f):u=n.a.c,_=u-g,l=r.Math.max(2,f-d),c=_/l,h=g+c,p=d;p=0;o+=i?1:-1){for(s=t[o],c=r==(Qz(),i5)?i?rN(s,r):yN(rN(s,r)):i?yN(rN(s,r)):rN(s,r),a&&(e.c[s.p]=c.gc()),d=c.Kc();d.Ob();)u=I(d.Pb(),12),e.d[u.p]=l++;nj(n,c)}}function btt(e,t,n){var r,i,a=A(F(e.b.Kc().Pb())),o,s,c,l=A(F(TUe(t.b))),u;for(r=fy(iy(e.a),l-n),i=fy(iy(t.a),n-a),u=Nb(r,i),fy(u,1/(l-a)),this.a=u,this.b=new qd,s=!0,o=e.b.Kc(),o.Pb();o.Ob();)c=A(F(o.Pb())),s&&c-n>EG&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n)}function xtt(e){var t,n,r,i;if(Hrt(e,e.n),e.d.c.length>0){for(pm(e.c);K5e(e,I(V(new O(e.e.a)),125))>5,i,a,o;if(t&=31,r>=e.d)return e.e<0?(OR(),TSt):(OR(),_Y);if(a=e.d-r,i=H(q9,DV,28,a+1,15,1),o3e(i,a,e.a,r,t),e.e<0){for(n=0;n0&&e.a[n]<<32-t){for(n=0;n=0?!1:(n=Rz((UI(),p9),i,t),n?(r=n.Ik(),(r>1||r==-1)&&VC(oO(p9,n))!=3):!0)):!1}function Ott(e,t,n,r){var i,a,o,s=cI(I(U((!t.b&&(t.b=new Ib(X5,t,4,7)),t.b),0),84)),c=cI(I(U((!t.c&&(t.c=new Ib(X5,t,5,8)),t.c),0),84));return _T(s)==_T(c)||HO(c,s)?null:(o=oT(t),o==n?r:(a=I(SC(e.a,o),10),a&&(i=a.e,i)?i:null))}function ktt(e,t,n){var r,i,a,o,s;for(n.Ug(`Longest path to source layering`,1),e.a=t,s=e.a.a,e.b=H(q9,DV,28,s.c.length,15,1),r=0,o=new O(s);o.a0&&(n[0]+=e.d,s-=n[0]),n[2]>0&&(n[2]+=e.d,s-=n[2]),o=r.Math.max(0,s),n[1]=r.Math.max(n[1],s),iIe(e,GY,a.c+i.b+n[0]-(n[1]-s)/2,n),t==GY&&(e.c.b=o,e.c.c=a.c+i.b+(o-s)/2)}function Utt(){this.c=H(Z9,GV,28,(Qz(),W(j(T5,1),UU,64,0,[C5,a5,i5,S5,w5])).length,15,1),this.b=H(Z9,GV,28,W(j(T5,1),UU,64,0,[C5,a5,i5,S5,w5]).length,15,1),this.a=H(Z9,GV,28,W(j(T5,1),UU,64,0,[C5,a5,i5,S5,w5]).length,15,1),Kde(this.c,RV),Kde(this.b,zV),Kde(this.a,zV)}function iR(e,t,n){var r,i,a,o;if(t<=n?(i=t,a=n):(i=n,a=t),r=0,e.b==null)e.b=H(q9,DV,28,2,15,1),e.b[0]=i,e.b[1]=a,e.c=!0;else{if(r=e.b.length,e.b[r-1]+1==i){e.b[r-1]=a;return}o=H(q9,DV,28,r+2,15,1),$R(e.b,0,o,0,r),e.b=o,e.b[r-1]>=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||kL(e)}}function Wtt(e,t,n){var r,i,a,o,s,c,l=t.d;for(e.a=new gD(l.c.length),e.c=new Kd,s=new O(l);s.a=0?e.Lh(l,!1,!0):mL(e,n,!1),61));n:for(a=d.Kc();a.Ob();){for(i=I(a.Pb(),58),u=0;u1;)sR(i,i.i-1);return r}function Ztt(e,t){var n=new by,r,i,a,o,s,c;for(a=new O(e.b);a.ae.d[o.p]&&(n+=_Fe(e.b,a),bE(e.a,gM(a)));for(;!mm(e.a);)YRe(e.b,I(WS(e.a),17).a)}return n}function $tt(e){var t,n,r,i,a,o,s,c,l;for(e.a=new xye,l=0,i=0,r=new O(e.i.b);r.ac.d&&(d=c.d+c.a+u));n.c.d=d,t.a.zc(n,t),l=r.Math.max(l,n.c.d+n.c.a)}return l}function cR(){cR=C,KQ=new Gg(`COMMENTS`,0),JQ=new Gg(`EXTERNAL_PORTS`,1),YQ=new Gg(`HYPEREDGES`,2),XQ=new Gg(`HYPERNODES`,3),ZQ=new Gg(`NON_FREE_PORTS`,4),QQ=new Gg(`NORTH_SOUTH_PORTS`,5),e$=new Gg(wht,6),GQ=new Gg(`CENTER_LABELS`,7),qQ=new Gg(`END_LABELS`,8),$Q=new Gg(`PARTITIONS`,9)}function nnt(e,t,n,r,i){return r<0?(r=LI(e,i,W(j(dY,1),X,2,6,[vV,yV,bV,xV,SV,CV,wV,TV,hpt,gpt,_pt,vpt]),t),r<0&&(r=LI(e,i,W(j(dY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,SV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function rnt(e,t,n,r,i){return r<0?(r=LI(e,i,W(j(dY,1),X,2,6,[vV,yV,bV,xV,SV,CV,wV,TV,hpt,gpt,_pt,vpt]),t),r<0&&(r=LI(e,i,W(j(dY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,SV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0?(n.k=r-1,!0):!1}function int(e,t,n,r,i,a){var o,s=32,c,l;if(r<0){if(t[0]>=e.length||(s=iw(e,t[0]),s!=43&&s!=45)||(++t[0],r=lL(e,t),r<0))return!1;s==45&&(r=-r)}return s==32&&t[0]-n==2&&i.b==2&&(c=new bh,l=c.q.getFullYear()-EV+EV-80,o=l%100,a.a=r==o,r+=(l/100|0)*100+(r=0?RN(e):tC(RN(ZD(e)))),bY[t]=tv(_S(e,t),0)?RN(_S(e,t)):tC(RN(ZD(_S(e,t)))),e=tN(e,5);for(;t=u&&(l=i);l&&(d=r.Math.max(d,l.a.o.a)),d>p&&(f=u,p=d)}return f}function fnt(e){var t,n,r,i,a=new ih(I(hC(new ot),50)),o,s=zV;for(n=new O(e.d);n.az_t?Qv(l,e.b):i<=z_t&&i>B_t?Qv(l,e.d):i<=B_t&&i>V_t?Qv(l,e.c):i<=V_t&&Qv(l,e.a),o=hnt(e,l,o);return a}function gnt(e,t,n,r){var i=(r.c+r.a)/2,a,o,s,c,l;for(Sw(t.j),Dx(t.j,i),Sw(n.e),Dx(n.e,i),l=new Lle,s=new O(e.f);s.a1,s&&(r=new M(i,n.b),Dx(t.a,r)),Ak(t.a,W(j(e6,1),X,8,0,[f,d]))}function xnt(e,t,n){var r,i;for(t=48;n--)N9[n]=n-48<<24>>24;for(r=70;r>=65;r--)N9[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)N9[i]=i-97+10<<24>>24;for(a=0;a<10;a++)P9[a]=48+a&_V;for(e=10;e<=15;e++)P9[e]=65+e-10&_V}function wnt(e,t){t.Ug(`Process graph bounds`,1),G(e,(Zz(),t4),c_(pA(sw(new Hx(null,new UT(e.b,16)),new fne)))),G(e,n4,c_(pA(sw(new Hx(null,new UT(e.b,16)),new pne)))),G(e,APt,c_(fA(sw(new Hx(null,new UT(e.b,16)),new $i)))),G(e,jPt,c_(fA(sw(new Hx(null,new UT(e.b,16)),new ea)))),t.Vg()}function Tnt(e){var t,n,i,a=I(K(e,(cB(),$1)),21),o=I(K(e,n0),21);n=new M(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new Ev(n),a.Hc((HN(),E5))&&(i=I(K(e,t0),8),o.Hc((VR(),N5))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),t.a=r.Math.max(n.a,i.a),t.b=r.Math.max(n.b,i.b)),Zp(fb(K(e,e0)))||Yot(e,n,t)}function Ent(e,t){var n,r,i,a;for(a=rN(t,(Qz(),S5)).Kc();a.Ob();)r=I(a.Pb(),12),n=I(K(r,(Y(),V$)),10),n&&$L(zh(Rh(Bh(Lh(new Vf,0),.1),e.i[t.p].d),e.i[n.p].a));for(i=rN(t,a5).Kc();i.Ob();)r=I(i.Pb(),12),n=I(K(r,(Y(),V$)),10),n&&$L(zh(Rh(Bh(Lh(new Vf,0),.1),e.i[n.p].d),e.i[t.p].a))}function hR(e){var t,n,r,i,a,o;if(!e.c){if(o=new Uo,t=l9,a=t.a.zc(e,t),a==null){for(r=new xy(AE(e));r.e!=r.i.gc();)n=I(CP(r),89),i=YR(n),P(i,90)&&oC(o,hR(I(i,29))),OD(o,n);t.a.Bc(e),t.a.gc()}LJe(o),Gj(o),e.c=new _v((I(U(B((yC(),K7).o),15),19),o.i),o.g),ZE(e).b&=-33}return e.c}function Dnt(e){var t;if(e.c!=10)throw k(new dm(_B((Yv(),_q))));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 k(new dm(_B((Yv(),wq))))}return t}function Ont(e){var t,n,r,i,a;if(e.l==0&&e.m==0&&e.h==0)return`0`;if(e.h==jV&&e.m==0&&e.l==0)return`-9223372036854775808`;if(e.h>>19)return`-`+Ont(pj(e));for(n=e,r=``;!(n.l==0&&n.m==0&&n.h==0);){if(i=XFe(PV),n=xct(n,i,!0),t=``+qle($J),!(n.l==0&&n.m==0&&n.h==0))for(a=9-t.length;a>0;a--)t=`0`+t;r=t+r}return r}function knt(e){var t=!1,n=0,r,i,a,o,s;for(i=new O(e.d.b);i.a=e.a||!U0e(t,n))return-1;if(vE(I(i.Kb(t),20)))return 1;for(a=0,s=I(i.Kb(t),20).Kc();s.Ob();)if(o=I(s.Pb(),18),l=o.c.i==t?o.d.i:o.c.i,c=Nnt(e,l,n,i),c==-1||(a=r.Math.max(a,c),a>e.c-1))return-1;return a+1}function Pnt(e,t){var n,r,i,a,o,s;if(N(t)===N(e))return!0;if(!P(t,15)||(r=I(t,15),s=e.gc(),r.gc()!=s))return!1;if(o=r.Kc(),e.Yi()){for(n=0;n0){if(e._j(),t!=null){for(a=0;a>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 k(new Cm(`Invalid hexadecimal`))}}function gR(){gR=C,MCt=new bg(`SPIRAL`,0),OCt=new bg(`LINE_BY_LINE`,1),kCt=new bg(`MANHATTAN`,2),DCt=new bg(`JITTER`,3),UY=new bg(`QUADRANTS_LINE_BY_LINE`,4),jCt=new bg(`QUADRANTS_MANHATTAN`,5),ACt=new bg(`QUADRANTS_JITTER`,6),ECt=new bg(`COMBINE_LINE_BY_LINE_MANHATTAN`,7),TCt=new bg(`COMBINE_JITTER_MANHATTAN`,8)}function znt(e,t,n,r){var i,a,o,s,c=GF(e,n),l=GF(t,n);for(i=!1;c&&l&&(r||BQe(c,l,n));)o=GF(c,n),s=GF(l,n),rO(t),rO(e),a=c.c,Bz(c,!1),Bz(l,!1),n?(AF(t,l.p,a),t.p=l.p,AF(e,c.p+1,a),e.p=c.p):(AF(e,c.p,a),e.p=c.p,AF(t,l.p+1,a),t.p=l.p),TT(c,null),TT(l,null),c=o,l=s,i=!0;return i}function Bnt(e){switch(e.g){case 0:return new sie;case 1:return new Cc;case 3:return new Ede;case 4:return new wi;case 5:return new Sye;case 6:return new wc;case 2:return new oie;case 7:return new aie;case 8:return new yc;default:throw k(new rm(`No implementation is available for the layerer `+(e.f==null?``+e.g:e.f)))}}function Vnt(e,t,n,r){var i=!1,a=!1,o,s,c;for(s=new O(r.j);s.a=t.length)throw k(new em(`Greedy SwitchDecider: Free layer not in graph.`));this.c=t[e],this.e=new Bb(r),Yk(this.e,this.c,(Qz(),w5)),this.i=new Bb(r),Yk(this.i,this.c,i5),this.f=new Lwe(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(DI(),cZ),this.a&&w3e(this,e,t.length)}function Gnt(e,t){var n,r,i,a=!e.B.Hc((VR(),j5)),o=e.B.Hc(P5),s;e.a=new HJe(o,a,e.c),e.n&&ROe(e.a.n,e.n),Xp(e.g,(YO(),GY),e.a),t||(r=new sP(1,a,e.c),r.n.a=e.k,JS(e.p,(Qz(),a5),r),i=new sP(1,a,e.c),i.n.d=e.k,JS(e.p,S5,i),s=new sP(0,a,e.c),s.n.c=e.k,JS(e.p,w5,s),n=new sP(0,a,e.c),n.n.b=e.k,JS(e.p,i5,n))}function Knt(e){var t=I(K(e.d,(cB(),j1)),223),n,r;switch(t.g){case 2:n=Gdt(e);break;case 3:n=(r=new qd,Ph(aw(ow(TO(TO(new Hx(null,new UT(e.d.b,16)),new mte),new hte),new Wr),new rte),new ooe(r)),r);break;default:throw k(new im(`Compaction not supported for `+t+` edges.`))}sct(e,n),WE(new Rl(e.g),new ioe(e))}function qnt(e,t){var n,r,i,a,o,s,c;if(t.Ug(`Process directions`,1),n=I(K(e,(tz(),g4)),88),n!=(FM(),c8))for(i=vP(e.b,0);i.b!=i.d.c;){switch(r=I(yE(i),40),s=I(K(r,(Zz(),m4)),17).a,c=I(K(r,h4),17).a,n.g){case 4:c*=-1;break;case 1:a=s,s=c,c=a;break;case 2:o=s,s=-c,c=o}G(r,m4,gM(s)),G(r,h4,gM(c))}t.Vg()}function Jnt(e,t){var n=new xt;return t&&UA(n,I(SC(e.a,J5),96)),P(t,422)&&UA(n,I(SC(e.a,Y5),96)),P(t,366)?(UA(n,I(SC(e.a,o7),96)),n):(P(t,84)&&UA(n,I(SC(e.a,X5),96)),P(t,207)?(UA(n,I(SC(e.a,s7),96)),n):P(t,193)?(UA(n,I(SC(e.a,c7),96)),n):(P(t,326)&&UA(n,I(SC(e.a,Z5),96)),n))}function Ynt(e){var t,n,r,i,a,o,s,c=new SFe;for(s=new O(e.a);s.a0&&t=0)return!1;if(t.p=n.b,py(n.e,t),i==(DI(),uZ)||i==fZ){for(o=new O(t.j);o.ae.d[s.p]&&(n+=_Fe(e.b,a),bE(e.a,gM(a)))):++o;for(n+=e.b.d*o;!mm(e.a);)YRe(e.b,I(WS(e.a),17).a)}return n}function vrt(e){var t,n,r,i,a=0,o;return t=IF(e),t.kk()&&(a|=4),(e.Bb&Oq)!=0&&(a|=2),P(e,102)?(n=I(e,19),i=XP(n),(n.Bb&LK)!=0&&(a|=32),i&&(xC(vT(i)),a|=8,o=i.t,(o>1||o==-1)&&(a|=16),(i.Bb&LK)!=0&&(a|=64)),(n.Bb&UV)!=0&&(a|=kq),a|=nV):P(t,469)?a|=512:(r=t.kk(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function yrt(e,t){var n;return e.f==vHt?(n=VC(oO((UI(),p9),t)),e.e?n==4&&t!=(gL(),_9)&&t!=(gL(),g9)&&t!=(gL(),yHt)&&t!=(gL(),bHt):n==2):e.d&&(e.d.Hc(t)||e.d.Hc(YT(oO((UI(),p9),t)))||e.d.Hc(Rz((UI(),p9),e.b,t)))?!0:e.f&&set((UI(),e.f),tw(oO(p9,t)))?(n=VC(oO(p9,t)),e.e?n==4:n==2):!1}function brt(e){var t,n,r,i,a,o,s,c,l,u,d,f=-1,p=0;for(l=e,u=0,d=l.length;u0&&++p;++f}return p}function xrt(e,t,n,i){var a,o,s=I(J(n,(dB(),Y6)),8),c,l=s.a,u,d=s.b+e,f;return a=r.Math.atan2(d,l),a<0&&(a+=BG),a+=t,a>BG&&(a-=BG),c=I(J(i,Y6),8),u=c.a,f=c.b+e,o=r.Math.atan2(f,u),o<0&&(o+=BG),o+=t,o>BG&&(o-=BG),qv(),Tk(1e-10),r.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:ao?1:Sv(isNaN(a),isNaN(o))}function SR(e){var t,n,r,i,a,o,s=new Kd;for(r=new O(e.a.b);r.a=e.o)throw k(new tp);s=t>>5,o=t&31,a=_S(1,dS(_S(o,1))),i?e.n[n][s]=KT(e.n[n][s],a):e.n[n][s]=GT(e.n[n][s],TCe(a)),a=_S(a,1),r?e.n[n][s]=KT(e.n[n][s],a):e.n[n][s]=GT(e.n[n][s],TCe(a))}catch(r){throw r=ej(r),P(r,333)?k(new em(BH+e.o+`*`+e.p+VH+t+EB+n+HH)):k(r)}}function wrt(e,t,n,r){var i,a,o,s,c,l,u,d,f=new ih(new boe(e));for(s=W(j(oZ,1),YU,10,0,[t,n]),c=0,l=s.length;c0&&(r=(!e.n&&(e.n=new L(o7,e,1,7)),I(U(e.n,0),135)).a,!r||uv(uv((t.a+=` "`,t),r),`"`))),uv(nh(uv(nh(uv(nh(uv(nh((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function krt(e){var t,n,r;return e.Db&64?AI(e):(t=new ky(ayt),n=e.k,n?uv(uv((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new L(o7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new L(o7,e,1,7)),I(U(e.n,0),135)).a,!r||uv(uv((t.a+=` "`,t),r),`"`))),uv(nh(uv(nh(uv(nh(uv(nh((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function Art(e,t){var n,r,i,a,o;for(t==(Mj(),h2)&&JI(I(rD(e.a,(tI(),QZ)),15)),i=I(rD(e.a,(tI(),QZ)),15).Kc();i.Ob();)switch(r=I(i.Pb(),105),n=I(zx(r.j,0),113).d.j,a=new Gb(r.j),Qv(a,new Yr),t.g){case 2:lI(e,a,n,(Vk(),rQ),1);break;case 1:case 0:o=G9e(a),lI(e,new PT(a,0,o),n,(Vk(),rQ),0),lI(e,new PT(a,o,a.c.length),n,rQ,1)}}function TR(e,t){var n,r,i,a,o,s,c;if(t==null||t.length==0)return null;if(i=I($w(e.a,t),143),!i){for(r=(s=new Gl(e.b).a.vc().Kc(),new Kl(s));r.a.Ob();)if(n=(a=I(r.a.Pb(),44),I(a.md(),143)),o=n.c,c=t.length,Rb(o.substr(o.length-c,c),t)&&(t.length==o.length||iw(o,o.length-t.length-1)==46)){if(i)return null;i=n}i&&CT(e.a,t,i)}return i}function jrt(e,t){var n=new ft,r=I(VE(ow(new Hx(null,new UT(e.f,16)),n),YD(new Te,new Ee,new Ne,new Pe,W(j(IY,1),Z,108,0,[(Xj(),FY),PY]))),21),i=r.gc(),a;return r=I(VE(ow(new Hx(null,new UT(t.f,16)),n),YD(new Te,new Ee,new Ne,new Pe,W(j(IY,1),Z,108,0,[FY,PY]))),21),a=r.gc(),ii.p?(tL(a,S5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=s-t)):a.j==S5&&i.p>e.p&&(tL(a,a5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=-(s-t)));break}return i}function ER(e,t,n,r,i){var a,o,s,c,l,u,d;if(!(P(t,207)||P(t,366)||P(t,193)))throw k(new rm(`Method only works for ElkNode-, ElkLabel and ElkPort-objects.`));return o=e.a/2,c=t.i+r-o,u=t.j+i-o,l=c+t.g+e.a,d=u+t.f+e.a,a=new mp,Dx(a,new M(c,u)),Dx(a,new M(c,d)),Dx(a,new M(l,d)),Dx(a,new M(l,u)),s=new wL(a),UA(s,t),n&&GC(e.b,t,s),s}function DR(e,t,n){var r,i,a=new M(t,n),o,s,c,l,u,d,f;for(u=new O(e.a);u.a1,s&&(r=new M(i,n.b),Dx(t.a,r)),Ak(t.a,W(j(e6,1),X,8,0,[f,d]))}function NR(){NR=C,i2=new $g(HU,0),n2=new $g(`NIKOLOV`,1),r2=new $g(`NIKOLOV_PIXEL`,2),MMt=new $g(`NIKOLOV_IMPROVED`,3),NMt=new $g(`NIKOLOV_IMPROVED_PIXEL`,4),jMt=new $g(`DUMMYNODE_PERCENTAGE`,5),PMt=new $g(`NODECOUNT_PERCENTAGE`,6),a2=new $g(`NO_BOUNDARY`,7),e2=new $g(`MODEL_ORDER_LEFT_TO_RIGHT`,8),t2=new $g(`MODEL_ORDER_RIGHT_TO_LEFT`,9)}function Xrt(e){var t,n,r=e.length,i,a;for(t=new bm,a=0;a=40,o&&zat(e),Mst(e),xtt(e),n=yqe(e),r=0;n&&r0&&Dx(e.f,a)):(e.c[o]-=l+1,e.c[o]<=0&&e.a[o]>0&&Dx(e.e,a))))}function Sit(e,t,n,r){var i,a,o,s,c=new M(n,r),l,u;for(Pb(c,I(K(t,(Zz(),Z2)),8)),u=vP(t.b,0);u.b!=u.d.c;)l=I(yE(u),40),Nb(l.e,c),Dx(e.b,l);for(s=I(VE(NAe(new Hx(null,new UT(t.a,16))),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15).Kc();s.Ob();){for(o=I(s.Pb(),65),a=vP(o.a,0);a.b!=a.d.c;)i=I(yE(a),8),i.a+=c.a,i.b+=c.b;Dx(e.a,o)}}function Cit(e,t){var n,r,i,a;if(0<(P(e,16)?I(e,16).gc():EE(e.Kc()))){if(i=t,1=0&&ca*2?(u=new JO(d),l=qx(o)/Kx(o),c=rB(u,t,new sp,n,r,i,l),Nb(mv(u.e),c),d.c.length=0,a=0,af(d.c,u),af(d.c,o),a=qx(u)*Kx(u)+qx(o)*Kx(o)):(af(d.c,o),a+=qx(o)*Kx(o));return d}function Oit(e,t){var n,r,i,a,o,s=I(K(t,(cB(),s0)),101);if(s==(rI(),q8)||s==K8)for(i=new M(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,o=new O(e.a);o.an?t:n;l<=d;++l)l==n?s=r++:(a=i[l],u=m.am(a.Lk()),l==t&&(c=l==d&&!u?r-1:r),u&&++r);return f=I(zM(e,t,n),76),s!=c&&Nf(e,new PD(e.e,7,o,gM(s),p.md(),c)),f}}else return I(dL(e,t,n),76);return I(zM(e,t,n),76)}function Ait(e,t){var n,r,i,a,o,s,c;for(t.Ug(`Port order processing`,1),c=I(K(e,(cB(),Zjt)),430),r=new O(e.b);r.a=0&&(s=qQe(e,o),!(s&&(l<22?c.l|=1<>>1,o.m=u>>>1|(d&1)<<21,o.l=f>>>1|(u&1)<<21,--l;return n&&Cj(c),a&&(r?($J=pj(e),i&&($J=MUe($J,(vO(),rSt)))):$J=ty(e.l,e.m,e.h)),c}function Pit(e,t){var n,r,i,a,o,s,c,l=e.e[t.c.p][t.p]+1,u,d;for(c=t.c.a.c.length+1,s=new O(e.a);s.a0&&(HT(0,e.length),e.charCodeAt(0)==45||(HT(0,e.length),e.charCodeAt(0)==43))),r=o;rn)throw k(new Cm(LV+e+`"`));return s}function Fit(e){var t,n,i,a,o,s=new Dh,c;for(o=new O(e.a);o.a1)&&t==1&&I(e.a[e.b],10).k==(DI(),lZ)?pz(I(e.a[e.b],10),(kF(),D8)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&I(e.a[e.c-1&e.a.length-1],10).k==(DI(),lZ)?pz(I(e.a[e.c-1&e.a.length-1],10),(kF(),O8)):(e.c-e.b&e.a.length-1)==2?(pz(I(vj(e),10),(kF(),D8)),pz(I(vj(e),10),O8)):Q7e(e,i),DPe(e)}function zit(e,t,n){var i,a,o=0,s,c;for(a=new xy((!e.a&&(e.a=new L(s7,e,10,11)),e.a));a.e!=a.i.gc();)i=I(CP(a),27),s=``,(!i.n&&(i.n=new L(o7,i,1,7)),i.n).i==0||(s=I(U((!i.n&&(i.n=new L(o7,i,1,7)),i.n),0),135).a),c=new Dj(o++,t,s),UA(c,i),G(c,(Zz(),l4),i),c.e.b=i.j+i.f/2,c.f.a=r.Math.max(i.g,1),c.e.a=i.i+i.g/2,c.f.b=r.Math.max(i.f,1),Dx(t.b,c),XI(n.f,i,c)}function Bit(e){var t,n,r=I(K(e,(Y(),R$)),27),i,a=I(J(r,(cB(),$1)),181).Hc((HN(),k5));e.e||(i=I(K(e,C$),21),t=new M(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Hc((cR(),JQ))?(PP(r,s0,(rI(),K8)),$z(r,t.a,t.b,!1,!0)):Zp(fb(J(r,e0)))||$z(r,t.a,t.b,!0,!0)),a?PP(r,$1,qM(k5)):PP(r,$1,(n=I(Xm(A5),9),new Kb(n,I(jb(n,n.length),9),0)))}function Vit(e,t,n){var r,i,a,o;if(t[0]>=e.length)return n.o=0,!0;switch(iw(e,t[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++t[0],a=t[0],o=lL(e,t),o==0&&t[0]==a)return!1;if(t[0]s&&(s=i,u.c.length=0),i==s&&py(u,new W_(n.c.i,n)));Ew(),Qv(u,e.c),rS(e.b,c.p,u)}}function Git(e,t){var n,r,i,a,o,s,c,l,u;for(o=new O(t.b);o.as&&(s=i,u.c.length=0),i==s&&py(u,new W_(n.d.i,n)));Ew(),Qv(u,e.c),rS(e.f,c.p,u)}}function Kit(e,t){var n,r,i,a,o,s,c,l=fb(K(t,(tz(),cFt)));if(l==null||(BC(l),l)){for(m5e(e,t),i=new qd,c=vP(t.b,0);c.b!=c.d.c;)o=I(yE(c),40),n=F3e(e,o,null),n&&(UA(n,t),af(i.c,n));if(e.a=null,e.b=null,i.c.length>1)for(r=new O(i);r.a=0&&s!=n&&(a=new jS(e,1,s,o,null),r?r.nj(a):r=a),n>=0&&(a=new jS(e,1,n,s==n?o:null,t),r?r.nj(a):r=a)),r}function Yit(e){var t,n,r;if(e.b==null){if(r=new ym,e.i!=null&&(sv(r,e.i),r.a+=`:`),e.f&256){for(e.f&256&&e.a!=null&&(uOe(e.i)||(r.a+=`//`),sv(r,e.a)),e.d!=null&&(r.a+=`/`,sv(r,e.d)),e.f&16&&(r.a+=`/`),t=0,n=e.j.length;tf?!1:(d=(c=gz(r,f,!1),c.a),u+s+d<=t.b&&(FD(n,a-n.s),n.c=!0,FD(r,a-n.s),qP(r,n.s,n.t+n.d+s),r.k=!0,NHe(n.q,r),p=!0,i&&(Ok(t,r),r.j=t,e.c.length>o&&(FF((VT(o,e.c.length),I(e.c[o],186)),r),(VT(o,e.c.length),I(e.c[o],186)).a.c.length==0&&aD(e,o)))),p)}function nat(e,t){var n,r,i,a,o,s;if(t.Ug(`Partition midprocessing`,1),i=new Zw,Ph(aw(new Hx(null,new UT(e.a,16)),new Iee),new Zae(i)),i.d!=0){for(s=I(VE(Nje((a=i.i,new Hx(null,(a||(i.i=new Cy(i,i.c))).Nc()))),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15),r=s.Kc(),n=I(r.Pb(),17);r.Ob();)o=I(r.Pb(),17),Z9e(I(rD(i,n),21),I(rD(i,o),21)),n=o;t.Vg()}}function rat(e,t,n){var r,i,a,o,s,c,l,u;if(t.p==0){for(t.p=1,o=n,o||=(i=new qd,a=(r=I(Xm(T5),9),new Kb(r,I(jb(r,r.length),9),0)),new W_(i,a)),I(o.a,15).Fc(t),t.k==(DI(),cZ)&&I(o.b,21).Fc(I(K(t,(Y(),x$)),64)),c=new O(t.j);c.a0){if(i=I(e.Ab.g,2033),t==null){for(a=0;an.s&&co)return Qz(),i5;break;case 4:case 3:if(u<0)return Qz(),a5;if(u+n>a)return Qz(),S5}return c=(l+s/2)/o,r=(u+n/2)/a,c+r<=1&&c-r<=0?(Qz(),w5):c+r>=1&&c-r>=0?(Qz(),i5):r<.5?(Qz(),a5):(Qz(),S5)}function fat(e,t){var n=!1,r,i,a,o,s,c,l,u=A(F(K(t,(cB(),D0)))),d,f,p,m=lV*u,h;for(i=new O(t.b);i.ac+m&&(h=d.g+f.g,f.a=(f.g*f.a+d.g*d.a)/h,f.g=h,d.f=f,n=!0)),a=s,d=f;return n}function pat(e,t,n,r,i,a,o){var s,c,l,u,d,f=new Ov;for(l=t.Kc();l.Ob();)for(s=I(l.Pb(),853),d=new O(s.Rf());d.a0?c.a?(u=c.b.Mf().b,a>u&&(e.v||c.c.d.c.length==1?(s=(a-u)/2,c.d.d=s,c.d.a=s):(n=I(zx(c.c.d,0),187).Mf().b,i=(n-u)/2,c.d.d=r.Math.max(0,i),c.d.a=a-i-u))):c.d.a=e.t+a:OS(e.u)&&(o=S2e(c.b),o.d<0&&(c.d.d=-o.d),o.d+o.a>c.b.Mf().b&&(c.d.a=o.d+o.a-c.b.Mf().b))}function JR(){JR=C,OX=new Uv((dB(),X6),gM(1)),AX=new Uv(n8,80),pTt=new Uv(Pzt,5),Zwt=new Uv(g6,fU),uTt=new Uv(Z6,gM(1)),fTt=new Uv($6,(Vy(),!0)),sTt=new Vv(50),oTt=new Uv(R6,sTt),$wt=D6,cTt=W6,Qwt=new Uv(S6,!1),aTt=L6,rTt=N6,iTt=F6,nTt=M6,tTt=j6,lTt=q6,eTt=(I4e(),Hwt),jX=qwt,DX=Vwt,kX=Wwt,dTt=Kwt,gTt=a8,vTt=s8,hTt=i8,mTt=r8,_Tt=(fM(),B5),new Uv(o8,_Tt)}function gat(e,t){var n;switch(DO(e)){case 6:return Z_(t);case 7:return $_(t);case 8:return Q_(t);case 3:return Array.isArray(t)&&(n=DO(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===xB;case 12:return t!=null&&(typeof t===vB||typeof t==xB);case 0:return FP(t,e.__elementTypeId$);case 2:return HS(t)&&t.Tm!==ne;case 1:return HS(t)&&t.Tm!==ne||FP(t,e.__elementTypeId$);default:return!0}}function _at(e){var t,n,i=e.o,a;Sb(),e.A.dc()||EM(e.A,pwt)?a=i.a:(a=e.D?r.Math.max(i.a,oL(e.f)):oL(e.f),e.A.Hc((HN(),D5))&&!e.B.Hc((VR(),I5))&&(a=r.Math.max(a,oL(I(XC(e.p,(Qz(),a5)),252))),a=r.Math.max(a,oL(I(XC(e.p,S5),252)))),t=KHe(e),t&&(a=r.Math.max(a,t.a))),Zp(fb(e.e.Tf().of((dB(),N6))))?i.a=r.Math.max(i.a,a):i.a=a,n=e.f.i,n.c=0,n.b=a,nz(e.f)}function vat(e,t){var n,i=r.Math.min(r.Math.abs(e.c-(t.c+t.b)),r.Math.abs(e.c+e.b-t.c)),a,o=r.Math.min(r.Math.abs(e.d-(t.d+t.a)),r.Math.abs(e.d+e.a-t.d));return n=r.Math.abs(e.c+e.b/2-(t.c+t.b/2)),n>e.b/2+t.b/2||(a=r.Math.abs(e.d+e.a/2-(t.d+t.a/2)),a>e.a/2+t.a/2)?1:n==0&&a==0?0:n==0?o/a+1:a==0?i/n+1:r.Math.min(i/n,o/a)+1}function yat(e,t){var n,r,i,a=0,o,s=0,c=0;for(i=new O(e.f.e);i.a0&&e.d!=(mO(),zX)&&(s+=o*(r.d.a+e.a[t.a][r.a]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(mO(),LX)&&(c+=o*(r.d.b+e.a[t.a][r.a]*(t.d.b-r.d.b)/n)));switch(e.d.g){case 1:return new M(s/a,t.d.b);case 2:return new M(t.d.a,c/a);default:return new M(s/a,c/a)}}function bat(e){var t,n=(!e.a&&(e.a=new hy(q5,e,5)),e.a).i+2,r,i,a,o=new gD(n);for(py(o,new M(e.j,e.k)),Ph(new Hx(null,(!e.a&&(e.a=new hy(q5,e,5)),new UT(e.a,16))),new Joe(o)),py(o,new M(e.b,e.c)),t=1;t0&&(dj(c,!1,(FM(),l8)),dj(c,!0,u8)),UO(t.g,new Ofe(e,n)),GC(e.g,t,n)}function Cat(){Cat=C;var e;for(fSt=W(j(q9,1),DV,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]),lY=H(q9,DV,28,37,15,1),pSt=W(j(q9,1),DV,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]),mSt=H(Y9,VV,28,37,14,1),e=2;e<=36;e++)lY[e]=iT(r.Math.pow(e,fSt[e])),mSt[e]=WF(GB,lY[e])}function wat(e){var t;if((!e.a&&(e.a=new L(Q5,e,6,6)),e.a).i!=1)throw k(new rm(Jvt+(!e.a&&(e.a=new L(Q5,e,6,6)),e.a).i));return t=new mp,tj(I(U((!e.b&&(e.b=new Ib(X5,e,4,7)),e.b),0),84))&&aA(t,hft(e,tj(I(U((!e.b&&(e.b=new Ib(X5,e,4,7)),e.b),0),84)),!1)),tj(I(U((!e.c&&(e.c=new Ib(X5,e,5,8)),e.c),0),84))&&aA(t,hft(e,tj(I(U((!e.c&&(e.c=new Ib(X5,e,5,8)),e.c),0),84)),!0)),t}function Tat(e,t){var n,r,i=t.d?e.a.c==(lT(),N2)?cN(t.b):lN(t.b):e.a.c==(lT(),M2)?cN(t.b):lN(t.b),a=!1,o;for(r=new SS(Ty(i.a.Kc(),new d));CL(r);)if(n=I($E(r),18),o=Zp(e.a.f[e.a.g[t.b.p].p]),!(!o&&!XE(n)&&n.c.i.c==n.d.i.c)&&!(Zp(e.a.n[e.a.g[t.b.p].p])||Zp(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,Ch(e.b,e.a.g[mQe(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function Eat(e,t,n){var r=n.gc(),i,a,o,s,c,l;if(r==0)return!1;if(e.Pj())if(c=e.Qj(),FJe(e,t,n),o=r==1?e.Ij(3,null,n.Kc().Pb(),t,c):e.Ij(5,null,n,t,c),e.Mj()){for(s=r<100?null:new Km(r),a=t+r,i=t;i0){for(s=0;s>16==-15&&e.Cb.Yh()&&nO(new ULe(e.Cb,9,13,n,e.c,zP(iO(I(e.Cb,62)),e))):P(e.Cb,90)&&e.Db>>16==-23&&e.Cb.Yh()&&(t=e.c,P(t,90)||(t=(hB(),t9)),P(n,90)||(n=(hB(),t9)),nO(new ULe(e.Cb,9,10,n,t,zP(AE(I(e.Cb,29)),e)))))),e.c}function Nat(e,t,n){var r,i,a,o,s,c,l,u,d;for(n.Ug(`Hyperedge merging`,1),c7e(e,t),c=new tE(t.b,0);c.b0,s=hN(t,a),l_e(n?s.b:s.g,t),$j(s).c.length==1&&BE(r,s,r.c.b,r.c),i=new W_(a,t),bE(e.o,i),XD(e.e.a,a))}function Bat(e,t){var n,i=r.Math.abs(VS(e.b).a-VS(t.b).a),a,o,s,c=r.Math.abs(VS(e.b).b-VS(t.b).b),l;return a=0,l=0,n=1,s=1,i>e.b.b/2+t.b.b/2&&(a=r.Math.min(r.Math.abs(e.b.c-(t.b.c+t.b.b)),r.Math.abs(e.b.c+e.b.b-t.b.c)),n=1-a/i),c>e.b.a/2+t.b.a/2&&(l=r.Math.min(r.Math.abs(e.b.d-(t.b.d+t.b.a)),r.Math.abs(e.b.d+e.b.a-t.b.d)),s=1-l/c),o=r.Math.min(n,s),(1-o)*r.Math.sqrt(i*i+c*c)}function Vat(e){var t,n,r,i;for(Xz(e,e.e,e.f,(cT(),B2),!0,e.c,e.i),Xz(e,e.e,e.f,B2,!1,e.c,e.i),Xz(e,e.e,e.f,V2,!0,e.c,e.i),Xz(e,e.e,e.f,V2,!1,e.c,e.i),Mat(e,e.c,e.e,e.f,e.i),r=new tE(e.i,0);r.b=65;n--)j9[n]=n-65<<24>>24;for(r=122;r>=97;r--)j9[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)j9[i]=i-48+52<<24>>24;for(j9[43]=62,j9[47]=63,a=0;a<=25;a++)M9[a]=65+a&_V;for(o=26,c=0;o<=51;++o,c++)M9[o]=97+c&_V;for(e=52,s=0;e<=61;++e,s++)M9[e]=48+s&_V;M9[62]=43,M9[63]=47}function Uat(e,t){var n,i,a=nHe(e),o,s,c=nHe(t);return a==c?e.e==t.e&&e.a<54&&t.a<54?e.ft.f):(i=e.e-t.e,n=(e.d>0?e.d:r.Math.floor((e.a-1)*Fpt)+1)-(t.d>0?t.d:r.Math.floor((t.a-1)*Fpt)+1),n>i+1?a:n0&&(s=TE(s,Pot(i))),FYe(o,s))):au&&(p=0,m+=l+t,l=0),DR(s,p,m),n=r.Math.max(n,p+d.a),l=r.Math.max(l,d.b),p+=d.a+t;return new M(n+t,m+l+t)}function Kat(e,t){var n,r,i,a,o,s,c;if(!sT(e))throw k(new im(qvt));if(r=sT(e),a=r.g,i=r.f,a<=0&&i<=0)return Qz(),C5;switch(s=e.i,c=e.j,t.g){case 2:case 1:if(s<0)return Qz(),w5;if(s+e.g>a)return Qz(),i5;break;case 4:case 3:if(c<0)return Qz(),a5;if(c+e.f>i)return Qz(),S5}return o=(s+e.g/2)/a,n=(c+e.f/2)/i,o+n<=1&&o-n<=0?(Qz(),w5):o+n>=1&&o-n>=0?(Qz(),i5):n<.5?(Qz(),a5):(Qz(),S5)}function qat(e,t,n,r,i){var a=eN(GT(t[0],qV),GT(r[0],qV)),o;if(e[0]=dS(a),a=vS(a,32),n>=i){for(o=1;o0&&(i.b[o++]=0,i.b[o++]=a.b[0]-1),t=1;t0&&(Cl(c,c.d-i.d),i.c==(vD(),R2)&&Yie(c,c.a-i.d),c.d<=0&&c.i>0&&BE(t,c,t.c.b,t.c)));for(a=new O(e.f);a.a0&&(wl(s,s.i-i.d),i.c==(vD(),R2)&&Xie(s,s.b-i.d),s.i<=0&&s.d>0&&BE(n,s,n.c.b,n.c)))}function Zat(e,t,n,r,i){var a,o,s,c,l,u,d,f,p;for(Ew(),Qv(e,new go),o=mx(e),p=new qd,f=new qd,s=null,c=0;o.b!=0;)a=I(o.b==0?null:(hb(o.b!=0),WO(o,o.a.a)),163),!s||qx(s)*Kx(s)/21&&(c>qx(s)*Kx(s)/2||o.b==0)&&(d=new JO(f),u=qx(s)/Kx(s),l=rB(d,t,new sp,n,r,i,u),Nb(mv(d.e),l),s=d,af(p.c,d),c=0,f.c.length=0));return nj(p,f),p}function $R(e,t,n,r,i){Oh();var a,o,s,c,l,u,d;if(yEe(e,`src`),yEe(n,`dest`),d=Qj(e),c=Qj(n),yCe((d.i&4)!=0,`srcType is not an array`),yCe((c.i&4)!=0,`destType is not an array`),u=d.c,o=c.c,yCe(u.i&1?u==o:(o.i&1)==0,`Array types don't match`),CWe(e,t,n,r,i),!(u.i&1)&&d!=c)if(l=gk(e),a=gk(n),N(e)===N(n)&&tr;)CC(a,s,l[--t]);else for(s=r+i;r0),r.a.Xb(r.c=--r.b),d>f+c&&jC(r);for(o=new O(p);o.a0),r.a.Xb(r.c=--r.b)}}function eot(){pB();var e,t,n,r,i,a;if(YHt)return YHt;for(e=(++W9,new JT(4)),Cz(e,tB(kJ,!0)),Hz(e,tB(`M`,!0)),Hz(e,tB(`C`,!0)),a=(++W9,new JT(4)),r=0;r<11;r++)iR(a,r,r);return t=(++W9,new JT(4)),Cz(t,tB(`M`,!0)),iR(t,4448,4607),iR(t,65438,65439),i=(++W9,new Kv(2)),Nz(i,e),Nz(i,V9),n=(++W9,new Kv(2)),n.Jm(Jx(a,tB(`L`,!0))),n.Jm(t),n=(++W9,new NE(3,n)),n=(++W9,new gEe(i,n)),YHt=n,YHt}function ez(e,t){var n=new RegExp(t,`g`),r,i,a,o,s,c=H(dY,X,2,0,6,1),l;for(r=0,l=e,a=null;;)if(s=n.exec(l),s==null||l==``){c[r]=l;break}else o=s.index,c[r]=(TD(0,o,l.length),l.substr(0,o)),l=Jw(l,o+s[0].length,l.length),n.lastIndex=0,a==l&&(c[r]=(TD(0,1,l.length),l.substr(0,1)),l=(HT(1,l.length+1),l.substr(1))),a=l,++r;if(e.length>0){for(i=c.length;i>0&&c[i-1]==``;)--i;i0&&(f-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(f-=i[2]+e.c),i[1]=r.Math.max(i[1],f),iS(e.a[1],n.c+t.b+i[0]-(i[1]-f)/2,i[1]);for(o=e.a,c=0,u=o.length;c0?(e.n.c.length-1)*e.i:0,i=new O(e.n);i.a1)for(r=vP(i,0);r.b!=r.d.c;)for(n=I(yE(r),235),a=0,c=new O(n.e);c.a0&&(t[0]+=e.c,f-=t[0]),t[2]>0&&(f-=t[2]+e.c),t[1]=r.Math.max(t[1],f),aS(e.a[1],i.d+n.d+t[0]-(t[1]-f)/2,t[1]);else for(h=i.d+n.d,m=i.a-n.d-n.a,s=e.a,l=0,d=s.length;l0||iN(a.b.d,e.b.d+e.b.a)==0&&i.b<0||iN(a.b.d+a.b.a,e.b.d)==0&&i.b>0){c=0;break}}else c=r.Math.min(c,L6e(e,a,i));c=r.Math.min(c,cot(e,o,c,i))}return c}function oz(e,t){var n,r,i,a,o,s,c;if(e.b<2)throw k(new rm(`The vector chain must contain at least a source and a target point.`));for(i=(hb(e.b!=0),I(e.a.a.c,8)),zv(t,i.a,i.b),c=new Ky((!t.a&&(t.a=new hy(q5,t,5)),t.a)),o=vP(e,1);o.a=0&&a!=n))throw k(new rm(uq));for(i=0,c=0;cA(ly(o.g,o.d[0]).a)?(hb(c.b>0),c.a.Xb(c.c=--c.b),kb(c,o),i=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new qd),s.e).Mc(t),l=(!s.e&&(s.e=new qd),s.e).Mc(n),(a||l)&&((!s.e&&(s.e=new qd),s.e).Fc(o),++o.c));i||af(r.c,o)}function fot(e,t,n){var r,i,a,o,s,c,l,u,d=e.a.i+e.a.g/2,f=e.a.i+e.a.g/2,p,m=t.i+t.g/2,h,g=t.j+t.f/2,_;return s=new M(m,g),l=I(J(t,(dB(),Y6)),8),l.a+=d,l.b+=f,a=(s.b-l.b)/(s.a-l.a),r=s.b-a*s.a,h=n.i+n.g/2,_=n.j+n.f/2,c=new M(h,_),u=I(J(n,Y6),8),u.a+=d,u.b+=f,o=(c.b-u.b)/(c.a-u.a),i=c.b-o*c.a,p=(r-i)/(o-a),l.a>>0,`0`+t.toString(16)),r=`\\x`+Jw(n,n.length-2,n.length)):e>=UV?(n=(t=e>>>0,`0`+t.toString(16)),r=`\\v`+Jw(n,n.length-6,n.length)):r=``+String.fromCharCode(e&_V)}return r}function bot(e){var t,n,r;if(jv(I(K(e,(cB(),s0)),101)))for(n=new O(e.j);n.a=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(o=I(zx(t.n,t.n.c.length-1),209),o.e+o.d+n.g+i<=r&&(a=I(zx(t.n,t.n.c.length-1),209),a.f-e.f+n.f<=e.b||e.a.c.length==1))return Zqe(t,n),!0;if(t.s+n.g<=r&&(t.t+t.d+n.f+i<=e.b||e.a.c.length==1))return py(t.b,n),s=I(zx(t.n,t.n.c.length-1),209),py(t.n,new aT(t.s,s.f+s.a+t.i,t.i)),qZe(I(zx(t.n,t.n.c.length-1),209),n),rot(t,n),!0}return!1}function wot(e,t,n){var r,i,a,o;return e.Pj()?(i=null,a=e.Qj(),r=e.Ij(1,o=bO(e,t,n),n,t,a),e.Mj()&&!(e.Yi()&&o!=null?EM(o,n):N(o)===N(n))?(o!=null&&(i=e.Oj(o,i)),i=e.Nj(n,i),e.Tj()&&(i=e.Wj(o,n,i)),i?(i.nj(r),i.oj()):e.Jj(r)):(e.Tj()&&(i=e.Wj(o,n,i)),i?(i.nj(r),i.oj()):e.Jj(r)),o):(o=bO(e,t,n),e.Mj()&&!(e.Yi()&&o!=null?EM(o,n):N(o)===N(n))&&(i=null,o!=null&&(i=e.Oj(o,null)),i=e.Nj(n,i),i&&i.oj()),o)}function Tot(e,t){var n,r,i,a,o;if(t.Ug(`Path-Like Graph Wrapping`,1),e.b.c.length==0){t.Vg();return}if(i=new X5e(e),o=(i.i??=cHe(i,new vi),A(i.i)*i.f),n=o/(i.i??=cHe(i,new vi),A(i.i)),i.b>n){t.Vg();return}switch(I(K(e,(cB(),P0)),351).g){case 2:a=new Ete;break;case 0:a=new mi;break;default:a=new xi}if(r=a.og(e,i),!a.pg())switch(I(K(e,I0),352).g){case 2:r=H6e(i,r);break;case 1:r=S0e(i,r)}Kst(e,i,r),t.Vg()}function lz(e,t){var n,i,a,o,s,c,l,u;t%=24,e.q.getHours()!=t&&(i=new r.Date(e.q.getTime()),i.setDate(i.getDate()+1),c=e.q.getTimezoneOffset()-i.getTimezoneOffset(),c>0&&(l=c/60|0,u=c%60,a=e.q.getDate(),n=e.q.getHours(),n+l>=24&&++a,o=new r.Date(e.q.getFullYear(),e.q.getMonth(),a,t+l,e.q.getMinutes()+u,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(o.getTime()))),s=e.q.getTime(),e.q.setTime(s+36e5),e.q.getHours()!=t&&e.q.setTime(s)}function Eot(e,t){var n,r,i,a;if(Mje(e.d,e.e),e.c.a.$b(),A(F(K(t.j,(cB(),m1))))!=0||A(F(K(t.j,m1)))!=0)for(n=rU,N(K(t.j,_1))!==N((YN(),o2))&&G(t.j,(Y(),S$),(Vy(),!0)),a=I(K(t.j,M0),17).a,i=0;ii&&++l,py(o,(VT(s+l,t.c.length),I(t.c[s+l],17))),c+=(VT(s+l,t.c.length),I(t.c[s+l],17)).a-r,++n;n=_&&e.e[l.p]>h*e.b||b>=n*_)&&(af(p.c,c),c=new qd,aA(s,o),o.a.$b(),u-=d,m=r.Math.max(m,u*e.b+g),u+=b,y=b,b=0,d=0,g=0);return new W_(m,p)}function uz(e){var t,n,r,i,a,o,s;if(!e.d){if(s=new ire,t=l9,a=t.a.zc(e,t),a==null){for(r=new xy(Ww(e));r.e!=r.i.gc();)n=I(CP(r),29),oC(s,uz(n));t.a.Bc(e),t.a.gc()}for(o=s.i,i=(!e.q&&(e.q=new L(B7,e,11,10)),new xy(e.q));i.e!=i.i.gc();++o)I(CP(i),411);oC(s,(!e.q&&(e.q=new L(B7,e,11,10)),e.q)),Gj(s),e.d=new _v((I(U(B((yC(),K7).o),9),19),s.i),s.g),e.e=I(s.g,688),e.e??=qVt,ZE(e).b&=-17}return e.d}function dz(e,t,n,r){var i,a,o,s,c,l=eR(e.e.Dh(),t);if(c=0,i=I(e.g,124),sg(),I(t,69).xk()){for(o=0;o1||m==-1)if(d=I(h,71),f=I(u,71),d.dc())f.$b();else for(o=!!XP(t),a=0,s=e.a?d.Kc():d.Ii();s.Ob();)l=I(s.Pb(),58),i=I(CO(e,l),58),i?(o?(c=f.dd(i),c==-1?f.Gi(a,i):a!=c&&f.Ui(a,i)):f.Gi(a,i),++a):e.b&&!o&&(f.Gi(a,l),++a);else h==null?u.Wb(null):(i=CO(e,h),i==null?e.b&&!XP(t)&&u.Wb(h):u.Wb(i))}function jot(e,t){var n=new Bn,i,a,o,s,c,l,u;for(a=new SS(Ty(cN(t).a.Kc(),new d));CL(a);)if(i=I($E(a),18),!XE(i)&&(c=i.c.i,U0e(c,_Z))){if(u=Nnt(e,c,_Z,gZ),u==-1)continue;n.b=r.Math.max(n.b,u),!n.a&&(n.a=new qd),py(n.a,c)}for(s=new SS(Ty(lN(t).a.Kc(),new d));CL(s);)if(o=I($E(s),18),!XE(o)&&(l=o.d.i,U0e(l,gZ))){if(u=Nnt(e,l,gZ,_Z),u==-1)continue;n.d=r.Math.max(n.d,u),!n.c&&(n.c=new qd),py(n.c,l)}return n}function Mot(e,t,n,r){var i,a,o,s,c,l,u;if(n.d.i!=t.i){for(i=new $P(e),yl(i,(DI(),uZ)),G(i,(Y(),R$),n),G(i,(cB(),s0),(rI(),K8)),af(r.c,i),o=new jI,ET(o,i),tL(o,(Qz(),w5)),s=new jI,ET(s,i),tL(s,i5),u=n.d,DT(n,o),a=new zw,UA(a,n),G(a,B1,null),wT(a,s),DT(a,u),l=new tE(n.b,0);l.b1e6)throw k(new $p(`power of ten too big`));if(e<=SB)return eD(hL(yY[1],t),t);for(r=hL(yY[1],SB),i=r,n=zA(e-SB),t=iT(e%SB);lM(n,SB)>0;)i=TE(i,r),n=nN(n,SB);for(i=TE(i,hL(yY[1],t)),i=eD(i,SB),n=zA(e-SB);lM(n,SB)>0;)i=eD(i,SB),n=nN(n,SB);return i=eD(i,t),i}function Fot(e){var t,n,r,i,a,o,s,c,l,u;for(c=new O(e.a);c.al&&r>l)u=s,l=A(t.p[s.p])+A(t.d[s.p])+s.o.b+s.d.a;else{i=!1,n._g()&&n.bh(`bk node placement breaks on `+s+` which should have been after `+u);break}if(!i)break}return n._g()&&n.bh(t+` is feasible: `+i),i}function Rot(e,t,n,r){var i,a=new $P(e),o,s,c,l,u,d,f;if(yl(a,(DI(),fZ)),G(a,(cB(),s0),(rI(),K8)),i=0,t){for(o=new jI,G(o,(Y(),R$),t),G(a,R$,t.i),tL(o,(Qz(),w5)),ET(o,a),f=rE(t.e),l=f,u=0,d=l.length;u0){if(i<0&&u.a&&(i=c,a=l[0],r=0),i>=0){if(s=u.b,c==i&&(s-=r++,s==0))return 0;if(!ldt(t,l,u,s,o)){c=i-1,l[0]=a;continue}}else if(i=-1,!ldt(t,l,u,0,o))return 0}else{if(i=-1,iw(u.c,0)==32){if(d=l[0],ZRe(t,l),l[0]>d)continue}else if(vke(t,u.c,l[0])){l[0]+=u.c.length;continue}return 0}return But(o,n)?l[0]:0}function Hot(e,t,n){var r,i,a,o,s,c,l,u=new xS(new Pae(n)),d,f;for(s=H(J9,CH,28,e.f.e.c.length,16,1),fEe(s,s.length),n[t.a]=0,l=new O(e.f.e);l.a=0&&!sF(e,u,d);)--d;i[u]=d}for(p=0;p=0&&!sF(e,s,m);)--s;a[m]=s}for(c=0;ct[f]&&fr[c]&&wR(e,c,f,!1,!0)}function Wot(e){var t,n=Zp(fb(K(e,(JR(),Qwt)))),r,i,a=e.a.c.d,o,s=e.a.d.d,c;n?(o=fy(Pb(new M(s.a,s.b),a),.5),c=fy(iy(e.e),.5),t=Pb(Nb(new M(a.a,a.b),o),c),Z_e(e.d,t)):(i=A(F(K(e.a,pTt))),r=e.d,a.a>=s.a?a.b>=s.b?(r.a=s.a+(a.a-s.a)/2+i,r.b=s.b+(a.b-s.b)/2-i-e.e.b):(r.a=s.a+(a.a-s.a)/2+i,r.b=a.b+(s.b-a.b)/2+i):a.b>=s.b?(r.a=a.a+(s.a-a.a)/2+i,r.b=s.b+(a.b-s.b)/2+i):(r.a=a.a+(s.a-a.a)/2+i,r.b=a.b+(s.b-a.b)/2-i-e.e.b))}function mz(e){var t,n,r,i,a,o,s,c;if(!e.f){if(c=new Go,s=new Go,t=l9,o=t.a.zc(e,t),o==null){for(a=new xy(Ww(e));a.e!=a.i.gc();)i=I(CP(a),29),oC(c,mz(i));t.a.Bc(e),t.a.gc()}for(r=(!e.s&&(e.s=new L(M7,e,21,17)),new xy(e.s));r.e!=r.i.gc();)n=I(CP(r),179),P(n,102)&&OD(s,I(n,19));Gj(s),e.r=new UCe(e,(I(U(B((yC(),K7).o),6),19),s.i),s.g),oC(c,e.r),Gj(c),e.f=new _v((I(U(B(K7.o),5),19),c.i),c.g),ZE(e).b&=-3}return e.f}function Got(e){$h(e,new oI(Nm(km(Mm(jm(new Qa,XH),`ELK DisCo`),`Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out.`),new Tt))),oE(e,XH,ZH,SP(zwt)),oE(e,XH,QH,SP(xX)),oE(e,XH,$H,SP(jwt)),oE(e,XH,eU,SP(Pwt)),oE(e,XH,fmt,SP(Lwt)),oE(e,XH,pmt,SP(Iwt)),oE(e,XH,dmt,SP(Rwt)),oE(e,XH,mmt,SP(Fwt)),oE(e,XH,Amt,SP(Mwt)),oE(e,XH,jmt,SP(yX)),oE(e,XH,Mmt,SP(Nwt)),oE(e,XH,Nmt,SP(bX))}function hz(){hz=C,sVt=W(j(K9,1),hV,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),cVt=RegExp(`[ +\r\f]+`);try{l7=W(j(YVt,1),DB,2114,0,[new Pd((yme(),PN(`yyyy-MM-dd'T'HH:mm:ss'.'SSSZ`,Ob((Gp(),Gp(),XJ))))),new Pd(PN(`yyyy-MM-dd'T'HH:mm:ss'.'SSS`,Ob(XJ))),new Pd(PN(`yyyy-MM-dd'T'HH:mm:ss`,Ob(XJ))),new Pd(PN(`yyyy-MM-dd'T'HH:mm`,Ob(XJ))),new Pd(PN(`yyyy-MM-dd`,Ob(XJ)))])}catch(e){if(e=ej(e),!P(e,82))throw k(e)}}function Kot(e,t){var n,r,i=LL(e.d,1)!=0,a;if(r=Irt(e,t),r==0&&Zp(fb(K(t.j,(Y(),S$)))))return 0;!Zp(fb(K(t.j,(Y(),S$))))&&!Zp(fb(K(t.j,q$)))||N(K(t.j,(cB(),_1)))===N((YN(),o2))?t.c.mg(t.e,i):i=Zp(fb(K(t.j,S$))),ZL(e,t,i,!0),Zp(fb(K(t.j,q$)))&&G(t.j,q$,(Vy(),!1)),Zp(fb(K(t.j,S$)))&&(G(t.j,S$,(Vy(),!1)),G(t.j,q$,!0)),n=Irt(e,t);do{if($Ve(e),n==0)return 0;i=!i,a=n,ZL(e,t,i,!1),n=Irt(e,t)}while(a>n);return a}function qot(e,t){var n,r,i=LL(e.d,1)!=0,a;if(r=YI(e,t),r==0&&Zp(fb(K(t.j,(Y(),S$)))))return 0;!Zp(fb(K(t.j,(Y(),S$))))&&!Zp(fb(K(t.j,q$)))||N(K(t.j,(cB(),_1)))===N((YN(),o2))?t.c.mg(t.e,i):i=Zp(fb(K(t.j,S$))),ZL(e,t,i,!0),Zp(fb(K(t.j,q$)))&&G(t.j,q$,(Vy(),!1)),Zp(fb(K(t.j,S$)))&&(G(t.j,S$,(Vy(),!1)),G(t.j,q$,!0)),n=YI(e,t);do{if($Ve(e),n==0)return 0;i=!i,a=n,ZL(e,t,i,!1),n=YI(e,t)}while(a>n);return a}function Jot(e,t,n,i){var a,o,s,c,l=Pb(new M(n.a,n.b),e),u=l.a*t.b-l.b*t.a,d=t.a*i.b-t.b*i.a,f=(l.a*i.b-l.b*i.a)/d,p=u/d;return d==0?u==0?(a=Nb(new M(n.a,n.b),fy(new M(i.a,i.b),.5)),o=AD(e,a),s=AD(Nb(new M(e.a,e.b),t),a),c=r.Math.sqrt(i.a*i.a+i.b*i.b)*.5,o=0&&f<=1&&p>=0&&p<=1?Nb(new M(e.a,e.b),fy(new M(t.a,t.b),f)):null}function Yot(e,t,n){var r=I(K(e,(cB(),v1)),21),i,a,o,s;if(n.a>t.a&&(r.Hc((eI(),c6))?e.c.a+=(n.a-t.a)/2:r.Hc(u6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((eI(),f6))?e.c.b+=(n.b-t.b)/2:r.Hc(d6)&&(e.c.b+=n.b-t.b)),I(K(e,(Y(),C$)),21).Hc((cR(),JQ))&&(n.a>t.a||n.b>t.b))for(s=new O(e.a);s.at.a&&(r.Hc((eI(),c6))?e.c.a+=(n.a-t.a)/2:r.Hc(u6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Hc((eI(),f6))?e.c.b+=(n.b-t.b)/2:r.Hc(d6)&&(e.c.b+=n.b-t.b)),I(K(e,(Y(),C$)),21).Hc((cR(),JQ))&&(n.a>t.a||n.b>t.b))for(o=new O(e.a);o.a0?e.i:0)>t&&l>0&&(o=0,s+=l+e.i,a=r.Math.max(a,p),i+=l+e.i,l=0,p=0,n&&(++f,py(e.n,new aT(e.s,s,e.i))),c=0),p+=u.g+(c>0?e.i:0),l=r.Math.max(l,u.f),n&&qZe(I(zx(e.n,f),209),u),o+=u.g+(c>0?e.i:0),++c;return a=r.Math.max(a,p),i+=l,n&&(e.r=a,e.d=i,VQe(e.j)),new fw(e.s,e.t,a,i)}function _z(e){var t,n,i,a,o,s,c,l,u,d,f,p;for(e.b=!1,f=RV,l=zV,p=RV,u=zV,i=e.e.a.ec().Kc();i.Ob();)for(n=I(i.Pb(),272),a=n.a,f=r.Math.min(f,a.c),l=r.Math.max(l,a.c+a.b),p=r.Math.min(p,a.d),u=r.Math.max(u,a.d+a.a),s=new O(n.c);s.ae.o.a&&(d=(l-e.o.a)/2,c.b=r.Math.max(c.b,d),c.c=r.Math.max(c.c,d))}}function est(e){var t,n,r,i,a=new gMe,o,s,c;for(Gme(a,(cj(),yRt)),r=(i=oA(e,H(dY,X,2,0,6,1)),new tu(new fm(new xh(e,i).b)));r.bs?1:-1,i==-1)d=-c,u=o==c?sIe(t.a,s,e.a,a):CD(t.a,s,e.a,a);else if(d=o,o==c){if(i==0)return OR(),_Y;u=sIe(e.a,a,t.a,s)}else u=CD(e.a,a,t.a,s);return l=new YS(d,u.length,u),iE(l),l}function rst(e,t){var n,r,i,a=Lat(t);if(!t.c&&(t.c=new L(c7,t,9,9)),Ph(new Hx(null,(!t.c&&(t.c=new L(c7,t,9,9)),new UT(t.c,16))),new Lae(a)),i=I(K(a,(Y(),C$)),21),Ult(t,i),i.Hc((cR(),JQ)))for(r=new xy((!t.c&&(t.c=new L(c7,t,9,9)),t.c));r.e!=r.i.gc();)n=I(CP(r),123),Eut(e,t,a,n);return I(J(t,(cB(),$1)),181).gc()!=0&&ant(t,a),Zp(fb(K(a,Ujt)))&&i.Fc($Q),rb(a,m0)&&kce(new VJe(A(F(K(a,m0)))),a),N(J(t,I1))===N((pM(),w8))?Rft(e,t,a):pft(e,t,a),a}function ist(e){var t,n,r,i,a,o,s,c;for(i=new O(e.b);i.a0?Jw(n.a,0,a-1):``):(TD(0,a-1,e.length),e.substr(0,a-1)):n?n.a:e}function ast(e,t){var n,r,i,a,o,s,c;for(t.Ug(`Sort By Input Model `+K(e,(cB(),_1)),1),i=0,r=new O(e.b);r.a=e.b.length?(a[i++]=o.b[r++],a[i++]=o.b[r++]):r>=o.b.length?(a[i++]=e.b[n++],a[i++]=e.b[n++]):o.b[r]0?e.i:0)),++t;for(kqe(e.n,l),e.d=n,e.r=i,e.g=0,e.f=0,e.e=0,e.o=RV,e.p=RV,o=new O(e.b);o.a0&&(i=(!e.n&&(e.n=new L(o7,e,1,7)),I(U(e.n,0),135)).a,!i||uv(uv((t.a+=` "`,t),i),`"`))),n=(!e.b&&(e.b=new Ib(X5,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Ib(X5,e,5,8)),e.c.i<=1))),n?t.a+=` [`:t.a+=` `,uv(t,Mge(new _m,new xy(e.b))),n&&(t.a+=`]`),t.a+=qU,n&&(t.a+=`[`),uv(t,Mge(new _m,new xy(e.c))),n&&(t.a+=`]`),t.a)}function lst(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x=e.c,S=t.c,ee,te,ne,C;for(n=QD(x.a,e,0),r=QD(S.a,t,0),y=I(MN(e,(Ck(),d2)).Kc().Pb(),12),ne=I(MN(e,f2).Kc().Pb(),12),b=I(MN(t,d2).Kc().Pb(),12),C=I(MN(t,f2).Kc().Pb(),12),_=rE(y.e),ee=rE(ne.g),v=rE(b.e),te=rE(C.g),AF(e,r,S),o=v,u=0,m=o.length;ud?new LT((vD(),z2),n,t,u-d):u>0&&d>0&&(new LT((vD(),z2),t,n,0),new LT(z2,n,t,0))),s)}function pst(e,t,n){var r,i,a;for(e.a=new qd,a=vP(t.b,0);a.b!=a.d.c;){for(i=I(yE(a),40);I(K(i,(tz(),x4)),17).a>e.a.c.length-1;)py(e.a,new W_(rU,s_t));r=I(K(i,x4),17).a,n==(FM(),l8)||n==u8?(i.e.aA(F(I(zx(e.a,r),42).b))&&jl(I(zx(e.a,r),42),i.e.a+i.f.a)):(i.e.bA(F(I(zx(e.a,r),42).b))&&jl(I(zx(e.a,r),42),i.e.b+i.f.b))}}function mst(e,t,n,r){var i,a=JM(r),o,s=Zp(fb(K(r,(cB(),Ljt)))),c,l,u;if((s||Zp(fb(K(e,L1))))&&!jv(I(K(e,s0),101)))i=bN(a),c=aat(e,n,n==(Ck(),f2)?i:LM(i));else switch(c=new jI,ET(c,e),t?(u=c.n,u.a=t.a-e.n.a,u.b=t.b-e.n.b,i3e(u,0,0,e.o.a,e.o.b),tL(c,dat(c,a))):(i=bN(a),tL(c,n==(Ck(),f2)?i:LM(i))),o=I(K(r,(Y(),C$)),21),l=c.j,a.g){case 2:case 1:(l==(Qz(),a5)||l==S5)&&o.Fc((cR(),QQ));break;case 4:case 3:(l==(Qz(),i5)||l==w5)&&o.Fc((cR(),QQ))}return c}function hst(e,t){var n,i,a,o,s,c;for(s=new OA(new zl(e.f.b).a);s.b;){if(o=Wk(s),a=I(o.ld(),602),t==1){if(a.Af()!=(FM(),f8)&&a.Af()!=c8)continue}else if(a.Af()!=(FM(),l8)&&a.Af()!=u8)continue;switch(i=I(I(o.md(),42).b,86),c=I(I(o.md(),42).a,194),n=c.c,a.Af().g){case 2:i.g.c=e.e.a,i.g.b=r.Math.max(1,i.g.b+n);break;case 1:i.g.c=i.g.c+n,i.g.b=r.Math.max(1,i.g.b-n);break;case 4:i.g.d=e.e.b,i.g.a=r.Math.max(1,i.g.a+n);break;case 3:i.g.d=i.g.d+n,i.g.a=r.Math.max(1,i.g.a-n)}}}function gst(e,t){var n,i,a,o,s,c=H(q9,DV,28,t.b.c.length,15,1),l,u=H(pZ,Z,273,t.b.c.length,0,1),d,f,p,m,h,g;for(l=H(oZ,YU,10,t.b.c.length,0,1),f=e.a,p=0,m=f.length;p0&&l[i]&&(h=ny(e.b,l[i],a)),g=r.Math.max(g,a.c.c.b+h);for(o=new O(d.e);o.a1)throw k(new rm(pJ));c||(a=DE(t,r.Kc().Pb()),o.Fc(a))}return lWe(e,O3e(e,t,n),o)}function wz(e,t,n){var r,i,a,o,s,c,l,u;if(rR(e.e,t))c=(sg(),I(t,69).xk()?new jx(t,e):new J_(t,e)),_L(c.c,c.b),ay(c,I(n,16));else{for(u=eR(e.e.Dh(),t),r=I(e.g,124),o=0;o`}c!=null&&(t.a+=``+c)}else e.e?(s=e.e.zb,s!=null&&(t.a+=``+s)):(t.a+=`?`,e.b?(t.a+=` super `,Tz(e.b,t)):e.f&&(t.a+=` extends `,Tz(e.f,t)))}function Est(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 Dst(e){var t,n,i=sB((!e.c&&(e.c=NT(zA(e.f))),e.c),0),a;if(e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(t=+(nHe(e)<0),n=e.e,a=(i.length+1+r.Math.abs(iT(e.e)),new Sm),t==1&&(a.a+=`-`),e.e>0)if(n-=i.length-t,n>=0){for(a.a+=`0.`;n>fY.length;n-=fY.length)Cwe(a,fY);tye(a,fY,iT(n)),uv(a,(HT(t,i.length+1),i.substr(t)))}else n=t-n,uv(a,Jw(i,t,iT(n))),a.a+=`.`,uv(a,QEe(i,iT(n)));else{for(uv(a,(HT(t,i.length+1),i.substr(t)));n<-fY.length;n+=fY.length)Cwe(a,fY);tye(a,fY,iT(-n))}return a.a}function Ez(e){var t,n,r,i,a,o,s,c,l;return!(e.k!=(DI(),dZ)||e.j.c.length<=1||(a=I(K(e,(cB(),s0)),101),a==(rI(),K8))||(i=(VP(),r=(e.q?e.q:(Ew(),Ew(),SY))._b(X1)?I(K(e,X1),203):I(K(IC(e),Z1),203),r),i==q0)||!(i==K0||i==G0)&&(o=A(F(FN(e,j0))),t=I(K(e,A0),140),!t&&(t=new hye(o,o,o,o)),l=rN(e,(Qz(),w5)),c=t.d+t.a+(l.gc()-1)*o,c>e.o.b||(n=rN(e,i5),s=t.d+t.a+(n.gc()-1)*o,s>e.o.b)))}function Ost(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;t.Ug(`Orthogonal edge routing`,1),l=A(F(K(e,(cB(),O0)))),n=A(F(K(e,v0))),r=A(F(K(e,x0))),f=new lC(0,n),g=0,o=new tE(e.b,0),s=null,u=null,c=null,d=null;do u=o.b0?(p=(m-1)*n,s&&(p+=r),u&&(p+=r),pt||Zp(fb(J(c,(mR(),l3)))))&&(i=0,a+=u.b+n,af(d.c,u),u=new mMe(a,n),r=new Oj(0,u.f,u,n),Ok(u,r),i=0),r.b.c.length==0||!Zp(fb(J(_T(c),(mR(),d3))))&&(c.f>=r.o&&c.f<=r.f||r.a*.5<=c.f&&r.a*1.5>=c.f)?Zqe(r,c):(o=new Oj(r.s+r.r+n,u.f,u,n),Ok(u,o),Zqe(o,c)),i=c.i+c.g;return af(d.c,u),d}function jz(e){var t,n,r,i;if(!(e.b==null||e.b.length<=2)&&!e.a){for(t=0,i=0;i=e.b[i+1])i+=2;else if(n0)for(r=new Gb(I(rD(e.a,a),21)),Ew(),Qv(r,new ju(t)),i=new tE(a.b,0);i.b0&&r>=-6?r>=0?Py(a,n-iT(e.e),`.`):(jA(a,t-1,t-1,`0.`),Py(a,t+1,qN(fY,0,-iT(r)-1))):(n-t>=1&&(Py(a,t,`.`),++n),Py(a,n,`E`),r>0&&Py(a,++n,`+`),Py(a,++n,``+kS(zA(r)))),e.g=a.a,e.g)):e.g}function Ust(e,t){var n,i=A(F(K(t,(cB(),Bjt)))),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=I(K(t,M0),17).a,ee,te;p=4,a=3,ee=20/S,m=!1,l=0,s=SB;do{for(o=l!=1,f=l!=0,te=0,_=e.a,y=0,x=_.length;yS)?(l=2,s=SB):l==0?(l=1,s=te):(l=0,s=te)):(m=te>=s||s-te0?1:Sv(isNaN(i),!1))>=0^(Tk(xG),(r.Math.abs(c)<=xG||c==0?0:c<0?-1:c>0?1:Sv(isNaN(c),!1))>=0)?r.Math.max(c,i):(Tk(xG),(r.Math.abs(i)<=xG||i==0?0:i<0?-1:i>0?1:Sv(isNaN(i),!1))>0?r.Math.sqrt(c*c+i*i):-r.Math.sqrt(c*c+i*i))}function Nz(e,t){var n,r,i,a,o,s;if(t){if(!e.a&&(e.a=new Rf),e.e==2){Af(e.a,t);return}if(t.e==1){for(i=0;i=UV?sv(n,Lqe(r)):kC(n,r&_V),o=(++W9,new Qw(10,null,0)),uEe(e.a,o,s-1)):(n=(o.Mm().length+a,new bm),sv(n,o.Mm())),t.e==0?(r=t.Km(),r>=UV?sv(n,Lqe(r)):kC(n,r&_V)):sv(n,t.Mm()),I(o,530).b=n.a}}function Kst(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(!n.dc()){for(s=0,f=0,r=n.Kc(),m=I(r.Pb(),17).a;s1&&(c=l.Hg(c,e.a,s));return c.c.length==1?I(zx(c,c.c.length-1),238):c.c.length==2?Ast((VT(0,c.c.length),I(c.c[0],238)),(VT(1,c.c.length),I(c.c[1],238)),o,a):null}function Zst(e,t,n){var r,i,a,o,s,c,l;for(n.Ug(`Find roots`,1),e.a.c.length=0,i=vP(t.b,0);i.b!=i.d.c;)r=I(yE(i),40),r.b.b==0&&(G(r,(Zz(),p4),(Vy(),!0)),py(e.a,r));switch(e.a.c.length){case 0:a=new Dj(0,t,`DUMMY_ROOT`),G(a,(Zz(),p4),(Vy(),!0)),G(a,$2,!0),Dx(t.b,a);break;case 1:break;default:for(o=new Dj(0,t,MG),c=new O(e.a);c.a=r.Math.abs(i.b)?(i.b=0,o.d+o.a>s.d&&o.ds.c&&o.c0){if(t=new nme(e.i,e.g),n=e.i,a=n<100?null:new Km(n),e.Tj())for(r=0;r0){for(s=e.g,l=e.i,nD(e),a=l<100?null:new Km(l),r=0;r>13|(e.m&15)<<9,i=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,s=t.l&8191,c=t.l>>13|(t.m&15)<<9,l=t.m>>4&8191,u=t.m>>17|(t.h&255)<<5,d=(t.h&1048320)>>8,f,p,m,h,g,_,v,y,b,x,S,ee,te=n*s,ne=r*s,C=i*s,re=a*s,ie=o*s;return c!=0&&(ne+=n*c,C+=r*c,re+=i*c,ie+=a*c),l!=0&&(C+=n*l,re+=r*l,ie+=i*l),u!=0&&(re+=n*u,ie+=r*u),d!=0&&(ie+=n*d),p=te&kV,m=(ne&511)<<13,f=p+m,g=te>>22,_=ne>>9,v=(C&262143)<<4,y=(re&31)<<17,h=g+_+v+y,x=C>>18,S=re>>5,ee=(ie&4095)<<8,b=x+S+ee,h+=f>>22,f&=kV,b+=h>>22,h&=kV,b&=AV,ty(f,h,b)}function nct(e){var t,n,i,a,o,s,c=I(zx(e.j,0),12);if(c.g.c.length!=0&&c.e.c.length!=0)throw k(new im(`Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges.`));if(c.g.c.length!=0){for(o=RV,n=new O(c.g);n.a4)if(e.fk(t)){if(e.al()){if(i=I(t,54),r=i.Eh(),c=r==e.e&&(e.ml()?i.yh(i.Fh(),e.il())==e.jl():-1-i.Fh()==e.Lj()),e.nl()&&!c&&!r&&i.Jh()){for(a=0;a0&&x3e(e,s,d);for(i=new O(d);i.ae.d[o.p]&&(n+=_Fe(e.b,a)*I(c.b,17).a,bE(e.a,gM(a)));for(;!mm(e.a);)YRe(e.b,I(WS(e.a),17).a)}return n}function oct(e,t){var n,r,i,a,o,s,c,l,u=I(K(e,(Y(),x$)),64),d;if(r=I(zx(e.j,0),12),u==(Qz(),a5)?tL(r,S5):u==S5&&tL(r,a5),I(K(t,(cB(),$1)),181).Hc((HN(),k5))){if(c=A(F(K(e,T0))),l=A(F(K(e,E0))),o=A(F(K(e,C0))),s=I(K(t,l0),21),s.Hc((rL(),$8)))for(n=l,d=e.o.a/2-r.n.a,a=new O(r.f);a.a0&&(l=e.n.a/a);break;case 2:case 4:i=e.i.o.b,i>0&&(l=e.n.b/i)}G(e,(Y(),H$),l)}if(c=e.o,o=e.a,r)o.a=r.a,o.b=r.b,e.d=!0;else if(t!=Y8&&t!=X8&&s!=C5)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2}else o.a=c.a/2,o.b=c.b/2}function Fz(e){var t,n,r,i,a,o,s,c,l,u;if(e.Pj())if(u=e.Ej(),c=e.Qj(),u>0)if(t=new jHe(e.pj()),n=u,a=n<100?null:new Km(n),Cb(e,n,t.g),i=n==1?e.Ij(4,U(t,0),null,0,c):e.Ij(6,t,null,-1,c),e.Mj()){for(r=new xy(t);r.e!=r.i.gc();)a=e.Oj(CP(r),a);a?(a.nj(i),a.oj()):e.Jj(i)}else a?(a.nj(i),a.oj()):e.Jj(i);else Cb(e,e.Ej(),e.Fj()),e.Jj(e.Ij(6,(Ew(),xY),null,-1,c));else if(e.Mj())if(u=e.Ej(),u>0){for(s=e.Fj(),l=u,Cb(e,u,s),a=l<100?null:new Km(l),r=0;r1&&qx(o)*Kx(o)/2>s[0]){for(a=0;as[a];)++a;m=new PT(h,0,a+1),d=new JO(m),u=qx(o)/Kx(o),c=rB(d,t,new sp,n,r,i,u),Nb(mv(d.e),c),_x(gI(f,d),XV),p=new PT(h,a+1,h.c.length),m$e(f,p),h.c.length=0,l=0,rTe(s,s.length,0)}else g=f.b.c.length==0?null:zx(f.b,0),g!=null&&Jk(f,0),l>0&&(s[l]=s[l-1]),s[l]+=qx(o)*Kx(o),++l,af(h.c,o);return h}function fct(e,t){var n=t.b,r,i,a=new Gb(n.j);i=0,r=n.j,r.c.length=0,iC(I(DA(e.b,(Qz(),a5),(Vk(),iQ)),15),n),i=GP(a,i,new Zr,r),iC(I(DA(e.b,a5,rQ),15),n),i=GP(a,i,new Kr,r),iC(I(DA(e.b,a5,nQ),15),n),iC(I(DA(e.b,i5,iQ),15),n),iC(I(DA(e.b,i5,rQ),15),n),i=GP(a,i,new Qr,r),iC(I(DA(e.b,i5,nQ),15),n),iC(I(DA(e.b,S5,iQ),15),n),i=GP(a,i,new $r,r),iC(I(DA(e.b,S5,rQ),15),n),i=GP(a,i,new ei,r),iC(I(DA(e.b,S5,nQ),15),n),iC(I(DA(e.b,w5,iQ),15),n),i=GP(a,i,new qr,r),iC(I(DA(e.b,w5,rQ),15),n),iC(I(DA(e.b,w5,nQ),15),n)}function pct(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;for(s=new O(t);s.a.5?v-=s*2*(h-.5):h<.5&&(v+=o*2*(.5-h)),a=c.d.b,v_.a-g-d&&(v=_.a-g-d),c.n.a=t+v}}function yct(e){var t,n,r=I(K(e,(cB(),V1)),171),i,a;if(r==(CN(),r1)){for(n=new SS(Ty(cN(e).a.Kc(),new d));CL(n);)if(t=I($E(n),18),!YFe(t))throw k(new sm(tW+xF(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(r==a1){for(a=new SS(Ty(lN(e).a.Kc(),new d));CL(a);)if(i=I($E(a),18),!YFe(i))throw k(new sm(tW+xF(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 Iz(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.e&&e.c.c>19&&(t=pj(t),c=!c),o=R9e(t),a=!1,i=!1,r=!1,e.h==jV&&e.m==0&&e.l==0)if(i=!0,a=!0,o==-1)e=Ame((vO(),tSt)),r=!0,c=!c;else return s=Z5e(e,o),c&&Cj(s),n&&($J=ty(0,0,0)),s;else e.h>>19&&(a=!0,e=pj(e),r=!0,c=!c);return o==-1?W$e(e,t)<0?(n&&($J=a?pj(e):ty(e.l,e.m,e.h)),ty(0,0,0)):Nit(r?e:ty(e.l,e.m,e.h),t,c,a,i,n):LWe(e,o,c,a,n)}function Lz(e,t){var n,r,i,a,o=e.e,s,c=t.e,l,u,d,f,p,m;if(o==0)return t;if(c==0)return e;if(a=e.d,s=t.d,a+s==2)return n=GT(e.a[0],qV),r=GT(t.a[0],qV),o==c?(u=eN(n,r),m=dS(u),p=dS(yS(u,32)),p==0?new ME(o,m):new YS(o,2,W(j(q9,1),DV,28,15,[m,p]))):(OR(),tv(o<0?nN(r,n):nN(n,r),0)?RN(o<0?nN(r,n):nN(n,r)):tC(RN(ZD(o<0?nN(r,n):nN(n,r)))));if(o==c)f=o,d=a>=s?CD(e.a,a,t.a,s):CD(t.a,s,e.a,a);else{if(i=a==s?lGe(e.a,t.a,a):a>s?1:-1,i==0)return OR(),_Y;i==1?(f=o,d=sIe(e.a,a,t.a,s)):(f=c,d=sIe(t.a,s,e.a,a))}return l=new YS(f,d.length,d),iE(l),l}function Sct(e,t){var n,r,i,a,o,s,c;if(!(e.g>t.f||t.g>e.f)){for(n=0,r=0,o=e.w.a.ec().Kc();o.Ob();)i=I(o.Pb(),12),ZGe(xj(W(j(e6,1),X,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(s=e.r.a.ec().Kc();s.Ob();)i=I(s.Pb(),12),ZGe(xj(W(j(e6,1),X,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(c=t.w.a.ec().Kc();c.Ob();)i=I(c.Pb(),12),ZGe(xj(W(j(e6,1),X,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Kc();a.Ob();)i=I(a.Pb(),12),ZGe(xj(W(j(e6,1),X,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n=0)return n;switch(VC(oO(e,n))){case 2:if(Rb(``,CM(e,n.qk()).xe())){if(c=tw(oO(e,n)),s=ew(oO(e,n)),u=B7e(e,t,c,s),u)return u;for(i=tit(e,t),o=0,d=i.gc();o1)throw k(new rm(pJ));for(u=eR(e.e.Dh(),t),r=I(e.g,124),o=0;o1,u=new cD(p.b);$v(u.a)||$v(u.b);)l=I($v(u.a)?V(u.a):V(u.b),18),f=l.c==p?l.d:l.c,r.Math.abs(xj(W(j(e6,1),X,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&ftt(e,l,s,o,p)}}function Oct(e){var t,n,i,a=new tE(e.e,0),o,s;if(i=new tE(e.a,0),e.d)for(n=0;nEG;){for(o=t,s=0;r.Math.abs(t-o)0),a.a.Xb(a.c=--a.b),$at(e,e.b-s,o,i,a),hb(a.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(n=0;n0?(e.f[d.p]=m/(d.e.c.length+d.g.c.length),e.c=r.Math.min(e.c,e.f[d.p]),e.b=r.Math.max(e.b,e.f[d.p])):c&&(e.f[d.p]=m)}}function Act(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 jct(e,t,n){var r,i,a,o;for(n.Ug(`Graph transformation (`+e.a+`)`,1),o=WT(t.a),a=new O(t.b);a.a=s.b.c)&&(s.b=t),(!s.c||t.c<=s.c.c)&&(s.d=s.c,s.c=t),(!s.e||t.d>=s.e.d)&&(s.e=t),(!s.f||t.d<=s.f.d)&&(s.f=t);return r=new OP((aj(),XX)),$T(e,QTt,new fm(W(j(YX,1),DB,382,0,[r]))),o=new OP($X),$T(e,ZTt,new fm(W(j(YX,1),DB,382,0,[o]))),i=new OP(ZX),$T(e,XTt,new fm(W(j(YX,1),DB,382,0,[i]))),a=new OP(QX),$T(e,YTt,new fm(W(j(YX,1),DB,382,0,[a]))),VL(r.c,XX),VL(i.c,ZX),VL(a.c,QX),VL(o.c,$X),s.a.c.length=0,nj(s.a,r.c),nj(s.a,yN(i.c)),nj(s.a,a.c),nj(s.a,yN(o.c)),s}function Pct(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h;for(t.Ug(rvt,1),m=A(F(J(e,(yR(),a3)))),s=A(F(J(e,(mR(),p3)))),c=I(J(e,f3),107),GVe((!e.a&&(e.a=new L(s7,e,10,11)),e.a)),d=Ist((!e.a&&(e.a=new L(s7,e,10,11)),e.a),m,s),!e.a&&(e.a=new L(s7,e,10,11)),u=new O(d);u.a0&&(e.a=c+(m-1)*a,t.c.b+=e.a,t.f.b+=e.a)),h.a.gc()!=0&&(p=new lC(1,a),m=glt(p,t,h,g,t.f.b+c-t.c.b),m>0&&(t.f.b+=c+(m-1)*a))}function Ict(e,t,n){var i,a,o,s,c,l,u,d=A(F(K(e,(cB(),b0)))),f,p,m,h,g,_,v,y,b,x;for(i=A(F(K(e,cMt))),p=new wo,G(p,b0,d+i),u=t,v=u.d,g=u.c.i,y=u.d.i,_=Rme(g.c),b=Rme(y.c),a=new qd,f=_;f<=b;f++)c=new $P(e),yl(c,(DI(),uZ)),G(c,(Y(),R$),u),G(c,s0,(rI(),K8)),G(c,S0,p),m=I(zx(e.b,f),30),f==_?AF(c,m.a.c.length-n,m):TT(c,m),x=A(F(K(u,P1))),x<0&&(x=0,G(u,P1,x)),c.o.b=x,h=r.Math.floor(x/2),s=new jI,tL(s,(Qz(),w5)),ET(s,c),s.n.b=h,l=new jI,tL(l,i5),ET(l,c),l.n.b=h,DT(u,s),o=new zw,UA(o,u),G(o,B1,null),wT(o,l),DT(o,v),Y$e(c,u,o),af(a.c,o),u=o;return a}function Bz(e,t){var n,r,i,a,o,s,c=I(NI(e,(Qz(),w5)).Kc().Pb(),12).e,l,u,d,f,p=I(NI(e,i5).Kc().Pb(),12).g,m,h,g,_,v,y;for(s=c.c.length,y=RT(I(zx(e.j,0),12));s-- >0;){for(h=(VT(0,c.c.length),I(c.c[0],18)),i=(VT(0,p.c.length),I(p.c[0],18)),v=i.d.e,a=QD(v,i,0),dNe(h,i.d,a),wT(i,null),DT(i,null),m=h.a,t&&Dx(m,new Ev(y)),r=vP(i.a,0);r.b!=r.d.c;)n=I(yE(r),8),Dx(m,new Ev(n));for(_=h.b,f=new O(i.b);f.ao)&&KS(e.b,I(g.b,18));++s}a=o}}}function Rct(e,t){var n;if(t==null||Rb(t,OB)||t.length==0&&e.k!=(VI(),Y3))return null;switch(e.k.g){case 1:return rP(t,yK)?(Vy(),tY):rP(t,bK)?(Vy(),eY):null;case 2:try{return gM(UR(t,uV,SB))}catch(e){if(e=ej(e),P(e,130))return null;throw k(e)}case 4:try{return OI(t)}catch(e){if(e=ej(e),P(e,130))return null;throw k(e)}case 3:return t;case 5:return kGe(e),j8e(e,t);case 6:return kGe(e),r9e(e,e.a,t);case 7:try{return n=F5e(e),n.cg(t),n}catch(e){if(e=ej(e),P(e,33))return null;throw k(e)}default:throw k(new im(`Invalid type set for this layout option.`))}}function zct(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&&Zp(fb(t))!=nv(e.k,0);case 1:return t!=null&&I(t,222).a!=dS(e.k)<<24>>24;case 2:return t!=null&&I(t,180).a!=(dS(e.k)&_V);case 6:return t!=null&&nv(I(t,168).a,e.k);case 5:return t!=null&&I(t,17).a!=dS(e.k);case 7:return t!=null&&I(t,191).a!=dS(e.k)<<16>>16;case 3:return t!=null&&A(F(t))!=e.j;case 4:return t!=null&&I(t,161).a!=e.j;default:return t==null?e.n!=null:!EM(t,e.n)}}function Vz(e,t,n){var r,i,a,o;return e.ol()&&e.nl()&&(o=zS(e,I(n,58)),N(o)!==N(n))?(e.xj(t),e.Dj(t,$Le(e,t,o)),e.al()&&(a=(i=I(n,54),e.ml()?e.kl()?i.Th(e.b,XP(I(PO(Kw(e.b),e.Lj()),19)).n,I(PO(Kw(e.b),e.Lj()).Hk(),29).kk(),null):i.Th(e.b,EN(i.Dh(),XP(I(PO(Kw(e.b),e.Lj()),19))),null,null):i.Th(e.b,-1-e.Lj(),null,null)),!I(o,54).Ph()&&(a=(r=I(o,54),e.ml()?e.kl()?r.Rh(e.b,XP(I(PO(Kw(e.b),e.Lj()),19)).n,I(PO(Kw(e.b),e.Lj()).Hk(),29).kk(),a):r.Rh(e.b,EN(r.Dh(),XP(I(PO(Kw(e.b),e.Lj()),19))),null,a):r.Rh(e.b,-1-e.Lj(),null,a))),a&&a.oj()),Av(e.b)&&e.Jj(e.Ij(9,n,o,t,!1)),o):n}function Bct(e){var t,n,r=new qd,i,a,o,s,c,l,u;for(o=new O(e.e.a);o.a0&&(s=r.Math.max(s,oHe(e.C.b+i.d.b,a))),d=i,f=a,p=o;e.C&&e.C.c>0&&(m=p+e.C.c,u&&(m+=d.d.c),s=r.Math.max(s,(qv(),Tk(AH),r.Math.abs(f-1)<=AH||f==1?0:m/(1-f)))),n.n.b=0,n.a.a=s}function Hct(e,t){var n=I(XC(e.b,t),127),i,a,o,s,c,l=I(I(rD(e.r,t),21),87),u,d,f,p,m;if(l.dc()){n.n.d=0,n.n.a=0;return}for(u=e.u.Hc((rL(),$8)),s=0,e.A.Hc((HN(),k5))&&ort(e,t),c=l.Kc(),d=null,p=0,f=0;c.Ob();)i=I(c.Pb(),117),o=A(F(i.b.of((By(),rX)))),a=i.b.Mf().b,d?(m=f+d.d.a+e.w+i.d.d,s=r.Math.max(s,(qv(),Tk(AH),r.Math.abs(p-o)<=AH||p==o||isNaN(p)&&isNaN(o)?0:m/(o-p)))):e.C&&e.C.d>0&&(s=r.Math.max(s,oHe(e.C.d+i.d.d,o))),d=i,p=o,f=a;e.C&&e.C.a>0&&(m=f+e.C.a,u&&(m+=d.d.a),s=r.Math.max(s,(qv(),Tk(AH),r.Math.abs(p-1)<=AH||p==1?0:m/(1-p)))),n.n.d=0,n.a.b=s}function Uct(e,t,n,r,i,a,o,s){var c,l,u,d,f,p,m=!1,h,g,_;if(l=vet(n.q,t.f+t.b-n.q.f),p=r.f>t.b&&s,_=i-(n.q.e+l-o),d=(c=gz(r,_,!1),c.a),p&&d>r.f)return!1;if(p){for(f=0,g=new O(t.d);g.a=(VT(a,e.c.length),I(e.c[a],186)).e,!p&&d>t.b&&!u)?!1:((u||p||d<=t.b)&&(u&&d>t.b?(n.d=d,FD(n,X4e(n,d))):(Z1e(n.q,l),n.c=!0),FD(r,i-(n.s+n.r)),qP(r,n.q.e+n.q.d,t.f),Ok(t,r),e.c.length>a&&(FF((VT(a,e.c.length),I(e.c[a],186)),r),(VT(a,e.c.length),I(e.c[a],186)).a.c.length==0&&aD(e,a)),m=!0),m)}function Wct(e,t,n){var r,i,a,o,s,c;for(this.g=e,s=t.d.length,c=n.d.length,this.d=H(oZ,YU,10,s+c,0,1),o=0;o0?tBe(this,this.f/this.a):ly(t.g,t.d[0]).a!=null&&ly(n.g,n.d[0]).a!=null?tBe(this,(A(ly(t.g,t.d[0]).a)+A(ly(n.g,n.d[0]).a))/2):ly(t.g,t.d[0]).a==null?ly(n.g,n.d[0]).a!=null&&tBe(this,ly(n.g,n.d[0]).a):tBe(this,ly(t.g,t.d[0]).a)}function Gct(e,t){var n,r,i,a,o,s,c,l,u,d;for(e.a=new tDe($Ue(p8)),r=new O(t.a);r.a=1&&(g-o>0&&d>=0?(c.n.a+=h,c.n.b+=a*o):g-o<0&&u>=0&&(c.n.a+=h*g,c.n.b+=a));e.o.a=t.a,e.o.b=t.b,G(e,(cB(),$1),(HN(),r=I(Xm(A5),9),new Kb(r,I(jb(r,r.length),9),0)))}function Xct(e,t,n,r,i,a){var o;if(!(t==null||!vN(t,DVt,OVt)))throw k(new rm(`invalid scheme: `+t));if(!e&&!(n!=null&&xv(n,mI(35))==-1&&n.length>0&&(HT(0,n.length),n.charCodeAt(0)!=47)))throw k(new rm(`invalid opaquePart: `+n));if(e&&!(t!=null&&Sh(k7,t.toLowerCase()))&&!(n==null||!vN(n,D7,O7))||e&&t!=null&&Sh(k7,t.toLowerCase())&&!y0e(n))throw k(new rm(_bt+n));if(!mJe(r))throw k(new rm(`invalid device: `+r));if(!$Ge(i))throw o=i==null?`invalid segments: null`:`invalid segment: `+LGe(i),k(new rm(o));if(!(a==null||xv(a,mI(35))==-1))throw k(new rm(`invalid query: `+a))}function Zct(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v;if(n.Ug(`Network simplex layering`,1),e.b=t,v=I(K(t,(cB(),M0)),17).a*4,_=e.b.a,_.c.length<1){n.Vg();return}for(o=iit(e,_),g=null,a=vP(o,0);a.b!=a.d.c;){for(i=I(yE(a),15),c=v*iT(r.Math.sqrt(i.gc())),s=jit(i),BR(fle(mle(ple($b(s),c),g),!0),n.eh(1)),p=e.b.b,h=new O(s.a);h.a1)for(g=H(q9,DV,28,e.b.b.c.length,15,1),f=0,u=new O(e.b.b);u.a0){fP(e,n,0),n.a+=String.fromCharCode(r),i=KYe(t,a),fP(e,n,i),a+=i-1;continue}r==39?a+10&&m.a<=0){c.c.length=0,af(c.c,m);break}p=m.i-m.d,p>=s&&(p>s&&(c.c.length=0,s=p),af(c.c,m))}c.c.length!=0&&(o=I(zx(c,WP(i,c.c.length)),118),y.a.Bc(o),o.g=u++,Xat(o,t,n,r),c.c.length=0)}for(g=e.c.length+1,f=new O(e);f.azV||t.o==P2&&u=s&&i<=c)s<=i&&a<=c?(n[u++]=i,n[u++]=a,r+=2):s<=i?(n[u++]=i,n[u++]=c,e.b[r]=c+1,o+=2):a<=c?(n[u++]=s,n[u++]=a,r+=2):(n[u++]=s,n[u++]=c,e.b[r]=c+1);else if(clV)&&c<10);_le(e.c,new Lt),ilt(e),mEe(e.c),Mct(e.f)}function ult(e,t){var n=I(K(e,(cB(),s0)),101),i,a,o,s=e.f,c,l,u,d,f,p,m,h,g;for(o=e.d,c=s.a+o.b+o.c,l=0-o.d-e.c.b,d=s.b+o.d+o.a-e.c.b,u=new qd,f=new qd,a=new O(t);a.a=2){for(c=vP(n,0),o=I(yE(c),8),s=I(yE(c),8);s.a0&&dj(l,!0,(FM(),u8)),s.k==(DI(),cZ)&&bDe(l),GC(e.f,s,t)}}function plt(e){var t,n,i,a=I(K(e,(Zz(),l4)),27),o,s,c,l,u=SB,d=SB,f,p,m,h,g,_,v,y,b,x;for(c=uV,l=uV,b=vP(e.b,0);b.b!=b.d.c;)v=I(yE(b),40),m=v.e,h=v.f,u=r.Math.min(u,m.a-h.a/2),d=r.Math.min(d,m.b-h.b/2),c=r.Math.max(c,m.a+h.a/2),l=r.Math.max(l,m.b+h.b/2);for(p=I(J(a,(tz(),iFt)),107),y=vP(e.b,0);y.b!=y.d.c;)v=I(yE(y),40),f=K(v,l4),P(f,207)&&(o=I(f,27),Lv(o,v.e.a,v.e.b),KL(o,v));for(_=vP(e.a,0);_.b!=_.d.c;)g=I(yE(_),65),i=I(K(g,l4),74),i&&(t=g.a,n=oR(i,!0,!0),oz(t,n));x=c-u+(p.b+p.c),s=l-d+(p.d+p.a),Zp(fb(J(a,(dB(),N6))))||$z(a,x,s,!1,!1),PP(a,v6,x-(p.b+p.c)),PP(a,_6,s-(p.d+p.a))}function mlt(e,t){var n,r,i,a,o,s,c=!0,l,u,f;for(i=0,l=e.g[t.p],u=t.o.b+e.o,n=e.d[t.p][2],GE(e.b,l,gM(I(zx(e.b,l),17).a-1+n)),GE(e.c,l,A(F(zx(e.c,l)))-u+n*e.f),++l,l>=e.j?(++e.j,py(e.b,gM(1)),py(e.c,u)):(r=e.d[t.p][1],GE(e.b,l,gM(I(zx(e.b,l),17).a+1-r)),GE(e.c,l,A(F(zx(e.c,l)))+u-r*e.f)),(e.r==(NR(),n2)&&(I(zx(e.b,l),17).a>e.k||I(zx(e.b,l-1),17).a>e.k)||e.r==r2&&(A(F(zx(e.c,l)))>e.n||A(F(zx(e.c,l-1)))>e.n))&&(c=!1),o=new SS(Ty(cN(t).a.Kc(),new d));CL(o);)a=I($E(o),18),s=a.c.i,e.g[s.p]==l&&(f=mlt(e,s),i+=I(f.a,17).a,c&&=Zp(fb(f.b)));return e.g[t.p]=l,i+=e.d[t.p][0],new W_(gM(i),(Vy(),!!c))}function hlt(e,t){var n=A(F(K(t,(cB(),_0)))),r,i,a,o;n<2&&G(t,_0,2),r=I(K(t,E1),88),r==(FM(),d8)&&G(t,E1,JM(t)),i=I(K(t,eMt),17),i.a==0?G(t,(Y(),W$),new SN):G(t,(Y(),W$),new UE(i.a)),a=fb(K(t,Y1)),a??G(t,Y1,(Vy(),N(K(t,j1))===N((aN(),_8)))),Ph(new Hx(null,new UT(t.a,16)),new ku(e)),Ph(TO(new Hx(null,new UT(t.b,16)),new Pt),new Au(e)),o=new Kct(t),G(t,(Y(),Y$),o),$C(e.a),ZS(e.a,(vI(),BX),I(K(t,T1),188)),ZS(e.a,VX,I(K(t,W1),188)),ZS(e.a,HX,I(K(t,w1),188)),ZS(e.a,UX,I(K(t,Q1),188)),ZS(e.a,WX,cUe(I(K(t,j1),223))),Kme(e.a,ift(t)),G(t,U$,Iz(e.a,t))}function glt(e,t,n,i,a){var o,s,c,l,u,d,f=new Kd,p,m,h,g,_,v;for(s=new qd,Q3e(e,n,e.d.Ag(),s,f),Q3e(e,i,e.d.Bg(),s,f),e.b=.2*(g=h7e(TO(new Hx(null,new UT(s,16)),new Ji)),_=h7e(TO(new Hx(null,new UT(s,16)),new Xte)),r.Math.min(g,_)),o=0,c=0;c=2&&(v=k9e(s,!0,p),!e.e&&(e.e=new dd(e)),VYe(e.e,v,s,e.b)),W0e(s,p),Tlt(s),m=-1,d=new O(s);d.as)}function ylt(e,t){var n,i,a,o,s,c,l,u=RV,d=RV,f,p,m,h,g,_,v,y;for(c=zV,l=zV,p=new O(t.i);p.a-1){for(a=vP(c,0);a.b!=a.d.c;)i=I(yE(a),131),i.v=s;for(;c.b!=0;)for(i=I(MF(c,0),131),n=new O(i.i);n.a-1){for(o=new O(c);o.a0)&&(Tl(l,r.Math.min(l.o,a.o-1)),wl(l,l.i-1),l.i==0&&af(c.c,l))}}function Elt(e,t,n,i,a){var o,s,c,l=RV;return s=!1,c=Jot(e,Pb(new M(t.a,t.b),e),Nb(new M(n.a,n.b),a),Pb(new M(i.a,i.b),n)),o=!!c&&!(r.Math.abs(c.a-e.a)<=xK&&r.Math.abs(c.b-e.b)<=xK||r.Math.abs(c.a-t.a)<=xK&&r.Math.abs(c.b-t.b)<=xK),c=Jot(e,Pb(new M(t.a,t.b),e),n,a),c&&((r.Math.abs(c.a-e.a)<=xK&&r.Math.abs(c.b-e.b)<=xK)==(r.Math.abs(c.a-t.a)<=xK&&r.Math.abs(c.b-t.b)<=xK)||o?l=r.Math.min(l,MC(Pb(c,n))):s=!0),c=Jot(e,Pb(new M(t.a,t.b),e),i,a),c&&(s||(r.Math.abs(c.a-e.a)<=xK&&r.Math.abs(c.b-e.b)<=xK)==(r.Math.abs(c.a-t.a)<=xK&&r.Math.abs(c.b-t.b)<=xK)||o)&&(l=r.Math.min(l,MC(Pb(c,i)))),l}function Dlt(e){$h(e,new oI(Am(Nm(km(Mm(jm(new Qa,NU),Qmt),`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 cee),pU))),oE(e,NU,yU,SP(OTt)),oE(e,NU,xU,(Vy(),!0)),oE(e,NU,TU,SP(jTt)),oE(e,NU,PU,SP(MTt)),oE(e,NU,wU,SP(NTt)),oE(e,NU,EU,SP(ATt)),oE(e,NU,SU,SP(PTt)),oE(e,NU,DU,SP(FTt)),oE(e,NU,qmt,SP(DTt)),oE(e,NU,Ymt,SP(TTt)),oE(e,NU,Xmt,SP(ETt)),oE(e,NU,Zmt,SP(kTt)),oE(e,NU,Jmt,SP(IX))}function Olt(e){var t=null,n,r,i,a,o,s,c;for(r=new O(e);r.a0&&n.c==0&&(!t&&(t=new qd),af(t.c,n));if(t)for(;t.c.length!=0;){if(n=I(aD(t,0),239),n.b&&n.b.c.length>0){for(a=(!n.b&&(n.b=new qd),new O(n.b));a.aQD(e,n,0))return new W_(i,n)}else if(A(ly(i.g,i.d[0]).a)>A(ly(n.g,n.d[0]).a))return new W_(i,n)}for(s=(!n.e&&(n.e=new qd),n.e).Kc();s.Ob();)o=I(s.Pb(),239),c=(!o.b&&(o.b=new qd),o.b),BT(0,c.c.length),kg(c.c,0,n),o.c==c.c.length&&af(t.c,o)}return null}function klt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(t.Ug(`Interactive crossing minimization`,1),o=0,a=new O(e.b);a.a0&&(n+=c.n.a+c.o.a/2,++d),m=new O(c.j);m.a0&&(n/=d),_=H(Z9,GV,28,r.a.c.length,15,1),s=0,l=new O(r.a);l.a=s&&i<=c)s<=i&&a<=c?r+=2:s<=i?(e.b[r]=c+1,o+=2):a<=c?(n[u++]=i,n[u++]=s-1,r+=2):(n[u++]=i,n[u++]=s-1,e.b[r]=c+1,o+=2);else if(c2?(d=new qd,nj(d,new PT(v,1,v.b)),o=_ft(d,b+e.a),y=new wL(o),UA(y,t),af(n.c,y)):y=I(i?SC(e.b,xI(t)):SC(e.b,SI(t)),272),l=xI(t),i&&(l=SI(t)),s=p3e(_,l),u=b+e.a,s.a?(u+=r.Math.abs(_.b-f.b),g=new M(f.a,(f.b+_.b)/2)):(u+=r.Math.abs(_.a-f.a),g=new M((f.a+_.a)/2,f.b)),GC(i?e.d:e.c,t,new uQe(y,s,g,u)),GC(e.b,t,y),h=(!t.n&&(t.n=new L(o7,t,1,7)),t.n),m=new xy(h);m.e!=m.i.gc();)p=I(CP(m),135),a=ER(e,p,!0,0,0),af(n.c,a)}function jlt(e){var t,n,r,i,a,o,s;if(!e.A.dc()){if(e.A.Hc((HN(),O5))&&(I(XC(e.b,(Qz(),a5)),127).k=!0,I(XC(e.b,S5),127).k=!0,t=e.q!=(rI(),q8)&&e.q!=K8,hl(I(XC(e.b,i5),127),t),hl(I(XC(e.b,w5),127),t),hl(e.g,t),e.A.Hc(k5)&&(I(XC(e.b,a5),127).j=!0,I(XC(e.b,S5),127).j=!0,I(XC(e.b,i5),127).k=!0,I(XC(e.b,w5),127).k=!0,e.g.k=!0)),e.A.Hc(D5))for(e.a.j=!0,e.a.k=!0,e.g.j=!0,e.g.k=!0,s=e.B.Hc((VR(),I5)),i=mP(),a=0,o=i.length;a0),I(u.a.Xb(u.c=--u.b),18));a!=r&&u.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(hb(u.b>0),I(u.a.Xb(u.c=--u.b),18));u.b>0&&jC(u)}}function Plt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p;if(!e.b)return!1;for(o=null,f=null,c=new DD(null,null),i=1,c.a[1]=e.b,d=c;d.a[i];)l=i,s=f,f=d,d=d.a[i],r=e.a.Ne(t,d.d),i=r<0?0:1,r==0&&(!n.c||YC(d.e,n.d))&&(o=d),!(d&&d.b)&&!hm(d.a[i])&&(hm(d.a[1-i])?f=f.a[l]=Kk(d,i):hm(d.a[1-i])||(p=f.a[1-l],p&&(!hm(p.a[1-l])&&!hm(p.a[l])?(f.b=!1,p.b=!0,d.b=!0):(a=+(s.a[1]==f),hm(p.a[l])?s.a[a]=zMe(f,l):hm(p.a[1-l])&&(s.a[a]=Kk(f,l)),d.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1))));return o&&(n.b=!0,n.d=o.e,d!=o&&(u=new DD(d.d,d.e),V2e(e,c,o,u),f==o&&(f=u)),f.a[+(f.a[1]==d)]=d.a[+!d.a[0]],--e.c),e.b=c.a[1],e.b&&(e.b.b=!1),n.b}function Flt(e){var t,n,i,a,o,s,c,l,u,d,f,p;for(a=new O(e.a.a.b);a.a0?i-=864e5:i+=864e5,c=new jve(eN(zA(t.q.getTime()),i))),u=new Sm,l=e.a.length,a=0;a=97&&r<=122||r>=65&&r<=90){for(o=a+1;o=l)throw k(new rm(`Missing trailing '`));o+1=14&&u<=16))?t.a._b(r)?(n.a?uv(n.a,n.b):n.a=new ky(n.d),cv(n.a,`[...]`)):(s=gk(r),l=new Vx(t),oD(n,zlt(s,l))):P(r,183)?oD(n,N6e(I(r,183))):P(r,195)?oD(n,z0e(I(r,195))):P(r,201)?oD(n,F4e(I(r,201))):P(r,2111)?oD(n,B0e(I(r,2111))):P(r,53)?oD(n,M6e(I(r,53))):P(r,376)?oD(n,c8e(I(r,376))):P(r,846)?oD(n,j6e(I(r,846))):P(r,109)&&oD(n,A6e(I(r,109))):oD(n,r==null?OB:mN(r));return n.a?n.e.length==0?n.a.a:n.a.a+(``+n.e):n.c}function Uz(e,t){var n,r,i,a=e.F;t==null?(e.F=null,Wj(e,null)):(e.F=(BC(t),t),r=xv(t,mI(60)),r==-1?(i=t,xv(t,mI(46))==-1&&(r=xv(t,mI(91)),r!=-1&&(i=(TD(0,r,t.length),t.substr(0,r))),!Rb(i,yB)&&!Rb(i,Aq)&&!Rb(i,jq)&&!Rb(i,Mq)&&!Rb(i,Nq)&&!Rb(i,Pq)&&!Rb(i,Fq)&&!Rb(i,Iq)?(i=Mbt,r!=-1&&(i+=``+(HT(r,t.length+1),t.substr(r)))):i=t),Wj(e,i),i==t&&(e.F=e.D)):(i=(TD(0,r,t.length),t.substr(0,r)),xv(t,mI(46))==-1&&!Rb(i,yB)&&!Rb(i,Aq)&&!Rb(i,jq)&&!Rb(i,Mq)&&!Rb(i,Nq)&&!Rb(i,Pq)&&!Rb(i,Fq)&&!Rb(i,Iq)&&(i=Mbt),n=Ey(t,mI(62)),n!=-1&&(i+=``+(HT(n+1,t.length+1),t.substr(n+1))),Wj(e,i))),e.Db&4&&!(e.Db&1)&&MA(e,new jS(e,1,5,a,t))}function Blt(e,t){var n,r,i,a,o,s,c=t.length-1,l,u,d;if(s=(HT(c,t.length),t.charCodeAt(c)),s==93){if(o=xv(t,mI(91)),o>=0)return i=nJe(e,(TD(1,o,t.length),t.substr(1,o-1))),u=(TD(o+1,c,t.length),t.substr(o+1,c-(o+1))),Kdt(e,u,i)}else{if(n=-1,sSt??=RegExp(`\\d`),sSt.test(String.fromCharCode(s))&&(n=tbe(t,mI(46),c-1),n>=0)){r=I($Fe(e,Kze(e,(TD(1,n,t.length),t.substr(1,n-1))),!1),61),l=0;try{l=UR((HT(n+1,t.length+1),t.substr(n+1)),uV,SB)}catch(e){throw e=ej(e),P(e,130)?(a=e,k(new tO(a))):k(e)}if(l>16==-10?n=I(e.Cb,292).Yk(t,n):e.Db>>16==-15&&(!t&&(t=(hB(),e9)),!l&&(l=(hB(),e9)),e.Cb.Yh()&&(c=new lO(e.Cb,1,13,l,t,zP(iO(I(e.Cb,62)),e),!1),n?n.nj(c):n=c));else if(P(e.Cb,90))e.Db>>16==-23&&(P(t,90)||(t=(hB(),t9)),P(l,90)||(l=(hB(),t9)),e.Cb.Yh()&&(c=new lO(e.Cb,1,10,l,t,zP(AE(I(e.Cb,29)),e),!1),n?n.nj(c):n=c));else if(P(e.Cb,457))for(s=I(e.Cb,850),o=(!s.b&&(s.b=new Rd(new Sp)),s.b),a=(r=new OA(new zl(o.a).a),new zd(r));a.a.b;)i=I(Wk(a.a).ld(),89),n=Wz(i,RL(i,s),n)}return n}function Ult(e,t){var n,r,i,a,o=Zp(fb(J(e,(cB(),R1)))),s,c,l,u,d,f=I(J(e,l0),21);for(c=!1,l=!1,d=new xy((!e.c&&(e.c=new L(c7,e,9,9)),e.c));d.e!=d.i.gc()&&(!c||!l);){for(a=I(CP(d),123),s=0,i=BS(yk(W(j(IJ,1),DB,20,0,[(!a.d&&(a.d=new Ib(Z5,a,8,5)),a.d),(!a.e&&(a.e=new Ib(Z5,a,7,4)),a.e)])));CL(i)&&(r=I($E(i),74),u=o&&uL(r)&&Zp(fb(J(r,z1))),n=rct((!r.b&&(r.b=new Ib(X5,r,4,7)),r.b),a)?e==_T(cI(I(U((!r.c&&(r.c=new Ib(X5,r,5,8)),r.c),0),84))):e==_T(cI(I(U((!r.b&&(r.b=new Ib(X5,r,4,7)),r.b),0),84))),!((u||n)&&(++s,s>1))););(s>0||f.Hc((rL(),$8))&&(!a.n&&(a.n=new L(o7,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(l=!0)}c&&t.Fc((cR(),JQ)),l&&t.Fc((cR(),YQ))}function Wlt(e){var t,n,i,a,o,s,c,l,u,d,f,p=I(J(e,(dB(),M6)),21);if(p.dc())return null;if(c=0,s=0,p.Hc((HN(),O5))){for(d=I(J(e,W6),101),i=2,n=2,a=2,o=2,t=_T(e)?I(J(_T(e),x6),88):I(J(e,x6),88),u=new xy((!e.c&&(e.c=new L(c7,e,9,9)),e.c));u.e!=u.i.gc();)if(l=I(CP(u),123),f=I(J(l,J6),64),f==(Qz(),C5)&&(f=Kat(l,t),PP(l,J6,f)),d==(rI(),K8))switch(f.g){case 1:i=r.Math.max(i,l.i+l.g);break;case 2:n=r.Math.max(n,l.j+l.f);break;case 3:a=r.Math.max(a,l.i+l.g);break;case 4:o=r.Math.max(o,l.j+l.f)}else switch(f.g){case 1:i+=l.g+2;break;case 2:n+=l.f+2;break;case 3:a+=l.g+2;break;case 4:o+=l.f+2}c=r.Math.max(i,a),s=r.Math.max(n,o)}return $z(e,c,s,!0,!0)}function Gz(e,t,n,i,a){var o,s,c,l,u,d,f,p,m,h,g,_,v,y=I(VE(zO(aw(new Hx(null,new UT(t.d,16)),new loe(n)),new uoe(n)),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15),b,x;for(f=SB,d=uV,l=new O(t.b.j);l.a0,l?l&&(f=_.p,o?++f:--f,d=I(zx(_.c.a,f),10),r=rWe(d),p=!(oet(r,S,n[0])||KTe(r,S,n[0]))):p=!0),m=!1,x=t.D.i,x&&x.c&&s.e&&(u=o&&x.p>0||!o&&x.p=0){for(c=null,s=new tE(u.a,l+1);s.bs?1:Sv(!1,isNaN(s)))<0&&(Tk(xG),(r.Math.abs(s-1)<=xG||s==1?0:s<1?-1:s>1?1:Sv(isNaN(s),!1))<0)&&(Tk(xG),(r.Math.abs(0-c)<=xG||c==0?0:0c?1:Sv(!1,isNaN(c)))<0)&&(Tk(xG),(r.Math.abs(c-1)<=xG||c==1?0:c<1?-1:c>1?1:Sv(isNaN(c),!1))<0)),o)}function Zlt(e){var t,n=e.D==null?e.B:e.D,r,i;if(t=xv(n,mI(91)),t!=-1){r=(TD(0,t,n.length),n.substr(0,t)),i=new ym;do i.a+=`[`;while((t=Xy(n,91,++t))!=-1);Rb(r,yB)?i.a+=`Z`:Rb(r,Aq)?i.a+=`B`:Rb(r,jq)?i.a+=`C`:Rb(r,Mq)?i.a+=`D`:Rb(r,Nq)?i.a+=`F`:Rb(r,Pq)?i.a+=`I`:Rb(r,Fq)?i.a+=`J`:Rb(r,Iq)?i.a+=`S`:(i.a+=`L`,i.a+=``+r,i.a+=`;`);try{return null}catch(e){if(e=ej(e),!P(e,63))throw k(e)}}else if(xv(n,mI(46))==-1){if(Rb(n,yB))return J9;if(Rb(n,Aq))return X9;if(Rb(n,jq))return K9;if(Rb(n,Mq))return Z9;if(Rb(n,Nq))return Q9;if(Rb(n,Pq))return q9;if(Rb(n,Fq))return Y9;if(Rb(n,Iq))return $9}return null}function Qlt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;for(e.e=t,s=L8e(t),S=new qd,r=new O(s);r.a=0&&h=u.c.c.length?wPe((DI(),dZ),uZ):wPe((DI(),uZ),uZ),d*=2,o=n.a.g,n.a.g=r.Math.max(o,o+(d-o)),s=n.b.g,n.b.g=r.Math.max(s,s+(d-s)),a=t}}function nut(e){var t,n,i,a;for(Ph(aw(new Hx(null,new UT(e.a.b,16)),new ate),new ote),r0e(e),Ph(aw(new Hx(null,new UT(e.a.b,16)),new ste),new cte),e.c==(aN(),y8)&&(Ph(aw(TO(new Hx(null,new UT(new Rl(e.f),1)),new lte),new ute),new roe(e)),Ph(aw(ow(TO(TO(new Hx(null,new UT(e.d.b,16)),new dte),new fte),new pte),new Ur),new aoe(e))),a=new M(RV,RV),t=new M(zV,zV),i=new O(e.a.b);i.a `):t.a+=`Root `,n=e.Dh().zb,Rb(n.substr(0,3),`Elk`)?uv(t,(HT(3,n.length+1),n.substr(3))):t.a+=``+n,i=e.jh(),i){uv((t.a+=` `,t),i);return}if(P(e,366)&&(l=I(e,135).a,l)){uv((t.a+=` `,t),l);return}for(o=new xy(e.kh());o.e!=o.i.gc();)if(a=I(CP(o),135),l=a.a,l){uv((t.a+=` `,t),l);return}if(P(e,326)&&(r=I(e,74),!r.b&&(r.b=new Ib(X5,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new Ib(X5,r,5,8)),r.c.i!=0))){for(t.a+=` (`,s=new Ky((!r.b&&(r.b=new Ib(X5,r,4,7)),r.b));s.e!=s.i.gc();)s.e>0&&(t.a+=EB),Yz(I(CP(s),167),t);for(t.a+=qU,c=new Ky((!r.c&&(r.c=new Ib(X5,r,5,8)),r.c));c.e!=c.i.gc();)c.e>0&&(t.a+=EB),Yz(I(CP(c),167),t);t.a+=`)`}}function rut(e,t,n){var i,a,o,s,c,l,u,f;for(l=new xy((!e.a&&(e.a=new L(s7,e,10,11)),e.a));l.e!=l.i.gc();)for(c=I(CP(l),27),a=new SS(Ty(IL(c).a.Kc(),new d));CL(a);){if(i=I($E(a),74),!i.b&&(i.b=new Ib(X5,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new Ib(X5,i,5,8)),i.c.i<=1)))throw k(new cm(`Graph must not contain hyperedges.`));if(!yL(i)&&c!=cI(I(U((!i.c&&(i.c=new Ib(X5,i,5,8)),i.c),0),84)))for(u=new yye,UA(u,i),G(u,(Uk(),PX),i),_l(u,I(X_(tS(n.f,c)),153)),Kie(u,I(SC(n,cI(I(U((!i.c&&(i.c=new Ib(X5,i,5,8)),i.c),0),84))),153)),py(t.c,u),s=new xy((!i.n&&(i.n=new L(o7,i,1,7)),i.n));s.e!=s.i.gc();)o=I(CP(s),135),f=new gPe(u,o.a),UA(f,o),G(f,PX,o),f.e.a=r.Math.max(o.g,1),f.e.b=r.Math.max(o.f,1),Wot(f),py(t.d,f)}}function iut(e,t,n){var i,a,o,s,c,l,u,d,f,p;switch(n.Ug(`Node promotion heuristic`,1),e.i=t,e.r=I(K(t,(cB(),U1)),243),e.r!=(NR(),e2)&&e.r!=t2?Gut(e):$tt(e),d=I(K(e.i,Ijt),17).a,o=new or,e.r.g){case 2:case 1:Az(e,o);break;case 3:for(e.r=a2,Az(e,o),l=0,c=new O(e.b);c.ae.k&&(e.r=n2,Az(e,o));break;case 4:for(e.r=a2,Az(e,o),u=0,a=new O(e.c);a.ae.n&&(e.r=r2,Az(e,o));break;case 6:p=iT(r.Math.ceil(e.g.length*d/100)),Az(e,new Xae(p));break;case 5:f=iT(r.Math.ceil(e.e*d/100)),Az(e,new Gu(f));break;case 8:Tft(e,!0);break;case 9:Tft(e,!1);break;default:Az(e,o)}e.r!=e2&&e.r!=t2?ntt(e,t):Crt(e,t),n.Vg()}function aut(e){var t,n,r,i,a,o,s,c,l,u,d=e.b,f,p,m,h,g,_,v,y;for(u=new tE(d,0),kb(u,new TC(e)),v=!1,o=1;u.b0&&(p.d+=d.n.d,p.d+=d.d),p.a>0&&(p.a+=d.n.a,p.a+=d.d),p.b>0&&(p.b+=d.n.b,p.b+=d.d),p.c>0&&(p.c+=d.n.c,p.c+=d.d),p}function sut(e,t,n){var i,a,o,s,c,l,u,d,f,p=n.d,m,h;for(f=n.c,o=new M(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),s=o.b,u=new O(e.a);u.a0&&(e.c[t.c.p][t.p].d+=LL(e.i,24)*iH*.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 dut(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;for(m=new O(e);m.ai.d,i.d=r.Math.max(i.d,t),c&&n&&(i.d=r.Math.max(i.d,i.a),i.a=i.d+a);break;case 3:n=t>i.a,i.a=r.Math.max(i.a,t),c&&n&&(i.a=r.Math.max(i.a,i.d),i.d=i.a+a);break;case 2:n=t>i.c,i.c=r.Math.max(i.c,t),c&&n&&(i.c=r.Math.max(i.b,i.c),i.b=i.c+a);break;case 4:n=t>i.b,i.b=r.Math.max(i.b,t),c&&n&&(i.b=r.Math.max(i.b,i.c),i.c=i.b+a)}}}function mut(e,t){var n,r,i,a,o,s,c,l=``,u;return t.length==0?e.ne(mpt,pV,-1,-1):(u=qI(t),Rb(u.substr(0,3),`at `)&&(u=(HT(3,u.length+1),u.substr(3))),u=u.replace(/\[.*?\]/g,``),o=u.indexOf(`(`),o==-1?(o=u.indexOf(`@`),o==-1?(l=u,u=``):(l=qI((HT(o+1,u.length+1),u.substr(o+1))),u=qI((TD(0,o,u.length),u.substr(0,o))))):(n=u.indexOf(`)`,o),l=(TD(o+1,n,u.length),u.substr(o+1,n-(o+1))),u=qI((TD(0,o,u.length),u.substr(0,o)))),o=xv(u,mI(46)),o!=-1&&(u=(HT(o+1,u.length+1),u.substr(o+1))),(u.length==0||Rb(u,`Anonymous function`))&&(u=pV),s=Ey(l,mI(58)),i=tbe(l,mI(58),s-1),c=-1,r=-1,a=mpt,s!=-1&&i!=-1&&(a=(TD(0,i,l.length),l.substr(0,i)),c=E_e((TD(i+1,s,l.length),l.substr(i+1,s-(i+1)))),r=E_e((HT(s+1,l.length+1),l.substr(s+1)))),e.ne(a,u,c,r))}function hut(e){var t,n,r,i,a,o,s,c,l,u,d;for(l=new O(e);l.a0||u.j==w5&&u.e.c.length-u.g.c.length<0)){t=!1;break}for(i=new O(u.g);i.a=u&&S>=_&&(p+=h.n.b+g.n.b+g.a.b-x,++c));if(n)for(s=new O(y.e);s.a=u&&S>=_&&(p+=h.n.b+g.n.b+g.a.b-x,++c))}c>0&&(ee+=p/c,++m)}m>0?(t.a=a*ee/m,t.g=m):(t.a=0,t.g=0)}function _ut(e){var t,n,r,i,a=e.f.b,o,s,c,l,u,d,f=a.a,p,m,h,g,_,v,y,b,x,S,ee;for(u=a.b,m=e.e.g,p=e.e.f,Iv(e.e,a.a,a.b),S=f/m,ee=u/p,l=new xy(ZC(e.e));l.e!=l.i.gc();)c=I(CP(l),135),ik(c,c.i*S),ak(c,c.j*ee);for(v=new xy(QC(e.e));v.e!=v.i.gc();)_=I(CP(v),123),b=_.i,x=_.j,b>0&&ik(_,b*S),x>0&&ak(_,x*ee);for(CA(e.b,new At),t=new qd,s=new OA(new zl(e.c).a);s.b;)o=Wk(s),r=I(o.ld(),74),n=I(o.md(),407).a,i=oR(r,!1,!1),d=$0e(xI(r),FI(i),n),oz(d,i),y=Q2e(r),y&&QD(t,y,0)==-1&&(af(t.c,y),sOe(y,(hb(d.b!=0),I(d.a.a.c,8)),n));for(g=new OA(new zl(e.d).a);g.b;)h=Wk(g),r=I(h.ld(),74),n=I(h.md(),407).a,i=oR(r,!1,!1),d=$0e(SI(r),Tj(FI(i)),n),d=Tj(d),oz(d,i),y=$2e(r),y&&QD(t,y,0)==-1&&(af(t.c,y),sOe(y,(hb(d.b!=0),I(d.c.b.c,8)),n))}function vut(e,t,n,r){var i,a,o,s=new Put(t),c;return xet(s,r),i=!0,e&&e.pf((dB(),x6))&&(a=I(e.of((dB(),x6)),88),i=a==(FM(),d8)||a==l8||a==u8),Gnt(s,!1),UO(s.e.Rf(),new exe(s,!1,i)),nT(s,s.f,(YO(),WY),(Qz(),a5)),nT(s,s.f,KY,S5),nT(s,s.g,WY,w5),nT(s,s.g,KY,i5),qXe(s,a5),qXe(s,S5),qDe(s,i5),qDe(s,w5),Sb(),o=s.A.Hc((HN(),E5))&&s.B.Hc((VR(),F5))?aYe(s):null,o&&sle(s.a,o),put(s),AQe(s),jQe(s),jlt(s),_at(s),k$e(s),cP(s,a5),cP(s,S5),mrt(s),Yst(s),n?(rJe(s),A$e(s),cP(s,i5),cP(s,w5),c=s.B.Hc((VR(),I5)),S6e(s,c,a5),S6e(s,c,S5),C6e(s,c,i5),C6e(s,c,w5),Ph(new Hx(null,new UT(new Gl(s.i),0)),new et),Ph(aw(new Hx(null,VEe(s.r).a.oc()),new tt),new nt),k0e(s),s.e.Pf(s.o),Ph(new Hx(null,VEe(s.r).a.oc()),new rt),s.o):s.o}function yut(e){var t,n,i,a,o,s,c,l,u=RV,d,f,p,m,h,g;for(i=new O(e.a.b);i.a1)for(m=new ect(h,b,i),WE(b,new Qfe(e,m)),af(s.c,m),f=b.a.ec().Kc();f.Ob();)d=I(f.Pb(),42),XD(o,d.b);if(c.a.gc()>1)for(m=new ect(h,c,i),WE(c,new $fe(e,m)),af(s.c,m),f=c.a.ec().Kc();f.Ob();)d=I(f.Pb(),42),XD(o,d.b)}}function wut(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g=e.n,_=e.o,v;if(p=e.d,f=A(F(FN(e,(cB(),h0)))),t){for(d=f*(t.gc()-1),m=0,l=t.Kc();l.Ob();)s=I(l.Pb(),10),d+=s.o.a,m=r.Math.max(m,s.o.b);for(v=g.a-(d-_.a)/2,o=g.b-p.d+m,i=_.a/(t.gc()+1),a=i,c=t.Kc();c.Ob();)s=I(c.Pb(),10),s.n.a=v,s.n.b=o-s.o.b,v+=s.o.a+f,u=V9e(s),u.n.a=s.o.a/2-u.a.a,u.n.b=s.o.b,h=I(K(s,(Y(),f$)),12),h.e.c.length+h.g.c.length==1&&(h.n.a=a-h.a.a,h.n.b=0,ET(h,e)),a+=i}if(n){for(d=f*(n.gc()-1),m=0,l=n.Kc();l.Ob();)s=I(l.Pb(),10),d+=s.o.a,m=r.Math.max(m,s.o.b);for(v=g.a-(d-_.a)/2,o=g.b+_.b+p.a-m,i=_.a/(n.gc()+1),a=i,c=n.Kc();c.Ob();)s=I(c.Pb(),10),s.n.a=v,s.n.b=o,v+=s.o.a+f,u=V9e(s),u.n.a=s.o.a/2-u.a.a,u.n.b=0,h=I(K(s,(Y(),f$)),12),h.e.c.length+h.g.c.length==1&&(h.n.a=a-h.a.a,h.n.b=_.b,ET(h,e)),a+=i}}function Tut(e,t){var n,i,a,o,s,c;if(I(K(t,(Y(),C$)),21).Hc((cR(),JQ))){for(c=new O(t.a);c.a=0&&o0&&(I(XC(e.b,t),127).a.b=n)}function Mut(e,t,n,r){var i,a,o,s,c,l,u,d,f=A(F(K(e,(cB(),T0)))),p=A(F(K(e,E0))),m,h;if(d=A(F(K(e,C0))),s=e.o,a=I(zx(e.j,0),12),o=a.n,h=k3e(a,d),h){if(t.Hc((rL(),$8)))switch(I(K(e,(Y(),x$)),64).g){case 1:h.c=(s.a-h.b)/2-o.a,h.d=p;break;case 3:h.c=(s.a-h.b)/2-o.a,h.d=-p-h.a;break;case 2:n&&a.e.c.length==0&&a.g.c.length==0?(u=r?h.a:I(zx(a.f,0),72).o.b,h.d=(s.b-u)/2-o.b):h.d=s.b+p-o.b,h.c=-f-h.b;break;case 4:n&&a.e.c.length==0&&a.g.c.length==0?(u=r?h.a:I(zx(a.f,0),72).o.b,h.d=(s.b-u)/2-o.b):h.d=s.b+p-o.b,h.c=f}else if(t.Hc(t5))switch(I(K(e,(Y(),x$)),64).g){case 1:case 3:h.c=o.a+f;break;case 2:case 4:n&&!a.c?(u=r?h.a:I(zx(a.f,0),72).o.b,h.d=(s.b-u)/2-o.b):h.d=o.b+p}for(i=h.d,l=new O(a.f);l.a=e.length)return{done:!0};var r=e[n++];return{value:[r,t.get(r)],done:!1}}}},Ant()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(e){return this.obj[`:`+e]},e.prototype.set=function(e,t){this.obj[`:`+e]=t},e.prototype[eH]=function(e){delete this.obj[`:`+e]},e.prototype.keys=function(){var e=[];for(var t in this.obj)t.charCodeAt(0)==58&&e.push(t.substring(1));return e}),e}function Zz(){Zz=C,l4=new Ad(Umt),new Ad(Wmt),new Eb(`DEPTH`,gM(0)),e4=new Eb(`FAN`,gM(0)),kPt=new Eb(u_t,gM(0)),p4=new Eb(`ROOT`,(Vy(),!1)),MPt=new Eb(`LEFTNEIGHBOR`,null),PPt=new Eb(`RIGHTNEIGHBOR`,null),i4=new Eb(`LEFTSIBLING`,null),f4=new Eb(`RIGHTSIBLING`,null),$2=new Eb(`DUMMY`,!1),new Eb(`LEVEL`,gM(0)),NPt=new Eb(`REMOVABLE_EDGES`,new Dh),m4=new Eb(`XCOOR`,gM(0)),h4=new Eb(`YCOOR`,gM(0)),a4=new Eb(`LEVELHEIGHT`,0),s4=new Eb(`LEVELMIN`,0),o4=new Eb(`LEVELMAX`,0),t4=new Eb(`GRAPH_XMIN`,0),n4=new Eb(`GRAPH_YMIN`,0),APt=new Eb(`GRAPH_XMAX`,0),jPt=new Eb(`GRAPH_YMAX`,0),OPt=new Eb(`COMPACT_LEVEL_ASCENSION`,!1),Q2=new Eb(`COMPACT_CONSTRAINTS`,new qd),r4=new Eb(`ID`,``),u4=new Eb(`POSITION`,gM(0)),d4=new Eb(`PRELIM`,0),c4=new Eb(`MODIFIER`,0),Z2=new Ad(Gmt),X2=new Ad(Kmt)}function zut(e){Hat();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null)return null;if(d=e.length*8,d==0)return``;for(s=d%24,p=d/24|0,f=s==0?p:p+1,a=null,a=H(K9,hV,28,f*4,15,1),l=0,u=0,t=0,n=0,r=0,o=0,i=0,c=0;c>24,l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,h=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,g=r&-128?(r>>6^252)<<24>>24:r>>6<<24>>24,a[o++]=M9[m],a[o++]=M9[h|l<<4],a[o++]=M9[u<<2|g],a[o++]=M9[r&63];return s==8?(t=e[i],l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,a[o++]=M9[m],a[o++]=M9[l<<4],a[o++]=61,a[o++]=61):s==16&&(t=e[i],n=e[i+1],u=(n&15)<<24>>24,l=(t&3)<<24>>24,m=t&-128?(t>>2^192)<<24>>24:t>>2<<24>>24,h=n&-128?(n>>4^240)<<24>>24:n>>4<<24>>24,a[o++]=M9[m],a[o++]=M9[h|l<<4],a[o++]=M9[u<<2],a[o++]=61),qN(a,0,a.length)}function But(e,t){var n,i,a,o,s,c,l;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>uV&&SPe(t,e.p-EV),s=t.q.getDate(),fT(t,1),e.k>=0&&FAe(t,e.k),e.c>=0?fT(t,e.c):e.k>=0?(l=new xWe(t.q.getFullYear()-EV,t.q.getMonth(),35),i=35-l.q.getDate(),fT(t,r.Math.min(i,s))):fT(t,s),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),dge(t,e.f==24&&e.g?0:e.f),e.j>=0&&SIe(t,e.j),e.n>=0&&vLe(t,e.n),e.i>=0&&Sme(t,eN(tN(WF(zA(t.q.getTime()),gV),gV),e.i)),e.a&&(a=new bh,SPe(a,a.q.getFullYear()-EV-80),fg(zA(t.q.getTime()),zA(a.q.getTime()))&&SPe(t,a.q.getFullYear()-EV+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),c=t.q.getMonth(),fT(t,t.q.getDate()+n),t.q.getMonth()!=c&&fT(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>uV&&(o=t.q.getTimezoneOffset(),Sme(t,eN(zA(t.q.getTime()),(e.o-o)*60*gV))),!0}function Vut(e,t){var n,r,i=K(t,(Y(),R$)),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(P(i,207)){for(m=I(i,27),h=t.e,f=new Ev(t.c),a=t.d,f.a+=a.b,f.b+=a.d,b=I(J(m,(cB(),n0)),181),Ly(b,(VR(),M5))&&(p=I(J(m,Vjt),107),Bie(p,a.a),vl(p,a.d),Vie(p,a.b),Gie(p,a.c)),n=new qd,u=new O(t.a);u.ar.c.length-1;)py(r,new W_(rU,s_t));n=I(K(i,x4),17).a,Mv(I(K(e,g4),88))?(i.e.aA(F((VT(n,r.c.length),I(r.c[n],42)).b))&&jl((VT(n,r.c.length),I(r.c[n],42)),i.e.a+i.f.a)):(i.e.bA(F((VT(n,r.c.length),I(r.c[n],42)).b))&&jl((VT(n,r.c.length),I(r.c[n],42)),i.e.b+i.f.b))}for(a=vP(e.b,0);a.b!=a.d.c;)i=I(yE(a),40),n=I(K(i,(tz(),x4)),17).a,G(i,(Zz(),s4),F((VT(n,r.c.length),I(r.c[n],42)).a)),G(i,o4,F((VT(n,r.c.length),I(r.c[n],42)).b));t.Vg()}function Gut(e){var t,n,i,a,o,s,c,l,u,f,p,m,h,g,_;for(e.o=A(F(K(e.i,(cB(),D0)))),e.f=A(F(K(e.i,x0))),e.j=e.i.b.c.length,c=e.j-1,m=0,e.k=0,e.n=0,e.b=iD(H(sY,X,17,e.j,0,1)),e.c=iD(H(aY,X,345,e.j,7,1)),s=new O(e.i.b);s.a0&&py(e.q,f),py(e.p,f);t-=i,h=l+t,u+=t*e.f,GE(e.b,c,gM(h)),GE(e.c,c,u),e.k=r.Math.max(e.k,h),e.n=r.Math.max(e.n,u),e.e+=t,t+=_}}function Qz(){Qz=C;var e;C5=new z_(kH,0),a5=new z_(FH,1),i5=new z_(IH,2),S5=new z_(LH,3),w5=new z_(RH,4),u5=(Ew(),new wm((e=I(Xm(T5),9),new Kb(e,I(jb(e,e.length),9),0)))),d5=mM(oS(a5,W(j(T5,1),UU,64,0,[]))),o5=mM(oS(i5,W(j(T5,1),UU,64,0,[]))),y5=mM(oS(S5,W(j(T5,1),UU,64,0,[]))),x5=mM(oS(w5,W(j(T5,1),UU,64,0,[]))),g5=mM(oS(a5,W(j(T5,1),UU,64,0,[S5]))),l5=mM(oS(i5,W(j(T5,1),UU,64,0,[w5]))),v5=mM(oS(a5,W(j(T5,1),UU,64,0,[w5]))),f5=mM(oS(a5,W(j(T5,1),UU,64,0,[i5]))),b5=mM(oS(S5,W(j(T5,1),UU,64,0,[w5]))),s5=mM(oS(i5,W(j(T5,1),UU,64,0,[S5]))),h5=mM(oS(a5,W(j(T5,1),UU,64,0,[i5,w5]))),c5=mM(oS(i5,W(j(T5,1),UU,64,0,[S5,w5]))),_5=mM(oS(a5,W(j(T5,1),UU,64,0,[S5,w5]))),p5=mM(oS(a5,W(j(T5,1),UU,64,0,[i5,S5]))),m5=mM(oS(a5,W(j(T5,1),UU,64,0,[i5,S5,w5])))}function Kut(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;for(t.Ug(yht,1),h=new qd,S=new qd,l=new O(e.b);l.a0&&(x-=h),vct(s,x),f=0,m=new O(s.a);m.a0),c.a.Xb(c.c=--c.b)),l=.4*i*f,!o&&c.b0&&(c=(HT(0,t.length),t.charCodeAt(0)),c!=64)){if(c==37&&(d=t.lastIndexOf(`%`),l=!1,d!=0&&(d==f-1||(l=(HT(d+1,t.length),t.charCodeAt(d+1)==46))))){if(o=(TD(1,d,t.length),t.substr(1,d-1)),y=Rb(`%`,o)?null:sdt(o),r=0,l)try{r=UR((HT(d+2,t.length+1),t.substr(d+2)),uV,SB)}catch(e){throw e=ej(e),P(e,130)?(s=e,k(new tO(s))):k(e)}for(g=RVe(e.Gh());g.Ob();)if(m=RA(g),P(m,519)&&(i=I(m,598),v=i.d,(y==null?v==null:Rb(y,v))&&r--==0))return i;return null}if(u=t.lastIndexOf(`.`),p=u==-1?t:(TD(0,u,t.length),t.substr(0,u)),n=0,u!=-1)try{n=UR((HT(u+1,t.length+1),t.substr(u+1)),uV,SB)}catch(e){if(e=ej(e),P(e,130))p=t;else throw k(e)}for(p=Rb(`%`,p)?null:sdt(p),h=RVe(e.Gh());h.Ob();)if(m=RA(h),P(m,197)&&(a=I(m,197),_=a.xe(),(p==null?_==null:Rb(p,_))&&n--==0))return a;return null}return Blt(e,t)}function ndt(e){var t,n,r,i,a,o,s,c,l,u=new Kd,f,p,m,h,g,_,v,y;for(c=new Zw,r=new O(e.a.a.b);r.at.d.c){if(m=e.c[t.a.d],_=e.c[f.a.d],m==_)continue;$L(zh(Rh(Bh(Lh(new Vf,1),100),m),_))}}}}}function rdt(e,t){var n,i,a,o,s,c,l,u,d,f,p=I(I(rD(e.r,t),21),87),m,h,g,_,v,y,b,x,S,ee;if(t==(Qz(),i5)||t==w5){jut(e,t);return}for(o=t==a5?(JA(),iX):(JA(),sX),x=t==a5?(hO(),tX):(hO(),$Y),n=I(XC(e.b,t),127),i=n.i,a=i.c+VO(W(j(Z9,1),GV,28,15,[n.n.b,e.C.b,e.k])),v=i.c+i.b-VO(W(j(Z9,1),GV,28,15,[n.n.c,e.C.c,e.k])),s=hle(ixe(o),e.t),y=t==a5?zV:RV,f=p.Kc();f.Ob();)u=I(f.Pb(),117),!(!u.c||u.c.d.c.length<=0)&&(_=u.b.Mf(),g=u.e,m=u.c,h=m.i,h.b=(l=m.n,m.e.a+l.b+l.c),h.a=(c=m.n,m.e.b+c.d+c.a),Uw(x,vmt),m.f=x,kD(m,(KD(),QY)),h.c=g.a-(h.b-_.a)/2,S=r.Math.min(a,g.a),ee=r.Math.max(v,g.a+_.a),h.cee&&(h.c=ee-h.b),py(s.d,new cS(h,fqe(s,h))),y=t==a5?r.Math.max(y,g.b+u.b.Mf().b):r.Math.min(y,g.b));for(y+=t==a5?e.t:-e.t,b=zJe((s.e=y,s)),b>0&&(I(XC(e.b,t),127).a.b=b),d=p.Kc();d.Ob();)u=I(d.Pb(),117),!(!u.c||u.c.d.c.length<=0)&&(h=u.c.i,h.c-=u.e.a,h.d-=u.e.b)}function idt(e){var t=new Kd,n,r,i,a,o,s,c,l,u,f,p,m;for(c=new xy(e);c.e!=c.i.gc();){for(s=I(CP(c),27),n=new If,GC(CX,s,n),m=new Et,i=I(VE(new Hx(null,new cC(new SS(Ty(FL(s).a.Kc(),new d)))),nTe(m,MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)])))),85),VBe(n,I(i.xc((Vy(),!0)),16),new Dt),r=I(VE(aw(I(i.xc(!1),15).Lc(),new Ot),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[PY]))),15),o=r.Kc();o.Ob();)a=I(o.Pb(),74),p=Q2e(a),p&&(l=I(X_(tS(t.f,p)),21),l||(l=Ett(p),XI(t.f,p,l)),aA(n,l));for(i=I(VE(new Hx(null,new cC(new SS(Ty(IL(s).a.Kc(),new d)))),nTe(m,MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[PY])))),85),VBe(n,I(i.xc(!0),16),new see),r=I(VE(aw(I(i.xc(!1),15).Lc(),new kt),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[PY]))),15),f=r.Kc();f.Ob();)u=I(f.Pb(),74),p=$2e(u),p&&(l=I(X_(tS(t.f,p)),21),l||(l=Ett(p),XI(t.f,p,l)),aA(n,l))}}function adt(e,t){tst();var n,r,i,a,o,s,c=lM(e,0)<0,l,u,d,f,p,m,h;if(c&&(e=ZD(e)),lM(e,0)==0)switch(t){case 0:return`0`;case 1:return JV;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 p=new xm,t<0?p.a+=`0E+`:p.a+=`0E`,p.a+=t==uV?`2147483648`:``+-t,p.a}u=18,d=H(K9,hV,28,u+1,15,1),n=u,h=e;do l=h,h=WF(h,10),d[--n]=dS(eN(48,nN(l,tN(h,10))))&_V;while(lM(h,0)!=0);if(i=nN(nN(nN(u,n),t),1),t==0)return c&&(d[--n]=45),qN(d,n,u-n);if(t>0&&lM(i,-6)>=0){if(lM(i,0)>=0){for(a=n+dS(i),s=u-1;s>=a;s--)d[s+1]=d[s];return d[++a]=46,c&&(d[--n]=45),qN(d,n,u-n+1)}for(o=2;fg(o,eN(ZD(i),1));o++)d[--n]=48;return d[--n]=46,d[--n]=48,c&&(d[--n]=45),qN(d,n,u-n)}return m=n+1,r=u,f=new Sm,c&&(f.a+=`-`),r-m>=1?(AC(f,d[n]),f.a+=`.`,f.a+=qN(d,n+1,u-n-1)):f.a+=qN(d,n,u-n),f.a+=`E`,lM(i,0)>0&&(f.a+=`+`),f.a+=``+kS(i),f.a}function $z(e,t,n,i,a){var o,s,c,l,u,d,f,p,m,h,g,_=new M(e.g,e.f),v,y,b,x,S,ee;if(g=Y3e(e),g.a=r.Math.max(g.a,t),g.b=r.Math.max(g.b,n),ee=g.a/_.a,d=g.b/_.b,x=g.a-_.a,l=g.b-_.b,i)for(s=_T(e)?I(J(_T(e),(dB(),x6)),88):I(J(e,(dB(),x6)),88),c=N(J(e,(dB(),W6)))===N((rI(),K8)),y=new xy((!e.c&&(e.c=new L(c7,e,9,9)),e.c));y.e!=y.i.gc();)switch(v=I(CP(y),123),b=I(J(v,J6),64),b==(Qz(),C5)&&(b=Kat(v,s),PP(v,J6,b)),b.g){case 1:c||ik(v,v.i*ee);break;case 2:ik(v,v.i+x),c||ak(v,v.j*d);break;case 3:c||ik(v,v.i*ee),ak(v,v.j+l);break;case 4:c||ak(v,v.j*d)}if(Iv(e,g.a,g.b),a)for(p=new xy((!e.n&&(e.n=new L(o7,e,1,7)),e.n));p.e!=p.i.gc();)f=I(CP(p),135),m=f.i+f.g/2,h=f.j+f.f/2,S=m/_.a,u=h/_.b,S+u>=1&&(S-u>0&&h>=0?(ik(f,f.i+x),ak(f,f.j+l*u)):S-u<0&&m>=0&&(ik(f,f.i+x*S),ak(f,f.j+l)));return PP(e,(dB(),M6),(HN(),o=I(Xm(A5),9),new Kb(o,I(jb(o,o.length),9),0))),new M(ee,d)}function odt(e){$h(e,new oI(Am(Nm(km(Mm(jm(new Qa,XG),`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 One),XG))),oE(e,XG,pG,SP(oIt)),oE(e,XG,hU,SP(uIt)),oE(e,XG,TU,SP(eIt)),oE(e,XG,PU,SP(tIt)),oE(e,XG,wU,SP(nIt)),oE(e,XG,EU,SP($Ft)),oE(e,XG,SU,SP(rIt)),oE(e,XG,DU,SP(aIt)),oE(e,XG,qG,SP(L4)),oE(e,XG,KG,SP(R4)),oE(e,XG,GG,SP(sIt)),oE(e,XG,JG,SP(V4)),oE(e,XG,YG,SP(cIt)),oE(e,XG,P_t,SP(lIt)),oE(e,XG,N_t,SP(iIt)),oE(e,XG,k_t,SP(z4)),oE(e,XG,A_t,SP(B4)),oE(e,XG,j_t,SP(H4)),oE(e,XG,M_t,SP(dIt)),oE(e,XG,O_t,SP(QFt))}function eB(e){var t,n,r,i,a,o,s,c,l,u,d;if(e==null)throw k(new Cm(OB));if(l=e,a=e.length,c=!1,a>0&&(t=(HT(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(HT(1,e.length+1),e.substr(1)),--a,c=t==45)),a==0)throw k(new Cm(LV+l+`"`));for(;e.length>0&&(HT(0,e.length),e.charCodeAt(0)==48);)e=(HT(1,e.length+1),e.substr(1)),--a;if(a>(Cat(),pSt)[10])throw k(new Cm(LV+l+`"`));for(i=0;i0&&(d=-parseInt((TD(0,r,e.length),e.substr(0,r)),10),e=(HT(r,e.length+1),e.substr(r)),a-=r,n=!1);a>=o;){if(r=parseInt((TD(0,o,e.length),e.substr(0,o)),10),e=(HT(o,e.length+1),e.substr(o)),a-=o,n)n=!1;else{if(lM(d,s)<0)throw k(new Cm(LV+l+`"`));d=tN(d,u)}d=nN(d,r)}if(lM(d,0)>0||!c&&(d=ZD(d),lM(d,0)<0))throw k(new Cm(LV+l+`"`));return d}function sdt(e){kz();var t,n,r,i,a,o,s,c;if(e==null)return null;if(i=xv(e,mI(37)),i<0)return e;for(c=new ky((TD(0,i,e.length),e.substr(0,i))),t=H(X9,WK,28,4,15,1),s=0,r=0,o=e.length;ii+2&&mj((HT(i+1,e.length),e.charCodeAt(i+1)),TVt,EVt)&&mj((HT(i+2,e.length),e.charCodeAt(i+2)),TVt,EVt))if(n=OCe((HT(i+1,e.length),e.charCodeAt(i+1)),(HT(i+2,e.length),e.charCodeAt(i+2))),i+=2,r>0?(n&192)==128?t[s++]=n<<24>>24:r=0:n>=128&&((n&224)==192?(t[s++]=n<<24>>24,r=2):(n&240)==224?(t[s++]=n<<24>>24,r=3):(n&248)==240&&(t[s++]=n<<24>>24,r=4)),r>0){if(s==r){switch(s){case 2:AC(c,((t[0]&31)<<6|t[1]&63)&_V);break;case 3:AC(c,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&_V);break}s=0,r=0}}else{for(a=0;a=2){if((!e.a&&(e.a=new L(Q5,e,6,6)),e.a).i==0)n=(Jm(),a=new Ao,a),OD((!e.a&&(e.a=new L(Q5,e,6,6)),e.a),n);else if((!e.a&&(e.a=new L(Q5,e,6,6)),e.a).i>1)for(p=new Ky((!e.a&&(e.a=new L(Q5,e,6,6)),e.a));p.e!=p.i.gc();)YF(p);oz(t,I(U((!e.a&&(e.a=new L(Q5,e,6,6)),e.a),0),166))}if(f)for(i=new xy((!e.a&&(e.a=new L(Q5,e,6,6)),e.a));i.e!=i.i.gc();)for(n=I(CP(i),166),u=new xy((!n.a&&(n.a=new hy(q5,n,5)),n.a));u.e!=u.i.gc();)l=I(CP(u),377),c.a=r.Math.max(c.a,l.a),c.b=r.Math.max(c.b,l.b);for(s=new xy((!e.n&&(e.n=new L(o7,e,1,7)),e.n));s.e!=s.i.gc();)o=I(CP(s),135),d=I(J(o,C8),8),d&&Lv(o,d.a,d.b),f&&(c.a=r.Math.max(c.a,o.i+o.g),c.b=r.Math.max(c.b,o.j+o.f));return c}function ldt(e,t,n,r,i){var a,o,s;if(ZRe(e,t),o=t[0],a=iw(n.c,0),s=-1,FWe(n))if(r>0){if(o+r>e.length)return!1;s=lL((TD(0,o+r,e.length),e.substr(0,o+r)),t)}else s=lL(e,t);switch(a){case 71:return s=LI(e,o,W(j(dY,1),X,2,6,[ypt,bpt]),t),i.e=s,!0;case 77:return nnt(e,t,i,s,o);case 76:return rnt(e,t,i,s,o);case 69:return n6e(e,t,o,i);case 99:return r6e(e,t,o,i);case 97:return s=LI(e,o,W(j(dY,1),X,2,6,[`AM`,`PM`]),t),i.b=s,!0;case 121:return int(e,t,o,s,n,i);case 100:return s<=0?!1:(i.c=s,!0);case 83:return s<0?!1:IJe(s,o,t[0],i);case 104:s==12&&(s=0);case 75:case 72:return s<0?!1:(i.f=s,i.g=!1,!0);case 107:return s<0?!1:(i.f=s,i.g=!0,!0);case 109:return s<0?!1:(i.j=s,!0);case 115:return s<0?!1:(i.n=s,!0);case 90:if(one[l]&&(_=l),f=new O(e.a.b);f.a1;){if(a=pet(t),f=o.g,h=I(J(t,f3),107),g=A(F(J(t,s3))),(!t.a&&(t.a=new L(s7,t,10,11)),t.a).i>1&&A(F(J(t,(yR(),n3))))!=RV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))1&&A(F(J(t,(yR(),t3))))!=RV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))>g&&PP(a,(yR(),a3),r.Math.max(A(F(J(t,r3))),A(F(J(a,a3)))-A(F(J(t,t3))))),m=new hpe(i,d),l=vft(m,a,p),u=l.g,u>=f&&u==u){for(s=0;s<(!a.a&&(a.a=new L(s7,a,10,11)),a.a).i;s++)_8e(e,I(U((!a.a&&(a.a=new L(s7,a,10,11)),a.a),s),27),I(U((!t.a&&(t.a=new L(s7,t,10,11)),t.a),s),27));Yze(t,m),Zke(o,l.c),Xke(o,l.b)}--c}PP(t,(yR(),Q4),o.b),PP(t,$4,o.c),n.Vg()}function pdt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;for(t.Ug(`Interactive node layering`,1),n=new qd,p=new O(e.a);p.a=c){hb(y.b>0),y.a.Xb(y.c=--y.b);break}else _.a>l&&(i?(nj(i.b,_.b),i.a=r.Math.max(i.a,_.a),jC(y)):(py(_.b,d),_.c=r.Math.min(_.c,l),_.a=r.Math.max(_.a,c),i=_));i||(i=new Xf,i.c=l,i.a=c,kb(y,i),py(i.b,d))}for(s=e.b,u=0,v=new O(n);v.am&&(o&&(fv(ee,p),fv(ne,gM(u.b-1))),oe=n.b,se+=p+t,p=0,d=r.Math.max(d,n.b+n.c+ae)),ik(c,oe),ak(c,se),d=r.Math.max(d,oe+ae+n.c),p=r.Math.max(p,f),oe+=ae+t;if(d=r.Math.max(d,i),ie=se+p+n.a,ielU,C=r.Math.abs(p.b-h.b)>lU,(!n&&ne&&C||n&&(ne||C))&&Dx(_.a,x)),aA(_.a,i),p=i.b==0?x:(hb(i.b!=0),I(i.c.b.c,8)),SUe(m,f,g),_He(a)==te&&(IC(te.i)!=a.a&&(g=new qm,N3e(g,IC(te.i),y)),G(_,e1,g)),R4e(m,_,y),d.a.zc(m,d);wT(_,S),DT(_,te)}for(u=d.a.ec().Kc();u.Ob();)l=I(u.Pb(),18),wT(l,null),DT(l,null);t.Vg()}function gdt(e,t){var n,r,i=I(K(e,(tz(),g4)),88),a,o,s,c,l,u=i==(FM(),l8)||i==u8?c8:u8,d,f;for(n=I(VE(aw(new Hx(null,new UT(e.b,16)),new une),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15),c=I(VE(ow(n.Oc(),new joe(t)),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[PY]))),15),c.Gc(I(VE(ow(n.Oc(),new Moe(t)),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[PY]))),16)),c.jd(new Noe(u)),f=new ih(new Poe(i)),r=new Kd,s=c.Kc();s.Ob();)o=I(s.Pb(),240),l=I(o.a,40),Zp(fb(o.c))?(f.a.zc(l,(Vy(),eY)),new du(f.a.Zc(l,!1)).a.gc()>0&&GC(r,l,I(new du(f.a.Zc(l,!1)).a.Vc(),40)),new du(f.a.ad(l,!0)).a.gc()>1&&GC(r,qJe(f,l),l)):(new du(f.a.Zc(l,!1)).a.gc()>0&&(a=I(new du(f.a.Zc(l,!1)).a.Vc(),40),N(a)===N(X_(tS(r.f,l)))&&I(K(l,(Zz(),Q2)),15).Fc(a)),new du(f.a.ad(l,!0)).a.gc()>1&&(d=qJe(f,l),N(X_(tS(r.f,d)))===N(l)&&I(K(d,(Zz(),Q2)),15).Fc(l)),f.a.Bc(l))}function _dt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;if(e.gc()==1)return I(e.Xb(0),235);if(e.gc()<=0)return new lD;for(a=e.Kc();a.Ob();){for(n=I(a.Pb(),235),h=0,d=SB,f=SB,l=uV,u=uV,m=new O(n.e);m.ac&&(b=0,x+=s+v,s=0),bit(g,n,b,x),t=r.Math.max(t,b+_.a),s=r.Math.max(s,_.b),b+=_.a+v;return g}function vdt(e){Hat();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null||(a=dO(e),m=wqe(a),m%4!=0))return null;if(h=m/4|0,h==0)return H(X9,WK,28,0,15,1);for(d=null,t=0,n=0,r=0,i=0,o=0,s=0,c=0,l=0,p=0,f=0,u=0,d=H(X9,WK,28,h*3,15,1);p>4)<<24>>24,d[f++]=((n&15)<<4|r>>2&15)<<24>>24,d[f++]=(r<<6|i)<<24>>24}return!dh(o=a[u++])||!dh(s=a[u++])?null:(t=j9[o],n=j9[s],c=a[u++],l=a[u++],j9[c]==-1||j9[l]==-1?c==61&&l==61?n&15?null:(g=H(X9,WK,28,p*3+1,15,1),$R(d,0,g,0,p*3),g[f]=(t<<2|n>>4)<<24>>24,g):c!=61&&l==61?(r=j9[c],r&3?null:(g=H(X9,WK,28,p*3+2,15,1),$R(d,0,g,0,p*3),g[f++]=(t<<2|n>>4)<<24>>24,g[f]=((n&15)<<4|r>>2&15)<<24>>24,g)):null:(r=j9[c],i=j9[l],d[f++]=(t<<2|n>>4)<<24>>24,d[f++]=((n&15)<<4|r>>2&15)<<24>>24,d[f++]=(r<<6|i)<<24>>24,d))}function ydt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;for(t.Ug(yht,1),m=I(K(e,(cB(),j1)),223),i=new O(e.b);i.a=2){for(h=!0,f=new O(a.j),n=I(V(f),12),p=null;f.a0)if(i=f.gc(),u=iT(r.Math.floor((i+1)/2))-1,a=iT(r.Math.ceil((i+1)/2))-1,t.o==F2)for(d=a;d>=u;d--)t.a[x.p]==x&&(g=I(f.Xb(d),42),h=I(g.a,10),!Ch(n,g.b)&&m>e.b.e[h.p]&&(t.a[h.p]=x,t.g[x.p]=t.g[h.p],t.a[x.p]=t.g[x.p],t.f[t.g[x.p].p]=(Vy(),!!(Zp(t.f[t.g[x.p].p])&x.k==(DI(),uZ))),m=e.b.e[h.p]));else for(d=u;d<=a;d++)t.a[x.p]==x&&(v=I(f.Xb(d),42),_=I(v.a,10),!Ch(n,v.b)&&m0&&(a=I(zx(_.c.a,ee-1),10),s=e.i[a.p],ne=r.Math.ceil(ny(e.n,a,_)),o=S.a.e-_.d.d-(s.a.e+a.o.b+a.d.a)-ne),u=RV,ee<_.c.a.c.length-1&&(l=I(zx(_.c.a,ee+1),10),d=e.i[l.p],ne=r.Math.ceil(ny(e.n,l,_)),u=d.a.e-l.d.d-(S.a.e+_.o.b+_.d.a)-ne),n&&(qv(),Tk(xG),r.Math.abs(o-u)<=xG||o==u||isNaN(o)&&isNaN(u))?!0:(i=aC(b.a),c=-aC(b.b),f=-aC(te.a),y=aC(te.b),g=b.a.e.e-b.a.a-(b.b.e.e-b.b.a)>0&&te.a.e.e-te.a.a-(te.b.e.e-te.b.a)<0,h=b.a.e.e-b.a.a-(b.b.e.e-b.b.a)<0&&te.a.e.e-te.a.a-(te.b.e.e-te.b.a)>0,m=b.a.e.e+b.b.ate.b.e.e+te.a.a,x=0,!g&&!h&&(p?o+f>0?x=f:u-i>0&&(x=i):m&&(o+c>0?x=c:u-y>0&&(x=y))),S.a.e+=x,S.b&&(S.d.e+=x),!1))}function Sdt(e,t,n){var i=new fw(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),a=new Ov,o,s,c,l,u,d,f,p;if(e.c)for(s=new O(t.Rf());s.al&&(r.a+=ige(H(K9,hV,28,-l,15,1))),r.a+=`Is`,xv(c,mI(32))>=0)for(i=0;i=r.o.b/2}else v=!d;v?(_=I(K(r,(Y(),t1)),15),_?f?a=_:(i=I(K(r,u$),15),i?a=_.gc()<=i.gc()?_:i:(a=new qd,G(r,u$,a))):(a=new qd,G(r,t1,a))):(i=I(K(r,(Y(),u$)),15),i?d?a=i:(_=I(K(r,t1),15),_?a=i.gc()<=_.gc()?i:_:(a=new qd,G(r,t1,a))):(a=new qd,G(r,u$,a))),a.Fc(e),G(e,(Y(),f$),n),t.d==n?(DT(t,null),n.e.c.length+n.g.c.length==0&&ET(n,null),nGe(n)):(wT(t,null),n.e.c.length+n.g.c.length==0&&ET(n,null)),Sw(t.a)}function Odt(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se;for(n.Ug(`MinWidth layering`,1),m=t.b,te=t.a,se=I(K(t,(cB(),Pjt)),17).a,c=I(K(t,Fjt),17).a,e.b=A(F(K(t,_0))),e.d=RV,x=new O(te);x.a0?(u=0,_&&(u+=c),u+=(C-1)*s,b&&(u+=c),ne&&b&&(u=r.Math.max(u,Xet(b,s,y,te))),u=e.a&&(i=jot(e,b),f=r.Math.max(f,i.b),S=r.Math.max(S,i.d),py(c,new W_(b,i)));for(C=new qd,u=0;u0),v.a.Xb(v.c=--v.b),re=new TC(e.b),kb(v,re),hb(v.b0){for(f=u<100?null:new Km(u),l=new jHe(t),m=l.g,_=H(q9,DV,28,u,15,1),r=0,b=new GO(u),i=0;i=0;)if(p==null?N(p)===N(m[c]):EM(p,m[c])){_.length<=r&&(g=_,_=H(q9,DV,28,2*_.length,15,1),$R(g,0,_,0,r)),_[r++]=i,OD(b,m[c]);break v}if(p=p,N(p)===N(s))break}}if(l=b,m=b.g,u=r,r>_.length&&(g=_,_=H(q9,DV,28,r,15,1),$R(g,0,_,0,r)),r>0){for(y=!0,a=0;a=0;)DF(e,_[o]);if(r!=u){for(i=u;--i>=r;)DF(l,i);g=_,_=H(q9,DV,28,r,15,1),$R(g,0,_,0,r)}t=l}}}else for(t=UQe(e,t),i=e.i;--i>=0;)t.Hc(e.g[i])&&(DF(e,i),y=!0);if(y){if(_!=null){for(n=t.gc(),d=n==1?ST(e,4,t.Kc().Pb(),null,_[0],h):ST(e,6,t,_,_[0],h),f=n<100?null:new Km(n),i=t.Kc();i.Ob();)p=i.Pb(),f=xbe(e,I(p,76),f);f?(f.nj(d),f.oj()):MA(e.e,d)}else{for(f=kye(t.gc()),i=t.Kc();i.Ob();)p=i.Pb(),f=xbe(e,I(p,76),f);f&&f.oj()}return!0}else return!1}function Mdt(e,t){var n=new dZe(t),r,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b;for(n.a||Lit(t),l=Ynt(t),c=new Zw,_=new Utt,g=new O(t.a);g.a0||n.o==F2&&a=n}function Fdt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y=t,b,x,S,ee,te,ne,C,re,ie;for(v=new Zw,b=new Zw,u=mE(y,gyt),r=new COe(e,n,v,b),$4e(r.a,r.b,r.c,r.d,u),c=(ee=v.i,ee||(v.i=new Cy(v,v.c))),ne=c.Kc();ne.Ob();)for(te=I(ne.Pb(),166),i=I(rD(v,te),21),h=i.Kc();h.Ob();)if(m=h.Pb(),x=I($O(e.d,m),166),x)s=(!te.e&&(te.e=new Ib(Q5,te,10,9)),te.e),OD(s,x);else throw o=_E(y,rq),f=Tyt+m+Eyt+o,p=f+aq,k(new lm(p));for(l=(S=b.i,S||(b.i=new Cy(b,b.c))),re=l.Kc();re.Ob();)for(C=I(re.Pb(),166),a=I(rD(b,C),21),_=a.Kc();_.Ob();)if(g=_.Pb(),x=I($O(e.d,g),166),x)d=(!C.g&&(C.g=new Ib(Q5,C,9,10)),C.g),OD(d,x);else throw o=_E(y,rq),f=Tyt+g+Eyt+o,p=f+aq,k(new lm(p));!n.b&&(n.b=new Ib(X5,n,4,7)),n.b.i!=0&&(!n.c&&(n.c=new Ib(X5,n,5,8)),n.c.i!=0)&&(!n.b&&(n.b=new Ib(X5,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new Ib(X5,n,5,8)),n.c.i<=1))&&(!n.a&&(n.a=new L(Q5,n,6,6)),n.a).i==1&&(ie=I(U((!n.a&&(n.a=new L(Q5,n,6,6)),n.a),0),166),!JP(ie)&&!YP(ie)&&(Rk(ie,I(U((!n.b&&(n.b=new Ib(X5,n,4,7)),n.b),0),84)),zk(ie,I(U((!n.c&&(n.c=new Ib(X5,n,5,8)),n.c),0),84))))}function Idt(e){var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re;for(b=e.a,x=0,S=b.length;x0?(f=I(zx(p.c.a,s-1),10),ne=ny(e.b,p,f),_=p.n.b-p.d.d-(f.n.b+f.o.b+f.d.a+ne)):_=p.n.b-p.d.d,u=r.Math.min(_,u),s1&&(s=r.Math.min(s,r.Math.abs(I(kP(c.a,1),8).b-d.b)))));else for(g=new O(t.j);g.aa&&(o=p.a-a,s=SB,i.c.length=0,a=p.a),p.a>=a&&(af(i.c,c),c.a.b>1&&(s=r.Math.min(s,r.Math.abs(I(kP(c.a,c.a.b-2),8).b-p.b)))));if(i.c.length!=0&&o>t.o.a/2&&s>t.o.b/2){for(m=new jI,ET(m,t),tL(m,(Qz(),a5)),m.n.a=t.o.a/2,v=new jI,ET(v,t),tL(v,S5),v.n.a=t.o.a/2,v.n.b=t.o.b,l=new O(i);l.a=u.b?wT(c,v):wT(c,m)):(u=I(oCe(c.a),8),_=c.a.b==0?RT(c.c):I(nb(c.a),8),_.b>=u.b?DT(c,v):DT(c,m)),f=I(K(c,(cB(),B1)),75),f&&TN(f,u,!0);t.n.a=a-t.o.a/2}}function Rdt(e,t,n){var i,a,o,s,c,l,u,d,f,p;for(c=vP(e.b,0);c.b!=c.d.c;)if(s=I(yE(c),40),!Rb(s.c,MG))for(u=g7e(s,e),t==(FM(),l8)||t==u8?Qv(u,new ma):Qv(u,new ha),l=u.c.length,i=0;i=0?bN(s):LM(bN(s)),e.qf(u0,p)),l=new qm,f=!1,e.pf(a0)?(Z_e(l,I(e.of(a0),8)),f=!0):wge(l,o.a/2,o.b/2),p.g){case 4:G(u,V1,(CN(),r1)),G(u,h$,(gj(),PQ)),u.o.b=o.b,h<0&&(u.o.a=-h),tL(d,(Qz(),i5)),f||(l.a=o.a),l.a-=o.a;break;case 2:G(u,V1,(CN(),a1)),G(u,h$,(gj(),MQ)),u.o.b=o.b,h<0&&(u.o.a=-h),tL(d,(Qz(),w5)),f||(l.a=0);break;case 1:G(u,D$,(gO(),c$)),u.o.a=o.a,h<0&&(u.o.b=-h),tL(d,(Qz(),S5)),f||(l.b=o.b),l.b-=o.b;break;case 3:G(u,D$,(gO(),o$)),u.o.a=o.a,h<0&&(u.o.b=-h),tL(d,(Qz(),a5)),f||(l.b=0)}if(Z_e(d.n,l),G(u,a0,l),t==G8||t==q8||t==K8){if(m=0,t==G8&&e.pf(c0))switch(p.g){case 1:case 2:m=I(e.of(c0),17).a;break;case 3:case 4:m=-I(e.of(c0),17).a}else switch(p.g){case 4:case 2:m=a.b,t==q8&&(m/=i.b);break;case 1:case 3:m=a.a,t==q8&&(m/=i.a)}G(u,H$,m)}return G(u,x$,p),u}function zdt(){Wle();function e(e){var t=this;this.dispatch=function(t){var n=t.data;switch(n.cmd){case`algorithms`:var r=RJe((Ew(),new Xl(new Gl(C7.b))));e.postMessage({id:n.id,data:r});break;case`categories`:var i=RJe((Ew(),new Xl(new Gl(C7.c))));e.postMessage({id:n.id,data:i});break;case`options`:var a=RJe((Ew(),new Xl(new Gl(C7.d))));e.postMessage({id:n.id,data:a});break;case`register`:Jct(n.algorithms),e.postMessage({id:n.id});break;case`layout`:Bot(n.graph,n.layoutOptions||{},n.options||{}),e.postMessage({id:n.id,data:n.graph});break}},this.saveDispatch=function(n){try{t.dispatch(n)}catch(t){e.postMessage({id:n.data.id,error:t})}}}function r(t){var n=this;this.dispatcher=new e({postMessage:function(e){n.onmessage({data:e})}}),this.postMessage=function(e){setTimeout(function(){n.dispatcher.saveDispatch({data:e})},0)}}if(typeof document===lH&&typeof self!==lH){var i=new e(self);self.onmessage=i.saveDispatch}else typeof t!==lH&&t.exports&&(Object.defineProperty(n,`__esModule`,{value:!0}),t.exports={default:r,Worker:r})}function Bdt(e,t,n){var r,i,a,o,s,c,l,u=new $P(n),d,f;for(UA(u,t),G(u,(Y(),R$),t),u.o.a=t.g,u.o.b=t.f,u.n.a=t.i,u.n.b=t.j,py(n.a,u),GC(e.a,t,u),((!t.a&&(t.a=new L(s7,t,10,11)),t.a).i!=0||Zp(fb(J(t,(cB(),R1)))))&&G(u,bOt,(Vy(),!0)),l=I(K(n,C$),21),d=I(K(u,(cB(),s0)),101),d==(rI(),X8)?G(u,s0,Y8):d!=Y8&&l.Fc((cR(),ZQ)),f=0,r=I(K(n,E1),88),c=new xy((!t.c&&(t.c=new L(c7,t,9,9)),t.c));c.e!=c.i.gc();)s=I(CP(c),123),i=_T(t),(N(J(i,_1))!==N((YN(),o2))||N(J(i,T1))===N((JN(),AQ))||N(J(i,T1))===N((JN(),OQ))||Zp(fb(J(i,y1)))||N(J(i,p1))!==N((aP(),rZ))||N(J(i,U1))===N((NR(),e2))||N(J(i,U1))===N((NR(),t2))||N(J(i,W1))===N((YL(),R0))||N(J(i,W1))===N((YL(),B0)))&&!Zp(fb(J(t,h1)))&&PP(s,L$,gM(f++)),Zp(fb(J(s,r0)))||Dut(e,s,u,l,r,d);for(o=new xy((!t.n&&(t.n=new L(o7,t,1,7)),t.n));o.e!=o.i.gc();)a=I(CP(o),135),!Zp(fb(J(a,r0)))&&a.a&&py(u.b,sM(a));return Zp(fb(K(u,u1)))&&l.Fc((cR(),KQ)),Zp(fb(K(u,L1)))&&(l.Fc((cR(),XQ)),l.Fc(YQ),G(u,s0,Y8)),u}function rB(e,t,n,i,a,o,s){var c,l,u,d,f,p,m,h,g=0,_,v,y,b,x,S,ee,te,ne,C,re=0,ie,ae,oe,se;for(u=new O(e.b);u.ag&&(o&&(fv(ee,m),fv(ne,gM(d.b-1)),py(e.d,h),c.c.length=0),oe=n.b,se+=m+t,m=0,f=r.Math.max(f,n.b+n.c+ae)),af(c.c,l),BXe(l,oe,se),f=r.Math.max(f,oe+ae+n.c),m=r.Math.max(m,p),oe+=ae+t,h=l;if(nj(e.a,c),py(e.d,I(zx(c,c.c.length-1),163)),f=r.Math.max(f,i),ie=se+m+n.a,iei.d.d+i.d.a?u.f.d=!0:(u.f.d=!0,u.f.a=!0))),r.b!=r.d.c&&(t=n);u&&(a=I(SC(e.f,o.d.i),60),t.ba.d.d+a.d.a?u.f.d=!0:(u.f.d=!0,u.f.a=!0))}for(s=new SS(Ty(cN(m).a.Kc(),new d));CL(s);)o=I($E(s),18),o.a.b!=0&&(t=I(nb(o.a),8),o.d.j==(Qz(),a5)&&(_=new fz(t,new M(t.a,i.d.d),i,o),_.f.a=!0,_.a=o.d,af(g.c,_)),o.d.j==S5&&(_=new fz(t,new M(t.a,i.d.d+i.d.a),i,o),_.f.d=!0,_.a=o.d,af(g.c,_)))}return g}function Kdt(e,t,n){var r,i,a,o,s,c=new qd,l,u,d=t.length,f;for(o=DWe(n),l=0;l=m&&(v>m&&(p.c.length=0,m=v),af(p.c,o));p.c.length!=0&&(f=I(zx(p,WP(t,p.c.length)),131),re.a.Bc(f),f.s=h++,v9e(f,ne,S),p.c.length=0)}for(b=e.c.length+1,s=new O(e);s.aC.s&&(jC(n),XD(C.i,r),r.c>0&&(r.a=C,py(C.t,r),r.b=ee,py(ee.i,r)))}function Ydt(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h=new gD(t.b),g,_,v,y,b=new gD(t.b),x,S,ee,te,ne,C,re;for(f=new gD(t.b),te=new gD(t.b),g=new gD(t.b),ee=vP(t,0);ee.b!=ee.d.c;)for(x=I(yE(ee),12),s=new O(x.g);s.a0,_=x.g.c.length>0,l&&_?af(f.c,x):l?af(h.c,x):_&&af(b.c,x);for(m=new O(h);m.ay.nh()-u.b&&(p=y.nh()-u.b),m>y.oh()-u.d&&(m=y.oh()-u.d),d0){for(x=vP(e.f,0);x.b!=x.d.c;)b=I(yE(x),10),b.p+=m-e.e;P3e(e),Sw(e.f),xnt(e,i,h)}else{for(Dx(e.f,h),h.p=i,e.e=r.Math.max(e.e,i),o=new SS(Ty(cN(h).a.Kc(),new d));CL(o);)a=I($E(o),18),!a.c.i.c&&a.c.i.k==(DI(),lZ)&&(Dx(e.f,a.c.i),a.c.i.p=i-1);e.c=i}else P3e(e),Sw(e.f),i=0,CL(new SS(Ty(cN(h).a.Kc(),new d)))?(m=0,m=QXe(m,h),i=m+2,xnt(e,i,h)):(Dx(e.f,h),h.p=0,e.e=r.Math.max(e.e,0),e.b=I(zx(e.d.b,0),30),e.c=0);for(e.f.b==0||P3e(e),e.d.a.c.length=0,y=new qd,u=new O(e.d.b);u.a=48&&t<=57){for(r=t-48;i=48&&t<=57;)if(r=r*10+t-48,r<0)throw k(new dm(_B((Yv(),cbt))))}else throw k(new dm(_B((Yv(),ibt))));if(n=r,t==44){if(i>=e.j)throw k(new dm(_B((Yv(),obt))));if((t=iw(e.i,i++))>=48&&t<=57){for(n=t-48;i=48&&t<=57;)if(n=n*10+t-48,n<0)throw k(new dm(_B((Yv(),cbt))));if(r>n)throw k(new dm(_B((Yv(),sbt))))}else n=-1}if(t!=125)throw k(new dm(_B((Yv(),abt))));e.bm(i)?(a=(pB(),pB(),++W9,new NE(9,a)),e.d=i+1):(a=(pB(),pB(),++W9,new NE(3,a)),e.d=i),a.Om(r),a.Nm(n),lB(e)}}return a}function ift(e){var t,n=I(K(e,(Y(),C$)),21),r,i,a;switch(t=kv(RTt),i=I(K(e,(cB(),I1)),346),i==(pM(),w8)&&AA(t,zTt),Zp(fb(K(e,F1)))?Px(t,(vI(),BX),(fB(),IZ)):Px(t,(vI(),HX),(fB(),IZ)),K(e,(_D(),$3))!=null&&AA(t,BTt),(Zp(fb(K(e,Ajt)))||Zp(fb(K(e,Ejt))))&&uS(t,(vI(),WX),(fB(),kEt)),I(K(e,E1),88).g){case 2:case 3:case 4:uS(Px(t,(vI(),BX),(fB(),jEt)),WX,AEt)}switch(n.Hc((cR(),KQ))&&uS(Px(Px(t,(vI(),BX),(fB(),OEt)),UX,EEt),WX,DEt),N(K(e,U1))!==N((NR(),i2))&&Px(t,(vI(),HX),(fB(),KEt)),n.Hc($Q)&&(Px(t,(vI(),BX),(fB(),XEt)),Px(t,VX,JEt),Px(t,HX,YEt)),N(K(e,f1))!==N((TI(),WQ))&&N(K(e,j1))!==N((aN(),v8))&&uS(t,(vI(),WX),(fB(),BEt)),Zp(fb(K(e,Ojt)))&&Px(t,(vI(),HX),(fB(),zEt)),Zp(fb(K(e,C1)))&&Px(t,(vI(),HX),(fB(),ZEt)),W9e(e)&&(r=N(K(e,I1))===N(w8)?I(K(e,b1),299):I(K(e,x1),299),a=r==(YA(),r$)?(fB(),qEt):(fB(),eDt),Px(t,(vI(),UX),a)),I(K(e,hMt),388).g){case 1:Px(t,(vI(),UX),(fB(),QEt));break;case 2:uS(Px(Px(t,(vI(),HX),(fB(),SEt)),UX,CEt),WX,wEt)}return N(K(e,_1))!==N((YN(),o2))&&Px(t,(vI(),HX),(fB(),$Et)),t}function aft(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;if(RS(e.a,t)){if(Ch(I(SC(e.a,t),49),n))return 1}else GC(e.a,t,new If);if(RS(e.a,n)){if(Ch(I(SC(e.a,n),49),t))return-1}else GC(e.a,n,new If);if(RS(e.e,t)){if(Ch(I(SC(e.e,t),49),n))return-1}else GC(e.e,t,new If);if(RS(e.e,n)){if(Ch(I(SC(e.a,n),49),t))return 1}else GC(e.e,n,new If);if(e.c==(YN(),s2)||!rb(t,(Y(),L$))||!rb(n,(Y(),L$))){for(d=null,l=new O(t.j);l.ao?kR(e,t,n):kR(e,n,t),io)}return r=I(K(t,(Y(),L$)),17).a,a=I(K(n,L$),17).a,r>a?kR(e,t,n):kR(e,n,t),ra)}function aB(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n==null)return null;if(e.a!=t.jk())throw k(new rm(VK+t.xe()+HK));if(P(t,469)){if(g=mnt(I(t,685),n),!g)throw k(new rm(UK+n+`' is not a valid enumerator of '`+t.xe()+`'`));return g}switch(CM((UI(),p9),t).Nl()){case 2:n=Sz(n,!1);break;case 3:n=Sz(n,!0);break}if(r=CM(p9,t).Jl(),r)return r.jk().wi().ti(r,n);if(f=CM(p9,t).Ll(),f){for(g=new qd,l=zj(n),u=0,d=l.length;u1)for(h=new Ky((!e.a&&(e.a=new L(Q5,e,6,6)),e.a));h.e!=h.i.gc();)YF(h);for(s=I(U((!e.a&&(e.a=new L(Q5,e,6,6)),e.a),0),166),_=oe,oe>S+x?_=S+x:oeee+g?v=ee+g:seS-x&&_ee-g&&voe+ae?ne=oe+ae:Sse+te?C=se+te:eeoe-ae&&nese-te&&Cn&&(p=n-1),m=de+LL(t,24)*iH*f-f/2,m<0?m=1:m>i&&(m=i-1),a=(Jm(),l=new Do,l),lk(a,p),ek(a,m),OD((!s.a&&(s.a=new hy(q5,s,5)),s.a),a)}function dft(e){$h(e,new oI(Nm(km(Mm(jm(new Qa,eK),`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 Ane))),oE(e,eK,$H,1.3),oE(e,eK,CU,(Vy(),!1)),oE(e,eK,eU,rLt),oE(e,eK,hU,15),oE(e,eK,uG,SP(KIt)),oE(e,eK,TU,SP(ZIt)),oE(e,eK,PU,SP($It)),oE(e,eK,wU,SP(eLt)),oE(e,eK,EU,SP(XIt)),oE(e,eK,SU,SP(u3)),oE(e,eK,DU,SP(iLt)),oE(e,eK,Y_t,SP(cLt)),oE(e,eK,X_t,SP(sLt)),oE(e,eK,J_t,SP(m3)),oE(e,eK,q_t,SP(lLt)),oE(e,eK,Z_t,SP(nLt)),oE(e,eK,Q_t,SP(d3)),oE(e,eK,$_t,SP(tLt)),oE(e,eK,evt,SP(oLt)),oE(e,eK,yU,SP(JIt)),oE(e,eK,mG,SP(YIt)),oE(e,eK,G_t,SP(c3)),oE(e,eK,W_t,SP(qIt)),oE(e,eK,K_t,SP(l3)),oE(e,eK,U_t,SP(aLt))}function sB(e,t){tst();var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te=e.e,ne,C,re,ie,ae;if(m=e.d,i=e.a,te==0)switch(t){case 0:return`0`;case 1:return JV;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 xm,t<0?S.a+=`0E+`:S.a+=`0E`,S.a+=-t,S.a}if(y=m*10+1+7,b=H(K9,hV,28,y+1,15,1),n=y,m==1)if(s=i[0],s<0){ae=GT(s,qV);do h=ae,ae=WF(ae,10),b[--n]=48+dS(nN(h,tN(ae,10)))&_V;while(lM(ae,0)!=0)}else{ae=s;do h=ae,ae=ae/10|0,b[--n]=48+(h-ae*10)&_V;while(ae!=0)}else{C=H(q9,DV,28,m,15,1),ie=m,$R(i,0,C,0,ie);I:for(;;){for(ee=0,l=ie-1;l>=0;l--)re=eN(_S(ee,32),GT(C[l],qV)),_=Q0e(re),C[l]=dS(_),ee=dS(vS(_,32));v=dS(ee),g=n;do b[--n]=48+v%10&_V;while((v=v/10|0)!=0&&n!=0);for(r=9-g+n,c=0;c0;c++)b[--n]=48;for(d=ie-1;C[d]==0;d--)if(d==0)break I;ie=d+1}for(;b[n]==48;)++n}if(p=te<0,o=y-n-t-1,t==0)return p&&(b[--n]=45),qN(b,n,y-n);if(t>0&&o>=-6){if(o>=0){for(u=n+o,f=y-1;f>=u;f--)b[f+1]=b[f];return b[++u]=46,p&&(b[--n]=45),qN(b,n,y-n+1)}for(d=2;d<-o+1;d++)b[--n]=48;return b[--n]=46,b[--n]=48,p&&(b[--n]=45),qN(b,n,y-n)}return ne=n+1,a=y,x=new Sm,p&&(x.a+=`-`),a-ne>=1?(AC(x,b[n]),x.a+=`.`,x.a+=qN(b,n+1,y-n-1)):x.a+=qN(b,n,y-n),x.a+=`E`,o>0&&(x.a+=`+`),x.a+=``+o,x.a}function fft(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee;switch(e.c=t,e.g=new Kd,n=(tg(),new Jp(e.c)),i=new wu(n),_Je(i),b=pb(J(e.c,(yI(),HLt))),l=I(J(e.c,N3),324),S=I(J(e.c,P3),437),s=I(J(e.c,LLt),490),x=I(J(e.c,M3),438),e.j=A(F(J(e.c,ULt))),c=e.a,l.g){case 0:c=e.a;break;case 1:c=e.b;break;case 2:c=e.i;break;case 3:c=e.e;break;case 4:c=e.f;break;default:throw k(new rm(iK+(l.f==null?``+l.g:l.f)))}if(e.d=new uAe(c,S,s),G(e.d,(EA(),pX),fb(J(e.c,zLt))),e.d.c=Zp(fb(J(e.c,RLt))),kw(e.c).i==0)return e.d;for(f=new xy(kw(e.c));f.e!=f.i.gc();){for(d=I(CP(f),27),m=d.g/2,p=d.f/2,ee=new M(d.i+m,d.j+p);RS(e.g,ee);)ob(ee,(r.Math.random()-.5)*lU,(r.Math.random()-.5)*lU);g=I(J(d,(dB(),A6)),140),_=new LAe(ee,new fw(ee.a-m-e.j/2-g.b,ee.b-p-e.j/2-g.d,d.g+e.j+(g.b+g.c),d.f+e.j+(g.d+g.a))),py(e.d.i,_),GC(e.g,ee,new W_(_,d))}switch(x.g){case 0:if(b==null)e.d.d=I(zx(e.d.i,0),68);else for(y=new O(e.d.i);y.a0?ie+1:1);for(o=new O(S.g);o.a0?ie+1:1)}e.c[l]==0?Dx(e.e,h):e.a[l]==0&&Dx(e.f,h),++l}for(m=-1,p=1,d=new qd,e.d=I(K(t,(Y(),W$)),234);ce>0;){for(;e.e.b!=0;)oe=I(fx(e.e),10),e.b[oe.p]=m--,xit(e,oe),--ce;for(;e.f.b!=0;)se=I(fx(e.f),10),e.b[se.p]=p++,xit(e,se),--ce;if(ce>0){for(f=uV,v=new O(y);v.a=f&&(b>f&&(d.c.length=0,f=b),af(d.c,h)));u=e.sg(d),e.b[u.p]=p++,xit(e,u),--ce}}for(ae=y.c.length+1,l=0;le.b[w]&&(sz(r,!0),G(t,m$,(Vy(),!0)));e.a=null,e.c=null,e.b=null,Sw(e.f),Sw(e.e),n.Vg()}function hft(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=I(U((!e.a&&(e.a=new L(Q5,e,6,6)),e.a),0),166),ee;for(d=new mp,x=new Kd,ee=bat(S),XI(x.f,S,ee),p=new Kd,i=new Dh,h=BS(yk(W(j(IJ,1),DB,20,0,[(!t.d&&(t.d=new Ib(Z5,t,8,5)),t.d),(!t.e&&(t.e=new Ib(Z5,t,7,4)),t.e)])));CL(h);){if(m=I($E(h),74),(!e.a&&(e.a=new L(Q5,e,6,6)),e.a).i!=1)throw k(new rm(Jvt+(!e.a&&(e.a=new L(Q5,e,6,6)),e.a).i));m!=e&&(_=I(U((!m.a&&(m.a=new L(Q5,m,6,6)),m.a),0),166),BE(i,_,i.c.b,i.c),g=I(X_(tS(x.f,_)),13),g||(g=bat(_),XI(x.f,_,g)),f=n?Pb(new Ev(I(zx(ee,ee.c.length-1),8)),I(zx(g,g.c.length-1),8)):Pb(new Ev((VT(0,ee.c.length),I(ee.c[0],8))),(VT(0,g.c.length),I(g.c[0],8))),XI(p.f,_,f))}if(i.b!=0)for(v=I(zx(ee,n?ee.c.length-1:0),8),u=1;u1&&BE(d,v,d.c.b,d.c),BO(a)));v=y}return d}function gft(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(n.Ug(b_t,1),C=I(VE(aw(new Hx(null,new UT(t,16)),new xa),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15),u=I(VE(aw(new Hx(null,new UT(t,16)),new Ioe(t)),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[PY]))),15),m=I(VE(aw(new Hx(null,new UT(t,16)),new Foe(t)),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[PY]))),15),h=H(K2,FG,40,t.gc(),0,1),o=0;o=0&&ne=0&&!h[p]){h[p]=i,u.gd(s),--s;break}if(p=ne-f,p=0&&!h[p]){h[p]=i,u.gd(s),--s;break}}for(m.jd(new Sa),c=h.length-1;c>=0;c--)!h[c]&&!m.dc()&&(h[c]=I(m.Xb(0),40),m.gd(0));for(l=0;l=0;c--)Dx(n,(VT(c,o.c.length),I(o.c[c],8)));return n}function vft(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=A(F(J(t,(yR(),a3)))),x;for(m=A(F(J(t,r3))),p=A(F(J(t,e3))),GVe((!t.a&&(t.a=new L(s7,t,10,11)),t.a)),v=Ist((!t.a&&(t.a=new L(s7,t,10,11)),t.a),b,e.b),_=0;_f&&FF((VT(f,t.c.length),I(t.c[f],186)),u),u=null;t.c.length>f&&(VT(f,t.c.length),I(t.c[f],186)).a.c.length==0;)XD(t,(VT(f,t.c.length),t.c[f]));if(!u){--o;continue}if(!Zp(fb(I(zx(u.b,0),27).of((mR(),l3))))&&tat(t,m,a,u,g,n,f,r)){h=!0;continue}if(g){if(p=m.b,d=u.f,!Zp(fb(I(zx(u.b,0),27).of(l3)))&&Uct(t,m,a,u,n,f,r,i)){if(h=!0,p=e.j){e.a=-1,e.c=1;return}if(t=iw(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw k(new dm(_B((Yv(),_q))));e.a=iw(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||iw(e.i,e.d)!=63)break;if(++e.d>=e.j)throw k(new dm(_B((Yv(),vq))));switch(t=iw(e.i,e.d++),t){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(e.d>=e.j)throw k(new dm(_B((Yv(),vq))));if(t=iw(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw k(new dm(_B((Yv(),Fyt))));break;case 35:for(;e.d=e.j)throw k(new dm(_B((Yv(),_q))));e.a=iw(e.i,e.d++);break;default:r=0}e.c=r}function Sft(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n.Ug(`Process compaction`,1),Zp(fb(K(t,(tz(),KPt))))){for(i=I(K(t,g4),88),p=A(F(K(t,b4))),pst(e,t,i),gdt(t,p/2/2),m=t.b,Xk(m,new gd(i)),l=vP(m,0);l.b!=l.d.c;)if(c=I(yE(l),40),!Zp(fb(K(c,(Zz(),p4))))){if(r=Znt(c,i),h=got(c,t),d=0,f=0,r)switch(g=r.e,i.g){case 2:d=g.a-p-c.f.a,h.e.a-p-c.f.ad&&(d=h.e.a+h.f.a+p),f=d+c.f.a;break;case 4:d=g.b-p-c.f.b,h.e.b-p-c.f.bd&&(d=h.e.b+h.f.b+p),f=d+c.f.b}else if(h)switch(i.g){case 2:d=h.e.a-p-c.f.a,f=d+c.f.a;break;case 1:d=h.e.a+h.f.a+p,f=d+c.f.a;break;case 4:d=h.e.b-p-c.f.b,f=d+c.f.b;break;case 3:d=h.e.b+h.f.b+p,f=d+c.f.b}N(K(t,_4))===N((Nj(),J2))?(a=d,o=f,s=Ej(aw(new Hx(null,new UT(e.a,16)),new tpe(a,o))),s.a==null?(s=i==(FM(),l8)||i==f8?Ej(aw(uBe(new Hx(null,new UT(e.a,16))),new _d(a))):Ej(aw(uBe(new Hx(null,new UT(e.a,16))),new vd(a))),s.a!=null&&(i==l8||i==u8?c.e.a=A(F((hb(s.a!=null),I(s.a,42)).a)):c.e.b=A(F((hb(s.a!=null),I(s.a,42)).a)))):i==(FM(),l8)||i==u8?c.e.a=d:c.e.b=d,s.a!=null&&(u=QD(e.a,(hb(s.a!=null),s.a),0),u>0&&u!=I(K(c,x4),17).a&&(G(c,OPt,(Vy(),!0)),G(c,x4,gM(u))))):i==(FM(),l8)||i==u8?c.e.a=d:c.e.b=d}n.Vg()}}function Cft(e){var t,n,r,i,a,o,s,c,l;for(e.b=1,lB(e),t=null,e.c==0&&e.a==94?(lB(e),t=(pB(),pB(),++W9,new JT(4)),iR(t,0,CJ),s=(++W9,new JT(4))):s=(pB(),pB(),++W9,new JT(4)),i=!0;(l=e.c)!=1;){if(l==0&&e.a==93&&!i){t&&(Hz(t,s),s=t);break}if(n=e.a,r=!1,l==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:Cz(s,WR(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(Cz(s,WR(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(c=E8e(e,n),!c)throw k(new dm(_B((Yv(),bq))));Cz(s,c),r=!0;break;default:n=Dnt(e)}else if(l==24&&!i){if(t&&(Hz(t,s),s=t),a=Cft(e),Hz(s,a),e.c!=0||e.a!=93)throw k(new dm(_B((Yv(),Jyt))));break}if(lB(e),!r){if(l==0){if(n==91)throw k(new dm(_B((Yv(),Yyt))));if(n==93)throw k(new dm(_B((Yv(),Xyt))));if(n==45&&!i&&e.a!=93)throw k(new dm(_B((Yv(),Sq))))}if(e.c!=0||e.a!=45||n==45&&i)iR(s,n,n);else{if(lB(e),(l=e.c)==1)throw k(new dm(_B((Yv(),xq))));if(l==0&&e.a==93)iR(s,n,n),iR(s,45,45);else if(l==0&&e.a==93||l==24)throw k(new dm(_B((Yv(),Sq))));else{if(o=e.a,l==0){if(o==91)throw k(new dm(_B((Yv(),Yyt))));if(o==93)throw k(new dm(_B((Yv(),Xyt))));if(o==45)throw k(new dm(_B((Yv(),Sq))))}else l==10&&(o=Dnt(e));if(lB(e),n>o)throw k(new dm(_B((Yv(),$yt))));iR(s,n,o)}}}i=!1}if(e.c==1)throw k(new dm(_B((Yv(),xq))));return kL(s),jz(s),e.b=0,lB(e),s}function wft(e,t,n){var r,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b,x,S;if(n.Ug(`Coffman-Graham Layering`,1),t.a.c.length==0){n.Vg();return}for(S=I(K(t,(cB(),Mjt)),17).a,c=0,o=0,p=new O(t.a);p.a=S||!bYe(v,r))&&(r=KDe(t,u)),TT(v,r),a=new SS(Ty(cN(v).a.Kc(),new d));CL(a);)i=I($E(a),18),!e.a[i.p]&&(g=i.c.i,--e.e[g.p],e.e[g.p]==0&&_x(gI(m,g),XV));for(l=u.c.length-1;l>=0;--l)py(t.b,(VT(l,u.c.length),I(u.c[l],30)));t.a.c.length=0,n.Vg()}function Tft(e,t){var n,r,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b,x=!1;do for(x=!1,a=t?new Rl(e.a.b).a.gc()-2:1;t?a>=0:aI(K(_,L$),17).a)&&(b=!1);if(b){for(c=t?a+1:a-1,s=zNe(e.a,gM(c)),o=!1,y=!0,r=!1,u=vP(s,0);u.b!=u.d.c;)l=I(yE(u),10),rb(l,L$)?l.p!=f.p&&(o|=t?I(K(l,L$),17).aI(K(f,L$),17).a,y=!1):!o&&y&&l.k==(DI(),lZ)&&(r=!0,p=t?I($E(new SS(Ty(cN(l).a.Kc(),new d))),18).c.i:I($E(new SS(Ty(lN(l).a.Kc(),new d))),18).d.i,p==f&&(n=t?I($E(new SS(Ty(lN(l).a.Kc(),new d))),18).d.i:I($E(new SS(Ty(cN(l).a.Kc(),new d))),18).c.i,(t?I(ab(e.a,n),17).a-I(ab(e.a,p),17).a:I(ab(e.a,p),17).a-I(ab(e.a,n),17).a)<=2&&(y=!1)));if(r&&y&&(n=t?I($E(new SS(Ty(lN(f).a.Kc(),new d))),18).d.i:I($E(new SS(Ty(cN(f).a.Kc(),new d))),18).c.i,(t?I(ab(e.a,n),17).a-I(ab(e.a,f),17).a:I(ab(e.a,f),17).a-I(ab(e.a,n),17).a)<=2&&n.k==(DI(),dZ)&&(y=!1)),o||y){for(g=H9e(e,f,t);g.a.gc()!=0;)h=I(g.a.ec().Kc().Pb(),10),g.a.Bc(h),aA(g,H9e(e,h,t));--m,x=!0}}}while(x)}function Eft(e){NL(e.c,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#decimal`])),NL(e.d,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#integer`])),NL(e.e,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#boolean`])),NL(e.f,Bq,W(j(dY,1),X,2,6,[Zq,`EBoolean`,sq,`EBoolean:Object`])),NL(e.i,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#byte`])),NL(e.g,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#hexBinary`])),NL(e.j,Bq,W(j(dY,1),X,2,6,[Zq,`EByte`,sq,`EByte:Object`])),NL(e.n,Bq,W(j(dY,1),X,2,6,[Zq,`EChar`,sq,`EChar:Object`])),NL(e.t,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#double`])),NL(e.u,Bq,W(j(dY,1),X,2,6,[Zq,`EDouble`,sq,`EDouble:Object`])),NL(e.F,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#float`])),NL(e.G,Bq,W(j(dY,1),X,2,6,[Zq,`EFloat`,sq,`EFloat:Object`])),NL(e.I,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#int`])),NL(e.J,Bq,W(j(dY,1),X,2,6,[Zq,`EInt`,sq,`EInt:Object`])),NL(e.N,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#long`])),NL(e.O,Bq,W(j(dY,1),X,2,6,[Zq,`ELong`,sq,`ELong:Object`])),NL(e.Z,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#short`])),NL(e.$,Bq,W(j(dY,1),X,2,6,[Zq,`EShort`,sq,`EShort:Object`])),NL(e._,Bq,W(j(dY,1),X,2,6,[Zq,`http://www.w3.org/2001/XMLSchema#string`]))}function Dft(e,t,n,r,i,a,o){var s,c,l,u,d,f=I(r.a,17).a,p=I(r.b,17).a,m;return d=e.b,m=e.c,s=0,u=0,t==(FM(),l8)||t==u8?(u=c_($Ke(sw(ow(new Hx(null,new UT(n.b,16)),new xne),new la))),d.e.b+d.f.b/2>u?(l=++p,s=A(F(My(ES(ow(new Hx(null,new UT(n.b,16)),new ppe(i,l)),new ua))))):(c=++f,s=A(F(My(DS(ow(new Hx(null,new UT(n.b,16)),new mpe(i,c)),new gne)))))):(u=c_($Ke(sw(ow(new Hx(null,new UT(n.b,16)),new pa),new ca))),d.e.a+d.f.a/2>u?(l=++p,s=A(F(My(ES(ow(new Hx(null,new UT(n.b,16)),new dpe(i,l)),new da))))):(c=++f,s=A(F(My(DS(ow(new Hx(null,new UT(n.b,16)),new fpe(i,c)),new fa)))))),t==l8?(fv(e.a,new M(A(F(K(d,(Zz(),s4))))-i,s)),fv(e.a,new M(m.e.a+m.f.a+i+a,s)),fv(e.a,new M(m.e.a+m.f.a+i+a,m.e.b+m.f.b/2)),fv(e.a,new M(m.e.a+m.f.a,m.e.b+m.f.b/2))):t==u8?(fv(e.a,new M(A(F(K(d,(Zz(),o4))))+i,d.e.b+d.f.b/2)),fv(e.a,new M(d.e.a+d.f.a+i,s)),fv(e.a,new M(m.e.a-i-a,s)),fv(e.a,new M(m.e.a-i-a,m.e.b+m.f.b/2)),fv(e.a,new M(m.e.a,m.e.b+m.f.b/2))):t==f8?(fv(e.a,new M(s,A(F(K(d,(Zz(),s4))))-i)),fv(e.a,new M(s,m.e.b+m.f.b+i+a)),fv(e.a,new M(m.e.a+m.f.a/2,m.e.b+m.f.b+i+a)),fv(e.a,new M(m.e.a+m.f.a/2,m.e.b+m.f.b+i))):(e.a.b==0||(I(nb(e.a),8).b=A(F(K(d,(Zz(),o4))))+i*I(o.b,17).a),fv(e.a,new M(s,A(F(K(d,(Zz(),o4))))+i*I(o.b,17).a)),fv(e.a,new M(s,m.e.b-i*I(o.a,17).a-a))),new W_(gM(f),gM(p))}function Oft(e){var t,n,r,i,a,o=!0,s,c,l,u,d=null,f,p;if(r=null,i=null,t=!1,p=kVt,l=null,a=null,s=0,c=lP(e,s,DVt,OVt),c=0&&Rb(e.substr(s,2),`//`)?(s+=2,c=lP(e,s,D7,O7),r=(TD(s,c,e.length),e.substr(s,c-s)),s=c):d!=null&&(s==e.length||(HT(s,e.length),e.charCodeAt(s)!=47))&&(o=!1,c=Zge(e,mI(35),s),c==-1&&(c=e.length),r=(TD(s,c,e.length),e.substr(s,c-s)),s=c);if(!n&&s0&&iw(u,u.length-1)==58&&(i=u,s=c)),sDL(a))&&(d=a);for(!d&&(d=(VT(0,g.c.length),I(g.c[0],185))),h=new O(t.b);h.af&&(ie=0,ae+=d+te,d=0),Sit(S,s,ie,ae),t=r.Math.max(t,ie+ee.a),d=r.Math.max(d,ee.b),ie+=ee.a+te;for(x=new Kd,n=new Kd,C=new O(e);C.a=-1900),n>=4?uv(e,W(j(dY,1),X,2,6,[ypt,bpt])[s]):uv(e,W(j(dY,1),X,2,6,[`BC`,`AD`])[s]);break;case 121:DXe(e,n,r);break;case 77:yit(e,n,r);break;case 107:c=i.q.getHours(),c==0?uO(e,24,n):uO(e,c,n);break;case 83:U9e(e,n,i);break;case 69:u=r.q.getDay(),n==5?uv(e,W(j(dY,1),X,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[u]):n==4?uv(e,W(j(dY,1),X,2,6,[xpt,Spt,Cpt,wpt,Tpt,Ept,Dpt])[u]):uv(e,W(j(dY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[u]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?uv(e,W(j(dY,1),X,2,6,[`AM`,`PM`])[1]):uv(e,W(j(dY,1),X,2,6,[`AM`,`PM`])[0]);break;case 104:d=i.q.getHours()%12,d==0?uO(e,12,n):uO(e,d,n);break;case 75:f=i.q.getHours()%12,uO(e,f,n);break;case 72:p=i.q.getHours(),uO(e,p,n);break;case 99:m=r.q.getDay(),n==5?uv(e,W(j(dY,1),X,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[m]):n==4?uv(e,W(j(dY,1),X,2,6,[xpt,Spt,Cpt,wpt,Tpt,Ept,Dpt])[m]):n==3?uv(e,W(j(dY,1),X,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[m]):uO(e,m,1);break;case 76:h=r.q.getMonth(),n==5?uv(e,W(j(dY,1),X,2,6,[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`])[h]):n==4?uv(e,W(j(dY,1),X,2,6,[vV,yV,bV,xV,SV,CV,wV,TV,hpt,gpt,_pt,vpt])[h]):n==3?uv(e,W(j(dY,1),X,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,SV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`])[h]):uO(e,h+1,n);break;case 81:g=r.q.getMonth()/3|0,n<4?uv(e,W(j(dY,1),X,2,6,[`Q1`,`Q2`,`Q3`,`Q4`])[g]):uv(e,W(j(dY,1),X,2,6,[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`])[g]);break;case 100:_=r.q.getDate(),uO(e,_,n);break;case 109:l=i.q.getMinutes(),uO(e,l,n);break;case 115:o=i.q.getSeconds(),uO(e,o,n);break;case 122:n<4?uv(e,a.c[0]):uv(e,a.c[1]);break;case 118:uv(e,a.b);break;case 90:n<3?uv(e,q6e(a)):n==3?uv(e,o8e(a)):uv(e,s8e(a.a));break;default:return!1}return!0}function Pft(e,t,n,r){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae;if(Frt(t),c=I(U((!t.b&&(t.b=new Ib(X5,t,4,7)),t.b),0),84),u=I(U((!t.c&&(t.c=new Ib(X5,t,5,8)),t.c),0),84),s=cI(c),l=cI(u),o=(!t.a&&(t.a=new L(Q5,t,6,6)),t.a).i==0?null:I(U((!t.a&&(t.a=new L(Q5,t,6,6)),t.a),0),166),ee=I(SC(e.a,s),10),re=I(SC(e.a,l),10),te=null,ie=null,P(c,193)&&(S=I(SC(e.a,c),305),P(S,12)?te=I(S,12):P(S,10)&&(ee=I(S,10),te=I(zx(ee.j,0),12))),P(u,193)&&(C=I(SC(e.a,u),305),P(C,12)?ie=I(C,12):P(C,10)&&(re=I(C,10),ie=I(zx(re.j,0),12))),!ee||!re)throw k(new cm(`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(h=new zw,UA(h,t),G(h,(Y(),R$),t),G(h,(cB(),B1),null),p=I(K(r,C$),21),ee==re&&p.Fc((cR(),e$)),te||=(x=(Ck(),f2),ne=null,o&&jv(I(K(ee,s0),101))&&(ne=new M(o.j,o.k),yPe(ne,oT(t)),gFe(ne,n),HO(l,s)&&(x=d2,Nb(ne,ee.n))),mst(ee,ne,x,r)),ie||=(x=(Ck(),d2),ae=null,o&&jv(I(K(re,s0),101))&&(ae=new M(o.b,o.c),yPe(ae,oT(t)),gFe(ae,n)),mst(re,ae,x,IC(re))),wT(h,te),DT(h,ie),(te.e.c.length>1||te.g.c.length>1||ie.e.c.length>1||ie.g.c.length>1)&&p.Fc((cR(),YQ)),f=new xy((!t.n&&(t.n=new L(o7,t,1,7)),t.n));f.e!=f.i.gc();)if(d=I(CP(f),135),!Zp(fb(J(d,r0)))&&d.a)switch(g=sM(d),py(h.b,g),I(K(g,k1),278).g){case 1:case 2:p.Fc((cR(),qQ));break;case 0:p.Fc((cR(),GQ)),G(g,k1,(XO(),m8))}if(a=I(K(r,w1),322),_=I(K(r,Q1),323),i=a==(Nk(),CQ)||_==(AP(),Z0),o&&(!o.a&&(o.a=new hy(q5,o,5)),o.a).i!=0&&i){for(v=FI(o),m=new mp,b=vP(v,0);b.b!=b.d.c;)y=I(yE(b),8),Dx(m,new Ev(y));G(h,TOt,m)}return h}function Fft(e,t,n,r){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne=0,C=0,re,ie,ae,oe;for(ee=new Kd,x=I(My(ES(ow(new Hx(null,new UT(e.b,16)),new _ne),new vne)),17).a+1,te=H(q9,DV,28,x,15,1),g=H(q9,DV,28,x,15,1),h=0;h1)for(s=ie+1;sl.b.e.b*(1-_)+l.c.e.b*_));m++);if(S.gc()>0&&(ae=l.a.b==0?iy(l.b.e):I(nb(l.a),8),y=Nb(iy(I(S.Xb(S.gc()-1),40).e),I(S.Xb(S.gc()-1),40).f),f=Nb(iy(I(S.Xb(0),40).e),I(S.Xb(0),40).f),m>=S.gc()-1&&ae.b>y.b&&l.c.e.b>y.b||m<=0&&ae.bl.b.e.a*(1-_)+l.c.e.a*_));m++);if(S.gc()>0&&(ae=l.a.b==0?iy(l.b.e):I(nb(l.a),8),y=Nb(iy(I(S.Xb(S.gc()-1),40).e),I(S.Xb(S.gc()-1),40).f),f=Nb(iy(I(S.Xb(0),40).e),I(S.Xb(0),40).f),m>=S.gc()-1&&ae.a>y.a&&l.c.e.a>y.a||m<=0&&ae.a=A(F(K(e,(Zz(),jPt))))&&++C):(p.f&&p.d.e.a<=A(F(K(e,(Zz(),t4))))&&++ne,p.g&&p.c.e.a+p.c.f.a>=A(F(K(e,(Zz(),APt))))&&++C)}else b==0?f8e(l):b<0&&(++te[ie],++g[oe],re=Dft(l,t,e,new W_(gM(ne),gM(C)),n,r,new W_(gM(g[oe]),gM(te[ie]))),ne=I(re.a,17).a,C=I(re.b,17).a)}function Ift(e,t,n){var r=t,i,a,o,s,c=n,l,u,d,f,p,m,h,g,_,v;if(e.b&&r.j==(Qz(),w5)&&c.j==(Qz(),w5)&&(v=r,r=c,c=v),RS(e.a,r)){if(Ch(I(SC(e.a,r),49),c))return 1}else GC(e.a,r,new If);if(RS(e.a,c)){if(Ch(I(SC(e.a,c),49),r))return-1}else GC(e.a,c,new If);if(RS(e.d,r)){if(Ch(I(SC(e.d,r),49),c))return-1}else GC(e.d,r,new If);if(RS(e.d,c)){if(Ch(I(SC(e.a,c),49),r))return 1}else GC(e.d,c,new If);if(r.j!=c.j)return _=Qme(r.j,c.j),_==-1?jR(e,c,r):jR(e,r,c),_;if(r.e.c.length!=0&&c.e.c.length!=0){if(e.b&&(_=RGe(r,c),_!=0))return _==-1?jR(e,c,r):_==1&&jR(e,r,c),_;if(a=I(zx(r.e,0),18).c.i,u=I(zx(c.e,0),18).c.i,a==u)return i=I(K(I(zx(r.e,0),18),(Y(),L$)),17).a,l=I(K(I(zx(c.e,0),18),L$),17).a,i>l?jR(e,r,c):jR(e,c,r),il);for(m=e.c,h=0,g=m.length;hl?jR(e,r,c):jR(e,c,r),il)):e.b&&(_=RGe(r,c),_!=0)?(_==-1?jR(e,c,r):_==1&&jR(e,r,c),_):(o=0,d=0,rb(I(zx(r.g,0),18),L$)&&(o=I(K(I(zx(r.g,0),18),L$),17).a),rb(I(zx(c.g,0),18),L$)&&(d=I(K(I(zx(r.g,0),18),L$),17).a),s&&s==f?Zp(fb(K(I(zx(r.g,0),18),K$)))&&!Zp(fb(K(I(zx(c.g,0),18),K$)))?(jR(e,r,c),1):!Zp(fb(K(I(zx(r.g,0),18),K$)))&&Zp(fb(K(I(zx(c.g,0),18),K$)))?(jR(e,c,r),-1):(o>d?jR(e,r,c):jR(e,c,r),od)):(e.f&&(e.f._b(s)&&(o=I(e.f.xc(s),17).a),e.f._b(f)&&(d=I(e.f.xc(f),17).a)),o>d?jR(e,r,c):jR(e,c,r),od)))):r.e.c.length!=0&&c.g.c.length!=0?(jR(e,r,c),1):r.g.c.length!=0&&c.e.c.length!=0?(jR(e,c,r),-1):rb(r,(Y(),L$))&&rb(c,L$)?(i=I(K(r,L$),17).a,l=I(K(c,L$),17).a,i>l?jR(e,r,c):jR(e,c,r),il)):(jR(e,c,r),-1)}function Lft(e){e.gb||(e.gb=!0,e.b=IA(e,0),rA(e.b,18),iA(e.b,19),e.a=IA(e,1),rA(e.a,1),iA(e.a,2),iA(e.a,3),iA(e.a,4),iA(e.a,5),e.o=IA(e,2),rA(e.o,8),rA(e.o,9),iA(e.o,10),iA(e.o,11),iA(e.o,12),iA(e.o,13),iA(e.o,14),iA(e.o,15),iA(e.o,16),iA(e.o,17),iA(e.o,18),iA(e.o,19),iA(e.o,20),iA(e.o,21),iA(e.o,22),iA(e.o,23),FO(e.o),FO(e.o),FO(e.o),FO(e.o),FO(e.o),FO(e.o),FO(e.o),FO(e.o),FO(e.o),FO(e.o),e.p=IA(e,3),rA(e.p,2),rA(e.p,3),rA(e.p,4),rA(e.p,5),iA(e.p,6),iA(e.p,7),FO(e.p),FO(e.p),e.q=IA(e,4),rA(e.q,8),e.v=IA(e,5),iA(e.v,9),FO(e.v),FO(e.v),FO(e.v),e.w=IA(e,6),rA(e.w,2),rA(e.w,3),rA(e.w,4),iA(e.w,5),e.B=IA(e,7),iA(e.B,1),FO(e.B),FO(e.B),FO(e.B),e.Q=IA(e,8),iA(e.Q,0),FO(e.Q),e.R=IA(e,9),rA(e.R,1),e.S=IA(e,10),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),FO(e.S),e.T=IA(e,11),iA(e.T,10),iA(e.T,11),iA(e.T,12),iA(e.T,13),iA(e.T,14),FO(e.T),FO(e.T),e.U=IA(e,12),rA(e.U,2),rA(e.U,3),iA(e.U,4),iA(e.U,5),iA(e.U,6),iA(e.U,7),FO(e.U),e.V=IA(e,13),iA(e.V,10),e.W=IA(e,14),rA(e.W,18),rA(e.W,19),rA(e.W,20),iA(e.W,21),iA(e.W,22),iA(e.W,23),e.bb=IA(e,15),rA(e.bb,10),rA(e.bb,11),rA(e.bb,12),rA(e.bb,13),rA(e.bb,14),rA(e.bb,15),rA(e.bb,16),iA(e.bb,17),FO(e.bb),FO(e.bb),e.eb=IA(e,16),rA(e.eb,2),rA(e.eb,3),rA(e.eb,4),rA(e.eb,5),rA(e.eb,6),rA(e.eb,7),iA(e.eb,8),iA(e.eb,9),e.ab=IA(e,17),rA(e.ab,0),rA(e.ab,1),e.H=IA(e,18),iA(e.H,0),iA(e.H,1),iA(e.H,2),iA(e.H,3),iA(e.H,4),iA(e.H,5),FO(e.H),e.db=IA(e,19),iA(e.db,2),e.c=LA(e,20),e.d=LA(e,21),e.e=LA(e,22),e.f=LA(e,23),e.i=LA(e,24),e.g=LA(e,25),e.j=LA(e,26),e.k=LA(e,27),e.n=LA(e,28),e.r=LA(e,29),e.s=LA(e,30),e.t=LA(e,31),e.u=LA(e,32),e.fb=LA(e,33),e.A=LA(e,34),e.C=LA(e,35),e.D=LA(e,36),e.F=LA(e,37),e.G=LA(e,38),e.I=LA(e,39),e.J=LA(e,40),e.L=LA(e,41),e.M=LA(e,42),e.N=LA(e,43),e.O=LA(e,44),e.P=LA(e,45),e.X=LA(e,46),e.Y=LA(e,47),e.Z=LA(e,48),e.$=LA(e,49),e._=LA(e,50),e.cb=LA(e,51),e.K=LA(e,52))}function Rft(e,t,n){var r,i,a,o=new Dh,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=I(K(n,(cB(),E1)),88),ee,te,ne,C,re,ie;for(h=0,aA(o,(!t.a&&(t.a=new L(s7,t,10,11)),t.a));o.b!=0;)u=I(o.b==0?null:(hb(o.b!=0),WO(o,o.a.a)),27),l=_T(u),(N(J(l,_1))!==N((YN(),o2))||N(J(l,T1))===N((JN(),AQ))||N(J(l,T1))===N((JN(),OQ))||Zp(fb(J(l,y1)))||N(J(l,p1))!==N((aP(),rZ))||N(J(l,U1))===N((NR(),e2))||N(J(l,U1))===N((NR(),t2))||N(J(l,W1))===N((YL(),R0))||N(J(l,W1))===N((YL(),B0)))&&!Zp(fb(J(u,h1)))&&PP(u,(Y(),L$),gM(h++)),_=!Zp(fb(J(u,r0))),_&&(f=(!u.a&&(u.a=new L(s7,u,10,11)),u.a).i!=0,m=c2e(u),p=N(J(u,I1))===N((pM(),w8)),ie=!xD(u,(dB(),h6))||WFe(pb(J(u,h6))),b=null,ie&&p&&(f||m)&&(b=Lat(u),G(b,E1,S),rb(b,m0)&&kce(new VJe(A(F(K(b,m0)))),b),I(J(u,$1),181).gc()!=0&&(d=b,Ph(new Hx(null,(!u.c&&(u.c=new L(c7,u,9,9)),new UT(u.c,16))),new Lu(d)),ant(u,b))),ee=n,te=I(SC(e.a,_T(u)),10),te&&(ee=te.e),y=Bdt(e,u,ee),b&&(y.e=b,b.e=y,aA(o,(!u.a&&(u.a=new L(s7,u,10,11)),u.a))));for(h=0,BE(o,t,o.c.b,o.c);o.b!=0;){for(a=I(o.b==0?null:(hb(o.b!=0),WO(o,o.a.a)),27),c=new xy((!a.b&&(a.b=new L(Z5,a,12,3)),a.b));c.e!=c.i.gc();)s=I(CP(c),74),Frt(s),(N(J(t,_1))!==N((YN(),o2))||N(J(t,T1))===N((JN(),AQ))||N(J(t,T1))===N((JN(),OQ))||Zp(fb(J(t,y1)))||N(J(t,p1))!==N((aP(),rZ))||N(J(t,U1))===N((NR(),e2))||N(J(t,U1))===N((NR(),t2))||N(J(t,W1))===N((YL(),R0))||N(J(t,W1))===N((YL(),B0)))&&PP(s,(Y(),L$),gM(h++)),C=cI(I(U((!s.b&&(s.b=new Ib(X5,s,4,7)),s.b),0),84)),re=cI(I(U((!s.c&&(s.c=new Ib(X5,s,5,8)),s.c),0),84)),!(Zp(fb(J(s,r0)))||Zp(fb(J(C,r0)))||Zp(fb(J(re,r0))))&&(g=uL(s)&&Zp(fb(J(C,R1)))&&Zp(fb(J(s,z1))),x=a,g||HO(re,C)?x=C:HO(C,re)&&(x=re),ee=n,te=I(SC(e.a,x),10),te&&(ee=te.e),v=Pft(e,s,x,ee),G(v,(Y(),xOt),Ott(e,s,t,n)));if(p=N(J(a,I1))===N((pM(),w8)),p)for(i=new xy((!a.a&&(a.a=new L(s7,a,10,11)),a.a));i.e!=i.i.gc();)r=I(CP(i),27),ie=!xD(r,(dB(),h6))||WFe(pb(J(r,h6))),ne=N(J(r,I1))===N(w8),ie&&ne&&BE(o,r,o.c.b,o.c)}}function Y(){Y=C;var e,t;R$=new Ad(Umt),xOt=new Ad(`coordinateOrigin`),U$=new Ad(`processors`),bOt=new Eb(`compoundNode`,(Vy(),!1)),E$=new Eb(`insideConnections`,!1),TOt=new Ad(`originalBendpoints`),EOt=new Ad(`originalDummyNodePosition`),DOt=new Ad(`originalLabelEdge`),G$=new Ad(`representedLabels`),g$=new Ad(`endLabels`),_$=new Ad(`endLabel.origin`),A$=new Eb(`labelSide`,(kF(),A8)),I$=new Eb(`maxEdgeThickness`,0),K$=new Eb(`reversed`,!1),W$=new Ad(Wmt),N$=new Eb(`longEdgeSource`,null),P$=new Eb(`longEdgeTarget`,null),M$=new Eb(`longEdgeHasLabelDummies`,!1),j$=new Eb(`longEdgeBeforeLabelDummy`,!1),h$=new Eb(`edgeConstraint`,(gj(),NQ)),O$=new Ad(`inLayerLayoutUnit`),D$=new Eb(`inLayerConstraint`,(gO(),s$)),k$=new Eb(`inLayerSuccessorConstraint`,new qd),wOt=new Eb(`inLayerSuccessorConstraintBetweenNonDummies`,!1),V$=new Ad(`portDummy`),p$=new Eb(`crossingHint`,gM(0)),C$=new Eb(`graphProperties`,(t=I(Xm(t$),9),new Kb(t,I(jb(t,t.length),9),0))),x$=new Eb(`externalPortSide`,(Qz(),C5)),COt=new Eb(`externalPortSize`,new qm),y$=new Ad(`externalPortReplacedDummies`),b$=new Ad(`externalPortReplacedDummy`),v$=new Eb(`externalPortConnections`,(e=I(Xm(T5),9),new Kb(e,I(jb(e,e.length),9),0))),H$=new Eb(Smt,0),yOt=new Ad(`barycenterAssociates`),t1=new Ad(`TopSideComments`),u$=new Ad(`BottomSideComments`),f$=new Ad(`CommentConnectionPort`),T$=new Eb(`inputCollect`,!1),z$=new Eb(`outputCollect`,!1),m$=new Eb(`cyclic`,!1),SOt=new Ad(`crossHierarchyMap`),e1=new Ad(`targetOffset`),new Eb(`splineLabelSize`,new qm),Y$=new Ad(`spacings`),B$=new Eb(`partitionConstraint`,!1),d$=new Ad(`breakingPoint.info`),AOt=new Ad(`splines.survivingEdge`),Q$=new Ad(`splines.route.start`),X$=new Ad(`splines.edgeChain`),kOt=new Ad(`originalPortConstraints`),J$=new Ad(`selfLoopHolder`),Z$=new Ad(`splines.nsPortY`),L$=new Ad(`modelOrder`),F$=new Ad(`longEdgeTargetNode`),S$=new Eb(Tht,!1),q$=new Eb(Tht,!1),w$=new Ad(`layerConstraints.hiddenNodes`),OOt=new Ad(`layerConstraints.opposidePort`),$$=new Ad(`targetNode.modelOrder`)}function zft(e,t,n,i){var a,o,s,c,l,u,d,f,p,m,h;for(f=vP(e.b,0);f.b!=f.d.c;)if(d=I(yE(f),40),!Rb(d.c,MG))for(o=I(VE(new Hx(null,new UT(z8e(d,e),16)),MD(new we,new Ce,new Me,W(j(IY,1),Z,108,0,[(Xj(),PY)]))),15),t==(FM(),l8)||t==u8?o.jd(new ga):o.jd(new _a),h=o.gc(),a=0;a0&&(c=I(nb(I(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=I(nb(I(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(l-m)/(r.Math.abs(c-p)/40)>50&&(m>l?fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a+i/5.3,d.e.b+d.f.b*s-i/2)):fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a+i/5.3,d.e.b+d.f.b*s+i/2)))),fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a,d.e.b+d.f.b*s))):t==u8?(u=A(F(K(d,(Zz(),s4)))),d.e.a-i>u?fv(I(o.Xb(a),65).a,new M(u-n,d.e.b+d.f.b*s)):I(o.Xb(a),65).a.b>0&&(c=I(nb(I(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=I(nb(I(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(l-m)/(r.Math.abs(c-p)/40)>50&&(m>l?fv(I(o.Xb(a),65).a,new M(d.e.a-i/5.3,d.e.b+d.f.b*s-i/2)):fv(I(o.Xb(a),65).a,new M(d.e.a-i/5.3,d.e.b+d.f.b*s+i/2)))),fv(I(o.Xb(a),65).a,new M(d.e.a,d.e.b+d.f.b*s))):t==f8?(u=A(F(K(d,(Zz(),o4)))),d.e.b+d.f.b+i0&&(c=I(nb(I(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=I(nb(I(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(c-p)/(r.Math.abs(l-m)/40)>50&&(p>c?fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s-i/2,d.e.b+i/5.3+d.f.b)):fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s+i/2,d.e.b+i/5.3+d.f.b)))),fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s,d.e.b+d.f.b))):(u=A(F(K(d,(Zz(),s4)))),GWe(I(o.Xb(a),65),e)?fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s,I(nb(I(o.Xb(a),65).a),8).b)):d.e.b-i>u?fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s,u-n)):I(o.Xb(a),65).a.b>0&&(c=I(nb(I(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=I(nb(I(o.Xb(a),65).a),8).b,m=d.e.b+d.f.b/2,i>0&&r.Math.abs(c-p)/(r.Math.abs(l-m)/40)>50&&(p>c?fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s-i/2,d.e.b-i/5.3)):fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s+i/2,d.e.b-i/5.3)))),fv(I(o.Xb(a),65).a,new M(d.e.a+d.f.a*s,d.e.b)))}function dB(){dB=C;var e,t;h6=new Ad(xvt),Q6=new Ad(Svt),JRt=(UP(),t6),qRt=new gv(Pgt,JRt),new Gd,g6=new gv($H,null),YRt=new Ad(Cvt),$Rt=(eI(),oS(p6,W(j(m6,1),Z,298,0,[l6]))),y6=new gv(uG,$Rt),b6=new gv(cG,(Vy(),!1)),ezt=(FM(),d8),x6=new gv(lG,ezt),rzt=(aN(),b8),nzt=new gv(rG,rzt),ozt=new gv(yvt,!1),szt=(pM(),T8),w6=new gv(nG,szt),_zt=new Vv(12),R6=new gv(eU,_zt),D6=new gv(yU,!1),O6=new gv(mG,!1),L6=new gv(SU,!1),Tzt=(rI(),X8),W6=new gv(bU,Tzt),Y6=new Ad(pG),X6=new Ad(mU),Z6=new Ad(_U),$6=new Ad(vU),lzt=new mp,k6=new gv(Ggt,lzt),QRt=new gv(Jgt,!1),czt=new gv(Ygt,!1),new Ad(wvt),uzt=new ap,A6=new gv(Zgt,uzt),I6=new gv(Mgt,!1),new Gd,kzt=new gv(Tvt,1),v6=new Ad(Evt),_6=new Ad(Dvt),a8=new gv(OU,!1),new gv(Ovt,!0),gM(0),new gv(kvt,gM(100)),new gv(Avt,!1),gM(0),new gv(jvt,gM(4e3)),gM(0),new gv(Mvt,gM(400)),new gv(Nvt,!1),new gv(Pvt,!1),new gv(Fvt,!0),new gv(Ivt,!1),ZRt=(wN(),U5),XRt=new gv(bvt,ZRt),Azt=new gv(xgt,10),jzt=new gv(Sgt,10),Mzt=new gv(ZH,20),Nzt=new gv(Cgt,10),Pzt=new gv(gU,2),Fzt=new gv(sG,10),Izt=new gv(wgt,0),t8=new gv(Dgt,5),Lzt=new gv(Tgt,1),Rzt=new gv(Egt,1),n8=new gv(hU,20),zzt=new gv(Ogt,10),Hzt=new gv(kgt,10),e8=new Ad(Agt),Vzt=new zme,Bzt=new gv(Qgt,Vzt),bzt=new Ad(fG),yzt=!1,vzt=new gv(dG,yzt),fzt=new Vv(5),dzt=new gv(Lgt,fzt),pzt=(EL(),t=I(Xm(B8),9),new Kb(t,I(jb(t,t.length),9),0)),j6=new gv(EU,pzt),Czt=(bP(),H8),Szt=new gv(Bgt,Czt),B6=new Ad(Vgt),V6=new Ad(Hgt),H6=new Ad(Ugt),z6=new Ad(Wgt),mzt=(e=I(Xm(A5),9),new Kb(e,I(jb(e,e.length),9),0)),M6=new gv(TU,mzt),gzt=qM((VR(),N5)),F6=new gv(wU,gzt),hzt=new M(0,0),P6=new gv(PU,hzt),N6=new gv(CU,!1),tzt=(XO(),m8),C6=new gv(Kgt,tzt),S6=new gv(xU,!1),new Ad(Lvt),gM(1),new gv(Rvt,null),wzt=new Ad(Xgt),G6=new Ad(qgt),Ozt=(Qz(),C5),J6=new gv(Ngt,Ozt),U6=new Ad(jgt),Ezt=(rL(),qM(t5)),q6=new gv(DU,Ezt),K6=new gv(Rgt,!1),Dzt=new gv(zgt,!0),new Gd,s8=new gv(kU,1),Kzt=new gv(zvt,null),i8=new gv(AU,150),r8=new gv(jU,1.414),o8=new gv(MU,null),Uzt=new gv(Bvt,1),T6=new gv(Fgt,!1),E6=new gv(Igt,!1),izt=new gv(QH,1),azt=(hI(),S8),new gv(Vvt,azt),xzt=!0,Gzt=(fM(),B5),qzt=B5,Wzt=B5}function fB(){fB=C,jEt=new Ng(`DIRECTION_PREPROCESSOR`,0),OEt=new Ng(`COMMENT_PREPROCESSOR`,1),vZ=new Ng(`EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER`,2),SZ=new Ng(`INTERACTIVE_EXTERNAL_PORT_POSITIONER`,3),XEt=new Ng(`PARTITION_PREPROCESSOR`,4),TZ=new Ng(`LABEL_DUMMY_INSERTER`,5),BZ=new Ng(`SELF_LOOP_PREPROCESSOR`,6),AZ=new Ng(`LAYER_CONSTRAINT_PREPROCESSOR`,7),JEt=new Ng(`PARTITION_MIDPROCESSOR`,8),zEt=new Ng(`HIGH_DEGREE_NODE_LAYER_PROCESSOR`,9),KEt=new Ng(`NODE_PROMOTION`,10),kZ=new Ng(`LAYER_CONSTRAINT_POSTPROCESSOR`,11),YEt=new Ng(`PARTITION_POSTPROCESSOR`,12),IEt=new Ng(`HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR`,13),ZEt=new Ng(`SEMI_INTERACTIVE_CROSSMIN_PROCESSOR`,14),SEt=new Ng(`BREAKING_POINT_INSERTER`,15),MZ=new Ng(`LONG_EDGE_SPLITTER`,16),IZ=new Ng(`PORT_SIDE_PROCESSOR`,17),CZ=new Ng(`INVERTED_PORT_PROCESSOR`,18),FZ=new Ng(`PORT_LIST_SORTER`,19),$Et=new Ng(`SORT_BY_INPUT_ORDER_OF_MODEL`,20),PZ=new Ng(`NORTH_SOUTH_PORT_PREPROCESSOR`,21),CEt=new Ng(`BREAKING_POINT_PROCESSOR`,22),qEt=new Ng(hht,23),eDt=new Ng(ght,24),RZ=new Ng(`SELF_LOOP_PORT_RESTORER`,25),QEt=new Ng(`SINGLE_EDGE_GRAPH_WRAPPER`,26),wZ=new Ng(`IN_LAYER_CONSTRAINT_PROCESSOR`,27),NEt=new Ng(`END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR`,28),WEt=new Ng(`LABEL_AND_NODE_SIZE_PROCESSOR`,29),UEt=new Ng(`INNERMOST_NODE_MARGIN_CALCULATOR`,30),VZ=new Ng(`SELF_LOOP_ROUTER`,31),EEt=new Ng(`COMMENT_NODE_MARGIN_CALCULATOR`,32),bZ=new Ng(`END_LABEL_PREPROCESSOR`,33),DZ=new Ng(`LABEL_DUMMY_SWITCHER`,34),TEt=new Ng(`CENTER_LABEL_MANAGEMENT_PROCESSOR`,35),OZ=new Ng(`LABEL_SIDE_SELECTOR`,36),VEt=new Ng(`HYPEREDGE_DUMMY_MERGER`,37),LEt=new Ng(`HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR`,38),GEt=new Ng(`LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR`,39),xZ=new Ng(`HIERARCHICAL_PORT_POSITION_PROCESSOR`,40),kEt=new Ng(`CONSTRAINTS_POSTPROCESSOR`,41),DEt=new Ng(`COMMENT_POSTPROCESSOR`,42),HEt=new Ng(`HYPERNODE_PROCESSOR`,43),REt=new Ng(`HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER`,44),jZ=new Ng(`LONG_EDGE_JOINER`,45),zZ=new Ng(`SELF_LOOP_POSTPROCESSOR`,46),wEt=new Ng(`BREAKING_POINT_REMOVER`,47),NZ=new Ng(`NORTH_SOUTH_PORT_POSTPROCESSOR`,48),BEt=new Ng(`HORIZONTAL_COMPACTOR`,49),EZ=new Ng(`LABEL_DUMMY_REMOVER`,50),PEt=new Ng(`FINAL_SPLINE_BENDPOINTS_CALCULATOR`,51),MEt=new Ng(`END_LABEL_SORTER`,52),LZ=new Ng(`REVERSED_EDGE_RESTORER`,53),yZ=new Ng(`END_LABEL_POSTPROCESSOR`,54),FEt=new Ng(`HIERARCHICAL_NODE_RESIZER`,55),AEt=new Ng(`DIRECTION_POSTPROCESSOR`,56)}function Bft(){Bft=C,_kt=(AO(),jQ),gkt=new gv(Eht,_kt),Pkt=new gv(Dht,(Vy(),!1)),Bkt=(SE(),l$),zkt=new gv(fW,Bkt),iAt=new gv(Oht,!1),aAt=new gv(kht,!0),NOt=new gv(Aht,!1),TAt=(_O(),l2),wAt=new gv(jht,TAt),gM(1),NAt=new gv(Mht,gM(7)),PAt=new gv(Nht,!1),Fkt=new gv(Pht,!1),hkt=(JN(),DQ),mkt=new gv(pW,hkt),rAt=(YL(),H0),nAt=new gv(mW,rAt),qkt=(CN(),o1),Kkt=new gv(Fht,qkt),gM(-1),Gkt=new gv(Iht,null),gM(-1),Jkt=new gv(Lht,gM(-1)),gM(-1),Ykt=new gv(hW,gM(4)),gM(-1),Zkt=new gv(gW,gM(2)),tAt=(NR(),i2),eAt=new gv(_W,tAt),gM(0),$kt=new gv(vW,gM(0)),Ukt=new gv(yW,gM(SB)),pkt=(Nk(),wQ),fkt=new gv(bW,pkt),YOt=new gv(Rht,!1),ikt=new gv(xW,.1),ukt=new gv(SW,!1),okt=new gv(zht,null),skt=new gv(Bht,null),gM(-1),ckt=new gv(Vht,null),gM(-1),lkt=new gv(Hht,gM(-1)),gM(0),XOt=new gv(Uht,gM(40)),nkt=(YA(),i$),tkt=new gv(CW,nkt),QOt=n$,ZOt=new gv(wW,QOt),CAt=(AP(),X0),SAt=new gv(TW,CAt),fAt=new Ad(EW),sAt=(qD(),VQ),oAt=new gv(DW,sAt),uAt=(qF(),UQ),lAt=new gv(OW,uAt),new Gd,hAt=new gv(kW,.3),_At=new Ad(AW),yAt=(VP(),q0),vAt=new gv(jW,yAt),Tkt=(TA(),m2),wkt=new gv(Wht,Tkt),Dkt=(Mj(),_2),Ekt=new gv(Ght,Dkt),kkt=(Yj(),y2),Okt=new gv(MW,kkt),jkt=new gv(NW,.2),Skt=new gv(PW,2),kAt=new gv(Kht,null),jAt=new gv(qht,10),AAt=new gv(Jht,10),MAt=new gv(Yht,20),gM(0),EAt=new gv(Xht,gM(0)),gM(0),DAt=new gv(Zht,gM(0)),gM(0),OAt=new gv(Qht,gM(0)),POt=new gv(FW,!1),ROt=(TI(),WQ),LOt=new gv($ht,ROt),IOt=(bD(),SQ),FOt=new gv(egt,IOt),Lkt=new gv(IW,!1),gM(0),Ikt=new gv(LW,gM(16)),gM(0),Rkt=new gv(RW,gM(5)),rjt=(oj(),S2),njt=new gv(zW,rjt),FAt=new gv(BW,10),RAt=new gv(VW,1),qAt=(Sk(),EQ),KAt=new gv(HW,qAt),VAt=new Ad(UW),WAt=gM(1),gM(0),UAt=new gv(WW,WAt),cjt=(xk(),b2),sjt=new gv(GW,cjt),ijt=new Ad(KW),QAt=new gv(qW,!0),XAt=new gv(JW,2),ejt=new gv(YW,!0),xkt=(kI(),zQ),bkt=new gv(tgt,xkt),ykt=(GI(),_Q),vkt=new gv(ngt,ykt),JOt=(YN(),o2),qOt=new gv(XW,JOt),KOt=new gv(rgt,!1),GOt=new gv(igt,!1),BOt=(aP(),rZ),zOt=new gv(ZW,BOt),WOt=(dM(),U0),UOt=new gv(agt,WOt),VOt=new gv(QW,0),HOt=new gv($W,0),Hkt=kQ,Vkt=CQ,Xkt=V0,Qkt=V0,Wkt=z0,akt=(pM(),w8),dkt=wQ,rkt=wQ,$Ot=wQ,ekt=w8,pAt=$0,mAt=X0,cAt=X0,dAt=X0,gAt=Q0,xAt=$0,bAt=$0,Akt=(aN(),y8),Mkt=y8,Nkt=y2,Ckt=v8,IAt=C2,LAt=x2,zAt=C2,BAt=x2,JAt=C2,YAt=x2,HAt=TQ,GAt=EQ,ljt=C2,ujt=x2,ajt=C2,ojt=x2,$At=x2,ZAt=x2,tjt=x2}function Vft(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C,re,ie,ae,oe,se,w,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De=0,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie;for(oe=t,ce=0,de=oe.length;ce0&&(e.a[ve.p]=De++)}for(Me=0,se=n,le=0,fe=se.length;le0;){for(ve=(hb(Se.b>0),I(Se.a.Xb(Se.c=--Se.b),12)),xe=0,c=new O(ve.e);c.a0&&(ve.j==(Qz(),a5)?(e.a[ve.p]=Me,++Me):(e.a[ve.p]=Me+pe+he,++he))}Me+=he}for(be=new Kd,h=new Tv,ae=t,w=0,ue=ae.length;wu.b&&(u.b=Ce)):ve.i.c==Ee&&(Ceu.c&&(u.c=Ce));for(UD(g,0,g.length,null),je=H(q9,DV,28,g.length,15,1),i=H(q9,DV,28,Me+1,15,1),v=0;v0;)te%2>0&&(a+=Fe[te+1]),te=(te-1)/2|0,++Fe[te];for(C=H(DNt,DB,374,g.length*2,0,1),x=0;x0&&Xw(w.f),J(v,Kzt)!=null&&(c=I(J(v,Kzt),347),be=c.Tg(v),Iv(v,r.Math.max(v.g,be.a),r.Math.max(v.f,be.b)));if(fe=I(J(t,R6),107),m=t.g-(fe.b+fe.c),p=t.f-(fe.d+fe.a),Ce.bh(`Available Child Area: (`+m+`|`+p+`)`),PP(t,g6,m/p),bXe(t,a,i.eh(ue)),I(J(t,o8),280)==V5&&(Xdt(t),Iv(t,fe.b+A(F(J(t,v6)))+fe.c,fe.d+A(F(J(t,_6)))+fe.a)),Ce.bh(`Executed layout algorithm: `+pb(J(t,h6))+` on node `+t.k),I(J(t,o8),280)==B5){if(m<0||p<0)throw k(new sm(`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(xD(t,v6)||xD(t,_6)||Xdt(t),g=A(F(J(t,v6))),h=A(F(J(t,_6))),Ce.bh(`Desired Child Area: (`+g+`|`+h+`)`),me=m/g,he=p/h,pe=r.Math.min(me,r.Math.min(he,A(F(J(t,Uzt))))),PP(t,s8,pe),Ce.bh(t.k+` -- Local Scale Factor (X|Y): (`+me+`|`+he+`)`),x=I(J(t,y6),21),o=0,s=0,pe'?`:Rb(Fyt,e)?`'(?<' or '(? toIndex: `,Jpt=`, toIndex: `,Ypt=`Index: `,Xpt=`, Size: `,fH=`org.eclipse.elk.alg.common`,pH={50:1},Zpt=`org.eclipse.elk.alg.common.compaction`,Qpt=`Scanline/EventHandler`,mH=`org.eclipse.elk.alg.common.compaction.oned`,$pt=`CNode belongs to another CGroup.`,emt=`ISpacingsHandler/1`,hH=`The `,gH=` instance has been finished already.`,tmt=`The direction `,nmt=` is not supported by the CGraph instance.`,rmt=`OneDimensionalCompactor`,imt=`OneDimensionalCompactor/lambda$0$Type`,amt=`Quadruplet`,omt=`ScanlineConstraintCalculator`,smt=`ScanlineConstraintCalculator/ConstraintsScanlineHandler`,cmt=`ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type`,lmt=`ScanlineConstraintCalculator/Timestamp`,umt=`ScanlineConstraintCalculator/lambda$0$Type`,_H={178:1,46:1},vH=`org.eclipse.elk.alg.common.compaction.options`,yH=`org.eclipse.elk.core.data`,dmt=`org.eclipse.elk.polyomino.traversalStrategy`,fmt=`org.eclipse.elk.polyomino.lowLevelSort`,pmt=`org.eclipse.elk.polyomino.highLevelSort`,mmt=`org.eclipse.elk.polyomino.fill`,bH={134:1},xH=`polyomino`,SH=`org.eclipse.elk.alg.common.networksimplex`,CH={183:1,3:1,4:1},hmt=`org.eclipse.elk.alg.common.nodespacing`,wH=`org.eclipse.elk.alg.common.nodespacing.cellsystem`,TH=`CENTER`,gmt={217:1,336:1},_mt={3:1,4:1,5:1,603:1},EH=`LEFT`,DH=`RIGHT`,vmt=`Vertical alignment cannot be null`,ymt=`BOTTOM`,OH=`org.eclipse.elk.alg.common.nodespacing.internal`,kH=`UNDEFINED`,AH=.01,jH=`org.eclipse.elk.alg.common.nodespacing.internal.algorithm`,bmt=`LabelPlacer/lambda$0$Type`,xmt=`LabelPlacer/lambda$1$Type`,Smt=`portRatioOrPosition`,MH=`org.eclipse.elk.alg.common.overlaps`,NH=`DOWN`,PH=`org.eclipse.elk.alg.common.polyomino`,FH=`NORTH`,IH=`EAST`,LH=`SOUTH`,RH=`WEST`,zH=`org.eclipse.elk.alg.common.polyomino.structures`,Cmt=`Direction`,BH=`Grid is only of size `,VH=`. Requested point (`,HH=`) is out of bounds.`,UH=` Given center based coordinates were (`,WH=`org.eclipse.elk.graph.properties`,wmt=`IPropertyHolder`,Tmt={3:1,96:1,137:1},GH=`org.eclipse.elk.alg.common.spore`,Emt=`org.eclipse.elk.alg.common.utils`,KH={205:1},qH=`org.eclipse.elk.core`,Dmt=`Connected Components Compaction`,Omt=`org.eclipse.elk.alg.disco`,JH=`org.eclipse.elk.alg.disco.graph`,YH=`org.eclipse.elk.alg.disco.options`,kmt=`CompactionStrategy`,Amt=`org.eclipse.elk.disco.componentCompaction.strategy`,jmt=`org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm`,Mmt=`org.eclipse.elk.disco.debug.discoGraph`,Nmt=`org.eclipse.elk.disco.debug.discoPolys`,Pmt=`componentCompaction`,XH=`org.eclipse.elk.disco`,ZH=`org.eclipse.elk.spacing.componentComponent`,QH=`org.eclipse.elk.edge.thickness`,$H=`org.eclipse.elk.aspectRatio`,eU=`org.eclipse.elk.padding`,tU=`org.eclipse.elk.alg.disco.transform`,nU=1.5707963267948966,rU=17976931348623157e292,iU={3:1,4:1,5:1,198:1},Fmt={3:1,6:1,4:1,5:1,100:1,115:1},aU=`org.eclipse.elk.alg.force`,Imt=`ComponentsProcessor`,Lmt=`ComponentsProcessor/1`,Rmt=`ElkGraphImporter/lambda$0$Type`,oU=`org.eclipse.elk.alg.force.graph`,zmt=`Component Layout`,Bmt=`org.eclipse.elk.alg.force.model`,sU=`org.eclipse.elk.force.model`,Vmt=`org.eclipse.elk.force.iterations`,Hmt=`org.eclipse.elk.force.repulsivePower`,cU=`org.eclipse.elk.force.temperature`,lU=.001,uU=`org.eclipse.elk.force.repulsion`,dU=`org.eclipse.elk.alg.force.options`,fU=1.600000023841858,pU=`org.eclipse.elk.force`,mU=`org.eclipse.elk.priority`,hU=`org.eclipse.elk.spacing.nodeNode`,gU=`org.eclipse.elk.spacing.edgeLabel`,_U=`org.eclipse.elk.randomSeed`,vU=`org.eclipse.elk.separateConnectedComponents`,yU=`org.eclipse.elk.interactive`,bU=`org.eclipse.elk.portConstraints`,xU=`org.eclipse.elk.edgeLabels.inline`,SU=`org.eclipse.elk.omitNodeMicroLayout`,CU=`org.eclipse.elk.nodeSize.fixedGraphSize`,wU=`org.eclipse.elk.nodeSize.options`,TU=`org.eclipse.elk.nodeSize.constraints`,EU=`org.eclipse.elk.nodeLabels.placement`,DU=`org.eclipse.elk.portLabels.placement`,OU=`org.eclipse.elk.topdownLayout`,kU=`org.eclipse.elk.topdown.scaleFactor`,AU=`org.eclipse.elk.topdown.hierarchicalNodeWidth`,jU=`org.eclipse.elk.topdown.hierarchicalNodeAspectRatio`,MU=`org.eclipse.elk.topdown.nodeType`,Umt=`origin`,Wmt=`random`,Gmt=`boundingBox.upLeft`,Kmt=`boundingBox.lowRight`,qmt=`org.eclipse.elk.stress.fixed`,Jmt=`org.eclipse.elk.stress.desiredEdgeLength`,Ymt=`org.eclipse.elk.stress.dimension`,Xmt=`org.eclipse.elk.stress.epsilon`,Zmt=`org.eclipse.elk.stress.iterationLimit`,NU=`org.eclipse.elk.stress`,Qmt=`ELK Stress`,PU=`org.eclipse.elk.nodeSize.minimum`,FU=`org.eclipse.elk.alg.force.stress`,$mt=`Layered layout`,IU=`org.eclipse.elk.alg.layered`,LU=`org.eclipse.elk.alg.layered.compaction.components`,RU=`org.eclipse.elk.alg.layered.compaction.oned`,zU=`org.eclipse.elk.alg.layered.compaction.oned.algs`,BU=`org.eclipse.elk.alg.layered.compaction.recthull`,VU=`org.eclipse.elk.alg.layered.components`,HU=`NONE`,eht=`MODEL_ORDER`,UU={3:1,6:1,4:1,9:1,5:1,126:1},tht={3:1,6:1,4:1,5:1,150:1,100:1,115:1},WU=`org.eclipse.elk.alg.layered.compound`,GU={47:1},KU=`org.eclipse.elk.alg.layered.graph`,qU=` -> `,nht=`Not supported by LGraph`,rht=`Port side is undefined`,JU={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},YU={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},iht={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},aht=`([{"' \r +`,oht=`)]}"' \r +`,sht=`The given string contains parts that cannot be parsed as numbers.`,XU=`org.eclipse.elk.core.math`,cht={3:1,4:1,140:1,214:1,423:1},lht={3:1,4:1,107:1,214:1,423:1},ZU=`org.eclipse.elk.alg.layered.graph.transform`,uht=`ElkGraphImporter`,dht=`ElkGraphImporter/lambda$1$Type`,fht=`ElkGraphImporter/lambda$2$Type`,pht=`ElkGraphImporter/lambda$4$Type`,QU=`org.eclipse.elk.alg.layered.intermediate`,mht=`Node margin calculation`,hht=`ONE_SIDED_GREEDY_SWITCH`,ght=`TWO_SIDED_GREEDY_SWITCH`,$U=`No implementation is available for the layout processor `,eW=`IntermediateProcessorStrategy`,tW=`Node '`,_ht=`FIRST_SEPARATE`,vht=`LAST_SEPARATE`,yht=`Odd port side processing`,nW=`org.eclipse.elk.alg.layered.intermediate.compaction`,rW=`org.eclipse.elk.alg.layered.intermediate.greedyswitch`,iW=`org.eclipse.elk.alg.layered.p3order.counting`,aW={230:1},oW=`org.eclipse.elk.alg.layered.intermediate.loops`,sW=`org.eclipse.elk.alg.layered.intermediate.loops.ordering`,cW=`org.eclipse.elk.alg.layered.intermediate.loops.routing`,bht=`org.eclipse.elk.alg.layered.intermediate.preserveorder`,lW=`org.eclipse.elk.alg.layered.intermediate.wrapping`,uW=`org.eclipse.elk.alg.layered.options`,dW=`INTERACTIVE`,xht=`GREEDY`,Sht=`DEPTH_FIRST`,Cht=`EDGE_LENGTH`,wht=`SELF_LOOPS`,Tht=`firstTryWithInitialOrder`,Eht=`org.eclipse.elk.layered.directionCongruency`,Dht=`org.eclipse.elk.layered.feedbackEdges`,fW=`org.eclipse.elk.layered.interactiveReferencePoint`,Oht=`org.eclipse.elk.layered.mergeEdges`,kht=`org.eclipse.elk.layered.mergeHierarchyEdges`,Aht=`org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides`,jht=`org.eclipse.elk.layered.portSortingStrategy`,Mht=`org.eclipse.elk.layered.thoroughness`,Nht=`org.eclipse.elk.layered.unnecessaryBendpoints`,Pht=`org.eclipse.elk.layered.generatePositionAndLayerIds`,pW=`org.eclipse.elk.layered.cycleBreaking.strategy`,mW=`org.eclipse.elk.layered.layering.strategy`,Fht=`org.eclipse.elk.layered.layering.layerConstraint`,Iht=`org.eclipse.elk.layered.layering.layerChoiceConstraint`,Lht=`org.eclipse.elk.layered.layering.layerId`,hW=`org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth`,gW=`org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor`,_W=`org.eclipse.elk.layered.layering.nodePromotion.strategy`,vW=`org.eclipse.elk.layered.layering.nodePromotion.maxIterations`,yW=`org.eclipse.elk.layered.layering.coffmanGraham.layerBound`,bW=`org.eclipse.elk.layered.crossingMinimization.strategy`,Rht=`org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder`,xW=`org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness`,SW=`org.eclipse.elk.layered.crossingMinimization.semiInteractive`,zht=`org.eclipse.elk.layered.crossingMinimization.inLayerPredOf`,Bht=`org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf`,Vht=`org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint`,Hht=`org.eclipse.elk.layered.crossingMinimization.positionId`,Uht=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold`,CW=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.type`,wW=`org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type`,TW=`org.eclipse.elk.layered.nodePlacement.strategy`,EW=`org.eclipse.elk.layered.nodePlacement.favorStraightEdges`,DW=`org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening`,OW=`org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment`,kW=`org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening`,AW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility`,jW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default`,Wht=`org.eclipse.elk.layered.edgeRouting.selfLoopDistribution`,Ght=`org.eclipse.elk.layered.edgeRouting.selfLoopOrdering`,MW=`org.eclipse.elk.layered.edgeRouting.splines.mode`,NW=`org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor`,PW=`org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth`,Kht=`org.eclipse.elk.layered.spacing.baseValue`,qht=`org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers`,Jht=`org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers`,Yht=`org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers`,Xht=`org.eclipse.elk.layered.priority.direction`,Zht=`org.eclipse.elk.layered.priority.shortness`,Qht=`org.eclipse.elk.layered.priority.straightness`,FW=`org.eclipse.elk.layered.compaction.connectedComponents`,$ht=`org.eclipse.elk.layered.compaction.postCompaction.strategy`,egt=`org.eclipse.elk.layered.compaction.postCompaction.constraints`,IW=`org.eclipse.elk.layered.highDegreeNodes.treatment`,LW=`org.eclipse.elk.layered.highDegreeNodes.threshold`,RW=`org.eclipse.elk.layered.highDegreeNodes.treeHeight`,zW=`org.eclipse.elk.layered.wrapping.strategy`,BW=`org.eclipse.elk.layered.wrapping.additionalEdgeSpacing`,VW=`org.eclipse.elk.layered.wrapping.correctionFactor`,HW=`org.eclipse.elk.layered.wrapping.cutting.strategy`,UW=`org.eclipse.elk.layered.wrapping.cutting.cuts`,WW=`org.eclipse.elk.layered.wrapping.cutting.msd.freedom`,GW=`org.eclipse.elk.layered.wrapping.validify.strategy`,KW=`org.eclipse.elk.layered.wrapping.validify.forbiddenIndices`,qW=`org.eclipse.elk.layered.wrapping.multiEdge.improveCuts`,JW=`org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty`,YW=`org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges`,tgt=`org.eclipse.elk.layered.edgeLabels.sideSelection`,ngt=`org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy`,XW=`org.eclipse.elk.layered.considerModelOrder.strategy`,rgt=`org.eclipse.elk.layered.considerModelOrder.portModelOrder`,igt=`org.eclipse.elk.layered.considerModelOrder.noModelOrder`,ZW=`org.eclipse.elk.layered.considerModelOrder.components`,agt=`org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy`,QW=`org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence`,$W=`org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence`,eG=`layering`,ogt=`layering.minWidth`,sgt=`layering.nodePromotion`,tG=`crossingMinimization`,nG=`org.eclipse.elk.hierarchyHandling`,cgt=`crossingMinimization.greedySwitch`,lgt=`nodePlacement`,ugt=`nodePlacement.bk`,dgt=`edgeRouting`,rG=`org.eclipse.elk.edgeRouting`,iG=`spacing`,fgt=`priority`,pgt=`compaction`,mgt=`compaction.postCompaction`,hgt=`Specifies whether and how post-process compaction is applied.`,ggt=`highDegreeNodes`,_gt=`wrapping`,vgt=`wrapping.cutting`,ygt=`wrapping.validify`,bgt=`wrapping.multiEdge`,aG=`edgeLabels`,oG=`considerModelOrder`,xgt=`org.eclipse.elk.spacing.commentComment`,Sgt=`org.eclipse.elk.spacing.commentNode`,Cgt=`org.eclipse.elk.spacing.edgeEdge`,sG=`org.eclipse.elk.spacing.edgeNode`,wgt=`org.eclipse.elk.spacing.labelLabel`,Tgt=`org.eclipse.elk.spacing.labelPortHorizontal`,Egt=`org.eclipse.elk.spacing.labelPortVertical`,Dgt=`org.eclipse.elk.spacing.labelNode`,Ogt=`org.eclipse.elk.spacing.nodeSelfLoop`,kgt=`org.eclipse.elk.spacing.portPort`,Agt=`org.eclipse.elk.spacing.individual`,jgt=`org.eclipse.elk.port.borderOffset`,Mgt=`org.eclipse.elk.noLayout`,Ngt=`org.eclipse.elk.port.side`,cG=`org.eclipse.elk.debugMode`,Pgt=`org.eclipse.elk.alignment`,Fgt=`org.eclipse.elk.insideSelfLoops.activate`,Igt=`org.eclipse.elk.insideSelfLoops.yo`,lG=`org.eclipse.elk.direction`,Lgt=`org.eclipse.elk.nodeLabels.padding`,Rgt=`org.eclipse.elk.portLabels.nextToPortIfPossible`,zgt=`org.eclipse.elk.portLabels.treatAsGroup`,Bgt=`org.eclipse.elk.portAlignment.default`,Vgt=`org.eclipse.elk.portAlignment.north`,Hgt=`org.eclipse.elk.portAlignment.south`,Ugt=`org.eclipse.elk.portAlignment.west`,Wgt=`org.eclipse.elk.portAlignment.east`,uG=`org.eclipse.elk.contentAlignment`,Ggt=`org.eclipse.elk.junctionPoints`,Kgt=`org.eclipse.elk.edgeLabels.placement`,qgt=`org.eclipse.elk.port.index`,Jgt=`org.eclipse.elk.commentBox`,Ygt=`org.eclipse.elk.hypernode`,Xgt=`org.eclipse.elk.port.anchor`,dG=`org.eclipse.elk.partitioning.activate`,fG=`org.eclipse.elk.partitioning.partition`,pG=`org.eclipse.elk.position`,Zgt=`org.eclipse.elk.margins`,Qgt=`org.eclipse.elk.spacing.portsSurrounding`,mG=`org.eclipse.elk.interactiveLayout`,hG=`org.eclipse.elk.core.util`,$gt={3:1,4:1,5:1,601:1},e_t=`NETWORK_SIMPLEX`,t_t=`SIMPLE`,gG={106:1,47:1},_G=`org.eclipse.elk.alg.layered.p1cycles`,vG=`org.eclipse.elk.alg.layered.p2layers`,n_t={413:1,230:1},r_t={846:1,3:1,4:1},yG=`org.eclipse.elk.alg.layered.p3order`,bG=`org.eclipse.elk.alg.layered.p4nodes`,i_t={3:1,4:1,5:1,854:1},xG=1e-5,SG=`org.eclipse.elk.alg.layered.p4nodes.bk`,CG=`org.eclipse.elk.alg.layered.p5edges`,wG=`org.eclipse.elk.alg.layered.p5edges.orthogonal`,TG=`org.eclipse.elk.alg.layered.p5edges.orthogonal.direction`,EG=1e-6,DG=`org.eclipse.elk.alg.layered.p5edges.splines`,OG=.09999999999999998,kG=1e-8,a_t=4.71238898038469,o_t=3.141592653589793,AG=`org.eclipse.elk.alg.mrtree`,jG=.10000000149011612,MG=`SUPER_ROOT`,NG=`org.eclipse.elk.alg.mrtree.graph`,s_t=-17976931348623157e292,PG=`org.eclipse.elk.alg.mrtree.intermediate`,c_t=`Processor compute fanout`,FG={3:1,6:1,4:1,5:1,534:1,100:1,115:1},l_t=`Set neighbors in level`,IG=`org.eclipse.elk.alg.mrtree.options`,u_t=`DESCENDANTS`,d_t=`org.eclipse.elk.mrtree.compaction`,f_t=`org.eclipse.elk.mrtree.edgeEndTextureLength`,p_t=`org.eclipse.elk.mrtree.treeLevel`,m_t=`org.eclipse.elk.mrtree.positionConstraint`,h_t=`org.eclipse.elk.mrtree.weighting`,g_t=`org.eclipse.elk.mrtree.edgeRoutingMode`,__t=`org.eclipse.elk.mrtree.searchOrder`,v_t=`Position Constraint`,LG=`org.eclipse.elk.mrtree`,y_t=`org.eclipse.elk.tree`,b_t=`Processor arrange level`,RG=`org.eclipse.elk.alg.mrtree.p2order`,zG=`org.eclipse.elk.alg.mrtree.p4route`,x_t=`org.eclipse.elk.alg.radial`,BG=6.283185307179586,S_t=`Before`,C_t=5e-324,VG=`After`,w_t=`org.eclipse.elk.alg.radial.intermediate`,T_t=`COMPACTION`,HG=`org.eclipse.elk.alg.radial.intermediate.compaction`,E_t={3:1,4:1,5:1,100:1},D_t=`org.eclipse.elk.alg.radial.intermediate.optimization`,UG=`No implementation is available for the layout option `,WG=`org.eclipse.elk.alg.radial.options`,O_t=`org.eclipse.elk.radial.centerOnRoot`,k_t=`org.eclipse.elk.radial.orderId`,A_t=`org.eclipse.elk.radial.radius`,GG=`org.eclipse.elk.radial.rotate`,KG=`org.eclipse.elk.radial.compactor`,qG=`org.eclipse.elk.radial.compactionStepSize`,j_t=`org.eclipse.elk.radial.sorter`,M_t=`org.eclipse.elk.radial.wedgeCriteria`,N_t=`org.eclipse.elk.radial.optimizationCriteria`,JG=`org.eclipse.elk.radial.rotation.targetAngle`,YG=`org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace`,P_t=`org.eclipse.elk.radial.rotation.outgoingEdgeAngles`,F_t=`Compaction`,I_t=`rotation`,XG=`org.eclipse.elk.radial`,L_t=`org.eclipse.elk.alg.radial.p1position.wedge`,R_t=`org.eclipse.elk.alg.radial.sorting`,z_t=5.497787143782138,B_t=3.9269908169872414,V_t=2.356194490192345,H_t=`org.eclipse.elk.alg.rectpacking`,ZG=`org.eclipse.elk.alg.rectpacking.intermediate`,QG=`org.eclipse.elk.alg.rectpacking.options`,U_t=`org.eclipse.elk.rectpacking.trybox`,W_t=`org.eclipse.elk.rectpacking.currentPosition`,G_t=`org.eclipse.elk.rectpacking.desiredPosition`,K_t=`org.eclipse.elk.rectpacking.inNewRow`,q_t=`org.eclipse.elk.rectpacking.widthApproximation.strategy`,J_t=`org.eclipse.elk.rectpacking.widthApproximation.targetWidth`,Y_t=`org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal`,X_t=`org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift`,Z_t=`org.eclipse.elk.rectpacking.packing.strategy`,Q_t=`org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation`,$_t=`org.eclipse.elk.rectpacking.packing.compaction.iterations`,evt=`org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy`,$G=`widthApproximation`,tvt=`Compaction Strategy`,nvt=`packing.compaction`,eK=`org.eclipse.elk.rectpacking`,tK=`org.eclipse.elk.alg.rectpacking.p1widthapproximation`,nK=`org.eclipse.elk.alg.rectpacking.p2packing`,rvt=`No Compaction`,ivt=`org.eclipse.elk.alg.rectpacking.p3whitespaceelimination`,rK=`org.eclipse.elk.alg.rectpacking.util`,iK=`No implementation available for `,aK=`org.eclipse.elk.alg.spore`,oK=`org.eclipse.elk.alg.spore.options`,sK=`org.eclipse.elk.sporeCompaction`,cK=`org.eclipse.elk.underlyingLayoutAlgorithm`,avt=`org.eclipse.elk.processingOrder.treeConstruction`,ovt=`org.eclipse.elk.processingOrder.spanningTreeCostFunction`,lK=`org.eclipse.elk.processingOrder.preferredRoot`,uK=`org.eclipse.elk.processingOrder.rootSelection`,dK=`org.eclipse.elk.structure.structureExtractionStrategy`,svt=`org.eclipse.elk.compaction.compactionStrategy`,cvt=`org.eclipse.elk.compaction.orthogonal`,lvt=`org.eclipse.elk.overlapRemoval.maxIterations`,uvt=`org.eclipse.elk.overlapRemoval.runScanline`,fK=`processingOrder`,dvt=`overlapRemoval`,pK=`org.eclipse.elk.sporeOverlap`,fvt=`org.eclipse.elk.alg.spore.p1structure`,mK=`org.eclipse.elk.alg.spore.p2processingorder`,hK=`org.eclipse.elk.alg.spore.p3execution`,pvt=`Topdown Layout`,mvt=`Invalid index: `,gK=`org.eclipse.elk.core.alg`,_K={341:1},vK={295:1},hvt=`Make sure its type is registered with the `,gvt=` utility class.`,yK=`true`,bK=`false`,_vt=`Couldn't clone property '`,xK=.05,SK=`org.eclipse.elk.core.options`,vvt=1.2999999523162842,CK=`org.eclipse.elk.box`,yvt=`org.eclipse.elk.expandNodes`,bvt=`org.eclipse.elk.box.packingMode`,xvt=`org.eclipse.elk.algorithm`,Svt=`org.eclipse.elk.resolvedAlgorithm`,Cvt=`org.eclipse.elk.bendPoints`,wvt=`org.eclipse.elk.labelManager`,Tvt=`org.eclipse.elk.scaleFactor`,Evt=`org.eclipse.elk.childAreaWidth`,Dvt=`org.eclipse.elk.childAreaHeight`,Ovt=`org.eclipse.elk.animate`,kvt=`org.eclipse.elk.animTimeFactor`,Avt=`org.eclipse.elk.layoutAncestors`,jvt=`org.eclipse.elk.maxAnimTime`,Mvt=`org.eclipse.elk.minAnimTime`,Nvt=`org.eclipse.elk.progressBar`,Pvt=`org.eclipse.elk.validateGraph`,Fvt=`org.eclipse.elk.validateOptions`,Ivt=`org.eclipse.elk.zoomToFit`,Lvt=`org.eclipse.elk.font.name`,Rvt=`org.eclipse.elk.font.size`,zvt=`org.eclipse.elk.topdown.sizeApproximator`,Bvt=`org.eclipse.elk.topdown.scaleCap`,Vvt=`org.eclipse.elk.edge.type`,Hvt=`partitioning`,Uvt=`nodeLabels`,wK=`portAlignment`,TK=`nodeSize`,EK=`port`,Wvt=`portLabels`,DK=`topdown`,Gvt=`insideSelfLoops`,OK=`org.eclipse.elk.fixed`,kK=`org.eclipse.elk.random`,Kvt={3:1,34:1,22:1,347:1},qvt=`port must have a parent node to calculate the port side`,Jvt=`The edge needs to have exactly one edge section. Found: `,AK=`org.eclipse.elk.core.util.adapters`,jK=`org.eclipse.emf.ecore`,MK=`org.eclipse.elk.graph`,Yvt=`EMapPropertyHolder`,Xvt=`ElkBendPoint`,Zvt=`ElkGraphElement`,Qvt=`ElkConnectableShape`,$vt=`ElkEdge`,eyt=`ElkEdgeSection`,tyt=`EModelElement`,nyt=`ENamedElement`,ryt=`ElkLabel`,iyt=`ElkNode`,ayt=`ElkPort`,oyt={94:1,93:1},NK=`org.eclipse.emf.common.notify.impl`,PK=`The feature '`,FK=`' is not a valid changeable feature`,syt=`Expecting null`,IK=`' is not a valid feature`,cyt=`The feature ID`,lyt=` is not a valid feature ID`,LK=32768,uyt={110:1,94:1,93:1,58:1,54:1,99:1},RK=`org.eclipse.emf.ecore.impl`,zK=`org.eclipse.elk.graph.impl`,BK=`Recursive containment not allowed for `,VK=`The datatype '`,HK=`' is not a valid classifier`,UK=`The value '`,WK={195:1,3:1,4:1},GK=`The class '`,KK=`http://www.eclipse.org/elk/ElkGraph`,dyt=`property`,qK=`value`,JK=`source`,fyt=`properties`,pyt=`identifier`,YK=`height`,XK=`width`,ZK=`parent`,QK=`text`,$K=`children`,myt=`hierarchical`,hyt=`sources`,eq=`targets`,gyt=`sections`,tq=`bendPoints`,_yt=`outgoingShape`,vyt=`incomingShape`,yyt=`outgoingSections`,byt=`incomingSections`,nq=`org.eclipse.emf.common.util`,xyt=`Severe implementation error in the Json to ElkGraph importer.`,rq=`id`,iq=`org.eclipse.elk.graph.json`,Syt=`Unhandled parameter types: `,Cyt=`startPoint`,wyt=`An edge must have at least one source and one target (edge id: '`,aq=`').`,Tyt=`Referenced edge section does not exist: `,Eyt=` (edge id: '`,Dyt=`target`,Oyt=`sourcePoint`,kyt=`targetPoint`,oq=`group`,sq=`name`,Ayt=`connectableShape cannot be null`,jyt=`edge cannot be null`,cq=`Passed edge is not 'simple'.`,lq=`org.eclipse.elk.graph.util`,uq=`The 'no duplicates' constraint is violated`,dq=`targetIndex=`,fq=`, size=`,pq=`sourceIndex=`,mq={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},hq={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},gq=`logging`,Myt=`measureExecutionTime`,Nyt=`parser.parse.1`,Pyt=`parser.parse.2`,_q=`parser.next.1`,vq=`parser.next.2`,Fyt=`parser.next.3`,Iyt=`parser.next.4`,yq=`parser.factor.1`,Lyt=`parser.factor.2`,Ryt=`parser.factor.3`,zyt=`parser.factor.4`,Byt=`parser.factor.5`,Vyt=`parser.factor.6`,Hyt=`parser.atom.1`,Uyt=`parser.atom.2`,Wyt=`parser.atom.3`,Gyt=`parser.atom.4`,bq=`parser.atom.5`,Kyt=`parser.cc.1`,xq=`parser.cc.2`,qyt=`parser.cc.3`,Jyt=`parser.cc.5`,Yyt=`parser.cc.6`,Xyt=`parser.cc.7`,Sq=`parser.cc.8`,Zyt=`parser.ope.1`,Qyt=`parser.ope.2`,$yt=`parser.ope.3`,Cq=`parser.descape.1`,ebt=`parser.descape.2`,tbt=`parser.descape.3`,nbt=`parser.descape.4`,rbt=`parser.descape.5`,wq=`parser.process.1`,ibt=`parser.quantifier.1`,abt=`parser.quantifier.2`,obt=`parser.quantifier.3`,sbt=`parser.quantifier.4`,cbt=`parser.quantifier.5`,lbt=`org.eclipse.emf.common.notify`,ubt={424:1,686:1},dbt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},Tq={378:1,152:1},Eq=`index=`,fbt={3:1,4:1,5:1,129:1},pbt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},mbt={3:1,6:1,4:1,5:1,198:1},hbt={3:1,4:1,5:1,173:1,379:1},gbt=`;/?:@&=+$,`,_bt=`invalid authority: `,vbt=`EAnnotation`,ybt=`ETypedElement`,bbt=`EStructuralFeature`,xbt=`EAttribute`,Sbt=`EClassifier`,Cbt=`EEnumLiteral`,wbt=`EGenericType`,Tbt=`EOperation`,Ebt=`EParameter`,Dbt=`EReference`,Obt=`ETypeParameter`,Dq=`org.eclipse.emf.ecore.util`,kbt={79:1},Abt={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},jbt=`org.eclipse.emf.ecore.util.FeatureMap$Entry`,Oq=8192,kq=2048,Aq=`byte`,jq=`char`,Mq=`double`,Nq=`float`,Pq=`int`,Fq=`long`,Iq=`short`,Mbt=`java.lang.Object`,Lq={3:1,4:1,5:1,254:1},Nbt={3:1,4:1,5:1,688:1},Pbt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Rq={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},zq=`mixed`,Bq=`http:///org/eclipse/emf/ecore/util/ExtendedMetaData`,Vq=`kind`,Fbt={3:1,4:1,5:1,689:1},Ibt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},Hq={20:1,31:1,56:1,16:1,15:1,61:1,71:1},Uq={51:1,128:1,287:1},Wq={76:1,343:1},Gq=`The value of type '`,Kq=`' must be of type '`,qq=1352,Jq=`http://www.eclipse.org/emf/2002/Ecore`,Yq=-32768,Xq=`constraints`,Zq=`baseType`,Lbt=`getEStructuralFeature`,Rbt=`getFeatureID`,Qq=`feature`,zbt=`getOperationID`,Bbt=`operation`,Vbt=`defaultValue`,Hbt=`eTypeParameters`,Ubt=`isInstance`,Wbt=`getEEnumLiteral`,Gbt=`eContainingClass`,$q={57:1},Kbt={3:1,4:1,5:1,124:1},qbt=`org.eclipse.emf.ecore.resource`,Jbt={94:1,93:1,599:1,2034:1},eJ=`org.eclipse.emf.ecore.resource.impl`,Ybt=`unspecified`,tJ=`simple`,nJ=`attribute`,Xbt=`attributeWildcard`,rJ=`element`,iJ=`elementWildcard`,aJ=`collapse`,oJ=`itemType`,sJ=`namespace`,cJ=`##targetNamespace`,lJ=`whiteSpace`,Zbt=`wildcards`,uJ=`http://www.eclipse.org/emf/2003/XMLType`,dJ=`##any`,fJ=`uninitialized`,pJ=`The multiplicity constraint is violated`,mJ=`org.eclipse.emf.ecore.xml.type`,Qbt=`ProcessingInstruction`,$bt=`SimpleAnyType`,ext=`XMLTypeDocumentRoot`,hJ=`org.eclipse.emf.ecore.xml.type.impl`,gJ=`INF`,txt=`processing`,nxt=`ENTITIES_._base`,rxt=`minLength`,ixt=`ENTITY`,_J=`NCName`,axt=`IDREFS_._base`,oxt=`integer`,vJ=`token`,yJ=`pattern`,sxt=`[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*`,cxt=`\\i\\c*`,lxt=`[\\i-[:]][\\c-[:]]*`,uxt=`nonPositiveInteger`,bJ=`maxInclusive`,dxt=`NMTOKEN`,fxt=`NMTOKENS_._base`,pxt=`nonNegativeInteger`,xJ=`minInclusive`,mxt=`normalizedString`,hxt=`unsignedByte`,gxt=`unsignedInt`,_xt=`18446744073709551615`,vxt=`unsignedShort`,yxt=`processingInstruction`,SJ=`org.eclipse.emf.ecore.xml.type.internal`,CJ=1114111,bxt=`Internal Error: shorthands: \\u`,wJ=`xml:isDigit`,TJ=`xml:isWord`,EJ=`xml:isSpace`,DJ=`xml:isNameChar`,OJ=`xml:isInitialNameChar`,xxt=`09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩`,Sxt=`AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣`,Cxt=`Private Use`,kJ=`ASSIGNED`,AJ=`\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾＀￯`,wxt=`UNASSIGNED`,jJ={3:1,122:1},Txt=`org.eclipse.emf.ecore.xml.type.util`,MJ={3:1,4:1,5:1,381:1},Ext=`org.eclipse.xtext.xbase.lib`,Dxt=`Cannot add elements to a Range`,Oxt=`Cannot set elements in a Range`,kxt=`Cannot remove elements from a Range`,Axt=`user.agent`,Q,NJ,jxt,Mxt=-1;r.goog=r.goog||{},r.goog.global=r.goog.global||r,NJ={},q(1,null,{},a),Q.Fb=function(e){return Tme(this,e)},Q.Gb=function(){return this.Rm},Q.Hb=function(){return zy(this)},Q.Ib=function(){var e;return Qm(Qj(this))+`@`+(e=$k(this)>>>0,e.toString(16))},Q.equals=function(e){return this.Fb(e)},Q.hashCode=function(){return this.Hb()},Q.toString=function(){return this.Ib()};var Nxt,Pxt,Fxt;q(297,1,{297:1,2124:1},vWe),Q.ve=function(e){var t=new vWe;return t.i=4,e>1?t.c=PAe(this,e-1):t.c=this,t},Q.we=function(){return mb(this),this.b},Q.xe=function(){return Qm(this)},Q.ye=function(){return mb(this),this.k},Q.ze=function(){return(this.i&4)!=0},Q.Ae=function(){return(this.i&1)!=0},Q.Ib=function(){return Nze(this)},Q.i=0;var Ixt=1,PJ=z(CB,`Object`,1),Lxt=z(CB,`Class`,297);q(2096,1,wB),z(TB,`Optional`,2096),q(1191,2096,wB,o),Q.Fb=function(e){return e===this},Q.Hb=function(){return 2040732332},Q.Ib=function(){return`Optional.absent()`},Q.Jb=function(e){return hC(e),Ap(),FJ};var FJ;z(TB,`Absent`,1191),q(636,1,{},_m),z(TB,`Joiner`,636);var Rxt=Mx(TB,`Predicate`);q(589,1,{178:1,589:1,3:1,46:1},Wc),Q.Mb=function(e){return NWe(this,e)},Q.Lb=function(e){return NWe(this,e)},Q.Fb=function(e){var t;return P(e,589)?(t=I(e,589),s7e(this.a,t.a)):!1},Q.Hb=function(){return IWe(this.a)+306654252},Q.Ib=function(){return S3e(this.a)},z(TB,`Predicates/AndPredicate`,589),q(419,2096,{419:1,3:1},Gc),Q.Fb=function(e){var t;return P(e,419)?(t=I(e,419),EM(this.a,t.a)):!1},Q.Hb=function(){return 1502476572+$k(this.a)},Q.Ib=function(){return $ft+this.a+`)`},Q.Jb=function(e){return new Gc(Ow(e.Kb(this.a),`the Function passed to Optional.transform() must not return null.`))},z(TB,`Present`,419),q(204,1,kB),Q.Nb=function(e){LS(this,e)},Q.Qb=function(){Wce()},z(AB,`UnmodifiableIterator`,204),q(2076,204,jB),Q.Qb=function(){Wce()},Q.Rb=function(e){throw k(new Sf)},Q.Wb=function(e){throw k(new Sf)},z(AB,`UnmodifiableListIterator`,2076),q(399,2076,jB),Q.Ob=function(){return this.c0},Q.Pb=function(){if(this.c>=this.d)throw k(new Tf);return this.Xb(this.c++)},Q.Tb=function(){return this.c},Q.Ub=function(){if(this.c<=0)throw k(new Tf);return this.Xb(--this.c)},Q.Vb=function(){return this.c-1},Q.c=0,Q.d=0,z(AB,`AbstractIndexedListIterator`,399),q(713,204,kB),Q.Ob=function(){return AVe(this)},Q.Pb=function(){return PRe(this)},Q.e=1,z(AB,`AbstractIterator`,713),q(2084,1,{229:1}),Q.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},Q.Fb=function(e){return Lj(this,e)},Q.Hb=function(){return $k(this.Zb())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return fS(this)},Q.Ib=function(){return mN(this.Zb())},z(AB,`AbstractMultimap`,2084),q(742,2084,MB),Q.$b=function(){kk(this)},Q._b=function(e){return Jle(this,e)},Q.ac=function(){return new mh(this,this.c)},Q.ic=function(e){return this.hc()},Q.bc=function(){return new Cy(this,this.c)},Q.jc=function(){return this.mc(this.hc())},Q.kc=function(){return new Fp(this)},Q.lc=function(){return pI(this.c.vc().Nc(),new c,64,this.d)},Q.cc=function(e){return rD(this,e)},Q.fc=function(e){return aM(this,e)},Q.gc=function(){return this.d},Q.mc=function(e){return Ew(),new Xl(e)},Q.nc=function(){return new lce(this)},Q.oc=function(){return pI(this.c.Cc().Nc(),new s,64,this.d)},Q.pc=function(e,t){return new fD(this,e,t,null)},Q.d=0,z(AB,`AbstractMapBasedMultimap`,742),q(1696,742,MB),Q.hc=function(){return new gD(this.a)},Q.jc=function(){return Ew(),Ew(),xY},Q.cc=function(e){return I(rD(this,e),15)},Q.fc=function(e){return I(aM(this,e),15)},Q.Zb=function(){return ww(this)},Q.Fb=function(e){return Lj(this,e)},Q.qc=function(e){return I(rD(this,e),15)},Q.rc=function(e){return I(aM(this,e),15)},Q.mc=function(e){return Pw(I(e,15))},Q.pc=function(e,t){return yNe(this,e,I(t,15),null)},z(AB,`AbstractListMultimap`,1696),q(748,1,NB),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return this.c.Ob()||this.e.Ob()},Q.Pb=function(){var e;return this.e.Ob()||(e=I(this.c.Pb(),44),this.b=e.ld(),this.a=I(e.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},Q.Qb=function(){this.e.Qb(),I(zC(this.a),16).dc()&&this.c.Qb(),--this.d.d},z(AB,`AbstractMapBasedMultimap/Itr`,748),q(1129,748,NB,lce),Q.sc=function(e,t){return t},z(AB,`AbstractMapBasedMultimap/1`,1129),q(1130,1,{},s),Q.Kb=function(e){return I(e,16).Nc()},z(AB,`AbstractMapBasedMultimap/1methodref$spliterator$Type`,1130),q(1131,748,NB,Fp),Q.sc=function(e,t){return new gh(e,t)},z(AB,`AbstractMapBasedMultimap/2`,1131);var zxt=Mx(PB,`Map`);q(2065,1,FB),Q.wc=function(e){CA(this,e)},Q.yc=function(e,t,n){return dN(this,e,t,n)},Q.$b=function(){this.vc().$b()},Q.tc=function(e){return lF(this,e)},Q._b=function(e){return!!O0e(this,e,!1)},Q.uc=function(e){var t,n,r;for(n=this.vc().Kc();n.Ob();)if(t=I(n.Pb(),44),r=t.md(),N(e)===N(r)||e!=null&&EM(e,r))return!0;return!1},Q.Fb=function(e){var t,n,r;if(e===this)return!0;if(!P(e,85)||(r=I(e,85),this.gc()!=r.gc()))return!1;for(n=r.vc().Kc();n.Ob();)if(t=I(n.Pb(),44),!this.tc(t))return!1;return!0},Q.xc=function(e){return X_(O0e(this,e,!1))},Q.Hb=function(){return QUe(this.vc())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return new Rl(this)},Q.zc=function(e,t){throw k(new om(`Put not supported on this map`))},Q.Ac=function(e){yA(this,e)},Q.Bc=function(e){return X_(O0e(this,e,!0))},Q.gc=function(){return this.vc().gc()},Q.Ib=function(){return V0e(this)},Q.Cc=function(){return new Gl(this)},z(PB,`AbstractMap`,2065),q(2085,2065,FB),Q.bc=function(){return new vh(this)},Q.vc=function(){return CTe(this)},Q.ec=function(){return this.g||=this.bc()},Q.Cc=function(){return this.i||=new Xue(this)},z(AB,`Maps/ViewCachingAbstractMap`,2085),q(402,2085,FB,mh),Q.xc=function(e){return Fze(this,e)},Q.Bc=function(e){return CGe(this,e)},Q.$b=function(){this.d==this.e.c?this.e.$b():Lx(new xwe(this))},Q._b=function(e){return AKe(this.d,e)},Q.Ec=function(){return new Kc(this)},Q.Dc=function(){return this.Ec()},Q.Fb=function(e){return this===e||EM(this.d,e)},Q.Hb=function(){return $k(this.d)},Q.ec=function(){return this.e.ec()},Q.gc=function(){return this.d.gc()},Q.Ib=function(){return mN(this.d)},z(AB,`AbstractMapBasedMultimap/AsMap`,402);var IJ=Mx(CB,`Iterable`);q(31,1,IB),Q.Jc=function(e){WE(this,e)},Q.Lc=function(){return this.Oc()},Q.Nc=function(){return new UT(this,0)},Q.Oc=function(){return new Hx(null,this.Nc())},Q.Fc=function(e){throw k(new om(`Add not supported on this collection`))},Q.Gc=function(e){return aA(this,e)},Q.$b=function(){dOe(this)},Q.Hc=function(e){return TN(this,e,!1)},Q.Ic=function(e){return $A(this,e)},Q.dc=function(){return this.gc()==0},Q.Mc=function(e){return TN(this,e,!0)},Q.Pc=function(){return TTe(this)},Q.Qc=function(e){return cF(this,e)},Q.Ib=function(){return CI(this)},z(PB,`AbstractCollection`,31);var LJ=Mx(PB,`Set`);q(LB,31,RB),Q.Nc=function(){return new UT(this,1)},Q.Fb=function(e){return UYe(this,e)},Q.Hb=function(){return QUe(this)},z(PB,`AbstractSet`,LB),q(2068,LB,RB),z(AB,`Sets/ImprovedAbstractSet`,2068),q(2069,2068,RB),Q.$b=function(){this.Rc().$b()},Q.Hc=function(e){return nYe(this,e)},Q.dc=function(){return this.Rc().dc()},Q.Mc=function(e){var t;return this.Hc(e)&&P(e,44)?(t=I(e,44),this.Rc().ec().Mc(t.ld())):!1},Q.gc=function(){return this.Rc().gc()},z(AB,`Maps/EntrySet`,2069),q(1127,2069,RB,Kc),Q.Hc=function(e){return jKe(this.a.d.vc(),e)},Q.Kc=function(){return new xwe(this.a)},Q.Rc=function(){return this.a},Q.Mc=function(e){var t;return jKe(this.a.d.vc(),e)?(t=I(zC(I(e,44)),44),QFe(this.a.e,t.ld()),!0):!1},Q.Nc=function(){return ux(this.a.d.vc().Nc(),new Sie(this.a))},z(AB,`AbstractMapBasedMultimap/AsMap/AsMapEntries`,1127),q(1128,1,{},Sie),Q.Kb=function(e){return HFe(this.a,I(e,44))},z(AB,`AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type`,1128),q(746,1,NB,xwe),Q.Nb=function(e){LS(this,e)},Q.Pb=function(){var e;return e=I(this.b.Pb(),44),this.a=I(e.md(),16),HFe(this.c,e)},Q.Ob=function(){return this.b.Ob()},Q.Qb=function(){Yb(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},z(AB,`AbstractMapBasedMultimap/AsMap/AsMapIterator`,746),q(542,2068,RB,vh),Q.$b=function(){this.b.$b()},Q.Hc=function(e){return this.b._b(e)},Q.Jc=function(e){hC(e),this.b.wc(new Pie(e))},Q.dc=function(){return this.b.dc()},Q.Kc=function(){return new Vp(this.b.vc().Kc())},Q.Mc=function(e){return this.b._b(e)?(this.b.Bc(e),!0):!1},Q.gc=function(){return this.b.gc()},z(AB,`Maps/KeySet`,542),q(327,542,RB,Cy),Q.$b=function(){var e;Lx((e=this.b.vc().Kc(),new Lue(this,e)))},Q.Ic=function(e){return this.b.ec().Ic(e)},Q.Fb=function(e){return this===e||EM(this.b.ec(),e)},Q.Hb=function(){return $k(this.b.ec())},Q.Kc=function(){var e;return e=this.b.vc().Kc(),new Lue(this,e)},Q.Mc=function(e){var t,n=0;return t=I(this.b.Bc(e),16),t&&(n=t.gc(),t.$b(),this.a.d-=n),n>0},Q.Nc=function(){return this.b.ec().Nc()},z(AB,`AbstractMapBasedMultimap/KeySet`,327),q(747,1,NB,Lue),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return this.c.Ob()},Q.Pb=function(){return this.a=I(this.c.Pb(),44),this.a.ld()},Q.Qb=function(){var e;Yb(!!this.a),e=I(this.a.md(),16),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},z(AB,`AbstractMapBasedMultimap/KeySet/1`,747),q(503,402,{85:1,133:1},yb),Q.bc=function(){return this.Sc()},Q.ec=function(){return this.Uc()},Q.Sc=function(){return new fh(this.c,this.Wc())},Q.Tc=function(){return this.Wc().Tc()},Q.Uc=function(){var e;return e=this.b,e||(this.b=this.Sc())},Q.Vc=function(){return this.Wc().Vc()},Q.Wc=function(){return I(this.d,133)},z(AB,`AbstractMapBasedMultimap/SortedAsMap`,503),q(446,503,ept,bb),Q.bc=function(){return new ph(this.a,I(I(this.d,133),139))},Q.Sc=function(){return new ph(this.a,I(I(this.d,133),139))},Q.ec=function(){var e;return e=this.b,I(e||(this.b=new ph(this.a,I(I(this.d,133),139))),277)},Q.Uc=function(){var e;return e=this.b,I(e||(this.b=new ph(this.a,I(I(this.d,133),139))),277)},Q.Wc=function(){return I(I(this.d,133),139)},Q.Xc=function(e){return I(I(this.d,133),139).Xc(e)},Q.Yc=function(e){return I(I(this.d,133),139).Yc(e)},Q.Zc=function(e,t){return new bb(this.a,I(I(this.d,133),139).Zc(e,t))},Q.$c=function(e){return I(I(this.d,133),139).$c(e)},Q._c=function(e){return I(I(this.d,133),139)._c(e)},Q.ad=function(e,t){return new bb(this.a,I(I(this.d,133),139).ad(e,t))},z(AB,`AbstractMapBasedMultimap/NavigableAsMap`,446),q(502,327,tpt,fh),Q.Nc=function(){return this.b.ec().Nc()},z(AB,`AbstractMapBasedMultimap/SortedKeySet`,502),q(401,502,npt,ph),z(AB,`AbstractMapBasedMultimap/NavigableKeySet`,401),q(551,31,IB,fD),Q.Fc=function(e){var t,n;return _N(this),n=this.d.dc(),t=this.d.Fc(e),t&&(++this.f.d,n&&Ab(this)),t},Q.Gc=function(e){var t,n,r;return e.dc()?!1:(r=(_N(this),this.d.gc()),t=this.d.Gc(e),t&&(n=this.d.gc(),this.f.d+=n-r,r==0&&Ab(this)),t)},Q.$b=function(){var e=(_N(this),this.d.gc());e!=0&&(this.d.$b(),this.f.d-=e,$x(this))},Q.Hc=function(e){return _N(this),this.d.Hc(e)},Q.Ic=function(e){return _N(this),this.d.Ic(e)},Q.Fb=function(e){return e===this?!0:(_N(this),EM(this.d,e))},Q.Hb=function(){return _N(this),$k(this.d)},Q.Kc=function(){return _N(this),new nCe(this)},Q.Mc=function(e){var t;return _N(this),t=this.d.Mc(e),t&&(--this.f.d,$x(this)),t},Q.gc=function(){return ame(this)},Q.Nc=function(){return _N(this),this.d.Nc()},Q.Ib=function(){return _N(this),mN(this.d)},z(AB,`AbstractMapBasedMultimap/WrappedCollection`,551);var RJ=Mx(PB,`List`);q(744,551,{20:1,31:1,16:1,15:1},ITe),Q.jd=function(e){Xk(this,e)},Q.Nc=function(){return _N(this),this.d.Nc()},Q.bd=function(e,t){var n;_N(this),n=this.d.dc(),I(this.d,15).bd(e,t),++this.a.d,n&&Ab(this)},Q.cd=function(e,t){var n,r,i;return t.dc()?!1:(i=(_N(this),this.d.gc()),n=I(this.d,15).cd(e,t),n&&(r=this.d.gc(),this.a.d+=r-i,i==0&&Ab(this)),n)},Q.Xb=function(e){return _N(this),I(this.d,15).Xb(e)},Q.dd=function(e){return _N(this),I(this.d,15).dd(e)},Q.ed=function(){return _N(this),new Che(this)},Q.fd=function(e){return _N(this),new MOe(this,e)},Q.gd=function(e){var t;return _N(this),t=I(this.d,15).gd(e),--this.a.d,$x(this),t},Q.hd=function(e,t){return _N(this),I(this.d,15).hd(e,t)},Q.kd=function(e,t){return _N(this),yNe(this.a,this.e,I(this.d,15).kd(e,t),this.b?this.b:this)},z(AB,`AbstractMapBasedMultimap/WrappedList`,744),q(1126,744,{20:1,31:1,16:1,15:1,59:1},w_e),z(AB,`AbstractMapBasedMultimap/RandomAccessWrappedList`,1126),q(628,1,NB,nCe),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return xw(this),this.b.Ob()},Q.Pb=function(){return xw(this),this.b.Pb()},Q.Qb=function(){Bge(this)},z(AB,`AbstractMapBasedMultimap/WrappedCollection/WrappedIterator`,628),q(745,628,zB,Che,MOe),Q.Qb=function(){Bge(this)},Q.Rb=function(e){var t=ame(this.a)==0;(xw(this),I(this.b,128)).Rb(e),++this.a.a.d,t&&Ab(this.a)},Q.Sb=function(){return(xw(this),I(this.b,128)).Sb()},Q.Tb=function(){return(xw(this),I(this.b,128)).Tb()},Q.Ub=function(){return(xw(this),I(this.b,128)).Ub()},Q.Vb=function(){return(xw(this),I(this.b,128)).Vb()},Q.Wb=function(e){(xw(this),I(this.b,128)).Wb(e)},z(AB,`AbstractMapBasedMultimap/WrappedList/WrappedListIterator`,745),q(743,551,tpt,kve),Q.Nc=function(){return _N(this),this.d.Nc()},z(AB,`AbstractMapBasedMultimap/WrappedSortedSet`,743),q(1125,743,npt,nhe),z(AB,`AbstractMapBasedMultimap/WrappedNavigableSet`,1125),q(1124,551,RB,Ave),Q.Nc=function(){return _N(this),this.d.Nc()},z(AB,`AbstractMapBasedMultimap/WrappedSet`,1124),q(1133,1,{},c),Q.Kb=function(e){return OIe(I(e,44))},z(AB,`AbstractMapBasedMultimap/lambda$1$Type`,1133),q(1132,1,{},Eie),Q.Kb=function(e){return new gh(this.a,e)},z(AB,`AbstractMapBasedMultimap/lambda$2$Type`,1132);var zJ=Mx(PB,`Map/Entry`);q(358,1,BB),Q.Fb=function(e){var t;return P(e,44)?(t=I(e,44),FC(this.ld(),t.ld())&&FC(this.md(),t.md())):!1},Q.Hb=function(){var e=this.ld(),t=this.md();return(e==null?0:$k(e))^(t==null?0:$k(t))},Q.nd=function(e){throw k(new Sf)},Q.Ib=function(){return this.ld()+`=`+this.md()},z(AB,rpt,358),q(2086,31,IB),Q.$b=function(){this.od().$b()},Q.Hc=function(e){var t;return P(e,44)?(t=I(e,44),LMe(this.od(),t.ld(),t.md())):!1},Q.Mc=function(e){var t;return P(e,44)?(t=I(e,44),RMe(this.od(),t.ld(),t.md())):!1},Q.gc=function(){return this.od().d},z(AB,`Multimaps/Entries`,2086),q(749,2086,IB,qc),Q.Kc=function(){return this.a.kc()},Q.od=function(){return this.a},Q.Nc=function(){return this.a.lc()},z(AB,`AbstractMultimap/Entries`,749),q(750,749,RB,Ip),Q.Nc=function(){return this.a.lc()},Q.Fb=function(e){return e3e(this,e)},Q.Hb=function(){return eHe(this)},z(AB,`AbstractMultimap/EntrySet`,750),q(751,31,IB,Jc),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return dGe(this.a,e)},Q.Kc=function(){return this.a.nc()},Q.gc=function(){return this.a.d},Q.Nc=function(){return this.a.oc()},z(AB,`AbstractMultimap/Values`,751),q(2087,31,{849:1,20:1,31:1,16:1}),Q.Jc=function(e){hC(e),lw(this).Jc(new sl(e))},Q.Nc=function(){var e;return e=lw(this).Nc(),pI(e,new g,64|e.yd()&1296,this.a.d)},Q.Fc=function(e){return Kce(),!0},Q.Gc=function(e){return hC(this),hC(e),P(e,552)?XMe(I(e,849)):!e.dc()&&SO(this,e.Kc())},Q.Hc=function(e){var t;return t=I(bM(ww(this.a),e),16),(t?t.gc():0)>0},Q.Fb=function(e){return j7e(this,e)},Q.Hb=function(){return $k(lw(this))},Q.dc=function(){return lw(this).dc()},Q.Mc=function(e){return m8e(this,e,1)>0},Q.Ib=function(){return mN(lw(this))},z(AB,`AbstractMultiset`,2087),q(2089,2068,RB),Q.$b=function(){kk(this.a.a)},Q.Hc=function(e){var t,n;return P(e,504)?(n=I(e,425),I(n.a.md(),16).gc()<=0?!1:(t=ije(this.a,n.a.ld()),t==I(n.a.md(),16).gc())):!1},Q.Mc=function(e){var t,n,r,i;return P(e,504)&&(n=I(e,425),t=n.a.ld(),r=I(n.a.md(),16).gc(),r!=0)?(i=this.a,h8e(i,t,r)):!1},z(AB,`Multisets/EntrySet`,2089),q(1139,2089,RB,Yc),Q.Kc=function(){return new gce(CTe(ww(this.a.a)).Kc())},Q.gc=function(){return ww(this.a.a).gc()},z(AB,`AbstractMultiset/EntrySet`,1139),q(627,742,MB),Q.hc=function(){return this.pd()},Q.jc=function(){return this.qd()},Q.cc=function(e){return this.rd(e)},Q.fc=function(e){return this.sd(e)},Q.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},Q.qd=function(){return Ew(),Ew(),CY},Q.Fb=function(e){return Lj(this,e)},Q.rd=function(e){return I(rD(this,e),21)},Q.sd=function(e){return I(aM(this,e),21)},Q.mc=function(e){return Ew(),new wm(I(e,21))},Q.pc=function(e,t){return new Ave(this,e,I(t,21))},z(AB,`AbstractSetMultimap`,627),q(1723,627,MB),Q.hc=function(){return new ih(this.b)},Q.pd=function(){return new ih(this.b)},Q.jc=function(){return yDe(new ih(this.b))},Q.qd=function(){return yDe(new ih(this.b))},Q.cc=function(e){return I(I(rD(this,e),21),87)},Q.rd=function(e){return I(I(rD(this,e),21),87)},Q.fc=function(e){return I(I(aM(this,e),21),87)},Q.sd=function(e){return I(I(aM(this,e),21),87)},Q.mc=function(e){return P(e,277)?yDe(I(e,277)):(Ew(),new i_e(I(e,87)))},Q.Zb=function(){var e;return e=this.f,e||(this.f=P(this.c,139)?new bb(this,I(this.c,139)):P(this.c,133)?new yb(this,I(this.c,133)):new mh(this,this.c))},Q.pc=function(e,t){return P(t,277)?new nhe(this,e,I(t,277)):new kve(this,e,I(t,87))},z(AB,`AbstractSortedSetMultimap`,1723),q(1724,1723,MB),Q.Zb=function(){var e;return e=this.f,I(I(e||(this.f=P(this.c,139)?new bb(this,I(this.c,139)):P(this.c,133)?new yb(this,I(this.c,133)):new mh(this,this.c)),133),139)},Q.ec=function(){var e;return e=this.i,I(I(e||(this.i=P(this.c,139)?new ph(this,I(this.c,139)):P(this.c,133)?new fh(this,I(this.c,133)):new Cy(this,this.c)),87),277)},Q.bc=function(){return P(this.c,139)?new ph(this,I(this.c,139)):P(this.c,133)?new fh(this,I(this.c,133)):new Cy(this,this.c)},z(AB,`AbstractSortedKeySortedSetMultimap`,1724),q(2109,1,{2046:1}),Q.Fb=function(e){return O1e(this,e)},Q.Hb=function(){var e;return QUe((e=this.g,e||(this.g=new Xc(this))))},Q.Ib=function(){var e;return V0e((e=this.f,e||(this.f=new Vge(this))))},z(AB,`AbstractTable`,2109),q(679,LB,RB,Xc),Q.$b=function(){qce()},Q.Hc=function(e){var t,n;return P(e,479)?(t=I(e,697),n=I(bM(UEe(this.a),iv(t.c.e,t.b)),85),!!n&&jKe(n.vc(),new gh(iv(t.c.c,t.a),uD(t.c,t.b,t.a)))):!1},Q.Kc=function(){return ike(this.a)},Q.Mc=function(e){var t,n;return P(e,479)?(t=I(e,697),n=I(bM(UEe(this.a),iv(t.c.e,t.b)),85),!!n&&MKe(n.vc(),new gh(iv(t.c.c,t.a),uD(t.c,t.b,t.a)))):!1},Q.gc=function(){return hwe(this.a)},Q.Nc=function(){return sNe(this.a)},z(AB,`AbstractTable/CellSet`,679),q(2025,31,IB,Oie),Q.$b=function(){qce()},Q.Hc=function(e){return Z0e(this.a,e)},Q.Kc=function(){return ake(this.a)},Q.gc=function(){return hwe(this.a)},Q.Nc=function(){return NMe(this.a)},z(AB,`AbstractTable/Values`,2025),q(1697,1696,MB),z(AB,`ArrayListMultimapGwtSerializationDependencies`,1697),q(520,1697,MB,Dm,oje),Q.hc=function(){return new gD(this.a)},Q.a=0,z(AB,`ArrayListMultimap`,520),q(678,2109,{678:1,2046:1,3:1},t5e),z(AB,`ArrayTable`,678),q(2021,399,jB,Hge),Q.Xb=function(e){return new yWe(this.a,e)},z(AB,`ArrayTable/1`,2021),q(2022,1,{},Cie),Q.td=function(e){return new yWe(this.a,e)},z(AB,`ArrayTable/1methodref$getCell$Type`,2022),q(2110,1,{697:1}),Q.Fb=function(e){var t;return e===this?!0:P(e,479)?(t=I(e,697),FC(iv(this.c.e,this.b),iv(t.c.e,t.b))&&FC(iv(this.c.c,this.a),iv(t.c.c,t.a))&&FC(uD(this.c,this.b,this.a),uD(t.c,t.b,t.a))):!1},Q.Hb=function(){return eM(W(j(PJ,1),DB,1,5,[iv(this.c.e,this.b),iv(this.c.c,this.a),uD(this.c,this.b,this.a)]))},Q.Ib=function(){return`(`+iv(this.c.e,this.b)+`,`+iv(this.c.c,this.a)+`)=`+uD(this.c,this.b,this.a)},z(AB,`Tables/AbstractCell`,2110),q(479,2110,{479:1,697:1},yWe),Q.a=0,Q.b=0,Q.d=0,z(AB,`ArrayTable/2`,479),q(2024,1,{},wie),Q.td=function(e){return fRe(this.a,e)},z(AB,`ArrayTable/2methodref$getValue$Type`,2024),q(2023,399,jB,Uge),Q.Xb=function(e){return fRe(this.a,e)},z(AB,`ArrayTable/3`,2023),q(2077,2065,FB),Q.$b=function(){Lx(this.kc())},Q.vc=function(){return new Nie(this)},Q.lc=function(){return new yOe(this.kc(),this.gc())},z(AB,`Maps/IteratorBasedAbstractMap`,2077),q(842,2077,FB),Q.$b=function(){throw k(new Sf)},Q._b=function(e){return Yle(this.c,e)},Q.kc=function(){return new Wge(this,this.c.b.c.gc())},Q.lc=function(){return Fx(this.c.b.c.gc(),16,new Tie(this))},Q.xc=function(e){var t=I(Hb(this.c,e),17);return t?this.vd(t.a):null},Q.dc=function(){return this.c.b.c.dc()},Q.ec=function(){return hS(this.c)},Q.zc=function(e,t){var n=I(Hb(this.c,e),17);if(!n)throw k(new rm(this.ud()+` `+e+` not in `+hS(this.c)));return this.wd(n.a,t)},Q.Bc=function(e){throw k(new Sf)},Q.gc=function(){return this.c.b.c.gc()},z(AB,`ArrayTable/ArrayMap`,842),q(2020,1,{},Tie),Q.td=function(e){return GEe(this.a,e)},z(AB,`ArrayTable/ArrayMap/0methodref$getEntry$Type`,2020),q(2018,358,BB,Aue),Q.ld=function(){return O_e(this.a,this.b)},Q.md=function(){return this.a.vd(this.b)},Q.nd=function(e){return this.a.wd(this.b,e)},Q.b=0,z(AB,`ArrayTable/ArrayMap/1`,2018),q(2019,399,jB,Wge),Q.Xb=function(e){return GEe(this.a,e)},z(AB,`ArrayTable/ArrayMap/2`,2019),q(2017,842,FB,tEe),Q.ud=function(){return`Column`},Q.vd=function(e){return uD(this.b,this.a,e)},Q.wd=function(e,t){return JUe(this.b,this.a,e,t)},Q.a=0,z(AB,`ArrayTable/Row`,2017),q(843,842,FB,Vge),Q.vd=function(e){return new tEe(this.a,e)},Q.zc=function(e,t){return I(t,85),Jce()},Q.wd=function(e,t){return I(t,85),Yce()},Q.ud=function(){return`Row`},z(AB,`ArrayTable/RowMap`,843),q(1157,1,HB,jue),Q.Ad=function(e){return(this.a.yd()&-262&e)!=0},Q.yd=function(){return this.a.yd()&-262},Q.zd=function(){return this.a.zd()},Q.Nb=function(e){this.a.Nb(new Nue(e,this.b))},Q.Bd=function(e){return this.a.Bd(new Mue(e,this.b))},z(AB,`CollectSpliterators/1`,1157),q(1158,1,UB,Mue),Q.Cd=function(e){this.a.Cd(this.b.Kb(e))},z(AB,`CollectSpliterators/1/lambda$0$Type`,1158),q(1159,1,UB,Nue),Q.Cd=function(e){this.a.Cd(this.b.Kb(e))},z(AB,`CollectSpliterators/1/lambda$1$Type`,1159),q(1154,1,HB,pbe),Q.Ad=function(e){return((16464|this.b)&e)!=0},Q.yd=function(){return 16464|this.b},Q.zd=function(){return this.a.zd()},Q.Nb=function(e){this.a.Qe(new Fue(e,this.c))},Q.Bd=function(e){return this.a.Re(new Pue(e,this.c))},Q.b=0,z(AB,`CollectSpliterators/1WithCharacteristics`,1154),q(1155,1,WB,Pue),Q.Dd=function(e){this.a.Cd(this.b.td(e))},z(AB,`CollectSpliterators/1WithCharacteristics/lambda$0$Type`,1155),q(1156,1,WB,Fue),Q.Dd=function(e){this.a.Cd(this.b.td(e))},z(AB,`CollectSpliterators/1WithCharacteristics/lambda$1$Type`,1156),q(1150,1,HB),Q.Ad=function(e){return(this.a&e)!=0},Q.yd=function(){return this.a},Q.zd=function(){return this.e&&(this.b=Phe(this.b,this.e.zd())),Phe(this.b,0)},Q.Nb=function(e){this.e&&=(this.e.Nb(e),null),this.c.Nb(new Iue(this,e)),this.b=0},Q.Bd=function(e){for(;;){if(this.e&&this.e.Bd(e))return nv(this.b,GB)&&(this.b=nN(this.b,1)),!0;if(this.e=null,!this.c.Bd(new Zc(this)))return!1}},Q.a=0,Q.b=0,z(AB,`CollectSpliterators/FlatMapSpliterator`,1150),q(1152,1,UB,Zc),Q.Cd=function(e){ebe(this.a,e)},z(AB,`CollectSpliterators/FlatMapSpliterator/lambda$0$Type`,1152),q(1153,1,UB,Iue),Q.Cd=function(e){pOe(this.a,this.b,e)},z(AB,`CollectSpliterators/FlatMapSpliterator/lambda$1$Type`,1153),q(1151,1150,HB,gNe),z(AB,`CollectSpliterators/FlatMapSpliteratorOfObject`,1151),q(253,1,KB),Q.Fd=function(e){return this.Ed(I(e,253))},Q.Ed=function(e){var t;return e==(Mp(),VJ)?1:e==(jp(),BJ)?-1:(t=(Sx(),vA(this.a,e.a)),t==0?P(this,526)==P(e,526)?0:P(this,526)?1:-1:t)},Q.Id=function(){return this.a},Q.Fb=function(e){return fQe(this,e)},z(AB,`Cut`,253),q(1823,253,KB,Pp),Q.Ed=function(e){return e==this?0:1},Q.Gd=function(e){throw k(new gf)},Q.Hd=function(e){e.a+=`+∞)`},Q.Id=function(){throw k(new im(apt))},Q.Hb=function(){return Oh(),zYe(this)},Q.Jd=function(e){return!1},Q.Ib=function(){return`+∞`};var BJ;z(AB,`Cut/AboveAll`,1823),q(526,253,{253:1,526:1,3:1,34:1},t_e),Q.Gd=function(e){lv((e.a+=`(`,e),this.a)},Q.Hd=function(e){AC(lv(e,this.a),93)},Q.Hb=function(){return~$k(this.a)},Q.Jd=function(e){return Sx(),vA(this.a,e)<0},Q.Ib=function(){return`/`+this.a+`\\`},z(AB,`Cut/AboveValue`,526),q(1822,253,KB,Np),Q.Ed=function(e){return e==this?0:-1},Q.Gd=function(e){e.a+=`(-∞`},Q.Hd=function(e){throw k(new gf)},Q.Id=function(){throw k(new im(apt))},Q.Hb=function(){return Oh(),zYe(this)},Q.Jd=function(e){return!0},Q.Ib=function(){return`-∞`};var VJ;z(AB,`Cut/BelowAll`,1822),q(1824,253,KB,n_e),Q.Gd=function(e){lv((e.a+=`[`,e),this.a)},Q.Hd=function(e){AC(lv(e,this.a),41)},Q.Hb=function(){return $k(this.a)},Q.Jd=function(e){return Sx(),vA(this.a,e)<=0},Q.Ib=function(){return`\\`+this.a+`/`},z(AB,`Cut/BelowValue`,1824),q(547,1,qB),Q.Jc=function(e){WE(this,e)},Q.Ib=function(){return bqe(I(Ow(this,`use Optional.orNull() instead of Optional.or(null)`),20).Kc())},z(AB,`FluentIterable`,547),q(442,547,qB,Dv),Q.Kc=function(){return new SS(Ty(this.a.Kc(),new d))},z(AB,`FluentIterable/2`,442),q(1059,547,qB,Yme),Q.Kc=function(){return BS(this)},z(AB,`FluentIterable/3`,1059),q(724,399,jB,Gge),Q.Xb=function(e){return this.a[e].Kc()},z(AB,`FluentIterable/3/1`,724),q(2070,1,{}),Q.Ib=function(){return mN(this.Kd().b)},z(AB,`ForwardingObject`,2070),q(2071,2070,opt),Q.Kd=function(){return this.Ld()},Q.Jc=function(e){WE(this,e)},Q.Lc=function(){return this.Oc()},Q.Nc=function(){return new UT(this,0)},Q.Oc=function(){return new Hx(null,this.Nc())},Q.Fc=function(e){return this.Ld(),eue()},Q.Gc=function(e){return this.Ld(),tue()},Q.$b=function(){this.Ld(),nue()},Q.Hc=function(e){return this.Ld().Hc(e)},Q.Ic=function(e){return this.Ld().Ic(e)},Q.dc=function(){return this.Ld().b.dc()},Q.Kc=function(){return this.Ld().Kc()},Q.Mc=function(e){return this.Ld(),rue()},Q.gc=function(){return this.Ld().b.gc()},Q.Pc=function(){return this.Ld().Pc()},Q.Qc=function(e){return this.Ld().Qc(e)},z(AB,`ForwardingCollection`,2071),q(2078,31,spt),Q.Kc=function(){return this.Od()},Q.Fc=function(e){throw k(new Sf)},Q.Gc=function(e){throw k(new Sf)},Q.Md=function(){return this.c||=this.Nd()},Q.$b=function(){throw k(new Sf)},Q.Hc=function(e){return e!=null&&TN(this,e,!1)},Q.Nd=function(){switch(this.gc()){case 0:return _C(),_C(),HJ;case 1:return _C(),new Rx(hC(this.Od().Pb()));default:return new rEe(this,this.Pc())}},Q.Mc=function(e){throw k(new Sf)},z(AB,`ImmutableCollection`,2078),q(727,2078,spt,uf),Q.Kc=function(){return RD(this.a.Kc())},Q.Hc=function(e){return e!=null&&this.a.Hc(e)},Q.Ic=function(e){return this.a.Ic(e)},Q.dc=function(){return this.a.dc()},Q.Od=function(){return RD(this.a.Kc())},Q.gc=function(){return this.a.gc()},Q.Pc=function(){return this.a.Pc()},Q.Qc=function(e){return this.a.Qc(e)},Q.Ib=function(){return mN(this.a)},z(AB,`ForwardingImmutableCollection`,727),q(307,2078,JB),Q.Kc=function(){return this.Od()},Q.ed=function(){return this.Pd(0)},Q.fd=function(e){return this.Pd(e)},Q.jd=function(e){Xk(this,e)},Q.Nc=function(){return new UT(this,16)},Q.kd=function(e,t){return this.Qd(e,t)},Q.bd=function(e,t){throw k(new Sf)},Q.cd=function(e,t){throw k(new Sf)},Q.Md=function(){return this},Q.Fb=function(e){return _7e(this,e)},Q.Hb=function(){return fUe(this)},Q.dd=function(e){return e==null?-1:oQe(this,e)},Q.Od=function(){return this.Pd(0)},Q.Pd=function(e){return Zy(this,e)},Q.gd=function(e){throw k(new Sf)},Q.hd=function(e,t){throw k(new Sf)},Q.Qd=function(e,t){var n;return hM((n=new Jue(this),new PT(n,e,t)))};var HJ;z(AB,`ImmutableList`,307),q(2105,307,JB),Q.Kc=function(){return RD(this.Rd().Kc())},Q.kd=function(e,t){return hM(this.Rd().kd(e,t))},Q.Hc=function(e){return e!=null&&this.Rd().Hc(e)},Q.Ic=function(e){return this.Rd().Ic(e)},Q.Fb=function(e){return EM(this.Rd(),e)},Q.Xb=function(e){return iv(this,e)},Q.Hb=function(){return $k(this.Rd())},Q.dd=function(e){return this.Rd().dd(e)},Q.dc=function(){return this.Rd().dc()},Q.Od=function(){return RD(this.Rd().Kc())},Q.gc=function(){return this.Rd().gc()},Q.Qd=function(e,t){return hM(this.Rd().kd(e,t))},Q.Pc=function(){return this.Rd().Qc(H(PJ,DB,1,this.Rd().gc(),5,1))},Q.Qc=function(e){return this.Rd().Qc(e)},Q.Ib=function(){return mN(this.Rd())},z(AB,`ForwardingImmutableList`,2105),q(729,1,XB),Q.vc=function(){return mS(this)},Q.wc=function(e){CA(this,e)},Q.ec=function(){return hS(this)},Q.yc=function(e,t,n){return dN(this,e,t,n)},Q.Cc=function(){return this.Vd()},Q.$b=function(){throw k(new Sf)},Q._b=function(e){return this.xc(e)!=null},Q.uc=function(e){return this.Vd().Hc(e)},Q.Td=function(){return new df(this)},Q.Ud=function(){return new Lse(this)},Q.Fb=function(e){return mGe(this,e)},Q.Hb=function(){return mS(this).Hb()},Q.dc=function(){return this.gc()==0},Q.zc=function(e,t){return Gce()},Q.Bc=function(e){throw k(new Sf)},Q.Ib=function(){return O4e(this)},Q.Vd=function(){return this.e?this.e:this.e=this.Ud()},Q.c=null,Q.d=null,Q.e=null;var Bxt;z(AB,`ImmutableMap`,729),q(730,729,XB),Q._b=function(e){return Yle(this,e)},Q.uc=function(e){return tde(this.b,e)},Q.Sd=function(){return EKe(new Die(this))},Q.Td=function(){return EKe(GDe(this.b))},Q.Ud=function(){return Jb(),new uf(WDe(this.b))},Q.Fb=function(e){return nde(this.b,e)},Q.xc=function(e){return Hb(this,e)},Q.Hb=function(){return $k(this.b.c)},Q.dc=function(){return this.b.c.dc()},Q.gc=function(){return this.b.c.gc()},Q.Ib=function(){return mN(this.b.c)},z(AB,`ForwardingImmutableMap`,730),q(2072,2071,ZB),Q.Kd=function(){return this.Wd()},Q.Ld=function(){return this.Wd()},Q.Nc=function(){return new UT(this,1)},Q.Fb=function(e){return e===this||this.Wd().Fb(e)},Q.Hb=function(){return this.Wd().Hb()},z(AB,`ForwardingSet`,2072),q(1085,2072,ZB,Die),Q.Kd=function(){return qC(this.a.b)},Q.Ld=function(){return qC(this.a.b)},Q.Hc=function(e){if(P(e,44)&&I(e,44).ld()==null)return!1;try{return ede(qC(this.a.b),e)}catch(e){if(e=ej(e),P(e,212))return!1;throw k(e)}},Q.Wd=function(){return qC(this.a.b)},Q.Qc=function(e){var t=xke(qC(this.a.b),e);return qC(this.a.b).b.gc()=0?`+`:``)+(n/60|0),t=Cv(r.Math.abs(n)%60),(J2e(),MSt)[this.q.getDay()]+` `+NSt[this.q.getMonth()]+` `+Cv(this.q.getDate())+` `+Cv(this.q.getHours())+`:`+Cv(this.q.getMinutes())+`:`+Cv(this.q.getSeconds())+` GMT`+e+t+` `+this.q.getFullYear()};var ZJ=z(PB,`Date`,206);q(2015,206,Mpt,e1e),Q.a=!1,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=0,Q.g=!1,Q.i=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0,Q.p=0,z(`com.google.gwt.i18n.shared.impl`,`DateRecord`,2015),q(2064,1,{}),Q.pe=function(){return null},Q.qe=function(){return null},Q.re=function(){return null},Q.se=function(){return null},Q.te=function(){return null},z(OV,`JSONValue`,2064),q(221,2064,{221:1},ml,ul),Q.Fb=function(e){return P(e,221)?Gje(this.a,I(e,221).a):!1},Q.oe=function(){return $d},Q.Hb=function(){return oke(this.a)},Q.pe=function(){return this},Q.Ib=function(){var e,t,n=new ky(`[`);for(t=0,e=this.a.length;t0&&(n.a+=`,`),lv(n,wO(this,t));return n.a+=`]`,n.a},z(OV,`JSONArray`,221),q(493,2064,{493:1},dl),Q.oe=function(){return Mse},Q.qe=function(){return this},Q.Ib=function(){return Vy(),``+this.a},Q.a=!1;var Qxt,$xt;z(OV,`JSONBoolean`,493),q(997,63,dV,yce),z(OV,`JSONException`,997),q(1036,2064,{},te),Q.oe=function(){return Nse},Q.Ib=function(){return OB};var eSt;z(OV,`JSONNull`,1036),q(263,2064,{263:1},fl),Q.Fb=function(e){return P(e,263)?this.a==I(e,263).a:!1},Q.oe=function(){return Qd},Q.Hb=function(){return bv(this.a)},Q.re=function(){return this},Q.Ib=function(){return this.a+``},Q.a=0,z(OV,`JSONNumber`,263),q(190,2064,{190:1},Up,pl),Q.Fb=function(e){return P(e,190)?Gje(this.a,I(e,190).a):!1},Q.oe=function(){return jse},Q.Hb=function(){return oke(this.a)},Q.se=function(){return this},Q.Ib=function(){var e,t,n,r,i,a,o=new ky(`{`);for(e=!0,a=oA(this,H(dY,X,2,0,6,1)),n=a,r=0,i=n.length;r=0?`:`+this.c:``)+`)`},Q.c=0;var gSt=z(CB,`StackTraceElement`,319);Fxt={3:1,484:1,34:1,2:1};var dY=z(CB,fpt,2);q(111,427,{484:1},ym,bm,Oy),z(CB,`StringBuffer`,111),q(104,427,{484:1},xm,Sm,ky),z(CB,`StringBuilder`,104),q(702,77,IV,Xce),z(CB,`StringIndexOutOfBoundsException`,702),q(2145,1,{});var _St;q(48,63,{3:1,103:1,63:1,82:1,48:1},Sf,om),z(CB,`UnsupportedOperationException`,48),q(247,242,{3:1,34:1,242:1,247:1},MM,uue),Q.Fd=function(e){return Uat(this,I(e,247))},Q.ue=function(){return OI(Hst(this))},Q.Fb=function(e){var t;return this===e?!0:P(e,247)?(t=I(e,247),this.e==t.e&&Uat(this,t)==0):!1},Q.Hb=function(){var e;return this.b==0?this.a<54?(e=zA(this.f),this.b=dS(GT(e,-1)),this.b=33*this.b+dS(GT(vS(e,32),-1)),this.b=17*this.b+iT(this.e),this.b):(this.b=17*aKe(this.c)+iT(this.e),this.b):this.b},Q.Ib=function(){return Hst(this)},Q.a=0,Q.b=0,Q.d=0,Q.e=0,Q.f=0;var vSt,fY,ySt,bSt,xSt,SSt,CSt,wSt,pY=z(`java.math`,`BigDecimal`,247);q(92,242,{3:1,34:1,242:1,92:1},ME,$je,YS,eXe,Bv),Q.Fd=function(e){return FYe(this,I(e,92))},Q.ue=function(){return OI(sB(this,0))},Q.Fb=function(e){return hJe(this,e)},Q.Hb=function(){return aKe(this)},Q.Ib=function(){return sB(this,0)},Q.b=-2,Q.c=0,Q.d=0,Q.e=0;var TSt,mY,ESt,hY,gY,_Y,vY=z(`java.math`,`BigInteger`,92),DSt,OSt,yY,bY;q(498,2065,FB),Q.$b=function(){US(this)},Q._b=function(e){return RS(this,e)},Q.uc=function(e){return hGe(this,e,this.i)||hGe(this,e,this.f)},Q.vc=function(){return new zl(this)},Q.xc=function(e){return SC(this,e)},Q.zc=function(e,t){return GC(this,e,t)},Q.Bc=function(e){return sD(this,e)},Q.gc=function(){return wh(this)},Q.g=0,z(PB,`AbstractHashMap`,498),q(267,LB,RB,zl),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return ZMe(this,e)},Q.Kc=function(){return new OA(this.a)},Q.Mc=function(e){var t;return ZMe(this,e)?(t=I(e,44).ld(),this.a.Bc(t),!0):!1},Q.gc=function(){return this.a.gc()},z(PB,`AbstractHashMap/EntrySet`,267),q(268,1,NB,OA),Q.Nb=function(e){LS(this,e)},Q.Pb=function(){return Wk(this)},Q.Ob=function(){return this.b},Q.Qb=function(){IRe(this)},Q.b=!1,Q.d=0,z(PB,`AbstractHashMap/EntrySetIterator`,268),q(426,1,NB,tu),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return ug(this)},Q.Pb=function(){return jOe(this)},Q.Qb=function(){jC(this)},Q.b=0,Q.c=-1,z(PB,`AbstractList/IteratorImpl`,426),q(98,426,zB,tE),Q.Qb=function(){jC(this)},Q.Rb=function(e){kb(this,e)},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Ub=function(){return hb(this.b>0),this.a.Xb(this.c=--this.b)},Q.Vb=function(){return this.b-1},Q.Wb=function(e){gb(this.c!=-1),this.a.hd(this.c,e)},z(PB,`AbstractList/ListIteratorImpl`,98),q(244,56,aV,PT),Q.bd=function(e,t){BT(e,this.b),this.c.bd(this.a+e,t),++this.b},Q.Xb=function(e){return VT(e,this.b),this.c.Xb(this.a+e)},Q.gd=function(e){var t;return VT(e,this.b),t=this.c.gd(this.a+e),--this.b,t},Q.hd=function(e,t){return VT(e,this.b),this.c.hd(this.a+e,t)},Q.gc=function(){return this.b},Q.a=0,Q.b=0,z(PB,`AbstractList/SubList`,244),q(266,LB,RB,Rl),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return this.a._b(e)},Q.Kc=function(){var e;return e=this.a.vc().Kc(),new Wl(e)},Q.Mc=function(e){return this.a._b(e)?(this.a.Bc(e),!0):!1},Q.gc=function(){return this.a.gc()},z(PB,`AbstractMap/1`,266),q(541,1,NB,Wl),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){var e;return e=I(this.a.Pb(),44),e.ld()},Q.Qb=function(){this.a.Qb()},z(PB,`AbstractMap/1/1`,541),q(231,31,IB,Gl),Q.$b=function(){this.a.$b()},Q.Hc=function(e){return this.a.uc(e)},Q.Kc=function(){var e;return e=this.a.vc().Kc(),new Kl(e)},Q.gc=function(){return this.a.gc()},z(PB,`AbstractMap/2`,231),q(301,1,NB,Kl),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){var e;return e=I(this.a.Pb(),44),e.md()},Q.Qb=function(){this.a.Qb()},z(PB,`AbstractMap/2/1`,301),q(494,1,{494:1,44:1}),Q.Fb=function(e){var t;return P(e,44)?(t=I(e,44),YC(this.d,t.ld())&&YC(this.e,t.md())):!1},Q.ld=function(){return this.d},Q.md=function(){return this.e},Q.Hb=function(){return Gv(this.d)^Gv(this.e)},Q.nd=function(e){return nye(this,e)},Q.Ib=function(){return this.d+`=`+this.e},z(PB,`AbstractMap/AbstractEntry`,494),q(397,494,{494:1,397:1,44:1},vg),z(PB,`AbstractMap/SimpleEntry`,397),q(2082,1,YV),Q.Fb=function(e){var t;return P(e,44)?(t=I(e,44),YC(this.ld(),t.ld())&&YC(this.md(),t.md())):!1},Q.Hb=function(){return Gv(this.ld())^Gv(this.md())},Q.Ib=function(){return this.ld()+`=`+this.md()},z(PB,rpt,2082),q(2090,2065,ept),Q.Xc=function(e){return Zm(this.Ee(e))},Q.tc=function(e){return VFe(this,e)},Q._b=function(e){return rye(this,e)},Q.vc=function(){return new Jl(this)},Q.Tc=function(){return oEe(this.Ge())},Q.Yc=function(e){return Zm(this.He(e))},Q.xc=function(e){var t=e;return X_(this.Fe(t))},Q.$c=function(e){return Zm(this.Ie(e))},Q.ec=function(){return new ql(this)},Q.Vc=function(){return oEe(this.Je())},Q._c=function(e){return Zm(this.Ke(e))},z(PB,`AbstractNavigableMap`,2090),q(629,LB,RB,Jl),Q.Hc=function(e){return P(e,44)&&VFe(this.b,I(e,44))},Q.Kc=function(){return this.b.De()},Q.Mc=function(e){var t;return P(e,44)?(t=I(e,44),this.b.Le(t)):!1},Q.gc=function(){return this.b.gc()},z(PB,`AbstractNavigableMap/EntrySet`,629),q(1146,LB,npt,ql),Q.Nc=function(){return new hg(this)},Q.$b=function(){this.a.$b()},Q.Hc=function(e){return rye(this.a,e)},Q.Kc=function(){return new vae(this.a.vc().b.De())},Q.Mc=function(e){return rye(this.a,e)?(this.a.Bc(e),!0):!1},Q.gc=function(){return this.a.gc()},z(PB,`AbstractNavigableMap/NavigableKeySet`,1146),q(1147,1,NB,vae),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return ug(this.a.a)},Q.Pb=function(){return P_e(this.a).ld()},Q.Qb=function(){Obe(this.a)},z(PB,`AbstractNavigableMap/NavigableKeySet/1`,1147),q(2103,31,IB),Q.Fc=function(e){return _x(gI(this,e),XV),!0},Q.Gc=function(e){return BC(e),gx(e!=this,`Can't add a queue to itself`),aA(this,e)},Q.$b=function(){for(;EO(this)!=null;);},z(PB,`AbstractQueue`,2103),q(310,31,{4:1,20:1,31:1,16:1},by,UMe),Q.Fc=function(e){return xNe(this,e),!0},Q.$b=function(){DPe(this)},Q.Hc=function(e){return FUe(new rw(this),e)},Q.dc=function(){return mm(this)},Q.Kc=function(){return new rw(this)},Q.Mc=function(e){return yAe(new rw(this),e)},Q.gc=function(){return this.c-this.b&this.a.length-1},Q.Nc=function(){return new UT(this,272)},Q.Qc=function(e){var t=this.c-this.b&this.a.length-1;return e.lengtht&&CC(e,t,null),e},Q.b=0,Q.c=0,z(PB,`ArrayDeque`,310),q(459,1,NB,rw),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return this.a!=this.b},Q.Pb=function(){return oM(this)},Q.Qb=function(){KBe(this)},Q.a=0,Q.b=0,Q.c=-1,z(PB,`ArrayDeque/IteratorImpl`,459),q(13,56,Ipt,qd,gD,Gb),Q.bd=function(e,t){rS(this,e,t)},Q.Fc=function(e){return py(this,e)},Q.cd=function(e,t){return FGe(this,e,t)},Q.Gc=function(e){return nj(this,e)},Q.$b=function(){kf(this.c,0)},Q.Hc=function(e){return QD(this,e,0)!=-1},Q.Jc=function(e){UO(this,e)},Q.Xb=function(e){return zx(this,e)},Q.dd=function(e){return QD(this,e,0)},Q.dc=function(){return this.c.length==0},Q.Kc=function(){return new O(this)},Q.gd=function(e){return aD(this,e)},Q.Mc=function(e){return XD(this,e)},Q.ce=function(e,t){aje(this,e,t)},Q.hd=function(e,t){return GE(this,e,t)},Q.gc=function(){return this.c.length},Q.jd=function(e){Qv(this,e)},Q.Pc=function(){return Tx(this.c)},Q.Qc=function(e){return uP(this,e)};var kSt=z(PB,`ArrayList`,13);q(7,1,NB,O),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return $v(this)},Q.Pb=function(){return V(this)},Q.Qb=function(){$S(this)},Q.a=0,Q.b=-1,z(PB,`ArrayList/1`,7),q(2112,r.Function,{},ie),Q.Me=function(e,t){return KM(e,t)},q(151,56,Lpt,fm),Q.Hc=function(e){return JBe(this,e)!=-1},Q.Jc=function(e){var t,n,r,i;for(BC(e),n=this.a,r=0,i=n.length;r0)throw k(new rm(Upt+e+` greater than `+this.e));return this.f.Te()?nAe(this.c,this.b,this.a,e,t):sje(this.c,e,t)},Q.zc=function(e,t){if(!TF(this.c,this.f,e,this.b,this.a,this.e,this.d))throw k(new rm(e+` outside the range `+this.b+` to `+this.e));return TWe(this.c,e,t)},Q.Bc=function(e){var t=e;return TF(this.c,this.f,t,this.b,this.a,this.e,this.d)?iAe(this.c,t):null},Q.Le=function(e){return NC(this,e.ld())&&_Le(this.c,e)},Q.gc=function(){var e,t=this.f.Te()?this.a?WN(this.c,this.b,!0):WN(this.c,this.b,!1):mRe(this.c),n;if(!(t&&NC(this,t.d)&&t))return 0;for(e=0,n=new lA(this.c,this.f,this.b,this.a,this.e,this.d);ug(n.a);n.b=I(jOe(n.a),44))++e;return e},Q.ad=function(e,t){if(this.f.Te()&&this.c.a.Ne(e,this.b)<0)throw k(new rm(Upt+e+Wpt+this.b));return this.f.Ue()?nAe(this.c,e,t,this.e,this.d):cje(this.c,e,t)},Q.a=!1,Q.d=!1,z(PB,`TreeMap/SubMap`,631),q(304,22,oH,gg),Q.Te=function(){return!1},Q.Ue=function(){return!1};var DY,OY,kY,AY,jY=vk(PB,`TreeMap/SubMapType`,304,WJ,ONe,Mbe);q(1143,304,oH,ahe),Q.Ue=function(){return!0},vk(PB,`TreeMap/SubMapType/1`,1143,jY,null,null),q(1144,304,oH,Uhe),Q.Te=function(){return!0},Q.Ue=function(){return!0},vk(PB,`TreeMap/SubMapType/2`,1144,jY,null,null),q(1145,304,oH,ihe),Q.Te=function(){return!0},vk(PB,`TreeMap/SubMapType/3`,1145,jY,null,null);var JSt;q(157,LB,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},Lf,ih,du),Q.Nc=function(){return new hg(this)},Q.Fc=function(e){return qS(this,e)},Q.$b=function(){this.a.$b()},Q.Hc=function(e){return this.a._b(e)},Q.Kc=function(){return this.a.ec().Kc()},Q.Mc=function(e){return uy(this,e)},Q.gc=function(){return this.a.gc()};var YSt=z(PB,`TreeSet`,157);q(1082,1,{},yae),Q.Ve=function(e,t){return Ive(this.a,e,t)},z(sH,`BinaryOperator/lambda$0$Type`,1082),q(1083,1,{},fu),Q.Ve=function(e,t){return Lve(this.a,e,t)},z(sH,`BinaryOperator/lambda$1$Type`,1083),q(952,1,{},ve),Q.Kb=function(e){return e},z(sH,`Function/lambda$0$Type`,952),q(395,1,sV,pu),Q.Mb=function(e){return!this.a.Mb(e)},z(sH,`Predicate/lambda$2$Type`,395),q(581,1,{581:1});var XSt=z(cH,`Handler`,581);q(2107,1,wB),Q.xe=function(){return`DUMMY`},Q.Ib=function(){return this.xe()};var ZSt;z(cH,`Level`,2107),q(1706,2107,wB,ye),Q.xe=function(){return`INFO`},z(cH,`Level/LevelInfo`,1706),q(1843,1,{},Use);var MY;z(cH,`LogManager`,1843),q(1896,1,wB,Dbe),Q.b=null,z(cH,`LogRecord`,1896),q(525,1,{525:1},yFe),Q.e=!1;var QSt=!1,$St=!1,NY=!1,eCt=!1,tCt=!1;z(cH,`Logger`,525),q(835,581,{581:1},be),z(cH,`SimpleConsoleLogHandler`,835),q(108,22,{3:1,34:1,22:1,108:1},_g);var nCt,PY,FY,IY=vk(uH,`Collector/Characteristics`,108,WJ,lje,Nbe),rCt;q(758,1,{},pEe),z(uH,`CollectorImpl`,758),q(1074,1,{},xe),Q.Ve=function(e,t){return zKe(I(e,213),I(t,213))},z(uH,`Collectors/10methodref$merge$Type`,1074),q(1075,1,{},Se),Q.Kb=function(e){return WMe(I(e,213))},z(uH,`Collectors/11methodref$toString$Type`,1075),q(1076,1,{},mu),Q.Kb=function(e){return Vy(),!!Ome(e)},z(uH,`Collectors/12methodref$test$Type`,1076),q(144,1,{},Ce),Q.Yd=function(e,t){I(e,16).Fc(t)},z(uH,`Collectors/20methodref$add$Type`,144),q(146,1,{},we),Q.Xe=function(){return new qd},z(uH,`Collectors/21methodref$ctor$Type`,146),q(359,1,{},Te),Q.Xe=function(){return new If},z(uH,`Collectors/23methodref$ctor$Type`,359),q(360,1,{},Ee),Q.Yd=function(e,t){KS(I(e,49),t)},z(uH,`Collectors/24methodref$add$Type`,360),q(1069,1,{},De),Q.Ve=function(e,t){return pde(I(e,15),I(t,16))},z(uH,`Collectors/4methodref$addAll$Type`,1069),q(1073,1,{},Oe),Q.Yd=function(e,t){oD(I(e,213),I(t,484))},z(uH,`Collectors/9methodref$add$Type`,1073),q(1072,1,{},fCe),Q.Xe=function(){return new GA(this.a,this.b,this.c)},z(uH,`Collectors/lambda$15$Type`,1072),q(1077,1,{},ke),Q.Xe=function(){var e;return e=new zE,pP(e,(Vy(),!1),new qd),pP(e,!0,new qd),e},z(uH,`Collectors/lambda$22$Type`,1077),q(1078,1,{},bae),Q.Xe=function(){return W(j(PJ,1),DB,1,5,[this.a])},z(uH,`Collectors/lambda$25$Type`,1078),q(1079,1,{},hu),Q.Yd=function(e,t){Dwe(this.a,gk(e))},z(uH,`Collectors/lambda$26$Type`,1079),q(1080,1,{},gu),Q.Ve=function(e,t){return YTe(this.a,gk(e),gk(t))},z(uH,`Collectors/lambda$27$Type`,1080),q(1081,1,{},Ae),Q.Kb=function(e){return gk(e)[0]},z(uH,`Collectors/lambda$28$Type`,1081),q(728,1,{},je),Q.Ve=function(e,t){return kwe(e,t)},z(uH,`Collectors/lambda$4$Type`,728),q(145,1,{},Me),Q.Ve=function(e,t){return lde(I(e,16),I(t,16))},z(uH,`Collectors/lambda$42$Type`,145),q(361,1,{},Ne),Q.Ve=function(e,t){return ude(I(e,49),I(t,49))},z(uH,`Collectors/lambda$50$Type`,361),q(362,1,{},Pe),Q.Kb=function(e){return I(e,49)},z(uH,`Collectors/lambda$51$Type`,362),q(1068,1,{},_u),Q.Yd=function(e,t){YWe(this.a,I(e,85),t)},z(uH,`Collectors/lambda$7$Type`,1068),q(1070,1,{},Fe),Q.Ve=function(e,t){return LUe(I(e,85),I(t,85),new De)},z(uH,`Collectors/lambda$8$Type`,1070),q(1071,1,{},xae),Q.Kb=function(e){return Wqe(this.a,I(e,85))},z(uH,`Collectors/lambda$9$Type`,1071),q(550,1,{}),Q.$e=function(){RC(this)},Q.d=!1,z(uH,`TerminatableStream`,550),q(827,550,Kpt,Dve),Q.$e=function(){RC(this)},z(uH,`DoubleStreamImpl`,827),q(1847,736,HB,pCe),Q.Re=function(e){return BZe(this,I(e,189))},Q.a=null,z(uH,`DoubleStreamImpl/2`,1847),q(1848,1,QV,Sae),Q.Pe=function(e){uhe(this.a,e)},z(uH,`DoubleStreamImpl/2/lambda$0$Type`,1848),q(1845,1,QV,vu),Q.Pe=function(e){lhe(this.a,e)},z(uH,`DoubleStreamImpl/lambda$0$Type`,1845),q(1846,1,QV,yu),Q.Pe=function(e){ZJe(this.a,e)},z(uH,`DoubleStreamImpl/lambda$2$Type`,1846),q(1397,735,HB,bFe),Q.Re=function(e){return nNe(this,I(e,202))},Q.a=0,Q.b=0,Q.c=0,z(uH,`IntStream/5`,1397),q(806,550,Kpt,Ove),Q.$e=function(){RC(this)},Q._e=function(){return LC(this),this.a},z(uH,`IntStreamImpl`,806),q(807,550,Kpt,ode),Q.$e=function(){RC(this)},Q._e=function(){return LC(this),Fge(),KSt},z(uH,`IntStreamImpl/Empty`,807),q(1687,1,WB,Cae),Q.Dd=function(e){YHe(this.a,e)},z(uH,`IntStreamImpl/lambda$4$Type`,1687);var iCt=Mx(uH,`Stream`);q(26,550,{533:1,687:1,848:1},Hx),Q.$e=function(){RC(this)};var LY;z(uH,`StreamImpl`,26),q(1102,500,HB,fbe),Q.Bd=function(e){for(;YLe(this);)if(this.a.Bd(e))return!0;else RC(this.b),this.b=null,this.a=null;return!1},z(uH,`StreamImpl/1`,1102),q(1103,1,UB,wae),Q.Cd=function(e){vCe(this.a,I(e,848))},z(uH,`StreamImpl/1/lambda$0$Type`,1103),q(1104,1,sV,Tae),Q.Mb=function(e){return KS(this.a,e)},z(uH,`StreamImpl/1methodref$add$Type`,1104),q(1105,500,HB,zOe),Q.Bd=function(e){var t;return this.a||=(t=new qd,this.b.a.Nb(new Eae(t)),Ew(),Qv(t,this.c),new UT(t,16)),Pze(this.a,e)},Q.a=null,z(uH,`StreamImpl/5`,1105),q(1106,1,UB,Eae),Q.Cd=function(e){py(this.a,e)},z(uH,`StreamImpl/5/2methodref$add$Type`,1106),q(737,500,HB,yRe),Q.Bd=function(e){for(this.b=!1;!this.b&&this.c.Bd(new Zde(this,e)););return this.b},Q.b=!1,z(uH,`StreamImpl/FilterSpliterator`,737),q(1096,1,UB,Zde),Q.Cd=function(e){LTe(this.a,this.b,e)},z(uH,`StreamImpl/FilterSpliterator/lambda$0$Type`,1096),q(1091,736,HB,fIe),Q.Re=function(e){return Zye(this,I(e,189))},z(uH,`StreamImpl/MapToDoubleSpliterator`,1091),q(1095,1,UB,Qde),Q.Cd=function(e){ufe(this.a,this.b,e)},z(uH,`StreamImpl/MapToDoubleSpliterator/lambda$0$Type`,1095),q(1090,735,HB,pIe),Q.Re=function(e){return Qye(this,I(e,202))},z(uH,`StreamImpl/MapToIntSpliterator`,1090),q(1094,1,UB,$de),Q.Cd=function(e){dfe(this.a,this.b,e)},z(uH,`StreamImpl/MapToIntSpliterator/lambda$0$Type`,1094),q(734,500,HB,mIe),Q.Bd=function(e){return $ye(this,e)},z(uH,`StreamImpl/MapToObjSpliterator`,734),q(1093,1,UB,efe),Q.Cd=function(e){ffe(this.a,this.b,e)},z(uH,`StreamImpl/MapToObjSpliterator/lambda$0$Type`,1093),q(1092,500,HB,pVe),Q.Bd=function(e){for(;dg(this.b,0);){if(!this.a.Bd(new Ie))return!1;this.b=nN(this.b,1)}return this.a.Bd(e)},Q.b=0,z(uH,`StreamImpl/SkipSpliterator`,1092),q(1097,1,UB,Ie),Q.Cd=function(e){},z(uH,`StreamImpl/SkipSpliterator/lambda$0$Type`,1097),q(626,1,UB,Le),Q.Cd=function(e){zie(this,e)},z(uH,`StreamImpl/ValueConsumer`,626),q(1098,1,UB,Re),Q.Cd=function(e){Nh()},z(uH,`StreamImpl/lambda$0$Type`,1098),q(1099,1,UB,ze),Q.Cd=function(e){Nh()},z(uH,`StreamImpl/lambda$1$Type`,1099),q(1100,1,{},bu),Q.Ve=function(e,t){return rxe(this.a,e,t)},z(uH,`StreamImpl/lambda$4$Type`,1100),q(1101,1,UB,tfe),Q.Cd=function(e){oye(this.b,this.a,e)},z(uH,`StreamImpl/lambda$5$Type`,1101),q(1107,1,UB,xu),Q.Cd=function(e){dUe(this.a,I(e,380))},z(uH,`TerminatableStream/lambda$0$Type`,1107),q(2142,1,{}),q(2014,1,{},Be),z(`javaemul.internal`,`ConsoleLogger`,2014);var aCt=0;q(2134,1,{}),q(1830,1,UB,Ve),Q.Cd=function(e){I(e,317)},z(fH,`BowyerWatsonTriangulation/lambda$0$Type`,1830),q(1831,1,UB,Dae),Q.Cd=function(e){aA(this.a,I(e,317).e)},z(fH,`BowyerWatsonTriangulation/lambda$1$Type`,1831),q(1832,1,UB,eee),Q.Cd=function(e){I(e,177)},z(fH,`BowyerWatsonTriangulation/lambda$2$Type`,1832),q(1827,1,pH,Oae),Q.Ne=function(e,t){return dPe(this.a,I(e,177),I(t,177))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(fH,`NaiveMinST/lambda$0$Type`,1827),q(449,1,{},Su),z(fH,`NodeMicroLayout`,449),q(177,1,{177:1},yg),Q.Fb=function(e){var t;return P(e,177)?(t=I(e,177),YC(this.a,t.a)&&YC(this.b,t.b)||YC(this.a,t.b)&&YC(this.b,t.a)):!1},Q.Hb=function(){return Gv(this.a)+Gv(this.b)};var oCt=z(fH,`TEdge`,177);q(317,1,{317:1},hot),Q.Fb=function(e){var t;return P(e,317)?(t=I(e,317),sO(this,t.a)&&sO(this,t.b)&&sO(this,t.c)):!1},Q.Hb=function(){return Gv(this.a)+Gv(this.b)+Gv(this.c)},z(fH,`TTriangle`,317),q(225,1,{225:1},ry),z(fH,`Tree`,225),q(1218,1,{},RAe),z(Zpt,`Scanline`,1218);var sCt=Mx(Zpt,Qpt);q(1758,1,{},Oze),z(mH,`CGraph`,1758),q(316,1,{316:1},VAe),Q.b=0,Q.c=0,Q.d=0,Q.g=0,Q.i=0,Q.k=zV,z(mH,`CGroup`,316),q(830,1,{},Wf),z(mH,`CGroup/CGroupBuilder`,830),q(60,1,{60:1},vye),Q.Ib=function(){var e;return this.j?pb(this.j.Kb(this)):(mb(RY),RY.o+`@`+(e=zy(this)>>>0,e.toString(16)))},Q.f=0,Q.i=zV;var RY=z(mH,`CNode`,60);q(829,1,{},Gf),z(mH,`CNode/CNodeBuilder`,829);var cCt;q(1590,1,{},He),Q.ff=function(e,t){return 0},Q.gf=function(e,t){return 0},z(mH,emt,1590),q(1853,1,{},Ue),Q.cf=function(e){var t,n,i,a,o,s,c,l,u=RV,d,f,p,m,h,g;for(i=new O(e.a.b);i.ar.d.c||r.d.c==a.d.c&&r.d.b0?e+this.n.d+this.n.a:0},Q.kf=function(){var e,t,n,i,a=0;if(this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].kf());else if(this.g)a=lJe(this,LF(this,null,!0));else for(t=(YO(),W(j(qY,1),Z,237,0,[WY,GY,KY])),n=0,i=t.length;n0?a+this.n.b+this.n.c:0},Q.lf=function(){var e,t,n,r,i;if(this.g)for(e=LF(this,null,!1),n=(YO(),W(j(qY,1),Z,237,0,[WY,GY,KY])),r=0,i=n.length;r0&&(i[0]+=this.d,n-=i[0]),i[2]>0&&(i[2]+=this.d,n-=i[2]),this.c.a=r.Math.max(0,n),this.c.d=t.d+e.d+(this.c.a-n)/2,i[1]=r.Math.max(i[1],n),aIe(this,GY,t.d+e.d+i[0]-(i[1]-n)/2,i)},Q.b=null,Q.d=0,Q.e=!1,Q.f=!1,Q.g=!1;var JY=0,YY=0;z(wH,`GridContainerCell`,1538),q(471,22,{3:1,34:1,22:1,471:1},Sg);var XY,ZY,QY,zCt=vk(wH,`HorizontalLabelAlignment`,471,WJ,dje,Rbe),BCt;q(314,217,{217:1,314:1},fAe,Aze,Ske),Q.jf=function(){return KCe(this)},Q.kf=function(){return qCe(this)},Q.a=0,Q.c=!1;var VCt=z(wH,`LabelCell`,314);q(252,336,{217:1,336:1,252:1},sP),Q.jf=function(){return aL(this)},Q.kf=function(){return oL(this)},Q.lf=function(){nz(this)},Q.mf=function(){iz(this)},Q.b=0,Q.c=0,Q.d=!1,z(wH,`StripContainerCell`,252),q(1691,1,sV,Ye),Q.Mb=function(e){return Bce(I(e,217))},z(wH,`StripContainerCell/lambda$0$Type`,1691),q(1692,1,{},Xe),Q.Ye=function(e){return I(e,217).kf()},z(wH,`StripContainerCell/lambda$1$Type`,1692),q(1693,1,sV,Ze),Q.Mb=function(e){return Vce(I(e,217))},z(wH,`StripContainerCell/lambda$2$Type`,1693),q(1694,1,{},Qe),Q.Ye=function(e){return I(e,217).jf()},z(wH,`StripContainerCell/lambda$3$Type`,1694),q(472,22,{3:1,34:1,22:1,472:1},Cg);var $Y,eX,tX,HCt=vk(wH,`VerticalLabelAlignment`,472,WJ,uje,zbe),UCt;q(800,1,{},Put),Q.c=0,Q.d=0,Q.k=0,Q.s=0,Q.t=0,Q.v=!1,Q.w=0,Q.D=!1,Q.F=!1,z(OH,`NodeContext`,800),q(1536,1,pH,nee),Q.Ne=function(e,t){return Lme(I(e,64),I(t,64))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(OH,`NodeContext/0methodref$comparePortSides$Type`,1536),q(1537,1,pH,$e),Q.Ne=function(e,t){return w2e(I(e,117),I(t,117))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(OH,`NodeContext/1methodref$comparePortContexts$Type`,1537),q(164,22,{3:1,34:1,22:1,164:1},uA);var WCt,GCt,KCt,qCt,JCt,YCt,XCt,ZCt,QCt,$Ct,ewt,twt,nwt,rwt,iwt,awt,owt,swt,cwt,lwt,uwt,nX,dwt=vk(OH,`NodeLabelLocation`,164,WJ,mP,Bbe),fwt;q(117,1,{117:1},c5e),Q.a=!1,z(OH,`PortContext`,117),q(1541,1,UB,et),Q.Cd=function(e){mue(I(e,314))},z(jH,bmt,1541),q(1542,1,sV,tt),Q.Mb=function(e){return!!I(e,117).c},z(jH,xmt,1542),q(1543,1,UB,nt),Q.Cd=function(e){mue(I(e,117).c)},z(jH,`LabelPlacer/lambda$2$Type`,1543);var pwt;q(1540,1,UB,rt),Q.Cd=function(e){Sb(),Fse(I(e,117))},z(jH,`NodeLabelAndSizeUtilities/lambda$0$Type`,1540),q(801,1,UB,exe),Q.Cd=function(e){kde(this.b,this.c,this.a,I(e,187))},Q.a=!1,Q.c=!1,z(jH,`NodeLabelCellCreator/lambda$0$Type`,801),q(1539,1,UB,Tu),Q.Cd=function(e){Bse(this.a,I(e,187))},z(jH,`PortContextCreator/lambda$0$Type`,1539);var rX;q(1902,1,{},T),z(MH,`GreedyRectangleStripOverlapRemover`,1902),q(1903,1,pH,it),Q.Ne=function(e,t){return u_e(I(e,226),I(t,226))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(MH,`GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type`,1903),q(1849,1,{},qf),Q.a=5,Q.e=0,z(MH,`RectangleStripOverlapRemover`,1849),q(1850,1,pH,at),Q.Ne=function(e,t){return d_e(I(e,226),I(t,226))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(MH,`RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type`,1850),q(1852,1,pH,ot),Q.Ne=function(e,t){return CEe(I(e,226),I(t,226))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(MH,`RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type`,1852),q(417,22,{3:1,34:1,22:1,417:1},wg);var iX,aX,oX,sX,mwt=vk(MH,`RectangleStripOverlapRemover/OverlapRemovalDirection`,417,WJ,jNe,Vbe),hwt;q(226,1,{226:1},cS),z(MH,`RectangleStripOverlapRemover/RectangleNode`,226),q(1851,1,UB,Aae),Q.Cd=function(e){lQe(this.a,I(e,226))},z(MH,`RectangleStripOverlapRemover/lambda$1$Type`,1851),q(1323,1,pH,st),Q.Ne=function(e,t){return Rst(I(e,176),I(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator`,1323),q(1326,1,{},ct),Q.Kb=function(e){return I(e,334).a},z(PH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type`,1326),q(1327,1,sV,lt),Q.Mb=function(e){return I(e,332).a},z(PH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type`,1327),q(1328,1,sV,ut),Q.Mb=function(e){return I(e,332).a},z(PH,`PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type`,1328),q(1321,1,pH,dt),Q.Ne=function(e,t){return jrt(I(e,176),I(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PH,`PolyominoCompactor/MinNumOfExtensionDirectionsComparator`,1321),q(1324,1,{},ft),Q.Kb=function(e){return I(e,334).a},z(PH,`PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type`,1324),q(781,1,pH,pt),Q.Ne=function(e,t){return CUe(I(e,176),I(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PH,`PolyominoCompactor/MinNumOfExtensionsComparator`,781),q(1319,1,pH,mt),Q.Ne=function(e,t){return DVe(I(e,330),I(t,330))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PH,`PolyominoCompactor/MinPerimeterComparator`,1319),q(1320,1,pH,ht),Q.Ne=function(e,t){return lZe(I(e,330),I(t,330))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PH,`PolyominoCompactor/MinPerimeterComparatorWithShape`,1320),q(1322,1,pH,gt),Q.Ne=function(e,t){return pit(I(e,176),I(t,176))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PH,`PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator`,1322),q(1325,1,{},_t),Q.Kb=function(e){return I(e,334).a},z(PH,`PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type`,1325),q(782,1,{},afe),Q.Ve=function(e,t){return fNe(this,I(e,42),I(t,176))},z(PH,`SuccessorCombination`,782),q(649,1,{},vt),Q.Ve=function(e,t){var n;return P8e((n=I(e,42),I(t,176),n))},z(PH,`SuccessorJitter`,649),q(648,1,{},yt),Q.Ve=function(e,t){var n;return utt((n=I(e,42),I(t,176),n))},z(PH,`SuccessorLineByLine`,648),q(573,1,{},bt),Q.Ve=function(e,t){var n;return M7e((n=I(e,42),I(t,176),n))},z(PH,`SuccessorManhattan`,573),q(1344,1,{},ree),Q.Ve=function(e,t){var n;return wet((n=I(e,42),I(t,176),n))},z(PH,`SuccessorMaxNormWindingInMathPosSense`,1344),q(409,1,{},Eu),Q.Ve=function(e,t){return lEe(this,e,t)},Q.c=!1,Q.d=!1,Q.e=!1,Q.f=!1,z(PH,`SuccessorQuadrantsGeneric`,409),q(1345,1,{},iee),Q.Kb=function(e){return I(e,334).a},z(PH,`SuccessorQuadrantsGeneric/lambda$0$Type`,1345),q(332,22,{3:1,34:1,22:1,332:1},Tg),Q.a=!1;var cX,lX,uX,dX,gwt=vk(zH,Cmt,332,WJ,kNe,Hbe),_wt;q(1317,1,{}),Q.Ib=function(){var e,t,n=` `,r,i,a;for(e=gM(0),i=0;i=0?`b`+e+`[`+pFe(this.a)+`]`:`b[`+pFe(this.a)+`]`):`b_`+zy(this)},z(oU,`FBendpoint`,250),q(290,137,{3:1,290:1,96:1,137:1},yye),Q.Ib=function(){return pFe(this)},z(oU,`FEdge`,290),q(235,137,{3:1,235:1,96:1,137:1},lD);var Bwt=z(oU,`FGraph`,235);q(454,309,{3:1,454:1,309:1,96:1,137:1},gPe),Q.Ib=function(){return this.b==null||this.b.length==0?`l[`+pFe(this.a)+`]`:`l_`+this.b},z(oU,`FLabel`,454),q(153,309,{3:1,153:1,309:1,96:1,137:1},Vhe),Q.Ib=function(){return cMe(this)},Q.a=0,z(oU,`FNode`,153),q(2100,1,{}),Q.vf=function(e){Oat(this,e)},Q.wf=function(){xQe(this)},Q.d=0,z(Bmt,`AbstractForceModel`,2100),q(641,2100,{641:1},qHe),Q.uf=function(e,t){var n,i,a,o,s;return hct(this.f,e,t),a=Pb(iy(t.d),e.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),i=r.Math.max(0,s-MC(e.e)/2-MC(t.e)/2),n=B8e(this.e,e,t),o=n>0?-_Ee(i,this.c)*n:I_e(i,this.b)*I(K(e,(JR(),OX)),17).a,fy(a,o/s),a},Q.vf=function(e){Oat(this,e),this.a=I(K(e,(JR(),DX)),17).a,this.c=A(F(K(e,AX))),this.b=A(F(K(e,kX)))},Q.xf=function(e){return e0&&(o-=Mce(i,this.a)*n),fy(a,o*this.b/s),a},Q.vf=function(e){var t,n,i,a,o,s,c;for(Oat(this,e),this.b=A(F(K(e,(JR(),jX)))),this.c=this.b/I(K(e,DX),17).a,i=e.e.c.length,o=0,a=0,c=new O(e.e);c.a0},Q.a=0,Q.b=0,Q.c=0,z(Bmt,`FruchtermanReingoldModel`,642),q(860,1,bH,mc),Q.hf=function(e){fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,sU),``),`Force Model`),`Determines the model for force calculation.`),Uwt),(VI(),J3)),Ywt),qM((_P(),U3))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Vmt),``),`Iterations`),`The number of iterations on the force model.`),gM(300)),X3),sY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Hmt),``),`Repulsive Power`),`Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model`),gM(0)),X3),sY),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,cU),``),`FR Temperature`),`The temperature is used as a scaling factor for particle displacements.`),lU),q3),aY),qM(U3)))),aE(e,cU,sU,Jwt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,uU),``),`Eades Repulsion`),`Factor for repulsive forces in Eades' model.`),5),q3),aY),qM(U3)))),aE(e,uU,sU,Gwt),wdt((new eie,e))};var Vwt,Hwt,Uwt,Wwt,Gwt,Kwt,qwt,Jwt;z(dU,`ForceMetaDataProvider`,860),q(432,22,{3:1,34:1,22:1,432:1},cfe);var TX,EX,Ywt=vk(dU,`ForceModelStrategy`,432,WJ,Dke,Gbe),Xwt;q(gV,1,bH,eie),Q.hf=function(e){wdt(e)};var Zwt,Qwt,$wt,DX,eTt,tTt,nTt,rTt,iTt,aTt,oTt,sTt,cTt,lTt,OX,uTt,kX,dTt,fTt,pTt,AX,jX,mTt,hTt,gTt,_Tt,vTt;z(dU,`ForceOptions`,gV),q(1001,1,{},lee),Q.sf=function(){var e;return e=new Uf,e},Q.tf=function(e){},z(dU,`ForceOptions/ForceFactory`,1001);var MX,NX,PX,FX;q(861,1,bH,hc),Q.hf=function(e){fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,qmt),``),`Fixed Position`),`Prevent that the node is moved by the layout algorithm.`),(Vy(),!1)),(VI(),K3)),nY),qM((_P(),H3))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Jmt),``),`Desired Edge Length`),`Either specified for parent nodes or for individual edges, where the latter takes higher precedence.`),100),q3),aY),oS(U3,W(j(G3,1),Z,170,0,[B3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ymt),``),`Layout Dimension`),`Dimensions that are permitted to be altered during layout.`),xTt),J3),ITt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Xmt),``),`Stress Epsilon`),`Termination criterion for the iterative process.`),lU),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Zmt),``),`Iteration Limit`),`Maximum number of performed iterations. Takes higher precedence than 'epsilon'.`),gM(SB)),X3),sY),qM(U3)))),Dlt((new tie,e))};var yTt,bTt,xTt,STt,CTt,wTt;z(dU,`StressMetaDataProvider`,861),q(1004,1,bH,tie),Q.hf=function(e){Dlt(e)};var IX,TTt,ETt,DTt,OTt,kTt,ATt,jTt,MTt,NTt,PTt,FTt;z(dU,`StressOptions`,1004),q(1005,1,{},cee),Q.sf=function(){var e;return e=new bye,e},Q.tf=function(e){},z(dU,`StressOptions/StressFactory`,1005),q(1110,205,KH,bye),Q.rf=function(e,t){var n,r,i,a,o;for(t.Ug(Qmt,1),Zp(fb(J(e,(NF(),OTt))))?Zp(fb(J(e,PTt)))||rT((n=new Su((tg(),new Jp(e))),n)):S9e(new Uf,e,t.eh(1)),i=fWe(e),r=iot(this.a,i),o=r.Kc();o.Ob();)a=I(o.Pb(),235),!(a.e.c.length<=1)&&(Nst(this.b,a),D7e(this.b),UO(a.d,new Ft));i=_dt(r),eft(i),t.Vg()},z(FU,`StressLayoutProvider`,1110),q(1111,1,UB,Ft),Q.Cd=function(e){Wot(I(e,454))},z(FU,`StressLayoutProvider/lambda$0$Type`,1111),q(1002,1,{},Of),Q.c=0,Q.e=0,Q.g=0,z(FU,`StressMajorization`,1002),q(391,22,{3:1,34:1,22:1,391:1},Dg);var LX,RX,zX,ITt=vk(FU,`StressMajorization/Dimension`,391,WJ,pje,Kbe),LTt;q(1003,1,pH,Pae),Q.Ne=function(e,t){return nbe(this.a,I(e,153),I(t,153))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(FU,`StressMajorization/lambda$0$Type`,1003),q(1192,1,{},hMe),z(IU,`ElkLayered`,1192),q(1193,1,UB,Fae),Q.Cd=function(e){F6e(this.a,I(e,36))},z(IU,`ElkLayered/lambda$0$Type`,1193),q(1194,1,UB,Ou),Q.Cd=function(e){rbe(this.a,I(e,36))},z(IU,`ElkLayered/lambda$1$Type`,1194),q(1281,1,{},rge);var RTt,zTt,BTt;z(IU,`GraphConfigurator`,1281),q(770,1,UB,ku),Q.Cd=function(e){T4e(this.a,I(e,10))},z(IU,`GraphConfigurator/lambda$0$Type`,770),q(771,1,{},Pt),Q.Kb=function(e){return i1e(),new Hx(null,new UT(I(e,30).a,16))},z(IU,`GraphConfigurator/lambda$1$Type`,771),q(772,1,UB,Au),Q.Cd=function(e){T4e(this.a,I(e,10))},z(IU,`GraphConfigurator/lambda$2$Type`,772),q(1109,205,KH,qse),Q.rf=function(e,t){var n=rst(new Jf,e);N(J(e,(cB(),I1)))===N((pM(),w8))?Nqe(this.a,n,t):x7e(this.a,n,t),t.$g()||Vut(new gc,n)},z(IU,`LayeredLayoutProvider`,1109),q(367,22,{3:1,34:1,22:1,367:1},Og);var BX,VX,HX,UX,WX,VTt=vk(IU,`LayeredPhases`,367,WJ,CFe,qbe),HTt;q(1717,1,{},lVe),Q.i=0;var UTt;z(LU,`ComponentsToCGraphTransformer`,1717);var WTt;q(1718,1,{},Nt),Q.yf=function(e,t){return r.Math.min(e.a==null?e.c.i:A(e.a),t.a==null?t.c.i:A(t.a))},Q.zf=function(e,t){return r.Math.min(e.a==null?e.c.i:A(e.a),t.a==null?t.c.i:A(t.a))},z(LU,`ComponentsToCGraphTransformer/1`,1718),q(86,1,{86:1}),Q.i=0,Q.k=!0,Q.o=zV;var GX=z(RU,`CNode`,86);q(470,86,{470:1,86:1},C_e,$Ye),Q.Ib=function(){return``},z(LU,`ComponentsToCGraphTransformer/CRectNode`,470),q(1688,1,{},uee);var KX,qX;z(LU,`OneDimensionalComponentsCompaction`,1688),q(1689,1,{},It),Q.Kb=function(e){return XAe(I(e,42))},Q.Fb=function(e){return this===e},z(LU,`OneDimensionalComponentsCompaction/lambda$0$Type`,1689),q(1690,1,{},Lt),Q.Kb=function(e){return zqe(I(e,42))},Q.Fb=function(e){return this===e},z(LU,`OneDimensionalComponentsCompaction/lambda$1$Type`,1690),q(1720,1,{},tDe),z(RU,`CGraph`,1720),q(194,1,{194:1},oP),Q.b=0,Q.c=0,Q.e=0,Q.g=!0,Q.i=zV,z(RU,`CGroup`,194),q(1719,1,{},Rt),Q.yf=function(e,t){return r.Math.max(e.a==null?e.c.i:A(e.a),t.a==null?t.c.i:A(t.a))},Q.zf=function(e,t){return r.Math.max(e.a==null?e.c.i:A(e.a),t.a==null?t.c.i:A(t.a))},z(RU,emt,1719),q(1721,1,{},q8e),Q.d=!1;var GTt,JX=z(RU,rmt,1721);q(1722,1,{},dee),Q.Kb=function(e){return Sde(),Vy(),I(I(e,42).a,86).d.e!=0},Q.Fb=function(e){return this===e},z(RU,imt,1722),q(833,1,{},Pwe),Q.a=!1,Q.b=!1,Q.c=!1,Q.d=!1,z(RU,amt,833),q(1898,1,{},sTe),z(zU,omt,1898);var YX=Mx(BU,Qpt);q(1899,1,{382:1},fke),Q.bf=function(e){Ltt(this,I(e,476))},z(zU,smt,1899),q(EV,1,pH,zt),Q.Ne=function(e,t){return cOe(I(e,86),I(t,86))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zU,cmt,EV),q(476,1,{476:1},wfe),Q.a=!1,z(zU,lmt,476),q(1901,1,pH,fee),Q.Ne=function(e,t){return r1e(I(e,476),I(t,476))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zU,umt,1901),q(148,1,{148:1},Fg,hCe),Q.Fb=function(e){var t;return e==null||KTt!=Qj(e)?!1:(t=I(e,148),YC(this.c,t.c)&&YC(this.d,t.d))},Q.Hb=function(){return eM(W(j(PJ,1),DB,1,5,[this.c,this.d]))},Q.Ib=function(){return`(`+this.c+EB+this.d+(this.a?`cx`:``)+this.b+`)`},Q.a=!0,Q.c=0,Q.d=0;var KTt=z(BU,`Point`,148);q(416,22,{3:1,34:1,22:1,416:1},Ag);var XX,ZX,QX,$X,qTt=vk(BU,`Point/Quadrant`,416,WJ,MNe,Jbe),JTt;q(1708,1,{},Kse),Q.b=null,Q.c=null,Q.d=null,Q.e=null,Q.f=null;var YTt,XTt,ZTt,QTt,$Tt;z(BU,`RectilinearConvexHull`,1708),q(583,1,{382:1},OP),Q.bf=function(e){ZLe(this,I(e,148))},Q.b=0;var eEt;z(BU,`RectilinearConvexHull/MaximalElementsEventHandler`,583),q(1710,1,pH,Bt),Q.Ne=function(e,t){return lOe(F(e),F(t))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(BU,`RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type`,1710),q(1709,1,{382:1},kze),Q.bf=function(e){ket(this,I(e,148))},Q.a=0,Q.b=null,Q.c=null,Q.d=null,Q.e=null,z(BU,`RectilinearConvexHull/RectangleEventHandler`,1709),q(1711,1,pH,Vt),Q.Ne=function(e,t){return rMe(I(e,148),I(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(BU,`RectilinearConvexHull/lambda$0$Type`,1711),q(1712,1,pH,Gt),Q.Ne=function(e,t){return iMe(I(e,148),I(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(BU,`RectilinearConvexHull/lambda$1$Type`,1712),q(1713,1,pH,Kt),Q.Ne=function(e,t){return nMe(I(e,148),I(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(BU,`RectilinearConvexHull/lambda$2$Type`,1713),q(1714,1,pH,Wt),Q.Ne=function(e,t){return aMe(I(e,148),I(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(BU,`RectilinearConvexHull/lambda$3$Type`,1714),q(1715,1,pH,qt),Q.Ne=function(e,t){return X2e(I(e,148),I(t,148))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(BU,`RectilinearConvexHull/lambda$4$Type`,1715),q(1716,1,{},zAe),z(BU,`Scanline`,1716),q(2104,1,{}),z(VU,`AbstractGraphPlacer`,2104),q(335,1,{335:1},q_e),Q.Ff=function(e){return this.Gf(e)?(fL(this.b,I(K(e,(Y(),v$)),21),e),!0):!1},Q.Gf=function(e){var t=I(K(e,(Y(),v$)),21),n,r;for(r=I(rD(eZ,t),21).Kc();r.Ob();)if(n=I(r.Pb(),21),!I(rD(this.b,n),15).dc())return!1;return!0};var eZ;z(VU,`ComponentGroup`,335),q(779,2104,{},Kf),Q.Hf=function(e){var t,n;for(n=new O(this.a);n.an&&(d=0,f+=c+i,c=0),l=o.c,DR(o,d+l.a,f+l.b),mv(l),a=r.Math.max(a,d+u.a),c=r.Math.max(c,u.b),d+=u.a+i;t.f.a=a,t.f.b=f+c},Q.Jf=function(e,t){var n,r,i,a,o;if(N(K(t,(cB(),p1)))===N((aP(),rZ))){for(r=e.Kc();r.Ob();){for(n=I(r.Pb(),36),o=0,a=new O(n.a);a.an&&!I(K(o,(Y(),v$)),21).Hc((Qz(),a5))||l&&I(K(l,(Y(),v$)),21).Hc((Qz(),i5))||I(K(o,(Y(),v$)),21).Hc((Qz(),w5)))&&(p=f,m+=c+i,c=0),u=o.c,I(K(o,(Y(),v$)),21).Hc((Qz(),a5))&&(p=a+i),DR(o,p+u.a,m+u.b),a=r.Math.max(a,p+d.a),I(K(o,v$),21).Hc(S5)&&(f=r.Math.max(f,p+d.a+i)),mv(u),c=r.Math.max(c,d.b),p+=d.a+i,l=o;t.f.a=a,t.f.b=m+c},Q.Jf=function(e,t){},z(VU,`ModelOrderRowGraphPlacer`,1313),q(1311,1,pH,Yt),Q.Ne=function(e,t){return mUe(I(e,36),I(t,36))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(VU,`SimpleRowGraphPlacer/1`,1311);var iEt;q(1280,1,_H,Xt),Q.Lb=function(e){var t;return t=I(K(I(e,249).b,(cB(),B1)),75),!!t&&t.b!=0},Q.Fb=function(e){return this===e},Q.Mb=function(e){var t;return t=I(K(I(e,249).b,(cB(),B1)),75),!!t&&t.b!=0},z(WU,`CompoundGraphPostprocessor/1`,1280),q(1279,1,GU,Yf),Q.Kf=function(e,t){pZe(this,I(e,36),t)},z(WU,`CompoundGraphPreprocessor`,1279),q(453,1,{453:1},eqe),Q.c=!1,z(WU,`CompoundGraphPreprocessor/ExternalPort`,453),q(249,1,{249:1},Zb),Q.Ib=function(){return ib(this.c)+`:`+x8e(this.b)},z(WU,`CrossHierarchyEdge`,249),q(777,1,pH,ju),Q.Ne=function(e,t){return u$e(this,I(e,249),I(t,249))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(WU,`CrossHierarchyEdgeComparator`,777),q(305,137,{3:1,305:1,96:1,137:1}),Q.p=0,z(KU,`LGraphElement`,305),q(18,305,{3:1,18:1,305:1,96:1,137:1},zw),Q.Ib=function(){return x8e(this)};var aZ=z(KU,`LEdge`,18);q(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},uVe),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){return new O(this.b)},Q.Ib=function(){return this.b.c.length==0?`G-unlayered`+CI(this.a):this.a.c.length==0?`G-layered`+CI(this.b):`G[layerless`+CI(this.a)+`, layers`+CI(this.b)+`]`};var aEt=z(KU,`LGraph`,36),oEt;q(666,1,{}),Q.Lf=function(){return this.e.n},Q.of=function(e){return K(this.e,e)},Q.Mf=function(){return this.e.o},Q.Nf=function(){return this.e.p},Q.pf=function(e){return rb(this.e,e)},Q.Of=function(e){this.e.n.a=e.a,this.e.n.b=e.b},Q.Pf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},Q.Qf=function(e){this.e.p=e},z(KU,`LGraphAdapters/AbstractLShapeAdapter`,666),q(474,1,{853:1},Mu),Q.Rf=function(){var e,t;if(!this.b)for(this.b=Yy(this.a.b.c.length),t=new O(this.a.b);t.a0&&WGe((HT(t-1,e.length),e.charCodeAt(t-1)),oht);)--t;if(a> `,e),SF(n)),uv(lv((e.a+=`[`,e),n.i),`]`)),e.a},Q.c=!0,Q.d=!1;var uEt,dEt,fEt,pEt,mEt,hEt,gEt=z(KU,`LPort`,12);q(408,1,qB,Pu),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){return new Iae(new O(this.a.e))},z(KU,`LPort/1`,408),q(1309,1,NB,Iae),Q.Nb=function(e){LS(this,e)},Q.Pb=function(){return I(V(this.a),18).c},Q.Ob=function(){return $v(this.a)},Q.Qb=function(){$S(this.a)},z(KU,`LPort/1/1`,1309),q(369,1,qB,Fu),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){var e;return e=new O(this.a.g),new Iu(e)},z(KU,`LPort/2`,369),q(776,1,NB,Iu),Q.Nb=function(e){LS(this,e)},Q.Pb=function(){return I(V(this.a),18).d},Q.Ob=function(){return $v(this.a)},Q.Qb=function(){$S(this.a)},z(KU,`LPort/2/1`,776),q(1302,1,qB,vfe),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){return new cD(this)},z(KU,`LPort/CombineIter`,1302),q(208,1,NB,cD),Q.Nb=function(e){LS(this,e)},Q.Qb=function(){$le()},Q.Ob=function(){return Ry(this)},Q.Pb=function(){return $v(this.a)?V(this.a):V(this.b)},z(KU,`LPort/CombineIter/1`,208),q(1303,1,_H,en),Q.Lb=function(e){return BTe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return _A(),I(e,12).g.c.length!=0},z(KU,`LPort/lambda$0$Type`,1303),q(1304,1,_H,tn),Q.Lb=function(e){return VTe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return _A(),I(e,12).e.c.length!=0},z(KU,`LPort/lambda$1$Type`,1304),q(1305,1,_H,nn),Q.Lb=function(e){return _A(),I(e,12).j==(Qz(),a5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return _A(),I(e,12).j==(Qz(),a5)},z(KU,`LPort/lambda$2$Type`,1305),q(1306,1,_H,mee),Q.Lb=function(e){return _A(),I(e,12).j==(Qz(),i5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return _A(),I(e,12).j==(Qz(),i5)},z(KU,`LPort/lambda$3$Type`,1306),q(1307,1,_H,hee),Q.Lb=function(e){return _A(),I(e,12).j==(Qz(),S5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return _A(),I(e,12).j==(Qz(),S5)},z(KU,`LPort/lambda$4$Type`,1307),q(1308,1,_H,rn),Q.Lb=function(e){return _A(),I(e,12).j==(Qz(),w5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return _A(),I(e,12).j==(Qz(),w5)},z(KU,`LPort/lambda$5$Type`,1308),q(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},TC),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){return new O(this.a)},Q.Ib=function(){return`L_`+QD(this.b.b,this,0)+CI(this.a)},z(KU,`Layer`,30),q(1330,1,{},Jf),z(ZU,uht,1330),q(1334,1,{},an),Q.Kb=function(e){return cI(I(e,84))},z(ZU,`ElkGraphImporter/0methodref$connectableShapeToNode$Type`,1334),q(1337,1,{},on),Q.Kb=function(e){return cI(I(e,84))},z(ZU,`ElkGraphImporter/1methodref$connectableShapeToNode$Type`,1337),q(1331,1,UB,Lae),Q.Cd=function(e){u5e(this.a,I(e,123))},z(ZU,Rmt,1331),q(1332,1,UB,Lu),Q.Cd=function(e){u5e(this.a,I(e,123))},z(ZU,dht,1332),q(1333,1,{},sn),Q.Kb=function(e){return new Hx(null,new UT(QDe(I(e,74)),16))},z(ZU,fht,1333),q(1335,1,sV,Rae),Q.Mb=function(e){return dhe(this.a,I(e,27))},z(ZU,pht,1335),q(1336,1,{},cn),Q.Kb=function(e){return new Hx(null,new UT($De(I(e,74)),16))},z(ZU,`ElkGraphImporter/lambda$5$Type`,1336),q(1338,1,sV,Ru),Q.Mb=function(e){return fhe(this.a,I(e,27))},z(ZU,`ElkGraphImporter/lambda$7$Type`,1338),q(1339,1,sV,ln),Q.Mb=function(e){return FOe(I(e,74))},z(ZU,`ElkGraphImporter/lambda$8$Type`,1339),q(1297,1,{},gc);var _Et;z(ZU,`ElkGraphLayoutTransferrer`,1297),q(1298,1,sV,zu),Q.Mb=function(e){return mye(this.a,I(e,18))},z(ZU,`ElkGraphLayoutTransferrer/lambda$0$Type`,1298),q(1299,1,UB,Bu),Q.Cd=function(e){Gh(),py(this.a,I(e,18))},z(ZU,`ElkGraphLayoutTransferrer/lambda$1$Type`,1299),q(1300,1,sV,Vu),Q.Mb=function(e){return Pve(this.a,I(e,18))},z(ZU,`ElkGraphLayoutTransferrer/lambda$2$Type`,1300),q(1301,1,UB,zae),Q.Cd=function(e){Gh(),py(this.a,I(e,18))},z(ZU,`ElkGraphLayoutTransferrer/lambda$3$Type`,1301),q(819,1,{},xye),z(QU,`BiLinkedHashMultiMap`,819),q(1550,1,GU,un),Q.Kf=function(e,t){ZVe(I(e,36),t)},z(QU,`CommentNodeMarginCalculator`,1550),q(1551,1,{},dn),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`CommentNodeMarginCalculator/lambda$0$Type`,1551),q(1552,1,UB,fn),Q.Cd=function(e){$ot(I(e,10))},z(QU,`CommentNodeMarginCalculator/lambda$1$Type`,1552),q(1553,1,GU,gee),Q.Kf=function(e,t){Ytt(I(e,36),t)},z(QU,`CommentPostprocessor`,1553),q(1554,1,GU,pn),Q.Kf=function(e,t){kut(I(e,36),t)},z(QU,`CommentPreprocessor`,1554),q(1555,1,GU,_ee),Q.Kf=function(e,t){Wet(I(e,36),t)},z(QU,`ConstraintsPostprocessor`,1555),q(1556,1,GU,mn),Q.Kf=function(e,t){nUe(I(e,36),t)},z(QU,`EdgeAndLayerConstraintEdgeReverser`,1556),q(1557,1,GU,hn),Q.Kf=function(e,t){BJe(I(e,36),t)},z(QU,`EndLabelPostprocessor`,1557),q(1558,1,{},gn),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`EndLabelPostprocessor/lambda$0$Type`,1558),q(1559,1,sV,_n),Q.Mb=function(e){return fFe(I(e,10))},z(QU,`EndLabelPostprocessor/lambda$1$Type`,1559),q(1560,1,UB,vn),Q.Cd=function(e){a1e(I(e,10))},z(QU,`EndLabelPostprocessor/lambda$2$Type`,1560),q(1561,1,GU,yn),Q.Kf=function(e,t){W3e(I(e,36),t)},z(QU,`EndLabelPreprocessor`,1561),q(1562,1,{},bn),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`EndLabelPreprocessor/lambda$0$Type`,1562),q(1563,1,UB,$be),Q.Cd=function(e){Ade(this.a,this.b,this.c,I(e,10))},Q.a=0,Q.b=0,Q.c=!1,z(QU,`EndLabelPreprocessor/lambda$1$Type`,1563),q(1564,1,sV,xn),Q.Mb=function(e){return N(K(I(e,72),(cB(),k1)))===N((XO(),g8))},z(QU,`EndLabelPreprocessor/lambda$2$Type`,1564),q(1565,1,UB,Bae),Q.Cd=function(e){Dx(this.a,I(e,72))},z(QU,`EndLabelPreprocessor/lambda$3$Type`,1565),q(1566,1,sV,Sn),Q.Mb=function(e){return N(K(I(e,72),(cB(),k1)))===N((XO(),h8))},z(QU,`EndLabelPreprocessor/lambda$4$Type`,1566),q(1567,1,UB,Vae),Q.Cd=function(e){Dx(this.a,I(e,72))},z(QU,`EndLabelPreprocessor/lambda$5$Type`,1567),q(1615,1,GU,Zre),Q.Kf=function(e,t){sqe(I(e,36),t)};var vEt;z(QU,`EndLabelSorter`,1615),q(1616,1,pH,Cn),Q.Ne=function(e,t){return oXe(I(e,466),I(t,466))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`EndLabelSorter/1`,1616),q(466,1,{466:1},YOe),z(QU,`EndLabelSorter/LabelGroup`,466),q(1617,1,{},wn),Q.Kb=function(e){return Wh(),new Hx(null,new UT(I(e,30).a,16))},z(QU,`EndLabelSorter/lambda$0$Type`,1617),q(1618,1,sV,vee),Q.Mb=function(e){return Wh(),I(e,10).k==(DI(),dZ)},z(QU,`EndLabelSorter/lambda$1$Type`,1618),q(1619,1,UB,Tn),Q.Cd=function(e){E4e(I(e,10))},z(QU,`EndLabelSorter/lambda$2$Type`,1619),q(1620,1,sV,En),Q.Mb=function(e){return Wh(),N(K(I(e,72),(cB(),k1)))===N((XO(),h8))},z(QU,`EndLabelSorter/lambda$3$Type`,1620),q(1621,1,sV,Dn),Q.Mb=function(e){return Wh(),N(K(I(e,72),(cB(),k1)))===N((XO(),g8))},z(QU,`EndLabelSorter/lambda$4$Type`,1621),q(1568,1,GU,On),Q.Kf=function(e,t){Tst(this,I(e,36))},Q.b=0,Q.c=0,z(QU,`FinalSplineBendpointsCalculator`,1568),q(1569,1,{},kn),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`FinalSplineBendpointsCalculator/lambda$0$Type`,1569),q(1570,1,{},An),Q.Kb=function(e){return new Hx(null,new cC(new SS(Ty(lN(I(e,10)).a.Kc(),new d))))},z(QU,`FinalSplineBendpointsCalculator/lambda$1$Type`,1570),q(1571,1,sV,jn),Q.Mb=function(e){return!XE(I(e,18))},z(QU,`FinalSplineBendpointsCalculator/lambda$2$Type`,1571),q(1572,1,sV,Mn),Q.Mb=function(e){return rb(I(e,18),(Y(),Q$))},z(QU,`FinalSplineBendpointsCalculator/lambda$3$Type`,1572),q(1573,1,UB,Hae),Q.Cd=function(e){_it(this.a,I(e,131))},z(QU,`FinalSplineBendpointsCalculator/lambda$4$Type`,1573),q(1574,1,UB,Nn),Q.Cd=function(e){JI(I(e,18).a)},z(QU,`FinalSplineBendpointsCalculator/lambda$5$Type`,1574),q(803,1,GU,Hu),Q.Kf=function(e,t){jct(this,I(e,36),t)},z(QU,`GraphTransformer`,803),q(517,22,{3:1,34:1,22:1,517:1},hfe);var mZ,hZ,yEt=vk(QU,`GraphTransformer/Mode`,517,WJ,Oke,sSe),bEt;q(1575,1,GU,Pn),Q.Kf=function(e,t){N9e(I(e,36),t)},z(QU,`HierarchicalNodeResizingProcessor`,1575),q(1576,1,GU,Fn),Q.Kf=function(e,t){LVe(I(e,36),t)},z(QU,`HierarchicalPortConstraintProcessor`,1576),q(1577,1,pH,In),Q.Ne=function(e,t){return GXe(I(e,10),I(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`HierarchicalPortConstraintProcessor/NodeComparator`,1577),q(1578,1,GU,Ln),Q.Kf=function(e,t){Yat(I(e,36),t)},z(QU,`HierarchicalPortDummySizeProcessor`,1578),q(1579,1,GU,yee),Q.Kf=function(e,t){Lnt(this,I(e,36),t)},Q.a=0,z(QU,`HierarchicalPortOrthogonalEdgeRouter`,1579),q(1580,1,pH,Rn),Q.Ne=function(e,t){return f_e(I(e,10),I(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`HierarchicalPortOrthogonalEdgeRouter/1`,1580),q(1581,1,pH,zn),Q.Ne=function(e,t){return eRe(I(e,10),I(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`HierarchicalPortOrthogonalEdgeRouter/2`,1581),q(1582,1,GU,bee),Q.Kf=function(e,t){W2e(I(e,36),t)},z(QU,`HierarchicalPortPositionProcessor`,1582),q(1583,1,GU,_c),Q.Kf=function(e,t){Adt(this,I(e,36))},Q.a=0,Q.c=0;var gZ,_Z;z(QU,`HighDegreeNodeLayeringProcessor`,1583),q(580,1,{580:1},Bn),Q.b=-1,Q.d=-1,z(QU,`HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation`,580),q(1584,1,{},Vn),Q.Kb=function(e){return ex(),cN(I(e,10))},Q.Fb=function(e){return this===e},z(QU,`HighDegreeNodeLayeringProcessor/lambda$0$Type`,1584),q(1585,1,{},xee),Q.Kb=function(e){return ex(),lN(I(e,10))},Q.Fb=function(e){return this===e},z(QU,`HighDegreeNodeLayeringProcessor/lambda$1$Type`,1585),q(1591,1,GU,See),Q.Kf=function(e,t){Nat(this,I(e,36),t)},z(QU,`HyperedgeDummyMerger`,1591),q(804,1,{},txe),Q.a=!1,Q.b=!1,Q.c=!1,z(QU,`HyperedgeDummyMerger/MergeState`,804),q(1592,1,{},Hn),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`HyperedgeDummyMerger/lambda$0$Type`,1592),q(1593,1,{},Un),Q.Kb=function(e){return new Hx(null,new UT(I(e,10).j,16))},z(QU,`HyperedgeDummyMerger/lambda$1$Type`,1593),q(1594,1,UB,Wn),Q.Cd=function(e){I(e,12).p=-1},z(QU,`HyperedgeDummyMerger/lambda$2$Type`,1594),q(1595,1,GU,Gn),Q.Kf=function(e,t){jat(I(e,36),t)},z(QU,`HypernodesProcessor`,1595),q(1596,1,GU,Kn),Q.Kf=function(e,t){Jat(I(e,36),t)},z(QU,`InLayerConstraintProcessor`,1596),q(1597,1,GU,Cee),Q.Kf=function(e,t){wHe(I(e,36),t)},z(QU,`InnermostNodeMarginCalculator`,1597),q(1598,1,GU,qn),Q.Kf=function(e,t){Tut(this,I(e,36))},Q.a=zV,Q.b=zV,Q.c=RV,Q.d=RV;var xEt=z(QU,`InteractiveExternalPortPositioner`,1598);q(1599,1,{},Jn),Q.Kb=function(e){return I(e,18).d.i},Q.Fb=function(e){return this===e},z(QU,`InteractiveExternalPortPositioner/lambda$0$Type`,1599),q(1600,1,{},Uae),Q.Kb=function(e){return p_e(this.a,F(e))},Q.Fb=function(e){return this===e},z(QU,`InteractiveExternalPortPositioner/lambda$1$Type`,1600),q(1601,1,{},Yn),Q.Kb=function(e){return I(e,18).c.i},Q.Fb=function(e){return this===e},z(QU,`InteractiveExternalPortPositioner/lambda$2$Type`,1601),q(1602,1,{},Wae),Q.Kb=function(e){return m_e(this.a,F(e))},Q.Fb=function(e){return this===e},z(QU,`InteractiveExternalPortPositioner/lambda$3$Type`,1602),q(1603,1,{},Gae),Q.Kb=function(e){return Aye(this.a,F(e))},Q.Fb=function(e){return this===e},z(QU,`InteractiveExternalPortPositioner/lambda$4$Type`,1603),q(1604,1,{},Kae),Q.Kb=function(e){return jye(this.a,F(e))},Q.Fb=function(e){return this===e},z(QU,`InteractiveExternalPortPositioner/lambda$5$Type`,1604),q(81,22,{3:1,34:1,22:1,81:1,196:1},Ng),Q.dg=function(){switch(this.g){case 15:return new Cte;case 22:return new hi;case 47:return new Tte;case 28:case 35:return new Dee;case 32:return new un;case 42:return new gee;case 1:return new pn;case 41:return new _ee;case 56:return new Hu((gA(),hZ));case 0:return new Hu((gA(),mZ));case 2:return new mn;case 54:return new hn;case 33:return new yn;case 51:return new On;case 55:return new Pn;case 13:return new Fn;case 38:return new Ln;case 44:return new yee;case 40:return new bee;case 9:return new _c;case 49:return new x_e;case 37:return new See;case 43:return new Gn;case 27:return new Kn;case 30:return new Cee;case 3:return new qn;case 18:return new Zn;case 29:return new Qn;case 5:return new nie;case 50:return new Xn;case 34:return new rie;case 36:return new Oee;case 52:return new Zre;case 11:return new kee;case 7:return new iie;case 39:return new Aee;case 45:return new rr;case 16:return new jee;case 10:return new Jfe;case 48:return new Mee;case 21:return new Nee;case 23:return new qp((bk(),T2));case 8:return new Fee;case 12:return new Lee;case 4:return new Ree;case 19:return new Sc;case 17:return new pr;case 53:return new mr;case 6:return new wr;case 25:return new Yse;case 46:return new vr;case 31:return new Tye;case 14:return new Gee;case 26:return new Dte;case 20:return new Fr;case 24:return new qp((bk(),E2));default:throw k(new rm($U+(this.f==null?``+this.g:this.f)))}};var SEt,CEt,wEt,TEt,EEt,DEt,OEt,kEt,AEt,jEt,vZ,yZ,bZ,MEt,NEt,PEt,FEt,IEt,LEt,REt,xZ,zEt,BEt,VEt,HEt,UEt,SZ,CZ,wZ,WEt,TZ,EZ,DZ,OZ,kZ,AZ,GEt,jZ,MZ,KEt,NZ,PZ,qEt,JEt,YEt,XEt,FZ,IZ,LZ,RZ,zZ,BZ,VZ,ZEt,QEt,$Et,eDt,tDt=vk(QU,eW,81,WJ,Tet,oxe),nDt;q(1605,1,GU,Zn),Q.Kf=function(e,t){Cut(I(e,36),t)},z(QU,`InvertedPortProcessor`,1605),q(1606,1,GU,Qn),Q.Kf=function(e,t){rit(I(e,36),t)},z(QU,`LabelAndNodeSizeProcessor`,1606),q(1607,1,sV,$n),Q.Mb=function(e){return I(e,10).k==(DI(),dZ)},z(QU,`LabelAndNodeSizeProcessor/lambda$0$Type`,1607),q(1608,1,sV,er),Q.Mb=function(e){return I(e,10).k==(DI(),cZ)},z(QU,`LabelAndNodeSizeProcessor/lambda$1$Type`,1608),q(1609,1,UB,nxe),Q.Cd=function(e){jde(this.b,this.a,this.c,I(e,10))},Q.a=!1,Q.c=!1,z(QU,`LabelAndNodeSizeProcessor/lambda$2$Type`,1609),q(1610,1,GU,nie),Q.Kf=function(e,t){Vlt(I(e,36),t)};var rDt;z(QU,`LabelDummyInserter`,1610),q(1611,1,_H,wee),Q.Lb=function(e){return N(K(I(e,72),(cB(),k1)))===N((XO(),m8))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(K(I(e,72),(cB(),k1)))===N((XO(),m8))},z(QU,`LabelDummyInserter/1`,1611),q(1612,1,GU,Xn),Q.Kf=function(e,t){blt(I(e,36),t)},z(QU,`LabelDummyRemover`,1612),q(1613,1,sV,Tee),Q.Mb=function(e){return Zp(fb(K(I(e,72),(cB(),O1))))},z(QU,`LabelDummyRemover/lambda$0$Type`,1613),q(1378,1,GU,rie),Q.Kf=function(e,t){slt(this,I(e,36),t)},Q.a=null;var HZ;z(QU,`LabelDummySwitcher`,1378),q(293,1,{293:1},Rrt),Q.c=0,Q.d=null,Q.f=0,z(QU,`LabelDummySwitcher/LabelDummyInfo`,293),q(1379,1,{},tr),Q.Kb=function(e){return mA(),new Hx(null,new UT(I(e,30).a,16))},z(QU,`LabelDummySwitcher/lambda$0$Type`,1379),q(1380,1,sV,Eee),Q.Mb=function(e){return mA(),I(e,10).k==(DI(),lZ)},z(QU,`LabelDummySwitcher/lambda$1$Type`,1380),q(1381,1,{},qae),Q.Kb=function(e){return Fve(this.a,I(e,10))},z(QU,`LabelDummySwitcher/lambda$2$Type`,1381),q(1382,1,UB,Uu),Q.Cd=function(e){rDe(this.a,I(e,293))},z(QU,`LabelDummySwitcher/lambda$3$Type`,1382),q(1383,1,pH,nr),Q.Ne=function(e,t){return HTe(I(e,293),I(t,293))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`LabelDummySwitcher/lambda$4$Type`,1383),q(802,1,GU,Dee),Q.Kf=function(e,t){bLe(I(e,36),t)},z(QU,`LabelManagementProcessor`,802),q(1614,1,GU,Oee),Q.Kf=function(e,t){Dtt(I(e,36),t)},z(QU,`LabelSideSelector`,1614),q(1622,1,GU,kee),Q.Kf=function(e,t){yot(I(e,36),t)},z(QU,`LayerConstraintPostprocessor`,1622),q(1623,1,GU,iie),Q.Kf=function(e,t){$5e(I(e,36),t)};var iDt;z(QU,`LayerConstraintPreprocessor`,1623),q(371,22,{3:1,34:1,22:1,371:1},Pg);var UZ,WZ,GZ,KZ,aDt=vk(QU,`LayerConstraintPreprocessor/HiddenNodeConnections`,371,WJ,PNe,sxe),oDt;q(1624,1,GU,Aee),Q.Kf=function(e,t){_ct(I(e,36),t)},z(QU,`LayerSizeAndGraphHeightCalculator`,1624),q(1625,1,GU,rr),Q.Kf=function(e,t){P9e(I(e,36),t)},z(QU,`LongEdgeJoiner`,1625),q(1626,1,GU,jee),Q.Kf=function(e,t){Bst(I(e,36),t)},z(QU,`LongEdgeSplitter`,1626),q(1627,1,GU,Jfe),Q.Kf=function(e,t){iut(this,I(e,36),t)},Q.e=0,Q.f=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0;var sDt,cDt;z(QU,`NodePromotion`,1627),q(1628,1,pH,ir),Q.Ne=function(e,t){return rGe(I(e,10),I(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`NodePromotion/1`,1628),q(1629,1,pH,ar),Q.Ne=function(e,t){return iGe(I(e,10),I(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`NodePromotion/2`,1629),q(1630,1,{},or),Q.Kb=function(e){return I(e,42),tx(),Vy(),!0},Q.Fb=function(e){return this===e},z(QU,`NodePromotion/lambda$0$Type`,1630),q(1631,1,{},Xae),Q.Kb=function(e){return wAe(this.a,I(e,42))},Q.Fb=function(e){return this===e},Q.a=0,z(QU,`NodePromotion/lambda$1$Type`,1631),q(1632,1,{},Gu),Q.Kb=function(e){return CAe(this.a,I(e,42))},Q.Fb=function(e){return this===e},Q.a=0,z(QU,`NodePromotion/lambda$2$Type`,1632),q(1633,1,GU,Mee),Q.Kf=function(e,t){ydt(I(e,36),t)},z(QU,`NorthSouthPortPostprocessor`,1633),q(1634,1,GU,Nee),Q.Kf=function(e,t){Kut(I(e,36),t)},z(QU,`NorthSouthPortPreprocessor`,1634),q(1635,1,pH,Pee),Q.Ne=function(e,t){return hUe(I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`NorthSouthPortPreprocessor/lambda$0$Type`,1635),q(1636,1,GU,Fee),Q.Kf=function(e,t){nat(I(e,36),t)},z(QU,`PartitionMidprocessor`,1636),q(1637,1,sV,Iee),Q.Mb=function(e){return rb(I(e,10),(cB(),i0))},z(QU,`PartitionMidprocessor/lambda$0$Type`,1637),q(1638,1,UB,Zae),Q.Cd=function(e){IOe(this.a,I(e,10))},z(QU,`PartitionMidprocessor/lambda$1$Type`,1638),q(1639,1,GU,Lee),Q.Kf=function(e,t){uet(I(e,36),t)},z(QU,`PartitionPostprocessor`,1639),q(1640,1,GU,Ree),Q.Kf=function(e,t){d5e(I(e,36),t)},z(QU,`PartitionPreprocessor`,1640),q(1641,1,sV,zee),Q.Mb=function(e){return rb(I(e,10),(cB(),i0))},z(QU,`PartitionPreprocessor/lambda$0$Type`,1641),q(1642,1,{},Bee),Q.Kb=function(e){return new Hx(null,new cC(new SS(Ty(lN(I(e,10)).a.Kc(),new d))))},z(QU,`PartitionPreprocessor/lambda$1$Type`,1642),q(1643,1,sV,Vee),Q.Mb=function(e){return hXe(I(e,18))},z(QU,`PartitionPreprocessor/lambda$2$Type`,1643),q(1644,1,UB,sr),Q.Cd=function(e){tWe(I(e,18))},z(QU,`PartitionPreprocessor/lambda$3$Type`,1644),q(1645,1,GU,Sc),Q.Kf=function(e,t){Ait(I(e,36),t)};var lDt,uDt,dDt,fDt,pDt,mDt;z(QU,`PortListSorter`,1645),q(1648,1,pH,cr),Q.Ne=function(e,t){return kPe(I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`PortListSorter/lambda$0$Type`,1648),q(1650,1,pH,lr),Q.Ne=function(e,t){return xat(I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`PortListSorter/lambda$1$Type`,1650),q(1646,1,{},ur),Q.Kb=function(e){return Pj(),I(e,12).e},z(QU,`PortListSorter/lambda$2$Type`,1646),q(1647,1,{},dr),Q.Kb=function(e){return Pj(),I(e,12).g},z(QU,`PortListSorter/lambda$3$Type`,1647),q(1649,1,pH,fr),Q.Ne=function(e,t){return JQe(I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`PortListSorter/lambda$4$Type`,1649),q(1651,1,GU,pr),Q.Kf=function(e,t){y7e(I(e,36),t)},z(QU,`PortSideProcessor`,1651),q(1652,1,GU,mr),Q.Kf=function(e,t){drt(I(e,36),t)},z(QU,`ReversedEdgeRestorer`,1652),q(1657,1,GU,Yse),Q.Kf=function(e,t){hQe(this,I(e,36),t)},z(QU,`SelfLoopPortRestorer`,1657),q(1658,1,{},hr),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`SelfLoopPortRestorer/lambda$0$Type`,1658),q(1659,1,sV,Hee),Q.Mb=function(e){return I(e,10).k==(DI(),dZ)},z(QU,`SelfLoopPortRestorer/lambda$1$Type`,1659),q(1660,1,sV,gr),Q.Mb=function(e){return rb(I(e,10),(Y(),J$))},z(QU,`SelfLoopPortRestorer/lambda$2$Type`,1660),q(1661,1,{},Uee),Q.Kb=function(e){return I(K(I(e,10),(Y(),J$)),337)},z(QU,`SelfLoopPortRestorer/lambda$3$Type`,1661),q(1662,1,UB,Jae),Q.Cd=function(e){W4e(this.a,I(e,337))},z(QU,`SelfLoopPortRestorer/lambda$4$Type`,1662),q(805,1,UB,_r),Q.Cd=function(e){u3e(I(e,105))},z(QU,`SelfLoopPortRestorer/lambda$5$Type`,805),q(1663,1,GU,vr),Q.Kf=function(e,t){zXe(I(e,36),t)},z(QU,`SelfLoopPostProcessor`,1663),q(1664,1,{},yr),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`SelfLoopPostProcessor/lambda$0$Type`,1664),q(1665,1,sV,br),Q.Mb=function(e){return I(e,10).k==(DI(),dZ)},z(QU,`SelfLoopPostProcessor/lambda$1$Type`,1665),q(1666,1,sV,Wee),Q.Mb=function(e){return rb(I(e,10),(Y(),J$))},z(QU,`SelfLoopPostProcessor/lambda$2$Type`,1666),q(1667,1,UB,xr),Q.Cd=function(e){M1e(I(e,10))},z(QU,`SelfLoopPostProcessor/lambda$3$Type`,1667),q(1668,1,{},Sr),Q.Kb=function(e){return new Hx(null,new UT(I(e,105).f,1))},z(QU,`SelfLoopPostProcessor/lambda$4$Type`,1668),q(1669,1,UB,Wu),Q.Cd=function(e){RNe(this.a,I(e,340))},z(QU,`SelfLoopPostProcessor/lambda$5$Type`,1669),q(1670,1,sV,Cr),Q.Mb=function(e){return!!I(e,105).i},z(QU,`SelfLoopPostProcessor/lambda$6$Type`,1670),q(1671,1,UB,Yae),Q.Cd=function(e){Oce(this.a,I(e,105))},z(QU,`SelfLoopPostProcessor/lambda$7$Type`,1671),q(1653,1,GU,wr),Q.Kf=function(e,t){u9e(I(e,36),t)},z(QU,`SelfLoopPreProcessor`,1653),q(1654,1,{},Tr),Q.Kb=function(e){return new Hx(null,new UT(I(e,105).f,1))},z(QU,`SelfLoopPreProcessor/lambda$0$Type`,1654),q(1655,1,{},Er),Q.Kb=function(e){return I(e,340).a},z(QU,`SelfLoopPreProcessor/lambda$1$Type`,1655),q(1656,1,UB,Dr),Q.Cd=function(e){Ihe(I(e,18))},z(QU,`SelfLoopPreProcessor/lambda$2$Type`,1656),q(1672,1,GU,Tye),Q.Kf=function(e,t){_4e(this,I(e,36),t)},z(QU,`SelfLoopRouter`,1672),q(1673,1,{},Or),Q.Kb=function(e){return new Hx(null,new UT(I(e,30).a,16))},z(QU,`SelfLoopRouter/lambda$0$Type`,1673),q(1674,1,sV,kr),Q.Mb=function(e){return I(e,10).k==(DI(),dZ)},z(QU,`SelfLoopRouter/lambda$1$Type`,1674),q(1675,1,sV,Ar),Q.Mb=function(e){return rb(I(e,10),(Y(),J$))},z(QU,`SelfLoopRouter/lambda$2$Type`,1675),q(1676,1,{},jr),Q.Kb=function(e){return I(K(I(e,10),(Y(),J$)),337)},z(QU,`SelfLoopRouter/lambda$3$Type`,1676),q(1677,1,UB,gfe),Q.Cd=function(e){mOe(this.a,this.b,I(e,337))},z(QU,`SelfLoopRouter/lambda$4$Type`,1677),q(1678,1,GU,Gee),Q.Kf=function(e,t){ott(I(e,36),t)},z(QU,`SemiInteractiveCrossMinProcessor`,1678),q(1679,1,sV,Mr),Q.Mb=function(e){return I(e,10).k==(DI(),dZ)},z(QU,`SemiInteractiveCrossMinProcessor/lambda$0$Type`,1679),q(1680,1,sV,Kee),Q.Mb=function(e){return Kwe(I(e,10))._b((cB(),d0))},z(QU,`SemiInteractiveCrossMinProcessor/lambda$1$Type`,1680),q(1681,1,pH,Nr),Q.Ne=function(e,t){return VVe(I(e,10),I(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(QU,`SemiInteractiveCrossMinProcessor/lambda$2$Type`,1681),q(1682,1,{},Pr),Q.Ve=function(e,t){return LOe(I(e,10),I(t,10))},z(QU,`SemiInteractiveCrossMinProcessor/lambda$3$Type`,1682),q(1684,1,GU,Fr),Q.Kf=function(e,t){ast(I(e,36),t)},z(QU,`SortByInputModelProcessor`,1684),q(1685,1,sV,qee),Q.Mb=function(e){return I(e,12).g.c.length!=0},z(QU,`SortByInputModelProcessor/lambda$0$Type`,1685),q(1686,1,UB,Ku),Q.Cd=function(e){b3e(this.a,I(e,12))},z(QU,`SortByInputModelProcessor/lambda$1$Type`,1686),q(1759,817,{},YVe),Q.df=function(e){var t,n,r,i;switch(this.c=e,this.a.g){case 2:t=new qd,Ph(aw(new Hx(null,new UT(this.c.a.b,16)),new Vr),new Efe(this,t)),ZI(this,new Yee),UO(t,new Ir),t.c.length=0,Ph(aw(new Hx(null,new UT(this.c.a.b,16)),new Xee),new Ju(t)),ZI(this,new Zee),UO(t,new Lr),t.c.length=0,n=Nhe(pA(sw(new Hx(null,new UT(this.c.a.b,16)),new Yu(this))),new Rr),Ph(new Hx(null,new UT(this.c.a.a,16)),new yfe(n,t)),ZI(this,new $ee),UO(t,new ete),t.c.length=0;break;case 3:r=new qd,ZI(this,new Jee),i=Nhe(pA(sw(new Hx(null,new UT(this.c.a.b,16)),new qu(this))),new Qee),Ph(aw(new Hx(null,new UT(this.c.a.b,16)),new tte),new xfe(i,r)),ZI(this,new zr),UO(r,new Br),r.c.length=0;break;default:throw k(new Ef)}},Q.b=0,z(nW,`EdgeAwareScanlineConstraintCalculation`,1759),q(1760,1,_H,Jee),Q.Lb=function(e){return P(I(e,60).g,154)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return P(I(e,60).g,154)},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$0$Type`,1760),q(1761,1,{},qu),Q.Ye=function(e){return R6e(this.a,I(e,60))},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$1$Type`,1761),q(1769,1,cV,_fe),Q.de=function(){zF(this.a,this.b,-1)},Q.b=0,z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$10$Type`,1769),q(1771,1,_H,Yee),Q.Lb=function(e){return P(I(e,60).g,154)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return P(I(e,60).g,154)},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$11$Type`,1771),q(1772,1,UB,Ir),Q.Cd=function(e){I(e,380).de()},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$12$Type`,1772),q(1773,1,sV,Xee),Q.Mb=function(e){return P(I(e,60).g,10)},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$13$Type`,1773),q(1775,1,UB,Ju),Q.Cd=function(e){Yqe(this.a,I(e,60))},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$14$Type`,1775),q(1774,1,cV,Sfe),Q.de=function(){zF(this.b,this.a,-1)},Q.a=0,z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$15$Type`,1774),q(1776,1,_H,Zee),Q.Lb=function(e){return P(I(e,60).g,10)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return P(I(e,60).g,10)},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$16$Type`,1776),q(1777,1,UB,Lr),Q.Cd=function(e){I(e,380).de()},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$17$Type`,1777),q(1778,1,{},Yu),Q.Ye=function(e){return z6e(this.a,I(e,60))},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$18$Type`,1778),q(1779,1,{},Rr),Q.We=function(){return 0},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$19$Type`,1779),q(1762,1,{},Qee),Q.We=function(){return 0},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$2$Type`,1762),q(1781,1,UB,yfe),Q.Cd=function(e){mTe(this.a,this.b,I(e,316))},Q.a=0,z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$20$Type`,1781),q(1780,1,cV,bfe),Q.de=function(){S7e(this.a,this.b,-1)},Q.b=0,z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$21$Type`,1780),q(1782,1,_H,$ee),Q.Lb=function(e){return I(e,60),!0},Q.Fb=function(e){return this===e},Q.Mb=function(e){return I(e,60),!0},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$22$Type`,1782),q(1783,1,UB,ete),Q.Cd=function(e){I(e,380).de()},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$23$Type`,1783),q(1763,1,sV,tte),Q.Mb=function(e){return P(I(e,60).g,10)},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$3$Type`,1763),q(1765,1,UB,xfe),Q.Cd=function(e){hTe(this.a,this.b,I(e,60))},Q.a=0,z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$4$Type`,1765),q(1764,1,cV,Cfe),Q.de=function(){zF(this.b,this.a,-1)},Q.a=0,z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$5$Type`,1764),q(1766,1,_H,zr),Q.Lb=function(e){return I(e,60),!0},Q.Fb=function(e){return this===e},Q.Mb=function(e){return I(e,60),!0},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$6$Type`,1766),q(1767,1,UB,Br),Q.Cd=function(e){I(e,380).de()},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$7$Type`,1767),q(1768,1,sV,Vr),Q.Mb=function(e){return P(I(e,60).g,154)},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$8$Type`,1768),q(1770,1,UB,Efe),Q.Cd=function(e){Uze(this.a,this.b,I(e,60))},z(nW,`EdgeAwareScanlineConstraintCalculation/lambda$9$Type`,1770),q(1586,1,GU,x_e),Q.Kf=function(e,t){qst(this,I(e,36),t)};var hDt;z(nW,`HorizontalGraphCompactor`,1586),q(1587,1,{},Qae),Q.ff=function(e,t){var n,r,i;return LRe(e,t)||(n=cE(e),r=cE(t),n&&n.k==(DI(),cZ)||r&&r.k==(DI(),cZ))?0:(i=I(K(this.a.a,(Y(),Y$)),312),v_e(i,n?n.k:(DI(),uZ),r?r.k:(DI(),uZ)))},Q.gf=function(e,t){var n,r,i;return LRe(e,t)?1:(n=cE(e),r=cE(t),i=I(K(this.a.a,(Y(),Y$)),312),y_e(i,n?n.k:(DI(),uZ),r?r.k:(DI(),uZ)))},z(nW,`HorizontalGraphCompactor/1`,1587),q(1588,1,{},nte),Q.ef=function(e,t){return Kh(),e.a.i==0},z(nW,`HorizontalGraphCompactor/lambda$0$Type`,1588),q(1589,1,{},$ae),Q.ef=function(e,t){return HOe(this.a,e,t)},z(nW,`HorizontalGraphCompactor/lambda$1$Type`,1589),q(1730,1,{},FRe);var gDt,_Dt;z(nW,`LGraphToCGraphTransformer`,1730),q(1738,1,sV,rte),Q.Mb=function(e){return e!=null},z(nW,`LGraphToCGraphTransformer/0methodref$nonNull$Type`,1738),q(1731,1,{},Hr),Q.Kb=function(e){return nx(),mN(K(I(I(e,60).g,10),(Y(),R$)))},z(nW,`LGraphToCGraphTransformer/lambda$0$Type`,1731),q(1732,1,{},ite),Q.Kb=function(e){return nx(),kKe(I(I(e,60).g,154))},z(nW,`LGraphToCGraphTransformer/lambda$1$Type`,1732),q(1741,1,sV,ate),Q.Mb=function(e){return nx(),P(I(e,60).g,10)},z(nW,`LGraphToCGraphTransformer/lambda$10$Type`,1741),q(1742,1,UB,ote),Q.Cd=function(e){rke(I(e,60))},z(nW,`LGraphToCGraphTransformer/lambda$11$Type`,1742),q(1743,1,sV,ste),Q.Mb=function(e){return nx(),P(I(e,60).g,154)},z(nW,`LGraphToCGraphTransformer/lambda$12$Type`,1743),q(1747,1,UB,cte),Q.Cd=function(e){OKe(I(e,60))},z(nW,`LGraphToCGraphTransformer/lambda$13$Type`,1747),q(1744,1,UB,eoe),Q.Cd=function(e){Hme(this.a,I(e,8))},Q.a=0,z(nW,`LGraphToCGraphTransformer/lambda$14$Type`,1744),q(1745,1,UB,toe),Q.Cd=function(e){Wme(this.a,I(e,116))},Q.a=0,z(nW,`LGraphToCGraphTransformer/lambda$15$Type`,1745),q(1746,1,UB,noe),Q.Cd=function(e){Ume(this.a,I(e,8))},Q.a=0,z(nW,`LGraphToCGraphTransformer/lambda$16$Type`,1746),q(1748,1,{},lte),Q.Kb=function(e){return nx(),new Hx(null,new cC(new SS(Ty(lN(I(e,10)).a.Kc(),new d))))},z(nW,`LGraphToCGraphTransformer/lambda$17$Type`,1748),q(1749,1,sV,ute),Q.Mb=function(e){return nx(),XE(I(e,18))},z(nW,`LGraphToCGraphTransformer/lambda$18$Type`,1749),q(1750,1,UB,roe),Q.Cd=function(e){JRe(this.a,I(e,18))},z(nW,`LGraphToCGraphTransformer/lambda$19$Type`,1750),q(1734,1,UB,ioe),Q.Cd=function(e){uMe(this.a,I(e,154))},z(nW,`LGraphToCGraphTransformer/lambda$2$Type`,1734),q(1751,1,{},dte),Q.Kb=function(e){return nx(),new Hx(null,new UT(I(e,30).a,16))},z(nW,`LGraphToCGraphTransformer/lambda$20$Type`,1751),q(1752,1,{},fte),Q.Kb=function(e){return nx(),new Hx(null,new cC(new SS(Ty(lN(I(e,10)).a.Kc(),new d))))},z(nW,`LGraphToCGraphTransformer/lambda$21$Type`,1752),q(1753,1,{},pte),Q.Kb=function(e){return nx(),I(K(I(e,18),(Y(),Q$)),15)},z(nW,`LGraphToCGraphTransformer/lambda$22$Type`,1753),q(1754,1,sV,Ur),Q.Mb=function(e){return b_e(I(e,15))},z(nW,`LGraphToCGraphTransformer/lambda$23$Type`,1754),q(1755,1,UB,aoe),Q.Cd=function(e){w6e(this.a,I(e,15))},z(nW,`LGraphToCGraphTransformer/lambda$24$Type`,1755),q(1733,1,UB,Dfe),Q.Cd=function(e){fPe(this.a,this.b,I(e,154))},z(nW,`LGraphToCGraphTransformer/lambda$3$Type`,1733),q(1735,1,{},mte),Q.Kb=function(e){return nx(),new Hx(null,new UT(I(e,30).a,16))},z(nW,`LGraphToCGraphTransformer/lambda$4$Type`,1735),q(1736,1,{},hte),Q.Kb=function(e){return nx(),new Hx(null,new cC(new SS(Ty(lN(I(e,10)).a.Kc(),new d))))},z(nW,`LGraphToCGraphTransformer/lambda$5$Type`,1736),q(1737,1,{},Wr),Q.Kb=function(e){return nx(),I(K(I(e,18),(Y(),Q$)),15)},z(nW,`LGraphToCGraphTransformer/lambda$6$Type`,1737),q(1739,1,UB,ooe),Q.Cd=function(e){B6e(this.a,I(e,15))},z(nW,`LGraphToCGraphTransformer/lambda$8$Type`,1739),q(1740,1,UB,Ofe),Q.Cd=function(e){Lhe(this.a,this.b,I(e,154))},z(nW,`LGraphToCGraphTransformer/lambda$9$Type`,1740),q(1729,1,{},Gr),Q.cf=function(e){var t,n,r,i,a;for(this.a=e,this.d=new zf,this.c=H(ICt,DB,125,this.a.a.a.c.length,0,1),this.b=0,n=new O(this.a.a.a);n.a=g&&(py(o,gM(d)),y=r.Math.max(y,b[d-1]-f),c+=h,_+=b[d-1]-_,f=b[d-1],h=l[d]),h=r.Math.max(h,l[d]),++d;c+=h}m=r.Math.min(1/y,1/t.b/c),m>i&&(i=m,n=o)}return n},Q.pg=function(){return!1},z(lW,`MSDCutIndexHeuristic`,816),q(1683,1,GU,Dte),Q.Kf=function(e,t){Tot(I(e,36),t)},z(lW,`SingleEdgeGraphWrapper`,1683),q(232,22,{3:1,34:1,22:1,232:1},Rg);var hQ,gQ,_Q,vQ,yQ,bQ,xQ=vk(uW,`CenterEdgeLabelPlacementStrategy`,232,WJ,kLe,dxe),ADt;q(431,22,{3:1,34:1,22:1,431:1},Mfe);var jDt,SQ,MDt=vk(uW,`ConstraintCalculationStrategy`,431,WJ,jke,fxe),NDt;q(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},Nfe),Q.dg=function(){return n8e(this)},Q.qg=function(){return n8e(this)};var CQ,wQ,PDt,FDt=vk(uW,`CrossingMinimizationStrategy`,322,WJ,hje,pxe),IDt;q(351,22,{3:1,34:1,22:1,351:1},zg);var LDt,TQ,EQ,RDt=vk(uW,`CuttingStrategy`,351,WJ,gje,mxe),zDt;q(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},Bg),Q.dg=function(){return u7e(this)},Q.qg=function(){return u7e(this)};var BDt,DQ,OQ,kQ,AQ,VDt=vk(uW,`CycleBreakingStrategy`,348,WJ,TFe,hxe),HDt;q(428,22,{3:1,34:1,22:1,428:1},Pfe);var jQ,UDt,WDt=vk(uW,`DirectionCongruency`,428,WJ,Ake,gxe),GDt;q(460,22,{3:1,34:1,22:1,460:1},Vg);var MQ,NQ,PQ,KDt=vk(uW,`EdgeConstraint`,460,WJ,_je,Cxe),qDt;q(283,22,{3:1,34:1,22:1,283:1},Hg);var FQ,IQ,LQ,RQ,zQ,BQ,JDt=vk(uW,`EdgeLabelSideSelection`,283,WJ,ELe,wxe),YDt;q(488,22,{3:1,34:1,22:1,488:1},Ffe);var VQ,XDt,ZDt=vk(uW,`EdgeStraighteningStrategy`,488,WJ,Rke,Txe),QDt;q(281,22,{3:1,34:1,22:1,281:1},Ug);var HQ,$Dt,eOt,UQ,tOt,nOt,rOt=vk(uW,`FixedAlignment`,281,WJ,DLe,Sxe),iOt;q(282,22,{3:1,34:1,22:1,282:1},Wg);var aOt,oOt,sOt,cOt,WQ,lOt,uOt=vk(uW,`GraphCompactionStrategy`,282,WJ,OLe,_xe),dOt;q(259,22,{3:1,34:1,22:1,259:1},Gg);var GQ,KQ,qQ,JQ,YQ,XQ,ZQ,QQ,$Q,e$,t$=vk(uW,`GraphProperties`,259,WJ,lHe,vxe),fOt;q(299,22,{3:1,34:1,22:1,299:1},Kg);var n$,r$,i$,a$=vk(uW,`GreedySwitchType`,299,WJ,vje,yxe),pOt;q(311,22,{3:1,34:1,22:1,311:1},qg);var o$,s$,c$,mOt=vk(uW,`InLayerConstraint`,311,WJ,yje,bxe),hOt;q(429,22,{3:1,34:1,22:1,429:1},Ife);var l$,gOt,_Ot=vk(uW,`InteractiveReferencePoint`,429,WJ,kke,xxe),vOt,yOt,u$,d$,f$,bOt,xOt,p$,SOt,m$,h$,g$,_$,v$,y$,b$,x$,COt,S$,C$,w$,T$,E$,D$,O$,k$,wOt,A$,j$,M$,N$,P$,F$,I$,L$,R$,TOt,EOt,DOt,OOt,kOt,z$,B$,V$,H$,U$,W$,G$,K$,q$,J$,Y$,X$,Z$,Q$,AOt,$$,e1,t1;q(171,22,{3:1,34:1,22:1,171:1},Jg);var n1,r1,i1,a1,o1,jOt=vk(uW,`LayerConstraint`,171,WJ,DFe,Exe),MOt;q(859,1,bH,Tc),Q.hf=function(e){fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Eht),``),`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.`),_kt),(VI(),J3)),WDt),qM((_P(),U3))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Dht),``),`Feedback Edges`),`Whether feedback edges should be highlighted by routing around the nodes.`),(Vy(),!1)),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,fW),``),`Interactive Reference Point`),`Determines which point of a node is considered by interactive layout phases.`),Bkt),J3),_Ot),qM(U3)))),aE(e,fW,pW,Hkt),aE(e,fW,bW,Vkt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Oht),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,kht),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Ole(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Aht),``),`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),K3),nY),qM(W3)),W(j(dY,1),X,2,6,[`org.eclipse.elk.layered.northOrSouthPort`])))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,jht),``),`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.`),TAt),J3),BMt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Mht),``),`Thoroughness`),`How much effort should be spent to produce a nice layout.`),gM(7)),X3),sY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Nht),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Pht),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,pW),`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).`),hkt),J3),VDt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,mW),eG),`Node Layering Strategy`),`Strategy for node layering.`),rAt),J3),SMt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Fht),eG),`Layer Constraint`),`Determines a constraint on the placement of the node regarding the layering.`),qkt),J3),jOt),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Iht),eG),`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),X3),sY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Lht),eG),`Layer ID`),`Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set.`),gM(-1)),X3),sY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,hW),ogt),`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.`),gM(4)),X3),sY),qM(U3)))),aE(e,hW,mW,Xkt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,gW),ogt),`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.`),gM(2)),X3),sY),qM(U3)))),aE(e,gW,mW,Qkt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,_W),sgt),`Node Promotion Strategy`),`Reduces number of dummy nodes after layering phase (if possible).`),tAt),J3),FMt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,vW),sgt),`Max Node Promotion Iterations`),`Limits the number of iterations for node promotion.`),gM(0)),X3),sY),qM(U3)))),aE(e,vW,_W,null),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,yW),`layering.coffmanGraham`),`Layer Bound`),`The maximum number of nodes allowed per layer.`),gM(SB)),X3),sY),qM(U3)))),aE(e,yW,mW,Wkt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,bW),tG),`Crossing Minimization Strategy`),`Strategy for crossing minimization.`),pkt),J3),FDt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Rht),tG),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,xW),tG),`Hierarchical Sweepiness`),`How likely it is to use cross-hierarchy (1) vs bottom-up (-1).`),.1),q3),aY),qM(U3)))),aE(e,xW,nG,akt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,SW),tG),`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),K3),nY),qM(U3)))),aE(e,SW,bW,dkt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,zht),tG),`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),Q3),dY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Bht),tG),`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),Q3),dY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Vht),tG),`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),X3),sY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Hht),tG),`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.`),gM(-1)),X3),sY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Uht),cgt),`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.`),gM(40)),X3),sY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,CW),cgt),`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.`),nkt),J3),a$),qM(U3)))),aE(e,CW,bW,rkt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,wW),`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.`),QOt),J3),a$),qM(U3)))),aE(e,wW,bW,$Ot),aE(e,wW,nG,ekt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,TW),lgt),`Node Placement Strategy`),`Strategy for node placement.`),CAt),J3),kMt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,EW),lgt),`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.`),K3),nY),qM(U3)))),aE(e,EW,TW,pAt),aE(e,EW,TW,mAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,DW),ugt),`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.`),sAt),J3),ZDt),qM(U3)))),aE(e,DW,TW,cAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,OW),ugt),`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.`),uAt),J3),rOt),qM(U3)))),aE(e,OW,TW,dAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,kW),`nodePlacement.linearSegments`),`Linear Segments Deflection Dampening`),`Dampens the movement of nodes to keep the diagram from getting too large.`),.3),q3),aY),qM(U3)))),aE(e,kW,TW,gAt),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,AW),`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.`),J3),Y0),qM(H3)))),aE(e,AW,TW,xAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,jW),`nodePlacement.networkSimplex.nodeFlexibility`),`Node Flexibility Default`),`Default value of the 'nodeFlexibility' option for the children of a hierarchical node.`),yAt),J3),Y0),qM(U3)))),aE(e,jW,TW,bAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Wht),dgt),`Self-Loop Distribution`),`Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE.`),Tkt),J3),KMt),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ght),dgt),`Self-Loop Ordering`),`Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE.`),Dkt),J3),JMt),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,MW),`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.`),kkt),J3),ZMt),qM(U3)))),aE(e,MW,rG,Akt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,NW),`edgeRouting.splines.sloppy`),`Sloppy Spline Layer Spacing Factor`),`Spacing factor for routing area between layers when using sloppy spline routing.`),.2),q3),aY),qM(U3)))),aE(e,NW,rG,Mkt),aE(e,NW,MW,Nkt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,PW),`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),q3),aY),qM(U3)))),aE(e,PW,rG,Ckt),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Kht),iG),`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.`),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,qht),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Jht),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Yht),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Xht),fgt),`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.`),gM(0)),X3),sY),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Zht),fgt),`Shortness Priority`),`Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase.`),gM(0)),X3),sY),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Qht),fgt),`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.`),gM(0)),X3),sY),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,FW),pgt),Dmt),`Tries to further compact components (disconnected sub-graphs).`),!1),K3),nY),qM(U3)))),aE(e,FW,vU,!0),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,$ht),mgt),`Post Compaction Strategy`),hgt),ROt),J3),uOt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,egt),mgt),`Post Compaction Constraint Calculation`),hgt),IOt),J3),MDt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,IW),ggt),`High Degree Node Treatment`),`Makes room around high degree nodes to place leafs and trees.`),!1),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,LW),ggt),`High Degree Node Threshold`),`Whether a node is considered to have a high degree.`),gM(16)),X3),sY),qM(U3)))),aE(e,LW,IW,!0),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,RW),ggt),`High Degree Node Maximum Tree Height`),`Maximum height of a subtree connected to a high degree node to be moved to separate layers.`),gM(5)),X3),sY),qM(U3)))),aE(e,RW,IW,!0),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,zW),_gt),`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'.`),rjt),J3),rNt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,BW),_gt),`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),q3),aY),qM(U3)))),aE(e,BW,zW,IAt),aE(e,BW,zW,LAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,VW),_gt),`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),q3),aY),qM(U3)))),aE(e,VW,zW,zAt),aE(e,VW,zW,BAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,HW),vgt),`Cutting Strategy`),`The strategy by which the layer indexes are determined at which the layering crumbles into chunks.`),qAt),J3),RDt),qM(U3)))),aE(e,HW,zW,JAt),aE(e,HW,zW,YAt),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,UW),vgt),`Manually Specified Cuts`),`Allows the user to specify her own cuts for a certain graph.`),Z3),RJ),qM(U3)))),aE(e,UW,HW,HAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,WW),`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.`),WAt),X3),sY),qM(U3)))),aE(e,WW,HW,GAt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,GW),ygt),`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.`),cjt),J3),tNt),qM(U3)))),aE(e,GW,zW,ljt),aE(e,GW,zW,ujt),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,KW),ygt),`Valid Indices for Wrapping`),null),Z3),RJ),qM(U3)))),aE(e,KW,zW,ajt),aE(e,KW,zW,ojt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,qW),bgt),`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),K3),nY),qM(U3)))),aE(e,qW,zW,$At),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,JW),bgt),`Distance Penalty When Improving Cuts`),null),2),q3),aY),qM(U3)))),aE(e,JW,zW,ZAt),aE(e,JW,qW,!0),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,YW),bgt),`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),K3),nY),qM(U3)))),aE(e,YW,zW,tjt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,tgt),aG),`Edge Label Side Selection`),`Method to decide on edge label sides.`),xkt),J3),JDt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,ngt),aG),`Edge Center Label Placement Strategy`),`Determines in which layer center labels of long edges should be placed.`),ykt),J3),xQ),oS(U3,W(j(G3,1),Z,170,0,[V3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,XW),oG),`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.`),JOt),J3),RMt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,rgt),oG),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,igt),oG),`No Model Order`),`Set on a node to not set a model order for this node even though it is a real node.`),!1),K3),nY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,ZW),oG),`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.`),BOt),J3),nEt),qM(U3)))),aE(e,ZW,vU,null),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,agt),oG),`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.`),WOt),J3),TMt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,QW),oG),`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),q3),aY),qM(U3)))),aE(e,QW,XW,null),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,$W),oG),`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),q3),aY),qM(U3)))),aE(e,$W,XW,null),Wft((new uie,e))};var NOt,POt,FOt,IOt,LOt,ROt,zOt,BOt,VOt,HOt,UOt,WOt,GOt,KOt,qOt,JOt,YOt,XOt,ZOt,QOt,$Ot,ekt,tkt,nkt,rkt,ikt,akt,okt,skt,ckt,lkt,ukt,dkt,fkt,pkt,mkt,hkt,gkt,_kt,vkt,ykt,bkt,xkt,Skt,Ckt,wkt,Tkt,Ekt,Dkt,Okt,kkt,Akt,jkt,Mkt,Nkt,Pkt,Fkt,Ikt,Lkt,Rkt,zkt,Bkt,Vkt,Hkt,Ukt,Wkt,Gkt,Kkt,qkt,Jkt,Ykt,Xkt,Zkt,Qkt,$kt,eAt,tAt,nAt,rAt,iAt,aAt,oAt,sAt,cAt,lAt,uAt,dAt,fAt,pAt,mAt,hAt,gAt,_At,vAt,yAt,bAt,xAt,SAt,CAt,wAt,TAt,EAt,DAt,OAt,kAt,AAt,jAt,MAt,NAt,PAt,FAt,IAt,LAt,RAt,zAt,BAt,VAt,HAt,UAt,WAt,GAt,KAt,qAt,JAt,YAt,XAt,ZAt,QAt,$At,ejt,tjt,njt,rjt,ijt,ajt,ojt,sjt,cjt,ljt,ujt;z(uW,`LayeredMetaDataProvider`,859),q(998,1,bH,uie),Q.hf=function(e){Wft(e)};var s1,c1,l1,u1,d1,djt,f1,p1,m1,fjt,pjt,h1,g1,_1,v1,y1,mjt,b1,x1,hjt,gjt,_jt,vjt,S1,C1,w1,T1,yjt,E1,bjt,xjt,D1,O1,k1,A1,j1,Sjt,Cjt,wjt,M1,N1,Tjt,P1,F1,Ejt,I1,Djt,Ojt,kjt,L1,R1,z1,Ajt,jjt,B1,Mjt,Njt,V1,H1,Pjt,Fjt,Ijt,U1,W1,G1,Ljt,Rjt,K1,q1,zjt,J1,Y1,Bjt,X1,Z1,Q1,$1,e0,t0,n0,r0,Vjt,Hjt,Ujt,i0,Wjt,Gjt,Kjt,qjt,Jjt,a0,o0,s0,c0,Yjt,l0,Xjt,u0,Zjt,d0,Qjt,f0,$jt,p0,eMt,tMt,m0,h0,nMt,g0,_0,v0,y0,b0,x0,S0,C0,w0,T0,E0,D0,O0,k0,A0,j0,M0,rMt,iMt,aMt,oMt,sMt,N0,cMt,lMt,uMt,dMt,P0,fMt,pMt,mMt,hMt,F0,I0;z(uW,`LayeredOptions`,998),q(999,1,{},Si),Q.sf=function(){var e;return e=new qse,e},Q.tf=function(e){},z(uW,`LayeredOptions/LayeredFactory`,999),q(1391,1,{}),Q.a=0;var gMt;z(hG,`ElkSpacings/AbstractSpacingsBuilder`,1391),q(792,1391,{},VJe);var L0,_Mt;z(uW,`LayeredSpacings/LayeredSpacingsBuilder`,792),q(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},Yg),Q.dg=function(){return Bnt(this)},Q.qg=function(){return Bnt(this)};var R0,z0,B0,vMt,yMt,bMt,V0,H0,xMt,SMt=vk(uW,`LayeringStrategy`,265,WJ,WBe,Dxe),CMt;q(390,22,{3:1,34:1,22:1,390:1},Xg);var U0,wMt,W0,TMt=vk(uW,`LongEdgeOrderingStrategy`,390,WJ,bje,Oxe),EMt;q(203,22,{3:1,34:1,22:1,203:1},Zg);var G0,K0,q0,J0,Y0=vk(uW,`NodeFlexibility`,203,WJ,FNe,kxe),DMt;q(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},Qg),Q.dg=function(){return l7e(this)},Q.qg=function(){return l7e(this)};var X0,Z0,Q0,$0,OMt,kMt=vk(uW,`NodePlacementStrategy`,323,WJ,EFe,Axe),AMt;q(243,22,{3:1,34:1,22:1,243:1},$g);var jMt,e2,t2,n2,MMt,NMt,r2,PMt,i2,a2,FMt=vk(uW,`NodePromotionStrategy`,243,WJ,uHe,jxe),IMt;q(284,22,{3:1,34:1,22:1,284:1},e_);var LMt,o2,s2,c2,RMt=vk(uW,`OrderingStrategy`,284,WJ,INe,Mxe),zMt;q(430,22,{3:1,34:1,22:1,430:1},Lfe);var l2,u2,BMt=vk(uW,`PortSortingStrategy`,430,WJ,Mke,Nxe),VMt;q(463,22,{3:1,34:1,22:1,463:1},t_);var d2,f2,p2,HMt=vk(uW,`PortType`,463,WJ,xje,Pxe),UMt;q(387,22,{3:1,34:1,22:1,387:1},n_);var WMt,m2,GMt,KMt=vk(uW,`SelfLoopDistributionStrategy`,387,WJ,Sje,Fxe),qMt;q(349,22,{3:1,34:1,22:1,349:1},r_);var h2,g2,_2,JMt=vk(uW,`SelfLoopOrderingStrategy`,349,WJ,Cje,Ixe),YMt;q(312,1,{312:1},Kct),z(uW,`Spacings`,312),q(350,22,{3:1,34:1,22:1,350:1},i_);var v2,XMt,y2,ZMt=vk(uW,`SplineRoutingMode`,350,WJ,wje,Lxe),QMt;q(352,22,{3:1,34:1,22:1,352:1},a_);var b2,$Mt,eNt,tNt=vk(uW,`ValidifyStrategy`,352,WJ,Tje,Rxe),nNt;q(388,22,{3:1,34:1,22:1,388:1},o_);var x2,S2,C2,rNt=vk(uW,`WrappingStrategy`,388,WJ,Eje,zxe),iNt;q(1398,1,gG,xc),Q.rg=function(e){return I(e,36),aNt},Q.Kf=function(e,t){Wst(this,I(e,36),t)};var aNt;z(_G,`DepthFirstCycleBreaker`,1398),q(793,1,gG,lTe),Q.rg=function(e){return I(e,36),oNt},Q.Kf=function(e,t){mft(this,I(e,36),t)},Q.sg=function(e){return I(zx(e,WP(this.d,e.c.length)),10)};var oNt;z(_G,`GreedyCycleBreaker`,793),q(1401,793,gG,lme),Q.sg=function(e){var t,n,r,i=null;for(t=SB,r=new O(e);r.a1&&(Zp(fb(K(IC((VT(0,e.c.length),I(e.c[0],10))),(cB(),y1))))?n9e(e,this.d,I(this,669)):(Ew(),Qv(e,this.d)),sUe(this.e,e))},Q.lg=function(e,t,n,r){var i,a,o,s,c,l,u;for(t!=Wwe(n,e.length)&&(a=e[t-(n?1:-1)],bIe(this.f,a,n?(Ck(),f2):(Ck(),d2))),i=e[t][0],u=!r||i.k==(DI(),cZ),l=iD(e[t]),this.vg(l,u,!1,n),o=0,c=new O(l);c.a`),e0?pT(this.a,e[t-1],e[t]):!n&&t1&&(Zp(fb(K(IC((VT(0,e.c.length),I(e.c[0],10))),(cB(),y1))))?n9e(e,this.d,this):(Ew(),Qv(e,this.d)),Zp(fb(K(IC((VT(0,e.c.length),I(e.c[0],10))),y1)))||sUe(this.e,e))},z(yG,`ModelOrderBarycenterHeuristic`,669),q(1866,1,pH,voe),Q.Ne=function(e,t){return Y4e(this.a,I(e,10),I(t,10))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(yG,`ModelOrderBarycenterHeuristic/lambda$0$Type`,1866),q(1423,1,gG,die),Q.rg=function(e){var t;return I(e,36),t=kv(wNt),Px(t,(vI(),HX),(fB(),FZ)),t},Q.Kf=function(e,t){xOe((I(e,36),t))};var wNt;z(yG,`NoCrossingMinimizer`,1423),q(809,413,n_t,Nle),Q.tg=function(e,t,n){var r,i,a,o,s,c,l,u,d=this.g,f,p;switch(n.g){case 1:for(i=0,a=0,u=new O(e.j);u.a1&&(i.j==(Qz(),i5)?this.b[e]=!0:i.j==w5&&e>0&&(this.b[e-1]=!0))},Q.f=0,z(iW,`AllCrossingsCounter`,1861),q(595,1,{},Zk),Q.b=0,Q.d=0,z(iW,`BinaryIndexedTree`,595),q(532,1,{},Bb);var TNt,D2;z(iW,`CrossingsCounter`,532),q(1950,1,pH,yoe),Q.Ne=function(e,t){return Bwe(this.a,I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(iW,`CrossingsCounter/lambda$0$Type`,1950),q(1951,1,pH,id),Q.Ne=function(e,t){return Vwe(this.a,I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(iW,`CrossingsCounter/lambda$1$Type`,1951),q(1952,1,pH,boe),Q.Ne=function(e,t){return Hwe(this.a,I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(iW,`CrossingsCounter/lambda$2$Type`,1952),q(1953,1,pH,xoe),Q.Ne=function(e,t){return Uwe(this.a,I(e,12),I(t,12))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(iW,`CrossingsCounter/lambda$3$Type`,1953),q(1954,1,UB,ad),Q.Cd=function(e){xRe(this.a,I(e,12))},z(iW,`CrossingsCounter/lambda$4$Type`,1954),q(1955,1,sV,Soe),Q.Mb=function(e){return Kfe(this.a,I(e,12))},z(iW,`CrossingsCounter/lambda$5$Type`,1955),q(1956,1,UB,Coe),Q.Cd=function(e){Ype(this,e)},z(iW,`CrossingsCounter/lambda$6$Type`,1956),q(1957,1,UB,Rfe),Q.Cd=function(e){var t;rx(),bE(this.b,(t=this.a,I(e,12),t))},z(iW,`CrossingsCounter/lambda$7$Type`,1957),q(839,1,_H,Oi),Q.Lb=function(e){return rx(),rb(I(e,12),(Y(),V$))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return rx(),rb(I(e,12),(Y(),V$))},z(iW,`CrossingsCounter/lambda$8$Type`,839),q(1949,1,{},od),z(iW,`HyperedgeCrossingsCounter`,1949),q(478,1,{34:1,478:1},Eye),Q.Fd=function(e){return WYe(this,I(e,478))},Q.b=0,Q.c=0,Q.e=0,Q.f=0;var ENt=z(iW,`HyperedgeCrossingsCounter/Hyperedge`,478);q(374,1,{34:1,374:1},dw),Q.Fd=function(e){return N7e(this,I(e,374))},Q.b=0,Q.c=0;var DNt=z(iW,`HyperedgeCrossingsCounter/HyperedgeCorner`,374);q(531,22,{3:1,34:1,22:1,531:1},zfe);var O2,k2,ONt=vk(iW,`HyperedgeCrossingsCounter/HyperedgeCorner/Type`,531,WJ,Nke,Vxe),kNt;q(1425,1,gG,Dc),Q.rg=function(e){return I(K(I(e,36),(Y(),C$)),21).Hc((cR(),JQ))?ANt:null},Q.Kf=function(e,t){s1e(this,I(e,36),t)};var ANt;z(bG,`InteractiveNodePlacer`,1425),q(1426,1,gG,fie),Q.rg=function(e){return I(K(I(e,36),(Y(),C$)),21).Hc((cR(),JQ))?jNt:null},Q.Kf=function(e,t){KZe(this,I(e,36),t)};var jNt,A2,j2;z(bG,`LinearSegmentsNodePlacer`,1426),q(261,1,{34:1,261:1},Zf),Q.Fd=function(e){return ble(this,I(e,261))},Q.Fb=function(e){var t;return P(e,261)?(t=I(e,261),this.b==t.b):!1},Q.Hb=function(){return this.b},Q.Ib=function(){return`ls`+CI(this.e)},Q.a=0,Q.b=0,Q.c=-1,Q.d=-1,Q.g=0;var MNt=z(bG,`LinearSegmentsNodePlacer/LinearSegment`,261);q(1428,1,gG,uTe),Q.rg=function(e){return I(K(I(e,36),(Y(),C$)),21).Hc((cR(),JQ))?NNt:null},Q.Kf=function(e,t){Zdt(this,I(e,36),t)},Q.b=0,Q.g=0;var NNt;z(bG,`NetworkSimplexPlacer`,1428),q(1447,1,pH,ki),Q.Ne=function(e,t){return ey(I(e,17).a,I(t,17).a)},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(bG,`NetworkSimplexPlacer/0methodref$compare$Type`,1447),q(1449,1,pH,Ai),Q.Ne=function(e,t){return ey(I(e,17).a,I(t,17).a)},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(bG,`NetworkSimplexPlacer/1methodref$compare$Type`,1449),q(655,1,{655:1},Bfe);var PNt=z(bG,`NetworkSimplexPlacer/EdgeRep`,655);q(412,1,{412:1},hOe),Q.b=!1;var FNt=z(bG,`NetworkSimplexPlacer/NodeRep`,412);q(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},ep),z(bG,`NetworkSimplexPlacer/Path`,515),q(1429,1,{},Mte),Q.Kb=function(e){return I(e,18).d.i.k},z(bG,`NetworkSimplexPlacer/Path/lambda$0$Type`,1429),q(1430,1,sV,ji),Q.Mb=function(e){return I(e,273)==(DI(),uZ)},z(bG,`NetworkSimplexPlacer/Path/lambda$1$Type`,1430),q(1431,1,{},Nte),Q.Kb=function(e){return I(e,18).d.i},z(bG,`NetworkSimplexPlacer/Path/lambda$2$Type`,1431),q(1432,1,sV,woe),Q.Mb=function(e){return Hve(tYe(I(e,10)))},z(bG,`NetworkSimplexPlacer/Path/lambda$3$Type`,1432),q(1433,1,sV,Mi),Q.Mb=function(e){return rwe(I(e,12))},z(bG,`NetworkSimplexPlacer/lambda$0$Type`,1433),q(1434,1,UB,Vfe),Q.Cd=function(e){Rhe(this.a,this.b,I(e,12))},z(bG,`NetworkSimplexPlacer/lambda$1$Type`,1434),q(1443,1,UB,sd),Q.Cd=function(e){U6e(this.a,I(e,18))},z(bG,`NetworkSimplexPlacer/lambda$10$Type`,1443),q(1444,1,{},Pte),Q.Kb=function(e){return bT(),new Hx(null,new UT(I(e,30).a,16))},z(bG,`NetworkSimplexPlacer/lambda$11$Type`,1444),q(1445,1,UB,cd),Q.Cd=function(e){Ent(this.a,I(e,10))},z(bG,`NetworkSimplexPlacer/lambda$12$Type`,1445),q(1446,1,{},Ni),Q.Kb=function(e){return bT(),gM(I(e,125).e)},z(bG,`NetworkSimplexPlacer/lambda$13$Type`,1446),q(1448,1,{},Fte),Q.Kb=function(e){return bT(),gM(I(e,125).e)},z(bG,`NetworkSimplexPlacer/lambda$15$Type`,1448),q(1450,1,sV,Pi),Q.Mb=function(e){return bT(),I(e,412).c.k==(DI(),dZ)},z(bG,`NetworkSimplexPlacer/lambda$17$Type`,1450),q(1451,1,sV,Ite),Q.Mb=function(e){return bT(),I(e,412).c.j.c.length>1},z(bG,`NetworkSimplexPlacer/lambda$18$Type`,1451),q(1452,1,UB,gOe),Q.Cd=function(e){bJe(this.c,this.b,this.d,this.a,I(e,412))},Q.c=0,Q.d=0,z(bG,`NetworkSimplexPlacer/lambda$19$Type`,1452),q(1435,1,{},Fi),Q.Kb=function(e){return bT(),new Hx(null,new UT(I(e,30).a,16))},z(bG,`NetworkSimplexPlacer/lambda$2$Type`,1435),q(1453,1,UB,ld),Q.Cd=function(e){Bhe(this.a,I(e,12))},Q.a=0,z(bG,`NetworkSimplexPlacer/lambda$20$Type`,1453),q(1454,1,{},Lte),Q.Kb=function(e){return bT(),new Hx(null,new UT(I(e,30).a,16))},z(bG,`NetworkSimplexPlacer/lambda$21$Type`,1454),q(1455,1,UB,Toe),Q.Cd=function(e){gge(this.a,I(e,10))},z(bG,`NetworkSimplexPlacer/lambda$22$Type`,1455),q(1456,1,sV,Ii),Q.Mb=function(e){return Hve(e)},z(bG,`NetworkSimplexPlacer/lambda$23$Type`,1456),q(1457,1,{},Rte),Q.Kb=function(e){return bT(),new Hx(null,new UT(I(e,30).a,16))},z(bG,`NetworkSimplexPlacer/lambda$24$Type`,1457),q(1458,1,sV,ud),Q.Mb=function(e){return Pme(this.a,I(e,10))},z(bG,`NetworkSimplexPlacer/lambda$25$Type`,1458),q(1459,1,UB,Hfe),Q.Cd=function(e){r3e(this.a,this.b,I(e,10))},z(bG,`NetworkSimplexPlacer/lambda$26$Type`,1459),q(1460,1,sV,zte),Q.Mb=function(e){return bT(),!XE(I(e,18))},z(bG,`NetworkSimplexPlacer/lambda$27$Type`,1460),q(1461,1,sV,Li),Q.Mb=function(e){return bT(),!XE(I(e,18))},z(bG,`NetworkSimplexPlacer/lambda$28$Type`,1461),q(1462,1,{},Eoe),Q.Ve=function(e,t){return zhe(this.a,I(e,30),I(t,30))},z(bG,`NetworkSimplexPlacer/lambda$29$Type`,1462),q(1436,1,{},Bte),Q.Kb=function(e){return bT(),new Hx(null,new cC(new SS(Ty(lN(I(e,10)).a.Kc(),new d))))},z(bG,`NetworkSimplexPlacer/lambda$3$Type`,1436),q(1437,1,sV,Ri),Q.Mb=function(e){return bT(),lNe(I(e,18))},z(bG,`NetworkSimplexPlacer/lambda$4$Type`,1437),q(1438,1,UB,Doe),Q.Cd=function(e){_ot(this.a,I(e,18))},z(bG,`NetworkSimplexPlacer/lambda$5$Type`,1438),q(1439,1,{},zi),Q.Kb=function(e){return bT(),new Hx(null,new UT(I(e,30).a,16))},z(bG,`NetworkSimplexPlacer/lambda$6$Type`,1439),q(1440,1,sV,Bi),Q.Mb=function(e){return bT(),I(e,10).k==(DI(),dZ)},z(bG,`NetworkSimplexPlacer/lambda$7$Type`,1440),q(1441,1,{},Vi),Q.Kb=function(e){return bT(),new Hx(null,new cC(new SS(Ty(sN(I(e,10)).a.Kc(),new d))))},z(bG,`NetworkSimplexPlacer/lambda$8$Type`,1441),q(1442,1,sV,Hi),Q.Mb=function(e){return bT(),nwe(I(e,18))},z(bG,`NetworkSimplexPlacer/lambda$9$Type`,1442),q(1424,1,gG,Oc),Q.rg=function(e){return I(K(I(e,36),(Y(),C$)),21).Hc((cR(),JQ))?INt:null},Q.Kf=function(e,t){yst(I(e,36),t)};var INt;z(bG,`SimpleNodePlacer`,1424),q(185,1,{185:1},zR),Q.Ib=function(){var e=``;return this.c==(lT(),N2)?e+=DH:this.c==M2&&(e+=EH),this.o==(uT(),P2)?e+=NH:this.o==F2?e+=`UP`:e+=`BALANCED`,e},z(SG,`BKAlignedLayout`,185),q(523,22,{3:1,34:1,22:1,523:1},Ufe);var M2,N2,LNt=vk(SG,`BKAlignedLayout/HDirection`,523,WJ,Fke,Hxe),RNt;q(522,22,{3:1,34:1,22:1,522:1},Wfe);var P2,F2,zNt=vk(SG,`BKAlignedLayout/VDirection`,522,WJ,Ike,Uxe),BNt;q(1699,1,{},Gfe),z(SG,`BKAligner`,1699),q(1702,1,{},f$e),z(SG,`BKCompactor`,1702),q(663,1,{663:1},Vte),Q.a=0,z(SG,`BKCompactor/ClassEdge`,663),q(467,1,{467:1},Qf),Q.a=null,Q.b=0,z(SG,`BKCompactor/ClassNode`,467),q(1427,1,gG,Xfe),Q.rg=function(e){return I(K(I(e,36),(Y(),C$)),21).Hc((cR(),JQ))?VNt:null},Q.Kf=function(e,t){Aft(this,I(e,36),t)},Q.d=!1;var VNt;z(SG,`BKNodePlacer`,1427),q(1700,1,{},Ui),Q.d=0,z(SG,`NeighborhoodInformation`,1700),q(1701,1,pH,Ooe),Q.Ne=function(e,t){return Wze(this,I(e,42),I(t,42))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(SG,`NeighborhoodInformation/NeighborComparator`,1701),q(823,1,{}),z(SG,`ThresholdStrategy`,823),q(1825,823,{},Xse),Q.wg=function(e,t,n){return this.a.o==(uT(),F2)?RV:zV},Q.xg=function(){},z(SG,`ThresholdStrategy/NullThresholdStrategy`,1825),q(587,1,{587:1},Zfe),Q.c=!1,Q.d=!1,z(SG,`ThresholdStrategy/Postprocessable`,587),q(1826,823,{},$f),Q.wg=function(e,t,n){var r,i=t==n,a;return r=this.a.a[n.p]==t,i||r?(a=e,this.a.c,lT(),i&&(a=xst(this,t,!0)),!isNaN(a)&&!isFinite(a)&&r&&(a=xst(this,n,!1)),a):e},Q.xg=function(){for(var e,t,n,r,i;this.d.b!=0;)i=I(tAe(this.d),587),r=Tat(this,i),r.a&&(e=r.a,n=Zp(this.a.f[this.a.g[i.b.p].p]),!(!n&&!XE(e)&&e.c.i.c==e.d.i.c)&&(t=P7e(this,i),t||Vme(this.e,i)));for(;this.e.a.c.length!=0;)P7e(this,I(wGe(this.e),587))},z(SG,`ThresholdStrategy/SimpleThresholdStrategy`,1826),q(645,1,{645:1,188:1,196:1},Hte),Q.dg=function(){return lUe(this)},Q.qg=function(){return lUe(this)};var I2;z(CG,`EdgeRouterFactory`,645),q(1485,1,gG,kc),Q.rg=function(e){return ztt(I(e,36))},Q.Kf=function(e,t){Ost(I(e,36),t)};var HNt,UNt,WNt,GNt,KNt,qNt,JNt,YNt;z(CG,`OrthogonalEdgeRouter`,1485),q(1478,1,gG,Yfe),Q.rg=function(e){return T1e(I(e,36))},Q.Kf=function(e,t){$ut(this,I(e,36),t)};var XNt,ZNt,QNt,$Nt,L2,ePt;z(CG,`PolylineEdgeRouter`,1478),q(1479,1,_H,Ute),Q.Lb=function(e){return xUe(I(e,10))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return xUe(I(e,10))},z(CG,`PolylineEdgeRouter/1`,1479),q(1872,1,sV,Wte),Q.Mb=function(e){return I(e,132).c==(vD(),R2)},z(wG,`HyperEdgeCycleDetector/lambda$0$Type`,1872),q(1873,1,{},Gte),Q.Ze=function(e){return I(e,132).d},z(wG,`HyperEdgeCycleDetector/lambda$1$Type`,1873),q(1874,1,sV,Gi),Q.Mb=function(e){return I(e,132).c==(vD(),R2)},z(wG,`HyperEdgeCycleDetector/lambda$2$Type`,1874),q(1875,1,{},Kte),Q.Ze=function(e){return I(e,132).d},z(wG,`HyperEdgeCycleDetector/lambda$3$Type`,1875),q(1876,1,{},qte),Q.Ze=function(e){return I(e,132).d},z(wG,`HyperEdgeCycleDetector/lambda$4$Type`,1876),q(1877,1,{},Wi),Q.Ze=function(e){return I(e,132).d},z(wG,`HyperEdgeCycleDetector/lambda$5$Type`,1877),q(118,1,{34:1,118:1},qA),Q.Fd=function(e){return xle(this,I(e,118))},Q.Fb=function(e){var t;return P(e,118)?(t=I(e,118),this.g==t.g):!1},Q.Hb=function(){return this.g},Q.Ib=function(){for(var e=new ky(`{`),t,n,r=new O(this.n);r.a`+this.b+` (`+F_e(this.c)+`)`},Q.d=0,z(wG,`HyperEdgeSegmentDependency`,132),q(528,22,{3:1,34:1,22:1,528:1},npe);var R2,z2,tPt=vk(wG,`HyperEdgeSegmentDependency/DependencyType`,528,WJ,Lke,Wxe),nPt;q(1878,1,{},dd),z(wG,`HyperEdgeSegmentSplitter`,1878),q(1879,1,{},Lle),Q.a=0,Q.b=0,z(wG,`HyperEdgeSegmentSplitter/AreaRating`,1879),q(339,1,{339:1},ax),Q.a=0,Q.b=0,Q.c=0,z(wG,`HyperEdgeSegmentSplitter/FreeArea`,339),q(1880,1,pH,Jte),Q.Ne=function(e,t){return obe(I(e,118),I(t,118))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(wG,`HyperEdgeSegmentSplitter/lambda$0$Type`,1880),q(1881,1,UB,_Oe),Q.Cd=function(e){mPe(this.a,this.d,this.c,this.b,I(e,118))},Q.b=0,z(wG,`HyperEdgeSegmentSplitter/lambda$1$Type`,1881),q(1882,1,{},Yte),Q.Kb=function(e){return new Hx(null,new UT(I(e,118).e,16))},z(wG,`HyperEdgeSegmentSplitter/lambda$2$Type`,1882),q(1883,1,{},Ki),Q.Kb=function(e){return new Hx(null,new UT(I(e,118).j,16))},z(wG,`HyperEdgeSegmentSplitter/lambda$3$Type`,1883),q(1884,1,{},qi),Q.Ye=function(e){return A(F(e))},z(wG,`HyperEdgeSegmentSplitter/lambda$4$Type`,1884),q(664,1,{},lC),Q.a=0,Q.b=0,Q.c=0,z(wG,`OrthogonalRoutingGenerator`,664),q(1703,1,{},Ji),Q.Kb=function(e){return new Hx(null,new UT(I(e,118).e,16))},z(wG,`OrthogonalRoutingGenerator/lambda$0$Type`,1703),q(1704,1,{},Xte),Q.Kb=function(e){return new Hx(null,new UT(I(e,118).j,16))},z(wG,`OrthogonalRoutingGenerator/lambda$1$Type`,1704),q(670,1,{}),z(TG,`BaseRoutingDirectionStrategy`,670),q(1870,670,{},lp),Q.yg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t+e.o*n,u=new O(e.n);u.alU&&(o=d,a=e,i=new M(f,o),Dx(s.a,i),qR(this,s,a,i,!1),p=e.r,p&&(m=A(F(kP(p.e,0))),i=new M(m,o),Dx(s.a,i),qR(this,s,a,i,!1),o=t+p.o*n,a=p,i=new M(m,o),Dx(s.a,i),qR(this,s,a,i,!1)),i=new M(g,o),Dx(s.a,i),qR(this,s,a,i,!1)))},Q.zg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.Ag=function(){return Qz(),S5},Q.Bg=function(){return Qz(),a5},z(TG,`NorthToSouthRoutingStrategy`,1870),q(1871,670,{},Zse),Q.yg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t-e.o*n,u=new O(e.n);u.alU&&(o=d,a=e,i=new M(f,o),Dx(s.a,i),qR(this,s,a,i,!1),p=e.r,p&&(m=A(F(kP(p.e,0))),i=new M(m,o),Dx(s.a,i),qR(this,s,a,i,!1),o=t-p.o*n,a=p,i=new M(m,o),Dx(s.a,i),qR(this,s,a,i,!1)),i=new M(g,o),Dx(s.a,i),qR(this,s,a,i,!1)))},Q.zg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.Ag=function(){return Qz(),a5},Q.Bg=function(){return Qz(),S5},z(TG,`SouthToNorthRoutingStrategy`,1871),q(1869,670,{},up),Q.yg=function(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g;if(!(e.r&&!e.q))for(d=t+e.o*n,u=new O(e.n);u.alU&&(o=d,a=e,i=new M(o,f),Dx(s.a,i),qR(this,s,a,i,!0),p=e.r,p&&(m=A(F(kP(p.e,0))),i=new M(o,m),Dx(s.a,i),qR(this,s,a,i,!0),o=t+p.o*n,a=p,i=new M(o,m),Dx(s.a,i),qR(this,s,a,i,!0)),i=new M(o,g),Dx(s.a,i),qR(this,s,a,i,!0)))},Q.zg=function(e){return e.i.n.b+e.n.b+e.a.b},Q.Ag=function(){return Qz(),i5},Q.Bg=function(){return Qz(),w5},z(TG,`WestToEastRoutingStrategy`,1869),q(828,1,{},xot),Q.Ib=function(){return CI(this.a)},Q.b=0,Q.c=!1,Q.d=!1,Q.f=0,z(DG,`NubSpline`,828),q(418,1,{418:1},btt,Qke),z(DG,`NubSpline/PolarCP`,418),q(1480,1,gG,PQe),Q.rg=function(e){return G0e(I(e,36))},Q.Kf=function(e,t){kdt(this,I(e,36),t)};var rPt,iPt,aPt,oPt,sPt;z(DG,`SplineEdgeRouter`,1480),q(274,1,{274:1},dD),Q.Ib=function(){return this.a+` ->(`+this.c+`) `+this.b},Q.c=0,z(DG,`SplineEdgeRouter/Dependency`,274),q(465,22,{3:1,34:1,22:1,465:1},rpe);var B2,V2,cPt=vk(DG,`SplineEdgeRouter/SideToProcess`,465,WJ,Uke,Gxe),lPt;q(1481,1,sV,Zte),Q.Mb=function(e){return nR(),!I(e,131).o},z(DG,`SplineEdgeRouter/lambda$0$Type`,1481),q(1482,1,{},Yi),Q.Ze=function(e){return nR(),I(e,131).v+1},z(DG,`SplineEdgeRouter/lambda$1$Type`,1482),q(1483,1,UB,Qfe),Q.Cd=function(e){owe(this.a,this.b,I(e,42))},z(DG,`SplineEdgeRouter/lambda$2$Type`,1483),q(1484,1,UB,$fe),Q.Cd=function(e){swe(this.a,this.b,I(e,42))},z(DG,`SplineEdgeRouter/lambda$3$Type`,1484),q(131,1,{34:1,131:1},$3e,ect),Q.Fd=function(e){return Tle(this,I(e,131))},Q.b=0,Q.e=!1,Q.f=0,Q.g=0,Q.j=!1,Q.k=!1,Q.n=0,Q.o=!1,Q.p=!1,Q.q=!1,Q.s=0,Q.u=0,Q.v=0,Q.F=0,z(DG,`SplineSegment`,131),q(468,1,{468:1},Qte),Q.a=0,Q.b=!1,Q.c=!1,Q.d=!1,Q.e=!1,Q.f=0,z(DG,`SplineSegment/EdgeInformation`,468),q(1198,1,{},$te),z(AG,Imt,1198),q(1199,1,pH,ene),Q.Ne=function(e,t){return b8e(I(e,121),I(t,121))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(AG,Lmt,1199),q(1197,1,{},oue),z(AG,`MrTree`,1197),q(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},u_),Q.dg=function(){return S8e(this)},Q.qg=function(){return S8e(this)};var H2,U2,W2,G2,uPt=vk(AG,`TreeLayoutPhases`,405,WJ,WNe,Kxe),dPt;q(1112,205,KH,wye),Q.rf=function(e,t){var n,r,i,a,o,s,c,l;for(Zp(fb(J(e,(tz(),rFt))))||rT((n=new Su((tg(),new Jp(e))),n)),o=t.eh(jG),o.Ug(`build tGraph`,1),s=(c=new pD,UA(c,e),G(c,(Zz(),l4),e),l=new Kd,zit(e,c,l),mat(e,c,l),c),o.Vg(),o=t.eh(jG),o.Ug(`Split graph`,1),a=Kit(this.a,s),o.Vg(),i=new O(a);i.a`+XT(this.c):`e_`+$k(this)},z(NG,`TEdge`,65),q(121,137,{3:1,121:1,96:1,137:1},pD),Q.Ib=function(){var e,t,n,r,i=null;for(r=vP(this.b,0);r.b!=r.d.c;)n=I(yE(r),40),i+=(n.c==null||n.c.length==0?`n_`+n.g:`n_`+n.c)+` +`;for(t=vP(this.a,0);t.b!=t.d.c;)e=I(yE(t),65),i+=(e.b&&e.c?XT(e.b)+`->`+XT(e.c):`e_`+$k(e))+` +`;return i};var fPt=z(NG,`TGraph`,121);q(643,508,{3:1,508:1,643:1,96:1,137:1}),z(NG,`TShape`,643),q(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},Dj),Q.Ib=function(){return XT(this)};var K2=z(NG,`TNode`,40);q(236,1,qB,md),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){var e;return e=vP(this.a.d,0),new hd(e)},z(NG,`TNode/2`,236),q(329,1,NB,hd),Q.Nb=function(e){LS(this,e)},Q.Pb=function(){return I(yE(this.a),65).c},Q.Ob=function(){return sh(this.a)},Q.Qb=function(){BO(this.a)},z(NG,`TNode/2/1`,329),q(1923,1,GU,one),Q.Kf=function(e,t){Sft(this,I(e,121),t)},z(PG,`CompactionProcessor`,1923),q(1924,1,pH,gd),Q.Ne=function(e,t){return ZHe(this.a,I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PG,`CompactionProcessor/lambda$0$Type`,1924),q(1925,1,sV,tpe),Q.Mb=function(e){return lke(this.b,this.a,I(e,42))},Q.a=0,Q.b=0,z(PG,`CompactionProcessor/lambda$1$Type`,1925),q(1934,1,pH,sne),Q.Ne=function(e,t){return OEe(I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PG,`CompactionProcessor/lambda$10$Type`,1934),q(1935,1,pH,cne),Q.Ne=function(e,t){return g_e(I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PG,`CompactionProcessor/lambda$11$Type`,1935),q(1936,1,pH,lne),Q.Ne=function(e,t){return kEe(I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PG,`CompactionProcessor/lambda$12$Type`,1936),q(1926,1,sV,_d),Q.Mb=function(e){return _ge(this.a,I(e,42))},Q.a=0,z(PG,`CompactionProcessor/lambda$2$Type`,1926),q(1927,1,sV,vd),Q.Mb=function(e){return vge(this.a,I(e,42))},Q.a=0,z(PG,`CompactionProcessor/lambda$3$Type`,1927),q(1928,1,sV,une),Q.Mb=function(e){return I(e,40).c.indexOf(MG)==-1},z(PG,`CompactionProcessor/lambda$4$Type`,1928),q(1929,1,{},joe),Q.Kb=function(e){return oNe(this.a,I(e,40))},Q.a=0,z(PG,`CompactionProcessor/lambda$5$Type`,1929),q(1930,1,{},Moe),Q.Kb=function(e){return bRe(this.a,I(e,40))},Q.a=0,z(PG,`CompactionProcessor/lambda$6$Type`,1930),q(1931,1,pH,Noe),Q.Ne=function(e,t){return eIe(this.a,I(e,240),I(t,240))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PG,`CompactionProcessor/lambda$7$Type`,1931),q(1932,1,pH,Poe),Q.Ne=function(e,t){return tIe(this.a,I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PG,`CompactionProcessor/lambda$8$Type`,1932),q(1933,1,pH,Zi),Q.Ne=function(e,t){return __e(I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(PG,`CompactionProcessor/lambda$9$Type`,1933),q(1921,1,GU,Qi),Q.Kf=function(e,t){qnt(I(e,121),t)},z(PG,`DirectionProcessor`,1921),q(1913,1,GU,Cye),Q.Kf=function(e,t){lat(this,I(e,121),t)},z(PG,`FanProcessor`,1913),q(1937,1,GU,dne),Q.Kf=function(e,t){wnt(I(e,121),t)},z(PG,`GraphBoundsProcessor`,1937),q(1938,1,{},fne),Q.Ye=function(e){return I(e,40).e.a},z(PG,`GraphBoundsProcessor/lambda$0$Type`,1938),q(1939,1,{},pne),Q.Ye=function(e){return I(e,40).e.b},z(PG,`GraphBoundsProcessor/lambda$1$Type`,1939),q(1940,1,{},$i),Q.Ye=function(e){return Nde(I(e,40))},z(PG,`GraphBoundsProcessor/lambda$2$Type`,1940),q(1941,1,{},ea),Q.Ye=function(e){return Mde(I(e,40))},z(PG,`GraphBoundsProcessor/lambda$3$Type`,1941),q(262,22,{3:1,34:1,22:1,262:1,196:1},d_),Q.dg=function(){switch(this.g){case 0:return new Tp;case 1:return new Cye;case 2:return new oce;case 3:return new hne;case 4:return new na;case 8:return new ta;case 5:return new Qi;case 6:return new aa;case 7:return new one;case 9:return new dne;case 10:return new oa;default:throw k(new rm($U+(this.f==null?``+this.g:this.f)))}};var pPt,mPt,hPt,gPt,_Pt,vPt,yPt,bPt,xPt,SPt,q2,CPt=vk(PG,eW,262,WJ,WHe,qxe),wPt;q(1920,1,GU,ta),Q.Kf=function(e,t){Wut(I(e,121),t)},z(PG,`LevelCoordinatesProcessor`,1920),q(1918,1,GU,na),Q.Kf=function(e,t){fet(this,I(e,121),t)},Q.a=0,z(PG,`LevelHeightProcessor`,1918),q(1919,1,qB,ra),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){return Ew(),kh(),wY},z(PG,`LevelHeightProcessor/1`,1919),q(1914,1,GU,oce),Q.Kf=function(e,t){unt(this,I(e,121),t)},z(PG,`LevelProcessor`,1914),q(1915,1,sV,mne),Q.Mb=function(e){return Zp(fb(K(I(e,40),(Zz(),p4))))},z(PG,`LevelProcessor/lambda$0$Type`,1915),q(1916,1,GU,hne),Q.Kf=function(e,t){J3e(this,I(e,121),t)},Q.a=0,z(PG,`NeighborsProcessor`,1916),q(1917,1,qB,ia),Q.Jc=function(e){WE(this,e)},Q.Kc=function(){return Ew(),kh(),wY},z(PG,`NeighborsProcessor/1`,1917),q(1922,1,GU,aa),Q.Kf=function(e,t){cat(this,I(e,121),t)},Q.a=0,z(PG,`NodePositionProcessor`,1922),q(1912,1,GU,Tp),Q.Kf=function(e,t){Zst(this,I(e,121),t)},z(PG,`RootProcessor`,1912),q(1942,1,GU,oa),Q.Kf=function(e,t){hZe(I(e,121),t)},z(PG,`Untreeifyer`,1942),q(392,22,{3:1,34:1,22:1,392:1},f_);var J2,Y2,TPt,EPt=vk(IG,`EdgeRoutingMode`,392,WJ,Oje,Jxe),DPt,X2,Z2,Q2,OPt,kPt,$2,e4,APt,t4,jPt,n4,r4,MPt,i4,a4,o4,s4,c4,l4,u4,d4,NPt,PPt,f4,p4,m4,h4;q(862,1,bH,Ac),Q.hf=function(e){fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,d_t),``),v_t),`Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level`),(Vy(),!1)),(VI(),K3)),nY),qM((_P(),U3))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,f_t),``),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,p_t),``),`Tree Level`),`The index for the tree level the node is in`),gM(0)),X3),sY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,m_t),``),v_t),`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`),gM(-1)),X3),sY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,h_t),``),`Weighting of Nodes`),`Which weighting to use when computing a node order.`),WPt),J3),gFt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,g_t),``),`Edge Routing Mode`),`Chooses an Edge Routing algorithm.`),RPt),J3),EPt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,__t),``),`Search Order`),`Which search order to use when computing a spanning tree.`),VPt),J3),yFt),qM(U3)))),Tdt((new jc,e))};var FPt,IPt,LPt,RPt,zPt,BPt,VPt,HPt,UPt,WPt;z(IG,`MrTreeMetaDataProvider`,862),q(1006,1,bH,jc),Q.hf=function(e){Tdt(e)};var GPt,KPt,qPt,g4,JPt,YPt,_4,XPt,ZPt,QPt,$Pt,eFt,tFt,nFt,rFt,iFt,aFt,oFt,v4,y4,sFt,cFt,lFt,b4,uFt,dFt,fFt,pFt,mFt,x4,hFt;z(IG,`MrTreeOptions`,1006),q(1007,1,{},sa),Q.sf=function(){var e;return e=new wye,e},Q.tf=function(e){},z(IG,`MrTreeOptions/MrtreeFactory`,1007),q(353,22,{3:1,34:1,22:1,353:1},p_);var S4,C4,w4,T4,gFt=vk(IG,`OrderWeighting`,353,WJ,GNe,Yxe),_Ft;q(433,22,{3:1,34:1,22:1,433:1},ipe);var vFt,E4,yFt=vk(IG,`TreeifyingOrder`,433,WJ,Vke,Xxe),bFt;q(1486,1,gG,hie),Q.rg=function(e){return I(e,121),xFt},Q.Kf=function(e,t){THe(this,I(e,121),t)};var xFt;z(`org.eclipse.elk.alg.mrtree.p1treeify`,`DFSTreeifyer`,1486),q(1487,1,gG,gie),Q.rg=function(e){return I(e,121),SFt},Q.Kf=function(e,t){_nt(this,I(e,121),t)};var SFt;z(RG,`NodeOrderer`,1487),q(1494,1,{},yne),Q.td=function(e){return mwe(e)},z(RG,`NodeOrderer/0methodref$lambda$6$Type`,1494),q(1488,1,sV,ba),Q.Mb=function(e){return ZO(),Zp(fb(K(I(e,40),(Zz(),p4))))},z(RG,`NodeOrderer/lambda$0$Type`,1488),q(1489,1,sV,xa),Q.Mb=function(e){return ZO(),I(K(I(e,40),(tz(),v4)),17).a<0},z(RG,`NodeOrderer/lambda$1$Type`,1489),q(1490,1,sV,Ioe),Q.Mb=function(e){return mVe(this.a,I(e,40))},z(RG,`NodeOrderer/lambda$2$Type`,1490),q(1491,1,sV,Foe),Q.Mb=function(e){return uNe(this.a,I(e,40))},z(RG,`NodeOrderer/lambda$3$Type`,1491),q(1492,1,pH,Sa),Q.Ne=function(e,t){return Lze(I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(RG,`NodeOrderer/lambda$4$Type`,1492),q(1493,1,sV,bne),Q.Mb=function(e){return ZO(),I(K(I(e,40),(Zz(),e4)),17).a!=0},z(RG,`NodeOrderer/lambda$5$Type`,1493),q(1495,1,gG,mie),Q.rg=function(e){return I(e,121),CFt},Q.Kf=function(e,t){wit(this,I(e,121),t)},Q.b=0;var CFt;z(`org.eclipse.elk.alg.mrtree.p3place`,`NodePlacer`,1495),q(1496,1,gG,pie),Q.rg=function(e){return I(e,121),wFt},Q.Kf=function(e,t){Wrt(I(e,121),t)};var wFt;z(zG,`EdgeRouter`,1496),q(1498,1,pH,vne),Q.Ne=function(e,t){return ey(I(e,17).a,I(t,17).a)},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/0methodref$compare$Type`,1498),q(1503,1,{},la),Q.Ye=function(e){return A(F(e))},z(zG,`EdgeRouter/1methodref$doubleValue$Type`,1503),q(1505,1,pH,ua),Q.Ne=function(e,t){return KM(A(F(e)),A(F(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/2methodref$compare$Type`,1505),q(1507,1,pH,gne),Q.Ne=function(e,t){return KM(A(F(e)),A(F(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/3methodref$compare$Type`,1507),q(1509,1,{},ca),Q.Ye=function(e){return A(F(e))},z(zG,`EdgeRouter/4methodref$doubleValue$Type`,1509),q(1511,1,pH,da),Q.Ne=function(e,t){return KM(A(F(e)),A(F(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/5methodref$compare$Type`,1511),q(1513,1,pH,fa),Q.Ne=function(e,t){return KM(A(F(e)),A(F(t)))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/6methodref$compare$Type`,1513),q(1497,1,{},_ne),Q.Kb=function(e){return QO(),I(K(I(e,40),(tz(),x4)),17)},z(zG,`EdgeRouter/lambda$0$Type`,1497),q(1508,1,{},pa),Q.Kb=function(e){return B_e(I(e,40))},z(zG,`EdgeRouter/lambda$11$Type`,1508),q(1510,1,{},dpe),Q.Kb=function(e){return iwe(this.b,this.a,I(e,40))},Q.a=0,Q.b=0,z(zG,`EdgeRouter/lambda$13$Type`,1510),q(1512,1,{},fpe),Q.Kb=function(e){return V_e(this.b,this.a,I(e,40))},Q.a=0,Q.b=0,z(zG,`EdgeRouter/lambda$15$Type`,1512),q(1514,1,pH,ma),Q.Ne=function(e,t){return jXe(I(e,65),I(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/lambda$17$Type`,1514),q(1515,1,pH,ha),Q.Ne=function(e,t){return MXe(I(e,65),I(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/lambda$18$Type`,1515),q(1516,1,pH,ga),Q.Ne=function(e,t){return PXe(I(e,65),I(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/lambda$19$Type`,1516),q(1499,1,sV,Loe),Q.Mb=function(e){return cAe(this.a,I(e,40))},Q.a=0,z(zG,`EdgeRouter/lambda$2$Type`,1499),q(1517,1,pH,_a),Q.Ne=function(e,t){return NXe(I(e,65),I(t,65))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/lambda$20$Type`,1517),q(1500,1,pH,va),Q.Ne=function(e,t){return xCe(I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/lambda$3$Type`,1500),q(1501,1,pH,ya),Q.Ne=function(e,t){return SCe(I(e,40),I(t,40))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`EdgeRouter/lambda$4$Type`,1501),q(1502,1,{},xne),Q.Kb=function(e){return H_e(I(e,40))},z(zG,`EdgeRouter/lambda$5$Type`,1502),q(1504,1,{},ppe),Q.Kb=function(e){return awe(this.b,this.a,I(e,40))},Q.a=0,Q.b=0,z(zG,`EdgeRouter/lambda$7$Type`,1504),q(1506,1,{},mpe),Q.Kb=function(e){return U_e(this.b,this.a,I(e,40))},Q.a=0,Q.b=0,z(zG,`EdgeRouter/lambda$9$Type`,1506),q(675,1,{675:1},dQe),Q.e=0,Q.f=!1,Q.g=!1,z(zG,`MultiLevelEdgeNodeNodeGap`,675),q(1943,1,pH,Ca),Q.Ne=function(e,t){return JAe(I(e,240),I(t,240))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`MultiLevelEdgeNodeNodeGap/lambda$0$Type`,1943),q(1944,1,pH,Sne),Q.Ne=function(e,t){return YAe(I(e,240),I(t,240))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(zG,`MultiLevelEdgeNodeNodeGap/lambda$1$Type`,1944);var D4;q(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},ape),Q.dg=function(){return wJe(this)},Q.qg=function(){return wJe(this)};var O4,k4,TFt=vk(x_t,`RadialLayoutPhases`,501,WJ,Pke,Zxe),EFt;q(1113,205,KH,aue),Q.rf=function(e,t){var n=Ket(this,e),r,i,a,o,s;if(t.Ug(`Radial layout`,n.c.length),Zp(fb(J(e,(PI(),rIt))))||rT((r=new Su((tg(),new Jp(e))),r)),s=Y0e(e),PP(e,(vb(),D4),s),!s)throw k(new rm(`The given graph is not a tree!`));for(i=A(F(J(e,B4))),i==0&&(i=i8e(e)),PP(e,B4,i),o=new O(Ket(this,e));o.a=3)for(S=I(U(b,0),27),ee=I(U(b,1),27),o=0;o+2=S.f+ee.f+d||ee.f>=x.f+S.f+d){ne=!0;break}else ++o;else ne=!0;if(!ne){for(p=b.i,c=new xy(b);c.e!=c.i.gc();)s=I(CP(c),27),PP(s,(dB(),X6),gM(p)),--p;Qat(e,new Dp),t.Vg();return}for(n=($C(this.a),ZS(this.a,(UN(),G4),I(J(e,lLt),188)),ZS(this.a,K4,I(J(e,nLt),188)),ZS(this.a,q4,I(J(e,oLt),188)),Kme(this.a,(re=new WC,Px(re,G4,(HP(),X4)),Px(re,K4,Y4),Zp(fb(J(e,JIt)))&&Px(re,G4,J4),re)),Iz(this.a,e)),u=1/n.c.length,te=0,h=new O(n);h.a0&&QGe((HT(t-1,e.length),e.charCodeAt(t-1)),oht);)--t;if(r>=t)throw k(new rm(`The given string does not contain any numbers.`));if(i=ez((TD(r,t,e.length),e.substr(r,t-r)),`,|;|\r| +`),i.length!=2)throw k(new rm(`Exactly two numbers are expected, `+i.length+` were found.`));try{this.a=OI(qI(i[0])),this.b=OI(qI(i[1]))}catch(e){throw e=ej(e),P(e,130)?(n=e,k(new rm(sht+n))):k(e)}},Q.Ib=function(){return`(`+this.a+`,`+this.b+`)`},Q.a=0,Q.b=0;var e6=z(XU,`KVector`,8);q(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},mp,Gm,Q_e),Q.Pc=function(){return xGe(this)},Q.cg=function(e){var t,n,r=ez(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),i,a,o;Sw(this);try{for(n=0,a=0,i=0,o=0;n0&&(a%2==0?i=OI(r[n]):o=OI(r[n]),a>0&&a%2!=0&&Dx(this,new M(i,o)),++a),++n}catch(e){throw e=ej(e),P(e,130)?(t=e,k(new rm(`The given string does not match the expected format for vectors.`+t))):k(e)}},Q.Ib=function(){for(var e=new ky(`(`),t=vP(this,0),n;t.b!=t.d.c;)n=I(yE(t),8),uv(e,n.a+`,`+n.b),t.b!=t.d.c&&(e.a+=`; `);return(e.a+=`)`,e).a};var MRt=z(XU,`KVectorChain`,75);q(255,22,{3:1,34:1,22:1,255:1},T_);var t6,n6,r6,i6,a6,o6,NRt=vk(SK,`Alignment`,255,WJ,PLe,xSe),PRt;q(991,1,bH,xie),Q.hf=function(e){uat(e)};var FRt,s6,IRt,LRt,RRt,zRt,BRt,VRt,HRt,URt,WRt,GRt;z(SK,`BoxLayouterOptions`,991),q(992,1,{},po),Q.sf=function(){var e;return e=new ho,e},Q.tf=function(e){},z(SK,`BoxLayouterOptions/BoxFactory`,992),q(298,22,{3:1,34:1,22:1,298:1},O_);var c6,l6,u6,d6,f6,p6,m6=vk(SK,`ContentAlignment`,298,WJ,FLe,SSe),KRt;q(699,1,bH,Lc),Q.hf=function(e){fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,xvt),``),`Layout Algorithm`),`Select a specific layout algorithm.`),(VI(),Q3)),dY),qM((_P(),U3))))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Svt),``),`Resolved Layout Algorithm`),`Meta data associated with the selected algorithm.`),Z3),ERt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Pgt),``),`Alignment`),`Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm.`),JRt),J3),NRt),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,$H),``),`Aspect Ratio`),`The desired aspect ratio of the drawing, that is the quotient of width by height.`),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Cvt),``),`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.`),Z3),MRt),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,uG),``),`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.`),$Rt),Y3),m6),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,cG),``),`Debug Mode`),`Whether additional debug information shall be generated.`),(Vy(),!1)),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,lG),``),Cmt),`Overall direction of edges: horizontal (right / left) or vertical (down / up).`),ezt),J3),p8),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,rG),``),`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.`),rzt),J3),x8),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,yvt),``),`Expand Nodes`),`If active, nodes are expanded to fill the area of their parent.`),!1),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,nG),``),`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`."),szt),J3),dBt),oS(U3,W(j(G3,1),Z,170,0,[H3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,eU),``),`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.`),_zt),Z3),lEt),oS(U3,W(j(G3,1),Z,170,0,[H3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,yU),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,mG),``),`interactive Layout`),`Whether the graph should be changeable interactively and by setting constraints`),!1),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,SU),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,bU),``),`Port Constraints`),`Defines constraints of the position of the ports of a node.`),Tzt),J3),yBt),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,pG),``),`Position`),`The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position.`),Z3),e6),oS(H3,W(j(G3,1),Z,170,0,[W3,V3]))))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,mU),``),`Priority`),`Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used.`),X3),sY),oS(H3,W(j(G3,1),Z,170,0,[B3]))))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,_U),``),`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).`),X3),sY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,vU),``),`Separate Connected Components`),`Whether each connected component should be processed separately.`),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ggt),``),`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.`),lzt),Z3),MRt),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Jgt),``),`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),K3),nY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ygt),``),`Hypernode`),`Whether the node should be handled as a hypernode.`),!1),K3),nY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,wvt),``),`Label Manager`),`Label managers can shorten labels upon a layout algorithm's request.`),Z3),uUt),oS(U3,W(j(G3,1),Z,170,0,[V3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Zgt),``),`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.`),uzt),Z3),sEt),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Mgt),``),`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),K3),nY),oS(H3,W(j(G3,1),Z,170,0,[B3,W3,V3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Tvt),``),`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),q3),aY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Evt),``),`Child Area Width`),`The width of the area occupied by the laid out children of a node.`),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Dvt),``),`Child Area Height`),`The height of the area occupied by the laid out children of a node.`),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,OU),``),pvt),`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),K3),nY),qM(U3)))),aE(e,OU,MU,null),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ovt),``),`Animate`),`Whether the shift from the old layout to the new computed layout shall be animated.`),!0),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,kvt),``),`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'.`),gM(100)),X3),sY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Avt),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,jvt),``),`Maximal Animation Time`),`The maximal time for animations, in milliseconds.`),gM(4e3)),X3),sY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Mvt),``),`Minimal Animation Time`),`The minimal time for animations, in milliseconds.`),gM(400)),X3),sY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Nvt),``),`Progress Bar`),`Whether a progress bar shall be displayed during layout computations.`),!1),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Pvt),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Fvt),``),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ivt),``),`Zoom to Fit`),`Whether the zoom level shall be set to view the whole diagram after layout.`),!1),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,bvt),`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.`),ZRt),J3),BBt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,xgt),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Sgt),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,ZH),iG),`Components Spacing`),`Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated.`),20),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Cgt),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,gU),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,sG),iG),`Edge Node Spacing`),`Spacing to be preserved between nodes and edges.`),10),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,wgt),iG),`Label Spacing`),`Determines the amount of space to be left between two labels of the same graph element.`),0),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Dgt),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Tgt),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Egt),iG),`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),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,hU),iG),`Node Spacing`),`The minimal distance to be preserved between each two nodes.`),20),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ogt),iG),`Node Self Loop Spacing`),`Spacing to be preserved between a node and its self loops.`),10),q3),aY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,kgt),iG),`Port Spacing`),`Spacing between pairs of ports of the same node.`),10),q3),aY),oS(U3,W(j(G3,1),Z,170,0,[H3]))))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Agt),iG),`Individual Spacing`),`Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent.`),Z3),HBt),oS(H3,W(j(G3,1),Z,170,0,[B3,W3,V3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Qgt),iG),`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.`),Vzt),Z3),sEt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,fG),Hvt),`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).`),X3),sY),oS(U3,W(j(G3,1),Z,170,0,[H3]))))),aE(e,fG,dG,xzt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,dG),Hvt),`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.`),yzt),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Lgt),Uvt),`Node Label Padding`),`Define padding for node labels that are placed inside of a node.`),fzt),Z3),lEt),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,EU),Uvt),`Node Label Placement`),`Hints for where node labels are to be placed; if empty, the node label's position is not modified.`),pzt),Y3),B8),oS(H3,W(j(G3,1),Z,170,0,[V3]))))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Bgt),wK),`Port Alignment`),`Defines the default port distribution for a node. May be overridden for each side individually.`),Czt),J3),W8),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Vgt),wK),`Port Alignment (North)`),`Defines how ports on the northern side are placed, overriding the node's general port alignment.`),J3),W8),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Hgt),wK),`Port Alignment (South)`),`Defines how ports on the southern side are placed, overriding the node's general port alignment.`),J3),W8),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Ugt),wK),`Port Alignment (West)`),`Defines how ports on the western side are placed, overriding the node's general port alignment.`),J3),W8),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Wgt),wK),`Port Alignment (East)`),`Defines how ports on the eastern side are placed, overriding the node's general port alignment.`),J3),W8),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,TU),TK),`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.`),mzt),Y3),A5),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,wU),TK),`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.`),gzt),Y3),kBt),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,PU),TK),`Node Size Minimum`),`The minimal size to which a node can be reduced.`),hzt),Z3),e6),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,CU),TK),`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),K3),nY),qM(U3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Kgt),aG),`Edge Label Placement`),`Gives a hint on where to put edge labels.`),tzt),J3),Yzt),qM(V3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,xU),aG),`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),K3),nY),qM(V3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Lvt),`font`),`Font Name`),`Font name used for a label.`),Q3),dY),qM(V3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Rvt),`font`),`Font Size`),`Font size used for a label.`),X3),sY),qM(V3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,Xgt),EK),`Port Anchor Offset`),`The offset to the port position where connections shall be attached.`),Z3),e6),qM(W3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,qgt),EK),`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.`),X3),sY),qM(W3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Ngt),EK),`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.`),Ozt),J3),T5),qM(W3)))),fN(e,new zI(Um(Hm(Wm(Lm(Vm(zm(Bm(new fo,jgt),EK),`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.`),q3),aY),qM(W3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,DU),Wvt),`Port Label Placement`),`Decides on a placement method for port labels; if empty, the node label's position is not modified.`),Ezt),Y3),r5),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Rgt),Wvt),`Port Labels Next to Port`),`Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE.`),!1),K3),nY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,zgt),Wvt),`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),K3),nY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,kU),DK),`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),q3),aY),qM(U3)))),aE(e,kU,MU,Gzt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,zvt),DK),`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),J3),H5),qM(H3)))),aE(e,zvt,MU,qzt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,AU),DK),`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),q3),aY),oS(U3,W(j(G3,1),Z,170,0,[H3]))))),aE(e,AU,MU,null),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,jU),DK),`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),q3),aY),oS(U3,W(j(G3,1),Z,170,0,[H3]))))),aE(e,jU,MU,null),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,MU),DK),`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),J3),MBt),qM(H3)))),aE(e,MU,CU,null),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Bvt),DK),`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),q3),aY),qM(U3)))),aE(e,Bvt,MU,Wzt),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Fgt),Gvt),`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),K3),nY),qM(H3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Igt),Gvt),`Inside Self Loop`),`Whether a self loop should be routed inside a node instead of around that node.`),!1),K3),nY),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,QH),`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),q3),aY),qM(B3)))),fN(e,new zI(Um(Hm(Wm(Rm(Lm(Vm(zm(Bm(new fo,Vvt),`edge`),`Edge Type`),`The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations.`),azt),J3),rBt),qM(B3)))),Qh(e,new FT(Pm(Im(Fm(new eo,HV),`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.`))),Qh(e,new FT(Pm(Im(Fm(new eo,`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.`))),Qh(e,new FT(Pm(Im(Fm(new eo,pU),`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.`))),Qh(e,new FT(Pm(Im(Fm(new eo,`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.`))),Qh(e,new FT(Pm(Im(Fm(new eo,y_t),`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.`))),Qh(e,new FT(Pm(Im(Fm(new eo,`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.`))),Qh(e,new FT(Pm(Im(Fm(new eo,XG),`Radial`),`Radial layout algorithms usually position the nodes of the graph on concentric circles.`))),Jrt((new Rc,e)),uat((new xie,e)),Snt((new zc,e))};var h6,qRt,JRt,g6,YRt,XRt,ZRt,_6,v6,QRt,y6,$Rt,b6,x6,ezt,S6,C6,tzt,nzt,rzt,izt,azt,ozt,w6,szt,czt,T6,E6,D6,O6,k6,lzt,A6,uzt,dzt,fzt,j6,pzt,M6,mzt,N6,P6,hzt,F6,gzt,I6,L6,R6,_zt,vzt,yzt,bzt,xzt,Szt,Czt,z6,B6,V6,H6,wzt,U6,W6,Tzt,G6,K6,q6,Ezt,Dzt,J6,Ozt,Y6,X6,Z6,Q6,kzt,$6,Azt,jzt,Mzt,Nzt,Pzt,Fzt,e8,Izt,t8,Lzt,Rzt,n8,zzt,Bzt,Vzt,Hzt,r8,i8,a8,o8,Uzt,Wzt,s8,Gzt,Kzt,qzt;z(SK,`CoreOptions`,699),q(88,22,{3:1,34:1,22:1,88:1},k_);var c8,l8,u8,d8,f8,p8=vk(SK,Cmt,88,WJ,lFe,CSe),Jzt;q(278,22,{3:1,34:1,22:1,278:1},A_);var m8,h8,g8,Yzt=vk(SK,`EdgeLabelPlacement`,278,WJ,Uje,wSe),Xzt;q(223,22,{3:1,34:1,22:1,223:1},j_);var _8,v8,y8,b8,x8=vk(SK,`EdgeRouting`,223,WJ,YNe,TSe),Zzt;q(321,22,{3:1,34:1,22:1,321:1},M_);var Qzt,$zt,eBt,tBt,S8,nBt,rBt=vk(SK,`EdgeType`,321,WJ,NLe,ESe),iBt;q(989,1,bH,Rc),Q.hf=function(e){Jrt(e)};var aBt,oBt,sBt,cBt,lBt,uBt,C8;z(SK,`FixedLayouterOptions`,989),q(990,1,{},mo),Q.sf=function(){var e;return e=new Co,e},Q.tf=function(e){},z(SK,`FixedLayouterOptions/FixedFactory`,990),q(346,22,{3:1,34:1,22:1,346:1},N_);var w8,T8,E8,dBt=vk(SK,`HierarchyHandling`,346,WJ,Vje,DSe),fBt;q(291,22,{3:1,34:1,22:1,291:1},P_);var D8,O8,k8,A8,pBt=vk(SK,`LabelSide`,291,WJ,JNe,OSe),mBt;q(95,22,{3:1,34:1,22:1,95:1},F_);var j8,M8,N8,P8,F8,I8,L8,R8,z8,B8=vk(SK,`NodeLabelPlacement`,95,WJ,CBe,kSe),hBt;q(256,22,{3:1,34:1,22:1,256:1},I_);var gBt,V8,H8,_Bt,U8,W8=vk(SK,`PortAlignment`,256,WJ,MFe,ASe),vBt;q(101,22,{3:1,34:1,22:1,101:1},L_);var G8,K8,q8,J8,Y8,X8,yBt=vk(SK,`PortConstraints`,101,WJ,MLe,jSe),bBt;q(279,22,{3:1,34:1,22:1,279:1},R_);var Z8,Q8,$8,e5,t5,n5,r5=vk(SK,`PortLabelPlacement`,279,WJ,jLe,MSe),xBt;q(64,22,{3:1,34:1,22:1,64:1},z_);var i5,a5,o5,s5,c5,l5,u5,d5,f5,p5,m5,h5,g5,_5,v5,y5,b5,x5,S5,C5,w5,T5=vk(SK,`PortSide`,64,WJ,uFe,NSe),SBt;q(993,1,bH,zc),Q.hf=function(e){Snt(e)};var CBt,wBt,TBt,EBt,DBt;z(SK,`RandomLayouterOptions`,993),q(994,1,{},Zne),Q.sf=function(){var e;return e=new Qne,e},Q.tf=function(e){},z(SK,`RandomLayouterOptions/RandomFactory`,994),q(386,22,{3:1,34:1,22:1,386:1},B_);var E5,D5,O5,k5,A5=vk(SK,`SizeConstraint`,386,WJ,qNe,PSe),OBt;q(264,22,{3:1,34:1,22:1,264:1},V_);var j5,M5,N5,P5,F5,I5,L5,R5,z5,kBt=vk(SK,`SizeOptions`,264,WJ,QBe,FSe),ABt;q(280,22,{3:1,34:1,22:1,280:1},H_);var B5,jBt,V5,MBt=vk(SK,`TopdownNodeTypes`,280,WJ,Wje,ISe),NBt;q(347,22,Kvt);var PBt,FBt,H5=vk(SK,`TopdownSizeApproximator`,347,WJ,Kke,RSe);q(987,347,Kvt,fwe),Q.Tg=function(e){return SZe(e)},vk(SK,`TopdownSizeApproximator/1`,987,H5,null,null),q(988,347,Kvt,ZTe),Q.Tg=function(e){var t=I(J(e,(dB(),Q6)),143),n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee=(Jm(),m=new fp,m),te,ne,C;for(KL(ee,e),te=new Kd,o=new xy((!e.a&&(e.a=new L(s7,e,10,11)),e.a));o.e!=o.i.gc();)i=I(CP(o),27),y=(p=new fp,p),GL(y,ee),KL(y,i),C=SZe(i),Iv(y,r.Math.max(i.g,C.a),r.Math.max(i.f,C.b)),XI(te.f,i,y);for(a=new xy((!e.a&&(e.a=new L(s7,e,10,11)),e.a));a.e!=a.i.gc();)for(i=I(CP(a),27),d=new xy((!i.e&&(i.e=new Ib(Z5,i,7,4)),i.e));d.e!=d.i.gc();)u=I(CP(d),74),x=I(X_(tS(te.f,i)),27),S=I(SC(te,U((!u.c&&(u.c=new Ib(X5,u,5,8)),u.c),0)),27),b=(f=new ko,f),OD((!b.b&&(b.b=new Ib(X5,b,4,7)),b.b),x),OD((!b.c&&(b.c=new Ib(X5,b,5,8)),b.c),S),HL(b,_T(x)),KL(b,u);g=I(Xw(t.f),205);try{g.rf(ee,new $ne),CDe(t.f,g)}catch(e){throw e=ej(e),P(e,103)?(h=e,k(h)):k(e)}return xD(ee,v6)||xD(ee,_6)||Xdt(ee),l=A(F(J(ee,v6))),c=A(F(J(ee,_6))),s=l/c,n=A(F(J(ee,i8)))*r.Math.sqrt((!ee.a&&(ee.a=new L(s7,ee,10,11)),ee.a).i),ne=I(J(ee,R6),107),v=ne.b+ne.c+1,_=ne.d+ne.a+1,new M(r.Math.max(v,n),r.Math.max(_,n/s))},vk(SK,`TopdownSizeApproximator/2`,988,H5,null,null);var IBt;q(344,1,{871:1},Dp),Q.Ug=function(e,t){return p2e(this,e,t)},Q.Vg=function(){Q4e(this)},Q.Wg=function(){return this.q},Q.Xg=function(){return this.f?Pw(this.f):null},Q.Yg=function(){return Pw(this.a)},Q.Zg=function(){return this.p},Q.$g=function(){return!1},Q._g=function(){return this.n},Q.ah=function(){return this.p!=null&&!this.b},Q.bh=function(e){var t;this.n&&(t=e,py(this.f,t))},Q.dh=function(e,t){var n,r;this.n&&e&&pMe(this,(n=new zEe,r=HR(n,e),$lt(n),r),(jj(),W5))},Q.eh=function(e){var t;return this.b?null:(t=Mze(this,this.g),Dx(this.a,t),t.i=this,this.d=e,t)},Q.fh=function(e){e>0&&!this.b&&hVe(this,e)},Q.b=!1,Q.c=0,Q.d=-1,Q.e=null,Q.f=null,Q.g=-1,Q.j=!1,Q.k=!1,Q.n=!1,Q.o=0,Q.q=0,Q.r=0,z(hG,`BasicProgressMonitor`,344),q(717,205,KH,ho),Q.rf=function(e,t){Qat(e,t)},z(hG,`BoxLayoutProvider`,717),q(983,1,pH,Sd),Q.Ne=function(e,t){return met(this,I(e,27),I(t,27))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},Q.a=!1,z(hG,`BoxLayoutProvider/1`,983),q(163,1,{163:1},JO,cve),Q.Ib=function(){return this.c?Ort(this.c):CI(this.b)},z(hG,`BoxLayoutProvider/Group`,163),q(320,22,{3:1,34:1,22:1,320:1},U_);var LBt,RBt,zBt,U5,BBt=vk(hG,`BoxLayoutProvider/PackingMode`,320,WJ,XNe,zSe),VBt;q(984,1,pH,go),Q.Ne=function(e,t){return KOe(I(e,163),I(t,163))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(hG,`BoxLayoutProvider/lambda$0$Type`,984),q(985,1,pH,_o),Q.Ne=function(e,t){return NOe(I(e,163),I(t,163))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(hG,`BoxLayoutProvider/lambda$1$Type`,985),q(986,1,pH,vo),Q.Ne=function(e,t){return POe(I(e,163),I(t,163))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(hG,`BoxLayoutProvider/lambda$2$Type`,986),q(1384,1,{845:1},yo),Q.Mg=function(e,t){return Jh(),!P(t,167)||fue((cj(),I(e,167)),t)},z(hG,`ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type`,1384),q(1385,1,UB,Koe),Q.Cd=function(e){EGe(this.a,I(e,149))},z(hG,`ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type`,1385),q(1386,1,UB,xo),Q.Cd=function(e){I(e,96),Jh()},z(hG,`ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type`,1386),q(1390,1,UB,qoe),Q.Cd=function(e){XVe(this.a,I(e,96))},z(hG,`ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type`,1390),q(1388,1,sV,ype),Q.Mb=function(e){return WWe(this.a,this.b,I(e,149))},z(hG,`ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type`,1388),q(1387,1,sV,bpe),Q.Mb=function(e){return z_e(this.a,this.b,I(e,845))},z(hG,`ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type`,1387),q(1389,1,UB,xpe),Q.Cd=function(e){GTe(this.a,this.b,I(e,149))},z(hG,`ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type`,1389),q(947,1,{},So),Q.Kb=function(e){return Xme(e)},Q.Fb=function(e){return this===e},z(hG,`ElkUtil/lambda$0$Type`,947),q(948,1,UB,Spe),Q.Cd=function(e){U8e(this.a,this.b,I(e,74))},Q.a=0,Q.b=0,z(hG,`ElkUtil/lambda$1$Type`,948),q(949,1,UB,Cpe),Q.Cd=function(e){Dce(this.a,this.b,I(e,166))},Q.a=0,Q.b=0,z(hG,`ElkUtil/lambda$2$Type`,949),q(950,1,UB,wpe),Q.Cd=function(e){vhe(this.a,this.b,I(e,135))},Q.a=0,Q.b=0,z(hG,`ElkUtil/lambda$3$Type`,950),q(951,1,UB,Joe),Q.Cd=function(e){pwe(this.a,I(e,377))},z(hG,`ElkUtil/lambda$4$Type`,951),q(325,1,{34:1,325:1},Gd),Q.Fd=function(e){return bge(this,I(e,242))},Q.Fb=function(e){var t;return P(e,325)?(t=I(e,325),this.a==t.a):!1},Q.Hb=function(){return iT(this.a)},Q.Ib=function(){return this.a+` (exclusive)`},Q.a=0,z(hG,`ExclusiveBounds/ExclusiveLowerBound`,325),q(1119,205,KH,Co),Q.rf=function(e,t){var n,i,a,o,s,c,l,u,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Ug(`Fixed Layout`,1),o=I(J(e,(dB(),nzt)),223),p=0,m=0,b=new xy((!e.a&&(e.a=new L(s7,e,10,11)),e.a));b.e!=b.i.gc();){for(v=I(CP(b),27),C=I(J(v,(Fj(),C8)),8),C&&(Lv(v,C.a,C.b),I(J(v,oBt),181).Hc((HN(),E5))&&(h=I(J(v,cBt),8),h.a>0&&h.b>0&&$z(v,h.a,h.b,!0,!0))),p=r.Math.max(p,v.i+v.g),m=r.Math.max(m,v.j+v.f),u=new xy((!v.n&&(v.n=new L(o7,v,1,7)),v.n));u.e!=u.i.gc();)c=I(CP(u),135),C=I(J(c,C8),8),C&&Lv(c,C.a,C.b),p=r.Math.max(p,v.i+c.i+c.g),m=r.Math.max(m,v.j+c.j+c.f);for(ee=new xy((!v.c&&(v.c=new L(c7,v,9,9)),v.c));ee.e!=ee.i.gc();)for(S=I(CP(ee),123),C=I(J(S,C8),8),C&&Lv(S,C.a,C.b),te=v.i+S.i,ne=v.j+S.j,p=r.Math.max(p,te+S.g),m=r.Math.max(m,ne+S.f),l=new xy((!S.n&&(S.n=new L(o7,S,1,7)),S.n));l.e!=l.i.gc();)c=I(CP(l),135),C=I(J(c,C8),8),C&&Lv(c,C.a,C.b),p=r.Math.max(p,te+c.i+c.g),m=r.Math.max(m,ne+c.j+c.f);for(a=new SS(Ty(IL(v).a.Kc(),new d));CL(a);)n=I($E(a),74),f=cdt(n),p=r.Math.max(p,f.a),m=r.Math.max(m,f.b);for(i=new SS(Ty(FL(v).a.Kc(),new d));CL(i);)n=I($E(i),74),_T(xI(n))!=e&&(f=cdt(n),p=r.Math.max(p,f.a),m=r.Math.max(m,f.b))}if(o==(aN(),_8))for(y=new xy((!e.a&&(e.a=new L(s7,e,10,11)),e.a));y.e!=y.i.gc();)for(v=I(CP(y),27),i=new SS(Ty(IL(v).a.Kc(),new d));CL(i);)n=I($E(i),74),s=wat(n),s.b==0?PP(n,k6,null):PP(n,k6,s);Zp(fb(J(e,(Fj(),sBt))))||(x=I(J(e,lBt),107),_=p+x.b+x.c,g=m+x.d+x.a,$z(e,_,g,!0,!0)),t.Vg()},z(hG,`FixedLayoutProvider`,1119),q(385,137,{3:1,423:1,385:1,96:1,137:1},wo,HRe),Q.cg=function(e){var t,n,r,i,a,o,s,c,l;if(e)try{for(c=ez(e,`;,;`),a=c,o=0,s=a.length;o>16&_V|t^r<<16},Q.Kc=function(){return new Yoe(this)},Q.Ib=function(){return this.a==null&&this.b==null?`pair(null,null)`:this.a==null?`pair(null,`+mN(this.b)+`)`:this.b==null?`pair(`+mN(this.a)+`,null)`:`pair(`+mN(this.a)+`,`+mN(this.b)+`)`},z(hG,`Pair`,42),q(995,1,NB,Yoe),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},Q.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 k(new Tf)},Q.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),k(new bf)},Q.b=!1,Q.c=!1,z(hG,`Pair/1`,995),q(455,1,{455:1},vOe),Q.Fb=function(e){return YC(this.a,I(e,455).a)&&YC(this.c,I(e,455).c)&&YC(this.d,I(e,455).d)&&YC(this.b,I(e,455).b)},Q.Hb=function(){return eM(W(j(PJ,1),DB,1,5,[this.a,this.c,this.d,this.b]))},Q.Ib=function(){return`(`+this.a+EB+this.c+EB+this.d+EB+this.b+`)`},z(hG,`Quadruple`,455),q(1108,205,KH,Qne),Q.rf=function(e,t){var n,r,i,a,o;if(t.Ug(`Random Layout`,1),(!e.a&&(e.a=new L(s7,e,10,11)),e.a).i==0){t.Vg();return}a=I(J(e,(mYe(),EBt)),17),i=a&&a.a!=0?new UE(a.a):new SN,n=Qp(F(J(e,CBt))),o=Qp(F(J(e,DBt))),r=I(J(e,wBt),107),Out(e,i,n,o,r),t.Vg()},z(hG,`RandomLayoutProvider`,1108),q(240,1,{240:1},ox),Q.Fb=function(e){return YC(this.a,I(e,240).a)&&YC(this.b,I(e,240).b)&&YC(this.c,I(e,240).c)},Q.Hb=function(){return eM(W(j(PJ,1),DB,1,5,[this.a,this.b,this.c]))},Q.Ib=function(){return`(`+this.a+EB+this.b+EB+this.c+`)`},z(hG,`Triple`,240);var JBt;q(562,1,{}),Q.Lf=function(){return new M(this.f.i,this.f.j)},Q.of=function(e){return yke(e,(dB(),U6))?J(this.f,YBt):J(this.f,e)},Q.Mf=function(){return new M(this.f.g,this.f.f)},Q.Nf=function(){return this.g},Q.pf=function(e){return xD(this.f,e)},Q.Of=function(e){ik(this.f,e.a),ak(this.f,e.b)},Q.Pf=function(e){rk(this.f,e.a),nk(this.f,e.b)},Q.Qf=function(e){this.g=e},Q.g=0;var YBt;z(AK,`ElkGraphAdapters/AbstractElkGraphElementAdapter`,562),q(563,1,{853:1},Cd),Q.Rf=function(){var e,t;if(!this.b)for(this.b=dE(ZC(this.a).i),t=new xy(ZC(this.a));t.e!=t.i.gc();)e=I(CP(t),135),py(this.b,new Yp(e));return this.b},Q.b=null,z(AK,`ElkGraphAdapters/ElkEdgeAdapter`,563),q(289,562,{},Jp),Q.Sf=function(){return kQe(this)},Q.a=null,z(AK,`ElkGraphAdapters/ElkGraphAdapter`,289),q(640,562,{187:1},Yp),z(AK,`ElkGraphAdapters/ElkLabelAdapter`,640),q(639,562,{695:1},Gy),Q.Rf=function(){return DQe(this)},Q.Vf=function(){var e;return e=I(J(this.f,(dB(),A6)),140),!e&&(e=new ap),e},Q.Xf=function(){return OQe(this)},Q.Zf=function(e){var t=new lx(e);PP(this.f,(dB(),A6),t)},Q.$f=function(e){PP(this.f,(dB(),R6),new tCe(e))},Q.Tf=function(){return this.d},Q.Uf=function(){var e,t;if(!this.a)for(this.a=new qd,t=new SS(Ty(FL(I(this.f,27)).a.Kc(),new d));CL(t);)e=I($E(t),74),py(this.a,new Cd(e));return this.a},Q.Wf=function(){var e,t;if(!this.c)for(this.c=new qd,t=new SS(Ty(IL(I(this.f,27)).a.Kc(),new d));CL(t);)e=I($E(t),74),py(this.c,new Cd(e));return this.c},Q.Yf=function(){return kw(I(this.f,27)).i!=0||Zp(fb(I(this.f,27).of((dB(),T6))))},Q._f=function(){URe(this,(tg(),JBt))},Q.a=null,Q.b=null,Q.c=null,Q.d=null,Q.e=null,z(AK,`ElkGraphAdapters/ElkNodeAdapter`,639),q(1284,562,{852:1},Xoe),Q.Rf=function(){return HQe(this)},Q.Uf=function(){var e,t;if(!this.a)for(this.a=Yy(I(this.f,123).hh().i),t=new xy(I(this.f,123).hh());t.e!=t.i.gc();)e=I(CP(t),74),py(this.a,new Cd(e));return this.a},Q.Wf=function(){var e,t;if(!this.c)for(this.c=Yy(I(this.f,123).ih().i),t=new xy(I(this.f,123).ih());t.e!=t.i.gc();)e=I(CP(t),74),py(this.c,new Cd(e));return this.c},Q.ag=function(){return I(I(this.f,123).of((dB(),J6)),64)},Q.bg=function(){var e,t,n,r=sT(I(this.f,123)),i,a,o,s;for(n=new xy(I(this.f,123).ih());n.e!=n.i.gc();)for(e=I(CP(n),74),s=new xy((!e.c&&(e.c=new Ib(X5,e,5,8)),e.c));s.e!=s.i.gc();)if(o=I(CP(s),84),HO(cI(o),r)||cI(o)==r&&Zp(fb(J(e,(dB(),E6)))))return!0;for(t=new xy(I(this.f,123).hh());t.e!=t.i.gc();)for(e=I(CP(t),74),a=new xy((!e.b&&(e.b=new Ib(X5,e,4,7)),e.b));a.e!=a.i.gc();)if(i=I(CP(a),84),HO(cI(i),r))return!0;return!1},Q.a=null,Q.b=null,Q.c=null,z(AK,`ElkGraphAdapters/ElkPortAdapter`,1284),q(1285,1,pH,bo),Q.Ne=function(e,t){return Drt(I(e,123),I(t,123))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(AK,`ElkGraphAdapters/PortComparator`,1285);var G5=Mx(jK,`EObject`),K5=Mx(MK,Yvt),q5=Mx(MK,Xvt),J5=Mx(MK,Zvt),Y5=Mx(MK,`ElkShape`),X5=Mx(MK,Qvt),Z5=Mx(MK,$vt),Q5=Mx(MK,eyt),$5=Mx(jK,tyt),e7=Mx(jK,`EFactory`),XBt,t7=Mx(jK,nyt),n7=Mx(jK,`EPackage`),r7,ZBt,QBt,$Bt,i7,eVt,tVt,nVt,rVt,a7,iVt,aVt,o7=Mx(MK,ryt),s7=Mx(MK,iyt),c7=Mx(MK,ayt);q(93,1,oyt),Q.th=function(){return this.uh(),null},Q.uh=function(){return null},Q.vh=function(){return this.uh(),!1},Q.wh=function(){return!1},Q.xh=function(e){MA(this,e)},z(NK,`BasicNotifierImpl`,93),q(99,93,uyt),Q.Yh=function(){return Av(this)},Q.yh=function(e,t){return e},Q.zh=function(){throw k(new Sf)},Q.Ah=function(e){var t;return t=XP(I(PO(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,e)},Q.Bh=function(e,t){throw k(new Sf)},Q.Ch=function(e,t,n){return GR(this,e,t,n)},Q.Dh=function(){var e;return this.zh()&&(e=this.zh().Nk(),e)?e:this.ii()},Q.Eh=function(){return xL(this)},Q.Fh=function(){throw k(new Sf)},Q.Gh=function(){var e,t=this.$h().Ok();return!t&&this.zh().Tk(t=(ig(),e=Yke(rz(this.Dh())),e==null?ZVt:new Uy(this,e))),t},Q.Hh=function(e,t){return e},Q.Ih=function(e){return e.pk()?e.Lj():EN(this.Dh(),e)},Q.Jh=function(){var e=this.zh();return e?e.Qk():null},Q.Kh=function(){return this.zh()?this.zh().Nk():null},Q.Lh=function(e,t,n){return LP(this,e,t,n)},Q.Mh=function(e){return LD(this,e)},Q.Nh=function(e,t){return $Fe(this,e,t)},Q.Oh=function(){var e=this.zh();return!!e&&e.Rk()},Q.Ph=function(){throw k(new Sf)},Q.Qh=function(){return nP(this)},Q.Rh=function(e,t,n,r){return NP(this,e,t,r)},Q.Sh=function(e,t,n){var r;return r=I(PO(this.Dh(),t),69),r.wk().zk(this,this.hi(),t-this.ji(),e,n)},Q.Th=function(e,t,n,r){return Yw(this,e,t,r)},Q.Uh=function(e,t,n){var r;return r=I(PO(this.Dh(),t),69),r.wk().Ak(this,this.hi(),t-this.ji(),e,n)},Q.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},Q.Wh=function(e){return xP(this,e)},Q.Xh=function(e){return xAe(this,e)},Q.Zh=function(e){return Blt(this,e)},Q.$h=function(){throw k(new Sf)},Q._h=function(){return this.zh()?this.zh().Pk():null},Q.ai=function(){return nP(this)},Q.bi=function(e,t){QI(this,e,t)},Q.ci=function(e){this.$h().Sk(e)},Q.di=function(e){this.$h().Vk(e)},Q.ei=function(e){this.$h().Uk(e)},Q.fi=function(e,t){var n,r,i,a=this.Jh();return a&&e&&(t=IP(a.El(),this,t),a.Il(this)),r=this.Ph(),r&&((PR(this,this.Ph(),this.Fh()).Bb&UV)==0?(t=(n=this.Fh(),n>=0?this.Ah(t):this.Ph().Th(this,-1-n,null,t)),t=this.Ch(null,-1,t)):(i=r.Qh(),i&&(e?!a&&i.Il(this):i.Hl(this)))),this.di(e),t},Q.gi=function(e){var t,n=this.Dh(),r,i,a=EN(n,e),o,s,c;if(t=this.ji(),a>=t)return I(e,69).wk().Dk(this,this.hi(),a-t);if(a<=-1)if(o=Rz((UI(),p9),n,e),o){if(sg(),I(o,69).xk()||(o=YT(oO(p9,o))),i=(r=this.Ih(o),I(r>=0?this.Lh(r,!0,!0):mL(this,o,!0),160)),c=o.Ik(),c>1||c==-1)return I(I(i,220).Sl(e,!1),79)}else throw k(new rm(PK+e.xe()+IK));else if(e.Jk())return r=this.Ih(e),I(r>=0?this.Lh(r,!1,!0):mL(this,e,!1),79);return s=new Xpe(this,e),s},Q.hi=function(){return GRe(this)},Q.ii=function(){return(yC(),K7).S},Q.ji=function(){return xC(this.ii())},Q.ki=function(e){BI(this,e)},Q.Ib=function(){return AL(this)},z(RK,`BasicEObjectImpl`,99);var oVt;q(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),Q.li=function(e){return WRe(this)[e]},Q.mi=function(e,t){CC(WRe(this),e,t)},Q.ni=function(e){CC(WRe(this),e,null)},Q.th=function(){return I(FA(this,4),129)},Q.uh=function(){throw k(new Sf)},Q.vh=function(){return(this.Db&4)!=0},Q.zh=function(){throw k(new Sf)},Q.oi=function(e){tP(this,2,e)},Q.Bh=function(e,t){this.Db=t<<16|this.Db&255,this.oi(e)},Q.Dh=function(){return Kw(this)},Q.Fh=function(){return this.Db>>16},Q.Gh=function(){var e,t;return ig(),t=Yke(rz((e=I(FA(this,16),29),e||this.ii()))),t==null?ZVt:new Uy(this,t)},Q.wh=function(){return(this.Db&1)==0},Q.Jh=function(){return I(FA(this,128),2034)},Q.Kh=function(){return I(FA(this,16),29)},Q.Oh=function(){return(this.Db&32)!=0},Q.Ph=function(){return I(FA(this,2),54)},Q.Vh=function(){return(this.Db&64)!=0},Q.$h=function(){throw k(new Sf)},Q._h=function(){return I(FA(this,64),288)},Q.ci=function(e){tP(this,16,e)},Q.di=function(e){tP(this,128,e)},Q.ei=function(e){tP(this,64,e)},Q.hi=function(){return eP(this)},Q.Db=0,z(RK,`MinimalEObjectImpl`,119),q(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),Q.oi=function(e){this.Cb=e},Q.Ph=function(){return this.Cb},z(RK,`MinimalEObjectImpl/Container`,120),q(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),Q.Lh=function(e,t,n){return WQe(this,e,t,n)},Q.Uh=function(e,t,n){return x4e(this,e,t,n)},Q.Wh=function(e){return IMe(this,e)},Q.bi=function(e,t){qWe(this,e,t)},Q.ii=function(){return iB(),aVt},Q.ki=function(e){sWe(this,e)},Q.nf=function(){return FXe(this)},Q.gh=function(){return!this.o&&(this.o=new ND((iB(),a7),u7,this,0)),this.o},Q.of=function(e){return J(this,e)},Q.pf=function(e){return xD(this,e)},Q.qf=function(e,t){return PP(this,e,t)},z(zK,`EMapPropertyHolderImpl`,2083),q(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Do),Q.Lh=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return LP(this,e,t,n)},Q.Wh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return xP(this,e)},Q.bi=function(e,t){switch(e){case 0:lk(this,A(F(t)));return;case 1:ek(this,A(F(t)));return}QI(this,e,t)},Q.ii=function(){return iB(),ZBt},Q.ki=function(e){switch(e){case 0:lk(this,0);return;case 1:ek(this,0);return}BI(this,e)},Q.Ib=function(){var e;return this.Db&64?AL(this):(e=new Oy(AL(this)),e.a+=` (x: `,$m(e,this.a),e.a+=`, y: `,$m(e,this.b),e.a+=`)`,e.a)},Q.a=0,Q.b=0,z(zK,`ElkBendPointImpl`,572),q(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}),Q.Lh=function(e,t,n){return mqe(this,e,t,n)},Q.Sh=function(e,t,n){return uI(this,e,t,n)},Q.Uh=function(e,t,n){return OUe(this,e,t,n)},Q.Wh=function(e){return uUe(this,e)},Q.bi=function(e,t){V1e(this,e,t)},Q.ii=function(){return iB(),eVt},Q.ki=function(e){wKe(this,e)},Q.jh=function(){return this.k},Q.kh=function(){return ZC(this)},Q.Ib=function(){return ZM(this)},Q.k=null,z(zK,`ElkGraphElementImpl`,739),q(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}),Q.Lh=function(e,t,n){return tJe(this,e,t,n)},Q.Wh=function(e){return CJe(this,e)},Q.bi=function(e,t){H1e(this,e,t)},Q.ii=function(){return iB(),iVt},Q.ki=function(e){QJe(this,e)},Q.lh=function(){return this.f},Q.mh=function(){return this.g},Q.nh=function(){return this.i},Q.oh=function(){return this.j},Q.ph=function(e,t){Iv(this,e,t)},Q.qh=function(e,t){Lv(this,e,t)},Q.rh=function(e){ik(this,e)},Q.sh=function(e){ak(this,e)},Q.Ib=function(){return AI(this)},Q.f=0,Q.g=0,Q.i=0,Q.j=0,z(zK,`ElkShapeImpl`,740),q(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}),Q.Lh=function(e,t,n){return AZe(this,e,t,n)},Q.Sh=function(e,t,n){return b1e(this,e,t,n)},Q.Uh=function(e,t,n){return x1e(this,e,t,n)},Q.Wh=function(e){return BWe(this,e)},Q.bi=function(e,t){o7e(this,e,t)},Q.ii=function(){return iB(),QBt},Q.ki=function(e){JXe(this,e)},Q.hh=function(){return!this.d&&(this.d=new Ib(Z5,this,8,5)),this.d},Q.ih=function(){return!this.e&&(this.e=new Ib(Z5,this,7,4)),this.e},z(zK,`ElkConnectableShapeImpl`,741),q(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},ko),Q.Ah=function(e){return P$e(this,e)},Q.Lh=function(e,t,n){switch(e){case 3:return oT(this);case 4:return!this.b&&(this.b=new Ib(X5,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Ib(X5,this,5,8)),this.c;case 6:return!this.a&&(this.a=new L(Q5,this,6,6)),this.a;case 7:return Vy(),!this.b&&(this.b=new Ib(X5,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Ib(X5,this,5,8)),this.c.i<=1));case 8:return Vy(),!!yL(this);case 9:return Vy(),!!uL(this);case 10:return Vy(),!this.b&&(this.b=new Ib(X5,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Ib(X5,this,5,8)),this.c.i!=0)}return mqe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 3:return this.Cb&&(n=(r=this.Db>>16,r>=0?P$e(this,n):this.Cb.Th(this,-1-r,null,n))),qve(this,I(e,27),n);case 4:return!this.b&&(this.b=new Ib(X5,this,4,7)),LN(this.b,e,n);case 5:return!this.c&&(this.c=new Ib(X5,this,5,8)),LN(this.c,e,n);case 6:return!this.a&&(this.a=new L(Q5,this,6,6)),LN(this.a,e,n)}return uI(this,e,t,n)},Q.Uh=function(e,t,n){switch(t){case 3:return qve(this,null,n);case 4:return!this.b&&(this.b=new Ib(X5,this,4,7)),IP(this.b,e,n);case 5:return!this.c&&(this.c=new Ib(X5,this,5,8)),IP(this.c,e,n);case 6:return!this.a&&(this.a=new L(Q5,this,6,6)),IP(this.a,e,n)}return OUe(this,e,t,n)},Q.Wh=function(e){switch(e){case 3:return!!oT(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 Ib(X5,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Ib(X5,this,5,8)),this.c.i<=1));case 8:return yL(this);case 9:return uL(this);case 10:return!this.b&&(this.b=new Ib(X5,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Ib(X5,this,5,8)),this.c.i!=0)}return uUe(this,e)},Q.bi=function(e,t){switch(e){case 3:HL(this,I(t,27));return;case 4:!this.b&&(this.b=new Ib(X5,this,4,7)),Pz(this.b),!this.b&&(this.b=new Ib(X5,this,4,7)),oC(this.b,I(t,16));return;case 5:!this.c&&(this.c=new Ib(X5,this,5,8)),Pz(this.c),!this.c&&(this.c=new Ib(X5,this,5,8)),oC(this.c,I(t,16));return;case 6:!this.a&&(this.a=new L(Q5,this,6,6)),Pz(this.a),!this.a&&(this.a=new L(Q5,this,6,6)),oC(this.a,I(t,16));return}V1e(this,e,t)},Q.ii=function(){return iB(),$Bt},Q.ki=function(e){switch(e){case 3:HL(this,null);return;case 4:!this.b&&(this.b=new Ib(X5,this,4,7)),Pz(this.b);return;case 5:!this.c&&(this.c=new Ib(X5,this,5,8)),Pz(this.c);return;case 6:!this.a&&(this.a=new L(Q5,this,6,6)),Pz(this.a);return}wKe(this,e)},Q.Ib=function(){return cst(this)},z(zK,`ElkEdgeImpl`,326),q(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},Ao),Q.Ah=function(e){return b$e(this,e)},Q.Lh=function(e,t,n){switch(e){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 hy(q5,this,5)),this.a;case 6:return hAe(this);case 7:return t?YP(this):this.i;case 8:return t?JP(this):this.f;case 9:return!this.g&&(this.g=new Ib(Q5,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Ib(Q5,this,10,9)),this.e;case 11:return this.d}return WQe(this,e,t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?b$e(this,n):this.Cb.Th(this,-1-i,null,n))),Kve(this,I(e,74),n);case 9:return!this.g&&(this.g=new Ib(Q5,this,9,10)),LN(this.g,e,n);case 10:return!this.e&&(this.e=new Ib(Q5,this,10,9)),LN(this.e,e,n)}return a=I(PO((r=I(FA(this,16),29),r||(iB(),i7)),t),69),a.wk().zk(this,eP(this),t-xC((iB(),i7)),e,n)},Q.Uh=function(e,t,n){switch(t){case 5:return!this.a&&(this.a=new hy(q5,this,5)),IP(this.a,e,n);case 6:return Kve(this,null,n);case 9:return!this.g&&(this.g=new Ib(Q5,this,9,10)),IP(this.g,e,n);case 10:return!this.e&&(this.e=new Ib(Q5,this,10,9)),IP(this.e,e,n)}return x4e(this,e,t,n)},Q.Wh=function(e){switch(e){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!!hAe(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 IMe(this,e)},Q.bi=function(e,t){switch(e){case 1:ok(this,A(F(t)));return;case 2:ck(this,A(F(t)));return;case 3:tk(this,A(F(t)));return;case 4:sk(this,A(F(t)));return;case 5:!this.a&&(this.a=new hy(q5,this,5)),Pz(this.a),!this.a&&(this.a=new hy(q5,this,5)),oC(this.a,I(t,16));return;case 6:K9e(this,I(t,74));return;case 7:zk(this,I(t,84));return;case 8:Rk(this,I(t,84));return;case 9:!this.g&&(this.g=new Ib(Q5,this,9,10)),Pz(this.g),!this.g&&(this.g=new Ib(Q5,this,9,10)),oC(this.g,I(t,16));return;case 10:!this.e&&(this.e=new Ib(Q5,this,10,9)),Pz(this.e),!this.e&&(this.e=new Ib(Q5,this,10,9)),oC(this.e,I(t,16));return;case 11:PVe(this,pb(t));return}qWe(this,e,t)},Q.ii=function(){return iB(),i7},Q.ki=function(e){switch(e){case 1:ok(this,0);return;case 2:ck(this,0);return;case 3:tk(this,0);return;case 4:sk(this,0);return;case 5:!this.a&&(this.a=new hy(q5,this,5)),Pz(this.a);return;case 6:K9e(this,null);return;case 7:zk(this,null);return;case 8:Rk(this,null);return;case 9:!this.g&&(this.g=new Ib(Q5,this,9,10)),Pz(this.g);return;case 10:!this.e&&(this.e=new Ib(Q5,this,10,9)),Pz(this.e);return;case 11:PVe(this,null);return}sWe(this,e)},Q.Ib=function(){return y5e(this)},Q.b=0,Q.c=0,Q.d=null,Q.j=0,Q.k=0,z(zK,`ElkEdgeSectionImpl`,452),q(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),Q.Lh=function(e,t,n){var r;return e==0?(!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab):WD(this,e-xC(this.ii()),PO((r=I(FA(this,16),29),r||this.ii()),e),t,n)},Q.Sh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n)):(i=I(PO((r=I(FA(this,16),29),r||this.ii()),t),69),i.wk().zk(this,eP(this),t-xC(this.ii()),e,n))},Q.Uh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n)):(i=I(PO((r=I(FA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,eP(this),t-xC(this.ii()),e,n))},Q.Wh=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:wE(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.Zh=function(e){return tdt(this,e)},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return}gN(this,e-xC(this.ii()),PO((n=I(FA(this,16),29),n||this.ii()),e),t)},Q.di=function(e){tP(this,128,e)},Q.ii=function(){return hB(),BVt},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return}DM(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.pi=function(){this.Bb|=1},Q.qi=function(e){return KR(this,e)},Q.Bb=0,z(RK,`EModelElementImpl`,158),q(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},Vc),Q.ri=function(e,t){return Clt(this,e,t)},Q.si=function(e){var t,n,r,i,a;if(this.a!=KO(e)||e.Bb&256)throw k(new rm(GK+e.zb+HK));for(r=Ww(e);AE(r.a).i!=0;){if(n=I(Vz(r,0,(t=I(U(AE(r.a),0),89),a=t.c,P(a,90)?I(a,29):(hB(),t9))),29),_F(n))return i=KO(n).wi().si(n),I(i,54).ci(e),i;r=Ww(n)}return(e.D==null?e.B:e.D)==`java.util.Map$Entry`?new uwe(e):new FCe(e)},Q.ti=function(e,t){return aB(this,e,t)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.a}return WD(this,e-xC((hB(),Q7)),PO((r=I(FA(this,16),29),r||Q7),e),t,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 1:return this.a&&(n=I(this.a,54).Th(this,4,n7,n)),_Ke(this,I(e,241),n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),Q7)),t),69),i.wk().zk(this,eP(this),t-xC((hB(),Q7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 1:return _Ke(this,null,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),Q7)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),Q7)),e,n)},Q.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return wE(this,e-xC((hB(),Q7)),PO((t=I(FA(this,16),29),t||Q7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:r4e(this,I(t,241));return}gN(this,e-xC((hB(),Q7)),PO((n=I(FA(this,16),29),n||Q7),e),t)},Q.ii=function(){return hB(),Q7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:r4e(this,null);return}DM(this,e-xC((hB(),Q7)),PO((t=I(FA(this,16),29),t||Q7),e))};var l7,sVt,cVt;z(RK,`EFactoryImpl`,720),q(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},ere),Q.ri=function(e,t){switch(e.hk()){case 12:return I(t,149).Pg();case 13:return mN(t);default:throw k(new rm(VK+e.xe()+HK))}},Q.si=function(e){var t,n,r,i,a,o,s,c;switch(e.G==-1&&(e.G=(t=KO(e),t?zP(t.vi(),e):-1)),e.G){case 4:return a=new jo,a;case 6:return o=new fp,o;case 7:return s=new pp,s;case 8:return r=new ko,r;case 9:return n=new Do,n;case 10:return i=new Ao,i;case 11:return c=new Mo,c;default:throw k(new rm(GK+e.zb+HK))}},Q.ti=function(e,t){switch(e.hk()){case 13:case 12:return null;default:throw k(new rm(VK+e.xe()+HK))}},z(zK,`ElkGraphFactoryImpl`,1037),q(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}),Q.Gh=function(){var e,t=(e=I(FA(this,16),29),Yke(rz(e||this.ii())));return t==null?(ig(),ig(),ZVt):new nve(this,t)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.xe()}return WD(this,e-xC(this.ii()),PO((r=I(FA(this,16),29),r||this.ii()),e),t,n)},Q.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return wE(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:this.ui(pb(t));return}gN(this,e-xC(this.ii()),PO((n=I(FA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return hB(),VVt},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:this.ui(null);return}DM(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.xe=function(){return this.zb},Q.ui=function(e){eA(this,e)},Q.Ib=function(){return SM(this)},Q.zb=null,z(RK,`ENamedElementImpl`,448),q(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},JOe),Q.Ah=function(e){return w$e(this,e)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,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 PS(this,P7,this)),this.rb;case 6:return!this.vb&&(this.vb=new Fb(n7,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?I(this.Cb,241):null:AAe(this)}return WD(this,e-xC((hB(),r9)),PO((r=I(FA(this,16),29),r||r9),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 4:return this.sb&&(n=I(this.sb,54).Th(this,1,e7,n)),FKe(this,I(e,480),n);case 5:return!this.rb&&(this.rb=new PS(this,P7,this)),LN(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Fb(n7,this,6,7)),LN(this.vb,e,n);case 7:return this.Cb&&(n=(i=this.Db>>16,i>=0?w$e(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,7,n)}return a=I(PO((r=I(FA(this,16),29),r||(hB(),r9)),t),69),a.wk().zk(this,eP(this),t-xC((hB(),r9)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 4:return FKe(this,null,n);case 5:return!this.rb&&(this.rb=new PS(this,P7,this)),IP(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Fb(n7,this,6,7)),IP(this.vb,e,n);case 7:return GR(this,null,7,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),r9)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),r9)),e,n)},Q.Wh=function(e){var t;switch(e){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!!AAe(this)}return wE(this,e-xC((hB(),r9)),PO((t=I(FA(this,16),29),t||r9),e))},Q.Zh=function(e){return Pet(this,e)||tdt(this,e)},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:eA(this,pb(t));return;case 2:nA(this,pb(t));return;case 3:tA(this,pb(t));return;case 4:EI(this,I(t,480));return;case 5:!this.rb&&(this.rb=new PS(this,P7,this)),Pz(this.rb),!this.rb&&(this.rb=new PS(this,P7,this)),oC(this.rb,I(t,16));return;case 6:!this.vb&&(this.vb=new Fb(n7,this,6,7)),Pz(this.vb),!this.vb&&(this.vb=new Fb(n7,this,6,7)),oC(this.vb,I(t,16));return}gN(this,e-xC((hB(),r9)),PO((n=I(FA(this,16),29),n||r9),e),t)},Q.ei=function(e){var t,n;if(e&&this.rb)for(n=new xy(this.rb);n.e!=n.i.gc();)t=CP(n),P(t,364)&&(I(t,364).w=null);tP(this,64,e)},Q.ii=function(){return hB(),r9},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:eA(this,null);return;case 2:nA(this,null);return;case 3:tA(this,null);return;case 4:EI(this,null);return;case 5:!this.rb&&(this.rb=new PS(this,P7,this)),Pz(this.rb);return;case 6:!this.vb&&(this.vb=new Fb(n7,this,6,7)),Pz(this.vb);return}DM(this,e-xC((hB(),r9)),PO((t=I(FA(this,16),29),t||r9),e))},Q.pi=function(){CF(this)},Q.vi=function(){return!this.rb&&(this.rb=new PS(this,P7,this)),this.rb},Q.wi=function(){return this.sb},Q.xi=function(){return this.ub},Q.yi=function(){return this.xb},Q.zi=function(){return this.yb},Q.Ai=function(e){this.ub=e},Q.Ib=function(){var e;return this.Db&64?SM(this):(e=new Oy(SM(this)),e.a+=` (nsURI: `,sv(e,this.yb),e.a+=`, nsPrefix: `,sv(e,this.xb),e.a+=`)`,e.a)},Q.xb=null,Q.yb=null;var lVt;z(RK,`EPackageImpl`,184),q(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},V5e),Q.q=!1,Q.r=!1;var uVt=!1;z(zK,`ElkGraphPackageImpl`,569),q(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},jo),Q.Ah=function(e){return x$e(this,e)},Q.Lh=function(e,t,n){switch(e){case 7:return jAe(this);case 8:return this.a}return tJe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 7:return this.Cb&&(n=(r=this.Db>>16,r>=0?x$e(this,n):this.Cb.Th(this,-1-r,null,n))),bTe(this,I(e,167),n)}return uI(this,e,t,n)},Q.Uh=function(e,t,n){return t==7?bTe(this,null,n):OUe(this,e,t,n)},Q.Wh=function(e){switch(e){case 7:return!!jAe(this);case 8:return!Rb(``,this.a)}return CJe(this,e)},Q.bi=function(e,t){switch(e){case 7:Aet(this,I(t,167));return;case 8:_Ve(this,pb(t));return}H1e(this,e,t)},Q.ii=function(){return iB(),tVt},Q.ki=function(e){switch(e){case 7:Aet(this,null);return;case 8:_Ve(this,``);return}QJe(this,e)},Q.Ib=function(){return h3e(this)},Q.a=``,z(zK,`ElkLabelImpl`,366),q(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},fp),Q.Ah=function(e){return F$e(this,e)},Q.Lh=function(e,t,n){switch(e){case 9:return!this.c&&(this.c=new L(c7,this,9,9)),this.c;case 10:return!this.a&&(this.a=new L(s7,this,10,11)),this.a;case 11:return _T(this);case 12:return!this.b&&(this.b=new L(Z5,this,12,3)),this.b;case 13:return Vy(),!this.a&&(this.a=new L(s7,this,10,11)),this.a.i>0}return AZe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 9:return!this.c&&(this.c=new L(c7,this,9,9)),LN(this.c,e,n);case 10:return!this.a&&(this.a=new L(s7,this,10,11)),LN(this.a,e,n);case 11:return this.Cb&&(n=(r=this.Db>>16,r>=0?F$e(this,n):this.Cb.Th(this,-1-r,null,n))),Iye(this,I(e,27),n);case 12:return!this.b&&(this.b=new L(Z5,this,12,3)),LN(this.b,e,n)}return b1e(this,e,t,n)},Q.Uh=function(e,t,n){switch(t){case 9:return!this.c&&(this.c=new L(c7,this,9,9)),IP(this.c,e,n);case 10:return!this.a&&(this.a=new L(s7,this,10,11)),IP(this.a,e,n);case 11:return Iye(this,null,n);case 12:return!this.b&&(this.b=new L(Z5,this,12,3)),IP(this.b,e,n)}return x1e(this,e,t,n)},Q.Wh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!_T(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new L(s7,this,10,11)),this.a.i>0}return BWe(this,e)},Q.bi=function(e,t){switch(e){case 9:!this.c&&(this.c=new L(c7,this,9,9)),Pz(this.c),!this.c&&(this.c=new L(c7,this,9,9)),oC(this.c,I(t,16));return;case 10:!this.a&&(this.a=new L(s7,this,10,11)),Pz(this.a),!this.a&&(this.a=new L(s7,this,10,11)),oC(this.a,I(t,16));return;case 11:GL(this,I(t,27));return;case 12:!this.b&&(this.b=new L(Z5,this,12,3)),Pz(this.b),!this.b&&(this.b=new L(Z5,this,12,3)),oC(this.b,I(t,16));return}o7e(this,e,t)},Q.ii=function(){return iB(),nVt},Q.ki=function(e){switch(e){case 9:!this.c&&(this.c=new L(c7,this,9,9)),Pz(this.c);return;case 10:!this.a&&(this.a=new L(s7,this,10,11)),Pz(this.a);return;case 11:GL(this,null);return;case 12:!this.b&&(this.b=new L(Z5,this,12,3)),Pz(this.b);return}JXe(this,e)},Q.Ib=function(){return Ort(this)},z(zK,`ElkNodeImpl`,207),q(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},pp),Q.Ah=function(e){return S$e(this,e)},Q.Lh=function(e,t,n){return e==9?sT(this):AZe(this,e,t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 9:return this.Cb&&(n=(r=this.Db>>16,r>=0?S$e(this,n):this.Cb.Th(this,-1-r,null,n))),Jve(this,I(e,27),n)}return b1e(this,e,t,n)},Q.Uh=function(e,t,n){return t==9?Jve(this,null,n):x1e(this,e,t,n)},Q.Wh=function(e){return e==9?!!sT(this):BWe(this,e)},Q.bi=function(e,t){switch(e){case 9:q9e(this,I(t,27));return}o7e(this,e,t)},Q.ii=function(){return iB(),rVt},Q.ki=function(e){switch(e){case 9:q9e(this,null);return}JXe(this,e)},Q.Ib=function(){return krt(this)},z(zK,`ElkPortImpl`,193);var dVt=Mx(nq,`BasicEMap/Entry`);q(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},Mo),Q.Fb=function(e){return this===e},Q.ld=function(){return this.b},Q.Hb=function(){return zy(this)},Q.Di=function(e){vVe(this,I(e,149))},Q.Lh=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return LP(this,e,t,n)},Q.Wh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return xP(this,e)},Q.bi=function(e,t){switch(e){case 0:vVe(this,I(t,149));return;case 1:gVe(this,t);return}QI(this,e,t)},Q.ii=function(){return iB(),a7},Q.ki=function(e){switch(e){case 0:vVe(this,null);return;case 1:gVe(this,null);return}BI(this,e)},Q.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?$k(e):0),this.a},Q.md=function(){return this.c},Q.Ci=function(e){this.a=e},Q.nd=function(e){var t=this.c;return gVe(this,e),t},Q.Ib=function(){var e;return this.Db&64?AL(this):(e=new xm,uv(uv(uv(e,this.b?this.b.Pg():OB),qU),Dy(this.c)),e.a)},Q.a=-1,Q.c=null;var u7=z(zK,`ElkPropertyToValueMapEntryImpl`,1122);q(996,1,{},Fo),z(iq,`JsonAdapter`,996),q(216,63,dV,lm),z(iq,`JsonImportException`,216),q(868,1,{},E$e),z(iq,`JsonImporter`,868),q(903,1,{},Tpe),z(iq,`JsonImporter/lambda$0$Type`,903),q(904,1,{},Epe),z(iq,`JsonImporter/lambda$1$Type`,904),q(912,1,{},Zoe),z(iq,`JsonImporter/lambda$10$Type`,912),q(914,1,{},Dpe),z(iq,`JsonImporter/lambda$11$Type`,914),q(915,1,{},Ope),z(iq,`JsonImporter/lambda$12$Type`,915),q(921,1,{},COe),z(iq,`JsonImporter/lambda$13$Type`,921),q(920,1,{},wOe),z(iq,`JsonImporter/lambda$14$Type`,920),q(916,1,{},kpe),z(iq,`JsonImporter/lambda$15$Type`,916),q(917,1,{},Ape),z(iq,`JsonImporter/lambda$16$Type`,917),q(918,1,{},jpe),z(iq,`JsonImporter/lambda$17$Type`,918),q(919,1,{},Mpe),z(iq,`JsonImporter/lambda$18$Type`,919),q(924,1,{},Qoe),z(iq,`JsonImporter/lambda$19$Type`,924),q(905,1,{},$oe),z(iq,`JsonImporter/lambda$2$Type`,905),q(922,1,{},ese),z(iq,`JsonImporter/lambda$20$Type`,922),q(923,1,{},tse),z(iq,`JsonImporter/lambda$21$Type`,923),q(927,1,{},nse),z(iq,`JsonImporter/lambda$22$Type`,927),q(925,1,{},rse),z(iq,`JsonImporter/lambda$23$Type`,925),q(926,1,{},ise),z(iq,`JsonImporter/lambda$24$Type`,926),q(929,1,{},ase),z(iq,`JsonImporter/lambda$25$Type`,929),q(928,1,{},ose),z(iq,`JsonImporter/lambda$26$Type`,928),q(930,1,UB,Npe),Q.Cd=function(e){WLe(this.b,this.a,pb(e))},z(iq,`JsonImporter/lambda$27$Type`,930),q(931,1,UB,Ppe),Q.Cd=function(e){GLe(this.b,this.a,pb(e))},z(iq,`JsonImporter/lambda$28$Type`,931),q(932,1,{},Fpe),z(iq,`JsonImporter/lambda$29$Type`,932),q(908,1,{},wd),z(iq,`JsonImporter/lambda$3$Type`,908),q(933,1,{},Ipe),z(iq,`JsonImporter/lambda$30$Type`,933),q(934,1,{},Td),z(iq,`JsonImporter/lambda$31$Type`,934),q(935,1,{},sse),z(iq,`JsonImporter/lambda$32$Type`,935),q(936,1,{},cse),z(iq,`JsonImporter/lambda$33$Type`,936),q(937,1,{},lse),z(iq,`JsonImporter/lambda$34$Type`,937),q(870,1,{},use),z(iq,`JsonImporter/lambda$35$Type`,870),q(941,1,{},GSe),z(iq,`JsonImporter/lambda$36$Type`,941),q(938,1,UB,dse),Q.Cd=function(e){mFe(this.a,I(e,377))},z(iq,`JsonImporter/lambda$37$Type`,938),q(939,1,UB,Lpe),Q.Cd=function(e){Kpe(this.a,this.b,I(e,166))},z(iq,`JsonImporter/lambda$38$Type`,939),q(940,1,UB,Rpe),Q.Cd=function(e){qpe(this.a,this.b,I(e,166))},z(iq,`JsonImporter/lambda$39$Type`,940),q(906,1,{},fse),z(iq,`JsonImporter/lambda$4$Type`,906),q(942,1,UB,pse),Q.Cd=function(e){hFe(this.a,I(e,8))},z(iq,`JsonImporter/lambda$40$Type`,942),q(907,1,{},mse),z(iq,`JsonImporter/lambda$5$Type`,907),q(911,1,{},Ed),z(iq,`JsonImporter/lambda$6$Type`,911),q(909,1,{},Dd),z(iq,`JsonImporter/lambda$7$Type`,909),q(910,1,{},hse),z(iq,`JsonImporter/lambda$8$Type`,910),q(913,1,{},gse),z(iq,`JsonImporter/lambda$9$Type`,913),q(961,1,UB,_se),Q.Cd=function(e){EC(this.a,new gC(pb(e)))},z(iq,`JsonMetaDataConverter/lambda$0$Type`,961),q(962,1,UB,vse),Q.Cd=function(e){PEe(this.a,I(e,245))},z(iq,`JsonMetaDataConverter/lambda$1$Type`,962),q(963,1,UB,yse),Q.Cd=function(e){QAe(this.a,I(e,143))},z(iq,`JsonMetaDataConverter/lambda$2$Type`,963),q(964,1,UB,bse),Q.Cd=function(e){FEe(this.a,I(e,170))},z(iq,`JsonMetaDataConverter/lambda$3$Type`,964),q(245,22,{3:1,34:1,22:1,245:1},K_);var d7,f7,p7,m7,h7,g7,_7,v7,y7=vk(WH,`GraphFeature`,245,WJ,zze,rCe),fVt;q(11,1,{34:1,149:1},Ad,Eb,gv,Uv),Q.Fd=function(e){return xge(this,I(e,149))},Q.Fb=function(e){return yke(this,e)},Q.Sg=function(){return SP(this)},Q.Pg=function(){return this.b},Q.Hb=function(){return Aj(this.b)},Q.Ib=function(){return this.b},z(WH,`Property`,11),q(671,1,pH,Od),Q.Ne=function(e,t){return Oqe(this,I(e,96),I(t,96))},Q.Fb=function(e){return this===e},Q.Oe=function(){return new ru(this)},z(WH,`PropertyHolderComparator`,671),q(709,1,NB,kd),Q.Nb=function(e){LS(this,e)},Q.Pb=function(){return JLe(this)},Q.Qb=function(){$le()},Q.Ob=function(){return!!this.a},z(lq,`ElkGraphUtil/AncestorIterator`,709);var pVt=Mx(nq,`EList`);q(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),Q.bd=function(e,t){PM(this,e,t)},Q.Fc=function(e){return OD(this,e)},Q.cd=function(e,t){return lWe(this,e,t)},Q.Gc=function(e){return oC(this,e)},Q.Ii=function(){return new qy(this)},Q.Ji=function(){return new Jy(this)},Q.Ki=function(e){return Dk(this,e)},Q.Li=function(){return!0},Q.Mi=function(e,t){},Q.Ni=function(){},Q.Oi=function(e,t){wD(this,e,t)},Q.Pi=function(e,t,n){},Q.Qi=function(e,t){},Q.Ri=function(e,t,n){},Q.Fb=function(e){return Pnt(this,e)},Q.Hb=function(){return qUe(this)},Q.Si=function(){return!1},Q.Kc=function(){return new xy(this)},Q.ed=function(){return new Ky(this)},Q.fd=function(e){var t=this.gc();if(e<0||e>t)throw k(new Lb(e,t));return new XS(this,e)},Q.Ui=function(e,t){this.Ti(e,this.dd(t))},Q.Mc=function(e){return xO(this,e)},Q.Wi=function(e,t){return t},Q.hd=function(e,t){return BP(this,e,t)},Q.Ib=function(){return dJe(this)},Q.Yi=function(){return!0},Q.Zi=function(e,t){return kj(this,t)},z(nq,`AbstractEList`,70),q(66,70,mq,Lo,GO,jHe),Q.Ei=function(e,t){return dI(this,e,t)},Q.Fi=function(e){return XZe(this,e)},Q.Gi=function(e,t){wM(this,e,t)},Q.Hi=function(e){tD(this,e)},Q.$i=function(e){return QLe(this,e)},Q.$b=function(){nD(this)},Q.Hc=function(e){return UF(this,e)},Q.Xb=function(e){return U(this,e)},Q._i=function(e){var t,n,r;++this.j,n=this.g==null?0:this.g.length,e>n&&(r=this.g,t=n+(n/2|0)+4,t=0?(this.gd(t),!0):!1},Q.Xi=function(e,t){return this.Dj(e,this.Zi(e,t))},Q.gc=function(){return this.Ej()},Q.Pc=function(){return this.Fj()},Q.Qc=function(e){return this.Gj(e)},Q.Ib=function(){return this.Hj()},z(nq,`DelegatingEList`,2093),q(2094,2093,dbt),Q.Ei=function(e,t){return Eat(this,e,t)},Q.Fi=function(e){return this.Ei(this.Ej(),e)},Q.Gi=function(e,t){H5e(this,e,t)},Q.Hi=function(e){h5e(this,e)},Q.Li=function(){return!this.Mj()},Q.$b=function(){Fz(this)},Q.Ij=function(e,t,n,r,i){return new _ke(this,e,t,n,r,i)},Q.Jj=function(e){MA(this.jj(),e)},Q.Kj=function(){return null},Q.Lj=function(){return-1},Q.jj=function(){return null},Q.Mj=function(){return!1},Q.Nj=function(e,t){return t},Q.Oj=function(e,t){return t},Q.Pj=function(){return!1},Q.Qj=function(){return!this.Aj()},Q.Ti=function(e,t){var n,r;return this.Pj()?(r=this.Qj(),n=e4e(this,e,t),this.Jj(this.Ij(7,gM(t),n,e,r)),n):e4e(this,e,t)},Q.gd=function(e){var t,n,r,i;return this.Pj()?(n=null,r=this.Qj(),t=this.Ij(4,i=Nx(this,e),null,e,r),this.Mj()&&i&&(n=this.Oj(i,n)),n?(n.nj(t),n.oj()):this.Jj(t),i):(i=Nx(this,e),this.Mj()&&i&&(n=this.Oj(i,null),n&&n.oj()),i)},Q.Xi=function(e,t){return Dat(this,e,t)},z(NK,`DelegatingNotifyingListImpl`,2094),q(152,1,Tq),Q.nj=function(e){return T0e(this,e)},Q.oj=function(){nO(this)},Q.gj=function(){return this.d},Q.Kj=function(){return null},Q.Rj=function(){return null},Q.hj=function(e){return-1},Q.ij=function(){return Mtt(this)},Q.jj=function(){return null},Q.kj=function(){return Ntt(this)},Q.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Q.Sj=function(){return!1},Q.mj=function(e){var t,n,r,i,a,o,s,c,l,u,d;switch(this.d){case 1:case 2:switch(i=e.gj(),i){case 1:case 2:if(a=e.jj(),N(a)===N(this.jj())&&this.hj(null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0}case 4:switch(i=e.gj(),i){case 4:if(a=e.jj(),N(a)===N(this.jj())&&this.hj(null)==e.hj(null))return l=zct(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,o=e.lj(),this.d=6,d=new GO(2),c<=o?(OD(d,this.n),OD(d,e.kj()),this.g=W(j(q9,1),DV,28,15,[this.o=c,o+1])):(OD(d,e.kj()),OD(d,this.n),this.g=W(j(q9,1),DV,28,15,[this.o=o,c])),this.n=d,l||(this.o=-2-this.o-1),!0;break}break;case 6:switch(i=e.gj(),i){case 4:if(a=e.jj(),N(a)===N(this.jj())&&this.hj(null)==e.hj(null)){for(l=zct(this),o=e.lj(),u=I(this.g,53),r=H(q9,DV,28,u.length+1,15,1),t=0;t>>0,t.toString(16)));switch(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:eh(r,this.d);break}if(Grt(this)&&(r.a+=`, touch: true`),r.a+=`, position: `,eh(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=`, notifier: `,ov(r,this.jj()),r.a+=`, feature: `,ov(r,this.Kj()),r.a+=`, oldValue: `,ov(r,Ntt(this)),r.a+=`, newValue: `,this.d==6&&P(this.g,53)){for(n=I(this.g,53),r.a+=`[`,e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new Vx(this),this.a=this.j),Ch(this.b,e)):UF(this,e)},Q.Yi=function(){return!0},Q.a=0,z(nq,`AbstractEList/1`,966),q(302,77,IV,Lb),z(nq,`AbstractEList/BasicIndexOutOfBoundsException`,302),q(37,1,NB,xy),Q.Nb=function(e){LS(this,e)},Q.Xj=function(){if(this.i.j!=this.f)throw k(new Cf)},Q.Yj=function(){return CP(this)},Q.Ob=function(){return this.e!=this.i.gc()},Q.Pb=function(){return this.Yj()},Q.Qb=function(){YF(this)},Q.e=0,Q.f=0,Q.g=-1,z(nq,`AbstractEList/EIterator`,37),q(286,37,zB,Ky,XS),Q.Qb=function(){YF(this)},Q.Rb=function(e){eYe(this,e)},Q.Zj=function(){var e;try{return e=this.d.Xb(--this.e),this.Xj(),this.g=this.e,e}catch(e){throw e=ej(e),P(e,77)?(this.Xj(),k(new Tf)):k(e)}},Q.$j=function(e){iQe(this,e)},Q.Sb=function(){return this.e!=0},Q.Tb=function(){return this.e},Q.Ub=function(){return this.Zj()},Q.Vb=function(){return this.e-1},Q.Wb=function(e){this.$j(e)},z(nq,`AbstractEList/EListIterator`,286),q(355,37,NB,qy),Q.Yj=function(){return wP(this)},Q.Qb=function(){throw k(new Sf)},z(nq,`AbstractEList/NonResolvingEIterator`,355),q(398,286,zB,Jy,ube),Q.Rb=function(e){throw k(new Sf)},Q.Yj=function(){var e;try{return e=this.c.Vi(this.e),this.Xj(),this.g=this.e++,e}catch(e){throw e=ej(e),P(e,77)?(this.Xj(),k(new Tf)):k(e)}},Q.Zj=function(){var e;try{return e=this.c.Vi(--this.e),this.Xj(),this.g=this.e,e}catch(e){throw e=ej(e),P(e,77)?(this.Xj(),k(new Tf)):k(e)}},Q.Qb=function(){throw k(new Sf)},Q.Wb=function(e){throw k(new Sf)},z(nq,`AbstractEList/NonResolvingEListIterator`,398),q(2080,70,pbt),Q.Ei=function(e,t){var n,r,i=t.gc(),a,o,s,c,l,u,d,f;if(i!=0){for(l=I(FA(this.a,4),129),u=l==null?0:l.length,f=u+i,r=Vj(this,f),d=u-e,d>0&&$R(l,e,r,e+i,d),c=t.Kc(),o=0;on)throw k(new Lb(e,n));return new tOe(this,e)},Q.$b=function(){var e,t;++this.j,e=I(FA(this.a,4),129),t=e==null?0:e.length,dP(this,null),wD(this,t,e)},Q.Hc=function(e){var t=I(FA(this.a,4),129),n,r,i,a;if(t!=null){if(e!=null){for(r=t,i=0,a=r.length;i=n)throw k(new Lb(e,n));return t[e]},Q.dd=function(e){var t=I(FA(this.a,4),129),n,r;if(t!=null){if(e!=null){for(n=0,r=t.length;nn)throw k(new Lb(e,n));return new eOe(this,e)},Q.Ti=function(e,t){var n=EYe(this),r,i=n==null?0:n.length;if(e>=i)throw k(new em(dq+e+fq+i));if(t>=i)throw k(new em(pq+t+fq+i));return r=n[t],e!=t&&(e0&&$R(e,0,t,0,n),t},Q.Qc=function(e){var t=I(FA(this.a,4),129),n,r=t==null?0:t.length;return r>0&&(e.lengthr&&CC(e,r,null),e};var _Vt;z(nq,`ArrayDelegatingEList`,2080),q(1051,37,NB,FFe),Q.Xj=function(){if(this.b.j!=this.f||N(I(FA(this.b.a,4),129))!==N(this.a))throw k(new Cf)},Q.Qb=function(){YF(this),this.a=I(FA(this.b.a,4),129)},z(nq,`ArrayDelegatingEList/EIterator`,1051),q(722,286,zB,QTe,eOe),Q.Xj=function(){if(this.b.j!=this.f||N(I(FA(this.b.a,4),129))!==N(this.a))throw k(new Cf)},Q.$j=function(e){iQe(this,e),this.a=I(FA(this.b.a,4),129)},Q.Qb=function(){YF(this),this.a=I(FA(this.b.a,4),129)},z(nq,`ArrayDelegatingEList/EListIterator`,722),q(1052,355,NB,IFe),Q.Xj=function(){if(this.b.j!=this.f||N(I(FA(this.b.a,4),129))!==N(this.a))throw k(new Cf)},z(nq,`ArrayDelegatingEList/NonResolvingEIterator`,1052),q(723,398,zB,$Te,tOe),Q.Xj=function(){if(this.b.j!=this.f||N(I(FA(this.b.a,4),129))!==N(this.a))throw k(new Cf)},z(nq,`ArrayDelegatingEList/NonResolvingEListIterator`,723),q(615,302,IV,hv),z(nq,`BasicEList/BasicIndexOutOfBoundsException`,615),q(710,66,mq,nme),Q.bd=function(e,t){throw k(new Sf)},Q.Fc=function(e){throw k(new Sf)},Q.cd=function(e,t){throw k(new Sf)},Q.Gc=function(e){throw k(new Sf)},Q.$b=function(){throw k(new Sf)},Q._i=function(e){throw k(new Sf)},Q.Kc=function(){return this.Ii()},Q.ed=function(){return this.Ji()},Q.fd=function(e){return this.Ki(e)},Q.Ti=function(e,t){throw k(new Sf)},Q.Ui=function(e,t){throw k(new Sf)},Q.gd=function(e){throw k(new Sf)},Q.Mc=function(e){throw k(new Sf)},Q.hd=function(e,t){throw k(new Sf)},z(nq,`BasicEList/UnmodifiableEList`,710),q(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),Q.bd=function(e,t){cge(this,e,I(t,44))},Q.Fc=function(e){return ove(this,I(e,44))},Q.Jc=function(e){WE(this,e)},Q.Xb=function(e){return I(U(this.c,e),136)},Q.Ti=function(e,t){return I(this.c.Ti(e,t),44)},Q.Ui=function(e,t){lge(this,e,I(t,44))},Q.Lc=function(){return new Hx(null,new UT(this,16))},Q.gd=function(e){return I(this.c.gd(e),44)},Q.hd=function(e,t){return NEe(this,e,I(t,44))},Q.jd=function(e){Xk(this,e)},Q.Nc=function(){return new UT(this,16)},Q.Oc=function(){return new Hx(null,new UT(this,16))},Q.cd=function(e,t){return this.c.cd(e,t)},Q.Gc=function(e){return this.c.Gc(e)},Q.$b=function(){this.c.$b()},Q.Hc=function(e){return this.c.Hc(e)},Q.Ic=function(e){return $A(this.c,e)},Q._j=function(){var e,t,n;if(this.d==null){for(this.d=H(mVt,mbt,66,2*this.f+1,0,1),n=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)e=I(t.Yj(),136),ZP(this,e);this.e=n}},Q.Fb=function(e){return vbe(this,e)},Q.Hb=function(){return qUe(this.c)},Q.dd=function(e){return this.c.dd(e)},Q.ak=function(){this.c=new jd(this)},Q.dc=function(){return this.f==0},Q.Kc=function(){return this.c.Kc()},Q.ed=function(){return this.c.ed()},Q.fd=function(e){return this.c.fd(e)},Q.bk=function(){return SD(this)},Q.ck=function(e,t,n){return new KSe(e,t,n)},Q.dk=function(){return new nre},Q.Mc=function(e){return GBe(this,e)},Q.gc=function(){return this.f},Q.kd=function(e,t){return new PT(this.c,e,t)},Q.Pc=function(){return this.c.Pc()},Q.Qc=function(e){return this.c.Qc(e)},Q.Ib=function(){return dJe(this.c)},Q.e=0,Q.f=0,z(nq,`BasicEMap`,721),q(1046,66,mq,jd),Q.Mi=function(e,t){Vse(this,I(t,136))},Q.Pi=function(e,t,n){var r;++(r=this,I(t,136),r).a.e},Q.Qi=function(e,t){Mf(this,I(t,136))},Q.Ri=function(e,t,n){A_e(this,I(t,136),I(n,136))},Q.Oi=function(e,t){iUe(this.a)},z(nq,`BasicEMap/1`,1046),q(1047,66,mq,nre),Q.aj=function(e){return H(vVt,hbt,621,e,0,1)},z(nq,`BasicEMap/2`,1047),q(1048,LB,RB,Md),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){return jN(this.a,e)},Q.Kc=function(){return this.a.f==0?(_b(),T7.a):new Ple(this.a)},Q.Mc=function(e){var t=this.a.f;return QN(this.a,e),this.a.f!=t},Q.gc=function(){return this.a.f},z(nq,`BasicEMap/3`,1048),q(1049,31,IB,Nd),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){return Fnt(this.a,e)},Q.Kc=function(){return this.a.f==0?(_b(),T7.a):new Fle(this.a)},Q.gc=function(){return this.a.f},z(nq,`BasicEMap/4`,1049),q(1050,LB,RB,xse),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){var t,n,r,i,a,o,s,c,l;if(this.a.f>0&&P(e,44)&&(this.a._j(),c=I(e,44),s=c.ld(),i=s==null?0:$k(s),a=Yve(this.a,i),t=this.a.d[a],t)){for(n=I(t.g,379),l=t.i,o=0;o`+this.c},Q.a=0;var vVt=z(nq,`BasicEMap/EntryImpl`,621);q(546,1,{},zo),z(nq,`BasicEMap/View`,546);var T7;q(783,1,{}),Q.Fb=function(e){return s7e((Ew(),xY),e)},Q.Hb=function(){return IWe((Ew(),xY))},Q.Ib=function(){return CI((Ew(),xY))},z(nq,`ECollections/BasicEmptyUnmodifiableEList`,783),q(1348,1,zB,rre),Q.Nb=function(e){LS(this,e)},Q.Rb=function(e){throw k(new Sf)},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Pb=function(){throw k(new Tf)},Q.Tb=function(){return 0},Q.Ub=function(){throw k(new Tf)},Q.Vb=function(){return-1},Q.Qb=function(){throw k(new Sf)},Q.Wb=function(e){throw k(new Sf)},z(nq,`ECollections/BasicEmptyUnmodifiableEList/1`,1348),q(1346,783,{20:1,16:1,15:1,61:1},Qse),Q.bd=function(e,t){hue()},Q.Fc=function(e){return gue()},Q.cd=function(e,t){return _ue()},Q.Gc=function(e){return vue()},Q.$b=function(){yue()},Q.Hc=function(e){return!1},Q.Ic=function(e){return!1},Q.Jc=function(e){WE(this,e)},Q.Xb=function(e){return fme((Ew(),e)),null},Q.dd=function(e){return-1},Q.dc=function(){return!0},Q.Kc=function(){return this.a},Q.ed=function(){return this.a},Q.fd=function(e){return this.a},Q.Ti=function(e,t){return bue()},Q.Ui=function(e,t){xue()},Q.Lc=function(){return new Hx(null,new UT(this,16))},Q.gd=function(e){return Sue()},Q.Mc=function(e){return Cue()},Q.hd=function(e,t){return wue()},Q.gc=function(){return 0},Q.jd=function(e){Xk(this,e)},Q.Nc=function(){return new UT(this,16)},Q.Oc=function(){return new Hx(null,new UT(this,16))},Q.kd=function(e,t){return Ew(),new PT(xY,e,t)},Q.Pc=function(){return TTe((Ew(),xY))},Q.Qc=function(e){return Ew(),cF(xY,e)},z(nq,`ECollections/EmptyUnmodifiableEList`,1346),q(1347,783,{20:1,16:1,15:1,61:1,597:1},hp),Q.bd=function(e,t){hue()},Q.Fc=function(e){return gue()},Q.cd=function(e,t){return _ue()},Q.Gc=function(e){return vue()},Q.$b=function(){yue()},Q.Hc=function(e){return!1},Q.Ic=function(e){return!1},Q.Jc=function(e){WE(this,e)},Q.Xb=function(e){return fme((Ew(),e)),null},Q.dd=function(e){return-1},Q.dc=function(){return!0},Q.Kc=function(){return this.a},Q.ed=function(){return this.a},Q.fd=function(e){return this.a},Q.Ti=function(e,t){return bue()},Q.Ui=function(e,t){xue()},Q.Lc=function(){return new Hx(null,new UT(this,16))},Q.gd=function(e){return Sue()},Q.Mc=function(e){return Cue()},Q.hd=function(e,t){return wue()},Q.gc=function(){return 0},Q.jd=function(e){Xk(this,e)},Q.Nc=function(){return new UT(this,16)},Q.Oc=function(){return new Hx(null,new UT(this,16))},Q.kd=function(e,t){return Ew(),new PT(xY,e,t)},Q.Pc=function(){return TTe((Ew(),xY))},Q.Qc=function(e){return Ew(),cF(xY,e)},Q.bk=function(){return Ew(),Ew(),SY},z(nq,`ECollections/EmptyUnmodifiableEMap`,1347);var yVt=Mx(nq,`Enumerator`),E7;q(288,1,{288:1},_R),Q.Fb=function(e){var t;return this===e?!0:P(e,288)?(t=I(e,288),this.f==t.f&&Gwe(this.i,t.i)&&Gx(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&Gx(this.d,t.d)&&Gx(this.g,t.g)&&Gx(this.e,t.e)&&IXe(this,t)):!1},Q.Hb=function(){return this.f},Q.Ib=function(){return Yit(this)},Q.f=0;var bVt=0,xVt=0,SVt=0,CVt=0,wVt=0,TVt=0,EVt=0,DVt=0,OVt=0,kVt,D7=0,O7=0,AVt=0,jVt=0,k7,MVt;z(nq,`URI`,288),q(1121,45,$V,$se),Q.zc=function(e,t){return I(CT(this,pb(e),I(t,288)),288)},z(nq,`URI/URICache`,1121),q(506,66,mq,Po,Qx),Q.Si=function(){return!0},z(nq,`UniqueEList`,506),q(590,63,dV,tO),z(nq,`WrappedException`,590);var A7=Mx(jK,vbt),j7=Mx(jK,ybt),M7=Mx(jK,bbt),N7=Mx(jK,xbt),P7=Mx(jK,Sbt),F7=Mx(jK,`EClass`),I7=Mx(jK,`EDataType`),NVt;q(1233,45,$V,gp),Q.xc=function(e){return Z_(e)?$w(this,e):X_(tS(this.f,e))},z(jK,`EDataType/Internal/ConversionDelegate/Factory/Registry/Impl`,1233);var L7=Mx(jK,`EEnum`),R7=Mx(jK,Cbt),z7=Mx(jK,wbt),B7=Mx(jK,Tbt),V7,H7=Mx(jK,Ebt),U7=Mx(jK,Dbt);q(1042,1,{},No),Q.Ib=function(){return`NIL`},z(jK,`EStructuralFeature/Internal/DynamicValueHolder/1`,1042);var PVt;q(1041,45,$V,ece),Q.xc=function(e){return Z_(e)?$w(this,e):X_(tS(this.f,e))},z(jK,`EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl`,1041);var W7=Mx(jK,Obt),G7=Mx(jK,`EValidator/PatternMatcher`),FVt,IVt,K7,q7,J7,Y7,LVt,RVt,zVt,X7,Z7,Q7,$7,e9,BVt,VVt,t9,n9,HVt,r9,i9,a9,o9,UVt,WVt,s9,c9=Mx(Dq,`FeatureMap/Entry`);q(545,1,{76:1},q_),Q.Lk=function(){return this.a},Q.md=function(){return this.b},z(RK,`BasicEObjectImpl/1`,545),q(1040,1,kbt,Xpe),Q.Fk=function(e){return $Fe(this.a,this.b,e)},Q.Qj=function(){return xAe(this.a,this.b)},Q.Wb=function(e){bAe(this.a,this.b,e)},Q.Gk=function(){SDe(this.a,this.b)},z(RK,`BasicEObjectImpl/4`,1040),q(2081,1,{114:1}),Q.Mk=function(e){this.e=e==0?GVt:H(PJ,DB,1,e,5,1)},Q.li=function(e){return this.e[e]},Q.mi=function(e,t){this.e[e]=t},Q.ni=function(e){this.e[e]=null},Q.Nk=function(){return this.c},Q.Ok=function(){throw k(new Sf)},Q.Pk=function(){throw k(new Sf)},Q.Qk=function(){return this.d},Q.Rk=function(){return this.e!=null},Q.Sk=function(e){this.c=e},Q.Tk=function(e){throw k(new Sf)},Q.Uk=function(e){throw k(new Sf)},Q.Vk=function(e){this.d=e};var GVt;z(RK,`BasicEObjectImpl/EPropertiesHolderBaseImpl`,2081),q(192,2081,{114:1},Ic),Q.Ok=function(){return this.a},Q.Pk=function(){return this.b},Q.Tk=function(e){this.a=e},Q.Uk=function(e){this.b=e},z(RK,`BasicEObjectImpl/EPropertiesHolderImpl`,192),q(516,99,uyt,Bo),Q.uh=function(){return this.f},Q.zh=function(){return this.k},Q.Bh=function(e,t){this.g=e,this.i=t},Q.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},Q.Fh=function(){return this.i},Q.wh=function(){return(this.j&1)!=0},Q.Ph=function(){return this.g},Q.Vh=function(){return(this.j&4)!=0},Q.$h=function(){return!this.k&&(this.k=new Ic),this.k},Q.ci=function(e){this.$h().Sk(e),e?this.j|=2:this.j&=-3},Q.ei=function(e){this.$h().Uk(e),e?this.j|=4:this.j&=-5},Q.ii=function(){return(yC(),K7).S},Q.i=0,Q.j=1,z(RK,`EObjectImpl`,516),q(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},FCe),Q.li=function(e){return this.e[e]},Q.mi=function(e,t){this.e[e]=t},Q.ni=function(e){this.e[e]=null},Q.Dh=function(){return this.d},Q.Ih=function(e){return EN(this.d,e)},Q.Kh=function(){return this.d},Q.Oh=function(){return this.e!=null},Q.$h=function(){return!this.k&&(this.k=new Vo),this.k},Q.ci=function(e){this.d=e},Q.hi=function(){var e;return this.e??=(e=xC(this.d),e==0?KVt:H(PJ,DB,1,e,5,1)),this},Q.ji=function(){return 0};var KVt;z(RK,`DynamicEObjectImpl`,798),q(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},uwe),Q.Fb=function(e){return this===e},Q.Hb=function(){return zy(this)},Q.ci=function(e){this.d=e,this.b=XL(e,`key`),this.c=XL(e,qK)},Q.Bi=function(){var e;return this.a==-1&&(e=pO(this,this.b),this.a=e==null?0:$k(e)),this.a},Q.ld=function(){return pO(this,this.b)},Q.md=function(){return pO(this,this.c)},Q.Ci=function(e){this.a=e},Q.Di=function(e){bAe(this,this.b,e)},Q.nd=function(e){var t=pO(this,this.c);return bAe(this,this.c,e),t},Q.a=0,z(RK,`DynamicEObjectImpl/BasicEMapEntry`,1522),q(1523,1,{114:1},Vo),Q.Mk=function(e){throw k(new Sf)},Q.li=function(e){throw k(new Sf)},Q.mi=function(e,t){throw k(new Sf)},Q.ni=function(e){throw k(new Sf)},Q.Nk=function(){throw k(new Sf)},Q.Ok=function(){return this.a},Q.Pk=function(){return this.b},Q.Qk=function(){return this.c},Q.Rk=function(){throw k(new Sf)},Q.Sk=function(e){throw k(new Sf)},Q.Tk=function(e){this.a=e},Q.Uk=function(e){this.b=e},Q.Vk=function(e){this.c=e},z(RK,`DynamicEObjectImpl/DynamicEPropertiesHolderImpl`,1523),q(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},Ho),Q.Ah=function(e){return T$e(this,e)},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new lb((hB(),o9),d9,this)),this.b):(!this.b&&(this.b=new lb((hB(),o9),d9,this)),SD(this.b));case 3:return MAe(this);case 4:return!this.a&&(this.a=new hy(G5,this,4)),this.a;case 5:return!this.c&&(this.c=new vy(G5,this,5)),this.c}return WD(this,e-xC((hB(),q7)),PO((r=I(FA(this,16),29),r||q7),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 3:return this.Cb&&(n=(i=this.Db>>16,i>=0?T$e(this,n):this.Cb.Th(this,-1-i,null,n))),xTe(this,I(e,155),n)}return a=I(PO((r=I(FA(this,16),29),r||(hB(),q7)),t),69),a.wk().zk(this,eP(this),t-xC((hB(),q7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 2:return!this.b&&(this.b=new lb((hB(),o9),d9,this)),Vb(this.b,e,n);case 3:return xTe(this,null,n);case 4:return!this.a&&(this.a=new hy(G5,this,4)),IP(this.a,e,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),q7)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),q7)),e,n)},Q.Wh=function(e){var t;switch(e){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!!MAe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return wE(this,e-xC((hB(),q7)),PO((t=I(FA(this,16),29),t||q7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:gwe(this,pb(t));return;case 2:!this.b&&(this.b=new lb((hB(),o9),d9,this)),SA(this.b,t);return;case 3:jet(this,I(t,155));return;case 4:!this.a&&(this.a=new hy(G5,this,4)),Pz(this.a),!this.a&&(this.a=new hy(G5,this,4)),oC(this.a,I(t,16));return;case 5:!this.c&&(this.c=new vy(G5,this,5)),Pz(this.c),!this.c&&(this.c=new vy(G5,this,5)),oC(this.c,I(t,16));return}gN(this,e-xC((hB(),q7)),PO((n=I(FA(this,16),29),n||q7),e),t)},Q.ii=function(){return hB(),q7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:xVe(this,null);return;case 2:!this.b&&(this.b=new lb((hB(),o9),d9,this)),this.b.c.$b();return;case 3:jet(this,null);return;case 4:!this.a&&(this.a=new hy(G5,this,4)),Pz(this.a);return;case 5:!this.c&&(this.c=new vy(G5,this,5)),Pz(this.c);return}DM(this,e-xC((hB(),q7)),PO((t=I(FA(this,16),29),t||q7),e))},Q.Ib=function(){return WKe(this)},Q.d=null,z(RK,`EAnnotationImpl`,519),q(141,721,Abt,ND),Q.Gi=function(e,t){bhe(this,e,I(t,44))},Q.Wk=function(e,t){return ybe(this,I(e,44),t)},Q.$i=function(e){return I(I(this.c,71).$i(e),136)},Q.Ii=function(){return I(this.c,71).Ii()},Q.Ji=function(){return I(this.c,71).Ji()},Q.Ki=function(e){return I(this.c,71).Ki(e)},Q.Xk=function(e,t){return Vb(this,e,t)},Q.Fk=function(e){return I(this.c,79).Fk(e)},Q.ak=function(){},Q.Qj=function(){return I(this.c,79).Qj()},Q.ck=function(e,t,n){var r=I(KO(this.b).wi().si(this.b),136);return r.Ci(e),r.Di(t),r.nd(n),r},Q.dk=function(){return new Hd(this)},Q.Wb=function(e){SA(this,e)},Q.Gk=function(){I(this.c,79).Gk()},z(Dq,`EcoreEMap`,141),q(165,141,Abt,lb),Q._j=function(){var e,t,n,r,i,a;if(this.d==null){for(a=H(mVt,mbt,66,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)t=I(n.Yj(),136),r=t.Bi(),i=(r&SB)%a.length,e=a[i],!e&&(e=a[i]=new Hd(this)),e.Fc(t);this.d=a}},z(RK,`EAnnotationImpl/1`,165),q(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}),Q.Lh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Vy(),!!(this.Bb&256);case 3:return Vy(),!!(this.Bb&512);case 4:return gM(this.s);case 5:return gM(this.t);case 6:return Vy(),!!this.Jk();case 7:return Vy(),i=this.s,i>=1;case 8:return t?IF(this):this.r;case 9:return this.q}return WD(this,e-xC(this.ii()),PO((r=I(FA(this,16),29),r||this.ii()),e),t,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 9:return sC(this,n)}return i=I(PO((r=I(FA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,eP(this),t-xC(this.ii()),e,n)},Q.Wh=function(e){var t,n;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&OC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&OC(this.q).i==0)}return wE(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:this.ui(pb(t));return;case 2:OM(this,Zp(fb(t)));return;case 3:AM(this,Zp(fb(t)));return;case 4:uk(this,I(t,17).a);return;case 5:this.Zk(I(t,17).a);return;case 8:iM(this,I(t,142));return;case 9:r=fI(this,I(t,89),null),r&&r.oj();return}gN(this,e-xC(this.ii()),PO((n=I(FA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return hB(),WVt},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:this.ui(null);return;case 2:OM(this,!0);return;case 3:AM(this,!0);return;case 4:uk(this,0);return;case 5:this.Zk(1);return;case 8:iM(this,null);return;case 9:n=fI(this,null,null),n&&n.oj();return}DM(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.pi=function(){IF(this),this.Bb|=1},Q.Hk=function(){return IF(this)},Q.Ik=function(){return this.t},Q.Jk=function(){var e;return e=this.t,e>1||e==-1},Q.Si=function(){return(this.Bb&512)!=0},Q.Yk=function(e,t){return IKe(this,e,t)},Q.Zk=function(e){dk(this,e)},Q.Ib=function(){return b5e(this)},Q.s=0,Q.t=1,z(RK,`ETypedElementImpl`,292),q(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}),Q.Ah=function(e){return XQe(this,e)},Q.Lh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Vy(),!!(this.Bb&256);case 3:return Vy(),!!(this.Bb&512);case 4:return gM(this.s);case 5:return gM(this.t);case 6:return Vy(),!!this.Jk();case 7:return Vy(),i=this.s,i>=1;case 8:return t?IF(this):this.r;case 9:return this.q;case 10:return Vy(),(this.Bb&nV)!=0;case 11:return Vy(),(this.Bb&kq)!=0;case 12:return Vy(),(this.Bb&BV)!=0;case 13:return this.j;case 14:return UL(this);case 15:return Vy(),(this.Bb&Oq)!=0;case 16:return Vy(),(this.Bb&VB)!=0;case 17:return vT(this)}return WD(this,e-xC(this.ii()),PO((r=I(FA(this,16),29),r||this.ii()),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 17:return this.Cb&&(n=(i=this.Db>>16,i>=0?XQe(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,17,n)}return a=I(PO((r=I(FA(this,16),29),r||this.ii()),t),69),a.wk().zk(this,eP(this),t-xC(this.ii()),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 9:return sC(this,n);case 17:return GR(this,null,17,n)}return i=I(PO((r=I(FA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,eP(this),t-xC(this.ii()),e,n)},Q.Wh=function(e){var t,n;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&OC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&OC(this.q).i==0);case 10:return(this.Bb&nV)==0;case 11:return(this.Bb&kq)!=0;case 12:return(this.Bb&BV)!=0;case 13:return this.j!=null;case 14:return UL(this)!=null;case 15:return(this.Bb&Oq)!=0;case 16:return(this.Bb&VB)!=0;case 17:return!!vT(this)}return wE(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:jT(this,pb(t));return;case 2:OM(this,Zp(fb(t)));return;case 3:AM(this,Zp(fb(t)));return;case 4:uk(this,I(t,17).a);return;case 5:this.Zk(I(t,17).a);return;case 8:iM(this,I(t,142));return;case 9:r=fI(this,I(t,89),null),r&&r.oj();return;case 10:VM(this,Zp(fb(t)));return;case 11:WM(this,Zp(fb(t)));return;case 12:HM(this,Zp(fb(t)));return;case 13:Gpe(this,pb(t));return;case 15:UM(this,Zp(fb(t)));return;case 16:$M(this,Zp(fb(t)));return}gN(this,e-xC(this.ii()),PO((n=I(FA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return hB(),UVt},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:P(this.Cb,90)&&$I(ZE(I(this.Cb,90)),4),eA(this,null);return;case 2:OM(this,!0);return;case 3:AM(this,!0);return;case 4:uk(this,0);return;case 5:this.Zk(1);return;case 8:iM(this,null);return;case 9:n=fI(this,null,null),n&&n.oj();return;case 10:VM(this,!0);return;case 11:WM(this,!1);return;case 12:HM(this,!1);return;case 13:this.i=null,Bk(this,null);return;case 15:UM(this,!1);return;case 16:$M(this,!1);return}DM(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.pi=function(){ew(oO((UI(),p9),this)),IF(this),this.Bb|=1},Q.pk=function(){return this.f},Q.ik=function(){return UL(this)},Q.qk=function(){return vT(this)},Q.uk=function(){return null},Q.$k=function(){return this.k},Q.Lj=function(){return this.n},Q.vk=function(){return $F(this)},Q.wk=function(){var e,t,n,r,i,a,o,s,c;return this.p||(n=vT(this),(n.i??rz(n),n.i).length,r=this.uk(),r&&xC(vT(r)),i=IF(this),o=i.kk(),e=o?o.i&1?o==J9?nY:o==q9?sY:o==Q9?oY:o==Z9?aY:o==Y9?cY:o==$9?uY:o==X9?rY:iY:o:null,t=UL(this),s=i.ik(),Gqe(this),(this.Bb&VB)!=0&&((a=C1e((UI(),p9),n))&&a!=this||(a=YT(oO(p9,this))))?this.p=new Qpe(this,a):this.Jk()?this.al()?r?(this.Bb&Oq)==0?e?this.bl()?this.p=new gw(49,e,this,r):this.p=new gw(7,e,this,r):this.bl()?this.p=new LE(48,this,r):this.p=new LE(6,this,r):e?this.bl()?this.p=new gw(47,e,this,r):this.p=new gw(5,e,this,r):this.bl()?this.p=new LE(46,this,r):this.p=new LE(4,this,r):(this.Bb&Oq)==0?e?e==zJ?this.p=new sx(41,dVt,this):this.bl()?this.p=new sx(45,e,this):this.p=new sx(3,e,this):this.bl()?this.p=new Bw(44,this):this.p=new Bw(2,this):e?e==zJ?this.p=new sx(50,dVt,this):this.bl()?this.p=new sx(43,e,this):this.p=new sx(1,e,this):this.bl()?this.p=new Bw(42,this):this.p=new Bw(0,this):P(i,156)?e==c9?this.p=new Bw(40,this):this.Bb&512?(this.Bb&Oq)==0?e?this.p=new sx(11,e,this):this.p=new Bw(10,this):e?this.p=new sx(9,e,this):this.p=new Bw(8,this):(this.Bb&Oq)==0?e?this.p=new sx(15,e,this):this.p=new Bw(14,this):e?this.p=new sx(13,e,this):this.p=new Bw(12,this):r?(c=r.t,c>1||c==-1?this.bl()?(this.Bb&Oq)==0?e?this.p=new gw(27,e,this,r):this.p=new LE(26,this,r):e?this.p=new gw(25,e,this,r):this.p=new LE(24,this,r):(this.Bb&Oq)==0?e?this.p=new gw(31,e,this,r):this.p=new LE(30,this,r):e?this.p=new gw(29,e,this,r):this.p=new LE(28,this,r):this.bl()?(this.Bb&Oq)==0?e?this.p=new gw(35,e,this,r):this.p=new LE(34,this,r):e?this.p=new gw(33,e,this,r):this.p=new LE(32,this,r):(this.Bb&Oq)==0?e?this.p=new gw(39,e,this,r):this.p=new LE(38,this,r):e?this.p=new gw(37,e,this,r):this.p=new LE(36,this,r)):this.bl()?(this.Bb&Oq)==0?e?this.p=new sx(19,e,this):this.p=new Bw(18,this):e?this.p=new sx(17,e,this):this.p=new Bw(16,this):(this.Bb&Oq)==0?e?this.p=new sx(23,e,this):this.p=new Bw(22,this):e?this.p=new sx(21,e,this):this.p=new Bw(20,this):this._k()?this.bl()?this.p=new qSe(I(i,29),this,r):this.p=new $ke(I(i,29),this,r):P(i,156)?e==c9?this.p=new Bw(40,this):(this.Bb&Oq)==0?e?this.p=new vTe(t,s,this,(NN(),o==q9?iHt:o==J9?$Vt:o==Y9?aHt:o==Q9?rHt:o==Z9?nHt:o==$9?sHt:o==X9?eHt:o==K9?tHt:oHt)):this.p=new EOe(I(i,156),t,s,this):e?this.p=new yTe(t,s,this,(NN(),o==q9?iHt:o==J9?$Vt:o==Y9?aHt:o==Q9?rHt:o==Z9?nHt:o==$9?sHt:o==X9?eHt:o==K9?tHt:oHt)):this.p=new DOe(I(i,156),t,s,this):this.al()?r?(this.Bb&Oq)==0?this.bl()?this.p=new XSe(I(i,29),this,r):this.p=new cx(I(i,29),this,r):this.bl()?this.p=new QSe(I(i,29),this,r):this.p=new ZSe(I(i,29),this,r):(this.Bb&Oq)==0?this.bl()?this.p=new lve(I(i,29),this):this.p=new ub(I(i,29),this):this.bl()?this.p=new fve(I(i,29),this):this.p=new uve(I(i,29),this):this.bl()?r?(this.Bb&Oq)==0?this.p=new JSe(I(i,29),this,r):this.p=new $Se(I(i,29),this,r):(this.Bb&Oq)==0?this.p=new dve(I(i,29),this):this.p=new pve(I(i,29),this):r?(this.Bb&Oq)==0?this.p=new YSe(I(i,29),this,r):this.p=new eCe(I(i,29),this,r):(this.Bb&Oq)==0?this.p=new Xx(I(i,29),this):this.p=new mve(I(i,29),this)),this.p},Q.rk=function(){return(this.Bb&nV)!=0},Q._k=function(){return!1},Q.al=function(){return!1},Q.sk=function(){return(this.Bb&VB)!=0},Q.xk=function(){return yO(this)},Q.bl=function(){return!1},Q.tk=function(){return(this.Bb&Oq)!=0},Q.cl=function(e){this.k=e},Q.ui=function(e){jT(this,e)},Q.Ib=function(){return bR(this)},Q.e=!1,Q.n=0,z(RK,`EStructuralFeatureImpl`,462),q(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},_p),Q.Lh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Vy(),!!(this.Bb&256);case 3:return Vy(),!!(this.Bb&512);case 4:return gM(this.s);case 5:return gM(this.t);case 6:return Vy(),!!T8e(this);case 7:return Vy(),i=this.s,i>=1;case 8:return t?IF(this):this.r;case 9:return this.q;case 10:return Vy(),(this.Bb&nV)!=0;case 11:return Vy(),(this.Bb&kq)!=0;case 12:return Vy(),(this.Bb&BV)!=0;case 13:return this.j;case 14:return UL(this);case 15:return Vy(),(this.Bb&Oq)!=0;case 16:return Vy(),(this.Bb&VB)!=0;case 17:return vT(this);case 18:return Vy(),(this.Bb&LK)!=0;case 19:return t?AUe(this):EIe(this)}return WD(this,e-xC((hB(),J7)),PO((r=I(FA(this,16),29),r||J7),e),t,n)},Q.Wh=function(e){var t,n;switch(e){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 T8e(this);case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&OC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&OC(this.q).i==0);case 10:return(this.Bb&nV)==0;case 11:return(this.Bb&kq)!=0;case 12:return(this.Bb&BV)!=0;case 13:return this.j!=null;case 14:return UL(this)!=null;case 15:return(this.Bb&Oq)!=0;case 16:return(this.Bb&VB)!=0;case 17:return!!vT(this);case 18:return(this.Bb&LK)!=0;case 19:return!!EIe(this)}return wE(this,e-xC((hB(),J7)),PO((t=I(FA(this,16),29),t||J7),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:jT(this,pb(t));return;case 2:OM(this,Zp(fb(t)));return;case 3:AM(this,Zp(fb(t)));return;case 4:uk(this,I(t,17).a);return;case 5:Rle(this,I(t,17).a);return;case 8:iM(this,I(t,142));return;case 9:r=fI(this,I(t,89),null),r&&r.oj();return;case 10:VM(this,Zp(fb(t)));return;case 11:WM(this,Zp(fb(t)));return;case 12:HM(this,Zp(fb(t)));return;case 13:Gpe(this,pb(t));return;case 15:UM(this,Zp(fb(t)));return;case 16:$M(this,Zp(fb(t)));return;case 18:QM(this,Zp(fb(t)));return}gN(this,e-xC((hB(),J7)),PO((n=I(FA(this,16),29),n||J7),e),t)},Q.ii=function(){return hB(),J7},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:P(this.Cb,90)&&$I(ZE(I(this.Cb,90)),4),eA(this,null);return;case 2:OM(this,!0);return;case 3:AM(this,!0);return;case 4:uk(this,0);return;case 5:this.b=0,dk(this,1);return;case 8:iM(this,null);return;case 9:n=fI(this,null,null),n&&n.oj();return;case 10:VM(this,!0);return;case 11:WM(this,!1);return;case 12:HM(this,!1);return;case 13:this.i=null,Bk(this,null);return;case 15:UM(this,!1);return;case 16:$M(this,!1);return;case 18:QM(this,!1);return}DM(this,e-xC((hB(),J7)),PO((t=I(FA(this,16),29),t||J7),e))},Q.pi=function(){AUe(this),ew(oO((UI(),p9),this)),IF(this),this.Bb|=1},Q.Jk=function(){return T8e(this)},Q.Yk=function(e,t){return this.b=0,this.a=null,IKe(this,e,t)},Q.Zk=function(e){Rle(this,e)},Q.Ib=function(){var e;return this.Db&64?bR(this):(e=new Oy(bR(this)),e.a+=` (iD: `,th(e,(this.Bb&LK)!=0),e.a+=`)`,e.a)},Q.b=0,z(RK,`EAttributeImpl`,331),q(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}),Q.dl=function(e){return e.Dh()==this},Q.Ah=function(e){return bF(this,e)},Q.Bh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return _F(this);case 4:return this.ik();case 5:return this.F;case 6:return t?KO(this):gT(this);case 7:return!this.A&&(this.A=new _y(W7,this,7)),this.A}return WD(this,e-xC(this.ii()),PO((r=I(FA(this,16),29),r||this.ii()),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?bF(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,6,n)}return a=I(PO((r=I(FA(this,16),29),r||this.ii()),t),69),a.wk().zk(this,eP(this),t-xC(this.ii()),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 6:return GR(this,null,6,n);case 7:return!this.A&&(this.A=new _y(W7,this,7)),IP(this.A,e,n)}return i=I(PO((r=I(FA(this,16),29),r||this.ii()),t),69),i.wk().Ak(this,eP(this),t-xC(this.ii()),e,n)},Q.Wh=function(e){var t;switch(e){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!!_F(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!gT(this);case 7:return!!this.A&&this.A.i!=0}return wE(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:AT(this,pb(t));return;case 2:Pv(this,pb(t));return;case 5:Uz(this,pb(t));return;case 7:!this.A&&(this.A=new _y(W7,this,7)),Pz(this.A),!this.A&&(this.A=new _y(W7,this,7)),oC(this.A,I(t,16));return}gN(this,e-xC(this.ii()),PO((n=I(FA(this,16),29),n||this.ii()),e),t)},Q.ii=function(){return hB(),LVt},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:P(this.Cb,184)&&(I(this.Cb,184).tb=null),eA(this,null);return;case 2:Wj(this,null),pk(this,this.D);return;case 5:Uz(this,null);return;case 7:!this.A&&(this.A=new _y(W7,this,7)),Pz(this.A);return}DM(this,e-xC(this.ii()),PO((t=I(FA(this,16),29),t||this.ii()),e))},Q.hk=function(){var e;return this.G==-1&&(this.G=(e=KO(this),e?zP(e.vi(),this):-1)),this.G},Q.ik=function(){return null},Q.jk=function(){return KO(this)},Q.el=function(){return this.v},Q.kk=function(){return _F(this)},Q.lk=function(){return this.D==null?this.B:this.D},Q.mk=function(){return this.F},Q.fk=function(e){return XR(this,e)},Q.fl=function(e){this.v=e},Q.gl=function(e){rHe(this,e)},Q.hl=function(e){this.C=e},Q.ui=function(e){AT(this,e)},Q.Ib=function(){return ON(this)},Q.C=null,Q.D=null,Q.G=-1,z(RK,`EClassifierImpl`,364),q(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},Bc),Q.dl=function(e){return Mye(this,e.Dh())},Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return _F(this);case 4:return null;case 5:return this.F;case 6:return t?KO(this):gT(this);case 7:return!this.A&&(this.A=new _y(W7,this,7)),this.A;case 8:return Vy(),!!(this.Bb&256);case 9:return Vy(),!!(this.Bb&512);case 10:return Ww(this);case 11:return!this.q&&(this.q=new L(B7,this,11,10)),this.q;case 12:return vz(this);case 13:return mz(this);case 14:return mz(this),this.r;case 15:return vz(this),this.k;case 16:return X3e(this);case 17:return uz(this);case 18:return rz(this);case 19:return zL(this);case 20:return vz(this),this.o;case 21:return!this.s&&(this.s=new L(M7,this,21,17)),this.s;case 22:return AE(this);case 23:return hR(this)}return WD(this,e-xC((hB(),Y7)),PO((r=I(FA(this,16),29),r||Y7),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?bF(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,6,n);case 11:return!this.q&&(this.q=new L(B7,this,11,10)),LN(this.q,e,n);case 21:return!this.s&&(this.s=new L(M7,this,21,17)),LN(this.s,e,n)}return a=I(PO((r=I(FA(this,16),29),r||(hB(),Y7)),t),69),a.wk().zk(this,eP(this),t-xC((hB(),Y7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 6:return GR(this,null,6,n);case 7:return!this.A&&(this.A=new _y(W7,this,7)),IP(this.A,e,n);case 11:return!this.q&&(this.q=new L(B7,this,11,10)),IP(this.q,e,n);case 21:return!this.s&&(this.s=new L(M7,this,21,17)),IP(this.s,e,n);case 22:return IP(AE(this),e,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),Y7)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),Y7)),e,n)},Q.Wh=function(e){var t;switch(e){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!!_F(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!gT(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&&AE(this.u.a).i!=0&&!(this.n&&eF(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return vz(this).i!=0;case 13:return mz(this).i!=0;case 14:return mz(this),this.r.i!=0;case 15:return vz(this),this.k.i!=0;case 16:return X3e(this).i!=0;case 17:return uz(this).i!=0;case 18:return rz(this).i!=0;case 19:return zL(this).i!=0;case 20:return vz(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&eF(this.n);case 23:return hR(this).i!=0}return wE(this,e-xC((hB(),Y7)),PO((t=I(FA(this,16),29),t||Y7),e))},Q.Zh=function(e){return(this.i==null||this.q&&this.q.i!=0?null:XL(this,e))||tdt(this,e)},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:AT(this,pb(t));return;case 2:Pv(this,pb(t));return;case 5:Uz(this,pb(t));return;case 7:!this.A&&(this.A=new _y(W7,this,7)),Pz(this.A),!this.A&&(this.A=new _y(W7,this,7)),oC(this.A,I(t,16));return;case 8:JKe(this,Zp(fb(t)));return;case 9:YKe(this,Zp(fb(t)));return;case 10:Fz(Ww(this)),oC(Ww(this),I(t,16));return;case 11:!this.q&&(this.q=new L(B7,this,11,10)),Pz(this.q),!this.q&&(this.q=new L(B7,this,11,10)),oC(this.q,I(t,16));return;case 21:!this.s&&(this.s=new L(M7,this,21,17)),Pz(this.s),!this.s&&(this.s=new L(M7,this,21,17)),oC(this.s,I(t,16));return;case 22:Pz(AE(this)),oC(AE(this),I(t,16));return}gN(this,e-xC((hB(),Y7)),PO((n=I(FA(this,16),29),n||Y7),e),t)},Q.ii=function(){return hB(),Y7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:P(this.Cb,184)&&(I(this.Cb,184).tb=null),eA(this,null);return;case 2:Wj(this,null),pk(this,this.D);return;case 5:Uz(this,null);return;case 7:!this.A&&(this.A=new _y(W7,this,7)),Pz(this.A);return;case 8:JKe(this,!1);return;case 9:YKe(this,!1);return;case 10:this.u&&Fz(this.u);return;case 11:!this.q&&(this.q=new L(B7,this,11,10)),Pz(this.q);return;case 21:!this.s&&(this.s=new L(M7,this,21,17)),Pz(this.s);return;case 22:this.n&&Pz(this.n);return}DM(this,e-xC((hB(),Y7)),PO((t=I(FA(this,16),29),t||Y7),e))},Q.pi=function(){var e,t;if(vz(this),mz(this),X3e(this),uz(this),rz(this),zL(this),hR(this),nD(sCe(ZE(this))),this.s)for(e=0,t=this.s.i;e=0;--t)U(this,t);return YJe(this,e)},Q.Gk=function(){Pz(this)},Q.Zi=function(e,t){return OBe(this,e,t)},z(Dq,`EcoreEList`,632),q(505,632,Rq,bx),Q.Li=function(){return!1},Q.Lj=function(){return this.c},Q.Mj=function(){return!1},Q.ol=function(){return!0},Q.Si=function(){return!0},Q.Wi=function(e,t){return t},Q.Yi=function(){return!1},Q.c=0,z(Dq,`EObjectEList`,505),q(83,505,Rq,hy),Q.Mj=function(){return!0},Q.ml=function(){return!1},Q.al=function(){return!0},z(Dq,`EObjectContainmentEList`,83),q(555,83,Rq,gy),Q.Ni=function(){this.b=!0},Q.Qj=function(){return this.b},Q.Gk=function(){var e;Pz(this),Av(this.e)?(e=this.b,this.b=!1,MA(this.e,new QE(this.e,2,this.c,e,!1))):this.b=!1},Q.b=!1,z(Dq,`EObjectContainmentEList/Unsettable`,555),q(1161,555,Rq,gTe),Q.Ti=function(e,t){var n,r;return n=I(zM(this,e,t),89),Av(this.e)&&Nf(this,new PD(this.a,7,(hB(),RVt),gM(t),(r=n.c,P(r,90)?I(r,29):t9),e)),n},Q.Uj=function(e,t){return iYe(this,I(e,89),t)},Q.Vj=function(e,t){return rYe(this,I(e,89),t)},Q.Wj=function(e,t,n){return L1e(this,I(e,89),I(t,89),n)},Q.Ij=function(e,t,n,r,i){switch(e){case 3:return ST(this,e,t,n,r,this.i>1);case 5:return ST(this,e,t,n,r,this.i-I(n,15).gc()>0);default:return new lO(this.e,e,this.c,t,n,r,!0)}},Q.Tj=function(){return!0},Q.Qj=function(){return eF(this)},Q.Gk=function(){Pz(this)},z(RK,`EClassImpl/1`,1161),q(1175,1174,ubt),Q.dj=function(e){var t,n=e.gj(),r,i,a,o,s;if(n!=8){if(r=EXe(e),r==0)switch(n){case 1:case 9:s=e.kj(),s!=null&&(t=ZE(I(s,482)),!t.c&&(t.c=new rs),xO(t.c,e.jj())),o=e.ij(),o!=null&&(i=I(o,482),i.Bb&1||(t=ZE(i),!t.c&&(t.c=new rs),OD(t.c,I(e.jj(),29))));break;case 3:o=e.ij(),o!=null&&(i=I(o,482),i.Bb&1||(t=ZE(i),!t.c&&(t.c=new rs),OD(t.c,I(e.jj(),29))));break;case 5:if(o=e.ij(),o!=null)for(a=I(o,16).Kc();a.Ob();)i=I(a.Pb(),482),i.Bb&1||(t=ZE(i),!t.c&&(t.c=new rs),OD(t.c,I(e.jj(),29)));break;case 4:s=e.kj(),s!=null&&(i=I(s,482),i.Bb&1||(t=ZE(i),!t.c&&(t.c=new rs),xO(t.c,e.jj())));break;case 6:if(s=e.kj(),s!=null)for(a=I(s,16).Kc();a.Ob();)i=I(a.Pb(),482),i.Bb&1||(t=ZE(i),!t.c&&(t.c=new rs),xO(t.c,e.jj()));break}this.ql(r)}},Q.ql=function(e){$nt(this,e)},Q.b=63,z(RK,`ESuperAdapter`,1175),q(1176,1175,ubt,Cse),Q.ql=function(e){$I(this,e)},z(RK,`EClassImpl/10`,1176),q(1165,710,Rq),Q.Ei=function(e,t){return dI(this,e,t)},Q.Fi=function(e){return XZe(this,e)},Q.Gi=function(e,t){wM(this,e,t)},Q.Hi=function(e){tD(this,e)},Q.$i=function(e){return QLe(this,e)},Q.Xi=function(e,t){return bO(this,e,t)},Q.Wk=function(e,t){throw k(new Sf)},Q.Ii=function(){return new qy(this)},Q.Ji=function(){return new Jy(this)},Q.Ki=function(e){return Dk(this,e)},Q.Xk=function(e,t){throw k(new Sf)},Q.Fk=function(e){return this},Q.Qj=function(){return this.i!=0},Q.Wb=function(e){throw k(new Sf)},Q.Gk=function(){throw k(new Sf)},z(Dq,`EcoreEList/UnmodifiableEList`,1165),q(328,1165,Rq,_v),Q.Yi=function(){return!1},z(Dq,`EcoreEList/UnmodifiableEList/FastCompare`,328),q(1168,328,Rq,bWe),Q.dd=function(e){var t,n,r;if(P(e,179)&&(t=I(e,179),n=t.Lj(),n!=-1)){for(r=this.i;n4)if(this.fk(e)){if(this.al()){if(r=I(e,54),n=r.Eh(),s=n==this.b&&(this.ml()?r.yh(r.Fh(),I(PO(Kw(this.b),this.Lj()).Hk(),29).kk())==XP(I(PO(Kw(this.b),this.Lj()),19)).n:-1-r.Fh()==this.Lj()),this.nl()&&!s&&!n&&r.Jh()){for(i=0;i1||r==-1)):!1},Q.ml=function(){var e,t=PO(Kw(this.b),this.Lj()),n;return P(t,102)?(e=I(t,19),n=XP(e),!!n):!1},Q.nl=function(){var e,t=PO(Kw(this.b),this.Lj());return P(t,102)?(e=I(t,19),(e.Bb&UV)!=0):!1},Q.dd=function(e){var t,n,r=this.zj(e),i;if(r>=0)return r;if(this.ol()){for(n=0,i=this.Ej();n=0;--e)Vz(this,e,this.xj(e));return this.Fj()},Q.Qc=function(e){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)Vz(this,t,this.xj(t));return this.Gj(e)},Q.Gk=function(){Fz(this)},Q.Zi=function(e,t){return $Le(this,e,t)},z(Dq,`DelegatingEcoreEList`,756),q(1171,756,Ibt,Qve),Q.qj=function(e,t){tve(this,e,I(t,29))},Q.rj=function(e){ghe(this,I(e,29))},Q.xj=function(e){var t,n;return t=I(U(AE(this.a),e),89),n=t.c,P(n,90)?I(n,29):(hB(),t9)},Q.Cj=function(e){var t,n;return t=I(sR(AE(this.a),e),89),n=t.c,P(n,90)?I(n,29):(hB(),t9)},Q.Dj=function(e,t){return QZe(this,e,I(t,29))},Q.Li=function(){return!1},Q.Ij=function(e,t,n,r,i){return null},Q.sj=function(){return new Ese(this)},Q.tj=function(){Pz(AE(this.a))},Q.uj=function(e){return ZKe(this,e)},Q.vj=function(e){var t,n;for(n=e.Kc();n.Ob();)if(t=n.Pb(),!ZKe(this,t))return!1;return!0},Q.wj=function(e){var t,n,r;if(P(e,15)&&(r=I(e,15),r.gc()==AE(this.a).i)){for(t=r.Kc(),n=new xy(this);t.Ob();)if(N(t.Pb())!==N(CP(n)))return!1;return!0}return!1},Q.yj=function(){var e,t,n=1,r,i;for(t=new xy(AE(this.a));t.e!=t.i.gc();)e=I(CP(t),89),r=(i=e.c,P(i,90)?I(i,29):(hB(),t9)),n=31*n+(r?zy(r):0);return n},Q.zj=function(e){var t,n,r=0,i;for(n=new xy(AE(this.a));n.e!=n.i.gc();){if(t=I(CP(n),89),N(e)===N((i=t.c,P(i,90)?I(i,29):(hB(),t9))))return r;++r}return-1},Q.Aj=function(){return AE(this.a).i==0},Q.Bj=function(){return null},Q.Ej=function(){return AE(this.a).i},Q.Fj=function(){var e,t,n,r,i,a=AE(this.a).i;for(i=H(PJ,DB,1,a,5,1),n=0,t=new xy(AE(this.a));t.e!=t.i.gc();)e=I(CP(t),89),i[n++]=(r=e.c,P(r,90)?I(r,29):(hB(),t9));return i},Q.Gj=function(e){var t,n,r,i,a,o,s=AE(this.a).i;for(e.lengths&&CC(e,s,null),r=0,n=new xy(AE(this.a));n.e!=n.i.gc();)t=I(CP(n),89),a=(o=t.c,P(o,90)?I(o,29):(hB(),t9)),CC(e,r++,a);return e},Q.Hj=function(){var e,t,n,r,i=new ym;for(i.a+=`[`,e=AE(this.a),t=0,r=AE(this.a).i;t>16,i>=0?bF(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,6,n);case 9:return!this.a&&(this.a=new L(R7,this,9,5)),LN(this.a,e,n)}return a=I(PO((r=I(FA(this,16),29),r||(hB(),X7)),t),69),a.wk().zk(this,eP(this),t-xC((hB(),X7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 6:return GR(this,null,6,n);case 7:return!this.A&&(this.A=new _y(W7,this,7)),IP(this.A,e,n);case 9:return!this.a&&(this.a=new L(R7,this,9,5)),IP(this.a,e,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),X7)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),X7)),e,n)},Q.Wh=function(e){var t;switch(e){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!!_F(this);case 4:return!!AGe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!gT(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 wE(this,e-xC((hB(),X7)),PO((t=I(FA(this,16),29),t||X7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:AT(this,pb(t));return;case 2:Pv(this,pb(t));return;case 5:Uz(this,pb(t));return;case 7:!this.A&&(this.A=new _y(W7,this,7)),Pz(this.A),!this.A&&(this.A=new _y(W7,this,7)),oC(this.A,I(t,16));return;case 8:kM(this,Zp(fb(t)));return;case 9:!this.a&&(this.a=new L(R7,this,9,5)),Pz(this.a),!this.a&&(this.a=new L(R7,this,9,5)),oC(this.a,I(t,16));return}gN(this,e-xC((hB(),X7)),PO((n=I(FA(this,16),29),n||X7),e),t)},Q.ii=function(){return hB(),X7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:P(this.Cb,184)&&(I(this.Cb,184).tb=null),eA(this,null);return;case 2:Wj(this,null),pk(this,this.D);return;case 5:Uz(this,null);return;case 7:!this.A&&(this.A=new _y(W7,this,7)),Pz(this.A);return;case 8:kM(this,!0);return;case 9:!this.a&&(this.a=new L(R7,this,9,5)),Pz(this.a);return}DM(this,e-xC((hB(),X7)),PO((t=I(FA(this,16),29),t||X7),e))},Q.pi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?I(this.Cb,685):null}return WD(this,e-xC((hB(),Z7)),PO((r=I(FA(this,16),29),r||Z7),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 5:return this.Cb&&(n=(i=this.Db>>16,i>=0?C$e(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,5,n)}return a=I(PO((r=I(FA(this,16),29),r||(hB(),Z7)),t),69),a.wk().zk(this,eP(this),t-xC((hB(),Z7)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 5:return GR(this,null,5,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),Z7)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),Z7)),e,n)},Q.Wh=function(e){var t;switch(e){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&&I(this.Cb,685))}return wE(this,e-xC((hB(),Z7)),PO((t=I(FA(this,16),29),t||Z7),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:eA(this,pb(t));return;case 2:fk(this,I(t,17).a);return;case 3:e5e(this,I(t,2039));return;case 4:Fk(this,pb(t));return}gN(this,e-xC((hB(),Z7)),PO((n=I(FA(this,16),29),n||Z7),e),t)},Q.ii=function(){return hB(),Z7},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:eA(this,null);return;case 2:fk(this,0);return;case 3:e5e(this,null);return;case 4:Fk(this,null);return}DM(this,e-xC((hB(),Z7)),PO((t=I(FA(this,16),29),t||Z7),e))},Q.Ib=function(){var e;return e=this.c,e??this.zb},Q.b=null,Q.c=null,Q.d=0,z(RK,`EEnumLiteralImpl`,582);var YVt=Mx(RK,`EFactoryImpl/InternalEDateTimeFormat`);q(499,1,{2114:1},Pd),z(RK,`EFactoryImpl/1ClientInternalEDateTimeFormat`,499),q(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},Xd),Q.Ch=function(e,t,n){var r;return n=GR(this,e,t,n),this.e&&P(e,179)&&(r=RL(this,this.e),r!=this.c&&(n=Wz(this,r,n))),n},Q.Lh=function(e,t,n){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new hy(z7,this,1)),this.d;case 2:return t?YR(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?rF(this):this.a}return WD(this,e-xC((hB(),$7)),PO((r=I(FA(this,16),29),r||$7),e),t,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return hKe(this,null,n);case 1:return!this.d&&(this.d=new hy(z7,this,1)),IP(this.d,e,n);case 3:return gKe(this,null,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),$7)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),$7)),e,n)},Q.Wh=function(e){var t;switch(e){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 wE(this,e-xC((hB(),$7)),PO((t=I(FA(this,16),29),t||$7),e))},Q.bi=function(e,t){var n;switch(e){case 0:d0e(this,I(t,89));return;case 1:!this.d&&(this.d=new hy(z7,this,1)),Pz(this.d),!this.d&&(this.d=new hy(z7,this,1)),oC(this.d,I(t,16));return;case 3:u0e(this,I(t,89));return;case 4:i4e(this,I(t,850));return;case 5:qO(this,I(t,142));return}gN(this,e-xC((hB(),$7)),PO((n=I(FA(this,16),29),n||$7),e),t)},Q.ii=function(){return hB(),$7},Q.ki=function(e){var t;switch(e){case 0:d0e(this,null);return;case 1:!this.d&&(this.d=new hy(z7,this,1)),Pz(this.d);return;case 3:u0e(this,null);return;case 4:i4e(this,null);return;case 5:qO(this,null);return}DM(this,e-xC((hB(),$7)),PO((t=I(FA(this,16),29),t||$7),e))},Q.Ib=function(){var e=new ky(AL(this));return e.a+=` (expression: `,Tz(this,e),e.a+=`)`,e.a};var XVt;z(RK,`EGenericTypeImpl`,248),q(2067,2062,Hq),Q.Gi=function(e,t){Gve(this,e,t)},Q.Wk=function(e,t){return Gve(this,this.gc(),e),t},Q.$i=function(e){return kP(this.pj(),e)},Q.Ii=function(){return this.Ji()},Q.pj=function(){return new Ose(this)},Q.Ji=function(){return this.Ki(0)},Q.Ki=function(e){return this.pj().fd(e)},Q.Xk=function(e,t){return TN(this,e,!0),t},Q.Ti=function(e,t){var n,r=MF(this,t);return n=this.fd(e),n.Rb(r),r},Q.Ui=function(e,t){var n;TN(this,t,!0),n=this.fd(e),n.Rb(t)},z(Dq,`AbstractSequentialInternalEList`,2067),q(496,2067,Hq,Uy),Q.$i=function(e){return kP(this.pj(),e)},Q.Ii=function(){return this.b==null?(ag(),ag(),u9):this.sl()},Q.pj=function(){return new xme(this.a,this.b)},Q.Ji=function(){return this.b==null?(ag(),ag(),u9):this.sl()},Q.Ki=function(e){var t,n;if(this.b==null){if(e<0||e>1)throw k(new em(Eq+e+`, size=0`));return ag(),ag(),u9}for(n=this.sl(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.pk()!=K5||t.Lj()!=0)&&(!this.vl()||this.b.Xh(t))){if(a=this.b.Nh(t,this.ul()),this.f=(sg(),I(t,69).xk()),this.f||t.Jk()){if(this.ul()?(r=I(a,15),this.k=r):(r=I(a,71),this.k=this.j=r),P(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?M3e(this,this.p):_6e(this))return i=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=I(i,76),e.Lk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=-3,!0}else if(a!=null)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return i=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=I(i,76),e.Lk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=-3,!0}},Q.Pb=function(){return RA(this)},Q.Tb=function(){return this.a},Q.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw k(new Tf)},Q.Vb=function(){return this.a-1},Q.Qb=function(){throw k(new Sf)},Q.ul=function(){return!1},Q.Wb=function(e){throw k(new Sf)},Q.vl=function(){return!0},Q.a=0,Q.d=0,Q.f=!1,Q.g=0,Q.n=0,Q.o=0;var u9;z(Dq,`EContentsEList/FeatureIteratorImpl`,287),q(711,287,Uq,rve),Q.ul=function(){return!0},z(Dq,`EContentsEList/ResolvingFeatureIteratorImpl`,711),q(1178,711,Uq,ive),Q.vl=function(){return!1},z(RK,`ENamedElementImpl/1/1`,1178),q(1179,287,Uq,ave),Q.vl=function(){return!1},z(RK,`ENamedElementImpl/1/2`,1179),q(39,152,Tq,PE,FE,jS,ULe,lO,QE,jBe,yMe,MBe,bMe,LFe,xMe,FBe,SMe,RFe,CMe,NBe,wMe,MS,PD,Mw,PBe,TMe,zFe,EMe),Q.Kj=function(){return ILe(this)},Q.Rj=function(){var e=ILe(this);return e?e.ik():null},Q.hj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,e)},Q.jj=function(){return this.c},Q.Sj=function(){var e=ILe(this);return e?e.tk():!1},Q.b=-1,z(RK,`ENotificationImpl`,39),q(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},yp),Q.Ah=function(e){return I$e(this,e)},Q.Lh=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Vy(),!!(this.Bb&256);case 3:return Vy(),!!(this.Bb&512);case 4:return gM(this.s);case 5:return gM(this.t);case 6:return Vy(),a=this.t,a>1||a==-1;case 7:return Vy(),i=this.s,i>=1;case 8:return t?IF(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?I(this.Cb,29):null;case 11:return!this.d&&(this.d=new _y(W7,this,11)),this.d;case 12:return!this.c&&(this.c=new L(H7,this,12,10)),this.c;case 13:return!this.a&&(this.a=new Tb(this,this)),this.a;case 14:return iO(this)}return WD(this,e-xC((hB(),n9)),PO((r=I(FA(this,16),29),r||n9),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?I$e(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,10,n);case 12:return!this.c&&(this.c=new L(H7,this,12,10)),LN(this.c,e,n)}return a=I(PO((r=I(FA(this,16),29),r||(hB(),n9)),t),69),a.wk().zk(this,eP(this),t-xC((hB(),n9)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 9:return sC(this,n);case 10:return GR(this,null,10,n);case 11:return!this.d&&(this.d=new _y(W7,this,11)),IP(this.d,e,n);case 12:return!this.c&&(this.c=new L(H7,this,12,10)),IP(this.c,e,n);case 14:return IP(iO(this),e,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),n9)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),n9)),e,n)},Q.Wh=function(e){var t,n,r;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&OC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&OC(this.q).i==0);case 10:return!!(this.Db>>16==10&&I(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&&iO(this.a.a).i!=0&&!(this.b&&tF(this.b));case 14:return!!this.b&&tF(this.b)}return wE(this,e-xC((hB(),n9)),PO((t=I(FA(this,16),29),t||n9),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:eA(this,pb(t));return;case 2:OM(this,Zp(fb(t)));return;case 3:AM(this,Zp(fb(t)));return;case 4:uk(this,I(t,17).a);return;case 5:dk(this,I(t,17).a);return;case 8:iM(this,I(t,142));return;case 9:r=fI(this,I(t,89),null),r&&r.oj();return;case 11:!this.d&&(this.d=new _y(W7,this,11)),Pz(this.d),!this.d&&(this.d=new _y(W7,this,11)),oC(this.d,I(t,16));return;case 12:!this.c&&(this.c=new L(H7,this,12,10)),Pz(this.c),!this.c&&(this.c=new L(H7,this,12,10)),oC(this.c,I(t,16));return;case 13:!this.a&&(this.a=new Tb(this,this)),Fz(this.a),!this.a&&(this.a=new Tb(this,this)),oC(this.a,I(t,16));return;case 14:Pz(iO(this)),oC(iO(this),I(t,16));return}gN(this,e-xC((hB(),n9)),PO((n=I(FA(this,16),29),n||n9),e),t)},Q.ii=function(){return hB(),n9},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:eA(this,null);return;case 2:OM(this,!0);return;case 3:AM(this,!0);return;case 4:uk(this,0);return;case 5:dk(this,1);return;case 8:iM(this,null);return;case 9:n=fI(this,null,null),n&&n.oj();return;case 11:!this.d&&(this.d=new _y(W7,this,11)),Pz(this.d);return;case 12:!this.c&&(this.c=new L(H7,this,12,10)),Pz(this.c);return;case 13:this.a&&Fz(this.a);return;case 14:this.b&&Pz(this.b);return}DM(this,e-xC((hB(),n9)),PO((t=I(FA(this,16),29),t||n9),e))},Q.pi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;es&&CC(e,s,null),r=0,n=new xy(iO(this.a));n.e!=n.i.gc();)t=I(CP(n),89),a=(o=t.c,o||(hB(),e9)),CC(e,r++,a);return e},Q.Hj=function(){var e,t,n,r,i=new ym;for(i.a+=`[`,e=iO(this.a),t=0,r=iO(this.a).i;t1);case 5:return ST(this,e,t,n,r,this.i-I(n,15).gc()>0);default:return new lO(this.e,e,this.c,t,n,r,!0)}},Q.Tj=function(){return!0},Q.Qj=function(){return tF(this)},Q.Gk=function(){Pz(this)},z(RK,`EOperationImpl/2`,1377),q(507,1,{2037:1,507:1},Zpe),z(RK,`EPackageImpl/1`,507),q(14,83,Rq,L),Q.il=function(){return this.d},Q.jl=function(){return this.b},Q.ml=function(){return!0},Q.b=0,z(Dq,`EObjectContainmentWithInverseEList`,14),q(365,14,Rq,Fb),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectContainmentWithInverseEList/Resolving`,365),q(308,365,Rq,PS),Q.Ni=function(){this.a.tb=null},z(RK,`EPackageImpl/2`,308),q(1278,1,{},ore),z(RK,`EPackageImpl/3`,1278),q(733,45,$V,bp),Q._b=function(e){return Z_(e)?Iw(this,e):!!tS(this.f,e)},z(RK,`EPackageRegistryImpl`,733),q(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},xp),Q.Ah=function(e){return L$e(this,e)},Q.Lh=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Vy(),!!(this.Bb&256);case 3:return Vy(),!!(this.Bb&512);case 4:return gM(this.s);case 5:return gM(this.t);case 6:return Vy(),a=this.t,a>1||a==-1;case 7:return Vy(),i=this.s,i>=1;case 8:return t?IF(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?I(this.Cb,62):null}return WD(this,e-xC((hB(),i9)),PO((r=I(FA(this,16),29),r||i9),e),t,n)},Q.Sh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),LN(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?L$e(this,n):this.Cb.Th(this,-1-i,null,n))),GR(this,e,10,n)}return a=I(PO((r=I(FA(this,16),29),r||(hB(),i9)),t),69),a.wk().zk(this,eP(this),t-xC((hB(),i9)),e,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 9:return sC(this,n);case 10:return GR(this,null,10,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),i9)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),i9)),e,n)},Q.Wh=function(e){var t,n,r;switch(e){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 n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&OC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&OC(this.q).i==0);case 10:return!!(this.Db>>16==10&&I(this.Cb,62))}return wE(this,e-xC((hB(),i9)),PO((t=I(FA(this,16),29),t||i9),e))},Q.ii=function(){return hB(),i9},z(RK,`EParameterImpl`,518),q(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},Tve),Q.Lh=function(e,t,n){var r,i,a,o;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Vy(),!!(this.Bb&256);case 3:return Vy(),!!(this.Bb&512);case 4:return gM(this.s);case 5:return gM(this.t);case 6:return Vy(),o=this.t,o>1||o==-1;case 7:return Vy(),i=this.s,i>=1;case 8:return t?IF(this):this.r;case 9:return this.q;case 10:return Vy(),(this.Bb&nV)!=0;case 11:return Vy(),(this.Bb&kq)!=0;case 12:return Vy(),(this.Bb&BV)!=0;case 13:return this.j;case 14:return UL(this);case 15:return Vy(),(this.Bb&Oq)!=0;case 16:return Vy(),(this.Bb&VB)!=0;case 17:return vT(this);case 18:return Vy(),(this.Bb&LK)!=0;case 19:return Vy(),a=XP(this),!!(a&&(a.Bb&LK)!=0);case 20:return Vy(),(this.Bb&UV)!=0;case 21:return t?XP(this):this.b;case 22:return t?DWe(this):qFe(this);case 23:return!this.a&&(this.a=new vy(N7,this,23)),this.a}return WD(this,e-xC((hB(),a9)),PO((r=I(FA(this,16),29),r||a9),e),t,n)},Q.Wh=function(e){var t,n,r,i;switch(e){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 i=this.t,i>1||i==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&OC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&OC(this.q).i==0);case 10:return(this.Bb&nV)==0;case 11:return(this.Bb&kq)!=0;case 12:return(this.Bb&BV)!=0;case 13:return this.j!=null;case 14:return UL(this)!=null;case 15:return(this.Bb&Oq)!=0;case 16:return(this.Bb&VB)!=0;case 17:return!!vT(this);case 18:return(this.Bb&LK)!=0;case 19:return r=XP(this),!!r&&(r.Bb&LK)!=0;case 20:return(this.Bb&UV)==0;case 21:return!!this.b;case 22:return!!qFe(this);case 23:return!!this.a&&this.a.i!=0}return wE(this,e-xC((hB(),a9)),PO((t=I(FA(this,16),29),t||a9),e))},Q.bi=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:jT(this,pb(t));return;case 2:OM(this,Zp(fb(t)));return;case 3:AM(this,Zp(fb(t)));return;case 4:uk(this,I(t,17).a);return;case 5:dk(this,I(t,17).a);return;case 8:iM(this,I(t,142));return;case 9:r=fI(this,I(t,89),null),r&&r.oj();return;case 10:VM(this,Zp(fb(t)));return;case 11:WM(this,Zp(fb(t)));return;case 12:HM(this,Zp(fb(t)));return;case 13:Gpe(this,pb(t));return;case 15:UM(this,Zp(fb(t)));return;case 16:$M(this,Zp(fb(t)));return;case 18:ZAe(this,Zp(fb(t)));return;case 20:Iqe(this,Zp(fb(t)));return;case 21:FVe(this,I(t,19));return;case 23:!this.a&&(this.a=new vy(N7,this,23)),Pz(this.a),!this.a&&(this.a=new vy(N7,this,23)),oC(this.a,I(t,16));return}gN(this,e-xC((hB(),a9)),PO((n=I(FA(this,16),29),n||a9),e),t)},Q.ii=function(){return hB(),a9},Q.ki=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:P(this.Cb,90)&&$I(ZE(I(this.Cb,90)),4),eA(this,null);return;case 2:OM(this,!0);return;case 3:AM(this,!0);return;case 4:uk(this,0);return;case 5:dk(this,1);return;case 8:iM(this,null);return;case 9:n=fI(this,null,null),n&&n.oj();return;case 10:VM(this,!0);return;case 11:WM(this,!1);return;case 12:HM(this,!1);return;case 13:this.i=null,Bk(this,null);return;case 15:UM(this,!1);return;case 16:$M(this,!1);return;case 18:Fqe(this,!1),P(this.Cb,90)&&$I(ZE(I(this.Cb,90)),2);return;case 20:Iqe(this,!0);return;case 21:FVe(this,null);return;case 23:!this.a&&(this.a=new vy(N7,this,23)),Pz(this.a);return}DM(this,e-xC((hB(),a9)),PO((t=I(FA(this,16),29),t||a9),e))},Q.pi=function(){DWe(this),ew(oO((UI(),p9),this)),IF(this),this.Bb|=1},Q.uk=function(){return XP(this)},Q._k=function(){var e;return e=XP(this),!!e&&(e.Bb&LK)!=0},Q.al=function(){return(this.Bb&LK)!=0},Q.bl=function(){return(this.Bb&UV)!=0},Q.Yk=function(e,t){return this.c=null,IKe(this,e,t)},Q.Ib=function(){var e;return this.Db&64?bR(this):(e=new Oy(bR(this)),e.a+=` (containment: `,th(e,(this.Bb&LK)!=0),e.a+=`, resolveProxies: `,th(e,(this.Bb&UV)!=0),e.a+=`)`,e.a)},z(RK,`EReferenceImpl`,102),q(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},Jo),Q.Fb=function(e){return this===e},Q.ld=function(){return this.b},Q.md=function(){return this.c},Q.Hb=function(){return zy(this)},Q.Di=function(e){_we(this,pb(e))},Q.nd=function(e){return MCe(this,pb(e))},Q.Lh=function(e,t,n){var r;switch(e){case 0:return this.b;case 1:return this.c}return WD(this,e-xC((hB(),o9)),PO((r=I(FA(this,16),29),r||o9),e),t,n)},Q.Wh=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return wE(this,e-xC((hB(),o9)),PO((t=I(FA(this,16),29),t||o9),e))},Q.bi=function(e,t){var n;switch(e){case 0:vwe(this,pb(t));return;case 1:bVe(this,pb(t));return}gN(this,e-xC((hB(),o9)),PO((n=I(FA(this,16),29),n||o9),e),t)},Q.ii=function(){return hB(),o9},Q.ki=function(e){var t;switch(e){case 0:yVe(this,null);return;case 1:bVe(this,null);return}DM(this,e-xC((hB(),o9)),PO((t=I(FA(this,16),29),t||o9),e))},Q.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:Aj(e)),this.a},Q.Ci=function(e){this.a=e},Q.Ib=function(){var e;return this.Db&64?AL(this):(e=new Oy(AL(this)),e.a+=` (key: `,sv(e,this.b),e.a+=`, value: `,sv(e,this.c),e.a+=`)`,e.a)},Q.a=-1,Q.b=null,Q.c=null;var d9=z(RK,`EStringToStringMapEntryImpl`,561),QVt=Mx(Dq,`FeatureMap/Entry/Internal`);q(576,1,Wq),Q.xl=function(e){return this.yl(I(e,54))},Q.yl=function(e){return this.xl(e)},Q.Fb=function(e){var t,n;return this===e?!0:P(e,76)?(t=I(e,76),t.Lk()==this.c?(n=this.md(),n==null?t.md()==null:EM(n,t.md())):!1):!1},Q.Lk=function(){return this.c},Q.Hb=function(){var e=this.md();return $k(this.c)^(e==null?0:$k(e))},Q.Ib=function(){var e=this.c,t=KO(e.qk()).yi();return e.xe(),(t!=null&&t.length!=0?t+`:`+e.xe():e.xe())+`=`+this.md()},z(RK,`EStructuralFeatureImpl/BasicFeatureMapEntry`,576),q(791,576,Wq,$ve),Q.yl=function(e){return new $ve(this.c,e)},Q.md=function(){return this.a},Q.zl=function(e,t,n){return DHe(this,e,this.a,t,n)},Q.Al=function(e,t,n){return OHe(this,e,this.a,t,n)},z(RK,`EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry`,791),q(1350,1,{},Qpe),Q.yk=function(e,t,n,r,i){return I(LD(e,this.b),220).Yl(this.a).Fk(r)},Q.zk=function(e,t,n,r,i){return I(LD(e,this.b),220).Pl(this.a,r,i)},Q.Ak=function(e,t,n,r,i){return I(LD(e,this.b),220).Ql(this.a,r,i)},Q.Bk=function(e,t,n){return I(LD(e,this.b),220).Yl(this.a).Qj()},Q.Ck=function(e,t,n,r){I(LD(e,this.b),220).Yl(this.a).Wb(r)},Q.Dk=function(e,t,n){return I(LD(e,this.b),220).Yl(this.a)},Q.Ek=function(e,t,n){I(LD(e,this.b),220).Yl(this.a).Gk()},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator`,1350),q(91,1,{},sx,gw,Bw,LE),Q.yk=function(e,t,n,r,i){var a=t.li(n);if(a??t.mi(n,a=uB(this,e)),!i)switch(this.e){case 50:case 41:return I(a,597).bk();case 40:return I(a,220).Vl()}return a},Q.zk=function(e,t,n,r,i){var a,o=t.li(n);return o??t.mi(n,o=uB(this,e)),a=I(o,71).Wk(r,i),a},Q.Ak=function(e,t,n,r,i){var a=t.li(n);return a!=null&&(i=I(a,71).Xk(r,i)),i},Q.Bk=function(e,t,n){var r=t.li(n);return r!=null&&I(r,79).Qj()},Q.Ck=function(e,t,n,r){var i=I(t.li(n),79);!i&&t.mi(n,i=uB(this,e)),i.Wb(r)},Q.Dk=function(e,t,n){var r,i=t.li(n);return i??t.mi(n,i=uB(this,e)),P(i,79)?I(i,79):(r=I(t.li(n),15),new Fd(r))},Q.Ek=function(e,t,n){var r=I(t.li(n),79);!r&&t.mi(n,r=uB(this,e)),r.Gk()},Q.b=0,Q.e=0,z(RK,`EStructuralFeatureImpl/InternalSettingDelegateMany`,91),q(512,1,{}),Q.zk=function(e,t,n,r,i){throw k(new Sf)},Q.Ak=function(e,t,n,r,i){throw k(new Sf)},Q.Dk=function(e,t,n){return new TOe(this,e,t,n)};var f9;z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingle`,512),q(1367,1,kbt,TOe),Q.Fk=function(e){return this.a.yk(this.c,this.d,this.b,e,!0)},Q.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},Q.Wb=function(e){this.a.Ck(this.c,this.d,this.b,e)},Q.Gk=function(){this.a.Ek(this.c,this.d,this.b)},Q.b=0,z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingle/1`,1367),q(784,512,{},$ke),Q.yk=function(e,t,n,r,i){return PR(e,e.Ph(),e.Fh())==this.b?this.bl()&&r?xL(e):e.Ph():null},Q.zk=function(e,t,n,r,i){var a,o;return e.Ph()&&(i=(a=e.Fh(),a>=0?e.Ah(i):e.Ph().Th(e,-1-a,null,i))),o=EN(e.Dh(),this.e),e.Ch(r,o,i)},Q.Ak=function(e,t,n,r,i){var a=EN(e.Dh(),this.e);return e.Ch(null,a,i)},Q.Bk=function(e,t,n){var r=EN(e.Dh(),this.e);return!!e.Ph()&&e.Fh()==r},Q.Ck=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!XR(this.a,r))throw k(new nm(Gq+(P(r,58)?o0e(I(r,58).Dh()):Nze(Qj(r)))+Kq+this.a+`'`));if(i=e.Ph(),o=EN(e.Dh(),this.e),N(r)!==N(i)||e.Fh()!=o&&r!=null){if(PF(e,I(r,58)))throw k(new rm(BK+e.Ib()));c=null,i&&(c=(a=e.Fh(),a>=0?e.Ah(c):e.Ph().Th(e,-1-a,null,c))),s=I(r,54),s&&(c=s.Rh(e,EN(s.Dh(),this.b),null,c)),c=e.Ch(s,o,c),c&&c.oj()}else e.vh()&&e.wh()&&MA(e,new jS(e,1,o,r,r))},Q.Ek=function(e,t,n){var r=e.Ph(),i,a,o;r?(o=(i=e.Fh(),i>=0?e.Ah(null):e.Ph().Th(e,-1-i,null,null)),a=EN(e.Dh(),this.e),o=e.Ch(null,a,o),o&&o.oj()):e.vh()&&e.wh()&&MA(e,new MS(e,1,this.e,null,null))},Q.bl=function(){return!1},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainer`,784),q(1351,784,{},qSe),Q.bl=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving`,1351),q(574,512,{}),Q.yk=function(e,t,n,r,i){var a;return a=t.li(n),a==null?this.b:N(a)===N(f9)?null:a},Q.Bk=function(e,t,n){var r=t.li(n);return r!=null&&(N(r)===N(f9)||!EM(r,this.b))},Q.Ck=function(e,t,n,r){var i,a;e.vh()&&e.wh()?(i=(a=t.li(n),a==null?this.b:N(a)===N(f9)?null:a),r==null?this.c==null?this.b==null?t.mi(n,null):t.mi(n,f9):(t.mi(n,null),r=this.b):(this.Bl(r),t.mi(n,r)),MA(e,this.d.Cl(e,1,this.e,i,r))):r==null?this.c==null?this.b==null?t.mi(n,null):t.mi(n,f9):t.mi(n,null):(this.Bl(r),t.mi(n,r))},Q.Ek=function(e,t,n){var r,i;e.vh()&&e.wh()?(r=(i=t.li(n),i==null?this.b:N(i)===N(f9)?null:i),t.ni(n),MA(e,this.d.Cl(e,1,this.e,r,this.b))):t.ni(n)},Q.Bl=function(e){throw k(new Rse)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData`,574),q(qq,1,{},Yo),Q.Cl=function(e,t,n,r,i){return new MS(e,t,n,r,i)},Q.Dl=function(e,t,n,r,i,a){return new Mw(e,t,n,r,i,a)};var $Vt,eHt,tHt,nHt,rHt,iHt,aHt,oHt,sHt;z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator`,qq),q(1368,qq,{},Xo),Q.Cl=function(e,t,n,r,i){return new zFe(e,t,n,Zp(fb(r)),Zp(fb(i)))},Q.Dl=function(e,t,n,r,i,a){return new EMe(e,t,n,Zp(fb(r)),Zp(fb(i)),a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1`,1368),q(1369,qq,{},Zo),Q.Cl=function(e,t,n,r,i){return new jBe(e,t,n,I(r,222).a,I(i,222).a)},Q.Dl=function(e,t,n,r,i,a){return new yMe(e,t,n,I(r,222).a,I(i,222).a,a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2`,1369),q(1370,qq,{},Qo),Q.Cl=function(e,t,n,r,i){return new MBe(e,t,n,I(r,180).a,I(i,180).a)},Q.Dl=function(e,t,n,r,i,a){return new bMe(e,t,n,I(r,180).a,I(i,180).a,a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3`,1370),q(1371,qq,{},$o),Q.Cl=function(e,t,n,r,i){return new LFe(e,t,n,A(F(r)),A(F(i)))},Q.Dl=function(e,t,n,r,i,a){return new xMe(e,t,n,A(F(r)),A(F(i)),a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4`,1371),q(1372,qq,{},sre),Q.Cl=function(e,t,n,r,i){return new FBe(e,t,n,I(r,161).a,I(i,161).a)},Q.Dl=function(e,t,n,r,i,a){return new SMe(e,t,n,I(r,161).a,I(i,161).a,a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5`,1372),q(1373,qq,{},es),Q.Cl=function(e,t,n,r,i){return new RFe(e,t,n,I(r,17).a,I(i,17).a)},Q.Dl=function(e,t,n,r,i,a){return new CMe(e,t,n,I(r,17).a,I(i,17).a,a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6`,1373),q(1374,qq,{},ts),Q.Cl=function(e,t,n,r,i){return new NBe(e,t,n,I(r,168).a,I(i,168).a)},Q.Dl=function(e,t,n,r,i,a){return new wMe(e,t,n,I(r,168).a,I(i,168).a,a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7`,1374),q(1375,qq,{},ns),Q.Cl=function(e,t,n,r,i){return new PBe(e,t,n,I(r,191).a,I(i,191).a)},Q.Dl=function(e,t,n,r,i,a){return new TMe(e,t,n,I(r,191).a,I(i,191).a,a)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8`,1375),q(1353,574,{},EOe),Q.Bl=function(e){if(!this.a.fk(e))throw k(new nm(Gq+Qj(e)+Kq+this.a+`'`))},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic`,1353),q(1354,574,{},vTe),Q.Bl=function(e){},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic`,1354),q(785,574,{}),Q.Bk=function(e,t,n){return t.li(n)!=null},Q.Ck=function(e,t,n,r){var i,a;e.vh()&&e.wh()?(i=!0,a=t.li(n),a==null?(i=!1,a=this.b):N(a)===N(f9)&&(a=null),r==null?this.c==null?t.mi(n,f9):(t.mi(n,null),r=this.b):(this.Bl(r),t.mi(n,r)),MA(e,this.d.Dl(e,1,this.e,a,r,!i))):r==null?this.c==null?t.mi(n,f9):t.mi(n,null):(this.Bl(r),t.mi(n,r))},Q.Ek=function(e,t,n){var r,i;e.vh()&&e.wh()?(r=!0,i=t.li(n),i==null?(r=!1,i=this.b):N(i)===N(f9)&&(i=null),t.ni(n),MA(e,this.d.Dl(e,2,this.e,i,this.b,r))):t.ni(n)},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable`,785),q(1355,785,{},DOe),Q.Bl=function(e){if(!this.a.fk(e))throw k(new nm(Gq+Qj(e)+Kq+this.a+`'`))},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic`,1355),q(1356,785,{},yTe),Q.Bl=function(e){},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic`,1356),q(410,512,{},Xx),Q.yk=function(e,t,n,r,i){var a,o,s,c,l=t.li(n);if(this.tk()&&N(l)===N(f9))return null;if(this.bl()&&r&&l!=null){if(s=I(l,54),s.Vh()&&(c=uM(e,s),s!=c)){if(!XR(this.a,c))throw k(new nm(Gq+Qj(c)+Kq+this.a+`'`));t.mi(n,l=c),this.al()&&(a=I(c,54),o=s.Th(e,this.b?EN(s.Dh(),this.b):-1-EN(e.Dh(),this.e),null,null),!a.Ph()&&(o=a.Rh(e,this.b?EN(a.Dh(),this.b):-1-EN(e.Dh(),this.e),null,o)),o&&o.oj()),e.vh()&&e.wh()&&MA(e,new MS(e,9,this.e,s,c))}return l}else return l},Q.zk=function(e,t,n,r,i){var a,o=t.li(n);return N(o)===N(f9)&&(o=null),t.mi(n,r),this.Mj()?N(o)!==N(r)&&o!=null&&(a=I(o,54),i=a.Th(e,EN(a.Dh(),this.b),null,i)):this.al()&&o!=null&&(i=I(o,54).Th(e,-1-EN(e.Dh(),this.e),null,i)),e.vh()&&e.wh()&&(!i&&(i=new Km(4)),i.nj(new MS(e,1,this.e,o,r))),i},Q.Ak=function(e,t,n,r,i){var a=t.li(n);return N(a)===N(f9)&&(a=null),t.ni(n),e.vh()&&e.wh()&&(!i&&(i=new Km(4)),this.tk()?i.nj(new MS(e,2,this.e,a,null)):i.nj(new MS(e,1,this.e,a,null))),i},Q.Bk=function(e,t,n){return t.li(n)!=null},Q.Ck=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!XR(this.a,r))throw k(new nm(Gq+(P(r,58)?o0e(I(r,58).Dh()):Nze(Qj(r)))+Kq+this.a+`'`));c=t.li(n),s=c!=null,this.tk()&&N(c)===N(f9)&&(c=null),o=null,this.Mj()?N(c)!==N(r)&&(c!=null&&(i=I(c,54),o=i.Th(e,EN(i.Dh(),this.b),null,o)),r!=null&&(i=I(r,54),o=i.Rh(e,EN(i.Dh(),this.b),null,o))):this.al()&&N(c)!==N(r)&&(c!=null&&(o=I(c,54).Th(e,-1-EN(e.Dh(),this.e),null,o)),r!=null&&(o=I(r,54).Rh(e,-1-EN(e.Dh(),this.e),null,o))),r==null&&this.tk()?t.mi(n,f9):t.mi(n,r),e.vh()&&e.wh()?(a=new Mw(e,1,this.e,c,r,this.tk()&&!s),o?(o.nj(a),o.oj()):MA(e,a)):o&&o.oj()},Q.Ek=function(e,t,n){var r,i,a,o,s=t.li(n);o=s!=null,this.tk()&&N(s)===N(f9)&&(s=null),a=null,s!=null&&(this.Mj()?(r=I(s,54),a=r.Th(e,EN(r.Dh(),this.b),null,a)):this.al()&&(a=I(s,54).Th(e,-1-EN(e.Dh(),this.e),null,a))),t.ni(n),e.vh()&&e.wh()?(i=new Mw(e,this.tk()?2:1,this.e,s,null,o),a?(a.nj(i),a.oj()):MA(e,i)):a&&a.oj()},Q.Mj=function(){return!1},Q.al=function(){return!1},Q.bl=function(){return!1},Q.tk=function(){return!1},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObject`,410),q(575,410,{},ub),Q.al=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment`,575),q(1359,575,{},lve),Q.bl=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving`,1359),q(787,575,{},uve),Q.tk=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable`,787),q(1361,787,{},fve),Q.bl=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving`,1361),q(650,575,{},cx),Q.Mj=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse`,650),q(1360,650,{},XSe),Q.bl=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving`,1360),q(788,650,{},ZSe),Q.tk=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable`,788),q(1362,788,{},QSe),Q.bl=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving`,1362),q(651,410,{},dve),Q.bl=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving`,651),q(1363,651,{},pve),Q.tk=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable`,1363),q(789,651,{},JSe),Q.Mj=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse`,789),q(1364,789,{},$Se),Q.tk=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable`,1364),q(1357,410,{},mve),Q.tk=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable`,1357),q(786,410,{},YSe),Q.Mj=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse`,786),q(1358,786,{},eCe),Q.tk=function(){return!0},z(RK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable`,1358),q(790,576,Wq,sDe),Q.yl=function(e){return new sDe(this.a,this.c,e)},Q.md=function(){return this.b},Q.zl=function(e,t,n){return mLe(this,e,this.b,n)},Q.Al=function(e,t,n){return hLe(this,e,this.b,n)},z(RK,`EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry`,790),q(1365,1,kbt,Fd),Q.Fk=function(e){return this.a},Q.Qj=function(){return P(this.a,97)?I(this.a,97).Qj():!this.a.dc()},Q.Wb=function(e){this.a.$b(),this.a.Gc(I(e,15))},Q.Gk=function(){P(this.a,97)?I(this.a,97).Gk():this.a.$b()},z(RK,`EStructuralFeatureImpl/SettingMany`,1365),q(1366,576,Wq,NPe),Q.xl=function(e){return new Db((zz(),A9),this.b.ri(this.a,e))},Q.md=function(){return null},Q.zl=function(e,t,n){return n},Q.Al=function(e,t,n){return n},z(RK,`EStructuralFeatureImpl/SimpleContentFeatureMapEntry`,1366),q(652,576,Wq,Db),Q.xl=function(e){return new Db(this.c,e)},Q.md=function(){return this.a},Q.zl=function(e,t,n){return n},Q.Al=function(e,t,n){return n},z(RK,`EStructuralFeatureImpl/SimpleFeatureMapEntry`,652),q(403,506,mq,rs),Q.aj=function(e){return H(F7,DB,29,e,0,1)},Q.Yi=function(){return!1},z(RK,`ESuperAdapter/1`,403),q(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},is),Q.Lh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new Zx(this,z7,this)),this.a}return WD(this,e-xC((hB(),s9)),PO((r=I(FA(this,16),29),r||s9),e),t,n)},Q.Uh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new L(A7,this,0,3)),IP(this.Ab,e,n);case 2:return!this.a&&(this.a=new Zx(this,z7,this)),IP(this.a,e,n)}return i=I(PO((r=I(FA(this,16),29),r||(hB(),s9)),t),69),i.wk().Ak(this,eP(this),t-xC((hB(),s9)),e,n)},Q.Wh=function(e){var t;switch(e){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 wE(this,e-xC((hB(),s9)),PO((t=I(FA(this,16),29),t||s9),e))},Q.bi=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab),!this.Ab&&(this.Ab=new L(A7,this,0,3)),oC(this.Ab,I(t,16));return;case 1:eA(this,pb(t));return;case 2:!this.a&&(this.a=new Zx(this,z7,this)),Pz(this.a),!this.a&&(this.a=new Zx(this,z7,this)),oC(this.a,I(t,16));return}gN(this,e-xC((hB(),s9)),PO((n=I(FA(this,16),29),n||s9),e),t)},Q.ii=function(){return hB(),s9},Q.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new L(A7,this,0,3)),Pz(this.Ab);return;case 1:eA(this,null);return;case 2:!this.a&&(this.a=new Zx(this,z7,this)),Pz(this.a);return}DM(this,e-xC((hB(),s9)),PO((t=I(FA(this,16),29),t||s9),e))},z(RK,`ETypeParameterImpl`,457),q(458,83,Rq,Zx),Q.Nj=function(e,t){return g2e(this,I(e,89),t)},Q.Oj=function(e,t){return _2e(this,I(e,89),t)},z(RK,`ETypeParameterImpl/1`,458),q(647,45,$V,Sp),Q.ec=function(){return new Rd(this)},z(RK,`ETypeParameterImpl/2`,647),q(570,LB,RB,Rd),Q.Fc=function(e){return Nye(this,I(e,89))},Q.Gc=function(e){var t,n,r=!1;for(n=e.Kc();n.Ob();)t=I(n.Pb(),89),GC(this.a,t,``)??(r=!0);return r},Q.$b=function(){US(this.a)},Q.Hc=function(e){return RS(this.a,e)},Q.Kc=function(){var e;return e=new OA(new zl(this.a).a),new zd(e)},Q.Mc=function(e){return kIe(this,e)},Q.gc=function(){return wh(this.a)},z(RK,`ETypeParameterImpl/2/1`,570),q(571,1,NB,zd),Q.Nb=function(e){LS(this,e)},Q.Pb=function(){return I(Wk(this.a).ld(),89)},Q.Ob=function(){return this.a.b},Q.Qb=function(){IRe(this.a)},z(RK,`ETypeParameterImpl/2/1/1`,571),q(1329,45,$V,nce),Q._b=function(e){return Z_(e)?Iw(this,e):!!tS(this.f,e)},Q.xc=function(e){var t=Z_(e)?$w(this,e):X_(tS(this.f,e)),n;return P(t,851)?(n=I(t,851),t=n.Kk(),GC(this,I(e,241),t),t):t??(e==null?(og(),hHt):null)},z(RK,`EValidatorRegistryImpl`,1329),q(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},as),Q.ri=function(e,t){switch(e.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:mN(t);case 25:return cBe(t);case 27:return gRe(t);case 28:return _Re(t);case 29:return t==null?null:Jhe(l7[0],I(t,206));case 41:return t==null?``:Qm(I(t,297));case 42:return mN(t);case 50:return pb(t);default:throw k(new rm(VK+e.xe()+HK))}},Q.si=function(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;switch(e.G==-1&&(e.G=(f=KO(e),f?zP(f.vi(),e):-1)),e.G){case 0:return n=new _p,n;case 1:return t=new Ho,t;case 2:return r=new Bc,r;case 4:return i=new Df,i;case 5:return a=new tce,a;case 6:return o=new zse,o;case 7:return s=new Vc,s;case 10:return l=new Bo,l;case 11:return u=new yp,u;case 12:return d=new JOe,d;case 13:return p=new xp,p;case 14:return m=new Tve,m;case 17:return h=new Jo,h;case 18:return c=new Xd,c;case 19:return g=new is,g;default:throw k(new rm(GK+e.zb+HK))}},Q.ti=function(e,t){switch(e.hk()){case 20:return t==null?null:new uue(t);case 21:return t==null?null:new Bv(t);case 23:case 22:return t==null?null:RYe(t);case 26:case 24:return t==null?null:fO(UR(t,-128,127)<<24>>24);case 25:return I7e(t);case 27:return GQe(t);case 28:return KQe(t);case 29:return q2e(t);case 32:case 31:return t==null?null:OI(t);case 38:case 37:return t==null?null:new Ff(t);case 40:case 39:return t==null?null:gM(UR(t,uV,SB));case 41:return null;case 42:return null;case 44:case 43:return t==null?null:iP(eB(t));case 49:case 48:return t==null?null:_M(UR(t,Yq,32767)<<16>>16);case 50:return t;default:throw k(new rm(VK+e.xe()+HK))}},z(RK,`EcoreFactoryImpl`,1349),q(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},LDe),Q.gb=!1,Q.hb=!1;var cHt,lHt=!1;z(RK,`EcorePackageImpl`,560),q(1234,1,{851:1},os),Q.Kk=function(){return Ige(),gHt},z(RK,`EcorePackageImpl/1`,1234),q(1243,1,$q,cre),Q.fk=function(e){return P(e,155)},Q.gk=function(e){return H($5,DB,155,e,0,1)},z(RK,`EcorePackageImpl/10`,1243),q(1244,1,$q,lre),Q.fk=function(e){return P(e,197)},Q.gk=function(e){return H(t7,DB,197,e,0,1)},z(RK,`EcorePackageImpl/11`,1244),q(1245,1,$q,ss),Q.fk=function(e){return P(e,58)},Q.gk=function(e){return H(G5,DB,58,e,0,1)},z(RK,`EcorePackageImpl/12`,1245),q(1246,1,$q,ure),Q.fk=function(e){return P(e,411)},Q.gk=function(e){return H(B7,Nbt,62,e,0,1)},z(RK,`EcorePackageImpl/13`,1246),q(1247,1,$q,cs),Q.fk=function(e){return P(e,241)},Q.gk=function(e){return H(n7,DB,241,e,0,1)},z(RK,`EcorePackageImpl/14`,1247),q(1248,1,$q,ls),Q.fk=function(e){return P(e,518)},Q.gk=function(e){return H(H7,DB,2116,e,0,1)},z(RK,`EcorePackageImpl/15`,1248),q(1249,1,$q,us),Q.fk=function(e){return P(e,102)},Q.gk=function(e){return H(U7,Lq,19,e,0,1)},z(RK,`EcorePackageImpl/16`,1249),q(1250,1,$q,ds),Q.fk=function(e){return P(e,179)},Q.gk=function(e){return H(M7,Lq,179,e,0,1)},z(RK,`EcorePackageImpl/17`,1250),q(1251,1,$q,dre),Q.fk=function(e){return P(e,481)},Q.gk=function(e){return H(j7,DB,481,e,0,1)},z(RK,`EcorePackageImpl/18`,1251),q(1252,1,$q,fs),Q.fk=function(e){return P(e,561)},Q.gk=function(e){return H(d9,hbt,561,e,0,1)},z(RK,`EcorePackageImpl/19`,1252),q(1235,1,$q,ps),Q.fk=function(e){return P(e,331)},Q.gk=function(e){return H(N7,Lq,35,e,0,1)},z(RK,`EcorePackageImpl/2`,1235),q(1253,1,$q,fre),Q.fk=function(e){return P(e,248)},Q.gk=function(e){return H(z7,Fbt,89,e,0,1)},z(RK,`EcorePackageImpl/20`,1253),q(1254,1,$q,ms),Q.fk=function(e){return P(e,457)},Q.gk=function(e){return H(W7,DB,850,e,0,1)},z(RK,`EcorePackageImpl/21`,1254),q(1255,1,$q,hs),Q.fk=function(e){return Q_(e)},Q.gk=function(e){return H(nY,X,485,e,8,1)},z(RK,`EcorePackageImpl/22`,1255),q(1256,1,$q,gs),Q.fk=function(e){return P(e,195)},Q.gk=function(e){return H(X9,X,195,e,0,2)},z(RK,`EcorePackageImpl/23`,1256),q(1257,1,$q,_s),Q.fk=function(e){return P(e,222)},Q.gk=function(e){return H(rY,X,222,e,0,1)},z(RK,`EcorePackageImpl/24`,1257),q(1258,1,$q,vs),Q.fk=function(e){return P(e,180)},Q.gk=function(e){return H(iY,X,180,e,0,1)},z(RK,`EcorePackageImpl/25`,1258),q(1259,1,$q,ys),Q.fk=function(e){return P(e,206)},Q.gk=function(e){return H(ZJ,X,206,e,0,1)},z(RK,`EcorePackageImpl/26`,1259),q(1260,1,$q,bs),Q.fk=function(e){return!1},Q.gk=function(e){return H(dUt,DB,2215,e,0,1)},z(RK,`EcorePackageImpl/27`,1260),q(1261,1,$q,xs),Q.fk=function(e){return $_(e)},Q.gk=function(e){return H(aY,X,345,e,7,1)},z(RK,`EcorePackageImpl/28`,1261),q(1262,1,$q,Ss),Q.fk=function(e){return P(e,61)},Q.gk=function(e){return H(pVt,iU,61,e,0,1)},z(RK,`EcorePackageImpl/29`,1262),q(1236,1,$q,pre),Q.fk=function(e){return P(e,519)},Q.gk=function(e){return H(A7,{3:1,4:1,5:1,2033:1},598,e,0,1)},z(RK,`EcorePackageImpl/3`,1236),q(1263,1,$q,mre),Q.fk=function(e){return P(e,582)},Q.gk=function(e){return H(yVt,DB,2039,e,0,1)},z(RK,`EcorePackageImpl/30`,1263),q(1264,1,$q,hre),Q.fk=function(e){return P(e,160)},Q.gk=function(e){return H(mHt,iU,160,e,0,1)},z(RK,`EcorePackageImpl/31`,1264),q(1265,1,$q,gre),Q.fk=function(e){return P(e,76)},Q.gk=function(e){return H(c9,Kbt,76,e,0,1)},z(RK,`EcorePackageImpl/32`,1265),q(1266,1,$q,Cs),Q.fk=function(e){return P(e,161)},Q.gk=function(e){return H(oY,X,161,e,0,1)},z(RK,`EcorePackageImpl/33`,1266),q(1267,1,$q,_re),Q.fk=function(e){return P(e,17)},Q.gk=function(e){return H(sY,X,17,e,0,1)},z(RK,`EcorePackageImpl/34`,1267),q(1268,1,$q,ws),Q.fk=function(e){return P(e,297)},Q.gk=function(e){return H(Lxt,DB,297,e,0,1)},z(RK,`EcorePackageImpl/35`,1268),q(1269,1,$q,Ts),Q.fk=function(e){return P(e,168)},Q.gk=function(e){return H(cY,X,168,e,0,1)},z(RK,`EcorePackageImpl/36`,1269),q(1270,1,$q,vre),Q.fk=function(e){return P(e,85)},Q.gk=function(e){return H(zxt,DB,85,e,0,1)},z(RK,`EcorePackageImpl/37`,1270),q(1271,1,$q,Es),Q.fk=function(e){return P(e,599)},Q.gk=function(e){return H(uHt,DB,599,e,0,1)},z(RK,`EcorePackageImpl/38`,1271),q(1272,1,$q,yre),Q.fk=function(e){return!1},Q.gk=function(e){return H(fUt,DB,2216,e,0,1)},z(RK,`EcorePackageImpl/39`,1272),q(1237,1,$q,Ds),Q.fk=function(e){return P(e,90)},Q.gk=function(e){return H(F7,DB,29,e,0,1)},z(RK,`EcorePackageImpl/4`,1237),q(1273,1,$q,Os),Q.fk=function(e){return P(e,191)},Q.gk=function(e){return H(uY,X,191,e,0,1)},z(RK,`EcorePackageImpl/40`,1273),q(1274,1,$q,ks),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(RK,`EcorePackageImpl/41`,1274),q(1275,1,$q,As),Q.fk=function(e){return P(e,596)},Q.gk=function(e){return H(hVt,DB,596,e,0,1)},z(RK,`EcorePackageImpl/42`,1275),q(1276,1,$q,js),Q.fk=function(e){return!1},Q.gk=function(e){return H(pUt,X,2217,e,0,1)},z(RK,`EcorePackageImpl/43`,1276),q(1277,1,$q,bre),Q.fk=function(e){return P(e,44)},Q.gk=function(e){return H(zJ,YB,44,e,0,1)},z(RK,`EcorePackageImpl/44`,1277),q(1238,1,$q,Ms),Q.fk=function(e){return P(e,142)},Q.gk=function(e){return H(P7,DB,142,e,0,1)},z(RK,`EcorePackageImpl/5`,1238),q(1239,1,$q,xre),Q.fk=function(e){return P(e,156)},Q.gk=function(e){return H(I7,DB,156,e,0,1)},z(RK,`EcorePackageImpl/6`,1239),q(1240,1,$q,Ns),Q.fk=function(e){return P(e,469)},Q.gk=function(e){return H(L7,DB,685,e,0,1)},z(RK,`EcorePackageImpl/7`,1240),q(1241,1,$q,Ps),Q.fk=function(e){return P(e,582)},Q.gk=function(e){return H(R7,DB,694,e,0,1)},z(RK,`EcorePackageImpl/8`,1241),q(1242,1,$q,Fs),Q.fk=function(e){return P(e,480)},Q.gk=function(e){return H(e7,DB,480,e,0,1)},z(RK,`EcorePackageImpl/9`,1242),q(1038,2080,pbt,Cce),Q.Mi=function(e,t){qKe(this,I(t,424))},Q.Qi=function(e,t){e6e(this,e,I(t,424))},z(RK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList`,1038),q(1039,152,Tq,cDe),Q.jj=function(){return this.a.a},z(RK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList/1`,1039),q(1067,1066,{},The),z(`org.eclipse.emf.ecore.plugin`,`EcorePlugin`,1067);var uHt=Mx(qbt,`Resource`);q(799,1524,Jbt),Q.Hl=function(e){},Q.Il=function(e){},Q.El=function(){return!this.a&&(this.a=new Bd(this)),this.a},Q.Fl=function(e){var t,n,r=e.length,i,a;if(r>0)if(HT(0,e.length),e.charCodeAt(0)==47){for(a=new gD(4),i=1,t=1;t0&&(e=(TD(0,n,e.length),e.substr(0,n))));return p8e(this,e)},Q.Gl=function(){return this.c},Q.Ib=function(){var e;return Qm(this.Rm)+`@`+(e=$k(this)>>>0,e.toString(16))+` uri='`+this.d+`'`},Q.b=!1,z(eJ,`ResourceImpl`,799),q(1525,799,Jbt,Vd),z(eJ,`BinaryResourceImpl`,1525),q(1190,708,hq),Q.bj=function(e){return P(e,58)?bke(this,I(e,58)):P(e,599)?new xy(I(e,599).El()):N(e)===N(this.f)?I(e,16).Kc():(_b(),T7.a)},Q.Ob=function(){return Q8e(this)},Q.a=!1,z(Dq,`EcoreUtil/ContentTreeIterator`,1190),q(1526,1190,hq,XTe),Q.bj=function(e){return N(e)===N(this.f)?I(e,15).Kc():new SNe(I(e,58))},z(eJ,`ResourceImpl/5`,1526),q(658,2092,Pbt,Bd),Q.Hc=function(e){return this.i<=4?UF(this,e):P(e,54)&&I(e,54).Jh()==this.a},Q.Mi=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},Q.Oi=function(e,t){e==0?this.a.b||(this.a.b=!0):wD(this,e,t)},Q.Qi=function(e,t){},Q.Ri=function(e,t,n){},Q.Lj=function(){return 2},Q.jj=function(){return this.a},Q.Mj=function(){return!0},Q.Nj=function(e,t){return t=I(e,54).fi(this.a,t),t},Q.Oj=function(e,t){return I(e,54).fi(null,t)},Q.Pj=function(){return!1},Q.Si=function(){return!0},Q.aj=function(e){return H(G5,DB,58,e,0,1)},Q.Yi=function(){return!1},z(eJ,`ResourceImpl/ContentsEList`,658),q(970,2062,aV,Ose),Q.fd=function(e){return this.a.Ki(e)},Q.gc=function(){return this.a.gc()},z(Dq,`AbstractSequentialInternalEList/1`,970);var dHt,fHt,p9,pHt;q(634,1,{},ICe);var m9,h9;z(Dq,`BasicExtendedMetaData`,634),q(1181,1,{},eme),Q.Jl=function(){return null},Q.Kl=function(){return this.a==-2&&nae(this,F2e(this.d,this.b)),this.a},Q.Ll=function(){return null},Q.Ml=function(){return Ew(),Ew(),xY},Q.xe=function(){return this.c==fJ&&rae(this,iXe(this.d,this.b)),this.c},Q.Nl=function(){return 0},Q.a=-2,Q.c=fJ,z(Dq,`BasicExtendedMetaData/EClassExtendedMetaDataImpl`,1181),q(1182,1,{},OMe),Q.Jl=function(){return this.a==(mD(),m9)&&oae(this,crt(this.f,this.b)),this.a},Q.Kl=function(){return 0},Q.Ll=function(){return this.c==(mD(),m9)&&iae(this,lrt(this.f,this.b)),this.c},Q.Ml=function(){return!this.d&&sae(this,aot(this.f,this.b)),this.d},Q.xe=function(){return this.e==fJ&&lae(this,iXe(this.f,this.b)),this.e},Q.Nl=function(){return this.g==-2&&dae(this,R0e(this.f,this.b)),this.g},Q.e=fJ,Q.g=-2,z(Dq,`BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl`,1182),q(1180,1,{},tme),Q.b=!1,Q.c=!1,z(Dq,`BasicExtendedMetaData/EPackageExtendedMetaDataImpl`,1180),q(1183,1,{},kMe),Q.c=-2,Q.e=fJ,Q.f=fJ,z(Dq,`BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl`,1183),q(593,632,Rq,xx),Q.Lj=function(){return this.c},Q.ol=function(){return!1},Q.Wi=function(e,t){return t},Q.c=0,z(Dq,`EDataTypeEList`,593);var mHt=Mx(Dq,`FeatureMap`);q(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},kA),Q.bd=function(e,t){get(this,e,I(t,76))},Q.Fc=function(e){return y9e(this,I(e,76))},Q.Hi=function(e){IEe(this,I(e,76))},Q.Nj=function(e,t){return bbe(this,I(e,76),t)},Q.Oj=function(e,t){return xbe(this,I(e,76),t)},Q.Ti=function(e,t){return kit(this,e,t)},Q.Wi=function(e,t){return qct(this,e,I(t,76))},Q.hd=function(e,t){return Ctt(this,e,I(t,76))},Q.Uj=function(e,t){return Sbe(this,I(e,76),t)},Q.Vj=function(e,t){return Cbe(this,I(e,76),t)},Q.Wj=function(e,t,n){return f0e(this,I(e,76),I(t,76),n)},Q.Zi=function(e,t){return aI(this,e,I(t,76))},Q.Ol=function(e,t){return uit(this,e,t)},Q.cd=function(e,t){var n,r,i,a,o,s,c,l=new GO(t.gc()),u;for(i=t.Kc();i.Ob();)if(r=I(i.Pb(),76),a=r.Lk(),rR(this.e,a))(!a.Si()||!OE(this,a,r.md())&&!UF(l,r))&&OD(l,r);else{for(u=eR(this.e.Dh(),a),n=I(this.g,124),o=!0,s=0;s=0;)if(t=e[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},z(Dq,`BasicFeatureMap/FeatureEIterator`,420),q(676,420,zB,vv),Q.ul=function(){return!0},z(Dq,`BasicFeatureMap/ResolvingFeatureEIterator`,676),q(968,496,Hq,ege),Q.pj=function(){return this},z(Dq,`EContentsEList/1`,968),q(969,496,Hq,xme),Q.ul=function(){return!1},z(Dq,`EContentsEList/2`,969),q(967,287,Uq,tge),Q.wl=function(e){},Q.Ob=function(){return!1},Q.Sb=function(){return!1},z(Dq,`EContentsEList/FeatureIteratorImpl/1`,967),q(840,593,Rq,Tge),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Pz(this),Av(this.e)?(e=this.a,this.a=!1,MA(this.e,new QE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,z(Dq,`EDataTypeEList/Unsettable`,840),q(1958,593,Rq,Ege),Q.Si=function(){return!0},z(Dq,`EDataTypeUniqueEList`,1958),q(1959,840,Rq,Dge),Q.Si=function(){return!0},z(Dq,`EDataTypeUniqueEList/Unsettable`,1959),q(147,83,Rq,_y),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectContainmentEList/Resolving`,147),q(1184,555,Rq,Oge),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectContainmentEList/Unsettable/Resolving`,1184),q(766,14,Rq,zye),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Pz(this),Av(this.e)?(e=this.a,this.a=!1,MA(this.e,new QE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,z(Dq,`EObjectContainmentWithInverseEList/Unsettable`,766),q(1222,766,Rq,Bye),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectContainmentWithInverseEList/Unsettable/Resolving`,1222),q(757,505,Rq,kge),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Pz(this),Av(this.e)?(e=this.a,this.a=!1,MA(this.e,new QE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,z(Dq,`EObjectEList/Unsettable`,757),q(338,505,Rq,vy),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectResolvingEList`,338),q(1844,757,Rq,Age),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectResolvingEList/Unsettable`,1844),q(1527,1,{},Is);var hHt;z(Dq,`EObjectValidator`,1527),q(559,505,Rq,NS),Q.il=function(){return this.d},Q.jl=function(){return this.b},Q.Mj=function(){return!0},Q.ml=function(){return!0},Q.b=0,z(Dq,`EObjectWithInverseEList`,559),q(1225,559,Rq,Vye),Q.ll=function(){return!0},z(Dq,`EObjectWithInverseEList/ManyInverse`,1225),q(635,559,Rq,Hye),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Pz(this),Av(this.e)?(e=this.a,this.a=!1,MA(this.e,new QE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,z(Dq,`EObjectWithInverseEList/Unsettable`,635),q(1224,635,Rq,Wye),Q.ll=function(){return!0},z(Dq,`EObjectWithInverseEList/Unsettable/ManyInverse`,1224),q(767,559,Rq,Uye),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectWithInverseResolvingEList`,767),q(32,767,Rq,Ib),Q.ll=function(){return!0},z(Dq,`EObjectWithInverseResolvingEList/ManyInverse`,32),q(768,635,Rq,Gye),Q.nl=function(){return!0},Q.Wi=function(e,t){return vL(this,e,I(t,58))},z(Dq,`EObjectWithInverseResolvingEList/Unsettable`,768),q(1223,768,Rq,Kye),Q.ll=function(){return!0},z(Dq,`EObjectWithInverseResolvingEList/Unsettable/ManyInverse`,1223),q(1185,632,Rq),Q.Li=function(){return(this.b&1792)==0},Q.Ni=function(){this.b|=1},Q.kl=function(){return(this.b&4)!=0},Q.Mj=function(){return(this.b&40)!=0},Q.ll=function(){return(this.b&16)!=0},Q.ml=function(){return(this.b&8)!=0},Q.nl=function(){return(this.b&kq)!=0},Q.al=function(){return(this.b&32)!=0},Q.ol=function(){return(this.b&nV)!=0},Q.fk=function(e){return this.d?aPe(this.d,e):this.Lk().Hk().fk(e)},Q.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},Q.Si=function(){return(this.b&128)!=0},Q.Gk=function(){var e;Pz(this),this.b&2&&(Av(this.e)?(e=(this.b&1)!=0,this.b&=-2,Nf(this,new QE(this.e,2,EN(this.e.Dh(),this.Lk()),e,!1))):this.b&=-2)},Q.Yi=function(){return(this.b&1536)==0},Q.b=0,z(Dq,`EcoreEList/Generic`,1185),q(1186,1185,Rq,eke),Q.Lk=function(){return this.a},z(Dq,`EcoreEList/Dynamic`,1186),q(765,66,mq,Hd),Q.aj=function(e){return mk(this.a.a,e)},z(Dq,`EcoreEMap/1`,765),q(764,83,Rq,eEe),Q.Mi=function(e,t){ZP(this.b,I(t,136))},Q.Oi=function(e,t){iUe(this.b)},Q.Pi=function(e,t,n){var r;++(r=this.b,I(t,136),r).e},Q.Qi=function(e,t){BM(this.b,I(t,136))},Q.Ri=function(e,t,n){BM(this.b,I(n,136)),N(n)===N(t)&&I(n,136).Ci(She(I(t,136).ld())),ZP(this.b,I(t,136))},z(Dq,`EcoreEMap/DelegateEObjectContainmentEList`,764),q(1220,141,Abt,dVe),z(Dq,`EcoreEMap/Unsettable`,1220),q(1221,764,Rq,qye),Q.Ni=function(){this.a=!0},Q.Qj=function(){return this.a},Q.Gk=function(){var e;Pz(this),Av(this.e)?(e=this.a,this.a=!1,MA(this.e,new QE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,z(Dq,`EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList`,1221),q(1189,215,$V,zEe),Q.a=!1,Q.b=!1,z(Dq,`EcoreUtil/Copier`,1189),q(759,1,NB,SNe),Q.Nb=function(e){LS(this,e)},Q.Ob=function(){return hYe(this)},Q.Pb=function(){var e;return hYe(this),e=this.b,this.b=null,e},Q.Qb=function(){this.a.Qb()},z(Dq,`EcoreUtil/ProperContentIterator`,759),q(1528,1527,{},Hc);var gHt;z(Dq,`EcoreValidator`,1528);var _Ht;Mx(Dq,`FeatureMapUtil/Validator`),q(1295,1,{2041:1},Ls),Q.am=function(e){return!0},z(Dq,`FeatureMapUtil/1`,1295),q(773,1,{2041:1},Aut),Q.am=function(e){var t;return this.c==e?!0:(t=fb(SC(this.a,e)),t==null?yrt(this,e)?(rIe(this.a,e,(Vy(),tY)),!0):(rIe(this.a,e,(Vy(),eY)),!1):t==(Vy(),tY))},Q.e=!1;var vHt;z(Dq,`FeatureMapUtil/BasicValidator`,773),q(774,45,$V,$he),z(Dq,`FeatureMapUtil/BasicValidator/Cache`,774),q(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},J_),Q.bd=function(e,t){Ptt(this.c,this.b,e,t)},Q.Fc=function(e){return uit(this.c,this.b,e)},Q.cd=function(e,t){return Sst(this.c,this.b,e,t)},Q.Gc=function(e){return ay(this,e)},Q.Gi=function(e,t){Ize(this.c,this.b,e,t)},Q.Wk=function(e,t){return hrt(this.c,this.b,e,t)},Q.$i=function(e){return xz(this.c,this.b,e,!1)},Q.Ii=function(){return $me(this.c,this.b)},Q.Ji=function(){return ehe(this.c,this.b)},Q.Ki=function(e){return gLe(this.c,this.b,e)},Q.Xk=function(e,t){return Xve(this,e,t)},Q.$b=function(){Pf(this)},Q.Hc=function(e){return OE(this.c,this.b,e)},Q.Ic=function(e){return EHe(this.c,this.b,e)},Q.Xb=function(e){return xz(this.c,this.b,e,!0)},Q.Fk=function(e){return this},Q.dd=function(e){return TPe(this.c,this.b,e)},Q.dc=function(){return Y_(this)},Q.Qj=function(){return!AN(this.c,this.b)},Q.Kc=function(){return rze(this.c,this.b)},Q.ed=function(){return ize(this.c,this.b)},Q.fd=function(e){return Eqe(this.c,this.b,e)},Q.Ti=function(e,t){return Fat(this.c,this.b,e,t)},Q.Ui=function(e,t){xLe(this.c,this.b,e,t)},Q.gd=function(e){return g3e(this.c,this.b,e)},Q.Mc=function(e){return nit(this.c,this.b,e)},Q.hd=function(e,t){return lot(this.c,this.b,e,t)},Q.Wb=function(e){_L(this.c,this.b),ay(this,I(e,15))},Q.gc=function(){return Tqe(this.c,this.b)},Q.Pc=function(){return jMe(this.c,this.b)},Q.Qc=function(e){return EPe(this.c,this.b,e)},Q.Ib=function(){var e,t=new ym;for(t.a+=`[`,e=$me(this.c,this.b);Hj(e);)sv(t,Dy(RP(e))),Hj(e)&&(t.a+=EB);return t.a+=`]`,t.a},Q.Gk=function(){_L(this.c,this.b)},z(Dq,`FeatureMapUtil/FeatureEList`,509),q(644,39,Tq,IE),Q.hj=function(e){return jM(this,e)},Q.mj=function(e){var t,n,r,i,a,o,s;switch(this.d){case 1:case 2:if(a=e.jj(),N(a)===N(this.c)&&jM(this,null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0;break;case 3:switch(i=e.gj(),i){case 3:if(a=e.jj(),N(a)===N(this.c)&&jM(this,null)==e.hj(null))return this.d=5,t=new GO(2),OD(t,this.g),OD(t,e.ij()),this.g=t,!0;break}break;case 5:switch(i=e.gj(),i){case 3:if(a=e.jj(),N(a)===N(this.c)&&jM(this,null)==e.hj(null))return n=I(this.g,16),n.Fc(e.ij()),!0;break}break;case 4:switch(i=e.gj(),i){case 3:if(a=e.jj(),N(a)===N(this.c)&&jM(this,null)==e.hj(null))return this.d=1,this.g=e.ij(),!0;break;case 4:if(a=e.jj(),N(a)===N(this.c)&&jM(this,null)==e.hj(null))return this.d=6,s=new GO(2),OD(s,this.n),OD(s,e.kj()),this.n=s,o=W(j(q9,1),DV,28,15,[this.o,e.lj()]),this.g=o,!0;break}break;case 6:switch(i=e.gj(),i){case 4:if(a=e.jj(),N(a)===N(this.c)&&jM(this,null)==e.hj(null))return n=I(this.n,16),n.Fc(e.kj()),o=I(this.g,53),r=H(q9,DV,28,o.length+1,15,1),$R(o,0,r,0,o.length),r[o.length]=e.lj(),this.g=r,!0;break}break}return!1},z(Dq,`FeatureMapUtil/FeatureENotificationImpl`,644),q(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},jx),Q.Ol=function(e,t){return uit(this.c,e,t)},Q.Pl=function(e,t,n){return hrt(this.c,e,t,n)},Q.Ql=function(e,t,n){return Qot(this.c,e,t,n)},Q.Rl=function(){return this},Q.Sl=function(e,t){return bz(this.c,e,t)},Q.Tl=function(e){return I(xz(this.c,this.b,e,!1),76).Lk()},Q.Ul=function(e){return I(xz(this.c,this.b,e,!1),76).md()},Q.Vl=function(){return this.a},Q.Wl=function(e){return!AN(this.c,e)},Q.Xl=function(e,t){wz(this.c,e,t)},Q.Yl=function(e){return CVe(this.c,e)},Q.Zl=function(e){vQe(this.c,e)},z(Dq,`FeatureMapUtil/FeatureFeatureMap`,564),q(1294,1,kbt,$pe),Q.Fk=function(e){return xz(this.b,this.a,-1,e)},Q.Qj=function(){return!AN(this.b,this.a)},Q.Wb=function(e){wz(this.b,this.a,e)},Q.Gk=function(){_L(this.b,this.a)},z(Dq,`FeatureMapUtil/FeatureValue`,1294);var g9,yHt,bHt,_9,xHt,v9=Mx(mJ,`AnyType`);q(680,63,dV,um),z(mJ,`InvalidDatatypeValueException`,680);var y9=Mx(mJ,Qbt),b9=Mx(mJ,$bt),SHt=Mx(mJ,ext),CHt,x9,wHt,S9,THt,EHt,DHt,OHt,kHt,AHt,jHt,MHt,NHt,PHt,FHt,C9,IHt,w9,T9,LHt,E9,D9,O9,RHt,k9,A9;q(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},rce),Q.Lh=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new kA(this,0)),this.c):(!this.c&&(this.c=new kA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new kA(this,0)),I(MT(this.c,(zz(),S9)),160)):(!this.c&&(this.c=new kA(this,0)),I(I(MT(this.c,(zz(),S9)),160),220)).Vl();case 2:return n?(!this.b&&(this.b=new kA(this,2)),this.b):(!this.b&&(this.b=new kA(this,2)),this.b.b)}return WD(this,e-xC(this.ii()),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():this.ii(),e),t,n)},Q.Uh=function(e,t,n){var r;switch(t){case 0:return!this.c&&(this.c=new kA(this,0)),LR(this.c,e,n);case 1:return(!this.c&&(this.c=new kA(this,0)),I(I(MT(this.c,(zz(),S9)),160),71)).Xk(e,n);case 2:return!this.b&&(this.b=new kA(this,2)),LR(this.b,e,n)}return r=I(PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():this.ii(),t),69),r.wk().Ak(this,GRe(this),t-xC(this.ii()),e,n)},Q.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new kA(this,0)),I(MT(this.c,(zz(),S9)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return wE(this,e-xC(this.ii()),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():this.ii(),e))},Q.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new kA(this,0)),eC(this.c,t);return;case 1:(!this.c&&(this.c=new kA(this,0)),I(I(MT(this.c,(zz(),S9)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new kA(this,2)),eC(this.b,t);return}gN(this,e-xC(this.ii()),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():this.ii(),e),t)},Q.ii=function(){return zz(),wHt},Q.ki=function(e){switch(e){case 0:!this.c&&(this.c=new kA(this,0)),Pz(this.c);return;case 1:(!this.c&&(this.c=new kA(this,0)),I(MT(this.c,(zz(),S9)),160)).$b();return;case 2:!this.b&&(this.b=new kA(this,2)),Pz(this.b);return}DM(this,e-xC(this.ii()),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():this.ii(),e))},Q.Ib=function(){var e;return this.j&4?AL(this):(e=new Oy(AL(this)),e.a+=` (mixed: `,ov(e,this.c),e.a+=`, anyAttribute: `,ov(e,this.b),e.a+=`)`,e.a)},z(hJ,`AnyTypeImpl`,844),q(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},Ore),Q.Lh=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return WD(this,e-xC((zz(),C9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():C9,e),t,n)},Q.Wh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return wE(this,e-xC((zz(),C9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():C9,e))},Q.bi=function(e,t){switch(e){case 0:Pl(this,pb(t));return;case 1:hae(this,pb(t));return}gN(this,e-xC((zz(),C9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():C9,e),t)},Q.ii=function(){return zz(),C9},Q.ki=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}DM(this,e-xC((zz(),C9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():C9,e))},Q.Ib=function(){var e;return this.j&4?AL(this):(e=new Oy(AL(this)),e.a+=` (data: `,sv(e,this.a),e.a+=`, target: `,sv(e,this.b),e.a+=`)`,e.a)},Q.a=null,Q.b=null,z(hJ,`ProcessingInstructionImpl`,681),q(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},Cp),Q.Lh=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new kA(this,0)),this.c):(!this.c&&(this.c=new kA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new kA(this,0)),I(MT(this.c,(zz(),S9)),160)):(!this.c&&(this.c=new kA(this,0)),I(I(MT(this.c,(zz(),S9)),160),220)).Vl();case 2:return n?(!this.b&&(this.b=new kA(this,2)),this.b):(!this.b&&(this.b=new kA(this,2)),this.b.b);case 3:return!this.c&&(this.c=new kA(this,0)),pb(bz(this.c,(zz(),T9),!0));case 4:return Yye(this.a,(!this.c&&(this.c=new kA(this,0)),pb(bz(this.c,(zz(),T9),!0))));case 5:return this.a}return WD(this,e-xC((zz(),w9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():w9,e),t,n)},Q.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new kA(this,0)),I(MT(this.c,(zz(),S9)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new kA(this,0)),pb(bz(this.c,(zz(),T9),!0))!=null;case 4:return Yye(this.a,(!this.c&&(this.c=new kA(this,0)),pb(bz(this.c,(zz(),T9),!0))))!=null;case 5:return!!this.a}return wE(this,e-xC((zz(),w9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():w9,e))},Q.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new kA(this,0)),eC(this.c,t);return;case 1:(!this.c&&(this.c=new kA(this,0)),I(I(MT(this.c,(zz(),S9)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new kA(this,2)),eC(this.b,t);return;case 3:AMe(this,pb(t));return;case 4:AMe(this,Jye(this.a,t));return;case 5:mae(this,I(t,156));return}gN(this,e-xC((zz(),w9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():w9,e),t)},Q.ii=function(){return zz(),w9},Q.ki=function(e){switch(e){case 0:!this.c&&(this.c=new kA(this,0)),Pz(this.c);return;case 1:(!this.c&&(this.c=new kA(this,0)),I(MT(this.c,(zz(),S9)),160)).$b();return;case 2:!this.b&&(this.b=new kA(this,2)),Pz(this.b);return;case 3:!this.c&&(this.c=new kA(this,0)),wz(this.c,(zz(),T9),null);return;case 4:AMe(this,Jye(this.a,null));return;case 5:this.a=null;return}DM(this,e-xC((zz(),w9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():w9,e))},z(hJ,`SimpleAnyTypeImpl`,682),q(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},ice),Q.Lh=function(e,t,n){switch(e){case 0:return n?(!this.a&&(this.a=new kA(this,0)),this.a):(!this.a&&(this.a=new kA(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new ND((hB(),o9),d9,this,1)),this.b):(!this.b&&(this.b=new ND((hB(),o9),d9,this,1)),SD(this.b));case 2:return n?(!this.c&&(this.c=new ND((hB(),o9),d9,this,2)),this.c):(!this.c&&(this.c=new ND((hB(),o9),d9,this,2)),SD(this.c));case 3:return!this.a&&(this.a=new kA(this,0)),MT(this.a,(zz(),D9));case 4:return!this.a&&(this.a=new kA(this,0)),MT(this.a,(zz(),O9));case 5:return!this.a&&(this.a=new kA(this,0)),MT(this.a,(zz(),k9));case 6:return!this.a&&(this.a=new kA(this,0)),MT(this.a,(zz(),A9))}return WD(this,e-xC((zz(),E9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():E9,e),t,n)},Q.Uh=function(e,t,n){var r;switch(t){case 0:return!this.a&&(this.a=new kA(this,0)),LR(this.a,e,n);case 1:return!this.b&&(this.b=new ND((hB(),o9),d9,this,1)),Vb(this.b,e,n);case 2:return!this.c&&(this.c=new ND((hB(),o9),d9,this,2)),Vb(this.c,e,n);case 5:return!this.a&&(this.a=new kA(this,0)),Xve(MT(this.a,(zz(),k9)),e,n)}return r=I(PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():(zz(),E9),t),69),r.wk().Ak(this,GRe(this),t-xC((zz(),E9)),e,n)},Q.Wh=function(e){switch(e){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 kA(this,0)),!Y_(MT(this.a,(zz(),D9)));case 4:return!this.a&&(this.a=new kA(this,0)),!Y_(MT(this.a,(zz(),O9)));case 5:return!this.a&&(this.a=new kA(this,0)),!Y_(MT(this.a,(zz(),k9)));case 6:return!this.a&&(this.a=new kA(this,0)),!Y_(MT(this.a,(zz(),A9)))}return wE(this,e-xC((zz(),E9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():E9,e))},Q.bi=function(e,t){switch(e){case 0:!this.a&&(this.a=new kA(this,0)),eC(this.a,t);return;case 1:!this.b&&(this.b=new ND((hB(),o9),d9,this,1)),SA(this.b,t);return;case 2:!this.c&&(this.c=new ND((hB(),o9),d9,this,2)),SA(this.c,t);return;case 3:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),D9))),!this.a&&(this.a=new kA(this,0)),ay(MT(this.a,D9),I(t,16));return;case 4:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),O9))),!this.a&&(this.a=new kA(this,0)),ay(MT(this.a,O9),I(t,16));return;case 5:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),k9))),!this.a&&(this.a=new kA(this,0)),ay(MT(this.a,k9),I(t,16));return;case 6:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),A9))),!this.a&&(this.a=new kA(this,0)),ay(MT(this.a,A9),I(t,16));return}gN(this,e-xC((zz(),E9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():E9,e),t)},Q.ii=function(){return zz(),E9},Q.ki=function(e){switch(e){case 0:!this.a&&(this.a=new kA(this,0)),Pz(this.a);return;case 1:!this.b&&(this.b=new ND((hB(),o9),d9,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new ND((hB(),o9),d9,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),D9)));return;case 4:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),O9)));return;case 5:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),k9)));return;case 6:!this.a&&(this.a=new kA(this,0)),Pf(MT(this.a,(zz(),A9)));return}DM(this,e-xC((zz(),E9)),PO(this.j&2?(!this.k&&(this.k=new Ic),this.k).Nk():E9,e))},Q.Ib=function(){var e;return this.j&4?AL(this):(e=new Oy(AL(this)),e.a+=` (mixed: `,ov(e,this.a),e.a+=`)`,e.a)},z(hJ,`XMLTypeDocumentRootImpl`,683),q(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},Rs),Q.ri=function(e,t){switch(e.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:mN(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return pb(t);case 6:return vve(I(t,195));case 12:case 47:case 49:case 11:return Clt(this,e,t);case 13:return t==null?null:Dst(I(t,247));case 15:case 14:return t==null?null:AEe(A(F(t)));case 17:return p0e((zz(),t));case 18:return p0e(t);case 21:case 20:return t==null?null:jEe(I(t,161).a);case 27:return yve(I(t,195));case 30:return yQe((zz(),I(t,15)));case 31:return yQe(I(t,15));case 40:return xve((zz(),t));case 42:return m0e((zz(),t));case 43:return m0e(t);case 59:case 48:return bve((zz(),t));default:throw k(new rm(VK+e.xe()+HK))}},Q.si=function(e){var t,n,r,i,a;switch(e.G==-1&&(e.G=(n=KO(e),n?zP(n.vi(),e):-1)),e.G){case 0:return t=new rce,t;case 1:return r=new Ore,r;case 2:return i=new Cp,i;case 3:return a=new ice,a;default:throw k(new rm(GK+e.zb+HK))}},Q.ti=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;switch(e.hk()){case 5:case 52:case 4:return t;case 6:return VXe(t);case 8:case 7:return t==null?null:D0e(t);case 9:return t==null?null:fO(UR((r=Sz(t,!0),r.length>0&&(HT(0,r.length),r.charCodeAt(0)==43)?(HT(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:fO(UR((i=Sz(t,!0),i.length>0&&(HT(0,i.length),i.charCodeAt(0)==43)?(HT(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 11:return pb(aB(this,(zz(),DHt),t));case 12:return pb(aB(this,(zz(),OHt),t));case 13:return t==null?null:new uue(Sz(t,!0));case 15:case 14:return w9e(t);case 16:return pb(aB(this,(zz(),kHt),t));case 17:return DYe((zz(),t));case 18:return DYe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Sz(t,!0);case 21:case 20:return L9e(t);case 22:return pb(aB(this,(zz(),AHt),t));case 23:return pb(aB(this,(zz(),jHt),t));case 24:return pb(aB(this,(zz(),MHt),t));case 25:return pb(aB(this,(zz(),NHt),t));case 26:return pb(aB(this,(zz(),PHt),t));case 27:return CXe(t);case 30:return OYe((zz(),t));case 31:return OYe(t);case 32:return t==null?null:gM(UR((u=Sz(t,!0),u.length>0&&(HT(0,u.length),u.charCodeAt(0)==43)?(HT(1,u.length+1),u.substr(1)):u),uV,SB));case 33:return t==null?null:new Bv((d=Sz(t,!0),d.length>0&&(HT(0,d.length),d.charCodeAt(0)==43)?(HT(1,d.length+1),d.substr(1)):d));case 34:return t==null?null:gM(UR((f=Sz(t,!0),f.length>0&&(HT(0,f.length),f.charCodeAt(0)==43)?(HT(1,f.length+1),f.substr(1)):f),uV,SB));case 36:return t==null?null:iP(eB((p=Sz(t,!0),p.length>0&&(HT(0,p.length),p.charCodeAt(0)==43)?(HT(1,p.length+1),p.substr(1)):p)));case 37:return t==null?null:iP(eB((m=Sz(t,!0),m.length>0&&(HT(0,m.length),m.charCodeAt(0)==43)?(HT(1,m.length+1),m.substr(1)):m)));case 40:return eQe((zz(),t));case 42:return kYe((zz(),t));case 43:return kYe(t);case 44:return t==null?null:new Bv((h=Sz(t,!0),h.length>0&&(HT(0,h.length),h.charCodeAt(0)==43)?(HT(1,h.length+1),h.substr(1)):h));case 45:return t==null?null:new Bv((g=Sz(t,!0),g.length>0&&(HT(0,g.length),g.charCodeAt(0)==43)?(HT(1,g.length+1),g.substr(1)):g));case 46:return Sz(t,!1);case 47:return pb(aB(this,(zz(),FHt),t));case 59:case 48:return $Ze((zz(),t));case 49:return pb(aB(this,(zz(),IHt),t));case 50:return t==null?null:_M(UR((_=Sz(t,!0),_.length>0&&(HT(0,_.length),_.charCodeAt(0)==43)?(HT(1,_.length+1),_.substr(1)):_),Yq,32767)<<16>>16);case 51:return t==null?null:_M(UR((a=Sz(t,!0),a.length>0&&(HT(0,a.length),a.charCodeAt(0)==43)?(HT(1,a.length+1),a.substr(1)):a),Yq,32767)<<16>>16);case 53:return pb(aB(this,(zz(),LHt),t));case 55:return t==null?null:_M(UR((o=Sz(t,!0),o.length>0&&(HT(0,o.length),o.charCodeAt(0)==43)?(HT(1,o.length+1),o.substr(1)):o),Yq,32767)<<16>>16);case 56:return t==null?null:_M(UR((s=Sz(t,!0),s.length>0&&(HT(0,s.length),s.charCodeAt(0)==43)?(HT(1,s.length+1),s.substr(1)):s),Yq,32767)<<16>>16);case 57:return t==null?null:iP(eB((c=Sz(t,!0),c.length>0&&(HT(0,c.length),c.charCodeAt(0)==43)?(HT(1,c.length+1),c.substr(1)):c)));case 58:return t==null?null:iP(eB((l=Sz(t,!0),l.length>0&&(HT(0,l.length),l.charCodeAt(0)==43)?(HT(1,l.length+1),l.substr(1)):l)));case 60:return t==null?null:gM(UR((n=Sz(t,!0),n.length>0&&(HT(0,n.length),n.charCodeAt(0)==43)?(HT(1,n.length+1),n.substr(1)):n),uV,SB));case 61:return t==null?null:gM(UR(Sz(t,!0),uV,SB));default:throw k(new rm(VK+e.xe()+HK))}};var zHt,BHt,VHt,HHt;z(hJ,`XMLTypeFactoryImpl`,2028),q(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},RDe),Q.N=!1,Q.O=!1;var UHt=!1;z(hJ,`XMLTypePackageImpl`,594),q(1961,1,{851:1},zs),Q.Kk=function(){return Aat(),lUt},z(hJ,`XMLTypePackageImpl/1`,1961),q(1970,1,$q,Sre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/10`,1970),q(1971,1,$q,Cre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/11`,1971),q(1972,1,$q,wre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/12`,1972),q(1973,1,$q,Tre),Q.fk=function(e){return $_(e)},Q.gk=function(e){return H(aY,X,345,e,7,1)},z(hJ,`XMLTypePackageImpl/13`,1973),q(1974,1,$q,Ere),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/14`,1974),q(1975,1,$q,Bs),Q.fk=function(e){return P(e,15)},Q.gk=function(e){return H(RJ,iU,15,e,0,1)},z(hJ,`XMLTypePackageImpl/15`,1975),q(1976,1,$q,Vs),Q.fk=function(e){return P(e,15)},Q.gk=function(e){return H(RJ,iU,15,e,0,1)},z(hJ,`XMLTypePackageImpl/16`,1976),q(1977,1,$q,Dre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/17`,1977),q(1978,1,$q,kre),Q.fk=function(e){return P(e,161)},Q.gk=function(e){return H(oY,X,161,e,0,1)},z(hJ,`XMLTypePackageImpl/18`,1978),q(1979,1,$q,Are),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/19`,1979),q(1962,1,$q,Hs),Q.fk=function(e){return P(e,857)},Q.gk=function(e){return H(v9,DB,857,e,0,1)},z(hJ,`XMLTypePackageImpl/2`,1962),q(1980,1,$q,Us),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/20`,1980),q(1981,1,$q,Ws),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/21`,1981),q(1982,1,$q,Gs),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/22`,1982),q(1983,1,$q,Ks),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/23`,1983),q(1984,1,$q,qs),Q.fk=function(e){return P(e,195)},Q.gk=function(e){return H(X9,X,195,e,0,2)},z(hJ,`XMLTypePackageImpl/24`,1984),q(1985,1,$q,jre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/25`,1985),q(1986,1,$q,Js),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/26`,1986),q(1987,1,$q,Ys),Q.fk=function(e){return P(e,15)},Q.gk=function(e){return H(RJ,iU,15,e,0,1)},z(hJ,`XMLTypePackageImpl/27`,1987),q(1988,1,$q,Xs),Q.fk=function(e){return P(e,15)},Q.gk=function(e){return H(RJ,iU,15,e,0,1)},z(hJ,`XMLTypePackageImpl/28`,1988),q(1989,1,$q,Zs),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/29`,1989),q(1963,1,$q,Mre),Q.fk=function(e){return P(e,681)},Q.gk=function(e){return H(y9,DB,2119,e,0,1)},z(hJ,`XMLTypePackageImpl/3`,1963),q(1990,1,$q,Qs),Q.fk=function(e){return P(e,17)},Q.gk=function(e){return H(sY,X,17,e,0,1)},z(hJ,`XMLTypePackageImpl/30`,1990),q(1991,1,$q,$s),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/31`,1991),q(1992,1,$q,Nre),Q.fk=function(e){return P(e,168)},Q.gk=function(e){return H(cY,X,168,e,0,1)},z(hJ,`XMLTypePackageImpl/32`,1992),q(1993,1,$q,Pre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/33`,1993),q(1994,1,$q,Fre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/34`,1994),q(1995,1,$q,ec),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/35`,1995),q(1996,1,$q,Ire),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/36`,1996),q(1997,1,$q,Lre),Q.fk=function(e){return P(e,15)},Q.gk=function(e){return H(RJ,iU,15,e,0,1)},z(hJ,`XMLTypePackageImpl/37`,1997),q(1998,1,$q,tc),Q.fk=function(e){return P(e,15)},Q.gk=function(e){return H(RJ,iU,15,e,0,1)},z(hJ,`XMLTypePackageImpl/38`,1998),q(1999,1,$q,nc),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/39`,1999),q(1964,1,$q,Rre),Q.fk=function(e){return P(e,682)},Q.gk=function(e){return H(b9,DB,2120,e,0,1)},z(hJ,`XMLTypePackageImpl/4`,1964),q(2e3,1,$q,zre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/40`,2e3),q(2001,1,$q,rc),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/41`,2001),q(2002,1,$q,ic),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/42`,2002),q(2003,1,$q,Bre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/43`,2003),q(2004,1,$q,ac),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/44`,2004),q(2005,1,$q,Vre),Q.fk=function(e){return P(e,191)},Q.gk=function(e){return H(uY,X,191,e,0,1)},z(hJ,`XMLTypePackageImpl/45`,2005),q(2006,1,$q,oc),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/46`,2006),q(2007,1,$q,Hre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/47`,2007),q(2008,1,$q,Ure),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/48`,2008),q(2009,1,$q,Wre),Q.fk=function(e){return P(e,191)},Q.gk=function(e){return H(uY,X,191,e,0,1)},z(hJ,`XMLTypePackageImpl/49`,2009),q(1965,1,$q,Gre),Q.fk=function(e){return P(e,683)},Q.gk=function(e){return H(SHt,DB,2121,e,0,1)},z(hJ,`XMLTypePackageImpl/5`,1965),q(2010,1,$q,Kre),Q.fk=function(e){return P(e,168)},Q.gk=function(e){return H(cY,X,168,e,0,1)},z(hJ,`XMLTypePackageImpl/50`,2010),q(2011,1,$q,sc),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/51`,2011),q(2012,1,$q,qre),Q.fk=function(e){return P(e,17)},Q.gk=function(e){return H(sY,X,17,e,0,1)},z(hJ,`XMLTypePackageImpl/52`,2012),q(1966,1,$q,Jre),Q.fk=function(e){return Z_(e)},Q.gk=function(e){return H(dY,X,2,e,6,1)},z(hJ,`XMLTypePackageImpl/6`,1966),q(1967,1,$q,cc),Q.fk=function(e){return P(e,195)},Q.gk=function(e){return H(X9,X,195,e,0,2)},z(hJ,`XMLTypePackageImpl/7`,1967),q(1968,1,$q,lc),Q.fk=function(e){return Q_(e)},Q.gk=function(e){return H(nY,X,485,e,8,1)},z(hJ,`XMLTypePackageImpl/8`,1968),q(1969,1,$q,uc),Q.fk=function(e){return P(e,222)},Q.gk=function(e){return H(rY,X,222,e,0,1)},z(hJ,`XMLTypePackageImpl/9`,1969);var j9,M9,N9,P9,$;q(55,63,dV,dm),z(SJ,`RegEx/ParseException`,55),q(836,1,{},dc),Q.bm=function(e){return en*16)throw k(new dm(_B((Yv(),ebt))));n=n*16+i}while(!0);if(this.a!=125)throw k(new dm(_B((Yv(),tbt))));if(n>CJ)throw k(new dm(_B((Yv(),nbt))));e=n}else{if(i=0,this.c!=0||(i=iF(this.a))<0||(n=i,lB(this),this.c!=0||(i=iF(this.a))<0))throw k(new dm(_B((Yv(),Cq))));n=n*16+i,e=n}break;case 117:if(r=0,lB(this),this.c!=0||(r=iF(this.a))<0||(t=r,lB(this),this.c!=0||(r=iF(this.a))<0)||(t=t*16+r,lB(this),this.c!=0||(r=iF(this.a))<0)||(t=t*16+r,lB(this),this.c!=0||(r=iF(this.a))<0))throw k(new dm(_B((Yv(),Cq))));t=t*16+r,e=t;break;case 118:if(lB(this),this.c!=0||(r=iF(this.a))<0||(t=r,lB(this),this.c!=0||(r=iF(this.a))<0)||(t=t*16+r,lB(this),this.c!=0||(r=iF(this.a))<0)||(t=t*16+r,lB(this),this.c!=0||(r=iF(this.a))<0)||(t=t*16+r,lB(this),this.c!=0||(r=iF(this.a))<0)||(t=t*16+r,lB(this),this.c!=0||(r=iF(this.a))<0))throw k(new dm(_B((Yv(),Cq))));if(t=t*16+r,t>CJ)throw k(new dm(_B((Yv(),`parser.descappe.4`))));e=t;break;case 65:case 90:case 122:throw k(new dm(_B((Yv(),rbt))))}return e},Q.dm=function(e){var t,n;switch(e){case 100:n=(this.e&32)==32?tB(`Nd`,!0):(pB(),B9);break;case 68:n=(this.e&32)==32?tB(`Nd`,!1):(pB(),QHt);break;case 119:n=(this.e&32)==32?tB(`IsWord`,!0):(pB(),U9);break;case 87:n=(this.e&32)==32?tB(`IsWord`,!1):(pB(),eUt);break;case 115:n=(this.e&32)==32?tB(`IsSpace`,!0):(pB(),H9);break;case 83:n=(this.e&32)==32?tB(`IsSpace`,!1):(pB(),$Ht);break;default:throw k(new Hp((t=e,bxt+t.toString(16))))}return n},Q.em=function(e){var t,n,r,i,a,o,s,c,l,u,d,f;for(this.b=1,lB(this),t=null,this.c==0&&this.a==94?(lB(this),e?u=(pB(),pB(),++W9,new JT(5)):(t=(pB(),pB(),++W9,new JT(4)),iR(t,0,CJ),u=(++W9,new JT(4)))):u=(pB(),pB(),++W9,new JT(4)),i=!0;(f=this.c)!=1&&!(f==0&&this.a==93&&!i);){if(i=!1,n=this.a,r=!1,f==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:Cz(u,this.dm(n)),r=!0;break;case 105:case 73:case 99:case 67:n=this.um(u,n),n<0&&(r=!0);break;case 112:case 80:if(d=E8e(this,n),!d)throw k(new dm(_B((Yv(),bq))));Cz(u,d),r=!0;break;default:n=this.cm()}else if(f==20){if(o=Xy(this.i,58,this.d),o<0)throw k(new dm(_B((Yv(),Kyt))));if(s=!0,iw(this.i,this.d)==94&&(++this.d,s=!1),a=Jw(this.i,this.d,o),c=LLe(a,s,(this.e&512)==512),!c)throw k(new dm(_B((Yv(),qyt))));if(Cz(u,c),r=!0,o+1>=this.j||iw(this.i,o+1)!=93)throw k(new dm(_B((Yv(),Kyt))));this.d=o+2}if(lB(this),!r)if(this.c!=0||this.a!=45)iR(u,n,n);else{if(lB(this),(f=this.c)==1)throw k(new dm(_B((Yv(),xq))));f==0&&this.a==93?(iR(u,n,n),iR(u,45,45)):(l=this.a,f==10&&(l=this.cm()),lB(this),iR(u,n,l))}(this.e&nV)==nV&&this.c==0&&this.a==44&&lB(this)}if(this.c==1)throw k(new dm(_B((Yv(),xq))));return t&&(Hz(t,u),u=t),kL(u),jz(u),this.b=0,lB(this),u},Q.fm=function(){for(var e,t,n=this.em(!1),r;(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(lB(this),this.c!=9)throw k(new dm(_B((Yv(),Zyt))));if(t=this.em(!1),r==4)Cz(n,t);else if(e==45)Hz(n,t);else if(e==38)clt(n,t);else throw k(new Hp(`ASSERT`))}else throw k(new dm(_B((Yv(),Qyt))));return lB(this),n},Q.gm=function(){var e=this.a-48,t=(pB(),pB(),++W9,new Qw(12,null,e));return!this.g&&(this.g=new Rf),Af(this.g,new Ud(e)),lB(this),t},Q.hm=function(){return lB(this),pB(),nUt},Q.im=function(){return lB(this),pB(),tUt},Q.jm=function(){throw k(new dm(_B((Yv(),wq))))},Q.km=function(){throw k(new dm(_B((Yv(),wq))))},Q.lm=function(){return lB(this),eGe()},Q.mm=function(){return lB(this),pB(),iUt},Q.nm=function(){return lB(this),pB(),oUt},Q.om=function(){var e;if(this.d>=this.j||((e=iw(this.i,this.d++))&65504)!=64)throw k(new dm(_B((Yv(),Hyt))));return lB(this),pB(),pB(),++W9,new Yx(0,e-64)},Q.pm=function(){return lB(this),eot()},Q.qm=function(){return lB(this),pB(),sUt},Q.rm=function(){var e=(pB(),pB(),++W9,new Yx(0,105));return lB(this),e},Q.sm=function(){return lB(this),pB(),aUt},Q.tm=function(){return lB(this),pB(),rUt},Q.um=function(e,t){return this.cm()},Q.vm=function(){return lB(this),pB(),XHt},Q.wm=function(){var e,t,n,r,i;if(this.d+1>=this.j)throw k(new dm(_B((Yv(),zyt))));if(r=-1,t=null,e=iw(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new Rf),Af(this.g,new Ud(r)),++this.d,iw(this.i,this.d)!=41)throw k(new dm(_B((Yv(),yq))));++this.d}else switch(e==63&&--this.d,lB(this),t=rft(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw k(new dm(_B((Yv(),yq))));break;default:throw k(new dm(_B((Yv(),Byt))))}if(lB(this),i=ZN(this),n=null,i.e==2){if(i.Pm()!=2)throw k(new dm(_B((Yv(),Vyt))));n=i.Lm(1),i=i.Lm(0)}if(this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),pB(),pB(),++W9,new XRe(r,t,i,n)},Q.xm=function(){return lB(this),pB(),ZHt},Q.ym=function(){var e;if(lB(this),e=FS(24,ZN(this)),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),e},Q.zm=function(){var e;if(lB(this),e=FS(20,ZN(this)),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),e},Q.Am=function(){var e;if(lB(this),e=FS(22,ZN(this)),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),e},Q.Bm=function(){var e=0,t,n=0,r,i;for(t=-1;this.d=this.j)throw k(new dm(_B((Yv(),Lyt))));if(t==45){for(++this.d;this.d=this.j)throw k(new dm(_B((Yv(),Lyt))))}if(t==58){if(++this.d,lB(this),r=WEe(ZN(this),e,n),this.c!=7)throw k(new dm(_B((Yv(),yq))));lB(this)}else if(t==41)++this.d,lB(this),r=WEe(ZN(this),e,n);else throw k(new dm(_B((Yv(),Ryt))));return r},Q.Cm=function(){var e;if(lB(this),e=FS(21,ZN(this)),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),e},Q.Dm=function(){var e;if(lB(this),e=FS(23,ZN(this)),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),e},Q.Em=function(){var e,t;if(lB(this),e=this.f++,t=IS(ZN(this),e),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),t},Q.Fm=function(){var e;if(lB(this),e=IS(ZN(this),0),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),e},Q.Gm=function(e){return lB(this),this.c==5?(lB(this),Jx(e,(pB(),pB(),++W9,new NE(9,e)))):Jx(e,(pB(),pB(),++W9,new NE(3,e)))},Q.Hm=function(e){var t;return lB(this),t=(pB(),pB(),++W9,new Kv(2)),this.c==5?(lB(this),Nz(t,V9),Nz(t,e)):(Nz(t,e),Nz(t,V9)),t},Q.Im=function(e){return lB(this),this.c==5?(lB(this),pB(),pB(),++W9,new NE(9,e)):(pB(),pB(),++W9,new NE(3,e))},Q.a=0,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=1,Q.g=null,Q.j=0,z(SJ,`RegEx/RegexParser`,836),q(1947,836,{},ace),Q.bm=function(e){return!1},Q.cm=function(){return Dnt(this)},Q.dm=function(e){return WR(e)},Q.em=function(e){return Cft(this)},Q.fm=function(){throw k(new dm(_B((Yv(),wq))))},Q.gm=function(){throw k(new dm(_B((Yv(),wq))))},Q.hm=function(){throw k(new dm(_B((Yv(),wq))))},Q.im=function(){throw k(new dm(_B((Yv(),wq))))},Q.jm=function(){return lB(this),WR(67)},Q.km=function(){return lB(this),WR(73)},Q.lm=function(){throw k(new dm(_B((Yv(),wq))))},Q.mm=function(){throw k(new dm(_B((Yv(),wq))))},Q.nm=function(){throw k(new dm(_B((Yv(),wq))))},Q.om=function(){return lB(this),WR(99)},Q.pm=function(){throw k(new dm(_B((Yv(),wq))))},Q.qm=function(){throw k(new dm(_B((Yv(),wq))))},Q.rm=function(){return lB(this),WR(105)},Q.sm=function(){throw k(new dm(_B((Yv(),wq))))},Q.tm=function(){throw k(new dm(_B((Yv(),wq))))},Q.um=function(e,t){return Cz(e,WR(t)),-1},Q.vm=function(){return lB(this),pB(),pB(),++W9,new Yx(0,94)},Q.wm=function(){throw k(new dm(_B((Yv(),wq))))},Q.xm=function(){return lB(this),pB(),pB(),++W9,new Yx(0,36)},Q.ym=function(){throw k(new dm(_B((Yv(),wq))))},Q.zm=function(){throw k(new dm(_B((Yv(),wq))))},Q.Am=function(){throw k(new dm(_B((Yv(),wq))))},Q.Bm=function(){throw k(new dm(_B((Yv(),wq))))},Q.Cm=function(){throw k(new dm(_B((Yv(),wq))))},Q.Dm=function(){throw k(new dm(_B((Yv(),wq))))},Q.Em=function(){var e;if(lB(this),e=IS(ZN(this),0),this.c!=7)throw k(new dm(_B((Yv(),yq))));return lB(this),e},Q.Fm=function(){throw k(new dm(_B((Yv(),wq))))},Q.Gm=function(e){return lB(this),Jx(e,(pB(),pB(),++W9,new NE(3,e)))},Q.Hm=function(e){var t;return lB(this),t=(pB(),pB(),++W9,new Kv(2)),Nz(t,e),Nz(t,V9),t},Q.Im=function(e){return lB(this),pB(),pB(),++W9,new NE(3,e)};var F9=null,I9=null;z(SJ,`RegEx/ParserForXMLSchema`,1947),q(122,1,jJ,Wd),Q.Jm=function(e){throw k(new Hp(`Not supported.`))},Q.Km=function(){return-1},Q.Lm=function(e){return null},Q.Mm=function(){return null},Q.Nm=function(e){},Q.Om=function(e){},Q.Pm=function(){return 0},Q.Ib=function(){return this.Qm(0)},Q.Qm=function(e){return this.e==11?`.`:``},Q.e=0;var WHt,L9,R9,GHt,KHt,z9=null,B9,qHt=null,JHt,V9,YHt=null,XHt,ZHt,QHt,$Ht,eUt,tUt,H9,nUt,rUt,iUt,aUt,U9,oUt,sUt,W9=0,cUt=z(SJ,`RegEx/Token`,122);q(138,122,{3:1,138:1,122:1},JT),Q.Qm=function(e){var t,n,r;if(this.e==4)if(this==JHt)n=`.`;else if(this==B9)n=`\\d`;else if(this==U9)n=`\\w`;else if(this==H9)n=`\\s`;else{for(r=new ym,r.a+=`[`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?sv(r,cz(this.b[t])):(sv(r,cz(this.b[t])),r.a+=`-`,sv(r,cz(this.b[t+1])));r.a+=`]`,n=r.a}else if(this==QHt)n=`\\D`;else if(this==eUt)n=`\\W`;else if(this==$Ht)n=`\\S`;else{for(r=new ym,r.a+=`[^`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?sv(r,cz(this.b[t])):(sv(r,cz(this.b[t])),r.a+=`-`,sv(r,cz(this.b[t+1])));r.a+=`]`,n=r.a}return n},Q.a=!1,Q.c=!1,z(SJ,`RegEx/RangeToken`,138),q(592,1,{592:1},Ud),Q.a=0,z(SJ,`RegEx/RegexParser/ReferencePosition`,592),q(591,1,{3:1,591:1},Due),Q.Fb=function(e){var t;return e==null||!P(e,591)?!1:(t=I(e,591),Rb(this.b,t.b)&&this.a==t.a)},Q.Hb=function(){return Aj(this.b+`/`+Qet(this.a))},Q.Ib=function(){return this.c.Qm(this.a)},Q.a=0,z(SJ,`RegEx/RegularExpression`,591),q(228,122,jJ,Yx),Q.Km=function(){return this.a},Q.Qm=function(e){var t,n,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=`\\`+lye(this.a&_V);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>=UV?(n=(t=this.a>>>0,`0`+t.toString(16)),r=`\\v`+Jw(n,n.length-6,n.length)):r=``+lye(this.a&_V)}break;case 8:r=this==XHt||this==ZHt?``+lye(this.a&_V):`\\`+lye(this.a&_V);break;default:r=null}return r},Q.a=0,z(SJ,`RegEx/Token/CharToken`,228),q(318,122,jJ,NE),Q.Lm=function(e){return this.a},Q.Nm=function(e){this.b=e},Q.Om=function(e){this.c=e},Q.Pm=function(){return 1},Q.Qm=function(e){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Qm(e)+`*`;else if(this.c==this.b)t=this.a.Qm(e)+`{`+this.c+`}`;else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+`{`+this.c+`,`+this.b+`}`;else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+`{`+this.c+`,}`;else throw k(new Hp(`Token#toString(): CLOSURE `+this.c+EB+this.b));else if(this.c<0&&this.b<0)t=this.a.Qm(e)+`*?`;else if(this.c==this.b)t=this.a.Qm(e)+`{`+this.c+`}?`;else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+`{`+this.c+`,`+this.b+`}?`;else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+`{`+this.c+`,}?`;else throw k(new Hp(`Token#toString(): NONGREEDYCLOSURE `+this.c+EB+this.b));return t},Q.b=0,Q.c=0,z(SJ,`RegEx/Token/ClosureToken`,318),q(837,122,jJ,gEe),Q.Lm=function(e){return e==0?this.a:this.b},Q.Pm=function(){return 2},Q.Qm=function(e){return this.b.e==3&&this.b.Lm(0)==this.a?this.a.Qm(e)+`+`:this.b.e==9&&this.b.Lm(0)==this.a?this.a.Qm(e)+`+?`:this.a.Qm(e)+(``+this.b.Qm(e))},z(SJ,`RegEx/Token/ConcatToken`,837),q(1945,122,jJ,XRe),Q.Lm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw k(new Hp(`Internal Error: `+e))},Q.Pm=function(){return this.b?2:1},Q.Qm=function(e){var t=this.c>0?`(?(`+this.c+`)`:this.a.e==8?`(?(`+this.a+`)`:`(?`+this.a;return this.b?t+=this.d+`|`+this.b+`)`:t+=this.d+`)`,t},Q.c=0,z(SJ,`RegEx/Token/ConditionToken`,1945),q(1946,122,jJ,eMe),Q.Lm=function(e){return this.b},Q.Pm=function(){return 1},Q.Qm=function(e){return`(?`+(this.a==0?``:Qet(this.a))+(this.c==0?``:Qet(this.c))+`:`+this.b.Qm(e)+`)`},Q.a=0,Q.c=0,z(SJ,`RegEx/Token/ModifierToken`,1946),q(838,122,jJ,lDe),Q.Lm=function(e){return this.a},Q.Pm=function(){return 1},Q.Qm=function(e){var t=null;switch(this.e){case 6:t=this.b==0?`(?:`+this.a.Qm(e)+`)`:`(`+this.a.Qm(e)+`)`;break;case 20:t=`(?=`+this.a.Qm(e)+`)`;break;case 21:t=`(?!`+this.a.Qm(e)+`)`;break;case 22:t=`(?<=`+this.a.Qm(e)+`)`;break;case 23:t=`(?`+this.a.Qm(e)+`)`}return t},Q.b=0,z(SJ,`RegEx/Token/ParenToken`,838),q(530,122,{3:1,122:1,530:1},Qw),Q.Mm=function(){return this.b},Q.Qm=function(e){return this.e==12?`\\`+this.a:i9e(this.b)},Q.a=0,z(SJ,`RegEx/Token/StringToken`,530),q(477,122,jJ,Kv),Q.Jm=function(e){Nz(this,e)},Q.Lm=function(e){return I(PC(this.a,e),122)},Q.Pm=function(){return this.a?this.a.a.c.length:0},Q.Qm=function(e){var t,n,r,i,a;if(this.e==1){if(this.a.a.c.length==2)t=I(PC(this.a,0),122),n=I(PC(this.a,1),122),i=n.e==3&&n.Lm(0)==t?t.Qm(e)+`+`:n.e==9&&n.Lm(0)==t?t.Qm(e)+`+?`:t.Qm(e)+(``+n.Qm(e));else{for(a=new ym,r=0;r=this.c.b:this.a<=this.c.b},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Vb=function(){return this.b-1},Q.Qb=function(){throw k(new om(kxt))},Q.a=0,Q.b=0,z(Ext,`ExclusiveRange/RangeIterator`,258);var K9=HC(jq,`C`),q9=HC(Pq,`I`),J9=HC(yB,`Z`),Y9=HC(Fq,`J`),X9=HC(Aq,`B`),Z9=HC(Mq,`D`),Q9=HC(Nq,`F`),$9=HC(Iq,`S`),uUt=Mx(`org.eclipse.elk.core.labels`,`ILabelManager`),dUt=Mx(nq,`DiagnosticChain`),fUt=Mx(qbt,`ResourceSet`),pUt=z(nq,`InvocationTargetException`,null),mUt=(vm(),NFe),hUt=hUt=e0e;cVe(Pse),XBe(`permProps`,[[[`locale`,`default`],[Axt,`gecko1_8`]],[[`locale`,`default`],[Axt,`safari`]]]),hUt(null,`elk`,null)}).call(this)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}],3:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function i(e,t){if(!e)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return t&&(typeof t==`object`||typeof t==`function`)?t:e}function a(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function, not `+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(t){a(n,t);function n(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,n);var a=Object.assign({},t),o=!1;try{e.resolve(`web-worker`),o=!0}catch{}if(t.workerUrl)if(o){var s=e(`web-worker`);a.workerFactory=function(e){return new s(e)}}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(!a.workerFactory){var c=e(`./elk-worker.min.js`).Worker;a.workerFactory=function(e){return new c(e)}}return i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a))}return n}(e(`./elk-api.js`).default);Object.defineProperty(t.exports,`__esModule`,{value:!0}),t.exports=o,o.default=o},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(e,t,n){t.exports=Worker},{}]},{},[3])(3)})}))(),1);function xp(e,t){if(typeof e==`function`){e(t);return}e.handleEvent(t)}var Qse=class{constructor(){this.onmessage=null,this.onerror=null,this.messageListeners=new Set,this.errorListeners=new Set,this.elk=null,this.terminated=!1}postMessage(e){queueMicrotask(()=>{this.handleRequest(e)})}addEventListener(e,t){t&&(e===`message`&&this.messageListeners.add(t),e===`error`&&this.errorListeners.add(t))}removeEventListener(e,t){t&&(e===`message`&&this.messageListeners.delete(t),e===`error`&&this.errorListeners.delete(t))}terminate(){if(this.terminated=!0,this.messageListeners.clear(),this.errorListeners.clear(),this.onmessage=null,this.onerror=null,this.elk?.terminateWorker)try{this.elk.terminateWorker()}catch{}this.elk=null}getElk(){return this.elk||=new Zse.default,this.elk}async handleRequest(e){if(this.terminated)return;let{graph:t,layoutOptions:n,requestId:r}=e;if(!t||!n){this.emitMessage({success:!1,error:`Missing graph or layoutOptions`,requestId:r});return}try{let e=await this.getElk().layout(t,{layoutOptions:n,logging:!1,measureExecutionTime:!1});this.emitMessage({success:!0,graph:e,requestId:r})}catch(e){let t=e instanceof Error?e.message:`Unknown error`;this.emitMessage({success:!1,error:t,requestId:r})}}emitMessage(e){if(this.terminated)return;let t=new MessageEvent(`message`,{data:e});this.onmessage?.(t);for(let e of this.messageListeners)xp(e,t)}};function $se(){return new Qse}Gi.elkWorkerFactory=$se,Gi.graphDependentWorkerFactory=Qd;var Sp=class extends bp{constructor(...e){super(...e),this._changePanelExpanded=!1,this._manuallyCollapsed=!1,this._lastExpandedPosition=70,this._onSplitReposition=e=>{let t=e.target;t&&this._changePanelExpanded&&(this._lastExpandedPosition=t.position)},this._onChangePanelToggled=e=>{let t=e.detail.hidden;t&&this.graphSplit?.position&&this.graphSplit.position<100&&(this._lastExpandedPosition=this.graphSplit.position),this._changePanelExpanded=!t,this._manuallyCollapsed=t},this._onExplorerNodeClicked=e=>{let t=e.detail?.nodeId;t&&(this.selectNode(t),this.modelTree&&this.modelTree.explorerClicked(t),this.explorer&&this.activeMainTab===`graph`&&this.explorer.revealPathToNode(t))}}_applySplitCollapsed(){let e=this.graphSplit;e&&(e.position=100,e.disabled=!0,e.style.setProperty(`--min`,`20px`),e.style.setProperty(`--max`,`calc(100% - 20px)`),e.style.setProperty(`--divider-width`,`0px`),e.classList.add(`collapsed`),this.graphSplitDivider&&(this.graphSplitDivider.style.display=`none`))}_applySplitExpanded(){let e=this.graphSplit;e&&(e.position=this._lastExpandedPosition,e.disabled=!1,e.style.setProperty(`--min`,`200px`),e.style.setProperty(`--max`,`calc(100% - 200px)`),e.style.setProperty(`--divider-width`,`2px`),e.classList.remove(`collapsed`),this.graphSplitDivider&&(this.graphSplitDivider.style.display=``))}updated(e){super.updated(e),e.has(`_changePanelExpanded`)&&(this._changePanelExpanded?this._applySplitExpanded():this._applySplitCollapsed(),requestAnimationFrame(()=>{this.explorer?.updateViewBoxForContainer&&this.explorer.updateViewBoxForContainer()}))}connectedCallback(){super.connectedCallback(),this.addEventListener(Tn,this._onExplorerNodeClicked),this.addEventListener(`explorer-change-panel-toggled`,this._onChangePanelToggled)}disconnectedCallback(){this.removeEventListener(Tn,this._onExplorerNodeClicked),this.removeEventListener(`explorer-change-panel-toggled`,this._onChangePanelToggled),super.disconnectedCallback()}onDataOrIndexChanged(e){this.updateExplorer(),super.onDataOrIndexChanged(e)}selectItem(e){this.explorer&&this.explorer.resetSelection(),this._manuallyCollapsed=!1,super.selectItem(e)}onTabShow(e){super.onTabShow(e),e.detail.name===`graph`&&this.explorer&&(this.selectedNodeId?this.updateComplete.then(()=>{this.explorer.nodeMap?.get(this.selectedNodeId)&&this.explorer.revealPathToNode(this.selectedNodeId)}):this.updateComplete.then(()=>{setTimeout(()=>this.explorer.centerOnRoot(),200)})),e.detail.name===`diff`&&this.selectedNodeChanges.length>0&&(this.selectedDiffChanges=[...this.selectedNodeChanges])}selectNode(e){super.selectNode(e),this.selectedNodeChanges.length>0&&!this._manuallyCollapsed&&!this._changePanelExpanded&&(this._changePanelExpanded=!0)}handleTreeNodeClicked(e){let{nodeId:t}=e.detail;if(t){if(this.selectNode(t),this.activeMainTab===`graph`&&this.explorer){this.explorer.revealPathToNode(t);return}super.handleTreeNodeClicked(e)}}updateExplorer(){let e=this.activeItem;!this.explorer||!e||(this.explorer.embeddedMode=!0,this.explorer.renderEqualizer=!1,this.explorer.disablePovMode=!0,this.explorer.hideExamples=!0,this.explorer.graphMode=Wt.change,this.explorer.equalizer&&(this.explorer.equalizer.renderEqualizer=!1),this.explorer.updateGraphResponse(e.explorerGraph||e.graph))}renderExtraTabNavs(){return T`Explore Changes`}renderExtraTabPanels(){let e=this.activeItem;return T` +... Falling back to non-web worker version.`);if(!a.workerFactory){var c=e(`./elk-worker.min.js`).Worker;a.workerFactory=function(e){return new c(e)}}return i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a))}return n}(e(`./elk-api.js`).default);Object.defineProperty(t.exports,`__esModule`,{value:!0}),t.exports=o,o.default=o},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(e,t,n){t.exports=Worker},{}]},{},[3])(3)})}))(),1);function dce(e,t){if(typeof e==`function`){e(t);return}e.handleEvent(t)}var fce=class{constructor(){this.onmessage=null,this.onerror=null,this.messageListeners=new Set,this.errorListeners=new Set,this.elk=null,this.terminated=!1}postMessage(e){queueMicrotask(()=>{this.handleRequest(e)})}addEventListener(e,t){t&&(e===`message`&&this.messageListeners.add(t),e===`error`&&this.errorListeners.add(t))}removeEventListener(e,t){t&&(e===`message`&&this.messageListeners.delete(t),e===`error`&&this.errorListeners.delete(t))}terminate(){if(this.terminated=!0,this.messageListeners.clear(),this.errorListeners.clear(),this.onmessage=null,this.onerror=null,this.elk?.terminateWorker)try{this.elk.terminateWorker()}catch{}this.elk=null}getElk(){return this.elk||=new uce.default,this.elk}async handleRequest(e){if(this.terminated)return;let{graph:t,layoutOptions:n,requestId:r}=e;if(!t||!n){this.emitMessage({success:!1,error:`Missing graph or layoutOptions`,requestId:r});return}try{let e=await this.getElk().layout(t,{layoutOptions:n,logging:!1,measureExecutionTime:!1});this.emitMessage({success:!0,graph:e,requestId:r})}catch(e){let t=e instanceof Error?e.message:`Unknown error`;this.emitMessage({success:!1,error:t,requestId:r})}}emitMessage(e){if(this.terminated)return;let t=new MessageEvent(`message`,{data:e});this.onmessage?.(t);for(let e of this.messageListeners)dce(e,t)}};function pce(){return new fce}ra.elkWorkerFactory=pce,ra.graphDependentWorkerFactory=hf;var Rp=class extends Lp{constructor(...e){super(...e),this._changePanelExpanded=!1,this._manuallyCollapsed=!1,this._lastExpandedPosition=70,this._onSplitReposition=e=>{let t=e.target;t&&this._changePanelExpanded&&(this._lastExpandedPosition=t.position)},this._onChangePanelToggled=e=>{let t=e.detail.hidden;t&&this.graphSplit?.position&&this.graphSplit.position<100&&(this._lastExpandedPosition=this.graphSplit.position),this._changePanelExpanded=!t,this._manuallyCollapsed=t},this._onExplorerNodeClicked=e=>{let t=e.detail?.nodeId;t&&(this.selectNode(t),this.modelTree&&this.modelTree.explorerClicked(t),this.explorer&&this.activeMainTab===`graph`&&this.explorer.revealPathToNode(t))}}_applySplitCollapsed(){let e=this.graphSplit;e&&(e.position=100,e.disabled=!0,e.style.setProperty(`--min`,`20px`),e.style.setProperty(`--max`,`calc(100% - 20px)`),e.style.setProperty(`--divider-width`,`0px`),e.classList.add(`collapsed`),this.graphSplitDivider&&(this.graphSplitDivider.style.display=`none`))}_applySplitExpanded(){let e=this.graphSplit;e&&(e.position=this._lastExpandedPosition,e.disabled=!1,e.style.setProperty(`--min`,`200px`),e.style.setProperty(`--max`,`calc(100% - 200px)`),e.style.setProperty(`--divider-width`,`2px`),e.classList.remove(`collapsed`),this.graphSplitDivider&&(this.graphSplitDivider.style.display=``))}updated(e){super.updated(e),e.has(`_changePanelExpanded`)&&(this._changePanelExpanded?this._applySplitExpanded():this._applySplitCollapsed(),requestAnimationFrame(()=>{this.explorer?.updateViewBoxForContainer&&this.explorer.updateViewBoxForContainer()}))}connectedCallback(){super.connectedCallback(),this.addEventListener(Tn,this._onExplorerNodeClicked),this.addEventListener(`explorer-change-panel-toggled`,this._onChangePanelToggled)}disconnectedCallback(){this.removeEventListener(Tn,this._onExplorerNodeClicked),this.removeEventListener(`explorer-change-panel-toggled`,this._onChangePanelToggled),super.disconnectedCallback()}onDataOrIndexChanged(e){this.updateExplorer(),super.onDataOrIndexChanged(e)}selectItem(e){this.explorer&&this.explorer.resetSelection(),this._manuallyCollapsed=!1,super.selectItem(e)}onTabShow(e){super.onTabShow(e),e.detail.name===`graph`&&this.explorer&&(this.selectedNodeId?this.updateComplete.then(()=>{this.explorer.nodeMap?.get(this.selectedNodeId)&&this.explorer.revealPathToNode(this.selectedNodeId)}):this.updateComplete.then(()=>{setTimeout(()=>this.explorer.centerOnRoot(),200)})),e.detail.name===`diff`&&this.selectedNodeChanges.length>0&&(this.selectedDiffChanges=[...this.selectedNodeChanges])}selectNode(e){super.selectNode(e),this.selectedNodeChanges.length>0&&!this._manuallyCollapsed&&!this._changePanelExpanded&&(this._changePanelExpanded=!0)}handleTreeNodeClicked(e){let{nodeId:t}=e.detail;if(t){if(this.selectNode(t),this.activeMainTab===`graph`&&this.explorer){this.explorer.revealPathToNode(t);return}super.handleTreeNodeClicked(e)}}updateExplorer(){let e=this.activeItem;!this.explorer||!e||(this.explorer.embeddedMode=!0,this.explorer.renderEqualizer=!1,this.explorer.disablePovMode=!0,this.explorer.hideExamples=!0,this.explorer.graphMode=Wt.change,this.explorer.equalizer&&(this.explorer.equalizer.renderEqualizer=!1),this.explorer.updateGraphResponse(e.explorerGraph||e.graph))}renderExtraTabNavs(){return T`Explore Changes`}renderExtraTabPanels(){let e=this.activeItem;return T` @@ -9401,8 +9454,8 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr .originalHighlighted=${e.originalHighlighted||{}} .modifiedHighlighted=${e.modifiedHighlighted||{}}> - `:ct} + `:ot} - `}};Xf([At(`pb33f-explorer`)],Sp.prototype,`explorer`,void 0),Xf([At(`.graph-split`)],Sp.prototype,`graphSplit`,void 0),Xf([At(`.graph-split > sl-icon[slot="divider"]`)],Sp.prototype,`graphSplitDivider`,void 0),Xf([Dt()],Sp.prototype,`_changePanelExpanded`,void 0),Sp=Xf([wt(`openapi-changes-report`)],Sp),document.documentElement.setAttribute(`theme`,`dark`),document.documentElement.classList.add(`sl-theme-dark`),me();var Cp=document.getElementById(`preloader`);Cp&&Cp.remove();var wp=document.getElementById(`app`);if(wp){let e=document.createElement(`openapi-changes-report`);wp.appendChild(e)}})(); \ No newline at end of file + `}};pp([Ot(`pb33f-explorer`)],Rp.prototype,`explorer`,void 0),pp([Ot(`.graph-split`)],Rp.prototype,`graphSplit`,void 0),pp([Ot(`.graph-split > sl-icon[slot="divider"]`)],Rp.prototype,`graphSplitDivider`,void 0),pp([Tt()],Rp.prototype,`_changePanelExpanded`,void 0),Rp=pp([Ct(`openapi-changes-report`)],Rp),document.documentElement.setAttribute(`theme`,`dark`),document.documentElement.classList.add(`sl-theme-dark`),me();var zp=document.getElementById(`preloader`);zp&&zp.remove();var Bp=document.getElementById(`app`);if(Bp){let e=document.createElement(`openapi-changes-report`);Bp.appendChild(e)}})(); \ No newline at end of file diff --git a/html-report/ui/package-lock.json b/html-report/ui/package-lock.json index 999eb68..73f5f10 100644 --- a/html-report/ui/package-lock.json +++ b/html-report/ui/package-lock.json @@ -8,7 +8,7 @@ "name": "@pb33f/openapi-changes-report-ui", "version": "0.0.1", "dependencies": { - "@pb33f/cowboy-components": "^0.13.1", + "@pb33f/cowboy-components": "0.15.2", "@shoelace-style/shoelace": "^2.20.1", "chart.js": "^4.5.1", "lit": "^3.3.2" @@ -589,9 +589,9 @@ } }, "node_modules/@pb33f/cowboy-components": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/@pb33f/cowboy-components/-/cowboy-components-0.13.1.tgz", - "integrity": "sha512-1m0gTeaT8TVj3r23oh8EVMro5F06riHtW5u1NH5GqMlMB4rSKXOToMQ2+zHft5P0MsNVY9dvaylm5TulZYAoAQ==", + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/@pb33f/cowboy-components/-/cowboy-components-0.15.2.tgz", + "integrity": "sha512-TtCHMhcb516ez5x7UagRoWBoej2is+0aO36YB/Fvyj94YoHYgvgPna8/UEzt1Mv9EwToBHED7U2sREMRPFWH5g==", "dependencies": { "@pb33f/ranch": "^0.7.0", "@pb33f/saddlebag": "^0.2.3", diff --git a/html-report/ui/package.json b/html-report/ui/package.json index cd398c1..8731539 100644 --- a/html-report/ui/package.json +++ b/html-report/ui/package.json @@ -10,7 +10,7 @@ "test": "vitest run --config vitest.config.ts" }, "dependencies": { - "@pb33f/cowboy-components": "^0.13.1", + "@pb33f/cowboy-components": "0.15.2", "@shoelace-style/shoelace": "^2.20.1", "chart.js": "^4.5.1", "lit": "^3.3.2"