diff --git a/.ai-docs/bilingual-comparison.md b/.ai-docs/bilingual-comparison.md new file mode 100644 index 0000000..2b82b3d --- /dev/null +++ b/.ai-docs/bilingual-comparison.md @@ -0,0 +1,101 @@ +# OpenAPI and AsyncAPI comparisons + +One command family supports OpenAPI and AsyncAPI 3.x. `model.ParseSpecification` +uses libopenapi's strict YAML/JSON parser once, checks the root version marker, +and transfers the parsed AsyncAPI tree to libasyncapi. Mixed formats, ambiguous +markers, unsupported AsyncAPI versions and partial AsyncAPI models fail clearly. + +The stack uses libopenapi v0.42.0. Its default YAML alias expansion limit remains +enabled for both formats. Excessive alias expansion fails during loading; normal +aliases retain bounded HTML previews. Doctor tests opt in to trusted excessive +aliases through libasyncapi to exercise graph bounds independently of this limit. + +`cmd.runChangerator` selects doctor's native engine. Both engines return the +existing change primitives and node graph. Commands share count, flattening, +rendering, exit-code and report-file code. Native OpenAPI `Commit.Changes` remains +available; `Commit.AllChanges` selects the additive neutral report when present. + +## Policy + +Existing unscoped rule files remain OpenAPI-only. A combined file has optional +`openapiRules`, `asyncapiRules`, and `schemaRules` sections. The last section +configures JSON Schemas embedded in AsyncAPI; it does not change OpenAPI policy. +Unknown sections are rejected. Rules are merged into fresh defaults. The CLI's +shared breakingrules lock covers the entire delegated comparison and restores +defaults afterwards, including comparisons without a custom policy. + +## Source and resource ownership + +Direct file, URL and revision inputs use the same source loader for both formats. +Local revision references use GitRevisionFS. GitHub references use that virtual +filesystem with doctor's GitHub file service, pinned to the same commit SHA. +The working tree is never used to supply a historical sibling reference. + +Canonical history loading retains source bytes and configuration factories. +Batch reports keep a two-document model window and reuse adjacent revisions. +Malformed predecessor inputs are bypassed; selected baseline bytes and revision +identity are preserved. Failed candidate revisions still reach the existing +warning and JSON `metaData.partial/skippedCommits` handling. A successful +unchanged pair counts as success. The console disables idle model retention; +its existing bounded result cache owns and releases each comparison pair. +The console stores only scalar total/breaking counts outside that cache. Counts +appear after a revision is visited and survive graph eviction; unvisited and +baseline-only revisions show `-`, while unchanged comparisons show zero. +Summary and console validate lazy first revisions before reporting that no prior +version exists. A malformed first revision fails instead of reporting no changes. + +The JSON flattening boundary drops model-only object pointers and copies only +commit metadata. It preserves semantic paths, rawPath when normalized, and the +raw versus deduplicated count distinction. Reports add a `specification` object +with `kind`, `originalVersion`, and `modifiedVersion`; direct reports continue +to omit synthetic git metadata. HTML items have the same additive metadata and +retain the unpruned graph for the document and explorer views. + +The shared UI renders native AsyncAPI document labels and send/receive actions. +Action badges use `--primary-color` for send and `--terminal-text` for receive, +matching the method badge palette, with vertically centered badges and spaced labels in the +document tree, explorer, and detail views. Cowboy's shared external +`native-labels.css.ts` supplies these rules in each component's shadow root, +using Cowboy palette tokens directly instead of inline Shoelace color overrides. +Channels use hash icons in the document tree and explorer. Icons are embedded +in the offline report bundle. The UI pins the public Cowboy Components 0.16.0 +package; installation does not require private Git repository access. + +HTML and Markdown use doctor's native AsyncAPI report traversal with the same +section levels, object headings, separators and change formatting as OpenAPI. +Channels also use the hash icon in the report statistics. JSONPaths remain +machine identities; the human report uses object names and nested message, +payload, variable, tag and example labels. + +Both serialized graphs include parent-child edges with stable IDs. The explorer +filters those edges with its changed-node tree, so every retained child stays +connected. Reference edges preserve authored targets. Shared definition edits +appear once in node timelines and detail rows; distinct edits to a property +remain visible. The native machine-readable change list remains raw. + +Change-view card dimensions include the header, changed child rows and extension +metadata. Change-count badges remain below the card; they do not add an empty +body row or widen child rows. Operation widths include native action labels. +Change-view rows center icons, chevrons, badges and labels within each 25px row. +Extension counts remain right-aligned; change annotations align with the card's +left edge in both regular Doctor and change views. +SVG node wrappers permit decoration overflow so selected borders do not clip +the annotation badges or active arrow. The explorer viewport remains clipped. + +## Build runtime + +CI and publication read Node 26.13.0 from the root `.nvmrc`, matching Cowboy +Components. The Docker UI builder pins the same version in its Node image. +The report UI lockfile retains its Mermaid, UUID, and KaTeX +overrides; dependency overrides in Cowboy do not propagate to consumers. +Rebuild both embedded bundles whenever the Cowboy pin or build dependencies +change. Use the locked public npm package when rebuilding these assets. + +## Verification + +Keep the canonical petstore totals unchanged: summary 42 changes / 18 breaking; +components summary 9/2 and raw JSON 10/3. Run cmd and full Go suites, race checks +on dispatch/policy/history, and command smoke checks. Compare +`BenchmarkOpenAPIReport` against the base branch with the same Go toolchain and +hardware; use `-benchmem` and multiple samples. The model-window test verifies +that 30 adjacent revisions parse once each and retain at most two idle models. diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3507813..353482f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -52,7 +52,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v7 with: - node-version: 24 + node-version-file: .nvmrc - name: Build report UI run: npm ci && npm run build @@ -82,7 +82,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v7 with: - node-version: 24 + node-version-file: .nvmrc - name: Install dependencies run: npm ci diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 37ba503..107f724 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,7 +25,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v7 with: - node-version: 24 + node-version-file: .nvmrc - name: Build report UI run: npm ci && npm run build @@ -66,10 +66,10 @@ jobs: - name: Check version run: echo "Version ${{ github.event.client_payload.new-tag }}" - - name: Use Node.js 24 + - name: Set up Node.js uses: actions/setup-node@v7 with: - node-version: 24 + node-version-file: .nvmrc registry-url: https://registry.npmjs.org/ - name: Bump NPM version diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..1dda03d --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +26.13.0 diff --git a/Dockerfile b/Dockerfile index 200e5cd..d0c48e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:24-bookworm-slim AS ui-builder +FROM --platform=$BUILDPLATFORM node:26.13.0-bookworm-slim AS ui-builder WORKDIR /opt/openapi-changes/html-report/ui COPY html-report/ui/package.json html-report/ui/package-lock.json html-report/ui/tsconfig.json html-report/ui/vite.config.ts html-report/ui/index.html ./ diff --git a/README.md b/README.md index 2a501aa..37c47b2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ## The world's **_most powerful and complete_** OpenAPI diff tool. -`openapi-changes` lets you inspect what changed in an OpenAPI specification between two files, +`openapi-changes` lets you inspect what changed in an OpenAPI or AsyncAPI 3.x specification between two files, between git revisions of the same file, across local git history, or directly from a GitHub-hosted file URL. It can render the same semantic change model as: @@ -20,6 +20,41 @@ It can render the same semantic change model as: - a markdown report - a self-contained offline HTML report +The same commands accept both formats, including git history and revision-scoped +references. Each comparison must use the same format on both sides. AsyncAPI 2.x +and mixed OpenAPI/AsyncAPI comparisons are rejected. + +```sh +openapi-changes summary previous-asyncapi.yaml asyncapi.yaml +openapi-changes report HEAD~1:asyncapi.yaml HEAD:asyncapi.yaml +openapi-changes html-report --report-file changes.html previous-asyncapi.yaml asyncapi.yaml +``` + +Existing breaking-rule files retain their OpenAPI meaning. To configure both +engines, use named sections: + +```yaml +openapiRules: + info: + description: + modified: false +asyncapiRules: + channel: + address: + modified: true + multiFormatSchema: + modified: true +schemaRules: + schema: + description: + modified: false +``` + +`schemaRules` applies to JSON Schemas in AsyncAPI. Foreign schema languages are +compared as opaque content; changing their format or content is breaking by +default. JSON and HTML report items include format and version metadata in +`specification`. Human counts remain deduplicated; JSON retains raw changes. + It works well for local exploration, CI/CD checks, release notes, and API review workflows. ## How is it the 'most powerful and complete?'? diff --git a/cmd/asyncapi_serialization_test.go b/cmd/asyncapi_serialization_test.go new file mode 100644 index 0000000..dd300b9 --- /dev/null +++ b/cmd/asyncapi_serialization_test.go @@ -0,0 +1,106 @@ +package cmd + +import ( + "encoding/json" + "fmt" + "os" + "path/filepath" + "strings" + "testing" + + v3 "github.com/pb33f/doctor/model/high/v3" + htmlReport "github.com/pb33f/openapi-changes/html-report" + "github.com/pb33f/testify/require" +) + +func TestAsyncAPIHTMLExplorerConnectivityAndCounts(t *testing.T) { + commits, err := loadLeftRightCommits("../sample-specs/asyncapi-original.yaml", "../sample-specs/asyncapi.yaml", summaryOpts{}) + require.NoError(t, err) + items, err := buildHTMLReportItems(commits, nil) + require.NoError(t, err) + require.Len(t, items, 1) + item := items[0] + require.Equal(t, 5, item.Summary.TotalChanges) + require.Equal(t, 4, item.Summary.BreakingChanges) + for _, graph := range []*htmlReport.GraphData{item.Graph, item.ExplorerGraph} { + require.NotNil(t, graph) + var nodes []struct { + ID string `json:"id"` + ParentID string `json:"parentId"` + Timeline []json.RawMessage `json:"timeline"` + Subtree *v3.ChangeSummary `json:"subtreeChanges"` + Height int `json:"height"` + Extensions int `json:"extensions"` + ChildChanges []json.RawMessage `json:"childChanges"` + } + var edges []*v3.Edge + require.NoError(t, json.Unmarshal(graph.Nodes, &nodes)) + require.NoError(t, json.Unmarshal(graph.Edges, &edges)) + ids := make(map[string]bool, len(nodes)) + for _, node := range nodes { + ids[node.ID] = true + if graph.Mode == "change" { + rows := 1 + len(node.ChildChanges) + if node.Extensions > 0 { + rows++ + } + require.Equal(t, rows*v3.HEIGHT, node.Height, "card height must match its visible rows: %s", node.ID) + } + if node.ID == "$.components.schemas.Order.properties.id" { + require.Len(t, node.Timeline, 1, "one edit must produce one detail row") + } + if graph.Mode == "change" && node.ID == "root" { + require.NotNil(t, node.Subtree) + require.Equal(t, item.Summary.TotalChanges, node.Subtree.Total) + require.Equal(t, item.Summary.BreakingChanges, node.Subtree.Breaking) + } + } + require.Contains(t, ids, "$.components.schemas.Order.properties.id") + pairs := make(map[string]bool, len(edges)) + edgeIDs := make(map[string]bool, len(edges)) + for _, edge := range edges { + require.NotEmpty(t, edge.Id) + require.False(t, edgeIDs[edge.Id], "duplicate edge ID") + edgeIDs[edge.Id] = true + require.Len(t, edge.Sources, 1) + require.Len(t, edge.Targets, 1) + require.Contains(t, ids, edge.Sources[0]) + require.Contains(t, ids, edge.Targets[0]) + pairs[edge.Sources[0]+" -> "+edge.Targets[0]] = true + } + for _, node := range nodes { + if node.ParentID != "" { + require.True(t, pairs[node.ParentID+" -> "+node.ID], "disconnected node: %s", node.ID) + } + } + } +} + +func TestAsyncAPIHTMLPreservesAliasBounds(t *testing.T) { + var sizes []int + for _, levels := range []int{0, 2, 8} { + var source strings.Builder + source.WriteString("asyncapi: 3.0.0\ninfo: {title: Events, version: 1.0.0}\nx-data:\n a0: &a0 {value: data}\n") + for i := 1; i <= levels; i++ { + aliases := strings.TrimSuffix(strings.Repeat(fmt.Sprintf("*a%d, ", i-1), 8), ", ") + fmt.Fprintf(&source, " a%d: &a%d [%s]\n", i, i, aliases) + } + dir := t.TempDir() + left, right := filepath.Join(dir, "left.yaml"), filepath.Join(dir, "right.yaml") + require.NoError(t, os.WriteFile(left, []byte(source.String()), 0600)) + require.NoError(t, os.WriteFile(right, []byte(strings.Replace(source.String(), "title: Events", "title: Events v2", 1)), 0600)) + commits, err := loadLeftRightCommits(left, right, summaryOpts{}) + if levels == 8 { + require.ErrorContains(t, err, "excessive aliasing") + continue + } + require.NoError(t, err) + report, err := generateHTMLReport(commits, nil, false, left, right) + require.NoError(t, err) + sizes = append(sizes, len(report)) + if levels > 0 { + require.Contains(t, string(report), "$yamlAlias") + } + } + require.Less(t, sizes[1]-sizes[0], 100000, "HTML must not expand alias targets in node properties") +} diff --git a/cmd/asyncapi_test.go b/cmd/asyncapi_test.go new file mode 100644 index 0000000..e302b75 --- /dev/null +++ b/cmd/asyncapi_test.go @@ -0,0 +1,154 @@ +package cmd + +import ( + "encoding/json" + "fmt" + "os" + "path/filepath" + "strings" + "testing" + + "github.com/pb33f/libopenapi/datamodel" + "github.com/pb33f/openapi-changes/model" + "github.com/pb33f/testify/require" +) + +func asyncPair(t *testing.T) (string, string) { + t.Helper() + old := `asyncapi: 3.0.0 +info: + title: Synthetic events + version: 1.0.0 +channels: + orders: + address: orders.v1 + messages: + created: + payload: + type: string + users: + address: users.v1 +` + dir := t.TempDir() + left, right := filepath.Join(dir, "left.yaml"), filepath.Join(dir, "right.yaml") + require.NoError(t, os.WriteFile(left, []byte(old), 0600)) + require.NoError(t, os.WriteFile(right, []byte(strings.ReplaceAll(old, ".v1", ".v2")), 0600)) + return left, right +} + +func TestAsyncAPIHistoryUsesRevisionSchemaAndSkipsMalformed(t *testing.T) { + dir := t.TempDir() + runGitInDir(t, dir, "init") + runGitInDir(t, dir, "config", "user.name", "Fixture") + runGitInDir(t, dir, "config", "user.email", "fixture@example.test") + spec := "asyncapi: 3.0.0\ninfo: {title: Events, version: 1.0.0}\nchannels:\n events:\n address: events\n messages:\n event:\n payload:\n $ref: payload.yaml\n" + for i, kind := range []string{"string", "integer", "boolean"} { + require.NoError(t, os.WriteFile(filepath.Join(dir, "asyncapi.yaml"), []byte(spec+fmt.Sprintf("# revision %d\n", i)), 0600)) + require.NoError(t, os.WriteFile(filepath.Join(dir, "payload.yaml"), []byte("type: "+kind+"\n"), 0600)) + runGitInDir(t, dir, "add", ".") + runGitInDir(t, dir, "commit", "-m", fmt.Sprint(i)) + if i == 0 { + require.NoError(t, os.WriteFile(filepath.Join(dir, "asyncapi.yaml"), []byte("asyncapi: ["), 0600)) + runGitInDir(t, dir, "add", ".") + runGitInDir(t, dir, "commit", "-m", "malformed") + } + } + // A dirty sibling must not influence either historical side. + require.NoError(t, os.WriteFile(filepath.Join(dir, "payload.yaml"), []byte("type: object\n"), 0600)) + flat, err := runGitHistoryReport(dir, "asyncapi.yaml", summaryOpts{limit: 0, limitTime: -1, globalRevisions: true}, nil) + require.NoError(t, err) + require.NotNil(t, flat) + encoded, err := json.Marshal(flat) + require.NoError(t, err) + require.Contains(t, string(encoded), `"partial":true`) + require.Contains(t, string(encoded), `"new":"boolean"`) + require.Contains(t, string(encoded), `"original":"string"`) + require.NotContains(t, string(encoded), `"new":"object"`) +} + +func TestAsyncAPIRulesAreScoped(t *testing.T) { + left, right := asyncPair(t) + path := filepath.Join(t.TempDir(), "rules.yaml") + require.NoError(t, os.WriteFile(path, []byte("asyncapiRules:\n channel:\n address:\n modified: false\n"), 0600)) + rules, err := loadComparisonRules(path) + require.NoError(t, err) + custom, err := runLeftRightReport(left, right, summaryOpts{rules: rules}, nil) + require.NoError(t, err) + for _, change := range custom.Changes { + require.False(t, change.Breaking) + } + defaults, err := runLeftRightReport(left, right, summaryOpts{}, nil) + require.NoError(t, err) + for _, change := range defaults.Changes { + require.True(t, change.Breaking) + } +} + +func TestAsyncAPIInputBoundaries(t *testing.T) { + left, _ := asyncPair(t) + for _, spec := range []string{"openapi: 3.0.0\ninfo: {title: API, version: 1.0.0}\npaths: {}\n", "asyncapi: 2.6.0\ninfo: {title: API, version: 1.0.0}\n", "asyncapi: 3.0.0\nopenapi: 3.0.0\ninfo: {title: API, version: 1.0.0}\n"} { + file := filepath.Join(t.TempDir(), "right.yaml") + require.NoError(t, os.WriteFile(file, []byte(spec), 0600)) + _, err := runLeftRightReport(left, file, summaryOpts{}, nil) + require.Error(t, err) + } +} + +func TestAsyncAPIAllReports(t *testing.T) { + left, right := asyncPair(t) + commits, err := loadLeftRightCommits(left, right, summaryOpts{}) + require.NoError(t, err) + require.Len(t, commits, 1) + require.True(t, commits[0].Comparable()) + flat, err := runLeftRightReport(left, right, summaryOpts{}, nil) + require.NoError(t, err) + require.Len(t, flat.Changes, 2) + require.NotEqual(t, flat.Changes[0].Path, flat.Changes[1].Path) + require.Nil(t, flat.Commit) + require.Equal(t, "asyncapi", flat.Specification.Kind) + require.Equal(t, "3.0.0", flat.Specification.OriginalVersion) + markdown, err := generateMarkdownReport(commits, nil, false) + require.NoError(t, err) + require.Contains(t, string(markdown), "**2** changes") + require.Contains(t, string(markdown), "### Channels") + require.Contains(t, string(markdown), "#### Channel:") + require.NotContains(t, string(markdown), "### ` $.channels") + output, err := generateHTMLReport(commits, nil, false, left, right) + require.NoError(t, err) + require.Contains(t, string(output), "orders") + items, err := buildHTMLReportItems(commits, nil) + require.NoError(t, err) + require.Len(t, items, 1) + require.Contains(t, items[0].HtmlReport, `icon="channel"`) + require.Contains(t, items[0].HtmlReport, `id="channels"`) + ctr, root, release, err := bridgeRunChangerator(commits[0], nil) + require.NoError(t, err) + require.NotNil(t, root) + defer release() + require.Len(t, ctr.DeduplicateChanges(), 2) +} + +func TestAsyncAPIUnchangedHistoryWithMalformedRevision(t *testing.T) { + spec := []byte("asyncapi: 3.0.0\ninfo: {title: Events, version: 1.0.0}\nchannels: {}\n") + config := func() (*datamodel.DocumentConfiguration, error) { return datamodel.NewDocumentConfiguration(), nil } + old := &model.HistorySource{Revision: "good-old", Data: spec, Config: config} + bad := &model.HistorySource{Revision: "bad", Data: []byte("asyncapi: ["), Previous: old, Config: config} + latest := &model.HistorySource{Revision: "good-new", Data: spec, Previous: bad, Config: config} + commits := []*model.Commit{{Hash: "good-new", Data: spec, OldData: bad.Data, Source: latest}, {Hash: "bad", Data: bad.Data, OldData: spec, Source: bad}, {Hash: "good-old", Data: spec, Source: old}} + for _, commit := range commits { + commit.Window = new(model.HistoryWindow) + } + text, _, changed, err := renderSummary(commits, nil, false, true, false, summaryStyles{}) + require.NoError(t, err) + require.False(t, changed) + require.NotContains(t, text, "between good-new and bad") + require.Equal(t, "good-old", commits[0].OriginalRevision) + _, err = generateMarkdownReport(commits, nil, false) + require.NoError(t, err) + _, err = buildHTMLReportItems(commits, nil) + require.NoError(t, err) + history, err := changerateAndFlattenHistory(commits, nil) + require.NoError(t, err) + require.Equal(t, 1, history.SuccessfulComparisons) + require.Equal(t, []string{"bad"}, history.SkippedCommits) +} diff --git a/cmd/bilingual_benchmark_test.go b/cmd/bilingual_benchmark_test.go new file mode 100644 index 0000000..573b606 --- /dev/null +++ b/cmd/bilingual_benchmark_test.go @@ -0,0 +1,56 @@ +package cmd + +import ( + "fmt" + "os" + "path/filepath" + "strings" + "testing" +) + +// BenchmarkOpenAPIReport includes loading, model construction, comparison and +// JSON flattening. Run unchanged against the base branch for regression checks. +func BenchmarkOpenAPIReport(b *testing.B) { + b.ReportAllocs() + for b.Loop() { + report, err := runLeftRightReport("../sample-specs/petstorev3-original.json", "../sample-specs/petstorev3.json", summaryOpts{}, nil) + if err != nil { + b.Fatal(err) + } + if report == nil || len(report.Changes) == 0 { + b.Fatal("expected petstore changes") + } + } +} + +// BenchmarkAsyncAPIReport measures the complete pipeline when many channels +// share one message schema. Fixture generation is outside the measured work. +func BenchmarkAsyncAPIReport(b *testing.B) { + for _, channels := range []int{10, 100, 1000} { + b.Run(fmt.Sprint(channels), func(b *testing.B) { + var spec strings.Builder + spec.WriteString("asyncapi: 3.0.0\ninfo: {title: Synthetic events, version: 1.0.0}\nchannels:\n") + for i := 0; i < channels; i++ { + fmt.Fprintf(&spec, " event%d:\n address: event%d\n messages:\n event: {$ref: '#/components/messages/event'}\n", i, i) + } + spec.WriteString("components:\n messages:\n event:\n payload: {type: string}\n") + dir := b.TempDir() + left, right := filepath.Join(dir, "left.yaml"), filepath.Join(dir, "right.yaml") + for path, data := range map[string]string{left: spec.String(), right: strings.Replace(spec.String(), "type: string", "type: integer", 1)} { + if err := os.WriteFile(path, []byte(data), 0600); err != nil { + b.Fatal(err) + } + } + b.ReportAllocs() + for b.Loop() { + report, err := runLeftRightReport(left, right, summaryOpts{}, nil) + if err != nil { + b.Fatal(err) + } + if report == nil || len(report.Changes) == 0 { + b.Fatal("expected shared schema changes") + } + } + }) + } +} diff --git a/cmd/common.go b/cmd/common.go index 6db5c09..bd69b48 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -24,6 +24,7 @@ const ( // summaryOpts holds the flags shared by the current doctor-based command family. type summaryOpts struct { + rules *model.ComparisonRules noColor bool tektronix bool markdown bool @@ -201,11 +202,13 @@ func prepareCommandRun( return nil, fmt.Errorf("too many arguments provided, expecting at most two (2)") } - breakingConfig, err := LoadBreakingRulesConfig(configFlag) + rules, err := loadComparisonRules(configFlag) if err != nil { PrintConfigError(err, opts.palette) return nil, err } + opts.rules = rules + breakingConfig := rules.OpenAPI commits, err := loadCommitsFromArgs(args, opts, breakingConfig) if err != nil { diff --git a/cmd/compact_report.go b/cmd/compact_report.go index 1da58ed..24c521e 100644 --- a/cmd/compact_report.go +++ b/cmd/compact_report.go @@ -20,16 +20,18 @@ import ( // compactOutcome is written only after a complete direct comparison. // Counts use the same semantic identity as the human summary. type compactOutcome struct { + async bool Total int `json:"total"` Breaking int `json:"breaking"` } func generateCompactMarkdown(commits []*model.Commit, config *whatChangedModel.BreakingRulesConfig) ([]byte, compactOutcome, error) { var outcome compactOutcome - if len(commits) != 1 || commits[0] == nil || !commits[0].Synthetic || commits[0].Document == nil || commits[0].OldDocument == nil { + if len(commits) != 1 || commits[0] == nil || !commits[0].Synthetic || !commits[0].Comparable() { return nil, outcome, errors.New("compact report requires one complete direct comparison") } result, err := runChangerator(commits[0], config) + outcome.async = commits[0].APILabel() == "AsyncAPI" if err != nil { return nil, outcome, err } @@ -48,7 +50,7 @@ func generateCompactMarkdown(commits []*model.Commit, config *whatChangedModel.B } } if root == nil { - root = result.RightDrDoc.V3Document.Node + root = result.root() } result.Changerator.BuildNodeChangeTree(root) highlights = renderer.NewSemanticTreeRenderer(root, changes, &renderer.TreeConfig{ @@ -72,7 +74,11 @@ func generateCompactMarkdown(commits []*model.Commit, config *whatChangedModel.B func renderCompactMarkdown(outcome compactOutcome, highlights []string) []byte { var sb strings.Builder - sb.WriteString("## OpenAPI changes\n\n") + label := "OpenAPI" + if outcome.async { + label = "AsyncAPI" + } + sb.WriteString("## " + label + " changes\n\n") switch { case outcome.Total == 0: sb.WriteString("No changes found.\n\n") diff --git a/cmd/comparison_rules.go b/cmd/comparison_rules.go new file mode 100644 index 0000000..7fd44fb --- /dev/null +++ b/cmd/comparison_rules.go @@ -0,0 +1,77 @@ +package cmd + +import ( + "fmt" + "github.com/pb33f/go-yaml" + async "github.com/pb33f/libasyncapi/what-changed/model" + openapi "github.com/pb33f/libopenapi/what-changed/model" + "github.com/pb33f/openapi-changes/model" + "os" +) + +func loadComparisonRules(path string) (*model.ComparisonRules, error) { + paths := []string{path} + if path == "" { + paths = getDefaultConfigPaths() + } + for _, candidate := range paths { + expanded, err := expandUserPath(candidate) + if err != nil { + return nil, err + } + data, err := os.ReadFile(expanded) + if os.IsNotExist(err) && path == "" { + continue + } + if err != nil { + return nil, err + } + var root yaml.Node + if err = yaml.Unmarshal(data, &root); err != nil { + return nil, &ConfigParseError{FilePath: expanded, Err: err} + } + if len(root.Content) == 0 { + return &model.ComparisonRules{}, nil + } + node := root.Content[0] + envelope := false + for i := 0; i+1 < len(node.Content); i += 2 { + switch node.Content[i].Value { + case "openapiRules", "asyncapiRules", "schemaRules": + envelope = true + } + } + if !envelope { + legacy, err := loadConfigFromPath(expanded, true) + return &model.ComparisonRules{OpenAPI: legacy, Legacy: true}, err + } + if node.Kind != yaml.MappingNode { + return nil, fmt.Errorf("rules must be a mapping") + } + for i := 0; i+1 < len(node.Content); i += 2 { + key, value := node.Content[i].Value, node.Content[i+1] + encoded, err := yaml.Marshal(value) + if err != nil { + return nil, err + } + switch key { + case "openapiRules", "schemaRules": + if invalid := openapi.ValidateBreakingRulesConfigYAML(encoded); invalid != nil { + return nil, &ConfigValidationError{FilePath: expanded, Result: invalid} + } + case "asyncapiRules": + if invalid := async.ValidateBreakingRulesConfigYAML(encoded); invalid != nil { + return nil, fmt.Errorf("invalid asyncapiRules in %s: %v", expanded, invalid) + } + default: + return nil, fmt.Errorf("unknown rules section %q", key) + } + } + var rules model.ComparisonRules + if err = node.Decode(&rules); err != nil { + return nil, err + } + return &rules, nil + } + return &model.ComparisonRules{}, nil +} diff --git a/cmd/console.go b/cmd/console.go index 52cbc04..1266bfd 100644 --- a/cmd/console.go +++ b/cmd/console.go @@ -19,32 +19,56 @@ import ( func printConsoleUsage(palette terminal.Palette) { printCommandUsage("console", - "The console command renders an interactive terminal user interface.\nExplore OpenAPI contract changes right in your terminal with a modern TUI.", + "The console command renders an interactive terminal user interface.\nExplore OpenAPI and AsyncAPI contract changes in your terminal.", palette) } // bridgeRunChangerator adapts cmd.runChangerator to the v2tui.RunChangeratorFn signature // to avoid import cycles between cmd and tui/v2 packages. func bridgeRunChangerator(commit *model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig) (*changerator.Changerator, *v3.Node, func(), error) { - result, err := runChangerator(commit, breakingConfig) + comparison := commit + if commit.Source != nil { + copy := *commit + copy.Window = &model.HistoryWindow{DiscardIdle: true} + comparison = © + } + result, err := runChangerator(comparison, breakingConfig) + commit.OldData = comparison.OldData + commit.Specification = comparison.Specification + commit.OriginalRevision = comparison.OriginalRevision if err != nil { return nil, nil, nil, err } if result == nil { return nil, nil, nil, nil } - root := result.RightDrDoc.V3Document.Node + root := result.root() releaseFn := func() { result.Release() } return result.Changerator, root, releaseFn, nil } -func hasRenderableDocuments(commits []*model.Commit) bool { +func hasRenderableDocuments(commits []*model.Commit) (bool, error) { for _, commit := range commits { - if commit.Document != nil && commit.OldDocument != nil { - return true + if commit.Comparable() { + return true, nil } } - return false + for _, commit := range commits { + // A lazy source with no baseline still needs validation before we can + // report that this is the first version of the specification. + if commit != nil && commit.Source != nil { + prepared, release, err := commit.PrepareHistory() + if err != nil { + return false, wrapCommitError(commit, err) + } + comparable := prepared.Comparable() + release() + if comparable { + return true, nil + } + } + } + return false, nil } func wrapConsoleStartError(err error) error { @@ -69,6 +93,7 @@ func GetConsoleCommand() *cobra.Command { if input == nil { return nil } + defer releaseHistoryWindows(input.Commits) if len(input.Commits) == 0 { firstArgInfo, statErr := os.Stat(args[0]) @@ -80,8 +105,12 @@ func GetConsoleCommand() *cobra.Command { return nil } - if !hasRenderableDocuments(input.Commits) { - printNoChangesText() + renderable, err := hasRenderableDocuments(input.Commits) + if err != nil { + return err + } + if !renderable { + printNoPriorVersionText() return nil } diff --git a/cmd/console_test.go b/cmd/console_test.go index 223645e..ec833a8 100644 --- a/cmd/console_test.go +++ b/cmd/console_test.go @@ -80,8 +80,12 @@ func TestHasRenderableDocuments(t *testing.T) { {Hash: "a"}, {Hash: "b", Document: doc, OldDocument: doc}, } - assert.True(t, hasRenderableDocuments(commits)) - assert.False(t, hasRenderableDocuments([]*model.Commit{{Hash: "c"}})) + renderable, err := hasRenderableDocuments(commits) + require.NoError(t, err) + assert.True(t, renderable) + renderable, err = hasRenderableDocuments([]*model.Commit{{Hash: "c"}}) + require.NoError(t, err) + assert.False(t, renderable) } func TestWrapConsoleStartError(t *testing.T) { diff --git a/cmd/engine.go b/cmd/engine.go index 119d276..6e44530 100644 --- a/cmd/engine.go +++ b/cmd/engine.go @@ -13,6 +13,8 @@ import ( drModel "github.com/pb33f/doctor/model" v3 "github.com/pb33f/doctor/model/high/v3" "github.com/pb33f/go-yaml" + asyncRules "github.com/pb33f/libasyncapi/what-changed/model" + whatChanged "github.com/pb33f/libopenapi/what-changed" whatChangedModel "github.com/pb33f/libopenapi/what-changed/model" "github.com/pb33f/openapi-changes/internal/breakingrules" "github.com/pb33f/openapi-changes/model" @@ -23,13 +25,29 @@ import ( // Callers must call Release() exactly once when they are done reading Changerator, // DocChanges, and the doctor document tree. type changeratorResult struct { - Changerator *changerator.Changerator - DocChanges *whatChangedModel.DocumentChanges - RightDrDoc *drModel.DrDocument - LeftDrDoc *drModel.DrDocument + releaseSources func() + Changerator *changerator.Changerator + DocChanges whatChanged.Changed + AsyncResult *changerator.AsyncAPIResult + RightDrDoc *drModel.DrDocument + LeftDrDoc *drModel.DrDocument +} + +func (r *changeratorResult) root() *v3.Node { + if r.AsyncResult != nil { + return r.AsyncResult.Right.Root + } + return r.RightDrDoc.V3Document.Node } func (r *changeratorResult) Release() { + if r.releaseSources != nil { + defer r.releaseSources() + r.releaseSources = nil + } + if r.AsyncResult != nil { + r.AsyncResult.Release() + } if r.RightDrDoc != nil { r.RightDrDoc.Release() } @@ -42,6 +60,47 @@ func (r *changeratorResult) Release() { // resulting comparison bundle. It returns nil, nil when the commit has no // comparable documents or the comparison produces no changes. func runChangerator(commit *model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig) (*changeratorResult, error) { + if commit.Source != nil { + prepared, release, err := commit.PrepareHistory() + if err != nil { + return nil, err + } + commit.OldData = prepared.OldData + commit.OriginalRevision = prepared.OriginalRevision + prepared.SetSpecification() + commit.Specification = prepared.Specification + result, err := runChangerator(prepared, breakingConfig) + if result == nil { + release() + } else { + result.releaseSources = release + } + return result, err + } + if commit.AsyncDocument != nil && commit.OldAsyncDocument != nil { + if commit.Rules != nil && commit.Rules.Legacy { + return nil, fmt.Errorf("legacy OpenAPI rules cannot configure AsyncAPI; use asyncapiRules and schemaRules sections") + } + var schema *whatChangedModel.BreakingRulesConfig + var config *asyncRules.BreakingRulesConfig + if commit.Rules != nil { + schema = commit.Rules.Schema + config = commit.Rules.AsyncAPI + } + if config != nil { + defaults := asyncRules.NewDefaultBreakingRulesConfig() + defaults.Merge(config) + config = defaults + } + release := breakingrules.Acquire(schema) + defer release() + result, err := changerator.CompareAsyncAPI(commit.OldAsyncDocument, commit.AsyncDocument, config) + if err != nil || result == nil { + return nil, err + } + rewriteOutputLocations(result.Changerator, result.Changes, commit.DocumentRewriters) + return &changeratorResult{Changerator: result.Changerator, DocChanges: result.Changes, AsyncResult: result}, nil + } if commit.Document == nil || commit.OldDocument == nil { return nil, nil } @@ -70,10 +129,8 @@ func runChangerator(commit *model.Commit, breakingConfig *whatChangedModel.Break return nil, fmt.Errorf("failed to create DrDocument models") } - if breakingConfig != nil { - breakingrules.Apply(breakingConfig) - defer breakingrules.Reset() - } + releaseRules := breakingrules.Acquire(breakingConfig) + defer releaseRules() ctr := changerator.NewChangerator(&changerator.ChangeratorConfig{ LeftDrDoc: leftDrDoc.V3Document, @@ -146,7 +203,7 @@ func nodeContainsExternalRef(node *yaml.Node) bool { return false } -func rewriteOutputLocations(ctr *changerator.Changerator, docChanges *whatChangedModel.DocumentChanges, rewriters []model.DocumentPathRewriter) { +func rewriteOutputLocations(ctr *changerator.Changerator, docChanges whatChanged.Changed, rewriters []model.DocumentPathRewriter) { if len(rewriters) == 0 { return } @@ -156,7 +213,7 @@ func rewriteOutputLocations(ctr *changerator.Changerator, docChanges *whatChange } } -func rewriteDocumentChangeLocations(docChanges *whatChangedModel.DocumentChanges, rewriters []model.DocumentPathRewriter) { +func rewriteDocumentChangeLocations(docChanges whatChanged.Changed, rewriters []model.DocumentPathRewriter) { if docChanges == nil { return } diff --git a/cmd/engine_test.go b/cmd/engine_test.go index 92096cb..7936cbc 100644 --- a/cmd/engine_test.go +++ b/cmd/engine_test.go @@ -45,7 +45,7 @@ func TestRunChangerator_RewritesChangedNodeOriginsToRepoRelativePaths(t *testing func firstComparableCommit(commits []*model.Commit) *model.Commit { for _, commit := range commits { - if commit != nil && commit.Document != nil && commit.OldDocument != nil { + if commit.Comparable() { return commit } } diff --git a/cmd/flatten_report.go b/cmd/flatten_report.go index 5bb2c66..a2f647c 100644 --- a/cmd/flatten_report.go +++ b/cmd/flatten_report.go @@ -27,16 +27,19 @@ func FlattenReportWithParameterNames(report *model.Report, parameterNames map[st func flattenReport(report *model.Report, parameterNames map[string]string) *model.FlatReport { flatReport := &model.FlatReport{} + flatReport.Specification = report.Commit.Specification flatReport.Summary = report.Summary flatReport.DateGenerated = time.Now().Format(time.RFC3339) var changes []*model.HashedChange - rpt := report.Commit.Changes + rpt := report.Commit.AllChanges() for _, change := range rpt.GetAllChanges() { rawPath := change.Path flattenedChange := cloneChange(change) if len(parameterNames) > 0 { flattenedChange.Path, rawPath = normalizeParameterPath(flattenedChange, parameterNames) } + flattenedChange.OriginalObject = nil + flattenedChange.NewObject = nil hashedChange := model.HashedChange{ Change: flattenedChange, RawPath: rawPathIfChanged(rawPath, flattenedChange.Path), @@ -50,9 +53,8 @@ func flattenReport(report *model.Report, parameterNames map[string]string) *mode flatReport.Changes = changes // Copy the Commit information from the report to the flatReport and then delete the changes - flatReport.Commit = &model.Commit{} - *flatReport.Commit = *report.Commit - flatReport.Commit.Changes = nil + c := report.Commit + flatReport.Commit = &model.Commit{Hash: c.Hash, Message: c.Message, Author: c.Author, AuthorEmail: c.AuthorEmail, CommitDate: c.CommitDate, Synthetic: c.Synthetic} return flatReport } diff --git a/cmd/history_cleanup.go b/cmd/history_cleanup.go new file mode 100644 index 0000000..1ea2e08 --- /dev/null +++ b/cmd/history_cleanup.go @@ -0,0 +1,13 @@ +package cmd + +import "github.com/pb33f/openapi-changes/model" + +func releaseHistoryWindows(commits []*model.Commit) { + var previous *model.HistoryWindow + for _, commit := range commits { + if commit != nil && commit.Window != nil && commit.Window != previous { + commit.Window.Close() + previous = commit.Window + } + } +} diff --git a/cmd/history_validation_test.go b/cmd/history_validation_test.go new file mode 100644 index 0000000..bf545b6 --- /dev/null +++ b/cmd/history_validation_test.go @@ -0,0 +1,63 @@ +package cmd + +import ( + "os" + "path/filepath" + "testing" + + "github.com/pb33f/testify/require" + "github.com/spf13/cobra" +) + +func singleRevisionHistory(t *testing.T, spec string) string { + t.Helper() + dir := t.TempDir() + runGitInDir(t, dir, "init") + runGitInDir(t, dir, "config", "user.name", "Fixture") + runGitInDir(t, dir, "config", "user.email", "fixture@example.test") + require.NoError(t, os.WriteFile(filepath.Join(dir, "api.yaml"), []byte(spec), 0600)) + runGitInDir(t, dir, "add", "api.yaml") + runGitInDir(t, dir, "commit", "-m", "first version") + return dir +} + +func TestHistoryCommandsRejectMalformedFirstRevision(t *testing.T) { + dir := singleRevisionHistory(t, "asyncapi: [\n") + for name, factory := range map[string]func() *cobra.Command{ + "summary": GetSummaryCommand, "console": GetConsoleCommand, + "report": GetReportCommand, "markdown": GetMarkdownReportCommand, "html": GetHTMLReportCommand, + } { + t.Run(name, func(t *testing.T) { + cmd := testRootCmd(factory(), "--no-logo", "--no-color", "--global-revisions", "--limit", "0", "--limit-time", "-1", dir, "api.yaml") + output := captureStdout(t, func() { + err := cmd.Execute() + require.Error(t, err) + require.Contains(t, err.Error(), "unable to parse specification") + }) + require.NotContains(t, output, noChangesFoundMessage) + require.NotContains(t, output, noPriorVersionMessage) + }) + } +} + +func TestHistoryFirstRevisionIsNotUnchanged(t *testing.T) { + for _, spec := range []string{ + "openapi: 3.0.0\ninfo: {title: API, version: 1.0.0}\npaths: {}\n", + "asyncapi: 3.0.0\ninfo: {title: Events, version: 1.0.0}\nchannels: {}\n", + } { + dir := singleRevisionHistory(t, spec) + for _, factory := range []func() *cobra.Command{GetSummaryCommand, GetConsoleCommand} { + cmd := testRootCmd(factory(), "--no-logo", "--no-color", "--global-revisions", "--limit", "0", "--limit-time", "-1", dir, "api.yaml") + output := captureStdout(t, func() { require.NoError(t, cmd.Execute()) }) + require.Contains(t, output, noPriorVersionMessage) + require.NotContains(t, output, noChangesFoundMessage) + } + require.NoError(t, os.WriteFile(filepath.Join(dir, "api.yaml"), []byte(spec+"# unchanged\n"), 0600)) + runGitInDir(t, dir, "add", "api.yaml") + runGitInDir(t, dir, "commit", "-m", "unchanged contract") + cmd := testRootCmd(GetSummaryCommand(), "--no-logo", "--no-color", "--global-revisions", "--limit", "0", "--limit-time", "-1", dir, "api.yaml") + output := captureStdout(t, func() { require.NoError(t, cmd.Execute()) }) + require.Contains(t, output, "No changes detected between") + require.NotContains(t, output, noPriorVersionMessage) + } +} diff --git a/cmd/html_report.go b/cmd/html_report.go index 58fa5f4..993137a 100644 --- a/cmd/html_report.go +++ b/cmd/html_report.go @@ -31,8 +31,10 @@ func printHTMLReportUsage(palette terminal.Palette) { // commits are logged and skipped; an error is returned only when every // candidate commit fails. func buildHTMLReportItems(commits []*model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig) ([]*htmlReport.ReportItem, error) { + defer releaseHistoryWindows(commits) items := make([]*htmlReport.ReportItem, 0, len(commits)) var buildErrors []error + comparedCount := 0 for i, commit := range commits { result, err := runChangerator(commit, breakingConfig) @@ -42,6 +44,9 @@ func buildHTMLReportItems(commits []*model.Commit, breakingConfig *whatChangedMo continue } if result == nil { + if commit.Comparable() { + comparedCount++ + } continue } @@ -63,10 +68,11 @@ func buildHTMLReportItems(commits []*model.Commit, breakingConfig *whatChangedMo } items = append(items, item) + comparedCount++ } if len(buildErrors) > 0 { - if len(items) == 0 { + if comparedCount == 0 { return nil, fmt.Errorf("all %d commits failed to build report items: %w", len(buildErrors), errors.Join(buildErrors...)) } fmt.Fprintf(os.Stderr, "warning: %d commits failed to build report items\n", len(buildErrors)) diff --git a/cmd/left_right_sources.go b/cmd/left_right_sources.go index 617525d..81df2e4 100644 --- a/cmd/left_right_sources.go +++ b/cmd/left_right_sources.go @@ -16,7 +16,6 @@ import ( "github.com/google/uuid" "github.com/pb33f/doctor/terminal" - "github.com/pb33f/libopenapi" "github.com/pb33f/libopenapi/datamodel" "github.com/pb33f/libopenapi/index" "github.com/pb33f/openapi-changes/git" @@ -253,17 +252,22 @@ func attachLazyLocalFS(docConfig *datamodel.DocumentConfiguration) error { } func buildLeftRightCommit(left, right comparisonSource) (*model.Commit, error) { - leftDoc, err := libopenapi.NewDocumentWithConfiguration(left.RootBytes, left.DocConfig) + leftDoc, leftAsync, err := model.ParseSpecification(left.RootBytes, left.DocConfig) if err != nil { return nil, fmt.Errorf("unable to parse original document '%s': %w", left.Display, err) } - rightDoc, err := libopenapi.NewDocumentWithConfiguration(right.RootBytes, right.DocConfig) + rightDoc, rightAsync, err := model.ParseSpecification(right.RootBytes, right.DocConfig) if err != nil { - leftDoc.Release() + if leftDoc != nil { + leftDoc.Release() + } return nil, fmt.Errorf("unable to parse modified document '%s': %w", right.Display, err) } var rewriters []model.DocumentPathRewriter + if (leftAsync == nil) != (rightAsync == nil) { + return nil, fmt.Errorf("cannot compare OpenAPI and AsyncAPI documents") + } if left.RewriteDocumentPath != nil { rewriters = append(rewriters, left.RewriteDocumentPath) } @@ -279,6 +283,8 @@ func buildLeftRightCommit(left, right comparisonSource) (*model.Commit, error) { Data: right.RootBytes, OldDocument: leftDoc, Document: rightDoc, + OldAsyncDocument: leftAsync, + AsyncDocument: rightAsync, OriginalSource: left.Display, ModifiedSource: right.Display, Synthetic: true, @@ -303,5 +309,7 @@ func buildLeftRightCommitAndSources(left, right string, opts summaryOpts) (*mode if err != nil { return nil, err } + commit.Rules = opts.rules + commit.SetSpecification() return commit, nil } diff --git a/cmd/loaders.go b/cmd/loaders.go index 1d0d520..68715f5 100644 --- a/cmd/loaders.go +++ b/cmd/loaders.go @@ -136,6 +136,7 @@ func loadGitHubCommitsDetailed(rawURL string, opts summaryOpts, breakingConfig * d := makeProgressDrainer() result, errs := processGithubRepoDetailed(user, repo, filePath, d.ProgressChan, d.ErrorChan, git.HistoryOptions{ + Lazy: true, BaseCommit: opts.baseCommit, Limit: opts.limit, LimitTime: opts.limitTime, @@ -152,6 +153,9 @@ func loadGitHubCommitsDetailed(rawURL string, opts summaryOpts, breakingConfig * return nil, nil } commits := result.Commits + for _, commit := range commits { + commit.Rules = opts.rules + } if opts.latest && len(commits) > 1 { commits = commits[:1] } @@ -207,6 +211,7 @@ func loadGitHistoryCommitsDetailed(gitPath, filePath string, opts summaryOpts, b Remote: opts.remote, ExtRefs: opts.extRefs, KeepComparable: true, + Lazy: true, }, breakingConfig) if err := populateDrainer.collectErrors(errs); err != nil { return nil, err @@ -216,6 +221,9 @@ func loadGitHistoryCommitsDetailed(gitPath, filePath string, opts summaryOpts, b return nil, nil } commits = result.Commits + for _, commit := range commits { + commit.Rules = opts.rules + } if len(commits) == 0 { return &loadedHistoryResult{SkippedCommits: result.SkippedCommits}, nil } diff --git a/cmd/markdown_report.go b/cmd/markdown_report.go index 0ee1fe1..1093482 100644 --- a/cmd/markdown_report.go +++ b/cmd/markdown_report.go @@ -41,7 +41,7 @@ func renderCommitMarkdown(commit *model.Commit, breakingConfig *whatChangedModel deduplicatedChanges := changecounts.Deduplicate(result.DocChanges.GetAllChanges()) markdown, err := renderer.NewHTMLRenderer(renderer.DefaultRenderConfig()).RenderMarkdown(&renderer.RenderInput{ - DocumentChanges: result.DocChanges, + ChangeReport: result.DocChanges, Doctor: result.RightDrDoc, RightDocContent: commit.Data, DeduplicatedChanges: deduplicatedChanges, @@ -83,8 +83,10 @@ func isSyntheticLeftRightCommit(commit *model.Commit) bool { // Returns (bytes, nil) when at least one commit renders successfully; failed // commits are logged to stderr and skipped. func generateMarkdownReport(commits []*model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig, includeDiff bool) ([]byte, error) { + defer releaseHistoryWindows(commits) var sb strings.Builder successCount := 0 + comparedCount := 0 var renderErrors []error headerWritten := false includeCommitMetadata := true @@ -96,13 +98,16 @@ func generateMarkdownReport(commits []*model.Commit, breakingConfig *whatChanged renderErrors = append(renderErrors, wrapCommitError(commit, err)) continue } + if commit.Comparable() { + comparedCount++ + } if markdown == "" { continue } // Write header on first success if !headerWritten { - sb.WriteString("# OpenAPI Changes Report\n\n") + sb.WriteString("# " + commit.APILabel() + " Changes Report\n\n") sb.WriteString(fmt.Sprintf("*Generated: %s*\n\n", time.Now().Format(time.RFC3339))) headerWritten = true } @@ -142,13 +147,13 @@ func generateMarkdownReport(commits []*model.Commit, breakingConfig *whatChanged sb.WriteString("---\n\n") } - if successCount == 0 && len(renderErrors) > 0 { + if comparedCount == 0 && len(renderErrors) > 0 { return nil, fmt.Errorf("all %d commits failed to render: %w", len(renderErrors), errors.Join(renderErrors...)) } if len(renderErrors) > 0 { fmt.Fprintf(os.Stderr, "warning: %d commits failed to render\n", len(renderErrors)) } - if successCount == 0 && len(renderErrors) == 0 { + if successCount == 0 { return nil, nil } return []byte(sb.String()), nil diff --git a/cmd/report.go b/cmd/report.go index dabb914..61fcdb8 100644 --- a/cmd/report.go +++ b/cmd/report.go @@ -27,7 +27,8 @@ func changerateCommit(commit *model.Commit, breakingConfig *whatChangedModel.Bre if result == nil { return nil, nil } - commit.Changes = result.DocChanges + commit.ChangeReport = result.DocChanges + commit.Changes, _ = result.DocChanges.(*whatChangedModel.DocumentChanges) return result, nil } @@ -38,6 +39,7 @@ type historicalFlattenResult struct { } func changerateAndFlattenHistory(commits []*model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig) (*historicalFlattenResult, error) { + defer releaseHistoryWindows(commits) reports := make([]*model.FlatReport, 0, len(commits)) var renderErrors []error var skippedCommits []string @@ -48,7 +50,6 @@ func changerateAndFlattenHistory(commits []*model.Commit, breakingConfig *whatCh if commit == nil { continue } - comparable := commit.Document != nil && commit.OldDocument != nil result, err := runChangerator(commit, breakingConfig) if err != nil { emitCommitWarning(commit, err) @@ -56,14 +57,15 @@ func changerateAndFlattenHistory(commits []*model.Commit, breakingConfig *whatCh addSkippedCommitHash(&skippedCommits, skippedSeen, commit.Hash) continue } - if comparable { + if commit.Comparable() { processedComparables++ } if result == nil { continue } - commit.Changes = result.DocChanges + commit.ChangeReport = result.DocChanges reports = append(reports, FlattenReportWithParameterNames(createReport(commit), result.Changerator.ParameterNames)) + commit.ChangeReport = nil result.Release() } if len(renderErrors) > 0 { @@ -219,11 +221,13 @@ func GetReportCommand() *cobra.Command { return fmt.Errorf("too many arguments provided, expecting at most two (2)") } - breakingConfig, err := LoadBreakingRulesConfig(configFlag) + rules, err := loadComparisonRules(configFlag) if err != nil { PrintConfigError(err, opts.palette) return err } + opts.rules = rules + breakingConfig := rules.OpenAPI if len(args) == 1 { if err := validateGitHubURL(args[0]); err != nil { diff --git a/cmd/report_common.go b/cmd/report_common.go index 305cafe..951457f 100644 --- a/cmd/report_common.go +++ b/cmd/report_common.go @@ -5,15 +5,34 @@ package cmd import ( "fmt" + wc "github.com/pb33f/libopenapi/what-changed/model" "os" + "strings" "github.com/pb33f/libopenapi/what-changed/reports" "github.com/pb33f/openapi-changes/model" ) func createReport(commit *model.Commit) *model.Report { - report := reports.CreateOverallReport(commit.Changes) - return &model.Report{Summary: report.ChangeReport, Commit: commit} + if native, ok := commit.AllChanges().(*wc.DocumentChanges); ok { + report := reports.CreateOverallReport(native) + return &model.Report{Summary: report.ChangeReport, Commit: commit} + } + summary := make(map[string]*reports.Changed) + for _, change := range commit.AllChanges().GetAllChanges() { + name := strings.TrimPrefix(change.Path, "$.") + if i := strings.IndexAny(name, ".["); i >= 0 { + name = name[:i] + } + if summary[name] == nil { + summary[name] = &reports.Changed{} + } + summary[name].Total++ + if change.Breaking { + summary[name].Breaking++ + } + } + return &model.Report{Summary: summary, Commit: commit} } func writeReportFile(reportFile string, report []byte, styles commandStyles) error { diff --git a/cmd/root.go b/cmd/root.go index f8efa51..158aeba 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -19,8 +19,8 @@ var ( rootCmd = &cobra.Command{ SilenceUsage: true, Use: "openapi-changes", - Short: "Detect and explore changes between OpenAPI / Swagger specifications.", - Long: `openapi-changes can detect every change found in an OpenAPI specification. + Short: "Detect and explore changes between OpenAPI and AsyncAPI specifications.", + Long: `openapi-changes detects changes within OpenAPI or AsyncAPI 3.x specifications. it can compare between two files, or a single file, over time. The comparison and reporting commands use the current doctor-based engine.`, diff --git a/cmd/summary.go b/cmd/summary.go index 05f555b..92d45ac 100644 --- a/cmd/summary.go +++ b/cmd/summary.go @@ -279,6 +279,7 @@ func renderSummaryWithTheme( withLines bool, styles summaryStyles, ) (string, bool, bool, error) { + defer releaseHistoryWindows(commits) if len(commits) == 0 { return noChangesFoundMessage + "\n", false, false, nil } @@ -289,13 +290,10 @@ func renderSummaryWithTheme( renderedCommits := 0 treeRendered := false var renderErrors []error + noPriorVersion := false for c, commit := range commits { - if commit.Document == nil || commit.OldDocument == nil { - if !isDirectFileComparison(commits) && totalChanges == 0 && totalBreaking == 0 && c+1 < len(commits) { - sb.WriteString(fmt.Sprintf("No changes detected between %s and %s\n", - commit.Hash, commits[c+1].Hash)) - } + if commit == nil { continue } @@ -306,9 +304,18 @@ func renderSummaryWithTheme( continue } if result == nil { - if !isDirectFileComparison(commits) && totalChanges == 0 && c+1 < len(commits) { + if commit.Comparable() { + renderedCommits++ + } else if commit.Source != nil { + noPriorVersion = true + } + if commit.Comparable() && !isDirectFileComparison(commits) && totalChanges == 0 && c+1 < len(commits) { + baseline := commit.OriginalRevision + if baseline == "" { + baseline = commits[c+1].Hash + } sb.WriteString(fmt.Sprintf("No changes detected between %s and %s\n", - commit.Hash, commits[c+1].Hash)) + commit.Hash, baseline)) } continue } @@ -329,7 +336,7 @@ func renderSummaryWithTheme( } } if changeRoot == nil { - changeRoot = result.RightDrDoc.V3Document.Node + changeRoot = result.root() } var colorScheme terminal.ColorScheme @@ -373,7 +380,9 @@ func renderSummaryWithTheme( sb.WriteString("\n") dateStr := commit.CommitDate.Format("01/02/06") - if markdown { + if commit.Synthetic { + sb.WriteString(commit.Message + "\n") + } else if markdown { sb.WriteString(fmt.Sprintf("**Date**: %s | **Commit**: %s\n", dateStr, commit.Message)) } else { sb.WriteString(styles.title.Render(fmt.Sprintf("Date: %s | Commit: %s", dateStr, commit.Message))) @@ -452,6 +461,9 @@ func renderSummaryWithTheme( } if !hasChanges && len(renderErrors) == 0 { if sb.Len() == 0 { + if renderedCommits == 0 && noPriorVersion { + return noPriorVersionMessage + "\n", false, false, nil + } return noChangesFoundMessage + "\n", false, false, nil } return sb.String(), false, false, nil diff --git a/cmd/summary_test.go b/cmd/summary_test.go index 6c3f247..49e7ee9 100644 --- a/cmd/summary_test.go +++ b/cmd/summary_test.go @@ -420,7 +420,7 @@ paths: {} ) require.NoError(t, err) - assert.Contains(t, output, "No changes detected between empty123 and good123") + assert.NotContains(t, output, "No changes detected between empty123 and good123", "missing documents are not a successful comparison") assert.Contains(t, output, "info") assert.Contains(t, output, "Document Element") assert.False(t, hasBreaking) diff --git a/git/github.go b/git/github.go index 1955e85..0269e7b 100644 --- a/git/github.go +++ b/git/github.go @@ -5,9 +5,11 @@ package git import ( "context" + "encoding/base64" "errors" "fmt" "os" + "strings" "time" doctorgithub "github.com/pb33f/doctor/github" @@ -155,6 +157,26 @@ func ProcessGithubRepoDetailed(username, repo, filePath string, model.SendProgressUpdate("git", fmt.Sprintf("fetched %d github revisions", len(revisions)), true, progressChan) + opts.ReadRevision = func(_, revision, path string) ([]byte, error) { + service := newGitHubService() + files, ok := service.(doctorgithub.FileService) + if !ok { + return nil, fmt.Errorf("GitHub service cannot read revision references") + } + session := service.CreateSessionWithOptionalToken(os.Getenv(GithubToken), config) + if session == nil { + return nil, fmt.Errorf("failed to create GitHub reference session") + } + defer session.Close() + file, err := files.GetFileContent(context.Background(), session, username, repo, path, revision) + if err != nil { + return nil, err + } + if file.Encoding == "base64" { + return base64.StdEncoding.DecodeString(strings.ReplaceAll(file.Content, "\n", "")) + } + return []byte(file.Content), nil + } commitHistory, errs := convertGitHubRevisionsIntoModelDetailed(revisions, filePath, progressChan, errorChan, opts, breakingConfig) if errs != nil { for _, err := range errs { diff --git a/git/history_sources.go b/git/history_sources.go new file mode 100644 index 0000000..2b5840e --- /dev/null +++ b/git/history_sources.go @@ -0,0 +1,96 @@ +package git + +import ( + "github.com/pb33f/libopenapi/datamodel" + "github.com/pb33f/openapi-changes/model" + "os" + "path/filepath" +) + +// buildHistorySources defers model construction to the consumer's two-document +// window. Source bytes and revision-scoped configurations remain available for +// interactive navigation without retaining every document graph. +func buildHistorySources(commits []*model.Commit, opts HistoryOptions) (*HistoryBuildResult, []error) { + if len(commits) == 0 { + return &HistoryBuildResult{}, nil + } + basePath, baseURL, err := ResolveBaseOverride(opts.Base) + if err != nil { + return nil, []error{err} + } + var context *RevisionDocumentContext + if commits[0].RepoDirectory != "" { + context, err = BuildRevisionDocumentContext(commits[0].RepoDirectory, commits[0].FilePath, basePath, baseURL) + if err != nil { + return nil, []error{err} + } + } + base := datamodel.NewDocumentConfiguration() + base.AllowRemoteReferences = opts.Remote || baseURL != nil + base.BaseURL = baseURL + base.ExcludeExtensionRefs = !opts.ExtRefs + base.IgnoreArrayCircularReferences = true + base.IgnorePolymorphicCircularReferences = true + window := new(model.HistoryWindow) + makeSource := func(data []byte, revision string) *model.HistorySource { + return &model.HistorySource{Data: data, Revision: revision, Config: func() (*datamodel.DocumentConfiguration, error) { + if context != nil { + return BuildRevisionDocumentConfiguration(context, revision, base) + } + config := cloneDocumentConfiguration(base) + config.SpecFilePath = commits[0].FilePath + if opts.ReadRevision != nil { + root := filepath.Join(os.TempDir(), "openapi-changes-history") + config.BasePath = root + config.SpecFilePath = filepath.Join(root, commits[0].FilePath) + config.AllowFileReferences = true + fs, err := NewGitRevisionFS(root, root, revision, config) + if err != nil { + return nil, err + } + fs.readRevision = opts.ReadRevision + config.LocalFS = fs + } + return config, nil + }} + } + var previous *model.HistorySource + // Fetch the preceding file version once; older malformed baselines are handled + // by the ordinary history chain when they are part of the requested history. + oldest := commits[len(commits)-1] + if context != nil { + for revision := oldest.Hash + "~1"; ; revision += "~1" { + bits, err := readFile(oldest.RepoDirectory, revision, oldest.FilePath) + if err != nil { + break + } + candidate := makeSource(bits, revision) + _, _, release, err := window.Acquire(candidate) + if err != nil { + continue + } + release() + previous = candidate + break + } + } + for i := len(commits) - 1; i >= 0; i-- { + commit := commits[i] + source := makeSource(commit.Data, commit.Hash) + source.Previous = previous + commit.Source = source + commit.Window = window + if previous != nil { + commit.OldData = previous.Data + } + if context != nil { + commit.DocumentRewriters = []model.DocumentPathRewriter{context.DocumentRewriter} + } + if context == nil && opts.ReadRevision != nil { + root := filepath.Join(os.TempDir(), "openapi-changes-history") + commit.DocumentRewriters = []model.DocumentPathRewriter{NewRepoRelativeDocumentPathRewriter(root, root)} + } + previous = source + } + return &HistoryBuildResult{Commits: commits}, nil +} diff --git a/git/options.go b/git/options.go index 28ce1b4..7ff4c1e 100644 --- a/git/options.go +++ b/git/options.go @@ -9,6 +9,8 @@ import "github.com/pb33f/openapi-changes/model" // BreakingConfig is intentionally kept as a separate parameter in function // signatures — it controls comparison semantics, not history traversal. type HistoryOptions struct { + ReadRevision func(repo, revision, path string) ([]byte, error) // optional hosted revision reader + Lazy bool // prepare sources now and retain only the active model window Base string Remote bool ExtRefs bool diff --git a/git/read_local.go b/git/read_local.go index 601da2e..fe96722 100644 --- a/git/read_local.go +++ b/git/read_local.go @@ -201,6 +201,9 @@ func buildCommitChangelogDetailed(commitHistory []*model.Commit, progressChan chan *model.ProgressUpdate, errorChan chan model.ProgressError, opts HistoryOptions, breakingConfig *whatChangedModel.BreakingRulesConfig, ) (*HistoryBuildResult, []error) { + if opts.Lazy { + return buildHistorySources(commitHistory, opts) + } var changeErrors []error var cleaned []*model.Commit var skippedCommits []string @@ -208,10 +211,8 @@ func buildCommitChangelogDetailed(commitHistory []*model.Commit, comparableCount := 0 // apply breaking rules configuration before comparisons - if breakingConfig != nil { - breakingrules.Apply(breakingConfig) - defer breakingrules.Reset() - } + releaseRules := breakingrules.Acquire(breakingConfig) + defer releaseRules() // create a new document config and set to default closed state, // enable it if the user has specified a base url or a path. diff --git a/git/revision_fs.go b/git/revision_fs.go index 125f7aa..d37c928 100644 --- a/git/revision_fs.go +++ b/git/revision_fs.go @@ -24,12 +24,13 @@ import ( var revisionFSReadFileAtRevision = ReadFileAtRevision type GitRevisionFS struct { - repoRoot string - baseDir string - revision string - indexConfig *index.SpecIndexConfig - logger *slog.Logger - rolodex *index.Rolodex + readRevision func(repo, revision, path string) ([]byte, error) + repoRoot string + baseDir string + revision string + indexConfig *index.SpecIndexConfig + logger *slog.Logger + rolodex *index.Rolodex files sync.Map processing sync.Map @@ -170,7 +171,11 @@ func (g *GitRevisionFS) Open(name string) (fs.File, error) { return nil, wait.err } - data, err := revisionFSReadFileAtRevision(g.repoRoot, g.revision, relPath) + read := g.readRevision + if read == nil { + read = revisionFSReadFileAtRevision + } + data, err := read(g.repoRoot, g.revision, relPath) if err != nil { wait.err = err return nil, err diff --git a/go.mod b/go.mod index dcfc506..4aa5eed 100644 --- a/go.mod +++ b/go.mod @@ -10,12 +10,14 @@ require ( github.com/alecthomas/chroma/v2 v2.27.0 github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de github.com/charmbracelet/colorprofile v0.4.3 + github.com/charmbracelet/x/ansi v0.11.9 github.com/charmbracelet/x/term v0.2.2 github.com/google/uuid v1.6.0 github.com/mattn/go-runewidth v0.0.31 - github.com/pb33f/doctor v0.0.83 + github.com/pb33f/doctor v0.0.86 github.com/pb33f/go-yaml v0.1.1 - github.com/pb33f/libopenapi v0.41.6 + github.com/pb33f/libasyncapi v0.0.6 + github.com/pb33f/libopenapi v0.42.0 github.com/pb33f/testify v0.1.1 github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 github.com/spf13/cobra v1.10.2 @@ -31,7 +33,6 @@ require ( github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/charmbracelet/harmonica v0.2.0 // indirect github.com/charmbracelet/ultraviolet v0.0.0-20261008173134-6b8d4baf91b4 // indirect - github.com/charmbracelet/x/ansi v0.11.9 // indirect github.com/charmbracelet/x/exp/slice v0.1.0 // indirect github.com/charmbracelet/x/termios v0.1.1 // indirect github.com/charmbracelet/x/windows v0.2.2 // indirect @@ -39,6 +40,7 @@ require ( github.com/clipperhouse/uax29/v2 v2.7.0 // indirect github.com/dlclark/regexp2/v2 v2.8.4 // indirect github.com/dustin/go-humanize v1.1.0 // indirect + github.com/go-viper/mapstructure/v2 v2.5.0 // indirect github.com/google/go-github/v72 v72.0.0 // indirect github.com/google/go-querystring v1.2.0 // indirect github.com/gorilla/css v1.0.1 // indirect @@ -47,12 +49,10 @@ require ( github.com/lucasjones/reggen v0.0.0-20200904144131-37ba4fa293bb // indirect github.com/mattn/go-isatty v0.0.24 // indirect github.com/microcosm-cc/bluemonday v1.0.27 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/ncruces/go-strftime v1.1.0 // indirect github.com/pb33f/jsonpath v0.8.4 // indirect github.com/pb33f/jsonschema/v6 v6.0.3 // indirect - github.com/pb33f/libasyncapi v0.0.3-0.20261006133119-e34489c04636 // indirect github.com/pb33f/ordered-map/v2 v2.3.2 // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect github.com/rivo/uniseg v0.4.7 // indirect diff --git a/go.sum b/go.sum index cb1ea02..f9fb4b4 100644 --- a/go.sum +++ b/go.sum @@ -63,6 +63,8 @@ github.com/dlclark/regexp2/v2 v2.8.4 h1:yfDDXTn4oxyLDC10/ieOBNDCCdIVWS9WbT6ddVXs github.com/dlclark/regexp2/v2 v2.8.4/go.mod h1:avUrQvPaLz2DrFNHJF0taWAFFX2C1GMSSoeiqFjcBmU= github.com/dustin/go-humanize v1.1.0 h1:dbKTrvD0klcbBV/h4AWJdMuZogJACoMlvWIWZ5b2xWg= github.com/dustin/go-humanize v1.1.0/go.mod h1:hc1CvRkJMsgxqjmjMQF3QNRAZBwY8AXBAzKYoSX9sFI= +github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= +github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= @@ -93,24 +95,22 @@ github.com/mattn/go-runewidth v0.0.31 h1:1oCV4ReTlosDBc6rYRw5cL8S/4y8iv5oRl4SJ5I github.com/mattn/go-runewidth v0.0.31/go.mod h1:3qAiGCV4Koz/yuveO58qUefmUTRm8r0IGEXZ9jeHp/8= github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk= github.com/microcosm-cc/bluemonday v1.0.27/go.mod h1:jFi9vgW+H7c3V0lb6nR74Ib/DIB5OBs92Dimizgw2cA= -github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= -github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= github.com/ncruces/go-strftime v1.1.0 h1:vtPmPWMkb539RGV9WpWT9EwJGvrOCKvMNI4obWL47Hk= github.com/ncruces/go-strftime v1.1.0/go.mod h1:yVaq7iwCN09vHRrKBrrflXT0M9tTMG2KmZ9Fj7xeG/g= -github.com/pb33f/doctor v0.0.83 h1:YhGt/cHQzClSgL9VyPibsuQdxwr9F8WMzxPfKHnj6Wg= -github.com/pb33f/doctor v0.0.83/go.mod h1:J+Ox7dWjOtVv45A/Ruj38CV9e51HFi5SuGWySu90DKs= +github.com/pb33f/doctor v0.0.86 h1:MDXxWkalkQr8quhXTJVCedmPWYFjPOWwXU7T4Qe3Wtw= +github.com/pb33f/doctor v0.0.86/go.mod h1:9TCfRtf+g+WJArC1jga31KP2fzCggg0W0RrVWryh9Vc= github.com/pb33f/go-yaml v0.1.1 h1:yWGmhVdwzionRnSc/hEJwcfq6PaZL2QdYzyReXBbX7Q= github.com/pb33f/go-yaml v0.1.1/go.mod h1:QvWdkHP5VjFYAeHMQUkaPQqREaQnBNOXmWzAjNrnSdo= github.com/pb33f/jsonpath v0.8.4 h1:Yx7fxsKl8scgERL22WhKDs2c6gYNNUonPSWEG8Y194s= github.com/pb33f/jsonpath v0.8.4/go.mod h1:eO6mgdhw5RgzCxm/bXTi75VUs0/cCYJzdGjMCCUEI6M= github.com/pb33f/jsonschema/v6 v6.0.3 h1:TMIkE1xCmnF8Cy+anIBs+r4ASfGtwzfFxYsrrIn0wSU= github.com/pb33f/jsonschema/v6 v6.0.3/go.mod h1:cYPShw+w1Jrs0YgpE2rk1FLdIAsKfWcotv/54G6ddFo= -github.com/pb33f/libasyncapi v0.0.3-0.20261006133119-e34489c04636 h1:uUhTvFiCwssojeWYPQzmeVWl4lCooX5koCf/yS2umhA= -github.com/pb33f/libasyncapi v0.0.3-0.20261006133119-e34489c04636/go.mod h1:FWWmU6wdny1AJbjYlaavxoeqy4iVXnWRwX7ybYwFdbM= -github.com/pb33f/libopenapi v0.41.6 h1:W1X/5rOaAk3/Mjwrt+DHaiJO6buhruKWrbQ+pumONkA= -github.com/pb33f/libopenapi v0.41.6/go.mod h1:mUldESjO6ownR1TCcywvoYp7e4v/bCdQyiiIqsgWne0= +github.com/pb33f/libasyncapi v0.0.6 h1:csDUT7D9RyStvgPnenvbIi5BOBT/uTKRRicPttMdffY= +github.com/pb33f/libasyncapi v0.0.6/go.mod h1:OcM42Lo3J4F9Tz55RZIOxcAubOv1BGRg9gy8Sp36skk= +github.com/pb33f/libopenapi v0.42.0 h1:BVxy2OIeEJRIVVL2//AU2TKs1JjZv/wKmD/8uFI8lzI= +github.com/pb33f/libopenapi v0.42.0/go.mod h1:IlfeXtmcY38KEnGJ4OMWFA8I62BCNamuQa8omLnk6R0= github.com/pb33f/ordered-map/v2 v2.3.2 h1:wDyaZ2Pv9QLh64X4utCeD5Zoi9nIv2aW3lwv172O5PQ= github.com/pb33f/ordered-map/v2 v2.3.2/go.mod h1:1OhFrXu3OYw3kM+FXF+Ug3ugmmZ9LE8z0JfQMLvtV0w= github.com/pb33f/testify v0.1.1 h1:mnHe7uxKt8dyNYEGUspow72VjD264DB5rOJq4bz5tJw= diff --git a/html-report/generator.go b/html-report/generator.go index 08d655b..53c4663 100644 --- a/html-report/generator.go +++ b/html-report/generator.go @@ -85,16 +85,17 @@ type ReportPayload struct { // ReportItem represents a single commit/comparison in the report. type ReportItem struct { - ChangeId string `json:"changeId"` - Graph *GraphData `json:"graph"` - ExplorerGraph *GraphData `json:"explorerGraph,omitempty"` - Summary *SummaryData `json:"summary"` - HtmlReport string `json:"htmlReport"` - OriginalSpec string `json:"originalSpec"` - ModifiedSpec string `json:"modifiedSpec"` - OriginalHighlighted map[int]string `json:"originalHighlighted,omitempty"` - ModifiedHighlighted map[int]string `json:"modifiedHighlighted,omitempty"` - Commit *CommitInfo `json:"commit"` + Specification *model.ComparisonSpecification `json:"specification,omitempty"` + ChangeId string `json:"changeId"` + Graph *GraphData `json:"graph"` + ExplorerGraph *GraphData `json:"explorerGraph,omitempty"` + Summary *SummaryData `json:"summary"` + HtmlReport string `json:"htmlReport"` + OriginalSpec string `json:"originalSpec"` + ModifiedSpec string `json:"modifiedSpec"` + OriginalHighlighted map[int]string `json:"originalHighlighted,omitempty"` + ModifiedHighlighted map[int]string `json:"modifiedHighlighted,omitempty"` + Commit *CommitInfo `json:"commit"` } // highlightSpecLines uses Chroma to syntax-highlight each line of a spec, @@ -225,7 +226,7 @@ const ( func BuildReportItem( commit *model.Commit, result *changerator.Changerator, - docChanges *whatChangedModel.DocumentChanges, + docChanges what_changed.Changed, rightDrDoc *drModel.DrDocument, changeId string, ) (*ReportItem, error) { @@ -254,7 +255,7 @@ func BuildReportItem( htmlConfig.HTML.EnableNestedListFix = true htmlRenderer := renderer.NewHTMLRenderer(htmlConfig) htmlReport, err := htmlRenderer.RenderHTML(&renderer.RenderInput{ - DocumentChanges: docChanges, + ChangeReport: docChanges, Doctor: rightDrDoc, RightDocContent: commit.Data, Config: htmlConfig, @@ -266,7 +267,16 @@ func BuildReportItem( result.ClearContextCache() drModel.SanitizeGraph(result.ChangedNodes, nil) - graphMap := rightDrDoc.BuildGraphMap() + graphMap := make(map[int]string) + if rightDrDoc != nil { + graphMap = rightDrDoc.BuildGraphMap() + } else { + for _, node := range result.ChangedNodes { + if node.ValueLine > 0 { + graphMap[node.ValueLine] = node.Id + } + } + } standardGraph, err := buildGraphData( graphModeStandard, @@ -299,6 +309,7 @@ func BuildReportItem( } item := &ReportItem{ + Specification: commit.Specification, ChangeId: changeId, Graph: standardGraph, ExplorerGraph: explorerGraph, diff --git a/html-report/ui/build/static/bundle-lite.js b/html-report/ui/build/static/bundle-lite.js index 4324397..b28a61b 100644 --- a/html-report/ui/build/static/bundle-lite.js +++ b/html-report/ui/build/static/bundle-lite.js @@ -90,7 +90,7 @@ - `},m=[f,{name:`system`,resolver:e=>e in p?`data:image/svg+xml,${encodeURIComponent(p[e])}`:``}],h=[];function g(e){h.push(e)}function _(e){h=h.filter(t=>t!==e)}function v(e){return m.find(t=>t.name===e)}function y(e,t){b(e),m.push({name:e,resolver:t.resolver,mutator:t.mutator,spriteSheet:t.spriteSheet}),h.forEach(t=>{t.library===e&&t.setIcon()})}function b(e){m=m.filter(t=>t.name!==e)}var x=Object.defineProperty,S=Object.defineProperties,C=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=e=>{throw TypeError(e)},ne=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,re=(e,t)=>{for(var n in t||={})E.call(t,n)&&ne(e,n,t[n]);if(T)for(var n of T(t))ee.call(t,n)&&ne(e,n,t[n]);return e},ie=(e,t)=>S(e,w(t)),D=(e,t,n,r)=>{for(var i=r>1?void 0:r?C(t,n):t,a=e.length-1,o;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&x(t,n,i),i},ae=(e,t,n)=>t.has(e)||te(`Cannot `+n),oe=(e,t,n)=>(ae(e,t,`read from private field`),n?n.call(e):t.get(e)),se=(e,t,n)=>t.has(e)?te(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),ce=(e,t,n,r)=>(ae(e,t,`write to private field`),r?r.call(e,n):t.set(e,n),n),le={"heartbreak-fill":``,pencil:``,"plus-lg":``,"x-lg":``,x:``,"x-diamond":``,stack:``,"chevron-left":``,"chevron-right":``,"chevron-down":``,"arrow-right":``,"arrow-left":``,"arrow-up":``,"arrow-down":``,"arrow-clockwise":``,"arrow-return-right":``,"grip-vertical":``,"grip-horizontal":``,asterisk:``,capsule:``,"circle-half":``,download:``,search:``,sliders:``,"zoom-in":``,"zoom-out":``,binoculars:``,"broadcast-pin":``,"caret-right-fill":``,"clock-history":``,clock:``,"exclamation-triangle":``,"eye-slash":``,key:``,"node-plus":``,"plus-circle":``,"plus-slash-minus":``,"info-square":``,fullscreen:``,box:``,boxes:``,"box-seam":``,"box-arrow-in-right":``,"box-arrow-left":``,"braces-asterisk":``,"chat-left-quote":``,"code-slash":``,compass:``,cookie:``,"diagram-3":``,envelope:``,"exclamation-circle":``,folder:``,"gear-wide-connected":``,geo:``,path:``,"hdd-network":``,"journal-code":``,link:``,plug:``,"plus-square":``,"question-lg":``,"shield-lock":``,tag:``,tags:``,"telephone-outbound":``,upload:``,"x-square":``,award:``,"person-circle":``,"patch-check":``,stars:``,"dash-square":``,journals:``,"filetype-js":``,"filetype-php":``,"filetype-py":``,"filetype-html":``,markdown:``,"filetype-java":``,"filetype-rb":``,sun:``,moon:``,display:``},ue=``;function de(){y(`default`,{resolver:e=>{let t=le[e]||ue;return!le[e]&&typeof console<`u`&&console.warn(`[openapi-changes] Unknown icon: "${e}" — using fallback`),`data:image/svg+xml,${encodeURIComponent(t)}`}})}var O=e=>(t,n)=>{n===void 0?customElements.define(e,t):n.addInitializer(()=>{customElements.define(e,t)})},fe=globalThis,pe=fe.ShadowRoot&&(fe.ShadyCSS===void 0||fe.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,me=Symbol(),he=new WeakMap,ge=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==me)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(pe&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=he.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&he.set(t,e))}return e}toString(){return this.cssText}},_e=e=>new ge(typeof e==`string`?e:e+``,void 0,me),k=(e,...t)=>new ge(e.length===1?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1],e[0]),e,me),ve=(e,t)=>{if(pe)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=fe.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},ye=pe?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return _e(t)})(e):e,{is:be,defineProperty:xe,getOwnPropertyDescriptor:Se,getOwnPropertyNames:Ce,getOwnPropertySymbols:we,getPrototypeOf:Te}=Object,Ee=globalThis,De=Ee.trustedTypes,Oe=De?De.emptyScript:``,ke=Ee.reactiveElementPolyfillSupport,Ae=(e,t)=>e,je={toAttribute(e,t){switch(t){case Boolean:e=e?Oe:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},Me=(e,t)=>!be(e,t),Ne={attribute:!0,type:String,converter:je,reflect:!1,useDefault:!1,hasChanged:Me};Symbol.metadata??=Symbol(`metadata`),Ee.litPropertyMetadata??=new WeakMap;var Pe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Ne){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&xe(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=Se(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:r,set(t){let a=r?.call(this);i?.call(this,t),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ne}static _$Ei(){if(this.hasOwnProperty(Ae(`elementProperties`)))return;let e=Te(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ae(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ae(`properties`))){let e=this.properties,t=[...Ce(e),...we(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(ye(e))}else e!==void 0&&t.push(ye(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ve(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){let i=(n.converter?.toAttribute===void 0?je:n.converter).toAttribute(t,n.type);this._$Em=e,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){let e=n.getPropertyOptions(r),i=typeof e.converter==`function`?{fromAttribute:e.converter}:e.converter?.fromAttribute===void 0?je:e.converter;this._$Em=r;let a=i.fromAttribute(t,e.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(e,t,n,r=!1,i){if(e!==void 0){let a=this.constructor;if(!1===r&&(i=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Me)(i,t)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}};Pe.elementStyles=[],Pe.shadowRootOptions={mode:`open`},Pe[Ae(`elementProperties`)]=new Map,Pe[Ae(`finalized`)]=new Map,ke?.({ReactiveElement:Pe}),(Ee.reactiveElementVersions??=[]).push(`2.1.2`);var Fe={attribute:!0,type:String,converter:je,reflect:!1,hasChanged:Me},Ie=(e=Fe,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)};function A(e){return(t,n)=>typeof n==`object`?Ie(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}function j(e){return A({...e,state:!0,attribute:!1})}function Le(e){return(t,n)=>{let r=typeof t==`function`?t:t[n];Object.assign(r,e)}}var Re=(e,t,n)=>(n.configurable=!0,n.enumerable=!0,Reflect.decorate&&typeof t!=`object`&&Object.defineProperty(e,t,n),n);function M(e,t){return(n,r,i)=>{let a=t=>t.renderRoot?.querySelector(e)??null;if(t){let{get:e,set:t}=typeof r==`object`?n:i??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return Re(n,r,{get(){let n=e.call(this);return n===void 0&&(n=a(this),(n!==null||this.hasUpdated)&&t.call(this,n)),n}})}return Re(n,r,{get(){return a(this)}})}}var ze;function Be(e){return(t,n)=>Re(t,n,{get(){return(this.renderRoot??(ze??=document.createDocumentFragment())).querySelectorAll(e)}})}var Ve=globalThis,He=e=>e,Ue=Ve.trustedTypes,We=Ue?Ue.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,Ge=`$lit$`,Ke=`lit$${Math.random().toFixed(9).slice(2)}$`,qe=`?`+Ke,Je=`<${qe}>`,Ye=document,Xe=()=>Ye.createComment(``),Ze=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Qe=Array.isArray,$e=e=>Qe(e)||typeof e?.[Symbol.iterator]==`function`,et=`[ + `},m=[f,{name:`system`,resolver:e=>e in p?`data:image/svg+xml,${encodeURIComponent(p[e])}`:``}],h=[];function g(e){h.push(e)}function _(e){h=h.filter(t=>t!==e)}function v(e){return m.find(t=>t.name===e)}function y(e,t){b(e),m.push({name:e,resolver:t.resolver,mutator:t.mutator,spriteSheet:t.spriteSheet}),h.forEach(t=>{t.library===e&&t.setIcon()})}function b(e){m=m.filter(t=>t.name!==e)}var x=Object.defineProperty,S=Object.defineProperties,C=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=e=>{throw TypeError(e)},ne=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,re=(e,t)=>{for(var n in t||={})E.call(t,n)&&ne(e,n,t[n]);if(T)for(var n of T(t))ee.call(t,n)&&ne(e,n,t[n]);return e},ie=(e,t)=>S(e,w(t)),D=(e,t,n,r)=>{for(var i=r>1?void 0:r?C(t,n):t,a=e.length-1,o;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&x(t,n,i),i},ae=(e,t,n)=>t.has(e)||te(`Cannot `+n),oe=(e,t,n)=>(ae(e,t,`read from private field`),n?n.call(e):t.get(e)),se=(e,t,n)=>t.has(e)?te(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),ce=(e,t,n,r)=>(ae(e,t,`write to private field`),r?r.call(e,n):t.set(e,n),n),le={hash:``,"heartbreak-fill":``,pencil:``,"plus-lg":``,"x-lg":``,x:``,"x-diamond":``,stack:``,"chevron-left":``,"chevron-right":``,"chevron-down":``,"arrow-right":``,"arrow-left":``,"arrow-up":``,"arrow-down":``,"arrow-clockwise":``,"arrow-return-right":``,"grip-vertical":``,"grip-horizontal":``,asterisk:``,capsule:``,"circle-half":``,download:``,search:``,sliders:``,"zoom-in":``,"zoom-out":``,binoculars:``,"broadcast-pin":``,"caret-right-fill":``,"clock-history":``,clock:``,"exclamation-triangle":``,"eye-slash":``,key:``,"node-plus":``,"plus-circle":``,"plus-slash-minus":``,"info-square":``,fullscreen:``,box:``,boxes:``,"box-seam":``,"box-arrow-in-right":``,"box-arrow-left":``,"braces-asterisk":``,"chat-left-quote":``,"code-slash":``,compass:``,cookie:``,"diagram-3":``,envelope:``,"exclamation-circle":``,folder:``,"gear-wide-connected":``,geo:``,path:``,"hdd-network":``,"journal-code":``,link:``,plug:``,"plus-square":``,"question-lg":``,"shield-lock":``,tag:``,tags:``,"telephone-outbound":``,upload:``,"x-square":``,award:``,"person-circle":``,"patch-check":``,stars:``,"dash-square":``,journals:``,"filetype-js":``,"filetype-php":``,"filetype-py":``,"filetype-html":``,markdown:``,"filetype-java":``,"filetype-rb":``,sun:``,moon:``,display:``},ue=``;function de(){y(`default`,{resolver:e=>{let t=le[e]||ue;return!le[e]&&typeof console<`u`&&console.warn(`[openapi-changes] Unknown icon: "${e}" — using fallback`),`data:image/svg+xml,${encodeURIComponent(t)}`}})}var O=e=>(t,n)=>{n===void 0?customElements.define(e,t):n.addInitializer(()=>{customElements.define(e,t)})},fe=globalThis,pe=fe.ShadowRoot&&(fe.ShadyCSS===void 0||fe.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,me=Symbol(),he=new WeakMap,ge=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==me)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(pe&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=he.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&he.set(t,e))}return e}toString(){return this.cssText}},_e=e=>new ge(typeof e==`string`?e:e+``,void 0,me),k=(e,...t)=>new ge(e.length===1?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1],e[0]),e,me),ve=(e,t)=>{if(pe)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=fe.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},ye=pe?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return _e(t)})(e):e,{is:be,defineProperty:xe,getOwnPropertyDescriptor:Se,getOwnPropertyNames:Ce,getOwnPropertySymbols:we,getPrototypeOf:Te}=Object,Ee=globalThis,De=Ee.trustedTypes,Oe=De?De.emptyScript:``,ke=Ee.reactiveElementPolyfillSupport,Ae=(e,t)=>e,je={toAttribute(e,t){switch(t){case Boolean:e=e?Oe:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},Me=(e,t)=>!be(e,t),Ne={attribute:!0,type:String,converter:je,reflect:!1,useDefault:!1,hasChanged:Me};Symbol.metadata??=Symbol(`metadata`),Ee.litPropertyMetadata??=new WeakMap;var Pe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Ne){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&xe(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=Se(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:r,set(t){let a=r?.call(this);i?.call(this,t),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ne}static _$Ei(){if(this.hasOwnProperty(Ae(`elementProperties`)))return;let e=Te(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ae(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ae(`properties`))){let e=this.properties,t=[...Ce(e),...we(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(ye(e))}else e!==void 0&&t.push(ye(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ve(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){let i=(n.converter?.toAttribute===void 0?je:n.converter).toAttribute(t,n.type);this._$Em=e,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){let e=n.getPropertyOptions(r),i=typeof e.converter==`function`?{fromAttribute:e.converter}:e.converter?.fromAttribute===void 0?je:e.converter;this._$Em=r;let a=i.fromAttribute(t,e.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(e,t,n,r=!1,i){if(e!==void 0){let a=this.constructor;if(!1===r&&(i=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Me)(i,t)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}};Pe.elementStyles=[],Pe.shadowRootOptions={mode:`open`},Pe[Ae(`elementProperties`)]=new Map,Pe[Ae(`finalized`)]=new Map,ke?.({ReactiveElement:Pe}),(Ee.reactiveElementVersions??=[]).push(`2.1.2`);var Fe={attribute:!0,type:String,converter:je,reflect:!1,hasChanged:Me},Ie=(e=Fe,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)};function A(e){return(t,n)=>typeof n==`object`?Ie(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}function j(e){return A({...e,state:!0,attribute:!1})}function Le(e){return(t,n)=>{let r=typeof t==`function`?t:t[n];Object.assign(r,e)}}var Re=(e,t,n)=>(n.configurable=!0,n.enumerable=!0,Reflect.decorate&&typeof t!=`object`&&Object.defineProperty(e,t,n),n);function M(e,t){return(n,r,i)=>{let a=t=>t.renderRoot?.querySelector(e)??null;if(t){let{get:e,set:t}=typeof r==`object`?n:i??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return Re(n,r,{get(){let n=e.call(this);return n===void 0&&(n=a(this),(n!==null||this.hasUpdated)&&t.call(this,n)),n}})}return Re(n,r,{get(){return a(this)}})}}var ze;function Be(e){return(t,n)=>Re(t,n,{get(){return(this.renderRoot??(ze??=document.createDocumentFragment())).querySelectorAll(e)}})}var Ve=globalThis,He=e=>e,Ue=Ve.trustedTypes,We=Ue?Ue.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,Ge=`$lit$`,Ke=`lit$${Math.random().toFixed(9).slice(2)}$`,qe=`?`+Ke,Je=`<${qe}>`,Ye=document,Xe=()=>Ye.createComment(``),Ze=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Qe=Array.isArray,$e=e=>Qe(e)||typeof e?.[Symbol.iterator]==`function`,et=`[ \f\r]`,tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nt=/-->/g,rt=/>/g,it=RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),at=/'/g,ot=/"/g,st=/^(?:script|style|textarea|title)$/i,ct=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),N=ct(1),lt=ct(2),ut=Symbol.for(`lit-noChange`),P=Symbol.for(`lit-nothing`),dt=new WeakMap,ft=Ye.createTreeWalker(Ye,129);function pt(e,t){if(!Qe(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return We===void 0?t:We.createHTML(t)}var mt=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?``:t===3?``:``,o=tt;for(let t=0;t`?(o=i??tt,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?it:c[3]===`"`?ot:at):o===ot||o===at?o=it:o===nt||o===rt?o=tt:(o=it,i=void 0);let d=o===it&&e[t+1].startsWith(`/>`)?` `:``;a+=o===tt?n+Je:l>=0?(r.push(s),n.slice(0,l)+Ge+n.slice(l)+Ke+d):n+Ke+(l===-2?t:d)}return[pt(e,a+(e[n]||``)+(t===2?``:t===3?``:``)),r]},ht=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=mt(t,n);if(this.el=e.createElement(l,r),ft.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=ft.nextNode())!==null&&c.length0){i.textContent=Ue?Ue.emptyScript:``;for(let n=0;n2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=P}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=gt(this,e,t,0),a=!Ze(e)||e!==this._$AH&&e!==ut,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new vt(t.insertBefore(Xe(),e),e,void 0,n??{})}return i._$AI(e),i},Dt=globalThis,F=class extends Pe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Et(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ut}};F._$litElement$=!0,F.finalized=!0,Dt.litElementHydrateSupport?.({LitElement:F});var Ot=Dt.litElementPolyfillSupport;Ot?.({LitElement:F}),(Dt.litElementVersions??=[]).push(`4.2.2`);var kt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},At=e=>(...t)=>({_$litDirective$:e,values:t}),jt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}},Mt=class extends jt{constructor(e){if(super(e),this.it=P,e.type!==kt.CHILD)throw Error(this.constructor.directiveName+`() can only be used in child bindings`)}render(e){if(e===P||e==null)return this._t=void 0,this.it=e;if(e===ut)return e;if(typeof e!=`string`)throw Error(this.constructor.directiveName+`() called with a non-string value`);if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Mt.directiveName=`unsafeHTML`,Mt.resultType=1;var Nt=At(Mt),{I:Pt}=wt,Ft=e=>e,It=(e,t)=>t===void 0?e?._$litType$!==void 0:e?._$litType$===t,Lt=e=>e.strings===void 0,Rt=()=>document.createComment(``),zt=(e,t,n)=>{let r=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(n===void 0)n=new Pt(r.insertBefore(Rt(),i),r.insertBefore(Rt(),i),e,e.options);else{let t=n._$AB.nextSibling,a=n._$AM,o=a!==e;if(o){let t;n._$AQ?.(e),n._$AM=e,n._$AP!==void 0&&(t=e._$AU)!==a._$AU&&n._$AP(t)}if(t!==i||o){let e=n._$AA;for(;e!==t;){let t=Ft(e).nextSibling;Ft(r).insertBefore(e,i),e=t}}}return n},Bt=(e,t,n=e)=>(e._$AI(t,n),e),Vt={},Ht=(e,t=Vt)=>e._$AH=t,Ut=e=>e._$AH,Wt=e=>{e._$AR(),e._$AA.remove()},Gt=(e,t,n)=>{let r=new Map;for(let i=t;i<=n;i++)r.set(e[i],i);return r},Kt=At(class extends jt{constructor(e){if(super(e),e.type!==kt.CHILD)throw Error(`repeat() can only be used in text expressions`)}dt(e,t,n){let r;n===void 0?n=t:t!==void 0&&(r=t);let i=[],a=[],o=0;for(let t of e)i[o]=r?r(t,o):o,a[o]=n(t,o),o++;return{values:a,keys:i}}render(e,t,n){return this.dt(e,t,n).values}update(e,[t,n,r]){let i=Ut(e),{values:a,keys:o}=this.dt(t,n,r);if(!Array.isArray(i))return this.ut=o,a;let s=this.ut??=[],c=[],l,u,d=0,f=i.length-1,p=0,m=a.length-1;for(;d<=f&&p<=m;)if(i[d]===null)d++;else if(i[f]===null)f--;else if(s[d]===o[p])c[p]=Bt(i[d],a[p]),d++,p++;else if(s[f]===o[m])c[m]=Bt(i[f],a[m]),f--,m--;else if(s[d]===o[m])c[m]=Bt(i[d],a[m]),zt(e,c[m+1],i[d]),d++,m--;else if(s[f]===o[p])c[p]=Bt(i[f],a[p]),zt(e,i[d],i[f]),f--,p++;else if(l===void 0&&(l=Gt(o,p,m),u=Gt(s,d,f)),l.has(s[d])){if(l.has(s[f])){let t=u.get(o[p]),n=t===void 0?null:i[t];if(n===null){let t=zt(e,i[d]);Bt(t,a[p]),c[p]=t}else c[p]=Bt(n,a[p]),zt(e,i[d],n),i[t]=null;p++}else Wt(i[f]),f--}else Wt(i[d]),d++;for(;p<=m;){let t=zt(e,c[m+1]);Bt(t,a[p]),c[p++]=t}for(;d<=f;){let e=i[d++];e!==null&&Wt(e)}return this.ut=o,Ht(e,c),ut}}),qt=k` :host { display: block; @@ -159,6 +159,8 @@ .fo { user-select: none; + /* Selected borders, annotations and glow extend beyond the layout box. */ + overflow: visible; } .text { @@ -1710,7 +1712,7 @@ } -`,B;(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`})(B||={});var Zi=`pb33f-theme-change`,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,V;(function(e){e.tiny=`tiny`,e.small=`small`,e.smaller=`smaller`,e.medium=`medium`,e.large=`large`,e.huge=`huge`})(V||={});var H;(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`})(H||={});var ea=$i=class extends F{getSize(){switch(this.size){case V.tiny:return`0.8rem`;case V.smaller:return`1.2rem`;case V.medium:return`1.4rem`;case V.large:return`1.8rem`;case V.huge:return`2rem`;default:return`1rem`}}getIconColor(){switch(this.color){case H.primary:return`var(--primary-color)`;case H.secondary:return`var(--secondary-color)`;case H.warning:return`var(--warn-color)`;case H.polymorphic:return`var(--warn-color)`;case H.error:return`var(--error-color)`;case H.inverse:return`var(--background-color)`;case H.filtered:return`var(--font-color-sub2)`;case H.font:default:return`var(--font-color)`}}constructor(){super(),this._themeHandler=()=>this.requestUpdate(),this.size=V.medium,this.color=H.primary}connectedCallback(){super.connectedCallback(),window.addEventListener(Zi,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Zi,this._themeHandler)}isLightMode(){return document.documentElement.getAttribute(`theme`)===`light`}getNodeTypeFromIcon(e){return Object.values(B).includes(e)?e:B.SCHEMA}static getIconForType(e){switch(e){case B.DOCUMENT:return`stars`;case B.SCHEMA:return`box`;case B.SCHEMA_TYPES:return`diagram-3`;case B.MEDIA_TYPE:case B.XML:return`code-slash`;case B.HEADER:case B.HEADERS:return`envelope`;case B.EXAMPLE:case B.EXAMPLES:return`chat-left-quote`;case B.ENCODING:return`box-seam`;case B.REQUEST_BODY:case B.REQUEST_BODIES:return`box-arrow-in-right`;case B.PARAMETER:case B.PARAMETERS:case B.SERVER_VARIABLE:return`braces-asterisk`;case B.PARAMETER_QUERY:return`question-lg`;case B.COOKIE:return`cookie`;case B.LINK:case B.LINKS:return`link`;case B.RESPONSE:case B.RESPONSES:return`box-arrow-left`;case B.OPERATION:case B.OPERATIONS:return`gear-wide-connected`;case B.SECURITY_SCHEME:case B.SECURITY_SCHEMES:case B.SECURITY:return`shield-lock`;case B.CALLBACK:case B.CALLBACKS:return`telephone-outbound`;case B.PATH_ITEM:case B.PATH_ITEMS:return`geo`;case B.SERVER:case B.SERVERS:return`hdd-network`;case B.PATHS:return`compass`;case B.COMPONENTS:return`boxes`;case B.CONTACT:return`person-circle`;case B.LICENSE:return`patch-check`;case B.UPLOAD:return`upload`;case B.INFO:return`info-square`;case B.TAG:return`tag`;case B.TAGS:return`tags`;case B.VERSION:return`award`;case B.EXTENSIONS:case B.EXTENSION:return`plug`;case B.WEBHOOK:case B.WEBHOOKS:return`arrow-clockwise`;case B.NO_EXAMPLE:return`exclamation-circle`;case B.POLYMORPHIC:return`diagram-3`;case B.ERROR:return`x-square`;case B.WARNING:return`exclamation-triangle`;case B.ROLODEX_FOLDER:return`folder`;case B.ROLODEX_FILE:return`journal-code`;case B.JS:return`filetype-js`;case B.PHP:return`filetype-php`;case B.PY:return`filetype-py`;case B.HTML:return`filetype-html`;case B.MD:return`markdown`;case B.JAVA:return`filetype-java`;case B.EXTERNAL_DOCS:return`journals`;case B.RB:return`filetype-rb`;case B.EXPAND_NODE:return`node-plus`;case B.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=$i.getIconForType(this.getNodeTypeFromIcon(this.icon));switch(this.icon){case B.OPENAPI:return N``;case B.GO:return N``;case B.TS:return N``;case B.CS:return N``;case B.C:return N``;case B.CPP:return N``;case B.ZIG:return N``}return N` +`,B;(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.CHANNEL=`channel`,e.CHANNELS=`channels`,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`})(B||={});var Zi=`pb33f-theme-change`,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,V;(function(e){e.tiny=`tiny`,e.small=`small`,e.smaller=`smaller`,e.medium=`medium`,e.large=`large`,e.huge=`huge`})(V||={});var H;(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`})(H||={});var ea=$i=class extends F{getSize(){switch(this.size){case V.tiny:return`0.8rem`;case V.smaller:return`1.2rem`;case V.medium:return`1.4rem`;case V.large:return`1.8rem`;case V.huge:return`2rem`;default:return`1rem`}}getIconColor(){switch(this.color){case H.primary:return`var(--primary-color)`;case H.secondary:return`var(--secondary-color)`;case H.warning:return`var(--warn-color)`;case H.polymorphic:return`var(--warn-color)`;case H.error:return`var(--error-color)`;case H.inverse:return`var(--background-color)`;case H.filtered:return`var(--font-color-sub2)`;case H.font:default:return`var(--font-color)`}}constructor(){super(),this._themeHandler=()=>this.requestUpdate(),this.size=V.medium,this.color=H.primary}connectedCallback(){super.connectedCallback(),window.addEventListener(Zi,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Zi,this._themeHandler)}isLightMode(){return document.documentElement.getAttribute(`theme`)===`light`}getNodeTypeFromIcon(e){return Object.values(B).includes(e)?e:B.SCHEMA}static getIconForType(e){switch(e){case B.DOCUMENT:return`stars`;case B.SCHEMA:return`box`;case B.CHANNEL:case B.CHANNELS:return`hash`;case B.SCHEMA_TYPES:return`diagram-3`;case B.MEDIA_TYPE:case B.XML:return`code-slash`;case B.HEADER:case B.HEADERS:return`envelope`;case B.EXAMPLE:case B.EXAMPLES:return`chat-left-quote`;case B.ENCODING:return`box-seam`;case B.REQUEST_BODY:case B.REQUEST_BODIES:return`box-arrow-in-right`;case B.PARAMETER:case B.PARAMETERS:case B.SERVER_VARIABLE:return`braces-asterisk`;case B.PARAMETER_QUERY:return`question-lg`;case B.COOKIE:return`cookie`;case B.LINK:case B.LINKS:return`link`;case B.RESPONSE:case B.RESPONSES:return`box-arrow-left`;case B.OPERATION:case B.OPERATIONS:return`gear-wide-connected`;case B.SECURITY_SCHEME:case B.SECURITY_SCHEMES:case B.SECURITY:return`shield-lock`;case B.CALLBACK:case B.CALLBACKS:return`telephone-outbound`;case B.PATH_ITEM:case B.PATH_ITEMS:return`geo`;case B.SERVER:case B.SERVERS:return`hdd-network`;case B.PATHS:return`compass`;case B.COMPONENTS:return`boxes`;case B.CONTACT:return`person-circle`;case B.LICENSE:return`patch-check`;case B.UPLOAD:return`upload`;case B.INFO:return`info-square`;case B.TAG:return`tag`;case B.TAGS:return`tags`;case B.VERSION:return`award`;case B.EXTENSIONS:case B.EXTENSION:return`plug`;case B.WEBHOOK:case B.WEBHOOKS:return`arrow-clockwise`;case B.NO_EXAMPLE:return`exclamation-circle`;case B.POLYMORPHIC:return`diagram-3`;case B.ERROR:return`x-square`;case B.WARNING:return`exclamation-triangle`;case B.ROLODEX_FOLDER:return`folder`;case B.ROLODEX_FILE:return`journal-code`;case B.JS:return`filetype-js`;case B.PHP:return`filetype-php`;case B.PY:return`filetype-py`;case B.HTML:return`filetype-html`;case B.MD:return`markdown`;case B.JAVA:return`filetype-java`;case B.EXTERNAL_DOCS:return`journals`;case B.RB:return`filetype-rb`;case B.EXPAND_NODE:return`node-plus`;case B.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=$i.getIconForType(this.getNodeTypeFromIcon(this.icon));switch(this.icon){case B.OPENAPI:return N``;case B.GO:return N``;case B.TS:return N``;case B.CS:return N``;case B.C:return N``;case B.CPP:return N``;case B.ZIG:return N``}return N` `}};ea.styles=[Ji,Yi,Xi,Yn],Qi([A()],ea.prototype,`icon`,void 0),Qi([A({type:V})],ea.prototype,`size`,void 0),Qi([A({type:H})],ea.prototype,`color`,void 0),Qi([A()],ea.prototype,`tooltip`,void 0),ea=$i=Qi([O(`pb33f-model-icon`)],ea);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 F{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 Zn,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=H.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=H.secondary),n&&n.classList.remove(`search-result-active`)}selectResult(e){e&&e.id?this.dispatchEvent(new CustomEvent(An,{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()}}render(){return N` @@ -2561,6 +2563,10 @@ padding-left: 2px; border: 1px solid var(--font-color-sub2); } + + .change-div > .change-icon:first-child { + margin-left: 0; + } sl-icon { vertical-align: middle; @@ -2658,9 +2664,12 @@ ${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`
+ `}};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);function va(e){return e?.label===`AsyncAPI`||typeof e?.instance?.asyncapi==`string`?`AsyncAPI Document`:`OpenAPI Document`}function ya(e,t){let n=ba(t);return n?N` + ${n}${e} + `:N``}function ba(e){let t=e?.action;return t===`send`||t===`receive`?t:void 0}var 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 U{constructor(e){super(e)}renderDocument(){let e=[];e.push(N`
- OpenAPI Document + ${va(this.node)}
`),this.document?.version&&e.push(N`
 > Version @@ -2677,7 +2686,10 @@ -
`),this.document?.tags&&e.push(N`
 > +
`);for(let[t,n,r]of[[`Channels`,this.document?.channels,B.CHANNELS],[`Operations`,this.document?.operations,B.OPERATIONS]])n&&e.push(N`
 > + + ${t}${n} +
`);return this.document?.tags&&e.push(N`
 > Tags ${this.document?.tags} @@ -2689,7 +2701,7 @@ Servers ${this.document?.servers} -
`),e}render(){return this.document=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};ya.styles=[sa],ya=va([O(`pb33f-explorer-document-node`)],ya);var ba=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},xa=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
+
`),e}render(){if(va(this.node)===`AsyncAPI Document`){let e=this.nodeInstance,t=e=>e&&typeof e==`object`?Object.keys(e).length:0;this.document={version:e?.asyncapi,channels:t(e?.channels),operations:t(e?.operations),servers:t(e?.servers),components:Object.entries(e?.components??{}).reduce((e,[n,r])=>e+(n.startsWith(`x-`)?0:t(r)),0)}}else this.document=this.nodeInstance;return this.renderNodeWrapper(this.renderDocument())}};Sa.styles=[sa],Sa=xa([O(`pb33f-explorer-document-node`)],Sa);var 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},wa=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
Information ${this.renderDependentControl()} @@ -2698,7 +2710,7 @@
`),this.info?.version&&e.push(N`
 > Version ${this.info?.version} -
`),e}render(){return this.info=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};xa.styles=[sa,ga],xa=ba([O(`pb33f-explorer-info-node`)],xa);var Sa=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},Ca=class extends U{constructor(e){super(e)}renderNode(){let e=[];if(e.push(N`
+
`),e}render(){return this.info=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};wa.styles=[sa,ga],wa=Ca([O(`pb33f-explorer-info-node`)],wa);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},Ea=class extends U{constructor(e){super(e)}renderNode(){let e=[];if(e.push(N`
License
`),this.license?.name&&e.push(N`
 > @@ -2707,13 +2719,13 @@ ${this.license?.identifier}
`),e;e.push(N`
 > ${this.license?.url} -
`)}return e}render(){return this.license=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ca.styles=[sa,ga],Ca=Sa([O(`pb33f-explorer-license-node`)],Ca);var wa=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=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
+
`)}return e}render(){return this.license=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ea.styles=[sa,ga],Ea=Ta([O(`pb33f-explorer-license-node`)],Ea);var 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},Oa=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
Contact
`),this.contact?.name&&e.push(N`
 > ${this.contact?.name} -
`),e}render(){return this.contact=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ta.styles=[sa,ga],Ta=wa([O(`pb33f-explorer-contact-node`)],Ta);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=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(t=N``),e.push(N` +
`),e}render(){return this.contact=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Oa.styles=[sa,ga],Oa=Da([O(`pb33f-explorer-contact-node`)],Oa);var ka=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},Aa=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(t=N``),e.push(N`
Tag ${t}
`),this.label&&e.push(N`
 > ${this.label} -
`),e}render(){return this.renderNodeWrapper(this.renderNode())}};Da.styles=[sa,ga],Da=Ea([O(`pb33f-explorer-tag-node`)],Da);var Oa=k` + `),e}render(){return this.renderNodeWrapper(this.renderNode())}};Aa.styles=[sa,ga],Aa=ka([O(`pb33f-explorer-tag-node`)],Aa);var ja=k` a { color: var(--primary-color); text-decoration: none; @@ -2736,7 +2748,7 @@ a:active { color: var(--primary-color); } -`,ka=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},Aa=class extends U{constructor(e){super(e)}renderNode(){let e=N``;this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(e=N``);let t=[];return t.push(N`
+`,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},Na=class extends U{constructor(e){super(e)}renderNode(){let e=N``;this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(e=N``);let t=[];return t.push(N`
Server ${e}
`),this.server?.url&&t.push(N`
 > @@ -2746,7 +2758,7 @@ Variables ${Object.keys(this.server.variables).length} -
`),t}render(){return this.server=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Aa.styles=[sa,Oa,ga],Aa=ka([O(`pb33f-explorer-server-node`)],Aa);var ja=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},Ma=class extends U{constructor(e){super(e)}renderDocument(){let e=[];return e.push(N` +
`),t}render(){return this.server=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Na.styles=[sa,ja,ga],Na=Ma([O(`pb33f-explorer-server-node`)],Na);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)}renderDocument(){let e=[];return e.push(N`
@@ -2802,7 +2814,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}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&&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` + `),e}render(){return this.components=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};Fa.styles=[sa,ga],Fa=Pa([O(`pb33f-explorer-components-node`)],Fa);function Ia(e){return e&&typeof e==`object`&&e.$ref!==void 0&&typeof e.$ref==`string`}var La=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},Ra=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&&e.every(e=>{if(Ia(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`
@@ -2842,7 +2854,7 @@
${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `}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`
+ `}return this.renderNodeWrapper(this.renderNode())}};Ra.styles=[sa,ga],La([A({type:Boolean})],Ra.prototype,`embedded`,void 0),Ra=La([O(`pb33f-explorer-schema-node`)],Ra);var za=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},Ba=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
${this.label} ${this.renderDependentControl()} @@ -2851,7 +2863,7 @@
`),this.scheme?.flows&&e.push(N`
 > Flows ${Object.keys(this.scheme?.flows).length} -
`),e}render(){return this.scheme=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};La.styles=[sa,ga],La=Ia([O(`pb33f-explorer-security-scheme-node`)],La);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=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``;if(this.parameter?.schema&&!this.parameter.schema.hasOwnProperty(`$ref`)){let e=this.parameter.schema;t=N`${e.type}`,Array.isArray(e.type)&&(t=N`${e.type.map(e=>N`${e} `)}`)}let n=N``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(n=N``),e.push(N`
+
`),e}render(){return this.scheme=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ba.styles=[sa,ga],Ba=za([O(`pb33f-explorer-security-scheme-node`)],Ba);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},Ha=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``;if(this.parameter?.schema&&!this.parameter.schema.hasOwnProperty(`$ref`)){let e=this.parameter.schema;t=N`${e.type}`,Array.isArray(e.type)&&(t=N`${e.type.map(e=>N`${e} `)}`)}let n=N``;return this.node&&`arrayIndex`in this.node&&this.node.arrayIndex>=0&&(n=N``),e.push(N`
${this.label}${n} ${t} ${this.renderDependentControl()} @@ -2870,7 +2882,7 @@ Media Types ${Object.keys(this.parameter?.content).length} -
`),e}render(){return this.parameter=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};za.styles=[sa,ga],za=Ra([O(`pb33f-explorer-parameter-node`)],za);var Ba=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},Va=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``;if(this.header?.schema&&!this.header.schema.hasOwnProperty(`$ref`)){let e=this.header.schema;t=N`${e.type}`,Array.isArray(e.type)&&(t=N`${e.type.map(e=>N`${e} `)}`)}return e.push(N`
+
`),e}render(){return this.parameter=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ha.styles=[sa,ga],Ha=Va([O(`pb33f-explorer-parameter-node`)],Ha);var Ua=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},Wa=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``;if(this.header?.schema&&!this.header.schema.hasOwnProperty(`$ref`)){let e=this.header.schema;t=N`${e.type}`,Array.isArray(e.type)&&(t=N`${e.type.map(e=>N`${e} `)}`)}return e.push(N`
${this.label} ${t} ${this.renderDependentControl()} @@ -2892,7 +2904,7 @@
- `),e}render(){return this.header=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Va.styles=[sa,ga],Va=Ba([O(`pb33f-explorer-header-node`)],Va);var Ha=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},Ua=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=this.label.replaceAll(`/`,`/`);return e.push(N`
+ `),e}render(){return this.header=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Wa.styles=[sa,ga],Wa=Ua([O(`pb33f-explorer-header-node`)],Wa);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},Ka=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=this.label.replaceAll(`/`,`/`);return e.push(N`
${t} ${this.renderDependentControl()} @@ -2904,7 +2916,7 @@ Media Types ${Object.keys(this.requestBody?.content).length} -
`),e}render(){return this.requestBody=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ua.styles=[sa,ga],Ua=Ha([O(`pb33f-explorer-request-body-node`)],Ua);var Wa=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},Ga=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``,n=this.label.replaceAll(`/`,`/`);if(this.mediaType?.schema&&!this.mediaType.schema.hasOwnProperty(`$ref`)){let e=this.mediaType.schema;t=N`${e.type}`,Array.isArray(e.type)&&(t=N`${e.type.map(e=>N`${e} `)}`)}return e.push(N`
+
`),e}render(){return this.requestBody=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ka.styles=[sa,ga],Ka=Ga([O(`pb33f-explorer-request-body-node`)],Ka);var qa=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},Ja=class extends U{constructor(e){super(e)}renderNode(){let e=[],t=N``,n=this.label.replaceAll(`/`,`/`);if(this.mediaType?.schema&&!this.mediaType.schema.hasOwnProperty(`$ref`)){let e=this.mediaType.schema;t=N`${e.type}`,Array.isArray(e.type)&&(t=N`${e.type.map(e=>N`${e} `)}`)}return e.push(N`
${Nt(n.toString())} ${t} ${this.renderDependentControl()} @@ -2918,9 +2930,9 @@
- `),e}render(){return this.mediaType=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ga.styles=[sa,ga],Ga=Wa([O(`pb33f-explorer-media-type-node`)],Ga);function Ka(e){return e?e>=100&&e<400?`http200`:e>=400&&e<500?`http400`:e>=500?`http500`:`pending`:`pending`}var qa=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},Ja=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
+ `),e}render(){return this.mediaType=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ja.styles=[sa,ga],Ja=qa([O(`pb33f-explorer-media-type-node`)],Ja);function Ya(e){return e?e>=100&&e<400?`http200`:e>=400&&e<500?`http400`:e>=500?`http500`:`pending`:`pending`}var 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},Za=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
- ${this.label} + ${this.label} ${this.renderDependentControl()}
`),this.response?.content&&e.push(N`
 > @@ -2937,7 +2949,7 @@ Links ${Object.keys(this.response?.links).length} -
`),e}render(){return this.response=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ja.styles=[sa,Yi,ga],Ja=qa([O(`pb33f-explorer-response-node`)],Ja);var Ya=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},Xa=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N` +
`),e}render(){return this.response=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Za.styles=[sa,Yi,ga],Za=Xa([O(`pb33f-explorer-response-node`)],Za);var Qa=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 U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
Link Parameters ${Object.keys(this.link?.parameters).length} -
`),e}render(){return this.link=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Xa.styles=[sa,Oa,ga],Xa=Ya([O(`pb33f-explorer-link-node`)],Xa);var Za=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},Qa=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N` +
`),e}render(){return this.link=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};$a.styles=[sa,ja,ga],$a=Qa([O(`pb33f-explorer-link-node`)],$a);var eo=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},to=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
Expressions ${Object.keys(this.callback).filter(e=>!e.startsWith(`x-`)).length} -
`),e}render(){return this.callback=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Qa.styles=[sa,ga],Qa=Za([O(`pb33f-explorer-callback-node`)],Qa);var $a=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=class extends U{constructor(e){super(e)}renderStatsForOperation(e){let t=0,n=0,r=0,i=N``,a=N``,o=N``;return e.parameters&&(n=e.parameters.length,i=N` +
`),e}render(){return this.callback=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};to.styles=[sa,ga],to=eo([O(`pb33f-explorer-callback-node`)],to);var no=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},ro=class extends U{constructor(e){super(e)}renderStatsForOperation(e){let t=0,n=0,r=0,i=N``,a=N``,o=N``;return e.parameters&&(n=e.parameters.length,i=N` (${n})`),e.responses&&(r=Object.keys(e.responses).length,a=N` @@ -3028,12 +3040,28 @@ Path Servers ${Object.keys(this.pathItem?.servers).length} -
`),e}render(){return this.pathItem=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};eo.styles=[sa,ga],eo=$a([O(`pb33f-explorer-pathitem-node`)],eo);var 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},no=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N` +
`),e}render(){return this.pathItem=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};ro.styles=[sa,ga],ro=no([O(`pb33f-explorer-pathitem-node`)],ro);var io=k` + .operation-label { + display: inline-flex; + align-items: center; + gap: 0.4em; + vertical-align: middle; + } + + .operation-action::part(base) { + background-color: var(--primary-color); + color: var(--background-color); + } + + .operation-action[variant="success"]::part(base) { + background-color: var(--terminal-text); + } +`,ao=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},oo=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
- + ${ya(this.label,this.nodeInstance)} ${this.renderDependentControl()}
`),this.operation?.operationId&&e.push(N`
 > @@ -3071,7 +3099,7 @@
`),this.operation?.deprecated&&e.push(N`
 > Deprecated -
`),e}render(){return this.operation=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};no.styles=[sa,Oa,ga],no=to([O(`pb33f-explorer-operation-node`)],no);var ro=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},io=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N` + `),e}render(){return this.operation=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};oo.styles=[sa,ja,ga,io],oo=ao([O(`pb33f-explorer-operation-node`)],oo);var so=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},co=class extends U{constructor(e){super(e)}renderNode(){let e=[];return e.push(N`
`),this.xml?.name&&e.push(N`
 > Name: ${this.xml.name} -
`),e}render(){return this.xml=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};io.styles=[sa,ga],io=ro([O(`pb33f-explorer-xml-node`)],io);var ao=k` - .cv-row { +
`),e}render(){return this.xml=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};co.styles=[sa,ga],co=so([O(`pb33f-explorer-xml-node`)],co);var lo=k` + .row { display: flex; align-items: center; gap: 4px; + box-sizing: border-box; + height: 25px; + padding-top: 0; + line-height: 1; + } + + .row > pb33f-model-icon { + display: inline-flex; + align-items: center; + flex-shrink: 0; + } + + .row > .count { + margin-left: auto; + margin-top: 0; + flex-shrink: 0; + } + + .header { + padding-left: 5px; + } + + .header > pb33f-model-icon { + position: static; + } + + .header .dependent-icon { + margin-left: auto; + flex-shrink: 0; + } + + .header .dependent-icon::part(base) { + padding-top: 0; + } + + .cv-row { cursor: pointer; } @@ -3118,11 +3182,11 @@ .change-icon.added { border-color: rgba(0, 255, 0, 0.3); } -`,oo=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},so=class extends U{constructor(e){super(e)}renderHeader(){switch(this.node?.type){case B.OPERATION:return N` +`,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 U{constructor(e){super(e)}renderHeader(){switch(this.node?.type){case B.OPERATION:return N`
- + ${ya(this.label,this.node?.instance)} ${this.renderDependentControl()}
`;case B.PATH_ITEM:return N`
@@ -3134,7 +3198,7 @@
- OpenAPI Document + ${va(this.node)} ${this.renderDependentControl()}
`;default:return N`
@@ -3145,7 +3209,7 @@
`}}childRowClicked(e,t){t.stopPropagation(),this.dispatchEvent(new CustomEvent(Mn,{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?P:N`${e.map(e=>N`
 > - ${e.type===B.OPERATION?N``:e.type===B.PATH_ITEM?N``:N`${e.label}`} + ${e.type===B.OPERATION?ya(e.label,this.nodeMap?.get(e.nodeId)?.instance):e.type===B.PATH_ITEM?N``:N`${e.label}`}
`)}`}renderChanges(e=this.changeCounts){if(!this.node?.timeline?.length)return N``;if(!this.node.childChanges?.length)return super.renderChanges(e);let t=this.getOwnChanges(this.node);if(!t.length)return N``;let n=Xt(t),r=this.renderBadges(n.breaking,n.modifications,n.additions,n.removals);return r.length===0?N``:N`
${r}
`}render(){let e=this.countResults(),t=this.changeCounts;return N`
${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` + `}};fo.styles=[sa,ga,lo,io],fo=uo([O(`pb33f-explorer-change-view-node`)],fo);var po=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(...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`
${e}
-
`}};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._}};vo.prototype;function yo(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 bo(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function xo(e){this._context=e}xo.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)}}};function So(e){return new xo(e)}function Co(e){return e[0]}function wo(e){return e[1]}function To(e,t){var n=uo(!0),r=null,i=So,a=null,o=yo(s);e=typeof e==`function`?e:e===void 0?Co:uo(e),t=typeof t==`function`?t:t===void 0?wo:uo(t);function s(s){var c,l=(s=bo(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 ko=(function e(t){function n(e){return t===1?new Do(e):new Oo(e,t)}return n.beta=function(t){return e(+t)},n})(.85),Ao=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(),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=No(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` + `}};mo=po([O(`pb33f-explorer-foreign-object`)],mo);function ho(e){return function(){return e}}var go=Math.PI,_o=2*go,vo=1e-6,yo=_o-vo;function bo(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return bo;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;tvo){if(!(Math.abs(u*s-c*l)>vo)||!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((go-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>vo&&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)>vo||Math.abs(this._y1-l)>vo)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%_o+_o),d>yo?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>vo&&this._append`A${n},${n},0,${+(d>=go)},${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._}};So.prototype;function Co(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 So(t)}Array.prototype.slice;function wo(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function To(e){this._context=e}To.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)}}};function Eo(e){return new To(e)}function Do(e){return e[0]}function Oo(e){return e[1]}function ko(e,t){var n=ho(!0),r=null,i=Eo,a=null,o=Co(s);e=typeof e==`function`?e:e===void 0?Do:ho(e),t=typeof t==`function`?t:t===void 0?Oo:ho(t);function s(s){var c,l=(s=wo(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 No=(function e(t){function n(e){return t===1?new jo(e):new Mo(e,t)}return n.beta=function(t){return e(+t)},n})(.85),Po=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.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=Lo(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===``)}buildPath(e){return!this.bendCurve||this.edgePathStyle===`polyline`?Fo(e):this.edgePathStyle===`rounded-orthogonal`?this.shouldUseRoundedPath()?Lo(e):Fo(e):Io(e)||Fo(e)}};jo=Ao([O(`pb33f-explorer-edge`)],jo);var Mo=To().x(e=>e.x).y(e=>e.y).curve(ko.beta(1));function No(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),Po(n)}function Po(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 Ro=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]),zo=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 jo,f=a.get(c.id)?.dependency||!1,p=u?.changeCategory??Yt.NONE,m=!!u?.isLeaf&&!Bo(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 Bo(e){return e?Ro.has(e):!1}function Vo(){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`?zo(e):this.edgePathStyle===`rounded-orthogonal`?this.shouldUseRoundedPath()?Vo(e):zo(e):Bo(e)||zo(e)}};Fo=Po([O(`pb33f-explorer-edge`)],Fo);var Io=ko().x(e=>e.x).y(e=>e.y).curve(No.beta(1));function Lo(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),Ro(n)}function Ro(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 Ho=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]),Uo=class{constructor(e){this.deps=e}createNodeComponent(e){let t=this.deps.getNodeMap();switch(e){case B.DOCUMENT:return new Sa(t);case B.INFO:return new wa(t);case B.LICENSE:return new Ea(t);case B.CONTACT:return new Oa(t);case B.TAG:return new Aa(t);case B.SERVER:return new Na(t);case B.COMPONENTS:return new Fa(t);case B.SCHEMA:return new Ra(t);case B.SECURITY_SCHEME:return new Ba(t);case B.PARAMETER:return new Ha(t);case B.HEADER:return new Wa(t);case B.REQUEST_BODY:return new Ka(t);case B.MEDIA_TYPE:return new Ja(t);case B.RESPONSE:return new Za(t);case B.LINK:return new $a(t);case B.CALLBACK:return new to(t);case B.PATH_ITEM:return new ro(t);case B.OPERATION:return new oo(t);case B.XML:return new co(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 fo(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 mo,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&&!Wo(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 Wo(e){return e?Ho.has(e):!1}function Go(){return lt` - `}var Ho=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Uo=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Wo=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));else{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)}},Go=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}},Ko=.22,qo=.5;function Jo(e){switch(e){case`LEFT`:return{x:.78,y:qo};case`UP`:return{x:qo,y:.78};case`DOWN`:return{x:qo,y:Ko};default:return{x:Ko,y:qo}}}function Yo(e,t,n){let r=Jo(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 Xo(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 Zo(e,t,n){return t.id===`root`?Yo(e,t,n):Xo(t,n)}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},$o,es;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(es||={});var ts=$o=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=es.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=$o.graphDependentWorkerFactory?$o.graphDependentWorkerFactory():new Ho,this.elkLayoutWorker=$o.elkWorkerFactory?$o.elkWorkerFactory():new Uo,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new Wo({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 Go({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new zo({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 es.LEFT:this.direction=es.UP;break;case es.DOWN:this.direction=es.LEFT;break;case es.RIGHT:this.direction=es.DOWN;break;case es.UP:this.direction=es.RIGHT}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=es.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=Zo(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=Zo(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=Zo(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` + `}var Ko=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},qo=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},Jo=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));else{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)}},Yo=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}},Xo=.22,Zo=.5;function Qo(e){switch(e){case`LEFT`:return{x:.78,y:Zo};case`UP`:return{x:Zo,y:.78};case`DOWN`:return{x:Zo,y:Xo};default:return{x:Xo,y:Zo}}}function $o(e,t,n){let r=Qo(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 es(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 ts(e,t,n){return t.id===`root`?$o(e,t,n):es(t,n)}var ns=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},rs,is;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(is||={});var as=rs=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=is.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=rs.graphDependentWorkerFactory?rs.graphDependentWorkerFactory():new Ko,this.elkLayoutWorker=rs.elkWorkerFactory?rs.elkWorkerFactory():new qo,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new Jo({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 Yo({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new Uo({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 is.LEFT:this.direction=is.UP;break;case is.DOWN:this.direction=is.LEFT;break;case is.RIGHT:this.direction=is.DOWN;break;case is.UP:this.direction=is.RIGHT}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=is.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=ts(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=ts(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=ts(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... @@ -3315,13 +3379,13 @@ @mousedown="${this.mouseDown}" @mouseup="${this.mouseUp}" @mousemove="${this.mouseMove}"> - ${Vo()} + ${Go()} ${Kt(this.edgeComponents,e=>e.edge.id,e=>e.render())} ${Kt(this.nodeComponents,e=>e.id,e=>e.render())} - `}};ts.graphDependentWorkerFactory=null,ts.elkWorkerFactory=null,ts.styles=[qt,Ji],Qo([M(`svg`)],ts.prototype,`svgItem`,void 0),Qo([M(`svg > g`)],ts.prototype,`svgGroup`,void 0),Qo([Be(`path`)],ts.prototype,`paths`,void 0),Qo([Be(`foreignObject`)],ts.prototype,`foreignObjects`,void 0),Qo([j()],ts.prototype,`ready`,void 0),Qo([A()],ts.prototype,`renderEqualizer`,void 0),Qo([A()],ts.prototype,`edgePathStyle`,void 0),Qo([A({type:Boolean})],ts.prototype,`embeddedMode`,void 0),Qo([A()],ts.prototype,`graphResponse`,void 0),Qo([A({type:Boolean})],ts.prototype,`disablePovMode`,void 0),Qo([A({type:Boolean})],ts.prototype,`hideExamples`,void 0),Qo([A({type:Boolean})],ts.prototype,`hideControls`,void 0),Qo([A({type:Boolean})],ts.prototype,`changeView`,void 0),Qo([A()],ts.prototype,`graphMode`,void 0),Qo([A()],ts.prototype,`povMode`,void 0),Qo([A()],ts.prototype,`povNodeId`,void 0),Qo([A()],ts.prototype,`povNode`,void 0),Qo([j()],ts.prototype,`models`,void 0),ts=$o=Qo([O(`pb33f-explorer`)],ts);var ns=k` + `}};as.graphDependentWorkerFactory=null,as.elkWorkerFactory=null,as.styles=[qt,Ji],ns([M(`svg`)],as.prototype,`svgItem`,void 0),ns([M(`svg > g`)],as.prototype,`svgGroup`,void 0),ns([Be(`path`)],as.prototype,`paths`,void 0),ns([Be(`foreignObject`)],as.prototype,`foreignObjects`,void 0),ns([j()],as.prototype,`ready`,void 0),ns([A()],as.prototype,`renderEqualizer`,void 0),ns([A()],as.prototype,`edgePathStyle`,void 0),ns([A({type:Boolean})],as.prototype,`embeddedMode`,void 0),ns([A()],as.prototype,`graphResponse`,void 0),ns([A({type:Boolean})],as.prototype,`disablePovMode`,void 0),ns([A({type:Boolean})],as.prototype,`hideExamples`,void 0),ns([A({type:Boolean})],as.prototype,`hideControls`,void 0),ns([A({type:Boolean})],as.prototype,`changeView`,void 0),ns([A()],as.prototype,`graphMode`,void 0),ns([A()],as.prototype,`povMode`,void 0),ns([A()],as.prototype,`povNodeId`,void 0),ns([A()],as.prototype,`povNode`,void 0),ns([j()],as.prototype,`models`,void 0),as=rs=ns([O(`pb33f-explorer`)],as);var os=k` :host { display: block; height: 100%; @@ -3428,7 +3492,7 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,rs=k` +`,ss=k` :host { display: inline-block; width: 1em; @@ -3441,17 +3505,17 @@ height: 100%; width: 100%; } -`,is=Symbol(),as=Symbol(),os,ss=new Map,cs=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` +`,cs=Symbol(),ls=Symbol(),us,ds=new Map,fs=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?is:as}catch{return as}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return is;os||=new DOMParser;let r=os.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):is}catch{return is}}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=ss.get(t);if(i||(i=this.resolveIcon(t,r),ss.set(t,i)),!this.initialRender)return;let a=await i;if(a===as&&ss.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)}}else switch(a){case as:case is: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}};cs.styles=[wn,rs],D([j()],cs.prototype,`svg`,2),D([A({reflect:!0})],cs.prototype,`name`,2),D([A()],cs.prototype,`src`,2),D([A()],cs.prototype,`label`,2),D([A({reflect:!0})],cs.prototype,`library`,2),D([I(`label`)],cs.prototype,`handleLabelChange`,1),D([I([`name`,`src`,`library`])],cs.prototype,`setIcon`,1),cs.define(`sl-icon`);var ls=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=``}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?cs:ls}catch{return ls}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return cs;us||=new DOMParser;let r=us.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):cs}catch{return cs}}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=ds.get(t);if(i||(i=this.resolveIcon(t,r),ds.set(t,i)),!this.initialRender)return;let a=await i;if(a===ls&&ds.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)}}else switch(a){case ls:case cs: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}};fs.styles=[wn,ss],D([j()],fs.prototype,`svg`,2),D([A({reflect:!0})],fs.prototype,`name`,2),D([A()],fs.prototype,`src`,2),D([A()],fs.prototype,`label`,2),D([A({reflect:!0})],fs.prototype,`library`,2),D([I(`label`)],fs.prototype,`handleLabelChange`,1),D([I([`name`,`src`,`library`])],fs.prototype,`setIcon`,1),fs.define(`sl-icon`);var ps=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=``}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=``}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+``}}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)}_!==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` `}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)`}return N`${t}`}renderBreaking(e){return e?N` - `:N``}},ds=k` + `:N``}},hs=k` .props { border-top: 1px dashed var(--secondary-color); padding: 5px 0 5px 0; @@ -3727,7 +3791,7 @@ color: var(--secondary-color); } -`,fs=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},ps=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` +`,gs=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},_s=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.styles=k` + `}};_s.styles=k` :host { display: block; width: 100%; @@ -3757,7 +3821,7 @@ svg { display: block; } - `,fs([A({type:Number})],ps.prototype,`height`,void 0),fs([A({type:Boolean})],ps.prototype,`animateStripe`,void 0),fs([A({type:Number})],ps.prototype,`speed`,void 0),fs([A({type:Boolean})],ps.prototype,`warn`,void 0),fs([A({type:Boolean})],ps.prototype,`danger`,void 0),ps=fs([O(`pb33f-warning-stripe`)],ps);var ms=k` + `,gs([A({type:Number})],_s.prototype,`height`,void 0),gs([A({type:Boolean})],_s.prototype,`animateStripe`,void 0),gs([A({type:Number})],_s.prototype,`speed`,void 0),gs([A({type:Boolean})],_s.prototype,`warn`,void 0),gs([A({type:Boolean})],_s.prototype,`danger`,void 0),_s=gs([O(`pb33f-warning-stripe`)],_s);var vs=k` :host { display: inline-flex; } @@ -3846,7 +3910,7 @@ box-shadow: 0 0 0 0 transparent; } } -`,hs=class extends L{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return N` +`,ys=class extends L{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return N` - `}};hs.styles=[wn,ms],D([A({reflect:!0})],hs.prototype,`variant`,2),D([A({type:Boolean,reflect:!0})],hs.prototype,`pill`,2),D([A({type:Boolean,reflect:!0})],hs.prototype,`pulse`,2),hs.define(`sl-badge`);var gs=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},_s=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` + `}};ys.styles=[wn,vs],D([A({reflect:!0})],ys.prototype,`variant`,2),D([A({type:Boolean,reflect:!0})],ys.prototype,`pill`,2),D([A({type:Boolean,reflect:!0})],ys.prototype,`pulse`,2),ys.define(`sl-badge`);var bs=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},xs=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)} - `}};_s.styles=k` + `}};xs.styles=k` :host { display: inline-flex; align-items: center; @@ -3878,7 +3942,7 @@ margin-left: 10px; padding-top: 4px; } - `,gs([A()],_s.prototype,`icon`,void 0),gs([A()],_s.prototype,`iconSize`,void 0),_s=gs([O(`pb33f-model-badge`)],_s);var vs=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},ys=class extends us{constructor(e){super(),this.diff=new ls.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` + `,bs([A()],xs.prototype,`icon`,void 0),bs([A()],xs.prototype,`iconSize`,void 0),xs=bs([O(`pb33f-model-badge`)],xs);var Ss=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},Cs=class extends ms{constructor(e){super(),this.diff=new ps.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` @@ -4046,7 +4110,7 @@ ${e}
${t} -
`}};ys.styles=[ds,Yn],vs([A()],ys.prototype,`changes`,void 0),vs([A({type:Boolean})],ys.prototype,`addPadding`,void 0),vs([A({type:Boolean})],ys.prototype,`renderBreakingBar`,void 0),vs([A({type:Boolean})],ys.prototype,`renderMeta`,void 0),vs([j()],ys.prototype,`showDiff`,void 0),vs([j()],ys.prototype,`renderChangeCountBar`,void 0),ys=vs([O(`pb33f-changes-component`)],ys);var bs=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},xs=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` +
`}};Cs.styles=[hs,Yn],Ss([A()],Cs.prototype,`changes`,void 0),Ss([A({type:Boolean})],Cs.prototype,`addPadding`,void 0),Ss([A({type:Boolean})],Cs.prototype,`renderBreakingBar`,void 0),Ss([A({type:Boolean})],Cs.prototype,`renderMeta`,void 0),Ss([j()],Cs.prototype,`showDiff`,void 0),Ss([j()],Cs.prototype,`renderChangeCountBar`,void 0),Cs=Ss([O(`pb33f-changes-component`)],Cs);var ws=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},Ts=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`
@@ -4070,7 +4134,7 @@
- `}};xs.styles=[ns],bs([A({type:Array})],xs.prototype,`changes`,void 0),bs([A({type:Boolean,attribute:`panel-hidden`,reflect:!0})],xs.prototype,`panelHidden`,void 0),xs=bs([O(`pb33f-explorer-change-panel`)],xs);var Ss=k` + `}};Ts.styles=[os],ws([A({type:Array})],Ts.prototype,`changes`,void 0),ws([A({type:Boolean,attribute:`panel-hidden`,reflect:!0})],Ts.prototype,`panelHidden`,void 0),Ts=ws([O(`pb33f-explorer-change-panel`)],Ts);var Es=k` :host { display: flex; @@ -4178,7 +4242,7 @@ padding-bottom: 5px; } -`,Cs=k` +`,Ds=k` .scroller::-webkit-scrollbar { width: 8px; } @@ -4192,7 +4256,7 @@ background: var(--secondary-color-lowalpha); padding: var(--global-padding); } -`,ws=k` +`,Os=k` ::-webkit-scrollbar { width: 8px; height: 8px; @@ -4206,7 +4270,7 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,Ts=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=class extends us{constructor(){super()}getChangeValue(e){return e.new?N`${e.property}: +`,ks=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},As=class extends ms{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`
@@ -4223,7 +4287,7 @@
${this.renderBreaking(e.breaking)}
${t}
`})} -
`}};Es.styles=[Ss,Cs],Ts([A()],Es.prototype,`changes`,void 0),Es=Ts([O(`pb33f-change-list`)],Es);var Ds=k` +
`}};As.styles=[Es,Ds],ks([A()],As.prototype,`changes`,void 0),As=ks([O(`pb33f-change-list`)],As);var js=k` :host { display: block; outline: 0; @@ -4375,7 +4439,7 @@ outline: dashed 1px SelectedItem; } } -`,Os=k` +`,Ms=k` :host { display: inline-block; } @@ -4493,7 +4557,7 @@ color: var(--sl-input-required-content-color); margin-inline-start: var(--sl-input-required-content-offset); } -`,ks=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` +`,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`
@@ -4551,7 +4615,7 @@ ${this.helpText}
- `}};ks.styles=[wn,en,Os],ks.dependencies={"sl-icon":cs},D([M(`input[type="checkbox"]`)],ks.prototype,`input`,2),D([j()],ks.prototype,`hasFocus`,2),D([A()],ks.prototype,`title`,2),D([A()],ks.prototype,`name`,2),D([A()],ks.prototype,`value`,2),D([A({reflect:!0})],ks.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],ks.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],ks.prototype,`checked`,2),D([A({type:Boolean,reflect:!0})],ks.prototype,`indeterminate`,2),D([$t(`checked`)],ks.prototype,`defaultChecked`,2),D([A({reflect:!0})],ks.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],ks.prototype,`required`,2),D([A({attribute:`help-text`})],ks.prototype,`helpText`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],ks.prototype,`handleDisabledChange`,1),D([I([`checked`,`indeterminate`],{waitUntilFirstUpdate:!0})],ks.prototype,`handleStateChange`,1);var As=k` + `}};Ns.styles=[wn,en,Ms],Ns.dependencies={"sl-icon":fs},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 Ps=k` :host { --track-width: 2px; --track-color: rgb(128 128 128 / 25%); @@ -4608,12 +4672,12 @@ stroke-dasharray: 0.05em, 3em; } } -`,js=class extends L{constructor(){super(...arguments),this.localize=new Cn(this)}render(){return N` +`,Fs=class extends L{constructor(){super(...arguments),this.localize=new Cn(this)}render(){return N` - `}};js.styles=[wn,As];var Ms=new Map,Ns=new WeakMap;function Ps(e){return e??{keyframes:[],options:{duration:0}}}function Fs(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function Is(e,t){Ms.set(e,Ps(t))}function Ls(e,t,n){let r=Ns.get(e);if(r?.[t])return Fs(r[t],n.dir);let i=Ms.get(t);return i?Fs(i,n.dir):{keyframes:[],options:{duration:0}}}function Rs(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:Bs()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function zs(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function Bs(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Vs(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 Us(e,t,n){return e?t(e):n?.(e)}var Ws=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 Vs(this.childrenContainer);let{keyframes:e,options:t}=Ls(this,`tree-item.collapse`,{dir:this.localize.dir()});await Rs(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 Vs(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=Ls(this,`tree-item.expand`,{dir:this.localize.dir()});await Rs(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` + `}};Fs.styles=[wn,Ps];var Is=new Map,Ls=new WeakMap;function Rs(e){return e??{keyframes:[],options:{duration:0}}}function zs(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function Bs(e,t){Is.set(e,Rs(t))}function Vs(e,t,n){let r=Ls.get(e);if(r?.[t])return zs(r[t],n.dir);let i=Is.get(t);return i?zs(i,n.dir):{keyframes:[],options:{duration:0}}}function Hs(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:Ws()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function Us(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function Ws(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Gs(e){return Promise.all(e.getAnimations().map(e=>new Promise(t=>{e.cancel(),requestAnimationFrame(t)})))}function Ks(e,t){return e.map(e=>ie(re({},e),{height:e.height===`auto`?`${t}px`:e.height}))}function qs(e,t,n){return e?t(e):n?.(e)}var Js=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 Gs(this.childrenContainer);let{keyframes:e,options:t}=Vs(this,`tree-item.collapse`,{dir:this.localize.dir()});await Hs(this.childrenContainer,Ks(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 Gs(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=Vs(this,`tree-item.expand`,{dir:this.localize.dir()});await Hs(this.childrenContainer,Ks(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` - ${Us(this.selectable,()=>N` + ${qs(this.selectable,()=>N` - `}};Ws.styles=[wn,Ds],Ws.dependencies={"sl-checkbox":ks,"sl-icon":cs,"sl-spinner":js},D([j()],Ws.prototype,`indeterminate`,2),D([j()],Ws.prototype,`isLeaf`,2),D([j()],Ws.prototype,`loading`,2),D([j()],Ws.prototype,`selectable`,2),D([A({type:Boolean,reflect:!0})],Ws.prototype,`expanded`,2),D([A({type:Boolean,reflect:!0})],Ws.prototype,`selected`,2),D([A({type:Boolean,reflect:!0})],Ws.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],Ws.prototype,`lazy`,2),D([M(`slot:not([name])`)],Ws.prototype,`defaultSlot`,2),D([M(`slot[name=children]`)],Ws.prototype,`childrenSlot`,2),D([M(`.tree-item__item`)],Ws.prototype,`itemElement`,2),D([M(`.tree-item__children`)],Ws.prototype,`childrenContainer`,2),D([M(`.tree-item__expand-button slot`)],Ws.prototype,`expandButtonSlot`,2),D([I(`loading`,{waitUntilFirstUpdate:!0})],Ws.prototype,`handleLoadingChange`,1),D([I(`disabled`)],Ws.prototype,`handleDisabledChange`,1),D([I(`selected`)],Ws.prototype,`handleSelectedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],Ws.prototype,`handleExpandedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],Ws.prototype,`handleExpandAnimation`,1),D([I(`lazy`,{waitUntilFirstUpdate:!0})],Ws.prototype,`handleLazyChange`,1);var Gs=Ws;Is(`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)`}}),Is(`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 Ks=k` + `}};Js.styles=[wn,js],Js.dependencies={"sl-checkbox":Ns,"sl-icon":fs,"sl-spinner":Fs},D([j()],Js.prototype,`indeterminate`,2),D([j()],Js.prototype,`isLeaf`,2),D([j()],Js.prototype,`loading`,2),D([j()],Js.prototype,`selectable`,2),D([A({type:Boolean,reflect:!0})],Js.prototype,`expanded`,2),D([A({type:Boolean,reflect:!0})],Js.prototype,`selected`,2),D([A({type:Boolean,reflect:!0})],Js.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],Js.prototype,`lazy`,2),D([M(`slot:not([name])`)],Js.prototype,`defaultSlot`,2),D([M(`slot[name=children]`)],Js.prototype,`childrenSlot`,2),D([M(`.tree-item__item`)],Js.prototype,`itemElement`,2),D([M(`.tree-item__children`)],Js.prototype,`childrenContainer`,2),D([M(`.tree-item__expand-button slot`)],Js.prototype,`expandButtonSlot`,2),D([I(`loading`,{waitUntilFirstUpdate:!0})],Js.prototype,`handleLoadingChange`,1),D([I(`disabled`)],Js.prototype,`handleDisabledChange`,1),D([I(`selected`)],Js.prototype,`handleSelectedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],Js.prototype,`handleExpandedChange`,1),D([I(`expanded`,{waitUntilFirstUpdate:!0})],Js.prototype,`handleExpandAnimation`,1),D([I(`lazy`,{waitUntilFirstUpdate:!0})],Js.prototype,`handleLazyChange`,1);var Ys=Js;Bs(`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)`}}),Bs(`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 Xs=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 @@ -4691,7 +4755,7 @@ */ font-size: 0; } -`;function qs(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function Js(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;Gs.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 Ys=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(Gs.isTreeItem),n=[...t.removedNodes].filter(Gs.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]),Gs.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),Js(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[qs(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=>Js(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 Zs(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function Qs(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;Ys.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 $s=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(Ys.isTreeItem),n=[...t.removedNodes].filter(Ys.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]),Ys.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),Qs(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[Zs(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=>Qs(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` - `}};Ys.styles=[wn,Ks],D([M(`slot:not([name])`)],Ys.prototype,`defaultSlot`,2),D([M(`slot[name=expand-icon]`)],Ys.prototype,`expandedIconSlot`,2),D([M(`slot[name=collapse-icon]`)],Ys.prototype,`collapsedIconSlot`,2),D([A()],Ys.prototype,`selection`,2),D([I(`selection`)],Ys.prototype,`handleSelectionChange`,1),Ys.define(`sl-tree`),Gs.define(`sl-tree-item`);var Xs=k` + `}};$s.styles=[wn,Xs],D([M(`slot:not([name])`)],$s.prototype,`defaultSlot`,2),D([M(`slot[name=expand-icon]`)],$s.prototype,`expandedIconSlot`,2),D([M(`slot[name=collapse-icon]`)],$s.prototype,`collapsedIconSlot`,2),D([A()],$s.prototype,`selection`,2),D([I(`selection`)],$s.prototype,`handleSelectionChange`,1),$s.define(`sl-tree`),Ys.define(`sl-tree-item`);var ec=k` + .operation-id { + margin-left: 6px; + color: var(--font-color-sub1); + } + sl-tree { --indent-guide-width: 1px; --indent-guide-color: var(--secondary-color); @@ -4728,11 +4797,14 @@ //height: 16px; //line-height: 14px; text-align: center; - display: inline-block; - background: none; vertical-align: middle; } + sl-badge:not(.operation-action)::part(base) { + background: none; + display: inline-block; + } + sl-badge.warn::part(base) { border: 1px solid var(--warn-color-lowalpha); color: var(--warn-color); @@ -4810,21 +4882,21 @@ sl-tree-item.no-changes[selected]::part(expand-button) { opacity: 1; } -`,Zs={[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 Qs(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}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},ec,tc=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]),nc=ec=class extends F{static renderFileIcon(e,t){return N``}constructor(){super(),this.iconConfig=Zs,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()}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` +`,tc={[B.DOCUMENT]:{showOnLeaf:!0,showOnBranch:!0},[B.PATHS]:{showOnLeaf:!0,showOnBranch:!0},[B.CHANNEL]:{showOnLeaf:!0,showOnBranch:!0},[B.CHANNELS]:{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 nc(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}var rc=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},ic,ac=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]),oc=ic=class extends F{static renderFileIcon(e,t){return N``}constructor(){super(),this.iconConfig=tc,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()}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` + ${ya(e.label,e.instance)}${t?N`${t}`:``}`;case B.PATH_ITEM:return N` + `;default:return N`${e.label}`}}buildTree(e,t){let n=[],r=e.type===B.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` 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=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}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` + `)}}}let a=e.treeExpanded;r&&(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(Ya(parseInt(e.label))){case`http400`:o=H.warning;break;case`http500`:o=H.error;break;default:o=H.font}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=Qs(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=nc(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=ec.ICON_TYPE_MAP[t];e&&(h=ec.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.type!==B.CHANNEL&&e.type!==B.CHANNELS&&!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=ic.ICON_TYPE_MAP[t];e&&(h=ic.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``} @@ -4851,7 +4923,7 @@ data-path="${e.path?e.path:e.nodePath}">
${h} -
+
${s?N`${this.renderLabel(e,s)} @@ -4867,15 +4939,15 @@ ${e} - `}};nc.styles=[Xs,Yi,Yn],nc.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},$s([A()],nc.prototype,`node`,void 0),$s([A()],nc.prototype,`filteredNodes`,void 0),$s([A({type:Boolean})],nc.prototype,`expand`,void 0),$s([A({type:Boolean})],nc.prototype,`changesEnabled`,void 0),$s([A()],nc.prototype,`isRolodex`,void 0),$s([A()],nc.prototype,`nodeMap`,void 0),$s([A()],nc.prototype,`violationMap`,void 0),$s([A({type:Object})],nc.prototype,`iconConfig`,void 0),$s([A({type:Boolean})],nc.prototype,`isBundled`,void 0),nc=ec=$s([O(`pb33f-model-tree`)],nc);function rc(e){return e+.5|0}var ic=(e,t,n)=>Math.max(Math.min(e,n),t);function ac(e){return ic(rc(e*2.55),0,255)}function oc(e){return ic(rc(e*255),0,255)}function sc(e){return ic(rc(e/2.55)/100,0,1)}function cc(e){return ic(rc(e*100),0,100)}var lc={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},uc=[...`0123456789ABCDEF`],dc=e=>uc[e&15],fc=e=>uc[(e&240)>>4]+uc[e&15],pc=e=>(e&240)>>4==(e&15),mc=e=>pc(e.r)&&pc(e.g)&&pc(e.b)&&pc(e.a);function hc(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&lc[e[1]]*17,g:255&lc[e[2]]*17,b:255&lc[e[3]]*17,a:t===5?lc[e[4]]*17:255}:(t===7||t===9)&&(n={r:lc[e[1]]<<4|lc[e[2]],g:lc[e[3]]<<4|lc[e[4]],b:lc[e[5]]<<4|lc[e[6]],a:t===9?lc[e[7]]<<4|lc[e[8]]:255})),n}var gc=(e,t)=>e<255?t(e):``;function _c(e){var t=mc(e)?dc:fc;return e?`#`+t(e.r)+t(e.g)+t(e.b)+gc(e.a,t):void 0}var vc=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function yc(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 bc(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 xc(e,t,n){let r=yc(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 Sc(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Sc(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function wc(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(oc)}function Tc(e,t,n){return wc(yc,e,t,n)}function Ec(e,t,n){return wc(xc,e,t,n)}function Dc(e,t,n){return wc(bc,e,t,n)}function Oc(e){return(e%360+360)%360}function kc(e){let t=vc.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?ac(+t[5]):oc(+t[5]));let i=Oc(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Ec(i,a,o):t[1]===`hsv`?Dc(i,a,o):Tc(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function Ac(e,t){var n=Cc(e);n[0]=Oc(n[0]+t),n=Tc(n),e.r=n[0],e.g=n[1],e.b=n[2]}function jc(e){if(!e)return;let t=Cc(e),n=t[0],r=cc(t[1]),i=cc(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${sc(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var Mc={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`},Nc={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 Pc(){let e={},t=Object.keys(Nc),n=Object.keys(Mc),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var Fc;function Ic(e){Fc||(Fc=Pc(),Fc.transparent=[0,0,0,0]);let t=Fc[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Lc=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Rc(e){let t=Lc.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?ac(e):ic(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?ac(r):ic(r,0,255)),i=255&(t[4]?ac(i):ic(i,0,255)),a=255&(t[6]?ac(a):ic(a,0,255)),{r,g:i,b:a,a:n}}}function zc(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${sc(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Bc=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,Vc=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Hc(e,t,n){let r=Vc(sc(e.r)),i=Vc(sc(e.g)),a=Vc(sc(e.b));return{r:oc(Bc(r+n*(Vc(sc(t.r))-r))),g:oc(Bc(i+n*(Vc(sc(t.g))-i))),b:oc(Bc(a+n*(Vc(sc(t.b))-a))),a:e.a+n*(t.a-e.a)}}function Uc(e,t,n){if(e){let r=Cc(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Tc(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Wc(e,t){return e&&Object.assign(t||{},e)}function Gc(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=oc(e[3]))):(t=Wc(e,{r:0,g:0,b:0,a:1}),t.a=oc(t.a)),t}function Kc(e){return e.charAt(0)===`r`?Rc(e):kc(e)}var qc=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=Gc(t):n===`string`&&(r=hc(t)||Ic(t)||Kc(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Wc(this._rgb);return e&&(e.a=sc(e.a)),e}set rgb(e){this._rgb=Gc(e)}rgbString(){return this._valid?zc(this._rgb):void 0}hexString(){return this._valid?_c(this._rgb):void 0}hslString(){return this._valid?jc(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=oc(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=rc(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 Uc(this._rgb,2,e),this}darken(e){return Uc(this._rgb,2,-e),this}saturate(e){return Uc(this._rgb,1,e),this}desaturate(e){return Uc(this._rgb,1,-e),this}rotate(e){return Ac(this._rgb,e),this}};function Jc(){}var Yc=(()=>{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 Xc(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function Zc(e,t){return Xc(e)?e:t}function q(e,t){return e===void 0?t:e}var Qc=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,$c=(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 cl(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 ll(e){let t=cl(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function ul(e,t){return(sl[t]||(sl[t]=ll(t)))(e)}function dl(e){return e.charAt(0).toUpperCase()+e.slice(1)}var fl=e=>e!==void 0,pl=e=>typeof e==`function`,ml=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function hl(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var X=Math.PI,Z=2*X,gl=Z+X,_l=1/0,vl=X/180,yl=X/2,bl=X/4,xl=X*2/3,Sl=Math.log10,Cl=Math.sign;function wl(e,t,n){return Math.abs(e-t)e-t).pop(),t}function Dl(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function Ol(e){return!Dl(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function kl(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function Al(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 Ul=(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 Gl(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+dl(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 Jl(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)&&(Kl.forEach(t=>{delete e[t]}),delete e._chartjs)}function Yl(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var Xl=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function Zl(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,Xl.call(window,()=>{r=!1,e.apply(t,n)}))}}function Ql(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var $l=e=>e===`start`?`left`:e===`end`?`right`:`center`,eu=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,tu=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function nu(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(Ul(c,u,d).lo,n?r:Ul(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=zl(i,0,r-1)}if(m){let e=Math.max(Ul(c,o.axis,f,!0).hi+1,n?0:Ul(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=zl(e,i,r)-i}else a=r-i}return{start:i,count:a}}function ru(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 iu=e=>e===0||e===1,au=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*Z/n)),ou=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*Z/n)+1,su={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*yl)+1,easeOutSine:e=>Math.sin(e*yl),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=>iu(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=>iu(e)?e:au(e,.075,.3),easeOutElastic:e=>iu(e)?e:ou(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return iu(e)?e:e<.5?.5*au(e*2,t,n):.5+.5*ou(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+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-su.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?su.easeInBounce(e*2)*.5:su.easeOutBounce(e*2-1)*.5+.5};function cu(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function lu(e){return cu(e)?e:new qc(e)}function uu(e){return cu(e)?e:new qc(e).saturate(.5).darken(.1).hexString()}var du=[`x`,`y`,`borderWidth`,`radius`,`tension`],fu=[`color`,`borderColor`,`backgroundColor`];function pu(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:fu},numbers:{type:`number`,properties:du}}),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 mu(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var hu=new Map;function gu(e,t){t||={};let n=e+JSON.stringify(t),r=hu.get(n);return r||(r=new Intl.NumberFormat(e,t),hu.set(n,r)),r}function _u(e,t,n){return gu(t,n).format(e)}var vu={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=yu(e,n)}let o=Sl(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),_u(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(Sl(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?vu.numeric.call(this,e,t,n):``}};function yu(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 bu={formatters:vu};function xu(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:bu.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 Su=Object.create(null),Cu=Object.create(null);function wu(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)=>uu(t.backgroundColor),this.hoverBorderColor=(e,t)=>uu(t.borderColor),this.hoverColor=(e,t)=>uu(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 Tu(this,e,t)}get(e){return wu(this,e)}describe(e,t){return Tu(Cu,e,t)}override(e,t){return Tu(Su,e,t)}route(e,t,n,r){let i=wu(this,e),a=wu(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}},[pu,mu,xu]);function Du(e){return!e||W(e.size)||W(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function Ou(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 ku(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 Pu(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,zu(e,a),c=0;c+e||0;function Ju(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]=qu(a(e));return n}function Yu(e){return Ju(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function Xu(e){return Ju(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function Zu(e){let t=Yu(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Qu(e,t){e||={},t||=Eu.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(Gu)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:q(e.family,t.family),lineHeight:Ku(q(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:q(e.weight,t.weight),string:``};return i.string=Du(i),i}function $u(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 td(e,t){return Object.assign(Object.create(e),t)}function nd(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=vd(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>nd([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return sd(n,r,()=>_d(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return yd(e).includes(t)},ownKeys(e){return yd(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function rd(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:id(e,r),setContext:t=>rd(e,t,n,r),override:i=>rd(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 sd(e,t,()=>cd(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 id(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:pl(n)?n:()=>n,isIndexable:pl(r)?r:()=>r}}var ad=(e,t)=>e?e+dl(t):t,od=(e,t)=>K(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function sd(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function cd(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return pl(s)&&o.isScriptable(t)&&(s=ld(t,s,e,n)),G(s)&&s.length&&(s=ud(t,s,e,o.isIndexable)),od(t,s)&&(s=rd(s,i,a&&a[t],o)),s}function ld(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),od(e,c)&&(c=md(i._scopes,i,e,c)),c}function ud(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=md(r,i,e,c);t.push(rd(n,a,o&&o[e],s))}}return t}function dd(e,t,n){return pl(e)?e(t,n):e}var fd=(e,t)=>e===!0?t:typeof e==`string`?ul(t,e):void 0;function pd(e,t,n,r,i){for(let a of t){let t=fd(n,a);if(t){e.add(t);let a=dd(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 md(e,t,n,r){let i=t._rootScopes,a=dd(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=hd(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=hd(s,o,a,c,r),c===null)?!1:nd(Array.from(s),[``],i,a,()=>gd(t,n,r))}function hd(e,t,n,r,i){for(;n;)n=pd(e,t,n,r,i);return n}function gd(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return G(i)&&K(n)?n:i||{}}function _d(e,t,n,r){let i;for(let a of t)if(i=vd(ad(a,e),n),i!==void 0)return od(e,i)?md(n,r,e,i):i}function vd(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function yd(e){let t=e._keys;return t||=e._keys=bd(e._scopes),t}function bd(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 xd(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 Td(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=Fl(a,i),c=Fl(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 Ed(e,t,n){let r=e.length,i,a,o,s,c,l=Cd(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)Od(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 Id(e,t){return Fd(e).getPropertyValue(t)}var Ld=[`top`,`right`,`bottom`,`left`];function Rd(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=Ld[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var zd=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Bd(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(zd(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 Vd(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=Fd(n),a=i.boxSizing===`border-box`,o=Rd(i,`padding`),s=Rd(i,`border`,`width`),{x:c,y:l,box:u}=Bd(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&&Nd(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=Fd(a),s=Rd(o,`border`,`width`),c=Rd(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=Pd(o.maxWidth,a,`clientWidth`),i=Pd(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||_l,maxHeight:i||_l}}var Ud=e=>Math.round(e*10)/10;function Wd(e,t,n,r){let i=Fd(e),a=Rd(i,`margin`),o=Pd(i.maxWidth,e,`clientWidth`)||_l,s=Pd(i.maxHeight,e,`clientHeight`)||_l,c=Hd(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=Rd(i,`border`,`width`),t=Rd(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=Ud(Math.min(l,o,c.maxWidth)),u=Ud(Math.min(u,s,c.maxHeight)),l&&!u&&(u=Ud(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=Ud(Math.floor(u*r))),{width:l,height:u}}function Gd(e,t,n){let r=t||1,i=Ud(e.height*r),a=Ud(e.width*r);e.height=Ud(e.height),e.width=Ud(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 Kd=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};Md()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function qd(e,t){let n=Id(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Jd(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Yd(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 Xd(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=Jd(e,i,n),s=Jd(i,a,n),c=Jd(a,t,n);return Jd(Jd(o,s,n),Jd(s,c,n),n)}var Zd=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}}},Qd=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function $d(e,t,n){return e?Zd(t,n):Qd()}function ef(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 tf(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function nf(e){return e===`angle`?{between:Rl,compare:Il,normalize:Ll}:{between:Vl,compare:(e,t)=>e-t,normalize:e=>e}}function rf({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 af(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=nf(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(rf({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(rf({start:g,end:d,loop:f,count:o,style:p})),m}function sf(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 lf(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 uf(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=cf(n,i,a,r);return r===!0?df(e,[{start:o,end:s,loop:a}],n,t):df(e,lf(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,Xl.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)}},yf=`transparent`,bf={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=lu(e||yf),i=r.valid&&lu(t||yf);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},xf=class{constructor(e,t,n,r){let i=t[n];r=$u([e.to,r,i,e.from]);let a=$u([e.from,i,r]);this._active=!0,this._fn=e.fn||bf[e.type||typeof a],this._easing=su[e.easing]||su.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=$u([e.to,t,r,e.from]),this._from=$u([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;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)):(this._target[r]=o,this._notify(!0))}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=wf(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&Cf(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}u.cancel()}!d||!d.duration?e[c]=l:(i[c]=u=new xf(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 vf.add(this._chart,n),!0}};function Cf(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function If(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=Mf(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function Rf(e,t){return td(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function zf(e,t,n){return td(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Bf(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 Vf=e=>e===`reset`||e===`none`,Hf=(e,t)=>t?e:Object.assign({},e),Uf=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Of(n,!0),values:null},Wf=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=jf(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&&Bf(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,Lf(e,`x`)),a=t.yAxisID=q(n.yAxisID,Lf(e,`y`)),o=t.rAxisID=q(n.rAxisID,Lf(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&&Jl(this._data,this),e._stacked&&Bf(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(K(t)){let e=this._cachedMeta;this._data=Af(t,e)}else if(n!==t){if(n){Jl(n,this);let e=this._cachedMeta;Bf(e),e._parsed=[]}t&&Object.isExtensible(t)&&ql(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=jf(t.vScale,t),t.stack!==n.stack&&(r=!0,Bf(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(If(this,t._parsed),t._stacked=jf(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||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 Sf(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||Vf(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){Vf(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Vf(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 Kf(e){let t=e.iScale,n=Gf(t,e.type),r=t._length,i,a,o,s,c=()=>{o!==32767&&o!==-32768&&(fl(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 Xf(e,t,n,r){return G(e)?Yf(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Zf(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):Cl(e)}function ep(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;dRl(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>Rl(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(yl,u,f),_=m(X,l,d),v=m(X+yl,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 lp=class extends Wf{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=>+ul(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=_u(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()}},dp=class extends Wf{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=_u(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return xd.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)?jl(this.resolveDataElementOptions(e,t).angle||n):0}},fp=Object.freeze({__proto__:null,BarController:op,BubbleController:sp,DoughnutController:lp,LineController:up,PieController:class extends lp{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:dp,RadarController:class extends Wf{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 xd.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 pp(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var mp={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return pp()}parse(){return pp()}format(){return pp()}add(){return pp()}diff(){return pp()}startOf(){return pp()}endOf(){return pp()}}};function hp(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?Wl:Ul;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}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 gp(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 Cp={evaluateInteractionItems:gp,modes:{index(e,t,n,r){let i=Vd(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?vp(e,i,a,r,o):xp(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=Vd(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?vp(e,i,a,r,o):xp(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 Ep(e,t){return e.filter(e=>wp.indexOf(e.pos)===-1&&e.box.axis===t)}function Dp(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 Op(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=Dp(Tp(t,`left`),!0),i=Dp(Tp(t,`right`)),a=Dp(Tp(t,`top`),!0),o=Dp(Tp(t,`bottom`)),s=Ep(t,`x`),c=Ep(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:Tp(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Mp(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Np(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 Pp(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&&Np(o,a.getPadding());let s=Math.max(0,t.outerWidth-Mp(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Mp(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 Fp(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 Ip(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 Lp(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);Np(f,Zu(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=Ap(c.concat(l),d);Lp(s.fullSize,p,d,m),Lp(c,p,d,m),Lp(l,p,d,m)&&Lp(c,p,d,m),Fp(p),zp(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,zp(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})})}},Vp=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 Vp{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},Up=`$chartjs`,Wp={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},Gp=e=>e===null||e===``;function Kp(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[Up]={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`,Gp(i)){let t=qd(e,`width`);t!==void 0&&(e.width=t)}if(Gp(r)){if(e.style.height===``)e.height=e.width/(t||2);else{let t=qd(e,`height`);t!==void 0&&(e.height=t)}}return e}var qp=Kd?{passive:!0}:!1;function Jp(e,t,n){e&&e.addEventListener(t,n,qp)}function Yp(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,qp)}function Xp(e,t){let n=Wp[e.type]||e.type,{x:r,y:i}=Vd(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function Zp(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function Qp(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Zp(n.addedNodes,r),t&&=!Zp(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function $p(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=Zp(n.removedNodes,r),t&&=!Zp(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var em=new Map,tm=0;function nm(){let e=window.devicePixelRatio;e!==tm&&(tm=e,em.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function rm(e,t){em.size||window.addEventListener(`resize`,nm),em.set(e,t)}function im(e){em.delete(e),em.size||window.removeEventListener(`resize`,nm)}function am(e,t,n){let r=e.canvas,i=r&&Nd(r);if(!i)return;let a=Zl((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),rm(e,a),o}function om(e,t,n){n&&n.disconnect(),t===`resize`&&im(e)}function sm(e,t,n){let r=e.canvas,i=Zl(t=>{e.ctx!==null&&n(Xp(t,e))},e);return Jp(r,t,i),i}var cm=class extends Vp{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(Kp(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[Up])return!1;let n=t[Up].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[Up],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:Qp,detach:$p,resize:am}[t]||sm)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:om,detach:om,resize:om}[t]||Yp)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return Wd(e,t,n,r)}isAttached(e){let t=e&&Nd(e);return!!(t&&t.isConnected)}};function lm(e){return!Md()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?Hp:cm}var um=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 Ol(this.x)&&Ol(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 dm(e,t){let n=e.options.ticks,r=fm(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?mm(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return hm(t,l,a,o/i),l;let u=pm(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(gm(t,l,u,W(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function mm(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,ym=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,bm=(e,t)=>Math.min(t||e,e);function xm(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function Cm(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:Zc(t,Zc(n,t)),max:Zc(n,Zc(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=ed(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=zl(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-wm(e.grid)-t.padding-Tm(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=Ml(Math.min(Math.asin(zl((l.highest.height+6)/o,-1,1)),Math.asin(zl(s/c,-1,1))-Math.asin(zl(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=Tm(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=wm(i)+a):(e.height=this.maxHeight,e.width=wm(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=jl(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 Bl(this._alignToPixels?Au(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=wm(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Au(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)}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(-jl(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(`.`);Eu.route(a,i,c,s)})}function Pm(e){return`id`in e&&`defaults`in e}var Fm=new class{constructor(){this.controllers=new jm(Wf,`datasets`,!0),this.elements=new jm(um,`elements`),this.plugins=new jm(Object,`plugins`),this.scales=new jm(Am,`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=dl(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 Lm(e){let t={},n=[],r=Object.keys(Fm.plugins.items);for(let e=0;e1&&Wm(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function qm(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function Jm(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 qm(e,`x`,n[0])||qm(e,`y`,n[0])}return{}}function Ym(e,t){let n=Su[e.type]||{scales:{}},r=t.scales||{},i=Vm(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=Km(t,o,Jm(t,e),Eu.scales[o.type]),c=Um(s,i),l=n.scales||{};a[t]=al(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Vm(i,t),s=(Su[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=Hm(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),al(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];al(t,[Eu.scales[t.type],Eu.scale])}),a}function Xm(e){let t=e.options||={};t.plugins=q(t.plugins,{}),t.scales=Ym(e,t)}function Zm(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Qm(e){return e||={},e.data=Zm(e.data),Xm(e),e}var $m=new Map,eh=new Set;function th(e,t){let n=$m.get(e);return n||(n=t(),$m.set(e,n),eh.add(n)),n}var nh=(e,t,n)=>{let r=ul(t,n);r!==void 0&&e.add(r)},rh=class{constructor(e){this._config=Qm(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=Zm(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(),Xm(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return th(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return th(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return th(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return th(`${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=>nh(s,e,t))),t.forEach(e=>nh(s,r,e)),t.forEach(e=>nh(s,Su[i]||{},e)),t.forEach(e=>nh(s,Eu,e)),t.forEach(e=>nh(s,Cu,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),eh.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,Su[t]||{},Eu.datasets[t]||{},{type:t},Eu,Cu]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=ih(this._resolverCache,e,r),s=a;if(oh(a,t)){i.$shared=!1,n=pl(n)?n():n;let t=this.createResolver(e,n,o);s=rd(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=ih(this._resolverCache,e,n);return K(t)?rd(i,t,void 0,r):i}};function ih(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:nd(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var ah=e=>K(e)&&Object.getOwnPropertyNames(e).some(t=>pl(e[t]));function oh(e,t){let{isScriptable:n,isIndexable:r}=id(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(pl(o)||ah(o))||a&&G(o))return!0}return!1}var sh=`4.5.1`,ch=[`top`,`bottom`,`left`,`right`,`chartArea`];function lh(e,t){return e===`top`||e===`bottom`||ch.indexOf(e)===-1&&t===`x`}function uh(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function dh(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),J(n&&n.onComplete,[e],t)}function fh(e){let t=e.chart,n=t.options.animation;J(n&&n.onProgress,[e],t)}function ph(e){return Md()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var mh={},hh=e=>{let t=ph(e);return Object.values(mh).filter(e=>e.canvas===t).pop()};function gh(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 _h(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var vh=class{static defaults=Eu;static instances=mh;static overrides=Su;static registry=Fm;static version=sh;static getChart=hh;static register(...e){Fm.add(...e),yh()}static unregister(...e){Fm.remove(...e),yh()}constructor(e,t){let n=this.config=new rh(t),r=ph(e),i=hh(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||(lm(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;this.id=Yc(),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 Im,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Ql(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],mh[this.id]=this,!o||!s?console.error(`Failed to create chart: can't acquire context from the given item`):(vf.listen(this,`complete`,dh),vf.listen(this,`progress`,fh),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 Fm}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():Gd(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return ju(this.canvas,this.ctx),this}stop(){return vf.stop(this),this}resize(e,t){vf.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,Gd(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=Km(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=Km(a,i),s=q(i.type,t.dtype);(i.position===void 0||lh(i.position,o)!==lh(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(Fm.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=>{Bp.configure(this,e,e.options),Bp.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(uh(`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=>{Bp.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!ml(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)gh(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;Bp.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=_f(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&Fu(t,r),e.controller.draw(),r&&Iu(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Pu(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=Cp.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||=td(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);fl(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(),vf.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}});el(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=hl(e),c=_h(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=!el(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 yh(){return Y(vh.instances,e=>e._plugins.invalidate())}function bh(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,Ll(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,Ll(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Ll(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 xh(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+yl,r-yl),e.closePath(),e.clip()}function Sh(e){return Ju(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Ch(e,t,n,r){let i=Sh(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 zl(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:zl(i.innerStart,0,o),innerEnd:zl(i.innerEnd,0,o)}}function wh(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Th(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}=Ch(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=wh(C,T,o,s);e.arc(t.x,t.y,y,T,_+yl)}let n=wh(ee,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=wh(ee,ne,o,s);e.arc(t.x,t.y,x,_+yl,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=wh(E,te,o,s);e.arc(t.x,t.y,b,te+Math.PI,g-yl)}let i=wh(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=wh(S,w,o,s);e.arc(t.x,t.y,v,g-yl,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 Eh(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){Th(e,t,n,r,c,i);for(let t=0;t=X&&p===0&&u!==`miter`&&bh(e,t,h),a||(Th(e,t,n,r,h,i),e.stroke())}var Oh=class extends um{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}=Pl(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=Rl(r,a,o)&&a!==o,p=d>=Z||f,m=Vl(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,Eh(e,this,s,i,a),Dh(e,this,s,i,a),e.restore()}};function kh(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 Ah(e,t,n){e.lineTo(n.x,n.y)}function jh(e){return e.stepped?Lu:e.tension||e.cubicInterpolationMode===`monotone`?Ru:Ah}function Mh(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 Fh(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?Ph:Nh}function Ih(e){return e.stepped?Yd:e.tension||e.cubicInterpolationMode===`monotone`?Xd:Jd}function Lh(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),kh(e,t.options),e.stroke(i)}function Rh(e,t,n,r){let{segments:i,options:a}=t,o=Fh(t);for(let s of i)kh(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var zh=typeof Path2D==`function`;function Bh(e,t,n,r){zh&&!t.options.segment?Lh(e,t,n,r):Rh(e,t,n,r)}var Vh=class extends um{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;jd(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||=uf(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=sf(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=Ih(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function ng(e){return eg[e%eg.length]}function rg(e){return tg[e%tg.length]}function ig(e,t){return e.borderColor=ng(t),e.backgroundColor=rg(t),++t}function ag(e,t){return e.backgroundColor=e.data.map(()=>ng(t++)),t}function og(e,t){return e.backgroundColor=e.data.map(()=>rg(t++)),t}function sg(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof lp?t=ag(n,t):i instanceof dp?t=og(n,t):i&&(t=ig(n,t))}}function cg(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function lg(e){return e&&(e.borderColor||e.backgroundColor)}function ug(){return Eu.borderColor!==`rgba(0,0,0,0.1)`||Eu.backgroundColor!==`rgba(0,0,0,0.1)`}var dg={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=cg(r)||lg(i)||a&&cg(a)||ug();if(!n.forceOverride&&o)return;let s=sg(e);r.forEach(s)}};function fg(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 pg(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 mg(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 hg(e){e.data.datasets.forEach(e=>{mg(e)})}function gg(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=zl(Ul(t,a.axis,o).lo,0,n-1)),i=l?zl(Ul(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var _g={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){hg(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($u([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}=gg(s,c);if(d<=(n.threshold||4*r)){mg(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=fg(c,u,d,r,n);break;case`min-max`:f=pg(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){hg(e)}};function vg(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=xg(r,s,i);let c=yg(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=sf(t,c);for(let t of l){let r=yg(n,a[t.start],a[t.end],t.loop),s=of(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:Sg(c,r,`start`,Math.max)},end:{[n]:Sg(c,r,`end`,Math.min)}})}}return o}function yg(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Ll(i),a=Ll(a)),{property:e,start:i,end:a}}function bg(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=xg(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 xg(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Sg(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Cg(e,t){let n=[],r=!1;return G(e)?(r=!0,n=e):n=bg(e,t),n.length?new Vh({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function wg(e){return e&&e.fill!==!1}function Tg(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!Xc(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function Eg(e,t,n){let r=Ag(e);if(K(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return Xc(i)&&Math.floor(i)===i?Dg(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function Dg(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function Og(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 kg(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 Ag(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 jg(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=Mg(t,n);s.push(Cg({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&&Vg(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;wg(n)&&Vg(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;wg(r)&&n.drawTime===`beforeDatasetDraw`&&Vg(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Yg=(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)}},Xg=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Zg=class extends um{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=Qu(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Yg(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}=Qg(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=$d(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=eu(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=eu(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=eu(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=eu(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;Fu(e,this),this._draw(),Iu(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=Eu.color,s=$d(e.rtl,this.left,this.width),c=Qu(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}=Yg(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){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;Nu(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=Xu(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?Uu(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:eu(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:eu(i,this.top+y+l,this.bottom-t[0].height),line:0},ef(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;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=eu(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=eu(i,this.top+y+l,this.bottom-t[f.line].height));let w=s.x(S);if(g(w,C,o),S=tu(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+=t_(o,e)+l}else f.y+=b}),tf(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=Qu(t.font),r=Zu(t.padding);if(!t.display)return;let i=$d(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=eu(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+eu(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=eu(o,u,u+d);a.textAlign=i.textAlign($l(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=Qu(e.font),n=Zu(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(Vl(e,this.left,this.right)&&Vl(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 e_(e,t,n){let r=e;return typeof t.text!=`string`&&(r=t_(t,n)),r}function t_(e,t){return t*(e.text?e.text.length:0)}function n_(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var r_={id:`legend`,_element:Zg,start(e,t,n){let r=e.legend=new Zg({ctx:e.ctx,options:n,chart:e});Bp.configure(e,r,n),Bp.addBox(e,r)},stop(e){Bp.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;Bp.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=Zu(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)}}},i_=class extends um{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=Zu(n.padding);let i=r*Qu(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=eu(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=eu(o,r,t),s=X*-.5):(l=i-e,u=eu(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=Qu(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:$l(t.align),textBaseline:`middle`,translation:[i,a]})}};function a_(e,t){let n=new i_({ctx:e.ctx,options:t,chart:e});Bp.configure(e,n,t),Bp.addBox(e,n),e.titleBlock=n}var o_={id:`title`,_element:i_,start(e,t,n){a_(e,n)},stop(e){let t=e.titleBlock;Bp.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;Bp.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}},s_=new WeakMap,c_={id:`subtitle`,start(e,t,n){let r=new i_({ctx:e.ctx,options:n,chart:e});Bp.configure(e,r,n),Bp.addBox(e,r),s_.set(e,r)},stop(e){Bp.removeBox(e,s_.get(e)),s_.delete(e)},beforeUpdate(e,t,n){let r=s_.get(e);Bp.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}},l_={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 lc(e){return cc(sc(e*2.55),0,255)}function uc(e){return cc(sc(e*255),0,255)}function dc(e){return cc(sc(e/2.55)/100,0,1)}function fc(e){return cc(sc(e*100),0,100)}var pc={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},mc=[...`0123456789ABCDEF`],hc=e=>mc[e&15],gc=e=>mc[(e&240)>>4]+mc[e&15],_c=e=>(e&240)>>4==(e&15),vc=e=>_c(e.r)&&_c(e.g)&&_c(e.b)&&_c(e.a);function yc(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&pc[e[1]]*17,g:255&pc[e[2]]*17,b:255&pc[e[3]]*17,a:t===5?pc[e[4]]*17:255}:(t===7||t===9)&&(n={r:pc[e[1]]<<4|pc[e[2]],g:pc[e[3]]<<4|pc[e[4]],b:pc[e[5]]<<4|pc[e[6]],a:t===9?pc[e[7]]<<4|pc[e[8]]:255})),n}var bc=(e,t)=>e<255?t(e):``;function xc(e){var t=vc(e)?hc:gc;return e?`#`+t(e.r)+t(e.g)+t(e.b)+bc(e.a,t):void 0}var Sc=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Cc(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 wc(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 Tc(e,t,n){let r=Cc(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 Ec(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Ec(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Oc(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(uc)}function kc(e,t,n){return Oc(Cc,e,t,n)}function Ac(e,t,n){return Oc(Tc,e,t,n)}function jc(e,t,n){return Oc(wc,e,t,n)}function Mc(e){return(e%360+360)%360}function Nc(e){let t=Sc.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?lc(+t[5]):uc(+t[5]));let i=Mc(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Ac(i,a,o):t[1]===`hsv`?jc(i,a,o):kc(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function Pc(e,t){var n=Dc(e);n[0]=Mc(n[0]+t),n=kc(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Fc(e){if(!e)return;let t=Dc(e),n=t[0],r=fc(t[1]),i=fc(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${dc(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var Ic={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`},Lc={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 Rc(){let e={},t=Object.keys(Lc),n=Object.keys(Ic),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var zc;function Bc(e){zc||(zc=Rc(),zc.transparent=[0,0,0,0]);let t=zc[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Vc=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Hc(e){let t=Vc.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?lc(e):cc(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?lc(r):cc(r,0,255)),i=255&(t[4]?lc(i):cc(i,0,255)),a=255&(t[6]?lc(a):cc(a,0,255)),{r,g:i,b:a,a:n}}}function Uc(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${dc(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Wc=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,Gc=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Kc(e,t,n){let r=Gc(dc(e.r)),i=Gc(dc(e.g)),a=Gc(dc(e.b));return{r:uc(Wc(r+n*(Gc(dc(t.r))-r))),g:uc(Wc(i+n*(Gc(dc(t.g))-i))),b:uc(Wc(a+n*(Gc(dc(t.b))-a))),a:e.a+n*(t.a-e.a)}}function qc(e,t,n){if(e){let r=Dc(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=kc(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Jc(e,t){return e&&Object.assign(t||{},e)}function Yc(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=uc(e[3]))):(t=Jc(e,{r:0,g:0,b:0,a:1}),t.a=uc(t.a)),t}function Xc(e){return e.charAt(0)===`r`?Hc(e):Nc(e)}var Zc=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=Yc(t):n===`string`&&(r=yc(t)||Bc(t)||Xc(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Jc(this._rgb);return e&&(e.a=dc(e.a)),e}set rgb(e){this._rgb=Yc(e)}rgbString(){return this._valid?Uc(this._rgb):void 0}hexString(){return this._valid?xc(this._rgb):void 0}hslString(){return this._valid?Fc(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=Kc(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=uc(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=sc(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 qc(this._rgb,2,e),this}darken(e){return qc(this._rgb,2,-e),this}saturate(e){return qc(this._rgb,1,e),this}desaturate(e){return qc(this._rgb,1,-e),this}rotate(e){return Pc(this._rgb,e),this}};function Qc(){}var $c=(()=>{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 el(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function tl(e,t){return el(e)?e:t}function q(e,t){return e===void 0?t:e}var nl=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,rl=(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 fl(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 pl(e){let t=fl(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function ml(e,t){return(dl[t]||(dl[t]=pl(t)))(e)}function hl(e){return e.charAt(0).toUpperCase()+e.slice(1)}var gl=e=>e!==void 0,_l=e=>typeof e==`function`,vl=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function yl(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var X=Math.PI,Z=2*X,bl=Z+X,xl=1/0,Sl=X/180,Cl=X/2,wl=X/4,Tl=X*2/3,El=Math.log10,Dl=Math.sign;function Ol(e,t,n){return Math.abs(e-t)e-t).pop(),t}function jl(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function Ml(e){return!jl(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function Nl(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function Pl(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 Kl(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var ql=(e,t,n,r)=>Kl(e,n,r?r=>{let i=e[r][t];return ie[r][t]Kl(e,n,r=>e[r][t]>=n);function Yl(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+hl(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 Ql(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)&&(Xl.forEach(t=>{delete e[t]}),delete e._chartjs)}function $l(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var eu=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function tu(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,eu.call(window,()=>{r=!1,e.apply(t,n)}))}}function nu(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var ru=e=>e===`start`?`left`:e===`end`?`right`:`center`,iu=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,au=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function ou(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(ql(c,u,d).lo,n?r:ql(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=Ul(i,0,r-1)}if(m){let e=Math.max(ql(c,o.axis,f,!0).hi+1,n?0:ql(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=Ul(e,i,r)-i}else a=r-i}return{start:i,count:a}}function su(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 cu=e=>e===0||e===1,lu=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*Z/n)),uu=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*Z/n)+1,du={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*Cl)+1,easeOutSine:e=>Math.sin(e*Cl),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=>cu(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=>cu(e)?e:lu(e,.075,.3),easeOutElastic:e=>cu(e)?e:uu(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return cu(e)?e:e<.5?.5*lu(e*2,t,n):.5+.5*uu(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+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-du.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?du.easeInBounce(e*2)*.5:du.easeOutBounce(e*2-1)*.5+.5};function fu(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function pu(e){return fu(e)?e:new Zc(e)}function mu(e){return fu(e)?e:new Zc(e).saturate(.5).darken(.1).hexString()}var hu=[`x`,`y`,`borderWidth`,`radius`,`tension`],gu=[`color`,`borderColor`,`backgroundColor`];function _u(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:gu},numbers:{type:`number`,properties:hu}}),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 vu(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var yu=new Map;function bu(e,t){t||={};let n=e+JSON.stringify(t),r=yu.get(n);return r||(r=new Intl.NumberFormat(e,t),yu.set(n,r)),r}function xu(e,t,n){return bu(t,n).format(e)}var Su={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=Cu(e,n)}let o=El(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),xu(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(El(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Su.numeric.call(this,e,t,n):``}};function Cu(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 wu={formatters:Su};function Tu(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:wu.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 Eu=Object.create(null),Du=Object.create(null);function Ou(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)=>mu(t.backgroundColor),this.hoverBorderColor=(e,t)=>mu(t.borderColor),this.hoverColor=(e,t)=>mu(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 ku(this,e,t)}get(e){return Ou(this,e)}describe(e,t){return ku(Du,e,t)}override(e,t){return ku(Eu,e,t)}route(e,t,n,r){let i=Ou(this,e),a=Ou(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}},[_u,vu,Tu]);function ju(e){return!e||W(e.size)||W(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function Mu(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 Ru(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,Uu(e,a),c=0;c+e||0;function Qu(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]=Zu(a(e));return n}function $u(e){return Qu(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function ed(e){return Qu(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function td(e){let t=$u(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function nd(e,t){e||={},t||=Au.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(Yu)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:q(e.family,t.family),lineHeight:Xu(q(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:q(e.weight,t.weight),string:``};return i.string=ju(i),i}function rd(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 ad(e,t){return Object.assign(Object.create(e),t)}function od(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=Sd(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>od([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return dd(n,r,()=>xd(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return Cd(e).includes(t)},ownKeys(e){return Cd(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function sd(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:cd(e,r),setContext:t=>sd(e,t,n,r),override:i=>sd(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 dd(e,t,()=>fd(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 cd(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:_l(n)?n:()=>n,isIndexable:_l(r)?r:()=>r}}var ld=(e,t)=>e?e+hl(t):t,ud=(e,t)=>K(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function dd(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function fd(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return _l(s)&&o.isScriptable(t)&&(s=pd(t,s,e,n)),G(s)&&s.length&&(s=md(t,s,e,o.isIndexable)),ud(t,s)&&(s=sd(s,i,a&&a[t],o)),s}function pd(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),ud(e,c)&&(c=vd(i._scopes,i,e,c)),c}function md(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=vd(r,i,e,c);t.push(sd(n,a,o&&o[e],s))}}return t}function hd(e,t,n){return _l(e)?e(t,n):e}var gd=(e,t)=>e===!0?t:typeof e==`string`?ml(t,e):void 0;function _d(e,t,n,r,i){for(let a of t){let t=gd(n,a);if(t){e.add(t);let a=hd(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 vd(e,t,n,r){let i=t._rootScopes,a=hd(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=yd(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=yd(s,o,a,c,r),c===null)?!1:od(Array.from(s),[``],i,a,()=>bd(t,n,r))}function yd(e,t,n,r,i){for(;n;)n=_d(e,t,n,r,i);return n}function bd(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return G(i)&&K(n)?n:i||{}}function xd(e,t,n,r){let i;for(let a of t)if(i=Sd(ld(a,e),n),i!==void 0)return ud(e,i)?vd(n,r,e,i):i}function Sd(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function Cd(e){let t=e._keys;return t||=e._keys=wd(e._scopes),t}function wd(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 Td(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 kd(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=zl(a,i),c=zl(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 Ad(e,t,n){let r=e.length,i,a,o,s,c,l=Dd(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)Md(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 Bd(e,t){return zd(e).getPropertyValue(t)}var Vd=[`top`,`right`,`bottom`,`left`];function Hd(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=Vd[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var Ud=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function Wd(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(Ud(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 Gd(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=zd(n),a=i.boxSizing===`border-box`,o=Hd(i,`padding`),s=Hd(i,`border`,`width`),{x:c,y:l,box:u}=Wd(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 Kd(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&Ld(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=zd(a),s=Hd(o,`border`,`width`),c=Hd(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=Rd(o.maxWidth,a,`clientWidth`),i=Rd(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||xl,maxHeight:i||xl}}var qd=e=>Math.round(e*10)/10;function Jd(e,t,n,r){let i=zd(e),a=Hd(i,`margin`),o=Rd(i.maxWidth,e,`clientWidth`)||xl,s=Rd(i.maxHeight,e,`clientHeight`)||xl,c=Kd(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=Hd(i,`border`,`width`),t=Hd(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=qd(Math.min(l,o,c.maxWidth)),u=qd(Math.min(u,s,c.maxHeight)),l&&!u&&(u=qd(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=qd(Math.floor(u*r))),{width:l,height:u}}function Yd(e,t,n){let r=t||1,i=qd(e.height*r),a=qd(e.width*r);e.height=qd(e.height),e.width=qd(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 Xd=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};Id()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function Zd(e,t){let n=Bd(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Qd(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function $d(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 ef(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=Qd(e,i,n),s=Qd(i,a,n),c=Qd(a,t,n);return Qd(Qd(o,s,n),Qd(s,c,n),n)}var tf=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}}},nf=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function rf(e,t,n){return e?tf(t,n):nf()}function af(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 of(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function sf(e){return e===`angle`?{between:Hl,compare:Bl,normalize:Vl}:{between:Gl,compare:(e,t)=>e-t,normalize:e=>e}}function cf({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 lf(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=sf(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(cf({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(cf({start:g,end:d,loop:f,count:o,style:p})),m}function df(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 pf(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 mf(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=ff(n,i,a,r);return r===!0?hf(e,[{start:o,end:s,loop:a}],n,t):hf(e,pf(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,eu.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)}},Cf=`transparent`,wf={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=pu(e||Cf),i=r.valid&&pu(t||Cf);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},Tf=class{constructor(e,t,n,r){let i=t[n];r=rd([e.to,r,i,e.from]);let a=rd([e.from,i,r]);this._active=!0,this._fn=e.fn||wf[e.type||typeof a],this._easing=du[e.easing]||du.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=rd([e.to,t,r,e.from]),this._from=rd([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;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)):(this._target[r]=o,this._notify(!0))}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=Of(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&Df(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}u.cancel()}!d||!d.duration?e[c]=l:(i[c]=u=new Tf(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 Sf.add(this._chart,n),!0}};function Df(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function Bf(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=If(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function Hf(e,t){return ad(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function Uf(e,t,n){return ad(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Wf(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 Gf=e=>e===`reset`||e===`none`,Kf=(e,t)=>t?e:Object.assign({},e),qf=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Mf(n,!0),values:null},Jf=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=Ff(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&&Wf(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,Vf(e,`x`)),a=t.yAxisID=q(n.yAxisID,Vf(e,`y`)),o=t.rAxisID=q(n.rAxisID,Vf(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&&Ql(this._data,this),e._stacked&&Wf(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(K(t)){let e=this._cachedMeta;this._data=Pf(t,e)}else if(n!==t){if(n){Ql(n,this);let e=this._cachedMeta;Wf(e),e._parsed=[]}t&&Object.isExtensible(t)&&Zl(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=Ff(t.vScale,t),t.stack!==n.stack&&(r=!0,Wf(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Bf(this,t._parsed),t._stacked=Ff(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||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(Kf(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 Ef(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||Gf(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){Gf(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Gf(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 Xf(e){let t=e.iScale,n=Yf(t,e.type),r=t._length,i,a,o,s,c=()=>{o!==32767&&o!==-32768&&(gl(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 ep(e,t,n,r){return G(e)?$f(e,t,n,r):t[n.axis]=n.parse(e,r),t}function tp(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):Dl(e)}function ip(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;dHl(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>Hl(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(Cl,u,f),_=m(X,l,d),v=m(X+Cl,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 pp=class extends Jf{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=>+ml(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=xu(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()}},hp=class extends Jf{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=xu(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return Td.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)?Fl(this.resolveDataElementOptions(e,t).angle||n):0}},gp=Object.freeze({__proto__:null,BarController:up,BubbleController:dp,DoughnutController:pp,LineController:mp,PieController:class extends pp{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:hp,RadarController:class extends Jf{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 Td.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 _p(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var vp={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return _p()}parse(){return _p()}format(){return _p()}add(){return _p()}diff(){return _p()}startOf(){return _p()}endOf(){return _p()}}};function yp(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?Jl:ql;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}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 bp(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 Dp={evaluateInteractionItems:bp,modes:{index(e,t,n,r){let i=Gd(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?Sp(e,i,a,r,o):Tp(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=Gd(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?Sp(e,i,a,r,o):Tp(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 Ap(e,t){return e.filter(e=>Op.indexOf(e.pos)===-1&&e.box.axis===t)}function jp(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 Mp(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=jp(kp(t,`left`),!0),i=jp(kp(t,`right`)),a=jp(kp(t,`top`),!0),o=jp(kp(t,`bottom`)),s=Ap(t,`x`),c=Ap(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:kp(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Ip(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Lp(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 Rp(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&&Lp(o,a.getPadding());let s=Math.max(0,t.outerWidth-Ip(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Ip(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 zp(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 Bp(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 Vp(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);Lp(f,td(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=Pp(c.concat(l),d);Vp(s.fullSize,p,d,m),Vp(c,p,d,m),Vp(l,p,d,m)&&Vp(c,p,d,m),zp(p),Up(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,Up(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})})}},Gp=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){}},Kp=class extends Gp{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},qp=`$chartjs`,Jp={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},Yp=e=>e===null||e===``;function Xp(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[qp]={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`,Yp(i)){let t=Zd(e,`width`);t!==void 0&&(e.width=t)}if(Yp(r)){if(e.style.height===``)e.height=e.width/(t||2);else{let t=Zd(e,`height`);t!==void 0&&(e.height=t)}}return e}var Zp=Xd?{passive:!0}:!1;function Qp(e,t,n){e&&e.addEventListener(t,n,Zp)}function $p(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Zp)}function em(e,t){let n=Jp[e.type]||e.type,{x:r,y:i}=Gd(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function tm(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function nm(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=tm(n.addedNodes,r),t&&=!tm(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function rm(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=tm(n.removedNodes,r),t&&=!tm(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var im=new Map,am=0;function om(){let e=window.devicePixelRatio;e!==am&&(am=e,im.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function sm(e,t){im.size||window.addEventListener(`resize`,om),im.set(e,t)}function cm(e){im.delete(e),im.size||window.removeEventListener(`resize`,om)}function lm(e,t,n){let r=e.canvas,i=r&&Ld(r);if(!i)return;let a=tu((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),sm(e,a),o}function um(e,t,n){n&&n.disconnect(),t===`resize`&&cm(e)}function dm(e,t,n){let r=e.canvas,i=tu(t=>{e.ctx!==null&&n(em(t,e))},e);return Qp(r,t,i),i}var fm=class extends Gp{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(Xp(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[qp])return!1;let n=t[qp].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[qp],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:nm,detach:rm,resize:lm}[t]||dm)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:um,detach:um,resize:um}[t]||$p)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return Jd(e,t,n,r)}isAttached(e){let t=e&&Ld(e);return!!(t&&t.isConnected)}};function pm(e){return!Id()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?Kp:fm}var mm=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 Ml(this.x)&&Ml(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 hm(e,t){let n=e.options.ticks,r=gm(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?vm(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return ym(t,l,a,o/i),l;let u=_m(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(bm(t,l,u,W(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function vm(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,Cm=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,wm=(e,t)=>Math.min(t||e,e);function Tm(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function Dm(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:tl(t,tl(n,t)),max:tl(n,tl(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=id(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=Ul(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-Om(e.grid)-t.padding-km(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=Il(Math.min(Math.asin(Ul((l.highest.height+6)/o,-1,1)),Math.asin(Ul(s/c,-1,1))-Math.asin(Ul(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=km(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=Om(i)+a):(e.height=this.maxHeight,e.width=Om(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=Fl(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 Wl(this._alignToPixels?Pu(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=Om(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Pu(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)}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(-Fl(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(`.`);Au.route(a,i,c,s)})}function Rm(e){return`id`in e&&`defaults`in e}var zm=new class{constructor(){this.controllers=new Fm(Jf,`datasets`,!0),this.elements=new Fm(mm,`elements`),this.plugins=new Fm(Object,`plugins`),this.scales=new Fm(Pm,`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=hl(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 Vm(e){let t={},n=[],r=Object.keys(zm.plugins.items);for(let e=0;e1&&Jm(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Zm(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function Qm(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 Zm(e,`x`,n[0])||Zm(e,`y`,n[0])}return{}}function $m(e,t){let n=Eu[e.type]||{scales:{}},r=t.scales||{},i=Gm(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=Xm(t,o,Qm(t,e),Au.scales[o.type]),c=qm(s,i),l=n.scales||{};a[t]=ll(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Gm(i,t),s=(Eu[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=Km(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),ll(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];ll(t,[Au.scales[t.type],Au.scale])}),a}function eh(e){let t=e.options||={};t.plugins=q(t.plugins,{}),t.scales=$m(e,t)}function th(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function nh(e){return e||={},e.data=th(e.data),eh(e),e}var rh=new Map,ih=new Set;function ah(e,t){let n=rh.get(e);return n||(n=t(),rh.set(e,n),ih.add(n)),n}var oh=(e,t,n)=>{let r=ml(t,n);r!==void 0&&e.add(r)},sh=class{constructor(e){this._config=nh(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=th(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(),eh(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ah(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return ah(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return ah(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return ah(`${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=>oh(s,e,t))),t.forEach(e=>oh(s,r,e)),t.forEach(e=>oh(s,Eu[i]||{},e)),t.forEach(e=>oh(s,Au,e)),t.forEach(e=>oh(s,Du,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),ih.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,Eu[t]||{},Au.datasets[t]||{},{type:t},Au,Du]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=ch(this._resolverCache,e,r),s=a;if(uh(a,t)){i.$shared=!1,n=_l(n)?n():n;let t=this.createResolver(e,n,o);s=sd(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=ch(this._resolverCache,e,n);return K(t)?sd(i,t,void 0,r):i}};function ch(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:od(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var lh=e=>K(e)&&Object.getOwnPropertyNames(e).some(t=>_l(e[t]));function uh(e,t){let{isScriptable:n,isIndexable:r}=cd(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(_l(o)||lh(o))||a&&G(o))return!0}return!1}var dh=`4.5.1`,fh=[`top`,`bottom`,`left`,`right`,`chartArea`];function ph(e,t){return e===`top`||e===`bottom`||fh.indexOf(e)===-1&&t===`x`}function mh(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function hh(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),J(n&&n.onComplete,[e],t)}function gh(e){let t=e.chart,n=t.options.animation;J(n&&n.onProgress,[e],t)}function _h(e){return Id()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var vh={},yh=e=>{let t=_h(e);return Object.values(vh).filter(e=>e.canvas===t).pop()};function bh(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 xh(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var Sh=class{static defaults=Au;static instances=vh;static overrides=Eu;static registry=zm;static version=dh;static getChart=yh;static register(...e){zm.add(...e),Ch()}static unregister(...e){zm.remove(...e),Ch()}constructor(e,t){let n=this.config=new sh(t),r=_h(e),i=yh(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||(pm(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;this.id=$c(),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 Bm,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=nu(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],vh[this.id]=this,!o||!s?console.error(`Failed to create chart: can't acquire context from the given item`):(Sf.listen(this,`complete`,hh),Sf.listen(this,`progress`,gh),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 zm}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():Yd(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return Fu(this.canvas,this.ctx),this}stop(){return Sf.stop(this),this}resize(e,t){Sf.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,Yd(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=Xm(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=Xm(a,i),s=q(i.type,t.dtype);(i.position===void 0||ph(i.position,o)!==ph(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(zm.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=>{Wp.configure(this,e,e.options),Wp.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(mh(`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=>{Wp.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!vl(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)bh(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;Wp.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=xf(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&zu(t,r),e.controller.draw(),r&&Bu(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Ru(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=Dp.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||=ad(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);gl(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(),Sf.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}});il(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=yl(e),c=xh(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=!il(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 Ch(){return Y(Sh.instances,e=>e._plugins.invalidate())}function wh(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,Vl(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,Vl(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Vl(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 Th(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+Cl,r-Cl),e.closePath(),e.clip()}function Eh(e){return Qu(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Dh(e,t,n,r){let i=Eh(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 Ul(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:Ul(i.innerStart,0,o),innerEnd:Ul(i.innerEnd,0,o)}}function Oh(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function kh(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}=Dh(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=Oh(C,T,o,s);e.arc(t.x,t.y,y,T,_+Cl)}let n=Oh(ee,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=Oh(ee,ne,o,s);e.arc(t.x,t.y,x,_+Cl,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=Oh(E,te,o,s);e.arc(t.x,t.y,b,te+Math.PI,g-Cl)}let i=Oh(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=Oh(S,w,o,s);e.arc(t.x,t.y,v,g-Cl,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 Ah(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){kh(e,t,n,r,c,i);for(let t=0;t=X&&p===0&&u!==`miter`&&wh(e,t,h),a||(kh(e,t,n,r,h,i),e.stroke())}var Mh=class extends mm{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}=Rl(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=Hl(r,a,o)&&a!==o,p=d>=Z||f,m=Gl(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,Ah(e,this,s,i,a),jh(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 Ph(e,t,n){e.lineTo(n.x,n.y)}function Fh(e){return e.stepped?Vu:e.tension||e.cubicInterpolationMode===`monotone`?Hu:Ph}function Ih(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 zh(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?Rh:Lh}function Bh(e){return e.stepped?$d:e.tension||e.cubicInterpolationMode===`monotone`?ef:Qd}function Vh(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 Hh(e,t,n,r){let{segments:i,options:a}=t,o=zh(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 Uh=typeof Path2D==`function`;function Wh(e,t,n,r){Uh&&!t.options.segment?Vh(e,t,n,r):Hh(e,t,n,r)}var Gh=class extends mm{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;Fd(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||=mf(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=df(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=Bh(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function og(e){return ig[e%ig.length]}function sg(e){return ag[e%ag.length]}function cg(e,t){return e.borderColor=og(t),e.backgroundColor=sg(t),++t}function lg(e,t){return e.backgroundColor=e.data.map(()=>og(t++)),t}function ug(e,t){return e.backgroundColor=e.data.map(()=>sg(t++)),t}function dg(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof pp?t=lg(n,t):i instanceof hp?t=ug(n,t):i&&(t=cg(n,t))}}function fg(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function pg(e){return e&&(e.borderColor||e.backgroundColor)}function mg(){return Au.borderColor!==`rgba(0,0,0,0.1)`||Au.backgroundColor!==`rgba(0,0,0,0.1)`}var hg={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=fg(r)||pg(i)||a&&fg(a)||mg();if(!n.forceOverride&&o)return;let s=dg(e);r.forEach(s)}};function gg(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 _g(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 vg(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 yg(e){e.data.datasets.forEach(e=>{vg(e)})}function bg(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=Ul(ql(t,a.axis,o).lo,0,n-1)),i=l?Ul(ql(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var xg={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){yg(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(rd([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}=bg(s,c);if(d<=(n.threshold||4*r)){vg(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=gg(c,u,d,r,n);break;case`min-max`:f=_g(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){yg(e)}};function Sg(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=Tg(r,s,i);let c=Cg(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=df(t,c);for(let t of l){let r=Cg(n,a[t.start],a[t.end],t.loop),s=uf(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:Eg(c,r,`start`,Math.max)},end:{[n]:Eg(c,r,`end`,Math.min)}})}}return o}function Cg(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Vl(i),a=Vl(a)),{property:e,start:i,end:a}}function wg(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=Tg(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 Tg(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Eg(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Dg(e,t){let n=[],r=!1;return G(e)?(r=!0,n=e):n=wg(e,t),n.length?new Gh({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Og(e){return e&&e.fill!==!1}function kg(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!el(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function Ag(e,t,n){let r=Pg(e);if(K(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return el(i)&&Math.floor(i)===i?jg(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function jg(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function Mg(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 Pg(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 Fg(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=Ig(t,n);s.push(Dg({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&&Gg(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;Og(n)&&Gg(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;Og(r)&&n.drawTime===`beforeDatasetDraw`&&Gg(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},$g=(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)}},e_=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,t_=class extends mm{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=nd(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=$g(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}=n_(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=rf(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=iu(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=iu(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=iu(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=iu(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;zu(e,this),this._draw(),Bu(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=Au.color,s=rf(e.rtl,this.left,this.width),c=nd(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}=$g(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){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;Lu(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=ed(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?qu(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){Ku(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:iu(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:iu(i,this.top+y+l,this.bottom-t[0].height),line:0},af(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;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=iu(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=iu(i,this.top+y+l,this.bottom-t[f.line].height));let w=s.x(S);if(g(w,C,o),S=au(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+=a_(o,e)+l}else f.y+=b}),of(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=nd(t.font),r=td(t.padding);if(!t.display)return;let i=rf(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=iu(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+iu(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=iu(o,u,u+d);a.textAlign=i.textAlign(ru(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Ku(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=nd(e.font),n=td(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(Gl(e,this.left,this.right)&&Gl(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 i_(e,t,n){let r=e;return typeof t.text!=`string`&&(r=a_(t,n)),r}function a_(e,t){return t*(e.text?e.text.length:0)}function o_(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var s_={id:`legend`,_element:t_,start(e,t,n){let r=e.legend=new t_({ctx:e.ctx,options:n,chart:e});Wp.configure(e,r,n),Wp.addBox(e,r)},stop(e){Wp.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;Wp.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=td(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)}}},c_=class extends mm{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=td(n.padding);let i=r*nd(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=iu(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=iu(o,r,t),s=X*-.5):(l=i-e,u=iu(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=nd(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);Ku(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:ru(t.align),textBaseline:`middle`,translation:[i,a]})}};function l_(e,t){let n=new c_({ctx:e.ctx,options:t,chart:e});Wp.configure(e,n,t),Wp.addBox(e,n),e.titleBlock=n}var u_={id:`title`,_element:c_,start(e,t,n){l_(e,n)},stop(e){let t=e.titleBlock;Wp.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;Wp.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}},d_=new WeakMap,f_={id:`subtitle`,start(e,t,n){let r=new c_({ctx:e.ctx,options:n,chart:e});Wp.configure(e,r,n),Wp.addBox(e,r),d_.set(e,r)},stop(e){Wp.removeBox(e,d_.get(e)),d_.delete(e)},beforeUpdate(e,t,n){let r=d_.get(e);Wp.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}},p_={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 f_(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 p_(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=Qu(t.bodyFont),l=Qu(t.titleFont),u=Qu(t.footerFont),d=a.length,f=i.length,p=r.length,m=Zu(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 m_(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function h_(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 g_(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`),h_(l,e,t,n)&&(l=`center`),l}function __(e,t,n){let r=n.yAlign||t.yAlign||m_(e,n);return{xAlign:n.xAlign||t.xAlign||g_(e,t,n,r),yAlign:r}}function v_(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function y_(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:r-=t===`bottom`?i+n:i/2,r}function b_(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}=Xu(o),m=v_(t,s),h=y_(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:zl(m,0,r.width-t.width),y:zl(h,0,r.height-t.height)}}function x_(e,t,n){let r=Zu(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function S_(e){return u_([],d_(e))}function C_(e,t,n){return td(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function w_(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var T_={beforeTitle:Jc,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=w_(n,e);u_(t.before,d_(E_(i,`beforeLabel`,this,e))),u_(t.lines,E_(i,`label`,this,e)),u_(t.after,d_(E_(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return S_(E_(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=E_(n,`beforeFooter`,this,e),i=E_(n,`footer`,this,e),a=E_(n,`afterFooter`,this,e),o=[];return o=u_(o,d_(r)),o=u_(o,d_(i)),o=u_(o,d_(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=w_(e.callbacks,t);r.push(E_(n,`labelColor`,this,t)),i.push(E_(n,`labelPointStyle`,this,t)),a.push(E_(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=l_[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=p_(this,n),o=Object.assign({},e,t),s=__(this.chart,n,o),c=b_(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}=Xu(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=$d(n.rtl,this.x,this.width);for(e.x=x_(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=Qu(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Uu(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Uu(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=Qu(n.bodyFont),d=u.lineHeight,f=0,p=$d(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=x_(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=l_[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=p_(this,e),o=Object.assign({},n,this._size),s=__(t,e,o),c=b_(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=Zu(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),ef(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),tf(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=!el(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||!el(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=l_[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},O_=Object.freeze({__proto__:null,Colors:dg,Decimation:_g,Filler:Jg,Legend:r_,SubTitle:c_,Title:o_,Tooltip:{id:`tooltip`,_element:D_,positioners:l_,afterInit(e,t,n){n&&(e.tooltip=new D_({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:T_},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`]}}),k_=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function A_(e,t,n,r){let i=e.indexOf(t);return i===-1?k_(e,t,n,r):i===e.lastIndexOf(t)?i:n}var j_=(e,t)=>e===null?null:zl(Math.round(e),0,t);function M_(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 P_(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=Tl((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=Tl(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&&kl((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=wl(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(Nl(b),Nl(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&&wl(n[n.length-1].value,o,F_(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function F_(e,t,{horizontal:n,minRotation:r}){let i=jl(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var I_=class extends Am{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=Cl(r),t=Cl(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=P_({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`&&Al(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 _u(e,this.chart.options.locale,this.options.ticks.format)}},L_=class extends I_{static id=`linear`;static defaults={ticks:{callback:bu.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Xc(e)?e:0,this.max=Xc(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=jl(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}},R_=e=>Math.floor(Sl(e)),z_=(e,t)=>10**(R_(e)+t);function B_(e){return e/10**R_(e)==1}function V_(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function H_(e,t){let n=R_(t-e);for(;V_(e,t,n)>10;)n++;for(;V_(e,t,n)<10;)n--;return Math.min(n,R_(e))}function U_(e,{min:t,max:n}){t=Zc(e.min,t);let r=[],i=R_(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=Zc(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=Zc(e.max,f);return r.push({value:p,major:B_(p),significand:d}),r}var W_=class extends Am{static id=`logarithmic`;static defaults={ticks:{callback:bu.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=I_.prototype.parse.apply(this,[e,t]);if(n===0)this._zero=!0;else return Xc(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=Xc(e)?Math.max(0,e):null,this.max=Xc(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Xc(this._userMin)&&(this.min=e===z_(this.min,0)?z_(this.min,-1):z_(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(z_(n,-1)),a(z_(r,1)))),n<=0&&i(z_(r,-1)),r<=0&&a(z_(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=U_({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&Al(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`:_u(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=Sl(e),this._valueRange=Sl(this.max)-Sl(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Sl(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function G_(e){let t=e.ticks;if(t.display&&e.display){let e=Zu(t.backdropPadding);return q(t.font&&t.font.size,Eu.font.size)+e.height}return 0}function K_(e,t,n){return n=G(n)?n:[n],{w:ku(e,t.string,n),h:n.length*t.lineHeight}}function q_(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 J_(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 X_(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(Ml(Ll(c.angle+yl))),u=tv(c.y,s.h,l),d=$_(l),f=ev(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 Z_(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Pu({x:n,y:r},t)||Pu({x:n,y:a},t)||Pu({x:i,y:r},t)||Pu({x:i,y:a},t))}function Q_(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:G_(a)/2,additionalAngle:o?X/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function nv(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!W(s)){let n=Xu(t.borderRadius),c=Zu(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(),Uu(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function rv(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));nv(n,a,t);let o=Qu(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 iv(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?J_(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 Ll(e*t+jl(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);av(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=Qu(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=Zu(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(){}},cv={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}},lv=Object.keys(cv);function uv(e,t){return e-t}function dv(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)),Xc(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(Ol(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function fv(e,t,n,r){let i=lv.length;for(let a=lv.indexOf(e);a=lv.indexOf(n);a--){let n=lv[a];if(cv[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return lv[n?lv.indexOf(n):0]}function mv(e){for(let t=lv.indexOf(e)+1,n=lv.length;t=t?n[r]:n[i];e[a]=!0}}function gv(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 _v(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=zl(t,0,a),n=zl(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||fv(i.minUnit,t,n,this._getLabelCapacity(t)),o=q(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=Ol(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}=Ul(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}=Ul(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 bv=class extends vv{static id=`timeseries`;static defaults=vv.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=yv(t,this.min),this._tableRange=yv(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(yv(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return yv(this._table,n*this._tableRange+this._minPos,!0)}},xv=[fp,$h,O_,Object.freeze({__proto__:null,CategoryScale:N_,LinearScale:L_,LogarithmicScale:W_,RadialLinearScale:sv,TimeScale:vv,TimeSeriesScale:bv})];vh.register(...xv);var Sv=vh,Cv={size:15,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},wv={size:10,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Tv={size:12,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Ev={size:15,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`bold`,style:`normal`},Dv={size:25,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,weight:`bold`,style:`normal`,lineHeight:3},Ov=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},kv=class extends F{constructor(){super(),this.currentTheme=`dark`,this._themeHandler=()=>{this.readColors(),this.currentTheme=Av()}}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=Av(),this.font=Cv,this.smallFont=wv,this.mediumFont=Tv,this.titleFont=Dv,this.fontBold=Ev,window.addEventListener(Zi,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Zi,this._themeHandler)}};Ov([j()],kv.prototype,`currentTheme`,void 0);function Av(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var jv=[`#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)`],Mv=[`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)`],Nv=[`#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)`],Pv=[`#f83aff`,`#00FF00`,`#787878`],Fv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],Iv=[`#33ff33`,`#66ff66`,`#1a991a`],Lv=[`#ff246b`,`rgba(98, 196, 255, 1)`],Rv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],zv=[`#66ff66`,`#1a991a`],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=class extends kv{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=jv,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.colors=this.changesChart?t===`tektronix`?Iv:t===`light`?Fv:Pv:this.breakingChanges?t===`tektronix`?zv:t===`light`?Rv:Lv:t===`tektronix`?Nv:t===`light`?Mv:jv,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 Sv(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 g_(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 __(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=nd(t.bodyFont),l=nd(t.titleFont),u=nd(t.footerFont),d=a.length,f=i.length,p=r.length,m=td(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 v_(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function y_(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 b_(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`),y_(l,e,t,n)&&(l=`center`),l}function x_(e,t,n){let r=n.yAlign||t.yAlign||v_(e,n);return{xAlign:n.xAlign||t.xAlign||b_(e,t,n,r),yAlign:r}}function S_(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function C_(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:r-=t===`bottom`?i+n:i/2,r}function w_(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}=ed(o),m=S_(t,s),h=C_(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:Ul(m,0,r.width-t.width),y:Ul(h,0,r.height-t.height)}}function T_(e,t,n){let r=td(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function E_(e){return m_([],h_(e))}function D_(e,t,n){return ad(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function O_(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var k_={beforeTitle:Qc,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=O_(n,e);m_(t.before,h_(A_(i,`beforeLabel`,this,e))),m_(t.lines,A_(i,`label`,this,e)),m_(t.after,h_(A_(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return E_(A_(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=A_(n,`beforeFooter`,this,e),i=A_(n,`footer`,this,e),a=A_(n,`afterFooter`,this,e),o=[];return o=m_(o,h_(r)),o=m_(o,h_(i)),o=m_(o,h_(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=O_(e.callbacks,t);r.push(A_(n,`labelColor`,this,t)),i.push(A_(n,`labelPointStyle`,this,t)),a.push(A_(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=p_[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=__(this,n),o=Object.assign({},e,t),s=x_(this.chart,n,o),c=w_(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}=ed(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=rf(n.rtl,this.x,this.width);for(e.x=T_(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=nd(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,qu(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),qu(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=nd(n.bodyFont),d=u.lineHeight,f=0,p=rf(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=T_(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=p_[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=__(this,e),o=Object.assign({},n,this._size),s=x_(t,e,o),c=w_(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=td(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),af(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),of(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=!il(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||!il(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=p_[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},M_=Object.freeze({__proto__:null,Colors:hg,Decimation:xg,Filler:Qg,Legend:s_,SubTitle:f_,Title:u_,Tooltip:{id:`tooltip`,_element:j_,positioners:p_,afterInit(e,t,n){n&&(e.tooltip=new j_({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:k_},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 P_(e,t,n,r){let i=e.indexOf(t);return i===-1?N_(e,t,n,r):i===e.lastIndexOf(t)?i:n}var F_=(e,t)=>e===null?null:Ul(Math.round(e),0,t);function I_(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 R_(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=kl((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=kl(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=Ol(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(Ll(b),Ll(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&&Ol(n[n.length-1].value,o,z_(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function z_(e,t,{horizontal:n,minRotation:r}){let i=Fl(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var B_=class extends Pm{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=Dl(r),t=Dl(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=R_({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`&&Pl(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 xu(e,this.chart.options.locale,this.options.ticks.format)}},V_=class extends B_{static id=`linear`;static defaults={ticks:{callback:wu.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=el(e)?e:0,this.max=el(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=Fl(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}},H_=e=>Math.floor(El(e)),U_=(e,t)=>10**(H_(e)+t);function W_(e){return e/10**H_(e)==1}function G_(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function K_(e,t){let n=H_(t-e);for(;G_(e,t,n)>10;)n++;for(;G_(e,t,n)<10;)n--;return Math.min(n,H_(e))}function q_(e,{min:t,max:n}){t=tl(e.min,t);let r=[],i=H_(t),a=K_(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=tl(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=tl(e.max,f);return r.push({value:p,major:W_(p),significand:d}),r}var J_=class extends Pm{static id=`logarithmic`;static defaults={ticks:{callback:wu.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=B_.prototype.parse.apply(this,[e,t]);if(n===0)this._zero=!0;else return el(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=el(e)?Math.max(0,e):null,this.max=el(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!el(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=q_({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&Pl(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`:xu(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=El(e),this._valueRange=El(this.max)-El(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(El(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function Y_(e){let t=e.ticks;if(t.display&&e.display){let e=td(t.backdropPadding);return q(t.font&&t.font.size,Au.font.size)+e.height}return 0}function X_(e,t,n){return n=G(n)?n:[n],{w:Nu(e,t.string,n),h:n.length*t.lineHeight}}function Z_(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 Q_(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 ev(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(Il(Vl(c.angle+Cl))),u=av(c.y,s.h,l),d=rv(l),f=iv(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 tv(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Ru({x:n,y:r},t)||Ru({x:n,y:a},t)||Ru({x:i,y:r},t)||Ru({x:i,y:a},t))}function nv(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:Y_(a)/2,additionalAngle:o?X/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function ov(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!W(s)){let n=ed(t.borderRadius),c=td(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(),qu(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function sv(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));ov(n,a,t);let o=nd(a.font),{x:s,y:c,textAlign:l}=t;Ku(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function cv(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?Q_(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 Vl(e*t+Fl(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);lv(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=nd(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=td(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}Ku(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},fv={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}},pv=Object.keys(fv);function mv(e,t){return e-t}function hv(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)),el(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(Ml(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function gv(e,t,n,r){let i=pv.length;for(let a=pv.indexOf(e);a=pv.indexOf(n);a--){let n=pv[a];if(fv[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return pv[n?pv.indexOf(n):0]}function vv(e){for(let t=pv.indexOf(e)+1,n=pv.length;t=t?n[r]:n[i];e[a]=!0}}function bv(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 xv(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=Ul(t,0,a),n=Ul(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||gv(i.minUnit,t,n,this._getLabelCapacity(t)),o=q(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=Ml(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}=ql(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}=ql(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 wv=class extends Sv{static id=`timeseries`;static defaults=Sv.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=Cv(t,this.min),this._tableRange=Cv(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(Cv(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return Cv(this._table,n*this._tableRange+this._minPos,!0)}},Tv=[gp,rg,M_,Object.freeze({__proto__:null,CategoryScale:L_,LinearScale:V_,LogarithmicScale:J_,RadialLinearScale:dv,TimeScale:Sv,TimeSeriesScale:wv})];Sh.register(...Tv);var Ev=Sh,Dv={size:15,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Ov={size:10,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},kv={size:12,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Av={size:15,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`bold`,style:`normal`},jv={size:25,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,weight:`bold`,style:`normal`,lineHeight:3},Mv=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=Pv()}}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=Pv(),this.font=Dv,this.smallFont=Ov,this.mediumFont=kv,this.titleFont=jv,this.fontBold=Av,window.addEventListener(Zi,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Zi,this._themeHandler)}};Mv([j()],Nv.prototype,`currentTheme`,void 0);function Pv(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var Fv=[`#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)`],Iv=[`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)`],Lv=[`#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)`],Rv=[`#f83aff`,`#00FF00`,`#787878`],zv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],Bv=[`#33ff33`,`#66ff66`,`#1a991a`],Vv=[`#ff246b`,`rgba(98, 196, 255, 1)`],Hv=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],Uv=[`#66ff66`,`#1a991a`],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 Nv{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=Fv,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.colors=this.changesChart?t===`tektronix`?Bv:t===`light`?zv:Rv:this.breakingChanges?t===`tektronix`?Uv:t===`light`?Hv:Vv:t===`tektronix`?Lv:t===`light`?Iv:Fv,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 Ev(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` - `}};Bv([A()],Vv.prototype,`title`,void 0),Bv([A()],Vv.prototype,`datasets`,void 0),Bv([A()],Vv.prototype,`labels`,void 0),Bv([A({type:Number})],Vv.prototype,`width`,void 0),Bv([A({type:Number})],Vv.prototype,`height`,void 0),Bv([A({type:Boolean})],Vv.prototype,`changesChart`,void 0),Bv([A({type:Boolean})],Vv.prototype,`showLegend`,void 0),Bv([A({type:Boolean})],Vv.prototype,`breakingChanges`,void 0),Vv=Bv([O(`pb33f-doughnut-chart`)],Vv);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},Uv=class extends kv{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 Sv(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` + `}};Wv([A()],Gv.prototype,`title`,void 0),Wv([A()],Gv.prototype,`datasets`,void 0),Wv([A()],Gv.prototype,`labels`,void 0),Wv([A({type:Number})],Gv.prototype,`width`,void 0),Wv([A({type:Number})],Gv.prototype,`height`,void 0),Wv([A({type:Boolean})],Gv.prototype,`changesChart`,void 0),Wv([A({type:Boolean})],Gv.prototype,`showLegend`,void 0),Wv([A({type:Boolean})],Gv.prototype,`breakingChanges`,void 0),Gv=Wv([O(`pb33f-doughnut-chart`)],Gv);var 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 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 Ev(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`
- `}};Uv.styles=k` + `}};qv.styles=k` :host { display: block; width: 100%; @@ -4883,7 +4955,7 @@ .chart-container { position: relative; width: 100%; - }`,Hv([A()],Uv.prototype,`title`,void 0),Hv([A()],Uv.prototype,`datasets`,void 0),Hv([A()],Uv.prototype,`labels`,void 0),Hv([A({type:Boolean})],Uv.prototype,`legend`,void 0),Hv([A({type:Boolean})],Uv.prototype,`smallTitle`,void 0),Hv([A({type:Number})],Uv.prototype,`height`,void 0),Hv([A({type:Number})],Uv.prototype,`width`,void 0),Hv([A({type:Number})],Uv.prototype,`stepSize`,void 0),Hv([A()],Uv.prototype,`chartType`,void 0),Uv=Hv([O(`pb33f-chart`)],Uv);var Wv=k` + }`,Kv([A()],qv.prototype,`title`,void 0),Kv([A()],qv.prototype,`datasets`,void 0),Kv([A()],qv.prototype,`labels`,void 0),Kv([A({type:Boolean})],qv.prototype,`legend`,void 0),Kv([A({type:Boolean})],qv.prototype,`smallTitle`,void 0),Kv([A({type:Number})],qv.prototype,`height`,void 0),Kv([A({type:Number})],qv.prototype,`width`,void 0),Kv([A({type:Number})],qv.prototype,`stepSize`,void 0),Kv([A()],qv.prototype,`chartType`,void 0),qv=Kv([O(`pb33f-chart`)],qv);var Jv=k` .timeline-item { display: flex; padding-top: 5px; @@ -5025,7 +5097,7 @@ } -`,Gv=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},Kv=class extends F{constructor(){super(),this.large=!1,this.selected=!1,this.hideScore=!1}render(){N``;let e=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.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` @@ -5081,7 +5153,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`}};Kv.styles=[Wv,Yn],Gv([A()],Kv.prototype,`specSummary`,void 0),Gv([A()],Kv.prototype,`large`,void 0),Gv([A()],Kv.prototype,`selected`,void 0),Gv([A({type:Boolean})],Kv.prototype,`hideScore`,void 0),Kv=Gv([O(`pb33f-spec-summary-timeline-item`)],Kv);var qv=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`}};Xv.styles=[Jv,Yn],Yv([A()],Xv.prototype,`specSummary`,void 0),Yv([A()],Xv.prototype,`large`,void 0),Yv([A()],Xv.prototype,`selected`,void 0),Yv([A({type:Boolean})],Xv.prototype,`hideScore`,void 0),Xv=Yv([O(`pb33f-spec-summary-timeline-item`)],Xv);var Zv=k` pb33f-timeline-item { width: 100%; @@ -5138,7 +5210,7 @@ } } -`,Jv=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.skinny=!1}render(){return 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 N`
@@ -5146,7 +5218,7 @@
- `}};Yv.styles=qv,Jv([A({type:Boolean})],Yv.prototype,`skinny`,void 0),Yv=Jv([O(`pb33f-timeline`)],Yv);var Xv=k` + `}};$v.styles=Zv,Qv([A({type:Boolean})],$v.prototype,`skinny`,void 0),$v=Qv([O(`pb33f-timeline`)],$v);var ey=k` :host { display: flex; position: relative; @@ -5254,7 +5326,7 @@ } -`,Zv=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.skinny=!1}render(){return this.skinny?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.skinny=!1}render(){return this.skinny?N`
@@ -5276,7 +5348,7 @@
-
`}};Qv.styles=Xv,Zv([A({type:Boolean})],Qv.prototype,`skinny`,void 0),Qv=Zv([O(`pb33f-timeline-item`)],Qv);var $v=k` +
`}};ny.styles=ey,ty([A({type:Boolean})],ny.prototype,`skinny`,void 0),ny=ty([O(`pb33f-timeline-item`)],ny);var ry=k` a, a:visited, a:active { text-decoration: none; color: var(--primary-color); @@ -5399,7 +5471,7 @@ to { opacity: 0; } - }`,ey=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},ty=class extends F{constructor(){super(),this.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,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=class extends F{constructor(){super(),this.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,this.fluid=!1}render(){return N`
`}};ty.styles=$v,ey([A()],ty.prototype,`name`,void 0),ey([A()],ty.prototype,`url`,void 0),ey([A({type:Boolean})],ty.prototype,`wide`,void 0),ey([A({type:Boolean})],ty.prototype,`fluid`,void 0),ty=ey([O(`pb33f-header`)],ty);var ny=k` + `}};ay.styles=ry,iy([A()],ay.prototype,`name`,void 0),iy([A()],ay.prototype,`url`,void 0),iy([A({type:Boolean})],ay.prototype,`wide`,void 0),iy([A({type:Boolean})],ay.prototype,`fluid`,void 0),ay=iy([O(`pb33f-header`)],ay);var oy=k` footer { padding: var(--footer-padding); width: 100vw; @@ -5433,11 +5505,11 @@ font-weight: normal; color: var(--font-color-sub2); } -`,ry=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},iy=`https://pb33f.io`,ay=`princess b33f heavy industries`,oy=class extends F{constructor(){super(),this.url=iy,this.linkTitle=ay,this.build=``,this.fluid=!1}render(){let e=this.linkTitle||`princess b33f heavy industries`;return N` +`,sy=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},cy=`https://pb33f.io`,ly=`princess b33f heavy industries`,uy=class extends F{constructor(){super(),this.url=cy,this.linkTitle=ly,this.build=``,this.fluid=!1}render(){let e=this.linkTitle||`princess b33f heavy industries`;return N`
${e} ${this.build?N`${this.build}`:``} -
`}};oy.styles=[ny,Oa],ry([A()],oy.prototype,`build`,void 0),ry([A()],oy.prototype,`url`,void 0),ry([A({attribute:`link-title`})],oy.prototype,`linkTitle`,void 0),ry([A({type:Boolean,reflect:!0})],oy.prototype,`fluid`,void 0),oy=ry([O(`pb33f-footer`)],oy);var sy=k` + `}};uy.styles=[oy,ja],sy([A()],uy.prototype,`build`,void 0),sy([A()],uy.prototype,`url`,void 0),sy([A({attribute:`link-title`})],uy.prototype,`linkTitle`,void 0),sy([A({type:Boolean,reflect:!0})],uy.prototype,`fluid`,void 0),uy=sy([O(`pb33f-footer`)],uy);var dy=k` :host { display: inline-flex; @@ -5455,7 +5527,7 @@ text-shadow: 0 0 8px rgba(51, 255, 51, 0.6); } -`,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},ly=`tektronix`,uy=`pb33f-theme`,dy=`pb33f-base-theme`,fy=class extends F{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?ly:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(uy);if(e===`tektronix`){this.tektronixActive=!0;let e=localStorage.getItem(dy);this.baseTheme=e===`light`?`light`:`dark`}else this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`;this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(uy,e),localStorage.setItem(dy,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` +`,fy=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},py=`tektronix`,my=`pb33f-theme`,hy=`pb33f-base-theme`,gy=class extends F{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?py:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(my);if(e===`tektronix`){this.tektronixActive=!0;let e=localStorage.getItem(hy);this.baseTheme=e===`light`?`light`:`dark`}else this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`;this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(my,e),localStorage.setItem(hy,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` - `}};fy.styles=[sy,Yn],cy([j()],fy.prototype,`baseTheme`,void 0),cy([j()],fy.prototype,`tektronixActive`,void 0),fy=cy([O(`pb33f-theme-switcher`)],fy);function py(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 my=k` + `}};gy.styles=[dy,Yn],fy([j()],gy.prototype,`baseTheme`,void 0),fy([j()],gy.prototype,`tektronixActive`,void 0),gy=fy([O(`pb33f-theme-switcher`)],gy);function _y(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 vy=k` :host { --http-get-color: var(--terminal-text); --http-get-border-color: var(--ok-color-lowalpha); @@ -5607,11 +5679,11 @@ --http-trace-color: #6b7280; --http-query-color: #2563eb; } -`,hy=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},gy={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},_y=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=gy[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},by={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},xy=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=by[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()} - `}};_y.styles=my,hy([A()],_y.prototype,`method`,void 0),hy([A({type:Boolean})],_y.prototype,`lower`,void 0),hy([A({type:Boolean})],_y.prototype,`large`,void 0),hy([A({type:Boolean})],_y.prototype,`tiny`,void 0),hy([A({type:Boolean})],_y.prototype,`micro`,void 0),hy([A({reflect:!0})],_y.prototype,`mode`,void 0),_y=hy([O(`pb33f-http-method`)],_y);var vy=k` + `}};xy.styles=vy,yy([A()],xy.prototype,`method`,void 0),yy([A({type:Boolean})],xy.prototype,`lower`,void 0),yy([A({type:Boolean})],xy.prototype,`large`,void 0),yy([A({type:Boolean})],xy.prototype,`tiny`,void 0),yy([A({type:Boolean})],xy.prototype,`micro`,void 0),yy([A({reflect:!0})],xy.prototype,`mode`,void 0),xy=yy([O(`pb33f-http-method`)],xy);var Sy=k` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5650,7 +5722,7 @@ .nowrap { display: inline-block; } -`,yy=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},by=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()}`}};by.styles=vy,yy([A()],by.prototype,`path`,void 0),yy([A({type:Boolean})],by.prototype,`nowrap`,void 0),by=yy([O(`pb33f-render-operation-path`)],by);var xy=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=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()}`}};wy.styles=Sy,Cy([A()],wy.prototype,`path`,void 0),Cy([A({type:Boolean})],wy.prototype,`nowrap`,void 0),wy=Cy([O(`pb33f-render-operation-path`)],wy);var Ty=k` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5742,7 +5814,7 @@ -`,Sy=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},Cy=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,wy=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,Ty=class extends F{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=Cy.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=wy.exec(n))!==null;){let e=Ey(wy.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(wy.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()}`}};Ty.styles=xy,Sy([A()],Ty.prototype,`path`,void 0),Sy([A({type:Boolean})],Ty.prototype,`selected`,void 0),Ty=Sy([O(`pb33f-render-json-path`)],Ty);function Ey(e,t){let n=``;for(let r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n}var Dy=k` +`,Ey=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},Dy=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,Oy=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,ky=class extends F{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=Dy.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=Oy.exec(n))!==null;){let e=Ay(Oy.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(Oy.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()}`}};ky.styles=Ty,Ey([A()],ky.prototype,`path`,void 0),Ey([A({type:Boolean})],ky.prototype,`selected`,void 0),ky=Ey([O(`pb33f-render-json-path`)],ky);function Ay(e,t){let n=``;for(let r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n}var jy=k` .change-card { border-bottom: 1px dashed var(--secondary-color-dimmer); background: var(--background-color); @@ -5933,7 +6005,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; } -`,Oy=[Dy,ws,k` +`,My=[jy,Os,k` :host { display: block; overflow: hidden; @@ -6102,11 +6174,11 @@ background: var(--secondary-color); color: var(--background-color); } -`],ky=10,Ay=500,jy=1,My=2,Ny=3,Py=4,Fy=5;function Iy(e,t,n,r,i,a=ky){let o=Ly(t),s=Ly(n);return(e||[]).map((e,t)=>{let n=Uy(e),c=Ky(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${Qy(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function Ly(e){if(!e)return[];let t=e.split(` -`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Ry(e){return{start:e,end:e}}function zy(e,t){if(t<=0||e.length===0||t>e.length)return{start:t,end:t};let n=t-1,r=ob(e[n]),i=n;for(let t=n-1;t>=0;t--){let n=e[t];if(!sb(n)&&ob(n)e.length)return{start:t,end:t};let n=t-1,r=Vy(e,n,n,ob(e[n]));return{start:t,end:Math.max(t,r+1)}}function Vy(e,t,n,r){let i=t;for(let a=t+1;ar)i=a;else break}for(;i>n&&sb(e[i]);)i--;if(i+10;){if(nb(e,n,r))return By(e,n);let t=rb(e,n,r);if(t>0)return By(e,t);let i=ib(e,n);if(i<=0||i===n)break;n=i}}return zy(e,t)}function Uy(e){let t=Jy(e),n=Yy(e);switch(e.change){case My:case Ny:return Wy(`Added Value`,`added`,n);case Py:case Fy:return Wy(`Removed Value`,`removed`,t);case jy:{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 Wy(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 Ky(e,t,n,r,i,a=ky){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=Zy(e);switch(e.change){case My:case Ny:c>0&&o.push(qy(`Modified Context`,`added`,n,i,Hy(n,c,e),a));break;case Py:case Fy:s>0&&o.push(qy(`Original Context`,`removed`,t,r,Hy(t,s,e),a));break;case jy:s>0&&o.push(qy(`Original Context`,`removed`,t,r,l?Hy(t,s,e):Ry(s),a)),c>0&&o.push(qy(`Modified Context`,`added`,n,i,l?Hy(n,c,e):Ry(c),a))}return o}function qy(e,t,n,r,i,a=ky){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 Jy(e){return e.originalEncoded?e.originalEncoded:Xy(e.original)}function Yy(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 Zy(e){return Jy(e).includes(` -`)||Yy(e).includes(` -`)}function Qy(e){switch(e){case My:case Ny:return`Added`;case Py:case Fy:return`Removed`;case jy:default:return`Modified`}}function $y(e){return e>=jy&&e<=Fy}function eb(e){let t=new Set,n=[],r=e=>{let r=tb(e);r&&!t.has(r)&&(t.add(r),n.push(r))};return r(e.property||``),r(Jy(e)),r(Yy(e)),n}function tb(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function nb(e,t,n){if(t<=0||t>e.length||n.length===0)return!1;let r=ab(e[t-1]);return r?n.includes(r):!1}function rb(e,t,n){if(t<=0||t>e.length||n.length===0)return 0;let r=t-1,i=ob(e[r]),a=-1;for(let t=r+1;te.length)return 0;let n=t-1,r=ob(e[n]);for(let t=n-1;t>=0;t--)if(!sb(e[t])&&ob(e[t])0?e.slice(0,n):e)}let n=t.indexOf(`:`);return n>0?tb(t.slice(0,n)):t[0]===`{`||t[0]===`}`||t[0]===`[`||t[0]===`]`?null:tb(t)}function ob(e){for(let t=0;t{let n=qy(e),c=Xy(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${nb(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function Vy(e){if(!e)return[];let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Hy(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=ub(e[n]),i=n;for(let t=n-1;t>=0;t--){let n=e[t];if(!db(n)&&ub(n)e.length)return{start:t,end:t};let n=t-1,r=Gy(e,n,n,ub(e[n]));return{start:t,end:Math.max(t,r+1)}}function Gy(e,t,n,r){let i=t;for(let a=t+1;ar)i=a;else break}for(;i>n&&db(e[i]);)i--;if(i+10;){if(ob(e,n,r))return Wy(e,n);let t=sb(e,n,r);if(t>0)return Wy(e,t);let i=cb(e,n);if(i<=0||i===n)break;n=i}}return Uy(e,t)}function qy(e){let t=Qy(e),n=$y(e);switch(e.change){case Iy:case Ly:return Jy(`Added Value`,`added`,n);case Ry:case zy:return Jy(`Removed Value`,`removed`,t);case Fy:{let e=[];return t&&e.push({title:`Original Value`,tone:`removed`,lines:Yy(t)}),n&&e.push({title:`Modified Value`,tone:`added`,lines:Yy(n)}),e}default:return[]}}function Jy(e,t,n){return n?[{title:e,tone:t,lines:Yy(n)}]:[]}function Yy(e){let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Xy(e,t,n,r,i,a=Ny){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=tb(e);switch(e.change){case Iy:case Ly:c>0&&o.push(Zy(`Modified Context`,`added`,n,i,Ky(n,c,e),a));break;case Ry:case zy:s>0&&o.push(Zy(`Original Context`,`removed`,t,r,Ky(t,s,e),a));break;case Fy:s>0&&o.push(Zy(`Original Context`,`removed`,t,r,l?Ky(t,s,e):Hy(s),a)),c>0&&o.push(Zy(`Modified Context`,`added`,n,i,l?Ky(n,c,e):Hy(c),a))}return o}function Zy(e,t,n,r,i,a=Ny){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 Qy(e){return e.originalEncoded?e.originalEncoded:eb(e.original)}function $y(e){return e.newEncoded?e.newEncoded:eb(e.new)}function eb(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 tb(e){return Qy(e).includes(` +`)||$y(e).includes(` +`)}function nb(e){switch(e){case Iy:case Ly:return`Added`;case Ry:case zy:return`Removed`;case Fy:default:return`Modified`}}function rb(e){return e>=Fy&&e<=zy}function ib(e){let t=new Set,n=[],r=e=>{let r=ab(e);r&&!t.has(r)&&(t.add(r),n.push(r))};return r(e.property||``),r(Qy(e)),r($y(e)),n}function ab(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function ob(e,t,n){if(t<=0||t>e.length||n.length===0)return!1;let r=lb(e[t-1]);return r?n.includes(r):!1}function sb(e,t,n){if(t<=0||t>e.length||n.length===0)return 0;let r=t-1,i=ub(e[r]),a=-1;for(let t=r+1;te.length)return 0;let n=t-1,r=ub(e[n]);for(let t=n-1;t>=0;t--)if(!db(e[t])&&ub(e[t])0?e.slice(0,n):e)}let n=t.indexOf(`:`);return n>0?ab(t.slice(0,n)):t[0]===`{`||t[0]===`}`||t[0]===`[`||t[0]===`]`?null:ab(t)}function ub(e){for(let t=0;tnull,pb=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=fb,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(),db(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=qs(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=qs(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 hb(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 gb=()=>null,_b=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=gb,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(),hb(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=Zs(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=Zs(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( @@ -6211,7 +6283,7 @@
- `}};pb.styles=[wn,ub],D([M(`.divider`)],pb.prototype,`divider`,2),D([A({type:Number,reflect:!0})],pb.prototype,`position`,2),D([A({attribute:`position-in-pixels`,type:Number})],pb.prototype,`positionInPixels`,2),D([A({type:Boolean,reflect:!0})],pb.prototype,`vertical`,2),D([A({type:Boolean,reflect:!0})],pb.prototype,`disabled`,2),D([A()],pb.prototype,`primary`,2),D([A({reflect:!0})],pb.prototype,`snap`,1),D([A({type:Number,attribute:`snap-threshold`})],pb.prototype,`snapThreshold`,2),D([I(`position`)],pb.prototype,`handlePositionChange`,1),D([I(`positionInPixels`)],pb.prototype,`handlePositionInPixelsChange`,1),D([I(`vertical`)],pb.prototype,`handleVerticalChange`,1),pb.define(`sl-split-panel`);var mb=k` + `}};_b.styles=[wn,mb],D([M(`.divider`)],_b.prototype,`divider`,2),D([A({type:Number,reflect:!0})],_b.prototype,`position`,2),D([A({attribute:`position-in-pixels`,type:Number})],_b.prototype,`positionInPixels`,2),D([A({type:Boolean,reflect:!0})],_b.prototype,`vertical`,2),D([A({type:Boolean,reflect:!0})],_b.prototype,`disabled`,2),D([A()],_b.prototype,`primary`,2),D([A({reflect:!0})],_b.prototype,`snap`,1),D([A({type:Number,attribute:`snap-threshold`})],_b.prototype,`snapThreshold`,2),D([I(`position`)],_b.prototype,`handlePositionChange`,1),D([I(`positionInPixels`)],_b.prototype,`handlePositionInPixelsChange`,1),D([I(`vertical`)],_b.prototype,`handleVerticalChange`,1),_b.define(`sl-split-panel`);var vb=k` :host { display: block; } @@ -6243,7 +6315,7 @@ white-space: nowrap; border: 0; } -`,hb=k` +`,yb=k` :host { display: inline-block; } @@ -6252,7 +6324,7 @@ display: flex; flex-wrap: nowrap; } -`,gb=class extends L{constructor(){super(...arguments),this.disableRole=!1,this.label=``}handleFocus(e){_b(e.target)?.toggleAttribute(`data-sl-button-group__button--focus`,!0)}handleBlur(e){_b(e.target)?.toggleAttribute(`data-sl-button-group__button--focus`,!1)}handleMouseOver(e){_b(e.target)?.toggleAttribute(`data-sl-button-group__button--hover`,!0)}handleMouseOut(e){_b(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=_b(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=xb(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
- `}};gb.styles=[wn,hb],D([M(`slot`)],gb.prototype,`defaultSlot`,2),D([j()],gb.prototype,`disableRole`,2),D([A()],gb.prototype,`label`,2);function _b(e){let t=`sl-button, sl-radio-button`;return e.closest(t)??e.querySelector(t)}var vb=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(){customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)?this.syncRadioElements():(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` + `}};bb.styles=[wn,yb],D([M(`slot`)],bb.prototype,`defaultSlot`,2),D([j()],bb.prototype,`disableRole`,2),D([A()],bb.prototype,`label`,2);function xb(e){let t=`sl-button, sl-radio-button`;return e.closest(t)??e.querySelector(t)}var Sb=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(){customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)?this.syncRadioElements():(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}
- `}};vb.styles=[wn,en,mb],vb.dependencies={"sl-button-group":gb},D([M(`slot:not([name])`)],vb.prototype,`defaultSlot`,2),D([M(`.radio-group__validation-input`)],vb.prototype,`validationInput`,2),D([j()],vb.prototype,`hasButtonGroup`,2),D([j()],vb.prototype,`errorMessage`,2),D([j()],vb.prototype,`defaultValue`,2),D([A()],vb.prototype,`label`,2),D([A({attribute:`help-text`})],vb.prototype,`helpText`,2),D([A()],vb.prototype,`name`,2),D([A({reflect:!0})],vb.prototype,`value`,2),D([A({reflect:!0})],vb.prototype,`size`,2),D([A({reflect:!0})],vb.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],vb.prototype,`required`,2),D([I(`size`,{waitUntilFirstUpdate:!0})],vb.prototype,`handleSizeChange`,1),D([I(`value`)],vb.prototype,`handleValueChange`,1),vb.define(`sl-radio-group`);var yb=k` + `}};Sb.styles=[wn,en,vb],Sb.dependencies={"sl-button-group":bb},D([M(`slot:not([name])`)],Sb.prototype,`defaultSlot`,2),D([M(`.radio-group__validation-input`)],Sb.prototype,`validationInput`,2),D([j()],Sb.prototype,`hasButtonGroup`,2),D([j()],Sb.prototype,`errorMessage`,2),D([j()],Sb.prototype,`defaultValue`,2),D([A()],Sb.prototype,`label`,2),D([A({attribute:`help-text`})],Sb.prototype,`helpText`,2),D([A()],Sb.prototype,`name`,2),D([A({reflect:!0})],Sb.prototype,`value`,2),D([A({reflect:!0})],Sb.prototype,`size`,2),D([A({reflect:!0})],Sb.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],Sb.prototype,`required`,2),D([I(`size`,{waitUntilFirstUpdate:!0})],Sb.prototype,`handleSizeChange`,1),D([I(`value`)],Sb.prototype,`handleValueChange`,1),Sb.define(`sl-radio-group`);var Cb=k` :host { display: inline-block; position: relative; @@ -6910,8 +6982,8 @@ :host([data-sl-button-group__button][checked]) { z-index: 2; } -`,bb=k` - ${yb} +`,wb=k` + ${Cb} .button__prefix, .button__suffix, @@ -6934,7 +7006,7 @@ opacity: 0; z-index: -1; } -`,xb=Symbol.for(``),Sb=e=>{if(e?.r===xb)return e?._$litStatic$},Cb=(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:xb}),wb=new Map,Tb=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l{if(e?.r===Tb)return e?._$litStatic$},Db=(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:Tb}),Ob=new Map,kb=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l - `}};Eb.styles=[wn,bb],D([M(`.button`)],Eb.prototype,`input`,2),D([M(`.hidden-input`)],Eb.prototype,`hiddenInput`,2),D([j()],Eb.prototype,`hasFocus`,2),D([A({type:Boolean,reflect:!0})],Eb.prototype,`checked`,2),D([A()],Eb.prototype,`value`,2),D([A({type:Boolean,reflect:!0})],Eb.prototype,`disabled`,2),D([A({reflect:!0})],Eb.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Eb.prototype,`pill`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Eb.prototype,`handleDisabledChange`,1),Eb.define(`sl-radio-button`);var Db=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=Object.freeze({type:`spacer`,content:``}),kb=20,Ab=20,jb=`pb33f-diff-view-mode`;function Mb(e){return e===`side-by-side`||e===`unified`}var Nb=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 ls.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(jb);Mb(e)&&(this.viewMode=e)}catch{}}setViewMode(e){this.viewMode=e;try{localStorage.setItem(jb,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(Ob),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(Ob),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*kb}px`,c.style.height=`${(i-r)*kb}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*kb-i/2+kb/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` + `}};Ab.styles=[wn,wb],D([M(`.button`)],Ab.prototype,`input`,2),D([M(`.hidden-input`)],Ab.prototype,`hiddenInput`,2),D([j()],Ab.prototype,`hasFocus`,2),D([A({type:Boolean,reflect:!0})],Ab.prototype,`checked`,2),D([A()],Ab.prototype,`value`,2),D([A({type:Boolean,reflect:!0})],Ab.prototype,`disabled`,2),D([A({reflect:!0})],Ab.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],Ab.prototype,`pill`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Ab.prototype,`handleDisabledChange`,1),Ab.define(`sl-radio-button`);var jb=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},Mb=Object.freeze({type:`spacer`,content:``}),Nb=20,Pb=20,Fb=`pb33f-diff-view-mode`;function Ib(e){return e===`side-by-side`||e===`unified`}var Lb=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 ps.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(Fb);Ib(e)&&(this.viewMode=e)}catch{}}setViewMode(e){this.viewMode=e;try{localStorage.setItem(Fb,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(Mb),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(Mb),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*Nb}px`,c.style.height=`${(i-r)*Nb}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*Nb-i/2+Nb/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=Iy(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=By(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` @@ -7052,7 +7124,7 @@
- `}};Nb.styles=Oy,Db([A()],Nb.prototype,`originalSpec`,void 0),Db([A()],Nb.prototype,`modifiedSpec`,void 0),Db([A({type:Object})],Nb.prototype,`originalHighlighted`,void 0),Db([A({type:Object})],Nb.prototype,`modifiedHighlighted`,void 0),Db([A({type:Array})],Nb.prototype,`selectedChanges`,void 0),Db([j()],Nb.prototype,`contentMode`,void 0),Db([j()],Nb.prototype,`viewMode`,void 0),Nb=Db([O(`pb33f-diff-viewer`)],Nb);var Pb=k` + `}};Lb.styles=My,jb([A()],Lb.prototype,`originalSpec`,void 0),jb([A()],Lb.prototype,`modifiedSpec`,void 0),jb([A({type:Object})],Lb.prototype,`originalHighlighted`,void 0),jb([A({type:Object})],Lb.prototype,`modifiedHighlighted`,void 0),jb([A({type:Array})],Lb.prototype,`selectedChanges`,void 0),jb([j()],Lb.prototype,`contentMode`,void 0),jb([j()],Lb.prototype,`viewMode`,void 0),Lb=jb([O(`pb33f-diff-viewer`)],Lb);var Rb=k` :host { display: block; } @@ -7079,7 +7151,7 @@ .change-card { padding-bottom: var(--global-padding); } -`,Fb=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},Ib=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=Iy(this.changes,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{},this.compact?5:void 0),this._cachedSections):[]:this._cachedSections}renderValueBlock(e){return N` +`,zb=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},Bb=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=By(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}
`}
@@ -7123,7 +7195,7 @@ `})}
- `:P}};Ib.styles=[Dy,Pb],Fb([A({type:Array})],Ib.prototype,`changes`,void 0),Fb([A()],Ib.prototype,`originalSpec`,void 0),Fb([A()],Ib.prototype,`modifiedSpec`,void 0),Fb([A({type:Object})],Ib.prototype,`originalHighlighted`,void 0),Fb([A({type:Object})],Ib.prototype,`modifiedHighlighted`,void 0),Fb([A({type:Boolean})],Ib.prototype,`compact`,void 0),Ib=Fb([O(`pb33f-focused-diff-panel`)],Ib);var Lb=[ws,k` + `:P}};Bb.styles=[jy,Rb],zb([A({type:Array})],Bb.prototype,`changes`,void 0),zb([A()],Bb.prototype,`originalSpec`,void 0),zb([A()],Bb.prototype,`modifiedSpec`,void 0),zb([A({type:Object})],Bb.prototype,`originalHighlighted`,void 0),zb([A({type:Object})],Bb.prototype,`modifiedHighlighted`,void 0),zb([A({type:Boolean})],Bb.prototype,`compact`,void 0),Bb=zb([O(`pb33f-focused-diff-panel`)],Bb);var Vb=[Os,k` :host { display: flex; flex-direction: column; @@ -7943,7 +8015,7 @@ padding-bottom: var(--global-padding); border-bottom: 1px dashed var(--hrcolor); } -`];function Rb(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 zb=k` +`];function Hb(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 Ub=k` :host { --indicator-color: var(--sl-color-primary-600); --track-color: var(--sl-color-neutral-200); @@ -8177,11 +8249,11 @@ .tab-group--end ::slotted(sl-tab-panel) { --padding: 0 var(--sl-spacing-medium); } -`,Bb=k` +`,Wb=k` :host { display: contents; } -`,Vb=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` `}};Vb.styles=[wn,Bb],D([A({type:Boolean,reflect:!0})],Vb.prototype,`disabled`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Vb.prototype,`handleDisabledChange`,1);function Hb(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function Ub(e,t,n=`vertical`,r=`smooth`){let i=Hb(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 Wb=k` +`,Gb=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` `}};Gb.styles=[wn,Wb],D([A({type:Boolean,reflect:!0})],Gb.prototype,`disabled`,2),D([I(`disabled`,{waitUntilFirstUpdate:!0})],Gb.prototype,`handleDisabledChange`,1);function Kb(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function qb(e,t,n=`vertical`,r=`smooth`){let i=Kb(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 Jb=k` :host { display: inline-block; color: var(--sl-color-neutral-600); @@ -8228,7 +8300,7 @@ .icon-button__icon { pointer-events: none; } -`,Gb=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?Cb`a`:Cb`button`;return Tb` +`,Yb=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?Db`a`:Db`button`;return kb` <${t} part="base" class=${En({"icon-button":!0,"icon-button--disabled":!e&&this.disabled,"icon-button--focused":this.hasFocus})} @@ -8254,7 +8326,7 @@ aria-hidden="true" > - `}};Gb.styles=[wn,Wb],Gb.dependencies={"sl-icon":cs},D([M(`.icon-button`)],Gb.prototype,`button`,2),D([j()],Gb.prototype,`hasFocus`,2),D([A()],Gb.prototype,`name`,2),D([A()],Gb.prototype,`library`,2),D([A()],Gb.prototype,`src`,2),D([A()],Gb.prototype,`href`,2),D([A()],Gb.prototype,`target`,2),D([A()],Gb.prototype,`download`,2),D([A()],Gb.prototype,`label`,2),D([A({type:Boolean,reflect:!0})],Gb.prototype,`disabled`,2);var Kb=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)&&Ub(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)&&Ub(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`}}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.hasScrollControls=!this.noScrollControls&&[`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` + `}};Yb.styles=[wn,Jb],Yb.dependencies={"sl-icon":fs},D([M(`.icon-button`)],Yb.prototype,`button`,2),D([j()],Yb.prototype,`hasFocus`,2),D([A()],Yb.prototype,`name`,2),D([A()],Yb.prototype,`library`,2),D([A()],Yb.prototype,`src`,2),D([A()],Yb.prototype,`href`,2),D([A()],Yb.prototype,`target`,2),D([A()],Yb.prototype,`download`,2),D([A()],Yb.prototype,`label`,2),D([A({type:Boolean,reflect:!0})],Yb.prototype,`disabled`,2);var Xb=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)&&qb(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)&&qb(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`}}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.hasScrollControls=!this.noScrollControls&&[`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,zb],Kb.dependencies={"sl-icon-button":Gb,"sl-resize-observer":Vb},D([M(`.tab-group`)],Kb.prototype,`tabGroup`,2),D([M(`.tab-group__body`)],Kb.prototype,`body`,2),D([M(`.tab-group__nav`)],Kb.prototype,`nav`,2),D([M(`.tab-group__indicator`)],Kb.prototype,`indicator`,2),D([j()],Kb.prototype,`hasScrollControls`,2),D([j()],Kb.prototype,`shouldHideScrollStartButton`,2),D([j()],Kb.prototype,`shouldHideScrollEndButton`,2),D([A()],Kb.prototype,`placement`,2),D([A()],Kb.prototype,`activation`,2),D([A({attribute:`no-scroll-controls`,type:Boolean})],Kb.prototype,`noScrollControls`,2),D([A({attribute:`fixed-scroll-controls`,type:Boolean})],Kb.prototype,`fixedScrollControls`,2),D([Le({passive:!0})],Kb.prototype,`updateScrollButtons`,1),D([I(`noScrollControls`,{waitUntilFirstUpdate:!0})],Kb.prototype,`updateScrollControls`,1),D([I(`placement`,{waitUntilFirstUpdate:!0})],Kb.prototype,`syncIndicator`,1),Kb.define(`sl-tab-group`);var qb=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},Jb=(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),Jb(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=qb(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),Jb(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` + `}};Xb.styles=[wn,Ub],Xb.dependencies={"sl-icon-button":Yb,"sl-resize-observer":Gb},D([M(`.tab-group`)],Xb.prototype,`tabGroup`,2),D([M(`.tab-group__body`)],Xb.prototype,`body`,2),D([M(`.tab-group__nav`)],Xb.prototype,`nav`,2),D([M(`.tab-group__indicator`)],Xb.prototype,`indicator`,2),D([j()],Xb.prototype,`hasScrollControls`,2),D([j()],Xb.prototype,`shouldHideScrollStartButton`,2),D([j()],Xb.prototype,`shouldHideScrollEndButton`,2),D([A()],Xb.prototype,`placement`,2),D([A()],Xb.prototype,`activation`,2),D([A({attribute:`no-scroll-controls`,type:Boolean})],Xb.prototype,`noScrollControls`,2),D([A({attribute:`fixed-scroll-controls`,type:Boolean})],Xb.prototype,`fixedScrollControls`,2),D([Le({passive:!0})],Xb.prototype,`updateScrollButtons`,1),D([I(`noScrollControls`,{waitUntilFirstUpdate:!0})],Xb.prototype,`updateScrollControls`,1),D([I(`placement`,{waitUntilFirstUpdate:!0})],Xb.prototype,`syncIndicator`,1),Xb.define(`sl-tab-group`);var Zb=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},Qb=(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),Qb(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=Zb(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),Qb(EventTarget.prototype,`removeEventListener`,function(e,n){if(n!==`scrollend`)return;let r=t.get(this);r&&e.call(this,`scroll`,r,{passive:!0})})}})();var $b=k` :host { --padding: 0; @@ -8317,12 +8389,12 @@ display: block; padding: var(--padding); } -`,Xb=0,Zb=class extends L{constructor(){super(...arguments),this.attrId=++Xb,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` +`,ex=0,tx=class extends L{constructor(){super(...arguments),this.attrId=++ex,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.styles=[wn,Yb],D([A({reflect:!0})],Zb.prototype,`name`,2),D([A({type:Boolean,reflect:!0})],Zb.prototype,`active`,2),D([I(`active`)],Zb.prototype,`handleActiveChange`,1),Zb.define(`sl-tab-panel`);var Qb=k` + `}};tx.styles=[wn,$b],D([A({reflect:!0})],tx.prototype,`name`,2),D([A({type:Boolean,reflect:!0})],tx.prototype,`active`,2),D([I(`active`)],tx.prototype,`handleActiveChange`,1),tx.define(`sl-tab-panel`);var nx=k` :host { display: inline-block; } @@ -8387,7 +8459,7 @@ outline-offset: -3px; } } -`,$b=0,ex=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.attrId=++$b,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.tabIndex=this.disabled&&!this.active?-1:0}render(){return this.id=this.id.length>0?this.id:this.componentId,N` +`,rx=0,ix=class extends L{constructor(){super(...arguments),this.localize=new Cn(this),this.attrId=++rx,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.tabIndex=this.disabled&&!this.active?-1:0}render(){return this.id=this.id.length>0?this.id:this.componentId,N`
`:``}
- `}};ex.styles=[wn,Qb],ex.dependencies={"sl-icon-button":Gb},D([M(`.tab`)],ex.prototype,`tab`,2),D([A({reflect:!0})],ex.prototype,`panel`,2),D([A({type:Boolean,reflect:!0})],ex.prototype,`active`,2),D([A({type:Boolean,reflect:!0})],ex.prototype,`closable`,2),D([A({type:Boolean,reflect:!0})],ex.prototype,`disabled`,2),D([A({type:Number,reflect:!0})],ex.prototype,`tabIndex`,2),D([I(`active`)],ex.prototype,`handleActiveChange`,1),D([I(`disabled`)],ex.prototype,`handleDisabledChange`,1),ex.define(`sl-tab`);var tx=k` + `}};ix.styles=[wn,nx],ix.dependencies={"sl-icon-button":Yb},D([M(`.tab`)],ix.prototype,`tab`,2),D([A({reflect:!0})],ix.prototype,`panel`,2),D([A({type:Boolean,reflect:!0})],ix.prototype,`active`,2),D([A({type:Boolean,reflect:!0})],ix.prototype,`closable`,2),D([A({type:Boolean,reflect:!0})],ix.prototype,`disabled`,2),D([A({type:Number,reflect:!0})],ix.prototype,`tabIndex`,2),D([I(`active`)],ix.prototype,`handleActiveChange`,1),D([I(`disabled`)],ix.prototype,`handleDisabledChange`,1),ix.define(`sl-tab`);var ax=k` :host { --max-width: 20rem; --hide-delay: 0ms; @@ -8458,7 +8530,7 @@ user-select: none; -webkit-user-select: none; } -`;function nx(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var rx=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=zs(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=zs(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 Vs(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=Ls(this,`tooltip.show`,{dir:this.localize.dir()});await Rs(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 Vs(this.body);let{keyframes:e,options:n}=Ls(this,`tooltip.hide`,{dir:this.localize.dir()});await Rs(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,nx(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,nx(this,`sl-after-hide`)}render(){return N` +`;function ox(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var sx=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=Us(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=Us(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 Gs(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=Vs(this,`tooltip.show`,{dir:this.localize.dir()});await Hs(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 Gs(this.body);let{keyframes:e,options:n}=Vs(this,`tooltip.hide`,{dir:this.localize.dir()});await Hs(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,ox(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,ox(this,`sl-after-hide`)}render(){return N` ${this.content}
- `}};rx.styles=[wn,tx],rx.dependencies={"sl-popup":z},D([M(`slot:not([name])`)],rx.prototype,`defaultSlot`,2),D([M(`.tooltip__body`)],rx.prototype,`body`,2),D([M(`sl-popup`)],rx.prototype,`popup`,2),D([A()],rx.prototype,`content`,2),D([A()],rx.prototype,`placement`,2),D([A({type:Boolean,reflect:!0})],rx.prototype,`disabled`,2),D([A({type:Number})],rx.prototype,`distance`,2),D([A({type:Boolean,reflect:!0})],rx.prototype,`open`,2),D([A({type:Number})],rx.prototype,`skidding`,2),D([A()],rx.prototype,`trigger`,2),D([A({type:Boolean})],rx.prototype,`hoist`,2),D([I(`open`,{waitUntilFirstUpdate:!0})],rx.prototype,`handleOpenChange`,1),D([I([`content`,`distance`,`hoist`,`placement`,`skidding`])],rx.prototype,`handleOptionsChange`,1),D([I(`disabled`)],rx.prototype,`handleDisabledChange`,1),Is(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),Is(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),rx.define(`sl-tooltip`);var ix=[{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`}],ax=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}=ix.find(e=>Math.abs(n)this.requestUpdate(),e)}return N` `}};D([j()],ax.prototype,`isoTime`,2),D([j()],ax.prototype,`relativeTime`,2),D([A()],ax.prototype,`date`,2),D([A()],ax.prototype,`format`,2),D([A()],ax.prototype,`numeric`,2),D([A({type:Boolean})],ax.prototype,`sync`,2);function ox(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}ax.define(`sl-relative-time`);var sx=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})],sx.prototype,`value`,2),D([A()],sx.prototype,`type`,2),D([A({attribute:`no-grouping`,type:Boolean})],sx.prototype,`noGrouping`,2),D([A()],sx.prototype,`currency`,2),D([A({attribute:`currency-display`})],sx.prototype,`currencyDisplay`,2),D([A({attribute:`minimum-integer-digits`,type:Number})],sx.prototype,`minimumIntegerDigits`,2),D([A({attribute:`minimum-fraction-digits`,type:Number})],sx.prototype,`minimumFractionDigits`,2),D([A({attribute:`maximum-fraction-digits`,type:Number})],sx.prototype,`maximumFractionDigits`,2),D([A({attribute:`minimum-significant-digits`,type:Number})],sx.prototype,`minimumSignificantDigits`,2),D([A({attribute:`maximum-significant-digits`,type:Number})],sx.prototype,`maximumSignificantDigits`,2),sx.define(`sl-format-number`),Gb.define(`sl-icon-button`);var cx=k` + `}};sx.styles=[wn,ax],sx.dependencies={"sl-popup":z},D([M(`slot:not([name])`)],sx.prototype,`defaultSlot`,2),D([M(`.tooltip__body`)],sx.prototype,`body`,2),D([M(`sl-popup`)],sx.prototype,`popup`,2),D([A()],sx.prototype,`content`,2),D([A()],sx.prototype,`placement`,2),D([A({type:Boolean,reflect:!0})],sx.prototype,`disabled`,2),D([A({type:Number})],sx.prototype,`distance`,2),D([A({type:Boolean,reflect:!0})],sx.prototype,`open`,2),D([A({type:Number})],sx.prototype,`skidding`,2),D([A()],sx.prototype,`trigger`,2),D([A({type:Boolean})],sx.prototype,`hoist`,2),D([I(`open`,{waitUntilFirstUpdate:!0})],sx.prototype,`handleOpenChange`,1),D([I([`content`,`distance`,`hoist`,`placement`,`skidding`])],sx.prototype,`handleOptionsChange`,1),D([I(`disabled`)],sx.prototype,`handleDisabledChange`,1),Bs(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),Bs(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),sx.define(`sl-tooltip`);var cx=[{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`}],lx=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}=cx.find(e=>Math.abs(n)this.requestUpdate(),e)}return N` `}};D([j()],lx.prototype,`isoTime`,2),D([j()],lx.prototype,`relativeTime`,2),D([A()],lx.prototype,`date`,2),D([A()],lx.prototype,`format`,2),D([A()],lx.prototype,`numeric`,2),D([A({type:Boolean})],lx.prototype,`sync`,2);function ux(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}lx.define(`sl-relative-time`);var dx=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})],dx.prototype,`value`,2),D([A()],dx.prototype,`type`,2),D([A({attribute:`no-grouping`,type:Boolean})],dx.prototype,`noGrouping`,2),D([A()],dx.prototype,`currency`,2),D([A({attribute:`currency-display`})],dx.prototype,`currencyDisplay`,2),D([A({attribute:`minimum-integer-digits`,type:Number})],dx.prototype,`minimumIntegerDigits`,2),D([A({attribute:`minimum-fraction-digits`,type:Number})],dx.prototype,`minimumFractionDigits`,2),D([A({attribute:`maximum-fraction-digits`,type:Number})],dx.prototype,`maximumFractionDigits`,2),D([A({attribute:`minimum-significant-digits`,type:Number})],dx.prototype,`minimumSignificantDigits`,2),D([A({attribute:`maximum-significant-digits`,type:Number})],dx.prototype,`maximumSignificantDigits`,2),dx.define(`sl-format-number`),Yb.define(`sl-icon-button`);var fx=k` :host { display: inline-block; } @@ -8596,7 +8668,7 @@ .tag--pill { border-radius: var(--sl-border-radius-pill); } -`,lx=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` +`,px=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` `:``} - `}};lx.styles=[wn,cx],lx.dependencies={"sl-icon-button":Gb},D([A({reflect:!0})],lx.prototype,`variant`,2),D([A({reflect:!0})],lx.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],lx.prototype,`pill`,2),D([A({type:Boolean})],lx.prototype,`removable`,2),lx.define(`sl-tag`);var ux=k` + `}};px.styles=[wn,fx],px.dependencies={"sl-icon-button":Yb},D([A({reflect:!0})],px.prototype,`variant`,2),D([A({reflect:!0})],px.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],px.prototype,`pill`,2),D([A({type:Boolean})],px.prototype,`removable`,2),px.define(`sl-tag`);var mx=k` :host { display: block; } @@ -9009,7 +9081,7 @@ ${this.helpText} - `}};Q.styles=[wn,en,ux],Q.dependencies={"sl-icon":cs},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()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?Cb`a`:Cb`button`;return Tb` + `}};Q.styles=[wn,en,mx],Q.dependencies={"sl-icon":fs},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()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?Db`a`:Db`button`;return kb` <${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`)})} @@ -9033,10 +9105,10 @@ - ${this.caret?Tb` `:``} - ${this.loading?Tb``:``} + ${this.caret?kb` `:``} + ${this.loading?kb``:``} - `}};$.styles=[wn,yb],$.dependencies={"sl-icon":cs,"sl-spinner":js},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 dx=k` + `}};$.styles=[wn,Cb],$.dependencies={"sl-icon":fs,"sl-spinner":Fs},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 hx=k` :host { display: inline-block; } @@ -9201,7 +9273,7 @@ background-color: ButtonText; } } -`,fx=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` +`,gx=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`
@@ -9247,7 +9319,7 @@ ${this.helpText}
- `}};fx.styles=[wn,en,dx],D([M(`input[type="checkbox"]`)],fx.prototype,`input`,2),D([j()],fx.prototype,`hasFocus`,2),D([A()],fx.prototype,`title`,2),D([A()],fx.prototype,`name`,2),D([A()],fx.prototype,`value`,2),D([A({reflect:!0})],fx.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],fx.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],fx.prototype,`checked`,2),D([$t(`checked`)],fx.prototype,`defaultChecked`,2),D([A({reflect:!0})],fx.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],fx.prototype,`required`,2),D([A({attribute:`help-text`})],fx.prototype,`helpText`,2),D([I(`checked`,{waitUntilFirstUpdate:!0})],fx.prototype,`handleCheckedChange`,1),D([I(`disabled`,{waitUntilFirstUpdate:!0})],fx.prototype,`handleDisabledChange`,1),fx.define(`sl-switch`);var px=[`MODIFIED`,`ADDED`,`REMOVED`],mx=[`BREAKING`,`NON-BREAKING`],hx={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function gx(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function _x(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 vx=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=Lb}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=hx[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`,..._x(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>gx(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,_x(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:px,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:mx,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` + `}};gx.styles=[wn,en,hx],D([M(`input[type="checkbox"]`)],gx.prototype,`input`,2),D([j()],gx.prototype,`hasFocus`,2),D([A()],gx.prototype,`title`,2),D([A()],gx.prototype,`name`,2),D([A()],gx.prototype,`value`,2),D([A({reflect:!0})],gx.prototype,`size`,2),D([A({type:Boolean,reflect:!0})],gx.prototype,`disabled`,2),D([A({type:Boolean,reflect:!0})],gx.prototype,`checked`,2),D([$t(`checked`)],gx.prototype,`defaultChecked`,2),D([A({reflect:!0})],gx.prototype,`form`,2),D([A({type:Boolean,reflect:!0})],gx.prototype,`required`,2),D([A({attribute:`help-text`})],gx.prototype,`helpText`,2),D([I(`checked`,{waitUntilFirstUpdate:!0})],gx.prototype,`handleCheckedChange`,1),D([I(`disabled`,{waitUntilFirstUpdate:!0})],gx.prototype,`handleDisabledChange`,1),gx.define(`sl-switch`);var _x=[`MODIFIED`,`ADDED`,`REMOVED`],vx=[`BREAKING`,`NON-BREAKING`],yx={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function bx(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function xx(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 Sx=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=Vb}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=yx[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`,...xx(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>bx(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,xx(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:_x,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:vx,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` - `}};si.styles=[vte],si=yte([Ct(`pb33f-explorer-key`)],si);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},li;(function(e){e.NodeNodeBetweenLayers=`nodeNodeBetweenLayers`,e.NodeNode=`nodeNode`,e.EdgeNodeBetweenLayers=`edgeNodeBetweenLayers`,e.EdgeNode=`edgeNode`})(li||={});var bte=1e4,ui=class extends oi{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=bte,this.initialized=!1,this._inPovMode=!1,this.renderEqualizer=!0,this.controls=new ri,this.keyComponent=new si,this.controls.searchComponent.graphResponse=this.graphResponse,this.equalizerOpen=!1,this.keyOpen=!1,this.equalizerWorker=new ii,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(On,this.boundOpenEqualizer),this.controls.addEventListener(kn,this.boundCloseEqualizer),this.addEventListener(An,this.boundOpenKey),this.addEventListener(jn,this.boundCloseKey),this.controls.addEventListener(In,this.boundExitPovMode),this.controls.addEventListener(Ln,this.boundHandleAncestorToggle),this.firstBoot=!0}disconnectedCallback(){super.disconnectedCallback(),this.equalizerWorker.removeEventListener(`message`,this.boundHandleEQResult),this.equalizerWorker.terminate(),this.controls.removeEventListener(On,this.boundOpenEqualizer),this.controls.removeEventListener(kn,this.boundCloseEqualizer),this.removeEventListener(An,this.boundOpenKey),this.removeEventListener(jn,this.boundCloseKey),this.controls.removeEventListener(In,this.boundExitPovMode),this.controls.removeEventListener(Ln,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(Nn,{bubbles:!0,composed:!0,detail:{graph:t,spacing:t.spacing,povMode:!0,povNodeId:e.data.povNodeId}}))}else{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(Nn,{bubbles:!0,composed:!0,detail:t}))}this.initialized||=!0,(this.firstBoot||e.data.rebuild)&&(this.dispatchEvent(new CustomEvent(Mn,{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(Sn,{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 li.NodeNodeBetweenLayers:this.nodeNodeBetweenLayers=n;break;case li.NodeNode:this.nodeNode=n;break;case li.EdgeNodeBetweenLayers:this.edgeNodeBetweenLayers=n;break;case li.EdgeNode:this.edgeNode=n}}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=[yte],oi=bte([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 xte=1e4,li=class extends ai{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=xte,this.initialized=!1,this._inPovMode=!1,this.renderEqualizer=!0,this.controls=new ni,this.keyComponent=new oi,this.controls.searchComponent.graphResponse=this.graphResponse,this.equalizerOpen=!1,this.keyOpen=!1,this.equalizerWorker=new ri,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(kn,this.boundOpenEqualizer),this.controls.addEventListener(An,this.boundCloseEqualizer),this.addEventListener(jn,this.boundOpenKey),this.addEventListener(Mn,this.boundCloseKey),this.controls.addEventListener(Ln,this.boundExitPovMode),this.controls.addEventListener(Rn,this.boundHandleAncestorToggle),this.firstBoot=!0}disconnectedCallback(){super.disconnectedCallback(),this.equalizerWorker.removeEventListener(`message`,this.boundHandleEQResult),this.equalizerWorker.terminate(),this.controls.removeEventListener(kn,this.boundOpenEqualizer),this.controls.removeEventListener(An,this.boundCloseEqualizer),this.removeEventListener(jn,this.boundOpenKey),this.removeEventListener(Mn,this.boundCloseKey),this.controls.removeEventListener(Ln,this.boundExitPovMode),this.controls.removeEventListener(Rn,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(Pn,{bubbles:!0,composed:!0,detail:{graph:t,spacing:t.spacing,povMode:!0,povNodeId:e.data.povNodeId}}))}else{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(Pn,{bubbles:!0,composed:!0,detail:t}))}this.initialized||=!0,(this.firstBoot||e.data.rebuild)&&(this.dispatchEvent(new CustomEvent(Nn,{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(Cn,{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}}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

@@ -2492,15 +2494,15 @@
- ${this.nodeNodeBetweenLayers}
- ${this.nodeNode} @@ -2508,15 +2510,15 @@
- ${this.edgeNodeBetweenLayers}
- ${this.edgeNode} @@ -2552,7 +2554,7 @@ ${this.equalizerOpen?this.equalizer():null} ${this.keyOpen?this.key():null}
- `}};ui.styles=[xn,ai,zn,ti],ci([Ot(`form`)],ui.prototype,`form`,void 0),ci([wt({type:Number})],ui.prototype,`nodeNodeBetweenLayers`,void 0),ci([wt({type:Number})],ui.prototype,`nodeNode`,void 0),ci([wt({type:Number})],ui.prototype,`edgeNodeBetweenLayers`,void 0),ci([wt({type:Number})],ui.prototype,`edgeNode`,void 0),ci([wt({type:Boolean})],ui.prototype,`bendEdges`,void 0),ci([wt({type:Boolean})],ui.prototype,`bendPoints`,void 0),ci([wt({type:Boolean})],ui.prototype,`renderEqualizer`,void 0),ci([wt({type:Boolean})],ui.prototype,`povMode`,void 0),ci([wt({type:Number})],ui.prototype,`maxNodes`,void 0),ui=ci([Ct(`pb33f-explorer-equalizer`)],ui);var di=xe` + `}};li.styles=[Sn,ii,Bn,ei],si([Ot(`form`)],li.prototype,`form`,void 0),si([wt({type:Number})],li.prototype,`nodeNodeBetweenLayers`,void 0),si([wt({type:Number})],li.prototype,`nodeNode`,void 0),si([wt({type:Number})],li.prototype,`edgeNodeBetweenLayers`,void 0),si([wt({type:Number})],li.prototype,`edgeNode`,void 0),si([wt({type:Boolean})],li.prototype,`bendEdges`,void 0),si([wt({type:Boolean})],li.prototype,`bendPoints`,void 0),si([wt({type:Boolean})],li.prototype,`renderEqualizer`,void 0),si([wt({type:Boolean})],li.prototype,`povMode`,void 0),si([wt({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; @@ -2561,6 +2563,10 @@ padding-left: 2px; border: 1px solid var(--font-color-sub2); } + + .change-div > .change-icon:first-child { + margin-left: 0; + } sl-icon { vertical-align: middle; @@ -2581,19 +2587,19 @@ color: var(--font-color-sub1) } -`,fi=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 St{get changeCounts(){return Wt(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 Gt(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`}loadMore(){this.dispatchEvent(new CustomEvent(Fn,{bubbles:!0,composed:!0,detail:{parentId:this.node.id}}))}renderLoadMoreControl(){return this.moreChildrenCount>0&&this.expanded?T` + style="${this.node.nodes?``:`display: none`}">`}loadMore(){this.dispatchEvent(new CustomEvent(In,{bubbles:!0,composed:!0,detail:{parentId:this.node.id}}))}renderLoadMoreControl(){return this.moreChildrenCount>0&&this.expanded?T` ${this.moreChildrenCount} `:null}renderArrayType(){return this.node?.isArray?T` -
Array[]
`:null}activatePovMode(){this.dispatchEvent(new CustomEvent(See,{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(xee,{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` `:T``}countResults(){return Gt(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` - `:T``}countResults(){return Kt(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(Cn,{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!==Ut.NONE&&i!==Ut.MODIFIED&&r.push(`change-${i}`),r.join(` `)}renderNodeWrapper(e){let t=this.countResults(),n=this.changeCounts;return T` +
`}clicked(){this.dispatchEvent(new CustomEvent(wn,{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!==Wt.NONE&&i!==Wt.MODIFIED&&r.push(`change-${i}`),r.join(` `)}renderNodeWrapper(e){let t=this.countResults(),n=this.changeCounts;return T`
@@ -2647,7 +2653,7 @@
- ${this.label} ${n} @@ -2658,39 +2664,45 @@
${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `}};pi.styles=[ai,di],fi([wt({type:Boolean})],pi.prototype,`active`,void 0),fi([wt({type:Boolean})],pi.prototype,`expanded`,void 0),fi([wt({type:Boolean})],pi.prototype,`inPovMode`,void 0),fi([wt({type:Boolean})],pi.prototype,`disablePovMode`,void 0),fi([wt({type:Boolean})],pi.prototype,`hideExamples`,void 0),fi([wt({type:String})],pi.prototype,`povNodeId`,void 0),pi=fi([Ct(`pb33f-explorer-graph-node`)],pi);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},mi=class extends pi{constructor(e){super(e)}renderDocument(){let e=[];return e.push(T`
- - OpenAPI Document + `}};fi.styles=[ii,ui],di([wt({type:Boolean})],fi.prototype,`active`,void 0),di([wt({type:Boolean})],fi.prototype,`expanded`,void 0),di([wt({type:Boolean})],fi.prototype,`inPovMode`,void 0),di([wt({type:Boolean})],fi.prototype,`disablePovMode`,void 0),di([wt({type:Boolean})],fi.prototype,`hideExamples`,void 0),di([wt({type:String})],fi.prototype,`povNodeId`,void 0),fi=di([Ct(`pb33f-explorer-graph-node`)],fi);function pi(e){return e?.label===`AsyncAPI`||typeof e?.instance?.asyncapi==`string`?`AsyncAPI Document`:`OpenAPI Document`}function mi(e,t){let n=Ste(t);return n?T` + ${n}${e} + `:T``}function Ste(e){let t=e?.action;return t===`send`||t===`receive`?t:void 0}var 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},gi=class extends fi{constructor(e){super(e)}renderDocument(){let e=[];e.push(T`
+ + ${pi(this.node)}
`),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`
 > - +
`);for(let[t,n,r]of[[`Channels`,this.document?.channels,E.CHANNELS],[`Operations`,this.document?.operations,E.OPERATIONS]])n&&e.push(T`
 > + + ${t}${n} +
`);return 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())}};mi.styles=[ai],mi=xte([Ct(`pb33f-explorer-document-node`)],mi);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},hi=class extends pi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- +
`),e}render(){if(pi(this.node)===`AsyncAPI Document`){let e=this.nodeInstance,t=e=>e&&typeof e==`object`?Object.keys(e).length:0;this.document={version:e?.asyncapi,channels:t(e?.channels),operations:t(e?.operations),servers:t(e?.servers),components:Object.entries(e?.components??{}).reduce((e,[n,r])=>e+(n.startsWith(`x-`)?0:t(r)),0)}}else this.document=this.nodeInstance;return this.renderNodeWrapper(this.renderDocument())}};gi.styles=[ii],gi=hi([Ct(`pb33f-explorer-document-node`)],gi);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},_i=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
+ Information ${this.renderDependentControl()}
`),this.info?.title&&e.push(T`
 > @@ -2698,8 +2710,8 @@
`),this.info?.version&&e.push(T`
 > Version ${this.info?.version} -
`),e}render(){return this.info=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};hi.styles=[ai,di],hi=Ste([Ct(`pb33f-explorer-info-node`)],hi);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},gi=class extends pi{constructor(e){super(e)}renderNode(){let e=[];if(e.push(T`
- +
`),e}render(){return this.info=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};_i.styles=[ii,ui],_i=Cte([Ct(`pb33f-explorer-info-node`)],_i);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},vi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];if(e.push(T`
+ License
`),this.license?.name&&e.push(T`
 > ${this.license.name} @@ -2707,21 +2719,21 @@ ${this.license?.identifier}
`),e;e.push(T`
 > ${this.license?.url} -
`)}return e}render(){return this.license=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};gi.styles=[ai,di],gi=Cte([Ct(`pb33f-explorer-license-node`)],gi);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},_i=class extends pi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- `)}return e}render(){return this.license=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};vi.styles=[ii,ui],vi=wte([Ct(`pb33f-explorer-license-node`)],vi);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},yi=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())}};_i.styles=[ai,di],_i=wte([Ct(`pb33f-explorer-contact-node`)],_i);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},vi=class extends pi{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())}};yi.styles=[ii,ui],yi=Tte([Ct(`pb33f-explorer-contact-node`)],yi);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},bi=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())}};vi.styles=[ai,di],vi=Tte([Ct(`pb33f-explorer-tag-node`)],vi);var yi=xe` +
`),e}render(){return this.renderNodeWrapper(this.renderNode())}};bi.styles=[ii,ui],bi=Ete([Ct(`pb33f-explorer-tag-node`)],bi);var xi=xe` a { color: var(--primary-color); text-decoration: none; @@ -2736,75 +2748,75 @@ a:active { color: var(--primary-color); } -`,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},bi=class extends pi{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`
- +`,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},Si=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())}};bi.styles=[ai,yi,di],bi=Ete([Ct(`pb33f-explorer-server-node`)],bi);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},xi=class extends pi{constructor(e){super(e)}renderDocument(){let e=[];return e.push(T` +
`),t}render(){return this.server=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Si.styles=[ii,xi,ui],Si=Dte([Ct(`pb33f-explorer-server-node`)],Si);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},Ci=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=[ai,di],xi=Dte([Ct(`pb33f-explorer-components-node`)],xi);function Ote(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 pi{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&&e.every(e=>{if(Ote(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}render(){return this.components=this.nodeInstance,this.renderNodeWrapper(this.renderDocument())}};Ci.styles=[ii,ui],Ci=Ote([Ct(`pb33f-explorer-components-node`)],Ci);function kte(e){return e&&typeof e==`object`&&e.$ref!==void 0&&typeof e.$ref==`string`}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},wi=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&&e.every(e=>{if(kte(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()} @@ -2818,21 +2830,21 @@ ${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=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 ${e}
`)}else!this.hideExamples&&!u&&t.push(T`
- + No Examples
`);return t}render(){if(this.schema=this.nodeInstance,this.embedded){let e=this.countResults(),t=this.changeCounts;return T`
${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `}return this.renderNodeWrapper(this.renderNode())}};Ci.styles=[ai,di],Si([wt({type:Boolean})],Ci.prototype,`embedded`,void 0),Ci=Si([Ct(`pb33f-explorer-schema-node`)],Ci);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},wi=class extends pi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- + `}return this.renderNodeWrapper(this.renderNode())}};wi.styles=[ii,ui],Ate([wt({type:Boolean})],wi.prototype,`embedded`,void 0),wi=Ate([Ct(`pb33f-explorer-schema-node`)],wi);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},Ti=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
+ ${this.label} ${this.renderDependentControl()}
`),this.scheme?.type&&e.push(T`
 > @@ -2851,8 +2863,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())}};wi.styles=[ai,di],wi=kte([Ct(`pb33f-explorer-security-scheme-node`)],wi);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},Ti=class extends pi{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())}};Ti.styles=[ii,ui],Ti=jte([Ct(`pb33f-explorer-security-scheme-node`)],Ti);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},Ei=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`
 > @@ -2867,11 +2879,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())}};Ti.styles=[ai,di],Ti=Ate([Ct(`pb33f-explorer-parameter-node`)],Ti);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},Ei=class extends pi{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())}};Ei.styles=[ii,ui],Ei=Mte([Ct(`pb33f-explorer-parameter-node`)],Ei);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},Di=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`
 > @@ -2884,7 +2896,7 @@ Deprecated
`),this.header?.content&&e.push(T`
 > - + Media Types ${Object.keys(this.header?.content).length}
`),this.header?.schema&&e.push(T` @@ -2892,8 +2904,8 @@
- `),e}render(){return this.header=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ei.styles=[ai,di],Ei=jte([Ct(`pb33f-explorer-header-node`)],Ei);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},Di=class extends pi{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())}};Di.styles=[ii,ui],Di=Nte([Ct(`pb33f-explorer-header-node`)],Di);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},Oi=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`
 > @@ -2901,16 +2913,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())}};Di.styles=[ai,di],Di=Mte([Ct(`pb33f-explorer-request-body-node`)],Di);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},Oi=class extends pi{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`
- +
`),e}render(){return this.requestBody=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Oi.styles=[ii,ui],Oi=Pte([Ct(`pb33f-explorer-request-body-node`)],Oi);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},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` @@ -2918,29 +2930,29 @@
- `),e}render(){return this.mediaType=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Oi.styles=[ai,di],Oi=Nte([Ct(`pb33f-explorer-media-type-node`)],Oi);function ki(e){return e?e>=100&&e<400?`http200`:e>=400&&e<500?`http400`:e>=500?`http500`:`pending`:`pending`}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},Ai=class extends pi{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=Fte([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 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},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())}};Ai.styles=[ai,Gr,di],Ai=Pte([Ct(`pb33f-explorer-response-node`)],Ai);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},ji=class extends pi{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,Wr,ui],ji=Ite([Ct(`pb33f-explorer-response-node`)],ji);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},Mi=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- ${this.label} ${this.renderDependentControl()} @@ -2955,33 +2967,33 @@ 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())}};ji.styles=[ai,yi,di],ji=Fte([Ct(`pb33f-explorer-link-node`)],ji);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},Mi=class extends pi{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,xi,ui],Mi=Lte([Ct(`pb33f-explorer-link-node`)],Mi);var Rte=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())}};Mi.styles=[ai,di],Mi=Ite([Ct(`pb33f-explorer-callback-node`)],Mi);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},Ni=class extends pi{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` - `),e}render(){return this.callback=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ni.styles=[ii,ui],Ni=Rte([Ct(`pb33f-explorer-callback-node`)],Ni);var 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},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()} @@ -3019,72 +3031,124 @@ ${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())}};Ni.styles=[ai,di],Ni=Lte([Ct(`pb33f-explorer-pathitem-node`)],Ni);var Rte=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 pi{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=zte([Ct(`pb33f-explorer-pathitem-node`)],Pi);var Fi=xe` + .operation-label { + display: inline-flex; + align-items: center; + gap: 0.4em; + vertical-align: middle; + } + + .operation-action::part(base) { + background-color: var(--primary-color); + color: var(--background-color); + } + + .operation-action[variant="success"]::part(base) { + background-color: var(--terminal-text); + } +`,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},Ii=class extends fi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T`
- - + ${mi(this.label,this.nodeInstance)} ${this.renderDependentControl()}
`),this.operation?.operationId&&e.push(T`
 > 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())}};Pi.styles=[ai,yi,di],Pi=Rte([Ct(`pb33f-explorer-operation-node`)],Pi);var 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},Fi=class extends pi{constructor(e){super(e)}renderNode(){let e=[];return e.push(T` +
`),e}render(){return this.operation=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Ii.styles=[ii,xi,ui,Fi],Ii=Bte([Ct(`pb33f-explorer-operation-node`)],Ii);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},Li=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())}};Fi.styles=[ai,di],Fi=zte([Ct(`pb33f-explorer-xml-node`)],Fi);var Bte=xe` - .cv-row { +
`),e}render(){return this.xml=this.nodeInstance,this.renderNodeWrapper(this.renderNode())}};Li.styles=[ii,ui],Li=Vte([Ct(`pb33f-explorer-xml-node`)],Li);var Hte=xe` + .row { display: flex; align-items: center; gap: 4px; + box-sizing: border-box; + height: 25px; + padding-top: 0; + line-height: 1; + } + + .row > pb33f-model-icon { + display: inline-flex; + align-items: center; + flex-shrink: 0; + } + + .row > .count { + margin-left: auto; + margin-top: 0; + flex-shrink: 0; + } + + .header { + padding-left: 5px; + } + + .header > pb33f-model-icon { + position: static; + } + + .header .dependent-icon { + margin-left: auto; + flex-shrink: 0; + } + + .header .dependent-icon::part(base) { + padding-top: 0; + } + + .cv-row { cursor: pointer; } @@ -3118,36 +3182,36 @@ .change-icon.added { border-color: rgba(0, 255, 0, 0.3); } -`,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},Ii=class extends pi{constructor(e){super(e)}renderHeader(){switch(this.node?.type){case E.OPERATION:return T` +`,Ute=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 fi{constructor(e){super(e)}renderHeader(){switch(this.node?.type){case E.OPERATION:return T`
- - + ${mi(this.label,this.node?.instance)} ${this.renderDependentControl()}
`;case E.PATH_ITEM:return T`
- ${this.renderDependentControl()}
`;case E.DOCUMENT:return T`
- - OpenAPI Document + ${pi(this.node)} ${this.renderDependentControl()}
`;default:return T`
- ${this.label} ${this.renderDependentControl()} -
`}}childRowClicked(e,t){t.stopPropagation(),this.dispatchEvent(new CustomEvent(Cn,{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(wn,{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?st:T`${e.map(e=>T`
 > - ${e.type===E.OPERATION?T``:e.type===E.PATH_ITEM?T``:T`${e.label}`} + ${e.type===E.OPERATION?mi(e.label,this.nodeMap?.get(e.nodeId)?.instance):e.type===E.PATH_ITEM?T``:T`${e.label}`}
- `)}`}renderChanges(e=this.changeCounts){if(!this.node?.timeline?.length)return T``;if(!this.node.childChanges?.length)return super.renderChanges(e);let t=this.getOwnChanges(this.node);if(!t.length)return T``;let n=Wt(t),r=this.renderBadges(n.breaking,n.modifications,n.additions,n.removals);return r.length===0?T``:T`
${r}
`}render(){let e=this.countResults(),t=this.changeCounts;return T` + `)}`}renderChanges(e=this.changeCounts){if(!this.node?.timeline?.length)return T``;if(!this.node.childChanges?.length)return super.renderChanges(e);let t=this.getOwnChanges(this.node);if(!t.length)return T``;let n=Gt(t),r=this.renderBadges(n.breaking,n.modifications,n.additions,n.removals);return r.length===0?T``:T`
${r}
`}render(){let e=this.countResults(),t=this.changeCounts;return T`
${this.renderHeader()} @@ -3156,18 +3220,18 @@
${this.renderUnderNodeAnnotations(e,t)} ${this.renderActiveArrow()} - `}};Ii.styles=[ai,di,Bte],Ii=Vte([Ct(`pb33f-explorer-change-view-node`)],Ii);var Hte=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 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 ot``;let e=``;return e=this.body?this.body:`Object Node`,this.x==null||this.y==null?ot``:ot` + `}};Ri.styles=[ii,ui,Hte,Fi],Ri=Ute([Ct(`pb33f-explorer-change-view-node`)],Ri);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},zi=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 at``;let e=``;return e=this.body?this.body:`Object Node`,this.x==null||this.y==null?at``:at`
${e}
-
`}};Li=Hte([Ct(`pb33f-explorer-foreign-object`)],Li);function Ri(e){return function(){return e}}var zi=Math.PI,Bi=2*zi,Vi=1e-6,Ute=Bi-Vi;function Hi(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return Hi;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;tVi){if(!(Math.abs(u*s-c*l)>Vi)||!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((zi-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Vi&&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)>Vi||Math.abs(this._y1-l)>Vi)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Bi+Bi),d>Ute?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>Vi&&this._append`A${n},${n},0,${+(d>=zi)},${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._}};Ui.prototype;function Gte(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 Ui(t)}Array.prototype.slice;function Kte(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Wi(e){this._context=e}Wi.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)}}};function qte(e){return new Wi(e)}function Jte(e){return e[0]}function Yte(e){return e[1]}function Xte(e,t){var n=Ri(!0),r=null,i=qte,a=null,o=Gte(s);e=typeof e==`function`?e:e===void 0?Jte:Ri(e),t=typeof t==`function`?t:t===void 0?Yte:Ri(t);function s(s){var c,l=(s=Kte(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 Zte=(function e(t){function n(e){return t===1?new Ki(e):new qi(e,t)}return n.beta=function(t){return e(+t)},n})(.85),Qte=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 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=Ut.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 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!==Ut.NONE&&this.changeCategory!==Ut.MODIFIED;r&&(n===`arrow`?n=`arrow-${this.changeCategory}`:n===`leaf`&&(n=`leaf-${this.changeCategory}`));let i=ene(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=ot` + `}};zi=Wte([Ct(`pb33f-explorer-foreign-object`)],zi);function Bi(e){return function(){return e}}var Vi=Math.PI,Hi=2*Vi,Ui=1e-6,Gte=Hi-Ui;function Wi(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return Wi;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;tUi){if(!(Math.abs(u*s-c*l)>Ui)||!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((Vi-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Ui&&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)>Ui||Math.abs(this._y1-l)>Ui)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Hi+Hi),d>Gte?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>Ui&&this._append`A${n},${n},0,${+(d>=Vi)},${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._}};qte.prototype;function Jte(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 qte(t)}Array.prototype.slice;function Yte(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Xte(e){this._context=e}Xte.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)}}};function Zte(e){return new Xte(e)}function Qte(e){return e[0]}function $te(e){return e[1]}function ene(e,t){var n=Bi(!0),r=null,i=Zte,a=null,o=Jte(s);e=typeof e==`function`?e:e===void 0?Qte:Bi(e),t=typeof t==`function`?t:t===void 0?$te:Bi(t);function s(s){var c,l=(s=Yte(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 nne=(function e(t){function n(e){return t===1?new Gi(e):new Ki(e,t)}return n.beta=function(t){return e(+t)},n})(.85),rne=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},qi=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=Wt.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 at``;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!==Wt.NONE&&this.changeCategory!==Wt.MODIFIED;r&&(n===`arrow`?n=`arrow-${this.changeCategory}`:n===`leaf`&&(n=`leaf-${this.changeCategory}`));let i=ane(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=at` `;this.sections.push(s),e+=1}),ot`${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`?Yi(e):this.edgePathStyle===`rounded-orthogonal`?this.shouldUseRoundedPath()?rne(e):Yi(e):nne(e)||Yi(e)}};Ji=Qte([Ct(`pb33f-explorer-edge`)],Ji);var $te=Xte().x(e=>e.x).y(e=>e.y).curve(Zte.beta(1));function ene(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),tne(n)}function tne(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 ine=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]),ane=class{constructor(e){this.deps=e}createNodeComponent(e){let t=this.deps.getNodeMap();switch(e){case E.DOCUMENT:return new mi(t);case E.INFO:return new hi(t);case E.LICENSE:return new gi(t);case E.CONTACT:return new _i(t);case E.TAG:return new vi(t);case E.SERVER:return new bi(t);case E.COMPONENTS:return new xi(t);case E.SCHEMA:return new Ci(t);case E.SECURITY_SCHEME:return new wi(t);case E.PARAMETER:return new Ti(t);case E.HEADER:return new Ei(t);case E.REQUEST_BODY:return new Di(t);case E.MEDIA_TYPE:return new Oi(t);case E.RESPONSE:return new Ai(t);case E.LINK:return new ji(t);case E.CALLBACK:return new Mi(t);case E.PATH_ITEM:return new Ni(t);case E.OPERATION:return new Pi(t);case E.XML:return new Fi(t);default:return new pi(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===Ht.change?new Ii(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 Li,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 Ji,f=a.get(c.id)?.dependency||!1,p=u?.changeCategory??Ut.NONE,m=!!u?.isLeaf&&!one(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 one(e){return e?ine.has(e):!1}function sne(){return ot` + marker-end="url(#${n})"/>`;this.sections.push(s),e+=1}),at`${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`?Ji(e):this.edgePathStyle===`rounded-orthogonal`?this.shouldUseRoundedPath()?cne(e):Ji(e):sne(e)||Ji(e)}};qi=rne([Ct(`pb33f-explorer-edge`)],qi);var ine=ene().x(e=>e.x).y(e=>e.y).curve(nne.beta(1));function ane(e,t){if(!e)return[];let n=[e.startPoint];return t&&e.bendPoints&&n.push(...e.bendPoints),n.push(e.endPoint),one(n)}function one(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 lne=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]),une=class{constructor(e){this.deps=e}createNodeComponent(e){let t=this.deps.getNodeMap();switch(e){case E.DOCUMENT:return new gi(t);case E.INFO:return new _i(t);case E.LICENSE:return new vi(t);case E.CONTACT:return new yi(t);case E.TAG:return new bi(t);case E.SERVER:return new Si(t);case E.COMPONENTS:return new Ci(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 ki(t);case E.RESPONSE:return new ji(t);case E.LINK:return new Mi(t);case E.CALLBACK:return new Ni(t);case E.PATH_ITEM:return new Pi(t);case E.OPERATION:return new Ii(t);case E.XML:return new Li(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===Ut.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 qi,f=a.get(c.id)?.dependency||!1,p=u?.changeCategory??Wt.NONE,m=!!u?.isLeaf&&!dne(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 dne(e){return e?lne.has(e):!1}function fne(){return at` - `}var cne=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},lne=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},une=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));else{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)}},dne=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}},Xi=.22,Zi=.5;function fne(e){switch(e){case`LEFT`:return{x:.78,y:Zi};case`UP`:return{x:Zi,y:.78};case`DOWN`:return{x:Zi,y:Xi};default:return{x:Xi,y:Zi}}}function pne(e,t,n){let r=fne(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 mne(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 Qi(e,t,n){return t.id===`root`?pne(e,t,n):mne(t,n)}var $i=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},ea,ta;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(ta||={});var na=ea=class extends oi{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=Ht.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=ta.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 ui,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=ea.graphDependentWorkerFactory?ea.graphDependentWorkerFactory():new cne,this.elkLayoutWorker=ea.elkWorkerFactory?ea.elkWorkerFactory():new lne,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new une({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 dne({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new ane({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(wn,this.boundZoomIn),this.equalizer.addEventListener(Tn,this.boundZoomOut),this.equalizer.addEventListener(En,this.boundRotate),this.equalizer.addEventListener(Dn,this.boundReset),this.equalizer.addEventListener(Mn,this.boundEqualizerChanged),this.equalizer.addEventListener(Nn,this.boundEqualizerFiltered),this.addEventListener(Pn,this.boundDependentNodeClicked),this.addEventListener(Fn,this.boundLoadMoreChildren),this.equalizer.addEventListener(In,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(wn,this.boundZoomIn),this.equalizer.removeEventListener(Tn,this.boundZoomOut),this.equalizer.removeEventListener(En,this.boundRotate),this.equalizer.removeEventListener(Dn,this.boundReset),this.equalizer.removeEventListener(Mn,this.boundEqualizerChanged),this.equalizer.removeEventListener(Nn,this.boundEqualizerFiltered),this.equalizer.removeEventListener(In,this.boundPovModeExit),this.removeEventListener(Pn,this.boundDependentNodeClicked),this.removeEventListener(Fn,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?Ht.change:Ht.standard),this.changeView=this.graphMode===Ht.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 ta.LEFT:this.direction=ta.UP;break;case ta.DOWN:this.direction=ta.LEFT;break;case ta.RIGHT:this.direction=ta.DOWN;break;case ta.UP:this.direction=ta.RIGHT}this.resetNodes(),this.buildGraphAndRender().then(()=>{this.activeNode&&this.dispatchEvent(new CustomEvent(Sn,{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(Sn,{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=ta.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=Qi(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=Qi(this.direction,e,t);this.animateViewBox(n.x,n.y,200)}this.activeNode=e}}navigateToRoot(){this.dispatchEvent(new CustomEvent(Sn,{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=Qi(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` + `}var pne=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},mne=class{postMessage(){}addEventListener(){}removeEventListener(){}terminate(){}set onmessage(e){}set onerror(e){}},hne=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));else{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)}},gne=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}},Yi=.22,Xi=.5;function _ne(e){switch(e){case`LEFT`:return{x:.78,y:Xi};case`UP`:return{x:Xi,y:.78};case`DOWN`:return{x:Xi,y:Yi};default:return{x:Yi,y:Xi}}}function vne(e,t,n){let r=_ne(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 yne(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 Zi(e,t,n){return t.id===`root`?vne(e,t,n):yne(t,n)}var 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,ea;(function(e){e.UP=`UP`,e.DOWN=`DOWN`,e.LEFT=`LEFT`,e.RIGHT=`RIGHT`})(ea||={});var ta=$i=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=Ut.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=ea.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=$i.graphDependentWorkerFactory?$i.graphDependentWorkerFactory():new pne,this.elkLayoutWorker=$i.elkWorkerFactory?$i.elkWorkerFactory():new mne,this.elkLayoutWorker.onerror=e=>{console.error(`[explorer] ELK layout worker error:`,e)},this.expansionManager=new hne({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 gne({getExpandedNodes:()=>this.expansionManager.expandedNodes,getVisibleChildrenCount:()=>this.expansionManager.visibleChildrenCount,getPathRevealNodes:()=>this.expansionManager.pathRevealNodes,getChildBatchSize:()=>this.expansionManager.CHILD_BATCH_SIZE}),this.explorerComponentFactory=new une({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(Tn,this.boundZoomIn),this.equalizer.addEventListener(En,this.boundZoomOut),this.equalizer.addEventListener(Dn,this.boundRotate),this.equalizer.addEventListener(On,this.boundReset),this.equalizer.addEventListener(Nn,this.boundEqualizerChanged),this.equalizer.addEventListener(Pn,this.boundEqualizerFiltered),this.addEventListener(Fn,this.boundDependentNodeClicked),this.addEventListener(In,this.boundLoadMoreChildren),this.equalizer.addEventListener(Ln,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(Tn,this.boundZoomIn),this.equalizer.removeEventListener(En,this.boundZoomOut),this.equalizer.removeEventListener(Dn,this.boundRotate),this.equalizer.removeEventListener(On,this.boundReset),this.equalizer.removeEventListener(Nn,this.boundEqualizerChanged),this.equalizer.removeEventListener(Pn,this.boundEqualizerFiltered),this.equalizer.removeEventListener(Ln,this.boundPovModeExit),this.removeEventListener(Fn,this.boundDependentNodeClicked),this.removeEventListener(In,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?Ut.change:Ut.standard),this.changeView=this.graphMode===Ut.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 ea.LEFT:this.direction=ea.UP;break;case ea.DOWN:this.direction=ea.LEFT;break;case ea.RIGHT:this.direction=ea.DOWN;break;case ea.UP:this.direction=ea.RIGHT}this.resetNodes(),this.buildGraphAndRender().then(()=>{this.activeNode&&this.dispatchEvent(new CustomEvent(Cn,{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(Cn,{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=ea.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=Zi(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=Zi(this.direction,e,t);this.animateViewBox(n.x,n.y,200)}this.activeNode=e}}navigateToRoot(){this.dispatchEvent(new CustomEvent(Cn,{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=Zi(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 at` + ${this.hideControls?st:this.equalizer} - ${sne()} + ${fne()} - ${Vt(this.edgeComponents,e=>e.edge.id,e=>e.render())} - ${Vt(this.nodeComponents,e=>e.id,e=>e.render())} + ${Ht(this.edgeComponents,e=>e.edge.id,e=>e.render())} + ${Ht(this.nodeComponents,e=>e.id,e=>e.render())} - `}};na.graphDependentWorkerFactory=null,na.elkWorkerFactory=null,na.styles=[hee,Wr],$i([Ot(`svg`)],na.prototype,`svgItem`,void 0),$i([Ot(`svg > g`)],na.prototype,`svgGroup`,void 0),$i([kt(`path`)],na.prototype,`paths`,void 0),$i([kt(`foreignObject`)],na.prototype,`foreignObjects`,void 0),$i([Tt()],na.prototype,`ready`,void 0),$i([wt()],na.prototype,`renderEqualizer`,void 0),$i([wt()],na.prototype,`edgePathStyle`,void 0),$i([wt({type:Boolean})],na.prototype,`embeddedMode`,void 0),$i([wt()],na.prototype,`graphResponse`,void 0),$i([wt({type:Boolean})],na.prototype,`disablePovMode`,void 0),$i([wt({type:Boolean})],na.prototype,`hideExamples`,void 0),$i([wt({type:Boolean})],na.prototype,`hideControls`,void 0),$i([wt({type:Boolean})],na.prototype,`changeView`,void 0),$i([wt()],na.prototype,`graphMode`,void 0),$i([wt()],na.prototype,`povMode`,void 0),$i([wt()],na.prototype,`povNodeId`,void 0),$i([wt()],na.prototype,`povNode`,void 0),$i([Tt()],na.prototype,`models`,void 0),na=ea=$i([Ct(`pb33f-explorer`)],na);var hne=xe` + `}};ta.graphDependentWorkerFactory=null,ta.elkWorkerFactory=null,ta.styles=[mee,Ur],Qi([Ot(`svg`)],ta.prototype,`svgItem`,void 0),Qi([Ot(`svg > g`)],ta.prototype,`svgGroup`,void 0),Qi([kt(`path`)],ta.prototype,`paths`,void 0),Qi([kt(`foreignObject`)],ta.prototype,`foreignObjects`,void 0),Qi([Tt()],ta.prototype,`ready`,void 0),Qi([wt()],ta.prototype,`renderEqualizer`,void 0),Qi([wt()],ta.prototype,`edgePathStyle`,void 0),Qi([wt({type:Boolean})],ta.prototype,`embeddedMode`,void 0),Qi([wt()],ta.prototype,`graphResponse`,void 0),Qi([wt({type:Boolean})],ta.prototype,`disablePovMode`,void 0),Qi([wt({type:Boolean})],ta.prototype,`hideExamples`,void 0),Qi([wt({type:Boolean})],ta.prototype,`hideControls`,void 0),Qi([wt({type:Boolean})],ta.prototype,`changeView`,void 0),Qi([wt()],ta.prototype,`graphMode`,void 0),Qi([wt()],ta.prototype,`povMode`,void 0),Qi([wt()],ta.prototype,`povNodeId`,void 0),Qi([wt()],ta.prototype,`povNode`,void 0),Qi([Tt()],ta.prototype,`models`,void 0),ta=$i=Qi([Ct(`pb33f-explorer`)],ta);var bne=xe` :host { display: block; height: 100%; @@ -3428,7 +3492,7 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,gne=xe` +`,xne=xe` :host { display: inline-block; width: 1em; @@ -3441,17 +3505,17 @@ height: 100%; width: 100%; } -`,ra=Symbol(),ia=Symbol(),aa,oa=new Map,sa=class extends gn{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` +`,na=Symbol(),ra=Symbol(),ia,aa=new Map,oa=class extends _n{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?ra:ia}catch{return ia}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return ra;aa||=new DOMParser;let r=aa.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):ra}catch{return ra}}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=oa.get(t);if(i||(i=this.resolveIcon(t,r),oa.set(t,i)),!this.initialRender)return;let a=await i;if(a===ia&&oa.delete(t),t===this.getIconSource().url){if(uee(a)){if(this.svg=a,r){await this.updateComplete;let e=this.shadowRoot.querySelector(`[part='svg']`);typeof r.mutator==`function`&&e&&r.mutator(e)}}else switch(a){case ia:case ra: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}};sa.styles=[mn,gne],w([Tt()],sa.prototype,`svg`,2),w([wt({reflect:!0})],sa.prototype,`name`,2),w([wt()],sa.prototype,`src`,2),w([wt()],sa.prototype,`label`,2),w([wt({reflect:!0})],sa.prototype,`library`,2),w([pn(`label`)],sa.prototype,`handleLabelChange`,1),w([pn([`name`,`src`,`library`])],sa.prototype,`setIcon`,1),sa.define(`sl-icon`);var ca=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=``}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?na:ra}catch{return ra}try{let e=document.createElement(`div`);e.innerHTML=await n.text();let t=e.firstElementChild;if((t?.tagName)?.toLowerCase()!==`svg`)return na;ia||=new DOMParser;let r=ia.parseFromString(t.outerHTML,`text/html`).body.querySelector(`svg`);return r?(r.part.add(`svg`),document.adoptNode(r)):na}catch{return na}}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=aa.get(t);if(i||(i=this.resolveIcon(t,r),aa.set(t,i)),!this.initialRender)return;let a=await i;if(a===ra&&aa.delete(t),t===this.getIconSource().url){if(uee(a)){if(this.svg=a,r){await this.updateComplete;let e=this.shadowRoot.querySelector(`[part='svg']`);typeof r.mutator==`function`&&e&&r.mutator(e)}}else switch(a){case ra:case na: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}};oa.styles=[hn,xne],w([Tt()],oa.prototype,`svg`,2),w([wt({reflect:!0})],oa.prototype,`name`,2),w([wt()],oa.prototype,`src`,2),w([wt()],oa.prototype,`label`,2),w([wt({reflect:!0})],oa.prototype,`library`,2),w([mn(`label`)],oa.prototype,`handleLabelChange`,1),w([mn([`name`,`src`,`library`])],oa.prototype,`setIcon`,1),oa.define(`sl-icon`);var Sne=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=``}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=``}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+``}}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)}_!==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` `}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)`}return T`${t}`}renderBreaking(e){return e?T` - `:T``}},_ne=xe` + `:T``}},Cne=xe` .props { border-top: 1px dashed var(--secondary-color); padding: 5px 0 5px 0; @@ -3727,7 +3791,7 @@ color: var(--secondary-color); } -`,ua=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=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` +`,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 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` - `}};da.styles=xe` + `}};la.styles=xe` :host { display: block; width: 100%; @@ -3757,7 +3821,7 @@ svg { display: block; } - `,ua([wt({type:Number})],da.prototype,`height`,void 0),ua([wt({type:Boolean})],da.prototype,`animateStripe`,void 0),ua([wt({type:Number})],da.prototype,`speed`,void 0),ua([wt({type:Boolean})],da.prototype,`warn`,void 0),ua([wt({type:Boolean})],da.prototype,`danger`,void 0),da=ua([Ct(`pb33f-warning-stripe`)],da);var vne=xe` + `,ca([wt({type:Number})],la.prototype,`height`,void 0),ca([wt({type:Boolean})],la.prototype,`animateStripe`,void 0),ca([wt({type:Number})],la.prototype,`speed`,void 0),ca([wt({type:Boolean})],la.prototype,`warn`,void 0),ca([wt({type:Boolean})],la.prototype,`danger`,void 0),la=ca([Ct(`pb33f-warning-stripe`)],la);var wne=xe` :host { display: inline-flex; } @@ -3846,18 +3910,18 @@ box-shadow: 0 0 0 0 transparent; } } -`,fa=class extends gn{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return T` +`,ua=class extends _n{constructor(){super(...arguments),this.variant=`primary`,this.pill=!1,this.pulse=!1}render(){return T` - `}};fa.styles=[mn,vne],w([wt({reflect:!0})],fa.prototype,`variant`,2),w([wt({type:Boolean,reflect:!0})],fa.prototype,`pill`,2),w([wt({type:Boolean,reflect:!0})],fa.prototype,`pulse`,2),fa.define(`sl-badge`);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},ma=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` + `}};ua.styles=[hn,wne],w([wt({reflect:!0})],ua.prototype,`variant`,2),w([wt({type:Boolean,reflect:!0})],ua.prototype,`pill`,2),w([wt({type:Boolean,reflect:!0})],ua.prototype,`pulse`,2),ua.define(`sl-badge`);var 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(...arguments),this.iconSize=Yr.medium}formatLabel(e){return e?e.replace(/([a-z])([A-Z])/g,`$1 $2`).toUpperCase():``}render(){return T` ${this.formatLabel(this.icon)} - `}};ma.styles=xe` + `}};fa.styles=xe` :host { display: inline-flex; align-items: center; @@ -3878,7 +3942,7 @@ margin-left: 10px; padding-top: 4px; } - `,pa([wt()],ma.prototype,`icon`,void 0),pa([wt()],ma.prototype,`iconSize`,void 0),ma=pa([Ct(`pb33f-model-badge`)],ma);var ha=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},ga=class extends la{constructor(e){super(),this.diff=new ca.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` + `,da([wt()],fa.prototype,`icon`,void 0),da([wt()],fa.prototype,`iconSize`,void 0),fa=da([Ct(`pb33f-model-badge`)],fa);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},ma=class extends sa{constructor(e){super(),this.diff=new Sne.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` @@ -4046,9 +4110,9 @@ ${e}
${t} -
`}};ga.styles=[_ne,Rn],ha([wt()],ga.prototype,`changes`,void 0),ha([wt({type:Boolean})],ga.prototype,`addPadding`,void 0),ha([wt({type:Boolean})],ga.prototype,`renderBreakingBar`,void 0),ha([wt({type:Boolean})],ga.prototype,`renderMeta`,void 0),ha([Tt()],ga.prototype,`showDiff`,void 0),ha([Tt()],ga.prototype,`renderChangeCountBar`,void 0),ga=ha([Ct(`pb33f-changes-component`)],ga);var _a=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},va=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` +
`}};ma.styles=[Cne,zn],pa([wt()],ma.prototype,`changes`,void 0),pa([wt({type:Boolean})],ma.prototype,`addPadding`,void 0),pa([wt({type:Boolean})],ma.prototype,`renderBreakingBar`,void 0),pa([wt({type:Boolean})],ma.prototype,`renderMeta`,void 0),pa([Tt()],ma.prototype,`showDiff`,void 0),pa([Tt()],ma.prototype,`renderChangeCountBar`,void 0),ma=pa([Ct(`pb33f-changes-component`)],ma);var ha=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},ga=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?st:T`
- `}};va.styles=[hne],_a([wt({type:Array})],va.prototype,`changes`,void 0),_a([wt({type:Boolean,attribute:`panel-hidden`,reflect:!0})],va.prototype,`panelHidden`,void 0),va=_a([Ct(`pb33f-explorer-change-panel`)],va);var yne=xe` + `}};ga.styles=[bne],ha([wt({type:Array})],ga.prototype,`changes`,void 0),ha([wt({type:Boolean,attribute:`panel-hidden`,reflect:!0})],ga.prototype,`panelHidden`,void 0),ga=ha([Ct(`pb33f-explorer-change-panel`)],ga);var Tne=xe` :host { display: flex; @@ -4178,7 +4242,7 @@ padding-bottom: 5px; } -`,bne=xe` +`,Ene=xe` .scroller::-webkit-scrollbar { width: 8px; } @@ -4192,7 +4256,7 @@ background: var(--secondary-color-lowalpha); padding: var(--global-padding); } -`,ya=xe` +`,_a=xe` ::-webkit-scrollbar { width: 8px; height: 8px; @@ -4206,14 +4270,14 @@ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background: var(--secondary-color-lowalpha); } -`,ba=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},xa=class extends la{constructor(){super()}getChangeValue(e){return e.new?T`${e.property}: +`,Dne=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},va=class extends sa{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)} @@ -4223,7 +4287,7 @@
${this.renderBreaking(e.breaking)}
${t}
`})} -
`}};xa.styles=[yne,bne],ba([wt()],xa.prototype,`changes`,void 0),xa=ba([Ct(`pb33f-change-list`)],xa);var xne=xe` +
`}};va.styles=[Tne,Ene],Dne([wt()],va.prototype,`changes`,void 0),va=Dne([Ct(`pb33f-change-list`)],va);var ya=xe` :host { display: block; outline: 0; @@ -4375,7 +4439,7 @@ outline: dashed 1px SelectedItem; } } -`,Sne=xe` +`,One=xe` :host { display: inline-block; } @@ -4493,22 +4557,22 @@ color: var(--sl-input-required-content-color); margin-inline-start: var(--sl-input-required-content-offset); } -`,Sa=class extends gn{constructor(){super(...arguments),this.formControlController=new $t(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new tn(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` +`,ba=class extends _n{constructor(){super(...arguments),this.formControlController=new en(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new nn(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`
- `}};Sa.styles=[mn,qt,Sne],Sa.dependencies={"sl-icon":sa},w([Ot(`input[type="checkbox"]`)],Sa.prototype,`input`,2),w([Tt()],Sa.prototype,`hasFocus`,2),w([wt()],Sa.prototype,`title`,2),w([wt()],Sa.prototype,`name`,2),w([wt()],Sa.prototype,`value`,2),w([wt({reflect:!0})],Sa.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Sa.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],Sa.prototype,`checked`,2),w([wt({type:Boolean,reflect:!0})],Sa.prototype,`indeterminate`,2),w([Kt(`checked`)],Sa.prototype,`defaultChecked`,2),w([wt({reflect:!0})],Sa.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],Sa.prototype,`required`,2),w([wt({attribute:`help-text`})],Sa.prototype,`helpText`,2),w([pn(`disabled`,{waitUntilFirstUpdate:!0})],Sa.prototype,`handleDisabledChange`,1),w([pn([`checked`,`indeterminate`],{waitUntilFirstUpdate:!0})],Sa.prototype,`handleStateChange`,1);var Ca=xe` + `}};ba.styles=[hn,Jt,One],ba.dependencies={"sl-icon":oa},w([Ot(`input[type="checkbox"]`)],ba.prototype,`input`,2),w([Tt()],ba.prototype,`hasFocus`,2),w([wt()],ba.prototype,`title`,2),w([wt()],ba.prototype,`name`,2),w([wt()],ba.prototype,`value`,2),w([wt({reflect:!0})],ba.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],ba.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],ba.prototype,`checked`,2),w([wt({type:Boolean,reflect:!0})],ba.prototype,`indeterminate`,2),w([qt(`checked`)],ba.prototype,`defaultChecked`,2),w([wt({reflect:!0})],ba.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],ba.prototype,`required`,2),w([wt({attribute:`help-text`})],ba.prototype,`helpText`,2),w([mn(`disabled`,{waitUntilFirstUpdate:!0})],ba.prototype,`handleDisabledChange`,1),w([mn([`checked`,`indeterminate`],{waitUntilFirstUpdate:!0})],ba.prototype,`handleStateChange`,1);var kne=xe` :host { --track-width: 2px; --track-color: rgb(128 128 128 / 25%); @@ -4608,15 +4672,15 @@ stroke-dasharray: 0.05em, 3em; } } -`,wa=class extends gn{constructor(){super(...arguments),this.localize=new fn(this)}render(){return T` +`,xa=class extends _n{constructor(){super(...arguments),this.localize=new pn(this)}render(){return T` - `}};wa.styles=[mn,Ca];var Ta=new Map,Ea=new WeakMap;function Cne(e){return e??{keyframes:[],options:{duration:0}}}function Da(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function Oa(e,t){Ta.set(e,Cne(t))}function ka(e,t,n){let r=Ea.get(e);if(r?.[t])return Da(r[t],n.dir);let i=Ta.get(t);return i?Da(i,n.dir):{keyframes:[],options:{duration:0}}}function Aa(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:Tne()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function wne(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function Tne(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function ja(e){return Promise.all(e.getAnimations().map(e=>new Promise(t=>{e.cancel(),requestAnimationFrame(t)})))}function Ene(e,t){return e.map(e=>se(oe({},e),{height:e.height===`auto`?`${t}px`:e.height}))}function Dne(e,t,n){return e?t(e):n?.(e)}var Ma=class e extends gn{constructor(){super(...arguments),this.localize=new fn(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 ja(this.childrenContainer);let{keyframes:e,options:t}=ka(this,`tree-item.collapse`,{dir:this.localize.dir()});await Aa(this.childrenContainer,Ene(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 ja(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=ka(this,`tree-item.expand`,{dir:this.localize.dir()});await Aa(this.childrenContainer,Ene(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` + `}};xa.styles=[hn,kne];var Ane=new Map,jne=new WeakMap;function Mne(e){return e??{keyframes:[],options:{duration:0}}}function Nne(e,t){return t.toLowerCase()===`rtl`?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function Sa(e,t){Ane.set(e,Mne(t))}function Ca(e,t,n){let r=jne.get(e);if(r?.[t])return Nne(r[t],n.dir);let i=Ane.get(t);return i?Nne(i,n.dir):{keyframes:[],options:{duration:0}}}function wa(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:Ea()?0:n.duration}));i.addEventListener(`cancel`,r,{once:!0}),i.addEventListener(`finish`,r,{once:!0})})}function Ta(e){return e=e.toString().toLowerCase(),e.indexOf(`ms`)>-1?parseFloat(e):e.indexOf(`s`)>-1?parseFloat(e)*1e3:parseFloat(e)}function Ea(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function Da(e){return Promise.all(e.getAnimations().map(e=>new Promise(t=>{e.cancel(),requestAnimationFrame(t)})))}function Oa(e,t){return e.map(e=>se(oe({},e),{height:e.height===`auto`?`${t}px`:e.height}))}function ka(e,t,n){return e?t(e):n?.(e)}var Aa=class e extends _n{constructor(){super(...arguments),this.localize=new pn(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 Da(this.childrenContainer);let{keyframes:e,options:t}=Ca(this,`tree-item.collapse`,{dir:this.localize.dir()});await wa(this.childrenContainer,Oa(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 Da(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:e,options:t}=Ca(this,`tree-item.expand`,{dir:this.localize.dir()});await wa(this.childrenContainer,Oa(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`
- ${Dne(this.selectable,()=>T` + ${ka(this.selectable,()=>T` @@ -4671,7 +4735,7 @@
- `}};Ma.styles=[mn,xne],Ma.dependencies={"sl-checkbox":Sa,"sl-icon":sa,"sl-spinner":wa},w([Tt()],Ma.prototype,`indeterminate`,2),w([Tt()],Ma.prototype,`isLeaf`,2),w([Tt()],Ma.prototype,`loading`,2),w([Tt()],Ma.prototype,`selectable`,2),w([wt({type:Boolean,reflect:!0})],Ma.prototype,`expanded`,2),w([wt({type:Boolean,reflect:!0})],Ma.prototype,`selected`,2),w([wt({type:Boolean,reflect:!0})],Ma.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],Ma.prototype,`lazy`,2),w([Ot(`slot:not([name])`)],Ma.prototype,`defaultSlot`,2),w([Ot(`slot[name=children]`)],Ma.prototype,`childrenSlot`,2),w([Ot(`.tree-item__item`)],Ma.prototype,`itemElement`,2),w([Ot(`.tree-item__children`)],Ma.prototype,`childrenContainer`,2),w([Ot(`.tree-item__expand-button slot`)],Ma.prototype,`expandButtonSlot`,2),w([pn(`loading`,{waitUntilFirstUpdate:!0})],Ma.prototype,`handleLoadingChange`,1),w([pn(`disabled`)],Ma.prototype,`handleDisabledChange`,1),w([pn(`selected`)],Ma.prototype,`handleSelectedChange`,1),w([pn(`expanded`,{waitUntilFirstUpdate:!0})],Ma.prototype,`handleExpandedChange`,1),w([pn(`expanded`,{waitUntilFirstUpdate:!0})],Ma.prototype,`handleExpandAnimation`,1),w([pn(`lazy`,{waitUntilFirstUpdate:!0})],Ma.prototype,`handleLazyChange`,1);var Na=Ma;Oa(`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)`}}),Oa(`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 One=xe` + `}};Aa.styles=[hn,ya],Aa.dependencies={"sl-checkbox":ba,"sl-icon":oa,"sl-spinner":xa},w([Tt()],Aa.prototype,`indeterminate`,2),w([Tt()],Aa.prototype,`isLeaf`,2),w([Tt()],Aa.prototype,`loading`,2),w([Tt()],Aa.prototype,`selectable`,2),w([wt({type:Boolean,reflect:!0})],Aa.prototype,`expanded`,2),w([wt({type:Boolean,reflect:!0})],Aa.prototype,`selected`,2),w([wt({type:Boolean,reflect:!0})],Aa.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],Aa.prototype,`lazy`,2),w([Ot(`slot:not([name])`)],Aa.prototype,`defaultSlot`,2),w([Ot(`slot[name=children]`)],Aa.prototype,`childrenSlot`,2),w([Ot(`.tree-item__item`)],Aa.prototype,`itemElement`,2),w([Ot(`.tree-item__children`)],Aa.prototype,`childrenContainer`,2),w([Ot(`.tree-item__expand-button slot`)],Aa.prototype,`expandButtonSlot`,2),w([mn(`loading`,{waitUntilFirstUpdate:!0})],Aa.prototype,`handleLoadingChange`,1),w([mn(`disabled`)],Aa.prototype,`handleDisabledChange`,1),w([mn(`selected`)],Aa.prototype,`handleSelectedChange`,1),w([mn(`expanded`,{waitUntilFirstUpdate:!0})],Aa.prototype,`handleExpandedChange`,1),w([mn(`expanded`,{waitUntilFirstUpdate:!0})],Aa.prototype,`handleExpandAnimation`,1),w([mn(`lazy`,{waitUntilFirstUpdate:!0})],Aa.prototype,`handleLazyChange`,1);var ja=Aa;Sa(`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)`}}),Sa(`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 Pne=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 @@ -4691,7 +4755,7 @@ */ font-size: 0; } -`;function Pa(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function Fa(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;Na.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 Ia=class extends gn{constructor(){super(),this.selection=`single`,this.clickTarget=null,this.localize=new fn(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(Na.isTreeItem),n=[...t.removedNodes].filter(Na.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]),Na.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),Fa(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[Pa(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=>Fa(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 Ma(e,t,n){return(e=>Object.is(e,-0)?0:e)(en?n:e)}function Na(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;ja.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 Pa=class extends _n{constructor(){super(),this.selection=`single`,this.clickTarget=null,this.localize=new pn(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(ja.isTreeItem),n=[...t.removedNodes].filter(ja.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]),ja.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),Na(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[Ma(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=>Na(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` - `}};Ia.styles=[mn,One],w([Ot(`slot:not([name])`)],Ia.prototype,`defaultSlot`,2),w([Ot(`slot[name=expand-icon]`)],Ia.prototype,`expandedIconSlot`,2),w([Ot(`slot[name=collapse-icon]`)],Ia.prototype,`collapsedIconSlot`,2),w([wt()],Ia.prototype,`selection`,2),w([pn(`selection`)],Ia.prototype,`handleSelectionChange`,1),Ia.define(`sl-tree`),Na.define(`sl-tree-item`);var kne=xe` + `}};Pa.styles=[hn,Pne],w([Ot(`slot:not([name])`)],Pa.prototype,`defaultSlot`,2),w([Ot(`slot[name=expand-icon]`)],Pa.prototype,`expandedIconSlot`,2),w([Ot(`slot[name=collapse-icon]`)],Pa.prototype,`collapsedIconSlot`,2),w([wt()],Pa.prototype,`selection`,2),w([mn(`selection`)],Pa.prototype,`handleSelectionChange`,1),Pa.define(`sl-tree`),ja.define(`sl-tree-item`);var Fne=xe` + .operation-id { + margin-left: 6px; + color: var(--font-color-sub1); + } + sl-tree { --indent-guide-width: 1px; --indent-guide-color: var(--secondary-color); @@ -4728,11 +4797,14 @@ //height: 16px; //line-height: 14px; text-align: center; - display: inline-block; - background: none; vertical-align: middle; } + sl-badge:not(.operation-action)::part(base) { + background: none; + display: inline-block; + } + sl-badge.warn::part(base) { border: 1px solid var(--warn-color-lowalpha); color: var(--warn-color); @@ -4810,21 +4882,21 @@ sl-tree-item.no-changes[selected]::part(expand-button) { opacity: 1; } -`,Ane={[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 jne(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}var La=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},Ra,za=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]),Ba=Ra=class extends St{static renderFileIcon(e,t){return T``}constructor(){super(),this.iconConfig=Ane,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(Sn,{bubbles:!0,composed:!0,detail:{nodeId:e,changes:t,source:n}}))}rolodexClicked(e,t=``,n=[]){this.dispatchEvent(new CustomEvent(xee,{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()}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` +`,Fa={[E.DOCUMENT]:{showOnLeaf:!0,showOnBranch:!0},[E.PATHS]:{showOnLeaf:!0,showOnBranch:!0},[E.CHANNEL]:{showOnLeaf:!0,showOnBranch:!0},[E.CHANNELS]:{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 Ine(e,t,n,r){let i=r[e];return i?i.onlyWithIssues?n:t?i.showOnLeaf:i.showOnBranch:!1}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,Lne=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]),Ra=La=class extends St{static renderFileIcon(e,t){return T``}constructor(){super(),this.iconConfig=Fa,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(Cn,{bubbles:!0,composed:!0,detail:{nodeId:e,changes:t,source:n}}))}rolodexClicked(e,t=``,n=[]){this.dispatchEvent(new CustomEvent(bee,{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()}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` + ${mi(e.label,e.instance)}${t?T`${t}`:``}`;case E.PATH_ITEM:return T` + `;default:return T`${e.label}`}}buildTree(e,t){let n=[],r=e.type===E.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` 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=Zr.primary,s=this.filteredNodes.size>0&&!this.filteredNodes.get(e.id);if(e.type===E.RESPONSE)switch(ki(parseInt(e.label))){case`http400`:o=Zr.warning;break;case`http500`:o=Zr.error;break;default:o=Zr.font}e.type===E.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=Gt(f,this.violationMap);e.warnings>0&&(c=T` + `)}}}let a=e.treeExpanded;r&&(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(Ai(parseInt(e.label))){case`http400`:o=Xr.warning;break;case`http500`:o=Xr.error;break;default:o=Xr.font}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=Kt(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=jne(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=Ra.ICON_TYPE_MAP[t];e&&(h=Ra.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}=Wt(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=Ine(e.type,p,d,this.iconConfig),h=m?T` + `:T``;if(m&&e.openapi)h=T` + `;else if(m&&e.type!==E.CHANNEL&&e.type!==E.CHANNELS&&!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=La.ICON_TYPE_MAP[t];e&&(h=La.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}=Gt(e.timeline);g=T`${i>0?T` `:T``} ${t>0?T` ${t>1?T`${t}`:T``} @@ -4851,7 +4923,7 @@ data-path="${e.path?e.path:e.nodePath}">
${h} -
+
${s?T`${this.renderLabel(e,s)} @@ -4867,15 +4939,15 @@ ${e} - `}};Ba.styles=[kne,Gr,Rn],Ba.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},La([wt()],Ba.prototype,`node`,void 0),La([wt()],Ba.prototype,`filteredNodes`,void 0),La([wt({type:Boolean})],Ba.prototype,`expand`,void 0),La([wt({type:Boolean})],Ba.prototype,`changesEnabled`,void 0),La([wt()],Ba.prototype,`isRolodex`,void 0),La([wt()],Ba.prototype,`nodeMap`,void 0),La([wt()],Ba.prototype,`violationMap`,void 0),La([wt({type:Object})],Ba.prototype,`iconConfig`,void 0),La([wt({type:Boolean})],Ba.prototype,`isBundled`,void 0),Ba=Ra=La([Ct(`pb33f-model-tree`)],Ba);function Va(e){return e+.5|0}var Ha=(e,t,n)=>Math.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`],Mne=e=>Ja[e&15],Nne=e=>Ja[(e&240)>>4]+Ja[e&15],Ya=e=>(e&240)>>4==(e&15),Pne=e=>Ya(e.r)&&Ya(e.g)&&Ya(e.b)&&Ya(e.a);function Fne(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 Ine=(e,t)=>e<255?t(e):``;function Lne(e){var t=Pne(e)?Mne:Nne;return e?`#`+t(e.r)+t(e.g)+t(e.b)+Ine(e.a,t):void 0}var Rne=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Xa(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 zne(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 Bne(e,t,n){let r=Xa(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 Vne(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Vne(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Qa(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Wa)}function $a(e,t,n){return Qa(Xa,e,t,n)}function Hne(e,t,n){return Qa(Bne,e,t,n)}function Une(e,t,n){return Qa(zne,e,t,n)}function eo(e){return(e%360+360)%360}function Wne(e){let t=Rne.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?Ua(+t[5]):Wa(+t[5]));let i=eo(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Hne(i,a,o):t[1]===`hsv`?Une(i,a,o):$a(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function Gne(e,t){var n=Za(e);n[0]=eo(n[0]+t),n=$a(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Kne(e){if(!e)return;let t=Za(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 to={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`},no={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 qne(){let e={},t=Object.keys(no),n=Object.keys(to),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var ro;function Jne(e){ro||(ro=qne(),ro.transparent=[0,0,0,0]);let t=ro[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Yne=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Xne(e){let t=Yne.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 Zne(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Ga(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var io=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,ao=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Qne(e,t,n){let r=ao(Ga(e.r)),i=ao(Ga(e.g)),a=ao(Ga(e.b));return{r:Wa(io(r+n*(ao(Ga(t.r))-r))),g:Wa(io(i+n*(ao(Ga(t.g))-i))),b:Wa(io(a+n*(ao(Ga(t.b))-a))),a:e.a+n*(t.a-e.a)}}function oo(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=$a(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function so(e,t){return e&&Object.assign(t||{},e)}function co(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=so(e,{r:0,g:0,b:0,a:1}),t.a=Wa(t.a)),t}function lo(e){return e.charAt(0)===`r`?Xne(e):Wne(e)}var uo=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=co(t):n===`string`&&(r=Fne(t)||Jne(t)||lo(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=so(this._rgb);return e&&(e.a=Ga(e.a)),e}set rgb(e){this._rgb=co(e)}rgbString(){return this._valid?Zne(this._rgb):void 0}hexString(){return this._valid?Lne(this._rgb):void 0}hslString(){return this._valid?Kne(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=Qne(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 oo(this._rgb,2,e),this}darken(e){return oo(this._rgb,2,-e),this}saturate(e){return oo(this._rgb,1,e),this}desaturate(e){return oo(this._rgb,1,-e),this}rotate(e){return Gne(this._rgb,e),this}};function fo(){}var $ne=(()=>{let e=0;return()=>e++})();function po(e){return e==null}function mo(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 ho(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function go(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function _o(e,t){return go(e)?e:t}function vo(e,t){return e===void 0?t:e}var ere=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,yo=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function bo(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function xo(e,t,n,r){let i,a,o;if(mo(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 rre(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 ire(e){let t=rre(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function Oo(e,t){return(Do[t]||(Do[t]=ire(t)))(e)}function ko(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ao=e=>e!==void 0,jo=e=>typeof e==`function`,Mo=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function are(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var No=Math.PI,Po=2*No,ore=Po+No,Fo=1/0,sre=No/180,Io=No/2,Lo=No/4,Ro=No*2/3,zo=Math.log10,Bo=Math.sign;function Vo(e,t,n){return Math.abs(e-t)e-t).pop(),t}function lre(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function Uo(e){return!lre(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function ure(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function Wo(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 es(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var ts=(e,t,n,r)=>es(e,n,r?r=>{let i=e[r][t];return ie[r][t]es(e,n,r=>e[r][t]>=n);function mre(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+ko(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 rs(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)&&(ns.forEach(t=>{delete e[t]}),delete e._chartjs)}function is(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var as=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function os(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,as.call(window,()=>{r=!1,e.apply(t,n)}))}}function gre(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var ss=e=>e===`start`?`left`:e===`end`?`right`:`center`,cs=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,_re=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function ls(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(ts(c,u,d).lo,n?r:ts(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!po(e[s.axis]));i-=Math.max(0,e)}i=Qo(i,0,r-1)}if(m){let e=Math.max(ts(c,o.axis,f,!0).hi+1,n?0:ts(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!po(e[s.axis]));e+=Math.max(0,t)}a=Qo(e,i,r)-i}else a=r-i}return{start:i,count:a}}function us(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 ds=e=>e===0||e===1,fs=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*Po/n)),ps=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*Po/n)+1,ms={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*Io)+1,easeOutSine:e=>Math.sin(e*Io),easeInOutSine:e=>-.5*(Math.cos(No*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>ds(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=>ds(e)?e:fs(e,.075,.3),easeOutElastic:e=>ds(e)?e:ps(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return ds(e)?e:e<.5?.5*fs(e*2,t,n):.5+.5*ps(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+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-ms.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?ms.easeInBounce(e*2)*.5:ms.easeOutBounce(e*2-1)*.5+.5};function hs(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function gs(e){return hs(e)?e:new uo(e)}function _s(e){return hs(e)?e:new uo(e).saturate(.5).darken(.1).hexString()}var vre=[`x`,`y`,`borderWidth`,`radius`,`tension`],yre=[`color`,`borderColor`,`backgroundColor`];function bre(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:yre},numbers:{type:`number`,properties:vre}}),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 xre(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var vs=new Map;function Sre(e,t){t||={};let n=e+JSON.stringify(t),r=vs.get(n);return r||(r=new Intl.NumberFormat(e,t),vs.set(n,r)),r}function ys(e,t,n){return Sre(t,n).format(e)}var bs={values(e){return mo(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=Cre(e,n)}let o=zo(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),ys(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(zo(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?bs.numeric.call(this,e,t,n):``}};function Cre(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 xs={formatters:bs};function wre(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:xs.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 Ss=Object.create(null),Cs=Object.create(null);function ws(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)=>_s(t.backgroundColor),this.hoverBorderColor=(e,t)=>_s(t.borderColor),this.hoverColor=(e,t)=>_s(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 Ts(this,e,t)}get(e){return ws(this,e)}describe(e,t){return Ts(Cs,e,t)}override(e,t){return Ts(Ss,e,t)}route(e,t,n,r){let i=ws(this,e),a=ws(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 ho(e)?Object.assign({},t,e):vo(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}},[bre,xre,wre]);function Tre(e){return!e||po(e.size)||po(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function Ds(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 Ere(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 Ms(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,kre(e,a),c=0;c+e||0;function Ls(e,t){let n={},r=ho(t),i=r?Object.keys(t):t,a=ho(e)?r?n=>vo(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=Fre(a(e));return n}function Rs(e){return Ls(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function zs(e){return Ls(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function Bs(e){let t=Rs(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Vs(e,t){e||={},t||=Es.font;let n=vo(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=vo(e.style,t.style);r&&!(``+r).match(Nre)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:vo(e.family,t.family),lineHeight:Pre(vo(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:vo(e.weight,t.weight),string:``};return i.string=Tre(i),i}function Hs(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 Us(e,t){return Object.assign(Object.create(e),t)}function Ws(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=$s(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>Ws([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return Js(n,r,()=>Qs(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return ec(e).includes(t)},ownKeys(e){return ec(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function Gs(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Ks(e,r),setContext:t=>Gs(e,t,n,r),override:i=>Gs(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 Js(e,t,()=>Rre(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 Ks(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:jo(n)?n:()=>n,isIndexable:jo(r)?r:()=>r}}var Lre=(e,t)=>e?e+ko(t):t,qs=(e,t)=>ho(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Js(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function Rre(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return jo(s)&&o.isScriptable(t)&&(s=zre(t,s,e,n)),mo(s)&&s.length&&(s=Bre(t,s,e,o.isIndexable)),qs(t,s)&&(s=Gs(s,i,a&&a[t],o)),s}function zre(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=Xs(i._scopes,i,e,c)),c}function Bre(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(ho(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=Xs(r,i,e,c);t.push(Gs(n,a,o&&o[e],s))}}return t}function Ys(e,t,n){return jo(e)?e(t,n):e}var Vre=(e,t)=>e===!0?t:typeof e==`string`?Oo(t,e):void 0;function Hre(e,t,n,r,i){for(let a of t){let t=Vre(n,a);if(t){e.add(t);let a=Ys(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 Xs(e,t,n,r){let i=t._rootScopes,a=Ys(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=Zs(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=Zs(s,o,a,c,r),c===null)?!1:Ws(Array.from(s),[``],i,a,()=>Ure(t,n,r))}function Zs(e,t,n,r,i){for(;n;)n=Hre(e,t,n,r,i);return n}function Ure(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return mo(i)&&ho(n)?n:i||{}}function Qs(e,t,n,r){let i;for(let a of t)if(i=$s(Lre(a,e),n),i!==void 0)return qs(e,i)?Xs(n,r,e,i):i}function $s(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function ec(e){let t=e._keys;return t||=e._keys=Wre(e._scopes),t}function Wre(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 tc(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=Yo(a,i),c=Yo(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 qre(e,t,n){let r=e.length,i,a,o,s,c,l=nc(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)Yre(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 Qre(e,t){return cc(e).getPropertyValue(t)}var $re=[`top`,`right`,`bottom`,`left`];function lc(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=$re[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var eie=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function tie(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(eie(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 uc(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=cc(n),a=i.boxSizing===`border-box`,o=lc(i,`padding`),s=lc(i,`border`,`width`),{x:c,y:l,box:u}=tie(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 nie(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&oc(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=cc(a),s=lc(o,`border`,`width`),c=lc(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=sc(o.maxWidth,a,`clientWidth`),i=sc(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||Fo,maxHeight:i||Fo}}var dc=e=>Math.round(e*10)/10;function rie(e,t,n,r){let i=cc(e),a=lc(i,`margin`),o=sc(i.maxWidth,e,`clientWidth`)||Fo,s=sc(i.maxHeight,e,`clientHeight`)||Fo,c=nie(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=lc(i,`border`,`width`),t=lc(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=dc(Math.min(l,o,c.maxWidth)),u=dc(Math.min(u,s,c.maxHeight)),l&&!u&&(u=dc(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=dc(Math.floor(u*r))),{width:l,height:u}}function fc(e,t,n){let r=t||1,i=dc(e.height*r),a=dc(e.width*r);e.height=dc(e.height),e.width=dc(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 iie=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};ac()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function pc(e,t){let n=Qre(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function mc(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function aie(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 oie(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=mc(e,i,n),s=mc(i,a,n),c=mc(a,t,n);return mc(mc(o,s,n),mc(s,c,n),n)}var sie=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}}},cie=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function hc(e,t,n){return e?sie(t,n):cie()}function gc(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 _c(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function vc(e){return e===`angle`?{between:Zo,compare:dre,normalize:Xo}:{between:$o,compare:(e,t)=>e-t,normalize:e=>e}}function yc({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 lie(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=vc(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(yc({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(yc({start:g,end:d,loop:f,count:o,style:p})),m}function xc(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 die(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 fie(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=uie(n,i,a,r);return r===!0?Sc(e,[{start:o,end:s,loop:a}],n,t):Sc(e,die(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,as.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)}},Oc=`transparent`,hie={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=gs(e||Oc),i=r.valid&&gs(t||Oc);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},kc=class{constructor(e,t,n,r){let i=t[n];r=Hs([e.to,r,i,e.from]);let a=Hs([e.from,i,r]);this._active=!0,this._fn=e.fn||hie[e.type||typeof a],this._easing=ms[e.easing]||ms.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=Hs([e.to,t,r,e.from]),this._from=Hs([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;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)):(this._target[r]=o,this._notify(!0))}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(!ho(i))return;let a={};for(let e of t)a[e]=i[e];(mo(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=_ie(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&gie(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}u.cancel()}!d||!d.duration?e[c]=l:(i[c]=u=new kc(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 Dc.add(this._chart,n),!0}};function gie(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function Lc(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=bie(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function Cie(e,t){return Us(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function zc(e,t,n){return Us(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Bc(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 Vc=e=>e===`reset`||e===`none`,Hc=(e,t)=>t?e:Object.assign({},e),wie=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Nc(n,!0),values:null},Uc=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&&Bc(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=vo(n.xAxisID,Rc(e,`x`)),a=t.yAxisID=vo(n.yAxisID,Rc(e,`y`)),o=t.rAxisID=vo(n.rAxisID,Rc(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&&rs(this._data,this),e._stacked&&Bc(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(ho(t)){let e=this._cachedMeta;this._data=yie(t,e)}else if(n!==t){if(n){rs(n,this);let e=this._cachedMeta;Bc(e),e._parsed=[]}t&&Object.isExtensible(t)&&hre(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,Bc(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Lc(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||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=mo(r[e])?this.parseArrayData(n,r,e,t):ho(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(Hc(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 Ac(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||Vc(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){Vc(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Vc(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 Eie(e){let t=e.iScale,n=Tie(t,e.type),r=t._length,i,a,o,s,c=()=>{o!==32767&&o!==-32768&&(Ao(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 Wc(e,t,n,r){return mo(e)?kie(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Gc(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):Bo(e)}function jie(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(po(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[vo(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;dZo(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>Zo(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(Io,u,f),_=m(No,l,d),v=m(No+Io,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 $c=class extends Uc{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(ho(n[e])){let{key:e=`value`}=this._parsing;i=t=>+Oo(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*Po:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=ys(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=po(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()}},tl=class extends Uc{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=ys(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return tc.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*No,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)?Go(this.resolveDataElementOptions(e,t).angle||n):0}},Pie=Object.freeze({__proto__:null,BarController:Xc,BubbleController:Zc,DoughnutController:$c,LineController:el,PieController:class extends $c{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:tl,RadarController:class extends Uc{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 tc.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 nl(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var Fie={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return nl()}parse(){return nl()}format(){return nl()}add(){return nl()}diff(){return nl()}startOf(){return nl()}endOf(){return nl()}}};function Iie(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?pre:ts;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=>!po(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!po(e[t.axis]));r.hi+=Math.max(0,o)}return r}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 rl(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 zie={evaluateInteractionItems:rl,modes:{index(e,t,n,r){let i=uc(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?il(e,i,a,r,o):ol(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=uc(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?il(e,i,a,r,o):ol(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 Vie(e,t){return e.filter(e=>Bie.indexOf(e.pos)===-1&&e.box.axis===t)}function ll(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 ul(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=ll(cl(t,`left`),!0),i=ll(cl(t,`right`)),a=ll(cl(t,`top`),!0),o=ll(cl(t,`bottom`)),s=Vie(t,`x`),c=Vie(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:cl(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Wie(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function fl(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 Gie(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!ho(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&&fl(o,a.getPadding());let s=Math.max(0,t.outerWidth-Wie(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Wie(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 Kie(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 qie(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 pl(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);fl(f,Bs(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=Hie(c.concat(l),d);pl(s.fullSize,p,d,m),pl(c,p,d,m),pl(l,p,d,m)&&pl(c,p,d,m),Kie(p),hl(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,hl(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},xo(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})})}},Jie=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){}},Yie=class extends Jie{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},_l=`$chartjs`,Xie={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},Zie=e=>e===null||e===``;function Qie(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[_l]={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`,Zie(i)){let t=pc(e,`width`);t!==void 0&&(e.width=t)}if(Zie(r)){if(e.style.height===``)e.height=e.width/(t||2);else{let t=pc(e,`height`);t!==void 0&&(e.height=t)}}return e}var $ie=iie?{passive:!0}:!1;function eae(e,t,n){e&&e.addEventListener(t,n,$ie)}function tae(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,$ie)}function nae(e,t){let n=Xie[e.type]||e.type,{x:r,y:i}=uc(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function vl(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function rae(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=vl(n.addedNodes,r),t&&=!vl(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function iae(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=vl(n.removedNodes,r),t&&=!vl(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var yl=new Map,aae=0;function oae(){let e=window.devicePixelRatio;e!==aae&&(aae=e,yl.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function sae(e,t){yl.size||window.addEventListener(`resize`,oae),yl.set(e,t)}function cae(e){yl.delete(e),yl.size||window.removeEventListener(`resize`,oae)}function lae(e,t,n){let r=e.canvas,i=r&&oc(r);if(!i)return;let a=os((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),sae(e,a),o}function bl(e,t,n){n&&n.disconnect(),t===`resize`&&cae(e)}function xl(e,t,n){let r=e.canvas,i=os(t=>{e.ctx!==null&&n(nae(t,e))},e);return eae(r,t,i),i}var Sl=class extends Jie{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[_l])return!1;let n=t[_l].initial;[`height`,`width`].forEach(e=>{let r=n[e];po(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[_l],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:rae,detach:iae,resize:lae}[t]||xl)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:bl,detach:bl,resize:bl}[t]||tae)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return rie(e,t,n,r)}isAttached(e){let t=e&&oc(e);return!!(t&&t.isConnected)}};function Cl(e){return!ac()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?Yie:Sl}var wl=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 Uo(this.x)&&Uo(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 Tl(e,t){let n=e.options.ticks,r=El(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?Ol(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return kl(t,l,a,o/i),l;let u=Dl(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(Al(t,l,u,po(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function Ol(e){let t=[],n,r;for(n=0,r=e.length;ne===`left`?`right`:e===`right`?`left`:e,Nl=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,Pl=(e,t)=>Math.min(t||e,e);function Fl(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function Ll(e,t){xo(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:_o(t,_o(n,t)),max:_o(n,_o(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(){bo(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=Ire(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=Qo(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-Rl(e.grid)-t.padding-zl(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=Ko(Math.min(Math.asin(Qo((l.highest.height+6)/o,-1,1)),Math.asin(Qo(s/c,-1,1))-Math.asin(Qo(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){bo(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){bo(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=zl(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=Rl(i)+a):(e.height=this.maxHeight,e.width=Rl(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=Go(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(){bo(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 fre(this._alignToPixels?Os(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=Rl(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Os(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(ho(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(ho(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=vo(r.ticks.maxTicksLimit,l),ae=Math.max(1,Math.ceil(l/ie));for(_=0;_0&&(a-=r/2)}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(-Go(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(`.`);Es.route(a,i,c,s)})}function Ul(e){return`id`in e&&`defaults`in e}var Wl=new class{constructor(){this.controllers=new Hl(Uc,`datasets`,!0),this.elements=new Hl(wl,`elements`),this.plugins=new Hl(Object,`plugins`),this.scales=new Hl(Vl,`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):xo(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=ko(e);bo(n[`before`+r],[],n),t[e](n),bo(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 Kl(e){let t={},n=[],r=Object.keys(Wl.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 Zl(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function yae(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 Zl(e,`x`,n[0])||Zl(e,`y`,n[0])}return{}}function bae(e,t){let n=Ss[e.type]||{scales:{}},r=t.scales||{},i=Jl(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!ho(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=Xl(t,o,yae(t,e),Es.scales[o.type]),c=_ae(s,i),l=n.scales||{};a[t]=Eo(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Jl(i,t),s=(Ss[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=gae(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),Eo(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];Eo(t,[Es.scales[t.type],Es.scale])}),a}function Ql(e){let t=e.options||={};t.plugins=vo(t.plugins,{}),t.scales=bae(e,t)}function $l(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function xae(e){return e||={},e.data=$l(e.data),Ql(e),e}var eu=new Map,tu=new Set;function nu(e,t){let n=eu.get(e);return n||(n=t(),eu.set(e,n),tu.add(n)),n}var ru=(e,t,n)=>{let r=Oo(t,n);r!==void 0&&e.add(r)},Sae=class{constructor(e){this._config=xae(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=$l(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(),Ql(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return nu(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return nu(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return nu(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return nu(`${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=>ru(s,e,t))),t.forEach(e=>ru(s,r,e)),t.forEach(e=>ru(s,Ss[i]||{},e)),t.forEach(e=>ru(s,Es,e)),t.forEach(e=>ru(s,Cs,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),tu.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,Ss[t]||{},Es.datasets[t]||{},{type:t},Es,Cs]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=iu(this._resolverCache,e,r),s=a;if(Cae(a,t)){i.$shared=!1,n=jo(n)?n():n;let t=this.createResolver(e,n,o);s=Gs(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=iu(this._resolverCache,e,n);return ho(t)?Gs(i,t,void 0,r):i}};function iu(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:Ws(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var au=e=>ho(e)&&Object.getOwnPropertyNames(e).some(t=>jo(e[t]));function Cae(e,t){let{isScriptable:n,isIndexable:r}=Ks(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(jo(o)||au(o))||a&&mo(o))return!0}return!1}var wae=`4.5.1`,Tae=[`top`,`bottom`,`left`,`right`,`chartArea`];function ou(e,t){return e===`top`||e===`bottom`||Tae.indexOf(e)===-1&&t===`x`}function su(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function cu(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),bo(n&&n.onComplete,[e],t)}function lu(e){let t=e.chart,n=t.options.animation;bo(n&&n.onProgress,[e],t)}function uu(e){return ac()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var du={},fu=e=>{let t=uu(e);return Object.values(du).filter(e=>e.canvas===t).pop()};function pu(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 Eae(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var mu=class{static defaults=Es;static instances=du;static overrides=Ss;static registry=Wl;static version=wae;static getChart=fu;static register(...e){Wl.add(...e),hu()}static unregister(...e){Wl.remove(...e),hu()}constructor(e,t){let n=this.config=new Sae(t),r=uu(e),i=fu(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||(Cl(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;this.id=$ne(),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 Gl,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=gre(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],du[this.id]=this,!o||!s?console.error(`Failed to create chart: can't acquire context from the given item`):(Dc.listen(this,`complete`,cu),Dc.listen(this,`progress`,lu),this._initialize(),this.attached&&this.update())}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return po(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 Wl}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():fc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return ks(this.canvas,this.ctx),this}stop(){return Dc.stop(this),this}resize(e,t){Dc.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,fc(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),bo(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){xo(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=Xl(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),xo(i,t=>{let i=t.options,a=i.id,o=Xl(a,i),s=vo(i.type,t.dtype);(i.position===void 0||ou(i.position,o)!==ou(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(Wl.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),xo(r,(e,t)=>{e||delete n[t]}),xo(n,e=>{gl.configure(this,e,e.options),gl.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(su(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){xo(this.scales,e=>{gl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!Mo(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)pu(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;gl.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],xo(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=Ec(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&Ns(t,r),e.controller.draw(),r&&Ps(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Ms(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=zie.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||=Us(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);Ao(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(),Dc.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)};xo(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(){xo(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},xo(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=are(e),c=Eae(e,this._lastEvent,n,s);n&&(this._lastEvent=null,bo(i.onHover,[e,o,this],this),s&&bo(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 hu(){return xo(mu.instances,e=>e._plugins.invalidate())}function Dae(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,Xo(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,Xo(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Xo(r-n));if(u===`round`)e.arc(i,a,t,n-No/2,r+No/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+No/2)+i,c=-o*Math.sin(n+No/2)+a,l=o*Math.cos(r+No/2)+i,u=o*Math.sin(r+No/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 Oae(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+Io,r-Io),e.closePath(),e.clip()}function kae(e){return Ls(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function Aae(e,t,n,r){let i=kae(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 Qo(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:Qo(i.innerStart,0,o),innerEnd:Qo(i.innerEnd,0,o)}}function gu(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function _u(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/No)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=Aae(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=gu(ee,ne,o,s);e.arc(t.x,t.y,y,ne,_+Io)}let n=gu(re,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=gu(re,ae,o,s);e.arc(t.x,t.y,x,_+Io,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=gu(C,ie,o,s);e.arc(t.x,t.y,b,ie+Math.PI,g-Io)}let i=gu(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=gu(S,te,o,s);e.arc(t.x,t.y,v,g-Io,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 jae(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){_u(e,t,n,r,c,i);for(let t=0;t=No&&p===0&&u!==`miter`&&Dae(e,t,h),a||(_u(e,t,n,r,h,i),e.stroke())}var vu=class extends wl{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}=Jo(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=vo(l,o-a),f=Zo(r,a,o)&&a!==o,p=d>=Po||f,m=$o(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>Po?Math.floor(n/Po):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(No,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,jae(e,this,s,i,a),Mae(e,this,s,i,a),e.restore()}};function yu(e,t,n=t){e.lineCap=vo(n.borderCapStyle,t.borderCapStyle),e.setLineDash(vo(n.borderDash,t.borderDash)),e.lineDashOffset=vo(n.borderDashOffset,t.borderDashOffset),e.lineJoin=vo(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=vo(n.borderWidth,t.borderWidth),e.strokeStyle=vo(n.borderColor,t.borderColor)}function Nae(e,t,n){e.lineTo(n.x,n.y)}function Pae(e){return e.stepped?Dre:e.tension||e.cubicInterpolationMode===`monotone`?Ore:Nae}function bu(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 xu(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?Iae:Fae}function Lae(e){return e.stepped?aie:e.tension||e.cubicInterpolationMode===`monotone`?oie:mc}function Rae(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),yu(e,t.options),e.stroke(i)}function Su(e,t,n,r){let{segments:i,options:a}=t,o=xu(t);for(let s of i)yu(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var zae=typeof Path2D==`function`;function Bae(e,t,n,r){zae&&!t.options.segment?Rae(e,t,n,r):Su(e,t,n,r)}var Cu=class extends wl{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;Zre(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||=fie(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=xc(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=Lae(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function ju(e){return ku[e%ku.length]}function Mu(e){return Au[e%Au.length]}function Jae(e,t){return e.borderColor=ju(t),e.backgroundColor=Mu(t),++t}function Yae(e,t){return e.backgroundColor=e.data.map(()=>ju(t++)),t}function Xae(e,t){return e.backgroundColor=e.data.map(()=>Mu(t++)),t}function Zae(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof $c?t=Yae(n,t):i instanceof tl?t=Xae(n,t):i&&(t=Jae(n,t))}}function Nu(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function Qae(e){return e&&(e.borderColor||e.backgroundColor)}function $ae(){return Es.borderColor!==`rgba(0,0,0,0.1)`||Es.backgroundColor!==`rgba(0,0,0,0.1)`}var eoe={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=Nu(r)||Qae(i)||a&&Nu(a)||$ae();if(!n.forceOverride&&o)return;let s=Zae(e);r.forEach(s)}};function toe(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 noe(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(!po(d)&&!po(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 Pu(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 Fu(e){e.data.datasets.forEach(e=>{Pu(e)})}function roe(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=Qo(ts(t,a.axis,o).lo,0,n-1)),i=l?Qo(ts(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var ioe={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){Fu(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(Hs([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}=roe(s,c);if(d<=(n.threshold||4*r)){Pu(t);return}po(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=toe(c,u,d,r,n);break;case`min-max`:f=noe(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){Fu(e)}};function aoe(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=Lu(r,s,i);let c=Iu(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=xc(t,c);for(let t of l){let r=Iu(n,a[t.start],a[t.end],t.loop),s=bc(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:soe(c,r,`start`,Math.max)},end:{[n]:soe(c,r,`end`,Math.min)}})}}return o}function Iu(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Xo(i),a=Xo(a)),{property:e,start:i,end:a}}function ooe(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=Lu(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 Lu(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function soe(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function coe(e,t){let n=[],r=!1;return mo(e)?(r=!0,n=e):n=ooe(e,t),n.length?new Cu({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function loe(e){return e&&e.fill!==!1}function uoe(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!go(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function doe(e,t,n){let r=hoe(e);if(ho(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return go(i)&&Math.floor(i)===i?foe(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function foe(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function poe(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:ho(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function moe(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:ho(e)?e.value:t.getBaseValue(),r}function hoe(e){let t=e.options,n=t.fill,r=vo(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function goe(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=_oe(t,n);s.push(coe({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&&Ru(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;loe(n)&&Ru(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;loe(r)&&n.drawTime===`beforeDatasetDraw`&&Ru(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Aoe=(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)}},joe=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Moe=class extends wl{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=bo(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=Vs(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Aoe(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}=Noe(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=hc(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=cs(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=cs(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=cs(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=cs(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;Ns(e,this),this._draw(),Ps(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=Es.color,s=hc(e.rtl,this.left,this.width),c=Vs(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}=Aoe(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=vo(n.lineWidth,1);if(r.fillStyle=vo(n.fillStyle,o),r.lineCap=vo(n.lineCap,`butt`),r.lineDashOffset=vo(n.lineDashOffset,0),r.lineJoin=vo(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=vo(n.strokeStyle,o),r.setLineDash(vo(n.lineDash,[])),a.usePointStyle){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;js(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=zs(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?Is(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){Fs(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:cs(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:cs(i,this.top+y+l,this.bottom-t[0].height),line:0},gc(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;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(ee=f.y+=b,f.line++,S=f.x=cs(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=cs(i,this.top+y+l,this.bottom-t[f.line].height));let te=s.x(S);if(g(te,ee,o),S=_re(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+=Ioe(o,e)+l}else f.y+=b}),_c(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=Vs(t.font),r=Bs(t.padding);if(!t.display)return;let i=hc(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=cs(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+cs(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=cs(o,u,u+d);a.textAlign=i.textAlign(ss(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Fs(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=Vs(e.font),n=Bs(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if($o(e,this.left,this.right)&&$o(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 Foe(e,t,n){let r=e;return typeof t.text!=`string`&&(r=Ioe(t,n)),r}function Ioe(e,t){return t*(e.text?e.text.length:0)}function Loe(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var Roe={id:`legend`,_element:Moe,start(e,t,n){let r=e.legend=new Moe({ctx:e.ctx,options:n,chart:e});gl.configure(e,r,n),gl.addBox(e,r)},stop(e){gl.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;gl.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=Bs(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)}}},Hu=class extends wl{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=mo(n.text)?n.text.length:1;this._padding=Bs(n.padding);let i=r*Vs(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=cs(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=cs(o,r,t),s=No*-.5):(l=i-e,u=cs(o,t,r),s=No*.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=Vs(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);Fs(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:ss(t.align),textBaseline:`middle`,translation:[i,a]})}};function zoe(e,t){let n=new Hu({ctx:e.ctx,options:t,chart:e});gl.configure(e,n,t),gl.addBox(e,n),e.titleBlock=n}var Boe={id:`title`,_element:Hu,start(e,t,n){zoe(e,n)},stop(e){let t=e.titleBlock;gl.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;gl.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}},Uu=new WeakMap,Voe={id:`subtitle`,start(e,t,n){let r=new Hu({ctx:e.ctx,options:n,chart:e});gl.configure(e,r,n),gl.addBox(e,r),Uu.set(e,r)},stop(e){gl.removeBox(e,Uu.get(e)),Uu.delete(e)},beforeUpdate(e,t,n){let r=Uu.get(e);gl.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}},Wu={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 Va(e){return Ba(za(e*2.55),0,255)}function Ha(e){return Ba(za(e*255),0,255)}function Ua(e){return Ba(za(e/2.55)/100,0,1)}function Wa(e){return Ba(za(e*100),0,100)}var Ga={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},Ka=[...`0123456789ABCDEF`],Rne=e=>Ka[e&15],zne=e=>Ka[(e&240)>>4]+Ka[e&15],qa=e=>(e&240)>>4==(e&15),Bne=e=>qa(e.r)&&qa(e.g)&&qa(e.b)&&qa(e.a);function Vne(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&Ga[e[1]]*17,g:255&Ga[e[2]]*17,b:255&Ga[e[3]]*17,a:t===5?Ga[e[4]]*17:255}:(t===7||t===9)&&(n={r:Ga[e[1]]<<4|Ga[e[2]],g:Ga[e[3]]<<4|Ga[e[4]],b:Ga[e[5]]<<4|Ga[e[6]],a:t===9?Ga[e[7]]<<4|Ga[e[8]]:255})),n}var Hne=(e,t)=>e<255?t(e):``;function Une(e){var t=Bne(e)?Rne:zne;return e?`#`+t(e.r)+t(e.g)+t(e.b)+Hne(e.a,t):void 0}var Wne=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ja(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 Gne(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 Ya(e,t,n){let r=Ja(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 Kne(e,t,n,r,i){return e===i?(t-n)/r+(t.5?l/(2-i-a):l/(i+a),s=Kne(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Za(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Ha)}function Qa(e,t,n){return Za(Ja,e,t,n)}function qne(e,t,n){return Za(Ya,e,t,n)}function Jne(e,t,n){return Za(Gne,e,t,n)}function $a(e){return(e%360+360)%360}function eo(e){let t=Wne.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?Va(+t[5]):Ha(+t[5]));let i=$a(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?qne(i,a,o):t[1]===`hsv`?Jne(i,a,o):Qa(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function Yne(e,t){var n=Xa(e);n[0]=$a(n[0]+t),n=Qa(n),e.r=n[0],e.g=n[1],e.b=n[2]}function to(e){if(!e)return;let t=Xa(e),n=t[0],r=Wa(t[1]),i=Wa(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${Ua(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var Xne={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`},Zne={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 Qne(){let e={},t=Object.keys(Zne),n=Object.keys(Xne),r,i,a,o,s;for(r=0;r>16&255,a>>8&255,a&255]}return e}var no;function $ne(e){no||(no=Qne(),no.transparent=[0,0,0,0]);let t=no[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var ere=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function tre(e){let t=ere.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?Va(e):Ba(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?Va(r):Ba(r,0,255)),i=255&(t[4]?Va(i):Ba(i,0,255)),a=255&(t[6]?Va(a):Ba(a,0,255)),{r,g:i,b:a,a:n}}}function nre(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Ua(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var ro=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,io=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function ao(e,t,n){let r=io(Ua(e.r)),i=io(Ua(e.g)),a=io(Ua(e.b));return{r:Ha(ro(r+n*(io(Ua(t.r))-r))),g:Ha(ro(i+n*(io(Ua(t.g))-i))),b:Ha(ro(a+n*(io(Ua(t.b))-a))),a:e.a+n*(t.a-e.a)}}function oo(e,t,n){if(e){let r=Xa(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Qa(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function so(e,t){return e&&Object.assign(t||{},e)}function co(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=Ha(e[3]))):(t=so(e,{r:0,g:0,b:0,a:1}),t.a=Ha(t.a)),t}function rre(e){return e.charAt(0)===`r`?tre(e):eo(e)}var lo=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=co(t):n===`string`&&(r=Vne(t)||$ne(t)||rre(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=so(this._rgb);return e&&(e.a=Ua(e.a)),e}set rgb(e){this._rgb=co(e)}rgbString(){return this._valid?nre(this._rgb):void 0}hexString(){return this._valid?Une(this._rgb):void 0}hslString(){return this._valid?to(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=ao(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=Ha(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=za(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 oo(this._rgb,2,e),this}darken(e){return oo(this._rgb,2,-e),this}saturate(e){return oo(this._rgb,1,e),this}desaturate(e){return oo(this._rgb,1,-e),this}rotate(e){return Yne(this._rgb,e),this}};function uo(){}var ire=(()=>{let e=0;return()=>e++})();function fo(e){return e==null}function po(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 mo(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function ho(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function go(e,t){return ho(e)?e:t}function _o(e,t){return e===void 0?t:e}var vo=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100:+e/t,yo=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function bo(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function xo(e,t,n,r){let i,a,o;if(po(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 sre(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 cre(e){let t=sre(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function Oo(e,t){return(Do[t]||(Do[t]=cre(t)))(e)}function ko(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ao=e=>e!==void 0,jo=e=>typeof e==`function`,lre=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function ure(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var Mo=Math.PI,No=2*Mo,Po=No+Mo,Fo=1/0,dre=Mo/180,Io=Mo/2,Lo=Mo/4,Ro=Mo*2/3,zo=Math.log10,Bo=Math.sign;function Vo(e,t,n){return Math.abs(e-t)e-t).pop(),t}function pre(e){return typeof e==`symbol`||typeof e==`object`&&!!e&&!(Symbol.toPrimitive in e||`toString`in e||`valueOf`in e)}function Uo(e){return!pre(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function mre(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function Wo(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 es(e,t,n){n||=(n=>e[n]1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var ts=(e,t,n,r)=>es(e,n,r?r=>{let i=e[r][t];return ie[r][t]es(e,n,r=>e[r][t]>=n);function vre(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{let n=`_onData`+ko(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 rs(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)&&(ns.forEach(t=>{delete e[t]}),delete e._chartjs)}function is(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var as=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function os(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,as.call(window,()=>{r=!1,e.apply(t,n)}))}}function bre(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var ss=e=>e===`start`?`left`:e===`end`?`right`:`center`,cs=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,xre=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function ls(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(ts(c,u,d).lo,n?r:ts(t,u,o.getPixelForValue(d)).lo),l){let e=c.slice(0,i+1).reverse().findIndex(e=>!fo(e[s.axis]));i-=Math.max(0,e)}i=Qo(i,0,r-1)}if(m){let e=Math.max(ts(c,o.axis,f,!0).hi+1,n?0:ts(t,u,o.getPixelForValue(f),!0).hi+1);if(l){let t=c.slice(e-1).findIndex(e=>!fo(e[s.axis]));e+=Math.max(0,t)}a=Qo(e,i,r)-i}else a=r-i}return{start:i,count:a}}function us(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 ds=e=>e===0||e===1,fs=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*No/n)),ps=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*No/n)+1,ms={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*Io)+1,easeOutSine:e=>Math.sin(e*Io),easeInOutSine:e=>-.5*(Math.cos(Mo*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>ds(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=>ds(e)?e:fs(e,.075,.3),easeOutElastic:e=>ds(e)?e:ps(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return ds(e)?e:e<.5?.5*fs(e*2,t,n):.5+.5*ps(e*2-1,t,n)},easeInBack(e){return e*e*(2.70158*e-1.70158)},easeOutBack(e){return--e*e*(2.70158*e+1.70158)+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-ms.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?ms.easeInBounce(e*2)*.5:ms.easeOutBounce(e*2-1)*.5+.5};function hs(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function gs(e){return hs(e)?e:new lo(e)}function _s(e){return hs(e)?e:new lo(e).saturate(.5).darken(.1).hexString()}var Sre=[`x`,`y`,`borderWidth`,`radius`,`tension`],Cre=[`color`,`borderColor`,`backgroundColor`];function wre(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:Cre},numbers:{type:`number`,properties:Sre}}),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 Tre(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var vs=new Map;function Ere(e,t){t||={};let n=e+JSON.stringify(t),r=vs.get(n);return r||(r=new Intl.NumberFormat(e,t),vs.set(n,r)),r}function ys(e,t,n){return Ere(t,n).format(e)}var bs={values(e){return po(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=Dre(e,n)}let o=zo(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),ys(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(zo(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?bs.numeric.call(this,e,t,n):``}};function Dre(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 xs={formatters:bs};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:xs.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 Ss=Object.create(null),Cs=Object.create(null);function ws(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)=>_s(t.backgroundColor),this.hoverBorderColor=(e,t)=>_s(t.borderColor),this.hoverColor=(e,t)=>_s(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 Ts(this,e,t)}get(e){return ws(this,e)}describe(e,t){return Ts(Cs,e,t)}override(e,t){return Ts(Ss,e,t)}route(e,t,n,r){let i=ws(this,e),a=ws(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 mo(e)?Object.assign({},t,e):_o(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}},[wre,Tre,Ore]);function kre(e){return!e||fo(e.size)||fo(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function Ds(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 Are(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 Ms(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,Nre(e,a),c=0;c+e||0;function Ls(e,t){let n={},r=mo(t),i=r?Object.keys(t):t,a=mo(e)?r?n=>_o(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=zre(a(e));return n}function Rs(e){return Ls(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function zs(e){return Ls(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function Bs(e){let t=Rs(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Vs(e,t){e||={},t||=Es.font;let n=_o(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=_o(e.style,t.style);r&&!(``+r).match(Lre)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:_o(e.family,t.family),lineHeight:Rre(_o(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:_o(e.weight,t.weight),string:``};return i.string=kre(i),i}function Hs(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 Us(e,t){return Object.assign(Object.create(e),t)}function Ws(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=Xre(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>Ws([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return Js(n,r,()=>Yre(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return Zs(e).includes(t)},ownKeys(e){return Zs(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function Gs(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Ks(e,r),setContext:t=>Gs(e,t,n,r),override:i=>Gs(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 Js(e,t,()=>Hre(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 Ks(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:jo(n)?n:()=>n,isIndexable:jo(r)?r:()=>r}}var Vre=(e,t)=>e?e+ko(t):t,qs=(e,t)=>mo(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Js(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t===`constructor`)return e[t];let r=n();return e[t]=r,r}function Hre(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return jo(s)&&o.isScriptable(t)&&(s=Ure(t,s,e,n)),po(s)&&s.length&&(s=Wre(t,s,e,o.isIndexable)),qs(t,s)&&(s=Gs(s,i,a&&a[t],o)),s}function Ure(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=Xs(i._scopes,i,e,c)),c}function Wre(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(mo(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=Xs(r,i,e,c);t.push(Gs(n,a,o&&o[e],s))}}return t}function Gre(e,t,n){return jo(e)?e(t,n):e}var Kre=(e,t)=>e===!0?t:typeof e==`string`?Oo(t,e):void 0;function Ys(e,t,n,r,i){for(let a of t){let t=Kre(n,a);if(t){e.add(t);let a=Gre(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 Xs(e,t,n,r){let i=t._rootScopes,a=Gre(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=qre(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=qre(s,o,a,c,r),c===null)?!1:Ws(Array.from(s),[``],i,a,()=>Jre(t,n,r))}function qre(e,t,n,r,i){for(;n;)n=Ys(e,t,n,r,i);return n}function Jre(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return po(i)&&mo(n)?n:i||{}}function Yre(e,t,n,r){let i;for(let a of t)if(i=Xre(Vre(a,e),n),i!==void 0)return qs(e,i)?Xs(n,r,e,i):i}function Xre(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function Zs(e){let t=e._keys;return t||=e._keys=Zre(e._scopes),t}function Zre(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 Qs(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 $re(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=Yo(a,i),c=Yo(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 eie(e,t,n){let r=e.length,i,a,o,s,c,l=$s(e,0);for(let u=0;u!e.skip)),t.cubicInterpolationMode===`monotone`)nie(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 aie(e,t){return ac(e).getPropertyValue(t)}var oie=[`top`,`right`,`bottom`,`left`];function oc(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=oie[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var sie=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function cie(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(sie(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 sc(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=ac(n),a=i.boxSizing===`border-box`,o=oc(i,`padding`),s=oc(i,`border`,`width`),{x:c,y:l,box:u}=cie(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 lie(e,t,n){let r,i;if(t===void 0||n===void 0){let a=e&&rc(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=ac(a),s=oc(o,`border`,`width`),c=oc(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=ic(o.maxWidth,a,`clientWidth`),i=ic(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||Fo,maxHeight:i||Fo}}var cc=e=>Math.round(e*10)/10;function uie(e,t,n,r){let i=ac(e),a=oc(i,`margin`),o=ic(i.maxWidth,e,`clientWidth`)||Fo,s=ic(i.maxHeight,e,`clientHeight`)||Fo,c=lie(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=oc(i,`border`,`width`),t=oc(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=cc(Math.min(l,o,c.maxWidth)),u=cc(Math.min(u,s,c.maxHeight)),l&&!u&&(u=cc(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=cc(Math.floor(u*r))),{width:l,height:u}}function lc(e,t,n){let r=t||1,i=cc(e.height*r),a=cc(e.width*r);e.height=cc(e.height),e.width=cc(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 die=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};nc()&&(window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t))}catch{}return e}();function uc(e,t){let n=aie(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function dc(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function fie(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 pie(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=dc(e,i,n),s=dc(i,a,n),c=dc(a,t,n);return dc(dc(o,s,n),dc(s,c,n),n)}var mie=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}}},hie=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function fc(e,t,n){return e?mie(t,n):hie()}function pc(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 mc(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function hc(e){return e===`angle`?{between:Zo,compare:hre,normalize:Xo}:{between:$o,compare:(e,t)=>e-t,normalize:e=>e}}function gc({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 gie(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=hc(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(gc({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(gc({start:g,end:d,loop:f,count:o,style:p})),m}function vc(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 vie(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 yie(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=_ie(n,i,a,r);return r===!0?yc(e,[{start:o,end:s,loop:a}],n,t):yc(e,vie(n,o,sr({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,as.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)}},Tc=`transparent`,Sie={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=gs(e||Tc),i=r.valid&&gs(t||Tc);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},Ec=class{constructor(e,t,n,r){let i=t[n];r=Hs([e.to,r,i,e.from]);let a=Hs([e.from,i,r]);this._active=!0,this._fn=e.fn||Sie[e.type||typeof a],this._easing=ms[e.easing]||ms.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=Hs([e.to,t,r,e.from]),this._from=Hs([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;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)):(this._target[r]=o,this._notify(!0))}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(!mo(i))return;let a={};for(let e of t)a[e]=i[e];(po(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=Oc(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&Cie(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}u.cancel()}!d||!d.duration?e[c]=l:(i[c]=u=new Ec(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 wc.add(this._chart,n),!0}};function Cie(e,t){let n=[],r=Object.keys(t);for(let t=0;t0||!n&&t<0)return i.index}return null}function Pc(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=Die(a,o,r),d=t.length,f;for(let e=0;en[e].axis===t).shift()}function Ic(e,t){return Us(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function Aie(e,t,n){return Us(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function Lc(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 Rc=e=>e===`reset`||e===`none`,zc=(e,t)=>t?e:Object.assign({},e),jie=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Ac(n,!0),values:null},Bc=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=Mc(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&&Lc(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=_o(n.xAxisID,Fc(e,`x`)),a=t.yAxisID=_o(n.yAxisID,Fc(e,`y`)),o=t.rAxisID=_o(n.rAxisID,Fc(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&&rs(this._data,this),e._stacked&&Lc(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(mo(t)){let e=this._cachedMeta;this._data=Eie(t,e)}else if(n!==t){if(n){rs(n,this);let e=this._cachedMeta;Lc(e),e._parsed=[]}t&&Object.isExtensible(t)&&yre(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=Mc(t.vScale,t),t.stack!==n.stack&&(r=!0,Lc(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Pc(this,t._parsed),t._stacked=Mc(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||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=po(r[e])?this.parseArrayData(n,r,e,t):mo(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(zc(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 Dc(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||Rc(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){Rc(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Rc(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 Nie(e){let t=e.iScale,n=Mie(t,e.type),r=t._length,i,a,o,s,c=()=>{o!==32767&&o!==-32768&&(Ao(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 Vc(e,t,n,r){return po(e)?Iie(e,t,n,r):t[n.axis]=n.parse(e,r),t}function Hc(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):Bo(e)}function Rie(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(fo(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[_o(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;dZo(e,s,c,!0)?1:Math.max(t,t*n,r,r*n),m=(e,t,r)=>Zo(e,s,c,!0)?-1:Math.min(t,t*n,r,r*n),h=p(0,l,d),g=p(Io,u,f),_=m(Mo,l,d),v=m(Mo+Io,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 Xc=class extends Bc{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(mo(n[e])){let{key:e=`value`}=this._parsing;i=t=>+Oo(n[t],e)}let a,o;for(a=e,o=e+t;a0&&!isNaN(e)?Math.abs(e)/t*No:0}getLabelAndValue(e){let t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=ys(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=fo(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()}},Hie=class extends Bc{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=ys(t._parsed[e].r,n.options.locale);return{label:r[e]||``,value:i}}parseObjectData(e,t,n,r){return Qs.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*Mo,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)?Go(this.resolveDataElementOptions(e,t).angle||n):0}},Uie=Object.freeze({__proto__:null,BarController:Yc,BubbleController:zie,DoughnutController:Xc,LineController:Vie,PieController:class extends Xc{static id=`pie`;static defaults={cutout:0,rotation:0,circumference:360,radius:`100%`}},PolarAreaController:Hie,RadarController:class extends Bc{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 Qs.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 Zc(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var Qc={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return Zc()}parse(){return Zc()}format(){return Zc()}add(){return Zc()}diff(){return Zc()}startOf(){return Zc()}endOf(){return Zc()}}};function $c(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?_re:ts;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=>!fo(e[t.axis]));r.lo-=Math.max(0,a);let o=n.slice(r.hi).findIndex(e=>!fo(e[t.axis]));r.hi+=Math.max(0,o)}return r}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 el(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 il={evaluateInteractionItems:el,modes:{index(e,t,n,r){let i=sc(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?nl(e,i,a,r,o):rl(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=sc(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?nl(e,i,a,r,o):rl(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 qie(e,t){return e.filter(e=>al.indexOf(e.pos)===-1&&e.box.axis===t)}function sl(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 Jie(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;ne.box.fullSize),!0),r=sl(ol(t,`left`),!0),i=sl(ol(t,`right`)),a=sl(ol(t,`top`),!0),o=sl(ol(t,`bottom`)),s=qie(t,`x`),c=qie(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:ol(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function Qie(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function cl(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 $ie(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!mo(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&&cl(o,a.getPadding());let s=Math.max(0,t.outerWidth-Qie(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-Qie(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 ll(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 ul(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 dl(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);cl(f,Bs(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=Xie(c.concat(l),d);dl(s.fullSize,p,d,m),dl(c,p,d,m),dl(l,p,d,m)&&dl(c,p,d,m),ll(p),eae(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,eae(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},xo(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})})}},tae=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){}},nae=class extends tae{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},ml=`$chartjs`,rae={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},iae=e=>e===null||e===``;function aae(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[ml]={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`,iae(i)){let t=uc(e,`width`);t!==void 0&&(e.width=t)}if(iae(r)){if(e.style.height===``)e.height=e.width/(t||2);else{let t=uc(e,`height`);t!==void 0&&(e.height=t)}}return e}var oae=die?{passive:!0}:!1;function sae(e,t,n){e&&e.addEventListener(t,n,oae)}function cae(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,oae)}function lae(e,t){let n=rae[e.type]||e.type,{x:r,y:i}=sc(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function hl(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function uae(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=hl(n.addedNodes,r),t&&=!hl(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function dae(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=hl(n.removedNodes,r),t&&=!hl(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var gl=new Map,_l=0;function vl(){let e=window.devicePixelRatio;e!==_l&&(_l=e,gl.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function yl(e,t){gl.size||window.addEventListener(`resize`,vl),gl.set(e,t)}function bl(e){gl.delete(e),gl.size||window.removeEventListener(`resize`,vl)}function xl(e,t,n){let r=e.canvas,i=r&&rc(r);if(!i)return;let a=os((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),yl(e,a),o}function Sl(e,t,n){n&&n.disconnect(),t===`resize`&&bl(e)}function Cl(e,t,n){let r=e.canvas,i=os(t=>{e.ctx!==null&&n(lae(t,e))},e);return sae(r,t,i),i}var wl=class extends tae{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(aae(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[ml])return!1;let n=t[ml].initial;[`height`,`width`].forEach(e=>{let r=n[e];fo(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[ml],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:uae,detach:dae,resize:xl}[t]||Cl)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:Sl,detach:Sl,resize:Sl}[t]||cae)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return uie(e,t,n,r)}isAttached(e){let t=e&&rc(e);return!!(t&&t.isConnected)}};function Tl(e){return!nc()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?nae:wl}var El=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 Uo(this.x)&&Uo(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 Dl(e,t){let n=e.options.ticks,r=Ol(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?Al(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return jl(t,l,a,o/i),l;let u=kl(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(Ml(t,l,u,fo(r)?0:s-r,s),e=0,n=o-1;ei)return t}return Math.max(i,1)}function Al(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,Il=(e,t)=>Math.min(t||e,e);function Ll(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;ao+s)))return c}function pae(e,t){xo(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:go(t,go(n,t)),max:go(n,go(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(){bo(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=Bre(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=Qo(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-Rl(e.grid)-t.padding-zl(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=Ko(Math.min(Math.asin(Qo((l.highest.height+6)/o,-1,1)),Math.asin(Qo(s/c,-1,1))-Math.asin(Qo(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){bo(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){bo(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=zl(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=Rl(i)+a):(e.height=this.maxHeight,e.width=Rl(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=Go(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(){bo(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 gre(this._alignToPixels?Os(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=Rl(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Os(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(mo(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(mo(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=_o(r.ticks.maxTicksLimit,l),ae=Math.max(1,Math.ceil(l/ie));for(_=0;_0&&(a-=r/2)}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(-Go(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(`.`);Es.route(a,i,c,s)})}function Kl(e){return`id`in e&&`defaults`in e}var ql=new class{constructor(){this.controllers=new Ul(Bc,`datasets`,!0),this.elements=new Ul(El,`elements`),this.plugins=new Ul(Object,`plugins`),this.scales=new Ul(Hl,`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):xo(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=ko(e);bo(n[`before`+r],[],n),t[e](n),bo(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 Jl(e){let t={},n=[],r=Object.keys(ql.plugins.items);for(let e=0;e1&&Xl(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 Sae(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 $l(e,t){let n=Ss[e.type]||{scales:{}},r=t.scales||{},i=Yl(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!mo(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,Sae(t,e),Es.scales[o.type]),c=bae(s,i),l=n.scales||{};a[t]=Eo(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||Yl(i,t),s=(Ss[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=yae(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),Eo(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];Eo(t,[Es.scales[t.type],Es.scale])}),a}function eu(e){let t=e.options||={};t.plugins=_o(t.plugins,{}),t.scales=$l(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=Oo(t,n);r!==void 0&&e.add(r)},Cae=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,Ss[i]||{},e)),t.forEach(e=>ou(s,Es,e)),t.forEach(e=>ou(s,Cs,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,Ss[t]||{},Es.datasets[t]||{},{type:t},Es,Cs]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=su(this._resolverCache,e,r),s=a;if(lu(a,t)){i.$shared=!1,n=jo(n)?n():n;let t=this.createResolver(e,n,o);s=Gs(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=su(this._resolverCache,e,n);return mo(t)?Gs(i,t,void 0,r):i}};function su(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:Ws(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var cu=e=>mo(e)&&Object.getOwnPropertyNames(e).some(t=>jo(e[t]));function lu(e,t){let{isScriptable:n,isIndexable:r}=Ks(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(jo(o)||cu(o))||a&&po(o))return!0}return!1}var uu=`4.5.1`,du=[`top`,`bottom`,`left`,`right`,`chartArea`];function fu(e,t){return e===`top`||e===`bottom`||du.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`),bo(n&&n.onComplete,[e],t)}function hu(e){let t=e.chart,n=t.options.animation;bo(n&&n.onProgress,[e],t)}function gu(e){return nc()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var _u={},vu=e=>{let t=gu(e);return Object.values(_u).filter(e=>e.canvas===t).pop()};function wae(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 Tae(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}var yu=class{static defaults=Es;static instances=_u;static overrides=Ss;static registry=ql;static version=uu;static getChart=vu;static register(...e){ql.add(...e),bu()}static unregister(...e){ql.remove(...e),bu()}constructor(e,t){let n=this.config=new Cae(t),r=gu(e),i=vu(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||(Tl(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;this.id=ire(),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 hae,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=bre(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],_u[this.id]=this,!o||!s?console.error(`Failed to create chart: can't acquire context from the given item`):(wc.listen(this,`complete`,mu),wc.listen(this,`progress`,hu),this._initialize(),this.attached&&this.update())}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return fo(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 ql}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():lc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return ks(this.canvas,this.ctx),this}stop(){return wc.stop(this),this}resize(e,t){wc.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,lc(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),bo(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){xo(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`}}))),xo(i,t=>{let i=t.options,a=i.id,o=Zl(a,i),s=_o(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(ql.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),xo(r,(e,t)=>{e||delete n[t]}),xo(n,e=>{pl.configure(this,e,e.options),pl.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(){xo(this.scales,e=>{pl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!lre(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)wae(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;pl.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],xo(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=Cc(this,e);this.notifyPlugins(`beforeDatasetDraw`,n)!==!1&&(r&&Ns(t,r),e.controller.draw(),r&&Ps(t),n.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,n))}isPointInArea(e){return Ms(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=il.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||=Us(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);Ao(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(),wc.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)};xo(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(){xo(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},xo(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=ure(e),c=Tae(e,this._lastEvent,n,s);n&&(this._lastEvent=null,bo(i.onHover,[e,o,this],this),s&&bo(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 bu(){return xo(yu.instances,e=>e._plugins.invalidate())}function Eae(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,Xo(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,Xo(r-n));e.arc(i,a,s+l/2,n-t/2,r+t/2,!0)}else{let t=Math.min(l/2,o*Xo(r-n));if(u===`round`)e.arc(i,a,t,n-Mo/2,r+Mo/2,!0);else if(u===`bevel`){let o=2*t*t,s=-o*Math.cos(n+Mo/2)+i,c=-o*Math.sin(n+Mo/2)+a,l=o*Math.cos(r+Mo/2)+i,u=o*Math.sin(r+Mo/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 Dae(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+Io,r-Io),e.closePath(),e.clip()}function Oae(e){return Ls(e,[`outerStart`,`outerEnd`,`innerStart`,`innerEnd`])}function kae(e,t,n,r){let i=Oae(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 Qo(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:Qo(i.innerStart,0,o),innerEnd:Qo(i.innerEnd,0,o)}}function xu(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Su(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/Mo)/d)/2,g=c+h+p,_=i-h-p,{outerStart:v,outerEnd:y,innerStart:b,innerEnd:x}=kae(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=xu(ee,ne,o,s);e.arc(t.x,t.y,y,ne,_+Io)}let n=xu(re,_,o,s);if(e.lineTo(n.x,n.y),x>0){let t=xu(re,ae,o,s);e.arc(t.x,t.y,x,_+Io,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=xu(C,ie,o,s);e.arc(t.x,t.y,b,ie+Math.PI,g-Io)}let i=xu(S,g,o,s);if(e.lineTo(i.x,i.y),v>0){let t=xu(S,te,o,s);e.arc(t.x,t.y,v,g-Io,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 Aae(e,t,n,r,i){let{fullCircles:a,startAngle:o,circumference:s}=t,c=t.endAngle;if(a){Su(e,t,n,r,c,i);for(let t=0;t=Mo&&p===0&&u!==`miter`&&Eae(e,t,h),a||(Su(e,t,n,r,h,i),e.stroke())}var Mae=class extends El{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}=Jo(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=_o(l,o-a),f=Zo(r,a,o)&&a!==o,p=d>=No||f,m=$o(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>No?Math.floor(n/No):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(Mo,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,Aae(e,this,s,i,a),jae(e,this,s,i,a),e.restore()}};function Cu(e,t,n=t){e.lineCap=_o(n.borderCapStyle,t.borderCapStyle),e.setLineDash(_o(n.borderDash,t.borderDash)),e.lineDashOffset=_o(n.borderDashOffset,t.borderDashOffset),e.lineJoin=_o(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=_o(n.borderWidth,t.borderWidth),e.strokeStyle=_o(n.borderColor,t.borderColor)}function Nae(e,t,n){e.lineTo(n.x,n.y)}function Pae(e){return e.stepped?jre:e.tension||e.cubicInterpolationMode===`monotone`?Mre:Nae}function wu(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 Eu(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?Tu:Fae}function Iae(e){return e.stepped?fie:e.tension||e.cubicInterpolationMode===`monotone`?pie:dc}function Lae(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 Rae(e,t,n,r){let{segments:i,options:a}=t,o=Eu(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 zae=typeof Path2D==`function`;function Bae(e,t,n,r){zae&&!t.options.segment?Lae(e,t,n,r):Rae(e,t,n,r)}var Du=class extends El{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;iie(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||=yie(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=vc(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=Iae(n),c,l;for(c=0,l=a.length;ce.replace(`rgb(`,`rgba(`).replace(`)`,`, 0.5)`));function Fu(e){return Nu[e%Nu.length]}function Iu(e){return Pu[e%Pu.length]}function Jae(e,t){return e.borderColor=Fu(t),e.backgroundColor=Iu(t),++t}function Yae(e,t){return e.backgroundColor=e.data.map(()=>Fu(t++)),t}function Xae(e,t){return e.backgroundColor=e.data.map(()=>Iu(t++)),t}function Zae(e){let t=0;return(n,r)=>{let i=e.getDatasetMeta(r).controller;i instanceof Xc?t=Yae(n,t):i instanceof Hie?t=Xae(n,t):i&&(t=Jae(n,t))}}function Lu(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function Qae(e){return e&&(e.borderColor||e.backgroundColor)}function $ae(){return Es.borderColor!==`rgba(0,0,0,0.1)`||Es.backgroundColor!==`rgba(0,0,0,0.1)`}var eoe={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=Lu(r)||Qae(i)||a&&Lu(a)||$ae();if(!n.forceOverride&&o)return;let s=Zae(e);r.forEach(s)}};function toe(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 noe(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(!fo(d)&&!fo(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 Ru(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 zu(e){e.data.datasets.forEach(e=>{Ru(e)})}function roe(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=Qo(ts(t,a.axis,o).lo,0,n-1)),i=l?Qo(ts(t,a.axis,s).hi+1,r,n)-r:n-r,{start:r,count:i}}var ioe={id:`decimation`,defaults:{algorithm:`min-max`,enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){zu(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(Hs([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}=roe(s,c);if(d<=(n.threshold||4*r)){Ru(t);return}fo(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=toe(c,u,d,r,n);break;case`min-max`:f=noe(c,u,d,r);break;default:throw Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=f})},destroy(e){zu(e)}};function aoe(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=Vu(r,s,i);let c=Bu(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=vc(t,c);for(let t of l){let r=Bu(n,a[t.start],a[t.end],t.loop),s=_c(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:Hu(c,r,`start`,Math.max)},end:{[n]:Hu(c,r,`end`,Math.min)}})}}return o}function Bu(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=Xo(i),a=Xo(a)),{property:e,start:i,end:a}}function ooe(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=Vu(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 Vu(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Hu(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Uu(e,t){let n=[],r=!1;return po(e)?(r=!0,n=e):n=ooe(e,t),n.length?new Du({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Wu(e){return e&&e.fill!==!1}function soe(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!ho(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function coe(e,t,n){let r=foe(e);if(mo(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return ho(i)&&Math.floor(i)===i?loe(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function loe(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function uoe(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:mo(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function doe(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:mo(e)?e.value:t.getBaseValue(),r}function foe(e){let t=e.options,n=t.fill,r=_o(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function poe(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=moe(t,n);s.push(Uu({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&&Ku(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)&&Ku(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;Wu(r)&&n.drawTime===`beforeDatasetDraw`&&Ku(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},Zu=(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)}},Toe=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Qu=class extends El{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=bo(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=Vs(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Zu(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}=Eoe(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=fc(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=cs(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=cs(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=cs(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=cs(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;Ns(e,this),this._draw(),Ps(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=Es.color,s=fc(e.rtl,this.left,this.width),c=Vs(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}=Zu(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=_o(n.lineWidth,1);if(r.fillStyle=_o(n.fillStyle,o),r.lineCap=_o(n.lineCap,`butt`),r.lineDashOffset=_o(n.lineDashOffset,0),r.lineJoin=_o(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=_o(n.strokeStyle,o),r.setLineDash(_o(n.lineDash,[])),a.usePointStyle){let o={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},c=s.xPlus(e,p/2),l=t+d;js(r,o,c,l,a.pointStyleWidth&&p)}else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=zs(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?Is(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){Fs(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:cs(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:cs(i,this.top+y+l,this.bottom-t[0].height),line:0},pc(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;s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(ee=f.y+=b,f.line++,S=f.x=cs(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=cs(i,this.top+y+l,this.bottom-t[f.line].height));let te=s.x(S);if(g(te,ee,o),S=xre(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+=$u(o,e)+l}else f.y+=b}),mc(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=Vs(t.font),r=Bs(t.padding);if(!t.display)return;let i=fc(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=cs(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+cs(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=cs(o,u,u+d);a.textAlign=i.textAlign(ss(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,Fs(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=Vs(e.font),n=Bs(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if($o(e,this.left,this.right)&&$o(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 Ooe(e,t,n){let r=e;return typeof t.text!=`string`&&(r=$u(t,n)),r}function $u(e,t){return t*(e.text?e.text.length:0)}function koe(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var Aoe={id:`legend`,_element:Qu,start(e,t,n){let r=e.legend=new Qu({ctx:e.ctx,options:n,chart:e});pl.configure(e,r,n),pl.addBox(e,r)},stop(e){pl.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;pl.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=Bs(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)}}},ed=class extends El{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=po(n.text)?n.text.length:1;this._padding=Bs(n.padding);let i=r*Vs(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=cs(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=cs(o,r,t),s=Mo*-.5):(l=i-e,u=cs(o,t,r),s=Mo*.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=Vs(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);Fs(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:ss(t.align),textBaseline:`middle`,translation:[i,a]})}};function joe(e,t){let n=new ed({ctx:e.ctx,options:t,chart:e});pl.configure(e,n,t),pl.addBox(e,n),e.titleBlock=n}var Moe={id:`title`,_element:ed,start(e,t,n){joe(e,n)},stop(e){let t=e.titleBlock;pl.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;pl.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}},td=new WeakMap,Noe={id:`subtitle`,start(e,t,n){let r=new ed({ctx:e.ctx,options:n,chart:e});pl.configure(e,r,n),pl.addBox(e,r),td.set(e,r)},stop(e){pl.removeBox(e,td.get(e)),td.delete(e)},beforeUpdate(e,t,n){let r=td.get(e);pl.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}},nd={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 Hoe(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 Uoe(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=Vs(t.bodyFont),l=Vs(t.titleFont),u=Vs(t.footerFont),d=a.length,f=i.length,p=r.length,m=Bs(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,xo(e.title,y),n.font=c.string,xo(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,xo(r,e=>{xo(e.before,y),xo(e.lines,y),xo(e.after,y)}),v=0,n.font=u.string,xo(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function Woe(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function Goe(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 Koe(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`),Goe(l,e,t,n)&&(l=`center`),l}function qoe(e,t,n){let r=n.yAlign||t.yAlign||Woe(e,n);return{xAlign:n.xAlign||t.xAlign||Koe(e,t,n,r),yAlign:r}}function Joe(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function Yoe(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:r-=t===`bottom`?i+n:i/2,r}function Xoe(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}=zs(o),m=Joe(t,s),h=Yoe(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:Qo(m,0,r.width-t.width),y:Qo(h,0,r.height-t.height)}}function qu(e,t,n){let r=Bs(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function Zoe(e){return Gu([],Ku(e))}function Qoe(e,t,n){return Us(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function $oe(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var ese={beforeTitle:fo,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=$oe(n,e);Gu(t.before,Ku(Ju(i,`beforeLabel`,this,e))),Gu(t.lines,Ju(i,`label`,this,e)),Gu(t.after,Ku(Ju(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return Zoe(Ju(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=Ju(n,`beforeFooter`,this,e),i=Ju(n,`footer`,this,e),a=Ju(n,`afterFooter`,this,e),o=[];return o=Gu(o,Ku(r)),o=Gu(o,Ku(i)),o=Gu(o,Ku(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))),xo(o,t=>{let n=$oe(e.callbacks,t);r.push(Ju(n,`labelColor`,this,t)),i.push(Ju(n,`labelPointStyle`,this,t)),a.push(Ju(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=Wu[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=Uoe(this,n),o=Object.assign({},e,t),s=qoe(this.chart,n,o),c=Xoe(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}=zs(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=hc(n.rtl,this.x,this.width);for(e.x=qu(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=Vs(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Is(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Is(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=Vs(n.bodyFont),d=u.lineHeight,f=0,p=hc(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=qu(this,h,n),t.fillStyle=n.bodyColor,xo(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=Wu[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=Uoe(this,e),o=Object.assign({},n,this._size),s=qoe(t,e,o),c=Xoe(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=Bs(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),gc(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),_c(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=Wu[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},nse=Object.freeze({__proto__:null,Colors:eoe,Decimation:ioe,Filler:Vu,Legend:Roe,SubTitle:Voe,Title:Boe,Tooltip:{id:`tooltip`,_element:tse,positioners:Wu,afterInit(e,t,n){n&&(e.tooltip=new tse({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:ese},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`]}}),rse=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function ise(e,t,n,r){let i=e.indexOf(t);return i===-1?rse(e,t,n,r):i===e.lastIndexOf(t)?i:n}var ase=(e,t)=>e===null?null:Qo(Math.round(e),0,t);function ose(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 cse(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=!po(a),_=!po(o),v=!po(c),y=(h-m)/(u+1),b=Ho((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=Ho(te*b/p/f)*f),po(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&&ure((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=Vo(te,Math.round(te),b/1e3)?Math.round(te):Math.ceil(te));let ne=Math.max(qo(b),qo(S));x=10**(po(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&&Vo(n[n.length-1].value,o,Yu(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||ee===o)&&n.push({value:ee}),n}function Yu(e,t,{horizontal:n,minRotation:r}){let i=Go(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var Xu=class extends Vl{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 po(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=Bo(r),t=Bo(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=cse({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`&&Wo(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 ys(e,this.chart.options.locale,this.options.ticks.format)}},lse=class extends Xu{static id=`linear`;static defaults={ticks:{callback:xs.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=go(e)?e:0,this.max=go(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=Go(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}},Zu=e=>Math.floor(zo(e)),Qu=(e,t)=>10**(Zu(e)+t);function $u(e){return e/10**Zu(e)==1}function ed(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function use(e,t){let n=Zu(t-e);for(;ed(e,t,n)>10;)n++;for(;ed(e,t,n)<10;)n--;return Math.min(n,Zu(e))}function dse(e,{min:t,max:n}){t=_o(e.min,t);let r=[],i=Zu(t),a=use(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=_o(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=_o(e.max,f);return r.push({value:p,major:$u(p),significand:d}),r}var fse=class extends Vl{static id=`logarithmic`;static defaults={ticks:{callback:xs.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=Xu.prototype.parse.apply(this,[e,t]);if(n===0)this._zero=!0;else return go(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=go(e)?Math.max(0,e):null,this.max=go(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!go(this._userMin)&&(this.min=e===Qu(this.min,0)?Qu(this.min,-1):Qu(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(Qu(n,-1)),a(Qu(r,1)))),n<=0&&i(Qu(r,-1)),r<=0&&a(Qu(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=dse({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&Wo(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`:ys(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=zo(e),this._valueRange=zo(this.max)-zo(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(zo(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function td(e){let t=e.ticks;if(t.display&&e.display){let e=Bs(t.backdropPadding);return vo(t.font&&t.font.size,Es.font.size)+e.height}return 0}function pse(e,t,n){return n=mo(n)?n:[n],{w:Ere(e,t.string,n),h:n.length*t.lineHeight}}function nd(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 mse(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?No/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(Ko(Xo(c.angle+Io))),u=vse(c.y,s.h,l),d=gse(l),f=_se(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 hse(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Ms({x:n,y:r},t)||Ms({x:n,y:a},t)||Ms({x:i,y:r},t)||Ms({x:i,y:a},t))}function ad(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:td(a)/2,additionalAngle:o?No/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function yse(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!po(s)){let n=zs(t.borderRadius),c=Bs(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(),Is(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function bse(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));yse(n,a,t);let o=Vs(a.font),{x:s,y:c,textAlign:l}=t;Fs(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,Po);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=bo(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?mse(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=Po/(this._pointLabels.length||1),n=this.options.startAngle||0;return Xo(e*t+Go(n))}getDistanceFromCenterForValue(e){if(po(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(po(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);xse(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=Vs(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=Bs(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}Fs(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},cd={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}},ld=Object.keys(cd);function ud(e,t){return e-t}function dd(e,t){if(po(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),go(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(Uo(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function fd(e,t,n,r){let i=ld.length;for(let a=ld.indexOf(e);a=ld.indexOf(n);a--){let n=ld[a];if(cd[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return ld[n?ld.indexOf(n):0]}function md(e){for(let t=ld.indexOf(e)+1,n=ld.length;t=t?n[r]:n[i];e[a]=!0}}function gd(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 _d(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=Qo(t,0,a),n=Qo(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||fd(i.minUnit,t,n,this._getLabelCapacity(t)),o=vo(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=Uo(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 bo(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}=ts(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}=ts(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 bd=class extends vd{static id=`timeseries`;static defaults=vd.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=yd(t,this.min),this._tableRange=yd(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(yd(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return yd(this._table,n*this._tableRange+this._minPos,!0)}},xd=[Pie,qae,nse,Object.freeze({__proto__:null,CategoryScale:sse,LinearScale:lse,LogarithmicScale:fse,RadialLinearScale:sd,TimeScale:vd,TimeSeriesScale:bd})];mu.register(...xd);var Sd=mu,Cd={size:15,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},wd={size:10,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Cse={size:12,family:`BerkeleyMono-Regular, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`normal`,style:`normal`},Td={size:15,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,lineHeight:2,weight:`bold`,style:`normal`},wse={size:25,family:`BerkeleyMono-Bold, Roboto Mono, Monaco, Menlo, Helvetica Neue,Helvetica,Verdana,Tahoma, Arial`,weight:`bold`,style:`normal`,lineHeight:3},Tse=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 St{constructor(){super(),this.currentTheme=`dark`,this._themeHandler=()=>{this.readColors(),this.currentTheme=Ese()}}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=Ese(),this.font=Cd,this.smallFont=wd,this.mediumFont=Cse,this.titleFont=wse,this.fontBold=Td,window.addEventListener(qr,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(qr,this._themeHandler)}};Tse([Tt()],Ed.prototype,`currentTheme`,void 0);function Ese(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var Dse=[`#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)`],Ose=[`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)`],kse=[`#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)`],O=[`#f83aff`,`#00FF00`,`#787878`],Ase=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],jse=[`#33ff33`,`#66ff66`,`#1a991a`],Mse=[`#ff246b`,`rgba(98, 196, 255, 1)`],Dd=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],Nse=[`#66ff66`,`#1a991a`],Od=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 Ed{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=Dse,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.colors=this.changesChart?t===`tektronix`?jse:t===`light`?Ase:O:this.breakingChanges?t===`tektronix`?Nse:t===`light`?Dd:Mse:t===`tektronix`?kse:t===`light`?Ose:Dse,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 Sd(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 Poe(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 Foe(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=Vs(t.bodyFont),l=Vs(t.titleFont),u=Vs(t.footerFont),d=a.length,f=i.length,p=r.length,m=Bs(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,xo(e.title,y),n.font=c.string,xo(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,xo(r,e=>{xo(e.before,y),xo(e.lines,y),xo(e.after,y)}),v=0,n.font=u.string,xo(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function Ioe(e,t){let{y:n,height:r}=t;return ne.height-r/2?`bottom`:`center`}function Loe(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 Roe(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`),Loe(l,e,t,n)&&(l=`center`),l}function ad(e,t,n){let r=n.yAlign||t.yAlign||Ioe(e,n);return{xAlign:n.xAlign||t.xAlign||Roe(e,t,n,r),yAlign:r}}function zoe(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function Boe(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:r-=t===`bottom`?i+n:i/2,r}function Voe(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}=zs(o),m=zoe(t,s),h=Boe(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:Qo(m,0,r.width-t.width),y:Qo(h,0,r.height-t.height)}}function od(e,t,n){let r=Bs(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function Hoe(e){return rd([],id(e))}function Uoe(e,t,n){return Us(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function Woe(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var Goe={beforeTitle:uo,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=Woe(n,e);rd(t.before,id(sd(i,`beforeLabel`,this,e))),rd(t.lines,sd(i,`label`,this,e)),rd(t.after,id(sd(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return Hoe(sd(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=sd(n,`beforeFooter`,this,e),i=sd(n,`footer`,this,e),a=sd(n,`afterFooter`,this,e),o=[];return o=rd(o,id(r)),o=rd(o,id(i)),o=rd(o,id(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))),xo(o,t=>{let n=Woe(e.callbacks,t);r.push(sd(n,`labelColor`,this,t)),i.push(sd(n,`labelPointStyle`,this,t)),a.push(sd(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=nd[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=Foe(this,n),o=Object.assign({},e,t),s=ad(this.chart,n,o),c=Voe(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}=zs(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=fc(n.rtl,this.x,this.width);for(e.x=od(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=Vs(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;se!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Is(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Is(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=Vs(n.bodyFont),d=u.lineHeight,f=0,p=fc(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=od(this,h,n),t.fillStyle=n.bodyColor,xo(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=nd[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=Foe(this,e),o=Object.assign({},n,this._size),s=ad(t,e,o),c=Voe(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=Bs(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),pc(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),mc(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=nd[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},qoe=Object.freeze({__proto__:null,Colors:eoe,Decimation:ioe,Filler:woe,Legend:Aoe,SubTitle:Noe,Title:Moe,Tooltip:{id:`tooltip`,_element:Koe,positioners:nd,afterInit(e,t,n){n&&(e.tooltip=new Koe({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:Goe},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`]}}),Joe=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Yoe(e,t,n,r){let i=e.indexOf(t);return i===-1?Joe(e,t,n,r):i===e.lastIndexOf(t)?i:n}var Xoe=(e,t)=>e===null?null:Qo(Math.round(e),0,t);function Zoe(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 $oe(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=!fo(a),_=!fo(o),v=!fo(c),y=(h-m)/(u+1),b=Ho((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=Ho(te*b/p/f)*f),fo(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&&mre((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=Vo(te,Math.round(te),b/1e3)?Math.round(te):Math.ceil(te));let ne=Math.max(qo(b),qo(S));x=10**(fo(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&&Vo(n[n.length-1].value,o,ese(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||ee===o)&&n.push({value:ee}),n}function ese(e,t,{horizontal:n,minRotation:r}){let i=Go(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var cd=class extends Hl{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 fo(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=Bo(r),t=Bo(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=$oe({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`&&Wo(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 ys(e,this.chart.options.locale,this.options.ticks.format)}},tse=class extends cd{static id=`linear`;static defaults={ticks:{callback:xs.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=ho(e)?e:0,this.max=ho(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=Go(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}},ld=e=>Math.floor(zo(e)),ud=(e,t)=>10**(ld(e)+t);function nse(e){return e/10**ld(e)==1}function rse(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function ise(e,t){let n=ld(t-e);for(;rse(e,t,n)>10;)n++;for(;rse(e,t,n)<10;)n--;return Math.min(n,ld(e))}function ase(e,{min:t,max:n}){t=go(e.min,t);let r=[],i=ld(t),a=ise(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=go(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=go(e.max,f);return r.push({value:p,major:nse(p),significand:d}),r}var ose=class extends Hl{static id=`logarithmic`;static defaults={ticks:{callback:xs.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=cd.prototype.parse.apply(this,[e,t]);if(n===0)this._zero=!0;else return ho(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=ho(e)?Math.max(0,e):null,this.max=ho(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ho(this._userMin)&&(this.min=e===ud(this.min,0)?ud(this.min,-1):ud(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(ud(n,-1)),a(ud(r,1)))),n<=0&&i(ud(r,-1)),r<=0&&a(ud(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=ase({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&Wo(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`:ys(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=zo(e),this._valueRange=zo(this.max)-zo(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(zo(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}};function dd(e){let t=e.ticks;if(t.display&&e.display){let e=Bs(t.backdropPadding);return _o(t.font&&t.font.size,Es.font.size)+e.height}return 0}function fd(e,t,n){return n=po(n)?n:[n],{w:Are(e,t.string,n),h:n.length*t.lineHeight}}function pd(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 md(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?Mo/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 cse(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(Ko(Xo(c.angle+Io))),u=pse(c.y,s.h,l),d=dse(l),f=fse(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 lse(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!(Ms({x:n,y:r},t)||Ms({x:n,y:a},t)||Ms({x:i,y:r},t)||Ms({x:i,y:a},t))}function use(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:dd(a)/2,additionalAngle:o?Mo/i:0},l;for(let a=0;a270||n<90)&&(e-=t),e}function mse(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!fo(s)){let n=zs(t.borderRadius),c=Bs(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(),Is(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function hd(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));mse(n,a,t);let o=Vs(a.font),{x:s,y:c,textAlign:l}=t;Fs(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function gd(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,No);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a{let n=bo(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?md(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=No/(this._pointLabels.length||1),n=this.options.startAngle||0;return Xo(e*t+Go(n))}getDistanceFromCenterForValue(e){if(fo(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(fo(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);hse(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=Vs(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=Bs(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}Fs(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}},yd={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}},bd=Object.keys(yd);function xd(e,t){return e-t}function Sd(e,t){if(fo(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),ho(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(Uo(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function Cd(e,t,n,r){let i=bd.length;for(let a=bd.indexOf(e);a=bd.indexOf(n);a--){let n=bd[a];if(yd[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return bd[n?bd.indexOf(n):0]}function wd(e){for(let t=bd.indexOf(e)+1,n=bd.length;t=t?n[r]:n[i];e[a]=!0}}function Ed(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 Dd(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=Qo(t,0,a),n=Qo(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||Cd(i.minUnit,t,n,this._getLabelCapacity(t)),o=_o(r.ticks.stepSize,1),s=a===`week`&&i.isoWeekday,c=Uo(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 bo(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}=ts(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}=ts(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 Ad=class extends Od{static id=`timeseries`;static defaults=Od.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=kd(t,this.min),this._tableRange=kd(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(kd(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return kd(this._table,n*this._tableRange+this._minPos,!0)}},_se=[Uie,qae,qoe,Object.freeze({__proto__:null,CategoryScale:Qoe,LinearScale:tse,LogarithmicScale:ose,RadialLinearScale:vd,TimeScale:Od,TimeSeriesScale:Ad})];yu.register(..._se);var jd=yu,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`},xse={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},Md=class extends St{constructor(){super(),this.currentTheme=`dark`,this._themeHandler=()=>{this.readColors(),this.currentTheme=O()}}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=O(),this.font=vse,this.smallFont=yse,this.mediumFont=bse,this.titleFont=Sse,this.fontBold=xse,window.addEventListener(Kr,this._themeHandler)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(Kr,this._themeHandler)}};Cse([Tt()],Md.prototype,`currentTheme`,void 0);function O(){let e=document.documentElement.getAttribute(`theme`);return e===`light`?`light`:e===`tektronix`?`tektronix`:`dark`}var wse=[`#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)`],Tse=[`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)`],Ese=[`#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)`],Nd=[`#f83aff`,`#00FF00`,`#787878`],Dse=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.35)`,`rgba(0, 0, 0, 0.15)`],Pd=[`#33ff33`,`#66ff66`,`#1a991a`],Ose=[`#ff246b`,`rgba(98, 196, 255, 1)`],kse=[`rgba(0, 0, 0, 0.6)`,`rgba(0, 0, 0, 0.25)`],Fd=[`#66ff66`,`#1a991a`],Id=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},Ld=class extends Md{constructor(){super(),this._prevDatasets=``,this._prevLabels=``,this.colors=wse,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.colors=this.changesChart?t===`tektronix`?Pd:t===`light`?Dse:Nd:this.breakingChanges?t===`tektronix`?Fd:t===`light`?kse:Ose:t===`tektronix`?Ese:t===`light`?Tse:wse,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 jd(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` - `}};Od([wt()],kd.prototype,`title`,void 0),Od([wt()],kd.prototype,`datasets`,void 0),Od([wt()],kd.prototype,`labels`,void 0),Od([wt({type:Number})],kd.prototype,`width`,void 0),Od([wt({type:Number})],kd.prototype,`height`,void 0),Od([wt({type:Boolean})],kd.prototype,`changesChart`,void 0),Od([wt({type:Boolean})],kd.prototype,`showLegend`,void 0),Od([wt({type:Boolean})],kd.prototype,`breakingChanges`,void 0),kd=Od([Ct(`pb33f-doughnut-chart`)],kd);var 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 Ed{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 Sd(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` + `}};Id([wt()],Ld.prototype,`title`,void 0),Id([wt()],Ld.prototype,`datasets`,void 0),Id([wt()],Ld.prototype,`labels`,void 0),Id([wt({type:Number})],Ld.prototype,`width`,void 0),Id([wt({type:Number})],Ld.prototype,`height`,void 0),Id([wt({type:Boolean})],Ld.prototype,`changesChart`,void 0),Id([wt({type:Boolean})],Ld.prototype,`showLegend`,void 0),Id([wt({type:Boolean})],Ld.prototype,`breakingChanges`,void 0),Ld=Id([Ct(`pb33f-doughnut-chart`)],Ld);var Rd=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},zd=class extends Md{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 jd(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`
- `}};jd.styles=xe` + `}};zd.styles=xe` :host { display: block; width: 100%; @@ -4883,7 +4955,7 @@ .chart-container { position: relative; width: 100%; - }`,Ad([wt()],jd.prototype,`title`,void 0),Ad([wt()],jd.prototype,`datasets`,void 0),Ad([wt()],jd.prototype,`labels`,void 0),Ad([wt({type:Boolean})],jd.prototype,`legend`,void 0),Ad([wt({type:Boolean})],jd.prototype,`smallTitle`,void 0),Ad([wt({type:Number})],jd.prototype,`height`,void 0),Ad([wt({type:Number})],jd.prototype,`width`,void 0),Ad([wt({type:Number})],jd.prototype,`stepSize`,void 0),Ad([wt()],jd.prototype,`chartType`,void 0),jd=Ad([Ct(`pb33f-chart`)],jd);var Md=xe` + }`,Rd([wt()],zd.prototype,`title`,void 0),Rd([wt()],zd.prototype,`datasets`,void 0),Rd([wt()],zd.prototype,`labels`,void 0),Rd([wt({type:Boolean})],zd.prototype,`legend`,void 0),Rd([wt({type:Boolean})],zd.prototype,`smallTitle`,void 0),Rd([wt({type:Number})],zd.prototype,`height`,void 0),Rd([wt({type:Number})],zd.prototype,`width`,void 0),Rd([wt({type:Number})],zd.prototype,`stepSize`,void 0),Rd([wt()],zd.prototype,`chartType`,void 0),zd=Rd([Ct(`pb33f-chart`)],zd);var Ase=xe` .timeline-item { display: flex; padding-top: 5px; @@ -5025,7 +5097,7 @@ } -`,Nd=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},Pd=class extends St{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` @@ -5073,7 +5145,7 @@ ${a}
- ${this.hideScore?ct:T` + ${this.hideScore?st:T`
${o} @@ -5081,7 +5153,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`}};Pd.styles=[Md,Rn],Nd([wt()],Pd.prototype,`specSummary`,void 0),Nd([wt()],Pd.prototype,`large`,void 0),Nd([wt()],Pd.prototype,`selected`,void 0),Nd([wt({type:Boolean})],Pd.prototype,`hideScore`,void 0),Pd=Nd([Ct(`pb33f-spec-summary-timeline-item`)],Pd);var Fd=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=[Ase,zn],Bd([wt()],Vd.prototype,`specSummary`,void 0),Bd([wt()],Vd.prototype,`large`,void 0),Bd([wt()],Vd.prototype,`selected`,void 0),Bd([wt({type:Boolean})],Vd.prototype,`hideScore`,void 0),Vd=Bd([Ct(`pb33f-spec-summary-timeline-item`)],Vd);var jse=xe` pb33f-timeline-item { width: 100%; @@ -5138,7 +5210,7 @@ } } -`,Id=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},Ld=class extends St{constructor(){super(),this.skinny=!1}render(){return T` +`,Mse=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},Hd=class extends St{constructor(){super(),this.skinny=!1}render(){return T`
@@ -5146,7 +5218,7 @@
- `}};Ld.styles=Fd,Id([wt({type:Boolean})],Ld.prototype,`skinny`,void 0),Ld=Id([Ct(`pb33f-timeline`)],Ld);var Rd=xe` + `}};Hd.styles=jse,Mse([wt({type:Boolean})],Hd.prototype,`skinny`,void 0),Hd=Mse([Ct(`pb33f-timeline`)],Hd);var Ud=xe` :host { display: flex; position: relative; @@ -5254,7 +5326,7 @@ } -`,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},Bd=class extends St{constructor(){super(),this.skinny=!1}render(){return this.skinny?T` +`,Wd=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 St{constructor(){super(),this.skinny=!1}render(){return this.skinny?T`
@@ -5276,7 +5348,7 @@
-
`}};Bd.styles=Rd,zd([wt({type:Boolean})],Bd.prototype,`skinny`,void 0),Bd=zd([Ct(`pb33f-timeline-item`)],Bd);var Vd=xe` +
`}};Gd.styles=Ud,Wd([wt({type:Boolean})],Gd.prototype,`skinny`,void 0),Gd=Wd([Ct(`pb33f-timeline-item`)],Gd);var Kd=xe` a, a:visited, a:active { text-decoration: none; color: var(--primary-color); @@ -5399,7 +5471,7 @@ to { opacity: 0; } - }`,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.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,this.fluid=!1}render(){return T` + }`,qd=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.name=`pb33f`,this.url=`https://pb33f.io`,this.wide=!1,this.fluid=!1}render(){return T`
`}};Ud.styles=Vd,Hd([wt()],Ud.prototype,`name`,void 0),Hd([wt()],Ud.prototype,`url`,void 0),Hd([wt({type:Boolean})],Ud.prototype,`wide`,void 0),Hd([wt({type:Boolean})],Ud.prototype,`fluid`,void 0),Ud=Hd([Ct(`pb33f-header`)],Ud);var Pse=xe` + `}};Jd.styles=Kd,qd([wt()],Jd.prototype,`name`,void 0),qd([wt()],Jd.prototype,`url`,void 0),qd([wt({type:Boolean})],Jd.prototype,`wide`,void 0),qd([wt({type:Boolean})],Jd.prototype,`fluid`,void 0),Jd=qd([Ct(`pb33f-header`)],Jd);var Yd=xe` footer { padding: var(--footer-padding); width: 100vw; @@ -5433,11 +5505,11 @@ font-weight: normal; color: var(--font-color-sub2); } -`,Wd=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},Fse=`https://pb33f.io`,Gd=`princess b33f heavy industries`,Kd=class extends St{constructor(){super(),this.url=Fse,this.linkTitle=Gd,this.build=``,this.fluid=!1}render(){let e=this.linkTitle||`princess b33f heavy industries`;return T` +`,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},Zd=`https://pb33f.io`,Qd=`princess b33f heavy industries`,$d=class extends St{constructor(){super(),this.url=Zd,this.linkTitle=Qd,this.build=``,this.fluid=!1}render(){let e=this.linkTitle||`princess b33f heavy industries`;return T`
${e} ${this.build?T`${this.build}`:``} -
`}};Kd.styles=[Pse,yi],Wd([wt()],Kd.prototype,`build`,void 0),Wd([wt()],Kd.prototype,`url`,void 0),Wd([wt({attribute:`link-title`})],Kd.prototype,`linkTitle`,void 0),Wd([wt({type:Boolean,reflect:!0})],Kd.prototype,`fluid`,void 0),Kd=Wd([Ct(`pb33f-footer`)],Kd);var qd=xe` + `}};$d.styles=[Yd,xi],Xd([wt()],$d.prototype,`build`,void 0),Xd([wt()],$d.prototype,`url`,void 0),Xd([wt({attribute:`link-title`})],$d.prototype,`linkTitle`,void 0),Xd([wt({type:Boolean,reflect:!0})],$d.prototype,`fluid`,void 0),$d=Xd([Ct(`pb33f-footer`)],$d);var ef=xe` :host { display: inline-flex; @@ -5455,7 +5527,7 @@ text-shadow: 0 0 8px rgba(51, 255, 51, 0.6); } -`,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=`tektronix`,Xd=`pb33f-theme`,Zd=`pb33f-base-theme`,Qd=class extends St{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?Yd:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(Xd);if(e===`tektronix`){this.tektronixActive=!0;let e=localStorage.getItem(Zd);this.baseTheme=e===`light`?`light`:`dark`}else this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`;this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(Xd,e),localStorage.setItem(Zd,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` +`,tf=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},nf=`tektronix`,rf=`pb33f-theme`,af=`pb33f-base-theme`,of=class extends St{constructor(){super(...arguments),this.baseTheme=`dark`,this.tektronixActive=!1}get activeTheme(){return this.tektronixActive?nf:this.baseTheme}connectedCallback(){super.connectedCallback();let e=localStorage.getItem(rf);if(e===`tektronix`){this.tektronixActive=!0;let e=localStorage.getItem(af);this.baseTheme=e===`light`?`light`:`dark`}else this.tektronixActive=!1,this.baseTheme=e===`light`?`light`:`dark`;this.applyTheme()}applyTheme(){let e=this.activeTheme;localStorage.setItem(rf,e),localStorage.setItem(af,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` - `}};Qd.styles=[qd,Rn],Jd([Tt()],Qd.prototype,`baseTheme`,void 0),Jd([Tt()],Qd.prototype,`tektronixActive`,void 0),Qd=Jd([Ct(`pb33f-theme-switcher`)],Qd);function $d(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 ef=xe` + `}};of.styles=[ef,zn],tf([Tt()],of.prototype,`baseTheme`,void 0),tf([Tt()],of.prototype,`tektronixActive`,void 0),of=tf([Ct(`pb33f-theme-switcher`)],of);function Nse(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 Pse=xe` :host { --http-get-color: var(--terminal-text); --http-get-border-color: var(--ok-color-lowalpha); @@ -5607,11 +5679,11 @@ --http-trace-color: #6b7280; --http-query-color: #2563eb; } -`,tf=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},Ise={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},nf=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=Ise[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},cf={GET:`GET`,POST:`POST`,PUT:`PUT`,DELETE:`DEL`,PATCH:`PAT`,OPTIONS:`OPT`,HEAD:`HEAD`,TRACE:`TRC`,QUERY:`QRY`},lf=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=cf[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()} - `}};nf.styles=ef,tf([wt()],nf.prototype,`method`,void 0),tf([wt({type:Boolean})],nf.prototype,`lower`,void 0),tf([wt({type:Boolean})],nf.prototype,`large`,void 0),tf([wt({type:Boolean})],nf.prototype,`tiny`,void 0),tf([wt({type:Boolean})],nf.prototype,`micro`,void 0),tf([wt({reflect:!0})],nf.prototype,`mode`,void 0),nf=tf([Ct(`pb33f-http-method`)],nf);var Lse=xe` + `}};lf.styles=Pse,sf([wt()],lf.prototype,`method`,void 0),sf([wt({type:Boolean})],lf.prototype,`lower`,void 0),sf([wt({type:Boolean})],lf.prototype,`large`,void 0),sf([wt({type:Boolean})],lf.prototype,`tiny`,void 0),sf([wt({type:Boolean})],lf.prototype,`micro`,void 0),sf([wt({reflect:!0})],lf.prototype,`mode`,void 0),lf=sf([Ct(`pb33f-http-method`)],lf);var Fse=xe` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5650,7 +5722,7 @@ .nowrap { display: inline-block; } -`,rf=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},af=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()}`}};af.styles=Lse,rf([wt()],af.prototype,`path`,void 0),rf([wt({type:Boolean})],af.prototype,`nowrap`,void 0),af=rf([Ct(`pb33f-render-operation-path`)],af);var of=xe` +`,uf=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},df=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()}`}};df.styles=Fse,uf([wt()],df.prototype,`path`,void 0),uf([wt({type:Boolean})],df.prototype,`nowrap`,void 0),df=uf([Ct(`pb33f-render-operation-path`)],df);var Ise=xe` :host { color: var(--font-color); font-family: var(--font-stack), monospace; @@ -5742,7 +5814,7 @@ -`,sf=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},cf=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,lf=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,uf=class extends St{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=cf.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=lf.exec(n))!==null;){let e=df(lf.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(lf.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()}`}};uf.styles=of,sf([wt()],uf.prototype,`path`,void 0),sf([wt({type:Boolean})],uf.prototype,`selected`,void 0),uf=sf([Ct(`pb33f-render-json-path`)],uf);function df(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){typeof e==`function`?e(t):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` +`,ff=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},pf=/(\{)([\w.\-_$:]+)(})|(:)([\w.\-_$:]+)/g,mf=/(\[)(["']?)([\w${}:.\-_/\\]+)(['"]?)(])/g,hf=class extends St{constructor(){super(),this.path=`/`,this.selected=!1,this.chars=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`}replaceBrackets(e){let t,n=e;for(;(t=pf.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=mf.exec(n))!==null;){let e=gf(mf.lastIndex-i.index,this.chars);r.set(e,i),t=t.substring(0,i.index)+e+t.substring(mf.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()}`}};hf.styles=Ise,ff([wt()],hf.prototype,`path`,void 0),ff([wt({type:Boolean})],hf.prototype,`selected`,void 0),hf=ff([Ct(`pb33f-render-json-path`)],hf);function gf(e,t){let n=``;for(let r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n}function _f(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);_f(e,t,n,r,i)}}}function vf(e,t){typeof e==`function`?e(t):e.handleEvent(t)}var yf=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)})}),_f(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)vf(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)vf(e,n)}}};function bf(){return new yf}var xf=xe` .change-card { border-bottom: 1px dashed var(--secondary-color-dimmer); background: var(--background-color); @@ -5933,7 +6005,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; } -`,_f=[gf,ya,xe` +`,Lse=[xf,_a,xe` :host { display: block; overflow: hidden; @@ -6102,11 +6174,11 @@ background: var(--secondary-color); color: var(--background-color); } -`],vf=10,yf=500,bf=1,xf=2,Sf=3,Cf=4,wf=5;function Tf(e,t,n,r,i,a=vf){let o=Ef(t),s=Ef(n);return(e||[]).map((e,t)=>{let n=zse(e),c=Nf(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${zf(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function Ef(e){if(!e)return[];let t=e.split(` -`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Df(e){return{start:e,end:e}}function Rse(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=kf(e,n,n,Uf(e[n]));return{start:t,end:Math.max(t,r+1)}}function kf(e,t,n,r){let i=t;for(let a=t+1;ar)i=a;else break}for(;i>n&&Wf(e[i]);)i--;if(i+10;){if(Vf(e,n,r))return Of(e,n);let t=Hse(e,n,r);if(t>0)return Of(e,t);let i=Use(e,n);if(i<=0||i===n)break;n=i}}return Rse(e,t)}function zse(e){let t=Ff(e),n=If(e);switch(e.change){case xf:case Sf:return jf(`Added Value`,`added`,n);case Cf:case wf:return jf(`Removed Value`,`removed`,t);case bf:{let e=[];return t&&e.push({title:`Original Value`,tone:`removed`,lines:Mf(t)}),n&&e.push({title:`Modified Value`,tone:`added`,lines:Mf(n)}),e}default:return[]}}function jf(e,t,n){return n?[{title:e,tone:t,lines:Mf(n)}]:[]}function Mf(e){let t=e.split(` -`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Nf(e,t,n,r,i,a=vf){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=Rf(e);switch(e.change){case xf:case Sf:c>0&&o.push(Pf(`Modified Context`,`added`,n,i,Af(n,c,e),a));break;case Cf:case wf:s>0&&o.push(Pf(`Original Context`,`removed`,t,r,Af(t,s,e),a));break;case bf:s>0&&o.push(Pf(`Original Context`,`removed`,t,r,l?Af(t,s,e):Df(s),a)),c>0&&o.push(Pf(`Modified Context`,`added`,n,i,l?Af(n,c,e):Df(c),a))}return o}function Pf(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 Ff(e){return e.originalEncoded?e.originalEncoded:Lf(e.original)}function If(e){return e.newEncoded?e.newEncoded:Lf(e.new)}function Lf(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 Rf(e){return Ff(e).includes(` -`)||If(e).includes(` -`)}function zf(e){switch(e){case xf:case Sf:return`Added`;case Cf:case wf:return`Removed`;case bf:default:return`Modified`}}function Bse(e){return e>=bf&&e<=wf}function Vse(e){let t=new Set,n=[],r=e=>{let r=Bf(e);r&&!t.has(r)&&(t.add(r),n.push(r))};return r(e.property||``),r(Ff(e)),r(If(e)),n}function Bf(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function Vf(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 Hse(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?Bf(t.slice(0,n)):t[0]===`{`||t[0]===`}`||t[0]===`[`||t[0]===`]`?null:Bf(t)}function Uf(e){for(let t=0;t{let n=zse(e),c=Bse(e,o,s,r||{},i||{},a);return{key:`${e.path||`change`}:${e.property||`property`}:${e.change}:${t}`,title:`${Hse(e.change)}: ${e.property||`changed item`}`,path:e.path,breaking:!!e.breaking,valueBlocks:n,contextBlocks:c}})}function Af(e){if(!e)return[];let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function jf(e){return{start:e,end:e}}function Rse(e,t){if(t<=0||e.length===0||t>e.length)return{start:t,end:t};let n=t-1,r=Wf(e[n]),i=n;for(let t=n-1;t>=0;t--){let n=e[t];if(!Gf(n)&&Wf(n)e.length)return{start:t,end:t};let n=t-1,r=Nf(e,n,n,Wf(e[n]));return{start:t,end:Math.max(t,r+1)}}function Nf(e,t,n,r){let i=t;for(let a=t+1;ar)i=a;else break}for(;i>n&&Gf(e[i]);)i--;if(i+10;){if(Hf(e,n,r))return Mf(e,n);let t=Uf(e,n,r);if(t>0)return Mf(e,t);let i=Gse(e,n);if(i<=0||i===n)break;n=i}}return Rse(e,t)}function zse(e){let t=Rf(e),n=zf(e);switch(e.change){case Tf:case Ef:return Ff(`Added Value`,`added`,n);case Df:case Of:return Ff(`Removed Value`,`removed`,t);case wf:{let e=[];return t&&e.push({title:`Original Value`,tone:`removed`,lines:If(t)}),n&&e.push({title:`Modified Value`,tone:`added`,lines:If(n)}),e}default:return[]}}function Ff(e,t,n){return n?[{title:e,tone:t,lines:If(n)}]:[]}function If(e){let t=e.split(` +`);return t.length>0&&t[t.length-1]===``&&t.pop(),t}function Bse(e,t,n,r,i,a=Sf){let o=[],s=e.context?.originalLine||0,c=e.context?.newLine||0,l=Vse(e);switch(e.change){case Tf:case Ef:c>0&&o.push(Lf(`Modified Context`,`added`,n,i,Pf(n,c,e),a));break;case Df:case Of:s>0&&o.push(Lf(`Original Context`,`removed`,t,r,Pf(t,s,e),a));break;case wf:s>0&&o.push(Lf(`Original Context`,`removed`,t,r,l?Pf(t,s,e):jf(s),a)),c>0&&o.push(Lf(`Modified Context`,`added`,n,i,l?Pf(n,c,e):jf(c),a))}return o}function Lf(e,t,n,r,i,a=Sf){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 Rf(e){return e.originalEncoded?e.originalEncoded:Bf(e.original)}function zf(e){return e.newEncoded?e.newEncoded:Bf(e.new)}function Bf(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 Vse(e){return Rf(e).includes(` +`)||zf(e).includes(` +`)}function Hse(e){switch(e){case Tf:case Ef:return`Added`;case Df:case Of:return`Removed`;case wf:default:return`Modified`}}function Use(e){return e>=wf&&e<=Of}function Wse(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(Rf(e)),r(zf(e)),n}function Vf(e){return e.trim().replace(/,$/,``).trim().replace(/^['"]|['"]$/g,``).trim().toLowerCase()}function Hf(e,t,n){if(t<=0||t>e.length||n.length===0)return!1;let r=Kse(e[t-1]);return r?n.includes(r):!1}function Uf(e,t,n){if(t<=0||t>e.length||n.length===0)return 0;let r=t-1,i=Wf(e[r]),a=-1;for(let t=r+1;te.length)return 0;let n=t-1,r=Wf(e[n]);for(let t=n-1;t>=0;t--)if(!Gf(e[t])&&Wf(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 Wf(e){for(let t=0;tnull,qf=class extends gn{constructor(){super(...arguments),this.isCollapsed=!1,this.localize=new fn(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=Pa(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=Pa(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 Jse(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 Jf=()=>null,Yf=class extends _n{constructor(){super(...arguments),this.isCollapsed=!1,this.localize=new pn(this),this.positionBeforeCollapsing=0,this.position=50,this.vertical=!1,this.disabled=!1,this.snapValue=``,this.snapFunction=Jf,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(),Jse(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=Ma(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=Ma(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( @@ -6197,7 +6269,7 @@ - `}};Jf.styles=[mn,Jse],w([Ot(`slot`)],Jf.prototype,`defaultSlot`,2),w([Tt()],Jf.prototype,`disableRole`,2),w([wt()],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 gn{constructor(){super(...arguments),this.formControlController=new $t(this),this.hasSlotController=new tn(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?_ee:en:vee}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(){customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)?this.syncRadioElements():(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` + `}};Qf.styles=[hn,Zf],w([Ot(`slot`)],Qf.prototype,`defaultSlot`,2),w([Tt()],Qf.prototype,`disableRole`,2),w([wt()],Qf.prototype,`label`,2);function $f(e){let t=`sl-button, sl-radio-button`;return e.closest(t)??e.querySelector(t)}var ep=class extends _n{constructor(){super(...arguments),this.formControlController=new en(this),this.hasSlotController=new nn(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?gee:tn:_ee}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(){customElements.get(`sl-radio`)&&customElements.get(`sl-radio-button`)?this.syncRadioElements():(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}
- `}};Xf.styles=[mn,qt,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([wt()],Xf.prototype,`label`,2),w([wt({attribute:`help-text`})],Xf.prototype,`helpText`,2),w([wt()],Xf.prototype,`name`,2),w([wt({reflect:!0})],Xf.prototype,`value`,2),w([wt({reflect:!0})],Xf.prototype,`size`,2),w([wt({reflect:!0})],Xf.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],Xf.prototype,`required`,2),w([pn(`size`,{waitUntilFirstUpdate:!0})],Xf.prototype,`handleSizeChange`,1),w([pn(`value`)],Xf.prototype,`handleValueChange`,1),Xf.define(`sl-radio-group`);var Zf=xe` + `}};ep.styles=[hn,Jt,Xf],ep.dependencies={"sl-button-group":Qf},w([Ot(`slot:not([name])`)],ep.prototype,`defaultSlot`,2),w([Ot(`.radio-group__validation-input`)],ep.prototype,`validationInput`,2),w([Tt()],ep.prototype,`hasButtonGroup`,2),w([Tt()],ep.prototype,`errorMessage`,2),w([Tt()],ep.prototype,`defaultValue`,2),w([wt()],ep.prototype,`label`,2),w([wt({attribute:`help-text`})],ep.prototype,`helpText`,2),w([wt()],ep.prototype,`name`,2),w([wt({reflect:!0})],ep.prototype,`value`,2),w([wt({reflect:!0})],ep.prototype,`size`,2),w([wt({reflect:!0})],ep.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],ep.prototype,`required`,2),w([mn(`size`,{waitUntilFirstUpdate:!0})],ep.prototype,`handleSizeChange`,1),w([mn(`value`)],ep.prototype,`handleValueChange`,1),ep.define(`sl-radio-group`);var tp=xe` :host { display: inline-block; position: relative; @@ -6911,7 +6983,7 @@ z-index: 2; } `,Yse=xe` - ${Zf} + ${tp} .button__prefix, .button__suffix, @@ -6934,16 +7006,16 @@ opacity: 0; z-index: -1; } -`,Qf=Symbol.for(``),Xse=e=>{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{if(e?.r===np)return e?._$litStatic$},rp=(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:np}),ip=new Map,ap=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l
- `}};np.styles=[mn,Yse],w([Ot(`.button`)],np.prototype,`input`,2),w([Ot(`.hidden-input`)],np.prototype,`hiddenInput`,2),w([Tt()],np.prototype,`hasFocus`,2),w([wt({type:Boolean,reflect:!0})],np.prototype,`checked`,2),w([wt()],np.prototype,`value`,2),w([wt({type:Boolean,reflect:!0})],np.prototype,`disabled`,2),w([wt({reflect:!0})],np.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],np.prototype,`pill`,2),w([pn(`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 ca.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` + `}};op.styles=[hn,Yse],w([Ot(`.button`)],op.prototype,`input`,2),w([Ot(`.hidden-input`)],op.prototype,`hiddenInput`,2),w([Tt()],op.prototype,`hasFocus`,2),w([wt({type:Boolean,reflect:!0})],op.prototype,`checked`,2),w([wt()],op.prototype,`value`,2),w([wt({type:Boolean,reflect:!0})],op.prototype,`disabled`,2),w([wt({reflect:!0})],op.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],op.prototype,`pill`,2),w([mn(`disabled`,{waitUntilFirstUpdate:!0})],op.prototype,`handleDisabledChange`,1),op.define(`sl-radio-button`);var sp=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},cp=Object.freeze({type:`spacer`,content:``}),lp=20,up=20,dp=`pb33f-diff-view-mode`;function fp(e){return e===`side-by-side`||e===`unified`}var pp=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 Sne.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(dp);fp(e)&&(this.viewMode=e)}catch{}}setViewMode(e){this.viewMode=e;try{localStorage.setItem(dp,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(cp),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(cp),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*lp}px`,c.style.height=`${(i-r)*lp}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*lp-i/2+lp/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} + `:st} ${this.contentMode===`file`?T` Side by Side Unified - `:ct} + `:st}
- `}renderFocusedDiff(){!this._cachedFocusedSections.length&&this.selectedChanges.length&&(this._cachedFocusedSections=Tf(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=kf(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``:st}
- ${r.breaking?T`
Breaking Change
`:ct} + ${r.breaking?T`
Breaking Change
`:st}
`,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):st} + ${o?this.renderContextBlock(o):st}
`),l&&n.push(T`
${e} - ${a?this.renderValueBlock(a):ct} - ${s?this.renderContextBlock(s):ct} + ${a?this.renderValueBlock(a):st} + ${s?this.renderContextBlock(s):st}
`)}let r=t.length>0,i=n.length>0;return r&&!i?T` ${this.renderControls()} @@ -7052,7 +7124,7 @@
- `}};lp.styles=_f,rp([wt()],lp.prototype,`originalSpec`,void 0),rp([wt()],lp.prototype,`modifiedSpec`,void 0),rp([wt({type:Object})],lp.prototype,`originalHighlighted`,void 0),rp([wt({type:Object})],lp.prototype,`modifiedHighlighted`,void 0),rp([wt({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 up=xe` + `}};pp.styles=Lse,sp([wt()],pp.prototype,`originalSpec`,void 0),sp([wt()],pp.prototype,`modifiedSpec`,void 0),sp([wt({type:Object})],pp.prototype,`originalHighlighted`,void 0),sp([wt({type:Object})],pp.prototype,`modifiedHighlighted`,void 0),sp([wt({type:Array})],pp.prototype,`selectedChanges`,void 0),sp([Tt()],pp.prototype,`contentMode`,void 0),sp([Tt()],pp.prototype,`viewMode`,void 0),pp=sp([Ct(`pb33f-diff-viewer`)],pp);var Zse=xe` :host { display: block; } @@ -7079,9 +7151,9 @@ .change-card { padding-bottom: var(--global-padding); } -`,dp=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},fp=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=Tf(this.changes,this.originalSpec,this.modifiedSpec,this.originalHighlighted||{},this.modifiedHighlighted||{},this.compact?5:void 0),this._cachedSections):[]:this._cachedSections}renderValueBlock(e){return T` +`,mp=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},hp=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=kf(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?st:T`
${e.title}
`}
${e.lines.map(e=>T`
${e}
`)}
@@ -7094,7 +7166,7 @@
`}renderContextBlock(e){return T`
- ${this.compact?ct:T`
${e.title}
`} + ${this.compact?st:T`
${e.title}
`}
${e.lines.map(t=>this.renderDiffLine(t,e.tone))}
@@ -7103,27 +7175,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
`:st} + ${r?this.renderContextBlock(r):st} + ${i?this.renderContextBlock(i):st}
`:T`

${e.title}

- ${e.path?T``:ct} + ${e.path?T``:st}
- ${e.breaking?T`
Breaking
`:ct} + ${e.breaking?T`
Breaking
`:st}
- ${t?this.renderValueBlock(t):ct} - ${r?this.renderContextBlock(r):ct} - ${n?this.renderValueBlock(n):ct} - ${i?this.renderContextBlock(i):ct} + ${t?this.renderValueBlock(t):st} + ${r?this.renderContextBlock(r):st} + ${n?this.renderValueBlock(n):st} + ${i?this.renderContextBlock(i):st}
`})}
- `:ct}};fp.styles=[gf,up],dp([wt({type:Array})],fp.prototype,`changes`,void 0),dp([wt()],fp.prototype,`originalSpec`,void 0),dp([wt()],fp.prototype,`modifiedSpec`,void 0),dp([wt({type:Object})],fp.prototype,`originalHighlighted`,void 0),dp([wt({type:Object})],fp.prototype,`modifiedHighlighted`,void 0),dp([wt({type:Boolean})],fp.prototype,`compact`,void 0),fp=dp([Ct(`pb33f-focused-diff-panel`)],fp);var Zse=[ya,xe` + `:st}};hp.styles=[xf,Zse],mp([wt({type:Array})],hp.prototype,`changes`,void 0),mp([wt()],hp.prototype,`originalSpec`,void 0),mp([wt()],hp.prototype,`modifiedSpec`,void 0),mp([wt({type:Object})],hp.prototype,`originalHighlighted`,void 0),mp([wt({type:Object})],hp.prototype,`modifiedHighlighted`,void 0),mp([wt({type:Boolean})],hp.prototype,`compact`,void 0),hp=mp([Ct(`pb33f-focused-diff-panel`)],hp);var gp=[_a,xe` :host { display: flex; flex-direction: column; @@ -7943,7 +8015,7 @@ padding-bottom: var(--global-padding); border-bottom: 1px dashed var(--hrcolor); } -`];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 Qse=xe` +`];function _p(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 Qse=xe` :host { --indicator-color: var(--sl-color-primary-600); --track-color: var(--sl-color-neutral-200); @@ -8181,7 +8253,7 @@ :host { display: contents; } -`,mp=class extends gn{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` `}};mp.styles=[mn,$se],w([wt({type:Boolean,reflect:!0})],mp.prototype,`disabled`,2),w([pn(`disabled`,{waitUntilFirstUpdate:!0})],mp.prototype,`handleDisabledChange`,1);function hp(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function ece(e,t,n=`vertical`,r=`smooth`){let i=hp(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 tce=xe` +`,vp=class extends _n{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` `}};vp.styles=[hn,$se],w([wt({type:Boolean,reflect:!0})],vp.prototype,`disabled`,2),w([mn(`disabled`,{waitUntilFirstUpdate:!0})],vp.prototype,`handleDisabledChange`,1);function ece(e,t){return{top:Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top),left:Math.round(e.getBoundingClientRect().left-t.getBoundingClientRect().left)}}function yp(e,t,n=`vertical`,r=`smooth`){let i=ece(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 tce=xe` :host { display: inline-block; color: var(--sl-color-neutral-600); @@ -8228,17 +8300,17 @@ .icon-button__icon { pointer-events: none; } -`,gp=class extends gn{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` +`,bp=class extends _n{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?rp`a`:rp`button`;return ap` <${t} part="base" - class=${_n({"icon-button":!0,"icon-button--disabled":!e&&this.disabled,"icon-button--focused":this.hasFocus})} - ?disabled=${vn(e?void 0:this.disabled)} - type=${vn(e?void 0:`button`)} - href=${vn(e?this.href:void 0)} - target=${vn(e?this.target:void 0)} - download=${vn(e?this.download:void 0)} - rel=${vn(e&&this.target?`noreferrer noopener`:void 0)} - role=${vn(e?void 0:`button`)} + class=${vn({"icon-button":!0,"icon-button--disabled":!e&&this.disabled,"icon-button--focused":this.hasFocus})} + ?disabled=${yn(e?void 0:this.disabled)} + type=${yn(e?void 0:`button`)} + href=${yn(e?this.href:void 0)} + target=${yn(e?this.target:void 0)} + download=${yn(e?this.download:void 0)} + rel=${yn(e&&this.target?`noreferrer noopener`:void 0)} + role=${yn(e?void 0:`button`)} aria-disabled=${this.disabled?`true`:`false`} aria-label="${this.label}" tabindex=${this.disabled?`-1`:`0`} @@ -8248,16 +8320,16 @@ > - `}};gp.styles=[mn,tce],gp.dependencies={"sl-icon":sa},w([Ot(`.icon-button`)],gp.prototype,`button`,2),w([Tt()],gp.prototype,`hasFocus`,2),w([wt()],gp.prototype,`name`,2),w([wt()],gp.prototype,`library`,2),w([wt()],gp.prototype,`src`,2),w([wt()],gp.prototype,`href`,2),w([wt()],gp.prototype,`target`,2),w([wt()],gp.prototype,`download`,2),w([wt()],gp.prototype,`label`,2),w([wt({type:Boolean,reflect:!0})],gp.prototype,`disabled`,2);var _p=class extends gn{constructor(){super(...arguments),this.tabs=[],this.focusableTabs=[],this.panels=[],this.localize=new fn(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)&&ece(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)&&ece(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`}}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.hasScrollControls=!this.noScrollControls&&[`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` + `}};bp.styles=[hn,tce],bp.dependencies={"sl-icon":oa},w([Ot(`.icon-button`)],bp.prototype,`button`,2),w([Tt()],bp.prototype,`hasFocus`,2),w([wt()],bp.prototype,`name`,2),w([wt()],bp.prototype,`library`,2),w([wt()],bp.prototype,`src`,2),w([wt()],bp.prototype,`href`,2),w([wt()],bp.prototype,`target`,2),w([wt()],bp.prototype,`download`,2),w([wt()],bp.prototype,`label`,2),w([wt({type:Boolean,reflect:!0})],bp.prototype,`disabled`,2);var xp=class extends _n{constructor(){super(...arguments),this.tabs=[],this.focusableTabs=[],this.panels=[],this.localize=new pn(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)&&yp(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)&&yp(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`}}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.hasScrollControls=!this.noScrollControls&&[`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`
@@ -8266,7 +8338,7 @@
- `}};_p.styles=[mn,Qse],_p.dependencies={"sl-icon-button":gp,"sl-resize-observer":mp},w([Ot(`.tab-group`)],_p.prototype,`tabGroup`,2),w([Ot(`.tab-group__body`)],_p.prototype,`body`,2),w([Ot(`.tab-group__nav`)],_p.prototype,`nav`,2),w([Ot(`.tab-group__indicator`)],_p.prototype,`indicator`,2),w([Tt()],_p.prototype,`hasScrollControls`,2),w([Tt()],_p.prototype,`shouldHideScrollStartButton`,2),w([Tt()],_p.prototype,`shouldHideScrollEndButton`,2),w([wt()],_p.prototype,`placement`,2),w([wt()],_p.prototype,`activation`,2),w([wt({attribute:`no-scroll-controls`,type:Boolean})],_p.prototype,`noScrollControls`,2),w([wt({attribute:`fixed-scroll-controls`,type:Boolean})],_p.prototype,`fixedScrollControls`,2),w([Et({passive:!0})],_p.prototype,`updateScrollButtons`,1),w([pn(`noScrollControls`,{waitUntilFirstUpdate:!0})],_p.prototype,`updateScrollControls`,1),w([pn(`placement`,{waitUntilFirstUpdate:!0})],_p.prototype,`syncIndicator`,1),_p.define(`sl-tab-group`);var nce=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},vp=(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),vp(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=nce(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),vp(EventTarget.prototype,`removeEventListener`,function(e,n){if(n!==`scrollend`)return;let r=t.get(this);r&&e.call(this,`scroll`,r,{passive:!0})})}})();var rce=xe` + `}};xp.styles=[hn,Qse],xp.dependencies={"sl-icon-button":bp,"sl-resize-observer":vp},w([Ot(`.tab-group`)],xp.prototype,`tabGroup`,2),w([Ot(`.tab-group__body`)],xp.prototype,`body`,2),w([Ot(`.tab-group__nav`)],xp.prototype,`nav`,2),w([Ot(`.tab-group__indicator`)],xp.prototype,`indicator`,2),w([Tt()],xp.prototype,`hasScrollControls`,2),w([Tt()],xp.prototype,`shouldHideScrollStartButton`,2),w([Tt()],xp.prototype,`shouldHideScrollEndButton`,2),w([wt()],xp.prototype,`placement`,2),w([wt()],xp.prototype,`activation`,2),w([wt({attribute:`no-scroll-controls`,type:Boolean})],xp.prototype,`noScrollControls`,2),w([wt({attribute:`fixed-scroll-controls`,type:Boolean})],xp.prototype,`fixedScrollControls`,2),w([Et({passive:!0})],xp.prototype,`updateScrollButtons`,1),w([mn(`noScrollControls`,{waitUntilFirstUpdate:!0})],xp.prototype,`updateScrollControls`,1),w([mn(`placement`,{waitUntilFirstUpdate:!0})],xp.prototype,`syncIndicator`,1),xp.define(`sl-tab-group`);var Sp=(e,t)=>{let n=0;return function(...r){window.clearTimeout(n),n=window.setTimeout(()=>{e.call(this,...r)},t)}},Cp=(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),Cp(EventTarget.prototype,`addEventListener`,function(n,r){if(r!==`scrollend`)return;let i=Sp(()=>{e.size?i():this.dispatchEvent(new Event(`scrollend`))},100);n.call(this,`scroll`,i,{passive:!0}),t.set(this,i)}),Cp(EventTarget.prototype,`removeEventListener`,function(e,n){if(n!==`scrollend`)return;let r=t.get(this);r&&e.call(this,`scroll`,r,{passive:!0})})}})();var nce=xe` :host { --padding: 0; @@ -8317,12 +8389,12 @@ display: block; padding: var(--padding); } -`,ice=0,yp=class extends gn{constructor(){super(...arguments),this.attrId=++ice,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` +`,wp=0,Tp=class extends _n{constructor(){super(...arguments),this.attrId=++wp,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` - `}};yp.styles=[mn,rce],w([wt({reflect:!0})],yp.prototype,`name`,2),w([wt({type:Boolean,reflect:!0})],yp.prototype,`active`,2),w([pn(`active`)],yp.prototype,`handleActiveChange`,1),yp.define(`sl-tab-panel`);var bp=xe` + `}};Tp.styles=[hn,nce],w([wt({reflect:!0})],Tp.prototype,`name`,2),w([wt({type:Boolean,reflect:!0})],Tp.prototype,`active`,2),w([mn(`active`)],Tp.prototype,`handleActiveChange`,1),Tp.define(`sl-tab-panel`);var Ep=xe` :host { display: inline-block; } @@ -8387,10 +8459,10 @@ outline-offset: -3px; } } -`,ace=0,xp=class extends gn{constructor(){super(...arguments),this.localize=new fn(this),this.attrId=++ace,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.tabIndex=this.disabled&&!this.active?-1:0}render(){return this.id=this.id.length>0?this.id:this.componentId,T` +`,Dp=0,Op=class extends _n{constructor(){super(...arguments),this.localize=new pn(this),this.attrId=++Dp,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.tabIndex=this.disabled&&!this.active?-1:0}render(){return this.id=this.id.length>0?this.id:this.componentId,T`
${this.closable?T` @@ -8406,7 +8478,7 @@ > `:``}
- `}};xp.styles=[mn,bp],xp.dependencies={"sl-icon-button":gp},w([Ot(`.tab`)],xp.prototype,`tab`,2),w([wt({reflect:!0})],xp.prototype,`panel`,2),w([wt({type:Boolean,reflect:!0})],xp.prototype,`active`,2),w([wt({type:Boolean,reflect:!0})],xp.prototype,`closable`,2),w([wt({type:Boolean,reflect:!0})],xp.prototype,`disabled`,2),w([wt({type:Number,reflect:!0})],xp.prototype,`tabIndex`,2),w([pn(`active`)],xp.prototype,`handleActiveChange`,1),w([pn(`disabled`)],xp.prototype,`handleDisabledChange`,1),xp.define(`sl-tab`);var oce=xe` + `}};Op.styles=[hn,Ep],Op.dependencies={"sl-icon-button":bp},w([Ot(`.tab`)],Op.prototype,`tab`,2),w([wt({reflect:!0})],Op.prototype,`panel`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`active`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`closable`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`disabled`,2),w([wt({type:Number,reflect:!0})],Op.prototype,`tabIndex`,2),w([mn(`active`)],Op.prototype,`handleActiveChange`,1),w([mn(`disabled`)],Op.prototype,`handleDisabledChange`,1),Op.define(`sl-tab`);var rce=xe` :host { --max-width: 20rem; --hide-delay: 0ms; @@ -8458,14 +8530,14 @@ user-select: none; -webkit-user-select: none; } -`;function Sp(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var Cp=class extends gn{constructor(){super(),this.localize=new fn(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=wne(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=wne(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 ja(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=ka(this,`tooltip.show`,{dir:this.localize.dir()});await Aa(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 ja(this.body);let{keyframes:e,options:n}=ka(this,`tooltip.hide`,{dir:this.localize.dir()});await Aa(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,Sp(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,Sp(this,`sl-after-hide`)}render(){return T` +`;function ice(e,t){return new Promise(n=>{function r(i){i.target===e&&(e.removeEventListener(t,r),n())}e.addEventListener(t,r)})}var kp=class extends _n{constructor(){super(),this.localize=new pn(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=Ta(getComputedStyle(this).getPropertyValue(`--show-delay`));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),e)}},this.handleMouseOut=()=>{if(this.hasTrigger(`hover`)){let e=Ta(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 Da(this.body),this.body.hidden=!1,this.popup.active=!0;let{keyframes:t,options:n}=Ca(this,`tooltip.show`,{dir:this.localize.dir()});await wa(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 Da(this.body);let{keyframes:e,options:n}=Ca(this,`tooltip.hide`,{dir:this.localize.dir()});await wa(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,ice(this,`sl-after-show`)}async hide(){if(this.open)return this.open=!1,ice(this,`sl-after-hide`)}render(){return T` ${this.content}
- `}};Cp.styles=[mn,oce],Cp.dependencies={"sl-popup":Ur},w([Ot(`slot:not([name])`)],Cp.prototype,`defaultSlot`,2),w([Ot(`.tooltip__body`)],Cp.prototype,`body`,2),w([Ot(`sl-popup`)],Cp.prototype,`popup`,2),w([wt()],Cp.prototype,`content`,2),w([wt()],Cp.prototype,`placement`,2),w([wt({type:Boolean,reflect:!0})],Cp.prototype,`disabled`,2),w([wt({type:Number})],Cp.prototype,`distance`,2),w([wt({type:Boolean,reflect:!0})],Cp.prototype,`open`,2),w([wt({type:Number})],Cp.prototype,`skidding`,2),w([wt()],Cp.prototype,`trigger`,2),w([wt({type:Boolean})],Cp.prototype,`hoist`,2),w([pn(`open`,{waitUntilFirstUpdate:!0})],Cp.prototype,`handleOpenChange`,1),w([pn([`content`,`distance`,`hoist`,`placement`,`skidding`])],Cp.prototype,`handleOptionsChange`,1),w([pn(`disabled`)],Cp.prototype,`handleDisabledChange`,1),Oa(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),Oa(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),Cp.define(`sl-tooltip`);var sce=[{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`}],wp=class extends gn{constructor(){super(...arguments),this.localize=new fn(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}=sce.find(e=>Math.abs(n)this.requestUpdate(),e)}return T` `}};w([Tt()],wp.prototype,`isoTime`,2),w([Tt()],wp.prototype,`relativeTime`,2),w([wt()],wp.prototype,`date`,2),w([wt()],wp.prototype,`format`,2),w([wt()],wp.prototype,`numeric`,2),w([wt({type:Boolean})],wp.prototype,`sync`,2);function cce(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}wp.define(`sl-relative-time`);var Tp=class extends gn{constructor(){super(...arguments),this.localize=new fn(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([wt({type:Number})],Tp.prototype,`value`,2),w([wt()],Tp.prototype,`type`,2),w([wt({attribute:`no-grouping`,type:Boolean})],Tp.prototype,`noGrouping`,2),w([wt()],Tp.prototype,`currency`,2),w([wt({attribute:`currency-display`})],Tp.prototype,`currencyDisplay`,2),w([wt({attribute:`minimum-integer-digits`,type:Number})],Tp.prototype,`minimumIntegerDigits`,2),w([wt({attribute:`minimum-fraction-digits`,type:Number})],Tp.prototype,`minimumFractionDigits`,2),w([wt({attribute:`maximum-fraction-digits`,type:Number})],Tp.prototype,`maximumFractionDigits`,2),w([wt({attribute:`minimum-significant-digits`,type:Number})],Tp.prototype,`minimumSignificantDigits`,2),w([wt({attribute:`maximum-significant-digits`,type:Number})],Tp.prototype,`maximumSignificantDigits`,2),Tp.define(`sl-format-number`),gp.define(`sl-icon-button`);var lce=xe` + `}};kp.styles=[hn,rce],kp.dependencies={"sl-popup":Hr},w([Ot(`slot:not([name])`)],kp.prototype,`defaultSlot`,2),w([Ot(`.tooltip__body`)],kp.prototype,`body`,2),w([Ot(`sl-popup`)],kp.prototype,`popup`,2),w([wt()],kp.prototype,`content`,2),w([wt()],kp.prototype,`placement`,2),w([wt({type:Boolean,reflect:!0})],kp.prototype,`disabled`,2),w([wt({type:Number})],kp.prototype,`distance`,2),w([wt({type:Boolean,reflect:!0})],kp.prototype,`open`,2),w([wt({type:Number})],kp.prototype,`skidding`,2),w([wt()],kp.prototype,`trigger`,2),w([wt({type:Boolean})],kp.prototype,`hoist`,2),w([mn(`open`,{waitUntilFirstUpdate:!0})],kp.prototype,`handleOpenChange`,1),w([mn([`content`,`distance`,`hoist`,`placement`,`skidding`])],kp.prototype,`handleOptionsChange`,1),w([mn(`disabled`)],kp.prototype,`handleDisabledChange`,1),Sa(`tooltip.show`,{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:`ease`}}),Sa(`tooltip.hide`,{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:`ease`}}),kp.define(`sl-tooltip`);var ace=[{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`}],Ap=class extends _n{constructor(){super(...arguments),this.localize=new pn(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}=ace.find(e=>Math.abs(n)this.requestUpdate(),e)}return T` `}};w([Tt()],Ap.prototype,`isoTime`,2),w([Tt()],Ap.prototype,`relativeTime`,2),w([wt()],Ap.prototype,`date`,2),w([wt()],Ap.prototype,`format`,2),w([wt()],Ap.prototype,`numeric`,2),w([wt({type:Boolean})],Ap.prototype,`sync`,2);function oce(e){let t={second:1e3,minute:6e4,hour:36e5,day:864e5}[e];return t-Date.now()%t}Ap.define(`sl-relative-time`);var jp=class extends _n{constructor(){super(...arguments),this.localize=new pn(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([wt({type:Number})],jp.prototype,`value`,2),w([wt()],jp.prototype,`type`,2),w([wt({attribute:`no-grouping`,type:Boolean})],jp.prototype,`noGrouping`,2),w([wt()],jp.prototype,`currency`,2),w([wt({attribute:`currency-display`})],jp.prototype,`currencyDisplay`,2),w([wt({attribute:`minimum-integer-digits`,type:Number})],jp.prototype,`minimumIntegerDigits`,2),w([wt({attribute:`minimum-fraction-digits`,type:Number})],jp.prototype,`minimumFractionDigits`,2),w([wt({attribute:`maximum-fraction-digits`,type:Number})],jp.prototype,`maximumFractionDigits`,2),w([wt({attribute:`minimum-significant-digits`,type:Number})],jp.prototype,`minimumSignificantDigits`,2),w([wt({attribute:`maximum-significant-digits`,type:Number})],jp.prototype,`maximumSignificantDigits`,2),jp.define(`sl-format-number`),bp.define(`sl-icon-button`);var sce=xe` :host { display: inline-block; } @@ -8596,10 +8668,10 @@ .tag--pill { border-radius: var(--sl-border-radius-pill); } -`,Ep=class extends gn{constructor(){super(...arguments),this.localize=new fn(this),this.variant=`neutral`,this.size=`medium`,this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit(`sl-remove`)}render(){return T` +`,Mp=class extends _n{constructor(){super(...arguments),this.localize=new pn(this),this.variant=`neutral`,this.size=`medium`,this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit(`sl-remove`)}render(){return T` @@ -8616,7 +8688,7 @@ > `:``} - `}};Ep.styles=[mn,lce],Ep.dependencies={"sl-icon-button":gp},w([wt({reflect:!0})],Ep.prototype,`variant`,2),w([wt({reflect:!0})],Ep.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Ep.prototype,`pill`,2),w([wt({type:Boolean})],Ep.prototype,`removable`,2),Ep.define(`sl-tag`);var uce=xe` + `}};Mp.styles=[hn,sce],Mp.dependencies={"sl-icon-button":bp},w([wt({reflect:!0})],Mp.prototype,`variant`,2),w([wt({reflect:!0})],Mp.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Mp.prototype,`pill`,2),w([wt({type:Boolean})],Mp.prototype,`removable`,2),Mp.define(`sl-tag`);var cce=xe` :host { display: block; } @@ -8902,10 +8974,10 @@ .input--no-spin-buttons input[type='number'] { -moz-appearance: textfield; } -`,Dp=class extends gn{constructor(){super(...arguments),this.formControlController=new $t(this,{assumeInteractionOn:[`sl-blur`,`sl-input`]}),this.hasSlotController=new tn(this,`help-text`,`label`),this.localize=new fn(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` +`,Np=class extends _n{constructor(){super(...arguments),this.formControlController=new en(this,{assumeInteractionOn:[`sl-blur`,`sl-input`]}),this.hasSlotController=new nn(this,`help-text`,`label`),this.localize=new pn(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`
- `}};Dp.styles=[mn,qt,uce],Dp.dependencies={"sl-icon":sa},w([Ot(`.input__control`)],Dp.prototype,`input`,2),w([Tt()],Dp.prototype,`hasFocus`,2),w([wt()],Dp.prototype,`title`,2),w([wt({reflect:!0})],Dp.prototype,`type`,2),w([wt()],Dp.prototype,`name`,2),w([wt()],Dp.prototype,`value`,2),w([Kt()],Dp.prototype,`defaultValue`,2),w([wt({reflect:!0})],Dp.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Dp.prototype,`filled`,2),w([wt({type:Boolean,reflect:!0})],Dp.prototype,`pill`,2),w([wt()],Dp.prototype,`label`,2),w([wt({attribute:`help-text`})],Dp.prototype,`helpText`,2),w([wt({type:Boolean})],Dp.prototype,`clearable`,2),w([wt({type:Boolean,reflect:!0})],Dp.prototype,`disabled`,2),w([wt()],Dp.prototype,`placeholder`,2),w([wt({type:Boolean,reflect:!0})],Dp.prototype,`readonly`,2),w([wt({attribute:`password-toggle`,type:Boolean})],Dp.prototype,`passwordToggle`,2),w([wt({attribute:`password-visible`,type:Boolean})],Dp.prototype,`passwordVisible`,2),w([wt({attribute:`no-spin-buttons`,type:Boolean})],Dp.prototype,`noSpinButtons`,2),w([wt({reflect:!0})],Dp.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],Dp.prototype,`required`,2),w([wt()],Dp.prototype,`pattern`,2),w([wt({type:Number})],Dp.prototype,`minlength`,2),w([wt({type:Number})],Dp.prototype,`maxlength`,2),w([wt()],Dp.prototype,`min`,2),w([wt()],Dp.prototype,`max`,2),w([wt()],Dp.prototype,`step`,2),w([wt()],Dp.prototype,`autocapitalize`,2),w([wt()],Dp.prototype,`autocorrect`,2),w([wt()],Dp.prototype,`autocomplete`,2),w([wt({type:Boolean})],Dp.prototype,`autofocus`,2),w([wt()],Dp.prototype,`enterkeyhint`,2),w([wt({type:Boolean,converter:{fromAttribute:e=>!(!e||e===`false`),toAttribute:e=>e?`true`:`false`}})],Dp.prototype,`spellcheck`,2),w([wt()],Dp.prototype,`inputmode`,2),w([pn(`disabled`,{waitUntilFirstUpdate:!0})],Dp.prototype,`handleDisabledChange`,1),w([pn(`step`,{waitUntilFirstUpdate:!0})],Dp.prototype,`handleStepChange`,1),w([pn(`value`,{waitUntilFirstUpdate:!0})],Dp.prototype,`handleValueChange`,1),Dp.define(`sl-input`);var Op=class extends gn{constructor(){super(...arguments),this.formControlController=new $t(this,{assumeInteractionOn:[`click`]}),this.hasSlotController=new tn(this,`[default]`,`prefix`,`suffix`),this.localize=new fn(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:en}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()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?$f`a`:$f`button`;return tp` + `}};Np.styles=[hn,Jt,cce],Np.dependencies={"sl-icon":oa},w([Ot(`.input__control`)],Np.prototype,`input`,2),w([Tt()],Np.prototype,`hasFocus`,2),w([wt()],Np.prototype,`title`,2),w([wt({reflect:!0})],Np.prototype,`type`,2),w([wt()],Np.prototype,`name`,2),w([wt()],Np.prototype,`value`,2),w([qt()],Np.prototype,`defaultValue`,2),w([wt({reflect:!0})],Np.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Np.prototype,`filled`,2),w([wt({type:Boolean,reflect:!0})],Np.prototype,`pill`,2),w([wt()],Np.prototype,`label`,2),w([wt({attribute:`help-text`})],Np.prototype,`helpText`,2),w([wt({type:Boolean})],Np.prototype,`clearable`,2),w([wt({type:Boolean,reflect:!0})],Np.prototype,`disabled`,2),w([wt()],Np.prototype,`placeholder`,2),w([wt({type:Boolean,reflect:!0})],Np.prototype,`readonly`,2),w([wt({attribute:`password-toggle`,type:Boolean})],Np.prototype,`passwordToggle`,2),w([wt({attribute:`password-visible`,type:Boolean})],Np.prototype,`passwordVisible`,2),w([wt({attribute:`no-spin-buttons`,type:Boolean})],Np.prototype,`noSpinButtons`,2),w([wt({reflect:!0})],Np.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],Np.prototype,`required`,2),w([wt()],Np.prototype,`pattern`,2),w([wt({type:Number})],Np.prototype,`minlength`,2),w([wt({type:Number})],Np.prototype,`maxlength`,2),w([wt()],Np.prototype,`min`,2),w([wt()],Np.prototype,`max`,2),w([wt()],Np.prototype,`step`,2),w([wt()],Np.prototype,`autocapitalize`,2),w([wt()],Np.prototype,`autocorrect`,2),w([wt()],Np.prototype,`autocomplete`,2),w([wt({type:Boolean})],Np.prototype,`autofocus`,2),w([wt()],Np.prototype,`enterkeyhint`,2),w([wt({type:Boolean,converter:{fromAttribute:e=>!(!e||e===`false`),toAttribute:e=>e?`true`:`false`}})],Np.prototype,`spellcheck`,2),w([wt()],Np.prototype,`inputmode`,2),w([mn(`disabled`,{waitUntilFirstUpdate:!0})],Np.prototype,`handleDisabledChange`,1),w([mn(`step`,{waitUntilFirstUpdate:!0})],Np.prototype,`handleStepChange`,1),w([mn(`value`,{waitUntilFirstUpdate:!0})],Np.prototype,`handleValueChange`,1),Np.define(`sl-input`);var Pp=class extends _n{constructor(){super(...arguments),this.formControlController=new en(this,{assumeInteractionOn:[`click`]}),this.hasSlotController=new nn(this,`[default]`,`prefix`,`suffix`),this.localize=new pn(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:tn}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()}getForm(){return this.formControlController.getForm()}reportValidity(){return!this.isButton()||this.button.reportValidity()}setCustomValidity(e){this.isButton()&&(this.button.setCustomValidity(e),this.formControlController.updateValidity())}render(){let e=this.isLink(),t=e?rp`a`:rp`button`;return ap` <${t} part="base" - class=${_n({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`)})} - ?disabled=${vn(e?void 0:this.disabled)} - type=${vn(e?void 0:this.type)} + class=${vn({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`)})} + ?disabled=${yn(e?void 0:this.disabled)} + type=${yn(e?void 0:this.type)} title=${this.title} - name=${vn(e?void 0:this.name)} - value=${vn(e?void 0:this.value)} - href=${vn(e&&!this.disabled?this.href:void 0)} - target=${vn(e?this.target:void 0)} - download=${vn(e?this.download:void 0)} - rel=${vn(e?this.rel:void 0)} - role=${vn(e?void 0:`button`)} + name=${yn(e?void 0:this.name)} + value=${yn(e?void 0:this.value)} + href=${yn(e&&!this.disabled?this.href:void 0)} + target=${yn(e?this.target:void 0)} + download=${yn(e?this.download:void 0)} + rel=${yn(e?this.rel:void 0)} + role=${yn(e?void 0:`button`)} aria-disabled=${this.disabled?`true`:`false`} tabindex=${this.disabled?`-1`:`0`} @blur=${this.handleBlur} @@ -9033,10 +9105,10 @@ - ${this.caret?tp` `:``} - ${this.loading?tp``:``} + ${this.caret?ap` `:``} + ${this.loading?ap``:``} - `}};Op.styles=[mn,Zf],Op.dependencies={"sl-icon":sa,"sl-spinner":wa},w([Ot(`.button`)],Op.prototype,`button`,2),w([Tt()],Op.prototype,`hasFocus`,2),w([Tt()],Op.prototype,`invalid`,2),w([wt()],Op.prototype,`title`,2),w([wt({reflect:!0})],Op.prototype,`variant`,2),w([wt({reflect:!0})],Op.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`caret`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`loading`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`outline`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`pill`,2),w([wt({type:Boolean,reflect:!0})],Op.prototype,`circle`,2),w([wt()],Op.prototype,`type`,2),w([wt()],Op.prototype,`name`,2),w([wt()],Op.prototype,`value`,2),w([wt()],Op.prototype,`href`,2),w([wt()],Op.prototype,`target`,2),w([wt()],Op.prototype,`rel`,2),w([wt()],Op.prototype,`download`,2),w([wt()],Op.prototype,`form`,2),w([wt({attribute:`formaction`})],Op.prototype,`formAction`,2),w([wt({attribute:`formenctype`})],Op.prototype,`formEnctype`,2),w([wt({attribute:`formmethod`})],Op.prototype,`formMethod`,2),w([wt({attribute:`formnovalidate`,type:Boolean})],Op.prototype,`formNoValidate`,2),w([wt({attribute:`formtarget`})],Op.prototype,`formTarget`,2),w([pn(`disabled`,{waitUntilFirstUpdate:!0})],Op.prototype,`handleDisabledChange`,1),Op.define(`sl-button`);var dce=xe` + `}};Pp.styles=[hn,tp],Pp.dependencies={"sl-icon":oa,"sl-spinner":xa},w([Ot(`.button`)],Pp.prototype,`button`,2),w([Tt()],Pp.prototype,`hasFocus`,2),w([Tt()],Pp.prototype,`invalid`,2),w([wt()],Pp.prototype,`title`,2),w([wt({reflect:!0})],Pp.prototype,`variant`,2),w([wt({reflect:!0})],Pp.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Pp.prototype,`caret`,2),w([wt({type:Boolean,reflect:!0})],Pp.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],Pp.prototype,`loading`,2),w([wt({type:Boolean,reflect:!0})],Pp.prototype,`outline`,2),w([wt({type:Boolean,reflect:!0})],Pp.prototype,`pill`,2),w([wt({type:Boolean,reflect:!0})],Pp.prototype,`circle`,2),w([wt()],Pp.prototype,`type`,2),w([wt()],Pp.prototype,`name`,2),w([wt()],Pp.prototype,`value`,2),w([wt()],Pp.prototype,`href`,2),w([wt()],Pp.prototype,`target`,2),w([wt()],Pp.prototype,`rel`,2),w([wt()],Pp.prototype,`download`,2),w([wt()],Pp.prototype,`form`,2),w([wt({attribute:`formaction`})],Pp.prototype,`formAction`,2),w([wt({attribute:`formenctype`})],Pp.prototype,`formEnctype`,2),w([wt({attribute:`formmethod`})],Pp.prototype,`formMethod`,2),w([wt({attribute:`formnovalidate`,type:Boolean})],Pp.prototype,`formNoValidate`,2),w([wt({attribute:`formtarget`})],Pp.prototype,`formTarget`,2),w([mn(`disabled`,{waitUntilFirstUpdate:!0})],Pp.prototype,`handleDisabledChange`,1),Pp.define(`sl-button`);var Fp=xe` :host { display: inline-block; } @@ -9201,21 +9273,21 @@ background-color: ButtonText; } } -`,kp=class extends gn{constructor(){super(...arguments),this.formControlController=new $t(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new tn(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` +`,Ip=class extends _n{constructor(){super(...arguments),this.formControlController=new en(this,{value:e=>e.checked?e.value||`on`:void 0,defaultValue:e=>e.defaultChecked,setValue:(e,t)=>e.checked=t}),this.hasSlotController=new nn(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`
- `}};kp.styles=[mn,qt,dce],w([Ot(`input[type="checkbox"]`)],kp.prototype,`input`,2),w([Tt()],kp.prototype,`hasFocus`,2),w([wt()],kp.prototype,`title`,2),w([wt()],kp.prototype,`name`,2),w([wt()],kp.prototype,`value`,2),w([wt({reflect:!0})],kp.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],kp.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],kp.prototype,`checked`,2),w([Kt(`checked`)],kp.prototype,`defaultChecked`,2),w([wt({reflect:!0})],kp.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],kp.prototype,`required`,2),w([wt({attribute:`help-text`})],kp.prototype,`helpText`,2),w([pn(`checked`,{waitUntilFirstUpdate:!0})],kp.prototype,`handleCheckedChange`,1),w([pn(`disabled`,{waitUntilFirstUpdate:!0})],kp.prototype,`handleDisabledChange`,1),kp.define(`sl-switch`);var fce=[`MODIFIED`,`ADDED`,`REMOVED`],Ap=[`BREAKING`,`NON-BREAKING`],jp={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function Mp(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function Np(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 Pp=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=Zse}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(Sn,this._onTreeNodeClicked),window.addEventListener(`pb33f-theme-change`,this._onThemeChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(Sn,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=jp[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`,...Np(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>Mp(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,Np(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:fce,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:Ap,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` + `}};Ip.styles=[hn,Jt,Fp],w([Ot(`input[type="checkbox"]`)],Ip.prototype,`input`,2),w([Tt()],Ip.prototype,`hasFocus`,2),w([wt()],Ip.prototype,`title`,2),w([wt()],Ip.prototype,`name`,2),w([wt()],Ip.prototype,`value`,2),w([wt({reflect:!0})],Ip.prototype,`size`,2),w([wt({type:Boolean,reflect:!0})],Ip.prototype,`disabled`,2),w([wt({type:Boolean,reflect:!0})],Ip.prototype,`checked`,2),w([qt(`checked`)],Ip.prototype,`defaultChecked`,2),w([wt({reflect:!0})],Ip.prototype,`form`,2),w([wt({type:Boolean,reflect:!0})],Ip.prototype,`required`,2),w([wt({attribute:`help-text`})],Ip.prototype,`helpText`,2),w([mn(`checked`,{waitUntilFirstUpdate:!0})],Ip.prototype,`handleCheckedChange`,1),w([mn(`disabled`,{waitUntilFirstUpdate:!0})],Ip.prototype,`handleDisabledChange`,1),Ip.define(`sl-switch`);var Lp=[`MODIFIED`,`ADDED`,`REMOVED`],Rp=[`BREAKING`,`NON-BREAKING`],zp={Additions:`ok`,Modifications:`tertiary`,Removals:`error`};function Bp(e){try{return new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`})}catch{return e}}function lce(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 Vp=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=gp}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(Cn,this._onTreeNodeClicked),window.addEventListener(`pb33f-theme-change`,this._onThemeChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(Cn,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=zp[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`,...lce(t,n,r,s)}}),this.beefyChart.labels=e.labels.map(e=>Bp(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,lce(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:Lp,data:[e.summary.modifications||0,e.summary.additions||0,e.summary.removals||0]}],this._breakingDataset=[{labels:Rp,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} + `:st}
- `:ct}renderHistoryChart(){if(!this.isMultiCommit||!this.data?.history?.changeData)return ct;let e=this.data.history.changeData,t=e.labels.map(e=>Mp(e));return T` + `:st}renderHistoryChart(){if(!this.isMultiCommit||!this.data?.history?.changeData)return st;let e=this.data.history.changeData,t=e.labels.map(e=>Bp(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}`:st} ${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`
${Pt(e.htmlReport)}
`:T`

No report available

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

No report available

`}renderCombinedReport(e){return T`
${this.data?.originalPath&&this.data?.modifiedPath?T`
@@ -9340,7 +9412,7 @@ → Modified: ${this.data.modifiedPath}
- `:ct} + `:st} ${this.renderSummary()} ${this.renderHtmlReport(e)}
@@ -9365,7 +9437,7 @@ ${this.renderHtmlReport(e)} - `:ct} + `:st} @@ -9387,11 +9459,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 st}renderExtraTabPanels(){return st}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}`:st}
@@ -9413,15 +9485,15 @@ url="https://pb33f.io/openapi-changes/" .build=${`Generated `+new Date(this.data?.dateGenerated||``).toLocaleString()}> - `}};pp([Tt()],Pp.prototype,`data`,void 0),pp([Tt()],Pp.prototype,`activeItemIndex`,void 0),pp([Tt()],Pp.prototype,`error`,void 0),pp([Tt()],Pp.prototype,`activeMainTab`,void 0),pp([Tt()],Pp.prototype,`selectedDiffChanges`,void 0),pp([Tt()],Pp.prototype,`selectedNodeId`,void 0),pp([Tt()],Pp.prototype,`selectedNodeChanges`,void 0),pp([Ot(`.navigator-panel pb33f-model-tree`)],Pp.prototype,`modelTree`,void 0),pp([Ot(`pb33f-chart`)],Pp.prototype,`beefyChart`,void 0),pp([Ot(`.tab-content > sl-tab-group`)],Pp.prototype,`mainTabGroup`,void 0);var Fp=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,a=r===void 0?{}:r,o=n.algorithms,s=o===void 0?[`layered`,`stress`,`mrtree`,`radial`,`force`,`disco`,`sporeOverlap`,`sporeCompaction`,`rectpacking`]:o,c=n.workerFactory,u=n.workerUrl;if(i(this,e),this.defaultLayoutOptions=a,this.initialized=!1,u===void 0&&c===void 0)throw Error(`Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.`);var d=c;u!==void 0&&c===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 l(f),this.worker.postMessage({cmd:`register`,algorithms:s}).then(function(e){return t.initialized=!0}).catch(console.err)}return o(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&&i,o=t.measureExecutionTime,s=o!==void 0&&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()}}])}();var l=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 o(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)}}}])}()},{}],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 lt(){}function ut(){}function dt(){}function ft(){}function pt(){}function mt(){}function ht(){}function gt(){}function _t(){}function vt(){}function yt(){}function tee(){}function bt(){}function nee(){}function ree(){}function iee(){}function xt(){}function St(){}function aee(){}function Ct(){}function oee(){}function see(){}function wt(){}function Tt(){}function Et(){}function Dt(){}function Ot(){}function cee(){}function kt(){}function At(){}function jt(){}function Mt(){}function Nt(){}function Pt(){}function lee(){}function Ft(){}function uee(){}function dee(){}function It(){}function Lt(){}function Rt(){}function fee(){}function zt(){}function pee(){}function Bt(){}function mee(){}function Vt(){}function hee(){}function Ht(){}function Ut(){}function Wt(){}function Gt(){}function gee(){}function Kt(){}function qt(){}function Jt(){}function Yt(){}function Xt(){}function Zt(){}function Qt(){}function $t(){}function en(){}function _ee(){}function vee(){}function tn(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function ln(){}function un(){}function yee(){}function dn(){}function bee(){}function fn(){}function pn(){}function mn(){}function hn(){}function gn(){}function _n(){}function vn(){}function yn(){}function bn(){}function xn(){}function Sn(){}function xee(){}function Cn(){}function wn(){}function Tn(){}function En(){}function Dn(){}function On(){}function kn(){}function An(){}function jn(){}function Mn(){}function Nn(){}function Pn(){}function Fn(){}function See(){}function In(){}function Ln(){}function Cee(){}function Rn(){}function zn(){}function wee(){}function Tee(){}function Bn(){}function Vn(){}function Hn(){}function Un(){}function Wn(){}function Eee(){}function Gn(){}function Kn(){}function qn(){}function Jn(){}function Yn(){}function Xn(){}function Zn(){}function Qn(){}function Dee(){}function Oee(){}function $n(){}function er(){}function tr(){}function nr(){}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 Gee(){}function _r(){}function vr(){}function yr(){}function Kee(){}function br(){}function xr(){}function Sr(){}function Cr(){}function wr(){}function Tr(){}function Er(){}function Dr(){}function Or(){}function kr(){}function Ar(){}function qee(){}function Jee(){}function Yee(){}function jr(){}function Mr(){}function Xee(){}function Zee(){}function Qee(){}function $ee(){}function Nr(){}function ete(){}function tte(){}function Pr(){}function Fr(){}function nte(){}function rte(){}function ite(){}function ate(){}function Ir(){}function Lr(){}function Rr(){}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 Kr(){}function E(){}function qr(){}function Jr(){}function Yr(){}function Xr(){}function Zr(){}function Qr(){}function $r(){}function ei(){}function ti(){}function ni(){}function ri(){}function ii(){}function ai(){}function oi(){}function vte(){}function yte(){}function si(){}function ci(){}function li(){}function bte(){}function ui(){}function di(){}function fi(){}function pi(){}function xte(){}function mi(){}function Ste(){}function hi(){}function Cte(){}function gi(){}function wte(){}function _i(){}function Tte(){}function vi(){}function yi(){}function Ete(){}function bi(){}function Dte(){}function xi(){}function Ote(){}function Si(){}function Ci(){}function kte(){}function wi(){}function Ate(){}function Ti(){}function jte(){}function Ei(){}function Mte(){}function Di(){}function Nte(){}function Oi(){}function ki(){}function Pte(){}function Ai(){}function Fte(){}function ji(){}function Ite(){}function Mi(){}function Lte(){}function Ni(){}function Rte(){}function Pi(){}function zte(){}function Fi(){}function Bte(){}function Vte(){}function Ii(){}function Hte(){}function Li(){}function Ri(){}function zi(){}function Bi(){}function Vi(){}function Ute(){}function Hi(){}function Wte(){}function Ui(){}function Gte(){}function Kte(){}function Wi(){}function qte(){}function Jte(){}function Yte(){}function Xte(){}function Gi(){}function Ki(){}function qi(){}function Zte(){}function Qte(){}function Ji(){}function $te(){}function ene(){}function tne(){}function Yi(){}function nne(){}function rne(){}function ine(){}function ane(){}function one(){}function sne(){}function cne(){}function lne(){}function une(){}function dne(){}function Xi(){}function Zi(){}function fne(){}function pne(){}function mne(){}function Qi(){}function $i(){}function ea(){}function ta(){}function na(){}function hne(){}function gne(){}function ra(){}function ia(){}function aa(){}function oa(){}function sa(){}function ca(){}function la(){}function _ne(){}function ua(){}function da(){}function vne(){}function fa(){}function pa(){}function ma(){}function ha(){}function ga(){}function _a(){}function va(){}function yne(){}function bne(){}function ya(){}function ba(){}function xa(){}function xne(){}function Sne(){}function Sa(){}function Ca(){}function wa(){}function Ta(){}function Ea(){}function Cne(){}function Da(){}function Oa(){}function ka(){}function Aa(){}function wne(){}function Tne(){}function ja(){}function Ene(){}function Dne(){}function Ma(){}function Na(){}function One(){}function Pa(){}function Fa(){}function Ia(){}function kne(){}function Ane(){}function jne(){}function La(){}function Ra(){}function za(){}function Ba(){}function Va(){}function Ha(){}function Ua(){}function Wa(){}function Ga(){}function Ka(){}function qa(){}function Ja(){}function Mne(){}function Nne(){}function Ya(){}function Pne(){}function Fne(){}function Ine(){}function Lne(){}function Rne(){}function Xa(){}function zne(){}function Bne(){}function Vne(){}function Za(){}function Qa(){}function $a(){}function Hne(){}function Une(){}function eo(){}function Wne(){}function Gne(){}function Kne(){}function to(){}function no(){}function qne(){}function ro(){}function Jne(){}function Yne(){}function Xne(){}function Zne(){}function io(){}function ao(){}function Qne(){}function oo(){}function so(){}function co(){}function lo(){}function uo(){}function fo(){}function $ne(){}function po(){}function mo(){}function ho(){}function go(){}function _o(){}function vo(){}function ere(){}function yo(){}function bo(){}function xo(){}function So(){}function Co(){}function wo(){}function tre(){}function To(){}function Eo(){}function nre(){}function Do(){}function rre(){}function ire(){}function Oo(){}function ko(){}function Ao(){}function jo(){}function Mo(){}function are(){}function No(){}function Po(){}function ore(){}function Fo(){}function sre(){}function Io(){}function Lo(){}function Ro(){}function zo(){}function Bo(){}function Vo(){}function Ho(){}function cre(){}function lre(){}function Uo(){}function ure(){}function Wo(){}function Go(){}function Ko(){}function qo(){}function Jo(){}function Yo(){}function dre(){}function Xo(){}function Zo(){}function Qo(){}function fre(){}function $o(){}function es(){}function ts(){}function pre(){}function mre(){}function ns(){}function hre(){}function rs(){}function is(){}function as(){}function os(){}function gre(){}function ss(){}function cs(){}function _re(){}function ls(){}function us(){}function ds(){}function fs(){}function ps(){}function ms(){}function hs(){}function gs(){}function _s(){}function vre(){}function yre(){}function bre(){}function xre(){}function vs(){}function Sre(){}function ys(){}function bs(){}function Cre(){}function xs(){}function wre(){}function Ss(){}function Cs(){}function ws(){}function Ts(){}function Es(){}function Tre(){}function Ds(){}function Ere(){}function Os(){}function ks(){}function As(){}function js(){}function Ms(){}function Ns(){}function Ps(){}function Dre(){}function Ore(){}function kre(){}function Are(){}function jre(){}function Fs(){}function Is(){}function Mre(){}function Nre(){}function Pre(){}function Fre(){}function Ls(){}function Rs(){}function zs(){}function Bs(){}function Vs(){}function Hs(){}function Ire(){}function Us(){}function Ws(){}function Gs(){}function Ks(){}function Lre(){}function qs(){}function Js(){}function Rre(){}function zre(){}function Bre(){}function Ys(){}function Vre(){}function Hre(){}function Xs(){}function Zs(){}function Ure(){}function Qs(){dp()}function $s(){M2e()}function ec(){TR()}function Wre(){ZZe()}function tc(){sF()}function Gre(){Eh()}function nc(){ade()}function rc(){Ak()}function Kre(){BFe()}function qre(){Oh()}function Jre(){Jb()}function Yre(){cj()}function ic(){tI()}function Xre(){jh()}function Zre(){Adt()}function ac(){wAe()}function oc(){GIe()}function sc(){OBe()}function cc(){xAe()}function Qre(){bAe()}function $re(){SAe()}function lc(){Hz()}function eie(){NBe()}function tie(){$Me()}function uc(){ABe()}function nie(){jBe()}function dc(){MBe()}function rie(){PBe()}function fc(){OAe()}function iie(){DO()}function pc(){sHe()}function mc(){znt()}function aie(){uI()}function oie(){EAe()}function sie(){iQe()}function cie(){DAe()}function hc(){Crt()}function gc(){D8e()}function _c(){MR()}function vc(){JL()}function yc(){fit()}function lie(){bKe()}function bc(){OO()}function xc(){ZF()}function uie(){ZL()}function die(){MP()}function fie(){yD()}function Sc(){Gz()}function pie(){QF()}function Cc(){bj()}function mie(){dJe()}function wc(){GR()}function Tc(){Gk()}function Ec(){Cbe()}function Dc(){xit()}function Oc(e){pC(e)}function hie(e){this.a=e}function kc(e){this.a=e}function Ac(e){this.a=e}function gie(e){this.a=e}function _ie(e){this.a=e}function jc(e){this.a=e}function Mc(e){this.a=e}function vie(e){this.a=e}function Nc(e){this.a=e}function Pc(e){this.a=e}function yie(e){this.a=e}function Fc(e){this.a=e}function bie(e){this.a=e}function xie(e){this.c=e}function Sie(e){this.a=e}function Ic(e){this.a=e}function Lc(e){this.a=e}function Rc(e){this.a=e}function Cie(e){this.a=e}function zc(e){this.a=e}function Bc(e){this.a=e}function Vc(e){this.a=e}function Hc(e){this.a=e}function wie(e){this.a=e}function Uc(e){this.a=e}function Tie(e){this.a=e}function Eie(e){this.a=e}function Die(e){this.a=e}function Oie(e){this.a=e}function kie(e){this.a=e}function Wc(e){this.a=e}function Gc(e){this.a=e}function Kc(e){this.a=e}function Aie(e){this.a=e}function jie(e){this.a=e}function Mie(e){this.a=e}function qc(e){this.a=e}function Nie(e){this.a=e}function Jc(e){this.a=e}function Yc(e){this.a=e}function Xc(e){this.a=e}function Zc(e){this.a=e}function Qc(e){this.a=e}function $c(e){this.b=e}function el(){this.a=[]}function tl(e,t){e.a=t}function Pie(e,t){e.a=t}function nl(e,t){e.b=t}function Fie(e,t){e.c=t}function Iie(e,t){e.c=t}function rl(e,t){e.d=t}function Lie(e,t){e.d=t}function il(e,t){e.k=t}function al(e,t){e.j=t}function Rie(e,t){e.c=t}function ol(e,t){e.c=t}function sl(e,t){e.a=t}function zie(e,t){e.a=t}function Bie(e,t){e.f=t}function cl(e,t){e.a=t}function Vie(e,t){e.b=t}function ll(e,t){e.d=t}function ul(e,t){e.i=t}function dl(e,t){e.o=t}function Hie(e,t){e.r=t}function Uie(e,t){e.a=t}function Wie(e,t){e.b=t}function fl(e,t){e.e=t}function Gie(e,t){e.e=t}function Kie(e,t){e.f=t}function qie(e,t){e.f=t}function pl(e,t){e.g=t}function ml(e,t){e.f=t}function hl(e,t){e.a=t}function gl(e,t){e.b=t}function Jie(e,t){e.n=t}function Yie(e,t){e.a=t}function _l(e,t){e.a=t}function Xie(e,t){e.a=t}function Zie(e,t){e.c=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 nae(e,t){e.e=t}function vl(e,t){e.e=t}function rae(e,t){e.g=t}function iae(e,t){e.f=t}function yl(e,t){e.j=t}function aae(e,t){e.a=t}function oae(e,t){e.a=t}function sae(e,t){e.b=t}function cae(e){e.b=e.a}function lae(e){e.c=e.d.d}function bl(e){this.a=e}function xl(e){this.a=e}function Sl(e){this.a=e}function Cl(e){this.a=e}function wl(e){this.a=e}function Tl(e){this.a=e}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 Ml(e){this.a=e}function Nl(e){this.b=e}function Pl(e){this.b=e}function Fl(e){this.b=e}function Il(e){this.d=e}function Ll(e){this.a=e}function Rl(e){this.a=e}function zl(e){this.a=e}function uae(e){this.a=e}function dae(e){this.a=e}function fae(e){this.a=e}function Bl(e){this.a=e}function Vl(e){this.a=e}function Hl(e){this.c=e}function D(e){this.c=e}function pae(e){this.c=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 mae(e){this.a=e}function hae(e){this.a=e}function Jl(e){this.a=e}function gae(e){this.a=e}function _ae(e){this.a=e}function Yl(e){this.a=e}function vae(e){this.a=e}function Xl(e){this.a=e}function Zl(e){this.a=e}function yae(e){this.a=e}function bae(e){this.a=e}function Ql(e){this.a=e}function $l(e){this.a=e}function xae(e){this.a=e}function eu(e){this.a=e}function tu(e){this.a=e}function nu(e){this.a=e}function ru(e){this.a=e}function Sae(e){this.a=e}function iu(e){this.a=e}function au(e){this.a=e}function Cae(e){this.a=e}function wae(e){this.a=e}function Tae(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 fu(e){this.a=e}function pu(e){this.a=e}function Eae(e){this.a=e}function mu(e){this.a=e}function hu(e){this.a=e}function Dae(e){this.a=e}function Oae(e){this.a=e}function kae(e){this.a=e}function Aae(e){this.a=e}function gu(e){this.a=e}function _u(e){this.a=e}function jae(e){this.a=e}function Mae(e){this.a=e}function vu(e){this.a=e}function yu(e){this.a=e}function Nae(e){this.a=e}function Pae(e){this.a=e}function bu(e){this.a=e}function Fae(e){this.a=e}function Iae(e){this.a=e}function xu(e){this.a=e}function Lae(e){this.a=e}function Rae(e){this.a=e}function Su(e){this.e=e}function zae(e){this.a=e}function Bae(e){this.a=e}function Cu(e){this.a=e}function wu(e){this.a=e}function Vae(e){this.a=e}function Tu(e){this.a=e}function Eu(e){this.a=e}function Hae(e){this.a=e}function Uae(e){this.a=e}function Wae(e){this.a=e}function Du(e){this.a=e}function Gae(e){this.a=e}function Kae(e){this.a=e}function Ou(e){this.a=e}function qae(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 Jae(e){this.a=e}function Yae(e){this.a=e}function Xae(e){this.a=e}function Zae(e){this.a=e}function Nu(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 Pu(e){this.a=e}function Fu(e){this.a=e}function roe(e){this.a=e}function ioe(e){this.a=e}function aoe(e){this.c=e}function Iu(e){this.b=e}function ooe(e){this.a=e}function Lu(e){this.a=e}function soe(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 poe(e){this.a=e}function moe(e){this.a=e}function hoe(e){this.a=e}function goe(e){this.a=e}function _oe(e){this.a=e}function voe(e){this.a=e}function yoe(e){this.a=e}function boe(e){this.a=e}function xoe(e){this.a=e}function Soe(e){this.a=e}function Coe(e){this.a=e}function woe(e){this.a=e}function Toe(e){this.a=e}function Ru(e){this.a=e}function Eoe(e){this.a=e}function Doe(e){this.a=e}function Ooe(e){this.a=e}function zu(e){this.a=e}function koe(e){this.a=e}function Bu(e){this.a=e}function Vu(e){this.a=e}function Aoe(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 Hu(e){this.a=e}function zoe(e){this.a=e}function Boe(e){this.a=e}function Uu(e){this.a=e}function Voe(e){this.a=e}function Wu(e){this.a=e}function Gu(e){this.a=e}function Ku(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 Joe(e){this.a=e}function Yoe(e){this.a=e}function Xoe(e){this.a=e}function qu(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 Ju(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 sse(e){this.a=e}function cse(e){this.a=e}function Yu(e){this.a=e}function Xu(e){this.a=e}function lse(e){this.a=e}function Zu(e){this.a=e}function Qu(e){this.a=e}function $u(e){this.a=e}function ed(e){this.a=e}function use(e){this.a=e}function dse(e){this.a=e}function fse(e){this.a=e}function td(e){this.a=e}function pse(e){this.a=e}function nd(e){this.a=e}function mse(e){this.a=e}function rd(e){this.a=e}function id(e){this.b=e}function hse(e){this.f=e}function ad(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 xse(e){this.a=e}function Sse(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 fd(e){this.b=e}function pd(e){this.c=e}function md(e){this.e=e}function hd(e){this.d=e}function gd(e){this.a=e}function _d(e){this.a=e}function vd(e){this.a=e}function yd(e){this.a=e}function bd(e){this.e=e}function xd(){this.a=0}function Sd(){jv(this)}function Cd(){OS(this)}function wd(){ZEe(this)}function Cse(){}function Td(){this.c=qBt}function wse(e,t){e.b+=t}function Tse(e,t){t.Wb(e)}function Ed(e){return e.a}function Ese(e){return e.a}function Dse(e){return e.a}function Ose(e){return e.a}function kse(e){return e.a}function O(e){return e.e}function Ase(){return null}function jse(){return null}function Mse(e){throw O(e)}function Dd(e){this.a=HS(e)}function Nse(){this.a=this}function Od(){Fge.call(this)}function kd(e){e.b.Mf(e.e)}function Ad(e){e.b=new tm}function jd(e,t){e.b=t-e.b}function Md(e,t){e.a=t-e.a}function Nd(e,t){t.gd(e.a)}function Pd(e,t){jI(t,e)}function Fd(e,t){e.push(t)}function Id(e,t){e.sort(t)}function Ld(e,t,n){e.Wd(n,t)}function Rd(e,t){e.e=t,t.b=e}function zd(e){_w(),Sbt.je(e)}function Bd(){ble(),jut()}function Vd(){Od.call(this)}function Hd(){Od.call(this)}function Ud(){Fge.call(this)}function Pse(){Od.call(this)}function Wd(){Od.call(this)}function Fse(){Od.call(this)}function Gd(){Od.call(this)}function Kd(){Od.call(this)}function qd(){Od.call(this)}function Jd(){Od.call(this)}function Yd(){Od.call(this)}function Xd(){Od.call(this)}function Zd(){this.Bb|=256}function Qd(){this.b=new Xpe}function $d(){$d=C,new Cd}function ef(e,t){e.length=t}function tf(e,t){iy(e.a,t)}function Ise(e,t){Z2e(e.c,t)}function nf(e,t){ES(e.b,t)}function Lse(e,t){DP(e.a,t)}function rf(e,t){bM(e.a,t)}function af(e,t){aA(e.e,t)}function of(e){JI(e.c,e.b)}function sf(e,t){e.kc().Nb(t)}function cf(e){this.a=WKe(e)}function lf(){this.a=new Cd}function uf(){this.a=new Cd}function df(){this.a=new Sd}function ff(){this.a=new Sd}function pf(){this.a=new Sd}function mf(){this.a=new Be}function hf(){this.a=new PFe}function gf(){this.a=new Uue}function _f(){this.a=new tAe}function vf(){this.a=new Kve}function yf(){this.a=new at}function bf(){this.a=new Fje}function xf(){this.a=new Sd}function Sf(){this.a=new Sd}function Cf(){this.a=new Sd}function wf(){this.a=new Sd}function Tf(){this.d=new Sd}function Ef(){this.a=new lf}function Df(){this.a=new Cd}function Rse(){this.b=new Cd}function Of(){this.b=new Sd}function kf(){this.e=new Sd}function Af(){this.a=new ic}function zse(){this.d=new Sd}function jf(){Sd.call(this)}function Mf(){Vd.call(this)}function Nf(){df.call(this)}function Pf(){Cf.call(this)}function Ff(){Cse.call(this)}function If(){Ff.call(this)}function Lf(){Cb.call(this)}function Rf(){Cse.call(this)}function zf(){Rf.call(this)}function Bse(){KOe.call(this)}function Vse(){KOe.call(this)}function Bf(){tp.call(this)}function Vf(){tp.call(this)}function Hse(){tp.call(this)}function Use(){rp.call(this)}function Hf(){oo.call(this)}function Uf(){oo.call(this)}function Wf(){uh.call(this)}function Gf(){sp.call(this)}function Wse(){sp.call(this)}function Gse(){Cd.call(this)}function Kse(){Cd.call(this)}function Kf(){Cd.call(this)}function qf(){fBe.call(this)}function qse(){lf.call(this)}function Jse(){Zd.call(this)}function Jf(){age.call(this)}function Yf(){Cd.call(this)}function Xf(){age.call(this)}function Zf(){Cd.call(this)}function Yse(){Cd.call(this)}function Qf(){So.call(this)}function Xse(){Qf.call(this)}function $f(){So.call(this)}function ep(){Xs.call(this)}function tp(){this.a=new lf}function np(){this.a=new Cd}function rp(){this.a=new Cd}function ip(){this.a=new uh}function ap(){this.a=new Sd}function op(){this.j=new Sd}function sp(){this.a=new ere}function cp(){this.a=new yne}function lp(){this.a=new qle}function up(){up=C,FJ=new pp}function dp(){dp=C,kJ=new o}function fp(){fp=C,PJ=new Zse}function Zse(){Hc.call(this,``)}function pp(){Hc.call(this,``)}function Qse(e){_ze.call(this,e)}function $se(e){_ze.call(this,e)}function mp(e){jc.call(this,e)}function hp(e){lue.call(this,e)}function ece(e){lue.call(this,e)}function tce(e){hp.call(this,e)}function gp(e){hp.call(this,e)}function _p(e){hp.call(this,e)}function nce(e){aE.call(this,e)}function vp(e){aE.call(this,e)}function rce(e){Lhe.call(this,e)}function ice(e){Tue.call(this,e)}function yp(e){th.call(this,e)}function bp(e){th.call(this,e)}function ace(e){th.call(this,e)}function xp(e){Ywe.call(this,e)}function oce(e){xp.call(this,e)}function Sp(){Qc.call(this,{})}function Cp(e){py(),this.a=e}function sce(e){e.b=null,e.c=0}function wp(e,t){e.e=t,fet(e,t)}function cce(e,t){e.a=t,$4e(e)}function Tp(e,t,n){e.a[t.g]=n}function lce(e,t,n){h$e(n,e,t)}function Ep(e,t){mye(t.i,e.n)}function uce(e,t){_We(e).Ad(t)}function Dp(e,t){return e*e/t}function Op(e,t){return e.g-t.g}function dce(e,t){e.a.ec().Kc(t)}function kp(e){return new Zc(e)}function fce(e){return new $S(e)}function Ap(e){xp.call(this,e)}function jp(e){xp.call(this,e)}function Mp(e){xp.call(this,e)}function Np(e){Ywe.call(this,e)}function Pp(e){oHe(),this.a=e}function Fp(e){qwe(),this.f=e}function Ip(e){qwe(),this.f=e}function pce(e){Sbe(),this.a=e}function Lp(e){xp.call(this,e)}function Rp(e){xp.call(this,e)}function zp(e){xp.call(this,e)}function Bp(e){xp.call(this,e)}function Vp(e){xp.call(this,e)}function Hp(e){return pC(e),e}function k(e){return pC(e),e}function Up(e){return pC(e),e}function mce(e){return pC(e),e}function hce(e){return pC(e),e}function Wp(e){return e.b==e.c}function Gp(e){return!!e&&e.b}function gce(e){return!!e&&e.k}function _ce(e){return!!e&&e.j}function Kp(e){pC(e),this.a=e}function vce(e){return aj(e),e}function qp(e){jTe(e,e.length)}function Jp(e){xp.call(this,e)}function Yp(e){xp.call(this,e)}function Xp(e){xp.call(this,e)}function Zp(e){xp.call(this,e)}function Qp(e){xp.call(this,e)}function $p(e){xp.call(this,e)}function em(e){i_e.call(this,e,0)}function tm(){Nje.call(this,12,3)}function nm(){this.a=ib(HS(oB))}function yce(){throw O(new Jd)}function bce(){throw O(new Jd)}function xce(){throw O(new Jd)}function Sce(){throw O(new Jd)}function Cce(){throw O(new Jd)}function wce(){throw O(new Jd)}function Tce(){Tce=C,vbt=new a}function Ece(){Ece=C,xbt=new v}function rm(){rm=C,WJ=new x}function im(){im=C,RJ=new Ihe}function Dce(){Dce=C,Ebt=new ee}function am(){am=C,_w()}function om(){Cl.call(this,``)}function sm(){Cl.call(this,``)}function cm(){Cl.call(this,``)}function lm(){Cl.call(this,``)}function Oce(e){jp.call(this,e)}function kce(e){jp.call(this,e)}function um(e){Rp.call(this,e)}function dm(e){Pl.call(this,e)}function Ace(e){dm.call(this,e)}function fm(e){by.call(this,e)}function jce(e,t,n){e.c.Cf(t,n)}function Mce(e,t,n){t.Ad(e.a[n])}function Nce(e,t,n){t.Ne(e.a[n])}function Pce(e,t){return e.a-t.a}function Fce(e,t){return e.a-t.a}function Ice(e,t){return e.a-t.a}function pm(e,t){return CD(e,t)}function A(e,t){return mAe(e,t)}function Lce(e,t){return t in e.a}function Rce(e){return e.a?e.b:0}function zce(e){return e.a?e.b:0}function Bce(e,t){return e.f=t,e}function Vce(e,t){return e.b=t,e}function Hce(e,t){return e.c=t,e}function Uce(e,t){return e.g=t,e}function Wce(e,t){return e.a=t,e}function Gce(e,t){return e.f=t,e}function Kce(e,t){return e.k=t,e}function qce(e,t){return e.a=t,e}function Jce(e,t){return e.e=t,e}function Yce(e,t){return e.e=t,e}function Xce(e,t){return e.f=t,e}function Zce(e,t){e.b=new mv(t)}function Qce(e,t){e._d(t),t.$d(e)}function $ce(e,t){Xb(),t.n.a+=e}function ele(e,t){tI(),Gw(t,e)}function tle(e,t){return e.b-t.b}function nle(e,t){return e.g-t.g}function rle(e,t){return e.s-t.s}function ile(e,t){return e?0:t-1}function ale(e,t){return e?0:t-1}function ole(e,t){return e?t-1:0}function sle(e,t){return t.pg(e)}function mm(e,t){return e.b=t,e}function hm(e,t){return e.a=t,e}function gm(e,t){return e.c=t,e}function _m(e,t){return e.d=t,e}function vm(e,t){return e.e=t,e}function cle(e,t){return e.f=t,e}function ym(e,t){return e.a=t,e}function bm(e,t){return e.b=t,e}function xm(e,t){return e.c=t,e}function Sm(e,t){return e.c=t,e}function Cm(e,t){return e.b=t,e}function wm(e,t){return e.d=t,e}function Tm(e,t){return e.e=t,e}function lle(e,t){return e.f=t,e}function Em(e,t){return e.g=t,e}function Dm(e,t){return e.a=t,e}function Om(e,t){return e.i=t,e}function km(e,t){return e.j=t,e}function ule(e,t){return e.j=t,e}function dle(e,t){return e.k=t,e}function Am(){this.a=0,this.b=0}function fle(){this.b=0,this.a=0}function ple(e){QDe.call(this,e)}function mle(e){QDe.call(this,e)}function jm(e){Rb.call(this,e)}function Mm(e){vO.call(this,e)}function hle(e){WC.call(this,e)}function gle(e){WC.call(this,e)}function _le(){fhe.call(this,``)}function vle(){vle=C,cxt=o1e()}function Nm(){Nm=C,Bzt=YQe()}function yle(){yle=C,l7=J1e()}function ble(){ble=C,T7=ek()}function Pm(){Pm=C,NBt=XQe()}function xle(){xle=C,bVt=ZQe()}function Sle(){Sle=C,x9=X4e()}function Fm(e){return e.e&&e.e()}function Cle(e,t){return e.c._b(t)}function wle(e,t){return PGe(e.b,t)}function Tle(e,t){return Sde(e.a,t)}function Ele(e,t){e.b=0,KO(e,t)}function Dle(e,t){e.c=t,e.b=!0}function Im(e,t){return e.a+=t,e}function Lm(e,t){return e.a+=t,e}function Rm(e,t){return e.a+=t,e}function zm(e,t){return e.a+=t,e}function Bm(e){return nb(e),e.o}function Ole(e){Alt(),Xut(this,e)}function kle(){throw O(new Jd)}function Ale(){throw O(new Jd)}function jle(){throw O(new Jd)}function Mle(){throw O(new Jd)}function Nle(){throw O(new Jd)}function Ple(){throw O(new Jd)}function Vm(e){this.a=new gh(e)}function Hm(e){this.a=new vTe(e)}function Um(e,t){for(;e.Pe(t););}function Fle(e,t){for(;e.zd(t););}function Ile(e,t,n){Ewe(e.a,t,n)}function Lle(e,t,n){e.splice(t,n)}function Rle(e,t){return Dot(t,e)}function zle(e,t){return e.d[t.p]}function Wm(e){return e.b!=e.d.c}function Ble(e){return e.l|e.m<<22}function Gm(e){return e?e.d:null}function Vle(e){return e?e.g:null}function Hle(e){return e?e.i:null}function Ule(e,t){return uet(e,t)}function Km(e){return cC(e),e.a}function Wle(e){e.c?ott(e):stt(e)}function Gle(){this.b=new AL(jMt)}function Kle(){this.b=new AL(M3)}function qle(){this.b=new AL(M3)}function Jle(){this.a=new AL(GNt)}function Yle(){this.a=new AL(VPt)}function qm(e){this.a=0,this.b=e}function Xle(){throw O(new Jd)}function Zle(){throw O(new Jd)}function Qle(){throw O(new Jd)}function $le(){throw O(new Jd)}function eue(){throw O(new Jd)}function tue(){throw O(new Jd)}function nue(){throw O(new Jd)}function rue(){throw O(new Jd)}function iue(){throw O(new Jd)}function aue(){throw O(new Jd)}function oue(){throw O(new Yd)}function sue(){throw O(new Yd)}function Jm(e){this.a=new Mue(e)}function Ym(e){this.b=F(HS(e),92)}function cue(e,t){this.b=e,this.c=t}function Xm(e,t){this.e=e,this.d=t}function lue(e){sge(e.dc()),this.c=e}function uue(e,t){this.a=e,this.b=t}function due(e,t){this.a=e,this.b=t}function fue(e,t){this.a=e,this.b=t}function pue(e,t){this.a=e,this.b=t}function mue(e,t){this.a=e,this.b=t}function hue(e,t){this.a=e,this.b=t}function gue(e,t){this.a=e,this.b=t}function _ue(e,t){this.b=e,this.a=t}function Zm(e,t){this.g=e,this.i=t}function vue(e,t){this.b=e,this.a=t}function Qm(e,t){fy.call(this,e,t)}function $m(e,t){Qm.call(this,e,t)}function yue(e,t){this.a=e,this.b=t}function bue(e,t){this.a=e,this.b=t}function xue(e,t){this.b=e,this.a=t}function Sue(e,t){this.b=e,this.a=t}function eh(e,t){this.f=e,this.g=t}function th(e){this.b=F(HS(e),50)}function nh(e,t){this.a=e,this.b=t}function Cue(e,t){this.a=e,this.f=t}function wue(e){this.a=F(HS(e),16)}function Tue(e){this.a=F(HS(e),16)}function Eue(e,t){this.b=e,this.c=t}function Due(e){this.a=F(HS(e),92)}function Oue(e,t){this.a=e,this.b=t}function kue(e,t){this.a=e,this.b=t}function Aue(e,t){return xS(e.b,t)}function jue(e,t){return e>t&&t0}function Yh(e,t){return Bj(e,t)<0}function wde(e,t){return t.split(e)}function Xh(e){return e.b=0}function q_(e,t){return Bj(e,t)!=0}function Lpe(e,t){return e.a+=``+t,e}function Rpe(e){return``+(pC(e),e)}function zpe(e,t){e.q.setTime(MT(t))}function J_(e,t){return e.a+=``+t,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 Bpe(e){return lT(e,0),null}function Vpe(e){OS(this),Yk(this,e)}function Hpe(e,t){gTe.call(this,e,t)}function Upe(e,t){gTe.call(this,e,t)}function $_(e,t){gTe.call(this,e,t)}function Wpe(){TAe(),qOe.call(this)}function Gpe(){TAe(),qOe.call(this)}function Kpe(){CAe(),Bwe.call(this)}function qpe(){qpe=C,GMt=Nj(aHe())}function Jpe(){Jpe=C,gSt=Nj(JN())}function Ype(){Ype=C,Hwt=Nj(F9e())}function Xpe(){this.b=new gh(lA(12))}function Zpe(){this.b=0,this.a=!1}function Qpe(){this.b=0,this.a=!1}function ev(e,t){pE(e,t,e.a,e.a.a)}function tv(e,t){pE(e,t,e.c.b,e.c)}function nv(e,t){Bh(),vC(D7,e,t)}function rv(e,t){xb.call(this,e,t)}function iv(e,t){Ab.call(this,e,t)}function av(e,t){Spe.call(this,e,t)}function $pe(e,t){My.call(this,e,t)}function ov(e,t){yA.call(this,e,t)}function sv(e){this.a=e,Qs.call(this)}function eme(e){this.a=e,Qs.call(this)}function cv(e){return e.a=0,e.b=0,e}function tme(e,t){return e.a=t.g+1,e}function nme(e,t){return e.j[t.p]==2}function lv(e,t){return fw(e.a,0,t)}function rme(e,t){return dM(e.a,t.a)}function ime(e,t){return Uv(e.a,t.a)}function ame(e,t){return qTe(e.a,t.a)}function ome(e,t){return M(e)===M(t)}function uv(e,t){return e.indexOf(t)}function sme(e){return HS(e),new sv(e)}function cme(e){return Wv(e.l,e.m,e.h)}function dv(e){return Ew((pC(e),e))}function lme(e){return Ew((pC(e),e))}function ume(e,t){return Uv(e.g,t.g)}function fv(e){return typeof e===Rdt}function dme(e){return e==TX||e==EX}function fme(e){return e==TX||e==OX}function pv(e){return e<10?`0`+e:``+e}function pme(e){return PD(e.b.b,e,0)}function mme(e,t){SD(e,0,e.length,t)}function hme(e,t){return iy(e.a,t),t}function gme(e,t){return Xb(),t.a+=e}function _me(e,t){return Xb(),t.a+=e}function vme(e,t){return Xb(),t.c+=e}function yme(e,t){return iy(e.c,t),e}function bme(e,t){return iA(e.a,t),e}function xme(e){this.a=Nde(),this.b=e}function Sme(e){this.a=Nde(),this.b=e}function mv(e){this.a=e.a,this.b=e.b}function hv(){Bl.call(this,new lE)}function Cme(){Fx.call(this,0,0,0,0)}function gv(){RC.call(this,0,0,0,0)}function _v(e){return iA(new dC,e)}function wme(e){return CC(F(e,125))}function vv(e){return e.sh()&&e.th()}function yv(e){return e!=i5&&e!=a5}function bv(e){return e==_8||e==v8}function xv(e){return e==b8||e==g8}function Tme(e){return e==J0||e==q0}function Eme(e,t){return dM(t.f,e.f)}function Dme(e,t){return Uv(e.g,t.g)}function Ome(e,t){return new yA(t,e)}function kme(e,t){return new yA(t,e)}function Sv(e,t,n){FO(e,t),IO(e,n)}function Cv(e,t,n){zO(e,t),PO(e,n)}function wv(e,t,n){BO(e,t),VO(e,n)}function Tv(e,t,n){LO(e,t),RO(e,n)}function Ev(e,t,n){HO(e,t),UO(e,n)}function Dv(e,t){kj(e,t),qO(e,e.D)}function Ov(e){_pe.call(this,e,!0)}function Ame(e,t,n){nve.call(this,e,t,n)}function jme(){ng.call(this,`Head`,1)}function Mme(){ng.call(this,`Tail`,3)}function kv(e){oR(),qVe.call(this,e)}function Av(e){Fx.call(this,e,e,e,e)}function jv(e){e.c=H(OJ,sB,1,0,5,1)}function Nme(e){SO(e.Qf(),new nu(e))}function Mv(e){return e==null?0:jk(e)}function Pme(e,t){return yO(t,Fw(e))}function Fme(e,t){return yO(t,Fw(e))}function Ime(e,t){return e[e.length]=t}function Lme(e,t){return e[e.length]=t}function Rme(e,t){return dk(xEe(e.f),t)}function zme(e,t){return dk(xEe(e.n),t)}function Bme(e,t){return dk(xEe(e.p),t)}function Vme(e){return DSe(e.b.Jc(),e.a)}function Hme(e){return e==null?0:jk(e)}function Nv(e,t){xb.call(this,e.b,t)}function Ume(e,t){cD(tE(e.a),MAe(t))}function Wme(e,t){cD(BD(e.a),NAe(t))}function Gme(e,t,n){wv(n,n.i+e,n.j+t)}function Kme(e,t,n){qS(e.c[t.g],t.g,n)}function qme(e,t,n){F(e.c,72).Ei(t,n)}function Pv(e,t,n){return qS(e,t,n),n}function Jme(e,t){DY||(e.b=t)}function Yme(){Yme=C,$d(),Cbt=new Cd}function Xme(){Xme=C,B2=new QM(j8)}function Fv(){Fv=C,r.Math.log(2)}function Iv(){Iv=C,f9=(fde(),Zzt)}function Lv(){Lv=C,new Zme,new Sd}function Zme(){new Cd,new Cd,new Cd}function Qme(){throw O(new Jp(ebt))}function $me(){throw O(new Jp($yt))}function ehe(){throw O(new Jp($yt))}function the(){throw O(new Jp(ebt))}function Rv(e){qz(),bd.call(this,e)}function nhe(e){this.a=e,ASe.call(this,e)}function zv(e){this.a=e,Ym.call(this,e)}function Bv(e){this.a=e,Ym.call(this,e)}function Vv(e,t){_we(e.c,e.c.length,t)}function Hv(e){return e.at)}function ahe(e,t){return Bj(e,t)>0?e:t}function Wv(e,t,n){return{l:e,m:t,h:n}}function ohe(e,t){e.a!=null&&Fpe(t,e.a)}function she(e){Hw(e,null),Ww(e,null)}function che(e,t,n){return vC(e.g,n,t)}function lhe(e,t){HS(t),DC(e).Ic(new h)}function uhe(){gF(),this.a=new AL(TCt)}function Gv(e){this.b=e,this.a=new Sd}function dhe(e){this.b=new rt,this.a=e}function fhe(e){Gve.call(this),this.a=e}function phe(e){JOe.call(this),this.b=e}function mhe(){ng.call(this,`Range`,2)}function Kv(e){e.j=H(Hbt,xB,325,0,0,1)}function hhe(e){e.a=new pe,e.c=new pe}function ghe(e){e.a=new Cd,e.e=new Cd}function _he(e){tT(e,null),nT(e,null)}function vhe(e,t,n){return Tct(e,t,n),n}function yhe(e,t){return Xw(),t.n.b+=e}function qv(e,t,n){return _Je(t,n,e.c)}function bhe(e,t,n){return vC(e.k,n,t)}function xhe(e,t){return vC(e.a,t.a,t)}function She(e,t){return kct(e.a,t,null)}function Che(e,t){return P(JS(e.i,t))}function whe(e,t){return P(JS(e.j,t))}function Jv(e,t){return gst(e.c,e.b,t)}function The(e){return new j(e.c,e.d)}function Ehe(e){return new j(e.c,e.d)}function Yv(e){return new j(e.a,e.b)}function N(e,t){return e!=null&&mP(e,t)}function Xv(e,t){return dUe(e.Jc(),t)!=-1}function Zv(e){return e.Ob()?e.Pb():null}function Dhe(e,t){return new Cge(e.Jc(),t)}function Ohe(e,t){e.q.setHours(t),zR(e,t)}function khe(e,t,n){e.c._c(t,F(n,136))}function Ahe(e,t,n){e.c.Si(t,F(n,136))}function jhe(e,t){fz(e),e.Fc(F(t,16))}function Mhe(e,t){return e.a.Ac(t)!=null}function Nhe(e){return kN(e,0,e.length)}function Phe(){My.call(this,null,null)}function Fhe(){Ny.call(this,null,null)}function Ihe(){eh.call(this,`INSTANCE`,0)}function Lhe(e){this.a=(qC(),new dm(e))}function Rhe(e){this.b=(qC(),new Hl(e))}function zhe(e){this.a=e,Cd.call(this)}function Qv(){this.a=H(OJ,sB,1,8,5,1)}function Bhe(e,t,n,r){qS(e.a[t.g],n.g,r)}function $v(e,t,n){return e.a[t.g][n.g]}function ey(e,t){return e.a[t.c.p][t.p]}function Vhe(e,t){return e.c[t.c.p][t.p]}function Hhe(e,t){return e.e[t.c.p][t.p]}function Uhe(e,t){return e.j[t.p]=v7e(t)}function Whe(e,t){return AFe(e.f,t.Og())}function Ghe(e,t){return k(P(t.a))<=e}function Khe(e,t){return k(P(t.a))>=e}function ty(e,t){return e.a.Ac(t)!=null}function qhe(e,t){return e.a0?t*t/e:t*t*100}function w_e(e,t){return e>0?t/(e*e):t*100}function T_e(e,t){return e.a=t.a,e.b=t.b,e}function Zy(e){return e.a=-e.a,e.b=-e.b,e}function E_e(e,t,n){return e.a-=t,e.b-=n,e}function Qy(e,t,n){return e.a+=t,e.b+=n,e}function D_e(e,t,n){yD(),e.nf(t)&&n.Ad(e)}function O_e(e){this.c=e,BO(e,0),VO(e,0)}function k_e(e){uh.call(this),ak(this,e)}function A_e(){eh.call(this,`GROW_TREE`,0)}function $y(e,t,n){fD.call(this,e,t,n,2)}function j_e(e,t){Vh(),My.call(this,e,t)}function M_e(e,t){Hh(),Ny.call(this,e,t)}function N_e(e,t){Hh(),Ny.call(this,e,t)}function P_e(e,t){Hh(),M_e.call(this,e,t)}function F_e(e,t){return e.c.Ec(F(t,136))}function I_e(e,t){return F(JS(e.e,t),26)}function L_e(e,t){return F(JS(e.e,t),26)}function R_e(e,t,n){lM(BD(e.a),t,NAe(n))}function z_e(e,t,n){lM(tE(e.a),t,MAe(n))}function eb(e,t){Iv(),Bx.call(this,e,t)}function B_e(e,t){Iv(),Bx.call(this,e,t)}function V_e(e,t){Iv(),Bx.call(this,e,t)}function H_e(e,t){Iv(),eb.call(this,e,t)}function U_e(e,t){Iv(),eb.call(this,e,t)}function W_e(e,t){Iv(),U_e.call(this,e,t)}function G_e(e,t){Iv(),B_e.call(this,e,t)}function K_e(e,t,n){return az(LD(e,t),n)}function q_e(e,t,n){return t.xl(e.e,e.c,n)}function J_e(e,t,n){return t.yl(e.e,e.c,n)}function tb(e,t){return qj(e.e,F(t,52))}function Y_e(e,t){return pC(e),e+Ib(t)}function X_e(e){return e==null?null:qM(e)}function Z_e(e){return e==null?null:qM(e)}function Q_e(e){return e==null?null:Mlt(e)}function $_e(e){return e==null?null:H2e(e)}function nb(e){e.o??T5e(e)}function rb(e){return gx(e==null||L_(e)),e}function P(e){return gx(e==null||R_(e)),e}function ib(e){return gx(e==null||z_(e)),e}function ab(e){N(e,161)&&F(e,161).mi()}function eve(){fBe.call(this),this.Bb|=PV}function tve(e,t){this.d=e,lae(this),this.b=t}function ob(e,t){this.c=e,Xm.call(this,e,t)}function sb(e,t){this.a=e,ob.call(this,e,t)}function nve(e,t,n){ZE.call(this,e,t,n,null)}function rve(e,t,n){ZE.call(this,e,t,n,null)}function ive(e,t){iD.call(this,e),this.a=t}function ave(e,t){iD.call(this,e),this.a=t}function ove(e,t){return FP(e,t),new hDe(e,t)}function sve(e,t,n){return e.Le(t,n)<=0?n:t}function cve(e,t,n){return e.Le(t,n)<=0?t:n}function lve(e){return pC(e),e?1231:1237}function uve(e,t){t.a?x8e(e,t):ty(e.a,t.b)}function dve(e,t){DY||iy(e.a,t)}function fve(e,t){return Eh(),cA(t.d.i,e)}function pve(e,t){return Ak(),new wnt(t,e)}function mve(e,t){return F($D(e.b,t),144)}function hve(e,t){return F($D(e.c,t),233)}function cb(e){return F(jx(e.a,e.b),295)}function gve(e){return new j(e.c,e.d+e.a)}function _ve(e){return Xw(),Tme(F(e,203))}function vve(e,t){return F(JS(e.b,t),278)}function lb(e,t){return mw(t,Kft),e.f=t,e}function yve(e,t,n){return n=SR(e,t,3,n),n}function bve(e,t,n){return n=SR(e,t,6,n),n}function xve(e,t,n){return n=SR(e,t,9,n),n}function ub(e,t,n){++e.j,e.rj(),tD(e,t,n)}function Sve(e,t,n){++e.j,e.oj(t,e.Xi(t,n))}function Cve(e,t,n){e.dd(t).Rb(n)}function wve(e,t){this.c=e,vO.call(this,t)}function Tve(e,t){this.a=e,fd.call(this,t)}function db(e,t){this.a=e,fd.call(this,t)}function Eve(e){this.q=new r.Date(MT(e))}function Dve(){this.a=new xw,this.b=new xw}function fb(){fb=C,E7=new Gf,new Wse}function pb(){pb=C,M4=new id(`root`)}function mb(){mb=C,_St=VM((CN(),z5))}function hb(e){e.b?hb(e.b):e.f.c.yc(e.e,e.d)}function gb(e){this.a=(qC(),new Al(HS(e)))}function Ove(e){this.a=(uk(e,RB),new oD(e))}function kve(e){this.a=(uk(e,RB),new oD(e))}function Ave(e){return e==null?null:e.message}function _b(e){return String.fromCharCode(e)}function jve(e){return Gx(sS(e,32))^Gx(e)}function Mve(e,t){return(t&nB)%e.d.length}function Nve(e,t,n){return Wat(e.c,e.b,t,n)}function Pve(e,t,n){return e.apply(t,n)}function Fve(e,t,n){return TS(e,F(t,24),n)}function Ive(e,t,n){return e.a+=kN(t,0,n),e}function Lve(e,t){var n=e.e;return e.e=t,n}function Rve(e,t){var n=t;return!!e.De(n)}function zve(e,t){e[GV].call(e,t)}function Bve(e,t){e[GV].call(e,t)}function vb(e,t){e.a._c(e.b,t),++e.b,e.c=-1}function Vve(e){OS(e.e),e.d.b=e.d,e.d.a=e.d}function Hve(e,t,n){_h(),tl(e,t.Te(e.a,n))}function yb(e,t){return xy(),e==t?0:e?1:-1}function bb(e,t){return pm(Array(t),e)}function xb(e,t){id.call(this,e),this.a=t}function Uve(e,t){pd.call(this,e),this.a=t}function Sb(e,t){pd.call(this,e),this.a=t}function Wve(){Cb.call(this),this.a=new Am}function Gve(){this.n=new Am,this.o=new Am}function Kve(){this.b=new Am,this.c=new Sd}function qve(){this.a=new Sd,this.b=new Sd}function Jve(){this.a=new at,this.b=new Qd}function Yve(){this.b=new lE,this.a=new lE}function Xve(){this.b=new lf,this.a=new lf}function Zve(){this.a=new Sd,this.d=new Sd}function Qve(){this.b=new Cd,this.a=new Cd}function $ve(){this.b=new Gle,this.a=new Li}function eye(){this.a=new Xre,this.b=new Ur}function Cb(){this.n=new Rf,this.i=new gv}function wb(e){return!e.a&&(e.a=new te),e.a}function Tb(e,t){return e.a+=t.a,e.b+=t.b,e}function Eb(e,t){return e.a-=t.a,e.b-=t.b,e}function tye(e){return ef(e.j.c,0),e.a=-1,e}function nye(e,t,n){return n=SR(e,t,11,n),n}function rye(e,t,n){n!=null&&hk(t,BP(e,n))}function iye(e,t,n){n!=null&&gk(t,BP(e,n))}function Db(e,t,n,r){I.call(this,e,t,n,r)}function aye(e,t,n,r){Fx.call(this,e,t,n,r)}function oye(e,t,n,r){I.call(this,e,t,n,r)}function sye(e,t,n,r){oye.call(this,e,t,n,r)}function cye(e,t,n,r){_S.call(this,e,t,n,r)}function Ob(e,t,n,r){_S.call(this,e,t,n,r)}function lye(e,t,n,r){Ob.call(this,e,t,n,r)}function uye(e,t,n,r){_S.call(this,e,t,n,r)}function kb(e,t,n,r){uye.call(this,e,t,n,r)}function dye(e,t,n,r){Ob.call(this,e,t,n,r)}function fye(e,t,n,r){dye.call(this,e,t,n,r)}function pye(e,t,n,r){wTe.call(this,e,t,n,r)}function Ab(e,t){jp.call(this,vq+e+iq+t)}function mye(e,t){bv(e.f)?h5e(e,t):c0e(e,t)}function hye(e,t){return e.hk().ti().oi(e,t)}function gye(e,t){return e.hk().ti().qi(e,t)}function _ye(e,t){return e.n.a=(pC(t),t+10)}function vye(e,t){return e.n.a=(pC(t),t+10)}function yye(e,t){return e.e=F(e.d.Kb(t),162)}function bye(e,t){return t==e||vF(gL(t),e)}function xye(e,t,n){return e.lastIndexOf(t,n)}function jb(e,t){return pC(e),M(e)===M(t)}function Sye(e,t){return pC(e),M(e)===M(t)}function Cye(e,t){return vC(e.a,t,``)==null}function wye(e,t){return e.b.zd(new Ide(e,t))}function Tye(e,t){return e.b.zd(new Lde(e,t))}function Eye(e,t){return e.b.zd(new Rde(e,t))}function Dye(e,t){return G(t,(Hz(),v1),e)}function Oye(e,t,n){return dM(e[t.a],e[n.a])}function kye(e,t){return Uv(e.a.d.p,t.a.d.p)}function Aye(e,t){return Uv(t.a.d.p,e.a.d.p)}function jye(e,t){return Eh(),!cA(t.d.i,e)}function Mye(e,t){DY||t&&(e.d=t)}function Nye(e,t){ISe.call(this,e,e.length,t)}function Pye(e){this.c=e,$_.call(this,EB,0)}function Fye(e,t,n){this.a=e,i_e.call(this,t,n)}function Iye(e,t){this.c=e,GTe.call(this,e,t)}function Lye(e,t,n){this.c=t,this.b=n,this.a=e}function Mb(e){ux(),this.d=e,this.a=new Qv}function Rye(e){return e<100?null:new Mm(e)}function zye(e){return e.c?PD(e.c.a,e,0):-1}function Bye(e,t){return dM(e.c.e.a,t.c.e.a)}function Vye(e,t){return dM(e.b.e.a,t.b.e.a)}function Hye(e,t){return dM(e.c-e.s,t.c-t.s)}function Uye(e,t,n){return F(e.c,72).Uk(t,n)}function Nb(e,t,n){return F(e.c,72).Vk(t,n)}function Wye(e,t,n){return q_e(e,F(t,344),n)}function Gye(e,t,n){return J_e(e,F(t,344),n)}function Kye(e,t,n){return w1e(e,F(t,344),n)}function qye(e,t,n){return E0e(e,F(t,344),n)}function Jye(e,t){return N(t,16)&&Stt(e.c,t)}function Pb(e,t){return t==null?null:zj(e.b,t)}function Fb(e){return e==e5||e==n5||e==t5}function Ib(e){return R_(e)?(pC(e),e):e.se()}function Lb(e){return!isNaN(e)&&!isFinite(e)}function Rb(e){hhe(this),XC(this),zk(this,e)}function zb(e){jv(this),RSe(this.c,0,e.Nc())}function Bb(e,t,n){this.a=e,this.b=t,this.c=n}function Yye(e,t,n){this.a=e,this.b=t,this.c=n}function Xye(e,t,n){this.d=e,this.b=n,this.a=t}function Zye(e){this.a=e,ph(),uA(Date.now())}function Vb(e){if(!e)throw O(new zp(Vdt))}function Qye(e,t){if(!e)throw O(new Rp(t))}function Hb(e,t){if(e!=t)throw O(new Wd)}function Ub(){Ub=C,dxt=new me,fxt=new he}function Wb(e){var t=new Ge;return t.e=e,t}function $ye(e,t){return t.ni(e.a)}function ebe(e,t,n){return _h(),e.a.Wd(t,n),t}function tbe(e){uC(e.a),IIe(e.c,e.b),e.b=null}function nbe(e){return Jz(),QO((Jpe(),gSt),e)}function rbe(e){return nO(),QO((tIe(),qxt),e)}function ibe(e){return wD(),QO((eIe(),Wxt),e)}function abe(e){return TD(),QO((OLe(),bxt),e)}function obe(e){return wj(),QO((rIe(),Axt),e)}function sbe(e){return TO(),QO((nIe(),Hxt),e)}function cbe(e){return EA(),QO((jLe(),ySt),e)}function lbe(e){return cO(),QO((PPe(),PSt),e)}function ube(e){return VD(),QO((iIe(),xCt),e)}function dbe(e){return XF(),QO((LRe(),ECt),e)}function fbe(e){return UA(),QO((MLe(),MCt),e)}function pbe(e){return zN(),QO((ALe(),VCt),e)}function mbe(e){return uL(),QO((rHe(),KCt),e)}function hbe(e){Fx.call(this,e.d,e.c,e.a,e.b)}function Gb(e){Fx.call(this,e.d,e.c,e.a,e.b)}function gbe(e,t,n){this.b=e,this.c=t,this.a=n}function Kb(e,t,n){this.b=e,this.a=t,this.c=n}function _be(e,t,n){this.a=e,this.b=t,this.c=n}function vbe(e,t,n){this.a=e,this.b=t,this.c=n}function ybe(e,t,n){this.a=e,this.b=t,this.c=n}function bbe(e,t,n){this.b=e,this.a=t,this.c=n}function qb(e,t,n){this.e=t,this.b=e,this.d=n}function xbe(e){var t=new Tf;return t.b=e,t}function Jb(){Jb=C,qX=new yee,JX=new dn}function Yb(){Yb=C,Jwt=new Ln,qwt=new Rn}function Xb(){Xb=C,nTt=new Cr,rTt=new wr}function Sbe(){Sbe=C,pBt=H(OJ,sB,1,0,5,1)}function Cbe(){Cbe=C,HBt=H(OJ,sB,1,0,5,1)}function wbe(){wbe=C,UBt=H(OJ,sB,1,0,5,1)}function Tbe(e){return Dk(),QO((FPe(),iwt),e)}function Ebe(e){return Kz(),QO((Ype(),Hwt),e)}function Dbe(e){return HA(),QO((kLe(),Kwt),e)}function Obe(e){return TA(),QO((ILe(),oTt),e)}function kbe(e){return MF(),QO((zRe(),cTt),e)}function Abe(e){return QE(),QO((yPe(),yTt),e)}function jbe(e){return bI(),QO((Rze(),gTt),e)}function Mbe(e){return eN(),QO((NLe(),CTt),e)}function Nbe(e){return nk(),QO((yIe(),ETt),e)}function Pbe(e){return dL(),QO((IHe(),kTt),e)}function Fbe(e){return lO(),QO((bPe(),MTt),e)}function Ibe(e){return GA(),QO((bIe(),PTt),e)}function Lbe(e){return kk(),QO((cIe(),pTt),e)}function Rbe(e){return SF(),QO((Bze(),GTt),e)}function zbe(e){return aI(),QO((zze(),ITt),e)}function Bbe(e){return ED(),QO((vPe(),zTt),e)}function Vbe(e){return nI(),QO((Vze(),QTt),e)}function Hbe(e){return HL(),QO((_Ue(),$Tt),e)}function Ube(e){return CA(),QO((aIe(),eEt),e)}function Wbe(e){return WA(),QO((oIe(),nEt),e)}function Gbe(e){return rO(),QO((sIe(),iEt),e)}function Kbe(e){return JT(),QO((xPe(),sEt),e)}function qbe(e){return YL(),QO((iHe(),hTt),e)}function Jbe(e){return $M(),QO((URe(),SEt),e)}function Ybe(e){return hE(),QO((SPe(),wEt),e)}function Xbe(e){return EL(),QO((LHe(),HAt),e)}function Zbe(e){return Uj(),QO((pIe(),GAt),e)}function Qbe(e){return gP(),QO((PLe(),KAt),e)}function $be(e){return cP(),QO((RRe(),JAt),e)}function exe(e){return cR(),QO((gUe(),ejt),e)}function txe(e){return AN(),QO((FLe(),rjt),e)}function nxe(e){return HD(),QO((CPe(),ajt),e)}function rxe(e){return rk(),QO((dIe(),sjt),e)}function ixe(e){return SA(),QO((uIe(),djt),e)}function axe(e){return Cj(),QO((lIe(),pjt),e)}function oxe(e){return Dj(),QO((fIe(),gjt),e)}function sxe(e){return tk(),QO((mIe(),bjt),e)}function cxe(e){return OA(),QO((hIe(),Sjt),e)}function lxe(e){return Hj(),QO((LLe(),Ujt),e)}function uxe(e){return YT(),QO((wPe(),Xjt),e)}function dxe(e){return Cw(),QO((TPe(),aMt),e)}function fxe(e){return Lw(),QO((EPe(),sMt),e)}function pxe(e){return GE(),QO((DPe(),CMt),e)}function mxe(e){return Sw(),QO((OPe(),AMt),e)}function hxe(e){return rF(),QO((BLe(),MMt),e)}function gxe(e){return dR(),QO((qpe(),GMt),e)}function _xe(e){return lj(),QO((gIe(),JMt),e)}function vxe(e){return Ej(),QO((zLe(),LNt),e)}function yxe(e){return bT(),QO((kPe(),BNt),e)}function bxe(e){return Ok(),QO((APe(),KNt),e)}function xxe(e){return FF(),QO((BRe(),JNt),e)}function Sxe(e){return Sj(),QO((_Ie(),tPt),e)}function Cxe(e){return bD(),QO((jPe(),ZNt),e)}function wxe(e){return zP(),QO((RLe(),IPt),e)}function Txe(e){return wA(),QO((SIe(),BPt),e)}function Exe(e){return SN(),QO((xIe(),HPt),e)}function Dxe(e){return KF(),QO((VLe(),WPt),e)}function Oxe(e){return HM(),QO((vIe(),XPt),e)}function kxe(e){return xE(),QO((MPe(),IFt),e)}function Axe(e){return DD(),QO((wIe(),BFt),e)}function jxe(e){return hM(),QO((CIe(),WFt),e)}function Mxe(e){return Nh(),QO((tNe(),QFt),e)}function Nxe(e){return mM(),QO((TIe(),JFt),e)}function Pxe(e){return Mh(),QO((eNe(),XFt),e)}function Fxe(e){return KE(),QO((NPe(),eIt),e)}function Ixe(e){return cI(),QO((HRe(),aIt),e)}function Lxe(e){return xL(),QO((VRe(),qFt),e)}function Rxe(e){return Ph(),QO((nNe(),LIt),e)}function zxe(e){return kA(),QO((IPe(),BIt),e)}function Bxe(e){return ZN(),QO((WRe(),XIt),e)}function Vxe(e){return gI(),QO((tHe(),$It),e)}function Hxe(e){return _P(),QO((Hze(),rLt),e)}function Uxe(e){return kF(),QO((Gze(),hLt),e)}function Wxe(e){return fM(),QO((GRe(),CRt),e)}function Gxe(e){return Wj(),QO((HLe(),DRt),e)}function Kxe(e){return EO(),QO((EIe(),kRt),e)}function qxe(e){return gM(),QO((ULe(),ARt),e)}function Jxe(e){return qF(),QO((Kze(),RRt),e)}function Yxe(e){return xj(),QO((DIe(),KRt),e)}function Xxe(e){return iF(),QO((WLe(),YRt),e)}function Zxe(e){return tL(),QO((PHe(),XRt),e)}function Qxe(e){return QN(),QO((qRe(),$Rt),e)}function $xe(e){return PF(),QO((Uze(),tzt),e)}function eSe(e){return NI(),QO((Wze(),nzt),e)}function tSe(e){return Az(),QO((KRe(),rzt),e)}function nSe(e){return NO(),QO((OIe(),fzt),e)}function rSe(e){return CN(),QO((KLe(),pzt),e)}function iSe(e){return _R(),QO((FHe(),gzt),e)}function aSe(e){return pM(),QO((kIe(),yzt),e)}function oSe(e){return mE(),QO((GLe(),wzt),e)}function sSe(e){return tN(),QO((qLe(),Azt),e)}function cSe(e){return Tj(),QO((JLe(),Lzt),e)}function lSe(e,t){return pC(e),e+(pC(t),t)}function Zb(e,t){this.c=e,this.a=t,this.b=t-e}function uSe(e,t,n){this.a=e,this.c=t,this.b=n}function dSe(e,t,n){this.a=e,this.c=t,this.b=n}function fSe(e,t,n){this.a=e,this.b=t,this.c=n}function pSe(e,t,n){this.a=e,this.b=t,this.c=n}function mSe(e,t,n){this.a=e,this.b=t,this.c=n}function Qb(e,t,n){this.a=e,this.b=t,this.c=n}function hSe(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 $b(e,t,n){this.e=e,this.a=t,this.c=n}function _Se(e,t,n){Iv(),Oke.call(this,e,t,n)}function ex(e,t,n){Iv(),REe.call(this,e,t,n)}function vSe(e,t,n){Iv(),REe.call(this,e,t,n)}function ySe(e,t,n){Iv(),REe.call(this,e,t,n)}function bSe(e,t,n){Iv(),ex.call(this,e,t,n)}function xSe(e,t,n){Iv(),ex.call(this,e,t,n)}function SSe(e,t,n){Iv(),xSe.call(this,e,t,n)}function CSe(e,t,n){Iv(),vSe.call(this,e,t,n)}function wSe(e,t,n){Iv(),ySe.call(this,e,t,n)}function TSe(e){return $I(),QO((nHe(),oBt),e)}function tx(e,t){return HS(e),HS(t),new due(e,t)}function nx(e,t){return HS(e),HS(t),new fCe(e,t)}function ESe(e,t){return HS(e),HS(t),new pCe(e,t)}function DSe(e,t){return HS(e),HS(t),new Sue(e,t)}function OSe(e,t){Oue.call(this,e,MM(new Kp(t)))}function kSe(e,t){this.c=e,this.b=t,this.a=!1}function ASe(e){this.d=e,lae(this),this.b=Wwe(e.d)}function jSe(e,t,n){this.c=e,eg.call(this,t,n)}function MSe(e){return!e.c&&(e.c=new Io),e.c}function NSe(e){return!e.e&&(e.e=new Sd),e.e}function rx(e){var t=new Sd;return QD(t,e),t}function PSe(e){var t=new lf;return QD(t,e),t}function FSe(e){var t=new gf;return Mk(t,e),t}function ix(e){var t=new uh;return Mk(t,e),t}function F(e,t){return gx(e==null||mP(e,t)),e}function ISe(e,t,n){_Te.call(this,t,n),this.a=e}function LSe(e,t,n){this.b=e,Hpe.call(this,t,n)}function RSe(e,t,n){W6e(n,0,e,t,n.length,!1)}function ax(e,t){if(!e)throw O(new Rp(t))}function ox(e,t){if(!e)throw O(new zp(t))}function zSe(e,t){if(!e)throw O(new Mp(t))}function BSe(e,t){t&&(e.b=t,e.a=(cC(t),t.a))}function sx(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function VSe(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function HSe(e){var t,n=e.d;t=e.a,e.d=t,e.a=n}function USe(e){var t=e.b;e.b=e.c,e.c=t}function WSe(e){return qy(e.b!=0),bO(e,e.c.b)}function cx(e){return qy(e.b!=0),bO(e,e.a.a)}function GSe(e,t){return OO(),dM(e.e.a,t.e.a)}function KSe(e,t){return OO(),dM(e.e.b,t.e.b)}function qSe(e,t){return jh(),Uv(e.d.p,t.d.p)}function JSe(e,t){return Uv(SCe(e.d),SCe(t.d))}function lx(e,t){return t&&aC(e,t.d)?t:null}function YSe(e,t){return t==(Az(),N5)?e.c:e.d}function ux(){ux=C,Kjt=(Az(),N5),j2=p5}function XSe(){this.b=k(P(tP((TR(),oX))))}function ZSe(){this.a=`;,;`,this.b=``,this.c=``}function QSe(e,t,n){dg.call(this,e,t),this.b=n}function dx(e,t,n){Cpe.call(this,e,t),this.c=n}function $Se(e){wbe(),So.call(this),this._h(e)}function eCe(e,t,n){this.a=e,av.call(this,t,n)}function tCe(e,t,n){this.a=e,av.call(this,t,n)}function fx(e,t,n){Cpe.call(this,e,t),this.c=n}function nCe(){WE(),VEe.call(this,(zh(),V7))}function rCe(e){return qz(),++W9,new zx(0,e)}function iCe(){iCe=C,hVt=(qC(),new Al(aJ))}function aCe(e){return new j(e.c+e.b,e.d+e.a)}function oCe(e){return e!=null&&!ZM(e,O7,k7)}function sCe(e,t){return(cKe(e)<<4|cKe(t))&ZB}function cCe(e,t){var n=e.c;return RBe(e,t),n}function lCe(e,t){return e.g=t<0?-1:t,e}function px(e,t){return Tze(e),e.a*=t,e.b*=t,e}function uCe(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function mx(e,t){return pE(e,t,e.c.b,e.c),!0}function dCe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function hx(e){this.b=e,this.a=nS(this.b.a).Md()}function fCe(e,t){this.b=e,this.a=t,Qs.call(this)}function pCe(e,t){this.a=e,this.b=t,Qs.call(this)}function mCe(e,t){_Te.call(this,t,1040),this.a=e}function hCe(e){i_e.call(this,e.length,0),this.a=e}function gx(e){if(!e)throw O(new Lp(null))}function _x(e){return CD(e.slice(),e)}function vx(e){var t=e.n;return e.a.b+t.d+t.a}function gCe(e){var t=e.n;return e.e.b+t.d+t.a}function _Ce(e){var t=e.n;return e.e.a+t.b+t.c}function vCe(e){return e.a?e.a:UC(e)}function yx(e,t){return mF(e,new dg(t.a,t.b))}function yCe(e){return!CE(e)&&e.c.i.c==e.d.i.c}function bCe(e,t){return e.c=t)throw O(new Mf)}function cTe(e,t,n){e.a.Mb(n)&&(e.b=!0,t.Ad(n))}function lTe(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function uTe(e){return e.e?VFe(e.e):null}function dTe(e,t,n){return Odt(e,F(t,12),F(n,12))}function fTe(e,t,n){t.of(n,k(P(JS(e.b,n)))*e.a)}function pTe(e,t,n){return UL(),Qk(e,t)&&Qk(e,n)}function mTe(e,t){t.Tg(`General 'Rotator`,1),plt(e)}function fS(e,t,n,r){var i=e.i;i.i=t,i.a=n,i.b=r}function hTe(e){for(var t=e;t.f;)t=t.f;return t}function gTe(e,t){this.e=e,this.d=t&64?t|SB:t}function _Te(e,t){this.c=0,this.d=e,this.b=t|64|SB}function pS(e){this.b=new oD(11),this.a=(JC(),e)}function vTe(e){this.b=null,this.a=(JC(),e||nxt)}function yTe(e){this.a=fXe(e.a),this.b=new zb(e.b)}function bTe(e){this.b=e,Py.call(this,e),fge(this)}function xTe(e){this.b=e,Iy.call(this,e),pge(this)}function mS(e,t,n){this.a=e,Db.call(this,t,n,5,6)}function hS(e,t,n,r,i){pD.call(this,e,t,n,r,i,-1)}function gS(e,t,n,r,i){mD.call(this,e,t,n,r,i,-1)}function I(e,t,n,r){sy.call(this,e,t,n),this.b=r}function _S(e,t,n,r){dx.call(this,e,t,n),this.b=r}function STe(e){_pe.call(this,e,!1),this.a=!1}function CTe(){A_.call(this,`LAYOUT_NEXT_LEVEL`,3)}function wTe(e,t,n,r){this.b=e,sy.call(this,t,n,r)}function TTe(e,t){this.b=e,xie.call(this,e.b),this.a=t}function vS(e,t){var n=e.a.gc();return OFe(t,n),n-t}function ETe(e,t){return t.Sh()?qj(e.b,F(t,52)):t}function DTe(e,t){return jb(e.substr(0,t.length),t)}function yS(e){return new iS(new yge(e.a.length,e.a))}function bS(e){return new j(e.c+e.b/2,e.d+e.a/2)}function OTe(e){return Wv(~e.l&xV,~e.m&xV,~e.h&SV)}function kTe(e){return typeof e===Qz||typeof e===tB}function xS(e,t){return z_(t)?aw(e,t):!!Jx(e.f,t)}function SS(e,t){return qz(),++W9,new UEe(e,t,0)}function ATe(e,t){return qz(),++W9,new UEe(6,e,t)}function CS(e,t){for(pC(t);e.Ob();)t.Ad(e.Pb())}function wS(e,t,n){oR(),this.e=e,this.d=t,this.a=n}function L(e,t,n,r){IWe(t,n,e.length),MTe(e,t,n,r)}function TS(e,t,n){return bk(e.a,t),ACe(e.b,t.g,n)}function ES(e,t){return e.a.yc(t,e)==null}function jTe(e,t){for(var n=0;n0?r.Math.log(e/t):-100}function ITe(e){return new Px(null,JTe(e,e.length))}function OS(e){e.f=new xme(e),e.i=new Sme(e),++e.g}function LTe(e){if(!e)throw O(new Yd);return e.d}function RTe(e,t){if(e==null)throw O(new Vp(t))}function zTe(e,t){return t?zk(e,t):!1}function kS(e){return NI(),!e.Gc(c5)&&!e.Gc(u5)}function AS(e){Ky(e.b!=-1),LE(e.c,e.a=e.b),e.b=-1}function jS(e,t,n){return FWe(e,t.g,n),bk(e.c,t),e}function BTe(e,t,n){vlt(e.a,e.b,e.d,e.c,F(t,170),n)}function MS(e,t){jhe(e,N(t,163)?t:F(t,2001).Pl())}function VTe(e){return Ez(e,(fM(),_8)),e.d=!0,e}function HTe(e){return!e.j&&yl(e,Xnt(e.g,e.b)),e.j}function NS(e){var t=QA(e);return qy(t!=null),t}function UTe(e){var t=gKe(e);return qy(t!=null),t}function WTe(e,t,n){var r=oO(e,t);return nE(e,t,n),r}function GTe(e,t){this.d=e,dy.call(this,e),this.e=t}function KTe(e,t){bd.call(this,1),this.a=e,this.b=t}function qTe(e,t){return Bj(e,t)<0?-1:+(Bj(e,t)>0)}function JTe(e,t){return gze(t,e.length),new mCe(e,t)}function PS(e){return e.e==0?e:new wS(-e.e,e.d,e.a)}function YTe(e){return e==AV?uJ:e==jV?`-INF`:``+e}function XTe(e){return e==AV?uJ:e==jV?`-INF`:``+e}function ZTe(e,t){return dM(e.c.c+e.c.b,t.c.c+t.c.b)}function FS(e,t){pE(e.d,t,e.b.b,e.b),++e.a,e.c=null}function QTe(e,t){return e.c?QTe(e.c,t):iy(e.b,t),e}function IS(e,t){vh(NC(e.Mc(),new rte),new Yae(t))}function LS(e,t,n,r,i){zF(e,F(ME(t.k,n),16),n,r,i)}function $Te(e,t,n,r,i){for(;t=e.g}function ZS(e,t,n){return ant(e,wk(e,t,n))}function QS(e,t){var n=e.a.length;oO(e,n),nE(e,n,t)}function IEe(e,t){var n;++e.j,n=e.Cj(),e.pj(e.Xi(n,t))}function LEe(e,t,n){F(t.b,68),SO(t.a,new pSe(e,n,t))}function REe(e,t,n){md.call(this,t),this.a=e,this.b=n}function zEe(e,t,n){this.a=e,pd.call(this,t),this.b=n}function BEe(e,t,n){this.a=e,WMe.call(this,8,t,null,n)}function VEe(e){this.a=(pC(Pq),Pq),this.b=e,new Yf}function HEe(e){this.c=e,this.a=new uh,this.b=new uh}function UEe(e,t,n){bd.call(this,e),this.a=t,this.b=n}function $S(e){if(e==null)throw O(new qd);this.a=e}function WEe(e){return!e.a&&(e.a=new sy(Q5,e,4)),e.a}function eC(e){return!e.d&&(e.d=new sy(z7,e,1)),e.d}function tC(e,t){return e.a+=String.fromCharCode(t),e}function nC(e,t){return e.a+=String.fromCharCode(t),e}function rC(e){if(e==null)throw O(new qd);return e}function GEe(e){return z9?aw(z9,e):!1}function KEe(e){return e?e.dc():!e.Jc().Ob()}function qEe(e){return rC(e),N(e,472)?F(e,472):qM(e)}function JEe(e){return N(e,103)&&(F(e,19).Bb&DK)!=0}function iC(e){return r.Math.sqrt(e.a*e.a+e.b*e.b)}function aC(e,t){return eF(e.c,e.f,t,e.b,e.a,e.e,e.d)}function oC(e,t){return dS(t,e.a.c.length),jx(e.a,t)}function sC(e,t){return M(e)===M(t)||e!=null&&nM(e,t)}function YEe(e,t){wwe(F(t.b,68),e),SO(t.a,new au(e))}function cC(e){e.c?cC(e.c):(DM(e),e.d=!0)}function lC(e){e.c?e.c.Ye():(e.d=!0,p9e(e))}function XEe(e){zDe(e.a),e.b=H(OJ,sB,1,e.b.length,5,1)}function uC(e){Ky(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function ZEe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function QEe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function dC(){op.call(this),ef(this.j.c,0),this.a=-1}function $Ee(){eh.call(this,`DELAUNAY_TRIANGULATION`,0)}function eDe(e,t){var n=e.Fh(t);n>=0?e.hi(n):W3e(e,t)}function tDe(e){return e.c.i.c==e.d.i.c}function fC(e){return!e.a&&e.c?e.c.b:e.a}function nDe(e){return 0>=e?new Wue:GBe(e-1)}function pC(e){if(e==null)throw O(new qd);return e}function rDe(e){if(e.p!=6)throw O(new Kd);return e.f}function iDe(e){if(e.p!=6)throw O(new Kd);return e.k}function aDe(e){if(e.p!=3)throw O(new Kd);return e.e}function oDe(e){if(e.p!=4)throw O(new Kd);return e.e}function sDe(e){if(e.p!=4)throw O(new Kd);return e.j}function cDe(e){if(e.p!=3)throw O(new Kd);return e.j}function lDe(e){return!e.b&&(e.b=new ud(new Zf)),e.b}function mC(e){return e.c==-2&&$ie(e,M0e(e.g,e.b)),e.c}function hC(e,t){var n=pEe(``,e);return n.n=t,n.i=1,n}function gC(e,t,n,r){Zm.call(this,e,n),this.a=t,this.f=r}function uDe(e,t,n,r){Zm.call(this,e,t),this.d=n,this.a=r}function dDe(e,t){this.b=e,GTe.call(this,e,t),fge(this)}function fDe(e,t){this.b=e,Iye.call(this,e,t),pge(this)}function pDe(){H0e.call(this,Hq,(Pm(),NBt)),_ot(this)}function mDe(){H0e.call(this,iJ,(xle(),bVt)),xst(this)}function hDe(e,t){Rhe.call(this,KBe(HS(e),HS(t))),this.a=t}function gDe(e,t){e.c<0||e.b.b0;)e=e<<1|e<0;return e}function ADe(e,t){e.u.Gc((NI(),c5))&&d6e(e,t),XFe(e,t)}function jDe(e,t){VKe(e,k(YO(t,`x`)),k(YO(t,`y`)))}function MDe(e,t){VKe(e,k(YO(t,`x`)),k(YO(t,`y`)))}function NDe(){return Ph(),W(A(IIt,1),Z,528,0,[U3])}function PDe(){return Nh(),W(A(ZFt,1),Z,547,0,[P3])}function FDe(){return Mh(),W(A(YFt,1),Z,477,0,[N3])}function EC(){EC=C,gbt=new Ode(W(A(NJ,1),AB,45,0,[]))}function IDe(e){return e!=null&&ah(A7,e.toLowerCase())}function LDe(e,t){return new NOe(F(HS(e),51),F(HS(t),51))}function RDe(e,t,n){var r=F(e.d.Kb(n),162);r&&r.Nb(t)}function zDe(e){for(var t=e.Jc();t.Ob();)t.Pb(),t.Qb()}function DC(e){var t=e.b;return!t&&(e.b=t=new vie(e)),t}function OC(e){return e.e==oJ&&vl(e,sYe(e.g,e.b)),e.e}function kC(e){return e.f==oJ&&iae(e,DQe(e.g,e.b)),e.f}function AC(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function BDe(e,t){this.b=e,this.c=t,this.a=new lh(this.b)}function jC(e,t,n){this.a=rft,this.d=e,this.b=t,this.c=n}function VDe(e,t){this.d=(pC(e),e),this.a=16449,this.c=t}function HDe(e,t){return dM(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function UDe(e,t){return dM(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function WDe(e,t){return rde(),dM((pC(e),e),(pC(t),t))}function MC(e,t){return DM(e),new Px(e,new TLe(t,e.a))}function NC(e,t){return DM(e),new Px(e,new zFe(t,e.a))}function PC(e,t){return DM(e),new ive(e,new LFe(t,e.a))}function FC(e,t){return DM(e),new ave(e,new RFe(t,e.a))}function GDe(e,t,n){lot(e.a,n),XHe(n),K8e(e.b,n),Lot(t,n)}function IC(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function KDe(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function qDe(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function LC(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function JDe(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function RC(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function zC(e,t,n,r){eh.call(this,e,t),this.a=n,this.b=r}function YDe(e,t,n,r){tWe.call(this,e,n,r,!1),this.f=t}function BC(e,t,n){var r=Zlt(e);return t.qi(n,r)}function VC(e){var t,n=(t=new Td,t);return kO(n,e),n}function HC(e){var t,n=(t=new Td,t);return t2e(n,e),n}function XDe(e){return!e.b&&(e.b=new I(i7,e,12,3)),e.b}function UC(e){return ZBe(e)||null}function ZDe(e){Xb();var t=F(e.g,9);t.n.a=e.d.c+t.d.b}function QDe(e){this.a=new Sd,this.e=H(q9,xB,54,e,0,2)}function WC(e){this.f=e,this.c=this.f.e,e.f>0&&d$e(this)}function $De(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function eOe(e,t,n,r){this.a=e,this.b=t,this.d=n,this.c=r}function tOe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function nOe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function GC(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function rOe(e,t,n,r){Iv(),MFe.call(this,t,n,r),this.a=e}function iOe(e,t,n,r){Iv(),MFe.call(this,t,n,r),this.a=e}function aOe(e,t){this.a=e,tve.call(this,e,F(e.d,16).dd(t))}function oOe(e,t){return dM(Wx(e)*Ux(e),Wx(t)*Ux(t))}function sOe(e,t){return dM(Wx(e)*Ux(e),Wx(t)*Ux(t))}function KC(e){return e.f||=new Xm(e,e.c)}function qC(){qC=C,hY=new ae,gY=new se,_Y=new w}function JC(){JC=C,nxt=new le,yY=new le,rxt=new ue}function YC(e){if(XM(e.d),e.d.d!=e.c)throw O(new Wd)}function cOe(e){return qy(e.b0?NE(e):new Sd}function pOe(e,t){return F(q(e,(X(),m$)),16).Ec(t),t}function mOe(e,t){return HI(e,F(q(t,(Hz(),o0)),15),t)}function hOe(e){return BI(e)&&Hp(rb(Y(e,(Hz(),L1))))}function gOe(e,t,n){return Ah(),iqe(F(JS(e.e,t),517),n)}function _Oe(e,t,n){e.i=0,e.e=0,t!=n&&ZUe(e,t,n)}function vOe(e,t,n){e.i=0,e.e=0,t!=n&&QUe(e,t,n)}function yOe(e,t,n,r){this.b=e,this.c=r,$_.call(this,t,n)}function bOe(e,t){this.g=e,this.d=W(A(FX,1),xU,9,0,[t])}function xOe(e,t){e.d&&!e.d.a&&(wse(e.d,t),xOe(e.d,t))}function SOe(e,t){e.e&&!e.e.a&&(wse(e.e,t),SOe(e.e,t))}function COe(e,t){return Zj(e.j,t.s,t.c)+Zj(t.e,e.s,e.c)}function wOe(e){return F(e.jd(),147).Og()+`:`+qM(e.kd())}function TOe(e,t){return-dM(Wx(e)*Ux(e),Wx(t)*Ux(t))}function EOe(e,t){return vj(e),vj(t),Op(F(e,24),F(t,24))}function QC(e,t,n){dO(e,t,new Zc(Ib(n)))}function DOe(e,t){new uh,this.a=new Wf,this.b=e,this.c=t}function OOe(e){this.b=new Sd,FA(this.b,this.b),this.a=e}function kOe(e){this.b=new ui,this.a=e,r.Math.random()}function AOe(){rI(this,new wc),this.wb=(zS(),K7),Pm()}function jOe(){xp.call(this,`There is no more element.`)}function MOe(e,t,n,r){Cpe.call(this,t,n),this.b=e,this.a=r}function $C(e,t,n,r,i,a){mD.call(this,e,t,n,r,i,a?-2:-1)}function ew(e){return!e.a&&(e.a=new I(p7,e,10,11)),e.a}function tw(e){return!e.q&&(e.q=new I(B7,e,11,10)),e.q}function z(e){return!e.s&&(e.s=new I(N7,e,21,17)),e.s}function nw(e,t){if(e==null)throw O(new Vp(t));return e}function NOe(e,t){tce.call(this,new vTe(e)),this.a=e,this.b=t}function POe(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function FOe(e){am(),r.setTimeout(function(){throw e},0)}function IOe(e){return HS(e),GXe(new iS(my(e.a.Jc(),new f)))}function rw(e){return qC(),N(e,59)?new fm(e):new by(e)}function iw(e){return N(e,18)?new Nx(F(e,18)):PSe(e.Jc())}function LOe(e){return new gge(e,e.e.Pd().gc()*e.c.Pd().gc())}function ROe(e){return new _ge(e,e.e.Pd().gc()*e.c.Pd().gc())}function zOe(e){return e&&e.hashCode?e.hashCode():Ey(e)}function aw(e,t){return t==null?!!Jx(e.f,null):bwe(e.i,t)}function BOe(e,t){var n=Mhe(e.a,t);return n&&(t.d=null),n}function VOe(e,t,n){return e.f?e.f.cf(t,n):!1}function ow(e,t,n,r){qS(e.c[t.g],n.g,r),qS(e.c[n.g],t.g,r)}function sw(e,t,n,r){qS(e.c[t.g],t.g,n),qS(e.b[t.g],t.g,r)}function HOe(e){e.Tg(`No crossing minimization`,1),e.Ug()}function UOe(e){this.c=e,this.b=new Hm(F(HS(new He),51))}function WOe(e){this.c=e,this.b=new Hm(F(HS(new vt),51))}function GOe(e){this.b=e,this.a=new Hm(F(HS(new nt),51))}function KOe(){this.b=new lf,this.d=new uh,this.e=new Nf}function qOe(){this.d=new uh,this.b=new Cd,this.c=new Sd}function JOe(){this.c=new Am,this.d=new Am,this.e=new Am}function cw(){this.a=new Wf,this.b=(uk(3,RB),new oD(3))}function lw(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function YOe(e,t,n,r,i,a){this.a=e,sk.call(this,t,n,r,i,a)}function XOe(e,t,n,r,i,a){this.a=e,sk.call(this,t,n,r,i,a)}function uw(e,t){this.e=e,this.a=OJ,this.b=ont(t),this.c=t}function ZOe(e,t){return N(t,147)&&jb(e.b,F(t,147).Og())}function QOe(e,t){return e.a?t.Dh().Jc():F(t.Dh(),72).Gi()}function $Oe(e,t,n){return k(P(n.a))<=e&&k(P(n.b))>=t}function eke(e,t,n){return n>=0&&jb(e.substr(n,t.length),t)}function dw(e,t,n,r,i,a,o){return new cE(e.e,t,n,r,i,a,o)}function fw(e,t,n){return rD(t,n,e.length),e.substr(t,n-t)}function pw(e,t){var n=Bm(e.Pm);return t==null?n:n+`: `+t}function tke(e,t){var n=e.b.Oc(t);return iPe(n,e.b.gc()),n}function mw(e,t){if(e==null)throw O(new Vp(t));return e}function hw(e){return e.u||=(wE(e),new Tve(e,e)),e.u}function gw(e){return F(pA(e,16),29)||e.fi()}function nke(e){!e||pw(e,e.ge())}function rke(){rke=C,Ixt=new Fe,Rxt=new Rwe,Lxt=new Ve}function _w(){_w=C;var e,t=!CJe();e=new b,Sbt=t?new y:e}function ike(){return QE(),W(A(vTt,1),Z,422,0,[_Tt,$Z])}function ake(){return lO(),W(A(jTt,1),Z,419,0,[fQ,ATt])}function oke(){return ED(),W(A(RTt,1),Z,476,0,[LTt,SQ])}function ske(){return JT(),W(A(oEt,1),Z,420,0,[qQ,aEt])}function cke(){return hE(),W(A(CEt,1),Z,423,0,[Q$,Z$])}function lke(){return HD(),W(A(ijt,1),Z,421,0,[f2,p2])}function uke(){return YT(),W(A(Yjt,1),Z,519,0,[N2,M2])}function dke(){return Cw(),W(A(iMt,1),Z,510,0,[L2,I2])}function fke(){return Lw(),W(A(oMt,1),Z,509,0,[R2,z2])}function pke(){return GE(),W(A(SMt,1),Z,516,0,[U2,H2])}function mke(){return Sw(),W(A(kMt,1),Z,454,0,[W2,G2])}function hke(){return bT(),W(A(zNt,1),Z,425,0,[j4,RNt])}function gke(){return Ok(),W(A(GNt,1),Z,487,0,[N4,P4])}function _ke(){return bD(),W(A(XNt,1),Z,426,0,[YNt,B4])}function vke(){return xE(),W(A(FFt,1),Z,478,0,[x3,PFt])}function yke(){return KE(),W(A($Ft,1),Z,428,0,[I3,F3])}function bke(){return cO(),W(A(NSt,1),Z,424,0,[eX,tX])}function xke(){return Dk(),W(A(rwt,1),Z,503,0,[KX,GX])}function Ske(){return kA(),W(A(zIt,1),Z,427,0,[W3,RIt])}function vw(e,t,n,r){return n>=0?e.Rh(t,n,r):e.zh(null,n,r)}function yw(e){return e.b.b==0?e.a.uf():cx(e.b)}function Cke(e){if(e.p!=5)throw O(new Kd);return Gx(e.f)}function wke(e){if(e.p!=5)throw O(new Kd);return Gx(e.k)}function Tke(e){return M(e.a)===M((Gk(),GBt))&&hst(e),e.a}function Eke(e,t){Uie(this,new j(e.a,e.b)),Wie(this,ix(t))}function Dke(e,t){Cb.call(this),Eze(this),this.a=e,this.c=t}function Oke(e,t,n){Iv(),md.call(this,t),this.a=e,this.b=n}function bw(e,t,n){qz(),bd.call(this,e),this.b=t,this.a=n}function xw(){gp.call(this,new gh(lA(12))),sge(!0),this.a=2}function kke(){A_.call(this,`FIXED_INTEGER_RATIO_BOXES`,2)}function Sw(){Sw=C,W2=new kfe(pH,0),G2=new kfe(mH,1)}function Cw(){Cw=C,L2=new Cfe(mH,0),I2=new Cfe(pH,1)}function Ake(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=Lx(e.c,e.b,e.a))}function jke(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=Lx(e.c,e.b,e.a))}function Mke(e){var t=e.c.d.b;e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function ww(e){var t;vBe(e.a),Nme(e.a),t=new ru(e.a),nN(t)}function Tw(e,t){return t==null?V_(Jx(e.f,null)):Qh(e.i,t)}function Nke(e){return e.b==0?null:(qy(e.b!=0),bO(e,e.a.a))}function Ew(e){return Math.max(Math.min(e,nB),-2147483648)|0}function Pke(e,t,n,r,i){return new dI(e,(TD(),CY),t,n,r,i)}function Dw(e,t){return sPe(t),sBe(e,H(q9,dV,30,t,15,1),t)}function Fke(e,t){return OO(),F(q(t,(MR(),E4)),15).a==e}function Ike(e,t){Ntt(e,!0),SO(e.e.Pf(),new gbe(e,!0,t))}function Ow(e,t){return nw(e,`set1`),nw(t,`set2`),new kue(e,t)}function Lke(e,t){return VJ[e.charCodeAt(0)]??e}function Rke(e,t){return Tb(Zy(Ize(e.f,t)),e.f.d)}function zke(e,t){var n=t,r=new _e;return Oct(e,n,r),r.d}function kw(e,t,n,r){var i=new Wve;t.a[n.g]=i,TS(e.b,r,i)}function Bke(e,t,n){var r=e.Fh(t);r>=0?e.$h(r,n):w7e(e,t,n)}function Aw(e,t,n){Yw(),e&&vC(uBt,e,t),e&&vC(C7,e,n)}function Vke(e,t,n){this.i=new Sd,this.b=e,this.g=t,this.a=n}function jw(e,t,n){this.c=new Sd,this.e=e,this.f=t,this.b=n}function Hke(e,t,n){this.a=new Sd,this.e=e,this.f=t,this.c=n}function Uke(e){Cb.call(this),Eze(this),this.a=e,this.c=!0}function Wke(e){this.a=F(HS(e),277),this.b=(qC(),new Mge(e))}function Gke(e,t){Kv(this),this.f=t,this.g=e,ZC(this),this.he()}function Mw(e,t){var n=e.q.getHours();e.q.setDate(t),zR(e,n)}function Kke(e,t){var n;for(HS(t),n=e.a;n;n=n.c)t.Wd(n.g,n.i)}function qke(e){var t=new Vm(lA(e.length));return RUe(t,e),t}function Jke(e){function t(){}return t.prototype=e||{},new t}function Yke(e,t){return KHe(e,t)?(pBe(e),!0):!1}function Nw(e,t){if(t==null)throw O(new qd);return NJe(e,t)}function Xke(e){if(e.ye())return null;var t=e.n;return DJ[t]}function Pw(e){return e.Db>>16==3?F(e.Cb,26):null}function Fw(e){return e.Db>>16==9?F(e.Cb,26):null}function Zke(e){return e.Db>>16==6?F(e.Cb,85):null}function Qke(e,t){var n=e.Fh(t);return n>=0?e.Th(n):RI(e,t)}function Iw(e,t,n){e.b=new Ck(HUe(e,t,n).c.length)}function Lw(){Lw=C,R2=new wfe(bH,0),z2=new wfe(`UP`,1)}function $ke(){$ke=C,mbt=Nj((im(),W(A(pbt,1),Z,538,0,[RJ])))}function eAe(e){this.a=e,this.b=H(Wjt,xB,2008,e.e.length,0,2)}function tAe(){this.a=new hv,this.e=new lf,this.g=0,this.i=0}function nAe(e){return!e.a&&(e.a=new I(p7,e,10,11)),e.a.i>0}function Rw(e,t){return r.Math.abs(e)>16==7?F(e.Cb,241):null}function zw(e){return e.Db>>16==6?F(e.Cb,241):null}function dAe(e){return e.Db>>16==7?F(e.Cb,174):null}function fAe(e){return e.Db>>16==3?F(e.Cb,158):null}function Bw(e){return e.Db>>16==11?F(e.Cb,26):null}function Vw(e){return e.Db>>16==17?F(e.Cb,29):null}function pAe(e){var t;return DM(e),t=new lf,MC(e,new Zl(t))}function mAe(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.te(t))}function hAe(e,t){var n=e.q.getHours();e.q.setMonth(t),zR(e,n)}function Hw(e,t){e.c&&ND(e.c.g,e),e.c=t,e.c&&iy(e.c.g,e)}function Uw(e,t){e.c&&ND(e.c.a,e),e.c=t,e.c&&iy(e.c.a,e)}function Ww(e,t){e.d&&ND(e.d.e,e),e.d=t,e.d&&iy(e.d.e,e)}function Gw(e,t){e.i&&ND(e.i.j,e),e.i=t,e.i&&iy(e.i.j,e)}function Kw(e,t,n){return t==null?EI(e.f,null,n):OM(e.i,t,n)}function qw(e,t,n,r,i,a){return new WD(e.e,t,e.Jj(),n,r,i,a)}function gAe(e){return yj(),xy(),F(e.a,82).d.e!=0}function _Ae(e,t){this.a=e,this.c=Yv(this.a),this.b=new lw(t)}function vAe(e,t,n){this.a=t,this.c=e,this.b=(HS(n),new zb(n))}function yAe(e,t,n){this.a=t,this.c=e,this.b=(HS(n),new zb(n))}function Jw(e,t){if(e<0||e>t)throw O(new jp(Dft+e+Oft+t))}function Yw(){Yw=C,uBt=new Cd,C7=new Cd,kpe(oxt,new go)}function bAe(){bAe=C,Cjt=Qx(new dC,(XF(),yX),(Kz(),mZ))}function xAe(){xAe=C,wjt=Qx(new dC,(XF(),yX),(Kz(),mZ))}function SAe(){SAe=C,Tjt=Qx(new dC,(XF(),yX),(Kz(),mZ))}function CAe(){CAe=C,Ejt=Qx(new dC,(XF(),yX),(Kz(),mZ))}function wAe(){wAe=C,Ojt=Qx(new dC,(XF(),yX),(Kz(),mZ))}function TAe(){TAe=C,kjt=Qx(new dC,(XF(),yX),(Kz(),mZ))}function EAe(){EAe=C,Zjt=wx(new dC,(XF(),yX),(Kz(),QX))}function Xw(){Xw=C,eMt=wx(new dC,(XF(),yX),(Kz(),QX))}function DAe(){DAe=C,rMt=wx(new dC,(XF(),yX),(Kz(),QX))}function Zw(){Zw=C,cMt=wx(new dC,(XF(),yX),(Kz(),QX))}function OAe(){OAe=C,VNt=Qx(new dC,(rF(),J2),(dR(),FMt))}function Qw(e,t,n,r){this.c=e,this.d=r,tT(this,t),nT(this,n)}function $w(e){this.c=new uh,this.b=e.b,this.d=e.c,this.a=e.a}function eT(e){this.a=r.Math.cos(e),this.b=r.Math.sin(e)}function tT(e,t){e.a&&ND(e.a.k,e),e.a=t,e.a&&iy(e.a.k,e)}function nT(e,t){e.b&&ND(e.b.f,e),e.b=t,e.b&&iy(e.b.f,e)}function kAe(e,t){LEe(e,e.b,e.c),F(e.b.b,68),t&&F(t.b,68).b}function AAe(e,t){GKe(e,t),N(e.Cb,88)&&kI(wE(F(e.Cb,88)),2)}function rT(e,t){N(e.Cb,88)&&kI(wE(F(e.Cb,88)),4),Nk(e,t)}function iT(e,t){N(e.Cb,184)&&(F(e.Cb,184).tb=null),Nk(e,t)}function jAe(e,t){var n=F(zj(KC(e.a),t),18);return n?n.gc():0}function MAe(e){var t,n=(Pm(),t=new Td,t);return kO(n,e),n}function NAe(e){var t,n=(Pm(),t=new Td,t);return kO(n,e),n}function PAe(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function aT(e){return oR(),Bj(e,0)>=0?gN(e):PS(gN(jD(e)))}function FAe(e,t){Xhe(e,Gx(gT(oS(t,24),XV)),Gx(gT(t,XV)))}function IAe(e,t){return dM(F(e.c,65).c.e.b,F(t.c,65).c.e.b)}function LAe(e,t){return dM(F(e.c,65).c.e.a,F(t.c,65).c.e.a)}function oT(e,t){return Wh(),ZD(t)?new Tx(t,e):new W_(t,e)}function RAe(e,t,n){return new dI(e,(TD(),SY),null,!1,t,n)}function zAe(e,t,n){return new dI(e,(TD(),wY),t,n,null,!1)}function BAe(e,t,n){var r;tKe(t,n,e.c.length),r=n-t,Lle(e.c,t,r)}function sT(e,t,n){tKe(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function cT(e,t){this.b=(pC(e),e),this.a=(t&MV)==0?t|64|SB:t}function lT(e,t){if(e<0||e>=t)throw O(new jp(Dft+e+Oft+t))}function uT(e,t){if(e<0||e>=t)throw O(new Oce(Dft+e+Oft+t))}function VAe(e,t){t.c!=null&&QS(e,new $S(t.c))}function HAe(e,t,n){var r=new mv(n.d);Tb(r,e),VKe(t,r.a,r.b)}function UAe(e){var t;return DM(e),t=(JC(),JC(),yY),hO(e,t)}function dT(e){return nj(W(A(s6,1),xB,8,0,[e.i.n,e.n,e.a]))}function WAe(){return VD(),W(A(bCt,1),Z,384,0,[pX,fX,mX])}function GAe(){return wj(),W(A(kY,1),Z,130,0,[Oxt,OY,kxt])}function KAe(){return TO(),W(A(IY,1),Z,237,0,[NY,PY,FY])}function qAe(){return wD(),W(A(Uxt,1),Z,461,0,[BY,zY,VY])}function JAe(){return nO(),W(A(Kxt,1),Z,462,0,[WY,UY,HY])}function YAe(){return Uj(),W(A(WAt,1),Z,352,0,[G0,UAt,K0])}function XAe(){return CA(),W(A(BQ,1),Z,302,0,[RQ,zQ,LQ])}function ZAe(){return WA(),W(A(UQ,1),Z,329,0,[HQ,tEt,VQ])}function QAe(){return rO(),W(A(rEt,1),Z,316,0,[GQ,KQ,WQ])}function $Ae(){return kk(),W(A(IZ,1),Z,368,0,[FZ,PZ,NZ])}function eje(){return Cj(),W(A(fjt,1),Z,348,0,[b2,v2,y2])}function tje(){return SA(),W(A(ujt,1),Z,381,0,[cjt,_2,ljt])}function nje(){return rk(),W(A(ojt,1),Z,452,0,[g2,m2,h2])}function rje(){return Dj(),W(A(hjt,1),Z,349,0,[x2,mjt,S2])}function ije(){return tk(),W(A(yjt,1),Z,351,0,[vjt,C2,_jt])}function aje(){return OA(),W(A(xjt,1),Z,382,0,[T2,E2,w2])}function oje(){return lj(),W(A(qMt,1),Z,385,0,[KMt,$2,Q2])}function sje(){return Sj(),W(A(ePt,1),Z,386,0,[V4,QNt,$Nt])}function cje(){return HM(),W(A(YPt,1),Z,387,0,[JPt,f3,qPt])}function lje(){return nk(),W(A(TTt,1),Z,350,0,[wTt,rQ,nQ])}function uje(){return GA(),W(A(NTt,1),Z,449,0,[mQ,pQ,hQ])}function dje(){return SN(),W(A(VPt,1),Z,436,0,[X4,Z4,Q4])}function fje(){return wA(),W(A(zPt,1),Z,304,0,[Y4,RPt,LPt])}function pje(){return hM(),W(A(UFt,1),Z,430,0,[VFt,HFt,C3])}function mje(){return DD(),W(A(zFt,1),Z,429,0,[S3,RFt,LFt])}function hje(){return mM(),W(A(M3,1),Z,435,0,[k3,A3,j3])}function gje(){return EO(),W(A(ORt,1),Z,279,0,[w8,T8,E8])}function _je(){return xj(),W(A(GRt,1),Z,347,0,[P8,N8,F8])}function vje(){return NO(),W(A(dzt,1),Z,300,0,[F5,lzt,uzt])}function yje(){return pM(),W(A(vzt,1),Z,281,0,[_zt,Y5,X5])}function fT(e){return Ah(),N(e.g,9)?F(e.g,9):null}function bje(e){return e.a==(WE(),h9)&&Xie(e,wtt(e.g,e.b)),e.a}function pT(e){return e.d==(WE(),h9)&&tae(e,eat(e.g,e.b)),e.d}function xje(e,t){var n=(pC(e),e).g;return u_e(!!n),pC(t),n(t)}function Sje(e,t,n){var r=new Nte;r.b=t,r.a=n,++t.b,iy(e.d,r)}function Cje(e,t,n){var r=KR(e,t,!1);return r.b<=t&&r.a<=n}function wje(e,t){var n,r=vS(e,t);return n=e.a.dd(r),new Eue(e,n)}function Tje(e){return e.Db>>16==6?F(QI(e),241):null}function Eje(e){if(e.p!=2)throw O(new Kd);return Gx(e.f)&ZB}function Dje(e){if(e.p!=2)throw O(new Kd);return Gx(e.k)&ZB}function mT(e){return HS(e),N(e,18)?new zb(F(e,18)):rx(e.Jc())}function hT(e){Ox(),this.a=(qC(),N(e,59)?new fm(e):new by(e))}function gT(e,t){return sA(eTe(fv(e)?_A(e):e,fv(t)?_A(t):t))}function _T(e,t){return sA(tTe(fv(e)?_A(e):e,fv(t)?_A(t):t))}function vT(e,t){return sA(nTe(fv(e)?_A(e):e,fv(t)?_A(t):t))}function Oje(e,t){return ywe(e.a,t)?ACe(e.b,F(t,24).g,null):null}function kje(e){return NM(aS(uA(mL(e,32)),32),uA(mL(e,32)))}function Aje(e){var t=F(_x(e.b),10);return new Bb(e.a,t,e.c)}function jje(e,t){dut(e,t,k(P(e.a.mf((Gz(),c8)))))}function Mje(e,t){wS.call(this,1,2,W(A(q9,1),dV,30,15,[e,t]))}function Nje(e,t){ece.call(this,new gh(lA(e))),uk(t,qdt),this.a=t}function Pje(e,t,n){bd.call(this,25),this.b=e,this.a=t,this.c=n}function yT(e){qz(),bd.call(this,e),this.c=!1,this.a=!1}function Fje(){this.c=new uhe,this.a=new FFe,this.b=new Rse,ide()}function bT(){bT=C,j4=new Ffe(`DFS`,0),RNt=new Ffe(`BFS`,1)}function Ije(e){return e.b==null||e.b.length==0?`n_`+e.a:`n_`+e.b}function xT(e){return F(WN(e,H(FX,xU,9,e.c.length,0,1)),199)}function Lje(e,t){return e&&e.equals?e.equals(t):M(e)===M(t)}function Rje(e,t){return iO(),e.c==t.c?dM(t.d,e.d):dM(e.c,t.c)}function zje(e,t){return iO(),e.c==t.c?dM(e.d,t.d):dM(e.c,t.c)}function Bje(e,t){return iO(),e.c==t.c?dM(e.d,t.d):dM(t.c,e.c)}function Vje(e,t){return iO(),e.c==t.c?dM(t.d,e.d):dM(t.c,e.c)}function Hje(e,t){e.b|=t.b,e.c|=t.c,e.d|=t.d,e.a|=t.a}function ST(e,t,n){var r=e.d[t.p];e.d[t.p]=e.d[n.p],e.d[n.p]=r}function Uje(e,t,n){var r;e.n&&t&&n&&(r=new qne,iy(e.e,r))}function Wje(e,t){var n=F(JS(e.g,t),60);SO(t.d,new ofe(e,n))}function Gje(e,t){var n=bZe(e),r=bZe(t);return nr)}function Kje(e,t){var n=zD(t);return F(JS(e.c,n),15).a}function qje(e,t){for(var n=e+``;n.length0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function _Me(e){return qy(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function vMe(e,t){var n=1-t;return e.a[n]=Sk(e.a[n],n),Sk(e,t)}function yMe(e,t){var n,r=gT(e,RV);return n=aS(t,32),_T(n,r)}function bMe(e,t,n){var r=F(e.Zb().xc(t),18);return!!r&&r.Gc(n)}function xMe(e,t,n){var r=F(e.Zb().xc(t),18);return!!r&&r.Kc(n)}function SMe(e,t,n){JZe(new vAe((HS(e),new zb(e)),t,n))}function ET(e,t,n){YZe(new yAe((HS(e),new zb(e)),t,n))}function CMe(e,t,n){e.a=t,e.c=n,e.b.a.$b(),XC(e.d),ef(e.e.a.c,0)}function DT(e,t,n,r,i,a){return eHe(e,t,n,a),nKe(e,r),rKe(e,i),e}function wMe(e,t,n,r){return e.a+=``+fw(t==null?cB:qM(t),n,r),e}function OT(e,t){this.a=e,Il.call(this,e),Jw(t,e.gc()),this.b=t}function TMe(e,t){var n;e.e=new cp,n=BL(t),Vv(n,e.c),rtt(e,n,0)}function kT(e,t,n,r){var i=new Ha;i.a=t,i.b=n,i.c=r,mx(e.a,i)}function V(e,t,n,r){var i=new Ha;i.a=t,i.b=n,i.c=r,mx(e.b,i)}function EMe(e,t){return new Qb(t,E_e(Yv(t.e),e,e),(xy(),!0))}function DMe(e,t){return DO(),F(q(t,(MR(),C4)),15).a>=e.gc()}function OMe(e){return Xw(),!CE(e)&&!(!CE(e)&&e.c.i.c==e.d.i.c)}function AT(e){return F(WN(e,H(PX,bU,17,e.c.length,0,1)),324)}function jT(e){return new oD((uk(e,BB),pO(NM(NM(5,e),e/10|0))))}function kMe(e){return Dx(e.e.Pd().gc()*e.c.Pd().gc(),273,new yie(e))}function AMe(e){pqe((!e.a&&(e.a=new I(p7,e,10,11)),e.a),new xne)}function jMe(){var e,t=(n=(e=new Td,e),n),n;return iy(aVt,t),t}function MT(e){var t;return fv(e)?(t=e,t==-0?0:t):yRe(e)}function MMe(e,t){return N(t,45)?RP(e.a,F(t,45)):!1}function NMe(e,t){return N(t,45)?RP(e.a,F(t,45)):!1}function PMe(e,t){return N(t,45)?RP(e.a,F(t,45)):!1}function FMe(e,t){return e.a<=e.b&&(t.Bd(e.a++),!0)}function NT(e,t){if(e<0||e>=t)throw O(new jp(T3e(e,t)));return e}function IMe(e,t,n){if(e<0||tn)throw O(new jp(m4e(e,t,n)))}function LMe(e,t,n){e.d&&ND(e.d.e,e),e.d=t,e.d&&qx(e.d.e,n,e)}function PT(e,t){Nut(t,e),USe(e.d),USe(F(q(e,(Hz(),q1)),213))}function FT(e,t){Put(t,e),HSe(e.d),HSe(F(q(e,(Hz(),q1)),213))}function RMe(e){var t;return cC(e),t=new de,Um(e.a,new Yl(t)),t}function IT(e){var t;return cC(e),t=new fe,Um(e.a,new vae(t)),t}function zMe(e){return!DC(e).dc()&&(lhe(e,new g),!0)}function BMe(e){if(!(`stack`in e))try{throw e}catch{}return e}function VMe(e,t,n){var r=fYe();try{return Pve(e,t,n)}finally{hFe(r)}}function LT(e,t){var n=Nw(e,t),r=null;return n&&(r=n.ne()),r}function RT(e,t){var n=oO(e,t),r=null;return n&&(r=n.qe()),r}function zT(e,t){var n=Nw(e,t),r=null;return n&&(r=n.qe()),r}function BT(e,t){var n=Nw(e,t),r=null;return n&&(r=S4e(n)),r}function HMe(e,t,n){var r=jN(n);return sR(e.n,r,t),sR(e.o,t,n),t}function UMe(e,t,n){this.d=new roe(this),this.e=e,this.i=t,this.f=n}function WMe(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function GMe(e,t,n,r){return N(n,59)?new Zge(e,t,n,r):new Xwe(e,t,n,r)}function KMe(e){return F(WN(e,H(ewt,bpt,12,e.c.length,0,1)),2007)}function qMe(e){this.a=H(OJ,sB,1,AUe(r.Math.max(8,e))<<1,5,1)}function JMe(e){Bk.call(this,e,(TD(),xY),null,!1,null,!1)}function YMe(e){var t=e.Dh();this.a=N(t,72)?F(t,72).Gi():t.Jc()}function XMe(e){return new cT(Aze(F(e.a.kd(),18).gc(),e.a.jd()),16)}function VT(e){return N(e,18)?F(e,18).dc():!e.Jc().Ob()}function ZMe(e){if(e.e.g!=e.b)throw O(new Wd);return!!e.c&&e.d>0}function HT(e){return qy(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function QMe(e,t){pC(t),qS(e.a,e.c,t),e.c=e.c+1&e.a.length-1,FZe(e)}function UT(e,t){pC(t),e.b=e.b-1&e.a.length-1,qS(e.a,e.b,t),FZe(e)}function $Me(){$Me=C,Ijt=SDe(K(1),K(4)),Fjt=SDe(K(1),K(2))}function eNe(){eNe=C,XFt=Nj((Mh(),W(A(YFt,1),Z,477,0,[N3])))}function tNe(){tNe=C,QFt=Nj((Nh(),W(A(ZFt,1),Z,547,0,[P3])))}function nNe(){nNe=C,LIt=Nj((Ph(),W(A(IIt,1),Z,528,0,[U3])))}function rNe(){return UA(),W(A(jCt,1),Z,408,0,[TX,OX,EX,DX])}function iNe(){return EA(),W(A(vSt,1),Z,409,0,[XY,qY,JY,YY])}function aNe(){return TD(),W(A(TY,1),Z,310,0,[xY,SY,CY,wY])}function oNe(){return HA(),W(A(Gwt,1),Z,367,0,[CZ,xZ,SZ,bZ])}function sNe(){return zN(),W(A(BCt,1),Z,383,0,[MX,zCt,AX,jX])}function cNe(){return TA(),W(A(aTt,1),Z,413,0,[wZ,TZ,EZ,DZ])}function lNe(e){var t;return e.j==(Az(),j5)&&(t=v8e(e),ky(t,p5))}function uNe(){return eN(),W(A(STt,1),Z,301,0,[tQ,bTt,eQ,xTt])}function dNe(){return gP(),W(A(Z0,1),Z,203,0,[Y0,X0,J0,q0])}function fNe(){return AN(),W(A(njt,1),Z,269,0,[l2,tjt,u2,d2])}function pNe(e,t){return F(wy(cS(F(ME(e.k,t),16).Mc(),GZ)),113)}function mNe(e,t){return F(wy(lS(F(ME(e.k,t),16).Mc(),GZ)),113)}function hNe(e,t){var n=t.a;Hw(n,t.c.d),Ww(n,t.d.d),Zk(n.a,e.n)}function gNe(e,t){var n=F($D(e.b,t),66);return!n&&(n=new uh),n}function WT(e){return Ah(),N(e.g,156)?F(e.g,156):null}function _Ne(e){e.a=null,e.e=null,ef(e.b.c,0),ef(e.f.c,0),e.c=null}function vNe(e,t,n,r){this.e=null,this.c=e,this.d=t,this.a=n,this.b=r}function yNe(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function bNe(e,t,n,r){var i=r[t.g][n.g];return k(P(q(e.a,i)))}function xNe(e,t){for(var n=e.j.c.length;n0&&AR(e.g,0,t,0,e.i),t}function KT(e){for(var t=0;e.Ob();)e.Pb(),t=NM(t,1);return pO(t)}function BNe(e,t){var n=new lm;return e.Ed(n),n.a+=`..`,t.Fd(n),n.a}function VNe(e,t){Bh();var n=F(JS(D7,e),58);return!n||n.dk(t)}function HNe(e,t,n){if(n){var r=n.me();e.a[t]=r(n)}else delete e.a[t]}function qT(e,t){return t.e==0||e.e==0?dY:(WL(),TL(e,t))}function UNe(e){if(e.p!=1)throw O(new Kd);return Gx(e.f)<<24>>24}function WNe(e){if(e.p!=1)throw O(new Kd);return Gx(e.k)<<24>>24}function GNe(e){if(e.p!=7)throw O(new Kd);return Gx(e.k)<<16>>16}function KNe(e){if(e.p!=7)throw O(new Kd);return Gx(e.f)<<16>>16}function JT(){JT=C,qQ=new hfe(fH,0),aEt=new hfe(`TOP_LEFT`,1)}function YT(){YT=C,N2=new yfe(`UPPER`,0),M2=new yfe(`LOWER`,1)}function qNe(e,t,n){var r=F(JS(e.g,n),60);iy(e.a.c,new M_(t,r))}function JNe(e,t,n,r,i){iy(t,d3e(i,r7e(i,n,r))),c2e(e,i,t)}function YNe(e,t,n){e.i=0,e.e=0,t!=n&&(QUe(e,t,n),ZUe(e,t,n))}function XNe(e,t,n){return Qwe(P(V_(Jx(e.f,t))),P(V_(Jx(e.f,n))))}function ZNe(e,t){return F(t==null?V_(Jx(e.f,null)):Qh(e.i,t),290)}function QNe(e,t){return M(t)===M(e)?`(this Map)`:t==null?cB:qM(t)}function $Ne(e,t){return e==(uL(),VX)&&t==VX?4:e==VX||t==VX?8:32}function XT(e,t,n){return IR(e,t,n,N(t,103)&&(F(t,19).Bb&PV)!=0)}function ePe(e,t,n){return VR(e,t,n,N(t,103)&&(F(t,19).Bb&PV)!=0)}function tPe(e,t,n){return W5e(e,t,n,N(t,103)&&(F(t,19).Bb&PV)!=0)}function ZT(e,t){Wh();var n=F(e,69).tk();return N2e(n,t),n.vl(t)}function QT(e,t){oR(),wS.call(this,e,1,W(A(q9,1),dV,30,15,[t]))}function $T(e,t){qz(),bd.call(this,e),this.a=t,this.c=-1,this.b=-1}function nPe(e,t){JOe.call(this),this.a=e,this.b=t,iy(this.a.b,this)}function eE(e){return qy(e.a`+Ije(e.d):`e_`+Ey(e)}function lPe(e,t){return B_(t==null?V_(Jx(e.f,t)):Tw(e,t))}function uPe(e,t){return B_(t==null?V_(Jx(e.f,t)):Tw(e,t))}function dPe(e,t){return ph(),cD(z(e.a),t)}function fPe(e,t){return ph(),cD(z(e.a),t)}function iE(e,t,n){this.e=e,this.a=OJ,this.b=ont(t),this.c=t,this.d=n}function aE(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function pPe(e){this.c=e,this.a=F(dF(e),159),this.b=this.a.hk().ti()}function oE(e,t,n,r){Qje.call(this,1,n,r),this.c=e,this.b=t}function sE(e,t,n,r){$je.call(this,1,n,r),this.c=e,this.b=t}function cE(e,t,n,r,i,a,o){sk.call(this,t,r,i,a,o),this.c=e,this.a=n}function lE(){Cd.call(this),c_e(this),this.d.b=this.d,this.d.a=this.d}function mPe(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function uE(e){n0e(),Xhe(this,Gx(gT(oS(e,24),XV)),Gx(gT(e,XV)))}function dE(e,t){var n;return t.b.Kb(ZLe(e,t.c.Ve(),(n=new bae(t),n)))}function hPe(e,t){var n;return sPe(t),n=e.slice(0,t),n.length=t,CD(n,e)}function fE(e){var t;return e?new nwe(e):(t=new hv,Mk(t,e),t)}function gPe(e,t){for(var n=e.d-1;n>=0&&e.a[n]===t[n];n--);return n<0}function _Pe(e,t){var n,r=!1;do n=EUe(e,t),r|=n;while(n);return r}function pE(e,t,n,r){var i=new pe;i.c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function mE(){mE=C,bzt=new NCe,Czt=new Jwe,xzt=new kke,Szt=new CTe}function hE(){hE=C,Q$=new gfe(pU,0),Z$=new gfe(`ALTERNATING`,1)}function vPe(){vPe=C,zTt=Nj((ED(),W(A(RTt,1),Z,476,0,[LTt,SQ])))}function yPe(){yPe=C,yTt=Nj((QE(),W(A(vTt,1),Z,422,0,[_Tt,$Z])))}function bPe(){bPe=C,MTt=Nj((lO(),W(A(jTt,1),Z,419,0,[fQ,ATt])))}function xPe(){xPe=C,sEt=Nj((JT(),W(A(oEt,1),Z,420,0,[qQ,aEt])))}function SPe(){SPe=C,wEt=Nj((hE(),W(A(CEt,1),Z,423,0,[Q$,Z$])))}function CPe(){CPe=C,ajt=Nj((HD(),W(A(ijt,1),Z,421,0,[f2,p2])))}function wPe(){wPe=C,Xjt=Nj((YT(),W(A(Yjt,1),Z,519,0,[N2,M2])))}function TPe(){TPe=C,aMt=Nj((Cw(),W(A(iMt,1),Z,510,0,[L2,I2])))}function EPe(){EPe=C,sMt=Nj((Lw(),W(A(oMt,1),Z,509,0,[R2,z2])))}function DPe(){DPe=C,CMt=Nj((GE(),W(A(SMt,1),Z,516,0,[U2,H2])))}function OPe(){OPe=C,AMt=Nj((Sw(),W(A(kMt,1),Z,454,0,[W2,G2])))}function kPe(){kPe=C,BNt=Nj((bT(),W(A(zNt,1),Z,425,0,[j4,RNt])))}function APe(){APe=C,KNt=Nj((Ok(),W(A(GNt,1),Z,487,0,[N4,P4])))}function jPe(){jPe=C,ZNt=Nj((bD(),W(A(XNt,1),Z,426,0,[YNt,B4])))}function MPe(){MPe=C,IFt=Nj((xE(),W(A(FFt,1),Z,478,0,[x3,PFt])))}function NPe(){NPe=C,eIt=Nj((KE(),W(A($Ft,1),Z,428,0,[I3,F3])))}function PPe(){PPe=C,PSt=Nj((cO(),W(A(NSt,1),Z,424,0,[eX,tX])))}function FPe(){FPe=C,iwt=Nj((Dk(),W(A(rwt,1),Z,503,0,[KX,GX])))}function IPe(){IPe=C,BIt=Nj((kA(),W(A(zIt,1),Z,427,0,[W3,RIt])))}function LPe(){return fM(),W(A(x8,1),Z,86,0,[y8,v8,_8,g8,b8])}function RPe(){return Az(),W(A(P5,1),hU,64,0,[M5,m5,p5,j5,N5])}function zPe(e,t,n){return F(t==null?EI(e.f,null,n):OM(e.i,t,n),290)}function BPe(e){return(e.k==(uL(),VX)||e.k==LX)&&Xy(e,(X(),t$))}function VPe(e){e.b!=e.c&&(e.a=H(OJ,sB,1,8,5,1),e.b=0,e.c=0)}function HPe(e,t){var n=t.jd();return new Zm(n,e.e.pc(n,F(t.kd(),18)))}function UPe(e,t){for(var n=t;n;)Qy(e,-n.i,-n.j),n=Bw(n);return e}function WPe(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=(lT(t,e.c.length),e.c[t]);return e.c[t]=n,r}function _E(e,t){var n,r;for(pC(t),r=e.Jc();r.Ob();)n=r.Pb(),t.Ad(n)}function GPe(e,t){var n=t.jd(),r=e.De(n);return!!r&&yC(r.e,t.kd())}function KPe(e,t){return e.a.get(t)??H(OJ,sB,1,0,5,1)}function vE(e){e.i=0,Zh(e.b,null),Zh(e.c,null),e.a=null,e.e=null,++e.g}function qPe(e,t,n){e.a.c.length=0,bst(e,t,n),e.a.c.length==0||Trt(e,t)}function JPe(e,t){this.c=0,this.b=t,Upe.call(this,e,17493),this.a=this.c}function YPe(e){_dt(),Ad(this),this.a=new uh,pWe(this,e),mx(this.a,e)}function XPe(){jv(this),this.b=new j(AV,AV),this.a=new j(jV,jV)}function yE(e){bE(),!DY&&(this.c=e,this.e=!0,this.a=new Sd)}function bE(){bE=C,DY=!0,wxt=!1,Txt=!1,Dxt=!1,Ext=!1}function xE(){xE=C,x3=new Hfe(Ipt,0),PFt=new Hfe(`TARGET_WIDTH`,1)}function SE(e,t){return(DM(e),Km(new Px(e,new TLe(t,e.a)))).zd(AY)}function ZPe(){return XF(),W(A(TCt,1),Z,363,0,[hX,gX,_X,vX,yX])}function QPe(){return FF(),W(A(qNt,1),Z,364,0,[R4,F4,z4,I4,L4])}function $Pe(){return xL(),W(A(KFt,1),Z,369,0,[T3,w3,D3,E3,O3])}function eFe(){return cI(),W(A(iIt,1),Z,330,0,[tIt,L3,rIt,R3,nIt])}function tFe(){return MF(),W(A(sTt,1),Z,371,0,[kZ,jZ,MZ,AZ,OZ])}function nFe(){return cP(),W(A(n2,1),Z,303,0,[qAt,$0,e2,Q0,t2])}function rFe(){return $M(),W(A(xEt,1),Z,165,0,[X$,K$,q$,J$,Y$])}function iFe(){return ZN(),W(A(Q3,1),Z,160,0,[X3,Y3,q3,Z3,J3])}function aFe(){return QN(),W(A($8,1),Z,257,0,[Z8,Q8,ZRt,X8,QRt])}function oFe(e){return am(),function(){return VMe(e,this,arguments)}}function CE(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function sFe(e,t){return N(t,144)?jb(e.c,F(t,144).c):!1}function wE(e){return e.t||(e.t=new od(e),lM(new pce(e),0,e.t)),e.t}function cFe(e){var t;return e.c||(t=e.r,N(t,88)&&(e.c=F(t,29))),e.c}function TE(e,t){return F($D(e.d,t),21)||F($D(e.e,t),21)}function lFe(e){this.b=e,dy.call(this,e),this.a=F(pA(this.b.a,4),129)}function uFe(e){this.b=e,Fy.call(this,e),this.a=F(pA(this.b.a,4),129)}function EE(e,t,n,r,i){NFe.call(this,t,r,i),this.c=e,this.b=n}function dFe(e,t,n,r,i){NFe.call(this,t,r,i),this.c=e,this.a=n}function fFe(e,t,n,r,i){$je.call(this,t,r,i),this.c=e,this.a=n}function pFe(e,t,n,r,i){Qje.call(this,t,r,i),this.c=e,this.a=n}function mFe(e){Ede.call(this,e==null?cB:qM(e),N(e,80)?F(e,80):null)}function hFe(e){e&&kRe((Ece(),xbt)),--HJ,e&&UJ!=-1&&(Dfe(UJ),UJ=-1)}function gFe(e,t){var n=F(fGe(e.c,t),18),r;n&&(r=n.gc(),n.$b(),e.d-=r)}function DE(e){return Wv(e&xV,e>>22&xV,e<0?SV:0)}function _Fe(e){var t=e.c.i,n=e.d.i;return t.k==(uL(),LX)&&n.k==LX}function vFe(e){var t=e.length;return jb(NV.substr(NV.length-t,t),e)}function OE(e){if(eL(e))return e.c=e.a,e.a.Pb();throw O(new Yd)}function kE(e,t){return t==0||e.e==0?e:t>0?mJe(e,t):pet(e,-t)}function yFe(e,t){return t==0||e.e==0?e:t>0?pet(e,t):mJe(e,-t)}function bFe(e){return e.e=3,e.d=e.Yb(),e.e!=2&&(e.e=0,!0)}function AE(e){var t=new cw;return vA(t,e),G(t,(Hz(),R1),null),t}function jE(e,t,n){var r=e.Fh(t);return r>=0?e.Ih(r,n,!0):WI(e,t,n)}function xFe(e,t,n){return dM(ny(YN(e),Yv(t.b)),ny(YN(e),Yv(n.b)))}function SFe(e,t,n){return dM(ny(YN(e),Yv(t.e)),ny(YN(e),Yv(n.e)))}function CFe(e,t){return r.Math.min(sD(t.a,e.d.d.c),sD(t.b,e.d.d.c))}function wFe(e,t,n){var r=new zhe(e.a);Yk(r,e.a.a),EI(r.f,t,n),e.a.a=r}function TFe(e,t,n,r){for(var i=0;it)throw O(new jp(o3e(e,t,`index`)));return e}function kFe(e){var t=e.e+e.f;return isNaN(t)&&Lb(e.d)?e.d:t}function AFe(e,t){var n=(pC(e),e),r=(pC(t),t);return n==r?0:nt.p?-1:0}function UFe(e,t){return xS(e.a,t)?(IE(e.a,t),!0):!1}function WFe(e){var t=e.jd();return tx(F(e.kd(),18).Lc(),new _ie(t))}function JE(e){var t=e.b;return t.b==0?null:F(dP(t,0),65).b}function GFe(e,t){var n=Wst(e,t);return e.b=new Ck(n.c.length),Xot(e,n)}function KFe(e){var t;return DM(e),t=new LSe(e,e.a.e,e.a.d|4),new ive(e,t)}function qFe(e){var t;for(cC(e),t=0;e.a.zd(new Ae);)t=NM(t,1);return t}function JFe(e){var t;return e.a||(t=e.r,N(t,159)&&(e.a=F(t,159))),e.a}function YFe(e,t,n){var r;return++e.e,--e.f,r=F(e.d[t].ed(n),136),r.kd()}function YE(e,t,n){return NT(t,e.e.Pd().gc()),NT(n,e.c.Pd().gc()),e.a[t][n]}function XE(e,t){return pC(t),e.cn||t=0,`Initial capacity must not be negative`)}function sD(e,t){var n=e.a-t.a,i=e.b-t.b;return r.Math.sqrt(n*n+i*i)}function WIe(e,t,n){var r=e.b[n.c.p][n.p];r.b+=t.b,r.c+=t.c,r.a+=t.a,++r.a}function GIe(){GIe=C,Djt=Qx(wx(new dC,(XF(),hX),(Kz(),$X)),yX,mZ)}function KIe(){return bI(),W(A(QZ,1),Z,231,0,[JZ,XZ,qZ,YZ,ZZ,KZ])}function qIe(){return aI(),W(A(FTt,1),Z,284,0,[_Q,gQ,yQ,vQ,xQ,bQ])}function JIe(){return SF(),W(A(WTt,1),Z,282,0,[wQ,VTt,UTt,BTt,HTt,CQ])}function YIe(){return nI(),W(A(ZTt,1),Z,283,0,[TQ,qTt,XTt,YTt,JTt,KTt])}function XIe(){return _P(),W(A(nLt,1),Z,256,0,[c6,d6,f6,p6,l6,u6])}function ZIe(){return PF(),W(A(ezt,1),Z,102,0,[a5,i5,r5,e5,n5,t5])}function QIe(){return NI(),W(A(f5,1),Z,280,0,[u5,c5,l5,s5,o5,d5])}function $Ie(){return kF(),W(A(x6,1),Z,299,0,[b6,y6,v6,g6,h6,_6])}function eLe(){return qF(),W(A(LRt,1),Z,328,0,[FRt,NRt,IRt,jRt,PRt,MRt])}function tLe(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Ah(),e.a=fO(t,e.b)),e.a}function cD(e,t){return e.Qi()&&e.Gc(t)?!1:(e.Fi(t),!0)}function lD(e,t){return mw(t,`Horizontal alignment cannot be null`),e.b=t,e}function nLe(e,t,n){qz();var r=Nz(e,t);return n&&r&&GEe(e)&&(r=null),r}function uD(e,t,n){for(var r,i=e.Jc();i.Ob();)r=F(i.Pb(),36),rR(r,t,n)}function rLe(e,t){for(var n,r=t.Jc();r.Ob();)n=F(r.Pb(),36),qnt(e,n,0,0)}function iLe(e){for(var t,n=$N(e.a,0);n.b!=n.d.c;)t=F(HT(n),65),i6e(t)}function aLe(e,t){return jde(e.e,t)||qN(e.e,t,new jYe(t)),F($D(e.e,t),113)}function dD(e,t,n,r){return pC(e),pC(t),pC(n),pC(r),new NTe(e,t,new Te)}function fD(e,t,n,r){this.$j(),this.a=t,this.b=e,this.c=new wTe(this,t,n,r)}function pD(e,t,n,r,i,a){WMe.call(this,t,r,i,a),this.c=e,this.b=n}function mD(e,t,n,r,i,a){WMe.call(this,t,r,i,a),this.c=e,this.a=n}function hD(e,t){var n,r,i=e.r;return r=e.d,n=KR(e,t,!0),n.b!=i||n.a!=r}function gD(e,t,n){var r,i=(r=sL(e.b,t),r);return i?az(LD(e,i),n):null}function oLe(e,t,n){var r=Nw(e,n),i=null,a;r&&(i=S4e(r)),a=i,CYe(t,n,a)}function sLe(e,t,n){var r=Nw(e,n),i=null,a;r&&(i=S4e(r)),a=i,CYe(t,n,a)}function cLe(e,t,n){var i;e.d[t.g]=n,i=e.g.c,i[t.g]=r.Math.max(i[t.g],n+1)}function _D(e,t){var n=e.Fh(t);return n>=0?e.Ih(n,!0,!0):WI(e,t,!0)}function lLe(e,t){var n=JS(e.k,t);return d9e(e,t),lR(e,t),D5e(e,t,n),null}function uLe(e){var t;if(!e.a)throw O(new jOe);return t=e.a,e.a=Bw(e.a),t}function dLe(e){if(e.b<=0)throw O(new Yd);return--e.b,e.a-=e.c.c,K(e.a)}function fLe(e,t,n){var r=HUe(e,t,n);return e.b=new Ck(r.c.length),Vet(e,r)}function vD(e){var t;return HS(e),N(e,204)?(t=F(e,204),t):new Eie(e)}function pLe(e){for(;!e.a;)if(!Eye(e.c,new Xl(e)))return!1;return!0}function mLe(e,t){e.a.Le(t.d,e.b)>0&&(iy(e.c,new QSe(t.c,t.d,e.d)),e.b=t.d)}function hLe(e,t){if(e.g==null||t>=e.i)throw O(new iv(t,e.i));return e.g[t]}function gLe(e){var t;if(e.ll())for(t=e.i-1;t>=0;--t)U(e,t);return zNe(e)}function _Le(e){yD(),F(e.mf((Gz(),e8)),182).Ec((NI(),l5)),e.of($6,null)}function yD(){yD=C,KIt=new La,JIt=new Ra,qIt=vUe((Gz(),$6),KIt,H6,JIt)}function bD(){bD=C,YNt=new Vfe(`LEAF_NUMBER`,0),B4=new Vfe(`NODE_SIZE`,1)}function vLe(){vLe=C,GR(),LVt=AV,IVt=jV,zVt=new xl(AV),RVt=new xl(jV)}function yLe(e){return N(e,180)?``+F(e,180).a:e==null?null:qM(e)}function bLe(e){return N(e,180)?``+F(e,180).a:e==null?null:qM(e)}function xD(e,t,n,r,i){return t<0?WI(e,n,r):F(n,69).uk().wk(e,e.ei(),t,r,i)}function SD(e,t,n,r){var i;r=(JC(),r||nxt),i=e.slice(t,n),s3e(i,e,t,n,-t,r)}function xLe(e,t){var n,r=t/e.c.Pd().gc()|0;return n=t%e.c.Pd().gc(),YE(e,r,n)}function SLe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function CLe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function wLe(e,t,n){if(dj(e,n),n!=null&&!e.dk(n))throw O(new Hd);return n}function CD(e,t){return sO(t)!=10&&W(vj(t),t.Qm,t.__elementTypeId$,sO(t),e),e}function TLe(e,t){$_.call(this,t.xd(),t.wd()&-16449),pC(e),this.a=e,this.c=t}function ELe(e,t,n,r,i){ghe(this),this.b=e,this.d=t,this.f=n,this.g=r,this.c=i}function DLe(e,t){if(t.a)throw O(new xp(jft));ES(e.a,t),t.a=e,!e.j&&(e.j=t)}function wD(){wD=C,BY=new ag(pH,0),zY=new ag(fH,1),VY=new ag(mH,2)}function TD(){TD=C,xY=new ng(`All`,0),SY=new jme,CY=new mhe,wY=new Mme}function OLe(){OLe=C,bxt=Nj((TD(),W(A(TY,1),Z,310,0,[xY,SY,CY,wY])))}function kLe(){kLe=C,Kwt=Nj((HA(),W(A(Gwt,1),Z,367,0,[CZ,xZ,SZ,bZ])))}function ALe(){ALe=C,VCt=Nj((zN(),W(A(BCt,1),Z,383,0,[MX,zCt,AX,jX])))}function jLe(){jLe=C,ySt=Nj((EA(),W(A(vSt,1),Z,409,0,[XY,qY,JY,YY])))}function MLe(){MLe=C,MCt=Nj((UA(),W(A(jCt,1),Z,408,0,[TX,OX,EX,DX])))}function NLe(){NLe=C,CTt=Nj((eN(),W(A(STt,1),Z,301,0,[tQ,bTt,eQ,xTt])))}function PLe(){PLe=C,KAt=Nj((gP(),W(A(Z0,1),Z,203,0,[Y0,X0,J0,q0])))}function FLe(){FLe=C,rjt=Nj((AN(),W(A(njt,1),Z,269,0,[l2,tjt,u2,d2])))}function ILe(){ILe=C,oTt=Nj((TA(),W(A(aTt,1),Z,413,0,[wZ,TZ,EZ,DZ])))}function LLe(){LLe=C,Ujt=Nj((Hj(),W(A(Hjt,1),Z,404,0,[D2,k2,A2,O2])))}function RLe(){RLe=C,IPt=Nj((zP(),W(A(FPt,1),Z,354,0,[J4,NPt,PPt,MPt])))}function zLe(){zLe=C,LNt=Nj((Ej(),W(A(INt,1),Z,353,0,[A4,O4,k4,D4])))}function BLe(){BLe=C,MMt=Nj((rF(),W(A(jMt,1),Z,398,0,[K2,q2,J2,Y2])))}function VLe(){VLe=C,WPt=Nj((KF(),W(A(UPt,1),Z,401,0,[n3,$4,t3,e3])))}function HLe(){HLe=C,DRt=Nj((Wj(),W(A(ERt,1),Z,278,0,[C8,S8,wRt,TRt])))}function ULe(){ULe=C,ARt=Nj((gM(),W(A(j8,1),Z,222,0,[A8,O8,D8,k8])))}function WLe(){WLe=C,YRt=Nj((iF(),W(A(JRt,1),Z,292,0,[z8,I8,L8,R8])))}function GLe(){GLe=C,wzt=Nj((mE(),W(A(Z5,1),Z,288,0,[bzt,Czt,xzt,Szt])))}function KLe(){KLe=C,pzt=Nj((CN(),W(A(B5,1),Z,380,0,[R5,z5,L5,I5])))}function qLe(){qLe=C,Azt=Nj((tN(),W(A(kzt,1),Z,327,0,[Ozt,Tzt,Dzt,Ezt])))}function JLe(){JLe=C,Lzt=Nj((Tj(),W(A(Izt,1),Z,407,0,[Nzt,Pzt,Mzt,Fzt])))}function ED(){ED=C,LTt=new mfe(pU,0),SQ=new mfe(`IMPROVE_STRAIGHTNESS`,1)}function DD(){DD=C,S3=new a_(Yht,0),RFt=new a_(Sht,1),LFt=new a_(pU,2)}function OD(e){e.a=H(q9,dV,30,e.b+1,15,1),e.c=H(q9,dV,30,e.b,15,1),e.d=0}function kD(e){for(var t=e.p+1;t=0?pP(e,n,!0,!0):WI(e,t,!0)}function fRe(e,t){Fb(F(F(e.f,26).mf((Gz(),Z6)),102))&&pqe(kDe(F(e.f,26)),t)}function pRe(e,t){BO(e,t==null||Lb((pC(t),t))||isNaN((pC(t),t))?0:(pC(t),t))}function mRe(e,t){zO(e,t==null||Lb((pC(t),t))||isNaN((pC(t),t))?0:(pC(t),t))}function hRe(e,t){PO(e,t==null||Lb((pC(t),t))||isNaN((pC(t),t))?0:(pC(t),t))}function gRe(e,t){VO(e,t==null||Lb((pC(t),t))||isNaN((pC(t),t))?0:(pC(t),t))}function _Re(e){(this.q?this.q:(qC(),qC(),gY)).zc(e.q?e.q:(qC(),qC(),gY))}function YD(e,t,n){var r=e.g[t];return ay(e,t,e.Xi(t,n)),e.Pi(t,n,r),e.Li(),r}function XD(e,t){var n=e.bd(t);return n>=0&&(e.ed(n),!0)}function ZD(e){var t;return e.d!=e.r&&(t=dF(e),e.e=!!t&&t.jk()==ryt,e.d=t),e.e}function QD(e,t){var n;for(HS(e),HS(t),n=!1;t.Ob();)n|=e.Ec(t.Pb());return n}function $D(e,t){var n=F(JS(e.e,t),393);return n?(Qhe(e,n),n.e):null}function eO(e){var t=e.b.c.length==0?null:jx(e.b,0);return t!=null&&xk(e,0),t}function tO(e,t){var n,r;return DM(e),r=new zFe(t,e.a),n=new Pye(r),new Px(e,n)}function nO(){nO=C,WY=new og(`TOP`,0),UY=new og(fH,1),HY=new og(qft,2)}function rO(){rO=C,GQ=new Mg(pU,0),KQ=new Mg(`TOP`,1),WQ=new Mg(qft,2)}function iO(){iO=C,FCt=new bt,ICt=new nee,NCt=new ree,PCt=new iee,LCt=new xt}function aO(){aO=C,Dbt=Wv(xV,xV,524287),Obt=Wv(0,0,CV),kbt=DE(1),DE(2),Abt=DE(0)}function oO(e,t){var n=e.a[t],r=(qA(),KJ)[typeof n];return r?r(n):pGe(typeof n)}function vRe(e){var t=e/60|0,n=e%60;return n==0?``+t:``+t+`:`+(``+n)}function yRe(e){return WQe(e,(aO(),Abt))<0?-Dge(ZA(e)):e.l+e.m*wV+e.h*TV}function bRe(e){switch(e.g){case 0:return nB;case 1:return WB;default:return 0}}function sO(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function xRe(e,t){return N(t,103)&&(F(t,19).Bb&PV)!=0?new ov(t,e):new yA(t,e)}function SRe(e,t){return N(t,103)&&(F(t,19).Bb&PV)!=0?new ov(t,e):new yA(t,e)}function CRe(e,t,n){return ny(new j(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(pC(t),t)}function wRe(e,t){var n,r,i=t.c.i;n=F(JS(e.f,i),60),r=n.d.c-n.e.c,DVe(t.a,r,0)}function TRe(e,t){var n;for(++e.d,++e.c[t],n=t+1;ne.a[r]&&(r=n);return r}function PRe(e){var t=F(q(e,(X(),YQ)),318);return t?t.a==e:!1}function FRe(e){var t=F(q(e,(X(),YQ)),318);return t?t.i==e:!1}function IRe(e,t){return t==(Ub(),Ub(),fxt)?e.toLocaleLowerCase():e.toLowerCase()}function LRe(){LRe=C,ECt=Nj((XF(),W(A(TCt,1),Z,363,0,[hX,gX,_X,vX,yX])))}function RRe(){RRe=C,JAt=Nj((cP(),W(A(n2,1),Z,303,0,[qAt,$0,e2,Q0,t2])))}function zRe(){zRe=C,cTt=Nj((MF(),W(A(sTt,1),Z,371,0,[kZ,jZ,MZ,AZ,OZ])))}function BRe(){BRe=C,JNt=Nj((FF(),W(A(qNt,1),Z,364,0,[R4,F4,z4,I4,L4])))}function VRe(){VRe=C,qFt=Nj((xL(),W(A(KFt,1),Z,369,0,[T3,w3,D3,E3,O3])))}function HRe(){HRe=C,aIt=Nj((cI(),W(A(iIt,1),Z,330,0,[tIt,L3,rIt,R3,nIt])))}function URe(){URe=C,SEt=Nj(($M(),W(A(xEt,1),Z,165,0,[X$,K$,q$,J$,Y$])))}function WRe(){WRe=C,XIt=Nj((ZN(),W(A(Q3,1),Z,160,0,[X3,Y3,q3,Z3,J3])))}function GRe(){GRe=C,CRt=Nj((fM(),W(A(x8,1),Z,86,0,[y8,v8,_8,g8,b8])))}function KRe(){KRe=C,rzt=Nj((Az(),W(A(P5,1),hU,64,0,[M5,m5,p5,j5,N5])))}function qRe(){qRe=C,$Rt=Nj((QN(),W(A($8,1),Z,257,0,[Z8,Q8,ZRt,X8,QRt])))}function cO(){cO=C,eX=new Ude(`EADES`,0),tX=new Ude(`FRUCHTERMAN_REINGOLD`,1)}function lO(){lO=C,fQ=new pfe(`READING_DIRECTION`,0),ATt=new pfe(`ROTATION`,1)}function JRe(e){this.g=e,this.f=new Sd,this.a=r.Math.min(this.g.c.c,this.g.d.c)}function YRe(e){this.b=new Sd,this.a=new Sd,this.c=new Sd,this.d=new Sd,this.e=e}function XRe(e,t,n,r){qz(),bd.call(this,26),this.c=e,this.a=t,this.d=n,this.b=r}function ZRe(e,t,n){Cb.call(this),Eze(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function QRe(e,t,n){for(var r,i=new D(n);i.a=0&&t0?nB:Bj(e,WB)<0?WB:Gx(e)}function tze(e,t){return DO(),-Uv(F(q(e,(MR(),C4)),15).a,F(q(t,C4),15).a)}function nze(){return uL(),W(A(WX,1),Z,249,0,[VX,zX,LX,HX,RX,IX,UX,BX])}function rze(){return $I(),W(A(S7,1),Z,244,0,[aBt,b7,x7,y7,iBt,v7,_7,rBt])}function ize(){return gI(),W(A(QIt,1),Z,285,0,[ZIt,$3,r6,a6,e6,t6,n6,i6])}function aze(){return YL(),W(A(mTt,1),Z,275,0,[RZ,VZ,LZ,WZ,BZ,zZ,UZ,HZ])}function oze(e,t){return!!Hk(e,t,Gx(PM(PB,TC(Gx(PM(t==null?0:jk(t),FB)),15))))}function sze(e,t){var n=t>0?t-1:t;return dle(ule(Jze(lCe(new ip,n),e.n),e.j),e.k)}function mO(e){var t,n=(t=new Jf,t);cD((!e.q&&(e.q=new I(B7,e,11,10)),e.q),n)}function cze(e,t){var n=F(zj(e.d,t),18),r;return n?(r=t,e.e.pc(r,n)):null}function hO(e,t){var n;return DM(e),n=new yOe(e,e.a.xd(),e.a.wd()|4,t),new Px(e,n)}function gO(e){var t;Ky(!!e.c),t=e.c.a,bO(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function lze(e){return e.a>=-.01&&e.a<=_H&&(e.a=0),e.b>=-.01&&e.b<=_H&&(e.b=0),e}function uze(e){var t=k(P(q(e,(Hz(),M1))));return t<0&&(t=0,G(e,M1,t)),t}function dze(e,t){Fb(F(q(F(e.e,9),(Hz(),l0)),102))&&(qC(),Vv(F(e.e,9).j,t))}function _O(e,t){for(var n,r=e.Jc();r.Ob();)n=F(r.Pb(),70),G(n,(X(),h$),t)}function fze(e,t,n){var i=r.Math.max(0,e.b/2-.5);pF(n,i,1),iy(t,new tfe(n,i))}function pze(e,t,n,r){var i;e.j=-1,i8e(e,C4e(e,t,n),(Wh(),i=F(t,69).tk(),i.vl(r)))}function mze(e,t,n,r,i,a){var o=AE(r);Hw(o,i),Ww(o,a),HI(e.a,r,new Kb(o,t,n.f))}function hze(e,t){uP(e,(QL(),c3),t.f),uP(e,KPt,t.e),uP(e,s3,t.d),uP(e,GPt,t.c)}function gze(e,t){if(0>e||e>t)throw O(new kce(`fromIndex: 0, toIndex: `+e+yft+t))}function vO(e){if(e<0)throw O(new Rp(`Illegal Capacity: `+e));this.g=this.$i(e)}function _ze(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(im(),RJ)}function yO(e,t){for(var n=e;Bw(n);)if(n=Bw(n),n==t)return!0;return!1}function vze(e,t){return t&&e.b[t.g]==t?(qS(e.b,t.g,null),--e.c,!0):!1}function bO(e,t){var n=t.c;return t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,n}function yze(e,t){var n=DL(e.Ah(),t);if(!n)throw O(new Rp(wK+t+EK));return n}function xO(e){UL();var t,n=Mht;for(t=0;tn&&(n=e[t]);return n}function bze(e){for(var t=0;t0&&(e.a/=t,e.b/=t),e}function wO(e){this.b=(HS(e),new zb(e)),this.a=new Sd,this.d=new Sd,this.e=new Am}function Eze(e){e.b=(wD(),zY),e.f=(nO(),UY),e.d=(uk(2,RB),new oD(2)),e.e=new Am}function TO(){TO=C,NY=new ig(`BEGIN`,0),PY=new ig(fH,1),FY=new ig(`END`,2)}function EO(){EO=C,w8=new g_(fH,0),T8=new g_(`HEAD`,1),E8=new g_(`TAIL`,2)}function DO(){DO=C,HNt=PN(PN(PN(Lh(new dC,(rF(),q2)),(dR(),Z2)),LMt),VMt)}function OO(){OO=C,WNt=PN(PN(PN(Lh(new dC,(rF(),Y2)),(dR(),zMt)),PMt),RMt)}function Dze(){Dze=C,RY=(TO(),W(A(IY,1),Z,237,0,[NY,PY,FY])).length,LY=RY}function Oze(e,t){for(;t[0]=0;)++t[0]}function kO(e,t){var n,r=e.a;n=aKe(e,t,null),r!=t&&!e.e&&(n=Sz(e,t,n)),n&&n.mj()}function AO(e){var t;return e.w?e.w:(t=Tje(e),t&&!t.Sh()&&(e.w=t),t)}function kze(e){var t;return e==null?null:(t=F(e,195),S0e(t,t.length))}function U(e,t){if(e.g==null||t>=e.i)throw O(new iv(t,e.i));return e.Ui(t,e.g[t])}function Aze(e,t){qC();var n,r=new Sd;for(n=0;n=14&&t<=16))),e}function Rze(){Rze=C,gTt=Nj((bI(),W(A(QZ,1),Z,231,0,[JZ,XZ,qZ,YZ,ZZ,KZ])))}function zze(){zze=C,ITt=Nj((aI(),W(A(FTt,1),Z,284,0,[_Q,gQ,yQ,vQ,xQ,bQ])))}function Bze(){Bze=C,GTt=Nj((SF(),W(A(WTt,1),Z,282,0,[wQ,VTt,UTt,BTt,HTt,CQ])))}function Vze(){Vze=C,QTt=Nj((nI(),W(A(ZTt,1),Z,283,0,[TQ,qTt,XTt,YTt,JTt,KTt])))}function Hze(){Hze=C,rLt=Nj((_P(),W(A(nLt,1),Z,256,0,[c6,d6,f6,p6,l6,u6])))}function Uze(){Uze=C,tzt=Nj((PF(),W(A(ezt,1),Z,102,0,[a5,i5,r5,e5,n5,t5])))}function Wze(){Wze=C,nzt=Nj((NI(),W(A(f5,1),Z,280,0,[u5,c5,l5,s5,o5,d5])))}function Gze(){Gze=C,hLt=Nj((kF(),W(A(x6,1),Z,299,0,[b6,y6,v6,g6,h6,_6])))}function Kze(){Kze=C,RRt=Nj((qF(),W(A(LRt,1),Z,328,0,[FRt,NRt,IRt,jRt,PRt,MRt])))}function qze(){return tL(),W(A(Y8,1),Z,96,0,[V8,B8,U8,J8,q8,K8,W8,G8,H8])}function NO(){NO=C,F5=new T_(x_t,0),lzt=new T_(`PARENT`,1),uzt=new T_(`ROOT`,2)}function Jze(e,t){return e.n=t,e.n?(e.f=new Sd,e.e=new Sd):(e.f=null,e.e=null),e}function PO(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,3,n,e.f))}function FO(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,0,n,e.a))}function IO(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,1,n,e.b))}function LO(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,3,n,e.b))}function RO(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,4,n,e.c))}function zO(e,t){var n=e.g;e.g=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,4,n,e.g))}function BO(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,5,n,e.i))}function VO(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,6,n,e.j))}function HO(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,1,n,e.j))}function UO(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&aA(e,new oE(e,2,n,e.k))}function WO(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&aA(e,new sE(e,2,n,e.d))}function GO(e,t){var n=e.s;e.s=t,e.Db&4&&!(e.Db&1)&&aA(e,new sE(e,4,n,e.s))}function KO(e,t){var n=e.t;e.t=t,e.Db&4&&!(e.Db&1)&&aA(e,new sE(e,5,n,e.t))}function qO(e,t){var n=e.F;e.F=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,5,n,t))}function JO(e,t){var n=F(JS((Bh(),D7),e),58);return n?n.ek(t):H(OJ,sB,1,t,5,1)}function YO(e,t){var n=t in e.a,r;return n&&(r=Nw(e,t).pe(),r)?r.a:null}function Yze(e,t){var n=(r=(Nm(),i=new fo,i),t&&y9e(r,t),r),r,i;return BBe(n,e),n}function Xze(e,t,n){var r=jN(n);return vC(e.c,r,t),vC(e.d,t,n),vC(e.e,t,Pw(t)),t}function XO(e,t,n,r,i,a){var o=pEe(e,t);return oBe(n,o),o.i=i?8:0,o.f=r,o.e=i,o.g=a,o}function Zze(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 Qze(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 $ze(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 eBe(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 tBe(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 nBe(e,t){for(var n,r=t,i=0,a=r.length;i0?F(jx(n.a,r-1),9):null}function $O(e){if(!(e>=0))throw O(new Rp(`tolerance (`+e+`) must be >= 0`));return e}function ek(){return G3||(G3=new int,hj(G3,W(A($Y,1),sB,148,0,[new Sc]))),G3}function tk(){tk=C,vjt=new Wg(`NO`,0),C2=new Wg(Ipt,1),_jt=new Wg(`LOOK_BACK`,2)}function nk(){nk=C,wTt=new Cg(`ARD`,0),rQ=new Cg(`MSD`,1),nQ=new Cg(`MANUAL`,2)}function rk(){rk=C,g2=new Vg(gH,0),m2=new Vg(`INPUT`,1),h2=new Vg(`OUTPUT`,2)}function ik(e,t){var n=e.gc();if(t<0||t>n)throw O(new Ab(t,n));return new Iye(e,t)}function ak(e,t){for(var n,r=t,i=0,a=r.length;i=0),VJe(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function ck(e,t){e.b=r.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),iy(e.a,t)}function mBe(e,t){t.Tg(`Hierarchical port constraint processing`,1),GYe(e),sdt(e),t.Ug()}function lk(e){for(var t,n=e.c.Bc().Jc();n.Ob();)t=F(n.Pb(),18),t.$b();e.c.$b(),e.d=0}function hBe(e,t){for(var n=0,r=e.gc();n=0}function IBe(e,t){e.r>0&&e.c0&&e.g!=0&&IBe(e.i,t/e.r*e.i.d))}function LBe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,1,n,e.c))}function fk(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,4,n,e.c))}function RBe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,1,n,e.c))}function zBe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,1,n,e.d))}function pk(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,2,n,e.k))}function mk(e,t){var n=e.D;e.D=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,2,n,e.D))}function hk(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,8,n,e.f))}function gk(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,7,n,e.i))}function BBe(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,8,n,e.a))}function VBe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,0,n,e.b))}function HBe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,0,n,e.b))}function UBe(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new ep:new Xs,e.c=Pet(r,e.b,e.a)}function WBe(e,t){return LL(e.e,t)?(Wh(),ZD(t)?new Tx(t,e):new W_(t,e)):new Ipe(t,e)}function GBe(e){var t,n;return 0>e?new Wue:(t=e+1,n=new JPe(t,e),new ave(null,n))}function KBe(e,t){qC();var n=new gh(1);return z_(e)?Kw(n,e,t):EI(n.f,e,t),new Hl(n)}function qBe(e,t){var n=new it;F(t.b,68),F(t.b,68),F(t.b,68),SO(t.a,new mSe(e,n,t))}function JBe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,11,n,e.d))}function YBe(e,t){for(var n,r=t.vc().Jc();r.Ob();)n=F(r.Pb(),45),_F(e,n.jd(),n.kd())}function _k(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,13,n,e.j))}function XBe(e,t){var n;return N(t,8)?(n=F(t,8),e.a==n.a&&e.b==n.b):!1}function ZBe(e){var t=q(e,(X(),w$));return N(t,174)?Fqe(F(t,174)):null}function QBe(e){var t;return e=r.Math.max(e,2),t=AUe(e),e>t?(t<<=1,t>0?t:LB):t}function $Be(e){var t;return e.b==null?(Hh(),Hh(),u9):(t=e.sl()?e.rl():e.ql(),t)}function vk(e){var t;return Hb(e.f.g,e.d),qy(e.b),e.c=e.a,t=F(e.a.Pb(),45),e.b=qHe(e),t}function yk(e,t){var n=e.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(t[r++]=i);return t}function bk(e,t){var n;return pC(t),n=t.g,!e.b[n]&&(qS(e.b,n,t),++e.c,!0)}function eVe(e,t){var n=t==null?-1:PD(e.b,t,0);return n<0?!1:(xk(e,n),!0)}function xk(e,t){var n=LE(e.b,e.b.c.length-1);t0):(!e.c&&(e.c=aT(uA(e.f))),e.c).e}function vVe(e,t){t?e.B??(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function yVe(e,t){typeof window===Qz&&typeof window.$gwt===Qz&&(window.$gwt[e]=t)}function bVe(e,t,n){for(var r=0,i=0,a;i>>31;r!=0&&(e[n]=r)}function Bk(e,t,n,r,i,a){var o;this.c=e,o=new Sd,rZe(e,o,t,e.b,n,r,i,a),this.a=new OT(o,0)}function xVe(){this.c=new qm(0),this.b=new qm(jht),this.d=new qm(kht),this.a=new qm(Aht)}function SVe(e,t){return k(P(wy(tM(NC(new Px(null,new cT(e.c.b,16)),new eoe(e)),t))))}function CVe(e,t){return k(P(wy(tM(NC(new Px(null,new cT(e.c.b,16)),new $ae(e)),t))))}function wVe(e,t){var n=F(Y(e,(uI(),W4)),15),r=F(Y(t,W4),15);return Uv(n.a,r.a)}function TVe(e,t){var n;t.Tg(`General Compactor`,1),n=Dqe(F(Y(e,(uI(),U4)),386)),n.Bg(e)}function EVe(e,t,n){n.Tg(`DFS Treeifying phase`,1),hJe(e,t),R9e(e,t),e.a=null,e.b=null,n.Ug()}function DVe(e,t,n){for(var r,i=$N(e,0);i.b!=i.d.c;)r=F(HT(i),8),r.a+=t,r.b+=n;return e}function Vk(e,t,n){for(var r=e.b[n&e.f];r;r=r.b)if(n==r.a&&sC(t,r.g))return r;return null}function Hk(e,t,n){for(var r=e.c[n&e.f];r;r=r.d)if(n==r.f&&sC(t,r.i))return r;return null}function OVe(e,t,n,r){var i=new Sp;QC(i,`x`,AF(e,t,r.a)),QC(i,`y`,jF(e,t,r.b)),QS(n,i)}function kVe(e,t,n,r){var i=new Sp;QC(i,`x`,AF(e,t,r.a)),QC(i,`y`,jF(e,t,r.b)),QS(n,i)}function Uk(e,t,n,r,i,a,o,s,c,l,u,d,f){return a3e(e,t,n,r,i,a,o,s,c,l,u,d,f),BM(e,!1),e}function Wk(e,t,n,r,i,a,o){eh.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=a,this.a=NE(o)}function AVe(e,t){return Fv(),$O(_H),r.Math.abs(0-t)<=_H||t==0?0:e/t}function jVe(e,t){return UA(),e==TX&&t==OX||e==OX&&t==TX||e==DX&&t==EX||e==EX&&t==DX}function MVe(e,t){return UA(),e==TX&&t==EX||e==TX&&t==DX||e==OX&&t==DX||e==OX&&t==EX}function NVe(){return HL(),W(A(IQ,1),Z,261,0,[DQ,kQ,AQ,jQ,MQ,NQ,FQ,EQ,OQ,PQ])}function PVe(){return cR(),W(A($At,1),Z,243,0,[s2,a2,o2,XAt,ZAt,YAt,QAt,c2,r2,i2])}function Gk(){Gk=C,l9=new qse,GBt=W(A(N7,1),jq,179,0,[]),WBt=W(A(B7,1),ayt,62,0,[])}function Kk(){Kk=C,ZCt=new cee,YCt=new Ot,XCt=new kt,JCt=new At,QCt=new jt,$Ct=new Mt}function FVe(e,t){t.Tg(Apt,1),nN(Que(new ru((Dh(),new LC(e,!1,!1,new Et))))),t.Ug()}function qk(e){var t=RMe(e);return G_(t.a,0)?(dh(),dh(),bY):(dh(),new Jy(t.b))}function Jk(e){var t=RMe(e);return G_(t.a,0)?(dh(),dh(),bY):(dh(),new Jy(t.c))}function IVe(e){var t=IT(e);return G_(t.a,0)?(mh(),mh(),mxt):(mh(),new f_e(t.b))}function LVe(e){return e.b.c.i.k==(uL(),LX)?F(q(e.b.c.i,(X(),w$)),12):e.b.c}function RVe(e){return e.b.d.i.k==(uL(),LX)?F(q(e.b.d.i,(X(),w$)),12):e.b.d}function zVe(e){switch(e.g){case 2:return Az(),N5;case 4:return Az(),p5;default:return e}}function BVe(e){switch(e.g){case 1:return Az(),j5;case 3:return Az(),m5;default:return e}}function VVe(e,t){var n=v0e(e);return g6e(new j(n.c,n.d),new j(n.b,n.a),e.Kf(),t,e.$f())}function Yk(e,t){var n,r;for(pC(t),r=t.vc().Jc();r.Ob();)n=F(r.Pb(),45),e.yc(n.jd(),n.kd())}function HVe(e,t,n){for(var r=n.Jc();r.Ob();)if(!XT(e,t,r.Pb()))return!1;return!0}function UVe(e,t){var n;for(HS(t);e.Ob();)if(n=e.Pb(),!NHe(F(n,9)))return!1;return!0}function WVe(e,t,n,r,i){var a;return n&&(a=sN(t.Ah(),e.c),i=n.Oh(t,-1-(a==-1?r:a),null,i)),i}function GVe(e,t,n,r,i){var a;return n&&(a=sN(t.Ah(),e.c),i=n.Qh(t,-1-(a==-1?r:a),null,i)),i}function KVe(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 qVe(e){if(pC(e),e.length==0)throw O(new um(`Zero length BigInteger`));nrt(this,e)}function JVe(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function YVe(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new Sd,I3e(this),qC(),Vv(this.a,null)}function XVe(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),iy(e.a,t)}function ZVe(e,t){return ti&&t.aa&&t.bi?n=i:uT(t,n+1),e.a=fw(e.a,0,t)+(``+r)+wEe(e.a,n)}function eHe(e,t,n,r){N(e.Cb,184)&&(F(e.Cb,184).tb=null),Nk(e,n),t&&x6e(e,t),r&&e.el(!0)}function tHe(){tHe=C,$It=Nj((gI(),W(A(QIt,1),Z,285,0,[ZIt,$3,r6,a6,e6,t6,n6,i6])))}function nHe(){nHe=C,oBt=Nj(($I(),W(A(S7,1),Z,244,0,[aBt,b7,x7,y7,iBt,v7,_7,rBt])))}function rHe(){rHe=C,KCt=Nj((uL(),W(A(WX,1),Z,249,0,[VX,zX,LX,HX,RX,IX,UX,BX])))}function iHe(){iHe=C,hTt=Nj((YL(),W(A(mTt,1),Z,275,0,[RZ,VZ,LZ,WZ,BZ,zZ,UZ,HZ])))}function aHe(){return dR(),W(A(WMt,1),Z,264,0,[Z2,LMt,VMt,HMt,BMt,IMt,UMt,PMt,zMt,RMt,FMt])}function oHe(){oHe=C,Vjt=PN(tme(wx(wx(new dC,(XF(),_X),(Kz(),lZ)),vX,tZ),yX),cZ)}function sHe(){sHe=C,Gjt=PN(tme(wx(wx(new dC,(XF(),_X),(Kz(),lZ)),vX,tZ),yX),cZ)}function cHe(){var e;return EY||(EY=new uf,e=new yE(``),Jme(e,(hh(),Cxt)),tVe(EY,e)),EY}function lHe(e){return mb(),e.A.Gc((CN(),I5))&&!e.B.Gc((_R(),W5))?Qqe(e):null}function uHe(e,t){var n=ynt(ek(),e);return n?(uP(t,(Gz(),a8),n),!0):!1}function iA(e,t){for(var n=0;n1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw O(new Yd)}function SHe(e){Xme();var t;return Tde(B2,e)||(t=new ki,t.a=e,Fve(B2,e,t)),F(bC(B2,e),636)}function CHe(e){switch(e.a.g){case 1:return new ype;case 3:return new MZe;default:return new hc}}function wHe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return Yje(e,t)}function hA(e){var t;return e<128?(zCe(),t=Pbt[e],!t&&(t=Pbt[e]=new Tl(e)),t):new Tl(e)}function THe(e){for(var t=1,n,r=e.Jc();r.Ob();)n=r.Pb(),t=31*t+(n==null?0:jk(n)),t=~~t;return t}function gA(e){var t,n,r=0;for(n=new lh(e.a);n.a>22),i=e.h+t.h+(r>>22);return Wv(n&xV,r&xV,i&SV)}function iUe(e,t){var n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22);return Wv(n&xV,r&xV,i&SV)}function aUe(e){var t;LR(e,!0),t=XB,Xy(e,(Hz(),m0))&&(t+=F(q(e,m0),15).a),G(e,m0,K(t))}function BA(e){var t,n,r,i=new Sd;for(r=e.Jc();r.Ob();)n=F(r.Pb(),26),t=BL(n),FA(i,t);return i}function oUe(e,t,n){var r;OS(e.a),SO(n.i,new Hoe(e)),r=new Gv(F(JS(e.a,t.b),68)),ZJe(e,r,t),n.f=r}function sUe(e,t){return!e||!t||e==t?!1:AJe(e.d.c,t.d.c+t.d.b)&&AJe(t.d.c,e.d.c+e.d.b)}function cUe(e,t,n,i,a){return UL(),r.Math.min(bct(e,t,n,i,a),bct(n,i,e,t,Zy(new j(a.a,a.b))))}function lUe(e,t){if(!e)throw O(new Rp(eR(`value already present: %s`,W(A(OJ,1),sB,1,5,[t]))))}function uUe(e){var t,n=(Nm(),t=new lo,t);return e&&cD((!e.a&&(e.a=new I(a7,e,6,6)),e.a),n),n}function VA(e,t){var n,r=0;if(e<64&&e<=t)for(t=t<64?t:63,n=e;n<=t;n++)r=_T(r,aS(1,n));return r}function dUe(e,t){var n,r;for(nw(t,`predicate`),r=0;e.Ob();r++)if(n=e.Pb(),t.Lb(n))return r;return-1}function fUe(e,t){t===0?(!e.o&&(e.o=new fD((Lz(),d7),g7,e,0)),e.o.c.$b()):mI(e,t)}function pUe(e){switch(e.g){case 1:return L8;case 2:return I8;case 3:return R8;default:return z8}}function mUe(e){qC();var t,n,r=0;for(n=e.Jc();n.Ob();)t=n.Pb(),r+=t==null?0:jk(t),r|=0;return r}function hUe(e){var t=new S;return t.a=e,t.b=jUe(e),t.c=H(aY,xB,2,2,6,1),t.c[0]=gVe(e),t.c[1]=gVe(e),t}function HA(){HA=C,CZ=new gg(pU,0),xZ=new gg(Npt,1),SZ=new gg(Ppt,2),bZ=new gg(`BOTH`,3)}function UA(){UA=C,TX=new fg(`Q1`,0),OX=new fg(`Q4`,1),EX=new fg(`Q2`,2),DX=new fg(`Q3`,3)}function WA(){WA=C,HQ=new jg(`ONLY_WITHIN_GROUP`,0),tEt=new jg(mU,1),VQ=new jg(`ENFORCED`,2)}function GA(){GA=C,mQ=new Tg(pU,0),pQ=new Tg(`INCOMING_ONLY`,1),hQ=new Tg(`OUTGOING_ONLY`,2)}function KA(){KA=C,new id(`org.eclipse.elk.addLayoutConfig`),UIt=new Pa,HIt=new Fa,WIt=new One}function qA(){qA=C,KJ={boolean:Bue,number:kp,string:fce,object:g3e,function:g3e,undefined:jse}}function gUe(){gUe=C,ejt=Nj((cR(),W(A($At,1),Z,243,0,[s2,a2,o2,XAt,ZAt,YAt,QAt,c2,r2,i2])))}function _Ue(){_Ue=C,$Tt=Nj((HL(),W(A(IQ,1),Z,261,0,[DQ,kQ,AQ,jQ,MQ,NQ,FQ,EQ,OQ,PQ])))}function vUe(e,t,n,r){return new Ode(W(A(NJ,1),AB,45,0,[(FP(e,t),new Zm(e,t)),(FP(n,r),new Zm(n,r))]))}function yUe(e,t){return kit(F(F(JS(e.g,t.a),49).a,68),F(F(JS(e.g,t.b),49).a,68))}function bUe(e,t,n){var r=e.gc();if(t>r)throw O(new Ab(t,r));return e.Qi()&&(n=sAe(e,n)),e.Ci(t,n)}function xUe(e){var t,n=e.n,r=e.o;return t=e.d,new RC(n.a-t.b,n.b-t.d,r.a+(t.b+t.c),r.b+(t.d+t.a))}function SUe(e,t){return!e||!t||e==t?!1:JM(e.b.c,t.b.c+t.b.b)<0&&JM(t.b.c,e.b.c+e.b.b)<0}function JA(e,t,n){return e>=128?!1:q_(e<64?gT(aS(1,e),n):gT(aS(1,e-64),t),0)}function YA(e,t,n){switch(n.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function CUe(e,t){for(;e.g==null&&!e.c?oAe(e):e.g==null||e.i!=0&&F(e.g[e.i-1],50).Ob();)t.Bi(lL(e))}function XA(e,t,n){return n==null?(!e.q&&(e.q=new Cd),IE(e.q,t)):(!e.q&&(e.q=new Cd),vC(e.q,t,n)),e}function G(e,t,n){return n==null?(!e.q&&(e.q=new Cd),IE(e.q,t)):(!e.q&&(e.q=new Cd),vC(e.q,t,n)),e}function wUe(e){var t,n=new VE;return vA(n,e),G(n,(Ek(),lX),e),t=new Cd,fat(e,n,t),Xct(e,n,t),n}function TUe(e){UL();var t,n=H(s6,xB,8,2,0,1),r=0;for(t=0;t<2;t++)r+=.5,n[t]=ZXe(r,e);return n}function EUe(e,t){for(var n=!1,r=e.a[t].length,i,a=0;ae.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d;return t||n}function kUe(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=dF(e),N(t,88)&&(e.c=F(t,29))),e.c}function AUe(e){var t;if(e<0)return WB;if(e==0)return 0;for(t=LB;(t&e)==0;t>>=1);return t}function jUe(e){var t;return e==0?`Etc/GMT`:(e<0?(e=-e,t=`Etc/GMT-`):t=`Etc/GMT+`,t+vRe(e))}function MUe(e){var t,n=UI(e.h);return n==32?(t=UI(e.m),t==32?UI(e.l)+32:t+20-10):n-12}function QA(e){var t=e.a[e.b];return t==null?null:(qS(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function NUe(){++cbt,this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function PUe(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function FUe(e,t){this.b=e,av.call(this,(F(U(z((zS(),K7).o),10),19),t.i),t.g),this.a=(Gk(),GBt)}function IUe(e,t,n){this.q=new r.Date,this.q.setFullYear(e+uV,t,n),this.q.setHours(0,0,0,0),zR(this,0)}function LUe(e,t,n){var r=new aD(t,n),i=new _e;return e.b=Oet(e,e.b,r,i),i.b||++e.c,e.b.b=!1,i.d}function RUe(e,t){qC();var n,r,i,a,o=!1;for(r=t,i=0,a=r.length;io||r+i>a)throw O(new Vd)}function BUe(e,t,n){var r,i,a,o=rM(t,n);for(a=0,i=o.Jc();i.Ob();)r=F(i.Pb(),12),vC(e.c,r,K(a++))}function $A(e){for(var t,n=new D(e.a.b);n.a1||t>=0&&e.b<3)}function lWe(){qz();var e;return WVt||(e=t_e(Nz(`M`,!0)),e=Rx(Nz(`M`,!1),e),WVt=e,WVt)}function uWe(e){switch(e.g){case 1:return kht;default:case 2:return 0;case 3:return Aht;case 4:return jht}}function dj(e,t){if(!e.Ji()&&t==null)throw O(new Rp(`The 'no null' constraint is violated`));return t}function dWe(e,t){ax(e>=0,`Negative initial capacity`),ax(t>=0,`Non-positive load factor`),OS(this)}function fWe(e,t){for(var n,r,i=e.b;i;){if(n=e.a.Le(t,i.d),n==0)return i;r=n<0?0:1,i=i.a[r]}return null}function fj(e,t){var n;return t===e?!0:N(t,229)?(n=F(t,229),nM(e.Zb(),n.Zb())):!1}function pWe(e,t){return c9e(e,t)?(HI(e.b,F(q(t,(X(),r$)),22),t),mx(e.a,t),!0):!1}function mWe(e,t){return Xy(e,(X(),C$))&&Xy(t,C$)?F(q(t,C$),15).a-F(q(e,C$),15).a:0}function hWe(e,t){return Xy(e,(X(),C$))&&Xy(t,C$)?F(q(e,C$),15).a-F(q(t,C$),15).a:0}function gWe(e,t){var n=F(Y(e,(JL(),m3)),15).a,r=F(Y(t,m3),15).a;return n==r||nr)}function _We(e){return iy(e.c,(KA(),UIt)),Pze(e.a,k(P(tP((_N(),z0)))))?new io:new Joe(e)}function vWe(e){for(;!e.d||!e.d.Ob();)if(e.b&&!Wp(e.b))e.d=F(NS(e.b),50);else return null;return e.d}function yWe(e,t,n){return e.d[t.p][n.p]||(dXe(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function pj(e,t,n){var r,i=(r=new Jf,r);return ok(i,t,n),cD((!e.q&&(e.q=new I(B7,e,11,10)),e.q),i),i}function mj(e){var t,n,r,i=wde($zt,e);for(n=i.length,r=H(aY,xB,2,n,6,1),t=0;t=e.b.c.length||(bWe(e,2*t+1),n=2*t+2,n0&&(t.Ad(n),n.i&&MYe(n))}function SWe(e,t,n){for(var r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:Yh(gT(e[r],RV),gT(t[r],RV))?-1:1}function CWe(e,t){var n;return!e||e==t||!Xy(t,(X(),p$))?!1:(n=F(q(t,(X(),p$)),9),n!=e)}function gj(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function wWe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function TWe(e,t){for(var n,r=e.Zb().Bc().Jc();r.Ob();)if(n=F(r.Pb(),18),n.Gc(t))return!0;return!1}function EWe(e,t,n){var r,i,a,o;for(pC(n),o=!1,a=e.dd(t),i=n.Jc();i.Ob();)r=i.Pb(),a.Rb(r),o=!0;return o}function DWe(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=QBe(n),r=H(hbt,IB,227,i,0,1),this.b=r}function _j(e,t){var n,r=F(pA(e.a,4),129);return n=H(dBt,yq,415,t,0,1),r!=null&&AR(r,0,n,0,r.length),n}function OWe(e,t){var n=new XL(!!(e.f&256),e.i,e.a,e.d,!!(e.f&16),e.j,e.g,t);return e.e??(n.c=e),n}function kWe(e,t){var n;return e===t?!0:N(t,92)?(n=F(t,92),X2e(nS(e),n.vc())):!1}function AWe(e,t,n){for(var r,i=n.Jc();i.Ob();)if(r=F(i.Pb(),45),e.ze(t,r.kd()))return!0;return!1}function vj(e){return z_(e)?aY:R_(e)?$J:L_(e)?XJ:iTe(e)||xwe(e)?e.Pm:e.Pm||Array.isArray(e)&&A(ybt,1)||ybt}function yj(){yj=C,xX=qke(W(A(x8,1),Z,86,0,[(fM(),_8),v8])),SX=qke(W(A(x8,1),Z,86,0,[b8,g8]))}function bj(){bj=C,WRt=new Av(15),URt=new Nv((Gz(),G6),WRt),M8=n8,zRt=vLt,BRt=z6,HRt=V6,VRt=B6}function xj(){xj=C,P8=new y_(x_t,0),N8=new y_(`INCLUDE_CHILDREN`,1),F8=new y_(`SEPARATE_CHILDREN`,2)}function Sj(){Sj=C,V4=new $g(pU,0),QNt=new $g(`RADIAL_COMPACTION`,1),$Nt=new $g(`WEDGE_COMPACTION`,2)}function Cj(){Cj=C,b2=new Hg(`STACKED`,0),v2=new Hg(`REVERSE_STACKED`,1),y2=new Hg(`SEQUENCED`,2)}function wj(){wj=C,Oxt=new rg(`CONCURRENT`,0),OY=new rg(`IDENTITY_FINISH`,1),kxt=new rg(`UNORDERED`,2)}function Tj(){Tj=C,Nzt=new N_(`ELK`,0),Pzt=new N_(`JSON`,1),Mzt=new N_(`DOT`,2),Fzt=new N_(`SVG`,3)}function Ej(){Ej=C,A4=new Zg(mU,0),O4=new Zg(Fht,1),k4=new Zg(`FAN`,2),D4=new Zg(`CONSTRAINT`,3)}function Dj(){Dj=C,x2=new Ug(`CONSERVATIVE`,0),mjt=new Ug(`CONSERVATIVE_SOFT`,1),S2=new Ug(`SLOPPY`,2)}function Oj(e,t,n){for(var r=new uh,i,a=$N(n,0);a.b!=a.d.c;)i=F(HT(a),8),mx(r,new mv(i));EWe(e,t,r)}function jWe(e){var t=0,n,r=H(s6,xB,8,e.b,0,1);for(n=$N(e,0);n.b!=n.d.c;)r[t++]=F(HT(n),8);return r}function MWe(e,t){var n=F(e.d.Ac(t),18),r;return n?(r=e.e.hc(),r.Fc(n),e.e.d-=n.gc(),n.$b(),r):null}function NWe(e,t){var n,r=e.c[t];if(r!=0)for(e.c[t]=0,e.d-=r,n=t+1;n0)return dS(t-1,e.a.c.length),LE(e.a,t-1);throw O(new Fse)}function FWe(e,t,n){if(t<0)throw O(new jp(Bgt+t));tt)throw O(new Rp(nH+e+Tft+t));if(e<0||t>n)throw O(new kce(nH+e+Eft+t+yft+n))}function LWe(e){if(!e.a||!(e.a.i&8))throw O(new zp(`Enumeration class expected for layout option `+e.f))}function RWe(e){Gke.call(this,`The given string does not match the expected format for individual spacings.`,e)}function zWe(){_p.call(this,new HIe(lA(16))),uk(2,qdt),this.b=2,this.a=new uDe(null,null,0,null),Rd(this.a,this.a)}function BWe(e){Tce(),Kv(this),ZC(this),this.e=e,fet(this,e),this.g=e==null?cB:qM(e),this.a=``,this.b=e,this.a=``}function kj(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),mk(e,t==null?null:(pC(t),t)),e.C&&e.fl(null)}function VWe(e,t){var n=e.a.length-1,r;for(e.c=e.c-1&n;t!=e.c;)r=t+1&n,qS(e.a,t,e.a[r]),t=r;qS(e.a,e.c,null)}function HWe(e,t){for(var n=e.a.length-1,r;t!=e.b;)r=t-1&n,qS(e.a,t,e.a[r]),t=r;qS(e.a,e.b,null),e.b=e.b+1&n}function UWe(e,t,n){var r,i;return Jw(t,e.c.length),r=n.Nc(),i=r.length,i!=0&&(RSe(e.c,t,r),!0)}function WWe(e){var t=(!e.a&&(e.a=new I(R7,e,9,5)),e.a);return t.i==0?null:xde(F(U(t,0),684))}function GWe(e,t){var n=NM(e,t);return Yh(vT(e,t),0)|K_(vT(e,n),0)?n:NM(EB,vT(sS(n,63),1))}function KWe(e,t){var n=tP((_N(),z0))!=null&&t.Rg()!=null?k(P(t.Rg()))/k(P(tP(z0))):1;vC(e.b,t,n)}function Aj(e){var t;++e.j,e.i==0?e.g=null:e.ii&&(r1e(t.q,i),r=n!=t.q.d)),r}function oGe(e,t){for(var n=0;n=e.c.b:e.a<=e.c.b))throw O(new Yd);return t=e.a,e.a+=e.c.c,++e.b,K(t)}function Rj(e,t){var n=F(e.c.Ac(t),18),r;return n?(r=e.hc(),r.Fc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function fGe(e,t){HS(e);try{return e.Ac(t)}catch(e){if(e=LA(e),N(e,211)||N(e,172))return null;throw O(e)}}function zj(e,t){HS(e);try{return e.xc(t)}catch(e){if(e=LA(e),N(e,211)||N(e,172))return null;throw O(e)}}function Bj(e,t){var n;return fv(e)&&fv(t)&&(n=e-t,!isNaN(n))?n:WQe(fv(e)?_A(e):e,fv(t)?_A(t):t)}function Vj(e,t,n){return r.Math.abs(t-e)gG?e-n>gG:n-e>gG}function pGe(e){throw qA(),O(new oce(`Unexpected typeof result '`+e+`'; please report this bug to the GWT team`))}function mGe(){this.a=new Tne,this.f=new zoe(this),this.b=new Boe(this),this.i=new Uu(this),this.e=new Voe(this)}function Hj(){Hj=C,D2=new Kg(`BARYCENTER`,0),k2=new Kg(jpt,1),A2=new Kg(Mpt,2),O2=new Kg(`MEDIAN`,3)}function Uj(){Uj=C,G0=new Ig(`DUMMY_NODE_OVER`,0),UAt=new Ig(`DUMMY_NODE_UNDER`,1),K0=new Ig(`EQUAL`,2)}function Wj(){Wj=C,C8=new h_(x_t,0),S8=new h_(`CONTAINER`,1),wRt=new h_(`PARENT`,2),TRt=new h_(`ROOT`,3)}function hGe(e,t,n){var r=new J6e(e,t);HI(e.r,t.$f(),r),n&&!kS(e.u)&&(r.c=new Uke(e.d),SO(t.Pf(),new Sae(r)))}function Gj(e){var t=new fhe(e.a);return vA(t,e),G(t,(X(),w$),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function Kj(e){var t;return qy(e.a!=e.b),t=e.d.a[e.a],l_e(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function gGe(e){var t;if(e.c!=0)return e.c;for(t=0;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 wGe(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 TGe(e){var t,n,r,i;if(e!=null){for(n=0;n0&&(n=F(jx(e.a,e.a.c.length-1),565),pWe(n,t))||iy(e.a,new YPe(t))}function RGe(e,t){var n;e.c.length!=0&&(n=F(WN(e,H(FX,xU,9,e.c.length,0,1)),199),mme(n,new sn),O6e(n,t))}function zGe(e,t){var n;e.c.length!=0&&(n=F(WN(e,H(FX,xU,9,e.c.length,0,1)),199),mme(n,new cn),O6e(n,t))}function BGe(e,t,n,r,i){t!=0&&r!=0&&(t==1?i[r]=yXe(i,n,r,e[0]):r==1?i[t]=yXe(i,e,t,n[0]):_8e(e,n,i,t,r))}function K(e){var t,n;return e>-129&&e<128?(FCe(),t=e+128,n=Fbt[t],!n&&(n=Fbt[t]=new Sl(e)),n):new Sl(e)}function Yj(e){var t,n;return e>-129&&e<128?(VCe(),t=e+128,n=Vbt[t],!n&&(n=Vbt[t]=new Ol(e)),n):new Ol(e)}function VGe(e){var t=new cm;return t.a+=`VerticalSegment `,Z_(t,e.e),t.a+=` `,Q_(t,oge(new nm,new D(e.k))),t.a}function HGe(e){Xb();var t=e.d.c-e.e.c,n=F(e.g,156);SO(n.b,new Gae(t)),SO(n.c,new Kae(t)),_E(n.i,new Ou(t))}function UGe(e,t){var n;e.c=t,e.a=Nqe(t),e.a<54&&(e.f=(n=t.d>1?yMe(t.a[0],t.a[1]):yMe(t.a[0],0),MT(t.e>0?n:jD(n))))}function Xj(e,t){for(var n=0,r,i=kM(e,t).Jc();i.Ob();)r=F(i.Pb(),12),n+=q(r,(X(),D$))==null?0:1;return n}function Zj(e,t,n){for(var r=0,i,a=$N(e,0);a.b!=a.d.c&&(i=k(P(HT(a))),!(i>n));)i>=t&&++r;return r}function WGe(e,t,n){var r,i=e.sb;return e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new hS(e,1,4,i,t),n?n.lj(r):n=r),n}function GGe(e){var t=F($D(e.c.c,``),233);return t||(t=new $w(xm(bm(new Va,``),`Other`)),qN(e.c.c,``,t)),t}function Qj(e){var t;return e.Db&64?aL(e):(t=new _y(aL(e)),t.a+=` (name: `,Y_(t,e.zb),t.a+=`)`,t.a)}function KGe(e,t,n){var r,i=e.r;return e.r=t,e.Db&4&&!(e.Db&1)&&(r=new hS(e,1,8,i,e.r),n?n.lj(r):n=r),n}function qGe(e,t,n){var r=new WD(e.e,4,13,(i=t.c,i||(Yz(),e9)),null,yP(e,t),!1),i;return n?n.lj(r):n=r,n}function JGe(e,t,n){var r=new WD(e.e,3,13,null,(i=t.c,i||(Yz(),e9)),yP(e,t),!1),i;return n?n.lj(r):n=r,n}function $j(e,t){var n=F(t,681),r=n.cl();return!r&&n.dl(r=N(t,88)?new Epe(e,F(t,29)):new lMe(e,F(t,159))),r}function eM(e,t,n){var r;e.Zi(e.i+1),r=e.Xi(t,n),t!=e.i&&AR(e.g,t,e.g,t+1,e.i-t),qS(e.g,t,r),++e.i,e.Ki(t,n),e.Li()}function YGe(e,t,n,r,i,a,o,s){for(var c=n;a=r||tn)throw O(new jp(nH+e+Eft+t+`, size: `+n));if(e>t)throw O(new Rp(nH+e+Tft+t))}function aM(e,t){var n=!!(e.Bb&256);t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,2,n,t))}function oM(e,t){var n=!!(e.Bb&512);t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,3,n,t))}function nKe(e,t){var n=!!(e.Bb&256);t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,8,n,t))}function rKe(e,t){var n=!!(e.Bb&512);t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,9,n,t))}function iKe(e){var t;return e.Db&64?aL(e):(t=new _y(aL(e)),t.a+=` (source: `,Y_(t,e.d),t.a+=`)`,t.a)}function sM(e,t){var n=!!(e.Bb&256);t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,8,n,t))}function aKe(e,t,n){var r,i=e.a;return e.a=t,e.Db&4&&!(e.Db&1)&&(r=new hS(e,1,5,i,e.a),n?C1e(n,r):n=r),n}function cM(e,t){var n;return e.b==-1&&e.a&&(n=e.a.nk(),e.b=n?e.c.Eh(e.a.Jj(),n):sN(e.c.Ah(),e.a)),e.c.vh(e.b,t)}function oKe(e,t){for(var n,r=new dy(e);r.e!=r.i.gc();)if(n=F(nP(r),29),M(t)===M(n))return!0;return!1}function sKe(e){Jz();for(var t,n=JN(),r=0,i=n.length;r=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function lKe(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 uKe(e){var t=e.k,n;return t==(uL(),LX)&&(n=F(q(e,(X(),o$)),64),n==(Az(),m5)||n==j5)}function dKe(e){var t=RMe(e);return G_(t.a,0)?(dh(),dh(),bY):(dh(),new Jy(Jh(t.a,0)?kFe(t)/MT(t.a):0))}function fKe(e,t){var n=DL(e,t);if(N(n,335))return F(n,38);throw O(new Rp(wK+t+`' is not a valid attribute`))}function lM(e,t,n){var r=e.gc();if(t>r)throw O(new Ab(t,r));if(e.Qi()&&e.Gc(n))throw O(new Rp(nq));e.Ei(t,n)}function pKe(e,t){for(var n,r=new dy(e);r.e!=r.i.gc();)if(n=F(nP(r),143),M(t)===M(n))return!0;return!1}function mKe(e,t,n){var r,i,a=(i=sL(e.b,t),i);return a&&(r=F(az(LD(e,a),``),29),r)?k5e(e,r,t,n):null}function uM(e,t,n){var r,i,a=(i=sL(e.b,t),i);return a&&(r=F(az(LD(e,a),``),29),r)?A5e(e,r,t,n):null}function hKe(e){var t,n,r=0;for(n=e.length,t=0;tt?1:e==t?e==0?dM(1/e,1/t):0:isNaN(e)?+!isNaN(t):-1}function yKe(e,t){t.Tg(`Sort end labels`,1),vh(MC(tO(new Px(null,new cT(e.b,16)),new Kt),new qt),new Jt),t.Ug()}function fM(){fM=C,y8=new m_(gH,0),v8=new m_(mH,1),_8=new m_(pH,2),g8=new m_(bH,3),b8=new m_(`UP`,4)}function pM(){pM=C,_zt=new k_(`PARALLEL_NODE`,0),Y5=new k_(`HIERARCHICAL_NODE`,1),X5=new k_(`ROOT_NODE`,2)}function mM(){mM=C,k3=new c_(`P1_STRUCTURE`,0),A3=new c_(`P2_PROCESSING_ORDER`,1),j3=new c_(`P3_EXECUTION`,2)}function hM(){hM=C,VFt=new o_(`EQUAL_BETWEEN_STRUCTURES`,0),HFt=new o_(`TO_ASPECT_RATIO`,1),C3=new o_(pU,2)}function gM(){gM=C,A8=new __(gH,0),O8=new __(`POLYLINE`,1),D8=new __(`ORTHOGONAL`,2),k8=new __(`SPLINES`,3)}function bKe(){bKe=C,UNt=PN(PN(Lh(PN(PN(Lh(wx(new dC,(rF(),q2),(dR(),Z2)),J2),BMt),HMt),Y2),IMt),UMt)}function xKe(e){switch(F(q(e,(X(),f$)),316).g){case 1:G(e,f$,(rO(),WQ));break;case 2:G(e,f$,(rO(),KQ))}}function SKe(e){switch(e){case 0:return new Hse;case 1:return new Bf;case 2:return new Vf;default:throw O(new Gd)}}function CKe(e){switch(e.g){case 2:return v8;case 1:return _8;case 4:return g8;case 3:return b8;default:return y8}}function wKe(e){switch(e.g){case 1:return N5;case 2:return m5;case 3:return p5;case 4:return j5;default:return M5}}function _M(e){switch(e.g){case 1:return j5;case 2:return N5;case 3:return m5;case 4:return p5;default:return M5}}function vM(e){switch(e.g){case 1:return p5;case 2:return j5;case 3:return N5;case 4:return m5;default:return M5}}function yM(e,t,n){var r,i;return e.Nj()?(i=e.Oj(),r=VI(e,t,n),e.Hj(e.Gj(7,K(n),r,t,i)),r):VI(e,t,n)}function bM(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.jd(),n=t.yi(),r=(n&nB)%e.d.length,YFe(e,r,V5e(e,r,n,i)))}function xM(e,t){var n=(e.Bb&Cq)!=0;t?e.Bb|=Cq:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,15,n,t))}function SM(e,t){var n=(e.Bb&bq)!=0;t?e.Bb|=bq:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,10,n,t))}function CM(e,t){var n=(e.Bb&MV)!=0;t?e.Bb|=MV:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,12,n,t))}function wM(e,t){var n=(e.Bb&kK)!=0;t?e.Bb|=kK:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,11,n,t))}function TKe(e,t){var n=dM(e.b.c,t.b.c);return n!=0||(n=dM(e.a.a,t.a.a),n!=0)?n:dM(e.a.b,t.a.b)}function EKe(e){var t,n=nC(new cm,91);for(t=!0;e.Ob();)t||(n.a+=oB),t=!1,Z_(n,e.Pb());return(n.a+=`]`,n).a}function DKe(e){for(var t=new Sd,n,r=new D(e.b);r.a=1?v8:g8):n}function MKe(e){switch(F(q(e,(Hz(),k1)),222).g){case 1:return new hte;case 3:return new Wr;default:return new mte}}function DM(e){if(e.c)DM(e.c);else if(e.d)throw O(new zp(`Stream already terminated, can't be modified or used`))}function NKe(e){var t;if(!e.a)throw O(new zp(`Cannot offset an unassigned cut.`));t=e.c-e.b,e.b+=t,xOe(e,t),SOe(e,t)}function PKe(e,t,n){var r,i;if(e.c)I0e(e.c,t,n);else for(i=new D(e.b);i.a=0?gN(e):PS(gN(jD(e))))}function LKe(e,t,n,r,i,a){this.e=new Sd,this.f=(rk(),g2),iy(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=a}function RKe(e,t,n,r,i){ghe(this),this.b=e,this.d=H(FX,xU,9,t.a.c.length,0,1),this.f=n,WN(t.a,this.d),this.g=r,this.c=i}function zKe(e,t,n){var r=n;!r&&(r=lCe(new ip,0)),r.Tg(gpt,2),mXe(e.b,t,r.dh(1)),lst(e,t,r.dh(1)),iut(t,r.dh(1)),r.Ug()}function BKe(e,t,n){var r=0;return t&&(xv(e.a)?r+=t.f.a/2:r+=t.f.b/2),n&&(xv(e.a)?r+=n.f.a/2:r+=n.f.b/2),r}function VKe(e,t,n){var r=(Nm(),i=new co,i),i;return FO(r,t),IO(r,n),e&&cD((!e.a&&(e.a=new sy(e7,e,5)),e.a),r),r}function jM(e){var t;return e.Db&64?aL(e):(t=new _y(aL(e)),t.a+=` (identifier: `,Y_(t,e.k),t.a+=`)`,t.a)}function MM(e){var t;switch(e.gc()){case 0:return Ox(),zJ;case 1:return new gb(HS(e.Xb(0)));default:return t=e,new hT(t)}}function NM(e,t){var n;return fv(e)&&fv(t)&&(n=e+t,DV>10)+FV&ZB,t[1]=(e&1023)+56320&ZB,kN(t,0,t.length)}function IM(e){for(var t=new Sd,n,r=new D(e.j);r.a34028234663852886e22?AV:t<-34028234663852886e22?jV:t}function zM(e,t){var n=(e.Bb&SB)!=0;t?e.Bb|=SB:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,16,n,t))}function BM(e,t){var n=(e.Bb&DK)!=0;t?e.Bb|=DK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,18,n,t))}function GKe(e,t){var n=(e.Bb&DK)!=0;t?e.Bb|=DK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,18,n,t))}function KKe(e,t){var n=(e.Bb&PV)!=0;t?e.Bb|=PV:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&aA(e,new EE(e,1,20,n,t))}function qKe(e,t){e.n.c.length==0&&iy(e.n,new jw(e.s,e.t,e.i)),iy(e.b,t),XXe(F(jx(e.n,e.n.c.length-1),208),t),Xit(e,t)}function JKe(e,t,n){var r;n.Tg(`Straight Line Edge Routing`,1),n.bh(t,qht),r=F(Y(t,(pb(),M4)),26),Yat(e,r),n.bh(t,OG)}function YKe(e){for(var t,n=W8e(AO(Vw(e))).Jc();n.Ob();)if(t=ib(n.Pb()),CR(e,t))return uPe((mde(),jBt),t);return null}function XKe(e){var t=new kve(e.Pd().gc()),n,r,i=0;for(r=vD(e.Pd().Jc());r.Ob();)n=r.Pb(),uOe(t,n,K(i++));return U2e(t.a)}function VM(e){var t,n=(t=F(Fm((r=e.Pm,i=r.f,i==LJ?r:i)),10),new Bb(t,F(bb(t,t.length),10),0)),r,i;return bk(n,e),n}function ZKe(e){for(var t,n=0,r=e.length;nt){_Me(n);break}}FS(n,t)}function GM(e,t){var n=t.f,r,i,a,o;if(qN(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,o=i.length;at&&r.Le(e[a-1],e[a])>0;--a)o=e[a],qS(e,a,e[a-1]),qS(e,a-1,o)}function KM(e,t,n,r){if(t<0)w7e(e,n,r);else{if(!n.pk())throw O(new Rp(wK+n.ve()+TK));F(n,69).uk().Ak(e,e.ei(),t,r)}}function nqe(e,t){var n=DL(e.Ah(),t);if(N(n,103))return F(n,19);throw O(new Rp(wK+t+`' is not a valid reference`))}function qM(e){var t;return Array.isArray(e)&&e.Rm===ne?Bm(vj(e))+`@`+(t=jk(e)>>>0,t.toString(16)):e.toString()}function rqe(e,t){return e.h==CV&&e.m==0&&e.l==0?(t&&(qJ=Wv(0,0,0)),cme((aO(),kbt))):(t&&(qJ=Wv(e.l,e.m,e.h)),Wv(0,0,0))}function iqe(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 aqe(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 oqe(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 eKe(e,t,n,r)}function sqe(e,t,n){switch(t.g){case 1:e.b-=n.b/2;break;case 3:e.b+=n.b/2;break;case 4:e.a-=n.a/2;break;case 2:e.a+=n.a/2}}function cqe(e,t){return jb(t.b&&t.c?CT(t.b)+`->`+CT(t.c):`e_`+jk(t),e.b&&e.c?CT(e.b)+`->`+CT(e.c):`e_`+jk(e))}function lqe(e,t){return jb(t.b&&t.c?CT(t.b)+`->`+CT(t.c):`e_`+jk(t),e.b&&e.c?CT(e.b)+`->`+CT(e.c):`e_`+jk(e))}function JM(e,t){return Fv(),$O(UB),r.Math.abs(e-t)<=UB||e==t||isNaN(e)&&isNaN(t)?0:et?1:yb(isNaN(e),isNaN(t))}function YM(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw O(new Rp(`Node `+t+` not part of edge `+e))}function uqe(e){return e.e==null?e:(!e.c&&(e.c=new XL(!!(e.f&256),e.i,e.a,e.d,!!(e.f&16),e.j,e.g,null)),e.c)}function dqe(e){return e.k==(uL(),VX)&&SE(new Px(null,new US(new iS(my(RM(e).a.Jc(),new f)))),new ete)}function XM(e){var t;if(e.b){if(XM(e.b),e.b.d!=e.c)throw O(new Wd)}else e.d.dc()&&(t=F(e.f.c.xc(e.e),18),t&&(e.d=t))}function fqe(e){mb();for(var t=e.o.b,n,r=F(F(ME(e.r,(Az(),j5)),22),83).Jc(),i;r.Ob();)n=F(r.Pb(),115),i=n.e,i.b+=t}function pqe(e,t){fb();var n,r=gLe(e),i=t,a;for(SD(r,0,r.length,i),n=0;n=i)return t.c+n;return t.c+t.b.gc()}function ZM(e,t,n){for(var r=0,i=e.length;r0&&(uT(t-1,e.length),e.charCodeAt(t-1)==58)&&!ZM(e,O7,k7))}function QM(e){var t;this.a=(t=F(e.e&&e.e(),10),new Bb(t,F(bb(t,t.length),10),0)),this.b=H(OJ,sB,1,this.a.a.length,5,1)}function gqe(e){_N(),this.c=NE(W(A(GIt,1),sB,830,0,[FAt])),this.b=new Cd,this.a=e,vC(this.b,z0,1),SO(IAt,new qoe(this))}function $M(){$M=C,X$=new Ng(pU,0),K$=new Ng(`FIRST`,1),q$=new Ng(Npt,2),J$=new Ng(`LAST`,3),Y$=new Ng(Ppt,4)}function eN(){eN=C,tQ=new xg(`LAYER_SWEEP`,0),bTt=new xg(`MEDIAN_LAYER_SWEEP`,1),eQ=new xg(RU,2),xTt=new xg(pU,3)}function tN(){tN=C,Ozt=new j_(Sht,0),Tzt=new j_(`GROUP_DEC`,1),Dzt=new j_(`GROUP_MIXED`,2),Ezt=new j_(`GROUP_INC`,3)}function _qe(e){var t,n,r,i,a=u0e(e);return n=ih(e.c),r=!n,r&&(i=new el,dO(a,`knownLayouters`,i),t=new nd(i),_E(e.c,t)),a}function vqe(e,t,n,r,i){for(var a,o=i,s;t.b!=t.c;)a=F(NS(t),9),s=F(kM(a,r).Xb(0),12),e.d[s.p]=o++,Fd(n.c,s);return o}function yqe(e,t){var n,r=0,i,a,o,s;for(n=0,a=t,o=0,s=a.length;o0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function bqe(e){var t,n,r=new om;for(r.a+=`[`,t=0,n=e.gc();t>5,t=e&31,r=H(q9,dV,30,n+1,15,1),r[n]=1<=0;--r)for(t=n[r],i=0;i0&&(t.lengthe.i&&qS(t,e.i,null),t}function lN(e){var t;return e.Db&64?Qj(e):(t=new _y(Qj(e)),t.a+=` (instanceClassName: `,Y_(t,e.D),t.a+=`)`,t.a)}function uN(e){var t,n,r,i=0;for(n=0,r=e.length;n0&&(e.Zj(),r=t==null?0:jk(t),i=(r&nB)%e.d.length,n=V5e(e,i,r,t),n!=-1)}function fN(e,t){var n,r,i,a=PL(e.e.Ah(),t);for(n=F(e.g,122),i=0;i3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function Zqe(e,t,n){for(var r=gT(n,RV),i=0;Bj(r,0)!=0&&i0&&(e.Zj(),r=t==null?0:jk(t),i=(r&nB)%e.d.length,n=j6e(e,i,r,t),n)?n.kd():null}function iJe(e,t){var n,r,i;return N(t,45)?(n=F(t,45),r=n.jd(),i=zj(e.Pc(),r),sC(i,n.kd())&&(i!=null||e.Pc()._b(r))):!1}function gN(e){oR();var t,n=Gx(e);return t=Gx(sS(e,32)),t==0?n>10||n<0?new QT(1,n):Qbt[n]:new Mje(n,t)}function aJe(e){return gP(),(e.q?e.q:(qC(),qC(),gY))._b((Hz(),Z1))?F(q(e,Z1),203):F(q(fC(e),Q1),203)}function _N(){_N=C,kh(),z0=(Hz(),k0),IAt=NE(W(A(K3,1),bht,147,0,[v0,y0,x0,S0,T0,E0,D0,O0,j0,N0,b0,C0,A0]))}function oJe(e,t,n){Dze(),Lf.call(this),this.a=Ix(Vxt,[xB,Gft],[593,216],0,[RY,LY],2),this.c=new gv,this.g=e,this.f=t,this.d=n}function sJe(e){this.e=H(q9,dV,30,e.length,15,1),this.c=H(J9,uH,30,e.length,16,1),this.b=H(J9,uH,30,e.length,16,1),this.f=0}function cJe(e){var t,n;for(e.j=H(Z9,IV,30,e.p.c.length,15,1),n=new D(e.p);n.a>5,r,i,a;return t&=31,i=e.d+n+(t==0?0:1),r=H(q9,dV,30,i,15,1),m0e(r,e.a,n,t),a=new wS(e.e,i,r),TT(a),a}function hJe(e,t){var n,r,i,a=t.b.b;for(e.a=new uh,e.b=H(q9,dV,30,a,15,1),n=0,i=$N(t.b,0);i.b!=i.d.c;)r=F(HT(i),40),r.g=n++}function gJe(e,t,n){var r,i,a=t-e.e,o=n-e.f;for(i=new D(e.a);i.a=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function EN(e,t,n){for(var r,i=null,a=e.b;a;){if(r=e.a.Le(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function yJe(e,t,n){var r,i=F(JS(e.b,n),171),a,o;for(r=0,o=new D(t.j);o.a0?(r.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):`stack`in Error()}function DN(e){var t;e.c!=0&&(t=F(jx(e.a,e.b),295),t.b==1?(++e.b,e.bt?1:yb(isNaN(e),isNaN(t)))>0}function kJe(e,t){return Fv(),Fv(),$O(UB),(r.Math.abs(e-t)<=UB||e==t||isNaN(e)&&isNaN(t)?0:et?1:yb(isNaN(e),isNaN(t)))<0}function AJe(e,t){return Fv(),Fv(),$O(UB),(r.Math.abs(e-t)<=UB||e==t||isNaN(e)&&isNaN(t)?0:et?1:yb(isNaN(e),isNaN(t)))<=0}function jJe(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function AN(){AN=C,l2=new Bg(pU,0),tjt=new Bg(`NODES_AND_EDGES`,1),u2=new Bg(`PREFER_EDGES`,2),d2=new Bg(`PREFER_NODES`,3)}function MJe(e,t,n,r,i,a){this.a=e,this.c=t,this.b=n,this.f=r,this.d=i,this.e=a,this.c>0&&this.b>0&&(this.g=Lx(this.c,this.b,this.a))}function NJe(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var i=(qA(),KJ)[typeof r];return i?i(r):pGe(typeof r)}function jN(e){var t,n,r=null;if(t=YK in e.a,n=!t,n)throw O(new Zp(`Every element must have an id.`));return r=PI(Nw(e,YK)),r}function MN(e){var t,n=p4e(e);for(t=null;e.c==2;)Vz(e),t||(t=(qz(),qz(),++W9,new Rv(2)),dz(t,n),n=t),n.Hm(p4e(e));return n}function NN(e,t){var n,r,i;return e.Zj(),r=t==null?0:jk(t),i=(r&nB)%e.d.length,n=j6e(e,i,r,t),n?(uBe(e,n),n.kd()):null}function PJe(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 IJe(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw O(new Rp(`Input edge is not connected to the input port.`))}function PN(e,t){if(e.a<0)throw O(new zp(`Did not call before(...) or after(...) before calling add(...).`));return Qge(e,e.a,t),e}function LJe(e,t){var n,r,i;if(e.c)PO(e.c,t);else for(n=t-Ux(e),i=new D(e.a);i.a=a?(VWe(e,t),-1):(HWe(e,t),1)}function HJe(e,t){for(var n=(uT(t,e.length),e.charCodeAt(t)),r=t+1;rt.e?1:e.ft.f?1:jk(e)-jk(t)}function qJe(e,t){var n;return M(t)===M(e)?!0:!N(t,22)||(n=F(t,22),n.gc()!=e.gc())?!1:e.Hc(n)}function LN(e,t){return pC(e),t==null?!1:jb(e,t)?!0:e.length==t.length&&jb(e.toLowerCase(),t.toLowerCase())}function RN(e){var t,n;return Bj(e,-129)>0&&Bj(e,128)<0?(BCe(),t=Gx(e)+128,n=Lbt[t],!n&&(n=Lbt[t]=new bl(e)),n):new bl(e)}function JJe(e){for(var t,n=new D(e.a.b);n.aLV)return n.Nh();if(r=n.Gh(),r||n==e)break}return r}function XJe(e,t,n){var r=F(U(BD(e.a),t),87),i,a=(i=r.c,i||(Yz(),e9));return(a.Sh()?qj(e.b,F(a,52)):a)==n?ER(r):kO(r,n),a}function ZJe(e,t,n){for(var r,i,a=new D(n.a);a.a2e3&&(bbt=e,UJ=r.setTimeout(Vue,10))),HJ++==0&&(ORe((Ece(),xbt)),!0)}function pYe(e,t,n){var r;(wxt?(Mqe(e),1):Txt||Dxt?(hh(),1):Ext&&(hh(),0))&&(r=new Zye(t),r.b=n,v2e(e,r))}function UN(e,t){var n=!e.A.Gc((CN(),z5))||e.q==(PF(),t5);e.u.Gc((NI(),c5))?n?Jlt(e,t):Clt(e,t):e.u.Gc(u5)&&(n?elt(e,t):gut(e,t))}function mYe(e){var t;M(Y(e,(Gz(),j6)))===M((xj(),P8))&&(Bw(e)?(t=F(Y(Bw(e),j6),347),uP(e,j6,t)):uP(e,j6,F8))}function hYe(e,t,n){var r,i;YF(e.e,t,n,(Az(),N5)),YF(e.i,t,n,p5),e.a&&(i=F(q(t,(X(),w$)),12),r=F(q(n,w$),12),ST(e.g,i,r))}function gYe(e,t,n){return new RC(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 _Ye(e){var t;this.d=new Sd,this.j=new Am,this.g=new Am,t=e.g.b,this.f=F(q(fC(t),(Hz(),w1)),86),this.e=k(P(aP(t,T0)))}function vYe(e){this.d=new Sd,this.e=new lE,this.c=H(q9,dV,30,(Az(),W(A(P5,1),hU,64,0,[M5,m5,p5,j5,N5])).length,15,1),this.b=e}function yYe(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 bYe(e,t){var n=jO(e.o,t);if(n==null)throw O(new Zp(`Node did not exist in input.`));return d9e(e,t),lR(e,t),D5e(e,t,n),null}function xYe(e,t){var n,r=e.a.length;for(t.lengthr&&qS(t,r,null),t}function WN(e,t){var n,r=e.c.length;for(t.lengthr&&qS(t,r,null),t}function GN(e,t,n,r){var i=e.length;if(t>=i)return i;for(t=t>0?t:0;t0&&(iy(e.b,new kSe(t.a,n)),r=t.a.length,0r&&(t.a+=Nhe(H(K9,YB,30,-r,15,1))))}function EYe(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new D(jj(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.Th(i):RI(e,r)):n<0?RI(e,r):F(r,69).uk().zk(e,e.ei(),n)}function RYe(e){var t,n,r=(!e.o&&(e.o=new fD((Lz(),d7),g7,e,0)),e.o);for(n=r.c.Jc();n.e!=n.i.gc();)t=F(n.Wj(),45),t.kd();return $E(r)}function tP(e){var t;if(N(e.a,4)){if(t=zJe(e.a),t==null)throw O(new zp(Ugt+e.b+`'. `+Vgt+(nb(w7),w7.k)+Hgt));return t}return e.a}function zYe(e){var t;if(e==null)return null;if(t=sut(ez(e,!0)),t==null)throw O(new $p(`Invalid base64Binary value: '`+e+`'`));return t}function nP(e){var t;try{return t=e.i.Xb(e.e),e.Vj(),e.g=e.e++,t}catch(t){throw t=LA(t),N(t,99)?(e.Vj(),O(new Yd)):O(t)}}function rP(e){var t;try{return t=e.c.Ti(e.e),e.Vj(),e.g=e.e++,t}catch(t){throw t=LA(t),N(t,99)?(e.Vj(),O(new Yd)):O(t)}}function iP(e){var t,n,r,i=0;for(n=0,r=e.length;n=64&&t<128&&(i=_T(i,aS(1,t-64)));return i}function aP(e,t){var n,r=null;return Xy(e,(Gz(),s8))&&(n=F(q(e,s8),105),n.nf(t)&&(r=n.mf(t))),r==null&&fC(e)&&(r=q(fC(e),t)),r}function BYe(e,t){var n=F(q(e,(Hz(),R1)),79);return Xv(t,HCt)?n?XC(n):(n=new Wf,G(e,R1,n)):n&&G(e,R1,null),n}function VYe(e,t){var n,r,i=new oD(t.gc());for(r=t.Jc();r.Ob();)n=F(r.Pb(),294),n.c==n.f?pI(e,n,n.c):l4e(e,n)||Fd(i.c,n);return i}function HYe(e,t){for(var n=e.o,r,i=F(F(ME(e.r,t),22),83).Jc();i.Ob();)r=F(i.Pb(),115),r.e.a=IZe(r,n.a),r.e.b=n.b*k(P(r.b.mf(KY)))}function UYe(e,t){var n,r,i=e.k,a;return n=k(P(q(e,(X(),O$)))),a=t.k,r=k(P(q(t,O$))),a==(uL(),LX)?i==LX?n==r?0:nn.b)}function QYe(e){var t=new cm;return t.a+=`n`,e.k!=(uL(),VX)&&Q_(Q_((t.a+=`(`,t),Gy(e.k).toLowerCase()),`)`),Q_((t.a+=`_`,t),XP(e)),t.a}function cP(){cP=C,qAt=new Rg(Sht,0),$0=new Rg(RU,1),e2=new Rg(`LINEAR_SEGMENTS`,2),Q0=new Rg(`BRANDES_KOEPF`,3),t2=new Rg(xht,4)}function lP(e,t,n,r){var i;return n>=0?e.Ph(t,n,r):(e.Mh()&&(r=(i=e.Ch(),i>=0?e.xh(r):e.Mh().Qh(e,-1-i,null,r))),e.zh(t,n,r))}function $Ye(e,t){switch(t){case 7:!e.e&&(e.e=new kb(i7,e,7,4)),fz(e.e);return;case 8:!e.d&&(e.d=new kb(i7,e,8,5)),fz(e.d);return}Kqe(e,t)}function uP(e,t,n){return n==null?(!e.o&&(e.o=new fD((Lz(),d7),g7,e,0)),NN(e.o,t)):(!e.o&&(e.o=new fD((Lz(),d7),g7,e,0)),_F(e.o,t,n)),e}function dP(e,t){var n=e.dd(t);try{return n.Pb()}catch(e){throw e=LA(e),N(e,112)?O(new jp(`Can't get element `+t)):O(e)}}function eXe(e,t){var n=F(bC(e.b,t),127).n;switch(t.g){case 1:e.t>=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 tXe(e){var t=e.a;do t=F(OE(new iS(my(IM(t).a.Jc(),new f))),17).c.i,t.k==(uL(),zX)&&e.b.Ec(t);while(t.k==(uL(),zX));e.b=aN(e.b)}function nXe(e,t){var n,i,a=e;for(i=new iS(my(IM(t).a.Jc(),new f));eL(i);)n=F(OE(i),17),n.c.i.c&&(a=r.Math.max(a,n.c.i.c.p));return a}function rXe(e,t){var n,r,i=0;for(r=F(F(ME(e.r,t),22),83).Jc();r.Ob();)n=F(r.Pb(),115),i+=n.d.d+n.b.Kf().b+n.d.a,r.Ob()&&(i+=e.w);return i}function iXe(e,t){var n,r,i=0;for(r=F(F(ME(e.r,t),22),83).Jc();r.Ob();)n=F(r.Pb(),115),i+=n.d.b+n.b.Kf().a+n.d.c,r.Ob()&&(i+=e.w);return i}function aXe(e){var t,n,r=0,i=BL(e);if(i.c.length==0)return 1;for(n=new D(i);n.a=0?e.Ih(o,n,!0):WI(e,a,n)):F(a,69).uk().wk(e,e.ei(),i,n,r)}function lXe(e,t,n,r){var i=sKe(t.nf((Gz(),R6))?F(t.mf(R6),22):e.j);i!=(Jz(),GY)&&(!n||jJe(i))&&Z2e(U5e(e,i,r),t)}function mP(e,t){return z_(e)?!!sbt[t]:e.Qm?!!e.Qm[t]:R_(e)?!!obt[t]:L_(e)?!!abt[t]:!1}function uXe(e){switch(e.g){case 1:return EA(),XY;case 3:return EA(),qY;case 2:return EA(),YY;case 4:return EA(),JY;default:return null}}function dXe(e,t,n){if(e.e)switch(e.b){case 1:_Oe(e.c,t,n);break;case 0:vOe(e.c,t,n)}else YNe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function fXe(e){var t,n;if(e==null)return null;for(n=H(FX,xB,199,e.length,0,2),t=0;ta)):0}function gP(){gP=C,Y0=new Lg(pU,0),X0=new Lg(`PORT_POSITION`,1),J0=new Lg(`NODE_SIZE_WHERE_SPACE_PERMITS`,2),q0=new Lg(`NODE_SIZE`,3)}function _Xe(e,t){var n,r,i;for(t.Tg(`Untreeify`,1),n=F(q(e,(kz(),$Mt)),16),i=n.Jc();i.Ob();)r=F(i.Pb(),65),mx(r.b.d,r),mx(r.c.b,r);t.Ug()}function _P(){_P=C,c6=new f_(`AUTOMATIC`,0),d6=new f_(pH,1),f6=new f_(mH,2),p6=new f_(`TOP`,3),l6=new f_(qft,4),u6=new f_(fH,5)}function vP(e,t,n){var r,i=e.gc();if(t>=i)throw O(new Ab(t,i));if(e.Qi()&&(r=e.bd(n),r>=0&&r!=t))throw O(new Rp(nq));return e.Vi(t,n)}function yP(e,t){var n,r,i=cQe(e,t);if(i>=0)return i;if(e.ml()){for(r=0;r0||e==(fp(),PJ)||t==(up(),FJ))throw O(new Rp(`Invalid range: `+BNe(e,t)))}function yXe(e,t,n,r){WL();for(var i=0,a=0;a0),(t&-t)==t)return Ew(t*mL(e,31)*4656612873077393e-25);do n=mL(e,31),r=n%t;while(n-r+(t-1)<0);return Ew(r)}function xXe(e,t){for(var n=Cy(new hf,e),r,i=new D(t);i.a1&&(a=xXe(e,t)),a}function OXe(e){for(var t=0,n,r=new D(e.c.a);r.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function FP(e,t){if(e==null)throw O(new Vp(`null key in entry: null=`+t));if(t==null)throw O(new Vp(`null value in entry: `+e+`=null`))}function IXe(e,t){var n=W(A(Z9,1),IV,30,15,[Pj(e.a[0],t),Pj(e.a[1],t),Pj(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function LXe(e,t){var n=W(A(Z9,1),IV,30,15,[Fj(e.a[0],t),Fj(e.a[1],t),Fj(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function RXe(e,t,n){Fb(F(q(t,(Hz(),l0)),102))||(qPe(e,t,lI(t,n)),qPe(e,t,lI(t,(Az(),j5))),qPe(e,t,lI(t,m5)),qC(),Vv(t.j,new Fu(e)))}function zXe(e){var t,n;for(e.c||yst(e),n=new Wf,t=new D(e.a),B(t);t.a0&&(uT(0,t.length),t.charCodeAt(0)==43)?(uT(1,t.length+1),t.substr(1)):t))}function nZe(e){var t;return e==null?null:new kv((t=ez(e,!0),t.length>0&&(uT(0,t.length),t.charCodeAt(0)==43)?(uT(1,t.length+1),t.substr(1)):t))}function rZe(e,t,n,r,i,a,o,s){var c,l;r&&(c=r.a[0],c&&rZe(e,t,n,c,i,a,o,s),eF(e,n,r.d,i,a,o,s)&&t.Ec(r),l=r.a[1],l&&rZe(e,t,n,l,i,a,o,s))}function LP(e,t){var n,r,i,a=e.gc();for(t.lengtha&&qS(t,a,null),t}function iZe(e,t){var n,r=e.gc();if(t==null){for(n=0;n0&&(c+=i),l[u]=o,o+=s*(c+r)}function pZe(e){for(var t=0;t0?e.c:0),++a;e.b=i,e.d=o}function xZe(e,t){var n=W(A(Z9,1),IV,30,15,[bXe(e,(TO(),NY),t),bXe(e,PY,t),bXe(e,FY,t)]);return e.f&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function SZe(e){var t;Xy(e,(Hz(),J1))&&(t=F(q(e,J1),22),t.Gc((tL(),V8))?(t.Kc(V8),t.Ec(U8)):t.Gc(U8)&&(t.Kc(U8),t.Ec(V8)))}function CZe(e){var t;Xy(e,(Hz(),J1))&&(t=F(q(e,J1),22),t.Gc((tL(),J8))?(t.Kc(J8),t.Ec(K8)):t.Gc(K8)&&(t.Kc(K8),t.Ec(J8)))}function GP(e,t,n,r){var i,a,o,s;return e.a??D2e(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 wZe(e){for(var t=0;t0&&(a.b+=t),a}function JP(e,t){var n,i,a=new Am;for(i=e.Jc();i.Ob();)n=F(i.Pb(),36),rR(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 jZe(e,t){var n,r;if(t.length==0)return 0;for(n=ZS(e.a,t[0],(Az(),N5)),n+=ZS(e.a,t[t.length-1],p5),r=0;r>16==6?e.Cb.Qh(e,5,c7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function NZe(e){_w();var t=e.e;if(t&&t.stack){var n=t.stack,r=t+` + `}};_p([Tt()],Vp.prototype,`data`,void 0),_p([Tt()],Vp.prototype,`activeItemIndex`,void 0),_p([Tt()],Vp.prototype,`error`,void 0),_p([Tt()],Vp.prototype,`activeMainTab`,void 0),_p([Tt()],Vp.prototype,`selectedDiffChanges`,void 0),_p([Tt()],Vp.prototype,`selectedNodeId`,void 0),_p([Tt()],Vp.prototype,`selectedNodeChanges`,void 0),_p([Ot(`.navigator-panel pb33f-model-tree`)],Vp.prototype,`modelTree`,void 0),_p([Ot(`pb33f-chart`)],Vp.prototype,`beefyChart`,void 0),_p([Ot(`.tab-content > sl-tab-group`)],Vp.prototype,`mainTabGroup`,void 0);var Hp=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,a=r===void 0?{}:r,o=n.algorithms,s=o===void 0?[`layered`,`stress`,`mrtree`,`radial`,`force`,`disco`,`sporeOverlap`,`sporeCompaction`,`rectpacking`]:o,c=n.workerFactory,u=n.workerUrl;if(i(this,e),this.defaultLayoutOptions=a,this.initialized=!1,u===void 0&&c===void 0)throw Error(`Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.`);var d=c;u!==void 0&&c===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 l(f),this.worker.postMessage({cmd:`register`,algorithms:s}).then(function(e){return t.initialized=!0}).catch(console.err)}return o(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&&i,o=t.measureExecutionTime,s=o!==void 0&&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()}}])}();var l=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 o(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)}}}])}()},{}],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 tee(){}function rt(){}function it(){}function T(){}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 nee(){}function ree(){}function iee(){}function xt(){}function St(){}function aee(){}function Ct(){}function oee(){}function see(){}function wt(){}function Tt(){}function Et(){}function Dt(){}function Ot(){}function cee(){}function kt(){}function At(){}function jt(){}function Mt(){}function Nt(){}function Pt(){}function lee(){}function Ft(){}function uee(){}function dee(){}function It(){}function Lt(){}function Rt(){}function fee(){}function zt(){}function pee(){}function Bt(){}function Vt(){}function Ht(){}function mee(){}function Ut(){}function Wt(){}function Gt(){}function Kt(){}function hee(){}function qt(){}function Jt(){}function Yt(){}function Xt(){}function Zt(){}function Qt(){}function $t(){}function en(){}function tn(){}function gee(){}function _ee(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function ln(){}function un(){}function dn(){}function vee(){}function fn(){}function yee(){}function pn(){}function mn(){}function hn(){}function gn(){}function _n(){}function vn(){}function yn(){}function bn(){}function xn(){}function Sn(){}function Cn(){}function bee(){}function wn(){}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 xee(){}function Ln(){}function Rn(){}function See(){}function zn(){}function Bn(){}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 rr(){}function Oee(){}function kee(){}function Aee(){}function ir(){}function jee(){}function ar(){}function or(){}function sr(){}function Mee(){}function Nee(){}function Pee(){}function Fee(){}function Iee(){}function Lee(){}function Ree(){}function zee(){}function Bee(){}function Vee(){}function cr(){}function lr(){}function ur(){}function dr(){}function fr(){}function pr(){}function mr(){}function hr(){}function gr(){}function Hee(){}function _r(){}function Uee(){}function Wee(){}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 $ee(){}function ete(){}function tte(){}function nte(){}function rte(){}function ite(){}function Lr(){}function ate(){}function ote(){}function ste(){}function cte(){}function Rr(){}function zr(){}function lte(){}function ute(){}function dte(){}function fte(){}function pte(){}function Br(){}function mte(){}function hte(){}function gte(){}function Vr(){}function _te(){}function vte(){}function Hr(){}function Ur(){}function Wr(){}function Gr(){}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 ri(){}function ii(){}function ai(){}function yte(){}function bte(){}function oi(){}function si(){}function ci(){}function xte(){}function li(){}function ui(){}function di(){}function fi(){}function pi(){}function mi(){}function Ste(){}function hi(){}function gi(){}function Cte(){}function _i(){}function wte(){}function vi(){}function Tte(){}function yi(){}function Ete(){}function bi(){}function xi(){}function Dte(){}function Si(){}function Ote(){}function Ci(){}function kte(){}function Ate(){}function wi(){}function jte(){}function Ti(){}function Mte(){}function Ei(){}function Nte(){}function Di(){}function Pte(){}function Oi(){}function Fte(){}function ki(){}function Ai(){}function Ite(){}function ji(){}function Lte(){}function Mi(){}function Rte(){}function Ni(){}function zte(){}function Pi(){}function Fi(){}function Bte(){}function Ii(){}function Vte(){}function Li(){}function Hte(){}function Ute(){}function Ri(){}function Wte(){}function zi(){}function Bi(){}function Vi(){}function Hi(){}function Ui(){}function Gte(){}function Wi(){}function Kte(){}function qte(){}function Jte(){}function Yte(){}function Xte(){}function Zte(){}function Qte(){}function $te(){}function ene(){}function tne(){}function Gi(){}function Ki(){}function nne(){}function rne(){}function qi(){}function ine(){}function ane(){}function one(){}function Ji(){}function sne(){}function cne(){}function lne(){}function une(){}function dne(){}function fne(){}function pne(){}function mne(){}function hne(){}function gne(){}function Yi(){}function Xi(){}function _ne(){}function vne(){}function yne(){}function Zi(){}function Qi(){}function $i(){}function ea(){}function ta(){}function bne(){}function xne(){}function na(){}function ra(){}function ia(){}function aa(){}function oa(){}function Sne(){}function sa(){}function Cne(){}function ca(){}function la(){}function wne(){}function ua(){}function da(){}function fa(){}function pa(){}function ma(){}function ha(){}function ga(){}function Tne(){}function Ene(){}function _a(){}function Dne(){}function va(){}function ya(){}function One(){}function ba(){}function kne(){}function xa(){}function Ane(){}function jne(){}function Mne(){}function Nne(){}function Sa(){}function Ca(){}function wa(){}function Ta(){}function Ea(){}function Da(){}function Oa(){}function ka(){}function Aa(){}function ja(){}function Pne(){}function Ma(){}function Na(){}function Pa(){}function Fne(){}function Fa(){}function Ine(){}function Ia(){}function La(){}function Lne(){}function Ra(){}function za(){}function Ba(){}function Va(){}function Ha(){}function Ua(){}function Wa(){}function Ga(){}function Ka(){}function Rne(){}function zne(){}function qa(){}function Bne(){}function Vne(){}function Hne(){}function Une(){}function Wne(){}function Ja(){}function Gne(){}function Ya(){}function Kne(){}function Xa(){}function Za(){}function Qa(){}function qne(){}function Jne(){}function $a(){}function eo(){}function Yne(){}function to(){}function Xne(){}function Zne(){}function Qne(){}function no(){}function $ne(){}function ere(){}function tre(){}function nre(){}function ro(){}function io(){}function ao(){}function oo(){}function so(){}function co(){}function rre(){}function lo(){}function uo(){}function ire(){}function fo(){}function po(){}function mo(){}function ho(){}function go(){}function _o(){}function vo(){}function yo(){}function bo(){}function xo(){}function So(){}function Co(){}function wo(){}function are(){}function To(){}function Eo(){}function ore(){}function Do(){}function sre(){}function cre(){}function Oo(){}function ko(){}function Ao(){}function jo(){}function lre(){}function ure(){}function Mo(){}function No(){}function Po(){}function Fo(){}function dre(){}function Io(){}function Lo(){}function Ro(){}function zo(){}function Bo(){}function Vo(){}function Ho(){}function fre(){}function pre(){}function Uo(){}function mre(){}function Wo(){}function Go(){}function Ko(){}function qo(){}function Jo(){}function Yo(){}function hre(){}function Xo(){}function Zo(){}function Qo(){}function gre(){}function $o(){}function es(){}function ts(){}function _re(){}function vre(){}function ns(){}function yre(){}function rs(){}function is(){}function as(){}function os(){}function bre(){}function ss(){}function cs(){}function xre(){}function ls(){}function us(){}function ds(){}function fs(){}function ps(){}function ms(){}function hs(){}function gs(){}function _s(){}function Sre(){}function Cre(){}function wre(){}function Tre(){}function vs(){}function Ere(){}function ys(){}function bs(){}function Dre(){}function xs(){}function Ore(){}function Ss(){}function Cs(){}function ws(){}function Ts(){}function Es(){}function kre(){}function Ds(){}function Are(){}function Os(){}function ks(){}function As(){}function js(){}function Ms(){}function Ns(){}function Ps(){}function jre(){}function Mre(){}function Nre(){}function Pre(){}function Fre(){}function Fs(){}function Is(){}function Ire(){}function Lre(){}function Rre(){}function zre(){}function Ls(){}function Rs(){}function zs(){}function Bs(){}function Vs(){}function Hs(){}function Bre(){}function Us(){}function Ws(){}function Gs(){}function Ks(){}function Vre(){}function qs(){}function Js(){}function Hre(){}function Ure(){}function Wre(){}function Gre(){}function Kre(){}function Ys(){dp()}function Xs(){k2e()}function qre(){CR()}function Jre(){JZe()}function Yre(){uF()}function Xre(){kh()}function Zs(){nde()}function Zre(){Ik()}function Qs(){MFe()}function Qre(){jh()}function $s(){Kb()}function ec(){pj()}function $re(){iI()}function eie(){Ph()}function tie(){Ndt()}function nie(){aAe()}function tc(){RIe()}function rie(){xBe()}function iie(){nAe()}function nc(){tAe()}function rc(){rAe()}function ic(){zz()}function ac(){EBe()}function aie(){PMe()}function oie(){CBe()}function oc(){wBe()}function sie(){TBe()}function cie(){DBe()}function sc(){lAe()}function lie(){PO()}function cc(){tHe()}function uie(){Vnt()}function lc(){pI()}function die(){sAe()}function uc(){tQe()}function dc(){cAe()}function fie(){Trt()}function pie(){w8e()}function mie(){AR()}function hie(){JL()}function fc(){mit()}function pc(){_Ke()}function mc(){FO()}function hc(){eI()}function gc(){Rtt()}function gie(){FP()}function _c(){ED()}function vc(){Hz()}function _ie(){tI()}function vie(){Tj()}function yie(){cJe()}function yc(){UR()}function bc(){Zk()}function xc(){Tbe()}function bie(){Cit()}function Sc(e){MC(e)}function xie(e){this.a=e}function Cc(e){this.a=e}function wc(e){this.a=e}function Tc(e){this.a=e}function Sie(e){this.a=e}function Ec(e){this.a=e}function Dc(e){this.a=e}function Cie(e){this.a=e}function Oc(e){this.a=e}function kc(e){this.a=e}function wie(e){this.a=e}function Tie(e){this.a=e}function Ac(e){this.a=e}function jc(e){this.c=e}function Eie(e){this.a=e}function Mc(e){this.a=e}function Die(e){this.a=e}function Oie(e){this.a=e}function kie(e){this.a=e}function Nc(e){this.a=e}function Pc(e){this.a=e}function Fc(e){this.a=e}function Ic(e){this.a=e}function Aie(e){this.a=e}function Lc(e){this.a=e}function Rc(e){this.a=e}function zc(e){this.a=e}function jie(e){this.a=e}function Bc(e){this.a=e}function Mie(e){this.a=e}function Nie(e){this.a=e}function Pie(e){this.a=e}function Fie(e){this.a=e}function Iie(e){this.a=e}function Vc(e){this.a=e}function Hc(e){this.a=e}function Uc(e){this.a=e}function Lie(e){this.a=e}function Rie(e){this.a=e}function Wc(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.b=e}function Yc(){this.a=[]}function zie(e,t){e.a=t}function Bie(e,t){e.a=t}function Xc(e,t){e.b=t}function Vie(e,t){e.c=t}function Hie(e,t){e.c=t}function Uie(e,t){e.d=t}function Zc(e,t){e.d=t}function Qc(e,t){e.k=t}function $c(e,t){e.j=t}function el(e,t){e.c=t}function tl(e,t){e.c=t}function nl(e,t){e.a=t}function Wie(e,t){e.a=t}function Gie(e,t){e.f=t}function rl(e,t){e.a=t}function Kie(e,t){e.b=t}function il(e,t){e.d=t}function al(e,t){e.i=t}function ol(e,t){e.o=t}function qie(e,t){e.r=t}function sl(e,t){e.a=t}function Jie(e,t){e.b=t}function Yie(e,t){e.e=t}function Xie(e,t){e.e=t}function Zie(e,t){e.f=t}function Qie(e,t){e.f=t}function cl(e,t){e.g=t}function $ie(e,t){e.f=t}function ll(e,t){e.a=t}function ul(e,t){e.b=t}function dl(e,t){e.n=t}function fl(e,t){e.a=t}function eae(e,t){e.a=t}function pl(e,t){e.a=t}function tae(e,t){e.c=t}function nae(e,t){e.c=t}function ml(e,t){e.c=t}function rae(e,t){e.d=t}function iae(e,t){e.d=t}function aae(e,t){e.e=t}function oae(e,t){e.e=t}function sae(e,t){e.g=t}function cae(e,t){e.f=t}function lae(e,t){e.j=t}function hl(e,t){e.a=t}function uae(e,t){e.a=t}function dae(e,t){e.b=t}function gl(e){e.b=e.a}function _l(e){e.c=e.d.d}function vl(e){this.a=e}function yl(e){this.a=e}function bl(e){this.a=e}function xl(e){this.a=e}function Sl(e){this.a=e}function Cl(e){this.a=e}function wl(e){this.a=e}function Tl(e){this.a=e}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.b=e}function Ml(e){this.b=e}function Nl(e){this.b=e}function Pl(e){this.d=e}function Fl(e){this.a=e}function Il(e){this.a=e}function Ll(e){this.a=e}function fae(e){this.a=e}function pae(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.c=e}function D(e){this.c=e}function mae(e){this.c=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 hae(e){this.a=e}function Jl(e){this.a=e}function gae(e){this.a=e}function _ae(e){this.a=e}function vae(e){this.a=e}function Yl(e){this.a=e}function yae(e){this.a=e}function bae(e){this.a=e}function Xl(e){this.a=e}function xae(e){this.a=e}function Zl(e){this.a=e}function Ql(e){this.a=e}function Sae(e){this.a=e}function $l(e){this.a=e}function eu(e){this.a=e}function tu(e){this.a=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 Cae(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 fu(e){this.a=e}function pu(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 wae(e){this.a=e}function Tae(e){this.a=e}function yu(e){this.a=e}function bu(e){this.a=e}function Eae(e){this.a=e}function Dae(e){this.a=e}function Oae(e){this.a=e}function kae(e){this.a=e}function xu(e){this.a=e}function Su(e){this.a=e}function Aae(e){this.a=e}function jae(e){this.a=e}function Mae(e){this.a=e}function Cu(e){this.a=e}function Nae(e){this.a=e}function Pae(e){this.a=e}function wu(e){this.a=e}function Fae(e){this.a=e}function Tu(e){this.e=e}function Eu(e){this.a=e}function Iae(e){this.a=e}function Lae(e){this.a=e}function Rae(e){this.a=e}function zae(e){this.a=e}function Bae(e){this.a=e}function Du(e){this.a=e}function Ou(e){this.a=e}function Vae(e){this.a=e}function ku(e){this.a=e}function Au(e){this.a=e}function Hae(e){this.a=e}function Uae(e){this.a=e}function Wae(e){this.a=e}function ju(e){this.a=e}function Gae(e){this.a=e}function Kae(e){this.a=e}function Mu(e){this.a=e}function qae(e){this.a=e}function Nu(e){this.a=e}function Pu(e){this.a=e}function Fu(e){this.a=e}function Iu(e){this.a=e}function Jae(e){this.a=e}function Yae(e){this.a=e}function Xae(e){this.a=e}function Zae(e){this.a=e}function Lu(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 Ru(e){this.c=e}function zu(e){this.b=e}function roe(e){this.a=e}function ioe(e){this.a=e}function aoe(e){this.a=e}function Bu(e){this.a=e}function ooe(e){this.a=e}function Vu(e){this.a=e}function Hu(e){this.a=e}function Uu(e){this.a=e}function Wu(e){this.a=e}function soe(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 poe(e){this.a=e}function moe(e){this.a=e}function hoe(e){this.a=e}function goe(e){this.a=e}function Gu(e){this.a=e}function _oe(e){this.a=e}function voe(e){this.a=e}function yoe(e){this.a=e}function boe(e){this.a=e}function xoe(e){this.a=e}function Ku(e){this.a=e}function Soe(e){this.a=e}function qu(e){this.a=e}function Ju(e){this.a=e}function Yu(e){this.a=e}function Coe(e){this.a=e}function Xu(e){this.a=e}function woe(e){this.a=e}function Zu(e){this.a=e}function Toe(e){this.a=e}function Qu(e){this.a=e}function Eoe(e){this.a=e}function Doe(e){this.a=e}function Ooe(e){this.a=e}function $u(e){this.a=e}function koe(e){this.a=e}function Aoe(e){this.a=e}function ed(e){this.a=e}function joe(e){this.a=e}function Moe(e){this.a=e}function td(e){this.a=e}function Noe(e){this.a=e}function nd(e){this.a=e}function rd(e){this.a=e}function id(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 ad(e){this.a=e}function zoe(e){this.a=e}function Boe(e){this.a=e}function Voe(e){this.a=e}function od(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 Xoe(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 cd(e){this.a=e}function tse(e){this.a=e}function ld(e){this.a=e}function ud(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 dd(e){this.a=e}function fd(e){this.b=e}function pd(e){this.f=e}function md(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 hd(e){this.a=e}function gd(e){this.a=e}function hse(e){this.a=e}function _d(e){this.a=e}function vd(e){this.a=e}function yd(e){this.b=e}function bd(e){this.c=e}function xd(e){this.e=e}function Sd(e){this.d=e}function Cd(e){this.a=e}function gse(e){this.a=e}function wd(e){this.a=e}function Td(e){this.a=e}function Ed(e){this.e=e}function Dd(){this.a=0}function Od(){Av(this)}function kd(){BS(this)}function Ad(){MEe(this)}function _se(){}function jd(){this.c=qBt}function vse(e,t){e.b+=t}function yse(e,t){t.Wb(e)}function bse(e){return e.a}function xse(e){return e.a}function Sse(e){return e.a}function Cse(e){return e.a}function Md(e){return e.a}function O(e){return e.e}function wse(){return null}function Tse(){return null}function Ese(e){throw O(e)}function Nd(e){this.a=aC(e)}function Dse(){this.a=this}function Pd(){Ige.call(this)}function Ose(e){e.b.Mf(e.e)}function kse(e){e.b=new im}function Fd(e,t){e.b=t-e.b}function Id(e,t){e.a=t-e.a}function Ld(e,t){t.gd(e.a)}function Rd(e,t){PI(t,e)}function zd(e,t){e.push(t)}function Ase(e,t){e.sort(t)}function Bd(e,t,n){e.Wd(n,t)}function Vd(e,t){e.e=t,t.b=e}function jse(e){Iw(),Fbt.je(e)}function Mse(){_le(),Put()}function Hd(){Pd.call(this)}function Ud(){Pd.call(this)}function Wd(){Ige.call(this)}function Gd(){Pd.call(this)}function Kd(){Pd.call(this)}function qd(){Pd.call(this)}function Jd(){Pd.call(this)}function Yd(){Pd.call(this)}function Xd(){Pd.call(this)}function Zd(){Pd.call(this)}function Qd(){Pd.call(this)}function $d(){Pd.call(this)}function ef(){this.Bb|=256}function tf(){this.b=new Xpe}function nf(){nf=C,new kd}function rf(e,t){e.length=t}function af(e,t){ry(e.a,t)}function of(e,t){J2e(e.c,t)}function Nse(e,t){LS(e.b,t)}function Pse(e,t){AP(e.a,t)}function sf(e,t){CM(e.a,t)}function cf(e,t){dA(e.e,t)}function lf(e){ZI(e.c,e.b)}function Fse(e,t){e.kc().Nb(t)}function uf(e){this.a=VKe(e)}function df(){this.a=new kd}function Ise(){this.a=new kd}function ff(){this.a=new Od}function pf(){this.a=new Od}function mf(){this.a=new Od}function hf(){this.a=new Be}function gf(){this.a=new EFe}function _f(){this.a=new Bue}function vf(){this.a=new Ike}function yf(){this.a=new qve}function bf(){this.a=new it}function xf(){this.a=new gje}function Lse(){this.a=new Od}function Sf(){this.a=new Od}function Cf(){this.a=new Od}function wf(){this.a=new Od}function Tf(){this.d=new Od}function Ef(){this.a=new df}function Df(){this.a=new kd}function Of(){this.b=new kd}function kf(){this.b=new Od}function Af(){this.e=new Od}function jf(){this.a=new $re}function Rse(){this.d=new Od}function Mf(){Od.call(this)}function Nf(){Hd.call(this)}function Pf(){ff.call(this)}function zse(){Cf.call(this)}function Ff(){_se.call(this)}function If(){Ff.call(this)}function Bse(){Sb.call(this)}function Lf(){_se.call(this)}function Rf(){Lf.call(this)}function zf(){DOe.call(this)}function Bf(){DOe.call(this)}function Vse(){np.call(this)}function Hse(){np.call(this)}function Use(){np.call(this)}function Wse(){rp.call(this)}function Vf(){nre.call(this)}function Hf(){nre.call(this)}function Uf(){ph.call(this)}function Gse(){sp.call(this)}function Kse(){sp.call(this)}function Wf(){kd.call(this)}function Gf(){kd.call(this)}function Kf(){kd.call(this)}function qf(){aBe.call(this)}function qse(){df.call(this)}function Jse(){ef.call(this)}function Jf(){oge.call(this)}function Yf(){kd.call(this)}function Xf(){oge.call(this)}function Zf(){kd.call(this)}function Qf(){kd.call(this)}function $f(){vo.call(this)}function ep(){$f.call(this)}function tp(){vo.call(this)}function Yse(){Wre.call(this)}function np(){this.a=new df}function Xse(){this.a=new kd}function rp(){this.a=new kd}function ip(){this.a=new ph}function ap(){this.a=new Od}function op(){this.j=new Od}function sp(){this.a=new mo}function cp(){this.a=new pa}function lp(){this.a=new Wle}function up(){up=C,SJ=new Zse}function dp(){dp=C,gJ=new o}function fp(){fp=C,xJ=new pp}function pp(){Ic.call(this,``)}function Zse(){Ic.call(this,``)}function mp(e){uze.call(this,e)}function hp(e){uze.call(this,e)}function gp(e){Ec.call(this,e)}function _p(e){oue.call(this,e)}function Qse(e){oue.call(this,e)}function $se(e){_p.call(this,e)}function vp(e){_p.call(this,e)}function ece(e){_p.call(this,e)}function yp(e){XNe.call(this,e)}function tce(e){XNe.call(this,e)}function bp(e){Rhe.call(this,e)}function xp(e){Sue.call(this,e)}function Sp(e){ih.call(this,e)}function Cp(e){ih.call(this,e)}function nce(e){ih.call(this,e)}function wp(e){Uwe.call(this,e)}function Tp(e){wp.call(this,e)}function Ep(){qc.call(this,{})}function Dp(e){fy(),this.a=e}function Op(e){e.b=null,e.c=0}function rce(e,t){e.e=t,cet(e,t)}function ice(e,t){e.a=t,X4e(e)}function kp(e,t,n){e.a[t.g]=n}function ace(e,t,n){f$e(n,e,t)}function Ap(e,t){gye(t.i,e.n)}function oce(e,t){fWe(e).Ad(t)}function jp(e,t){return e*e/t}function sce(e,t){return e.g-t.g}function Mp(e,t){e.a.ec().Kc(t)}function cce(e){return new Kc(e)}function Np(e){return new vC(e)}function Pp(e){wp.call(this,e)}function Fp(e){wp.call(this,e)}function Ip(e){wp.call(this,e)}function Lp(e){Uwe.call(this,e)}function Rp(e){eHe(),this.a=e}function zp(e){lS(),this.f=e}function Bp(e){lS(),this.f=e}function lce(e){wbe(),this.a=e}function Vp(e){wp.call(this,e)}function Hp(e){wp.call(this,e)}function Up(e){wp.call(this,e)}function uce(e){wp.call(this,e)}function Wp(e){wp.call(this,e)}function Gp(e){return MC(e),e}function k(e){return MC(e),e}function Kp(e){return MC(e),e}function dce(e){return MC(e),e}function fce(e){return MC(e),e}function qp(e){return e.b==e.c}function Jp(e){return!!e&&e.b}function pce(e){return!!e&&e.k}function mce(e){return!!e&&e.j}function Yp(e){MC(e),this.a=e}function hce(e){return uj(e),e}function Xp(e){bTe(e,e.length)}function Zp(e){wp.call(this,e)}function Qp(e){wp.call(this,e)}function $p(e){wp.call(this,e)}function em(e){wp.call(this,e)}function tm(e){wp.call(this,e)}function nm(e){wp.call(this,e)}function rm(e){a_e.call(this,e,0)}function im(){mje.call(this,12,3)}function am(){this.a=rb(aC(rB))}function gce(){throw O(new Zd)}function _ce(){throw O(new Zd)}function vce(){throw O(new Zd)}function yce(){throw O(new Zd)}function bce(){throw O(new Zd)}function xce(){throw O(new Zd)}function Sce(){Sce=C,jbt=new a}function Cce(){Cce=C,Pbt=new v}function om(){om=C,jJ=new x}function sm(){sm=C,TJ=new Lhe}function wce(){wce=C,zbt=new ee}function cm(){cm=C,Iw()}function lm(){xl.call(this,``)}function um(){xl.call(this,``)}function dm(){xl.call(this,``)}function fm(){xl.call(this,``)}function Tce(e){Fp.call(this,e)}function Ece(e){Fp.call(this,e)}function pm(e){Hp.call(this,e)}function mm(e){Ml.call(this,e)}function Dce(e){mm.call(this,e)}function hm(e){yy.call(this,e)}function Oce(e,t,n){e.c.Cf(t,n)}function kce(e,t,n){t.Ad(e.a[n])}function Ace(e,t,n){t.Ne(e.a[n])}function jce(e,t){return e.a-t.a}function Mce(e,t){return e.a-t.a}function Nce(e,t){return e.a-t.a}function gm(e,t){return AD(e,t)}function A(e,t){return Yke(e,t)}function Pce(e,t){return t in e.a}function Fce(e){return e.a?e.b:0}function Ice(e){return e.a?e.b:0}function Lce(e,t){return e.f=t,e}function Rce(e,t){return e.b=t,e}function zce(e,t){return e.c=t,e}function Bce(e,t){return e.g=t,e}function Vce(e,t){return e.a=t,e}function Hce(e,t){return e.f=t,e}function Uce(e,t){return e.k=t,e}function Wce(e,t){return e.a=t,e}function Gce(e,t){return e.e=t,e}function Kce(e,t){return e.e=t,e}function qce(e,t){return e.f=t,e}function Jce(e,t){e.b=new pv(t)}function Yce(e,t){e._d(t),t.$d(e)}function Xce(e,t){Jb(),t.n.a+=e}function Zce(e,t){iI(),uT(t,e)}function Qce(e,t){return e.b-t.b}function $ce(e,t){return e.g-t.g}function ele(e,t){return e.s-t.s}function tle(e,t){return e?0:t-1}function nle(e,t){return e?0:t-1}function rle(e,t){return e?t-1:0}function ile(e,t){return t.pg(e)}function _m(e,t){return e.b=t,e}function vm(e,t){return e.a=t,e}function ym(e,t){return e.c=t,e}function bm(e,t){return e.d=t,e}function xm(e,t){return e.e=t,e}function ale(e,t){return e.f=t,e}function Sm(e,t){return e.a=t,e}function Cm(e,t){return e.b=t,e}function wm(e,t){return e.c=t,e}function Tm(e,t){return e.c=t,e}function Em(e,t){return e.b=t,e}function Dm(e,t){return e.d=t,e}function Om(e,t){return e.e=t,e}function ole(e,t){return e.f=t,e}function km(e,t){return e.g=t,e}function Am(e,t){return e.a=t,e}function jm(e,t){return e.i=t,e}function Mm(e,t){return e.j=t,e}function sle(e,t){return e.j=t,e}function cle(e,t){return e.k=t,e}function Nm(){this.a=0,this.b=0}function lle(){this.b=0,this.a=0}function ule(e){NDe.call(this,e)}function dle(e){NDe.call(this,e)}function Pm(e){Ib.call(this,e)}function Fm(e){TO.call(this,e)}function fle(e){lw.call(this,e)}function ple(e){lw.call(this,e)}function mle(){phe.call(this,``)}function hle(){hle=C,xxt=r1e()}function Im(){Im=C,qzt=KQe()}function gle(){gle=C,r7=G1e()}function _le(){_le=C,C7=sk()}function Lm(){Lm=C,NBt=qQe()}function vle(){vle=C,bVt=JQe()}function yle(){yle=C,x9=q4e()}function Rm(e){return e.e&&e.e()}function ble(e,t){return e.c._b(t)}function xle(e,t){return AGe(e.b,t)}function Sle(e,t){return yde(e.a,t)}function Cle(e,t){e.b=0,$O(e,t)}function wle(e,t){e.c=t,e.b=!0}function zm(e,t){return e.a+=t,e}function Bm(e,t){return e.a+=t,e}function Vm(e,t){return e.a+=t,e}function Hm(e,t){return e.a+=t,e}function Um(e){return tb(e),e.o}function Tle(e){Nlt(),$ut(this,e)}function Ele(){throw O(new Zd)}function Dle(){throw O(new Zd)}function Ole(){throw O(new Zd)}function kle(){throw O(new Zd)}function Ale(){throw O(new Zd)}function jle(){throw O(new Zd)}function Wm(e){this.a=new yh(e)}function Gm(e){this.a=new xS(e)}function Km(e,t){for(;e.Pe(t););}function Mle(e,t){for(;e.zd(t););}function Nle(e,t,n){Cwe(e.a,t,n)}function Ple(e,t,n){e.splice(t,n)}function Fle(e,t){return kot(t,e)}function Ile(e,t){return e.d[t.p]}function qm(e){return e.b!=e.d.c}function Lle(e){return e.l|e.m<<22}function Jm(e){return e?e.d:null}function Rle(e){return e?e.g:null}function zle(e){return e?e.i:null}function Ble(e,t){return oet(e,t)}function Ym(e){return DC(e),e.a}function Vle(e){e.c?att(e):ott(e)}function Hle(){this.b=new NL(WMt)}function Ule(){this.b=new NL(y3)}function Wle(){this.b=new NL(y3)}function Gle(){this.a=new NL(iPt)}function Kle(){this.a=new NL(eFt)}function Xm(e){this.a=0,this.b=e}function qle(){throw O(new Zd)}function Jle(){throw O(new Zd)}function Yle(){throw O(new Zd)}function Xle(){throw O(new Zd)}function Zle(){throw O(new Zd)}function Qle(){throw O(new Zd)}function $le(){throw O(new Zd)}function eue(){throw O(new Zd)}function tue(){throw O(new Zd)}function nue(){throw O(new Zd)}function rue(){throw O(new Qd)}function iue(){throw O(new Qd)}function Zm(e){this.a=new kue(e)}function Qm(e){this.b=F(aC(e),92)}function aue(e,t){this.b=e,this.c=t}function $m(e,t){this.e=e,this.d=t}function oue(e){cge(e.dc()),this.c=e}function sue(e,t){this.a=e,this.b=t}function cue(e,t){this.a=e,this.b=t}function lue(e,t){this.a=e,this.b=t}function uue(e,t){this.a=e,this.b=t}function due(e,t){this.a=e,this.b=t}function fue(e,t){this.a=e,this.b=t}function pue(e,t){this.a=e,this.b=t}function mue(e,t){this.b=e,this.a=t}function eh(e,t){this.g=e,this.i=t}function hue(e,t){this.b=e,this.a=t}function th(e,t){dy.call(this,e,t)}function nh(e,t){th.call(this,e,t)}function gue(e,t){this.a=e,this.b=t}function _ue(e,t){this.a=e,this.b=t}function vue(e,t){this.b=e,this.a=t}function yue(e,t){this.b=e,this.a=t}function rh(e,t){this.f=e,this.g=t}function ih(e){this.b=F(aC(e),50)}function ah(e,t){this.a=e,this.b=t}function bue(e,t){this.a=e,this.f=t}function xue(e){this.a=F(aC(e),16)}function Sue(e){this.a=F(aC(e),16)}function Cue(e,t){this.b=e,this.c=t}function wue(e){this.a=F(aC(e),92)}function Tue(e,t){this.a=e,this.b=t}function Eue(e,t){this.a=e,this.b=t}function Due(e,t){return jS(e.b,t)}function Oue(e,t){return e>t&&t0}function Qh(e,t){return Gj(e,t)<0}function xde(e,t){return t.split(e)}function $h(e){return e.b=0}function q_(e,t){return Gj(e,t)!=0}function Lpe(e,t){return e.a+=``+t,e}function Rpe(e){return``+(MC(e),e)}function zpe(e,t){e.q.setTime(ZT(t))}function J_(e,t){return e.a+=``+t,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 Bpe(e){return OT(e,0),null}function Vpe(e){BS(this),tA(this,e)}function Hpe(e,t){lTe.call(this,e,t)}function Upe(e,t){lTe.call(this,e,t)}function $_(e,t){lTe.call(this,e,t)}function Wpe(){oAe(),OOe.call(this)}function Gpe(){oAe(),OOe.call(this)}function Kpe(){iAe(),Iwe.call(this)}function qpe(){qpe=C,iNt=Rj($Ve())}function Jpe(){Jpe=C,kSt=Rj(ZN())}function Ype(){Ype=C,tTt=Rj(M9e())}function Xpe(){this.b=new yh(hA(12))}function Zpe(){this.b=0,this.a=!1}function Qpe(){this.b=0,this.a=!1}function ev(e,t){DE(e,t,e.a,e.a.a)}function tv(e,t){DE(e,t,e.c.b,e.c)}function nv(e,t){Uh(),LC(E7,e,t)}function rv(e,t){bb.call(this,e,t)}function iv(e,t){Ob.call(this,e,t)}function av(e,t){Spe.call(this,e,t)}function $pe(e,t){jy.call(this,e,t)}function ov(e,t){TA.call(this,e,t)}function sv(e){this.a=e,Ys.call(this)}function eme(e){this.a=e,Ys.call(this)}function cv(e){return e.a=0,e.b=0,e}function tme(e,t){return e.a=t.g+1,e}function nme(e,t){return e.j[t.p]==2}function rme(e,t){return jw(e.a,0,t)}function ime(e,t){return mM(e.a,t.a)}function ame(e,t){return Hv(e.a,t.a)}function ome(e,t){return NTe(e.a,t.a)}function sme(e,t){return M(e)===M(t)}function lv(e,t){return e.indexOf(t)}function cme(e){return aC(e),new sv(e)}function lme(e){return Uv(e.l,e.m,e.h)}function uv(e){return Gw((MC(e),e))}function ume(e){return Gw((MC(e),e))}function dme(e,t){return Hv(e.g,t.g)}function dv(e){return typeof e===Vdt}function fme(e){return e==fX||e==pX}function pme(e){return e==fX||e==hX}function fv(e){return e<10?`0`+e:``+e}function mme(e){return VD(e.b.b,e,0)}function hme(e,t){kD(e,0,e.length,t)}function gme(e,t){return ry(e.a,t),t}function _me(e,t){return Jb(),t.a+=e}function vme(e,t){return Jb(),t.a+=e}function yme(e,t){return Jb(),t.c+=e}function bme(e,t){return ry(e.c,t),e}function xme(e,t){return uA(e.a,t),e}function Sme(e){this.a=Ade(),this.b=e}function Cme(e){this.a=Ade(),this.b=e}function pv(e){this.a=e.a,this.b=e.b}function mv(){zl.call(this,new CE)}function wme(){Nx.call(this,0,0,0,0)}function hv(){rw.call(this,0,0,0,0)}function gv(e){return uA(new AC,e)}function Tme(e){return HC(F(e,125))}function _v(e){return e.sh()&&e.th()}function vv(e){return e!=K8&&e!=q8}function yv(e){return e==i8||e==a8}function bv(e){return e==s8||e==r8}function Eme(e){return e==F0||e==P0}function Dme(e,t){return mM(t.f,e.f)}function Ome(e,t){return Hv(e.g,t.g)}function kme(e,t){return new TA(t,e)}function Ame(e,t){return new TA(t,e)}function xv(e,t,n){HO(e,t),UO(e,n)}function Sv(e,t,n){KO(e,t),VO(e,n)}function Cv(e,t,n){qO(e,t),JO(e,n)}function wv(e,t,n){WO(e,t),GO(e,n)}function Tv(e,t,n){YO(e,t),XO(e,n)}function Ev(e,t){Pj(e,t),ek(e,e.D)}function Dv(e){_pe.call(this,e,!0)}function jme(e,t,n){rve.call(this,e,t,n)}function Mme(){ag.call(this,`Head`,1)}function Nme(){ag.call(this,`Tail`,3)}function Ov(e){iR(),VVe.call(this,e)}function kv(e){Nx.call(this,e,e,e,e)}function Av(e){e.c=H(hJ,iB,1,0,5,1)}function Pme(e){kO(e.Qf(),new tu(e))}function jv(e){return e==null?0:Lk(e)}function Fme(e,t){return EO(t,eT(e))}function Ime(e,t){return EO(t,eT(e))}function Lme(e,t){return e[e.length]=t}function Rme(e,t){return e[e.length]=t}function zme(e,t){return vk(dC(e.f),t)}function Bme(e,t){return vk(dC(e.n),t)}function Vme(e,t){return vk(dC(e.p),t)}function Hme(e){return kSe(e.b.Jc(),e.a)}function Ume(e){return e==null?0:Lk(e)}function Mv(e,t){bb.call(this,e.b,t)}function Wme(e,t){hD(bE(e.a),pAe(t))}function Gme(e,t){hD(qD(e.a),mAe(t))}function Kme(e,t,n){Cv(n,n.i+e,n.j+t)}function qme(e,t,n){fC(e.c[t.g],t.g,n)}function Jme(e,t,n){F(e.c,72).Ei(t,n)}function Nv(e,t,n){return fC(e,t,n),n}function Yme(e,t){mY||(e.b=t)}function Xme(){Xme=C,nf(),Ibt=new kd}function Zme(){Zme=C,D2=new tN(v8)}function Pv(){Pv=C,r.Math.log(2)}function Fv(){Fv=C,f9=(lde(),rBt)}function Iv(){Iv=C,new Qme,new Od}function Qme(){new kd,new kd,new kd}function $me(){throw O(new Zp(pbt))}function ehe(){throw O(new Zp(fbt))}function the(){throw O(new Zp(fbt))}function nhe(){throw O(new Zp(pbt))}function Lv(e){Wz(),Ed.call(this,e)}function rhe(e){this.a=e,MSe.call(this,e)}function Rv(e){this.a=e,Qm.call(this,e)}function zv(e){this.a=e,Qm.call(this,e)}function Bv(e,t){qx(e.c,e.c.length,t)}function Vv(e){return e.at)}function ohe(e,t){return Gj(e,t)>0?e:t}function Uv(e,t,n){return{l:e,m:t,h:n}}function she(e,t){e.a!=null&&Fpe(t,e.a)}function che(e){sT(e,null),lT(e,null)}function lhe(e,t,n){return LC(e.g,n,t)}function uhe(e,t){aC(t),KC(e).Ic(new h)}function dhe(){yF(),this.a=new NL(RCt)}function Wv(e){this.b=e,this.a=new Od}function fhe(e){this.b=new tee,this.a=e}function phe(e){Kve.call(this),this.a=e}function mhe(e){kOe.call(this),this.b=e}function hhe(){ag.call(this,`Range`,2)}function Gv(e){e.j=H(txt,vB,325,0,0,1)}function ghe(e){e.a=new pe,e.c=new pe}function _he(e){e.a=new kd,e.e=new kd}function vhe(e){bT(e,null),xT(e,null)}function yhe(e,t,n){return Oct(e,t,n),n}function bhe(e,t){return hT(),t.n.b+=e}function Kv(e,t,n){return mJe(t,n,e.c)}function xhe(e,t,n){return LC(e.k,n,t)}function She(e,t){return LC(e.a,t.a,t)}function Che(e,t){return Mct(e.a,t,null)}function whe(e,t){return P(pC(e.i,t))}function The(e,t){return P(pC(e.j,t))}function qv(e,t){return vst(e.c,e.b,t)}function Ehe(e){return new j(e.c,e.d)}function Dhe(e){return new j(e.c,e.d)}function Jv(e){return new j(e.a,e.b)}function N(e,t){return e!=null&&_P(e,t)}function Yv(e,t){return oUe(e.Jc(),t)!=-1}function Xv(e){return e.Ob()?e.Pb():null}function Ohe(e,t){return new wge(e.Jc(),t)}function khe(e,t){e.q.setHours(t),LR(e,t)}function Ahe(e,t,n){e.c._c(t,F(n,136))}function jhe(e,t,n){e.c.Si(t,F(n,136))}function Mhe(e,t){uz(e),e.Fc(F(t,16))}function Nhe(e,t){return e.a.Ac(t)!=null}function Phe(e){return MN(e,0,e.length)}function Fhe(){jy.call(this,null,null)}function Ihe(){My.call(this,null,null)}function Lhe(){rh.call(this,`INSTANCE`,0)}function Rhe(e){this.a=(fw(),new mm(e))}function zhe(e){this.b=(fw(),new Vl(e))}function Bhe(e){this.a=e,kd.call(this)}function Zv(){this.a=H(hJ,iB,1,8,5,1)}function Vhe(e,t,n,r){fC(e.a[t.g],n.g,r)}function Qv(e,t,n){return e.a[t.g][n.g]}function $v(e,t){return e.a[t.c.p][t.p]}function Hhe(e,t){return e.c[t.c.p][t.p]}function Uhe(e,t){return e.e[t.c.p][t.p]}function Whe(e,t){return e.j[t.p]=h7e(t)}function Ghe(e,t){return SFe(e.f,t.Og())}function Khe(e,t){return k(P(t.a))<=e}function qhe(e,t){return k(P(t.a))>=e}function ey(e,t){return e.a.Ac(t)!=null}function Jhe(e,t){return e.a0?t*t/e:t*t*100}function T_e(e,t){return e>0?t/(e*e):t*100}function E_e(e,t){return e.a=t.a,e.b=t.b,e}function Xy(e){return e.a=-e.a,e.b=-e.b,e}function D_e(e,t,n){return e.a-=t,e.b-=n,e}function Zy(e,t,n){return e.a+=t,e.b+=n,e}function O_e(e,t,n){ED(),e.nf(t)&&n.Ad(e)}function k_e(e){this.c=e,qO(e,0),JO(e,0)}function A_e(e){ph.call(this),fk(this,e)}function j_e(){rh.call(this,`GROW_TREE`,0)}function Qy(e,t,n){yD.call(this,e,t,n,2)}function M_e(e,t){Wh(),jy.call(this,e,t)}function N_e(e,t){Gh(),My.call(this,e,t)}function P_e(e,t){Gh(),My.call(this,e,t)}function F_e(e,t){Gh(),N_e.call(this,e,t)}function I_e(e,t){return e.c.Ec(F(t,136))}function L_e(e,t){return F(pC(e.e,t),26)}function R_e(e,t){return F(pC(e.e,t),26)}function z_e(e,t,n){fM(qD(e.a),t,mAe(n))}function B_e(e,t,n){fM(bE(e.a),t,pAe(n))}function $y(e,t){Fv(),zx.call(this,e,t)}function V_e(e,t){Fv(),zx.call(this,e,t)}function H_e(e,t){Fv(),zx.call(this,e,t)}function U_e(e,t){Fv(),$y.call(this,e,t)}function W_e(e,t){Fv(),$y.call(this,e,t)}function G_e(e,t){Fv(),W_e.call(this,e,t)}function K_e(e,t){Fv(),V_e.call(this,e,t)}function q_e(e,t,n){return rz(WD(e,t),n)}function J_e(e,t,n){return t.xl(e.e,e.c,n)}function Y_e(e,t,n){return t.yl(e.e,e.c,n)}function eb(e,t){return Qj(e.e,F(t,52))}function X_e(e,t){return MC(e),e+Pb(t)}function Z_e(e){return e==null?null:XM(e)}function Q_e(e){return e==null?null:XM(e)}function $_e(e){return e==null?null:Flt(e)}function eve(e){return e==null?null:z2e(e)}function tb(e){e.o??S5e(e)}function nb(e){return mx(e==null||L_(e)),e}function P(e){return mx(e==null||R_(e)),e}function rb(e){return mx(e==null||z_(e)),e}function ib(e){N(e,161)&&F(e,161).mi()}function tve(){aBe.call(this),this.Bb|=jV}function nve(e,t){this.d=e,_l(this),this.b=t}function ab(e,t){this.c=e,$m.call(this,e,t)}function ob(e,t){this.a=e,ab.call(this,e,t)}function rve(e,t,n){iD.call(this,e,t,n,null)}function ive(e,t,n){iD.call(this,e,t,n,null)}function ave(e,t){dD.call(this,e),this.a=t}function ove(e,t){dD.call(this,e),this.a=t}function sve(e,t){return RP(e,t),new XEe(e,t)}function cve(e,t,n){return e.Le(t,n)<=0?n:t}function lve(e,t,n){return e.Le(t,n)<=0?t:n}function uve(e){return MC(e),e?1231:1237}function dve(e,t){t.a?v8e(e,t):ey(e.a,t.b)}function fve(e,t){mY||ry(e.a,t)}function pve(e,t){return kh(),mA(t.d.i,e)}function mve(e,t){return Ik(),new Ent(t,e)}function hve(e,t){return F(oO(e.b,t),144)}function gve(e,t){return F(oO(e.c,t),233)}function sb(e){return F(kx(e.a,e.b),295)}function _ve(e){return new j(e.c,e.d+e.a)}function vve(e){return hT(),Eme(F(e,203))}function yve(e,t){return F(pC(e.b,t),278)}function cb(e,t){return Nw(t,$ft),e.f=t,e}function bve(e,t,n){return n=bR(e,t,3,n),n}function xve(e,t,n){return n=bR(e,t,6,n),n}function Sve(e,t,n){return n=bR(e,t,9,n),n}function lb(e,t,n){++e.j,e.rj(),cD(e,t,n)}function Cve(e,t,n){++e.j,e.oj(t,e.Xi(t,n))}function wve(e,t,n){e.dd(t).Rb(n)}function Tve(e,t){this.c=e,TO.call(this,t)}function Eve(e,t){this.a=e,yd.call(this,t)}function ub(e,t){this.a=e,yd.call(this,t)}function Dve(e){this.q=new r.Date(ZT(e))}function Ove(){this.a=new Bw,this.b=new Bw}function db(){db=C,T7=new Gse,new Kse}function fb(){fb=C,y4=new fd(`root`)}function pb(){pb=C,ASt=WM((EN(),O5))}function mb(e){e.b?mb(e.b):e.f.c.yc(e.e,e.d)}function hb(e){this.a=(fw(),new Ol(aC(e)))}function kve(e){this.a=(_k(e,FB),new pD(e))}function Ave(e){this.a=(_k(e,FB),new pD(e))}function jve(e){return e==null?null:e.message}function gb(e){return String.fromCharCode(e)}function Mve(e){return Wx(pS(e,32))^Wx(e)}function Nve(e,t){return(t&$z)%e.d.length}function Pve(e,t,n){return Kat(e.c,e.b,t,n)}function Fve(e,t,n){return e.apply(t,n)}function Ive(e,t,n){return IS(e,F(t,24),n)}function Lve(e,t,n){return e.a+=MN(t,0,n),e}function Rve(e,t){var n=e.e;return e.e=t,n}function zve(e,t){var n=t;return!!e.De(n)}function Bve(e,t){e[wft].call(e,t)}function Vve(e,t){e[wft].call(e,t)}function _b(e,t){e.a._c(e.b,t),++e.b,e.c=-1}function Hve(e){BS(e.e),e.d.b=e.d,e.d.a=e.d}function Uve(e,t,n){bh(),zie(e,t.Te(e.a,n))}function vb(e,t){return by(),e==t?0:e?1:-1}function yb(e,t){return gm(Array(t),e)}function bb(e,t){fd.call(this,e),this.a=t}function Wve(e,t){bd.call(this,e),this.a=t}function xb(e,t){bd.call(this,e),this.a=t}function Gve(){Sb.call(this),this.a=new Nm}function Kve(){this.n=new Nm,this.o=new Nm}function qve(){this.b=new Nm,this.c=new Od}function Jve(){this.a=new Od,this.b=new Od}function Yve(){this.a=new it,this.b=new tf}function Xve(){this.b=new CE,this.a=new CE}function Zve(){this.b=new df,this.a=new df}function Qve(){this.a=new Od,this.d=new Od}function $ve(){this.b=new kd,this.a=new kd}function eye(){this.b=new Hle,this.a=new Hte}function tye(){this.a=new eie,this.b=new Hr}function Sb(){this.n=new Lf,this.i=new hv}function Cb(e){return!e.a&&(e.a=new te),e.a}function wb(e,t){return e.a+=t.a,e.b+=t.b,e}function Tb(e,t){return e.a-=t.a,e.b-=t.b,e}function nye(e){return rf(e.j.c,0),e.a=-1,e}function rye(e,t,n){return n=bR(e,t,11,n),n}function iye(e,t,n){n!=null&&Sk(t,UP(e,n))}function aye(e,t,n){n!=null&&Ck(t,UP(e,n))}function Eb(e,t,n,r){I.call(this,e,t,n,r)}function oye(e,t,n,r){Nx.call(this,e,t,n,r)}function sye(e,t,n,r){I.call(this,e,t,n,r)}function cye(e,t,n,r){sye.call(this,e,t,n,r)}function lye(e,t,n,r){TS.call(this,e,t,n,r)}function uye(e,t,n,r){TS.call(this,e,t,n,r)}function dye(e,t,n,r){uye.call(this,e,t,n,r)}function fye(e,t,n,r){TS.call(this,e,t,n,r)}function Db(e,t,n,r){fye.call(this,e,t,n,r)}function pye(e,t,n,r){uye.call(this,e,t,n,r)}function mye(e,t,n,r){pye.call(this,e,t,n,r)}function hye(e,t,n,r){gTe.call(this,e,t,n,r)}function Ob(e,t){Fp.call(this,fq+e+QK+t)}function gye(e,t){yv(e.f)?f5e(e,t):a0e(e,t)}function _ye(e,t){return e.hk().ti().oi(e,t)}function vye(e,t){return e.hk().ti().qi(e,t)}function yye(e,t){return e.n.a=(MC(t),t+10)}function bye(e,t){return e.n.a=(MC(t),t+10)}function xye(e,t){return e.e=F(e.d.Kb(t),162)}function Sye(e,t){return t==e||xF(yL(t),e)}function Cye(e,t,n){return e.lastIndexOf(t,n)}function kb(e,t){return MC(e),M(e)===M(t)}function wye(e,t){return MC(e),M(e)===M(t)}function Tye(e,t){return LC(e.a,t,``)==null}function Eye(e,t){return e.b.zd(new Nde(e,t))}function Dye(e,t){return e.b.zd(new Pde(e,t))}function Oye(e,t){return e.b.zd(new Fde(e,t))}function kye(e,t){return G(t,(zz(),a1),e)}function Aye(e,t,n){return mM(e[t.a],e[n.a])}function jye(e,t){return Hv(e.a.d.p,t.a.d.p)}function Mye(e,t){return Hv(t.a.d.p,e.a.d.p)}function Nye(e,t){return kh(),!mA(t.d.i,e)}function Pye(e,t){mY||t&&(e.d=t)}function Fye(e,t){RSe.call(this,e,e.length,t)}function Iye(e){this.c=e,$_.call(this,CB,0)}function Lye(e,t,n){this.a=e,a_e.call(this,t,n)}function Rye(e,t){this.c=e,qS.call(this,e,t)}function zye(e,t,n){this.c=t,this.b=n,this.a=e}function Ab(e){cx(),this.d=e,this.a=new Zv}function Bye(e){return e<100?null:new Fm(e)}function Vye(e){return e.c?VD(e.c.a,e,0):-1}function Hye(e,t){return mM(e.c.e.a,t.c.e.a)}function Uye(e,t){return mM(e.b.e.a,t.b.e.a)}function Wye(e,t){return mM(e.c-e.s,t.c-t.s)}function Gye(e,t,n){return F(e.c,72).Uk(t,n)}function jb(e,t,n){return F(e.c,72).Vk(t,n)}function Kye(e,t,n){return J_e(e,F(t,344),n)}function qye(e,t,n){return Y_e(e,F(t,344),n)}function Jye(e,t,n){return x1e(e,F(t,344),n)}function Yye(e,t,n){return C0e(e,F(t,344),n)}function Xye(e,t){return N(t,16)&&Stt(e.c,t)}function Mb(e,t){return t==null?null:Wj(e.b,t)}function Nb(e){return e==H8||e==W8||e==U8}function Pb(e){return R_(e)?(MC(e),e):e.se()}function Fb(e){return!isNaN(e)&&!isFinite(e)}function Ib(e){ghe(this),hw(this),Gk(this,e)}function Lb(e){Av(this),BSe(this.c,0,e.Nc())}function Rb(e,t,n){this.a=e,this.b=t,this.c=n}function Zye(e,t,n){this.a=e,this.b=t,this.c=n}function Qye(e,t,n){this.d=e,this.b=n,this.a=t}function $ye(e){this.a=e,gh(),gA(Date.now())}function zb(e){if(!e)throw O(new Up(Wdt))}function ebe(e,t){if(!e)throw O(new Hp(t))}function Bb(e,t){if(e!=t)throw O(new Kd)}function Vb(){Vb=C,wxt=new me,Txt=new he}function Hb(e){var t=new Ge;return t.e=e,t}function tbe(e,t){return t.ni(e.a)}function nbe(e,t,n){return bh(),e.a.Wd(t,n),t}function rbe(e){kC(e.a),kIe(e.c,e.b),e.b=null}function ibe(e){return Gz(),ak((Jpe(),kSt),e)}function abe(e){return lO(),ak((JFe(),oSt),e)}function obe(e){return jD(),ak((qFe(),rSt),e)}function sbe(e){return MD(),ak((xLe(),Nxt),e)}function cbe(e){return kj(),ak((XFe(),Uxt),e)}function lbe(e){return MO(),ak((YFe(),tSt),e)}function ube(e){return MA(),ak((wLe(),MSt),e)}function dbe(e){return hO(),ak((bPe(),qSt),e)}function fbe(e){return JD(),ak((ZFe(),PCt),e)}function pbe(e){return $F(),ak((ARe(),zCt),e)}function mbe(e){return JA(),ak((TLe(),GCt),e)}function hbe(e){return HN(),ak((CLe(),ewt),e)}function gbe(e){return pL(),ak((ZVe(),awt),e)}function _be(e){Nx.call(this,e.d,e.c,e.a,e.b)}function Ub(e){Nx.call(this,e.d,e.c,e.a,e.b)}function vbe(e,t,n){this.b=e,this.c=t,this.a=n}function Wb(e,t,n){this.b=e,this.a=t,this.c=n}function ybe(e,t,n){this.a=e,this.b=t,this.c=n}function bbe(e,t,n){this.a=e,this.b=t,this.c=n}function xbe(e,t,n){this.a=e,this.b=t,this.c=n}function Sbe(e,t,n){this.b=e,this.a=t,this.c=n}function Gb(e,t,n){this.e=t,this.b=e,this.d=n}function Cbe(e){var t=new Tf;return t.b=e,t}function Kb(){Kb=C,PX=new vee,FX=new fn}function qb(){qb=C,sTt=new Rn,oTt=new zn}function Jb(){Jb=C,hTt=new wr,gTt=new Tr}function wbe(){wbe=C,mBt=H(hJ,iB,1,0,5,1)}function Tbe(){Tbe=C,HBt=H(hJ,iB,1,0,5,1)}function Ebe(){Ebe=C,UBt=H(hJ,iB,1,0,5,1)}function Dbe(e){return Nk(),ak((xPe(),_wt),e)}function Obe(e){return Uz(),ak((Ype(),tTt),e)}function kbe(e){return qA(),ak((SLe(),aTt),e)}function Abe(e){return jA(),ak((kLe(),yTt),e)}function jbe(e){return FF(),ak((MRe(),xTt),e)}function Mbe(e){return aD(),ak((aPe(),MTt),e)}function Nbe(e){return CI(),ak((jze(),kTt),e)}function Pbe(e){return rN(),ak((ELe(),ITt),e)}function Fbe(e){return lk(),ak((fIe(),zTt),e)}function Ibe(e){return mL(),ak((AHe(),HTt),e)}function Lbe(e){return gO(),ak((oPe(),GTt),e)}function Rbe(e){return XA(),ak((pIe(),qTt),e)}function zbe(e){return Fk(),ak((tIe(),ETt),e)}function Bbe(e){return TF(),ak((Nze(),iEt),e)}function Vbe(e){return cI(),ak((Mze(),YTt),e)}function Hbe(e){return ND(),ak((iPe(),QTt),e)}function Ube(e){return aI(),ak((Pze(),dEt),e)}function Wbe(e){return WL(),ak((fUe(),fEt),e)}function Gbe(e){return kA(),ak((QFe(),pEt),e)}function Kbe(e){return YA(),ak(($Fe(),hEt),e)}function qbe(e){return uO(),ak((eIe(),_Et),e)}function Jbe(e){return pE(),ak((sPe(),bEt),e)}function Ybe(e){return YL(),ak((QVe(),OTt),e)}function Xbe(e){return nN(),ak((IRe(),FEt),e)}function Zbe(e){return kE(),ak((cPe(),LEt),e)}function Qbe(e){return kL(),ak((jHe(),tjt),e)}function $be(e){return Jj(),ak((oIe(),ijt),e)}function exe(e){return yP(),ak((DLe(),ajt),e)}function txe(e){return dP(),ak((jRe(),sjt),e)}function nxe(e){return oR(),ak((dUe(),pjt),e)}function rxe(e){return NN(),ak((OLe(),gjt),e)}function ixe(e){return YD(),ak((lPe(),vjt),e)}function axe(e){return uk(),ak((iIe(),bjt),e)}function oxe(e){return OA(),ak((rIe(),wjt),e)}function sxe(e){return Oj(),ak((nIe(),Ejt),e)}function cxe(e){return Mj(),ak((aIe(),kjt),e)}function lxe(e){return ck(),ak((sIe(),Njt),e)}function uxe(e){return PA(),ak((cIe(),Fjt),e)}function dxe(e){return qj(),ak((ALe(),nMt),e)}function fxe(e){return mE(),ak((uPe(),lMt),e)}function pxe(e){return Hw(),ak((dPe(),vMt),e)}function mxe(e){return nT(),ak((fPe(),bMt),e)}function hxe(e){return $E(),ak((pPe(),IMt),e)}function gxe(e){return Vw(),ak((mPe(),UMt),e)}function _xe(e){return oF(),ak((NLe(),GMt),e)}function vxe(e){return lR(),ak((qpe(),iNt),e)}function yxe(e){return mj(),ak((lIe(),sNt),e)}function bxe(e){return jj(),ak((MLe(),XNt),e)}function xxe(e){return zT(),ak((hPe(),$Nt),e)}function Sxe(e){return Pk(),ak((gPe(),aPt),e)}function Cxe(e){return RF(),ak((NRe(),sPt),e)}function wxe(e){return Dj(),ak((uIe(),mPt),e)}function Txe(e){return DD(),ak((_Pe(),uPt),e)}function Exe(e){return HP(),ak((jLe(),YPt),e)}function Dxe(e){return AA(),ak((hIe(),$Pt),e)}function Oxe(e){return TN(),ak((mIe(),tFt),e)}function kxe(e){return YF(),ak((PLe(),rFt),e)}function Axe(e){return GM(),ak((dIe(),lFt),e)}function jxe(e){return PE(),ak((vPe(),YFt),e)}function Mxe(e){return PD(),ak((_Ie(),$Ft),e)}function Nxe(e){return vM(),ak((gIe(),rIt),e)}function Pxe(e){return Ih(),ak((IMe(),dIt),e)}function Fxe(e){return _M(),ak((vIe(),sIt),e)}function Ixe(e){return Fh(),ak((FMe(),lIt),e)}function Lxe(e){return eD(),ak((yPe(),pIt),e)}function Rxe(e){return dI(),ak((FRe(),vIt),e)}function zxe(e){return wL(),ak((PRe(),oIt),e)}function Bxe(e){return Lh(),ak((LMe(),XIt),e)}function Vxe(e){return FA(),ak((SPe(),$It),e)}function Hxe(e){return eP(),ak((LRe(),lLt),e)}function Uxe(e){return yI(),ak((YVe(),fLt),e)}function Wxe(e){return bP(),ak((Fze(),gLt),e)}function Gxe(e){return MF(),ak((Rze(),OLt),e)}function Kxe(e){return hM(),ak((RRe(),IRt),e)}function qxe(e){return Yj(),ak((FLe(),BRt),e)}function Jxe(e){return NO(),ak((yIe(),HRt),e)}function Yxe(e){return yM(),ak((ILe(),URt),e)}function Xxe(e){return XF(),ak((zze(),XRt),e)}function Zxe(e){return Ej(),ak((bIe(),izt),e)}function Qxe(e){return sF(),ak((LLe(),szt),e)}function $xe(e){return iL(),ak((OHe(),czt),e)}function eSe(e){return tP(),ak((BRe(),dzt),e)}function tSe(e){return LF(),ak((Ize(),pzt),e)}function nSe(e){return II(),ak((Lze(),mzt),e)}function rSe(e){return Dz(),ak((zRe(),hzt),e)}function iSe(e){return BO(),ak((xIe(),Czt),e)}function aSe(e){return EN(),ak((zLe(),wzt),e)}function oSe(e){return hR(),ak((kHe(),Ezt),e)}function sSe(e){return gM(),ak((SIe(),kzt),e)}function cSe(e){return OE(),ak((RLe(),Nzt),e)}function lSe(e){return iN(),ak((BLe(),Rzt),e)}function uSe(e){return Aj(),ak((VLe(),Wzt),e)}function dSe(e,t){return MC(e),e+(MC(t),t)}function Yb(e,t){this.c=e,this.a=t,this.b=t-e}function fSe(e,t,n){this.a=e,this.c=t,this.b=n}function pSe(e,t,n){this.a=e,this.c=t,this.b=n}function mSe(e,t,n){this.a=e,this.b=t,this.c=n}function hSe(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 Xb(e,t,n){this.a=e,this.b=t,this.c=n}function _Se(e,t,n){this.a=e,this.b=t,this.c=n}function vSe(e,t,n){this.a=e,this.b=t,this.c=n}function Zb(e,t,n){this.e=e,this.a=t,this.c=n}function ySe(e,t,n){Fv(),lke.call(this,e,t,n)}function Qb(e,t,n){Fv(),yEe.call(this,e,t,n)}function bSe(e,t,n){Fv(),yEe.call(this,e,t,n)}function xSe(e,t,n){Fv(),yEe.call(this,e,t,n)}function SSe(e,t,n){Fv(),Qb.call(this,e,t,n)}function CSe(e,t,n){Fv(),Qb.call(this,e,t,n)}function wSe(e,t,n){Fv(),CSe.call(this,e,t,n)}function TSe(e,t,n){Fv(),bSe.call(this,e,t,n)}function ESe(e,t,n){Fv(),xSe.call(this,e,t,n)}function DSe(e){return nL(),ak((XVe(),lBt),e)}function $b(e,t){return aC(e),aC(t),new cue(e,t)}function ex(e,t){return aC(e),aC(t),new mCe(e,t)}function OSe(e,t){return aC(e),aC(t),new hCe(e,t)}function kSe(e,t){return aC(e),aC(t),new yue(e,t)}function ASe(e,t){Tue.call(this,e,FM(new Yp(t)))}function jSe(e,t){this.c=e,this.b=t,this.a=!1}function MSe(e){this.d=e,_l(this),this.b=zwe(e.d)}function NSe(e,t,n){this.c=e,rg.call(this,t,n)}function PSe(e){return!e.c&&(e.c=new No),e.c}function FSe(e){return!e.e&&(e.e=new Od),e.e}function tx(e){var t=new Od;return aO(t,e),t}function ISe(e){var t=new df;return aO(t,e),t}function LSe(e){var t=new _f;return Rk(t,e),t}function nx(e){var t=new ph;return Rk(t,e),t}function F(e,t){return mx(e==null||_P(e,t)),e}function RSe(e,t,n){uTe.call(this,t,n),this.a=e}function zSe(e,t,n){this.b=e,Hpe.call(this,t,n)}function BSe(e,t,n){V6e(n,0,e,t,n.length,!1)}function rx(e,t){if(!e)throw O(new Hp(t))}function ix(e,t){if(!e)throw O(new Up(t))}function VSe(e,t){if(!e)throw O(new Ip(t))}function HSe(e,t){t&&(e.b=t,e.a=(DC(t),t.a))}function ax(e,t,n,r,i){e.b=t,e.c=n,e.d=r,e.a=i}function USe(e,t,n,r,i){e.d=t,e.c=n,e.a=r,e.b=i}function WSe(e){var t,n=e.d;t=e.a,e.d=t,e.a=n}function GSe(e){var t=e.b;e.b=e.c,e.c=t}function KSe(e){return Ky(e.b!=0),DO(e,e.c.b)}function ox(e){return Ky(e.b!=0),DO(e,e.a.a)}function qSe(e,t){return FO(),mM(e.e.a,t.e.a)}function JSe(e,t){return FO(),mM(e.e.b,t.e.b)}function YSe(e,t){return Ph(),Hv(e.d.p,t.d.p)}function XSe(e,t){return Hv(wCe(e.d),wCe(t.d))}function sx(e,t){return t&&wC(e,t.d)?t:null}function ZSe(e,t){return t==(Dz(),x5)?e.c:e.d}function cx(){cx=C,aMt=(Dz(),x5),v2=t5}function QSe(){this.b=k(P(iP((CR(),qY))))}function $Se(){this.a=`;,;`,this.b=``,this.c=``}function eCe(e,t,n){mg.call(this,e,t),this.b=n}function lx(e,t,n){Cpe.call(this,e,t),this.c=n}function tCe(e){Ebe(),vo.call(this),this._h(e)}function nCe(e,t,n){this.a=e,av.call(this,t,n)}function rCe(e,t,n){this.a=e,av.call(this,t,n)}function ux(e,t,n){Cpe.call(this,e,t),this.c=n}function iCe(){QE(),SEe.call(this,(Hh(),V7))}function aCe(e){return Wz(),++W9,new Rx(0,e)}function oCe(){oCe=C,hVt=(fw(),new Ol(Nyt))}function sCe(e){return new j(e.c+e.b,e.d+e.a)}function cCe(e){return e!=null&&!eN(e,D7,O7)}function lCe(e,t){return(aKe(e)<<4|aKe(t))&JB}function uCe(e,t){var n=e.c;return jBe(e,t),n}function dCe(e,t){return e.g=t<0?-1:t,e}function dx(e,t){return vze(e),e.a*=t,e.b*=t,e}function fCe(e,t,n,r,i){e.c=t,e.d=n,e.b=r,e.a=i}function fx(e,t){return DE(e,t,e.c.b,e.c),!0}function pCe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function px(e){this.b=e,this.a=oS(this.b.a).Md()}function mCe(e,t){this.b=e,this.a=t,Ys.call(this)}function hCe(e,t){this.a=e,this.b=t,Ys.call(this)}function gCe(e,t){uTe.call(this,t,1040),this.a=e}function _Ce(e){a_e.call(this,e.length,0),this.a=e}function mx(e){if(!e)throw O(new Vp(null))}function hx(e){return AD(e.slice(),e)}function gx(e){var t=e.n;return e.a.b+t.d+t.a}function vCe(e){var t=e.n;return e.e.b+t.d+t.a}function yCe(e){var t=e.n;return e.e.a+t.b+t.c}function bCe(e){return e.a?e.a:cw(e)}function _x(e,t){return _F(e,new mg(t.a,t.b))}function xCe(e){return!IE(e)&&e.c.i.c==e.d.i.c}function SCe(e,t){return e.c=t)throw O(new Nf)}function tTe(e,t,n){e.a.Mb(n)&&(e.b=!0,t.Ad(n))}function nTe(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function rTe(e){return e.e?NFe(e.e):null}function iTe(e,t,n){return jdt(e,F(t,12),F(n,12))}function aTe(e,t,n){t.of(n,k(P(pC(e.b,n)))*e.a)}function oTe(e,t,n){return GL(),iA(e,t)&&iA(e,n)}function sTe(e,t){t.Tg(`General 'Rotator`,1),glt(e)}function yS(e,t,n,r){var i=e.i;i.i=t,i.a=n,i.b=r}function cTe(e){for(var t=e;t.f;)t=t.f;return t}function lTe(e,t){this.e=e,this.d=t&64?t|yB:t}function uTe(e,t){this.c=0,this.d=e,this.b=t|64|yB}function bS(e){this.b=new pD(11),this.a=(pw(),e)}function xS(e){this.b=null,this.a=(pw(),e||hxt)}function dTe(e){this.a=lXe(e.a),this.b=new Lb(e.b)}function fTe(e){this.b=e,Ny.call(this,e),pge(this)}function pTe(e){this.b=e,Fy.call(this,e),mge(this)}function SS(e,t,n){this.a=e,Eb.call(this,t,n,5,6)}function CS(e,t,n,r,i){bD.call(this,e,t,n,r,i,-1)}function wS(e,t,n,r,i){xD.call(this,e,t,n,r,i,-1)}function I(e,t,n,r){oy.call(this,e,t,n),this.b=r}function TS(e,t,n,r){lx.call(this,e,t,n),this.b=r}function mTe(e){_pe.call(this,e,!1),this.a=!1}function hTe(){A_.call(this,`LAYOUT_NEXT_LEVEL`,3)}function gTe(e,t,n,r){this.b=e,oy.call(this,t,n,r)}function _Te(e,t){this.b=e,jc.call(this,e.b),this.a=t}function ES(e,t){var n=e.a.gc();return bFe(t,n),n-t}function DS(e,t){return t.Sh()?Qj(e.b,F(t,52)):t}function vTe(e,t){return kb(e.substr(0,t.length),t)}function OS(e){return new uS(new bge(e.a.length,e.a))}function kS(e){return new j(e.c+e.b/2,e.d+e.a/2)}function yTe(e){return Uv(~e.l&vV,~e.m&vV,~e.h&yV)}function AS(e){return typeof e===Yz||typeof e===Qz}function jS(e,t){return z_(t)?ww(e,t):!!Yx(e.f,t)}function MS(e,t){return Wz(),++W9,new wEe(e,t,0)}function NS(e,t){return Wz(),++W9,new wEe(6,e,t)}function PS(e,t){for(MC(t);e.Ob();)t.Ad(e.Pb())}function FS(e,t,n){iR(),this.e=e,this.d=t,this.a=n}function L(e,t,n,r){jWe(t,n,e.length),xTe(e,t,n,r)}function IS(e,t,n){return Dk(e.a,t),MCe(e.b,t.g,n)}function LS(e,t){return e.a.yc(t,e)==null}function bTe(e,t){for(var n=0;n0?r.Math.log(e/t):-100}function zS(e){return new Mx(null,PTe(e,e.length))}function BS(e){e.f=new Sme(e),e.i=new Cme(e),++e.g}function TTe(e){if(!e)throw O(new Qd);return e.d}function ETe(e,t){if(e==null)throw O(new Wp(t))}function DTe(e,t){return t?Gk(e,t):!1}function VS(e){return II(),!e.Gc(X8)&&!e.Gc(Q8)}function HS(e){Gy(e.b!=-1),KE(e.c,e.a=e.b),e.b=-1}function US(e,t,n){return AWe(e,t.g,n),Dk(e.c,t),e}function OTe(e,t,n){xlt(e.a,e.b,e.d,e.c,F(t,170),n)}function WS(e,t){Mhe(e,N(t,163)?t:F(t,2001).Pl())}function kTe(e){return Cz(e,(hM(),i8)),e.d=!0,e}function GS(e){return!e.j&&lae(e,Qnt(e.g,e.b)),e.j}function KS(e){var t=rj(e);return Ky(t!=null),t}function ATe(e){var t=pKe(e);return Ky(t!=null),t}function jTe(e,t,n){var r=pO(e,t);return HNe(e,t,n),r}function qS(e,t){this.d=e,uy.call(this,e),this.e=t}function MTe(e,t){Ed.call(this,1),this.a=e,this.b=t}function NTe(e,t){return Gj(e,t)<0?-1:+(Gj(e,t)>0)}function PTe(e,t){return lze(t,e.length),new gCe(e,t)}function JS(e){return e.e==0?e:new FS(-e.e,e.d,e.a)}function FTe(e){return e==DV?eJ:e==OV?`-INF`:``+e}function ITe(e){return e==DV?eJ:e==OV?`-INF`:``+e}function LTe(e,t){return mM(e.c.c+e.c.b,t.c.c+t.c.b)}function YS(e,t){DE(e.d,t,e.b.b,e.b),++e.a,e.c=null}function RTe(e,t){return e.c?RTe(e.c,t):ry(e.b,t),e}function XS(e,t){xh(QC(e.Mc(),new nte),new Pu(t))}function ZS(e,t,n,r,i){HF(e,F(VE(t.k,n),16),n,r,i)}function zTe(e,t,n,r,i){for(;t=e.g}function gC(e,t,n){return snt(e,eVe(e,t,n))}function _C(e,t){var n=e.a.length;pO(e,n),HNe(e,n,t)}function _Ee(e,t){var n;++e.j,n=e.Cj(),e.pj(e.Xi(n,t))}function vEe(e,t,n){F(t.b,68),kO(t.a,new hSe(e,n,t))}function yEe(e,t,n){xd.call(this,t),this.a=e,this.b=n}function bEe(e,t,n){this.a=e,bd.call(this,t),this.b=n}function xEe(e,t,n){this.a=e,TMe.call(this,8,t,null,n)}function SEe(e){this.a=(MC(Oq),Oq),this.b=e,new Yf}function CEe(e){this.c=e,this.a=new ph,this.b=new ph}function wEe(e,t,n){Ed.call(this,e),this.a=t,this.b=n}function vC(e){if(e==null)throw O(new Xd);this.a=e}function TEe(e){return!e.a&&(e.a=new oy(G5,e,4)),e.a}function yC(e){return!e.d&&(e.d=new oy(z7,e,1)),e.d}function bC(e,t){return e.a+=String.fromCharCode(t),e}function xC(e,t){return e.a+=String.fromCharCode(t),e}function SC(e){if(e==null)throw O(new Xd);return e}function EEe(e){return z9?ww(z9,e):!1}function DEe(e){return e?e.dc():!e.Jc().Ob()}function OEe(e){return SC(e),N(e,472)?F(e,472):XM(e)}function kEe(e){return N(e,103)&&(F(e,19).Bb&xK)!=0}function CC(e){return r.Math.sqrt(e.a*e.a+e.b*e.b)}function wC(e,t){return rF(e.c,e.f,t,e.b,e.a,e.e,e.d)}function TC(e,t){return vS(t,e.a.c.length),kx(e.a,t)}function EC(e,t){return M(e)===M(t)||e!=null&&aM(e,t)}function AEe(e,t){Zx(F(t.b,68),e),kO(t.a,new au(e))}function DC(e){e.c?DC(e.c):(AM(e),e.d=!0)}function OC(e){e.c?e.c.Ye():(e.d=!0,u9e(e))}function jEe(e){bDe(e.a),e.b=H(hJ,iB,1,e.b.length,5,1)}function kC(e){Gy(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function MEe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function NEe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function AC(){op.call(this),rf(this.j.c,0),this.a=-1}function PEe(){rh.call(this,`DELAUNAY_TRIANGULATION`,0)}function FEe(e,t){var n=e.Fh(t);n>=0?e.hi(n):V3e(e,t)}function IEe(e){return e.c.i.c==e.d.i.c}function jC(e){return!e.a&&e.c?e.c.b:e.a}function LEe(e){return 0>=e?new Vue:RBe(e-1)}function MC(e){if(e==null)throw O(new Xd);return e}function REe(e){if(e.p!=6)throw O(new Yd);return e.f}function zEe(e){if(e.p!=6)throw O(new Yd);return e.k}function BEe(e){if(e.p!=3)throw O(new Yd);return e.e}function VEe(e){if(e.p!=4)throw O(new Yd);return e.e}function HEe(e){if(e.p!=4)throw O(new Yd);return e.j}function UEe(e){if(e.p!=3)throw O(new Yd);return e.j}function WEe(e){return!e.b&&(e.b=new _d(new Zf)),e.b}function NC(e){return e.c==-2&&ml(e,k0e(e.g,e.b)),e.c}function PC(e,t){var n=iC(``,e);return n.n=t,n.i=1,n}function FC(e,t,n,r){eh.call(this,e,n),this.a=t,this.f=r}function GEe(e,t,n,r){eh.call(this,e,t),this.d=n,this.a=r}function KEe(e,t){this.b=e,qS.call(this,e,t),pge(this)}function qEe(e,t){this.b=e,Rye.call(this,e,t),mge(this)}function JEe(){z0e.call(this,Iq,(Lm(),NBt)),yot(this)}function YEe(){z0e.call(this,Yq,(vle(),bVt)),Cst(this)}function XEe(e,t){zhe.call(this,zBe(aC(e),aC(t))),this.a=t}function ZEe(e,t){e.c<0||e.b.b0;)e=e<<1|e<0;return e}function dDe(e,t){e.u.Gc((II(),X8))&&c6e(e,t),UFe(e,t)}function fDe(e,t){RKe(e,k(nk(t,`x`)),k(nk(t,`y`)))}function pDe(e,t){RKe(e,k(nk(t,`x`)),k(nk(t,`y`)))}function mDe(){return Lh(),W(A(YIt,1),Z,528,0,[A3])}function hDe(){return Ih(),W(A(uIt,1),Z,547,0,[x3])}function gDe(){return Fh(),W(A(cIt,1),Z,477,0,[b3])}function GC(){GC=C,kbt=new Tde(W(A(bJ,1),DB,45,0,[]))}function _De(e){return e!=null&&ch(k7,e.toLowerCase())}function vDe(e,t){return new mOe(F(aC(e),51),F(aC(t),51))}function yDe(e,t,n){var r=F(e.d.Kb(n),162);r&&r.Nb(t)}function bDe(e){for(var t=e.Jc();t.Ob();)t.Pb(),t.Qb()}function KC(e){var t=e.b;return!t&&(e.b=t=new Cie(e)),t}function qC(e){return e.e==Xq&&oae(e,iYe(e.g,e.b)),e.e}function JC(e){return e.f==Xq&&cae(e,wQe(e.g,e.b)),e.f}function YC(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function xDe(e,t){this.b=e,this.c=t,this.a=new fh(this.b)}function XC(e,t,n){this.a=oft,this.d=e,this.b=t,this.c=n}function SDe(e,t){this.d=(MC(e),e),this.a=16449,this.c=t}function CDe(e,t){return mM(e.d.c+e.d.b/2,t.d.c+t.d.b/2)}function wDe(e,t){return mM(e.g.c+e.g.b/2,t.g.c+t.g.b/2)}function TDe(e,t){return ede(),mM((MC(e),e),(MC(t),t))}function ZC(e,t){return AM(e),new Mx(e,new vLe(t,e.a))}function QC(e,t){return AM(e),new Mx(e,new jFe(t,e.a))}function $C(e,t){return AM(e),new ave(e,new kFe(t,e.a))}function ew(e,t){return AM(e),new ove(e,new AFe(t,e.a))}function EDe(e,t,n){dot(e.a,n),GHe(n),U8e(e.b,n),zot(t,n)}function tw(e,t,n,r){this.a=e,this.c=t,this.b=n,this.d=r}function DDe(e,t,n,r){this.c=e,this.b=t,this.a=n,this.d=r}function ODe(e,t,n,r){this.c=e,this.b=t,this.d=n,this.a=r}function nw(e,t,n,r){this.a=e,this.e=t,this.d=n,this.c=r}function kDe(e,t,n,r){this.a=e,this.d=t,this.c=n,this.b=r}function rw(e,t,n,r){this.c=e,this.d=t,this.b=n,this.a=r}function iw(e,t,n,r){rh.call(this,e,t),this.a=n,this.b=r}function ADe(e,t,n,r){XUe.call(this,e,n,r,!1),this.f=t}function aw(e,t,n){var r=eut(e);return t.qi(n,r)}function ow(e){var t,n=(t=new jd,t);return IO(n,e),n}function sw(e){var t,n=(t=new jd,t);return Q0e(n,e),n}function jDe(e){return!e.b&&(e.b=new I(Z5,e,12,3)),e.b}function cw(e){return WBe(e)||null}function MDe(e){Jb();var t=F(e.g,9);t.n.a=e.d.c+t.d.b}function NDe(e){this.a=new Od,this.e=H(q9,vB,54,e,0,2)}function lw(e){this.f=e,this.c=this.f.e,e.f>0&&c$e(this)}function PDe(e,t,n,r){this.a=e,this.c=t,this.d=n,this.b=r}function FDe(e,t,n,r){this.a=e,this.b=t,this.d=n,this.c=r}function IDe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function LDe(e,t,n,r){this.a=e,this.b=t,this.c=n,this.d=r}function uw(e,t,n,r){this.e=e,this.a=t,this.c=n,this.d=r}function RDe(e,t,n,r){Fv(),wFe.call(this,t,n,r),this.a=e}function zDe(e,t,n,r){Fv(),wFe.call(this,t,n,r),this.a=e}function BDe(e,t){this.a=e,nve.call(this,e,F(e.d,16).dd(t))}function VDe(e,t){return mM(Ux(e)*Hx(e),Ux(t)*Hx(t))}function HDe(e,t){return mM(Ux(e)*Hx(e),Ux(t)*Hx(t))}function dw(e){return e.f||=new $m(e,e.c)}function fw(){fw=C,nY=new ae,rY=new se,iY=new w}function pw(){pw=C,hxt=new le,oY=new le,gxt=new ue}function mw(e){if($M(e.d),e.d.d!=e.c)throw O(new Kd)}function UDe(e){return Ky(e.b0?HE(e):new Od}function JDe(e,t){return F(q(e,(X(),t$)),16).Ec(t),t}function YDe(e,t){return GI(e,F(q(t,(zz(),q1)),15),t)}function XDe(e){return UI(e)&&Gp(nb(Y(e,(zz(),w1))))}function ZDe(e,t,n){return Nh(),tqe(F(pC(e.e,t),517),n)}function QDe(e,t,n){e.i=0,e.e=0,t!=n&&KUe(e,t,n)}function $De(e,t,n){e.i=0,e.e=0,t!=n&&qUe(e,t,n)}function eOe(e,t,n,r){this.b=e,this.c=r,$_.call(this,t,n)}function tOe(e,t){this.g=e,this.d=W(A(SX,1),mU,9,0,[t])}function nOe(e,t){e.d&&!e.d.a&&(vse(e.d,t),nOe(e.d,t))}function rOe(e,t){e.e&&!e.e.a&&(vse(e.e,t),rOe(e.e,t))}function iOe(e,t){return eM(e.j,t.s,t.c)+eM(t.e,e.s,e.c)}function aOe(e){return F(e.jd(),147).Og()+`:`+XM(e.kd())}function oOe(e,t){return-mM(Ux(e)*Hx(e),Ux(t)*Hx(t))}function sOe(e,t){return Cj(e),Cj(t),sce(F(e,24),F(t,24))}function _w(e,t,n){vO(e,t,new Kc(Pb(n)))}function cOe(e,t){new ph,this.a=new Uf,this.b=e,this.c=t}function lOe(e){this.b=new Od,VA(this.b,this.b),this.a=e}function uOe(e){this.b=new li,this.a=e,r.Math.random()}function dOe(){oI(this,new yc),this.wb=(eC(),K7),Lm()}function fOe(){wp.call(this,`There is no more element.`)}function pOe(e,t,n,r){Cpe.call(this,t,n),this.b=e,this.a=r}function vw(e,t,n,r,i,a){xD.call(this,e,t,n,r,i,a?-2:-1)}function yw(e){return!e.a&&(e.a=new I(s7,e,10,11)),e.a}function bw(e){return!e.q&&(e.q=new I(B7,e,11,10)),e.q}function z(e){return!e.s&&(e.s=new I(M7,e,21,17)),e.s}function xw(e,t){if(e==null)throw O(new Wp(t));return e}function mOe(e,t){$se.call(this,new xS(e)),this.a=e,this.b=t}function hOe(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function gOe(e){cm(),r.setTimeout(function(){throw e},0)}function _Oe(e){return aC(e),HXe(new uS(py(e.a.Jc(),new f)))}function Sw(e){return fw(),N(e,59)?new hm(e):new yy(e)}function Cw(e){return N(e,18)?new jx(F(e,18)):ISe(e.Jc())}function vOe(e){return new _ge(e,e.e.Pd().gc()*e.c.Pd().gc())}function yOe(e){return new vge(e,e.e.Pd().gc()*e.c.Pd().gc())}function bOe(e){return e&&e.hashCode?e.hashCode():Ty(e)}function ww(e,t){return t==null?!!Yx(e.f,null):ywe(e.i,t)}function xOe(e,t){var n=Nhe(e.a,t);return n&&(t.d=null),n}function SOe(e,t,n){return e.f?e.f.cf(t,n):!1}function Tw(e,t,n,r){fC(e.c[t.g],n.g,r),fC(e.c[n.g],t.g,r)}function Ew(e,t,n,r){fC(e.c[t.g],t.g,n),fC(e.b[t.g],t.g,r)}function COe(e){e.Tg(`No crossing minimization`,1),e.Ug()}function wOe(e){this.c=e,this.b=new Gm(F(aC(new He),51))}function TOe(e){this.c=e,this.b=new Gm(F(aC(new _t),51))}function EOe(e){this.b=e,this.a=new Gm(F(aC(new nt),51))}function DOe(){this.b=new df,this.d=new ph,this.e=new Pf}function OOe(){this.d=new ph,this.b=new kd,this.c=new Od}function kOe(){this.c=new Nm,this.d=new Nm,this.e=new Nm}function Dw(){this.a=new Uf,this.b=(_k(3,FB),new pD(3))}function Ow(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function AOe(e,t,n,r,i,a){this.a=e,mk.call(this,t,n,r,i,a)}function jOe(e,t,n,r,i,a){this.a=e,mk.call(this,t,n,r,i,a)}function kw(e,t){this.e=e,this.a=hJ,this.b=cnt(t),this.c=t}function MOe(e,t){return N(t,147)&&kb(e.b,F(t,147).Og())}function NOe(e,t){return e.a?t.Dh().Jc():F(t.Dh(),72).Gi()}function POe(e,t,n){return k(P(n.a))<=e&&k(P(n.b))>=t}function FOe(e,t,n){return n>=0&&kb(e.substr(n,t.length),t)}function Aw(e,t,n,r,i,a,o){return new $Ne(e.e,t,n,r,i,a,o)}function jw(e,t,n){return uD(t,n,e.length),e.substr(t,n-t)}function Mw(e,t){var n=Um(e.Pm);return t==null?n:n+`: `+t}function IOe(e,t){var n=e.b.Oc(t);return zNe(n,e.b.gc()),n}function Nw(e,t){if(e==null)throw O(new Wp(t));return e}function Pw(e){return e.u||=(LE(e),new Eve(e,e)),e.u}function Fw(e){return F(yA(e,16),29)||e.fi()}function LOe(e){!e||Mw(e,e.ge())}function ROe(){ROe=C,Yxt=new Fe,Zxt=new Pwe,Xxt=new Ve}function Iw(){Iw=C;var e,t=!bJe();e=new b,Fbt=t?new y:e}function zOe(){return aD(),W(A(jTt,1),Z,422,0,[ATt,BZ])}function BOe(){return gO(),W(A(WTt,1),Z,419,0,[$Z,UTt])}function VOe(){return ND(),W(A(ZTt,1),Z,476,0,[XTt,lQ])}function HOe(){return pE(),W(A(yEt,1),Z,420,0,[PQ,vEt])}function UOe(){return kE(),W(A(IEt,1),Z,423,0,[z$,R$])}function WOe(){return YD(),W(A(_jt,1),Z,421,0,[$0,e2])}function GOe(){return mE(),W(A(cMt,1),Z,519,0,[b2,y2])}function KOe(){return Hw(),W(A(_Mt,1),Z,510,0,[w2,C2])}function qOe(){return nT(),W(A(yMt,1),Z,509,0,[T2,E2])}function JOe(){return $E(),W(A(FMt,1),Z,516,0,[A2,k2])}function YOe(){return Vw(),W(A(HMt,1),Z,454,0,[j2,M2])}function XOe(){return zT(),W(A(QNt,1),Z,425,0,[v4,ZNt])}function ZOe(){return Pk(),W(A(iPt,1),Z,487,0,[b4,x4])}function QOe(){return DD(),W(A(lPt,1),Z,426,0,[cPt,D4])}function $Oe(){return PE(),W(A(JFt,1),Z,478,0,[c3,qFt])}function eke(){return eD(),W(A(fIt,1),Z,428,0,[C3,S3])}function tke(){return hO(),W(A(KSt,1),Z,424,0,[VY,HY])}function nke(){return Nk(),W(A(gwt,1),Z,503,0,[NX,MX])}function rke(){return FA(),W(A(QIt,1),Z,427,0,[j3,ZIt])}function Lw(e,t,n,r){return n>=0?e.Rh(t,n,r):e.zh(null,n,r)}function Rw(e){return e.b.b==0?e.a.uf():ox(e.b)}function ike(e){if(e.p!=5)throw O(new Yd);return Wx(e.f)}function ake(e){if(e.p!=5)throw O(new Yd);return Wx(e.k)}function oke(e){return M(e.a)===M((Zk(),GBt))&&_st(e),e.a}function ske(e,t){sl(this,new j(e.a,e.b)),Jie(this,nx(t))}function cke(e,t){Sb.call(this),yze(this),this.a=e,this.c=t}function lke(e,t,n){Fv(),xd.call(this,t),this.a=e,this.b=n}function zw(e,t,n){Wz(),Ed.call(this,e),this.b=t,this.a=n}function Bw(){vp.call(this,new yh(hA(12))),cge(!0),this.a=2}function uke(){A_.call(this,`FIXED_INTEGER_RATIO_BOXES`,2)}function Vw(){Vw=C,j2=new Ofe(oH,0),M2=new Ofe(sH,1)}function Hw(){Hw=C,w2=new Sfe(sH,0),C2=new Sfe(oH,1)}function dke(e,t){e.c=t,e.c>0&&e.b>0&&(e.g=Fx(e.c,e.b,e.a))}function fke(e,t){e.b=t,e.c>0&&e.b>0&&(e.g=Fx(e.c,e.b,e.a))}function pke(e){var t=e.c.d.b;e.b=t,e.a=e.c.d,t.a=e.c.d.b=e}function Uw(e){var t;dBe(e.a),Pme(e.a),t=new nu(e.a),aN(t)}function Ww(e,t){return t==null?V_(Yx(e.f,null)):tg(e.i,t)}function mke(e){return e.b==0?null:(Ky(e.b!=0),DO(e,e.a.a))}function Gw(e){return Math.max(Math.min(e,$z),-2147483648)|0}function hke(e,t,n,r,i){return new mI(e,(MD(),uY),t,n,r,i)}function Kw(e,t){return UNe(t),eBe(e,H(q9,cV,30,t,15,1),t)}function gke(e,t){return FO(),F(q(t,(AR(),p4)),15).a==e}function _ke(e,t){Ptt(e,!0),kO(e.e.Pf(),new vbe(e,!0,t))}function qw(e,t){return xw(e,`set1`),xw(t,`set2`),new Eue(e,t)}function vke(e,t){return OJ[e.charCodeAt(0)]??e}function yke(e,t){return wb(Xy(kze(e.f,t)),e.f.d)}function bke(e,t){var n=t,r=new _e;return jct(e,n,r),r.d}function Jw(e,t,n,r){var i=new Gve;t.a[n.g]=i,IS(e.b,r,i)}function xke(e,t,n){var r=e.Fh(t);r>=0?e.$h(r,n):x7e(e,t,n)}function Yw(e,t,n){mT(),e&&LC(x7,e,t),e&&LC(b7,e,n)}function Ske(e,t,n){this.i=new Od,this.b=e,this.g=t,this.a=n}function Xw(e,t,n){this.c=new Od,this.e=e,this.f=t,this.b=n}function Cke(e,t,n){this.a=new Od,this.e=e,this.f=t,this.c=n}function wke(e){Sb.call(this),yze(this),this.a=e,this.c=!0}function Tke(e){this.a=F(aC(e),277),this.b=(fw(),new Nge(e))}function Eke(e,t){Gv(this),this.f=t,this.g=e,gw(this),this.he()}function Zw(e,t){var n=e.q.getHours();e.q.setDate(t),LR(e,n)}function Dke(e,t){var n;for(aC(t),n=e.a;n;n=n.c)t.Wd(n.g,n.i)}function Oke(e){var t=new Wm(hA(e.length));return NUe(t,e),t}function kke(e){function t(){}return t.prototype=e||{},new t}function Ake(e,t){return BHe(e,t)?(oBe(e),!0):!1}function Qw(e,t){if(t==null)throw O(new Xd);return AJe(e,t)}function jke(e){if(e.ye())return null;var t=e.n;return mJ[t]}function $w(e){return e.Db>>16==3?F(e.Cb,26):null}function eT(e){return e.Db>>16==9?F(e.Cb,26):null}function Mke(e){return e.Db>>16==6?F(e.Cb,85):null}function Nke(e,t){var n=e.Fh(t);return n>=0?e.Th(n):VI(e,t)}function tT(e,t,n){e.b=new Ak(LUe(e,t,n).c.length)}function nT(){nT=C,T2=new Cfe(pH,0),E2=new Cfe(`UP`,1)}function Pke(){Pke=C,Dbt=Rj((sm(),W(A(Ebt,1),Z,538,0,[TJ])))}function Fke(e){this.a=e,this.b=H(rMt,vB,2008,e.e.length,0,2)}function Ike(){this.a=new mv,this.e=new df,this.g=0,this.i=0}function Lke(e){return!e.a&&(e.a=new I(s7,e,10,11)),e.a.i>0}function rT(e,t){return r.Math.abs(e)>16==7?F(e.Cb,241):null}function iT(e){return e.Db>>16==6?F(e.Cb,241):null}function Kke(e){return e.Db>>16==7?F(e.Cb,174):null}function qke(e){return e.Db>>16==3?F(e.Cb,158):null}function aT(e){return e.Db>>16==11?F(e.Cb,26):null}function oT(e){return e.Db>>16==17?F(e.Cb,29):null}function Jke(e){var t;return AM(e),t=new df,ZC(e,new bae(t))}function Yke(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.te(t))}function Xke(e,t){var n=e.q.getHours();e.q.setMonth(t),LR(e,n)}function sT(e,t){e.c&&BD(e.c.g,e),e.c=t,e.c&&ry(e.c.g,e)}function cT(e,t){e.c&&BD(e.c.a,e),e.c=t,e.c&&ry(e.c.a,e)}function lT(e,t){e.d&&BD(e.d.e,e),e.d=t,e.d&&ry(e.d.e,e)}function uT(e,t){e.i&&BD(e.i.j,e),e.i=t,e.i&&ry(e.i.j,e)}function dT(e,t,n){return t==null?kI(e.f,null,n):jM(e.i,t,n)}function fT(e,t,n,r,i,a){return new ZD(e.e,t,e.Jj(),n,r,i,a)}function Zke(e){return wj(),by(),F(e.a,82).d.e!=0}function Qke(e,t){this.a=e,this.c=Jv(this.a),this.b=new Ow(t)}function $ke(e,t,n){this.a=t,this.c=e,this.b=(aC(n),new Lb(n))}function eAe(e,t,n){this.a=t,this.c=e,this.b=(aC(n),new Lb(n))}function pT(e,t){if(e<0||e>t)throw O(new Fp(Pft+e+Fft+t))}function mT(){mT=C,x7=new kd,b7=new kd,kpe(yxt,new ire)}function tAe(){tAe=C,Ijt=tS(new AC,($F(),oX),(Uz(),tZ))}function nAe(){nAe=C,Ljt=tS(new AC,($F(),oX),(Uz(),tZ))}function rAe(){rAe=C,Rjt=tS(new AC,($F(),oX),(Uz(),tZ))}function iAe(){iAe=C,zjt=tS(new AC,($F(),oX),(Uz(),tZ))}function aAe(){aAe=C,Vjt=tS(new AC,($F(),oX),(Uz(),tZ))}function oAe(){oAe=C,Hjt=tS(new AC,($F(),oX),(Uz(),tZ))}function sAe(){sAe=C,uMt=Sx(new AC,($F(),oX),(Uz(),zX))}function hT(){hT=C,pMt=Sx(new AC,($F(),oX),(Uz(),zX))}function cAe(){cAe=C,gMt=Sx(new AC,($F(),oX),(Uz(),zX))}function gT(){gT=C,xMt=Sx(new AC,($F(),oX),(Uz(),zX))}function lAe(){lAe=C,ePt=tS(new AC,(oF(),F2),(lR(),JMt))}function _T(e,t,n,r){this.c=e,this.d=r,bT(this,t),xT(this,n)}function vT(e){this.c=new ph,this.b=e.b,this.d=e.c,this.a=e.a}function yT(e){this.a=r.Math.cos(e),this.b=r.Math.sin(e)}function bT(e,t){e.a&&BD(e.a.k,e),e.a=t,e.a&&ry(e.a.k,e)}function xT(e,t){e.b&&BD(e.b.f,e),e.b=t,e.b&&ry(e.b.f,e)}function uAe(e,t){vEe(e,e.b,e.c),F(e.b.b,68),t&&F(t.b,68).b}function dAe(e,t){HKe(e,t),N(e.Cb,88)&&MI(LE(F(e.Cb,88)),2)}function ST(e,t){N(e.Cb,88)&&MI(LE(F(e.Cb,88)),4),zk(e,t)}function CT(e,t){N(e.Cb,184)&&(F(e.Cb,184).tb=null),zk(e,t)}function fAe(e,t){var n=F(Wj(dw(e.a),t),18);return n?n.gc():0}function pAe(e){var t,n=(Lm(),t=new jd,t);return IO(n,e),n}function mAe(e){var t,n=(Lm(),t=new jd,t);return IO(n,e),n}function hAe(e){for(var t;;)if(t=e.Pb(),!e.Ob())return t}function wT(e){return iR(),Gj(e,0)>=0?yN(e):JS(yN(RD(e)))}function gAe(e,t){Zhe(e,Wx(FT(fS(t,24),UV)),Wx(FT(t,UV)))}function _Ae(e,t){return mM(F(e.c,65).c.e.b,F(t.c,65).c.e.b)}function vAe(e,t){return mM(F(e.c,65).c.e.a,F(t.c,65).c.e.a)}function TT(e,t){return qh(),iO(t)?new Cx(t,e):new W_(t,e)}function yAe(e,t,n){return new mI(e,(MD(),lY),null,!1,t,n)}function bAe(e,t,n){return new mI(e,(MD(),dY),t,n,null,!1)}function xAe(e,t,n){var r;QGe(t,n,e.c.length),r=n-t,Ple(e.c,t,r)}function ET(e,t,n){QGe(t,n,e.gc()),this.c=e,this.a=t,this.b=n-t}function DT(e,t){this.b=(MC(e),e),this.a=(t&kV)==0?t|64|yB:t}function OT(e,t){if(e<0||e>=t)throw O(new Fp(Pft+e+Fft+t))}function kT(e,t){if(e<0||e>=t)throw O(new Tce(Pft+e+Fft+t))}function SAe(e,t){t.c!=null&&_C(e,new vC(t.c))}function CAe(e,t,n){var r=new pv(n.d);wb(r,e),RKe(t,r.a,r.b)}function wAe(e){var t;return AM(e),t=(pw(),pw(),oY),SO(e,t)}function AT(e){return sj(W(A(J3,1),vB,8,0,[e.i.n,e.n,e.a]))}function TAe(){return JD(),W(A(NCt,1),Z,384,0,[eX,$Y,tX])}function EAe(){return kj(),W(A(gY,1),Z,130,0,[Vxt,hY,Hxt])}function DAe(){return MO(),W(A(CY,1),Z,237,0,[bY,xY,SY])}function OAe(){return jD(),W(A(nSt,1),Z,461,0,[DY,EY,OY])}function kAe(){return lO(),W(A(aSt,1),Z,462,0,[jY,AY,kY])}function AAe(){return Jj(),W(A(rjt,1),Z,352,0,[M0,njt,N0])}function jAe(){return kA(),W(A(DQ,1),Z,302,0,[TQ,EQ,wQ])}function MAe(){return YA(),W(A(AQ,1),Z,329,0,[kQ,mEt,OQ])}function NAe(){return uO(),W(A(gEt,1),Z,316,0,[MQ,NQ,jQ])}function PAe(){return Fk(),W(A(CZ,1),Z,368,0,[SZ,xZ,bZ])}function FAe(){return Oj(),W(A(Tjt,1),Z,348,0,[s2,a2,o2])}function IAe(){return OA(),W(A(Cjt,1),Z,381,0,[xjt,i2,Sjt])}function LAe(){return uk(),W(A(yjt,1),Z,452,0,[r2,t2,n2])}function RAe(){return Mj(),W(A(Ojt,1),Z,349,0,[c2,Djt,l2])}function zAe(){return ck(),W(A(Mjt,1),Z,351,0,[jjt,u2,Ajt])}function BAe(){return PA(),W(A(Pjt,1),Z,382,0,[f2,p2,d2])}function VAe(){return mj(),W(A(oNt,1),Z,385,0,[aNt,B2,z2])}function HAe(){return Dj(),W(A(pPt,1),Z,386,0,[O4,dPt,fPt])}function UAe(){return GM(),W(A(cFt,1),Z,387,0,[sFt,$4,oFt])}function WAe(){return lk(),W(A(RTt,1),Z,350,0,[LTt,WZ,UZ])}function GAe(){return XA(),W(A(KTt,1),Z,449,0,[tQ,eQ,nQ])}function KAe(){return TN(),W(A(eFt,1),Z,436,0,[L4,R4,z4])}function qAe(){return AA(),W(A(QPt,1),Z,304,0,[I4,ZPt,XPt])}function JAe(){return vM(),W(A(nIt,1),Z,430,0,[eIt,tIt,u3])}function YAe(){return PD(),W(A(QFt,1),Z,429,0,[l3,ZFt,XFt])}function XAe(){return _M(),W(A(y3,1),Z,435,0,[g3,_3,v3])}function ZAe(){return NO(),W(A(VRt,1),Z,279,0,[d8,f8,p8])}function QAe(){return Ej(),W(A(rzt,1),Z,347,0,[S8,x8,C8])}function $Ae(){return BO(),W(A(Szt,1),Z,300,0,[C5,w5,xzt])}function eje(){return gM(),W(A(Ozt,1),Z,281,0,[Dzt,z5,B5])}function jT(e){return Nh(),N(e.g,9)?F(e.g,9):null}function tje(e){return e.a==(QE(),h9)&&pl(e,wtt(e.g,e.b)),e.a}function MT(e){return e.d==(QE(),h9)&&iae(e,nat(e.g,e.b)),e.d}function nje(e,t){var n=(MC(e),e).g;return d_e(!!n),MC(t),n(t)}function rje(e,t,n){var r=new Di;r.b=t,r.a=n,++t.b,ry(e.d,r)}function ije(e,t,n){var r=WR(e,t,!1);return r.b<=t&&r.a<=n}function aje(e,t){var n,r=ES(e,t);return n=e.a.dd(r),new Cue(e,n)}function oje(e){return e.Db>>16==6?F(tL(e),241):null}function sje(e){if(e.p!=2)throw O(new Yd);return Wx(e.f)&JB}function cje(e){if(e.p!=2)throw O(new Yd);return Wx(e.k)&JB}function NT(e){return aC(e),N(e,18)?new Lb(F(e,18)):tx(e.Jc())}function PT(e){Ex(),this.a=(fw(),N(e,59)?new hm(e):new yy(e))}function FT(e,t){return pA(qwe(dv(e)?CA(e):e,dv(t)?CA(t):t))}function IT(e,t){return pA(Jwe(dv(e)?CA(e):e,dv(t)?CA(t):t))}function LT(e,t){return pA(Ywe(dv(e)?CA(e):e,dv(t)?CA(t):t))}function lje(e,t){return vwe(e.a,t)?MCe(e.b,F(t,24).g,null):null}function uje(e){return IM(dS(gA(_L(e,32)),32),gA(_L(e,32)))}function dje(e){var t=F(hx(e.b),10);return new Rb(e.a,t,e.c)}function fje(e,t){mut(e,t,k(P(e.a.mf((Hz(),Y6)))))}function pje(e,t){FS.call(this,1,2,W(A(q9,1),cV,30,15,[e,t]))}function mje(e,t){Qse.call(this,new yh(hA(e))),_k(t,Xdt),this.a=t}function hje(e,t,n){Ed.call(this,25),this.b=e,this.a=t,this.c=n}function RT(e){Wz(),Ed.call(this,e),this.c=!1,this.a=!1}function gje(){this.c=new dhe,this.a=new DFe,this.b=new Of,tde()}function zT(){zT=C,v4=new Ffe(`DFS`,0),ZNt=new Ffe(`BFS`,1)}function _je(e){return e.b==null||e.b.length==0?`n_`+e.a:`n_`+e.b}function BT(e){return F(qN(e,H(SX,mU,9,e.c.length,0,1)),199)}function vje(e,t){return e&&e.equals?e.equals(t):M(e)===M(t)}function yje(e,t){return dO(),e.c==t.c?mM(t.d,e.d):mM(e.c,t.c)}function bje(e,t){return dO(),e.c==t.c?mM(e.d,t.d):mM(e.c,t.c)}function xje(e,t){return dO(),e.c==t.c?mM(e.d,t.d):mM(t.c,e.c)}function Sje(e,t){return dO(),e.c==t.c?mM(t.d,e.d):mM(t.c,e.c)}function Cje(e,t){e.b|=t.b,e.c|=t.c,e.d|=t.d,e.a|=t.a}function VT(e,t,n){var r=e.d[t.p];e.d[t.p]=e.d[n.p],e.d[n.p]=r}function wje(e,t,n){var r;e.n&&t&&n&&(r=new Yne,ry(e.e,r))}function Tje(e,t){var n=F(pC(e.g,t),60);kO(t.d,new rfe(e,n))}function Eje(e,t){var n=_Ze(e),r=_Ze(t);return nr)}function Dje(e,t){var n=KD(t);return F(pC(e.c,n),15).a}function Oje(e,t){for(var n=e+``;n.length0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function Qje(e){return Ky(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function $je(e,t){var n=1-t;return e.a[n]=kk(e.a[n],n),kk(e,t)}function eMe(e,t){var n,r=FT(e,PV);return n=dS(t,32),IT(n,r)}function tMe(e,t,n){var r=F(e.Zb().xc(t),18);return!!r&&r.Gc(n)}function nMe(e,t,n){var r=F(e.Zb().xc(t),18);return!!r&&r.Kc(n)}function rMe(e,t,n){GZe(new $ke((aC(e),new Lb(e)),t,n))}function GT(e,t,n){KZe(new eAe((aC(e),new Lb(e)),t,n))}function iMe(e,t,n){e.a=t,e.c=n,e.b.a.$b(),hw(e.d),rf(e.e.a.c,0)}function KT(e,t,n,r,i,a){return JVe(e,t,n,a),$Ge(e,r),eKe(e,i),e}function aMe(e,t,n,r){return e.a+=``+jw(t==null?aB:XM(t),n,r),e}function qT(e,t){this.a=e,Pl.call(this,e),pT(t,e.gc()),this.b=t}function oMe(e,t){var n;e.e=new cp,n=HL(t),Bv(n,e.c),ntt(e,n,0)}function JT(e,t,n,r){var i=new La;i.a=t,i.b=n,i.c=r,fx(e.a,i)}function V(e,t,n,r){var i=new La;i.a=t,i.b=n,i.c=r,fx(e.b,i)}function sMe(e,t){return new Xb(t,D_e(Jv(t.e),e,e),(by(),!0))}function cMe(e,t){return PO(),F(q(t,(AR(),u4)),15).a>=e.gc()}function lMe(e){return hT(),!IE(e)&&!(!IE(e)&&e.c.i.c==e.d.i.c)}function YT(e){return F(qN(e,H(xX,pU,17,e.c.length,0,1)),324)}function XT(e){return new pD((_k(e,LB),bO(IM(IM(5,e),e/10|0))))}function uMe(e){return Tx(e.e.Pd().gc()*e.c.Pd().gc(),273,new wie(e))}function dMe(e){uqe((!e.a&&(e.a=new I(s7,e,10,11)),e.a),new Ene)}function fMe(){var e,t=(n=(e=new jd,e),n),n;return ry(aVt,t),t}function ZT(e){var t;return dv(e)?(t=e,t==-0?0:t):fRe(e)}function pMe(e,t){return N(t,45)?VP(e.a,F(t,45)):!1}function mMe(e,t){return N(t,45)?VP(e.a,F(t,45)):!1}function hMe(e,t){return N(t,45)?VP(e.a,F(t,45)):!1}function gMe(e,t){return e.a<=e.b&&(t.Bd(e.a++),!0)}function QT(e,t){if(e<0||e>=t)throw O(new Fp(S3e(e,t)));return e}function _Me(e,t,n){if(e<0||tn)throw O(new Fp(d4e(e,t,n)))}function vMe(e,t,n){e.d&&BD(e.d.e,e),e.d=t,e.d&&Kx(e.d.e,n,e)}function $T(e,t){Iut(t,e),GSe(e.d),GSe(F(q(e,(zz(),P1)),213))}function eE(e,t){Lut(t,e),WSe(e.d),WSe(F(q(e,(zz(),P1)),213))}function yMe(e){var t;return DC(e),t=new de,Km(e.a,new vae(t)),t}function tE(e){var t;return DC(e),t=new fe,Km(e.a,new Yl(t)),t}function bMe(e){return!KC(e).dc()&&(uhe(e,new g),!0)}function xMe(e){if(!(`stack`in e))try{throw e}catch{}return e}function SMe(e,t,n){var r=lYe();try{return Fve(e,t,n)}finally{rFe(r)}}function nE(e,t){var n=Qw(e,t),r=null;return n&&(r=n.ne()),r}function rE(e,t){var n=pO(e,t),r=null;return n&&(r=n.qe()),r}function iE(e,t){var n=Qw(e,t),r=null;return n&&(r=n.qe()),r}function aE(e,t){var n=Qw(e,t),r=null;return n&&(r=y4e(n)),r}function CMe(e,t,n){var r=PN(n);return aR(e.n,r,t),aR(e.o,t,n),t}function wMe(e,t,n){this.d=new toe(this),this.e=e,this.i=t,this.f=n}function TMe(e,t,n,r){this.d=e,this.n=t,this.g=n,this.o=r,this.p=-1}function EMe(e,t,n,r){return N(n,59)?new Qge(e,t,n,r):new Wwe(e,t,n,r)}function DMe(e){return F(qN(e,H(pwt,Dpt,12,e.c.length,0,1)),2007)}function OMe(e){this.a=H(hJ,iB,1,TUe(r.Math.max(8,e))<<1,5,1)}function kMe(e){Kk.call(this,e,(MD(),cY),null,!1,null,!1)}function AMe(e){var t=e.Dh();this.a=N(t,72)?F(t,72).Gi():t.Jc()}function jMe(e){return new DT(Cze(F(e.a.kd(),18).gc(),e.a.jd()),16)}function oE(e){return N(e,18)?F(e,18).dc():!e.Jc().Ob()}function MMe(e){if(e.e.g!=e.b)throw O(new Kd);return!!e.c&&e.d>0}function sE(e){return Ky(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function NMe(e,t){MC(t),fC(e.a,e.c,t),e.c=e.c+1&e.a.length-1,MZe(e)}function cE(e,t){MC(t),e.b=e.b-1&e.a.length-1,fC(e.a,e.b,t),MZe(e)}function PMe(){PMe=C,Yjt=rDe(K(1),K(4)),Jjt=rDe(K(1),K(2))}function FMe(){FMe=C,lIt=Rj((Fh(),W(A(cIt,1),Z,477,0,[b3])))}function IMe(){IMe=C,dIt=Rj((Ih(),W(A(uIt,1),Z,547,0,[x3])))}function LMe(){LMe=C,XIt=Rj((Lh(),W(A(YIt,1),Z,528,0,[A3])))}function RMe(){return JA(),W(A(WCt,1),Z,408,0,[fX,hX,pX,mX])}function zMe(){return MA(),W(A(jSt,1),Z,409,0,[LY,PY,FY,IY])}function BMe(){return MD(),W(A(fY,1),Z,310,0,[cY,lY,uY,dY])}function VMe(){return qA(),W(A(iTt,1),Z,367,0,[uZ,cZ,lZ,sZ])}function HMe(){return HN(),W(A($Ct,1),Z,383,0,[yX,QCt,_X,vX])}function UMe(){return jA(),W(A(vTt,1),Z,413,0,[dZ,fZ,pZ,mZ])}function WMe(e){var t;return e.j==(Dz(),y5)&&(t=h8e(e),Oy(t,t5))}function GMe(){return rN(),W(A(FTt,1),Z,301,0,[HZ,NTt,VZ,PTt])}function KMe(){return yP(),W(A(R0,1),Z,203,0,[I0,L0,F0,P0])}function qMe(){return NN(),W(A(hjt,1),Z,269,0,[X0,mjt,Z0,Q0])}function JMe(e,t){return F(Cy(hS(F(VE(e.k,t),16).Mc(),MZ)),113)}function YMe(e,t){return F(Cy(gS(F(VE(e.k,t),16).Mc(),MZ)),113)}function XMe(e,t){var n=t.a;sT(n,t.c.d),lT(n,t.d.d),rA(n.a,e.n)}function ZMe(e,t){var n=F(oO(e.b,t),66);return!n&&(n=new ph),n}function lE(e){return Nh(),N(e.g,156)?F(e.g,156):null}function QMe(e){e.a=null,e.e=null,rf(e.b.c,0),rf(e.f.c,0),e.c=null}function $Me(e,t,n,r){this.e=null,this.c=e,this.d=t,this.a=n,this.b=r}function eNe(e,t,n,r,i){this.i=e,this.a=t,this.e=n,this.j=r,this.f=i}function tNe(e,t,n,r){var i=r[t.g][n.g];return k(P(q(e.a,i)))}function nNe(e,t){for(var n=e.j.c.length;n0&&OR(e.g,0,t,0,e.i),t}function dE(e){for(var t=0;e.Ob();)e.Pb(),t=IM(t,1);return bO(t)}function xNe(e,t){var n=new fm;return e.Ed(n),n.a+=`..`,t.Fd(n),n.a}function SNe(e,t){Uh();var n=F(pC(E7,e),58);return!n||n.dk(t)}function CNe(e,t,n){if(n){var r=n.me();e.a[t]=r(n)}else delete e.a[t]}function fE(e,t){return t.e==0||e.e==0?QJ:(KL(),OL(e,t))}function wNe(e){if(e.p!=1)throw O(new Yd);return Wx(e.f)<<24>>24}function TNe(e){if(e.p!=1)throw O(new Yd);return Wx(e.k)<<24>>24}function ENe(e){if(e.p!=7)throw O(new Yd);return Wx(e.k)<<16>>16}function DNe(e){if(e.p!=7)throw O(new Yd);return Wx(e.f)<<16>>16}function pE(){pE=C,PQ=new mfe(aH,0),vEt=new mfe(`TOP_LEFT`,1)}function mE(){mE=C,b2=new vfe(`UPPER`,0),y2=new vfe(`LOWER`,1)}function ONe(e,t,n){var r=F(pC(e.g,n),60);ry(e.a.c,new M_(t,r))}function kNe(e,t,n,r,i){ry(t,c3e(i,e7e(i,n,r))),a2e(e,i,t)}function ANe(e,t,n){e.i=0,e.e=0,t!=n&&(qUe(e,t,n),KUe(e,t,n))}function jNe(e,t,n){return mS(P(V_(Yx(e.f,t))),P(V_(Yx(e.f,n))))}function MNe(e,t){return F(t==null?V_(Yx(e.f,null)):tg(e.i,t),290)}function NNe(e,t){return M(t)===M(e)?`(this Map)`:t==null?aB:XM(t)}function PNe(e,t){return e==(pL(),OX)&&t==OX?4:e==OX||t==OX?8:32}function hE(e,t,n){return PR(e,t,n,N(t,103)&&(F(t,19).Bb&jV)!=0)}function FNe(e,t,n){return zR(e,t,n,N(t,103)&&(F(t,19).Bb&jV)!=0)}function INe(e,t,n){return V5e(e,t,n,N(t,103)&&(F(t,19).Bb&jV)!=0)}function gE(e,t){qh();var n=F(e,69).tk();return A2e(n,t),n.vl(t)}function _E(e,t){iR(),FS.call(this,e,1,W(A(q9,1),cV,30,15,[t]))}function vE(e,t){Wz(),Ed.call(this,e),this.a=t,this.c=-1,this.b=-1}function LNe(e,t){kOe.call(this),this.a=e,this.b=t,ry(this.a.b,this)}function yE(e){return Ky(e.a`+_je(e.d):`e_`+Ty(e)}function KNe(e,t){return B_(t==null?V_(Yx(e.f,t)):Ww(e,t))}function qNe(e,t){return B_(t==null?V_(Yx(e.f,t)):Ww(e,t))}function JNe(e,t){return gh(),hD(z(e.a),t)}function YNe(e,t){return gh(),hD(z(e.a),t)}function xE(e,t,n){this.e=e,this.a=hJ,this.b=cnt(t),this.c=t,this.d=n}function XNe(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function ZNe(e){this.c=e,this.a=F(mF(e),159),this.b=this.a.hk().ti()}function SE(e,t,n,r){Nje.call(this,1,n,r),this.c=e,this.b=t}function QNe(e,t,n,r){Pje.call(this,1,n,r),this.c=e,this.b=t}function $Ne(e,t,n,r,i,a,o){mk.call(this,t,r,i,a,o),this.c=e,this.a=n}function CE(){kd.call(this),l_e(this),this.d.b=this.d,this.d.a=this.d}function ePe(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function wE(e){$1e(),Zhe(this,Wx(FT(fS(e,24),UV)),Wx(FT(e,UV)))}function TE(e,t){var n;return t.b.Kb(WLe(e,t.c.Ve(),(n=new xae(t),n)))}function tPe(e,t){var n;return UNe(t),n=e.slice(0,t),n.length=t,AD(n,e)}function EE(e){var t;return e?new iwe(e):(t=new mv,Rk(t,e),t)}function nPe(e,t){for(var n=e.d-1;n>=0&&e.a[n]===t[n];n--);return n<0}function rPe(e,t){var n,r=!1;do n=xUe(e,t),r|=n;while(n);return r}function DE(e,t,n,r){var i=new pe;i.c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function OE(){OE=C,Azt=new FCe,Mzt=new Hwe,V5=new uke,jzt=new hTe}function kE(){kE=C,z$=new hfe(oU,0),R$=new hfe(`ALTERNATING`,1)}function iPe(){iPe=C,QTt=Rj((ND(),W(A(ZTt,1),Z,476,0,[XTt,lQ])))}function aPe(){aPe=C,MTt=Rj((aD(),W(A(jTt,1),Z,422,0,[ATt,BZ])))}function oPe(){oPe=C,GTt=Rj((gO(),W(A(WTt,1),Z,419,0,[$Z,UTt])))}function sPe(){sPe=C,bEt=Rj((pE(),W(A(yEt,1),Z,420,0,[PQ,vEt])))}function cPe(){cPe=C,LEt=Rj((kE(),W(A(IEt,1),Z,423,0,[z$,R$])))}function lPe(){lPe=C,vjt=Rj((YD(),W(A(_jt,1),Z,421,0,[$0,e2])))}function uPe(){uPe=C,lMt=Rj((mE(),W(A(cMt,1),Z,519,0,[b2,y2])))}function dPe(){dPe=C,vMt=Rj((Hw(),W(A(_Mt,1),Z,510,0,[w2,C2])))}function fPe(){fPe=C,bMt=Rj((nT(),W(A(yMt,1),Z,509,0,[T2,E2])))}function pPe(){pPe=C,IMt=Rj(($E(),W(A(FMt,1),Z,516,0,[A2,k2])))}function mPe(){mPe=C,UMt=Rj((Vw(),W(A(HMt,1),Z,454,0,[j2,M2])))}function hPe(){hPe=C,$Nt=Rj((zT(),W(A(QNt,1),Z,425,0,[v4,ZNt])))}function gPe(){gPe=C,aPt=Rj((Pk(),W(A(iPt,1),Z,487,0,[b4,x4])))}function _Pe(){_Pe=C,uPt=Rj((DD(),W(A(lPt,1),Z,426,0,[cPt,D4])))}function vPe(){vPe=C,YFt=Rj((PE(),W(A(JFt,1),Z,478,0,[c3,qFt])))}function yPe(){yPe=C,pIt=Rj((eD(),W(A(fIt,1),Z,428,0,[C3,S3])))}function bPe(){bPe=C,qSt=Rj((hO(),W(A(KSt,1),Z,424,0,[VY,HY])))}function xPe(){xPe=C,_wt=Rj((Nk(),W(A(gwt,1),Z,503,0,[NX,MX])))}function SPe(){SPe=C,$It=Rj((FA(),W(A(QIt,1),Z,427,0,[j3,ZIt])))}function CPe(){return hM(),W(A(c8,1),Z,86,0,[o8,a8,i8,r8,s8])}function wPe(){return Dz(),W(A(S5,1),cU,64,0,[b5,n5,t5,y5,x5])}function TPe(e,t,n){return F(t==null?kI(e.f,null,n):jM(e.i,t,n),290)}function EPe(e){return(e.k==(pL(),OX)||e.k==wX)&&Yy(e,(X(),HQ))}function DPe(e){e.b!=e.c&&(e.a=H(hJ,iB,1,8,5,1),e.b=0,e.c=0)}function OPe(e,t){var n=t.jd();return new eh(n,e.e.pc(n,F(t.kd(),18)))}function kPe(e,t){for(var n=t;n;)Zy(e,-n.i,-n.j),n=aT(n);return e}function APe(e,t){for(var n=t,r=0;n>0;)r+=e.a[n],n-=n&-n;return r}function AE(e,t,n){var r=(OT(t,e.c.length),e.c[t]);return e.c[t]=n,r}function jE(e,t){var n,r;for(MC(t),r=e.Jc();r.Ob();)n=r.Pb(),t.Ad(n)}function jPe(e,t){var n=t.jd(),r=e.De(n);return!!r&&RC(r.e,t.kd())}function MPe(e,t){return e.a.get(t)??H(hJ,iB,1,0,5,1)}function ME(e){e.i=0,eg(e.b,null),eg(e.c,null),e.a=null,e.e=null,++e.g}function NPe(e,t,n){e.a.c.length=0,Sst(e,t,n),e.a.c.length==0||Drt(e,t)}function PPe(e,t){this.c=0,this.b=t,Upe.call(this,e,17493),this.a=this.c}function FPe(e){bdt(),kse(this),this.a=new ph,cWe(this,e),fx(this.a,e)}function IPe(){Av(this),this.b=new j(DV,DV),this.a=new j(OV,OV)}function LPe(e){NE(),!mY&&(this.c=e,this.e=!0,this.a=new Od)}function NE(){NE=C,mY=!0,Lxt=!1,Rxt=!1,Bxt=!1,zxt=!1}function PE(){PE=C,c3=new Hfe(Upt,0),qFt=new Hfe(`TARGET_WIDTH`,1)}function FE(e,t){return(AM(e),Ym(new Mx(e,new vLe(t,e.a)))).zd(_Y)}function RPe(){return $F(),W(A(RCt,1),Z,363,0,[nX,rX,iX,aX,oX])}function zPe(){return RF(),W(A(oPt,1),Z,364,0,[T4,S4,E4,C4,w4])}function BPe(){return wL(),W(A(aIt,1),Z,369,0,[f3,d3,m3,p3,h3])}function VPe(){return dI(),W(A(_It,1),Z,330,0,[mIt,w3,gIt,T3,hIt])}function HPe(){return FF(),W(A(bTt,1),Z,371,0,[gZ,vZ,yZ,_Z,hZ])}function UPe(){return dP(),W(A(U0,1),Z,303,0,[ojt,B0,V0,z0,H0])}function WPe(){return nN(),W(A(PEt,1),Z,165,0,[L$,N$,P$,F$,I$])}function GPe(){return eP(),W(A(z3,1),Z,160,0,[L3,I3,P3,R3,F3])}function KPe(){return tP(),W(A(V8,1),Z,257,0,[z8,B8,lzt,R8,uzt])}function qPe(e){return cm(),function(){return SMe(e,this,arguments)}}function IE(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function JPe(e,t){return N(t,144)?kb(e.c,F(t,144).c):!1}function LE(e){return e.t||(e.t=new fse(e),fM(new lce(e),0,e.t)),e.t}function YPe(e){var t;return e.c||(t=e.r,N(t,88)&&(e.c=F(t,29))),e.c}function XPe(e,t){return F(oO(e.d,t),21)||F(oO(e.e,t),21)}function ZPe(e){this.b=e,uy.call(this,e),this.a=F(yA(this.b.a,4),129)}function QPe(e){this.b=e,Py.call(this,e),this.a=F(yA(this.b.a,4),129)}function RE(e,t,n,r,i){TFe.call(this,t,r,i),this.c=e,this.b=n}function $Pe(e,t,n,r,i){TFe.call(this,t,r,i),this.c=e,this.a=n}function eFe(e,t,n,r,i){Pje.call(this,t,r,i),this.c=e,this.a=n}function tFe(e,t,n,r,i){Nje.call(this,t,r,i),this.c=e,this.a=n}function nFe(e){Cde.call(this,e==null?aB:XM(e),N(e,80)?F(e,80):null)}function rFe(e){e&&SRe((Cce(),Pbt)),--kJ,e&&AJ!=-1&&(Efe(AJ),AJ=-1)}function iFe(e,t){var n=F(sGe(e.c,t),18),r;n&&(r=n.gc(),n.$b(),e.d-=r)}function aFe(e){return Uv(e&vV,e>>22&vV,e<0?yV:0)}function oFe(e){var t=e.c.i,n=e.d.i;return t.k==(pL(),wX)&&n.k==wX}function sFe(e){var t=e.length;return kb(AV.substr(AV.length-t,t),e)}function zE(e){if(rL(e))return e.c=e.a,e.a.Pb();throw O(new Qd)}function BE(e,t){return t==0||e.e==0?e:t>0?dJe(e,t):uet(e,-t)}function cFe(e,t){return t==0||e.e==0?e:t>0?uet(e,t):dJe(e,-t)}function lFe(e){return e.e=3,e.d=e.Yb(),e.e!=2&&(e.e=0,!0)}function uFe(e){var t=new Dw;return wA(t,e),G(t,(zz(),T1),null),t}function dFe(e,t,n){var r=e.Fh(t);return r>=0?e.Ih(r,n,!0):qI(e,t,n)}function fFe(e,t,n){return mM(ty(QN(e),Jv(t.b)),ty(QN(e),Jv(n.b)))}function pFe(e,t,n){return mM(ty(QN(e),Jv(t.e)),ty(QN(e),Jv(n.e)))}function mFe(e,t){return r.Math.min(mD(t.a,e.d.d.c),mD(t.b,e.d.d.c))}function hFe(e,t,n){var r=new Bhe(e.a);tA(r,e.a.a),kI(r.f,t,n),e.a.a=r}function gFe(e,t,n,r){for(var i=0;it)throw O(new Fp(r3e(e,t,`index`)));return e}function xFe(e){var t=e.e+e.f;return isNaN(t)&&Fb(e.d)?e.d:t}function SFe(e,t){var n=(MC(e),e),r=(MC(t),t);return n==r?0:nt.p?-1:0}function FFe(e,t){return jS(e.a,t)?(GE(e.a,t),!0):!1}function IFe(e){var t=e.jd();return $b(F(e.kd(),18).Lc(),new Sie(t))}function LFe(e){var t=e.b;return t.b==0?null:F(mP(t,0),65).b}function RFe(e,t){var n=qst(e,t);return e.b=new Ak(n.c.length),Qot(e,n)}function zFe(e){var t;return AM(e),t=new zSe(e,e.a.e,e.a.d|4),new ave(e,t)}function BFe(e){var t;for(DC(e),t=0;e.a.zd(new Ae);)t=IM(t,1);return t}function VFe(e){var t;return e.a||(t=e.r,N(t,159)&&(e.a=F(t,159))),e.a}function HFe(e,t,n){var r;return++e.e,--e.f,r=F(e.d[t].ed(n),136),r.kd()}function nD(e,t,n){return QT(t,e.e.Pd().gc()),QT(n,e.c.Pd().gc()),e.a[t][n]}function rD(e,t){return MC(t),e.cn||t=0,`Initial capacity must not be negative`)}function mD(e,t){var n=e.a-t.a,i=e.b-t.b;return r.Math.sqrt(n*n+i*i)}function LIe(e,t,n){var r=e.b[n.c.p][n.p];r.b+=t.b,r.c+=t.c,r.a+=t.a,++r.a}function RIe(){RIe=C,Bjt=tS(Sx(new AC,($F(),nX),(Uz(),BX)),oX,tZ)}function zIe(){return CI(),W(A(zZ,1),Z,231,0,[FZ,LZ,PZ,IZ,RZ,NZ])}function BIe(){return cI(),W(A(JTt,1),Z,284,0,[iQ,rQ,oQ,aQ,cQ,sQ])}function VIe(){return TF(),W(A(rEt,1),Z,282,0,[dQ,eEt,nEt,$Tt,tEt,uQ])}function HIe(){return aI(),W(A(uEt,1),Z,283,0,[fQ,oEt,lEt,cEt,sEt,aEt])}function UIe(){return bP(),W(A(hLt,1),Z,256,0,[Y3,Q3,$3,e6,X3,Z3])}function WIe(){return LF(),W(A(fzt,1),Z,102,0,[q8,K8,G8,H8,W8,U8])}function GIe(){return II(),W(A(e5,1),Z,280,0,[Q8,X8,Z8,Y8,J8,$8])}function KIe(){return MF(),W(A(c6,1),Z,299,0,[s6,o6,a6,r6,n6,i6])}function qIe(){return XF(),W(A(YRt,1),Z,328,0,[y8,KRt,JRt,WRt,qRt,GRt])}function JIe(e){var t;return!e.a&&e.b!=-1&&(t=e.c.Ah(),e.a=yO(t,e.b)),e.a}function hD(e,t){return e.Qi()&&e.Gc(t)?!1:(e.Fi(t),!0)}function gD(e,t){return Nw(t,`Horizontal alignment cannot be null`),e.b=t,e}function YIe(e,t,n){Wz();var r=Az(e,t);return n&&r&&EEe(e)&&(r=null),r}function _D(e,t,n){for(var r,i=e.Jc();i.Ob();)r=F(i.Pb(),36),tR(r,t,n)}function XIe(e,t){for(var n,r=t.Jc();r.Ob();)n=F(r.Pb(),36),Ynt(e,n,0,0)}function ZIe(e){for(var t,n=nP(e.a,0);n.b!=n.d.c;)t=F(sE(n),65),t6e(t)}function QIe(e,t){return Ode(e.e,t)||XN(e.e,t,new OYe(t)),F(oO(e.e,t),113)}function vD(e,t,n,r){return MC(e),MC(t),MC(n),MC(r),new STe(e,t,new Te)}function yD(e,t,n,r){this.$j(),this.a=t,this.b=e,this.c=new gTe(this,t,n,r)}function bD(e,t,n,r,i,a){TMe.call(this,t,r,i,a),this.c=e,this.b=n}function xD(e,t,n,r,i,a){TMe.call(this,t,r,i,a),this.c=e,this.a=n}function SD(e,t){var n,r,i=e.r;return r=e.d,n=WR(e,t,!0),n.b!=i||n.a!=r}function CD(e,t,n){var r,i=(r=uL(e.b,t),r);return i?rz(WD(e,i),n):null}function $Ie(e,t,n){var r=Qw(e,n),i=null,a;r&&(i=y4e(r)),a=i,bYe(t,n,a)}function eLe(e,t,n){var r=Qw(e,n),i=null,a;r&&(i=y4e(r)),a=i,bYe(t,n,a)}function tLe(e,t,n){var i;e.d[t.g]=n,i=e.g.c,i[t.g]=r.Math.max(i[t.g],n+1)}function wD(e,t){var n=e.Fh(t);return n>=0?e.Ih(n,!0,!0):qI(e,t,!0)}function nLe(e,t){var n=pC(e.k,t);return c9e(e,t),sR(e,t),w5e(e,t,n),null}function rLe(e){var t;if(!e.a)throw O(new fOe);return t=e.a,e.a=aT(e.a),t}function iLe(e){if(e.b<=0)throw O(new Qd);return--e.b,e.a-=e.c.c,K(e.a)}function aLe(e,t,n){var r=LUe(e,t,n);return e.b=new Ak(r.c.length),zet(e,r)}function TD(e){var t;return aC(e),N(e,204)?(t=F(e,204),t):new zc(e)}function oLe(e){for(;!e.a;)if(!Oye(e.c,new yae(e)))return!1;return!0}function sLe(e,t){e.a.Le(t.d,e.b)>0&&(ry(e.c,new eCe(t.c,t.d,e.d)),e.b=t.d)}function cLe(e,t){if(e.g==null||t>=e.i)throw O(new iv(t,e.i));return e.g[t]}function lLe(e){var t;if(e.ll())for(t=e.i-1;t>=0;--t)U(e,t);return bNe(e)}function uLe(e){ED(),F(e.mf((Hz(),V6)),182).Ec((II(),Z8)),e.of(B6,null)}function ED(){ED=C,aLt=new Pa,sLt=new Fne,oLt=pUe((Hz(),B6),aLt,k6,sLt)}function DD(){DD=C,cPt=new Vfe(`LEAF_NUMBER`,0),D4=new Vfe(`NODE_SIZE`,1)}function dLe(){dLe=C,UR(),LVt=DV,IVt=OV,zVt=new yl(DV),RVt=new yl(OV)}function fLe(e){return N(e,180)?``+F(e,180).a:e==null?null:XM(e)}function pLe(e){return N(e,180)?``+F(e,180).a:e==null?null:XM(e)}function OD(e,t,n,r,i){return t<0?qI(e,n,r):F(n,69).uk().wk(e,e.ei(),t,r,i)}function kD(e,t,n,r){var i;r=(pw(),r||hxt),i=e.slice(t,n),i3e(i,e,t,n,-t,r)}function mLe(e,t){var n,r=t/e.c.Pd().gc()|0;return n=t%e.c.Pd().gc(),nD(e,r,n)}function hLe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[0];)n=t;return n}function gLe(e){var t,n;if(!e.b)return null;for(n=e.b;t=n.a[1];)n=t;return n}function _Le(e,t,n){if(gj(e,n),n!=null&&!e.dk(n))throw O(new Ud);return n}function AD(e,t){return mO(t)!=10&&W(Cj(t),t.Qm,t.__elementTypeId$,mO(t),e),e}function vLe(e,t){$_.call(this,t.xd(),t.wd()&-16449),MC(e),this.a=e,this.c=t}function yLe(e,t,n,r,i){_he(this),this.b=e,this.d=t,this.f=n,this.g=r,this.c=i}function bLe(e,t){if(t.a)throw O(new wp(Rft));LS(e.a,t),t.a=e,!e.j&&(e.j=t)}function jD(){jD=C,DY=new cg(oH,0),EY=new cg(aH,1),OY=new cg(sH,2)}function MD(){MD=C,cY=new ag(`All`,0),lY=new Mme,uY=new hhe,dY=new Nme}function xLe(){xLe=C,Nxt=Rj((MD(),W(A(fY,1),Z,310,0,[cY,lY,uY,dY])))}function SLe(){SLe=C,aTt=Rj((qA(),W(A(iTt,1),Z,367,0,[uZ,cZ,lZ,sZ])))}function CLe(){CLe=C,ewt=Rj((HN(),W(A($Ct,1),Z,383,0,[yX,QCt,_X,vX])))}function wLe(){wLe=C,MSt=Rj((MA(),W(A(jSt,1),Z,409,0,[LY,PY,FY,IY])))}function TLe(){TLe=C,GCt=Rj((JA(),W(A(WCt,1),Z,408,0,[fX,hX,pX,mX])))}function ELe(){ELe=C,ITt=Rj((rN(),W(A(FTt,1),Z,301,0,[HZ,NTt,VZ,PTt])))}function DLe(){DLe=C,ajt=Rj((yP(),W(A(R0,1),Z,203,0,[I0,L0,F0,P0])))}function OLe(){OLe=C,gjt=Rj((NN(),W(A(hjt,1),Z,269,0,[X0,mjt,Z0,Q0])))}function kLe(){kLe=C,yTt=Rj((jA(),W(A(vTt,1),Z,413,0,[dZ,fZ,pZ,mZ])))}function ALe(){ALe=C,nMt=Rj((qj(),W(A(tMt,1),Z,404,0,[m2,g2,_2,h2])))}function jLe(){jLe=C,YPt=Rj((HP(),W(A(JPt,1),Z,354,0,[F4,KPt,qPt,GPt])))}function MLe(){MLe=C,XNt=Rj((jj(),W(A(YNt,1),Z,353,0,[_4,h4,g4,m4])))}function NLe(){NLe=C,GMt=Rj((oF(),W(A(WMt,1),Z,398,0,[N2,P2,F2,I2])))}function PLe(){PLe=C,rFt=Rj((YF(),W(A(nFt,1),Z,401,0,[U4,B4,H4,V4])))}function FLe(){FLe=C,BRt=Rj((Yj(),W(A(zRt,1),Z,278,0,[u8,l8,LRt,RRt])))}function ILe(){ILe=C,URt=Rj((yM(),W(A(v8,1),Z,222,0,[_8,h8,m8,g8])))}function LLe(){LLe=C,szt=Rj((sF(),W(A(ozt,1),Z,292,0,[D8,w8,T8,E8])))}function RLe(){RLe=C,Nzt=Rj((OE(),W(A(H5,1),Z,288,0,[Azt,Mzt,V5,jzt])))}function zLe(){zLe=C,wzt=Rj((EN(),W(A(k5,1),Z,380,0,[D5,O5,E5,T5])))}function BLe(){BLe=C,Rzt=Rj((iN(),W(A(Lzt,1),Z,327,0,[U5,Pzt,Izt,Fzt])))}function VLe(){VLe=C,Wzt=Rj((Aj(),W(A(Uzt,1),Z,407,0,[W5,Vzt,Bzt,Hzt])))}function ND(){ND=C,XTt=new ffe(oU,0),lQ=new ffe(`IMPROVE_STRAIGHTNESS`,1)}function PD(){PD=C,l3=new a_(tgt,0),ZFt=new a_(kht,1),XFt=new a_(oU,2)}function FD(e){e.a=H(q9,cV,30,e.b+1,15,1),e.c=H(q9,cV,30,e.b,15,1),e.d=0}function ID(e){for(var t=e.p+1;t=0?gP(e,n,!0,!0):qI(e,t,!0)}function aRe(e,t){Nb(F(F(e.f,26).mf((Hz(),R6)),102))&&uqe(uDe(F(e.f,26)),t)}function oRe(e,t){qO(e,t==null||Fb((MC(t),t))||isNaN((MC(t),t))?0:(MC(t),t))}function sRe(e,t){KO(e,t==null||Fb((MC(t),t))||isNaN((MC(t),t))?0:(MC(t),t))}function cRe(e,t){VO(e,t==null||Fb((MC(t),t))||isNaN((MC(t),t))?0:(MC(t),t))}function lRe(e,t){JO(e,t==null||Fb((MC(t),t))||isNaN((MC(t),t))?0:(MC(t),t))}function uRe(e){(this.q?this.q:(fw(),fw(),rY)).zc(e.q?e.q:(fw(),fw(),rY))}function nO(e,t,n){var r=e.g[t];return iy(e,t,e.Xi(t,n)),e.Pi(t,n,r),e.Li(),r}function rO(e,t){var n=e.bd(t);return n>=0&&(e.ed(n),!0)}function iO(e){var t;return e.d!=e.r&&(t=mF(e),e.e=!!t&&t.jk()==lyt,e.d=t),e.e}function aO(e,t){var n;for(aC(e),aC(t),n=!1;t.Ob();)n|=e.Ec(t.Pb());return n}function oO(e,t){var n=F(pC(e.e,t),393);return n?($he(e,n),n.e):null}function sO(e){var t=e.b.c.length==0?null:kx(e.b,0);return t!=null&&Ok(e,0),t}function cO(e,t){var n,r;return AM(e),r=new jFe(t,e.a),n=new Iye(r),new Mx(e,n)}function lO(){lO=C,jY=new lg(`TOP`,0),AY=new lg(aH,1),kY=new lg(ept,2)}function uO(){uO=C,MQ=new Ng(oU,0),NQ=new Ng(`TOP`,1),jQ=new Ng(ept,2)}function dO(){dO=C,JCt=new bt,YCt=new nee,KCt=new ree,qCt=new iee,XCt=new xt}function fO(){fO=C,Bbt=Uv(vV,vV,524287),Vbt=Uv(0,0,bV),Hbt=aFe(1),aFe(2),Ubt=aFe(0)}function pO(e,t){var n=e.a[t],r=(QA(),NJ)[typeof n];return r?r(n):cGe(typeof n)}function dRe(e){var t=e/60|0,n=e%60;return n==0?``+t:``+t+`:`+(``+n)}function fRe(e){return VQe(e,(fO(),Ubt))<0?-Oge(nj(e)):e.l+e.m*xV+e.h*SV}function pRe(e){switch(e.g){case 0:return $z;case 1:return VB;default:return 0}}function mO(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function mRe(e,t){return N(t,103)&&(F(t,19).Bb&jV)!=0?new ov(t,e):new TA(t,e)}function hRe(e,t){return N(t,103)&&(F(t,19).Bb&jV)!=0?new ov(t,e):new TA(t,e)}function gRe(e,t,n){return ty(new j(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)==(MC(t),t)}function _Re(e,t){var n,r,i=t.c.i;n=F(pC(e.f,i),60),r=n.d.c-n.e.c,xVe(t.a,r,0)}function vRe(e,t){var n;for(++e.d,++e.c[t],n=t+1;ne.a[r]&&(r=n);return r}function DRe(e){var t=F(q(e,(X(),IQ)),318);return t?t.a==e:!1}function ORe(e){var t=F(q(e,(X(),IQ)),318);return t?t.i==e:!1}function kRe(e,t){return t==(Vb(),Vb(),Txt)?e.toLocaleLowerCase():e.toLowerCase()}function ARe(){ARe=C,zCt=Rj(($F(),W(A(RCt,1),Z,363,0,[nX,rX,iX,aX,oX])))}function jRe(){jRe=C,sjt=Rj((dP(),W(A(U0,1),Z,303,0,[ojt,B0,V0,z0,H0])))}function MRe(){MRe=C,xTt=Rj((FF(),W(A(bTt,1),Z,371,0,[gZ,vZ,yZ,_Z,hZ])))}function NRe(){NRe=C,sPt=Rj((RF(),W(A(oPt,1),Z,364,0,[T4,S4,E4,C4,w4])))}function PRe(){PRe=C,oIt=Rj((wL(),W(A(aIt,1),Z,369,0,[f3,d3,m3,p3,h3])))}function FRe(){FRe=C,vIt=Rj((dI(),W(A(_It,1),Z,330,0,[mIt,w3,gIt,T3,hIt])))}function IRe(){IRe=C,FEt=Rj((nN(),W(A(PEt,1),Z,165,0,[L$,N$,P$,F$,I$])))}function LRe(){LRe=C,lLt=Rj((eP(),W(A(z3,1),Z,160,0,[L3,I3,P3,R3,F3])))}function RRe(){RRe=C,IRt=Rj((hM(),W(A(c8,1),Z,86,0,[o8,a8,i8,r8,s8])))}function zRe(){zRe=C,hzt=Rj((Dz(),W(A(S5,1),cU,64,0,[b5,n5,t5,y5,x5])))}function BRe(){BRe=C,dzt=Rj((tP(),W(A(V8,1),Z,257,0,[z8,B8,lzt,R8,uzt])))}function hO(){hO=C,VY=new Bde(`EADES`,0),HY=new Bde(`FRUCHTERMAN_REINGOLD`,1)}function gO(){gO=C,$Z=new dfe(`READING_DIRECTION`,0),UTt=new dfe(`ROTATION`,1)}function VRe(e){this.g=e,this.f=new Od,this.a=r.Math.min(this.g.c.c,this.g.d.c)}function HRe(e){this.b=new Od,this.a=new Od,this.c=new Od,this.d=new Od,this.e=e}function URe(e,t,n,r){Wz(),Ed.call(this,26),this.c=e,this.a=t,this.d=n,this.b=r}function WRe(e,t,n){Sb.call(this),yze(this),this.a=e,this.c=n,this.b=t.d,this.f=t.e}function GRe(e,t,n){for(var r,i=new D(n);i.a=0&&t0?$z:Gj(e,VB)<0?VB:Wx(e)}function JRe(e,t){return PO(),-Hv(F(q(e,(AR(),u4)),15).a,F(q(t,u4),15).a)}function YRe(){return pL(),W(A(jX,1),Z,249,0,[OX,EX,wX,kX,TX,CX,AX,DX])}function XRe(){return nL(),W(A(y7,1),Z,244,0,[v7,h7,g7,m7,_7,f7,d7,p7])}function ZRe(){return yI(),W(A(dLt,1),Z,285,0,[uLt,B3,W3,K3,V3,H3,U3,G3])}function QRe(){return YL(),W(A(DTt,1),Z,275,0,[TZ,OZ,wZ,jZ,DZ,EZ,AZ,kZ])}function $Re(e,t){return!!Jk(e,t,Wx(LM(jB,WC(Wx(LM(t==null?0:Lk(t),MB)),15))))}function eze(e,t){var n=t>0?t-1:t;return cle(sle(Vze(dCe(new ip,n),e.n),e.j),e.k)}function xO(e){var t,n=(t=new Jf,t);hD((!e.q&&(e.q=new I(B7,e,11,10)),e.q),n)}function tze(e,t){var n=F(Wj(e.d,t),18),r;return n?(r=t,e.e.pc(r,n)):null}function SO(e,t){var n;return AM(e),n=new eOe(e,e.a.xd(),e.a.wd()|4,t),new Mx(e,n)}function CO(e){var t;Gy(!!e.c),t=e.c.a,DO(e.d,e.c),e.b==e.c?e.b=t:--e.a,e.c=null}function nze(e){return e.a>=-.01&&e.a<=uH&&(e.a=0),e.b>=-.01&&e.b<=uH&&(e.b=0),e}function rze(e){var t=k(P(q(e,(zz(),y1))));return t<0&&(t=0,G(e,y1,t)),t}function ize(e,t){Nb(F(q(F(e.e,9),(zz(),X1)),102))&&(fw(),Bv(F(e.e,9).j,t))}function wO(e,t){for(var n,r=e.Jc();r.Ob();)n=F(r.Pb(),70),G(n,(X(),n$),t)}function aze(e,t,n){var i=r.Math.max(0,e.b/2-.5);gF(n,i,1),ry(t,new Qde(n,i))}function oze(e,t,n,r){var i;e.j=-1,t8e(e,b4e(e,t,n),(qh(),i=F(t,69).tk(),i.vl(r)))}function sze(e,t,n,r,i,a){var o=uFe(r);sT(o,i),lT(o,a),GI(e.a,r,new Wb(o,t,n.f))}function cze(e,t){pP(e,(XL(),Y4),t.f),pP(e,aFt,t.e),pP(e,J4,t.d),pP(e,iFt,t.c)}function lze(e,t){if(0>e||e>t)throw O(new Ece(`fromIndex: 0, toIndex: `+e+Eft+t))}function TO(e){if(e<0)throw O(new Hp(`Illegal Capacity: `+e));this.g=this.$i(e)}function uze(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(sm(),TJ)}function EO(e,t){for(var n=e;aT(n);)if(n=aT(n),n==t)return!0;return!1}function dze(e,t){return t&&e.b[t.g]==t?(fC(e.b,t.g,null),--e.c,!0):!1}function DO(e,t){var n=t.c;return t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,n}function fze(e,t){var n=AL(e.Ah(),t);if(!n)throw O(new Hp(vK+t+bK));return n}function OO(e){GL();var t,n=Rht;for(t=0;tn&&(n=e[t]);return n}function pze(e){for(var t=0;t0&&(e.a/=t,e.b/=t),e}function jO(e){this.b=(aC(e),new Lb(e)),this.a=new Od,this.d=new Od,this.e=new Nm}function yze(e){e.b=(jD(),EY),e.f=(lO(),AY),e.d=(_k(2,FB),new pD(2)),e.e=new Nm}function MO(){MO=C,bY=new sg(`BEGIN`,0),xY=new sg(aH,1),SY=new sg(`END`,2)}function NO(){NO=C,d8=new g_(aH,0),f8=new g_(`HEAD`,1),p8=new g_(`TAIL`,2)}function PO(){PO=C,tPt=LN(LN(LN(Bh(new AC,(oF(),P2)),(lR(),R2)),XMt),eNt)}function FO(){FO=C,rPt=LN(LN(LN(Bh(new AC,(oF(),I2)),(lR(),QMt)),qMt),ZMt)}function bze(){bze=C,TY=(MO(),W(A(CY,1),Z,237,0,[bY,xY,SY])).length,wY=TY}function xze(e,t){for(;t[0]=0;)++t[0]}function IO(e,t){var n,r=e.a;n=nKe(e,t,null),r!=t&&!e.e&&(n=yz(e,t,n)),n&&n.mj()}function LO(e){var t;return e.w?e.w:(t=oje(e),t&&!t.Sh()&&(e.w=t),t)}function Sze(e){var t;return e==null?null:(t=F(e,195),y0e(t,t.length))}function U(e,t){if(e.g==null||t>=e.i)throw O(new iv(t,e.i));return e.Ui(t,e.g[t])}function Cze(e,t){fw();var n,r=new Od;for(n=0;n=14&&t<=16))),e}function jze(){jze=C,kTt=Rj((CI(),W(A(zZ,1),Z,231,0,[FZ,LZ,PZ,IZ,RZ,NZ])))}function Mze(){Mze=C,YTt=Rj((cI(),W(A(JTt,1),Z,284,0,[iQ,rQ,oQ,aQ,cQ,sQ])))}function Nze(){Nze=C,iEt=Rj((TF(),W(A(rEt,1),Z,282,0,[dQ,eEt,nEt,$Tt,tEt,uQ])))}function Pze(){Pze=C,dEt=Rj((aI(),W(A(uEt,1),Z,283,0,[fQ,oEt,lEt,cEt,sEt,aEt])))}function Fze(){Fze=C,gLt=Rj((bP(),W(A(hLt,1),Z,256,0,[Y3,Q3,$3,e6,X3,Z3])))}function Ize(){Ize=C,pzt=Rj((LF(),W(A(fzt,1),Z,102,0,[q8,K8,G8,H8,W8,U8])))}function Lze(){Lze=C,mzt=Rj((II(),W(A(e5,1),Z,280,0,[Q8,X8,Z8,Y8,J8,$8])))}function Rze(){Rze=C,OLt=Rj((MF(),W(A(c6,1),Z,299,0,[s6,o6,a6,r6,n6,i6])))}function zze(){zze=C,XRt=Rj((XF(),W(A(YRt,1),Z,328,0,[y8,KRt,JRt,WRt,qRt,GRt])))}function Bze(){return iL(),W(A(L8,1),Z,96,0,[k8,O8,j8,I8,F8,P8,M8,N8,A8])}function BO(){BO=C,C5=new T_(D_t,0),w5=new T_(`PARENT`,1),xzt=new T_(`ROOT`,2)}function Vze(e,t){return e.n=t,e.n?(e.f=new Od,e.e=new Od):(e.f=null,e.e=null),e}function VO(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,3,n,e.f))}function HO(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,0,n,e.a))}function UO(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,1,n,e.b))}function WO(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,3,n,e.b))}function GO(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,4,n,e.c))}function KO(e,t){var n=e.g;e.g=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,4,n,e.g))}function qO(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,5,n,e.i))}function JO(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,6,n,e.j))}function YO(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,1,n,e.j))}function XO(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&dA(e,new SE(e,2,n,e.k))}function ZO(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&dA(e,new QNe(e,2,n,e.d))}function QO(e,t){var n=e.s;e.s=t,e.Db&4&&!(e.Db&1)&&dA(e,new QNe(e,4,n,e.s))}function $O(e,t){var n=e.t;e.t=t,e.Db&4&&!(e.Db&1)&&dA(e,new QNe(e,5,n,e.t))}function ek(e,t){var n=e.F;e.F=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,5,n,t))}function tk(e,t){var n=F(pC((Uh(),E7),e),58);return n?n.ek(t):H(hJ,iB,1,t,5,1)}function nk(e,t){var n=t in e.a,r;return n&&(r=Qw(e,t).pe(),r)?r.a:null}function Hze(e,t){var n=(r=(Im(),i=new so,i),t&&g9e(r,t),r),r,i;return NBe(n,e),n}function Uze(e,t,n){var r=PN(n);return LC(e.c,r,t),LC(e.d,t,n),LC(e.e,t,$w(t)),t}function rk(e,t,n,r,i,a){var o=iC(e,t);return $ze(n,o),o.i=i?8:0,o.f=r,o.e=i,o.g=a,o}function Wze(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 Gze(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 Kze(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 qze(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 Jze(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 Yze(e,t){for(var n,r=t,i=0,a=r.length;i0?F(kx(n.a,r-1),9):null}function ok(e){if(!(e>=0))throw O(new Hp(`tolerance (`+e+`) must be >= 0`));return e}function sk(){return M3||(M3=new ont,bj(M3,W(A(BY,1),iB,148,0,[new vc]))),M3}function ck(){ck=C,jjt=new Gg(`NO`,0),u2=new Gg(Upt,1),Ajt=new Gg(`LOOK_BACK`,2)}function lk(){lk=C,LTt=new Tg(`ARD`,0),WZ=new Tg(`MSD`,1),UZ=new Tg(`MANUAL`,2)}function uk(){uk=C,r2=new Hg(lH,0),t2=new Hg(`INPUT`,1),n2=new Hg(`OUTPUT`,2)}function dk(e,t){var n=e.gc();if(t<0||t>n)throw O(new Ob(t,n));return new Rye(e,t)}function fk(e,t){for(var n,r=t,i=0,a=r.length;i=0),RJe(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function hk(e,t){e.b=r.Math.max(e.b,t.d),e.e+=t.r+(e.a.c.length==0?0:e.c),ry(e.a,t)}function sBe(e,t){t.Tg(`Hierarchical port constraint processing`,1),HYe(e),udt(e),t.Ug()}function gk(e){for(var t,n=e.c.Bc().Jc();n.Ob();)t=F(n.Pb(),18),t.$b();e.c.$b(),e.d=0}function cBe(e,t){for(var n=0,r=e.gc();n=0}function kBe(e,t){e.r>0&&e.c0&&e.g!=0&&kBe(e.i,t/e.r*e.i.d))}function ABe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,1,n,e.c))}function yk(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,4,n,e.c))}function jBe(e,t){var n=e.c;e.c=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,1,n,e.c))}function MBe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,1,n,e.d))}function bk(e,t){var n=e.k;e.k=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,2,n,e.k))}function xk(e,t){var n=e.D;e.D=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,2,n,e.D))}function Sk(e,t){var n=e.f;e.f=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,8,n,e.f))}function Ck(e,t){var n=e.i;e.i=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,7,n,e.i))}function NBe(e,t){var n=e.a;e.a=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,8,n,e.a))}function PBe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,0,n,e.b))}function FBe(e,t){var n=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,0,n,e.b))}function IBe(e,t,n){var r;e.b=t,e.a=n,r=(e.a&512)==512?new Yse:new Wre,e.c=Met(r,e.b,e.a)}function LBe(e,t){return BL(e.e,t)?(qh(),iO(t)?new Cx(t,e):new W_(t,e)):new Ipe(t,e)}function RBe(e){var t,n;return 0>e?new Vue:(t=e+1,n=new PPe(t,e),new ove(null,n))}function zBe(e,t){fw();var n=new yh(1);return z_(e)?dT(n,e,t):kI(n.f,e,t),new Vl(n)}function BBe(e,t){var n=new rt;F(t.b,68),F(t.b,68),F(t.b,68),kO(t.a,new gSe(e,n,t))}function VBe(e,t){var n=e.d;e.d=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,11,n,e.d))}function HBe(e,t){for(var n,r=t.vc().Jc();r.Ob();)n=F(r.Pb(),45),bF(e,n.jd(),n.kd())}function wk(e,t){var n=e.j;e.j=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,13,n,e.j))}function UBe(e,t){var n;return N(t,8)?(n=F(t,8),e.a==n.a&&e.b==n.b):!1}function WBe(e){var t=q(e,(X(),d$));return N(t,174)?Mqe(F(t,174)):null}function GBe(e){var t;return e=r.Math.max(e,2),t=TUe(e),e>t?(t<<=1,t>0?t:PB):t}function KBe(e){var t;return e.b==null?(Gh(),Gh(),u9):(t=e.sl()?e.rl():e.ql(),t)}function Tk(e){var t;return Bb(e.f.g,e.d),Ky(e.b),e.c=e.a,t=F(e.a.Pb(),45),e.b=VHe(e),t}function Ek(e,t){var n=e.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(t[r++]=i);return t}function Dk(e,t){var n;return MC(t),n=t.g,!e.b[n]&&(fC(e.b,n,t),++e.c,!0)}function qBe(e,t){var n=t==null?-1:VD(e.b,t,0);return n<0?!1:(Ok(e,n),!0)}function Ok(e,t){var n=KE(e.b,e.b.c.length-1);t0):(!e.c&&(e.c=wT(gA(e.f))),e.c).e}function fVe(e,t){t?e.B??(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function pVe(e,t){typeof window===Yz&&typeof window.$gwt===Yz&&(window.$gwt[e]=t)}function mVe(e,t,n){for(var r=0,i=0,a;i>>31;r!=0&&(e[n]=r)}function Kk(e,t,n,r,i,a){var o;this.c=e,o=new Od,eZe(e,o,t,e.b,n,r,i,a),this.a=new qT(o,0)}function hVe(){this.c=new Xm(0),this.b=new Xm(Lht),this.d=new Xm(Fht),this.a=new Xm(Iht)}function gVe(e,t){return k(P(Cy(iM(QC(new Mx(null,new DT(e.c.b,16)),new Zae(e)),t))))}function _Ve(e,t){return k(P(Cy(iM(QC(new Mx(null,new DT(e.c.b,16)),new Xae(e)),t))))}function vVe(e,t){var n=F(Y(e,(pI(),j4)),15),r=F(Y(t,j4),15);return Hv(n.a,r.a)}function yVe(e,t){var n;t.Tg(`General Compactor`,1),n=wqe(F(Y(e,(pI(),A4)),386)),n.Bg(e)}function bVe(e,t,n){n.Tg(`DFS Treeifying phase`,1),fJe(e,t),F9e(e,t),e.a=null,e.b=null,n.Ug()}function xVe(e,t,n){for(var r,i=nP(e,0);i.b!=i.d.c;)r=F(sE(i),8),r.a+=t,r.b+=n;return e}function qk(e,t,n){for(var r=e.b[n&e.f];r;r=r.b)if(n==r.a&&EC(t,r.g))return r;return null}function Jk(e,t,n){for(var r=e.c[n&e.f];r;r=r.d)if(n==r.f&&EC(t,r.i))return r;return null}function SVe(e,t,n,r){var i=new Ep;_w(i,`x`,NF(e,t,r.a)),_w(i,`y`,PF(e,t,r.b)),_C(n,i)}function CVe(e,t,n,r){var i=new Ep;_w(i,`x`,NF(e,t,r.a)),_w(i,`y`,PF(e,t,r.b)),_C(n,i)}function Yk(e,t,n,r,i,a,o,s,c,l,u,d,f){return n3e(e,t,n,r,i,a,o,s,c,l,u,d,f),UM(e,!1),e}function Xk(e,t,n,r,i,a,o){rh.call(this,e,t),this.d=n,this.e=r,this.c=i,this.b=a,this.a=HE(o)}function wVe(e,t){return Pv(),ok(uH),r.Math.abs(0-t)<=uH||t==0?0:e/t}function TVe(e,t){return JA(),e==fX&&t==hX||e==hX&&t==fX||e==mX&&t==pX||e==pX&&t==mX}function EVe(e,t){return JA(),e==fX&&t==pX||e==fX&&t==mX||e==hX&&t==mX||e==hX&&t==pX}function DVe(){return WL(),W(A(CQ,1),Z,261,0,[mQ,gQ,_Q,vQ,yQ,bQ,SQ,pQ,hQ,xQ])}function OVe(){return oR(),W(A(fjt,1),Z,243,0,[J0,K0,q0,ljt,ujt,cjt,djt,Y0,W0,G0])}function Zk(){Zk=C,l9=new qse,GBt=W(A(M7,1),Tq,179,0,[]),WBt=W(A(B7,1),dyt,62,0,[])}function Qk(){Qk=C,uwt=new cee,cwt=new Ot,lwt=new kt,swt=new At,dwt=new jt,fwt=new Mt}function kVe(e,t){t.Tg(Lpt,1),aN(Yue(new nu((Ah(),new nw(e,!1,!1,new Et))))),t.Ug()}function $k(e){var t=yMe(e);return G_(t.a,0)?(mh(),mh(),sY):(mh(),new qy(t.b))}function eA(e){var t=yMe(e);return G_(t.a,0)?(mh(),mh(),sY):(mh(),new qy(t.c))}function AVe(e){var t=tE(e);return G_(t.a,0)?(_h(),_h(),Dxt):(_h(),new p_e(t.b))}function jVe(e){return e.b.c.i.k==(pL(),wX)?F(q(e.b.c.i,(X(),d$)),12):e.b.c}function MVe(e){return e.b.d.i.k==(pL(),wX)?F(q(e.b.d.i,(X(),d$)),12):e.b.d}function NVe(e){switch(e.g){case 2:return Dz(),x5;case 4:return Dz(),t5;default:return e}}function PVe(e){switch(e.g){case 1:return Dz(),y5;case 3:return Dz(),n5;default:return e}}function FVe(e,t){var n=h0e(e);return p6e(new j(n.c,n.d),new j(n.b,n.a),e.Kf(),t,e.$f())}function tA(e,t){var n,r;for(MC(t),r=t.vc().Jc();r.Ob();)n=F(r.Pb(),45),e.yc(n.jd(),n.kd())}function IVe(e,t,n){for(var r=n.Jc();r.Ob();)if(!hE(e,t,r.Pb()))return!1;return!0}function LVe(e,t){var n;for(aC(t);e.Ob();)if(n=e.Pb(),!DHe(F(n,9)))return!1;return!0}function RVe(e,t,n,r,i){var a;return n&&(a=uN(t.Ah(),e.c),i=n.Oh(t,-1-(a==-1?r:a),null,i)),i}function zVe(e,t,n,r,i){var a;return n&&(a=uN(t.Ah(),e.c),i=n.Qh(t,-1-(a==-1?r:a),null,i)),i}function BVe(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 VVe(e){if(MC(e),e.length==0)throw O(new pm(`Zero length BigInteger`));irt(this,e)}function HVe(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function UVe(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new Od,N3e(this),fw(),Bv(this.a,null)}function WVe(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),ry(e.a,t)}function GVe(e,t){return ti&&t.aa&&t.bi?n=i:kT(t,n+1),e.a=jw(e.a,0,t)+(``+r)+aEe(e.a,n)}function JVe(e,t,n,r){N(e.Cb,184)&&(F(e.Cb,184).tb=null),zk(e,n),t&&v6e(e,t),r&&e.el(!0)}function YVe(){YVe=C,fLt=Rj((yI(),W(A(dLt,1),Z,285,0,[uLt,B3,W3,K3,V3,H3,U3,G3])))}function XVe(){XVe=C,lBt=Rj((nL(),W(A(y7,1),Z,244,0,[v7,h7,g7,m7,_7,f7,d7,p7])))}function ZVe(){ZVe=C,awt=Rj((pL(),W(A(jX,1),Z,249,0,[OX,EX,wX,kX,TX,CX,AX,DX])))}function QVe(){QVe=C,OTt=Rj((YL(),W(A(DTt,1),Z,275,0,[TZ,OZ,wZ,jZ,DZ,EZ,AZ,kZ])))}function $Ve(){return lR(),W(A(rNt,1),Z,264,0,[R2,XMt,eNt,tNt,$Mt,YMt,nNt,qMt,QMt,ZMt,JMt])}function eHe(){eHe=C,eMt=LN(tme(Sx(Sx(new AC,($F(),iX),(Uz(),XX)),aX,HX),oX),YX)}function tHe(){tHe=C,iMt=LN(tme(Sx(Sx(new AC,($F(),iX),(Uz(),XX)),aX,HX),oX),YX)}function nHe(){var e;return pY||(pY=new Ise,e=new LPe(``),Yme(e,(vh(),Ixt)),JBe(pY,e)),pY}function rHe(e){return pb(),e.A.Gc((EN(),T5))&&!e.B.Gc((hR(),P5))?Yqe(e):null}function iHe(e,t){var n=xnt(sk(),e);return n?(pP(t,(Hz(),K6),n),!0):!1}function uA(e,t){for(var n=0;n1||e.Ob())return++e.a,e.g=0,t=e.i,e.Ob(),t;throw O(new Qd)}function gHe(e){Zme();var t;return Sde(D2,e)||(t=new Oi,t.a=e,Ive(D2,e,t)),F(zC(D2,e),636)}function _He(e){switch(e.a.g){case 1:return new ype;case 3:return new kZe;default:return new fie}}function vHe(e,t){switch(t){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return Aje(e,t)}function xA(e){var t;return e<128?(VCe(),t=qbt[e],!t&&(t=qbt[e]=new Cl(e)),t):new Cl(e)}function yHe(e){for(var t=1,n,r=e.Jc();r.Ob();)n=r.Pb(),t=31*t+(n==null?0:Lk(n)),t=~~t;return t}function SA(e){var t,n,r=0;for(n=new fh(e.a);n.a>22),i=e.h+t.h+(r>>22);return Uv(n&vV,r&vV,i&yV)}function $He(e,t){var n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22);return Uv(n&vV,r&vV,i&yV)}function eUe(e){var t;FR(e,!0),t=qB,Yy(e,(zz(),t0))&&(t+=F(q(e,t0),15).a),G(e,t0,K(t))}function GA(e){var t,n,r,i=new Od;for(r=e.Jc();r.Ob();)n=F(r.Pb(),26),t=HL(n),VA(i,t);return i}function tUe(e,t,n){var r;BS(e.a),kO(n.i,new Noe(e)),r=new Wv(F(pC(e.a,t.b),68)),JJe(e,r,t),n.f=r}function nUe(e,t){return!e||!t||e==t?!1:DJe(e.d.c,t.d.c+t.d.b)&&DJe(t.d.c,e.d.c+e.d.b)}function rUe(e,t,n,i,a){return GL(),r.Math.min(Cct(e,t,n,i,a),Cct(n,i,e,t,Xy(new j(a.a,a.b))))}function iUe(e,t){if(!e)throw O(new Hp(QL(`value already present: %s`,W(A(hJ,1),iB,1,5,[t]))))}function aUe(e){var t,n=(Im(),t=new ao,t);return e&&hD((!e.a&&(e.a=new I(Q5,e,6,6)),e.a),n),n}function KA(e,t){var n,r=0;if(e<64&&e<=t)for(t=t<64?t:63,n=e;n<=t;n++)r=IT(r,dS(1,n));return r}function oUe(e,t){var n,r;for(xw(t,`predicate`),r=0;e.Ob();r++)if(n=e.Pb(),t.Lb(n))return r;return-1}function sUe(e,t){t===0?(!e.o&&(e.o=new yD((Pz(),a7),u7,e,0)),e.o.c.$b()):_I(e,t)}function cUe(e){switch(e.g){case 1:return T8;case 2:return w8;case 3:return E8;default:return D8}}function lUe(e){fw();var t,n,r=0;for(n=e.Jc();n.Ob();)t=n.Pb(),r+=t==null?0:Lk(t),r|=0;return r}function uUe(e){var t=new S;return t.a=e,t.b=EUe(e),t.c=H(KJ,vB,2,2,6,1),t.c[0]=uVe(e),t.c[1]=uVe(e),t}function qA(){qA=C,uZ=new yg(oU,0),cZ=new yg(Bpt,1),lZ=new yg(Vpt,2),sZ=new yg(`BOTH`,3)}function JA(){JA=C,fX=new hg(`Q1`,0),hX=new hg(`Q4`,1),pX=new hg(`Q2`,2),mX=new hg(`Q3`,3)}function YA(){YA=C,kQ=new Mg(`ONLY_WITHIN_GROUP`,0),mEt=new Mg(sU,1),OQ=new Mg(`ENFORCED`,2)}function XA(){XA=C,tQ=new Dg(oU,0),eQ=new Dg(`INCOMING_ONLY`,1),nQ=new Dg(`OUTGOING_ONLY`,2)}function ZA(){ZA=C,new fd(`org.eclipse.elk.addLayoutConfig`),nLt=new ka,tLt=new Aa,rLt=new Oa}function QA(){QA=C,NJ={boolean:Lue,number:cce,string:Np,object:p3e,function:p3e,undefined:Tse}}function dUe(){dUe=C,pjt=Rj((oR(),W(A(fjt,1),Z,243,0,[J0,K0,q0,ljt,ujt,cjt,djt,Y0,W0,G0])))}function fUe(){fUe=C,fEt=Rj((WL(),W(A(CQ,1),Z,261,0,[mQ,gQ,_Q,vQ,yQ,bQ,SQ,pQ,hQ,xQ])))}function pUe(e,t,n,r){return new Tde(W(A(bJ,1),DB,45,0,[(RP(e,t),new eh(e,t)),(RP(n,r),new eh(n,r))]))}function mUe(e,t){return jit(F(F(pC(e.g,t.a),49).a,68),F(F(pC(e.g,t.b),49).a,68))}function hUe(e,t,n){var r=e.gc();if(t>r)throw O(new Ob(t,r));return e.Qi()&&(n=Hke(e,n)),e.Ci(t,n)}function gUe(e){var t,n=e.n,r=e.o;return t=e.d,new rw(n.a-t.b,n.b-t.d,r.a+(t.b+t.c),r.b+(t.d+t.a))}function _Ue(e,t){return!e||!t||e==t?!1:ZM(e.b.c,t.b.c+t.b.b)<0&&ZM(t.b.c,e.b.c+e.b.b)<0}function $A(e,t,n){return e>=128?!1:q_(e<64?FT(dS(1,e),n):FT(dS(1,e-64),t),0)}function ej(e,t,n){switch(n.g){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function vUe(e,t){for(;e.g==null&&!e.c?Vke(e):e.g==null||e.i!=0&&F(e.g[e.i-1],50).Ob();)t.Bi(fL(e))}function tj(e,t,n){return n==null?(!e.q&&(e.q=new kd),GE(e.q,t)):(!e.q&&(e.q=new kd),LC(e.q,t,n)),e}function G(e,t,n){return n==null?(!e.q&&(e.q=new kd),GE(e.q,t)):(!e.q&&(e.q=new kd),LC(e.q,t,n)),e}function yUe(e){var t,n=new YE;return wA(n,e),G(n,(Mk(),XY),e),t=new kd,mat(e,n,t),$ct(e,n,t),n}function bUe(e){GL();var t,n=H(J3,vB,8,2,0,1),r=0;for(t=0;t<2;t++)r+=.5,n[t]=JXe(r,e);return n}function xUe(e,t){for(var n=!1,r=e.a[t].length,i,a=0;ae.f,n=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d;return t||n}function wUe(e){var t;return(!e.c||!(e.Bb&1)&&e.c.Db&64)&&(t=mF(e),N(t,88)&&(e.c=F(t,29))),e.c}function TUe(e){var t;if(e<0)return VB;if(e==0)return 0;for(t=PB;(t&e)==0;t>>=1);return t}function EUe(e){var t;return e==0?`Etc/GMT`:(e<0?(e=-e,t=`Etc/GMT-`):t=`Etc/GMT+`,t+dRe(e))}function DUe(e){var t,n=KI(e.h);return n==32?(t=KI(e.m),t==32?KI(e.l)+32:t+20-10):n-12}function rj(e){var t=e.a[e.b];return t==null?null:(fC(e.a,e.b,null),e.b=e.b+1&e.a.length-1,t)}function OUe(){++xbt,this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function kUe(e,t){this.c=e,this.d=t,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function AUe(e,t){this.b=e,av.call(this,(F(U(z((eC(),K7).o),10),19),t.i),t.g),this.a=(Zk(),GBt)}function jUe(e,t,n){this.q=new r.Date,this.q.setFullYear(e+sV,t,n),this.q.setHours(0,0,0,0),LR(this,0)}function MUe(e,t,n){var r=new fD(t,n),i=new _e;return e.b=Eet(e,e.b,r,i),i.b||++e.c,e.b.b=!1,i.d}function NUe(e,t){fw();var n,r,i,a,o=!1;for(r=t,i=0,a=r.length;io||r+i>a)throw O(new Hd)}function FUe(e,t,n){var r,i,a,o=oM(t,n);for(a=0,i=o.Jc();i.Ob();)r=F(i.Pb(),12),LC(e.c,r,K(a++))}function ij(e){for(var t,n=new D(e.a.b);n.a1||t>=0&&e.b<3)}function iWe(){Wz();var e;return WVt||(e=n_e(Az(`M`,!0)),e=Lx(Az(`M`,!1),e),WVt=e,WVt)}function aWe(e){switch(e.g){case 1:return Fht;default:case 2:return 0;case 3:return Iht;case 4:return Lht}}function gj(e,t){if(!e.Ji()&&t==null)throw O(new Hp(`The 'no null' constraint is violated`));return t}function oWe(e,t){rx(e>=0,`Negative initial capacity`),rx(t>=0,`Non-positive load factor`),BS(this)}function sWe(e,t){for(var n,r,i=e.b;i;){if(n=e.a.Le(t,i.d),n==0)return i;r=n<0?0:1,i=i.a[r]}return null}function _j(e,t){var n;return t===e?!0:N(t,229)?(n=F(t,229),aM(e.Zb(),n.Zb())):!1}function cWe(e,t){return a9e(e,t)?(GI(e.b,F(q(t,(X(),WQ)),22),t),fx(e.a,t),!0):!1}function lWe(e,t){return Yy(e,(X(),u$))&&Yy(t,u$)?F(q(t,u$),15).a-F(q(e,u$),15).a:0}function uWe(e,t){return Yy(e,(X(),u$))&&Yy(t,u$)?F(q(e,u$),15).a-F(q(t,u$),15).a:0}function dWe(e,t){var n=F(Y(e,(JL(),t3)),15).a,r=F(Y(t,t3),15).a;return n==r||nr)}function fWe(e){return ry(e.c,(ZA(),nLt)),Dze(e.a,k(P(iP((bN(),E0)))))?new $ne:new Ioe(e)}function pWe(e){for(;!e.d||!e.d.Ob();)if(e.b&&!qp(e.b))e.d=F(KS(e.b),50);else return null;return e.d}function mWe(e,t,n){return e.d[t.p][n.p]||(cXe(e,t,n),e.d[t.p][n.p]=!0,e.d[n.p][t.p]=!0),e.a[t.p][n.p]}function vj(e,t,n){var r,i=(r=new Jf,r);return pk(i,t,n),hD((!e.q&&(e.q=new I(B7,e,11,10)),e.q),i),i}function yj(e){var t,n,r,i=xde(aBt,e);for(n=i.length,r=H(KJ,vB,2,n,6,1),t=0;t=e.b.c.length||(hWe(e,2*t+1),n=2*t+2,n0&&(t.Ad(n),n.i&&kYe(n))}function _We(e,t,n){for(var r=n-1;r>=0&&e[r]===t[r];r--);return r<0?0:Qh(FT(e[r],PV),FT(t[r],PV))?-1:1}function vWe(e,t){var n;return!e||e==t||!Yy(t,(X(),e$))?!1:(n=F(q(t,(X(),e$)),9),n!=e)}function xj(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function yWe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function bWe(e,t){for(var n,r=e.Zb().Bc().Jc();r.Ob();)if(n=F(r.Pb(),18),n.Gc(t))return!0;return!1}function xWe(e,t,n){var r,i,a,o;for(MC(n),o=!1,a=e.dd(t),i=n.Jc();i.Ob();)r=i.Pb(),a.Rb(r),o=!0;return o}function SWe(e,t,n){var r,i;this.g=e,this.c=t,this.a=this,this.d=this,i=GBe(n),r=H(Obt,NB,227,i,0,1),this.b=r}function Sj(e,t){var n,r=F(yA(e.a,4),129);return n=H(w7,pq,415,t,0,1),r!=null&&OR(r,0,n,0,r.length),n}function CWe(e,t){var n=new Att(!!(e.f&256),e.i,e.a,e.d,!!(e.f&16),e.j,e.g,t);return e.e??(n.c=e),n}function wWe(e,t){var n;return e===t?!0:N(t,92)?(n=F(t,92),q2e(oS(e),n.vc())):!1}function TWe(e,t,n){for(var r,i=n.Jc();i.Ob();)if(r=F(i.Pb(),45),e.ze(t,r.kd()))return!0;return!1}function Cj(e){return z_(e)?KJ:R_(e)?BJ:L_(e)?LJ:Zwe(e)||bwe(e)?e.Pm:e.Pm||Array.isArray(e)&&A(Mbt,1)||Mbt}function wj(){wj=C,cX=Oke(W(A(c8,1),Z,86,0,[(hM(),i8),a8])),lX=Oke(W(A(c8,1),Z,86,0,[s8,r8]))}function Tj(){Tj=C,nzt=new kv(15),tzt=new Mv((Hz(),M6),nzt),b8=U6,ZRt=jLt,QRt=E6,ezt=O6,$Rt=D6}function Ej(){Ej=C,S8=new y_(D_t,0),x8=new y_(`INCLUDE_CHILDREN`,1),C8=new y_(`SEPARATE_CHILDREN`,2)}function Dj(){Dj=C,O4=new $g(oU,0),dPt=new $g(`RADIAL_COMPACTION`,1),fPt=new $g(`WEDGE_COMPACTION`,2)}function Oj(){Oj=C,s2=new Ug(`STACKED`,0),a2=new Ug(`REVERSE_STACKED`,1),o2=new Ug(`SEQUENCED`,2)}function kj(){kj=C,Vxt=new og(`CONCURRENT`,0),hY=new og(`IDENTITY_FINISH`,1),Hxt=new og(`UNORDERED`,2)}function Aj(){Aj=C,W5=new N_(`ELK`,0),Vzt=new N_(`JSON`,1),Bzt=new N_(`DOT`,2),Hzt=new N_(`SVG`,3)}function jj(){jj=C,_4=new Zg(sU,0),h4=new Zg(Vht,1),g4=new Zg(`FAN`,2),m4=new Zg(`CONSTRAINT`,3)}function Mj(){Mj=C,c2=new Wg(`CONSERVATIVE`,0),Djt=new Wg(`CONSERVATIVE_SOFT`,1),l2=new Wg(`SLOPPY`,2)}function Nj(e,t,n){for(var r=new ph,i,a=nP(n,0);a.b!=a.d.c;)i=F(sE(a),8),fx(r,new pv(i));xWe(e,t,r)}function EWe(e){var t=0,n,r=H(J3,vB,8,e.b,0,1);for(n=nP(e,0);n.b!=n.d.c;)r[t++]=F(sE(n),8);return r}function DWe(e,t){var n=F(e.d.Ac(t),18),r;return n?(r=e.e.hc(),r.Fc(n),e.e.d-=n.gc(),n.$b(),r):null}function OWe(e,t){var n,r=e.c[t];if(r!=0)for(e.c[t]=0,e.d-=r,n=t+1;n0)return vS(t-1,e.a.c.length),KE(e.a,t-1);throw O(new qd)}function AWe(e,t,n){if(t<0)throw O(new Fp(Kgt+t));tt)throw O(new Hp(YV+e+Mft+t));if(e<0||t>n)throw O(new Ece(YV+e+Nft+t+Eft+n))}function MWe(e){if(!e.a||!(e.a.i&8))throw O(new Up(`Enumeration class expected for layout option `+e.f))}function NWe(e){Eke.call(this,`The given string does not match the expected format for individual spacings.`,e)}function PWe(){ece.call(this,new FIe(hA(16))),_k(2,Xdt),this.b=2,this.a=new GEe(null,null,0,null),Vd(this.a,this.a)}function FWe(e){Sce(),Gv(this),gw(this),this.e=e,cet(this,e),this.g=e==null?aB:XM(e),this.a=``,this.b=e,this.a=``}function Pj(e,t){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),xk(e,t==null?null:(MC(t),t)),e.C&&e.fl(null)}function IWe(e,t){var n=e.a.length-1,r;for(e.c=e.c-1&n;t!=e.c;)r=t+1&n,fC(e.a,t,e.a[r]),t=r;fC(e.a,e.c,null)}function LWe(e,t){for(var n=e.a.length-1,r;t!=e.b;)r=t-1&n,fC(e.a,t,e.a[r]),t=r;fC(e.a,e.b,null),e.b=e.b+1&n}function RWe(e,t,n){var r,i;return pT(t,e.c.length),r=n.Nc(),i=r.length,i!=0&&(BSe(e.c,t,r),!0)}function zWe(e){var t=(!e.a&&(e.a=new I(R7,e,9,5)),e.a);return t.i==0?null:vde(F(U(t,0),684))}function BWe(e,t){var n=IM(e,t);return Qh(LT(e,t),0)|K_(LT(e,n),0)?n:IM(CB,LT(pS(n,63),1))}function VWe(e,t){var n=iP((bN(),E0))!=null&&t.Rg()!=null?k(P(t.Rg()))/k(P(iP(E0))):1;LC(e.b,t,n)}function Fj(e){var t;++e.j,e.i==0?e.g=null:e.ii&&(e1e(t.q,i),r=n!=t.q.d)),r}function tGe(e,t){for(var n=0;n=e.c.b:e.a<=e.c.b))throw O(new Qd);return t=e.a,e.a+=e.c.c,++e.b,K(t)}function Uj(e,t){var n=F(e.c.Ac(t),18),r;return n?(r=e.hc(),r.Fc(n),e.d-=n.gc(),n.$b(),e.mc(r)):e.jc()}function sGe(e,t){aC(e);try{return e.Ac(t)}catch(e){if(e=UA(e),N(e,211)||N(e,172))return null;throw O(e)}}function Wj(e,t){aC(e);try{return e.xc(t)}catch(e){if(e=UA(e),N(e,211)||N(e,172))return null;throw O(e)}}function Gj(e,t){var n;return dv(e)&&dv(t)&&(n=e-t,!isNaN(n))?n:VQe(dv(e)?CA(e):e,dv(t)?CA(t):t)}function Kj(e,t,n){return r.Math.abs(t-e)uG?e-n>uG:n-e>uG}function cGe(e){throw QA(),O(new Tp(`Unexpected typeof result '`+e+`'; please report this bug to the GWT team`))}function lGe(){this.a=new Sa,this.f=new $u(this),this.b=new koe(this),this.i=new Aoe(this),this.e=new ed(this)}function qj(){qj=C,m2=new qg(`BARYCENTER`,0),g2=new qg(Rpt,1),_2=new qg(zpt,2),h2=new qg(`MEDIAN`,3)}function Jj(){Jj=C,M0=new Lg(`DUMMY_NODE_OVER`,0),njt=new Lg(`DUMMY_NODE_UNDER`,1),N0=new Lg(`EQUAL`,2)}function Yj(){Yj=C,u8=new h_(D_t,0),l8=new h_(`CONTAINER`,1),LRt=new h_(`PARENT`,2),RRt=new h_(`ROOT`,3)}function uGe(e,t,n){var r=new G6e(e,t);GI(e.r,t.$f(),r),n&&!VS(e.u)&&(r.c=new wke(e.d),kO(t.Pf(),new ru(r)))}function Xj(e){var t=new phe(e.a);return wA(t,e),G(t,(X(),d$),e),t.o.a=e.g,t.o.b=e.f,t.n.a=e.i,t.n.b=e.j,t}function Zj(e){var t;return Ky(e.a!=e.b),t=e.d.a[e.a],u_e(e.b==e.d.c&&t!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,t}function dGe(e){var t;if(e.c!=0)return e.c;for(t=0;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 yGe(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 bGe(e){var t,n,r,i;if(e!=null){for(n=0;n0&&(n=F(kx(e.a,e.a.c.length-1),565),cWe(n,t))||ry(e.a,new FPe(t))}function PGe(e,t){var n;e.c.length!=0&&(n=F(qN(e,H(SX,mU,9,e.c.length,0,1)),199),hme(n,new cn),T6e(n,t))}function FGe(e,t){var n;e.c.length!=0&&(n=F(qN(e,H(SX,mU,9,e.c.length,0,1)),199),hme(n,new ln),T6e(n,t))}function IGe(e,t,n,r,i){t!=0&&r!=0&&(t==1?i[r]=gXe(i,n,r,e[0]):r==1?i[t]=gXe(i,e,t,n[0]):m8e(e,n,i,t,r))}function K(e){var t,n;return e>-129&&e<128?(LCe(),t=e+128,n=Jbt[t],!n&&(n=Jbt[t]=new bl(e)),n):new bl(e)}function $j(e){var t,n;return e>-129&&e<128?(UCe(),t=e+128,n=ext[t],!n&&(n=ext[t]=new El(e)),n):new El(e)}function LGe(e){var t=new dm;return t.a+=`VerticalSegment `,Z_(t,e.e),t.a+=` `,Q_(t,sge(new am,new D(e.k))),t.a}function RGe(e){Jb();var t=e.d.c-e.e.c,n=F(e.g,156);kO(n.b,new Hae(t)),kO(n.c,new Uae(t)),jE(n.i,new Wae(t))}function zGe(e,t){var n;e.c=t,e.a=Aqe(t),e.a<54&&(e.f=(n=t.d>1?eMe(t.a[0],t.a[1]):eMe(t.a[0],0),ZT(t.e>0?n:RD(n))))}function BGe(e,t){for(var n=0,r,i=MM(e,t).Jc();i.Ob();)r=F(i.Pb(),12),n+=q(r,(X(),m$))==null?0:1;return n}function eM(e,t,n){for(var r=0,i,a=nP(e,0);a.b!=a.d.c&&(i=k(P(sE(a))),!(i>n));)i>=t&&++r;return r}function VGe(e,t,n){var r,i=e.sb;return e.sb=t,e.Db&4&&!(e.Db&1)&&(r=new CS(e,1,4,i,t),n?n.lj(r):n=r),n}function HGe(e){var t=F(oO(e.c.c,``),233);return t||(t=new vT(wm(Cm(new Ia,``),`Other`)),XN(e.c.c,``,t)),t}function tM(e){var t;return e.Db&64?cL(e):(t=new gy(cL(e)),t.a+=` (name: `,Y_(t,e.zb),t.a+=`)`,t.a)}function UGe(e,t,n){var r,i=e.r;return e.r=t,e.Db&4&&!(e.Db&1)&&(r=new CS(e,1,8,i,e.r),n?n.lj(r):n=r),n}function WGe(e,t,n){var r=new ZD(e.e,4,13,(i=t.c,i||(Kz(),e9)),null,SP(e,t),!1),i;return n?n.lj(r):n=r,n}function GGe(e,t,n){var r=new ZD(e.e,3,13,null,(i=t.c,i||(Kz(),e9)),SP(e,t),!1),i;return n?n.lj(r):n=r,n}function nM(e,t){var n=F(t,681),r=n.cl();return!r&&n.dl(r=N(t,88)?new Epe(e,F(t,29)):new Wje(e,F(t,159))),r}function rM(e,t,n){var r;e.Zi(e.i+1),r=e.Xi(t,n),t!=e.i&&OR(e.g,t,e.g,t+1,e.i-t),fC(e.g,t,r),++e.i,e.Ki(t,n),e.Li()}function KGe(e,t,n,r,i,a,o,s){for(var c=n;a=r||tn)throw O(new Fp(YV+e+Nft+t+`, size: `+n));if(e>t)throw O(new Hp(YV+e+Mft+t))}function cM(e,t){var n=!!(e.Bb&256);t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,2,n,t))}function lM(e,t){var n=!!(e.Bb&512);t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,3,n,t))}function $Ge(e,t){var n=!!(e.Bb&256);t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,8,n,t))}function eKe(e,t){var n=!!(e.Bb&512);t?e.Bb|=512:e.Bb&=-513,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,9,n,t))}function tKe(e){var t;return e.Db&64?cL(e):(t=new gy(cL(e)),t.a+=` (source: `,Y_(t,e.d),t.a+=`)`,t.a)}function uM(e,t){var n=!!(e.Bb&256);t?e.Bb|=256:e.Bb&=-257,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,8,n,t))}function nKe(e,t,n){var r,i=e.a;return e.a=t,e.Db&4&&!(e.Db&1)&&(r=new CS(e,1,5,i,e.a),n?b1e(n,r):n=r),n}function dM(e,t){var n;return e.b==-1&&e.a&&(n=e.a.nk(),e.b=n?e.c.Eh(e.a.Jj(),n):uN(e.c.Ah(),e.a)),e.c.vh(e.b,t)}function rKe(e,t){for(var n,r=new uy(e);r.e!=r.i.gc();)if(n=F(aP(r),29),M(t)===M(n))return!0;return!1}function iKe(e){Gz();for(var t,n=ZN(),r=0,i=n.length;r=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function oKe(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 sKe(e){var t=e.k,n;return t==(pL(),wX)&&(n=F(q(e,(X(),qQ)),64),n==(Dz(),n5)||n==y5)}function cKe(e){var t=yMe(e);return G_(t.a,0)?(mh(),mh(),sY):(mh(),new qy(Zh(t.a,0)?xFe(t)/ZT(t.a):0))}function lKe(e,t){var n=AL(e,t);if(N(n,335))return F(n,38);throw O(new Hp(vK+t+`' is not a valid attribute`))}function fM(e,t,n){var r=e.gc();if(t>r)throw O(new Ob(t,r));if(e.Qi()&&e.Gc(n))throw O(new Hp(XK));e.Ei(t,n)}function uKe(e,t){for(var n,r=new uy(e);r.e!=r.i.gc();)if(n=F(aP(r),143),M(t)===M(n))return!0;return!1}function dKe(e,t,n){var r,i,a=(i=uL(e.b,t),i);return a&&(r=F(rz(WD(e,a),``),29),r)?E5e(e,r,t,n):null}function pM(e,t,n){var r,i,a=(i=uL(e.b,t),i);return a&&(r=F(rz(WD(e,a),``),29),r)?D5e(e,r,t,n):null}function fKe(e){var t,n,r=0;for(n=e.length,t=0;tt?1:e==t?e==0?mM(1/e,1/t):0:isNaN(e)?+!isNaN(t):-1}function gKe(e,t){t.Tg(`Sort end labels`,1),xh(ZC(cO(new Mx(null,new DT(e.b,16)),new qt),new Jt),new Yt),t.Ug()}function hM(){hM=C,o8=new m_(lH,0),a8=new m_(sH,1),i8=new m_(oH,2),r8=new m_(pH,3),s8=new m_(`UP`,4)}function gM(){gM=C,Dzt=new k_(`PARALLEL_NODE`,0),z5=new k_(`HIERARCHICAL_NODE`,1),B5=new k_(`ROOT_NODE`,2)}function _M(){_M=C,g3=new c_(`P1_STRUCTURE`,0),_3=new c_(`P2_PROCESSING_ORDER`,1),v3=new c_(`P3_EXECUTION`,2)}function vM(){vM=C,eIt=new o_(`EQUAL_BETWEEN_STRUCTURES`,0),tIt=new o_(`TO_ASPECT_RATIO`,1),u3=new o_(oU,2)}function yM(){yM=C,_8=new __(lH,0),h8=new __(`POLYLINE`,1),m8=new __(`ORTHOGONAL`,2),g8=new __(`SPLINES`,3)}function _Ke(){_Ke=C,nPt=LN(LN(Bh(LN(LN(Bh(Sx(new AC,(oF(),P2),(lR(),R2)),F2),$Mt),tNt),I2),YMt),nNt)}function vKe(e){switch(F(q(e,(X(),$Q)),316).g){case 1:G(e,$Q,(uO(),jQ));break;case 2:G(e,$Q,(uO(),NQ))}}function yKe(e){switch(e){case 0:return new Use;case 1:return new Vse;case 2:return new Hse;default:throw O(new Jd)}}function bKe(e){switch(e.g){case 2:return a8;case 1:return i8;case 4:return r8;case 3:return s8;default:return o8}}function xKe(e){switch(e.g){case 1:return x5;case 2:return n5;case 3:return t5;case 4:return y5;default:return b5}}function bM(e){switch(e.g){case 1:return y5;case 2:return x5;case 3:return n5;case 4:return t5;default:return b5}}function xM(e){switch(e.g){case 1:return t5;case 2:return y5;case 3:return x5;case 4:return n5;default:return b5}}function SM(e,t,n){var r,i;return e.Nj()?(i=e.Oj(),r=WI(e,t,n),e.Hj(e.Gj(7,K(n),r,t,i)),r):WI(e,t,n)}function CM(e,t){var n,r,i;e.d==null?(++e.e,--e.f):(i=t.jd(),n=t.yi(),r=(n&$z)%e.d.length,HFe(e,r,R5e(e,r,n,i)))}function wM(e,t){var n=(e.Bb&_q)!=0;t?e.Bb|=_q:e.Bb&=-8193,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,15,n,t))}function TM(e,t){var n=(e.Bb&mq)!=0;t?e.Bb|=mq:e.Bb&=-1025,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,10,n,t))}function EM(e,t){var n=(e.Bb&kV)!=0;t?e.Bb|=kV:e.Bb&=-4097,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,12,n,t))}function DM(e,t){var n=(e.Bb&CK)!=0;t?e.Bb|=CK:e.Bb&=-2049,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,11,n,t))}function SKe(e,t){var n=mM(e.b.c,t.b.c);return n!=0||(n=mM(e.a.a,t.a.a),n!=0)?n:mM(e.a.b,t.a.b)}function CKe(e){var t,n=xC(new dm,91);for(t=!0;e.Ob();)t||(n.a+=rB),t=!1,Z_(n,e.Pb());return(n.a+=`]`,n).a}function wKe(e){for(var t=new Od,n,r=new D(e.b);r.a=1?a8:r8):n}function kKe(e){switch(F(q(e,(zz(),g1)),222).g){case 1:return new gte;case 3:return new Ur;default:return new hte}}function AM(e){if(e.c)AM(e.c);else if(e.d)throw O(new Up(`Stream already terminated, can't be modified or used`))}function AKe(e){var t;if(!e.a)throw O(new Up(`Cannot offset an unassigned cut.`));t=e.c-e.b,e.b+=t,nOe(e,t),rOe(e,t)}function jKe(e,t,n){var r,i;if(e.c)N0e(e.c,t,n);else for(i=new D(e.b);i.a=0?yN(e):JS(yN(RD(e))))}function PKe(e,t,n,r,i,a){this.e=new Od,this.f=(uk(),r2),ry(this.e,e),this.d=t,this.a=n,this.b=r,this.f=i,this.c=a}function FKe(e,t,n,r,i){_he(this),this.b=e,this.d=H(SX,mU,9,t.a.c.length,0,1),this.f=n,qN(t.a,this.d),this.g=r,this.c=i}function IKe(e,t,n){var r=n;!r&&(r=dCe(new ip,0)),r.Tg(Cpt,2),dXe(e.b,t,r.dh(1)),dst(e,t,r.dh(1)),sut(t,r.dh(1)),r.Ug()}function LKe(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 RKe(e,t,n){var r=(Im(),i=new io,i),i;return HO(r,t),UO(r,n),e&&hD((!e.a&&(e.a=new oy(q5,e,5)),e.a),r),r}function PM(e){var t;return e.Db&64?cL(e):(t=new gy(cL(e)),t.a+=` (identifier: `,Y_(t,e.k),t.a+=`)`,t.a)}function FM(e){var t;switch(e.gc()){case 0:return Ex(),EJ;case 1:return new hb(aC(e.Xb(0)));default:return t=e,new PT(t)}}function IM(e,t){var n;return dv(e)&&dv(t)&&(n=e+t,wV>10)+MV&JB,t[1]=(e&1023)+56320&JB,MN(t,0,t.length)}function zM(e){for(var t=new Od,n,r=new D(e.j);r.a34028234663852886e22?DV:t<-34028234663852886e22?OV:t}function HM(e,t){var n=(e.Bb&yB)!=0;t?e.Bb|=yB:e.Bb&=-16385,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,16,n,t))}function UM(e,t){var n=(e.Bb&xK)!=0;t?e.Bb|=xK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,18,n,t))}function HKe(e,t){var n=(e.Bb&xK)!=0;t?e.Bb|=xK:e.Bb&=-32769,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,18,n,t))}function UKe(e,t){var n=(e.Bb&jV)!=0;t?e.Bb|=jV:e.Bb&=-65537,e.Db&4&&!(e.Db&1)&&dA(e,new RE(e,1,20,n,t))}function WKe(e,t){e.n.c.length==0&&ry(e.n,new Xw(e.s,e.t,e.i)),ry(e.b,t),qXe(F(kx(e.n,e.n.c.length-1),208),t),Qit(e,t)}function GKe(e,t,n){var r;n.Tg(`Straight Line Edge Routing`,1),n.bh(t,$ht),r=F(Y(t,(fb(),y4)),26),Zat(e,r),n.bh(t,SG)}function KKe(e){for(var t,n=V8e(LO(oT(e))).Jc();n.Ob();)if(t=rb(n.Pb()),xR(e,t))return qNe((dde(),jBt),t);return null}function qKe(e){var t=new Ave(e.Pd().gc()),n,r,i=0;for(r=TD(e.Pd().Jc());r.Ob();)n=r.Pb(),GDe(t,n,K(i++));return B2e(t.a)}function WM(e){var t,n=(t=F(Rm((r=e.Pm,i=r.f,i==wJ?r:i)),10),new Rb(t,F(yb(t,t.length),10),0)),r,i;return Dk(n,e),n}function JKe(e){for(var t,n=0,r=e.length;nt){Qje(n);break}}YS(n,t)}function JM(e,t){var n=t.f,r,i,a,o;if(XN(e.c.d,n,t),t.g!=null)for(i=t.g,a=0,o=i.length;at&&r.Le(e[a-1],e[a])>0;--a)o=e[a],fC(e,a,e[a-1]),fC(e,a-1,o)}function YM(e,t,n,r){if(t<0)x7e(e,n,r);else{if(!n.pk())throw O(new Hp(vK+n.ve()+yK));F(n,69).uk().Ak(e,e.ei(),t,r)}}function $Ke(e,t){var n=AL(e.Ah(),t);if(N(n,103))return F(n,19);throw O(new Hp(vK+t+`' is not a valid reference`))}function XM(e){var t;return Array.isArray(e)&&e.Rm===ne?Um(Cj(e))+`@`+(t=Lk(e)>>>0,t.toString(16)):e.toString()}function eqe(e,t){return e.h==bV&&e.m==0&&e.l==0?(t&&(PJ=Uv(0,0,0)),lme((fO(),Hbt))):(t&&(PJ=Uv(e.l,e.m,e.h)),Uv(0,0,0))}function tqe(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 nqe(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 rqe(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 ZGe(e,t,n,r)}function iqe(e,t,n){switch(t.g){case 1:e.b-=n.b/2;break;case 3:e.b+=n.b/2;break;case 4:e.a-=n.a/2;break;case 2:e.a+=n.a/2}}function aqe(e,t){return kb(t.b&&t.c?HT(t.b)+`->`+HT(t.c):`e_`+Lk(t),e.b&&e.c?HT(e.b)+`->`+HT(e.c):`e_`+Lk(e))}function oqe(e,t){return kb(t.b&&t.c?HT(t.b)+`->`+HT(t.c):`e_`+Lk(t),e.b&&e.c?HT(e.b)+`->`+HT(e.c):`e_`+Lk(e))}function ZM(e,t){return Pv(),ok(BB),r.Math.abs(e-t)<=BB||e==t||isNaN(e)&&isNaN(t)?0:et?1:vb(isNaN(e),isNaN(t))}function QM(e,t){if(t==e.d)return e.e;if(t==e.e)return e.d;throw O(new Hp(`Node `+t+` not part of edge `+e))}function sqe(e){return e.e==null?e:(!e.c&&(e.c=new Att(!!(e.f&256),e.i,e.a,e.d,!!(e.f&16),e.j,e.g,null)),e.c)}function cqe(e){return e.k==(pL(),OX)&&FE(new Mx(null,new oC(new uS(py(VM(e).a.Jc(),new f)))),new Zee)}function $M(e){var t;if(e.b){if($M(e.b),e.b.d!=e.c)throw O(new Kd)}else e.d.dc()&&(t=F(e.f.c.xc(e.e),18),t&&(e.d=t))}function lqe(e){pb();for(var t=e.o.b,n,r=F(F(VE(e.r,(Dz(),y5)),22),83).Jc(),i;r.Ob();)n=F(r.Pb(),115),i=n.e,i.b+=t}function uqe(e,t){db();var n,r=lLe(e),i=t,a;for(kD(r,0,r.length,i),n=0;n=i)return t.c+n;return t.c+t.b.gc()}function eN(e,t,n){for(var r=0,i=e.length;r0&&(kT(t-1,e.length),e.charCodeAt(t-1)==58)&&!eN(e,D7,O7))}function tN(e){var t;this.a=(t=F(e.e&&e.e(),10),new Rb(t,F(yb(t,t.length),10),0)),this.b=H(hJ,iB,1,this.a.a.length,5,1)}function pqe(e){bN(),this.c=HE(W(A(iLt,1),iB,830,0,[JAt])),this.b=new kd,this.a=e,LC(this.b,E0,1),kO(YAt,new Foe(this))}function nN(){nN=C,L$=new Pg(oU,0),N$=new Pg(`FIRST`,1),P$=new Pg(Bpt,2),F$=new Pg(`LAST`,3),I$=new Pg(Vpt,4)}function rN(){rN=C,HZ=new wg(`LAYER_SWEEP`,0),NTt=new wg(`MEDIAN_LAYER_SWEEP`,1),VZ=new wg(jU,2),PTt=new wg(oU,3)}function iN(){iN=C,U5=new j_(kht,0),Pzt=new j_(`GROUP_DEC`,1),Izt=new j_(`GROUP_MIXED`,2),Fzt=new j_(`GROUP_INC`,3)}function mqe(e){var t,n,r,i,a=s0e(e);return n=sh(e.c),r=!n,r&&(i=new Yc,vO(a,`knownLayouters`,i),t=new ase(i),jE(e.c,t)),a}function hqe(e,t,n,r,i){for(var a,o=i,s;t.b!=t.c;)a=F(KS(t),9),s=F(MM(a,r).Xb(0),12),e.d[s.p]=o++,zd(n.c,s);return o}function gqe(e,t){var n,r=0,i,a,o,s;for(n=0,a=t,o=0,s=a.length;o0&&(r+=i,++n);return n>1&&(r+=e.d*(n-1)),r}function _qe(e){var t,n,r=new lm;for(r.a+=`[`,t=0,n=e.gc();t>5,t=e&31,r=H(q9,cV,30,n+1,15,1),r[n]=1<=0;--r)for(t=n[r],i=0;i0&&(t.lengthe.i&&fC(t,e.i,null),t}function fN(e){var t;return e.Db&64?tM(e):(t=new gy(tM(e)),t.a+=` (instanceClassName: `,Y_(t,e.D),t.a+=`)`,t.a)}function pN(e){var t,n,r,i=0;for(n=0,r=e.length;n0&&(e.Zj(),r=t==null?0:Lk(t),i=(r&$z)%e.d.length,n=R5e(e,i,r,t),n!=-1)}function hN(e,t){var n,r,i,a=LL(e.e.Ah(),t);for(n=F(e.g,122),i=0;i3;)i*=10,--a;e=(e+(i>>1))/i|0}return r.i=e,!0}function Jqe(e,t,n){for(var r=FT(n,PV),i=0;Gj(r,0)!=0&&i0&&(e.Zj(),r=t==null?0:Lk(t),i=(r&$z)%e.d.length,n=O6e(e,i,r,t),n)?n.kd():null}function tJe(e,t){var n,r,i;return N(t,45)?(n=F(t,45),r=n.jd(),i=Wj(e.Pc(),r),EC(i,n.kd())&&(i!=null||e.Pc()._b(r))):!1}function yN(e){iR();var t,n=Wx(e);return t=Wx(pS(e,32)),t==0?n>10||n<0?new _E(1,n):dxt[n]:new pje(n,t)}function nJe(e){return yP(),(e.q?e.q:(fw(),fw(),rY))._b((zz(),R1))?F(q(e,R1),203):F(q(jC(e),z1),203)}function bN(){bN=C,Mh(),E0=(zz(),g0),YAt=HE(W(A(N3,1),Dht,147,0,[a0,o0,c0,l0,f0,p0,m0,h0,v0,b0,s0,u0,_0]))}function rJe(e,t,n){bze(),Bse.call(this),this.a=Px(eSt,[vB,Qft],[593,216],0,[TY,wY],2),this.c=new hv,this.g=e,this.f=t,this.d=n}function iJe(e){this.e=H(q9,cV,30,e.length,15,1),this.c=H(J9,rH,30,e.length,16,1),this.b=H(J9,rH,30,e.length,16,1),this.f=0}function aJe(e){var t,n;for(e.j=H(Z9,NV,30,e.p.c.length,15,1),n=new D(e.p);n.a>5,r,i,a;return t&=31,i=e.d+n+(t==0?0:1),r=H(q9,cV,30,i,15,1),d0e(r,e.a,n,t),a=new FS(e.e,i,r),WT(a),a}function fJe(e,t){var n,r,i,a=t.b.b;for(e.a=new ph,e.b=H(q9,cV,30,a,15,1),n=0,i=nP(t.b,0);i.b!=i.d.c;)r=F(sE(i),40),r.g=n++}function pJe(e,t,n){var r,i,a=t-e.e,o=n-e.f;for(i=new D(e.a);i.a=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function kN(e,t,n){for(var r,i=null,a=e.b;a;){if(r=e.a.Le(t,a.d),n&&r==0)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function gJe(e,t,n){var r,i=F(pC(e.b,n),171),a,o;for(r=0,o=new D(t.j);o.a0?(r.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):`stack`in Error()}function AN(e){var t;e.c!=0&&(t=F(kx(e.a,e.b),295),t.b==1?(++e.b,e.bt?1:vb(isNaN(e),isNaN(t)))>0}function EJe(e,t){return Pv(),Pv(),ok(BB),(r.Math.abs(e-t)<=BB||e==t||isNaN(e)&&isNaN(t)?0:et?1:vb(isNaN(e),isNaN(t)))<0}function DJe(e,t){return Pv(),Pv(),ok(BB),(r.Math.abs(e-t)<=BB||e==t||isNaN(e)&&isNaN(t)?0:et?1:vb(isNaN(e),isNaN(t)))<=0}function OJe(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function NN(){NN=C,X0=new Vg(oU,0),mjt=new Vg(`NODES_AND_EDGES`,1),Z0=new Vg(`PREFER_EDGES`,2),Q0=new Vg(`PREFER_NODES`,3)}function kJe(e,t,n,r,i,a){this.a=e,this.c=t,this.b=n,this.f=r,this.d=i,this.e=a,this.c>0&&this.b>0&&(this.g=Fx(this.c,this.b,this.a))}function AJe(e,t){var n=e.a,r;t=String(t),n.hasOwnProperty(t)&&(r=n[t]);var i=(QA(),NJ)[typeof r];return i?i(r):cGe(typeof r)}function PN(e){var t,n,r=null;if(t=UK in e.a,n=!t,n)throw O(new em(`Every element must have an id.`));return r=LI(Qw(e,UK)),r}function FN(e){var t,n=u4e(e);for(t=null;e.c==2;)Rz(e),t||(t=(Wz(),Wz(),++W9,new Lv(2)),lz(t,n),n=t),n.Hm(u4e(e));return n}function IN(e,t){var n,r,i;return e.Zj(),r=t==null?0:Lk(t),i=(r&$z)%e.d.length,n=O6e(e,i,r,t),n?(rBe(e,n),n.kd()):null}function jJe(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 NJe(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw O(new Hp(`Input edge is not connected to the input port.`))}function LN(e,t){if(e.a<0)throw O(new Up(`Did not call before(...) or after(...) before calling add(...).`));return $ge(e,e.a,t),e}function PJe(e,t){var n,r,i;if(e.c)VO(e.c,t);else for(n=t-Hx(e),i=new D(e.a);i.a=a?(IWe(e,t),-1):(LWe(e,t),1)}function zJe(e,t){for(var n=(kT(t,e.length),e.charCodeAt(t)),r=t+1;rt.e?1:e.ft.f?1:Lk(e)-Lk(t)}function WJe(e,t){var n;return M(t)===M(e)?!0:!N(t,22)||(n=F(t,22),n.gc()!=e.gc())?!1:e.Hc(n)}function BN(e,t){return MC(e),t==null?!1:kb(e,t)?!0:e.length==t.length&&kb(e.toLowerCase(),t.toLowerCase())}function VN(e){var t,n;return Gj(e,-129)>0&&Gj(e,128)<0?(HCe(),t=Wx(e)+128,n=Xbt[t],!n&&(n=Xbt[t]=new vl(e)),n):new vl(e)}function GJe(e){for(var t,n=new D(e.a.b);n.agft)return n.Nh();if(r=n.Gh(),r||n==e)break}return r}function qJe(e,t,n){var r=F(U(qD(e.a),t),87),i,a=(i=r.c,i||(Kz(),e9));return(a.Sh()?Qj(e.b,F(a,52)):a)==n?wR(r):IO(r,n),a}function JJe(e,t,n){for(var r,i,a=new D(n.a);a.a2e3&&(Nbt=e,AJ=r.setTimeout(Rue,10))),kJ++==0&&(xRe((Cce(),Pbt)),!0)}function uYe(e,t,n){var r;(Lxt?(kqe(e),1):Rxt||Bxt?(vh(),1):zxt&&(vh(),0))&&(r=new $ye(t),r.b=n,h2e(e,r))}function KN(e,t){var n=!e.A.Gc((EN(),O5))||e.q==(LF(),U8);e.u.Gc((II(),X8))?n?Zlt(e,t):Elt(e,t):e.u.Gc(Q8)&&(n?rlt(e,t):yut(e,t))}function dYe(e){var t;M(Y(e,(Hz(),v6)))===M((Ej(),S8))&&(aT(e)?(t=F(Y(aT(e),v6),347),pP(e,v6,t)):pP(e,v6,C8))}function fYe(e,t,n){var r,i;QF(e.e,t,n,(Dz(),x5)),QF(e.i,t,n,t5),e.a&&(i=F(q(t,(X(),d$)),12),r=F(q(n,d$),12),VT(e.g,i,r))}function pYe(e,t,n){return new rw(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 mYe(e){var t;this.d=new Od,this.j=new Nm,this.g=new Nm,t=e.g.b,this.f=F(q(jC(t),(zz(),d1)),86),this.e=k(P(cP(t,f0)))}function hYe(e){this.d=new Od,this.e=new CE,this.c=H(q9,cV,30,(Dz(),W(A(S5,1),cU,64,0,[b5,n5,t5,y5,x5])).length,15,1),this.b=e}function gYe(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 _Ye(e,t){var n=RO(e.o,t);if(n==null)throw O(new em(`Node did not exist in input.`));return c9e(e,t),sR(e,t),w5e(e,t,n),null}function vYe(e,t){var n,r=e.a.length;for(t.lengthr&&fC(t,r,null),t}function qN(e,t){var n,r=e.c.length;for(t.lengthr&&fC(t,r,null),t}function JN(e,t,n,r){var i=e.length;if(t>=i)return i;for(t=t>0?t:0;t0&&(ry(e.b,new jSe(t.a,n)),r=t.a.length,0r&&(t.a+=Phe(H(K9,KB,30,-r,15,1))))}function CYe(e,t,n){var r,i,a;if(!n[t.d])for(n[t.d]=!0,i=new D(Ij(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.Th(i):VI(e,r)):n<0?VI(e,r):F(r,69).uk().zk(e,e.ei(),n)}function FYe(e){var t,n,r=(!e.o&&(e.o=new yD((Pz(),a7),u7,e,0)),e.o);for(n=r.c.Jc();n.e!=n.i.gc();)t=F(n.Wj(),45),t.kd();return oD(r)}function iP(e){var t;if(N(e.a,4)){if(t=IJe(e.a),t==null)throw O(new Up(Ygt+e.b+`'. `+qgt+(tb(S7),S7.k)+Jgt));return t}return e.a}function IYe(e){var t;if(e==null)return null;if(t=uut(QR(e,!0)),t==null)throw O(new nm(`Invalid base64Binary value: '`+e+`'`));return t}function aP(e){var t;try{return t=e.i.Xb(e.e),e.Vj(),e.g=e.e++,t}catch(t){throw t=UA(t),N(t,99)?(e.Vj(),O(new Qd)):O(t)}}function oP(e){var t;try{return t=e.c.Ti(e.e),e.Vj(),e.g=e.e++,t}catch(t){throw t=UA(t),N(t,99)?(e.Vj(),O(new Qd)):O(t)}}function sP(e){var t,n,r,i=0;for(n=0,r=e.length;n=64&&t<128&&(i=IT(i,dS(1,t-64)));return i}function cP(e,t){var n,r=null;return Yy(e,(Hz(),J6))&&(n=F(q(e,J6),105),n.nf(t)&&(r=n.mf(t))),r==null&&jC(e)&&(r=q(jC(e),t)),r}function LYe(e,t){var n=F(q(e,(zz(),T1)),79);return Yv(t,twt)?n?hw(n):(n=new Uf,G(e,T1,n)):n&&G(e,T1,null),n}function RYe(e,t){var n,r,i=new pD(t.gc());for(r=t.Jc();r.Ob();)n=F(r.Pb(),294),n.c==n.f?gI(e,n,n.c):o4e(e,n)||zd(i.c,n);return i}function zYe(e,t){for(var n=e.o,r,i=F(F(VE(e.r,t),22),83).Jc();i.Ob();)r=F(i.Pb(),115),r.e.a=NZe(r,n.a),r.e.b=n.b*k(P(r.b.mf(NY)))}function BYe(e,t){var n,r,i=e.k,a;return n=k(P(q(e,(X(),h$)))),a=t.k,r=k(P(q(t,h$))),a==(pL(),wX)?i==wX?n==r?0:nn.b)}function YYe(e){var t=new dm;return t.a+=`n`,e.k!=(pL(),OX)&&Q_(Q_((t.a+=`(`,t),Wy(e.k).toLowerCase()),`)`),Q_((t.a+=`_`,t),$P(e)),t.a}function dP(){dP=C,ojt=new zg(kht,0),B0=new zg(jU,1),V0=new zg(`LINEAR_SEGMENTS`,2),z0=new zg(`BRANDES_KOEPF`,3),H0=new zg(Oht,4)}function fP(e,t,n,r){var i;return n>=0?e.Ph(t,n,r):(e.Mh()&&(r=(i=e.Ch(),i>=0?e.xh(r):e.Mh().Qh(e,-1-i,null,r))),e.zh(t,n,r))}function XYe(e,t){switch(t){case 7:!e.e&&(e.e=new Db(Z5,e,7,4)),uz(e.e);return;case 8:!e.d&&(e.d=new Db(Z5,e,8,5)),uz(e.d);return}Uqe(e,t)}function pP(e,t,n){return n==null?(!e.o&&(e.o=new yD((Pz(),a7),u7,e,0)),IN(e.o,t)):(!e.o&&(e.o=new yD((Pz(),a7),u7,e,0)),bF(e.o,t,n)),e}function mP(e,t){var n=e.dd(t);try{return n.Pb()}catch(e){throw e=UA(e),N(e,112)?O(new Fp(`Can't get element `+t)):O(e)}}function ZYe(e,t){var n=F(zC(e.b,t),127).n;switch(t.g){case 1:e.t>=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 QYe(e){var t=e.a;do t=F(zE(new uS(py(zM(t).a.Jc(),new f))),17).c.i,t.k==(pL(),EX)&&e.b.Ec(t);while(t.k==(pL(),EX));e.b=cN(e.b)}function $Ye(e,t){var n,i,a=e;for(i=new uS(py(zM(t).a.Jc(),new f));rL(i);)n=F(zE(i),17),n.c.i.c&&(a=r.Math.max(a,n.c.i.c.p));return a}function eXe(e,t){var n,r,i=0;for(r=F(F(VE(e.r,t),22),83).Jc();r.Ob();)n=F(r.Pb(),115),i+=n.d.d+n.b.Kf().b+n.d.a,r.Ob()&&(i+=e.w);return i}function tXe(e,t){var n,r,i=0;for(r=F(F(VE(e.r,t),22),83).Jc();r.Ob();)n=F(r.Pb(),115),i+=n.d.b+n.b.Kf().a+n.d.c,r.Ob()&&(i+=e.w);return i}function nXe(e){var t,n,r=0,i=HL(e);if(i.c.length==0)return 1;for(n=new D(i);n.a=0?e.Ih(o,n,!0):qI(e,a,n)):F(a,69).uk().wk(e,e.ei(),i,n,r)}function oXe(e,t,n,r){var i=iKe(t.nf((Hz(),T6))?F(t.mf(T6),22):e.j);i!=(Gz(),MY)&&(!n||OJe(i))&&J2e(B5e(e,i,r),t)}function _P(e,t){return z_(e)?!!bbt[t]:e.Qm?!!e.Qm[t]:R_(e)?!!ybt[t]:L_(e)?!!vbt[t]:!1}function sXe(e){switch(e.g){case 1:return MA(),LY;case 3:return MA(),PY;case 2:return MA(),IY;case 4:return MA(),FY;default:return null}}function cXe(e,t,n){if(e.e)switch(e.b){case 1:QDe(e.c,t,n);break;case 0:$De(e.c,t,n)}else ANe(e.c,t,n);e.a[t.p][n.p]=e.c.i,e.a[n.p][t.p]=e.c.e}function lXe(e){var t,n;if(e==null)return null;for(n=H(SX,vB,199,e.length,0,2),t=0;ta)):0}function yP(){yP=C,I0=new Rg(oU,0),L0=new Rg(`PORT_POSITION`,1),F0=new Rg(`NODE_SIZE_WHERE_SPACE_PERMITS`,2),P0=new Rg(`NODE_SIZE`,3)}function mXe(e,t){var n,r,i;for(t.Tg(`Untreeify`,1),n=F(q(e,(Ez(),fNt)),16),i=n.Jc();i.Ob();)r=F(i.Pb(),65),fx(r.b.d,r),fx(r.c.b,r);t.Ug()}function bP(){bP=C,Y3=new f_(`AUTOMATIC`,0),Q3=new f_(oH,1),$3=new f_(sH,2),e6=new f_(`TOP`,3),X3=new f_(ept,4),Z3=new f_(aH,5)}function xP(e,t,n){var r,i=e.gc();if(t>=i)throw O(new Ob(t,i));if(e.Qi()&&(r=e.bd(n),r>=0&&r!=t))throw O(new Hp(XK));return e.Vi(t,n)}function SP(e,t){var n,r,i=aQe(e,t);if(i>=0)return i;if(e.ml()){for(r=0;r0||e==(fp(),xJ)||t==(up(),SJ))throw O(new Hp(`Invalid range: `+xNe(e,t)))}function gXe(e,t,n,r){KL();for(var i=0,a=0;a0),(t&-t)==t)return Gw(t*_L(e,31)*4656612873077393e-25);do n=_L(e,31),r=n%t;while(n-r+(t-1)<0);return Gw(r)}function vXe(e,t){for(var n=Sy(new gf,e),r,i=new D(t);i.a1&&(a=vXe(e,t)),a}function TXe(e){for(var t=0,n,r=new D(e.c.a);r.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function RP(e,t){if(e==null)throw O(new Wp(`null key in entry: null=`+t));if(t==null)throw O(new Wp(`null value in entry: `+e+`=null`))}function NXe(e,t){var n=W(A(Z9,1),NV,30,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 PXe(e,t){var n=W(A(Z9,1),NV,30,15,[Bj(e.a[0],t),Bj(e.a[1],t),Bj(e.a[2],t)]);return e.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function FXe(e,t,n){Nb(F(q(t,(zz(),X1)),102))||(NPe(e,t,fI(t,n)),NPe(e,t,fI(t,(Dz(),y5))),NPe(e,t,fI(t,n5)),fw(),Bv(t.j,new eoe(e)))}function IXe(e){var t,n;for(e.c||xst(e),n=new Uf,t=new D(e.a),B(t);t.a0&&(kT(0,t.length),t.charCodeAt(0)==43)?(kT(1,t.length+1),t.substr(1)):t))}function $Xe(e){var t;return e==null?null:new Ov((t=QR(e,!0),t.length>0&&(kT(0,t.length),t.charCodeAt(0)==43)?(kT(1,t.length+1),t.substr(1)):t))}function eZe(e,t,n,r,i,a,o,s){var c,l;r&&(c=r.a[0],c&&eZe(e,t,n,c,i,a,o,s),rF(e,n,r.d,i,a,o,s)&&t.Ec(r),l=r.a[1],l&&eZe(e,t,n,l,i,a,o,s))}function BP(e,t){var n,r,i,a=e.gc();for(t.lengtha&&fC(t,a,null),t}function tZe(e,t){var n,r=e.gc();if(t==null){for(n=0;n0&&(c+=i),l[u]=o,o+=s*(c+r)}function uZe(e){for(var t=0;t0?e.c:0),++a;e.b=i,e.d=o}function vZe(e,t){var n=W(A(Z9,1),NV,30,15,[_Xe(e,(MO(),bY),t),_Xe(e,xY,t),_Xe(e,SY,t)]);return e.f&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function yZe(e){var t;Yy(e,(zz(),F1))&&(t=F(q(e,F1),22),t.Gc((iL(),k8))?(t.Kc(k8),t.Ec(j8)):t.Gc(j8)&&(t.Kc(j8),t.Ec(k8)))}function bZe(e){var t;Yy(e,(zz(),F1))&&(t=F(q(e,F1),22),t.Gc((iL(),I8))?(t.Kc(I8),t.Ec(P8)):t.Gc(P8)&&(t.Kc(P8),t.Ec(I8)))}function JP(e,t,n,r){var i,a,o,s;return e.a??w2e(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 xZe(e){for(var t=0;t0&&(a.b+=t),a}function ZP(e,t){var n,i,a=new Nm;for(i=e.Jc();i.Ob();)n=F(i.Pb(),36),tR(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 OZe(e,t){var n,r;if(t.length==0)return 0;for(n=gC(e.a,t[0],(Dz(),x5)),n+=gC(e.a,t[t.length-1],t5),r=0;r>16==6?e.Cb.Qh(e,5,n7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function AZe(e){Iw();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 PZe(e){var t=(DBe(),Ibt);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 FZe(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=AUe(r.Math.max(8,i))<<1,e.b==0?ef(e.a,n):(t=bb(e.a,n),mVe(e,t,i),e.a=t,e.b=0),e.c=i)}function IZe(e,t){var n=e.b;return n.nf((Gz(),X6))?n.$f()==(Az(),N5)?-n.Kf().a-k(P(n.mf(X6))):t+k(P(n.mf(X6))):n.$f()==(Az(),N5)?-n.Kf().a:t}function XP(e){var t;return e.b.c.length!=0&&F(jx(e.b,0),70).a?F(jx(e.b,0),70).a:(t=UC(e),t??``+(e.c?PD(e.c.a,e,0):-1))}function ZP(e){var t;return e.f.c.length!=0&&F(jx(e.f,0),70).a?F(jx(e.f,0),70).a:(t=UC(e),t??``+(e.i?PD(e.i.j,e,0):-1))}function LZe(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 zZe(e){var t,n;if(!e.b)for(e.b=jT(F(e.f,125).jh().i),n=new dy(F(e.f,125).jh());n.e!=n.i.gc();)t=F(nP(n),157),iy(e.b,new Fp(t));return e.b}function BZe(e,t){var n,r,i;if(t.dc())return fb(),fb(),E7;for(n=new wve(e,t.gc()),i=new dy(e);i.e!=i.i.gc();)r=nP(i),t.Gc(r)&&cD(n,r);return n}function VZe(e,t,n,r){return t==0?r?(!e.o&&(e.o=new fD((Lz(),d7),g7,e,0)),e.o):(!e.o&&(e.o=new fD((Lz(),d7),g7,e,0)),$E(e.o)):pP(e,t,n,r)}function QP(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&xV,e.m=r&xV,e.h=i&SV,!0)}function eF(e,t,n,r,i,a,o){var s,c;return!(t.Re()&&(c=e.a.Le(n,r),c<0||!i&&c==0)||t.Se()&&(s=e.a.Le(n,a),s>0||!o&&s==0))}function GZe(e,t){if(cj(),e.j.g-t.j.g!=0)return 0;switch(e.j.g){case 2:return WM(t,eTt)-WM(e,eTt);case 4:return WM(e,$wt)-WM(t,$wt)}return 0}function KZe(e){switch(e.g){case 0:return gQ;case 1:return _Q;case 2:return vQ;case 3:return yQ;case 4:return bQ;case 5:return xQ;default:return null}}function tF(e,t,n){var r=(i=new Xf,Lj(i,t),Nk(i,n),cD((!e.c&&(e.c=new I(H7,e,12,10)),e.c),i),i),i;return GO(r,0),KO(r,1),oM(r,!0),aM(r,!0),r}function nF(e,t){var n,r;if(t>=e.i)throw O(new iv(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&AR(e.g,t+1,e.g,t,r),qS(e.g,--e.i,null),e.Oi(t,n),e.Li(),n}function qZe(e,t){var n,r;return e.Db>>16==17?e.Cb.Qh(e,21,I7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function JZe(e){var t,n,r,i;for(qC(),Vv(e.c,e.a),i=new D(e.c);i.an.a.c.length))throw O(new Rp(`index must be >= 0 and <= layer node count`));e.c&&ND(e.c.a,e),e.c=n,n&&qx(n.a,t,e)}function uQe(e,t){this.c=new Cd,this.a=e,this.b=t,this.d=F(q(e,(X(),F$)),317),this.e=M(q(e,(Hz(),iAt)))===M((ED(),SQ))?new Vse:new Bse}function oF(e,t){var n=e.dd(t),r;try{return r=n.Pb(),n.Qb(),r}catch(e){throw e=LA(e),N(e,112)?O(new jp(`Can't remove element `+t)):O(e)}}function dQe(e,t){var n,r=new Kh,i=new IUe(r.q.getFullYear()-uV,r.q.getMonth(),r.q.getDate());if(n=Nat(e,t,i),n==0||n0?t:0),++n;return new j(i,a)}function gQe(e,t,n){var r,i=e.o;switch(r=e.d,t.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}function _Qe(e,t,n,r){var i,a,o,s;for(Uw(t,F(r.Xb(0),25)),s=r.hd(1,r.gc()),a=F(n.Kb(t),20).Jc();a.Ob();)i=F(a.Pb(),17),o=i.c.i==t?i.d.i:i.c.i,_Qe(e,o,n,s)}function vQe(e){var t=new Cd;return Xy(e,(X(),z$))?F(q(e,z$),92):(vh(MC(new Px(null,new cT(e.j,16)),new ur),new Tu(t)),G(e,z$,t),t)}function cF(e,t){var n,r=null;return e.nf((Gz(),s8))&&(n=F(e.mf(s8),105),n.nf(t)&&(r=n.mf(t))),r==null&&e.Rf()&&(r=e.Rf().mf(t)),r??=tP(t),r}function yQe(e,t){var n,r;return e.Db>>16==6?e.Cb.Qh(e,6,i7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Lz(),u7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function bQe(e,t){var n,r;return e.Db>>16==7?e.Cb.Qh(e,1,t7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Lz(),Kzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function xQe(e,t){var n,r;return e.Db>>16==9?e.Cb.Qh(e,9,p7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Lz(),Jzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function SQe(e,t){var n,r;return e.Db>>16==5?e.Cb.Qh(e,9,L7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Yz(),Z7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function CQe(e,t){var n,r;return e.Db>>16==7?e.Cb.Qh(e,6,c7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Yz(),r9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function wQe(e,t){var n,r;return e.Db>>16==3?e.Cb.Qh(e,0,o7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Yz(),q7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function TQe(e,t){var n,r;return e.Db>>16==3?e.Cb.Qh(e,12,p7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Lz(),Wzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function EQe(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;iLV)return lF(e,r);if(r==e)return!0}}return!1}function OQe(e){switch(Wy(),e.q.g){case 5:r6e(e,(Az(),m5)),r6e(e,j5);break;case 4:n7e(e,(Az(),m5)),n7e(e,j5);break;default:Flt(e,(Az(),m5)),Flt(e,j5)}}function kQe(e){switch(Wy(),e.q.g){case 5:Y6e(e,(Az(),p5)),Y6e(e,N5);break;case 4:HYe(e,(Az(),p5)),HYe(e,N5);break;default:Ilt(e,(Az(),p5)),Ilt(e,N5)}}function AQe(e){var t=F(q(e,(TR(),JSt)),15),n;t?(n=t.a,n==0?G(e,(Ek(),uX),new UM):G(e,(Ek(),uX),new uE(n))):G(e,(Ek(),uX),new uE(1))}function jQe(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 MQe(e,t){switch(e.g){case 0:return t==($M(),q$)?xZ:SZ;case 1:return t==($M(),q$)?xZ:bZ;case 2:return t==($M(),q$)?bZ:SZ;default:return bZ}}function uF(e,t){var n,i,a;for(ND(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=sG,i=new D(e.a);i.a>16==11?e.Cb.Qh(e,10,p7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Lz(),qzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function BQe(e,t){var n,r;return e.Db>>16==10?e.Cb.Qh(e,11,I7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Yz(),n9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function VQe(e,t){var n,r;return e.Db>>16==10?e.Cb.Qh(e,12,B7,t):(r=EP(F(fO((n=F(pA(e,16),29),n||(Yz(),i9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function HQe(e,t){var n,r,i,a,o;if(t)for(i=t.a.length,n=new $x(i),o=(n.b-n.a)*n.c<0?(Gh(),G9):new uy(n);o.Ob();)a=F(o.Pb(),15),r=RT(t,a.a),r&&B5e(e,r)}function UQe(){gde();var e,t;for(mdt((zS(),K7)),Zut(K7),QP(K7),qBt=(Yz(),e9),t=new D(aVt);t.a>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 GQe(e,t,n){for(var i,a=e[n.g],o,s,c=new D(t.d);c.a0?e.b:0),++n;t.b=i,t.e=a}function qQe(e){var t,n,r=e.b;if(jue(e.i,r.length)){for(n=r.length*2,e.b=H(IJ,IB,309,n,0,1),e.c=H(IJ,IB,309,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)MI(e,t,t);++e.g}}function mF(e,t){return e.b.a=r.Math.min(e.b.a,t.c),e.b.b=r.Math.min(e.b.b,t.d),e.a.a=r.Math.max(e.a.a,t.c),e.a.b=r.Math.max(e.a.b,t.d),Fd(e.c,t),!0}function JQe(e,t,n){var r=t.c.i;r.k==(uL(),zX)?(G(e,(X(),v$),F(q(r,v$),12)),G(e,y$,F(q(r,y$),12))):(G(e,(X(),v$),t.c),G(e,y$,n.d))}function hF(e,t,n){UL();var i,a,o,s=t/2,c,l;return o=n/2,i=r.Math.abs(e.a),a=r.Math.abs(e.b),c=1,l=1,i>s&&(c=s/i),a>o&&(l=o/a),ry(e,r.Math.min(c,l)),e}function YQe(){GR();var e,t;try{if(t=F(B$e((zh(),V7),LK),2078),t)return t}catch(t){if(t=LA(t),N(t,101))e=t,DEe((Lv(),e));else throw O(t)}return new uo}function XQe(){GR();var e,t;try{if(t=F(B$e((zh(),V7),Hq),2005),t)return t}catch(t){if(t=LA(t),N(t,101))e=t,DEe((Lv(),e));else throw O(t)}return new Ro}function ZQe(){vLe();var e,t;try{if(t=F(B$e((zh(),V7),iJ),2087),t)return t}catch(t){if(t=LA(t),N(t,101))e=t,DEe((Lv(),e));else throw O(t)}return new xre}function QQe(e,t,n){var r,i=e.e;return e.e=t,e.Db&4&&!(e.Db&1)&&(r=new hS(e,1,4,i,t),n?n.lj(r):n=r),i!=t&&(n=t?Sz(e,hL(e,t),n):Sz(e,e.a,n)),n}function $Qe(){Kh.call(this),this.e=-1,this.a=!1,this.p=WB,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=WB}function e$e(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=dM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function t$e(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=dM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function n$e(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=dM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function gF(){gF=C,SCt=Qx(wx(wx(wx(new dC,(XF(),vX),(Kz(),Owt)),vX,kwt),yX,Awt),yX,_wt),wCt=wx(wx(new dC,vX,uwt),vX,vwt),CCt=Qx(new dC,yX,bwt)}function r$e(e){var t=F(q(e,(X(),t$)),92),n,r,i,a=e.n;for(r=t.Bc().Jc();r.Ob();)n=F(r.Pb(),319),i=n.i,i.c+=a.a,i.d+=a.b,n.c?ott(n):stt(n);G(e,t$,null)}function i$e(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 a$e(e,t){for(var n,r=new D(t);r.a0&&(o=(a&nB)%e.d.length,i=j6e(e,o,a,t),i)?(s=i.ld(n),s):(r=e.ak(a,t,n),e.c.Ec(r),null)}function y$e(e,t){var n,r,i,a;switch($j(e,t).Il()){case 3:case 2:for(n=JR(t),i=0,a=n.i;i=0;i--)if(jb(e[i].d,t)||jb(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}function yF(e,t){var n;return fv(e)&&fv(t)&&(n=e/t,DV0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=r.Math.min(i,a))}function N$e(e,t){var n,r=!1;if(z_(t)&&(r=!0,QS(e,new $S(ib(t)))),r||N(t,242)&&(r=!0,QS(e,(n=Ib(F(t,242)),new Zc(n)))),!r)throw O(new Np(Y_t))}function P$e(e,t,n,r){var i=new WD(e.e,1,10,(o=t.c,N(o,88)?F(o,29):(Yz(),t9)),(a=n.c,N(a,88)?F(a,29):(Yz(),t9)),yP(e,t),!1),a,o;return r?r.lj(i):r=i,r}function F$e(e){var t,n;switch(F(q(fC(e),(Hz(),Ykt)),420).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 mv(e.n);default:return null}}function SF(){SF=C,wQ=new Dg(pU,0),VTt=new Dg(`LEFTUP`,1),UTt=new Dg(`RIGHTUP`,2),BTt=new Dg(`LEFTDOWN`,3),HTt=new Dg(`RIGHTDOWN`,4),CQ=new Dg(`BALANCED`,5)}function I$e(e,t,n){var r=dM(e.a[t.p],e.a[n.p]),i,a;if(r==0){if(i=F(q(t,(X(),m$)),16),a=F(q(n,m$),16),i.Gc(n))return-1;if(a.Gc(t))return 1}return r}function L$e(e){switch(e.g){case 1:return new da;case 2:return new vne;case 3:return new ua;case 0:return null;default:throw O(new Rp(AG+(e.f==null?``+e.g:e.f)))}}function R$e(e,t,n){switch(t){case 1:!e.n&&(e.n=new I(f7,e,1,7)),fz(e.n),!e.n&&(e.n=new I(f7,e,1,7)),VS(e.n,F(n,18));return;case 2:pk(e,ib(n));return}nWe(e,t,n)}function z$e(e,t,n){switch(t){case 3:PO(e,k(P(n)));return;case 4:zO(e,k(P(n)));return;case 5:BO(e,k(P(n)));return;case 6:VO(e,k(P(n)));return}R$e(e,t,n)}function CF(e,t,n){var r,i,a=(r=new Xf,r);i=UF(a,t,null),i&&i.mj(),Nk(a,n),cD((!e.c&&(e.c=new I(H7,e,12,10)),e.c),a),GO(a,0),KO(a,1),oM(a,!0),aM(a,!0)}function B$e(e,t){var n=Qh(e.i,t),r,i;return N(n,241)?(i=F(n,241),i.wi(),i.ti()):N(n,493)?(r=F(n,2002),i=r.b,i):null}function V$e(e,t,n,r){var i,a;return HS(t),HS(n),a=F(Pb(e.d,t),15),oRe(!!a,`Row %s not in %s`,t,e.e),i=F(Pb(e.b,n),15),oRe(!!i,`Column %s not in %s`,n,e.c),nUe(e,a.a,i.a,r)}function H$e(e){for(var t,n=null,r,i=e,a=0,o=i.length;a1||s==-1?(a=F(c,16),i.Wb(Iqe(e,a))):i.Wb(vR(e,F(c,57)))))}function Z$e(e,t,n,r){Hue();var i=rbt;ibt=r;function a(){for(var e=0;e0)return!1;return!0}function e1e(e){switch(F(q(e.b,(Hz(),Hkt)),381).g){case 1:vh(NC(tO(new Px(null,new cT(e.d,16)),new Br),new cte),new lte);break;case 2:Gtt(e);break;case 0:S3e(e)}}function t1e(e,t,n){var r=n,i,a;for(!r&&(r=new ip),r.Tg(`Layout`,e.a.c.length),a=new D(e.a);a.apG)return n;i>-1e-6&&++n}return n}function AF(e,t,n){if(N(t,271))return T7e(e,F(t,85),n);if(N(t,276))return NQe(e,F(t,276),n);throw O(new Rp(ZK+eI(new Kp(W(A(OJ,1),sB,1,5,[t,n])))))}function jF(e,t,n){if(N(t,271))return E7e(e,F(t,85),n);if(N(t,276))return PQe(e,F(t,276),n);throw O(new Rp(ZK+eI(new Kp(W(A(OJ,1),sB,1,5,[t,n])))))}function c1e(e,t){var n;t==e.b?e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,3,t,t)):(n=null,e.b&&(n=vw(e.b,e,-4,n)),t&&(n=lP(t,e,-4,n)),n=xGe(e,t,n),n&&n.mj())}function l1e(e,t){var n;t==e.f?e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,0,t,t)):(n=null,e.f&&(n=vw(e.f,e,-1,n)),t&&(n=lP(t,e,-1,n)),n=SGe(e,t,n),n&&n.mj())}function u1e(e,t,n,r){var i,a,o,s;return vv(e.e)&&(i=t.Jk(),s=t.kd(),a=n.kd(),o=dw(e,1,i,s,a,i.Hk()?VR(e,i,a,N(i,103)&&(F(i,19).Bb&PV)!=0):-1,!0),r?r.lj(o):r=o),r}function d1e(e){var t,n,r;if(e==null)return null;if(n=F(e,16),n.dc())return``;for(r=new om,t=n.Jc();t.Ob();)Y_(r,(_z(),ib(t.Pb()))),r.a+=` `;return lv(r,r.a.length-1)}function f1e(e){var t,n,r;if(e==null)return null;if(n=F(e,16),n.dc())return``;for(r=new om,t=n.Jc();t.Ob();)Y_(r,(_z(),ib(t.Pb()))),r.a+=` `;return lv(r,r.a.length-1)}function p1e(e,t){for(var n,r,i,a=new D(t.a),o;a.a0&&_C(e,e.length-1)==33)try{return t=O5e(fw(e,0,e.length-1)),t.e==null}catch(e){if(e=LA(e),!N(e,32))throw O(e)}return!1}function y1e(e,t,n){var r=EM(fC(t)),i=new sI;switch(Gw(i,t),n.g){case 1:jI(i,_M(iN(r)));break;case 2:jI(i,iN(r))}return G(i,(Hz(),c0),P(q(e,c0))),i}function b1e(e){var t=F(OE(new iS(my(IM(e.a).a.Jc(),new f))),17),n=F(OE(new iS(my(RM(e.a).a.Jc(),new f))),17);return Hp(rb(q(t,(X(),M$))))||Hp(rb(q(n,M$)))}function MF(){MF=C,kZ=new yg(`ONE_SIDE`,0),jZ=new yg(`TWO_SIDES_CORNER`,1),MZ=new yg(`TWO_SIDES_OPPOSING`,2),AZ=new yg(`THREE_SIDES`,3),OZ=new yg(`FOUR_SIDES`,4)}function x1e(e,t){var n,r,i,a=new Sd;for(i=0,r=t.Jc();r.Ob();){for(n=K(F(r.Pb(),15).a+i);n.a=e.f)break;Fd(a.c,n)}return a}function S1e(e){for(var t,n=new D(e.e.b);n.a0&&$Ze(this,this.c-1,(Az(),p5)),this.c0&&e[0].length>0&&(this.c=Hp(rb(q(fC(e[0][0]),(X(),pEt))))),this.a=H(Rjt,xB,2082,e.length,0,2),this.b=H(zjt,xB,2083,e.length,0,2),this.d=new zWe}function P1e(e){return e.c.length==0?!1:(lT(0,e.c.length),F(e.c[0],17)).c.i.k==(uL(),zX)||SE(NC(new Px(null,new cT(e,16)),new xte),new mi)}function F1e(e,t){var n,i,a,o,s,c=BL(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=yF(e,EV),r=bN(e,EV)):(t=sS(e,1),n=yF(t,5e8),r=bN(t,5e8),r=NM(aS(r,1),gT(e,1))),_T(aS(r,32),gT(n,RV))}function Z1e(e,t,n,r){for(var i=null,a=0,o,s=new D(t),c;s.a1;t>>=1)t&1&&(r=qT(r,n)),n=n.d==1?qT(n,n):new rYe(Urt(n.a,n.d,H(q9,dV,30,n.d<<1,15,1)));return r=qT(r,n),r}function n0e(){n0e=C;var e,t,n,r;for(hxt=H(Z9,IV,30,25,15,1),gxt=H(Z9,IV,30,33,15,1),r=152587890625e-16,t=32;t>=0;t--)gxt[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)hxt[e]=n,n*=.5}function r0e(e){var t,n;if(Hp(rb(Y(e,(Hz(),I1))))){for(n=new iS(my(pL(e).a.Jc(),new f));eL(n);)if(t=F(OE(n),85),BI(t)&&Hp(rb(Y(t,L1))))return!0}return!1}function i0e(e){for(var t=new uh,n=new uh,r,i=$N(e,0);i.b!=i.d.c;)r=F(HT(i),12),r.e.c.length==0?pE(n,r,n.c.b,n.c):pE(t,r,t.c.b,t.c);return aN(t).Fc(n),t}function a0e(e,t){var n,r,i;ES(e.f,t)&&(t.b=e,r=t.c,PD(e.j,r,0)!=-1||iy(e.j,r),i=t.d,PD(e.j,i,0)!=-1||iy(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new _Ye(e)),gHe(e.i,n)))}function o0e(e){var t,n=e.c.d,r=n.j,i=e.d.d,a=i.j;return r==a?n.p=0&&jb(e.substr(t,3),`GMT`)||t>=0&&jb(e.substr(t,3),`UTC`))&&(n[0]=t+3),Art(e,n,r)}function c0e(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&&AR(e.g,t,e.g,t+r,s),o=n.Jc(),e.i+=r,i=0;i>4&15,a=e[r]&15,o[i++]=Qzt[n],o[i++]=Qzt[a];return kN(o,0,o.length)}function GF(e){var t,n;return e>=PV?(t=FV+(e-PV>>10&1023)&ZB,n=56320+(e-PV&1023)&ZB,String.fromCharCode(t)+(``+String.fromCharCode(n))):String.fromCharCode(e&ZB)}function C0e(e,t){mb();var n,r,i=F(F(ME(e.r,t),22),83),a;return i.gc()>=2&&(r=F(i.Jc().Pb(),115),n=e.u.Gc((NI(),s5)),a=e.u.Gc(d5),!r.a&&!n&&(i.gc()==2||a))}function w0e(e,t,n,r,i){for(var a=Iet(e,t,n,r,i),o,s=!1;!a;)rL(e,i,!0),s=!0,a=Iet(e,t,n,r,i);s&&rL(e,i,!1),o=BA(i),o.c.length!=0&&(e.d&&e.d.Fg(o),w0e(e,i,n,r,o))}function KF(){KF=C,n3=new r_(`NODE_SIZE_REORDERER`,0),$4=new r_(`INTERACTIVE_NODE_REORDERER`,1),t3=new r_(`MIN_SIZE_PRE_PROCESSOR`,2),e3=new r_(`MIN_SIZE_POST_PROCESSOR`,3)}function qF(){qF=C,FRt=new v_(pU,0),NRt=new v_(`DIRECTED`,1),IRt=new v_(`UNDIRECTED`,2),jRt=new v_(`ASSOCIATION`,3),PRt=new v_(`GENERALIZATION`,4),MRt=new v_(`DEPENDENCY`,5)}function T0e(e,t){var n;if(!Fw(e))throw O(new zp(S_t));switch(n=Fw(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 E0e(e,t,n){var r=t.Jk(),i,a=t.kd();return i=r.Hk()?dw(e,4,r,a,null,VR(e,r,a,N(r,103)&&(F(r,19).Bb&PV)!=0),!0):dw(e,r.rk()?2:1,r,a,r.gk(),-1,!0),n?n.lj(i):n=i,n}function JF(e,t){var n,r;for(pC(t),r=e.b.c.length,iy(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.Le(jx(e.b,r),t)<=0)return gE(e.b,n,t),!0;gE(e.b,n,jx(e.b,r))}return gE(e.b,r,t),!0}function D0e(e,t,n,i){var a=0,o;if(n)a=Fj(e.a[n.g][t.g],i);else for(o=0;o=s)}function k0e(e){switch(e.g){case 0:return new Ta;case 1:return new Cne;default:throw O(new Rp(`No implementation is available for the width approximator `+(e.f==null?``+e.g:e.f)))}}function A0e(e,t,n,r){var i=!1;if(z_(r)&&(i=!0,Sx(t,n,ib(r))),i||L_(r)&&(i=!0,A0e(e,t,n,r)),i||N(r,242)&&(i=!0,QC(t,n,F(r,242))),!i)throw O(new Np(Y_t))}function j0e(e,t){var n=t.ni(e.a),r,i;if(n&&(i=hN((!n.b&&(n.b=new $y((Yz(),o9),d9,n)),n.b),Fq),i!=null)){for(r=1;r<(vI(),cVt).length;++r)if(jb(cVt[r],i))return r}return 0}function M0e(e,t){var n=t.ni(e.a),r,i;if(n&&(i=hN((!n.b&&(n.b=new $y((Yz(),o9),d9,n)),n.b),Fq),i!=null)){for(r=1;r<(vI(),lVt).length;++r)if(jb(lVt[r],i))return r}return 0}function N0e(e,t){var n,r,i,a;if(pC(t),a=e.a.gc(),a0);a.a[i]!=n;)a=a.a[i],i=+(e.a.Le(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 R0e(e){var t=new Sd,n=H(J9,uH,30,e.a.c.length,16,1),r,i;for(jTe(n,n.length),i=new D(e.a);i.a0&&hrt((lT(0,n.c.length),F(n.c[0],25)),e),n.c.length>1&&hrt(F(jx(n,n.c.length-1),25),e),t.Ug()}function V0e(e){NI();var t=Kx(c5,W(A(f5,1),Z,280,0,[u5])),n;return!(gA(Ow(t,e))>1||(n=Kx(s5,W(A(f5,1),Z,280,0,[o5,d5])),gA(Ow(n,e))>1))}function H0e(e,t){N(Tw((zh(),V7),e),493)?Kw(V7,e,new wpe(this,t)):Kw(V7,e,this),rI(this,t),t==(Pm(),NBt)?(this.wb=F(this,2003),F(t,2005)):this.wb=(zS(),K7)}function U0e(e){var t,n,r;if(e==null)return null;for(t=null,n=0;na}function q0e(e,t){var n,r,i;if($0e(e,t))return!0;for(r=new D(t);r.a=i||t<0)throw O(new jp(rq+t+iq+i));if(n>=i||n<0)throw O(new jp(aq+n+iq+i));return r=t==n?e.vj(n):(a=e.Aj(n),e.oj(t,a),a),r}function Q0e(e){var t,n,r=e;if(e)for(t=0,n=e.Bh();n;n=n.Bh()){if(++t>LV)return Q0e(n);if(r=n,n==e)throw O(new zp(`There is a cycle in the containment hierarchy of `+e))}return r}function eI(e){var t,n,r=new bA(oB,`[`,`]`);for(n=e.Jc();n.Ob();)t=n.Pb(),zE(r,M(t)===M(e)?`(this Collection)`:t==null?cB:qM(t));return r.a?r.e.length==0?r.a.a:r.a.a+(``+r.e):r.c}function $0e(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 tI(){tI=C,uTt=W(A(P5,1),hU,64,0,[(Az(),m5),p5,j5]),lTt=W(A(P5,1),hU,64,0,[p5,j5,N5]),dTt=W(A(P5,1),hU,64,0,[j5,N5,m5]),fTt=W(A(P5,1),hU,64,0,[N5,m5,p5])}function i2e(e){var t,n,r,i,a,o,s,c,l;for(this.a=fXe(e),this.b=new Sd,n=e,r=0,i=n.length;rcb(e.d).c?(e.i+=e.g.c,DN(e.d)):cb(e.d).c>cb(e.g).c?(e.e+=e.d.c,DN(e.g)):(e.i+=lwe(e.g),e.e+=lwe(e.d),DN(e.g),DN(e.d))}function c2e(e,t,n){var r,i,a=t.q,o=t.r;for(new Qw((GE(),H2),t,a,1),new Qw(H2,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 m2e(e,t,n,r,i){var a,o=!1;for(a=F(jx(n.b,0),26);$it(e,t,a,r,i)&&(o=!0,n1e(n,a),n.b.c.length!=0);)a=F(jx(n.b,0),26);return n.b.c.length==0&&uF(n.j,n),o&&WP(t.q),o}function h2e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new fD((Lz(),d7),g7,e,0)),Nb(e.o,t,r)):(a=F(fO((i=F(pA(e,16),29),i||e.fi()),n),69),a.uk().yk(e,FN(e),n-BS(e.fi()),t,r))}function rI(e,t){var n;t==e.sb?e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,4,t,t)):(n=null,e.sb&&(n=F(e.sb,52).Qh(e,1,s7,n)),t&&(n=F(t,52).Oh(e,1,s7,n)),n=WGe(e,t,n),n&&n.mj())}function g2e(e,t){var n,r,i,a;if(t)i=YO(t,`x`),n=new nse(e),LO(n.a,(pC(i),i)),a=YO(t,`y`),r=new rse(e),RO(r.a,(pC(a),a));else throw O(new Zp(`All edge sections need an end point.`))}function _2e(e,t){var n,r,i,a;if(t)i=YO(t,`x`),n=new ese(e),HO(n.a,(pC(i),i)),a=YO(t,`y`),r=new Ju(e),UO(r.a,(pC(a),a));else throw O(new Zp(`All edge sections need a start point.`))}function v2e(e,t){for(var n,r=sWe(e),i,a=0,o,s=r.length,c;a>22-t,i=e.h<>22-t):t<44?(n=0,r=e.l<>44-t):(n=0,r=0,i=e.l<=XB?`error`:r>=900?`warn`:r>=800?`info`:`log`),EEe(n,e.a),e.b&&S9e(t,n,e.b,`Exception: `,!0))}function T2e(e,t){var n,r,i=t==1?SX:xX,a,o;for(r=i.a.ec().Jc();r.Ob();)for(n=F(r.Pb(),86),o=F(ME(e.f.c,n),22).Jc();o.Ob();)a=F(o.Pb(),49),iy(e.b.b,F(a.b,82)),iy(e.b.a,F(a.b,82).d)}function E2e(e,t,n,r){var i,a,o,s,c=e.b;switch(a=t.d,o=a.j,s=yYe(o,c.d[o.g],n),i=Tb(Yv(a.n),a.a),a.j.g){case 3:case 1:s.a+=i.a;break;case 2:s.b+=i.b;break;case 4:s.b+=i.b}pE(r,s,r.c.b,r.c)}function D2e(e,t){var n,r,i,a=t.b.j;for(e.a=H(q9,dV,30,a.c.length,15,1),i=0,r=0;re)throw O(new Rp(`k must be smaller than n`));return t==0||t==e?1:e==0?0:E$e(e)/(E$e(t)*E$e(e-t))}function k2e(e,t){for(var n=new Ov(e),r,i,a;n.g==null&&!n.c?oAe(n):n.g==null||n.i!=0&&F(n.g[n.i-1],50).Ob();)if(a=F(lL(n),57),N(a,174))for(r=F(a,174),i=0;i>4],t[n*2+1]=P9[a&15];return kN(t,0,t.length)}function U2e(e){var t,n;switch(e.c.length){case 0:return EC(),gbt;case 1:return t=F(V3e(new D(e)),45),ove(t.jd(),t.kd());default:return n=F(WN(e,H(NJ,AB,45,e.c.length,0,1)),175),new Dde(n)}}function lI(e,t){switch(t.g){case 1:return nx(e.j,(Kk(),XCt));case 2:return nx(e.j,(Kk(),JCt));case 3:return nx(e.j,(Kk(),QCt));case 4:return nx(e.j,(Kk(),$Ct));default:return qC(),qC(),hY}}function W2e(e,t){var n=YSe(t,e.e),r=F(JS(e.g.f,n),15).a,i=e.a.c.length-1;e.a.c.length!=0&&F(jx(e.a,i),295).c==r?(++F(jx(e.a,i),295).a,++F(jx(e.a,i),295).b):iy(e.a,new h_e(r))}function uI(){uI=C,EPt=(Gz(),n8),APt=l8,bPt=z6,xPt=V6,SPt=H6,yPt=R6,CPt=W6,TPt=e8,H4=(znt(),rPt),U4=iPt,DPt=uPt,K4=pPt,OPt=dPt,kPt=fPt,wPt=oPt,W4=cPt,G4=lPt,q4=mPt,jPt=gPt,vPt=nPt}function G2e(e,t){var n,r,i,a,o;if(e.e<=t||Cje(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 Q2e(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 $2e(e,t,n){for(var r,i=new iS(my(LM(n).a.Jc(),new f)),a;eL(i);)r=F(OE(i),17),!(CE(r)||!CE(r)&&r.c.i.c==r.d.i.c)&&(a=_7e(e,r,n,new jf),a.c.length>1&&Fd(t.c,a))}function e4e(e,t,n,r,i){if(rr&&(e.a=r),e.bi&&(e.b=i),e}function t4e(e){if(N(e,144))return _9e(F(e,144));if(N(e,233))return _qe(F(e,233));if(N(e,21))return x2e(F(e,21));throw O(new Rp(ZK+eI(new Kp(W(A(OJ,1),sB,1,5,[e])))))}function n4e(e,t,n,r,i){for(var a=!0,o=0,s;o>>i|n[o+r+1]<>>i,++o}return a}function r4e(e,t,n,r){var i,a,o;if(t.k==(uL(),zX)){for(a=new iS(my(IM(t).a.Jc(),new f));eL(a);)if(i=F(OE(a),17),o=i.c.i.k,o==zX&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function i4e(e,t){var n,r,i,a;return t&=63,n=e.h&SV,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),Wv(r&xV,i&xV,a&SV)}function a4e(e,t,n,r){var i;this.b=r,this.e=e==(Hj(),k2),i=t[n],this.d=Ix(J9,[xB,uH],[171,30],16,[i.length,i.length],2),this.a=Ix(q9,[xB,dV],[54,30],15,[i.length,i.length],2),this.c=new j1e(t,n)}function o4e(e){var t,n,r;for(e.k=new Nje((Az(),W(A(P5,1),hU,64,0,[M5,m5,p5,j5,N5])).length,e.j.c.length),r=new D(e.j);r.a=n)return pI(e,t,r.p),!0;return!1}function fI(e,t,n,r){var i,a,o=n.length,s,c,l;for(a=0,i=-1,l=IRe((uT(t,e.length+1),e.substr(t)),(Ub(),dxt)),s=0;sa&&DTe(l,IRe(n[s],dxt))&&(i=s,a=c);return i>=0&&(r[0]=t+a),i}function u4e(e,t,n){var r,i,a=e.d.p,o,s=a.e,c=a.r,l,u;e.g=new Mb(c),o=e.d.o.c.p,r=o>0?s[o-1]:H(FX,xU,9,0,0,1),i=s[o],l=on?o3e(e,n,`start index`):t<0||t>n?o3e(t,n,`end index`):eR(`end index (%s) must not be less than start index (%s)`,W(A(OJ,1),sB,1,5,[K(t),K(e)]))}function h4e(e,t){for(var n,r=0,i=e.length,a;r0&&v4e(e,a,n));t.p=0}function y4e(e){for(var t=nC(Q_(new vy(`Predicates.`),`and`),40),n=!0,r,i=new Il(e);i.b=0?e.hi(i):W3e(e,r);else throw O(new Rp(wK+r.ve()+TK))}else iM(e,n,r)}function S4e(e){var t,n=null;if(t=!1,N(e,210)&&(t=!0,n=F(e,210).a),t||N(e,265)&&(t=!0,n=``+F(e,265).a),t||N(e,479)&&(t=!0,n=``+F(e,479).a),!t)throw O(new Np(Y_t));return n}function C4e(e,t,n){var r,i,a,o,s,c=PL(e.e.Ah(),t);for(r=0,s=e.i,i=F(e.g,122),o=0;o=e.d.b.c.length&&(t=new YS(e.d),t.p=r.p-1,iy(e.d.b,t),n=new YS(e.d),n.p=r.p,iy(e.d.b,n)),Uw(r,F(jx(e.d.b,r.p),25))}function D4e(e){var t,n=new uh,r,i;for(zk(n,e.o),r=new Nf;n.b!=0;)t=F(n.b==0?null:(qy(n.b!=0),bO(n,n.a.a)),501),i=uut(e,t,!0),i&&iy(r.a,t);for(;r.a.c.length!=0;)t=F(PWe(r),501),uut(e,t,!1)}function hI(e){var t;this.c=new uh,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,this.j=e.i?e.i:(t=F(Fm(Q3),10),new Bb(t,F(bb(t,t.length),10),0)),this.g=e.f}function gI(){gI=C,ZIt=new d_(gH,0),$3=new d_(`BOOLEAN`,1),r6=new d_(`INT`,2),a6=new d_(`STRING`,3),e6=new d_(`DOUBLE`,4),t6=new d_(`ENUM`,5),n6=new d_(`ENUMSET`,6),i6=new d_(`OBJECT`,7)}function _I(e,t){var n,i=r.Math.min(e.c,t.c),a,o=r.Math.min(e.d,t.d),s;a=r.Math.max(e.c+e.b,t.c+t.b),s=r.Math.max(e.d+e.a,t.d+t.a),a=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++0;)ARe(this);this.b=t,this.a=null}function I4e(e,t){var n,r;t.a?W9e(e,t):(n=F(bh(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Ec(t.b),r=F(yh(e.b,t.b),60),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Ec(r),ty(e.b,t.b))}function L4e(e,t){var n=F(bC(e.b,t),127),r;F(F(ME(e.r,t),22),83).dc()?(n.n.b=0,n.n.c=0):(n.n.b=e.C.b,n.n.c=e.C.c,e.A.Gc((CN(),z5))&&Jtt(e,t),r=iXe(e,t),KL(e,t)==(QN(),Z8)&&(r+=2*e.w),n.a.a=r)}function R4e(e,t){var n=F(bC(e.b,t),127),r;F(F(ME(e.r,t),22),83).dc()?(n.n.d=0,n.n.a=0):(n.n.d=e.C.d,n.n.a=e.C.a,e.A.Gc((CN(),z5))&&Ytt(e,t),r=rXe(e,t),KL(e,t)==(QN(),Z8)&&(r+=2*e.w),n.a.b=r)}function z4e(e,t){var n,r,i,a=new Sd;for(r=new D(t);r.ar&&(uT(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||tn.a&&(r.Gc((kF(),h6))?i=(t.a-n.a)/2:r.Gc(_6)&&(i=t.a-n.a)),t.b>n.b&&(r.Gc((kF(),y6))?a=(t.b-n.b)/2:r.Gc(v6)&&(a=t.b-n.b)),I0e(e,i,a)}function a3e(e,t,n,r,i,a,o,s,c,l,u,d,f){N(e.Cb,88)&&kI(wE(F(e.Cb,88)),4),Nk(e,n),e.f=o,CM(e,s),wM(e,c),SM(e,l),xM(e,u),oM(e,d),zM(e,f),aM(e,!0),GO(e,i),e.Xk(a),Lj(e,t),r!=null&&(e.i=null,_k(e,r))}function o3e(e,t,n){if(e<0)return eR(zdt,W(A(OJ,1),sB,1,5,[n,K(e)]));if(t<0)throw O(new Rp(Bdt+t));return eR(`%s (%s) must not be greater than size (%s)`,W(A(OJ,1),sB,1,5,[n,K(e),K(t)]))}function s3e(e,t,n,r,i,a){var o=r-n,s,c,l;if(o<7)tqe(t,n,r,a);else if(c=n+i,s=r+i,l=c+(s-c>>1),s3e(t,e,c,l,-i,a),s3e(t,e,l,s,-i,a),a.Le(e[l-1],e[l])<=0)for(;n=0?e.$h(a,n):w7e(e,i,n);else throw O(new Rp(wK+i.ve()+TK))}else KM(e,r,i,n)}function f3e(e){var t,n;if(e.f){for(;e.n>0;){if(t=F(e.k.Xb(e.n-1),75),n=t.Jk(),N(n,103)&&(F(n,19).Bb&DK)!=0&&(!e.e||n.nk()!=$5||n.Jj()!=0)&&t.kd()!=null)return!0;--e.n}return!1}return e.n>0}function p3e(e){var t,n=F(e,52).Yh(),r,i;if(n)try{if(r=null,t=sL((zh(),V7),Brt(uqe(n))),t&&(i=t.Zh(),i&&(r=i.Dl(hce(n.e)))),r&&r!=e)return p3e(r)}catch(e){if(e=LA(e),!N(e,63))throw O(e)}return e}function m3e(e,t,n){var r,i,a;n.Tg(`Remove overlaps`,1),n.bh(t,qht),r=F(Y(t,(pb(),M4)),26),e.f=r,e.a=CP(F(Y(t,(uI(),q4)),304)),i=P(Y(t,(Gz(),l8))),pl(e,(pC(i),i)),a=BL(r),Uct(e,t,a,n),n.bh(t,OG)}function h3e(e){var t,n,r;if(Hp(rb(Y(e,(Gz(),M6))))){for(r=new Sd,n=new iS(my(pL(e).a.Jc(),new f));eL(n);)t=F(OE(n),85),BI(t)&&Hp(rb(Y(t,N6)))&&Fd(r.c,t);return r}return qC(),qC(),hY}function g3e(e){if(!e)return Dce(),Ebt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=KJ[typeof t];return n?n(t):pGe(typeof t)}return e instanceof Array||e instanceof r.Array?new Yc(e):new Qc(e)}function _3e(e,t,n){var i,a,o=e.o;switch(i=F(bC(e.p,n),253),a=i.i,a.b=II(i),a.a=FI(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}NR(i),FR(i)}function v3e(e,t,n){var i,a,o=e.o;switch(i=F(bC(e.p,n),253),a=i.i,a.b=II(i),a.a=FI(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}NR(i),FR(i)}function y3e(e,t){var n,i,a;return N(t.g,9)&&F(t.g,9).k==(uL(),LX)?AV:(a=WT(t),a?r.Math.max(0,e.b/2-.5):(n=fT(t),n?(i=k(P(wN(n,(Hz(),k0)))),r.Math.max(0,i/2-.5)):AV))}function b3e(e,t){var n,i,a;return N(t.g,9)&&F(t.g,9).k==(uL(),LX)?AV:(a=WT(t),a?r.Math.max(0,e.b/2-.5):(n=fT(t),n?(i=k(P(wN(n,(Hz(),k0)))),r.Math.max(0,i/2-.5)):AV))}function x3e(e,t){var n,r,i,a,o;if(!t.dc()){if(i=F(t.Xb(0),132),t.gc()==1)iet(e,i,i,1,0,t);else for(n=1;n0)try{i=yR(t,WB,nB)}catch(e){throw e=LA(e),N(e,131)?(r=e,O(new UD(r))):O(e)}return n=(!e.a&&(e.a=new gd(e)),e.a),i=0?F(U(n,i),57):null}function T3e(e,t){if(e<0)return eR(zdt,W(A(OJ,1),sB,1,5,[`index`,K(e)]));if(t<0)throw O(new Rp(Bdt+t));return eR(`%s (%s) must be less than size (%s)`,W(A(OJ,1),sB,1,5,[`index`,K(e),K(t)]))}function E3e(e){var t,n,r,i,a;if(e==null)return cB;for(a=new bA(oB,`[`,`]`),n=e,r=0,i=n.length;r`,O(new Rp(r.a))}function H3e(e){var t,n=-e.a;return t=W(A(K9,1),YB,30,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&ZB,t[2]=t[2]+(n/60|0)%10&ZB,t[3]=t[3]+(n%60/10|0)&ZB,t[4]=t[4]+n%10&ZB,kN(t,0,t.length)}function U3e(e){var t,n,r,i;for(e.g=new QM(F(HS(P5),298)),r=0,n=(Az(),m5),t=0;t=0?e.Ih(n,!0,!0):WI(e,i,!0),163)),F(r,219).Xl(t);else throw O(new Rp(wK+t.ve()+TK))}function G3e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=Ew(r.Math.floor(r.Math.log(e)/.6931471805599453)),(!t||e!=r.Math.pow(2,n))&&++n,n):QGe(uA(e))}function K3e(e){var t,n,r,i,a=new hv,o,s;for(n=new D(e);n.a2&&s.e.b+s.j.b<=2&&(i=s,r=o),a.a.yc(i,a),i.q=r);return a}function q3e(e,t,n){n.Tg(`Eades radial`,1),n.bh(t,OG),e.d=F(Y(t,(pb(),M4)),26),e.c=k(P(Y(t,(uI(),G4)))),e.e=CP(F(Y(t,q4),304)),e.a=Oqe(F(Y(t,jPt),426)),e.b=L$e(F(Y(t,wPt),354)),c$e(e),n.bh(t,OG)}function J3e(e,t){if(t.Tg(`Target Width Setter`,1),nD(e,(JL(),b3)))uP(e,(QL(),d3),P(Y(e,b3)));else throw O(new Yp(`A target width has to be set if the TargetWidthWidthApproximator should be used.`));t.Ug()}function Y3e(e,t){var n,r=new kP(e),i;return vA(r,t),G(r,(X(),a$),t),G(r,(Hz(),l0),(PF(),t5)),G(r,$$,(_P(),u6)),il(r,(uL(),LX)),n=new sI,Gw(n,r),jI(n,(Az(),N5)),i=new sI,Gw(i,r),jI(i,p5),r}function X3e(e,t){var n,r,i,a,o;for(e.c[t.p]=!0,iy(e.a,t),o=new D(t.j);o.a=a)o.$b();else for(i=o.Jc(),r=0;r0?bce():o<0&&s6e(e,t,-o),!0)}function FI(e){var t,n,r,i,a,o,s=0;if(e.b==0){for(o=IXe(e,!0),t=0,r=o,i=0,a=r.length;i0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}else s=Rce(qk(PC(MC(ITe(e.a),new Ie),new ze)));return s>0?s+e.n.d+e.n.a:0}function II(e){var t,n,r,i,a,o,s=0;if(e.b==0)s=Rce(qk(PC(MC(ITe(e.a),new Le),new Re)));else{for(o=LXe(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 l6e(e){var t,n;if(e.c.length!=2)throw O(new zp(`Order only allowed for two paths.`));t=(lT(0,e.c.length),F(e.c[0],17)),n=(lT(1,e.c.length),F(e.c[1],17)),t.d.i!=n.c.i&&(e.c.length=0,Fd(e.c,n),Fd(e.c,t))}function u6e(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(p7,t,10,11)),t.a).i;r++)u6e(e,F(U((!t.a&&(t.a=new I(p7,t,10,11)),t.a),r),26),F(U((!n.a&&(n.a=new I(p7,n,10,11)),n.a),r),26))}function d6e(e,t){var n,i,a,o=F(bC(e.b,t),127);for(n=o.a,a=F(F(ME(e.r,t),22),83).Jc();a.Ob();)i=F(a.Pb(),115),i.c&&(n.a=r.Math.max(n.a,_Ce(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 f6e(e,t){var n=F(q(t,(TR(),rX)),15).a-F(q(e,rX),15).a,r,i;return n==0?(r=Eb(Yv(F(q(e,(Ek(),sX)),8)),F(q(e,cX),8)),i=Eb(Yv(F(q(t,sX),8)),F(q(t,cX),8)),dM(r.a*r.b,i.a*i.b)):n}function p6e(e,t){var n=F(q(t,(MR(),w4)),15).a-F(q(e,w4),15).a,r,i;return n==0?(r=Eb(Yv(F(q(e,(kz(),e4)),8)),F(q(e,t4),8)),i=Eb(Yv(F(q(t,e4),8)),F(q(t,t4),8)),dM(r.a*r.b,i.a*i.b)):n}function m6e(e){var t,n=new cm;return n.a+=`e_`,t=kHe(e),t!=null&&(n.a+=``+t),e.c&&e.d&&(Q_((n.a+=` `,n),ZP(e.c)),Q_(Z_((n.a+=`[`,n),e.c.i),`]`),Q_((n.a+=yU,n),ZP(e.d)),Q_(Z_((n.a+=`[`,n),e.d.i),`]`)),n.a}function h6e(e){switch(e.g){case 0:return new fc;case 1:return new iie;case 2:return new lie;case 3:return new bc;default:throw O(new Rp(`No implementation is available for the layout phase `+(e.f==null?``+e.g:e.f)))}}function g6e(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 _6e(e,t,n){var r,i,a,o,s;if(n)for(i=n.a.length,r=new $x(i),s=(r.b-r.a)*r.c<0?(Gh(),G9):new uy(r);s.Ob();)o=F(s.Pb(),15),a=RT(n,o.a),W_t in a.a||GK in a.a?Ont(e,a,t):Gut(e,a,t),dge(F(JS(e.c,jN(a)),85))}function v6e(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=dF(e),t&&(Wh(),t.jk()==ryt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function y6e(e,t){var n,r,i,a;if(Vz(e),e.c!=0||e.a!=123)throw O(new Qp(Zz((Lv(),_vt))));if(a=t==112,r=e.d,n=zy(e.i,125,r),n<0)throw O(new Qp(Zz((Lv(),vvt))));return i=fw(e.i,r,n),e.d=n+1,nLe(i,a,(e.e&512)==512)}function b6e(e){var t,n,r,i,a,o,s=Ry(e.c.length);for(i=new D(e);i.a=0&&r=0?e.Ih(n,!0,!0):WI(e,i,!0),163)),F(r,219).Ul(t);throw O(new Rp(wK+t.ve()+EK))}function C6e(){gde();var e;return oVt?F(sL((zh(),V7),Hq),2003):(nv(NJ,new ps),Act(),e=F(N(Tw((zh(),V7),Hq),549)?Tw(V7,Hq):new pDe,549),oVt=!0,Edt(e),Ldt(e),vC((hde(),MBt),e,new zo),Kw(V7,Hq,e),e)}function w6e(e,t){var n,r,i,a;e.j=-1,vv(e.e)?(n=e.i,a=e.i!=0,FE(e,t),r=new WD(e.e,3,e.c,null,t,n,a),i=t.xl(e.e,e.c,null),i=w1e(e,t,i),i?(i.lj(r),i.mj()):aA(e.e,r)):(FE(e,t),i=t.xl(e.e,e.c,null),i&&i.mj())}function zI(e,t){var n,r,i=0;if(r=t[0],r>=e.length)return-1;for(n=(uT(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(uT(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function T6e(e,t,n){var r,i,a,o=e.c,s=e.d;a=nj(W(A(s6,1),xB,8,0,[o.i.n,o.n,o.a])).b,i=(a+nj(W(A(s6,1),xB,8,0,[s.i.n,s.n,s.a])).b)/2,r=null,r=o.j==(Az(),p5)?new j(t+o.i.c.c.a+n,i):new j(t-n,i),By(e.a,0,r)}function BI(e){for(var t=null,n,r=yS(ZO(W(A(AJ,1),sB,20,0,[(!e.b&&(e.b=new kb(r7,e,4,7)),e.b),(!e.c&&(e.c=new kb(r7,e,5,8)),e.c)]))),i;eL(r);)if(n=F(OE(r),84),i=RF(n),!t)t=i;else if(t!=i)return!1;return!0}function VI(e,t,n){var r;if(++e.j,t>=e.i)throw O(new jp(rq+t+iq+e.i));if(n>=e.i)throw O(new jp(aq+n+iq+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-MV,t=r>>16&4,n+=t,e<<=t,r=e-SB,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function E6e(e,t){var n,r,i=new Sd;for(r=$N(t.a,0);r.b!=r.d.c;)n=F(HT(r),65),n.c.g==e.g&&M(q(n.b,(MR(),E4)))!==M(q(n.c,E4))&&!SE(new Px(null,new cT(i,16)),new zu(n))&&Fd(i.c,n);return Vv(i,new zi),i}function D6e(e,t,n){var r,i,a,o;return N(t,155)&&N(n,155)?(a=F(t,155),o=F(n,155),e.a[a.a][o.a]+e.a[o.a][a.a]):N(t,251)&&N(n,251)&&(r=F(t,251),i=F(n,251),r.a==i.a)?F(q(i.a,(TR(),rX)),15).a:0}function O6e(e,t){var n,i,a,o,s,c,l,u=k(P(q(t,(Hz(),N0))));for(l=e[0].n.a+e[0].o.a+e[0].d.c+u,c=1;c=0?n:(s=iC(Eb(new j(o.c+o.b/2,o.d+o.a/2),new j(a.c+a.b/2,a.d+a.a/2))),-(sit(a,o)-1)*s)}function A6e(e,t,n){var r;vh(new Px(null,(!n.a&&(n.a=new I(a7,n,6,6)),new cT(n.a,16))),new tpe(e,t)),vh(new Px(null,(!n.n&&(n.n=new I(f7,n,1,7)),new cT(n.n,16))),new npe(e,t)),r=F(Y(n,(Gz(),I6)),79),r&&DVe(r,e,t)}function WI(e,t,n){var r,i,a=gz((vI(),p9),e.Ah(),t);if(a)return Wh(),F(a,69).vk()||(a=pT(RD(p9,a))),i=(r=e.Fh(a),F(r>=0?e.Ih(r,!0,!0):WI(e,a,!0),163)),F(i,219).Ql(t,n);throw O(new Rp(wK+t.ve()+EK))}function j6e(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 Zb(c.c,o),qx(e,r++,i)),s=l+n,s<=c.a&&(a=new Zb(s,c.a),Jw(r,e.c.length),_g(e.c,r,a)))}function z6e(e,t,n){var r,i,a,o,s,c;if(!t.dc()){for(i=new uh,c=t.Jc();c.Ob();)for(s=F(c.Pb(),40),vC(e.a,K(s.g),K(n)),o=(r=$N(new Bu(s).a.d,0),new Vu(r));Wm(o.a);)a=F(HT(o.a),65).c,pE(i,a,i.c.b,i.c);z6e(e,i,n+1)}}function B6e(e){var t;if(!e.c&&e.g==null)e.d=e._i(e.f),cD(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],50);return t==e.b&&null.Tm>=null.Sm()?(lL(e),B6e(e)):t.Ob()}function V6e(e){if(this.a=e,e.c.i.k==(uL(),LX))this.c=e.c,this.d=F(q(e.c.i,(X(),o$)),64);else if(e.d.i.k==LX)this.c=e.d,this.d=F(q(e.d.i,(X(),o$)),64);else throw O(new Rp(`Edge `+e+` is not an external edge.`))}function H6e(e,t){var n,r,i=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,3,i,e.b)),t?t!=e&&(Nk(e,t.zb),WO(e,t.d),n=(r=t.c,r??t.zb),fk(e,n==null||jb(n,t.zb)?null:n)):(Nk(e,null),WO(e,0),fk(e,null))}function U6e(e){var t=(!VJ&&(VJ=fut()),VJ);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 Lke(e,t)})+`"`}function W6e(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 Ab(t,o));return i=n[t],o==1?r=null:(r=H(dBt,yq,415,o-1,0,1),AR(n,0,r,0,t),a=o-t-1,a>0&&AR(n,t+1,r,t,a)),oP(e,r),Y4e(e,t,i),i}function q6e(e){var t,n;if(e.f){for(;e.n0)for(o=e.c.d,s=e.d.d,i=ry(Eb(new j(s.a,s.b),o),1/(r+1)),a=new j(o.a,o.b),n=new D(e.a);n.a0?iN(n):_M(iN(n))),uP(t,f0,a)}function Q6e(e,t){var n,r;if(e.c.length!=0){if(e.c.length==2)UR((lT(0,e.c.length),F(e.c[0],9)),(iF(),I8)),UR((lT(1,e.c.length),F(e.c[1],9)),L8);else for(r=new D(e);r.a0&&aR(e,n,t),a):r.a==null?i.a==null?0:(aR(e,n,t),1):(aR(e,t,n),-1)}function t8e(e){Zw();for(var t,n=new lE,r,i=new D(e.e.b),a,o,s;i.a=0;)r=n[a],o.$l(r.Jk())&&cD(i,r);!Cut(e,i)&&vv(e.e)&&af(e,t.Hk()?dw(e,6,t,(qC(),hY),null,-1,!1):dw(e,t.rk()?2:1,t,null,null,-1,!1))}function a8e(e,t){var n,r,i,a,o;return e.a==(nI(),TQ)||(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 o8e(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.xh(null):e.Mh().Qh(e,-1-t,null,null)),e.yh(F(i,52),n),r&&r.mj(),e.sh()&&e.th()&&n>-1&&aA(e,new hS(e,9,n,a,i)),i):a}function C8e(e,t){var n,r,i,a=e.b.Ae(t),o;for(r=(n=e.a.get(a),n??H(OJ,sB,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=KVe(e),i>16)),16).bd(a),s0&&(!(bv(e.a.c)&&t.n.d)&&!(xv(e.a.c)&&t.n.b)&&(t.g.d+=r.Math.max(0,i/2-.5)),!(bv(e.a.c)&&t.n.a)&&!(xv(e.a.c)&&t.n.c)&&(t.g.a-=i-1))}function I8e(e,t,n){var r,i,a=F(jx(t.e,0),17).c,o,s,c;r=a.i,i=r.k,c=F(jx(n.g,0),17).d,o=c.i,s=o.k,i==(uL(),zX)?G(e,(X(),v$),F(q(r,v$),12)):G(e,(X(),v$),a),s==zX?G(e,(X(),y$),F(q(o,y$),12)):G(e,(X(),y$),c)}function L8e(e,t){for(var n,r,i,a=new D(e.b),o,s;a.a>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(o=r?SV:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(o=r?SV:0,a=r?xV:0,i=n>>t-44),Wv(i&xV,a&xV,o&SV)}function U8e(e,t){var n,r,i,a,o,s,c,l,u;if(e.a.f>0&&N(t,45)&&(e.a.Zj(),l=F(t,45),c=l.jd(),a=c==null?0:jk(c),o=Mve(e.a,a),n=e.a.d[o],n)){for(r=F(n.g,374),u=n.i,s=0;s=2)for(n=a.Jc(),t=P(n.Pb());n.Ob();)o=t,t=P(n.Pb()),i=r.Math.min(i,(pC(t),t-(pC(o),o)));return i}function i5e(e,t){var n,r,i=new Sd;for(r=$N(t.a,0);r.b!=r.d.c;)n=F(HT(r),65),n.b.g==e.g&&!jb(n.b.c,yG)&&M(q(n.b,(MR(),E4)))!==M(q(n.c,E4))&&!SE(new Px(null,new cT(i,16)),new koe(n))&&Fd(i.c,n);return Vv(i,new Hi),i}function a5e(e,t){var n,r,i;if(M(t)===M(HS(e)))return!0;if(!N(t,16)||(r=F(t,16),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?i+=t:i+=1;return i}function _5e(e,t){var n,r,i,a,o,s,c,l=e,u,d;c=zT(l,`individualSpacings`),c&&(r=nD(t,(Gz(),s8)),o=!r,o&&(i=new no,uP(t,s8,i)),s=F(Y(t,s8),379),d=c,a=null,d&&(a=(u=yk(d,H(aY,xB,2,0,6,1)),new ch(d,u))),a&&(n=new fpe(d,s),_E(a,n)))}function v5e(e,t){var n,r,i,a,o,s,c=null,l,u,d=e,f;return u=null,(tvt in d.a||nvt in d.a||qK in d.a)&&(l=null,f=uUe(t),o=zT(d,tvt),n=new ose(f),Vqe(n.a,o),s=zT(d,nvt),r=new ed(f),Hqe(r.a,s),a=LT(d,qK),i=new fse(f),l=(_1e(i.a,a),a),u=l),c=u,c}function y5e(e,t){var n,r,i;if(t===e)return!0;if(N(t,541)){if(i=F(t,834),e.a.d!=i.a.d||DC(e).gc()!=DC(i).gc())return!1;for(r=DC(i).Jc();r.Ob();)if(n=F(r.Pb(),416),jAe(e,n.a.jd())!=F(n.a.kd(),18).gc())return!1;return!0}return!1}function b5e(e,t){for(var n,r,i,a=new D(t.a);a.at.c?1:e.bt.b?1:e.a==t.a?e.d==(YT(),N2)&&t.d==M2?-1:+(e.d==M2&&t.d==N2):jk(e.a)-jk(t.a)}function nL(e){var t,n,i,a=AV,o,s,c,l;for(i=jV,n=new D(e.e.b);n.a0&&i0):i<0&&-i0)}function C5e(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 T5e(e){if(e.xe()){var t=e.c;e.o=t.ye()?`[`+t.n:t.xe()?`[`+t.ve():`[L`+t.ve()+`;`,e.b=t.ue()+`[]`,e.k=t.we()+`[]`}else{var n=e.j,r=e.d;r=r.split(`/`),e.o=ON(`.`,[n,ON(`$`,r)]),e.b=ON(`.`,[n,ON(`.`,r)]),e.k=r[r.length-1]}}function E5e(e,t){var n,r,i,a,o=null;for(a=new D(e.e.a);a.a0&&Uz(t,(lT(r-1,e.c.length),F(e.c[r-1],9)),i)>0;)gE(e,r,(lT(r-1,e.c.length),F(e.c[r-1],9))),--r;lT(r,e.c.length),e.c[r]=i}t.b=new Cd,t.g=new Cd}function I5e(e,t,n){for(var r=1,i,a;r0&&t.Le((lT(i-1,e.c.length),F(e.c[i-1],9)),a)>0;)gE(e,i,(lT(i-1,e.c.length),F(e.c[i-1],9))),--i;lT(i,e.c.length),e.c[i]=a}n.a=new Cd,n.b=new Cd}function rL(e,t,n){for(var i,a,o=t.Jc(),s,c,l,u,d,f,p;o.Ob();)a=F(o.Pb(),26),d=a.i+a.g/2,p=a.j+a.f/2,l=e.f,s=l.i+l.g/2,c=l.j+l.f/2,u=d-s,f=p-c,i=r.Math.sqrt(u*u+f*f),u*=e.e/i,f*=e.e/i,n?(d-=u,p-=f):(d+=u,p+=f),BO(a,d-a.g/2),VO(a,p-a.f/2)}function iL(e){var t,n,r;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=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 aL(e){var t,n=new vy(Bm(e.Pm));return n.a+=`@`,Q_(n,(t=jk(e)>>>0,t.toString(16))),e.Sh()?(n.a+=` (eProxyURI: `,Z_(n,e.Yh()),e.Hh()&&(n.a+=` eClass: `,Z_(n,e.Hh())),n.a+=`)`):e.Hh()&&(n.a+=` (eClass: `,Z_(n,e.Hh()),n.a+=`)`),n.a}function oL(e){var t,n,r,i;if(e.e)throw O(new zp((nb(MY),oH+MY.k+sH)));for(e.d==(fM(),y8)&&Tz(e,_8),n=new D(e.a.a);n.a>24}return n}function U5e(e,t,n){var r,i=F(bC(e.i,t),319),a;if(!i){if(i=new ZRe(e.d,t,n),TS(e.i,t,i),jJe(t))Bhe(e.a,t.c,t.b,i);else switch(a=N4e(t),r=F(bC(e.p,a),253),a.g){case 1:case 3:i.j=!0,Tp(r,t.b,i);break;case 4:case 2:i.k=!0,Tp(r,t.c,i)}}return i}function W5e(e,t,n,r){var i,a,o,s=new mo,c=PL(e.e.Ah(),t),l;if(i=F(e.g,122),Wh(),F(t,69).vk())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.a=0?(t||(t=new sm,r>0&&Y_(t,(rD(0,r,e.length),e.substr(0,r)))),t.a+=`\\`,tC(t,n&ZB)):t&&tC(t,n&ZB);return t?t.a:e}function J5e(e){for(var t,n=new D(e.a.a.b),i;n.a0&&(!(bv(e.a.c)&&t.n.d)&&!(xv(e.a.c)&&t.n.b)&&(t.g.d-=r.Math.max(0,i/2-.5)),!(bv(e.a.c)&&t.n.a)&&!(xv(e.a.c)&&t.n.c)&&(t.g.a+=r.Math.max(0,i-1)))}function Y5e(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(Az(),m5)||t==p5?(_O(F(QA(e),16),(iF(),I8)),_O(F(QA(e),16),L8)):(_O(F(QA(e),16),(iF(),L8)),_O(F(QA(e),16),I8));else for(i=new AC(e);i.a!=i.b;)r=F(Kj(i),16),_O(r,n)}function X5e(e,t,n){var r,i,a,o,s,c,l,u=-1,d=0;for(s=t,c=0,l=s.length;c0&&++d;++u}return d}function Z5e(e,t){var n,r,i=rx(new ad(e)),a,o,s=new OT(i,i.c.length),c;for(a=rx(new ad(t)),c=new OT(a,a.c.length),o=null;s.b>0&&c.b>0&&(n=(qy(s.b>0),F(s.a.Xb(s.c=--s.b),26)),r=(qy(c.b>0),F(c.a.Xb(c.c=--c.b),26)),n==r);)o=n;return o}function Q5e(e,t){var n,r,i,a;for(t.Tg(`Self-Loop pre-processing`,1),r=new D(e.a);r.aKje(e,n)?(r=kM(n,(Az(),p5)),e.d=r.dc()?0:bx(F(r.Xb(0),12)),o=kM(t,N5),e.b=o.dc()?0:bx(F(o.Xb(0),12))):(i=kM(n,(Az(),N5)),e.d=i.dc()?0:bx(F(i.Xb(0),12)),a=kM(t,p5),e.b=a.dc()?0:bx(F(a.Xb(0),12)))}function e7e(e){var t=!0,n,r,i=null,a=null,o,s,c;j:for(c=new D(e.a);c.ae.c));o++)i.a>=e.s&&(a<0&&(a=o),s=o);return c=(e.s+e.c)/2,a>=0&&(r=Ent(e,t,a,s),c=vde((lT(r,t.c.length),F(t.c[r],340))),R6e(t,r,n)),c}function cL(e,t,n){var r,i,a,o=(a=new wo,a),s,c,l;for(zBe(o,(pC(t),t)),l=(!o.b&&(o.b=new $y((Yz(),o9),d9,o)),o.b),c=1;c=2}function o7e(e,t,n,r,i){for(var a=e.c.d.j,o=F(dP(n,0),8),s,c,l,u=1;u1||(t=Kx(V8,W(A(Y8,1),Z,96,0,[B8,U8])),gA(Ow(t,e))>1)||(r=Kx(J8,W(A(Y8,1),Z,96,0,[q8,K8])),gA(Ow(r,e))>1))}function c7e(e){for(var t=0,n,i=new D(e.a),a,o,s,c;i.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&mx(t,r.b));for(i=new D(e.i);i.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&mx(n,r.a))}function lL(e){var t,n,r,i,a;if(e.g==null&&(e.d=e._i(e.f),cD(e,e.d),e.c))return a=e.f,a;if(t=F(e.g[e.i-1],50),i=t.Pb(),e.e=t,n=e._i(i),n.Ob())e.d=n,cD(e,n);else for(e.d=null;!t.Ob()&&(qS(e.g,--e.i,null),e.i!=0);)r=F(e.g[e.i-1],50),t=r;return i}function u7e(e,t){var n,r=t,i=r.Jk(),a,o,s;if(LL(e.e,i)){if(i.Qi()&&XT(e,i,r.kd()))return!1}else for(s=PL(e.e.Ah(),i),n=F(e.g,122),a=0;a1||n>1)return 2;return t+n==1?2:0}function mL(e,t){var n,i,a,o=e.a*JV+e.b*1502,s,c=e.b*JV+11;return n=r.Math.floor(c*YV),o+=n,c-=n*vft,o%=vft,e.a=o,e.b=c,t<=24?r.Math.floor(e.a*hxt[t]):(a=e.a*(1<=2147483648&&(i-=4294967296),i)}function y7e(e,t,n){var r,i,a=new Sd,o,s,c,l=new uh;for(o=new uh,kat(e,l,o,t),qst(e,l,o,t,n),c=new D(e);c.ar.b.g&&Fd(a.c,r);return a}function b7e(e,t,n){var r,i,a,o,s=e.c,c;for(o=(n.q?n.q:(qC(),qC(),gY)).vc().Jc();o.Ob();)a=F(o.Pb(),45),r=!Km(MC(new Px(null,new cT(s,16)),new Jl(new Kfe(t,a)))).zd((_h(),AY)),r&&(c=a.kd(),N(c,4)&&(i=zJe(c),i!=null&&(c=i)),t.of(F(a.jd(),147),c))}function x7e(e,t){var n,r,i,a;for(t.Tg(`Resize child graph to fit parent.`,1),r=new D(e.b);r.a1)for(i=new D(e.a);i.a=0?e.Ih(r,!0,!0):WI(e,a,!0),163)),F(i,219).Vl(t,n)}else throw O(new Rp(wK+t.ve()+TK))}function T7e(e,t,n){var r,i,a,o,s,c=vve(e,F(JS(e.e,t),26));if(s=null,c)switch(c.g){case 3:r=Che(e,Pw(t)),s=(pC(n),n+(pC(r),r));break;case 2:i=Che(e,Pw(t)),o=(pC(n),n+(pC(i),i)),a=Che(e,F(JS(e.e,t),26)),s=o-(pC(a),a);break;default:s=n}else s=n;return s}function E7e(e,t,n){var r,i,a,o,s,c=vve(e,F(JS(e.e,t),26));if(s=null,c)switch(c.g){case 3:r=whe(e,Pw(t)),s=(pC(n),n+(pC(r),r));break;case 2:i=whe(e,Pw(t)),o=(pC(n),n+(pC(i),i)),a=whe(e,F(JS(e.e,t),26)),s=o-(pC(a),a);break;default:s=n}else s=n;return s}function hL(e,t){var n,r,i,a,o;if(t){for(a=N(e.Cb,88)||N(e.Cb,103),o=!a&&N(e.Cb,335),r=new dy((!t.a&&(t.a=new Hx(t,z7,t)),t.a));r.e!=r.i.gc();)if(n=F(nP(r),87),i=ER(n),a?N(i,88):o?N(i,159):i)return i;return a?(Yz(),t9):(Yz(),e9)}return null}function D7e(e,t){var n=new Sd,r,i=tO(new Px(null,new cT(e,16)),new Rte),a=tO(new Px(null,new cT(e,16)),new Pi),o=QLe(KFe(PC(G7e(W(A(jxt,1),sB,833,0,[i,a])),new zte)));for(r=1;r=2*t&&iy(n,new Zb(o[r-1]+t,o[r]-t));return n}function O7e(e,t,n){var r,i,a,o,s,c,l,u;if(n)for(a=n.a.length,r=new $x(a),s=(r.b-r.a)*r.c<0?(Gh(),G9):new uy(r);s.Ob();)o=F(s.Pb(),15),i=RT(n,o.a),i&&(c=LNe(e,(l=(Nm(),u=new Uf,u),t&&V7e(l,t),l),i),pk(c,BT(i,YK)),LF(i,c),C3e(i,c),rj(e,i,c))}function gL(e){var t,n,r,i,a,o;if(!e.j){if(o=new ire,t=l9,a=t.a.yc(e,t),a==null){for(r=new dy(hw(e));r.e!=r.i.gc();)n=F(nP(r),29),i=gL(n),VS(o,i),cD(o,n);t.a.Ac(e)}Aj(o),e.j=new av((F(U(z((zS(),K7).o),11),19),o.i),o.g),wE(e).b&=-33}return e.j}function k7e(e){var t,n,r,i;if(e==null)return null;if(r=ez(e,!0),i=uJ.length,jb(r.substr(r.length-i,i),uJ)){if(n=r.length,n==4){if(t=(uT(0,r.length),r.charCodeAt(0)),t==43)return zVt;if(t==45)return RVt}else if(n==3)return zVt}return new cf(r)}function A7e(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 _L(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 j7e(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(rC(F(IE(e.b,t.a),262)),262),n.a=0,++e.c):(n=F(rC(F(JS(e.b,t.a),262)),262),--n.a,t.e?t.e.c=t.c:n.b=F(rC(t.c),498),t.c?t.c.e=t.e:n.c=F(rC(t.e),498)),--e.d}function vL(e,t){var n,r,i,a=new OT(e,0);for(n=(qy(a.b0),a.a.Xb(a.c=--a.b),vb(a,i),qy(a.b3&&GD(e,0,t-3))}function F7e(e){var t,n,r,i;return M(q(e,(Hz(),P1)))===M((xj(),N8))?!e.e&&M(q(e,v1))!==M((CA(),LQ)):(r=F(q(e,y1),302),i=Hp(rb(q(e,x1)))||M(q(e,S1))===M((eN(),eQ)),t=F(q(e,Mkt),15).a,n=e.a.c.length,!i&&r!=(CA(),LQ)&&(t==0||t>n))}function I7e(e,t){for(var n,r,i=e.Jc(),a,o,s,c;i.Ob();)for(r=F(i.Pb(),9),s=new sI,Gw(s,r),jI(s,(Az(),p5)),G(s,(X(),E$),(xy(),!0)),o=t.Jc();o.Ob();)a=F(o.Pb(),9),c=new sI,Gw(c,a),jI(c,N5),G(c,E$,!0),n=new cw,G(n,E$,!0),Hw(n,s),Ww(n,c)}function L7e(e){for(var t,n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(lF(e,t))throw O(new Rp(jK+s8e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?yQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=lP(t,e,6,r)),r=bve(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,6,t,t))}function yL(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(lF(e,t))throw O(new Rp(jK+Qat(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?TQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=lP(t,e,12,r)),r=yve(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,3,t,t))}function V7e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(lF(e,t))throw O(new Rp(jK+hnt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?xQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=lP(t,e,9,r)),r=xve(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,9,t,t))}function bL(e){var t,n,r=dF(e),i,a=e.j;if(a==null&&r)return e.Hk()?null:r.gk();if(N(r,159)){if(n=r.hk(),n&&(i=n.ti(),i!=e.i)){if(t=F(r,159),t.lk())try{e.g=i.qi(t,a)}catch(t){if(t=LA(t),N(t,80))e.g=null;else throw O(t)}e.i=i}return e.g}return null}function H7e(e){var t=new Sd;return iy(t,new tg(new j(e.c,e.d),new j(e.c+e.b,e.d))),iy(t,new tg(new j(e.c,e.d),new j(e.c,e.d+e.a))),iy(t,new tg(new j(e.c+e.b,e.d+e.a),new j(e.c+e.b,e.d))),iy(t,new tg(new j(e.c+e.b,e.d+e.a),new j(e.c,e.d+e.a))),t}function U7e(e){var t,n,r=e.a.d.j,i=e.c.d.j;for(n=new D(e.i.d);n.a>>0),n.toString(16)),pYe(BHe(),(hh(),`Exception during lenientFormat for `+r),t),`<`+r+` threw `+Bm(t.Pm)+`>`;throw O(i)}}function G7e(e){var t,n,r=!1,i,a,o,s,l,u;for(t=336,n=0,a=new Ove(e.length),s=e,l=0,u=s.length;l1)for(t=Cy((n=new hf,++e.b,n),e.d),s=$N(a,0);s.b!=s.d.c;)o=F(HT(s),124),ML(Ch(Sh(wh(xh(new mf,1),0),t),o))}function SL(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=11&&t){if(lF(e,t))throw O(new Rp(jK+mnt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?zQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=lP(t,e,10,r)),r=nye(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,11,t,t))}function X7e(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(cBt,Vvt,67,2*c+4,0,1),a=0;a=0x8000000000000000?(aO(),Dbt):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=TV&&(r=Ew(e/TV),e-=r*TV),n=0,e>=wV&&(n=Ew(e/wV),e-=n*wV),t=Ew(e),a=Wv(t,n,r),i&&tj(a),a)}function p9e(e){var t,n,r,i,a=new Sd;if(SO(e.b,new Ql(a)),e.b.c.length=0,a.c.length!=0){for(t=(lT(0,a.c.length),F(a.c[0],80)),n=1,r=a.c.length;n>16!=7&&t){if(lF(e,t))throw O(new Rp(jK+d4e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?bQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=F(t,52).Oh(e,1,t7,r)),r=kwe(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,7,t,t))}function b9e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(lF(e,t))throw O(new Rp(jK+iKe(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?wQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=F(t,52).Oh(e,0,o7,r)),r=Awe(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,3,t,t))}function TL(e,t){WL();var n,r,i,a,o,s,c,l,u;return t.d>e.d&&(s=e,e=t,t=s),t.d<63?Det(e,t):(o=(e.d&-2)<<4,l=yFe(e,o),u=yFe(t,o),r=$R(e,kE(l,o)),i=$R(t,kE(u,o)),c=TL(l,u),n=TL(r,i),a=TL($R(l,r),$R(i,u)),a=hz(hz(a,c),n),a=kE(a,o),c=kE(c,o<<1),hz(hz(c,a),n))}function EL(){EL=C,W0=new Pg(xht,0),RAt=new Pg(`LONGEST_PATH`,1),zAt=new Pg(`LONGEST_PATH_SOURCE`,2),V0=new Pg(`COFFMAN_GRAHAM`,3),LAt=new Pg(RU,4),BAt=new Pg(`STRETCH_WIDTH`,5),U0=new Pg(`MIN_WIDTH`,6),B0=new Pg(`BF_MODEL_ORDER`,7),H0=new Pg(`DF_MODEL_ORDER`,8)}function x9e(e,t){var n,r,i,a,o,s;if(!e.tb){for(a=(!e.rb&&(e.rb=new mS(e,F7,e)),e.rb),s=new gh(a.i),i=new dy(a);i.e!=i.i.gc();)r=F(nP(i),143),o=r.ve(),n=F(o==null?EI(s.f,null,r):OM(s.i,o,r),143),n&&(o==null?EI(s.f,null,n):OM(s.i,o,n));e.tb=s}return F(Tw(e.tb,t),143)}function DL(e,t){var n,r,i,a,o;if((e.i??PR(e),e.i).length,!e.p){for(o=new gh((3*e.g.i/2|0)+1),i=new Fy(e.g);i.e!=i.i.gc();)r=F(rP(i),179),a=r.ve(),n=F(a==null?EI(o.f,null,r):OM(o.i,a,r),179),n&&(a==null?EI(o.f,null,n):OM(o.i,a,n));e.p=o}return F(Tw(e.p,t),179)}function S9e(e,t,n,r,i){var a,o,s,c,l;for($Je(r+pw(n,n.ge()),i),EEe(t,jqe(n)),a=n.f,a&&S9e(e,t,a,`Caused by: `,!1),s=(n.k??=H(BJ,xB,80,0,0,1),n.k),c=0,l=s.length;c=0;a+=n?1:-1)o|=t.c.jg(c,a,n,r&&!Hp(rb(q(t.j,(X(),s$))))&&!Hp(rb(q(t.j,(X(),N$))))),o|=t.q.tg(c,a,n),o|=Htt(e,c[a],n,r);return ES(e.c,t),o}function kL(e,t,n){for(var r,i,a,o,s,c,l,u=KMe(e.j),d=0,f=u.length;d1&&(e.a=!0),Cwe(F(n.b,68),Tb(Yv(F(t.b,68).c),ry(Eb(Yv(F(n.b,68).a),F(t.b,68).a),i))),kAe(e,t),T9e(e,n)}function E9e(e){for(var t,n,r,i,a=new D(e.a.a),o,s;a.a0&&a>0?o.p=t++:r>0?o.p=n++:a>0?o.p=i++:o.p=n++}qC(),Vv(e.j,new Bn)}function k9e(e){var t,n=null;t=F(jx(e.g,0),17);do{if(n=t.d.i,Xy(n,(X(),y$)))return F(q(n,y$),12).i;if(n.k!=(uL(),VX)&&eL(new iS(my(RM(n).a.Jc(),new f))))t=F(OE(new iS(my(RM(n).a.Jc(),new f))),17);else if(n.k!=VX)return null}while(n&&n.k!=(uL(),VX));return n}function A9e(e,t){var n,r,i,a,o,s=t.j,c,l,u;for(o=t.g,c=F(jx(s,s.c.length-1),113),u=(lT(0,s.c.length),F(s.c[0],113)),l=GP(e,o,c,u),a=1;al&&(c=n,u=i,l=r);t.a=u,t.c=c}function jL(e,t,n,r){var i=M(q(n,(Hz(),l1)))===M((WA(),VQ)),a=F(q(n,Akt),16);if(Xy(e,(X(),C$))){if(i){if(a.Gc(q(e,u1))&&a.Gc(q(t,u1)))return r*F(q(e,u1),15).a+F(q(e,C$),15).a}else return F(q(e,C$),15).a}else return-1;return F(q(e,C$),15).a}function j9e(e,t,n){var r,i,a,o,s,c,l=new Hm(new poe(e));for(o=W(A(ewt,1),bpt,12,0,[t,n]),s=0,c=o.length;sc-e.b&&sc-e.a&&sn.p):a.Ob()?1:-1}function U9e(e,t){var n,i,a,o,s,c;t.Tg(kgt,1),a=F(Y(e,(JL(),v3)),104),o=(!e.a&&(e.a=new I(p7,e,10,11)),e.a),s=aQe(o),c=r.Math.max(s.a,k(P(Y(e,(QL(),l3))))-(a.b+a.c)),i=r.Math.max(s.b,k(P(Y(e,o3)))-(a.d+a.a)),n=i-s.b,uP(e,r3,n),uP(e,a3,c),uP(e,i3,i+n),t.Ug()}function NL(e){var t,n;if((!e.a&&(e.a=new I(a7,e,6,6)),e.a).i==0)return uUe(e);for(t=F(U((!e.a&&(e.a=new I(a7,e,6,6)),e.a),0),170),fz((!t.a&&(t.a=new sy(e7,t,5)),t.a)),HO(t,0),UO(t,0),LO(t,0),RO(t,0),n=(!e.a&&(e.a=new I(a7,e,6,6)),e.a);n.i>1;)VL(n,n.i-1);return t}function PL(e,t){Wh();var n,r,i,a;return t?t==(_z(),FVt)||(t==CVt||t==S9||t==SVt)&&e!=xVt?new Slt(e,t):(r=F(t,682),n=r.Yk(),n||=(OC(RD((vI(),p9),t)),r.Yk()),a=(!n.i&&(n.i=new Cd),n.i),i=F(V_(Jx(a.f,e)),2006),!i&&vC(a,e,i=new Slt(e,t)),i):mVt}function W9e(e,t){var n;if(!DS(e.b,t.b))throw O(new zp(`Invalid hitboxes for scanline constraint calculation.`));(sUe(t.b,F(Kue(e.b,t.b),60))||sUe(t.b,F(Gue(e.b,t.b),60)))&&ph(),e.a[t.b.f]=F(bh(e.b,t.b),60),n=F(yh(e.b,t.b),60),n&&(e.a[n.f]=t.b)}function G9e(e,t){var n,r,i,a,o,s,c=F(q(e,(X(),w$)),12),l=nj(W(A(s6,1),xB,8,0,[c.i.n,c.n,c.a])).a,u=e.i.n.b;for(n=AT(e.e),i=n,a=0,o=i.length;a0?a.a?(s=a.b.Kf().a,n>s&&(i=(n-s)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:kS(e.u)&&(r=v0e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.Kf().a&&(a.d.c=r.c+r.b-a.b.Kf().a))}function Z9e(e,t){var n,r,i,a,o=new Sd;n=t;do a=F(JS(e.b,n),132),a.B=n.c,a.D=n.d,Fd(o.c,a),n=F(JS(e.k,n),17);while(n);return r=(lT(0,o.c.length),F(o.c[0],132)),r.j=!0,r.A=F(r.d.a.ec().Jc().Pb(),17).c.i,i=F(jx(o,o.c.length-1),132),i.q=!0,i.C=F(i.d.a.ec().Jc().Pb(),17).d.i,o}function Q9e(e){var t,n=F(q(e,(Hz(),z1)),165);t=F(q(e,(X(),f$)),316),n==($M(),q$)?(G(e,z1,X$),G(e,f$,(rO(),KQ))):n==Y$?(G(e,z1,X$),G(e,f$,(rO(),WQ))):t==(rO(),KQ)?(G(e,z1,q$),G(e,f$,GQ)):t==WQ&&(G(e,z1,Y$),G(e,f$,GQ))}function FL(){FL=C,V2=new Pte,_Mt=wx(new dC,(XF(),_X),(Kz(),eZ)),bMt=Qx(wx(new dC,_X,dZ),yX,uZ),xMt=PN(PN(Lh(Qx(wx(new dC,hX,_Z),yX,gZ),vX),hZ),vZ),vMt=Qx(wx(wx(wx(new dC,gX,nZ),vX,iZ),vX,aZ),yX,rZ),yMt=Qx(wx(wx(new dC,vX,aZ),vX,ZX),yX,XX)}function IL(){IL=C,wMt=wx(Qx(new dC,(XF(),yX),(Kz(),ywt)),_X,eZ),OMt=PN(PN(Lh(Qx(wx(new dC,hX,_Z),yX,gZ),vX),hZ),vZ),TMt=Qx(wx(wx(wx(new dC,gX,nZ),vX,iZ),vX,aZ),yX,rZ),DMt=wx(wx(new dC,_X,dZ),yX,uZ),EMt=Qx(wx(wx(new dC,vX,aZ),vX,ZX),yX,XX)}function $9e(e,t,n,r,i){var a,o;(!CE(t)&&t.c.i.c==t.d.i.c||!XBe(nj(W(A(s6,1),xB,8,0,[i.i.n,i.n,i.a])),n))&&!CE(t)&&(t.c==i?By(t.a,0,new mv(n)):mx(t.a,new mv(n)),r&&!sh(e.a,n)&&(o=F(q(t,(Hz(),R1)),79),o||(o=new Wf,G(t,R1,o)),a=new mv(n),pE(o,a,o.c.b,o.c),ES(e.a,a)))}function eet(e,t){var n,r,i,a=Gx(PM(PB,TC(Gx(PM(t==null?0:jk(t),FB)),15)));for(n=a&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==a&&sC(r.i,t))return i?i.a=r.a:e.b[n]=r.a,Qce(F(rC(r.c),594),F(rC(r.f),594)),Rd(F(rC(r.b),227),F(rC(r.e),227)),--e.f,++e.e,!0;return!1}function tet(e){for(var t,n=new iS(my(IM(e).a.Jc(),new f));eL(n);)if(t=F(OE(n),17),t.c.i.k!=(uL(),RX))throw O(new Yp(DU+XP(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 net(e,t){var n,r,i=t?new Zr:new Qr,a=!1,o,s,c,l,u,d,f;do for(a=!1,l=t?aN(e.b):e.b,c=l.Jc();c.Ob();)for(s=F(c.Pb(),25),f=mT(s.a),t||aN(f),d=new D(f);d.a=0;o+=i?1:-1){for(s=t[o],c=r==(Az(),p5)?i?kM(s,r):aN(kM(s,r)):i?aN(kM(s,r)):kM(s,r),a&&(e.c[s.p]=c.gc()),d=c.Jc();d.Ob();)u=F(d.Pb(),12),e.d[u.p]=l++;FA(n,c)}}function oet(e,t,n){var r,i,a=k(P(e.b.Jc().Pb())),o,s,c,l=k(P(VHe(t.b))),u;for(r=ry(Yv(e.a),l-n),i=ry(Yv(t.a),n-a),u=Tb(r,i),ry(u,1/(l-a)),this.a=u,this.b=new Sd,s=!0,o=e.b.Jc(),o.Pb();o.Ob();)c=k(P(o.Pb())),s&&c-n>pG&&(this.b.Ec(n),s=!1),this.b.Ec(c);s&&this.b.Ec(n)}function set(e){var t,n,r,i;if(knt(e,e.n),e.d.c.length>0){for(qp(e.c);P8e(e,F(B(new D(e.e.a)),124))>5,i,a,o;if(t&=31,r>=e.d)return e.e<0?(oR(),Zbt):(oR(),dY);if(a=e.d-r,i=H(q9,dV,30,a+1,15,1),n4e(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=gz((vI(),p9),i,t),!n||(r=n.Gk(),(r>1||r==-1)&&mC(RD(p9,n))!=3))):!1}function get(e,t,n,r){var i,a,o,s,c=e.c.d,l=e.d.d,u,d,f,p;if(c.j!=l.j)for(p=e.b,u=null,s=null,o=JJe(e),o&&p.i&&(u=e.b.i.i,s=p.i.j),i=c.j,d=null;i!=l.j;)d=t==0?vM(i):wKe(i),a=yYe(i,p.d[i.g],n),f=yYe(d,p.d[d.g],n),o&&u&&s&&(i==u?sqe(a,u,s):d==u&&sqe(f,u,s)),mx(r,Tb(a,f)),i=d}function _et(e,t,n){var r=ole(n,e.length),i,a,o=e[r],s,c;if(a=ale(n,o.length),o[a].k==(uL(),LX))for(c=t.j,i=0;i0&&(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),TFe(e,PY,a.c+i.b+n[0]-(n[1]-s)/2,n),t==PY&&(e.c.b=o,e.c.c=a.c+i.b+(o-s)/2)}function Aet(){this.c=H(Z9,IV,30,(Az(),W(A(P5,1),hU,64,0,[M5,m5,p5,j5,N5])).length,15,1),this.b=H(Z9,IV,30,W(A(P5,1),hU,64,0,[M5,m5,p5,j5,N5]).length,15,1),this.a=H(Z9,IV,30,W(A(P5,1),hU,64,0,[M5,m5,p5,j5,N5]).length,15,1),Ade(this.c,AV),Ade(this.b,jV),Ade(this.a,jV)}function jet(e,t,n,r){var i,a,o,s,c=t.i;for(s=n[c.g][e.d[c.g]],i=!1,o=new D(t.d);o.a=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||iL(e)}}function Met(e,t,n){var r,i,a,o,s,c,l=t.d;for(e.a=new oD(l.c.length),e.c=new Cd,s=new D(l);s.a=0?e.Ih(l,!1,!0):WI(e,n,!1),61));n:for(a=d.Jc();a.Ob();){for(i=F(a.Pb(),57),u=0;ue.d[o.p]&&(n+=WPe(e.b,a),UT(e.a,K(a)));for(;!Wp(e.a);)TRe(e.b,F(NS(e.a),15).a)}return n}function Het(e,t,n){var r,i,a=(!t.a&&(t.a=new I(p7,t,10,11)),t.a).i,o;for(i=new dy((!t.a&&(t.a=new I(p7,t,10,11)),t.a));i.e!=i.i.gc();)r=F(nP(i),26),(!r.a&&(r.a=new I(p7,r,10,11)),r.a).i==0||(a+=Het(e,r,!1));if(n)for(o=Bw(t);o;)a+=(!o.a&&(o.a=new I(p7,o,10,11)),o.a).i,o=Bw(o);return a}function VL(e,t){var n,r,i,a;return e.Nj()?(r=null,i=e.Oj(),e.Rj()&&(r=e.Tj(e.Yi(t),null)),n=e.Gj(4,a=nF(e,t),null,t,i),e.Kj()&&a!=null&&(r=e.Mj(a,r)),r?(r.lj(n),r.mj()):e.Hj(n),a):(a=nF(e,t),e.Kj()&&a!=null&&(r=e.Mj(a,null),r&&r.mj()),a)}function Uet(e){var t,n,i,a,o,s,c,l,u=e.a,d;for(t=new lf,l=0,i=new D(e.d);i.ac.d&&(d=c.d+c.a+u));n.c.d=d,t.a.yc(n,t),l=r.Math.max(l,n.c.d+n.c.a)}return l}function Wet(e,t,n){for(var r,i,a,o=F(q(e,(X(),l$)),16).Jc(),s,c;o.Ob();){switch(a=F(o.Pb(),9),F(q(a,(Hz(),z1)),165).g){case 2:Uw(a,t);break;case 4:Uw(a,n)}for(i=new iS(my(LM(a).a.Jc(),new f));eL(i);)r=F(OE(i),17),!(r.c&&r.d)&&(s=!r.d,c=F(q(r,vEt),12),s?Ww(r,c):Hw(r,c))}}function HL(){HL=C,DQ=new kg(`COMMENTS`,0),kQ=new kg(`EXTERNAL_PORTS`,1),AQ=new kg(`HYPEREDGES`,2),jQ=new kg(`HYPERNODES`,3),MQ=new kg(`NON_FREE_PORTS`,4),NQ=new kg(`NORTH_SOUTH_PORTS`,5),FQ=new kg(zpt,6),EQ=new kg(`CENTER_LABELS`,7),OQ=new kg(`END_LABELS`,8),PQ=new kg(`PARTITIONS`,9)}function Get(e,t,n,r,i){return r<0?(r=fI(e,i,W(A(aY,1),xB,2,6,[QB,$B,eV,tV,nV,rV,iV,aV,oV,sV,cV,lV]),t),r<0&&(r=fI(e,i,W(A(aY,1),xB,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,nV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0&&(n.k=r-1,!0)}function Ket(e,t,n,r,i){return r<0?(r=fI(e,i,W(A(aY,1),xB,2,6,[QB,$B,eV,tV,nV,rV,iV,aV,oV,sV,cV,lV]),t),r<0&&(r=fI(e,i,W(A(aY,1),xB,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,nV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0&&(n.k=r-1,!0)}function qet(e,t,n,r,i,a){var o,s=32,c,l;if(r<0){if(t[0]>=e.length||(s=_C(e,t[0]),s!=43&&s!=45)||(++t[0],r=zI(e,t),r<0))return!1;s==45&&(r=-r)}return s==32&&t[0]-n==2&&i.b==2&&(c=new Kh,l=c.q.getFullYear()-uV+uV-80,o=l%100,a.a=r==o,r+=(l/100|0)*100+(r=0?gN(e):PS(gN(jD(e)))),mY[t]=K_(aS(e,t),0)?gN(aS(e,t)):PS(gN(jD(aS(e,t)))),e=PM(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 ett(e){var t,n,r,i,a=new Hm(F(HS(new et),51)),o,s=jV;for(n=new D(e.d);n.augt?Vv(l,e.b):i<=ugt&&i>dgt?Vv(l,e.d):i<=dgt&&i>fgt?Vv(l,e.c):i<=fgt&&Vv(l,e.a),o=rtt(e,l,o);return a}function itt(e,t,n,r){var i=(r.c+r.a)/2,a,o,s,c,l;for(XC(t.j),mx(t.j,i),XC(n.e),mx(n.e,i),l=new fle,s=new D(e.f);s.a1,s&&(r=new j(i,n.b),mx(t.a,r)),ak(t.a,W(A(s6,1),xB,8,0,[f,d]))}function ltt(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&ZB;for(e=10;e<=15;e++)P9[e]=65+e-10&ZB}function ptt(e,t){t.Tg(`Process graph bounds`,1),G(e,(kz(),a4),$h(Jk(PC(new Px(null,new cT(e.b,16)),new Gi)))),G(e,o4,$h(Jk(PC(new Px(null,new cT(e.b,16)),new Ki)))),G(e,ZMt,$h(qk(PC(new Px(null,new cT(e.b,16)),new qi)))),G(e,QMt,$h(qk(PC(new Px(null,new cT(e.b,16)),new Zte)))),t.Ug()}function mtt(e){var t,n,i,a=F(q(e,(Hz(),t0)),22),o=F(q(e,i0),22);n=new j(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),t=new mv(n),a.Gc((CN(),I5))&&(i=F(q(e,r0),8),o.Gc((_R(),U5))&&(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)),Hp(rb(q(e,n0)))||zat(e,n,t)}function htt(e){for(var t=!1,n=0,r,i=new D(e.d.b),a,o,s;i.a>19)return`-`+_tt(ZA(e));for(n=e,r=``;n.l!=0||n.m!=0||n.h!=0;){if(i=DE(EV),n=pst(n,i,!0),t=``+Ble(qJ),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 vtt(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e=`__proto__`,t=Object.create(null);return!(t[e]!==void 0||Object.getOwnPropertyNames(t).length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function ytt(e,t,n){var r=n.c,i=n.d,a,o,s=dT(t.c),c=dT(t.d),l,u,d;for(r==t.c?(s=p7e(e,s,i),c=P0e(t.d)):(s=P0e(t.c),c=p7e(e,c,i)),l=new jm(t.a),pE(l,s,l.a,l.a.a),pE(l,c,l.c.b,l.c),o=t.c==r,d=new Sf,a=0;a=e.a||!V1e(t,n))return-1;if(VT(F(i.Kb(t),20)))return 1;for(a=0,s=F(i.Kb(t),20).Jc();s.Ob();)if(o=F(s.Pb(),17),l=o.c.i==t?o.d.i:o.c.i,c=xtt(e,l,n,i),c==-1||(a=r.Math.max(a,c),a>e.c-1))return-1;return a+1}function JL(){JL=C,p3=new Nv((Gz(),C6),1.3),bFt=new Nv(B6,(xy(),!1)),EFt=new Av(15),v3=new Nv(G6,EFt),y3=new Nv(l8,15),mFt=E6,yFt=z6,xFt=V6,SFt=H6,vFt=R6,g3=W6,DFt=e8,jFt=(fit(),lFt),AFt=cFt,b3=pFt,MFt=dFt,TFt=rFt,_3=nFt,wFt=tFt,kFt=oFt,gFt=P6,_Ft=F6,m3=QPt,hFt=ZPt,h3=$Pt,OFt=aFt,CFt=eFt}function Stt(e,t){var n,r,i,a,o,s;if(M(t)===M(e))return!0;if(!N(t,16)||(r=F(t,16),s=e.gc(),r.gc()!=s))return!1;if(o=r.Jc(),e.Wi()){for(n=0;n0){if(e.Zj(),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 um(`Invalid hexadecimal`))}}function Dtt(e,t,n,r){var i,a,o,s,c=bF(e,n),l=bF(t,n);for(i=!1;c&&l&&(r||TZe(c,l,n));)o=bF(c,n),s=bF(l,n),kD(t),kD(e),a=c.c,vz(c,!1),vz(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),Uw(c,null),Uw(l,null),c=o,l=s,i=!0;return i}function Ott(e){switch(e.g){case 0:return new eie;case 1:return new nie;case 3:return new ode;case 4:return new yte;case 5:return new Xve;case 6:return new tie;case 2:return new dc;case 7:return new sc;case 8:return new uc;default:throw O(new Rp(`No implementation is available for the layerer `+(e.f==null?``+e.g:e.f)))}}function ktt(e,t,n,r){for(var i=!1,a=!1,o,s=new D(r.j),c;s.a=t.length)throw O(new jp(`Greedy SwitchDecider: Free layer not in graph.`));this.c=t[e],this.e=new Mb(r),wk(this.e,this.c,(Az(),N5)),this.i=new Mb(r),wk(this.i,this.c,p5),this.f=new ewe(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(uL(),LX),this.a&&u4e(this,e,t.length)}function Ntt(e,t){var n,r,i,a=!e.B.Gc((_R(),V5)),o=e.B.Gc(mzt),s;e.a=new oJe(o,a,e.c),e.n&&lOe(e.a.n,e.n),Tp(e.g,(TO(),PY),e.a),t||(r=new HN(1,a,e.c),r.n.a=e.k,TS(e.p,(Az(),m5),r),i=new HN(1,a,e.c),i.n.d=e.k,TS(e.p,j5,i),s=new HN(0,a,e.c),s.n.c=e.k,TS(e.p,N5,s),n=new HN(0,a,e.c),n.n.b=e.k,TS(e.p,p5,n))}function Ptt(e){var t=F(q(e.d,(Hz(),k1)),222),n,r;switch(t.g){case 2:n=Iut(e);break;case 3:n=(r=new Sd,vh(MC(NC(tO(tO(new Px(null,new cT(e.d.b,16)),new Zee),new Qee),new $ee),new Sr),new Jae(r)),r);break;default:throw O(new zp(`Compaction not supported for `+t+` edges.`))}est(e,n),_E(new Dl(e.g),new ku(e))}function Ftt(e,t){var n,r,i,a,o,s,c;if(t.Tg(`Process directions`,1),n=F(q(e,(MR(),x4)),86),n!=(fM(),g8))for(i=$N(e.b,0);i.b!=i.d.c;){switch(r=F(HT(i),40),s=F(q(r,(kz(),y4)),15).a,c=F(q(r,b4),15).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,y4,K(s)),G(r,b4,K(c))}t.Ug()}function Itt(e){var t,n,r,i,a,o,s,c=new XPe;for(s=new D(e.a);s.a0&&t=0)return!1;if(t.p=n.b,iy(n.e,t),i==(uL(),zX)||i==HX){for(o=new D(t.j);o.ae.d[s.p]&&(n+=WPe(e.b,a),UT(e.a,K(a)))):++o;for(n+=e.b.d*o;!Wp(e.a);)TRe(e.b,F(NS(e.a),15).a)}return n}function ont(e){var t,n,r,i,a=0,o;return t=dF(e),t.ik()&&(a|=4),(e.Bb&Cq)!=0&&(a|=2),N(e,103)?(n=F(e,19),i=EP(n),(n.Bb&DK)!=0&&(a|=32),i&&(BS(Vw(i)),a|=8,o=i.t,(o>1||o==-1)&&(a|=16),(i.Bb&DK)!=0&&(a|=64)),(n.Bb&PV)!=0&&(a|=kK),a|=bq):N(t,459)?a|=512:(r=t.ik(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function snt(e,t){var n;return e.f==hVt?(n=mC(RD((vI(),p9),t)),e.e?n==4&&t!=(KI(),_9)&&t!=(KI(),g9)&&t!=(KI(),gVt)&&t!=(KI(),_Vt):n==2):e.d&&(e.d.Gc(t)||e.d.Gc(pT(RD((vI(),p9),t)))||e.d.Gc(gz((vI(),p9),e.b,t)))?!0:e.f&&e9e((vI(),e.f),kC(RD(p9,t)))?(n=mC(RD(p9,t)),e.e?n==4:n==2):!1}function cnt(e,t){var n,r,i,a=new Sd,o,s,c,l;for(t.b.c.length=0,n=F(dE(UAe(new Px(null,new cT(new Dl(e.a.b),1))),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),16),i=n.Jc();i.Ob();)if(r=F(i.Pb(),15),o=gNe(e.a,r),o.b!=0)for(s=new YS(t),Fd(a.c,s),s.p=r.a,l=$N(o,0);l.b!=l.d.c;)c=F(HT(l),9),Uw(c,s);FA(t.b,a)}function tR(e){var t,n,r,i,a,o,s=new Cd;for(r=new D(e.a.b);r.aDG&&(a-=DG),c=F(Y(i,n8),8),u=c.a,f=c.b+e,o=r.Math.atan2(f,u),o<0&&(o+=DG),o+=t,o>DG&&(o-=DG),Fv(),$O(1e-10),r.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:ao?1:yb(isNaN(a),isNaN(o))}function fnt(e,t,n,i){var a,o,s;t&&(o=k(P(q(t,(kz(),g4))))+i,s=n+k(P(q(t,u4)))/2,G(t,y4,K(Gx(uA(r.Math.round(o))))),G(t,b4,K(Gx(uA(r.Math.round(s))))),t.d.b==0||fnt(e,F(Zv((a=$N(new Bu(t).a.d,0),new Vu(a))),40),n+k(P(q(t,u4)))+e.b,i+k(P(q(t,p4)))),q(t,_4)!=null&&fnt(e,F(q(t,_4),40),n,i))}function pnt(e,t){var n,r,i,a=F(Y(e,(Gz(),t8)),64).g-F(Y(t,t8),64).g;if(a!=0)return a;if(n=F(Y(e,Q6),15),r=F(Y(t,Q6),15),n&&r&&(i=n.a-r.a,i!=0))return i;switch(F(Y(e,t8),64).g){case 1:return dM(e.i,t.i);case 2:return dM(e.j,t.j);case 3:return dM(t.i,e.i);case 4:return dM(t.j,e.j);default:throw O(new zp(ypt))}}function mnt(e){var t,n,r;return e.Db&64?oI(e):(t=new vy(N_t),n=e.k,n?Q_(Q_((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new I(f7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new I(f7,e,1,7)),F(U(e.n,0),157)).a,!r||Q_(Q_((t.a+=` "`,t),r),`"`))),Q_(zm(Q_(zm(Q_(zm(Q_(zm((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function hnt(e){var t,n,r;return e.Db&64?oI(e):(t=new vy(P_t),n=e.k,n?Q_(Q_((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new I(f7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new I(f7,e,1,7)),F(U(e.n,0),157)).a,!r||Q_(Q_((t.a+=` "`,t),r),`"`))),Q_(zm(Q_(zm(Q_(zm(Q_(zm((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function gnt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p=-1,m=0;for(u=t,d=0,f=u.length;d0&&++m;++p}return m}function _nt(e,t){var n,r,i,a,o;for(t==(Cj(),v2)&&wI(F(ME(e.a,(MF(),kZ)),16)),i=F(ME(e.a,(MF(),kZ)),16).Jc();i.Ob();)switch(r=F(i.Pb(),107),n=F(jx(r.j,0),113).d.j,a=new zb(r.j),Vv(a,new ite),t.g){case 2:zF(e,a,n,(kk(),PZ),1);break;case 1:case 0:o=L7e(a),zF(e,new sT(a,0,o),n,(kk(),PZ),0),zF(e,new sT(a,o,a.c.length),n,PZ,1)}}function vnt(e){var t,n,r,i=F(q(e,(X(),p$)),9),a,o,s;for(r=e.j,n=(lT(0,r.c.length),F(r.c[0],12)),o=new D(i.j);o.ai.p?(jI(a,j5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=s-t)):a.j==j5&&i.p>e.p&&(jI(a,m5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=-(s-t)));break}return i}function ynt(e,t){var n,r,i,a,o,s,c;if(t==null||t.length==0)return null;if(i=F(Tw(e.a,t),144),!i){for(r=(s=new jl(e.b).a.vc().Jc(),new Ml(s));r.a.Ob();)if(n=(a=F(r.a.Pb(),45),F(a.kd(),144)),o=n.c,c=t.length,jb(o.substr(o.length-c,c),t)&&(t.length==o.length||_C(o,o.length-t.length-1)==46)){if(i)return null;i=n}i&&Kw(e.a,t,i)}return i}function rR(e,t,n){for(var r,i,a=new j(t,n),o,s,c,l,u=new D(e.a),d,f;u.a1,s&&(r=new j(i,n.b),mx(t.a,r)),ak(t.a,W(A(s6,1),xB,8,0,[f,d]))}function cR(){cR=C,s2=new Fg(pU,0),a2=new Fg(`NIKOLOV`,1),o2=new Fg(`NIKOLOV_PIXEL`,2),XAt=new Fg(`NIKOLOV_IMPROVED`,3),ZAt=new Fg(`NIKOLOV_IMPROVED_PIXEL`,4),YAt=new Fg(`DUMMYNODE_PERCENTAGE`,5),QAt=new Fg(`NODECOUNT_PERCENTAGE`,6),c2=new Fg(`NO_BOUNDARY`,7),r2=new Fg(`MODEL_ORDER_LEFT_TO_RIGHT`,8),i2=new Fg(`MODEL_ORDER_RIGHT_TO_LEFT`,9)}function lR(e,t){var n,r,i,a,o,s,c,l,u=null,d,f=e5e(e,t),p;return r=null,s=F(Y(t,(Gz(),PLt)),300),r=s||(NO(),F5),p=r,p==(NO(),F5)&&(i=null,l=F(JS(e.r,f),300),i=l||lzt,p=i),vC(e.r,t,p),a=null,c=F(Y(t,MLt),278),a=c||(Wj(),C8),d=a,d==(Wj(),C8)&&(o=null,n=F(JS(e.b,f),278),o=n||S8,d=o),u=F(vC(e.b,t,d),278),u}function Rnt(e){var t,n,r=e.length,i,a;for(t=new sm,a=0;a=40,o&&Oit(e),wot(e),set(e),n=_Ke(e),r=0;n&&r0&&mx(e.g,a)):(e.d[o]-=l+1,e.d[o]<=0&&e.a[o]>0&&mx(e.f,a))))}function drt(e,t,n,r){var i,a,o,s,c=new j(n,r),l,u;for(Eb(c,F(q(t,(kz(),t4)),8)),u=$N(t.b,0);u.b!=u.d.c;)l=F(HT(u),40),Tb(l.e,c),mx(e.b,l);for(s=F(dE(pAe(new Px(null,new cT(t.a,16))),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),16).Jc();s.Ob();){for(o=F(s.Pb(),65),a=$N(o.a,0);a.b!=a.d.c;)i=F(HT(a),8),i.a+=c.a,i.b+=c.b;mx(e.a,o)}}function frt(e,t){var n,r,i,a;if(0<(N(e,18)?F(e,18).gc():KT(e.Jc()))){if(i=t,1=0&&c1)&&t==1&&F(e.a[e.b],9).k==(uL(),RX)?UR(F(e.a[e.b],9),(iF(),I8)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&F(e.a[e.c-1&e.a.length-1],9).k==(uL(),RX)?UR(F(e.a[e.c-1&e.a.length-1],9),(iF(),L8)):(e.c-e.b&e.a.length-1)==2?(UR(F(QA(e),9),(iF(),I8)),UR(F(QA(e),9),L8)):L5e(e,i),VPe(e)}function _rt(e){var t,n,i,a,o,s,c,l=new Cd;for(t=new ff,s=e.Jc();s.Ob();)a=F(s.Pb(),9),c=Cy(Th(new hf,a),t),EI(l.f,a,c);for(o=e.Jc();o.Ob();)for(a=F(o.Pb(),9),i=new iS(my(RM(a).a.Jc(),new f));eL(i);)n=F(OE(i),17),!CE(n)&&ML(Ch(Sh(xh(wh(new mf,r.Math.max(1,F(q(n,(Hz(),vAt)),15).a)),1),F(JS(l,n.c.i),124)),F(JS(l,n.d.i),124)));return t}function vrt(e,t,n,r){var i,a,o,s,c,l,u,d,f,p;if(Cze(e,t,n),a=t[n],p=r?(Az(),N5):(Az(),p5),Yhe(t.length,n,r)){for(i=t[r?n-1:n+1],QFe(e,i,r?(rk(),h2):(rk(),m2)),c=a,u=0,f=c.length;ua*2?(u=new wO(d),l=Wx(o)/Ux(o),c=Fz(u,t,new Rf,n,r,i,l),Tb(cv(u.e),c),d.c.length=0,a=0,Fd(d.c,u),Fd(d.c,o),a=Wx(u)*Ux(u)+Wx(o)*Ux(o)):(Fd(d.c,o),a+=Wx(o)*Ux(o));return d}function brt(e,t){var n,r,i,a,o,s,c;for(t.Tg(`Port order processing`,1),c=F(q(e,(Hz(),gAt)),421),r=new D(e.b);r.an?t:n;l<=d;++l)l==n?s=r++:(a=i[l],u=m.$l(a.Jk()),l==t&&(c=l==d&&!u?r-1:r),u&&++r);return f=F(yM(e,t,n),75),s!=c&&af(e,new mD(e.e,7,o,K(s),p.kd(),c)),f}}else return F(VI(e,t,n),75);return F(yM(e,t,n),75)}function Srt(e,t){var n,r,i,a,o,s,c,l,u,d=0;for(a=new Qv,UT(a,t);a.b!=a.c;)for(c=F(NS(a),218),l=0,u=F(q(t.j,(Hz(),h1)),269),F(q(t.j,l1),329),o=k(P(q(t.j,o1))),s=k(P(q(t.j,s1))),u!=(AN(),l2)&&(l+=o*X5e(t.j,c.e,u),l+=s*gnt(t.j,c.e)),d+=jZe(c.d,c.e)+l,i=new D(c.b);i.a=0&&(s=WZe(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&&tj(c),a&&(r?(qJ=ZA(e),i&&(qJ=iUe(qJ,(aO(),kbt)))):qJ=Wv(e.l,e.m,e.h)),c}function Trt(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&&(uT(0,e.length),e.charCodeAt(0)==45||(uT(0,e.length),e.charCodeAt(0)==43))),r=o;rn)throw O(new um(kV+e+`"`));return s}function Ert(e){var t,n,i,a,o,s=new uh,c;for(o=new D(e.a);o.a=e.length)return n.o=0,!0;switch(_C(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=zI(e,t),o==0&&t[0]==a)return!1;if(t[0]s&&(s=i,u.c.length=0),i==s&&iy(u,new M_(n.c.i,n)));qC(),Vv(u,e.c),qx(e.b,c.p,u)}}function Nrt(e,t){for(var n,r,i,a,o=new D(t.b),s,c,l,u;o.as&&(s=i,u.c.length=0),i==s&&iy(u,new M_(n.d.i,n)));qC(),Vv(u,e.c),qx(e.f,c.p,u)}}function Prt(e){var t,n,r,i,a=Fw(e),o,s;for(i=new dy((!e.e&&(e.e=new kb(i7,e,7,4)),e.e));i.e!=i.i.gc();)if(r=F(nP(i),85),s=RF(F(U((!r.c&&(r.c=new kb(r7,r,5,8)),r.c),0),84)),!yO(s,a))return!0;for(n=new dy((!e.d&&(e.d=new kb(i7,e,8,5)),e.d));n.e!=n.i.gc();)if(t=F(nP(n),85),o=RF(F(U((!t.b&&(t.b=new kb(r7,t,4,7)),t.b),0),84)),!yO(o,a))return!0;return!1}function Frt(e){var t,n,r=F(q(e,(X(),w$)),26),i,a=F(Y(r,(Hz(),t0)),182).Gc((CN(),z5));e.e||(i=F(q(e,c$),22),t=new j(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Gc((HL(),kQ))?(uP(r,l0,(PF(),t5)),jz(r,t.a,t.b,!1,!0)):Hp(rb(Y(r,n0)))||jz(r,t.a,t.b,!0,!0)),a?uP(r,t0,VM(z5)):uP(r,t0,(n=F(Fm(B5),10),new Bb(n,F(bb(n,n.length),10),0)))}function Irt(e,t){var n,r,i,a,o,s,c,l=rb(q(t,(MR(),ONt)));if(l==null||(pC(l),l)){for(n8e(e,t),i=new Sd,c=$N(t.b,0);c.b!=c.d.c;)o=F(HT(c),40),n=M4e(e,o,null),n&&(vA(n,t),Fd(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 hS(e,1,s,o,null),r?r.lj(a):r=a),n>=0&&(a=new hS(e,1,n,s==n?o:null,t),r?r.lj(a):r=a)),r}function Brt(e){var t,n,r;if(e.b==null){if(r=new om,e.i!=null&&(Y_(r,e.i),r.a+=`:`),e.f&256){for(e.f&256&&e.a!=null&&(IDe(e.i)||(r.a+=`//`),Y_(r,e.a)),e.d!=null&&(r.a+=`/`,Y_(r,e.d)),e.f&16&&(r.a+=`/`),t=0,n=e.j.length;tf?!1:(d=(c=KR(r,f,!1),c.a),u+s+d<=t.b&&(hD(n,a-n.s),n.c=!0,hD(r,a-n.s),xP(r,n.s,n.t+n.d+s),r.k=!0,XVe(n.q,r),p=!0,i&&(ck(t,r),r.j=t,e.c.length>o&&(uF((lT(o,e.c.length),F(e.c[o],186)),r),(lT(o,e.c.length),F(e.c[o],186)).a.c.length==0&&LE(e,o)))),p)}function Krt(e,t){var n,r,i,a,o,s;if(t.Tg(`Partition midprocessing`,1),i=new xw,vh(MC(new Px(null,new cT(e.a,16)),new Hn),new Rae(i)),i.d!=0){for(s=F(dE(UAe((a=i.i,new Px(null,(a||(i.i=new fy(i,i.c))).Lc()))),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),16),r=s.Jc(),n=F(r.Pb(),15);r.Ob();)o=F(r.Pb(),15),I7e(F(ME(i,n),22),F(ME(i,o),22)),n=o;t.Ug()}}function CR(e,t){var n,r,i,a,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(i=F(e.Ab.g,1998),t==null){for(a=0;an.s&&cc+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 $rt(e,t,n){var r,i,a,o,s,c,l,u;for(n.Tg(Nht,1),OS(e.b),OS(e.a),s=null,a=$N(t.b,0);!s&&a.b!=a.d.c;)l=F(HT(a),40),Hp(rb(q(l,(kz(),v4))))&&(s=l);for(c=new uh,pE(c,s,c.c.b,c.c),zlt(e,c),u=$N(t.b,0);u.b!=u.d.c;)l=F(HT(u),40),o=ib(q(l,(kz(),s4))),i=Tw(e.b,o)==null?0:F(Tw(e.b,o),15).a,G(l,i4,K(i)),r=1+(Tw(e.a,o)==null?0:F(Tw(e.a,o),15).a),G(l,XMt,K(r));n.Ug()}function eit(e){Fh(e,new BF(vm(mm(_m(gm(new za,uK),`ELK Box`),`Algorithm for packing of unconnected boxes, i.e. graphs without edges.`),new Hne))),V(e,uK,UH,fLt),V(e,uK,RH,15),V(e,uK,LH,K(0)),V(e,uK,Ggt,tP(oLt)),V(e,uK,XH,tP(cLt)),V(e,uK,YH,tP(uLt)),V(e,uK,BH,Wgt),V(e,uK,WH,tP(sLt)),V(e,uK,aU,tP(lLt)),V(e,uK,Kgt,tP(m6)),V(e,uK,XW,tP(aLt))}function tit(e,t){var n,r,i=e.i,a,o=i.o.a,s,c,l,u;if(a=i.o.b,o<=0&&a<=0)return Az(),M5;switch(l=e.n.a,u=e.n.b,s=e.o.a,n=e.o.b,t.g){case 2:case 1:if(l<0)return Az(),N5;if(l+s>o)return Az(),p5;break;case 4:case 3:if(u<0)return Az(),m5;if(u+n>a)return Az(),j5}return c=(l+s/2)/o,r=(u+n/2)/a,c+r<=1&&c-r<=0?(Az(),N5):c+r>=1&&c-r>=0?(Az(),p5):r<.5?(Az(),m5):(Az(),j5)}function nit(e,t,n,r,i,a,o){var s,c,l,u,d,f=new gv;for(l=t.Jc();l.Ob();)for(s=F(l.Pb(),838),d=new D(s.Pf());d.a0?c.a?(u=c.b.Kf().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(jx(c.c.d,0),187).Kf().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:kS(e.u)&&(o=v0e(c.b),o.d<0&&(c.d.d=-o.d),o.d+o.a>c.b.Kf().b&&(c.d.a=o.d+o.a-c.b.Kf().b))}function TR(){TR=C,rX=new Nv((Gz(),r8),K(1)),aX=new Nv(l8,80),ZSt=new Nv(sRt,5),FSt=new Nv(C6,FH),JSt=new Nv(i8,K(1)),XSt=new Nv(o8,(xy(),!0)),GSt=new Av(50),WSt=new Nv(G6,GSt),LSt=P6,KSt=Z6,ISt=new Nv(k6,!1),USt=W6,VSt=B6,HSt=H6,BSt=z6,zSt=R6,qSt=e8,RSt=(M2e(),ESt),oX=jSt,nX=TSt,iX=OSt,YSt=ASt,eCt=f8,nCt=m8,$St=d8,QSt=u8,tCt=(pM(),Y5),new Nv(p8,tCt)}function ait(e,t){var n;switch(sO(e)){case 6:return z_(t);case 7:return R_(t);case 8:return L_(t);case 3:return Array.isArray(t)&&(n=sO(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===tB;case 12:return t!=null&&(typeof t===Qz||typeof t==tB);case 0:return mP(t,e.__elementTypeId$);case 2:return kTe(t)&&t.Rm!==ne;case 1:return kTe(t)&&t.Rm!==ne||mP(t,e.__elementTypeId$);default:return!0}}function oit(e){var t,n,i=e.o,a;mb(),e.A.dc()||nM(e.A,_St)?a=i.a:(a=e.D?r.Math.max(i.a,II(e.f)):II(e.f),e.A.Gc((CN(),L5))&&!e.B.Gc((_R(),G5))&&(a=r.Math.max(a,II(F(bC(e.p,(Az(),m5)),253))),a=r.Math.max(a,II(F(bC(e.p,j5),253)))),t=lHe(e),t&&(a=r.Math.max(a,t.a))),i.a=Hp(rb(e.e.Rf().mf((Gz(),B6))))?r.Math.max(i.a,a):a,n=e.f.i,n.c=0,n.b=a,NR(e.f)}function sit(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 cit(e,t){var n,r,i,a=0,o,s=0,c=0;for(i=new D(e.f.e);i.a0&&e.d!=(VD(),mX)&&(s+=o*(r.d.a+e.a[t.a][r.a]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(VD(),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 lit(e){var t,n=(!e.a&&(e.a=new sy(e7,e,5)),e.a).i+2,r,i,a,o=new oD(n);for(iy(o,new j(e.j,e.k)),vh(new Px(null,(!e.a&&(e.a=new sy(e7,e,5)),new cT(e.a,16))),new Yoe(o)),iy(o,new j(e.b,e.c)),t=1;t0&&(YA(c,!1,(fM(),_8)),YA(c,!0,v8)),SO(t.g,new sfe(e,n)),vC(e.g,t,n)}function fit(){fit=C,aFt=new rv(mgt,(xy(),!1)),K(-1),ZPt=new rv(hgt,K(-1)),K(-1),QPt=new rv(ggt,K(-1)),$Pt=new rv(_gt,!1),eFt=new rv(vgt,!1),fFt=(xE(),x3),dFt=new rv(ygt,fFt),pFt=new rv(bgt,-1),uFt=(HM(),f3),lFt=new rv(xgt,uFt),cFt=new rv(Sgt,!0),iFt=(DD(),S3),rFt=new rv(Cgt,iFt),nFt=new rv(wgt,!1),K(1),tFt=new rv(Tgt,K(1)),sFt=(hM(),C3),oFt=new rv(Egt,sFt)}function pit(){pit=C;var e;for(Rbt=W(A(q9,1),dV,30,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]),rY=H(q9,dV,30,37,15,1),zbt=W(A(q9,1),dV,30,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]),Bbt=H(Y9,fft,30,37,14,1),e=2;e<=36;e++)rY[e]=Ew(r.Math.pow(e,Rbt[e])),Bbt[e]=yF(EB,rY[e])}function mit(e){var t;if((!e.a&&(e.a=new I(a7,e,6,6)),e.a).i!=1)throw O(new Rp(C_t+(!e.a&&(e.a=new I(a7,e,6,6)),e.a).i));return t=new Wf,RA(F(U((!e.b&&(e.b=new kb(r7,e,4,7)),e.b),0),84))&&zk(t,rdt(e,RA(F(U((!e.b&&(e.b=new kb(r7,e,4,7)),e.b),0),84)),!1)),RA(F(U((!e.c&&(e.c=new kb(r7,e,5,8)),e.c),0),84))&&zk(t,rdt(e,RA(F(U((!e.c&&(e.c=new kb(r7,e,5,8)),e.c),0),84)),!0)),t}function hit(e,t){var n,r,i=t.d?e.a.c==(Cw(),L2)?IM(t.b):RM(t.b):e.a.c==(Cw(),I2)?IM(t.b):RM(t.b),a=!1,o;for(r=new iS(my(i.a.Jc(),new f));eL(r);)if(n=F(OE(r),17),o=Hp(e.a.f[e.a.g[t.b.p].p]),(o||CE(n)||n.c.i.c!=n.d.i.c)&&!(Hp(e.a.n[e.a.g[t.b.p].p])||Hp(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,sh(e.b,e.a.g[dZe(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function git(e,t,n){var r=n.gc(),i,a,o,s,c,l;if(r==0)return!1;if(e.Nj()){if(c=e.Oj(),Rqe(e,t,n),o=r==1?e.Gj(3,null,n.Jc().Pb(),t,c):e.Gj(5,null,n,t,c),e.Kj()){for(s=r<100?null:new Mm(r),a=t+r,i=t;i0){for(s=0;s>16==-15&&e.Cb.Vh()&&AD(new pD(e.Cb,9,13,n,e.c,yP(BD(F(e.Cb,62)),e))):N(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(t=e.c,N(t,88)||(t=(Yz(),t9)),N(n,88)||(n=(Yz(),t9)),AD(new pD(e.Cb,9,10,n,t,yP(tE(F(e.Cb,29)),e)))))),e.c}function wit(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m;if(t==n)return!0;if(t=N8e(e,t),n=N8e(e,n),r=NP(t),r){if(u=NP(n),u!=r)return u?(c=r.kk(),m=u.kk(),c==m&&c!=null):!1;if(o=(!t.d&&(t.d=new sy(z7,t,1)),t.d),a=o.i,f=(!n.d&&(n.d=new sy(z7,n,1)),n.d),a==f.i){for(l=0;l0,s=YM(t,a),Jge(n?s.b:s.g,t),jj(s).c.length==1&&pE(r,s,r.c.b,r.c),i=new M_(a,t),UT(e.o,i),ND(e.e.a,a))}function kit(e,t){var n,i=r.Math.abs(bS(e.b).a-bS(t.b).a),a,o,s,c=r.Math.abs(bS(e.b).b-bS(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 Ait(e){var t,n,r,i;for(Oz(e,e.e,e.f,(Sw(),W2),!0,e.c,e.i),Oz(e,e.e,e.f,W2,!1,e.c,e.i),Oz(e,e.e,e.f,G2,!0,e.c,e.i),Oz(e,e.e,e.f,G2,!1,e.c,e.i),Cit(e,e.c,e.e,e.f,e.i),r=new OT(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&ZB;for(o=26,c=0;o<=51;++o,c++)M9[o]=97+c&ZB;for(e=52,s=0;e<=61;++e,s++)M9[e]=48+s&ZB;M9[62]=43,M9[63]=47}function Mit(e,t){var n,i,a=_Ve(e),o,s,c=_Ve(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)*pft)+1)-(t.d>0?t.d:r.Math.floor((t.a-1)*pft)+1),n>i+1?a:n0&&(s=qT(s,Dat(i))),PJe(o,s))):au&&(p=0,m+=l+t,l=0),rR(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 Iit(e,t){var n,r,i,a,o,s,c;if(!Fw(e))throw O(new zp(S_t));if(r=Fw(e),a=r.g,i=r.f,a<=0&&i<=0)return Az(),M5;switch(s=e.i,c=e.j,t.g){case 2:case 1:if(s<0)return Az(),N5;if(s+e.g>a)return Az(),p5;break;case 4:case 3:if(c<0)return Az(),m5;if(c+e.f>i)return Az(),j5}return o=(s+e.g/2)/a,n=(c+e.f/2)/i,o+n<=1&&o-n<=0?(Az(),N5):o+n>=1&&o-n>=0?(Az(),p5):n<.5?(Az(),m5):(Az(),j5)}function Lit(e,t,n,r,i){var a=NM(gT(t[0],RV),gT(r[0],RV)),o;if(e[0]=Gx(a),a=oS(a,32),n>=i){for(o=1;o0&&(i.b[o++]=0,i.b[o++]=a.b[0]-1),t=1;t0&&(ll(c,c.d-i.d),i.c==(GE(),H2)&&cl(c,c.a-i.d),c.d<=0&&c.i>0&&pE(t,c,t.c.b,t.c)));for(a=new D(e.f);a.a0&&(ul(s,s.i-i.d),i.c==(GE(),H2)&&Vie(s,s.b-i.d),s.i<=0&&s.d>0&&pE(n,s,n.c.b,n.c)))}function Vit(e,t,n,r,i){var a,o,s,c,l,u,d,f,p;for(qC(),Vv(e,new Jne),o=ix(e),p=new Sd,f=new Sd,s=null,c=0;o.b!=0;)a=F(o.b==0?null:(qy(o.b!=0),bO(o,o.a.a)),167),!s||Wx(s)*Ux(s)/21&&(c>Wx(s)*Ux(s)/2||o.b==0)&&(d=new wO(f),u=Wx(s)/Ux(s),l=Fz(d,t,new Rf,n,r,i,u),Tb(cv(d.e),l),s=d,Fd(p.c,d),c=0,f.c.length=0));return FA(p,f),p}function AR(e,t,n,r,i){ph();var a,o,s,c,l,u,d;if(RTe(e,`src`),RTe(n,`dest`),d=vj(e),c=vj(n),zSe(!!(d.i&4),`srcType is not an array`),zSe(!!(c.i&4),`destType is not an array`),u=d.c,o=c.c,zSe(u.i&1?u==o:!(o.i&1),`Array types don't match`),zUe(e,t,n,r,i),!(u.i&1)&&d!=c){if(l=MO(e),a=MO(n),M(e)===M(n)&&tr;)qS(a,s,l[--t]);else for(s=r+i;r0),r.a.Xb(r.c=--r.b),d>f+c&&uC(r);for(o=new D(p);o.a0),r.a.Xb(r.c=--r.b)}}function Wit(){qz();var e,t,n,r,i,a;if(KVt)return KVt;for(e=(++W9,new yT(4)),tz(e,Nz(CJ,!0)),bz(e,Nz(`M`,!0)),bz(e,Nz(`C`,!0)),a=(++W9,new yT(4)),r=0;r<11;r++)zL(a,r,r);return t=(++W9,new yT(4)),tz(t,Nz(`M`,!0)),zL(t,4448,4607),zL(t,65438,65439),i=(++W9,new Rv(2)),dz(i,e),dz(i,V9),n=(++W9,new Rv(2)),n.Hm(Rx(a,Nz(`L`,!0))),n.Hm(t),n=(++W9,new $T(3,n)),n=(++W9,new KTe(i,n)),KVt=n,KVt}function jR(e,t){var n=new RegExp(t,`g`),r,i,a,o,s,c=H(aY,xB,2,0,6,1),l;for(r=0,l=e,a=null;;){if(s=n.exec(l),s==null||l==``){c[r]=l;break}o=s.index,c[r]=(rD(0,o,l.length),l.substr(0,o)),l=fw(l,o+s[0].length,l.length),n.lastIndex=0,a==l&&(c[r]=(rD(0,1,l.length),l.substr(0,1)),l=(uT(1,l.length+1),l.substr(1))),a=l,++r}if(e.length>0){for(i=c.length;i>0&&c[i-1]==``;)--i;id&&(d=l),lu&&(u=d),m=(r.Math.log(u)-r.Math.log(1))/t,o=r.Math.exp(m),a=o,s=0;s0&&(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),Xx(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=$N(i,0);r.b!=r.d.c;)for(n=F(HT(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),Zx(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;l=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(o=F(jx(t.n,t.n.c.length-1),208),o.e+o.d+n.g+i<=r&&(a=F(jx(t.n,t.n.c.length-1),208),a.f-e.f+n.f<=e.b||e.a.c.length==1))return qKe(t,n),!0;if(t.s+n.g<=r&&t.t+t.d+n.f+i<=e.f+e.b)return iy(t.b,n),s=F(jx(t.n,t.n.c.length-1),208),iy(t.n,new jw(t.s,s.f+s.a+t.i,t.i)),XXe(F(jx(t.n,t.n.c.length-1),208),n),Xit(t,n),!0}return!1}function IR(e,t,n,r){var i,a,o,s,c=PL(e.e.Ah(),t);if(i=F(e.g,122),Wh(),F(t,69).vk()){for(o=0;o0||JM(a.b.d,e.b.d+e.b.a)==0&&i.b<0||JM(a.b.d+a.b.a,e.b.d)==0&&i.b>0){c=0;break}}else c=r.Math.min(c,N3e(e,a,i));c=r.Math.min(c,tat(e,o,c,i))}return c}function nat(e,t){var n,r,i,a,o,s,c;if(e.b<2)throw O(new Rp(`The vector chain must contain at least a source and a target point.`));for(i=(qy(e.b!=0),F(e.a.a.c,8)),Ev(t,i.a,i.b),c=new Py((!t.a&&(t.a=new sy(e7,t,5)),t.a)),o=$N(e,1);o.a=0&&a!=n))throw O(new Rp(nq));for(i=0,c=0;ck(ey(o.g,o.d[0]).a)?(qy(c.b>0),c.a.Xb(c.c=--c.b),vb(c,o),i=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Sd),s.e).Kc(t),l=(!s.e&&(s.e=new Sd),s.e).Kc(n),(a||l)&&((!s.e&&(s.e=new Sd),s.e).Ec(o),++o.c));i||Fd(r.c,o)}function oat(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(Y(t,(Gz(),n8)),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(Y(n,n8),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`+fw(n,n.length-2,n.length)):e>=PV?(n=(t=e>>>0,`0`+t.toString(16)),r=`\\v`+fw(n,n.length-6,n.length)):r=``+String.fromCharCode(e&ZB)}return r}function hat(e,t){for(var n,r,i,a=new D(e.b),o,s,c,l,u;a.an)t.Ug();else{switch(F(q(e,(Hz(),I0)),350).g){case 2:a=new ii;break;case 0:a=new Jr;break;default:a=new ai}if(r=a.mg(e,i),!a.ng())switch(F(q(e,R0),351).g){case 2:r=L3e(i,r);break;case 1:r=x1e(i,r)}Fot(e,i,r),t.Ug()}}function zR(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 yat(e,t){var n,r,i,a;if(FAe(e.d,e.e),e.c.a.$b(),k(P(q(t.j,(Hz(),o1))))!=0||k(P(q(t.j,o1)))!=0)for(n=oG,M(q(t.j,h1))!==M((AN(),l2))&&G(t.j,(X(),s$),(xy(),!0)),a=F(q(t.j,P0),15).a,i=0;ii&&++l,iy(o,(lT(s+l,t.c.length),F(t.c[s+l],15))),c+=(lT(s+l,t.c.length),F(t.c[s+l],15)).a-r,++n;n=_&&e.e[l.p]>h*e.b||b>=n*_)&&(Fd(p.c,c),c=new Sd,zk(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 M_(m,p)}function BR(e){var t,n,r,i,a,o,s;if(!e.d){if(s=new Do,t=l9,a=t.a.yc(e,t),a==null){for(r=new dy(hw(e));r.e!=r.i.gc();)n=F(nP(r),29),VS(s,BR(n));t.a.Ac(e),t.a.gc()}for(o=s.i,i=(!e.q&&(e.q=new I(B7,e,11,10)),new dy(e.q));i.e!=i.i.gc();++o)F(nP(i),403);VS(s,(!e.q&&(e.q=new I(B7,e,11,10)),e.q)),Aj(s),e.d=new av((F(U(z((zS(),K7).o),9),19),s.i),s.g),e.e=F(s.g,678),e.e??=WBt,wE(e).b&=-17}return e.d}function VR(e,t,n,r){var i,a,o,s,c,l=PL(e.e.Ah(),t);if(c=0,i=F(e.g,122),Wh(),F(t,69).vk()){for(o=0;o1||m==-1){if(d=F(h,72),f=F(u,72),d.dc())f.$b();else for(o=!!EP(t),a=0,s=e.a?d.Jc():d.Gi();s.Ob();)l=F(s.Pb(),57),i=F($D(e,l),57),i?(o?(c=f.bd(i),c==-1?f.Ei(a,i):a!=c&&f.Si(a,i)):f.Ei(a,i),++a):e.b&&!o&&(f.Ei(a,l),++a)}else h==null?u.Wb(null):(i=$D(e,h),i==null?e.b&&!EP(t)&&u.Wb(h):u.Wb(i))}}function wat(e,t){for(var n=new un,i,a=new iS(my(IM(t).a.Jc(),new f)),o,s,c,l,u;eL(a);)if(i=F(OE(a),17),!CE(i)&&(c=i.c.i,V1e(c,JX))){if(u=xtt(e,c,JX,qX),u==-1)continue;n.b=r.Math.max(n.b,u),!n.a&&(n.a=new Sd),iy(n.a,c)}for(s=new iS(my(RM(t).a.Jc(),new f));eL(s);)if(o=F(OE(s),17),!CE(o)&&(l=o.d.i,V1e(l,qX))){if(u=xtt(e,l,qX,JX),u==-1)continue;n.d=r.Math.max(n.d,u),!n.c&&(n.c=new Sd),iy(n.c,l)}return n}function Tat(e,t,n,r){var i,a,o,s,c,l,u;if(n.d.i!=t.i){for(i=new kP(e),il(i,(uL(),zX)),G(i,(X(),w$),n),G(i,(Hz(),l0),(PF(),t5)),Fd(r.c,i),o=new sI,Gw(o,i),jI(o,(Az(),N5)),s=new sI,Gw(s,i),jI(s,p5),u=n.d,Ww(n,o),a=new cw,vA(a,n),G(a,R1,null),Hw(a,s),Ww(a,u),l=new OT(n.b,0);l.b1e6)throw O(new Ap(`power of ten too big`));if(e<=nB)return kE(GI(pY[1],t),t);for(r=GI(pY[1],nB),i=r,n=uA(e-nB),t=Ew(e%nB);Bj(n,nB)>0;)i=qT(i,r),n=FM(n,nB);for(i=qT(i,GI(pY[1],t)),i=kE(i,nB),n=uA(e-nB);Bj(n,nB)>0;)i=kE(i,nB),n=FM(n,nB);return i=kE(i,t),i}function Oat(e){for(var t,n,r,i,a,o,s,c=new D(e.a),l,u;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.ah(`bk node placement breaks on `+s+` which should have been after `+u);break}if(!i)break}return n.$g()&&n.ah(t+` is feasible: `+i),i}function jat(e,t,n,r){var i,a=new kP(e),o,s,c,l,u,d,f;if(il(a,(uL(),HX)),G(a,(Hz(),l0),(PF(),t5)),i=0,t){for(o=new sI,G(o,(X(),w$),t),G(a,w$,t.i),jI(o,(Az(),N5)),Gw(o,a),f=AT(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(!$lt(t,l,u,s,o)){c=i-1,l[0]=a;continue}}else if(i=-1,!$lt(t,l,u,0,o))return 0}else{if(i=-1,_C(u.c,0)==32){if(d=l[0],Oze(t,l),l[0]>d)continue}else if(eke(t,u.c,l[0])){l[0]+=u.c.length;continue}return 0}return Nlt(o,n)?l[0]:0}function Pat(e,t,n){var r,i,a,o,s,c,l,u=new pS(new Cae(n)),d,f;for(s=H(J9,uH,30,e.f.e.c.length,16,1),jTe(s,s.length),n[t.a]=0,l=new D(e.f.e);l.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 WR(e){var t,n,r,i,a,o,s,c;if(!e.f){if(c=new Eo,s=new Eo,t=l9,o=t.a.yc(e,t),o==null){for(a=new dy(hw(e));a.e!=a.i.gc();)i=F(nP(a),29),VS(c,WR(i));t.a.Ac(e),t.a.gc()}for(r=(!e.s&&(e.s=new I(N7,e,21,17)),new dy(e.s));r.e!=r.i.gc();)n=F(nP(r),179),N(n,103)&&cD(s,F(n,19));Aj(s),e.r=new tCe(e,(F(U(z((zS(),K7).o),6),19),s.i),s.g),VS(c,e.r),Aj(c),e.f=new av((F(U(z(K7.o),5),19),c.i),c.g),wE(e).b&=-3}return e.f}function GR(){GR=C,Qzt=W(A(K9,1),YB,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),$zt=RegExp(`[ -\r\f]+`);try{h7=W(A(KBt,1),sB,2079,0,[new sd((Yme(),pN(`yyyy-MM-dd'T'HH:mm:ss'.'SSSZ`,wb((rm(),rm(),WJ))))),new sd(pN(`yyyy-MM-dd'T'HH:mm:ss'.'SSS`,wb(WJ))),new sd(pN(`yyyy-MM-dd'T'HH:mm:ss`,wb(WJ))),new sd(pN(`yyyy-MM-dd'T'HH:mm`,wb(WJ))),new sd(pN(`yyyy-MM-dd`,wb(WJ)))])}catch(e){if(e=LA(e),!N(e,80))throw O(e)}}function Iat(e){var t,n=null,r,i,a,o,s=null;for(r=F(q(e.b,(Hz(),A1)),348),r==(Cj(),y2)&&(n=new Sd,s=new Sd),o=new D(e.d);o.an);return a}function Rat(e,t){var n,r,i=mL(e.d,1)!=0,a;if(r=TI(e,t),r==0&&Hp(rb(q(t.j,(X(),s$)))))return 0;!Hp(rb(q(t.j,(X(),s$))))&&!Hp(rb(q(t.j,N$)))||M(q(t.j,(Hz(),h1)))===M((AN(),l2))?t.c.kg(t.e,i):i=Hp(rb(q(t.j,s$))),OL(e,t,i,!0),Hp(rb(q(t.j,N$)))&&G(t.j,N$,(xy(),!1)),Hp(rb(q(t.j,s$)))&&(G(t.j,s$,(xy(),!1)),G(t.j,N$,!0)),n=TI(e,t);do{if(pVe(e),n==0)return 0;i=!i,a=n,OL(e,t,i,!1),n=TI(e,t)}while(a>n);return a}function zat(e,t,n){var r=F(q(e,(Hz(),g1)),22),i,a,o,s;if(n.a>t.a&&(r.Gc((kF(),h6))?e.c.a+=(n.a-t.a)/2:r.Gc(_6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Gc((kF(),y6))?e.c.b+=(n.b-t.b)/2:r.Gc(v6)&&(e.c.b+=n.b-t.b)),F(q(e,(X(),c$)),22).Gc((HL(),kQ))&&(n.a>t.a||n.b>t.b))for(s=new D(e.a);s.at.a&&(r.Gc((kF(),h6))?e.c.a+=(n.a-t.a)/2:r.Gc(_6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Gc((kF(),y6))?e.c.b+=(n.b-t.b)/2:r.Gc(v6)&&(e.c.b+=n.b-t.b)),F(q(e,(X(),c$)),22).Gc((HL(),kQ))&&(n.a>t.a||n.b>t.b))for(o=new D(e.a);o.a=0&&f<=1&&p>=0&&p<=1?Tb(new j(e.a,e.b),ry(new j(t.a,t.b),f)):null}function KR(e,t,n){var i,a,o=0,s=e.t,c,l,u,d,f,p;for(a=0,i=0,l=0,p=0,f=0,n&&(e.n.c.length=0,iy(e.n,new jw(e.s,e.t,e.i))),c=0,d=new D(e.b);d.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,iy(e.n,new jw(e.s,s,e.i))),c=0),p+=u.g+(c>0?e.i:0),l=r.Math.max(l,u.f),n&&XXe(F(jx(e.n,f),208),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,RZe(e.j)),new RC(e.s,e.t,a,i)}function qR(e){var t,n=M(Y(e,(Hz(),C1)))===M((dL(),lQ))||M(Y(e,C1))===M(iQ)||M(Y(e,C1))===M(aQ)||M(Y(e,C1))===M(sQ)||M(Y(e,C1))===M(uQ)||M(Y(e,C1))===M(dQ),r=M(Y(e,H1))===M((EL(),B0))||M(Y(e,H1))===M(H0)||M(Y(e,V1))===M((cR(),r2))||M(Y(e,V1))===M((cR(),i2));return t=M(Y(e,h1))!==M((AN(),l2))||Hp(rb(Y(e,_1)))||M(Y(e,a1))!==M((zN(),MX))||k(P(Y(e,o1)))!=0||k(P(Y(e,s1)))!=0,n||r||t}function JR(e){var t,n,r,i,a,o,s,c;if(!e.a){if(e.o=null,c=new xse(e),t=new nre,n=l9,s=n.a.yc(e,n),s==null){for(o=new dy(hw(e));o.e!=o.i.gc();)a=F(nP(o),29),VS(c,JR(a));n.a.Ac(e),n.a.gc()}for(i=(!e.s&&(e.s=new I(N7,e,21,17)),new dy(e.s));i.e!=i.i.gc();)r=F(nP(i),179),N(r,335)&&cD(t,F(r,38));Aj(t),e.k=new eCe(e,(F(U(z((zS(),K7).o),7),19),t.i),t.g),VS(c,e.k),Aj(c),e.a=new av((F(U(z(K7.o),4),19),c.i),c.g),wE(e).b&=-2}return e.a}function Uat(e){var t,n,i,a,o,s,c=e.d,l,u,d,f=F(q(e,(X(),W$)),16),p;if(t=F(q(e,JQ),16),f||t){if(o=k(P(wN(e,(Hz(),_0)))),s=k(P(wN(e,xAt))),p=0,f){for(u=0,a=f.Jc();a.Ob();)i=F(a.Pb(),9),u=r.Math.max(u,i.o.b),p+=i.o.a;p+=o*(f.gc()-1),c.d+=u+s}if(n=0,t){for(u=0,a=t.Jc();a.Ob();)i=F(a.Pb(),9),u=r.Math.max(u,i.o.b),n+=i.o.a;n+=o*(t.gc()-1),c.a+=u+s}l=r.Math.max(p,n),l>e.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 Wat(e,t,n,r){var i,a,o,s,c,l,u=PL(e.e.Ah(),t);if(i=0,a=F(e.g,122),c=null,Wh(),F(t,69).vk()){for(s=0;ss?1:-1,i==-1)d=-c,u=o==c?RE(t.a,s,e.a,a):eD(t.a,s,e.a,a);else if(d=o,o==c){if(i==0)return oR(),dY;u=RE(e.a,a,t.a,s)}else u=eD(e.a,a,t.a,s);return l=new wS(d,u.length,u),TT(l),l}function qat(e,t){var n,r,i,a=Nit(t);if(!t.c&&(t.c=new I(m7,t,9,9)),vh(new Px(null,(!t.c&&(t.c=new I(m7,t,9,9)),new cT(t.c,16))),new Eae(a)),i=F(q(a,(X(),c$)),22),Fct(t,i),i.Gc((HL(),kQ)))for(r=new dy((!t.c&&(t.c=new I(m7,t,9,9)),t.c));r.e!=r.i.gc();)n=F(nP(r),125),glt(e,t,a,n);return F(Y(t,(Hz(),t0)),182).gc()!=0&&Jet(t,a),Hp(rb(q(a,cAt)))&&i.Ec(PQ),Xy(a,g0)&&uce(new gqe(k(P(q(a,g0)))),a),M(Y(t,P1))===M((xj(),N8))?xdt(e,t,a):wlt(e,t,a),a}function ez(e,t){var n,r,i,a,o,s,c;if(e==null)return null;if(a=e.length,a==0)return``;for(c=H(K9,YB,30,a,15,1),rD(0,a,e.length),rD(0,a,c.length),$Te(e,0,a,c,0),n=null,s=t,i=0,o=0;i0?fw(n.a,0,a-1):``):(rD(0,a-1,e.length),e.substr(0,a-1)):n?n.a:e}function Jat(e,t,n){var r,i,a;if(Xy(t,(Hz(),z1))&&(M(q(t,z1))===M(($M(),q$))||M(q(t,z1))===M(Y$))||Xy(n,z1)&&(M(q(n,z1))===M(($M(),q$))||M(q(n,z1))===M(Y$)))return 0;if(r=fC(t),i=tnt(e,t,n),i!=0)return i;if(Xy(t,(X(),C$))&&Xy(n,C$)){if(a=Uv(jL(t,n,r,F(q(r,S$),15).a),jL(n,t,r,F(q(r,S$),15).a)),M(q(r,l1))===M((WA(),HQ))&&M(q(t,u1))!==M(q(n,u1))&&(a=0),a<0)return aR(e,t,n),a;if(a>0)return aR(e,n,t),a}return e8e(e,t,n)}function Yat(e,t){for(var n,r=new iS(my(pL(t).a.Jc(),new f)),i,a,o,s,c,l,u,d,p;eL(r);)n=F(OE(r),85),N(U((!n.b&&(n.b=new kb(r7,n,4,7)),n.b),0),193)||(c=RF(F(U((!n.c&&(n.c=new kb(r7,n,5,8)),n.c),0),84)),XI(n)||(o=t.i+t.g/2,s=t.j+t.f/2,u=c.i+c.g/2,d=c.j+c.f/2,p=new Am,p.a=u-o,p.b=d-s,a=new j(p.a,p.b),hF(a,t.g,t.f),p.a-=a.a,p.b-=a.b,o=u-p.a,s=d-p.b,l=new j(p.a,p.b),hF(l,c.g,c.f),p.a-=l.a,p.b-=l.b,u=o+p.a,d=s+p.b,i=NL(n),HO(i,o),UO(i,s),LO(i,u),RO(i,d),Yat(e,c)))}function tz(e,t){var n,r,i,a,o=F(t,137);if(iL(e),iL(o),o.b!=null){if(e.c=!0,e.b==null)e.b=H(q9,dV,30,o.b.length,15,1),AR(o.b,0,e.b,0,o.b.length);else{for(a=H(q9,dV,30,e.b.length+o.b.length,15,1),n=0,r=0,i=0;n=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(FKe(e.n,l),e.d=n,e.r=i,e.g=0,e.f=0,e.e=0,e.o=AV,e.p=AV,o=new D(e.b);o.a0&&(i=(!e.n&&(e.n=new I(f7,e,1,7)),F(U(e.n,0),157)).a,!i||Q_(Q_((t.a+=` "`,t),i),`"`))),n=(!e.b&&(e.b=new kb(r7,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new kb(r7,e,5,8)),e.c.i<=1))),n?t.a+=` [`:t.a+=` `,Q_(t,oge(new nm,new dy(e.b))),n&&(t.a+=`]`),t.a+=yU,n&&(t.a+=`[`),Q_(t,oge(new nm,new dy(e.c))),n&&(t.a+=`]`),t.a)}function $at(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=PD(x.a,e,0),r=PD(S.a,t,0),y=F(cN(e,(rk(),m2)).Jc().Pb(),12),ne=F(cN(e,h2).Jc().Pb(),12),b=F(cN(t,m2).Jc().Pb(),12),C=F(cN(t,h2).Jc().Pb(),12),_=AT(y.e),ee=AT(ne.g),v=AT(b.e),te=AT(C.g),aF(e,r,S),o=v,u=0,m=o.length;u0&&l[i]&&(h=qv(e.b,l[i],a)),g=r.Math.max(g,a.c.c.b+h);for(o=new D(d.e);o.ad?new Qw((GE(),U2),n,t,u-d):u>0&&d>0&&(new Qw((GE(),U2),t,n,0),new Qw(U2,n,t,0))),s)}function iot(e,t,n){var r,i,a;for(e.a=new Sd,a=$N(t.b,0);a.b!=a.d.c;){for(i=F(HT(a),40);F(q(i,(MR(),E4)),15).a>e.a.c.length-1;)iy(e.a,new M_(oG,Mht));r=F(q(i,E4),15).a,n==(fM(),_8)||n==v8?(i.e.ak(P(F(jx(e.a,r),49).b))&&gl(F(jx(e.a,r),49),i.e.a+i.f.a)):(i.e.bk(P(F(jx(e.a,r),49).b))&&gl(F(jx(e.a,r),49),i.e.b+i.f.b))}}function aot(e,t,n,r){var i,a=EM(r),o,s=Hp(rb(q(r,(Hz(),nAt)))),c,l,u;if((s||Hp(rb(q(e,F1))))&&!yv(F(q(e,l0),102)))i=iN(a),c=Yrt(e,n,n==(rk(),h2)?i:_M(i));else switch(c=new sI,Gw(c,e),t?(u=c.n,u.a=t.a-e.n.a,u.b=t.b-e.n.b,e4e(u,0,0,e.o.a,e.o.b),jI(c,tit(c,a))):(i=iN(a),jI(c,n==(rk(),h2)?i:_M(i))),o=F(q(r,(X(),c$)),22),l=c.j,a.g){case 2:case 1:(l==(Az(),m5)||l==j5)&&o.Ec((HL(),NQ));break;case 4:case 3:(l==(Az(),p5)||l==N5)&&o.Ec((HL(),NQ))}return c}function oot(e,t){for(var n,i,a,o,s=new nA(new kl(e.f.b).a),c;s.b;){if(o=vk(s),a=F(o.jd(),592),t==1){if(a.yf()!=(fM(),b8)&&a.yf()!=g8)continue}else if(a.yf()!=(fM(),_8)&&a.yf()!=v8)continue;switch(i=F(F(o.kd(),49).b,82),c=F(F(o.kd(),49).a,194),n=c.c,a.yf().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 sot(e,t){var n,i,a,o,s,c,l,u,d,f;for(t.Tg(`Simple node placement`,1),f=F(q(e,(X(),F$)),317),c=0,o=new D(e.b);o.a1)throw O(new Rp(sJ));c||(a=ZT(t,r.Jc().Pb()),o.Ec(a))}return bUe(e,C4e(e,t,n),o)}function nz(e,t,n){var r,i,a,o,s,c,l,u;if(LL(e.e,t))c=(Wh(),F(t,69).vk()?new Tx(t,e):new W_(t,e)),JI(c.c,c.b),Jv(c,F(n,18));else{for(u=PL(e.e.Ah(),t),r=F(e.g,122),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 `,rz(e.b,t)):e.f&&(t.a+=` extends `,rz(e.f,t)))}function _ot(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 vot(e){var t,n,i=Bz((!e.c&&(e.c=aT(uA(e.f))),e.c),0),a;if(e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(t=+(_Ve(e)<0),n=e.e,a=(i.length+1+r.Math.abs(Ew(e.e)),new lm),t==1&&(a.a+=`-`),e.e>0){if(n-=i.length-t,n>=0){for(a.a+=`0.`;n>oY.length;n-=oY.length)GCe(a,oY);Ive(a,oY,Ew(n)),Q_(a,(uT(t,i.length+1),i.substr(t)))}else n=t-n,Q_(a,fw(i,t,Ew(n))),a.a+=`.`,Q_(a,wEe(i,Ew(n)))}else{for(Q_(a,(uT(t,i.length+1),i.substr(t)));n<-oY.length;n+=oY.length)GCe(a,oY);Ive(a,oY,Ew(-n))}return a.a}function iz(e){var t,n,r,i,a,o,s,c,l;return!(e.k!=(uL(),VX)||e.j.c.length<=1||(a=F(q(e,(Hz(),l0)),102),a==(PF(),t5))||(i=(gP(),r=(e.q?e.q:(qC(),qC(),gY))._b(Z1)?F(q(e,Z1),203):F(q(fC(e),Q1),203),r),i==Y0)||i!=J0&&i!=q0&&(o=k(P(wN(e,N0))),t=F(q(e,M0),140),!t&&(t=new aye(o,o,o,o)),l=kM(e,(Az(),N5)),c=t.d+t.a+(l.gc()-1)*o,c>e.o.b||(n=kM(e,p5),s=t.d+t.a+(n.gc()-1)*o,s>e.o.b)))}function yot(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;t.Tg(`Orthogonal edge routing`,1),l=k(P(q(e,(Hz(),A0)))),n=k(P(q(e,b0))),r=k(P(q(e,C0))),f=new gEe(0,n),g=0,o=new OT(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),p0;for(s=F(q(e.c.i,o0),15).a,a=F(dE(MC(t.Mc(),new Bae(s)),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),16),o=new uh,u=new lf,mx(o,e.c.i),ES(u,e.c.i);o.b!=0;){if(n=F(o.b==0?null:(qy(o.b!=0),bO(o,o.a.a)),9),a.Gc(n))return!0;for(i=new iS(my(RM(n).a.Jc(),new f));eL(i);)r=F(OE(i),17),c=r.d.i,u.a._b(c)||(u.a.yc(c,u),pE(o,c,o.c.b,o.c))}return!1}function Oot(e,t,n){var r,i,a,o,s,c,l,u,d=new Sd;for(u=new Xje(0,n),a=0,ck(u,new sj(0,0,u,n)),i=0,l=new dy(e);l.e!=l.i.gc();)c=F(nP(l),26),r=F(jx(u.a,u.a.c.length-1),173),s=i+c.g+(F(jx(u.a,0),173).b.c.length==0?0:n),(s>t||Hp(rb(Y(c,(JL(),h3)))))&&(i=0,a+=u.b+n,Fd(d.c,u),u=new Xje(a,n),r=new sj(0,u.f,u,n),ck(u,r),i=0),r.b.c.length==0||!Hp(rb(Y(Bw(c),(JL(),_3))))&&(c.f>=r.o&&c.f<=r.f||r.a*.5<=c.f&&r.a*1.5>=c.f)?qKe(r,c):(o=new sj(r.s+r.r+n,u.f,u,n),ck(u,o),qKe(o,c)),i=c.i+c.g;return Fd(d.c,u),d}function lz(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 zb(F(ME(e.a,a),22)),qC(),Vv(r,new cu(t)),i=new OT(a.b,0);i.b0&&r>=-6?r>=0?Sy(a,n-Ew(e.e),`.`):(rA(a,t-1,t-1,`0.`),Sy(a,t+1,kN(oY,0,-Ew(r)-1))):(n-t>=1&&(Sy(a,t,`.`),++n),Sy(a,n,`E`),r>0&&Sy(a,++n,`+`),Sy(a,++n,``+uS(uA(r)))),e.g=a.a,e.g)):e.g}function Pot(e,t){var n,i=k(P(q(t,(Hz(),aAt)))),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=F(q(t,P0),15).a,ee,te;p=4,a=3,ee=20/S,m=!1,l=0,s=nB;do{for(o=l!=1,f=l!=0,te=0,_=e.a,y=0,x=_.length;yS)?(l=2,s=nB):l==0?(l=1,s=te):(l=0,s=te)):(m=te>=s||s-te=PV?Y_(n,UKe(r)):tC(n,r&ZB),o=(++W9,new bw(10,null,0)),PTe(e.a,o,s-1)):(n=(o.Km().length+a,new sm),Y_(n,o.Km())),t.e==0?(r=t.Im(),r>=PV?Y_(n,UKe(r)):tC(n,r&ZB)):Y_(n,t.Km()),F(o,518).b=n.a))}}function Fot(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.Jc(),m=F(r.Pb(),15).a;s0?1:yb(isNaN(i),!1))>=0^($O(lG),(r.Math.abs(c)<=lG||c==0?0:c<0?-1:c>0?1:yb(isNaN(c),!1))>=0)?r.Math.max(c,i):($O(lG),(r.Math.abs(i)<=lG||i==0?0:i<0?-1:i>0?1:yb(isNaN(i),!1))>0?r.Math.sqrt(c*c+i*i):-r.Math.sqrt(c*c+i*i))}function zot(e){var t,n,i,a=e.o;mb(),e.A.dc()||nM(e.A,_St)?t=a.b:(t=e.D?r.Math.max(a.b,FI(e.f)):FI(e.f),e.A.Gc((CN(),L5))&&!e.B.Gc((_R(),G5))&&(t=r.Math.max(t,FI(F(bC(e.p,(Az(),p5)),253))),t=r.Math.max(t,FI(F(bC(e.p,N5),253)))),n=lHe(e),n&&(t=r.Math.max(t,n.b)),e.A.Gc(R5)&&(e.q==(PF(),n5)||e.q==t5)&&(t=r.Math.max(t,vx(F(bC(e.b,(Az(),p5)),127))),t=r.Math.max(t,vx(F(bC(e.b,N5),127))))),a.b=Hp(rb(e.e.Rf().mf((Gz(),B6))))?r.Math.max(a.b,t):t,i=e.f.i,i.d=0,i.a=t,FR(e.f)}function Bot(e,t,n,r,i,a,o,s){var c=NE(W(A(GFt,1),sB,238,0,[t,n,r,i])),l,u,d=null;switch(e.b.g){case 1:d=NE(W(A(NFt,1),sB,524,0,[new Ea,new Ca,new wa]));break;case 0:d=NE(W(A(NFt,1),sB,524,0,[new wa,new Ca,new Ea]));break;case 2:d=NE(W(A(NFt,1),sB,524,0,[new Ca,new Ea,new wa]))}for(u=new D(d);u.a1&&(c=l.Gg(c,e.a,s));return c.c.length==1?F(jx(c,c.c.length-1),238):c.c.length==2?xot((lT(0,c.c.length),F(c.c[0],238)),(lT(1,c.c.length),F(c.c[1],238)),o,a):null}function Vot(e,t,n){var r,i=new Qc(e),a=new f8e,o,s,c,l,u,d,f,p,m;r=(vE(a.n),vE(a.p),OS(a.c),vE(a.f),vE(a.o),OS(a.q),OS(a.d),OS(a.g),OS(a.k),OS(a.e),OS(a.i),OS(a.j),OS(a.r),OS(a.b),f=Q3e(a,i,null),B5e(a,i),f),t&&(c=new Qc(t),o=Gat(c),k2e(r,W(A(VIt,1),sB,525,0,[o]))),d=!1,u=!1,n&&(c=new Qc(n),cq in c.a&&(d=Nw(c,cq).oe().a),ovt in c.a&&(u=Nw(c,ovt).oe().a)),l=dle(Jze(new ip,d),u),K2e(new Ia,r,l),cq in i.a&&dO(i,cq,null),(d||u)&&(s=new Sp,bit(l,s,d,u),dO(i,cq,s)),p=new lse(a),CUe(new Ov(r),p),m=new Zu(a),CUe(new Ov(r),m)}function Hot(e,t,n){var r,i,a,o,s,c,l;for(n.Tg(`Find roots`,1),e.a.c.length=0,i=$N(t.b,0);i.b!=i.d.c;)r=F(HT(i),40),r.b.b==0&&(G(r,(kz(),v4),(xy(),!0)),iy(e.a,r));switch(e.a.c.length){case 0:a=new oj(0,t,`DUMMY_ROOT`),G(a,(kz(),v4),(xy(),!0)),G(a,r4,!0),mx(t.b,a);break;case 1:break;default:for(o=new oj(0,t,yG),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 Spe(e.i,e.g),n=e.i,a=n<100?null:new Mm(n),e.Rj())for(r=0;r0){for(s=e.g,l=e.i,PE(e),a=l<100?null:new Mm(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&xV,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&=xV,b+=h>>22,h&=xV,b&=SV,Wv(f,h,b)}function qot(e){var t,n,i,a,o,s,c=F(jx(e.j,0),12);if(c.g.c.length!=0&&c.e.c.length!=0)throw O(new zp(`Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges.`));if(c.g.c.length!=0){for(o=AV,n=new D(c.g);n.a0&&v4e(e,s,d);for(i=new D(d);i.a4){if(e.dk(t)){if(e.$k()){if(i=F(t,52),r=i.Bh(),c=r==e.e&&(e.kl()?i.vh(i.Ch(),e.gl())==e.hl():-1-i.Ch()==e.Jj()),e.ll()&&!c&&!r&&i.Gh()){for(a=0;ae.d[o.p]&&(n+=WPe(e.b,a)*F(c.b,15).a,UT(e.a,K(a)));for(;!Wp(e.a);)TRe(e.b,F(NS(e.a),15).a)}return n}function Zot(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(t.Tg(wht,1),m=new Sd,d=r.Math.max(e.a.c.length,F(q(e,(X(),S$)),15).a),n=d*F(q(e,XQ),15).a,c=M(q(e,(Hz(),c1)))===M((WA(),VQ)),g=new D(e.a);g.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,(X(),O$),l)}if(c=e.o,o=e.a,r)o.a=r.a,o.b=r.b,e.d=!0;else if(t!=i5&&t!=a5&&s!=M5)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 pz(e){var t,n,r,i,a,o,s,c,l,u;if(e.Nj()){if(u=e.Cj(),c=e.Oj(),u>0){if(t=new JVe(e.nj()),n=u,a=n<100?null:new Mm(n),ub(e,n,t.g),i=n==1?e.Gj(4,U(t,0),null,0,c):e.Gj(6,t,null,-1,c),e.Kj()){for(r=new dy(t);r.e!=r.i.gc();)a=e.Mj(nP(r),a);a?(a.lj(i),a.mj()):e.Hj(i)}else a?(a.lj(i),a.mj()):e.Hj(i)}else ub(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(qC(),hY),null,-1,c))}else if(e.Kj()){if(u=e.Cj(),u>0){for(s=e.Dj(),l=u,ub(e,u,s),a=l<100?null:new Mm(l),r=0;r1&&Wx(o)*Ux(o)/2>s[0]){for(a=0;as[a];)++a;m=new sT(h,0,a+1),d=new wO(m),u=Wx(o)/Ux(o),c=Fz(d,t,new Rf,n,r,i,u),Tb(cv(d.e),c),ox(JF(f,d),VV),p=new sT(h,a+1,h.c.length),fQe(f,p),h.c.length=0,l=0,gwe(s,s.length,0)}else g=f.b.c.length==0?null:jx(f.b,0),g!=null&&xk(f,0),l>0&&(s[l]=s[l-1]),s[l]+=Wx(o)*Ux(o),++l,Fd(h.c,o);return h}function ost(e,t){var n=t.b,r,i,a=new zb(n.j);i=0,r=n.j,r.c.length=0,IS(F(oA(e.b,(Az(),m5),(kk(),FZ)),16),n),i=SP(a,i,new Ir,r),IS(F(oA(e.b,m5,PZ),16),n),i=SP(a,i,new Lr,r),IS(F(oA(e.b,m5,NZ),16),n),IS(F(oA(e.b,p5,FZ),16),n),IS(F(oA(e.b,p5,PZ),16),n),i=SP(a,i,new Rr,r),IS(F(oA(e.b,p5,NZ),16),n),IS(F(oA(e.b,j5,FZ),16),n),i=SP(a,i,new ote,r),IS(F(oA(e.b,j5,PZ),16),n),i=SP(a,i,new ste,r),IS(F(oA(e.b,j5,NZ),16),n),IS(F(oA(e.b,N5,FZ),16),n),i=SP(a,i,new nte,r),IS(F(oA(e.b,N5,PZ),16),n),IS(F(oA(e.b,N5,NZ),16),n)}function sst(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g;for(t.Tg(`Layer size calculation`,1),d=AV,u=jV,a=!1,c=new D(e.b);c.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 dst(e){var t,n,r=F(q(e,(Hz(),z1)),165),i,a;if(r==($M(),q$)){for(n=new iS(my(IM(e).a.Jc(),new f));eL(n);)if(t=F(OE(n),17),!_Fe(t))throw O(new Yp(DU+XP(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==Y$){for(a=new iS(my(RM(e).a.Jc(),new f));eL(a);)if(i=F(OE(a),17),!_Fe(i))throw O(new Yp(DU+XP(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 mz(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.e&&e.c.c>19&&(t=ZA(t),c=!c),o=A7e(t),a=!1,i=!1,r=!1,e.h==CV&&e.m==0&&e.l==0){if(i=!0,a=!0,o==-1)e=cme((aO(),Dbt)),r=!0,c=!c;else return s=H8e(e,o),c&&tj(s),n&&(qJ=Wv(0,0,0)),s}else e.h>>19&&(a=!0,e=ZA(e),r=!0,c=!c);return o==-1?WQe(e,t)<0?(n&&(qJ=a?ZA(e):Wv(e.l,e.m,e.h)),Wv(0,0,0)):wrt(r?e:Wv(e.l,e.m,e.h),t,c,a,i,n):JUe(e,o,c,a,n)}function hz(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],RV),r=gT(t.a[0],RV),o==c?(u=NM(n,r),m=Gx(u),p=Gx(sS(u,32)),p==0?new QT(o,m):new wS(o,2,W(A(q9,1),dV,30,15,[m,p]))):(oR(),K_(o<0?FM(r,n):FM(n,r),0)?gN(o<0?FM(r,n):FM(n,r)):PS(gN(jD(o<0?FM(r,n):FM(n,r)))));if(o==c)f=o,d=a>=s?eD(e.a,a,t.a,s):eD(t.a,s,e.a,a);else{if(i=a==s?SWe(e.a,t.a,a):a>s?1:-1,i==0)return oR(),dY;i==1?(f=o,d=RE(e.a,a,t.a,s)):(f=c,d=RE(t.a,s,e.a,a))}return l=new wS(f,d.length,d),TT(l),l}function mst(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().Jc();o.Ob();)i=F(o.Pb(),12),Vj(nj(W(A(s6,1),xB,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(s=e.r.a.ec().Jc();s.Ob();)i=F(s.Pb(),12),Vj(nj(W(A(s6,1),xB,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(c=t.w.a.ec().Jc();c.Ob();)i=F(c.Pb(),12),Vj(nj(W(A(s6,1),xB,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Jc();a.Ob();)i=F(a.Pb(),12),Vj(nj(W(A(s6,1),xB,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n=0)return n;switch(mC(RD(e,n))){case 2:if(jb(``,$j(e,n.ok()).ve())){if(c=kC(RD(e,n)),s=OC(RD(e,n)),u=k5e(e,t,c,s),u)return u;for(i=Unt(e,t),o=0,d=i.gc();o1)throw O(new Rp(sJ));for(u=PL(e.e.Ah(),t),r=F(e.g,122),o=0;o1,u=new BE(p.b);Hv(u.a)||Hv(u.b);)l=F(Hv(u.a)?B(u.a):B(u.b),17),f=l.c==p?l.d:l.c,r.Math.abs(nj(W(A(s6,1),xB,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&$9e(e,l,s,o,p)}}function yst(e){var t,n,i,a=new OT(e.e,0),o,s;if(i=new OT(e.a,0),e.d)for(n=0;npG;){for(o=t,s=0;r.Math.abs(t-o)0),a.a.Xb(a.c=--a.b),Uit(e,e.b-s,o,i,a),qy(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 xst(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 Sst(e,t,n){var r,i,a,o;for(n.Tg(`Graph transformation (`+e.a+`)`,1),o=mT(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 sP((UA(),TX)),ET(e,ICt,new Kp(W(A(wX,1),sB,377,0,[r]))),o=new sP(OX),ET(e,FCt,new Kp(W(A(wX,1),sB,377,0,[o]))),i=new sP(EX),ET(e,PCt,new Kp(W(A(wX,1),sB,377,0,[i]))),a=new sP(DX),ET(e,NCt,new Kp(W(A(wX,1),sB,377,0,[a]))),vL(r.c,TX),vL(i.c,EX),vL(a.c,DX),vL(o.c,OX),s.a.c.length=0,FA(s.a,r.c),FA(s.a,aN(i.c)),FA(s.a,a.c),FA(s.a,aN(o.c)),s}function Tst(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h;for(t.Tg(kgt,1),m=k(P(Y(e,(QL(),d3)))),s=k(P(Y(e,(JL(),y3)))),c=F(Y(e,v3),104),dVe((!e.a&&(e.a=new I(p7,e,10,11)),e.a)),d=Oot((!e.a&&(e.a=new I(p7,e,10,11)),e.a),m,s),!e.a&&(e.a=new I(p7,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 gEe(1,a),m=uct(p,t,h,g,t.f.b+c-t.c.b),m>0&&(t.f.b+=c+(m-1)*a))}function Dst(e,t,n){var i,a,o,s,c,l,u,d=k(P(q(e,(Hz(),S0)))),f,p,m,h,g,_,v,y,b,x;for(i=k(P(q(e,DAt))),p=new no,G(p,S0,d+i),u=t,v=u.d,g=u.c.i,y=u.d.i,_=pme(g.c),b=pme(y.c),a=new Sd,f=_;f<=b;f++)c=new kP(e),il(c,(uL(),zX)),G(c,(X(),w$),u),G(c,l0,(PF(),t5)),G(c,w0,p),m=F(jx(e.b,f),25),f==_?aF(c,m.a.c.length-n,m):Uw(c,m),x=k(P(q(u,M1))),x<0&&(x=0,G(u,M1,x)),c.o.b=x,h=r.Math.floor(x/2),s=new sI,jI(s,(Az(),N5)),Gw(s,c),s.n.b=h,l=new sI,jI(l,p5),Gw(l,c),l.n.b=h,Ww(u,s),o=new cw,vA(o,u),G(o,R1,null),Hw(o,l),Ww(o,v),JQe(c,u,o),Fd(a.c,o),u=o;return a}function Ost(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h=t.b.c.length,g,_,v,y;if(!(h<3)){for(p=H(q9,dV,30,h,15,1),d=0,u=new D(t.b);u.ao)&&ES(e.b,F(g.b,17));++s}a=o}}}function vz(e,t){var n,r,i,a,o,s,c=F(lI(e,(Az(),N5)).Jc().Pb(),12).e,l,u,d,f,p=F(lI(e,p5).Jc().Pb(),12).g,m,h,g,_,v,y;for(s=c.c.length,y=dT(F(jx(e.j,0),12));s-->0;){for(h=(lT(0,c.c.length),F(c.c[0],17)),i=(lT(0,p.c.length),F(p.c[0],17)),v=i.d.e,a=PD(v,i,0),LMe(h,i.d,a),Hw(i,null),Ww(i,null),m=h.a,t&&mx(m,new mv(y)),r=$N(i.a,0);r.b!=r.d.c;)n=F(HT(r),8),mx(m,new mv(n));for(_=h.b,f=new D(i.b);f.a-2;default:return!1}switch(t=e.Pj(),e.p){case 0:return t!=null&&Hp(rb(t))!=q_(e.k,0);case 1:return t!=null&&F(t,221).a!=Gx(e.k)<<24>>24;case 2:return t!=null&&F(t,180).a!=(Gx(e.k)&ZB);case 6:return t!=null&&q_(F(t,190).a,e.k);case 5:return t!=null&&F(t,15).a!=Gx(e.k);case 7:return t!=null&&F(t,191).a!=Gx(e.k)<<16>>16;case 3:return t!=null&&k(P(t))!=e.j;case 4:return t!=null&&F(t,164).a!=e.j;default:return t==null?e.n!=null:!nM(t,e.n)}}function yz(e,t,n){var r,i,a,o;return e.ml()&&e.ll()&&(o=ETe(e,F(n,57)),M(o)!==M(n))?(e.vj(t),e.Bj(t,wLe(e,t,o)),e.$k()&&(a=(i=F(n,52),e.kl()?e.il()?i.Qh(e.b,EP(F(fO(gw(e.b),e.Jj()),19)).n,F(fO(gw(e.b),e.Jj()).Fk(),29).ik(),null):i.Qh(e.b,sN(i.Ah(),EP(F(fO(gw(e.b),e.Jj()),19))),null,null):i.Qh(e.b,-1-e.Jj(),null,null)),!F(o,52).Mh()&&(a=(r=F(o,52),e.kl()?e.il()?r.Oh(e.b,EP(F(fO(gw(e.b),e.Jj()),19)).n,F(fO(gw(e.b),e.Jj()).Fk(),29).ik(),a):r.Oh(e.b,sN(r.Ah(),EP(F(fO(gw(e.b),e.Jj()),19))),null,a):r.Oh(e.b,-1-e.Jj(),null,a))),a&&a.mj()),vv(e.b)&&e.Hj(e.Gj(9,n,o,t,!1)),o):n}function Mst(e){for(var t,n,r=new Sd,i,a,o=new D(e.e.a),s,c,l,u;o.a0&&(s=r.Math.max(s,AVe(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,(Fv(),$O(_H),r.Math.abs(f-1)<=_H||f==1?0:m/(1-f)))),n.n.b=0,n.a.a=s}}function Pst(e,t){var n=F(bC(e.b,t),127),i,a,o,s,c,l=F(F(ME(e.r,t),22),83),u,d,f,p,m;if(l.dc())n.n.d=0,n.n.a=0;else{for(u=e.u.Gc((NI(),c5)),s=0,e.A.Gc((CN(),z5))&&Ytt(e,t),c=l.Jc(),d=null,p=0,f=0;c.Ob();)i=F(c.Pb(),115),o=k(P(i.b.mf((Wy(),KY)))),a=i.b.Kf().b,d?(m=f+d.d.a+e.w+i.d.d,s=r.Math.max(s,(Fv(),$O(_H),r.Math.abs(p-o)<=_H||p==o||isNaN(p)&&isNaN(o)?0:m/(o-p)))):e.C&&e.C.d>0&&(s=r.Math.max(s,AVe(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,(Fv(),$O(_H),r.Math.abs(p-1)<=_H||p==1?0:m/(1-p)))),n.n.d=0,n.a.b=s}}function Fst(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(FX,xU,9,s+c,0,1),o=0;o0?CO(this,this.f/this.a):ey(t.g,t.d[0]).a!=null&&ey(n.g,n.d[0]).a!=null?CO(this,(k(ey(t.g,t.d[0]).a)+k(ey(n.g,n.d[0]).a))/2):ey(t.g,t.d[0]).a==null?ey(n.g,n.d[0]).a!=null&&CO(this,ey(n.g,n.d[0]).a):CO(this,ey(t.g,t.d[0]).a)}function Ist(e,t,n,r,i,a,o,s){var c,l,u,d,f,p,m=!1,h,g,_;if(l=u9e(n.q,t.f+t.b-n.q.f),p=r.f>t.b&&s,_=i-(n.q.e+l-o),d=(c=KR(r,_,!1),c.a),p&&d>r.f)return!1;if(p){for(f=0,g=new D(t.d);g.a=(lT(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,hD(n,G2e(n,d))):(r1e(n.q,l),n.c=!0),hD(r,i-(n.s+n.r)),xP(r,n.q.e+n.q.d,t.f),ck(t,r),e.c.length>a&&(uF((lT(a,e.c.length),F(e.c[a],186)),r),(lT(a,e.c.length),F(e.c[a],186)).a.c.length==0&&LE(e,a)),m=!0),m)}function Lst(e,t){var n,r,i,a,o,s,c,l,u,d;for(e.a=new kEe(VUe(x8)),r=new D(t.a);r.a0&&(uT(0,n.length),n.charCodeAt(0)!=47)))throw O(new Rp(`invalid opaquePart: `+n));if(e&&!(t!=null&&ah(A7,t.toLowerCase()))&&n!=null&&ZM(n,O7,k7)||e&&t!=null&&ah(A7,t.toLowerCase())&&!v1e(n))throw O(new Rp(Wvt+n));if(!hqe(r))throw O(new Rp(`invalid device: `+r));if(!uGe(i))throw o=i==null?`invalid segments: null`:`invalid segment: `+qWe(i),O(new Rp(o));if(a!=null&&uv(a,GF(35))!=-1)throw O(new Rp(`invalid query: `+a))}function Hst(e,t,n){var r,i,a,o,s,c,l,u,d,f=new mv(e.o),p,m,h,g,_=t.a/f.a;if(s=t.b/f.b,h=t.a-f.a,a=t.b-f.b,n)for(i=M(q(e,(Hz(),l0)))===M((PF(),t5)),m=new D(e.j);m.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,(Hz(),t0),(CN(),r=F(Fm(B5),10),new Bb(r,F(bb(r,r.length),10),0)))}function Ust(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v;if(n.Tg(`Network simplex layering`,1),e.b=t,v=F(q(t,(Hz(),P0)),15).a*4,_=e.b.a,_.c.length<1)n.Ug();else{for(o=Wnt(e,_),g=null,a=$N(o,0);a.b!=a.d.c;){for(i=F(HT(a),16),c=v*Ew(r.Math.sqrt(i.gc())),s=_rt(i),gR(Wce(Kce(Gce(Wb(s),c),g),!0),n.dh(1)),p=e.b.b,h=new D(s.a);h.a1)for(g=H(q9,dV,30,e.b.b.c.length,15,1),f=0,u=new D(e.b.b);u.a0?(KN(e,n,0),n.a+=String.fromCharCode(r),i=HJe(t,a),KN(e,n,i),a+=i-1):r==39?a+10&&m.a<=0){c.c.length=0,Fd(c.c,m);break}p=m.i-m.d,p>=s&&(p>s&&(c.c.length=0,s=p),Fd(c.c,m))}c.c.length!=0&&(o=F(jx(c,bP(i,c.c.length)),116),y.a.Ac(o),o.g=u++,Bit(o,t,n,r),c.c.length=0)}for(g=e.c.length+1,f=new D(e);f.ajV||t.o==R2&&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(cUB)&&c<10);Yce(e.c,new ht),$st(e),VTe(e.c),Cst(e.f)}function ict(e,t){var n,r,i,a,o,s,c,l,u,d,f;switch(e.k.g){case 1:if(r=F(q(e,(X(),w$)),17),n=F(q(r,hEt),79),n?Hp(rb(q(r,M$)))&&(n=aWe(n)):n=new Wf,l=F(q(e,v$),12),l){if(u=nj(W(A(s6,1),xB,8,0,[l.i.n,l.n,l.a])),t<=u.a)return u.b;pE(n,u,n.a,n.a.a)}if(d=F(q(e,y$),12),d){if(f=nj(W(A(s6,1),xB,8,0,[d.i.n,d.n,d.a])),f.a<=t)return f.b;pE(n,f,n.c.b,n.c)}if(n.b>=2){for(c=$N(n,0),o=F(HT(c),8),s=F(HT(c),8);s.a0&&YA(l,!0,(fM(),v8)),s.k==(uL(),LX)&&ZEe(l),vC(e.f,s,t))}function oct(e,t){var n,i,a,o,s,c,l,u=AV,d=AV,f,p,m,h,g,_,v,y;for(c=jV,l=jV,p=new D(t.i);p.a=e.j?(++e.j,iy(e.b,K(1)),iy(e.c,u)):(r=e.d[t.p][1],gE(e.b,l,K(F(jx(e.b,l),15).a+1-r)),gE(e.c,l,k(P(jx(e.c,l)))+u-r*e.f)),(e.r==(cR(),a2)&&(F(jx(e.b,l),15).a>e.k||F(jx(e.b,l-1),15).a>e.k)||e.r==o2&&(k(P(jx(e.c,l)))>e.n||k(P(jx(e.c,l-1)))>e.n))&&(c=!1),o=new iS(my(IM(t).a.Jc(),new f));eL(o);)a=F(OE(o),17),s=a.c.i,e.g[s.p]==l&&(d=sct(e,s),i+=F(d.a,15).a,c&&=Hp(rb(d.b)));return e.g[t.p]=l,i+=e.d[t.p][0],new M_(K(i),(xy(),!!c))}function cct(e,t,n){var r,i,a,o,s,c,l,u,d,f=e.c[t],p=e.c[n],m=F(q(f,(X(),m$)),16),h,g,_,v,y,b,x,S;return m&&m.gc()!=0&&m.Gc(p)||(h=f.k!=(uL(),zX)&&p.k!=zX,g=F(q(f,p$),9),_=F(q(p,p$),9),v=g!=_,y=!!g&&g!=f||!!_&&_!=p,b=IP(f,(Az(),m5)),x=IP(p,j5),y|=IP(f,j5)||IP(p,m5),S=y&&v||b||x,h&&S)||f.k==(uL(),HX)&&p.k==VX||p.k==(uL(),HX)&&f.k==VX?!1:(u=e.c[t],a=e.c[n],i=p$e(e.e,u,a,(Az(),N5)),c=p$e(e.i,u,a,p5),l9e(e.f,u,a),l=yWe(e.b,u,a)+F(i.a,15).a+F(c.a,15).a+e.f.d,s=yWe(e.b,a,u)+F(i.b,15).a+F(c.b,15).a+e.f.b,e.a&&(d=F(q(u,w$),12),o=F(q(a,w$),12),r=rQe(e.g,d,o),l+=F(r.a,15).a,s+=F(r.b,15).a),l>s)}function lct(e,t){var n=k(P(q(t,(Hz(),y0)))),r,i,a,o;n<2&&G(t,y0,2),r=F(q(t,w1),86),r==(fM(),y8)&&G(t,w1,EM(t)),i=F(q(t,yAt),15),i.a==0?G(t,(X(),A$),new UM):G(t,(X(),A$),new uE(i.a)),a=rb(q(t,X1)),a??G(t,X1,(xy(),M(q(t,k1))===M((gM(),D8)))),vh(new Px(null,new cT(t.a,16)),new ou(e)),vh(tO(new Px(null,new cT(t.b,16)),new ut),new su(e)),o=new Bst(t),G(t,(X(),F$),o),SC(e.a),jS(e.a,(XF(),hX),F(q(t,C1),188)),jS(e.a,gX,F(q(t,H1),188)),jS(e.a,_X,F(q(t,S1),188)),jS(e.a,vX,F(q(t,e0),188)),jS(e.a,yX,SHe(F(q(t,k1),222))),bme(e.a,idt(t)),G(t,k$,mz(e.a,t))}function uct(e,t,n,i,a){var o,s,c,l,u,d,f=new Cd,p,m,h,g,_,v;for(s=new Sd,q4e(e,n,e.d.zg(),s,f),q4e(e,i,e.d.Ag(),s,f),e.b=.2*(g=r5e(tO(new Px(null,new cT(s,16)),new Fi)),_=r5e(tO(new Px(null,new cT(s,16)),new Bte)),r.Math.min(g,_)),o=0,c=0;c=2&&(v=y7e(s,!0,p),!e.e&&(e.e=new Eoe(e)),BJe(e.e,v,s,e.b)),H1e(s,p),yct(s),m=-1,d=new D(s);d.a0&&(n+=c.n.a+c.o.a/2,++d),m=new D(c.j);m.a0&&(n/=d),_=H(Z9,IV,30,r.a.c.length,15,1),s=0,l=new D(r.a);l.a-1){for(a=$N(c,0);a.b!=a.d.c;)i=F(HT(a),132),i.v=s;for(;c.b!=0;)for(i=F(oF(c,0),132),n=new D(i.i);n.a-1){for(o=new D(c);o.a0)&&(dl(l,r.Math.min(l.o,a.o-1)),ul(l,l.i-1),l.i==0&&Fd(c.c,l))}}function bct(e,t,n,i,a){var o,s,c,l=AV;return s=!1,c=Hat(e,Eb(new j(t.a,t.b),e),Tb(new j(n.a,n.b),a),Eb(new j(i.a,i.b),n)),o=!!c&&!(r.Math.abs(c.a-e.a)<=cK&&r.Math.abs(c.b-e.b)<=cK||r.Math.abs(c.a-t.a)<=cK&&r.Math.abs(c.b-t.b)<=cK),c=Hat(e,Eb(new j(t.a,t.b),e),n,a),c&&((r.Math.abs(c.a-e.a)<=cK&&r.Math.abs(c.b-e.b)<=cK)==(r.Math.abs(c.a-t.a)<=cK&&r.Math.abs(c.b-t.b)<=cK)||o?l=r.Math.min(l,iC(Eb(c,n))):s=!0),c=Hat(e,Eb(new j(t.a,t.b),e),i,a),c&&(s||(r.Math.abs(c.a-e.a)<=cK&&r.Math.abs(c.b-e.b)<=cK)==(r.Math.abs(c.a-t.a)<=cK&&r.Math.abs(c.b-t.b)<=cK)||o)&&(l=r.Math.min(l,iC(Eb(c,i)))),l}function xct(e){Fh(e,new BF(hm(vm(mm(_m(gm(new za,iU),hpt),`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 ct),IH))),V(e,iU,WH,tP(fCt)),V(e,iU,KH,(xy(),!0)),V(e,iU,XH,tP(hCt)),V(e,iU,aU,tP(gCt)),V(e,iU,YH,tP(_Ct)),V(e,iU,ZH,tP(mCt)),V(e,iU,qH,tP(vCt)),V(e,iU,QH,tP(yCt)),V(e,iU,upt,tP(dCt)),V(e,iU,fpt,tP(lCt)),V(e,iU,ppt,tP(uCt)),V(e,iU,mpt,tP(pCt)),V(e,iU,dpt,tP(dX))}function Sct(e){for(var t=null,n,r=new D(e),i,a,o,s,c;r.a0&&n.c==0&&(!t&&(t=new Sd),Fd(t.c,n));if(t)for(;t.c.length!=0;){if(n=F(LE(t,0),239),n.b&&n.b.c.length>0){for(a=(!n.b&&(n.b=new Sd),new D(n.b));a.aPD(e,n,0))return new M_(i,n)}else if(k(ey(i.g,i.d[0]).a)>k(ey(n.g,n.d[0]).a))return new M_(i,n)}for(s=(!n.e&&(n.e=new Sd),n.e).Jc();s.Ob();)o=F(s.Pb(),239),c=(!o.b&&(o.b=new Sd),o.b),Jw(0,c.c.length),_g(c.c,0,n),o.c==c.c.length&&Fd(t.c,o)}return null}function bz(e,t){var n,r,i,a,o,s,c,l,u;if(t.e==5)nct(e,t);else if(l=t,l.b!=null&&e.b!=null){for(iL(e),lz(e),iL(l),lz(l),n=H(q9,dV,30,e.b.length+l.b.length,15,1),u=0,r=0,o=0;r=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(c0),F(u.a.Xb(u.c=--u.b),17));a!=r&&u.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(qy(u.b>0),F(u.a.Xb(u.c=--u.b),17));u.b>0&&uC(u)}}function Ect(e,t,n){var i,a,o,s,c,l,u,d,f,p;if(n)for(i=-1,d=new OT(t,0);d.b0?i-=864e5:i+=864e5,c=new Eve(NM(uA(t.q.getTime()),i))),u=new lm,l=e.a.length,a=0;a=97&&r<=122||r>=65&&r<=90){for(o=a+1;o=l)throw O(new Rp(`Missing trailing '`));o+1=14&&u<=16))?t.a._b(r)?(n.a?Q_(n.a,n.b):n.a=new vy(n.d),X_(n.a,`[...]`)):(s=MO(r),l=new Nx(t),zE(n,jct(s,l))):N(r,171)?zE(n,k3e(F(r,171))):N(r,195)?zE(n,L1e(F(r,195))):N(r,201)?zE(n,j2e(F(r,201))):N(r,2076)?zE(n,R1e(F(r,2076))):N(r,54)?zE(n,O3e(F(r,54))):N(r,585)?zE(n,t6e(F(r,585))):N(r,831)?zE(n,D3e(F(r,831))):N(r,108)&&zE(n,E3e(F(r,108))):zE(n,r==null?cB:qM(r));return n.a?n.e.length==0?n.a.a:n.a.a+(``+n.e):n.c}function xz(e,t){var n,r,i,a=e.F;t==null?(e.F=null,kj(e,null)):(e.F=(pC(t),t),r=uv(t,GF(60)),r==-1?(i=t,uv(t,GF(46))==-1&&(r=uv(t,GF(91)),r!=-1&&(i=(rD(0,r,t.length),t.substr(0,r))),!jb(i,$z)&&!jb(i,wq)&&!jb(i,Tq)&&!jb(i,Eq)&&!jb(i,Dq)&&!jb(i,Oq)&&!jb(i,kq)&&!jb(i,Aq)?(i=iyt,r!=-1&&(i+=``+(uT(r,t.length+1),t.substr(r)))):i=t),kj(e,i),i==t&&(e.F=e.D)):(i=(rD(0,r,t.length),t.substr(0,r)),uv(t,GF(46))==-1&&!jb(i,$z)&&!jb(i,wq)&&!jb(i,Tq)&&!jb(i,Eq)&&!jb(i,Dq)&&!jb(i,Oq)&&!jb(i,kq)&&!jb(i,Aq)&&(i=iyt),n=hy(t,GF(62)),n!=-1&&(i+=``+(uT(n+1,t.length+1),t.substr(n+1))),kj(e,i))),e.Db&4&&!(e.Db&1)&&aA(e,new hS(e,1,5,a,t))}function Mct(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.c=e.e,m=rb(q(t,(Hz(),bAt))),p=m==null||(pC(m),m),a=F(q(t,(X(),c$)),22).Gc((HL(),kQ)),i=F(q(t,l0),102),n=i!=(PF(),e5)&&i!=n5&&i!=t5,p&&(n||!a)){for(d=new D(t.a);d.a=0)return i=nqe(e,(rD(1,o,t.length),t.substr(1,o-1))),u=(rD(o+1,c,t.length),t.substr(o+1,c-(o+1))),Lut(e,u,i)}else{if(n=-1,Nbt??=RegExp(`\\d`),Nbt.test(String.fromCharCode(s))&&(n=xye(t,GF(46),c-1),n>=0)){r=F(jE(e,yze(e,(rD(1,n,t.length),t.substr(1,n-1))),!1),61),l=0;try{l=yR((uT(n+1,t.length+1),t.substr(n+1)),WB,nB)}catch(e){throw e=LA(e),N(e,131)?(a=e,O(new UD(a))):O(e)}if(l>16==-10?n=F(e.Cb,293).Wk(t,n):e.Db>>16==-15&&(!t&&(t=(Yz(),e9)),!l&&(l=(Yz(),e9)),e.Cb.Vh()&&(c=new WD(e.Cb,1,13,l,t,yP(BD(F(e.Cb,62)),e),!1),n?n.lj(c):n=c));else if(N(e.Cb,88))e.Db>>16==-23&&(N(t,88)||(t=(Yz(),t9)),N(l,88)||(l=(Yz(),t9)),e.Cb.Vh()&&(c=new WD(e.Cb,1,10,l,t,yP(tE(F(e.Cb,29)),e),!1),n?n.lj(c):n=c));else if(N(e.Cb,446))for(s=F(e.Cb,835),o=(!s.b&&(s.b=new ud(new Zf)),s.b),a=(r=new nA(new kl(o.a).a),new dd(r));a.a.b;)i=F(vk(a.a).jd(),87),n=Sz(i,hL(i,s),n)}return n}function Fct(e,t){var n,r,i,a,o=Hp(rb(Y(e,(Hz(),I1)))),s,c,l,u,d,f=F(Y(e,d0),22);for(c=!1,l=!1,d=new dy((!e.c&&(e.c=new I(m7,e,9,9)),e.c));d.e!=d.i.gc()&&(!c||!l);){for(a=F(nP(d),125),s=0,i=yS(ZO(W(A(AJ,1),sB,20,0,[(!a.d&&(a.d=new kb(i7,a,8,5)),a.d),(!a.e&&(a.e=new kb(i7,a,7,4)),a.e)])));eL(i)&&(r=F(OE(i),85),u=o&&BI(r)&&Hp(rb(Y(r,L1))),n=Yot((!r.b&&(r.b=new kb(r7,r,4,7)),r.b),a)?e==Bw(RF(F(U((!r.c&&(r.c=new kb(r7,r,5,8)),r.c),0),84))):e==Bw(RF(F(U((!r.b&&(r.b=new kb(r7,r,4,7)),r.b),0),84))),!((u||n)&&(++s,s>1))););(s>0||f.Gc((NI(),c5))&&(!a.n&&(a.n=new I(f7,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(l=!0)}c&&t.Ec((HL(),kQ)),l&&t.Ec((HL(),AQ))}function Ict(e){var t,n,i,a,o,s,c,l,u,d,f,p=F(Y(e,(Gz(),z6)),22);if(p.dc())return null;if(c=0,s=0,p.Gc((CN(),R5))){for(d=F(Y(e,Z6),102),i=2,n=2,a=2,o=2,t=Bw(e)?F(Y(Bw(e),O6),86):F(Y(e,O6),86),u=new dy((!e.c&&(e.c=new I(m7,e,9,9)),e.c));u.e!=u.i.gc();)if(l=F(nP(u),125),f=F(Y(l,t8),64),f==(Az(),M5)&&(f=Iit(l,t),uP(l,t8,f)),d==(PF(),t5))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 jz(e,c,s,!0,!0)}function Lct(e,t){var n,i,a=null,o,s,c,l,u,d,f,p,m,h,g;for(i=new D(t.a);i.a1)for(a=e.e.b,mx(e.e,l),c=l.a.ec().Jc();c.Ob();)s=F(c.Pb(),9),vC(e.c,s,K(a))}}function zct(e,t,n,a){var o,s=new V6e(t),c,l,u,d,f,p=ytt(e,t,s),m,h=r.Math.max(k(P(q(t,(Hz(),M1)))),1);for(f=new D(p.a);f.a=0){for(c=null,s=new OT(u.a,l+1);s.b0,l?l&&(f=_.p,o?++f:--f,d=F(jx(_.c.a,f),9),r=xUe(d),p=!($7e(r,S,n[0])||pTe(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&&hs?1:yb(!1,isNaN(s)))<0&&($O(lG),(r.Math.abs(s-1)<=lG||s==1?0:s<1?-1:s>1?1:yb(isNaN(s),!1))<0)&&($O(lG),(r.Math.abs(0-c)<=lG||c==0?0:0c?1:yb(!1,isNaN(c)))<0)&&($O(lG),(r.Math.abs(c-1)<=lG||c==1?0:c<1?-1:c>1?1:yb(isNaN(c),!1))<0)),o)}function Jct(e){var t,n,i,a,o,s,c,l,u,d,f;for(e.j=H(q9,dV,30,e.g,15,1),e.o=new Sd,vh(tO(new Px(null,new cT(e.e.b,16)),new Ote),new Soe(e)),e.a=H(J9,uH,30,e.b,16,1),tM(new Px(null,new cT(e.e.b,16)),new woe(e)),i=(f=new Sd,vh(MC(tO(new Px(null,new cT(e.e.b,16)),new Ci),new Coe(e)),new Sfe(e,f)),f),l=new D(i);l.a=u.c.c.length?$Ne((uL(),VX),zX):$Ne((uL(),zX),zX),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 Tz(e,t){var n;if(e.e)throw O(new zp((nb(MY),oH+MY.k+sH)));if(!$de(e.a,t))throw O(new xp(Nft+t+Pft));if(t==e.d)return e;switch(n=e.d,e.d=t,n.g){case 0:switch(t.g){case 2:UP(e);break;case 1:ej(e),UP(e);break;case 4:TF(e),UP(e);break;case 3:TF(e),ej(e),UP(e)}break;case 2:switch(t.g){case 1:ej(e),tR(e);break;case 4:TF(e),UP(e);break;case 3:TF(e),ej(e),UP(e)}break;case 1:switch(t.g){case 2:ej(e),tR(e);break;case 4:ej(e),TF(e),UP(e);break;case 3:ej(e),TF(e),ej(e),UP(e)}break;case 4:switch(t.g){case 2:TF(e),UP(e);break;case 1:TF(e),ej(e),UP(e);break;case 3:ej(e),tR(e)}break;case 3:switch(t.g){case 2:ej(e),TF(e),UP(e);break;case 1:ej(e),TF(e),ej(e),UP(e);break;case 4:ej(e),tR(e)}}return e}function Ez(e,t){var n;if(e.d)throw O(new zp((nb(CX),oH+CX.k+sH)));if(!Qde(e.a,t))throw O(new xp(Nft+t+Pft));if(t==e.c)return e;switch(n=e.c,e.c=t,n.g){case 0:switch(t.g){case 2:aj(e);break;case 1:$A(e),aj(e);break;case 4:EF(e),aj(e);break;case 3:EF(e),$A(e),aj(e)}break;case 2:switch(t.g){case 1:$A(e),nR(e);break;case 4:EF(e),aj(e);break;case 3:EF(e),$A(e),aj(e)}break;case 1:switch(t.g){case 2:$A(e),nR(e);break;case 4:$A(e),EF(e),aj(e);break;case 3:$A(e),EF(e),$A(e),aj(e)}break;case 4:switch(t.g){case 2:EF(e),aj(e);break;case 1:EF(e),$A(e),aj(e);break;case 3:$A(e),nR(e)}break;case 3:switch(t.g){case 2:$A(e),EF(e),aj(e);break;case 1:$A(e),EF(e),$A(e),aj(e);break;case 4:$A(e),nR(e)}}return e}function Yct(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 OT(d,0),vb(u,new YS(e)),v=!1,o=1;u.b `):t.a+=`Root `,n=e.Ah().zb,jb(n.substr(0,3),`Elk`)?Q_(t,(uT(3,n.length+1),n.substr(3))):t.a+=``+n,i=e.ih(),i)Q_((t.a+=` `,t),i);else if(N(e,362)&&(l=F(e,157).a,l))Q_((t.a+=` `,t),l);else{for(o=new dy(e.jh());o.e!=o.i.gc();)if(a=F(nP(o),157),l=a.a,l){Q_((t.a+=` `,t),l);return}if(N(e,271)&&(r=F(e,85),!r.b&&(r.b=new kb(r7,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new kb(r7,r,5,8)),r.c.i!=0))){for(t.a+=` (`,s=new Py((!r.b&&(r.b=new kb(r7,r,4,7)),r.b));s.e!=s.i.gc();)s.e>0&&(t.a+=oB),Dz(F(nP(s),174),t);for(t.a+=yU,c=new Py((!r.c&&(r.c=new kb(r7,r,5,8)),r.c));c.e!=c.i.gc();)c.e>0&&(t.a+=oB),Dz(F(nP(c),174),t);t.a+=`)`}}}function Xct(e,t,n){for(var i,a,o,s,c,l=new dy((!e.a&&(e.a=new I(p7,e,10,11)),e.a)),u,d;l.e!=l.i.gc();)for(c=F(nP(l),26),a=new iS(my(pL(c).a.Jc(),new f));eL(a);){if(i=F(OE(a),85),!i.b&&(i.b=new kb(r7,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new kb(r7,i,5,8)),i.c.i<=1)))throw O(new Xp(`Graph must not contain hyperedges.`));if(!XI(i)&&c!=RF(F(U((!i.c&&(i.c=new kb(r7,i,5,8)),i.c),0),84)))for(u=new qve,vA(u,i),G(u,(Ek(),lX),i),Iie(u,F(V_(Jx(n.f,c)),155)),rl(u,F(JS(n,RF(F(U((!i.c&&(i.c=new kb(r7,i,5,8)),i.c),0),84))),155)),iy(t.c,u),s=new dy((!i.n&&(i.n=new I(f7,i,1,7)),i.n));s.e!=s.i.gc();)o=F(nP(s),157),d=new nPe(u,o.a),vA(d,o),G(d,lX,o),d.e.a=r.Math.max(o.g,1),d.e.b=r.Math.max(o.f,1),Fat(d),iy(t.d,d)}}function Zct(e,t,n){var i,a,o,s,c,l,u,d,f,p;switch(n.Tg(`Node promotion heuristic`,1),e.i=t,e.r=F(q(t,(Hz(),V1)),243),e.r!=(cR(),r2)&&e.r!=i2?Rlt(e):Bet(e),d=F(q(e.i,eAt),15).a,o=new zn,e.r.g){case 2:case 1:cz(e,o);break;case 3:for(e.r=c2,cz(e,o),l=0,c=new D(e.b);c.ae.k&&(e.r=a2,cz(e,o));break;case 4:for(e.r=c2,cz(e,o),u=0,a=new D(e.c);a.ae.n&&(e.r=o2,cz(e,o));break;case 6:p=Ew(r.Math.ceil(e.g.length*d/100)),cz(e,new xu(p));break;case 5:f=Ew(r.Math.ceil(e.e*d/100)),cz(e,new Lae(f));break;case 8:pdt(e,!0);break;case 9:pdt(e,!1);break;default:cz(e,o)}e.r!=r2&&e.r!=i2?V9e(e,t):cnt(e,t),n.Ug()}function Qct(e,t){var n,i,a,o,s,c,l,u,d,f=new Dlt(e),p,m,h,g,_,v,y,b;for(Ike(f,t!=(fM(),b8)&&t!=g8),d=f.a,p=new Rf,a=(TO(),W(A(IY,1),Z,237,0,[NY,PY,FY])),s=0,l=a.length;s0&&(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 $ct(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+=mL(e.i,24)*YV*.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 rlt(e){for(var t,n,r,i,a,o,s,c,l,u,d,f,p,m=new D(e),h,g;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 alt(e,t){var n,r,i,a,o,s,c,l=``,u;return t.length==0?e.le(rft,qB,-1,-1):(u=CI(t),jb(u.substr(0,3),`at `)&&(u=(uT(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=CI((uT(o+1,u.length+1),u.substr(o+1))),u=CI((rD(0,o,u.length),u.substr(0,o))))):(n=u.indexOf(`)`,o),l=(rD(o+1,n,u.length),u.substr(o+1,n-(o+1))),u=CI((rD(0,o,u.length),u.substr(0,o)))),o=uv(u,GF(46)),o!=-1&&(u=(uT(o+1,u.length+1),u.substr(o+1))),(u.length==0||jb(u,`Anonymous function`))&&(u=qB),s=hy(l,GF(58)),i=xye(l,GF(58),s-1),c=-1,r=-1,a=rft,s!=-1&&i!=-1&&(a=(rD(0,i,l.length),l.substr(0,i)),c=r_e((rD(i+1,s,l.length),l.substr(i+1,s-(i+1)))),r=r_e((uT(s+1,l.length+1),l.substr(s+1)))),e.le(a,u,c,r))}function olt(e){for(var t,n,r,i,a,o,s,c,l=new D(e),u,d;l.a0||u.j==N5&&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 clt(e,t,n,r){var i,a,o,s=new Dlt(t),c;return m9e(s,r),i=!0,e&&e.nf((Gz(),O6))&&(a=F(e.mf((Gz(),O6)),86),i=a==(fM(),y8)||a==_8||a==v8),Ntt(s,!1),SO(s.e.Pf(),new gbe(s,!1,i)),kw(s,s.f,(TO(),NY),(Az(),m5)),kw(s,s.f,FY,j5),kw(s,s.g,NY,N5),kw(s,s.g,FY,p5),eXe(s,m5),eXe(s,j5),ADe(s,p5),ADe(s,N5),mb(),o=s.A.Gc((CN(),I5))&&s.B.Gc((_R(),W5))?Qqe(s):null,o&&Zce(s.a,o),ilt(s),kZe(s),AZe(s),wct(s),oit(s),OQe(s),UN(s,m5),UN(s,j5),nnt(s),zot(s),n&&(fqe(s),kQe(s),UN(s,p5),UN(s,N5),c=s.B.Gc((_R(),G5)),_3e(s,c,m5),_3e(s,c,j5),v3e(s,c,p5),v3e(s,c,N5),vh(new Px(null,new cT(new jl(s.i),0)),new qe),vh(MC(new Px(null,vEe(s.r).a.oc()),new Je),new Ye),D1e(s),s.e.Nf(s.o),vh(new Px(null,vEe(s.r).a.oc()),new Xe)),s.o}function llt(e){var t,n,i,a,o,s,c,l,u=AV,d,f,p,m,h,g;for(i=new D(e.a.b);i.a1)for(m=new Got(h,b,i),_E(b,new Afe(e,m)),Fd(s.c,m),f=b.a.ec().Jc();f.Ob();)d=F(f.Pb(),49),ND(o,d.b);if(c.a.gc()>1)for(m=new Got(h,c,i),_E(c,new jfe(e,m)),Fd(s.c,m),f=c.a.ec().Jc();f.Ob();)d=F(f.Pb(),49),ND(o,d.b)}}function hlt(e,t){var n,i,a,o,s,c;if(F(q(t,(X(),c$)),22).Gc((HL(),kQ))){for(c=new D(t.a);c.a=0&&o0&&(F(bC(e.b,t),127).a.b=n)}function wlt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p=0,m,h,g,_;for(r=new lf,a=new dy((!t.a&&(t.a=new I(p7,t,10,11)),t.a));a.e!=a.i.gc();)i=F(nP(a),26),Hp(rb(Y(i,(Hz(),a0))))||(d=Bw(i),qR(d)&&!Hp(rb(Y(i,p1)))&&(uP(i,(X(),C$),K(p)),++p,nD(i,d1)&&ES(r,F(Y(i,d1),15))),dlt(e,i,n));for(G(n,(X(),S$),K(p)),G(n,XQ,K(r.a.gc())),p=0,u=new dy((!t.b&&(t.b=new I(i7,t,12,3)),t.b));u.e!=u.i.gc();)c=F(nP(u),85),qR(t)&&(uP(c,C$,K(p)),++p),g=$F(c),_=X0e(c),f=Hp(rb(Y(g,(Hz(),I1)))),h=!Hp(rb(Y(c,a0))),m=f&&BI(c)&&Hp(rb(Y(c,L1))),o=Bw(g)==t&&Bw(g)==Bw(_),s=(Bw(g)==t&&_==t)^(Bw(_)==t&&g==t),h&&!m&&(s||o)&&wdt(e,c,t,n);if(Bw(t))for(l=new dy(XDe(Bw(t)));l.e!=l.i.gc();)c=F(nP(l),85),g=$F(c),g==t&&BI(c)&&(m=Hp(rb(Y(g,(Hz(),I1))))&&Hp(rb(Y(c,L1))),m&&wdt(e,c,t,n))}function Tlt(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=new Sd,ee,te,ne,C,re;for(m=new D(e.b);m.a=e.length)return{done:!0};var r=e[n++];return{value:[r,t.get(r)],done:!1}}}},vtt()||(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[GV]=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 kz(){kz=C,m4=new id(opt),new id(spt),new xb(`DEPTH`,K(0)),i4=new xb(`FAN`,K(0)),XMt=new xb(Fht,K(0)),v4=new xb(`ROOT`,(xy(),!1)),c4=new xb(`LEFTNEIGHBOR`,null),eNt=new xb(`RIGHTNEIGHBOR`,null),l4=new xb(`LEFTSIBLING`,null),_4=new xb(`RIGHTSIBLING`,null),r4=new xb(`DUMMY`,!1),new xb(`LEVEL`,K(0)),$Mt=new xb(`REMOVABLE_EDGES`,new uh),y4=new xb(`XCOOR`,K(0)),b4=new xb(`YCOOR`,K(0)),u4=new xb(`LEVELHEIGHT`,0),f4=new xb(`LEVELMIN`,0),d4=new xb(`LEVELMAX`,0),a4=new xb(`GRAPH_XMIN`,0),o4=new xb(`GRAPH_YMIN`,0),ZMt=new xb(`GRAPH_XMAX`,0),QMt=new xb(`GRAPH_YMAX`,0),YMt=new xb(`COMPACT_LEVEL_ASCENSION`,!1),n4=new xb(`COMPACT_CONSTRAINTS`,new Sd),s4=new xb(`ID`,``),h4=new xb(`POSITION`,K(0)),g4=new xb(`PRELIM`,0),p4=new xb(`MODIFIER`,0),t4=new id(cpt),e4=new id(lpt)}function Mlt(e){jit();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,YB,30,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),kN(a,0,a.length)}function Nlt(e,t){var n,i,a,o,s,c,l;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>WB&&aPe(t,e.p-uV),s=t.q.getDate(),Mw(t,1),e.k>=0&&hAe(t,e.k),e.c>=0?Mw(t,e.c):e.k>=0?(l=new IUe(t.q.getFullYear()-uV,t.q.getMonth(),35),i=35-l.q.getDate(),Mw(t,r.Math.min(i,s))):Mw(t,s),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Ohe(t,e.f==24&&e.g?0:e.f),e.j>=0&&jFe(t,e.j),e.n>=0&&LIe(t,e.n),e.i>=0&&zpe(t,NM(PM(yF(uA(t.q.getTime()),XB),XB),e.i)),e.a&&(a=new Kh,aPe(a,a.q.getFullYear()-uV-80),Yh(uA(t.q.getTime()),uA(a.q.getTime()))&&aPe(t,a.q.getFullYear()-uV+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),c=t.q.getMonth(),Mw(t,t.q.getDate()+n),t.q.getMonth()!=c&&Mw(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>WB&&(o=t.q.getTimezoneOffset(),zpe(t,NM(uA(t.q.getTime()),(e.o-o)*60*XB))),!0}function Plt(e,t){var n,r,i=q(t,(X(),w$)),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(N(i,206)){for(m=F(i,26),h=t.e,f=new mv(t.c),a=t.d,f.a+=a.b,f.b+=a.d,b=F(Y(m,(Hz(),i0)),182),ky(b,(_R(),H5))&&(p=F(Y(m,oAt),104),Pie(p,a.a),Lie(p,a.d),nl(p,a.b),Fie(p,a.c)),n=new Sd,u=new D(t.a);u.ar.c.length-1;)iy(r,new M_(oG,Mht));n=F(q(i,E4),15).a,bv(F(q(e,x4),86))?(i.e.ak(P((lT(n,r.c.length),F(r.c[n],49)).b))&&gl((lT(n,r.c.length),F(r.c[n],49)),i.e.a+i.f.a)):(i.e.bk(P((lT(n,r.c.length),F(r.c[n],49)).b))&&gl((lT(n,r.c.length),F(r.c[n],49)),i.e.b+i.f.b))}for(a=$N(e.b,0);a.b!=a.d.c;)i=F(HT(a),40),n=F(q(i,(MR(),E4)),15).a,G(i,(kz(),f4),P((lT(n,r.c.length),F(r.c[n],49)).a)),G(i,d4,P((lT(n,r.c.length),F(r.c[n],49)).b));t.Ug()}function Rlt(e){var t,n,i,a,o,s,c,l,u,d,p,m,h,g,_;for(e.o=k(P(q(e.i,(Hz(),k0)))),e.f=k(P(q(e.i,C0))),e.j=e.i.b.c.length,c=e.j-1,m=0,e.k=0,e.n=0,e.b=NE(H(tY,xB,15,e.j,0,1)),e.c=NE(H($J,xB,346,e.j,7,1)),s=new D(e.i.b);s.a0&&iy(e.q,d),iy(e.p,d);t-=i,h=l+t,u+=t*e.f,gE(e.b,c,K(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 zlt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(t.b!=0){for(m=new uh,c=null,h=null,i=Ew(r.Math.floor(r.Math.log(t.b)*r.Math.LOG10E)+1),l=0,b=$N(t,0);b.b!=b.d.c;)for(v=F(HT(b),40),M(h)!==M(q(v,(kz(),s4)))&&(h=ib(q(v,s4)),l=0),c=h==null?qje(l++,i):h+qje(l++,i),G(v,s4,c),_=(a=$N(new Bu(v).a.d,0),new Vu(a));Wm(_.a);)g=F(HT(_.a),65).c,pE(m,g,m.c.b,m.c),G(g,s4,c);for(p=new Cd,s=0;s0&&(x-=h),ust(s,x),d=0,m=new D(s.a);m.a0),c.a.Xb(c.c=--c.b)),l=.4*i*d,!o&&c.b0&&(c=(uT(0,t.length),t.charCodeAt(0)),c!=64)){if(c==37&&(d=t.lastIndexOf(`%`),l=!1,d!=0&&(d==f-1||(l=(uT(d+1,t.length),t.charCodeAt(d+1)==46))))){if(o=(rD(1,d,t.length),t.substr(1,d-1)),y=jb(`%`,o)?null:Zlt(o),r=0,l)try{r=yR((uT(d+2,t.length+1),t.substr(d+2)),WB,nB)}catch(e){throw e=LA(e),N(e,131)?(s=e,O(new UD(s))):O(e)}for(g=$Be(e.Dh());g.Ob();)if(m=mA(g),N(m,505)&&(i=F(m,588),v=i.d,(y==null?v==null:jb(y,v))&&r--==0))return i;return null}if(u=t.lastIndexOf(`.`),p=u==-1?t:(rD(0,u,t.length),t.substr(0,u)),n=0,u!=-1)try{n=yR((uT(u+1,t.length+1),t.substr(u+1)),WB,nB)}catch(e){if(e=LA(e),N(e,131))p=t;else throw O(e)}for(p=jb(`%`,p)?null:Zlt(p),h=$Be(e.Dh());h.Ob();)if(m=mA(h),N(m,197)&&(a=F(m,197),_=a.ve(),(p==null?_==null:jb(p,_))&&n--==0))return a;return null}return Nct(e,t)}function qlt(e){var t,n,r,i,a,o,s,c,l,u=new Cd,d,p,m,h,g,_,v,y;for(c=new xw,r=new D(e.a.a.b);r.at.d.c){if(m=e.c[t.a.d],_=e.c[d.a.d],m==_)continue;ML(Ch(Sh(wh(xh(new mf,1),100),m),_))}}}}}function Jlt(e,t){var n,i,a,o,s,c,l,u,d,f,p=F(F(ME(e.r,t),22),83),m,h,g,_,v,y,b,x,S,ee;if(t==(Az(),p5)||t==N5)Clt(e,t);else{for(o=t==m5?(EA(),qY):(EA(),XY),x=t==m5?(nO(),WY):(nO(),HY),n=F(bC(e.b,t),127),i=n.i,a=i.c+xO(W(A(Z9,1),IV,30,15,[n.n.b,e.C.b,e.k])),v=i.c+i.b-xO(W(A(Z9,1),IV,30,15,[n.n.c,e.C.c,e.k])),s=qce(xbe(o),e.t),y=t==m5?jV:AV,f=p.Jc();f.Ob();)u=F(f.Pb(),115),!(!u.c||u.c.d.c.length<=0)&&(_=u.b.Kf(),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),mw(x,Kft),m.f=x,lD(m,(wD(),VY)),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),iy(s.d,new Iwe(h,vKe(s,h))),y=t==m5?r.Math.max(y,g.b+u.b.Kf().b):r.Math.min(y,g.b));for(y+=t==m5?e.t:-e.t,b=Wqe((s.e=y,s)),b>0&&(F(bC(e.b,t),127).a.b=b),d=p.Jc();d.Ob();)u=F(d.Pb(),115),!(!u.c||u.c.d.c.length<=0)&&(h=u.c.i,h.c-=u.e.a,h.d-=u.e.b)}}function Ylt(e,t){QR();var n,r,i,a,o,s,c=Bj(e,0)<0,l,u,d,f,p,m,h;if(c&&(e=jD(e)),Bj(e,0)==0)switch(t){case 0:return`0`;case 1:return zV;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 cm,t<0?p.a+=`0E+`:p.a+=`0E`,p.a+=t==WB?`2147483648`:``+-t,p.a}u=18,d=H(K9,YB,30,u+1,15,1),n=u,h=e;do l=h,h=yF(h,10),d[--n]=Gx(NM(48,FM(l,PM(h,10))))&ZB;while(Bj(h,0)!=0);if(i=FM(FM(FM(u,n),t),1),t==0)return c&&(d[--n]=45),kN(d,n,u-n);if(t>0&&Bj(i,-6)>=0){if(Bj(i,0)>=0){for(a=n+Gx(i),s=u-1;s>=a;s--)d[s+1]=d[s];return d[++a]=46,c&&(d[--n]=45),kN(d,n,u-n+1)}for(o=2;Yh(o,NM(jD(i),1));o++)d[--n]=48;return d[--n]=46,d[--n]=48,c&&(d[--n]=45),kN(d,n,u-n)}return m=n+1,r=u,f=new lm,c&&(f.a+=`-`),r-m>=1?(nC(f,d[n]),f.a+=`.`,f.a+=kN(d,n+1,u-n-1)):f.a+=kN(d,n,u-n),f.a+=`E`,Bj(i,0)>0&&(f.a+=`+`),f.a+=``+uS(i),f.a}function Xlt(e){Fh(e,new BF(hm(vm(mm(_m(gm(new za,LG),`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 ma),LG))),V(e,LG,$W,tP(EPt)),V(e,LG,RH,tP(APt)),V(e,LG,XH,tP(bPt)),V(e,LG,aU,tP(xPt)),V(e,LG,YH,tP(SPt)),V(e,LG,ZH,tP(yPt)),V(e,LG,qH,tP(CPt)),V(e,LG,QH,tP(TPt)),V(e,LG,PG,tP(H4)),V(e,LG,NG,tP(U4)),V(e,LG,MG,tP(DPt)),V(e,LG,FG,tP(K4)),V(e,LG,IG,tP(OPt)),V(e,LG,agt,tP(kPt)),V(e,LG,igt,tP(wPt)),V(e,LG,egt,tP(W4)),V(e,LG,tgt,tP(G4)),V(e,LG,ngt,tP(q4)),V(e,LG,rgt,tP(jPt)),V(e,LG,$ht,tP(vPt))}function jz(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=W4e(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=Bw(e)?F(Y(Bw(e),(Gz(),O6)),86):F(Y(e,(Gz(),O6)),86),c=M(Y(e,(Gz(),Z6)))===M((PF(),t5)),y=new dy((!e.c&&(e.c=new I(m7,e,9,9)),e.c));y.e!=y.i.gc();)switch(v=F(nP(y),125),b=F(Y(v,t8),64),b==(Az(),M5)&&(b=Iit(v,s),uP(v,t8,b)),b.g){case 1:c||BO(v,v.i*ee);break;case 2:BO(v,v.i+x),c||VO(v,v.j*d);break;case 3:c||BO(v,v.i*ee),VO(v,v.j+l);break;case 4:c||VO(v,v.j*d)}if(Cv(e,g.a,g.b),a)for(p=new dy((!e.n&&(e.n=new I(f7,e,1,7)),e.n));p.e!=p.i.gc();)f=F(nP(p),157),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?(BO(f,f.i+x),VO(f,f.j+l*u)):S-u<0&&m>=0&&(BO(f,f.i+x*S),VO(f,f.j+l)));return uP(e,(Gz(),z6),(CN(),o=F(Fm(B5),10),new Bb(o,F(bb(o,o.length),10),0))),new j(ee,d)}function Mz(e){var t,n,r,i,a,o,s,c,l,u,d;if(e==null)throw O(new um(cB));if(l=e,a=e.length,c=!1,a>0&&(t=(uT(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(uT(1,e.length+1),e.substr(1)),--a,c=t==45)),a==0)throw O(new um(kV+l+`"`));for(;e.length>0&&(uT(0,e.length),e.charCodeAt(0)==48);)e=(uT(1,e.length+1),e.substr(1)),--a;if(a>(pit(),zbt)[10])throw O(new um(kV+l+`"`));for(i=0;i0&&(d=-parseInt((rD(0,r,e.length),e.substr(0,r)),10),e=(uT(r,e.length+1),e.substr(r)),a-=r,n=!1);a>=o;){if(r=parseInt((rD(0,o,e.length),e.substr(0,o)),10),e=(uT(o,e.length+1),e.substr(o)),a-=o,n)n=!1;else{if(Bj(d,s)<0)throw O(new um(kV+l+`"`));d=PM(d,u)}d=FM(d,r)}if(Bj(d,0)>0||!c&&(d=jD(d),Bj(d,0)<0))throw O(new um(kV+l+`"`));return d}function Zlt(e){sz();var t,n,r,i,a,o,s,c;if(e==null)return null;if(i=uv(e,GF(37)),i<0)return e;for(c=new vy((rD(0,i,e.length),e.substr(0,i))),t=H(X9,FK,30,4,15,1),s=0,r=0,o=e.length;ii+2&&JA((uT(i+1,e.length),e.charCodeAt(i+1)),xBt,SBt)&&JA((uT(i+2,e.length),e.charCodeAt(i+2)),xBt,SBt)){if(n=sCe((uT(i+1,e.length),e.charCodeAt(i+1)),(uT(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:nC(c,((t[0]&31)<<6|t[1]&63)&ZB);break;case 3:nC(c,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&ZB)}s=0,r=0}}else{for(a=0;a=2){if((!e.a&&(e.a=new I(a7,e,6,6)),e.a).i==0)n=(Nm(),a=new lo,a),cD((!e.a&&(e.a=new I(a7,e,6,6)),e.a),n);else if((!e.a&&(e.a=new I(a7,e,6,6)),e.a).i>1)for(p=new Py((!e.a&&(e.a=new I(a7,e,6,6)),e.a));p.e!=p.i.gc();)wF(p);nat(t,F(U((!e.a&&(e.a=new I(a7,e,6,6)),e.a),0),170))}if(f)for(i=new dy((!e.a&&(e.a=new I(a7,e,6,6)),e.a));i.e!=i.i.gc();)for(n=F(nP(i),170),u=new dy((!n.a&&(n.a=new sy(e7,n,5)),n.a));u.e!=u.i.gc();)l=F(nP(u),372),c.a=r.Math.max(c.a,l.a),c.b=r.Math.max(c.b,l.b);for(s=new dy((!e.n&&(e.n=new I(f7,e,1,7)),e.n));s.e!=s.i.gc();)o=F(nP(s),157),d=F(Y(o,M8),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 $lt(e,t,n,r,i){var a,o,s;if(Oze(e,t),o=t[0],a=_C(n.c,0),s=-1,cWe(n)){if(r>0){if(o+r>e.length)return!1;s=zI((rD(0,o+r,e.length),e.substr(0,o+r)),t)}else s=zI(e,t)}switch(a){case 71:return s=fI(e,o,W(A(aY,1),xB,2,6,[ift,aft]),t),i.e=s,!0;case 77:return Get(e,t,i,s,o);case 76:return Ket(e,t,i,s,o);case 69:return Z4e(e,t,o,i);case 99:return Q4e(e,t,o,i);case 97:return s=fI(e,o,W(A(aY,1),xB,2,6,[`AM`,`PM`]),t),i.b=s,!0;case 121:return qet(e,t,o,s,n,i);case 100:return s<=0?!1:(i.c=s,!0);case 83:return s<0?!1:Xqe(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.a=c){qy(y.b>0),y.a.Xb(y.c=--y.b);break}_.a>l&&(i?(FA(i.b,_.b),i.a=r.Math.max(i.a,_.a),uC(y)):(iy(_.b,d),_.c=r.Math.min(_.c,l),_.a=r.Math.max(_.a,c),i=_))}i||(i=new Of,i.c=l,i.a=c,vb(y,i),iy(i.b,d))}for(s=e.b,u=0,v=new D(n);v.a1;){if(a=i9e(t),f=o.g,h=F(Y(t,v3),104),g=k(P(Y(t,p3))),(!t.a&&(t.a=new I(p7,t,10,11)),t.a).i>1&&k(P(Y(t,(QL(),c3))))!=AV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))1&&k(P(Y(t,(QL(),s3))))!=AV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))>g&&uP(a,(QL(),d3),r.Math.max(k(P(Y(t,l3))),k(P(Y(a,d3)))-k(P(Y(t,s3))))),m=new Gfe(i,d),l=odt(m,a,p),u=l.g,u>=f&&u==u){for(s=0;s<(!a.a&&(a.a=new I(p7,a,10,11)),a.a).i;s++)u6e(e,F(U((!a.a&&(a.a=new I(p7,a,10,11)),a.a),s),26),F(U((!t.a&&(t.a=new I(p7,t,10,11)),t.a),s),26));hze(t,m),Ake(o,l.c),jke(o,l.b)}--c}uP(t,(QL(),i3),o.b),uP(t,a3,o.c),n.Ug()}function iut(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Tg(`Compound graph postprocessor`,1),n=Hp(rb(q(e,(Hz(),F0)))),c=F(q(e,(X(),dEt)),229),d=new lf,v=c.ec().Jc();v.Ob();){for(_=F(v.Pb(),17),s=new zb(c.cc(_)),qC(),Vv(s,new cu(e)),S=LVe((lT(0,s.c.length),F(s.c[0],250))),te=RVe(F(jx(s,s.c.length-1),250)),b=S.i,y=cA(te.i,b)?b.e:fC(b),f=BYe(_,s),XC(_.a),p=null,o=new D(s);o.ajH,C=r.Math.abs(p.b-h.b)>jH,(!n&&ne&&C||n&&(ne||C))&&mx(_.a,x)),zk(_.a,i),p=i.b==0?x:(qy(i.b!=0),F(i.c.b.c,8)),GHe(m,f,g),RVe(a)==te&&(fC(te.i)!=a.a&&(g=new Am,A4e(g,fC(te.i),y)),G(_,B$,g)),P2e(m,_,y),d.a.yc(m,d);Hw(_,S),Ww(_,te)}for(u=d.a.ec().Jc();u.Ob();)l=F(u.Pb(),17),Hw(l,null),Ww(l,null);t.Ug()}function aut(e,t){var n,r,i=F(q(e,(MR(),x4)),86),a,o,s,c,l,u=i==(fM(),_8)||i==v8?g8:v8,d,f;for(n=F(dE(MC(new Px(null,new cT(e.b,16)),new qte),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),16),c=F(dE(NC(n.Mc(),new Noe(t)),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[OY]))),16),c.Fc(F(dE(NC(n.Mc(),new Poe(t)),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[OY]))),18)),c.gd(new Foe(u)),f=new Hm(new Ioe(i)),r=new Cd,s=c.Jc();s.Ob();)o=F(s.Pb(),240),l=F(o.a,40),Hp(rb(o.c))?(f.a.yc(l,(xy(),JJ)),new ql(f.a.Xc(l,!1)).a.gc()>0&&vC(r,l,F(new ql(f.a.Xc(l,!1)).a.Tc(),40)),new ql(f.a.$c(l,!0)).a.gc()>1&&vC(r,qqe(f,l),l)):(new ql(f.a.Xc(l,!1)).a.gc()>0&&(a=F(new ql(f.a.Xc(l,!1)).a.Tc(),40),M(a)===M(V_(Jx(r.f,l)))&&F(q(l,(kz(),n4)),16).Ec(a)),new ql(f.a.$c(l,!0)).a.gc()>1&&(d=qqe(f,l),M(V_(Jx(r.f,d)))===M(l)&&F(q(d,(kz(),n4)),16).Ec(l)),f.a.Ac(l))}function out(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 VE;for(a=e.Jc();a.Ob();){for(n=F(a.Pb(),235),h=0,d=nB,f=nB,l=WB,u=WB,m=new D(n.e);m.ac&&(b=0,x+=s+v,s=0),lrt(g,n,b,x),t=r.Math.max(t,b+_.a),s=r.Math.max(s,_.b),b+=_.a+v;return g}function sut(e){jit();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null||(a=KD(e),m=hKe(a),m%4!=0))return null;if(h=m/4|0,h==0)return H(X9,FK,30,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,FK,30,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!rh(o=a[u++])||!rh(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,FK,30,p*3+1,15,1),AR(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,FK,30,p*3+2,15,1),AR(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 cut(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;for(t.Tg(Fpt,1),m=F(q(e,(Hz(),k1)),222),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=Ew(r.Math.floor((i+1)/2))-1,a=Ew(r.Math.ceil((i+1)/2))-1,t.o==z2)for(d=a;d>=u;d--)t.a[x.p]==x&&(g=F(f.Xb(d),49),h=F(g.a,9),!sh(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]=(xy(),!!(Hp(t.f[t.g[x.p].p])&x.k==(uL(),zX))),m=e.b.e[h.p]));else for(d=u;d<=a;d++)t.a[x.p]==x&&(v=F(f.Xb(d),49),_=F(v.a,9),!sh(n,v.b)&&m0&&(a=F(jx(_.c.a,ee-1),9),s=e.i[a.p],ne=r.Math.ceil(qv(e.n,a,_)),o=S.a.e-_.d.d-(s.a.e+a.o.b+a.d.a)-ne),u=AV,ee<_.c.a.c.length-1&&(l=F(jx(_.c.a,ee+1),9),d=e.i[l.p],ne=r.Math.ceil(qv(e.n,l,_)),u=d.a.e-l.d.d-(S.a.e+_.o.b+_.d.a)-ne),n&&(Fv(),$O(lG),r.Math.abs(o-u)<=lG||o==u||isNaN(o)&&isNaN(u))?!0:(i=nEe(b.a),c=-nEe(b.b),f=-nEe(te.a),y=nEe(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 dut(e,t,n){var i=new RC(t.Jf().a,t.Jf().b,t.Kf().a,t.Kf().b),a=new gv,o,s,c,l,u,d,f,p;if(e.c)for(s=new D(t.Pf());s.a0&&Uw(m,(lT(n,t.c.length),F(t.c[n],25))),a=0,p=!0,v=aN(mT(IM(m))),c=v.Jc();c.Ob();){for(s=F(c.Pb(),17),p=!1,d=s,l=0;l(lT(l,t.c.length),F(t.c[l],25)).a.c.length?Uw(i,(lT(l,t.c.length),F(t.c[l],25))):aF(i,r+a,(lT(l,t.c.length),F(t.c[l],25))),d=RL(d,i);n>0&&(a+=1)}if(p){for(l=0;l(lT(l,t.c.length),F(t.c[l],25)).a.c.length?Uw(i,(lT(l,t.c.length),F(t.c[l],25))):aF(i,r+a,(lT(l,t.c.length),F(t.c[l],25)));n>0&&(a+=1)}for(o=!1,g=new iS(my(RM(m).a.Jc(),new f));eL(g);){for(h=F(OE(g),17),d=h,u=n+1;u(lT(l,t.c.length),F(t.c[l],25)).a.c.length?Uw(_,(lT(l,t.c.length),F(t.c[l],25))):aF(_,r+1,(lT(l,t.c.length),F(t.c[l],25))));o&&(a+=1),o=!0}return a>0?a-1:0}function Nz(e,t){qz();var n,r,i,a,o,s,c,l,u,d,f,p,m;if(oh(L9)==0){for(d=H(aHt,xB,121,HVt.length,0,1),o=0;ol&&(r.a+=Nhe(H(K9,YB,30,-l,15,1))),r.a+=`Is`,uv(c,GF(32))>=0)for(i=0;i=r.o.b/2}else v=!d;v?(_=F(q(r,(X(),W$)),16),_?f?a=_:(i=F(q(r,JQ),16),i?a=_.gc()<=i.gc()?_:i:(a=new Sd,G(r,JQ,a))):(a=new Sd,G(r,W$,a))):(i=F(q(r,(X(),JQ)),16),i?d?a=i:(_=F(q(r,W$),16),_?a=i.gc()<=_.gc()?i:_:(a=new Sd,G(r,W$,a))):(a=new Sd,G(r,JQ,a))),a.Ec(e),G(e,(X(),ZQ),n),t.d==n?(Ww(t,null),n.e.c.length+n.g.c.length==0&&Gw(n,null),oWe(n)):(Hw(t,null),n.e.c.length+n.g.c.length==0&&Gw(n,null)),XC(t.a)}function vut(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.Tg(`MinWidth layering`,1),m=t.b,te=t.a,se=F(q(t,(Hz(),Qkt)),15).a,c=F(q(t,$kt),15).a,e.b=k(P(q(t,y0))),e.d=AV,x=new D(te);x.am&&(o&&(tv(ee,p),tv(ne,K(u.b-1))),oe=n.b,se+=p+t,p=0,d=r.Math.max(d,n.b+n.c+ae)),BO(c,oe),VO(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,ie0?(u=0,_&&(u+=c),u+=(C-1)*s,b&&(u+=c),ne&&b&&(u=r.Math.max(u,I9e(b,s,y,te))),u=e.a&&(i=wat(e,b),d=r.Math.max(d,i.b),S=r.Math.max(S,i.d),iy(c,new M_(b,i)));for(C=new Sd,u=0;u0),v.a.Xb(v.c=--v.b),re=new YS(e.b),vb(v,re),qy(v.b0){for(f=u<100?null:new Mm(u),l=new JVe(t),m=l.g,_=H(q9,dV,30,u,15,1),r=0,b=new vO(u),i=0;i=0;)if(p==null?M(p)===M(m[c]):nM(p,m[c])){_.length<=r&&(g=_,_=H(q9,dV,30,2*_.length,15,1),AR(g,0,_,0,r)),_[r++]=i,cD(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,dV,30,r,15,1),AR(g,0,_,0,r)),r>0){for(y=!0,a=0;a=0;)nF(e,_[o]);if(r!=u){for(i=u;--i>=r;)nF(l,i);g=_,_=H(q9,dV,30,r,15,1),AR(g,0,_,0,r)}t=l}}}else for(t=BZe(e,t),i=e.i;--i>=0;)t.Gc(e.g[i])&&(nF(e,i),y=!0);if(y){if(_!=null){for(n=t.gc(),d=n==1?qw(e,4,t.Jc().Pb(),null,_[0],h):qw(e,6,t,_,_[0],h),f=n<100?null:new Mm(n),i=t.Jc();i.Ob();)p=i.Pb(),f=Gye(e,F(p,75),f);f?(f.lj(d),f.mj()):aA(e.e,d)}else{for(f=Rye(t.gc()),i=t.Jc();i.Ob();)p=i.Pb(),f=Gye(e,F(p,75),f);f&&f.mj()}return!0}return!1}function wut(e,t){var n=new oXe(t),r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b;for(n.a||Ort(t),l=Itt(t),c=new xw,_=new Aet,g=new D(t.a);g.a0||n.o==z2&&a=n}function Dut(e){for(var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=e.a,x=0,S=b.length,ee,te,ne,C,re;x0?(f=F(jx(p.c.a,s-1),9),ne=qv(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(dP(c.a,1),8).b-d.b)))));else for(g=new D(t.j);g.aa&&(o=p.a-a,s=nB,i.c.length=0,a=p.a),p.a>=a&&(Fd(i.c,c),c.a.b>1&&(s=r.Math.min(s,r.Math.abs(F(dP(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 sI,Gw(m,t),jI(m,(Az(),m5)),m.n.a=t.o.a/2,v=new sI,Gw(v,t),jI(v,j5),v.n.a=t.o.a/2,v.n.b=t.o.b,l=new D(i);l.a=u.b?Hw(c,v):Hw(c,m)):(u=F(WSe(c.a),8),_=c.a.b==0?dT(c.c):F(Uy(c.a),8),_.b>=u.b?Ww(c,v):Ww(c,m)),f=F(q(c,(Hz(),R1)),79),f&&oN(f,u,!0);t.n.a=a-t.o.a/2}}function Aut(e,t,n){for(var i,a,o,s,c=$N(e.b,0),l,u,d,f,p;c.b!=c.d.c;)if(s=F(HT(c),40),!jb(s.c,yG))for(u=i5e(s,e),t==(fM(),_8)||t==v8?Vv(u,new ea):Vv(u,new ta),l=u.c.length,i=0;i=0?iN(s):_M(iN(s)),e.of(f0,p)),l=new Am,f=!1,e.nf(s0)?(T_e(l,F(e.mf(s0),8)),f=!0):Zhe(l,o.a/2,o.b/2),p.g){case 4:G(u,z1,($M(),q$)),G(u,e$,(GA(),hQ)),u.o.b=o.b,h<0&&(u.o.a=-h),jI(d,(Az(),p5)),f||(l.a=o.a),l.a-=o.a;break;case 2:G(u,z1,($M(),Y$)),G(u,e$,(GA(),pQ)),u.o.b=o.b,h<0&&(u.o.a=-h),jI(d,(Az(),N5)),f||(l.a=0);break;case 1:G(u,f$,(rO(),KQ)),u.o.a=o.a,h<0&&(u.o.b=-h),jI(d,(Az(),j5)),f||(l.b=o.b),l.b-=o.b;break;case 3:G(u,f$,(rO(),WQ)),u.o.a=o.a,h<0&&(u.o.b=-h),jI(d,(Az(),m5)),f||(l.b=0)}if(T_e(d.n,l),G(u,s0,l),t==e5||t==n5||t==t5){if(m=0,t==e5&&e.nf(u0))switch(p.g){case 1:case 2:m=F(e.mf(u0),15).a;break;case 3:case 4:m=-F(e.mf(u0),15).a}else switch(p.g){case 4:case 2:m=a.b,t==n5&&(m/=i.b);break;case 1:case 3:m=a.a,t==n5&&(m/=i.a)}G(u,O$,m)}return G(u,o$,p),u}function jut(){ble();function e(e){var t=this;this.dispatch=function(t){var n=t.data;switch(n.cmd){case`algorithms`:var r=Lqe((qC(),new Pl(new jl(T7.b))));e.postMessage({id:n.id,data:r});break;case`categories`:var i=Lqe((qC(),new Pl(new jl(T7.c))));e.postMessage({id:n.id,data:i});break;case`options`:var a=Lqe((qC(),new Pl(new jl(T7.d))));e.postMessage({id:n.id,data:a});break;case`register`:Qot(n.algorithms),e.postMessage({id:n.id});break;case`layout`:Vot(n.graph,n.layoutOptions||{},n.options||{}),e.postMessage({id:n.id,data:n.graph})}},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===eH&&typeof self!==eH){var i=new e(self);self.onmessage=i.saveDispatch}else typeof t!==eH&&t.exports&&(Object.defineProperty(n,"__esModule",{value:!0}),t.exports={default:r,Worker:r})}function Fz(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,K(d.b-1)),iy(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)),Fd(c.c,l),qYe(l,oe,se),f=r.Math.max(f,oe+ae+n.c),m=r.Math.max(m,p),oe+=ae+t,h=l;if(FA(e.a,c),iy(e.d,F(jx(c,c.c.length-1),167)),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(JS(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 iS(my(IM(m).a.Jc(),new f));eL(s);)o=F(OE(s),17),o.a.b!=0&&(t=F(Uy(o.a),8),o.d.j==(Az(),m5)&&(_=new HR(t,new j(t.a,i.d.d),i,o),_.f.a=!0,_.a=o.d,Fd(g.c,_)),o.d.j==j5&&(_=new HR(t,new j(t.a,i.d.d+i.d.a),i,o),_.f.d=!0,_.a=o.d,Fd(g.c,_)))}return g}function Lut(e,t,n){var r,i,a,o,s,c=new Sd,l,u,d=t.length,f;for(o=kUe(n),l=0;l=m&&(v>m&&(p.c.length=0,m=v),Fd(p.c,o));p.c.length!=0&&(f=F(jx(p,bP(t,p.c.length)),132),re.a.Ac(f),f.s=h++,l7e(f,ne,S),p.c.length=0)}for(b=e.c.length+1,s=new D(e);s.aC.s&&(uC(n),ND(C.i,r),r.c>0&&(r.a=C,iy(C.t,r),r.b=ee,iy(ee.i,r)))}function But(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h=new oD(t.b),g,_,v,y,b=new oD(t.b),x,S,ee,te,ne,C,re;for(f=new oD(t.b),te=new oD(t.b),g=new oD(t.b),ee=$N(t,0);ee.b!=ee.d.c;)for(x=F(HT(ee),12),s=new D(x.g);s.a0,_=x.g.c.length>0,l&&_?Fd(f.c,x):l?Fd(h.c,x):_&&Fd(b.c,x);for(m=new D(h);m.ay.mh()-u.b&&(p=y.mh()-u.b),m>y.nh()-u.d&&(m=y.nh()-u.d),d0){for(x=$N(e.f,0);x.b!=x.d.c;)b=F(HT(x),9),b.p+=m-e.e;E4e(e),XC(e.f),ltt(e,i,h)}else{for(mx(e.f,h),h.p=i,e.e=r.Math.max(e.e,i),o=new iS(my(IM(h).a.Jc(),new f));eL(o);)a=F(OE(o),17),!a.c.i.c&&a.c.i.k==(uL(),RX)&&(mx(e.f,a.c.i),a.c.i.p=i-1);e.c=i}}else E4e(e),XC(e.f),i=0,eL(new iS(my(IM(h).a.Jc(),new f)))?(m=0,m=nXe(m,h),i=m+2,ltt(e,i,h)):(mx(e.f,h),h.p=0,e.e=r.Math.max(e.e,0),e.b=F(jx(e.d.b,0),25),e.c=0);for(e.f.b==0||E4e(e),e.d.a.c.length=0,y=new Sd,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 Qp(Zz((Lv(),Ivt))))}else throw O(new Qp(Zz((Lv(),Mvt))));if(n=r,t==44){if(i>=e.j)throw O(new Qp(Zz((Lv(),Pvt))));if((t=_C(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 Qp(Zz((Lv(),Ivt))));if(r>n)throw O(new Qp(Zz((Lv(),Fvt))))}else n=-1}if(t!=125)throw O(new Qp(Zz((Lv(),Nvt))));e._l(i)?(a=(qz(),qz(),++W9,new $T(9,a)),e.d=i+1):(a=(qz(),qz(),++W9,new $T(3,a)),e.d=i),a.Mm(r),a.Lm(n),Vz(e)}}return a}function Jut(e){var t,n,i,a=1,o,s,c,l,u,d,f,p,m=new Sd,h,g,_,v,y,b,x,S;for(i=0;i=F(jx(e.b,i),25).a.c.length/4)continue}if(F(jx(e.b,i),25).a.c.length>=t){for(x=new Sd,iy(x,F(jx(e.b,i),25)),s=0;s1)for(h=new Py((!e.a&&(e.a=new I(a7,e,6,6)),e.a));h.e!=h.i.gc();)wF(h);for(s=F(U((!e.a&&(e.a=new I(a7,e,6,6)),e.a),0),170),_=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+mL(t,24)*YV*f-f/2,m<0?m=1:m>i&&(m=i-1),a=(Nm(),l=new co,l),FO(a,p),IO(a,m),cD((!s.a&&(s.a=new sy(e7,s,5)),s.a),a)}function Bz(e,t){QR();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 zV;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 cm,t<0?S.a+=`0E+`:S.a+=`0E`,S.a+=-t,S.a}if(y=m*10+1+7,b=H(K9,YB,30,y+1,15,1),n=y,m==1){if(s=i[0],s<0){ae=gT(s,RV);do h=ae,ae=yF(ae,10),b[--n]=48+Gx(FM(h,PM(ae,10)))&ZB;while(Bj(ae,0)!=0)}else{ae=s;do h=ae,ae=ae/10|0,b[--n]=48+(h-ae*10)&ZB;while(ae!=0)}}else{C=H(q9,dV,30,m,15,1),ie=m,AR(i,0,C,0,ie);I:for(;;){for(ee=0,l=ie-1;l>=0;l--)re=NM(aS(ee,32),gT(C[l],RV)),_=X1e(re),C[l]=Gx(_),ee=Gx(oS(_,32));v=Gx(ee),g=n;do b[--n]=48+v%10&ZB;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),kN(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),kN(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),kN(b,n,y-n)}return ne=n+1,a=y,x=new lm,p&&(x.a+=`-`),a-ne>=1?(nC(x,b[n]),x.a+=`.`,x.a+=kN(b,n+1,y-n-1)):x.a+=kN(b,n,y-n),x.a+=`E`,o>0&&(x.a+=`+`),x.a+=``+o,x.a}function edt(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 Cd,n=(Rh(),new Ip(e.c)),i=new ru(n),nN(i),b=ib(Y(e.c,(ZF(),dIt))),l=F(Y(e.c,B3),330),S=F(Y(e.c,V3),427),s=F(Y(e.c,oIt),477),x=F(Y(e.c,z3),428),e.j=k(P(Y(e.c,fIt))),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 Rp(GG+(l.f==null?``+l.g:l.f)))}if(e.d=new Vke(c,S,s),G(e.d,(DA(),QY),rb(Y(e.c,cIt))),e.d.c=Hp(rb(Y(e.c,sIt))),ew(e.c).i==0)return e.d;for(f=new dy(ew(e.c));f.e!=f.i.gc();){for(d=F(nP(f),26),m=d.g/2,p=d.f/2,ee=new j(d.i+m,d.j+p);xS(e.g,ee);)Qy(ee,(r.Math.random()-.5)*jH,(r.Math.random()-.5)*jH);g=F(Y(d,(Gz(),L6)),140),_=new _Ae(ee,new RC(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))),iy(e.d.i,_),vC(e.g,ee,new M_(_,d))}switch(x.g){case 0:if(b==null)e.d.d=F(jx(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.d[l]==0?mx(e.f,h):e.a[l]==0&&mx(e.g,h),++l}for(m=-1,p=1,d=new Sd,e.e=F(q(t,(X(),A$)),234);ce>0;){for(;e.f.b!=0;)oe=F(cx(e.f),9),e.c[oe.p]=m--,urt(e,oe),--ce;for(;e.g.b!=0;)se=F(cx(e.g),9),e.c[se.p]=p++,urt(e,se),--ce;if(ce>0){for(f=WB,v=new D(y);v.a=f&&(b>f&&(d.c.length=0,f=b),Fd(d.c,h)));u=e.qg(d),e.c[u.p]=p++,urt(e,u),--ce}}for(ae=y.c.length+1,l=0;le.c[w]&&(LR(r,!0),G(t,$Q,(xy(),!0)));e.a=null,e.d=null,e.c=null,XC(e.g),XC(e.f),n.Ug()}function rdt(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(a7,e,6,6)),e.a),0),170),ee;for(d=new Wf,x=new Cd,ee=lit(S),EI(x.f,S,ee),p=new Cd,i=new uh,h=yS(ZO(W(A(AJ,1),sB,20,0,[(!t.d&&(t.d=new kb(i7,t,8,5)),t.d),(!t.e&&(t.e=new kb(i7,t,7,4)),t.e)])));eL(h);){if(m=F(OE(h),85),(!e.a&&(e.a=new I(a7,e,6,6)),e.a).i!=1)throw O(new Rp(C_t+(!e.a&&(e.a=new I(a7,e,6,6)),e.a).i));m!=e&&(_=F(U((!m.a&&(m.a=new I(a7,m,6,6)),m.a),0),170),pE(i,_,i.c.b,i.c),g=F(V_(Jx(x.f,_)),13),g||(g=lit(_),EI(x.f,_,g)),f=n?Eb(new mv(F(jx(ee,ee.c.length-1),8)),F(jx(g,g.c.length-1),8)):Eb(new mv((lT(0,ee.c.length),F(ee.c[0],8))),(lT(0,g.c.length),F(g.c[0],8))),EI(p.f,_,f))}if(i.b!=0)for(v=F(jx(ee,n?ee.c.length-1:0),8),u=1;u1&&pE(d,v,d.c.b,d.c),gO(a)));v=y}return d}function idt(e){var t,n=F(q(e,(X(),c$)),22),r,i,a;switch(t=_v(SCt),i=F(q(e,(Hz(),P1)),347),i==(xj(),N8)&&iA(t,CCt),Hp(rb(q(e,N1)))?wx(t,(XF(),hX),(Kz(),pZ)):wx(t,(XF(),_X),(Kz(),pZ)),q(e,(qE(),o6))!=null&&iA(t,wCt),(Hp(rb(q(e,Jkt)))||Hp(rb(q(e,Wkt))))&&Qx(t,(XF(),yX),(Kz(),mwt)),F(q(e,w1),86).g){case 2:case 3:case 4:Qx(wx(t,(XF(),hX),(Kz(),gwt)),yX,hwt)}switch(n.Gc((HL(),DQ))&&Qx(wx(wx(t,(XF(),hX),(Kz(),pwt)),vX,dwt),yX,fwt),M(q(e,V1))!==M((cR(),s2))&&wx(t,(XF(),_X),(Kz(),Mwt)),n.Gc(PQ)&&(wx(t,(XF(),hX),(Kz(),Iwt)),wx(t,gX,Pwt),wx(t,_X,Fwt)),M(q(e,i1))!==M((nI(),TQ))&&M(q(e,k1))!==M((gM(),O8))&&Qx(t,(XF(),yX),(Kz(),Twt)),Hp(rb(q(e,Kkt)))&&wx(t,(XF(),_X),(Kz(),wwt)),Hp(rb(q(e,x1)))&&wx(t,(XF(),_X),(Kz(),Lwt)),F7e(e)&&(r=M(q(e,P1))===M(N8)?F(q(e,v1),302):F(q(e,y1),302),a=r==(CA(),RQ)?(Kz(),Nwt):(Kz(),Bwt),wx(t,(XF(),vX),a)),F(q(e,tAt),423).g==1&&wx(t,(XF(),vX),(Kz(),owt)),F(q(e,PAt),382).g){case 1:wx(t,(XF(),vX),(Kz(),Rwt));break;case 2:Qx(wx(wx(t,(XF(),_X),(Kz(),swt)),vX,cwt),yX,lwt)}return M(q(e,h1))!==M((AN(),l2))&&wx(t,(XF(),_X),(Kz(),zwt)),SE(new Px(null,new cT(e.a,16)),new dt)&&Xy(e,$1)&&Qx(t,(XF(),vX),(Kz(),jwt)),t}function adt(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.Tg(Ght,1),C=F(dE(MC(new Px(null,new cT(t,16)),new Zi),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),16),u=F(dE(MC(new Px(null,new cT(t,16)),new Roe(t)),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[OY]))),16),m=F(dE(MC(new Px(null,new cT(t,16)),new Loe(t)),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[OY]))),16),h=H(X2,SG,40,t.gc(),0,1),o=0;o=0&&ne=0&&!h[p]||(p=ne-f,p=0&&!h[p])){h[p]=i,u.ed(s),--s;break}for(m.gd(new fne),c=h.length-1;c>=0;c--)!h[c]&&!m.dc()&&(h[c]=F(m.Xb(0),40),m.ed(0));for(l=0;lf&&uF((lT(f,t.c.length),F(t.c[f],186)),u),u=null;t.c.length>f&&(lT(f,t.c.length),F(t.c[f],186)).a.c.length==0;)ND(t,(lT(f,t.c.length),t.c[f]));if(!u){--o;continue}if(!Hp(rb(F(jx(u.b,0),26).mf((JL(),h3))))&&Grt(t,m,a,u,g,n,f,r)){h=!0;continue}if(g){if(p=m.b,d=u.f,!Hp(rb(F(jx(u.b,0),26).mf(h3)))&&Ist(t,m,a,u,n,f,r,i)){if(h=!0,p=e.j)e.a=-1,e.c=1;else if(t=_C(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw O(new Qp(Zz((Lv(),lq))));e.a=_C(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||_C(e.i,e.d)!=63)break;if(++e.d>=e.j)throw O(new Qp(Zz((Lv(),uq))));switch(t=_C(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 Qp(Zz((Lv(),uq))));if(t=_C(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw O(new Qp(Zz((Lv(),lvt))));break;case 35:for(;e.d=e.j)throw O(new Qp(Zz((Lv(),lq))));e.a=_C(e.i,e.d++);break;default:r=0}e.c=r}}function udt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n.Tg(`Process compaction`,1),Hp(rb(q(t,(MR(),fNt))))){for(i=F(q(t,x4),86),p=k(P(q(t,T4))),iot(e,t,i),aut(t,p/2/2),m=t.b,Rk(m,new Aoe(i)),l=$N(m,0);l.b!=l.d.c;)if(c=F(HT(l),40),!Hp(rb(q(c,(kz(),v4))))){if(r=ztt(c,i),h=uat(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(q(t,S4))===M((lj(),Q2))?(a=d,o=f,s=ij(MC(new Px(null,new cT(e.a,16)),new Pfe(a,o))),s.a==null?(s=i==(fM(),_8)||i==b8?ij(MC(jze(new Px(null,new cT(e.a,16))),new joe(a))):ij(MC(jze(new Px(null,new cT(e.a,16))),new Moe(a))),s.a!=null&&(i==_8||i==v8?c.e.a=k(P((qy(s.a!=null),F(s.a,49)).a)):c.e.b=k(P((qy(s.a!=null),F(s.a,49)).a)))):i==(fM(),_8)||i==v8?c.e.a=d:c.e.b=d,s.a!=null&&(u=PD(e.a,(qy(s.a!=null),s.a),0),u>0&&u!=F(q(c,E4),15).a&&(G(c,YMt,(xy(),!0)),G(c,E4,K(u))))):i==(fM(),_8)||i==v8?c.e.a=d:c.e.b=d}n.Ug()}}function ddt(e,t,n){var r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S;if(n.Tg(`Coffman-Graham Layering`,1),t.a.c.length==0)n.Ug();else{for(S=F(q(t,(Hz(),Xkt)),15).a,c=0,o=0,p=new D(t.a);p.a=S||!xJe(v,r))&&(r=EDe(t,u)),Uw(v,r),a=new iS(my(IM(v).a.Jc(),new f));eL(a);)i=F(OE(a),17),!e.a[i.p]&&(g=i.c.i,--e.e[g.p],e.e[g.p]==0&&ox(JF(m,g),VV));for(l=u.c.length-1;l>=0;--l)iy(t.b,(lT(l,u.c.length),F(u.c[l],25)));t.a.c.length=0,n.Ug()}}function fdt(e){var t,n,r,i,a,o,s,c,l;for(e.b=1,Vz(e),t=null,e.c==0&&e.a==94?(Vz(e),t=(qz(),qz(),++W9,new yT(4)),zL(t,0,_J),s=(++W9,new yT(4))):s=(qz(),qz(),++W9,new yT(4)),i=!0;(l=e.c)!=1;){if(l==0&&e.a==93&&!i){t&&(bz(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:tz(s,bR(n)),r=!0;break;case 105:case 73:case 99:case 67:n=(tz(s,bR(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(c=y6e(e,n),!c)throw O(new Qp(Zz((Lv(),fq))));tz(s,c),r=!0;break;default:n=gtt(e)}else if(l==24&&!i){if(t&&(bz(t,s),s=t),a=fdt(e),bz(s,a),e.c!=0||e.a!=93)throw O(new Qp(Zz((Lv(),Svt))));break}if(Vz(e),!r){if(l==0){if(n==91)throw O(new Qp(Zz((Lv(),Cvt))));if(n==93)throw O(new Qp(Zz((Lv(),wvt))));if(n==45&&!i&&e.a!=93)throw O(new Qp(Zz((Lv(),mq))))}if(e.c!=0||e.a!=45||n==45&&i)zL(s,n,n);else{if(Vz(e),(l=e.c)==1)throw O(new Qp(Zz((Lv(),pq))));if(l==0&&e.a==93)zL(s,n,n),zL(s,45,45);else if(l==0&&e.a==93||l==24)throw O(new Qp(Zz((Lv(),mq))));else{if(o=e.a,l==0){if(o==91)throw O(new Qp(Zz((Lv(),Cvt))));if(o==93)throw O(new Qp(Zz((Lv(),wvt))));if(o==45)throw O(new Qp(Zz((Lv(),mq))))}else l==10&&(o=gtt(e));if(Vz(e),n>o)throw O(new Qp(Zz((Lv(),Dvt))));zL(s,n,o)}}}i=!1}if(e.c==1)throw O(new Qp(Zz((Lv(),pq))));return iL(s),lz(s),e.b=0,Vz(e),s}function pdt(e,t){var n,r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x=!1;do for(x=!1,a=t?new Dl(e.a.b).a.gc()-2:1;t?a>=0:aF(q(_,C$),15).a)&&(b=!1);if(b){for(c=t?a+1:a-1,s=gNe(e.a,K(c)),o=!1,y=!0,r=!1,u=$N(s,0);u.b!=u.d.c;)l=F(HT(u),9),Xy(l,C$)?l.p!=d.p&&(o|=t?F(q(l,C$),15).aF(q(d,C$),15).a,y=!1):!o&&y&&l.k==(uL(),RX)&&(r=!0,p=t?F(OE(new iS(my(IM(l).a.Jc(),new f))),17).c.i:F(OE(new iS(my(RM(l).a.Jc(),new f))),17).d.i,p==d&&(n=t?F(OE(new iS(my(RM(l).a.Jc(),new f))),17).d.i:F(OE(new iS(my(IM(l).a.Jc(),new f))),17).c.i,(t?F(Yy(e.a,n),15).a-F(Yy(e.a,p),15).a:F(Yy(e.a,p),15).a-F(Yy(e.a,n),15).a)<=2&&(y=!1)));if(r&&y&&(n=t?F(OE(new iS(my(RM(d).a.Jc(),new f))),17).d.i:F(OE(new iS(my(IM(d).a.Jc(),new f))),17).c.i,(t?F(Yy(e.a,n),15).a-F(Yy(e.a,d),15).a:F(Yy(e.a,d),15).a-F(Yy(e.a,n),15).a)<=2&&n.k==(uL(),VX)&&(y=!1)),o||y){for(g=N7e(e,d,t);g.a.gc()!=0;)h=F(g.a.ec().Jc().Pb(),9),g.a.Ac(h),zk(g,N7e(e,h,t));--m,x=!0}}}while(x)}function mdt(e){cL(e.c,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#decimal`])),cL(e.d,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#integer`])),cL(e.e,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#boolean`])),cL(e.f,Pq,W(A(aY,1),xB,2,6,[Gq,`EBoolean`,eq,`EBoolean:Object`])),cL(e.i,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#byte`])),cL(e.g,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#hexBinary`])),cL(e.j,Pq,W(A(aY,1),xB,2,6,[Gq,`EByte`,eq,`EByte:Object`])),cL(e.n,Pq,W(A(aY,1),xB,2,6,[Gq,`EChar`,eq,`EChar:Object`])),cL(e.t,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#double`])),cL(e.u,Pq,W(A(aY,1),xB,2,6,[Gq,`EDouble`,eq,`EDouble:Object`])),cL(e.F,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#float`])),cL(e.G,Pq,W(A(aY,1),xB,2,6,[Gq,`EFloat`,eq,`EFloat:Object`])),cL(e.I,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#int`])),cL(e.J,Pq,W(A(aY,1),xB,2,6,[Gq,`EInt`,eq,`EInt:Object`])),cL(e.N,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#long`])),cL(e.O,Pq,W(A(aY,1),xB,2,6,[Gq,`ELong`,eq,`ELong:Object`])),cL(e.Z,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#short`])),cL(e.$,Pq,W(A(aY,1),xB,2,6,[Gq,`EShort`,eq,`EShort:Object`])),cL(e._,Pq,W(A(aY,1),xB,2,6,[Gq,`http://www.w3.org/2001/XMLSchema#string`]))}function hdt(e,t,n,r,i,a,o){var s,c,l,u,d,f=F(r.a,15).a,p=F(r.b,15).a,m;return d=e.b,m=e.c,s=0,u=0,t==(fM(),_8)||t==v8?(u=$h(dKe(PC(NC(new Px(null,new cT(n.b,16)),new ia),new sne))),d.e.b+d.f.b/2>u?(l=++p,s=k(P(wy(cS(NC(new Px(null,new cT(n.b,16)),new Rfe(i,l)),new cne))))):(c=++f,s=k(P(wy(lS(NC(new Px(null,new cT(n.b,16)),new zfe(i,c)),new lne)))))):(u=$h(dKe(PC(NC(new Px(null,new cT(n.b,16)),new $i),new ane))),d.e.a+d.f.a/2>u?(l=++p,s=k(P(wy(cS(NC(new Px(null,new cT(n.b,16)),new Lfe(i,l)),new une))))):(c=++f,s=k(P(wy(lS(NC(new Px(null,new cT(n.b,16)),new Ife(i,c)),new mne)))))),t==_8?(tv(e.a,new j(k(P(q(d,(kz(),f4))))-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==v8?(tv(e.a,new j(k(P(q(d,(kz(),d4))))+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==b8?(tv(e.a,new j(s,k(P(q(d,(kz(),f4))))-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(q(d,(kz(),d4))))+i*F(o.b,15).a),tv(e.a,new j(s,k(P(q(d,(kz(),d4))))+i*F(o.b,15).a)),tv(e.a,new j(s,m.e.b-i*F(o.a,15).a-a))),new M_(K(f),K(p))}function Hz(){Hz=C,_0=(Gz(),rRt),xAt=iRt,v0=aRt,y0=oRt,x0=sRt,S0=cRt,T0=lRt,D0=uRt,O0=dRt,E0=c8,k0=l8,j0=fRt,N0=hRt,w0=s8,g0=(Adt(),GOt),b0=KOt,C0=qOt,A0=JOt,_At=new Nv(r8,K(0)),m0=HOt,vAt=UOt,h0=WOt,PAt=vkt,DAt=ZOt,OAt=ekt,I0=ckt,kAt=rkt,AAt=akt,R0=Ckt,L0=bkt,MAt=mkt,jAt=fkt,NAt=gkt,tAt=gOt,W1=dOt,U1=lOt,G1=pOt,Z1=jOt,Q1=MOt,$1=IOt,j1=NDt,Ukt=IDt,wAt=f8,EAt=m8,CAt=d8,SAt=u8,TAt=(pM(),Y5),new Nv(p8,TAt),sAt=new Av(12),oAt=new Nv(G6,sAt),Bkt=(gM(),D8),k1=new Nv(TLt,Bkt),c0=new Nv(X6,0),yAt=new Nv(i8,K(1)),t1=new Nv(C6,FH),a0=U6,l0=Z6,f0=t8,Lkt=D6,$$=gLt,P1=j6,bAt=new Nv(o8,(xy(),!0)),I1=M6,L1=N6,t0=z6,i0=H6,n0=B6,zkt=(fM(),y8),w1=new Nv(O6,zkt),J1=R6,q1=RLt,d0=e8,mAt=$6,hAt=eRt,lAt=(QN(),Q8),new Nv(YLt,lAt),dAt=q6,fAt=J6,pAt=Y6,uAt=K6,F0=XOt,H1=sOt,V1=aOt,P0=YOt,z1=ZDt,C1=yDt,S1=_Dt,_1=eDt,Mkt=tDt,y1=oDt,v1=nDt,x1=hDt,nAt=vOt,rAt=yOt,Ykt=WDt,e0=ROt,Y1=COt,N1=zDt,aAt=kOt,Hkt=kDt,A1=jDt,g1=E6,iAt=bOt,i1=kEt,Dkt=DEt,r1=EEt,Kkt=HDt,Gkt=VDt,qkt=UDt,r0=V6,R1=I6,M1=DLt,D1=A6,E1=k6,Nkt=lDt,u0=Q6,n1=xLt,F1=jLt,s0=ZLt,cAt=GLt,o0=qLt,Qkt=eOt,$kt=nOt,p0=n8,e1=TEt,eAt=iOt,O1=TDt,T1=CDt,K1=L6,Xkt=JDt,X1=EOt,M0=pRt,Rkt=xDt,gAt=BOt,Vkt=DDt,Pkt=dDt,Fkt=fDt,Zkt=XDt,Ikt=pDt,Jkt=F6,B1=$Dt,b1=mDt,h1=QEt,f1=JEt,o1=NEt,s1=PEt,p1=XEt,a1=jEt,m1=ZEt,d1=qEt,u1=KEt,jkt=GEt,c1=FEt,l1=UEt,Akt=VEt,Okt=LEt,kkt=zEt,Wkt=BDt}function gdt(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=TBt,l=null,a=null,s=0,c=GN(e,s,CBt,wBt),c=0&&jb(e.substr(s,2),`//`)?(s+=2,c=GN(e,s,O7,k7),r=(rD(s,c,e.length),e.substr(s,c-s)),s=c):d!=null&&(s==e.length||(uT(s,e.length),e.charCodeAt(s)!=47))&&(o=!1,c=Tge(e,GF(35),s),c==-1&&(c=e.length),r=(rD(s,c,e.length),e.substr(s,c-s)),s=c);if(!n&&s0&&_C(u,u.length-1)==58&&(i=u,s=c)),so?(iR(e,t,n),1):(iR(e,n,t),-1)}for(v=e.f,y=0,b=v.length;y0?iR(e,t,n):iR(e,n,t),r;if(!Xy(t,(X(),C$))||!Xy(n,C$))return a=DF(e,t),s=DF(e,n),a>s?(iR(e,t,n),1):(iR(e,n,t),-1)}if(!f&&!m&&(r=ydt(e,t,n),r!=0))return r>0?iR(e,t,n):iR(e,n,t),r}return Xy(t,(X(),C$))&&Xy(n,C$)?(a=jL(t,n,e.c,F(q(e.c,S$),15).a),s=jL(n,t,e.c,F(q(e.c,S$),15).a),a>s?(iR(e,t,n),1):(iR(e,n,t),-1)):(iR(e,n,t),-1)}function _dt(){_dt=C,zz(),NX=new xw,HI(NX,(Az(),b5),y5),HI(NX,A5,y5),HI(NX,x5,y5),HI(NX,D5,y5),HI(NX,E5,y5),HI(NX,w5,y5),HI(NX,D5,b5),HI(NX,y5,h5),HI(NX,b5,h5),HI(NX,A5,h5),HI(NX,x5,h5),HI(NX,T5,h5),HI(NX,D5,h5),HI(NX,E5,h5),HI(NX,w5,h5),HI(NX,v5,h5),HI(NX,y5,O5),HI(NX,b5,O5),HI(NX,h5,O5),HI(NX,A5,O5),HI(NX,x5,O5),HI(NX,T5,O5),HI(NX,D5,O5),HI(NX,v5,O5),HI(NX,k5,O5),HI(NX,E5,O5),HI(NX,S5,O5),HI(NX,w5,O5),HI(NX,b5,A5),HI(NX,x5,A5),HI(NX,D5,A5),HI(NX,w5,A5),HI(NX,b5,x5),HI(NX,A5,x5),HI(NX,D5,x5),HI(NX,x5,x5),HI(NX,E5,x5),HI(NX,y5,g5),HI(NX,b5,g5),HI(NX,h5,g5),HI(NX,O5,g5),HI(NX,A5,g5),HI(NX,x5,g5),HI(NX,T5,g5),HI(NX,D5,g5),HI(NX,k5,g5),HI(NX,v5,g5),HI(NX,w5,g5),HI(NX,E5,g5),HI(NX,C5,g5),HI(NX,y5,k5),HI(NX,b5,k5),HI(NX,h5,k5),HI(NX,A5,k5),HI(NX,x5,k5),HI(NX,T5,k5),HI(NX,D5,k5),HI(NX,v5,k5),HI(NX,w5,k5),HI(NX,S5,k5),HI(NX,C5,k5),HI(NX,b5,v5),HI(NX,A5,v5),HI(NX,x5,v5),HI(NX,D5,v5),HI(NX,k5,v5),HI(NX,w5,v5),HI(NX,E5,v5),HI(NX,y5,_5),HI(NX,b5,_5),HI(NX,h5,_5),HI(NX,A5,_5),HI(NX,x5,_5),HI(NX,T5,_5),HI(NX,D5,_5),HI(NX,v5,_5),HI(NX,w5,_5),HI(NX,b5,E5),HI(NX,h5,E5),HI(NX,O5,E5),HI(NX,x5,E5),HI(NX,y5,S5),HI(NX,b5,S5),HI(NX,O5,S5),HI(NX,A5,S5),HI(NX,x5,S5),HI(NX,T5,S5),HI(NX,D5,S5),HI(NX,D5,C5),HI(NX,x5,C5),HI(NX,v5,y5),HI(NX,v5,A5),HI(NX,v5,h5),HI(NX,T5,y5),HI(NX,T5,b5),HI(NX,T5,O5)}function vdt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;switch(n.Tg(`Brandes & Koepf node placement`,1),e.a=t,e.c=qit(t),r=F(q(t,(Hz(),Y1)),282),p=Hp(rb(q(t,X1))),e.d=r==(SF(),wQ)&&!p||r==CQ,Ost(e,t),x=null,S=null,_=null,v=null,g=(uk(4,RB),new oD(4)),F(q(t,Y1),282).g){case 3:_=new mR(t,e.c.d,(Lw(),R2),(Cw(),I2)),Fd(g.c,_);break;case 1:v=new mR(t,e.c.d,(Lw(),z2),(Cw(),I2)),Fd(g.c,v);break;case 4:x=new mR(t,e.c.d,(Lw(),R2),(Cw(),L2)),Fd(g.c,x);break;case 2:S=new mR(t,e.c.d,(Lw(),z2),(Cw(),L2)),Fd(g.c,S);break;default:_=new mR(t,e.c.d,(Lw(),R2),(Cw(),I2)),v=new mR(t,e.c.d,z2,I2),x=new mR(t,e.c.d,R2,L2),S=new mR(t,e.c.d,z2,L2),Fd(g.c,x),Fd(g.c,S),Fd(g.c,_),Fd(g.c,v)}for(i=new Tfe(t,e.c),s=new D(g);s.anL(a))&&(d=a);for(!d&&(d=(lT(0,g.c.length),F(g.c[0],185))),h=new D(t.b);h.a0?(iR(e,n,t),1):(iR(e,t,n),-1);if(u&&y)return iR(e,n,t),1;if(d&&v)return iR(e,t,n),-1;if(d&&y)return 0}else for(ne=new D(l.j);ne.af&&(ie=0,ae+=d+te,d=0),drt(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 Cd,n=new Cd,C=new D(e);C.a=-1900),n>=4?Q_(e,W(A(aY,1),xB,2,6,[ift,aft])[s]):Q_(e,W(A(aY,1),xB,2,6,[`BC`,`AD`])[s]);break;case 121:AYe(e,n,r);break;case 77:crt(e,n,r);break;case 107:c=i.q.getHours(),c==0?GD(e,24,n):GD(e,c,n);break;case 83:P7e(e,n,i);break;case 69:u=r.q.getDay(),n==5?Q_(e,W(A(aY,1),xB,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[u]):n==4?Q_(e,W(A(aY,1),xB,2,6,[fV,pV,mV,hV,gV,_V,vV])[u]):Q_(e,W(A(aY,1),xB,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[u]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?Q_(e,W(A(aY,1),xB,2,6,[`AM`,`PM`])[1]):Q_(e,W(A(aY,1),xB,2,6,[`AM`,`PM`])[0]);break;case 104:d=i.q.getHours()%12,d==0?GD(e,12,n):GD(e,d,n);break;case 75:f=i.q.getHours()%12,GD(e,f,n);break;case 72:p=i.q.getHours(),GD(e,p,n);break;case 99:m=r.q.getDay(),n==5?Q_(e,W(A(aY,1),xB,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[m]):n==4?Q_(e,W(A(aY,1),xB,2,6,[fV,pV,mV,hV,gV,_V,vV])[m]):n==3?Q_(e,W(A(aY,1),xB,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[m]):GD(e,m,1);break;case 76:h=r.q.getMonth(),n==5?Q_(e,W(A(aY,1),xB,2,6,[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`])[h]):n==4?Q_(e,W(A(aY,1),xB,2,6,[QB,$B,eV,tV,nV,rV,iV,aV,oV,sV,cV,lV])[h]):n==3?Q_(e,W(A(aY,1),xB,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,nV,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`])[h]):GD(e,h+1,n);break;case 81:g=r.q.getMonth()/3|0,n<4?Q_(e,W(A(aY,1),xB,2,6,[`Q1`,`Q2`,`Q3`,`Q4`])[g]):Q_(e,W(A(aY,1),xB,2,6,[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`])[g]);break;case 100:_=r.q.getDate(),GD(e,_,n);break;case 109:l=i.q.getMinutes(),GD(e,l,n);break;case 115:o=i.q.getSeconds(),GD(e,o,n);break;case 122:n<4?Q_(e,a.c[0]):Q_(e,a.c[1]);break;case 118:Q_(e,a.b);break;case 90:n<3?Q_(e,H3e(a)):n==3?Q_(e,$3e(a)):Q_(e,e6e(a.a));break;default:return!1}return!0}function wdt(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(xnt(t),c=F(U((!t.b&&(t.b=new kb(r7,t,4,7)),t.b),0),84),u=F(U((!t.c&&(t.c=new kb(r7,t,5,8)),t.c),0),84),s=RF(c),l=RF(u),o=(!t.a&&(t.a=new I(a7,t,6,6)),t.a).i==0?null:F(U((!t.a&&(t.a=new I(a7,t,6,6)),t.a),0),170),ee=F(JS(e.a,s),9),re=F(JS(e.a,l),9),te=null,ie=null,N(c,193)&&(S=F(JS(e.a,c),246),N(S,12)?te=F(S,12):N(S,9)&&(ee=F(S,9),te=F(jx(ee.j,0),12))),N(u,193)&&(C=F(JS(e.a,u),246),N(C,12)?ie=F(C,12):N(C,9)&&(re=F(C,9),ie=F(jx(re.j,0),12))),!ee||!re)throw O(new Xp(`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 cw,vA(h,t),G(h,(X(),w$),t),G(h,(Hz(),R1),null),p=F(q(r,c$),22),ee==re&&p.Ec((HL(),FQ)),te||=(x=(rk(),h2),ne=null,o&&yv(F(q(ee,l0),102))&&(ne=new j(o.j,o.k),rPe(ne,Pw(t)),UPe(ne,n),yO(l,s)&&(x=m2,Tb(ne,ee.n))),aot(ee,ne,x,r)),ie||=(x=(rk(),m2),ae=null,o&&yv(F(q(re,l0),102))&&(ae=new j(o.b,o.c),rPe(ae,Pw(t)),UPe(ae,n)),aot(re,ae,x,fC(re))),Hw(h,te),Ww(h,ie),(te.e.c.length>1||te.g.c.length>1||ie.e.c.length>1||ie.g.c.length>1)&&p.Ec((HL(),AQ)),f=new dy((!t.n&&(t.n=new I(f7,t,1,7)),t.n));f.e!=f.i.gc();)if(d=F(nP(f),157),!Hp(rb(Y(d,a0)))&&d.a)switch(g=Gj(d),iy(h.b,g),F(q(g,D1),279).g){case 1:case 2:p.Ec((HL(),OQ));break;case 0:p.Ec((HL(),EQ)),G(g,D1,(EO(),w8))}if(a=F(q(r,S1),301),_=F(q(r,e0),303),i=a==(eN(),eQ)||_==(cP(),$0),o&&(!o.a&&(o.a=new sy(e7,o,5)),o.a).i!=0&&i){for(v=J2e(o),m=new Wf,b=$N(v,0);b.b!=b.d.c;)y=F(HT(b),8),mx(m,new mv(y));G(h,hEt,m)}return h}function Tdt(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 Cd,x=F(wy(cS(NC(new Px(null,new cT(e.b,16)),new Qi),new one)),15).a+1,te=H(q9,dV,30,x,15,1),g=H(q9,dV,30,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?Yv(l.b.e):F(Uy(l.a),8),y=Tb(Yv(F(S.Xb(S.gc()-1),40).e),F(S.Xb(S.gc()-1),40).f),f=Tb(Yv(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?Yv(l.b.e):F(Uy(l.a),8),y=Tb(Yv(F(S.Xb(S.gc()-1),40).e),F(S.Xb(S.gc()-1),40).f),f=Tb(Yv(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(q(e,(kz(),QMt))))&&++C):(p.f&&p.d.e.a<=k(P(q(e,(kz(),a4))))&&++ne,p.g&&p.c.e.a+p.c.f.a>=k(P(q(e,(kz(),ZMt))))&&++C)}else b==0?i6e(l):b<0&&(++te[ie],++g[oe],re=hdt(l,t,e,new M_(K(ne),K(C)),n,r,new M_(K(g[oe]),K(te[ie]))),ne=F(re.a,15).a,C=F(re.b,15).a)}function Edt(e){e.gb||(e.gb=!0,e.b=dA(e,0),Pk(e.b,18),Fk(e.b,19),e.a=dA(e,1),Pk(e.a,1),Fk(e.a,2),Fk(e.a,3),Fk(e.a,4),Fk(e.a,5),e.o=dA(e,2),Pk(e.o,8),Pk(e.o,9),Fk(e.o,10),Fk(e.o,11),Fk(e.o,12),Fk(e.o,13),Fk(e.o,14),Fk(e.o,15),Fk(e.o,16),Fk(e.o,17),Fk(e.o,18),Fk(e.o,19),Fk(e.o,20),Fk(e.o,21),Fk(e.o,22),Fk(e.o,23),mO(e.o),mO(e.o),mO(e.o),mO(e.o),mO(e.o),mO(e.o),mO(e.o),mO(e.o),mO(e.o),mO(e.o),e.p=dA(e,3),Pk(e.p,2),Pk(e.p,3),Pk(e.p,4),Pk(e.p,5),Fk(e.p,6),Fk(e.p,7),mO(e.p),mO(e.p),e.q=dA(e,4),Pk(e.q,8),e.v=dA(e,5),Fk(e.v,9),mO(e.v),mO(e.v),mO(e.v),e.w=dA(e,6),Pk(e.w,2),Pk(e.w,3),Pk(e.w,4),Fk(e.w,5),e.B=dA(e,7),Fk(e.B,1),mO(e.B),mO(e.B),mO(e.B),e.Q=dA(e,8),Fk(e.Q,0),mO(e.Q),e.R=dA(e,9),Pk(e.R,1),e.S=dA(e,10),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),mO(e.S),e.T=dA(e,11),Fk(e.T,10),Fk(e.T,11),Fk(e.T,12),Fk(e.T,13),Fk(e.T,14),mO(e.T),mO(e.T),e.U=dA(e,12),Pk(e.U,2),Pk(e.U,3),Fk(e.U,4),Fk(e.U,5),Fk(e.U,6),Fk(e.U,7),mO(e.U),e.V=dA(e,13),Fk(e.V,10),e.W=dA(e,14),Pk(e.W,18),Pk(e.W,19),Pk(e.W,20),Fk(e.W,21),Fk(e.W,22),Fk(e.W,23),e.bb=dA(e,15),Pk(e.bb,10),Pk(e.bb,11),Pk(e.bb,12),Pk(e.bb,13),Pk(e.bb,14),Pk(e.bb,15),Pk(e.bb,16),Fk(e.bb,17),mO(e.bb),mO(e.bb),e.eb=dA(e,16),Pk(e.eb,2),Pk(e.eb,3),Pk(e.eb,4),Pk(e.eb,5),Pk(e.eb,6),Pk(e.eb,7),Fk(e.eb,8),Fk(e.eb,9),e.ab=dA(e,17),Pk(e.ab,0),Pk(e.ab,1),e.H=dA(e,18),Fk(e.H,0),Fk(e.H,1),Fk(e.H,2),Fk(e.H,3),Fk(e.H,4),Fk(e.H,5),mO(e.H),e.db=dA(e,19),Fk(e.db,2),e.c=fA(e,20),e.d=fA(e,21),e.e=fA(e,22),e.f=fA(e,23),e.i=fA(e,24),e.g=fA(e,25),e.j=fA(e,26),e.k=fA(e,27),e.n=fA(e,28),e.r=fA(e,29),e.s=fA(e,30),e.t=fA(e,31),e.u=fA(e,32),e.fb=fA(e,33),e.A=fA(e,34),e.C=fA(e,35),e.D=fA(e,36),e.F=fA(e,37),e.G=fA(e,38),e.I=fA(e,39),e.J=fA(e,40),e.L=fA(e,41),e.M=fA(e,42),e.N=fA(e,43),e.O=fA(e,44),e.P=fA(e,45),e.X=fA(e,46),e.Y=fA(e,47),e.Z=fA(e,48),e.$=fA(e,49),e._=fA(e,50),e.cb=fA(e,51),e.K=fA(e,52))}function Ddt(e,t,n,i){for(var a,o,s,c,l,u,d,f=$N(e.b,0),p,m,h;f.b!=f.d.c;)if(d=F(HT(f),40),!jb(d.c,yG))for(o=F(dE(new Px(null,new cT(E6e(d,e),16)),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),16),t==(fM(),_8)||t==v8?o.gd(new na):o.gd(new hne),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==v8?(u=k(P(q(d,(kz(),f4)))),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==b8?(u=k(P(q(d,(kz(),d4)))),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(q(d,(kz(),f4)))),$Ue(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 Odt(e,t,n){var r,i,a,o=t,s,c,l,u,d,f=n,p,m,h,g,_,v,y,b,x,S;if(xS(e.a,o)){if(sh(F(JS(e.a,o),48),f))return 1}else vC(e.a,o,new lf);if(xS(e.a,f)){if(sh(F(JS(e.a,f),48),o))return-1}else vC(e.a,f,new lf);if(xS(e.e,o)){if(sh(F(JS(e.e,o),48),f))return-1}else vC(e.e,o,new lf);if(xS(e.e,f)){if(sh(F(JS(e.a,f),48),o))return 1}else vC(e.e,f,new lf);if(o.j!=f.j)return x=Dme(o.j,f.j),x>0?xR(e,o,f,1):xR(e,f,o,1),x;if(S=1,o.e.c.length!=0&&f.e.c.length!=0){if((o.j==(Az(),N5)&&f.j==N5||o.j==m5&&f.j==m5||o.j==j5&&f.j==j5)&&(S=-S),u=F(jx(o.e,0),17).c,g=F(jx(f.e,0),17).c,c=u.i,m=g.i,c==m)for(y=new D(c.j);y.a0?(xR(e,o,f,S),S):(xR(e,f,o,S),-S);if(r=OGe(F(dE(ITe(e.d),dD(new Ce,new Se,new Ee,W(A(kY,1),Z,130,0,[(wj(),OY)]))),20),c,m),r!=0)return r>0?(xR(e,o,f,S),S):(xR(e,f,o,S),-S);if(e.c&&(x=gXe(e,o,f),x!=0))return x>0?(xR(e,o,f,S),S):(xR(e,f,o,S),-S)}return o.g.c.length!=0&&f.g.c.length!=0?((o.j==(Az(),N5)&&f.j==N5||o.j==j5&&f.j==j5)&&(S=-S),d=F(q(o,(X(),b$)),9),_=F(q(f,b$),9),e.f==(AN(),d2)&&d&&_&&Xy(d,C$)&&Xy(_,C$)?(s=jL(d,_,e.b,F(q(e.b,S$),15).a),p=jL(_,d,e.b,F(q(e.b,S$),15).a),s>p?(xR(e,o,f,S),S):(xR(e,f,o,S),-S)):e.c&&(x=gXe(e,o,f),x!=0)?x>0?(xR(e,o,f,S),S):(xR(e,f,o,S),-S):(l=0,h=0,Xy(F(jx(o.g,0),17),C$)&&(l=jL(F(jx(o.g,0),246),F(jx(f.g,0),246),e.b,o.g.c.length+o.e.c.length)),Xy(F(jx(f.g,0),17),C$)&&(h=jL(F(jx(f.g,0),246),F(jx(o.g,0),246),e.b,f.g.c.length+f.e.c.length)),d&&d==_||e.g&&(e.g._b(d)&&(l=F(e.g.xc(d),15).a),e.g._b(_)&&(h=F(e.g.xc(_),15).a)),l>h?(xR(e,o,f,S),S):(xR(e,f,o,S),-S))):o.e.c.length!=0&&f.g.c.length!=0?(xR(e,o,f,S),1):o.g.c.length!=0&&f.e.c.length!=0?(xR(e,f,o,S),-1):Xy(o,(X(),C$))&&Xy(f,C$)?(a=o.i.j.c.length,s=jL(o,f,e.b,a),p=jL(f,o,e.b,a),(o.j==(Az(),N5)&&f.j==N5||o.j==j5&&f.j==j5)&&(S=-S),s>p?(xR(e,o,f,S),S):(xR(e,f,o,S),-S)):(xR(e,f,o,S),-S)}function X(){X=C;var e,t;w$=new id(opt),uEt=new id(`coordinateOrigin`),k$=new id(`processors`),lEt=new xb(`compoundNode`,(xy(),!1)),d$=new xb(`insideConnections`,!1),hEt=new id(`originalBendpoints`),gEt=new id(`originalDummyNodePosition`),_Et=new id(`originalLabelEdge`),j$=new id(`representedLabels`),t$=new id(`endLabels`),n$=new id(`endLabel.origin`),h$=new xb(`labelSide`,(iF(),z8)),x$=new xb(`maxEdgeThickness`,0),M$=new xb(`reversed`,!1),A$=new id(spt),v$=new xb(`longEdgeSource`,null),y$=new xb(`longEdgeTarget`,null),_$=new xb(`longEdgeHasLabelDummies`,!1),g$=new xb(`longEdgeBeforeLabelDummy`,!1),e$=new xb(`edgeConstraint`,(GA(),mQ)),p$=new id(`inLayerLayoutUnit`),f$=new xb(`inLayerConstraint`,(rO(),GQ)),m$=new xb(`inLayerSuccessorConstraint`,new Sd),pEt=new xb(`inLayerSuccessorConstraintBetweenNonDummies`,!1),D$=new id(`portDummy`),QQ=new xb(`crossingHint`,K(0)),c$=new xb(`graphProperties`,(t=F(Fm(IQ),10),new Bb(t,F(bb(t,t.length),10),0))),o$=new xb(`externalPortSide`,(Az(),M5)),fEt=new xb(`externalPortSize`,new Am),i$=new id(`externalPortReplacedDummies`),a$=new id(`externalPortReplacedDummy`),r$=new xb(`externalPortConnections`,(e=F(Fm(P5),10),new Bb(e,F(bb(e,e.length),10),0))),O$=new xb(Xft,0),cEt=new id(`barycenterAssociates`),W$=new id(`TopSideComments`),JQ=new id(`BottomSideComments`),ZQ=new id(`CommentConnectionPort`),u$=new xb(`inputCollect`,!1),T$=new xb(`outputCollect`,!1),$Q=new xb(`cyclic`,!1),dEt=new id(`crossHierarchyMap`),B$=new id(`targetOffset`),new xb(`splineLabelSize`,new Am),F$=new id(`spacings`),E$=new xb(`partitionConstraint`,!1),YQ=new id(`breakingPoint.info`),bEt=new id(`splines.survivingEdge`),R$=new id(`splines.route.start`),I$=new id(`splines.edgeChain`),yEt=new id(`originalPortConstraints`),P$=new id(`selfLoopHolder`),L$=new id(`splines.nsPortY`),C$=new id(`modelOrder`),S$=new id(`modelOrder.maximum`),XQ=new id(`modelOrderGroups.cb.number`),b$=new id(`longEdgeTargetNode`),s$=new xb(Bpt,!1),N$=new xb(Bpt,!1),l$=new id(`layerConstraints.hiddenNodes`),vEt=new id(`layerConstraints.opposidePort`),z$=new id(`targetNode.modelOrder`),H$=new xb(`tarjan.lowlink`,K(nB)),V$=new xb(`tarjan.id`,K(-1)),U$=new xb(`tarjan.onstack`,!1),mEt=new xb(`partOfCycle`,!1),G$=new id(`medianHeuristic.weight`)}function Gz(){Gz=C;var e,t;S6=new id(qgt),a8=new id(Jgt),_Lt=(_P(),c6),gLt=new rv(eht,_Lt),new xd,C6=new rv(BH,null),vLt=new id(Ygt),SLt=(kF(),Kx(b6,W(A(x6,1),Z,299,0,[g6]))),E6=new rv(XW,SLt),D6=new rv(JW,(xy(),!1)),CLt=(fM(),y8),O6=new rv(YW,CLt),ELt=(gM(),A8),TLt=new rv(VW,ELt),kLt=new rv(Ggt,!1),ALt=(xj(),P8),j6=new rv(BW,ALt),WLt=new Av(12),G6=new rv(UH,WLt),P6=new rv(WH,!1),F6=new rv(eG,!1),W6=new rv(qH,!1),QLt=(PF(),a5),Z6=new rv(GH,QLt),n8=new id($W),r8=new id(LH),i8=new id(VH),o8=new id(HH),ILt=new Wf,I6=new rv(dht,ILt),xLt=new rv(hht,!1),jLt=new rv(ght,!1),new id(Xgt),new rv(Zgt,0),LLt=new Ff,L6=new rv(vht,LLt),U6=new rv(Qmt,!1),new xd,nRt=new rv(Qgt,1),T6=new id($gt),w6=new id(e_t),f8=new rv($H,!1),new rv(t_t,!0),K(0),new rv(n_t,K(100)),new rv(r_t,!1),K(0),new rv(i_t,K(4e3)),K(0),new rv(a_t,K(400)),new rv(o_t,!1),new rv(s_t,!1),new rv(c_t,!0),new rv(l_t,!1),bLt=(tN(),Ozt),yLt=new rv(Kgt,bLt),FLt=(NO(),F5),PLt=new rv(u_t,FLt),NLt=(Wj(),C8),MLt=new rv(d_t,NLt),rRt=new rv(Bmt,10),iRt=new rv(Vmt,10),aRt=new rv(Hmt,20),oRt=new rv(Umt,10),sRt=new rv(zH,2),cRt=new rv(qW,10),lRt=new rv(Wmt,0),c8=new rv(qmt,5),uRt=new rv(Gmt,1),dRt=new rv(Kmt,1),l8=new rv(RH,20),fRt=new rv(Jmt,10),hRt=new rv(Ymt,10),s8=new id(Xmt),mRt=new Cme,pRt=new rv(yht,mRt),qLt=new id(QW),KLt=!1,GLt=new rv(ZW,KLt),zLt=new Av(5),RLt=new rv(rht,zLt),BLt=(tL(),t=F(Fm(Y8),10),new Bb(t,F(bb(t,t.length),10),0)),R6=new rv(ZH,BLt),XLt=(QN(),Z8),YLt=new rv(oht,XLt),q6=new id(sht),J6=new id(cht),Y6=new id(lht),K6=new id(uht),VLt=(e=F(Fm(B5),10),new Bb(e,F(bb(e,e.length),10),0)),z6=new rv(XH,VLt),ULt=VM((_R(),U5)),H6=new rv(YH,ULt),HLt=new j(0,0),V6=new rv(aU,HLt),B6=new rv(JH,!1),wLt=(EO(),w8),A6=new rv(pht,wLt),k6=new rv(KH,!1),new id(f_t),K(1),new rv(p_t,null),ZLt=new id(_ht),Q6=new id(mht),tRt=(Az(),M5),t8=new rv($mt,tRt),X6=new id(Zmt),$Lt=(NI(),VM(u5)),e8=new rv(QH,$Lt),$6=new rv(iht,!1),eRt=new rv(aht,!0),K(1),bRt=new rv(dK,K(3)),K(1),SRt=new rv(m_t,K(4)),new xd,m8=new rv(eU,1),h8=new rv(fK,null),d8=new rv(tU,150),u8=new rv(nU,1.414),p8=new rv(rU,null),gRt=new rv(h_t,1),M6=new rv(tht,!1),N6=new rv(nht,!1),DLt=new rv(fht,1),OLt=(qF(),FRt),new rv(g_t,OLt),JLt=!0,xRt=(mE(),xzt),vRt=(pM(),Y5),yRt=Y5,_Rt=Y5}function Kz(){Kz=C,gwt=new hg(`DIRECTION_PREPROCESSOR`,0),pwt=new hg(`COMMENT_PREPROCESSOR`,1),YX=new hg(`EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER`,2),$X=new hg(`INTERACTIVE_EXTERNAL_PORT_POSITIONER`,3),Iwt=new hg(`PARTITION_PREPROCESSOR`,4),nZ=new hg(`LABEL_DUMMY_INSERTER`,5),_Z=new hg(`SELF_LOOP_PREPROCESSOR`,6),sZ=new hg(`LAYER_CONSTRAINT_PREPROCESSOR`,7),Pwt=new hg(`PARTITION_MIDPROCESSOR`,8),wwt=new hg(`HIGH_DEGREE_NODE_LAYER_PROCESSOR`,9),Mwt=new hg(`NODE_PROMOTION`,10),oZ=new hg(`LAYER_CONSTRAINT_POSTPROCESSOR`,11),Fwt=new hg(`PARTITION_POSTPROCESSOR`,12),xwt=new hg(`HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR`,13),Lwt=new hg(`SEMI_INTERACTIVE_CROSSMIN_PROCESSOR`,14),swt=new hg(`BREAKING_POINT_INSERTER`,15),lZ=new hg(`LONG_EDGE_SPLITTER`,16),pZ=new hg(`PORT_SIDE_PROCESSOR`,17),eZ=new hg(`INVERTED_PORT_PROCESSOR`,18),fZ=new hg(`PORT_LIST_SORTER`,19),zwt=new hg(`SORT_BY_INPUT_ORDER_OF_MODEL`,20),dZ=new hg(`NORTH_SOUTH_PORT_PREPROCESSOR`,21),cwt=new hg(`BREAKING_POINT_PROCESSOR`,22),Nwt=new hg(jpt,23),Bwt=new hg(Mpt,24),hZ=new hg(`SELF_LOOP_PORT_RESTORER`,25),owt=new hg(`ALTERNATING_LAYER_UNZIPPER`,26),Rwt=new hg(`SINGLE_EDGE_GRAPH_WRAPPER`,27),tZ=new hg(`IN_LAYER_CONSTRAINT_PROCESSOR`,28),vwt=new hg(`END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR`,29),kwt=new hg(`LABEL_AND_NODE_SIZE_PROCESSOR`,30),Owt=new hg(`INNERMOST_NODE_MARGIN_CALCULATOR`,31),vZ=new hg(`SELF_LOOP_ROUTER`,32),dwt=new hg(`COMMENT_NODE_MARGIN_CALCULATOR`,33),ZX=new hg(`END_LABEL_PREPROCESSOR`,34),iZ=new hg(`LABEL_DUMMY_SWITCHER`,35),uwt=new hg(`CENTER_LABEL_MANAGEMENT_PROCESSOR`,36),aZ=new hg(`LABEL_SIDE_SELECTOR`,37),Ewt=new hg(`HYPEREDGE_DUMMY_MERGER`,38),Swt=new hg(`HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR`,39),jwt=new hg(`NODE_PLACEMENT_REPEATER`,40),Awt=new hg(`LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR`,41),QX=new hg(`HIERARCHICAL_PORT_POSITION_PROCESSOR`,42),mwt=new hg(`CONSTRAINTS_POSTPROCESSOR`,43),fwt=new hg(`COMMENT_POSTPROCESSOR`,44),Dwt=new hg(`HYPERNODE_PROCESSOR`,45),Cwt=new hg(`HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER`,46),cZ=new hg(`LONG_EDGE_JOINER`,47),gZ=new hg(`SELF_LOOP_POSTPROCESSOR`,48),lwt=new hg(`BREAKING_POINT_REMOVER`,49),uZ=new hg(`NORTH_SOUTH_PORT_POSTPROCESSOR`,50),Twt=new hg(`HORIZONTAL_COMPACTOR`,51),rZ=new hg(`LABEL_DUMMY_REMOVER`,52),ywt=new hg(`FINAL_SPLINE_BENDPOINTS_CALCULATOR`,53),_wt=new hg(`END_LABEL_SORTER`,54),mZ=new hg(`REVERSED_EDGE_RESTORER`,55),XX=new hg(`END_LABEL_POSTPROCESSOR`,56),bwt=new hg(`HIERARCHICAL_NODE_RESIZER`,57),hwt=new hg(`DIRECTION_POSTPROCESSOR`,58)}function kdt(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=(qy(Se.b>0),F(Se.a.Xb(Se.c=--Se.b),12)),xe=0,c=new D(ve.e);c.a0&&(ve.j==(Az(),m5)?(e.a[ve.p]=Me,++Me):(e.a[ve.p]=Me+pe+he,++he))}Me+=he}for(be=new Cd,h=new hv,ae=t,w=0,ue=ae.length;wu.b&&(u.b=Ce)):ve.i.c==Ee&&(Ceu.c&&(u.c=Ce));for(SD(g,0,g.length,null),je=H(q9,dV,30,g.length,15,1),i=H(q9,dV,30,Me+1,15,1),v=0;v0;)te%2>0&&(a+=Fe[te+1]),te=(te-1)/2|0,++Fe[te];for(C=H(Jjt,sB,370,g.length*2,0,1),x=0;x0&&yw(w.f),Y(v,h8)!=null&&(!v.a&&(v.a=new I(p7,v,10,11)),v.a)&&(!v.a&&(v.a=new I(p7,v,10,11)),v.a).i>0?(c=F(Y(v,h8),522),xe=c.Sg(v),Cv(v,r.Math.max(v.g,xe.a+pe.b+pe.c),r.Math.max(v.f,xe.b+pe.d+pe.a))):(!v.a&&(v.a=new I(p7,v,10,11)),v.a).i!=0&&(xe=new j(k(P(Y(v,d8))),k(P(Y(v,d8)))/k(P(Y(v,u8)))),Cv(v,r.Math.max(v.g,xe.a+pe.b+pe.c),r.Math.max(v.f,xe.b+pe.d+pe.a)));if(fe=F(Y(t,G6),104),m=t.g-(fe.b+fe.c),p=t.f-(fe.d+fe.a),we.ah(`Available Child Area: (`+m+`|`+p+`)`),uP(t,C6,m/p),SYe(t,a,i.dh(ue)),F(Y(t,p8),281)==X5&&(Iz(t),Cv(t,fe.b+k(P(Y(t,T6)))+fe.c,fe.d+k(P(Y(t,w6)))+fe.a)),we.ah(`Executed layout algorithm: `+ib(Y(t,S6))+` on node `+t.k),F(Y(t,p8),281)==Y5){if(m<0||p<0)throw O(new Yp(`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(nD(t,T6)||nD(t,w6)||Iz(t),g=k(P(Y(t,T6))),h=k(P(Y(t,w6))),we.ah(`Desired Child Area: (`+g+`|`+h+`)`),he=m/g,ge=p/h,me=r.Math.min(he,r.Math.min(ge,k(P(Y(t,gRt))))),uP(t,m8,me),we.ah(t.k+` -- Local Scale Factor (X|Y): (`+he+`|`+ge+`)`),x=F(Y(t,E6),22),o=0,s=0,me'?`:jb(lvt,e)?`'(?<' or '(? toIndex: `,Eft=`, toIndex: `,Dft=`Index: `,Oft=`, Size: `,rH=`org.eclipse.elk.alg.common`,iH={51:1},kft=`org.eclipse.elk.alg.common.compaction`,Aft=`Scanline/EventHandler`,aH=`org.eclipse.elk.alg.common.compaction.oned`,jft=`CNode belongs to another CGroup.`,Mft=`ISpacingsHandler/1`,oH=`The `,sH=` instance has been finished already.`,Nft=`The direction `,Pft=` is not supported by the CGraph instance.`,Fft=`OneDimensionalCompactor`,Ift=`OneDimensionalCompactor/lambda$0$Type`,Lft=`Quadruplet`,Rft=`ScanlineConstraintCalculator`,zft=`ScanlineConstraintCalculator/ConstraintsScanlineHandler`,Bft=`ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type`,Vft=`ScanlineConstraintCalculator/Timestamp`,Hft=`ScanlineConstraintCalculator/lambda$0$Type`,cH={178:1,46:1},lH=`org.eclipse.elk.alg.common.networksimplex`,uH={171:1,3:1,4:1},Uft=`org.eclipse.elk.alg.common.nodespacing`,dH=`org.eclipse.elk.alg.common.nodespacing.cellsystem`,fH=`CENTER`,Wft={216:1,337:1},Gft={3:1,4:1,5:1,593:1},pH=`LEFT`,mH=`RIGHT`,Kft=`Vertical alignment cannot be null`,qft=`BOTTOM`,hH=`org.eclipse.elk.alg.common.nodespacing.internal`,gH=`UNDEFINED`,_H=.01,vH=`org.eclipse.elk.alg.common.nodespacing.internal.algorithm`,Jft=`LabelPlacer/lambda$0$Type`,Yft=`LabelPlacer/lambda$1$Type`,Xft=`portRatioOrPosition`,yH=`org.eclipse.elk.alg.common.overlaps`,bH=`DOWN`,xH=`org.eclipse.elk.alg.common.spore`,SH={3:1,4:1,5:1,198:1},Zft={3:1,6:1,4:1,5:1,90:1,110:1},CH=`org.eclipse.elk.alg.force`,Qft=`ComponentsProcessor`,$ft=`ComponentsProcessor/1`,ept=`ElkGraphImporter/lambda$0$Type`,wH={214:1},TH=`org.eclipse.elk.core`,EH=`org.eclipse.elk.graph.properties`,tpt=`IPropertyHolder`,DH=`org.eclipse.elk.alg.force.graph`,npt=`Component Layout`,rpt=`org.eclipse.elk.alg.force.model`,OH=`org.eclipse.elk.core.data`,kH=`org.eclipse.elk.force.model`,ipt=`org.eclipse.elk.force.iterations`,apt=`org.eclipse.elk.force.repulsivePower`,AH=`org.eclipse.elk.force.temperature`,jH=.001,MH=`org.eclipse.elk.force.repulsion`,NH={148:1},PH=`org.eclipse.elk.alg.force.options`,FH=1.600000023841858,IH=`org.eclipse.elk.force`,LH=`org.eclipse.elk.priority`,RH=`org.eclipse.elk.spacing.nodeNode`,zH=`org.eclipse.elk.spacing.edgeLabel`,BH=`org.eclipse.elk.aspectRatio`,VH=`org.eclipse.elk.randomSeed`,HH=`org.eclipse.elk.separateConnectedComponents`,UH=`org.eclipse.elk.padding`,WH=`org.eclipse.elk.interactive`,GH=`org.eclipse.elk.portConstraints`,KH=`org.eclipse.elk.edgeLabels.inline`,qH=`org.eclipse.elk.omitNodeMicroLayout`,JH=`org.eclipse.elk.nodeSize.fixedGraphSize`,YH=`org.eclipse.elk.nodeSize.options`,XH=`org.eclipse.elk.nodeSize.constraints`,ZH=`org.eclipse.elk.nodeLabels.placement`,QH=`org.eclipse.elk.portLabels.placement`,$H=`org.eclipse.elk.topdownLayout`,eU=`org.eclipse.elk.topdown.scaleFactor`,tU=`org.eclipse.elk.topdown.hierarchicalNodeWidth`,nU=`org.eclipse.elk.topdown.hierarchicalNodeAspectRatio`,rU=`org.eclipse.elk.topdown.nodeType`,opt=`origin`,spt=`random`,cpt=`boundingBox.upLeft`,lpt=`boundingBox.lowRight`,upt=`org.eclipse.elk.stress.fixed`,dpt=`org.eclipse.elk.stress.desiredEdgeLength`,fpt=`org.eclipse.elk.stress.dimension`,ppt=`org.eclipse.elk.stress.epsilon`,mpt=`org.eclipse.elk.stress.iterationLimit`,iU=`org.eclipse.elk.stress`,hpt=`ELK Stress`,aU=`org.eclipse.elk.nodeSize.minimum`,oU=`org.eclipse.elk.alg.force.stress`,gpt=`Layered layout`,sU=`org.eclipse.elk.alg.layered`,cU=`org.eclipse.elk.alg.layered.compaction.components`,lU=`org.eclipse.elk.alg.layered.compaction.oned`,uU=`org.eclipse.elk.alg.layered.compaction.oned.algs`,dU=`org.eclipse.elk.alg.layered.compaction.recthull`,fU=`org.eclipse.elk.alg.layered.components`,pU=`NONE`,mU=`MODEL_ORDER`,hU={3:1,6:1,4:1,10:1,5:1,126:1},_pt={3:1,6:1,4:1,5:1,135:1,90:1,110:1},gU=`org.eclipse.elk.alg.layered.compound`,_U={43:1},vU=`org.eclipse.elk.alg.layered.graph`,yU=` -> `,vpt=`Not supported by LGraph`,ypt=`Port side is undefined`,bU={3:1,6:1,4:1,5:1,324:1,135:1,90:1,110:1},xU={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},bpt={3:1,6:1,4:1,5:1,135:1,2007:1,209:1,90:1,110:1},xpt=`([{"' \r -`,Spt=`)]}"' \r -`,Cpt=`The given string contains parts that cannot be parsed as numbers.`,SU=`org.eclipse.elk.core.math`,wpt={3:1,4:1,140:1,213:1,414:1},Tpt={3:1,4:1,104:1,213:1,414:1},CU=`org.eclipse.elk.alg.layered.graph.transform`,Ept=`ElkGraphImporter`,Dpt=`ElkGraphImporter/lambda$1$Type`,Opt=`ElkGraphImporter/lambda$2$Type`,kpt=`ElkGraphImporter/lambda$4$Type`,wU=`org.eclipse.elk.alg.layered.intermediate`,Apt=`Node margin calculation`,jpt=`ONE_SIDED_GREEDY_SWITCH`,Mpt=`TWO_SIDED_GREEDY_SWITCH`,TU=`No implementation is available for the layout processor `,EU=`IntermediateProcessorStrategy`,DU=`Node '`,Npt=`FIRST_SEPARATE`,Ppt=`LAST_SEPARATE`,Fpt=`Odd port side processing`,OU=`org.eclipse.elk.alg.layered.intermediate.compaction`,kU=`org.eclipse.elk.alg.layered.intermediate.greedyswitch`,AU=`org.eclipse.elk.alg.layered.p3order.counting`,jU={220:1},MU=`org.eclipse.elk.alg.layered.intermediate.loops`,NU=`org.eclipse.elk.alg.layered.intermediate.loops.ordering`,PU=`org.eclipse.elk.alg.layered.intermediate.loops.routing`,FU=`org.eclipse.elk.alg.layered.intermediate.preserveorder`,IU=`org.eclipse.elk.alg.layered.intermediate.wrapping`,LU=`org.eclipse.elk.alg.layered.options`,RU=`INTERACTIVE`,Ipt=`GREEDY`,Lpt=`DEPTH_FIRST`,Rpt=`EDGE_LENGTH`,zpt=`SELF_LOOPS`,Bpt=`firstTryWithInitialOrder`,Vpt=`org.eclipse.elk.layered.directionCongruency`,Hpt=`org.eclipse.elk.layered.feedbackEdges`,zU=`org.eclipse.elk.layered.interactiveReferencePoint`,Upt=`org.eclipse.elk.layered.mergeEdges`,Wpt=`org.eclipse.elk.layered.mergeHierarchyEdges`,Gpt=`org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides`,Kpt=`org.eclipse.elk.layered.portSortingStrategy`,qpt=`org.eclipse.elk.layered.thoroughness`,Jpt=`org.eclipse.elk.layered.unnecessaryBendpoints`,Ypt=`org.eclipse.elk.layered.generatePositionAndLayerIds`,BU=`org.eclipse.elk.layered.cycleBreaking.strategy`,VU=`org.eclipse.elk.layered.layering.strategy`,Xpt=`org.eclipse.elk.layered.layering.layerConstraint`,Zpt=`org.eclipse.elk.layered.layering.layerChoiceConstraint`,Qpt=`org.eclipse.elk.layered.layering.layerId`,HU=`org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth`,UU=`org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor`,WU=`org.eclipse.elk.layered.layering.nodePromotion.strategy`,GU=`org.eclipse.elk.layered.layering.nodePromotion.maxIterations`,KU=`org.eclipse.elk.layered.layering.coffmanGraham.layerBound`,qU=`org.eclipse.elk.layered.crossingMinimization.strategy`,$pt=`org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder`,JU=`org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness`,YU=`org.eclipse.elk.layered.crossingMinimization.semiInteractive`,emt=`org.eclipse.elk.layered.crossingMinimization.inLayerPredOf`,tmt=`org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf`,nmt=`org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint`,rmt=`org.eclipse.elk.layered.crossingMinimization.positionId`,imt=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold`,XU=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.type`,ZU=`org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type`,QU=`org.eclipse.elk.layered.nodePlacement.strategy`,$U=`org.eclipse.elk.layered.nodePlacement.favorStraightEdges`,eW=`org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening`,tW=`org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment`,nW=`org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening`,rW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility`,iW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default`,aW=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.recomputeNodePlacement`,amt=`org.eclipse.elk.layered.edgeRouting.selfLoopDistribution`,omt=`org.eclipse.elk.layered.edgeRouting.selfLoopOrdering`,oW=`org.eclipse.elk.layered.edgeRouting.splines.mode`,sW=`org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor`,cW=`org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth`,smt=`org.eclipse.elk.layered.spacing.baseValue`,cmt=`org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers`,lmt=`org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers`,umt=`org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers`,dmt=`org.eclipse.elk.layered.priority.direction`,fmt=`org.eclipse.elk.layered.priority.shortness`,pmt=`org.eclipse.elk.layered.priority.straightness`,lW=`org.eclipse.elk.layered.compaction.connectedComponents`,mmt=`org.eclipse.elk.layered.compaction.postCompaction.strategy`,hmt=`org.eclipse.elk.layered.compaction.postCompaction.constraints`,uW=`org.eclipse.elk.layered.highDegreeNodes.treatment`,dW=`org.eclipse.elk.layered.highDegreeNodes.threshold`,fW=`org.eclipse.elk.layered.highDegreeNodes.treeHeight`,pW=`org.eclipse.elk.layered.wrapping.strategy`,mW=`org.eclipse.elk.layered.wrapping.additionalEdgeSpacing`,hW=`org.eclipse.elk.layered.wrapping.correctionFactor`,gW=`org.eclipse.elk.layered.wrapping.cutting.strategy`,_W=`org.eclipse.elk.layered.wrapping.cutting.cuts`,vW=`org.eclipse.elk.layered.wrapping.cutting.msd.freedom`,yW=`org.eclipse.elk.layered.wrapping.validify.strategy`,bW=`org.eclipse.elk.layered.wrapping.validify.forbiddenIndices`,xW=`org.eclipse.elk.layered.wrapping.multiEdge.improveCuts`,SW=`org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty`,CW=`org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges`,wW=`org.eclipse.elk.layered.layerUnzipping.strategy`,TW=`org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength`,EW=`org.eclipse.elk.layered.layerUnzipping.layerSplit`,DW=`org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges`,gmt=`org.eclipse.elk.layered.edgeLabels.sideSelection`,_mt=`org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy`,OW=`org.eclipse.elk.layered.considerModelOrder.strategy`,vmt=`org.eclipse.elk.layered.considerModelOrder.portModelOrder`,kW=`org.eclipse.elk.layered.considerModelOrder.noModelOrder`,AW=`org.eclipse.elk.layered.considerModelOrder.components`,ymt=`org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy`,jW=`org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence`,MW=`org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence`,NW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId`,PW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId`,FW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId`,bmt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy`,IW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId`,LW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId`,xmt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy`,Smt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders`,RW=`layering`,Cmt=`layering.minWidth`,wmt=`layering.nodePromotion`,zW=`crossingMinimization`,BW=`org.eclipse.elk.hierarchyHandling`,Tmt=`crossingMinimization.greedySwitch`,Emt=`nodePlacement`,Dmt=`nodePlacement.bk`,Omt=`nodePlacement.networkSimplex.nodeFlexibility`,kmt=`edgeRouting`,VW=`org.eclipse.elk.edgeRouting`,HW=`spacing`,Amt=`priority`,jmt=`compaction`,Mmt=`compaction.postCompaction`,Nmt=`Specifies whether and how post-process compaction is applied.`,Pmt=`highDegreeNodes`,Fmt=`wrapping`,Imt=`wrapping.cutting`,Lmt=`wrapping.validify`,Rmt=`wrapping.multiEdge`,UW=`layerUnzipping`,WW=`edgeLabels`,GW=`considerModelOrder`,KW=`considerModelOrder.groupModelOrder`,zmt=`Group ID of the Node Type`,Bmt=`org.eclipse.elk.spacing.commentComment`,Vmt=`org.eclipse.elk.spacing.commentNode`,Hmt=`org.eclipse.elk.spacing.componentComponent`,Umt=`org.eclipse.elk.spacing.edgeEdge`,qW=`org.eclipse.elk.spacing.edgeNode`,Wmt=`org.eclipse.elk.spacing.labelLabel`,Gmt=`org.eclipse.elk.spacing.labelPortHorizontal`,Kmt=`org.eclipse.elk.spacing.labelPortVertical`,qmt=`org.eclipse.elk.spacing.labelNode`,Jmt=`org.eclipse.elk.spacing.nodeSelfLoop`,Ymt=`org.eclipse.elk.spacing.portPort`,Xmt=`org.eclipse.elk.spacing.individual`,Zmt=`org.eclipse.elk.port.borderOffset`,Qmt=`org.eclipse.elk.noLayout`,$mt=`org.eclipse.elk.port.side`,JW=`org.eclipse.elk.debugMode`,eht=`org.eclipse.elk.alignment`,tht=`org.eclipse.elk.insideSelfLoops.activate`,nht=`org.eclipse.elk.insideSelfLoops.yo`,YW=`org.eclipse.elk.direction`,rht=`org.eclipse.elk.nodeLabels.padding`,iht=`org.eclipse.elk.portLabels.nextToPortIfPossible`,aht=`org.eclipse.elk.portLabels.treatAsGroup`,oht=`org.eclipse.elk.portAlignment.default`,sht=`org.eclipse.elk.portAlignment.north`,cht=`org.eclipse.elk.portAlignment.south`,lht=`org.eclipse.elk.portAlignment.west`,uht=`org.eclipse.elk.portAlignment.east`,XW=`org.eclipse.elk.contentAlignment`,dht=`org.eclipse.elk.junctionPoints`,fht=`org.eclipse.elk.edge.thickness`,pht=`org.eclipse.elk.edgeLabels.placement`,mht=`org.eclipse.elk.port.index`,hht=`org.eclipse.elk.commentBox`,ght=`org.eclipse.elk.hypernode`,_ht=`org.eclipse.elk.port.anchor`,ZW=`org.eclipse.elk.partitioning.activate`,QW=`org.eclipse.elk.partitioning.partition`,$W=`org.eclipse.elk.position`,vht=`org.eclipse.elk.margins`,yht=`org.eclipse.elk.spacing.portsSurrounding`,eG=`org.eclipse.elk.interactiveLayout`,tG=`org.eclipse.elk.core.util`,bht={3:1,4:1,5:1,591:1},xht=`NETWORK_SIMPLEX`,Sht=`SIMPLE`,nG={95:1,43:1},rG=`org.eclipse.elk.alg.layered.p1cycles`,Cht=`Depth-first cycle removal`,wht=`Model order cycle breaking`,iG=`org.eclipse.elk.alg.layered.p2layers`,Tht={406:1,220:1},Eht={831:1,3:1,4:1},aG=`org.eclipse.elk.alg.layered.p3order`,oG=17976931348623157e292,sG=5e-324,cG=`org.eclipse.elk.alg.layered.p4nodes`,Dht={3:1,4:1,5:1,839:1},lG=1e-5,uG=`org.eclipse.elk.alg.layered.p4nodes.bk`,Oht=`org.eclipse.elk.alg.layered.p5edges`,dG=`org.eclipse.elk.alg.layered.p5edges.orthogonal`,fG=`org.eclipse.elk.alg.layered.p5edges.orthogonal.direction`,pG=1e-6,mG=`org.eclipse.elk.alg.layered.p5edges.splines`,hG=.09999999999999998,gG=1e-8,kht=4.71238898038469,Aht=1.5707963267948966,jht=3.141592653589793,_G=`org.eclipse.elk.alg.mrtree`,vG=.10000000149011612,yG=`SUPER_ROOT`,bG=`org.eclipse.elk.alg.mrtree.graph`,Mht=-17976931348623157e292,xG=`org.eclipse.elk.alg.mrtree.intermediate`,Nht=`Processor compute fanout`,SG={3:1,6:1,4:1,5:1,523:1,90:1,110:1},Pht=`Set neighbors in level`,CG=`org.eclipse.elk.alg.mrtree.options`,Fht=`DESCENDANTS`,Iht=`org.eclipse.elk.mrtree.compaction`,Lht=`org.eclipse.elk.mrtree.edgeEndTextureLength`,Rht=`org.eclipse.elk.mrtree.treeLevel`,zht=`org.eclipse.elk.mrtree.positionConstraint`,Bht=`org.eclipse.elk.mrtree.weighting`,Vht=`org.eclipse.elk.mrtree.edgeRoutingMode`,Hht=`org.eclipse.elk.mrtree.searchOrder`,Uht=`Position Constraint`,wG=`org.eclipse.elk.mrtree`,Wht=`org.eclipse.elk.tree`,Ght=`Processor arrange level`,TG=`org.eclipse.elk.alg.mrtree.p2order`,EG=`org.eclipse.elk.alg.mrtree.p4route`,Kht=`org.eclipse.elk.alg.radial`,DG=6.283185307179586,qht=`Before`,OG=`After`,Jht=`org.eclipse.elk.alg.radial.intermediate`,Yht=`COMPACTION`,kG=`org.eclipse.elk.alg.radial.intermediate.compaction`,Xht={3:1,4:1,5:1,90:1},Zht=`org.eclipse.elk.alg.radial.intermediate.optimization`,AG=`No implementation is available for the layout option `,jG=`org.eclipse.elk.alg.radial.options`,Qht=`CompactionStrategy`,$ht=`org.eclipse.elk.radial.centerOnRoot`,egt=`org.eclipse.elk.radial.orderId`,tgt=`org.eclipse.elk.radial.radius`,MG=`org.eclipse.elk.radial.rotate`,NG=`org.eclipse.elk.radial.compactor`,PG=`org.eclipse.elk.radial.compactionStepSize`,ngt=`org.eclipse.elk.radial.sorter`,rgt=`org.eclipse.elk.radial.wedgeCriteria`,igt=`org.eclipse.elk.radial.optimizationCriteria`,FG=`org.eclipse.elk.radial.rotation.targetAngle`,IG=`org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace`,agt=`org.eclipse.elk.radial.rotation.outgoingEdgeAngles`,ogt=`Compaction`,sgt=`rotation`,LG=`org.eclipse.elk.radial`,cgt=`org.eclipse.elk.alg.radial.p1position.wedge`,lgt=`org.eclipse.elk.alg.radial.sorting`,ugt=5.497787143782138,dgt=3.9269908169872414,fgt=2.356194490192345,pgt=`org.eclipse.elk.alg.rectpacking`,RG=`org.eclipse.elk.alg.rectpacking.intermediate`,zG=`org.eclipse.elk.alg.rectpacking.options`,mgt=`org.eclipse.elk.rectpacking.trybox`,hgt=`org.eclipse.elk.rectpacking.currentPosition`,ggt=`org.eclipse.elk.rectpacking.desiredPosition`,_gt=`org.eclipse.elk.rectpacking.inNewRow`,vgt=`org.eclipse.elk.rectpacking.orderBySize`,ygt=`org.eclipse.elk.rectpacking.widthApproximation.strategy`,bgt=`org.eclipse.elk.rectpacking.widthApproximation.targetWidth`,xgt=`org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal`,Sgt=`org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift`,Cgt=`org.eclipse.elk.rectpacking.packing.strategy`,wgt=`org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation`,Tgt=`org.eclipse.elk.rectpacking.packing.compaction.iterations`,Egt=`org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy`,BG=`widthApproximation`,Dgt=`Compaction Strategy`,Ogt=`packing.compaction`,VG=`org.eclipse.elk.rectpacking`,HG=`org.eclipse.elk.alg.rectpacking.p1widthapproximation`,UG=`org.eclipse.elk.alg.rectpacking.p2packing`,kgt=`No Compaction`,Agt=`org.eclipse.elk.alg.rectpacking.p3whitespaceelimination`,WG=`org.eclipse.elk.alg.rectpacking.util`,GG=`No implementation available for `,KG=`org.eclipse.elk.alg.spore`,qG=`org.eclipse.elk.alg.spore.options`,JG=`org.eclipse.elk.sporeCompaction`,YG=`org.eclipse.elk.underlyingLayoutAlgorithm`,jgt=`org.eclipse.elk.processingOrder.treeConstruction`,Mgt=`org.eclipse.elk.processingOrder.spanningTreeCostFunction`,XG=`org.eclipse.elk.processingOrder.preferredRoot`,ZG=`org.eclipse.elk.processingOrder.rootSelection`,QG=`org.eclipse.elk.structure.structureExtractionStrategy`,Ngt=`org.eclipse.elk.compaction.compactionStrategy`,Pgt=`org.eclipse.elk.compaction.orthogonal`,Fgt=`org.eclipse.elk.overlapRemoval.maxIterations`,Igt=`org.eclipse.elk.overlapRemoval.runScanline`,$G=`processingOrder`,Lgt=`overlapRemoval`,eK=`org.eclipse.elk.sporeOverlap`,Rgt=`org.eclipse.elk.alg.spore.p1structure`,tK=`org.eclipse.elk.alg.spore.p2processingorder`,nK=`org.eclipse.elk.alg.spore.p3execution`,zgt=`Topdown Layout`,Bgt=`Invalid index: `,rK=`org.eclipse.elk.core.alg`,iK={342:1},aK={296:1},Vgt=`Make sure its type is registered with the `,Hgt=` utility class.`,oK=`true`,sK=`false`,Ugt=`Couldn't clone property '`,cK=.05,lK=`org.eclipse.elk.core.options`,Wgt=1.2999999523162842,uK=`org.eclipse.elk.box`,Ggt=`org.eclipse.elk.expandNodes`,Kgt=`org.eclipse.elk.box.packingMode`,qgt=`org.eclipse.elk.algorithm`,Jgt=`org.eclipse.elk.resolvedAlgorithm`,Ygt=`org.eclipse.elk.bendPoints`,Xgt=`org.eclipse.elk.labelManager`,Zgt=`org.eclipse.elk.softwrappingFuzziness`,Qgt=`org.eclipse.elk.scaleFactor`,$gt=`org.eclipse.elk.childAreaWidth`,e_t=`org.eclipse.elk.childAreaHeight`,t_t=`org.eclipse.elk.animate`,n_t=`org.eclipse.elk.animTimeFactor`,r_t=`org.eclipse.elk.layoutAncestors`,i_t=`org.eclipse.elk.maxAnimTime`,a_t=`org.eclipse.elk.minAnimTime`,o_t=`org.eclipse.elk.progressBar`,s_t=`org.eclipse.elk.validateGraph`,c_t=`org.eclipse.elk.validateOptions`,l_t=`org.eclipse.elk.zoomToFit`,u_t=`org.eclipse.elk.json.shapeCoords`,d_t=`org.eclipse.elk.json.edgeCoords`,f_t=`org.eclipse.elk.font.name`,p_t=`org.eclipse.elk.font.size`,dK=`org.eclipse.elk.topdown.sizeCategories`,m_t=`org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight`,fK=`org.eclipse.elk.topdown.sizeApproximator`,h_t=`org.eclipse.elk.topdown.scaleCap`,g_t=`org.eclipse.elk.edge.type`,__t=`partitioning`,v_t=`nodeLabels`,pK=`portAlignment`,mK=`nodeSize`,hK=`port`,y_t=`portLabels`,gK=`topdown`,b_t=`insideSelfLoops`,x_t=`INHERIT`,_K=`org.eclipse.elk.fixed`,vK=`org.eclipse.elk.random`,yK={3:1,35:1,24:1,522:1,288:1},S_t=`port must have a parent node to calculate the port side`,C_t=`The edge needs to have exactly one edge section. Found: `,bK=`org.eclipse.elk.core.util.adapters`,xK=`org.eclipse.emf.ecore`,SK=`org.eclipse.elk.graph`,w_t=`EMapPropertyHolder`,T_t=`ElkBendPoint`,E_t=`ElkGraphElement`,D_t=`ElkConnectableShape`,O_t=`ElkEdge`,k_t=`ElkEdgeSection`,A_t=`EModelElement`,j_t=`ENamedElement`,M_t=`ElkLabel`,N_t=`ElkNode`,P_t=`ElkPort`,F_t={94:1,93:1},CK=`org.eclipse.emf.common.notify.impl`,wK=`The feature '`,TK=`' is not a valid changeable feature`,I_t=`Expecting null`,EK=`' is not a valid feature`,L_t=`The feature ID`,R_t=` is not a valid feature ID`,DK=32768,z_t={109:1,94:1,93:1,57:1,52:1,100:1},OK=`org.eclipse.emf.ecore.impl`,kK=2048,AK=`org.eclipse.elk.graph.impl`,jK=`Recursive containment not allowed for `,MK=`The datatype '`,NK=`' is not a valid classifier`,PK=`The value '`,FK={195:1,3:1,4:1},IK=`The class '`,LK=`http://www.eclipse.org/elk/ElkGraph`,B_t=`property`,RK=`value`,zK=`source`,V_t=`properties`,H_t=`identifier`,BK=`height`,VK=`width`,HK=`parent`,UK=`text`,WK=`children`,U_t=`hierarchical`,W_t=`sources`,GK=`targets`,KK=`sections`,qK=`bendPoints`,G_t=`outgoingShape`,K_t=`incomingShape`,q_t=`outgoingSections`,J_t=`incomingSections`,JK=`org.eclipse.emf.common.util`,Y_t=`Severe implementation error in the Json to ElkGraph importer.`,YK=`id`,XK=`org.eclipse.elk.graph.json`,ZK=`Unhandled parameter types: `,X_t=`startPoint`,Z_t=`An edge must have at least one source and one target (edge id: '`,QK=`').`,Q_t=`Referenced edge section does not exist: `,$_t=` (edge id: '`,evt=`target`,tvt=`sourcePoint`,nvt=`targetPoint`,$K=`group`,eq=`name`,rvt=`connectableShape cannot be null`,ivt=`edge cannot be null`,avt=`Passed edge is not 'simple'.`,tq=`org.eclipse.elk.graph.util`,nq=`The 'no duplicates' constraint is violated`,rq=`targetIndex=`,iq=`, size=`,aq=`sourceIndex=`,oq={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},sq={3:1,4:1,20:1,31:1,56:1,18:1,50:1,16:1,59:1,71:1,67:1,61:1,586:1},cq=`logging`,ovt=`measureExecutionTime`,svt=`parser.parse.1`,cvt=`parser.parse.2`,lq=`parser.next.1`,uq=`parser.next.2`,lvt=`parser.next.3`,uvt=`parser.next.4`,dq=`parser.factor.1`,dvt=`parser.factor.2`,fvt=`parser.factor.3`,pvt=`parser.factor.4`,mvt=`parser.factor.5`,hvt=`parser.factor.6`,gvt=`parser.atom.1`,_vt=`parser.atom.2`,vvt=`parser.atom.3`,yvt=`parser.atom.4`,fq=`parser.atom.5`,bvt=`parser.cc.1`,pq=`parser.cc.2`,xvt=`parser.cc.3`,Svt=`parser.cc.5`,Cvt=`parser.cc.6`,wvt=`parser.cc.7`,mq=`parser.cc.8`,Tvt=`parser.ope.1`,Evt=`parser.ope.2`,Dvt=`parser.ope.3`,hq=`parser.descape.1`,Ovt=`parser.descape.2`,kvt=`parser.descape.3`,Avt=`parser.descape.4`,jvt=`parser.descape.5`,gq=`parser.process.1`,Mvt=`parser.quantifier.1`,Nvt=`parser.quantifier.2`,Pvt=`parser.quantifier.3`,Fvt=`parser.quantifier.4`,Ivt=`parser.quantifier.5`,Lvt=`org.eclipse.emf.common.notify`,Rvt={415:1,676:1},zvt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1},_q={373:1,151:1},vq=`index=`,yq={3:1,4:1,5:1,129:1},Bvt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,61:1},Vvt={3:1,6:1,4:1,5:1,198:1},Hvt={3:1,4:1,5:1,175:1,374:1},Uvt=`;/?:@&=+$,`,Wvt=`invalid authority: `,Gvt=`EAnnotation`,Kvt=`ETypedElement`,qvt=`EStructuralFeature`,Jvt=`EAttribute`,Yvt=`EClassifier`,Xvt=`EEnumLiteral`,Zvt=`EGenericType`,Qvt=`EOperation`,$vt=`EParameter`,eyt=`EReference`,bq=1024,tyt=`ETypeParameter`,xq=`org.eclipse.emf.ecore.util`,Sq={78:1},nyt={3:1,20:1,18:1,16:1,61:1,587:1,78:1,72:1,98:1},ryt=`org.eclipse.emf.ecore.util.FeatureMap$Entry`,Cq=8192,wq=`byte`,Tq=`char`,Eq=`double`,Dq=`float`,Oq=`int`,kq=`long`,Aq=`short`,iyt=`java.lang.Object`,jq={3:1,4:1,5:1,255:1},ayt={3:1,4:1,5:1,678:1},oyt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},Mq={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,72:1,98:1},Nq=`mixed`,Pq=`http:///org/eclipse/emf/ecore/util/ExtendedMetaData`,Fq=`kind`,syt={3:1,4:1,5:1,679:1},cyt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,78:1,72:1,98:1},Iq={20:1,31:1,56:1,18:1,16:1,61:1,72:1},Lq={50:1,128:1,287:1},Rq={75:1,344:1},zq=`The value of type '`,Bq=`' must be of type '`,Vq=1307,Hq=`http://www.eclipse.org/emf/2002/Ecore`,Uq=-32768,Wq=`constraints`,Gq=`baseType`,lyt=`getEStructuralFeature`,uyt=`getFeatureID`,Kq=`feature`,dyt=`getOperationID`,fyt=`operation`,pyt=`defaultValue`,myt=`eTypeParameters`,hyt=`isInstance`,gyt=`getEEnumLiteral`,_yt=`eContainingClass`,qq={58:1},vyt={3:1,4:1,5:1,122:1},yyt=`org.eclipse.emf.ecore.resource`,byt={94:1,93:1,589:1,1999:1},Jq=`org.eclipse.emf.ecore.resource.impl`,xyt=`unspecified`,Yq=`simple`,Xq=`attribute`,Syt=`attributeWildcard`,Zq=`element`,Qq=`elementWildcard`,$q=`collapse`,eJ=`itemType`,tJ=`namespace`,nJ=`##targetNamespace`,rJ=`whiteSpace`,Cyt=`wildcards`,iJ=`http://www.eclipse.org/emf/2003/XMLType`,aJ=`##any`,oJ=`uninitialized`,sJ=`The multiplicity constraint is violated`,cJ=`org.eclipse.emf.ecore.xml.type`,wyt=`ProcessingInstruction`,Tyt=`SimpleAnyType`,Eyt=`XMLTypeDocumentRoot`,lJ=`org.eclipse.emf.ecore.xml.type.impl`,uJ=`INF`,Dyt=`processing`,Oyt=`ENTITIES_._base`,kyt=`minLength`,Ayt=`ENTITY`,dJ=`NCName`,jyt=`IDREFS_._base`,Myt=`integer`,fJ=`token`,pJ=`pattern`,Nyt=`[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*`,Pyt=`\\i\\c*`,Fyt=`[\\i-[:]][\\c-[:]]*`,Iyt=`nonPositiveInteger`,mJ=`maxInclusive`,Lyt=`NMTOKEN`,Ryt=`NMTOKENS_._base`,zyt=`nonNegativeInteger`,hJ=`minInclusive`,Byt=`normalizedString`,Vyt=`unsignedByte`,Hyt=`unsignedInt`,Uyt=`18446744073709551615`,Wyt=`unsignedShort`,Gyt=`processingInstruction`,gJ=`org.eclipse.emf.ecore.xml.type.internal`,_J=1114111,Kyt=`Internal Error: shorthands: \\u`,vJ=`xml:isDigit`,yJ=`xml:isWord`,bJ=`xml:isSpace`,xJ=`xml:isNameChar`,SJ=`xml:isInitialNameChar`,qyt=`09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩`,Jyt=`AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣`,Yyt=`Private Use`,CJ=`ASSIGNED`,wJ=`\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾＀￯`,Xyt=`UNASSIGNED`,TJ={3:1,121:1},Zyt=`org.eclipse.emf.ecore.xml.type.util`,EJ={3:1,4:1,5:1,376:1},Qyt=`org.eclipse.xtext.xbase.lib`,$yt=`Cannot add elements to a Range`,ebt=`Cannot set elements in a Range`,tbt=`Cannot remove elements from a Range`,nbt=`user.agent`,Q,DJ,rbt,ibt=-1;r.goog=r.goog||{},r.goog.global=r.goog.global||r,DJ={},J(1,null,{},a),Q.Fb=function(e){return ome(this,e)},Q.Gb=function(){return this.Pm},Q.Hb=function(){return Ey(this)},Q.Ib=function(){var e;return Bm(vj(this))+`@`+(e=jk(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 abt,obt,sbt;J(298,1,{298:1,2089:1},NUe),Q.te=function(e){var t=new NUe;return t.i=4,t.c=e>1?mAe(this,e-1):this,t},Q.ue=function(){return nb(this),this.b},Q.ve=function(){return Bm(this)},Q.we=function(){return nb(this),this.k},Q.xe=function(){return!!(this.i&4)},Q.ye=function(){return!!(this.i&1)},Q.Ib=function(){return Mze(this)},Q.i=0;var cbt=1,OJ=R(rB,`Object`,1),lbt=R(rB,`Class`,298);J(2061,1,iB),R(aB,`Optional`,2061),J(1161,2061,iB,o),Q.Fb=function(e){return e===this},Q.Hb=function(){return 2040732332},Q.Ib=function(){return`Optional.absent()`},Q.Jb=function(e){return HS(e),dp(),kJ};var kJ;R(aB,`Absent`,1161),J(628,1,{},nm),R(aB,`Joiner`,628);var ubt=Ax(aB,`Predicate`);J(578,1,{178:1,578:1,3:1,46:1},hie),Q.Mb=function(e){return GUe(this,e)},Q.Lb=function(e){return GUe(this,e)},Q.Fb=function(e){var t;return N(e,578)?(t=F(e,578),J8e(this.a,t.a)):!1},Q.Hb=function(){return qUe(this.a)+306654252},Q.Ib=function(){return y4e(this.a)},R(aB,`Predicates/AndPredicate`,578),J(411,2061,{411:1,3:1},kc),Q.Fb=function(e){var t;return N(e,411)?(t=F(e,411),nM(this.a,t.a)):!1},Q.Hb=function(){return 1502476572+jk(this.a)},Q.Ib=function(){return Hdt+this.a+`)`},Q.Jb=function(e){return new kc(nw(e.Kb(this.a),`the Function passed to Optional.transform() must not return null.`))},R(aB,`Present`,411),J(204,1,lB),Q.Nb=function(e){CS(this,e)},Q.Qb=function(){yce()},R(uB,`UnmodifiableIterator`,204),J(2041,204,dB),Q.Qb=function(){yce()},Q.Rb=function(e){throw O(new Jd)},Q.Wb=function(e){throw O(new Jd)},R(uB,`UnmodifiableListIterator`,2041),J(392,2041,dB),Q.Ob=function(){return this.b0},Q.Pb=function(){if(this.b>=this.c)throw O(new Yd);return this.Xb(this.b++)},Q.Tb=function(){return this.b},Q.Ub=function(){if(this.b<=0)throw O(new Yd);return this.Xb(--this.b)},Q.Vb=function(){return this.b-1},Q.b=0,Q.c=0,R(uB,`AbstractIndexedListIterator`,392),J(702,204,lB),Q.Ob=function(){return Tk(this)},Q.Pb=function(){return YLe(this)},Q.e=1,R(uB,`AbstractIterator`,702),J(2049,1,{229:1}),Q.Zb=function(){return this.f||=this.ac()},Q.Fb=function(e){return fj(this,e)},Q.Hb=function(){return jk(this.Zb())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return eS(this)},Q.Ib=function(){return qM(this.Zb())},R(uB,`AbstractMultimap`,2049),J(730,2049,fB),Q.$b=function(){lk(this)},Q._b=function(e){return Cle(this,e)},Q.ac=function(){return new Xm(this,this.c)},Q.ic=function(e){return this.hc()},Q.bc=function(){return new fy(this,this.c)},Q.jc=function(){return this.mc(this.hc())},Q.kc=function(){return new $se(this)},Q.lc=function(){return WF(this.c.vc().Lc(),new l,64,this.d)},Q.cc=function(e){return ME(this,e)},Q.fc=function(e){return Rj(this,e)},Q.gc=function(){return this.d},Q.mc=function(e){return qC(),new Pl(e)},Q.nc=function(){return new Qse(this)},Q.oc=function(){return WF(this.c.Bc().Lc(),new s,64,this.d)},Q.pc=function(e,t){return new ZE(this,e,t,null)},Q.d=0,R(uB,`AbstractMapBasedMultimap`,730),J(1664,730,fB),Q.hc=function(){return new oD(this.a)},Q.jc=function(){return qC(),qC(),hY},Q.cc=function(e){return F(ME(this,e),16)},Q.fc=function(e){return F(Rj(this,e),16)},Q.Zb=function(){return KC(this)},Q.Fb=function(e){return fj(this,e)},Q.qc=function(e){return F(ME(this,e),16)},Q.rc=function(e){return F(Rj(this,e),16)},Q.mc=function(e){return rw(F(e,16))},Q.pc=function(e,t){return GMe(this,e,F(t,16),null)},R(uB,`AbstractListMultimap`,1664),J(736,1,pB),Q.Nb=function(e){CS(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(),45),this.b=e.jd(),this.a=F(e.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},Q.Qb=function(){this.e.Qb(),F(rC(this.a),18).dc()&&this.c.Qb(),--this.d.d},R(uB,`AbstractMapBasedMultimap/Itr`,736),J(1099,736,pB,Qse),Q.sc=function(e,t){return t},R(uB,`AbstractMapBasedMultimap/1`,1099),J(1100,1,{},s),Q.Kb=function(e){return F(e,18).Lc()},R(uB,`AbstractMapBasedMultimap/1methodref$spliterator$Type`,1100),J(1101,736,pB,$se),Q.sc=function(e,t){return new Zm(e,t)},R(uB,`AbstractMapBasedMultimap/2`,1101);var dbt=Ax(mB,`Map`);J(2030,1,hB),Q.wc=function(e){eA(this,e)},Q.$b=function(){this.vc().$b()},Q.tc=function(e){return RP(this,e)},Q._b=function(e){return!!E1e(this,e,!1)},Q.uc=function(e){for(var t,n=this.vc().Jc(),r;n.Ob();)if(t=F(n.Pb(),45),r=t.kd(),M(e)===M(r)||e!=null&&nM(e,r))return!0;return!1},Q.Fb=function(e){var t,n,r;if(e===this)return!0;if(!N(e,92)||(r=F(e,92),this.gc()!=r.gc()))return!1;for(n=r.vc().Jc();n.Ob();)if(t=F(n.Pb(),45),!this.tc(t))return!1;return!0},Q.xc=function(e){return V_(E1e(this,e,!1))},Q.Hb=function(){return mUe(this.vc())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return new Dl(this)},Q.yc=function(e,t){throw O(new Jp(`Put not supported on this map`))},Q.zc=function(e){Yk(this,e)},Q.Ac=function(e){return V_(E1e(this,e,!0))},Q.gc=function(){return this.vc().gc()},Q.Ib=function(){return z1e(this)},Q.Bc=function(){return new jl(this)},R(mB,`AbstractMap`,2030),J(2050,2030,hB),Q.bc=function(){return new Ym(this)},Q.vc=function(){return Hwe(this)},Q.ec=function(){return this.g||=this.bc()},Q.Bc=function(){return this.i||=new Due(this)},R(uB,`Maps/ViewCachingAbstractMap`,2050),J(395,2050,hB,Xm),Q.xc=function(e){return cze(this,e)},Q.Ac=function(e){return MWe(this,e)},Q.$b=function(){this.d==this.e.c?this.e.$b():Mx(new twe(this))},Q._b=function(e){return PGe(this.d,e)},Q.Dc=function(){return new Ac(this)},Q.Cc=function(){return this.Dc()},Q.Fb=function(e){return this===e||nM(this.d,e)},Q.Hb=function(){return jk(this.d)},Q.ec=function(){return this.e.ec()},Q.gc=function(){return this.d.gc()},Q.Ib=function(){return qM(this.d)},R(uB,`AbstractMapBasedMultimap/AsMap`,395);var AJ=Ax(rB,`Iterable`);J(31,1,gB),Q.Ic=function(e){_E(this,e)},Q.Lc=function(){return new cT(this,0)},Q.Mc=function(){return new Px(null,this.Lc())},Q.Ec=function(e){throw O(new Jp(`Add not supported on this collection`))},Q.Fc=function(e){return zk(this,e)},Q.$b=function(){zDe(this)},Q.Gc=function(e){return oN(this,e,!1)},Q.Hc=function(e){return IA(this,e)},Q.dc=function(){return this.gc()==0},Q.Kc=function(e){return oN(this,e,!0)},Q.Nc=function(){return Gwe(this)},Q.Oc=function(e){return LP(this,e)},Q.Ib=function(){return eI(this)},R(mB,`AbstractCollection`,31);var jJ=Ax(mB,`Set`);J(_B,31,vB),Q.Lc=function(){return new cT(this,1)},Q.Fb=function(e){return qJe(this,e)},Q.Hb=function(){return mUe(this)},R(mB,`AbstractSet`,_B),J(2033,_B,vB),R(uB,`Sets/ImprovedAbstractSet`,2033),J(2034,2033,vB),Q.$b=function(){this.Pc().$b()},Q.Gc=function(e){return iJe(this,e)},Q.dc=function(){return this.Pc().dc()},Q.Kc=function(e){var t;return this.Gc(e)&&N(e,45)?(t=F(e,45),this.Pc().ec().Kc(t.jd())):!1},Q.gc=function(){return this.Pc().gc()},R(uB,`Maps/EntrySet`,2034),J(1097,2034,vB,Ac),Q.Gc=function(e){return FGe(this.a.d.vc(),e)},Q.Jc=function(){return new twe(this.a)},Q.Pc=function(){return this.a},Q.Kc=function(e){var t;return FGe(this.a.d.vc(),e)?(t=F(rC(F(e,45)),45),gFe(this.a.e,t.jd()),!0):!1},Q.Lc=function(){return tx(this.a.d.vc().Lc(),new gie(this.a))},R(uB,`AbstractMapBasedMultimap/AsMap/AsMapEntries`,1097),J(1098,1,{},gie),Q.Kb=function(e){return HPe(this.a,F(e,45))},R(uB,`AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type`,1098),J(734,1,pB,twe),Q.Nb=function(e){CS(this,e)},Q.Pb=function(){var e=F(this.b.Pb(),45);return this.a=F(e.kd(),18),HPe(this.c,e)},Q.Ob=function(){return this.b.Ob()},Q.Qb=function(){Vb(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},R(uB,`AbstractMapBasedMultimap/AsMap/AsMapIterator`,734),J(531,2033,vB,Ym),Q.$b=function(){this.b.$b()},Q.Gc=function(e){return this.b._b(e)},Q.Ic=function(e){HS(e),this.b.wc(new Oie(e))},Q.dc=function(){return this.b.dc()},Q.Jc=function(){return new yp(this.b.vc().Jc())},Q.Kc=function(e){return this.b._b(e)?(this.b.Ac(e),!0):!1},Q.gc=function(){return this.b.gc()},R(uB,`Maps/KeySet`,531),J(332,531,vB,fy),Q.$b=function(){var e;Mx((e=this.b.vc().Jc(),new cue(this,e)))},Q.Hc=function(e){return this.b.ec().Hc(e)},Q.Fb=function(e){return this===e||nM(this.b.ec(),e)},Q.Hb=function(){return jk(this.b.ec())},Q.Jc=function(){var e=this.b.vc().Jc();return new cue(this,e)},Q.Kc=function(e){var t,n=0;return t=F(this.b.Ac(e),18),t&&(n=t.gc(),t.$b(),this.a.d-=n),n>0},Q.Lc=function(){return this.b.ec().Lc()},R(uB,`AbstractMapBasedMultimap/KeySet`,332),J(735,1,pB,cue),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return this.c.Ob()},Q.Pb=function(){return this.a=F(this.c.Pb(),45),this.a.jd()},Q.Qb=function(){var e;Vb(!!this.a),e=F(this.a.kd(),18),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},R(uB,`AbstractMapBasedMultimap/KeySet/1`,735),J(489,395,{92:1,134:1},ob),Q.bc=function(){return this.Qc()},Q.ec=function(){return this.Sc()},Q.Qc=function(){return new Qm(this.c,this.Uc())},Q.Rc=function(){return this.Uc().Rc()},Q.Sc=function(){return this.b||=this.Qc()},Q.Tc=function(){return this.Uc().Tc()},Q.Uc=function(){return F(this.d,134)},R(uB,`AbstractMapBasedMultimap/SortedAsMap`,489),J(437,489,Udt,sb),Q.bc=function(){return new $m(this.a,F(F(this.d,134),138))},Q.Qc=function(){return new $m(this.a,F(F(this.d,134),138))},Q.ec=function(){var e=this.b;return F(e||(this.b=new $m(this.a,F(F(this.d,134),138))),277)},Q.Sc=function(){var e=this.b;return F(e||(this.b=new $m(this.a,F(F(this.d,134),138))),277)},Q.Uc=function(){return F(F(this.d,134),138)},Q.Vc=function(e){return F(F(this.d,134),138).Vc(e)},Q.Wc=function(e){return F(F(this.d,134),138).Wc(e)},Q.Xc=function(e,t){return new sb(this.a,F(F(this.d,134),138).Xc(e,t))},Q.Yc=function(e){return F(F(this.d,134),138).Yc(e)},Q.Zc=function(e){return F(F(this.d,134),138).Zc(e)},Q.$c=function(e,t){return new sb(this.a,F(F(this.d,134),138).$c(e,t))},R(uB,`AbstractMapBasedMultimap/NavigableAsMap`,437),J(488,332,Wdt,Qm),Q.Lc=function(){return this.b.ec().Lc()},R(uB,`AbstractMapBasedMultimap/SortedKeySet`,488),J(394,488,Gdt,$m),R(uB,`AbstractMapBasedMultimap/NavigableKeySet`,394),J(540,31,gB,ZE),Q.Ec=function(e){var t,n;return XM(this),n=this.d.dc(),t=this.d.Ec(e),t&&(++this.f.d,n&&hb(this)),t},Q.Fc=function(e){var t,n,r;return!e.dc()&&(r=(XM(this),this.d.gc()),t=this.d.Fc(e),t&&(n=this.d.gc(),this.f.d+=n-r,r==0&&hb(this)),t)},Q.$b=function(){var e=(XM(this),this.d.gc());e!=0&&(this.d.$b(),this.f.d-=e,Yx(this))},Q.Gc=function(e){return XM(this),this.d.Gc(e)},Q.Hc=function(e){return XM(this),this.d.Hc(e)},Q.Fb=function(e){return e===this||(XM(this),nM(this.d,e))},Q.Hb=function(){return XM(this),jk(this.d)},Q.Jc=function(){return XM(this),new ASe(this)},Q.Kc=function(e){var t;return XM(this),t=this.d.Kc(e),t&&(--this.f.d,Yx(this)),t},Q.gc=function(){return jpe(this)},Q.Lc=function(){return XM(this),this.d.Lc()},Q.Ib=function(){return XM(this),qM(this.d)},R(uB,`AbstractMapBasedMultimap/WrappedCollection`,540);var MJ=Ax(mB,`List`);J(732,540,{20:1,31:1,18:1,16:1},Xwe),Q.gd=function(e){Rk(this,e)},Q.Lc=function(){return XM(this),this.d.Lc()},Q._c=function(e,t){var n;XM(this),n=this.d.dc(),F(this.d,16)._c(e,t),++this.a.d,n&&hb(this)},Q.ad=function(e,t){var n,r,i;return!t.dc()&&(i=(XM(this),this.d.gc()),n=F(this.d,16).ad(e,t),n&&(r=this.d.gc(),this.a.d+=r-i,i==0&&hb(this)),n)},Q.Xb=function(e){return XM(this),F(this.d,16).Xb(e)},Q.bd=function(e){return XM(this),F(this.d,16).bd(e)},Q.cd=function(){return XM(this),new nhe(this)},Q.dd=function(e){return XM(this),new aOe(this,e)},Q.ed=function(e){var t;return XM(this),t=F(this.d,16).ed(e),--this.a.d,Yx(this),t},Q.fd=function(e,t){return XM(this),F(this.d,16).fd(e,t)},Q.hd=function(e,t){return XM(this),GMe(this.a,this.e,F(this.d,16).hd(e,t),this.b?this.b:this)},R(uB,`AbstractMapBasedMultimap/WrappedList`,732),J(1096,732,{20:1,31:1,18:1,16:1,59:1},Zge),R(uB,`AbstractMapBasedMultimap/RandomAccessWrappedList`,1096),J(620,1,pB,ASe),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return YC(this),this.b.Ob()},Q.Pb=function(){return YC(this),this.b.Pb()},Q.Qb=function(){mge(this)},R(uB,`AbstractMapBasedMultimap/WrappedCollection/WrappedIterator`,620),J(733,620,yB,nhe,aOe),Q.Qb=function(){mge(this)},Q.Rb=function(e){var t=jpe(this.a)==0;(YC(this),F(this.b,128)).Rb(e),++this.a.a.d,t&&hb(this.a)},Q.Sb=function(){return(YC(this),F(this.b,128)).Sb()},Q.Tb=function(){return(YC(this),F(this.b,128)).Tb()},Q.Ub=function(){return(YC(this),F(this.b,128)).Ub()},Q.Vb=function(){return(YC(this),F(this.b,128)).Vb()},Q.Wb=function(e){(YC(this),F(this.b,128)).Wb(e)},R(uB,`AbstractMapBasedMultimap/WrappedList/WrappedListIterator`,733),J(731,540,Wdt,nve),Q.Lc=function(){return XM(this),this.d.Lc()},R(uB,`AbstractMapBasedMultimap/WrappedSortedSet`,731),J(1095,731,Gdt,Ame),R(uB,`AbstractMapBasedMultimap/WrappedNavigableSet`,1095),J(1094,540,vB,rve),Q.Lc=function(){return XM(this),this.d.Lc()},R(uB,`AbstractMapBasedMultimap/WrappedSet`,1094),J(1103,1,{},l),Q.Kb=function(e){return WFe(F(e,45))},R(uB,`AbstractMapBasedMultimap/lambda$1$Type`,1103),J(1102,1,{},_ie),Q.Kb=function(e){return new Zm(this.a,e)},R(uB,`AbstractMapBasedMultimap/lambda$2$Type`,1102);var NJ=Ax(mB,`Map/Entry`);J(358,1,bB),Q.Fb=function(e){var t;return N(e,45)?(t=F(e,45),sC(this.jd(),t.jd())&&sC(this.kd(),t.kd())):!1},Q.Hb=function(){var e=this.jd(),t=this.kd();return(e==null?0:jk(e))^(t==null?0:jk(t))},Q.ld=function(e){throw O(new Jd)},Q.Ib=function(){return this.jd()+`=`+this.kd()},R(uB,Kdt,358),J(2051,31,gB),Q.$b=function(){this.md().$b()},Q.Gc=function(e){var t;return N(e,45)?(t=F(e,45),bMe(this.md(),t.jd(),t.kd())):!1},Q.Kc=function(e){var t;return N(e,45)?(t=F(e,45),xMe(this.md(),t.jd(),t.kd())):!1},Q.gc=function(){return this.md().d},R(uB,`Multimaps/Entries`,2051),J(737,2051,gB,jc),Q.Jc=function(){return this.a.kc()},Q.md=function(){return this.a},Q.Lc=function(){return this.a.lc()},R(uB,`AbstractMultimap/Entries`,737),J(738,737,vB,mp),Q.Lc=function(){return this.a.lc()},Q.Fb=function(e){return X2e(this,e)},Q.Hb=function(){return hVe(this)},R(uB,`AbstractMultimap/EntrySet`,738),J(739,31,gB,Mc),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return TWe(this.a,e)},Q.Jc=function(){return this.a.nc()},Q.gc=function(){return this.a.d},Q.Lc=function(){return this.a.oc()},R(uB,`AbstractMultimap/Values`,739),J(2052,31,{834:1,20:1,31:1,18:1}),Q.Ic=function(e){HS(e),DC(this).Ic(new qc(e))},Q.Lc=function(){var e=DC(this).Lc();return WF(e,new _,64|e.wd()&1296,this.a.d)},Q.Ec=function(e){return bce(),!0},Q.Fc=function(e){return HS(this),HS(e),N(e,541)?zMe(F(e,834)):!e.dc()&&QD(this,e.Jc())},Q.Gc=function(e){var t=F(zj(KC(this.a),e),18);return(t?t.gc():0)>0},Q.Fb=function(e){return y5e(this,e)},Q.Hb=function(){return jk(DC(this))},Q.dc=function(){return DC(this).dc()},Q.Kc=function(e){return s6e(this,e,1)>0},Q.Ib=function(){return qM(DC(this))},R(uB,`AbstractMultiset`,2052),J(2054,2033,vB),Q.$b=function(){lk(this.a.a)},Q.Gc=function(e){var t,n;return N(e,490)?(n=F(e,416),F(n.a.kd(),18).gc()<=0?!1:(t=jAe(this.a,n.a.jd()),t==F(n.a.kd(),18).gc())):!1},Q.Kc=function(e){var t,n,r,i;return N(e,490)&&(n=F(e,416),t=n.a.jd(),r=F(n.a.kd(),18).gc(),r!=0)?(i=this.a,c6e(i,t,r)):!1},R(uB,`Multisets/EntrySet`,2054),J(1109,2054,vB,vie),Q.Jc=function(){return new ace(Hwe(KC(this.a.a)).Jc())},Q.gc=function(){return KC(this.a.a).gc()},R(uB,`AbstractMultiset/EntrySet`,1109),J(619,730,fB),Q.hc=function(){return this.nd()},Q.jc=function(){return this.od()},Q.cc=function(e){return this.pd(e)},Q.fc=function(e){return this.qd(e)},Q.Zb=function(){return this.f||=this.ac()},Q.od=function(){return qC(),qC(),_Y},Q.Fb=function(e){return fj(this,e)},Q.pd=function(e){return F(ME(this,e),22)},Q.qd=function(e){return F(Rj(this,e),22)},Q.mc=function(e){return qC(),new dm(F(e,22))},Q.pc=function(e,t){return new rve(this,e,F(t,22))},R(uB,`AbstractSetMultimap`,619),J(1692,619,fB),Q.hc=function(){return new Hm(this.b)},Q.nd=function(){return new Hm(this.b)},Q.jc=function(){return SEe(new Hm(this.b))},Q.od=function(){return SEe(new Hm(this.b))},Q.cc=function(e){return F(F(ME(this,e),22),83)},Q.pd=function(e){return F(F(ME(this,e),22),83)},Q.fc=function(e){return F(F(Rj(this,e),22),83)},Q.qd=function(e){return F(F(Rj(this,e),22),83)},Q.mc=function(e){return N(e,277)?SEe(F(e,277)):(qC(),new Mge(F(e,83)))},Q.Zb=function(){return this.f||=N(this.c,138)?new sb(this,F(this.c,138)):N(this.c,134)?new ob(this,F(this.c,134)):new Xm(this,this.c)},Q.pc=function(e,t){return N(t,277)?new Ame(this,e,F(t,277)):new nve(this,e,F(t,83))},R(uB,`AbstractSortedSetMultimap`,1692),J(1693,1692,fB),Q.Zb=function(){var e=this.f;return F(F(e||(this.f=N(this.c,138)?new sb(this,F(this.c,138)):N(this.c,134)?new ob(this,F(this.c,134)):new Xm(this,this.c)),134),138)},Q.ec=function(){var e=this.i;return F(F(e||(this.i=N(this.c,138)?new $m(this,F(this.c,138)):N(this.c,134)?new Qm(this,F(this.c,134)):new fy(this,this.c)),83),277)},Q.bc=function(){return N(this.c,138)?new $m(this,F(this.c,138)):N(this.c,134)?new Qm(this,F(this.c,134)):new fy(this,this.c)},R(uB,`AbstractSortedKeySortedSetMultimap`,1693),J(2074,1,{2011:1}),Q.Fb=function(e){return O$e(this,e)},Q.Hb=function(){var e;return mUe((e=this.g,e||(this.g=new Nc(this))))},Q.Ib=function(){var e;return z1e((e=this.f,e||(this.f=new hge(this))))},R(uB,`AbstractTable`,2074),J(669,_B,vB,Nc),Q.$b=function(){xce()},Q.Gc=function(e){var t,n;return N(e,468)?(t=F(e,687),n=F(zj(bEe(this.a),H_(t.c.e,t.b)),92),!!n&&FGe(n.vc(),new Zm(H_(t.c.c,t.a),YE(t.c,t.b,t.a)))):!1},Q.Jc=function(){return LOe(this.a)},Q.Kc=function(e){var t,n;return N(e,468)?(t=F(e,687),n=F(zj(bEe(this.a),H_(t.c.e,t.b)),92),!!n&&IGe(n.vc(),new Zm(H_(t.c.c,t.a),YE(t.c,t.b,t.a)))):!1},Q.gc=function(){return LCe(this.a)},Q.Lc=function(){return kMe(this.a)},R(uB,`AbstractTable/CellSet`,669),J(1990,31,gB,Pc),Q.$b=function(){xce()},Q.Gc=function(e){return Y1e(this.a,e)},Q.Jc=function(){return ROe(this.a)},Q.gc=function(){return LCe(this.a)},Q.Lc=function(){return mMe(this.a)},R(uB,`AbstractTable/Values`,1990),J(1665,1664,fB),R(uB,`ArrayListMultimapGwtSerializationDependencies`,1665),J(507,1665,fB,tm,Nje),Q.hc=function(){return new oD(this.a)},Q.a=0,R(uB,`ArrayListMultimap`,507),J(668,2074,{668:1,2011:1,3:1},o6e),R(uB,`ArrayTable`,668),J(1986,392,dB,gge),Q.Xb=function(e){return new PUe(this.a,e)},R(uB,`ArrayTable/1`,1986),J(1987,1,{},yie),Q.rd=function(e){return new PUe(this.a,e)},R(uB,`ArrayTable/1methodref$getCell$Type`,1987),J(2075,1,{687:1}),Q.Fb=function(e){var t;return e===this?!0:N(e,468)?(t=F(e,687),sC(H_(this.c.e,this.b),H_(t.c.e,t.b))&&sC(H_(this.c.c,this.a),H_(t.c.c,t.a))&&sC(YE(this.c,this.b,this.a),YE(t.c,t.b,t.a))):!1},Q.Hb=function(){return Mj(W(A(OJ,1),sB,1,5,[H_(this.c.e,this.b),H_(this.c.c,this.a),YE(this.c,this.b,this.a)]))},Q.Ib=function(){return`(`+H_(this.c.e,this.b)+`,`+H_(this.c.c,this.a)+`)=`+YE(this.c,this.b,this.a)},R(uB,`Tables/AbstractCell`,2075),J(468,2075,{468:1,687:1},PUe),Q.a=0,Q.b=0,Q.d=0,R(uB,`ArrayTable/2`,468),J(1989,1,{},Fc),Q.rd=function(e){return xLe(this.a,e)},R(uB,`ArrayTable/2methodref$getValue$Type`,1989),J(1988,392,dB,_ge),Q.Xb=function(e){return xLe(this.a,e)},R(uB,`ArrayTable/3`,1988),J(2042,2030,hB),Q.$b=function(){Mx(this.kc())},Q.vc=function(){return new Gc(this)},Q.lc=function(){return new VDe(this.kc(),this.gc())},R(uB,`Maps/IteratorBasedAbstractMap`,2042),J(827,2042,hB),Q.$b=function(){throw O(new Jd)},Q._b=function(e){return wle(this.c,e)},Q.kc=function(){return new vge(this,this.c.b.c.gc())},Q.lc=function(){return Dx(this.c.b.c.gc(),16,new bie(this))},Q.xc=function(e){var t=F(Pb(this.c,e),15);return t?this.td(t.a):null},Q.dc=function(){return this.c.b.c.dc()},Q.ec=function(){return Uwe(this.c)},Q.yc=function(e,t){var n=F(Pb(this.c,e),15);if(!n)throw O(new Rp(this.sd()+` `+e+` not in `+Uwe(this.c)));return this.ud(n.a,t)},Q.Ac=function(e){throw O(new Jd)},Q.gc=function(){return this.c.b.c.gc()},R(uB,`ArrayTable/ArrayMap`,827),J(1985,1,{},bie),Q.rd=function(e){return CEe(this.a,e)},R(uB,`ArrayTable/ArrayMap/0methodref$getEntry$Type`,1985),J(1983,358,bB,uue),Q.jd=function(){return e_e(this.a,this.b)},Q.kd=function(){return this.a.td(this.b)},Q.ld=function(e){return this.a.ud(this.b,e)},Q.b=0,R(uB,`ArrayTable/ArrayMap/1`,1983),J(1984,392,dB,vge),Q.Xb=function(e){return CEe(this.a,e)},R(uB,`ArrayTable/ArrayMap/2`,1984),J(1982,827,hB,TTe),Q.sd=function(){return`Column`},Q.td=function(e){return YE(this.b,this.a,e)},Q.ud=function(e,t){return nUe(this.b,this.a,e,t)},Q.a=0,R(uB,`ArrayTable/Row`,1982),J(828,827,hB,hge),Q.td=function(e){return new TTe(this.a,e)},Q.yc=function(e,t){return F(t,92),Sce()},Q.ud=function(e,t){return F(t,92),Cce()},Q.sd=function(){return`Row`},R(uB,`ArrayTable/RowMap`,828),J(1127,1,CB,due),Q.yd=function(e){return!!(this.a.wd()&-262&e)},Q.wd=function(){return this.a.wd()&-262},Q.xd=function(){return this.a.xd()},Q.Nb=function(e){this.a.Nb(new pue(e,this.b))},Q.zd=function(e){return this.a.zd(new fue(e,this.b))},R(uB,`CollectSpliterators/1`,1127),J(1128,1,wB,fue),Q.Ad=function(e){this.a.Ad(this.b.Kb(e))},R(uB,`CollectSpliterators/1/lambda$0$Type`,1128),J(1129,1,wB,pue),Q.Ad=function(e){this.a.Ad(this.b.Kb(e))},R(uB,`CollectSpliterators/1/lambda$1$Type`,1129),J(1124,1,CB,Lye),Q.yd=function(e){return!!((16464|this.b)&e)},Q.wd=function(){return 16464|this.b},Q.xd=function(){return this.a.xd()},Q.Nb=function(e){this.a.Oe(new hue(e,this.c))},Q.zd=function(e){return this.a.Pe(new mue(e,this.c))},Q.b=0,R(uB,`CollectSpliterators/1WithCharacteristics`,1124),J(1125,1,TB,mue),Q.Bd=function(e){this.a.Ad(this.b.rd(e))},R(uB,`CollectSpliterators/1WithCharacteristics/lambda$0$Type`,1125),J(1126,1,TB,hue),Q.Bd=function(e){this.a.Ad(this.b.rd(e))},R(uB,`CollectSpliterators/1WithCharacteristics/lambda$1$Type`,1126),J(1120,1,CB),Q.yd=function(e){return(this.a&e)!=0},Q.wd=function(){return this.a},Q.xd=function(){return this.e&&(this.b=ahe(this.b,this.e.xd())),ahe(this.b,0)},Q.Nb=function(e){this.e&&=(this.e.Nb(e),null),this.c.Nb(new gue(this,e)),this.b=0},Q.zd=function(e){for(;;){if(this.e&&this.e.zd(e))return q_(this.b,EB)&&(this.b=FM(this.b,1)),!0;if(this.e=null,!this.c.zd(new Vc(this)))return!1}},Q.a=0,Q.b=0,R(uB,`CollectSpliterators/FlatMapSpliterator`,1120),J(1122,1,wB,Vc),Q.Ad=function(e){yye(this.a,e)},R(uB,`CollectSpliterators/FlatMapSpliterator/lambda$0$Type`,1122),J(1123,1,wB,gue),Q.Ad=function(e){RDe(this.a,this.b,e)},R(uB,`CollectSpliterators/FlatMapSpliterator/lambda$1$Type`,1123),J(1121,1120,CB,vNe),R(uB,`CollectSpliterators/FlatMapSpliteratorOfObject`,1121),J(254,1,DB),Q.Dd=function(e){return this.Cd(F(e,254))},Q.Cd=function(e){var t;return e==(up(),FJ)?1:e==(fp(),PJ)?-1:(t=(Ex(),Xk(this.a,e.a)),t==0?(xy(),N(this,514)==N(e,514)?0:N(this,514)?1:-1):t)},Q.Gd=function(){return this.a},Q.Fb=function(e){return lZe(this,e)},R(uB,`Cut`,254),J(1796,254,DB,Zse),Q.Cd=function(e){return e==this?0:1},Q.Ed=function(e){throw O(new Ud)},Q.Fd=function(e){e.a+=`+∞)`},Q.Gd=function(){throw O(new zp(Jdt))},Q.Hb=function(){return ph(),WJe(this)},Q.Hd=function(e){return!1},Q.Ib=function(){return`+∞`};var PJ;R(uB,`Cut/AboveAll`,1796),J(514,254,{254:1,514:1,3:1,35:1},kge),Q.Ed=function(e){Z_((e.a+=`(`,e),this.a)},Q.Fd=function(e){nC(Z_(e,this.a),93)},Q.Hb=function(){return~jk(this.a)},Q.Hd=function(e){return Ex(),Xk(this.a,e)<0},Q.Ib=function(){return`/`+this.a+`\\`},R(uB,`Cut/AboveValue`,514),J(1795,254,DB,pp),Q.Cd=function(e){return e==this?0:-1},Q.Ed=function(e){e.a+=`(-∞`},Q.Fd=function(e){throw O(new Ud)},Q.Gd=function(){throw O(new zp(Jdt))},Q.Hb=function(){return ph(),WJe(this)},Q.Hd=function(e){return!0},Q.Ib=function(){return`-∞`};var FJ;R(uB,`Cut/BelowAll`,1795),J(1797,254,DB,Age),Q.Ed=function(e){Z_((e.a+=`[`,e),this.a)},Q.Fd=function(e){nC(Z_(e,this.a),41)},Q.Hb=function(){return jk(this.a)},Q.Hd=function(e){return Ex(),Xk(this.a,e)<=0},Q.Ib=function(){return`\\`+this.a+`/`},R(uB,`Cut/BelowValue`,1797),J(536,1,OB),Q.Ic=function(e){_E(this,e)},Q.Ib=function(){return EKe(F(nw(this,`use Optional.orNull() instead of Optional.or(null)`),20).Jc())},R(uB,`FluentIterable`,536),J(433,536,OB,sv),Q.Jc=function(){return new iS(my(this.a.Jc(),new f))},R(uB,`FluentIterable/2`,433),J(37,1,{},f),Q.Kb=function(e){return F(e,20).Jc()},Q.Fb=function(e){return this===e},R(uB,`FluentIterable/2/0methodref$iterator$Type`,37),J(1041,536,OB,eme),Q.Jc=function(){return yS(this)},R(uB,`FluentIterable/3`,1041),J(714,392,dB,yge),Q.Xb=function(e){return this.a[e].Jc()},R(uB,`FluentIterable/3/1`,714),J(2035,1,{}),Q.Ib=function(){return qM(this.Id().b)},R(uB,`ForwardingObject`,2035),J(2036,2035,Ydt),Q.Id=function(){return this.Jd()},Q.Ic=function(e){_E(this,e)},Q.Lc=function(){return new cT(this,0)},Q.Mc=function(){return new Px(null,this.Lc())},Q.Ec=function(e){return this.Jd(),Ale()},Q.Fc=function(e){return this.Jd(),jle()},Q.$b=function(){this.Jd(),Mle()},Q.Gc=function(e){return this.Jd().Gc(e)},Q.Hc=function(e){return this.Jd().Hc(e)},Q.dc=function(){return this.Jd().b.dc()},Q.Jc=function(){return this.Jd().Jc()},Q.Kc=function(e){return this.Jd(),Nle()},Q.gc=function(){return this.Jd().b.gc()},Q.Nc=function(){return this.Jd().Nc()},Q.Oc=function(e){return this.Jd().Oc(e)},R(uB,`ForwardingCollection`,2036),J(2043,31,Xdt),Q.Jc=function(){return this.Md()},Q.Ec=function(e){throw O(new Jd)},Q.Fc=function(e){throw O(new Jd)},Q.Kd=function(){return this.c||=this.Ld()},Q.$b=function(){throw O(new Jd)},Q.Gc=function(e){return e!=null&&oN(this,e,!1)},Q.Ld=function(){switch(this.gc()){case 0:return Ox(),zJ;case 1:return new gb(HS(this.Md().Pb()));default:return new OSe(this,this.Nc())}},Q.Kc=function(e){throw O(new Jd)},R(uB,`ImmutableCollection`,2043),J(1261,2043,Xdt,wie),Q.Jc=function(){return vD(new Fl(this.a.b.Jc()))},Q.Gc=function(e){return e!=null&&ah(this.a,e)},Q.Hc=function(e){return Fue(this.a,e)},Q.dc=function(){return this.a.b.dc()},Q.Md=function(){return vD(new Fl(this.a.b.Jc()))},Q.gc=function(){return this.a.b.gc()},Q.Nc=function(){return this.a.b.Nc()},Q.Oc=function(e){return Iue(this.a,e)},Q.Ib=function(){return qM(this.a.b)},R(uB,`ForwardingImmutableCollection`,1261),J(312,2043,kB),Q.Jc=function(){return this.Md()},Q.cd=function(){return this.Nd(0)},Q.dd=function(e){return this.Nd(e)},Q.gd=function(e){Rk(this,e)},Q.Lc=function(){return new cT(this,16)},Q.hd=function(e,t){return this.Od(e,t)},Q._c=function(e,t){throw O(new Jd)},Q.ad=function(e,t){throw O(new Jd)},Q.Kd=function(){return this},Q.Fb=function(e){return a5e(this,e)},Q.Hb=function(){return THe(this)},Q.bd=function(e){return e==null?-1:iZe(this,e)},Q.Md=function(){return this.Nd(0)},Q.Nd=function(e){return Ly(this,e)},Q.ed=function(e){throw O(new Jd)},Q.fd=function(e,t){throw O(new Jd)},Q.Od=function(e,t){var n;return MM((n=new wue(this),new sT(n,e,t)))},R(uB,`ImmutableList`,312),J(2070,312,kB),Q.Jc=function(){return vD(this.Pd().Jc())},Q.hd=function(e,t){return MM(this.Pd().hd(e,t))},Q.Gc=function(e){return e!=null&&this.Pd().Gc(e)},Q.Hc=function(e){return this.Pd().Hc(e)},Q.Fb=function(e){return nM(this.Pd(),e)},Q.Xb=function(e){return H_(this,e)},Q.Hb=function(){return jk(this.Pd())},Q.bd=function(e){return this.Pd().bd(e)},Q.dc=function(){return this.Pd().dc()},Q.Md=function(){return vD(this.Pd().Jc())},Q.gc=function(){return this.Pd().gc()},Q.Od=function(e,t){return MM(this.Pd().hd(e,t))},Q.Nc=function(){return this.Pd().Oc(H(OJ,sB,1,this.Pd().gc(),5,1))},Q.Oc=function(e){return this.Pd().Oc(e)},Q.Ib=function(){return qM(this.Pd())},R(uB,`ForwardingImmutableList`,2070),J(717,1,jB),Q.vc=function(){return nS(this)},Q.wc=function(e){eA(this,e)},Q.ec=function(){return Uwe(this)},Q.Bc=function(){return this.Td()},Q.$b=function(){throw O(new Jd)},Q._b=function(e){return this.xc(e)!=null},Q.uc=function(e){return this.Td().Gc(e)},Q.Rd=function(){return new Lc(this)},Q.Sd=function(){return new Rc(this)},Q.Fb=function(e){return kWe(this,e)},Q.Hb=function(){return nS(this).Hb()},Q.dc=function(){return this.gc()==0},Q.yc=function(e,t){return wce()},Q.Ac=function(e){throw O(new Jd)},Q.Ib=function(){return S2e(this)},Q.Td=function(){return this.e?this.e:this.e=this.Sd()},Q.c=null,Q.d=null,Q.e=null,R(uB,`ImmutableMap`,717),J(718,717,jB),Q._b=function(e){return wle(this,e)},Q.uc=function(e){return Lue(this.b,e)},Q.Qd=function(){return $We(new Bc(this))},Q.Rd=function(){return $We(TDe(this.b))},Q.Sd=function(){return new wie(wDe(this.b))},Q.Fb=function(e){return zue(this.b,e)},Q.xc=function(e){return Pb(this,e)},Q.Hb=function(){return jk(this.b.c)},Q.dc=function(){return this.b.c.dc()},Q.gc=function(){return this.b.c.gc()},Q.Ib=function(){return qM(this.b.c)},R(uB,`ForwardingImmutableMap`,718),J(2037,2036,MB),Q.Id=function(){return this.Ud()},Q.Jd=function(){return this.Ud()},Q.Lc=function(){return new cT(this,1)},Q.Fb=function(e){return e===this||this.Ud().Fb(e)},Q.Hb=function(){return this.Ud().Hb()},R(uB,`ForwardingSet`,2037),J(1056,2037,MB,Bc),Q.Id=function(){return xC(this.a.b)},Q.Jd=function(){return xC(this.a.b)},Q.Gc=function(e){if(N(e,45)&&F(e,45).jd()==null)return!1;try{return Rue(xC(this.a.b),e)}catch(e){if(e=LA(e),N(e,211))return!1;throw O(e)}},Q.Ud=function(){return xC(this.a.b)},Q.Oc=function(e){var t=tke(xC(this.a.b),e),n;return xC(this.a.b).b.gc()=0?`+`:``)+(n/60|0),t=pv(r.Math.abs(n)%60),(W0e(),ixt)[this.q.getDay()]+` `+axt[this.q.getMonth()]+` `+pv(this.q.getDate())+` `+pv(this.q.getHours())+`:`+pv(this.q.getMinutes())+`:`+pv(this.q.getSeconds())+` GMT`+e+t+` `+this.q.getFullYear()};var GJ=R(mB,`Date`,205);J(1980,205,lft,$Qe),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`,1980),J(2029,1,{}),Q.ne=function(){return null},Q.oe=function(){return null},Q.pe=function(){return null},Q.qe=function(){return null},Q.re=function(){return null},R(bV,`JSONValue`,2029),J(139,2029,{139:1},el,Yc),Q.Fb=function(e){return N(e,139)?Lje(this.a,F(e,139).a):!1},Q.me=function(){return Ose},Q.Hb=function(){return zOe(this.a)},Q.ne=function(){return this},Q.Ib=function(){var e,t,n=new vy(`[`);for(t=0,e=this.a.length;t0&&(n.a+=`,`),Z_(n,oO(this,t));return n.a+=`]`,n.a},R(bV,`JSONArray`,139),J(479,2029,{479:1},Xc),Q.me=function(){return kse},Q.oe=function(){return this},Q.Ib=function(){return xy(),``+this.a},Q.a=!1;var wbt,Tbt;R(bV,`JSONBoolean`,479),J(982,63,GB,oce),R(bV,`JSONException`,982),J(1018,2029,{},ee),Q.me=function(){return Ase},Q.Ib=function(){return cB};var Ebt;R(bV,`JSONNull`,1018),J(265,2029,{265:1},Zc),Q.Fb=function(e){return N(e,265)?this.a==F(e,265).a:!1},Q.me=function(){return Ed},Q.Hb=function(){return dv(this.a)},Q.pe=function(){return this},Q.Ib=function(){return this.a+``},Q.a=0,R(bV,`JSONNumber`,265),J(149,2029,{149:1},Sp,Qc),Q.Fb=function(e){return N(e,149)?Lje(this.a,F(e,149).a):!1},Q.me=function(){return Ese},Q.Hb=function(){return zOe(this.a)},Q.qe=function(){return this},Q.Ib=function(){var e,t,n,r,i,a,o=new vy(`{`);for(e=!0,a=yk(this,H(aY,xB,2,0,6,1)),n=a,r=0,i=n.length;r=0?`:`+this.c:``)+`)`},Q.c=0;var Hbt=R(rB,`StackTraceElement`,325);sbt={3:1,472:1,35:1,2:1};var aY=R(rB,tft,2);J(111,418,{472:1},om,sm,_y),R(rB,`StringBuffer`,111),J(106,418,{472:1},cm,lm,vy),R(rB,`StringBuilder`,106),J(691,99,OV,Oce),R(rB,`StringIndexOutOfBoundsException`,691),J(2110,1,{});var Ubt;J(47,63,{3:1,101:1,63:1,80:1,47:1},Jd,Jp),R(rB,`UnsupportedOperationException`,47),J(247,242,{3:1,35:1,242:1,247:1},AM,Ole),Q.Dd=function(e){return Mit(this,F(e,247))},Q.se=function(){return iI(Not(this))},Q.Fb=function(e){var t;return this===e?!0:N(e,247)?(t=F(e,247),this.e==t.e&&Mit(this,t)==0):!1},Q.Hb=function(){var e;return this.b==0?this.a<54?(e=uA(this.f),this.b=Gx(gT(e,-1)),this.b=33*this.b+Gx(gT(oS(e,32),-1)),this.b=17*this.b+Ew(this.e),this.b):(this.b=17*gGe(this.c)+Ew(this.e),this.b):this.b},Q.Ib=function(){return Not(this)},Q.a=0,Q.b=0,Q.d=0,Q.e=0,Q.f=0;var Wbt,oY,Gbt,Kbt,qbt,Jbt,Ybt,Xbt,sY=R(`java.math`,`BigDecimal`,247);J(91,242,{3:1,35:1,242:1,91:1},QT,Mje,wS,rYe,kv),Q.Dd=function(e){return PJe(this,F(e,91))},Q.se=function(){return iI(Bz(this,0))},Q.Fb=function(e){return Tqe(this,e)},Q.Hb=function(){return gGe(this)},Q.Ib=function(){return Bz(this,0)},Q.b=-2,Q.c=0,Q.d=0,Q.e=0;var Zbt,cY,Qbt,lY,uY,dY,fY=R(`java.math`,`BigInteger`,91),$bt,ext,pY,mY;J(484,2030,hB),Q.$b=function(){OS(this)},Q._b=function(e){return xS(this,e)},Q.uc=function(e){return AWe(this,e,this.i)||AWe(this,e,this.f)},Q.vc=function(){return new kl(this)},Q.xc=function(e){return JS(this,e)},Q.yc=function(e,t){return vC(this,e,t)},Q.Ac=function(e){return IE(this,e)},Q.gc=function(){return oh(this)},Q.g=0,R(mB,`AbstractHashMap`,484),J(307,_B,vB,kl),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return MMe(this,e)},Q.Jc=function(){return new nA(this.a)},Q.Kc=function(e){var t;return MMe(this,e)?(t=F(e,45).jd(),this.a.Ac(t),!0):!1},Q.gc=function(){return this.a.gc()},R(mB,`AbstractHashMap/EntrySet`,307),J(308,1,pB,nA),Q.Nb=function(e){CS(this,e)},Q.Pb=function(){return vk(this)},Q.Ob=function(){return this.b},Q.Qb=function(){lRe(this)},Q.b=!1,Q.d=0,R(mB,`AbstractHashMap/EntrySetIterator`,308),J(417,1,pB,Il),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return Xh(this)},Q.Pb=function(){return cOe(this)},Q.Qb=function(){uC(this)},Q.b=0,Q.c=-1,R(mB,`AbstractList/IteratorImpl`,417),J(97,417,yB,OT),Q.Qb=function(){uC(this)},Q.Rb=function(e){vb(this,e)},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Ub=function(){return qy(this.b>0),this.a.Xb(this.c=--this.b)},Q.Vb=function(){return this.b-1},Q.Wb=function(e){Ky(this.c!=-1),this.a.fd(this.c,e)},R(mB,`AbstractList/ListIteratorImpl`,97),J(258,56,zB,sT),Q._c=function(e,t){Jw(e,this.b),this.c._c(this.a+e,t),++this.b},Q.Xb=function(e){return lT(e,this.b),this.c.Xb(this.a+e)},Q.ed=function(e){var t;return lT(e,this.b),t=this.c.ed(this.a+e),--this.b,t},Q.fd=function(e,t){return lT(e,this.b),this.c.fd(this.a+e,t)},Q.gc=function(){return this.b},Q.a=0,Q.b=0,R(mB,`AbstractList/SubList`,258),J(232,_B,vB,Dl),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a._b(e)},Q.Jc=function(){return new El(this.a.vc().Jc())},Q.Kc=function(e){return this.a._b(e)?(this.a.Ac(e),!0):!1},Q.gc=function(){return this.a.gc()},R(mB,`AbstractMap/1`,232),J(530,1,pB,El),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){return F(this.a.Pb(),45).jd()},Q.Qb=function(){this.a.Qb()},R(mB,`AbstractMap/1/1`,530),J(230,31,gB,jl),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a.uc(e)},Q.Jc=function(){return new Ml(this.a.vc().Jc())},Q.gc=function(){return this.a.gc()},R(mB,`AbstractMap/2`,230),J(305,1,pB,Ml),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){return F(this.a.Pb(),45).kd()},Q.Qb=function(){this.a.Qb()},R(mB,`AbstractMap/2/1`,305),J(480,1,{480:1,45:1}),Q.Fb=function(e){var t;return N(e,45)?(t=F(e,45),yC(this.d,t.jd())&&yC(this.e,t.kd())):!1},Q.jd=function(){return this.d},Q.kd=function(){return this.e},Q.Hb=function(){return Mv(this.d)^Mv(this.e)},Q.ld=function(e){return Lve(this,e)},Q.Ib=function(){return this.d+`=`+this.e},R(mB,`AbstractMap/AbstractEntry`,480),J(390,480,{480:1,390:1,45:1},eg),R(mB,`AbstractMap/SimpleEntry`,390),J(2047,1,BV),Q.Fb=function(e){var t;return N(e,45)?(t=F(e,45),yC(this.jd(),t.jd())&&yC(this.kd(),t.kd())):!1},Q.Hb=function(){return Mv(this.jd())^Mv(this.kd())},Q.Ib=function(){return this.jd()+`=`+this.kd()},R(mB,Kdt,2047),J(2055,2030,Udt),Q.Vc=function(e){return Gm(this.Ce(e))},Q.tc=function(e){return GPe(this,e)},Q._b=function(e){return Rve(this,e)},Q.vc=function(){return new Nl(this)},Q.Rc=function(){return LTe(this.Ee())},Q.Wc=function(e){return Gm(this.Fe(e))},Q.xc=function(e){var t=e;return V_(this.De(t))},Q.Yc=function(e){return Gm(this.Ge(e))},Q.ec=function(){return new dae(this)},Q.Tc=function(){return LTe(this.He())},Q.Zc=function(e){return Gm(this.Ie(e))},R(mB,`AbstractNavigableMap`,2055),J(621,_B,vB,Nl),Q.Gc=function(e){return N(e,45)&&GPe(this.b,F(e,45))},Q.Jc=function(){return this.b.Be()},Q.Kc=function(e){var t;return N(e,45)?(t=F(e,45),this.b.Je(t)):!1},Q.gc=function(){return this.b.gc()},R(mB,`AbstractNavigableMap/EntrySet`,621),J(1116,_B,Gdt,dae),Q.Lc=function(){return new cg(this)},Q.$b=function(){this.a.$b()},Q.Gc=function(e){return Rve(this.a,e)},Q.Jc=function(){return new uae(this.a.vc().b.Be())},Q.Kc=function(e){return Rve(this.a,e)?(this.a.Ac(e),!0):!1},Q.gc=function(){return this.a.gc()},R(mB,`AbstractNavigableMap/NavigableKeySet`,1116),J(1117,1,pB,uae),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return Xh(this.a.a)},Q.Pb=function(){return o_e(this.a).jd()},Q.Qb=function(){tbe(this.a)},R(mB,`AbstractNavigableMap/NavigableKeySet/1`,1117),J(2068,31,gB),Q.Ec=function(e){return ox(JF(this,e),VV),!0},Q.Fc=function(e){return pC(e),ax(e!=this,`Can't add a queue to itself`),zk(this,e)},Q.$b=function(){for(;eO(this)!=null;);},R(mB,`AbstractQueue`,2068),J(315,31,{4:1,20:1,31:1,18:1},Qv,qMe),Q.Ec=function(e){return QMe(this,e),!0},Q.$b=function(){VPe(this)},Q.Gc=function(e){return KHe(new AC(this),e)},Q.dc=function(){return Wp(this)},Q.Jc=function(){return new AC(this)},Q.Kc=function(e){return Yke(new AC(this),e)},Q.gc=function(){return this.c-this.b&this.a.length-1},Q.Lc=function(){return new cT(this,272)},Q.Oc=function(e){var t=this.c-this.b&this.a.length-1;return e.lengtht&&qS(e,t,null),e},Q.b=0,Q.c=0,R(mB,`ArrayDeque`,315),J(448,1,pB,AC),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return this.a!=this.b},Q.Pb=function(){return Kj(this)},Q.Qb=function(){pBe(this)},Q.a=0,Q.b=0,Q.c=-1,R(mB,`ArrayDeque/IteratorImpl`,448),J(13,56,mft,Sd,oD,zb),Q._c=function(e,t){qx(this,e,t)},Q.Ec=function(e){return iy(this,e)},Q.ad=function(e,t){return UWe(this,e,t)},Q.Fc=function(e){return FA(this,e)},Q.$b=function(){ef(this.c,0)},Q.Gc=function(e){return PD(this,e,0)!=-1},Q.Ic=function(e){SO(this,e)},Q.Xb=function(e){return jx(this,e)},Q.bd=function(e){return PD(this,e,0)},Q.dc=function(){return this.c.length==0},Q.Jc=function(){return new D(this)},Q.ed=function(e){return LE(this,e)},Q.Kc=function(e){return ND(this,e)},Q.ae=function(e,t){BAe(this,e,t)},Q.fd=function(e,t){return gE(this,e,t)},Q.gc=function(){return this.c.length},Q.gd=function(e){Vv(this,e)},Q.Nc=function(){return _x(this.c)},Q.Oc=function(e){return WN(this,e)};var txt=R(mB,`ArrayList`,13);J(7,1,pB,D),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return Hv(this)},Q.Pb=function(){return B(this)},Q.Qb=function(){AS(this)},Q.a=0,Q.b=-1,R(mB,`ArrayList/1`,7),J(2077,r.Function,{},ie),Q.Ke=function(e,t){return dM(e,t)},J(123,56,hft,Kp),Q.Gc=function(e){return hBe(this,e)!=-1},Q.Ic=function(e){var t,n,r,i;for(pC(e),n=this.a,r=0,i=n.length;r0)throw O(new Rp(xft+e+` greater than `+this.e));return this.f.Re()?Pke(this.c,this.b,this.a,e,t):RAe(this.c,e,t)},Q.yc=function(e,t){if(!eF(this.c,this.f,e,this.b,this.a,this.e,this.d))throw O(new Rp(e+` outside the range `+this.b+` to `+this.e));return LUe(this.c,e,t)},Q.Ac=function(e){var t=e;return eF(this.c,this.f,t,this.b,this.a,this.e,this.d)?zke(this.c,t):null},Q.Je=function(e){return aC(this,e.jd())&&IIe(this.c,e)},Q.gc=function(){var e,t=this.f.Re()?this.a?TN(this.c,this.b,!0):TN(this.c,this.b,!1):SLe(this.c),n;if(!(t&&aC(this,t.d)&&t))return 0;for(e=0,n=new Bk(this.c,this.f,this.b,this.a,this.e,this.d);Xh(n.a);n.b=F(cOe(n.a),45))++e;return e},Q.$c=function(e,t){if(this.f.Re()&&this.c.a.Le(e,this.b)<0)throw O(new Rp(xft+e+Sft+this.b));return this.f.Se()?Pke(this.c,e,t,this.e,this.d):zAe(this.c,e,t)},Q.a=!1,Q.d=!1,R(mB,`TreeMap/SubMap`,623),J(310,24,ZV,ng),Q.Re=function(){return!1},Q.Se=function(){return!1};var xY,SY,CY,wY,TY=XO(mB,`TreeMap/SubMapType`,310,LJ,aNe,abe);J(1113,310,ZV,jme),Q.Se=function(){return!0},XO(mB,`TreeMap/SubMapType/1`,1113,TY,null,null),J(1114,310,ZV,mhe),Q.Re=function(){return!0},Q.Se=function(){return!0},XO(mB,`TreeMap/SubMapType/2`,1114,TY,null,null),J(1115,310,ZV,Mme),Q.Re=function(){return!0},XO(mB,`TreeMap/SubMapType/3`,1115,TY,null,null);var bxt;J(141,_B,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},gf,Nge,Hm,ql),Q.Lc=function(){return new cg(this)},Q.Ec=function(e){return DS(this,e)},Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a._b(e)},Q.Jc=function(){return this.a.ec().Jc()},Q.Kc=function(e){return ty(this,e)},Q.gc=function(){return this.a.gc()};var xxt=R(mB,`TreeSet`,141);J(1053,1,{},mae),Q.Te=function(e,t){return sve(this.a,e,t)},R(QV,`BinaryOperator/lambda$0$Type`,1053),J(1054,1,{},hae),Q.Te=function(e,t){return cve(this.a,e,t)},R(QV,`BinaryOperator/lambda$1$Type`,1054),J(936,1,{},Te),Q.Kb=function(e){return e},R(QV,`Function/lambda$0$Type`,936),J(388,1,VB,Jl),Q.Mb=function(e){return!this.a.Mb(e)},R(QV,`Predicate/lambda$2$Type`,388),J(567,1,{567:1});var Sxt=R($V,`Handler`,567);J(2072,1,iB),Q.ve=function(){return`DUMMY`},Q.Ib=function(){return this.ve()};var Cxt;R($V,`Level`,2072),J(1675,2072,iB,ye),Q.ve=function(){return`INFO`},R($V,`Level/LevelInfo`,1675),J(1827,1,{},uf);var EY;R($V,`LogManager`,1827),J(1869,1,iB,Zye),Q.b=null,R($V,`LogRecord`,1869),J(512,1,{512:1},yE),Q.e=!1;var wxt=!1,Txt=!1,DY=!1,Ext=!1,Dxt=!1;R($V,`Logger`,512),J(820,567,{567:1},be),R($V,`SimpleConsoleLogHandler`,820),J(130,24,{3:1,35:1,24:1,130:1},rg);var Oxt,OY,kxt,kY=XO(tH,`Collector/Characteristics`,130,LJ,GAe,obe),Axt;J(746,1,{},NTe),R(tH,`CollectorImpl`,746),J(1051,1,{},ve),Q.Te=function(e,t){return ZGe(F(e,212),F(t,212))},R(tH,`Collectors/10methodref$merge$Type`,1051),J(1052,1,{},xe),Q.Kb=function(e){return gMe(F(e,212))},R(tH,`Collectors/11methodref$toString$Type`,1052),J(152,1,{},Se),Q.Wd=function(e,t){F(e,18).Ec(t)},R(tH,`Collectors/20methodref$add$Type`,152),J(154,1,{},Ce),Q.Ve=function(){return new Sd},R(tH,`Collectors/21methodref$ctor$Type`,154),J(1050,1,{},we),Q.Wd=function(e,t){zE(F(e,212),F(t,472))},R(tH,`Collectors/9methodref$add$Type`,1050),J(1049,1,{},ZSe),Q.Ve=function(){return new bA(this.a,this.b,this.c)},R(tH,`Collectors/lambda$15$Type`,1049),J(153,1,{},Ee),Q.Te=function(e,t){return que(F(e,18),F(t,18))},R(tH,`Collectors/lambda$45$Type`,153),J(539,1,{}),Q.Ye=function(){lC(this)},Q.d=!1,R(tH,`TerminatableStream`,539),J(769,539,wft,ive),Q.Ye=function(){lC(this)},R(tH,`DoubleStreamImpl`,769),J(1298,724,CB,LSe),Q.Pe=function(e){return KXe(this,F(e,189))},Q.a=null,R(tH,`DoubleStreamImpl/2`,1298),J(1299,1,UV,gae),Q.Ne=function(e){Lme(this.a,e)},R(tH,`DoubleStreamImpl/2/lambda$0$Type`,1299),J(1296,1,UV,_ae),Q.Ne=function(e){Ime(this.a,e)},R(tH,`DoubleStreamImpl/lambda$0$Type`,1296),J(1297,1,UV,Yl),Q.Ne=function(e){lJe(this.a,e)},R(tH,`DoubleStreamImpl/lambda$2$Type`,1297),J(1352,723,CB,JPe),Q.Pe=function(e){return FMe(this,F(e,202))},Q.a=0,Q.b=0,Q.c=0,R(tH,`IntStream/5`,1352),J(794,539,wft,ave),Q.Ye=function(){lC(this)},Q.Ze=function(){return cC(this),this.a},R(tH,`IntStreamImpl`,794),J(795,539,wft,Wue),Q.Ye=function(){lC(this)},Q.Ze=function(){return cC(this),lge(),vxt},R(tH,`IntStreamImpl/Empty`,795),J(1654,1,TB,vae),Q.Bd=function(e){vHe(this.a,e)},R(tH,`IntStreamImpl/lambda$4$Type`,1654);var jxt=Ax(tH,`Stream`);J(28,539,{521:1,677:1,833:1},Px),Q.Ye=function(){lC(this)};var AY;R(tH,`StreamImpl`,28),J(1073,486,CB,Pye),Q.zd=function(e){for(;pLe(this);)if(this.a.zd(e))return!0;else lC(this.b),this.b=null,this.a=null;return!1},R(tH,`StreamImpl/1`,1073),J(1074,1,wB,Xl),Q.Ad=function(e){BSe(this.a,F(e,833))},R(tH,`StreamImpl/1/lambda$0$Type`,1074),J(1075,1,VB,Zl),Q.Mb=function(e){return ES(this.a,e)},R(tH,`StreamImpl/1methodref$add$Type`,1075),J(1076,486,CB,yOe),Q.zd=function(e){var t;return this.a||=(t=new Sd,this.b.a.Nb(new yae(t)),qC(),Vv(t,this.c),new cT(t,16)),eze(this.a,e)},Q.a=null,R(tH,`StreamImpl/5`,1076),J(1077,1,wB,yae),Q.Ad=function(e){iy(this.a,e)},R(tH,`StreamImpl/5/2methodref$add$Type`,1077),J(725,486,CB,TLe),Q.zd=function(e){for(this.b=!1;!this.b&&this.c.zd(new Fde(this,e)););return this.b},Q.b=!1,R(tH,`StreamImpl/FilterSpliterator`,725),J(1067,1,wB,Fde),Q.Ad=function(e){cTe(this.a,this.b,e)},R(tH,`StreamImpl/FilterSpliterator/lambda$0$Type`,1067),J(1062,724,CB,LFe),Q.Pe=function(e){return wye(this,F(e,189))},R(tH,`StreamImpl/MapToDoubleSpliterator`,1062),J(1066,1,wB,Ide),Q.Ad=function(e){Yde(this.a,this.b,e)},R(tH,`StreamImpl/MapToDoubleSpliterator/lambda$0$Type`,1066),J(1061,723,CB,RFe),Q.Pe=function(e){return Tye(this,F(e,202))},R(tH,`StreamImpl/MapToIntSpliterator`,1061),J(1065,1,wB,Lde),Q.Ad=function(e){Xde(this.a,this.b,e)},R(tH,`StreamImpl/MapToIntSpliterator/lambda$0$Type`,1065),J(722,486,CB,zFe),Q.zd=function(e){return Eye(this,e)},R(tH,`StreamImpl/MapToObjSpliterator`,722),J(1064,1,wB,Rde),Q.Ad=function(e){Zde(this.a,this.b,e)},R(tH,`StreamImpl/MapToObjSpliterator/lambda$0$Type`,1064),J(1063,486,CB,SBe),Q.zd=function(e){for(;Jh(this.b,0);){if(!this.a.zd(new De))return!1;this.b=FM(this.b,1)}return this.a.zd(e)},Q.b=0,R(tH,`StreamImpl/SkipSpliterator`,1063),J(1068,1,wB,De),Q.Ad=function(e){},R(tH,`StreamImpl/SkipSpliterator/lambda$0$Type`,1068),J(618,1,wB,Oe),Q.Ad=function(e){tl(this,e)},R(tH,`StreamImpl/ValueConsumer`,618),J(1069,1,wB,ke),Q.Ad=function(e){_h()},R(tH,`StreamImpl/lambda$0$Type`,1069),J(1070,1,wB,Ae),Q.Ad=function(e){_h()},R(tH,`StreamImpl/lambda$1$Type`,1070),J(1071,1,{},bae),Q.Te=function(e,t){return ebe(this.a,e,t)},R(tH,`StreamImpl/lambda$4$Type`,1071),J(1072,1,wB,zde),Q.Ad=function(e){Hve(this.b,this.a,e)},R(tH,`StreamImpl/lambda$5$Type`,1072),J(1078,1,wB,Ql),Q.Ad=function(e){OHe(this.a,F(e,375))},R(tH,`TerminatableStream/lambda$0$Type`,1078),J(2107,1,{}),J(1979,1,{},je),R(`javaemul.internal`,`ConsoleLogger`,1979);var Mxt=0;J(2099,1,{}),J(1803,1,wB,Me),Q.Ad=function(e){F(e,322)},R(rH,`BowyerWatsonTriangulation/lambda$0$Type`,1803),J(1804,1,wB,$l),Q.Ad=function(e){zk(this.a,F(e,322).e)},R(rH,`BowyerWatsonTriangulation/lambda$1$Type`,1804),J(1805,1,wB,Ne),Q.Ad=function(e){F(e,177)},R(rH,`BowyerWatsonTriangulation/lambda$2$Type`,1805),J(1800,1,iH,xae),Q.Le=function(e,t){return XNe(this.a,F(e,177),F(t,177))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(rH,`NaiveMinST/lambda$0$Type`,1800),J(440,1,{},eu),R(rH,`NodeMicroLayout`,440),J(177,1,{177:1},tg),Q.Fb=function(e){var t;return N(e,177)?(t=F(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 Mv(this.a)+Mv(this.b)};var Nxt=R(rH,`TEdge`,177);J(322,1,{322:1},lat),Q.Fb=function(e){var t;return N(e,322)?(t=F(e,322),FD(this,t.a)&&FD(this,t.b)&&FD(this,t.c)):!1},Q.Hb=function(){return Mv(this.a)+Mv(this.b)+Mv(this.c)},R(rH,`TTriangle`,322),J(225,1,{225:1},Gv),R(rH,`Tree`,225),J(1184,1,{},vAe),R(kft,`Scanline`,1184);var Pxt=Ax(kft,Aft);J(1731,1,{},YRe),R(aH,`CGraph`,1731),J(321,1,{321:1},tAe),Q.b=0,Q.c=0,Q.d=0,Q.g=0,Q.i=0,Q.k=jV,R(aH,`CGroup`,321),J(815,1,{},_f),R(aH,`CGroup/CGroupBuilder`,815),J(60,1,{60:1},Kve),Q.Ib=function(){var e;return this.j?ib(this.j.Kb(this)):(nb(jY),jY.o+`@`+(e=Ey(this)>>>0,e.toString(16)))},Q.f=0,Q.i=jV;var jY=R(aH,`CNode`,60);J(814,1,{},vf),R(aH,`CNode/CNodeBuilder`,814);var Fxt;J(1552,1,{},Pe),Q.df=function(e,t){return 0},Q.ef=function(e,t){return 0},R(aH,Mft,1552),J(1833,1,{},Fe),Q.af=function(e){var t,n,i,a,o,s,c,l,u=AV,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.gf=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].gf());else if(this.g)a=yqe(this,fF(this,null,!0));else for(t=(TO(),W(A(IY,1),Z,237,0,[NY,PY,FY])),n=0,i=t.length;n0?a+this.n.b+this.n.c:0},Q.hf=function(){var e,t,n,r,i;if(this.g)for(e=fF(this,null,!1),n=(TO(),W(A(IY,1),Z,237,0,[NY,PY,FY])),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),EFe(this,PY,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 LY=0,RY=0;R(dH,`GridContainerCell`,1500),J(461,24,{3:1,35:1,24:1,461:1},ag);var zY,BY,VY,Uxt=XO(dH,`HorizontalLabelAlignment`,461,LJ,qAe,ibe),Wxt;J(319,216,{216:1,319:1},Uke,ZRe,Dke),Q.ff=function(){return gCe(this)},Q.gf=function(){return _Ce(this)},Q.a=0,Q.c=!1;var Gxt=R(dH,`LabelCell`,319);J(253,337,{216:1,337:1,253:1},HN),Q.ff=function(){return FI(this)},Q.gf=function(){return II(this)},Q.hf=function(){NR(this)},Q.jf=function(){FR(this)},Q.b=0,Q.c=0,Q.d=!1,R(dH,`StripContainerCell`,253),J(1658,1,VB,Le),Q.Mb=function(e){return gce(F(e,216))},R(dH,`StripContainerCell/lambda$0$Type`,1658),J(1659,1,{},Re),Q.We=function(e){return F(e,216).gf()},R(dH,`StripContainerCell/lambda$1$Type`,1659),J(1660,1,VB,Ie),Q.Mb=function(e){return _ce(F(e,216))},R(dH,`StripContainerCell/lambda$2$Type`,1660),J(1661,1,{},ze),Q.We=function(e){return F(e,216).ff()},R(dH,`StripContainerCell/lambda$3$Type`,1661),J(462,24,{3:1,35:1,24:1,462:1},og);var HY,UY,WY,Kxt=XO(dH,`VerticalLabelAlignment`,462,LJ,JAe,rbe),qxt;J(788,1,{},Dlt),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(hH,`NodeContext`,788),J(1498,1,iH,eee),Q.Le=function(e,t){return ume(F(e,64),F(t,64))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(hH,`NodeContext/0methodref$comparePortSides$Type`,1498),J(1499,1,iH,Ke),Q.Le=function(e,t){return b0e(F(e,115),F(t,115))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(hH,`NodeContext/1methodref$comparePortContexts$Type`,1499),J(168,24,{3:1,35:1,24:1,168:1},Wk);var Jxt,Yxt,Xxt,Zxt,Qxt,$xt,eSt,tSt,nSt,rSt,iSt,aSt,oSt,sSt,cSt,lSt,uSt,dSt,fSt,pSt,mSt,GY,hSt=XO(hH,`NodeLabelLocation`,168,LJ,JN,nbe),gSt;J(115,1,{115:1},J6e),Q.a=!1,R(hH,`PortContext`,115),J(1503,1,wB,qe),Q.Ad=function(e){Wle(F(e,319))},R(vH,Jft,1503),J(1504,1,VB,Je),Q.Mb=function(e){return!!F(e,115).c},R(vH,Yft,1504),J(1505,1,wB,Ye),Q.Ad=function(e){Wle(F(e,115).c)},R(vH,`LabelPlacer/lambda$2$Type`,1505);var _St;J(1502,1,wB,Xe),Q.Ad=function(e){mb(),kd(F(e,115))},R(vH,`NodeLabelAndSizeUtilities/lambda$0$Type`,1502),J(789,1,wB,gbe),Q.Ad=function(e){cde(this.b,this.c,this.a,F(e,187))},Q.a=!1,Q.c=!1,R(vH,`NodeLabelCellCreator/lambda$0$Type`,789),J(1501,1,wB,Sae),Q.Ad=function(e){Ise(this.a,F(e,187))},R(vH,`PortContextCreator/lambda$0$Type`,1501);var KY;J(1875,1,{},Ze),R(yH,`GreedyRectangleStripOverlapRemover`,1875),J(1876,1,iH,Qe),Q.Le=function(e,t){return Rge(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(yH,`GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type`,1876),J(1829,1,{},Tf),Q.a=5,Q.e=0,R(yH,`RectangleStripOverlapRemover`,1829),J(1830,1,iH,$e),Q.Le=function(e,t){return zge(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(yH,`RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type`,1830),J(1832,1,iH,et),Q.Le=function(e,t){return ZTe(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(yH,`RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type`,1832),J(409,24,{3:1,35:1,24:1,409:1},sg);var qY,JY,YY,XY,vSt=XO(yH,`RectangleStripOverlapRemover/OverlapRemovalDirection`,409,LJ,iNe,cbe),ySt;J(226,1,{226:1},Iwe),R(yH,`RectangleStripOverlapRemover/RectangleNode`,226),J(1831,1,wB,iu),Q.Ad=function(e){sZe(this.a,F(e,226))},R(yH,`RectangleStripOverlapRemover/lambda$1$Type`,1831);var bSt=!1,ZY,xSt;J(1801,1,wB,tt),Q.Ad=function(e){Uot(F(e,225))},R(xH,`DepthFirstCompaction/0methodref$compactTree$Type`,1801),J(811,1,wB,au),Q.Ad=function(e){YEe(this.a,F(e,225))},R(xH,`DepthFirstCompaction/lambda$1$Type`,811),J(1802,1,wB,_be),Q.Ad=function(e){eYe(this.a,this.b,this.c,F(e,225))},R(xH,`DepthFirstCompaction/lambda$2$Type`,1802);var QY,SSt;J(68,1,{68:1},_Ae),R(xH,`Node`,68),J(1180,1,{},dhe),R(xH,`ScanlineOverlapCheck`,1180),J(1181,1,{683:1},GOe),Q._e=function(e){uve(this,F(e,442))},R(xH,`ScanlineOverlapCheck/OverlapsScanlineHandler`,1181),J(1182,1,iH,nt),Q.Le=function(e,t){return TKe(F(e,68),F(t,68))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xH,`ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type`,1182),J(442,1,{442:1},Hde),Q.a=!1,R(xH,`ScanlineOverlapCheck/Timestamp`,442),J(1183,1,iH,rt),Q.Le=function(e,t){return t$e(F(e,442),F(t,442))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xH,`ScanlineOverlapCheck/lambda$0$Type`,1183),J(546,1,{},it),R(`org.eclipse.elk.alg.common.utils`,`SVGImage`,546),J(748,1,{},at),R(CH,Qft,748),J(1165,1,iH,T),Q.Le=function(e,t){return f6e(F(e,235),F(t,235))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(CH,$ft,1165),J(1166,1,wB,Bde),Q.Ad=function(e){HAe(this.b,this.a,F(e,251))},R(CH,ept,1166),J(214,1,wH),R(TH,`AbstractLayoutProvider`,214),J(726,214,wH,yf),Q.kf=function(e,t){f7e(this,e,t)},R(CH,`ForceLayoutProvider`,726);var CSt=Ax(EH,tpt);J(150,1,{3:1,105:1,150:1},ot),Q.of=function(e,t){return XA(this,e,t)},Q.lf=function(){return XCe(this)},Q.mf=function(e){return q(this,e)},Q.nf=function(e){return Xy(this,e)},R(EH,`MapPropertyHolder`,150),J(314,150,{3:1,314:1,105:1,150:1}),R(DH,`FParticle`,314),J(251,314,{3:1,251:1,314:1,105:1,150:1},mEe),Q.Ib=function(){var e;return this.a?(e=PD(this.a.a,this,0),e>=0?`b`+e+`[`+rE(this.a)+`]`:`b[`+rE(this.a)+`]`):`b_`+Ey(this)},R(DH,`FBendpoint`,251),J(291,150,{3:1,291:1,105:1,150:1},qve),Q.Ib=function(){return rE(this)},R(DH,`FEdge`,291),J(235,150,{3:1,235:1,105:1,150:1},VE);var wSt=R(DH,`FGraph`,235);J(445,314,{3:1,445:1,314:1,105:1,150:1},nPe),Q.Ib=function(){return this.b==null||this.b.length==0?`l[`+rE(this.a)+`]`:`l_`+this.b},R(DH,`FLabel`,445),J(155,314,{3:1,155:1,314:1,105:1,150:1},phe),Q.Ib=function(){return Ije(this)},Q.a=0,R(DH,`FNode`,155),J(2065,1,{}),Q.qf=function(e){vit(this,e)},Q.rf=function(){yZe(this)},Q.d=0,R(rpt,`AbstractForceModel`,2065),J(632,2065,{632:1},AHe),Q.pf=function(e,t){var n,i,a,o,s;return cst(this.f,e,t),a=Eb(Yv(t.d),e.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),i=r.Math.max(0,s-iC(e.e)/2-iC(t.e)/2),n=D6e(this.e,e,t),o=n>0?-FTe(i,this.c)*n:w_e(i,this.b)*F(q(e,(TR(),rX)),15).a,ry(a,o/s),a},Q.qf=function(e){vit(this,e),this.a=F(q(e,(TR(),nX)),15).a,this.c=k(P(q(e,aX))),this.b=k(P(q(e,iX)))},Q.sf=function(e){return e0&&(o-=Dp(i,this.a)*n),ry(a,o*this.b/s),a},Q.qf=function(e){var t,n,i,a,o,s,c;for(vit(this,e),this.b=k(P(q(e,(TR(),oX)))),this.c=this.b/F(q(e,nX),15).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(rpt,`FruchtermanReingoldModel`,633);var $Y=Ax(OH,`ILayoutMetaDataProvider`);J(845,1,NH,$s),Q.tf=function(e){GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,kH),``),`Force Model`),`Determines the model for force calculation.`),DSt),(gI(),t6)),NSt),VM((ZN(),X3))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,ipt),``),`Iterations`),`The number of iterations on the force model.`),K(300)),r6),tY),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,apt),``),`Repulsive Power`),`Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model`),K(0)),r6),tY),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,AH),``),`FR Temperature`),`The temperature is used as a scaling factor for particle displacements.`),jH),e6),$J),VM(X3)))),kT(e,AH,kH,MSt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,MH),``),`Eades Repulsion`),`Factor for repulsive forces in Eades' model.`),5),e6),$J),VM(X3)))),kT(e,MH,kH,kSt),put((new ec,e))};var TSt,ESt,DSt,OSt,kSt,ASt,jSt,MSt;R(PH,`ForceMetaDataProvider`,845),J(424,24,{3:1,35:1,24:1,424:1},Ude);var eX,tX,NSt=XO(PH,`ForceModelStrategy`,424,LJ,bke,lbe),PSt;J(985,1,NH,ec),Q.tf=function(e){put(e)};var FSt,ISt,LSt,nX,RSt,zSt,BSt,VSt,HSt,USt,WSt,GSt,KSt,qSt,rX,JSt,iX,YSt,XSt,ZSt,aX,oX,QSt,$St,eCt,tCt,nCt;R(PH,`ForceOptions`,985),J(986,1,{},st),Q.uf=function(){return new yf},Q.vf=function(e){},R(PH,`ForceOptions/ForceFactory`,986);var sX,cX,lX,uX;J(846,1,NH,Wre),Q.tf=function(e){GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,upt),``),`Fixed Position`),`Prevent that the node is moved by the layout algorithm.`),(xy(),!1)),(gI(),$3)),XJ),VM((ZN(),Y3))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,dpt),``),`Desired Edge Length`),`Either specified for parent nodes or for individual edges, where the latter takes higher precedence.`),100),e6),$J),Kx(X3,W(A(Q3,1),Z,160,0,[q3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,fpt),``),`Layout Dimension`),`Dimensions that are permitted to be altered during layout.`),aCt),t6),bCt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,ppt),``),`Stress Epsilon`),`Termination criterion for the iterative process.`),jH),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,mpt),``),`Iteration Limit`),`Maximum number of performed iterations. Takes higher precedence than 'epsilon'.`),K(nB)),r6),tY),VM(X3)))),xct((new tc,e))};var rCt,iCt,aCt,oCt,sCt,cCt;R(PH,`StressMetaDataProvider`,846),J(989,1,NH,tc),Q.tf=function(e){xct(e)};var dX,lCt,uCt,dCt,fCt,pCt,mCt,hCt,gCt,_Ct,vCt,yCt;R(PH,`StressOptions`,989),J(990,1,{},ct),Q.uf=function(){return new Jve},Q.vf=function(e){},R(PH,`StressOptions/StressFactory`,990),J(1081,214,wH,Jve),Q.kf=function(e,t){var n,r,i,a,o;for(t.Tg(hpt,1),Hp(rb(Y(e,(sF(),fCt))))?Hp(rb(Y(e,vCt)))||ww((n=new eu((Rh(),new Ip(e))),n)):f7e(new yf,e,t.dh(1)),i=wUe(e),r=Zit(this.a,i),o=r.Jc();o.Ob();)a=F(o.Pb(),235),!(a.e.c.length<=1)&&(Tot(this.b,a),m5e(this.b),SO(a.d,new lt));i=out(r),Vut(i),t.Ug()},R(oU,`StressLayoutProvider`,1081),J(1082,1,wB,lt),Q.Ad=function(e){Fat(F(e,445))},R(oU,`StressLayoutProvider/lambda$0$Type`,1082),J(987,1,{},Qd),Q.c=0,Q.e=0,Q.g=0,R(oU,`StressMajorization`,987),J(384,24,{3:1,35:1,24:1,384:1},lg);var fX,pX,mX,bCt=XO(oU,`StressMajorization/Dimension`,384,LJ,WAe,ube),xCt;J(988,1,iH,Cae),Q.Le=function(e,t){return Oye(this.a,F(e,155),F(t,155))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(oU,`StressMajorization/lambda$0$Type`,988),J(1162,1,{},Fje),R(sU,`ElkLayered`,1162),J(1163,1,wB,wae),Q.Ad=function(e){j3e(this.a,F(e,36))},R(sU,`ElkLayered/lambda$0$Type`,1163),J(1164,1,wB,Tae),Q.Ad=function(e){Dye(this.a,F(e,36))},R(sU,`ElkLayered/lambda$1$Type`,1164),J(1247,1,{},uhe);var SCt,CCt,wCt;R(sU,`GraphConfigurator`,1247),J(757,1,wB,ou),Q.Ad=function(e){y2e(this.a,F(e,9))},R(sU,`GraphConfigurator/lambda$0$Type`,757),J(758,1,{},ut),Q.Kb=function(e){return gF(),new Px(null,new cT(F(e,25).a,16))},R(sU,`GraphConfigurator/lambda$1$Type`,758),J(759,1,wB,su),Q.Ad=function(e){y2e(this.a,F(e,9))},R(sU,`GraphConfigurator/lambda$2$Type`,759),J(1248,1,VB,dt),Q.Mb=function(e){return gF(),!!aJe(F(e,9))},R(sU,`GraphConfigurator/lambda$3$Type`,1248),J(1080,214,wH,bf),Q.kf=function(e,t){var n=qat(new Df,e);M(Y(e,(Hz(),P1)))===M((xj(),N8))?zKe(this.a,n,t):c5e(this.a,n,t),t.Zg()||Plt(new Gre,n)},R(sU,`LayeredLayoutProvider`,1080),J(363,24,{3:1,35:1,24:1,363:1},ug);var hX,gX,_X,vX,yX,TCt=XO(sU,`LayeredPhases`,363,LJ,ZPe,dbe),ECt;J(1686,1,{},bBe),Q.i=0;var DCt;R(cU,`ComponentsToCGraphTransformer`,1686);var OCt;J(1687,1,{},ft),Q.wf=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.xf=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(cU,`ComponentsToCGraphTransformer/1`,1687),J(82,1,{82:1}),Q.i=0,Q.k=!0,Q.o=jV;var bX=R(lU,`CNode`,82);J(460,82,{460:1,82:1},Yge,nYe),Q.Ib=function(){return``},R(cU,`ComponentsToCGraphTransformer/CRectNode`,460),J(1655,1,{},pt);var xX,SX;R(cU,`OneDimensionalComponentsCompaction`,1655),J(1656,1,{},mt),Q.Kb=function(e){return gAe(F(e,49))},Q.Fb=function(e){return this===e},R(cU,`OneDimensionalComponentsCompaction/lambda$0$Type`,1656),J(1657,1,{},ht),Q.Kb=function(e){return QKe(F(e,49))},Q.Fb=function(e){return this===e},R(cU,`OneDimensionalComponentsCompaction/lambda$1$Type`,1657),J(1689,1,{},kEe),R(lU,`CGraph`,1689),J(194,1,{194:1},VN),Q.b=0,Q.c=0,Q.e=0,Q.g=!0,Q.i=jV,R(lU,`CGroup`,194),J(1688,1,{},gt),Q.wf=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.xf=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(lU,Mft,1688),J(1690,1,{},P6e),Q.d=!1;var kCt,CX=R(lU,Fft,1690);J(1691,1,{},_t),Q.Kb=function(e){return tde(),xy(),F(F(e,49).a,82).d.e!=0},Q.Fb=function(e){return this===e},R(lU,Ift,1691),J(818,1,{},PCe),Q.a=!1,Q.b=!1,Q.c=!1,Q.d=!1,R(lU,Lft,818),J(1871,1,{},Lwe),R(uU,Rft,1871);var wX=Ax(dU,Aft);J(1872,1,{377:1},WOe),Q._e=function(e){Tet(this,F(e,465))},R(uU,zft,1872),J(1873,1,iH,vt),Q.Le=function(e,t){return UDe(F(e,82),F(t,82))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(uU,Bft,1873),J(465,1,{465:1},Wde),Q.a=!1,R(uU,Vft,465),J(1874,1,iH,yt),Q.Le=function(e,t){return n$e(F(e,465),F(t,465))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(uU,Hft,1874),J(146,1,{146:1},dg,QSe),Q.Fb=function(e){var t;return e==null||ACt!=vj(e)?!1:(t=F(e,146),yC(this.c,t.c)&&yC(this.d,t.d))},Q.Hb=function(){return Mj(W(A(OJ,1),sB,1,5,[this.c,this.d]))},Q.Ib=function(){return`(`+this.c+oB+this.d+(this.a?`cx`:``)+this.b+`)`},Q.a=!0,Q.c=0,Q.d=0;var ACt=R(dU,`Point`,146);J(408,24,{3:1,35:1,24:1,408:1},fg);var TX,EX,DX,OX,jCt=XO(dU,`Point/Quadrant`,408,LJ,rNe,fbe),MCt;J(1677,1,{},xf),Q.b=null,Q.c=null,Q.d=null,Q.e=null,Q.f=null;var NCt,PCt,FCt,ICt,LCt;R(dU,`RectilinearConvexHull`,1677),J(569,1,{377:1},sP),Q._e=function(e){mLe(this,F(e,146))},Q.b=0;var RCt;R(dU,`RectilinearConvexHull/MaximalElementsEventHandler`,569),J(1679,1,iH,tee),Q.Le=function(e,t){return WDe(P(e),P(t))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(dU,`RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type`,1679),J(1678,1,{377:1},JRe),Q._e=function(e){v9e(this,F(e,146))},Q.a=0,Q.b=null,Q.c=null,Q.d=null,Q.e=null,R(dU,`RectilinearConvexHull/RectangleEventHandler`,1678),J(1680,1,iH,bt),Q.Le=function(e,t){return Rje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(dU,`RectilinearConvexHull/lambda$0$Type`,1680),J(1681,1,iH,nee),Q.Le=function(e,t){return zje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(dU,`RectilinearConvexHull/lambda$1$Type`,1681),J(1682,1,iH,ree),Q.Le=function(e,t){return Vje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(dU,`RectilinearConvexHull/lambda$2$Type`,1682),J(1683,1,iH,iee),Q.Le=function(e,t){return Bje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(dU,`RectilinearConvexHull/lambda$3$Type`,1683),J(1684,1,iH,xt),Q.Le=function(e,t){return G0e(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(dU,`RectilinearConvexHull/lambda$4$Type`,1684),J(1685,1,{},yAe),R(dU,`Scanline`,1685),J(2069,1,{}),R(fU,`AbstractGraphPlacer`,2069),J(336,1,{336:1},p_e),Q.Df=function(e){return this.Ef(e)?(HI(this.b,F(q(e,(X(),r$)),22),e),!0):!1},Q.Ef=function(e){for(var t=F(q(e,(X(),r$)),22),n,r=F(ME(kX,t),22).Jc();r.Ob();)if(n=F(r.Pb(),22),!F(ME(this.b,n),16).dc())return!1;return!0};var kX;R(fU,`ComponentGroup`,336),J(766,2069,{},Cf),Q.Ff=function(e){for(var t,n=new D(this.a);n.an&&(d=0,f+=c+i,c=0),l=o.c,rR(o,d+l.a,f+l.b),cv(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.Hf=function(e,t){var n,r,i,a,o;if(M(q(t,(Hz(),a1)))===M((zN(),MX))){for(r=e.Jc();r.Ob();){for(n=F(r.Pb(),36),o=0,a=new D(n.a);a.an&&!F(q(o,(X(),r$)),22).Gc((Az(),m5))||l&&F(q(l,(X(),r$)),22).Gc((Az(),p5))||F(q(o,(X(),r$)),22).Gc((Az(),N5)))&&(p=f,m+=c+i,c=0),u=o.c,F(q(o,(X(),r$)),22).Gc((Az(),m5))&&(p=a+i),rR(o,p+u.a,m+u.b),a=r.Math.max(a,p+d.a),F(q(o,r$),22).Gc(j5)&&(f=r.Math.max(f,p+d.a+i)),cv(u),c=r.Math.max(c,d.b),p+=d.a+i,l=o;t.f.a=a,t.f.b=m+c},Q.Hf=function(e,t){},R(fU,`ModelOrderRowGraphPlacer`,1279),J(1277,1,iH,see),Q.Le=function(e,t){return DHe(F(e,36),F(t,36))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(fU,`SimpleRowGraphPlacer/1`,1277);var HCt;J(1246,1,cH,wt),Q.Lb=function(e){var t=F(q(F(e,250).b,(Hz(),R1)),79);return!!t&&t.b!=0},Q.Fb=function(e){return this===e},Q.Mb=function(e){var t=F(q(F(e,250).b,(Hz(),R1)),79);return!!t&&t.b!=0},R(gU,`CompoundGraphPostprocessor/1`,1246),J(1245,1,_U,Rse),Q.If=function(e,t){mXe(this,F(e,36),t)},R(gU,`CompoundGraphPreprocessor`,1245),J(444,1,{444:1},LKe),Q.c=!1,R(gU,`CompoundGraphPreprocessor/ExternalPort`,444),J(250,1,{250:1},Kb),Q.Ib=function(){return Gy(this.c)+`:`+m6e(this.b)},R(gU,`CrossHierarchyEdge`,250),J(764,1,iH,cu),Q.Le=function(e,t){return lQe(this,F(e,250),F(t,250))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(gU,`CrossHierarchyEdgeComparator`,764),J(246,150,{3:1,246:1,105:1,150:1}),Q.p=0,R(vU,`LGraphElement`,246),J(17,246,{3:1,17:1,246:1,105:1,150:1},cw),Q.Ib=function(){return m6e(this)};var PX=R(vU,`LEdge`,17);J(36,246,{3:1,20:1,36:1,246:1,105:1,150:1},xBe),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return new D(this.b)},Q.Ib=function(){return this.b.c.length==0?`G-unlayered`+eI(this.a):this.a.c.length==0?`G-layered`+eI(this.b):`G[layerless`+eI(this.a)+`, layers`+eI(this.b)+`]`};var UCt=R(vU,`LGraph`,36),WCt;J(655,1,{}),Q.Jf=function(){return this.e.n},Q.mf=function(e){return q(this.e,e)},Q.Kf=function(){return this.e.o},Q.Lf=function(){return this.e.p},Q.nf=function(e){return Xy(this.e,e)},Q.Mf=function(e){this.e.n.a=e.a,this.e.n.b=e.b},Q.Nf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},Q.Of=function(e){this.e.p=e},R(vU,`LGraphAdapters/AbstractLShapeAdapter`,655),J(464,1,{838:1},lu),Q.Pf=function(){var e,t;if(!this.b)for(this.b=Ry(this.a.b.c.length),t=new D(this.a.b);t.a0&&eGe((uT(t-1,e.length),e.charCodeAt(t-1)),Spt);)--t;if(a> `,e),ZP(n)),Q_(Z_((e.a+=`[`,e),n.i),`]`)),e.a},Q.c=!0,Q.d=!1;var JCt,YCt,XCt,ZCt,QCt,$Ct,ewt=R(vU,`LPort`,12);J(399,1,OB,uu),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return new du(new D(this.a.e))},R(vU,`LPort/1`,399),J(1275,1,pB,du),Q.Nb=function(e){CS(this,e)},Q.Pb=function(){return F(B(this.a),17).c},Q.Ob=function(){return Hv(this.a)},Q.Qb=function(){AS(this.a)},R(vU,`LPort/1/1`,1275),J(365,1,OB,fu),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return new pu(new D(this.a.g))},R(vU,`LPort/2`,365),J(763,1,pB,pu),Q.Nb=function(e){CS(this,e)},Q.Pb=function(){return F(B(this.a),17).d},Q.Ob=function(){return Hv(this.a)},Q.Qb=function(){AS(this.a)},R(vU,`LPort/2/1`,763),J(1268,1,OB,Kde),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return new BE(this)},R(vU,`LPort/CombineIter`,1268),J(207,1,pB,BE),Q.Nb=function(e){CS(this,e)},Q.Qb=function(){kle()},Q.Ob=function(){return Dy(this)},Q.Pb=function(){return Hv(this.a)?B(this.a):B(this.b)},R(vU,`LPort/CombineIter/1`,207),J(1270,1,cH,Ot),Q.Lb=function(e){return aTe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Kk(),F(e,12).e.c.length!=0},R(vU,`LPort/lambda$0$Type`,1270),J(1269,1,cH,cee),Q.Lb=function(e){return oTe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Kk(),F(e,12).g.c.length!=0},R(vU,`LPort/lambda$1$Type`,1269),J(1271,1,cH,kt),Q.Lb=function(e){return Kk(),F(e,12).j==(Az(),m5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Kk(),F(e,12).j==(Az(),m5)},R(vU,`LPort/lambda$2$Type`,1271),J(1272,1,cH,At),Q.Lb=function(e){return Kk(),F(e,12).j==(Az(),p5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Kk(),F(e,12).j==(Az(),p5)},R(vU,`LPort/lambda$3$Type`,1272),J(1273,1,cH,jt),Q.Lb=function(e){return Kk(),F(e,12).j==(Az(),j5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Kk(),F(e,12).j==(Az(),j5)},R(vU,`LPort/lambda$4$Type`,1273),J(1274,1,cH,Mt),Q.Lb=function(e){return Kk(),F(e,12).j==(Az(),N5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Kk(),F(e,12).j==(Az(),N5)},R(vU,`LPort/lambda$5$Type`,1274),J(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},YS),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return new D(this.a)},Q.Ib=function(){return`L_`+PD(this.b.b,this,0)+eI(this.a)},R(vU,`Layer`,25),J(1662,1,{},VIe),Q.b=0,R(vU,`Tarjan`,1662),J(1283,1,{},Df),R(CU,Ept,1283),J(1287,1,{},Nt),Q.Kb=function(e){return RF(F(e,84))},R(CU,`ElkGraphImporter/0methodref$connectableShapeToNode$Type`,1287),J(1290,1,{},Pt),Q.Kb=function(e){return RF(F(e,84))},R(CU,`ElkGraphImporter/1methodref$connectableShapeToNode$Type`,1290),J(1284,1,wB,Eae),Q.Ad=function(e){Z6e(this.a,F(e,125))},R(CU,ept,1284),J(1285,1,wB,mu),Q.Ad=function(e){Z6e(this.a,F(e,125))},R(CU,Dpt,1285),J(1286,1,{},lee),Q.Kb=function(e){return new Px(null,new cT(ODe(F(e,85)),16))},R(CU,Opt,1286),J(1288,1,VB,hu),Q.Mb=function(e){return Pme(this.a,F(e,26))},R(CU,kpt,1288),J(1289,1,{},Ft),Q.Kb=function(e){return new Px(null,new cT(DDe(F(e,85)),16))},R(CU,`ElkGraphImporter/lambda$5$Type`,1289),J(1291,1,VB,Dae),Q.Mb=function(e){return Fme(this.a,F(e,26))},R(CU,`ElkGraphImporter/lambda$7$Type`,1291),J(1292,1,VB,uee),Q.Mb=function(e){return hOe(F(e,85))},R(CU,`ElkGraphImporter/lambda$8$Type`,1292),J(1263,1,{},Gre);var twt;R(CU,`ElkGraphLayoutTransferrer`,1263),J(1264,1,VB,Oae),Q.Mb=function(e){return jye(this.a,F(e,17))},R(CU,`ElkGraphLayoutTransferrer/lambda$0$Type`,1264),J(1265,1,wB,kae),Q.Ad=function(e){Eh(),iy(this.a,F(e,17))},R(CU,`ElkGraphLayoutTransferrer/lambda$1$Type`,1265),J(1266,1,VB,Aae),Q.Mb=function(e){return fve(this.a,F(e,17))},R(CU,`ElkGraphLayoutTransferrer/lambda$2$Type`,1266),J(1267,1,wB,gu),Q.Ad=function(e){Eh(),iy(this.a,F(e,17))},R(CU,`ElkGraphLayoutTransferrer/lambda$3$Type`,1267),J(807,1,{},Yve),R(wU,`BiLinkedHashMultiMap`,807),J(1512,1,_U,dee),Q.If=function(e,t){uVe(F(e,36),t)},R(wU,`CommentNodeMarginCalculator`,1512),J(1513,1,{},It),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`CommentNodeMarginCalculator/lambda$0$Type`,1513),J(1514,1,wB,Lt),Q.Ad=function(e){Uat(F(e,9))},R(wU,`CommentNodeMarginCalculator/lambda$1$Type`,1514),J(1515,1,_U,Rt),Q.If=function(e,t){Fet(F(e,36),t)},R(wU,`CommentPostprocessor`,1515),J(1516,1,_U,fee),Q.If=function(e,t){ylt(F(e,36),t)},R(wU,`CommentPreprocessor`,1516),J(1517,1,_U,zt),Q.If=function(e,t){D9e(F(e,36),t)},R(wU,`ConstraintsPostprocessor`,1517),J(1518,1,_U,pee),Q.If=function(e,t){yHe(F(e,36),t)},R(wU,`EdgeAndLayerConstraintEdgeReverser`,1518),J(1519,1,_U,Bt),Q.If=function(e,t){Gqe(F(e,36),t)},R(wU,`EndLabelPostprocessor`,1519),J(1520,1,{},mee),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`EndLabelPostprocessor/lambda$0$Type`,1520),J(1521,1,VB,Vt),Q.Mb=function(e){return BPe(F(e,9))},R(wU,`EndLabelPostprocessor/lambda$1$Type`,1521),J(1522,1,wB,hee),Q.Ad=function(e){r$e(F(e,9))},R(wU,`EndLabelPostprocessor/lambda$2$Type`,1522),J(1523,1,_U,Ht),Q.If=function(e,t){B4e(F(e,36),t)},R(wU,`EndLabelPreprocessor`,1523),J(1524,1,{},Ut),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`EndLabelPreprocessor/lambda$0$Type`,1524),J(1525,1,wB,vbe),Q.Ad=function(e){lde(this.a,this.b,this.c,F(e,9))},Q.a=0,Q.b=0,Q.c=!1,R(wU,`EndLabelPreprocessor/lambda$1$Type`,1525),J(1526,1,VB,Wt),Q.Mb=function(e){return M(q(F(e,70),(Hz(),D1)))===M((EO(),E8))},R(wU,`EndLabelPreprocessor/lambda$2$Type`,1526),J(1527,1,wB,_u),Q.Ad=function(e){mx(this.a,F(e,70))},R(wU,`EndLabelPreprocessor/lambda$3$Type`,1527),J(1528,1,VB,Gt),Q.Mb=function(e){return M(q(F(e,70),(Hz(),D1)))===M((EO(),T8))},R(wU,`EndLabelPreprocessor/lambda$4$Type`,1528),J(1529,1,wB,jae),Q.Ad=function(e){mx(this.a,F(e,70))},R(wU,`EndLabelPreprocessor/lambda$5$Type`,1529),J(1577,1,_U,qre),Q.If=function(e,t){yKe(F(e,36),t)};var nwt;R(wU,`EndLabelSorter`,1577),J(1578,1,iH,gee),Q.Le=function(e,t){return lYe(F(e,455),F(t,455))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`EndLabelSorter/1`,1578),J(455,1,{455:1},OOe),R(wU,`EndLabelSorter/LabelGroup`,455),J(1579,1,{},Kt),Q.Kb=function(e){return Oh(),new Px(null,new cT(F(e,25).a,16))},R(wU,`EndLabelSorter/lambda$0$Type`,1579),J(1580,1,VB,qt),Q.Mb=function(e){return Oh(),F(e,9).k==(uL(),VX)},R(wU,`EndLabelSorter/lambda$1$Type`,1580),J(1581,1,wB,Jt),Q.Ad=function(e){b2e(F(e,9))},R(wU,`EndLabelSorter/lambda$2$Type`,1581),J(1582,1,VB,Yt),Q.Mb=function(e){return Oh(),M(q(F(e,70),(Hz(),D1)))===M((EO(),T8))},R(wU,`EndLabelSorter/lambda$3$Type`,1582),J(1583,1,VB,Xt),Q.Mb=function(e){return Oh(),M(q(F(e,70),(Hz(),D1)))===M((EO(),E8))},R(wU,`EndLabelSorter/lambda$4$Type`,1583),J(1530,1,_U,Zt),Q.If=function(e,t){got(this,F(e,36))},Q.b=0,Q.c=0,R(wU,`FinalSplineBendpointsCalculator`,1530),J(1531,1,{},Qt),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`FinalSplineBendpointsCalculator/lambda$0$Type`,1531),J(1532,1,{},$t),Q.Kb=function(e){return new Px(null,new US(new iS(my(RM(F(e,9)).a.Jc(),new f))))},R(wU,`FinalSplineBendpointsCalculator/lambda$1$Type`,1532),J(1533,1,VB,en),Q.Mb=function(e){return!CE(F(e,17))},R(wU,`FinalSplineBendpointsCalculator/lambda$2$Type`,1533),J(1534,1,VB,_ee),Q.Mb=function(e){return Xy(F(e,17),(X(),R$))},R(wU,`FinalSplineBendpointsCalculator/lambda$3$Type`,1534),J(1535,1,wB,Mae),Q.Ad=function(e){ort(this.a,F(e,132))},R(wU,`FinalSplineBendpointsCalculator/lambda$4$Type`,1535),J(1536,1,wB,vee),Q.Ad=function(e){wI(F(e,17).a)},R(wU,`FinalSplineBendpointsCalculator/lambda$5$Type`,1536),J(791,1,_U,vu),Q.If=function(e,t){Sst(this,F(e,36),t)},R(wU,`GraphTransformer`,791),J(503,24,{3:1,35:1,24:1,503:1},qde);var GX,KX,rwt=XO(wU,`GraphTransformer/Mode`,503,LJ,xke,Tbe),iwt;J(1537,1,_U,tn),Q.If=function(e,t){x7e(F(e,36),t)},R(wU,`HierarchicalNodeResizingProcessor`,1537),J(1538,1,_U,nn),Q.If=function(e,t){mBe(F(e,36),t)},R(wU,`HierarchicalPortConstraintProcessor`,1538),J(1539,1,iH,rn),Q.Le=function(e,t){return UYe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`HierarchicalPortConstraintProcessor/NodeComparator`,1539),J(1540,1,_U,an),Q.If=function(e,t){zit(F(e,36),t)},R(wU,`HierarchicalPortDummySizeProcessor`,1540),J(1541,1,_U,on),Q.If=function(e,t){Ttt(this,F(e,36),t)},Q.a=0,R(wU,`HierarchicalPortOrthogonalEdgeRouter`,1541),J(1542,1,iH,sn),Q.Le=function(e,t){return Bge(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`HierarchicalPortOrthogonalEdgeRouter/1`,1542),J(1543,1,iH,cn),Q.Le=function(e,t){return $Le(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`HierarchicalPortOrthogonalEdgeRouter/2`,1543),J(1544,1,_U,ln),Q.If=function(e,t){B0e(F(e,36),t)},R(wU,`HierarchicalPortPositionProcessor`,1544),J(1545,1,_U,Jre),Q.If=function(e,t){Sut(this,F(e,36))},Q.a=0,Q.c=0;var qX,JX;R(wU,`HighDegreeNodeLayeringProcessor`,1545),J(566,1,{566:1},un),Q.b=-1,Q.d=-1,R(wU,`HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation`,566),J(1546,1,{},yee),Q.Kb=function(e){return Jb(),IM(F(e,9))},Q.Fb=function(e){return this===e},R(wU,`HighDegreeNodeLayeringProcessor/lambda$0$Type`,1546),J(1547,1,{},dn),Q.Kb=function(e){return Jb(),RM(F(e,9))},Q.Fb=function(e){return this===e},R(wU,`HighDegreeNodeLayeringProcessor/lambda$1$Type`,1547),J(1553,1,_U,bee),Q.If=function(e,t){Sit(this,F(e,36),t)},R(wU,`HyperedgeDummyMerger`,1553),J(792,1,{},ybe),Q.a=!1,Q.b=!1,Q.c=!1,R(wU,`HyperedgeDummyMerger/MergeState`,792),J(1554,1,{},fn),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`HyperedgeDummyMerger/lambda$0$Type`,1554),J(1555,1,{},pn),Q.Kb=function(e){return new Px(null,new cT(F(e,9).j,16))},R(wU,`HyperedgeDummyMerger/lambda$1$Type`,1555),J(1556,1,wB,mn),Q.Ad=function(e){F(e,12).p=-1},R(wU,`HyperedgeDummyMerger/lambda$2$Type`,1556),J(1557,1,_U,hn),Q.If=function(e,t){yit(F(e,36),t)},R(wU,`HypernodesProcessor`,1557),J(1558,1,_U,gn),Q.If=function(e,t){Rit(F(e,36),t)},R(wU,`InLayerConstraintProcessor`,1558),J(1559,1,_U,_n),Q.If=function(e,t){FVe(F(e,36),t)},R(wU,`InnermostNodeMarginCalculator`,1559),J(1560,1,_U,vn),Q.If=function(e,t){hlt(this,F(e,36))},Q.a=jV,Q.b=jV,Q.c=AV,Q.d=AV;var awt=R(wU,`InteractiveExternalPortPositioner`,1560);J(1561,1,{},yn),Q.Kb=function(e){return F(e,17).d.i},Q.Fb=function(e){return this===e},R(wU,`InteractiveExternalPortPositioner/lambda$0$Type`,1561),J(1562,1,{},yu),Q.Kb=function(e){return Vge(this.a,P(e))},Q.Fb=function(e){return this===e},R(wU,`InteractiveExternalPortPositioner/lambda$1$Type`,1562),J(1563,1,{},bn),Q.Kb=function(e){return F(e,17).c.i},Q.Fb=function(e){return this===e},R(wU,`InteractiveExternalPortPositioner/lambda$2$Type`,1563),J(1564,1,{},Nae),Q.Kb=function(e){return Hge(this.a,P(e))},Q.Fb=function(e){return this===e},R(wU,`InteractiveExternalPortPositioner/lambda$3$Type`,1564),J(1565,1,{},Pae),Q.Kb=function(e){return _ye(this.a,P(e))},Q.Fb=function(e){return this===e},R(wU,`InteractiveExternalPortPositioner/lambda$4$Type`,1565),J(1566,1,{},bu),Q.Kb=function(e){return vye(this.a,P(e))},Q.Fb=function(e){return this===e},R(wU,`InteractiveExternalPortPositioner/lambda$5$Type`,1566),J(77,24,{3:1,35:1,24:1,77:1,196:1},hg),Q.bg=function(){switch(this.g){case 15:return new Yr;case 22:return new Xr;case 49:return new $r;case 29:case 36:return new An;case 33:return new dee;case 44:return new Rt;case 1:return new fee;case 43:return new zt;case 58:return new vu((Dk(),KX));case 0:return new vu((Dk(),GX));case 2:return new pee;case 56:return new Bt;case 34:return new Ht;case 53:return new Zt;case 57:return new tn;case 13:return new nn;case 39:return new an;case 46:return new on;case 42:return new ln;case 9:return new Jre;case 51:return new Xge;case 38:return new bee;case 45:return new hn;case 28:return new gn;case 31:return new _n;case 3:return new vn;case 18:return new xn;case 30:return new Sn;case 5:return new nc;case 52:return new Tn;case 35:return new rc;case 37:return new jn;case 54:return new qre;case 11:return new Mn;case 7:return new Kre;case 41:return new Nn;case 47:return new Pn;case 16:return new Fn;case 40:return new See;case 10:return new bpe;case 50:return new wee;case 21:return new Tee;case 23:return new Pp((Hj(),k2));case 8:return new Vn;case 12:return new Un;case 4:return new Cee;case 19:return new Yre;case 17:return new Qn;case 55:return new Dee;case 6:return new or;case 25:return new Af;case 26:return new qr;case 48:return new kee;case 32:return new eye;case 14:return new Bee;case 27:return new oi;case 20:return new lr;case 24:return new Pp((Hj(),A2));default:throw O(new Rp(TU+(this.f==null?``+this.g:this.f)))}};var owt,swt,cwt,lwt,uwt,dwt,fwt,pwt,mwt,hwt,gwt,YX,XX,ZX,_wt,vwt,ywt,bwt,xwt,Swt,Cwt,QX,wwt,Twt,Ewt,Dwt,Owt,$X,eZ,tZ,kwt,nZ,rZ,iZ,aZ,oZ,sZ,Awt,cZ,lZ,jwt,Mwt,uZ,dZ,Nwt,Pwt,Fwt,Iwt,fZ,pZ,mZ,hZ,gZ,_Z,vZ,Lwt,Rwt,zwt,Bwt,Vwt=XO(wU,EU,77,LJ,F9e,Ebe),Hwt;J(1567,1,_U,xn),Q.If=function(e,t){flt(F(e,36),t)},R(wU,`InvertedPortProcessor`,1567),J(1568,1,_U,Sn),Q.If=function(e,t){Jnt(F(e,36),t)},R(wU,`LabelAndNodeSizeProcessor`,1568),J(1569,1,VB,xee),Q.Mb=function(e){return F(e,9).k==(uL(),VX)},R(wU,`LabelAndNodeSizeProcessor/lambda$0$Type`,1569),J(1570,1,VB,Cn),Q.Mb=function(e){return F(e,9).k==(uL(),LX)},R(wU,`LabelAndNodeSizeProcessor/lambda$1$Type`,1570),J(1571,1,wB,bbe),Q.Ad=function(e){ude(this.b,this.a,this.c,F(e,9))},Q.a=!1,Q.c=!1,R(wU,`LabelAndNodeSizeProcessor/lambda$2$Type`,1571),J(1572,1,_U,nc),Q.If=function(e,t){Pct(F(e,36),t)};var Uwt;R(wU,`LabelDummyInserter`,1572),J(1573,1,cH,wn),Q.Lb=function(e){return M(q(F(e,70),(Hz(),D1)))===M((EO(),w8))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return M(q(F(e,70),(Hz(),D1)))===M((EO(),w8))},R(wU,`LabelDummyInserter/1`,1573),J(1574,1,_U,Tn),Q.If=function(e,t){fct(F(e,36),t)},R(wU,`LabelDummyRemover`,1574),J(1575,1,VB,En),Q.Mb=function(e){return Hp(rb(q(F(e,70),(Hz(),E1))))},R(wU,`LabelDummyRemover/lambda$0$Type`,1575),J(1333,1,_U,rc),Q.If=function(e,t){tct(this,F(e,36),t)},Q.a=null;var yZ;R(wU,`LabelDummySwitcher`,1333),J(294,1,{294:1},wnt),Q.c=0,Q.d=null,Q.f=0,R(wU,`LabelDummySwitcher/LabelDummyInfo`,294),J(1334,1,{},Dn),Q.Kb=function(e){return Ak(),new Px(null,new cT(F(e,25).a,16))},R(wU,`LabelDummySwitcher/lambda$0$Type`,1334),J(1335,1,VB,On),Q.Mb=function(e){return Ak(),F(e,9).k==(uL(),RX)},R(wU,`LabelDummySwitcher/lambda$1$Type`,1335),J(1336,1,{},Fae),Q.Kb=function(e){return pve(this.a,F(e,9))},R(wU,`LabelDummySwitcher/lambda$2$Type`,1336),J(1337,1,wB,Iae),Q.Ad=function(e){NEe(this.a,F(e,294))},R(wU,`LabelDummySwitcher/lambda$3$Type`,1337),J(1338,1,iH,kn),Q.Le=function(e,t){return sTe(F(e,294),F(t,294))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`LabelDummySwitcher/lambda$4$Type`,1338),J(790,1,_U,An),Q.If=function(e,t){$Fe(F(e,36),t)},R(wU,`LabelManagementProcessor`,790),J(1576,1,_U,jn),Q.If=function(e,t){het(F(e,36),t)},R(wU,`LabelSideSelector`,1576),J(1584,1,_U,Mn),Q.If=function(e,t){mat(F(e,36),t)},R(wU,`LayerConstraintPostprocessor`,1584),J(1585,1,_U,Kre),Q.If=function(e,t){R8e(F(e,36),t)};var Wwt;R(wU,`LayerConstraintPreprocessor`,1585),J(367,24,{3:1,35:1,24:1,367:1},gg);var bZ,xZ,SZ,CZ,Gwt=XO(wU,`LayerConstraintPreprocessor/HiddenNodeConnections`,367,LJ,oNe,Dbe),Kwt;J(1586,1,_U,Nn),Q.If=function(e,t){sst(F(e,36),t)},R(wU,`LayerSizeAndGraphHeightCalculator`,1586),J(1587,1,_U,Pn),Q.If=function(e,t){S7e(F(e,36),t)},R(wU,`LongEdgeJoiner`,1587),J(1588,1,_U,Fn),Q.If=function(e,t){jot(F(e,36),t)},R(wU,`LongEdgeSplitter`,1588),J(1589,1,_U,See),Q.If=function(e,t){Vnt(F(e,36),t)},R(wU,`NodePlacementRepeater`,1589),J(1590,1,VB,In),Q.Mb=function(e){return F(e,9).k==(uL(),VX)},R(wU,`NodePlacementRepeater/lambda$0$Type`,1590),J(1591,1,_U,bpe),Q.If=function(e,t){Zct(this,F(e,36),t)},Q.e=0,Q.f=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0;var qwt,Jwt;R(wU,`NodePromotion`,1591),J(1592,1,iH,Ln),Q.Le=function(e,t){return mWe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`NodePromotion/1`,1592),J(1593,1,iH,Rn),Q.Le=function(e,t){return hWe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`NodePromotion/2`,1593),J(1594,1,{},zn),Q.Kb=function(e){return F(e,49),Yb(),xy(),!0},Q.Fb=function(e){return this===e},R(wU,`NodePromotion/lambda$0$Type`,1594),J(1595,1,{},xu),Q.Kb=function(e){return iAe(this.a,F(e,49))},Q.Fb=function(e){return this===e},Q.a=0,R(wU,`NodePromotion/lambda$1$Type`,1595),J(1596,1,{},Lae),Q.Kb=function(e){return rAe(this.a,F(e,49))},Q.Fb=function(e){return this===e},Q.a=0,R(wU,`NodePromotion/lambda$2$Type`,1596),J(1597,1,_U,wee),Q.If=function(e,t){cut(F(e,36),t)},R(wU,`NorthSouthPortPostprocessor`,1597),J(1598,1,_U,Tee),Q.If=function(e,t){yut(F(e,36),t)},R(wU,`NorthSouthPortPreprocessor`,1598),J(1599,1,iH,Bn),Q.Le=function(e,t){return MHe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`NorthSouthPortPreprocessor/lambda$0$Type`,1599),J(1600,1,_U,Vn),Q.If=function(e,t){Krt(F(e,36),t)},R(wU,`PartitionMidprocessor`,1600),J(1601,1,VB,Hn),Q.Mb=function(e){return Xy(F(e,9),(Hz(),o0))},R(wU,`PartitionMidprocessor/lambda$0$Type`,1601),J(1602,1,wB,Rae),Q.Ad=function(e){mOe(this.a,F(e,9))},R(wU,`PartitionMidprocessor/lambda$1$Type`,1602),J(1603,1,_U,Un),Q.If=function(e,t){Z7e(F(e,36),t)},R(wU,`PartitionPostprocessor`,1603),J(1604,1,_U,Cee),Q.If=function(e,t){Snt(F(e,36),t)},R(wU,`PartitionPreprocessor`,1604),J(1605,1,VB,Wn),Q.Mb=function(e){return Xy(F(e,9),(Hz(),o0))},R(wU,`PartitionPreprocessor/lambda$0$Type`,1605),J(1606,1,VB,Eee),Q.Mb=function(e){return Xy(F(e,9),(Hz(),o0))},R(wU,`PartitionPreprocessor/lambda$1$Type`,1606),J(1607,1,{},Gn),Q.Kb=function(e){return new Px(null,new US(new iS(my(RM(F(e,9)).a.Jc(),new f))))},R(wU,`PartitionPreprocessor/lambda$2$Type`,1607),J(1608,1,VB,zae),Q.Mb=function(e){return Rle(this.a,F(e,17))},R(wU,`PartitionPreprocessor/lambda$3$Type`,1608),J(1609,1,wB,Kn),Q.Ad=function(e){aUe(F(e,17))},R(wU,`PartitionPreprocessor/lambda$4$Type`,1609),J(1610,1,VB,Bae),Q.Mb=function(e){return PEe(this.a,F(e,9))},Q.a=0,R(wU,`PartitionPreprocessor/lambda$5$Type`,1610),J(1611,1,_U,Yre),Q.If=function(e,t){brt(F(e,36),t)};var Ywt,Xwt,Zwt,Qwt,$wt,eTt;R(wU,`PortListSorter`,1611),J(1614,1,iH,qn),Q.Le=function(e,t){return oPe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`PortListSorter/lambda$0$Type`,1614),J(1616,1,iH,Jn),Q.Le=function(e,t){return uit(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`PortListSorter/lambda$1$Type`,1616),J(1612,1,{},Yn),Q.Kb=function(e){return cj(),F(e,12).e},R(wU,`PortListSorter/lambda$2$Type`,1612),J(1613,1,{},Xn),Q.Kb=function(e){return cj(),F(e,12).g},R(wU,`PortListSorter/lambda$3$Type`,1613),J(1615,1,iH,Zn),Q.Le=function(e,t){return GZe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`PortListSorter/lambda$4$Type`,1615),J(1617,1,_U,Qn),Q.If=function(e,t){X8e(F(e,36),t)},R(wU,`PortSideProcessor`,1617),J(1618,1,_U,Dee),Q.If=function(e,t){$tt(F(e,36),t)},R(wU,`ReversedEdgeRestorer`,1618),J(1623,1,_U,Af),Q.If=function(e,t){fZe(this,F(e,36),t)},R(wU,`SelfLoopPortRestorer`,1623),J(1624,1,{},Oee),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`SelfLoopPortRestorer/lambda$0$Type`,1624),J(1625,1,VB,$n),Q.Mb=function(e){return F(e,9).k==(uL(),VX)},R(wU,`SelfLoopPortRestorer/lambda$1$Type`,1625),J(1626,1,VB,er),Q.Mb=function(e){return Xy(F(e,9),(X(),P$))},R(wU,`SelfLoopPortRestorer/lambda$2$Type`,1626),J(1627,1,{},tr),Q.Kb=function(e){return F(q(F(e,9),(X(),P$)),338)},R(wU,`SelfLoopPortRestorer/lambda$3$Type`,1627),J(1628,1,wB,Cu),Q.Ad=function(e){V2e(this.a,F(e,338))},R(wU,`SelfLoopPortRestorer/lambda$4$Type`,1628),J(793,1,wB,nr),Q.Ad=function(e){o4e(F(e,107))},R(wU,`SelfLoopPortRestorer/lambda$5$Type`,793),J(1630,1,_U,kee),Q.If=function(e,t){KYe(F(e,36),t)},R(wU,`SelfLoopPostProcessor`,1630),J(1631,1,{},Aee),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`SelfLoopPostProcessor/lambda$0$Type`,1631),J(1632,1,VB,jee),Q.Mb=function(e){return F(e,9).k==(uL(),VX)},R(wU,`SelfLoopPostProcessor/lambda$1$Type`,1632),J(1633,1,VB,rr),Q.Mb=function(e){return Xy(F(e,9),(X(),P$))},R(wU,`SelfLoopPostProcessor/lambda$2$Type`,1633),J(1634,1,wB,Mee),Q.Ad=function(e){M$e(F(e,9))},R(wU,`SelfLoopPostProcessor/lambda$3$Type`,1634),J(1635,1,{},ir),Q.Kb=function(e){return new Px(null,new cT(F(e,107).f,1))},R(wU,`SelfLoopPostProcessor/lambda$4$Type`,1635),J(1636,1,wB,wu),Q.Ad=function(e){hNe(this.a,F(e,341))},R(wU,`SelfLoopPostProcessor/lambda$5$Type`,1636),J(1637,1,VB,ar),Q.Mb=function(e){return!!F(e,107).i},R(wU,`SelfLoopPostProcessor/lambda$6$Type`,1637),J(1638,1,wB,Vae),Q.Ad=function(e){Ep(this.a,F(e,107))},R(wU,`SelfLoopPostProcessor/lambda$7$Type`,1638),J(1619,1,_U,or),Q.If=function(e,t){Q5e(F(e,36),t)},R(wU,`SelfLoopPreProcessor`,1619),J(1620,1,{},Nee),Q.Kb=function(e){return new Px(null,new cT(F(e,107).f,1))},R(wU,`SelfLoopPreProcessor/lambda$0$Type`,1620),J(1621,1,{},Pee),Q.Kb=function(e){return F(e,341).a},R(wU,`SelfLoopPreProcessor/lambda$1$Type`,1621),J(1622,1,wB,Fee),Q.Ad=function(e){she(F(e,17))},R(wU,`SelfLoopPreProcessor/lambda$2$Type`,1622),J(1639,1,_U,eye),Q.If=function(e,t){f2e(this,F(e,36),t)},R(wU,`SelfLoopRouter`,1639),J(1640,1,{},Iee),Q.Kb=function(e){return new Px(null,new cT(F(e,25).a,16))},R(wU,`SelfLoopRouter/lambda$0$Type`,1640),J(1641,1,VB,Lee),Q.Mb=function(e){return F(e,9).k==(uL(),VX)},R(wU,`SelfLoopRouter/lambda$1$Type`,1641),J(1642,1,VB,Ree),Q.Mb=function(e){return Xy(F(e,9),(X(),P$))},R(wU,`SelfLoopRouter/lambda$2$Type`,1642),J(1643,1,{},zee),Q.Kb=function(e){return F(q(F(e,9),(X(),P$)),338)},R(wU,`SelfLoopRouter/lambda$3$Type`,1643),J(1644,1,wB,efe),Q.Ad=function(e){GDe(this.a,this.b,F(e,338))},R(wU,`SelfLoopRouter/lambda$4$Type`,1644),J(1645,1,_U,Bee),Q.If=function(e,t){J9e(F(e,36),t)},R(wU,`SemiInteractiveCrossMinProcessor`,1645),J(1646,1,VB,Vee),Q.Mb=function(e){return F(e,9).k==(uL(),VX)},R(wU,`SemiInteractiveCrossMinProcessor/lambda$0$Type`,1646),J(1647,1,VB,Hee),Q.Mb=function(e){return XCe(F(e,9))._b((Hz(),p0))},R(wU,`SemiInteractiveCrossMinProcessor/lambda$1$Type`,1647),J(1648,1,iH,sr),Q.Le=function(e,t){return rVe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(wU,`SemiInteractiveCrossMinProcessor/lambda$2$Type`,1648),J(1649,1,{},cr),Q.Te=function(e,t){return pOe(F(e,9),F(t,9))},R(wU,`SemiInteractiveCrossMinProcessor/lambda$3$Type`,1649),J(1651,1,_U,lr),Q.If=function(e,t){kst(F(e,36),t)},R(wU,`SortByInputModelProcessor`,1651),J(1652,1,VB,ur),Q.Mb=function(e){return F(e,12).g.c.length!=0},R(wU,`SortByInputModelProcessor/lambda$0$Type`,1652),J(1653,1,wB,Tu),Q.Ad=function(e){g4e(this.a,F(e,12))},R(wU,`SortByInputModelProcessor/lambda$1$Type`,1653),J(1732,805,{},iVe),Q.bf=function(e){var t,n,r,i;switch(this.c=e,this.a.g){case 2:t=new Sd,vh(MC(new Px(null,new cT(this.c.a.b,16)),new br),new afe(this,t)),DI(this,new fr),SO(t,new pr),t.c.length=0,vh(MC(new Px(null,new cT(this.c.a.b,16)),new mr),new Hae(t)),DI(this,new hr),SO(t,new Uee),t.c.length=0,n=ihe(Jk(PC(new Px(null,new cT(this.c.a.b,16)),new Uae(this))),new gr),vh(new Px(null,new cT(this.c.a.a,16)),new nfe(n,t)),DI(this,new Gee),SO(t,new _r),t.c.length=0;break;case 3:r=new Sd,DI(this,new dr),i=ihe(Jk(PC(new Px(null,new cT(this.c.a.b,16)),new Eu(this))),new Wee),vh(MC(new Px(null,new cT(this.c.a.b,16)),new vr),new ife(i,r)),DI(this,new yr),SO(r,new Kee),r.c.length=0;break;default:throw O(new Xd)}},Q.b=0,R(OU,`EdgeAwareScanlineConstraintCalculation`,1732),J(1733,1,cH,dr),Q.Lb=function(e){return N(F(e,60).g,156)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,156)},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$0$Type`,1733),J(1734,1,{},Eu),Q.We=function(e){return y3e(this.a,F(e,60))},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$1$Type`,1734),J(1742,1,HB,tfe),Q.be=function(){pF(this.a,this.b,-1)},Q.b=0,R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$10$Type`,1742),J(1744,1,cH,fr),Q.Lb=function(e){return N(F(e,60).g,156)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,156)},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$11$Type`,1744),J(1745,1,wB,pr),Q.Ad=function(e){F(e,375).be()},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$12$Type`,1745),J(1746,1,VB,mr),Q.Mb=function(e){return N(F(e,60).g,9)},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$13$Type`,1746),J(1748,1,wB,Hae),Q.Ad=function(e){$Ke(this.a,F(e,60))},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$14$Type`,1748),J(1747,1,HB,cfe),Q.be=function(){pF(this.b,this.a,-1)},Q.a=0,R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$15$Type`,1747),J(1749,1,cH,hr),Q.Lb=function(e){return N(F(e,60).g,9)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,9)},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$16$Type`,1749),J(1750,1,wB,Uee),Q.Ad=function(e){F(e,375).be()},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$17$Type`,1750),J(1751,1,{},Uae),Q.We=function(e){return b3e(this.a,F(e,60))},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$18$Type`,1751),J(1752,1,{},gr),Q.Ue=function(){return 0},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$19$Type`,1752),J(1735,1,{},Wee),Q.Ue=function(){return 0},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$2$Type`,1735),J(1754,1,wB,nfe),Q.Ad=function(e){Dwe(this.a,this.b,F(e,321))},Q.a=0,R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$20$Type`,1754),J(1753,1,HB,rfe),Q.be=function(){l5e(this.a,this.b,-1)},Q.b=0,R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$21$Type`,1753),J(1755,1,cH,Gee),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(OU,`EdgeAwareScanlineConstraintCalculation/lambda$22$Type`,1755),J(1756,1,wB,_r),Q.Ad=function(e){F(e,375).be()},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$23$Type`,1756),J(1736,1,VB,vr),Q.Mb=function(e){return N(F(e,60).g,9)},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$3$Type`,1736),J(1738,1,wB,ife),Q.Ad=function(e){Owe(this.a,this.b,F(e,60))},Q.a=0,R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$4$Type`,1738),J(1737,1,HB,lfe),Q.be=function(){pF(this.b,this.a,-1)},Q.a=0,R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$5$Type`,1737),J(1739,1,cH,yr),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(OU,`EdgeAwareScanlineConstraintCalculation/lambda$6$Type`,1739),J(1740,1,wB,Kee),Q.Ad=function(e){F(e,375).be()},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$7$Type`,1740),J(1741,1,VB,br),Q.Mb=function(e){return N(F(e,60).g,156)},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$8$Type`,1741),J(1743,1,wB,afe),Q.Ad=function(e){fze(this.a,this.b,F(e,60))},R(OU,`EdgeAwareScanlineConstraintCalculation/lambda$9$Type`,1743),J(1548,1,_U,Xge),Q.If=function(e,t){Iot(this,F(e,36),t)};var tTt;R(OU,`HorizontalGraphCompactor`,1548),J(1549,1,{},Wae),Q.df=function(e,t){var n,r,i;return iRe(e,t)||(n=fT(e),r=fT(t),n&&n.k==(uL(),LX)||r&&r.k==(uL(),LX))?0:(i=F(q(this.a.a,(X(),F$)),317),Gge(i,n?n.k:(uL(),zX),r?r.k:(uL(),zX)))},Q.ef=function(e,t){var n,r,i;return iRe(e,t)?1:(n=fT(e),r=fT(t),i=F(q(this.a.a,(X(),F$)),317),Kge(i,n?n.k:(uL(),zX),r?r.k:(uL(),zX)))},R(OU,`HorizontalGraphCompactor/1`,1549),J(1550,1,{},xr),Q.cf=function(e,t){return Ah(),e.a.i==0},R(OU,`HorizontalGraphCompactor/lambda$0$Type`,1550),J(1551,1,{},Du),Q.cf=function(e,t){return gOe(this.a,e,t)},R(OU,`HorizontalGraphCompactor/lambda$1$Type`,1551),J(1699,1,{},aRe);var nTt,rTt;R(OU,`LGraphToCGraphTransformer`,1699),J(1707,1,VB,Sr),Q.Mb=function(e){return e!=null},R(OU,`LGraphToCGraphTransformer/0methodref$nonNull$Type`,1707),J(1700,1,{},Cr),Q.Kb=function(e){return Xb(),qM(q(F(F(e,60).g,9),(X(),w$)))},R(OU,`LGraphToCGraphTransformer/lambda$0$Type`,1700),J(1701,1,{},wr),Q.Kb=function(e){return Xb(),VGe(F(F(e,60).g,156))},R(OU,`LGraphToCGraphTransformer/lambda$1$Type`,1701),J(1710,1,VB,Tr),Q.Mb=function(e){return Xb(),N(F(e,60).g,9)},R(OU,`LGraphToCGraphTransformer/lambda$10$Type`,1710),J(1711,1,wB,Er),Q.Ad=function(e){ZDe(F(e,60))},R(OU,`LGraphToCGraphTransformer/lambda$11$Type`,1711),J(1712,1,VB,Dr),Q.Mb=function(e){return Xb(),N(F(e,60).g,156)},R(OU,`LGraphToCGraphTransformer/lambda$12$Type`,1712),J(1716,1,wB,Or),Q.Ad=function(e){HGe(F(e,60))},R(OU,`LGraphToCGraphTransformer/lambda$13$Type`,1716),J(1713,1,wB,Gae),Q.Ad=function(e){gme(this.a,F(e,8))},Q.a=0,R(OU,`LGraphToCGraphTransformer/lambda$14$Type`,1713),J(1714,1,wB,Kae),Q.Ad=function(e){vme(this.a,F(e,119))},Q.a=0,R(OU,`LGraphToCGraphTransformer/lambda$15$Type`,1714),J(1715,1,wB,Ou),Q.Ad=function(e){_me(this.a,F(e,8))},Q.a=0,R(OU,`LGraphToCGraphTransformer/lambda$16$Type`,1715),J(1717,1,{},kr),Q.Kb=function(e){return Xb(),new Px(null,new US(new iS(my(RM(F(e,9)).a.Jc(),new f))))},R(OU,`LGraphToCGraphTransformer/lambda$17$Type`,1717),J(1718,1,VB,Ar),Q.Mb=function(e){return Xb(),CE(F(e,17))},R(OU,`LGraphToCGraphTransformer/lambda$18$Type`,1718),J(1719,1,wB,qae),Q.Ad=function(e){wRe(this.a,F(e,17))},R(OU,`LGraphToCGraphTransformer/lambda$19$Type`,1719),J(1703,1,wB,ku),Q.Ad=function(e){Wje(this.a,F(e,156))},R(OU,`LGraphToCGraphTransformer/lambda$2$Type`,1703),J(1720,1,{},qee),Q.Kb=function(e){return Xb(),new Px(null,new cT(F(e,25).a,16))},R(OU,`LGraphToCGraphTransformer/lambda$20$Type`,1720),J(1721,1,{},Jee),Q.Kb=function(e){return Xb(),new Px(null,new US(new iS(my(RM(F(e,9)).a.Jc(),new f))))},R(OU,`LGraphToCGraphTransformer/lambda$21$Type`,1721),J(1722,1,{},Yee),Q.Kb=function(e){return Xb(),F(q(F(e,17),(X(),R$)),16)},R(OU,`LGraphToCGraphTransformer/lambda$22$Type`,1722),J(1723,1,VB,jr),Q.Mb=function(e){return qge(F(e,16))},R(OU,`LGraphToCGraphTransformer/lambda$23$Type`,1723),J(1724,1,wB,Au),Q.Ad=function(e){x3e(this.a,F(e,16))},R(OU,`LGraphToCGraphTransformer/lambda$24$Type`,1724),J(1725,1,{},Mr),Q.Kb=function(e){return Xb(),new Px(null,new US(new iS(my(RM(F(e,9)).a.Jc(),new f))))},R(OU,`LGraphToCGraphTransformer/lambda$25$Type`,1725),J(1726,1,VB,Xee),Q.Mb=function(e){return Xb(),CE(F(e,17))},R(OU,`LGraphToCGraphTransformer/lambda$26$Type`,1726),J(1728,1,wB,ju),Q.Ad=function(e){CBe(this.a,F(e,17))},R(OU,`LGraphToCGraphTransformer/lambda$27$Type`,1728),J(1727,1,wB,Mu),Q.Ad=function(e){$ce(this.a,F(e,70))},Q.a=0,R(OU,`LGraphToCGraphTransformer/lambda$28$Type`,1727),J(1702,1,wB,ofe),Q.Ad=function(e){qNe(this.a,this.b,F(e,156))},R(OU,`LGraphToCGraphTransformer/lambda$3$Type`,1702),J(1704,1,{},Zee),Q.Kb=function(e){return Xb(),new Px(null,new cT(F(e,25).a,16))},R(OU,`LGraphToCGraphTransformer/lambda$4$Type`,1704),J(1705,1,{},Qee),Q.Kb=function(e){return Xb(),new Px(null,new US(new iS(my(RM(F(e,9)).a.Jc(),new f))))},R(OU,`LGraphToCGraphTransformer/lambda$5$Type`,1705),J(1706,1,{},$ee),Q.Kb=function(e){return Xb(),F(q(F(e,17),(X(),R$)),16)},R(OU,`LGraphToCGraphTransformer/lambda$6$Type`,1706),J(1708,1,wB,Jae),Q.Ad=function(e){F3e(this.a,F(e,16))},R(OU,`LGraphToCGraphTransformer/lambda$8$Type`,1708),J(1709,1,wB,sfe),Q.Ad=function(e){che(this.a,this.b,F(e,156))},R(OU,`LGraphToCGraphTransformer/lambda$9$Type`,1709),J(1698,1,{},Nr),Q.af=function(e){var t,n,r,i,a;for(this.a=e,this.d=new ff,this.c=H(Bxt,sB,124,this.a.a.a.c.length,0,1),this.b=0,n=new D(this.a.a.a);n.a>>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 MZe(e){var t,n,i;e.b==e.c&&(i=e.a.length,n=TUe(r.Math.max(8,i))<<1,e.b==0?rf(e.a,n):(t=yb(e.a,n),cVe(e,t,i),e.a=t,e.b=0),e.c=i)}function NZe(e,t){var n=e.b;return n.nf((Hz(),L6))?n.$f()==(Dz(),x5)?-n.Kf().a-k(P(n.mf(L6))):t+k(P(n.mf(L6))):n.$f()==(Dz(),x5)?-n.Kf().a:t}function $P(e){var t;return e.b.c.length!=0&&F(kx(e.b,0),70).a?F(kx(e.b,0),70).a:(t=cw(e),t??``+(e.c?VD(e.c.a,e,0):-1))}function eF(e){var t;return e.f.c.length!=0&&F(kx(e.f,0),70).a?F(kx(e.f,0),70).a:(t=cw(e),t??``+(e.i?VD(e.i.j,e,0):-1))}function PZe(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 IZe(e){var t,n;if(!e.b)for(e.b=XT(F(e.f,125).jh().i),n=new uy(F(e.f,125).jh());n.e!=n.i.gc();)t=F(aP(n),157),ry(e.b,new zp(t));return e.b}function LZe(e,t){var n,r,i;if(t.dc())return db(),db(),T7;for(n=new Tve(e,t.gc()),i=new uy(e);i.e!=i.i.gc();)r=aP(i),t.Gc(r)&&hD(n,r);return n}function RZe(e,t,n,r){return t==0?r?(!e.o&&(e.o=new yD((Pz(),a7),u7,e,0)),e.o):(!e.o&&(e.o=new yD((Pz(),a7),u7,e,0)),oD(e.o)):gP(e,t,n,r)}function tF(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&vV,e.m=r&vV,e.h=i&yV,!0)}function rF(e,t,n,r,i,a,o){var s,c;return!(t.Re()&&(c=e.a.Le(n,r),c<0||!i&&c==0)||t.Se()&&(s=e.a.Le(n,a),s>0||!o&&s==0))}function HZe(e,t){if(pj(),e.j.g-t.j.g!=0)return 0;switch(e.j.g){case 2:return qM(t,pTt)-qM(e,pTt);case 4:return qM(e,fTt)-qM(t,fTt)}return 0}function UZe(e){switch(e.g){case 0:return rQ;case 1:return iQ;case 2:return aQ;case 3:return oQ;case 4:return sQ;case 5:return cQ;default:return null}}function iF(e,t,n){var r=(i=new Xf,Hj(i,t),zk(i,n),hD((!e.c&&(e.c=new I(H7,e,12,10)),e.c),i),i),i;return QO(r,0),$O(r,1),lM(r,!0),cM(r,!0),r}function aF(e,t){var n,r;if(t>=e.i)throw O(new iv(t,e.i));return++e.j,n=e.g[t],r=e.i-t-1,r>0&&OR(e.g,t+1,e.g,t,r),fC(e.g,--e.i,null),e.Oi(t,n),e.Li(),n}function WZe(e,t){var n,r;return e.Db>>16==17?e.Cb.Qh(e,21,F7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function GZe(e){var t,n,r,i;for(fw(),Bv(e.c,e.a),i=new D(e.c);i.an.a.c.length))throw O(new Hp(`index must be >= 0 and <= layer node count`));e.c&&BD(e.c.a,e),e.c=n,n&&Kx(n.a,t,e)}function sQe(e,t){this.c=new kd,this.a=e,this.b=t,this.d=F(q(e,(X(),S$)),317),this.e=M(q(e,(zz(),_At)))===M((ND(),lQ))?new Bf:new zf}function lF(e,t){var n=e.dd(t),r;try{return r=n.Pb(),n.Qb(),r}catch(e){throw e=UA(e),N(e,112)?O(new Fp(`Can't remove element `+t)):O(e)}}function cQe(e,t){var n,r=new Yh,i=new jUe(r.q.getFullYear()-sV,r.q.getMonth(),r.q.getDate());if(n=Fat(e,t,i),n==0||n0?t:0),++n;return new j(i,a)}function pQe(e,t,n){var r,i=e.o;switch(r=e.d,t.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}function mQe(e,t,n,r){var i,a,o,s;for(cT(t,F(r.Xb(0),25)),s=r.hd(1,r.gc()),a=F(n.Kb(t),20).Jc();a.Ob();)i=F(a.Pb(),17),o=i.c.i==t?i.d.i:i.c.i,mQe(e,o,n,s)}function hQe(e){var t=new kd;return Yy(e,(X(),E$))?F(q(e,E$),92):(xh(ZC(new Mx(null,new DT(e.j,16)),new dr),new Bae(t)),G(e,E$,t),t)}function dF(e,t){var n,r=null;return e.nf((Hz(),J6))&&(n=F(e.mf(J6),105),n.nf(t)&&(r=n.mf(t))),r==null&&e.Rf()&&(r=e.Rf().mf(t)),r??=iP(t),r}function gQe(e,t){var n,r;return e.Db>>16==6?e.Cb.Qh(e,6,Z5,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Pz(),i7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function _Qe(e,t){var n,r;return e.Db>>16==7?e.Cb.Qh(e,1,J5,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Pz(),Qzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function vQe(e,t){var n,r;return e.Db>>16==9?e.Cb.Qh(e,9,s7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Pz(),eBt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function yQe(e,t){var n,r;return e.Db>>16==5?e.Cb.Qh(e,9,L7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Kz(),Z7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function bQe(e,t){var n,r;return e.Db>>16==7?e.Cb.Qh(e,6,n7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Kz(),r9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function xQe(e,t){var n,r;return e.Db>>16==3?e.Cb.Qh(e,0,$5,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Kz(),q7)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function SQe(e,t){var n,r;return e.Db>>16==3?e.Cb.Qh(e,12,s7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Pz(),Xzt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function CQe(e,t,n){var r,i,a;for(n<0&&(n=0),a=e.i,i=n;igft)return fF(e,r);if(r==e)return!0}}return!1}function TQe(e){switch(Uy(),e.q.g){case 5:e6e(e,(Dz(),n5)),e6e(e,y5);break;case 4:$5e(e,(Dz(),n5)),$5e(e,y5);break;default:Rlt(e,(Dz(),n5)),Rlt(e,y5)}}function EQe(e){switch(Uy(),e.q.g){case 5:K6e(e,(Dz(),t5)),K6e(e,x5);break;case 4:zYe(e,(Dz(),t5)),zYe(e,x5);break;default:zlt(e,(Dz(),t5)),zlt(e,x5)}}function DQe(e){var t=F(q(e,(CR(),sCt)),15),n;t?(n=t.a,n==0?G(e,(Mk(),ZY),new KM):G(e,(Mk(),ZY),new wE(n))):G(e,(Mk(),ZY),new wE(1))}function OQe(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 kQe(e,t){switch(e.g){case 0:return t==(nN(),P$)?cZ:lZ;case 1:return t==(nN(),P$)?cZ:sZ;case 2:return t==(nN(),P$)?sZ:lZ;default:return sZ}}function pF(e,t){var n,i,a;for(BD(e.a,t),e.e-=t.r+(e.a.c.length==0?0:e.c),a=eG,i=new D(e.a);i.a>16==11?e.Cb.Qh(e,10,s7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Pz(),$zt)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function LQe(e,t){var n,r;return e.Db>>16==10?e.Cb.Qh(e,11,F7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Kz(),n9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function RQe(e,t){var n,r;return e.Db>>16==10?e.Cb.Qh(e,12,B7,t):(r=kP(F(yO((n=F(yA(e,16),29),n||(Kz(),i9)),e.Db>>16),19)),e.Cb.Qh(e,r.n,r.f,t))}function zQe(e,t){var n,r,i,a,o;if(t)for(i=t.a.length,n=new rS(i),o=(n.b-n.a)*n.c<0?(Jh(),G9):new ly(n);o.Ob();)a=F(o.Pb(),15),r=rE(t,a.a),r&&L5e(e,r)}function BQe(){pde();var e,t;for(_dt((eC(),K7)),edt(K7),tF(K7),qBt=(Kz(),e9),t=new D(aVt);t.a>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 HQe(e,t,n){for(var i,a=e[n.g],o,s,c=new D(t.d);c.a0?e.b:0),++n;t.b=i,t.e=a}function WQe(e){var t,n,r=e.b;if(Oue(e.i,r.length)){for(n=r.length*2,e.b=H(CJ,NB,309,n,0,1),e.c=H(CJ,NB,309,n,0,1),e.f=n-1,e.i=0,t=e.a;t;t=t.c)FI(e,t,t);++e.g}}function _F(e,t){return e.b.a=r.Math.min(e.b.a,t.c),e.b.b=r.Math.min(e.b.b,t.d),e.a.a=r.Math.max(e.a.a,t.c),e.a.b=r.Math.max(e.a.b,t.d),zd(e.c,t),!0}function GQe(e,t,n){var r=t.c.i;r.k==(pL(),EX)?(G(e,(X(),a$),F(q(r,a$),12)),G(e,o$,F(q(r,o$),12))):(G(e,(X(),a$),t.c),G(e,o$,n.d))}function vF(e,t,n){GL();var i,a,o,s=t/2,c,l;return o=n/2,i=r.Math.abs(e.a),a=r.Math.abs(e.b),c=1,l=1,i>s&&(c=s/i),a>o&&(l=o/a),ny(e,r.Math.min(c,l)),e}function KQe(){UR();var e,t;try{if(t=F(L$e((Hh(),V7),jK),2078),t)return t}catch(t){if(t=UA(t),N(t,101))e=t,cEe((Iv(),e));else throw O(t)}return new oo}function qQe(){UR();var e,t;try{if(t=F(L$e((Hh(),V7),Iq),2005),t)return t}catch(t){if(t=UA(t),N(t,101))e=t,cEe((Iv(),e));else throw O(t)}return new Fo}function JQe(){dLe();var e,t;try{if(t=F(L$e((Hh(),V7),Yq),2087),t)return t}catch(t){if(t=UA(t),N(t,101))e=t,cEe((Iv(),e));else throw O(t)}return new _s}function YQe(e,t,n){var r,i=e.e;return e.e=t,e.Db&4&&!(e.Db&1)&&(r=new CS(e,1,4,i,t),n?n.lj(r):n=r),i!=t&&(n=t?yz(e,vL(e,t),n):yz(e,e.a,n)),n}function XQe(){Yh.call(this),this.e=-1,this.a=!1,this.p=VB,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=VB}function ZQe(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=mM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function QQe(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=mM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function $Qe(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=mM(r,i),n==0){if(!e.a&&t.a)return-1;if(!t.a&&e.a)return 1}return n}function yF(){yF=C,FCt=tS(Sx(Sx(Sx(new AC,($F(),aX),(Uz(),Vwt)),aX,Hwt),oX,Uwt),oX,Awt),LCt=Sx(Sx(new AC,aX,Cwt),aX,jwt),ICt=tS(new AC,oX,Nwt)}function e$e(e){var t=F(q(e,(X(),HQ)),92),n,r,i,a=e.n;for(r=t.Bc().Jc();r.Ob();)n=F(r.Pb(),319),i=n.i,i.c+=a.a,i.d+=a.b,n.c?att(n):ott(n);G(e,HQ,null)}function t$e(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 n$e(e,t){for(var n,r=new D(t);r.a0&&(o=(a&$z)%e.d.length,i=O6e(e,o,a,t),i)?(s=i.ld(n),s):(r=e.ak(a,t,n),e.c.Ec(r),null)}function g$e(e,t){var n,r,i,a;switch(nM(e,t).Il()){case 3:case 2:for(n=KR(t),i=0,a=n.i;i=0;i--)if(kb(e[i].d,t)||kb(e[i].d,n)){e.length>=i+1&&e.splice(0,i+1);break}return e}function SF(e,t){var n;return dv(e)&&dv(t)&&(n=e/t,wV0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=r.Math.min(i,a))}function A$e(e,t){var n,r=!1;if(z_(t)&&(r=!0,_C(e,new vC(rb(t)))),r||N(t,242)&&(r=!0,_C(e,(n=Pb(F(t,242)),new Kc(n)))),!r)throw O(new Lp(tvt))}function j$e(e,t,n,r){var i=new ZD(e.e,1,10,(o=t.c,N(o,88)?F(o,29):(Kz(),t9)),(a=n.c,N(a,88)?F(a,29):(Kz(),t9)),SP(e,t),!1),a,o;return r?r.lj(i):r=i,r}function M$e(e){var t,n;switch(F(q(jC(e),(zz(),cAt)),420).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 TF(){TF=C,dQ=new kg(oU,0),eEt=new kg(`LEFTUP`,1),nEt=new kg(`RIGHTUP`,2),$Tt=new kg(`LEFTDOWN`,3),tEt=new kg(`RIGHTDOWN`,4),uQ=new kg(`BALANCED`,5)}function N$e(e,t,n){var r=mM(e.a[t.p],e.a[n.p]),i,a;if(r==0){if(i=F(q(t,(X(),t$)),16),a=F(q(n,t$),16),i.Gc(n))return-1;if(a.Gc(t))return 1}return r}function P$e(e){switch(e.g){case 1:return new Sne;case 2:return new sa;case 3:return new oa;case 0:return null;default:throw O(new Hp(wG+(e.f==null?``+e.g:e.f)))}}function F$e(e,t,n){switch(t){case 1:!e.n&&(e.n=new I(o7,e,1,7)),uz(e.n),!e.n&&(e.n=new I(o7,e,1,7)),nC(e.n,F(n,18));return;case 2:bk(e,rb(n));return}ZUe(e,t,n)}function I$e(e,t,n){switch(t){case 3:VO(e,k(P(n)));return;case 4:KO(e,k(P(n)));return;case 5:qO(e,k(P(n)));return;case 6:JO(e,k(P(n)));return}F$e(e,t,n)}function EF(e,t,n){var r,i,a=(r=new Xf,r);i=KF(a,t,null),i&&i.mj(),zk(a,n),hD((!e.c&&(e.c=new I(H7,e,12,10)),e.c),a),QO(a,0),$O(a,1),lM(a,!0),cM(a,!0)}function L$e(e,t){var n=tg(e.i,t),r,i;return N(n,241)?(i=F(n,241),i.wi(),i.ti()):N(n,493)?(r=F(n,2002),i=r.b,i):null}function R$e(e,t,n,r){var i,a;return aC(t),aC(n),a=F(Mb(e.d,t),15),$Le(!!a,`Row %s not in %s`,t,e.e),i=F(Mb(e.b,n),15),$Le(!!i,`Column %s not in %s`,n,e.c),ZHe(e,a.a,i.a,r)}function z$e(e){for(var t,n=null,r,i=e,a=0,o=i.length;a1||s==-1?(a=F(c,16),i.Wb(Nqe(e,a))):i.Wb(gR(e,F(c,57)))))}function J$e(e,t,n,r){zue();var i=gbt;_bt=r;function a(){for(var e=0;e0)return!1;return!0}function Z$e(e){switch(F(q(e.b,(zz(),tAt)),381).g){case 1:xh(QC(cO(new Mx(null,new DT(e.d,16)),new zr),new lte),new ute);break;case 2:qtt(e);break;case 0:y3e(e)}}function Q$e(e,t,n){var r=n,i,a;for(!r&&(r=new ip),r.Tg(`Layout`,e.a.c.length),a=new D(e.a);a.asG)return n;i>-1e-6&&++n}return n}function NF(e,t,n){if(N(t,271))return S7e(e,F(t,85),n);if(N(t,276))return AQe(e,F(t,276),n);throw O(new Hp(GK+rI(new Yp(W(A(hJ,1),iB,1,5,[t,n])))))}function PF(e,t,n){if(N(t,271))return C7e(e,F(t,85),n);if(N(t,276))return jQe(e,F(t,276),n);throw O(new Hp(GK+rI(new Yp(W(A(hJ,1),iB,1,5,[t,n])))))}function a1e(e,t){var n;t==e.b?e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,3,t,t)):(n=null,e.b&&(n=Lw(e.b,e,-4,n)),t&&(n=fP(t,e,-4,n)),n=gGe(e,t,n),n&&n.mj())}function o1e(e,t){var n;t==e.f?e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,0,t,t)):(n=null,e.f&&(n=Lw(e.f,e,-1,n)),t&&(n=fP(t,e,-1,n)),n=_Ge(e,t,n),n&&n.mj())}function s1e(e,t,n,r){var i,a,o,s;return _v(e.e)&&(i=t.Jk(),s=t.kd(),a=n.kd(),o=Aw(e,1,i,s,a,i.Hk()?zR(e,i,a,N(i,103)&&(F(i,19).Bb&jV)!=0):-1,!0),r?r.lj(o):r=o),r}function c1e(e){var t,n,r;if(e==null)return null;if(n=F(e,16),n.dc())return``;for(r=new lm,t=n.Jc();t.Ob();)Y_(r,(hz(),rb(t.Pb()))),r.a+=` `;return rme(r,r.a.length-1)}function l1e(e){var t,n,r;if(e==null)return null;if(n=F(e,16),n.dc())return``;for(r=new lm,t=n.Jc();t.Ob();)Y_(r,(hz(),rb(t.Pb()))),r.a+=` `;return rme(r,r.a.length-1)}function u1e(e,t){for(var n,r,i,a=new D(t.a),o;a.a0&&IC(e,e.length-1)==33)try{return t=T5e(jw(e,0,e.length-1)),t.e==null}catch(e){if(e=UA(e),!N(e,32))throw O(e)}return!1}function g1e(e,t,n){var r=kM(jC(t)),i=new uI;switch(uT(i,t),n.g){case 1:PI(i,bM(sN(r)));break;case 2:PI(i,sN(r))}return G(i,(zz(),Y1),P(q(e,Y1))),i}function _1e(e){var t=F(zE(new uS(py(zM(e.a).a.Jc(),new f))),17),n=F(zE(new uS(py(VM(e.a).a.Jc(),new f))),17);return Gp(nb(q(t,(X(),y$))))||Gp(nb(q(n,y$)))}function FF(){FF=C,gZ=new Sg(`ONE_SIDE`,0),vZ=new Sg(`TWO_SIDES_CORNER`,1),yZ=new Sg(`TWO_SIDES_OPPOSING`,2),_Z=new Sg(`THREE_SIDES`,3),hZ=new Sg(`FOUR_SIDES`,4)}function v1e(e,t){var n,r,i,a=new Od;for(i=0,r=t.Jc();r.Ob();){for(n=K(F(r.Pb(),15).a+i);n.a=e.f)break;zd(a.c,n)}return a}function y1e(e){for(var t,n=new D(e.e.b);n.a0&&XZe(this,this.c-1,(Dz(),t5)),this.c0&&e[0].length>0&&(this.c=Gp(nb(q(jC(e[0][0]),(X(),EEt))))),this.a=H(Zjt,vB,2082,e.length,0,2),this.b=H(Qjt,vB,2083,e.length,0,2),this.d=new PWe}function j1e(e){return e.c.length==0?!1:(OT(0,e.c.length),F(e.c[0],17)).c.i.k==(pL(),EX)||FE(QC(new Mx(null,new DT(e,16)),new pi),new mi)}function M1e(e,t){var n,i,a,o,s,c=HL(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=SF(e,CV),r=CN(e,CV)):(t=pS(e,1),n=SF(t,5e8),r=CN(t,5e8),r=IM(dS(r,1),FT(e,1))),IT(dS(r,32),FT(n,PV))}function J1e(e,t,n,r){for(var i=null,a=0,o,s=new D(t),c;s.a1;t>>=1)t&1&&(r=fE(r,n)),n=n.d==1?fE(n,n):new eYe(Grt(n.a,n.d,H(q9,cV,30,n.d<<1,15,1)));return r=fE(r,n),r}function $1e(){$1e=C;var e,t,n,r;for(Oxt=H(Z9,NV,30,25,15,1),kxt=H(Z9,NV,30,33,15,1),r=152587890625e-16,t=32;t>=0;t--)kxt[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)Oxt[e]=n,n*=.5}function e0e(e){var t,n;if(Gp(nb(Y(e,(zz(),C1))))){for(n=new uS(py(gL(e).a.Jc(),new f));rL(n);)if(t=F(zE(n),85),UI(t)&&Gp(nb(Y(t,w1))))return!0}return!1}function t0e(e){for(var t=new ph,n=new ph,r,i=nP(e,0);i.b!=i.d.c;)r=F(sE(i),12),r.e.c.length==0?DE(n,r,n.c.b,n.c):DE(t,r,t.c.b,t.c);return cN(t).Fc(n),t}function n0e(e,t){var n,r,i;LS(e.f,t)&&(t.b=e,r=t.c,VD(e.j,r,0)!=-1||ry(e.j,r),i=t.d,VD(e.j,i,0)!=-1||ry(e.j,i),n=t.a.b,n.c.length!=0&&(!e.i&&(e.i=new mYe(e)),uHe(e.i,n)))}function r0e(e){var t,n=e.c.d,r=n.j,i=e.d.d,a=i.j;return r==a?n.p=0&&kb(e.substr(t,3),`GMT`)||t>=0&&kb(e.substr(t,3),`UTC`))&&(n[0]=t+3),Mrt(e,n,r)}function a0e(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&&OR(e.g,t,e.g,t+r,s),o=n.Jc(),e.i+=r,i=0;i>4&15,a=e[r]&15,o[i++]=iBt[n],o[i++]=iBt[a];return MN(o,0,o.length)}function JF(e){var t,n;return e>=jV?(t=MV+(e-jV>>10&1023)&JB,n=56320+(e-jV&1023)&JB,String.fromCharCode(t)+(``+String.fromCharCode(n))):String.fromCharCode(e&JB)}function b0e(e,t){pb();var n,r,i=F(F(VE(e.r,t),22),83),a;return i.gc()>=2&&(r=F(i.Jc().Pb(),115),n=e.u.Gc((II(),Y8)),a=e.u.Gc($8),!r.a&&!n&&(i.gc()==2||a))}function x0e(e,t,n,r,i){for(var a=Pet(e,t,n,r,i),o,s=!1;!a;)oL(e,i,!0),s=!0,a=Pet(e,t,n,r,i);s&&oL(e,i,!1),o=GA(i),o.c.length!=0&&(e.d&&e.d.Fg(o),x0e(e,i,n,r,o))}function YF(){YF=C,U4=new r_(`NODE_SIZE_REORDERER`,0),B4=new r_(`INTERACTIVE_NODE_REORDERER`,1),H4=new r_(`MIN_SIZE_PRE_PROCESSOR`,2),V4=new r_(`MIN_SIZE_POST_PROCESSOR`,3)}function XF(){XF=C,y8=new v_(oU,0),KRt=new v_(`DIRECTED`,1),JRt=new v_(`UNDIRECTED`,2),WRt=new v_(`ASSOCIATION`,3),qRt=new v_(`GENERALIZATION`,4),GRt=new v_(`DEPENDENCY`,5)}function S0e(e,t){var n;if(!eT(e))throw O(new Up(O_t));switch(n=eT(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 C0e(e,t,n){var r=t.Jk(),i,a=t.kd();return i=r.Hk()?Aw(e,4,r,a,null,zR(e,r,a,N(r,103)&&(F(r,19).Bb&jV)!=0),!0):Aw(e,r.rk()?2:1,r,a,r.gk(),-1,!0),n?n.lj(i):n=i,n}function ZF(e,t){var n,r;for(MC(t),r=e.b.c.length,ry(e.b,t);r>0;){if(n=r,r=(r-1)/2|0,e.a.Le(kx(e.b,r),t)<=0)return AE(e.b,n,t),!0;AE(e.b,n,kx(e.b,r))}return AE(e.b,r,t),!0}function w0e(e,t,n,i){var a=0,o;if(n)a=Bj(e.a[n.g][t.g],i);else for(o=0;o=s)}function E0e(e){switch(e.g){case 0:return new One;case 1:return new kne;default:throw O(new Hp(`No implementation is available for the width approximator `+(e.f==null?``+e.g:e.f)))}}function D0e(e,t,n,r){var i=!1;if(z_(r)&&(i=!0,bx(t,n,rb(r))),i||L_(r)&&(i=!0,D0e(e,t,n,r)),i||N(r,242)&&(i=!0,_w(t,n,F(r,242))),!i)throw O(new Lp(tvt))}function O0e(e,t){var n=t.ni(e.a),r,i;if(n&&(i=vN((!n.b&&(n.b=new Qy((Kz(),o9),d9,n)),n.b),kq),i!=null)){for(r=1;r<(xI(),cVt).length;++r)if(kb(cVt[r],i))return r}return 0}function k0e(e,t){var n=t.ni(e.a),r,i;if(n&&(i=vN((!n.b&&(n.b=new Qy((Kz(),o9),d9,n)),n.b),kq),i!=null)){for(r=1;r<(xI(),lVt).length;++r)if(kb(lVt[r],i))return r}return 0}function A0e(e,t){var n,r,i,a;if(MC(t),a=e.a.gc(),a0);a.a[i]!=n;)a=a.a[i],i=+(e.a.Le(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 F0e(e){var t=new Od,n=H(J9,rH,30,e.a.c.length,16,1),r,i;for(bTe(n,n.length),i=new D(e.a);i.a0&&_rt((OT(0,n.c.length),F(n.c[0],25)),e),n.c.length>1&&_rt(F(kx(n,n.c.length-1),25),e),t.Ug()}function R0e(e){II();var t=Gx(X8,W(A(e5,1),Z,280,0,[Q8])),n;return!(SA(qw(t,e))>1||(n=Gx(Y8,W(A(e5,1),Z,280,0,[J8,$8])),SA(qw(n,e))>1))}function z0e(e,t){N(Ww((Hh(),V7),e),493)?dT(V7,e,new wpe(this,t)):dT(V7,e,this),oI(this,t),t==(Lm(),NBt)?(this.wb=F(this,2003),F(t,2005)):this.wb=(eC(),K7)}function B0e(e){var t,n,r;if(e==null)return null;for(t=null,n=0;na}function W0e(e,t){var n,r,i;if(X0e(e,t))return!0;for(r=new D(t);r.a=i||t<0)throw O(new Fp(ZK+t+QK+i));if(n>=i||n<0)throw O(new Fp($K+n+QK+i));return r=t==n?e.vj(n):(a=e.Aj(n),e.oj(t,a),a),r}function Y0e(e){var t,n,r=e;if(e)for(t=0,n=e.Bh();n;n=n.Bh()){if(++t>gft)return Y0e(n);if(r=n,n==e)throw O(new Up(`There is a cycle in the containment hierarchy of `+e))}return r}function rI(e){var t,n,r=new EA(rB,`[`,`]`);for(n=e.Jc();n.Ob();)t=n.Pb(),qE(r,M(t)===M(e)?`(this Collection)`:t==null?aB:XM(t));return r.a?r.e.length==0?r.a.a:r.a.a+(``+r.e):r.c}function X0e(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 iI(){iI=C,CTt=W(A(S5,1),cU,64,0,[(Dz(),n5),t5,y5]),STt=W(A(S5,1),cU,64,0,[t5,y5,x5]),wTt=W(A(S5,1),cU,64,0,[y5,x5,n5]),TTt=W(A(S5,1),cU,64,0,[x5,n5,t5])}function t2e(e){var t,n,r,i,a,o,s,c,l;for(this.a=lXe(e),this.b=new Od,n=e,r=0,i=n.length;rsb(e.d).c?(e.i+=e.g.c,AN(e.d)):sb(e.d).c>sb(e.g).c?(e.e+=e.d.c,AN(e.g)):(e.i+=dwe(e.g),e.e+=dwe(e.d),AN(e.g),AN(e.d))}function a2e(e,t,n){var r,i,a=t.q,o=t.r;for(new _T(($E(),k2),t,a,1),new _T(k2,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 d2e(e,t,n,r,i){var a,o=!1;for(a=F(kx(n.b,0),26);tat(e,t,a,r,i)&&(o=!0,$$e(n,a),n.b.c.length!=0);)a=F(kx(n.b,0),26);return n.b.c.length==0&&pF(n.j,n),o&&qP(t.q),o}function f2e(e,t,n,r){var i,a;return n==0?(!e.o&&(e.o=new yD((Pz(),a7),u7,e,0)),jb(e.o,t,r)):(a=F(yO((i=F(yA(e,16),29),i||e.fi()),n),69),a.uk().yk(e,RN(e),n-tC(e.fi()),t,r))}function oI(e,t){var n;t==e.sb?e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,4,t,t)):(n=null,e.sb&&(n=F(e.sb,52).Qh(e,1,e7,n)),t&&(n=F(t,52).Oh(e,1,e7,n)),n=VGe(e,t,n),n&&n.mj())}function p2e(e,t){var n,r,i,a;if(t)i=nk(t,`x`),n=new Woe(e),WO(n.a,(MC(i),i)),a=nk(t,`y`),r=new Goe(e),GO(r.a,(MC(a),a));else throw O(new em(`All edge sections need an end point.`))}function m2e(e,t){var n,r,i,a;if(t)i=nk(t,`x`),n=new od(e),YO(n.a,(MC(i),i)),a=nk(t,`y`),r=new Hoe(e),XO(r.a,(MC(a),a));else throw O(new em(`All edge sections need a start point.`))}function h2e(e,t){for(var n,r=nWe(e),i,a=0,o,s=r.length,c;a>22-t,i=e.h<>22-t):t<44?(n=0,r=e.l<>44-t):(n=0,r=0,i=e.l<=qB?`error`:r>=900?`warn`:r>=800?`info`:`log`),sEe(n,e.a),e.b&&y9e(t,n,e.b,`Exception: `,!0))}function S2e(e,t){var n,r,i=t==1?lX:cX,a,o;for(r=i.a.ec().Jc();r.Ob();)for(n=F(r.Pb(),86),o=F(VE(e.f.c,n),22).Jc();o.Ob();)a=F(o.Pb(),49),ry(e.b.b,F(a.b,82)),ry(e.b.a,F(a.b,82).d)}function C2e(e,t,n,r){var i,a,o,s,c=e.b;switch(a=t.d,o=a.j,s=gYe(o,c.d[o.g],n),i=wb(Jv(a.n),a.a),a.j.g){case 3:case 1:s.a+=i.a;break;case 2:s.b+=i.b;break;case 4:s.b+=i.b}DE(r,s,r.c.b,r.c)}function w2e(e,t){var n,r,i,a=t.b.j;for(e.a=H(q9,cV,30,a.c.length,15,1),i=0,r=0;re)throw O(new Hp(`k must be smaller than n`));return t==0||t==e?1:e==0?0:C$e(e)/(C$e(t)*C$e(e-t))}function E2e(e,t){for(var n=new Dv(e),r,i,a;n.g==null&&!n.c?Vke(n):n.g==null||n.i!=0&&F(n.g[n.i-1],50).Ob();)if(a=F(fL(n),57),N(a,174))for(r=F(a,174),i=0;i>4],t[n*2+1]=P9[a&15];return MN(t,0,t.length)}function B2e(e){var t,n;switch(e.c.length){case 0:return GC(),kbt;case 1:return t=F(R3e(new D(e)),45),sve(t.jd(),t.kd());default:return n=F(qN(e,H(bJ,DB,45,e.c.length,0,1)),175),new wde(n)}}function fI(e,t){switch(t.g){case 1:return ex(e.j,(Qk(),lwt));case 2:return ex(e.j,(Qk(),swt));case 3:return ex(e.j,(Qk(),dwt));case 4:return ex(e.j,(Qk(),fwt));default:return fw(),fw(),nY}}function V2e(e,t){var n=ZSe(t,e.e),r=F(pC(e.g.f,n),15).a,i=e.a.c.length-1;e.a.c.length!=0&&F(kx(e.a,i),295).c==r?(++F(kx(e.a,i),295).a,++F(kx(e.a,i),295).b):ry(e.a,new g_e(r))}function pI(){pI=C,zPt=(Hz(),U6),UPt=X6,NPt=E6,PPt=O6,FPt=k6,MPt=T6,IPt=j6,RPt=V6,k4=(Vnt(),gPt),A4=_Pt,BPt=CPt,N4=EPt,VPt=wPt,HPt=TPt,LPt=yPt,j4=xPt,M4=SPt,P4=DPt,WPt=kPt,jPt=hPt}function H2e(e,t){var n,r,i,a,o;if(e.e<=t||ije(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 Y2e(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 X2e(e,t,n){for(var r,i=new uS(py(BM(n).a.Jc(),new f)),a;rL(i);)r=F(zE(i),17),!(IE(r)||!IE(r)&&r.c.i.c==r.d.i.c)&&(a=m7e(e,r,n,new Mf),a.c.length>1&&zd(t.c,a))}function Z2e(e,t,n,r,i){if(rr&&(e.a=r),e.bi&&(e.b=i),e}function Q2e(e){if(N(e,144))return m9e(F(e,144));if(N(e,233))return mqe(F(e,233));if(N(e,21))return v2e(F(e,21));throw O(new Hp(GK+rI(new Yp(W(A(hJ,1),iB,1,5,[e])))))}function $2e(e,t,n,r,i){for(var a=!0,o=0,s;o>>i|n[o+r+1]<>>i,++o}return a}function e4e(e,t,n,r){var i,a,o;if(t.k==(pL(),EX)){for(a=new uS(py(zM(t).a.Jc(),new f));rL(a);)if(i=F(zE(a),17),o=i.c.i.k,o==EX&&e.c.a[i.c.i.c.p]==r&&e.c.a[t.c.p]==n)return!0}return!1}function t4e(e,t){var n,r,i,a;return t&=63,n=e.h&yV,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),Uv(r&vV,i&vV,a&yV)}function n4e(e,t,n,r){var i;this.b=r,this.e=e==(qj(),g2),i=t[n],this.d=Px(J9,[vB,rH],[171,30],16,[i.length,i.length],2),this.a=Px(q9,[vB,cV],[54,30],15,[i.length,i.length],2),this.c=new O1e(t,n)}function r4e(e){var t,n,r;for(e.k=new mje((Dz(),W(A(S5,1),cU,64,0,[b5,n5,t5,y5,x5])).length,e.j.c.length),r=new D(e.j);r.a=n)return gI(e,t,r.p),!0;return!1}function hI(e,t,n,r){var i,a,o=n.length,s,c,l;for(a=0,i=-1,l=kRe((kT(t,e.length+1),e.substr(t)),(Vb(),wxt)),s=0;sa&&vTe(l,kRe(n[s],wxt))&&(i=s,a=c);return i>=0&&(r[0]=t+a),i}function s4e(e,t,n){var r,i,a=e.d.p,o,s=a.e,c=a.r,l,u;e.g=new Ab(c),o=e.d.o.c.p,r=o>0?s[o-1]:H(SX,mU,9,0,0,1),i=s[o],l=on?r3e(e,n,`start index`):t<0||t>n?r3e(t,n,`end index`):QL(`end index (%s) must not be less than start index (%s)`,W(A(hJ,1),iB,1,5,[K(t),K(e)]))}function f4e(e,t){for(var n,r=0,i=e.length,a;r0&&h4e(e,a,n));t.p=0}function g4e(e){for(var t=xC(Q_(new _y(`Predicates.`),`and`),40),n=!0,r,i=new Pl(e);i.b=0?e.hi(i):V3e(e,r);else throw O(new Hp(vK+r.ve()+yK))}else sM(e,n,r)}function y4e(e){var t,n=null;if(t=!1,N(e,210)&&(t=!0,n=F(e,210).a),t||N(e,265)&&(t=!0,n=``+F(e,265).a),t||N(e,479)&&(t=!0,n=``+F(e,479).a),!t)throw O(new Lp(tvt));return n}function b4e(e,t,n){var r,i,a,o,s,c=LL(e.e.Ah(),t);for(r=0,s=e.i,i=F(e.g,122),o=0;o=e.d.b.c.length&&(t=new mC(e.d),t.p=r.p-1,ry(e.d.b,t),n=new mC(e.d),n.p=r.p,ry(e.d.b,n)),cT(r,F(kx(e.d.b,r.p),25))}function w4e(e){var t,n=new ph,r,i;for(Gk(n,e.o),r=new Pf;n.b!=0;)t=F(n.b==0?null:(Ky(n.b!=0),DO(n,n.a.a)),501),i=put(e,t,!0),i&&ry(r.a,t);for(;r.a.c.length!=0;)t=F(kWe(r),501),put(e,t,!1)}function vI(e){var t;this.c=new ph,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,this.j=e.i?e.i:(t=F(Rm(z3),10),new Rb(t,F(yb(t,t.length),10),0)),this.g=e.f}function yI(){yI=C,uLt=new d_(lH,0),B3=new d_(`BOOLEAN`,1),W3=new d_(`INT`,2),K3=new d_(`STRING`,3),V3=new d_(`DOUBLE`,4),H3=new d_(`ENUM`,5),U3=new d_(`ENUMSET`,6),G3=new d_(`OBJECT`,7)}function bI(e,t){var n,i=r.Math.min(e.c,t.c),a,o=r.Math.min(e.d,t.d),s;a=r.Math.max(e.c+e.b,t.c+t.b),s=r.Math.max(e.d+e.a,t.d+t.a),a=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++0;)CRe(this);this.b=t,this.a=null}function N4e(e,t){var n,r;t.a?V9e(e,t):(n=F(Ch(e.b,t.b),60),n&&n==e.a[t.b.f]&&n.a&&n.a!=t.b.a&&n.c.Ec(t.b),r=F(Sh(e.b,t.b),60),r&&e.a[r.f]==t.b&&r.a&&r.a!=t.b.a&&t.b.c.Ec(r),ey(e.b,t.b))}function P4e(e,t){var n=F(zC(e.b,t),127),r;F(F(VE(e.r,t),22),83).dc()?(n.n.b=0,n.n.c=0):(n.n.b=e.C.b,n.n.c=e.C.c,e.A.Gc((EN(),O5))&&Xtt(e,t),r=tXe(e,t),ttt(e,t)==(tP(),z8)&&(r+=2*e.w),n.a.a=r)}function F4e(e,t){var n=F(zC(e.b,t),127),r;F(F(VE(e.r,t),22),83).dc()?(n.n.d=0,n.n.a=0):(n.n.d=e.C.d,n.n.a=e.C.a,e.A.Gc((EN(),O5))&&Ztt(e,t),r=eXe(e,t),ttt(e,t)==(tP(),z8)&&(r+=2*e.w),n.a.b=r)}function I4e(e,t){var n,r,i,a=new Od;for(r=new D(t);r.ar&&(kT(t-1,e.length),e.charCodeAt(t-1)<=32);)--t;return r>0||tn.a&&(r.Gc((MF(),n6))?i=(t.a-n.a)/2:r.Gc(i6)&&(i=t.a-n.a)),t.b>n.b&&(r.Gc((MF(),o6))?a=(t.b-n.b)/2:r.Gc(a6)&&(a=t.b-n.b)),N0e(e,i,a)}function n3e(e,t,n,r,i,a,o,s,c,l,u,d,f){N(e.Cb,88)&&MI(LE(F(e.Cb,88)),4),zk(e,n),e.f=o,EM(e,s),DM(e,c),TM(e,l),wM(e,u),lM(e,d),HM(e,f),cM(e,!0),QO(e,i),e.Xk(a),Hj(e,t),r!=null&&(e.i=null,wk(e,r))}function r3e(e,t,n){if(e<0)return QL(Hdt,W(A(hJ,1),iB,1,5,[n,K(e)]));if(t<0)throw O(new Hp(Udt+t));return QL(`%s (%s) must not be greater than size (%s)`,W(A(hJ,1),iB,1,5,[n,K(e),K(t)]))}function i3e(e,t,n,r,i,a){var o=r-n,s,c,l;if(o<7)QKe(t,n,r,a);else if(c=n+i,s=r+i,l=c+(s-c>>1),i3e(t,e,c,l,-i,a),i3e(t,e,l,s,-i,a),a.Le(e[l-1],e[l])<=0)for(;n=0?e.$h(a,n):x7e(e,i,n);else throw O(new Hp(vK+i.ve()+yK))}else YM(e,r,i,n)}function l3e(e){var t,n;if(e.f){for(;e.n>0;){if(t=F(e.k.Xb(e.n-1),75),n=t.Jk(),N(n,103)&&(F(n,19).Bb&xK)!=0&&(!e.e||n.nk()!=K5||n.Jj()!=0)&&t.kd()!=null)return!0;--e.n}return!1}return e.n>0}function u3e(e){var t,n=F(e,52).Yh(),r,i;if(n)try{if(r=null,t=uL((Hh(),V7),Hrt(sqe(n))),t&&(i=t.Zh(),i&&(r=i.Dl(fce(n.e)))),r&&r!=e)return u3e(r)}catch(e){if(e=UA(e),!N(e,63))throw O(e)}return e}function d3e(e,t,n){var r,i,a;n.Tg(`Remove overlaps`,1),n.bh(t,$ht),r=F(Y(t,(fb(),y4)),26),e.f=r,e.a=EP(F(Y(t,(pI(),P4)),304)),i=P(Y(t,(Hz(),X6))),cl(e,(MC(i),i)),a=HL(r),Kct(e,t,a,n),n.bh(t,SG)}function f3e(e){var t,n,r;if(Gp(nb(Y(e,(Hz(),y6))))){for(r=new Od,n=new uS(py(gL(e).a.Jc(),new f));rL(n);)t=F(zE(n),85),UI(t)&&Gp(nb(Y(t,b6)))&&zd(r.c,t);return r}return fw(),fw(),nY}function p3e(e){if(!e)return wce(),zbt;var t=e.valueOf?e.valueOf():e;if(t!==e){var n=NJ[typeof t];return n?n(t):cGe(typeof t)}return e instanceof Array||e instanceof r.Array?new Wc(e):new qc(e)}function m3e(e,t,n){var i,a,o=e.o;switch(i=F(zC(e.p,n),253),a=i.i,a.b=zI(i),a.a=RI(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}jR(i),NR(i)}function h3e(e,t,n){var i,a,o=e.o;switch(i=F(zC(e.p,n),253),a=i.i,a.b=zI(i),a.a=RI(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}jR(i),NR(i)}function g3e(e,t){var n,i,a;return N(t.g,9)&&F(t.g,9).k==(pL(),wX)?DV:(a=lE(t),a?r.Math.max(0,e.b/2-.5):(n=jT(t),n?(i=k(P(DN(n,(zz(),g0)))),r.Math.max(0,i/2-.5)):DV))}function _3e(e,t){var n,i,a;return N(t.g,9)&&F(t.g,9).k==(pL(),wX)?DV:(a=lE(t),a?r.Math.max(0,e.b/2-.5):(n=jT(t),n?(i=k(P(DN(n,(zz(),g0)))),r.Math.max(0,i/2-.5)):DV))}function v3e(e,t){var n,r,i,a,o;if(!t.dc()){if(i=F(t.Xb(0),132),t.gc()==1)tet(e,i,i,1,0,t);else for(n=1;n0)try{i=_R(t,VB,$z)}catch(e){throw e=UA(e),N(e,131)?(r=e,O(new XD(r))):O(e)}return n=(!e.a&&(e.a=new Cd(e)),e.a),i=0?F(U(n,i),57):null}function S3e(e,t){if(e<0)return QL(Hdt,W(A(hJ,1),iB,1,5,[`index`,K(e)]));if(t<0)throw O(new Hp(Udt+t));return QL(`%s (%s) must be less than size (%s)`,W(A(hJ,1),iB,1,5,[`index`,K(e),K(t)]))}function C3e(e){var t,n,r,i,a;if(e==null)return aB;for(a=new EA(rB,`[`,`]`),n=e,r=0,i=n.length;r`,O(new Hp(r.a))}function z3e(e){var t,n=-e.a;return t=W(A(K9,1),KB,30,15,[43,48,48,48,48]),n<0&&(t[0]=45,n=-n),t[1]=t[1]+((n/60|0)/10|0)&JB,t[2]=t[2]+(n/60|0)%10&JB,t[3]=t[3]+(n%60/10|0)&JB,t[4]=t[4]+n%10&JB,MN(t,0,t.length)}function B3e(e){var t,n,r,i;for(e.g=new tN(F(aC(S5),298)),r=0,n=(Dz(),n5),t=0;t=0?e.Ih(n,!0,!0):qI(e,i,!0),163)),F(r,219).Xl(t);else throw O(new Hp(vK+t.ve()+yK))}function H3e(e){var t,n;return e>-0x800000000000&&e<0x800000000000?e==0?0:(t=e<0,t&&(e=-e),n=Gw(r.Math.floor(r.Math.log(e)/.6931471805599453)),(!t||e!=r.Math.pow(2,n))&&++n,n):YGe(gA(e))}function U3e(e){var t,n,r,i,a=new mv,o,s;for(n=new D(e);n.a2&&s.e.b+s.j.b<=2&&(i=s,r=o),a.a.yc(i,a),i.q=r);return a}function W3e(e,t,n){n.Tg(`Eades radial`,1),n.bh(t,SG),e.d=F(Y(t,(fb(),y4)),26),e.c=k(P(Y(t,(pI(),M4)))),e.e=EP(F(Y(t,P4),304)),e.a=Tqe(F(Y(t,WPt),426)),e.b=P$e(F(Y(t,LPt),354)),a$e(e),n.bh(t,SG)}function G3e(e,t){if(t.Tg(`Target Width Setter`,1),lD(e,(JL(),s3)))pP(e,(XL(),Q4),P(Y(e,s3)));else throw O(new Qp(`A target width has to be set if the TargetWidthWidthApproximator should be used.`));t.Ug()}function K3e(e,t){var n,r=new MP(e),i;return wA(r,t),G(r,(X(),KQ),t),G(r,(zz(),X1),(LF(),U8)),G(r,B$,(bP(),Z3)),Qc(r,(pL(),wX)),n=new uI,uT(n,r),PI(n,(Dz(),x5)),i=new uI,uT(i,r),PI(i,t5),r}function q3e(e,t){var n,r,i,a,o;for(e.c[t.p]=!0,ry(e.a,t),o=new D(t.j);o.a=a)o.$b();else for(i=o.Jc(),r=0;r0?_ce():o<0&&i6e(e,t,-o),!0)}function RI(e){var t,n,r,i,a,o,s=0;if(e.b==0){for(o=NXe(e,!0),t=0,r=o,i=0,a=r.length;i0&&(s+=n,++t);t>1&&(s+=e.c*(t-1))}else s=Fce($k($C(ZC(zS(e.a),new Ie),new ze)));return s>0?s+e.n.d+e.n.a:0}function zI(e){var t,n,r,i,a,o,s=0;if(e.b==0)s=Fce($k($C(ZC(zS(e.a),new Le),new Re)));else{for(o=PXe(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 o6e(e){var t,n;if(e.c.length!=2)throw O(new Up(`Order only allowed for two paths.`));t=(OT(0,e.c.length),F(e.c[0],17)),n=(OT(1,e.c.length),F(e.c[1],17)),t.d.i!=n.c.i&&(e.c.length=0,zd(e.c,n),zd(e.c,t))}function s6e(e,t,n){var r;for(Sv(n,t.g,t.f),Cv(n,t.i,t.j),r=0;r<(!t.a&&(t.a=new I(s7,t,10,11)),t.a).i;r++)s6e(e,F(U((!t.a&&(t.a=new I(s7,t,10,11)),t.a),r),26),F(U((!n.a&&(n.a=new I(s7,n,10,11)),n.a),r),26))}function c6e(e,t){var n,i,a,o=F(zC(e.b,t),127);for(n=o.a,a=F(F(VE(e.r,t),22),83).Jc();a.Ob();)i=F(a.Pb(),115),i.c&&(n.a=r.Math.max(n.a,yCe(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 l6e(e,t){var n=F(q(t,(CR(),WY)),15).a-F(q(e,WY),15).a,r,i;return n==0?(r=Tb(Jv(F(q(e,(Mk(),JY)),8)),F(q(e,YY),8)),i=Tb(Jv(F(q(t,JY),8)),F(q(t,YY),8)),mM(r.a*r.b,i.a*i.b)):n}function u6e(e,t){var n=F(q(t,(AR(),d4)),15).a-F(q(e,d4),15).a,r,i;return n==0?(r=Tb(Jv(F(q(e,(Ez(),V2)),8)),F(q(e,H2),8)),i=Tb(Jv(F(q(t,V2),8)),F(q(t,H2),8)),mM(r.a*r.b,i.a*i.b)):n}function d6e(e){var t,n=new dm;return n.a+=`e_`,t=CHe(e),t!=null&&(n.a+=``+t),e.c&&e.d&&(Q_((n.a+=` `,n),eF(e.c)),Q_(Z_((n.a+=`[`,n),e.c.i),`]`),Q_((n.a+=fU,n),eF(e.d)),Q_(Z_((n.a+=`[`,n),e.d.i),`]`)),n.a}function f6e(e){switch(e.g){case 0:return new sc;case 1:return new lie;case 2:return new pc;case 3:return new mc;default:throw O(new Hp(`No implementation is available for the layout phase `+(e.f==null?``+e.g:e.f)))}}function p6e(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 m6e(e,t,n){var r,i,a,o,s;if(n)for(i=n.a.length,r=new rS(i),s=(r.b-r.a)*r.c<0?(Jh(),G9):new ly(r);s.Ob();)o=F(s.Pb(),15),a=rE(n,o.a),X_t in a.a||zK in a.a?Ant(e,a,t):Jut(e,a,t),fge(F(pC(e.c,PN(a)),85))}function h6e(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=mF(e),t&&(qh(),t.jk()==lyt)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function g6e(e,t){var n,r,i,a;if(Rz(e),e.c!=0||e.a!=123)throw O(new tm(Jz((Iv(),Cvt))));if(a=t==112,r=e.d,n=Ry(e.i,125,r),n<0)throw O(new tm(Jz((Iv(),wvt))));return i=jw(e.i,r,n),e.d=n+1,YIe(i,a,(e.e&512)==512)}function _6e(e){var t,n,r,i,a,o,s=Ly(e.c.length);for(i=new D(e);i.a=0&&r=0?e.Ih(n,!0,!0):qI(e,i,!0),163)),F(r,219).Ul(t);throw O(new Hp(vK+t.ve()+bK))}function b6e(){pde();var e;return oVt?F(uL((Hh(),V7),Iq),2003):(nv(bJ,new ls),Nct(),e=F(N(Ww((Hh(),V7),Iq),549)?Ww(V7,Iq):new JEe,549),oVt=!0,kdt(e),Bdt(e),LC((fde(),MBt),e,new dre),dT(V7,Iq,e),e)}function x6e(e,t){var n,r,i,a;e.j=-1,_v(e.e)?(n=e.i,a=e.i!=0,WE(e,t),r=new ZD(e.e,3,e.c,null,t,n,a),i=t.xl(e.e,e.c,null),i=x1e(e,t,i),i?(i.lj(r),i.mj()):dA(e.e,r)):(WE(e,t),i=t.xl(e.e,e.c,null),i&&i.mj())}function HI(e,t){var n,r,i=0;if(r=t[0],r>=e.length)return-1;for(n=(kT(r,e.length),e.charCodeAt(r));n>=48&&n<=57&&(i=i*10+(n-48),++r,!(r>=e.length));)n=(kT(r,e.length),e.charCodeAt(r));return r>t[0]?t[0]=r:i=-1,i}function S6e(e,t,n){var r,i,a,o=e.c,s=e.d;a=sj(W(A(J3,1),vB,8,0,[o.i.n,o.n,o.a])).b,i=(a+sj(W(A(J3,1),vB,8,0,[s.i.n,s.n,s.a])).b)/2,r=null,r=o.j==(Dz(),t5)?new j(t+o.i.c.c.a+n,i):new j(t-n,i),zy(e.a,0,r)}function UI(e){for(var t=null,n,r=OS(ik(W(A(_J,1),iB,20,0,[(!e.b&&(e.b=new Db(X5,e,4,7)),e.b),(!e.c&&(e.c=new Db(X5,e,5,8)),e.c)]))),i;rL(r);)if(n=F(zE(r),84),i=VF(n),!t)t=i;else if(t!=i)return!1;return!0}function WI(e,t,n){var r;if(++e.j,t>=e.i)throw O(new Fp(ZK+t+QK+e.i));if(n>=e.i)throw O(new Fp($K+n+QK+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-kV,t=r>>16&4,n+=t,e<<=t,r=e-yB,t=r>>16&2,n+=t,e<<=t,r=e>>14,t=r&~(r>>1),n+2-t)}function C6e(e,t){var n,r,i=new Od;for(r=nP(t.a,0);r.b!=r.d.c;)n=F(sE(r),65),n.c.g==e.g&&M(q(n.b,(AR(),p4)))!==M(q(n.c,p4))&&!FE(new Mx(null,new DT(i,16)),new Ku(n))&&zd(i.c,n);return Bv(i,new Ri),i}function w6e(e,t,n){var r,i,a,o;return N(t,155)&&N(n,155)?(a=F(t,155),o=F(n,155),e.a[a.a][o.a]+e.a[o.a][a.a]):N(t,251)&&N(n,251)&&(r=F(t,251),i=F(n,251),r.a==i.a)?F(q(i.a,(CR(),WY)),15).a:0}function T6e(e,t){var n,i,a,o,s,c,l,u=k(P(q(t,(zz(),b0))));for(l=e[0].n.a+e[0].o.a+e[0].d.c+u,c=1;c=0?n:(s=CC(Tb(new j(o.c+o.b/2,o.d+o.a/2),new j(a.c+a.b/2,a.d+a.a/2))),-(lit(a,o)-1)*s)}function D6e(e,t,n){var r;xh(new Mx(null,(!n.a&&(n.a=new I(Q5,n,6,6)),new DT(n.a,16))),new tpe(e,t)),xh(new Mx(null,(!n.n&&(n.n=new I(o7,n,1,7)),new DT(n.n,16))),new npe(e,t)),r=F(Y(n,(Hz(),C6)),79),r&&xVe(r,e,t)}function qI(e,t,n){var r,i,a=mz((xI(),p9),e.Ah(),t);if(a)return qh(),F(a,69).vk()||(a=MT(GD(p9,a))),i=(r=e.Fh(a),F(r>=0?e.Ih(r,!0,!0):qI(e,a,!0),163)),F(i,219).Ql(t,n);throw O(new Hp(vK+t.ve()+bK))}function O6e(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 Yb(c.c,o),Kx(e,r++,i)),s=l+n,s<=c.a&&(a=new Yb(s,c.a),pT(r,e.c.length),bg(e.c,r,a)))}function I6e(e,t,n){var r,i,a,o,s,c;if(!t.dc()){for(i=new ph,c=t.Jc();c.Ob();)for(s=F(c.Pb(),40),LC(e.a,K(s.g),K(n)),o=(r=nP(new qu(s).a.d,0),new Ju(r));qm(o.a);)a=F(sE(o.a),65).c,DE(i,a,i.c.b,i.c);I6e(e,i,n+1)}}function L6e(e){var t;if(!e.c&&e.g==null)e.d=e._i(e.f),hD(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],50);return t==e.b&&null.Tm>=null.Sm()?(fL(e),L6e(e)):t.Ob()}function R6e(e){if(this.a=e,e.c.i.k==(pL(),wX))this.c=e.c,this.d=F(q(e.c.i,(X(),qQ)),64);else if(e.d.i.k==wX)this.c=e.d,this.d=F(q(e.d.i,(X(),qQ)),64);else throw O(new Hp(`Edge `+e+` is not an external edge.`))}function z6e(e,t){var n,r,i=e.b;e.b=t,e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,3,i,e.b)),t?t!=e&&(zk(e,t.zb),ZO(e,t.d),n=(r=t.c,r??t.zb),yk(e,n==null||kb(n,t.zb)?null:n)):(zk(e,null),ZO(e,0),yk(e,null))}function B6e(e){var t=(!OJ&&(OJ=hut()),OJ);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 vke(e,t)})+`"`}function V6e(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 Ob(t,o));return i=n[t],o==1?r=null:(r=H(w7,pq,415,o-1,0,1),OR(n,0,r,0,t),a=o-t-1,a>0&&OR(n,t+1,r,t,a)),lP(e,r),K4e(e,t,i),i}function W6e(e){var t,n;if(e.f){for(;e.n0)for(o=e.c.d,s=e.d.d,i=ny(Tb(new j(s.a,s.b),o),1/(r+1)),a=new j(o.a,o.b),n=new D(e.a);n.a0?sN(n):bM(sN(n))),pP(t,$1,a)}function Y6e(e,t){var n,r;if(e.c.length!=0){if(e.c.length==2)VR((OT(0,e.c.length),F(e.c[0],9)),(sF(),w8)),VR((OT(1,e.c.length),F(e.c[1],9)),T8);else for(r=new D(e);r.a0&&rR(e,n,t),a):r.a==null?i.a==null?0:(rR(e,n,t),1):(rR(e,t,n),-1)}function Q6e(e){gT();for(var t,n=new CE,r,i=new D(e.e.b),a,o,s;i.a=0;)r=n[a],o.$l(r.Jk())&&hD(i,r);!Eut(e,i)&&_v(e.e)&&cf(e,t.Hk()?Aw(e,6,t,(fw(),nY),null,-1,!1):Aw(e,t.rk()?2:1,t,null,null,-1,!1))}function n8e(e,t){var n,r,i,a,o;return e.a==(aI(),fQ)||(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 r8e(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.xh(null):e.Mh().Qh(e,-1-t,null,null)),e.yh(F(i,52),n),r&&r.mj(),e.sh()&&e.th()&&n>-1&&dA(e,new CS(e,9,n,a,i)),i):a}function b8e(e,t){var n,r,i,a=e.b.Ae(t),o;for(r=(n=e.a.get(a),n??H(hJ,iB,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=BVe(e),i>16)),16).bd(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 N8e(e,t,n){var r,i,a=F(kx(t.e,0),17).c,o,s,c;r=a.i,i=r.k,c=F(kx(n.g,0),17).d,o=c.i,s=o.k,i==(pL(),EX)?G(e,(X(),a$),F(q(r,a$),12)):G(e,(X(),a$),a),s==EX?G(e,(X(),o$),F(q(o,o$),12)):G(e,(X(),o$),c)}function P8e(e,t){for(var n,r,i,a=new D(e.b),o,s;a.a>t,a=e.m>>t|n<<22-t,i=e.l>>t|e.m<<22-t):t<44?(o=r?yV:0,a=n>>t-22,i=e.m>>t-22|n<<44-t):(o=r?yV:0,a=r?vV:0,i=n>>t-44),Uv(i&vV,a&vV,o&yV)}function B8e(e,t){var n,r,i,a,o,s,c,l,u;if(e.a.f>0&&N(t,45)&&(e.a.Zj(),l=F(t,45),c=l.jd(),a=c==null?0:Lk(c),o=Nve(e.a,a),n=e.a.d[o],n)){for(r=F(n.g,374),u=n.i,s=0;s=2)for(n=a.Jc(),t=P(n.Pb());n.Ob();)o=t,t=P(n.Pb()),i=r.Math.min(i,(MC(t),t-(MC(o),o)));return i}function t5e(e,t){var n,r,i=new Od;for(r=nP(t.a,0);r.b!=r.d.c;)n=F(sE(r),65),n.b.g==e.g&&!kb(n.b.c,pG)&&M(q(n.b,(AR(),p4)))!==M(q(n.c,p4))&&!FE(new Mx(null,new DT(i,16)),new Soe(n))&&zd(i.c,n);return Bv(i,new Vi),i}function n5e(e,t){var n,r,i;if(M(t)===M(aC(e)))return!0;if(!N(t,16)||(r=F(t,16),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?i+=t:i+=1;return i}function m5e(e,t){var n,r,i,a,o,s,c,l=e,u,d;c=iE(l,`individualSpacings`),c&&(r=lD(t,(Hz(),J6)),o=!r,o&&(i=new eo,pP(t,J6,i)),s=F(Y(t,J6),379),d=c,a=null,d&&(a=(u=Ek(d,H(KJ,vB,2,0,6,1)),new dh(d,u))),a&&(n=new fpe(d,s),jE(a,n)))}function h5e(e,t){var n,r,i,a,o,s,c=null,l,u,d=e,f;return u=null,(svt in d.a||cvt in d.a||VK in d.a)&&(l=null,f=aUe(t),o=iE(d,svt),n=new qoe(f),Rqe(n.a,o),s=iE(d,cvt),r=new tse(f),zqe(r.a,s),a=nE(d,VK),i=new nse(f),l=(m1e(i.a,a),a),u=l),c=u,c}function g5e(e,t){var n,r,i;if(t===e)return!0;if(N(t,541)){if(i=F(t,834),e.a.d!=i.a.d||KC(e).gc()!=KC(i).gc())return!1;for(r=KC(i).Jc();r.Ob();)if(n=F(r.Pb(),416),fAe(e,n.a.jd())!=F(n.a.kd(),18).gc())return!1;return!0}return!1}function _5e(e,t){for(var n,r,i,a=new D(t.a);a.at.c?1:e.bt.b?1:e.a==t.a?e.d==(mE(),b2)&&t.d==y2?-1:+(e.d==y2&&t.d==b2):Lk(e.a)-Lk(t.a)}function aL(e){var t,n,i,a=DV,o,s,c,l;for(i=OV,n=new D(e.e.b);n.a0&&i<$W?(n=s5e(e.a,r.i,i,e.c),_ze(e.a,r.i,-n),n>0):i<0&&-i<$W&&(n=c5e(e.a,r.i,-i,e.c),_ze(e.a,r.i,n),n>0)}function b5e(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 S5e(e){if(e.xe()){var t=e.c;e.o=t.ye()?`[`+t.n:t.xe()?`[`+t.ve():`[L`+t.ve()+`;`,e.b=t.ue()+`[]`,e.k=t.we()+`[]`}else{var n=e.j,r=e.d;r=r.split(`/`),e.o=jN(`.`,[n,jN(`$`,r)]),e.b=jN(`.`,[n,jN(`.`,r)]),e.k=r[r.length-1]}}function C5e(e,t){var n,r,i,a,o=null;for(a=new D(e.e.a);a.a0&&Bz(t,(OT(r-1,e.c.length),F(e.c[r-1],9)),i)>0;)AE(e,r,(OT(r-1,e.c.length),F(e.c[r-1],9))),--r;OT(r,e.c.length),e.c[r]=i}t.b=new kd,t.g=new kd}function N5e(e,t,n){for(var r=1,i,a;r0&&t.Le((OT(i-1,e.c.length),F(e.c[i-1],9)),a)>0;)AE(e,i,(OT(i-1,e.c.length),F(e.c[i-1],9))),--i;OT(i,e.c.length),e.c[i]=a}n.a=new kd,n.b=new kd}function oL(e,t,n){for(var i,a,o=t.Jc(),s,c,l,u,d,f,p;o.Ob();)a=F(o.Pb(),26),d=a.i+a.g/2,p=a.j+a.f/2,l=e.f,s=l.i+l.g/2,c=l.j+l.f/2,u=d-s,f=p-c,i=r.Math.sqrt(u*u+f*f),u*=e.e/i,f*=e.e/i,n?(d-=u,p-=f):(d+=u,p+=f),qO(a,d-a.g/2),JO(a,p-a.f/2)}function sL(e){var t,n,r;if(!e.c&&e.b!=null){for(t=e.b.length-4;t>=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 cL(e){var t,n=new _y(Um(e.Pm));return n.a+=`@`,Q_(n,(t=Lk(e)>>>0,t.toString(16))),e.Sh()?(n.a+=` (eProxyURI: `,Z_(n,e.Yh()),e.Hh()&&(n.a+=` eClass: `,Z_(n,e.Hh())),n.a+=`)`):e.Hh()&&(n.a+=` (eClass: `,Z_(n,e.Hh()),n.a+=`)`),n.a}function lL(e){var t,n,r,i;if(e.e)throw O(new Up((tb(yY),$V+yY.k+eH)));for(e.d==(hM(),o8)&&Sz(e,i8),n=new D(e.a.a);n.a>24}return n}function B5e(e,t,n){var r,i=F(zC(e.i,t),319),a;if(!i){if(i=new WRe(e.d,t,n),IS(e.i,t,i),OJe(t))Vhe(e.a,t.c,t.b,i);else switch(a=A4e(t),r=F(zC(e.p,a),253),a.g){case 1:case 3:i.j=!0,kp(r,t.b,i);break;case 4:case 2:i.k=!0,kp(r,t.c,i)}}return i}function V5e(e,t,n,r){var i,a,o,s=new lo,c=LL(e.e.Ah(),t),l;if(i=F(e.g,122),qh(),F(t,69).vk())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.a=0?(t||(t=new um,r>0&&Y_(t,(uD(0,r,e.length),e.substr(0,r)))),t.a+=`\\`,bC(t,n&JB)):t&&bC(t,n&JB);return t?t.a:e}function G5e(e){for(var t,n=new D(e.a.a.b),i;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 K5e(e,t,n){var r,i;if((e.c-e.b&e.a.length-1)==2)t==(Dz(),n5)||t==t5?(wO(F(rj(e),16),(sF(),w8)),wO(F(rj(e),16),T8)):(wO(F(rj(e),16),(sF(),T8)),wO(F(rj(e),16),w8));else for(i=new YC(e);i.a!=i.b;)r=F(Zj(i),16),wO(r,n)}function q5e(e,t,n){var r,i,a,o,s,c,l,u=-1,d=0;for(s=t,c=0,l=s.length;c0&&++d;++u}return d}function J5e(e,t){var n,r,i=tx(new md(e)),a,o,s=new qT(i,i.c.length),c;for(a=tx(new md(t)),c=new qT(a,a.c.length),o=null;s.b>0&&c.b>0&&(n=(Ky(s.b>0),F(s.a.Xb(s.c=--s.b),26)),r=(Ky(c.b>0),F(c.a.Xb(c.c=--c.b),26)),n==r);)o=n;return o}function Y5e(e,t){var n,r,i,a;for(t.Tg(`Self-Loop pre-processing`,1),r=new D(e.a);r.aDje(e,n)?(r=MM(n,(Dz(),t5)),e.d=r.dc()?0:vx(F(r.Xb(0),12)),o=MM(t,x5),e.b=o.dc()?0:vx(F(o.Xb(0),12))):(i=MM(n,(Dz(),x5)),e.d=i.dc()?0:vx(F(i.Xb(0),12)),a=MM(t,t5),e.b=a.dc()?0:vx(F(a.Xb(0),12)))}function Z5e(e){var t=!0,n,r,i=null,a=null,o,s,c;j:for(c=new D(e.a);c.ae.c));o++)i.a>=e.s&&(a<0&&(a=o),s=o);return c=(e.s+e.c)/2,a>=0&&(r=Ont(e,t,a,s),c=hde((OT(r,t.c.length),F(t.c[r],340))),F6e(t,r,n)),c}function dL(e,t,n){var r,i,a,o=(a=new bo,a),s,c,l;for(MBe(o,(MC(t),t)),l=(!o.b&&(o.b=new Qy((Kz(),o9),d9,o)),o.b),c=1;c=2}function r7e(e,t,n,r,i){for(var a=e.c.d.j,o=F(mP(n,0),8),s,c,l,u=1;u1||(t=Gx(k8,W(A(L8,1),Z,96,0,[O8,j8])),SA(qw(t,e))>1)||(r=Gx(I8,W(A(L8,1),Z,96,0,[F8,P8])),SA(qw(r,e))>1))}function a7e(e){for(var t=0,n,i=new D(e.a),a,o,s,c;i.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&fx(t,r.b));for(i=new D(e.i);i.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&fx(n,r.a))}function fL(e){var t,n,r,i,a;if(e.g==null&&(e.d=e._i(e.f),hD(e,e.d),e.c))return a=e.f,a;if(t=F(e.g[e.i-1],50),i=t.Pb(),e.e=t,n=e._i(i),n.Ob())e.d=n,hD(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],50),t=r;return i}function s7e(e,t){var n,r=t,i=r.Jk(),a,o,s;if(BL(e.e,i)){if(i.Qi()&&hE(e,i,r.kd()))return!1}else for(s=LL(e.e.Ah(),i),n=F(e.g,122),a=0;a1||n>1)return 2;return t+n==1?2:0}function _L(e,t){var n,i,a,o=e.a*VV+e.b*1502,s,c=e.b*VV+11;return n=r.Math.floor(c*HV),o+=n,c-=n*Tft,o%=Tft,e.a=o,e.b=c,t<=24?r.Math.floor(e.a*Oxt[t]):(a=e.a*(1<=2147483648&&(i-=4294967296),i)}function g7e(e,t,n){var r,i,a=new Od,o,s,c,l=new ph;for(o=new ph,jat(e,l,o,t),Xst(e,l,o,t,n),c=new D(e);c.ar.b.g&&zd(a.c,r);return a}function _7e(e,t,n){var r,i,a,o,s=e.c,c;for(o=(n.q?n.q:(fw(),fw(),rY)).vc().Jc();o.Ob();)a=F(o.Pb(),45),r=!Ym(ZC(new Mx(null,new DT(s,16)),new Jl(new Kfe(t,a)))).zd((bh(),_Y)),r&&(c=a.kd(),N(c,4)&&(i=IJe(c),i!=null&&(c=i)),t.of(F(a.jd(),147),c))}function v7e(e,t){var n,r,i,a;for(t.Tg(`Resize child graph to fit parent.`,1),r=new D(e.b);r.a1)for(i=new D(e.a);i.a=0?e.Ih(r,!0,!0):qI(e,a,!0),163)),F(i,219).Vl(t,n)}else throw O(new Hp(vK+t.ve()+yK))}function S7e(e,t,n){var r,i,a,o,s,c=yve(e,F(pC(e.e,t),26));if(s=null,c)switch(c.g){case 3:r=whe(e,$w(t)),s=(MC(n),n+(MC(r),r));break;case 2:i=whe(e,$w(t)),o=(MC(n),n+(MC(i),i)),a=whe(e,F(pC(e.e,t),26)),s=o-(MC(a),a);break;default:s=n}else s=n;return s}function C7e(e,t,n){var r,i,a,o,s,c=yve(e,F(pC(e.e,t),26));if(s=null,c)switch(c.g){case 3:r=The(e,$w(t)),s=(MC(n),n+(MC(r),r));break;case 2:i=The(e,$w(t)),o=(MC(n),n+(MC(i),i)),a=The(e,F(pC(e.e,t),26)),s=o-(MC(a),a);break;default:s=n}else s=n;return s}function vL(e,t){var n,r,i,a,o;if(t){for(a=N(e.Cb,88)||N(e.Cb,103),o=!a&&N(e.Cb,335),r=new uy((!t.a&&(t.a=new Vx(t,z7,t)),t.a));r.e!=r.i.gc();)if(n=F(aP(r),87),i=wR(n),a?N(i,88):o?N(i,159):i)return i;return a?(Kz(),t9):(Kz(),e9)}return null}function w7e(e,t){var n=new Od,r,i=cO(new Mx(null,new DT(e,16)),new Ni),a=cO(new Mx(null,new DT(e,16)),new zte),o=GLe(zFe($C(H7e(W(A(Wxt,1),iB,833,0,[i,a])),new Pi)));for(r=1;r=2*t&&ry(n,new Yb(o[r-1]+t,o[r]-t));return n}function T7e(e,t,n){var r,i,a,o,s,c,l,u;if(n)for(a=n.a.length,r=new rS(a),s=(r.b-r.a)*r.c<0?(Jh(),G9):new ly(r);s.Ob();)o=F(s.Pb(),15),i=rE(n,o.a),i&&(c=vNe(e,(l=(Im(),u=new Hf,u),t&&R7e(l,t),l),i),bk(c,aE(i,UK)),BF(i,c),b3e(i,c),cj(e,i,c))}function yL(e){var t,n,r,i,a,o;if(!e.j){if(o=new Eo,t=l9,a=t.a.yc(e,t),a==null){for(r=new uy(Pw(e));r.e!=r.i.gc();)n=F(aP(r),29),i=yL(n),nC(o,i),hD(o,n);t.a.Ac(e)}Fj(o),e.j=new av((F(U(z((eC(),K7).o),11),19),o.i),o.g),LE(e).b&=-33}return e.j}function E7e(e){var t,n,r,i;if(e==null)return null;if(r=QR(e,!0),i=eJ.length,kb(r.substr(r.length-i,i),eJ)){if(n=r.length,n==4){if(t=(kT(0,r.length),r.charCodeAt(0)),t==43)return zVt;if(t==45)return RVt}else if(n==3)return zVt}return new uf(r)}function D7e(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?fBe(n):t==0&&r!=0&&n==0?fBe(r)+22:t!=0&&r==0&&n==0?fBe(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 O7e(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(SC(F(GE(e.b,t.a),262)),262),n.a=0,++e.c):(n=F(SC(F(pC(e.b,t.a),262)),262),--n.a,t.e?t.e.c=t.c:n.b=F(SC(t.c),498),t.c?t.c.e=t.e:n.c=F(SC(t.e),498)),--e.d}function xL(e,t){var n,r,i,a=new qT(e,0);for(n=(Ky(a.b0),a.a.Xb(a.c=--a.b),_b(a,i),Ky(a.b3&&QD(e,0,t-3))}function M7e(e){var t,n,r,i;return M(q(e,(zz(),x1)))===M((Ej(),x8))?!e.e&&M(q(e,a1))!==M((kA(),wQ)):(r=F(q(e,o1),302),i=Gp(nb(q(e,c1)))||M(q(e,l1))===M((rN(),VZ)),t=F(q(e,Gkt),15).a,n=e.a.c.length,!i&&r!=(kA(),wQ)&&(t==0||t>n))}function N7e(e,t){for(var n,r,i=e.Jc(),a,o,s,c;i.Ob();)for(r=F(i.Pb(),9),s=new uI,uT(s,r),PI(s,(Dz(),t5)),G(s,(X(),p$),(by(),!0)),o=t.Jc();o.Ob();)a=F(o.Pb(),9),c=new uI,uT(c,a),PI(c,x5),G(c,p$,!0),n=new Dw,G(n,p$,!0),sT(n,s),lT(n,c)}function P7e(e){for(var t,n=0;n0);n++);if(n>0&&n0);t++);return t>0&&n>16!=6&&t){if(fF(e,t))throw O(new Hp(TK+i8e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?gQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=fP(t,e,6,r)),r=xve(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,6,t,t))}function SL(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(fF(e,t))throw O(new Hp(TK+eot(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?SQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=fP(t,e,12,r)),r=bve(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,3,t,t))}function R7e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=9&&t){if(fF(e,t))throw O(new Hp(TK+_nt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?vQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=fP(t,e,9,r)),r=Sve(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,9,t,t))}function CL(e){var t,n,r=mF(e),i,a=e.j;if(a==null&&r)return e.Hk()?null:r.gk();if(N(r,159)){if(n=r.hk(),n&&(i=n.ti(),i!=e.i)){if(t=F(r,159),t.lk())try{e.g=i.qi(t,a)}catch(t){if(t=UA(t),N(t,80))e.g=null;else throw O(t)}e.i=i}return e.g}return null}function z7e(e){var t=new Od;return ry(t,new ig(new j(e.c,e.d),new j(e.c+e.b,e.d))),ry(t,new ig(new j(e.c,e.d),new j(e.c,e.d+e.a))),ry(t,new ig(new j(e.c+e.b,e.d+e.a),new j(e.c+e.b,e.d))),ry(t,new ig(new j(e.c+e.b,e.d+e.a),new j(e.c,e.d+e.a))),t}function B7e(e){var t,n,r=e.a.d.j,i=e.c.d.j;for(n=new D(e.i.d);n.a>>0),n.toString(16)),uYe(PHe(),(vh(),`Exception during lenientFormat for `+r),t),`<`+r+` threw `+Um(t.Pm)+`>`;throw O(i)}}function H7e(e){var t,n,r=!1,i,a,o,s,l,u;for(t=336,n=0,a=new kve(e.length),s=e,l=0,u=s.length;l1)for(t=Sy((n=new gf,++e.b,n),e.d),s=nP(a,0);s.b!=s.d.c;)o=F(sE(s),124),FL(Eh(Th(Dh(wh(new hf,1),0),t),o))}function TL(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=11&&t){if(fF(e,t))throw O(new Hp(TK+gnt(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?IQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=fP(t,e,10,r)),r=rye(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,11,t,t))}function q7e(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(dBt,qvt,67,2*c+4,0,1),a=0;a=0x8000000000000000?(fO(),Bbt):(i=!1,e<0&&(i=!0,e=-e),r=0,e>=SV&&(r=Gw(e/SV),e-=r*SV),n=0,e>=xV&&(n=Gw(e/xV),e-=n*xV),t=Gw(e),a=Uv(t,n,r),i&&oj(a),a)}function u9e(e){var t,n,r,i,a=new Od;if(kO(e.b,new Zl(a)),e.b.c.length=0,a.c.length!=0){for(t=(OT(0,a.c.length),F(a.c[0],80)),n=1,r=a.c.length;n>16!=7&&t){if(fF(e,t))throw O(new Hp(TK+c4e(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?_Qe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=F(t,52).Oh(e,1,J5,r)),r=Ewe(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,7,t,t))}function _9e(e,t){var n,r;if(t!=e.Cb||e.Db>>16!=3&&t){if(fF(e,t))throw O(new Hp(TK+tKe(e)));r=null,e.Cb&&(r=(n=e.Db>>16,n>=0?xQe(e,r):e.Cb.Qh(e,-1-n,null,r))),t&&(r=F(t,52).Oh(e,0,$5,r)),r=Dwe(e,t,r),r&&r.mj()}else e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,3,t,t))}function OL(e,t){KL();var n,r,i,a,o,s,c,l,u;return t.d>e.d&&(s=e,e=t,t=s),t.d<63?Tet(e,t):(o=(e.d&-2)<<4,l=cFe(e,o),u=cFe(t,o),r=ZR(e,BE(l,o)),i=ZR(t,BE(u,o)),c=OL(l,u),n=OL(r,i),a=OL(ZR(l,r),ZR(i,u)),a=pz(pz(a,c),n),a=BE(a,o),c=BE(c,o<<1),pz(pz(c,a),n))}function kL(){kL=C,j0=new Fg(Oht,0),ZAt=new Fg(`LONGEST_PATH`,1),QAt=new Fg(`LONGEST_PATH_SOURCE`,2),O0=new Fg(`COFFMAN_GRAHAM`,3),XAt=new Fg(jU,4),$At=new Fg(`STRETCH_WIDTH`,5),A0=new Fg(`MIN_WIDTH`,6),D0=new Fg(`BF_MODEL_ORDER`,7),k0=new Fg(`DF_MODEL_ORDER`,8)}function v9e(e,t){var n,r,i,a,o,s;if(!e.tb){for(a=(!e.rb&&(e.rb=new SS(e,P7,e)),e.rb),s=new yh(a.i),i=new uy(a);i.e!=i.i.gc();)r=F(aP(i),143),o=r.ve(),n=F(o==null?kI(s.f,null,r):jM(s.i,o,r),143),n&&(o==null?kI(s.f,null,n):jM(s.i,o,n));e.tb=s}return F(Ww(e.tb,t),143)}function AL(e,t){var n,r,i,a,o;if((e.i??MR(e),e.i).length,!e.p){for(o=new yh((3*e.g.i/2|0)+1),i=new Py(e.g);i.e!=i.i.gc();)r=F(oP(i),179),a=r.ve(),n=F(a==null?kI(o.f,null,r):jM(o.i,a,r),179),n&&(a==null?kI(o.f,null,n):jM(o.i,a,n));e.p=o}return F(Ww(e.p,t),179)}function y9e(e,t,n,r,i){var a,o,s,c,l;for(XJe(r+Mw(n,n.ge()),i),sEe(t,Oqe(n)),a=n.f,a&&y9e(e,t,a,`Caused by: `,!1),s=(n.k??=H(DJ,vB,80,0,0,1),n.k),c=0,l=s.length;c=0;a+=n?1:-1)o|=t.c.jg(c,a,n,r&&!Gp(nb(q(t.j,(X(),JQ))))&&!Gp(nb(q(t.j,(X(),b$))))),o|=t.q.tg(c,a,n),o|=Wtt(e,c[a],n,r);return LS(e.c,t),o}function ML(e,t,n){for(var r,i,a,o,s,c,l,u=DMe(e.j),d=0,f=u.length;d1&&(e.a=!0),xwe(F(n.b,68),wb(Jv(F(t.b,68).c),ny(Tb(Jv(F(n.b,68).a),F(t.b,68).a),i))),uAe(e,t),S9e(e,n)}function C9e(e){for(var t,n,r,i,a=new D(e.a.a),o,s;a.a0&&a>0?o.p=t++:r>0?o.p=n++:a>0?o.p=i++:o.p=n++}fw(),Bv(e.j,new Vn)}function E9e(e){var t,n=null;t=F(kx(e.g,0),17);do{if(n=t.d.i,Yy(n,(X(),o$)))return F(q(n,o$),12).i;if(n.k!=(pL(),OX)&&rL(new uS(py(VM(n).a.Jc(),new f))))t=F(zE(new uS(py(VM(n).a.Jc(),new f))),17);else if(n.k!=OX)return null}while(n&&n.k!=(pL(),OX));return n}function D9e(e,t){var n,r,i,a,o,s=t.j,c,l,u;for(o=t.g,c=F(kx(s,s.c.length-1),113),u=(OT(0,s.c.length),F(s.c[0],113)),l=JP(e,o,c,u),a=1;al&&(c=n,u=i,l=r);t.a=u,t.c=c}function PL(e,t,n,r){var i=M(q(n,(zz(),X$)))===M((YA(),OQ)),a=F(q(n,Ukt),16);if(Yy(e,(X(),u$))){if(i){if(a.Gc(q(e,Z$))&&a.Gc(q(t,Z$)))return r*F(q(e,Z$),15).a+F(q(e,u$),15).a}else return F(q(e,u$),15).a}else return-1;return F(q(e,u$),15).a}function O9e(e,t,n){var r,i,a,o,s,c,l=new Gm(new Wu(e));for(o=W(A(pwt,1),Dpt,12,0,[t,n]),s=0,c=o.length;sc-e.b&&sc-e.a&&sn.p):a.Ob()?1:-1}function B9e(e,t){var n,i,a,o,s,c;t.Tg(Fgt,1),a=F(Y(e,(JL(),a3)),104),o=(!e.a&&(e.a=new I(s7,e,10,11)),e.a),s=nQe(o),c=r.Math.max(s.a,k(P(Y(e,(XL(),X4))))-(a.b+a.c)),i=r.Math.max(s.b,k(P(Y(e,q4)))-(a.d+a.a)),n=i-s.b,pP(e,W4,n),pP(e,K4,c),pP(e,G4,i+n),t.Ug()}function IL(e){var t,n;if((!e.a&&(e.a=new I(Q5,e,6,6)),e.a).i==0)return aUe(e);for(t=F(U((!e.a&&(e.a=new I(Q5,e,6,6)),e.a),0),170),uz((!t.a&&(t.a=new oy(q5,t,5)),t.a)),YO(t,0),XO(t,0),WO(t,0),GO(t,0),n=(!e.a&&(e.a=new I(Q5,e,6,6)),e.a);n.i>1;)UL(n,n.i-1);return t}function LL(e,t){qh();var n,r,i,a;return t?t==(hz(),FVt)||(t==CVt||t==S9||t==SVt)&&e!=xVt?new Tlt(e,t):(r=F(t,682),n=r.Yk(),n||=(qC(GD((xI(),p9),t)),r.Yk()),a=(!n.i&&(n.i=new kd),n.i),i=F(V_(Yx(a.f,e)),2006),!i&&LC(a,e,i=new Tlt(e,t)),i):mVt}function V9e(e,t){var n;if(!RS(e.b,t.b))throw O(new Up(`Invalid hitboxes for scanline constraint calculation.`));(nUe(t.b,F(Uue(e.b,t.b),60))||nUe(t.b,F(Hue(e.b,t.b),60)))&&gh(),e.a[t.b.f]=F(Ch(e.b,t.b),60),n=F(Sh(e.b,t.b),60),n&&(e.a[n.f]=t.b)}function H9e(e,t){var n,r,i,a,o,s,c=F(q(e,(X(),d$)),12),l=sj(W(A(J3,1),vB,8,0,[c.i.n,c.n,c.a])).a,u=e.i.n.b;for(n=YT(e.e),i=n,a=0,o=i.length;a0?a.a?(s=a.b.Kf().a,n>s&&(i=(n-s)/2,a.d.b=i,a.d.c=i)):a.d.c=e.s+n:VS(e.u)&&(r=h0e(a.b),r.c<0&&(a.d.b=-r.c),r.c+r.b>a.b.Kf().a&&(a.d.c=r.c+r.b-a.b.Kf().a))}function J9e(e,t){var n,r,i,a,o=new Od;n=t;do a=F(pC(e.b,n),132),a.B=n.c,a.D=n.d,zd(o.c,a),n=F(pC(e.k,n),17);while(n);return r=(OT(0,o.c.length),F(o.c[0],132)),r.j=!0,r.A=F(r.d.a.ec().Jc().Pb(),17).c.i,i=F(kx(o,o.c.length-1),132),i.q=!0,i.C=F(i.d.a.ec().Jc().Pb(),17).d.i,o}function Y9e(e){var t,n=F(q(e,(zz(),E1)),165);t=F(q(e,(X(),$Q)),316),n==(nN(),P$)?(G(e,E1,L$),G(e,$Q,(uO(),NQ))):n==I$?(G(e,E1,L$),G(e,$Q,(uO(),jQ))):t==(uO(),NQ)?(G(e,E1,P$),G(e,$Q,MQ)):t==jQ&&(G(e,E1,I$),G(e,$Q,MQ))}function RL(){RL=C,O2=new Fte,AMt=Sx(new AC,($F(),iX),(Uz(),VX)),NMt=tS(Sx(new AC,iX,QX),oX,ZX),PMt=LN(LN(Bh(tS(Sx(new AC,nX,iZ),oX,rZ),aX),nZ),aZ),jMt=tS(Sx(Sx(Sx(new AC,rX,UX),aX,GX),aX,KX),oX,WX),MMt=tS(Sx(Sx(new AC,aX,KX),aX,RX),oX,LX)}function zL(){zL=C,LMt=Sx(tS(new AC,($F(),oX),(Uz(),Mwt)),iX,VX),VMt=LN(LN(Bh(tS(Sx(new AC,nX,iZ),oX,rZ),aX),nZ),aZ),RMt=tS(Sx(Sx(Sx(new AC,rX,UX),aX,GX),aX,KX),oX,WX),BMt=Sx(Sx(new AC,iX,QX),oX,ZX),zMt=tS(Sx(Sx(new AC,aX,KX),aX,RX),oX,LX)}function X9e(e,t,n,r,i){var a,o;(!IE(t)&&t.c.i.c==t.d.i.c||!UBe(sj(W(A(J3,1),vB,8,0,[i.i.n,i.n,i.a])),n))&&!IE(t)&&(t.c==i?zy(t.a,0,new pv(n)):fx(t.a,new pv(n)),r&&!uh(e.a,n)&&(o=F(q(t,(zz(),T1)),79),o||(o=new Uf,G(t,T1,o)),a=new pv(n),DE(o,a,o.c.b,o.c),LS(e.a,a)))}function Z9e(e,t){var n,r,i,a=Wx(LM(jB,WC(Wx(LM(t==null?0:Lk(t),MB)),15)));for(n=a&e.b.length-1,i=null,r=e.b[n];r;i=r,r=r.a)if(r.d==a&&EC(r.i,t))return i?i.a=r.a:e.b[n]=r.a,Yce(F(SC(r.c),594),F(SC(r.f),594)),Vd(F(SC(r.b),227),F(SC(r.e),227)),--e.f,++e.e,!0;return!1}function Q9e(e){for(var t,n=new uS(py(zM(e).a.Jc(),new f));rL(n);)if(t=F(zE(n),17),t.c.i.k!=(pL(),TX))throw O(new Qp(bU+$P(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 $9e(e,t){var n,r,i=t?new Xr:new Zr,a=!1,o,s,c,l,u,d,f;do for(a=!1,l=t?cN(e.b):e.b,c=l.Jc();c.Ob();)for(s=F(c.Pb(),25),f=NT(s.a),t||cN(f),d=new D(f);d.a=0;o+=i?1:-1){for(s=t[o],c=r==(Dz(),t5)?i?MM(s,r):cN(MM(s,r)):i?cN(MM(s,r)):MM(s,r),a&&(e.c[s.p]=c.gc()),d=c.Jc();d.Ob();)u=F(d.Pb(),12),e.d[u.p]=l++;VA(n,c)}}function ret(e,t,n){var r,i,a=k(P(e.b.Jc().Pb())),o,s,c,l=k(P(FHe(t.b))),u;for(r=ny(Jv(e.a),l-n),i=ny(Jv(t.a),n-a),u=wb(r,i),ny(u,1/(l-a)),this.a=u,this.b=new Od,s=!0,o=e.b.Jc(),o.Pb();o.Ob();)c=k(P(o.Pb())),s&&c-n>sG&&(this.b.Ec(n),s=!1),this.b.Ec(c);s&&this.b.Ec(n)}function iet(e){var t,n,r,i;if(jnt(e,e.n),e.d.c.length>0){for(Xp(e.c);j8e(e,F(B(new D(e.e.a)),124))>5,i,a,o;if(t&=31,r>=e.d)return e.e<0?(iR(),uxt):(iR(),QJ);if(a=e.d-r,i=H(q9,cV,30,a+1,15,1),$2e(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=mz((xI(),p9),i,t),!n||(r=n.Gk(),(r>1||r==-1)&&NC(GD(p9,n))!=3))):!1}function pet(e,t,n,r){var i,a,o,s,c=e.c.d,l=e.d.d,u,d,f,p;if(c.j!=l.j)for(p=e.b,u=null,s=null,o=GJe(e),o&&p.i&&(u=e.b.i.i,s=p.i.j),i=c.j,d=null;i!=l.j;)d=t==0?xM(i):xKe(i),a=gYe(i,p.d[i.g],n),f=gYe(d,p.d[d.g],n),o&&u&&s&&(i==u?iqe(a,u,s):d==u&&iqe(f,u,s)),fx(r,wb(a,f)),i=d}function met(e,t,n){var r=rle(n,e.length),i,a,o=e[r],s,c;if(a=nle(n,o.length),o[a].k==(pL(),wX))for(c=t.j,i=0;i0&&(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),gFe(e,xY,a.c+i.b+n[0]-(n[1]-s)/2,n),t==xY&&(e.c.b=o,e.c.c=a.c+i.b+(o-s)/2)}function Oet(){this.c=H(Z9,NV,30,(Dz(),W(A(S5,1),cU,64,0,[b5,n5,t5,y5,x5])).length,15,1),this.b=H(Z9,NV,30,W(A(S5,1),cU,64,0,[b5,n5,t5,y5,x5]).length,15,1),this.a=H(Z9,NV,30,W(A(S5,1),cU,64,0,[b5,n5,t5,y5,x5]).length,15,1),Dde(this.c,DV),Dde(this.b,OV),Dde(this.a,OV)}function ket(e,t,n,r){var i,a,o,s,c=t.i;for(s=n[c.g][e.d[c.g]],i=!1,o=new D(t.d);o.a=i&&(e.c=!1,e.a=!1),e.b[r++]=i,e.b[r]=a,e.c||sL(e)}}function Aet(e,t,n){var r,i,a,o,s,c,l=t.d;for(e.a=new pD(l.c.length),e.c=new kd,s=new D(l);s.a=0?e.Ih(l,!1,!0):qI(e,n,!1),61));n:for(a=d.Jc();a.Ob();){for(i=F(a.Pb(),57),u=0;ue.d[o.p]&&(n+=APe(e.b,a),cE(e.a,K(a)));for(;!qp(e.a);)vRe(e.b,F(KS(e.a),15).a)}return n}function Bet(e,t,n){var r,i,a=(!t.a&&(t.a=new I(s7,t,10,11)),t.a).i,o;for(i=new uy((!t.a&&(t.a=new I(s7,t,10,11)),t.a));i.e!=i.i.gc();)r=F(aP(i),26),(!r.a&&(r.a=new I(s7,r,10,11)),r.a).i==0||(a+=Bet(e,r,!1));if(n)for(o=aT(t);o;)a+=(!o.a&&(o.a=new I(s7,o,10,11)),o.a).i,o=aT(o);return a}function UL(e,t){var n,r,i,a;return e.Nj()?(r=null,i=e.Oj(),e.Rj()&&(r=e.Tj(e.Yi(t),null)),n=e.Gj(4,a=aF(e,t),null,t,i),e.Kj()&&a!=null&&(r=e.Mj(a,r)),r?(r.lj(n),r.mj()):e.Hj(n),a):(a=aF(e,t),e.Kj()&&a!=null&&(r=e.Mj(a,null),r&&r.mj()),a)}function Vet(e){var t,n,i,a,o,s,c,l,u=e.a,d;for(t=new df,l=0,i=new D(e.d);i.ac.d&&(d=c.d+c.a+u));n.c.d=d,t.a.yc(n,t),l=r.Math.max(l,n.c.d+n.c.a)}return l}function Het(e,t,n){for(var r,i,a,o=F(q(e,(X(),XQ)),16).Jc(),s,c;o.Ob();){switch(a=F(o.Pb(),9),F(q(a,(zz(),E1)),165).g){case 2:cT(a,t);break;case 4:cT(a,n)}for(i=new uS(py(BM(a).a.Jc(),new f));rL(i);)r=F(zE(i),17),!(r.c&&r.d)&&(s=!r.d,c=F(q(r,jEt),12),s?lT(r,c):sT(r,c))}}function WL(){WL=C,mQ=new jg(`COMMENTS`,0),gQ=new jg(`EXTERNAL_PORTS`,1),_Q=new jg(`HYPEREDGES`,2),vQ=new jg(`HYPERNODES`,3),yQ=new jg(`NON_FREE_PORTS`,4),bQ=new jg(`NORTH_SOUTH_PORTS`,5),SQ=new jg(Kpt,6),pQ=new jg(`CENTER_LABELS`,7),hQ=new jg(`END_LABELS`,8),xQ=new jg(`PARTITIONS`,9)}function Uet(e,t,n,r,i){return r<0?(r=hI(e,i,W(A(KJ,1),vB,2,6,[YB,XB,ZB,QB,$B,eV,tV,nV,rV,iV,aV,oV]),t),r<0&&(r=hI(e,i,W(A(KJ,1),vB,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,$B,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0&&(n.k=r-1,!0)}function Wet(e,t,n,r,i){return r<0?(r=hI(e,i,W(A(KJ,1),vB,2,6,[YB,XB,ZB,QB,$B,eV,tV,nV,rV,iV,aV,oV]),t),r<0&&(r=hI(e,i,W(A(KJ,1),vB,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,$B,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]),t)),r<0?!1:(n.k=r,!0)):r>0&&(n.k=r-1,!0)}function Get(e,t,n,r,i,a){var o,s=32,c,l;if(r<0){if(t[0]>=e.length||(s=IC(e,t[0]),s!=43&&s!=45)||(++t[0],r=HI(e,t),r<0))return!1;s==45&&(r=-r)}return s==32&&t[0]-n==2&&i.b==2&&(c=new Yh,l=c.q.getFullYear()-sV+sV-80,o=l%100,a.a=r==o,r+=(l/100|0)*100+(r=0?yN(e):JS(yN(RD(e)))),tY[t]=K_(dS(e,t),0)?yN(dS(e,t)):JS(yN(RD(dS(e,t)))),e=LM(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 Qet(e){var t,n,r,i,a=new Gm(F(aC(new et),51)),o,s=OV;for(n=new D(e.d);n.aggt?Bv(l,e.b):i<=ggt&&i>_gt?Bv(l,e.d):i<=_gt&&i>vgt?Bv(l,e.c):i<=vgt&&Bv(l,e.a),o=ntt(e,l,o);return a}function rtt(e,t,n,r){var i=(r.c+r.a)/2,a,o,s,c,l;for(hw(t.j),fx(t.j,i),hw(n.e),fx(n.e,i),l=new lle,s=new D(e.f);s.a1,s&&(r=new j(i,n.b),fx(t.a,r)),fk(t.a,W(A(J3,1),vB,8,0,[f,d]))}function ctt(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&JB;for(e=10;e<=15;e++)P9[e]=65+e-10&JB}function ftt(e,t){t.Tg(`Process graph bounds`,1),G(e,(Ez(),K2),ng(eA($C(new Mx(null,new DT(e.b,16)),new Zte)))),G(e,q2,ng(eA($C(new Mx(null,new DT(e.b,16)),new Qte)))),G(e,uNt,ng($k($C(new Mx(null,new DT(e.b,16)),new $te)))),G(e,dNt,ng($k($C(new Mx(null,new DT(e.b,16)),new ene)))),t.Ug()}function ptt(e){var t,n,i,a=F(q(e,(zz(),H1)),22),o=F(q(e,G1),22);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.Gc((EN(),T5))&&(i=F(q(e,W1),8),o.Gc((hR(),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)),Gp(nb(q(e,U1)))||Vat(e,n,t)}function mtt(e){for(var t=!1,n=0,r,i=new D(e.d.b),a,o,s;i.a>19)return`-`+_tt(nj(e));for(n=e,r=``;n.l!=0||n.m!=0||n.h!=0;){if(i=aFe(CV),n=hst(n,i,!0),t=``+Lle(PJ),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 vtt(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e=`__proto__`,t=Object.create(null);return!(t[e]!==void 0||Object.getOwnPropertyNames(t).length!=0||(t[e]=42,t[e]!==42)||Object.getOwnPropertyNames(t).length==0)}function ytt(e,t,n){var r=n.c,i=n.d,a,o,s=AT(t.c),c=AT(t.d),l,u,d;for(r==t.c?(s=u7e(e,s,i),c=j0e(t.d)):(s=j0e(t.c),c=u7e(e,c,i)),l=new Pm(t.a),DE(l,s,l.a,l.a.a),DE(l,c,l.c.b,l.c),o=t.c==r,d=new Sf,a=0;a=e.a||!R1e(t,n))return-1;if(oE(F(i.Kb(t),20)))return 1;for(a=0,s=F(i.Kb(t),20).Jc();s.Ob();)if(o=F(s.Pb(),17),l=o.c.i==t?o.d.i:o.c.i,c=xtt(e,l,n,i),c==-1||(a=r.Math.max(a,c),a>e.c-1))return-1;return a+1}function JL(){JL=C,e3=new Mv((Hz(),u6),1.3),NFt=new Mv(D6,(by(),!1)),zFt=new kv(15),a3=new Mv(M6,zFt),o3=new Mv(X6,15),DFt=p6,MFt=E6,PFt=O6,FFt=k6,jFt=T6,r3=j6,BFt=V6,WFt=(mit(),SFt),UFt=xFt,s3=EFt,GFt=wFt,RFt=gFt,i3=hFt,LFt=mFt,HFt=yFt,kFt=x6,AFt=S6,t3=dFt,OFt=uFt,n3=fFt,VFt=vFt,IFt=pFt}function Stt(e,t){var n,r,i,a,o,s;if(M(t)===M(e))return!0;if(!N(t,16)||(r=F(t,16),s=e.gc(),r.gc()!=s))return!1;if(o=r.Jc(),e.Wi()){for(n=0;n0){if(e.Zj(),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 pm(`Invalid hexadecimal`))}}function Dtt(e,t,n,r){var i,a,o,s,c=CF(e,n),l=CF(t,n);for(i=!1;c&&l&&(r||SZe(c,l,n));)o=CF(c,n),s=CF(l,n),ID(t),ID(e),a=c.c,jst(c,!1),jst(l,!1),n?(cF(t,l.p,a),t.p=l.p,cF(e,c.p+1,a),e.p=c.p):(cF(e,c.p,a),e.p=c.p,cF(t,l.p+1,a),t.p=l.p),cT(c,null),cT(l,null),c=o,l=s,i=!0;return i}function Ott(e){switch(e.g){case 0:return new ac;case 1:return new oc;case 3:return new rde;case 4:return new bte;case 5:return new Zve;case 6:return new aie;case 2:return new sie;case 7:return new rie;case 8:return new oie;default:throw O(new Hp(`No implementation is available for the layerer `+(e.f==null?``+e.g:e.f)))}}function ktt(e,t,n,r){for(var i=!1,a=!1,o,s=new D(r.j),c;s.a=t.length)throw O(new Fp(`Greedy SwitchDecider: Free layer not in graph.`));this.c=t[e],this.e=new Ab(r),eVe(this.e,this.c,(Dz(),x5)),this.i=new Ab(r),eVe(this.i,this.c,t5),this.f=new nwe(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(pL(),wX),this.a&&s4e(this,e,t.length)}function Ptt(e,t){var n,r,i,a=!e.B.Gc((hR(),A5)),o=e.B.Gc(N5),s;e.a=new rJe(o,a,e.c),e.n&&WDe(e.a.n,e.n),kp(e.g,(MO(),xY),e.a),t||(r=new GN(1,a,e.c),r.n.a=e.k,IS(e.p,(Dz(),n5),r),i=new GN(1,a,e.c),i.n.d=e.k,IS(e.p,y5,i),s=new GN(0,a,e.c),s.n.c=e.k,IS(e.p,x5,s),n=new GN(0,a,e.c),n.n.b=e.k,IS(e.p,t5,n))}function Ftt(e){var t=F(q(e.d,(zz(),g1)),222),n,r;switch(t.g){case 2:n=zut(e);break;case 3:n=(r=new Od,xh(ZC(QC(cO(cO(new Mx(null,new DT(e.d.b,16)),new Jee),new Yee),new Xee),new Cr),new Nu(r)),r);break;default:throw O(new Up(`Compaction not supported for `+t+` edges.`))}nst(e,n),jE(new Tl(e.g),new Gae(e))}function Itt(e,t){var n,r,i,a,o,s,c;if(t.Tg(`Process directions`,1),n=F(q(e,(AR(),c4)),86),n!=(hM(),r8))for(i=nP(e.b,0);i.b!=i.d.c;){switch(r=F(sE(i),40),s=F(q(r,(Ez(),o4)),15).a,c=F(q(r,s4),15).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,o4,K(s)),G(r,s4,K(c))}t.Ug()}function Ltt(e){var t,n,r,i,a,o,s,c=new IPe;for(s=new D(e.a);s.a0&&t=0)return!1;if(t.p=n.b,ry(n.e,t),i==(pL(),EX)||i==kX){for(o=new D(t.j);o.ae.d[s.p]&&(n+=APe(e.b,a),cE(e.a,K(a)))):++o;for(n+=e.b.d*o;!qp(e.a);)vRe(e.b,F(KS(e.a),15).a)}return n}function cnt(e){var t,n,r,i,a=0,o;return t=mF(e),t.ik()&&(a|=4),(e.Bb&_q)!=0&&(a|=2),N(e,103)?(n=F(e,19),i=kP(n),(n.Bb&xK)!=0&&(a|=32),i&&(tC(oT(i)),a|=8,o=i.t,(o>1||o==-1)&&(a|=16),(i.Bb&xK)!=0&&(a|=64)),(n.Bb&jV)!=0&&(a|=CK),a|=mq):N(t,459)?a|=512:(r=t.ik(),r&&r.i&1&&(a|=256)),e.Bb&512&&(a|=128),a}function lnt(e,t){var n;return e.f==hVt?(n=NC(GD((xI(),p9),t)),e.e?n==4&&t!=(YI(),_9)&&t!=(YI(),g9)&&t!=(YI(),gVt)&&t!=(YI(),_Vt):n==2):e.d&&(e.d.Gc(t)||e.d.Gc(MT(GD((xI(),p9),t)))||e.d.Gc(mz((xI(),p9),e.b,t)))?!0:e.f&&Z7e((xI(),e.f),JC(GD(p9,t)))?(n=NC(GD(p9,t)),e.e?n==4:n==2):!1}function unt(e,t){var n,r,i,a=new Od,o,s,c,l;for(t.b.c.length=0,n=F(TE(wAe(new Mx(null,new DT(new Tl(e.a.b),1))),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),16),i=n.Jc();i.Ob();)if(r=F(i.Pb(),15),o=ZMe(e.a,r),o.b!=0)for(s=new mC(t),zd(a.c,s),s.p=r.a,l=nP(o,0);l.b!=l.d.c;)c=F(sE(l),9),cT(c,s);VA(t.b,a)}function $L(e){var t,n,r,i,a,o,s=new kd;for(r=new D(e.a.b);r.axG&&(a-=xG),c=F(Y(i,U6),8),u=c.a,f=c.b+e,o=r.Math.atan2(f,u),o<0&&(o+=xG),o+=t,o>xG&&(o-=xG),Pv(),ok(1e-10),r.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:ao?1:vb(isNaN(a),isNaN(o))}function mnt(e,t,n,i){var a,o,s;t&&(o=k(P(q(t,(Ez(),r4))))+i,s=n+k(P(q(t,Z2)))/2,G(t,o4,K(Wx(gA(r.Math.round(o))))),G(t,s4,K(Wx(gA(r.Math.round(s))))),t.d.b==0||mnt(e,F(Xv((a=nP(new qu(t).a.d,0),new Ju(a))),40),n+k(P(q(t,Z2)))+e.b,i+k(P(q(t,e4)))),q(t,i4)!=null&&mnt(e,F(q(t,i4),40),n,i))}function hnt(e,t){var n,r,i,a=F(Y(e,(Hz(),H6)),64).g-F(Y(t,H6),64).g;if(a!=0)return a;if(n=F(Y(e,z6),15),r=F(Y(t,z6),15),n&&r&&(i=n.a-r.a,i!=0))return i;switch(F(Y(e,H6),64).g){case 1:return mM(e.i,t.i);case 2:return mM(e.j,t.j);case 3:return mM(t.i,e.i);case 4:return mM(t.j,e.j);default:throw O(new Up(Ept))}}function gnt(e){var t,n,r;return e.Db&64?lI(e):(t=new _y(z_t),n=e.k,n?Q_(Q_((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new I(o7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new I(o7,e,1,7)),F(U(e.n,0),157)).a,!r||Q_(Q_((t.a+=` "`,t),r),`"`))),Q_(Hm(Q_(Hm(Q_(Hm(Q_(Hm((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function _nt(e){var t,n,r;return e.Db&64?lI(e):(t=new _y(B_t),n=e.k,n?Q_(Q_((t.a+=` "`,t),n),`"`):(!e.n&&(e.n=new I(o7,e,1,7)),e.n.i>0&&(r=(!e.n&&(e.n=new I(o7,e,1,7)),F(U(e.n,0),157)).a,!r||Q_(Q_((t.a+=` "`,t),r),`"`))),Q_(Hm(Q_(Hm(Q_(Hm(Q_(Hm((t.a+=` (`,t),e.i),`,`),e.j),` | `),e.g),`,`),e.f),`)`),t.a)}function vnt(e,t){var n,r,i,a,o,s,c,l,u,d,f,p=-1,m=0;for(u=t,d=0,f=u.length;d0&&++m;++p}return m}function ynt(e,t){var n,r,i,a,o;for(t==(Oj(),a2)&&DI(F(VE(e.a,(FF(),gZ)),16)),i=F(VE(e.a,(FF(),gZ)),16).Jc();i.Ob();)switch(r=F(i.Pb(),107),n=F(kx(r.j,0),113).d.j,a=new Lb(r.j),Bv(a,new rte),t.g){case 2:HF(e,a,n,(Fk(),xZ),1);break;case 1:case 0:o=P7e(a),HF(e,new ET(a,0,o),n,(Fk(),xZ),0),HF(e,new ET(a,o,a.c.length),n,xZ,1)}}function bnt(e){var t,n,r,i=F(q(e,(X(),e$)),9),a,o,s;for(r=e.j,n=(OT(0,r.c.length),F(r.c[0],12)),o=new D(i.j);o.ai.p?(PI(a,y5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=s-t)):a.j==y5&&i.p>e.p&&(PI(a,n5),a.d&&(s=a.o.b,t=a.a.b,a.a.b=-(s-t)));break}return i}function xnt(e,t){var n,r,i,a,o,s,c;if(t==null||t.length==0)return null;if(i=F(Ww(e.a,t),144),!i){for(r=(s=new kl(e.b).a.vc().Jc(),new Al(s));r.a.Ob();)if(n=(a=F(r.a.Pb(),45),F(a.kd(),144)),o=n.c,c=t.length,kb(o.substr(o.length-c,c),t)&&(t.length==o.length||IC(o,o.length-t.length-1)==46)){if(i)return null;i=n}i&&dT(e.a,t,i)}return i}function tR(e,t,n){for(var r,i,a=new j(t,n),o,s,c,l,u=new D(e.a),d,f;u.a1,s&&(r=new j(i,n.b),fx(t.a,r)),fk(t.a,W(A(J3,1),vB,8,0,[f,d]))}function oR(){oR=C,J0=new Ig(oU,0),K0=new Ig(`NIKOLOV`,1),q0=new Ig(`NIKOLOV_PIXEL`,2),ljt=new Ig(`NIKOLOV_IMPROVED`,3),ujt=new Ig(`NIKOLOV_IMPROVED_PIXEL`,4),cjt=new Ig(`DUMMYNODE_PERCENTAGE`,5),djt=new Ig(`NODECOUNT_PERCENTAGE`,6),Y0=new Ig(`NO_BOUNDARY`,7),W0=new Ig(`MODEL_ORDER_LEFT_TO_RIGHT`,8),G0=new Ig(`MODEL_ORDER_RIGHT_TO_LEFT`,9)}function sR(e,t){var n,r,i,a,o,s,c,l,u=null,d,f=Z8e(e,t),p;return r=null,s=F(Y(t,(Hz(),qLt)),300),r=s||(BO(),C5),p=r,p==(BO(),C5)&&(i=null,l=F(pC(e.r,f),300),i=l||w5,p=i),LC(e.r,t,p),a=null,c=F(Y(t,GLt),278),a=c||(Yj(),u8),d=a,d==(Yj(),u8)&&(o=null,n=F(pC(e.b,f),278),o=n||l8,d=o),u=F(LC(e.b,t,d),278),u}function Bnt(e){var t,n,r=e.length,i,a;for(t=new um,a=0;a=40,o&&Ait(e),Eot(e),iet(e),n=mKe(e),r=0;n&&r0&&fx(e.g,a)):(e.d[o]-=l+1,e.d[o]<=0&&e.a[o]>0&&fx(e.f,a))))}function prt(e,t,n,r){var i,a,o,s,c=new j(n,r),l,u;for(Tb(c,F(q(t,(Ez(),H2)),8)),u=nP(t.b,0);u.b!=u.d.c;)l=F(sE(u),40),wb(l.e,c),fx(e.b,l);for(s=F(TE(Jke(new Mx(null,new DT(t.a,16))),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),16).Jc();s.Ob();){for(o=F(s.Pb(),65),a=nP(o.a,0);a.b!=a.d.c;)i=F(sE(a),8),i.a+=c.a,i.b+=c.b;fx(e.a,o)}}function mrt(e,t){var n,r,i,a;if(0<(N(e,18)?F(e,18).gc():dE(e.Jc()))){if(i=t,1=0&&c1)&&t==1&&F(e.a[e.b],9).k==(pL(),TX)?VR(F(e.a[e.b],9),(sF(),w8)):r&&(!n||(e.c-e.b&e.a.length-1)>1)&&t==1&&F(e.a[e.c-1&e.a.length-1],9).k==(pL(),TX)?VR(F(e.a[e.c-1&e.a.length-1],9),(sF(),T8)):(e.c-e.b&e.a.length-1)==2?(VR(F(rj(e),9),(sF(),w8)),VR(F(rj(e),9),T8)):P5e(e,i),DPe(e)}function yrt(e){var t,n,i,a,o,s,c,l=new kd;for(t=new pf,s=e.Jc();s.Ob();)a=F(s.Pb(),9),c=Sy(Oh(new gf,a),t),kI(l.f,a,c);for(o=e.Jc();o.Ob();)for(a=F(o.Pb(),9),i=new uS(py(VM(a).a.Jc(),new f));rL(i);)n=F(zE(i),17),!IE(n)&&FL(Eh(Th(wh(Dh(new hf,r.Math.max(1,F(q(n,(zz(),jAt)),15).a)),1),F(pC(l,n.c.i),124)),F(pC(l,n.d.i),124)));return t}function brt(e,t,n,r){var i,a,o,s,c,l,u,d,f,p;if(gze(e,t,n),a=t[n],p=r?(Dz(),x5):(Dz(),t5),Xhe(t.length,n,r)){for(i=t[r?n-1:n+1],GFe(e,i,r?(uk(),n2):(uk(),t2)),c=a,u=0,f=c.length;ua*2?(u=new jO(d),l=Ux(o)/Hx(o),c=Mz(u,t,new Lf,n,r,i,l),wb(cv(u.e),c),d.c.length=0,a=0,zd(d.c,u),zd(d.c,o),a=Ux(u)*Hx(u)+Ux(o)*Hx(o)):(zd(d.c,o),a+=Ux(o)*Hx(o));return d}function Srt(e,t){var n,r,i,a,o,s,c;for(t.Tg(`Port order processing`,1),c=F(q(e,(zz(),kAt)),421),r=new D(e.b);r.an?t:n;l<=d;++l)l==n?s=r++:(a=i[l],u=m.$l(a.Jk()),l==t&&(c=l==d&&!u?r-1:r),u&&++r);return f=F(SM(e,t,n),75),s!=c&&cf(e,new xD(e.e,7,o,K(s),p.kd(),c)),f}}else return F(WI(e,t,n),75);return F(SM(e,t,n),75)}function wrt(e,t){var n,r,i,a,o,s,c,l,u,d=0;for(a=new Zv,cE(a,t);a.b!=a.c;)for(c=F(KS(a),218),l=0,u=F(q(t.j,(zz(),n1)),269),F(q(t.j,X$),329),o=k(P(q(t.j,q$))),s=k(P(q(t.j,J$))),u!=(NN(),X0)&&(l+=o*q5e(t.j,c.e,u),l+=s*vnt(t.j,c.e)),d+=OZe(c.d,c.e)+l,i=new D(c.b);i.a=0&&(s=VZe(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&&oj(c),a&&(r?(PJ=nj(e),i&&(PJ=$He(PJ,(fO(),Hbt)))):PJ=Uv(e.l,e.m,e.h)),c}function Drt(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&&(kT(0,e.length),e.charCodeAt(0)==45||(kT(0,e.length),e.charCodeAt(0)==43))),r=o;rn)throw O(new pm(EV+e+`"`));return s}function Ort(e){var t,n,i,a,o,s=new ph,c;for(o=new D(e.a);o.a=e.length)return n.o=0,!0;switch(IC(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=HI(e,t),o==0&&t[0]==a)return!1;if(t[0]s&&(s=i,u.c.length=0),i==s&&ry(u,new M_(n.c.i,n)));fw(),Bv(u,e.c),Kx(e.b,c.p,u)}}function Frt(e,t){for(var n,r,i,a,o=new D(t.b),s,c,l,u;o.as&&(s=i,u.c.length=0),i==s&&ry(u,new M_(n.d.i,n)));fw(),Bv(u,e.c),Kx(e.f,c.p,u)}}function Irt(e){var t,n,r,i,a=eT(e),o,s;for(i=new uy((!e.e&&(e.e=new Db(Z5,e,7,4)),e.e));i.e!=i.i.gc();)if(r=F(aP(i),85),s=VF(F(U((!r.c&&(r.c=new Db(X5,r,5,8)),r.c),0),84)),!EO(s,a))return!0;for(n=new uy((!e.d&&(e.d=new Db(Z5,e,8,5)),e.d));n.e!=n.i.gc();)if(t=F(aP(n),85),o=VF(F(U((!t.b&&(t.b=new Db(X5,t,4,7)),t.b),0),84)),!EO(o,a))return!0;return!1}function Lrt(e){var t,n,r=F(q(e,(X(),d$)),26),i,a=F(Y(r,(zz(),H1)),182).Gc((EN(),O5));e.e||(i=F(q(e,YQ),22),t=new j(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),i.Gc((WL(),gQ))?(pP(r,X1,(LF(),U8)),Oz(r,t.a,t.b,!1,!0)):Gp(nb(Y(r,U1)))||Oz(r,t.a,t.b,!0,!0)),a?pP(r,H1,WM(O5)):pP(r,H1,(n=F(Rm(k5),10),new Rb(n,F(yb(n,n.length),10),0)))}function Rrt(e,t){var n,r,i,a,o,s,c,l=nb(q(t,(AR(),VNt)));if(l==null||(MC(l),l)){for($6e(e,t),i=new Od,c=nP(t.b,0);c.b!=c.d.c;)o=F(sE(c),40),n=k4e(e,o,null),n&&(wA(n,t),zd(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 CS(e,1,s,o,null),r?r.lj(a):r=a),n>=0&&(a=new CS(e,1,n,s==n?o:null,t),r?r.lj(a):r=a)),r}function Hrt(e){var t,n,r;if(e.b==null){if(r=new lm,e.i!=null&&(Y_(r,e.i),r.a+=`:`),e.f&256){for(e.f&256&&e.a!=null&&(_De(e.i)||(r.a+=`//`),Y_(r,e.a)),e.d!=null&&(r.a+=`/`,Y_(r,e.d)),e.f&16&&(r.a+=`/`),t=0,n=e.j.length;tf?!1:(d=(c=WR(r,f,!1),c.a),u+s+d<=t.b&&(SD(n,a-n.s),n.c=!0,SD(r,a-n.s),wP(r,n.s,n.t+n.d+s),r.k=!0,WVe(n.q,r),p=!0,i&&(hk(t,r),r.j=t,e.c.length>o&&(pF((OT(o,e.c.length),F(e.c[o],186)),r),(OT(o,e.c.length),F(e.c[o],186)).a.c.length==0&&KE(e,o)))),p)}function Jrt(e,t){var n,r,i,a,o,s;if(t.Tg(`Partition midprocessing`,1),i=new Bw,xh(ZC(new Mx(null,new DT(e.a,16)),new Un),new Fae(i)),i.d!=0){for(s=F(TE(wAe((a=i.i,new Mx(null,(a||(i.i=new dy(i,i.c))).Lc()))),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),16),r=s.Jc(),n=F(r.Pb(),15);r.Ob();)o=F(r.Pb(),15),N7e(F(VE(i,n),22),F(VE(i,o),22)),n=o;t.Ug()}}function xR(e,t){var n,r,i,a,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(i=F(e.Ab.g,1998),t==null){for(a=0;an.s&&cc+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 tit(e,t,n){var r,i,a,o,s,c,l,u;for(n.Tg(zht,1),BS(e.b),BS(e.a),s=null,a=nP(t.b,0);!s&&a.b!=a.d.c;)l=F(sE(a),40),Gp(nb(q(l,(Ez(),a4))))&&(s=l);for(c=new ph,DE(c,s,c.c.b,c.c),Hlt(e,c),u=nP(t.b,0);u.b!=u.d.c;)l=F(sE(u),40),o=rb(q(l,(Ez(),J2))),i=Ww(e.b,o)==null?0:F(Ww(e.b,o),15).a,G(l,G2,K(i)),r=1+(Ww(e.a,o)==null?0:F(Ww(e.a,o),15).a),G(l,lNt,K(r));n.Ug()}function nit(e){Rh(e,new UF(xm(_m(bm(ym(new Fa,iK),`ELK Box`),`Algorithm for packing of unconnected boxes, i.e. graphs without edges.`),new Kne))),V(e,iK,IH,TLt),V(e,iK,jH,15),V(e,iK,AH,K(0)),V(e,iK,Zgt,iP(yLt)),V(e,iK,UH,iP(xLt)),V(e,iK,HH,iP(CLt)),V(e,iK,NH,Xgt),V(e,iK,LH,iP(bLt)),V(e,iK,QH,iP(SLt)),V(e,iK,Qgt,iP(t6)),V(e,iK,UW,iP(vLt))}function rit(e,t){var n,r,i=e.i,a,o=i.o.a,s,c,l,u;if(a=i.o.b,o<=0&&a<=0)return Dz(),b5;switch(l=e.n.a,u=e.n.b,s=e.o.a,n=e.o.b,t.g){case 2:case 1:if(l<0)return Dz(),x5;if(l+s>o)return Dz(),t5;break;case 4:case 3:if(u<0)return Dz(),n5;if(u+n>a)return Dz(),y5}return c=(l+s/2)/o,r=(u+n/2)/a,c+r<=1&&c-r<=0?(Dz(),x5):c+r>=1&&c-r>=0?(Dz(),t5):r<.5?(Dz(),n5):(Dz(),y5)}function iit(e,t,n,r,i,a,o){var s,c,l,u,d,f=new hv;for(l=t.Jc();l.Ob();)for(s=F(l.Pb(),838),d=new D(s.Pf());d.a0?c.a?(u=c.b.Kf().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(kx(c.c.d,0),187).Kf().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:VS(e.u)&&(o=h0e(c.b),o.d<0&&(c.d.d=-o.d),o.d+o.a>c.b.Kf().b&&(c.d.a=o.d+o.a-c.b.Kf().b))}function CR(){CR=C,WY=new Mv((Hz(),W6),K(1)),KY=new Mv(X6,80),uCt=new Mv(bRt,5),JSt=new Mv(u6,OH),sCt=new Mv(G6,K(1)),lCt=new Mv(q6,(by(),!0)),iCt=new kv(50),rCt=new Mv(M6,iCt),XSt=x6,aCt=R6,YSt=new Mv(g6,!1),nCt=j6,eCt=D6,tCt=k6,$St=E6,QSt=T6,oCt=V6,ZSt=(k2e(),zSt),qY=WSt,UY=RSt,GY=VSt,cCt=USt,pCt=$6,hCt=t8,fCt=Q6,dCt=Z6,mCt=(gM(),z5),new Mv(e8,mCt)}function sit(e,t){var n;switch(mO(e)){case 6:return z_(t);case 7:return R_(t);case 8:return L_(t);case 3:return Array.isArray(t)&&(n=mO(t),!(n>=14&&n<=16));case 11:return t!=null&&typeof t===Qz;case 12:return t!=null&&(typeof t===Yz||typeof t==Qz);case 0:return _P(t,e.__elementTypeId$);case 2:return AS(t)&&t.Rm!==ne;case 1:return AS(t)&&t.Rm!==ne||_P(t,e.__elementTypeId$);default:return!0}}function cit(e){var t,n,i=e.o,a;pb(),e.A.dc()||aM(e.A,ASt)?a=i.a:(a=e.D?r.Math.max(i.a,zI(e.f)):zI(e.f),e.A.Gc((EN(),E5))&&!e.B.Gc((hR(),F5))&&(a=r.Math.max(a,zI(F(zC(e.p,(Dz(),n5)),253))),a=r.Math.max(a,zI(F(zC(e.p,y5),253)))),t=rHe(e),t&&(a=r.Math.max(a,t.a))),i.a=Gp(nb(e.e.Rf().mf((Hz(),D6))))?r.Math.max(i.a,a):a,n=e.f.i,n.c=0,n.b=a,jR(e.f)}function lit(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 uit(e,t){var n,r,i,a=0,o,s=0,c=0;for(i=new D(e.f.e);i.a0&&e.d!=(JD(),tX)&&(s+=o*(r.d.a+e.a[t.a][r.a]*(t.d.a-r.d.a)/n)),n>0&&e.d!=(JD(),$Y)&&(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 dit(e){var t,n=(!e.a&&(e.a=new oy(q5,e,5)),e.a).i+2,r,i,a,o=new pD(n);for(ry(o,new j(e.j,e.k)),xh(new Mx(null,(!e.a&&(e.a=new oy(q5,e,5)),new DT(e.a,16))),new Loe(o)),ry(o,new j(e.b,e.c)),t=1;t0&&(ej(c,!1,(hM(),i8)),ej(c,!0,a8)),kO(t.g,new ife(e,n)),LC(e.g,t,n)}function mit(){mit=C,vFt=new rv(bgt,(by(),!1)),K(-1),uFt=new rv(xgt,K(-1)),K(-1),dFt=new rv(Sgt,K(-1)),fFt=new rv(Cgt,!1),pFt=new rv(wgt,!1),TFt=(PE(),c3),wFt=new rv(Tgt,TFt),EFt=new rv(Egt,-1),CFt=(GM(),$4),SFt=new rv(Dgt,CFt),xFt=new rv(Ogt,!0),_Ft=(PD(),l3),gFt=new rv(kgt,_Ft),hFt=new rv(Agt,!1),K(1),mFt=new rv(jgt,K(1)),bFt=(vM(),u3),yFt=new rv(Mgt,bFt)}function hit(){hit=C;var e;for(Zbt=W(A(q9,1),cV,30,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]),WJ=H(q9,cV,30,37,15,1),Qbt=W(A(q9,1),cV,30,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]),$bt=H(Y9,hft,30,37,14,1),e=2;e<=36;e++)WJ[e]=Gw(r.Math.pow(e,Zbt[e])),$bt[e]=SF(CB,WJ[e])}function git(e){var t;if((!e.a&&(e.a=new I(Q5,e,6,6)),e.a).i!=1)throw O(new Hp(k_t+(!e.a&&(e.a=new I(Q5,e,6,6)),e.a).i));return t=new Uf,HHe(F(U((!e.b&&(e.b=new Db(X5,e,4,7)),e.b),0),84))&&Gk(t,odt(e,HHe(F(U((!e.b&&(e.b=new Db(X5,e,4,7)),e.b),0),84)),!1)),HHe(F(U((!e.c&&(e.c=new Db(X5,e,5,8)),e.c),0),84))&&Gk(t,odt(e,HHe(F(U((!e.c&&(e.c=new Db(X5,e,5,8)),e.c),0),84)),!0)),t}function _it(e,t){var n,r,i=t.d?e.a.c==(Hw(),w2)?zM(t.b):VM(t.b):e.a.c==(Hw(),C2)?zM(t.b):VM(t.b),a=!1,o;for(r=new uS(py(i.a.Jc(),new f));rL(r);)if(n=F(zE(r),17),o=Gp(e.a.f[e.a.g[t.b.p].p]),(o||IE(n)||n.c.i.c!=n.d.i.c)&&!(Gp(e.a.n[e.a.g[t.b.p].p])||Gp(e.a.n[e.a.g[t.b.p].p]))&&(a=!0,uh(e.b,e.a.g[cZe(n,t.b).p])))return t.c=!0,t.a=n,t;return t.c=a,t.a=null,t}function vit(e,t,n){var r=n.gc(),i,a,o,s,c,l;if(r==0)return!1;if(e.Nj()){if(c=e.Oj(),Fqe(e,t,n),o=r==1?e.Gj(3,null,n.Jc().Pb(),t,c):e.Gj(5,null,n,t,c),e.Kj()){for(s=r<100?null:new Fm(r),a=t+r,i=t;i0){for(s=0;s>16==-15&&e.Cb.Vh()&&LD(new bD(e.Cb,9,13,n,e.c,SP(qD(F(e.Cb,62)),e))):N(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(t=e.c,N(t,88)||(t=(Kz(),t9)),N(n,88)||(n=(Kz(),t9)),LD(new bD(e.Cb,9,10,n,t,SP(bE(F(e.Cb,29)),e)))))),e.c}function Eit(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m;if(t==n)return!0;if(t=A8e(e,t),n=A8e(e,n),r=IP(t),r){if(u=IP(n),u!=r)return u?(c=r.kk(),m=u.kk(),c==m&&c!=null):!1;if(o=(!t.d&&(t.d=new oy(z7,t,1)),t.d),a=o.i,f=(!n.d&&(n.d=new oy(z7,n,1)),n.d),a==f.i){for(l=0;l0,s=QM(t,a),Yge(n?s.b:s.g,t),Ij(s).c.length==1&&DE(r,s,r.c.b,r.c),i=new M_(a,t),cE(e.o,i),BD(e.e.a,a))}function jit(e,t){var n,i=r.Math.abs(kS(e.b).a-kS(t.b).a),a,o,s,c=r.Math.abs(kS(e.b).b-kS(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 Mit(e){var t,n,r,i;for(Tz(e,e.e,e.f,(Vw(),j2),!0,e.c,e.i),Tz(e,e.e,e.f,j2,!1,e.c,e.i),Tz(e,e.e,e.f,M2,!0,e.c,e.i),Tz(e,e.e,e.f,M2,!1,e.c,e.i),Tit(e,e.c,e.e,e.f,e.i),r=new qT(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&JB;for(o=26,c=0;o<=51;++o,c++)M9[o]=97+c&JB;for(e=52,s=0;e<=61;++e,s++)M9[e]=48+s&JB;M9[62]=43,M9[63]=47}function Pit(e,t){var n,i,a=dVe(e),o,s,c=dVe(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)*_ft)+1)-(t.d>0?t.d:r.Math.floor((t.a-1)*_ft)+1),n>i+1?a:n0&&(s=fE(s,kat(i))),jJe(o,s))):au&&(p=0,m+=l+t,l=0),tR(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 Rit(e,t){var n,r,i,a,o,s,c;if(!eT(e))throw O(new Up(O_t));if(r=eT(e),a=r.g,i=r.f,a<=0&&i<=0)return Dz(),b5;switch(s=e.i,c=e.j,t.g){case 2:case 1:if(s<0)return Dz(),x5;if(s+e.g>a)return Dz(),t5;break;case 4:case 3:if(c<0)return Dz(),n5;if(c+e.f>i)return Dz(),y5}return o=(s+e.g/2)/a,n=(c+e.f/2)/i,o+n<=1&&o-n<=0?(Dz(),x5):o+n>=1&&o-n>=0?(Dz(),t5):n<.5?(Dz(),n5):(Dz(),y5)}function zit(e,t,n,r,i){var a=IM(FT(t[0],PV),FT(r[0],PV)),o;if(e[0]=Wx(a),a=fS(a,32),n>=i){for(o=1;o0&&(i.b[o++]=0,i.b[o++]=a.b[0]-1),t=1;t0&&(il(c,c.d-i.d),i.c==($E(),k2)&&rl(c,c.a-i.d),c.d<=0&&c.i>0&&DE(t,c,t.c.b,t.c)));for(a=new D(e.f);a.a0&&(al(s,s.i-i.d),i.c==($E(),k2)&&Kie(s,s.b-i.d),s.i<=0&&s.d>0&&DE(n,s,n.c.b,n.c)))}function Uit(e,t,n,r,i){var a,o,s,c,l,u,d,f,p;for(fw(),Bv(e,new Xne),o=nx(e),p=new Od,f=new Od,s=null,c=0;o.b!=0;)a=F(o.b==0?null:(Ky(o.b!=0),DO(o,o.a.a)),167),!s||Ux(s)*Hx(s)/21&&(c>Ux(s)*Hx(s)/2||o.b==0)&&(d=new jO(f),u=Ux(s)/Hx(s),l=Mz(d,t,new Lf,n,r,i,u),wb(cv(d.e),l),s=d,zd(p.c,d),c=0,f.c.length=0));return VA(p,f),p}function OR(e,t,n,r,i){gh();var a,o,s,c,l,u,d;if(ETe(e,`src`),ETe(n,`dest`),d=Cj(e),c=Cj(n),VSe(!!(d.i&4),`srcType is not an array`),VSe(!!(c.i&4),`destType is not an array`),u=d.c,o=c.c,VSe(u.i&1?u==o:!(o.i&1),`Array types don't match`),PUe(e,t,n,r,i),!(u.i&1)&&d!=c){if(l=zO(e),a=zO(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&&kC(r);for(o=new D(p);o.a0),r.a.Xb(r.c=--r.b)}}function Kit(){Wz();var e,t,n,r,i,a;if(KVt)return KVt;for(e=(++W9,new RT(4)),$R(e,Az(uJ,!0)),_z(e,Az(`M`,!0)),_z(e,Az(`C`,!0)),a=(++W9,new RT(4)),r=0;r<11;r++)VL(a,r,r);return t=(++W9,new RT(4)),$R(t,Az(`M`,!0)),VL(t,4448,4607),VL(t,65438,65439),i=(++W9,new Lv(2)),lz(i,e),lz(i,V9),n=(++W9,new Lv(2)),n.Hm(Lx(a,Az(`L`,!0))),n.Hm(t),n=(++W9,new vE(3,n)),n=(++W9,new MTe(i,n)),KVt=n,KVt}function kR(e,t){var n=new RegExp(t,`g`),r,i,a,o,s,c=H(KJ,vB,2,0,6,1),l;for(r=0,l=e,a=null;;){if(s=n.exec(l),s==null||l==``){c[r]=l;break}o=s.index,c[r]=(uD(0,o,l.length),l.substr(0,o)),l=jw(l,o+s[0].length,l.length),n.lastIndex=0,a==l&&(c[r]=(uD(0,1,l.length),l.substr(0,1)),l=(kT(1,l.length+1),l.substr(1))),a=l,++r}if(e.length>0){for(i=c.length;i>0&&c[i-1]==``;)--i;id&&(d=l),lu&&(u=d),m=(r.Math.log(u)-r.Math.log(1))/t,o=r.Math.exp(m),a=o,s=0;s0&&(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),$x(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=nP(i,0);r.b!=r.d.c;)for(n=F(sE(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),eS(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;l=t.o&&n.f<=t.f||t.a*.5<=n.f&&t.a*1.5>=n.f){if(o=F(kx(t.n,t.n.c.length-1),208),o.e+o.d+n.g+i<=r&&(a=F(kx(t.n,t.n.c.length-1),208),a.f-e.f+n.f<=e.b||e.a.c.length==1))return WKe(t,n),!0;if(t.s+n.g<=r&&t.t+t.d+n.f+i<=e.f+e.b)return ry(t.b,n),s=F(kx(t.n,t.n.c.length-1),208),ry(t.n,new Xw(t.s,s.f+s.a+t.i,t.i)),qXe(F(kx(t.n,t.n.c.length-1),208),n),Qit(t,n),!0}return!1}function PR(e,t,n,r){var i,a,o,s,c=LL(e.e.Ah(),t);if(i=F(e.g,122),qh(),F(t,69).vk()){for(o=0;o0||ZM(a.b.d,e.b.d+e.b.a)==0&&i.b<0||ZM(a.b.d+a.b.a,e.b.d)==0&&i.b>0){c=0;break}}else c=r.Math.min(c,A3e(e,a,i));c=r.Math.min(c,rat(e,o,c,i))}return c}function iat(e,t){var n,r,i,a,o,s,c;if(e.b<2)throw O(new Hp(`The vector chain must contain at least a source and a target point.`));for(i=(Ky(e.b!=0),F(e.a.a.c,8)),Tv(t,i.a,i.b),c=new Ny((!t.a&&(t.a=new oy(q5,t,5)),t.a)),o=nP(e,1);o.a=0&&a!=n))throw O(new Hp(XK));for(i=0,c=0;ck($v(o.g,o.d[0]).a)?(Ky(c.b>0),c.a.Xb(c.c=--c.b),_b(c,o),i=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Od),s.e).Kc(t),l=(!s.e&&(s.e=new Od),s.e).Kc(n),(a||l)&&((!s.e&&(s.e=new Od),s.e).Ec(o),++o.c));i||zd(r.c,o)}function cat(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(Y(t,(Hz(),U6)),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(Y(n,U6),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>=jV?(n=(t=e>>>0,`0`+t.toString(16)),r=`\\v`+jw(n,n.length-6,n.length)):r=``+String.fromCharCode(e&JB)}return r}function _at(e,t){for(var n,r,i,a=new D(e.b),o,s,c,l,u;a.an)t.Ug();else{switch(F(q(e,(zz(),C0)),350).g){case 2:a=new ri;break;case 0:a=new qr;break;default:a=new ii}if(r=a.mg(e,i),!a.ng())switch(F(q(e,T0),351).g){case 2:r=P3e(i,r);break;case 1:r=v1e(i,r)}Lot(e,i,r),t.Ug()}}function LR(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 xat(e,t){var n,r,i,a;if(gAe(e.d,e.e),e.c.a.$b(),k(P(q(t.j,(zz(),q$))))!=0||k(P(q(t.j,q$)))!=0)for(n=$W,M(q(t.j,n1))!==M((NN(),X0))&&G(t.j,(X(),JQ),(by(),!0)),a=F(q(t.j,x0),15).a,i=0;ii&&++l,ry(o,(OT(s+l,t.c.length),F(t.c[s+l],15))),c+=(OT(s+l,t.c.length),F(t.c[s+l],15)).a-r,++n;n=_&&e.e[l.p]>h*e.b||b>=n*_)&&(zd(p.c,c),c=new Od,Gk(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 M_(m,p)}function RR(e){var t,n,r,i,a,o,s;if(!e.d){if(s=new are,t=l9,a=t.a.yc(e,t),a==null){for(r=new uy(Pw(e));r.e!=r.i.gc();)n=F(aP(r),29),nC(s,RR(n));t.a.Ac(e),t.a.gc()}for(o=s.i,i=(!e.q&&(e.q=new I(B7,e,11,10)),new uy(e.q));i.e!=i.i.gc();++o)F(aP(i),403);nC(s,(!e.q&&(e.q=new I(B7,e,11,10)),e.q)),Fj(s),e.d=new av((F(U(z((eC(),K7).o),9),19),s.i),s.g),e.e=F(s.g,678),e.e??=WBt,LE(e).b&=-17}return e.d}function zR(e,t,n,r){var i,a,o,s,c,l=LL(e.e.Ah(),t);if(c=0,i=F(e.g,122),qh(),F(t,69).vk()){for(o=0;o1||m==-1){if(d=F(h,72),f=F(u,72),d.dc())f.$b();else for(o=!!kP(t),a=0,s=e.a?d.Jc():d.Gi();s.Ob();)l=F(s.Pb(),57),i=F(oO(e,l),57),i?(o?(c=f.bd(i),c==-1?f.Ei(a,i):a!=c&&f.Si(a,i)):f.Ei(a,i),++a):e.b&&!o&&(f.Ei(a,l),++a)}else h==null?u.Wb(null):(i=oO(e,h),i==null?e.b&&!kP(t)&&u.Wb(h):u.Wb(i))}}function Eat(e,t){for(var n=new dn,i,a=new uS(py(zM(t).a.Jc(),new f)),o,s,c,l,u;rL(a);)if(i=F(zE(a),17),!IE(i)&&(c=i.c.i,R1e(c,FX))){if(u=xtt(e,c,FX,PX),u==-1)continue;n.b=r.Math.max(n.b,u),!n.a&&(n.a=new Od),ry(n.a,c)}for(s=new uS(py(VM(t).a.Jc(),new f));rL(s);)if(o=F(zE(s),17),!IE(o)&&(l=o.d.i,R1e(l,PX))){if(u=xtt(e,l,PX,FX),u==-1)continue;n.d=r.Math.max(n.d,u),!n.c&&(n.c=new Od),ry(n.c,l)}return n}function Dat(e,t,n,r){var i,a,o,s,c,l,u;if(n.d.i!=t.i){for(i=new MP(e),Qc(i,(pL(),EX)),G(i,(X(),d$),n),G(i,(zz(),X1),(LF(),U8)),zd(r.c,i),o=new uI,uT(o,i),PI(o,(Dz(),x5)),s=new uI,uT(s,i),PI(s,t5),u=n.d,lT(n,o),a=new Dw,wA(a,n),G(a,T1,null),sT(a,s),lT(a,u),l=new qT(n.b,0);l.b1e6)throw O(new Pp(`power of ten too big`));if(e<=$z)return BE(JI(eY[1],t),t);for(r=JI(eY[1],$z),i=r,n=gA(e-$z),t=Gw(e%$z);Gj(n,$z)>0;)i=fE(i,r),n=RM(n,$z);for(i=fE(i,JI(eY[1],t)),i=BE(i,$z),n=gA(e-$z);Gj(n,$z)>0;)i=BE(i,$z),n=RM(n,$z);return i=BE(i,t),i}function Aat(e){for(var t,n,r,i,a,o,s,c=new D(e.a),l,u;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.ah(`bk node placement breaks on `+s+` which should have been after `+u);break}if(!i)break}return n.$g()&&n.ah(t+` is feasible: `+i),i}function Nat(e,t,n,r){var i,a=new MP(e),o,s,c,l,u,d,f;if(Qc(a,(pL(),kX)),G(a,(zz(),X1),(LF(),U8)),i=0,t){for(o=new uI,G(o,(X(),d$),t),G(a,d$,t.i),PI(o,(Dz(),x5)),uT(o,a),f=YT(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(!nut(t,l,u,s,o)){c=i-1,l[0]=a;continue}}else if(i=-1,!nut(t,l,u,0,o))return 0}else{if(i=-1,IC(u.c,0)==32){if(d=l[0],xze(t,l),l[0]>d)continue}else if(FOe(t,u.c,l[0])){l[0]+=u.c.length;continue}return 0}return Ilt(o,n)?l[0]:0}function Iat(e,t,n){var r,i,a,o,s,c,l,u=new bS(new ou(n)),d,f;for(s=H(J9,rH,30,e.f.e.c.length,16,1),bTe(s,s.length),n[t.a]=0,l=new D(e.f.e);l.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 HR(e){var t,n,r,i,a,o,s,c;if(!e.f){if(c=new Co,s=new Co,t=l9,o=t.a.yc(e,t),o==null){for(a=new uy(Pw(e));a.e!=a.i.gc();)i=F(aP(a),29),nC(c,HR(i));t.a.Ac(e),t.a.gc()}for(r=(!e.s&&(e.s=new I(M7,e,21,17)),new uy(e.s));r.e!=r.i.gc();)n=F(aP(r),179),N(n,103)&&hD(s,F(n,19));Fj(s),e.r=new rCe(e,(F(U(z((eC(),K7).o),6),19),s.i),s.g),nC(c,e.r),Fj(c),e.f=new av((F(U(z(K7.o),5),19),c.i),c.g),LE(e).b&=-3}return e.f}function UR(){UR=C,iBt=W(A(K9,1),KB,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),aBt=RegExp(`[ +\r\f]+`);try{l7=W(A(KBt,1),iB,2079,0,[new hd((Xme(),gN(`yyyy-MM-dd'T'HH:mm:ss'.'SSSZ`,Cb((om(),om(),jJ))))),new hd(gN(`yyyy-MM-dd'T'HH:mm:ss'.'SSS`,Cb(jJ))),new hd(gN(`yyyy-MM-dd'T'HH:mm:ss`,Cb(jJ))),new hd(gN(`yyyy-MM-dd'T'HH:mm`,Cb(jJ))),new hd(gN(`yyyy-MM-dd`,Cb(jJ)))])}catch(e){if(e=UA(e),!N(e,80))throw O(e)}}function Rat(e){var t,n=null,r,i,a,o,s=null;for(r=F(q(e.b,(zz(),_1)),348),r==(Oj(),o2)&&(n=new Od,s=new Od),o=new D(e.d);o.an);return a}function Bat(e,t){var n,r,i=_L(e.d,1)!=0,a;if(r=OI(e,t),r==0&&Gp(nb(q(t.j,(X(),JQ)))))return 0;!Gp(nb(q(t.j,(X(),JQ))))&&!Gp(nb(q(t.j,b$)))||M(q(t.j,(zz(),n1)))===M((NN(),X0))?t.c.kg(t.e,i):i=Gp(nb(q(t.j,JQ))),jL(e,t,i,!0),Gp(nb(q(t.j,b$)))&&G(t.j,b$,(by(),!1)),Gp(nb(q(t.j,JQ)))&&(G(t.j,JQ,(by(),!1)),G(t.j,b$,!0)),n=OI(e,t);do{if(sVe(e),n==0)return 0;i=!i,a=n,jL(e,t,i,!1),n=OI(e,t)}while(a>n);return a}function Vat(e,t,n){var r=F(q(e,(zz(),r1)),22),i,a,o,s;if(n.a>t.a&&(r.Gc((MF(),n6))?e.c.a+=(n.a-t.a)/2:r.Gc(i6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Gc((MF(),o6))?e.c.b+=(n.b-t.b)/2:r.Gc(a6)&&(e.c.b+=n.b-t.b)),F(q(e,(X(),YQ)),22).Gc((WL(),gQ))&&(n.a>t.a||n.b>t.b))for(s=new D(e.a);s.at.a&&(r.Gc((MF(),n6))?e.c.a+=(n.a-t.a)/2:r.Gc(i6)&&(e.c.a+=n.a-t.a)),n.b>t.b&&(r.Gc((MF(),o6))?e.c.b+=(n.b-t.b)/2:r.Gc(a6)&&(e.c.b+=n.b-t.b)),F(q(e,(X(),YQ)),22).Gc((WL(),gQ))&&(n.a>t.a||n.b>t.b))for(o=new D(e.a);o.a=0&&f<=1&&p>=0&&p<=1?wb(new j(e.a,e.b),ny(new j(t.a,t.b),f)):null}function WR(e,t,n){var i,a,o=0,s=e.t,c,l,u,d,f,p;for(a=0,i=0,l=0,p=0,f=0,n&&(e.n.c.length=0,ry(e.n,new Xw(e.s,e.t,e.i))),c=0,d=new D(e.b);d.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,ry(e.n,new Xw(e.s,s,e.i))),c=0),p+=u.g+(c>0?e.i:0),l=r.Math.max(l,u.f),n&&qXe(F(kx(e.n,f),208),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,FZe(e.j)),new rw(e.s,e.t,a,i)}function GR(e){var t,n=M(Y(e,(zz(),u1)))===M((mL(),XZ))||M(Y(e,u1))===M(GZ)||M(Y(e,u1))===M(KZ)||M(Y(e,u1))===M(JZ)||M(Y(e,u1))===M(ZZ)||M(Y(e,u1))===M(QZ),r=M(Y(e,k1))===M((kL(),D0))||M(Y(e,k1))===M(k0)||M(Y(e,O1))===M((oR(),W0))||M(Y(e,O1))===M((oR(),G0));return t=M(Y(e,n1))!==M((NN(),X0))||Gp(nb(Y(e,i1)))||M(Y(e,K$))!==M((HN(),yX))||k(P(Y(e,q$)))!=0||k(P(Y(e,J$)))!=0,n||r||t}function KR(e){var t,n,r,i,a,o,s,c;if(!e.a){if(e.o=null,c=new pse(e),t=new wo,n=l9,s=n.a.yc(e,n),s==null){for(o=new uy(Pw(e));o.e!=o.i.gc();)a=F(aP(o),29),nC(c,KR(a));n.a.Ac(e),n.a.gc()}for(i=(!e.s&&(e.s=new I(M7,e,21,17)),new uy(e.s));i.e!=i.i.gc();)r=F(aP(i),179),N(r,335)&&hD(t,F(r,38));Fj(t),e.k=new nCe(e,(F(U(z((eC(),K7).o),7),19),t.i),t.g),nC(c,e.k),Fj(c),e.a=new av((F(U(z(K7.o),4),19),c.i),c.g),LE(e).b&=-2}return e.a}function Gat(e){var t,n,i,a,o,s,c=e.d,l,u,d,f=F(q(e,(X(),j$)),16),p;if(t=F(q(e,FQ),16),f||t){if(o=k(P(DN(e,(zz(),i0)))),s=k(P(DN(e,PAt))),p=0,f){for(u=0,a=f.Jc();a.Ob();)i=F(a.Pb(),9),u=r.Math.max(u,i.o.b),p+=i.o.a;p+=o*(f.gc()-1),c.d+=u+s}if(n=0,t){for(u=0,a=t.Jc();a.Ob();)i=F(a.Pb(),9),u=r.Math.max(u,i.o.b),n+=i.o.a;n+=o*(t.gc()-1),c.a+=u+s}l=r.Math.max(p,n),l>e.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 Kat(e,t,n,r){var i,a,o,s,c,l,u=LL(e.e.Ah(),t);if(i=0,a=F(e.g,122),c=null,qh(),F(t,69).vk()){for(s=0;ss?1:-1,i==-1)d=-c,u=o==c?yFe(t.a,s,e.a,a):sD(t.a,s,e.a,a);else if(d=o,o==c){if(i==0)return iR(),QJ;u=yFe(e.a,a,t.a,s)}else u=sD(e.a,a,t.a,s);return l=new FS(d,u.length,u),WT(l),l}function Yat(e,t){var n,r,i,a=Fit(t);if(!t.c&&(t.c=new I(c7,t,9,9)),xh(new Mx(null,(!t.c&&(t.c=new I(c7,t,9,9)),new DT(t.c,16))),new gu(a)),i=F(q(a,(X(),YQ)),22),Rct(t,i),i.Gc((WL(),gQ)))for(r=new uy((!t.c&&(t.c=new I(c7,t,9,9)),t.c));r.e!=r.i.gc();)n=F(aP(r),125),ylt(e,t,a,n);return F(Y(t,(zz(),H1)),182).gc()!=0&&Ket(t,a),Gp(nb(q(a,xAt)))&&i.Ec(xQ),Yy(a,r0)&&oce(new pqe(k(P(q(a,r0)))),a),M(Y(t,x1))===M((Ej(),x8))?wdt(e,t,a):Dlt(e,t,a),a}function QR(e,t){var n,r,i,a,o,s,c;if(e==null)return null;if(a=e.length,a==0)return``;for(c=H(K9,KB,30,a,15,1),uD(0,a,e.length),uD(0,a,c.length),zTe(e,0,a,c,0),n=null,s=t,i=0,o=0;i0?jw(n.a,0,a-1):``):(uD(0,a-1,e.length),e.substr(0,a-1)):n?n.a:e}function Xat(e,t,n){var r,i,a;if(Yy(t,(zz(),E1))&&(M(q(t,E1))===M((nN(),P$))||M(q(t,E1))===M(I$))||Yy(n,E1)&&(M(q(n,E1))===M((nN(),P$))||M(q(n,E1))===M(I$)))return 0;if(r=jC(t),i=rnt(e,t,n),i!=0)return i;if(Yy(t,(X(),u$))&&Yy(n,u$)){if(a=Hv(PL(t,n,r,F(q(r,l$),15).a),PL(n,t,r,F(q(r,l$),15).a)),M(q(r,X$))===M((YA(),kQ))&&M(q(t,Z$))!==M(q(n,Z$))&&(a=0),a<0)return rR(e,t,n),a;if(a>0)return rR(e,n,t),a}return Z6e(e,t,n)}function Zat(e,t){for(var n,r=new uS(py(gL(t).a.Jc(),new f)),i,a,o,s,c,l,u,d,p;rL(r);)n=F(zE(r),85),N(U((!n.b&&(n.b=new Db(X5,n,4,7)),n.b),0),193)||(c=VF(F(U((!n.c&&(n.c=new Db(X5,n,5,8)),n.c),0),84)),$I(n)||(o=t.i+t.g/2,s=t.j+t.f/2,u=c.i+c.g/2,d=c.j+c.f/2,p=new Nm,p.a=u-o,p.b=d-s,a=new j(p.a,p.b),vF(a,t.g,t.f),p.a-=a.a,p.b-=a.b,o=u-p.a,s=d-p.b,l=new j(p.a,p.b),vF(l,c.g,c.f),p.a-=l.a,p.b-=l.b,u=o+p.a,d=s+p.b,i=IL(n),YO(i,o),XO(i,s),WO(i,u),GO(i,d),Zat(e,c)))}function $R(e,t){var n,r,i,a,o=F(t,137);if(sL(e),sL(o),o.b!=null){if(e.c=!0,e.b==null)e.b=H(q9,cV,30,o.b.length,15,1),OR(o.b,0,e.b,0,o.b.length);else{for(a=H(q9,cV,30,e.b.length+o.b.length,15,1),n=0,r=0,i=0;n=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(MKe(e.n,l),e.d=n,e.r=i,e.g=0,e.f=0,e.e=0,e.o=DV,e.p=DV,o=new D(e.b);o.a0&&(i=(!e.n&&(e.n=new I(o7,e,1,7)),F(U(e.n,0),157)).a,!i||Q_(Q_((t.a+=` "`,t),i),`"`))),n=(!e.b&&(e.b=new Db(X5,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new Db(X5,e,5,8)),e.c.i<=1))),n?t.a+=` [`:t.a+=` `,Q_(t,sge(new am,new uy(e.b))),n&&(t.a+=`]`),t.a+=fU,n&&(t.a+=`[`),Q_(t,sge(new am,new uy(e.c))),n&&(t.a+=`]`),t.a)}function tot(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(dN(e,(uk(),t2)).Jc().Pb(),12),ne=F(dN(e,n2).Jc().Pb(),12),b=F(dN(t,t2).Jc().Pb(),12),C=F(dN(t,n2).Jc().Pb(),12),_=YT(y.e),ee=YT(ne.g),v=YT(b.e),te=YT(C.g),cF(e,r,S),o=v,u=0,m=o.length;u0&&l[i]&&(h=Kv(e.b,l[i],a)),g=r.Math.max(g,a.c.c.b+h);for(o=new D(d.e);o.ad?new _T(($E(),A2),n,t,u-d):u>0&&d>0&&(new _T(($E(),A2),t,n,0),new _T(A2,n,t,0))),s)}function oot(e,t,n){var r,i,a;for(e.a=new Od,a=nP(t.b,0);a.b!=a.d.c;){for(i=F(sE(a),40);F(q(i,(AR(),p4)),15).a>e.a.c.length-1;)ry(e.a,new M_($W,Rht));r=F(q(i,p4),15).a,n==(hM(),i8)||n==a8?(i.e.ak(P(F(kx(e.a,r),49).b))&&ul(F(kx(e.a,r),49),i.e.a+i.f.a)):(i.e.bk(P(F(kx(e.a,r),49).b))&&ul(F(kx(e.a,r),49),i.e.b+i.f.b))}}function sot(e,t,n,r){var i,a=kM(r),o,s=Gp(nb(q(r,(zz(),hAt)))),c,l,u;if((s||Gp(nb(q(e,S1))))&&!vv(F(q(e,X1),102)))i=sN(a),c=Zrt(e,n,n==(uk(),n2)?i:bM(i));else switch(c=new uI,uT(c,e),t?(u=c.n,u.a=t.a-e.n.a,u.b=t.b-e.n.b,Z2e(u,0,0,e.o.a,e.o.b),PI(c,rit(c,a))):(i=sN(a),PI(c,n==(uk(),n2)?i:bM(i))),o=F(q(r,(X(),YQ)),22),l=c.j,a.g){case 2:case 1:(l==(Dz(),n5)||l==y5)&&o.Ec((WL(),bQ));break;case 4:case 3:(l==(Dz(),t5)||l==x5)&&o.Ec((WL(),bQ))}return c}function cot(e,t){for(var n,i,a,o,s=new cA(new Dl(e.f.b).a),c;s.b;){if(o=Tk(s),a=F(o.jd(),592),t==1){if(a.yf()!=(hM(),s8)&&a.yf()!=r8)continue}else if(a.yf()!=(hM(),i8)&&a.yf()!=a8)continue;switch(i=F(F(o.kd(),49).b,82),c=F(F(o.kd(),49).a,194),n=c.c,a.yf().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 lot(e,t){var n,i,a,o,s,c,l,u,d,f;for(t.Tg(`Simple node placement`,1),f=F(q(e,(X(),S$)),317),c=0,o=new D(e.b);o.a1)throw O(new Hp(Zq));c||(a=gE(t,r.Jc().Pb()),o.Ec(a))}return hUe(e,b4e(e,t,n),o)}function ez(e,t,n){var r,i,a,o,s,c,l,u;if(BL(e.e,t))c=(qh(),F(t,69).vk()?new Cx(t,e):new W_(t,e)),ZI(c.c,c.b),qv(c,F(n,18));else{for(u=LL(e.e.Ah(),t),r=F(e.g,122),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 yot(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 bot(e){var t,n,i=Lz((!e.c&&(e.c=wT(gA(e.f))),e.c),0),a;if(e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(t=+(dVe(e)<0),n=e.e,a=(i.length+1+r.Math.abs(Gw(e.e)),new fm),t==1&&(a.a+=`-`),e.e>0){if(n-=i.length-t,n>=0){for(a.a+=`0.`;n>qJ.length;n-=qJ.length)qCe(a,qJ);Lve(a,qJ,Gw(n)),Q_(a,(kT(t,i.length+1),i.substr(t)))}else n=t-n,Q_(a,jw(i,t,Gw(n))),a.a+=`.`,Q_(a,aEe(i,Gw(n)))}else{for(Q_(a,(kT(t,i.length+1),i.substr(t)));n<-qJ.length;n+=qJ.length)qCe(a,qJ);Lve(a,qJ,Gw(-n))}return a.a}function nz(e){var t,n,r,i,a,o,s,c,l;return!(e.k!=(pL(),OX)||e.j.c.length<=1||(a=F(q(e,(zz(),X1)),102),a==(LF(),U8))||(i=(yP(),r=(e.q?e.q:(fw(),fw(),rY))._b(R1)?F(q(e,R1),203):F(q(jC(e),z1),203),r),i==I0)||i!=F0&&i!=P0&&(o=k(P(DN(e,b0))),t=F(q(e,y0),140),!t&&(t=new oye(o,o,o,o)),l=MM(e,(Dz(),x5)),c=t.d+t.a+(l.gc()-1)*o,c>e.o.b||(n=MM(e,t5),s=t.d+t.a+(n.gc()-1)*o,s>e.o.b)))}function xot(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;t.Tg(`Orthogonal edge routing`,1),l=k(P(q(e,(zz(),_0)))),n=k(P(q(e,s0))),r=k(P(q(e,u0))),f=new sC(0,n),g=0,o=new qT(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),p0;for(s=F(q(e.c.i,q1),15).a,a=F(TE(ZC(t.Mc(),new Iae(s)),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),16),o=new ph,u=new df,fx(o,e.c.i),LS(u,e.c.i);o.b!=0;){if(n=F(o.b==0?null:(Ky(o.b!=0),DO(o,o.a.a)),9),a.Gc(n))return!0;for(i=new uS(py(VM(n).a.Jc(),new f));rL(i);)r=F(zE(i),17),c=r.d.i,u.a._b(c)||(u.a.yc(c,u),DE(o,c,o.c.b,o.c))}return!1}function Aot(e,t,n){var r,i,a,o,s,c,l,u,d=new Od;for(u=new jje(0,n),a=0,hk(u,new fj(0,0,u,n)),i=0,l=new uy(e);l.e!=l.i.gc();)c=F(aP(l),26),r=F(kx(u.a,u.a.c.length-1),173),s=i+c.g+(F(kx(u.a,0),173).b.c.length==0?0:n),(s>t||Gp(nb(Y(c,(JL(),n3)))))&&(i=0,a+=u.b+n,zd(d.c,u),u=new jje(a,n),r=new fj(0,u.f,u,n),hk(u,r),i=0),r.b.c.length==0||!Gp(nb(Y(aT(c),(JL(),i3))))&&(c.f>=r.o&&c.f<=r.f||r.a*.5<=c.f&&r.a*1.5>=c.f)?WKe(r,c):(o=new fj(r.s+r.r+n,u.f,u,n),hk(u,o),WKe(o,c)),i=c.i+c.g;return zd(d.c,u),d}function sz(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 Lb(F(VE(e.a,a),22)),fw(),Bv(r,new uu(t)),i=new qT(a.b,0);i.b0&&r>=-6?r>=0?xy(a,n-Gw(e.e),`.`):(lA(a,t-1,t-1,`0.`),xy(a,t+1,MN(qJ,0,-Gw(r)-1))):(n-t>=1&&(xy(a,t,`.`),++n),xy(a,n,`E`),r>0&&xy(a,++n,`+`),xy(a,++n,``+_S(gA(r)))),e.g=a.a,e.g)):e.g}function Iot(e,t){var n,i=k(P(q(t,(zz(),vAt)))),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=F(q(t,x0),15).a,ee,te;p=4,a=3,ee=20/S,m=!1,l=0,s=$z;do{for(o=l!=1,f=l!=0,te=0,_=e.a,y=0,x=_.length;yS)?(l=2,s=$z):l==0?(l=1,s=te):(l=0,s=te)):(m=te>=s||s-te=jV?Y_(n,BKe(r)):bC(n,r&JB),o=(++W9,new zw(10,null,0)),CTe(e.a,o,s-1)):(n=(o.Km().length+a,new um),Y_(n,o.Km())),t.e==0?(r=t.Im(),r>=jV?Y_(n,BKe(r)):bC(n,r&JB)):Y_(n,t.Km()),F(o,518).b=n.a))}}function Lot(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.Jc(),m=F(r.Pb(),15).a;s0?1:vb(isNaN(i),!1))>=0^(ok(nG),(r.Math.abs(c)<=nG||c==0?0:c<0?-1:c>0?1:vb(isNaN(c),!1))>=0)?r.Math.max(c,i):(ok(nG),(r.Math.abs(i)<=nG||i==0?0:i<0?-1:i>0?1:vb(isNaN(i),!1))>0?r.Math.sqrt(c*c+i*i):-r.Math.sqrt(c*c+i*i))}function Vot(e){var t,n,i,a=e.o;pb(),e.A.dc()||aM(e.A,ASt)?t=a.b:(t=e.D?r.Math.max(a.b,RI(e.f)):RI(e.f),e.A.Gc((EN(),E5))&&!e.B.Gc((hR(),F5))&&(t=r.Math.max(t,RI(F(zC(e.p,(Dz(),t5)),253))),t=r.Math.max(t,RI(F(zC(e.p,x5),253)))),n=rHe(e),n&&(t=r.Math.max(t,n.b)),e.A.Gc(D5)&&(e.q==(LF(),W8)||e.q==U8)&&(t=r.Math.max(t,gx(F(zC(e.b,(Dz(),t5)),127))),t=r.Math.max(t,gx(F(zC(e.b,x5),127))))),a.b=Gp(nb(e.e.Rf().mf((Hz(),D6))))?r.Math.max(a.b,t):t,i=e.f.i,i.d=0,i.a=t,NR(e.f)}function Hot(e,t,n,r,i,a,o,s){var c=HE(W(A(iIt,1),iB,238,0,[t,n,r,i])),l,u,d=null;switch(e.b.g){case 1:d=HE(W(A(KFt,1),iB,524,0,[new ba,new va,new ya]));break;case 0:d=HE(W(A(KFt,1),iB,524,0,[new ya,new va,new ba]));break;case 2:d=HE(W(A(KFt,1),iB,524,0,[new va,new ba,new ya]))}for(u=new D(d);u.a1&&(c=l.Gg(c,e.a,s));return c.c.length==1?F(kx(c,c.c.length-1),238):c.c.length==2?Cot((OT(0,c.c.length),F(c.c[0],238)),(OT(1,c.c.length),F(c.c[1],238)),o,a):null}function Uot(e,t,n){var r,i=new qc(e),a=new l8e,o,s,c,l,u,d,f,p,m;r=(ME(a.n),ME(a.p),BS(a.c),ME(a.f),ME(a.o),BS(a.q),BS(a.d),BS(a.g),BS(a.k),BS(a.e),BS(a.i),BS(a.j),BS(a.r),BS(a.b),f=Y3e(a,i,null),L5e(a,i),f),t&&(c=new qc(t),o=qat(c),E2e(r,W(A(eLt,1),iB,525,0,[o]))),d=!1,u=!1,n&&(c=new qc(n),nq in c.a&&(d=Qw(c,nq).oe().a),fvt in c.a&&(u=Qw(c,fvt).oe().a)),l=cle(Vze(new ip,d),u),U2e(new ja,r,l),nq in i.a&&vO(i,nq,null),(d||u)&&(s=new Ep,Sit(l,s,d,u),vO(i,nq,s)),p=new Qoe(a),vUe(new Dv(r),p),m=new $oe(a),vUe(new Dv(r),m)}function Wot(e,t,n){var r,i,a,o,s,c,l;for(n.Tg(`Find roots`,1),e.a.c.length=0,i=nP(t.b,0);i.b!=i.d.c;)r=F(sE(i),40),r.b.b==0&&(G(r,(Ez(),a4),(by(),!0)),ry(e.a,r));switch(e.a.c.length){case 0:a=new dj(0,t,`DUMMY_ROOT`),G(a,(Ez(),a4),(by(),!0)),G(a,W2,!0),fx(t.b,a);break;case 1:break;default:for(o=new dj(0,t,pG),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 Spe(e.i,e.g),n=e.i,a=n<100?null:new Fm(n),e.Rj())for(r=0;r0){for(s=e.g,l=e.i,UE(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&vV,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&=vV,b+=h>>22,h&=vV,b&=yV,Uv(f,h,b)}function Yot(e){var t,n,i,a,o,s,c=F(kx(e.j,0),12);if(c.g.c.length!=0&&c.e.c.length!=0)throw O(new Up(`Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges.`));if(c.g.c.length!=0){for(o=DV,n=new D(c.g);n.a0&&h4e(e,s,d);for(i=new D(d);i.a4){if(e.dk(t)){if(e.$k()){if(i=F(t,52),r=i.Bh(),c=r==e.e&&(e.kl()?i.vh(i.Ch(),e.gl())==e.hl():-1-i.Ch()==e.Jj()),e.ll()&&!c&&!r&&i.Gh()){for(a=0;ae.d[o.p]&&(n+=APe(e.b,a)*F(c.b,15).a,cE(e.a,K(a)));for(;!qp(e.a);)vRe(e.b,F(KS(e.a),15).a)}return n}function $ot(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_;for(t.Tg(jht,1),m=new Od,d=r.Math.max(e.a.c.length,F(q(e,(X(),l$)),15).a),n=d*F(q(e,LQ),15).a,c=M(q(e,(zz(),Y$)))===M((YA(),OQ)),g=new D(e.a);g.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,(X(),h$),l)}if(c=e.o,o=e.a,r)o.a=r.a,o.b=r.b,e.d=!0;else if(t!=K8&&t!=q8&&s!=b5)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 dz(e){var t,n,r,i,a,o,s,c,l,u;if(e.Nj()){if(u=e.Cj(),c=e.Oj(),u>0){if(t=new HVe(e.nj()),n=u,a=n<100?null:new Fm(n),lb(e,n,t.g),i=n==1?e.Gj(4,U(t,0),null,0,c):e.Gj(6,t,null,-1,c),e.Kj()){for(r=new uy(t);r.e!=r.i.gc();)a=e.Mj(aP(r),a);a?(a.lj(i),a.mj()):e.Hj(i)}else a?(a.lj(i),a.mj()):e.Hj(i)}else lb(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(fw(),nY),null,-1,c))}else if(e.Kj()){if(u=e.Cj(),u>0){for(s=e.Dj(),l=u,lb(e,u,s),a=l<100?null:new Fm(l),r=0;r1&&Ux(o)*Hx(o)/2>s[0]){for(a=0;as[a];)++a;m=new ET(h,0,a+1),d=new jO(m),u=Ux(o)/Hx(o),c=Mz(d,t,new Lf,n,r,i,u),wb(cv(d.e),c),ix(ZF(f,d),IV),p=new ET(h,a+1,h.c.length),lQe(f,p),h.c.length=0,l=0,_we(s,s.length,0)}else g=f.b.c.length==0?null:kx(f.b,0),g!=null&&Ok(f,0),l>0&&(s[l]=s[l-1]),s[l]+=Ux(o)*Hx(o),++l,zd(h.c,o);return h}function cst(e,t){var n=t.b,r,i,a=new Lb(n.j);i=0,r=n.j,r.c.length=0,XS(F(fA(e.b,(Dz(),n5),(Fk(),SZ)),16),n),i=TP(a,i,new Lr,r),XS(F(fA(e.b,n5,xZ),16),n),i=TP(a,i,new ate,r),XS(F(fA(e.b,n5,bZ),16),n),XS(F(fA(e.b,t5,SZ),16),n),XS(F(fA(e.b,t5,xZ),16),n),i=TP(a,i,new ote,r),XS(F(fA(e.b,t5,bZ),16),n),XS(F(fA(e.b,y5,SZ),16),n),i=TP(a,i,new ste,r),XS(F(fA(e.b,y5,xZ),16),n),i=TP(a,i,new cte,r),XS(F(fA(e.b,y5,bZ),16),n),XS(F(fA(e.b,x5,SZ),16),n),i=TP(a,i,new tte,r),XS(F(fA(e.b,x5,xZ),16),n),XS(F(fA(e.b,x5,bZ),16),n)}function lst(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g;for(t.Tg(`Layer size calculation`,1),d=DV,u=OV,a=!1,c=new D(e.b);c.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 pst(e){var t,n,r=F(q(e,(zz(),E1)),165),i,a;if(r==(nN(),P$)){for(n=new uS(py(zM(e).a.Jc(),new f));rL(n);)if(t=F(zE(n),17),!oFe(t))throw O(new Qp(bU+$P(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==I$){for(a=new uS(py(VM(e).a.Jc(),new f));rL(a);)if(i=F(zE(a),17),!oFe(i))throw O(new Qp(bU+$P(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 fz(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.e&&e.c.c>19&&(t=nj(t),c=!c),o=D7e(t),a=!1,i=!1,r=!1,e.h==bV&&e.m==0&&e.l==0){if(i=!0,a=!0,o==-1)e=lme((fO(),Bbt)),r=!0,c=!c;else return s=z8e(e,o),c&&oj(s),n&&(PJ=Uv(0,0,0)),s}else e.h>>19&&(a=!0,e=nj(e),r=!0,c=!c);return o==-1?VQe(e,t)<0?(n&&(PJ=a?nj(e):Uv(e.l,e.m,e.h)),Uv(0,0,0)):Ert(r?e:Uv(e.l,e.m,e.h),t,c,a,i,n):UUe(e,o,c,a,n)}function pz(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=FT(e.a[0],PV),r=FT(t.a[0],PV),o==c?(u=IM(n,r),m=Wx(u),p=Wx(pS(u,32)),p==0?new _E(o,m):new FS(o,2,W(A(q9,1),cV,30,15,[m,p]))):(iR(),K_(o<0?RM(r,n):RM(n,r),0)?yN(o<0?RM(r,n):RM(n,r)):JS(yN(RD(o<0?RM(r,n):RM(n,r)))));if(o==c)f=o,d=a>=s?sD(e.a,a,t.a,s):sD(t.a,s,e.a,a);else{if(i=a==s?_We(e.a,t.a,a):a>s?1:-1,i==0)return iR(),QJ;i==1?(f=o,d=yFe(e.a,a,t.a,s)):(f=c,d=yFe(t.a,s,e.a,a))}return l=new FS(f,d.length,d),WT(l),l}function gst(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().Jc();o.Ob();)i=F(o.Pb(),12),Kj(sj(W(A(J3,1),vB,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++n;for(s=e.r.a.ec().Jc();s.Ob();)i=F(s.Pb(),12),Kj(sj(W(A(J3,1),vB,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--n;for(c=t.w.a.ec().Jc();c.Ob();)i=F(c.Pb(),12),Kj(sj(W(A(J3,1),vB,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++r;for(a=t.r.a.ec().Jc();a.Ob();)i=F(a.Pb(),12),Kj(sj(W(A(J3,1),vB,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--r;n=0)return n;switch(NC(GD(e,n))){case 2:if(kb(``,nM(e,n.ok()).ve())){if(c=JC(GD(e,n)),s=qC(GD(e,n)),u=E5e(e,t,c,s),u)return u;for(i=Gnt(e,t),o=0,d=i.gc();o1)throw O(new Hp(Zq));for(u=LL(e.e.Ah(),t),r=F(e.g,122),o=0;o1,u=new JE(p.b);Vv(u.a)||Vv(u.b);)l=F(Vv(u.a)?B(u.a):B(u.b),17),f=l.c==p?l.d:l.c,r.Math.abs(sj(W(A(J3,1),vB,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&X9e(e,l,s,o,p)}}function xst(e){var t,n,i,a=new qT(e.e,0),o,s;if(i=new qT(e.a,0),e.d)for(n=0;nsG;){for(o=t,s=0;r.Math.abs(t-o)0),a.a.Xb(a.c=--a.b),Git(e,e.b-s,o,i,a),Ky(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 Cst(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 wst(e,t,n){var r,i,a,o;for(n.Tg(`Graph transformation (`+e.a+`)`,1),o=NT(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 uP((JA(),fX)),GT(e,YCt,new Yp(W(A(dX,1),iB,377,0,[r]))),o=new uP(hX),GT(e,JCt,new Yp(W(A(dX,1),iB,377,0,[o]))),i=new uP(pX),GT(e,qCt,new Yp(W(A(dX,1),iB,377,0,[i]))),a=new uP(mX),GT(e,KCt,new Yp(W(A(dX,1),iB,377,0,[a]))),xL(r.c,fX),xL(i.c,pX),xL(a.c,mX),xL(o.c,hX),s.a.c.length=0,VA(s.a,r.c),VA(s.a,cN(i.c)),VA(s.a,a.c),VA(s.a,cN(o.c)),s}function Dst(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h;for(t.Tg(Fgt,1),m=k(P(Y(e,(XL(),Q4)))),s=k(P(Y(e,(JL(),o3)))),c=F(Y(e,a3),104),aVe((!e.a&&(e.a=new I(s7,e,10,11)),e.a)),d=Aot((!e.a&&(e.a=new I(s7,e,10,11)),e.a),m,s),!e.a&&(e.a=new I(s7,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 sC(1,a),m=pct(p,t,h,g,t.f.b+c-t.c.b),m>0&&(t.f.b+=c+(m-1)*a))}function kst(e,t,n){var i,a,o,s,c,l,u,d=k(P(q(e,(zz(),l0)))),f,p,m,h,g,_,v,y,b,x;for(i=k(P(q(e,BAt))),p=new eo,G(p,l0,d+i),u=t,v=u.d,g=u.c.i,y=u.d.i,_=mme(g.c),b=mme(y.c),a=new Od,f=_;f<=b;f++)c=new MP(e),Qc(c,(pL(),EX)),G(c,(X(),d$),u),G(c,X1,(LF(),U8)),G(c,d0,p),m=F(kx(e.b,f),25),f==_?cF(c,m.a.c.length-n,m):cT(c,m),x=k(P(q(u,y1))),x<0&&(x=0,G(u,y1,x)),c.o.b=x,h=r.Math.floor(x/2),s=new uI,PI(s,(Dz(),x5)),uT(s,c),s.n.b=h,l=new uI,PI(l,t5),uT(l,c),l.n.b=h,lT(u,s),o=new Dw,wA(o,u),G(o,T1,null),sT(o,l),lT(o,v),GQe(c,u,o),zd(a.c,o),u=o;return a}function Ast(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h=t.b.c.length,g,_,v,y;if(!(h<3)){for(p=H(q9,cV,30,h,15,1),d=0,u=new D(t.b);u.ao)&&LS(e.b,F(g.b,17));++s}a=o}}}function jst(e,t){var n,r,i,a,o,s,c=F(fI(e,(Dz(),x5)).Jc().Pb(),12).e,l,u,d,f,p=F(fI(e,t5).Jc().Pb(),12).g,m,h,g,_,v,y;for(s=c.c.length,y=AT(F(kx(e.j,0),12));s-->0;){for(h=(OT(0,c.c.length),F(c.c[0],17)),i=(OT(0,p.c.length),F(p.c[0],17)),v=i.d.e,a=VD(v,i,0),vMe(h,i.d,a),sT(i,null),lT(i,null),m=h.a,t&&fx(m,new pv(y)),r=nP(i.a,0);r.b!=r.d.c;)n=F(sE(r),8),fx(m,new pv(n));for(_=h.b,f=new D(i.b);f.a-2;default:return!1}switch(t=e.Pj(),e.p){case 0:return t!=null&&Gp(nb(t))!=q_(e.k,0);case 1:return t!=null&&F(t,221).a!=Wx(e.k)<<24>>24;case 2:return t!=null&&F(t,180).a!=(Wx(e.k)&JB);case 6:return t!=null&&q_(F(t,190).a,e.k);case 5:return t!=null&&F(t,15).a!=Wx(e.k);case 7:return t!=null&&F(t,191).a!=Wx(e.k)<<16>>16;case 3:return t!=null&&k(P(t))!=e.j;case 4:return t!=null&&F(t,164).a!=e.j;default:return t==null?e.n!=null:!aM(t,e.n)}}function gz(e,t,n){var r,i,a,o;return e.ml()&&e.ll()&&(o=DS(e,F(n,57)),M(o)!==M(n))?(e.vj(t),e.Bj(t,_Le(e,t,o)),e.$k()&&(a=(i=F(n,52),e.kl()?e.il()?i.Qh(e.b,kP(F(yO(Fw(e.b),e.Jj()),19)).n,F(yO(Fw(e.b),e.Jj()).Fk(),29).ik(),null):i.Qh(e.b,uN(i.Ah(),kP(F(yO(Fw(e.b),e.Jj()),19))),null,null):i.Qh(e.b,-1-e.Jj(),null,null)),!F(o,52).Mh()&&(a=(r=F(o,52),e.kl()?e.il()?r.Oh(e.b,kP(F(yO(Fw(e.b),e.Jj()),19)).n,F(yO(Fw(e.b),e.Jj()).Fk(),29).ik(),a):r.Oh(e.b,uN(r.Ah(),kP(F(yO(Fw(e.b),e.Jj()),19))),null,a):r.Oh(e.b,-1-e.Jj(),null,a))),a&&a.mj()),_v(e.b)&&e.Hj(e.Gj(9,n,o,t,!1)),o):n}function Fst(e){for(var t,n,r=new Od,i,a,o=new D(e.e.a),s,c,l,u;o.a0&&(s=r.Math.max(s,wVe(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(),ok(uH),r.Math.abs(f-1)<=uH||f==1?0:m/(1-f)))),n.n.b=0,n.a.a=s}}function Lst(e,t){var n=F(zC(e.b,t),127),i,a,o,s,c,l=F(F(VE(e.r,t),22),83),u,d,f,p,m;if(l.dc())n.n.d=0,n.n.a=0;else{for(u=e.u.Gc((II(),X8)),s=0,e.A.Gc((EN(),O5))&&Ztt(e,t),c=l.Jc(),d=null,p=0,f=0;c.Ob();)i=F(c.Pb(),115),o=k(P(i.b.mf((Uy(),NY)))),a=i.b.Kf().b,d?(m=f+d.d.a+e.w+i.d.d,s=r.Math.max(s,(Pv(),ok(uH),r.Math.abs(p-o)<=uH||p==o||isNaN(p)&&isNaN(o)?0:m/(o-p)))):e.C&&e.C.d>0&&(s=r.Math.max(s,wVe(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(),ok(uH),r.Math.abs(p-1)<=uH||p==1?0:m/(1-p)))),n.n.d=0,n.a.b=s}}function Rst(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(SX,mU,9,s+c,0,1),o=0;o0?AO(this,this.f/this.a):$v(t.g,t.d[0]).a!=null&&$v(n.g,n.d[0]).a!=null?AO(this,(k($v(t.g,t.d[0]).a)+k($v(n.g,n.d[0]).a))/2):$v(t.g,t.d[0]).a==null?$v(n.g,n.d[0]).a!=null&&AO(this,$v(n.g,n.d[0]).a):AO(this,$v(t.g,t.d[0]).a)}function zst(e,t,n,r,i,a,o,s){var c,l,u,d,f,p,m=!1,h,g,_;if(l=s9e(n.q,t.f+t.b-n.q.f),p=r.f>t.b&&s,_=i-(n.q.e+l-o),d=(c=WR(r,_,!1),c.a),p&&d>r.f)return!1;if(p){for(f=0,g=new D(t.d);g.a=(OT(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,SD(n,H2e(n,d))):(e1e(n.q,l),n.c=!0),SD(r,i-(n.s+n.r)),wP(r,n.q.e+n.q.d,t.f),hk(t,r),e.c.length>a&&(pF((OT(a,e.c.length),F(e.c[a],186)),r),(OT(a,e.c.length),F(e.c[a],186)).a.c.length==0&&KE(e,a)),m=!0),m)}function Bst(e,t){var n,r,i,a,o,s,c,l,u,d;for(e.a=new uEe(IUe(c8)),r=new D(t.a);r.a0&&(kT(0,n.length),n.charCodeAt(0)!=47)))throw O(new Hp(`invalid opaquePart: `+n));if(e&&!(t!=null&&ch(k7,t.toLowerCase()))&&n!=null&&eN(n,D7,O7)||e&&t!=null&&ch(k7,t.toLowerCase())&&!h1e(n))throw O(new Hp(Xvt+n));if(!fqe(r))throw O(new Hp(`invalid device: `+r));if(!aGe(i))throw o=i==null?`invalid segments: null`:`invalid segment: `+HWe(i),O(new Hp(o));if(a!=null&&lv(a,JF(35))!=-1)throw O(new Hp(`invalid query: `+a))}function Gst(e,t,n){var r,i,a,o,s,c,l,u,d,f=new pv(e.o),p,m,h,g,_=t.a/f.a;if(s=t.b/f.b,h=t.a-f.a,a=t.b-f.b,n)for(i=M(q(e,(zz(),X1)))===M((LF(),U8)),m=new D(e.j);m.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(),H1),(EN(),r=F(Rm(k5),10),new Rb(r,F(yb(r,r.length),10),0)))}function Kst(e,t,n){var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v;if(n.Tg(`Network simplex layering`,1),e.b=t,v=F(q(t,(zz(),x0)),15).a*4,_=e.b.a,_.c.length<1)n.Ug();else{for(o=Knt(e,_),g=null,a=nP(o,0);a.b!=a.d.c;){for(i=F(sE(a),16),c=v*Gw(r.Math.sqrt(i.gc())),s=yrt(i),mR(Vce(Uce(Hce(Hb(s),c),g),!0),n.dh(1)),p=e.b.b,h=new D(s.a);h.a1)for(g=H(q9,cV,30,e.b.b.c.length,15,1),f=0,u=new D(e.b.b);u.a0?(YN(e,n,0),n.a+=String.fromCharCode(r),i=zJe(t,a),YN(e,n,i),a+=i-1):r==39?a+10&&m.a<=0){c.c.length=0,zd(c.c,m);break}p=m.i-m.d,p>=s&&(p>s&&(c.c.length=0,s=p),zd(c.c,m))}c.c.length!=0&&(o=F(kx(c,CP(i,c.c.length)),116),y.a.Ac(o),o.g=u++,Hit(o,t,n,r),c.c.length=0)}for(g=e.c.length+1,f=new D(e);f.aOV||t.o==T2&&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(cBB)&&c<10);Kce(e.c,new mt),nct(e),kTe(e.c),Tst(e.f)}function sct(e,t){var n,r,i,a,o,s,c,l,u,d,f;switch(e.k.g){case 1:if(r=F(q(e,(X(),d$)),17),n=F(q(r,OEt),79),n?Gp(nb(q(r,y$)))&&(n=eWe(n)):n=new Uf,l=F(q(e,a$),12),l){if(u=sj(W(A(J3,1),vB,8,0,[l.i.n,l.n,l.a])),t<=u.a)return u.b;DE(n,u,n.a,n.a.a)}if(d=F(q(e,o$),12),d){if(f=sj(W(A(J3,1),vB,8,0,[d.i.n,d.n,d.a])),f.a<=t)return f.b;DE(n,f,n.c.b,n.c)}if(n.b>=2){for(c=nP(n,0),o=F(sE(c),8),s=F(sE(c),8);s.a0&&ej(l,!0,(hM(),a8)),s.k==(pL(),wX)&&MEe(l),LC(e.f,s,t))}function lct(e,t){var n,i,a,o,s,c,l,u=DV,d=DV,f,p,m,h,g,_,v,y;for(c=OV,l=OV,p=new D(t.i);p.a=e.j?(++e.j,ry(e.b,K(1)),ry(e.c,u)):(r=e.d[t.p][1],AE(e.b,l,K(F(kx(e.b,l),15).a+1-r)),AE(e.c,l,k(P(kx(e.c,l)))+u-r*e.f)),(e.r==(oR(),K0)&&(F(kx(e.b,l),15).a>e.k||F(kx(e.b,l-1),15).a>e.k)||e.r==q0&&(k(P(kx(e.c,l)))>e.n||k(P(kx(e.c,l-1)))>e.n))&&(c=!1),o=new uS(py(zM(t).a.Jc(),new f));rL(o);)a=F(zE(o),17),s=a.c.i,e.g[s.p]==l&&(d=uct(e,s),i+=F(d.a,15).a,c&&=Gp(nb(d.b)));return e.g[t.p]=l,i+=e.d[t.p][0],new M_(K(i),(by(),!!c))}function dct(e,t,n){var r,i,a,o,s,c,l,u,d,f=e.c[t],p=e.c[n],m=F(q(f,(X(),t$)),16),h,g,_,v,y,b,x,S;return m&&m.gc()!=0&&m.Gc(p)||(h=f.k!=(pL(),EX)&&p.k!=EX,g=F(q(f,e$),9),_=F(q(p,e$),9),v=g!=_,y=!!g&&g!=f||!!_&&_!=p,b=zP(f,(Dz(),n5)),x=zP(p,y5),y|=zP(f,y5)||zP(p,n5),S=y&&v||b||x,h&&S)||f.k==(pL(),kX)&&p.k==OX||p.k==(pL(),kX)&&f.k==OX?!1:(u=e.c[t],a=e.c[n],i=u$e(e.e,u,a,(Dz(),x5)),c=u$e(e.i,u,a,t5),o9e(e.f,u,a),l=mWe(e.b,u,a)+F(i.a,15).a+F(c.a,15).a+e.f.d,s=mWe(e.b,a,u)+F(i.b,15).a+F(c.b,15).a+e.f.b,e.a&&(d=F(q(u,d$),12),o=F(q(a,d$),12),r=eQe(e.g,d,o),l+=F(r.a,15).a,s+=F(r.b,15).a),l>s)}function fct(e,t){var n=k(P(q(t,(zz(),o0)))),r,i,a,o;n<2&&G(t,o0,2),r=F(q(t,d1),86),r==(hM(),o8)&&G(t,d1,kM(t)),i=F(q(t,MAt),15),i.a==0?G(t,(X(),_$),new KM):G(t,(X(),_$),new wE(i.a)),a=nb(q(t,L1)),a??G(t,L1,(by(),M(q(t,g1))===M((yM(),m8)))),xh(new Mx(null,new DT(t.a,16)),new cu(e)),xh(cO(new Mx(null,new DT(t.b,16)),new lt),new lu(e)),o=new Ust(t),G(t,(X(),S$),o),VC(e.a),US(e.a,($F(),nX),F(q(t,u1),188)),US(e.a,rX,F(q(t,k1),188)),US(e.a,iX,F(q(t,l1),188)),US(e.a,aX,F(q(t,V1),188)),US(e.a,oX,gHe(F(q(t,g1),222))),xme(e.a,sdt(t)),G(t,g$,fz(e.a,t))}function pct(e,t,n,i,a){var o,s,c,l,u,d,f=new kd,p,m,h,g,_,v;for(s=new Od,W4e(e,n,e.d.zg(),s,f),W4e(e,i,e.d.Ag(),s,f),e.b=.2*(g=e5e(cO(new Mx(null,new DT(s,16)),new Fi)),_=e5e(cO(new Mx(null,new DT(s,16)),new Bte)),r.Math.min(g,_)),o=0,c=0;c=2&&(v=g7e(s,!0,p),!e.e&&(e.e=new yoe(e)),LJe(e.e,v,s,e.b)),z1e(s,p),Sct(s),m=-1,d=new D(s);d.a0&&(n+=c.n.a+c.o.a/2,++d),m=new D(c.j);m.a0&&(n/=d),_=H(Z9,NV,30,r.a.c.length,15,1),s=0,l=new D(r.a);l.a-1){for(a=nP(c,0);a.b!=a.d.c;)i=F(sE(a),132),i.v=s;for(;c.b!=0;)for(i=F(lF(c,0),132),n=new D(i.i);n.a-1){for(o=new D(c);o.a0)&&(ol(l,r.Math.min(l.o,a.o-1)),al(l,l.i-1),l.i==0&&zd(c.c,l))}}function Cct(e,t,n,i,a){var o,s,c,l=DV;return s=!1,c=Wat(e,Tb(new j(t.a,t.b),e),wb(new j(n.a,n.b),a),Tb(new j(i.a,i.b),n)),o=!!c&&!(r.Math.abs(c.a-e.a)<=nK&&r.Math.abs(c.b-e.b)<=nK||r.Math.abs(c.a-t.a)<=nK&&r.Math.abs(c.b-t.b)<=nK),c=Wat(e,Tb(new j(t.a,t.b),e),n,a),c&&((r.Math.abs(c.a-e.a)<=nK&&r.Math.abs(c.b-e.b)<=nK)==(r.Math.abs(c.a-t.a)<=nK&&r.Math.abs(c.b-t.b)<=nK)||o?l=r.Math.min(l,CC(Tb(c,n))):s=!0),c=Wat(e,Tb(new j(t.a,t.b),e),i,a),c&&(s||(r.Math.abs(c.a-e.a)<=nK&&r.Math.abs(c.b-e.b)<=nK)==(r.Math.abs(c.a-t.a)<=nK&&r.Math.abs(c.b-t.b)<=nK)||o)&&(l=r.Math.min(l,CC(Tb(c,i)))),l}function wct(e){Rh(e,new UF(vm(xm(_m(bm(ym(new Fa,ZH),Spt),`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 st),kH))),V(e,ZH,LH,iP(TCt)),V(e,ZH,zH,(by(),!0)),V(e,ZH,UH,iP(OCt)),V(e,ZH,QH,iP(kCt)),V(e,ZH,HH,iP(ACt)),V(e,ZH,WH,iP(DCt)),V(e,ZH,BH,iP(jCt)),V(e,ZH,GH,iP(MCt)),V(e,ZH,_pt,iP(wCt)),V(e,ZH,ypt,iP(SCt)),V(e,ZH,bpt,iP(CCt)),V(e,ZH,xpt,iP(ECt)),V(e,ZH,vpt,iP(QY))}function Tct(e){for(var t=null,n,r=new D(e),i,a,o,s,c;r.a0&&n.c==0&&(!t&&(t=new Od),zd(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 Od),new D(n.b));a.aVD(e,n,0))return new M_(i,n)}else if(k($v(i.g,i.d[0]).a)>k($v(n.g,n.d[0]).a))return new M_(i,n)}for(s=(!n.e&&(n.e=new Od),n.e).Jc();s.Ob();)o=F(s.Pb(),239),c=(!o.b&&(o.b=new Od),o.b),pT(0,c.c.length),bg(c.c,0,n),o.c==c.c.length&&zd(t.c,o)}return null}function _z(e,t){var n,r,i,a,o,s,c,l,u;if(t.e==5)act(e,t);else if(l=t,l.b!=null&&e.b!=null){for(sL(e),sz(e),sL(l),sz(l),n=H(q9,cV,30,e.b.length+l.b.length,15,1),u=0,r=0,o=0;r=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(c0),F(u.a.Xb(u.c=--u.b),17));a!=r&&u.b>0;)e.a[a.p]=!0,e.a[r.p]=!0,a=(Ky(u.b>0),F(u.a.Xb(u.c=--u.b),17));u.b>0&&kC(u)}}function kct(e,t,n){var i,a,o,s,c,l,u,d,f,p;if(n)for(i=-1,d=new qT(t,0);d.b0?i-=864e5:i+=864e5,c=new Dve(IM(gA(t.q.getTime()),i))),u=new fm,l=e.a.length,a=0;a=97&&r<=122||r>=65&&r<=90){for(o=a+1;o=l)throw O(new Hp(`Missing trailing '`));o+1=14&&u<=16))?t.a._b(r)?(n.a?Q_(n.a,n.b):n.a=new _y(n.d),X_(n.a,`[...]`)):(s=zO(r),l=new jx(t),qE(n,Pct(s,l))):N(r,171)?qE(n,E3e(F(r,171))):N(r,195)?qE(n,P1e(F(r,195))):N(r,201)?qE(n,O2e(F(r,201))):N(r,2076)?qE(n,F1e(F(r,2076))):N(r,54)?qE(n,T3e(F(r,54))):N(r,585)?qE(n,Q3e(F(r,585))):N(r,831)?qE(n,w3e(F(r,831))):N(r,108)&&qE(n,C3e(F(r,108))):qE(n,r==null?aB:XM(r));return n.a?n.e.length==0?n.a.a:n.a.a+(``+n.e):n.c}function vz(e,t){var n,r,i,a=e.F;t==null?(e.F=null,Pj(e,null)):(e.F=(MC(t),t),r=lv(t,JF(60)),r==-1?(i=t,lv(t,JF(46))==-1&&(r=lv(t,JF(91)),r!=-1&&(i=(uD(0,r,t.length),t.substr(0,r))),!kb(i,Xz)&&!kb(i,vq)&&!kb(i,yq)&&!kb(i,bq)&&!kb(i,xq)&&!kb(i,Sq)&&!kb(i,Cq)&&!kb(i,wq)?(i=uyt,r!=-1&&(i+=``+(kT(r,t.length+1),t.substr(r)))):i=t),Pj(e,i),i==t&&(e.F=e.D)):(i=(uD(0,r,t.length),t.substr(0,r)),lv(t,JF(46))==-1&&!kb(i,Xz)&&!kb(i,vq)&&!kb(i,yq)&&!kb(i,bq)&&!kb(i,xq)&&!kb(i,Sq)&&!kb(i,Cq)&&!kb(i,wq)&&(i=uyt),n=my(t,JF(62)),n!=-1&&(i+=``+(kT(n+1,t.length+1),t.substr(n+1))),Pj(e,i))),e.Db&4&&!(e.Db&1)&&dA(e,new CS(e,1,5,a,t))}function Fct(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m;if(e.c=e.e,m=nb(q(t,(zz(),NAt))),p=m==null||(MC(m),m),a=F(q(t,(X(),YQ)),22).Gc((WL(),gQ)),i=F(q(t,X1),102),n=i!=(LF(),H8)&&i!=W8&&i!=U8,p&&(n||!a)){for(d=new D(t.a);d.a=0)return i=$Ke(e,(uD(1,o,t.length),t.substr(1,o-1))),u=(uD(o+1,c,t.length),t.substr(o+1,c-(o+1))),But(e,u,i)}else{if(n=-1,Kbt??=RegExp(`\\d`),Kbt.test(String.fromCharCode(s))&&(n=Cye(t,JF(46),c-1),n>=0)){r=F(dFe(e,fze(e,(uD(1,n,t.length),t.substr(1,n-1))),!1),61),l=0;try{l=_R((kT(n+1,t.length+1),t.substr(n+1)),VB,$z)}catch(e){throw e=UA(e),N(e,131)?(a=e,O(new XD(a))):O(e)}if(l>16==-10?n=F(e.Cb,293).Wk(t,n):e.Db>>16==-15&&(!t&&(t=(Kz(),e9)),!l&&(l=(Kz(),e9)),e.Cb.Vh()&&(c=new ZD(e.Cb,1,13,l,t,SP(qD(F(e.Cb,62)),e),!1),n?n.lj(c):n=c));else if(N(e.Cb,88))e.Db>>16==-23&&(N(t,88)||(t=(Kz(),t9)),N(l,88)||(l=(Kz(),t9)),e.Cb.Vh()&&(c=new ZD(e.Cb,1,10,l,t,SP(bE(F(e.Cb,29)),e),!1),n?n.lj(c):n=c));else if(N(e.Cb,446))for(s=F(e.Cb,835),o=(!s.b&&(s.b=new _d(new Zf)),s.b),a=(r=new cA(new Dl(o.a).a),new vd(r));a.a.b;)i=F(Tk(a.a).jd(),87),n=yz(i,vL(i,s),n)}return n}function Rct(e,t){var n,r,i,a,o=Gp(nb(Y(e,(zz(),C1)))),s,c,l,u,d,f=F(Y(e,Q1),22);for(c=!1,l=!1,d=new uy((!e.c&&(e.c=new I(c7,e,9,9)),e.c));d.e!=d.i.gc()&&(!c||!l);){for(a=F(aP(d),125),s=0,i=OS(ik(W(A(_J,1),iB,20,0,[(!a.d&&(a.d=new Db(Z5,a,8,5)),a.d),(!a.e&&(a.e=new Db(Z5,a,7,4)),a.e)])));rL(i)&&(r=F(zE(i),85),u=o&&UI(r)&&Gp(nb(Y(r,w1))),n=Zot((!r.b&&(r.b=new Db(X5,r,4,7)),r.b),a)?e==aT(VF(F(U((!r.c&&(r.c=new Db(X5,r,5,8)),r.c),0),84))):e==aT(VF(F(U((!r.b&&(r.b=new Db(X5,r,4,7)),r.b),0),84))),!((u||n)&&(++s,s>1))););(s>0||f.Gc((II(),X8))&&(!a.n&&(a.n=new I(o7,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(l=!0)}c&&t.Ec((WL(),gQ)),l&&t.Ec((WL(),_Q))}function zct(e){var t,n,i,a,o,s,c,l,u,d,f,p=F(Y(e,(Hz(),E6)),22);if(p.dc())return null;if(c=0,s=0,p.Gc((EN(),D5))){for(d=F(Y(e,R6),102),i=2,n=2,a=2,o=2,t=aT(e)?F(Y(aT(e),h6),86):F(Y(e,h6),86),u=new uy((!e.c&&(e.c=new I(c7,e,9,9)),e.c));u.e!=u.i.gc();)if(l=F(aP(u),125),f=F(Y(l,H6),64),f==(Dz(),b5)&&(f=Rit(l,t),pP(l,H6,f)),d==(LF(),U8))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 Oz(e,c,s,!0,!0)}function Bct(e,t){var n,i,a=null,o,s,c,l,u,d,f,p,m,h,g;for(i=new D(t.a);i.a1)for(a=e.e.b,fx(e.e,l),c=l.a.ec().Jc();c.Ob();)s=F(c.Pb(),9),LC(e.c,s,K(a))}}function Hct(e,t,n,a){var o,s=new R6e(t),c,l,u,d,f,p=ytt(e,t,s),m,h=r.Math.max(k(P(q(t,(zz(),y1)))),1);for(f=new D(p.a);f.a=0){for(c=null,s=new qT(u.a,l+1);s.b0,l?l&&(f=_.p,o?++f:--f,d=F(kx(_.c.a,f),9),r=gUe(d),p=!(X7e(r,S,n[0])||oTe(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&&hs?1:vb(!1,isNaN(s)))<0&&(ok(nG),(r.Math.abs(s-1)<=nG||s==1?0:s<1?-1:s>1?1:vb(isNaN(s),!1))<0)&&(ok(nG),(r.Math.abs(0-c)<=nG||c==0?0:0c?1:vb(!1,isNaN(c)))<0)&&(ok(nG),(r.Math.abs(c-1)<=nG||c==1?0:c<1?-1:c>1?1:vb(isNaN(c),!1))<0)),o)}function Zct(e){var t,n,i,a,o,s,c,l,u,d,f;for(e.j=H(q9,cV,30,e.g,15,1),e.o=new Od,xh(cO(new Mx(null,new DT(e.e.b,16)),new Si),new hoe(e)),e.a=H(J9,rH,30,e.b,16,1),iM(new Mx(null,new DT(e.e.b,16)),new Gu(e)),i=(f=new Od,xh(ZC(cO(new Mx(null,new DT(e.e.b,16)),new Ci),new goe(e)),new xfe(e,f)),f),l=new D(i);l.a=u.c.c.length?PNe((pL(),OX),EX):PNe((pL(),EX),EX),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 Sz(e,t){var n;if(e.e)throw O(new Up((tb(yY),$V+yY.k+eH)));if(!Xde(e.a,t))throw O(new wp(Bft+t+Vft));if(t==e.d)return e;switch(n=e.d,e.d=t,n.g){case 0:switch(t.g){case 2:KP(e);break;case 1:aj(e),KP(e);break;case 4:OF(e),KP(e);break;case 3:OF(e),aj(e),KP(e)}break;case 2:switch(t.g){case 1:aj(e),$L(e);break;case 4:OF(e),KP(e);break;case 3:OF(e),aj(e),KP(e)}break;case 1:switch(t.g){case 2:aj(e),$L(e);break;case 4:aj(e),OF(e),KP(e);break;case 3:aj(e),OF(e),aj(e),KP(e)}break;case 4:switch(t.g){case 2:OF(e),KP(e);break;case 1:OF(e),aj(e),KP(e);break;case 3:aj(e),$L(e)}break;case 3:switch(t.g){case 2:aj(e),OF(e),KP(e);break;case 1:aj(e),OF(e),aj(e),KP(e);break;case 4:aj(e),$L(e)}}return e}function Cz(e,t){var n;if(e.d)throw O(new Up((tb(uX),$V+uX.k+eH)));if(!Yde(e.a,t))throw O(new wp(Bft+t+Vft));if(t==e.c)return e;switch(n=e.c,e.c=t,n.g){case 0:switch(t.g){case 2:uj(e);break;case 1:ij(e),uj(e);break;case 4:kF(e),uj(e);break;case 3:kF(e),ij(e),uj(e)}break;case 2:switch(t.g){case 1:ij(e),eR(e);break;case 4:kF(e),uj(e);break;case 3:kF(e),ij(e),uj(e)}break;case 1:switch(t.g){case 2:ij(e),eR(e);break;case 4:ij(e),kF(e),uj(e);break;case 3:ij(e),kF(e),ij(e),uj(e)}break;case 4:switch(t.g){case 2:kF(e),uj(e);break;case 1:kF(e),ij(e),uj(e);break;case 3:ij(e),eR(e)}break;case 3:switch(t.g){case 2:ij(e),kF(e),uj(e);break;case 1:ij(e),kF(e),ij(e),uj(e);break;case 4:ij(e),eR(e)}}return e}function Qct(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 qT(d,0),_b(u,new mC(e)),v=!1,o=1;u.b `):t.a+=`Root `,n=e.Ah().zb,kb(n.substr(0,3),`Elk`)?Q_(t,(kT(3,n.length+1),n.substr(3))):t.a+=``+n,i=e.ih(),i)Q_((t.a+=` `,t),i);else if(N(e,362)&&(l=F(e,157).a,l))Q_((t.a+=` `,t),l);else{for(o=new uy(e.jh());o.e!=o.i.gc();)if(a=F(aP(o),157),l=a.a,l){Q_((t.a+=` `,t),l);return}if(N(e,271)&&(r=F(e,85),!r.b&&(r.b=new Db(X5,r,4,7)),r.b.i!=0&&(!r.c&&(r.c=new Db(X5,r,5,8)),r.c.i!=0))){for(t.a+=` (`,s=new Ny((!r.b&&(r.b=new Db(X5,r,4,7)),r.b));s.e!=s.i.gc();)s.e>0&&(t.a+=rB),wz(F(aP(s),174),t);for(t.a+=fU,c=new Ny((!r.c&&(r.c=new Db(X5,r,5,8)),r.c));c.e!=c.i.gc();)c.e>0&&(t.a+=rB),wz(F(aP(c),174),t);t.a+=`)`}}}function $ct(e,t,n){for(var i,a,o,s,c,l=new uy((!e.a&&(e.a=new I(s7,e,10,11)),e.a)),u,d;l.e!=l.i.gc();)for(c=F(aP(l),26),a=new uS(py(gL(c).a.Jc(),new f));rL(a);){if(i=F(zE(a),85),!i.b&&(i.b=new Db(X5,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new Db(X5,i,5,8)),i.c.i<=1)))throw O(new $p(`Graph must not contain hyperedges.`));if(!$I(i)&&c!=VF(F(U((!i.c&&(i.c=new Db(X5,i,5,8)),i.c),0),84)))for(u=new Jve,wA(u,i),G(u,(Mk(),XY),i),Hie(u,F(V_(Yx(n.f,c)),155)),Uie(u,F(pC(n,VF(F(U((!i.c&&(i.c=new Db(X5,i,5,8)),i.c),0),84))),155)),ry(t.c,u),s=new uy((!i.n&&(i.n=new I(o7,i,1,7)),i.n));s.e!=s.i.gc();)o=F(aP(s),157),d=new LNe(u,o.a),wA(d,o),G(d,XY,o),d.e.a=r.Math.max(o.g,1),d.e.b=r.Math.max(o.f,1),Lat(d),ry(t.d,d)}}function elt(e,t,n){var i,a,o,s,c,l,u,d,f,p;switch(n.Tg(`Node promotion heuristic`,1),e.i=t,e.r=F(q(t,(zz(),O1)),243),e.r!=(oR(),W0)&&e.r!=G0?Vlt(e):Ret(e),d=F(q(e.i,pAt),15).a,o=new Bn,e.r.g){case 2:case 1:oz(e,o);break;case 3:for(e.r=Y0,oz(e,o),l=0,c=new D(e.b);c.ae.k&&(e.r=K0,oz(e,o));break;case 4:for(e.r=Y0,oz(e,o),u=0,a=new D(e.c);a.ae.n&&(e.r=q0,oz(e,o));break;case 6:p=Gw(r.Math.ceil(e.g.length*d/100)),oz(e,new Pae(p));break;case 5:f=Gw(r.Math.ceil(e.e*d/100)),oz(e,new wu(f));break;case 8:gdt(e,!0);break;case 9:gdt(e,!1);break;default:oz(e,o)}e.r!=W0&&e.r!=G0?R9e(e,t):unt(e,t),n.Ug()}function tlt(e,t){var n,i,a,o,s,c,l,u,d,f=new Alt(e),p,m,h,g,_,v,y,b;for(_ke(f,t!=(hM(),s8)&&t!=r8),d=f.a,p=new Lf,a=(MO(),W(A(CY,1),Z,237,0,[bY,xY,SY])),s=0,l=a.length;s0&&(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 nlt(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+=_L(e.i,24)*HV*.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 olt(e){for(var t,n,r,i,a,o,s,c,l,u,d,f,p,m=new D(e),h,g;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 clt(e,t){var n,r,i,a,o,s,c,l=``,u;return t.length==0?e.le(oft,WB,-1,-1):(u=EI(t),kb(u.substr(0,3),`at `)&&(u=(kT(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=EI((kT(o+1,u.length+1),u.substr(o+1))),u=EI((uD(0,o,u.length),u.substr(0,o))))):(n=u.indexOf(`)`,o),l=(uD(o+1,n,u.length),u.substr(o+1,n-(o+1))),u=EI((uD(0,o,u.length),u.substr(0,o)))),o=lv(u,JF(46)),o!=-1&&(u=(kT(o+1,u.length+1),u.substr(o+1))),(u.length==0||kb(u,`Anonymous function`))&&(u=WB),s=my(l,JF(58)),i=Cye(l,JF(58),s-1),c=-1,r=-1,a=oft,s!=-1&&i!=-1&&(a=(uD(0,i,l.length),l.substr(0,i)),c=i_e((uD(i+1,s,l.length),l.substr(i+1,s-(i+1)))),r=i_e((kT(s+1,l.length+1),l.substr(s+1)))),e.le(a,u,c,r))}function llt(e){for(var t,n,r,i,a,o,s,c,l=new D(e),u,d;l.a0||u.j==x5&&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 dlt(e,t,n,r){var i,a,o,s=new Alt(t),c;return d9e(s,r),i=!0,e&&e.nf((Hz(),h6))&&(a=F(e.mf((Hz(),h6)),86),i=a==(hM(),o8)||a==i8||a==a8),Ptt(s,!1),kO(s.e.Pf(),new vbe(s,!1,i)),Jw(s,s.f,(MO(),bY),(Dz(),n5)),Jw(s,s.f,SY,y5),Jw(s,s.g,bY,x5),Jw(s,s.g,SY,t5),ZYe(s,n5),ZYe(s,y5),dDe(s,t5),dDe(s,x5),pb(),o=s.A.Gc((EN(),T5))&&s.B.Gc((hR(),P5))?Yqe(s):null,o&&Jce(s.a,o),slt(s),EZe(s),DZe(s),Dct(s),cit(s),TQe(s),KN(s,n5),KN(s,y5),int(s),Vot(s),n&&(lqe(s),EQe(s),KN(s,t5),KN(s,x5),c=s.B.Gc((hR(),F5)),m3e(s,c,n5),m3e(s,c,y5),h3e(s,c,t5),h3e(s,c,x5),xh(new Mx(null,new DT(new kl(s.i),0)),new qe),xh(ZC(new Mx(null,eEe(s.r).a.oc()),new Je),new Ye),w1e(s),s.e.Nf(s.o),xh(new Mx(null,eEe(s.r).a.oc()),new Xe)),s.o}function flt(e){var t,n,i,a,o,s,c,l,u=DV,d,f,p,m,h,g;for(i=new D(e.a.b);i.a1)for(m=new qot(h,b,i),jE(b,new kfe(e,m)),zd(s.c,m),f=b.a.ec().Jc();f.Ob();)d=F(f.Pb(),49),BD(o,d.b);if(c.a.gc()>1)for(m=new qot(h,c,i),jE(c,new Afe(e,m)),zd(s.c,m),f=c.a.ec().Jc();f.Ob();)d=F(f.Pb(),49),BD(o,d.b)}}function vlt(e,t){var n,i,a,o,s,c;if(F(q(t,(X(),YQ)),22).Gc((WL(),gQ))){for(c=new D(t.a);c.a=0&&o0&&(F(zC(e.b,t),127).a.b=n)}function Dlt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p=0,m,h,g,_;for(r=new df,a=new uy((!t.a&&(t.a=new I(s7,t,10,11)),t.a));a.e!=a.i.gc();)i=F(aP(a),26),Gp(nb(Y(i,(zz(),K1))))||(d=aT(i),GR(d)&&!Gp(nb(Y(i,e1)))&&(pP(i,(X(),u$),K(p)),++p,lD(i,Q$)&&LS(r,F(Y(i,Q$),15))),mlt(e,i,n));for(G(n,(X(),l$),K(p)),G(n,LQ,K(r.a.gc())),p=0,u=new uy((!t.b&&(t.b=new I(Z5,t,12,3)),t.b));u.e!=u.i.gc();)c=F(aP(u),85),GR(t)&&(pP(c,u$,K(p)),++p),g=nI(c),_=q0e(c),f=Gp(nb(Y(g,(zz(),C1)))),h=!Gp(nb(Y(c,K1))),m=f&&UI(c)&&Gp(nb(Y(c,w1))),o=aT(g)==t&&aT(g)==aT(_),s=(aT(g)==t&&_==t)^(aT(_)==t&&g==t),h&&!m&&(s||o)&&Ddt(e,c,t,n);if(aT(t))for(l=new uy(jDe(aT(t)));l.e!=l.i.gc();)c=F(aP(l),85),g=nI(c),g==t&&UI(c)&&(m=Gp(nb(Y(g,(zz(),C1))))&&Gp(nb(Y(c,w1))),m&&Ddt(e,c,t,n))}function Olt(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S=new Od,ee,te,ne,C,re;for(m=new D(e.b);m.a=e.length)return{done:!0};var r=e[n++];return{value:[r,t.get(r)],done:!1}}}},vtt()||(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[wft]=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 Ez(){Ez=C,t4=new fd(ppt),new fd(mpt),new bb(`DEPTH`,K(0)),G2=new bb(`FAN`,K(0)),lNt=new bb(Vht,K(0)),a4=new bb(`ROOT`,(by(),!1)),Y2=new bb(`LEFTNEIGHBOR`,null),pNt=new bb(`RIGHTNEIGHBOR`,null),X2=new bb(`LEFTSIBLING`,null),i4=new bb(`RIGHTSIBLING`,null),W2=new bb(`DUMMY`,!1),new bb(`LEVEL`,K(0)),fNt=new bb(`REMOVABLE_EDGES`,new ph),o4=new bb(`XCOOR`,K(0)),s4=new bb(`YCOOR`,K(0)),Z2=new bb(`LEVELHEIGHT`,0),$2=new bb(`LEVELMIN`,0),Q2=new bb(`LEVELMAX`,0),K2=new bb(`GRAPH_XMIN`,0),q2=new bb(`GRAPH_YMIN`,0),uNt=new bb(`GRAPH_XMAX`,0),dNt=new bb(`GRAPH_YMAX`,0),cNt=new bb(`COMPACT_LEVEL_ASCENSION`,!1),U2=new bb(`COMPACT_CONSTRAINTS`,new Od),J2=new bb(`ID`,``),n4=new bb(`POSITION`,K(0)),r4=new bb(`PRELIM`,0),e4=new bb(`MODIFIER`,0),H2=new fd(hpt),V2=new fd(gpt)}function Flt(e){Nit();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,KB,30,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),MN(a,0,a.length)}function Ilt(e,t){var n,i,a,o,s,c,l;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>VB&&BNe(t,e.p-sV),s=t.q.getDate(),Zw(t,1),e.k>=0&&Xke(t,e.k),e.c>=0?Zw(t,e.c):e.k>=0?(l=new jUe(t.q.getFullYear()-sV,t.q.getMonth(),35),i=35-l.q.getDate(),Zw(t,r.Math.min(i,s))):Zw(t,s),e.f<0&&(e.f=t.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),khe(t,e.f==24&&e.g?0:e.f),e.j>=0&&CFe(t,e.j),e.n>=0&&AIe(t,e.n),e.i>=0&&zpe(t,IM(LM(SF(gA(t.q.getTime()),qB),qB),e.i)),e.a&&(a=new Yh,BNe(a,a.q.getFullYear()-sV-80),Qh(gA(t.q.getTime()),gA(a.q.getTime()))&&BNe(t,a.q.getFullYear()-sV+100)),e.d>=0){if(e.c==-1)n=(7+e.d-t.q.getDay())%7,n>3&&(n-=7),c=t.q.getMonth(),Zw(t,t.q.getDate()+n),t.q.getMonth()!=c&&Zw(t,t.q.getDate()+(n>0?-7:7));else if(t.q.getDay()!=e.d)return!1}return e.o>VB&&(o=t.q.getTimezoneOffset(),zpe(t,IM(gA(t.q.getTime()),(e.o-o)*60*qB))),!0}function Llt(e,t){var n,r,i=q(t,(X(),d$)),a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(N(i,206)){for(m=F(i,26),h=t.e,f=new pv(t.c),a=t.d,f.a+=a.b,f.b+=a.d,b=F(Y(m,(zz(),G1)),182),Oy(b,(hR(),j5))&&(p=F(Y(m,yAt),104),Bie(p,a.a),Zc(p,a.d),Xc(p,a.b),Vie(p,a.c)),n=new Od,u=new D(t.a);u.ar.c.length-1;)ry(r,new M_($W,Rht));n=F(q(i,p4),15).a,yv(F(q(e,c4),86))?(i.e.ak(P((OT(n,r.c.length),F(r.c[n],49)).b))&&ul((OT(n,r.c.length),F(r.c[n],49)),i.e.a+i.f.a)):(i.e.bk(P((OT(n,r.c.length),F(r.c[n],49)).b))&&ul((OT(n,r.c.length),F(r.c[n],49)),i.e.b+i.f.b))}for(a=nP(e.b,0);a.b!=a.d.c;)i=F(sE(a),40),n=F(q(i,(AR(),p4)),15).a,G(i,(Ez(),$2),P((OT(n,r.c.length),F(r.c[n],49)).a)),G(i,Q2,P((OT(n,r.c.length),F(r.c[n],49)).b));t.Ug()}function Vlt(e){var t,n,i,a,o,s,c,l,u,d,p,m,h,g,_;for(e.o=k(P(q(e.i,(zz(),g0)))),e.f=k(P(q(e.i,u0))),e.j=e.i.b.c.length,c=e.j-1,m=0,e.k=0,e.n=0,e.b=HE(H(HJ,vB,15,e.j,0,1)),e.c=HE(H(BJ,vB,346,e.j,7,1)),s=new D(e.i.b);s.a0&&ry(e.q,d),ry(e.p,d);t-=i,h=l+t,u+=t*e.f,AE(e.b,c,K(h)),AE(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 Hlt(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b;if(t.b!=0){for(m=new ph,c=null,h=null,i=Gw(r.Math.floor(r.Math.log(t.b)*r.Math.LOG10E)+1),l=0,b=nP(t,0);b.b!=b.d.c;)for(v=F(sE(b),40),M(h)!==M(q(v,(Ez(),J2)))&&(h=rb(q(v,J2)),l=0),c=h==null?Oje(l++,i):h+Oje(l++,i),G(v,J2,c),_=(a=nP(new qu(v).a.d,0),new Ju(a));qm(_.a);)g=F(sE(_.a),65).c,DE(m,g,m.c.b,m.c),G(g,J2,c);for(p=new kd,s=0;s0&&(x-=h),fst(s,x),d=0,m=new D(s.a);m.a0),c.a.Xb(c.c=--c.b)),l=.4*i*d,!o&&c.b0&&(c=(kT(0,t.length),t.charCodeAt(0)),c!=64)){if(c==37&&(d=t.lastIndexOf(`%`),l=!1,d!=0&&(d==f-1||(l=(kT(d+1,t.length),t.charCodeAt(d+1)==46))))){if(o=(uD(1,d,t.length),t.substr(1,d-1)),y=kb(`%`,o)?null:eut(o),r=0,l)try{r=_R((kT(d+2,t.length+1),t.substr(d+2)),VB,$z)}catch(e){throw e=UA(e),N(e,131)?(s=e,O(new XD(s))):O(e)}for(g=KBe(e.Dh());g.Ob();)if(m=bA(g),N(m,505)&&(i=F(m,588),v=i.d,(y==null?v==null:kb(y,v))&&r--==0))return i;return null}if(u=t.lastIndexOf(`.`),p=u==-1?t:(uD(0,u,t.length),t.substr(0,u)),n=0,u!=-1)try{n=_R((kT(u+1,t.length+1),t.substr(u+1)),VB,$z)}catch(e){if(e=UA(e),N(e,131))p=t;else throw O(e)}for(p=kb(`%`,p)?null:eut(p),h=KBe(e.Dh());h.Ob();)if(m=bA(h),N(m,197)&&(a=F(m,197),_=a.ve(),(p==null?_==null:kb(p,_))&&n--==0))return a;return null}return Ict(e,t)}function Xlt(e){var t,n,r,i,a,o,s,c,l,u=new kd,d,p,m,h,g,_,v,y;for(c=new Bw,r=new D(e.a.a.b);r.at.d.c){if(m=e.c[t.a.d],_=e.c[d.a.d],m==_)continue;FL(Eh(Th(Dh(wh(new hf,1),100),m),_))}}}}}function Zlt(e,t){var n,i,a,o,s,c,l,u,d,f,p=F(F(VE(e.r,t),22),83),m,h,g,_,v,y,b,x,S,ee;if(t==(Dz(),t5)||t==x5)Elt(e,t);else{for(o=t==n5?(MA(),PY):(MA(),LY),x=t==n5?(lO(),jY):(lO(),kY),n=F(zC(e.b,t),127),i=n.i,a=i.c+OO(W(A(Z9,1),NV,30,15,[n.n.b,e.C.b,e.k])),v=i.c+i.b-OO(W(A(Z9,1),NV,30,15,[n.n.c,e.C.c,e.k])),s=Wce(Cbe(o),e.t),y=t==n5?OV:DV,f=p.Jc();f.Ob();)u=F(f.Pb(),115),!(!u.c||u.c.d.c.length<=0)&&(_=u.b.Kf(),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),Nw(x,$ft),m.f=x,gD(m,(jD(),OY)),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),ry(s.d,new nS(h,hKe(s,h))),y=t==n5?r.Math.max(y,g.b+u.b.Kf().b):r.Math.min(y,g.b));for(y+=t==n5?e.t:-e.t,b=Vqe((s.e=y,s)),b>0&&(F(zC(e.b,t),127).a.b=b),d=p.Jc();d.Ob();)u=F(d.Pb(),115),!(!u.c||u.c.d.c.length<=0)&&(h=u.c.i,h.c-=u.e.a,h.d-=u.e.b)}}function Qlt(e,t){XR();var n,r,i,a,o,s,c=Gj(e,0)<0,l,u,d,f,p,m,h;if(c&&(e=RD(e)),Gj(e,0)==0)switch(t){case 0:return`0`;case 1:return FV;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 dm,t<0?p.a+=`0E+`:p.a+=`0E`,p.a+=t==VB?`2147483648`:``+-t,p.a}u=18,d=H(K9,KB,30,u+1,15,1),n=u,h=e;do l=h,h=SF(h,10),d[--n]=Wx(IM(48,RM(l,LM(h,10))))&JB;while(Gj(h,0)!=0);if(i=RM(RM(RM(u,n),t),1),t==0)return c&&(d[--n]=45),MN(d,n,u-n);if(t>0&&Gj(i,-6)>=0){if(Gj(i,0)>=0){for(a=n+Wx(i),s=u-1;s>=a;s--)d[s+1]=d[s];return d[++a]=46,c&&(d[--n]=45),MN(d,n,u-n+1)}for(o=2;Qh(o,IM(RD(i),1));o++)d[--n]=48;return d[--n]=46,d[--n]=48,c&&(d[--n]=45),MN(d,n,u-n)}return m=n+1,r=u,f=new fm,c&&(f.a+=`-`),r-m>=1?(xC(f,d[n]),f.a+=`.`,f.a+=MN(d,n+1,u-n-1)):f.a+=MN(d,n,u-n),f.a+=`E`,Gj(i,0)>0&&(f.a+=`+`),f.a+=``+_S(i),f.a}function $lt(e){Rh(e,new UF(vm(xm(_m(bm(ym(new Fa,jG),`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 la),jG))),V(e,jG,KW,iP(zPt)),V(e,jG,jH,iP(UPt)),V(e,jG,UH,iP(NPt)),V(e,jG,QH,iP(PPt)),V(e,jG,HH,iP(FPt)),V(e,jG,WH,iP(MPt)),V(e,jG,BH,iP(IPt)),V(e,jG,GH,iP(RPt)),V(e,jG,OG,iP(k4)),V(e,jG,DG,iP(A4)),V(e,jG,EG,iP(BPt)),V(e,jG,kG,iP(N4)),V(e,jG,AG,iP(VPt)),V(e,jG,dgt,iP(HPt)),V(e,jG,ugt,iP(LPt)),V(e,jG,ogt,iP(j4)),V(e,jG,sgt,iP(M4)),V(e,jG,cgt,iP(P4)),V(e,jG,lgt,iP(WPt)),V(e,jG,agt,iP(jPt))}function Oz(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=V4e(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=aT(e)?F(Y(aT(e),(Hz(),h6)),86):F(Y(e,(Hz(),h6)),86),c=M(Y(e,(Hz(),R6)))===M((LF(),U8)),y=new uy((!e.c&&(e.c=new I(c7,e,9,9)),e.c));y.e!=y.i.gc();)switch(v=F(aP(y),125),b=F(Y(v,H6),64),b==(Dz(),b5)&&(b=Rit(v,s),pP(v,H6,b)),b.g){case 1:c||qO(v,v.i*ee);break;case 2:qO(v,v.i+x),c||JO(v,v.j*d);break;case 3:c||qO(v,v.i*ee),JO(v,v.j+l);break;case 4:c||JO(v,v.j*d)}if(Sv(e,g.a,g.b),a)for(p=new uy((!e.n&&(e.n=new I(o7,e,1,7)),e.n));p.e!=p.i.gc();)f=F(aP(p),157),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?(qO(f,f.i+x),JO(f,f.j+l*u)):S-u<0&&m>=0&&(qO(f,f.i+x*S),JO(f,f.j+l)));return pP(e,(Hz(),E6),(EN(),o=F(Rm(k5),10),new Rb(o,F(yb(o,o.length),10),0))),new j(ee,d)}function kz(e){var t,n,r,i,a,o,s,c,l,u,d;if(e==null)throw O(new pm(aB));if(l=e,a=e.length,c=!1,a>0&&(t=(kT(0,e.length),e.charCodeAt(0)),(t==45||t==43)&&(e=(kT(1,e.length+1),e.substr(1)),--a,c=t==45)),a==0)throw O(new pm(EV+l+`"`));for(;e.length>0&&(kT(0,e.length),e.charCodeAt(0)==48);)e=(kT(1,e.length+1),e.substr(1)),--a;if(a>(hit(),Qbt)[10])throw O(new pm(EV+l+`"`));for(i=0;i0&&(d=-parseInt((uD(0,r,e.length),e.substr(0,r)),10),e=(kT(r,e.length+1),e.substr(r)),a-=r,n=!1);a>=o;){if(r=parseInt((uD(0,o,e.length),e.substr(0,o)),10),e=(kT(o,e.length+1),e.substr(o)),a-=o,n)n=!1;else{if(Gj(d,s)<0)throw O(new pm(EV+l+`"`));d=LM(d,u)}d=RM(d,r)}if(Gj(d,0)>0||!c&&(d=RD(d),Gj(d,0)<0))throw O(new pm(EV+l+`"`));return d}function eut(e){az();var t,n,r,i,a,o,s,c;if(e==null)return null;if(i=lv(e,JF(37)),i<0)return e;for(c=new _y((uD(0,i,e.length),e.substr(0,i))),t=H(X9,kK,30,4,15,1),s=0,r=0,o=e.length;ii+2&&$A((kT(i+1,e.length),e.charCodeAt(i+1)),SBt,CBt)&&$A((kT(i+2,e.length),e.charCodeAt(i+2)),SBt,CBt)){if(n=lCe((kT(i+1,e.length),e.charCodeAt(i+1)),(kT(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:xC(c,((t[0]&31)<<6|t[1]&63)&JB);break;case 3:xC(c,((t[0]&15)<<12|(t[1]&63)<<6|t[2]&63)&JB)}s=0,r=0}}else{for(a=0;a=2){if((!e.a&&(e.a=new I(Q5,e,6,6)),e.a).i==0)n=(Im(),a=new ao,a),hD((!e.a&&(e.a=new I(Q5,e,6,6)),e.a),n);else if((!e.a&&(e.a=new I(Q5,e,6,6)),e.a).i>1)for(p=new Ny((!e.a&&(e.a=new I(Q5,e,6,6)),e.a));p.e!=p.i.gc();)DF(p);iat(t,F(U((!e.a&&(e.a=new I(Q5,e,6,6)),e.a),0),170))}if(f)for(i=new uy((!e.a&&(e.a=new I(Q5,e,6,6)),e.a));i.e!=i.i.gc();)for(n=F(aP(i),170),u=new uy((!n.a&&(n.a=new oy(q5,n,5)),n.a));u.e!=u.i.gc();)l=F(aP(u),372),c.a=r.Math.max(c.a,l.a),c.b=r.Math.max(c.b,l.b);for(s=new uy((!e.n&&(e.n=new I(o7,e,1,7)),e.n));s.e!=s.i.gc();)o=F(aP(s),157),d=F(Y(o,b8),8),d&&Cv(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 nut(e,t,n,r,i){var a,o,s;if(xze(e,t),o=t[0],a=IC(n.c,0),s=-1,rWe(n)){if(r>0){if(o+r>e.length)return!1;s=HI((uD(0,o+r,e.length),e.substr(0,o+r)),t)}else s=HI(e,t)}switch(a){case 71:return s=hI(e,o,W(A(KJ,1),vB,2,6,[sft,cft]),t),i.e=s,!0;case 77:return Uet(e,t,i,s,o);case 76:return Wet(e,t,i,s,o);case 69:return J4e(e,t,o,i);case 99:return Y4e(e,t,o,i);case 97:return s=hI(e,o,W(A(KJ,1),vB,2,6,[`AM`,`PM`]),t),i.b=s,!0;case 121:return Get(e,t,o,s,n,i);case 100:return s<=0?!1:(i.c=s,!0);case 83:return s<0?!1:qqe(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.a=c){Ky(y.b>0),y.a.Xb(y.c=--y.b);break}_.a>l&&(i?(VA(i.b,_.b),i.a=r.Math.max(i.a,_.a),kC(y)):(ry(_.b,d),_.c=r.Math.min(_.c,l),_.a=r.Math.max(_.a,c),i=_))}i||(i=new kf,i.c=l,i.a=c,_b(y,i),ry(i.b,d))}for(s=e.b,u=0,v=new D(n);v.a1;){if(a=t9e(t),f=o.g,h=F(Y(t,a3),104),g=k(P(Y(t,e3))),(!t.a&&(t.a=new I(s7,t,10,11)),t.a).i>1&&k(P(Y(t,(XL(),Y4))))!=DV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))1&&k(P(Y(t,(XL(),J4))))!=DV&&(o.c+(h.b+h.c))/(o.b+(h.d+h.a))>g&&pP(a,(XL(),Q4),r.Math.max(k(P(Y(t,X4))),k(P(Y(a,Q4)))-k(P(Y(t,J4))))),m=new Gfe(i,d),l=ldt(m,a,p),u=l.g,u>=f&&u==u){for(s=0;s<(!a.a&&(a.a=new I(s7,a,10,11)),a.a).i;s++)s6e(e,F(U((!a.a&&(a.a=new I(s7,a,10,11)),a.a),s),26),F(U((!t.a&&(t.a=new I(s7,t,10,11)),t.a),s),26));cze(t,m),dke(o,l.c),fke(o,l.b)}--c}pP(t,(XL(),G4),o.b),pP(t,K4,o.c),n.Ug()}function sut(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Tg(`Compound graph postprocessor`,1),n=Gp(nb(q(e,(zz(),S0)))),c=F(q(e,(X(),wEt)),229),d=new df,v=c.ec().Jc();v.Ob();){for(_=F(v.Pb(),17),s=new Lb(c.cc(_)),fw(),Bv(s,new uu(e)),S=jVe((OT(0,s.c.length),F(s.c[0],250))),te=MVe(F(kx(s,s.c.length-1),250)),b=S.i,y=mA(te.i,b)?b.e:jC(b),f=LYe(_,s),hw(_.a),p=null,o=new D(s);o.awH,C=r.Math.abs(p.b-h.b)>wH,(!n&&ne&&C||n&&(ne||C))&&fx(_.a,x)),Gk(_.a,i),p=i.b==0?x:(Ky(i.b!=0),F(i.c.b.c,8)),zHe(m,f,g),MVe(a)==te&&(jC(te.i)!=a.a&&(g=new Nm,D4e(g,jC(te.i),y)),G(_,D$,g)),j2e(m,_,y),d.a.yc(m,d);sT(_,S),lT(_,te)}for(u=d.a.ec().Jc();u.Ob();)l=F(u.Pb(),17),sT(l,null),lT(l,null);t.Ug()}function cut(e,t){var n,r,i=F(q(e,(AR(),c4)),86),a,o,s,c,l,u=i==(hM(),i8)||i==a8?r8:a8,d,f;for(n=F(TE(ZC(new Mx(null,new DT(e.b,16)),new qte),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),16),c=F(TE(QC(n.Mc(),new woe(t)),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[hY]))),16),c.Fc(F(TE(QC(n.Mc(),new Zu(t)),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[hY]))),18)),c.gd(new Toe(u)),f=new Gm(new Qu(i)),r=new kd,s=c.Jc();s.Ob();)o=F(s.Pb(),240),l=F(o.a,40),Gp(nb(o.c))?(f.a.yc(l,(by(),FJ)),new Kl(f.a.Xc(l,!1)).a.gc()>0&&LC(r,l,F(new Kl(f.a.Xc(l,!1)).a.Tc(),40)),new Kl(f.a.$c(l,!0)).a.gc()>1&&LC(r,Wqe(f,l),l)):(new Kl(f.a.Xc(l,!1)).a.gc()>0&&(a=F(new Kl(f.a.Xc(l,!1)).a.Tc(),40),M(a)===M(V_(Yx(r.f,l)))&&F(q(l,(Ez(),U2)),16).Ec(a)),new Kl(f.a.$c(l,!0)).a.gc()>1&&(d=Wqe(f,l),M(V_(Yx(r.f,d)))===M(l)&&F(q(d,(Ez(),U2)),16).Ec(l)),f.a.Ac(l))}function lut(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 YE;for(a=e.Jc();a.Ob();){for(n=F(a.Pb(),235),h=0,d=$z,f=$z,l=VB,u=VB,m=new D(n.e);m.ac&&(b=0,x+=s+v,s=0),drt(g,n,b,x),t=r.Math.max(t,b+_.a),s=r.Math.max(s,_.b),b+=_.a+v;return g}function uut(e){Nit();var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(e==null||(a=$D(e),m=fKe(a),m%4!=0))return null;if(h=m/4|0,h==0)return H(X9,kK,30,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,kK,30,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!oh(o=a[u++])||!oh(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,kK,30,p*3+1,15,1),OR(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,kK,30,p*3+2,15,1),OR(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 dut(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x;for(t.Tg(Hpt,1),m=F(q(e,(zz(),g1)),222),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=Gw(r.Math.floor((i+1)/2))-1,a=Gw(r.Math.ceil((i+1)/2))-1,t.o==E2)for(d=a;d>=u;d--)t.a[x.p]==x&&(g=F(f.Xb(d),49),h=F(g.a,9),!uh(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]=(by(),!!(Gp(t.f[t.g[x.p].p])&x.k==(pL(),EX))),m=e.b.e[h.p]));else for(d=u;d<=a;d++)t.a[x.p]==x&&(v=F(f.Xb(d),49),_=F(v.a,9),!uh(n,v.b)&&m0&&(a=F(kx(_.c.a,ee-1),9),s=e.i[a.p],ne=r.Math.ceil(Kv(e.n,a,_)),o=S.a.e-_.d.d-(s.a.e+a.o.b+a.d.a)-ne),u=DV,ee<_.c.a.c.length-1&&(l=F(kx(_.c.a,ee+1),9),d=e.i[l.p],ne=r.Math.ceil(Kv(e.n,l,_)),u=d.a.e-l.d.d-(S.a.e+_.o.b+_.d.a)-ne),n&&(Pv(),ok(nG),r.Math.abs(o-u)<=nG||o==u||isNaN(o)&&isNaN(u))?!0:(i=$S(b.a),c=-$S(b.b),f=-$S(te.a),y=$S(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 mut(e,t,n){var i=new rw(t.Jf().a,t.Jf().b,t.Kf().a,t.Kf().b),a=new hv,o,s,c,l,u,d,f,p;if(e.c)for(s=new D(t.Pf());s.a0&&cT(m,(OT(n,t.c.length),F(t.c[n],25))),a=0,p=!0,v=cN(NT(zM(m))),c=v.Jc();c.Ob();){for(s=F(c.Pb(),17),p=!1,d=s,l=0;l(OT(l,t.c.length),F(t.c[l],25)).a.c.length?cT(i,(OT(l,t.c.length),F(t.c[l],25))):cF(i,r+a,(OT(l,t.c.length),F(t.c[l],25))),d=Cet(d,i);n>0&&(a+=1)}if(p){for(l=0;l(OT(l,t.c.length),F(t.c[l],25)).a.c.length?cT(i,(OT(l,t.c.length),F(t.c[l],25))):cF(i,r+a,(OT(l,t.c.length),F(t.c[l],25)));n>0&&(a+=1)}for(o=!1,g=new uS(py(VM(m).a.Jc(),new f));rL(g);){for(h=F(zE(g),17),d=h,u=n+1;u(OT(l,t.c.length),F(t.c[l],25)).a.c.length?cT(_,(OT(l,t.c.length),F(t.c[l],25))):cF(_,r+1,(OT(l,t.c.length),F(t.c[l],25))));o&&(a+=1),o=!0}return a>0?a-1:0}function Az(e,t){Wz();var n,r,i,a,o,s,c,l,u,d,f,p,m;if(lh(L9)==0){for(d=H(aHt,vB,121,HVt.length,0,1),o=0;ol&&(r.a+=Phe(H(K9,KB,30,-l,15,1))),r.a+=`Is`,lv(c,JF(32))>=0)for(i=0;i=r.o.b/2}else v=!d;v?(_=F(q(r,(X(),j$)),16),_?f?a=_:(i=F(q(r,FQ),16),i?a=_.gc()<=i.gc()?_:i:(a=new Od,G(r,FQ,a))):(a=new Od,G(r,j$,a))):(i=F(q(r,(X(),FQ)),16),i?d?a=i:(_=F(q(r,j$),16),_?a=i.gc()<=_.gc()?i:_:(a=new Od,G(r,j$,a))):(a=new Od,G(r,FQ,a))),a.Ec(e),G(e,(X(),RQ),n),t.d==n?(lT(t,null),n.e.c.length+n.g.c.length==0&&uT(n,null),tWe(n)):(sT(t,null),n.e.c.length+n.g.c.length==0&&uT(n,null)),hw(t.a)}function xut(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.Tg(`MinWidth layering`,1),m=t.b,te=t.a,se=F(q(t,(zz(),dAt)),15).a,c=F(q(t,fAt),15).a,e.b=k(P(q(t,o0))),e.d=DV,x=new D(te);x.am&&(o&&(tv(ee,p),tv(ne,K(u.b-1))),oe=n.b,se+=p+t,p=0,d=r.Math.max(d,n.b+n.c+ae)),qO(c,oe),JO(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,ie0?(u=0,_&&(u+=c),u+=(C-1)*s,b&&(u+=c),ne&&b&&(u=r.Math.max(u,N9e(b,s,y,te))),u=e.a&&(i=Eat(e,b),d=r.Math.max(d,i.b),S=r.Math.max(S,i.d),ry(c,new M_(b,i)));for(C=new Od,u=0;u0),v.a.Xb(v.c=--v.b),re=new mC(e.b),_b(v,re),Ky(v.b0){for(f=u<100?null:new Fm(u),l=new HVe(t),m=l.g,_=H(q9,cV,30,u,15,1),r=0,b=new TO(u),i=0;i=0;)if(p==null?M(p)===M(m[c]):aM(p,m[c])){_.length<=r&&(g=_,_=H(q9,cV,30,2*_.length,15,1),OR(g,0,_,0,r)),_[r++]=i,hD(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,cV,30,r,15,1),OR(g,0,_,0,r)),r>0){for(y=!0,a=0;a=0;)aF(e,_[o]);if(r!=u){for(i=u;--i>=r;)aF(l,i);g=_,_=H(q9,cV,30,r,15,1),OR(g,0,_,0,r)}t=l}}}else for(t=LZe(e,t),i=e.i;--i>=0;)t.Gc(e.g[i])&&(aF(e,i),y=!0);if(y){if(_!=null){for(n=t.gc(),d=n==1?fT(e,4,t.Jc().Pb(),null,_[0],h):fT(e,6,t,_,_[0],h),f=n<100?null:new Fm(n),i=t.Jc();i.Ob();)p=i.Pb(),f=qye(e,F(p,75),f);f?(f.lj(d),f.mj()):dA(e.e,d)}else{for(f=Bye(t.gc()),i=t.Jc();i.Ob();)p=i.Pb(),f=qye(e,F(p,75),f);f&&f.mj()}return!0}return!1}function Dut(e,t){var n=new rXe(t),r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b;for(n.a||Art(t),l=Ltt(t),c=new Bw,_=new Oet,g=new D(t.a);g.a0||n.o==E2&&a=n}function Aut(e){for(var t,n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b=e.a,x=0,S=b.length,ee,te,ne,C,re;x0?(f=F(kx(p.c.a,s-1),9),ne=Kv(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(mP(c.a,1),8).b-d.b)))));else for(g=new D(t.j);g.aa&&(o=p.a-a,s=$z,i.c.length=0,a=p.a),p.a>=a&&(zd(i.c,c),c.a.b>1&&(s=r.Math.min(s,r.Math.abs(F(mP(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 uI,uT(m,t),PI(m,(Dz(),n5)),m.n.a=t.o.a/2,v=new uI,uT(v,t),PI(v,y5),v.n.a=t.o.a/2,v.n.b=t.o.b,l=new D(i);l.a=u.b?sT(c,v):sT(c,m)):(u=F(KSe(c.a),8),_=c.a.b==0?AT(c.c):F(Hy(c.a),8),_.b>=u.b?lT(c,v):lT(c,m)),f=F(q(c,(zz(),T1)),79),f&&lN(f,u,!0);t.n.a=a-t.o.a/2}}function Nut(e,t,n){for(var i,a,o,s,c=nP(e.b,0),l,u,d,f,p;c.b!=c.d.c;)if(s=F(sE(c),40),!kb(s.c,pG))for(u=t5e(s,e),t==(hM(),i8)||t==a8?Bv(u,new vne):Bv(u,new yne),l=u.c.length,i=0;i=0?sN(s):bM(sN(s)),e.of($1,p)),l=new Nm,f=!1,e.nf(J1)?(E_e(l,F(e.mf(J1),8)),f=!0):Qhe(l,o.a/2,o.b/2),p.g){case 4:G(u,E1,(nN(),P$)),G(u,VQ,(XA(),nQ)),u.o.b=o.b,h<0&&(u.o.a=-h),PI(d,(Dz(),t5)),f||(l.a=o.a),l.a-=o.a;break;case 2:G(u,E1,(nN(),I$)),G(u,VQ,(XA(),eQ)),u.o.b=o.b,h<0&&(u.o.a=-h),PI(d,(Dz(),x5)),f||(l.a=0);break;case 1:G(u,$Q,(uO(),NQ)),u.o.a=o.a,h<0&&(u.o.b=-h),PI(d,(Dz(),y5)),f||(l.b=o.b),l.b-=o.b;break;case 3:G(u,$Q,(uO(),jQ)),u.o.a=o.a,h<0&&(u.o.b=-h),PI(d,(Dz(),n5)),f||(l.b=0)}if(E_e(d.n,l),G(u,J1,l),t==H8||t==W8||t==U8){if(m=0,t==H8&&e.nf(Z1))switch(p.g){case 1:case 2:m=F(e.mf(Z1),15).a;break;case 3:case 4:m=-F(e.mf(Z1),15).a}else switch(p.g){case 4:case 2:m=a.b,t==W8&&(m/=i.b);break;case 1:case 3:m=a.a,t==W8&&(m/=i.a)}G(u,h$,m)}return G(u,qQ,p),u}function Put(){_le();function e(e){var t=this;this.dispatch=function(t){var n=t.data;switch(n.cmd){case`algorithms`:var r=Pqe((fw(),new Ml(new kl(C7.b))));e.postMessage({id:n.id,data:r});break;case`categories`:var i=Pqe((fw(),new Ml(new kl(C7.c))));e.postMessage({id:n.id,data:i});break;case`options`:var a=Pqe((fw(),new Ml(new kl(C7.d))));e.postMessage({id:n.id,data:a});break;case`register`:est(n.algorithms),e.postMessage({id:n.id});break;case`layout`:Uot(n.graph,n.layoutOptions||{},n.options||{}),e.postMessage({id:n.id,data:n.graph})}},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===qV&&typeof self!==qV){var i=new e(self);self.onmessage=i.saveDispatch}else typeof t!==qV&&t.exports&&(Object.defineProperty(n,"__esModule",{value:!0}),t.exports={default:r,Worker:r})}function Mz(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,K(d.b-1)),ry(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)),zd(c.c,l),WYe(l,oe,se),f=r.Math.max(f,oe+ae+n.c),m=r.Math.max(m,p),oe+=ae+t,h=l;if(VA(e.a,c),ry(e.d,F(kx(c,c.c.length-1),167)),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(pC(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 uS(py(zM(m).a.Jc(),new f));rL(s);)o=F(zE(s),17),o.a.b!=0&&(t=F(Hy(o.a),8),o.d.j==(Dz(),n5)&&(_=new BR(t,new j(t.a,i.d.d),i,o),_.f.a=!0,_.a=o.d,zd(g.c,_)),o.d.j==y5&&(_=new BR(t,new j(t.a,i.d.d+i.d.a),i,o),_.f.d=!0,_.a=o.d,zd(g.c,_)))}return g}function But(e,t,n){var r,i,a,o,s,c=new Od,l,u,d=t.length,f;for(o=wUe(n),l=0;l=m&&(v>m&&(p.c.length=0,m=v),zd(p.c,o));p.c.length!=0&&(f=F(kx(p,CP(t,p.c.length)),132),re.a.Ac(f),f.s=h++,o7e(f,ne,S),p.c.length=0)}for(b=e.c.length+1,s=new D(e);s.aC.s&&(kC(n),BD(C.i,r),r.c>0&&(r.a=C,ry(C.t,r),r.b=ee,ry(ee.i,r)))}function Uut(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h=new pD(t.b),g,_,v,y,b=new pD(t.b),x,S,ee,te,ne,C,re;for(f=new pD(t.b),te=new pD(t.b),g=new pD(t.b),ee=nP(t,0);ee.b!=ee.d.c;)for(x=F(sE(ee),12),s=new D(x.g);s.a0,_=x.g.c.length>0,l&&_?zd(f.c,x):l?zd(h.c,x):_&&zd(b.c,x);for(m=new D(h);m.ay.mh()-u.b&&(p=y.mh()-u.b),m>y.nh()-u.d&&(m=y.nh()-u.d),d0){for(x=nP(e.f,0);x.b!=x.d.c;)b=F(sE(x),9),b.p+=m-e.e;C4e(e),hw(e.f),ctt(e,i,h)}else{for(fx(e.f,h),h.p=i,e.e=r.Math.max(e.e,i),o=new uS(py(zM(h).a.Jc(),new f));rL(o);)a=F(zE(o),17),!a.c.i.c&&a.c.i.k==(pL(),TX)&&(fx(e.f,a.c.i),a.c.i.p=i-1);e.c=i}}else C4e(e),hw(e.f),i=0,rL(new uS(py(zM(h).a.Jc(),new f)))?(m=0,m=$Ye(m,h),i=m+2,ctt(e,i,h)):(fx(e.f,h),h.p=0,e.e=r.Math.max(e.e,0),e.b=F(kx(e.d.b,0),25),e.c=0);for(e.f.b==0||C4e(e),e.d.a.c.length=0,y=new Od,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 tm(Jz((Iv(),Hvt))))}else throw O(new tm(Jz((Iv(),Rvt))));if(n=r,t==44){if(i>=e.j)throw O(new tm(Jz((Iv(),Bvt))));if((t=IC(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 tm(Jz((Iv(),Hvt))));if(r>n)throw O(new tm(Jz((Iv(),Vvt))))}else n=-1}if(t!=125)throw O(new tm(Jz((Iv(),zvt))));e._l(i)?(a=(Wz(),Wz(),++W9,new vE(9,a)),e.d=i+1):(a=(Wz(),Wz(),++W9,new vE(3,a)),e.d=i),a.Mm(r),a.Lm(n),Rz(e)}}return a}function Zut(e){var t,n,i,a=1,o,s,c,l,u,d,f,p,m=new Od,h,g,_,v,y,b,x,S;for(i=0;i=F(kx(e.b,i),25).a.c.length/4)continue}if(F(kx(e.b,i),25).a.c.length>=t){for(x=new Od,ry(x,F(kx(e.b,i),25)),s=0;s1)for(h=new Ny((!e.a&&(e.a=new I(Q5,e,6,6)),e.a));h.e!=h.i.gc();)DF(h);for(s=F(U((!e.a&&(e.a=new I(Q5,e,6,6)),e.a),0),170),_=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+_L(t,24)*HV*f-f/2,m<0?m=1:m>i&&(m=i-1),a=(Im(),l=new io,l),HO(a,p),UO(a,m),hD((!s.a&&(s.a=new oy(q5,s,5)),s.a),a)}function Lz(e,t){XR();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 FV;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 dm,t<0?S.a+=`0E+`:S.a+=`0E`,S.a+=-t,S.a}if(y=m*10+1+7,b=H(K9,KB,30,y+1,15,1),n=y,m==1){if(s=i[0],s<0){ae=FT(s,PV);do h=ae,ae=SF(ae,10),b[--n]=48+Wx(RM(h,LM(ae,10)))&JB;while(Gj(ae,0)!=0)}else{ae=s;do h=ae,ae=ae/10|0,b[--n]=48+(h-ae*10)&JB;while(ae!=0)}}else{C=H(q9,cV,30,m,15,1),ie=m,OR(i,0,C,0,ie);I:for(;;){for(ee=0,l=ie-1;l>=0;l--)re=IM(dS(ee,32),FT(C[l],PV)),_=q1e(re),C[l]=Wx(_),ee=Wx(fS(_,32));v=Wx(ee),g=n;do b[--n]=48+v%10&JB;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),MN(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),MN(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),MN(b,n,y-n)}return ne=n+1,a=y,x=new fm,p&&(x.a+=`-`),a-ne>=1?(xC(x,b[n]),x.a+=`.`,x.a+=MN(b,n+1,y-n-1)):x.a+=MN(b,n,y-n),x.a+=`E`,o>0&&(x.a+=`+`),x.a+=``+o,x.a}function rdt(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=(Vh(),new Bp(e.c)),i=new nu(n),aN(i),b=rb(Y(e.c,(eI(),wIt))),l=F(Y(e.c,D3),330),S=F(Y(e.c,O3),427),s=F(Y(e.c,yIt),477),x=F(Y(e.c,E3),428),e.j=k(P(Y(e.c,TIt))),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 Hp(zG+(l.f==null?``+l.g:l.f)))}if(e.d=new Ske(c,S,s),G(e.d,(NA(),zY),nb(Y(e.c,xIt))),e.d.c=Gp(nb(Y(e.c,bIt))),yw(e.c).i==0)return e.d;for(f=new uy(yw(e.c));f.e!=f.i.gc();){for(d=F(aP(f),26),m=d.g/2,p=d.f/2,ee=new j(d.i+m,d.j+p);jS(e.g,ee);)Zy(ee,(r.Math.random()-.5)*wH,(r.Math.random()-.5)*wH);g=F(Y(d,(Hz(),w6)),140),_=new Qke(ee,new rw(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))),ry(e.d.i,_),LC(e.g,ee,new M_(_,d))}switch(x.g){case 0:if(b==null)e.d.d=F(kx(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.d[l]==0?fx(e.f,h):e.a[l]==0&&fx(e.g,h),++l}for(m=-1,p=1,d=new Od,e.e=F(q(t,(X(),_$)),234);ce>0;){for(;e.f.b!=0;)oe=F(ox(e.f),9),e.c[oe.p]=m--,frt(e,oe),--ce;for(;e.g.b!=0;)se=F(ox(e.g),9),e.c[se.p]=p++,frt(e,se),--ce;if(ce>0){for(f=VB,v=new D(y);v.a=f&&(b>f&&(d.c.length=0,f=b),zd(d.c,h)));u=e.qg(d),e.c[u.p]=p++,frt(e,u),--ce}}for(ae=y.c.length+1,l=0;le.c[w]&&(FR(r,!0),G(t,BQ,(by(),!0)));e.a=null,e.d=null,e.c=null,hw(e.g),hw(e.f),n.Ug()}function odt(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(Q5,e,6,6)),e.a),0),170),ee;for(d=new Uf,x=new kd,ee=dit(S),kI(x.f,S,ee),p=new kd,i=new ph,h=OS(ik(W(A(_J,1),iB,20,0,[(!t.d&&(t.d=new Db(Z5,t,8,5)),t.d),(!t.e&&(t.e=new Db(Z5,t,7,4)),t.e)])));rL(h);){if(m=F(zE(h),85),(!e.a&&(e.a=new I(Q5,e,6,6)),e.a).i!=1)throw O(new Hp(k_t+(!e.a&&(e.a=new I(Q5,e,6,6)),e.a).i));m!=e&&(_=F(U((!m.a&&(m.a=new I(Q5,m,6,6)),m.a),0),170),DE(i,_,i.c.b,i.c),g=F(V_(Yx(x.f,_)),13),g||(g=dit(_),kI(x.f,_,g)),f=n?Tb(new pv(F(kx(ee,ee.c.length-1),8)),F(kx(g,g.c.length-1),8)):Tb(new pv((OT(0,ee.c.length),F(ee.c[0],8))),(OT(0,g.c.length),F(g.c[0],8))),kI(p.f,_,f))}if(i.b!=0)for(v=F(kx(ee,n?ee.c.length-1:0),8),u=1;u1&&DE(d,v,d.c.b,d.c),CO(a)));v=y}return d}function sdt(e){var t,n=F(q(e,(X(),YQ)),22),r,i,a;switch(t=gv(FCt),i=F(q(e,(zz(),x1)),347),i==(Ej(),x8)&&uA(t,ICt),Gp(nb(q(e,b1)))?Sx(t,($F(),nX),(Uz(),eZ)):Sx(t,($F(),iX),(Uz(),eZ)),q(e,(tD(),q3))!=null&&uA(t,LCt),(Gp(nb(q(e,sAt)))||Gp(nb(q(e,rAt))))&&tS(t,($F(),oX),(Uz(),Dwt)),F(q(e,d1),86).g){case 2:case 3:case 4:tS(Sx(t,($F(),nX),(Uz(),kwt)),oX,Owt)}switch(n.Gc((WL(),mQ))&&tS(Sx(Sx(t,($F(),nX),(Uz(),Ewt)),aX,wwt),oX,Twt),M(q(e,O1))!==M((oR(),J0))&&Sx(t,($F(),iX),(Uz(),Gwt)),n.Gc(xQ)&&(Sx(t,($F(),nX),(Uz(),Ywt)),Sx(t,rX,qwt),Sx(t,iX,Jwt)),M(q(e,G$))!==M((aI(),fQ))&&M(q(e,g1))!==M((yM(),h8))&&tS(t,($F(),oX),(Uz(),Rwt)),Gp(nb(q(e,aAt)))&&Sx(t,($F(),iX),(Uz(),Lwt)),Gp(nb(q(e,c1)))&&Sx(t,($F(),iX),(Uz(),Xwt)),M7e(e)&&(r=M(q(e,x1))===M(x8)?F(q(e,a1),302):F(q(e,o1),302),a=r==(kA(),TQ)?(Uz(),Kwt):(Uz(),$wt),Sx(t,($F(),aX),a)),F(q(e,mAt),423).g==1&&Sx(t,($F(),aX),(Uz(),ywt)),F(q(e,qAt),382).g){case 1:Sx(t,($F(),aX),(Uz(),Zwt));break;case 2:tS(Sx(Sx(t,($F(),iX),(Uz(),bwt)),aX,xwt),oX,Swt)}return M(q(e,n1))!==M((NN(),X0))&&Sx(t,($F(),iX),(Uz(),Qwt)),FE(new Mx(null,new DT(e.a,16)),new ut)&&Yy(e,B1)&&tS(t,($F(),aX),(Uz(),Wwt)),t}function cdt(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.Tg(Zht,1),C=F(TE(ZC(new Mx(null,new DT(t,16)),new mne),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),16),u=F(TE(ZC(new Mx(null,new DT(t,16)),new Doe(t)),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[hY]))),16),m=F(TE(ZC(new Mx(null,new DT(t,16)),new Eoe(t)),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[hY]))),16),h=H(L2,gG,40,t.gc(),0,1),o=0;o=0&&ne=0&&!h[p]||(p=ne-f,p=0&&!h[p])){h[p]=i,u.ed(s),--s;break}for(m.gd(new hne),c=h.length-1;c>=0;c--)!h[c]&&!m.dc()&&(h[c]=F(m.Xb(0),40),m.ed(0));for(l=0;lf&&pF((OT(f,t.c.length),F(t.c[f],186)),u),u=null;t.c.length>f&&(OT(f,t.c.length),F(t.c[f],186)).a.c.length==0;)BD(t,(OT(f,t.c.length),t.c[f]));if(!u){--o;continue}if(!Gp(nb(F(kx(u.b,0),26).mf((JL(),n3))))&&qrt(t,m,a,u,g,n,f,r)){h=!0;continue}if(g){if(p=m.b,d=u.f,!Gp(nb(F(kx(u.b,0),26).mf(n3)))&&zst(t,m,a,u,n,f,r,i)){if(h=!0,p=e.j)e.a=-1,e.c=1;else if(t=IC(e.i,e.d++),e.a=t,e.b==1){switch(t){case 92:if(r=10,e.d>=e.j)throw O(new tm(Jz((Iv(),rq))));e.a=IC(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||IC(e.i,e.d)!=63)break;if(++e.d>=e.j)throw O(new tm(Jz((Iv(),iq))));switch(t=IC(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 tm(Jz((Iv(),iq))));if(t=IC(e.i,e.d++),t==61)r=16;else if(t==33)r=17;else throw O(new tm(Jz((Iv(),hvt))));break;case 35:for(;e.d=e.j)throw O(new tm(Jz((Iv(),rq))));e.a=IC(e.i,e.d++);break;default:r=0}e.c=r}}function pdt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g;if(n.Tg(`Process compaction`,1),Gp(nb(q(t,(AR(),TNt))))){for(i=F(q(t,c4),86),p=k(P(q(t,f4))),oot(e,t,i),cut(t,p/2/2),m=t.b,Wk(m,new Yu(i)),l=nP(m,0);l.b!=l.d.c;)if(c=F(sE(l),40),!Gp(nb(q(c,(Ez(),a4))))){if(r=Vtt(c,i),h=fat(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(q(t,l4))===M((mj(),z2))?(a=d,o=f,s=lj(ZC(new Mx(null,new DT(e.a,16)),new Nfe(a,o))),s.a==null?(s=i==(hM(),i8)||i==s8?lj(ZC(wze(new Mx(null,new DT(e.a,16))),new Coe(a))):lj(ZC(wze(new Mx(null,new DT(e.a,16))),new Xu(a))),s.a!=null&&(i==i8||i==a8?c.e.a=k(P((Ky(s.a!=null),F(s.a,49)).a)):c.e.b=k(P((Ky(s.a!=null),F(s.a,49)).a)))):i==(hM(),i8)||i==a8?c.e.a=d:c.e.b=d,s.a!=null&&(u=VD(e.a,(Ky(s.a!=null),s.a),0),u>0&&u!=F(q(c,p4),15).a&&(G(c,cNt,(by(),!0)),G(c,p4,K(u))))):i==(hM(),i8)||i==a8?c.e.a=d:c.e.b=d}n.Ug()}}function mdt(e,t,n){var r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S;if(n.Tg(`Coffman-Graham Layering`,1),t.a.c.length==0)n.Ug();else{for(S=F(q(t,(zz(),lAt)),15).a,c=0,o=0,p=new D(t.a);p.a=S||!vJe(v,r))&&(r=sDe(t,u)),cT(v,r),a=new uS(py(zM(v).a.Jc(),new f));rL(a);)i=F(zE(a),17),!e.a[i.p]&&(g=i.c.i,--e.e[g.p],e.e[g.p]==0&&ix(ZF(m,g),IV));for(l=u.c.length-1;l>=0;--l)ry(t.b,(OT(l,u.c.length),F(u.c[l],25)));t.a.c.length=0,n.Ug()}}function hdt(e){var t,n,r,i,a,o,s,c,l;for(e.b=1,Rz(e),t=null,e.c==0&&e.a==94?(Rz(e),t=(Wz(),Wz(),++W9,new RT(4)),VL(t,0,aJ),s=(++W9,new RT(4))):s=(Wz(),Wz(),++W9,new RT(4)),i=!0;(l=e.c)!=1;){if(l==0&&e.a==93&&!i){t&&(_z(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:$R(s,vR(n)),r=!0;break;case 105:case 73:case 99:case 67:n=($R(s,vR(n)),-1),n<0&&(r=!0);break;case 112:case 80:if(c=g6e(e,n),!c)throw O(new tm(Jz((Iv(),oq))));$R(s,c),r=!0;break;default:n=gtt(e)}else if(l==24&&!i){if(t&&(_z(t,s),s=t),a=hdt(e),_z(s,a),e.c!=0||e.a!=93)throw O(new tm(Jz((Iv(),Ovt))));break}if(Rz(e),!r){if(l==0){if(n==91)throw O(new tm(Jz((Iv(),kvt))));if(n==93)throw O(new tm(Jz((Iv(),Avt))));if(n==45&&!i&&e.a!=93)throw O(new tm(Jz((Iv(),cq))))}if(e.c!=0||e.a!=45||n==45&&i)VL(s,n,n);else{if(Rz(e),(l=e.c)==1)throw O(new tm(Jz((Iv(),sq))));if(l==0&&e.a==93)VL(s,n,n),VL(s,45,45);else if(l==0&&e.a==93||l==24)throw O(new tm(Jz((Iv(),cq))));else{if(o=e.a,l==0){if(o==91)throw O(new tm(Jz((Iv(),kvt))));if(o==93)throw O(new tm(Jz((Iv(),Avt))));if(o==45)throw O(new tm(Jz((Iv(),cq))))}else l==10&&(o=gtt(e));if(Rz(e),n>o)throw O(new tm(Jz((Iv(),Nvt))));VL(s,n,o)}}}i=!1}if(e.c==1)throw O(new tm(Jz((Iv(),sq))));return sL(s),sz(s),e.b=0,Rz(e),s}function gdt(e,t){var n,r,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x=!1;do for(x=!1,a=t?new Tl(e.a.b).a.gc()-2:1;t?a>=0:aF(q(_,u$),15).a)&&(b=!1);if(b){for(c=t?a+1:a-1,s=ZMe(e.a,K(c)),o=!1,y=!0,r=!1,u=nP(s,0);u.b!=u.d.c;)l=F(sE(u),9),Yy(l,u$)?l.p!=d.p&&(o|=t?F(q(l,u$),15).aF(q(d,u$),15).a,y=!1):!o&&y&&l.k==(pL(),TX)&&(r=!0,p=t?F(zE(new uS(py(zM(l).a.Jc(),new f))),17).c.i:F(zE(new uS(py(VM(l).a.Jc(),new f))),17).d.i,p==d&&(n=t?F(zE(new uS(py(VM(l).a.Jc(),new f))),17).d.i:F(zE(new uS(py(zM(l).a.Jc(),new f))),17).c.i,(t?F(Jy(e.a,n),15).a-F(Jy(e.a,p),15).a:F(Jy(e.a,p),15).a-F(Jy(e.a,n),15).a)<=2&&(y=!1)));if(r&&y&&(n=t?F(zE(new uS(py(VM(d).a.Jc(),new f))),17).d.i:F(zE(new uS(py(zM(d).a.Jc(),new f))),17).c.i,(t?F(Jy(e.a,n),15).a-F(Jy(e.a,d),15).a:F(Jy(e.a,d),15).a-F(Jy(e.a,n),15).a)<=2&&n.k==(pL(),OX)&&(y=!1)),o||y){for(g=A7e(e,d,t);g.a.gc()!=0;)h=F(g.a.ec().Jc().Pb(),9),g.a.Ac(h),Gk(g,A7e(e,h,t));--m,x=!0}}}while(x)}function _dt(e){dL(e.c,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#decimal`])),dL(e.d,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#integer`])),dL(e.e,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#boolean`])),dL(e.f,Oq,W(A(KJ,1),vB,2,6,[zq,`EBoolean`,JK,`EBoolean:Object`])),dL(e.i,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#byte`])),dL(e.g,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#hexBinary`])),dL(e.j,Oq,W(A(KJ,1),vB,2,6,[zq,`EByte`,JK,`EByte:Object`])),dL(e.n,Oq,W(A(KJ,1),vB,2,6,[zq,`EChar`,JK,`EChar:Object`])),dL(e.t,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#double`])),dL(e.u,Oq,W(A(KJ,1),vB,2,6,[zq,`EDouble`,JK,`EDouble:Object`])),dL(e.F,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#float`])),dL(e.G,Oq,W(A(KJ,1),vB,2,6,[zq,`EFloat`,JK,`EFloat:Object`])),dL(e.I,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#int`])),dL(e.J,Oq,W(A(KJ,1),vB,2,6,[zq,`EInt`,JK,`EInt:Object`])),dL(e.N,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#long`])),dL(e.O,Oq,W(A(KJ,1),vB,2,6,[zq,`ELong`,JK,`ELong:Object`])),dL(e.Z,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#short`])),dL(e.$,Oq,W(A(KJ,1),vB,2,6,[zq,`EShort`,JK,`EShort:Object`])),dL(e._,Oq,W(A(KJ,1),vB,2,6,[zq,`http://www.w3.org/2001/XMLSchema#string`]))}function vdt(e,t,n,r,i,a,o){var s,c,l,u,d,f=F(r.a,15).a,p=F(r.b,15).a,m;return d=e.b,m=e.c,s=0,u=0,t==(hM(),i8)||t==a8?(u=ng(cKe($C(QC(new Mx(null,new DT(n.b,16)),new ta),new cne))),d.e.b+d.f.b/2>u?(l=++p,s=k(P(Cy(hS(QC(new Mx(null,new DT(n.b,16)),new Rfe(i,l)),new lne))))):(c=++f,s=k(P(Cy(gS(QC(new Mx(null,new DT(n.b,16)),new zfe(i,c)),new une)))))):(u=ng(cKe($C(QC(new Mx(null,new DT(n.b,16)),new _ne),new Ji))),d.e.a+d.f.a/2>u?(l=++p,s=k(P(Cy(hS(QC(new Mx(null,new DT(n.b,16)),new Lfe(i,l)),new dne))))):(c=++f,s=k(P(Cy(gS(QC(new Mx(null,new DT(n.b,16)),new Ife(i,c)),new Yi)))))),t==i8?(tv(e.a,new j(k(P(q(d,(Ez(),$2))))-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==a8?(tv(e.a,new j(k(P(q(d,(Ez(),Q2))))+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==s8?(tv(e.a,new j(s,k(P(q(d,(Ez(),$2))))-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(Hy(e.a),8).b=k(P(q(d,(Ez(),Q2))))+i*F(o.b,15).a),tv(e.a,new j(s,k(P(q(d,(Ez(),Q2))))+i*F(o.b,15).a)),tv(e.a,new j(s,m.e.b-i*F(o.a,15).a-a))),new M_(K(f),K(p))}function zz(){zz=C,i0=(Hz(),gRt),PAt=_Rt,a0=vRt,o0=yRt,c0=bRt,l0=xRt,f0=SRt,m0=CRt,h0=wRt,p0=Y6,g0=X6,v0=TRt,b0=ORt,d0=J6,r0=(Ndt(),ikt),s0=akt,u0=okt,_0=skt,AAt=new Mv(W6,K(0)),t0=tkt,jAt=nkt,n0=rkt,qAt=jkt,BAt=ukt,VAt=pkt,C0=xkt,HAt=gkt,UAt=vkt,T0=Ikt,w0=Nkt,GAt=Dkt,WAt=Tkt,KAt=kkt,mAt=kOt,j1=wOt,A1=SOt,M1=EOt,R1=WOt,z1=GOt,B1=YOt,v1=KDt,nAt=YDt,LAt=$6,zAt=t8,IAt=Q6,FAt=Z6,RAt=(gM(),z5),new Mv(e8,RAt),bAt=new kv(12),yAt=new Mv(M6,bAt),$kt=(yM(),m8),g1=new Mv(RLt,$kt),Y1=new Mv(L6,0),MAt=new Mv(G6,K(1)),H$=new Mv(u6,OH),K1=A6,X1=R6,$1=H6,Xkt=m6,B$=kLt,x1=v6,NAt=new Mv(q6,(by(),!0)),C1=y6,w1=b6,H1=E6,G1=k6,U1=D6,Qkt=(hM(),o8),d1=new Mv(h6,Qkt),F1=T6,P1=ZLt,Q1=V6,DAt=B6,OAt=pRt,SAt=(tP(),B8),new Mv(cRt,SAt),wAt=P6,TAt=F6,EAt=I6,CAt=N6,S0=lkt,k1=bOt,O1=vOt,x0=ckt,E1=uOt,u1=MDt,l1=ADt,i1=pDt,Gkt=mDt,o1=yDt,a1=hDt,c1=ODt,hAt=jOt,gAt=MOt,cAt=rOt,V1=ZOt,I1=IOt,b1=QDt,vAt=HOt,tAt=HDt,_1=WDt,r1=p6,_At=NOt,G$=HEt,Bkt=BEt,W$=zEt,aAt=tOt,iAt=eOt,oAt=nOt,W1=O6,T1=C6,y1=BLt,m1=_6,p1=g6,Kkt=SDt,Z1=z6,U$=PLt,S1=WLt,J1=uRt,xAt=iRt,q1=oRt,dAt=pOt,fAt=hOt,e0=U6,V$=REt,pAt=_Ot,h1=RDt,f1=IDt,N1=w6,lAt=sOt,L1=zOt,y0=ERt,Zkt=PDt,kAt=$Ot,eAt=BDt,qkt=wDt,Jkt=TDt,uAt=lOt,Ykt=EDt,sAt=S6,D1=fOt,s1=DDt,n1=dDt,$$=sDt,q$=KEt,J$=qEt,e1=lDt,K$=WEt,t1=uDt,Q$=oDt,Z$=aDt,Wkt=iDt,Y$=JEt,X$=nDt,Ukt=eDt,Vkt=XEt,Hkt=QEt,rAt=$Dt}function ydt(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=EBt,l=null,a=null,s=0,c=JN(e,s,wBt,TBt),c=0&&kb(e.substr(s,2),`//`)?(s+=2,c=JN(e,s,D7,O7),r=(uD(s,c,e.length),e.substr(s,c-s)),s=c):d!=null&&(s==e.length||(kT(s,e.length),e.charCodeAt(s)!=47))&&(o=!1,c=Ege(e,JF(35),s),c==-1&&(c=e.length),r=(uD(s,c,e.length),e.substr(s,c-s)),s=c);if(!n&&s0&&IC(u,u.length-1)==58&&(i=u,s=c)),so?(nR(e,t,n),1):(nR(e,n,t),-1)}for(v=e.f,y=0,b=v.length;y0?nR(e,t,n):nR(e,n,t),r;if(!Yy(t,(X(),u$))||!Yy(n,u$))return a=AF(e,t),s=AF(e,n),a>s?(nR(e,t,n),1):(nR(e,n,t),-1)}if(!f&&!m&&(r=Sdt(e,t,n),r!=0))return r>0?nR(e,t,n):nR(e,n,t),r}return Yy(t,(X(),u$))&&Yy(n,u$)?(a=PL(t,n,e.c,F(q(e.c,l$),15).a),s=PL(n,t,e.c,F(q(e.c,l$),15).a),a>s?(nR(e,t,n),1):(nR(e,n,t),-1)):(nR(e,n,t),-1)}function bdt(){bdt=C,Iz(),bX=new Bw,GI(bX,(Dz(),c5),s5),GI(bX,v5,s5),GI(bX,l5,s5),GI(bX,h5,s5),GI(bX,m5,s5),GI(bX,f5,s5),GI(bX,h5,c5),GI(bX,s5,r5),GI(bX,c5,r5),GI(bX,v5,r5),GI(bX,l5,r5),GI(bX,p5,r5),GI(bX,h5,r5),GI(bX,m5,r5),GI(bX,f5,r5),GI(bX,o5,r5),GI(bX,s5,g5),GI(bX,c5,g5),GI(bX,r5,g5),GI(bX,v5,g5),GI(bX,l5,g5),GI(bX,p5,g5),GI(bX,h5,g5),GI(bX,o5,g5),GI(bX,_5,g5),GI(bX,m5,g5),GI(bX,u5,g5),GI(bX,f5,g5),GI(bX,c5,v5),GI(bX,l5,v5),GI(bX,h5,v5),GI(bX,f5,v5),GI(bX,c5,l5),GI(bX,v5,l5),GI(bX,h5,l5),GI(bX,l5,l5),GI(bX,m5,l5),GI(bX,s5,i5),GI(bX,c5,i5),GI(bX,r5,i5),GI(bX,g5,i5),GI(bX,v5,i5),GI(bX,l5,i5),GI(bX,p5,i5),GI(bX,h5,i5),GI(bX,_5,i5),GI(bX,o5,i5),GI(bX,f5,i5),GI(bX,m5,i5),GI(bX,d5,i5),GI(bX,s5,_5),GI(bX,c5,_5),GI(bX,r5,_5),GI(bX,v5,_5),GI(bX,l5,_5),GI(bX,p5,_5),GI(bX,h5,_5),GI(bX,o5,_5),GI(bX,f5,_5),GI(bX,u5,_5),GI(bX,d5,_5),GI(bX,c5,o5),GI(bX,v5,o5),GI(bX,l5,o5),GI(bX,h5,o5),GI(bX,_5,o5),GI(bX,f5,o5),GI(bX,m5,o5),GI(bX,s5,a5),GI(bX,c5,a5),GI(bX,r5,a5),GI(bX,v5,a5),GI(bX,l5,a5),GI(bX,p5,a5),GI(bX,h5,a5),GI(bX,o5,a5),GI(bX,f5,a5),GI(bX,c5,m5),GI(bX,r5,m5),GI(bX,g5,m5),GI(bX,l5,m5),GI(bX,s5,u5),GI(bX,c5,u5),GI(bX,g5,u5),GI(bX,v5,u5),GI(bX,l5,u5),GI(bX,p5,u5),GI(bX,h5,u5),GI(bX,h5,d5),GI(bX,l5,d5),GI(bX,o5,s5),GI(bX,o5,v5),GI(bX,o5,r5),GI(bX,p5,s5),GI(bX,p5,c5),GI(bX,p5,g5)}function xdt(e,t,n){var r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S;switch(n.Tg(`Brandes & Koepf node placement`,1),e.a=t,e.c=Yit(t),r=F(q(t,(zz(),I1)),282),p=Gp(nb(q(t,L1))),e.d=r==(TF(),dQ)&&!p||r==uQ,Ast(e,t),x=null,S=null,_=null,v=null,g=(_k(4,FB),new pD(4)),F(q(t,I1),282).g){case 3:_=new fR(t,e.c.d,(nT(),T2),(Hw(),C2)),zd(g.c,_);break;case 1:v=new fR(t,e.c.d,(nT(),E2),(Hw(),C2)),zd(g.c,v);break;case 4:x=new fR(t,e.c.d,(nT(),T2),(Hw(),w2)),zd(g.c,x);break;case 2:S=new fR(t,e.c.d,(nT(),E2),(Hw(),w2)),zd(g.c,S);break;default:_=new fR(t,e.c.d,(nT(),T2),(Hw(),C2)),v=new fR(t,e.c.d,E2,C2),x=new fR(t,e.c.d,T2,w2),S=new fR(t,e.c.d,E2,w2),zd(g.c,x),zd(g.c,S),zd(g.c,_),zd(g.c,v)}for(i=new wfe(t,e.c),s=new D(g);s.aaL(a))&&(d=a);for(!d&&(d=(OT(0,g.c.length),F(g.c[0],185))),h=new D(t.b);h.a0?(nR(e,n,t),1):(nR(e,t,n),-1);if(u&&y)return nR(e,n,t),1;if(d&&v)return nR(e,t,n),-1;if(d&&y)return 0}else for(ne=new D(l.j);ne.af&&(ie=0,ae+=d+te,d=0),prt(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 D(e);C.a=-1900),n>=4?Q_(e,W(A(KJ,1),vB,2,6,[sft,cft])[s]):Q_(e,W(A(KJ,1),vB,2,6,[`BC`,`AD`])[s]);break;case 121:DYe(e,n,r);break;case 77:urt(e,n,r);break;case 107:c=i.q.getHours(),c==0?QD(e,24,n):QD(e,c,n);break;case 83:j7e(e,n,i);break;case 69:u=r.q.getDay(),n==5?Q_(e,W(A(KJ,1),vB,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[u]):n==4?Q_(e,W(A(KJ,1),vB,2,6,[lV,uV,dV,fV,pV,mV,hV])[u]):Q_(e,W(A(KJ,1),vB,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[u]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?Q_(e,W(A(KJ,1),vB,2,6,[`AM`,`PM`])[1]):Q_(e,W(A(KJ,1),vB,2,6,[`AM`,`PM`])[0]);break;case 104:d=i.q.getHours()%12,d==0?QD(e,12,n):QD(e,d,n);break;case 75:f=i.q.getHours()%12,QD(e,f,n);break;case 72:p=i.q.getHours(),QD(e,p,n);break;case 99:m=r.q.getDay(),n==5?Q_(e,W(A(KJ,1),vB,2,6,[`S`,`M`,`T`,`W`,`T`,`F`,`S`])[m]):n==4?Q_(e,W(A(KJ,1),vB,2,6,[lV,uV,dV,fV,pV,mV,hV])[m]):n==3?Q_(e,W(A(KJ,1),vB,2,6,[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`])[m]):QD(e,m,1);break;case 76:h=r.q.getMonth(),n==5?Q_(e,W(A(KJ,1),vB,2,6,[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`])[h]):n==4?Q_(e,W(A(KJ,1),vB,2,6,[YB,XB,ZB,QB,$B,eV,tV,nV,rV,iV,aV,oV])[h]):n==3?Q_(e,W(A(KJ,1),vB,2,6,[`Jan`,`Feb`,`Mar`,`Apr`,$B,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`])[h]):QD(e,h+1,n);break;case 81:g=r.q.getMonth()/3|0,n<4?Q_(e,W(A(KJ,1),vB,2,6,[`Q1`,`Q2`,`Q3`,`Q4`])[g]):Q_(e,W(A(KJ,1),vB,2,6,[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`])[g]);break;case 100:_=r.q.getDate(),QD(e,_,n);break;case 109:l=i.q.getMinutes(),QD(e,l,n);break;case 115:o=i.q.getSeconds(),QD(e,o,n);break;case 122:n<4?Q_(e,a.c[0]):Q_(e,a.c[1]);break;case 118:Q_(e,a.b);break;case 90:n<3?Q_(e,z3e(a)):n==3?Q_(e,X3e(a)):Q_(e,Z3e(a.a));break;default:return!1}return!0}function Ddt(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(Cnt(t),c=F(U((!t.b&&(t.b=new Db(X5,t,4,7)),t.b),0),84),u=F(U((!t.c&&(t.c=new Db(X5,t,5,8)),t.c),0),84),s=VF(c),l=VF(u),o=(!t.a&&(t.a=new I(Q5,t,6,6)),t.a).i==0?null:F(U((!t.a&&(t.a=new I(Q5,t,6,6)),t.a),0),170),ee=F(pC(e.a,s),9),re=F(pC(e.a,l),9),te=null,ie=null,N(c,193)&&(S=F(pC(e.a,c),246),N(S,12)?te=F(S,12):N(S,9)&&(ee=F(S,9),te=F(kx(ee.j,0),12))),N(u,193)&&(C=F(pC(e.a,u),246),N(C,12)?ie=F(C,12):N(C,9)&&(re=F(C,9),ie=F(kx(re.j,0),12))),!ee||!re)throw O(new $p(`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 Dw,wA(h,t),G(h,(X(),d$),t),G(h,(zz(),T1),null),p=F(q(r,YQ),22),ee==re&&p.Ec((WL(),SQ)),te||=(x=(uk(),n2),ne=null,o&&vv(F(q(ee,X1),102))&&(ne=new j(o.j,o.k),RNe(ne,$w(t)),kPe(ne,n),EO(l,s)&&(x=t2,wb(ne,ee.n))),sot(ee,ne,x,r)),ie||=(x=(uk(),t2),ae=null,o&&vv(F(q(re,X1),102))&&(ae=new j(o.b,o.c),RNe(ae,$w(t)),kPe(ae,n)),sot(re,ae,x,jC(re))),sT(h,te),lT(h,ie),(te.e.c.length>1||te.g.c.length>1||ie.e.c.length>1||ie.g.c.length>1)&&p.Ec((WL(),_Q)),f=new uy((!t.n&&(t.n=new I(o7,t,1,7)),t.n));f.e!=f.i.gc();)if(d=F(aP(f),157),!Gp(nb(Y(d,K1)))&&d.a)switch(g=Xj(d),ry(h.b,g),F(q(g,m1),279).g){case 1:case 2:p.Ec((WL(),hQ));break;case 0:p.Ec((WL(),pQ)),G(g,m1,(NO(),d8))}if(a=F(q(r,l1),301),_=F(q(r,V1),303),i=a==(rN(),VZ)||_==(dP(),B0),o&&(!o.a&&(o.a=new oy(q5,o,5)),o.a).i!=0&&i){for(v=G2e(o),m=new Uf,b=nP(v,0);b.b!=b.d.c;)y=F(sE(b),8),fx(m,new pv(y));G(h,OEt,m)}return h}function Odt(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=F(Cy(hS(QC(new Mx(null,new DT(e.b,16)),new Xi),new sne)),15).a+1,te=H(q9,cV,30,x,15,1),g=H(q9,cV,30,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?Jv(l.b.e):F(Hy(l.a),8),y=wb(Jv(F(S.Xb(S.gc()-1),40).e),F(S.Xb(S.gc()-1),40).f),f=wb(Jv(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?Jv(l.b.e):F(Hy(l.a),8),y=wb(Jv(F(S.Xb(S.gc()-1),40).e),F(S.Xb(S.gc()-1),40).f),f=wb(Jv(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(q(e,(Ez(),dNt))))&&++C):(p.f&&p.d.e.a<=k(P(q(e,(Ez(),K2))))&&++ne,p.g&&p.c.e.a+p.c.f.a>=k(P(q(e,(Ez(),uNt))))&&++C)}else b==0?t6e(l):b<0&&(++te[ie],++g[oe],re=vdt(l,t,e,new M_(K(ne),K(C)),n,r,new M_(K(g[oe]),K(te[ie]))),ne=F(re.a,15).a,C=F(re.b,15).a)}function kdt(e){e.gb||(e.gb=!0,e.b=_A(e,0),Bk(e.b,18),Vk(e.b,19),e.a=_A(e,1),Bk(e.a,1),Vk(e.a,2),Vk(e.a,3),Vk(e.a,4),Vk(e.a,5),e.o=_A(e,2),Bk(e.o,8),Bk(e.o,9),Vk(e.o,10),Vk(e.o,11),Vk(e.o,12),Vk(e.o,13),Vk(e.o,14),Vk(e.o,15),Vk(e.o,16),Vk(e.o,17),Vk(e.o,18),Vk(e.o,19),Vk(e.o,20),Vk(e.o,21),Vk(e.o,22),Vk(e.o,23),xO(e.o),xO(e.o),xO(e.o),xO(e.o),xO(e.o),xO(e.o),xO(e.o),xO(e.o),xO(e.o),xO(e.o),e.p=_A(e,3),Bk(e.p,2),Bk(e.p,3),Bk(e.p,4),Bk(e.p,5),Vk(e.p,6),Vk(e.p,7),xO(e.p),xO(e.p),e.q=_A(e,4),Bk(e.q,8),e.v=_A(e,5),Vk(e.v,9),xO(e.v),xO(e.v),xO(e.v),e.w=_A(e,6),Bk(e.w,2),Bk(e.w,3),Bk(e.w,4),Vk(e.w,5),e.B=_A(e,7),Vk(e.B,1),xO(e.B),xO(e.B),xO(e.B),e.Q=_A(e,8),Vk(e.Q,0),xO(e.Q),e.R=_A(e,9),Bk(e.R,1),e.S=_A(e,10),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),xO(e.S),e.T=_A(e,11),Vk(e.T,10),Vk(e.T,11),Vk(e.T,12),Vk(e.T,13),Vk(e.T,14),xO(e.T),xO(e.T),e.U=_A(e,12),Bk(e.U,2),Bk(e.U,3),Vk(e.U,4),Vk(e.U,5),Vk(e.U,6),Vk(e.U,7),xO(e.U),e.V=_A(e,13),Vk(e.V,10),e.W=_A(e,14),Bk(e.W,18),Bk(e.W,19),Bk(e.W,20),Vk(e.W,21),Vk(e.W,22),Vk(e.W,23),e.bb=_A(e,15),Bk(e.bb,10),Bk(e.bb,11),Bk(e.bb,12),Bk(e.bb,13),Bk(e.bb,14),Bk(e.bb,15),Bk(e.bb,16),Vk(e.bb,17),xO(e.bb),xO(e.bb),e.eb=_A(e,16),Bk(e.eb,2),Bk(e.eb,3),Bk(e.eb,4),Bk(e.eb,5),Bk(e.eb,6),Bk(e.eb,7),Vk(e.eb,8),Vk(e.eb,9),e.ab=_A(e,17),Bk(e.ab,0),Bk(e.ab,1),e.H=_A(e,18),Vk(e.H,0),Vk(e.H,1),Vk(e.H,2),Vk(e.H,3),Vk(e.H,4),Vk(e.H,5),xO(e.H),e.db=_A(e,19),Vk(e.db,2),e.c=vA(e,20),e.d=vA(e,21),e.e=vA(e,22),e.f=vA(e,23),e.i=vA(e,24),e.g=vA(e,25),e.j=vA(e,26),e.k=vA(e,27),e.n=vA(e,28),e.r=vA(e,29),e.s=vA(e,30),e.t=vA(e,31),e.u=vA(e,32),e.fb=vA(e,33),e.A=vA(e,34),e.C=vA(e,35),e.D=vA(e,36),e.F=vA(e,37),e.G=vA(e,38),e.I=vA(e,39),e.J=vA(e,40),e.L=vA(e,41),e.M=vA(e,42),e.N=vA(e,43),e.O=vA(e,44),e.P=vA(e,45),e.X=vA(e,46),e.Y=vA(e,47),e.Z=vA(e,48),e.$=vA(e,49),e._=vA(e,50),e.cb=vA(e,51),e.K=vA(e,52))}function Adt(e,t,n,i){for(var a,o,s,c,l,u,d,f=nP(e.b,0),p,m,h;f.b!=f.d.c;)if(d=F(sE(f),40),!kb(d.c,pG))for(o=F(TE(new Mx(null,new DT(C6e(d,e),16)),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),16),t==(hM(),i8)||t==a8?o.gd(new Zi):o.gd(new Qi),h=o.gc(),a=0;a0&&(c=F(Hy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Hy(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==a8?(u=k(P(q(d,(Ez(),$2)))),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(Hy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Hy(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==s8?(u=k(P(q(d,(Ez(),Q2)))),d.e.b+d.f.b+i0&&(c=F(Hy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Hy(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(q(d,(Ez(),$2)))),JUe(F(o.Xb(a),65),e)?tv(F(o.Xb(a),65).a,new j(d.e.a+d.f.a*s,F(Hy(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(Hy(F(o.Xb(a),65).a),8).a,p=d.e.a+d.f.a/2,l=F(Hy(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 jdt(e,t,n){var r,i,a,o=t,s,c,l,u,d,f=n,p,m,h,g,_,v,y,b,x,S;if(jS(e.a,o)){if(uh(F(pC(e.a,o),48),f))return 1}else LC(e.a,o,new df);if(jS(e.a,f)){if(uh(F(pC(e.a,f),48),o))return-1}else LC(e.a,f,new df);if(jS(e.e,o)){if(uh(F(pC(e.e,o),48),f))return-1}else LC(e.e,o,new df);if(jS(e.e,f)){if(uh(F(pC(e.a,f),48),o))return 1}else LC(e.e,f,new df);if(o.j!=f.j)return x=Ome(o.j,f.j),x>0?yR(e,o,f,1):yR(e,f,o,1),x;if(S=1,o.e.c.length!=0&&f.e.c.length!=0){if((o.j==(Dz(),x5)&&f.j==x5||o.j==n5&&f.j==n5||o.j==y5&&f.j==y5)&&(S=-S),u=F(kx(o.e,0),17).c,g=F(kx(f.e,0),17).c,c=u.i,m=g.i,c==m)for(y=new D(c.j);y.a0?(yR(e,o,f,S),S):(yR(e,f,o,S),-S);if(r=wGe(F(TE(zS(e.d),vD(new Ce,new Se,new Ee,W(A(gY,1),Z,130,0,[(kj(),hY)]))),20),c,m),r!=0)return r>0?(yR(e,o,f,S),S):(yR(e,f,o,S),-S);if(e.c&&(x=pXe(e,o,f),x!=0))return x>0?(yR(e,o,f,S),S):(yR(e,f,o,S),-S)}return o.g.c.length!=0&&f.g.c.length!=0?((o.j==(Dz(),x5)&&f.j==x5||o.j==y5&&f.j==y5)&&(S=-S),d=F(q(o,(X(),s$)),9),_=F(q(f,s$),9),e.f==(NN(),Q0)&&d&&_&&Yy(d,u$)&&Yy(_,u$)?(s=PL(d,_,e.b,F(q(e.b,l$),15).a),p=PL(_,d,e.b,F(q(e.b,l$),15).a),s>p?(yR(e,o,f,S),S):(yR(e,f,o,S),-S)):e.c&&(x=pXe(e,o,f),x!=0)?x>0?(yR(e,o,f,S),S):(yR(e,f,o,S),-S):(l=0,h=0,Yy(F(kx(o.g,0),17),u$)&&(l=PL(F(kx(o.g,0),246),F(kx(f.g,0),246),e.b,o.g.c.length+o.e.c.length)),Yy(F(kx(f.g,0),17),u$)&&(h=PL(F(kx(f.g,0),246),F(kx(o.g,0),246),e.b,f.g.c.length+f.e.c.length)),d&&d==_||e.g&&(e.g._b(d)&&(l=F(e.g.xc(d),15).a),e.g._b(_)&&(h=F(e.g.xc(_),15).a)),l>h?(yR(e,o,f,S),S):(yR(e,f,o,S),-S))):o.e.c.length!=0&&f.g.c.length!=0?(yR(e,o,f,S),1):o.g.c.length!=0&&f.e.c.length!=0?(yR(e,f,o,S),-1):Yy(o,(X(),u$))&&Yy(f,u$)?(a=o.i.j.c.length,s=PL(o,f,e.b,a),p=PL(f,o,e.b,a),(o.j==(Dz(),x5)&&f.j==x5||o.j==y5&&f.j==y5)&&(S=-S),s>p?(yR(e,o,f,S),S):(yR(e,f,o,S),-S)):(yR(e,f,o,S),-S)}function X(){X=C;var e,t;d$=new fd(ppt),CEt=new fd(`coordinateOrigin`),g$=new fd(`processors`),SEt=new bb(`compoundNode`,(by(),!1)),QQ=new bb(`insideConnections`,!1),OEt=new fd(`originalBendpoints`),kEt=new fd(`originalDummyNodePosition`),AEt=new fd(`originalLabelEdge`),v$=new fd(`representedLabels`),HQ=new fd(`endLabels`),UQ=new fd(`endLabel.origin`),n$=new bb(`labelSide`,(sF(),D8)),c$=new bb(`maxEdgeThickness`,0),y$=new bb(`reversed`,!1),_$=new fd(mpt),a$=new bb(`longEdgeSource`,null),o$=new bb(`longEdgeTarget`,null),i$=new bb(`longEdgeHasLabelDummies`,!1),r$=new bb(`longEdgeBeforeLabelDummy`,!1),VQ=new bb(`edgeConstraint`,(XA(),tQ)),e$=new fd(`inLayerLayoutUnit`),$Q=new bb(`inLayerConstraint`,(uO(),MQ)),t$=new bb(`inLayerSuccessorConstraint`,new Od),EEt=new bb(`inLayerSuccessorConstraintBetweenNonDummies`,!1),m$=new fd(`portDummy`),zQ=new bb(`crossingHint`,K(0)),YQ=new bb(`graphProperties`,(t=F(Rm(CQ),10),new Rb(t,F(yb(t,t.length),10),0))),qQ=new bb(`externalPortSide`,(Dz(),b5)),TEt=new bb(`externalPortSize`,new Nm),GQ=new fd(`externalPortReplacedDummies`),KQ=new fd(`externalPortReplacedDummy`),WQ=new bb(`externalPortConnections`,(e=F(Rm(S5),10),new Rb(e,F(yb(e,e.length),10),0))),h$=new bb(rpt,0),xEt=new fd(`barycenterAssociates`),j$=new fd(`TopSideComments`),FQ=new fd(`BottomSideComments`),RQ=new fd(`CommentConnectionPort`),ZQ=new bb(`inputCollect`,!1),f$=new bb(`outputCollect`,!1),BQ=new bb(`cyclic`,!1),wEt=new fd(`crossHierarchyMap`),D$=new fd(`targetOffset`),new bb(`splineLabelSize`,new Nm),S$=new fd(`spacings`),p$=new bb(`partitionConstraint`,!1),IQ=new fd(`breakingPoint.info`),NEt=new fd(`splines.survivingEdge`),T$=new fd(`splines.route.start`),C$=new fd(`splines.edgeChain`),MEt=new fd(`originalPortConstraints`),x$=new fd(`selfLoopHolder`),w$=new fd(`splines.nsPortY`),u$=new fd(`modelOrder`),l$=new fd(`modelOrder.maximum`),LQ=new fd(`modelOrderGroups.cb.number`),s$=new fd(`longEdgeTargetNode`),JQ=new bb(qpt,!1),b$=new bb(qpt,!1),XQ=new fd(`layerConstraints.hiddenNodes`),jEt=new fd(`layerConstraints.opposidePort`),E$=new fd(`targetNode.modelOrder`),k$=new bb(`tarjan.lowlink`,K($z)),O$=new bb(`tarjan.id`,K(-1)),A$=new bb(`tarjan.onstack`,!1),DEt=new bb(`partOfCycle`,!1),M$=new fd(`medianHeuristic.weight`)}function Hz(){Hz=C;var e,t;l6=new fd($gt),K6=new fd(e_t),ALt=(bP(),Y3),kLt=new rv(sht,ALt),new Dd,u6=new rv(NH,null),jLt=new fd(t_t),FLt=(MF(),Gx(s6,W(A(c6,1),Z,299,0,[r6]))),p6=new rv(UW,FLt),m6=new rv(VW,(by(),!1)),ILt=(hM(),o8),h6=new rv(HW,ILt),zLt=(yM(),_8),RLt=new rv(PW,zLt),HLt=new rv(Zgt,!1),ULt=(Ej(),S8),v6=new rv(NW,ULt),rRt=new kv(12),M6=new rv(IH,rRt),x6=new rv(LH,!1),S6=new rv(qW,!1),j6=new rv(BH,!1),dRt=(LF(),q8),R6=new rv(RH,dRt),U6=new fd(KW),W6=new fd(AH),G6=new fd(PH),q6=new fd(FH),YLt=new Uf,C6=new rv(vht,YLt),PLt=new rv(Sht,!1),WLt=new rv(Cht,!1),new fd(n_t),new rv(r_t,0),XLt=new Ff,w6=new rv(Tht,XLt),A6=new rv(aht,!1),new Dd,hRt=new rv(i_t,1),f6=new fd(a_t),d6=new fd(o_t),$6=new rv(KH,!1),new rv(s_t,!0),K(0),new rv(c_t,K(100)),new rv(l_t,!1),K(0),new rv(u_t,K(4e3)),K(0),new rv(d_t,K(400)),new rv(f_t,!1),new rv(p_t,!1),new rv(m_t,!0),new rv(h_t,!1),NLt=(iN(),U5),MLt=new rv(Qgt,NLt),JLt=(BO(),C5),qLt=new rv(g_t,JLt),KLt=(Yj(),u8),GLt=new rv(__t,KLt),gRt=new rv(qmt,10),_Rt=new rv(Jmt,10),vRt=new rv(Ymt,20),yRt=new rv(Xmt,10),bRt=new rv(MH,2),xRt=new rv(BW,10),SRt=new rv(Zmt,0),Y6=new rv(eht,5),CRt=new rv(Qmt,1),wRt=new rv($mt,1),X6=new rv(jH,20),TRt=new rv(tht,10),ORt=new rv(nht,10),J6=new fd(rht),DRt=new wme,ERt=new rv(Eht,DRt),oRt=new fd(GW),aRt=!1,iRt=new rv(WW,aRt),QLt=new kv(5),ZLt=new rv(uht,QLt),$Lt=(iL(),t=F(Rm(L8),10),new Rb(t,F(yb(t,t.length),10),0)),T6=new rv(WH,$Lt),lRt=(tP(),z8),cRt=new rv(pht,lRt),P6=new fd(mht),F6=new fd(hht),I6=new fd(ght),N6=new fd(_ht),eRt=(e=F(Rm(k5),10),new Rb(e,F(yb(e,e.length),10),0)),E6=new rv(UH,eRt),nRt=WM((hR(),M5)),k6=new rv(HH,nRt),tRt=new j(0,0),O6=new rv(QH,tRt),D6=new rv(VH,!1),LLt=(NO(),d8),_6=new rv(bht,LLt),g6=new rv(zH,!1),new fd(v_t),K(1),new rv(y_t,null),uRt=new fd(wht),z6=new fd(xht),mRt=(Dz(),b5),H6=new rv(oht,mRt),L6=new fd(iht),fRt=(II(),WM(Q8)),V6=new rv(GH,fRt),B6=new rv(dht,!1),pRt=new rv(fht,!0),K(1),NRt=new rv(aK,K(3)),K(1),FRt=new rv(b_t,K(4)),new Dd,t8=new rv(qH,1),n8=new rv(oK,null),Q6=new rv(JH,150),Z6=new rv(YH,1.414),e8=new rv(XH,null),kRt=new rv(x_t,1),y6=new rv(cht,!1),b6=new rv(lht,!1),BLt=new rv(yht,1),VLt=(XF(),y8),new rv(S_t,VLt),sRt=!0,PRt=(OE(),V5),jRt=(gM(),z5),MRt=z5,ARt=z5}function Uz(){Uz=C,kwt=new vg(`DIRECTION_PREPROCESSOR`,0),Ewt=new vg(`COMMENT_PREPROCESSOR`,1),IX=new vg(`EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER`,2),BX=new vg(`INTERACTIVE_EXTERNAL_PORT_POSITIONER`,3),Ywt=new vg(`PARTITION_PREPROCESSOR`,4),UX=new vg(`LABEL_DUMMY_INSERTER`,5),iZ=new vg(`SELF_LOOP_PREPROCESSOR`,6),JX=new vg(`LAYER_CONSTRAINT_PREPROCESSOR`,7),qwt=new vg(`PARTITION_MIDPROCESSOR`,8),Lwt=new vg(`HIGH_DEGREE_NODE_LAYER_PROCESSOR`,9),Gwt=new vg(`NODE_PROMOTION`,10),qX=new vg(`LAYER_CONSTRAINT_POSTPROCESSOR`,11),Jwt=new vg(`PARTITION_POSTPROCESSOR`,12),Pwt=new vg(`HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR`,13),Xwt=new vg(`SEMI_INTERACTIVE_CROSSMIN_PROCESSOR`,14),bwt=new vg(`BREAKING_POINT_INSERTER`,15),XX=new vg(`LONG_EDGE_SPLITTER`,16),eZ=new vg(`PORT_SIDE_PROCESSOR`,17),VX=new vg(`INVERTED_PORT_PROCESSOR`,18),$X=new vg(`PORT_LIST_SORTER`,19),Qwt=new vg(`SORT_BY_INPUT_ORDER_OF_MODEL`,20),QX=new vg(`NORTH_SOUTH_PORT_PREPROCESSOR`,21),xwt=new vg(`BREAKING_POINT_PROCESSOR`,22),Kwt=new vg(Rpt,23),$wt=new vg(zpt,24),nZ=new vg(`SELF_LOOP_PORT_RESTORER`,25),ywt=new vg(`ALTERNATING_LAYER_UNZIPPER`,26),Zwt=new vg(`SINGLE_EDGE_GRAPH_WRAPPER`,27),HX=new vg(`IN_LAYER_CONSTRAINT_PROCESSOR`,28),jwt=new vg(`END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR`,29),Hwt=new vg(`LABEL_AND_NODE_SIZE_PROCESSOR`,30),Vwt=new vg(`INNERMOST_NODE_MARGIN_CALCULATOR`,31),aZ=new vg(`SELF_LOOP_ROUTER`,32),wwt=new vg(`COMMENT_NODE_MARGIN_CALCULATOR`,33),RX=new vg(`END_LABEL_PREPROCESSOR`,34),GX=new vg(`LABEL_DUMMY_SWITCHER`,35),Cwt=new vg(`CENTER_LABEL_MANAGEMENT_PROCESSOR`,36),KX=new vg(`LABEL_SIDE_SELECTOR`,37),zwt=new vg(`HYPEREDGE_DUMMY_MERGER`,38),Fwt=new vg(`HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR`,39),Wwt=new vg(`NODE_PLACEMENT_REPEATER`,40),Uwt=new vg(`LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR`,41),zX=new vg(`HIERARCHICAL_PORT_POSITION_PROCESSOR`,42),Dwt=new vg(`CONSTRAINTS_POSTPROCESSOR`,43),Twt=new vg(`COMMENT_POSTPROCESSOR`,44),Bwt=new vg(`HYPERNODE_PROCESSOR`,45),Iwt=new vg(`HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER`,46),YX=new vg(`LONG_EDGE_JOINER`,47),rZ=new vg(`SELF_LOOP_POSTPROCESSOR`,48),Swt=new vg(`BREAKING_POINT_REMOVER`,49),ZX=new vg(`NORTH_SOUTH_PORT_POSTPROCESSOR`,50),Rwt=new vg(`HORIZONTAL_COMPACTOR`,51),WX=new vg(`LABEL_DUMMY_REMOVER`,52),Mwt=new vg(`FINAL_SPLINE_BENDPOINTS_CALCULATOR`,53),Awt=new vg(`END_LABEL_SORTER`,54),tZ=new vg(`REVERSED_EDGE_RESTORER`,55),LX=new vg(`END_LABEL_POSTPROCESSOR`,56),Nwt=new vg(`HIERARCHICAL_NODE_RESIZER`,57),Owt=new vg(`DIRECTION_POSTPROCESSOR`,58)}function Mdt(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=(Ky(Se.b>0),F(Se.a.Xb(Se.c=--Se.b),12)),xe=0,c=new D(ve.e);c.a0&&(ve.j==(Dz(),n5)?(e.a[ve.p]=Me,++Me):(e.a[ve.p]=Me+pe+he,++he))}Me+=he}for(be=new kd,h=new mv,ae=t,w=0,ue=ae.length;wu.b&&(u.b=Ce)):ve.i.c==Ee&&(Ceu.c&&(u.c=Ce));for(kD(g,0,g.length,null),je=H(q9,cV,30,g.length,15,1),i=H(q9,cV,30,Me+1,15,1),v=0;v0;)te%2>0&&(a+=Fe[te+1]),te=(te-1)/2|0,++Fe[te];for(C=H(sMt,iB,370,g.length*2,0,1),x=0;x0&&Rw(w.f),Y(v,n8)!=null&&(!v.a&&(v.a=new I(s7,v,10,11)),v.a)&&(!v.a&&(v.a=new I(s7,v,10,11)),v.a).i>0?(c=F(Y(v,n8),522),xe=c.Sg(v),Sv(v,r.Math.max(v.g,xe.a+pe.b+pe.c),r.Math.max(v.f,xe.b+pe.d+pe.a))):(!v.a&&(v.a=new I(s7,v,10,11)),v.a).i!=0&&(xe=new j(k(P(Y(v,Q6))),k(P(Y(v,Q6)))/k(P(Y(v,Z6)))),Sv(v,r.Math.max(v.g,xe.a+pe.b+pe.c),r.Math.max(v.f,xe.b+pe.d+pe.a)));if(fe=F(Y(t,M6),104),m=t.g-(fe.b+fe.c),p=t.f-(fe.d+fe.a),we.ah(`Available Child Area: (`+m+`|`+p+`)`),pP(t,u6,m/p),yYe(t,a,i.dh(ue)),F(Y(t,e8),281)==B5&&(Nz(t),Sv(t,fe.b+k(P(Y(t,f6)))+fe.c,fe.d+k(P(Y(t,d6)))+fe.a)),we.ah(`Executed layout algorithm: `+rb(Y(t,l6))+` on node `+t.k),F(Y(t,e8),281)==z5){if(m<0||p<0)throw O(new Qp(`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,f6)||lD(t,d6)||Nz(t),g=k(P(Y(t,f6))),h=k(P(Y(t,d6))),we.ah(`Desired Child Area: (`+g+`|`+h+`)`),he=m/g,ge=p/h,me=r.Math.min(he,r.Math.min(ge,k(P(Y(t,kRt))))),pP(t,t8,me),we.ah(t.k+` -- Local Scale Factor (X|Y): (`+he+`|`+ge+`)`),x=F(Y(t,p6),22),o=0,s=0,me'?`:kb(hvt,e)?`'(?<' or '(? toIndex: `,Nft=`, toIndex: `,Pft=`Index: `,Fft=`, Size: `,XV=`org.eclipse.elk.alg.common`,ZV={51:1},Ift=`org.eclipse.elk.alg.common.compaction`,Lft=`Scanline/EventHandler`,QV=`org.eclipse.elk.alg.common.compaction.oned`,Rft=`CNode belongs to another CGroup.`,zft=`ISpacingsHandler/1`,$V=`The `,eH=` instance has been finished already.`,Bft=`The direction `,Vft=` is not supported by the CGraph instance.`,Hft=`OneDimensionalCompactor`,Uft=`OneDimensionalCompactor/lambda$0$Type`,Wft=`Quadruplet`,Gft=`ScanlineConstraintCalculator`,Kft=`ScanlineConstraintCalculator/ConstraintsScanlineHandler`,qft=`ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type`,Jft=`ScanlineConstraintCalculator/Timestamp`,Yft=`ScanlineConstraintCalculator/lambda$0$Type`,tH={178:1,46:1},nH=`org.eclipse.elk.alg.common.networksimplex`,rH={171:1,3:1,4:1},Xft=`org.eclipse.elk.alg.common.nodespacing`,iH=`org.eclipse.elk.alg.common.nodespacing.cellsystem`,aH=`CENTER`,Zft={216:1,337:1},Qft={3:1,4:1,5:1,593:1},oH=`LEFT`,sH=`RIGHT`,$ft=`Vertical alignment cannot be null`,ept=`BOTTOM`,cH=`org.eclipse.elk.alg.common.nodespacing.internal`,lH=`UNDEFINED`,uH=.01,dH=`org.eclipse.elk.alg.common.nodespacing.internal.algorithm`,tpt=`LabelPlacer/lambda$0$Type`,npt=`LabelPlacer/lambda$1$Type`,rpt=`portRatioOrPosition`,fH=`org.eclipse.elk.alg.common.overlaps`,pH=`DOWN`,mH=`org.eclipse.elk.alg.common.spore`,hH={3:1,4:1,5:1,198:1},ipt={3:1,6:1,4:1,5:1,90:1,110:1},gH=`org.eclipse.elk.alg.force`,apt=`ComponentsProcessor`,opt=`ComponentsProcessor/1`,spt=`ElkGraphImporter/lambda$0$Type`,_H={214:1},vH=`org.eclipse.elk.core`,yH=`org.eclipse.elk.graph.properties`,cpt=`IPropertyHolder`,bH=`org.eclipse.elk.alg.force.graph`,lpt=`Component Layout`,upt=`org.eclipse.elk.alg.force.model`,xH=`org.eclipse.elk.core.data`,SH=`org.eclipse.elk.force.model`,dpt=`org.eclipse.elk.force.iterations`,fpt=`org.eclipse.elk.force.repulsivePower`,CH=`org.eclipse.elk.force.temperature`,wH=.001,TH=`org.eclipse.elk.force.repulsion`,EH={148:1},DH=`org.eclipse.elk.alg.force.options`,OH=1.600000023841858,kH=`org.eclipse.elk.force`,AH=`org.eclipse.elk.priority`,jH=`org.eclipse.elk.spacing.nodeNode`,MH=`org.eclipse.elk.spacing.edgeLabel`,NH=`org.eclipse.elk.aspectRatio`,PH=`org.eclipse.elk.randomSeed`,FH=`org.eclipse.elk.separateConnectedComponents`,IH=`org.eclipse.elk.padding`,LH=`org.eclipse.elk.interactive`,RH=`org.eclipse.elk.portConstraints`,zH=`org.eclipse.elk.edgeLabels.inline`,BH=`org.eclipse.elk.omitNodeMicroLayout`,VH=`org.eclipse.elk.nodeSize.fixedGraphSize`,HH=`org.eclipse.elk.nodeSize.options`,UH=`org.eclipse.elk.nodeSize.constraints`,WH=`org.eclipse.elk.nodeLabels.placement`,GH=`org.eclipse.elk.portLabels.placement`,KH=`org.eclipse.elk.topdownLayout`,qH=`org.eclipse.elk.topdown.scaleFactor`,JH=`org.eclipse.elk.topdown.hierarchicalNodeWidth`,YH=`org.eclipse.elk.topdown.hierarchicalNodeAspectRatio`,XH=`org.eclipse.elk.topdown.nodeType`,ppt=`origin`,mpt=`random`,hpt=`boundingBox.upLeft`,gpt=`boundingBox.lowRight`,_pt=`org.eclipse.elk.stress.fixed`,vpt=`org.eclipse.elk.stress.desiredEdgeLength`,ypt=`org.eclipse.elk.stress.dimension`,bpt=`org.eclipse.elk.stress.epsilon`,xpt=`org.eclipse.elk.stress.iterationLimit`,ZH=`org.eclipse.elk.stress`,Spt=`ELK Stress`,QH=`org.eclipse.elk.nodeSize.minimum`,$H=`org.eclipse.elk.alg.force.stress`,Cpt=`Layered layout`,eU=`org.eclipse.elk.alg.layered`,tU=`org.eclipse.elk.alg.layered.compaction.components`,nU=`org.eclipse.elk.alg.layered.compaction.oned`,rU=`org.eclipse.elk.alg.layered.compaction.oned.algs`,iU=`org.eclipse.elk.alg.layered.compaction.recthull`,aU=`org.eclipse.elk.alg.layered.components`,oU=`NONE`,sU=`MODEL_ORDER`,cU={3:1,6:1,4:1,10:1,5:1,126:1},wpt={3:1,6:1,4:1,5:1,135:1,90:1,110:1},lU=`org.eclipse.elk.alg.layered.compound`,uU={43:1},dU=`org.eclipse.elk.alg.layered.graph`,fU=` -> `,Tpt=`Not supported by LGraph`,Ept=`Port side is undefined`,pU={3:1,6:1,4:1,5:1,324:1,135:1,90:1,110:1},mU={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},Dpt={3:1,6:1,4:1,5:1,135:1,2007:1,209:1,90:1,110:1},Opt=`([{"' \r +`,kpt=`)]}"' \r +`,Apt=`The given string contains parts that cannot be parsed as numbers.`,hU=`org.eclipse.elk.core.math`,jpt={3:1,4:1,140:1,213:1,414:1},Mpt={3:1,4:1,104:1,213:1,414:1},gU=`org.eclipse.elk.alg.layered.graph.transform`,Npt=`ElkGraphImporter`,Ppt=`ElkGraphImporter/lambda$1$Type`,Fpt=`ElkGraphImporter/lambda$2$Type`,Ipt=`ElkGraphImporter/lambda$4$Type`,_U=`org.eclipse.elk.alg.layered.intermediate`,Lpt=`Node margin calculation`,Rpt=`ONE_SIDED_GREEDY_SWITCH`,zpt=`TWO_SIDED_GREEDY_SWITCH`,vU=`No implementation is available for the layout processor `,yU=`IntermediateProcessorStrategy`,bU=`Node '`,Bpt=`FIRST_SEPARATE`,Vpt=`LAST_SEPARATE`,Hpt=`Odd port side processing`,xU=`org.eclipse.elk.alg.layered.intermediate.compaction`,SU=`org.eclipse.elk.alg.layered.intermediate.greedyswitch`,CU=`org.eclipse.elk.alg.layered.p3order.counting`,wU={220:1},TU=`org.eclipse.elk.alg.layered.intermediate.loops`,EU=`org.eclipse.elk.alg.layered.intermediate.loops.ordering`,DU=`org.eclipse.elk.alg.layered.intermediate.loops.routing`,OU=`org.eclipse.elk.alg.layered.intermediate.preserveorder`,kU=`org.eclipse.elk.alg.layered.intermediate.wrapping`,AU=`org.eclipse.elk.alg.layered.options`,jU=`INTERACTIVE`,Upt=`GREEDY`,Wpt=`DEPTH_FIRST`,Gpt=`EDGE_LENGTH`,Kpt=`SELF_LOOPS`,qpt=`firstTryWithInitialOrder`,Jpt=`org.eclipse.elk.layered.directionCongruency`,Ypt=`org.eclipse.elk.layered.feedbackEdges`,MU=`org.eclipse.elk.layered.interactiveReferencePoint`,Xpt=`org.eclipse.elk.layered.mergeEdges`,Zpt=`org.eclipse.elk.layered.mergeHierarchyEdges`,Qpt=`org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides`,$pt=`org.eclipse.elk.layered.portSortingStrategy`,emt=`org.eclipse.elk.layered.thoroughness`,tmt=`org.eclipse.elk.layered.unnecessaryBendpoints`,nmt=`org.eclipse.elk.layered.generatePositionAndLayerIds`,NU=`org.eclipse.elk.layered.cycleBreaking.strategy`,PU=`org.eclipse.elk.layered.layering.strategy`,rmt=`org.eclipse.elk.layered.layering.layerConstraint`,imt=`org.eclipse.elk.layered.layering.layerChoiceConstraint`,amt=`org.eclipse.elk.layered.layering.layerId`,FU=`org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth`,IU=`org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor`,LU=`org.eclipse.elk.layered.layering.nodePromotion.strategy`,RU=`org.eclipse.elk.layered.layering.nodePromotion.maxIterations`,zU=`org.eclipse.elk.layered.layering.coffmanGraham.layerBound`,BU=`org.eclipse.elk.layered.crossingMinimization.strategy`,omt=`org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder`,VU=`org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness`,HU=`org.eclipse.elk.layered.crossingMinimization.semiInteractive`,smt=`org.eclipse.elk.layered.crossingMinimization.inLayerPredOf`,cmt=`org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf`,lmt=`org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint`,umt=`org.eclipse.elk.layered.crossingMinimization.positionId`,dmt=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold`,UU=`org.eclipse.elk.layered.crossingMinimization.greedySwitch.type`,WU=`org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type`,GU=`org.eclipse.elk.layered.nodePlacement.strategy`,KU=`org.eclipse.elk.layered.nodePlacement.favorStraightEdges`,qU=`org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening`,JU=`org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment`,YU=`org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening`,XU=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility`,ZU=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default`,QU=`org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.recomputeNodePlacement`,fmt=`org.eclipse.elk.layered.edgeRouting.selfLoopDistribution`,pmt=`org.eclipse.elk.layered.edgeRouting.selfLoopOrdering`,$U=`org.eclipse.elk.layered.edgeRouting.splines.mode`,eW=`org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor`,tW=`org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth`,mmt=`org.eclipse.elk.layered.spacing.baseValue`,hmt=`org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers`,gmt=`org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers`,_mt=`org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers`,vmt=`org.eclipse.elk.layered.priority.direction`,ymt=`org.eclipse.elk.layered.priority.shortness`,bmt=`org.eclipse.elk.layered.priority.straightness`,nW=`org.eclipse.elk.layered.compaction.connectedComponents`,xmt=`org.eclipse.elk.layered.compaction.postCompaction.strategy`,Smt=`org.eclipse.elk.layered.compaction.postCompaction.constraints`,rW=`org.eclipse.elk.layered.highDegreeNodes.treatment`,iW=`org.eclipse.elk.layered.highDegreeNodes.threshold`,aW=`org.eclipse.elk.layered.highDegreeNodes.treeHeight`,oW=`org.eclipse.elk.layered.wrapping.strategy`,sW=`org.eclipse.elk.layered.wrapping.additionalEdgeSpacing`,cW=`org.eclipse.elk.layered.wrapping.correctionFactor`,lW=`org.eclipse.elk.layered.wrapping.cutting.strategy`,uW=`org.eclipse.elk.layered.wrapping.cutting.cuts`,dW=`org.eclipse.elk.layered.wrapping.cutting.msd.freedom`,fW=`org.eclipse.elk.layered.wrapping.validify.strategy`,pW=`org.eclipse.elk.layered.wrapping.validify.forbiddenIndices`,mW=`org.eclipse.elk.layered.wrapping.multiEdge.improveCuts`,hW=`org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty`,gW=`org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges`,_W=`org.eclipse.elk.layered.layerUnzipping.strategy`,vW=`org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength`,yW=`org.eclipse.elk.layered.layerUnzipping.layerSplit`,bW=`org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges`,Cmt=`org.eclipse.elk.layered.edgeLabels.sideSelection`,wmt=`org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy`,xW=`org.eclipse.elk.layered.considerModelOrder.strategy`,Tmt=`org.eclipse.elk.layered.considerModelOrder.portModelOrder`,SW=`org.eclipse.elk.layered.considerModelOrder.noModelOrder`,CW=`org.eclipse.elk.layered.considerModelOrder.components`,Emt=`org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy`,wW=`org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence`,TW=`org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence`,EW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId`,DW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId`,OW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId`,Dmt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy`,kW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId`,AW=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId`,Omt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy`,kmt=`org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders`,jW=`layering`,Amt=`layering.minWidth`,jmt=`layering.nodePromotion`,MW=`crossingMinimization`,NW=`org.eclipse.elk.hierarchyHandling`,Mmt=`crossingMinimization.greedySwitch`,Nmt=`nodePlacement`,Pmt=`nodePlacement.bk`,Fmt=`nodePlacement.networkSimplex.nodeFlexibility`,Imt=`edgeRouting`,PW=`org.eclipse.elk.edgeRouting`,FW=`spacing`,Lmt=`priority`,Rmt=`compaction`,zmt=`compaction.postCompaction`,Bmt=`Specifies whether and how post-process compaction is applied.`,Vmt=`highDegreeNodes`,Hmt=`wrapping`,Umt=`wrapping.cutting`,Wmt=`wrapping.validify`,Gmt=`wrapping.multiEdge`,IW=`layerUnzipping`,LW=`edgeLabels`,RW=`considerModelOrder`,zW=`considerModelOrder.groupModelOrder`,Kmt=`Group ID of the Node Type`,qmt=`org.eclipse.elk.spacing.commentComment`,Jmt=`org.eclipse.elk.spacing.commentNode`,Ymt=`org.eclipse.elk.spacing.componentComponent`,Xmt=`org.eclipse.elk.spacing.edgeEdge`,BW=`org.eclipse.elk.spacing.edgeNode`,Zmt=`org.eclipse.elk.spacing.labelLabel`,Qmt=`org.eclipse.elk.spacing.labelPortHorizontal`,$mt=`org.eclipse.elk.spacing.labelPortVertical`,eht=`org.eclipse.elk.spacing.labelNode`,tht=`org.eclipse.elk.spacing.nodeSelfLoop`,nht=`org.eclipse.elk.spacing.portPort`,rht=`org.eclipse.elk.spacing.individual`,iht=`org.eclipse.elk.port.borderOffset`,aht=`org.eclipse.elk.noLayout`,oht=`org.eclipse.elk.port.side`,VW=`org.eclipse.elk.debugMode`,sht=`org.eclipse.elk.alignment`,cht=`org.eclipse.elk.insideSelfLoops.activate`,lht=`org.eclipse.elk.insideSelfLoops.yo`,HW=`org.eclipse.elk.direction`,uht=`org.eclipse.elk.nodeLabels.padding`,dht=`org.eclipse.elk.portLabels.nextToPortIfPossible`,fht=`org.eclipse.elk.portLabels.treatAsGroup`,pht=`org.eclipse.elk.portAlignment.default`,mht=`org.eclipse.elk.portAlignment.north`,hht=`org.eclipse.elk.portAlignment.south`,ght=`org.eclipse.elk.portAlignment.west`,_ht=`org.eclipse.elk.portAlignment.east`,UW=`org.eclipse.elk.contentAlignment`,vht=`org.eclipse.elk.junctionPoints`,yht=`org.eclipse.elk.edge.thickness`,bht=`org.eclipse.elk.edgeLabels.placement`,xht=`org.eclipse.elk.port.index`,Sht=`org.eclipse.elk.commentBox`,Cht=`org.eclipse.elk.hypernode`,wht=`org.eclipse.elk.port.anchor`,WW=`org.eclipse.elk.partitioning.activate`,GW=`org.eclipse.elk.partitioning.partition`,KW=`org.eclipse.elk.position`,Tht=`org.eclipse.elk.margins`,Eht=`org.eclipse.elk.spacing.portsSurrounding`,qW=`org.eclipse.elk.interactiveLayout`,JW=`org.eclipse.elk.core.util`,Dht={3:1,4:1,5:1,591:1},Oht=`NETWORK_SIMPLEX`,kht=`SIMPLE`,YW={95:1,43:1},XW=`org.eclipse.elk.alg.layered.p1cycles`,Aht=`Depth-first cycle removal`,jht=`Model order cycle breaking`,ZW=`org.eclipse.elk.alg.layered.p2layers`,Mht={406:1,220:1},Nht={831:1,3:1,4:1},QW=`org.eclipse.elk.alg.layered.p3order`,$W=17976931348623157e292,eG=5e-324,tG=`org.eclipse.elk.alg.layered.p4nodes`,Pht={3:1,4:1,5:1,839:1},nG=1e-5,rG=`org.eclipse.elk.alg.layered.p4nodes.bk`,iG=`org.eclipse.elk.alg.layered.p5edges`,aG=`org.eclipse.elk.alg.layered.p5edges.orthogonal`,oG=`org.eclipse.elk.alg.layered.p5edges.orthogonal.direction`,sG=1e-6,cG=`org.eclipse.elk.alg.layered.p5edges.splines`,lG=.09999999999999998,uG=1e-8,Fht=4.71238898038469,Iht=1.5707963267948966,Lht=3.141592653589793,dG=`org.eclipse.elk.alg.mrtree`,fG=.10000000149011612,pG=`SUPER_ROOT`,mG=`org.eclipse.elk.alg.mrtree.graph`,Rht=-17976931348623157e292,hG=`org.eclipse.elk.alg.mrtree.intermediate`,zht=`Processor compute fanout`,gG={3:1,6:1,4:1,5:1,523:1,90:1,110:1},Bht=`Set neighbors in level`,_G=`org.eclipse.elk.alg.mrtree.options`,Vht=`DESCENDANTS`,Hht=`org.eclipse.elk.mrtree.compaction`,Uht=`org.eclipse.elk.mrtree.edgeEndTextureLength`,Wht=`org.eclipse.elk.mrtree.treeLevel`,Ght=`org.eclipse.elk.mrtree.positionConstraint`,Kht=`org.eclipse.elk.mrtree.weighting`,qht=`org.eclipse.elk.mrtree.edgeRoutingMode`,Jht=`org.eclipse.elk.mrtree.searchOrder`,Yht=`Position Constraint`,vG=`org.eclipse.elk.mrtree`,Xht=`org.eclipse.elk.tree`,Zht=`Processor arrange level`,yG=`org.eclipse.elk.alg.mrtree.p2order`,bG=`org.eclipse.elk.alg.mrtree.p4route`,Qht=`org.eclipse.elk.alg.radial`,xG=6.283185307179586,$ht=`Before`,SG=`After`,egt=`org.eclipse.elk.alg.radial.intermediate`,tgt=`COMPACTION`,CG=`org.eclipse.elk.alg.radial.intermediate.compaction`,ngt={3:1,4:1,5:1,90:1},rgt=`org.eclipse.elk.alg.radial.intermediate.optimization`,wG=`No implementation is available for the layout option `,TG=`org.eclipse.elk.alg.radial.options`,igt=`CompactionStrategy`,agt=`org.eclipse.elk.radial.centerOnRoot`,ogt=`org.eclipse.elk.radial.orderId`,sgt=`org.eclipse.elk.radial.radius`,EG=`org.eclipse.elk.radial.rotate`,DG=`org.eclipse.elk.radial.compactor`,OG=`org.eclipse.elk.radial.compactionStepSize`,cgt=`org.eclipse.elk.radial.sorter`,lgt=`org.eclipse.elk.radial.wedgeCriteria`,ugt=`org.eclipse.elk.radial.optimizationCriteria`,kG=`org.eclipse.elk.radial.rotation.targetAngle`,AG=`org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace`,dgt=`org.eclipse.elk.radial.rotation.outgoingEdgeAngles`,fgt=`Compaction`,pgt=`rotation`,jG=`org.eclipse.elk.radial`,mgt=`org.eclipse.elk.alg.radial.p1position.wedge`,hgt=`org.eclipse.elk.alg.radial.sorting`,ggt=5.497787143782138,_gt=3.9269908169872414,vgt=2.356194490192345,ygt=`org.eclipse.elk.alg.rectpacking`,MG=`org.eclipse.elk.alg.rectpacking.intermediate`,NG=`org.eclipse.elk.alg.rectpacking.options`,bgt=`org.eclipse.elk.rectpacking.trybox`,xgt=`org.eclipse.elk.rectpacking.currentPosition`,Sgt=`org.eclipse.elk.rectpacking.desiredPosition`,Cgt=`org.eclipse.elk.rectpacking.inNewRow`,wgt=`org.eclipse.elk.rectpacking.orderBySize`,Tgt=`org.eclipse.elk.rectpacking.widthApproximation.strategy`,Egt=`org.eclipse.elk.rectpacking.widthApproximation.targetWidth`,Dgt=`org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal`,Ogt=`org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift`,kgt=`org.eclipse.elk.rectpacking.packing.strategy`,Agt=`org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation`,jgt=`org.eclipse.elk.rectpacking.packing.compaction.iterations`,Mgt=`org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy`,PG=`widthApproximation`,Ngt=`Compaction Strategy`,Pgt=`packing.compaction`,FG=`org.eclipse.elk.rectpacking`,IG=`org.eclipse.elk.alg.rectpacking.p1widthapproximation`,LG=`org.eclipse.elk.alg.rectpacking.p2packing`,Fgt=`No Compaction`,Igt=`org.eclipse.elk.alg.rectpacking.p3whitespaceelimination`,RG=`org.eclipse.elk.alg.rectpacking.util`,zG=`No implementation available for `,BG=`org.eclipse.elk.alg.spore`,VG=`org.eclipse.elk.alg.spore.options`,HG=`org.eclipse.elk.sporeCompaction`,UG=`org.eclipse.elk.underlyingLayoutAlgorithm`,Lgt=`org.eclipse.elk.processingOrder.treeConstruction`,Rgt=`org.eclipse.elk.processingOrder.spanningTreeCostFunction`,WG=`org.eclipse.elk.processingOrder.preferredRoot`,GG=`org.eclipse.elk.processingOrder.rootSelection`,KG=`org.eclipse.elk.structure.structureExtractionStrategy`,zgt=`org.eclipse.elk.compaction.compactionStrategy`,Bgt=`org.eclipse.elk.compaction.orthogonal`,Vgt=`org.eclipse.elk.overlapRemoval.maxIterations`,Hgt=`org.eclipse.elk.overlapRemoval.runScanline`,qG=`processingOrder`,Ugt=`overlapRemoval`,JG=`org.eclipse.elk.sporeOverlap`,Wgt=`org.eclipse.elk.alg.spore.p1structure`,YG=`org.eclipse.elk.alg.spore.p2processingorder`,XG=`org.eclipse.elk.alg.spore.p3execution`,Ggt=`Topdown Layout`,Kgt=`Invalid index: `,ZG=`org.eclipse.elk.core.alg`,QG={342:1},$G={296:1},qgt=`Make sure its type is registered with the `,Jgt=` utility class.`,eK=`true`,tK=`false`,Ygt=`Couldn't clone property '`,nK=.05,rK=`org.eclipse.elk.core.options`,Xgt=1.2999999523162842,iK=`org.eclipse.elk.box`,Zgt=`org.eclipse.elk.expandNodes`,Qgt=`org.eclipse.elk.box.packingMode`,$gt=`org.eclipse.elk.algorithm`,e_t=`org.eclipse.elk.resolvedAlgorithm`,t_t=`org.eclipse.elk.bendPoints`,n_t=`org.eclipse.elk.labelManager`,r_t=`org.eclipse.elk.softwrappingFuzziness`,i_t=`org.eclipse.elk.scaleFactor`,a_t=`org.eclipse.elk.childAreaWidth`,o_t=`org.eclipse.elk.childAreaHeight`,s_t=`org.eclipse.elk.animate`,c_t=`org.eclipse.elk.animTimeFactor`,l_t=`org.eclipse.elk.layoutAncestors`,u_t=`org.eclipse.elk.maxAnimTime`,d_t=`org.eclipse.elk.minAnimTime`,f_t=`org.eclipse.elk.progressBar`,p_t=`org.eclipse.elk.validateGraph`,m_t=`org.eclipse.elk.validateOptions`,h_t=`org.eclipse.elk.zoomToFit`,g_t=`org.eclipse.elk.json.shapeCoords`,__t=`org.eclipse.elk.json.edgeCoords`,v_t=`org.eclipse.elk.font.name`,y_t=`org.eclipse.elk.font.size`,aK=`org.eclipse.elk.topdown.sizeCategories`,b_t=`org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight`,oK=`org.eclipse.elk.topdown.sizeApproximator`,x_t=`org.eclipse.elk.topdown.scaleCap`,S_t=`org.eclipse.elk.edge.type`,C_t=`partitioning`,w_t=`nodeLabels`,sK=`portAlignment`,cK=`nodeSize`,lK=`port`,T_t=`portLabels`,uK=`topdown`,E_t=`insideSelfLoops`,D_t=`INHERIT`,dK=`org.eclipse.elk.fixed`,fK=`org.eclipse.elk.random`,pK={3:1,35:1,24:1,522:1,288:1},O_t=`port must have a parent node to calculate the port side`,k_t=`The edge needs to have exactly one edge section. Found: `,mK=`org.eclipse.elk.core.util.adapters`,hK=`org.eclipse.emf.ecore`,gK=`org.eclipse.elk.graph`,A_t=`EMapPropertyHolder`,j_t=`ElkBendPoint`,M_t=`ElkGraphElement`,N_t=`ElkConnectableShape`,P_t=`ElkEdge`,F_t=`ElkEdgeSection`,I_t=`EModelElement`,L_t=`ENamedElement`,R_t=`ElkLabel`,z_t=`ElkNode`,B_t=`ElkPort`,V_t={94:1,93:1},_K=`org.eclipse.emf.common.notify.impl`,vK=`The feature '`,yK=`' is not a valid changeable feature`,H_t=`Expecting null`,bK=`' is not a valid feature`,U_t=`The feature ID`,W_t=` is not a valid feature ID`,xK=32768,G_t={109:1,94:1,93:1,57:1,52:1,100:1},SK=`org.eclipse.emf.ecore.impl`,CK=2048,wK=`org.eclipse.elk.graph.impl`,TK=`Recursive containment not allowed for `,EK=`The datatype '`,DK=`' is not a valid classifier`,OK=`The value '`,kK={195:1,3:1,4:1},AK=`The class '`,jK=`http://www.eclipse.org/elk/ElkGraph`,K_t=`property`,MK=`value`,NK=`source`,q_t=`properties`,J_t=`identifier`,PK=`height`,FK=`width`,IK=`parent`,LK=`text`,RK=`children`,Y_t=`hierarchical`,X_t=`sources`,zK=`targets`,BK=`sections`,VK=`bendPoints`,Z_t=`outgoingShape`,Q_t=`incomingShape`,$_t=`outgoingSections`,evt=`incomingSections`,HK=`org.eclipse.emf.common.util`,tvt=`Severe implementation error in the Json to ElkGraph importer.`,UK=`id`,WK=`org.eclipse.elk.graph.json`,GK=`Unhandled parameter types: `,nvt=`startPoint`,rvt=`An edge must have at least one source and one target (edge id: '`,KK=`').`,ivt=`Referenced edge section does not exist: `,avt=` (edge id: '`,ovt=`target`,svt=`sourcePoint`,cvt=`targetPoint`,qK=`group`,JK=`name`,lvt=`connectableShape cannot be null`,uvt=`edge cannot be null`,dvt=`Passed edge is not 'simple'.`,YK=`org.eclipse.elk.graph.util`,XK=`The 'no duplicates' constraint is violated`,ZK=`targetIndex=`,QK=`, size=`,$K=`sourceIndex=`,eq={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},tq={3:1,4:1,20:1,31:1,56:1,18:1,50:1,16:1,59:1,71:1,67:1,61:1,586:1},nq=`logging`,fvt=`measureExecutionTime`,pvt=`parser.parse.1`,mvt=`parser.parse.2`,rq=`parser.next.1`,iq=`parser.next.2`,hvt=`parser.next.3`,gvt=`parser.next.4`,aq=`parser.factor.1`,_vt=`parser.factor.2`,vvt=`parser.factor.3`,yvt=`parser.factor.4`,bvt=`parser.factor.5`,xvt=`parser.factor.6`,Svt=`parser.atom.1`,Cvt=`parser.atom.2`,wvt=`parser.atom.3`,Tvt=`parser.atom.4`,oq=`parser.atom.5`,Evt=`parser.cc.1`,sq=`parser.cc.2`,Dvt=`parser.cc.3`,Ovt=`parser.cc.5`,kvt=`parser.cc.6`,Avt=`parser.cc.7`,cq=`parser.cc.8`,jvt=`parser.ope.1`,Mvt=`parser.ope.2`,Nvt=`parser.ope.3`,lq=`parser.descape.1`,Pvt=`parser.descape.2`,Fvt=`parser.descape.3`,Ivt=`parser.descape.4`,Lvt=`parser.descape.5`,uq=`parser.process.1`,Rvt=`parser.quantifier.1`,zvt=`parser.quantifier.2`,Bvt=`parser.quantifier.3`,Vvt=`parser.quantifier.4`,Hvt=`parser.quantifier.5`,Uvt=`org.eclipse.emf.common.notify`,Wvt={415:1,676:1},Gvt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1},dq={373:1,151:1},fq=`index=`,pq={3:1,4:1,5:1,129:1},Kvt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,61:1},qvt={3:1,6:1,4:1,5:1,198:1},Jvt={3:1,4:1,5:1,175:1,374:1},Yvt=`;/?:@&=+$,`,Xvt=`invalid authority: `,Zvt=`EAnnotation`,Qvt=`ETypedElement`,$vt=`EStructuralFeature`,eyt=`EAttribute`,tyt=`EClassifier`,nyt=`EEnumLiteral`,ryt=`EGenericType`,iyt=`EOperation`,ayt=`EParameter`,oyt=`EReference`,mq=1024,syt=`ETypeParameter`,hq=`org.eclipse.emf.ecore.util`,gq={78:1},cyt={3:1,20:1,18:1,16:1,61:1,587:1,78:1,72:1,98:1},lyt=`org.eclipse.emf.ecore.util.FeatureMap$Entry`,_q=8192,vq=`byte`,yq=`char`,bq=`double`,xq=`float`,Sq=`int`,Cq=`long`,wq=`short`,uyt=`java.lang.Object`,Tq={3:1,4:1,5:1,255:1},dyt={3:1,4:1,5:1,678:1},fyt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},Eq={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,72:1,98:1},Dq=`mixed`,Oq=`http:///org/eclipse/emf/ecore/util/ExtendedMetaData`,kq=`kind`,pyt={3:1,4:1,5:1,679:1},myt={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,78:1,72:1,98:1},Aq={20:1,31:1,56:1,18:1,16:1,61:1,72:1},jq={50:1,128:1,287:1},Mq={75:1,344:1},Nq=`The value of type '`,Pq=`' must be of type '`,Fq=1307,Iq=`http://www.eclipse.org/emf/2002/Ecore`,Lq=-32768,Rq=`constraints`,zq=`baseType`,hyt=`getEStructuralFeature`,gyt=`getFeatureID`,Bq=`feature`,_yt=`getOperationID`,vyt=`operation`,yyt=`defaultValue`,byt=`eTypeParameters`,xyt=`isInstance`,Syt=`getEEnumLiteral`,Cyt=`eContainingClass`,Vq={58:1},wyt={3:1,4:1,5:1,122:1},Tyt=`org.eclipse.emf.ecore.resource`,Eyt={94:1,93:1,589:1,1999:1},Dyt=`org.eclipse.emf.ecore.resource.impl`,Oyt=`unspecified`,Hq=`simple`,Uq=`attribute`,kyt=`attributeWildcard`,Wq=`element`,Ayt=`elementWildcard`,Gq=`collapse`,jyt=`itemType`,Kq=`namespace`,qq=`##targetNamespace`,Jq=`whiteSpace`,Myt=`wildcards`,Yq=`http://www.eclipse.org/emf/2003/XMLType`,Nyt=`##any`,Xq=`uninitialized`,Zq=`The multiplicity constraint is violated`,Qq=`org.eclipse.emf.ecore.xml.type`,Pyt=`ProcessingInstruction`,Fyt=`SimpleAnyType`,Iyt=`XMLTypeDocumentRoot`,$q=`org.eclipse.emf.ecore.xml.type.impl`,eJ=`INF`,Lyt=`processing`,Ryt=`ENTITIES_._base`,zyt=`minLength`,Byt=`ENTITY`,tJ=`NCName`,Vyt=`IDREFS_._base`,Hyt=`integer`,Uyt=`token`,Wyt=`pattern`,Gyt=`[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*`,Kyt=`\\i\\c*`,qyt=`[\\i-[:]][\\c-[:]]*`,Jyt=`nonPositiveInteger`,nJ=`maxInclusive`,Yyt=`NMTOKEN`,Xyt=`NMTOKENS_._base`,Zyt=`nonNegativeInteger`,rJ=`minInclusive`,Qyt=`normalizedString`,$yt=`unsignedByte`,ebt=`unsignedInt`,tbt=`18446744073709551615`,nbt=`unsignedShort`,rbt=`processingInstruction`,iJ=`org.eclipse.emf.ecore.xml.type.internal`,aJ=1114111,ibt=`Internal Error: shorthands: \\u`,oJ=`xml:isDigit`,abt=`xml:isWord`,sJ=`xml:isSpace`,cJ=`xml:isNameChar`,lJ=`xml:isInitialNameChar`,obt=`09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩`,sbt=`AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣`,cbt=`Private Use`,uJ=`ASSIGNED`,dJ=`\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾＀￯`,lbt=`UNASSIGNED`,fJ={3:1,121:1},ubt=`org.eclipse.emf.ecore.xml.type.util`,pJ={3:1,4:1,5:1,376:1},dbt=`org.eclipse.xtext.xbase.lib`,fbt=`Cannot add elements to a Range`,pbt=`Cannot set elements in a Range`,mbt=`Cannot remove elements from a Range`,hbt=`user.agent`,Q,mJ,gbt,_bt=-1;r.goog=r.goog||{},r.goog.global=r.goog.global||r,mJ={},J(1,null,{},a),Q.Fb=function(e){return sme(this,e)},Q.Gb=function(){return this.Pm},Q.Hb=function(){return Ty(this)},Q.Ib=function(){var e;return Um(Cj(this))+`@`+(e=Lk(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 vbt,ybt,bbt;J(298,1,{298:1,2089:1},OUe),Q.te=function(e){var t=new OUe;return t.i=4,t.c=e>1?Yke(this,e-1):this,t},Q.ue=function(){return tb(this),this.b},Q.ve=function(){return Um(this)},Q.we=function(){return tb(this),this.k},Q.xe=function(){return!!(this.i&4)},Q.ye=function(){return!!(this.i&1)},Q.Ib=function(){return Tze(this)},Q.i=0;var xbt=1,hJ=R(eB,`Object`,1),Sbt=R(eB,`Class`,298);J(2061,1,tB),R(nB,`Optional`,2061),J(1161,2061,tB,o),Q.Fb=function(e){return e===this},Q.Hb=function(){return 2040732332},Q.Ib=function(){return`Optional.absent()`},Q.Jb=function(e){return aC(e),dp(),gJ};var gJ;R(nB,`Absent`,1161),J(628,1,{},am),R(nB,`Joiner`,628);var Cbt=Ox(nB,`Predicate`);J(578,1,{178:1,578:1,3:1,46:1},xie),Q.Mb=function(e){return BUe(this,e)},Q.Lb=function(e){return BUe(this,e)},Q.Fb=function(e){var t;return N(e,578)?(t=F(e,578),G8e(this.a,t.a)):!1},Q.Hb=function(){return HUe(this.a)+306654252},Q.Ib=function(){return g4e(this.a)},R(nB,`Predicates/AndPredicate`,578),J(411,2061,{411:1,3:1},Cc),Q.Fb=function(e){var t;return N(e,411)?(t=F(e,411),aM(this.a,t.a)):!1},Q.Hb=function(){return 1502476572+Lk(this.a)},Q.Ib=function(){return Gdt+this.a+`)`},Q.Jb=function(e){return new Cc(xw(e.Kb(this.a),`the Function passed to Optional.transform() must not return null.`))},R(nB,`Present`,411),J(204,1,oB),Q.Nb=function(e){PS(this,e)},Q.Qb=function(){gce()},R(sB,`UnmodifiableIterator`,204),J(2041,204,cB),Q.Qb=function(){gce()},Q.Rb=function(e){throw O(new Zd)},Q.Wb=function(e){throw O(new Zd)},R(sB,`UnmodifiableListIterator`,2041),J(392,2041,cB),Q.Ob=function(){return this.b0},Q.Pb=function(){if(this.b>=this.c)throw O(new Qd);return this.Xb(this.b++)},Q.Tb=function(){return this.b},Q.Ub=function(){if(this.b<=0)throw O(new Qd);return this.Xb(--this.b)},Q.Vb=function(){return this.b-1},Q.b=0,Q.c=0,R(sB,`AbstractIndexedListIterator`,392),J(702,204,oB),Q.Ob=function(){return jk(this)},Q.Pb=function(){return HLe(this)},Q.e=1,R(sB,`AbstractIterator`,702),J(2049,1,{229:1}),Q.Zb=function(){return this.f||=this.ac()},Q.Fb=function(e){return _j(this,e)},Q.Hb=function(){return Lk(this.Zb())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return iS(this)},Q.Ib=function(){return XM(this.Zb())},R(sB,`AbstractMultimap`,2049),J(730,2049,lB),Q.$b=function(){gk(this)},Q._b=function(e){return ble(this,e)},Q.ac=function(){return new $m(this,this.c)},Q.ic=function(e){return this.hc()},Q.bc=function(){return new dy(this,this.c)},Q.jc=function(){return this.mc(this.hc())},Q.kc=function(){return new hp(this)},Q.lc=function(){return qF(this.c.vc().Lc(),new l,64,this.d)},Q.cc=function(e){return VE(this,e)},Q.fc=function(e){return Uj(this,e)},Q.gc=function(){return this.d},Q.mc=function(e){return fw(),new Ml(e)},Q.nc=function(){return new mp(this)},Q.oc=function(){return qF(this.c.Bc().Lc(),new s,64,this.d)},Q.pc=function(e,t){return new iD(this,e,t,null)},Q.d=0,R(sB,`AbstractMapBasedMultimap`,730),J(1664,730,lB),Q.hc=function(){return new pD(this.a)},Q.jc=function(){return fw(),fw(),nY},Q.cc=function(e){return F(VE(this,e),16)},Q.fc=function(e){return F(Uj(this,e),16)},Q.Zb=function(){return dw(this)},Q.Fb=function(e){return _j(this,e)},Q.qc=function(e){return F(VE(this,e),16)},Q.rc=function(e){return F(Uj(this,e),16)},Q.mc=function(e){return Sw(F(e,16))},Q.pc=function(e,t){return EMe(this,e,F(t,16),null)},R(sB,`AbstractListMultimap`,1664),J(736,1,uB),Q.Nb=function(e){PS(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(),45),this.b=e.jd(),this.a=F(e.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},Q.Qb=function(){this.e.Qb(),F(SC(this.a),18).dc()&&this.c.Qb(),--this.d.d},R(sB,`AbstractMapBasedMultimap/Itr`,736),J(1099,736,uB,mp),Q.sc=function(e,t){return t},R(sB,`AbstractMapBasedMultimap/1`,1099),J(1100,1,{},s),Q.Kb=function(e){return F(e,18).Lc()},R(sB,`AbstractMapBasedMultimap/1methodref$spliterator$Type`,1100),J(1101,736,uB,hp),Q.sc=function(e,t){return new eh(e,t)},R(sB,`AbstractMapBasedMultimap/2`,1101);var wbt=Ox(dB,`Map`);J(2030,1,fB),Q.wc=function(e){oA(this,e)},Q.$b=function(){this.vc().$b()},Q.tc=function(e){return VP(this,e)},Q._b=function(e){return!!C1e(this,e,!1)},Q.uc=function(e){for(var t,n=this.vc().Jc(),r;n.Ob();)if(t=F(n.Pb(),45),r=t.kd(),M(e)===M(r)||e!=null&&aM(e,r))return!0;return!1},Q.Fb=function(e){var t,n,r;if(e===this)return!0;if(!N(e,92)||(r=F(e,92),this.gc()!=r.gc()))return!1;for(n=r.vc().Jc();n.Ob();)if(t=F(n.Pb(),45),!this.tc(t))return!1;return!0},Q.xc=function(e){return V_(C1e(this,e,!1))},Q.Hb=function(){return lUe(this.vc())},Q.dc=function(){return this.gc()==0},Q.ec=function(){return new Tl(this)},Q.yc=function(e,t){throw O(new Zp(`Put not supported on this map`))},Q.zc=function(e){tA(this,e)},Q.Ac=function(e){return V_(C1e(this,e,!0))},Q.gc=function(){return this.vc().gc()},Q.Ib=function(){return I1e(this)},Q.Bc=function(){return new kl(this)},R(dB,`AbstractMap`,2030),J(2050,2030,fB),Q.bc=function(){return new Qm(this)},Q.vc=function(){return Rwe(this)},Q.ec=function(){return this.g||=this.bc()},Q.Bc=function(){return this.i||=new wue(this)},R(sB,`Maps/ViewCachingAbstractMap`,2050),J(395,2050,fB,$m),Q.xc=function(e){return tze(this,e)},Q.Ac=function(e){return DWe(this,e)},Q.$b=function(){this.d==this.e.c?this.e.$b():Ax(new rwe(this))},Q._b=function(e){return AGe(this.d,e)},Q.Dc=function(){return new wc(this)},Q.Cc=function(){return this.Dc()},Q.Fb=function(e){return this===e||aM(this.d,e)},Q.Hb=function(){return Lk(this.d)},Q.ec=function(){return this.e.ec()},Q.gc=function(){return this.d.gc()},Q.Ib=function(){return XM(this.d)},R(sB,`AbstractMapBasedMultimap/AsMap`,395);var _J=Ox(eB,`Iterable`);J(31,1,pB),Q.Ic=function(e){jE(this,e)},Q.Lc=function(){return new DT(this,0)},Q.Mc=function(){return new Mx(null,this.Lc())},Q.Ec=function(e){throw O(new Zp(`Add not supported on this collection`))},Q.Fc=function(e){return Gk(this,e)},Q.$b=function(){bDe(this)},Q.Gc=function(e){return lN(this,e,!1)},Q.Hc=function(e){return HA(this,e)},Q.dc=function(){return this.gc()==0},Q.Kc=function(e){return lN(this,e,!0)},Q.Nc=function(){return Bwe(this)},Q.Oc=function(e){return BP(this,e)},Q.Ib=function(){return rI(this)},R(dB,`AbstractCollection`,31);var vJ=Ox(dB,`Set`);J(mB,31,hB),Q.Lc=function(){return new DT(this,1)},Q.Fb=function(e){return WJe(this,e)},Q.Hb=function(){return lUe(this)},R(dB,`AbstractSet`,mB),J(2033,mB,hB),R(sB,`Sets/ImprovedAbstractSet`,2033),J(2034,2033,hB),Q.$b=function(){this.Pc().$b()},Q.Gc=function(e){return tJe(this,e)},Q.dc=function(){return this.Pc().dc()},Q.Kc=function(e){var t;return this.Gc(e)&&N(e,45)?(t=F(e,45),this.Pc().ec().Kc(t.jd())):!1},Q.gc=function(){return this.Pc().gc()},R(sB,`Maps/EntrySet`,2034),J(1097,2034,hB,wc),Q.Gc=function(e){return jGe(this.a.d.vc(),e)},Q.Jc=function(){return new rwe(this.a)},Q.Pc=function(){return this.a},Q.Kc=function(e){var t;return jGe(this.a.d.vc(),e)?(t=F(SC(F(e,45)),45),iFe(this.a.e,t.jd()),!0):!1},Q.Lc=function(){return $b(this.a.d.vc().Lc(),new Tc(this.a))},R(sB,`AbstractMapBasedMultimap/AsMap/AsMapEntries`,1097),J(1098,1,{},Tc),Q.Kb=function(e){return OPe(this.a,F(e,45))},R(sB,`AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type`,1098),J(734,1,uB,rwe),Q.Nb=function(e){PS(this,e)},Q.Pb=function(){var e=F(this.b.Pb(),45);return this.a=F(e.kd(),18),OPe(this.c,e)},Q.Ob=function(){return this.b.Ob()},Q.Qb=function(){zb(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},R(sB,`AbstractMapBasedMultimap/AsMap/AsMapIterator`,734),J(531,2033,hB,Qm),Q.$b=function(){this.b.$b()},Q.Gc=function(e){return this.b._b(e)},Q.Ic=function(e){aC(e),this.b.wc(new Bc(e))},Q.dc=function(){return this.b.dc()},Q.Jc=function(){return new Sp(this.b.vc().Jc())},Q.Kc=function(e){return this.b._b(e)?(this.b.Ac(e),!0):!1},Q.gc=function(){return this.b.gc()},R(sB,`Maps/KeySet`,531),J(332,531,hB,dy),Q.$b=function(){var e;Ax((e=this.b.vc().Jc(),new aue(this,e)))},Q.Hc=function(e){return this.b.ec().Hc(e)},Q.Fb=function(e){return this===e||aM(this.b.ec(),e)},Q.Hb=function(){return Lk(this.b.ec())},Q.Jc=function(){var e=this.b.vc().Jc();return new aue(this,e)},Q.Kc=function(e){var t,n=0;return t=F(this.b.Ac(e),18),t&&(n=t.gc(),t.$b(),this.a.d-=n),n>0},Q.Lc=function(){return this.b.ec().Lc()},R(sB,`AbstractMapBasedMultimap/KeySet`,332),J(735,1,uB,aue),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return this.c.Ob()},Q.Pb=function(){return this.a=F(this.c.Pb(),45),this.a.jd()},Q.Qb=function(){var e;zb(!!this.a),e=F(this.a.kd(),18),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},R(sB,`AbstractMapBasedMultimap/KeySet/1`,735),J(489,395,{92:1,134:1},ab),Q.bc=function(){return this.Qc()},Q.ec=function(){return this.Sc()},Q.Qc=function(){return new th(this.c,this.Uc())},Q.Rc=function(){return this.Uc().Rc()},Q.Sc=function(){return this.b||=this.Qc()},Q.Tc=function(){return this.Uc().Tc()},Q.Uc=function(){return F(this.d,134)},R(sB,`AbstractMapBasedMultimap/SortedAsMap`,489),J(437,489,Kdt,ob),Q.bc=function(){return new nh(this.a,F(F(this.d,134),138))},Q.Qc=function(){return new nh(this.a,F(F(this.d,134),138))},Q.ec=function(){var e=this.b;return F(e||(this.b=new nh(this.a,F(F(this.d,134),138))),277)},Q.Sc=function(){var e=this.b;return F(e||(this.b=new nh(this.a,F(F(this.d,134),138))),277)},Q.Uc=function(){return F(F(this.d,134),138)},Q.Vc=function(e){return F(F(this.d,134),138).Vc(e)},Q.Wc=function(e){return F(F(this.d,134),138).Wc(e)},Q.Xc=function(e,t){return new ob(this.a,F(F(this.d,134),138).Xc(e,t))},Q.Yc=function(e){return F(F(this.d,134),138).Yc(e)},Q.Zc=function(e){return F(F(this.d,134),138).Zc(e)},Q.$c=function(e,t){return new ob(this.a,F(F(this.d,134),138).$c(e,t))},R(sB,`AbstractMapBasedMultimap/NavigableAsMap`,437),J(488,332,qdt,th),Q.Lc=function(){return this.b.ec().Lc()},R(sB,`AbstractMapBasedMultimap/SortedKeySet`,488),J(394,488,Jdt,nh),R(sB,`AbstractMapBasedMultimap/NavigableKeySet`,394),J(540,31,pB,iD),Q.Ec=function(e){var t,n;return $M(this),n=this.d.dc(),t=this.d.Ec(e),t&&(++this.f.d,n&&mb(this)),t},Q.Fc=function(e){var t,n,r;return!e.dc()&&(r=($M(this),this.d.gc()),t=this.d.Fc(e),t&&(n=this.d.gc(),this.f.d+=n-r,r==0&&mb(this)),t)},Q.$b=function(){var e=($M(this),this.d.gc());e!=0&&(this.d.$b(),this.f.d-=e,Qx(this))},Q.Gc=function(e){return $M(this),this.d.Gc(e)},Q.Hc=function(e){return $M(this),this.d.Hc(e)},Q.Fb=function(e){return e===this||($M(this),aM(this.d,e))},Q.Hb=function(){return $M(this),Lk(this.d)},Q.Jc=function(){return $M(this),new MSe(this)},Q.Kc=function(e){var t;return $M(this),t=this.d.Kc(e),t&&(--this.f.d,Qx(this)),t},Q.gc=function(){return jpe(this)},Q.Lc=function(){return $M(this),this.d.Lc()},Q.Ib=function(){return $M(this),XM(this.d)},R(sB,`AbstractMapBasedMultimap/WrappedCollection`,540);var yJ=Ox(dB,`List`);J(732,540,{20:1,31:1,18:1,16:1},Wwe),Q.gd=function(e){Wk(this,e)},Q.Lc=function(){return $M(this),this.d.Lc()},Q._c=function(e,t){var n;$M(this),n=this.d.dc(),F(this.d,16)._c(e,t),++this.a.d,n&&mb(this)},Q.ad=function(e,t){var n,r,i;return!t.dc()&&(i=($M(this),this.d.gc()),n=F(this.d,16).ad(e,t),n&&(r=this.d.gc(),this.a.d+=r-i,i==0&&mb(this)),n)},Q.Xb=function(e){return $M(this),F(this.d,16).Xb(e)},Q.bd=function(e){return $M(this),F(this.d,16).bd(e)},Q.cd=function(){return $M(this),new rhe(this)},Q.dd=function(e){return $M(this),new BDe(this,e)},Q.ed=function(e){var t;return $M(this),t=F(this.d,16).ed(e),--this.a.d,Qx(this),t},Q.fd=function(e,t){return $M(this),F(this.d,16).fd(e,t)},Q.hd=function(e,t){return $M(this),EMe(this.a,this.e,F(this.d,16).hd(e,t),this.b?this.b:this)},R(sB,`AbstractMapBasedMultimap/WrappedList`,732),J(1096,732,{20:1,31:1,18:1,16:1,59:1},Qge),R(sB,`AbstractMapBasedMultimap/RandomAccessWrappedList`,1096),J(620,1,uB,MSe),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return mw(this),this.b.Ob()},Q.Pb=function(){return mw(this),this.b.Pb()},Q.Qb=function(){hge(this)},R(sB,`AbstractMapBasedMultimap/WrappedCollection/WrappedIterator`,620),J(733,620,gB,rhe,BDe),Q.Qb=function(){hge(this)},Q.Rb=function(e){var t=jpe(this.a)==0;(mw(this),F(this.b,128)).Rb(e),++this.a.a.d,t&&mb(this.a)},Q.Sb=function(){return(mw(this),F(this.b,128)).Sb()},Q.Tb=function(){return(mw(this),F(this.b,128)).Tb()},Q.Ub=function(){return(mw(this),F(this.b,128)).Ub()},Q.Vb=function(){return(mw(this),F(this.b,128)).Vb()},Q.Wb=function(e){(mw(this),F(this.b,128)).Wb(e)},R(sB,`AbstractMapBasedMultimap/WrappedList/WrappedListIterator`,733),J(731,540,qdt,rve),Q.Lc=function(){return $M(this),this.d.Lc()},R(sB,`AbstractMapBasedMultimap/WrappedSortedSet`,731),J(1095,731,Jdt,jme),R(sB,`AbstractMapBasedMultimap/WrappedNavigableSet`,1095),J(1094,540,hB,ive),Q.Lc=function(){return $M(this),this.d.Lc()},R(sB,`AbstractMapBasedMultimap/WrappedSet`,1094),J(1103,1,{},l),Q.Kb=function(e){return IFe(F(e,45))},R(sB,`AbstractMapBasedMultimap/lambda$1$Type`,1103),J(1102,1,{},Sie),Q.Kb=function(e){return new eh(this.a,e)},R(sB,`AbstractMapBasedMultimap/lambda$2$Type`,1102);var bJ=Ox(dB,`Map/Entry`);J(358,1,_B),Q.Fb=function(e){var t;return N(e,45)?(t=F(e,45),EC(this.jd(),t.jd())&&EC(this.kd(),t.kd())):!1},Q.Hb=function(){var e=this.jd(),t=this.kd();return(e==null?0:Lk(e))^(t==null?0:Lk(t))},Q.ld=function(e){throw O(new Zd)},Q.Ib=function(){return this.jd()+`=`+this.kd()},R(sB,Ydt,358),J(2051,31,pB),Q.$b=function(){this.md().$b()},Q.Gc=function(e){var t;return N(e,45)?(t=F(e,45),tMe(this.md(),t.jd(),t.kd())):!1},Q.Kc=function(e){var t;return N(e,45)?(t=F(e,45),nMe(this.md(),t.jd(),t.kd())):!1},Q.gc=function(){return this.md().d},R(sB,`Multimaps/Entries`,2051),J(737,2051,pB,Ec),Q.Jc=function(){return this.a.kc()},Q.md=function(){return this.a},Q.Lc=function(){return this.a.lc()},R(sB,`AbstractMultimap/Entries`,737),J(738,737,hB,gp),Q.Lc=function(){return this.a.lc()},Q.Fb=function(e){return q2e(this,e)},Q.Hb=function(){return lVe(this)},R(sB,`AbstractMultimap/EntrySet`,738),J(739,31,pB,Dc),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return bWe(this.a,e)},Q.Jc=function(){return this.a.nc()},Q.gc=function(){return this.a.d},Q.Lc=function(){return this.a.oc()},R(sB,`AbstractMultimap/Values`,739),J(2052,31,{834:1,20:1,31:1,18:1}),Q.Ic=function(e){aC(e),KC(this).Ic(new Uc(e))},Q.Lc=function(){var e=KC(this).Lc();return qF(e,new _,64|e.wd()&1296,this.a.d)},Q.Ec=function(e){return _ce(),!0},Q.Fc=function(e){return aC(this),aC(e),N(e,541)?bMe(F(e,834)):!e.dc()&&aO(this,e.Jc())},Q.Gc=function(e){var t=F(Wj(dw(this.a),e),18);return(t?t.gc():0)>0},Q.Fb=function(e){return g5e(this,e)},Q.Hb=function(){return Lk(KC(this))},Q.dc=function(){return KC(this).dc()},Q.Kc=function(e){return i6e(this,e,1)>0},Q.Ib=function(){return XM(KC(this))},R(sB,`AbstractMultiset`,2052),J(2054,2033,hB),Q.$b=function(){gk(this.a.a)},Q.Gc=function(e){var t,n;return N(e,490)?(n=F(e,416),F(n.a.kd(),18).gc()<=0?!1:(t=fAe(this.a,n.a.jd()),t==F(n.a.kd(),18).gc())):!1},Q.Kc=function(e){var t,n,r,i;return N(e,490)&&(n=F(e,416),t=n.a.jd(),r=F(n.a.kd(),18).gc(),r!=0)?(i=this.a,a6e(i,t,r)):!1},R(sB,`Multisets/EntrySet`,2054),J(1109,2054,hB,Cie),Q.Jc=function(){return new nce(Rwe(dw(this.a.a)).Jc())},Q.gc=function(){return dw(this.a.a).gc()},R(sB,`AbstractMultiset/EntrySet`,1109),J(619,730,lB),Q.hc=function(){return this.nd()},Q.jc=function(){return this.od()},Q.cc=function(e){return this.pd(e)},Q.fc=function(e){return this.qd(e)},Q.Zb=function(){return this.f||=this.ac()},Q.od=function(){return fw(),fw(),iY},Q.Fb=function(e){return _j(this,e)},Q.pd=function(e){return F(VE(this,e),22)},Q.qd=function(e){return F(Uj(this,e),22)},Q.mc=function(e){return fw(),new mm(F(e,22))},Q.pc=function(e,t){return new ive(this,e,F(t,22))},R(sB,`AbstractSetMultimap`,619),J(1692,619,lB),Q.hc=function(){return new Gm(this.b)},Q.nd=function(){return new Gm(this.b)},Q.jc=function(){return rEe(new Gm(this.b))},Q.od=function(){return rEe(new Gm(this.b))},Q.cc=function(e){return F(F(VE(this,e),22),83)},Q.pd=function(e){return F(F(VE(this,e),22),83)},Q.fc=function(e){return F(F(Uj(this,e),22),83)},Q.qd=function(e){return F(F(Uj(this,e),22),83)},Q.mc=function(e){return N(e,277)?rEe(F(e,277)):(fw(),new Nge(F(e,83)))},Q.Zb=function(){return this.f||=N(this.c,138)?new ob(this,F(this.c,138)):N(this.c,134)?new ab(this,F(this.c,134)):new $m(this,this.c)},Q.pc=function(e,t){return N(t,277)?new jme(this,e,F(t,277)):new rve(this,e,F(t,83))},R(sB,`AbstractSortedSetMultimap`,1692),J(1693,1692,lB),Q.Zb=function(){var e=this.f;return F(F(e||(this.f=N(this.c,138)?new ob(this,F(this.c,138)):N(this.c,134)?new ab(this,F(this.c,134)):new $m(this,this.c)),134),138)},Q.ec=function(){var e=this.i;return F(F(e||(this.i=N(this.c,138)?new nh(this,F(this.c,138)):N(this.c,134)?new th(this,F(this.c,134)):new dy(this,this.c)),83),277)},Q.bc=function(){return N(this.c,138)?new nh(this,F(this.c,138)):N(this.c,134)?new th(this,F(this.c,134)):new dy(this,this.c)},R(sB,`AbstractSortedKeySortedSetMultimap`,1693),J(2074,1,{2011:1}),Q.Fb=function(e){return T$e(this,e)},Q.Hb=function(){var e;return lUe((e=this.g,e||(this.g=new Oc(this))))},Q.Ib=function(){var e;return I1e((e=this.f,e||(this.f=new gge(this))))},R(sB,`AbstractTable`,2074),J(669,mB,hB,Oc),Q.$b=function(){vce()},Q.Gc=function(e){var t,n;return N(e,468)?(t=F(e,687),n=F(Wj(nEe(this.a),H_(t.c.e,t.b)),92),!!n&&jGe(n.vc(),new eh(H_(t.c.c,t.a),nD(t.c,t.b,t.a)))):!1},Q.Jc=function(){return vOe(this.a)},Q.Kc=function(e){var t,n;return N(e,468)?(t=F(e,687),n=F(Wj(nEe(this.a),H_(t.c.e,t.b)),92),!!n&&MGe(n.vc(),new eh(H_(t.c.c,t.a),nD(t.c,t.b,t.a)))):!1},Q.gc=function(){return zCe(this.a)},Q.Lc=function(){return uMe(this.a)},R(sB,`AbstractTable/CellSet`,669),J(1990,31,pB,kc),Q.$b=function(){vce()},Q.Gc=function(e){return K1e(this.a,e)},Q.Jc=function(){return yOe(this.a)},Q.gc=function(){return zCe(this.a)},Q.Lc=function(){return Yje(this.a)},R(sB,`AbstractTable/Values`,1990),J(1665,1664,lB),R(sB,`ArrayListMultimapGwtSerializationDependencies`,1665),J(507,1665,lB,im,mje),Q.hc=function(){return new pD(this.a)},Q.a=0,R(sB,`ArrayListMultimap`,507),J(668,2074,{668:1,2011:1,3:1},r6e),R(sB,`ArrayTable`,668),J(1986,392,cB,_ge),Q.Xb=function(e){return new kUe(this.a,e)},R(sB,`ArrayTable/1`,1986),J(1987,1,{},wie),Q.rd=function(e){return new kUe(this.a,e)},R(sB,`ArrayTable/1methodref$getCell$Type`,1987),J(2075,1,{687:1}),Q.Fb=function(e){var t;return e===this?!0:N(e,468)?(t=F(e,687),EC(H_(this.c.e,this.b),H_(t.c.e,t.b))&&EC(H_(this.c.c,this.a),H_(t.c.c,t.a))&&EC(nD(this.c,this.b,this.a),nD(t.c,t.b,t.a))):!1},Q.Hb=function(){return Lj(W(A(hJ,1),iB,1,5,[H_(this.c.e,this.b),H_(this.c.c,this.a),nD(this.c,this.b,this.a)]))},Q.Ib=function(){return`(`+H_(this.c.e,this.b)+`,`+H_(this.c.c,this.a)+`)=`+nD(this.c,this.b,this.a)},R(sB,`Tables/AbstractCell`,2075),J(468,2075,{468:1,687:1},kUe),Q.a=0,Q.b=0,Q.d=0,R(sB,`ArrayTable/2`,468),J(1989,1,{},Tie),Q.rd=function(e){return mLe(this.a,e)},R(sB,`ArrayTable/2methodref$getValue$Type`,1989),J(1988,392,cB,vge),Q.Xb=function(e){return mLe(this.a,e)},R(sB,`ArrayTable/3`,1988),J(2042,2030,fB),Q.$b=function(){Ax(this.kc())},Q.vc=function(){return new Pie(this)},Q.lc=function(){return new SDe(this.kc(),this.gc())},R(sB,`Maps/IteratorBasedAbstractMap`,2042),J(827,2042,fB),Q.$b=function(){throw O(new Zd)},Q._b=function(e){return xle(this.c,e)},Q.kc=function(){return new yge(this,this.c.b.c.gc())},Q.lc=function(){return Tx(this.c.b.c.gc(),16,new Ac(this))},Q.xc=function(e){var t=F(Mb(this.c,e),15);return t?this.td(t.a):null},Q.dc=function(){return this.c.b.c.dc()},Q.ec=function(){return sS(this.c)},Q.yc=function(e,t){var n=F(Mb(this.c,e),15);if(!n)throw O(new Hp(this.sd()+` `+e+` not in `+sS(this.c)));return this.ud(n.a,t)},Q.Ac=function(e){throw O(new Zd)},Q.gc=function(){return this.c.b.c.gc()},R(sB,`ArrayTable/ArrayMap`,827),J(1985,1,{},Ac),Q.rd=function(e){return iEe(this.a,e)},R(sB,`ArrayTable/ArrayMap/0methodref$getEntry$Type`,1985),J(1983,358,_B,sue),Q.jd=function(){return t_e(this.a,this.b)},Q.kd=function(){return this.a.td(this.b)},Q.ld=function(e){return this.a.ud(this.b,e)},Q.b=0,R(sB,`ArrayTable/ArrayMap/1`,1983),J(1984,392,cB,yge),Q.Xb=function(e){return iEe(this.a,e)},R(sB,`ArrayTable/ArrayMap/2`,1984),J(1982,827,fB,_Te),Q.sd=function(){return`Column`},Q.td=function(e){return nD(this.b,this.a,e)},Q.ud=function(e,t){return ZHe(this.b,this.a,e,t)},Q.a=0,R(sB,`ArrayTable/Row`,1982),J(828,827,fB,gge),Q.td=function(e){return new _Te(this.a,e)},Q.yc=function(e,t){return F(t,92),yce()},Q.ud=function(e,t){return F(t,92),bce()},Q.sd=function(){return`Row`},R(sB,`ArrayTable/RowMap`,828),J(1127,1,bB,cue),Q.yd=function(e){return!!(this.a.wd()&-262&e)},Q.wd=function(){return this.a.wd()&-262},Q.xd=function(){return this.a.xd()},Q.Nb=function(e){this.a.Nb(new uue(e,this.b))},Q.zd=function(e){return this.a.zd(new lue(e,this.b))},R(sB,`CollectSpliterators/1`,1127),J(1128,1,xB,lue),Q.Ad=function(e){this.a.Ad(this.b.Kb(e))},R(sB,`CollectSpliterators/1/lambda$0$Type`,1128),J(1129,1,xB,uue),Q.Ad=function(e){this.a.Ad(this.b.Kb(e))},R(sB,`CollectSpliterators/1/lambda$1$Type`,1129),J(1124,1,bB,zye),Q.yd=function(e){return!!((16464|this.b)&e)},Q.wd=function(){return 16464|this.b},Q.xd=function(){return this.a.xd()},Q.Nb=function(e){this.a.Oe(new fue(e,this.c))},Q.zd=function(e){return this.a.Pe(new due(e,this.c))},Q.b=0,R(sB,`CollectSpliterators/1WithCharacteristics`,1124),J(1125,1,SB,due),Q.Bd=function(e){this.a.Ad(this.b.rd(e))},R(sB,`CollectSpliterators/1WithCharacteristics/lambda$0$Type`,1125),J(1126,1,SB,fue),Q.Bd=function(e){this.a.Ad(this.b.rd(e))},R(sB,`CollectSpliterators/1WithCharacteristics/lambda$1$Type`,1126),J(1120,1,bB),Q.yd=function(e){return(this.a&e)!=0},Q.wd=function(){return this.a},Q.xd=function(){return this.e&&(this.b=ohe(this.b,this.e.xd())),ohe(this.b,0)},Q.Nb=function(e){this.e&&=(this.e.Nb(e),null),this.c.Nb(new pue(this,e)),this.b=0},Q.zd=function(e){for(;;){if(this.e&&this.e.zd(e))return q_(this.b,CB)&&(this.b=RM(this.b,1)),!0;if(this.e=null,!this.c.zd(new Fc(this)))return!1}},Q.a=0,Q.b=0,R(sB,`CollectSpliterators/FlatMapSpliterator`,1120),J(1122,1,xB,Fc),Q.Ad=function(e){xye(this.a,e)},R(sB,`CollectSpliterators/FlatMapSpliterator/lambda$0$Type`,1122),J(1123,1,xB,pue),Q.Ad=function(e){yDe(this.a,this.b,e)},R(sB,`CollectSpliterators/FlatMapSpliterator/lambda$1$Type`,1123),J(1121,1120,bB,$Me),R(sB,`CollectSpliterators/FlatMapSpliteratorOfObject`,1121),J(254,1,wB),Q.Dd=function(e){return this.Cd(F(e,254))},Q.Cd=function(e){var t;return e==(up(),SJ)?1:e==(fp(),xJ)?-1:(t=(wx(),nA(this.a,e.a)),t==0?(by(),N(this,514)==N(e,514)?0:N(this,514)?1:-1):t)},Q.Gd=function(){return this.a},Q.Fb=function(e){return oZe(this,e)},R(sB,`Cut`,254),J(1796,254,wB,pp),Q.Cd=function(e){return e==this?0:1},Q.Ed=function(e){throw O(new Wd)},Q.Fd=function(e){e.a+=`+∞)`},Q.Gd=function(){throw O(new Up(Zdt))},Q.Hb=function(){return gh(),VJe(this)},Q.Hd=function(e){return!1},Q.Ib=function(){return`+∞`};var xJ;R(sB,`Cut/AboveAll`,1796),J(514,254,{254:1,514:1,3:1,35:1},Age),Q.Ed=function(e){Z_((e.a+=`(`,e),this.a)},Q.Fd=function(e){xC(Z_(e,this.a),93)},Q.Hb=function(){return~Lk(this.a)},Q.Hd=function(e){return wx(),nA(this.a,e)<0},Q.Ib=function(){return`/`+this.a+`\\`},R(sB,`Cut/AboveValue`,514),J(1795,254,wB,Zse),Q.Cd=function(e){return e==this?0:-1},Q.Ed=function(e){e.a+=`(-∞`},Q.Fd=function(e){throw O(new Wd)},Q.Gd=function(){throw O(new Up(Zdt))},Q.Hb=function(){return gh(),VJe(this)},Q.Hd=function(e){return!0},Q.Ib=function(){return`-∞`};var SJ;R(sB,`Cut/BelowAll`,1795),J(1797,254,wB,jge),Q.Ed=function(e){Z_((e.a+=`[`,e),this.a)},Q.Fd=function(e){xC(Z_(e,this.a),41)},Q.Hb=function(){return Lk(this.a)},Q.Hd=function(e){return wx(),nA(this.a,e)<=0},Q.Ib=function(){return`\\`+this.a+`/`},R(sB,`Cut/BelowValue`,1797),J(536,1,TB),Q.Ic=function(e){jE(this,e)},Q.Ib=function(){return CKe(F(xw(this,`use Optional.orNull() instead of Optional.or(null)`),20).Jc())},R(sB,`FluentIterable`,536),J(433,536,TB,sv),Q.Jc=function(){return new uS(py(this.a.Jc(),new f))},R(sB,`FluentIterable/2`,433),J(37,1,{},f),Q.Kb=function(e){return F(e,20).Jc()},Q.Fb=function(e){return this===e},R(sB,`FluentIterable/2/0methodref$iterator$Type`,37),J(1041,536,TB,eme),Q.Jc=function(){return OS(this)},R(sB,`FluentIterable/3`,1041),J(714,392,cB,bge),Q.Xb=function(e){return this.a[e].Jc()},R(sB,`FluentIterable/3/1`,714),J(2035,1,{}),Q.Ib=function(){return XM(this.Id().b)},R(sB,`ForwardingObject`,2035),J(2036,2035,Qdt),Q.Id=function(){return this.Jd()},Q.Ic=function(e){jE(this,e)},Q.Lc=function(){return new DT(this,0)},Q.Mc=function(){return new Mx(null,this.Lc())},Q.Ec=function(e){return this.Jd(),Dle()},Q.Fc=function(e){return this.Jd(),Ole()},Q.$b=function(){this.Jd(),kle()},Q.Gc=function(e){return this.Jd().Gc(e)},Q.Hc=function(e){return this.Jd().Hc(e)},Q.dc=function(){return this.Jd().b.dc()},Q.Jc=function(){return this.Jd().Jc()},Q.Kc=function(e){return this.Jd(),Ale()},Q.gc=function(){return this.Jd().b.gc()},Q.Nc=function(){return this.Jd().Nc()},Q.Oc=function(e){return this.Jd().Oc(e)},R(sB,`ForwardingCollection`,2036),J(2043,31,$dt),Q.Jc=function(){return this.Md()},Q.Ec=function(e){throw O(new Zd)},Q.Fc=function(e){throw O(new Zd)},Q.Kd=function(){return this.c||=this.Ld()},Q.$b=function(){throw O(new Zd)},Q.Gc=function(e){return e!=null&&lN(this,e,!1)},Q.Ld=function(){switch(this.gc()){case 0:return Ex(),EJ;case 1:return new hb(aC(this.Md().Pb()));default:return new ASe(this,this.Nc())}},Q.Kc=function(e){throw O(new Zd)},R(sB,`ImmutableCollection`,2043),J(1261,2043,$dt,Aie),Q.Jc=function(){return TD(new Nl(this.a.b.Jc()))},Q.Gc=function(e){return e!=null&&ch(this.a,e)},Q.Hc=function(e){return Mue(this.a,e)},Q.dc=function(){return this.a.b.dc()},Q.Md=function(){return TD(new Nl(this.a.b.Jc()))},Q.gc=function(){return this.a.b.gc()},Q.Nc=function(){return this.a.b.Nc()},Q.Oc=function(e){return Nue(this.a,e)},Q.Ib=function(){return XM(this.a.b)},R(sB,`ForwardingImmutableCollection`,1261),J(312,2043,EB),Q.Jc=function(){return this.Md()},Q.cd=function(){return this.Nd(0)},Q.dd=function(e){return this.Nd(e)},Q.gd=function(e){Wk(this,e)},Q.Lc=function(){return new DT(this,16)},Q.hd=function(e,t){return this.Od(e,t)},Q._c=function(e,t){throw O(new Zd)},Q.ad=function(e,t){throw O(new Zd)},Q.Kd=function(){return this},Q.Fb=function(e){return n5e(this,e)},Q.Hb=function(){return yHe(this)},Q.bd=function(e){return e==null?-1:tZe(this,e)},Q.Md=function(){return this.Nd(0)},Q.Nd=function(e){return Iy(this,e)},Q.ed=function(e){throw O(new Zd)},Q.fd=function(e,t){throw O(new Zd)},Q.Od=function(e,t){var n;return FM((n=new xue(this),new ET(n,e,t)))},R(sB,`ImmutableList`,312),J(2070,312,EB),Q.Jc=function(){return TD(this.Pd().Jc())},Q.hd=function(e,t){return FM(this.Pd().hd(e,t))},Q.Gc=function(e){return e!=null&&this.Pd().Gc(e)},Q.Hc=function(e){return this.Pd().Hc(e)},Q.Fb=function(e){return aM(this.Pd(),e)},Q.Xb=function(e){return H_(this,e)},Q.Hb=function(){return Lk(this.Pd())},Q.bd=function(e){return this.Pd().bd(e)},Q.dc=function(){return this.Pd().dc()},Q.Md=function(){return TD(this.Pd().Jc())},Q.gc=function(){return this.Pd().gc()},Q.Od=function(e,t){return FM(this.Pd().hd(e,t))},Q.Nc=function(){return this.Pd().Oc(H(hJ,iB,1,this.Pd().gc(),5,1))},Q.Oc=function(e){return this.Pd().Oc(e)},Q.Ib=function(){return XM(this.Pd())},R(sB,`ForwardingImmutableList`,2070),J(717,1,OB),Q.vc=function(){return oS(this)},Q.wc=function(e){oA(this,e)},Q.ec=function(){return sS(this)},Q.Bc=function(){return this.Td()},Q.$b=function(){throw O(new Zd)},Q._b=function(e){return this.xc(e)!=null},Q.uc=function(e){return this.Td().Gc(e)},Q.Rd=function(){return new Die(this)},Q.Sd=function(){return new Oie(this)},Q.Fb=function(e){return wWe(this,e)},Q.Hb=function(){return oS(this).Hb()},Q.dc=function(){return this.gc()==0},Q.yc=function(e,t){return xce()},Q.Ac=function(e){throw O(new Zd)},Q.Ib=function(){return y2e(this)},Q.Td=function(){return this.e?this.e:this.e=this.Sd()},Q.c=null,Q.d=null,Q.e=null,R(sB,`ImmutableMap`,717),J(718,717,OB),Q._b=function(e){return xle(this,e)},Q.uc=function(e){return Pue(this.b,e)},Q.Qd=function(){return JWe(new Pc(this))},Q.Rd=function(){return JWe(oDe(this.b))},Q.Sd=function(){return new Aie(aDe(this.b))},Q.Fb=function(e){return Iue(this.b,e)},Q.xc=function(e){return Mb(this,e)},Q.Hb=function(){return Lk(this.b.c)},Q.dc=function(){return this.b.c.dc()},Q.gc=function(){return this.b.c.gc()},Q.Ib=function(){return XM(this.b.c)},R(sB,`ForwardingImmutableMap`,718),J(2037,2036,kB),Q.Id=function(){return this.Ud()},Q.Jd=function(){return this.Ud()},Q.Lc=function(){return new DT(this,1)},Q.Fb=function(e){return e===this||this.Ud().Fb(e)},Q.Hb=function(){return this.Ud().Hb()},R(sB,`ForwardingSet`,2037),J(1056,2037,kB,Pc),Q.Id=function(){return BC(this.a.b)},Q.Jd=function(){return BC(this.a.b)},Q.Gc=function(e){if(N(e,45)&&F(e,45).jd()==null)return!1;try{return Fue(BC(this.a.b),e)}catch(e){if(e=UA(e),N(e,211))return!1;throw O(e)}},Q.Ud=function(){return BC(this.a.b)},Q.Oc=function(e){var t=IOe(BC(this.a.b),e),n;return BC(this.a.b).b.gc()=0?`+`:``)+(n/60|0),t=fv(r.Math.abs(n)%60),(V0e(),_xt)[this.q.getDay()]+` `+vxt[this.q.getMonth()]+` `+fv(this.q.getDate())+` `+fv(this.q.getHours())+`:`+fv(this.q.getMinutes())+`:`+fv(this.q.getSeconds())+` GMT`+e+t+` `+this.q.getFullYear()};var MJ=R(dB,`Date`,205);J(1980,205,fft,XQe),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`,1980),J(2029,1,{}),Q.ne=function(){return null},Q.oe=function(){return null},Q.pe=function(){return null},Q.qe=function(){return null},Q.re=function(){return null},R(_V,`JSONValue`,2029),J(139,2029,{139:1},Yc,Wc),Q.Fb=function(e){return N(e,139)?vje(this.a,F(e,139).a):!1},Q.me=function(){return Cse},Q.Hb=function(){return bOe(this.a)},Q.ne=function(){return this},Q.Ib=function(){var e,t,n=new _y(`[`);for(t=0,e=this.a.length;t0&&(n.a+=`,`),Z_(n,pO(this,t));return n.a+=`]`,n.a},R(_V,`JSONArray`,139),J(479,2029,{479:1},Gc),Q.me=function(){return Md},Q.oe=function(){return this},Q.Ib=function(){return by(),``+this.a},Q.a=!1;var Lbt,Rbt;R(_V,`JSONBoolean`,479),J(982,63,HB,Tp),R(_V,`JSONException`,982),J(1018,2029,{},ee),Q.me=function(){return wse},Q.Ib=function(){return aB};var zbt;R(_V,`JSONNull`,1018),J(265,2029,{265:1},Kc),Q.Fb=function(e){return N(e,265)?this.a==F(e,265).a:!1},Q.me=function(){return bse},Q.Hb=function(){return uv(this.a)},Q.pe=function(){return this},Q.Ib=function(){return this.a+``},Q.a=0,R(_V,`JSONNumber`,265),J(149,2029,{149:1},Ep,qc),Q.Fb=function(e){return N(e,149)?vje(this.a,F(e,149).a):!1},Q.me=function(){return xse},Q.Hb=function(){return bOe(this.a)},Q.qe=function(){return this},Q.Ib=function(){var e,t,n,r,i,a,o=new _y(`{`);for(e=!0,a=Ek(this,H(KJ,vB,2,0,6,1)),n=a,r=0,i=n.length;r=0?`:`+this.c:``)+`)`},Q.c=0;var txt=R(eB,`StackTraceElement`,325);bbt={3:1,472:1,35:1,2:1};var KJ=R(eB,ift,2);J(111,418,{472:1},lm,um,gy),R(eB,`StringBuffer`,111),J(106,418,{472:1},dm,fm,_y),R(eB,`StringBuilder`,106),J(691,99,TV,Tce),R(eB,`StringIndexOutOfBoundsException`,691),J(2110,1,{});var nxt;J(47,63,{3:1,101:1,63:1,80:1,47:1},Zd,Zp),R(eB,`UnsupportedOperationException`,47),J(247,242,{3:1,35:1,242:1,247:1},NM,Tle),Q.Dd=function(e){return Pit(this,F(e,247))},Q.se=function(){return sI(Fot(this))},Q.Fb=function(e){var t;return this===e?!0:N(e,247)?(t=F(e,247),this.e==t.e&&Pit(this,t)==0):!1},Q.Hb=function(){var e;return this.b==0?this.a<54?(e=gA(this.f),this.b=Wx(FT(e,-1)),this.b=33*this.b+Wx(FT(fS(e,32),-1)),this.b=17*this.b+Gw(this.e),this.b):(this.b=17*dGe(this.c)+Gw(this.e),this.b):this.b},Q.Ib=function(){return Fot(this)},Q.a=0,Q.b=0,Q.d=0,Q.e=0,Q.f=0;var rxt,qJ,ixt,axt,oxt,sxt,cxt,lxt,JJ=R(`java.math`,`BigDecimal`,247);J(91,242,{3:1,35:1,242:1,91:1},_E,pje,FS,eYe,Ov),Q.Dd=function(e){return jJe(this,F(e,91))},Q.se=function(){return sI(Lz(this,0))},Q.Fb=function(e){return Sqe(this,e)},Q.Hb=function(){return dGe(this)},Q.Ib=function(){return Lz(this,0)},Q.b=-2,Q.c=0,Q.d=0,Q.e=0;var uxt,YJ,dxt,XJ,ZJ,QJ,$J=R(`java.math`,`BigInteger`,91),fxt,pxt,eY,tY;J(484,2030,fB),Q.$b=function(){BS(this)},Q._b=function(e){return jS(this,e)},Q.uc=function(e){return TWe(this,e,this.i)||TWe(this,e,this.f)},Q.vc=function(){return new Dl(this)},Q.xc=function(e){return pC(this,e)},Q.yc=function(e,t){return LC(this,e,t)},Q.Ac=function(e){return GE(this,e)},Q.gc=function(){return lh(this)},Q.g=0,R(dB,`AbstractHashMap`,484),J(307,mB,hB,Dl),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return pMe(this,e)},Q.Jc=function(){return new cA(this.a)},Q.Kc=function(e){var t;return pMe(this,e)?(t=F(e,45).jd(),this.a.Ac(t),!0):!1},Q.gc=function(){return this.a.gc()},R(dB,`AbstractHashMap/EntrySet`,307),J(308,1,uB,cA),Q.Nb=function(e){PS(this,e)},Q.Pb=function(){return Tk(this)},Q.Ob=function(){return this.b},Q.Qb=function(){nRe(this)},Q.b=!1,Q.d=0,R(dB,`AbstractHashMap/EntrySetIterator`,308),J(417,1,uB,Pl),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return $h(this)},Q.Pb=function(){return UDe(this)},Q.Qb=function(){kC(this)},Q.b=0,Q.c=-1,R(dB,`AbstractList/IteratorImpl`,417),J(97,417,gB,qT),Q.Qb=function(){kC(this)},Q.Rb=function(e){_b(this,e)},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Ub=function(){return Ky(this.b>0),this.a.Xb(this.c=--this.b)},Q.Vb=function(){return this.b-1},Q.Wb=function(e){Gy(this.c!=-1),this.a.fd(this.c,e)},R(dB,`AbstractList/ListIteratorImpl`,97),J(258,56,IB,ET),Q._c=function(e,t){pT(e,this.b),this.c._c(this.a+e,t),++this.b},Q.Xb=function(e){return OT(e,this.b),this.c.Xb(this.a+e)},Q.ed=function(e){var t;return OT(e,this.b),t=this.c.ed(this.a+e),--this.b,t},Q.fd=function(e,t){return OT(e,this.b),this.c.fd(this.a+e,t)},Q.gc=function(){return this.b},Q.a=0,Q.b=0,R(dB,`AbstractList/SubList`,258),J(232,mB,hB,Tl),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a._b(e)},Q.Jc=function(){return new wl(this.a.vc().Jc())},Q.Kc=function(e){return this.a._b(e)?(this.a.Ac(e),!0):!1},Q.gc=function(){return this.a.gc()},R(dB,`AbstractMap/1`,232),J(530,1,uB,wl),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){return F(this.a.Pb(),45).jd()},Q.Qb=function(){this.a.Qb()},R(dB,`AbstractMap/1/1`,530),J(230,31,pB,kl),Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a.uc(e)},Q.Jc=function(){return new Al(this.a.vc().Jc())},Q.gc=function(){return this.a.gc()},R(dB,`AbstractMap/2`,230),J(305,1,uB,Al),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return this.a.Ob()},Q.Pb=function(){return F(this.a.Pb(),45).kd()},Q.Qb=function(){this.a.Qb()},R(dB,`AbstractMap/2/1`,305),J(480,1,{480:1,45:1}),Q.Fb=function(e){var t;return N(e,45)?(t=F(e,45),RC(this.d,t.jd())&&RC(this.e,t.kd())):!1},Q.jd=function(){return this.d},Q.kd=function(){return this.e},Q.Hb=function(){return jv(this.d)^jv(this.e)},Q.ld=function(e){return Rve(this,e)},Q.Ib=function(){return this.d+`=`+this.e},R(dB,`AbstractMap/AbstractEntry`,480),J(390,480,{480:1,390:1,45:1},rg),R(dB,`AbstractMap/SimpleEntry`,390),J(2047,1,vft),Q.Fb=function(e){var t;return N(e,45)?(t=F(e,45),RC(this.jd(),t.jd())&&RC(this.kd(),t.kd())):!1},Q.Hb=function(){return jv(this.jd())^jv(this.kd())},Q.Ib=function(){return this.jd()+`=`+this.kd()},R(dB,Ydt,2047),J(2055,2030,Kdt),Q.Vc=function(e){return Jm(this.Ce(e))},Q.tc=function(e){return jPe(this,e)},Q._b=function(e){return zve(this,e)},Q.vc=function(){return new jl(this)},Q.Rc=function(){return TTe(this.Ee())},Q.Wc=function(e){return Jm(this.Fe(e))},Q.xc=function(e){var t=e;return V_(this.De(t))},Q.Yc=function(e){return Jm(this.Ge(e))},Q.ec=function(){return new pae(this)},Q.Tc=function(){return TTe(this.He())},Q.Zc=function(e){return Jm(this.Ie(e))},R(dB,`AbstractNavigableMap`,2055),J(621,mB,hB,jl),Q.Gc=function(e){return N(e,45)&&jPe(this.b,F(e,45))},Q.Jc=function(){return this.b.Be()},Q.Kc=function(e){var t;return N(e,45)?(t=F(e,45),this.b.Je(t)):!1},Q.gc=function(){return this.b.gc()},R(dB,`AbstractNavigableMap/EntrySet`,621),J(1116,mB,Jdt,pae),Q.Lc=function(){return new dg(this)},Q.$b=function(){this.a.$b()},Q.Gc=function(e){return zve(this.a,e)},Q.Jc=function(){return new fae(this.a.vc().b.Be())},Q.Kc=function(e){return zve(this.a,e)?(this.a.Ac(e),!0):!1},Q.gc=function(){return this.a.gc()},R(dB,`AbstractNavigableMap/NavigableKeySet`,1116),J(1117,1,uB,fae),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return $h(this.a.a)},Q.Pb=function(){return s_e(this.a).jd()},Q.Qb=function(){rbe(this.a)},R(dB,`AbstractNavigableMap/NavigableKeySet/1`,1117),J(2068,31,pB),Q.Ec=function(e){return ix(ZF(this,e),IV),!0},Q.Fc=function(e){return MC(e),rx(e!=this,`Can't add a queue to itself`),Gk(this,e)},Q.$b=function(){for(;sO(this)!=null;);},R(dB,`AbstractQueue`,2068),J(315,31,{4:1,20:1,31:1,18:1},Zv,OMe),Q.Ec=function(e){return NMe(this,e),!0},Q.$b=function(){DPe(this)},Q.Gc=function(e){return BHe(new YC(this),e)},Q.dc=function(){return qp(this)},Q.Jc=function(){return new YC(this)},Q.Kc=function(e){return Ake(new YC(this),e)},Q.gc=function(){return this.c-this.b&this.a.length-1},Q.Lc=function(){return new DT(this,272)},Q.Oc=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(dB,`ArrayDeque`,315),J(448,1,uB,YC),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return this.a!=this.b},Q.Pb=function(){return Zj(this)},Q.Qb=function(){oBe(this)},Q.a=0,Q.b=0,Q.c=-1,R(dB,`ArrayDeque/IteratorImpl`,448),J(13,56,yft,Od,pD,Lb),Q._c=function(e,t){Kx(this,e,t)},Q.Ec=function(e){return ry(this,e)},Q.ad=function(e,t){return RWe(this,e,t)},Q.Fc=function(e){return VA(this,e)},Q.$b=function(){rf(this.c,0)},Q.Gc=function(e){return VD(this,e,0)!=-1},Q.Ic=function(e){kO(this,e)},Q.Xb=function(e){return kx(this,e)},Q.bd=function(e){return VD(this,e,0)},Q.dc=function(){return this.c.length==0},Q.Jc=function(){return new D(this)},Q.ed=function(e){return KE(this,e)},Q.Kc=function(e){return BD(this,e)},Q.ae=function(e,t){xAe(this,e,t)},Q.fd=function(e,t){return AE(this,e,t)},Q.gc=function(){return this.c.length},Q.gd=function(e){Bv(this,e)},Q.Nc=function(){return hx(this.c)},Q.Oc=function(e){return qN(this,e)};var mxt=R(dB,`ArrayList`,13);J(7,1,uB,D),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return Vv(this)},Q.Pb=function(){return B(this)},Q.Qb=function(){HS(this)},Q.a=0,Q.b=-1,R(dB,`ArrayList/1`,7),J(2077,r.Function,{},ie),Q.Ke=function(e,t){return mM(e,t)},J(123,56,bft,Yp),Q.Gc=function(e){return cBe(this,e)!=-1},Q.Ic=function(e){var t,n,r,i;for(MC(e),n=this.a,r=0,i=n.length;r0)throw O(new Hp(Oft+e+` greater than `+this.e));return this.f.Re()?hke(this.c,this.b,this.a,e,t):yAe(this.c,e,t)},Q.yc=function(e,t){if(!rF(this.c,this.f,e,this.b,this.a,this.e,this.d))throw O(new Hp(e+` outside the range `+this.b+` to `+this.e));return MUe(this.c,e,t)},Q.Ac=function(e){var t=e;return rF(this.c,this.f,t,this.b,this.a,this.e,this.d)?bke(this.c,t):null},Q.Je=function(e){return wC(this,e.jd())&&kIe(this.c,e)},Q.gc=function(){var e,t=this.f.Re()?this.a?ON(this.c,this.b,!0):ON(this.c,this.b,!1):hLe(this.c),n;if(!(t&&wC(this,t.d)&&t))return 0;for(e=0,n=new Kk(this.c,this.f,this.b,this.a,this.e,this.d);$h(n.a);n.b=F(UDe(n.a),45))++e;return e},Q.$c=function(e,t){if(this.f.Re()&&this.c.a.Le(e,this.b)<0)throw O(new Hp(Oft+e+kft+this.b));return this.f.Se()?hke(this.c,e,t,this.e,this.d):bAe(this.c,e,t)},Q.a=!1,Q.d=!1,R(dB,`TreeMap/SubMap`,623),J(310,24,WV,ag),Q.Re=function(){return!1},Q.Se=function(){return!1};var cY,lY,uY,dY,fY=rk(dB,`TreeMap/SubMapType`,310,wJ,BMe,sbe);J(1113,310,WV,Mme),Q.Se=function(){return!0},rk(dB,`TreeMap/SubMapType/1`,1113,fY,null,null),J(1114,310,WV,hhe),Q.Re=function(){return!0},Q.Se=function(){return!0},rk(dB,`TreeMap/SubMapType/2`,1114,fY,null,null),J(1115,310,WV,Nme),Q.Re=function(){return!0},rk(dB,`TreeMap/SubMapType/3`,1115,fY,null,null);var Nxt;J(141,mB,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},_f,Pge,Gm,Kl),Q.Lc=function(){return new dg(this)},Q.Ec=function(e){return RS(this,e)},Q.$b=function(){this.a.$b()},Q.Gc=function(e){return this.a._b(e)},Q.Jc=function(){return this.a.ec().Jc()},Q.Kc=function(e){return ey(this,e)},Q.gc=function(){return this.a.gc()};var Pxt=R(dB,`TreeSet`,141);J(1053,1,{},ql),Q.Te=function(e,t){return cve(this.a,e,t)},R(GV,`BinaryOperator/lambda$0$Type`,1053),J(1054,1,{},hae),Q.Te=function(e,t){return lve(this.a,e,t)},R(GV,`BinaryOperator/lambda$1$Type`,1054),J(936,1,{},Te),Q.Kb=function(e){return e},R(GV,`Function/lambda$0$Type`,936),J(388,1,RB,Jl),Q.Mb=function(e){return!this.a.Mb(e)},R(GV,`Predicate/lambda$2$Type`,388),J(567,1,{567:1});var Fxt=R(KV,`Handler`,567);J(2072,1,tB),Q.ve=function(){return`DUMMY`},Q.Ib=function(){return this.ve()};var Ixt;R(KV,`Level`,2072),J(1675,2072,tB,ye),Q.ve=function(){return`INFO`},R(KV,`Level/LevelInfo`,1675),J(1827,1,{},Ise);var pY;R(KV,`LogManager`,1827),J(1869,1,tB,$ye),Q.b=null,R(KV,`LogRecord`,1869),J(512,1,{512:1},LPe),Q.e=!1;var Lxt=!1,Rxt=!1,mY=!1,zxt=!1,Bxt=!1;R(KV,`Logger`,512),J(820,567,{567:1},be),R(KV,`SimpleConsoleLogHandler`,820),J(130,24,{3:1,35:1,24:1,130:1},og);var Vxt,hY,Hxt,gY=rk(JV,`Collector/Characteristics`,130,wJ,EAe,cbe),Uxt;J(746,1,{},STe),R(JV,`CollectorImpl`,746),J(1051,1,{},ve),Q.Te=function(e,t){return JGe(F(e,212),F(t,212))},R(JV,`Collectors/10methodref$merge$Type`,1051),J(1052,1,{},xe),Q.Kb=function(e){return Zje(F(e,212))},R(JV,`Collectors/11methodref$toString$Type`,1052),J(152,1,{},Se),Q.Wd=function(e,t){F(e,18).Ec(t)},R(JV,`Collectors/20methodref$add$Type`,152),J(154,1,{},Ce),Q.Ve=function(){return new Od},R(JV,`Collectors/21methodref$ctor$Type`,154),J(1050,1,{},we),Q.Wd=function(e,t){qE(F(e,212),F(t,472))},R(JV,`Collectors/9methodref$add$Type`,1050),J(1049,1,{},$Se),Q.Ve=function(){return new EA(this.a,this.b,this.c)},R(JV,`Collectors/lambda$15$Type`,1049),J(153,1,{},Ee),Q.Te=function(e,t){return Wue(F(e,18),F(t,18))},R(JV,`Collectors/lambda$45$Type`,153),J(539,1,{}),Q.Ye=function(){OC(this)},Q.d=!1,R(JV,`TerminatableStream`,539),J(769,539,jft,ave),Q.Ye=function(){OC(this)},R(JV,`DoubleStreamImpl`,769),J(1298,724,bB,zSe),Q.Pe=function(e){return UXe(this,F(e,189))},Q.a=null,R(JV,`DoubleStreamImpl/2`,1298),J(1299,1,LV,gae),Q.Ne=function(e){Rme(this.a,e)},R(JV,`DoubleStreamImpl/2/lambda$0$Type`,1299),J(1296,1,LV,_ae),Q.Ne=function(e){Lme(this.a,e)},R(JV,`DoubleStreamImpl/lambda$0$Type`,1296),J(1297,1,LV,vae),Q.Ne=function(e){oJe(this.a,e)},R(JV,`DoubleStreamImpl/lambda$2$Type`,1297),J(1352,723,bB,PPe),Q.Pe=function(e){return gMe(this,F(e,202))},Q.a=0,Q.b=0,Q.c=0,R(JV,`IntStream/5`,1352),J(794,539,jft,ove),Q.Ye=function(){OC(this)},Q.Ze=function(){return DC(this),this.a},R(JV,`IntStreamImpl`,794),J(795,539,jft,Vue),Q.Ye=function(){OC(this)},Q.Ze=function(){return DC(this),uge(),jxt},R(JV,`IntStreamImpl/Empty`,795),J(1654,1,SB,Yl),Q.Bd=function(e){fHe(this.a,e)},R(JV,`IntStreamImpl/lambda$4$Type`,1654);var Wxt=Ox(JV,`Stream`);J(28,539,{521:1,677:1,833:1},Mx),Q.Ye=function(){OC(this)};var _Y;R(JV,`StreamImpl`,28),J(1073,486,bB,Iye),Q.zd=function(e){for(;oLe(this);)if(this.a.zd(e))return!0;else OC(this.b),this.b=null,this.a=null;return!1},R(JV,`StreamImpl/1`,1073),J(1074,1,xB,yae),Q.Ad=function(e){HSe(this.a,F(e,833))},R(JV,`StreamImpl/1/lambda$0$Type`,1074),J(1075,1,RB,bae),Q.Mb=function(e){return LS(this.a,e)},R(JV,`StreamImpl/1methodref$add$Type`,1075),J(1076,486,bB,eOe),Q.zd=function(e){var t;return this.a||=(t=new Od,this.b.a.Nb(new Xl(t)),fw(),Bv(t,this.c),new DT(t,16)),qRe(this.a,e)},Q.a=null,R(JV,`StreamImpl/5`,1076),J(1077,1,xB,Xl),Q.Ad=function(e){ry(this.a,e)},R(JV,`StreamImpl/5/2methodref$add$Type`,1077),J(725,486,bB,vLe),Q.zd=function(e){for(this.b=!1;!this.b&&this.c.zd(new Mde(this,e)););return this.b},Q.b=!1,R(JV,`StreamImpl/FilterSpliterator`,725),J(1067,1,xB,Mde),Q.Ad=function(e){tTe(this.a,this.b,e)},R(JV,`StreamImpl/FilterSpliterator/lambda$0$Type`,1067),J(1062,724,bB,kFe),Q.Pe=function(e){return Eye(this,F(e,189))},R(JV,`StreamImpl/MapToDoubleSpliterator`,1062),J(1066,1,xB,Nde),Q.Ad=function(e){Kde(this.a,this.b,e)},R(JV,`StreamImpl/MapToDoubleSpliterator/lambda$0$Type`,1066),J(1061,723,bB,AFe),Q.Pe=function(e){return Dye(this,F(e,202))},R(JV,`StreamImpl/MapToIntSpliterator`,1061),J(1065,1,xB,Pde),Q.Ad=function(e){qde(this.a,this.b,e)},R(JV,`StreamImpl/MapToIntSpliterator/lambda$0$Type`,1065),J(722,486,bB,jFe),Q.zd=function(e){return Oye(this,e)},R(JV,`StreamImpl/MapToObjSpliterator`,722),J(1064,1,xB,Fde),Q.Ad=function(e){Jde(this.a,this.b,e)},R(JV,`StreamImpl/MapToObjSpliterator/lambda$0$Type`,1064),J(1063,486,bB,hBe),Q.zd=function(e){for(;Zh(this.b,0);){if(!this.a.zd(new De))return!1;this.b=RM(this.b,1)}return this.a.zd(e)},Q.b=0,R(JV,`StreamImpl/SkipSpliterator`,1063),J(1068,1,xB,De),Q.Ad=function(e){},R(JV,`StreamImpl/SkipSpliterator/lambda$0$Type`,1068),J(618,1,xB,Oe),Q.Ad=function(e){zie(this,e)},R(JV,`StreamImpl/ValueConsumer`,618),J(1069,1,xB,ke),Q.Ad=function(e){bh()},R(JV,`StreamImpl/lambda$0$Type`,1069),J(1070,1,xB,Ae),Q.Ad=function(e){bh()},R(JV,`StreamImpl/lambda$1$Type`,1070),J(1071,1,{},xae),Q.Te=function(e,t){return nbe(this.a,e,t)},R(JV,`StreamImpl/lambda$4$Type`,1071),J(1072,1,xB,Ide),Q.Ad=function(e){Uve(this.b,this.a,e)},R(JV,`StreamImpl/lambda$5$Type`,1072),J(1078,1,xB,Zl),Q.Ad=function(e){SHe(this.a,F(e,375))},R(JV,`TerminatableStream/lambda$0$Type`,1078),J(2107,1,{}),J(1979,1,{},je),R(`javaemul.internal`,`ConsoleLogger`,1979);var Gxt=0;J(2099,1,{}),J(1803,1,xB,Me),Q.Ad=function(e){F(e,322)},R(XV,`BowyerWatsonTriangulation/lambda$0$Type`,1803),J(1804,1,xB,Ql),Q.Ad=function(e){Gk(this.a,F(e,322).e)},R(XV,`BowyerWatsonTriangulation/lambda$1$Type`,1804),J(1805,1,xB,Ne),Q.Ad=function(e){F(e,177)},R(XV,`BowyerWatsonTriangulation/lambda$2$Type`,1805),J(1800,1,ZV,Sae),Q.Le=function(e,t){return jNe(this.a,F(e,177),F(t,177))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(XV,`NaiveMinST/lambda$0$Type`,1800),J(440,1,{},$l),R(XV,`NodeMicroLayout`,440),J(177,1,{177:1},ig),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 jv(this.a)+jv(this.b)};var Kxt=R(XV,`TEdge`,177);J(322,1,{322:1},dat),Q.Fb=function(e){var t;return N(e,322)?(t=F(e,322),HD(this,t.a)&&HD(this,t.b)&&HD(this,t.c)):!1},Q.Hb=function(){return jv(this.a)+jv(this.b)+jv(this.c)},R(XV,`TTriangle`,322),J(225,1,{225:1},Wv),R(XV,`Tree`,225),J(1184,1,{},$ke),R(Ift,`Scanline`,1184);var qxt=Ox(Ift,Lft);J(1731,1,{},HRe),R(QV,`CGraph`,1731),J(321,1,{321:1},Ike),Q.b=0,Q.c=0,Q.d=0,Q.g=0,Q.i=0,Q.k=OV,R(QV,`CGroup`,321),J(815,1,{},vf),R(QV,`CGroup/CGroupBuilder`,815),J(60,1,{60:1},qve),Q.Ib=function(){var e;return this.j?rb(this.j.Kb(this)):(tb(vY),vY.o+`@`+(e=Ty(this)>>>0,e.toString(16)))},Q.f=0,Q.i=OV;var vY=R(QV,`CNode`,60);J(814,1,{},yf),R(QV,`CNode/CNodeBuilder`,814);var Jxt;J(1552,1,{},Pe),Q.df=function(e,t){return 0},Q.ef=function(e,t){return 0},R(QV,zft,1552),J(1833,1,{},Fe),Q.af=function(e){var t,n,i,a,o,s,c,l,u=DV,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.gf=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].gf());else if(this.g)a=gqe(this,hF(this,null,!0));else for(t=(MO(),W(A(CY,1),Z,237,0,[bY,xY,SY])),n=0,i=t.length;n0?a+this.n.b+this.n.c:0},Q.hf=function(){var e,t,n,r,i;if(this.g)for(e=hF(this,null,!1),n=(MO(),W(A(CY,1),Z,237,0,[bY,xY,SY])),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),_Fe(this,xY,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 wY=0,TY=0;R(iH,`GridContainerCell`,1500),J(461,24,{3:1,35:1,24:1,461:1},cg);var EY,DY,OY,nSt=rk(iH,`HorizontalLabelAlignment`,461,wJ,OAe,obe),rSt;J(319,216,{216:1,319:1},wke,WRe,cke),Q.ff=function(){return vCe(this)},Q.gf=function(){return yCe(this)},Q.a=0,Q.c=!1;var iSt=R(iH,`LabelCell`,319);J(253,337,{216:1,337:1,253:1},GN),Q.ff=function(){return RI(this)},Q.gf=function(){return zI(this)},Q.hf=function(){jR(this)},Q.jf=function(){NR(this)},Q.b=0,Q.c=0,Q.d=!1,R(iH,`StripContainerCell`,253),J(1658,1,RB,Le),Q.Mb=function(e){return pce(F(e,216))},R(iH,`StripContainerCell/lambda$0$Type`,1658),J(1659,1,{},Re),Q.We=function(e){return F(e,216).gf()},R(iH,`StripContainerCell/lambda$1$Type`,1659),J(1660,1,RB,Ie),Q.Mb=function(e){return mce(F(e,216))},R(iH,`StripContainerCell/lambda$2$Type`,1660),J(1661,1,{},ze),Q.We=function(e){return F(e,216).ff()},R(iH,`StripContainerCell/lambda$3$Type`,1661),J(462,24,{3:1,35:1,24:1,462:1},lg);var kY,AY,jY,aSt=rk(iH,`VerticalLabelAlignment`,462,wJ,kAe,abe),oSt;J(788,1,{},Alt),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(cH,`NodeContext`,788),J(1498,1,ZV,eee),Q.Le=function(e,t){return dme(F(e,64),F(t,64))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(cH,`NodeContext/0methodref$comparePortSides$Type`,1498),J(1499,1,ZV,Ke),Q.Le=function(e,t){return _0e(F(e,115),F(t,115))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(cH,`NodeContext/1methodref$comparePortContexts$Type`,1499),J(168,24,{3:1,35:1,24:1,168:1},Xk);var sSt,cSt,lSt,uSt,dSt,fSt,pSt,mSt,hSt,gSt,_St,vSt,ySt,bSt,xSt,SSt,CSt,wSt,TSt,ESt,DSt,MY,OSt=rk(cH,`NodeLabelLocation`,168,wJ,ZN,ibe),kSt;J(115,1,{115:1},G6e),Q.a=!1,R(cH,`PortContext`,115),J(1503,1,xB,qe),Q.Ad=function(e){Vle(F(e,319))},R(dH,tpt,1503),J(1504,1,RB,Je),Q.Mb=function(e){return!!F(e,115).c},R(dH,npt,1504),J(1505,1,xB,Ye),Q.Ad=function(e){Vle(F(e,115).c)},R(dH,`LabelPlacer/lambda$2$Type`,1505);var ASt;J(1502,1,xB,Xe),Q.Ad=function(e){pb(),Ose(F(e,115))},R(dH,`NodeLabelAndSizeUtilities/lambda$0$Type`,1502),J(789,1,xB,vbe),Q.Ad=function(e){ade(this.b,this.c,this.a,F(e,187))},Q.a=!1,Q.c=!1,R(dH,`NodeLabelCellCreator/lambda$0$Type`,789),J(1501,1,xB,ru),Q.Ad=function(e){of(this.a,F(e,187))},R(dH,`PortContextCreator/lambda$0$Type`,1501);var NY;J(1875,1,{},Ze),R(fH,`GreedyRectangleStripOverlapRemover`,1875),J(1876,1,ZV,Qe),Q.Le=function(e,t){return zge(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(fH,`GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type`,1876),J(1829,1,{},Tf),Q.a=5,Q.e=0,R(fH,`RectangleStripOverlapRemover`,1829),J(1830,1,ZV,$e),Q.Le=function(e,t){return Bge(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(fH,`RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type`,1830),J(1832,1,ZV,et),Q.Le=function(e,t){return LTe(F(e,226),F(t,226))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(fH,`RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type`,1832),J(409,24,{3:1,35:1,24:1,409:1},ug);var PY,FY,IY,LY,jSt=rk(fH,`RectangleStripOverlapRemover/OverlapRemovalDirection`,409,wJ,zMe,ube),MSt;J(226,1,{226:1},nS),R(fH,`RectangleStripOverlapRemover/RectangleNode`,226),J(1831,1,xB,iu),Q.Ad=function(e){iZe(this.a,F(e,226))},R(fH,`RectangleStripOverlapRemover/lambda$1$Type`,1831);var NSt=!1,RY,PSt;J(1801,1,xB,tt),Q.Ad=function(e){Got(F(e,225))},R(mH,`DepthFirstCompaction/0methodref$compactTree$Type`,1801),J(811,1,xB,au),Q.Ad=function(e){AEe(this.a,F(e,225))},R(mH,`DepthFirstCompaction/lambda$1$Type`,811),J(1802,1,xB,ybe),Q.Ad=function(e){ZJe(this.a,this.b,this.c,F(e,225))},R(mH,`DepthFirstCompaction/lambda$2$Type`,1802);var zY,FSt;J(68,1,{68:1},Qke),R(mH,`Node`,68),J(1180,1,{},fhe),R(mH,`ScanlineOverlapCheck`,1180),J(1181,1,{683:1},EOe),Q._e=function(e){dve(this,F(e,442))},R(mH,`ScanlineOverlapCheck/OverlapsScanlineHandler`,1181),J(1182,1,ZV,nt),Q.Le=function(e,t){return SKe(F(e,68),F(t,68))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(mH,`ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type`,1182),J(442,1,{442:1},zde),Q.a=!1,R(mH,`ScanlineOverlapCheck/Timestamp`,442),J(1183,1,ZV,tee),Q.Le=function(e,t){return QQe(F(e,442),F(t,442))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(mH,`ScanlineOverlapCheck/lambda$0$Type`,1183),J(546,1,{},rt),R(`org.eclipse.elk.alg.common.utils`,`SVGImage`,546),J(748,1,{},it),R(gH,apt,748),J(1165,1,ZV,T),Q.Le=function(e,t){return l6e(F(e,235),F(t,235))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(gH,opt,1165),J(1166,1,xB,Lde),Q.Ad=function(e){CAe(this.b,this.a,F(e,251))},R(gH,spt,1166),J(214,1,_H),R(vH,`AbstractLayoutProvider`,214),J(726,214,_H,bf),Q.kf=function(e,t){l7e(this,e,t)},R(gH,`ForceLayoutProvider`,726);var ISt=Ox(yH,cpt);J(150,1,{3:1,105:1,150:1},at),Q.of=function(e,t){return tj(this,e,t)},Q.lf=function(){return QCe(this)},Q.mf=function(e){return q(this,e)},Q.nf=function(e){return Yy(this,e)},R(yH,`MapPropertyHolder`,150),J(314,150,{3:1,314:1,105:1,150:1}),R(bH,`FParticle`,314),J(251,314,{3:1,251:1,314:1,105:1,150:1},ZTe),Q.Ib=function(){var e;return this.a?(e=VD(this.a.a,this,0),e>=0?`b`+e+`[`+GNe(this.a)+`]`:`b[`+GNe(this.a)+`]`):`b_`+Ty(this)},R(bH,`FBendpoint`,251),J(291,150,{3:1,291:1,105:1,150:1},Jve),Q.Ib=function(){return GNe(this)},R(bH,`FEdge`,291),J(235,150,{3:1,235:1,105:1,150:1},YE);var LSt=R(bH,`FGraph`,235);J(445,314,{3:1,445:1,314:1,105:1,150:1},LNe),Q.Ib=function(){return this.b==null||this.b.length==0?`l[`+GNe(this.a)+`]`:`l_`+this.b},R(bH,`FLabel`,445),J(155,314,{3:1,155:1,314:1,105:1,150:1},mhe),Q.Ib=function(){return _je(this)},Q.a=0,R(bH,`FNode`,155),J(2065,1,{}),Q.qf=function(e){bit(this,e)},Q.rf=function(){gZe(this)},Q.d=0,R(upt,`AbstractForceModel`,2065),J(632,2065,{632:1},wHe),Q.pf=function(e,t){var n,i,a,o,s;return ust(this.f,e,t),a=Tb(Jv(t.d),e.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),i=r.Math.max(0,s-CC(e.e)/2-CC(t.e)/2),n=w6e(this.e,e,t),o=n>0?-wTe(i,this.c)*n:T_e(i,this.b)*F(q(e,(CR(),WY)),15).a,ny(a,o/s),a},Q.qf=function(e){bit(this,e),this.a=F(q(e,(CR(),UY)),15).a,this.c=k(P(q(e,KY))),this.b=k(P(q(e,GY)))},Q.sf=function(e){return e0&&(o-=jp(i,this.a)*n),ny(a,o*this.b/s),a},Q.qf=function(e){var t,n,i,a,o,s,c;for(bit(this,e),this.b=k(P(q(e,(CR(),qY)))),this.c=this.b/F(q(e,UY),15).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(upt,`FruchtermanReingoldModel`,633);var BY=Ox(xH,`ILayoutMetaDataProvider`);J(845,1,EH,Xs),Q.tf=function(e){JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,SH),``),`Force Model`),`Determines the model for force calculation.`),BSt),(yI(),H3)),KSt),WM((eP(),L3))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,dpt),``),`Iterations`),`The number of iterations on the force model.`),K(300)),W3),HJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,fpt),``),`Repulsive Power`),`Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model`),K(0)),W3),HJ),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,CH),``),`FR Temperature`),`The temperature is used as a scaling factor for particle displacements.`),wH),V3),BJ),WM(L3)))),JT(e,CH,SH,GSt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,TH),``),`Eades Repulsion`),`Factor for repulsive forces in Eades' model.`),5),V3),BJ),WM(L3)))),JT(e,TH,SH,HSt),gut((new qre,e))};var RSt,zSt,BSt,VSt,HSt,USt,WSt,GSt;R(DH,`ForceMetaDataProvider`,845),J(424,24,{3:1,35:1,24:1,424:1},Bde);var VY,HY,KSt=rk(DH,`ForceModelStrategy`,424,wJ,tke,dbe),qSt;J(985,1,EH,qre),Q.tf=function(e){gut(e)};var JSt,YSt,XSt,UY,ZSt,QSt,$St,eCt,tCt,nCt,rCt,iCt,aCt,oCt,WY,sCt,GY,cCt,lCt,uCt,KY,qY,dCt,fCt,pCt,mCt,hCt;R(DH,`ForceOptions`,985),J(986,1,{},ot),Q.uf=function(){return new bf},Q.vf=function(e){},R(DH,`ForceOptions/ForceFactory`,986);var JY,YY,XY,ZY;J(846,1,EH,Jre),Q.tf=function(e){JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,_pt),``),`Fixed Position`),`Prevent that the node is moved by the layout algorithm.`),(by(),!1)),(yI(),B3)),LJ),WM((eP(),I3))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,vpt),``),`Desired Edge Length`),`Either specified for parent nodes or for individual edges, where the latter takes higher precedence.`),100),V3),BJ),Gx(L3,W(A(z3,1),Z,160,0,[P3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,ypt),``),`Layout Dimension`),`Dimensions that are permitted to be altered during layout.`),vCt),H3),NCt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,bpt),``),`Stress Epsilon`),`Termination criterion for the iterative process.`),wH),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,xpt),``),`Iteration Limit`),`Maximum number of performed iterations. Takes higher precedence than 'epsilon'.`),K($z)),W3),HJ),WM(L3)))),wct((new Yre,e))};var gCt,_Ct,vCt,yCt,bCt,xCt;R(DH,`StressMetaDataProvider`,846),J(989,1,EH,Yre),Q.tf=function(e){wct(e)};var QY,SCt,CCt,wCt,TCt,ECt,DCt,OCt,kCt,ACt,jCt,MCt;R(DH,`StressOptions`,989),J(990,1,{},st),Q.uf=function(){return new Yve},Q.vf=function(e){},R(DH,`StressOptions/StressFactory`,990),J(1081,214,_H,Yve),Q.kf=function(e,t){var n,r,i,a,o;for(t.Tg(Spt,1),Gp(nb(Y(e,(uF(),TCt))))?Gp(nb(Y(e,jCt)))||Uw((n=new $l((Vh(),new Bp(e))),n)):l7e(new bf,e,t.dh(1)),i=yUe(e),r=$it(this.a,i),o=r.Jc();o.Ob();)a=F(o.Pb(),235),!(a.e.c.length<=1)&&(Dot(this.b,a),d5e(this.b),kO(a.d,new ct));i=lut(r),Wut(i),t.Ug()},R($H,`StressLayoutProvider`,1081),J(1082,1,xB,ct),Q.Ad=function(e){Lat(F(e,445))},R($H,`StressLayoutProvider/lambda$0$Type`,1082),J(987,1,{},tf),Q.c=0,Q.e=0,Q.g=0,R($H,`StressMajorization`,987),J(384,24,{3:1,35:1,24:1,384:1},fg);var $Y,eX,tX,NCt=rk($H,`StressMajorization/Dimension`,384,wJ,TAe,fbe),PCt;J(988,1,ZV,ou),Q.Le=function(e,t){return Aye(this.a,F(e,155),F(t,155))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R($H,`StressMajorization/lambda$0$Type`,988),J(1162,1,{},gje),R(eU,`ElkLayered`,1162),J(1163,1,xB,Cae),Q.Ad=function(e){O3e(this.a,F(e,36))},R(eU,`ElkLayered/lambda$0$Type`,1163),J(1164,1,xB,su),Q.Ad=function(e){kye(this.a,F(e,36))},R(eU,`ElkLayered/lambda$1$Type`,1164),J(1247,1,{},dhe);var FCt,ICt,LCt;R(eU,`GraphConfigurator`,1247),J(757,1,xB,cu),Q.Ad=function(e){g2e(this.a,F(e,9))},R(eU,`GraphConfigurator/lambda$0$Type`,757),J(758,1,{},lt),Q.Kb=function(e){return yF(),new Mx(null,new DT(F(e,25).a,16))},R(eU,`GraphConfigurator/lambda$1$Type`,758),J(759,1,xB,lu),Q.Ad=function(e){g2e(this.a,F(e,9))},R(eU,`GraphConfigurator/lambda$2$Type`,759),J(1248,1,RB,ut),Q.Mb=function(e){return yF(),!!nJe(F(e,9))},R(eU,`GraphConfigurator/lambda$3$Type`,1248),J(1080,214,_H,xf),Q.kf=function(e,t){var n=Yat(new Df,e);M(Y(e,(zz(),x1)))===M((Ej(),x8))?IKe(this.a,n,t):a5e(this.a,n,t),t.Zg()||Llt(new Xre,n)},R(eU,`LayeredLayoutProvider`,1080),J(363,24,{3:1,35:1,24:1,363:1},pg);var nX,rX,iX,aX,oX,RCt=rk(eU,`LayeredPhases`,363,wJ,RPe,pbe),zCt;J(1686,1,{},pBe),Q.i=0;var BCt;R(tU,`ComponentsToCGraphTransformer`,1686);var VCt;J(1687,1,{},dt),Q.wf=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.xf=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(tU,`ComponentsToCGraphTransformer/1`,1687),J(82,1,{82:1}),Q.i=0,Q.k=!0,Q.o=OV;var sX=R(nU,`CNode`,82);J(460,82,{460:1,82:1},Xge,$Je),Q.Ib=function(){return``},R(tU,`ComponentsToCGraphTransformer/CRectNode`,460),J(1655,1,{},ft);var cX,lX;R(tU,`OneDimensionalComponentsCompaction`,1655),J(1656,1,{},pt),Q.Kb=function(e){return Zke(F(e,49))},Q.Fb=function(e){return this===e},R(tU,`OneDimensionalComponentsCompaction/lambda$0$Type`,1656),J(1657,1,{},mt),Q.Kb=function(e){return YKe(F(e,49))},Q.Fb=function(e){return this===e},R(tU,`OneDimensionalComponentsCompaction/lambda$1$Type`,1657),J(1689,1,{},uEe),R(nU,`CGraph`,1689),J(194,1,{194:1},WN),Q.b=0,Q.c=0,Q.e=0,Q.g=!0,Q.i=OV,R(nU,`CGroup`,194),J(1688,1,{},ht),Q.wf=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.xf=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(nU,zft,1688),J(1690,1,{},j6e),Q.d=!1;var HCt,uX=R(nU,Hft,1690);J(1691,1,{},gt),Q.Kb=function(e){return Que(),by(),F(F(e,49).a,82).d.e!=0},Q.Fb=function(e){return this===e},R(nU,Uft,1691),J(818,1,{},ICe),Q.a=!1,Q.b=!1,Q.c=!1,Q.d=!1,R(nU,Wft,818),J(1871,1,{},Nwe),R(rU,Gft,1871);var dX=Ox(iU,Lft);J(1872,1,{377:1},TOe),Q._e=function(e){xet(this,F(e,465))},R(rU,Kft,1872),J(1873,1,ZV,_t),Q.Le=function(e,t){return wDe(F(e,82),F(t,82))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(rU,qft,1873),J(465,1,{465:1},Vde),Q.a=!1,R(rU,Jft,465),J(1874,1,ZV,vt),Q.Le=function(e,t){return $Qe(F(e,465),F(t,465))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(rU,Yft,1874),J(146,1,{146:1},mg,eCe),Q.Fb=function(e){var t;return e==null||UCt!=Cj(e)?!1:(t=F(e,146),RC(this.c,t.c)&&RC(this.d,t.d))},Q.Hb=function(){return Lj(W(A(hJ,1),iB,1,5,[this.c,this.d]))},Q.Ib=function(){return`(`+this.c+rB+this.d+(this.a?`cx`:``)+this.b+`)`},Q.a=!0,Q.c=0,Q.d=0;var UCt=R(iU,`Point`,146);J(408,24,{3:1,35:1,24:1,408:1},hg);var fX,pX,mX,hX,WCt=rk(iU,`Point/Quadrant`,408,wJ,RMe,mbe),GCt;J(1677,1,{},Lse),Q.b=null,Q.c=null,Q.d=null,Q.e=null,Q.f=null;var KCt,qCt,JCt,YCt,XCt;R(iU,`RectilinearConvexHull`,1677),J(569,1,{377:1},uP),Q._e=function(e){sLe(this,F(e,146))},Q.b=0;var ZCt;R(iU,`RectilinearConvexHull/MaximalElementsEventHandler`,569),J(1679,1,ZV,yt),Q.Le=function(e,t){return TDe(P(e),P(t))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(iU,`RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type`,1679),J(1678,1,{377:1},VRe),Q._e=function(e){h9e(this,F(e,146))},Q.a=0,Q.b=null,Q.c=null,Q.d=null,Q.e=null,R(iU,`RectilinearConvexHull/RectangleEventHandler`,1678),J(1680,1,ZV,bt),Q.Le=function(e,t){return yje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(iU,`RectilinearConvexHull/lambda$0$Type`,1680),J(1681,1,ZV,nee),Q.Le=function(e,t){return bje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(iU,`RectilinearConvexHull/lambda$1$Type`,1681),J(1682,1,ZV,ree),Q.Le=function(e,t){return Sje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(iU,`RectilinearConvexHull/lambda$2$Type`,1682),J(1683,1,ZV,iee),Q.Le=function(e,t){return xje(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(iU,`RectilinearConvexHull/lambda$3$Type`,1683),J(1684,1,ZV,xt),Q.Le=function(e,t){return H0e(F(e,146),F(t,146))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(iU,`RectilinearConvexHull/lambda$4$Type`,1684),J(1685,1,{},eAe),R(iU,`Scanline`,1685),J(2069,1,{}),R(aU,`AbstractGraphPlacer`,2069),J(336,1,{336:1},m_e),Q.Df=function(e){return this.Ef(e)?(GI(this.b,F(q(e,(X(),WQ)),22),e),!0):!1},Q.Ef=function(e){for(var t=F(q(e,(X(),WQ)),22),n,r=F(VE(gX,t),22).Jc();r.Ob();)if(n=F(r.Pb(),22),!F(VE(this.b,n),16).dc())return!1;return!0};var gX;R(aU,`ComponentGroup`,336),J(766,2069,{},Cf),Q.Ff=function(e){for(var t,n=new D(this.a);n.an&&(d=0,f+=c+i,c=0),l=o.c,tR(o,d+l.a,f+l.b),cv(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.Hf=function(e,t){var n,r,i,a,o;if(M(q(t,(zz(),K$)))===M((HN(),yX))){for(r=e.Jc();r.Ob();){for(n=F(r.Pb(),36),o=0,a=new D(n.a);a.an&&!F(q(o,(X(),WQ)),22).Gc((Dz(),n5))||l&&F(q(l,(X(),WQ)),22).Gc((Dz(),t5))||F(q(o,(X(),WQ)),22).Gc((Dz(),x5)))&&(p=f,m+=c+i,c=0),u=o.c,F(q(o,(X(),WQ)),22).Gc((Dz(),n5))&&(p=a+i),tR(o,p+u.a,m+u.b),a=r.Math.max(a,p+d.a),F(q(o,WQ),22).Gc(y5)&&(f=r.Math.max(f,p+d.a+i)),cv(u),c=r.Math.max(c,d.b),p+=d.a+i,l=o;t.f.a=a,t.f.b=m+c},Q.Hf=function(e,t){},R(aU,`ModelOrderRowGraphPlacer`,1279),J(1277,1,ZV,see),Q.Le=function(e,t){return xHe(F(e,36),F(t,36))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(aU,`SimpleRowGraphPlacer/1`,1277);var twt;J(1246,1,tH,wt),Q.Lb=function(e){var t=F(q(F(e,250).b,(zz(),T1)),79);return!!t&&t.b!=0},Q.Fb=function(e){return this===e},Q.Mb=function(e){var t=F(q(F(e,250).b,(zz(),T1)),79);return!!t&&t.b!=0},R(lU,`CompoundGraphPostprocessor/1`,1246),J(1245,1,uU,Of),Q.If=function(e,t){dXe(this,F(e,36),t)},R(lU,`CompoundGraphPreprocessor`,1245),J(444,1,{444:1},PKe),Q.c=!1,R(lU,`CompoundGraphPreprocessor/ExternalPort`,444),J(250,1,{250:1},Wb),Q.Ib=function(){return Wy(this.c)+`:`+d6e(this.b)},R(lU,`CrossHierarchyEdge`,250),J(764,1,ZV,uu),Q.Le=function(e,t){return oQe(this,F(e,250),F(t,250))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(lU,`CrossHierarchyEdgeComparator`,764),J(246,150,{3:1,246:1,105:1,150:1}),Q.p=0,R(dU,`LGraphElement`,246),J(17,246,{3:1,17:1,246:1,105:1,150:1},Dw),Q.Ib=function(){return d6e(this)};var xX=R(dU,`LEdge`,17);J(36,246,{3:1,20:1,36:1,246:1,105:1,150:1},mBe),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return new D(this.b)},Q.Ib=function(){return this.b.c.length==0?`G-unlayered`+rI(this.a):this.a.c.length==0?`G-layered`+rI(this.b):`G[layerless`+rI(this.a)+`, layers`+rI(this.b)+`]`};var nwt=R(dU,`LGraph`,36),rwt;J(655,1,{}),Q.Jf=function(){return this.e.n},Q.mf=function(e){return q(this.e,e)},Q.Kf=function(){return this.e.o},Q.Lf=function(){return this.e.p},Q.nf=function(e){return Yy(this.e,e)},Q.Mf=function(e){this.e.n.a=e.a,this.e.n.b=e.b},Q.Nf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},Q.Of=function(e){this.e.p=e},R(dU,`LGraphAdapters/AbstractLShapeAdapter`,655),J(464,1,{838:1},du),Q.Pf=function(){var e,t;if(!this.b)for(this.b=Ly(this.a.b.c.length),t=new D(this.a.b);t.a0&&YWe((kT(t-1,e.length),e.charCodeAt(t-1)),kpt);)--t;if(a> `,e),eF(n)),Q_(Z_((e.a+=`[`,e),n.i),`]`)),e.a},Q.c=!0,Q.d=!1;var swt,cwt,lwt,uwt,dwt,fwt,pwt=R(dU,`LPort`,12);J(399,1,TB,fu),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return new pu(new D(this.a.e))},R(dU,`LPort/1`,399),J(1275,1,uB,pu),Q.Nb=function(e){PS(this,e)},Q.Pb=function(){return F(B(this.a),17).c},Q.Ob=function(){return Vv(this.a)},Q.Qb=function(){HS(this.a)},R(dU,`LPort/1/1`,1275),J(365,1,TB,mu),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return new hu(new D(this.a.g))},R(dU,`LPort/2`,365),J(763,1,uB,hu),Q.Nb=function(e){PS(this,e)},Q.Pb=function(){return F(B(this.a),17).d},Q.Ob=function(){return Vv(this.a)},Q.Qb=function(){HS(this.a)},R(dU,`LPort/2/1`,763),J(1268,1,TB,Ude),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return new JE(this)},R(dU,`LPort/CombineIter`,1268),J(207,1,uB,JE),Q.Nb=function(e){PS(this,e)},Q.Qb=function(){Ele()},Q.Ob=function(){return Ey(this)},Q.Pb=function(){return Vv(this.a)?B(this.a):B(this.b)},R(dU,`LPort/CombineIter/1`,207),J(1270,1,tH,Ot),Q.Lb=function(e){return Qwe(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Qk(),F(e,12).e.c.length!=0},R(dU,`LPort/lambda$0$Type`,1270),J(1269,1,tH,cee),Q.Lb=function(e){return $we(e)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Qk(),F(e,12).g.c.length!=0},R(dU,`LPort/lambda$1$Type`,1269),J(1271,1,tH,kt),Q.Lb=function(e){return Qk(),F(e,12).j==(Dz(),n5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Qk(),F(e,12).j==(Dz(),n5)},R(dU,`LPort/lambda$2$Type`,1271),J(1272,1,tH,At),Q.Lb=function(e){return Qk(),F(e,12).j==(Dz(),t5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Qk(),F(e,12).j==(Dz(),t5)},R(dU,`LPort/lambda$3$Type`,1272),J(1273,1,tH,jt),Q.Lb=function(e){return Qk(),F(e,12).j==(Dz(),y5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Qk(),F(e,12).j==(Dz(),y5)},R(dU,`LPort/lambda$4$Type`,1273),J(1274,1,tH,Mt),Q.Lb=function(e){return Qk(),F(e,12).j==(Dz(),x5)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return Qk(),F(e,12).j==(Dz(),x5)},R(dU,`LPort/lambda$5$Type`,1274),J(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},mC),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return new D(this.a)},Q.Ib=function(){return`L_`+VD(this.b.b,this,0)+rI(this.a)},R(dU,`Layer`,25),J(1662,1,{},PIe),Q.b=0,R(dU,`Tarjan`,1662),J(1283,1,{},Df),R(gU,Npt,1283),J(1287,1,{},Nt),Q.Kb=function(e){return VF(F(e,84))},R(gU,`ElkGraphImporter/0methodref$connectableShapeToNode$Type`,1287),J(1290,1,{},Pt),Q.Kb=function(e){return VF(F(e,84))},R(gU,`ElkGraphImporter/1methodref$connectableShapeToNode$Type`,1290),J(1284,1,xB,gu),Q.Ad=function(e){J6e(this.a,F(e,125))},R(gU,spt,1284),J(1285,1,xB,_u),Q.Ad=function(e){J6e(this.a,F(e,125))},R(gU,Ppt,1285),J(1286,1,{},lee),Q.Kb=function(e){return new Mx(null,new DT(lDe(F(e,85)),16))},R(gU,Fpt,1286),J(1288,1,RB,vu),Q.Mb=function(e){return Fme(this.a,F(e,26))},R(gU,Ipt,1288),J(1289,1,{},Ft),Q.Kb=function(e){return new Mx(null,new DT(cDe(F(e,85)),16))},R(gU,`ElkGraphImporter/lambda$5$Type`,1289),J(1291,1,RB,wae),Q.Mb=function(e){return Ime(this.a,F(e,26))},R(gU,`ElkGraphImporter/lambda$7$Type`,1291),J(1292,1,RB,uee),Q.Mb=function(e){return XDe(F(e,85))},R(gU,`ElkGraphImporter/lambda$8$Type`,1292),J(1263,1,{},Xre);var mwt;R(gU,`ElkGraphLayoutTransferrer`,1263),J(1264,1,RB,Tae),Q.Mb=function(e){return Nye(this.a,F(e,17))},R(gU,`ElkGraphLayoutTransferrer/lambda$0$Type`,1264),J(1265,1,xB,yu),Q.Ad=function(e){kh(),ry(this.a,F(e,17))},R(gU,`ElkGraphLayoutTransferrer/lambda$1$Type`,1265),J(1266,1,RB,bu),Q.Mb=function(e){return pve(this.a,F(e,17))},R(gU,`ElkGraphLayoutTransferrer/lambda$2$Type`,1266),J(1267,1,xB,Eae),Q.Ad=function(e){kh(),ry(this.a,F(e,17))},R(gU,`ElkGraphLayoutTransferrer/lambda$3$Type`,1267),J(807,1,{},Xve),R(_U,`BiLinkedHashMultiMap`,807),J(1512,1,uU,dee),Q.If=function(e,t){iVe(F(e,36),t)},R(_U,`CommentNodeMarginCalculator`,1512),J(1513,1,{},It),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`CommentNodeMarginCalculator/lambda$0$Type`,1513),J(1514,1,xB,Lt),Q.Ad=function(e){Gat(F(e,9))},R(_U,`CommentNodeMarginCalculator/lambda$1$Type`,1514),J(1515,1,uU,Rt),Q.If=function(e,t){Net(F(e,36),t)},R(_U,`CommentPostprocessor`,1515),J(1516,1,uU,fee),Q.If=function(e,t){Slt(F(e,36),t)},R(_U,`CommentPreprocessor`,1516),J(1517,1,uU,zt),Q.If=function(e,t){w9e(F(e,36),t)},R(_U,`ConstraintsPostprocessor`,1517),J(1518,1,uU,pee),Q.If=function(e,t){pHe(F(e,36),t)},R(_U,`EdgeAndLayerConstraintEdgeReverser`,1518),J(1519,1,uU,Bt),Q.If=function(e,t){Hqe(F(e,36),t)},R(_U,`EndLabelPostprocessor`,1519),J(1520,1,{},Vt),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`EndLabelPostprocessor/lambda$0$Type`,1520),J(1521,1,RB,Ht),Q.Mb=function(e){return EPe(F(e,9))},R(_U,`EndLabelPostprocessor/lambda$1$Type`,1521),J(1522,1,xB,mee),Q.Ad=function(e){e$e(F(e,9))},R(_U,`EndLabelPostprocessor/lambda$2$Type`,1522),J(1523,1,uU,Ut),Q.If=function(e,t){L4e(F(e,36),t)},R(_U,`EndLabelPreprocessor`,1523),J(1524,1,{},Wt),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`EndLabelPreprocessor/lambda$0$Type`,1524),J(1525,1,xB,bbe),Q.Ad=function(e){ode(this.a,this.b,this.c,F(e,9))},Q.a=0,Q.b=0,Q.c=!1,R(_U,`EndLabelPreprocessor/lambda$1$Type`,1525),J(1526,1,RB,Gt),Q.Mb=function(e){return M(q(F(e,70),(zz(),m1)))===M((NO(),p8))},R(_U,`EndLabelPreprocessor/lambda$2$Type`,1526),J(1527,1,xB,Dae),Q.Ad=function(e){fx(this.a,F(e,70))},R(_U,`EndLabelPreprocessor/lambda$3$Type`,1527),J(1528,1,RB,Kt),Q.Mb=function(e){return M(q(F(e,70),(zz(),m1)))===M((NO(),f8))},R(_U,`EndLabelPreprocessor/lambda$4$Type`,1528),J(1529,1,xB,Oae),Q.Ad=function(e){fx(this.a,F(e,70))},R(_U,`EndLabelPreprocessor/lambda$5$Type`,1529),J(1577,1,uU,Qre),Q.If=function(e,t){gKe(F(e,36),t)};var hwt;R(_U,`EndLabelSorter`,1577),J(1578,1,ZV,hee),Q.Le=function(e,t){return oYe(F(e,455),F(t,455))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`EndLabelSorter/1`,1578),J(455,1,{455:1},lOe),R(_U,`EndLabelSorter/LabelGroup`,455),J(1579,1,{},qt),Q.Kb=function(e){return jh(),new Mx(null,new DT(F(e,25).a,16))},R(_U,`EndLabelSorter/lambda$0$Type`,1579),J(1580,1,RB,Jt),Q.Mb=function(e){return jh(),F(e,9).k==(pL(),OX)},R(_U,`EndLabelSorter/lambda$1$Type`,1580),J(1581,1,xB,Yt),Q.Ad=function(e){_2e(F(e,9))},R(_U,`EndLabelSorter/lambda$2$Type`,1581),J(1582,1,RB,Xt),Q.Mb=function(e){return jh(),M(q(F(e,70),(zz(),m1)))===M((NO(),f8))},R(_U,`EndLabelSorter/lambda$3$Type`,1582),J(1583,1,RB,Zt),Q.Mb=function(e){return jh(),M(q(F(e,70),(zz(),m1)))===M((NO(),p8))},R(_U,`EndLabelSorter/lambda$4$Type`,1583),J(1530,1,uU,Qt),Q.If=function(e,t){vot(this,F(e,36))},Q.b=0,Q.c=0,R(_U,`FinalSplineBendpointsCalculator`,1530),J(1531,1,{},$t),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`FinalSplineBendpointsCalculator/lambda$0$Type`,1531),J(1532,1,{},en),Q.Kb=function(e){return new Mx(null,new oC(new uS(py(VM(F(e,9)).a.Jc(),new f))))},R(_U,`FinalSplineBendpointsCalculator/lambda$1$Type`,1532),J(1533,1,RB,tn),Q.Mb=function(e){return!IE(F(e,17))},R(_U,`FinalSplineBendpointsCalculator/lambda$2$Type`,1533),J(1534,1,RB,gee),Q.Mb=function(e){return Yy(F(e,17),(X(),T$))},R(_U,`FinalSplineBendpointsCalculator/lambda$3$Type`,1534),J(1535,1,xB,kae),Q.Ad=function(e){crt(this.a,F(e,132))},R(_U,`FinalSplineBendpointsCalculator/lambda$4$Type`,1535),J(1536,1,xB,_ee),Q.Ad=function(e){DI(F(e,17).a)},R(_U,`FinalSplineBendpointsCalculator/lambda$5$Type`,1536),J(791,1,uU,xu),Q.If=function(e,t){wst(this,F(e,36),t)},R(_U,`GraphTransformer`,791),J(503,24,{3:1,35:1,24:1,503:1},Wde);var MX,NX,gwt=rk(_U,`GraphTransformer/Mode`,503,wJ,nke,Dbe),_wt;J(1537,1,uU,nn),Q.If=function(e,t){v7e(F(e,36),t)},R(_U,`HierarchicalNodeResizingProcessor`,1537),J(1538,1,uU,rn),Q.If=function(e,t){sBe(F(e,36),t)},R(_U,`HierarchicalPortConstraintProcessor`,1538),J(1539,1,ZV,an),Q.Le=function(e,t){return BYe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`HierarchicalPortConstraintProcessor/NodeComparator`,1539),J(1540,1,uU,on),Q.If=function(e,t){Vit(F(e,36),t)},R(_U,`HierarchicalPortDummySizeProcessor`,1540),J(1541,1,uU,sn),Q.If=function(e,t){Ttt(this,F(e,36),t)},Q.a=0,R(_U,`HierarchicalPortOrthogonalEdgeRouter`,1541),J(1542,1,ZV,cn),Q.Le=function(e,t){return Vge(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`HierarchicalPortOrthogonalEdgeRouter/1`,1542),J(1543,1,ZV,ln),Q.Le=function(e,t){return KLe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`HierarchicalPortOrthogonalEdgeRouter/2`,1543),J(1544,1,uU,un),Q.If=function(e,t){L0e(F(e,36),t)},R(_U,`HierarchicalPortPositionProcessor`,1544),J(1545,1,uU,$s),Q.If=function(e,t){Tut(this,F(e,36))},Q.a=0,Q.c=0;var PX,FX;R(_U,`HighDegreeNodeLayeringProcessor`,1545),J(566,1,{566:1},dn),Q.b=-1,Q.d=-1,R(_U,`HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation`,566),J(1546,1,{},vee),Q.Kb=function(e){return Kb(),zM(F(e,9))},Q.Fb=function(e){return this===e},R(_U,`HighDegreeNodeLayeringProcessor/lambda$0$Type`,1546),J(1547,1,{},fn),Q.Kb=function(e){return Kb(),VM(F(e,9))},Q.Fb=function(e){return this===e},R(_U,`HighDegreeNodeLayeringProcessor/lambda$1$Type`,1547),J(1553,1,uU,yee),Q.If=function(e,t){wit(this,F(e,36),t)},R(_U,`HyperedgeDummyMerger`,1553),J(792,1,{},xbe),Q.a=!1,Q.b=!1,Q.c=!1,R(_U,`HyperedgeDummyMerger/MergeState`,792),J(1554,1,{},pn),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`HyperedgeDummyMerger/lambda$0$Type`,1554),J(1555,1,{},mn),Q.Kb=function(e){return new Mx(null,new DT(F(e,9).j,16))},R(_U,`HyperedgeDummyMerger/lambda$1$Type`,1555),J(1556,1,xB,hn),Q.Ad=function(e){F(e,12).p=-1},R(_U,`HyperedgeDummyMerger/lambda$2$Type`,1556),J(1557,1,uU,gn),Q.If=function(e,t){xit(F(e,36),t)},R(_U,`HypernodesProcessor`,1557),J(1558,1,uU,_n),Q.If=function(e,t){Bit(F(e,36),t)},R(_U,`InLayerConstraintProcessor`,1558),J(1559,1,uU,vn),Q.If=function(e,t){kVe(F(e,36),t)},R(_U,`InnermostNodeMarginCalculator`,1559),J(1560,1,uU,yn),Q.If=function(e,t){vlt(this,F(e,36))},Q.a=OV,Q.b=OV,Q.c=DV,Q.d=DV;var vwt=R(_U,`InteractiveExternalPortPositioner`,1560);J(1561,1,{},bn),Q.Kb=function(e){return F(e,17).d.i},Q.Fb=function(e){return this===e},R(_U,`InteractiveExternalPortPositioner/lambda$0$Type`,1561),J(1562,1,{},Su),Q.Kb=function(e){return Hge(this.a,P(e))},Q.Fb=function(e){return this===e},R(_U,`InteractiveExternalPortPositioner/lambda$1$Type`,1562),J(1563,1,{},xn),Q.Kb=function(e){return F(e,17).c.i},Q.Fb=function(e){return this===e},R(_U,`InteractiveExternalPortPositioner/lambda$2$Type`,1563),J(1564,1,{},Aae),Q.Kb=function(e){return Uge(this.a,P(e))},Q.Fb=function(e){return this===e},R(_U,`InteractiveExternalPortPositioner/lambda$3$Type`,1564),J(1565,1,{},jae),Q.Kb=function(e){return yye(this.a,P(e))},Q.Fb=function(e){return this===e},R(_U,`InteractiveExternalPortPositioner/lambda$4$Type`,1565),J(1566,1,{},Mae),Q.Kb=function(e){return bye(this.a,P(e))},Q.Fb=function(e){return this===e},R(_U,`InteractiveExternalPortPositioner/lambda$5$Type`,1566),J(77,24,{3:1,35:1,24:1,77:1,196:1},vg),Q.bg=function(){switch(this.g){case 15:return new Jr;case 22:return new Yr;case 49:return new Qr;case 29:case 36:return new jn;case 33:return new dee;case 44:return new Rt;case 1:return new fee;case 43:return new zt;case 58:return new xu((Nk(),NX));case 0:return new xu((Nk(),MX));case 2:return new pee;case 56:return new Bt;case 34:return new Ut;case 53:return new Qt;case 57:return new nn;case 13:return new rn;case 39:return new on;case 46:return new sn;case 42:return new un;case 9:return new $s;case 51:return new Zge;case 38:return new yee;case 45:return new gn;case 28:return new _n;case 31:return new vn;case 3:return new yn;case 18:return new Sn;case 30:return new Cn;case 5:return new Zs;case 52:return new En;case 35:return new Zre;case 37:return new Mn;case 54:return new Qre;case 11:return new Nn;case 7:return new Qs;case 41:return new Pn;case 47:return new Fn;case 16:return new In;case 40:return new xee;case 10:return new bpe;case 50:return new Cee;case 21:return new wee;case 23:return new Rp((qj(),g2));case 8:return new Hn;case 12:return new Wn;case 4:return new See;case 19:return new ec;case 17:return new $n;case 55:return new Eee;case 6:return new sr;case 25:return new jf;case 26:return new Kr;case 48:return new Oee;case 32:return new tye;case 14:return new zee;case 27:return new ai;case 20:return new ur;case 24:return new Rp((qj(),_2));default:throw O(new Hp(vU+(this.f==null?``+this.g:this.f)))}};var ywt,bwt,xwt,Swt,Cwt,wwt,Twt,Ewt,Dwt,Owt,kwt,IX,LX,RX,Awt,jwt,Mwt,Nwt,Pwt,Fwt,Iwt,zX,Lwt,Rwt,zwt,Bwt,Vwt,BX,VX,HX,Hwt,UX,WX,GX,KX,qX,JX,Uwt,YX,XX,Wwt,Gwt,ZX,QX,Kwt,qwt,Jwt,Ywt,$X,eZ,tZ,nZ,rZ,iZ,aZ,Xwt,Zwt,Qwt,$wt,eTt=rk(_U,yU,77,wJ,M9e,Obe),tTt;J(1567,1,uU,Sn),Q.If=function(e,t){hlt(F(e,36),t)},R(_U,`InvertedPortProcessor`,1567),J(1568,1,uU,Cn),Q.If=function(e,t){Xnt(F(e,36),t)},R(_U,`LabelAndNodeSizeProcessor`,1568),J(1569,1,RB,bee),Q.Mb=function(e){return F(e,9).k==(pL(),OX)},R(_U,`LabelAndNodeSizeProcessor/lambda$0$Type`,1569),J(1570,1,RB,wn),Q.Mb=function(e){return F(e,9).k==(pL(),wX)},R(_U,`LabelAndNodeSizeProcessor/lambda$1$Type`,1570),J(1571,1,xB,Sbe),Q.Ad=function(e){sde(this.b,this.a,this.c,F(e,9))},Q.a=!1,Q.c=!1,R(_U,`LabelAndNodeSizeProcessor/lambda$2$Type`,1571),J(1572,1,uU,Zs),Q.If=function(e,t){Lct(F(e,36),t)};var nTt;R(_U,`LabelDummyInserter`,1572),J(1573,1,tH,Tn),Q.Lb=function(e){return M(q(F(e,70),(zz(),m1)))===M((NO(),d8))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return M(q(F(e,70),(zz(),m1)))===M((NO(),d8))},R(_U,`LabelDummyInserter/1`,1573),J(1574,1,uU,En),Q.If=function(e,t){hct(F(e,36),t)},R(_U,`LabelDummyRemover`,1574),J(1575,1,RB,Dn),Q.Mb=function(e){return Gp(nb(q(F(e,70),(zz(),p1))))},R(_U,`LabelDummyRemover/lambda$0$Type`,1575),J(1333,1,uU,Zre),Q.If=function(e,t){ict(this,F(e,36),t)},Q.a=null;var oZ;R(_U,`LabelDummySwitcher`,1333),J(294,1,{294:1},Ent),Q.c=0,Q.d=null,Q.f=0,R(_U,`LabelDummySwitcher/LabelDummyInfo`,294),J(1334,1,{},On),Q.Kb=function(e){return Ik(),new Mx(null,new DT(F(e,25).a,16))},R(_U,`LabelDummySwitcher/lambda$0$Type`,1334),J(1335,1,RB,kn),Q.Mb=function(e){return Ik(),F(e,9).k==(pL(),TX)},R(_U,`LabelDummySwitcher/lambda$1$Type`,1335),J(1336,1,{},Cu),Q.Kb=function(e){return mve(this.a,F(e,9))},R(_U,`LabelDummySwitcher/lambda$2$Type`,1336),J(1337,1,xB,Nae),Q.Ad=function(e){mEe(this.a,F(e,294))},R(_U,`LabelDummySwitcher/lambda$3$Type`,1337),J(1338,1,ZV,An),Q.Le=function(e,t){return eTe(F(e,294),F(t,294))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`LabelDummySwitcher/lambda$4$Type`,1338),J(790,1,uU,jn),Q.If=function(e,t){KFe(F(e,36),t)},R(_U,`LabelManagementProcessor`,790),J(1576,1,uU,Mn),Q.If=function(e,t){fet(F(e,36),t)},R(_U,`LabelSideSelector`,1576),J(1584,1,uU,Nn),Q.If=function(e,t){gat(F(e,36),t)},R(_U,`LayerConstraintPostprocessor`,1584),J(1585,1,uU,Qs),Q.If=function(e,t){F8e(F(e,36),t)};var rTt;R(_U,`LayerConstraintPreprocessor`,1585),J(367,24,{3:1,35:1,24:1,367:1},yg);var sZ,cZ,lZ,uZ,iTt=rk(_U,`LayerConstraintPreprocessor/HiddenNodeConnections`,367,wJ,VMe,kbe),aTt;J(1586,1,uU,Pn),Q.If=function(e,t){lst(F(e,36),t)},R(_U,`LayerSizeAndGraphHeightCalculator`,1586),J(1587,1,uU,Fn),Q.If=function(e,t){y7e(F(e,36),t)},R(_U,`LongEdgeJoiner`,1587),J(1588,1,uU,In),Q.If=function(e,t){Not(F(e,36),t)},R(_U,`LongEdgeSplitter`,1588),J(1589,1,uU,xee),Q.If=function(e,t){Unt(F(e,36),t)},R(_U,`NodePlacementRepeater`,1589),J(1590,1,RB,Ln),Q.Mb=function(e){return F(e,9).k==(pL(),OX)},R(_U,`NodePlacementRepeater/lambda$0$Type`,1590),J(1591,1,uU,bpe),Q.If=function(e,t){elt(this,F(e,36),t)},Q.e=0,Q.f=0,Q.j=0,Q.k=0,Q.n=0,Q.o=0;var oTt,sTt;R(_U,`NodePromotion`,1591),J(1592,1,ZV,Rn),Q.Le=function(e,t){return lWe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`NodePromotion/1`,1592),J(1593,1,ZV,zn),Q.Le=function(e,t){return uWe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`NodePromotion/2`,1593),J(1594,1,{},Bn),Q.Kb=function(e){return F(e,49),qb(),by(),!0},Q.Fb=function(e){return this===e},R(_U,`NodePromotion/lambda$0$Type`,1594),J(1595,1,{},Pae),Q.Kb=function(e){return zke(this.a,F(e,49))},Q.Fb=function(e){return this===e},Q.a=0,R(_U,`NodePromotion/lambda$1$Type`,1595),J(1596,1,{},wu),Q.Kb=function(e){return Rke(this.a,F(e,49))},Q.Fb=function(e){return this===e},Q.a=0,R(_U,`NodePromotion/lambda$2$Type`,1596),J(1597,1,uU,Cee),Q.If=function(e,t){dut(F(e,36),t)},R(_U,`NorthSouthPortPostprocessor`,1597),J(1598,1,uU,wee),Q.If=function(e,t){Sut(F(e,36),t)},R(_U,`NorthSouthPortPreprocessor`,1598),J(1599,1,ZV,Vn),Q.Le=function(e,t){return EHe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`NorthSouthPortPreprocessor/lambda$0$Type`,1599),J(1600,1,uU,Hn),Q.If=function(e,t){Jrt(F(e,36),t)},R(_U,`PartitionMidprocessor`,1600),J(1601,1,RB,Un),Q.Mb=function(e){return Yy(F(e,9),(zz(),q1))},R(_U,`PartitionMidprocessor/lambda$0$Type`,1601),J(1602,1,xB,Fae),Q.Ad=function(e){YDe(this.a,F(e,9))},R(_U,`PartitionMidprocessor/lambda$1$Type`,1602),J(1603,1,uU,Wn),Q.If=function(e,t){J7e(F(e,36),t)},R(_U,`PartitionPostprocessor`,1603),J(1604,1,uU,See),Q.If=function(e,t){wnt(F(e,36),t)},R(_U,`PartitionPreprocessor`,1604),J(1605,1,RB,Gn),Q.Mb=function(e){return Yy(F(e,9),(zz(),q1))},R(_U,`PartitionPreprocessor/lambda$0$Type`,1605),J(1606,1,RB,Tee),Q.Mb=function(e){return Yy(F(e,9),(zz(),q1))},R(_U,`PartitionPreprocessor/lambda$1$Type`,1606),J(1607,1,{},Kn),Q.Kb=function(e){return new Mx(null,new oC(new uS(py(VM(F(e,9)).a.Jc(),new f))))},R(_U,`PartitionPreprocessor/lambda$2$Type`,1607),J(1608,1,RB,Eu),Q.Mb=function(e){return Fle(this.a,F(e,17))},R(_U,`PartitionPreprocessor/lambda$3$Type`,1608),J(1609,1,xB,qn),Q.Ad=function(e){eUe(F(e,17))},R(_U,`PartitionPreprocessor/lambda$4$Type`,1609),J(1610,1,RB,Iae),Q.Mb=function(e){return hEe(this.a,F(e,9))},Q.a=0,R(_U,`PartitionPreprocessor/lambda$5$Type`,1610),J(1611,1,uU,ec),Q.If=function(e,t){Srt(F(e,36),t)};var cTt,lTt,uTt,dTt,fTt,pTt;R(_U,`PortListSorter`,1611),J(1614,1,ZV,Jn),Q.Le=function(e,t){return VNe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`PortListSorter/lambda$0$Type`,1614),J(1616,1,ZV,Yn),Q.Le=function(e,t){return fit(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`PortListSorter/lambda$1$Type`,1616),J(1612,1,{},Xn),Q.Kb=function(e){return pj(),F(e,12).e},R(_U,`PortListSorter/lambda$2$Type`,1612),J(1613,1,{},Zn),Q.Kb=function(e){return pj(),F(e,12).g},R(_U,`PortListSorter/lambda$3$Type`,1613),J(1615,1,ZV,Qn),Q.Le=function(e,t){return HZe(F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`PortListSorter/lambda$4$Type`,1615),J(1617,1,uU,$n),Q.If=function(e,t){q8e(F(e,36),t)},R(_U,`PortSideProcessor`,1617),J(1618,1,uU,Eee),Q.If=function(e,t){tnt(F(e,36),t)},R(_U,`ReversedEdgeRestorer`,1618),J(1623,1,uU,jf),Q.If=function(e,t){lZe(this,F(e,36),t)},R(_U,`SelfLoopPortRestorer`,1623),J(1624,1,{},Dee),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`SelfLoopPortRestorer/lambda$0$Type`,1624),J(1625,1,RB,er),Q.Mb=function(e){return F(e,9).k==(pL(),OX)},R(_U,`SelfLoopPortRestorer/lambda$1$Type`,1625),J(1626,1,RB,tr),Q.Mb=function(e){return Yy(F(e,9),(X(),x$))},R(_U,`SelfLoopPortRestorer/lambda$2$Type`,1626),J(1627,1,{},nr),Q.Kb=function(e){return F(q(F(e,9),(X(),x$)),338)},R(_U,`SelfLoopPortRestorer/lambda$3$Type`,1627),J(1628,1,xB,Lae),Q.Ad=function(e){R2e(this.a,F(e,338))},R(_U,`SelfLoopPortRestorer/lambda$4$Type`,1628),J(793,1,xB,rr),Q.Ad=function(e){r4e(F(e,107))},R(_U,`SelfLoopPortRestorer/lambda$5$Type`,793),J(1630,1,uU,Oee),Q.If=function(e,t){UYe(F(e,36),t)},R(_U,`SelfLoopPostProcessor`,1630),J(1631,1,{},kee),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`SelfLoopPostProcessor/lambda$0$Type`,1631),J(1632,1,RB,Aee),Q.Mb=function(e){return F(e,9).k==(pL(),OX)},R(_U,`SelfLoopPostProcessor/lambda$1$Type`,1632),J(1633,1,RB,ir),Q.Mb=function(e){return Yy(F(e,9),(X(),x$))},R(_U,`SelfLoopPostProcessor/lambda$2$Type`,1633),J(1634,1,xB,jee),Q.Ad=function(e){k$e(F(e,9))},R(_U,`SelfLoopPostProcessor/lambda$3$Type`,1634),J(1635,1,{},ar),Q.Kb=function(e){return new Mx(null,new DT(F(e,107).f,1))},R(_U,`SelfLoopPostProcessor/lambda$4$Type`,1635),J(1636,1,xB,Rae),Q.Ad=function(e){XMe(this.a,F(e,341))},R(_U,`SelfLoopPostProcessor/lambda$5$Type`,1636),J(1637,1,RB,or),Q.Mb=function(e){return!!F(e,107).i},R(_U,`SelfLoopPostProcessor/lambda$6$Type`,1637),J(1638,1,xB,zae),Q.Ad=function(e){Ap(this.a,F(e,107))},R(_U,`SelfLoopPostProcessor/lambda$7$Type`,1638),J(1619,1,uU,sr),Q.If=function(e,t){Y5e(F(e,36),t)},R(_U,`SelfLoopPreProcessor`,1619),J(1620,1,{},Mee),Q.Kb=function(e){return new Mx(null,new DT(F(e,107).f,1))},R(_U,`SelfLoopPreProcessor/lambda$0$Type`,1620),J(1621,1,{},Nee),Q.Kb=function(e){return F(e,341).a},R(_U,`SelfLoopPreProcessor/lambda$1$Type`,1621),J(1622,1,xB,Pee),Q.Ad=function(e){che(F(e,17))},R(_U,`SelfLoopPreProcessor/lambda$2$Type`,1622),J(1639,1,uU,tye),Q.If=function(e,t){l2e(this,F(e,36),t)},R(_U,`SelfLoopRouter`,1639),J(1640,1,{},Fee),Q.Kb=function(e){return new Mx(null,new DT(F(e,25).a,16))},R(_U,`SelfLoopRouter/lambda$0$Type`,1640),J(1641,1,RB,Iee),Q.Mb=function(e){return F(e,9).k==(pL(),OX)},R(_U,`SelfLoopRouter/lambda$1$Type`,1641),J(1642,1,RB,Lee),Q.Mb=function(e){return Yy(F(e,9),(X(),x$))},R(_U,`SelfLoopRouter/lambda$2$Type`,1642),J(1643,1,{},Ree),Q.Kb=function(e){return F(q(F(e,9),(X(),x$)),338)},R(_U,`SelfLoopRouter/lambda$3$Type`,1643),J(1644,1,xB,Zde),Q.Ad=function(e){EDe(this.a,this.b,F(e,338))},R(_U,`SelfLoopRouter/lambda$4$Type`,1644),J(1645,1,uU,zee),Q.If=function(e,t){G9e(F(e,36),t)},R(_U,`SemiInteractiveCrossMinProcessor`,1645),J(1646,1,RB,Bee),Q.Mb=function(e){return F(e,9).k==(pL(),OX)},R(_U,`SemiInteractiveCrossMinProcessor/lambda$0$Type`,1646),J(1647,1,RB,Vee),Q.Mb=function(e){return QCe(F(e,9))._b((zz(),e0))},R(_U,`SemiInteractiveCrossMinProcessor/lambda$1$Type`,1647),J(1648,1,ZV,cr),Q.Le=function(e,t){return XBe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(_U,`SemiInteractiveCrossMinProcessor/lambda$2$Type`,1648),J(1649,1,{},lr),Q.Te=function(e,t){return JDe(F(e,9),F(t,9))},R(_U,`SemiInteractiveCrossMinProcessor/lambda$3$Type`,1649),J(1651,1,uU,ur),Q.If=function(e,t){Mst(F(e,36),t)},R(_U,`SortByInputModelProcessor`,1651),J(1652,1,RB,dr),Q.Mb=function(e){return F(e,12).g.c.length!=0},R(_U,`SortByInputModelProcessor/lambda$0$Type`,1652),J(1653,1,xB,Bae),Q.Ad=function(e){p4e(this.a,F(e,12))},R(_U,`SortByInputModelProcessor/lambda$1$Type`,1653),J(1732,805,{},ZBe),Q.bf=function(e){var t,n,r,i;switch(this.c=e,this.a.g){case 2:t=new Od,xh(ZC(new Mx(null,new DT(this.c.a.b,16)),new xr),new nfe(this,t)),AI(this,new pr),kO(t,new mr),t.c.length=0,xh(ZC(new Mx(null,new DT(this.c.a.b,16)),new hr),new Ou(t)),AI(this,new gr),kO(t,new Hee),t.c.length=0,n=ahe(eA($C(new Mx(null,new DT(this.c.a.b,16)),new Vae(this))),new _r),xh(new Mx(null,new DT(this.c.a.a,16)),new $de(n,t)),AI(this,new Wee),kO(t,new vr),t.c.length=0;break;case 3:r=new Od,AI(this,new fr),i=ahe(eA($C(new Mx(null,new DT(this.c.a.b,16)),new Du(this))),new Uee),xh(ZC(new Mx(null,new DT(this.c.a.b,16)),new yr),new tfe(i,r)),AI(this,new br),kO(r,new Gee),r.c.length=0;break;default:throw O(new $d)}},Q.b=0,R(xU,`EdgeAwareScanlineConstraintCalculation`,1732),J(1733,1,tH,fr),Q.Lb=function(e){return N(F(e,60).g,156)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,156)},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$0$Type`,1733),J(1734,1,{},Du),Q.We=function(e){return g3e(this.a,F(e,60))},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$1$Type`,1734),J(1742,1,zB,Qde),Q.be=function(){gF(this.a,this.b,-1)},Q.b=0,R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$10$Type`,1742),J(1744,1,tH,pr),Q.Lb=function(e){return N(F(e,60).g,156)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,156)},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$11$Type`,1744),J(1745,1,xB,mr),Q.Ad=function(e){F(e,375).be()},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$12$Type`,1745),J(1746,1,RB,hr),Q.Mb=function(e){return N(F(e,60).g,9)},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$13$Type`,1746),J(1748,1,xB,Ou),Q.Ad=function(e){XKe(this.a,F(e,60))},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$14$Type`,1748),J(1747,1,zB,afe),Q.be=function(){gF(this.b,this.a,-1)},Q.a=0,R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$15$Type`,1747),J(1749,1,tH,gr),Q.Lb=function(e){return N(F(e,60).g,9)},Q.Fb=function(e){return this===e},Q.Mb=function(e){return N(F(e,60).g,9)},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$16$Type`,1749),J(1750,1,xB,Hee),Q.Ad=function(e){F(e,375).be()},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$17$Type`,1750),J(1751,1,{},Vae),Q.We=function(e){return _3e(this.a,F(e,60))},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$18$Type`,1751),J(1752,1,{},_r),Q.Ue=function(){return 0},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$19$Type`,1752),J(1735,1,{},Uee),Q.Ue=function(){return 0},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$2$Type`,1735),J(1754,1,xB,$de),Q.Ad=function(e){wwe(this.a,this.b,F(e,321))},Q.a=0,R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$20$Type`,1754),J(1753,1,zB,efe),Q.be=function(){o5e(this.a,this.b,-1)},Q.b=0,R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$21$Type`,1753),J(1755,1,tH,Wee),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(xU,`EdgeAwareScanlineConstraintCalculation/lambda$22$Type`,1755),J(1756,1,xB,vr),Q.Ad=function(e){F(e,375).be()},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$23$Type`,1756),J(1736,1,RB,yr),Q.Mb=function(e){return N(F(e,60).g,9)},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$3$Type`,1736),J(1738,1,xB,tfe),Q.Ad=function(e){Twe(this.a,this.b,F(e,60))},Q.a=0,R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$4$Type`,1738),J(1737,1,zB,ofe),Q.be=function(){gF(this.b,this.a,-1)},Q.a=0,R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$5$Type`,1737),J(1739,1,tH,br),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(xU,`EdgeAwareScanlineConstraintCalculation/lambda$6$Type`,1739),J(1740,1,xB,Gee),Q.Ad=function(e){F(e,375).be()},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$7$Type`,1740),J(1741,1,RB,xr),Q.Mb=function(e){return N(F(e,60).g,156)},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$8$Type`,1741),J(1743,1,xB,nfe),Q.Ad=function(e){aze(this.a,this.b,F(e,60))},R(xU,`EdgeAwareScanlineConstraintCalculation/lambda$9$Type`,1743),J(1548,1,uU,Zge),Q.If=function(e,t){Rot(this,F(e,36),t)};var mTt;R(xU,`HorizontalGraphCompactor`,1548),J(1549,1,{},ku),Q.df=function(e,t){var n,r,i;return ZLe(e,t)||(n=jT(e),r=jT(t),n&&n.k==(pL(),wX)||r&&r.k==(pL(),wX))?0:(i=F(q(this.a.a,(X(),S$)),317),Kge(i,n?n.k:(pL(),EX),r?r.k:(pL(),EX)))},Q.ef=function(e,t){var n,r,i;return ZLe(e,t)?1:(n=jT(e),r=jT(t),i=F(q(this.a.a,(X(),S$)),317),qge(i,n?n.k:(pL(),EX),r?r.k:(pL(),EX)))},R(xU,`HorizontalGraphCompactor/1`,1549),J(1550,1,{},Sr),Q.cf=function(e,t){return Nh(),e.a.i==0},R(xU,`HorizontalGraphCompactor/lambda$0$Type`,1550),J(1551,1,{},Au),Q.cf=function(e,t){return ZDe(this.a,e,t)},R(xU,`HorizontalGraphCompactor/lambda$1$Type`,1551),J(1699,1,{},QLe);var hTt,gTt;R(xU,`LGraphToCGraphTransformer`,1699),J(1707,1,RB,Cr),Q.Mb=function(e){return e!=null},R(xU,`LGraphToCGraphTransformer/0methodref$nonNull$Type`,1707),J(1700,1,{},wr),Q.Kb=function(e){return Jb(),XM(q(F(F(e,60).g,9),(X(),d$)))},R(xU,`LGraphToCGraphTransformer/lambda$0$Type`,1700),J(1701,1,{},Tr),Q.Kb=function(e){return Jb(),LGe(F(F(e,60).g,156))},R(xU,`LGraphToCGraphTransformer/lambda$1$Type`,1701),J(1710,1,RB,Er),Q.Mb=function(e){return Jb(),N(F(e,60).g,9)},R(xU,`LGraphToCGraphTransformer/lambda$10$Type`,1710),J(1711,1,xB,Dr),Q.Ad=function(e){MDe(F(e,60))},R(xU,`LGraphToCGraphTransformer/lambda$11$Type`,1711),J(1712,1,RB,Or),Q.Mb=function(e){return Jb(),N(F(e,60).g,156)},R(xU,`LGraphToCGraphTransformer/lambda$12$Type`,1712),J(1716,1,xB,kr),Q.Ad=function(e){RGe(F(e,60))},R(xU,`LGraphToCGraphTransformer/lambda$13$Type`,1716),J(1713,1,xB,Hae),Q.Ad=function(e){_me(this.a,F(e,8))},Q.a=0,R(xU,`LGraphToCGraphTransformer/lambda$14$Type`,1713),J(1714,1,xB,Uae),Q.Ad=function(e){yme(this.a,F(e,119))},Q.a=0,R(xU,`LGraphToCGraphTransformer/lambda$15$Type`,1714),J(1715,1,xB,Wae),Q.Ad=function(e){vme(this.a,F(e,8))},Q.a=0,R(xU,`LGraphToCGraphTransformer/lambda$16$Type`,1715),J(1717,1,{},Ar),Q.Kb=function(e){return Jb(),new Mx(null,new oC(new uS(py(VM(F(e,9)).a.Jc(),new f))))},R(xU,`LGraphToCGraphTransformer/lambda$17$Type`,1717),J(1718,1,RB,jr),Q.Mb=function(e){return Jb(),IE(F(e,17))},R(xU,`LGraphToCGraphTransformer/lambda$18$Type`,1718),J(1719,1,xB,ju),Q.Ad=function(e){_Re(this.a,F(e,17))},R(xU,`LGraphToCGraphTransformer/lambda$19$Type`,1719),J(1703,1,xB,Gae),Q.Ad=function(e){Tje(this.a,F(e,156))},R(xU,`LGraphToCGraphTransformer/lambda$2$Type`,1703),J(1720,1,{},Kee),Q.Kb=function(e){return Jb(),new Mx(null,new DT(F(e,25).a,16))},R(xU,`LGraphToCGraphTransformer/lambda$20$Type`,1720),J(1721,1,{},Mr),Q.Kb=function(e){return Jb(),new Mx(null,new oC(new uS(py(VM(F(e,9)).a.Jc(),new f))))},R(xU,`LGraphToCGraphTransformer/lambda$21$Type`,1721),J(1722,1,{},qee),Q.Kb=function(e){return Jb(),F(q(F(e,17),(X(),T$)),16)},R(xU,`LGraphToCGraphTransformer/lambda$22$Type`,1722),J(1723,1,RB,Nr),Q.Mb=function(e){return Jge(F(e,16))},R(xU,`LGraphToCGraphTransformer/lambda$23$Type`,1723),J(1724,1,xB,Kae),Q.Ad=function(e){v3e(this.a,F(e,16))},R(xU,`LGraphToCGraphTransformer/lambda$24$Type`,1724),J(1725,1,{},Pr),Q.Kb=function(e){return Jb(),new Mx(null,new oC(new uS(py(VM(F(e,9)).a.Jc(),new f))))},R(xU,`LGraphToCGraphTransformer/lambda$25$Type`,1725),J(1726,1,RB,Fr),Q.Mb=function(e){return Jb(),IE(F(e,17))},R(xU,`LGraphToCGraphTransformer/lambda$26$Type`,1726),J(1728,1,xB,Mu),Q.Ad=function(e){gBe(this.a,F(e,17))},R(xU,`LGraphToCGraphTransformer/lambda$27$Type`,1728),J(1727,1,xB,qae),Q.Ad=function(e){Xce(this.a,F(e,70))},Q.a=0,R(xU,`LGraphToCGraphTransformer/lambda$28$Type`,1727),J(1702,1,xB,rfe),Q.Ad=function(e){ONe(this.a,this.b,F(e,156))},R(xU,`LGraphToCGraphTransformer/lambda$3$Type`,1702),J(1704,1,{},Jee),Q.Kb=function(e){return Jb(),new Mx(null,new DT(F(e,25).a,16))},R(xU,`LGraphToCGraphTransformer/lambda$4$Type`,1704),J(1705,1,{},Yee),Q.Kb=function(e){return Jb(),new Mx(null,new oC(new uS(py(VM(F(e,9)).a.Jc(),new f))))},R(xU,`LGraphToCGraphTransformer/lambda$5$Type`,1705),J(1706,1,{},Xee),Q.Kb=function(e){return Jb(),F(q(F(e,17),(X(),T$)),16)},R(xU,`LGraphToCGraphTransformer/lambda$6$Type`,1706),J(1708,1,xB,Nu),Q.Ad=function(e){M3e(this.a,F(e,16))},R(xU,`LGraphToCGraphTransformer/lambda$8$Type`,1708),J(1709,1,xB,ife),Q.Ad=function(e){lhe(this.a,this.b,F(e,156))},R(xU,`LGraphToCGraphTransformer/lambda$9$Type`,1709),J(1698,1,{},Ir),Q.af=function(e){var t,n,r,i,a;for(this.a=e,this.d=new pf,this.c=H($xt,iB,124,this.a.a.a.c.length,0,1),this.b=0,n=new D(this.a.a.a);n.a=g&&(iy(o,K(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.ng=function(){return!1},R(IU,`MSDCutIndexHeuristic`,804),J(1650,1,_U,oi),Q.If=function(e,t){vat(F(e,36),t)},R(IU,`SingleEdgeGraphWrapper`,1650),J(231,24,{3:1,35:1,24:1,231:1},bg);var KZ,qZ,JZ,YZ,XZ,ZZ,QZ=XO(LU,`CenterEdgeLabelPlacementStrategy`,231,LJ,KIe,jbe),gTt;J(422,24,{3:1,35:1,24:1,422:1},ffe);var _Tt,$Z,vTt=XO(LU,`ConstraintCalculationStrategy`,422,LJ,ike,Abe),yTt;J(301,24,{3:1,35:1,24:1,301:1,188:1,196:1},xg),Q.bg=function(){return R5e(this)},Q.og=function(){return R5e(this)};var eQ,tQ,bTt,xTt,STt=XO(LU,`CrossingMinimizationStrategy`,301,LJ,uNe,Mbe),CTt;J(350,24,{3:1,35:1,24:1,350:1},Cg);var wTt,nQ,rQ,TTt=XO(LU,`CuttingStrategy`,350,LJ,lje,Nbe),ETt;J(267,24,{3:1,35:1,24:1,267:1,188:1,196:1},wg),Q.bg=function(){return Rtt(this)},Q.og=function(){return Rtt(this)};var iQ,DTt,aQ,oQ,sQ,cQ,lQ,uQ,dQ,OTt=XO(LU,`CycleBreakingStrategy`,267,LJ,TBe,Pbe),kTt;J(419,24,{3:1,35:1,24:1,419:1},pfe);var fQ,ATt,jTt=XO(LU,`DirectionCongruency`,419,LJ,ake,Fbe),MTt;J(449,24,{3:1,35:1,24:1,449:1},Tg);var pQ,mQ,hQ,NTt=XO(LU,`EdgeConstraint`,449,LJ,uje,Ibe),PTt;J(284,24,{3:1,35:1,24:1,284:1},Eg);var gQ,_Q,vQ,yQ,bQ,xQ,FTt=XO(LU,`EdgeLabelSideSelection`,284,LJ,qIe,zbe),ITt;J(476,24,{3:1,35:1,24:1,476:1},mfe);var SQ,LTt,RTt=XO(LU,`EdgeStraighteningStrategy`,476,LJ,oke,Bbe),zTt;J(282,24,{3:1,35:1,24:1,282:1},Dg);var CQ,BTt,VTt,wQ,HTt,UTt,WTt=XO(LU,`FixedAlignment`,282,LJ,JIe,Rbe),GTt;J(283,24,{3:1,35:1,24:1,283:1},Og);var KTt,qTt,JTt,YTt,TQ,XTt,ZTt=XO(LU,`GraphCompactionStrategy`,283,LJ,YIe,Vbe),QTt;J(261,24,{3:1,35:1,24:1,261:1},kg);var EQ,DQ,OQ,kQ,AQ,jQ,MQ,NQ,PQ,FQ,IQ=XO(LU,`GraphProperties`,261,LJ,NVe,Hbe),$Tt;J(302,24,{3:1,35:1,24:1,302:1},Ag);var LQ,RQ,zQ,BQ=XO(LU,`GreedySwitchType`,302,LJ,XAe,Ube),eEt;J(329,24,{3:1,35:1,24:1,329:1},jg);var VQ,tEt,HQ,UQ=XO(LU,`GroupOrderStrategy`,329,LJ,ZAe,Wbe),nEt;J(316,24,{3:1,35:1,24:1,316:1},Mg);var WQ,GQ,KQ,rEt=XO(LU,`InLayerConstraint`,316,LJ,QAe,Gbe),iEt;J(420,24,{3:1,35:1,24:1,420:1},hfe);var qQ,aEt,oEt=XO(LU,`InteractiveReferencePoint`,420,LJ,ske,Kbe),sEt,cEt,JQ,YQ,XQ,ZQ,lEt,uEt,QQ,dEt,$Q,e$,t$,n$,r$,i$,a$,o$,fEt,s$,c$,l$,u$,d$,f$,p$,m$,pEt,mEt,h$,g$,_$,v$,y$,b$,x$,S$,C$,w$,hEt,gEt,_Et,vEt,yEt,T$,E$,D$,O$,k$,A$,j$,M$,N$,P$,F$,I$,L$,R$,bEt,z$,B$,V$,H$,U$,W$,G$;J(165,24,{3:1,35:1,24:1,165:1},Ng);var K$,q$,J$,Y$,X$,xEt=XO(LU,`LayerConstraint`,165,LJ,rFe,Jbe),SEt;J(423,24,{3:1,35:1,24:1,423:1},gfe);var Z$,Q$,CEt=XO(LU,`LayerUnzippingStrategy`,423,LJ,cke,Ybe),wEt;J(844,1,NH,Zre),Q.tf=function(e){GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Vpt),``),`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.`),SDt),(gI(),t6)),jTt),VM((ZN(),X3))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Hpt),``),`Feedback Edges`),`Whether feedback edges should be highlighted by routing around the nodes.`),(xy(),!1)),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,zU),``),`Interactive Reference Point`),`Determines which point of a node is considered by interactive layout phases.`),GDt),t6),oEt),VM(X3)))),kT(e,zU,BU,qDt),kT(e,zU,qU,KDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Upt),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Wpt),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(lle(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Gpt),``),`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),$3),XJ),VM(Z3)),W(A(aY,1),xB,2,6,[`org.eclipse.elk.layered.northOrSouthPort`])))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Kpt),``),`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.`),VOt),t6),ijt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,qpt),``),`Thoroughness`),`How much effort should be spent to produce a nice layout.`),K(7)),r6),tY),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Jpt),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Ypt),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,BU),`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).`),bDt),t6),OTt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,VU),RW),`Node Layering Strategy`),`Strategy for node layering.`),cOt),t6),VAt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Xpt),RW),`Layer Constraint`),`Determines a constraint on the placement of the node regarding the layering.`),QDt),t6),xEt),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Zpt),RW),`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),r6),tY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Qpt),RW),`Layer ID`),`Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set.`),K(-1)),r6),tY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,HU),Cmt),`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.`),K(4)),r6),tY),VM(X3)))),kT(e,HU,VU,tOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,UU),Cmt),`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.`),K(2)),r6),tY),VM(X3)))),kT(e,UU,VU,rOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,WU),wmt),`Node Promotion Strategy`),`Reduces number of dummy nodes after layering phase (if possible).`),oOt),t6),$At),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,GU),wmt),`Max Node Promotion Iterations`),`Limits the number of iterations for node promotion.`),K(0)),r6),tY),VM(X3)))),kT(e,GU,WU,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,KU),`layering.coffmanGraham`),`Layer Bound`),`The maximum number of nodes allowed per layer.`),K(nB)),r6),tY),VM(X3)))),kT(e,KU,VU,YDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,qU),zW),`Crossing Minimization Strategy`),`Strategy for crossing minimization.`),vDt),t6),STt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,$pt),zW),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,JU),zW),`Hierarchical Sweepiness`),`How likely it is to use cross-hierarchy (1) vs bottom-up (-1).`),.1),e6),$J),VM(X3)))),kT(e,JU,BW,uDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,YU),zW),`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),$3),XJ),VM(X3)))),kT(e,YU,qU,gDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,emt),zW),`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),a6),aY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,tmt),zW),`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),a6),aY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,nmt),zW),`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),r6),tY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,rmt),zW),`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.`),K(-1)),r6),tY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,imt),Tmt),`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.`),K(40)),r6),tY),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,XU),Tmt),`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.`),sDt),t6),BQ),VM(X3)))),kT(e,XU,qU,cDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,ZU),`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.`),rDt),t6),BQ),VM(X3)))),kT(e,ZU,qU,iDt),kT(e,ZU,BW,aDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,QU),Emt),`Node Placement Strategy`),`Strategy for node placement.`),zOt),t6),n2),VM(X3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,$U),Emt),`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.`),$3),XJ),VM(X3)))),kT(e,$U,QU,DOt),kT(e,$U,QU,OOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,eW),Dmt),`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.`),xOt),t6),RTt),VM(X3)))),kT(e,eW,QU,SOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,tW),Dmt),`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.`),wOt),t6),WTt),VM(X3)))),kT(e,tW,QU,TOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,nW),`nodePlacement.linearSegments`),`Linear Segments Deflection Dampening`),`Dampens the movement of nodes to keep the diagram from getting too large.`),.3),e6),$J),VM(X3)))),kT(e,nW,QU,AOt),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,rW),`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.`),t6),Z0),VM(Y3)))),kT(e,rW,QU,FOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,iW),Omt),`Node Flexibility Default`),`Default value of the 'nodeFlexibility' option for the children of a hierarchical node.`),NOt),t6),Z0),VM(X3)))),kT(e,iW,QU,POt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,aW),Omt),`Node Flexibility Recompute Node Placement`),`Run a second node placement algorithm after the initial network simplex with node flexibility. In the second run, node flexibility is disabled and a different node placer can be used. The node sizes determined by the node flexibility option are used as fixed node sizes in the second run. If set to null (default) no second run is performed.`),null),t6),n2),VM(X3)))),kT(e,aW,QU,LOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,amt),kmt),`Self-Loop Distribution`),`Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE.`),ADt),t6),ujt),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,omt),kmt),`Self-Loop Ordering`),`Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE.`),MDt),t6),fjt),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,oW),`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.`),PDt),t6),hjt),VM(X3)))),kT(e,oW,VW,FDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,sW),`edgeRouting.splines.sloppy`),`Sloppy Spline Layer Spacing Factor`),`Spacing factor for routing area between layers when using sloppy spline routing.`),.2),e6),$J),VM(X3)))),kT(e,sW,VW,LDt),kT(e,sW,oW,RDt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,cW),`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),e6),$J),VM(X3)))),kT(e,cW,VW,ODt),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,smt),HW),`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.`),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,cmt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,lmt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,umt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,dmt),Amt),`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.`),K(0)),r6),tY),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,fmt),Amt),`Shortness Priority`),`Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase.`),K(0)),r6),tY),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,pmt),Amt),`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.`),K(0)),r6),tY),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,lW),jmt),`Connected Components Compaction`),`Tries to further compact components (disconnected sub-graphs).`),!1),$3),XJ),VM(X3)))),kT(e,lW,HH,!0),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,mmt),Mmt),`Post Compaction Strategy`),Nmt),AEt),t6),ZTt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,hmt),Mmt),`Post Compaction Constraint Calculation`),Nmt),OEt),t6),vTt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,uW),Pmt),`High Degree Node Treatment`),`Makes room around high degree nodes to place leafs and trees.`),!1),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,dW),Pmt),`High Degree Node Threshold`),`Whether a node is considered to have a high degree.`),K(16)),r6),tY),VM(X3)))),kT(e,dW,uW,!0),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,fW),Pmt),`High Degree Node Maximum Tree Height`),`Maximum height of a subtree connected to a high degree node to be moved to separate layers.`),K(5)),r6),tY),VM(X3)))),kT(e,fW,uW,!0),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,pW),Fmt),`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'.`),ykt),t6),xjt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,mW),Fmt),`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),e6),$J),VM(X3)))),kT(e,mW,pW,QOt),kT(e,mW,pW,$Ot),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,hW),Fmt),`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),e6),$J),VM(X3)))),kT(e,hW,pW,tkt),kT(e,hW,pW,nkt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,gW),Imt),`Cutting Strategy`),`The strategy by which the layer indexes are determined at which the layering crumbles into chunks.`),lkt),t6),TTt),VM(X3)))),kT(e,gW,pW,ukt),kT(e,gW,pW,dkt),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,_W),Imt),`Manually Specified Cuts`),`Allows the user to specify her own cuts for a certain graph.`),i6),MJ),VM(X3)))),kT(e,_W,gW,ikt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,vW),`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.`),okt),r6),tY),VM(X3)))),kT(e,vW,gW,skt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,yW),Lmt),`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.`),wkt),t6),yjt),VM(X3)))),kT(e,yW,pW,Tkt),kT(e,yW,pW,Ekt),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,bW),Lmt),`Valid Indices for Wrapping`),null),i6),MJ),VM(X3)))),kT(e,bW,pW,xkt),kT(e,bW,pW,Skt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,xW),Rmt),`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),$3),XJ),VM(X3)))),kT(e,xW,pW,hkt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,SW),Rmt),`Distance Penalty When Improving Cuts`),null),2),e6),$J),VM(X3)))),kT(e,SW,pW,pkt),kT(e,SW,xW,!0),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,CW),Rmt),`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),$3),XJ),VM(X3)))),kT(e,CW,pW,_kt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,wW),UW),`Layer Unzipping Strategy`),`The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'.`),_Ot),t6),CEt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,TW),UW),`Minimize Edge Length Heuristic`),`Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer.`),!1),$3),XJ),VM(Y3)))),kT(e,TW,EW,fOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,EW),UW),`Unzipping Layer Split`),`Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen.`),uOt),r6),tY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,DW),UW),`Reset Alternation on Long Edges`),`If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer.`),mOt),$3),XJ),VM(Y3)))),kT(e,DW,wW,hOt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,gmt),WW),`Edge Label Side Selection`),`Method to decide on edge label sides.`),EDt),t6),FTt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,_mt),WW),`Edge Center Label Placement Strategy`),`Determines in which layer center labels of long edges should be placed.`),wDt),t6),QZ),Kx(X3,W(A(Q3,1),Z,160,0,[J3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,OW),GW),`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.`),$Et),t6),njt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,vmt),GW),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,kW),GW),`No Model Order`),`Set on a node to not set a model order for this node even though it is a real node.`),!1),$3),XJ),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,AW),GW),`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.`),MEt),t6),BCt),VM(X3)))),kT(e,AW,HH,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,ymt),GW),`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.`),YEt),t6),WAt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,jW),GW),`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),e6),$J),VM(X3)))),kT(e,jW,OW,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,MW),GW),`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),e6),$J),VM(X3)))),kT(e,MW,OW,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,NW),KW),zmt),`Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),K(0)),r6),tY),VM(Y3)))),kT(e,NW,kW,!1),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,PW),KW),zmt),`Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),K(0)),r6),tY),Kx(Y3,W(A(Q3,1),Z,160,0,[q3,Z3]))))),kT(e,PW,kW,!1),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,FW),KW),zmt),`Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),K(0)),r6),tY),Kx(Y3,W(A(Q3,1),Z,160,0,[q3,Z3]))))),kT(e,FW,kW,!1),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,bmt),KW),`Cycle Breaking Group Ordering Strategy`),`Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering.`),IEt),t6),UQ),VM(X3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,IW),KW),`Cycle Breaking Preferred Source Id`),`The model order group id for which should be preferred as a source if possible.`),r6),tY),VM(X3)))),kT(e,IW,BU,REt),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,LW),KW),`Cycle Breaking Preferred Target Id`),`The model order group id for which should be preferred as a target if possible.`),r6),tY),VM(X3)))),kT(e,LW,BU,BEt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,xmt),KW),`Crossing Minimization Group Ordering Strategy`),`Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering.`),WEt),t6),UQ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Smt),KW),`Crossing Minimization Enforced Group Orders`),`Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order.`),HEt),i6),MJ),VM(X3)))),Ndt((new lc,e))};var TEt,EEt,DEt,OEt,kEt,AEt,jEt,MEt,NEt,PEt,FEt,IEt,LEt,REt,zEt,BEt,VEt,HEt,UEt,WEt,GEt,KEt,qEt,JEt,YEt,XEt,ZEt,QEt,$Et,eDt,tDt,nDt,rDt,iDt,aDt,oDt,sDt,cDt,lDt,uDt,dDt,fDt,pDt,mDt,hDt,gDt,_Dt,vDt,yDt,bDt,xDt,SDt,CDt,wDt,TDt,EDt,DDt,ODt,kDt,ADt,jDt,MDt,NDt,PDt,FDt,IDt,LDt,RDt,zDt,BDt,VDt,HDt,UDt,WDt,GDt,KDt,qDt,JDt,YDt,XDt,ZDt,QDt,$Dt,eOt,tOt,nOt,rOt,iOt,aOt,oOt,sOt,cOt,lOt,uOt,dOt,fOt,pOt,mOt,hOt,gOt,_Ot,vOt,yOt,bOt,xOt,SOt,COt,wOt,TOt,EOt,DOt,OOt,kOt,AOt,jOt,MOt,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;R(LU,`LayeredMetaDataProvider`,844),J(983,1,NH,lc),Q.tf=function(e){Ndt(e)};var $$,e1,t1,n1,r1,Dkt,i1,a1,o1,s1,c1,Okt,kkt,Akt,l1,jkt,u1,d1,f1,p1,m1,h1,g1,_1,Mkt,v1,y1,Nkt,Pkt,Fkt,Ikt,b1,x1,S1,C1,Lkt,w1,Rkt,zkt,T1,E1,D1,O1,k1,Bkt,Vkt,Hkt,A1,j1,Ukt,M1,N1,Wkt,P1,Gkt,Kkt,qkt,F1,I1,L1,Jkt,Ykt,R1,Xkt,Zkt,z1,B1,Qkt,$kt,eAt,V1,H1,U1,W1,G1,tAt,K1,nAt,rAt,q1,J1,iAt,Y1,X1,aAt,Z1,Q1,$1,e0,t0,n0,r0,i0,a0,oAt,sAt,cAt,o0,lAt,uAt,dAt,fAt,pAt,s0,c0,l0,u0,mAt,d0,hAt,f0,gAt,p0,_At,m0,vAt,h0,yAt,bAt,g0,_0,xAt,v0,y0,b0,x0,S0,C0,w0,T0,E0,D0,O0,k0,A0,j0,M0,N0,P0,SAt,CAt,wAt,TAt,EAt,F0,DAt,OAt,kAt,AAt,I0,jAt,MAt,NAt,PAt,L0,R0;R(LU,`LayeredOptions`,983),J(984,1,{},di),Q.uf=function(){return new bf},Q.vf=function(e){},R(LU,`LayeredOptions/LayeredFactory`,984),J(1346,1,{}),Q.a=0;var FAt;R(tG,`ElkSpacings/AbstractSpacingsBuilder`,1346),J(779,1346,{},gqe);var z0,IAt;R(LU,`LayeredSpacings/LayeredSpacingsBuilder`,779),J(268,24,{3:1,35:1,24:1,268:1,188:1,196:1},Pg),Q.bg=function(){return Ott(this)},Q.og=function(){return Ott(this)};var B0,V0,H0,LAt,RAt,zAt,U0,W0,BAt,VAt=XO(LU,`LayeringStrategy`,268,LJ,EBe,Xbe),HAt;J(352,24,{3:1,35:1,24:1,352:1},Ig);var G0,UAt,K0,WAt=XO(LU,`LongEdgeOrderingStrategy`,352,LJ,YAe,Zbe),GAt;J(203,24,{3:1,35:1,24:1,203:1},Lg);var q0,J0,Y0,X0,Z0=XO(LU,`NodeFlexibility`,203,LJ,dNe,Qbe),KAt;J(303,24,{3:1,35:1,24:1,303:1,188:1,196:1},Rg),Q.bg=function(){return Z8e(this)},Q.og=function(){return Z8e(this)};var Q0,$0,e2,t2,qAt,n2=XO(LU,`NodePlacementStrategy`,303,LJ,nFe,$be),JAt;J(243,24,{3:1,35:1,24:1,243:1},Fg);var YAt,r2,i2,a2,XAt,ZAt,o2,QAt,s2,c2,$At=XO(LU,`NodePromotionStrategy`,243,LJ,PVe,exe),ejt;J(269,24,{3:1,35:1,24:1,269:1},Bg);var tjt,l2,u2,d2,njt=XO(LU,`OrderingStrategy`,269,LJ,fNe,txe),rjt;J(421,24,{3:1,35:1,24:1,421:1},_fe);var f2,p2,ijt=XO(LU,`PortSortingStrategy`,421,LJ,lke,nxe),ajt;J(452,24,{3:1,35:1,24:1,452:1},Vg);var m2,h2,g2,ojt=XO(LU,`PortType`,452,LJ,nje,rxe),sjt;J(381,24,{3:1,35:1,24:1,381:1},zg);var cjt,_2,ljt,ujt=XO(LU,`SelfLoopDistributionStrategy`,381,LJ,tje,ixe),djt;J(348,24,{3:1,35:1,24:1,348:1},Hg);var v2,y2,b2,fjt=XO(LU,`SelfLoopOrderingStrategy`,348,LJ,eje,axe),pjt;J(317,1,{317:1},Bst),R(LU,`Spacings`,317),J(349,24,{3:1,35:1,24:1,349:1},Ug);var x2,mjt,S2,hjt=XO(LU,`SplineRoutingMode`,349,LJ,rje,oxe),gjt;J(351,24,{3:1,35:1,24:1,351:1},Wg);var C2,_jt,vjt,yjt=XO(LU,`ValidifyStrategy`,351,LJ,ije,sxe),bjt;J(382,24,{3:1,35:1,24:1,382:1},Gg);var w2,T2,E2,xjt=XO(LU,`WrappingStrategy`,382,LJ,aje,cxe),Sjt;J(1362,1,nG,Qre),Q.pg=function(e){return F(e,36),Cjt},Q.If=function(e,t){Rst(this,F(e,36),t)};var Cjt;R(rG,`BFSNodeOrderCycleBreaker`,1362),J(1360,1,nG,cc),Q.pg=function(e){return F(e,36),wjt},Q.If=function(e,t){mot(this,F(e,36),t)};var wjt;R(rG,`DFSNodeOrderCycleBreaker`,1360),J(1361,1,wB,uSe),Q.Ad=function(e){Gnt(this.a,this.c,this.b,F(e,17))},Q.b=!1,R(rG,`DFSNodeOrderCycleBreaker/lambda$0$Type`,1361),J(1354,1,nG,$re),Q.pg=function(e){return F(e,36),Tjt},Q.If=function(e,t){pot(this,F(e,36),t)};var Tjt;R(rG,`DepthFirstCycleBreaker`,1354),J(780,1,nG,Bwe),Q.pg=function(e){return F(e,36),Ejt},Q.If=function(e,t){ndt(this,F(e,36),t)},Q.qg=function(e){return F(jx(e,bP(this.e,e.c.length)),9)};var Ejt;R(rG,`GreedyCycleBreaker`,780),J(1357,780,nG,Kpe),Q.qg=function(e){var t,n,i,a,o,s,c,l,u=null;for(i=nB,l=r.Math.max(this.b.a.c.length,F(q(this.b,(X(),S$)),15).a),t=l*F(q(this.b,XQ),15).a,a=new hi,n=M(q(this.b,(Hz(),c1)))===M((WA(),VQ)),c=new D(e);c.ao&&(i=o,u=s));return u||F(jx(e,bP(this.e,e.c.length)),9)},R(rG,`GreedyModelOrderCycleBreaker`,1357),J(506,1,{},hi),Q.a=0,Q.b=0,R(rG,`GroupModelOrderCalculator`,506),J(1355,1,nG,oc),Q.pg=function(e){return F(e,36),Djt},Q.If=function(e,t){Jot(this,F(e,36),t)};var Djt;R(rG,`InteractiveCycleBreaker`,1355),J(1356,1,nG,ac),Q.pg=function(e){return F(e,36),Ojt},Q.If=function(e,t){Zot(F(e,36),t)};var Ojt;R(rG,`ModelOrderCycleBreaker`,1356),J(781,1,nG),Q.pg=function(e){return F(e,36),kjt},Q.If=function(e,t){sat(this,F(e,36),t)},Q.rg=function(e,t){for(var n,r,i,a,o=0,s,c,l,u,d;ol&&(c=p,d=l),uKT(new iS(my(RM(s).a.Jc(),new f))))for(i=new iS(my(IM(c).a.Jc(),new f));eL(i);)r=F(OE(i),17),F(dP(this.d,o),22).Gc(r.c.i)&&iy(this.c,r);else for(i=new iS(my(RM(s).a.Jc(),new f));eL(i);)r=F(OE(i),17),F(dP(this.d,o),22).Gc(r.d.i)&&iy(this.c,r)}},R(rG,`SCCNodeTypeCycleBreaker`,1359),J(1358,781,nG,Wpe),Q.rg=function(e,t){for(var n,r,i,a,o=0,s,c,l,u,d,p,m;ol&&(c=p,d=l),uKT(new iS(my(RM(s).a.Jc(),new f))))for(i=new iS(my(IM(c).a.Jc(),new f));eL(i);)r=F(OE(i),17),F(dP(this.d,o),22).Gc(r.c.i)&&iy(this.c,r);else for(i=new iS(my(RM(s).a.Jc(),new f));eL(i);)r=F(OE(i),17),F(dP(this.d,o),22).Gc(r.d.i)&&iy(this.c,r)}},R(rG,`SCConnectivity`,1358),J(1374,1,nG,sc),Q.pg=function(e){return F(e,36),Ajt},Q.If=function(e,t){Blt(this,F(e,36),t)};var Ajt;R(iG,`BreadthFirstModelOrderLayerer`,1374),J(1375,1,iH,Cte),Q.Le=function(e,t){return l3e(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(iG,`BreadthFirstModelOrderLayerer/lambda$0$Type`,1375),J(1365,1,nG,ode),Q.pg=function(e){return F(e,36),jjt},Q.If=function(e,t){ddt(this,F(e,36),t)};var jjt;R(iG,`CoffmanGrahamLayerer`,1365),J(1366,1,iH,toe),Q.Le=function(e,t){return H9e(this.a,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(iG,`CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type`,1366),J(1367,1,iH,noe),Q.Le=function(e,t){return Twe(this.a,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(iG,`CoffmanGrahamLayerer/lambda$1$Type`,1367),J(1376,1,nG,uc),Q.pg=function(e){return F(e,36),Mjt},Q.If=function(e,t){Hut(this,F(e,36),t)},Q.c=0,Q.e=0;var Mjt;R(iG,`DepthFirstModelOrderLayerer`,1376),J(1377,1,iH,vte),Q.Le=function(e,t){return u3e(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(iG,`DepthFirstModelOrderLayerer/lambda$0$Type`,1377),J(1368,1,nG,yte),Q.pg=function(e){return F(e,36),wx(wx(wx(new dC,(XF(),hX),(Kz(),$X)),gX,sZ),_X,oZ)},Q.If=function(e,t){nut(F(e,36),t)},R(iG,`InteractiveLayerer`,1368),J(564,1,{564:1},Of),Q.a=0,Q.c=0,R(iG,`InteractiveLayerer/LayerSpan`,564),J(1364,1,nG,nie),Q.pg=function(e){return F(e,36),Njt},Q.If=function(e,t){M9e(this,F(e,36),t)};var Njt;R(iG,`LongestPathLayerer`,1364),J(1373,1,nG,dc),Q.pg=function(e){return F(e,36),Pjt},Q.If=function(e,t){cet(this,F(e,36),t)};var Pjt;R(iG,`LongestPathSourceLayerer`,1373),J(1371,1,nG,tie),Q.pg=function(e){return F(e,36),wx(wx(wx(new dC,(XF(),hX),(Kz(),YX)),gX,sZ),_X,oZ)},Q.If=function(e,t){vut(this,F(e,36),t)},Q.a=0,Q.b=0,Q.d=0;var Fjt,Ijt;R(iG,`MinWidthLayerer`,1371),J(1372,1,iH,Pu),Q.Le=function(e,t){return _He(this,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(iG,`MinWidthLayerer/MinOutgoingEdgesComparator`,1372),J(1363,1,nG,eie),Q.pg=function(e){return F(e,36),Ljt},Q.If=function(e,t){Ust(this,F(e,36),t)};var Ljt;R(iG,`NetworkSimplexLayerer`,1363),J(1369,1,nG,Xve),Q.pg=function(e){return F(e,36),wx(wx(wx(new dC,(XF(),hX),(Kz(),YX)),gX,sZ),_X,oZ)},Q.If=function(e,t){qct(this,F(e,36),t)},Q.d=0,Q.f=0,Q.g=0,Q.i=0,Q.s=0,Q.t=0,Q.u=0,R(iG,`StretchWidthLayerer`,1369),J(1370,1,iH,Ste),Q.Le=function(e,t){return HFe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(iG,`StretchWidthLayerer/1`,1370),J(406,1,Tht),Q.eg=function(e,t,n,r,i,a){},Q.tg=function(e,t,n){return vrt(this,e,t,n)},Q.dg=function(){this.g=H(Q9,Eht,30,this.d,15,1),this.f=H(Q9,Eht,30,this.d,15,1)},Q.fg=function(e,t){this.e[e]=H(q9,dV,30,t[e].length,15,1)},Q.gg=function(e,t,n){var r=n[e][t];r.p=t,this.e[e][t]=t},Q.hg=function(e,t,n,r){F(jx(r[e][t].j,n),12).p=this.d++},Q.b=0,Q.c=0,Q.d=0,R(aG,`AbstractBarycenterPortDistributor`,406),J(1666,1,iH,Fu),Q.Le=function(e,t){return uYe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(aG,`AbstractBarycenterPortDistributor/lambda$0$Type`,1666),J(817,1,jU,UMe),Q.eg=function(e,t,n,r,i,a){},Q.gg=function(e,t,n){},Q.hg=function(e,t,n,r){},Q.cg=function(){return!1},Q.dg=function(){this.c=this.e.a,this.g=this.f.g},Q.fg=function(e,t){t[e][0].c.p=e},Q.ig=function(){return!1},Q.ug=function(e,t,n,r){n?a$e(this,e):(w$e(this,e,r),Ect(this,e,t)),e.c.length>1&&(Hp(rb(q(fC((lT(0,e.c.length),F(e.c[0],9))),(Hz(),_1))))?I5e(e,this.d,F(this,660)):(qC(),Vv(e,this.d)),xHe(this.e,e))},Q.jg=function(e,t,n,r){var i,a,o,s,c,l,u;for(t!=cwe(n,e.length)&&(a=e[t-(n?1:-1)],QFe(this.f,a,n?(rk(),h2):(rk(),m2))),i=e[t][0],u=!r||i.k==(uL(),LX),l=NE(e[t]),this.ug(l,u,!1,n),o=0,c=new D(l);c.a`),e0?Iw(this.a,e[t-1],e[t]):!n&&t1&&(Hp(rb(q(fC((lT(0,e.c.length),F(e.c[0],9))),(Hz(),_1))))?I5e(e,this.d,this):(qC(),Vv(e,this.d)),Hp(rb(q(fC((lT(0,e.c.length),F(e.c[0],9))),_1)))||xHe(this.e,e))},R(aG,`ModelOrderBarycenterHeuristic`,660),J(1846,1,iH,loe),Q.Le=function(e,t){return Jat(this.a,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(aG,`ModelOrderBarycenterHeuristic/lambda$0$Type`,1846),J(1384,1,nG,pc),Q.pg=function(e){var t;return F(e,36),t=_v(Gjt),wx(t,(XF(),_X),(Kz(),fZ)),t},Q.If=function(e,t){HOe((F(e,36),t))};var Gjt;R(aG,`NoCrossingMinimizer`,1384),J(797,406,Tht,mle),Q.sg=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==(Az(),p5)?this.b[e]=!0:i.j==N5&&e>0&&(this.b[e-1]=!0))},Q.f=0,R(AU,`AllCrossingsCounter`,1841),J(584,1,{},Ck),Q.b=0,Q.d=0,R(AU,`BinaryIndexedTree`,584),J(520,1,{},Mb);var Kjt,j2;R(AU,`CrossingsCounter`,520),J(1915,1,iH,uoe),Q.Le=function(e,t){return awe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(AU,`CrossingsCounter/lambda$0$Type`,1915),J(1916,1,iH,doe),Q.Le=function(e,t){return owe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(AU,`CrossingsCounter/lambda$1$Type`,1916),J(1917,1,iH,foe),Q.Le=function(e,t){return swe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(AU,`CrossingsCounter/lambda$2$Type`,1917),J(1918,1,iH,poe),Q.Le=function(e,t){return iwe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(AU,`CrossingsCounter/lambda$3$Type`,1918),J(1919,1,wB,moe),Q.Ad=function(e){tRe(this.a,F(e,12))},R(AU,`CrossingsCounter/lambda$4$Type`,1919),J(1920,1,VB,hoe),Q.Mb=function(e){return Efe(this.a,F(e,12))},R(AU,`CrossingsCounter/lambda$5$Type`,1920),J(1921,1,wB,goe),Q.Ad=function(e){Fpe(this,e)},R(AU,`CrossingsCounter/lambda$6$Type`,1921),J(1922,1,wB,vfe),Q.Ad=function(e){var t;ux(),UT(this.b,(t=this.a,F(e,12),t))},R(AU,`CrossingsCounter/lambda$7$Type`,1922),J(824,1,cH,bi),Q.Lb=function(e){return ux(),Xy(F(e,12),(X(),D$))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return ux(),Xy(F(e,12),(X(),D$))},R(AU,`CrossingsCounter/lambda$8$Type`,824),J(1914,1,{},_oe),R(AU,`HyperedgeCrossingsCounter`,1914),J(467,1,{35:1,467:1},Zve),Q.Dd=function(e){return KJe(this,F(e,467))},Q.b=0,Q.c=0,Q.e=0,Q.f=0;var qjt=R(AU,`HyperedgeCrossingsCounter/Hyperedge`,467);J(370,1,{35:1,370:1},IC),Q.Dd=function(e){return x5e(this,F(e,370))},Q.b=0,Q.c=0;var Jjt=R(AU,`HyperedgeCrossingsCounter/HyperedgeCorner`,370);J(519,24,{3:1,35:1,24:1,519:1},yfe);var M2,N2,Yjt=XO(AU,`HyperedgeCrossingsCounter/HyperedgeCorner/Type`,519,LJ,uke,uxe),Xjt;J(1386,1,nG,oie),Q.pg=function(e){return F(q(F(e,36),(X(),c$)),22).Gc((HL(),kQ))?Zjt:null},Q.If=function(e,t){s$e(this,F(e,36),t)};var Zjt;R(cG,`InteractiveNodePlacer`,1386),J(1387,1,nG,sie),Q.pg=function(e){return F(q(F(e,36),(X(),c$)),22).Gc((HL(),kQ))?Qjt:null},Q.If=function(e,t){YXe(this,F(e,36),t)};var Qjt,P2,F2;R(cG,`LinearSegmentsNodePlacer`,1387),J(263,1,{35:1,263:1},kf),Q.Dd=function(e){return tle(this,F(e,263))},Q.Fb=function(e){var t;return N(e,263)?(t=F(e,263),this.b==t.b):!1},Q.Hb=function(){return this.b},Q.Ib=function(){return`ls`+eI(this.e)},Q.a=0,Q.b=0,Q.c=-1,Q.d=-1,Q.g=0;var $jt=R(cG,`LinearSegmentsNodePlacer/LinearSegment`,263);J(1389,1,nG,zwe),Q.pg=function(e){return F(q(F(e,36),(X(),c$)),22).Gc((HL(),kQ))?eMt:null},Q.If=function(e,t){Uut(this,F(e,36),t)},Q.b=0,Q.g=0;var eMt;R(cG,`NetworkSimplexPlacer`,1389),J(1408,1,iH,fi),Q.Le=function(e,t){return Uv(F(e,15).a,F(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(cG,`NetworkSimplexPlacer/0methodref$compare$Type`,1408),J(1410,1,iH,pi),Q.Le=function(e,t){return Uv(F(e,15).a,F(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(cG,`NetworkSimplexPlacer/1methodref$compare$Type`,1410),J(645,1,{645:1},bfe);var tMt=R(cG,`NetworkSimplexPlacer/EdgeRep`,645);J(405,1,{405:1},KDe),Q.b=!1;var nMt=R(cG,`NetworkSimplexPlacer/NodeRep`,405);J(501,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,501:1},jf),R(cG,`NetworkSimplexPlacer/Path`,501),J(1390,1,{},xte),Q.Kb=function(e){return F(e,17).d.i.k},R(cG,`NetworkSimplexPlacer/Path/lambda$0$Type`,1390),J(1391,1,VB,mi),Q.Mb=function(e){return F(e,249)==(uL(),zX)},R(cG,`NetworkSimplexPlacer/Path/lambda$1$Type`,1391),J(1392,1,{},wte),Q.Kb=function(e){return F(e,17).d.i},R(cG,`NetworkSimplexPlacer/Path/lambda$2$Type`,1392),J(1393,1,VB,voe),Q.Mb=function(e){return _ve(aJe(F(e,9)))},R(cG,`NetworkSimplexPlacer/Path/lambda$3$Type`,1393),J(1394,1,VB,gi),Q.Mb=function(e){return OCe(F(e,12))},R(cG,`NetworkSimplexPlacer/lambda$0$Type`,1394),J(1395,1,wB,xfe),Q.Ad=function(e){bhe(this.a,this.b,F(e,12))},R(cG,`NetworkSimplexPlacer/lambda$1$Type`,1395),J(1404,1,wB,yoe),Q.Ad=function(e){R3e(this.a,F(e,17))},R(cG,`NetworkSimplexPlacer/lambda$10$Type`,1404),J(1405,1,{},_i),Q.Kb=function(e){return Xw(),new Px(null,new cT(F(e,25).a,16))},R(cG,`NetworkSimplexPlacer/lambda$11$Type`,1405),J(1406,1,wB,boe),Q.Ad=function(e){utt(this.a,F(e,9))},R(cG,`NetworkSimplexPlacer/lambda$12$Type`,1406),J(1407,1,{},Tte),Q.Kb=function(e){return Xw(),K(F(e,124).e)},R(cG,`NetworkSimplexPlacer/lambda$13$Type`,1407),J(1409,1,{},vi),Q.Kb=function(e){return Xw(),K(F(e,124).e)},R(cG,`NetworkSimplexPlacer/lambda$15$Type`,1409),J(1411,1,VB,yi),Q.Mb=function(e){return Xw(),F(e,405).c.k==(uL(),VX)},R(cG,`NetworkSimplexPlacer/lambda$17$Type`,1411),J(1412,1,VB,Dte),Q.Mb=function(e){return Xw(),F(e,405).c.j.c.length>1},R(cG,`NetworkSimplexPlacer/lambda$18$Type`,1412),J(1413,1,wB,qDe),Q.Ad=function(e){Cqe(this.c,this.b,this.d,this.a,F(e,405))},Q.c=0,Q.d=0,R(cG,`NetworkSimplexPlacer/lambda$19$Type`,1413),J(1396,1,{},xi),Q.Kb=function(e){return Xw(),new Px(null,new cT(F(e,25).a,16))},R(cG,`NetworkSimplexPlacer/lambda$2$Type`,1396),J(1414,1,wB,xoe),Q.Ad=function(e){yhe(this.a,F(e,12))},Q.a=0,R(cG,`NetworkSimplexPlacer/lambda$20$Type`,1414),J(1415,1,{},Ote),Q.Kb=function(e){return Xw(),new Px(null,new cT(F(e,25).a,16))},R(cG,`NetworkSimplexPlacer/lambda$21$Type`,1415),J(1416,1,wB,Soe),Q.Ad=function(e){Uhe(this.a,F(e,9))},R(cG,`NetworkSimplexPlacer/lambda$22$Type`,1416),J(1417,1,VB,Si),Q.Mb=function(e){return _ve(e)},R(cG,`NetworkSimplexPlacer/lambda$23$Type`,1417),J(1418,1,{},Ci),Q.Kb=function(e){return Xw(),new Px(null,new cT(F(e,25).a,16))},R(cG,`NetworkSimplexPlacer/lambda$24$Type`,1418),J(1419,1,VB,Coe),Q.Mb=function(e){return nme(this.a,F(e,9))},R(cG,`NetworkSimplexPlacer/lambda$25$Type`,1419),J(1420,1,wB,Sfe),Q.Ad=function(e){$2e(this.a,this.b,F(e,9))},R(cG,`NetworkSimplexPlacer/lambda$26$Type`,1420),J(1421,1,VB,kte),Q.Mb=function(e){return Xw(),!CE(F(e,17))},R(cG,`NetworkSimplexPlacer/lambda$27$Type`,1421),J(1422,1,VB,wi),Q.Mb=function(e){return Xw(),!CE(F(e,17))},R(cG,`NetworkSimplexPlacer/lambda$28$Type`,1422),J(1423,1,{},woe),Q.Te=function(e,t){return vhe(this.a,F(e,25),F(t,25))},R(cG,`NetworkSimplexPlacer/lambda$29$Type`,1423),J(1397,1,{},Ate),Q.Kb=function(e){return Xw(),new Px(null,new US(new iS(my(RM(F(e,9)).a.Jc(),new f))))},R(cG,`NetworkSimplexPlacer/lambda$3$Type`,1397),J(1398,1,VB,Ti),Q.Mb=function(e){return Xw(),OMe(F(e,17))},R(cG,`NetworkSimplexPlacer/lambda$4$Type`,1398),J(1399,1,wB,Toe),Q.Ad=function(e){dat(this.a,F(e,17))},R(cG,`NetworkSimplexPlacer/lambda$5$Type`,1399),J(1400,1,{},jte),Q.Kb=function(e){return Xw(),new Px(null,new cT(F(e,25).a,16))},R(cG,`NetworkSimplexPlacer/lambda$6$Type`,1400),J(1401,1,VB,Ei),Q.Mb=function(e){return Xw(),F(e,9).k==(uL(),VX)},R(cG,`NetworkSimplexPlacer/lambda$7$Type`,1401),J(1402,1,{},Mte),Q.Kb=function(e){return Xw(),new Px(null,new US(new iS(my(LM(F(e,9)).a.Jc(),new f))))},R(cG,`NetworkSimplexPlacer/lambda$8$Type`,1402),J(1403,1,VB,Di),Q.Mb=function(e){return Xw(),yCe(F(e,17))},R(cG,`NetworkSimplexPlacer/lambda$9$Type`,1403),J(1385,1,nG,cie),Q.pg=function(e){return F(q(F(e,36),(X(),c$)),22).Gc((HL(),kQ))?rMt:null},Q.If=function(e,t){sot(F(e,36),t)};var rMt;R(cG,`SimpleNodePlacer`,1385),J(185,1,{185:1},mR),Q.Ib=function(){var e=``;return this.c==(Cw(),L2)?e+=mH:this.c==I2&&(e+=pH),this.o==(Lw(),R2)?e+=bH:this.o==z2?e+=`UP`:e+=`BALANCED`,e},R(uG,`BKAlignedLayout`,185),J(510,24,{3:1,35:1,24:1,510:1},Cfe);var I2,L2,iMt=XO(uG,`BKAlignedLayout/HDirection`,510,LJ,dke,dxe),aMt;J(509,24,{3:1,35:1,24:1,509:1},wfe);var R2,z2,oMt=XO(uG,`BKAlignedLayout/VDirection`,509,LJ,fke,fxe),sMt;J(1667,1,{},Tfe),R(uG,`BKAligner`,1667),J(1670,1,{},uQe),R(uG,`BKCompactor`,1670),J(653,1,{653:1},Nte),Q.a=0,R(uG,`BKCompactor/ClassEdge`,653),J(456,1,{456:1},zse),Q.a=null,Q.b=0,R(uG,`BKCompactor/ClassNode`,456),J(1388,1,nG,vpe),Q.pg=function(e){return F(q(F(e,36),(X(),c$)),22).Gc((HL(),kQ))?cMt:null},Q.If=function(e,t){vdt(this,F(e,36),t)},Q.d=!1;var cMt;R(uG,`BKNodePlacer`,1388),J(1668,1,{},Oi),Q.d=0,R(uG,`NeighborhoodInformation`,1668),J(1669,1,iH,Ru),Q.Le=function(e,t){return $Re(this,F(e,49),F(t,49))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(uG,`NeighborhoodInformation/NeighborComparator`,1669),J(810,1,{}),R(uG,`ThresholdStrategy`,810),J(1798,810,{},Bse),Q.vg=function(e,t,n){return this.a.o==(Lw(),z2)?AV:jV},Q.wg=function(){},R(uG,`ThresholdStrategy/NullThresholdStrategy`,1798),J(577,1,{577:1},Mfe),Q.c=!1,Q.d=!1,R(uG,`ThresholdStrategy/Postprocessable`,577),J(1799,810,{},Vse),Q.vg=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,Cw(),i&&(a=uot(this,t,!0)),!isNaN(a)&&!isFinite(a)&&r&&(a=uot(this,n,!1)),a):e},Q.wg=function(){for(var e,t,n,r,i;this.d.b!=0;)i=F(Nke(this.d),577),r=hit(this,i),r.a&&(e=r.a,n=Hp(this.a.f[this.a.g[i.b.p].p]),(n||CE(e)||e.c.i.c!=e.d.i.c)&&(t=S5e(this,i),t||hme(this.e,i)));for(;this.e.a.c.length!=0;)S5e(this,F(PWe(this.e),577))},R(uG,`ThresholdStrategy/SimpleThresholdStrategy`,1799),J(636,1,{636:1,188:1,196:1},ki),Q.bg=function(){return CHe(this)},Q.og=function(){return CHe(this)};var B2;R(Oht,`EdgeRouterFactory`,636),J(1446,1,nG,hc),Q.pg=function(e){return Eet(F(e,36))},Q.If=function(e,t){yot(F(e,36),t)};var lMt,uMt,dMt,fMt,pMt,mMt,hMt,gMt;R(Oht,`OrthogonalEdgeRouter`,1446),J(1439,1,nG,ype),Q.pg=function(e){return T$e(F(e,36))},Q.If=function(e,t){Wlt(this,F(e,36),t)};var _Mt,vMt,yMt,bMt,V2,xMt;R(Oht,`PolylineEdgeRouter`,1439),J(1440,1,cH,Pte),Q.Lb=function(e){return NHe(F(e,9))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return NHe(F(e,9))},R(Oht,`PolylineEdgeRouter/1`,1440),J(1854,1,VB,Ai),Q.Mb=function(e){return F(e,133).c==(GE(),H2)},R(dG,`HyperEdgeCycleDetector/lambda$0$Type`,1854),J(1855,1,{},Fte),Q.Xe=function(e){return F(e,133).d},R(dG,`HyperEdgeCycleDetector/lambda$1$Type`,1855),J(1856,1,VB,ji),Q.Mb=function(e){return F(e,133).c==(GE(),H2)},R(dG,`HyperEdgeCycleDetector/lambda$2$Type`,1856),J(1857,1,{},Ite),Q.Xe=function(e){return F(e,133).d},R(dG,`HyperEdgeCycleDetector/lambda$3$Type`,1857),J(1858,1,{},Mi),Q.Xe=function(e){return F(e,133).d},R(dG,`HyperEdgeCycleDetector/lambda$4$Type`,1858),J(1859,1,{},Lte),Q.Xe=function(e){return F(e,133).d},R(dG,`HyperEdgeCycleDetector/lambda$5$Type`,1859),J(116,1,{35:1,116:1},AA),Q.Dd=function(e){return nle(this,F(e,116))},Q.Fb=function(e){var t;return N(e,116)?(t=F(e,116),this.g==t.g):!1},Q.Hb=function(){return this.g},Q.Ib=function(){for(var e=new vy(`{`),t,n,r=new D(this.n);r.a`+this.b+` (`+s_e(this.c)+`)`},Q.d=0,R(dG,`HyperEdgeSegmentDependency`,133),J(516,24,{3:1,35:1,24:1,516:1},Ofe);var H2,U2,SMt=XO(dG,`HyperEdgeSegmentDependency/DependencyType`,516,LJ,pke,pxe),CMt;J(1860,1,{},Eoe),R(dG,`HyperEdgeSegmentSplitter`,1860),J(1861,1,{},fle),Q.a=0,Q.b=0,R(dG,`HyperEdgeSegmentSplitter/AreaRating`,1861),J(340,1,{340:1},Zb),Q.a=0,Q.b=0,Q.c=0,R(dG,`HyperEdgeSegmentSplitter/FreeArea`,340),J(1862,1,iH,Ni),Q.Le=function(e,t){return Hye(F(e,116),F(t,116))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(dG,`HyperEdgeSegmentSplitter/lambda$0$Type`,1862),J(1863,1,wB,JDe),Q.Ad=function(e){JNe(this.a,this.d,this.c,this.b,F(e,116))},Q.b=0,R(dG,`HyperEdgeSegmentSplitter/lambda$1$Type`,1863),J(1864,1,{},Rte),Q.Kb=function(e){return new Px(null,new cT(F(e,116).e,16))},R(dG,`HyperEdgeSegmentSplitter/lambda$2$Type`,1864),J(1865,1,{},Pi),Q.Kb=function(e){return new Px(null,new cT(F(e,116).j,16))},R(dG,`HyperEdgeSegmentSplitter/lambda$3$Type`,1865),J(1866,1,{},zte),Q.We=function(e){return k(P(e))},R(dG,`HyperEdgeSegmentSplitter/lambda$4$Type`,1866),J(654,1,{},gEe),Q.a=0,Q.b=0,Q.c=0,R(dG,`OrthogonalRoutingGenerator`,654),J(1671,1,{},Fi),Q.Kb=function(e){return new Px(null,new cT(F(e,116).e,16))},R(dG,`OrthogonalRoutingGenerator/lambda$0$Type`,1671),J(1672,1,{},Bte),Q.Kb=function(e){return new Px(null,new cT(F(e,116).j,16))},R(dG,`OrthogonalRoutingGenerator/lambda$1$Type`,1672),J(661,1,{}),R(fG,`BaseRoutingDirectionStrategy`,661),J(1852,661,{},Bf),Q.xg=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.ajH&&(o=d,a=e,i=new j(f,o),mx(s.a,i),wR(this,s,a,i,!1),p=e.r,p&&(m=k(P(dP(p.e,0))),i=new j(m,o),mx(s.a,i),wR(this,s,a,i,!1),o=t+p.o*n,a=p,i=new j(m,o),mx(s.a,i),wR(this,s,a,i,!1)),i=new j(g,o),mx(s.a,i),wR(this,s,a,i,!1)))},Q.yg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.zg=function(){return Az(),j5},Q.Ag=function(){return Az(),m5},R(fG,`NorthToSouthRoutingStrategy`,1852),J(1853,661,{},Vf),Q.xg=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.ajH&&(o=d,a=e,i=new j(f,o),mx(s.a,i),wR(this,s,a,i,!1),p=e.r,p&&(m=k(P(dP(p.e,0))),i=new j(m,o),mx(s.a,i),wR(this,s,a,i,!1),o=t-p.o*n,a=p,i=new j(m,o),mx(s.a,i),wR(this,s,a,i,!1)),i=new j(g,o),mx(s.a,i),wR(this,s,a,i,!1)))},Q.yg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.zg=function(){return Az(),m5},Q.Ag=function(){return Az(),j5},R(fG,`SouthToNorthRoutingStrategy`,1853),J(1851,661,{},Hse),Q.xg=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.ajH&&(o=d,a=e,i=new j(o,f),mx(s.a,i),wR(this,s,a,i,!0),p=e.r,p&&(m=k(P(dP(p.e,0))),i=new j(o,m),mx(s.a,i),wR(this,s,a,i,!0),o=t+p.o*n,a=p,i=new j(o,m),mx(s.a,i),wR(this,s,a,i,!0)),i=new j(o,g),mx(s.a,i),wR(this,s,a,i,!0)))},Q.yg=function(e){return e.i.n.b+e.n.b+e.a.b},Q.zg=function(){return Az(),p5},Q.Ag=function(){return Az(),N5},R(fG,`WestToEastRoutingStrategy`,1851),J(813,1,{},gat),Q.Ib=function(){return eI(this.a)},Q.b=0,Q.c=!1,Q.d=!1,Q.f=0,R(mG,`NubSpline`,813),J(410,1,{410:1},oet,Eke),R(mG,`NubSpline/PolarCP`,410),J(1441,1,nG,MZe),Q.pg=function(e){return U1e(F(e,36))},Q.If=function(e,t){xut(this,F(e,36),t)};var wMt,TMt,EMt,DMt,OMt;R(mG,`SplineEdgeRouter`,1441),J(273,1,{273:1},HE),Q.Ib=function(){return this.a+` ->(`+this.c+`) `+this.b},Q.c=0,R(mG,`SplineEdgeRouter/Dependency`,273),J(454,24,{3:1,35:1,24:1,454:1},kfe);var W2,G2,kMt=XO(mG,`SplineEdgeRouter/SideToProcess`,454,LJ,mke,mxe),AMt;J(1442,1,VB,Vte),Q.Mb=function(e){return IL(),!F(e,132).o},R(mG,`SplineEdgeRouter/lambda$0$Type`,1442),J(1443,1,{},Ii),Q.Xe=function(e){return IL(),F(e,132).v+1},R(mG,`SplineEdgeRouter/lambda$1$Type`,1443),J(1444,1,wB,Afe),Q.Ad=function(e){wCe(this.a,this.b,F(e,49))},R(mG,`SplineEdgeRouter/lambda$2$Type`,1444),J(1445,1,wB,jfe),Q.Ad=function(e){TCe(this.a,this.b,F(e,49))},R(mG,`SplineEdgeRouter/lambda$3$Type`,1445),J(132,1,{35:1,132:1},J4e,Got),Q.Dd=function(e){return rle(this,F(e,132))},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(mG,`SplineSegment`,132),J(457,1,{457:1},Hte),Q.a=0,Q.b=!1,Q.c=!1,Q.d=!1,Q.e=!1,Q.f=0,R(mG,`SplineSegment/EdgeInformation`,457),J(1168,1,{},Li),R(_G,Qft,1168),J(1169,1,iH,Ri),Q.Le=function(e,t){return p6e(F(e,120),F(t,120))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(_G,$ft,1169),J(1167,1,{},Gle),R(_G,`MrTree`,1167),J(398,24,{3:1,35:1,24:1,398:1,188:1,196:1},Jg),Q.bg=function(){return h6e(this)},Q.og=function(){return h6e(this)};var K2,q2,J2,Y2,jMt=XO(_G,`TreeLayoutPhases`,398,LJ,DNe,hxe),MMt;J(1083,214,wH,$ve),Q.kf=function(e,t){var n,r,i,a,o,s,c,l;for(Hp(rb(Y(e,(MR(),CNt))))||ww((n=new eu((Rh(),new Ip(e))),n)),o=t.dh(vG),o.Tg(`build tGraph`,1),s=(c=new UE,vA(c,e),G(c,(kz(),m4),e),l=new Cd,krt(e,c,l),rit(e,c,l),c),o.Ug(),o=t.dh(vG),o.Tg(`Split graph`,1),a=Irt(this.a,s),o.Ug(),i=new D(a);i.a`+CT(this.c):`e_`+jk(this)},R(bG,`TEdge`,65),J(120,150,{3:1,120:1,105:1,150:1},UE),Q.Ib=function(){var e,t,n,r,i=null;for(r=$N(this.b,0);r.b!=r.d.c;)n=F(HT(r),40),i+=(n.c==null||n.c.length==0?`n_`+n.g:`n_`+n.c)+` -`;for(t=$N(this.a,0);t.b!=t.d.c;)e=F(HT(t),65),i+=(e.b&&e.c?CT(e.b)+`->`+CT(e.c):`e_`+jk(e))+` -`;return i};var NMt=R(bG,`TGraph`,120);J(634,494,{3:1,494:1,634:1,105:1,150:1}),R(bG,`TShape`,634),J(40,634,{3:1,494:1,40:1,634:1,105:1,150:1},oj),Q.Ib=function(){return CT(this)};var X2=R(bG,`TNode`,40);J(236,1,OB,Bu),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return new Vu($N(this.a.d,0))},R(bG,`TNode/2`,236),J(334,1,pB,Vu),Q.Nb=function(e){CS(this,e)},Q.Pb=function(){return F(HT(this.a),65).c},Q.Ob=function(){return Wm(this.a)},Q.Qb=function(){gO(this.a)},R(bG,`TNode/2/1`,334),J(1896,1,_U,Ui),Q.If=function(e,t){udt(this,F(e,120),t)},R(xG,`CompactionProcessor`,1896),J(1897,1,iH,Aoe),Q.Le=function(e,t){return pHe(this.a,F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xG,`CompactionProcessor/lambda$0$Type`,1897),J(1898,1,VB,Pfe),Q.Mb=function(e){return $Oe(this.b,this.a,F(e,49))},Q.a=0,Q.b=0,R(xG,`CompactionProcessor/lambda$1$Type`,1898),J(1907,1,iH,Gte),Q.Le=function(e,t){return rEe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xG,`CompactionProcessor/lambda$10$Type`,1907),J(1908,1,iH,Kte),Q.Le=function(e,t){return Uge(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xG,`CompactionProcessor/lambda$11$Type`,1908),J(1909,1,iH,Wi),Q.Le=function(e,t){return iEe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xG,`CompactionProcessor/lambda$12$Type`,1909),J(1899,1,VB,joe),Q.Mb=function(e){return Ghe(this.a,F(e,49))},Q.a=0,R(xG,`CompactionProcessor/lambda$2$Type`,1899),J(uV,1,VB,Moe),Q.Mb=function(e){return Khe(this.a,F(e,49))},Q.a=0,R(xG,`CompactionProcessor/lambda$3$Type`,uV),J(1901,1,VB,qte),Q.Mb=function(e){return F(e,40).c.indexOf(yG)==-1},R(xG,`CompactionProcessor/lambda$4$Type`,1901),J(1902,1,{},Noe),Q.Kb=function(e){return EMe(this.a,F(e,40))},Q.a=0,R(xG,`CompactionProcessor/lambda$5$Type`,1902),J(1903,1,{},Poe),Q.Kb=function(e){return eRe(this.a,F(e,40))},Q.a=0,R(xG,`CompactionProcessor/lambda$6$Type`,1903),J(1904,1,iH,Foe),Q.Le=function(e,t){return xFe(this.a,F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xG,`CompactionProcessor/lambda$7$Type`,1904),J(1905,1,iH,Ioe),Q.Le=function(e,t){return SFe(this.a,F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xG,`CompactionProcessor/lambda$8$Type`,1905),J(1906,1,iH,Jte),Q.Le=function(e,t){return Wge(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(xG,`CompactionProcessor/lambda$9$Type`,1906),J(1894,1,_U,Yte),Q.If=function(e,t){Ftt(F(e,120),t)},R(xG,`DirectionProcessor`,1894),J(1886,1,_U,Qve),Q.If=function(e,t){$rt(this,F(e,120),t)},R(xG,`FanProcessor`,1886),J(1253,1,_U,Xte),Q.If=function(e,t){ptt(F(e,120),t)},R(xG,`GraphBoundsProcessor`,1253),J(1254,1,{},Gi),Q.We=function(e){return F(e,40).e.a},R(xG,`GraphBoundsProcessor/lambda$0$Type`,1254),J(1255,1,{},Ki),Q.We=function(e){return F(e,40).e.b},R(xG,`GraphBoundsProcessor/lambda$1$Type`,1255),J(1256,1,{},qi),Q.We=function(e){return yde(F(e,40))},R(xG,`GraphBoundsProcessor/lambda$2$Type`,1256),J(1257,1,{},Zte),Q.We=function(e){return bde(F(e,40))},R(xG,`GraphBoundsProcessor/lambda$3$Type`,1257),J(264,24,{3:1,35:1,24:1,264:1,196:1},Yg),Q.bg=function(){switch(this.g){case 0:return new ap;case 1:return new Qve;case 2:return new np;case 3:return new tne;case 4:return new Ji;case 8:return new Qte;case 5:return new Yte;case 6:return new nne;case 7:return new Ui;case 9:return new Xte;case 10:return new rne;default:throw O(new Rp(TU+(this.f==null?``+this.g:this.f)))}};var PMt,FMt,IMt,LMt,RMt,zMt,BMt,VMt,HMt,UMt,Z2,WMt=XO(xG,EU,264,LJ,aHe,gxe),GMt;J(1893,1,_U,Qte),Q.If=function(e,t){Llt(F(e,120),t)},R(xG,`LevelCoordinatesProcessor`,1893),J(1891,1,_U,Ji),Q.If=function(e,t){r9e(this,F(e,120),t)},Q.a=0,R(xG,`LevelHeightProcessor`,1891),J(1892,1,OB,$te),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return qC(),fh(),vY},R(xG,`LevelHeightProcessor/1`,1892),J(1887,1,_U,np),Q.If=function(e,t){Qet(this,F(e,120),t)},R(xG,`LevelProcessor`,1887),J(1888,1,VB,ene),Q.Mb=function(e){return Hp(rb(q(F(e,40),(kz(),v4))))},R(xG,`LevelProcessor/lambda$0$Type`,1888),J(1889,1,_U,tne),Q.If=function(e,t){U4e(this,F(e,120),t)},Q.a=0,R(xG,`NeighborsProcessor`,1889),J(1890,1,OB,Yi),Q.Ic=function(e){_E(this,e)},Q.Jc=function(){return qC(),fh(),vY},R(xG,`NeighborsProcessor/1`,1890),J(1895,1,_U,nne),Q.If=function(e,t){Zrt(this,F(e,120),t)},Q.a=0,R(xG,`NodePositionProcessor`,1895),J(1885,1,_U,ap),Q.If=function(e,t){Hot(this,F(e,120),t)},R(xG,`RootProcessor`,1885),J(1910,1,_U,rne),Q.If=function(e,t){_Xe(F(e,120),t)},R(xG,`Untreeifyer`,1910),J(385,24,{3:1,35:1,24:1,385:1},Xg);var Q2,$2,KMt,qMt=XO(CG,`EdgeRoutingMode`,385,LJ,oje,_xe),JMt,e4,t4,n4,YMt,XMt,r4,i4,ZMt,a4,QMt,o4,s4,c4,l4,u4,d4,f4,p4,m4,h4,g4,$Mt,eNt,_4,v4,y4,b4;J(847,1,NH,gc),Q.tf=function(e){GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Iht),``),Uht),`Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level`),(xy(),!1)),(gI(),$3)),XJ),VM((ZN(),X3))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Lht),``),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Rht),``),`Tree Level`),`The index for the tree level the node is in`),K(0)),r6),tY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,zht),``),Uht),`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`),K(-1)),r6),tY),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Bht),``),`Weighting of Nodes`),`Which weighting to use when computing a node order.`),uNt),t6),INt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Vht),``),`Edge Routing Mode`),`Chooses an Edge Routing algorithm.`),iNt),t6),qMt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Hht),``),`Search Order`),`Which search order to use when computing a spanning tree.`),sNt),t6),zNt),VM(X3)))),hut((new _c,e))};var tNt,nNt,rNt,iNt,aNt,oNt,sNt,cNt,lNt,uNt;R(CG,`MrTreeMetaDataProvider`,847),J(991,1,NH,_c),Q.tf=function(e){hut(e)};var dNt,fNt,pNt,x4,mNt,hNt,S4,gNt,_Nt,vNt,yNt,bNt,xNt,SNt,CNt,wNt,TNt,ENt,C4,w4,DNt,ONt,kNt,T4,ANt,jNt,MNt,NNt,PNt,E4,FNt;R(CG,`MrTreeOptions`,991),J(992,1,{},ine),Q.uf=function(){return new $ve},Q.vf=function(e){},R(CG,`MrTreeOptions/MrtreeFactory`,992),J(353,24,{3:1,35:1,24:1,353:1},Zg);var D4,O4,k4,A4,INt=XO(CG,`OrderWeighting`,353,LJ,CNe,vxe),LNt;J(425,24,{3:1,35:1,24:1,425:1},Ffe);var RNt,j4,zNt=XO(CG,`TreeifyingOrder`,425,LJ,hke,yxe),BNt;J(1447,1,nG,fc),Q.pg=function(e){return F(e,120),VNt},Q.If=function(e,t){EVe(this,F(e,120),t)};var VNt;R(`org.eclipse.elk.alg.mrtree.p1treeify`,`DFSTreeifyer`,1447),J(1448,1,nG,iie),Q.pg=function(e){return F(e,120),HNt},Q.If=function(e,t){att(this,F(e,120),t)};var HNt;R(TG,`NodeOrderer`,1448),J(1455,1,{},dne),Q.rd=function(e){return CCe(e)},R(TG,`NodeOrderer/0methodref$lambda$6$Type`,1455),J(1449,1,VB,Xi),Q.Mb=function(e){return DO(),Hp(rb(q(F(e,40),(kz(),v4))))},R(TG,`NodeOrderer/lambda$0$Type`,1449),J(1450,1,VB,Zi),Q.Mb=function(e){return DO(),F(q(F(e,40),(MR(),C4)),15).a<0},R(TG,`NodeOrderer/lambda$1$Type`,1450),J(1451,1,VB,Roe),Q.Mb=function(e){return FBe(this.a,F(e,40))},R(TG,`NodeOrderer/lambda$2$Type`,1451),J(1452,1,VB,Loe),Q.Mb=function(e){return DMe(this.a,F(e,40))},R(TG,`NodeOrderer/lambda$3$Type`,1452),J(1453,1,iH,fne),Q.Le=function(e,t){return tze(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(TG,`NodeOrderer/lambda$4$Type`,1453),J(1454,1,VB,pne),Q.Mb=function(e){return DO(),F(q(F(e,40),(kz(),i4)),15).a!=0},R(TG,`NodeOrderer/lambda$5$Type`,1454),J(1456,1,nG,lie),Q.pg=function(e){return F(e,120),UNt},Q.If=function(e,t){prt(this,F(e,120),t)},Q.b=0;var UNt;R(`org.eclipse.elk.alg.mrtree.p3place`,`NodePlacer`,1456),J(1457,1,nG,bc),Q.pg=function(e){return F(e,120),WNt},Q.If=function(e,t){jnt(F(e,120),t)};var WNt;R(EG,`EdgeRouter`,1457),J(1459,1,iH,one),Q.Le=function(e,t){return Uv(F(e,15).a,F(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/0methodref$compare$Type`,1459),J(1464,1,{},sne),Q.We=function(e){return k(P(e))},R(EG,`EdgeRouter/1methodref$doubleValue$Type`,1464),J(1466,1,iH,cne),Q.Le=function(e,t){return dM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/2methodref$compare$Type`,1466),J(1468,1,iH,lne),Q.Le=function(e,t){return dM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/3methodref$compare$Type`,1468),J(1470,1,{},ane),Q.We=function(e){return k(P(e))},R(EG,`EdgeRouter/4methodref$doubleValue$Type`,1470),J(1472,1,iH,une),Q.Le=function(e,t){return dM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/5methodref$compare$Type`,1472),J(1474,1,iH,mne),Q.Le=function(e,t){return dM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/6methodref$compare$Type`,1474),J(1458,1,{},Qi),Q.Kb=function(e){return OO(),F(q(F(e,40),(MR(),E4)),15)},R(EG,`EdgeRouter/lambda$0$Type`,1458),J(1469,1,{},$i),Q.Kb=function(e){return __e(F(e,40))},R(EG,`EdgeRouter/lambda$11$Type`,1469),J(1471,1,{},Lfe),Q.Kb=function(e){return DCe(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(EG,`EdgeRouter/lambda$13$Type`,1471),J(1473,1,{},Ife),Q.Kb=function(e){return v_e(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(EG,`EdgeRouter/lambda$15$Type`,1473),J(1475,1,iH,ea),Q.Le=function(e,t){return PYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/lambda$17$Type`,1475),J(1476,1,iH,ta),Q.Le=function(e,t){return FYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/lambda$18$Type`,1476),J(1477,1,iH,na),Q.Le=function(e,t){return LYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/lambda$19$Type`,1477),J(1460,1,VB,Hu),Q.Mb=function(e){return Fke(this.a,F(e,40))},Q.a=0,R(EG,`EdgeRouter/lambda$2$Type`,1460),J(1478,1,iH,hne),Q.Le=function(e,t){return IYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/lambda$20$Type`,1478),J(1461,1,iH,gne),Q.Le=function(e,t){return KSe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/lambda$3$Type`,1461),J(1462,1,iH,ra),Q.Le=function(e,t){return GSe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`EdgeRouter/lambda$4$Type`,1462),J(1463,1,{},ia),Q.Kb=function(e){return g_e(F(e,40))},R(EG,`EdgeRouter/lambda$5$Type`,1463),J(1465,1,{},Rfe),Q.Kb=function(e){return ECe(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(EG,`EdgeRouter/lambda$7$Type`,1465),J(1467,1,{},zfe),Q.Kb=function(e){return y_e(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(EG,`EdgeRouter/lambda$9$Type`,1467),J(662,1,{662:1},hZe),Q.e=0,Q.f=!1,Q.g=!1,R(EG,`MultiLevelEdgeNodeNodeGap`,662),J(1867,1,iH,aa),Q.Le=function(e,t){return IAe(F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`MultiLevelEdgeNodeNodeGap/lambda$0$Type`,1867),J(1868,1,iH,oa),Q.Le=function(e,t){return LAe(F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EG,`MultiLevelEdgeNodeNodeGap/lambda$1$Type`,1868);var M4;J(487,24,{3:1,35:1,24:1,487:1,188:1,196:1},Bfe),Q.bg=function(){return kqe(this)},Q.og=function(){return kqe(this)};var N4,P4,GNt=XO(Kht,`RadialLayoutPhases`,487,LJ,gke,bxe),KNt;J(1084,214,wH,Jle),Q.kf=function(e,t){var n=P9e(this,e),r,i,a,o,s;if(t.Tg(`Radial layout`,n.c.length),Hp(rb(Y(e,(uI(),CPt))))||ww((r=new eu((Rh(),new Ip(e))),r)),s=q1e(e),uP(e,(pb(),M4),s),!s)throw O(new Rp(`The given graph is not a tree!`));for(i=k(P(Y(e,G4))),i==0&&(i=Z3e(e)),uP(e,G4,i),o=new D(P9e(this,e));o.a=3)for(S=F(U(b,0),26),ee=F(U(b,1),26),o=0;o+2=S.f+ee.f+d||ee.f>=x.f+S.f+d){ne=!0;break}++o}else ne=!0;if(ne){for(n=(SC(this.a),jS(this.a,(SN(),X4),F(Y(e,MFt),188)),jS(this.a,Z4,F(Y(e,TFt),188)),jS(this.a,Q4,F(Y(e,kFt),188)),bme(this.a,(re=new dC,wx(re,X4,(KF(),t3)),wx(re,Z4,e3),Hp(rb(Y(e,CFt)))&&wx(re,X4,n3),Hp(rb(Y(e,gFt)))&&wx(re,X4,$4),re)),mz(this.a,e)),u=1/n.c.length,te=0,h=new D(n);h.a0&&oGe((uT(t-1,e.length),e.charCodeAt(t-1)),Spt);)--t;if(r>=t)throw O(new Rp(`The given string does not contain any numbers.`));if(i=jR((rD(r,t,e.length),e.substr(r,t-r)),`,|;|\r| -`),i.length!=2)throw O(new Rp(`Exactly two numbers are expected, `+i.length+` were found.`));try{this.a=iI(CI(i[0])),this.b=iI(CI(i[1]))}catch(e){throw e=LA(e),N(e,131)?(n=e,O(new Rp(Cpt+n))):O(e)}},Q.Ib=function(){return`(`+this.a+`,`+this.b+`)`},Q.a=0,Q.b=0;var s6=R(SU,`KVector`,8);J(79,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,79:1,414:1},Wf,jm,k_e),Q.Nc=function(){return jWe(this)},Q.ag=function(e){var t,n,r=jR(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),i,a,o;XC(this);try{for(n=0,a=0,i=0,o=0;n0&&(a%2==0?i=iI(r[n]):o=iI(r[n]),a>0&&a%2!=0&&mx(this,new j(i,o)),++a),++n}catch(e){throw e=LA(e),N(e,131)?(t=e,O(new Rp(`The given string does not match the expected format for vectors.`+t))):O(e)}},Q.Ib=function(){for(var e=new vy(`(`),t=$N(this,0),n;t.b!=t.d.c;)n=F(HT(t),8),Q_(e,n.a+`,`+n.b),t.b!=t.d.c&&(e.a+=`; `);return(e.a+=`)`,e).a};var tLt=R(SU,`KVectorChain`,79);J(256,24,{3:1,35:1,24:1,256:1},f_);var c6,l6,u6,d6,f6,p6,nLt=XO(lK,`Alignment`,256,LJ,XIe,Hxe),rLt;J(976,1,NH,pie),Q.tf=function(e){eit(e)};var iLt,m6,aLt,oLt,sLt,cLt,lLt,uLt,dLt,fLt,pLt,mLt;R(lK,`BoxLayouterOptions`,976),J(977,1,{},Hne),Q.uf=function(){return new Wne},Q.vf=function(e){},R(lK,`BoxLayouterOptions/BoxFactory`,977),J(299,24,{3:1,35:1,24:1,299:1},p_);var h6,g6,_6,v6,y6,b6,x6=XO(lK,`ContentAlignment`,299,LJ,$Ie,Uxe),hLt;J(689,1,NH,Sc),Q.tf=function(e){GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,qgt),``),`Layout Algorithm`),`Select a specific layout algorithm.`),(gI(),a6)),aY),VM((ZN(),X3))))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,Jgt),``),`Resolved Layout Algorithm`),`Meta data associated with the selected algorithm.`),i6),YIt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,eht),``),`Alignment`),`Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm.`),_Lt),t6),nLt),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,BH),``),`Aspect Ratio`),`The desired aspect ratio of the drawing, that is the quotient of width by height.`),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,Ygt),``),`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.`),i6),tLt),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,XW),``),`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.`),SLt),n6),x6),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,JW),``),`Debug Mode`),`Whether additional debug information shall be generated.`),(xy(),!1)),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,YW),``),`Direction`),`Overall direction of edges: horizontal (right / left) or vertical (down / up).`),CLt),t6),x8),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,VW),``),`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.`),ELt),t6),j8),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Ggt),``),`Expand Nodes`),`If active, nodes are expanded to fill the area of their parent.`),!1),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,BW),``),`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`."),ALt),t6),GRt),Kx(X3,W(A(Q3,1),Z,160,0,[Y3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,UH),``),`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.`),WLt),i6),qCt),Kx(X3,W(A(Q3,1),Z,160,0,[Y3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,WH),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,eG),``),`interactive Layout`),`Whether the graph should be changeable interactively and by setting constraints`),!1),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,qH),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,GH),``),`Port Constraints`),`Defines constraints of the position of the ports of a node.`),QLt),t6),ezt),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,$W),``),`Position`),`The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position.`),i6),s6),Kx(Y3,W(A(Q3,1),Z,160,0,[Z3,J3]))))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,LH),``),`Priority`),`Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used.`),r6),tY),Kx(Y3,W(A(Q3,1),Z,160,0,[q3]))))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,VH),``),`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).`),r6),tY),VM(X3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,HH),``),`Separate Connected Components`),`Whether each connected component should be processed separately.`),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,dht),``),`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.`),ILt),i6),tLt),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,hht),``),`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),$3),XJ),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,ght),``),`Hypernode`),`Whether the node should be handled as a hypernode.`),!1),$3),XJ),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,Xgt),``),`Label Manager`),`Label managers can shorten labels upon a layout algorithm's request.`),i6),sHt),Kx(X3,W(A(Q3,1),Z,160,0,[J3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Zgt),``),`Softwrapping Fuzziness`),`Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line.`),0),e6),$J),VM(J3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,vht),``),`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.`),LLt),i6),GCt),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Qmt),``),`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),$3),XJ),Kx(Y3,W(A(Q3,1),Z,160,0,[q3,Z3,J3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Qgt),``),`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),e6),$J),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,$gt),``),`Child Area Width`),`The width of the area occupied by the laid out children of a node.`),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,e_t),``),`Child Area Height`),`The height of the area occupied by the laid out children of a node.`),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,$H),``),zgt),`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),$3),XJ),VM(X3)))),kT(e,$H,rU,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,t_t),``),`Animate`),`Whether the shift from the old layout to the new computed layout shall be animated.`),!0),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,n_t),``),`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'.`),K(100)),r6),tY),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,r_t),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,i_t),``),`Maximal Animation Time`),`The maximal time for animations, in milliseconds.`),K(4e3)),r6),tY),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,a_t),``),`Minimal Animation Time`),`The minimal time for animations, in milliseconds.`),K(400)),r6),tY),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,o_t),``),`Progress Bar`),`Whether a progress bar shall be displayed during layout computations.`),!1),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,s_t),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,c_t),``),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,l_t),``),`Zoom to Fit`),`Whether the zoom level shall be set to view the whole diagram after layout.`),!1),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Kgt),`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.`),bLt),t6),kzt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,u_t),`json`),`Shape Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports.`),FLt),t6),dzt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,d_t),`json`),`Edge Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels.`),NLt),t6),ERt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Bmt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Vmt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Hmt),HW),`Components Spacing`),`Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated.`),20),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Umt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,zH),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,qW),HW),`Edge Node Spacing`),`Spacing to be preserved between nodes and edges.`),10),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Wmt),HW),`Label Spacing`),`Determines the amount of space to be left between two labels of the same graph element.`),0),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,qmt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Gmt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Kmt),HW),`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),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,RH),HW),`Node Spacing`),`The minimal distance to be preserved between each two nodes.`),20),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Jmt),HW),`Node Self Loop Spacing`),`Spacing to be preserved between a node and its self loops.`),10),e6),$J),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,Ymt),HW),`Port Spacing`),`Spacing between pairs of ports of the same node.`),10),e6),$J),Kx(X3,W(A(Q3,1),Z,160,0,[Y3]))))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,Xmt),HW),`Individual Spacing`),`Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent.`),i6),jzt),Kx(Y3,W(A(Q3,1),Z,160,0,[q3,Z3,J3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,yht),HW),`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.`),mRt),i6),GCt),VM(X3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,QW),__t),`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).`),r6),tY),Kx(X3,W(A(Q3,1),Z,160,0,[Y3]))))),kT(e,QW,ZW,JLt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,ZW),__t),`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.`),KLt),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,rht),v_t),`Node Label Padding`),`Define padding for node labels that are placed inside of a node.`),zLt),i6),qCt),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,ZH),v_t),`Node Label Placement`),`Hints for where node labels are to be placed; if empty, the node label's position is not modified.`),BLt),n6),Y8),Kx(Y3,W(A(Q3,1),Z,160,0,[J3]))))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,oht),pK),`Port Alignment`),`Defines the default port distribution for a node. May be overridden for each side individually.`),XLt),t6),$8),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,sht),pK),`Port Alignment (North)`),`Defines how ports on the northern side are placed, overriding the node's general port alignment.`),t6),$8),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,cht),pK),`Port Alignment (South)`),`Defines how ports on the southern side are placed, overriding the node's general port alignment.`),t6),$8),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,lht),pK),`Port Alignment (West)`),`Defines how ports on the western side are placed, overriding the node's general port alignment.`),t6),$8),VM(Y3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,uht),pK),`Port Alignment (East)`),`Defines how ports on the eastern side are placed, overriding the node's general port alignment.`),t6),$8),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,XH),mK),`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.`),VLt),n6),B5),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,YH),mK),`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.`),ULt),n6),hzt),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,aU),mK),`Node Size Minimum`),`The minimal size to which a node can be reduced.`),HLt),i6),s6),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,JH),mK),`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),$3),XJ),VM(X3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,pht),WW),`Edge Label Placement`),`Gives a hint on where to put edge labels.`),wLt),t6),ORt),VM(J3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,KH),WW),`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),$3),XJ),VM(J3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,f_t),`font`),`Font Name`),`Font name used for a label.`),a6),aY),VM(J3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,p_t),`font`),`Font Size`),`Font size used for a label.`),r6),tY),VM(J3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,_ht),hK),`Port Anchor Offset`),`The offset to the port position where connections shall be attached.`),i6),s6),VM(Z3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,mht),hK),`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.`),r6),tY),VM(Z3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,$mt),hK),`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.`),tRt),t6),P5),VM(Z3)))),GM(e,new hI(Om(Dm(km(Sm(Em(wm(Tm(new $a,Zmt),hK),`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.`),e6),$J),VM(Z3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,QH),y_t),`Port Label Placement`),`Decides on a placement method for port labels; if empty, the node label's position is not modified.`),$Lt),n6),f5),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,iht),y_t),`Port Labels Next to Port`),`Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE.`),!1),$3),XJ),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,aht),y_t),`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),$3),XJ),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,dK),gK),`Number of size categories`),`Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator.`),K(3)),r6),tY),VM(X3)))),kT(e,dK,fK,xRt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,m_t),gK),`Weight of a node containing children for determining the graph size`),`When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five.`),K(4)),r6),tY),VM(X3)))),kT(e,m_t,dK,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,eU),gK),`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),e6),$J),VM(X3)))),kT(e,eU,rU,vRt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,fK),gK),`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),i6),qRt),VM(Y3)))),kT(e,fK,rU,yRt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,tU),gK),`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),e6),$J),Kx(X3,W(A(Q3,1),Z,160,0,[Y3]))))),kT(e,tU,rU,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,nU),gK),`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),e6),$J),Kx(X3,W(A(Q3,1),Z,160,0,[Y3]))))),kT(e,nU,rU,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,rU),gK),`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),t6),vzt),VM(Y3)))),kT(e,rU,JH,null),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,h_t),gK),`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),e6),$J),VM(X3)))),kT(e,h_t,rU,_Rt),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,tht),b_t),`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),$3),XJ),VM(Y3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,nht),b_t),`Inside Self Loop`),`Whether a self loop should be routed inside a node instead of around that node.`),!1),$3),XJ),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,fht),`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),e6),$J),VM(q3)))),GM(e,new hI(Om(Dm(km(Cm(Sm(Em(wm(Tm(new $a,g_t),`edge`),`Edge Type`),`The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations.`),OLt),t6),LRt),VM(q3)))),Ih(e,new $w(ym(xm(bm(new Va,NV),`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.`))),Ih(e,new $w(ym(xm(bm(new Va,`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.`))),Ih(e,new $w(ym(xm(bm(new Va,IH),`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.`))),Ih(e,new $w(ym(xm(bm(new Va,`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.`))),Ih(e,new $w(ym(xm(bm(new Va,Wht),`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.`))),Ih(e,new $w(ym(xm(bm(new Va,`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.`))),Ih(e,new $w(ym(xm(bm(new Va,LG),`Radial`),`Radial layout algorithms usually position the nodes of the graph on concentric circles.`))),Int((new Cc,e)),eit((new pie,e)),dtt((new mie,e))};var S6,gLt,_Lt,C6,vLt,yLt,bLt,w6,T6,xLt,E6,SLt,D6,O6,CLt,k6,A6,wLt,TLt,ELt,DLt,OLt,kLt,j6,ALt,jLt,M6,N6,P6,F6,MLt,NLt,PLt,FLt,I6,ILt,L6,LLt,RLt,zLt,R6,BLt,z6,VLt,B6,V6,HLt,H6,ULt,U6,W6,G6,WLt,GLt,KLt,qLt,JLt,YLt,XLt,K6,q6,J6,Y6,ZLt,X6,Z6,QLt,Q6,$6,e8,$Lt,eRt,t8,tRt,n8,r8,i8,a8,nRt,o8,rRt,iRt,aRt,oRt,sRt,cRt,s8,lRt,c8,uRt,dRt,l8,fRt,pRt,mRt,hRt,u8,d8,f8,p8,gRt,_Rt,m8,vRt,h8,yRt,bRt,xRt,SRt;R(lK,`CoreOptions`,689),J(86,24,{3:1,35:1,24:1,86:1},m_);var g8,_8,v8,y8,b8,x8=XO(lK,`Direction`,86,LJ,LPe,Wxe),CRt;J(278,24,{3:1,35:1,24:1,278:1},h_);var S8,C8,wRt,TRt,ERt=XO(lK,`EdgeCoords`,278,LJ,ONe,Gxe),DRt;J(279,24,{3:1,35:1,24:1,279:1},g_);var w8,T8,E8,ORt=XO(lK,`EdgeLabelPlacement`,279,LJ,gje,Kxe),kRt;J(222,24,{3:1,35:1,24:1,222:1},__);var D8,O8,k8,A8,j8=XO(lK,`EdgeRouting`,222,LJ,jNe,qxe),ARt;J(328,24,{3:1,35:1,24:1,328:1},v_);var jRt,MRt,NRt,PRt,FRt,IRt,LRt=XO(lK,`EdgeType`,328,LJ,eLe,Jxe),RRt;J(974,1,NH,Cc),Q.tf=function(e){Int(e)};var zRt,BRt,VRt,HRt,URt,WRt,M8;R(lK,`FixedLayouterOptions`,974),J(975,1,{},Une),Q.uf=function(){return new to},Q.vf=function(e){},R(lK,`FixedLayouterOptions/FixedFactory`,975),J(347,24,{3:1,35:1,24:1,347:1},y_);var N8,P8,F8,GRt=XO(lK,`HierarchyHandling`,347,LJ,_je,Yxe),KRt,qRt=Ax(lK,`ITopdownSizeApproximator`);J(292,24,{3:1,35:1,24:1,292:1},b_);var I8,L8,R8,z8,JRt=XO(lK,`LabelSide`,292,LJ,MNe,Xxe),YRt;J(96,24,{3:1,35:1,24:1,96:1},x_);var B8,V8,H8,U8,W8,G8,K8,q8,J8,Y8=XO(lK,`NodeLabelPlacement`,96,LJ,qze,Zxe),XRt;J(257,24,{3:1,35:1,24:1,257:1},S_);var ZRt,X8,Z8,QRt,Q8,$8=XO(lK,`PortAlignment`,257,LJ,aFe,Qxe),$Rt;J(102,24,{3:1,35:1,24:1,102:1},C_);var e5,t5,n5,r5,i5,a5,ezt=XO(lK,`PortConstraints`,102,LJ,ZIe,$xe),tzt;J(280,24,{3:1,35:1,24:1,280:1},w_);var o5,s5,c5,l5,u5,d5,f5=XO(lK,`PortLabelPlacement`,280,LJ,QIe,eSe),nzt;J(64,24,{3:1,35:1,24:1,64:1},E_);var p5,m5,h5,g5,_5,v5,y5,b5,x5,S5,C5,w5,T5,E5,D5,O5,k5,A5,j5,M5,N5,P5=XO(lK,`PortSide`,64,LJ,RPe,tSe),rzt;J(978,1,NH,mie),Q.tf=function(e){dtt(e)};var izt,azt,ozt,szt,czt;R(lK,`RandomLayouterOptions`,978),J(979,1,{},eo),Q.uf=function(){return new ao},Q.vf=function(e){},R(lK,`RandomLayouterOptions/RandomFactory`,979),J(300,24,{3:1,35:1,24:1,300:1},T_);var F5,lzt,uzt,dzt=XO(lK,`ShapeCoords`,300,LJ,vje,nSe),fzt;J(380,24,{3:1,35:1,24:1,380:1},D_);var I5,L5,R5,z5,B5=XO(lK,`SizeConstraint`,380,LJ,ANe,rSe),pzt;J(266,24,{3:1,35:1,24:1,266:1},O_);var V5,H5,U5,mzt,W5,G5,K5,q5,J5,hzt=XO(lK,`SizeOptions`,266,LJ,wBe,iSe),gzt;J(281,24,{3:1,35:1,24:1,281:1},k_);var Y5,_zt,X5,vzt=XO(lK,`TopdownNodeTypes`,281,LJ,yje,aSe),yzt;J(288,24,yK);var bzt,xzt,Szt,Czt,Z5=XO(lK,`TopdownSizeApproximator`,288,LJ,kNe,oSe);J(970,288,yK,NCe),Q.Sg=function(e){return TXe(e)},XO(lK,`TopdownSizeApproximator/1`,970,Z5,null,null),J(971,288,yK,Jwe),Q.Sg=function(e){var t=F(Y(e,(Gz(),a8)),144),n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee=(Nm(),m=new Hf,m),te,ne,C;for(CL(ee,e),te=new Cd,o=new dy((!e.a&&(e.a=new I(p7,e,10,11)),e.a));o.e!=o.i.gc();)i=F(nP(o),26),y=(p=new Hf,p),SL(y,ee),CL(y,i),C=TXe(i),Cv(y,r.Math.max(i.g,C.a),r.Math.max(i.f,C.b)),EI(te.f,i,y);for(a=new dy((!e.a&&(e.a=new I(p7,e,10,11)),e.a));a.e!=a.i.gc();)for(i=F(nP(a),26),d=new dy((!i.e&&(i.e=new kb(i7,i,7,4)),i.e));d.e!=d.i.gc();)u=F(nP(d),85),x=F(V_(Jx(te.f,i)),26),S=F(JS(te,U((!u.c&&(u.c=new kb(r7,u,5,8)),u.c),0)),26),b=(f=new so,f),cD((!b.b&&(b.b=new kb(r7,b,4,7)),b.b),x),cD((!b.c&&(b.c=new kb(r7,b,5,8)),b.c),S),yL(b,Bw(x)),CL(b,u);g=F(yw(t.f),214);try{g.kf(ee,new ro),gDe(t.f,g)}catch(e){throw e=LA(e),N(e,101)?(h=e,O(h)):O(e)}return nD(ee,T6)||nD(ee,w6)||Iz(ee),l=k(P(Y(ee,T6))),c=k(P(Y(ee,w6))),s=l/c,n=k(P(Y(ee,d8)))*r.Math.sqrt((!ee.a&&(ee.a=new I(p7,ee,10,11)),ee.a).i),ne=F(Y(ee,G6),104),v=ne.b+ne.c+1,_=ne.d+ne.a+1,new j(r.Math.max(v,n),r.Math.max(_,n/s))},XO(lK,`TopdownSizeApproximator/2`,971,Z5,null,null),J(972,288,yK,kke),Q.Sg=function(e){var t,n=k(P(Y(e,(Gz(),d8)))),r,i,a,o;return t=n/k(P(Y(e,u8))),r=Kit(e),a=F(Y(e,G6),104),i=k(P(tP(l8))),Bw(e)&&(i=k(P(Y(Bw(e),l8)))),o=ry(new j(n,t),r),Tb(o,new j(-(a.b+a.c)-i,-(a.d+a.a)-i))},XO(lK,`TopdownSizeApproximator/3`,972,Z5,null,null),J(973,288,yK,CTe),Q.Sg=function(e){for(var t,n,i,a,o,s=new dy((!e.a&&(e.a=new I(p7,e,10,11)),e.a)),c,l,u,d;s.e!=s.i.gc();)o=F(nP(s),26),Y(o,(Gz(),h8))!=null&&(!o.a&&(o.a=new I(p7,o,10,11)),o.a)&&(!o.a&&(o.a=new I(p7,o,10,11)),o.a).i>0?(n=F(Y(o,h8),522),d=n.Sg(o),u=F(Y(o,G6),104),Cv(o,r.Math.max(o.g,d.a+u.b+u.c),r.Math.max(o.f,d.b+u.d+u.a))):(!o.a&&(o.a=new I(p7,o,10,11)),o.a).i!=0&&Cv(o,k(P(Y(o,d8))),k(P(Y(o,d8)))/k(P(Y(o,u8))));t=F(Y(e,(Gz(),a8)),144),l=F(yw(t.f),214);try{l.kf(e,new ro),gDe(t.f,l)}catch(e){throw e=LA(e),N(e,101)?(c=e,O(c)):O(e)}return uP(e,S6,_K),cPe(e),Iz(e),a=k(P(Y(e,T6))),i=k(P(Y(e,w6))),new j(a,i)},XO(lK,`TopdownSizeApproximator/4`,973,Z5,null,null);var wzt;J(345,1,{853:1},ip),Q.Tg=function(e,t){return l0e(this,e,t)},Q.Ug=function(){q2e(this)},Q.Vg=function(){return this.q},Q.Wg=function(){return this.f?rw(this.f):null},Q.Xg=function(){return rw(this.a)},Q.Yg=function(){return this.p},Q.Zg=function(){return!1},Q.$g=function(){return this.n},Q._g=function(){return this.p!=null&&!this.b},Q.ah=function(e){var t;this.n&&(t=e,iy(this.f,t))},Q.bh=function(e,t){var n,r;this.n&&e&&Uje(this,(n=new hEe,r=vR(n,e),Kct(n),r),(Tj(),Nzt))},Q.dh=function(e){var t;return this.b?null:(t=sze(this,this.g),mx(this.a,t),t.i=this,this.d=e,t)},Q.eh=function(e){e>0&&!this.b&&IBe(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(tG,`BasicProgressMonitor`,345),J(706,214,wH,Wne),Q.kf=function(e,t){Hit(e,t)},R(tG,`BoxLayoutProvider`,706),J(966,1,iH,Koe),Q.Le=function(e,t){return a9e(this,F(e,26),F(t,26))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},Q.a=!1,R(tG,`BoxLayoutProvider/1`,966),J(167,1,{167:1},wO,O_e),Q.Ib=function(){return this.c?mnt(this.c):eI(this.b)},R(tG,`BoxLayoutProvider/Group`,167),J(327,24,{3:1,35:1,24:1,327:1},j_);var Tzt,Ezt,Dzt,Ozt,kzt=XO(tG,`BoxLayoutProvider/PackingMode`,327,LJ,NNe,sSe),Azt;J(967,1,iH,Jne),Q.Le=function(e,t){return TOe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(tG,`BoxLayoutProvider/lambda$0$Type`,967),J(968,1,iH,Yne),Q.Le=function(e,t){return oOe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(tG,`BoxLayoutProvider/lambda$1$Type`,968),J(969,1,iH,Xne),Q.Le=function(e,t){return sOe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(tG,`BoxLayoutProvider/lambda$2$Type`,969),J(1339,1,{830:1},Zne),Q.Lg=function(e,t){return kh(),!N(t,174)||Ule((KA(),F(e,174)),t)},R(tG,`ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type`,1339),J(1340,1,wB,qoe),Q.Ad=function(e){KWe(this.a,F(e,147))},R(tG,`ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type`,1340),J(1341,1,wB,io),Q.Ad=function(e){F(e,105),kh()},R(tG,`ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type`,1341),J(1345,1,wB,Joe),Q.Ad=function(e){lVe(this.a,F(e,105))},R(tG,`ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type`,1345),J(1343,1,VB,Zfe),Q.Mb=function(e){return eWe(this.a,this.b,F(e,147))},R(tG,`ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type`,1343),J(1342,1,VB,Qfe),Q.Mb=function(e){return b_e(this.a,this.b,F(e,830))},R(tG,`ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type`,1342),J(1344,1,wB,$fe),Q.Ad=function(e){fTe(this.a,this.b,F(e,147))},R(tG,`ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type`,1344),J(931,1,{},Kne),Q.Kb=function(e){return wme(e)},Q.Fb=function(e){return this===e},R(tG,`ElkUtil/lambda$0$Type`,931),J(932,1,wB,epe),Q.Ad=function(e){A6e(this.a,this.b,F(e,85))},Q.a=0,Q.b=0,R(tG,`ElkUtil/lambda$1$Type`,932),J(933,1,wB,tpe),Q.Ad=function(e){lce(this.a,this.b,F(e,170))},Q.a=0,Q.b=0,R(tG,`ElkUtil/lambda$2$Type`,933),J(934,1,wB,npe),Q.Ad=function(e){Gme(this.a,this.b,F(e,157))},Q.a=0,Q.b=0,R(tG,`ElkUtil/lambda$3$Type`,934),J(935,1,wB,Yoe),Q.Ad=function(e){kCe(this.a,F(e,372))},R(tG,`ElkUtil/lambda$4$Type`,935),J(331,1,{35:1,331:1},xd),Q.Dd=function(e){return qhe(this,F(e,242))},Q.Fb=function(e){var t;return N(e,331)?(t=F(e,331),this.a==t.a):!1},Q.Hb=function(){return Ew(this.a)},Q.Ib=function(){return this.a+` (exclusive)`},Q.a=0,R(tG,`ExclusiveBounds/ExclusiveLowerBound`,331),J(1089,214,wH,to),Q.kf=function(e,t){var n,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Tg(`Fixed Layout`,1),o=F(Y(e,(Gz(),TLt)),222),p=0,m=0,b=new dy((!e.a&&(e.a=new I(p7,e,10,11)),e.a));b.e!=b.i.gc();){for(v=F(nP(b),26),C=F(Y(v,(bj(),M8)),8),C&&(wv(v,C.a,C.b),F(Y(v,BRt),182).Gc((CN(),I5))&&(h=F(Y(v,HRt),8),h.a>0&&h.b>0&&jz(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 dy((!v.n&&(v.n=new I(f7,v,1,7)),v.n));u.e!=u.i.gc();)c=F(nP(u),157),C=F(Y(c,M8),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 dy((!v.c&&(v.c=new I(m7,v,9,9)),v.c));ee.e!=ee.i.gc();)for(S=F(nP(ee),125),C=F(Y(S,M8),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 dy((!S.n&&(S.n=new I(f7,S,1,7)),S.n));l.e!=l.i.gc();)c=F(nP(l),157),C=F(Y(c,M8),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 iS(my(pL(v).a.Jc(),new f));eL(a);)n=F(OE(a),85),d=Qlt(n),p=r.Math.max(p,d.a),m=r.Math.max(m,d.b);for(i=new iS(my(fL(v).a.Jc(),new f));eL(i);)n=F(OE(i),85),Bw($F(n))!=e&&(d=Qlt(n),p=r.Math.max(p,d.a),m=r.Math.max(m,d.b))}if(o==(gM(),D8))for(y=new dy((!e.a&&(e.a=new I(p7,e,10,11)),e.a));y.e!=y.i.gc();)for(v=F(nP(y),26),i=new iS(my(pL(v).a.Jc(),new f));eL(i);)n=F(OE(i),85),s=mit(n),s.b==0?uP(n,I6,null):uP(n,I6,s);Hp(rb(Y(e,(bj(),VRt))))||(x=F(Y(e,URt),104),_=p+x.b+x.c,g=m+x.d+x.a,jz(e,_,g,!0,!0)),t.Ug()},R(tG,`FixedLayoutProvider`,1089),J(379,150,{3:1,414:1,379:1,105:1,150:1},no,_Re),Q.ag=function(e){var t,n,r,i,a,o,s,c,l;if(e)try{for(c=jR(e,`;,;`),a=c,o=0,s=a.length;o>16&ZB|t^r<<16},Q.Jc=function(){return new Xoe(this)},Q.Ib=function(){return this.a==null&&this.b==null?`pair(null,null)`:this.a==null?`pair(null,`+qM(this.b)+`)`:this.b==null?`pair(`+qM(this.a)+`,null)`:`pair(`+qM(this.a)+`,`+qM(this.b)+`)`},R(tG,`Pair`,49),J(980,1,pB,Xoe),Q.Nb=function(e){CS(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 Yd)},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 Kd)},Q.b=!1,Q.c=!1,R(tG,`Pair/1`,980),J(1079,214,wH,ao),Q.kf=function(e,t){var n,r,i,a,o;t.Tg(`Random Layout`,1),(!e.a&&(e.a=new I(p7,e,10,11)),e.a).i==0||(a=F(Y(e,(dJe(),szt)),15),i=a&&a.a!=0?new uE(a.a):new UM,n=Up(P(Y(e,izt))),o=Up(P(Y(e,czt))),r=F(Y(e,azt),104),blt(e,i,n,o,r)),t.Ug()},R(tG,`RandomLayoutProvider`,1079),J(240,1,{240:1},Qb),Q.Fb=function(e){return yC(this.a,F(e,240).a)&&yC(this.b,F(e,240).b)&&yC(this.c,F(e,240).c)},Q.Hb=function(){return Mj(W(A(OJ,1),sB,1,5,[this.a,this.b,this.c]))},Q.Ib=function(){return`(`+this.a+oB+this.b+oB+this.c+`)`},R(tG,`Triple`,240);var Rzt;J(551,1,{}),Q.Jf=function(){return new j(this.f.i,this.f.j)},Q.mf=function(e){return ZOe(e,(Gz(),X6))?Y(this.f,zzt):Y(this.f,e)},Q.Kf=function(){return new j(this.f.g,this.f.f)},Q.Lf=function(){return this.g},Q.nf=function(e){return nD(this.f,e)},Q.Mf=function(e){BO(this.f,e.a),VO(this.f,e.b)},Q.Nf=function(e){zO(this.f,e.a),PO(this.f,e.b)},Q.Of=function(e){this.g=e},Q.g=0;var zzt;R(bK,`ElkGraphAdapters/AbstractElkGraphElementAdapter`,551),J(553,1,{838:1},qu),Q.Pf=function(){var e,t;if(!this.b)for(this.b=jT(CC(this.a).i),t=new dy(CC(this.a));t.e!=t.i.gc();)e=F(nP(t),157),iy(this.b,new Fp(e));return this.b},Q.b=null,R(bK,`ElkGraphAdapters/ElkEdgeAdapter`,553),J(260,551,{},Ip),Q.Qf=function(){return OZe(this)},Q.a=null,R(bK,`ElkGraphAdapters/ElkGraphAdapter`,260),J(631,551,{187:1},Fp),R(bK,`ElkGraphAdapters/ElkLabelAdapter`,631),J(552,551,{685:1},jy),Q.Pf=function(){return EZe(this)},Q.Tf=function(){var e=F(Y(this.f,(Gz(),L6)),140);return!e&&(e=new Ff),e},Q.Vf=function(){return DZe(this)},Q.Xf=function(e){var t=new Gb(e);uP(this.f,(Gz(),L6),t)},Q.Yf=function(e){uP(this.f,(Gz(),G6),new hbe(e))},Q.Rf=function(){return this.d},Q.Sf=function(){var e,t;if(!this.a)for(this.a=new Sd,t=new iS(my(fL(F(this.f,26)).a.Jc(),new f));eL(t);)e=F(OE(t),85),iy(this.a,new qu(e));return this.a},Q.Uf=function(){var e,t;if(!this.c)for(this.c=new Sd,t=new iS(my(pL(F(this.f,26)).a.Jc(),new f));eL(t);)e=F(OE(t),85),iy(this.c,new qu(e));return this.c},Q.Wf=function(){return ew(F(this.f,26)).i!=0||Hp(rb(F(this.f,26).mf((Gz(),M6))))},Q.Zf=function(){fRe(this,(Rh(),Rzt))},Q.a=null,Q.b=null,Q.c=null,Q.d=null,Q.e=null,R(bK,`ElkGraphAdapters/ElkNodeAdapter`,552),J(1251,551,{837:1},hse),Q.Pf=function(){return zZe(this)},Q.Sf=function(){var e,t;if(!this.a)for(this.a=Ry(F(this.f,125).gh().i),t=new dy(F(this.f,125).gh());t.e!=t.i.gc();)e=F(nP(t),85),iy(this.a,new qu(e));return this.a},Q.Uf=function(){var e,t;if(!this.c)for(this.c=Ry(F(this.f,125).hh().i),t=new dy(F(this.f,125).hh());t.e!=t.i.gc();)e=F(nP(t),85),iy(this.c,new qu(e));return this.c},Q.$f=function(){return F(F(this.f,125).mf((Gz(),t8)),64)},Q._f=function(){var e,t,n,r=Fw(F(this.f,125)),i,a,o,s;for(n=new dy(F(this.f,125).hh());n.e!=n.i.gc();)for(e=F(nP(n),85),s=new dy((!e.c&&(e.c=new kb(r7,e,5,8)),e.c));s.e!=s.i.gc();)if(o=F(nP(s),84),yO(RF(o),r)||RF(o)==r&&Hp(rb(Y(e,(Gz(),N6)))))return!0;for(t=new dy(F(this.f,125).gh());t.e!=t.i.gc();)for(e=F(nP(t),85),a=new dy((!e.b&&(e.b=new kb(r7,e,4,7)),e.b));a.e!=a.i.gc();)if(i=F(nP(a),84),yO(RF(i),r))return!0;return!1},Q.a=null,Q.b=null,Q.c=null,R(bK,`ElkGraphAdapters/ElkPortAdapter`,1251),J(1252,1,iH,Qne),Q.Le=function(e,t){return pnt(F(e,125),F(t,125))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(bK,`ElkGraphAdapters/PortComparator`,1252);var Q5=Ax(xK,`EObject`),$5=Ax(SK,w_t),e7=Ax(SK,T_t),t7=Ax(SK,E_t),n7=Ax(SK,`ElkShape`),r7=Ax(SK,D_t),i7=Ax(SK,O_t),a7=Ax(SK,k_t),o7=Ax(xK,A_t),s7=Ax(xK,`EFactory`),Bzt,Vzt=Ax(xK,j_t),c7=Ax(xK,`EPackage`),l7,Hzt,Uzt,Wzt,u7,Gzt,Kzt,qzt,Jzt,d7,Yzt,Xzt,f7=Ax(SK,M_t),p7=Ax(SK,N_t),m7=Ax(SK,P_t);J(93,1,F_t),Q.qh=function(){return this.rh(),null},Q.rh=function(){return null},Q.sh=function(){return this.rh(),!1},Q.th=function(){return!1},Q.uh=function(e){aA(this,e)},R(CK,`BasicNotifierImpl`,93),J(100,93,z_t),Q.Vh=function(){return vv(this)},Q.vh=function(e,t){return e},Q.wh=function(){throw O(new Jd)},Q.xh=function(e){var t=EP(F(fO(this.Ah(),this.Ch()),19));return this.Mh().Qh(this,t.n,t.f,e)},Q.yh=function(e,t){throw O(new Jd)},Q.zh=function(e,t,n){return SR(this,e,t,n)},Q.Ah=function(){var e;return this.wh()&&(e=this.wh().Lk(),e)?e:this.fi()},Q.Bh=function(){return QI(this)},Q.Ch=function(){throw O(new Jd)},Q.Dh=function(){var e,t=this.Xh().Mk();return!t&&this.wh().Rk(t=(Vh(),e=Tke(PR(this.Ah())),e==null?JBt:new My(this,e))),t},Q.Eh=function(e,t){return e},Q.Fh=function(e){return e.nk()?e.Jj():sN(this.Ah(),e)},Q.Gh=function(){var e=this.wh();return e?e.Ok():null},Q.Hh=function(){return this.wh()?this.wh().Lk():null},Q.Ih=function(e,t,n){return pP(this,e,t,n)},Q.Jh=function(e){return _D(this,e)},Q.Kh=function(e,t){return jE(this,e,t)},Q.Lh=function(){var e=this.wh();return!!e&&e.Pk()},Q.Mh=function(){throw O(new Jd)},Q.Nh=function(){return BN(this)},Q.Oh=function(e,t,n,r){return lP(this,e,t,r)},Q.Ph=function(e,t,n){return F(fO(this.Ah(),t),69).uk().xk(this,this.ei(),t-this.gi(),e,n)},Q.Qh=function(e,t,n,r){return vw(this,e,t,r)},Q.Rh=function(e,t,n){return F(fO(this.Ah(),t),69).uk().yk(this,this.ei(),t-this.gi(),e,n)},Q.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},Q.Th=function(e){return eP(this,e)},Q.Uh=function(e){return Qke(this,e)},Q.Wh=function(e){return Nct(this,e)},Q.Xh=function(){throw O(new Jd)},Q.Yh=function(){return this.wh()?this.wh().Nk():null},Q.Zh=function(){return BN(this)},Q.$h=function(e,t){OI(this,e,t)},Q._h=function(e){this.Xh().Qk(e)},Q.ai=function(e){this.Xh().Tk(e)},Q.bi=function(e){this.Xh().Sk(e)},Q.ci=function(e,t){var n,r,i,a=this.Gh();return a&&e&&(t=fP(a.Cl(),this,t),a.Gl(this)),r=this.Mh(),r&&((uR(this,this.Mh(),this.Ch()).Bb&PV)==0?(t=(n=this.Ch(),n>=0?this.xh(t):this.Mh().Qh(this,-1-n,null,t)),t=this.zh(null,-1,t)):(i=r.Nh(),i&&(e?!a&&i.Gl(this):i.Fl(this)))),this.ai(e),t},Q.di=function(e){var t,n=this.Ah(),r,i,a=sN(n,e),o,s,c;if(t=this.gi(),a>=t)return F(e,69).uk().Bk(this,this.ei(),a-t);if(a<=-1){if(o=gz((vI(),p9),n,e),o){if(Wh(),F(o,69).vk()||(o=pT(RD(p9,o))),i=(r=this.Fh(o),F(r>=0?this.Ih(r,!0,!0):WI(this,o,!0),163)),c=o.Gk(),c>1||c==-1)return F(F(i,219).Ql(e,!1),78)}else throw O(new Rp(wK+e.ve()+EK))}else if(e.Hk())return r=this.Fh(e),F(r>=0?this.Ih(r,!1,!0):WI(this,e,!1),78);return s=new xpe(this,e),s},Q.ei=function(){return uRe(this)},Q.fi=function(){return(zS(),K7).S},Q.gi=function(){return BS(this.fi())},Q.hi=function(e){mI(this,e)},Q.Ib=function(){return aL(this)},R(OK,`BasicEObjectImpl`,100);var Zzt;J(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),Q.ii=function(e){return dRe(this)[e]},Q.ji=function(e,t){qS(dRe(this),e,t)},Q.ki=function(e){qS(dRe(this),e,null)},Q.qh=function(){return F(pA(this,4),129)},Q.rh=function(){throw O(new Jd)},Q.sh=function(){return!!(this.Db&4)},Q.wh=function(){throw O(new Jd)},Q.li=function(e){IN(this,2,e)},Q.yh=function(e,t){this.Db=t<<16|this.Db&255,this.li(e)},Q.Ah=function(){return gw(this)},Q.Ch=function(){return this.Db>>16},Q.Dh=function(){var e,t;return Vh(),t=Tke(PR((e=F(pA(this,16),29),e||this.fi()))),t==null?JBt:new My(this,t)},Q.th=function(){return!(this.Db&1)},Q.Gh=function(){return F(pA(this,128),1999)},Q.Hh=function(){return F(pA(this,16),29)},Q.Lh=function(){return!!(this.Db&32)},Q.Mh=function(){return F(pA(this,2),52)},Q.Sh=function(){return!!(this.Db&64)},Q.Xh=function(){throw O(new Jd)},Q.Yh=function(){return F(pA(this,64),290)},Q._h=function(e){IN(this,16,e)},Q.ai=function(e){IN(this,128,e)},Q.bi=function(e){IN(this,64,e)},Q.ei=function(){return FN(this)},Q.Db=0,R(OK,`MinimalEObjectImpl`,117),J(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.li=function(e){this.Cb=e},Q.Mh=function(){return this.Cb},R(OK,`MinimalEObjectImpl/Container`,118),J(kK,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return VZe(this,e,t,n)},Q.Rh=function(e,t,n){return h2e(this,e,t,n)},Q.Th=function(e){return Yje(this,e)},Q.$h=function(e,t){nWe(this,e,t)},Q.fi=function(){return Lz(),Xzt},Q.hi=function(e){fUe(this,e)},Q.lf=function(){return RYe(this)},Q.fh=function(){return!this.o&&(this.o=new fD((Lz(),d7),g7,this,0)),this.o},Q.mf=function(e){return Y(this,e)},Q.nf=function(e){return nD(this,e)},Q.of=function(e,t){return uP(this,e,t)},R(AK,`EMapPropertyHolderImpl`,kK),J(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},co),Q.Ih=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return pP(this,e,t,n)},Q.Th=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return eP(this,e)},Q.$h=function(e,t){switch(e){case 0:FO(this,k(P(t)));return;case 1:IO(this,k(P(t)));return}OI(this,e,t)},Q.fi=function(){return Lz(),Hzt},Q.hi=function(e){switch(e){case 0:FO(this,0);return;case 1:IO(this,0);return}mI(this,e)},Q.Ib=function(){var e;return this.Db&64?aL(this):(e=new _y(aL(this)),e.a+=` (x: `,Im(e,this.a),e.a+=`, y: `,Im(e,this.b),e.a+=`)`,e.a)},Q.a=0,Q.b=0,R(AK,`ElkBendPointImpl`,559),J(727,kK,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return eKe(this,e,t,n)},Q.Ph=function(e,t,n){return VF(this,e,t,n)},Q.Rh=function(e,t,n){return NA(this,e,t,n)},Q.Th=function(e){return wHe(this,e)},Q.$h=function(e,t){R$e(this,e,t)},Q.fi=function(){return Lz(),Gzt},Q.hi=function(e){NGe(this,e)},Q.ih=function(){return this.k},Q.jh=function(){return CC(this)},Q.Ib=function(){return jM(this)},Q.k=null,R(AK,`ElkGraphElementImpl`,727),J(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return oqe(this,e,t,n)},Q.Th=function(e){return Eqe(this,e)},Q.$h=function(e,t){z$e(this,e,t)},Q.fi=function(){return Lz(),Yzt},Q.hi=function(e){Kqe(this,e)},Q.kh=function(){return this.f},Q.lh=function(){return this.g},Q.mh=function(){return this.i},Q.nh=function(){return this.j},Q.oh=function(e,t){Cv(this,e,t)},Q.ph=function(e,t){wv(this,e,t)},Q.Ib=function(){return oI(this)},Q.f=0,Q.g=0,Q.i=0,Q.j=0,R(AK,`ElkShapeImpl`,728),J(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return FXe(this,e,t,n)},Q.Ph=function(e,t,n){return g$e(this,e,t,n)},Q.Rh=function(e,t,n){return _$e(this,e,t,n)},Q.Th=function(e){return XUe(this,e)},Q.$h=function(e,t){q8e(this,e,t)},Q.fi=function(){return Lz(),Uzt},Q.hi=function(e){$Ye(this,e)},Q.gh=function(){return!this.d&&(this.d=new kb(i7,this,8,5)),this.d},Q.hh=function(){return!this.e&&(this.e=new kb(i7,this,7,4)),this.e},R(AK,`ElkConnectableShapeImpl`,729),J(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},so),Q.xh=function(e){return TQe(this,e)},Q.Ih=function(e,t,n){switch(e){case 3:return Pw(this);case 4:return!this.b&&(this.b=new kb(r7,this,4,7)),this.b;case 5:return!this.c&&(this.c=new kb(r7,this,5,8)),this.c;case 6:return!this.a&&(this.a=new I(a7,this,6,6)),this.a;case 7:return xy(),!this.b&&(this.b=new kb(r7,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new kb(r7,this,5,8)),this.c.i<=1));case 8:return xy(),!!XI(this);case 9:return xy(),!!BI(this);case 10:return xy(),!this.b&&(this.b=new kb(r7,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new kb(r7,this,5,8)),this.c.i!=0)}return eKe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 3:return this.Cb&&(n=(r=this.Db>>16,r>=0?TQe(this,n):this.Cb.Qh(this,-1-r,null,n))),yve(this,F(e,26),n);case 4:return!this.b&&(this.b=new kb(r7,this,4,7)),mN(this.b,e,n);case 5:return!this.c&&(this.c=new kb(r7,this,5,8)),mN(this.c,e,n);case 6:return!this.a&&(this.a=new I(a7,this,6,6)),mN(this.a,e,n)}return VF(this,e,t,n)},Q.Rh=function(e,t,n){switch(t){case 3:return yve(this,null,n);case 4:return!this.b&&(this.b=new kb(r7,this,4,7)),fP(this.b,e,n);case 5:return!this.c&&(this.c=new kb(r7,this,5,8)),fP(this.c,e,n);case 6:return!this.a&&(this.a=new I(a7,this,6,6)),fP(this.a,e,n)}return NA(this,e,t,n)},Q.Th=function(e){switch(e){case 3:return!!Pw(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 kb(r7,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new kb(r7,this,5,8)),this.c.i<=1));case 8:return XI(this);case 9:return BI(this);case 10:return!this.b&&(this.b=new kb(r7,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new kb(r7,this,5,8)),this.c.i!=0)}return wHe(this,e)},Q.$h=function(e,t){switch(e){case 3:yL(this,F(t,26));return;case 4:!this.b&&(this.b=new kb(r7,this,4,7)),fz(this.b),!this.b&&(this.b=new kb(r7,this,4,7)),VS(this.b,F(t,18));return;case 5:!this.c&&(this.c=new kb(r7,this,5,8)),fz(this.c),!this.c&&(this.c=new kb(r7,this,5,8)),VS(this.c,F(t,18));return;case 6:!this.a&&(this.a=new I(a7,this,6,6)),fz(this.a),!this.a&&(this.a=new I(a7,this,6,6)),VS(this.a,F(t,18));return}R$e(this,e,t)},Q.fi=function(){return Lz(),Wzt},Q.hi=function(e){switch(e){case 3:yL(this,null);return;case 4:!this.b&&(this.b=new kb(r7,this,4,7)),fz(this.b);return;case 5:!this.c&&(this.c=new kb(r7,this,5,8)),fz(this.c);return;case 6:!this.a&&(this.a=new I(a7,this,6,6)),fz(this.a);return}NGe(this,e)},Q.Ib=function(){return Qat(this)},R(AK,`ElkEdgeImpl`,271),J(443,kK,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},lo),Q.xh=function(e){return yQe(this,e)},Q.Ih=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 sy(e7,this,5)),this.a;case 6:return Zke(this);case 7:return t?TP(this):this.i;case 8:return t?wP(this):this.f;case 9:return!this.g&&(this.g=new kb(a7,this,9,10)),this.g;case 10:return!this.e&&(this.e=new kb(a7,this,10,9)),this.e;case 11:return this.d}return VZe(this,e,t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?yQe(this,n):this.Cb.Qh(this,-1-i,null,n))),bve(this,F(e,85),n);case 9:return!this.g&&(this.g=new kb(a7,this,9,10)),mN(this.g,e,n);case 10:return!this.e&&(this.e=new kb(a7,this,10,9)),mN(this.e,e,n)}return a=F(fO((r=F(pA(this,16),29),r||(Lz(),u7)),t),69),a.uk().xk(this,FN(this),t-BS((Lz(),u7)),e,n)},Q.Rh=function(e,t,n){switch(t){case 5:return!this.a&&(this.a=new sy(e7,this,5)),fP(this.a,e,n);case 6:return bve(this,null,n);case 9:return!this.g&&(this.g=new kb(a7,this,9,10)),fP(this.g,e,n);case 10:return!this.e&&(this.e=new kb(a7,this,10,9)),fP(this.e,e,n)}return h2e(this,e,t,n)},Q.Th=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!!Zke(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 Yje(this,e)},Q.$h=function(e,t){switch(e){case 1:HO(this,k(P(t)));return;case 2:UO(this,k(P(t)));return;case 3:LO(this,k(P(t)));return;case 4:RO(this,k(P(t)));return;case 5:!this.a&&(this.a=new sy(e7,this,5)),fz(this.a),!this.a&&(this.a=new sy(e7,this,5)),VS(this.a,F(t,18));return;case 6:B7e(this,F(t,85));return;case 7:gk(this,F(t,84));return;case 8:hk(this,F(t,84));return;case 9:!this.g&&(this.g=new kb(a7,this,9,10)),fz(this.g),!this.g&&(this.g=new kb(a7,this,9,10)),VS(this.g,F(t,18));return;case 10:!this.e&&(this.e=new kb(a7,this,10,9)),fz(this.e),!this.e&&(this.e=new kb(a7,this,10,9)),VS(this.e,F(t,18));return;case 11:JBe(this,ib(t));return}nWe(this,e,t)},Q.fi=function(){return Lz(),u7},Q.hi=function(e){switch(e){case 1:HO(this,0);return;case 2:UO(this,0);return;case 3:LO(this,0);return;case 4:RO(this,0);return;case 5:!this.a&&(this.a=new sy(e7,this,5)),fz(this.a);return;case 6:B7e(this,null);return;case 7:gk(this,null);return;case 8:hk(this,null);return;case 9:!this.g&&(this.g=new kb(a7,this,9,10)),fz(this.g);return;case 10:!this.e&&(this.e=new kb(a7,this,10,9)),fz(this.e);return;case 11:JBe(this,null);return}fUe(this,e)},Q.Ib=function(){return s8e(this)},Q.b=0,Q.c=0,Q.d=null,Q.j=0,Q.k=0,R(AK,`ElkEdgeSectionImpl`,443),J(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),Q.Ih=function(e,t,n){var r;return e==0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab):xD(this,e-BS(this.fi()),fO((r=F(pA(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n)):(i=F(fO((r=F(pA(this,16),29),r||this.fi()),t),69),i.uk().xk(this,FN(this),t-BS(this.fi()),e,n))},Q.Rh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n)):(i=F(fO((r=F(pA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,FN(this),t-BS(this.fi()),e,n))},Q.Th=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:GT(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.Wh=function(e){return Klt(this,e)},Q.$h=function(e,t){var n;e===0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18))):KM(this,e-BS(this.fi()),fO((n=F(pA(this,16),29),n||this.fi()),e),t)},Q.ai=function(e){IN(this,128,e)},Q.fi=function(){return Yz(),LBt},Q.hi=function(e){var t;e===0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab)):iM(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.mi=function(){this.Bb|=1},Q.ni=function(e){return CR(this,e)},Q.Bb=0,R(OK,`EModelElementImpl`,161),J(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},wc),Q.oi=function(e,t){return hct(this,e,t)},Q.pi=function(e){var t,n,r,i,a;if(this.a!=AO(e)||e.Bb&256)throw O(new Rp(IK+e.zb+NK));for(r=hw(e);tE(r.a).i!=0;){if(n=F(yz(r,0,(t=F(U(tE(r.a),0),87),a=t.c,N(a,88)?F(a,29):(Yz(),t9))),29),KP(n))return i=AO(n).ti().pi(n),F(i,52)._h(e),i;r=hw(n)}return(e.D==null?e.B:e.D)==`java.util.Map$Entry`?new MCe(e):new $Se(e)},Q.qi=function(e,t){return Rz(this,e,t)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.a}return xD(this,e-BS((Yz(),Q7)),fO((r=F(pA(this,16),29),r||Q7),e),t,n)},Q.Ph=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 1:return this.a&&(n=F(this.a,52).Qh(this,4,c7,n)),bGe(this,F(e,241),n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),Q7)),t),69),i.uk().xk(this,FN(this),t-BS((Yz(),Q7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 1:return bGe(this,null,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),Q7)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),Q7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return GT(this,e-BS((Yz(),Q7)),fO((t=F(pA(this,16),29),t||Q7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:e2e(this,F(t,241));return}KM(this,e-BS((Yz(),Q7)),fO((n=F(pA(this,16),29),n||Q7),e),t)},Q.fi=function(){return Yz(),Q7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:e2e(this,null);return}iM(this,e-BS((Yz(),Q7)),fO((t=F(pA(this,16),29),t||Q7),e))};var h7,Qzt,$zt;R(OK,`EFactoryImpl`,710),J(1019,710,{109:1,2078:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},uo),Q.oi=function(e,t){switch(e.fk()){case 12:return F(t,147).Og();case 13:return qM(t);default:throw O(new Rp(MK+e.ve()+NK))}},Q.pi=function(e){var t,n,r,i,a,o,s,c;switch(e.G==-1&&(e.G=(t=AO(e),t?yP(t.si(),e):-1)),e.G){case 4:return a=new fo,a;case 6:return o=new Hf,o;case 7:return s=new Uf,s;case 8:return r=new so,r;case 9:return n=new co,n;case 10:return i=new lo,i;case 11:return c=new $ne,c;default:throw O(new Rp(IK+e.zb+NK))}},Q.qi=function(e,t){switch(e.fk()){case 13:case 12:return null;default:throw O(new Rp(MK+e.ve()+NK))}},R(AK,`ElkGraphFactoryImpl`,1019),J(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),Q.Dh=function(){var e,t=(e=F(pA(this,16),29),Tke(PR(e||this.fi())));return t==null?(Vh(),Vh(),JBt):new j_e(this,t)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.ve()}return xD(this,e-BS(this.fi()),fO((r=F(pA(this,16),29),r||this.fi()),e),t,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return GT(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:this.ri(ib(t));return}KM(this,e-BS(this.fi()),fO((n=F(pA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Yz(),RBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:this.ri(null);return}iM(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.ve=function(){return this.zb},Q.ri=function(e){Nk(this,e)},Q.Ib=function(){return Qj(this)},Q.zb=null,R(OK,`ENamedElementImpl`,439),J(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},AOe),Q.xh=function(e){return CQe(this,e)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,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 mS(this,F7,this)),this.rb;case 6:return!this.vb&&(this.vb=new Db(c7,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?F(this.Cb,241):null:uAe(this)}return xD(this,e-BS((Yz(),r9)),fO((r=F(pA(this,16),29),r||r9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 4:return this.sb&&(n=F(this.sb,52).Qh(this,1,s7,n)),WGe(this,F(e,469),n);case 5:return!this.rb&&(this.rb=new mS(this,F7,this)),mN(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Db(c7,this,6,7)),mN(this.vb,e,n);case 7:return this.Cb&&(n=(i=this.Db>>16,i>=0?CQe(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,7,n)}return a=F(fO((r=F(pA(this,16),29),r||(Yz(),r9)),t),69),a.uk().xk(this,FN(this),t-BS((Yz(),r9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 4:return WGe(this,null,n);case 5:return!this.rb&&(this.rb=new mS(this,F7,this)),fP(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Db(c7,this,6,7)),fP(this.vb,e,n);case 7:return SR(this,null,7,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),r9)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),r9)),e,n)},Q.Th=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!!uAe(this)}return GT(this,e-BS((Yz(),r9)),fO((t=F(pA(this,16),29),t||r9),e))},Q.Wh=function(e){return x9e(this,e)||Klt(this,e)},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:Nk(this,ib(t));return;case 2:Lk(this,ib(t));return;case 3:Ik(this,ib(t));return;case 4:rI(this,F(t,469));return;case 5:!this.rb&&(this.rb=new mS(this,F7,this)),fz(this.rb),!this.rb&&(this.rb=new mS(this,F7,this)),VS(this.rb,F(t,18));return;case 6:!this.vb&&(this.vb=new Db(c7,this,6,7)),fz(this.vb),!this.vb&&(this.vb=new Db(c7,this,6,7)),VS(this.vb,F(t,18));return}KM(this,e-BS((Yz(),r9)),fO((n=F(pA(this,16),29),n||r9),e),t)},Q.bi=function(e){var t,n;if(e&&this.rb)for(n=new dy(this.rb);n.e!=n.i.gc();)t=nP(n),N(t,360)&&(F(t,360).w=null);IN(this,64,e)},Q.fi=function(){return Yz(),r9},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:Nk(this,null);return;case 2:Lk(this,null);return;case 3:Ik(this,null);return;case 4:rI(this,null);return;case 5:!this.rb&&(this.rb=new mS(this,F7,this)),fz(this.rb);return;case 6:!this.vb&&(this.vb=new Db(c7,this,6,7)),fz(this.vb);return}iM(this,e-BS((Yz(),r9)),fO((t=F(pA(this,16),29),t||r9),e))},Q.mi=function(){QP(this)},Q.si=function(){return!this.rb&&(this.rb=new mS(this,F7,this)),this.rb},Q.ti=function(){return this.sb},Q.ui=function(){return this.ub},Q.vi=function(){return this.xb},Q.wi=function(){return this.yb},Q.xi=function(e){this.ub=e},Q.Ib=function(){var e;return this.Db&64?Qj(this):(e=new _y(Qj(this)),e.a+=` (nsURI: `,Y_(e,this.yb),e.a+=`, nsPrefix: `,Y_(e,this.xb),e.a+=`)`,e.a)},Q.xb=null,Q.yb=null;var eBt;R(OK,`EPackageImpl`,184),J(556,184,{109:1,2080:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},O8e),Q.q=!1,Q.r=!1;var tBt=!1;R(AK,`ElkGraphPackageImpl`,556),J(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},fo),Q.xh=function(e){return bQe(this,e)},Q.Ih=function(e,t,n){switch(e){case 7:return dAe(this);case 8:return this.a}return oqe(this,e,t,n)},Q.Ph=function(e,t,n){var r;return t===7?(this.Cb&&(n=(r=this.Db>>16,r>=0?bQe(this,n):this.Cb.Qh(this,-1-r,null,n))),kwe(this,F(e,174),n)):VF(this,e,t,n)},Q.Rh=function(e,t,n){return t==7?kwe(this,null,n):NA(this,e,t,n)},Q.Th=function(e){switch(e){case 7:return!!dAe(this);case 8:return!jb(``,this.a)}return Eqe(this,e)},Q.$h=function(e,t){switch(e){case 7:y9e(this,F(t,174));return;case 8:BBe(this,ib(t));return}z$e(this,e,t)},Q.fi=function(){return Lz(),Kzt},Q.hi=function(e){switch(e){case 7:y9e(this,null);return;case 8:BBe(this,``);return}Kqe(this,e)},Q.Ib=function(){return d4e(this)},Q.a=``,R(AK,`ElkLabelImpl`,362),J(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Hf),Q.xh=function(e){return zQe(this,e)},Q.Ih=function(e,t,n){switch(e){case 9:return!this.c&&(this.c=new I(m7,this,9,9)),this.c;case 10:return!this.a&&(this.a=new I(p7,this,10,11)),this.a;case 11:return Bw(this);case 12:return!this.b&&(this.b=new I(i7,this,12,3)),this.b;case 13:return xy(),!this.a&&(this.a=new I(p7,this,10,11)),this.a.i>0}return FXe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 9:return!this.c&&(this.c=new I(m7,this,9,9)),mN(this.c,e,n);case 10:return!this.a&&(this.a=new I(p7,this,10,11)),mN(this.a,e,n);case 11:return this.Cb&&(n=(r=this.Db>>16,r>=0?zQe(this,n):this.Cb.Qh(this,-1-r,null,n))),nye(this,F(e,26),n);case 12:return!this.b&&(this.b=new I(i7,this,12,3)),mN(this.b,e,n)}return g$e(this,e,t,n)},Q.Rh=function(e,t,n){switch(t){case 9:return!this.c&&(this.c=new I(m7,this,9,9)),fP(this.c,e,n);case 10:return!this.a&&(this.a=new I(p7,this,10,11)),fP(this.a,e,n);case 11:return nye(this,null,n);case 12:return!this.b&&(this.b=new I(i7,this,12,3)),fP(this.b,e,n)}return _$e(this,e,t,n)},Q.Th=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!!Bw(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new I(p7,this,10,11)),this.a.i>0}return XUe(this,e)},Q.$h=function(e,t){switch(e){case 9:!this.c&&(this.c=new I(m7,this,9,9)),fz(this.c),!this.c&&(this.c=new I(m7,this,9,9)),VS(this.c,F(t,18));return;case 10:!this.a&&(this.a=new I(p7,this,10,11)),fz(this.a),!this.a&&(this.a=new I(p7,this,10,11)),VS(this.a,F(t,18));return;case 11:SL(this,F(t,26));return;case 12:!this.b&&(this.b=new I(i7,this,12,3)),fz(this.b),!this.b&&(this.b=new I(i7,this,12,3)),VS(this.b,F(t,18));return}q8e(this,e,t)},Q.fi=function(){return Lz(),qzt},Q.hi=function(e){switch(e){case 9:!this.c&&(this.c=new I(m7,this,9,9)),fz(this.c);return;case 10:!this.a&&(this.a=new I(p7,this,10,11)),fz(this.a);return;case 11:SL(this,null);return;case 12:!this.b&&(this.b=new I(i7,this,12,3)),fz(this.b);return}$Ye(this,e)},Q.Ib=function(){return mnt(this)},R(AK,`ElkNodeImpl`,206),J(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Uf),Q.xh=function(e){return xQe(this,e)},Q.Ih=function(e,t,n){return e==9?Fw(this):FXe(this,e,t,n)},Q.Ph=function(e,t,n){var r;return t===9?(this.Cb&&(n=(r=this.Db>>16,r>=0?xQe(this,n):this.Cb.Qh(this,-1-r,null,n))),xve(this,F(e,26),n)):g$e(this,e,t,n)},Q.Rh=function(e,t,n){return t==9?xve(this,null,n):_$e(this,e,t,n)},Q.Th=function(e){return e==9?!!Fw(this):XUe(this,e)},Q.$h=function(e,t){e===9?V7e(this,F(t,26)):q8e(this,e,t)},Q.fi=function(){return Lz(),Jzt},Q.hi=function(e){e===9?V7e(this,null):$Ye(this,e)},Q.Ib=function(){return hnt(this)},R(AK,`ElkPortImpl`,193);var nBt=Ax(JK,`BasicEMap/Entry`);J(1092,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},$ne),Q.Fb=function(e){return this===e},Q.jd=function(){return this.b},Q.Hb=function(){return Ey(this)},Q.Ai=function(e){VBe(this,F(e,147))},Q.Ih=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return pP(this,e,t,n)},Q.Th=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return eP(this,e)},Q.$h=function(e,t){switch(e){case 0:VBe(this,F(t,147));return;case 1:LBe(this,t);return}OI(this,e,t)},Q.fi=function(){return Lz(),d7},Q.hi=function(e){switch(e){case 0:VBe(this,null);return;case 1:LBe(this,null);return}mI(this,e)},Q.yi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?jk(e):0),this.a},Q.kd=function(){return this.c},Q.zi=function(e){this.a=e},Q.ld=function(e){var t=this.c;return LBe(this,e),t},Q.Ib=function(){var e;return this.Db&64?aL(this):(e=new cm,Q_(Q_(Q_(e,this.b?this.b.Og():cB),yU),gy(this.c)),e.a)},Q.a=-1,Q.c=null;var g7=R(AK,`ElkPropertyToValueMapEntryImpl`,1092);J(981,1,{},po),R(XK,`JsonAdapter`,981),J(215,63,GB,Zp),R(XK,`JsonImportException`,215),J(851,1,{},f8e),R(XK,`JsonImporter`,851),J(885,1,{},rpe),Q.Bi=function(e){v$e(this.a,this.b,F(e,139))},R(XK,`JsonImporter/lambda$0$Type`,885),J(886,1,{},ipe),Q.Bi=function(e){_6e(this.a,this.b,F(e,139))},R(XK,`JsonImporter/lambda$1$Type`,886),J(894,1,{},Zoe),Q.Bi=function(e){jDe(this.a,F(e,149))},R(XK,`JsonImporter/lambda$10$Type`,894),J(896,1,{},ape),Q.Bi=function(e){z3e(this.a,this.b,F(e,139))},R(XK,`JsonImporter/lambda$11$Type`,896),J(897,1,{},ope),Q.Bi=function(e){B3e(this.a,this.b,F(e,139))},R(XK,`JsonImporter/lambda$12$Type`,897),J(903,1,{},tOe),Q.Bi=function(e){Y2e(this.a,this.b,this.c,this.d,F(e,139))},R(XK,`JsonImporter/lambda$13$Type`,903),J(902,1,{},nOe),Q.Bi=function(e){qrt(this.a,this.b,this.c,this.d,F(e,149))},R(XK,`JsonImporter/lambda$14$Type`,902),J(898,1,{},spe),Q.Bi=function(e){rye(this.a,this.b,ib(e))},R(XK,`JsonImporter/lambda$15$Type`,898),J(899,1,{},cpe),Q.Bi=function(e){iye(this.a,this.b,ib(e))},R(XK,`JsonImporter/lambda$16$Type`,899),J(900,1,{},lpe),Q.Bi=function(e){eQe(this.b,this.a,F(e,139))},R(XK,`JsonImporter/lambda$17$Type`,900),J(901,1,{},upe),Q.Bi=function(e){tQe(this.b,this.a,F(e,139))},R(XK,`JsonImporter/lambda$18$Type`,901),J(906,1,{},Qoe),Q.Bi=function(e){_2e(this.a,F(e,149))},R(XK,`JsonImporter/lambda$19$Type`,906),J(887,1,{},$oe),Q.Bi=function(e){HQe(this.a,F(e,139))},R(XK,`JsonImporter/lambda$2$Type`,887),J(904,1,{},ese),Q.Bi=function(e){HO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$20$Type`,904),J(905,1,{},Ju),Q.Bi=function(e){UO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$21$Type`,905),J(909,1,{},tse),Q.Bi=function(e){g2e(this.a,F(e,149))},R(XK,`JsonImporter/lambda$22$Type`,909),J(907,1,{},nse),Q.Bi=function(e){LO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$23$Type`,907),J(908,1,{},rse),Q.Bi=function(e){RO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$24$Type`,908),J(911,1,{},ise),Q.Bi=function(e){g1e(this.a,F(e,139))},R(XK,`JsonImporter/lambda$25$Type`,911),J(910,1,{},ase),Q.Bi=function(e){MDe(this.a,F(e,149))},R(XK,`JsonImporter/lambda$26$Type`,910),J(912,1,wB,dpe),Q.Ad=function(e){oLe(this.b,this.a,ib(e))},R(XK,`JsonImporter/lambda$27$Type`,912),J(913,1,wB,fpe),Q.Ad=function(e){sLe(this.b,this.a,ib(e))},R(XK,`JsonImporter/lambda$28$Type`,913),J(914,1,{},ppe),Q.Bi=function(e){s5e(this.a,this.b,F(e,139))},R(XK,`JsonImporter/lambda$29$Type`,914),J(890,1,{},ose),Q.Bi=function(e){Vqe(this.a,F(e,149))},R(XK,`JsonImporter/lambda$3$Type`,890),J(915,1,{},mpe),Q.Bi=function(e){O7e(this.a,this.b,F(e,139))},R(XK,`JsonImporter/lambda$30$Type`,915),J(916,1,{},sse),Q.Bi=function(e){pRe(this.a,P(e))},R(XK,`JsonImporter/lambda$31$Type`,916),J(917,1,{},cse),Q.Bi=function(e){gRe(this.a,P(e))},R(XK,`JsonImporter/lambda$32$Type`,917),J(918,1,{},Yu),Q.Bi=function(e){mRe(this.a,P(e))},R(XK,`JsonImporter/lambda$33$Type`,918),J(919,1,{},Xu),Q.Bi=function(e){hRe(this.a,P(e))},R(XK,`JsonImporter/lambda$34$Type`,919),J(920,1,{},lse),Q.Bi=function(e){J0e(this.a,F(e,57))},R(XK,`JsonImporter/lambda$35$Type`,920),J(921,1,{},Zu),Q.Bi=function(e){Y0e(this.a,F(e,57))},R(XK,`JsonImporter/lambda$36$Type`,921),J(925,1,{},eOe),R(XK,`JsonImporter/lambda$37$Type`,925),J(922,1,wB,dSe),Q.Ad=function(e){OVe(this.a,this.c,this.b,F(e,372))},R(XK,`JsonImporter/lambda$38$Type`,922),J(923,1,wB,hpe),Q.Ad=function(e){Npe(this.a,this.b,F(e,170))},R(XK,`JsonImporter/lambda$39$Type`,923),J(888,1,{},Qu),Q.Bi=function(e){HO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$4$Type`,888),J(924,1,wB,gpe),Q.Ad=function(e){Ppe(this.a,this.b,F(e,170))},R(XK,`JsonImporter/lambda$40$Type`,924),J(926,1,wB,fSe),Q.Ad=function(e){kVe(this.a,this.b,this.c,F(e,8))},R(XK,`JsonImporter/lambda$41$Type`,926),J(889,1,{},$u),Q.Bi=function(e){UO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$5$Type`,889),J(893,1,{},ed),Q.Bi=function(e){Hqe(this.a,F(e,149))},R(XK,`JsonImporter/lambda$6$Type`,893),J(891,1,{},use),Q.Bi=function(e){LO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$7$Type`,891),J(892,1,{},dse),Q.Bi=function(e){RO(this.a,k(P(e)))},R(XK,`JsonImporter/lambda$8$Type`,892),J(895,1,{},fse),Q.Bi=function(e){_1e(this.a,F(e,139))},R(XK,`JsonImporter/lambda$9$Type`,895),J(945,1,wB,td),Q.Ad=function(e){QS(this.a,new $S(ib(e)))},R(XK,`JsonMetaDataConverter/lambda$0$Type`,945),J(946,1,wB,pse),Q.Ad=function(e){cEe(this.a,F(e,244))},R(XK,`JsonMetaDataConverter/lambda$1$Type`,946),J(947,1,wB,nd),Q.Ad=function(e){VAe(this.a,F(e,144))},R(XK,`JsonMetaDataConverter/lambda$2$Type`,947),J(948,1,wB,mse),Q.Ad=function(e){lEe(this.a,F(e,160))},R(XK,`JsonMetaDataConverter/lambda$3$Type`,948),J(244,24,{3:1,35:1,24:1,244:1},P_);var _7,v7,rBt,y7,b7,x7,iBt,aBt,S7=XO(EH,`GraphFeature`,244,LJ,rze,TSe),oBt;J(11,1,{35:1,147:1},id,xb,rv,Nv),Q.Dd=function(e){return Jhe(this,F(e,147))},Q.Fb=function(e){return ZOe(this,e)},Q.Rg=function(){return tP(this)},Q.Og=function(){return this.b},Q.Hb=function(){return uj(this.b)},Q.Ib=function(){return this.b},R(EH,`Property`,11),J(657,1,iH,rd),Q.Le=function(e,t){return IKe(this,F(e,105),F(t,105))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Ll(this)},R(EH,`PropertyHolderComparator`,657),J(698,1,pB,ad),Q.Nb=function(e){CS(this,e)},Q.Pb=function(){return uLe(this)},Q.Qb=function(){kle()},Q.Ob=function(){return!!this.a},R(tq,`ElkGraphUtil/AncestorIterator`,698);var sBt=Ax(JK,`EList`);J(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),Q._c=function(e,t){lM(this,e,t)},Q.Ec=function(e){return cD(this,e)},Q.ad=function(e,t){return bUe(this,e,t)},Q.Fc=function(e){return VS(this,e)},Q.Gi=function(){return new Fy(this)},Q.Hi=function(){return new Iy(this)},Q.Ii=function(e){return ik(this,e)},Q.Ji=function(){return!0},Q.Ki=function(e,t){},Q.Li=function(){},Q.Mi=function(e,t){tD(this,e,t)},Q.Ni=function(e,t,n){},Q.Oi=function(e,t){},Q.Pi=function(e,t,n){},Q.Fb=function(e){return Stt(this,e)},Q.Hb=function(){return $He(this)},Q.Qi=function(){return!1},Q.Jc=function(){return new dy(this)},Q.cd=function(){return new Py(this)},Q.dd=function(e){var t=this.gc();if(e<0||e>t)throw O(new Ab(e,t));return new GTe(this,e)},Q.Si=function(e,t){this.Ri(e,this.bd(t))},Q.Kc=function(e){return XD(this,e)},Q.Ui=function(e,t){return t},Q.fd=function(e,t){return vP(this,e,t)},Q.Ib=function(){return bqe(this)},Q.Wi=function(){return!0},Q.Xi=function(e,t){return dj(this,t)},R(JK,`AbstractEList`,71),J(67,71,oq,mo,vO,JVe),Q.Ci=function(e,t){return HF(this,e,t)},Q.Di=function(e){return QXe(this,e)},Q.Ei=function(e,t){eM(this,e,t)},Q.Fi=function(e){FE(this,e)},Q.Yi=function(e){return hLe(this,e)},Q.$b=function(){PE(this)},Q.Gc=function(e){return vF(this,e)},Q.Xb=function(e){return U(this,e)},Q.Zi=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.ed(t),!0)},Q.Vi=function(e,t){return this.Bj(e,this.Xi(e,t))},Q.gc=function(){return this.Cj()},Q.Nc=function(){return this.Dj()},Q.Oc=function(e){return this.Ej(e)},Q.Ib=function(){return this.Fj()},R(JK,`DelegatingEList`,2058),J(2059,2058,zvt),Q.Ci=function(e,t){return git(this,e,t)},Q.Di=function(e){return this.Ci(this.Cj(),e)},Q.Ei=function(e,t){k8e(this,e,t)},Q.Fi=function(e){r8e(this,e)},Q.Ji=function(){return!this.Kj()},Q.$b=function(){pz(this)},Q.Gj=function(e,t,n,r,i){return new YOe(this,e,t,n,r,i)},Q.Hj=function(e){aA(this.hj(),e)},Q.Ij=function(){return null},Q.Jj=function(){return-1},Q.hj=function(){return null},Q.Kj=function(){return!1},Q.Lj=function(e,t){return t},Q.Mj=function(e,t){return t},Q.Nj=function(){return!1},Q.Oj=function(){return!this.yj()},Q.Ri=function(e,t){var n,r;return this.Nj()?(r=this.Oj(),n=Z0e(this,e,t),this.Hj(this.Gj(7,K(t),n,e,r)),n):Z0e(this,e,t)},Q.ed=function(e){var t,n,r,i;return this.Nj()?(n=null,r=this.Oj(),t=this.Gj(4,i=Cx(this,e),null,e,r),this.Kj()&&i&&(n=this.Mj(i,n)),n?(n.lj(t),n.mj()):this.Hj(t),i):(i=Cx(this,e),this.Kj()&&i&&(n=this.Mj(i,null),n&&n.mj()),i)},Q.Vi=function(e,t){return _it(this,e,t)},R(CK,`DelegatingNotifyingListImpl`,2059),J(151,1,_q),Q.lj=function(e){return C1e(this,e)},Q.mj=function(){AD(this)},Q.ej=function(){return this.d},Q.Ij=function(){return null},Q.Pj=function(){return null},Q.fj=function(e){return-1},Q.gj=function(){return yet(this)},Q.hj=function(){return null},Q.ij=function(){return bet(this)},Q.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Q.Qj=function(){return!1},Q.kj=function(e){var t,n,r,i,a,o,s,c,l,u,d;switch(this.d){case 1:case 2:switch(i=e.ej(),i){case 1:case 2:if(a=e.hj(),M(a)===M(this.hj())&&this.fj(null)==e.fj(null))return this.g=e.gj(),e.ej()==1&&(this.d=1),!0}case 4:if(i=e.ej(),i===4&&(a=e.hj(),M(a)===M(this.hj())&&this.fj(null)==e.fj(null)))return l=jst(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,o=e.jj(),this.d=6,d=new vO(2),c<=o?(cD(d,this.n),cD(d,e.ij()),this.g=W(A(q9,1),dV,30,15,[this.o=c,o+1])):(cD(d,e.ij()),cD(d,this.n),this.g=W(A(q9,1),dV,30,15,[this.o=o,c])),this.n=d,l||(this.o=-2-this.o-1),!0;break;case 6:if(i=e.ej(),i===4&&(a=e.hj(),M(a)===M(this.hj())&&this.fj(null)==e.fj(null))){for(l=jst(this),o=e.jj(),u=F(this.g,54),r=H(q9,dV,30,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:Lm(r,this.d)}if(Mnt(this)&&(r.a+=`, touch: true`),r.a+=`, position: `,Lm(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=`, notifier: `,J_(r,this.hj()),r.a+=`, feature: `,J_(r,this.Ij()),r.a+=`, oldValue: `,J_(r,bet(this)),r.a+=`, newValue: `,this.d==6&&N(this.g,54)){for(n=F(this.g,54),r.a+=`[`,e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new Nx(this),this.a=this.j),sh(this.b,e)):vF(this,e)},Q.Wi=function(){return!0},Q.a=0,R(JK,`AbstractEList/1`,950),J(306,99,OV,Ab),R(JK,`AbstractEList/BasicIndexOutOfBoundsException`,306),J(42,1,pB,dy),Q.Nb=function(e){CS(this,e)},Q.Vj=function(){if(this.i.j!=this.f)throw O(new Wd)},Q.Wj=function(){return nP(this)},Q.Ob=function(){return this.e!=this.i.gc()},Q.Pb=function(){return this.Wj()},Q.Qb=function(){wF(this)},Q.e=0,Q.f=0,Q.g=-1,R(JK,`AbstractEList/EIterator`,42),J(286,42,yB,Py,GTe),Q.Qb=function(){wF(this)},Q.Rb=function(e){uJe(this,e)},Q.Xj=function(){var e;try{return e=this.d.Xb(--this.e),this.Vj(),this.g=this.e,e}catch(e){throw e=LA(e),N(e,99)?(this.Vj(),O(new Yd)):O(e)}},Q.Yj=function(e){cZe(this,e)},Q.Sb=function(){return this.e!=0},Q.Tb=function(){return this.e},Q.Ub=function(){return this.Xj()},Q.Vb=function(){return this.e-1},Q.Wb=function(e){this.Yj(e)},R(JK,`AbstractEList/EListIterator`,286),J(355,42,pB,Fy),Q.Wj=function(){return rP(this)},Q.Qb=function(){throw O(new Jd)},R(JK,`AbstractEList/NonResolvingEIterator`,355),J(391,286,yB,Iy,Iye),Q.Rb=function(e){throw O(new Jd)},Q.Wj=function(){var e;try{return e=this.c.Ti(this.e),this.Vj(),this.g=this.e++,e}catch(e){throw e=LA(e),N(e,99)?(this.Vj(),O(new Yd)):O(e)}},Q.Xj=function(){var e;try{return e=this.c.Ti(--this.e),this.Vj(),this.g=this.e,e}catch(e){throw e=LA(e),N(e,99)?(this.Vj(),O(new Yd)):O(e)}},Q.Qb=function(){throw O(new Jd)},Q.Wb=function(e){throw O(new Jd)},R(JK,`AbstractEList/NonResolvingEListIterator`,391),J(2045,71,Bvt),Q.Ci=function(e,t){var n,r,i=t.gc(),a,o,s,c,l,u,d,f;if(i!=0){for(l=F(pA(this.a,4),129),u=l==null?0:l.length,f=u+i,r=_j(this,f),d=u-e,d>0&&AR(l,e,r,e+i,d),c=t.Jc(),o=0;on)throw O(new Ab(e,n));return new fDe(this,e)},Q.$b=function(){var e,t;++this.j,e=F(pA(this.a,4),129),t=e==null?0:e.length,oP(this,null),tD(this,t,e)},Q.Gc=function(e){var t=F(pA(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 Ab(e,n));return t[e]},Q.bd=function(e){var t=F(pA(this.a,4),129),n,r;if(t!=null){if(e!=null){for(n=0,r=t.length;nn)throw O(new Ab(e,n));return new dDe(this,e)},Q.Ri=function(e,t){var n=wJe(this),r,i=n==null?0:n.length;if(e>=i)throw O(new jp(rq+e+iq+i));if(t>=i)throw O(new jp(aq+t+iq+i));return r=n[t],e!=t&&(e0&&AR(e,0,t,0,n),t},Q.Oc=function(e){var t=F(pA(this.a,4),129),n,r=t==null?0:t.length;return r>0&&(e.lengthr&&qS(e,r,null),e};var pBt;R(JK,`ArrayDelegatingEList`,2045),J(1033,42,pB,lFe),Q.Vj=function(){if(this.b.j!=this.f||M(F(pA(this.b.a,4),129))!==M(this.a))throw O(new Wd)},Q.Qb=function(){wF(this),this.a=F(pA(this.b.a,4),129)},R(JK,`ArrayDelegatingEList/EIterator`,1033),J(712,286,yB,bTe,dDe),Q.Vj=function(){if(this.b.j!=this.f||M(F(pA(this.b.a,4),129))!==M(this.a))throw O(new Wd)},Q.Yj=function(e){cZe(this,e),this.a=F(pA(this.b.a,4),129)},Q.Qb=function(){wF(this),this.a=F(pA(this.b.a,4),129)},R(JK,`ArrayDelegatingEList/EListIterator`,712),J(1034,355,pB,uFe),Q.Vj=function(){if(this.b.j!=this.f||M(F(pA(this.b.a,4),129))!==M(this.a))throw O(new Wd)},R(JK,`ArrayDelegatingEList/NonResolvingEIterator`,1034),J(713,391,yB,xTe,fDe),Q.Vj=function(){if(this.b.j!=this.f||M(F(pA(this.b.a,4),129))!==M(this.a))throw O(new Wd)},R(JK,`ArrayDelegatingEList/NonResolvingEListIterator`,713),J(606,306,OV,iv),R(JK,`BasicEList/BasicIndexOutOfBoundsException`,606),J(699,67,oq,Spe),Q._c=function(e,t){throw O(new Jd)},Q.Ec=function(e){throw O(new Jd)},Q.ad=function(e,t){throw O(new Jd)},Q.Fc=function(e){throw O(new Jd)},Q.$b=function(){throw O(new Jd)},Q.Zi=function(e){throw O(new Jd)},Q.Jc=function(){return this.Gi()},Q.cd=function(){return this.Hi()},Q.dd=function(e){return this.Ii(e)},Q.Ri=function(e,t){throw O(new Jd)},Q.Si=function(e,t){throw O(new Jd)},Q.ed=function(e){throw O(new Jd)},Q.Kc=function(e){throw O(new Jd)},Q.fd=function(e,t){throw O(new Jd)},R(JK,`BasicEList/UnmodifiableEList`,699),J(711,1,{3:1,20:1,18:1,16:1,61:1,587:1}),Q._c=function(e,t){khe(this,e,F(t,45))},Q.Ec=function(e){return F_e(this,F(e,45))},Q.Ic=function(e){_E(this,e)},Q.Xb=function(e){return F(U(this.c,e),136)},Q.Ri=function(e,t){return F(this.c.Ri(e,t),45)},Q.Si=function(e,t){Ahe(this,e,F(t,45))},Q.ed=function(e){return F(this.c.ed(e),45)},Q.fd=function(e,t){return aEe(this,e,F(t,45))},Q.gd=function(e){Rk(this,e)},Q.Lc=function(){return new cT(this,16)},Q.Mc=function(){return new Px(null,new cT(this,16))},Q.ad=function(e,t){return this.c.ad(e,t)},Q.Fc=function(e){return this.c.Fc(e)},Q.$b=function(){this.c.$b()},Q.Gc=function(e){return this.c.Gc(e)},Q.Hc=function(e){return IA(this.c,e)},Q.Zj=function(){var e,t,n;if(this.d==null){for(this.d=H(cBt,Vvt,67,2*this.f+1,0,1),n=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)e=F(t.Wj(),136),DP(this,e);this.e=n}},Q.Fb=function(e){return Jye(this,e)},Q.Hb=function(){return $He(this.c)},Q.bd=function(e){return this.c.bd(e)},Q.$j=function(){this.c=new gse(this)},Q.dc=function(){return this.f==0},Q.Jc=function(){return this.c.Jc()},Q.cd=function(){return this.c.cd()},Q.dd=function(e){return this.c.dd(e)},Q._j=function(){return $E(this)},Q.ak=function(e,t,n){return new hSe(e,t,n)},Q.bk=function(){return new yo},Q.Kc=function(e){return uBe(this,e)},Q.gc=function(){return this.f},Q.hd=function(e,t){return new sT(this.c,e,t)},Q.Nc=function(){return this.c.Nc()},Q.Oc=function(e){return this.c.Oc(e)},Q.Ib=function(){return bqe(this.c)},Q.e=0,Q.f=0,R(JK,`BasicEMap`,711),J(1028,67,oq,gse),Q.Ki=function(e,t){Lse(this,F(t,136))},Q.Ni=function(e,t,n){var r;++(r=this,F(t,136),r).a.e},Q.Oi=function(e,t){rf(this,F(t,136))},Q.Pi=function(e,t,n){$ge(this,F(t,136),F(n,136))},Q.Mi=function(e,t){hHe(this.a)},R(JK,`BasicEMap/1`,1028),J(1029,67,oq,yo),Q.$i=function(e){return H(mBt,Hvt,612,e,0,1)},R(JK,`BasicEMap/2`,1029),J(1030,_B,vB,_se),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){return dN(this.a,e)},Q.Jc=function(){return this.a.f==0?(fb(),E7.a):new hle(this.a)},Q.Kc=function(e){var t=this.a.f;return NN(this.a,e),this.a.f!=t},Q.gc=function(){return this.a.f},R(JK,`BasicEMap/3`,1030),J(1031,31,gB,vse),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){return Ctt(this.a,e)},Q.Jc=function(){return this.a.f==0?(fb(),E7.a):new gle(this.a)},Q.gc=function(){return this.a.f},R(JK,`BasicEMap/4`,1031),J(1032,_B,vB,yse),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){var t,n,r,i,a,o,s,c,l;if(this.a.f>0&&N(e,45)&&(this.a.Zj(),c=F(e,45),s=c.jd(),i=s==null?0:jk(s),a=Mve(this.a,i),t=this.a.d[a],t)){for(n=F(t.g,374),l=t.i,o=0;o`+this.c},Q.a=0;var mBt=R(JK,`BasicEMap/EntryImpl`,612);J(535,1,{},vo),R(JK,`BasicEMap/View`,535);var E7;J(770,1,{}),Q.Fb=function(e){return J8e((qC(),hY),e)},Q.Hb=function(){return qUe((qC(),hY))},Q.Ib=function(){return eI((qC(),hY))},R(JK,`ECollections/BasicEmptyUnmodifiableEList`,770),J(1303,1,yB,ere),Q.Nb=function(e){CS(this,e)},Q.Rb=function(e){throw O(new Jd)},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Pb=function(){throw O(new Yd)},Q.Tb=function(){return 0},Q.Ub=function(){throw O(new Yd)},Q.Vb=function(){return-1},Q.Qb=function(){throw O(new Jd)},Q.Wb=function(e){throw O(new Jd)},R(JK,`ECollections/BasicEmptyUnmodifiableEList/1`,1303),J(1301,770,{20:1,18:1,16:1,61:1},Gf),Q._c=function(e,t){Zle()},Q.Ec=function(e){return Xle()},Q.ad=function(e,t){return Qle()},Q.Fc=function(e){return $le()},Q.$b=function(){eue()},Q.Gc=function(e){return!1},Q.Hc=function(e){return!1},Q.Ic=function(e){_E(this,e)},Q.Xb=function(e){return Bpe((qC(),e)),null},Q.bd=function(e){return-1},Q.dc=function(){return!0},Q.Jc=function(){return this.a},Q.cd=function(){return this.a},Q.dd=function(e){return this.a},Q.Ri=function(e,t){return tue()},Q.Si=function(e,t){nue()},Q.ed=function(e){return rue()},Q.Kc=function(e){return iue()},Q.fd=function(e,t){return aue()},Q.gc=function(){return 0},Q.gd=function(e){Rk(this,e)},Q.Lc=function(){return new cT(this,16)},Q.Mc=function(){return new Px(null,new cT(this,16))},Q.hd=function(e,t){return qC(),new sT(hY,e,t)},Q.Nc=function(){return Gwe((qC(),hY))},Q.Oc=function(e){return qC(),LP(hY,e)},R(JK,`ECollections/EmptyUnmodifiableEList`,1301),J(1302,770,{20:1,18:1,16:1,61:1,587:1},Wse),Q._c=function(e,t){Zle()},Q.Ec=function(e){return Xle()},Q.ad=function(e,t){return Qle()},Q.Fc=function(e){return $le()},Q.$b=function(){eue()},Q.Gc=function(e){return!1},Q.Hc=function(e){return!1},Q.Ic=function(e){_E(this,e)},Q.Xb=function(e){return Bpe((qC(),e)),null},Q.bd=function(e){return-1},Q.dc=function(){return!0},Q.Jc=function(){return this.a},Q.cd=function(){return this.a},Q.dd=function(e){return this.a},Q.Ri=function(e,t){return tue()},Q.Si=function(e,t){nue()},Q.ed=function(e){return rue()},Q.Kc=function(e){return iue()},Q.fd=function(e,t){return aue()},Q.gc=function(){return 0},Q.gd=function(e){Rk(this,e)},Q.Lc=function(){return new cT(this,16)},Q.Mc=function(){return new Px(null,new cT(this,16))},Q.hd=function(e,t){return qC(),new sT(hY,e,t)},Q.Nc=function(){return Gwe((qC(),hY))},Q.Oc=function(e){return qC(),LP(hY,e)},Q._j=function(){return qC(),qC(),gY},R(JK,`ECollections/EmptyUnmodifiableEMap`,1302);var hBt=Ax(JK,`Enumerator`),D7;J(290,1,{290:1},XL),Q.Fb=function(e){var t;return this===e?!0:N(e,290)?(t=F(e,290),this.f==t.f&&dwe(this.i,t.i)&&uwe(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&uwe(this.d,t.d)&&uwe(this.g,t.g)&&uwe(this.e,t.e)&&YYe(this,t)):!1},Q.Hb=function(){return this.f},Q.Ib=function(){return Brt(this)},Q.f=0;var gBt=0,_Bt=0,vBt=0,yBt=0,bBt=0,xBt=0,SBt=0,CBt=0,wBt=0,TBt,O7=0,k7=0,EBt=0,DBt=0,A7,OBt;R(JK,`URI`,290),J(1091,44,WV,Gse),Q.yc=function(e,t){return F(Kw(this,ib(e),F(t,290)),290)},R(JK,`URI/URICache`,1091),J(492,67,oq,bo,Vx),Q.Qi=function(){return!0},R(JK,`UniqueEList`,492),J(579,63,GB,UD),R(JK,`WrappedException`,579);var j7=Ax(xK,Gvt),M7=Ax(xK,Kvt),N7=Ax(xK,qvt),P7=Ax(xK,Jvt),F7=Ax(xK,Yvt),I7=Ax(xK,`EClass`),kBt=Ax(xK,`EDataType`),ABt;J(1199,44,WV,Kse),Q.xc=function(e){return z_(e)?Tw(this,e):V_(Jx(this.f,e))},R(xK,`EDataType/Internal/ConversionDelegate/Factory/Registry/Impl`,1199);var L7=Ax(xK,`EEnum`),R7=Ax(xK,Xvt),z7=Ax(xK,Zvt),B7=Ax(xK,Qvt),V7,H7=Ax(xK,$vt),U7=Ax(xK,eyt);J(bq,1,{},xo),Q.Ib=function(){return`NIL`},R(xK,`EStructuralFeature/Internal/DynamicValueHolder/1`,bq);var jBt;J(1023,44,WV,Kf),Q.xc=function(e){return z_(e)?Tw(this,e):V_(Jx(this.f,e))},R(xK,`EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl`,1023);var W7=Ax(xK,tyt),G7=Ax(xK,`EValidator/PatternMatcher`),MBt,NBt,K7,q7,J7,Y7,PBt,FBt,IBt,X7,Z7,Q7,$7,e9,LBt,RBt,t9,n9,zBt,r9,i9,a9,o9,BBt,VBt,s9,c9=Ax(xq,`FeatureMap/Entry`);J(534,1,{75:1},F_),Q.Jk=function(){return this.a},Q.kd=function(){return this.b},R(OK,`BasicEObjectImpl/1`,534),J(1022,1,Sq,xpe),Q.Dk=function(e){return jE(this.a,this.b,e)},Q.Oj=function(){return Qke(this.a,this.b)},Q.Wb=function(e){Bke(this.a,this.b,e)},Q.Ek=function(){eDe(this.a,this.b)},R(OK,`BasicEObjectImpl/4`,1022),J(2046,1,{114:1}),Q.Kk=function(e){this.e=e==0?HBt:H(OJ,sB,1,e,5,1)},Q.ii=function(e){return this.e[e]},Q.ji=function(e,t){this.e[e]=t},Q.ki=function(e){this.e[e]=null},Q.Lk=function(){return this.c},Q.Mk=function(){throw O(new Jd)},Q.Nk=function(){throw O(new Jd)},Q.Ok=function(){return this.d},Q.Pk=function(){return this.e!=null},Q.Qk=function(e){this.c=e},Q.Rk=function(e){throw O(new Jd)},Q.Sk=function(e){throw O(new Jd)},Q.Tk=function(e){this.d=e};var HBt;R(OK,`BasicEObjectImpl/EPropertiesHolderBaseImpl`,2046),J(192,2046,{114:1},Ec),Q.Mk=function(){return this.a},Q.Nk=function(){return this.b},Q.Rk=function(e){this.a=e},Q.Sk=function(e){this.b=e},R(OK,`BasicEObjectImpl/EPropertiesHolderImpl`,192),J(502,100,z_t,So),Q.rh=function(){return this.f},Q.wh=function(){return this.k},Q.yh=function(e,t){this.g=e,this.i=t},Q.Ah=function(){return this.j&2?this.Xh().Lk():this.fi()},Q.Ch=function(){return this.i},Q.th=function(){return!!(this.j&1)},Q.Mh=function(){return this.g},Q.Sh=function(){return!!(this.j&4)},Q.Xh=function(){return!this.k&&(this.k=new Ec),this.k},Q._h=function(e){this.Xh().Qk(e),e?this.j|=2:this.j&=-3},Q.bi=function(e){this.Xh().Sk(e),e?this.j|=4:this.j&=-5},Q.fi=function(){return(zS(),K7).S},Q.i=0,Q.j=1,R(OK,`EObjectImpl`,502),J(786,502,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},$Se),Q.ii=function(e){return this.e[e]},Q.ji=function(e,t){this.e[e]=t},Q.ki=function(e){this.e[e]=null},Q.Ah=function(){return this.d},Q.Fh=function(e){return sN(this.d,e)},Q.Hh=function(){return this.d},Q.Lh=function(){return this.e!=null},Q.Xh=function(){return!this.k&&(this.k=new Co),this.k},Q._h=function(e){this.d=e},Q.ei=function(){var e;return this.e??=(e=BS(this.d),e==0?UBt:H(OJ,sB,1,e,5,1)),this},Q.gi=function(){return 0};var UBt;R(OK,`DynamicEObjectImpl`,786),J(1484,786,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},MCe),Q.Fb=function(e){return this===e},Q.Hb=function(){return Ey(this)},Q._h=function(e){this.d=e,this.b=DL(e,`key`),this.c=DL(e,RK)},Q.yi=function(){var e;return this.a==-1&&(e=JD(this,this.b),this.a=e==null?0:jk(e)),this.a},Q.jd=function(){return JD(this,this.b)},Q.kd=function(){return JD(this,this.c)},Q.zi=function(e){this.a=e},Q.Ai=function(e){Bke(this,this.b,e)},Q.ld=function(e){var t=JD(this,this.c);return Bke(this,this.c,e),t},Q.a=0,R(OK,`DynamicEObjectImpl/BasicEMapEntry`,1484),J(1485,1,{114:1},Co),Q.Kk=function(e){throw O(new Jd)},Q.ii=function(e){throw O(new Jd)},Q.ji=function(e,t){throw O(new Jd)},Q.ki=function(e){throw O(new Jd)},Q.Lk=function(){throw O(new Jd)},Q.Mk=function(){return this.a},Q.Nk=function(){return this.b},Q.Ok=function(){return this.c},Q.Pk=function(){throw O(new Jd)},Q.Qk=function(e){throw O(new Jd)},Q.Rk=function(e){this.a=e},Q.Sk=function(e){this.b=e},Q.Tk=function(e){this.c=e},R(OK,`DynamicEObjectImpl/DynamicEPropertiesHolderImpl`,1485),J(505,161,{109:1,94:1,93:1,588:1,158:1,57:1,114:1,52:1,100:1,505:1,161:1,117:1,118:1},wo),Q.xh=function(e){return wQe(this,e)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new $y((Yz(),o9),d9,this)),this.b):(!this.b&&(this.b=new $y((Yz(),o9),d9,this)),$E(this.b));case 3:return fAe(this);case 4:return!this.a&&(this.a=new sy(Q5,this,4)),this.a;case 5:return!this.c&&(this.c=new ly(Q5,this,5)),this.c}return xD(this,e-BS((Yz(),q7)),fO((r=F(pA(this,16),29),r||q7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 3:return this.Cb&&(n=(i=this.Db>>16,i>=0?wQe(this,n):this.Cb.Qh(this,-1-i,null,n))),Awe(this,F(e,158),n)}return a=F(fO((r=F(pA(this,16),29),r||(Yz(),q7)),t),69),a.uk().xk(this,FN(this),t-BS((Yz(),q7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 2:return!this.b&&(this.b=new $y((Yz(),o9),d9,this)),Nb(this.b,e,n);case 3:return Awe(this,null,n);case 4:return!this.a&&(this.a=new sy(Q5,this,4)),fP(this.a,e,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),q7)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),q7)),e,n)},Q.Th=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!!fAe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return GT(this,e-BS((Yz(),q7)),fO((t=F(pA(this,16),29),t||q7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:HCe(this,ib(t));return;case 2:!this.b&&(this.b=new $y((Yz(),o9),d9,this)),$k(this.b,t);return;case 3:b9e(this,F(t,158));return;case 4:!this.a&&(this.a=new sy(Q5,this,4)),fz(this.a),!this.a&&(this.a=new sy(Q5,this,4)),VS(this.a,F(t,18));return;case 5:!this.c&&(this.c=new ly(Q5,this,5)),fz(this.c),!this.c&&(this.c=new ly(Q5,this,5)),VS(this.c,F(t,18));return}KM(this,e-BS((Yz(),q7)),fO((n=F(pA(this,16),29),n||q7),e),t)},Q.fi=function(){return Yz(),q7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:zBe(this,null);return;case 2:!this.b&&(this.b=new $y((Yz(),o9),d9,this)),this.b.c.$b();return;case 3:b9e(this,null);return;case 4:!this.a&&(this.a=new sy(Q5,this,4)),fz(this.a);return;case 5:!this.c&&(this.c=new ly(Q5,this,5)),fz(this.c);return}iM(this,e-BS((Yz(),q7)),fO((t=F(pA(this,16),29),t||q7),e))},Q.Ib=function(){return iKe(this)},Q.d=null,R(OK,`EAnnotationImpl`,505),J(142,711,nyt,fD),Q.Ei=function(e,t){qme(this,e,F(t,45))},Q.Uk=function(e,t){return Uye(this,F(e,45),t)},Q.Yi=function(e){return F(F(this.c,72).Yi(e),136)},Q.Gi=function(){return F(this.c,72).Gi()},Q.Hi=function(){return F(this.c,72).Hi()},Q.Ii=function(e){return F(this.c,72).Ii(e)},Q.Vk=function(e,t){return Nb(this,e,t)},Q.Dk=function(e){return F(this.c,78).Dk(e)},Q.$j=function(){},Q.Oj=function(){return F(this.c,78).Oj()},Q.ak=function(e,t,n){var r=F(AO(this.b).ti().pi(this.b),136);return r.zi(e),r.Ai(t),r.ld(n),r},Q.bk=function(){return new vd(this)},Q.Wb=function(e){$k(this,e)},Q.Ek=function(){F(this.c,78).Ek()},R(xq,`EcoreEMap`,142),J(169,142,nyt,$y),Q.Zj=function(){var e,t,n,r,i,a;if(this.d==null){for(a=H(cBt,Vvt,67,2*this.f+1,0,1),n=this.c.Jc();n.e!=n.i.gc();)t=F(n.Wj(),136),r=t.yi(),i=(r&nB)%a.length,e=a[i],!e&&(e=a[i]=new vd(this)),e.Ec(t);this.d=a}},R(OK,`EAnnotationImpl/1`,169),J(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return xy(),!!(this.Bb&256);case 3:return xy(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return xy(),!!this.Hk();case 7:return xy(),i=this.s,i>=1;case 8:return t?dF(this):this.r;case 9:return this.q}return xD(this,e-BS(this.fi()),fO((r=F(pA(this,16),29),r||this.fi()),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 9:return uEe(this,n)}return i=F(fO((r=F(pA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,FN(this),t-BS(this.fi()),e,n)},Q.Th=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);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&eC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&eC(this.q).i==0)}return GT(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:this.ri(ib(t));return;case 2:aM(this,Hp(rb(t)));return;case 3:oM(this,Hp(rb(t)));return;case 4:GO(this,F(t,15).a);return;case 5:this.Xk(F(t,15).a);return;case 8:Lj(this,F(t,143));return;case 9:r=UF(this,F(t,87),null),r&&r.mj();return}KM(this,e-BS(this.fi()),fO((n=F(pA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Yz(),VBt},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:this.ri(null);return;case 2:aM(this,!0);return;case 3:oM(this,!0);return;case 4:GO(this,0);return;case 5:this.Xk(1);return;case 8:Lj(this,null);return;case 9:n=UF(this,null,null),n&&n.mj();return}iM(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.mi=function(){dF(this),this.Bb|=1},Q.Fk=function(){return dF(this)},Q.Gk=function(){return this.t},Q.Hk=function(){var e=this.t;return e>1||e==-1},Q.Qi=function(){return!!(this.Bb&512)},Q.Wk=function(e,t){return KGe(this,e,t)},Q.Xk=function(e){KO(this,e)},Q.Ib=function(){return c8e(this)},Q.s=0,Q.t=1,R(OK,`ETypedElementImpl`,293),J(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),Q.xh=function(e){return qZe(this,e)},Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return xy(),!!(this.Bb&256);case 3:return xy(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return xy(),!!this.Hk();case 7:return xy(),i=this.s,i>=1;case 8:return t?dF(this):this.r;case 9:return this.q;case 10:return xy(),(this.Bb&bq)!=0;case 11:return xy(),(this.Bb&kK)!=0;case 12:return xy(),(this.Bb&MV)!=0;case 13:return this.j;case 14:return bL(this);case 15:return xy(),(this.Bb&Cq)!=0;case 16:return xy(),(this.Bb&SB)!=0;case 17:return Vw(this)}return xD(this,e-BS(this.fi()),fO((r=F(pA(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 17:return this.Cb&&(n=(i=this.Db>>16,i>=0?qZe(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,17,n)}return a=F(fO((r=F(pA(this,16),29),r||this.fi()),t),69),a.uk().xk(this,FN(this),t-BS(this.fi()),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 9:return uEe(this,n);case 17:return SR(this,null,17,n)}return i=F(fO((r=F(pA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,FN(this),t-BS(this.fi()),e,n)},Q.Th=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);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&eC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&eC(this.q).i==0);case 10:return(this.Bb&bq)==0;case 11:return(this.Bb&kK)!=0;case 12:return(this.Bb&MV)!=0;case 13:return this.j!=null;case 14:return bL(this)!=null;case 15:return(this.Bb&Cq)!=0;case 16:return(this.Bb&SB)!=0;case 17:return!!Vw(this)}return GT(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:rT(this,ib(t));return;case 2:aM(this,Hp(rb(t)));return;case 3:oM(this,Hp(rb(t)));return;case 4:GO(this,F(t,15).a);return;case 5:this.Xk(F(t,15).a);return;case 8:Lj(this,F(t,143));return;case 9:r=UF(this,F(t,87),null),r&&r.mj();return;case 10:SM(this,Hp(rb(t)));return;case 11:wM(this,Hp(rb(t)));return;case 12:CM(this,Hp(rb(t)));return;case 13:Ope(this,ib(t));return;case 15:xM(this,Hp(rb(t)));return;case 16:zM(this,Hp(rb(t)));return}KM(this,e-BS(this.fi()),fO((n=F(pA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Yz(),BBt},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:N(this.Cb,88)&&kI(wE(F(this.Cb,88)),4),Nk(this,null);return;case 2:aM(this,!0);return;case 3:oM(this,!0);return;case 4:GO(this,0);return;case 5:this.Xk(1);return;case 8:Lj(this,null);return;case 9:n=UF(this,null,null),n&&n.mj();return;case 10:SM(this,!0);return;case 11:wM(this,!1);return;case 12:CM(this,!1);return;case 13:this.i=null,_k(this,null);return;case 15:xM(this,!1);return;case 16:zM(this,!1);return}iM(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.mi=function(){OC(RD((vI(),p9),this)),dF(this),this.Bb|=1},Q.nk=function(){return this.f},Q.gk=function(){return bL(this)},Q.ok=function(){return Vw(this)},Q.sk=function(){return null},Q.Yk=function(){return this.k},Q.Jj=function(){return this.n},Q.tk=function(){return OF(this)},Q.uk=function(){var e,t,n,r,i,a,o,s,c;return this.p||(n=Vw(this),(n.i??PR(n),n.i).length,r=this.sk(),r&&BS(Vw(r)),i=dF(this),o=i.ik(),e=o?o.i&1?o==J9?XJ:o==q9?tY:o==Q9?eY:o==Z9?$J:o==Y9?nY:o==$9?iY:o==X9?ZJ:QJ:o:null,t=bL(this),s=i.gk(),YKe(this),(this.Bb&SB)!=0&&((a=y$e((vI(),p9),n))&&a!=this||(a=pT(RD(p9,this))))?this.p=new Tpe(this,a):this.Hk()?this.$k()?this.p=r?(this.Bb&Cq)==0?e?this._k()?new GC(49,e,this,r):new GC(7,e,this,r):this._k()?new iE(48,this,r):new iE(6,this,r):e?this._k()?new GC(47,e,this,r):new GC(5,e,this,r):this._k()?new iE(46,this,r):new iE(4,this,r):(this.Bb&Cq)==0?e?e==NJ?new $b(41,nBt,this):this._k()?new $b(45,e,this):new $b(3,e,this):this._k()?new uw(44,this):new uw(2,this):e?e==NJ?new $b(50,nBt,this):this._k()?new $b(43,e,this):new $b(1,e,this):this._k()?new uw(42,this):new uw(0,this):N(i,159)?this.p=e==c9?new uw(40,this):this.Bb&512?(this.Bb&Cq)==0?e?new $b(11,e,this):new uw(10,this):e?new $b(9,e,this):new uw(8,this):(this.Bb&Cq)==0?e?new $b(15,e,this):new uw(14,this):e?new $b(13,e,this):new uw(12,this):r?(c=r.t,this.p=c>1||c==-1?this._k()?(this.Bb&Cq)==0?e?new GC(27,e,this,r):new iE(26,this,r):e?new GC(25,e,this,r):new iE(24,this,r):(this.Bb&Cq)==0?e?new GC(31,e,this,r):new iE(30,this,r):e?new GC(29,e,this,r):new iE(28,this,r):this._k()?(this.Bb&Cq)==0?e?new GC(35,e,this,r):new iE(34,this,r):e?new GC(33,e,this,r):new iE(32,this,r):(this.Bb&Cq)==0?e?new GC(39,e,this,r):new iE(38,this,r):e?new GC(37,e,this,r):new iE(36,this,r)):this.p=this._k()?(this.Bb&Cq)==0?e?new $b(19,e,this):new uw(18,this):e?new $b(17,e,this):new uw(16,this):(this.Bb&Cq)==0?e?new $b(23,e,this):new uw(22,this):e?new $b(21,e,this):new uw(20,this):this.p=this.Zk()?this._k()?new _Se(F(i,29),this,r):new Oke(F(i,29),this,r):N(i,159)?e==c9?new uw(40,this):(this.Bb&Cq)==0?e?new Nwe(t,s,this,(xN(),o==q9?tVt:o==J9?XBt:o==Y9?nVt:o==Q9?eVt:o==Z9?$Bt:o==$9?iVt:o==X9?ZBt:o==K9?QBt:rVt)):new rOe(F(i,159),t,s,this):e?new Pwe(t,s,this,(xN(),o==q9?tVt:o==J9?XBt:o==Y9?nVt:o==Q9?eVt:o==Z9?$Bt:o==$9?iVt:o==X9?ZBt:o==K9?QBt:rVt)):new iOe(F(i,159),t,s,this):this.$k()?r?(this.Bb&Cq)==0?this._k()?new bSe(F(i,29),this,r):new ex(F(i,29),this,r):this._k()?new SSe(F(i,29),this,r):new xSe(F(i,29),this,r):(this.Bb&Cq)==0?this._k()?new H_e(F(i,29),this):new eb(F(i,29),this):this._k()?new W_e(F(i,29),this):new U_e(F(i,29),this):this._k()?r?(this.Bb&Cq)==0?new vSe(F(i,29),this,r):new CSe(F(i,29),this,r):(this.Bb&Cq)==0?new B_e(F(i,29),this):new G_e(F(i,29),this):r?(this.Bb&Cq)==0?new ySe(F(i,29),this,r):new wSe(F(i,29),this,r):(this.Bb&Cq)==0?new Bx(F(i,29),this):new V_e(F(i,29),this)),this.p},Q.pk=function(){return(this.Bb&bq)!=0},Q.Zk=function(){return!1},Q.$k=function(){return!1},Q.qk=function(){return(this.Bb&SB)!=0},Q.vk=function(){return ZD(this)},Q._k=function(){return!1},Q.rk=function(){return(this.Bb&Cq)!=0},Q.al=function(e){this.k=e},Q.ri=function(e){rT(this,e)},Q.Ib=function(){return $L(this)},Q.e=!1,Q.n=0,R(OK,`EStructuralFeatureImpl`,451),J(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},qf),Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return xy(),!!(this.Bb&256);case 3:return xy(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return xy(),!!v6e(this);case 7:return xy(),i=this.s,i>=1;case 8:return t?dF(this):this.r;case 9:return this.q;case 10:return xy(),(this.Bb&bq)!=0;case 11:return xy(),(this.Bb&kK)!=0;case 12:return xy(),(this.Bb&MV)!=0;case 13:return this.j;case 14:return bL(this);case 15:return xy(),(this.Bb&Cq)!=0;case 16:return xy(),(this.Bb&SB)!=0;case 17:return Vw(this);case 18:return xy(),(this.Bb&DK)!=0;case 19:return t?jA(this):JFe(this)}return xD(this,e-BS((Yz(),J7)),fO((r=F(pA(this,16),29),r||J7),e),t,n)},Q.Th=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);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return v6e(this);case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&eC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&eC(this.q).i==0);case 10:return(this.Bb&bq)==0;case 11:return(this.Bb&kK)!=0;case 12:return(this.Bb&MV)!=0;case 13:return this.j!=null;case 14:return bL(this)!=null;case 15:return(this.Bb&Cq)!=0;case 16:return(this.Bb&SB)!=0;case 17:return!!Vw(this);case 18:return(this.Bb&DK)!=0;case 19:return!!JFe(this)}return GT(this,e-BS((Yz(),J7)),fO((t=F(pA(this,16),29),t||J7),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:rT(this,ib(t));return;case 2:aM(this,Hp(rb(t)));return;case 3:oM(this,Hp(rb(t)));return;case 4:GO(this,F(t,15).a);return;case 5:Ele(this,F(t,15).a);return;case 8:Lj(this,F(t,143));return;case 9:r=UF(this,F(t,87),null),r&&r.mj();return;case 10:SM(this,Hp(rb(t)));return;case 11:wM(this,Hp(rb(t)));return;case 12:CM(this,Hp(rb(t)));return;case 13:Ope(this,ib(t));return;case 15:xM(this,Hp(rb(t)));return;case 16:zM(this,Hp(rb(t)));return;case 18:BM(this,Hp(rb(t)));return}KM(this,e-BS((Yz(),J7)),fO((n=F(pA(this,16),29),n||J7),e),t)},Q.fi=function(){return Yz(),J7},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:N(this.Cb,88)&&kI(wE(F(this.Cb,88)),4),Nk(this,null);return;case 2:aM(this,!0);return;case 3:oM(this,!0);return;case 4:GO(this,0);return;case 5:this.b=0,KO(this,1);return;case 8:Lj(this,null);return;case 9:n=UF(this,null,null),n&&n.mj();return;case 10:SM(this,!0);return;case 11:wM(this,!1);return;case 12:CM(this,!1);return;case 13:this.i=null,_k(this,null);return;case 15:xM(this,!1);return;case 16:zM(this,!1);return;case 18:BM(this,!1);return}iM(this,e-BS((Yz(),J7)),fO((t=F(pA(this,16),29),t||J7),e))},Q.mi=function(){jA(this),OC(RD((vI(),p9),this)),dF(this),this.Bb|=1},Q.Hk=function(){return v6e(this)},Q.Wk=function(e,t){return this.b=0,this.a=null,KGe(this,e,t)},Q.Xk=function(e){Ele(this,e)},Q.Ib=function(){var e;return this.Db&64?$L(this):(e=new _y($L(this)),e.a+=` (iD: `,Rm(e,(this.Bb&DK)!=0),e.a+=`)`,e.a)},Q.b=0,R(OK,`EAttributeImpl`,335),J(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),Q.bl=function(e){return e.Ah()==this},Q.xh=function(e){return YP(this,e)},Q.yh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return KP(this);case 4:return this.gk();case 5:return this.F;case 6:return t?AO(this):zw(this);case 7:return!this.A&&(this.A=new cy(W7,this,7)),this.A}return xD(this,e-BS(this.fi()),fO((r=F(pA(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?YP(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,6,n)}return a=F(fO((r=F(pA(this,16),29),r||this.fi()),t),69),a.uk().xk(this,FN(this),t-BS(this.fi()),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 6:return SR(this,null,6,n);case 7:return!this.A&&(this.A=new cy(W7,this,7)),fP(this.A,e,n)}return i=F(fO((r=F(pA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,FN(this),t-BS(this.fi()),e,n)},Q.Th=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!!KP(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!zw(this);case 7:return!!this.A&&this.A.i!=0}return GT(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:iT(this,ib(t));return;case 2:Dv(this,ib(t));return;case 5:xz(this,ib(t));return;case 7:!this.A&&(this.A=new cy(W7,this,7)),fz(this.A),!this.A&&(this.A=new cy(W7,this,7)),VS(this.A,F(t,18));return}KM(this,e-BS(this.fi()),fO((n=F(pA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Yz(),PBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),Nk(this,null);return;case 2:kj(this,null),qO(this,this.D);return;case 5:xz(this,null);return;case 7:!this.A&&(this.A=new cy(W7,this,7)),fz(this.A);return}iM(this,e-BS(this.fi()),fO((t=F(pA(this,16),29),t||this.fi()),e))},Q.fk=function(){var e;return this.G==-1&&(this.G=(e=AO(this),e?yP(e.si(),this):-1)),this.G},Q.gk=function(){return null},Q.hk=function(){return AO(this)},Q.cl=function(){return this.v},Q.ik=function(){return KP(this)},Q.jk=function(){return this.D==null?this.B:this.D},Q.kk=function(){return this.F},Q.dk=function(e){return DR(this,e)},Q.dl=function(e){this.v=e},Q.el=function(e){vVe(this,e)},Q.fl=function(e){this.C=e},Q.ri=function(e){iT(this,e)},Q.Ib=function(){return lN(this)},Q.C=null,Q.D=null,Q.G=-1,R(OK,`EClassifierImpl`,360),J(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},Tc),Q.bl=function(e){return bye(this,e.Ah())},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return KP(this);case 4:return null;case 5:return this.F;case 6:return t?AO(this):zw(this);case 7:return!this.A&&(this.A=new cy(W7,this,7)),this.A;case 8:return xy(),!!(this.Bb&256);case 9:return xy(),!!(this.Bb&512);case 10:return hw(this);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),this.q;case 12:return JR(this);case 13:return WR(this);case 14:return WR(this),this.r;case 15:return JR(this),this.k;case 16:return G4e(this);case 17:return BR(this);case 18:return PR(this);case 19:return gL(this);case 20:return JR(this),this.o;case 21:return!this.s&&(this.s=new I(N7,this,21,17)),this.s;case 22:return tE(this);case 23:return qL(this)}return xD(this,e-BS((Yz(),Y7)),fO((r=F(pA(this,16),29),r||Y7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?YP(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,6,n);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),mN(this.q,e,n);case 21:return!this.s&&(this.s=new I(N7,this,21,17)),mN(this.s,e,n)}return a=F(fO((r=F(pA(this,16),29),r||(Yz(),Y7)),t),69),a.uk().xk(this,FN(this),t-BS((Yz(),Y7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 6:return SR(this,null,6,n);case 7:return!this.A&&(this.A=new cy(W7,this,7)),fP(this.A,e,n);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),fP(this.q,e,n);case 21:return!this.s&&(this.s=new I(N7,this,21,17)),fP(this.s,e,n);case 22:return fP(tE(this),e,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),Y7)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),Y7)),e,n)},Q.Th=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!!KP(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!zw(this);case 7:return!!this.A&&this.A.i!=0;case 8:return!!(this.Bb&256);case 9:return!!(this.Bb&512);case 10:return!!this.u&&tE(this.u.a).i!=0&&!(this.n&&AP(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return JR(this).i!=0;case 13:return WR(this).i!=0;case 14:return WR(this),this.r.i!=0;case 15:return JR(this),this.k.i!=0;case 16:return G4e(this).i!=0;case 17:return BR(this).i!=0;case 18:return PR(this).i!=0;case 19:return gL(this).i!=0;case 20:return JR(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&AP(this.n);case 23:return qL(this).i!=0}return GT(this,e-BS((Yz(),Y7)),fO((t=F(pA(this,16),29),t||Y7),e))},Q.Wh=function(e){return(this.i==null||this.q&&this.q.i!=0?null:DL(this,e))||Klt(this,e)},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:iT(this,ib(t));return;case 2:Dv(this,ib(t));return;case 5:xz(this,ib(t));return;case 7:!this.A&&(this.A=new cy(W7,this,7)),fz(this.A),!this.A&&(this.A=new cy(W7,this,7)),VS(this.A,F(t,18));return;case 8:nKe(this,Hp(rb(t)));return;case 9:rKe(this,Hp(rb(t)));return;case 10:pz(hw(this)),VS(hw(this),F(t,18));return;case 11:!this.q&&(this.q=new I(B7,this,11,10)),fz(this.q),!this.q&&(this.q=new I(B7,this,11,10)),VS(this.q,F(t,18));return;case 21:!this.s&&(this.s=new I(N7,this,21,17)),fz(this.s),!this.s&&(this.s=new I(N7,this,21,17)),VS(this.s,F(t,18));return;case 22:fz(tE(this)),VS(tE(this),F(t,18));return}KM(this,e-BS((Yz(),Y7)),fO((n=F(pA(this,16),29),n||Y7),e),t)},Q.fi=function(){return Yz(),Y7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),Nk(this,null);return;case 2:kj(this,null),qO(this,this.D);return;case 5:xz(this,null);return;case 7:!this.A&&(this.A=new cy(W7,this,7)),fz(this.A);return;case 8:nKe(this,!1);return;case 9:rKe(this,!1);return;case 10:this.u&&pz(this.u);return;case 11:!this.q&&(this.q=new I(B7,this,11,10)),fz(this.q);return;case 21:!this.s&&(this.s=new I(N7,this,21,17)),fz(this.s);return;case 22:this.n&&fz(this.n);return}iM(this,e-BS((Yz(),Y7)),fO((t=F(pA(this,16),29),t||Y7),e))},Q.mi=function(){var e,t;if(JR(this),WR(this),G4e(this),BR(this),PR(this),gL(this),qL(this),PE(MSe(wE(this))),this.s)for(e=0,t=this.s.i;e=0;--t)U(this,t);return Yqe(this,e)},Q.Ek=function(){fz(this)},Q.Xi=function(e,t){return cBe(this,e,t)},R(xq,`EcoreEList`,624),J(491,624,Mq,dx),Q.Ji=function(){return!1},Q.Jj=function(){return this.c},Q.Kj=function(){return!1},Q.ml=function(){return!0},Q.Qi=function(){return!0},Q.Ui=function(e,t){return t},Q.Wi=function(){return!1},Q.c=0,R(xq,`EObjectEList`,491),J(81,491,Mq,sy),Q.Kj=function(){return!0},Q.kl=function(){return!1},Q.$k=function(){return!0},R(xq,`EObjectContainmentEList`,81),J(544,81,Mq,oy),Q.Li=function(){this.b=!0},Q.Oj=function(){return this.b},Q.Ek=function(){var e;fz(this),vv(this.e)?(e=this.b,this.b=!1,aA(this.e,new EE(this.e,2,this.c,e,!1))):this.b=!1},Q.b=!1,R(xq,`EObjectContainmentEList/Unsettable`,544),J(1131,544,Mq,jwe),Q.Ri=function(e,t){var n=F(yM(this,e,t),87),r;return vv(this.e)&&af(this,new mD(this.a,7,(Yz(),FBt),K(t),(r=n.c,N(r,88)?F(r,29):t9),e)),n},Q.Sj=function(e,t){return rJe(this,F(e,87),t)},Q.Tj=function(e,t){return nJe(this,F(e,87),t)},Q.Uj=function(e,t,n){return P$e(this,F(e,87),F(t,87),n)},Q.Gj=function(e,t,n,r,i){switch(e){case 3:return qw(this,e,t,n,r,this.i>1);case 5:return qw(this,e,t,n,r,this.i-F(n,16).gc()>0);default:return new WD(this.e,e,this.c,t,n,r,!0)}},Q.Rj=function(){return!0},Q.Oj=function(){return AP(this)},Q.Ek=function(){fz(this)},R(OK,`EClassImpl/1`,1131),J(1145,1144,Rvt),Q.bj=function(e){var t,n=e.ej(),r,i,a,o,s;if(n!=8){if(r=kYe(e),r==0)switch(n){case 1:case 9:s=e.ij(),s!=null&&(t=wE(F(s,471)),!t.c&&(t.c=new Io),XD(t.c,e.hj())),o=e.gj(),o!=null&&(i=F(o,471),i.Bb&1||(t=wE(i),!t.c&&(t.c=new Io),cD(t.c,F(e.hj(),29))));break;case 3:o=e.gj(),o!=null&&(i=F(o,471),i.Bb&1||(t=wE(i),!t.c&&(t.c=new Io),cD(t.c,F(e.hj(),29))));break;case 5:if(o=e.gj(),o!=null)for(a=F(o,18).Jc();a.Ob();)i=F(a.Pb(),471),i.Bb&1||(t=wE(i),!t.c&&(t.c=new Io),cD(t.c,F(e.hj(),29)));break;case 4:s=e.ij(),s!=null&&(i=F(s,471),i.Bb&1||(t=wE(i),!t.c&&(t.c=new Io),XD(t.c,e.hj())));break;case 6:if(s=e.ij(),s!=null)for(a=F(s,18).Jc();a.Ob();)i=F(a.Pb(),471),i.Bb&1||(t=wE(i),!t.c&&(t.c=new Io),XD(t.c,e.hj()))}this.ol(r)}},Q.ol=function(e){Vtt(this,e)},Q.b=63,R(OK,`ESuperAdapter`,1145),J(1146,1145,Rvt,od),Q.ol=function(e){kI(this,e)},R(OK,`EClassImpl/10`,1146),J(1135,699,Mq),Q.Ci=function(e,t){return HF(this,e,t)},Q.Di=function(e){return QXe(this,e)},Q.Ei=function(e,t){eM(this,e,t)},Q.Fi=function(e){FE(this,e)},Q.Yi=function(e){return hLe(this,e)},Q.Vi=function(e,t){return YD(this,e,t)},Q.Uk=function(e,t){throw O(new Jd)},Q.Gi=function(){return new Fy(this)},Q.Hi=function(){return new Iy(this)},Q.Ii=function(e){return ik(this,e)},Q.Vk=function(e,t){throw O(new Jd)},Q.Dk=function(e){return this},Q.Oj=function(){return this.i!=0},Q.Wb=function(e){throw O(new Jd)},Q.Ek=function(){throw O(new Jd)},R(xq,`EcoreEList/UnmodifiableEList`,1135),J(333,1135,Mq,av),Q.Wi=function(){return!1},R(xq,`EcoreEList/UnmodifiableEList/FastCompare`,333),J(1138,333,Mq,FUe),Q.bd=function(e){var t,n,r;if(N(e,179)&&(t=F(e,179),n=t.Jj(),n!=-1)){for(r=this.i;n4){if(this.dk(e)){if(this.$k()){if(r=F(e,52),n=r.Bh(),s=n==this.b&&(this.kl()?r.vh(r.Ch(),F(fO(gw(this.b),this.Jj()).Fk(),29).ik())==EP(F(fO(gw(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!s&&!n&&r.Gh()){for(i=0;i1||r==-1)):!1},Q.kl=function(){var e,t=fO(gw(this.b),this.Jj()),n;return N(t,103)?(e=F(t,19),n=EP(e),!!n):!1},Q.ll=function(){var e,t=fO(gw(this.b),this.Jj());return N(t,103)?(e=F(t,19),(e.Bb&PV)!=0):!1},Q.bd=function(e){var t,n,r=this.xj(e),i;if(r>=0)return r;if(this.ml()){for(n=0,i=this.Cj();n=0;--e)yz(this,e,this.vj(e));return this.Dj()},Q.Oc=function(e){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)yz(this,t,this.vj(t));return this.Ej(e)},Q.Ek=function(){pz(this)},Q.Xi=function(e,t){return wLe(this,e,t)},R(xq,`DelegatingEcoreEList`,744),J(1141,744,cyt,Tve),Q.oj=function(e,t){z_e(this,e,F(t,29))},Q.pj=function(e){Ume(this,F(e,29))},Q.vj=function(e){var t=F(U(tE(this.a),e),87).c;return N(t,88)?F(t,29):(Yz(),t9)},Q.Aj=function(e){var t=F(VL(tE(this.a),e),87).c;return N(t,88)?F(t,29):(Yz(),t9)},Q.Bj=function(e,t){return eZe(this,e,F(t,29))},Q.Ji=function(){return!1},Q.Gj=function(e,t,n,r,i){return null},Q.qj=function(){return new Sse(this)},Q.rj=function(){fz(tE(this.a))},Q.sj=function(e){return oKe(this,e)},Q.tj=function(e){for(var t,n=e.Jc();n.Ob();)if(t=n.Pb(),!oKe(this,t))return!1;return!0},Q.uj=function(e){var t,n,r;if(N(e,16)&&(r=F(e,16),r.gc()==tE(this.a).i)){for(t=r.Jc(),n=new dy(this);t.Ob();)if(M(t.Pb())!==M(nP(n)))return!1;return!0}return!1},Q.wj=function(){var e,t,n=1,r,i;for(t=new dy(tE(this.a));t.e!=t.i.gc();)e=F(nP(t),87),r=(i=e.c,N(i,88)?F(i,29):(Yz(),t9)),n=31*n+(r?Ey(r):0);return n},Q.xj=function(e){var t,n,r=0,i;for(n=new dy(tE(this.a));n.e!=n.i.gc();){if(t=F(nP(n),87),M(e)===M((i=t.c,N(i,88)?F(i,29):(Yz(),t9))))return r;++r}return-1},Q.yj=function(){return tE(this.a).i==0},Q.zj=function(){return null},Q.Cj=function(){return tE(this.a).i},Q.Dj=function(){var e,t,n,r,i,a=tE(this.a).i;for(i=H(OJ,sB,1,a,5,1),n=0,t=new dy(tE(this.a));t.e!=t.i.gc();)e=F(nP(t),87),i[n++]=(r=e.c,N(r,88)?F(r,29):(Yz(),t9));return i},Q.Ej=function(e){var t,n,r,i,a,o,s=tE(this.a).i;for(e.lengths&&qS(e,s,null),r=0,n=new dy(tE(this.a));n.e!=n.i.gc();)t=F(nP(n),87),a=(o=t.c,N(o,88)?F(o,29):(Yz(),t9)),qS(e,r++,a);return e},Q.Fj=function(){var e,t,n,r,i=new om;for(i.a+=`[`,e=tE(this.a),t=0,r=tE(this.a).i;t>16,i>=0?YP(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,6,n);case 9:return!this.a&&(this.a=new I(R7,this,9,5)),mN(this.a,e,n)}return a=F(fO((r=F(pA(this,16),29),r||(Yz(),X7)),t),69),a.uk().xk(this,FN(this),t-BS((Yz(),X7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 6:return SR(this,null,6,n);case 7:return!this.A&&(this.A=new cy(W7,this,7)),fP(this.A,e,n);case 9:return!this.a&&(this.a=new I(R7,this,9,5)),fP(this.a,e,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),X7)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),X7)),e,n)},Q.Th=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!!KP(this);case 4:return!!WWe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!zw(this);case 7:return!!this.A&&this.A.i!=0;case 8:return!(this.Bb&256);case 9:return!!this.a&&this.a.i!=0}return GT(this,e-BS((Yz(),X7)),fO((t=F(pA(this,16),29),t||X7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:iT(this,ib(t));return;case 2:Dv(this,ib(t));return;case 5:xz(this,ib(t));return;case 7:!this.A&&(this.A=new cy(W7,this,7)),fz(this.A),!this.A&&(this.A=new cy(W7,this,7)),VS(this.A,F(t,18));return;case 8:sM(this,Hp(rb(t)));return;case 9:!this.a&&(this.a=new I(R7,this,9,5)),fz(this.a),!this.a&&(this.a=new I(R7,this,9,5)),VS(this.a,F(t,18));return}KM(this,e-BS((Yz(),X7)),fO((n=F(pA(this,16),29),n||X7),e),t)},Q.fi=function(){return Yz(),X7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),Nk(this,null);return;case 2:kj(this,null),qO(this,this.D);return;case 5:xz(this,null);return;case 7:!this.A&&(this.A=new cy(W7,this,7)),fz(this.A);return;case 8:sM(this,!0);return;case 9:!this.a&&(this.a=new I(R7,this,9,5)),fz(this.a);return}iM(this,e-BS((Yz(),X7)),fO((t=F(pA(this,16),29),t||X7),e))},Q.mi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?F(this.Cb,675):null}return xD(this,e-BS((Yz(),Z7)),fO((r=F(pA(this,16),29),r||Z7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 5:return this.Cb&&(n=(i=this.Db>>16,i>=0?SQe(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,5,n)}return a=F(fO((r=F(pA(this,16),29),r||(Yz(),Z7)),t),69),a.uk().xk(this,FN(this),t-BS((Yz(),Z7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 5:return SR(this,null,5,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),Z7)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),Z7)),e,n)},Q.Th=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,675))}return GT(this,e-BS((Yz(),Z7)),fO((t=F(pA(this,16),29),t||Z7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:Nk(this,ib(t));return;case 2:WO(this,F(t,15).a);return;case 3:H6e(this,F(t,2004));return;case 4:fk(this,ib(t));return}KM(this,e-BS((Yz(),Z7)),fO((n=F(pA(this,16),29),n||Z7),e),t)},Q.fi=function(){return Yz(),Z7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:Nk(this,null);return;case 2:WO(this,0);return;case 3:H6e(this,null);return;case 4:fk(this,null);return}iM(this,e-BS((Yz(),Z7)),fO((t=F(pA(this,16),29),t||Z7),e))},Q.Ib=function(){return this.c??this.zb},Q.b=null,Q.c=null,Q.d=0,R(OK,`EEnumLiteralImpl`,568);var KBt=Ax(OK,`EFactoryImpl/InternalEDateTimeFormat`);J(485,1,{2079:1},sd),R(OK,`EFactoryImpl/1ClientInternalEDateTimeFormat`,485),J(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},Td),Q.zh=function(e,t,n){var r;return n=SR(this,e,t,n),this.e&&N(e,179)&&(r=hL(this,this.e),r!=this.c&&(n=Sz(this,r,n))),n},Q.Ih=function(e,t,n){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new sy(z7,this,1)),this.d;case 2:return t?ER(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?NP(this):this.a}return xD(this,e-BS((Yz(),$7)),fO((r=F(pA(this,16),29),r||$7),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return SGe(this,null,n);case 1:return!this.d&&(this.d=new sy(z7,this,1)),fP(this.d,e,n);case 3:return xGe(this,null,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),$7)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),$7)),e,n)},Q.Th=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 GT(this,e-BS((Yz(),$7)),fO((t=F(pA(this,16),29),t||$7),e))},Q.$h=function(e,t){var n;switch(e){case 0:l1e(this,F(t,87));return;case 1:!this.d&&(this.d=new sy(z7,this,1)),fz(this.d),!this.d&&(this.d=new sy(z7,this,1)),VS(this.d,F(t,18));return;case 3:c1e(this,F(t,87));return;case 4:t2e(this,F(t,835));return;case 5:kO(this,F(t,143));return}KM(this,e-BS((Yz(),$7)),fO((n=F(pA(this,16),29),n||$7),e),t)},Q.fi=function(){return Yz(),$7},Q.hi=function(e){var t;switch(e){case 0:l1e(this,null);return;case 1:!this.d&&(this.d=new sy(z7,this,1)),fz(this.d);return;case 3:c1e(this,null);return;case 4:t2e(this,null);return;case 5:kO(this,null);return}iM(this,e-BS((Yz(),$7)),fO((t=F(pA(this,16),29),t||$7),e))},Q.Ib=function(){var e=new vy(aL(this));return e.a+=` (expression: `,rz(this,e),e.a+=`)`,e.a};var qBt;R(OK,`EGenericTypeImpl`,248),J(2032,2027,Iq),Q.Ei=function(e,t){Cve(this,e,t)},Q.Uk=function(e,t){return Cve(this,this.gc(),e),t},Q.Yi=function(e){return dP(this.nj(),e)},Q.Gi=function(){return this.Hi()},Q.nj=function(){return new _d(this)},Q.Hi=function(){return this.Ii(0)},Q.Ii=function(e){return this.nj().dd(e)},Q.Vk=function(e,t){return oN(this,e,!0),t},Q.Ri=function(e,t){var n,r=oF(this,t);return n=this.dd(e),n.Rb(r),r},Q.Si=function(e,t){var n;oN(this,t,!0),n=this.dd(e),n.Rb(t)},R(xq,`AbstractSequentialInternalEList`,2032),J(482,2032,Iq,My),Q.Yi=function(e){return dP(this.nj(),e)},Q.Gi=function(){return this.b==null?(Hh(),Hh(),u9):this.ql()},Q.nj=function(){return new $pe(this.a,this.b)},Q.Hi=function(){return this.b==null?(Hh(),Hh(),u9):this.ql()},Q.Ii=function(e){var t,n;if(this.b==null){if(e<0||e>1)throw O(new jp(vq+e+`, size=0`));return Hh(),Hh(),u9}for(n=this.ql(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.nk()!=$5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(a=this.b.Kh(t,this.sl()),this.f=(Wh(),F(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=F(a,16),this.k=r):(r=F(a,72),this.k=this.j=r),N(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?k4e(this,this.p):f3e(this))return i=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,75),e.Jk(),n=e.kd(),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}return i=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,75),e.Jk(),n=e.kd(),this.i=n):(n=i,this.i=n),this.g=-3,!0}},Q.Pb=function(){return mA(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 Yd)},Q.Vb=function(){return this.a-1},Q.Qb=function(){throw O(new Jd)},Q.sl=function(){return!1},Q.Wb=function(e){throw O(new Jd)},Q.tl=function(){return!0},Q.a=0,Q.d=0,Q.f=!1,Q.g=0,Q.n=0,Q.o=0;var u9;R(xq,`EContentsEList/FeatureIteratorImpl`,287),J(700,287,Lq,M_e),Q.sl=function(){return!0},R(xq,`EContentsEList/ResolvingFeatureIteratorImpl`,700),J(1148,700,Lq,P_e),Q.tl=function(){return!1},R(OK,`ENamedElementImpl/1/1`,1148),J(1149,287,Lq,N_e),Q.tl=function(){return!1},R(OK,`ENamedElementImpl/1/2`,1149),J(39,151,_q,oE,sE,hS,pD,WD,EE,Zze,tMe,Qze,nMe,pFe,rMe,tBe,iMe,fFe,aMe,$ze,oMe,gS,mD,$C,eBe,sMe,dFe,eMe),Q.Ij=function(){return tLe(this)},Q.Pj=function(){var e=tLe(this);return e?e.gk():null},Q.fj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,e)},Q.hj=function(){return this.c},Q.Qj=function(){var e=tLe(this);return e?e.rk():!1},Q.b=-1,R(OK,`ENotificationImpl`,39),J(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},Jf),Q.xh=function(e){return BQe(this,e)},Q.Ih=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return xy(),!!(this.Bb&256);case 3:return xy(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return xy(),a=this.t,a>1||a==-1;case 7:return xy(),i=this.s,i>=1;case 8:return t?dF(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 cy(W7,this,11)),this.d;case 12:return!this.c&&(this.c=new I(H7,this,12,10)),this.c;case 13:return!this.a&&(this.a=new db(this,this)),this.a;case 14:return BD(this)}return xD(this,e-BS((Yz(),n9)),fO((r=F(pA(this,16),29),r||n9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?BQe(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,10,n);case 12:return!this.c&&(this.c=new I(H7,this,12,10)),mN(this.c,e,n)}return a=F(fO((r=F(pA(this,16),29),r||(Yz(),n9)),t),69),a.uk().xk(this,FN(this),t-BS((Yz(),n9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 9:return uEe(this,n);case 10:return SR(this,null,10,n);case 11:return!this.d&&(this.d=new cy(W7,this,11)),fP(this.d,e,n);case 12:return!this.c&&(this.c=new I(H7,this,12,10)),fP(this.c,e,n);case 14:return fP(BD(this),e,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),n9)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),n9)),e,n)},Q.Th=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);case 3:return!(this.Bb&512);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&&eC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&eC(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&&BD(this.a.a).i!=0&&!(this.b&&jP(this.b));case 14:return!!this.b&&jP(this.b)}return GT(this,e-BS((Yz(),n9)),fO((t=F(pA(this,16),29),t||n9),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:Nk(this,ib(t));return;case 2:aM(this,Hp(rb(t)));return;case 3:oM(this,Hp(rb(t)));return;case 4:GO(this,F(t,15).a);return;case 5:KO(this,F(t,15).a);return;case 8:Lj(this,F(t,143));return;case 9:r=UF(this,F(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new cy(W7,this,11)),fz(this.d),!this.d&&(this.d=new cy(W7,this,11)),VS(this.d,F(t,18));return;case 12:!this.c&&(this.c=new I(H7,this,12,10)),fz(this.c),!this.c&&(this.c=new I(H7,this,12,10)),VS(this.c,F(t,18));return;case 13:!this.a&&(this.a=new db(this,this)),pz(this.a),!this.a&&(this.a=new db(this,this)),VS(this.a,F(t,18));return;case 14:fz(BD(this)),VS(BD(this),F(t,18));return}KM(this,e-BS((Yz(),n9)),fO((n=F(pA(this,16),29),n||n9),e),t)},Q.fi=function(){return Yz(),n9},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:Nk(this,null);return;case 2:aM(this,!0);return;case 3:oM(this,!0);return;case 4:GO(this,0);return;case 5:KO(this,1);return;case 8:Lj(this,null);return;case 9:n=UF(this,null,null),n&&n.mj();return;case 11:!this.d&&(this.d=new cy(W7,this,11)),fz(this.d);return;case 12:!this.c&&(this.c=new I(H7,this,12,10)),fz(this.c);return;case 13:this.a&&pz(this.a);return;case 14:this.b&&fz(this.b);return}iM(this,e-BS((Yz(),n9)),fO((t=F(pA(this,16),29),t||n9),e))},Q.mi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;es&&qS(e,s,null),r=0,n=new dy(BD(this.a));n.e!=n.i.gc();)t=F(nP(n),87),a=(o=t.c,o||(Yz(),e9)),qS(e,r++,a);return e},Q.Fj=function(){var e,t,n,r,i=new om;for(i.a+=`[`,e=BD(this.a),t=0,r=BD(this.a).i;t1);case 5:return qw(this,e,t,n,r,this.i-F(n,16).gc()>0);default:return new WD(this.e,e,this.c,t,n,r,!0)}},Q.Rj=function(){return!0},Q.Oj=function(){return jP(this)},Q.Ek=function(){fz(this)},R(OK,`EOperationImpl/2`,1332),J(493,1,{2002:1,493:1},wpe),R(OK,`EPackageImpl/1`,493),J(14,81,Mq,I),Q.gl=function(){return this.d},Q.hl=function(){return this.b},Q.kl=function(){return!0},Q.b=0,R(xq,`EObjectContainmentWithInverseEList`,14),J(361,14,Mq,Db),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectContainmentWithInverseEList/Resolving`,361),J(313,361,Mq,mS),Q.Li=function(){this.a.tb=null},R(OK,`EPackageImpl/2`,313),J(1244,1,{},Oo),R(OK,`EPackageImpl/3`,1244),J(721,44,WV,Yf),Q._b=function(e){return z_(e)?aw(this,e):!!Jx(this.f,e)},R(OK,`EPackageRegistryImpl`,721),J(504,293,{109:1,94:1,93:1,158:1,197:1,57:1,2081:1,114:1,470:1,52:1,100:1,161:1,504:1,293:1,117:1,118:1},Xf),Q.xh=function(e){return VQe(this,e)},Q.Ih=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return xy(),!!(this.Bb&256);case 3:return xy(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return xy(),a=this.t,a>1||a==-1;case 7:return xy(),i=this.s,i>=1;case 8:return t?dF(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?F(this.Cb,62):null}return xD(this,e-BS((Yz(),i9)),fO((r=F(pA(this,16),29),r||i9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),mN(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?VQe(this,n):this.Cb.Qh(this,-1-i,null,n))),SR(this,e,10,n)}return a=F(fO((r=F(pA(this,16),29),r||(Yz(),i9)),t),69),a.uk().xk(this,FN(this),t-BS((Yz(),i9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 9:return uEe(this,n);case 10:return SR(this,null,10,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),i9)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),i9)),e,n)},Q.Th=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);case 3:return!(this.Bb&512);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&&eC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&eC(this.q).i==0);case 10:return!!(this.Db>>16==10&&F(this.Cb,62))}return GT(this,e-BS((Yz(),i9)),fO((t=F(pA(this,16),29),t||i9),e))},Q.fi=function(){return Yz(),i9},R(OK,`EParameterImpl`,504),J(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},eve),Q.Ih=function(e,t,n){var r,i,a,o;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return xy(),!!(this.Bb&256);case 3:return xy(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return xy(),o=this.t,o>1||o==-1;case 7:return xy(),i=this.s,i>=1;case 8:return t?dF(this):this.r;case 9:return this.q;case 10:return xy(),(this.Bb&bq)!=0;case 11:return xy(),(this.Bb&kK)!=0;case 12:return xy(),(this.Bb&MV)!=0;case 13:return this.j;case 14:return bL(this);case 15:return xy(),(this.Bb&Cq)!=0;case 16:return xy(),(this.Bb&SB)!=0;case 17:return Vw(this);case 18:return xy(),(this.Bb&DK)!=0;case 19:return xy(),a=EP(this),!!(a&&(a.Bb&DK)!=0);case 20:return xy(),(this.Bb&PV)!=0;case 21:return t?EP(this):this.b;case 22:return t?kUe(this):cFe(this);case 23:return!this.a&&(this.a=new ly(P7,this,23)),this.a}return xD(this,e-BS((Yz(),a9)),fO((r=F(pA(this,16),29),r||a9),e),t,n)},Q.Th=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);case 3:return!(this.Bb&512);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&&eC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&eC(this.q).i==0);case 10:return(this.Bb&bq)==0;case 11:return(this.Bb&kK)!=0;case 12:return(this.Bb&MV)!=0;case 13:return this.j!=null;case 14:return bL(this)!=null;case 15:return(this.Bb&Cq)!=0;case 16:return(this.Bb&SB)!=0;case 17:return!!Vw(this);case 18:return(this.Bb&DK)!=0;case 19:return r=EP(this),!!r&&(r.Bb&DK)!=0;case 20:return(this.Bb&PV)==0;case 21:return!!this.b;case 22:return!!cFe(this);case 23:return!!this.a&&this.a.i!=0}return GT(this,e-BS((Yz(),a9)),fO((t=F(pA(this,16),29),t||a9),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:rT(this,ib(t));return;case 2:aM(this,Hp(rb(t)));return;case 3:oM(this,Hp(rb(t)));return;case 4:GO(this,F(t,15).a);return;case 5:KO(this,F(t,15).a);return;case 8:Lj(this,F(t,143));return;case 9:r=UF(this,F(t,87),null),r&&r.mj();return;case 10:SM(this,Hp(rb(t)));return;case 11:wM(this,Hp(rb(t)));return;case 12:CM(this,Hp(rb(t)));return;case 13:Ope(this,ib(t));return;case 15:xM(this,Hp(rb(t)));return;case 16:zM(this,Hp(rb(t)));return;case 18:AAe(this,Hp(rb(t)));return;case 20:KKe(this,Hp(rb(t)));return;case 21:nVe(this,F(t,19));return;case 23:!this.a&&(this.a=new ly(P7,this,23)),fz(this.a),!this.a&&(this.a=new ly(P7,this,23)),VS(this.a,F(t,18));return}KM(this,e-BS((Yz(),a9)),fO((n=F(pA(this,16),29),n||a9),e),t)},Q.fi=function(){return Yz(),a9},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:N(this.Cb,88)&&kI(wE(F(this.Cb,88)),4),Nk(this,null);return;case 2:aM(this,!0);return;case 3:oM(this,!0);return;case 4:GO(this,0);return;case 5:KO(this,1);return;case 8:Lj(this,null);return;case 9:n=UF(this,null,null),n&&n.mj();return;case 10:SM(this,!0);return;case 11:wM(this,!1);return;case 12:CM(this,!1);return;case 13:this.i=null,_k(this,null);return;case 15:xM(this,!1);return;case 16:zM(this,!1);return;case 18:GKe(this,!1),N(this.Cb,88)&&kI(wE(F(this.Cb,88)),2);return;case 20:KKe(this,!0);return;case 21:nVe(this,null);return;case 23:!this.a&&(this.a=new ly(P7,this,23)),fz(this.a);return}iM(this,e-BS((Yz(),a9)),fO((t=F(pA(this,16),29),t||a9),e))},Q.mi=function(){kUe(this),OC(RD((vI(),p9),this)),dF(this),this.Bb|=1},Q.sk=function(){return EP(this)},Q.Zk=function(){var e=EP(this);return!!e&&(e.Bb&DK)!=0},Q.$k=function(){return(this.Bb&DK)!=0},Q._k=function(){return(this.Bb&PV)!=0},Q.Wk=function(e,t){return this.c=null,KGe(this,e,t)},Q.Ib=function(){var e;return this.Db&64?$L(this):(e=new _y($L(this)),e.a+=` (containment: `,Rm(e,(this.Bb&DK)!=0),e.a+=`, resolveProxies: `,Rm(e,(this.Bb&PV)!=0),e.a+=`)`,e.a)},R(OK,`EReferenceImpl`,103),J(550,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,550:1,117:1,118:1},ko),Q.Fb=function(e){return this===e},Q.jd=function(){return this.b},Q.kd=function(){return this.c},Q.Hb=function(){return Ey(this)},Q.Ai=function(e){UCe(this,ib(e))},Q.ld=function(e){return cCe(this,ib(e))},Q.Ih=function(e,t,n){var r;switch(e){case 0:return this.b;case 1:return this.c}return xD(this,e-BS((Yz(),o9)),fO((r=F(pA(this,16),29),r||o9),e),t,n)},Q.Th=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return GT(this,e-BS((Yz(),o9)),fO((t=F(pA(this,16),29),t||o9),e))},Q.$h=function(e,t){var n;switch(e){case 0:WCe(this,ib(t));return;case 1:RBe(this,ib(t));return}KM(this,e-BS((Yz(),o9)),fO((n=F(pA(this,16),29),n||o9),e),t)},Q.fi=function(){return Yz(),o9},Q.hi=function(e){var t;switch(e){case 0:HBe(this,null);return;case 1:RBe(this,null);return}iM(this,e-BS((Yz(),o9)),fO((t=F(pA(this,16),29),t||o9),e))},Q.yi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:uj(e)),this.a},Q.zi=function(e){this.a=e},Q.Ib=function(){var e;return this.Db&64?aL(this):(e=new _y(aL(this)),e.a+=` (key: `,Y_(e,this.b),e.a+=`, value: `,Y_(e,this.c),e.a+=`)`,e.a)},Q.a=-1,Q.b=null,Q.c=null;var d9=R(OK,`EStringToStringMapEntryImpl`,550),YBt=Ax(xq,`FeatureMap/Entry/Internal`);J(562,1,Rq),Q.vl=function(e){return this.wl(F(e,52))},Q.wl=function(e){return this.vl(e)},Q.Fb=function(e){var t,n;return this===e?!0:N(e,75)?(t=F(e,75),t.Jk()==this.c&&(n=this.kd(),n==null?t.kd()==null:nM(n,t.kd()))):!1},Q.Jk=function(){return this.c},Q.Hb=function(){var e=this.kd();return jk(this.c)^(e==null?0:jk(e))},Q.Ib=function(){var e=this.c,t=AO(e.ok()).vi();return e.ve(),(t!=null&&t.length!=0?t+`:`+e.ve():e.ve())+`=`+this.kd()},R(OK,`EStructuralFeatureImpl/BasicFeatureMapEntry`,562),J(778,562,Rq,Uve),Q.wl=function(e){return new Uve(this.c,e)},Q.kd=function(){return this.a},Q.xl=function(e,t,n){return WVe(this,e,this.a,t,n)},Q.yl=function(e,t,n){return GVe(this,e,this.a,t,n)},R(OK,`EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry`,778),J(1305,1,{},Tpe),Q.wk=function(e,t,n,r,i){return F(_D(e,this.b),219).Wl(this.a).Dk(r)},Q.xk=function(e,t,n,r,i){return F(_D(e,this.b),219).Nl(this.a,r,i)},Q.yk=function(e,t,n,r,i){return F(_D(e,this.b),219).Ol(this.a,r,i)},Q.zk=function(e,t,n){return F(_D(e,this.b),219).Wl(this.a).Oj()},Q.Ak=function(e,t,n,r){F(_D(e,this.b),219).Wl(this.a).Wb(r)},Q.Bk=function(e,t,n){return F(_D(e,this.b),219).Wl(this.a)},Q.Ck=function(e,t,n){F(_D(e,this.b),219).Wl(this.a).Ek()},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator`,1305),J(89,1,{},$b,GC,uw,iE),Q.wk=function(e,t,n,r,i){var a=t.ii(n);if(a??t.ji(n,a=Wz(this,e)),!i)switch(this.e){case 50:case 41:return F(a,587)._j();case 40:return F(a,219).Tl()}return a},Q.xk=function(e,t,n,r,i){var a,o=t.ii(n);return o??t.ji(n,o=Wz(this,e)),a=F(o,72).Uk(r,i),a},Q.yk=function(e,t,n,r,i){var a=t.ii(n);return a!=null&&(i=F(a,72).Vk(r,i)),i},Q.zk=function(e,t,n){var r=t.ii(n);return r!=null&&F(r,78).Oj()},Q.Ak=function(e,t,n,r){var i=F(t.ii(n),78);!i&&t.ji(n,i=Wz(this,e)),i.Wb(r)},Q.Bk=function(e,t,n){var r,i=t.ii(n);return i??t.ji(n,i=Wz(this,e)),N(i,78)?F(i,78):(r=F(t.ii(n),16),new ld(r))},Q.Ck=function(e,t,n){var r=F(t.ii(n),78);!r&&t.ji(n,r=Wz(this,e)),r.Ek()},Q.b=0,Q.e=0,R(OK,`EStructuralFeatureImpl/InternalSettingDelegateMany`,89),J(499,1,{}),Q.xk=function(e,t,n,r,i){throw O(new Jd)},Q.yk=function(e,t,n,r,i){throw O(new Jd)},Q.Bk=function(e,t,n){return new $De(this,e,t,n)};var f9;R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingle`,499),J(1322,1,Sq,$De),Q.Dk=function(e){return this.a.wk(this.c,this.d,this.b,e,!0)},Q.Oj=function(){return this.a.zk(this.c,this.d,this.b)},Q.Wb=function(e){this.a.Ak(this.c,this.d,this.b,e)},Q.Ek=function(){this.a.Ck(this.c,this.d,this.b)},Q.b=0,R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingle/1`,1322),J(771,499,{},Oke),Q.wk=function(e,t,n,r,i){return uR(e,e.Mh(),e.Ch())==this.b?this._k()&&r?QI(e):e.Mh():null},Q.xk=function(e,t,n,r,i){var a,o;return e.Mh()&&(i=(a=e.Ch(),a>=0?e.xh(i):e.Mh().Qh(e,-1-a,null,i))),o=sN(e.Ah(),this.e),e.zh(r,o,i)},Q.yk=function(e,t,n,r,i){var a=sN(e.Ah(),this.e);return e.zh(null,a,i)},Q.zk=function(e,t,n){var r=sN(e.Ah(),this.e);return!!e.Mh()&&e.Ch()==r},Q.Ak=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!DR(this.a,r))throw O(new Lp(zq+(N(r,57)?i1e(F(r,57).Ah()):Mze(vj(r)))+Bq+this.a+`'`));if(i=e.Mh(),o=sN(e.Ah(),this.e),M(r)!==M(i)||e.Ch()!=o&&r!=null){if(lF(e,F(r,57)))throw O(new Rp(jK+e.Ib()));c=null,i&&(c=(a=e.Ch(),a>=0?e.xh(c):e.Mh().Qh(e,-1-a,null,c))),s=F(r,52),s&&(c=s.Oh(e,sN(s.Ah(),this.b),null,c)),c=e.zh(s,o,c),c&&c.mj()}else e.sh()&&e.th()&&aA(e,new hS(e,1,o,r,r))},Q.Ck=function(e,t,n){var r=e.Mh(),i,a,o;r?(o=(i=e.Ch(),i>=0?e.xh(null):e.Mh().Qh(e,-1-i,null,null)),a=sN(e.Ah(),this.e),o=e.zh(null,a,o),o&&o.mj()):e.sh()&&e.th()&&aA(e,new gS(e,1,this.e,null,null))},Q._k=function(){return!1},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainer`,771),J(1306,771,{},_Se),Q._k=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving`,1306),J(560,499,{}),Q.wk=function(e,t,n,r,i){var a=t.ii(n);return a==null?this.b:M(a)===M(f9)?null:a},Q.zk=function(e,t,n){var r=t.ii(n);return r!=null&&(M(r)===M(f9)||!nM(r,this.b))},Q.Ak=function(e,t,n,r){var i,a;e.sh()&&e.th()?(i=(a=t.ii(n),a==null?this.b:M(a)===M(f9)?null:a),r==null?this.c==null?this.b==null?t.ji(n,null):t.ji(n,f9):(t.ji(n,null),r=this.b):(this.zl(r),t.ji(n,r)),aA(e,this.d.Al(e,1,this.e,i,r))):r==null?this.c==null?this.b==null?t.ji(n,null):t.ji(n,f9):t.ji(n,null):(this.zl(r),t.ji(n,r))},Q.Ck=function(e,t,n){var r,i;e.sh()&&e.th()?(r=(i=t.ii(n),i==null?this.b:M(i)===M(f9)?null:i),t.ki(n),aA(e,this.d.Al(e,1,this.e,r,this.b))):t.ki(n)},Q.zl=function(e){throw O(new Pse)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData`,560),J(Vq,1,{},Ao),Q.Al=function(e,t,n,r,i){return new gS(e,t,n,r,i)},Q.Bl=function(e,t,n,r,i,a){return new $C(e,t,n,r,i,a)};var XBt,ZBt,QBt,$Bt,eVt,tVt,nVt,rVt,iVt;R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator`,Vq),J(1323,Vq,{},jo),Q.Al=function(e,t,n,r,i){return new dFe(e,t,n,Hp(rb(r)),Hp(rb(i)))},Q.Bl=function(e,t,n,r,i,a){return new eMe(e,t,n,Hp(rb(r)),Hp(rb(i)),a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1`,1323),J(1324,Vq,{},Mo),Q.Al=function(e,t,n,r,i){return new Zze(e,t,n,F(r,221).a,F(i,221).a)},Q.Bl=function(e,t,n,r,i,a){return new tMe(e,t,n,F(r,221).a,F(i,221).a,a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2`,1324),J(1325,Vq,{},are),Q.Al=function(e,t,n,r,i){return new Qze(e,t,n,F(r,180).a,F(i,180).a)},Q.Bl=function(e,t,n,r,i,a){return new nMe(e,t,n,F(r,180).a,F(i,180).a,a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3`,1325),J(1326,Vq,{},No),Q.Al=function(e,t,n,r,i){return new pFe(e,t,n,k(P(r)),k(P(i)))},Q.Bl=function(e,t,n,r,i,a){return new rMe(e,t,n,k(P(r)),k(P(i)),a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4`,1326),J(1327,Vq,{},Po),Q.Al=function(e,t,n,r,i){return new tBe(e,t,n,F(r,164).a,F(i,164).a)},Q.Bl=function(e,t,n,r,i,a){return new iMe(e,t,n,F(r,164).a,F(i,164).a,a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5`,1327),J(1328,Vq,{},ore),Q.Al=function(e,t,n,r,i){return new fFe(e,t,n,F(r,15).a,F(i,15).a)},Q.Bl=function(e,t,n,r,i,a){return new aMe(e,t,n,F(r,15).a,F(i,15).a,a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6`,1328),J(1329,Vq,{},Fo),Q.Al=function(e,t,n,r,i){return new $ze(e,t,n,F(r,190).a,F(i,190).a)},Q.Bl=function(e,t,n,r,i,a){return new oMe(e,t,n,F(r,190).a,F(i,190).a,a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7`,1329),J(1330,Vq,{},sre),Q.Al=function(e,t,n,r,i){return new eBe(e,t,n,F(r,191).a,F(i,191).a)},Q.Bl=function(e,t,n,r,i,a){return new sMe(e,t,n,F(r,191).a,F(i,191).a,a)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8`,1330),J(1308,560,{},rOe),Q.zl=function(e){if(!this.a.dk(e))throw O(new Lp(zq+vj(e)+Bq+this.a+`'`))},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic`,1308),J(1309,560,{},Nwe),Q.zl=function(e){},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic`,1309),J(772,560,{}),Q.zk=function(e,t,n){return t.ii(n)!=null},Q.Ak=function(e,t,n,r){var i,a;e.sh()&&e.th()?(i=!0,a=t.ii(n),a==null?(i=!1,a=this.b):M(a)===M(f9)&&(a=null),r==null?this.c==null?t.ji(n,f9):(t.ji(n,null),r=this.b):(this.zl(r),t.ji(n,r)),aA(e,this.d.Bl(e,1,this.e,a,r,!i))):r==null?this.c==null?t.ji(n,f9):t.ji(n,null):(this.zl(r),t.ji(n,r))},Q.Ck=function(e,t,n){var r,i;e.sh()&&e.th()?(r=!0,i=t.ii(n),i==null?(r=!1,i=this.b):M(i)===M(f9)&&(i=null),t.ki(n),aA(e,this.d.Bl(e,2,this.e,i,this.b,r))):t.ki(n)},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable`,772),J(1310,772,{},iOe),Q.zl=function(e){if(!this.a.dk(e))throw O(new Lp(zq+vj(e)+Bq+this.a+`'`))},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic`,1310),J(1311,772,{},Pwe),Q.zl=function(e){},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic`,1311),J(402,499,{},Bx),Q.wk=function(e,t,n,r,i){var a,o,s,c,l=t.ii(n);if(this.rk()&&M(l)===M(f9))return null;if(this._k()&&r&&l!=null){if(s=F(l,52),s.Sh()&&(c=qj(e,s),s!=c)){if(!DR(this.a,c))throw O(new Lp(zq+vj(c)+Bq+this.a+`'`));t.ji(n,l=c),this.$k()&&(a=F(c,52),o=s.Qh(e,this.b?sN(s.Ah(),this.b):-1-sN(e.Ah(),this.e),null,null),!a.Mh()&&(o=a.Oh(e,this.b?sN(a.Ah(),this.b):-1-sN(e.Ah(),this.e),null,o)),o&&o.mj()),e.sh()&&e.th()&&aA(e,new gS(e,9,this.e,s,c))}return l}return l},Q.xk=function(e,t,n,r,i){var a,o=t.ii(n);return M(o)===M(f9)&&(o=null),t.ji(n,r),this.Kj()?M(o)!==M(r)&&o!=null&&(a=F(o,52),i=a.Qh(e,sN(a.Ah(),this.b),null,i)):this.$k()&&o!=null&&(i=F(o,52).Qh(e,-1-sN(e.Ah(),this.e),null,i)),e.sh()&&e.th()&&(!i&&(i=new Mm(4)),i.lj(new gS(e,1,this.e,o,r))),i},Q.yk=function(e,t,n,r,i){var a=t.ii(n);return M(a)===M(f9)&&(a=null),t.ki(n),e.sh()&&e.th()&&(!i&&(i=new Mm(4)),this.rk()?i.lj(new gS(e,2,this.e,a,null)):i.lj(new gS(e,1,this.e,a,null))),i},Q.zk=function(e,t,n){return t.ii(n)!=null},Q.Ak=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!DR(this.a,r))throw O(new Lp(zq+(N(r,57)?i1e(F(r,57).Ah()):Mze(vj(r)))+Bq+this.a+`'`));c=t.ii(n),s=c!=null,this.rk()&&M(c)===M(f9)&&(c=null),o=null,this.Kj()?M(c)!==M(r)&&(c!=null&&(i=F(c,52),o=i.Qh(e,sN(i.Ah(),this.b),null,o)),r!=null&&(i=F(r,52),o=i.Oh(e,sN(i.Ah(),this.b),null,o))):this.$k()&&M(c)!==M(r)&&(c!=null&&(o=F(c,52).Qh(e,-1-sN(e.Ah(),this.e),null,o)),r!=null&&(o=F(r,52).Oh(e,-1-sN(e.Ah(),this.e),null,o))),r==null&&this.rk()?t.ji(n,f9):t.ji(n,r),e.sh()&&e.th()?(a=new $C(e,1,this.e,c,r,this.rk()&&!s),o?(o.lj(a),o.mj()):aA(e,a)):o&&o.mj()},Q.Ck=function(e,t,n){var r,i,a,o,s=t.ii(n);o=s!=null,this.rk()&&M(s)===M(f9)&&(s=null),a=null,s!=null&&(this.Kj()?(r=F(s,52),a=r.Qh(e,sN(r.Ah(),this.b),null,a)):this.$k()&&(a=F(s,52).Qh(e,-1-sN(e.Ah(),this.e),null,a))),t.ki(n),e.sh()&&e.th()?(i=new $C(e,this.rk()?2:1,this.e,s,null,o),a?(a.lj(i),a.mj()):aA(e,i)):a&&a.mj()},Q.Kj=function(){return!1},Q.$k=function(){return!1},Q._k=function(){return!1},Q.rk=function(){return!1},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObject`,402),J(561,402,{},eb),Q.$k=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment`,561),J(1314,561,{},H_e),Q._k=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving`,1314),J(774,561,{},U_e),Q.rk=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable`,774),J(1316,774,{},W_e),Q._k=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving`,1316),J(639,561,{},ex),Q.Kj=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse`,639),J(1315,639,{},bSe),Q._k=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving`,1315),J(775,639,{},xSe),Q.rk=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable`,775),J(1317,775,{},SSe),Q._k=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving`,1317),J(640,402,{},B_e),Q._k=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving`,640),J(1318,640,{},G_e),Q.rk=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable`,1318),J(776,640,{},vSe),Q.Kj=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse`,776),J(1319,776,{},CSe),Q.rk=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable`,1319),J(1312,402,{},V_e),Q.rk=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable`,1312),J(773,402,{},ySe),Q.Kj=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse`,773),J(1313,773,{},wSe),Q.rk=function(){return!0},R(OK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable`,1313),J(777,562,Rq,zEe),Q.wl=function(e){return new zEe(this.a,this.c,e)},Q.kd=function(){return this.b},Q.xl=function(e,t,n){return NIe(this,e,this.b,n)},Q.yl=function(e,t,n){return PIe(this,e,this.b,n)},R(OK,`EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry`,777),J(1320,1,Sq,ld),Q.Dk=function(e){return this.a},Q.Oj=function(){return N(this.a,98)?F(this.a,98).Oj():!this.a.dc()},Q.Wb=function(e){this.a.$b(),this.a.Fc(F(e,16))},Q.Ek=function(){N(this.a,98)?F(this.a,98).Ek():this.a.$b()},R(OK,`EStructuralFeatureImpl/SettingMany`,1320),J(1321,562,Rq,pPe),Q.vl=function(e){return new Sb((_z(),A9),this.b.oi(this.a,e))},Q.kd=function(){return null},Q.xl=function(e,t,n){return n},Q.yl=function(e,t,n){return n},R(OK,`EStructuralFeatureImpl/SimpleContentFeatureMapEntry`,1321),J(641,562,Rq,Sb),Q.vl=function(e){return new Sb(this.c,e)},Q.kd=function(){return this.a},Q.xl=function(e,t,n){return n},Q.yl=function(e,t,n){return n},R(OK,`EStructuralFeatureImpl/SimpleFeatureMapEntry`,641),J(396,492,oq,Io),Q.$i=function(e){return H(I7,sB,29,e,0,1)},Q.Wi=function(){return!1},R(OK,`ESuperAdapter/1`,396),J(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,835:1,52:1,100:1,161:1,446:1,117:1,118:1},Lo),Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new Hx(this,z7,this)),this.a}return xD(this,e-BS((Yz(),s9)),fO((r=F(pA(this,16),29),r||s9),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),fP(this.Ab,e,n);case 2:return!this.a&&(this.a=new Hx(this,z7,this)),fP(this.a,e,n)}return i=F(fO((r=F(pA(this,16),29),r||(Yz(),s9)),t),69),i.uk().yk(this,FN(this),t-BS((Yz(),s9)),e,n)},Q.Th=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 GT(this,e-BS((Yz(),s9)),fO((t=F(pA(this,16),29),t||s9),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),VS(this.Ab,F(t,18));return;case 1:Nk(this,ib(t));return;case 2:!this.a&&(this.a=new Hx(this,z7,this)),fz(this.a),!this.a&&(this.a=new Hx(this,z7,this)),VS(this.a,F(t,18));return}KM(this,e-BS((Yz(),s9)),fO((n=F(pA(this,16),29),n||s9),e),t)},Q.fi=function(){return Yz(),s9},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),fz(this.Ab);return;case 1:Nk(this,null);return;case 2:!this.a&&(this.a=new Hx(this,z7,this)),fz(this.a);return}iM(this,e-BS((Yz(),s9)),fO((t=F(pA(this,16),29),t||s9),e))},R(OK,`ETypeParameterImpl`,446),J(447,81,Mq,Hx),Q.Lj=function(e,t){return f0e(this,F(e,87),t)},Q.Mj=function(e,t){return p0e(this,F(e,87),t)},R(OK,`ETypeParameterImpl/1`,447),J(638,44,WV,Zf),Q.ec=function(){return new ud(this)},R(OK,`ETypeParameterImpl/2`,638),J(557,_B,vB,ud),Q.Ec=function(e){return Cye(this,F(e,87))},Q.Fc=function(e){var t,n,r=!1;for(n=e.Jc();n.Ob();)t=F(n.Pb(),87),vC(this.a,t,``)??(r=!0);return r},Q.$b=function(){OS(this.a)},Q.Gc=function(e){return xS(this.a,e)},Q.Jc=function(){return new dd(new nA(new kl(this.a).a))},Q.Kc=function(e){return UFe(this,e)},Q.gc=function(){return oh(this.a)},R(OK,`ETypeParameterImpl/2/1`,557),J(558,1,pB,dd),Q.Nb=function(e){CS(this,e)},Q.Pb=function(){return F(vk(this.a).jd(),87)},Q.Ob=function(){return this.a.b},Q.Qb=function(){lRe(this.a)},R(OK,`ETypeParameterImpl/2/1/1`,558),J(1282,44,WV,Yse),Q._b=function(e){return z_(e)?aw(this,e):!!Jx(this.f,e)},Q.xc=function(e){var t=z_(e)?Tw(this,e):V_(Jx(this.f,e)),n;return N(t,836)?(n=F(t,836),t=n.Ik(),vC(this,F(e,241),t),t):t??(e==null?(Uh(),fVt):null)},R(OK,`EValidatorRegistryImpl`,1282),J(1304,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2005:1,52:1,100:1,161:1,117:1,118:1},Ro),Q.oi=function(e,t){switch(e.fk()){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:qM(t);case 25:return kze(t);case 27:return yLe(t);case 28:return bLe(t);case 29:return t==null?null:She(h7[0],F(t,205));case 41:return t==null?``:Bm(F(t,298));case 42:return qM(t);case 50:return ib(t);default:throw O(new Rp(MK+e.ve()+NK))}},Q.pi=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=AO(e),f?yP(f.si(),e):-1)),e.G){case 0:return n=new qf,n;case 1:return t=new wo,t;case 2:return r=new Tc,r;case 4:return i=new Zd,i;case 5:return a=new Jse,a;case 6:return o=new Nse,o;case 7:return s=new wc,s;case 10:return l=new So,l;case 11:return u=new Jf,u;case 12:return d=new AOe,d;case 13:return p=new Xf,p;case 14:return m=new eve,m;case 17:return h=new ko,h;case 18:return c=new Td,c;case 19:return g=new Lo,g;default:throw O(new Rp(IK+e.zb+NK))}},Q.qi=function(e,t){switch(e.fk()){case 20:return t==null?null:new Ole(t);case 21:return t==null?null:new kv(t);case 23:case 22:return t==null?null:GJe(t);case 26:case 24:return t==null?null:qD(yR(t,-128,127)<<24>>24);case 25:return w5e(t);case 27:return HZe(t);case 28:return UZe(t);case 29:return U0e(t);case 32:case 31:return t==null?null:iI(t);case 38:case 37:return t==null?null:new cf(t);case 40:case 39:return t==null?null:K(yR(t,WB,nB));case 41:return null;case 42:return null;case 44:case 43:return t==null?null:RN(Mz(t));case 49:case 48:return t==null?null:Yj(yR(t,Uq,32767)<<16>>16);case 50:return t;default:throw O(new Rp(MK+e.ve()+NK))}},R(OK,`EcoreFactoryImpl`,1304),J(549,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2003:1,52:1,100:1,161:1,184:1,549:1,117:1,118:1,680:1},pDe),Q.gb=!1,Q.hb=!1;var aVt,oVt=!1;R(OK,`EcorePackageImpl`,549),J(1200,1,{836:1},zo),Q.Ik=function(){return uge(),pVt},R(OK,`EcorePackageImpl/1`,1200),J(1209,1,qq,Bo),Q.dk=function(e){return N(e,158)},Q.ek=function(e){return H(o7,sB,158,e,0,1)},R(OK,`EcorePackageImpl/10`,1209),J(1210,1,qq,Vo),Q.dk=function(e){return N(e,197)},Q.ek=function(e){return H(Vzt,sB,197,e,0,1)},R(OK,`EcorePackageImpl/11`,1210),J(1211,1,qq,Ho),Q.dk=function(e){return N(e,57)},Q.ek=function(e){return H(Q5,sB,57,e,0,1)},R(OK,`EcorePackageImpl/12`,1211),J(1212,1,qq,cre),Q.dk=function(e){return N(e,403)},Q.ek=function(e){return H(B7,ayt,62,e,0,1)},R(OK,`EcorePackageImpl/13`,1212),J(1213,1,qq,lre),Q.dk=function(e){return N(e,241)},Q.ek=function(e){return H(c7,sB,241,e,0,1)},R(OK,`EcorePackageImpl/14`,1213),J(1214,1,qq,Uo),Q.dk=function(e){return N(e,504)},Q.ek=function(e){return H(H7,sB,2081,e,0,1)},R(OK,`EcorePackageImpl/15`,1214),J(1215,1,qq,ure),Q.dk=function(e){return N(e,103)},Q.ek=function(e){return H(U7,jq,19,e,0,1)},R(OK,`EcorePackageImpl/16`,1215),J(1216,1,qq,Wo),Q.dk=function(e){return N(e,179)},Q.ek=function(e){return H(N7,jq,179,e,0,1)},R(OK,`EcorePackageImpl/17`,1216),J(1217,1,qq,Go),Q.dk=function(e){return N(e,470)},Q.ek=function(e){return H(M7,sB,470,e,0,1)},R(OK,`EcorePackageImpl/18`,1217),J(1218,1,qq,Ko),Q.dk=function(e){return N(e,550)},Q.ek=function(e){return H(d9,Hvt,550,e,0,1)},R(OK,`EcorePackageImpl/19`,1218),J(1201,1,qq,qo),Q.dk=function(e){return N(e,335)},Q.ek=function(e){return H(P7,jq,38,e,0,1)},R(OK,`EcorePackageImpl/2`,1201),J(1219,1,qq,Jo),Q.dk=function(e){return N(e,248)},Q.ek=function(e){return H(z7,syt,87,e,0,1)},R(OK,`EcorePackageImpl/20`,1219),J(1220,1,qq,Yo),Q.dk=function(e){return N(e,446)},Q.ek=function(e){return H(W7,sB,835,e,0,1)},R(OK,`EcorePackageImpl/21`,1220),J(1221,1,qq,dre),Q.dk=function(e){return L_(e)},Q.ek=function(e){return H(XJ,xB,473,e,8,1)},R(OK,`EcorePackageImpl/22`,1221),J(1222,1,qq,Xo),Q.dk=function(e){return N(e,195)},Q.ek=function(e){return H(X9,xB,195,e,0,2)},R(OK,`EcorePackageImpl/23`,1222),J(1223,1,qq,Zo),Q.dk=function(e){return N(e,221)},Q.ek=function(e){return H(ZJ,xB,221,e,0,1)},R(OK,`EcorePackageImpl/24`,1223),J(1224,1,qq,Qo),Q.dk=function(e){return N(e,180)},Q.ek=function(e){return H(QJ,xB,180,e,0,1)},R(OK,`EcorePackageImpl/25`,1224),J(1225,1,qq,fre),Q.dk=function(e){return N(e,205)},Q.ek=function(e){return H(GJ,xB,205,e,0,1)},R(OK,`EcorePackageImpl/26`,1225),J(1226,1,qq,$o),Q.dk=function(e){return!1},Q.ek=function(e){return H(cHt,sB,2177,e,0,1)},R(OK,`EcorePackageImpl/27`,1226),J(1227,1,qq,es),Q.dk=function(e){return R_(e)},Q.ek=function(e){return H($J,xB,346,e,7,1)},R(OK,`EcorePackageImpl/28`,1227),J(1228,1,qq,ts),Q.dk=function(e){return N(e,61)},Q.ek=function(e){return H(sBt,SH,61,e,0,1)},R(OK,`EcorePackageImpl/29`,1228),J(1202,1,qq,pre),Q.dk=function(e){return N(e,505)},Q.ek=function(e){return H(j7,{3:1,4:1,5:1,1998:1},588,e,0,1)},R(OK,`EcorePackageImpl/3`,1202),J(1229,1,qq,mre),Q.dk=function(e){return N(e,568)},Q.ek=function(e){return H(hBt,sB,2004,e,0,1)},R(OK,`EcorePackageImpl/30`,1229),J(1230,1,qq,ns),Q.dk=function(e){return N(e,163)},Q.ek=function(e){return H(dVt,SH,163,e,0,1)},R(OK,`EcorePackageImpl/31`,1230),J(1231,1,qq,hre),Q.dk=function(e){return N(e,75)},Q.ek=function(e){return H(c9,vyt,75,e,0,1)},R(OK,`EcorePackageImpl/32`,1231),J(1232,1,qq,rs),Q.dk=function(e){return N(e,164)},Q.ek=function(e){return H(eY,xB,164,e,0,1)},R(OK,`EcorePackageImpl/33`,1232),J(1233,1,qq,is),Q.dk=function(e){return N(e,15)},Q.ek=function(e){return H(tY,xB,15,e,0,1)},R(OK,`EcorePackageImpl/34`,1233),J(1234,1,qq,as),Q.dk=function(e){return N(e,298)},Q.ek=function(e){return H(lbt,sB,298,e,0,1)},R(OK,`EcorePackageImpl/35`,1234),J(1235,1,qq,os),Q.dk=function(e){return N(e,190)},Q.ek=function(e){return H(nY,xB,190,e,0,1)},R(OK,`EcorePackageImpl/36`,1235),J(1236,1,qq,gre),Q.dk=function(e){return N(e,92)},Q.ek=function(e){return H(dbt,sB,92,e,0,1)},R(OK,`EcorePackageImpl/37`,1236),J(1237,1,qq,ss),Q.dk=function(e){return N(e,589)},Q.ek=function(e){return H(sVt,sB,589,e,0,1)},R(OK,`EcorePackageImpl/38`,1237),J(1238,1,qq,cs),Q.dk=function(e){return!1},Q.ek=function(e){return H(lHt,sB,2178,e,0,1)},R(OK,`EcorePackageImpl/39`,1238),J(1203,1,qq,_re),Q.dk=function(e){return N(e,88)},Q.ek=function(e){return H(I7,sB,29,e,0,1)},R(OK,`EcorePackageImpl/4`,1203),J(1239,1,qq,ls),Q.dk=function(e){return N(e,191)},Q.ek=function(e){return H(iY,xB,191,e,0,1)},R(OK,`EcorePackageImpl/40`,1239),J(1240,1,qq,us),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(OK,`EcorePackageImpl/41`,1240),J(1241,1,qq,ds),Q.dk=function(e){return N(e,586)},Q.ek=function(e){return H(lBt,sB,586,e,0,1)},R(OK,`EcorePackageImpl/42`,1241),J(1242,1,qq,fs),Q.dk=function(e){return!1},Q.ek=function(e){return H(uHt,xB,2179,e,0,1)},R(OK,`EcorePackageImpl/43`,1242),J(1243,1,qq,ps),Q.dk=function(e){return N(e,45)},Q.ek=function(e){return H(NJ,AB,45,e,0,1)},R(OK,`EcorePackageImpl/44`,1243),J(1204,1,qq,ms),Q.dk=function(e){return N(e,143)},Q.ek=function(e){return H(F7,sB,143,e,0,1)},R(OK,`EcorePackageImpl/5`,1204),J(1205,1,qq,hs),Q.dk=function(e){return N(e,159)},Q.ek=function(e){return H(kBt,sB,159,e,0,1)},R(OK,`EcorePackageImpl/6`,1205),J(1206,1,qq,gs),Q.dk=function(e){return N(e,459)},Q.ek=function(e){return H(L7,sB,675,e,0,1)},R(OK,`EcorePackageImpl/7`,1206),J(1207,1,qq,_s),Q.dk=function(e){return N(e,568)},Q.ek=function(e){return H(R7,sB,684,e,0,1)},R(OK,`EcorePackageImpl/8`,1207),J(1208,1,qq,vre),Q.dk=function(e){return N(e,469)},Q.ek=function(e){return H(s7,sB,469,e,0,1)},R(OK,`EcorePackageImpl/9`,1208),J(1020,2045,Bvt,pce),Q.Ki=function(e,t){XGe(this,F(t,415))},Q.Oi=function(e,t){Y4e(this,e,F(t,415))},R(OK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList`,1020),J(1021,151,_q,BEe),Q.hj=function(){return this.a.a},R(OK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList/1`,1021),J(1048,1047,{},Zme),R(`org.eclipse.emf.ecore.plugin`,`EcorePlugin`,1048);var sVt=Ax(yyt,`Resource`);J(787,1486,byt),Q.Fl=function(e){},Q.Gl=function(e){},Q.Cl=function(){return!this.a&&(this.a=new gd(this)),this.a},Q.Dl=function(e){var t,n,r=e.length,i,a;if(r>0){if(uT(0,e.length),e.charCodeAt(0)==47){for(a=new oD(4),i=1,t=1;t0&&(e=(rD(0,n,e.length),e.substr(0,n))))}return a6e(this,e)},Q.El=function(){return this.c},Q.Ib=function(){var e;return Bm(this.Pm)+`@`+(e=jk(this)>>>0,e.toString(16))+` uri='`+this.d+`'`},Q.b=!1,R(Jq,`ResourceImpl`,787),J(1487,787,byt,hd),R(Jq,`BinaryResourceImpl`,1487),J(1160,697,sq),Q._i=function(e){return N(e,57)?QOe(this,F(e,57)):N(e,589)?new dy(F(e,589).Cl()):M(e)===M(this.f)?F(e,18).Jc():(fb(),E7.a)},Q.Ob=function(){return B6e(this)},Q.a=!1,R(xq,`EcoreUtil/ContentTreeIterator`,1160),J(1488,1160,sq,STe),Q._i=function(e){return M(e)===M(this.f)?F(e,16).Jc():new YMe(F(e,57))},R(Jq,`ResourceImpl/5`,1488),J(648,2057,oyt,gd),Q.Gc=function(e){return this.i<=4?vF(this,e):N(e,52)&&F(e,52).Gh()==this.a},Q.Ki=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},Q.Mi=function(e,t){e==0?this.a.b||(this.a.b=!0):tD(this,e,t)},Q.Oi=function(e,t){},Q.Pi=function(e,t,n){},Q.Jj=function(){return 2},Q.hj=function(){return this.a},Q.Kj=function(){return!0},Q.Lj=function(e,t){return t=F(e,52).ci(this.a,t),t},Q.Mj=function(e,t){return F(e,52).ci(null,t)},Q.Nj=function(){return!1},Q.Qi=function(){return!0},Q.$i=function(e){return H(Q5,sB,57,e,0,1)},Q.Wi=function(){return!1},R(Jq,`ResourceImpl/ContentsEList`,648),J(954,2027,zB,_d),Q.dd=function(e){return this.a.Ii(e)},Q.gc=function(){return this.a.gc()},R(xq,`AbstractSequentialInternalEList/1`,954);var cVt,lVt,p9,uVt;J(626,1,{},nCe);var m9,h9;R(xq,`BasicExtendedMetaData`,626),J(1151,1,{},Epe),Q.Hl=function(){return null},Q.Il=function(){return this.a==-2&&Yie(this,j0e(this.d,this.b)),this.a},Q.Jl=function(){return null},Q.Kl=function(){return qC(),qC(),hY},Q.ve=function(){return this.c==oJ&&Zie(this,cYe(this.d,this.b)),this.c},Q.Ll=function(){return 0},Q.a=-2,Q.c=oJ,R(xq,`BasicExtendedMetaData/EClassExtendedMetaDataImpl`,1151),J(1152,1,{},lMe),Q.Hl=function(){return this.a==(WE(),m9)&&_l(this,Ztt(this.f,this.b)),this.a},Q.Il=function(){return 0},Q.Jl=function(){return this.c==(WE(),m9)&&Qie(this,Qtt(this.f,this.b)),this.c},Q.Kl=function(){return!this.d&&eae(this,Qit(this.f,this.b)),this.d},Q.ve=function(){return this.e==oJ&&nae(this,cYe(this.f,this.b)),this.e},Q.Ll=function(){return this.g==-2&&rae(this,I1e(this.f,this.b)),this.g},Q.e=oJ,Q.g=-2,R(xq,`BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl`,1152),J(1150,1,{},Dpe),Q.b=!1,Q.c=!1,R(xq,`BasicExtendedMetaData/EPackageExtendedMetaDataImpl`,1150),J(1153,1,{},uMe),Q.c=-2,Q.e=oJ,Q.f=oJ,R(xq,`BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl`,1153),J(582,624,Mq,fx),Q.Jj=function(){return this.c},Q.ml=function(){return!1},Q.Ui=function(e,t){return t},Q.c=0,R(xq,`EDataTypeEList`,582);var dVt=Ax(xq,`FeatureMap`);J(76,582,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},tA),Q._c=function(e,t){s9e(this,e,F(t,75))},Q.Ec=function(e){return u7e(this,F(e,75))},Q.Fi=function(e){fEe(this,F(e,75))},Q.Lj=function(e,t){return Wye(this,F(e,75),t)},Q.Mj=function(e,t){return Gye(this,F(e,75),t)},Q.Ri=function(e,t){return xrt(this,e,t)},Q.Ui=function(e,t){return zst(this,e,F(t,75))},Q.fd=function(e,t){return det(this,e,F(t,75))},Q.Sj=function(e,t){return Kye(this,F(e,75),t)},Q.Tj=function(e,t){return qye(this,F(e,75),t)},Q.Uj=function(e,t,n){return u1e(this,F(e,75),F(t,75),n)},Q.Xi=function(e,t){return IF(this,e,F(t,75))},Q.Ml=function(e,t){return ert(this,e,t)},Q.ad=function(e,t){var n,r,i,a,o,s,c,l=new vO(t.gc()),u;for(i=t.Jc();i.Ob();)if(r=F(i.Pb(),75),a=r.Jk(),LL(this.e,a))(!a.Qi()||!XT(this,a,r.kd())&&!vF(l,r))&&cD(l,r);else{for(u=PL(this.e.Ah(),a),n=F(this.g,122),o=!0,s=0;s=0;)if(t=e[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},R(xq,`BasicFeatureMap/FeatureEIterator`,412),J(666,412,yB,ov),Q.sl=function(){return!0},R(xq,`BasicFeatureMap/ResolvingFeatureEIterator`,666),J(952,482,Iq,Phe),Q.nj=function(){return this},R(xq,`EContentsEList/1`,952),J(953,482,Iq,$pe),Q.sl=function(){return!1},R(xq,`EContentsEList/2`,953),J(951,287,Lq,Fhe),Q.ul=function(e){},Q.Ob=function(){return!1},Q.Sb=function(){return!1},R(xq,`EContentsEList/FeatureIteratorImpl/1`,951),J(825,582,Mq,$he),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;fz(this),vv(this.e)?(e=this.a,this.a=!1,aA(this.e,new EE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(xq,`EDataTypeEList/Unsettable`,825),J(1923,582,Mq,ege),Q.Qi=function(){return!0},R(xq,`EDataTypeUniqueEList`,1923),J(1924,825,Mq,tge),Q.Qi=function(){return!0},R(xq,`EDataTypeUniqueEList/Unsettable`,1924),J(145,81,Mq,cy),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectContainmentEList/Resolving`,145),J(1154,544,Mq,nge),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectContainmentEList/Unsettable/Resolving`,1154),J(753,14,Mq,oye),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;fz(this),vv(this.e)?(e=this.a,this.a=!1,aA(this.e,new EE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(xq,`EObjectContainmentWithInverseEList/Unsettable`,753),J(1188,753,Mq,sye),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectContainmentWithInverseEList/Unsettable/Resolving`,1188),J(745,491,Mq,rge),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;fz(this),vv(this.e)?(e=this.a,this.a=!1,aA(this.e,new EE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(xq,`EObjectEList/Unsettable`,745),J(339,491,Mq,ly),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectResolvingEList`,339),J(1828,745,Mq,ige),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectResolvingEList/Unsettable`,1828),J(1489,1,{},yre);var fVt;R(xq,`EObjectValidator`,1489),J(548,491,Mq,_S),Q.gl=function(){return this.d},Q.hl=function(){return this.b},Q.Kj=function(){return!0},Q.kl=function(){return!0},Q.b=0,R(xq,`EObjectWithInverseEList`,548),J(1191,548,Mq,cye),Q.jl=function(){return!0},R(xq,`EObjectWithInverseEList/ManyInverse`,1191),J(627,548,Mq,Ob),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;fz(this),vv(this.e)?(e=this.a,this.a=!1,aA(this.e,new EE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(xq,`EObjectWithInverseEList/Unsettable`,627),J(1190,627,Mq,lye),Q.jl=function(){return!0},R(xq,`EObjectWithInverseEList/Unsettable/ManyInverse`,1190),J(754,548,Mq,uye),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectWithInverseResolvingEList`,754),J(33,754,Mq,kb),Q.jl=function(){return!0},R(xq,`EObjectWithInverseResolvingEList/ManyInverse`,33),J(755,627,Mq,dye),Q.ll=function(){return!0},Q.Ui=function(e,t){return YI(this,e,F(t,57))},R(xq,`EObjectWithInverseResolvingEList/Unsettable`,755),J(1189,755,Mq,fye),Q.jl=function(){return!0},R(xq,`EObjectWithInverseResolvingEList/Unsettable/ManyInverse`,1189),J(1155,624,Mq),Q.Ji=function(){return!(this.b&1792)},Q.Li=function(){this.b|=1},Q.il=function(){return!!(this.b&4)},Q.Kj=function(){return!!(this.b&40)},Q.jl=function(){return!!(this.b&16)},Q.kl=function(){return!!(this.b&8)},Q.ll=function(){return(this.b&kK)!=0},Q.$k=function(){return!!(this.b&32)},Q.ml=function(){return(this.b&bq)!=0},Q.dk=function(e){return this.d?VNe(this.d,e):this.Jk().Fk().dk(e)},Q.Oj=function(){return this.b&2?!!(this.b&1):this.i!=0},Q.Qi=function(){return!!(this.b&128)},Q.Ek=function(){var e;fz(this),this.b&2&&(vv(this.e)?(e=!!(this.b&1),this.b&=-2,af(this,new EE(this.e,2,sN(this.e.Ah(),this.Jk()),e,!1))):this.b&=-2)},Q.Wi=function(){return!(this.b&1536)},Q.b=0,R(xq,`EcoreEList/Generic`,1155),J(1156,1155,Mq,MOe),Q.Jk=function(){return this.a},R(xq,`EcoreEList/Dynamic`,1156),J(752,67,oq,vd),Q.$i=function(e){return JO(this.a.a,e)},R(xq,`EcoreEMap/1`,752),J(751,81,Mq,wTe),Q.Ki=function(e,t){DP(this.b,F(t,136))},Q.Mi=function(e,t){hHe(this.b)},Q.Ni=function(e,t,n){var r;++(r=this.b,F(t,136),r).e},Q.Oi=function(e,t){bM(this.b,F(t,136))},Q.Pi=function(e,t,n){bM(this.b,F(n,136)),M(n)===M(t)&&F(n,136).zi(Hme(F(t,136).jd())),DP(this.b,F(t,136))},R(xq,`EcoreEMap/DelegateEObjectContainmentEList`,751),J(1186,142,nyt,dBe),R(xq,`EcoreEMap/Unsettable`,1186),J(1187,751,Mq,pye),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;fz(this),vv(this.e)?(e=this.a,this.a=!1,aA(this.e,new EE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(xq,`EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList`,1187),J(1159,223,WV,hEe),Q.a=!1,Q.b=!1,R(xq,`EcoreUtil/Copier`,1159),J(747,1,pB,YMe),Q.Nb=function(e){CS(this,e)},Q.Ob=function(){return pJe(this)},Q.Pb=function(){var e;return pJe(this),e=this.b,this.b=null,e},Q.Qb=function(){this.a.Qb()},R(xq,`EcoreUtil/ProperContentIterator`,747),J(1490,1489,{},Dc);var pVt;R(xq,`EcoreValidator`,1490);var mVt;Ax(xq,`FeatureMapUtil/Validator`),J(1260,1,{2006:1},bre),Q.$l=function(e){return!0},R(xq,`FeatureMapUtil/1`,1260),J(760,1,{2006:1},Slt),Q.$l=function(e){var t;return this.c==e||(t=rb(JS(this.a,e)),t==null?snt(this,e)?(wFe(this.a,e,(xy(),YJ)),!0):(wFe(this.a,e,(xy(),JJ)),!1):t==(xy(),YJ))},Q.e=!1;var hVt;R(xq,`FeatureMapUtil/BasicValidator`,760),J(761,44,WV,zhe),R(xq,`FeatureMapUtil/BasicValidator/Cache`,761),J(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,72:1,98:1},W_),Q._c=function(e,t){xet(this.c,this.b,e,t)},Q.Ec=function(e){return ert(this.c,this.b,e)},Q.ad=function(e,t){return dot(this.c,this.b,e,t)},Q.Fc=function(e){return Jv(this,e)},Q.Ei=function(e,t){pze(this.c,this.b,e,t)},Q.Uk=function(e,t){return rnt(this.c,this.b,e,t)},Q.Yi=function(e){return ZR(this.c,this.b,e,!1)},Q.Gi=function(){return Ome(this.c,this.b)},Q.Hi=function(){return kme(this.c,this.b)},Q.Ii=function(e){return FIe(this.c,this.b,e)},Q.Vk=function(e,t){return Nve(this,e,t)},Q.$b=function(){of(this)},Q.Gc=function(e){return XT(this.c,this.b,e)},Q.Hc=function(e){return HVe(this.c,this.b,e)},Q.Xb=function(e){return ZR(this.c,this.b,e,!0)},Q.Dk=function(e){return this},Q.bd=function(e){return ePe(this.c,this.b,e)},Q.dc=function(){return I_(this)},Q.Oj=function(){return!fN(this.c,this.b)},Q.Jc=function(){return xRe(this.c,this.b)},Q.cd=function(){return SRe(this.c,this.b)},Q.dd=function(e){return AKe(this.c,this.b,e)},Q.Ri=function(e,t){return Tit(this.c,this.b,e,t)},Q.Si=function(e,t){BIe(this.c,this.b,e,t)},Q.ed=function(e){return f4e(this.c,this.b,e)},Q.Kc=function(e){return Knt(this.c,this.b,e)},Q.fd=function(e,t){return rat(this.c,this.b,e,t)},Q.Wb=function(e){JI(this.c,this.b),Jv(this,F(e,16))},Q.gc=function(){return jKe(this.c,this.b)},Q.Nc=function(){return fMe(this.c,this.b)},Q.Oc=function(e){return tPe(this.c,this.b,e)},Q.Ib=function(){var e,t=new om;for(t.a+=`[`,e=Ome(this.c,this.b);gj(e);)Y_(t,gy(hP(e))),gj(e)&&(t.a+=oB);return t.a+=`]`,t.a},Q.Ek=function(){JI(this.c,this.b)},R(xq,`FeatureMapUtil/FeatureEList`,495),J(635,39,_q,cE),Q.fj=function(e){return cM(this,e)},Q.kj=function(e){var t,n,r,i,a,o,s;switch(this.d){case 1:case 2:if(a=e.hj(),M(a)===M(this.c)&&cM(this,null)==e.fj(null))return this.g=e.gj(),e.ej()==1&&(this.d=1),!0;break;case 3:if(i=e.ej(),i===3&&(a=e.hj(),M(a)===M(this.c)&&cM(this,null)==e.fj(null)))return this.d=5,t=new vO(2),cD(t,this.g),cD(t,e.gj()),this.g=t,!0;break;case 5:if(i=e.ej(),i===3&&(a=e.hj(),M(a)===M(this.c)&&cM(this,null)==e.fj(null)))return n=F(this.g,18),n.Ec(e.gj()),!0;break;case 4:switch(i=e.ej(),i){case 3:if(a=e.hj(),M(a)===M(this.c)&&cM(this,null)==e.fj(null))return this.d=1,this.g=e.gj(),!0;break;case 4:if(a=e.hj(),M(a)===M(this.c)&&cM(this,null)==e.fj(null))return this.d=6,s=new vO(2),cD(s,this.n),cD(s,e.ij()),this.n=s,o=W(A(q9,1),dV,30,15,[this.o,e.jj()]),this.g=o,!0}break;case 6:if(i=e.ej(),i===4&&(a=e.hj(),M(a)===M(this.c)&&cM(this,null)==e.fj(null)))return n=F(this.n,18),n.Ec(e.ij()),o=F(this.g,54),r=H(q9,dV,30,o.length+1,15,1),AR(o,0,r,0,o.length),r[o.length]=e.jj(),this.g=r,!0}return!1},R(xq,`FeatureMapUtil/FeatureENotificationImpl`,635),J(554,495,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},Tx),Q.Ml=function(e,t){return ert(this.c,e,t)},Q.Nl=function(e,t,n){return rnt(this.c,e,t,n)},Q.Ol=function(e,t,n){return Wat(this.c,e,t,n)},Q.Pl=function(){return this},Q.Ql=function(e,t){return XR(this.c,e,t)},Q.Rl=function(e){return F(ZR(this.c,this.b,e,!1),75).Jk()},Q.Sl=function(e){return F(ZR(this.c,this.b,e,!1),75).kd()},Q.Tl=function(){return this.a},Q.Ul=function(e){return!fN(this.c,e)},Q.Vl=function(e,t){nz(this.c,e,t)},Q.Wl=function(e){return WBe(this.c,e)},Q.Xl=function(e){gZe(this.c,e)},R(xq,`FeatureMapUtil/FeatureFeatureMap`,554),J(1259,1,Sq,Ipe),Q.Dk=function(e){return ZR(this.b,this.a,-1,e)},Q.Oj=function(){return!fN(this.b,this.a)},Q.Wb=function(e){nz(this.b,this.a,e)},Q.Ek=function(){JI(this.b,this.a)},R(xq,`FeatureMapUtil/FeatureValue`,1259);var g9,gVt,_Vt,_9,vVt,v9=Ax(cJ,`AnyType`);J(670,63,GB,$p),R(cJ,`InvalidDatatypeValueException`,670);var y9=Ax(cJ,wyt),b9=Ax(cJ,Tyt),yVt=Ax(cJ,Eyt),bVt,x9,xVt,S9,SVt,CVt,wVt,TVt,EVt,DVt,OVt,kVt,AVt,jVt,MVt,C9,NVt,w9,T9,PVt,E9,D9,O9,FVt,k9,A9;J(829,502,{109:1,94:1,93:1,57:1,52:1,100:1,842:1},Qf),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new tA(this,0)),this.c):(!this.c&&(this.c=new tA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new tA(this,0)),F(oT(this.c,(_z(),S9)),163)):(!this.c&&(this.c=new tA(this,0)),F(F(oT(this.c,(_z(),S9)),163),219)).Tl();case 2:return n?(!this.b&&(this.b=new tA(this,2)),this.b):(!this.b&&(this.b=new tA(this,2)),this.b.b)}return xD(this,e-BS(this.fi()),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():this.fi(),e),t,n)},Q.Rh=function(e,t,n){var r;switch(t){case 0:return!this.c&&(this.c=new tA(this,0)),pR(this.c,e,n);case 1:return(!this.c&&(this.c=new tA(this,0)),F(F(oT(this.c,(_z(),S9)),163),72)).Vk(e,n);case 2:return!this.b&&(this.b=new tA(this,2)),pR(this.b,e,n)}return r=F(fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():this.fi(),t),69),r.uk().yk(this,uRe(this),t-BS(this.fi()),e,n)},Q.Th=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tA(this,0)),F(oT(this.c,(_z(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return GT(this,e-BS(this.fi()),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():this.fi(),e))},Q.$h=function(e,t){switch(e){case 0:!this.c&&(this.c=new tA(this,0)),MS(this.c,t);return;case 1:(!this.c&&(this.c=new tA(this,0)),F(F(oT(this.c,(_z(),S9)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tA(this,2)),MS(this.b,t);return}KM(this,e-BS(this.fi()),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():this.fi(),e),t)},Q.fi=function(){return _z(),xVt},Q.hi=function(e){switch(e){case 0:!this.c&&(this.c=new tA(this,0)),fz(this.c);return;case 1:(!this.c&&(this.c=new tA(this,0)),F(oT(this.c,(_z(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new tA(this,2)),fz(this.b);return}iM(this,e-BS(this.fi()),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():this.fi(),e))},Q.Ib=function(){var e;return this.j&4?aL(this):(e=new _y(aL(this)),e.a+=` (mixed: `,J_(e,this.c),e.a+=`, anyAttribute: `,J_(e,this.b),e.a+=`)`,e.a)},R(lJ,`AnyTypeImpl`,829),J(671,502,{109:1,94:1,93:1,57:1,52:1,100:1,2084:1,671:1},Cre),Q.Ih=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return xD(this,e-BS((_z(),C9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():C9,e),t,n)},Q.Th=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return GT(this,e-BS((_z(),C9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():C9,e))},Q.$h=function(e,t){switch(e){case 0:aae(this,ib(t));return;case 1:sae(this,ib(t));return}KM(this,e-BS((_z(),C9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():C9,e),t)},Q.fi=function(){return _z(),C9},Q.hi=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}iM(this,e-BS((_z(),C9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():C9,e))},Q.Ib=function(){var e;return this.j&4?aL(this):(e=new _y(aL(this)),e.a+=` (data: `,Y_(e,this.a),e.a+=`, target: `,Y_(e,this.b),e.a+=`)`,e.a)},Q.a=null,Q.b=null,R(lJ,`ProcessingInstructionImpl`,671),J(672,829,{109:1,94:1,93:1,57:1,52:1,100:1,842:1,2085:1,672:1},Xse),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new tA(this,0)),this.c):(!this.c&&(this.c=new tA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new tA(this,0)),F(oT(this.c,(_z(),S9)),163)):(!this.c&&(this.c=new tA(this,0)),F(F(oT(this.c,(_z(),S9)),163),219)).Tl();case 2:return n?(!this.b&&(this.b=new tA(this,2)),this.b):(!this.b&&(this.b=new tA(this,2)),this.b.b);case 3:return!this.c&&(this.c=new tA(this,0)),ib(XR(this.c,(_z(),T9),!0));case 4:return gye(this.a,(!this.c&&(this.c=new tA(this,0)),ib(XR(this.c,(_z(),T9),!0))));case 5:return this.a}return xD(this,e-BS((_z(),w9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():w9,e),t,n)},Q.Th=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tA(this,0)),F(oT(this.c,(_z(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new tA(this,0)),ib(XR(this.c,(_z(),T9),!0))!=null;case 4:return gye(this.a,(!this.c&&(this.c=new tA(this,0)),ib(XR(this.c,(_z(),T9),!0))))!=null;case 5:return!!this.a}return GT(this,e-BS((_z(),w9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():w9,e))},Q.$h=function(e,t){switch(e){case 0:!this.c&&(this.c=new tA(this,0)),MS(this.c,t);return;case 1:(!this.c&&(this.c=new tA(this,0)),F(F(oT(this.c,(_z(),S9)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tA(this,2)),MS(this.b,t);return;case 3:dMe(this,ib(t));return;case 4:dMe(this,hye(this.a,t));return;case 5:oae(this,F(t,159));return}KM(this,e-BS((_z(),w9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():w9,e),t)},Q.fi=function(){return _z(),w9},Q.hi=function(e){switch(e){case 0:!this.c&&(this.c=new tA(this,0)),fz(this.c);return;case 1:(!this.c&&(this.c=new tA(this,0)),F(oT(this.c,(_z(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new tA(this,2)),fz(this.b);return;case 3:!this.c&&(this.c=new tA(this,0)),nz(this.c,(_z(),T9),null);return;case 4:dMe(this,hye(this.a,null));return;case 5:this.a=null;return}iM(this,e-BS((_z(),w9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():w9,e))},R(lJ,`SimpleAnyTypeImpl`,672),J(673,502,{109:1,94:1,93:1,57:1,52:1,100:1,2086:1,673:1},$f),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.a&&(this.a=new tA(this,0)),this.a):(!this.a&&(this.a=new tA(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new fD((Yz(),o9),d9,this,1)),this.b):(!this.b&&(this.b=new fD((Yz(),o9),d9,this,1)),$E(this.b));case 2:return n?(!this.c&&(this.c=new fD((Yz(),o9),d9,this,2)),this.c):(!this.c&&(this.c=new fD((Yz(),o9),d9,this,2)),$E(this.c));case 3:return!this.a&&(this.a=new tA(this,0)),oT(this.a,(_z(),D9));case 4:return!this.a&&(this.a=new tA(this,0)),oT(this.a,(_z(),O9));case 5:return!this.a&&(this.a=new tA(this,0)),oT(this.a,(_z(),k9));case 6:return!this.a&&(this.a=new tA(this,0)),oT(this.a,(_z(),A9))}return xD(this,e-BS((_z(),E9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():E9,e),t,n)},Q.Rh=function(e,t,n){var r;switch(t){case 0:return!this.a&&(this.a=new tA(this,0)),pR(this.a,e,n);case 1:return!this.b&&(this.b=new fD((Yz(),o9),d9,this,1)),Nb(this.b,e,n);case 2:return!this.c&&(this.c=new fD((Yz(),o9),d9,this,2)),Nb(this.c,e,n);case 5:return!this.a&&(this.a=new tA(this,0)),Nve(oT(this.a,(_z(),k9)),e,n)}return r=F(fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():(_z(),E9),t),69),r.uk().yk(this,uRe(this),t-BS((_z(),E9)),e,n)},Q.Th=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 tA(this,0)),!I_(oT(this.a,(_z(),D9)));case 4:return!this.a&&(this.a=new tA(this,0)),!I_(oT(this.a,(_z(),O9)));case 5:return!this.a&&(this.a=new tA(this,0)),!I_(oT(this.a,(_z(),k9)));case 6:return!this.a&&(this.a=new tA(this,0)),!I_(oT(this.a,(_z(),A9)))}return GT(this,e-BS((_z(),E9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():E9,e))},Q.$h=function(e,t){switch(e){case 0:!this.a&&(this.a=new tA(this,0)),MS(this.a,t);return;case 1:!this.b&&(this.b=new fD((Yz(),o9),d9,this,1)),$k(this.b,t);return;case 2:!this.c&&(this.c=new fD((Yz(),o9),d9,this,2)),$k(this.c,t);return;case 3:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),D9))),!this.a&&(this.a=new tA(this,0)),Jv(oT(this.a,D9),F(t,18));return;case 4:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),O9))),!this.a&&(this.a=new tA(this,0)),Jv(oT(this.a,O9),F(t,18));return;case 5:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),k9))),!this.a&&(this.a=new tA(this,0)),Jv(oT(this.a,k9),F(t,18));return;case 6:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),A9))),!this.a&&(this.a=new tA(this,0)),Jv(oT(this.a,A9),F(t,18));return}KM(this,e-BS((_z(),E9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():E9,e),t)},Q.fi=function(){return _z(),E9},Q.hi=function(e){switch(e){case 0:!this.a&&(this.a=new tA(this,0)),fz(this.a);return;case 1:!this.b&&(this.b=new fD((Yz(),o9),d9,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new fD((Yz(),o9),d9,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),D9)));return;case 4:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),O9)));return;case 5:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),k9)));return;case 6:!this.a&&(this.a=new tA(this,0)),of(oT(this.a,(_z(),A9)));return}iM(this,e-BS((_z(),E9)),fO(this.j&2?(!this.k&&(this.k=new Ec),this.k).Lk():E9,e))},Q.Ib=function(){var e;return this.j&4?aL(this):(e=new _y(aL(this)),e.a+=` (mixed: `,J_(e,this.a),e.a+=`)`,e.a)},R(lJ,`XMLTypeDocumentRootImpl`,673),J(1993,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2087:1},xre),Q.oi=function(e,t){switch(e.fk()){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:qM(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return ib(t);case 6:return Q_e(F(t,195));case 12:case 47:case 49:case 11:return hct(this,e,t);case 13:return t==null?null:vot(F(t,247));case 15:case 14:return t==null?null:YTe(k(P(t)));case 17:return d1e((_z(),t));case 18:return d1e(t);case 21:case 20:return t==null?null:XTe(F(t,164).a);case 27:return $_e(F(t,195));case 30:return _Ze((_z(),F(t,16)));case 31:return _Ze(F(t,16));case 40:return Z_e((_z(),t));case 42:return f1e((_z(),t));case 43:return f1e(t);case 59:case 48:return X_e((_z(),t));default:throw O(new Rp(MK+e.ve()+NK))}},Q.pi=function(e){var t,n,r,i,a;switch(e.G==-1&&(e.G=(n=AO(e),n?yP(n.si(),e):-1)),e.G){case 0:return t=new Qf,t;case 1:return r=new Cre,r;case 2:return i=new Xse,i;case 3:return a=new $f,a;default:throw O(new Rp(IK+e.zb+NK))}},Q.qi=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;switch(e.fk()){case 5:case 52:case 4:return t;case 6:return zYe(t);case 8:case 7:return t==null?null:T1e(t);case 9:return t==null?null:qD(yR((r=ez(t,!0),r.length>0&&(uT(0,r.length),r.charCodeAt(0)==43)?(uT(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:qD(yR((i=ez(t,!0),i.length>0&&(uT(0,i.length),i.charCodeAt(0)==43)?(uT(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 11:return ib(Rz(this,(_z(),wVt),t));case 12:return ib(Rz(this,(_z(),TVt),t));case 13:return t==null?null:new Ole(ez(t,!0));case 15:case 14:return h7e(t);case 16:return ib(Rz(this,(_z(),EVt),t));case 17:return TJe((_z(),t));case 18:return TJe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return ez(t,!0);case 21:case 20:return k7e(t);case 22:return ib(Rz(this,(_z(),DVt),t));case 23:return ib(Rz(this,(_z(),OVt),t));case 24:return ib(Rz(this,(_z(),kVt),t));case 25:return ib(Rz(this,(_z(),AVt),t));case 26:return ib(Rz(this,(_z(),jVt),t));case 27:return TYe(t);case 30:return EJe((_z(),t));case 31:return EJe(t);case 32:return t==null?null:K(yR((u=ez(t,!0),u.length>0&&(uT(0,u.length),u.charCodeAt(0)==43)?(uT(1,u.length+1),u.substr(1)):u),WB,nB));case 33:return t==null?null:new kv((d=ez(t,!0),d.length>0&&(uT(0,d.length),d.charCodeAt(0)==43)?(uT(1,d.length+1),d.substr(1)):d));case 34:return t==null?null:K(yR((f=ez(t,!0),f.length>0&&(uT(0,f.length),f.charCodeAt(0)==43)?(uT(1,f.length+1),f.substr(1)):f),WB,nB));case 36:return t==null?null:RN(Mz((p=ez(t,!0),p.length>0&&(uT(0,p.length),p.charCodeAt(0)==43)?(uT(1,p.length+1),p.substr(1)):p)));case 37:return t==null?null:RN(Mz((m=ez(t,!0),m.length>0&&(uT(0,m.length),m.charCodeAt(0)==43)?(uT(1,m.length+1),m.substr(1)):m)));case 40:return nZe((_z(),t));case 42:return DJe((_z(),t));case 43:return DJe(t);case 44:return t==null?null:new kv((h=ez(t,!0),h.length>0&&(uT(0,h.length),h.charCodeAt(0)==43)?(uT(1,h.length+1),h.substr(1)):h));case 45:return t==null?null:new kv((g=ez(t,!0),g.length>0&&(uT(0,g.length),g.charCodeAt(0)==43)?(uT(1,g.length+1),g.substr(1)):g));case 46:return ez(t,!1);case 47:return ib(Rz(this,(_z(),MVt),t));case 59:case 48:return tZe((_z(),t));case 49:return ib(Rz(this,(_z(),NVt),t));case 50:return t==null?null:Yj(yR((_=ez(t,!0),_.length>0&&(uT(0,_.length),_.charCodeAt(0)==43)?(uT(1,_.length+1),_.substr(1)):_),Uq,32767)<<16>>16);case 51:return t==null?null:Yj(yR((a=ez(t,!0),a.length>0&&(uT(0,a.length),a.charCodeAt(0)==43)?(uT(1,a.length+1),a.substr(1)):a),Uq,32767)<<16>>16);case 53:return ib(Rz(this,(_z(),PVt),t));case 55:return t==null?null:Yj(yR((o=ez(t,!0),o.length>0&&(uT(0,o.length),o.charCodeAt(0)==43)?(uT(1,o.length+1),o.substr(1)):o),Uq,32767)<<16>>16);case 56:return t==null?null:Yj(yR((s=ez(t,!0),s.length>0&&(uT(0,s.length),s.charCodeAt(0)==43)?(uT(1,s.length+1),s.substr(1)):s),Uq,32767)<<16>>16);case 57:return t==null?null:RN(Mz((c=ez(t,!0),c.length>0&&(uT(0,c.length),c.charCodeAt(0)==43)?(uT(1,c.length+1),c.substr(1)):c)));case 58:return t==null?null:RN(Mz((l=ez(t,!0),l.length>0&&(uT(0,l.length),l.charCodeAt(0)==43)?(uT(1,l.length+1),l.substr(1)):l)));case 60:return t==null?null:K(yR((n=ez(t,!0),n.length>0&&(uT(0,n.length),n.charCodeAt(0)==43)?(uT(1,n.length+1),n.substr(1)):n),WB,nB));case 61:return t==null?null:K(yR(ez(t,!0),WB,nB));default:throw O(new Rp(MK+e.ve()+NK))}};var IVt,LVt,RVt,zVt;R(lJ,`XMLTypeFactoryImpl`,1993),J(583,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2009:1,583:1},mDe),Q.N=!1,Q.O=!1;var BVt=!1;R(lJ,`XMLTypePackageImpl`,583),J(1926,1,{836:1},vs),Q.Ik=function(){return xit(),oHt},R(lJ,`XMLTypePackageImpl/1`,1926),J(1935,1,qq,Sre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/10`,1935),J(1936,1,qq,ys),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/11`,1936),J(1937,1,qq,bs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/12`,1937),J(1938,1,qq,xs),Q.dk=function(e){return R_(e)},Q.ek=function(e){return H($J,xB,346,e,7,1)},R(lJ,`XMLTypePackageImpl/13`,1938),J(1939,1,qq,wre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/14`,1939),J(1940,1,qq,Ss),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(MJ,SH,16,e,0,1)},R(lJ,`XMLTypePackageImpl/15`,1940),J(1941,1,qq,Cs),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(MJ,SH,16,e,0,1)},R(lJ,`XMLTypePackageImpl/16`,1941),J(1942,1,qq,ws),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/17`,1942),J(1943,1,qq,Ts),Q.dk=function(e){return N(e,164)},Q.ek=function(e){return H(eY,xB,164,e,0,1)},R(lJ,`XMLTypePackageImpl/18`,1943),J(1944,1,qq,Es),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/19`,1944),J(1927,1,qq,Tre),Q.dk=function(e){return N(e,842)},Q.ek=function(e){return H(v9,sB,842,e,0,1)},R(lJ,`XMLTypePackageImpl/2`,1927),J(1945,1,qq,Ds),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/20`,1945),J(1946,1,qq,Ere),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/21`,1946),J(1947,1,qq,Os),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/22`,1947),J(1948,1,qq,ks),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/23`,1948),J(1949,1,qq,As),Q.dk=function(e){return N(e,195)},Q.ek=function(e){return H(X9,xB,195,e,0,2)},R(lJ,`XMLTypePackageImpl/24`,1949),J(1950,1,qq,js),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/25`,1950),J(1951,1,qq,Ms),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/26`,1951),J(1952,1,qq,Ns),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(MJ,SH,16,e,0,1)},R(lJ,`XMLTypePackageImpl/27`,1952),J(1953,1,qq,Ps),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(MJ,SH,16,e,0,1)},R(lJ,`XMLTypePackageImpl/28`,1953),J(1954,1,qq,Dre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/29`,1954),J(1928,1,qq,Ore),Q.dk=function(e){return N(e,671)},Q.ek=function(e){return H(y9,sB,2084,e,0,1)},R(lJ,`XMLTypePackageImpl/3`,1928),J(1955,1,qq,kre),Q.dk=function(e){return N(e,15)},Q.ek=function(e){return H(tY,xB,15,e,0,1)},R(lJ,`XMLTypePackageImpl/30`,1955),J(1956,1,qq,Are),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/31`,1956),J(1957,1,qq,jre),Q.dk=function(e){return N(e,190)},Q.ek=function(e){return H(nY,xB,190,e,0,1)},R(lJ,`XMLTypePackageImpl/32`,1957),J(1958,1,qq,Fs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/33`,1958),J(1959,1,qq,Is),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/34`,1959),J(1960,1,qq,Mre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/35`,1960),J(1961,1,qq,Nre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/36`,1961),J(1962,1,qq,Pre),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(MJ,SH,16,e,0,1)},R(lJ,`XMLTypePackageImpl/37`,1962),J(1963,1,qq,Fre),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(MJ,SH,16,e,0,1)},R(lJ,`XMLTypePackageImpl/38`,1963),J(1964,1,qq,Ls),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/39`,1964),J(1929,1,qq,Rs),Q.dk=function(e){return N(e,672)},Q.ek=function(e){return H(b9,sB,2085,e,0,1)},R(lJ,`XMLTypePackageImpl/4`,1929),J(1965,1,qq,zs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/40`,1965),J(1966,1,qq,Bs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/41`,1966),J(1967,1,qq,Vs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/42`,1967),J(1968,1,qq,Hs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/43`,1968),J(1969,1,qq,Ire),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/44`,1969),J(1970,1,qq,Us),Q.dk=function(e){return N(e,191)},Q.ek=function(e){return H(iY,xB,191,e,0,1)},R(lJ,`XMLTypePackageImpl/45`,1970),J(1971,1,qq,Ws),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/46`,1971),J(1972,1,qq,Gs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/47`,1972),J(1973,1,qq,Ks),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/48`,1973),J(1974,1,qq,Lre),Q.dk=function(e){return N(e,191)},Q.ek=function(e){return H(iY,xB,191,e,0,1)},R(lJ,`XMLTypePackageImpl/49`,1974),J(1930,1,qq,qs),Q.dk=function(e){return N(e,673)},Q.ek=function(e){return H(yVt,sB,2086,e,0,1)},R(lJ,`XMLTypePackageImpl/5`,1930),J(1975,1,qq,Js),Q.dk=function(e){return N(e,190)},Q.ek=function(e){return H(nY,xB,190,e,0,1)},R(lJ,`XMLTypePackageImpl/50`,1975),J(1976,1,qq,Rre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/51`,1976),J(1977,1,qq,zre),Q.dk=function(e){return N(e,15)},Q.ek=function(e){return H(tY,xB,15,e,0,1)},R(lJ,`XMLTypePackageImpl/52`,1977),J(1931,1,qq,Bre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(aY,xB,2,e,6,1)},R(lJ,`XMLTypePackageImpl/6`,1931),J(1932,1,qq,Ys),Q.dk=function(e){return N(e,195)},Q.ek=function(e){return H(X9,xB,195,e,0,2)},R(lJ,`XMLTypePackageImpl/7`,1932),J(1933,1,qq,Vre),Q.dk=function(e){return L_(e)},Q.ek=function(e){return H(XJ,xB,473,e,8,1)},R(lJ,`XMLTypePackageImpl/8`,1933),J(1934,1,qq,Hre),Q.dk=function(e){return N(e,221)},Q.ek=function(e){return H(ZJ,xB,221,e,0,1)},R(lJ,`XMLTypePackageImpl/9`,1934);var j9,M9,N9,P9,$;J(53,63,GB,Qp),R(gJ,`RegEx/ParseException`,53),J(821,1,{},Xs),Q._l=function(e){return en*16)throw O(new Qp(Zz((Lv(),Ovt))));n=n*16+i}while(1);if(this.a!=125)throw O(new Qp(Zz((Lv(),kvt))));if(n>_J)throw O(new Qp(Zz((Lv(),Avt))));e=n}else{if(i=0,this.c!=0||(i=PP(this.a))<0||(n=i,Vz(this),this.c!=0||(i=PP(this.a))<0))throw O(new Qp(Zz((Lv(),hq))));n=n*16+i,e=n}break;case 117:if(r=0,Vz(this),this.c!=0||(r=PP(this.a))<0||(t=r,Vz(this),this.c!=0||(r=PP(this.a))<0)||(t=t*16+r,Vz(this),this.c!=0||(r=PP(this.a))<0)||(t=t*16+r,Vz(this),this.c!=0||(r=PP(this.a))<0))throw O(new Qp(Zz((Lv(),hq))));t=t*16+r,e=t;break;case 118:if(Vz(this),this.c!=0||(r=PP(this.a))<0||(t=r,Vz(this),this.c!=0||(r=PP(this.a))<0)||(t=t*16+r,Vz(this),this.c!=0||(r=PP(this.a))<0)||(t=t*16+r,Vz(this),this.c!=0||(r=PP(this.a))<0)||(t=t*16+r,Vz(this),this.c!=0||(r=PP(this.a))<0)||(t=t*16+r,Vz(this),this.c!=0||(r=PP(this.a))<0))throw O(new Qp(Zz((Lv(),hq))));if(t=t*16+r,t>_J)throw O(new Qp(Zz((Lv(),`parser.descappe.4`))));e=t;break;case 65:case 90:case 122:throw O(new Qp(Zz((Lv(),jvt))))}return e},Q.bm=function(e){var t,n;switch(e){case 100:n=(this.e&32)==32?Nz(`Nd`,!0):(qz(),B9);break;case 68:n=(this.e&32)==32?Nz(`Nd`,!1):(qz(),YVt);break;case 119:n=(this.e&32)==32?Nz(`IsWord`,!0):(qz(),U9);break;case 87:n=(this.e&32)==32?Nz(`IsWord`,!1):(qz(),ZVt);break;case 115:n=(this.e&32)==32?Nz(`IsSpace`,!0):(qz(),H9);break;case 83:n=(this.e&32)==32?Nz(`IsSpace`,!1):(qz(),XVt);break;default:throw O(new xp((t=e,Kyt+t.toString(16))))}return n},Q.cm=function(e){var t,n,r,i,a,o,s,c,l,u,d,f;for(this.b=1,Vz(this),t=null,this.c==0&&this.a==94?(Vz(this),e?u=(qz(),qz(),++W9,new yT(5)):(t=(qz(),qz(),++W9,new yT(4)),zL(t,0,_J),u=(++W9,new yT(4)))):u=(qz(),qz(),++W9,new yT(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:tz(u,this.bm(n)),r=!0;break;case 105:case 73:case 99:case 67:n=this.sm(u,n),n<0&&(r=!0);break;case 112:case 80:if(d=y6e(this,n),!d)throw O(new Qp(Zz((Lv(),fq))));tz(u,d),r=!0;break;default:n=this.am()}else if(f==20){if(o=zy(this.i,58,this.d),o<0)throw O(new Qp(Zz((Lv(),bvt))));if(s=!0,_C(this.i,this.d)==94&&(++this.d,s=!1),a=fw(this.i,this.d,o),c=nLe(a,s,(this.e&512)==512),!c)throw O(new Qp(Zz((Lv(),xvt))));if(tz(u,c),r=!0,o+1>=this.j||_C(this.i,o+1)!=93)throw O(new Qp(Zz((Lv(),bvt))));this.d=o+2}if(Vz(this),!r){if(this.c!=0||this.a!=45)zL(u,n,n);else{if(Vz(this),(f=this.c)==1)throw O(new Qp(Zz((Lv(),pq))));f==0&&this.a==93?(zL(u,n,n),zL(u,45,45)):(l=this.a,f==10&&(l=this.am()),Vz(this),zL(u,n,l))}}(this.e&bq)==bq&&this.c==0&&this.a==44&&Vz(this)}if(this.c==1)throw O(new Qp(Zz((Lv(),pq))));return t&&(bz(t,u),u=t),iL(u),lz(u),this.b=0,Vz(this),u},Q.dm=function(){for(var e,t,n=this.cm(!1),r;(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(Vz(this),this.c!=9)throw O(new Qp(Zz((Lv(),Tvt))));if(t=this.cm(!1),r==4)tz(n,t);else if(e==45)bz(n,t);else if(e==38)nct(n,t);else throw O(new xp(`ASSERT`))}else throw O(new Qp(Zz((Lv(),Evt))));return Vz(this),n},Q.em=function(){var e=this.a-48,t=(qz(),qz(),++W9,new bw(12,null,e));return!this.g&&(this.g=new df),tf(this.g,new yd(e)),Vz(this),t},Q.fm=function(){return Vz(this),qz(),$Vt},Q.gm=function(){return Vz(this),qz(),QVt},Q.hm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.im=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.jm=function(){return Vz(this),lWe()},Q.km=function(){return Vz(this),qz(),tHt},Q.lm=function(){return Vz(this),qz(),rHt},Q.mm=function(){var e;if(this.d>=this.j||((e=_C(this.i,this.d++))&65504)!=64)throw O(new Qp(Zz((Lv(),gvt))));return Vz(this),qz(),qz(),++W9,new zx(0,e-64)},Q.nm=function(){return Vz(this),Wit()},Q.om=function(){return Vz(this),qz(),iHt},Q.pm=function(){var e=(qz(),qz(),++W9,new zx(0,105));return Vz(this),e},Q.qm=function(){return Vz(this),qz(),nHt},Q.rm=function(){return Vz(this),qz(),eHt},Q.sm=function(e,t){return this.am()},Q.tm=function(){return Vz(this),qz(),qVt},Q.um=function(){var e,t,n,r,i;if(this.d+1>=this.j)throw O(new Qp(Zz((Lv(),pvt))));if(r=-1,t=null,e=_C(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new df),tf(this.g,new yd(r)),++this.d,_C(this.i,this.d)!=41)throw O(new Qp(Zz((Lv(),dq))));++this.d}else switch(e==63&&--this.d,Vz(this),t=qut(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw O(new Qp(Zz((Lv(),dq))));break;default:throw O(new Qp(Zz((Lv(),mvt))))}if(Vz(this),i=MN(this),n=null,i.e==2){if(i.Nm()!=2)throw O(new Qp(Zz((Lv(),hvt))));n=i.Jm(1),i=i.Jm(0)}if(this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),qz(),qz(),++W9,new XRe(r,t,i,n)},Q.vm=function(){return Vz(this),qz(),JVt},Q.wm=function(){var e;if(Vz(this),e=SS(24,MN(this)),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),e},Q.xm=function(){var e;if(Vz(this),e=SS(20,MN(this)),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),e},Q.ym=function(){var e;if(Vz(this),e=SS(22,MN(this)),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),e},Q.zm=function(){var e=0,t,n=0,r,i;for(t=-1;this.d=this.j)throw O(new Qp(Zz((Lv(),dvt))));if(t==45){for(++this.d;this.d=this.j)throw O(new Qp(Zz((Lv(),dvt))))}if(t==58){if(++this.d,Vz(this),r=dEe(MN(this),e,n),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));Vz(this)}else if(t==41)++this.d,Vz(this),r=dEe(MN(this),e,n);else throw O(new Qp(Zz((Lv(),fvt))));return r},Q.Am=function(){var e;if(Vz(this),e=SS(21,MN(this)),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),e},Q.Bm=function(){var e;if(Vz(this),e=SS(23,MN(this)),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),e},Q.Cm=function(){var e,t;if(Vz(this),e=this.f++,t=ATe(MN(this),e),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),t},Q.Dm=function(){var e;if(Vz(this),e=ATe(MN(this),0),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),e},Q.Em=function(e){return Vz(this),this.c==5?(Vz(this),Rx(e,(qz(),qz(),++W9,new $T(9,e)))):Rx(e,(qz(),qz(),++W9,new $T(3,e)))},Q.Fm=function(e){var t;return Vz(this),t=(qz(),qz(),++W9,new Rv(2)),this.c==5?(Vz(this),dz(t,V9),dz(t,e)):(dz(t,e),dz(t,V9)),t},Q.Gm=function(e){return Vz(this),this.c==5?(Vz(this),qz(),qz(),++W9,new $T(9,e)):(qz(),qz(),++W9,new $T(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(gJ,`RegEx/RegexParser`,821),J(1913,821,{},ep),Q._l=function(e){return!1},Q.am=function(){return gtt(this)},Q.bm=function(e){return bR(e)},Q.cm=function(e){return fdt(this)},Q.dm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.em=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.fm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.gm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.hm=function(){return Vz(this),bR(67)},Q.im=function(){return Vz(this),bR(73)},Q.jm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.km=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.lm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.mm=function(){return Vz(this),bR(99)},Q.nm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.om=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.pm=function(){return Vz(this),bR(105)},Q.qm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.rm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.sm=function(e,t){return tz(e,bR(t)),-1},Q.tm=function(){return Vz(this),qz(),qz(),++W9,new zx(0,94)},Q.um=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.vm=function(){return Vz(this),qz(),qz(),++W9,new zx(0,36)},Q.wm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.xm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.ym=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.zm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.Am=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.Bm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.Cm=function(){var e;if(Vz(this),e=ATe(MN(this),0),this.c!=7)throw O(new Qp(Zz((Lv(),dq))));return Vz(this),e},Q.Dm=function(){throw O(new Qp(Zz((Lv(),gq))))},Q.Em=function(e){return Vz(this),Rx(e,(qz(),qz(),++W9,new $T(3,e)))},Q.Fm=function(e){var t;return Vz(this),t=(qz(),qz(),++W9,new Rv(2)),dz(t,e),dz(t,V9),t},Q.Gm=function(e){return Vz(this),qz(),qz(),++W9,new $T(3,e)};var F9=null,I9=null;R(gJ,`RegEx/ParserForXMLSchema`,1913),J(121,1,TJ,bd),Q.Hm=function(e){throw O(new xp(`Not supported.`))},Q.Im=function(){return-1},Q.Jm=function(e){return null},Q.Km=function(){return null},Q.Lm=function(e){},Q.Mm=function(e){},Q.Nm=function(){return 0},Q.Ib=function(){return this.Om(0)},Q.Om=function(e){return this.e==11?`.`:``},Q.e=0;var VVt,L9,R9,HVt,UVt,z9=null,B9,WVt=null,GVt,V9,KVt=null,qVt,JVt,YVt,XVt,ZVt,QVt,H9,$Vt,eHt,tHt,nHt,U9,rHt,iHt,W9=0,aHt=R(gJ,`RegEx/Token`,121);J(137,121,{3:1,137:1,121:1},yT),Q.Om=function(e){var t,n,r;if(this.e==4){if(this==GVt)n=`.`;else if(this==B9)n=`\\d`;else if(this==U9)n=`\\w`;else if(this==H9)n=`\\s`;else{for(r=new om,r.a+=`[`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?Y_(r,RR(this.b[t])):(Y_(r,RR(this.b[t])),r.a+=`-`,Y_(r,RR(this.b[t+1])));r.a+=`]`,n=r.a}}else if(this==YVt)n=`\\D`;else if(this==ZVt)n=`\\W`;else if(this==XVt)n=`\\S`;else{for(r=new om,r.a+=`[^`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?Y_(r,RR(this.b[t])):(Y_(r,RR(this.b[t])),r.a+=`-`,Y_(r,RR(this.b[t+1])));r.a+=`]`,n=r.a}return n},Q.a=!1,Q.c=!1,R(gJ,`RegEx/RangeToken`,137),J(581,1,{581:1},yd),Q.a=0,R(gJ,`RegEx/RegexParser/ReferencePosition`,581),J(580,1,{3:1,580:1},Mue),Q.Fb=function(e){var t;return e==null||!N(e,580)?!1:(t=F(e,580),jb(this.b,t.b)&&this.a==t.a)},Q.Hb=function(){return uj(this.b+`/`+z9e(this.a))},Q.Ib=function(){return this.c.Om(this.a)},Q.a=0,R(gJ,`RegEx/RegularExpression`,580),J(228,121,TJ,zx),Q.Im=function(){return this.a},Q.Om=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=`\\`+_b(this.a&ZB);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>=PV?(n=(t=this.a>>>0,`0`+t.toString(16)),r=`\\v`+fw(n,n.length-6,n.length)):r=``+_b(this.a&ZB)}break;case 8:r=this==qVt||this==JVt?``+_b(this.a&ZB):`\\`+_b(this.a&ZB);break;default:r=null}return r},Q.a=0,R(gJ,`RegEx/Token/CharToken`,228),J(323,121,TJ,$T),Q.Jm=function(e){return this.a},Q.Lm=function(e){this.b=e},Q.Mm=function(e){this.c=e},Q.Nm=function(){return 1},Q.Om=function(e){var t;if(this.e==3){if(this.c<0&&this.b<0)t=this.a.Om(e)+`*`;else if(this.c==this.b)t=this.a.Om(e)+`{`+this.c+`}`;else if(this.c>=0&&this.b>=0)t=this.a.Om(e)+`{`+this.c+`,`+this.b+`}`;else if(this.c>=0&&this.b<0)t=this.a.Om(e)+`{`+this.c+`,}`;else throw O(new xp(`Token#toString(): CLOSURE `+this.c+oB+this.b))}else if(this.c<0&&this.b<0)t=this.a.Om(e)+`*?`;else if(this.c==this.b)t=this.a.Om(e)+`{`+this.c+`}?`;else if(this.c>=0&&this.b>=0)t=this.a.Om(e)+`{`+this.c+`,`+this.b+`}?`;else if(this.c>=0&&this.b<0)t=this.a.Om(e)+`{`+this.c+`,}?`;else throw O(new xp(`Token#toString(): NONGREEDYCLOSURE `+this.c+oB+this.b));return t},Q.b=0,Q.c=0,R(gJ,`RegEx/Token/ClosureToken`,323),J(822,121,TJ,KTe),Q.Jm=function(e){return e==0?this.a:this.b},Q.Nm=function(){return 2},Q.Om=function(e){return this.b.e==3&&this.b.Jm(0)==this.a?this.a.Om(e)+`+`:this.b.e==9&&this.b.Jm(0)==this.a?this.a.Om(e)+`+?`:this.a.Om(e)+(``+this.b.Om(e))},R(gJ,`RegEx/Token/ConcatToken`,822),J(1911,121,TJ,XRe),Q.Jm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw O(new xp(`Internal Error: `+e))},Q.Nm=function(){return this.b?2:1},Q.Om=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(gJ,`RegEx/Token/ConditionToken`,1911),J(1912,121,TJ,Pje),Q.Jm=function(e){return this.b},Q.Nm=function(){return 1},Q.Om=function(e){return`(?`+(this.a==0?``:z9e(this.a))+(this.c==0?``:z9e(this.c))+`:`+this.b.Om(e)+`)`},Q.a=0,Q.c=0,R(gJ,`RegEx/Token/ModifierToken`,1912),J(823,121,TJ,UEe),Q.Jm=function(e){return this.a},Q.Nm=function(){return 1},Q.Om=function(e){var t=null;switch(this.e){case 6:t=this.b==0?`(?:`+this.a.Om(e)+`)`:`(`+this.a.Om(e)+`)`;break;case 20:t=`(?=`+this.a.Om(e)+`)`;break;case 21:t=`(?!`+this.a.Om(e)+`)`;break;case 22:t=`(?<=`+this.a.Om(e)+`)`;break;case 23:t=`(?`+this.a.Om(e)+`)`}return t},Q.b=0,R(gJ,`RegEx/Token/ParenToken`,823),J(518,121,{3:1,121:1,518:1},bw),Q.Km=function(){return this.b},Q.Om=function(e){return this.e==12?`\\`+this.a:q5e(this.b)},Q.a=0,R(gJ,`RegEx/Token/StringToken`,518),J(466,121,TJ,Rv),Q.Hm=function(e){dz(this,e)},Q.Jm=function(e){return F(oC(this.a,e),121)},Q.Nm=function(){return this.a?this.a.a.c.length:0},Q.Om=function(e){var t,n,r,i,a;if(this.e==1){if(this.a.a.c.length==2)t=F(oC(this.a,0),121),n=F(oC(this.a,1),121),i=n.e==3&&n.Jm(0)==t?t.Om(e)+`+`:n.e==9&&n.Jm(0)==t?t.Om(e)+`+?`:t.Om(e)+(``+n.Om(e));else{for(a=new om,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 Jp(tbt))},Q.a=0,Q.b=0,R(Qyt,`ExclusiveRange/RangeIterator`,259);var K9=hC(Tq,`C`),q9=hC(Oq,`I`),J9=hC($z,`Z`),Y9=hC(kq,`J`),X9=hC(wq,`B`),Z9=hC(Eq,`D`),Q9=hC(Dq,`F`),$9=hC(Aq,`S`),sHt=Ax(`org.eclipse.elk.core.labels`,`ILabelManager`),cHt=Ax(JK,`DiagnosticChain`),lHt=Ax(yyt,`ResourceSet`),uHt=R(JK,`InvocationTargetException`,null),dHt=(am(),oFe),fHt=fHt=Z$e;_Be(Bd),yVe(`permProps`,[[[`locale`,`default`],[nbt,`gecko1_8`]],[[`locale`,`default`],[nbt,`safari`]]]),fHt(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){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}function i(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:{};c(this,n);var r=Object.assign({},t),i=!1;try{e.resolve(`web-worker`),i=!0}catch{}if(t.workerUrl){if(i){var a=e("web-worker");r.workerFactory=function(e){return new a(e)}}else console.warn(`Web worker requested but 'web-worker' package not installed. + endInLayerEdge=`,Z_(e,this.c),e.a},R(kU,`BreakingPointInserter/BPInfo`,318),J(651,1,{651:1},zu),Q.a=!1,Q.b=0,Q.c=0,R(kU,`BreakingPointInserter/Cut`,651),J(1507,1,uU,Yr),Q.If=function(e,t){d7e(F(e,36),t)},R(kU,`BreakingPointProcessor`,1507),J(1508,1,RB,Xr),Q.Mb=function(e){return DRe(F(e,9))},R(kU,`BreakingPointProcessor/0methodref$isEnd$Type`,1508),J(1509,1,RB,Zr),Q.Mb=function(e){return ORe(F(e,9))},R(kU,`BreakingPointProcessor/1methodref$isStart$Type`,1509),J(1510,1,uU,Qr),Q.If=function(e,t){W7e(this,F(e,36),t)},R(kU,`BreakingPointRemover`,1510),J(1511,1,xB,$r),Q.Ad=function(e){F(e,132).k=!0},R(kU,`BreakingPointRemover/lambda$0$Type`,1511),J(799,1,{},I8e),Q.b=0,Q.e=0,Q.f=0,Q.j=0,R(kU,`GraphStats`,799),J(800,1,{},ei),Q.Te=function(e,t){return r.Math.max(k(P(e)),k(P(t)))},R(kU,`GraphStats/0methodref$max$Type`,800),J(801,1,{},ti),Q.Te=function(e,t){return r.Math.max(k(P(e)),k(P(t)))},R(kU,`GraphStats/2methodref$max$Type`,801),J(1695,1,{},ni),Q.Te=function(e,t){return dSe(P(e),P(t))},R(kU,`GraphStats/lambda$1$Type`,1695),J(1696,1,{},Xae),Q.Kb=function(e){return wYe(this.a,F(e,25))},R(kU,`GraphStats/lambda$2$Type`,1696),J(1697,1,{},Zae),Q.Kb=function(e){return F7e(this.a,F(e,25))},R(kU,`GraphStats/lambda$6$Type`,1697),J(802,1,{},ri),Q.mg=function(e,t){return F(q(e,(zz(),HAt)),16)||(fw(),fw(),nY)},Q.ng=function(){return!1},R(kU,`ICutIndexCalculator/ManualCutIndexCalculator`,802),J(804,1,{},ii),Q.mg=function(e,t){var n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x=(t.n??dZe(t),t.n);for(l=(t.d??dZe(t),t.d),b=H(Z9,NV,30,x.length,15,1),b[0]=x[0],v=x[0],u=1;u=g&&(ry(o,K(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.ng=function(){return!1},R(kU,`MSDCutIndexHeuristic`,804),J(1650,1,uU,ai),Q.If=function(e,t){bat(F(e,36),t)},R(kU,`SingleEdgeGraphWrapper`,1650),J(231,24,{3:1,35:1,24:1,231:1},Cg);var NZ,PZ,FZ,IZ,LZ,RZ,zZ=rk(AU,`CenterEdgeLabelPlacementStrategy`,231,wJ,zIe,Nbe),kTt;J(422,24,{3:1,35:1,24:1,422:1},lfe);var ATt,BZ,jTt=rk(AU,`ConstraintCalculationStrategy`,422,wJ,zOe,Mbe),MTt;J(301,24,{3:1,35:1,24:1,301:1,188:1,196:1},wg),Q.bg=function(){return F5e(this)},Q.og=function(){return F5e(this)};var VZ,HZ,NTt,PTt,FTt=rk(AU,`CrossingMinimizationStrategy`,301,wJ,GMe,Pbe),ITt;J(350,24,{3:1,35:1,24:1,350:1},Tg);var LTt,UZ,WZ,RTt=rk(AU,`CuttingStrategy`,350,wJ,WAe,Fbe),zTt;J(267,24,{3:1,35:1,24:1,267:1,188:1,196:1},Eg),Q.bg=function(){return Btt(this)},Q.og=function(){return Btt(this)};var GZ,BTt,KZ,qZ,JZ,YZ,XZ,ZZ,QZ,VTt=rk(AU,`CycleBreakingStrategy`,267,wJ,vBe,Ibe),HTt;J(419,24,{3:1,35:1,24:1,419:1},dfe);var $Z,UTt,WTt=rk(AU,`DirectionCongruency`,419,wJ,BOe,Lbe),GTt;J(449,24,{3:1,35:1,24:1,449:1},Dg);var eQ,tQ,nQ,KTt=rk(AU,`EdgeConstraint`,449,wJ,GAe,Rbe),qTt;J(284,24,{3:1,35:1,24:1,284:1},Og);var rQ,iQ,aQ,oQ,sQ,cQ,JTt=rk(AU,`EdgeLabelSideSelection`,284,wJ,BIe,Vbe),YTt;J(476,24,{3:1,35:1,24:1,476:1},ffe);var lQ,XTt,ZTt=rk(AU,`EdgeStraighteningStrategy`,476,wJ,VOe,Hbe),QTt;J(282,24,{3:1,35:1,24:1,282:1},kg);var uQ,$Tt,eEt,dQ,tEt,nEt,rEt=rk(AU,`FixedAlignment`,282,wJ,VIe,Bbe),iEt;J(283,24,{3:1,35:1,24:1,283:1},Ag);var aEt,oEt,sEt,cEt,fQ,lEt,uEt=rk(AU,`GraphCompactionStrategy`,283,wJ,HIe,Ube),dEt;J(261,24,{3:1,35:1,24:1,261:1},jg);var pQ,mQ,hQ,gQ,_Q,vQ,yQ,bQ,xQ,SQ,CQ=rk(AU,`GraphProperties`,261,wJ,DVe,Wbe),fEt;J(302,24,{3:1,35:1,24:1,302:1},pfe);var wQ,TQ,EQ,DQ=rk(AU,`GreedySwitchType`,302,wJ,jAe,Gbe),pEt;J(329,24,{3:1,35:1,24:1,329:1},Mg);var OQ,mEt,kQ,AQ=rk(AU,`GroupOrderStrategy`,329,wJ,MAe,Kbe),hEt;J(316,24,{3:1,35:1,24:1,316:1},Ng);var jQ,MQ,NQ,gEt=rk(AU,`InLayerConstraint`,316,wJ,NAe,qbe),_Et;J(420,24,{3:1,35:1,24:1,420:1},mfe);var PQ,vEt,yEt=rk(AU,`InteractiveReferencePoint`,420,wJ,HOe,Jbe),bEt,xEt,FQ,IQ,LQ,RQ,SEt,CEt,zQ,wEt,BQ,VQ,HQ,UQ,WQ,GQ,KQ,qQ,TEt,JQ,YQ,XQ,ZQ,QQ,$Q,e$,t$,EEt,DEt,n$,r$,i$,a$,o$,s$,c$,l$,u$,d$,OEt,kEt,AEt,jEt,MEt,f$,p$,m$,h$,g$,_$,v$,y$,b$,x$,S$,C$,w$,T$,NEt,E$,D$,O$,k$,A$,j$,M$;J(165,24,{3:1,35:1,24:1,165:1},Pg);var N$,P$,F$,I$,L$,PEt=rk(AU,`LayerConstraint`,165,wJ,WPe,Xbe),FEt;J(423,24,{3:1,35:1,24:1,423:1},hfe);var R$,z$,IEt=rk(AU,`LayerUnzippingStrategy`,423,wJ,UOe,Zbe),LEt;J(844,1,EH,tie),Q.tf=function(e){JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Jpt),``),`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.`),FDt),(yI(),H3)),WTt),WM((eP(),L3))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Ypt),``),`Feedback Edges`),`Whether feedback edges should be highlighted by routing around the nodes.`),(by(),!1)),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,MU),``),`Interactive Reference Point`),`Determines which point of a node is considered by interactive layout phases.`),iOt),H3),yEt),WM(L3)))),JT(e,MU,NU,oOt),JT(e,MU,BU,aOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Xpt),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Zpt),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(ole(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Qpt),``),`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),B3),LJ),WM(R3)),W(A(KJ,1),vB,2,6,[`org.eclipse.elk.layered.northOrSouthPort`])))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,$pt),``),`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.`),ekt),H3),_jt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,emt),``),`Thoroughness`),`How much effort should be spent to produce a nice layout.`),K(7)),W3),HJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,tmt),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,nmt),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,NU),`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).`),NDt),H3),VTt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,PU),jW),`Node Layering Strategy`),`Strategy for node layering.`),xOt),H3),ejt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,rmt),jW),`Layer Constraint`),`Determines a constraint on the placement of the node regarding the layering.`),dOt),H3),PEt),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,imt),jW),`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),W3),HJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,amt),jW),`Layer ID`),`Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set.`),K(-1)),W3),HJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,FU),Amt),`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.`),K(4)),W3),HJ),WM(L3)))),JT(e,FU,PU,mOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,IU),Amt),`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.`),K(2)),W3),HJ),WM(L3)))),JT(e,IU,PU,gOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,LU),jmt),`Node Promotion Strategy`),`Reduces number of dummy nodes after layering phase (if possible).`),yOt),H3),fjt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,RU),jmt),`Max Node Promotion Iterations`),`Limits the number of iterations for node promotion.`),K(0)),W3),HJ),WM(L3)))),JT(e,RU,LU,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,zU),`layering.coffmanGraham`),`Layer Bound`),`The maximum number of nodes allowed per layer.`),K($z)),W3),HJ),WM(L3)))),JT(e,zU,PU,cOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,BU),MW),`Crossing Minimization Strategy`),`Strategy for crossing minimization.`),jDt),H3),FTt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,omt),MW),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,VU),MW),`Hierarchical Sweepiness`),`How likely it is to use cross-hierarchy (1) vs bottom-up (-1).`),.1),V3),BJ),WM(L3)))),JT(e,VU,NW,CDt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,HU),MW),`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),B3),LJ),WM(L3)))),JT(e,HU,BU,kDt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,smt),MW),`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),K3),KJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,cmt),MW),`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),K3),KJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,lmt),MW),`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),W3),HJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,umt),MW),`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.`),K(-1)),W3),HJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,dmt),Mmt),`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.`),K(40)),W3),HJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,UU),Mmt),`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.`),bDt),H3),DQ),WM(L3)))),JT(e,UU,BU,xDt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,WU),`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.`),gDt),H3),DQ),WM(L3)))),JT(e,WU,BU,_Dt),JT(e,WU,NW,vDt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,GU),Nmt),`Node Placement Strategy`),`Strategy for node placement.`),QOt),H3),U0),WM(L3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,KU),Nmt),`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.`),B3),LJ),WM(L3)))),JT(e,KU,GU,BOt),JT(e,KU,GU,VOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,qU),Pmt),`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.`),POt),H3),ZTt),WM(L3)))),JT(e,qU,GU,FOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,JU),Pmt),`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.`),LOt),H3),rEt),WM(L3)))),JT(e,JU,GU,ROt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,YU),`nodePlacement.linearSegments`),`Linear Segments Deflection Dampening`),`Dampens the movement of nodes to keep the diagram from getting too large.`),.3),V3),BJ),WM(L3)))),JT(e,YU,GU,UOt),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,XU),`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.`),H3),R0),WM(I3)))),JT(e,XU,GU,JOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,ZU),Fmt),`Node Flexibility Default`),`Default value of the 'nodeFlexibility' option for the children of a hierarchical node.`),KOt),H3),R0),WM(L3)))),JT(e,ZU,GU,qOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,QU),Fmt),`Node Flexibility Recompute Node Placement`),`Run a second node placement algorithm after the initial network simplex with node flexibility. In the second run, node flexibility is disabled and a different node placer can be used. The node sizes determined by the node flexibility option are used as fixed node sizes in the second run. If set to null (default) no second run is performed.`),null),H3),U0),WM(L3)))),JT(e,QU,GU,XOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,fmt),Imt),`Self-Loop Distribution`),`Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE.`),UDt),H3),Cjt),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,pmt),Imt),`Self-Loop Ordering`),`Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE.`),GDt),H3),Tjt),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,$U),`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.`),qDt),H3),Ojt),WM(L3)))),JT(e,$U,PW,JDt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,eW),`edgeRouting.splines.sloppy`),`Sloppy Spline Layer Spacing Factor`),`Spacing factor for routing area between layers when using sloppy spline routing.`),.2),V3),BJ),WM(L3)))),JT(e,eW,PW,XDt),JT(e,eW,$U,ZDt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,tW),`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),V3),BJ),WM(L3)))),JT(e,tW,PW,VDt),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,mmt),FW),`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.`),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,hmt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,gmt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,_mt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,vmt),Lmt),`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.`),K(0)),W3),HJ),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,ymt),Lmt),`Shortness Priority`),`Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase.`),K(0)),W3),HJ),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,bmt),Lmt),`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.`),K(0)),W3),HJ),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,nW),Rmt),`Connected Components Compaction`),`Tries to further compact components (disconnected sub-graphs).`),!1),B3),LJ),WM(L3)))),JT(e,nW,FH,!0),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,xmt),zmt),`Post Compaction Strategy`),Bmt),UEt),H3),uEt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Smt),zmt),`Post Compaction Constraint Calculation`),Bmt),VEt),H3),jTt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,rW),Vmt),`High Degree Node Treatment`),`Makes room around high degree nodes to place leafs and trees.`),!1),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,iW),Vmt),`High Degree Node Threshold`),`Whether a node is considered to have a high degree.`),K(16)),W3),HJ),WM(L3)))),JT(e,iW,rW,!0),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,aW),Vmt),`High Degree Node Maximum Tree Height`),`Maximum height of a subtree connected to a high degree node to be moved to separate layers.`),K(5)),W3),HJ),WM(L3)))),JT(e,aW,rW,!0),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,oW),Hmt),`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'.`),Mkt),H3),Pjt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,sW),Hmt),`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),V3),BJ),WM(L3)))),JT(e,sW,oW,dkt),JT(e,sW,oW,fkt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,cW),Hmt),`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),V3),BJ),WM(L3)))),JT(e,cW,oW,mkt),JT(e,cW,oW,hkt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,lW),Umt),`Cutting Strategy`),`The strategy by which the layer indexes are determined at which the layering crumbles into chunks.`),Skt),H3),RTt),WM(L3)))),JT(e,lW,oW,Ckt),JT(e,lW,oW,wkt),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,uW),Umt),`Manually Specified Cuts`),`Allows the user to specify her own cuts for a certain graph.`),G3),yJ),WM(L3)))),JT(e,uW,lW,_kt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,dW),`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.`),ykt),W3),HJ),WM(L3)))),JT(e,dW,lW,bkt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,fW),Wmt),`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.`),Lkt),H3),Mjt),WM(L3)))),JT(e,fW,oW,Rkt),JT(e,fW,oW,zkt),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,pW),Wmt),`Valid Indices for Wrapping`),null),G3),yJ),WM(L3)))),JT(e,pW,oW,Pkt),JT(e,pW,oW,Fkt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,mW),Gmt),`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),B3),LJ),WM(L3)))),JT(e,mW,oW,Okt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,hW),Gmt),`Distance Penalty When Improving Cuts`),null),2),V3),BJ),WM(L3)))),JT(e,hW,oW,Ekt),JT(e,hW,mW,!0),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,gW),Gmt),`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),B3),LJ),WM(L3)))),JT(e,gW,oW,Akt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,_W),IW),`Layer Unzipping Strategy`),`The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'.`),AOt),H3),IEt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,vW),IW),`Minimize Edge Length Heuristic`),`Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer.`),!1),B3),LJ),WM(I3)))),JT(e,vW,yW,TOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,yW),IW),`Unzipping Layer Split`),`Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen.`),COt),W3),HJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,bW),IW),`Reset Alternation on Long Edges`),`If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer.`),DOt),B3),LJ),WM(I3)))),JT(e,bW,_W,OOt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Cmt),LW),`Edge Label Side Selection`),`Method to decide on edge label sides.`),zDt),H3),JTt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,wmt),LW),`Edge Center Label Placement Strategy`),`Determines in which layer center labels of long edges should be placed.`),LDt),H3),zZ),Gx(L3,W(A(z3,1),Z,160,0,[F3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,xW),RW),`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.`),fDt),H3),hjt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Tmt),RW),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,SW),RW),`No Model Order`),`Set on a node to not set a model order for this node even though it is a real node.`),!1),B3),LJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,CW),RW),`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.`),GEt),H3),$Ct),WM(L3)))),JT(e,CW,FH,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Emt),RW),`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.`),cDt),H3),rjt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,wW),RW),`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),V3),BJ),WM(L3)))),JT(e,wW,xW,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,TW),RW),`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),V3),BJ),WM(L3)))),JT(e,TW,xW,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,EW),zW),Kmt),`Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),K(0)),W3),HJ),WM(I3)))),JT(e,EW,SW,!1),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,DW),zW),Kmt),`Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),K(0)),W3),HJ),Gx(I3,W(A(z3,1),Z,160,0,[P3,R3]))))),JT(e,DW,SW,!1),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,OW),zW),Kmt),`Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group.`),K(0)),W3),HJ),Gx(I3,W(A(z3,1),Z,160,0,[P3,R3]))))),JT(e,OW,SW,!1),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Dmt),zW),`Cycle Breaking Group Ordering Strategy`),`Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering.`),YEt),H3),AQ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,kW),zW),`Cycle Breaking Preferred Source Id`),`The model order group id for which should be preferred as a source if possible.`),W3),HJ),WM(L3)))),JT(e,kW,NU,ZEt),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,AW),zW),`Cycle Breaking Preferred Target Id`),`The model order group id for which should be preferred as a target if possible.`),W3),HJ),WM(L3)))),JT(e,AW,NU,$Et),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Omt),zW),`Crossing Minimization Group Ordering Strategy`),`Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering.`),rDt),H3),AQ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,kmt),zW),`Crossing Minimization Enforced Group Orders`),`Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order.`),tDt),G3),yJ),WM(L3)))),Idt((new ic,e))};var REt,zEt,BEt,VEt,HEt,UEt,WEt,GEt,KEt,qEt,JEt,YEt,XEt,ZEt,QEt,$Et,eDt,tDt,nDt,rDt,iDt,aDt,oDt,sDt,cDt,lDt,uDt,dDt,fDt,pDt,mDt,hDt,gDt,_Dt,vDt,yDt,bDt,xDt,SDt,CDt,wDt,TDt,EDt,DDt,ODt,kDt,ADt,jDt,MDt,NDt,PDt,FDt,IDt,LDt,RDt,zDt,BDt,VDt,HDt,UDt,WDt,GDt,KDt,qDt,JDt,YDt,XDt,ZDt,QDt,$Dt,eOt,tOt,nOt,rOt,iOt,aOt,oOt,sOt,cOt,lOt,uOt,dOt,fOt,pOt,mOt,hOt,gOt,_Ot,vOt,yOt,bOt,xOt,SOt,COt,wOt,TOt,EOt,DOt,OOt,kOt,AOt,jOt,MOt,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;R(AU,`LayeredMetaDataProvider`,844),J(983,1,EH,ic),Q.tf=function(e){Idt(e)};var B$,V$,H$,U$,W$,Bkt,G$,K$,q$,J$,Y$,Vkt,Hkt,Ukt,X$,Wkt,Z$,Q$,$$,e1,t1,n1,r1,i1,Gkt,a1,o1,Kkt,qkt,Jkt,Ykt,s1,c1,l1,u1,Xkt,d1,Zkt,Qkt,f1,p1,m1,h1,g1,$kt,eAt,tAt,_1,v1,nAt,y1,b1,rAt,x1,iAt,aAt,oAt,S1,C1,w1,sAt,cAt,T1,lAt,uAt,E1,D1,dAt,fAt,pAt,O1,k1,A1,j1,M1,mAt,N1,hAt,gAt,P1,F1,_At,I1,L1,vAt,R1,z1,B1,V1,H1,U1,W1,G1,K1,yAt,bAt,xAt,q1,SAt,CAt,wAt,TAt,EAt,J1,Y1,X1,Z1,DAt,Q1,OAt,$1,kAt,e0,AAt,t0,jAt,n0,MAt,NAt,r0,i0,PAt,a0,o0,s0,c0,l0,u0,d0,f0,p0,m0,h0,g0,_0,v0,y0,b0,x0,FAt,IAt,LAt,RAt,zAt,S0,BAt,VAt,HAt,UAt,C0,WAt,GAt,KAt,qAt,w0,T0;R(AU,`LayeredOptions`,983),J(984,1,{},ui),Q.uf=function(){return new xf},Q.vf=function(e){},R(AU,`LayeredOptions/LayeredFactory`,984),J(1346,1,{}),Q.a=0;var JAt;R(JW,`ElkSpacings/AbstractSpacingsBuilder`,1346),J(779,1346,{},pqe);var E0,YAt;R(AU,`LayeredSpacings/LayeredSpacingsBuilder`,779),J(268,24,{3:1,35:1,24:1,268:1,188:1,196:1},Fg),Q.bg=function(){return Ott(this)},Q.og=function(){return Ott(this)};var D0,O0,k0,XAt,ZAt,QAt,A0,j0,$At,ejt=rk(AU,`LayeringStrategy`,268,wJ,yBe,Qbe),tjt;J(352,24,{3:1,35:1,24:1,352:1},Lg);var M0,njt,N0,rjt=rk(AU,`LongEdgeOrderingStrategy`,352,wJ,AAe,$be),ijt;J(203,24,{3:1,35:1,24:1,203:1},Rg);var P0,F0,I0,L0,R0=rk(AU,`NodeFlexibility`,203,wJ,KMe,exe),ajt;J(303,24,{3:1,35:1,24:1,303:1,188:1,196:1},zg),Q.bg=function(){return J8e(this)},Q.og=function(){return J8e(this)};var z0,B0,V0,H0,ojt,U0=rk(AU,`NodePlacementStrategy`,303,wJ,UPe,txe),sjt;J(243,24,{3:1,35:1,24:1,243:1},Ig);var cjt,W0,G0,K0,ljt,ujt,q0,djt,J0,Y0,fjt=rk(AU,`NodePromotionStrategy`,243,wJ,OVe,nxe),pjt;J(269,24,{3:1,35:1,24:1,269:1},Vg);var mjt,X0,Z0,Q0,hjt=rk(AU,`OrderingStrategy`,269,wJ,qMe,rxe),gjt;J(421,24,{3:1,35:1,24:1,421:1},gfe);var $0,e2,_jt=rk(AU,`PortSortingStrategy`,421,wJ,WOe,ixe),vjt;J(452,24,{3:1,35:1,24:1,452:1},Hg);var t2,n2,r2,yjt=rk(AU,`PortType`,452,wJ,LAe,axe),bjt;J(381,24,{3:1,35:1,24:1,381:1},Bg);var xjt,i2,Sjt,Cjt=rk(AU,`SelfLoopDistributionStrategy`,381,wJ,IAe,oxe),wjt;J(348,24,{3:1,35:1,24:1,348:1},Ug);var a2,o2,s2,Tjt=rk(AU,`SelfLoopOrderingStrategy`,348,wJ,FAe,sxe),Ejt;J(317,1,{317:1},Ust),R(AU,`Spacings`,317),J(349,24,{3:1,35:1,24:1,349:1},Wg);var c2,Djt,l2,Ojt=rk(AU,`SplineRoutingMode`,349,wJ,RAe,cxe),kjt;J(351,24,{3:1,35:1,24:1,351:1},Gg);var u2,Ajt,jjt,Mjt=rk(AU,`ValidifyStrategy`,351,wJ,zAe,lxe),Njt;J(382,24,{3:1,35:1,24:1,382:1},Kg);var d2,f2,p2,Pjt=rk(AU,`WrappingStrategy`,382,wJ,BAe,uxe),Fjt;J(1362,1,YW,nc),Q.pg=function(e){return F(e,36),Ijt},Q.If=function(e,t){Vst(this,F(e,36),t)};var Ijt;R(XW,`BFSNodeOrderCycleBreaker`,1362),J(1360,1,YW,iie),Q.pg=function(e){return F(e,36),Ljt},Q.If=function(e,t){got(this,F(e,36),t)};var Ljt;R(XW,`DFSNodeOrderCycleBreaker`,1360),J(1361,1,xB,fSe),Q.Ad=function(e){qnt(this.a,this.c,this.b,F(e,17))},Q.b=!1,R(XW,`DFSNodeOrderCycleBreaker/lambda$0$Type`,1361),J(1354,1,YW,rc),Q.pg=function(e){return F(e,36),Rjt},Q.If=function(e,t){hot(this,F(e,36),t)};var Rjt;R(XW,`DepthFirstCycleBreaker`,1354),J(780,1,YW,Iwe),Q.pg=function(e){return F(e,36),zjt},Q.If=function(e,t){adt(this,F(e,36),t)},Q.qg=function(e){return F(kx(e,CP(this.e,e.c.length)),9)};var zjt;R(XW,`GreedyCycleBreaker`,780),J(1357,780,YW,Kpe),Q.qg=function(e){var t,n,i,a,o,s,c,l,u=null;for(i=$z,l=r.Math.max(this.b.a.c.length,F(q(this.b,(X(),l$)),15).a),t=l*F(q(this.b,LQ),15).a,a=new hi,n=M(q(this.b,(zz(),Y$)))===M((YA(),OQ)),c=new D(e);c.ao&&(i=o,u=s));return u||F(kx(e,CP(this.e,e.c.length)),9)},R(XW,`GreedyModelOrderCycleBreaker`,1357),J(506,1,{},hi),Q.a=0,Q.b=0,R(XW,`GroupModelOrderCalculator`,506),J(1355,1,YW,tc),Q.pg=function(e){return F(e,36),Bjt},Q.If=function(e,t){Xot(this,F(e,36),t)};var Bjt;R(XW,`InteractiveCycleBreaker`,1355),J(1356,1,YW,nie),Q.pg=function(e){return F(e,36),Vjt},Q.If=function(e,t){$ot(F(e,36),t)};var Vjt;R(XW,`ModelOrderCycleBreaker`,1356),J(781,1,YW),Q.pg=function(e){return F(e,36),Hjt},Q.If=function(e,t){lat(this,F(e,36),t)},Q.rg=function(e,t){for(var n,r,i,a,o=0,s,c,l,u,d;ol&&(c=p,d=l),udE(new uS(py(VM(s).a.Jc(),new f))))for(i=new uS(py(zM(c).a.Jc(),new f));rL(i);)r=F(zE(i),17),F(mP(this.d,o),22).Gc(r.c.i)&&ry(this.c,r);else for(i=new uS(py(VM(s).a.Jc(),new f));rL(i);)r=F(zE(i),17),F(mP(this.d,o),22).Gc(r.d.i)&&ry(this.c,r)}},R(XW,`SCCNodeTypeCycleBreaker`,1359),J(1358,781,YW,Wpe),Q.rg=function(e,t){for(var n,r,i,a,o=0,s,c,l,u,d,p,m;ol&&(c=p,d=l),udE(new uS(py(VM(s).a.Jc(),new f))))for(i=new uS(py(zM(c).a.Jc(),new f));rL(i);)r=F(zE(i),17),F(mP(this.d,o),22).Gc(r.c.i)&&ry(this.c,r);else for(i=new uS(py(VM(s).a.Jc(),new f));rL(i);)r=F(zE(i),17),F(mP(this.d,o),22).Gc(r.d.i)&&ry(this.c,r)}},R(XW,`SCConnectivity`,1358),J(1374,1,YW,rie),Q.pg=function(e){return F(e,36),Ujt},Q.If=function(e,t){Ult(this,F(e,36),t)};var Ujt;R(ZW,`BreadthFirstModelOrderLayerer`,1374),J(1375,1,ZV,gi),Q.Le=function(e,t){return o3e(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(ZW,`BreadthFirstModelOrderLayerer/lambda$0$Type`,1375),J(1365,1,YW,rde),Q.pg=function(e){return F(e,36),Wjt},Q.If=function(e,t){mdt(this,F(e,36),t)};var Wjt;R(ZW,`CoffmanGrahamLayerer`,1365),J(1366,1,ZV,Lu),Q.Le=function(e,t){return z9e(this.a,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(ZW,`CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type`,1366),J(1367,1,ZV,Qae),Q.Le=function(e,t){return Swe(this.a,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(ZW,`CoffmanGrahamLayerer/lambda$1$Type`,1367),J(1376,1,YW,oie),Q.pg=function(e){return F(e,36),Gjt},Q.If=function(e,t){Gut(this,F(e,36),t)},Q.c=0,Q.e=0;var Gjt;R(ZW,`DepthFirstModelOrderLayerer`,1376),J(1377,1,ZV,yte),Q.Le=function(e,t){return s3e(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(ZW,`DepthFirstModelOrderLayerer/lambda$0$Type`,1377),J(1368,1,YW,bte),Q.pg=function(e){return F(e,36),Sx(Sx(Sx(new AC,($F(),nX),(Uz(),BX)),rX,JX),iX,qX)},Q.If=function(e,t){aut(F(e,36),t)},R(ZW,`InteractiveLayerer`,1368),J(564,1,{564:1},kf),Q.a=0,Q.c=0,R(ZW,`InteractiveLayerer/LayerSpan`,564),J(1364,1,YW,oc),Q.pg=function(e){return F(e,36),Kjt},Q.If=function(e,t){k9e(this,F(e,36),t)};var Kjt;R(ZW,`LongestPathLayerer`,1364),J(1373,1,YW,sie),Q.pg=function(e){return F(e,36),qjt},Q.If=function(e,t){aet(this,F(e,36),t)};var qjt;R(ZW,`LongestPathSourceLayerer`,1373),J(1371,1,YW,aie),Q.pg=function(e){return F(e,36),Sx(Sx(Sx(new AC,($F(),nX),(Uz(),IX)),rX,JX),iX,qX)},Q.If=function(e,t){xut(this,F(e,36),t)},Q.a=0,Q.b=0,Q.d=0;var Jjt,Yjt;R(ZW,`MinWidthLayerer`,1371),J(1372,1,ZV,$ae),Q.Le=function(e,t){return dHe(this,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(ZW,`MinWidthLayerer/MinOutgoingEdgesComparator`,1372),J(1363,1,YW,ac),Q.pg=function(e){return F(e,36),Xjt},Q.If=function(e,t){Kst(this,F(e,36),t)};var Xjt;R(ZW,`NetworkSimplexLayerer`,1363),J(1369,1,YW,Zve),Q.pg=function(e){return F(e,36),Sx(Sx(Sx(new AC,($F(),nX),(Uz(),IX)),rX,JX),iX,qX)},Q.If=function(e,t){Xct(this,F(e,36),t)},Q.d=0,Q.f=0,Q.g=0,Q.i=0,Q.s=0,Q.t=0,Q.u=0,R(ZW,`StretchWidthLayerer`,1369),J(1370,1,ZV,Ste),Q.Le=function(e,t){return PFe(F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(ZW,`StretchWidthLayerer/1`,1370),J(406,1,Mht),Q.eg=function(e,t,n,r,i,a){},Q.tg=function(e,t,n){return brt(this,e,t,n)},Q.dg=function(){this.g=H(Q9,Nht,30,this.d,15,1),this.f=H(Q9,Nht,30,this.d,15,1)},Q.fg=function(e,t){this.e[e]=H(q9,cV,30,t[e].length,15,1)},Q.gg=function(e,t,n){var r=n[e][t];r.p=t,this.e[e][t]=t},Q.hg=function(e,t,n,r){F(kx(r[e][t].j,n),12).p=this.d++},Q.b=0,Q.c=0,Q.d=0,R(QW,`AbstractBarycenterPortDistributor`,406),J(1666,1,ZV,eoe),Q.Le=function(e,t){return sYe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(QW,`AbstractBarycenterPortDistributor/lambda$0$Type`,1666),J(817,1,wU,wMe),Q.eg=function(e,t,n,r,i,a){},Q.gg=function(e,t,n){},Q.hg=function(e,t,n,r){},Q.cg=function(){return!1},Q.dg=function(){this.c=this.e.a,this.g=this.f.g},Q.fg=function(e,t){t[e][0].c.p=e},Q.ig=function(){return!1},Q.ug=function(e,t,n,r){n?n$e(this,e):(x$e(this,e,r),kct(this,e,t)),e.c.length>1&&(Gp(nb(q(jC((OT(0,e.c.length),F(e.c[0],9))),(zz(),i1))))?N5e(e,this.d,F(this,660)):(fw(),Bv(e,this.d)),hHe(this.e,e))},Q.jg=function(e,t,n,r){var i,a,o,s,c,l,u;for(t!=uwe(n,e.length)&&(a=e[t-(n?1:-1)],GFe(this.f,a,n?(uk(),n2):(uk(),t2))),i=e[t][0],u=!r||i.k==(pL(),wX),l=HE(e[t]),this.ug(l,u,!1,n),o=0,c=new D(l);c.a`),e0?tT(this.a,e[t-1],e[t]):!n&&t1&&(Gp(nb(q(jC((OT(0,e.c.length),F(e.c[0],9))),(zz(),i1))))?N5e(e,this.d,this):(fw(),Bv(e,this.d)),Gp(nb(q(jC((OT(0,e.c.length),F(e.c[0],9))),i1)))||hHe(this.e,e))},R(QW,`ModelOrderBarycenterHeuristic`,660),J(1846,1,ZV,ooe),Q.Le=function(e,t){return Xat(this.a,F(e,9),F(t,9))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(QW,`ModelOrderBarycenterHeuristic/lambda$0$Type`,1846),J(1384,1,YW,cc),Q.pg=function(e){var t;return F(e,36),t=gv(iMt),Sx(t,($F(),iX),(Uz(),$X)),t},Q.If=function(e,t){COe((F(e,36),t))};var iMt;R(QW,`NoCrossingMinimizer`,1384),J(797,406,Mht,dle),Q.sg=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==(Dz(),t5)?this.b[e]=!0:i.j==x5&&e>0&&(this.b[e-1]=!0))},Q.f=0,R(CU,`AllCrossingsCounter`,1841),J(584,1,{},Ak),Q.b=0,Q.d=0,R(CU,`BinaryIndexedTree`,584),J(520,1,{},Ab);var aMt,v2;R(CU,`CrossingsCounter`,520),J(1915,1,ZV,Vu),Q.Le=function(e,t){return swe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(CU,`CrossingsCounter/lambda$0$Type`,1915),J(1916,1,ZV,Hu),Q.Le=function(e,t){return cwe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(CU,`CrossingsCounter/lambda$1$Type`,1916),J(1917,1,ZV,Uu),Q.Le=function(e,t){return lwe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(CU,`CrossingsCounter/lambda$2$Type`,1917),J(1918,1,ZV,Wu),Q.Le=function(e,t){return owe(this.a,F(e,12),F(t,12))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(CU,`CrossingsCounter/lambda$3$Type`,1918),J(1919,1,xB,soe),Q.Ad=function(e){JLe(this.a,F(e,12))},R(CU,`CrossingsCounter/lambda$4$Type`,1919),J(1920,1,RB,coe),Q.Mb=function(e){return Tfe(this.a,F(e,12))},R(CU,`CrossingsCounter/lambda$5$Type`,1920),J(1921,1,xB,loe),Q.Ad=function(e){Fpe(this,e)},R(CU,`CrossingsCounter/lambda$6$Type`,1921),J(1922,1,xB,_fe),Q.Ad=function(e){var t;cx(),cE(this.b,(t=this.a,F(e,12),t))},R(CU,`CrossingsCounter/lambda$7$Type`,1922),J(824,1,tH,bi),Q.Lb=function(e){return cx(),Yy(F(e,12),(X(),m$))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return cx(),Yy(F(e,12),(X(),m$))},R(CU,`CrossingsCounter/lambda$8$Type`,824),J(1914,1,{},uoe),R(CU,`HyperedgeCrossingsCounter`,1914),J(467,1,{35:1,467:1},Qve),Q.Dd=function(e){return UJe(this,F(e,467))},Q.b=0,Q.c=0,Q.e=0,Q.f=0;var oMt=R(CU,`HyperedgeCrossingsCounter/Hyperedge`,467);J(370,1,{35:1,370:1},tw),Q.Dd=function(e){return v5e(this,F(e,370))},Q.b=0,Q.c=0;var sMt=R(CU,`HyperedgeCrossingsCounter/HyperedgeCorner`,370);J(519,24,{3:1,35:1,24:1,519:1},vfe);var y2,b2,cMt=rk(CU,`HyperedgeCrossingsCounter/HyperedgeCorner/Type`,519,wJ,GOe,fxe),lMt;J(1386,1,YW,die),Q.pg=function(e){return F(q(F(e,36),(X(),YQ)),22).Gc((WL(),gQ))?uMt:null},Q.If=function(e,t){i$e(this,F(e,36),t)};var uMt;R(tG,`InteractiveNodePlacer`,1386),J(1387,1,YW,uc),Q.pg=function(e){return F(q(F(e,36),(X(),YQ)),22).Gc((WL(),gQ))?dMt:null},Q.If=function(e,t){KXe(this,F(e,36),t)};var dMt,x2,S2;R(tG,`LinearSegmentsNodePlacer`,1387),J(263,1,{35:1,263:1},Af),Q.Dd=function(e){return Qce(this,F(e,263))},Q.Fb=function(e){var t;return N(e,263)?(t=F(e,263),this.b==t.b):!1},Q.Hb=function(){return this.b},Q.Ib=function(){return`ls`+rI(this.e)},Q.a=0,Q.b=0,Q.c=-1,Q.d=-1,Q.g=0;var fMt=R(tG,`LinearSegmentsNodePlacer/LinearSegment`,263);J(1389,1,YW,Fwe),Q.pg=function(e){return F(q(F(e,36),(X(),YQ)),22).Gc((WL(),gQ))?pMt:null},Q.If=function(e,t){Kut(this,F(e,36),t)},Q.b=0,Q.g=0;var pMt;R(tG,`NetworkSimplexPlacer`,1389),J(1408,1,ZV,di),Q.Le=function(e,t){return Hv(F(e,15).a,F(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(tG,`NetworkSimplexPlacer/0methodref$compare$Type`,1408),J(1410,1,ZV,fi),Q.Le=function(e,t){return Hv(F(e,15).a,F(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(tG,`NetworkSimplexPlacer/1methodref$compare$Type`,1410),J(645,1,{645:1},yfe);var mMt=R(tG,`NetworkSimplexPlacer/EdgeRep`,645);J(405,1,{405:1},DDe),Q.b=!1;var hMt=R(tG,`NetworkSimplexPlacer/NodeRep`,405);J(501,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,501:1},Mf),R(tG,`NetworkSimplexPlacer/Path`,501),J(1390,1,{},pi),Q.Kb=function(e){return F(e,17).d.i.k},R(tG,`NetworkSimplexPlacer/Path/lambda$0$Type`,1390),J(1391,1,RB,mi),Q.Mb=function(e){return F(e,249)==(pL(),EX)},R(tG,`NetworkSimplexPlacer/Path/lambda$1$Type`,1391),J(1392,1,{},_i),Q.Kb=function(e){return F(e,17).d.i},R(tG,`NetworkSimplexPlacer/Path/lambda$2$Type`,1392),J(1393,1,RB,doe),Q.Mb=function(e){return vve(nJe(F(e,9)))},R(tG,`NetworkSimplexPlacer/Path/lambda$3$Type`,1393),J(1394,1,RB,Cte),Q.Mb=function(e){return ACe(F(e,12))},R(tG,`NetworkSimplexPlacer/lambda$0$Type`,1394),J(1395,1,xB,bfe),Q.Ad=function(e){xhe(this.a,this.b,F(e,12))},R(tG,`NetworkSimplexPlacer/lambda$1$Type`,1395),J(1404,1,xB,foe),Q.Ad=function(e){F3e(this.a,F(e,17))},R(tG,`NetworkSimplexPlacer/lambda$10$Type`,1404),J(1405,1,{},wte),Q.Kb=function(e){return hT(),new Mx(null,new DT(F(e,25).a,16))},R(tG,`NetworkSimplexPlacer/lambda$11$Type`,1405),J(1406,1,xB,poe),Q.Ad=function(e){ltt(this.a,F(e,9))},R(tG,`NetworkSimplexPlacer/lambda$12$Type`,1406),J(1407,1,{},vi),Q.Kb=function(e){return hT(),K(F(e,124).e)},R(tG,`NetworkSimplexPlacer/lambda$13$Type`,1407),J(1409,1,{},Tte),Q.Kb=function(e){return hT(),K(F(e,124).e)},R(tG,`NetworkSimplexPlacer/lambda$15$Type`,1409),J(1411,1,RB,yi),Q.Mb=function(e){return hT(),F(e,405).c.k==(pL(),OX)},R(tG,`NetworkSimplexPlacer/lambda$17$Type`,1411),J(1412,1,RB,xi),Q.Mb=function(e){return hT(),F(e,405).c.j.c.length>1},R(tG,`NetworkSimplexPlacer/lambda$18$Type`,1412),J(1413,1,xB,ODe),Q.Ad=function(e){bqe(this.c,this.b,this.d,this.a,F(e,405))},Q.c=0,Q.d=0,R(tG,`NetworkSimplexPlacer/lambda$19$Type`,1413),J(1396,1,{},Dte),Q.Kb=function(e){return hT(),new Mx(null,new DT(F(e,25).a,16))},R(tG,`NetworkSimplexPlacer/lambda$2$Type`,1396),J(1414,1,xB,moe),Q.Ad=function(e){bhe(this.a,F(e,12))},Q.a=0,R(tG,`NetworkSimplexPlacer/lambda$20$Type`,1414),J(1415,1,{},Si),Q.Kb=function(e){return hT(),new Mx(null,new DT(F(e,25).a,16))},R(tG,`NetworkSimplexPlacer/lambda$21$Type`,1415),J(1416,1,xB,hoe),Q.Ad=function(e){Whe(this.a,F(e,9))},R(tG,`NetworkSimplexPlacer/lambda$22$Type`,1416),J(1417,1,RB,Ote),Q.Mb=function(e){return vve(e)},R(tG,`NetworkSimplexPlacer/lambda$23$Type`,1417),J(1418,1,{},Ci),Q.Kb=function(e){return hT(),new Mx(null,new DT(F(e,25).a,16))},R(tG,`NetworkSimplexPlacer/lambda$24$Type`,1418),J(1419,1,RB,goe),Q.Mb=function(e){return nme(this.a,F(e,9))},R(tG,`NetworkSimplexPlacer/lambda$25$Type`,1419),J(1420,1,xB,xfe),Q.Ad=function(e){X2e(this.a,this.b,F(e,9))},R(tG,`NetworkSimplexPlacer/lambda$26$Type`,1420),J(1421,1,RB,kte),Q.Mb=function(e){return hT(),!IE(F(e,17))},R(tG,`NetworkSimplexPlacer/lambda$27$Type`,1421),J(1422,1,RB,Ate),Q.Mb=function(e){return hT(),!IE(F(e,17))},R(tG,`NetworkSimplexPlacer/lambda$28$Type`,1422),J(1423,1,{},Gu),Q.Te=function(e,t){return yhe(this.a,F(e,25),F(t,25))},R(tG,`NetworkSimplexPlacer/lambda$29$Type`,1423),J(1397,1,{},wi),Q.Kb=function(e){return hT(),new Mx(null,new oC(new uS(py(VM(F(e,9)).a.Jc(),new f))))},R(tG,`NetworkSimplexPlacer/lambda$3$Type`,1397),J(1398,1,RB,jte),Q.Mb=function(e){return hT(),lMe(F(e,17))},R(tG,`NetworkSimplexPlacer/lambda$4$Type`,1398),J(1399,1,xB,_oe),Q.Ad=function(e){pat(this.a,F(e,17))},R(tG,`NetworkSimplexPlacer/lambda$5$Type`,1399),J(1400,1,{},Ti),Q.Kb=function(e){return hT(),new Mx(null,new DT(F(e,25).a,16))},R(tG,`NetworkSimplexPlacer/lambda$6$Type`,1400),J(1401,1,RB,Mte),Q.Mb=function(e){return hT(),F(e,9).k==(pL(),OX)},R(tG,`NetworkSimplexPlacer/lambda$7$Type`,1401),J(1402,1,{},Ei),Q.Kb=function(e){return hT(),new Mx(null,new oC(new uS(py(BM(F(e,9)).a.Jc(),new f))))},R(tG,`NetworkSimplexPlacer/lambda$8$Type`,1402),J(1403,1,RB,Nte),Q.Mb=function(e){return hT(),xCe(F(e,17))},R(tG,`NetworkSimplexPlacer/lambda$9$Type`,1403),J(1385,1,YW,dc),Q.pg=function(e){return F(q(F(e,36),(X(),YQ)),22).Gc((WL(),gQ))?gMt:null},Q.If=function(e,t){lot(F(e,36),t)};var gMt;R(tG,`SimpleNodePlacer`,1385),J(185,1,{185:1},fR),Q.Ib=function(){var e=``;return this.c==(Hw(),w2)?e+=sH:this.c==C2&&(e+=oH),this.o==(nT(),T2)?e+=pH:this.o==E2?e+=`UP`:e+=`BALANCED`,e},R(rG,`BKAlignedLayout`,185),J(510,24,{3:1,35:1,24:1,510:1},Sfe);var C2,w2,_Mt=rk(rG,`BKAlignedLayout/HDirection`,510,wJ,KOe,pxe),vMt;J(509,24,{3:1,35:1,24:1,509:1},Cfe);var T2,E2,yMt=rk(rG,`BKAlignedLayout/VDirection`,509,wJ,qOe,mxe),bMt;J(1667,1,{},wfe),R(rG,`BKAligner`,1667),J(1670,1,{},sQe),R(rG,`BKCompactor`,1670),J(653,1,{653:1},Di),Q.a=0,R(rG,`BKCompactor/ClassEdge`,653),J(456,1,{456:1},Rse),Q.a=null,Q.b=0,R(rG,`BKCompactor/ClassNode`,456),J(1388,1,YW,vpe),Q.pg=function(e){return F(q(F(e,36),(X(),YQ)),22).Gc((WL(),gQ))?xMt:null},Q.If=function(e,t){xdt(this,F(e,36),t)},Q.d=!1;var xMt;R(rG,`BKNodePlacer`,1388),J(1668,1,{},Pte),Q.d=0,R(rG,`NeighborhoodInformation`,1668),J(1669,1,ZV,voe),Q.Le=function(e,t){return KRe(this,F(e,49),F(t,49))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(rG,`NeighborhoodInformation/NeighborComparator`,1669),J(810,1,{}),R(rG,`ThresholdStrategy`,810),J(1798,810,{},zf),Q.vg=function(e,t,n){return this.a.o==(nT(),E2)?DV:OV},Q.wg=function(){},R(rG,`ThresholdStrategy/NullThresholdStrategy`,1798),J(577,1,{577:1},jfe),Q.c=!1,Q.d=!1,R(rG,`ThresholdStrategy/Postprocessable`,577),J(1799,810,{},Bf),Q.vg=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,Hw(),i&&(a=fot(this,t,!0)),!isNaN(a)&&!isFinite(a)&&r&&(a=fot(this,n,!1)),a):e},Q.wg=function(){for(var e,t,n,r,i;this.d.b!=0;)i=F(mke(this.d),577),r=_it(this,i),r.a&&(e=r.a,n=Gp(this.a.f[this.a.g[i.b.p].p]),(n||IE(e)||e.c.i.c!=e.d.i.c)&&(t=y5e(this,i),t||gme(this.e,i)));for(;this.e.a.c.length!=0;)y5e(this,F(kWe(this.e),577))},R(rG,`ThresholdStrategy/SimpleThresholdStrategy`,1799),J(636,1,{636:1,188:1,196:1},Oi),Q.bg=function(){return _He(this)},Q.og=function(){return _He(this)};var D2;R(iG,`EdgeRouterFactory`,636),J(1446,1,YW,fie),Q.pg=function(e){return wet(F(e,36))},Q.If=function(e,t){xot(F(e,36),t)};var SMt,CMt,wMt,TMt,EMt,DMt,OMt,kMt;R(iG,`OrthogonalEdgeRouter`,1446),J(1439,1,YW,ype),Q.pg=function(e){return S$e(F(e,36))},Q.If=function(e,t){qlt(this,F(e,36),t)};var AMt,jMt,MMt,NMt,O2,PMt;R(iG,`PolylineEdgeRouter`,1439),J(1440,1,tH,Fte),Q.Lb=function(e){return DHe(F(e,9))},Q.Fb=function(e){return this===e},Q.Mb=function(e){return DHe(F(e,9))},R(iG,`PolylineEdgeRouter/1`,1440),J(1854,1,RB,ki),Q.Mb=function(e){return F(e,133).c==($E(),k2)},R(aG,`HyperEdgeCycleDetector/lambda$0$Type`,1854),J(1855,1,{},Ai),Q.Xe=function(e){return F(e,133).d},R(aG,`HyperEdgeCycleDetector/lambda$1$Type`,1855),J(1856,1,RB,Ite),Q.Mb=function(e){return F(e,133).c==($E(),k2)},R(aG,`HyperEdgeCycleDetector/lambda$2$Type`,1856),J(1857,1,{},ji),Q.Xe=function(e){return F(e,133).d},R(aG,`HyperEdgeCycleDetector/lambda$3$Type`,1857),J(1858,1,{},Lte),Q.Xe=function(e){return F(e,133).d},R(aG,`HyperEdgeCycleDetector/lambda$4$Type`,1858),J(1859,1,{},Mi),Q.Xe=function(e){return F(e,133).d},R(aG,`HyperEdgeCycleDetector/lambda$5$Type`,1859),J(116,1,{35:1,116:1},IA),Q.Dd=function(e){return $ce(this,F(e,116))},Q.Fb=function(e){var t;return N(e,116)?(t=F(e,116),this.g==t.g):!1},Q.Hb=function(){return this.g},Q.Ib=function(){for(var e=new _y(`{`),t,n,r=new D(this.n);r.a`+this.b+` (`+c_e(this.c)+`)`},Q.d=0,R(aG,`HyperEdgeSegmentDependency`,133),J(516,24,{3:1,35:1,24:1,516:1},Dfe);var k2,A2,FMt=rk(aG,`HyperEdgeSegmentDependency/DependencyType`,516,wJ,JOe,hxe),IMt;J(1860,1,{},yoe),R(aG,`HyperEdgeSegmentSplitter`,1860),J(1861,1,{},lle),Q.a=0,Q.b=0,R(aG,`HyperEdgeSegmentSplitter/AreaRating`,1861),J(340,1,{340:1},Yb),Q.a=0,Q.b=0,Q.c=0,R(aG,`HyperEdgeSegmentSplitter/FreeArea`,340),J(1862,1,ZV,Rte),Q.Le=function(e,t){return Wye(F(e,116),F(t,116))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(aG,`HyperEdgeSegmentSplitter/lambda$0$Type`,1862),J(1863,1,xB,kDe),Q.Ad=function(e){kNe(this.a,this.d,this.c,this.b,F(e,116))},Q.b=0,R(aG,`HyperEdgeSegmentSplitter/lambda$1$Type`,1863),J(1864,1,{},Ni),Q.Kb=function(e){return new Mx(null,new DT(F(e,116).e,16))},R(aG,`HyperEdgeSegmentSplitter/lambda$2$Type`,1864),J(1865,1,{},zte),Q.Kb=function(e){return new Mx(null,new DT(F(e,116).j,16))},R(aG,`HyperEdgeSegmentSplitter/lambda$3$Type`,1865),J(1866,1,{},Pi),Q.We=function(e){return k(P(e))},R(aG,`HyperEdgeSegmentSplitter/lambda$4$Type`,1866),J(654,1,{},sC),Q.a=0,Q.b=0,Q.c=0,R(aG,`OrthogonalRoutingGenerator`,654),J(1671,1,{},Fi),Q.Kb=function(e){return new Mx(null,new DT(F(e,116).e,16))},R(aG,`OrthogonalRoutingGenerator/lambda$0$Type`,1671),J(1672,1,{},Bte),Q.Kb=function(e){return new Mx(null,new DT(F(e,116).j,16))},R(aG,`OrthogonalRoutingGenerator/lambda$1$Type`,1672),J(661,1,{}),R(oG,`BaseRoutingDirectionStrategy`,661),J(1852,661,{},Vse),Q.xg=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.awH&&(o=d,a=e,i=new j(f,o),fx(s.a,i),SR(this,s,a,i,!1),p=e.r,p&&(m=k(P(mP(p.e,0))),i=new j(m,o),fx(s.a,i),SR(this,s,a,i,!1),o=t+p.o*n,a=p,i=new j(m,o),fx(s.a,i),SR(this,s,a,i,!1)),i=new j(g,o),fx(s.a,i),SR(this,s,a,i,!1)))},Q.yg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.zg=function(){return Dz(),y5},Q.Ag=function(){return Dz(),n5},R(oG,`NorthToSouthRoutingStrategy`,1852),J(1853,661,{},Hse),Q.xg=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.awH&&(o=d,a=e,i=new j(f,o),fx(s.a,i),SR(this,s,a,i,!1),p=e.r,p&&(m=k(P(mP(p.e,0))),i=new j(m,o),fx(s.a,i),SR(this,s,a,i,!1),o=t-p.o*n,a=p,i=new j(m,o),fx(s.a,i),SR(this,s,a,i,!1)),i=new j(g,o),fx(s.a,i),SR(this,s,a,i,!1)))},Q.yg=function(e){return e.i.n.a+e.n.a+e.a.a},Q.zg=function(){return Dz(),n5},Q.Ag=function(){return Dz(),y5},R(oG,`SouthToNorthRoutingStrategy`,1853),J(1851,661,{},Use),Q.xg=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.awH&&(o=d,a=e,i=new j(o,f),fx(s.a,i),SR(this,s,a,i,!0),p=e.r,p&&(m=k(P(mP(p.e,0))),i=new j(o,m),fx(s.a,i),SR(this,s,a,i,!0),o=t+p.o*n,a=p,i=new j(o,m),fx(s.a,i),SR(this,s,a,i,!0)),i=new j(o,g),fx(s.a,i),SR(this,s,a,i,!0)))},Q.yg=function(e){return e.i.n.b+e.n.b+e.a.b},Q.zg=function(){return Dz(),t5},Q.Ag=function(){return Dz(),x5},R(oG,`WestToEastRoutingStrategy`,1851),J(813,1,{},vat),Q.Ib=function(){return rI(this.a)},Q.b=0,Q.c=!1,Q.d=!1,Q.f=0,R(cG,`NubSpline`,813),J(410,1,{410:1},ret,ske),R(cG,`NubSpline/PolarCP`,410),J(1441,1,YW,kZe),Q.pg=function(e){return B1e(F(e,36))},Q.If=function(e,t){wut(this,F(e,36),t)};var LMt,RMt,zMt,BMt,VMt;R(cG,`SplineEdgeRouter`,1441),J(273,1,{273:1},XE),Q.Ib=function(){return this.a+` ->(`+this.c+`) `+this.b},Q.c=0,R(cG,`SplineEdgeRouter/Dependency`,273),J(454,24,{3:1,35:1,24:1,454:1},Ofe);var j2,M2,HMt=rk(cG,`SplineEdgeRouter/SideToProcess`,454,wJ,YOe,gxe),UMt;J(1442,1,RB,Ii),Q.Mb=function(e){return zL(),!F(e,132).o},R(cG,`SplineEdgeRouter/lambda$0$Type`,1442),J(1443,1,{},Vte),Q.Xe=function(e){return zL(),F(e,132).v+1},R(cG,`SplineEdgeRouter/lambda$1$Type`,1443),J(1444,1,xB,kfe),Q.Ad=function(e){ECe(this.a,this.b,F(e,49))},R(cG,`SplineEdgeRouter/lambda$2$Type`,1444),J(1445,1,xB,Afe),Q.Ad=function(e){DCe(this.a,this.b,F(e,49))},R(cG,`SplineEdgeRouter/lambda$3$Type`,1445),J(132,1,{35:1,132:1},G4e,qot),Q.Dd=function(e){return ele(this,F(e,132))},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(cG,`SplineSegment`,132),J(457,1,{457:1},Li),Q.a=0,Q.b=!1,Q.c=!1,Q.d=!1,Q.e=!1,Q.f=0,R(cG,`SplineSegment/EdgeInformation`,457),J(1168,1,{},Hte),R(dG,apt,1168),J(1169,1,ZV,Ute),Q.Le=function(e,t){return u6e(F(e,120),F(t,120))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(dG,opt,1169),J(1167,1,{},Hle),R(dG,`MrTree`,1167),J(398,24,{3:1,35:1,24:1,398:1,188:1,196:1},Yg),Q.bg=function(){return f6e(this)},Q.og=function(){return f6e(this)};var N2,P2,F2,I2,WMt=rk(dG,`TreeLayoutPhases`,398,wJ,cNe,_xe),GMt;J(1083,214,_H,eye),Q.kf=function(e,t){var n,r,i,a,o,s,c,l;for(Gp(nb(Y(e,(AR(),INt))))||Uw((n=new $l((Vh(),new Bp(e))),n)),o=t.dh(fG),o.Tg(`build tGraph`,1),s=(c=new ZE,wA(c,e),G(c,(Ez(),t4),e),l=new kd,jrt(e,c,l),ait(e,c,l),c),o.Ug(),o=t.dh(fG),o.Tg(`Split graph`,1),a=Rrt(this.a,s),o.Ug(),i=new D(a);i.a`+HT(this.c):`e_`+Lk(this)},R(mG,`TEdge`,65),J(120,150,{3:1,120:1,105:1,150:1},ZE),Q.Ib=function(){var e,t,n,r,i=null;for(r=nP(this.b,0);r.b!=r.d.c;)n=F(sE(r),40),i+=(n.c==null||n.c.length==0?`n_`+n.g:`n_`+n.c)+` +`;for(t=nP(this.a,0);t.b!=t.d.c;)e=F(sE(t),65),i+=(e.b&&e.c?HT(e.b)+`->`+HT(e.c):`e_`+Lk(e))+` +`;return i};var KMt=R(mG,`TGraph`,120);J(634,494,{3:1,494:1,634:1,105:1,150:1}),R(mG,`TShape`,634),J(40,634,{3:1,494:1,40:1,634:1,105:1,150:1},dj),Q.Ib=function(){return HT(this)};var L2=R(mG,`TNode`,40);J(236,1,TB,qu),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return new Ju(nP(this.a.d,0))},R(mG,`TNode/2`,236),J(334,1,uB,Ju),Q.Nb=function(e){PS(this,e)},Q.Pb=function(){return F(sE(this.a),65).c},Q.Ob=function(){return qm(this.a)},Q.Qb=function(){CO(this.a)},R(mG,`TNode/2/1`,334),J(1896,1,uU,Ui),Q.If=function(e,t){pdt(this,F(e,120),t)},R(hG,`CompactionProcessor`,1896),J(1897,1,ZV,Yu),Q.Le=function(e,t){return sHe(this.a,F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(hG,`CompactionProcessor/lambda$0$Type`,1897),J(1898,1,RB,Nfe),Q.Mb=function(e){return POe(this.b,this.a,F(e,49))},Q.a=0,Q.b=0,R(hG,`CompactionProcessor/lambda$1$Type`,1898),J(1907,1,ZV,Gte),Q.Le=function(e,t){return HTe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(hG,`CompactionProcessor/lambda$10$Type`,1907),J(1908,1,ZV,Wi),Q.Le=function(e,t){return Wge(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(hG,`CompactionProcessor/lambda$11$Type`,1908),J(1909,1,ZV,Kte),Q.Le=function(e,t){return UTe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(hG,`CompactionProcessor/lambda$12$Type`,1909),J(1899,1,RB,Coe),Q.Mb=function(e){return Khe(this.a,F(e,49))},Q.a=0,R(hG,`CompactionProcessor/lambda$2$Type`,1899),J(sV,1,RB,Xu),Q.Mb=function(e){return qhe(this.a,F(e,49))},Q.a=0,R(hG,`CompactionProcessor/lambda$3$Type`,sV),J(1901,1,RB,qte),Q.Mb=function(e){return F(e,40).c.indexOf(pG)==-1},R(hG,`CompactionProcessor/lambda$4$Type`,1901),J(1902,1,{},woe),Q.Kb=function(e){return sMe(this.a,F(e,40))},Q.a=0,R(hG,`CompactionProcessor/lambda$5$Type`,1902),J(1903,1,{},Zu),Q.Kb=function(e){return qLe(this.a,F(e,40))},Q.a=0,R(hG,`CompactionProcessor/lambda$6$Type`,1903),J(1904,1,ZV,Toe),Q.Le=function(e,t){return fFe(this.a,F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(hG,`CompactionProcessor/lambda$7$Type`,1904),J(1905,1,ZV,Qu),Q.Le=function(e,t){return pFe(this.a,F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(hG,`CompactionProcessor/lambda$8$Type`,1905),J(1906,1,ZV,Jte),Q.Le=function(e,t){return Gge(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(hG,`CompactionProcessor/lambda$9$Type`,1906),J(1894,1,uU,Yte),Q.If=function(e,t){Itt(F(e,120),t)},R(hG,`DirectionProcessor`,1894),J(1886,1,uU,$ve),Q.If=function(e,t){tit(this,F(e,120),t)},R(hG,`FanProcessor`,1886),J(1253,1,uU,Xte),Q.If=function(e,t){ftt(F(e,120),t)},R(hG,`GraphBoundsProcessor`,1253),J(1254,1,{},Zte),Q.We=function(e){return F(e,40).e.a},R(hG,`GraphBoundsProcessor/lambda$0$Type`,1254),J(1255,1,{},Qte),Q.We=function(e){return F(e,40).e.b},R(hG,`GraphBoundsProcessor/lambda$1$Type`,1255),J(1256,1,{},$te),Q.We=function(e){return gde(F(e,40))},R(hG,`GraphBoundsProcessor/lambda$2$Type`,1256),J(1257,1,{},ene),Q.We=function(e){return _de(F(e,40))},R(hG,`GraphBoundsProcessor/lambda$3$Type`,1257),J(264,24,{3:1,35:1,24:1,264:1,196:1},Xg),Q.bg=function(){switch(this.g){case 0:return new ap;case 1:return new $ve;case 2:return new Xse;case 3:return new rne;case 4:return new Gi;case 8:return new tne;case 5:return new Yte;case 6:return new ine;case 7:return new Ui;case 9:return new Xte;case 10:return new ane;default:throw O(new Hp(vU+(this.f==null?``+this.g:this.f)))}};var qMt,JMt,YMt,XMt,ZMt,QMt,$Mt,eNt,tNt,nNt,R2,rNt=rk(hG,yU,264,wJ,$Ve,vxe),iNt;J(1893,1,uU,tne),Q.If=function(e,t){Blt(F(e,120),t)},R(hG,`LevelCoordinatesProcessor`,1893),J(1891,1,uU,Gi),Q.If=function(e,t){e9e(this,F(e,120),t)},Q.a=0,R(hG,`LevelHeightProcessor`,1891),J(1892,1,TB,Ki),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return fw(),hh(),aY},R(hG,`LevelHeightProcessor/1`,1892),J(1887,1,uU,Xse),Q.If=function(e,t){Xet(this,F(e,120),t)},R(hG,`LevelProcessor`,1887),J(1888,1,RB,nne),Q.Mb=function(e){return Gp(nb(q(F(e,40),(Ez(),a4))))},R(hG,`LevelProcessor/lambda$0$Type`,1888),J(1889,1,uU,rne),Q.If=function(e,t){B4e(this,F(e,120),t)},Q.a=0,R(hG,`NeighborsProcessor`,1889),J(1890,1,TB,qi),Q.Ic=function(e){jE(this,e)},Q.Jc=function(){return fw(),hh(),aY},R(hG,`NeighborsProcessor/1`,1890),J(1895,1,uU,ine),Q.If=function(e,t){$rt(this,F(e,120),t)},Q.a=0,R(hG,`NodePositionProcessor`,1895),J(1885,1,uU,ap),Q.If=function(e,t){Wot(this,F(e,120),t)},R(hG,`RootProcessor`,1885),J(1910,1,uU,ane),Q.If=function(e,t){mXe(F(e,120),t)},R(hG,`Untreeifyer`,1910),J(385,24,{3:1,35:1,24:1,385:1},Pfe);var z2,B2,aNt,oNt=rk(_G,`EdgeRoutingMode`,385,wJ,VAe,yxe),sNt,V2,H2,U2,cNt,lNt,W2,G2,uNt,K2,dNt,q2,J2,Y2,X2,Z2,Q2,$2,e4,t4,n4,r4,fNt,pNt,i4,a4,o4,s4;J(847,1,EH,pie),Q.tf=function(e){JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Hht),``),Yht),`Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level`),(by(),!1)),(yI(),B3)),LJ),WM((eP(),L3))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Uht),``),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Wht),``),`Tree Level`),`The index for the tree level the node is in`),K(0)),W3),HJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Ght),``),Yht),`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`),K(-1)),W3),HJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Kht),``),`Weighting of Nodes`),`Which weighting to use when computing a node order.`),CNt),H3),YNt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,qht),``),`Edge Routing Mode`),`Chooses an Edge Routing algorithm.`),_Nt),H3),oNt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Jht),``),`Search Order`),`Which search order to use when computing a spanning tree.`),bNt),H3),QNt),WM(L3)))),vut((new mie,e))};var mNt,hNt,gNt,_Nt,vNt,yNt,bNt,xNt,SNt,CNt;R(_G,`MrTreeMetaDataProvider`,847),J(991,1,EH,mie),Q.tf=function(e){vut(e)};var wNt,TNt,ENt,c4,DNt,ONt,l4,kNt,ANt,jNt,MNt,NNt,PNt,FNt,INt,LNt,RNt,zNt,u4,d4,BNt,VNt,HNt,f4,UNt,WNt,GNt,KNt,qNt,p4,JNt;R(_G,`MrTreeOptions`,991),J(992,1,{},one),Q.uf=function(){return new eye},Q.vf=function(e){},R(_G,`MrTreeOptions/MrtreeFactory`,992),J(353,24,{3:1,35:1,24:1,353:1},Zg);var m4,h4,g4,_4,YNt=rk(_G,`OrderWeighting`,353,wJ,iNe,bxe),XNt;J(425,24,{3:1,35:1,24:1,425:1},Ffe);var ZNt,v4,QNt=rk(_G,`TreeifyingOrder`,425,wJ,XOe,xxe),$Nt;J(1447,1,YW,sc),Q.pg=function(e){return F(e,120),ePt},Q.If=function(e,t){bVe(this,F(e,120),t)};var ePt;R(`org.eclipse.elk.alg.mrtree.p1treeify`,`DFSTreeifyer`,1447),J(1448,1,YW,lie),Q.pg=function(e){return F(e,120),tPt},Q.If=function(e,t){itt(this,F(e,120),t)};var tPt;R(yG,`NodeOrderer`,1448),J(1455,1,{},fne),Q.rd=function(e){return TCe(e)},R(yG,`NodeOrderer/0methodref$lambda$6$Type`,1455),J(1449,1,RB,pne),Q.Mb=function(e){return PO(),Gp(nb(q(F(e,40),(Ez(),a4))))},R(yG,`NodeOrderer/lambda$0$Type`,1449),J(1450,1,RB,mne),Q.Mb=function(e){return PO(),F(q(F(e,40),(AR(),u4)),15).a<0},R(yG,`NodeOrderer/lambda$1$Type`,1450),J(1451,1,RB,Doe),Q.Mb=function(e){return OBe(this.a,F(e,40))},R(yG,`NodeOrderer/lambda$2$Type`,1451),J(1452,1,RB,Eoe),Q.Mb=function(e){return cMe(this.a,F(e,40))},R(yG,`NodeOrderer/lambda$3$Type`,1452),J(1453,1,ZV,hne),Q.Le=function(e,t){return JRe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(yG,`NodeOrderer/lambda$4$Type`,1453),J(1454,1,RB,gne),Q.Mb=function(e){return PO(),F(q(F(e,40),(Ez(),G2)),15).a!=0},R(yG,`NodeOrderer/lambda$5$Type`,1454),J(1456,1,YW,pc),Q.pg=function(e){return F(e,120),nPt},Q.If=function(e,t){hrt(this,F(e,120),t)},Q.b=0;var nPt;R(`org.eclipse.elk.alg.mrtree.p3place`,`NodePlacer`,1456),J(1457,1,YW,mc),Q.pg=function(e){return F(e,120),rPt},Q.If=function(e,t){Nnt(F(e,120),t)};var rPt;R(bG,`EdgeRouter`,1457),J(1459,1,ZV,sne),Q.Le=function(e,t){return Hv(F(e,15).a,F(t,15).a)},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/0methodref$compare$Type`,1459),J(1464,1,{},cne),Q.We=function(e){return k(P(e))},R(bG,`EdgeRouter/1methodref$doubleValue$Type`,1464),J(1466,1,ZV,lne),Q.Le=function(e,t){return mM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/2methodref$compare$Type`,1466),J(1468,1,ZV,une),Q.Le=function(e,t){return mM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/3methodref$compare$Type`,1468),J(1470,1,{},Ji),Q.We=function(e){return k(P(e))},R(bG,`EdgeRouter/4methodref$doubleValue$Type`,1470),J(1472,1,ZV,dne),Q.Le=function(e,t){return mM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/5methodref$compare$Type`,1472),J(1474,1,ZV,Yi),Q.Le=function(e,t){return mM(k(P(e)),k(P(t)))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/6methodref$compare$Type`,1474),J(1458,1,{},Xi),Q.Kb=function(e){return FO(),F(q(F(e,40),(AR(),p4)),15)},R(bG,`EdgeRouter/lambda$0$Type`,1458),J(1469,1,{},_ne),Q.Kb=function(e){return v_e(F(e,40))},R(bG,`EdgeRouter/lambda$11$Type`,1469),J(1471,1,{},Lfe),Q.Kb=function(e){return kCe(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(bG,`EdgeRouter/lambda$13$Type`,1471),J(1473,1,{},Ife),Q.Kb=function(e){return y_e(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(bG,`EdgeRouter/lambda$15$Type`,1473),J(1475,1,ZV,vne),Q.Le=function(e,t){return jYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/lambda$17$Type`,1475),J(1476,1,ZV,yne),Q.Le=function(e,t){return MYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/lambda$18$Type`,1476),J(1477,1,ZV,Zi),Q.Le=function(e,t){return PYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/lambda$19$Type`,1477),J(1460,1,RB,Ooe),Q.Mb=function(e){return gke(this.a,F(e,40))},Q.a=0,R(bG,`EdgeRouter/lambda$2$Type`,1460),J(1478,1,ZV,Qi),Q.Le=function(e,t){return NYe(F(e,65),F(t,65))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/lambda$20$Type`,1478),J(1461,1,ZV,$i),Q.Le=function(e,t){return JSe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/lambda$3$Type`,1461),J(1462,1,ZV,ea),Q.Le=function(e,t){return qSe(F(e,40),F(t,40))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`EdgeRouter/lambda$4$Type`,1462),J(1463,1,{},ta),Q.Kb=function(e){return __e(F(e,40))},R(bG,`EdgeRouter/lambda$5$Type`,1463),J(1465,1,{},Rfe),Q.Kb=function(e){return OCe(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(bG,`EdgeRouter/lambda$7$Type`,1465),J(1467,1,{},zfe),Q.Kb=function(e){return b_e(this.b,this.a,F(e,40))},Q.a=0,Q.b=0,R(bG,`EdgeRouter/lambda$9$Type`,1467),J(662,1,{662:1},fZe),Q.e=0,Q.f=!1,Q.g=!1,R(bG,`MultiLevelEdgeNodeNodeGap`,662),J(1867,1,ZV,bne),Q.Le=function(e,t){return _Ae(F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`MultiLevelEdgeNodeNodeGap/lambda$0$Type`,1867),J(1868,1,ZV,xne),Q.Le=function(e,t){return vAe(F(e,240),F(t,240))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(bG,`MultiLevelEdgeNodeNodeGap/lambda$1$Type`,1868);var y4;J(487,24,{3:1,35:1,24:1,487:1,188:1,196:1},Bfe),Q.bg=function(){return Eqe(this)},Q.og=function(){return Eqe(this)};var b4,x4,iPt=rk(Qht,`RadialLayoutPhases`,487,wJ,ZOe,Sxe),aPt;J(1084,214,_H,Gle),Q.kf=function(e,t){var n=j9e(this,e),r,i,a,o,s;if(t.Tg(`Radial layout`,n.c.length),Gp(nb(Y(e,(pI(),IPt))))||Uw((r=new $l((Vh(),new Bp(e))),r)),s=W1e(e),pP(e,(fb(),y4),s),!s)throw O(new Hp(`The given graph is not a tree!`));for(i=k(P(Y(e,M4))),i==0&&(i=J3e(e)),pP(e,M4,i),o=new D(j9e(this,e));o.a=3)for(S=F(U(b,0),26),ee=F(U(b,1),26),o=0;o+2=S.f+ee.f+d||ee.f>=x.f+S.f+d){ne=!0;break}++o}else ne=!0;if(ne){for(n=(VC(this.a),US(this.a,(TN(),L4),F(Y(e,GFt),188)),US(this.a,R4,F(Y(e,RFt),188)),US(this.a,z4,F(Y(e,HFt),188)),xme(this.a,(re=new AC,Sx(re,L4,(YF(),H4)),Sx(re,R4,V4),Gp(nb(Y(e,IFt)))&&Sx(re,L4,U4),Gp(nb(Y(e,kFt)))&&Sx(re,L4,B4),re)),fz(this.a,e)),u=1/n.c.length,te=0,h=new D(n);h.a0&&tGe((kT(t-1,e.length),e.charCodeAt(t-1)),kpt);)--t;if(r>=t)throw O(new Hp(`The given string does not contain any numbers.`));if(i=kR((uD(r,t,e.length),e.substr(r,t-r)),`,|;|\r| +`),i.length!=2)throw O(new Hp(`Exactly two numbers are expected, `+i.length+` were found.`));try{this.a=sI(EI(i[0])),this.b=sI(EI(i[1]))}catch(e){throw e=UA(e),N(e,131)?(n=e,O(new Hp(Apt+n))):O(e)}},Q.Ib=function(){return`(`+this.a+`,`+this.b+`)`},Q.a=0,Q.b=0;var J3=R(hU,`KVector`,8);J(79,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,79:1,414:1},Uf,Pm,A_e),Q.Nc=function(){return EWe(this)},Q.ag=function(e){var t,n,r=kR(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),i,a,o;hw(this);try{for(n=0,a=0,i=0,o=0;n0&&(a%2==0?i=sI(r[n]):o=sI(r[n]),a>0&&a%2!=0&&fx(this,new j(i,o)),++a),++n}catch(e){throw e=UA(e),N(e,131)?(t=e,O(new Hp(`The given string does not match the expected format for vectors.`+t))):O(e)}},Q.Ib=function(){for(var e=new _y(`(`),t=nP(this,0),n;t.b!=t.d.c;)n=F(sE(t),8),Q_(e,n.a+`,`+n.b),t.b!=t.d.c&&(e.a+=`; `);return(e.a+=`)`,e).a};var mLt=R(hU,`KVectorChain`,79);J(256,24,{3:1,35:1,24:1,256:1},f_);var Y3,X3,Z3,Q3,$3,e6,hLt=rk(rK,`Alignment`,256,wJ,UIe,Wxe),gLt;J(976,1,EH,_ie),Q.tf=function(e){nit(e)};var _Lt,t6,vLt,yLt,bLt,xLt,SLt,CLt,wLt,TLt,ELt,DLt;R(rK,`BoxLayouterOptions`,976),J(977,1,{},Kne),Q.uf=function(){return new Qa},Q.vf=function(e){},R(rK,`BoxLayouterOptions/BoxFactory`,977),J(299,24,{3:1,35:1,24:1,299:1},p_);var n6,r6,i6,a6,o6,s6,c6=rk(rK,`ContentAlignment`,299,wJ,KIe,Gxe),OLt;J(689,1,EH,vc),Q.tf=function(e){JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,$gt),``),`Layout Algorithm`),`Select a specific layout algorithm.`),(yI(),K3)),KJ),WM((eP(),L3))))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,e_t),``),`Resolved Layout Algorithm`),`Meta data associated with the selected algorithm.`),G3),cLt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,sht),``),`Alignment`),`Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm.`),ALt),H3),hLt),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,NH),``),`Aspect Ratio`),`The desired aspect ratio of the drawing, that is the quotient of width by height.`),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,t_t),``),`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.`),G3),mLt),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,UW),``),`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.`),FLt),U3),c6),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,VW),``),`Debug Mode`),`Whether additional debug information shall be generated.`),(by(),!1)),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,HW),``),`Direction`),`Overall direction of edges: horizontal (right / left) or vertical (down / up).`),ILt),H3),c8),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,PW),``),`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.`),zLt),H3),v8),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Zgt),``),`Expand Nodes`),`If active, nodes are expanded to fill the area of their parent.`),!1),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,NW),``),`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`."),ULt),H3),rzt),Gx(L3,W(A(z3,1),Z,160,0,[I3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,IH),``),`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.`),rRt),G3),owt),Gx(L3,W(A(z3,1),Z,160,0,[I3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,LH),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,qW),``),`interactive Layout`),`Whether the graph should be changeable interactively and by setting constraints`),!1),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,BH),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,RH),``),`Port Constraints`),`Defines constraints of the position of the ports of a node.`),dRt),H3),fzt),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,KW),``),`Position`),`The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position.`),G3),J3),Gx(I3,W(A(z3,1),Z,160,0,[R3,F3]))))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,AH),``),`Priority`),`Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used.`),W3),HJ),Gx(I3,W(A(z3,1),Z,160,0,[P3]))))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,PH),``),`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).`),W3),HJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,FH),``),`Separate Connected Components`),`Whether each connected component should be processed separately.`),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,vht),``),`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.`),YLt),G3),mLt),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Sht),``),`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),B3),LJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Cht),``),`Hypernode`),`Whether the node should be handled as a hypernode.`),!1),B3),LJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,n_t),``),`Label Manager`),`Label managers can shorten labels upon a layout algorithm's request.`),G3),sHt),Gx(L3,W(A(z3,1),Z,160,0,[F3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,r_t),``),`Softwrapping Fuzziness`),`Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line.`),0),V3),BJ),WM(F3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Tht),``),`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.`),XLt),G3),iwt),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,aht),``),`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),B3),LJ),Gx(I3,W(A(z3,1),Z,160,0,[P3,R3,F3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,i_t),``),`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),V3),BJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,a_t),``),`Child Area Width`),`The width of the area occupied by the laid out children of a node.`),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,o_t),``),`Child Area Height`),`The height of the area occupied by the laid out children of a node.`),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,KH),``),Ggt),`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),B3),LJ),WM(L3)))),JT(e,KH,XH,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,s_t),``),`Animate`),`Whether the shift from the old layout to the new computed layout shall be animated.`),!0),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,c_t),``),`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'.`),K(100)),W3),HJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,l_t),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,u_t),``),`Maximal Animation Time`),`The maximal time for animations, in milliseconds.`),K(4e3)),W3),HJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,d_t),``),`Minimal Animation Time`),`The minimal time for animations, in milliseconds.`),K(400)),W3),HJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,f_t),``),`Progress Bar`),`Whether a progress bar shall be displayed during layout computations.`),!1),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,p_t),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,m_t),``),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,h_t),``),`Zoom to Fit`),`Whether the zoom level shall be set to view the whole diagram after layout.`),!1),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Qgt),`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.`),NLt),H3),Lzt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,g_t),`json`),`Shape Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports.`),JLt),H3),Szt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,__t),`json`),`Edge Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels.`),KLt),H3),zRt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,qmt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Jmt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Ymt),FW),`Components Spacing`),`Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated.`),20),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Xmt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,MH),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,BW),FW),`Edge Node Spacing`),`Spacing to be preserved between nodes and edges.`),10),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Zmt),FW),`Label Spacing`),`Determines the amount of space to be left between two labels of the same graph element.`),0),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,eht),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Qmt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,$mt),FW),`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),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,jH),FW),`Node Spacing`),`The minimal distance to be preserved between each two nodes.`),20),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,tht),FW),`Node Self Loop Spacing`),`Spacing to be preserved between a node and its self loops.`),10),V3),BJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,nht),FW),`Port Spacing`),`Spacing between pairs of ports of the same node.`),10),V3),BJ),Gx(L3,W(A(z3,1),Z,160,0,[I3]))))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,rht),FW),`Individual Spacing`),`Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent.`),G3),zzt),Gx(I3,W(A(z3,1),Z,160,0,[P3,R3,F3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,Eht),FW),`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.`),DRt),G3),iwt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,GW),C_t),`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).`),W3),HJ),Gx(L3,W(A(z3,1),Z,160,0,[I3]))))),JT(e,GW,WW,sRt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,WW),C_t),`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.`),aRt),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,uht),w_t),`Node Label Padding`),`Define padding for node labels that are placed inside of a node.`),QLt),G3),owt),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,WH),w_t),`Node Label Placement`),`Hints for where node labels are to be placed; if empty, the node label's position is not modified.`),$Lt),U3),L8),Gx(I3,W(A(z3,1),Z,160,0,[F3]))))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,pht),sK),`Port Alignment`),`Defines the default port distribution for a node. May be overridden for each side individually.`),lRt),H3),V8),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,mht),sK),`Port Alignment (North)`),`Defines how ports on the northern side are placed, overriding the node's general port alignment.`),H3),V8),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,hht),sK),`Port Alignment (South)`),`Defines how ports on the southern side are placed, overriding the node's general port alignment.`),H3),V8),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,ght),sK),`Port Alignment (West)`),`Defines how ports on the western side are placed, overriding the node's general port alignment.`),H3),V8),WM(I3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,_ht),sK),`Port Alignment (East)`),`Defines how ports on the eastern side are placed, overriding the node's general port alignment.`),H3),V8),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,UH),cK),`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.`),eRt),U3),k5),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,HH),cK),`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.`),nRt),U3),Tzt),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,QH),cK),`Node Size Minimum`),`The minimal size to which a node can be reduced.`),tRt),G3),J3),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,VH),cK),`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),B3),LJ),WM(L3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,bht),LW),`Edge Label Placement`),`Gives a hint on where to put edge labels.`),LLt),H3),VRt),WM(F3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,zH),LW),`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),B3),LJ),WM(F3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,v_t),`font`),`Font Name`),`Font name used for a label.`),K3),KJ),WM(F3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,y_t),`font`),`Font Size`),`Font size used for a label.`),W3),HJ),WM(F3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,wht),lK),`Port Anchor Offset`),`The offset to the port position where connections shall be attached.`),G3),J3),WM(R3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,xht),lK),`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.`),W3),HJ),WM(R3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,oht),lK),`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.`),mRt),H3),S5),WM(R3)))),JM(e,new vI(jm(Am(Mm(Tm(km(Dm(Om(new Ya,iht),lK),`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.`),V3),BJ),WM(R3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,GH),T_t),`Port Label Placement`),`Decides on a placement method for port labels; if empty, the node label's position is not modified.`),fRt),U3),e5),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,dht),T_t),`Port Labels Next to Port`),`Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE.`),!1),B3),LJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,fht),T_t),`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),B3),LJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,aK),uK),`Number of size categories`),`Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator.`),K(3)),W3),HJ),WM(L3)))),JT(e,aK,oK,PRt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,b_t),uK),`Weight of a node containing children for determining the graph size`),`When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five.`),K(4)),W3),HJ),WM(L3)))),JT(e,b_t,aK,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,qH),uK),`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),V3),BJ),WM(L3)))),JT(e,qH,XH,jRt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,oK),uK),`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),G3),azt),WM(I3)))),JT(e,oK,XH,MRt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,JH),uK),`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),V3),BJ),Gx(L3,W(A(z3,1),Z,160,0,[I3]))))),JT(e,JH,XH,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,YH),uK),`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),V3),BJ),Gx(L3,W(A(z3,1),Z,160,0,[I3]))))),JT(e,YH,XH,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,XH),uK),`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),H3),Ozt),WM(I3)))),JT(e,XH,VH,null),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,x_t),uK),`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),V3),BJ),WM(L3)))),JT(e,x_t,XH,ARt),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,cht),E_t),`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),B3),LJ),WM(I3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,lht),E_t),`Inside Self Loop`),`Whether a self loop should be routed inside a node instead of around that node.`),!1),B3),LJ),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,yht),`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),V3),BJ),WM(P3)))),JM(e,new vI(jm(Am(Mm(Em(Tm(km(Dm(Om(new Ya,S_t),`edge`),`Edge Type`),`The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations.`),VLt),H3),YRt),WM(P3)))),zh(e,new vT(Sm(wm(Cm(new Ia,AV),`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.`))),zh(e,new vT(Sm(wm(Cm(new Ia,`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.`))),zh(e,new vT(Sm(wm(Cm(new Ia,kH),`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.`))),zh(e,new vT(Sm(wm(Cm(new Ia,`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.`))),zh(e,new vT(Sm(wm(Cm(new Ia,Xht),`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.`))),zh(e,new vT(Sm(wm(Cm(new Ia,`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.`))),zh(e,new vT(Sm(wm(Cm(new Ia,jG),`Radial`),`Radial layout algorithms usually position the nodes of the graph on concentric circles.`))),Rnt((new vie,e)),nit((new _ie,e)),utt((new yie,e))};var l6,kLt,ALt,u6,jLt,MLt,NLt,d6,f6,PLt,p6,FLt,m6,h6,ILt,g6,_6,LLt,RLt,zLt,BLt,VLt,HLt,v6,ULt,WLt,y6,b6,x6,S6,GLt,KLt,qLt,JLt,C6,YLt,w6,XLt,ZLt,QLt,T6,$Lt,E6,eRt,D6,O6,tRt,k6,nRt,A6,j6,M6,rRt,iRt,aRt,oRt,sRt,cRt,lRt,N6,P6,F6,I6,uRt,L6,R6,dRt,z6,B6,V6,fRt,pRt,H6,mRt,U6,W6,G6,K6,hRt,q6,gRt,_Rt,vRt,yRt,bRt,xRt,J6,SRt,Y6,CRt,wRt,X6,TRt,ERt,DRt,ORt,Z6,Q6,$6,e8,kRt,ARt,t8,jRt,n8,MRt,NRt,PRt,FRt;R(rK,`CoreOptions`,689),J(86,24,{3:1,35:1,24:1,86:1},m_);var r8,i8,a8,o8,s8,c8=rk(rK,`Direction`,86,wJ,CPe,Kxe),IRt;J(278,24,{3:1,35:1,24:1,278:1},h_);var l8,u8,LRt,RRt,zRt=rk(rK,`EdgeCoords`,278,wJ,lNe,qxe),BRt;J(279,24,{3:1,35:1,24:1,279:1},g_);var d8,f8,p8,VRt=rk(rK,`EdgeLabelPlacement`,279,wJ,ZAe,Jxe),HRt;J(222,24,{3:1,35:1,24:1,222:1},__);var m8,h8,g8,_8,v8=rk(rK,`EdgeRouting`,222,wJ,fNe,Yxe),URt;J(328,24,{3:1,35:1,24:1,328:1},v_);var WRt,GRt,KRt,qRt,y8,JRt,YRt=rk(rK,`EdgeType`,328,wJ,qIe,Xxe),XRt;J(974,1,EH,vie),Q.tf=function(e){Rnt(e)};var ZRt,QRt,$Rt,ezt,tzt,nzt,b8;R(rK,`FixedLayouterOptions`,974),J(975,1,{},Xa),Q.uf=function(){return new $a},Q.vf=function(e){},R(rK,`FixedLayouterOptions/FixedFactory`,975),J(347,24,{3:1,35:1,24:1,347:1},y_);var x8,S8,C8,rzt=rk(rK,`HierarchyHandling`,347,wJ,QAe,Zxe),izt,azt=Ox(rK,`ITopdownSizeApproximator`);J(292,24,{3:1,35:1,24:1,292:1},b_);var w8,T8,E8,D8,ozt=rk(rK,`LabelSide`,292,wJ,pNe,Qxe),szt;J(96,24,{3:1,35:1,24:1,96:1},x_);var O8,k8,A8,j8,M8,N8,P8,F8,I8,L8=rk(rK,`NodeLabelPlacement`,96,wJ,Bze,$xe),czt;J(257,24,{3:1,35:1,24:1,257:1},S_);var lzt,R8,z8,uzt,B8,V8=rk(rK,`PortAlignment`,257,wJ,KPe,eSe),dzt;J(102,24,{3:1,35:1,24:1,102:1},C_);var H8,U8,W8,G8,K8,q8,fzt=rk(rK,`PortConstraints`,102,wJ,WIe,tSe),pzt;J(280,24,{3:1,35:1,24:1,280:1},w_);var J8,Y8,X8,Z8,Q8,$8,e5=rk(rK,`PortLabelPlacement`,280,wJ,GIe,nSe),mzt;J(64,24,{3:1,35:1,24:1,64:1},E_);var t5,n5,r5,i5,a5,o5,s5,c5,l5,u5,d5,f5,p5,m5,h5,g5,_5,v5,y5,b5,x5,S5=rk(rK,`PortSide`,64,wJ,wPe,rSe),hzt;J(978,1,EH,yie),Q.tf=function(e){utt(e)};var gzt,_zt,vzt,yzt,bzt;R(rK,`RandomLayouterOptions`,978),J(979,1,{},Za),Q.uf=function(){return new ere},Q.vf=function(e){},R(rK,`RandomLayouterOptions/RandomFactory`,979),J(300,24,{3:1,35:1,24:1,300:1},T_);var C5,w5,xzt,Szt=rk(rK,`ShapeCoords`,300,wJ,$Ae,iSe),Czt;J(380,24,{3:1,35:1,24:1,380:1},D_);var T5,E5,D5,O5,k5=rk(rK,`SizeConstraint`,380,wJ,dNe,aSe),wzt;J(266,24,{3:1,35:1,24:1,266:1},O_);var A5,j5,M5,N5,P5,F5,I5,L5,R5,Tzt=rk(rK,`SizeOptions`,266,wJ,_Be,oSe),Ezt;J(281,24,{3:1,35:1,24:1,281:1},k_);var z5,Dzt,B5,Ozt=rk(rK,`TopdownNodeTypes`,281,wJ,eje,sSe),kzt;J(288,24,pK);var Azt,V5,jzt,Mzt,H5=rk(rK,`TopdownSizeApproximator`,288,wJ,uNe,cSe);J(970,288,pK,FCe),Q.Sg=function(e){return SXe(e)},rk(rK,`TopdownSizeApproximator/1`,970,H5,null,null),J(971,288,pK,Hwe),Q.Sg=function(e){var t=F(Y(e,(Hz(),K6)),144),n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee=(Im(),m=new Vf,m),te,ne,C;for(EL(ee,e),te=new kd,o=new uy((!e.a&&(e.a=new I(s7,e,10,11)),e.a));o.e!=o.i.gc();)i=F(aP(o),26),y=(p=new Vf,p),TL(y,ee),EL(y,i),C=SXe(i),Sv(y,r.Math.max(i.g,C.a),r.Math.max(i.f,C.b)),kI(te.f,i,y);for(a=new uy((!e.a&&(e.a=new I(s7,e,10,11)),e.a));a.e!=a.i.gc();)for(i=F(aP(a),26),d=new uy((!i.e&&(i.e=new Db(Z5,i,7,4)),i.e));d.e!=d.i.gc();)u=F(aP(d),85),x=F(V_(Yx(te.f,i)),26),S=F(pC(te,U((!u.c&&(u.c=new Db(X5,u,5,8)),u.c),0)),26),b=(f=new ro,f),hD((!b.b&&(b.b=new Db(X5,b,4,7)),b.b),x),hD((!b.c&&(b.c=new Db(X5,b,5,8)),b.c),S),SL(b,aT(x)),EL(b,u);g=F(Rw(t.f),214);try{g.kf(ee,new to),ZEe(t.f,g)}catch(e){throw e=UA(e),N(e,101)?(h=e,O(h)):O(e)}return lD(ee,f6)||lD(ee,d6)||Nz(ee),l=k(P(Y(ee,f6))),c=k(P(Y(ee,d6))),s=l/c,n=k(P(Y(ee,Q6)))*r.Math.sqrt((!ee.a&&(ee.a=new I(s7,ee,10,11)),ee.a).i),ne=F(Y(ee,M6),104),v=ne.b+ne.c+1,_=ne.d+ne.a+1,new j(r.Math.max(v,n),r.Math.max(_,n/s))},rk(rK,`TopdownSizeApproximator/2`,971,H5,null,null),J(972,288,pK,uke),Q.Sg=function(e){var t,n=k(P(Y(e,(Hz(),Q6)))),r,i,a,o;return t=n/k(P(Y(e,Z6))),r=Jit(e),a=F(Y(e,M6),104),i=k(P(iP(X6))),aT(e)&&(i=k(P(Y(aT(e),X6)))),o=ny(new j(n,t),r),wb(o,new j(-(a.b+a.c)-i,-(a.d+a.a)-i))},rk(rK,`TopdownSizeApproximator/3`,972,H5,null,null),J(973,288,pK,hTe),Q.Sg=function(e){for(var t,n,i,a,o,s=new uy((!e.a&&(e.a=new I(s7,e,10,11)),e.a)),c,l,u,d;s.e!=s.i.gc();)o=F(aP(s),26),Y(o,(Hz(),n8))!=null&&(!o.a&&(o.a=new I(s7,o,10,11)),o.a)&&(!o.a&&(o.a=new I(s7,o,10,11)),o.a).i>0?(n=F(Y(o,n8),522),d=n.Sg(o),u=F(Y(o,M6),104),Sv(o,r.Math.max(o.g,d.a+u.b+u.c),r.Math.max(o.f,d.b+u.d+u.a))):(!o.a&&(o.a=new I(s7,o,10,11)),o.a).i!=0&&Sv(o,k(P(Y(o,Q6))),k(P(Y(o,Q6)))/k(P(Y(o,Z6))));t=F(Y(e,(Hz(),K6)),144),l=F(Rw(t.f),214);try{l.kf(e,new to),ZEe(t.f,l)}catch(e){throw e=UA(e),N(e,101)?(c=e,O(c)):O(e)}return pP(e,l6,dK),WNe(e),Nz(e),a=k(P(Y(e,f6))),i=k(P(Y(e,d6))),new j(a,i)},rk(rK,`TopdownSizeApproximator/4`,973,H5,null,null);var Nzt;J(345,1,{853:1},ip),Q.Tg=function(e,t){return o0e(this,e,t)},Q.Ug=function(){W2e(this)},Q.Vg=function(){return this.q},Q.Wg=function(){return this.f?Sw(this.f):null},Q.Xg=function(){return Sw(this.a)},Q.Yg=function(){return this.p},Q.Zg=function(){return!1},Q.$g=function(){return this.n},Q._g=function(){return this.p!=null&&!this.b},Q.ah=function(e){var t;this.n&&(t=e,ry(this.f,t))},Q.bh=function(e,t){var n,r;this.n&&e&&wje(this,(n=new QTe,r=gR(n,e),Yct(n),r),(Aj(),W5))},Q.dh=function(e){var t;return this.b?null:(t=eze(this,this.g),fx(this.a,t),t.i=this,this.d=e,t)},Q.eh=function(e){e>0&&!this.b&&kBe(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(JW,`BasicProgressMonitor`,345),J(706,214,_H,Qa),Q.kf=function(e,t){Wit(e,t)},R(JW,`BoxLayoutProvider`,706),J(966,1,ZV,Poe),Q.Le=function(e,t){return n9e(this,F(e,26),F(t,26))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},Q.a=!1,R(JW,`BoxLayoutProvider/1`,966),J(167,1,{167:1},jO,k_e),Q.Ib=function(){return this.c?gnt(this.c):rI(this.b)},R(JW,`BoxLayoutProvider/Group`,167),J(327,24,{3:1,35:1,24:1,327:1},j_);var Pzt,Fzt,Izt,U5,Lzt=rk(JW,`BoxLayoutProvider/PackingMode`,327,wJ,mNe,lSe),Rzt;J(967,1,ZV,Xne),Q.Le=function(e,t){return oOe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(JW,`BoxLayoutProvider/lambda$0$Type`,967),J(968,1,ZV,Zne),Q.Le=function(e,t){return VDe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(JW,`BoxLayoutProvider/lambda$1$Type`,968),J(969,1,ZV,Qne),Q.Le=function(e,t){return HDe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(JW,`BoxLayoutProvider/lambda$2$Type`,969),J(1339,1,{830:1},no),Q.Lg=function(e,t){return Mh(),!N(t,174)||Ble((ZA(),F(e,174)),t)},R(JW,`ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type`,1339),J(1340,1,xB,Foe),Q.Ad=function(e){VWe(this.a,F(e,147))},R(JW,`ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type`,1340),J(1341,1,xB,$ne),Q.Ad=function(e){F(e,105),Mh()},R(JW,`ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type`,1341),J(1345,1,xB,Ioe),Q.Ad=function(e){rVe(this.a,F(e,105))},R(JW,`ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type`,1345),J(1343,1,RB,Zfe),Q.Mb=function(e){return YUe(this.a,this.b,F(e,147))},R(JW,`ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type`,1343),J(1342,1,RB,Qfe),Q.Mb=function(e){return x_e(this.a,this.b,F(e,830))},R(JW,`ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type`,1342),J(1344,1,xB,$fe),Q.Ad=function(e){aTe(this.a,this.b,F(e,147))},R(JW,`ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type`,1344),J(931,1,{},Jne),Q.Kb=function(e){return Tme(e)},Q.Fb=function(e){return this===e},R(JW,`ElkUtil/lambda$0$Type`,931),J(932,1,xB,epe),Q.Ad=function(e){D6e(this.a,this.b,F(e,85))},Q.a=0,Q.b=0,R(JW,`ElkUtil/lambda$1$Type`,932),J(933,1,xB,tpe),Q.Ad=function(e){ace(this.a,this.b,F(e,170))},Q.a=0,Q.b=0,R(JW,`ElkUtil/lambda$2$Type`,933),J(934,1,xB,npe),Q.Ad=function(e){Kme(this.a,this.b,F(e,157))},Q.a=0,Q.b=0,R(JW,`ElkUtil/lambda$3$Type`,934),J(935,1,xB,Loe),Q.Ad=function(e){jCe(this.a,F(e,372))},R(JW,`ElkUtil/lambda$4$Type`,935),J(331,1,{35:1,331:1},Dd),Q.Dd=function(e){return Jhe(this,F(e,242))},Q.Fb=function(e){var t;return N(e,331)?(t=F(e,331),this.a==t.a):!1},Q.Hb=function(){return Gw(this.a)},Q.Ib=function(){return this.a+` (exclusive)`},Q.a=0,R(JW,`ExclusiveBounds/ExclusiveLowerBound`,331),J(1089,214,_H,$a),Q.kf=function(e,t){var n,i,a,o,s,c,l,u,d,p,m,h,g,_,v,y,b,x,S,ee,te,ne,C;for(t.Tg(`Fixed Layout`,1),o=F(Y(e,(Hz(),RLt)),222),p=0,m=0,b=new uy((!e.a&&(e.a=new I(s7,e,10,11)),e.a));b.e!=b.i.gc();){for(v=F(aP(b),26),C=F(Y(v,(Tj(),b8)),8),C&&(Cv(v,C.a,C.b),F(Y(v,QRt),182).Gc((EN(),T5))&&(h=F(Y(v,ezt),8),h.a>0&&h.b>0&&Oz(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 uy((!v.n&&(v.n=new I(o7,v,1,7)),v.n));u.e!=u.i.gc();)c=F(aP(u),157),C=F(Y(c,b8),8),C&&Cv(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 uy((!v.c&&(v.c=new I(c7,v,9,9)),v.c));ee.e!=ee.i.gc();)for(S=F(aP(ee),125),C=F(Y(S,b8),8),C&&Cv(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 uy((!S.n&&(S.n=new I(o7,S,1,7)),S.n));l.e!=l.i.gc();)c=F(aP(l),157),C=F(Y(c,b8),8),C&&Cv(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 uS(py(gL(v).a.Jc(),new f));rL(a);)n=F(zE(a),85),d=tut(n),p=r.Math.max(p,d.a),m=r.Math.max(m,d.b);for(i=new uS(py(hL(v).a.Jc(),new f));rL(i);)n=F(zE(i),85),aT(nI(n))!=e&&(d=tut(n),p=r.Math.max(p,d.a),m=r.Math.max(m,d.b))}if(o==(yM(),m8))for(y=new uy((!e.a&&(e.a=new I(s7,e,10,11)),e.a));y.e!=y.i.gc();)for(v=F(aP(y),26),i=new uS(py(gL(v).a.Jc(),new f));rL(i);)n=F(zE(i),85),s=git(n),s.b==0?pP(n,C6,null):pP(n,C6,s);Gp(nb(Y(e,(Tj(),$Rt))))||(x=F(Y(e,tzt),104),_=p+x.b+x.c,g=m+x.d+x.a,Oz(e,_,g,!0,!0)),t.Ug()},R(JW,`FixedLayoutProvider`,1089),J(379,150,{3:1,414:1,379:1,105:1,150:1},eo,uRe),Q.ag=function(e){var t,n,r,i,a,o,s,c,l;if(e)try{for(c=kR(e,`;,;`),a=c,o=0,s=a.length;o>16&JB|t^r<<16},Q.Jc=function(){return new Roe(this)},Q.Ib=function(){return this.a==null&&this.b==null?`pair(null,null)`:this.a==null?`pair(null,`+XM(this.b)+`)`:this.b==null?`pair(`+XM(this.a)+`,null)`:`pair(`+XM(this.a)+`,`+XM(this.b)+`)`},R(JW,`Pair`,49),J(980,1,uB,Roe),Q.Nb=function(e){PS(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 Qd)},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 Yd)},Q.b=!1,Q.c=!1,R(JW,`Pair/1`,980),J(1079,214,_H,ere),Q.kf=function(e,t){var n,r,i,a,o;t.Tg(`Random Layout`,1),(!e.a&&(e.a=new I(s7,e,10,11)),e.a).i==0||(a=F(Y(e,(cJe(),yzt)),15),i=a&&a.a!=0?new wE(a.a):new KM,n=Kp(P(Y(e,gzt))),o=Kp(P(Y(e,bzt))),r=F(Y(e,_zt),104),Clt(e,i,n,o,r)),t.Ug()},R(JW,`RandomLayoutProvider`,1079),J(240,1,{240:1},Xb),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 Lj(W(A(hJ,1),iB,1,5,[this.a,this.b,this.c]))},Q.Ib=function(){return`(`+this.a+rB+this.b+rB+this.c+`)`},R(JW,`Triple`,240);var Gzt;J(551,1,{}),Q.Jf=function(){return new j(this.f.i,this.f.j)},Q.mf=function(e){return MOe(e,(Hz(),L6))?Y(this.f,Kzt):Y(this.f,e)},Q.Kf=function(){return new j(this.f.g,this.f.f)},Q.Lf=function(){return this.g},Q.nf=function(e){return lD(this.f,e)},Q.Mf=function(e){qO(this.f,e.a),JO(this.f,e.b)},Q.Nf=function(e){KO(this.f,e.a),VO(this.f,e.b)},Q.Of=function(e){this.g=e},Q.g=0;var Kzt;R(mK,`ElkGraphAdapters/AbstractElkGraphElementAdapter`,551),J(553,1,{838:1},ad),Q.Pf=function(){var e,t;if(!this.b)for(this.b=XT(HC(this.a).i),t=new uy(HC(this.a));t.e!=t.i.gc();)e=F(aP(t),157),ry(this.b,new zp(e));return this.b},Q.b=null,R(mK,`ElkGraphAdapters/ElkEdgeAdapter`,553),J(260,551,{},Bp),Q.Qf=function(){return TZe(this)},Q.a=null,R(mK,`ElkGraphAdapters/ElkGraphAdapter`,260),J(631,551,{187:1},zp),R(mK,`ElkGraphAdapters/ElkLabelAdapter`,631),J(552,551,{685:1},Ay),Q.Pf=function(){return CZe(this)},Q.Tf=function(){var e=F(Y(this.f,(Hz(),w6)),140);return!e&&(e=new Ff),e},Q.Vf=function(){return wZe(this)},Q.Xf=function(e){var t=new Ub(e);pP(this.f,(Hz(),w6),t)},Q.Yf=function(e){pP(this.f,(Hz(),M6),new _be(e))},Q.Rf=function(){return this.d},Q.Sf=function(){var e,t;if(!this.a)for(this.a=new Od,t=new uS(py(hL(F(this.f,26)).a.Jc(),new f));rL(t);)e=F(zE(t),85),ry(this.a,new ad(e));return this.a},Q.Uf=function(){var e,t;if(!this.c)for(this.c=new Od,t=new uS(py(gL(F(this.f,26)).a.Jc(),new f));rL(t);)e=F(zE(t),85),ry(this.c,new ad(e));return this.c},Q.Wf=function(){return yw(F(this.f,26)).i!=0||Gp(nb(F(this.f,26).mf((Hz(),y6))))},Q.Zf=function(){aRe(this,(Vh(),Gzt))},Q.a=null,Q.b=null,Q.c=null,Q.d=null,Q.e=null,R(mK,`ElkGraphAdapters/ElkNodeAdapter`,552),J(1251,551,{837:1},pd),Q.Pf=function(){return IZe(this)},Q.Sf=function(){var e,t;if(!this.a)for(this.a=Ly(F(this.f,125).gh().i),t=new uy(F(this.f,125).gh());t.e!=t.i.gc();)e=F(aP(t),85),ry(this.a,new ad(e));return this.a},Q.Uf=function(){var e,t;if(!this.c)for(this.c=Ly(F(this.f,125).hh().i),t=new uy(F(this.f,125).hh());t.e!=t.i.gc();)e=F(aP(t),85),ry(this.c,new ad(e));return this.c},Q.$f=function(){return F(F(this.f,125).mf((Hz(),H6)),64)},Q._f=function(){var e,t,n,r=eT(F(this.f,125)),i,a,o,s;for(n=new uy(F(this.f,125).hh());n.e!=n.i.gc();)for(e=F(aP(n),85),s=new uy((!e.c&&(e.c=new Db(X5,e,5,8)),e.c));s.e!=s.i.gc();)if(o=F(aP(s),84),EO(VF(o),r)||VF(o)==r&&Gp(nb(Y(e,(Hz(),b6)))))return!0;for(t=new uy(F(this.f,125).gh());t.e!=t.i.gc();)for(e=F(aP(t),85),a=new uy((!e.b&&(e.b=new Db(X5,e,4,7)),e.b));a.e!=a.i.gc();)if(i=F(aP(a),84),EO(VF(i),r))return!0;return!1},Q.a=null,Q.b=null,Q.c=null,R(mK,`ElkGraphAdapters/ElkPortAdapter`,1251),J(1252,1,ZV,tre),Q.Le=function(e,t){return hnt(F(e,125),F(t,125))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(mK,`ElkGraphAdapters/PortComparator`,1252);var G5=Ox(hK,`EObject`),K5=Ox(gK,A_t),q5=Ox(gK,j_t),J5=Ox(gK,M_t),Y5=Ox(gK,`ElkShape`),X5=Ox(gK,N_t),Z5=Ox(gK,P_t),Q5=Ox(gK,F_t),$5=Ox(hK,I_t),e7=Ox(hK,`EFactory`),qzt,t7=Ox(hK,L_t),n7=Ox(hK,`EPackage`),r7,Jzt,Yzt,Xzt,i7,Zzt,Qzt,$zt,eBt,a7,tBt,nBt,o7=Ox(gK,R_t),s7=Ox(gK,z_t),c7=Ox(gK,B_t);J(93,1,V_t),Q.qh=function(){return this.rh(),null},Q.rh=function(){return null},Q.sh=function(){return this.rh(),!1},Q.th=function(){return!1},Q.uh=function(e){dA(this,e)},R(_K,`BasicNotifierImpl`,93),J(100,93,G_t),Q.Vh=function(){return _v(this)},Q.vh=function(e,t){return e},Q.wh=function(){throw O(new Zd)},Q.xh=function(e){var t=kP(F(yO(this.Ah(),this.Ch()),19));return this.Mh().Qh(this,t.n,t.f,e)},Q.yh=function(e,t){throw O(new Zd)},Q.zh=function(e,t,n){return bR(this,e,t,n)},Q.Ah=function(){var e;return this.wh()&&(e=this.wh().Lk(),e)?e:this.fi()},Q.Bh=function(){return tL(this)},Q.Ch=function(){throw O(new Zd)},Q.Dh=function(){var e,t=this.Xh().Mk();return!t&&this.wh().Rk(t=(Wh(),e=oke(MR(this.Ah())),e==null?JBt:new jy(this,e))),t},Q.Eh=function(e,t){return e},Q.Fh=function(e){return e.nk()?e.Jj():uN(this.Ah(),e)},Q.Gh=function(){var e=this.wh();return e?e.Ok():null},Q.Hh=function(){return this.wh()?this.wh().Lk():null},Q.Ih=function(e,t,n){return gP(this,e,t,n)},Q.Jh=function(e){return wD(this,e)},Q.Kh=function(e,t){return dFe(this,e,t)},Q.Lh=function(){var e=this.wh();return!!e&&e.Pk()},Q.Mh=function(){throw O(new Zd)},Q.Nh=function(){return UN(this)},Q.Oh=function(e,t,n,r){return fP(this,e,t,r)},Q.Ph=function(e,t,n){return F(yO(this.Ah(),t),69).uk().xk(this,this.ei(),t-this.gi(),e,n)},Q.Qh=function(e,t,n,r){return Lw(this,e,t,r)},Q.Rh=function(e,t,n){return F(yO(this.Ah(),t),69).uk().yk(this,this.ei(),t-this.gi(),e,n)},Q.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},Q.Th=function(e){return rP(this,e)},Q.Uh=function(e){return Nke(this,e)},Q.Wh=function(e){return Ict(this,e)},Q.Xh=function(){throw O(new Zd)},Q.Yh=function(){return this.wh()?this.wh().Nk():null},Q.Zh=function(){return UN(this)},Q.$h=function(e,t){jI(this,e,t)},Q._h=function(e){this.Xh().Qk(e)},Q.ai=function(e){this.Xh().Tk(e)},Q.bi=function(e){this.Xh().Sk(e)},Q.ci=function(e,t){var n,r,i,a=this.Gh();return a&&e&&(t=hP(a.Cl(),this,t),a.Gl(this)),r=this.Mh(),r&&((cR(this,this.Mh(),this.Ch()).Bb&jV)==0?(t=(n=this.Ch(),n>=0?this.xh(t):this.Mh().Qh(this,-1-n,null,t)),t=this.zh(null,-1,t)):(i=r.Nh(),i&&(e?!a&&i.Gl(this):i.Fl(this)))),this.ai(e),t},Q.di=function(e){var t,n=this.Ah(),r,i,a=uN(n,e),o,s,c;if(t=this.gi(),a>=t)return F(e,69).uk().Bk(this,this.ei(),a-t);if(a<=-1){if(o=mz((xI(),p9),n,e),o){if(qh(),F(o,69).vk()||(o=MT(GD(p9,o))),i=(r=this.Fh(o),F(r>=0?this.Ih(r,!0,!0):qI(this,o,!0),163)),c=o.Gk(),c>1||c==-1)return F(F(i,219).Ql(e,!1),78)}else throw O(new Hp(vK+e.ve()+bK))}else if(e.Hk())return r=this.Fh(e),F(r>=0?this.Ih(r,!1,!0):qI(this,e,!1),78);return s=new xpe(this,e),s},Q.ei=function(){return rRe(this)},Q.fi=function(){return(eC(),K7).S},Q.gi=function(){return tC(this.fi())},Q.hi=function(e){_I(this,e)},Q.Ib=function(){return cL(this)},R(SK,`BasicEObjectImpl`,100);var rBt;J(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),Q.ii=function(e){return iRe(this)[e]},Q.ji=function(e,t){fC(iRe(this),e,t)},Q.ki=function(e){fC(iRe(this),e,null)},Q.qh=function(){return F(yA(this,4),129)},Q.rh=function(){throw O(new Zd)},Q.sh=function(){return!!(this.Db&4)},Q.wh=function(){throw O(new Zd)},Q.li=function(e){zN(this,2,e)},Q.yh=function(e,t){this.Db=t<<16|this.Db&255,this.li(e)},Q.Ah=function(){return Fw(this)},Q.Ch=function(){return this.Db>>16},Q.Dh=function(){var e,t;return Wh(),t=oke(MR((e=F(yA(this,16),29),e||this.fi()))),t==null?JBt:new jy(this,t)},Q.th=function(){return!(this.Db&1)},Q.Gh=function(){return F(yA(this,128),1999)},Q.Hh=function(){return F(yA(this,16),29)},Q.Lh=function(){return!!(this.Db&32)},Q.Mh=function(){return F(yA(this,2),52)},Q.Sh=function(){return!!(this.Db&64)},Q.Xh=function(){throw O(new Zd)},Q.Yh=function(){return F(yA(this,64),290)},Q._h=function(e){zN(this,16,e)},Q.ai=function(e){zN(this,128,e)},Q.bi=function(e){zN(this,64,e)},Q.ei=function(){return RN(this)},Q.Db=0,R(SK,`MinimalEObjectImpl`,117),J(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.li=function(e){this.Cb=e},Q.Mh=function(){return this.Cb},R(SK,`MinimalEObjectImpl/Container`,118),J(CK,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return RZe(this,e,t,n)},Q.Rh=function(e,t,n){return f2e(this,e,t,n)},Q.Th=function(e){return Aje(this,e)},Q.$h=function(e,t){ZUe(this,e,t)},Q.fi=function(){return Pz(),nBt},Q.hi=function(e){sUe(this,e)},Q.lf=function(){return FYe(this)},Q.fh=function(){return!this.o&&(this.o=new yD((Pz(),a7),u7,this,0)),this.o},Q.mf=function(e){return Y(this,e)},Q.nf=function(e){return lD(this,e)},Q.of=function(e,t){return pP(this,e,t)},R(wK,`EMapPropertyHolderImpl`,CK),J(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},io),Q.Ih=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return gP(this,e,t,n)},Q.Th=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return rP(this,e)},Q.$h=function(e,t){switch(e){case 0:HO(this,k(P(t)));return;case 1:UO(this,k(P(t)));return}jI(this,e,t)},Q.fi=function(){return Pz(),Jzt},Q.hi=function(e){switch(e){case 0:HO(this,0);return;case 1:UO(this,0);return}_I(this,e)},Q.Ib=function(){var e;return this.Db&64?cL(this):(e=new gy(cL(this)),e.a+=` (x: `,zm(e,this.a),e.a+=`, y: `,zm(e,this.b),e.a+=`)`,e.a)},Q.a=0,Q.b=0,R(wK,`ElkBendPointImpl`,559),J(727,CK,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return ZGe(this,e,t,n)},Q.Ph=function(e,t,n){return WF(this,e,t,n)},Q.Rh=function(e,t,n){return zA(this,e,t,n)},Q.Th=function(e){return vHe(this,e)},Q.$h=function(e,t){F$e(this,e,t)},Q.fi=function(){return Pz(),Zzt},Q.hi=function(e){kGe(this,e)},Q.ih=function(){return this.k},Q.jh=function(){return HC(this)},Q.Ib=function(){return PM(this)},Q.k=null,R(wK,`ElkGraphElementImpl`,727),J(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return rqe(this,e,t,n)},Q.Th=function(e){return Cqe(this,e)},Q.$h=function(e,t){I$e(this,e,t)},Q.fi=function(){return Pz(),tBt},Q.hi=function(e){Uqe(this,e)},Q.kh=function(){return this.f},Q.lh=function(){return this.g},Q.mh=function(){return this.i},Q.nh=function(){return this.j},Q.oh=function(e,t){Sv(this,e,t)},Q.ph=function(e,t){Cv(this,e,t)},Q.Ib=function(){return lI(this)},Q.f=0,Q.g=0,Q.i=0,Q.j=0,R(wK,`ElkShapeImpl`,728),J(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),Q.Ih=function(e,t,n){return MXe(this,e,t,n)},Q.Ph=function(e,t,n){return p$e(this,e,t,n)},Q.Rh=function(e,t,n){return m$e(this,e,t,n)},Q.Th=function(e){return GUe(this,e)},Q.$h=function(e,t){W8e(this,e,t)},Q.fi=function(){return Pz(),Yzt},Q.hi=function(e){XYe(this,e)},Q.gh=function(){return!this.d&&(this.d=new Db(Z5,this,8,5)),this.d},Q.hh=function(){return!this.e&&(this.e=new Db(Z5,this,7,4)),this.e},R(wK,`ElkConnectableShapeImpl`,729),J(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},ro),Q.xh=function(e){return SQe(this,e)},Q.Ih=function(e,t,n){switch(e){case 3:return $w(this);case 4:return!this.b&&(this.b=new Db(X5,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Db(X5,this,5,8)),this.c;case 6:return!this.a&&(this.a=new I(Q5,this,6,6)),this.a;case 7:return by(),!this.b&&(this.b=new Db(X5,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Db(X5,this,5,8)),this.c.i<=1));case 8:return by(),!!$I(this);case 9:return by(),!!UI(this);case 10:return by(),!this.b&&(this.b=new Db(X5,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Db(X5,this,5,8)),this.c.i!=0)}return ZGe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 3:return this.Cb&&(n=(r=this.Db>>16,r>=0?SQe(this,n):this.Cb.Qh(this,-1-r,null,n))),bve(this,F(e,26),n);case 4:return!this.b&&(this.b=new Db(X5,this,4,7)),_N(this.b,e,n);case 5:return!this.c&&(this.c=new Db(X5,this,5,8)),_N(this.c,e,n);case 6:return!this.a&&(this.a=new I(Q5,this,6,6)),_N(this.a,e,n)}return WF(this,e,t,n)},Q.Rh=function(e,t,n){switch(t){case 3:return bve(this,null,n);case 4:return!this.b&&(this.b=new Db(X5,this,4,7)),hP(this.b,e,n);case 5:return!this.c&&(this.c=new Db(X5,this,5,8)),hP(this.c,e,n);case 6:return!this.a&&(this.a=new I(Q5,this,6,6)),hP(this.a,e,n)}return zA(this,e,t,n)},Q.Th=function(e){switch(e){case 3:return!!$w(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 Db(X5,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Db(X5,this,5,8)),this.c.i<=1));case 8:return $I(this);case 9:return UI(this);case 10:return!this.b&&(this.b=new Db(X5,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Db(X5,this,5,8)),this.c.i!=0)}return vHe(this,e)},Q.$h=function(e,t){switch(e){case 3:SL(this,F(t,26));return;case 4:!this.b&&(this.b=new Db(X5,this,4,7)),uz(this.b),!this.b&&(this.b=new Db(X5,this,4,7)),nC(this.b,F(t,18));return;case 5:!this.c&&(this.c=new Db(X5,this,5,8)),uz(this.c),!this.c&&(this.c=new Db(X5,this,5,8)),nC(this.c,F(t,18));return;case 6:!this.a&&(this.a=new I(Q5,this,6,6)),uz(this.a),!this.a&&(this.a=new I(Q5,this,6,6)),nC(this.a,F(t,18));return}F$e(this,e,t)},Q.fi=function(){return Pz(),Xzt},Q.hi=function(e){switch(e){case 3:SL(this,null);return;case 4:!this.b&&(this.b=new Db(X5,this,4,7)),uz(this.b);return;case 5:!this.c&&(this.c=new Db(X5,this,5,8)),uz(this.c);return;case 6:!this.a&&(this.a=new I(Q5,this,6,6)),uz(this.a);return}kGe(this,e)},Q.Ib=function(){return eot(this)},R(wK,`ElkEdgeImpl`,271),J(443,CK,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},ao),Q.xh=function(e){return gQe(this,e)},Q.Ih=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 oy(q5,this,5)),this.a;case 6:return Mke(this);case 7:return t?OP(this):this.i;case 8:return t?DP(this):this.f;case 9:return!this.g&&(this.g=new Db(Q5,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Db(Q5,this,10,9)),this.e;case 11:return this.d}return RZe(this,e,t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?gQe(this,n):this.Cb.Qh(this,-1-i,null,n))),xve(this,F(e,85),n);case 9:return!this.g&&(this.g=new Db(Q5,this,9,10)),_N(this.g,e,n);case 10:return!this.e&&(this.e=new Db(Q5,this,10,9)),_N(this.e,e,n)}return a=F(yO((r=F(yA(this,16),29),r||(Pz(),i7)),t),69),a.uk().xk(this,RN(this),t-tC((Pz(),i7)),e,n)},Q.Rh=function(e,t,n){switch(t){case 5:return!this.a&&(this.a=new oy(q5,this,5)),hP(this.a,e,n);case 6:return xve(this,null,n);case 9:return!this.g&&(this.g=new Db(Q5,this,9,10)),hP(this.g,e,n);case 10:return!this.e&&(this.e=new Db(Q5,this,10,9)),hP(this.e,e,n)}return f2e(this,e,t,n)},Q.Th=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!!Mke(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 Aje(this,e)},Q.$h=function(e,t){switch(e){case 1:YO(this,k(P(t)));return;case 2:XO(this,k(P(t)));return;case 3:WO(this,k(P(t)));return;case 4:GO(this,k(P(t)));return;case 5:!this.a&&(this.a=new oy(q5,this,5)),uz(this.a),!this.a&&(this.a=new oy(q5,this,5)),nC(this.a,F(t,18));return;case 6:L7e(this,F(t,85));return;case 7:Ck(this,F(t,84));return;case 8:Sk(this,F(t,84));return;case 9:!this.g&&(this.g=new Db(Q5,this,9,10)),uz(this.g),!this.g&&(this.g=new Db(Q5,this,9,10)),nC(this.g,F(t,18));return;case 10:!this.e&&(this.e=new Db(Q5,this,10,9)),uz(this.e),!this.e&&(this.e=new Db(Q5,this,10,9)),nC(this.e,F(t,18));return;case 11:VBe(this,rb(t));return}ZUe(this,e,t)},Q.fi=function(){return Pz(),i7},Q.hi=function(e){switch(e){case 1:YO(this,0);return;case 2:XO(this,0);return;case 3:WO(this,0);return;case 4:GO(this,0);return;case 5:!this.a&&(this.a=new oy(q5,this,5)),uz(this.a);return;case 6:L7e(this,null);return;case 7:Ck(this,null);return;case 8:Sk(this,null);return;case 9:!this.g&&(this.g=new Db(Q5,this,9,10)),uz(this.g);return;case 10:!this.e&&(this.e=new Db(Q5,this,10,9)),uz(this.e);return;case 11:VBe(this,null);return}sUe(this,e)},Q.Ib=function(){return i8e(this)},Q.b=0,Q.c=0,Q.d=null,Q.j=0,Q.k=0,R(wK,`ElkEdgeSectionImpl`,443),J(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),Q.Ih=function(e,t,n){var r;return e==0?(!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab):OD(this,e-tC(this.fi()),yO((r=F(yA(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n)):(i=F(yO((r=F(yA(this,16),29),r||this.fi()),t),69),i.uk().xk(this,RN(this),t-tC(this.fi()),e,n))},Q.Rh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n)):(i=F(yO((r=F(yA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,RN(this),t-tC(this.fi()),e,n))},Q.Th=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:uE(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.Wh=function(e){return Ylt(this,e)},Q.$h=function(e,t){var n;e===0?(!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18))):YM(this,e-tC(this.fi()),yO((n=F(yA(this,16),29),n||this.fi()),e),t)},Q.ai=function(e){zN(this,128,e)},Q.fi=function(){return Kz(),LBt},Q.hi=function(e){var t;e===0?(!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab)):sM(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.mi=function(){this.Bb|=1},Q.ni=function(e){return xR(this,e)},Q.Bb=0,R(SK,`EModelElementImpl`,161),J(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},yc),Q.oi=function(e,t){return vct(this,e,t)},Q.pi=function(e){var t,n,r,i,a;if(this.a!=LO(e)||e.Bb&256)throw O(new Hp(AK+e.zb+DK));for(r=Pw(e);bE(r.a).i!=0;){if(n=F(gz(r,0,(t=F(U(bE(r.a),0),87),a=t.c,N(a,88)?F(a,29):(Kz(),t9))),29),YP(n))return i=LO(n).ti().pi(n),F(i,52)._h(e),i;r=Pw(n)}return(e.D==null?e.B:e.D)==`java.util.Map$Entry`?new PCe(e):new tCe(e)},Q.qi=function(e,t){return Fz(this,e,t)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.a}return OD(this,e-tC((Kz(),Q7)),yO((r=F(yA(this,16),29),r||Q7),e),t,n)},Q.Ph=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 1:return this.a&&(n=F(this.a,52).Qh(this,4,n7,n)),hGe(this,F(e,241),n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),Q7)),t),69),i.uk().xk(this,RN(this),t-tC((Kz(),Q7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 1:return hGe(this,null,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),Q7)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),Q7)),e,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return uE(this,e-tC((Kz(),Q7)),yO((t=F(yA(this,16),29),t||Q7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:Z0e(this,F(t,241));return}YM(this,e-tC((Kz(),Q7)),yO((n=F(yA(this,16),29),n||Q7),e),t)},Q.fi=function(){return Kz(),Q7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:Z0e(this,null);return}sM(this,e-tC((Kz(),Q7)),yO((t=F(yA(this,16),29),t||Q7),e))};var l7,iBt,aBt;R(SK,`EFactoryImpl`,710),J(1019,710,{109:1,2078:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},oo),Q.oi=function(e,t){switch(e.fk()){case 12:return F(t,147).Og();case 13:return XM(t);default:throw O(new Hp(EK+e.ve()+DK))}},Q.pi=function(e){var t,n,r,i,a,o,s,c;switch(e.G==-1&&(e.G=(t=LO(e),t?SP(t.si(),e):-1)),e.G){case 4:return a=new so,a;case 6:return o=new Vf,o;case 7:return s=new Hf,s;case 8:return r=new ro,r;case 9:return n=new io,n;case 10:return i=new ao,i;case 11:return c=new co,c;default:throw O(new Hp(AK+e.zb+DK))}},Q.qi=function(e,t){switch(e.fk()){case 13:case 12:return null;default:throw O(new Hp(EK+e.ve()+DK))}},R(wK,`ElkGraphFactoryImpl`,1019),J(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),Q.Dh=function(){var e,t=(e=F(yA(this,16),29),oke(MR(e||this.fi())));return t==null?(Wh(),Wh(),JBt):new M_e(this,t)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.ve()}return OD(this,e-tC(this.fi()),yO((r=F(yA(this,16),29),r||this.fi()),e),t,n)},Q.Th=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return uE(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:this.ri(rb(t));return}YM(this,e-tC(this.fi()),yO((n=F(yA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Kz(),RBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:this.ri(null);return}sM(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.ve=function(){return this.zb},Q.ri=function(e){zk(this,e)},Q.Ib=function(){return tM(this)},Q.zb=null,R(SK,`ENamedElementImpl`,439),J(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},dOe),Q.xh=function(e){return bQe(this,e)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(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 SS(this,P7,this)),this.rb;case 6:return!this.vb&&(this.vb=new Eb(n7,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?F(this.Cb,241):null:Gke(this)}return OD(this,e-tC((Kz(),r9)),yO((r=F(yA(this,16),29),r||r9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 4:return this.sb&&(n=F(this.sb,52).Qh(this,1,e7,n)),VGe(this,F(e,469),n);case 5:return!this.rb&&(this.rb=new SS(this,P7,this)),_N(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Eb(n7,this,6,7)),_N(this.vb,e,n);case 7:return this.Cb&&(n=(i=this.Db>>16,i>=0?bQe(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,7,n)}return a=F(yO((r=F(yA(this,16),29),r||(Kz(),r9)),t),69),a.uk().xk(this,RN(this),t-tC((Kz(),r9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 4:return VGe(this,null,n);case 5:return!this.rb&&(this.rb=new SS(this,P7,this)),hP(this.rb,e,n);case 6:return!this.vb&&(this.vb=new Eb(n7,this,6,7)),hP(this.vb,e,n);case 7:return bR(this,null,7,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),r9)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),r9)),e,n)},Q.Th=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!!Gke(this)}return uE(this,e-tC((Kz(),r9)),yO((t=F(yA(this,16),29),t||r9),e))},Q.Wh=function(e){return v9e(this,e)||Ylt(this,e)},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:zk(this,rb(t));return;case 2:Uk(this,rb(t));return;case 3:Hk(this,rb(t));return;case 4:oI(this,F(t,469));return;case 5:!this.rb&&(this.rb=new SS(this,P7,this)),uz(this.rb),!this.rb&&(this.rb=new SS(this,P7,this)),nC(this.rb,F(t,18));return;case 6:!this.vb&&(this.vb=new Eb(n7,this,6,7)),uz(this.vb),!this.vb&&(this.vb=new Eb(n7,this,6,7)),nC(this.vb,F(t,18));return}YM(this,e-tC((Kz(),r9)),yO((n=F(yA(this,16),29),n||r9),e),t)},Q.bi=function(e){var t,n;if(e&&this.rb)for(n=new uy(this.rb);n.e!=n.i.gc();)t=aP(n),N(t,360)&&(F(t,360).w=null);zN(this,64,e)},Q.fi=function(){return Kz(),r9},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:zk(this,null);return;case 2:Uk(this,null);return;case 3:Hk(this,null);return;case 4:oI(this,null);return;case 5:!this.rb&&(this.rb=new SS(this,P7,this)),uz(this.rb);return;case 6:!this.vb&&(this.vb=new Eb(n7,this,6,7)),uz(this.vb);return}sM(this,e-tC((Kz(),r9)),yO((t=F(yA(this,16),29),t||r9),e))},Q.mi=function(){tF(this)},Q.si=function(){return!this.rb&&(this.rb=new SS(this,P7,this)),this.rb},Q.ti=function(){return this.sb},Q.ui=function(){return this.ub},Q.vi=function(){return this.xb},Q.wi=function(){return this.yb},Q.xi=function(e){this.ub=e},Q.Ib=function(){var e;return this.Db&64?tM(this):(e=new gy(tM(this)),e.a+=` (nsURI: `,Y_(e,this.yb),e.a+=`, nsPrefix: `,Y_(e,this.xb),e.a+=`)`,e.a)},Q.xb=null,Q.yb=null;var oBt;R(SK,`EPackageImpl`,184),J(556,184,{109:1,2080:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},T8e),Q.q=!1,Q.r=!1;var sBt=!1;R(wK,`ElkGraphPackageImpl`,556),J(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},so),Q.xh=function(e){return _Qe(this,e)},Q.Ih=function(e,t,n){switch(e){case 7:return Kke(this);case 8:return this.a}return rqe(this,e,t,n)},Q.Ph=function(e,t,n){var r;return t===7?(this.Cb&&(n=(r=this.Db>>16,r>=0?_Qe(this,n):this.Cb.Qh(this,-1-r,null,n))),Ewe(this,F(e,174),n)):WF(this,e,t,n)},Q.Rh=function(e,t,n){return t==7?Ewe(this,null,n):zA(this,e,t,n)},Q.Th=function(e){switch(e){case 7:return!!Kke(this);case 8:return!kb(``,this.a)}return Cqe(this,e)},Q.$h=function(e,t){switch(e){case 7:g9e(this,F(t,174));return;case 8:NBe(this,rb(t));return}I$e(this,e,t)},Q.fi=function(){return Pz(),Qzt},Q.hi=function(e){switch(e){case 7:g9e(this,null);return;case 8:NBe(this,``);return}Uqe(this,e)},Q.Ib=function(){return c4e(this)},Q.a=``,R(wK,`ElkLabelImpl`,362),J(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Vf),Q.xh=function(e){return IQe(this,e)},Q.Ih=function(e,t,n){switch(e){case 9:return!this.c&&(this.c=new I(c7,this,9,9)),this.c;case 10:return!this.a&&(this.a=new I(s7,this,10,11)),this.a;case 11:return aT(this);case 12:return!this.b&&(this.b=new I(Z5,this,12,3)),this.b;case 13:return by(),!this.a&&(this.a=new I(s7,this,10,11)),this.a.i>0}return MXe(this,e,t,n)},Q.Ph=function(e,t,n){var r;switch(t){case 9:return!this.c&&(this.c=new I(c7,this,9,9)),_N(this.c,e,n);case 10:return!this.a&&(this.a=new I(s7,this,10,11)),_N(this.a,e,n);case 11:return this.Cb&&(n=(r=this.Db>>16,r>=0?IQe(this,n):this.Cb.Qh(this,-1-r,null,n))),rye(this,F(e,26),n);case 12:return!this.b&&(this.b=new I(Z5,this,12,3)),_N(this.b,e,n)}return p$e(this,e,t,n)},Q.Rh=function(e,t,n){switch(t){case 9:return!this.c&&(this.c=new I(c7,this,9,9)),hP(this.c,e,n);case 10:return!this.a&&(this.a=new I(s7,this,10,11)),hP(this.a,e,n);case 11:return rye(this,null,n);case 12:return!this.b&&(this.b=new I(Z5,this,12,3)),hP(this.b,e,n)}return m$e(this,e,t,n)},Q.Th=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!!aT(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new I(s7,this,10,11)),this.a.i>0}return GUe(this,e)},Q.$h=function(e,t){switch(e){case 9:!this.c&&(this.c=new I(c7,this,9,9)),uz(this.c),!this.c&&(this.c=new I(c7,this,9,9)),nC(this.c,F(t,18));return;case 10:!this.a&&(this.a=new I(s7,this,10,11)),uz(this.a),!this.a&&(this.a=new I(s7,this,10,11)),nC(this.a,F(t,18));return;case 11:TL(this,F(t,26));return;case 12:!this.b&&(this.b=new I(Z5,this,12,3)),uz(this.b),!this.b&&(this.b=new I(Z5,this,12,3)),nC(this.b,F(t,18));return}W8e(this,e,t)},Q.fi=function(){return Pz(),$zt},Q.hi=function(e){switch(e){case 9:!this.c&&(this.c=new I(c7,this,9,9)),uz(this.c);return;case 10:!this.a&&(this.a=new I(s7,this,10,11)),uz(this.a);return;case 11:TL(this,null);return;case 12:!this.b&&(this.b=new I(Z5,this,12,3)),uz(this.b);return}XYe(this,e)},Q.Ib=function(){return gnt(this)},R(wK,`ElkNodeImpl`,206),J(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Hf),Q.xh=function(e){return vQe(this,e)},Q.Ih=function(e,t,n){return e==9?eT(this):MXe(this,e,t,n)},Q.Ph=function(e,t,n){var r;return t===9?(this.Cb&&(n=(r=this.Db>>16,r>=0?vQe(this,n):this.Cb.Qh(this,-1-r,null,n))),Sve(this,F(e,26),n)):p$e(this,e,t,n)},Q.Rh=function(e,t,n){return t==9?Sve(this,null,n):m$e(this,e,t,n)},Q.Th=function(e){return e==9?!!eT(this):GUe(this,e)},Q.$h=function(e,t){e===9?R7e(this,F(t,26)):W8e(this,e,t)},Q.fi=function(){return Pz(),eBt},Q.hi=function(e){e===9?R7e(this,null):XYe(this,e)},Q.Ib=function(){return _nt(this)},R(wK,`ElkPortImpl`,193);var cBt=Ox(HK,`BasicEMap/Entry`);J(1092,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},co),Q.Fb=function(e){return this===e},Q.jd=function(){return this.b},Q.Hb=function(){return Ty(this)},Q.Ai=function(e){PBe(this,F(e,147))},Q.Ih=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return gP(this,e,t,n)},Q.Th=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return rP(this,e)},Q.$h=function(e,t){switch(e){case 0:PBe(this,F(t,147));return;case 1:ABe(this,t);return}jI(this,e,t)},Q.fi=function(){return Pz(),a7},Q.hi=function(e){switch(e){case 0:PBe(this,null);return;case 1:ABe(this,null);return}_I(this,e)},Q.yi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?Lk(e):0),this.a},Q.kd=function(){return this.c},Q.zi=function(e){this.a=e},Q.ld=function(e){var t=this.c;return ABe(this,e),t},Q.Ib=function(){var e;return this.Db&64?cL(this):(e=new dm,Q_(Q_(Q_(e,this.b?this.b.Og():aB),fU),hy(this.c)),e.a)},Q.a=-1,Q.c=null;var u7=R(wK,`ElkPropertyToValueMapEntryImpl`,1092);J(981,1,{},rre),R(WK,`JsonAdapter`,981),J(215,63,HB,em),R(WK,`JsonImportException`,215),J(851,1,{},l8e),R(WK,`JsonImporter`,851),J(885,1,{},rpe),Q.Bi=function(e){h$e(this.a,this.b,F(e,139))},R(WK,`JsonImporter/lambda$0$Type`,885),J(886,1,{},ipe),Q.Bi=function(e){m6e(this.a,this.b,F(e,139))},R(WK,`JsonImporter/lambda$1$Type`,886),J(894,1,{},zoe),Q.Bi=function(e){fDe(this.a,F(e,149))},R(WK,`JsonImporter/lambda$10$Type`,894),J(896,1,{},ape),Q.Bi=function(e){I3e(this.a,this.b,F(e,139))},R(WK,`JsonImporter/lambda$11$Type`,896),J(897,1,{},ope),Q.Bi=function(e){L3e(this.a,this.b,F(e,139))},R(WK,`JsonImporter/lambda$12$Type`,897),J(903,1,{},IDe),Q.Bi=function(e){K2e(this.a,this.b,this.c,this.d,F(e,139))},R(WK,`JsonImporter/lambda$13$Type`,903),J(902,1,{},LDe),Q.Bi=function(e){Yrt(this.a,this.b,this.c,this.d,F(e,149))},R(WK,`JsonImporter/lambda$14$Type`,902),J(898,1,{},spe),Q.Bi=function(e){iye(this.a,this.b,rb(e))},R(WK,`JsonImporter/lambda$15$Type`,898),J(899,1,{},cpe),Q.Bi=function(e){aye(this.a,this.b,rb(e))},R(WK,`JsonImporter/lambda$16$Type`,899),J(900,1,{},lpe),Q.Bi=function(e){ZZe(this.b,this.a,F(e,139))},R(WK,`JsonImporter/lambda$17$Type`,900),J(901,1,{},upe),Q.Bi=function(e){QZe(this.b,this.a,F(e,139))},R(WK,`JsonImporter/lambda$18$Type`,901),J(906,1,{},Boe),Q.Bi=function(e){m2e(this.a,F(e,149))},R(WK,`JsonImporter/lambda$19$Type`,906),J(887,1,{},Voe),Q.Bi=function(e){zQe(this.a,F(e,139))},R(WK,`JsonImporter/lambda$2$Type`,887),J(904,1,{},od),Q.Bi=function(e){YO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$20$Type`,904),J(905,1,{},Hoe),Q.Bi=function(e){XO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$21$Type`,905),J(909,1,{},Uoe),Q.Bi=function(e){p2e(this.a,F(e,149))},R(WK,`JsonImporter/lambda$22$Type`,909),J(907,1,{},Woe),Q.Bi=function(e){WO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$23$Type`,907),J(908,1,{},Goe),Q.Bi=function(e){GO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$24$Type`,908),J(911,1,{},sd),Q.Bi=function(e){p1e(this.a,F(e,139))},R(WK,`JsonImporter/lambda$25$Type`,911),J(910,1,{},Koe),Q.Bi=function(e){pDe(this.a,F(e,149))},R(WK,`JsonImporter/lambda$26$Type`,910),J(912,1,xB,dpe),Q.Ad=function(e){$Ie(this.b,this.a,rb(e))},R(WK,`JsonImporter/lambda$27$Type`,912),J(913,1,xB,fpe),Q.Ad=function(e){eLe(this.b,this.a,rb(e))},R(WK,`JsonImporter/lambda$28$Type`,913),J(914,1,{},ppe),Q.Bi=function(e){i5e(this.a,this.b,F(e,139))},R(WK,`JsonImporter/lambda$29$Type`,914),J(890,1,{},qoe),Q.Bi=function(e){Rqe(this.a,F(e,149))},R(WK,`JsonImporter/lambda$3$Type`,890),J(915,1,{},mpe),Q.Bi=function(e){T7e(this.a,this.b,F(e,139))},R(WK,`JsonImporter/lambda$30$Type`,915),J(916,1,{},Joe),Q.Bi=function(e){oRe(this.a,P(e))},R(WK,`JsonImporter/lambda$31$Type`,916),J(917,1,{},Yoe),Q.Bi=function(e){lRe(this.a,P(e))},R(WK,`JsonImporter/lambda$32$Type`,917),J(918,1,{},Xoe),Q.Bi=function(e){sRe(this.a,P(e))},R(WK,`JsonImporter/lambda$33$Type`,918),J(919,1,{},Zoe),Q.Bi=function(e){cRe(this.a,P(e))},R(WK,`JsonImporter/lambda$34$Type`,919),J(920,1,{},Qoe),Q.Bi=function(e){G0e(this.a,F(e,57))},R(WK,`JsonImporter/lambda$35$Type`,920),J(921,1,{},$oe),Q.Bi=function(e){K0e(this.a,F(e,57))},R(WK,`JsonImporter/lambda$36$Type`,921),J(925,1,{},FDe),R(WK,`JsonImporter/lambda$37$Type`,925),J(922,1,xB,pSe),Q.Ad=function(e){SVe(this.a,this.c,this.b,F(e,372))},R(WK,`JsonImporter/lambda$38$Type`,922),J(923,1,xB,hpe),Q.Ad=function(e){Npe(this.a,this.b,F(e,170))},R(WK,`JsonImporter/lambda$39$Type`,923),J(888,1,{},ese),Q.Bi=function(e){YO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$4$Type`,888),J(924,1,xB,gpe),Q.Ad=function(e){Ppe(this.a,this.b,F(e,170))},R(WK,`JsonImporter/lambda$40$Type`,924),J(926,1,xB,mSe),Q.Ad=function(e){CVe(this.a,this.b,this.c,F(e,8))},R(WK,`JsonImporter/lambda$41$Type`,926),J(889,1,{},cd),Q.Bi=function(e){XO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$5$Type`,889),J(893,1,{},tse),Q.Bi=function(e){zqe(this.a,F(e,149))},R(WK,`JsonImporter/lambda$6$Type`,893),J(891,1,{},ld),Q.Bi=function(e){WO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$7$Type`,891),J(892,1,{},ud),Q.Bi=function(e){GO(this.a,k(P(e)))},R(WK,`JsonImporter/lambda$8$Type`,892),J(895,1,{},nse),Q.Bi=function(e){m1e(this.a,F(e,139))},R(WK,`JsonImporter/lambda$9$Type`,895),J(945,1,xB,rse),Q.Ad=function(e){_C(this.a,new vC(rb(e)))},R(WK,`JsonMetaDataConverter/lambda$0$Type`,945),J(946,1,xB,ise),Q.Ad=function(e){qTe(this.a,F(e,244))},R(WK,`JsonMetaDataConverter/lambda$1$Type`,946),J(947,1,xB,ase),Q.Ad=function(e){SAe(this.a,F(e,144))},R(WK,`JsonMetaDataConverter/lambda$2$Type`,947),J(948,1,xB,ose),Q.Ad=function(e){JTe(this.a,F(e,160))},R(WK,`JsonMetaDataConverter/lambda$3$Type`,948),J(244,24,{3:1,35:1,24:1,244:1},P_);var d7,f7,p7,m7,h7,g7,_7,v7,y7=rk(yH,`GraphFeature`,244,wJ,XRe,DSe),lBt;J(11,1,{35:1,147:1},fd,bb,rv,Mv),Q.Dd=function(e){return Yhe(this,F(e,147))},Q.Fb=function(e){return MOe(this,e)},Q.Rg=function(){return iP(this)},Q.Og=function(){return this.b},Q.Hb=function(){return hj(this.b)},Q.Ib=function(){return this.b},R(yH,`Property`,11),J(657,1,ZV,dd),Q.Le=function(e,t){return NKe(this,F(e,105),F(t,105))},Q.Fb=function(e){return this===e},Q.Me=function(){return new Fl(this)},R(yH,`PropertyHolderComparator`,657),J(698,1,uB,md),Q.Nb=function(e){PS(this,e)},Q.Pb=function(){return rLe(this)},Q.Qb=function(){Ele()},Q.Ob=function(){return!!this.a},R(YK,`ElkGraphUtil/AncestorIterator`,698);var uBt=Ox(HK,`EList`);J(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),Q._c=function(e,t){fM(this,e,t)},Q.Ec=function(e){return hD(this,e)},Q.ad=function(e,t){return hUe(this,e,t)},Q.Fc=function(e){return nC(this,e)},Q.Gi=function(){return new Py(this)},Q.Hi=function(){return new Fy(this)},Q.Ii=function(e){return dk(this,e)},Q.Ji=function(){return!0},Q.Ki=function(e,t){},Q.Li=function(){},Q.Mi=function(e,t){cD(this,e,t)},Q.Ni=function(e,t,n){},Q.Oi=function(e,t){},Q.Pi=function(e,t,n){},Q.Fb=function(e){return Stt(this,e)},Q.Hb=function(){return JHe(this)},Q.Qi=function(){return!1},Q.Jc=function(){return new uy(this)},Q.cd=function(){return new Ny(this)},Q.dd=function(e){var t=this.gc();if(e<0||e>t)throw O(new Ob(e,t));return new qS(this,e)},Q.Si=function(e,t){this.Ri(e,this.bd(t))},Q.Kc=function(e){return rO(this,e)},Q.Ui=function(e,t){return t},Q.fd=function(e,t){return xP(this,e,t)},Q.Ib=function(){return _qe(this)},Q.Wi=function(){return!0},Q.Xi=function(e,t){return gj(this,t)},R(HK,`AbstractEList`,71),J(67,71,eq,lo,TO,HVe),Q.Ci=function(e,t){return GF(this,e,t)},Q.Di=function(e){return YXe(this,e)},Q.Ei=function(e,t){rM(this,e,t)},Q.Fi=function(e){WE(this,e)},Q.Yi=function(e){return cLe(this,e)},Q.$b=function(){UE(this)},Q.Gc=function(e){return xF(this,e)},Q.Xb=function(e){return U(this,e)},Q.Zi=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.ed(t),!0)},Q.Vi=function(e,t){return this.Bj(e,this.Xi(e,t))},Q.gc=function(){return this.Cj()},Q.Nc=function(){return this.Dj()},Q.Oc=function(e){return this.Ej(e)},Q.Ib=function(){return this.Fj()},R(HK,`DelegatingEList`,2058),J(2059,2058,Gvt),Q.Ci=function(e,t){return vit(this,e,t)},Q.Di=function(e){return this.Ci(this.Cj(),e)},Q.Ei=function(e,t){E8e(this,e,t)},Q.Fi=function(e){e8e(this,e)},Q.Ji=function(){return!this.Kj()},Q.$b=function(){dz(this)},Q.Gj=function(e,t,n,r,i){return new AOe(this,e,t,n,r,i)},Q.Hj=function(e){dA(this.hj(),e)},Q.Ij=function(){return null},Q.Jj=function(){return-1},Q.hj=function(){return null},Q.Kj=function(){return!1},Q.Lj=function(e,t){return t},Q.Mj=function(e,t){return t},Q.Nj=function(){return!1},Q.Oj=function(){return!this.yj()},Q.Ri=function(e,t){var n,r;return this.Nj()?(r=this.Oj(),n=J0e(this,e,t),this.Hj(this.Gj(7,K(t),n,e,r)),n):J0e(this,e,t)},Q.ed=function(e){var t,n,r,i;return this.Nj()?(n=null,r=this.Oj(),t=this.Gj(4,i=xx(this,e),null,e,r),this.Kj()&&i&&(n=this.Mj(i,n)),n?(n.lj(t),n.mj()):this.Hj(t),i):(i=xx(this,e),this.Kj()&&i&&(n=this.Mj(i,null),n&&n.mj()),i)},Q.Vi=function(e,t){return yit(this,e,t)},R(_K,`DelegatingNotifyingListImpl`,2059),J(151,1,dq),Q.lj=function(e){return b1e(this,e)},Q.mj=function(){LD(this)},Q.ej=function(){return this.d},Q.Ij=function(){return null},Q.Pj=function(){return null},Q.fj=function(e){return-1},Q.gj=function(){return get(this)},Q.hj=function(){return null},Q.ij=function(){return _et(this)},Q.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Q.Qj=function(){return!1},Q.kj=function(e){var t,n,r,i,a,o,s,c,l,u,d;switch(this.d){case 1:case 2:switch(i=e.ej(),i){case 1:case 2:if(a=e.hj(),M(a)===M(this.hj())&&this.fj(null)==e.fj(null))return this.g=e.gj(),e.ej()==1&&(this.d=1),!0}case 4:if(i=e.ej(),i===4&&(a=e.hj(),M(a)===M(this.hj())&&this.fj(null)==e.fj(null)))return l=Pst(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,o=e.jj(),this.d=6,d=new TO(2),c<=o?(hD(d,this.n),hD(d,e.ij()),this.g=W(A(q9,1),cV,30,15,[this.o=c,o+1])):(hD(d,e.ij()),hD(d,this.n),this.g=W(A(q9,1),cV,30,15,[this.o=o,c])),this.n=d,l||(this.o=-2-this.o-1),!0;break;case 6:if(i=e.ej(),i===4&&(a=e.hj(),M(a)===M(this.hj())&&this.fj(null)==e.fj(null))){for(l=Pst(this),o=e.jj(),u=F(this.g,54),r=H(q9,cV,30,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:Bm(r,this.d)}if(Pnt(this)&&(r.a+=`, touch: true`),r.a+=`, position: `,Bm(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=`, notifier: `,J_(r,this.hj()),r.a+=`, feature: `,J_(r,this.Ij()),r.a+=`, oldValue: `,J_(r,_et(this)),r.a+=`, newValue: `,this.d==6&&N(this.g,54)){for(n=F(this.g,54),r.a+=`[`,e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new jx(this),this.a=this.j),uh(this.b,e)):xF(this,e)},Q.Wi=function(){return!0},Q.a=0,R(HK,`AbstractEList/1`,950),J(306,99,TV,Ob),R(HK,`AbstractEList/BasicIndexOutOfBoundsException`,306),J(42,1,uB,uy),Q.Nb=function(e){PS(this,e)},Q.Vj=function(){if(this.i.j!=this.f)throw O(new Kd)},Q.Wj=function(){return aP(this)},Q.Ob=function(){return this.e!=this.i.gc()},Q.Pb=function(){return this.Wj()},Q.Qb=function(){DF(this)},Q.e=0,Q.f=0,Q.g=-1,R(HK,`AbstractEList/EIterator`,42),J(286,42,gB,Ny,qS),Q.Qb=function(){DF(this)},Q.Rb=function(e){sJe(this,e)},Q.Xj=function(){var e;try{return e=this.d.Xb(--this.e),this.Vj(),this.g=this.e,e}catch(e){throw e=UA(e),N(e,99)?(this.Vj(),O(new Qd)):O(e)}},Q.Yj=function(e){aZe(this,e)},Q.Sb=function(){return this.e!=0},Q.Tb=function(){return this.e},Q.Ub=function(){return this.Xj()},Q.Vb=function(){return this.e-1},Q.Wb=function(e){this.Yj(e)},R(HK,`AbstractEList/EListIterator`,286),J(355,42,uB,Py),Q.Wj=function(){return oP(this)},Q.Qb=function(){throw O(new Zd)},R(HK,`AbstractEList/NonResolvingEIterator`,355),J(391,286,gB,Fy,Rye),Q.Rb=function(e){throw O(new Zd)},Q.Wj=function(){var e;try{return e=this.c.Ti(this.e),this.Vj(),this.g=this.e++,e}catch(e){throw e=UA(e),N(e,99)?(this.Vj(),O(new Qd)):O(e)}},Q.Xj=function(){var e;try{return e=this.c.Ti(--this.e),this.Vj(),this.g=this.e,e}catch(e){throw e=UA(e),N(e,99)?(this.Vj(),O(new Qd)):O(e)}},Q.Qb=function(){throw O(new Zd)},Q.Wb=function(e){throw O(new Zd)},R(HK,`AbstractEList/NonResolvingEListIterator`,391),J(2045,71,Kvt),Q.Ci=function(e,t){var n,r,i=t.gc(),a,o,s,c,l,u,d,f;if(i!=0){for(l=F(yA(this.a,4),129),u=l==null?0:l.length,f=u+i,r=Sj(this,f),d=u-e,d>0&&OR(l,e,r,e+i,d),c=t.Jc(),o=0;on)throw O(new Ob(e,n));return new qEe(this,e)},Q.$b=function(){var e,t;++this.j,e=F(yA(this.a,4),129),t=e==null?0:e.length,lP(this,null),cD(this,t,e)},Q.Gc=function(e){var t=F(yA(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 Ob(e,n));return t[e]},Q.bd=function(e){var t=F(yA(this.a,4),129),n,r;if(t!=null){if(e!=null){for(n=0,r=t.length;nn)throw O(new Ob(e,n));return new KEe(this,e)},Q.Ri=function(e,t){var n=xJe(this),r,i=n==null?0:n.length;if(e>=i)throw O(new Fp(ZK+e+QK+i));if(t>=i)throw O(new Fp($K+t+QK+i));return r=n[t],e!=t&&(e0&&OR(e,0,t,0,n),t},Q.Oc=function(e){var t=F(yA(this.a,4),129),n,r=t==null?0:t.length;return r>0&&(e.lengthr&&fC(e,r,null),e};var mBt;R(HK,`ArrayDelegatingEList`,2045),J(1033,42,uB,ZPe),Q.Vj=function(){if(this.b.j!=this.f||M(F(yA(this.b.a,4),129))!==M(this.a))throw O(new Kd)},Q.Qb=function(){DF(this),this.a=F(yA(this.b.a,4),129)},R(HK,`ArrayDelegatingEList/EIterator`,1033),J(712,286,gB,fTe,KEe),Q.Vj=function(){if(this.b.j!=this.f||M(F(yA(this.b.a,4),129))!==M(this.a))throw O(new Kd)},Q.Yj=function(e){aZe(this,e),this.a=F(yA(this.b.a,4),129)},Q.Qb=function(){DF(this),this.a=F(yA(this.b.a,4),129)},R(HK,`ArrayDelegatingEList/EListIterator`,712),J(1034,355,uB,QPe),Q.Vj=function(){if(this.b.j!=this.f||M(F(yA(this.b.a,4),129))!==M(this.a))throw O(new Kd)},R(HK,`ArrayDelegatingEList/NonResolvingEIterator`,1034),J(713,391,gB,pTe,qEe),Q.Vj=function(){if(this.b.j!=this.f||M(F(yA(this.b.a,4),129))!==M(this.a))throw O(new Kd)},R(HK,`ArrayDelegatingEList/NonResolvingEListIterator`,713),J(606,306,TV,iv),R(HK,`BasicEList/BasicIndexOutOfBoundsException`,606),J(699,67,eq,Spe),Q._c=function(e,t){throw O(new Zd)},Q.Ec=function(e){throw O(new Zd)},Q.ad=function(e,t){throw O(new Zd)},Q.Fc=function(e){throw O(new Zd)},Q.$b=function(){throw O(new Zd)},Q.Zi=function(e){throw O(new Zd)},Q.Jc=function(){return this.Gi()},Q.cd=function(){return this.Hi()},Q.dd=function(e){return this.Ii(e)},Q.Ri=function(e,t){throw O(new Zd)},Q.Si=function(e,t){throw O(new Zd)},Q.ed=function(e){throw O(new Zd)},Q.Kc=function(e){throw O(new Zd)},Q.fd=function(e,t){throw O(new Zd)},R(HK,`BasicEList/UnmodifiableEList`,699),J(711,1,{3:1,20:1,18:1,16:1,61:1,587:1}),Q._c=function(e,t){Ahe(this,e,F(t,45))},Q.Ec=function(e){return I_e(this,F(e,45))},Q.Ic=function(e){jE(this,e)},Q.Xb=function(e){return F(U(this.c,e),136)},Q.Ri=function(e,t){return F(this.c.Ri(e,t),45)},Q.Si=function(e,t){jhe(this,e,F(t,45))},Q.ed=function(e){return F(this.c.ed(e),45)},Q.fd=function(e,t){return WTe(this,e,F(t,45))},Q.gd=function(e){Wk(this,e)},Q.Lc=function(){return new DT(this,16)},Q.Mc=function(){return new Mx(null,new DT(this,16))},Q.ad=function(e,t){return this.c.ad(e,t)},Q.Fc=function(e){return this.c.Fc(e)},Q.$b=function(){this.c.$b()},Q.Gc=function(e){return this.c.Gc(e)},Q.Hc=function(e){return HA(this.c,e)},Q.Zj=function(){var e,t,n;if(this.d==null){for(this.d=H(dBt,qvt,67,2*this.f+1,0,1),n=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)e=F(t.Wj(),136),AP(this,e);this.e=n}},Q.Fb=function(e){return Xye(this,e)},Q.Hb=function(){return JHe(this.c)},Q.bd=function(e){return this.c.bd(e)},Q.$j=function(){this.c=new sse(this)},Q.dc=function(){return this.f==0},Q.Jc=function(){return this.c.Jc()},Q.cd=function(){return this.c.cd()},Q.dd=function(e){return this.c.dd(e)},Q._j=function(){return oD(this)},Q.ak=function(e,t,n){return new _Se(e,t,n)},Q.bk=function(){return new ho},Q.Kc=function(e){return rBe(this,e)},Q.gc=function(){return this.f},Q.hd=function(e,t){return new ET(this.c,e,t)},Q.Nc=function(){return this.c.Nc()},Q.Oc=function(e){return this.c.Oc(e)},Q.Ib=function(){return _qe(this.c)},Q.e=0,Q.f=0,R(HK,`BasicEMap`,711),J(1028,67,eq,sse),Q.Ki=function(e,t){Pse(this,F(t,136))},Q.Ni=function(e,t,n){var r;++(r=this,F(t,136),r).a.e},Q.Oi=function(e,t){sf(this,F(t,136))},Q.Pi=function(e,t,n){e_e(this,F(t,136),F(n,136))},Q.Mi=function(e,t){lHe(this.a)},R(HK,`BasicEMap/1`,1028),J(1029,67,eq,ho),Q.$i=function(e){return H(hBt,Jvt,612,e,0,1)},R(HK,`BasicEMap/2`,1029),J(1030,mB,hB,cse),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){return mN(this.a,e)},Q.Jc=function(){return this.a.f==0?(db(),T7.a):new fle(this.a)},Q.Kc=function(e){var t=this.a.f;return IN(this.a,e),this.a.f!=t},Q.gc=function(){return this.a.f},R(HK,`BasicEMap/3`,1030),J(1031,31,pB,lse),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){return Ctt(this.a,e)},Q.Jc=function(){return this.a.f==0?(db(),T7.a):new ple(this.a)},Q.gc=function(){return this.a.f},R(HK,`BasicEMap/4`,1031),J(1032,mB,hB,use),Q.$b=function(){this.a.c.$b()},Q.Gc=function(e){var t,n,r,i,a,o,s,c,l;if(this.a.f>0&&N(e,45)&&(this.a.Zj(),c=F(e,45),s=c.jd(),i=s==null?0:Lk(s),a=Nve(this.a,i),t=this.a.d[a],t)){for(n=F(t.g,374),l=t.i,o=0;o`+this.c},Q.a=0;var hBt=R(HK,`BasicEMap/EntryImpl`,612);J(535,1,{},po),R(HK,`BasicEMap/View`,535);var T7;J(770,1,{}),Q.Fb=function(e){return G8e((fw(),nY),e)},Q.Hb=function(){return HUe((fw(),nY))},Q.Ib=function(){return rI((fw(),nY))},R(HK,`ECollections/BasicEmptyUnmodifiableEList`,770),J(1303,1,gB,mo),Q.Nb=function(e){PS(this,e)},Q.Rb=function(e){throw O(new Zd)},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Pb=function(){throw O(new Qd)},Q.Tb=function(){return 0},Q.Ub=function(){throw O(new Qd)},Q.Vb=function(){return-1},Q.Qb=function(){throw O(new Zd)},Q.Wb=function(e){throw O(new Zd)},R(HK,`ECollections/BasicEmptyUnmodifiableEList/1`,1303),J(1301,770,{20:1,18:1,16:1,61:1},Gse),Q._c=function(e,t){Jle()},Q.Ec=function(e){return qle()},Q.ad=function(e,t){return Yle()},Q.Fc=function(e){return Xle()},Q.$b=function(){Zle()},Q.Gc=function(e){return!1},Q.Hc=function(e){return!1},Q.Ic=function(e){jE(this,e)},Q.Xb=function(e){return Bpe((fw(),e)),null},Q.bd=function(e){return-1},Q.dc=function(){return!0},Q.Jc=function(){return this.a},Q.cd=function(){return this.a},Q.dd=function(e){return this.a},Q.Ri=function(e,t){return Qle()},Q.Si=function(e,t){$le()},Q.ed=function(e){return eue()},Q.Kc=function(e){return tue()},Q.fd=function(e,t){return nue()},Q.gc=function(){return 0},Q.gd=function(e){Wk(this,e)},Q.Lc=function(){return new DT(this,16)},Q.Mc=function(){return new Mx(null,new DT(this,16))},Q.hd=function(e,t){return fw(),new ET(nY,e,t)},Q.Nc=function(){return Bwe((fw(),nY))},Q.Oc=function(e){return fw(),BP(nY,e)},R(HK,`ECollections/EmptyUnmodifiableEList`,1301),J(1302,770,{20:1,18:1,16:1,61:1,587:1},Kse),Q._c=function(e,t){Jle()},Q.Ec=function(e){return qle()},Q.ad=function(e,t){return Yle()},Q.Fc=function(e){return Xle()},Q.$b=function(){Zle()},Q.Gc=function(e){return!1},Q.Hc=function(e){return!1},Q.Ic=function(e){jE(this,e)},Q.Xb=function(e){return Bpe((fw(),e)),null},Q.bd=function(e){return-1},Q.dc=function(){return!0},Q.Jc=function(){return this.a},Q.cd=function(){return this.a},Q.dd=function(e){return this.a},Q.Ri=function(e,t){return Qle()},Q.Si=function(e,t){$le()},Q.ed=function(e){return eue()},Q.Kc=function(e){return tue()},Q.fd=function(e,t){return nue()},Q.gc=function(){return 0},Q.gd=function(e){Wk(this,e)},Q.Lc=function(){return new DT(this,16)},Q.Mc=function(){return new Mx(null,new DT(this,16))},Q.hd=function(e,t){return fw(),new ET(nY,e,t)},Q.Nc=function(){return Bwe((fw(),nY))},Q.Oc=function(e){return fw(),BP(nY,e)},Q._j=function(){return fw(),fw(),rY},R(HK,`ECollections/EmptyUnmodifiableEMap`,1302);var gBt=Ox(HK,`Enumerator`),E7;J(290,1,{290:1},Att),Q.Fb=function(e){var t;return this===e?!0:N(e,290)?(t=F(e,290),this.f==t.f&&fwe(this.i,t.i)&&Ix(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&Ix(this.d,t.d)&&Ix(this.g,t.g)&&Ix(this.e,t.e)&&KYe(this,t)):!1},Q.Hb=function(){return this.f},Q.Ib=function(){return Hrt(this)},Q.f=0;var _Bt=0,vBt=0,yBt=0,bBt=0,xBt=0,SBt=0,CBt=0,wBt=0,TBt=0,EBt,D7=0,O7=0,DBt=0,OBt=0,k7,kBt;R(HK,`URI`,290),J(1091,44,RV,Wf),Q.yc=function(e,t){return F(dT(this,rb(e),F(t,290)),290)},R(HK,`URI/URICache`,1091),J(492,67,eq,go,Bx),Q.Qi=function(){return!0},R(HK,`UniqueEList`,492),J(579,63,HB,XD),R(HK,`WrappedException`,579);var A7=Ox(hK,Zvt),j7=Ox(hK,Qvt),M7=Ox(hK,$vt),N7=Ox(hK,eyt),P7=Ox(hK,tyt),F7=Ox(hK,`EClass`),I7=Ox(hK,`EDataType`),ABt;J(1199,44,RV,Gf),Q.xc=function(e){return z_(e)?Ww(this,e):V_(Yx(this.f,e))},R(hK,`EDataType/Internal/ConversionDelegate/Factory/Registry/Impl`,1199);var L7=Ox(hK,`EEnum`),R7=Ox(hK,nyt),z7=Ox(hK,ryt),B7=Ox(hK,iyt),V7,H7=Ox(hK,ayt),U7=Ox(hK,oyt);J(mq,1,{},_o),Q.Ib=function(){return`NIL`},R(hK,`EStructuralFeature/Internal/DynamicValueHolder/1`,mq);var jBt;J(1023,44,RV,Kf),Q.xc=function(e){return z_(e)?Ww(this,e):V_(Yx(this.f,e))},R(hK,`EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl`,1023);var W7=Ox(hK,syt),G7=Ox(hK,`EValidator/PatternMatcher`),MBt,NBt,K7,q7,J7,Y7,PBt,FBt,IBt,X7,Z7,Q7,$7,e9,LBt,RBt,t9,n9,zBt,r9,i9,a9,o9,BBt,VBt,s9,c9=Ox(hq,`FeatureMap/Entry`);J(534,1,{75:1},F_),Q.Jk=function(){return this.a},Q.kd=function(){return this.b},R(SK,`BasicEObjectImpl/1`,534),J(1022,1,gq,xpe),Q.Dk=function(e){return dFe(this.a,this.b,e)},Q.Oj=function(){return Nke(this.a,this.b)},Q.Wb=function(e){xke(this.a,this.b,e)},Q.Ek=function(){FEe(this.a,this.b)},R(SK,`BasicEObjectImpl/4`,1022),J(2046,1,{114:1}),Q.Kk=function(e){this.e=e==0?HBt:H(hJ,iB,1,e,5,1)},Q.ii=function(e){return this.e[e]},Q.ji=function(e,t){this.e[e]=t},Q.ki=function(e){this.e[e]=null},Q.Lk=function(){return this.c},Q.Mk=function(){throw O(new Zd)},Q.Nk=function(){throw O(new Zd)},Q.Ok=function(){return this.d},Q.Pk=function(){return this.e!=null},Q.Qk=function(e){this.c=e},Q.Rk=function(e){throw O(new Zd)},Q.Sk=function(e){throw O(new Zd)},Q.Tk=function(e){this.d=e};var HBt;R(SK,`BasicEObjectImpl/EPropertiesHolderBaseImpl`,2046),J(192,2046,{114:1},xc),Q.Mk=function(){return this.a},Q.Nk=function(){return this.b},Q.Rk=function(e){this.a=e},Q.Sk=function(e){this.b=e},R(SK,`BasicEObjectImpl/EPropertiesHolderImpl`,192),J(502,100,G_t,vo),Q.rh=function(){return this.f},Q.wh=function(){return this.k},Q.yh=function(e,t){this.g=e,this.i=t},Q.Ah=function(){return this.j&2?this.Xh().Lk():this.fi()},Q.Ch=function(){return this.i},Q.th=function(){return!!(this.j&1)},Q.Mh=function(){return this.g},Q.Sh=function(){return!!(this.j&4)},Q.Xh=function(){return!this.k&&(this.k=new xc),this.k},Q._h=function(e){this.Xh().Qk(e),e?this.j|=2:this.j&=-3},Q.bi=function(e){this.Xh().Sk(e),e?this.j|=4:this.j&=-5},Q.fi=function(){return(eC(),K7).S},Q.i=0,Q.j=1,R(SK,`EObjectImpl`,502),J(786,502,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},tCe),Q.ii=function(e){return this.e[e]},Q.ji=function(e,t){this.e[e]=t},Q.ki=function(e){this.e[e]=null},Q.Ah=function(){return this.d},Q.Fh=function(e){return uN(this.d,e)},Q.Hh=function(){return this.d},Q.Lh=function(){return this.e!=null},Q.Xh=function(){return!this.k&&(this.k=new yo),this.k},Q._h=function(e){this.d=e},Q.ei=function(){var e;return this.e??=(e=tC(this.d),e==0?UBt:H(hJ,iB,1,e,5,1)),this},Q.gi=function(){return 0};var UBt;R(SK,`DynamicEObjectImpl`,786),J(1484,786,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},PCe),Q.Fb=function(e){return this===e},Q.Hb=function(){return Ty(this)},Q._h=function(e){this.d=e,this.b=AL(e,`key`),this.c=AL(e,MK)},Q.yi=function(){var e;return this.a==-1&&(e=tO(this,this.b),this.a=e==null?0:Lk(e)),this.a},Q.jd=function(){return tO(this,this.b)},Q.kd=function(){return tO(this,this.c)},Q.zi=function(e){this.a=e},Q.Ai=function(e){xke(this,this.b,e)},Q.ld=function(e){var t=tO(this,this.c);return xke(this,this.c,e),t},Q.a=0,R(SK,`DynamicEObjectImpl/BasicEMapEntry`,1484),J(1485,1,{114:1},yo),Q.Kk=function(e){throw O(new Zd)},Q.ii=function(e){throw O(new Zd)},Q.ji=function(e,t){throw O(new Zd)},Q.ki=function(e){throw O(new Zd)},Q.Lk=function(){throw O(new Zd)},Q.Mk=function(){return this.a},Q.Nk=function(){return this.b},Q.Ok=function(){return this.c},Q.Pk=function(){throw O(new Zd)},Q.Qk=function(e){throw O(new Zd)},Q.Rk=function(e){this.a=e},Q.Sk=function(e){this.b=e},Q.Tk=function(e){this.c=e},R(SK,`DynamicEObjectImpl/DynamicEPropertiesHolderImpl`,1485),J(505,161,{109:1,94:1,93:1,588:1,158:1,57:1,114:1,52:1,100:1,505:1,161:1,117:1,118:1},bo),Q.xh=function(e){return xQe(this,e)},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new Qy((Kz(),o9),d9,this)),this.b):(!this.b&&(this.b=new Qy((Kz(),o9),d9,this)),oD(this.b));case 3:return qke(this);case 4:return!this.a&&(this.a=new oy(G5,this,4)),this.a;case 5:return!this.c&&(this.c=new cy(G5,this,5)),this.c}return OD(this,e-tC((Kz(),q7)),yO((r=F(yA(this,16),29),r||q7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 3:return this.Cb&&(n=(i=this.Db>>16,i>=0?xQe(this,n):this.Cb.Qh(this,-1-i,null,n))),Dwe(this,F(e,158),n)}return a=F(yO((r=F(yA(this,16),29),r||(Kz(),q7)),t),69),a.uk().xk(this,RN(this),t-tC((Kz(),q7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 2:return!this.b&&(this.b=new Qy((Kz(),o9),d9,this)),jb(this.b,e,n);case 3:return Dwe(this,null,n);case 4:return!this.a&&(this.a=new oy(G5,this,4)),hP(this.a,e,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),q7)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),q7)),e,n)},Q.Th=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!!qke(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return uE(this,e-tC((Kz(),q7)),yO((t=F(yA(this,16),29),t||q7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:WCe(this,rb(t));return;case 2:!this.b&&(this.b=new Qy((Kz(),o9),d9,this)),aA(this.b,t);return;case 3:_9e(this,F(t,158));return;case 4:!this.a&&(this.a=new oy(G5,this,4)),uz(this.a),!this.a&&(this.a=new oy(G5,this,4)),nC(this.a,F(t,18));return;case 5:!this.c&&(this.c=new cy(G5,this,5)),uz(this.c),!this.c&&(this.c=new cy(G5,this,5)),nC(this.c,F(t,18));return}YM(this,e-tC((Kz(),q7)),yO((n=F(yA(this,16),29),n||q7),e),t)},Q.fi=function(){return Kz(),q7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:MBe(this,null);return;case 2:!this.b&&(this.b=new Qy((Kz(),o9),d9,this)),this.b.c.$b();return;case 3:_9e(this,null);return;case 4:!this.a&&(this.a=new oy(G5,this,4)),uz(this.a);return;case 5:!this.c&&(this.c=new cy(G5,this,5)),uz(this.c);return}sM(this,e-tC((Kz(),q7)),yO((t=F(yA(this,16),29),t||q7),e))},Q.Ib=function(){return tKe(this)},Q.d=null,R(SK,`EAnnotationImpl`,505),J(142,711,cyt,yD),Q.Ei=function(e,t){Jme(this,e,F(t,45))},Q.Uk=function(e,t){return Gye(this,F(e,45),t)},Q.Yi=function(e){return F(F(this.c,72).Yi(e),136)},Q.Gi=function(){return F(this.c,72).Gi()},Q.Hi=function(){return F(this.c,72).Hi()},Q.Ii=function(e){return F(this.c,72).Ii(e)},Q.Vk=function(e,t){return jb(this,e,t)},Q.Dk=function(e){return F(this.c,78).Dk(e)},Q.$j=function(){},Q.Oj=function(){return F(this.c,78).Oj()},Q.ak=function(e,t,n){var r=F(LO(this.b).ti().pi(this.b),136);return r.zi(e),r.Ai(t),r.ld(n),r},Q.bk=function(){return new wd(this)},Q.Wb=function(e){aA(this,e)},Q.Ek=function(){F(this.c,78).Ek()},R(hq,`EcoreEMap`,142),J(169,142,cyt,Qy),Q.Zj=function(){var e,t,n,r,i,a;if(this.d==null){for(a=H(dBt,qvt,67,2*this.f+1,0,1),n=this.c.Jc();n.e!=n.i.gc();)t=F(n.Wj(),136),r=t.yi(),i=(r&$z)%a.length,e=a[i],!e&&(e=a[i]=new wd(this)),e.Ec(t);this.d=a}},R(SK,`EAnnotationImpl/1`,169),J(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return by(),!!(this.Bb&256);case 3:return by(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return by(),!!this.Hk();case 7:return by(),i=this.s,i>=1;case 8:return t?mF(this):this.r;case 9:return this.q}return OD(this,e-tC(this.fi()),yO((r=F(yA(this,16),29),r||this.fi()),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 9:return rC(this,n)}return i=F(yO((r=F(yA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,RN(this),t-tC(this.fi()),e,n)},Q.Th=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);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&yC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&yC(this.q).i==0)}return uE(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:this.ri(rb(t));return;case 2:cM(this,Gp(nb(t)));return;case 3:lM(this,Gp(nb(t)));return;case 4:QO(this,F(t,15).a);return;case 5:this.Xk(F(t,15).a);return;case 8:Hj(this,F(t,143));return;case 9:r=KF(this,F(t,87),null),r&&r.mj();return}YM(this,e-tC(this.fi()),yO((n=F(yA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Kz(),VBt},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:this.ri(null);return;case 2:cM(this,!0);return;case 3:lM(this,!0);return;case 4:QO(this,0);return;case 5:this.Xk(1);return;case 8:Hj(this,null);return;case 9:n=KF(this,null,null),n&&n.mj();return}sM(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.mi=function(){mF(this),this.Bb|=1},Q.Fk=function(){return mF(this)},Q.Gk=function(){return this.t},Q.Hk=function(){var e=this.t;return e>1||e==-1},Q.Qi=function(){return!!(this.Bb&512)},Q.Wk=function(e,t){return UGe(this,e,t)},Q.Xk=function(e){$O(this,e)},Q.Ib=function(){return a8e(this)},Q.s=0,Q.t=1,R(SK,`ETypedElementImpl`,293),J(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),Q.xh=function(e){return WZe(this,e)},Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return by(),!!(this.Bb&256);case 3:return by(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return by(),!!this.Hk();case 7:return by(),i=this.s,i>=1;case 8:return t?mF(this):this.r;case 9:return this.q;case 10:return by(),(this.Bb&mq)!=0;case 11:return by(),(this.Bb&CK)!=0;case 12:return by(),(this.Bb&kV)!=0;case 13:return this.j;case 14:return CL(this);case 15:return by(),(this.Bb&_q)!=0;case 16:return by(),(this.Bb&yB)!=0;case 17:return oT(this)}return OD(this,e-tC(this.fi()),yO((r=F(yA(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 17:return this.Cb&&(n=(i=this.Db>>16,i>=0?WZe(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,17,n)}return a=F(yO((r=F(yA(this,16),29),r||this.fi()),t),69),a.uk().xk(this,RN(this),t-tC(this.fi()),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 9:return rC(this,n);case 17:return bR(this,null,17,n)}return i=F(yO((r=F(yA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,RN(this),t-tC(this.fi()),e,n)},Q.Th=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);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&yC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&yC(this.q).i==0);case 10:return(this.Bb&mq)==0;case 11:return(this.Bb&CK)!=0;case 12:return(this.Bb&kV)!=0;case 13:return this.j!=null;case 14:return CL(this)!=null;case 15:return(this.Bb&_q)!=0;case 16:return(this.Bb&yB)!=0;case 17:return!!oT(this)}return uE(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:ST(this,rb(t));return;case 2:cM(this,Gp(nb(t)));return;case 3:lM(this,Gp(nb(t)));return;case 4:QO(this,F(t,15).a);return;case 5:this.Xk(F(t,15).a);return;case 8:Hj(this,F(t,143));return;case 9:r=KF(this,F(t,87),null),r&&r.mj();return;case 10:TM(this,Gp(nb(t)));return;case 11:DM(this,Gp(nb(t)));return;case 12:EM(this,Gp(nb(t)));return;case 13:Ope(this,rb(t));return;case 15:wM(this,Gp(nb(t)));return;case 16:HM(this,Gp(nb(t)));return}YM(this,e-tC(this.fi()),yO((n=F(yA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Kz(),BBt},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:N(this.Cb,88)&&MI(LE(F(this.Cb,88)),4),zk(this,null);return;case 2:cM(this,!0);return;case 3:lM(this,!0);return;case 4:QO(this,0);return;case 5:this.Xk(1);return;case 8:Hj(this,null);return;case 9:n=KF(this,null,null),n&&n.mj();return;case 10:TM(this,!0);return;case 11:DM(this,!1);return;case 12:EM(this,!1);return;case 13:this.i=null,wk(this,null);return;case 15:wM(this,!1);return;case 16:HM(this,!1);return}sM(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.mi=function(){qC(GD((xI(),p9),this)),mF(this),this.Bb|=1},Q.nk=function(){return this.f},Q.gk=function(){return CL(this)},Q.ok=function(){return oT(this)},Q.sk=function(){return null},Q.Yk=function(){return this.k},Q.Jj=function(){return this.n},Q.tk=function(){return jF(this)},Q.uk=function(){var e,t,n,r,i,a,o,s,c;return this.p||(n=oT(this),(n.i??MR(n),n.i).length,r=this.sk(),r&&tC(oT(r)),i=mF(this),o=i.ik(),e=o?o.i&1?o==J9?LJ:o==q9?HJ:o==Q9?VJ:o==Z9?BJ:o==Y9?UJ:o==$9?GJ:o==X9?RJ:zJ:o:null,t=CL(this),s=i.gk(),KKe(this),(this.Bb&yB)!=0&&((a=g$e((xI(),p9),n))&&a!=this||(a=MT(GD(p9,this))))?this.p=new Tpe(this,a):this.Hk()?this.$k()?this.p=r?(this.Bb&_q)==0?e?this._k()?new uw(49,e,this,r):new uw(7,e,this,r):this._k()?new xE(48,this,r):new xE(6,this,r):e?this._k()?new uw(47,e,this,r):new uw(5,e,this,r):this._k()?new xE(46,this,r):new xE(4,this,r):(this.Bb&_q)==0?e?e==bJ?new Zb(41,cBt,this):this._k()?new Zb(45,e,this):new Zb(3,e,this):this._k()?new kw(44,this):new kw(2,this):e?e==bJ?new Zb(50,cBt,this):this._k()?new Zb(43,e,this):new Zb(1,e,this):this._k()?new kw(42,this):new kw(0,this):N(i,159)?this.p=e==c9?new kw(40,this):this.Bb&512?(this.Bb&_q)==0?e?new Zb(11,e,this):new kw(10,this):e?new Zb(9,e,this):new kw(8,this):(this.Bb&_q)==0?e?new Zb(15,e,this):new kw(14,this):e?new Zb(13,e,this):new kw(12,this):r?(c=r.t,this.p=c>1||c==-1?this._k()?(this.Bb&_q)==0?e?new uw(27,e,this,r):new xE(26,this,r):e?new uw(25,e,this,r):new xE(24,this,r):(this.Bb&_q)==0?e?new uw(31,e,this,r):new xE(30,this,r):e?new uw(29,e,this,r):new xE(28,this,r):this._k()?(this.Bb&_q)==0?e?new uw(35,e,this,r):new xE(34,this,r):e?new uw(33,e,this,r):new xE(32,this,r):(this.Bb&_q)==0?e?new uw(39,e,this,r):new xE(38,this,r):e?new uw(37,e,this,r):new xE(36,this,r)):this.p=this._k()?(this.Bb&_q)==0?e?new Zb(19,e,this):new kw(18,this):e?new Zb(17,e,this):new kw(16,this):(this.Bb&_q)==0?e?new Zb(23,e,this):new kw(22,this):e?new Zb(21,e,this):new kw(20,this):this.p=this.Zk()?this._k()?new ySe(F(i,29),this,r):new lke(F(i,29),this,r):N(i,159)?e==c9?new kw(40,this):(this.Bb&_q)==0?e?new Awe(t,s,this,(wN(),o==q9?tVt:o==J9?XBt:o==Y9?nVt:o==Q9?eVt:o==Z9?$Bt:o==$9?iVt:o==X9?ZBt:o==K9?QBt:rVt)):new RDe(F(i,159),t,s,this):e?new jwe(t,s,this,(wN(),o==q9?tVt:o==J9?XBt:o==Y9?nVt:o==Q9?eVt:o==Z9?$Bt:o==$9?iVt:o==X9?ZBt:o==K9?QBt:rVt)):new zDe(F(i,159),t,s,this):this.$k()?r?(this.Bb&_q)==0?this._k()?new SSe(F(i,29),this,r):new Qb(F(i,29),this,r):this._k()?new wSe(F(i,29),this,r):new CSe(F(i,29),this,r):(this.Bb&_q)==0?this._k()?new U_e(F(i,29),this):new $y(F(i,29),this):this._k()?new G_e(F(i,29),this):new W_e(F(i,29),this):this._k()?r?(this.Bb&_q)==0?new bSe(F(i,29),this,r):new TSe(F(i,29),this,r):(this.Bb&_q)==0?new V_e(F(i,29),this):new K_e(F(i,29),this):r?(this.Bb&_q)==0?new xSe(F(i,29),this,r):new ESe(F(i,29),this,r):(this.Bb&_q)==0?new zx(F(i,29),this):new H_e(F(i,29),this)),this.p},Q.pk=function(){return(this.Bb&mq)!=0},Q.Zk=function(){return!1},Q.$k=function(){return!1},Q.qk=function(){return(this.Bb&yB)!=0},Q.vk=function(){return iO(this)},Q._k=function(){return!1},Q.rk=function(){return(this.Bb&_q)!=0},Q.al=function(e){this.k=e},Q.ri=function(e){ST(this,e)},Q.Ib=function(){return ZL(this)},Q.e=!1,Q.n=0,R(SK,`EStructuralFeatureImpl`,451),J(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},qf),Q.Ih=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return by(),!!(this.Bb&256);case 3:return by(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return by(),!!h6e(this);case 7:return by(),i=this.s,i>=1;case 8:return t?mF(this):this.r;case 9:return this.q;case 10:return by(),(this.Bb&mq)!=0;case 11:return by(),(this.Bb&CK)!=0;case 12:return by(),(this.Bb&kV)!=0;case 13:return this.j;case 14:return CL(this);case 15:return by(),(this.Bb&_q)!=0;case 16:return by(),(this.Bb&yB)!=0;case 17:return oT(this);case 18:return by(),(this.Bb&xK)!=0;case 19:return t?LA(this):VFe(this)}return OD(this,e-tC((Kz(),J7)),yO((r=F(yA(this,16),29),r||J7),e),t,n)},Q.Th=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);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return h6e(this);case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&yC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&yC(this.q).i==0);case 10:return(this.Bb&mq)==0;case 11:return(this.Bb&CK)!=0;case 12:return(this.Bb&kV)!=0;case 13:return this.j!=null;case 14:return CL(this)!=null;case 15:return(this.Bb&_q)!=0;case 16:return(this.Bb&yB)!=0;case 17:return!!oT(this);case 18:return(this.Bb&xK)!=0;case 19:return!!VFe(this)}return uE(this,e-tC((Kz(),J7)),yO((t=F(yA(this,16),29),t||J7),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:ST(this,rb(t));return;case 2:cM(this,Gp(nb(t)));return;case 3:lM(this,Gp(nb(t)));return;case 4:QO(this,F(t,15).a);return;case 5:Cle(this,F(t,15).a);return;case 8:Hj(this,F(t,143));return;case 9:r=KF(this,F(t,87),null),r&&r.mj();return;case 10:TM(this,Gp(nb(t)));return;case 11:DM(this,Gp(nb(t)));return;case 12:EM(this,Gp(nb(t)));return;case 13:Ope(this,rb(t));return;case 15:wM(this,Gp(nb(t)));return;case 16:HM(this,Gp(nb(t)));return;case 18:UM(this,Gp(nb(t)));return}YM(this,e-tC((Kz(),J7)),yO((n=F(yA(this,16),29),n||J7),e),t)},Q.fi=function(){return Kz(),J7},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:N(this.Cb,88)&&MI(LE(F(this.Cb,88)),4),zk(this,null);return;case 2:cM(this,!0);return;case 3:lM(this,!0);return;case 4:QO(this,0);return;case 5:this.b=0,$O(this,1);return;case 8:Hj(this,null);return;case 9:n=KF(this,null,null),n&&n.mj();return;case 10:TM(this,!0);return;case 11:DM(this,!1);return;case 12:EM(this,!1);return;case 13:this.i=null,wk(this,null);return;case 15:wM(this,!1);return;case 16:HM(this,!1);return;case 18:UM(this,!1);return}sM(this,e-tC((Kz(),J7)),yO((t=F(yA(this,16),29),t||J7),e))},Q.mi=function(){LA(this),qC(GD((xI(),p9),this)),mF(this),this.Bb|=1},Q.Hk=function(){return h6e(this)},Q.Wk=function(e,t){return this.b=0,this.a=null,UGe(this,e,t)},Q.Xk=function(e){Cle(this,e)},Q.Ib=function(){var e;return this.Db&64?ZL(this):(e=new gy(ZL(this)),e.a+=` (iD: `,Vm(e,(this.Bb&xK)!=0),e.a+=`)`,e.a)},Q.b=0,R(SK,`EAttributeImpl`,335),J(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),Q.bl=function(e){return e.Ah()==this},Q.xh=function(e){return QP(this,e)},Q.yh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return YP(this);case 4:return this.gk();case 5:return this.F;case 6:return t?LO(this):iT(this);case 7:return!this.A&&(this.A=new sy(W7,this,7)),this.A}return OD(this,e-tC(this.fi()),yO((r=F(yA(this,16),29),r||this.fi()),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?QP(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,6,n)}return a=F(yO((r=F(yA(this,16),29),r||this.fi()),t),69),a.uk().xk(this,RN(this),t-tC(this.fi()),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 6:return bR(this,null,6,n);case 7:return!this.A&&(this.A=new sy(W7,this,7)),hP(this.A,e,n)}return i=F(yO((r=F(yA(this,16),29),r||this.fi()),t),69),i.uk().yk(this,RN(this),t-tC(this.fi()),e,n)},Q.Th=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!!YP(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!iT(this);case 7:return!!this.A&&this.A.i!=0}return uE(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:CT(this,rb(t));return;case 2:Ev(this,rb(t));return;case 5:vz(this,rb(t));return;case 7:!this.A&&(this.A=new sy(W7,this,7)),uz(this.A),!this.A&&(this.A=new sy(W7,this,7)),nC(this.A,F(t,18));return}YM(this,e-tC(this.fi()),yO((n=F(yA(this,16),29),n||this.fi()),e),t)},Q.fi=function(){return Kz(),PBt},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),zk(this,null);return;case 2:Pj(this,null),ek(this,this.D);return;case 5:vz(this,null);return;case 7:!this.A&&(this.A=new sy(W7,this,7)),uz(this.A);return}sM(this,e-tC(this.fi()),yO((t=F(yA(this,16),29),t||this.fi()),e))},Q.fk=function(){var e;return this.G==-1&&(this.G=(e=LO(this),e?SP(e.si(),this):-1)),this.G},Q.gk=function(){return null},Q.hk=function(){return LO(this)},Q.cl=function(){return this.v},Q.ik=function(){return YP(this)},Q.jk=function(){return this.D==null?this.B:this.D},Q.kk=function(){return this.F},Q.dk=function(e){return TR(this,e)},Q.dl=function(e){this.v=e},Q.el=function(e){fVe(this,e)},Q.fl=function(e){this.C=e},Q.ri=function(e){CT(this,e)},Q.Ib=function(){return fN(this)},Q.C=null,Q.D=null,Q.G=-1,R(SK,`EClassifierImpl`,360),J(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},bc),Q.bl=function(e){return Sye(this,e.Ah())},Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return YP(this);case 4:return null;case 5:return this.F;case 6:return t?LO(this):iT(this);case 7:return!this.A&&(this.A=new sy(W7,this,7)),this.A;case 8:return by(),!!(this.Bb&256);case 9:return by(),!!(this.Bb&512);case 10:return Pw(this);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),this.q;case 12:return KR(this);case 13:return HR(this);case 14:return HR(this),this.r;case 15:return KR(this),this.k;case 16:return H4e(this);case 17:return RR(this);case 18:return MR(this);case 19:return yL(this);case 20:return KR(this),this.o;case 21:return!this.s&&(this.s=new I(M7,this,21,17)),this.s;case 22:return bE(this);case 23:return htt(this)}return OD(this,e-tC((Kz(),Y7)),yO((r=F(yA(this,16),29),r||Y7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?QP(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,6,n);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),_N(this.q,e,n);case 21:return!this.s&&(this.s=new I(M7,this,21,17)),_N(this.s,e,n)}return a=F(yO((r=F(yA(this,16),29),r||(Kz(),Y7)),t),69),a.uk().xk(this,RN(this),t-tC((Kz(),Y7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 6:return bR(this,null,6,n);case 7:return!this.A&&(this.A=new sy(W7,this,7)),hP(this.A,e,n);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),hP(this.q,e,n);case 21:return!this.s&&(this.s=new I(M7,this,21,17)),hP(this.s,e,n);case 22:return hP(bE(this),e,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),Y7)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),Y7)),e,n)},Q.Th=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!!YP(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!iT(this);case 7:return!!this.A&&this.A.i!=0;case 8:return!!(this.Bb&256);case 9:return!!(this.Bb&512);case 10:return!!this.u&&bE(this.u.a).i!=0&&!(this.n&&NP(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return KR(this).i!=0;case 13:return HR(this).i!=0;case 14:return HR(this),this.r.i!=0;case 15:return KR(this),this.k.i!=0;case 16:return H4e(this).i!=0;case 17:return RR(this).i!=0;case 18:return MR(this).i!=0;case 19:return yL(this).i!=0;case 20:return KR(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&NP(this.n);case 23:return htt(this).i!=0}return uE(this,e-tC((Kz(),Y7)),yO((t=F(yA(this,16),29),t||Y7),e))},Q.Wh=function(e){return(this.i==null||this.q&&this.q.i!=0?null:AL(this,e))||Ylt(this,e)},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:CT(this,rb(t));return;case 2:Ev(this,rb(t));return;case 5:vz(this,rb(t));return;case 7:!this.A&&(this.A=new sy(W7,this,7)),uz(this.A),!this.A&&(this.A=new sy(W7,this,7)),nC(this.A,F(t,18));return;case 8:$Ge(this,Gp(nb(t)));return;case 9:eKe(this,Gp(nb(t)));return;case 10:dz(Pw(this)),nC(Pw(this),F(t,18));return;case 11:!this.q&&(this.q=new I(B7,this,11,10)),uz(this.q),!this.q&&(this.q=new I(B7,this,11,10)),nC(this.q,F(t,18));return;case 21:!this.s&&(this.s=new I(M7,this,21,17)),uz(this.s),!this.s&&(this.s=new I(M7,this,21,17)),nC(this.s,F(t,18));return;case 22:uz(bE(this)),nC(bE(this),F(t,18));return}YM(this,e-tC((Kz(),Y7)),yO((n=F(yA(this,16),29),n||Y7),e),t)},Q.fi=function(){return Kz(),Y7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),zk(this,null);return;case 2:Pj(this,null),ek(this,this.D);return;case 5:vz(this,null);return;case 7:!this.A&&(this.A=new sy(W7,this,7)),uz(this.A);return;case 8:$Ge(this,!1);return;case 9:eKe(this,!1);return;case 10:this.u&&dz(this.u);return;case 11:!this.q&&(this.q=new I(B7,this,11,10)),uz(this.q);return;case 21:!this.s&&(this.s=new I(M7,this,21,17)),uz(this.s);return;case 22:this.n&&uz(this.n);return}sM(this,e-tC((Kz(),Y7)),yO((t=F(yA(this,16),29),t||Y7),e))},Q.mi=function(){var e,t;if(KR(this),HR(this),H4e(this),RR(this),MR(this),yL(this),htt(this),UE(PSe(LE(this))),this.s)for(e=0,t=this.s.i;e=0;--t)U(this,t);return Kqe(this,e)},Q.Ek=function(){uz(this)},Q.Xi=function(e,t){return tBe(this,e,t)},R(hq,`EcoreEList`,624),J(491,624,Eq,lx),Q.Ji=function(){return!1},Q.Jj=function(){return this.c},Q.Kj=function(){return!1},Q.ml=function(){return!0},Q.Qi=function(){return!0},Q.Ui=function(e,t){return t},Q.Wi=function(){return!1},Q.c=0,R(hq,`EObjectEList`,491),J(81,491,Eq,oy),Q.Kj=function(){return!0},Q.kl=function(){return!1},Q.$k=function(){return!0},R(hq,`EObjectContainmentEList`,81),J(544,81,Eq,ay),Q.Li=function(){this.b=!0},Q.Oj=function(){return this.b},Q.Ek=function(){var e;uz(this),_v(this.e)?(e=this.b,this.b=!1,dA(this.e,new RE(this.e,2,this.c,e,!1))):this.b=!1},Q.b=!1,R(hq,`EObjectContainmentEList/Unsettable`,544),J(1131,544,Eq,Owe),Q.Ri=function(e,t){var n=F(SM(this,e,t),87),r;return _v(this.e)&&cf(this,new xD(this.a,7,(Kz(),FBt),K(t),(r=n.c,N(r,88)?F(r,29):t9),e)),n},Q.Sj=function(e,t){return eJe(this,F(e,87),t)},Q.Tj=function(e,t){return $qe(this,F(e,87),t)},Q.Uj=function(e,t,n){return j$e(this,F(e,87),F(t,87),n)},Q.Gj=function(e,t,n,r,i){switch(e){case 3:return fT(this,e,t,n,r,this.i>1);case 5:return fT(this,e,t,n,r,this.i-F(n,16).gc()>0);default:return new ZD(this.e,e,this.c,t,n,r,!0)}},Q.Rj=function(){return!0},Q.Oj=function(){return NP(this)},Q.Ek=function(){uz(this)},R(SK,`EClassImpl/1`,1131),J(1145,1144,Wvt),Q.bj=function(e){var t,n=e.ej(),r,i,a,o,s;if(n!=8){if(r=EYe(e),r==0)switch(n){case 1:case 9:s=e.ij(),s!=null&&(t=LE(F(s,471)),!t.c&&(t.c=new No),rO(t.c,e.hj())),o=e.gj(),o!=null&&(i=F(o,471),i.Bb&1||(t=LE(i),!t.c&&(t.c=new No),hD(t.c,F(e.hj(),29))));break;case 3:o=e.gj(),o!=null&&(i=F(o,471),i.Bb&1||(t=LE(i),!t.c&&(t.c=new No),hD(t.c,F(e.hj(),29))));break;case 5:if(o=e.gj(),o!=null)for(a=F(o,18).Jc();a.Ob();)i=F(a.Pb(),471),i.Bb&1||(t=LE(i),!t.c&&(t.c=new No),hD(t.c,F(e.hj(),29)));break;case 4:s=e.ij(),s!=null&&(i=F(s,471),i.Bb&1||(t=LE(i),!t.c&&(t.c=new No),rO(t.c,e.hj())));break;case 6:if(s=e.ij(),s!=null)for(a=F(s,18).Jc();a.Ob();)i=F(a.Pb(),471),i.Bb&1||(t=LE(i),!t.c&&(t.c=new No),rO(t.c,e.hj()))}this.ol(r)}},Q.ol=function(e){Utt(this,e)},Q.b=63,R(SK,`ESuperAdapter`,1145),J(1146,1145,Wvt,fse),Q.ol=function(e){MI(this,e)},R(SK,`EClassImpl/10`,1146),J(1135,699,Eq),Q.Ci=function(e,t){return GF(this,e,t)},Q.Di=function(e){return YXe(this,e)},Q.Ei=function(e,t){rM(this,e,t)},Q.Fi=function(e){WE(this,e)},Q.Yi=function(e){return cLe(this,e)},Q.Vi=function(e,t){return nO(this,e,t)},Q.Uk=function(e,t){throw O(new Zd)},Q.Gi=function(){return new Py(this)},Q.Hi=function(){return new Fy(this)},Q.Ii=function(e){return dk(this,e)},Q.Vk=function(e,t){throw O(new Zd)},Q.Dk=function(e){return this},Q.Oj=function(){return this.i!=0},Q.Wb=function(e){throw O(new Zd)},Q.Ek=function(){throw O(new Zd)},R(hq,`EcoreEList/UnmodifiableEList`,1135),J(333,1135,Eq,av),Q.Wi=function(){return!1},R(hq,`EcoreEList/UnmodifiableEList/FastCompare`,333),J(1138,333,Eq,AUe),Q.bd=function(e){var t,n,r;if(N(e,179)&&(t=F(e,179),n=t.Jj(),n!=-1)){for(r=this.i;n4){if(this.dk(e)){if(this.$k()){if(r=F(e,52),n=r.Bh(),s=n==this.b&&(this.kl()?r.vh(r.Ch(),F(yO(Fw(this.b),this.Jj()).Fk(),29).ik())==kP(F(yO(Fw(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!s&&!n&&r.Gh()){for(i=0;i1||r==-1)):!1},Q.kl=function(){var e,t=yO(Fw(this.b),this.Jj()),n;return N(t,103)?(e=F(t,19),n=kP(e),!!n):!1},Q.ll=function(){var e,t=yO(Fw(this.b),this.Jj());return N(t,103)?(e=F(t,19),(e.Bb&jV)!=0):!1},Q.bd=function(e){var t,n,r=this.xj(e),i;if(r>=0)return r;if(this.ml()){for(n=0,i=this.Cj();n=0;--e)gz(this,e,this.vj(e));return this.Dj()},Q.Oc=function(e){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)gz(this,t,this.vj(t));return this.Ej(e)},Q.Ek=function(){dz(this)},Q.Xi=function(e,t){return _Le(this,e,t)},R(hq,`DelegatingEcoreEList`,744),J(1141,744,myt,Eve),Q.oj=function(e,t){B_e(this,e,F(t,29))},Q.pj=function(e){Wme(this,F(e,29))},Q.vj=function(e){var t=F(U(bE(this.a),e),87).c;return N(t,88)?F(t,29):(Kz(),t9)},Q.Aj=function(e){var t=F(UL(bE(this.a),e),87).c;return N(t,88)?F(t,29):(Kz(),t9)},Q.Bj=function(e,t){return ZXe(this,e,F(t,29))},Q.Ji=function(){return!1},Q.Gj=function(e,t,n,r,i){return null},Q.qj=function(){return new mse(this)},Q.rj=function(){uz(bE(this.a))},Q.sj=function(e){return rKe(this,e)},Q.tj=function(e){for(var t,n=e.Jc();n.Ob();)if(t=n.Pb(),!rKe(this,t))return!1;return!0},Q.uj=function(e){var t,n,r;if(N(e,16)&&(r=F(e,16),r.gc()==bE(this.a).i)){for(t=r.Jc(),n=new uy(this);t.Ob();)if(M(t.Pb())!==M(aP(n)))return!1;return!0}return!1},Q.wj=function(){var e,t,n=1,r,i;for(t=new uy(bE(this.a));t.e!=t.i.gc();)e=F(aP(t),87),r=(i=e.c,N(i,88)?F(i,29):(Kz(),t9)),n=31*n+(r?Ty(r):0);return n},Q.xj=function(e){var t,n,r=0,i;for(n=new uy(bE(this.a));n.e!=n.i.gc();){if(t=F(aP(n),87),M(e)===M((i=t.c,N(i,88)?F(i,29):(Kz(),t9))))return r;++r}return-1},Q.yj=function(){return bE(this.a).i==0},Q.zj=function(){return null},Q.Cj=function(){return bE(this.a).i},Q.Dj=function(){var e,t,n,r,i,a=bE(this.a).i;for(i=H(hJ,iB,1,a,5,1),n=0,t=new uy(bE(this.a));t.e!=t.i.gc();)e=F(aP(t),87),i[n++]=(r=e.c,N(r,88)?F(r,29):(Kz(),t9));return i},Q.Ej=function(e){var t,n,r,i,a,o,s=bE(this.a).i;for(e.lengths&&fC(e,s,null),r=0,n=new uy(bE(this.a));n.e!=n.i.gc();)t=F(aP(n),87),a=(o=t.c,N(o,88)?F(o,29):(Kz(),t9)),fC(e,r++,a);return e},Q.Fj=function(){var e,t,n,r,i=new lm;for(i.a+=`[`,e=bE(this.a),t=0,r=bE(this.a).i;t>16,i>=0?QP(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,6,n);case 9:return!this.a&&(this.a=new I(R7,this,9,5)),_N(this.a,e,n)}return a=F(yO((r=F(yA(this,16),29),r||(Kz(),X7)),t),69),a.uk().xk(this,RN(this),t-tC((Kz(),X7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 6:return bR(this,null,6,n);case 7:return!this.A&&(this.A=new sy(W7,this,7)),hP(this.A,e,n);case 9:return!this.a&&(this.a=new I(R7,this,9,5)),hP(this.a,e,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),X7)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),X7)),e,n)},Q.Th=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!!YP(this);case 4:return!!zWe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!iT(this);case 7:return!!this.A&&this.A.i!=0;case 8:return!(this.Bb&256);case 9:return!!this.a&&this.a.i!=0}return uE(this,e-tC((Kz(),X7)),yO((t=F(yA(this,16),29),t||X7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:CT(this,rb(t));return;case 2:Ev(this,rb(t));return;case 5:vz(this,rb(t));return;case 7:!this.A&&(this.A=new sy(W7,this,7)),uz(this.A),!this.A&&(this.A=new sy(W7,this,7)),nC(this.A,F(t,18));return;case 8:uM(this,Gp(nb(t)));return;case 9:!this.a&&(this.a=new I(R7,this,9,5)),uz(this.a),!this.a&&(this.a=new I(R7,this,9,5)),nC(this.a,F(t,18));return}YM(this,e-tC((Kz(),X7)),yO((n=F(yA(this,16),29),n||X7),e),t)},Q.fi=function(){return Kz(),X7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:N(this.Cb,184)&&(F(this.Cb,184).tb=null),zk(this,null);return;case 2:Pj(this,null),ek(this,this.D);return;case 5:vz(this,null);return;case 7:!this.A&&(this.A=new sy(W7,this,7)),uz(this.A);return;case 8:uM(this,!0);return;case 9:!this.a&&(this.a=new I(R7,this,9,5)),uz(this.a);return}sM(this,e-tC((Kz(),X7)),yO((t=F(yA(this,16),29),t||X7),e))},Q.mi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?F(this.Cb,675):null}return OD(this,e-tC((Kz(),Z7)),yO((r=F(yA(this,16),29),r||Z7),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 5:return this.Cb&&(n=(i=this.Db>>16,i>=0?yQe(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,5,n)}return a=F(yO((r=F(yA(this,16),29),r||(Kz(),Z7)),t),69),a.uk().xk(this,RN(this),t-tC((Kz(),Z7)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 5:return bR(this,null,5,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),Z7)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),Z7)),e,n)},Q.Th=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,675))}return uE(this,e-tC((Kz(),Z7)),yO((t=F(yA(this,16),29),t||Z7),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:zk(this,rb(t));return;case 2:ZO(this,F(t,15).a);return;case 3:z6e(this,F(t,2004));return;case 4:yk(this,rb(t));return}YM(this,e-tC((Kz(),Z7)),yO((n=F(yA(this,16),29),n||Z7),e),t)},Q.fi=function(){return Kz(),Z7},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:zk(this,null);return;case 2:ZO(this,0);return;case 3:z6e(this,null);return;case 4:yk(this,null);return}sM(this,e-tC((Kz(),Z7)),yO((t=F(yA(this,16),29),t||Z7),e))},Q.Ib=function(){return this.c??this.zb},Q.b=null,Q.c=null,Q.d=0,R(SK,`EEnumLiteralImpl`,568);var KBt=Ox(SK,`EFactoryImpl/InternalEDateTimeFormat`);J(485,1,{2079:1},hd),R(SK,`EFactoryImpl/1ClientInternalEDateTimeFormat`,485),J(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},jd),Q.zh=function(e,t,n){var r;return n=bR(this,e,t,n),this.e&&N(e,179)&&(r=vL(this,this.e),r!=this.c&&(n=yz(this,r,n))),n},Q.Ih=function(e,t,n){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new oy(z7,this,1)),this.d;case 2:return t?wR(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?IP(this):this.a}return OD(this,e-tC((Kz(),$7)),yO((r=F(yA(this,16),29),r||$7),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return _Ge(this,null,n);case 1:return!this.d&&(this.d=new oy(z7,this,1)),hP(this.d,e,n);case 3:return gGe(this,null,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),$7)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),$7)),e,n)},Q.Th=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 uE(this,e-tC((Kz(),$7)),yO((t=F(yA(this,16),29),t||$7),e))},Q.$h=function(e,t){var n;switch(e){case 0:o1e(this,F(t,87));return;case 1:!this.d&&(this.d=new oy(z7,this,1)),uz(this.d),!this.d&&(this.d=new oy(z7,this,1)),nC(this.d,F(t,18));return;case 3:a1e(this,F(t,87));return;case 4:Q0e(this,F(t,835));return;case 5:IO(this,F(t,143));return}YM(this,e-tC((Kz(),$7)),yO((n=F(yA(this,16),29),n||$7),e),t)},Q.fi=function(){return Kz(),$7},Q.hi=function(e){var t;switch(e){case 0:o1e(this,null);return;case 1:!this.d&&(this.d=new oy(z7,this,1)),uz(this.d);return;case 3:a1e(this,null);return;case 4:Q0e(this,null);return;case 5:IO(this,null);return}sM(this,e-tC((Kz(),$7)),yO((t=F(yA(this,16),29),t||$7),e))},Q.Ib=function(){var e=new _y(cL(this));return e.a+=` (expression: `,tz(this,e),e.a+=`)`,e.a};var qBt;R(SK,`EGenericTypeImpl`,248),J(2032,2027,Aq),Q.Ei=function(e,t){wve(this,e,t)},Q.Uk=function(e,t){return wve(this,this.gc(),e),t},Q.Yi=function(e){return mP(this.nj(),e)},Q.Gi=function(){return this.Hi()},Q.nj=function(){return new gse(this)},Q.Hi=function(){return this.Ii(0)},Q.Ii=function(e){return this.nj().dd(e)},Q.Vk=function(e,t){return lN(this,e,!0),t},Q.Ri=function(e,t){var n,r=lF(this,t);return n=this.dd(e),n.Rb(r),r},Q.Si=function(e,t){var n;lN(this,t,!0),n=this.dd(e),n.Rb(t)},R(hq,`AbstractSequentialInternalEList`,2032),J(482,2032,Aq,jy),Q.Yi=function(e){return mP(this.nj(),e)},Q.Gi=function(){return this.b==null?(Gh(),Gh(),u9):this.ql()},Q.nj=function(){return new $pe(this.a,this.b)},Q.Hi=function(){return this.b==null?(Gh(),Gh(),u9):this.ql()},Q.Ii=function(e){var t,n;if(this.b==null){if(e<0||e>1)throw O(new Fp(fq+e+`, size=0`));return Gh(),Gh(),u9}for(n=this.ql(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.nk()!=K5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(a=this.b.Kh(t,this.sl()),this.f=(qh(),F(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=F(a,16),this.k=r):(r=F(a,72),this.k=this.j=r),N(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?E4e(this,this.p):l3e(this))return i=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,75),e.Jk(),n=e.kd(),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}return i=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,75),e.Jk(),n=e.kd(),this.i=n):(n=i,this.i=n),this.g=-3,!0}},Q.Pb=function(){return bA(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 Qd)},Q.Vb=function(){return this.a-1},Q.Qb=function(){throw O(new Zd)},Q.sl=function(){return!1},Q.Wb=function(e){throw O(new Zd)},Q.tl=function(){return!0},Q.a=0,Q.d=0,Q.f=!1,Q.g=0,Q.n=0,Q.o=0;var u9;R(hq,`EContentsEList/FeatureIteratorImpl`,287),J(700,287,jq,N_e),Q.sl=function(){return!0},R(hq,`EContentsEList/ResolvingFeatureIteratorImpl`,700),J(1148,700,jq,F_e),Q.tl=function(){return!1},R(SK,`ENamedElementImpl/1/1`,1148),J(1149,287,jq,P_e),Q.tl=function(){return!1},R(SK,`ENamedElementImpl/1/2`,1149),J(39,151,dq,SE,QNe,CS,bD,ZD,RE,Wze,Ije,Gze,Lje,tFe,Rje,Jze,zje,eFe,Bje,Kze,Vje,wS,xD,vw,qze,Hje,$Pe,Fje),Q.Ij=function(){return JIe(this)},Q.Pj=function(){var e=JIe(this);return e?e.gk():null},Q.fj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,e)},Q.hj=function(){return this.c},Q.Qj=function(){var e=JIe(this);return e?e.rk():!1},Q.b=-1,R(SK,`ENotificationImpl`,39),J(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},Jf),Q.xh=function(e){return LQe(this,e)},Q.Ih=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return by(),!!(this.Bb&256);case 3:return by(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return by(),a=this.t,a>1||a==-1;case 7:return by(),i=this.s,i>=1;case 8:return t?mF(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 sy(W7,this,11)),this.d;case 12:return!this.c&&(this.c=new I(H7,this,12,10)),this.c;case 13:return!this.a&&(this.a=new ub(this,this)),this.a;case 14:return qD(this)}return OD(this,e-tC((Kz(),n9)),yO((r=F(yA(this,16),29),r||n9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?LQe(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,10,n);case 12:return!this.c&&(this.c=new I(H7,this,12,10)),_N(this.c,e,n)}return a=F(yO((r=F(yA(this,16),29),r||(Kz(),n9)),t),69),a.uk().xk(this,RN(this),t-tC((Kz(),n9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 9:return rC(this,n);case 10:return bR(this,null,10,n);case 11:return!this.d&&(this.d=new sy(W7,this,11)),hP(this.d,e,n);case 12:return!this.c&&(this.c=new I(H7,this,12,10)),hP(this.c,e,n);case 14:return hP(qD(this),e,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),n9)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),n9)),e,n)},Q.Th=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);case 3:return!(this.Bb&512);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&&yC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&yC(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&&PP(this.b));case 14:return!!this.b&&PP(this.b)}return uE(this,e-tC((Kz(),n9)),yO((t=F(yA(this,16),29),t||n9),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:zk(this,rb(t));return;case 2:cM(this,Gp(nb(t)));return;case 3:lM(this,Gp(nb(t)));return;case 4:QO(this,F(t,15).a);return;case 5:$O(this,F(t,15).a);return;case 8:Hj(this,F(t,143));return;case 9:r=KF(this,F(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new sy(W7,this,11)),uz(this.d),!this.d&&(this.d=new sy(W7,this,11)),nC(this.d,F(t,18));return;case 12:!this.c&&(this.c=new I(H7,this,12,10)),uz(this.c),!this.c&&(this.c=new I(H7,this,12,10)),nC(this.c,F(t,18));return;case 13:!this.a&&(this.a=new ub(this,this)),dz(this.a),!this.a&&(this.a=new ub(this,this)),nC(this.a,F(t,18));return;case 14:uz(qD(this)),nC(qD(this),F(t,18));return}YM(this,e-tC((Kz(),n9)),yO((n=F(yA(this,16),29),n||n9),e),t)},Q.fi=function(){return Kz(),n9},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:zk(this,null);return;case 2:cM(this,!0);return;case 3:lM(this,!0);return;case 4:QO(this,0);return;case 5:$O(this,1);return;case 8:Hj(this,null);return;case 9:n=KF(this,null,null),n&&n.mj();return;case 11:!this.d&&(this.d=new sy(W7,this,11)),uz(this.d);return;case 12:!this.c&&(this.c=new I(H7,this,12,10)),uz(this.c);return;case 13:this.a&&dz(this.a);return;case 14:this.b&&uz(this.b);return}sM(this,e-tC((Kz(),n9)),yO((t=F(yA(this,16),29),t||n9),e))},Q.mi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;es&&fC(e,s,null),r=0,n=new uy(qD(this.a));n.e!=n.i.gc();)t=F(aP(n),87),a=(o=t.c,o||(Kz(),e9)),fC(e,r++,a);return e},Q.Fj=function(){var e,t,n,r,i=new lm;for(i.a+=`[`,e=qD(this.a),t=0,r=qD(this.a).i;t1);case 5:return fT(this,e,t,n,r,this.i-F(n,16).gc()>0);default:return new ZD(this.e,e,this.c,t,n,r,!0)}},Q.Rj=function(){return!0},Q.Oj=function(){return PP(this)},Q.Ek=function(){uz(this)},R(SK,`EOperationImpl/2`,1332),J(493,1,{2002:1,493:1},wpe),R(SK,`EPackageImpl/1`,493),J(14,81,Eq,I),Q.gl=function(){return this.d},Q.hl=function(){return this.b},Q.kl=function(){return!0},Q.b=0,R(hq,`EObjectContainmentWithInverseEList`,14),J(361,14,Eq,Eb),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectContainmentWithInverseEList/Resolving`,361),J(313,361,Eq,SS),Q.Li=function(){this.a.tb=null},R(SK,`EPackageImpl/2`,313),J(1244,1,{},ore),R(SK,`EPackageImpl/3`,1244),J(721,44,RV,Yf),Q._b=function(e){return z_(e)?ww(this,e):!!Yx(this.f,e)},R(SK,`EPackageRegistryImpl`,721),J(504,293,{109:1,94:1,93:1,158:1,197:1,57:1,2081:1,114:1,470:1,52:1,100:1,161:1,504:1,293:1,117:1,118:1},Xf),Q.xh=function(e){return RQe(this,e)},Q.Ih=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return by(),!!(this.Bb&256);case 3:return by(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return by(),a=this.t,a>1||a==-1;case 7:return by(),i=this.s,i>=1;case 8:return t?mF(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?F(this.Cb,62):null}return OD(this,e-tC((Kz(),i9)),yO((r=F(yA(this,16),29),r||i9),e),t,n)},Q.Ph=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),_N(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?RQe(this,n):this.Cb.Qh(this,-1-i,null,n))),bR(this,e,10,n)}return a=F(yO((r=F(yA(this,16),29),r||(Kz(),i9)),t),69),a.uk().xk(this,RN(this),t-tC((Kz(),i9)),e,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 9:return rC(this,n);case 10:return bR(this,null,10,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),i9)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),i9)),e,n)},Q.Th=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);case 3:return!(this.Bb&512);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&&yC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&yC(this.q).i==0);case 10:return!!(this.Db>>16==10&&F(this.Cb,62))}return uE(this,e-tC((Kz(),i9)),yO((t=F(yA(this,16),29),t||i9),e))},Q.fi=function(){return Kz(),i9},R(SK,`EParameterImpl`,504),J(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},tve),Q.Ih=function(e,t,n){var r,i,a,o;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return by(),!!(this.Bb&256);case 3:return by(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return by(),o=this.t,o>1||o==-1;case 7:return by(),i=this.s,i>=1;case 8:return t?mF(this):this.r;case 9:return this.q;case 10:return by(),(this.Bb&mq)!=0;case 11:return by(),(this.Bb&CK)!=0;case 12:return by(),(this.Bb&kV)!=0;case 13:return this.j;case 14:return CL(this);case 15:return by(),(this.Bb&_q)!=0;case 16:return by(),(this.Bb&yB)!=0;case 17:return oT(this);case 18:return by(),(this.Bb&xK)!=0;case 19:return by(),a=kP(this),!!(a&&(a.Bb&xK)!=0);case 20:return by(),(this.Bb&jV)!=0;case 21:return t?kP(this):this.b;case 22:return t?wUe(this):YPe(this);case 23:return!this.a&&(this.a=new cy(N7,this,23)),this.a}return OD(this,e-tC((Kz(),a9)),yO((r=F(yA(this,16),29),r||a9),e),t,n)},Q.Th=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);case 3:return!(this.Bb&512);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&&yC(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&yC(this.q).i==0);case 10:return(this.Bb&mq)==0;case 11:return(this.Bb&CK)!=0;case 12:return(this.Bb&kV)!=0;case 13:return this.j!=null;case 14:return CL(this)!=null;case 15:return(this.Bb&_q)!=0;case 16:return(this.Bb&yB)!=0;case 17:return!!oT(this);case 18:return(this.Bb&xK)!=0;case 19:return r=kP(this),!!r&&(r.Bb&xK)!=0;case 20:return(this.Bb&jV)==0;case 21:return!!this.b;case 22:return!!YPe(this);case 23:return!!this.a&&this.a.i!=0}return uE(this,e-tC((Kz(),a9)),yO((t=F(yA(this,16),29),t||a9),e))},Q.$h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:ST(this,rb(t));return;case 2:cM(this,Gp(nb(t)));return;case 3:lM(this,Gp(nb(t)));return;case 4:QO(this,F(t,15).a);return;case 5:$O(this,F(t,15).a);return;case 8:Hj(this,F(t,143));return;case 9:r=KF(this,F(t,87),null),r&&r.mj();return;case 10:TM(this,Gp(nb(t)));return;case 11:DM(this,Gp(nb(t)));return;case 12:EM(this,Gp(nb(t)));return;case 13:Ope(this,rb(t));return;case 15:wM(this,Gp(nb(t)));return;case 16:HM(this,Gp(nb(t)));return;case 18:dAe(this,Gp(nb(t)));return;case 20:UKe(this,Gp(nb(t)));return;case 21:YBe(this,F(t,19));return;case 23:!this.a&&(this.a=new cy(N7,this,23)),uz(this.a),!this.a&&(this.a=new cy(N7,this,23)),nC(this.a,F(t,18));return}YM(this,e-tC((Kz(),a9)),yO((n=F(yA(this,16),29),n||a9),e),t)},Q.fi=function(){return Kz(),a9},Q.hi=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:N(this.Cb,88)&&MI(LE(F(this.Cb,88)),4),zk(this,null);return;case 2:cM(this,!0);return;case 3:lM(this,!0);return;case 4:QO(this,0);return;case 5:$O(this,1);return;case 8:Hj(this,null);return;case 9:n=KF(this,null,null),n&&n.mj();return;case 10:TM(this,!0);return;case 11:DM(this,!1);return;case 12:EM(this,!1);return;case 13:this.i=null,wk(this,null);return;case 15:wM(this,!1);return;case 16:HM(this,!1);return;case 18:HKe(this,!1),N(this.Cb,88)&&MI(LE(F(this.Cb,88)),2);return;case 20:UKe(this,!0);return;case 21:YBe(this,null);return;case 23:!this.a&&(this.a=new cy(N7,this,23)),uz(this.a);return}sM(this,e-tC((Kz(),a9)),yO((t=F(yA(this,16),29),t||a9),e))},Q.mi=function(){wUe(this),qC(GD((xI(),p9),this)),mF(this),this.Bb|=1},Q.sk=function(){return kP(this)},Q.Zk=function(){var e=kP(this);return!!e&&(e.Bb&xK)!=0},Q.$k=function(){return(this.Bb&xK)!=0},Q._k=function(){return(this.Bb&jV)!=0},Q.Wk=function(e,t){return this.c=null,UGe(this,e,t)},Q.Ib=function(){var e;return this.Db&64?ZL(this):(e=new gy(ZL(this)),e.a+=` (containment: `,Vm(e,(this.Bb&xK)!=0),e.a+=`, resolveProxies: `,Vm(e,(this.Bb&jV)!=0),e.a+=`)`,e.a)},R(SK,`EReferenceImpl`,103),J(550,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,550:1,117:1,118:1},Do),Q.Fb=function(e){return this===e},Q.jd=function(){return this.b},Q.kd=function(){return this.c},Q.Hb=function(){return Ty(this)},Q.Ai=function(e){GCe(this,rb(e))},Q.ld=function(e){return uCe(this,rb(e))},Q.Ih=function(e,t,n){var r;switch(e){case 0:return this.b;case 1:return this.c}return OD(this,e-tC((Kz(),o9)),yO((r=F(yA(this,16),29),r||o9),e),t,n)},Q.Th=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return uE(this,e-tC((Kz(),o9)),yO((t=F(yA(this,16),29),t||o9),e))},Q.$h=function(e,t){var n;switch(e){case 0:KCe(this,rb(t));return;case 1:jBe(this,rb(t));return}YM(this,e-tC((Kz(),o9)),yO((n=F(yA(this,16),29),n||o9),e),t)},Q.fi=function(){return Kz(),o9},Q.hi=function(e){var t;switch(e){case 0:FBe(this,null);return;case 1:jBe(this,null);return}sM(this,e-tC((Kz(),o9)),yO((t=F(yA(this,16),29),t||o9),e))},Q.yi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:hj(e)),this.a},Q.zi=function(e){this.a=e},Q.Ib=function(){var e;return this.Db&64?cL(this):(e=new gy(cL(this)),e.a+=` (key: `,Y_(e,this.b),e.a+=`, value: `,Y_(e,this.c),e.a+=`)`,e.a)},Q.a=-1,Q.b=null,Q.c=null;var d9=R(SK,`EStringToStringMapEntryImpl`,550),YBt=Ox(hq,`FeatureMap/Entry/Internal`);J(562,1,Mq),Q.vl=function(e){return this.wl(F(e,52))},Q.wl=function(e){return this.vl(e)},Q.Fb=function(e){var t,n;return this===e?!0:N(e,75)?(t=F(e,75),t.Jk()==this.c&&(n=this.kd(),n==null?t.kd()==null:aM(n,t.kd()))):!1},Q.Jk=function(){return this.c},Q.Hb=function(){var e=this.kd();return Lk(this.c)^(e==null?0:Lk(e))},Q.Ib=function(){var e=this.c,t=LO(e.ok()).vi();return e.ve(),(t!=null&&t.length!=0?t+`:`+e.ve():e.ve())+`=`+this.kd()},R(SK,`EStructuralFeatureImpl/BasicFeatureMapEntry`,562),J(778,562,Mq,Wve),Q.wl=function(e){return new Wve(this.c,e)},Q.kd=function(){return this.a},Q.xl=function(e,t,n){return RVe(this,e,this.a,t,n)},Q.yl=function(e,t,n){return zVe(this,e,this.a,t,n)},R(SK,`EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry`,778),J(1305,1,{},Tpe),Q.wk=function(e,t,n,r,i){return F(wD(e,this.b),219).Wl(this.a).Dk(r)},Q.xk=function(e,t,n,r,i){return F(wD(e,this.b),219).Nl(this.a,r,i)},Q.yk=function(e,t,n,r,i){return F(wD(e,this.b),219).Ol(this.a,r,i)},Q.zk=function(e,t,n){return F(wD(e,this.b),219).Wl(this.a).Oj()},Q.Ak=function(e,t,n,r){F(wD(e,this.b),219).Wl(this.a).Wb(r)},Q.Bk=function(e,t,n){return F(wD(e,this.b),219).Wl(this.a)},Q.Ck=function(e,t,n){F(wD(e,this.b),219).Wl(this.a).Ek()},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator`,1305),J(89,1,{},Zb,uw,kw,xE),Q.wk=function(e,t,n,r,i){var a=t.ii(n);if(a??t.ji(n,a=Vz(this,e)),!i)switch(this.e){case 50:case 41:return F(a,587)._j();case 40:return F(a,219).Tl()}return a},Q.xk=function(e,t,n,r,i){var a,o=t.ii(n);return o??t.ji(n,o=Vz(this,e)),a=F(o,72).Uk(r,i),a},Q.yk=function(e,t,n,r,i){var a=t.ii(n);return a!=null&&(i=F(a,72).Vk(r,i)),i},Q.zk=function(e,t,n){var r=t.ii(n);return r!=null&&F(r,78).Oj()},Q.Ak=function(e,t,n,r){var i=F(t.ii(n),78);!i&&t.ji(n,i=Vz(this,e)),i.Wb(r)},Q.Bk=function(e,t,n){var r,i=t.ii(n);return i??t.ji(n,i=Vz(this,e)),N(i,78)?F(i,78):(r=F(t.ii(n),16),new hse(r))},Q.Ck=function(e,t,n){var r=F(t.ii(n),78);!r&&t.ji(n,r=Vz(this,e)),r.Ek()},Q.b=0,Q.e=0,R(SK,`EStructuralFeatureImpl/InternalSettingDelegateMany`,89),J(499,1,{}),Q.xk=function(e,t,n,r,i){throw O(new Zd)},Q.yk=function(e,t,n,r,i){throw O(new Zd)},Q.Bk=function(e,t,n){return new PDe(this,e,t,n)};var f9;R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingle`,499),J(1322,1,gq,PDe),Q.Dk=function(e){return this.a.wk(this.c,this.d,this.b,e,!0)},Q.Oj=function(){return this.a.zk(this.c,this.d,this.b)},Q.Wb=function(e){this.a.Ak(this.c,this.d,this.b,e)},Q.Ek=function(){this.a.Ck(this.c,this.d,this.b)},Q.b=0,R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingle/1`,1322),J(771,499,{},lke),Q.wk=function(e,t,n,r,i){return cR(e,e.Mh(),e.Ch())==this.b?this._k()&&r?tL(e):e.Mh():null},Q.xk=function(e,t,n,r,i){var a,o;return e.Mh()&&(i=(a=e.Ch(),a>=0?e.xh(i):e.Mh().Qh(e,-1-a,null,i))),o=uN(e.Ah(),this.e),e.zh(r,o,i)},Q.yk=function(e,t,n,r,i){var a=uN(e.Ah(),this.e);return e.zh(null,a,i)},Q.zk=function(e,t,n){var r=uN(e.Ah(),this.e);return!!e.Mh()&&e.Ch()==r},Q.Ak=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!TR(this.a,r))throw O(new Vp(Nq+(N(r,57)?t1e(F(r,57).Ah()):Tze(Cj(r)))+Pq+this.a+`'`));if(i=e.Mh(),o=uN(e.Ah(),this.e),M(r)!==M(i)||e.Ch()!=o&&r!=null){if(fF(e,F(r,57)))throw O(new Hp(TK+e.Ib()));c=null,i&&(c=(a=e.Ch(),a>=0?e.xh(c):e.Mh().Qh(e,-1-a,null,c))),s=F(r,52),s&&(c=s.Oh(e,uN(s.Ah(),this.b),null,c)),c=e.zh(s,o,c),c&&c.mj()}else e.sh()&&e.th()&&dA(e,new CS(e,1,o,r,r))},Q.Ck=function(e,t,n){var r=e.Mh(),i,a,o;r?(o=(i=e.Ch(),i>=0?e.xh(null):e.Mh().Qh(e,-1-i,null,null)),a=uN(e.Ah(),this.e),o=e.zh(null,a,o),o&&o.mj()):e.sh()&&e.th()&&dA(e,new wS(e,1,this.e,null,null))},Q._k=function(){return!1},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainer`,771),J(1306,771,{},ySe),Q._k=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving`,1306),J(560,499,{}),Q.wk=function(e,t,n,r,i){var a=t.ii(n);return a==null?this.b:M(a)===M(f9)?null:a},Q.zk=function(e,t,n){var r=t.ii(n);return r!=null&&(M(r)===M(f9)||!aM(r,this.b))},Q.Ak=function(e,t,n,r){var i,a;e.sh()&&e.th()?(i=(a=t.ii(n),a==null?this.b:M(a)===M(f9)?null:a),r==null?this.c==null?this.b==null?t.ji(n,null):t.ji(n,f9):(t.ji(n,null),r=this.b):(this.zl(r),t.ji(n,r)),dA(e,this.d.Al(e,1,this.e,i,r))):r==null?this.c==null?this.b==null?t.ji(n,null):t.ji(n,f9):t.ji(n,null):(this.zl(r),t.ji(n,r))},Q.Ck=function(e,t,n){var r,i;e.sh()&&e.th()?(r=(i=t.ii(n),i==null?this.b:M(i)===M(f9)?null:i),t.ki(n),dA(e,this.d.Al(e,1,this.e,r,this.b))):t.ki(n)},Q.zl=function(e){throw O(new Gd)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData`,560),J(Fq,1,{},sre),Q.Al=function(e,t,n,r,i){return new wS(e,t,n,r,i)},Q.Bl=function(e,t,n,r,i,a){return new vw(e,t,n,r,i,a)};var XBt,ZBt,QBt,$Bt,eVt,tVt,nVt,rVt,iVt;R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator`,Fq),J(1323,Fq,{},cre),Q.Al=function(e,t,n,r,i){return new $Pe(e,t,n,Gp(nb(r)),Gp(nb(i)))},Q.Bl=function(e,t,n,r,i,a){return new Fje(e,t,n,Gp(nb(r)),Gp(nb(i)),a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1`,1323),J(1324,Fq,{},Oo),Q.Al=function(e,t,n,r,i){return new Wze(e,t,n,F(r,221).a,F(i,221).a)},Q.Bl=function(e,t,n,r,i,a){return new Ije(e,t,n,F(r,221).a,F(i,221).a,a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2`,1324),J(1325,Fq,{},ko),Q.Al=function(e,t,n,r,i){return new Gze(e,t,n,F(r,180).a,F(i,180).a)},Q.Bl=function(e,t,n,r,i,a){return new Lje(e,t,n,F(r,180).a,F(i,180).a,a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3`,1325),J(1326,Fq,{},Ao),Q.Al=function(e,t,n,r,i){return new tFe(e,t,n,k(P(r)),k(P(i)))},Q.Bl=function(e,t,n,r,i,a){return new Rje(e,t,n,k(P(r)),k(P(i)),a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4`,1326),J(1327,Fq,{},jo),Q.Al=function(e,t,n,r,i){return new Jze(e,t,n,F(r,164).a,F(i,164).a)},Q.Bl=function(e,t,n,r,i,a){return new zje(e,t,n,F(r,164).a,F(i,164).a,a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5`,1327),J(1328,Fq,{},lre),Q.Al=function(e,t,n,r,i){return new eFe(e,t,n,F(r,15).a,F(i,15).a)},Q.Bl=function(e,t,n,r,i,a){return new Bje(e,t,n,F(r,15).a,F(i,15).a,a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6`,1328),J(1329,Fq,{},ure),Q.Al=function(e,t,n,r,i){return new Kze(e,t,n,F(r,190).a,F(i,190).a)},Q.Bl=function(e,t,n,r,i,a){return new Vje(e,t,n,F(r,190).a,F(i,190).a,a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7`,1329),J(1330,Fq,{},Mo),Q.Al=function(e,t,n,r,i){return new qze(e,t,n,F(r,191).a,F(i,191).a)},Q.Bl=function(e,t,n,r,i,a){return new Hje(e,t,n,F(r,191).a,F(i,191).a,a)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8`,1330),J(1308,560,{},RDe),Q.zl=function(e){if(!this.a.dk(e))throw O(new Vp(Nq+Cj(e)+Pq+this.a+`'`))},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic`,1308),J(1309,560,{},Awe),Q.zl=function(e){},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic`,1309),J(772,560,{}),Q.zk=function(e,t,n){return t.ii(n)!=null},Q.Ak=function(e,t,n,r){var i,a;e.sh()&&e.th()?(i=!0,a=t.ii(n),a==null?(i=!1,a=this.b):M(a)===M(f9)&&(a=null),r==null?this.c==null?t.ji(n,f9):(t.ji(n,null),r=this.b):(this.zl(r),t.ji(n,r)),dA(e,this.d.Bl(e,1,this.e,a,r,!i))):r==null?this.c==null?t.ji(n,f9):t.ji(n,null):(this.zl(r),t.ji(n,r))},Q.Ck=function(e,t,n){var r,i;e.sh()&&e.th()?(r=!0,i=t.ii(n),i==null?(r=!1,i=this.b):M(i)===M(f9)&&(i=null),t.ki(n),dA(e,this.d.Bl(e,2,this.e,i,this.b,r))):t.ki(n)},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable`,772),J(1310,772,{},zDe),Q.zl=function(e){if(!this.a.dk(e))throw O(new Vp(Nq+Cj(e)+Pq+this.a+`'`))},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic`,1310),J(1311,772,{},jwe),Q.zl=function(e){},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic`,1311),J(402,499,{},zx),Q.wk=function(e,t,n,r,i){var a,o,s,c,l=t.ii(n);if(this.rk()&&M(l)===M(f9))return null;if(this._k()&&r&&l!=null){if(s=F(l,52),s.Sh()&&(c=Qj(e,s),s!=c)){if(!TR(this.a,c))throw O(new Vp(Nq+Cj(c)+Pq+this.a+`'`));t.ji(n,l=c),this.$k()&&(a=F(c,52),o=s.Qh(e,this.b?uN(s.Ah(),this.b):-1-uN(e.Ah(),this.e),null,null),!a.Mh()&&(o=a.Oh(e,this.b?uN(a.Ah(),this.b):-1-uN(e.Ah(),this.e),null,o)),o&&o.mj()),e.sh()&&e.th()&&dA(e,new wS(e,9,this.e,s,c))}return l}return l},Q.xk=function(e,t,n,r,i){var a,o=t.ii(n);return M(o)===M(f9)&&(o=null),t.ji(n,r),this.Kj()?M(o)!==M(r)&&o!=null&&(a=F(o,52),i=a.Qh(e,uN(a.Ah(),this.b),null,i)):this.$k()&&o!=null&&(i=F(o,52).Qh(e,-1-uN(e.Ah(),this.e),null,i)),e.sh()&&e.th()&&(!i&&(i=new Fm(4)),i.lj(new wS(e,1,this.e,o,r))),i},Q.yk=function(e,t,n,r,i){var a=t.ii(n);return M(a)===M(f9)&&(a=null),t.ki(n),e.sh()&&e.th()&&(!i&&(i=new Fm(4)),this.rk()?i.lj(new wS(e,2,this.e,a,null)):i.lj(new wS(e,1,this.e,a,null))),i},Q.zk=function(e,t,n){return t.ii(n)!=null},Q.Ak=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!TR(this.a,r))throw O(new Vp(Nq+(N(r,57)?t1e(F(r,57).Ah()):Tze(Cj(r)))+Pq+this.a+`'`));c=t.ii(n),s=c!=null,this.rk()&&M(c)===M(f9)&&(c=null),o=null,this.Kj()?M(c)!==M(r)&&(c!=null&&(i=F(c,52),o=i.Qh(e,uN(i.Ah(),this.b),null,o)),r!=null&&(i=F(r,52),o=i.Oh(e,uN(i.Ah(),this.b),null,o))):this.$k()&&M(c)!==M(r)&&(c!=null&&(o=F(c,52).Qh(e,-1-uN(e.Ah(),this.e),null,o)),r!=null&&(o=F(r,52).Oh(e,-1-uN(e.Ah(),this.e),null,o))),r==null&&this.rk()?t.ji(n,f9):t.ji(n,r),e.sh()&&e.th()?(a=new vw(e,1,this.e,c,r,this.rk()&&!s),o?(o.lj(a),o.mj()):dA(e,a)):o&&o.mj()},Q.Ck=function(e,t,n){var r,i,a,o,s=t.ii(n);o=s!=null,this.rk()&&M(s)===M(f9)&&(s=null),a=null,s!=null&&(this.Kj()?(r=F(s,52),a=r.Qh(e,uN(r.Ah(),this.b),null,a)):this.$k()&&(a=F(s,52).Qh(e,-1-uN(e.Ah(),this.e),null,a))),t.ki(n),e.sh()&&e.th()?(i=new vw(e,this.rk()?2:1,this.e,s,null,o),a?(a.lj(i),a.mj()):dA(e,i)):a&&a.mj()},Q.Kj=function(){return!1},Q.$k=function(){return!1},Q._k=function(){return!1},Q.rk=function(){return!1},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObject`,402),J(561,402,{},$y),Q.$k=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment`,561),J(1314,561,{},U_e),Q._k=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving`,1314),J(774,561,{},W_e),Q.rk=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable`,774),J(1316,774,{},G_e),Q._k=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving`,1316),J(639,561,{},Qb),Q.Kj=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse`,639),J(1315,639,{},SSe),Q._k=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving`,1315),J(775,639,{},CSe),Q.rk=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable`,775),J(1317,775,{},wSe),Q._k=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving`,1317),J(640,402,{},V_e),Q._k=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving`,640),J(1318,640,{},K_e),Q.rk=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable`,1318),J(776,640,{},bSe),Q.Kj=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse`,776),J(1319,776,{},TSe),Q.rk=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable`,1319),J(1312,402,{},H_e),Q.rk=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable`,1312),J(773,402,{},xSe),Q.Kj=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse`,773),J(1313,773,{},ESe),Q.rk=function(){return!0},R(SK,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable`,1313),J(777,562,Mq,bEe),Q.wl=function(e){return new bEe(this.a,this.c,e)},Q.kd=function(){return this.b},Q.xl=function(e,t,n){return EIe(this,e,this.b,n)},Q.yl=function(e,t,n){return DIe(this,e,this.b,n)},R(SK,`EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry`,777),J(1320,1,gq,hse),Q.Dk=function(e){return this.a},Q.Oj=function(){return N(this.a,98)?F(this.a,98).Oj():!this.a.dc()},Q.Wb=function(e){this.a.$b(),this.a.Fc(F(e,16))},Q.Ek=function(){N(this.a,98)?F(this.a,98).Ek():this.a.$b()},R(SK,`EStructuralFeatureImpl/SettingMany`,1320),J(1321,562,Mq,ZNe),Q.vl=function(e){return new xb((hz(),A9),this.b.oi(this.a,e))},Q.kd=function(){return null},Q.xl=function(e,t,n){return n},Q.yl=function(e,t,n){return n},R(SK,`EStructuralFeatureImpl/SimpleContentFeatureMapEntry`,1321),J(641,562,Mq,xb),Q.vl=function(e){return new xb(this.c,e)},Q.kd=function(){return this.a},Q.xl=function(e,t,n){return n},Q.yl=function(e,t,n){return n},R(SK,`EStructuralFeatureImpl/SimpleFeatureMapEntry`,641),J(396,492,eq,No),Q.$i=function(e){return H(F7,iB,29,e,0,1)},Q.Wi=function(){return!1},R(SK,`ESuperAdapter/1`,396),J(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,835:1,52:1,100:1,161:1,446:1,117:1,118:1},Po),Q.Ih=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new Vx(this,z7,this)),this.a}return OD(this,e-tC((Kz(),s9)),yO((r=F(yA(this,16),29),r||s9),e),t,n)},Q.Rh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(A7,this,0,3)),hP(this.Ab,e,n);case 2:return!this.a&&(this.a=new Vx(this,z7,this)),hP(this.a,e,n)}return i=F(yO((r=F(yA(this,16),29),r||(Kz(),s9)),t),69),i.uk().yk(this,RN(this),t-tC((Kz(),s9)),e,n)},Q.Th=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 uE(this,e-tC((Kz(),s9)),yO((t=F(yA(this,16),29),t||s9),e))},Q.$h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab),!this.Ab&&(this.Ab=new I(A7,this,0,3)),nC(this.Ab,F(t,18));return;case 1:zk(this,rb(t));return;case 2:!this.a&&(this.a=new Vx(this,z7,this)),uz(this.a),!this.a&&(this.a=new Vx(this,z7,this)),nC(this.a,F(t,18));return}YM(this,e-tC((Kz(),s9)),yO((n=F(yA(this,16),29),n||s9),e),t)},Q.fi=function(){return Kz(),s9},Q.hi=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(A7,this,0,3)),uz(this.Ab);return;case 1:zk(this,null);return;case 2:!this.a&&(this.a=new Vx(this,z7,this)),uz(this.a);return}sM(this,e-tC((Kz(),s9)),yO((t=F(yA(this,16),29),t||s9),e))},R(SK,`ETypeParameterImpl`,446),J(447,81,Eq,Vx),Q.Lj=function(e,t){return l0e(this,F(e,87),t)},Q.Mj=function(e,t){return u0e(this,F(e,87),t)},R(SK,`ETypeParameterImpl/1`,447),J(638,44,RV,Zf),Q.ec=function(){return new _d(this)},R(SK,`ETypeParameterImpl/2`,638),J(557,mB,hB,_d),Q.Ec=function(e){return Tye(this,F(e,87))},Q.Fc=function(e){var t,n,r=!1;for(n=e.Jc();n.Ob();)t=F(n.Pb(),87),LC(this.a,t,``)??(r=!0);return r},Q.$b=function(){BS(this.a)},Q.Gc=function(e){return jS(this.a,e)},Q.Jc=function(){return new vd(new cA(new Dl(this.a).a))},Q.Kc=function(e){return FFe(this,e)},Q.gc=function(){return lh(this.a)},R(SK,`ETypeParameterImpl/2/1`,557),J(558,1,uB,vd),Q.Nb=function(e){PS(this,e)},Q.Pb=function(){return F(Tk(this.a).jd(),87)},Q.Ob=function(){return this.a.b},Q.Qb=function(){nRe(this.a)},R(SK,`ETypeParameterImpl/2/1/1`,558),J(1282,44,RV,Qf),Q._b=function(e){return z_(e)?ww(this,e):!!Yx(this.f,e)},Q.xc=function(e){var t=z_(e)?Ww(this,e):V_(Yx(this.f,e)),n;return N(t,836)?(n=F(t,836),t=n.Ik(),LC(this,F(e,241),t),t):t??(e==null?(Kh(),fVt):null)},R(SK,`EValidatorRegistryImpl`,1282),J(1304,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2005:1,52:1,100:1,161:1,117:1,118:1},Fo),Q.oi=function(e,t){switch(e.fk()){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:XM(t);case 25:return Sze(t);case 27:return fLe(t);case 28:return pLe(t);case 29:return t==null?null:Che(l7[0],F(t,205));case 41:return t==null?``:Um(F(t,298));case 42:return XM(t);case 50:return rb(t);default:throw O(new Hp(EK+e.ve()+DK))}},Q.pi=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=LO(e),f?SP(f.si(),e):-1)),e.G){case 0:return n=new qf,n;case 1:return t=new bo,t;case 2:return r=new bc,r;case 4:return i=new ef,i;case 5:return a=new Jse,a;case 6:return o=new Dse,o;case 7:return s=new yc,s;case 10:return l=new vo,l;case 11:return u=new Jf,u;case 12:return d=new dOe,d;case 13:return p=new Xf,p;case 14:return m=new tve,m;case 17:return h=new Do,h;case 18:return c=new jd,c;case 19:return g=new Po,g;default:throw O(new Hp(AK+e.zb+DK))}},Q.qi=function(e,t){switch(e.fk()){case 20:return t==null?null:new Tle(t);case 21:return t==null?null:new Ov(t);case 23:case 22:return t==null?null:HJe(t);case 26:case 24:return t==null?null:eO(_R(t,-128,127)<<24>>24);case 25:return x5e(t);case 27:return zZe(t);case 28:return BZe(t);case 29:return B0e(t);case 32:case 31:return t==null?null:sI(t);case 38:case 37:return t==null?null:new uf(t);case 40:case 39:return t==null?null:K(_R(t,VB,$z));case 41:return null;case 42:return null;case 44:case 43:return t==null?null:VN(kz(t));case 49:case 48:return t==null?null:$j(_R(t,Lq,32767)<<16>>16);case 50:return t;default:throw O(new Hp(EK+e.ve()+DK))}},R(SK,`EcoreFactoryImpl`,1304),J(549,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2003:1,52:1,100:1,161:1,184:1,549:1,117:1,118:1,680:1},JEe),Q.gb=!1,Q.hb=!1;var aVt,oVt=!1;R(SK,`EcorePackageImpl`,549),J(1200,1,{836:1},dre),Q.Ik=function(){return dge(),pVt},R(SK,`EcorePackageImpl/1`,1200),J(1209,1,Vq,Io),Q.dk=function(e){return N(e,158)},Q.ek=function(e){return H($5,iB,158,e,0,1)},R(SK,`EcorePackageImpl/10`,1209),J(1210,1,Vq,Lo),Q.dk=function(e){return N(e,197)},Q.ek=function(e){return H(t7,iB,197,e,0,1)},R(SK,`EcorePackageImpl/11`,1210),J(1211,1,Vq,Ro),Q.dk=function(e){return N(e,57)},Q.ek=function(e){return H(G5,iB,57,e,0,1)},R(SK,`EcorePackageImpl/12`,1211),J(1212,1,Vq,zo),Q.dk=function(e){return N(e,403)},Q.ek=function(e){return H(B7,dyt,62,e,0,1)},R(SK,`EcorePackageImpl/13`,1212),J(1213,1,Vq,Bo),Q.dk=function(e){return N(e,241)},Q.ek=function(e){return H(n7,iB,241,e,0,1)},R(SK,`EcorePackageImpl/14`,1213),J(1214,1,Vq,Vo),Q.dk=function(e){return N(e,504)},Q.ek=function(e){return H(H7,iB,2081,e,0,1)},R(SK,`EcorePackageImpl/15`,1214),J(1215,1,Vq,Ho),Q.dk=function(e){return N(e,103)},Q.ek=function(e){return H(U7,Tq,19,e,0,1)},R(SK,`EcorePackageImpl/16`,1215),J(1216,1,Vq,fre),Q.dk=function(e){return N(e,179)},Q.ek=function(e){return H(M7,Tq,179,e,0,1)},R(SK,`EcorePackageImpl/17`,1216),J(1217,1,Vq,pre),Q.dk=function(e){return N(e,470)},Q.ek=function(e){return H(j7,iB,470,e,0,1)},R(SK,`EcorePackageImpl/18`,1217),J(1218,1,Vq,Uo),Q.dk=function(e){return N(e,550)},Q.ek=function(e){return H(d9,Jvt,550,e,0,1)},R(SK,`EcorePackageImpl/19`,1218),J(1201,1,Vq,mre),Q.dk=function(e){return N(e,335)},Q.ek=function(e){return H(N7,Tq,38,e,0,1)},R(SK,`EcorePackageImpl/2`,1201),J(1219,1,Vq,Wo),Q.dk=function(e){return N(e,248)},Q.ek=function(e){return H(z7,pyt,87,e,0,1)},R(SK,`EcorePackageImpl/20`,1219),J(1220,1,Vq,Go),Q.dk=function(e){return N(e,446)},Q.ek=function(e){return H(W7,iB,835,e,0,1)},R(SK,`EcorePackageImpl/21`,1220),J(1221,1,Vq,Ko),Q.dk=function(e){return L_(e)},Q.ek=function(e){return H(LJ,vB,473,e,8,1)},R(SK,`EcorePackageImpl/22`,1221),J(1222,1,Vq,qo),Q.dk=function(e){return N(e,195)},Q.ek=function(e){return H(X9,vB,195,e,0,2)},R(SK,`EcorePackageImpl/23`,1222),J(1223,1,Vq,Jo),Q.dk=function(e){return N(e,221)},Q.ek=function(e){return H(RJ,vB,221,e,0,1)},R(SK,`EcorePackageImpl/24`,1223),J(1224,1,Vq,Yo),Q.dk=function(e){return N(e,180)},Q.ek=function(e){return H(zJ,vB,180,e,0,1)},R(SK,`EcorePackageImpl/25`,1224),J(1225,1,Vq,hre),Q.dk=function(e){return N(e,205)},Q.ek=function(e){return H(MJ,vB,205,e,0,1)},R(SK,`EcorePackageImpl/26`,1225),J(1226,1,Vq,Xo),Q.dk=function(e){return!1},Q.ek=function(e){return H(cHt,iB,2177,e,0,1)},R(SK,`EcorePackageImpl/27`,1226),J(1227,1,Vq,Zo),Q.dk=function(e){return R_(e)},Q.ek=function(e){return H(BJ,vB,346,e,7,1)},R(SK,`EcorePackageImpl/28`,1227),J(1228,1,Vq,Qo),Q.dk=function(e){return N(e,61)},Q.ek=function(e){return H(uBt,hH,61,e,0,1)},R(SK,`EcorePackageImpl/29`,1228),J(1202,1,Vq,gre),Q.dk=function(e){return N(e,505)},Q.ek=function(e){return H(A7,{3:1,4:1,5:1,1998:1},588,e,0,1)},R(SK,`EcorePackageImpl/3`,1202),J(1229,1,Vq,$o),Q.dk=function(e){return N(e,568)},Q.ek=function(e){return H(gBt,iB,2004,e,0,1)},R(SK,`EcorePackageImpl/30`,1229),J(1230,1,Vq,es),Q.dk=function(e){return N(e,163)},Q.ek=function(e){return H(dVt,hH,163,e,0,1)},R(SK,`EcorePackageImpl/31`,1230),J(1231,1,Vq,ts),Q.dk=function(e){return N(e,75)},Q.ek=function(e){return H(c9,wyt,75,e,0,1)},R(SK,`EcorePackageImpl/32`,1231),J(1232,1,Vq,_re),Q.dk=function(e){return N(e,164)},Q.ek=function(e){return H(VJ,vB,164,e,0,1)},R(SK,`EcorePackageImpl/33`,1232),J(1233,1,Vq,vre),Q.dk=function(e){return N(e,15)},Q.ek=function(e){return H(HJ,vB,15,e,0,1)},R(SK,`EcorePackageImpl/34`,1233),J(1234,1,Vq,ns),Q.dk=function(e){return N(e,298)},Q.ek=function(e){return H(Sbt,iB,298,e,0,1)},R(SK,`EcorePackageImpl/35`,1234),J(1235,1,Vq,yre),Q.dk=function(e){return N(e,190)},Q.ek=function(e){return H(UJ,vB,190,e,0,1)},R(SK,`EcorePackageImpl/36`,1235),J(1236,1,Vq,rs),Q.dk=function(e){return N(e,92)},Q.ek=function(e){return H(wbt,iB,92,e,0,1)},R(SK,`EcorePackageImpl/37`,1236),J(1237,1,Vq,is),Q.dk=function(e){return N(e,589)},Q.ek=function(e){return H(sVt,iB,589,e,0,1)},R(SK,`EcorePackageImpl/38`,1237),J(1238,1,Vq,as),Q.dk=function(e){return!1},Q.ek=function(e){return H(lHt,iB,2178,e,0,1)},R(SK,`EcorePackageImpl/39`,1238),J(1203,1,Vq,os),Q.dk=function(e){return N(e,88)},Q.ek=function(e){return H(F7,iB,29,e,0,1)},R(SK,`EcorePackageImpl/4`,1203),J(1239,1,Vq,bre),Q.dk=function(e){return N(e,191)},Q.ek=function(e){return H(GJ,vB,191,e,0,1)},R(SK,`EcorePackageImpl/40`,1239),J(1240,1,Vq,ss),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R(SK,`EcorePackageImpl/41`,1240),J(1241,1,Vq,cs),Q.dk=function(e){return N(e,586)},Q.ek=function(e){return H(fBt,iB,586,e,0,1)},R(SK,`EcorePackageImpl/42`,1241),J(1242,1,Vq,xre),Q.dk=function(e){return!1},Q.ek=function(e){return H(uHt,vB,2179,e,0,1)},R(SK,`EcorePackageImpl/43`,1242),J(1243,1,Vq,ls),Q.dk=function(e){return N(e,45)},Q.ek=function(e){return H(bJ,DB,45,e,0,1)},R(SK,`EcorePackageImpl/44`,1243),J(1204,1,Vq,us),Q.dk=function(e){return N(e,143)},Q.ek=function(e){return H(P7,iB,143,e,0,1)},R(SK,`EcorePackageImpl/5`,1204),J(1205,1,Vq,ds),Q.dk=function(e){return N(e,159)},Q.ek=function(e){return H(I7,iB,159,e,0,1)},R(SK,`EcorePackageImpl/6`,1205),J(1206,1,Vq,fs),Q.dk=function(e){return N(e,459)},Q.ek=function(e){return H(L7,iB,675,e,0,1)},R(SK,`EcorePackageImpl/7`,1206),J(1207,1,Vq,ps),Q.dk=function(e){return N(e,568)},Q.ek=function(e){return H(R7,iB,684,e,0,1)},R(SK,`EcorePackageImpl/8`,1207),J(1208,1,Vq,ms),Q.dk=function(e){return N(e,469)},Q.ek=function(e){return H(e7,iB,469,e,0,1)},R(SK,`EcorePackageImpl/9`,1208),J(1020,2045,Kvt,lce),Q.Ki=function(e,t){qGe(this,F(t,415))},Q.Oi=function(e,t){K4e(this,e,F(t,415))},R(SK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList`,1020),J(1021,151,dq,xEe),Q.hj=function(){return this.a.a},R(SK,`MinimalEObjectImpl/1ArrayDelegatingAdapterList/1`,1021),J(1048,1047,{},Qme),R(`org.eclipse.emf.ecore.plugin`,`EcorePlugin`,1048);var sVt=Ox(Tyt,`Resource`);J(787,1486,Eyt),Q.Fl=function(e){},Q.Gl=function(e){},Q.Cl=function(){return!this.a&&(this.a=new Cd(this)),this.a},Q.Dl=function(e){var t,n,r=e.length,i,a;if(r>0){if(kT(0,e.length),e.charCodeAt(0)==47){for(a=new pD(4),i=1,t=1;t0&&(e=(uD(0,n,e.length),e.substr(0,n))))}return n6e(this,e)},Q.El=function(){return this.c},Q.Ib=function(){var e;return Um(this.Pm)+`@`+(e=Lk(this)>>>0,e.toString(16))+` uri='`+this.d+`'`},Q.b=!1,R(Dyt,`ResourceImpl`,787),J(1487,787,Eyt,Sd),R(Dyt,`BinaryResourceImpl`,1487),J(1160,697,tq),Q._i=function(e){return N(e,57)?NOe(this,F(e,57)):N(e,589)?new uy(F(e,589).Cl()):M(e)===M(this.f)?F(e,18).Jc():(db(),T7.a)},Q.Ob=function(){return L6e(this)},Q.a=!1,R(hq,`EcoreUtil/ContentTreeIterator`,1160),J(1488,1160,tq,mTe),Q._i=function(e){return M(e)===M(this.f)?F(e,16).Jc():new AMe(F(e,57))},R(Dyt,`ResourceImpl/5`,1488),J(648,2057,fyt,Cd),Q.Gc=function(e){return this.i<=4?xF(this,e):N(e,52)&&F(e,52).Gh()==this.a},Q.Ki=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},Q.Mi=function(e,t){e==0?this.a.b||(this.a.b=!0):cD(this,e,t)},Q.Oi=function(e,t){},Q.Pi=function(e,t,n){},Q.Jj=function(){return 2},Q.hj=function(){return this.a},Q.Kj=function(){return!0},Q.Lj=function(e,t){return t=F(e,52).ci(this.a,t),t},Q.Mj=function(e,t){return F(e,52).ci(null,t)},Q.Nj=function(){return!1},Q.Qi=function(){return!0},Q.$i=function(e){return H(G5,iB,57,e,0,1)},Q.Wi=function(){return!1},R(Dyt,`ResourceImpl/ContentsEList`,648),J(954,2027,IB,gse),Q.dd=function(e){return this.a.Ii(e)},Q.gc=function(){return this.a.gc()},R(hq,`AbstractSequentialInternalEList/1`,954);var cVt,lVt,p9,uVt;J(626,1,{},iCe);var m9,h9;R(hq,`BasicExtendedMetaData`,626),J(1151,1,{},Epe),Q.Hl=function(){return null},Q.Il=function(){return this.a==-2&&fl(this,O0e(this.d,this.b)),this.a},Q.Jl=function(){return null},Q.Kl=function(){return fw(),fw(),nY},Q.ve=function(){return this.c==Xq&&tae(this,aYe(this.d,this.b)),this.c},Q.Ll=function(){return 0},Q.a=-2,Q.c=Xq,R(hq,`BasicExtendedMetaData/EClassExtendedMetaDataImpl`,1151),J(1152,1,{},Wje),Q.Hl=function(){return this.a==(QE(),m9)&&eae(this,$tt(this.f,this.b)),this.a},Q.Il=function(){return 0},Q.Jl=function(){return this.c==(QE(),m9)&&nae(this,ent(this.f,this.b)),this.c},Q.Kl=function(){return!this.d&&rae(this,eat(this.f,this.b)),this.d},Q.ve=function(){return this.e==Xq&&aae(this,aYe(this.f,this.b)),this.e},Q.Ll=function(){return this.g==-2&&sae(this,N1e(this.f,this.b)),this.g},Q.e=Xq,Q.g=-2,R(hq,`BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl`,1152),J(1150,1,{},Dpe),Q.b=!1,Q.c=!1,R(hq,`BasicExtendedMetaData/EPackageExtendedMetaDataImpl`,1150),J(1153,1,{},Gje),Q.c=-2,Q.e=Xq,Q.f=Xq,R(hq,`BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl`,1153),J(582,624,Eq,ux),Q.Jj=function(){return this.c},Q.ml=function(){return!1},Q.Ui=function(e,t){return t},Q.c=0,R(hq,`EDataTypeEList`,582);var dVt=Ox(hq,`FeatureMap`);J(76,582,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},sA),Q._c=function(e,t){i9e(this,e,F(t,75))},Q.Ec=function(e){return s7e(this,F(e,75))},Q.Fi=function(e){XTe(this,F(e,75))},Q.Lj=function(e,t){return Kye(this,F(e,75),t)},Q.Mj=function(e,t){return qye(this,F(e,75),t)},Q.Ri=function(e,t){return Crt(this,e,t)},Q.Ui=function(e,t){return Hst(this,e,F(t,75))},Q.fd=function(e,t){return set(this,e,F(t,75))},Q.Sj=function(e,t){return Jye(this,F(e,75),t)},Q.Tj=function(e,t){return Yye(this,F(e,75),t)},Q.Uj=function(e,t,n){return s1e(this,F(e,75),F(t,75),n)},Q.Xi=function(e,t){return zF(this,e,F(t,75))},Q.Ml=function(e,t){return nrt(this,e,t)},Q.ad=function(e,t){var n,r,i,a,o,s,c,l=new TO(t.gc()),u;for(i=t.Jc();i.Ob();)if(r=F(i.Pb(),75),a=r.Jk(),BL(this.e,a))(!a.Qi()||!hE(this,a,r.kd())&&!xF(l,r))&&hD(l,r);else{for(u=LL(this.e.Ah(),a),n=F(this.g,122),o=!0,s=0;s=0;)if(t=e[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},R(hq,`BasicFeatureMap/FeatureEIterator`,412),J(666,412,gB,ov),Q.sl=function(){return!0},R(hq,`BasicFeatureMap/ResolvingFeatureEIterator`,666),J(952,482,Aq,Fhe),Q.nj=function(){return this},R(hq,`EContentsEList/1`,952),J(953,482,Aq,$pe),Q.sl=function(){return!1},R(hq,`EContentsEList/2`,953),J(951,287,jq,Ihe),Q.ul=function(e){},Q.Ob=function(){return!1},Q.Sb=function(){return!1},R(hq,`EContentsEList/FeatureIteratorImpl/1`,951),J(825,582,Eq,ege),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;uz(this),_v(this.e)?(e=this.a,this.a=!1,dA(this.e,new RE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(hq,`EDataTypeEList/Unsettable`,825),J(1923,582,Eq,tge),Q.Qi=function(){return!0},R(hq,`EDataTypeUniqueEList`,1923),J(1924,825,Eq,nge),Q.Qi=function(){return!0},R(hq,`EDataTypeUniqueEList/Unsettable`,1924),J(145,81,Eq,sy),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectContainmentEList/Resolving`,145),J(1154,544,Eq,rge),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectContainmentEList/Unsettable/Resolving`,1154),J(753,14,Eq,sye),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;uz(this),_v(this.e)?(e=this.a,this.a=!1,dA(this.e,new RE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(hq,`EObjectContainmentWithInverseEList/Unsettable`,753),J(1188,753,Eq,cye),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectContainmentWithInverseEList/Unsettable/Resolving`,1188),J(745,491,Eq,ige),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;uz(this),_v(this.e)?(e=this.a,this.a=!1,dA(this.e,new RE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(hq,`EObjectEList/Unsettable`,745),J(339,491,Eq,cy),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectResolvingEList`,339),J(1828,745,Eq,age),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectResolvingEList/Unsettable`,1828),J(1489,1,{},hs);var fVt;R(hq,`EObjectValidator`,1489),J(548,491,Eq,TS),Q.gl=function(){return this.d},Q.hl=function(){return this.b},Q.Kj=function(){return!0},Q.kl=function(){return!0},Q.b=0,R(hq,`EObjectWithInverseEList`,548),J(1191,548,Eq,lye),Q.jl=function(){return!0},R(hq,`EObjectWithInverseEList/ManyInverse`,1191),J(627,548,Eq,uye),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;uz(this),_v(this.e)?(e=this.a,this.a=!1,dA(this.e,new RE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(hq,`EObjectWithInverseEList/Unsettable`,627),J(1190,627,Eq,dye),Q.jl=function(){return!0},R(hq,`EObjectWithInverseEList/Unsettable/ManyInverse`,1190),J(754,548,Eq,fye),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectWithInverseResolvingEList`,754),J(33,754,Eq,Db),Q.jl=function(){return!0},R(hq,`EObjectWithInverseResolvingEList/ManyInverse`,33),J(755,627,Eq,pye),Q.ll=function(){return!0},Q.Ui=function(e,t){return QI(this,e,F(t,57))},R(hq,`EObjectWithInverseResolvingEList/Unsettable`,755),J(1189,755,Eq,mye),Q.jl=function(){return!0},R(hq,`EObjectWithInverseResolvingEList/Unsettable/ManyInverse`,1189),J(1155,624,Eq),Q.Ji=function(){return!(this.b&1792)},Q.Li=function(){this.b|=1},Q.il=function(){return!!(this.b&4)},Q.Kj=function(){return!!(this.b&40)},Q.jl=function(){return!!(this.b&16)},Q.kl=function(){return!!(this.b&8)},Q.ll=function(){return(this.b&CK)!=0},Q.$k=function(){return!!(this.b&32)},Q.ml=function(){return(this.b&mq)!=0},Q.dk=function(e){return this.d?SNe(this.d,e):this.Jk().Fk().dk(e)},Q.Oj=function(){return this.b&2?!!(this.b&1):this.i!=0},Q.Qi=function(){return!!(this.b&128)},Q.Ek=function(){var e;uz(this),this.b&2&&(_v(this.e)?(e=!!(this.b&1),this.b&=-2,cf(this,new RE(this.e,2,uN(this.e.Ah(),this.Jk()),e,!1))):this.b&=-2)},Q.Wi=function(){return!(this.b&1536)},Q.b=0,R(hq,`EcoreEList/Generic`,1155),J(1156,1155,Eq,pOe),Q.Jk=function(){return this.a},R(hq,`EcoreEList/Dynamic`,1156),J(752,67,eq,wd),Q.$i=function(e){return tk(this.a.a,e)},R(hq,`EcoreEMap/1`,752),J(751,81,Eq,gTe),Q.Ki=function(e,t){AP(this.b,F(t,136))},Q.Mi=function(e,t){lHe(this.b)},Q.Ni=function(e,t,n){var r;++(r=this.b,F(t,136),r).e},Q.Oi=function(e,t){CM(this.b,F(t,136))},Q.Pi=function(e,t,n){CM(this.b,F(n,136)),M(n)===M(t)&&F(n,136).zi(Ume(F(t,136).jd())),AP(this.b,F(t,136))},R(hq,`EcoreEMap/DelegateEObjectContainmentEList`,751),J(1186,142,cyt,iBe),R(hq,`EcoreEMap/Unsettable`,1186),J(1187,751,Eq,hye),Q.Li=function(){this.a=!0},Q.Oj=function(){return this.a},Q.Ek=function(){var e;uz(this),_v(this.e)?(e=this.a,this.a=!1,dA(this.e,new RE(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(hq,`EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList`,1187),J(1159,223,RV,QTe),Q.a=!1,Q.b=!1,R(hq,`EcoreUtil/Copier`,1159),J(747,1,uB,AMe),Q.Nb=function(e){PS(this,e)},Q.Ob=function(){return uJe(this)},Q.Pb=function(){var e;return uJe(this),e=this.b,this.b=null,e},Q.Qb=function(){this.a.Qb()},R(hq,`EcoreUtil/ProperContentIterator`,747),J(1490,1489,{},bie);var pVt;R(hq,`EcoreValidator`,1490);var mVt;Ox(hq,`FeatureMapUtil/Validator`),J(1260,1,{2006:1},gs),Q.$l=function(e){return!0},R(hq,`FeatureMapUtil/1`,1260),J(760,1,{2006:1},Tlt),Q.$l=function(e){var t;return this.c==e||(t=nb(pC(this.a,e)),t==null?lnt(this,e)?(hFe(this.a,e,(by(),IJ)),!0):(hFe(this.a,e,(by(),FJ)),!1):t==(by(),IJ))},Q.e=!1;var hVt;R(hq,`FeatureMapUtil/BasicValidator`,760),J(761,44,RV,Bhe),R(hq,`FeatureMapUtil/BasicValidator/Cache`,761),J(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,72:1,98:1},W_),Q._c=function(e,t){vet(this.c,this.b,e,t)},Q.Ec=function(e){return nrt(this.c,this.b,e)},Q.ad=function(e,t){return pot(this.c,this.b,e,t)},Q.Fc=function(e){return qv(this,e)},Q.Ei=function(e,t){oze(this.c,this.b,e,t)},Q.Uk=function(e,t){return ant(this.c,this.b,e,t)},Q.Yi=function(e){return YR(this.c,this.b,e,!1)},Q.Gi=function(){return kme(this.c,this.b)},Q.Hi=function(){return Ame(this.c,this.b)},Q.Ii=function(e){return OIe(this.c,this.b,e)},Q.Vk=function(e,t){return Pve(this,e,t)},Q.$b=function(){lf(this)},Q.Gc=function(e){return hE(this.c,this.b,e)},Q.Hc=function(e){return IVe(this.c,this.b,e)},Q.Xb=function(e){return YR(this.c,this.b,e,!0)},Q.Dk=function(e){return this},Q.bd=function(e){return FNe(this.c,this.b,e)},Q.dc=function(){return I_(this)},Q.Oj=function(){return!hN(this.c,this.b)},Q.Jc=function(){return mRe(this.c,this.b)},Q.cd=function(){return hRe(this.c,this.b)},Q.dd=function(e){return DKe(this.c,this.b,e)},Q.Ri=function(e,t){return Dit(this.c,this.b,e,t)},Q.Si=function(e,t){NIe(this.c,this.b,e,t)},Q.ed=function(e){return l4e(this.c,this.b,e)},Q.Kc=function(e){return Jnt(this.c,this.b,e)},Q.fd=function(e,t){return aat(this.c,this.b,e,t)},Q.Wb=function(e){ZI(this.c,this.b),qv(this,F(e,16))},Q.gc=function(){return OKe(this.c,this.b)},Q.Nc=function(){return qje(this.c,this.b)},Q.Oc=function(e){return INe(this.c,this.b,e)},Q.Ib=function(){var e,t=new lm;for(t.a+=`[`,e=kme(this.c,this.b);xj(e);)Y_(t,hy(vP(e))),xj(e)&&(t.a+=rB);return t.a+=`]`,t.a},Q.Ek=function(){ZI(this.c,this.b)},R(hq,`FeatureMapUtil/FeatureEList`,495),J(635,39,dq,$Ne),Q.fj=function(e){return dM(this,e)},Q.kj=function(e){var t,n,r,i,a,o,s;switch(this.d){case 1:case 2:if(a=e.hj(),M(a)===M(this.c)&&dM(this,null)==e.fj(null))return this.g=e.gj(),e.ej()==1&&(this.d=1),!0;break;case 3:if(i=e.ej(),i===3&&(a=e.hj(),M(a)===M(this.c)&&dM(this,null)==e.fj(null)))return this.d=5,t=new TO(2),hD(t,this.g),hD(t,e.gj()),this.g=t,!0;break;case 5:if(i=e.ej(),i===3&&(a=e.hj(),M(a)===M(this.c)&&dM(this,null)==e.fj(null)))return n=F(this.g,18),n.Ec(e.gj()),!0;break;case 4:switch(i=e.ej(),i){case 3:if(a=e.hj(),M(a)===M(this.c)&&dM(this,null)==e.fj(null))return this.d=1,this.g=e.gj(),!0;break;case 4:if(a=e.hj(),M(a)===M(this.c)&&dM(this,null)==e.fj(null))return this.d=6,s=new TO(2),hD(s,this.n),hD(s,e.ij()),this.n=s,o=W(A(q9,1),cV,30,15,[this.o,e.jj()]),this.g=o,!0}break;case 6:if(i=e.ej(),i===4&&(a=e.hj(),M(a)===M(this.c)&&dM(this,null)==e.fj(null)))return n=F(this.n,18),n.Ec(e.ij()),o=F(this.g,54),r=H(q9,cV,30,o.length+1,15,1),OR(o,0,r,0,o.length),r[o.length]=e.jj(),this.g=r,!0}return!1},R(hq,`FeatureMapUtil/FeatureENotificationImpl`,635),J(554,495,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},Cx),Q.Ml=function(e,t){return nrt(this.c,e,t)},Q.Nl=function(e,t,n){return ant(this.c,e,t,n)},Q.Ol=function(e,t,n){return Kat(this.c,e,t,n)},Q.Pl=function(){return this},Q.Ql=function(e,t){return JR(this.c,e,t)},Q.Rl=function(e){return F(YR(this.c,this.b,e,!1),75).Jk()},Q.Sl=function(e){return F(YR(this.c,this.b,e,!1),75).kd()},Q.Tl=function(){return this.a},Q.Ul=function(e){return!hN(this.c,e)},Q.Vl=function(e,t){ez(this.c,e,t)},Q.Wl=function(e){return LBe(this.c,e)},Q.Xl=function(e){pZe(this.c,e)},R(hq,`FeatureMapUtil/FeatureFeatureMap`,554),J(1259,1,gq,Ipe),Q.Dk=function(e){return YR(this.b,this.a,-1,e)},Q.Oj=function(){return!hN(this.b,this.a)},Q.Wb=function(e){ez(this.b,this.a,e)},Q.Ek=function(){ZI(this.b,this.a)},R(hq,`FeatureMapUtil/FeatureValue`,1259);var g9,gVt,_Vt,_9,vVt,v9=Ox(Qq,`AnyType`);J(670,63,HB,nm),R(Qq,`InvalidDatatypeValueException`,670);var y9=Ox(Qq,Pyt),b9=Ox(Qq,Fyt),yVt=Ox(Qq,Iyt),bVt,x9,xVt,S9,SVt,CVt,wVt,TVt,EVt,DVt,OVt,kVt,AVt,jVt,MVt,C9,NVt,w9,T9,PVt,E9,D9,O9,FVt,k9,A9;J(829,502,{109:1,94:1,93:1,57:1,52:1,100:1,842:1},$f),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new sA(this,0)),this.c):(!this.c&&(this.c=new sA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new sA(this,0)),F(TT(this.c,(hz(),S9)),163)):(!this.c&&(this.c=new sA(this,0)),F(F(TT(this.c,(hz(),S9)),163),219)).Tl();case 2:return n?(!this.b&&(this.b=new sA(this,2)),this.b):(!this.b&&(this.b=new sA(this,2)),this.b.b)}return OD(this,e-tC(this.fi()),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():this.fi(),e),t,n)},Q.Rh=function(e,t,n){var r;switch(t){case 0:return!this.c&&(this.c=new sA(this,0)),dR(this.c,e,n);case 1:return(!this.c&&(this.c=new sA(this,0)),F(F(TT(this.c,(hz(),S9)),163),72)).Vk(e,n);case 2:return!this.b&&(this.b=new sA(this,2)),dR(this.b,e,n)}return r=F(yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():this.fi(),t),69),r.uk().yk(this,rRe(this),t-tC(this.fi()),e,n)},Q.Th=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new sA(this,0)),F(TT(this.c,(hz(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return uE(this,e-tC(this.fi()),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():this.fi(),e))},Q.$h=function(e,t){switch(e){case 0:!this.c&&(this.c=new sA(this,0)),WS(this.c,t);return;case 1:(!this.c&&(this.c=new sA(this,0)),F(F(TT(this.c,(hz(),S9)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new sA(this,2)),WS(this.b,t);return}YM(this,e-tC(this.fi()),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():this.fi(),e),t)},Q.fi=function(){return hz(),xVt},Q.hi=function(e){switch(e){case 0:!this.c&&(this.c=new sA(this,0)),uz(this.c);return;case 1:(!this.c&&(this.c=new sA(this,0)),F(TT(this.c,(hz(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new sA(this,2)),uz(this.b);return}sM(this,e-tC(this.fi()),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():this.fi(),e))},Q.Ib=function(){var e;return this.j&4?cL(this):(e=new gy(cL(this)),e.a+=` (mixed: `,J_(e,this.c),e.a+=`, anyAttribute: `,J_(e,this.b),e.a+=`)`,e.a)},R($q,`AnyTypeImpl`,829),J(671,502,{109:1,94:1,93:1,57:1,52:1,100:1,2084:1,671:1},vs),Q.Ih=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return OD(this,e-tC((hz(),C9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():C9,e),t,n)},Q.Th=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return uE(this,e-tC((hz(),C9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():C9,e))},Q.$h=function(e,t){switch(e){case 0:hl(this,rb(t));return;case 1:dae(this,rb(t));return}YM(this,e-tC((hz(),C9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():C9,e),t)},Q.fi=function(){return hz(),C9},Q.hi=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}sM(this,e-tC((hz(),C9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():C9,e))},Q.Ib=function(){var e;return this.j&4?cL(this):(e=new gy(cL(this)),e.a+=` (data: `,Y_(e,this.a),e.a+=`, target: `,Y_(e,this.b),e.a+=`)`,e.a)},Q.a=null,Q.b=null,R($q,`ProcessingInstructionImpl`,671),J(672,829,{109:1,94:1,93:1,57:1,52:1,100:1,842:1,2085:1,672:1},ep),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new sA(this,0)),this.c):(!this.c&&(this.c=new sA(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new sA(this,0)),F(TT(this.c,(hz(),S9)),163)):(!this.c&&(this.c=new sA(this,0)),F(F(TT(this.c,(hz(),S9)),163),219)).Tl();case 2:return n?(!this.b&&(this.b=new sA(this,2)),this.b):(!this.b&&(this.b=new sA(this,2)),this.b.b);case 3:return!this.c&&(this.c=new sA(this,0)),rb(JR(this.c,(hz(),T9),!0));case 4:return vye(this.a,(!this.c&&(this.c=new sA(this,0)),rb(JR(this.c,(hz(),T9),!0))));case 5:return this.a}return OD(this,e-tC((hz(),w9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():w9,e),t,n)},Q.Th=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new sA(this,0)),F(TT(this.c,(hz(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new sA(this,0)),rb(JR(this.c,(hz(),T9),!0))!=null;case 4:return vye(this.a,(!this.c&&(this.c=new sA(this,0)),rb(JR(this.c,(hz(),T9),!0))))!=null;case 5:return!!this.a}return uE(this,e-tC((hz(),w9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():w9,e))},Q.$h=function(e,t){switch(e){case 0:!this.c&&(this.c=new sA(this,0)),WS(this.c,t);return;case 1:(!this.c&&(this.c=new sA(this,0)),F(F(TT(this.c,(hz(),S9)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new sA(this,2)),WS(this.b,t);return;case 3:Kje(this,rb(t));return;case 4:Kje(this,_ye(this.a,t));return;case 5:uae(this,F(t,159));return}YM(this,e-tC((hz(),w9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():w9,e),t)},Q.fi=function(){return hz(),w9},Q.hi=function(e){switch(e){case 0:!this.c&&(this.c=new sA(this,0)),uz(this.c);return;case 1:(!this.c&&(this.c=new sA(this,0)),F(TT(this.c,(hz(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new sA(this,2)),uz(this.b);return;case 3:!this.c&&(this.c=new sA(this,0)),ez(this.c,(hz(),T9),null);return;case 4:Kje(this,_ye(this.a,null));return;case 5:this.a=null;return}sM(this,e-tC((hz(),w9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():w9,e))},R($q,`SimpleAnyTypeImpl`,672),J(673,502,{109:1,94:1,93:1,57:1,52:1,100:1,2086:1,673:1},tp),Q.Ih=function(e,t,n){switch(e){case 0:return n?(!this.a&&(this.a=new sA(this,0)),this.a):(!this.a&&(this.a=new sA(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new yD((Kz(),o9),d9,this,1)),this.b):(!this.b&&(this.b=new yD((Kz(),o9),d9,this,1)),oD(this.b));case 2:return n?(!this.c&&(this.c=new yD((Kz(),o9),d9,this,2)),this.c):(!this.c&&(this.c=new yD((Kz(),o9),d9,this,2)),oD(this.c));case 3:return!this.a&&(this.a=new sA(this,0)),TT(this.a,(hz(),D9));case 4:return!this.a&&(this.a=new sA(this,0)),TT(this.a,(hz(),O9));case 5:return!this.a&&(this.a=new sA(this,0)),TT(this.a,(hz(),k9));case 6:return!this.a&&(this.a=new sA(this,0)),TT(this.a,(hz(),A9))}return OD(this,e-tC((hz(),E9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():E9,e),t,n)},Q.Rh=function(e,t,n){var r;switch(t){case 0:return!this.a&&(this.a=new sA(this,0)),dR(this.a,e,n);case 1:return!this.b&&(this.b=new yD((Kz(),o9),d9,this,1)),jb(this.b,e,n);case 2:return!this.c&&(this.c=new yD((Kz(),o9),d9,this,2)),jb(this.c,e,n);case 5:return!this.a&&(this.a=new sA(this,0)),Pve(TT(this.a,(hz(),k9)),e,n)}return r=F(yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():(hz(),E9),t),69),r.uk().yk(this,rRe(this),t-tC((hz(),E9)),e,n)},Q.Th=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 sA(this,0)),!I_(TT(this.a,(hz(),D9)));case 4:return!this.a&&(this.a=new sA(this,0)),!I_(TT(this.a,(hz(),O9)));case 5:return!this.a&&(this.a=new sA(this,0)),!I_(TT(this.a,(hz(),k9)));case 6:return!this.a&&(this.a=new sA(this,0)),!I_(TT(this.a,(hz(),A9)))}return uE(this,e-tC((hz(),E9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():E9,e))},Q.$h=function(e,t){switch(e){case 0:!this.a&&(this.a=new sA(this,0)),WS(this.a,t);return;case 1:!this.b&&(this.b=new yD((Kz(),o9),d9,this,1)),aA(this.b,t);return;case 2:!this.c&&(this.c=new yD((Kz(),o9),d9,this,2)),aA(this.c,t);return;case 3:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),D9))),!this.a&&(this.a=new sA(this,0)),qv(TT(this.a,D9),F(t,18));return;case 4:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),O9))),!this.a&&(this.a=new sA(this,0)),qv(TT(this.a,O9),F(t,18));return;case 5:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),k9))),!this.a&&(this.a=new sA(this,0)),qv(TT(this.a,k9),F(t,18));return;case 6:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),A9))),!this.a&&(this.a=new sA(this,0)),qv(TT(this.a,A9),F(t,18));return}YM(this,e-tC((hz(),E9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():E9,e),t)},Q.fi=function(){return hz(),E9},Q.hi=function(e){switch(e){case 0:!this.a&&(this.a=new sA(this,0)),uz(this.a);return;case 1:!this.b&&(this.b=new yD((Kz(),o9),d9,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new yD((Kz(),o9),d9,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),D9)));return;case 4:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),O9)));return;case 5:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),k9)));return;case 6:!this.a&&(this.a=new sA(this,0)),lf(TT(this.a,(hz(),A9)));return}sM(this,e-tC((hz(),E9)),yO(this.j&2?(!this.k&&(this.k=new xc),this.k).Lk():E9,e))},Q.Ib=function(){var e;return this.j&4?cL(this):(e=new gy(cL(this)),e.a+=` (mixed: `,J_(e,this.a),e.a+=`)`,e.a)},R($q,`XMLTypeDocumentRootImpl`,673),J(1993,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2087:1},_s),Q.oi=function(e,t){switch(e.fk()){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:XM(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return rb(t);case 6:return $_e(F(t,195));case 12:case 47:case 49:case 11:return vct(this,e,t);case 13:return t==null?null:bot(F(t,247));case 15:case 14:return t==null?null:FTe(k(P(t)));case 17:return c1e((hz(),t));case 18:return c1e(t);case 21:case 20:return t==null?null:ITe(F(t,164).a);case 27:return eve(F(t,195));case 30:return mZe((hz(),F(t,16)));case 31:return mZe(F(t,16));case 40:return Q_e((hz(),t));case 42:return l1e((hz(),t));case 43:return l1e(t);case 59:case 48:return Z_e((hz(),t));default:throw O(new Hp(EK+e.ve()+DK))}},Q.pi=function(e){var t,n,r,i,a;switch(e.G==-1&&(e.G=(n=LO(e),n?SP(n.si(),e):-1)),e.G){case 0:return t=new $f,t;case 1:return r=new vs,r;case 2:return i=new ep,i;case 3:return a=new tp,a;default:throw O(new Hp(AK+e.zb+DK))}},Q.qi=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;switch(e.fk()){case 5:case 52:case 4:return t;case 6:return IYe(t);case 8:case 7:return t==null?null:S1e(t);case 9:return t==null?null:eO(_R((r=QR(t,!0),r.length>0&&(kT(0,r.length),r.charCodeAt(0)==43)?(kT(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:eO(_R((i=QR(t,!0),i.length>0&&(kT(0,i.length),i.charCodeAt(0)==43)?(kT(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 11:return rb(Fz(this,(hz(),wVt),t));case 12:return rb(Fz(this,(hz(),TVt),t));case 13:return t==null?null:new Tle(QR(t,!0));case 15:case 14:return f7e(t);case 16:return rb(Fz(this,(hz(),EVt),t));case 17:return SJe((hz(),t));case 18:return SJe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return QR(t,!0);case 21:case 20:return E7e(t);case 22:return rb(Fz(this,(hz(),DVt),t));case 23:return rb(Fz(this,(hz(),OVt),t));case 24:return rb(Fz(this,(hz(),kVt),t));case 25:return rb(Fz(this,(hz(),AVt),t));case 26:return rb(Fz(this,(hz(),jVt),t));case 27:return SYe(t);case 30:return CJe((hz(),t));case 31:return CJe(t);case 32:return t==null?null:K(_R((u=QR(t,!0),u.length>0&&(kT(0,u.length),u.charCodeAt(0)==43)?(kT(1,u.length+1),u.substr(1)):u),VB,$z));case 33:return t==null?null:new Ov((d=QR(t,!0),d.length>0&&(kT(0,d.length),d.charCodeAt(0)==43)?(kT(1,d.length+1),d.substr(1)):d));case 34:return t==null?null:K(_R((f=QR(t,!0),f.length>0&&(kT(0,f.length),f.charCodeAt(0)==43)?(kT(1,f.length+1),f.substr(1)):f),VB,$z));case 36:return t==null?null:VN(kz((p=QR(t,!0),p.length>0&&(kT(0,p.length),p.charCodeAt(0)==43)?(kT(1,p.length+1),p.substr(1)):p)));case 37:return t==null?null:VN(kz((m=QR(t,!0),m.length>0&&(kT(0,m.length),m.charCodeAt(0)==43)?(kT(1,m.length+1),m.substr(1)):m)));case 40:return $Xe((hz(),t));case 42:return wJe((hz(),t));case 43:return wJe(t);case 44:return t==null?null:new Ov((h=QR(t,!0),h.length>0&&(kT(0,h.length),h.charCodeAt(0)==43)?(kT(1,h.length+1),h.substr(1)):h));case 45:return t==null?null:new Ov((g=QR(t,!0),g.length>0&&(kT(0,g.length),g.charCodeAt(0)==43)?(kT(1,g.length+1),g.substr(1)):g));case 46:return QR(t,!1);case 47:return rb(Fz(this,(hz(),MVt),t));case 59:case 48:return QXe((hz(),t));case 49:return rb(Fz(this,(hz(),NVt),t));case 50:return t==null?null:$j(_R((_=QR(t,!0),_.length>0&&(kT(0,_.length),_.charCodeAt(0)==43)?(kT(1,_.length+1),_.substr(1)):_),Lq,32767)<<16>>16);case 51:return t==null?null:$j(_R((a=QR(t,!0),a.length>0&&(kT(0,a.length),a.charCodeAt(0)==43)?(kT(1,a.length+1),a.substr(1)):a),Lq,32767)<<16>>16);case 53:return rb(Fz(this,(hz(),PVt),t));case 55:return t==null?null:$j(_R((o=QR(t,!0),o.length>0&&(kT(0,o.length),o.charCodeAt(0)==43)?(kT(1,o.length+1),o.substr(1)):o),Lq,32767)<<16>>16);case 56:return t==null?null:$j(_R((s=QR(t,!0),s.length>0&&(kT(0,s.length),s.charCodeAt(0)==43)?(kT(1,s.length+1),s.substr(1)):s),Lq,32767)<<16>>16);case 57:return t==null?null:VN(kz((c=QR(t,!0),c.length>0&&(kT(0,c.length),c.charCodeAt(0)==43)?(kT(1,c.length+1),c.substr(1)):c)));case 58:return t==null?null:VN(kz((l=QR(t,!0),l.length>0&&(kT(0,l.length),l.charCodeAt(0)==43)?(kT(1,l.length+1),l.substr(1)):l)));case 60:return t==null?null:K(_R((n=QR(t,!0),n.length>0&&(kT(0,n.length),n.charCodeAt(0)==43)?(kT(1,n.length+1),n.substr(1)):n),VB,$z));case 61:return t==null?null:K(_R(QR(t,!0),VB,$z));default:throw O(new Hp(EK+e.ve()+DK))}};var IVt,LVt,RVt,zVt;R($q,`XMLTypeFactoryImpl`,1993),J(583,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2009:1,583:1},YEe),Q.N=!1,Q.O=!1;var BVt=!1;R($q,`XMLTypePackageImpl`,583),J(1926,1,{836:1},Sre),Q.Ik=function(){return Cit(),oHt},R($q,`XMLTypePackageImpl/1`,1926),J(1935,1,Vq,Cre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/10`,1935),J(1936,1,Vq,wre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/11`,1936),J(1937,1,Vq,Tre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/12`,1937),J(1938,1,Vq,Ere),Q.dk=function(e){return R_(e)},Q.ek=function(e){return H(BJ,vB,346,e,7,1)},R($q,`XMLTypePackageImpl/13`,1938),J(1939,1,Vq,ys),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/14`,1939),J(1940,1,Vq,bs),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(yJ,hH,16,e,0,1)},R($q,`XMLTypePackageImpl/15`,1940),J(1941,1,Vq,Dre),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(yJ,hH,16,e,0,1)},R($q,`XMLTypePackageImpl/16`,1941),J(1942,1,Vq,xs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/17`,1942),J(1943,1,Vq,Ore),Q.dk=function(e){return N(e,164)},Q.ek=function(e){return H(VJ,vB,164,e,0,1)},R($q,`XMLTypePackageImpl/18`,1943),J(1944,1,Vq,Ss),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/19`,1944),J(1927,1,Vq,Cs),Q.dk=function(e){return N(e,842)},Q.ek=function(e){return H(v9,iB,842,e,0,1)},R($q,`XMLTypePackageImpl/2`,1927),J(1945,1,Vq,ws),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/20`,1945),J(1946,1,Vq,Ts),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/21`,1946),J(1947,1,Vq,Es),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/22`,1947),J(1948,1,Vq,kre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/23`,1948),J(1949,1,Vq,Ds),Q.dk=function(e){return N(e,195)},Q.ek=function(e){return H(X9,vB,195,e,0,2)},R($q,`XMLTypePackageImpl/24`,1949),J(1950,1,Vq,Are),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/25`,1950),J(1951,1,Vq,Os),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/26`,1951),J(1952,1,Vq,ks),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(yJ,hH,16,e,0,1)},R($q,`XMLTypePackageImpl/27`,1952),J(1953,1,Vq,As),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(yJ,hH,16,e,0,1)},R($q,`XMLTypePackageImpl/28`,1953),J(1954,1,Vq,js),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/29`,1954),J(1928,1,Vq,Ms),Q.dk=function(e){return N(e,671)},Q.ek=function(e){return H(y9,iB,2084,e,0,1)},R($q,`XMLTypePackageImpl/3`,1928),J(1955,1,Vq,Ns),Q.dk=function(e){return N(e,15)},Q.ek=function(e){return H(HJ,vB,15,e,0,1)},R($q,`XMLTypePackageImpl/30`,1955),J(1956,1,Vq,Ps),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/31`,1956),J(1957,1,Vq,jre),Q.dk=function(e){return N(e,190)},Q.ek=function(e){return H(UJ,vB,190,e,0,1)},R($q,`XMLTypePackageImpl/32`,1957),J(1958,1,Vq,Mre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/33`,1958),J(1959,1,Vq,Nre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/34`,1959),J(1960,1,Vq,Pre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/35`,1960),J(1961,1,Vq,Fre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/36`,1961),J(1962,1,Vq,Fs),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(yJ,hH,16,e,0,1)},R($q,`XMLTypePackageImpl/37`,1962),J(1963,1,Vq,Is),Q.dk=function(e){return N(e,16)},Q.ek=function(e){return H(yJ,hH,16,e,0,1)},R($q,`XMLTypePackageImpl/38`,1963),J(1964,1,Vq,Ire),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/39`,1964),J(1929,1,Vq,Lre),Q.dk=function(e){return N(e,672)},Q.ek=function(e){return H(b9,iB,2085,e,0,1)},R($q,`XMLTypePackageImpl/4`,1929),J(1965,1,Vq,Rre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/40`,1965),J(1966,1,Vq,zre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/41`,1966),J(1967,1,Vq,Ls),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/42`,1967),J(1968,1,Vq,Rs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/43`,1968),J(1969,1,Vq,zs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/44`,1969),J(1970,1,Vq,Bs),Q.dk=function(e){return N(e,191)},Q.ek=function(e){return H(GJ,vB,191,e,0,1)},R($q,`XMLTypePackageImpl/45`,1970),J(1971,1,Vq,Vs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/46`,1971),J(1972,1,Vq,Hs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/47`,1972),J(1973,1,Vq,Bre),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/48`,1973),J(1974,1,Vq,Us),Q.dk=function(e){return N(e,191)},Q.ek=function(e){return H(GJ,vB,191,e,0,1)},R($q,`XMLTypePackageImpl/49`,1974),J(1930,1,Vq,Ws),Q.dk=function(e){return N(e,673)},Q.ek=function(e){return H(yVt,iB,2086,e,0,1)},R($q,`XMLTypePackageImpl/5`,1930),J(1975,1,Vq,Gs),Q.dk=function(e){return N(e,190)},Q.ek=function(e){return H(UJ,vB,190,e,0,1)},R($q,`XMLTypePackageImpl/50`,1975),J(1976,1,Vq,Ks),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/51`,1976),J(1977,1,Vq,Vre),Q.dk=function(e){return N(e,15)},Q.ek=function(e){return H(HJ,vB,15,e,0,1)},R($q,`XMLTypePackageImpl/52`,1977),J(1931,1,Vq,qs),Q.dk=function(e){return z_(e)},Q.ek=function(e){return H(KJ,vB,2,e,6,1)},R($q,`XMLTypePackageImpl/6`,1931),J(1932,1,Vq,Js),Q.dk=function(e){return N(e,195)},Q.ek=function(e){return H(X9,vB,195,e,0,2)},R($q,`XMLTypePackageImpl/7`,1932),J(1933,1,Vq,Hre),Q.dk=function(e){return L_(e)},Q.ek=function(e){return H(LJ,vB,473,e,8,1)},R($q,`XMLTypePackageImpl/8`,1933),J(1934,1,Vq,Ure),Q.dk=function(e){return N(e,221)},Q.ek=function(e){return H(RJ,vB,221,e,0,1)},R($q,`XMLTypePackageImpl/9`,1934);var j9,M9,N9,P9,$;J(53,63,HB,tm),R(iJ,`RegEx/ParseException`,53),J(821,1,{},Wre),Q._l=function(e){return en*16)throw O(new tm(Jz((Iv(),Pvt))));n=n*16+i}while(1);if(this.a!=125)throw O(new tm(Jz((Iv(),Fvt))));if(n>aJ)throw O(new tm(Jz((Iv(),Ivt))));e=n}else{if(i=0,this.c!=0||(i=LP(this.a))<0||(n=i,Rz(this),this.c!=0||(i=LP(this.a))<0))throw O(new tm(Jz((Iv(),lq))));n=n*16+i,e=n}break;case 117:if(r=0,Rz(this),this.c!=0||(r=LP(this.a))<0||(t=r,Rz(this),this.c!=0||(r=LP(this.a))<0)||(t=t*16+r,Rz(this),this.c!=0||(r=LP(this.a))<0)||(t=t*16+r,Rz(this),this.c!=0||(r=LP(this.a))<0))throw O(new tm(Jz((Iv(),lq))));t=t*16+r,e=t;break;case 118:if(Rz(this),this.c!=0||(r=LP(this.a))<0||(t=r,Rz(this),this.c!=0||(r=LP(this.a))<0)||(t=t*16+r,Rz(this),this.c!=0||(r=LP(this.a))<0)||(t=t*16+r,Rz(this),this.c!=0||(r=LP(this.a))<0)||(t=t*16+r,Rz(this),this.c!=0||(r=LP(this.a))<0)||(t=t*16+r,Rz(this),this.c!=0||(r=LP(this.a))<0))throw O(new tm(Jz((Iv(),lq))));if(t=t*16+r,t>aJ)throw O(new tm(Jz((Iv(),`parser.descappe.4`))));e=t;break;case 65:case 90:case 122:throw O(new tm(Jz((Iv(),Lvt))))}return e},Q.bm=function(e){var t,n;switch(e){case 100:n=(this.e&32)==32?Az(`Nd`,!0):(Wz(),B9);break;case 68:n=(this.e&32)==32?Az(`Nd`,!1):(Wz(),YVt);break;case 119:n=(this.e&32)==32?Az(`IsWord`,!0):(Wz(),U9);break;case 87:n=(this.e&32)==32?Az(`IsWord`,!1):(Wz(),ZVt);break;case 115:n=(this.e&32)==32?Az(`IsSpace`,!0):(Wz(),H9);break;case 83:n=(this.e&32)==32?Az(`IsSpace`,!1):(Wz(),XVt);break;default:throw O(new wp((t=e,ibt+t.toString(16))))}return n},Q.cm=function(e){var t,n,r,i,a,o,s,c,l,u,d,f;for(this.b=1,Rz(this),t=null,this.c==0&&this.a==94?(Rz(this),e?u=(Wz(),Wz(),++W9,new RT(5)):(t=(Wz(),Wz(),++W9,new RT(4)),VL(t,0,aJ),u=(++W9,new RT(4)))):u=(Wz(),Wz(),++W9,new RT(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:$R(u,this.bm(n)),r=!0;break;case 105:case 73:case 99:case 67:n=this.sm(u,n),n<0&&(r=!0);break;case 112:case 80:if(d=g6e(this,n),!d)throw O(new tm(Jz((Iv(),oq))));$R(u,d),r=!0;break;default:n=this.am()}else if(f==20){if(o=Ry(this.i,58,this.d),o<0)throw O(new tm(Jz((Iv(),Evt))));if(s=!0,IC(this.i,this.d)==94&&(++this.d,s=!1),a=jw(this.i,this.d,o),c=YIe(a,s,(this.e&512)==512),!c)throw O(new tm(Jz((Iv(),Dvt))));if($R(u,c),r=!0,o+1>=this.j||IC(this.i,o+1)!=93)throw O(new tm(Jz((Iv(),Evt))));this.d=o+2}if(Rz(this),!r){if(this.c!=0||this.a!=45)VL(u,n,n);else{if(Rz(this),(f=this.c)==1)throw O(new tm(Jz((Iv(),sq))));f==0&&this.a==93?(VL(u,n,n),VL(u,45,45)):(l=this.a,f==10&&(l=this.am()),Rz(this),VL(u,n,l))}}(this.e&mq)==mq&&this.c==0&&this.a==44&&Rz(this)}if(this.c==1)throw O(new tm(Jz((Iv(),sq))));return t&&(_z(t,u),u=t),sL(u),sz(u),this.b=0,Rz(this),u},Q.dm=function(){for(var e,t,n=this.cm(!1),r;(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(Rz(this),this.c!=9)throw O(new tm(Jz((Iv(),jvt))));if(t=this.cm(!1),r==4)$R(n,t);else if(e==45)_z(n,t);else if(e==38)act(n,t);else throw O(new wp(`ASSERT`))}else throw O(new tm(Jz((Iv(),Mvt))));return Rz(this),n},Q.em=function(){var e=this.a-48,t=(Wz(),Wz(),++W9,new zw(12,null,e));return!this.g&&(this.g=new ff),af(this.g,new Td(e)),Rz(this),t},Q.fm=function(){return Rz(this),Wz(),$Vt},Q.gm=function(){return Rz(this),Wz(),QVt},Q.hm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.im=function(){throw O(new tm(Jz((Iv(),uq))))},Q.jm=function(){return Rz(this),iWe()},Q.km=function(){return Rz(this),Wz(),tHt},Q.lm=function(){return Rz(this),Wz(),rHt},Q.mm=function(){var e;if(this.d>=this.j||((e=IC(this.i,this.d++))&65504)!=64)throw O(new tm(Jz((Iv(),Svt))));return Rz(this),Wz(),Wz(),++W9,new Rx(0,e-64)},Q.nm=function(){return Rz(this),Kit()},Q.om=function(){return Rz(this),Wz(),iHt},Q.pm=function(){var e=(Wz(),Wz(),++W9,new Rx(0,105));return Rz(this),e},Q.qm=function(){return Rz(this),Wz(),nHt},Q.rm=function(){return Rz(this),Wz(),eHt},Q.sm=function(e,t){return this.am()},Q.tm=function(){return Rz(this),Wz(),qVt},Q.um=function(){var e,t,n,r,i;if(this.d+1>=this.j)throw O(new tm(Jz((Iv(),yvt))));if(r=-1,t=null,e=IC(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new ff),af(this.g,new Td(r)),++this.d,IC(this.i,this.d)!=41)throw O(new tm(Jz((Iv(),aq))));++this.d}else switch(e==63&&--this.d,Rz(this),t=Xut(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw O(new tm(Jz((Iv(),aq))));break;default:throw O(new tm(Jz((Iv(),bvt))))}if(Rz(this),i=FN(this),n=null,i.e==2){if(i.Nm()!=2)throw O(new tm(Jz((Iv(),xvt))));n=i.Jm(1),i=i.Jm(0)}if(this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),Wz(),Wz(),++W9,new URe(r,t,i,n)},Q.vm=function(){return Rz(this),Wz(),JVt},Q.wm=function(){var e;if(Rz(this),e=MS(24,FN(this)),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),e},Q.xm=function(){var e;if(Rz(this),e=MS(20,FN(this)),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),e},Q.ym=function(){var e;if(Rz(this),e=MS(22,FN(this)),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),e},Q.zm=function(){var e=0,t,n=0,r,i;for(t=-1;this.d=this.j)throw O(new tm(Jz((Iv(),_vt))));if(t==45){for(++this.d;this.d=this.j)throw O(new tm(Jz((Iv(),_vt))))}if(t==58){if(++this.d,Rz(this),r=YTe(FN(this),e,n),this.c!=7)throw O(new tm(Jz((Iv(),aq))));Rz(this)}else if(t==41)++this.d,Rz(this),r=YTe(FN(this),e,n);else throw O(new tm(Jz((Iv(),vvt))));return r},Q.Am=function(){var e;if(Rz(this),e=MS(21,FN(this)),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),e},Q.Bm=function(){var e;if(Rz(this),e=MS(23,FN(this)),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),e},Q.Cm=function(){var e,t;if(Rz(this),e=this.f++,t=NS(FN(this),e),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),t},Q.Dm=function(){var e;if(Rz(this),e=NS(FN(this),0),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),e},Q.Em=function(e){return Rz(this),this.c==5?(Rz(this),Lx(e,(Wz(),Wz(),++W9,new vE(9,e)))):Lx(e,(Wz(),Wz(),++W9,new vE(3,e)))},Q.Fm=function(e){var t;return Rz(this),t=(Wz(),Wz(),++W9,new Lv(2)),this.c==5?(Rz(this),lz(t,V9),lz(t,e)):(lz(t,e),lz(t,V9)),t},Q.Gm=function(e){return Rz(this),this.c==5?(Rz(this),Wz(),Wz(),++W9,new vE(9,e)):(Wz(),Wz(),++W9,new vE(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(iJ,`RegEx/RegexParser`,821),J(1913,821,{},Yse),Q._l=function(e){return!1},Q.am=function(){return gtt(this)},Q.bm=function(e){return vR(e)},Q.cm=function(e){return hdt(this)},Q.dm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.em=function(){throw O(new tm(Jz((Iv(),uq))))},Q.fm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.gm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.hm=function(){return Rz(this),vR(67)},Q.im=function(){return Rz(this),vR(73)},Q.jm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.km=function(){throw O(new tm(Jz((Iv(),uq))))},Q.lm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.mm=function(){return Rz(this),vR(99)},Q.nm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.om=function(){throw O(new tm(Jz((Iv(),uq))))},Q.pm=function(){return Rz(this),vR(105)},Q.qm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.rm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.sm=function(e,t){return $R(e,vR(t)),-1},Q.tm=function(){return Rz(this),Wz(),Wz(),++W9,new Rx(0,94)},Q.um=function(){throw O(new tm(Jz((Iv(),uq))))},Q.vm=function(){return Rz(this),Wz(),Wz(),++W9,new Rx(0,36)},Q.wm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.xm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.ym=function(){throw O(new tm(Jz((Iv(),uq))))},Q.zm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.Am=function(){throw O(new tm(Jz((Iv(),uq))))},Q.Bm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.Cm=function(){var e;if(Rz(this),e=NS(FN(this),0),this.c!=7)throw O(new tm(Jz((Iv(),aq))));return Rz(this),e},Q.Dm=function(){throw O(new tm(Jz((Iv(),uq))))},Q.Em=function(e){return Rz(this),Lx(e,(Wz(),Wz(),++W9,new vE(3,e)))},Q.Fm=function(e){var t;return Rz(this),t=(Wz(),Wz(),++W9,new Lv(2)),lz(t,e),lz(t,V9),t},Q.Gm=function(e){return Rz(this),Wz(),Wz(),++W9,new vE(3,e)};var F9=null,I9=null;R(iJ,`RegEx/ParserForXMLSchema`,1913),J(121,1,fJ,Ed),Q.Hm=function(e){throw O(new wp(`Not supported.`))},Q.Im=function(){return-1},Q.Jm=function(e){return null},Q.Km=function(){return null},Q.Lm=function(e){},Q.Mm=function(e){},Q.Nm=function(){return 0},Q.Ib=function(){return this.Om(0)},Q.Om=function(e){return this.e==11?`.`:``},Q.e=0;var VVt,L9,R9,HVt,UVt,z9=null,B9,WVt=null,GVt,V9,KVt=null,qVt,JVt,YVt,XVt,ZVt,QVt,H9,$Vt,eHt,tHt,nHt,U9,rHt,iHt,W9=0,aHt=R(iJ,`RegEx/Token`,121);J(137,121,{3:1,137:1,121:1},RT),Q.Om=function(e){var t,n,r;if(this.e==4){if(this==GVt)n=`.`;else if(this==B9)n=`\\d`;else if(this==U9)n=`\\w`;else if(this==H9)n=`\\s`;else{for(r=new lm,r.a+=`[`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?Y_(r,IR(this.b[t])):(Y_(r,IR(this.b[t])),r.a+=`-`,Y_(r,IR(this.b[t+1])));r.a+=`]`,n=r.a}}else if(this==YVt)n=`\\D`;else if(this==ZVt)n=`\\W`;else if(this==XVt)n=`\\S`;else{for(r=new lm,r.a+=`[^`,t=0;t0&&(r.a+=`,`),this.b[t]===this.b[t+1]?Y_(r,IR(this.b[t])):(Y_(r,IR(this.b[t])),r.a+=`-`,Y_(r,IR(this.b[t+1])));r.a+=`]`,n=r.a}return n},Q.a=!1,Q.c=!1,R(iJ,`RegEx/RangeToken`,137),J(581,1,{581:1},Td),Q.a=0,R(iJ,`RegEx/RegexParser/ReferencePosition`,581),J(580,1,{3:1,580:1},kue),Q.Fb=function(e){var t;return e==null||!N(e,580)?!1:(t=F(e,580),kb(this.b,t.b)&&this.a==t.a)},Q.Hb=function(){return hj(this.b+`/`+I9e(this.a))},Q.Ib=function(){return this.c.Om(this.a)},Q.a=0,R(iJ,`RegEx/RegularExpression`,580),J(228,121,fJ,Rx),Q.Im=function(){return this.a},Q.Om=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=`\\`+gb(this.a&JB);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>=jV?(n=(t=this.a>>>0,`0`+t.toString(16)),r=`\\v`+jw(n,n.length-6,n.length)):r=``+gb(this.a&JB)}break;case 8:r=this==qVt||this==JVt?``+gb(this.a&JB):`\\`+gb(this.a&JB);break;default:r=null}return r},Q.a=0,R(iJ,`RegEx/Token/CharToken`,228),J(323,121,fJ,vE),Q.Jm=function(e){return this.a},Q.Lm=function(e){this.b=e},Q.Mm=function(e){this.c=e},Q.Nm=function(){return 1},Q.Om=function(e){var t;if(this.e==3){if(this.c<0&&this.b<0)t=this.a.Om(e)+`*`;else if(this.c==this.b)t=this.a.Om(e)+`{`+this.c+`}`;else if(this.c>=0&&this.b>=0)t=this.a.Om(e)+`{`+this.c+`,`+this.b+`}`;else if(this.c>=0&&this.b<0)t=this.a.Om(e)+`{`+this.c+`,}`;else throw O(new wp(`Token#toString(): CLOSURE `+this.c+rB+this.b))}else if(this.c<0&&this.b<0)t=this.a.Om(e)+`*?`;else if(this.c==this.b)t=this.a.Om(e)+`{`+this.c+`}?`;else if(this.c>=0&&this.b>=0)t=this.a.Om(e)+`{`+this.c+`,`+this.b+`}?`;else if(this.c>=0&&this.b<0)t=this.a.Om(e)+`{`+this.c+`,}?`;else throw O(new wp(`Token#toString(): NONGREEDYCLOSURE `+this.c+rB+this.b));return t},Q.b=0,Q.c=0,R(iJ,`RegEx/Token/ClosureToken`,323),J(822,121,fJ,MTe),Q.Jm=function(e){return e==0?this.a:this.b},Q.Nm=function(){return 2},Q.Om=function(e){return this.b.e==3&&this.b.Jm(0)==this.a?this.a.Om(e)+`+`:this.b.e==9&&this.b.Jm(0)==this.a?this.a.Om(e)+`+?`:this.a.Om(e)+(``+this.b.Om(e))},R(iJ,`RegEx/Token/ConcatToken`,822),J(1911,121,fJ,URe),Q.Jm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw O(new wp(`Internal Error: `+e))},Q.Nm=function(){return this.b?2:1},Q.Om=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(iJ,`RegEx/Token/ConditionToken`,1911),J(1912,121,fJ,hje),Q.Jm=function(e){return this.b},Q.Nm=function(){return 1},Q.Om=function(e){return`(?`+(this.a==0?``:I9e(this.a))+(this.c==0?``:I9e(this.c))+`:`+this.b.Om(e)+`)`},Q.a=0,Q.c=0,R(iJ,`RegEx/Token/ModifierToken`,1912),J(823,121,fJ,wEe),Q.Jm=function(e){return this.a},Q.Nm=function(){return 1},Q.Om=function(e){var t=null;switch(this.e){case 6:t=this.b==0?`(?:`+this.a.Om(e)+`)`:`(`+this.a.Om(e)+`)`;break;case 20:t=`(?=`+this.a.Om(e)+`)`;break;case 21:t=`(?!`+this.a.Om(e)+`)`;break;case 22:t=`(?<=`+this.a.Om(e)+`)`;break;case 23:t=`(?`+this.a.Om(e)+`)`}return t},Q.b=0,R(iJ,`RegEx/Token/ParenToken`,823),J(518,121,{3:1,121:1,518:1},zw),Q.Km=function(){return this.b},Q.Om=function(e){return this.e==12?`\\`+this.a:W5e(this.b)},Q.a=0,R(iJ,`RegEx/Token/StringToken`,518),J(466,121,fJ,Lv),Q.Hm=function(e){lz(this,e)},Q.Jm=function(e){return F(TC(this.a,e),121)},Q.Nm=function(){return this.a?this.a.a.c.length:0},Q.Om=function(e){var t,n,r,i,a;if(this.e==1){if(this.a.a.c.length==2)t=F(TC(this.a,0),121),n=F(TC(this.a,1),121),i=n.e==3&&n.Jm(0)==t?t.Om(e)+`+`:n.e==9&&n.Jm(0)==t?t.Om(e)+`+?`:t.Om(e)+(``+n.Om(e));else{for(a=new lm,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 Zp(mbt))},Q.a=0,Q.b=0,R(dbt,`ExclusiveRange/RangeIterator`,259);var K9=PC(yq,`C`),q9=PC(Sq,`I`),J9=PC(Xz,`Z`),Y9=PC(Cq,`J`),X9=PC(vq,`B`),Z9=PC(bq,`D`),Q9=PC(xq,`F`),$9=PC(wq,`S`),sHt=Ox(`org.eclipse.elk.core.labels`,`ILabelManager`),cHt=Ox(HK,`DiagnosticChain`),lHt=Ox(Tyt,`ResourceSet`),uHt=R(HK,`InvocationTargetException`,null),dHt=(cm(),qPe),fHt=fHt=J$e;uBe(Mse),pVe(`permProps`,[[[`locale`,`default`],[hbt,`gecko1_8`]],[[`locale`,`default`],[hbt,`safari`]]]),fHt(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){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}function i(e,t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:{};c(this,n);var r=Object.assign({},t),i=!1;try{e.resolve(`web-worker`),i=!0}catch{}if(t.workerUrl){if(i){var a=e("web-worker");r.workerFactory=function(e){return new a(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(!r.workerFactory){var o=e("./elk-worker.min.js").Worker;r.workerFactory=function(e){return new o(e)}}return l(this,n,[r])}return m(n,t),a(n)}(e("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=g,g.default=g},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(e,t,n){"use strict";t.exports=typeof Worker<`u`?Worker:void 0},{}]},{},[3])(3)})}))(),1);function Ip(e,t){typeof e==`function`?e(t):e.handleEvent(t)}var pce=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 Fp.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});else 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)Ip(e,t)}};function Lp(){return new pce}na.elkWorkerFactory=Lp,na.graphDependentWorkerFactory=hf;var Rp=class extends Pp{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(Cn,this._onExplorerNodeClicked),this.addEventListener(`explorer-change-panel-toggled`,this._onChangePanelToggled)}disconnectedCallback(){this.removeEventListener(Cn,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;t&&(this.selectNode(t),this.activeMainTab===`graph`&&this.explorer?this.explorer.revealPathToNode(t):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=Ht.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(!r.workerFactory){var o=e("./elk-worker.min.js").Worker;r.workerFactory=function(e){return new o(e)}}return l(this,n,[r])}return m(n,t),a(n)}(e("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=g,g.default=g},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(e,t,n){"use strict";t.exports=typeof Worker<`u`?Worker:void 0},{}]},{},[3])(3)})}))(),1);function Up(e,t){typeof e==`function`?e(t):e.handleEvent(t)}var uce=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 Hp.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});else 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)Up(e,t)}};function Wp(){return new uce}ta.elkWorkerFactory=Wp,ta.graphDependentWorkerFactory=bf;var Gp=class extends Vp{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(wn,this._onExplorerNodeClicked),this.addEventListener(`explorer-change-panel-toggled`,this._onChangePanelToggled)}disconnectedCallback(){this.removeEventListener(wn,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;t&&(this.selectNode(t),this.activeMainTab===`graph`&&this.explorer?this.explorer.revealPathToNode(t):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=Ut.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` @@ -9452,8 +9524,8 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr .originalHighlighted=${e.originalHighlighted||{}} .modifiedHighlighted=${e.modifiedHighlighted||{}}> - `:ct} + `:st} - `}};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 + `}};_p([Ot(`pb33f-explorer`)],Gp.prototype,`explorer`,void 0),_p([Ot(`.graph-split`)],Gp.prototype,`graphSplit`,void 0),_p([Ot(`.graph-split > sl-icon[slot="divider"]`)],Gp.prototype,`graphSplitDivider`,void 0),_p([Tt()],Gp.prototype,`_changePanelExpanded`,void 0),Gp=_p([Ct(`openapi-changes-report`)],Gp),document.documentElement.setAttribute(`theme`,`dark`),document.documentElement.classList.add(`sl-theme-dark`),me();var k=document.getElementById(`preloader`);k&&k.remove();var Kp=document.getElementById(`app`);if(Kp){let e=document.createElement(`openapi-changes-report`);Kp.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 282f347..4122ac0 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.15.7", + "@pb33f/cowboy-components": "0.16.0", "@shoelace-style/shoelace": "^2.20.1", "chart.js": "^4.5.1", "lit": "^3.3.3" @@ -402,9 +402,9 @@ } }, "node_modules/@pb33f/cowboy-components": { - "version": "0.15.7", - "resolved": "https://registry.npmjs.org/@pb33f/cowboy-components/-/cowboy-components-0.15.7.tgz", - "integrity": "sha512-JIkg6eTkRhIwTPqJsoiwQnjY0ZCbuv16l2yDQbjzTs62ETlIxvYjdfeyDdaedQ5JlYbDBDPLJLTnEvzYGvnh3w==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@pb33f/cowboy-components/-/cowboy-components-0.16.0.tgz", + "integrity": "sha512-Til9pqz79wfoeXvuQuUc3FHaLGNZTpaFiz+V3+PAwbeHLeWyK/cv1vG9orH1PpHJoK/Ivf92V/P6UB1CSW3KGg==", "license": "BUSL-1.1", "dependencies": { "@pb33f/ranch": "^0.7.0", @@ -422,6 +422,9 @@ "prismjs": "1.30.0", "snapsvg-cjs": "^0.0.6", "web-worker": "^1.3.0" + }, + "engines": { + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" } }, "node_modules/@pb33f/cowboy-components/node_modules/elkjs": { @@ -2149,9 +2152,9 @@ "integrity": "sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==" }, "node_modules/dompurify": { - "version": "3.4.16", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.16.tgz", - "integrity": "sha512-sqo+pNp3qRhCIpbgRi1y8Tgk27Bo2Ry7w0dC1NBeNTdZChWjz9Xb/KOoZbRP/R6pQZ80Qw8YhXw13hWWBbMRnQ==", + "version": "3.4.17", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.17.tgz", + "integrity": "sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==", "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { "@types/trusted-types": "^2.0.7" @@ -3292,9 +3295,9 @@ } }, "node_modules/undici": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz", - "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==", + "version": "8.12.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", "dev": true, "license": "MIT", "engines": { diff --git a/html-report/ui/package.json b/html-report/ui/package.json index 8485b8e..1c81ee8 100644 --- a/html-report/ui/package.json +++ b/html-report/ui/package.json @@ -11,7 +11,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@pb33f/cowboy-components": "0.15.7", + "@pb33f/cowboy-components": "0.16.0", "@shoelace-style/shoelace": "^2.20.1", "chart.js": "^4.5.1", "lit": "^3.3.3" diff --git a/html-report/ui/src/icon-registry.ts b/html-report/ui/src/icon-registry.ts index 4b2b54a..d80b11c 100644 --- a/html-report/ui/src/icon-registry.ts +++ b/html-report/ui/src/icon-registry.ts @@ -3,6 +3,7 @@ import { registerIconLibrary } from '@shoelace-style/shoelace/dist/utilities/ico // Inline SVG icons needed by the report components. // Icons sourced from Bootstrap Icons (MIT license). const icons: Record = { + 'hash': '', // Change type icons 'heartbreak-fill': '', 'pencil': '', diff --git a/internal/breakingrules/config.go b/internal/breakingrules/config.go index 01cdf65..3f373cc 100644 --- a/internal/breakingrules/config.go +++ b/internal/breakingrules/config.go @@ -15,17 +15,30 @@ import ( var mu sync.Mutex +// Acquire holds the policy lock through an entire comparison. The returned +// function restores defaults and releases it, including for default-policy runs. +func Acquire(config *wcModel.BreakingRulesConfig) func() { + mu.Lock() + apply(config) + return func() { wcModel.ResetActiveBreakingRulesConfig(); mu.Unlock() } +} + // Apply merges the given config on top of libopenapi defaults and sets it as // the active breaking rules configuration. If config is nil, resets to defaults. // Thread-safe — acquires the package-level mutex. func Apply(config *wcModel.BreakingRulesConfig) { mu.Lock() defer mu.Unlock() + apply(config) +} + +func apply(config *wcModel.BreakingRulesConfig) { if config == nil { wcModel.ResetActiveBreakingRulesConfig() return } - defaults := wcModel.GenerateDefaultBreakingRules() + defaults := new(wcModel.BreakingRulesConfig) + defaults.Merge(wcModel.GenerateDefaultBreakingRules()) defaults.Merge(config) wcModel.SetActiveBreakingRulesConfig(defaults) } diff --git a/model/commit.go b/model/commit.go index d6a52f9..9e5dc9f 100644 --- a/model/commit.go +++ b/model/commit.go @@ -4,32 +4,54 @@ package model import ( + "github.com/pb33f/libasyncapi" "github.com/pb33f/libopenapi" - "github.com/pb33f/libopenapi/what-changed/model" + whatChanged "github.com/pb33f/libopenapi/what-changed" + wc "github.com/pb33f/libopenapi/what-changed/model" "time" ) type DocumentPathRewriter func(string) string type Commit struct { - CreatedAt time.Time `json:"-"` - UpdatedAt time.Time `json:"-"` - ID uint `gorm:"primaryKey" json:"-"` - Hash string `json:"commitHash"` - Message string `json:"message"` - Author string `json:"author"` - AuthorEmail string `gorm:"index" json:"authorEmail"` - CommitDate time.Time `json:"committed"` - Changes *model.DocumentChanges `gorm:"-" json:"changeReport,omitempty"` - SerializedChanges []byte `gorm:"-" json:"-"` - Data []byte `gorm:"-" json:"-"` - OldData []byte `gorm:"-" json:"-"` - Document libopenapi.Document `gorm:"-" json:"-"` - OldDocument libopenapi.Document `gorm:"-" json:"-"` - RepoDirectory string `gorm:"-" json:"-"` - FilePath string `gorm:"-" json:"-"` - OriginalSource string `gorm:"-" json:"-"` - ModifiedSource string `gorm:"-" json:"-"` - Synthetic bool `gorm:"-" json:"-"` - DocumentRewriters []DocumentPathRewriter `gorm:"-" json:"-"` + Specification *ComparisonSpecification `json:"-"` + OriginalRevision string `json:"-"` + ChangeReport whatChanged.Changed `json:"-"` + Source *HistorySource `json:"-"` + Window *HistoryWindow `json:"-"` + Rules *ComparisonRules `json:"-"` + CreatedAt time.Time `json:"-"` + UpdatedAt time.Time `json:"-"` + ID uint `gorm:"primaryKey" json:"-"` + Hash string `json:"commitHash"` + Message string `json:"message"` + Author string `json:"author"` + AuthorEmail string `gorm:"index" json:"authorEmail"` + CommitDate time.Time `json:"committed"` + Changes *wc.DocumentChanges `gorm:"-" json:"changeReport,omitempty"` + AsyncDocument libasyncapi.Document `json:"-"` + OldAsyncDocument libasyncapi.Document `json:"-"` + SerializedChanges []byte `gorm:"-" json:"-"` + Data []byte `gorm:"-" json:"-"` + OldData []byte `gorm:"-" json:"-"` + Document libopenapi.Document `gorm:"-" json:"-"` + OldDocument libopenapi.Document `gorm:"-" json:"-"` + RepoDirectory string `gorm:"-" json:"-"` + FilePath string `gorm:"-" json:"-"` + OriginalSource string `gorm:"-" json:"-"` + ModifiedSource string `gorm:"-" json:"-"` + Synthetic bool `gorm:"-" json:"-"` + DocumentRewriters []DocumentPathRewriter `gorm:"-" json:"-"` +} + +// AllChanges returns the active engine report while preserving Changes for +// callers that consume the existing concrete OpenAPI history API. +func (c *Commit) AllChanges() whatChanged.Changed { + if c.ChangeReport != nil { + return c.ChangeReport + } + if c.Changes != nil { + return c.Changes + } + return nil } diff --git a/model/comparison_rules.go b/model/comparison_rules.go new file mode 100644 index 0000000..e6e9cc5 --- /dev/null +++ b/model/comparison_rules.go @@ -0,0 +1,15 @@ +package model + +import ( + async "github.com/pb33f/libasyncapi/what-changed/model" + openapi "github.com/pb33f/libopenapi/what-changed/model" +) + +// ComparisonRules keeps independent policies for each engine. SchemaRules +// applies to JSON Schemas embedded in AsyncAPI documents only. +type ComparisonRules struct { + Legacy bool `yaml:"-"` // an unscoped OpenAPI policy must not silently apply to AsyncAPI + OpenAPI *openapi.BreakingRulesConfig `yaml:"openapiRules"` + AsyncAPI *async.BreakingRulesConfig `yaml:"asyncapiRules"` + Schema *openapi.BreakingRulesConfig `yaml:"schemaRules"` +} diff --git a/model/history_source.go b/model/history_source.go new file mode 100644 index 0000000..c14412f --- /dev/null +++ b/model/history_source.go @@ -0,0 +1,151 @@ +package model + +import ( + "fmt" + "github.com/pb33f/libasyncapi" + "github.com/pb33f/libopenapi" + "github.com/pb33f/libopenapi/datamodel" + "sync" +) + +// HistorySource is an immutable revision input. It holds no parsed model. +type HistorySource struct { + Revision string + Data []byte + Previous *HistorySource + Config func() (*datamodel.DocumentConfiguration, error) +} + +type parsedHistorySource struct { + native libopenapi.Document + async libasyncapi.Document + pins int + used uint64 +} + +// HistoryWindow retains at most two idle parsed revisions. Active comparisons +// pin their inputs until Release; callers can safely render before releasing. +type HistoryWindow struct { + DiscardIdle bool // console cache entries own their pairs; retain no second idle cache + mu sync.Mutex + entries map[*HistorySource]*parsedHistorySource + clock uint64 +} + +// Acquire parses or reuses one revision and pins it until the returned release. +func (w *HistoryWindow) Acquire(source *HistorySource) (libopenapi.Document, libasyncapi.Document, func(), error) { + if source == nil || source.Config == nil { + return nil, nil, nil, fmt.Errorf("history source configuration is required") + } + w.mu.Lock() + defer w.mu.Unlock() + if w.entries == nil { + w.entries = make(map[*HistorySource]*parsedHistorySource) + } + entry := w.entries[source] + if entry == nil { + config, err := source.Config() + if err != nil { + return nil, nil, nil, err + } + native, async, err := ParseSpecification(source.Data, config) + if err != nil { + return nil, nil, nil, err + } + if native != nil { + if _, err = native.BuildV3Model(); err != nil { + releaseParsed(native, nil) + return nil, nil, nil, err + } + } + entry = &parsedHistorySource{native: native, async: async} + w.entries[source] = entry + } + w.clock++ + entry.used = w.clock + entry.pins++ + w.trim() + var once sync.Once + return entry.native, entry.async, func() { once.Do(func() { w.mu.Lock(); defer w.mu.Unlock(); entry.pins--; w.trim() }) }, nil +} + +func (w *HistoryWindow) trim() { + limit := 2 + if w.DiscardIdle { + limit = 0 + } + for len(w.entries) > limit { + var oldest *HistorySource + var age uint64 + for source, entry := range w.entries { + if entry.pins == 0 && (oldest == nil || entry.used < age) { + oldest, age = source, entry.used + } + } + if oldest == nil { + return + } + entry := w.entries[oldest] + delete(w.entries, oldest) + releaseParsed(entry.native, entry.async) + } +} + +// Close releases idle models and releases pinned models when their owners finish. +func (w *HistoryWindow) Close() { + if w == nil { + return + } + w.mu.Lock() + defer w.mu.Unlock() + w.DiscardIdle = true + w.trim() +} + +func releaseParsed(native libopenapi.Document, async libasyncapi.Document) { + if native != nil { + if r := native.GetRolodex(); r != nil { + r.Release() + } + native.Release() + } + if async != nil { + if r := async.Rolodex(); r != nil { + r.Release() + } + } +} + +// PrepareHistory returns a comparison copy. Malformed predecessor revisions are +// bypassed so a valid revision can still compare against the last valid source. +func (c *Commit) PrepareHistory() (*Commit, func(), error) { + if c.Source == nil { + return c, func() {}, nil + } + current, async, release, err := c.Window.Acquire(c.Source) + if err != nil { + return nil, nil, err + } + copy := *c + copy.Source = nil + copy.Document = current + copy.AsyncDocument = async + copy.OldData = nil + for prior := c.Source.Previous; prior != nil; prior = prior.Previous { + old, oldAsync, releaseOld, err := c.Window.Acquire(prior) + if err != nil { + continue + } + if (async == nil) != (oldAsync == nil) { + releaseOld() + release() + return nil, nil, fmt.Errorf("cannot compare OpenAPI and AsyncAPI revisions") + } + copy.OldDocument = old + copy.OldAsyncDocument = oldAsync + copy.OldData = prior.Data + copy.OriginalRevision = prior.Revision + return ©, func() { releaseOld(); release() }, nil + } + return ©, release, nil +} diff --git a/model/history_source_test.go b/model/history_source_test.go new file mode 100644 index 0000000..2ef79b3 --- /dev/null +++ b/model/history_source_test.go @@ -0,0 +1,32 @@ +package model + +import ( + "fmt" + "github.com/pb33f/libopenapi/datamodel" + "github.com/pb33f/testify/require" + "testing" +) + +func TestHistoryWindowBoundsModelsAndReusesAdjacentSources(t *testing.T) { + w := new(HistoryWindow) + sources := make([]*HistorySource, 30) + parses := 0 + for i := range sources { + sources[i] = &HistorySource{Data: []byte(fmt.Sprintf("asyncapi: 3.0.0\ninfo: {title: Events, version: '%d'}\n", i)), Config: func() (*datamodel.DocumentConfiguration, error) { + parses++ + return datamodel.NewDocumentConfiguration(), nil + }} + } + for i := len(sources) - 1; i > 0; i-- { + _, _, right, err := w.Acquire(sources[i]) + require.NoError(t, err) + _, _, left, err := w.Acquire(sources[i-1]) + require.NoError(t, err) + left() + right() + require.LessOrEqual(t, len(w.entries), 2) + } + require.Equal(t, len(sources), parses, "each adjacent source should parse once") + w.Close() + require.Empty(t, w.entries) +} diff --git a/model/report.go b/model/report.go index 3cd6bc7..682b36b 100644 --- a/model/report.go +++ b/model/report.go @@ -75,6 +75,7 @@ type Report struct { } type FlatReport struct { + Specification *ComparisonSpecification `json:"specification,omitempty"` Summary map[string]*reports.Changed `json:"reportSummary"` Changes []*HashedChange `json:"changes"` OriginalPath string `json:"originalPath,omitempty"` diff --git a/model/specification.go b/model/specification.go new file mode 100644 index 0000000..f02dd19 --- /dev/null +++ b/model/specification.go @@ -0,0 +1,94 @@ +package model + +import ( + "errors" + "fmt" + "strings" + + "github.com/pb33f/libasyncapi" + "github.com/pb33f/libopenapi" + "github.com/pb33f/libopenapi/datamodel" +) + +// ComparisonSpecification identifies the native format and versions of both inputs. +type ComparisonSpecification struct { + Kind string `json:"kind"` + OriginalVersion string `json:"originalVersion"` + ModifiedVersion string `json:"modifiedVersion"` +} + +// SetSpecification records format metadata without retaining parsed models. +func (c *Commit) SetSpecification() { + if c.AsyncDocument != nil { + c.Specification = &ComparisonSpecification{Kind: "asyncapi", ModifiedVersion: c.AsyncDocument.GetVersion()} + if c.OldAsyncDocument != nil { + c.Specification.OriginalVersion = c.OldAsyncDocument.GetVersion() + } + } else if c.Document != nil { + c.Specification = &ComparisonSpecification{Kind: "openapi", ModifiedVersion: c.Document.GetSpecInfo().Version} + if c.OldDocument != nil { + c.Specification.OriginalVersion = c.OldDocument.GetSpecInfo().Version + } + } +} + +// APILabel returns the human-facing native format name. +func (c *Commit) APILabel() string { + if c != nil && c.Specification != nil && c.Specification.Kind == "asyncapi" { + return "AsyncAPI" + } + return "OpenAPI" +} + +// ParseSpecification parses once and selects the native model by its root version field. +func ParseSpecification(data []byte, config *datamodel.DocumentConfiguration) (libopenapi.Document, libasyncapi.Document, error) { + doc, err := libopenapi.NewDocumentWithConfiguration(data, config) + if err != nil { + return nil, nil, err + } + info := doc.GetSpecInfo() + fields := 0 + if info.RootNode != nil && len(info.RootNode.Content) > 0 { + root := info.RootNode.Content[0] + for i := 0; i+1 < len(root.Content); i += 2 { + switch root.Content[i].Value { + case "openapi", "swagger", "asyncapi": + fields++ + } + } + } + if fields != 1 { + return nil, nil, fmt.Errorf("expected one specification version field") + } + if info.SpecType != "asyncapi" { + return doc, nil, nil + } + if !strings.HasPrefix(info.Version, "3.") { + return nil, nil, fmt.Errorf("AsyncAPI %s is unsupported; expected 3.x", info.Version) + } + ac := libasyncapi.NewDocumentConfiguration() + if config != nil { + ac.SpecFilePath = config.SpecFilePath + ac.BasePath = config.BasePath + ac.BaseURL = config.BaseURL + ac.AllowFileReferences = config.AllowFileReferences + ac.AllowRemoteReferences = config.AllowRemoteReferences + ac.ExcludeExtensionRefs = config.ExcludeExtensionRefs + ac.LocalFS = config.LocalFS + ac.RemoteURLHandler = config.RemoteURLHandler + ac.Logger = config.Logger + } + async, err := libasyncapi.NewDocumentFromNode(info.RootNode, ac) + if err != nil { + return nil, nil, err + } + if async.IsPartial() { + return nil, nil, fmt.Errorf("incomplete AsyncAPI document: %w", errors.Join(async.Errors()...)) + } + return nil, async, nil +} + +// Comparable reports whether both sides of a commit contain the same native format. +func (c *Commit) Comparable() bool { + return c != nil && ((c.Source != nil && len(c.OldData) > 0) || (c.Document != nil && c.OldDocument != nil) || (c.AsyncDocument != nil && c.OldAsyncDocument != nil)) +} diff --git a/sample-specs/asyncapi-original.yaml b/sample-specs/asyncapi-original.yaml new file mode 100644 index 0000000..2717218 --- /dev/null +++ b/sample-specs/asyncapi-original.yaml @@ -0,0 +1,28 @@ +asyncapi: 3.0.0 +info: + title: Synthetic order events + version: 1.0.0 +servers: + production: + host: broker.example.test:9092 + protocol: kafka +channels: + orders: + address: orders.v1 + messages: + created: + contentType: application/json + payload: + $ref: '#/components/schemas/Order' +operations: + receiveOrder: + action: receive + channel: + $ref: '#/channels/orders' +components: + schemas: + Order: + type: object + properties: + id: + type: string diff --git a/sample-specs/asyncapi.yaml b/sample-specs/asyncapi.yaml new file mode 100644 index 0000000..ba38767 --- /dev/null +++ b/sample-specs/asyncapi.yaml @@ -0,0 +1,28 @@ +asyncapi: 3.0.0 +info: + title: Synthetic order events + version: 2.0.0 +servers: + production: + host: events.example.test:9092 + protocol: kafka +channels: + orders: + address: orders.v2 + messages: + created: + contentType: application/json + payload: + $ref: '#/components/schemas/Order' +operations: + receiveOrder: + action: send + channel: + $ref: '#/channels/orders' +components: + schemas: + Order: + type: object + properties: + id: + type: integer diff --git a/tui/v2/model.go b/tui/v2/model.go index 72dec81..639350c 100644 --- a/tui/v2/model.go +++ b/tui/v2/model.go @@ -51,6 +51,7 @@ type ConsoleModel struct { // Data commits []*model.Commit cache *commitCache + counts map[string]commitCounts breakingCfg *whatChangedModel.BreakingRulesConfig runFn RunChangeratorFn @@ -80,6 +81,9 @@ type ConsoleModel struct { palette terminal.Palette } +// commitCounts survives graph eviction without retaining a comparison report. +type commitCounts struct{ total, breaking int } + // RunChangeratorFn is the function signature for running the changerator. // This is injected from the cmd package to avoid import cycles. type RunChangeratorFn func(commit *model.Commit, breakingConfig *whatChangedModel.BreakingRulesConfig) (*changerator.Changerator, *v3.Node, func(), error) @@ -101,6 +105,7 @@ func NewConsoleModel(commits []*model.Commit, breakingConfig *whatChangedModel.B m := ConsoleModel{ commits: commits, cache: newCommitCache(3), + counts: make(map[string]commitCounts), breakingCfg: breakingConfig, runFn: runFn, styles: styles, @@ -114,7 +119,7 @@ func NewConsoleModel(commits []*model.Commit, breakingConfig *whatChangedModel.B m.focus = FocusTree // Build commit table (default width, resized on first WindowSizeMsg) - m.commitTable = buildCommitTable(commits, 120, 0, styles) + m.commitTable = buildCommitTable(commits, 120, 0, styles, m.counts) // Initialize tree with placeholder height (will be recalculated on WindowSizeMsg) m.tree = newTreeModel(nil, 20) @@ -287,7 +292,7 @@ func (m *ConsoleModel) recalculateLayout() { if !m.singleCommit { tableContent := m.tableHeight() - 2 m.commitTable.SetHeight(tableContent - 1) // -1 more for header row - resizeCommitTable(&m.commitTable, m.commits, m.highlightedIdx, m.width, m.styles) + resizeCommitTable(&m.commitTable, m.commits, m.highlightedIdx, m.width, m.styles, m.counts) } bottomH := m.bottomHeight() @@ -415,12 +420,26 @@ func (m *ConsoleModel) loadActiveCommit() { } if ctr == nil { m.emptyState = "No changes detected in this commit" + if commit.Comparable() { + m.counts[commit.Hash] = commitCounts{} + m.refreshCommitRows() + } else { + m.emptyState = "No prior version to compare against" + } m.tree = newTreeModel(nil, m.tree.height) m.showDiff = false m.diffSummary = "" m.diffSummaryH = 0 return } + var counts commitCounts + if ctr.ChangeReport != nil { + counts = commitCounts{ctr.ChangeReport.TotalChanges(), ctr.ChangeReport.TotalBreakingChanges()} + } else if ctr.Config != nil && ctr.Config.DocumentChanges != nil { + counts = commitCounts{ctr.Config.DocumentChanges.TotalChanges(), ctr.Config.DocumentChanges.TotalBreakingChanges()} + } + m.counts[commit.Hash] = counts + m.refreshCommitRows() // Build node change tree ctr.BuildNodeChangeTree(root) @@ -447,6 +466,10 @@ func (m *ConsoleModel) loadActiveCommit() { m.applyCache(entry) } +func (m *ConsoleModel) refreshCommitRows() { + m.commitTable.SetRows(buildCommitRows(m.commits, m.highlightedIdx, m.styles, m.counts)) +} + func (m *ConsoleModel) applyCache(entry *cacheEntry) { m.emptyState = "" m.tree = newTreeModel(entry.treeRoot, m.tree.height) @@ -475,7 +498,7 @@ func (m *ConsoleModel) selectHighlightedCommit() { return } m.highlightedIdx = row - m.commitTable.SetRows(buildCommitRows(m.commits, m.highlightedIdx, m.styles)) + m.refreshCommitRows() if row == m.activeIdx { return // already loaded } @@ -670,10 +693,10 @@ func innerWidth(termWidth int) int { // buildCommitTable creates a bubbles table from the commit list. // Message column fills all remaining width inside the border panel. -func buildCommitTable(commits []*model.Commit, termWidth int, highlightedIdx int, styles consoleStyles) table.Model { +func buildCommitTable(commits []*model.Commit, termWidth int, highlightedIdx int, styles consoleStyles, counts map[string]commitCounts) table.Model { iw := innerWidth(termWidth) cols := commitColumns(iw) - rows := buildCommitRows(commits, highlightedIdx, styles) + rows := buildCommitRows(commits, highlightedIdx, styles, counts) t := table.New( table.WithColumns(cols), @@ -688,10 +711,10 @@ func buildCommitTable(commits []*model.Commit, termWidth int, highlightedIdx int } // resizeCommitTable updates column widths and styles to fill the new terminal width. -func resizeCommitTable(t *table.Model, commits []*model.Commit, highlightedIdx int, termWidth int, styles consoleStyles) { +func resizeCommitTable(t *table.Model, commits []*model.Commit, highlightedIdx int, termWidth int, styles consoleStyles, counts map[string]commitCounts) { iw := innerWidth(termWidth) t.SetColumns(commitColumns(iw)) - t.SetRows(buildCommitRows(commits, highlightedIdx, styles)) + t.SetRows(buildCommitRows(commits, highlightedIdx, styles, counts)) t.SetWidth(iw) t.SetStyles(commitTableStyles(iw, styles)) } @@ -710,7 +733,7 @@ func commitColumns(iw int) []table.Column { } } -func buildCommitRows(commits []*model.Commit, highlightedIdx int, styles consoleStyles) []table.Row { +func buildCommitRows(commits []*model.Commit, highlightedIdx int, styles consoleStyles, counts map[string]commitCounts) []table.Row { rows := make([]table.Row, 0, len(commits)) for i, c := range commits { date := c.CommitDate.Format("01/02/06") @@ -721,7 +744,10 @@ func buildCommitRows(commits []*model.Commit, highlightedIdx int, styles console } changes := "-" breaking := "-" - if c.Changes != nil { + if count, ok := counts[c.Hash]; ok { + changes = fmt.Sprint(count.total) + breaking = fmt.Sprint(count.breaking) + } else if c.Changes != nil { changes = fmt.Sprint(c.Changes.TotalChanges()) breaking = fmt.Sprint(c.Changes.TotalBreakingChanges()) } diff --git a/tui/v2/model_test.go b/tui/v2/model_test.go index 7b2f993..d89d17f 100644 --- a/tui/v2/model_test.go +++ b/tui/v2/model_test.go @@ -4,10 +4,12 @@ package v2 import ( + "strings" "testing" "time" tea "charm.land/bubbletea/v2" + "github.com/charmbracelet/x/ansi" "github.com/pb33f/doctor/changerator" v3 "github.com/pb33f/doctor/model/high/v3" whatChangedModel "github.com/pb33f/libopenapi/what-changed/model" @@ -373,11 +375,57 @@ func TestCacheHit_ReusesResult(t *testing.T) { func TestEmptyChangerator_ShowsMessage(t *testing.T) { commits := makeTestCommits() + commits[0].Source = &model.HistorySource{} + commits[0].OldData = commits[1].Data runFn := func(_ *model.Commit, _ *whatChangedModel.BreakingRulesConfig) (*changerator.Changerator, *v3.Node, func(), error) { return nil, nil, nil, nil } m := NewConsoleModel(commits, nil, true, "test", runFn) assert.Equal(t, "No changes detected in this commit", m.emptyState) + assert.Equal(t, "0", strings.TrimSpace(ansi.Strip(m.commitTable.Rows()[0][3]))) + assert.Equal(t, "0", strings.TrimSpace(ansi.Strip(m.commitTable.Rows()[0][4]))) +} + +func TestConsoleCountsSurviveGraphEviction(t *testing.T) { + commits := makeTestCommits() + calls, released := 0, 0 + runFn := func(_ *model.Commit, _ *whatChangedModel.BreakingRulesConfig) (*changerator.Changerator, *v3.Node, func(), error) { + calls++ + ctr := changerator.NewChangerator(&changerator.ChangeratorConfig{}) + ctr.ChangeReport = changerator.ChangeList{ + {ChangeType: whatChangedModel.Modified, Property: "title"}, + {ChangeType: whatChangedModel.PropertyRemoved, Property: "address", Breaking: true}, + } + return ctr, nil, func() { released++ }, nil + } + m := NewConsoleModel(commits, nil, true, "test", runFn) + defer m.cache.releaseAll() + require.Equal(t, 1, calls, "only the selected revision is compared") + rows := m.commitTable.Rows() + assert.Equal(t, "2", strings.TrimSpace(ansi.Strip(rows[0][3]))) + assert.Equal(t, "1", strings.TrimSpace(ansi.Strip(rows[0][4]))) + assert.Equal(t, "-", strings.TrimSpace(ansi.Strip(rows[1][3]))) + m.cache.maxSize = 1 + m.activeIdx = 1 + m.loadActiveCommit() + require.Equal(t, 1, released, "the first comparison graph must be released") + m.width = 140 + m.recalculateLayout() + assert.Equal(t, "2", strings.TrimSpace(ansi.Strip(m.commitTable.Rows()[0][3]))) + assert.Equal(t, "1", strings.TrimSpace(ansi.Strip(m.commitTable.Rows()[0][4]))) + m.loadActiveCommit() + assert.Equal(t, 2, calls, "a cache hit or resize must not compare again") + assert.Nil(t, commits[0].Changes) + assert.Nil(t, commits[0].ChangeReport) +} + +func TestConsoleFirstRevisionIsNotUnchanged(t *testing.T) { + runFn := func(_ *model.Commit, _ *whatChangedModel.BreakingRulesConfig) (*changerator.Changerator, *v3.Node, func(), error) { + return nil, nil, nil, nil + } + m := NewConsoleModel(makeTestCommits(), nil, true, "test", runFn) + assert.Equal(t, "No prior version to compare against", m.emptyState) + assert.Equal(t, "-", strings.TrimSpace(ansi.Strip(m.commitTable.Rows()[0][3]))) } func TestCodeModal_ModifiedChange_ShowsNewSpec(t *testing.T) {