{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "evidenceOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "linksOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "routeOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "earliest",
      "signature": "const earliest = function earliest(positions: Map<string, number>, key: string, at: number): void {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/assets/link.assets.ts",
          "name": "pagePath",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-assets-link-assets-ts",
            "json": "https://banes-lab.com/json/source/tree/core/assets/link.assets.ts",
            "label": "core/assets/link.assets.ts",
            "markdown": "https://banes-lab.com/source/tree/core/assets/link.assets.ts.md",
            "ref": "anatomy:file-core-assets-link-assets-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "anchorPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "chapterPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "pageAnchorPath",
      "signature": "const pageAnchorPath = function pageAnchorPath(page: string, section: string): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "pageAnchorPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/assets/link.assets.ts",
          "name": "tabLink",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-assets-link-assets-ts",
            "json": "https://banes-lab.com/json/source/tree/core/assets/link.assets.ts",
            "label": "core/assets/link.assets.ts",
            "markdown": "https://banes-lab.com/source/tree/core/assets/link.assets.ts.md",
            "ref": "anatomy:file-core-assets-link-assets-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "positionOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "anchorPath",
      "signature": "export const anchorPath = function anchorPath(source: SearchSource, section: string): string {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "textsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/converters/markup.converter.ts",
          "name": "convertMarkup",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
            "label": "core/converters/markup.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
            "ref": "anatomy:file-core-converters-markup-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "linksOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "anchorsLinkedFrom",
      "signature": "export const anchorsLinkedFrom = function anchorsLinkedFrom(section: Section): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "anchorsLinkedFrom",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "earliest",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "positionsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 74,
      "name": "linksOf",
      "signature": "export const linksOf = function linksOf("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "earliest",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "positionsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "evidenceOf",
      "signature": "export const evidenceOf = function evidenceOf("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "anchorsLinkedFrom",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "textsOf",
      "signature": "export const textsOf = function textsOf(value: unknown): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "positionOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 117,
      "name": "anchorsOf",
      "signature": "export const anchorsOf = function anchorsOf(section: Section): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "domain/converters/search.index.converter.ts",
          "name": "positionOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
            "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
            "label": "domain/converters/search.index.converter.ts",
            "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
            "ref": "anatomy:file-domain-converters-search-index-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 126,
      "name": "placeOf",
      "signature": "export const placeOf = function placeOf(anchors: readonly string[], links: ReadonlyMap<string, number>): number {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "pageAnchorPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        },
        {
          "file": "core/assets/link.assets.ts",
          "name": "tabLink",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-assets-link-assets-ts",
            "json": "https://banes-lab.com/json/source/tree/core/assets/link.assets.ts",
            "label": "core/assets/link.assets.ts",
            "markdown": "https://banes-lab.com/source/tree/core/assets/link.assets.ts.md",
            "ref": "anatomy:file-core-assets-link-assets-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "chapterPath",
      "signature": "const chapterPath = function chapterPath("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/search.analyzer.ts",
          "name": "earliest",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
            "json": "https://banes-lab.com/json/source/tree/core/analyzers/search.analyzer.ts",
            "label": "core/analyzers/search.analyzer.ts",
            "markdown": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.md",
            "ref": "anatomy:file-core-analyzers-search-analyzer-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "routeOf",
      "signature": "export const routeOf = function routeOf(route: readonly string[]): ReadonlyMap<string, number> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 10,
      "name": "UNPLACED",
      "signature": "export const UNPLACED = Number.POSITIVE_INFINITY;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "FOLLOWS",
      "signature": "export const FOLLOWS = 0.5;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 60,
      "name": "anchorOf",
      "signature": "const anchorOf = function anchorOf(href: string): string | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 61,
      "name": "cut",
      "signature": "const cut = href.indexOf(ANCHOR_PREFIX);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "anchor",
      "signature": "const anchor = run.href === undefined ? null : anchorOf(run.href);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 98,
      "name": "positions",
      "signature": "const positions = new Map<string, number>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 100,
      "name": "at",
      "signature": "const at = subject.kind === \"chapter\" ? route.get(chapterPath(subject, firstTabs)) : undefined;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 113,
      "name": "isGlossary",
      "signature": "export const isGlossary = function isGlossary(block: Block): block is GlossaryBlock {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 118,
      "name": "blocks",
      "signature": "const blocks = [...(section.blocks ?? []), ...section.subsections.flatMap((sub) => sub.blocks ?? [])];"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-search-analyzer-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "search.analyzer.ts",
  "path": "core/analyzers/search.analyzer.ts",
  "ref": "anatomy:file-core-analyzers-search-analyzer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-analyzers.md",
          "ref": "chapter:/anatomy/tree#folder-core-analyzers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-assets-link-assets-ts",
          "json": "https://banes-lab.com/json/source/tree/core/assets/link.assets.ts",
          "label": "core/assets/link.assets.ts",
          "markdown": "https://banes-lab.com/source/tree/core/assets/link.assets.ts.md",
          "ref": "anatomy:file-core-assets-link-assets-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-converters-markup-converter-ts",
          "json": "https://banes-lab.com/json/source/tree/core/converters/markup.converter.ts",
          "label": "core/converters/markup.converter.ts",
          "markdown": "https://banes-lab.com/source/tree/core/converters/markup.converter.ts.md",
          "ref": "anatomy:file-core-converters-markup-converter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-domain-converters-search-index-converter-ts",
          "json": "https://banes-lab.com/json/source/tree/domain/converters/search.index.converter.ts",
          "label": "domain/converters/search.index.converter.ts",
          "markdown": "https://banes-lab.com/source/tree/domain/converters/search.index.converter.ts.md",
          "ref": "anatomy:file-domain-converters-search-index-converter-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-analyzers.md",
          "ref": "chapter:/anatomy/tree#folder-core-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-assets",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-assets",
          "label": "core/assets",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-assets.md",
          "ref": "chapter:/anatomy/tree#folder-core-assets"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-converters.md",
          "ref": "chapter:/anatomy/tree#folder-core-converters"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-domain-converters",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-domain-converters",
          "label": "domain/converters",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-domain-converters.md",
          "ref": "chapter:/anatomy/tree#folder-domain-converters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "analyzer",
    "subject": "search",
    "variant": null
  },
  "stats": {
    "bytes": 4872,
    "callable": 13,
    "definitions": 20,
    "edges": 11,
    "exported": 15,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 4,
      "relay": 5,
      "entry": 2,
      "isolated": 9
    },
    "lines": {
      "blank": 15,
      "code": 113,
      "total": 128
    }
  },
  "summary": "113 lines of code and 20 definitions.",
  "text": "https://banes-lab.com/source/tree/core/analyzers/search.analyzer.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-syntax-analyzer-ts",
      "json": "https://banes-lab.com/json/source/tree/core/analyzers/syntax.analyzer.ts",
      "label": "core/analyzers/syntax.analyzer.ts",
      "markdown": "https://banes-lab.com/source/tree/core/analyzers/syntax.analyzer.ts.md",
      "ref": "anatomy:file-core-analyzers-syntax-analyzer-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-core-analyzers-panel-analyzer-ts",
      "json": "https://banes-lab.com/json/source/tree/core/analyzers/panel.analyzer.ts",
      "label": "core/analyzers/panel.analyzer.ts",
      "markdown": "https://banes-lab.com/source/tree/core/analyzers/panel.analyzer.ts.md",
      "ref": "anatomy:file-core-analyzers-panel-analyzer-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/core/analyzers",
    "label": "core/analyzers",
    "markdown": "https://banes-lab.com/api/source/tree/core/analyzers.md",
    "ref": "api:source/tree/core/analyzers"
  }
}
