{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/factories/element.factory.ts",
          "name": "appendChildren",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
            "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
            "label": "core/factories/element.factory.ts",
            "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
            "ref": "anatomy:file-core-factories-element-factory-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "presentation/views/search.view.ts",
          "name": "renderSearch",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-views-search-view-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/views/search.view.ts",
            "label": "presentation/views/search.view.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/views/search.view.ts.md",
            "ref": "anatomy:file-presentation-views-search-view-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "fillResults",
      "signature": "const fillResults = async function fillResults(holder: Element, query: string): Promise<void> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/predicates/document.predicate.ts",
          "name": "isStaticRender",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-core-predicates-document-predicate-ts",
            "json": "https://banes-lab.com/json/source/tree/core/predicates/document.predicate.ts",
            "label": "core/predicates/document.predicate.ts",
            "markdown": "https://banes-lab.com/source/tree/core/predicates/document.predicate.ts.md",
            "ref": "anatomy:file-core-predicates-document-predicate-ts"
          }
        },
        {
          "file": "presentation/views/search.view.ts",
          "name": "fillResults",
          "source": {
            "href": "https://banes-lab.com/anatomy/tree#file-presentation-views-search-view-ts",
            "json": "https://banes-lab.com/json/source/tree/presentation/views/search.view.ts",
            "label": "presentation/views/search.view.ts",
            "markdown": "https://banes-lab.com/source/tree/presentation/views/search.view.ts.md",
            "ref": "anatomy:file-presentation-views-search-view-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "renderSearch",
      "signature": "const renderSearch = function renderSearch(): Element {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "spreads",
      "signature": "const spreads = searchSpreads(await loadCorpus(), query);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "query",
      "signature": "const query = queryValue(window.location.search, SEARCH_QUERY_PARAM).trim();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "holder",
      "signature": "const holder = createElement(\"div\", {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "PAGE",
      "signature": "export const PAGE: PageDefinition = {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/tree#file-presentation-views-search-view-ts",
  "language": "typescript",
  "layer": "product",
  "name": "search.view.ts",
  "path": "presentation/views/search.view.ts",
  "ref": "anatomy:file-presentation-views-search-view-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-views",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-views",
          "label": "presentation/views",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-views.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-views"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-factories-element-factory-ts",
          "json": "https://banes-lab.com/json/source/tree/core/factories/element.factory.ts",
          "label": "core/factories/element.factory.ts",
          "markdown": "https://banes-lab.com/source/tree/core/factories/element.factory.ts.md",
          "ref": "anatomy:file-core-factories-element-factory-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#file-core-predicates-document-predicate-ts",
          "json": "https://banes-lab.com/json/source/tree/core/predicates/document.predicate.ts",
          "label": "core/predicates/document.predicate.ts",
          "markdown": "https://banes-lab.com/source/tree/core/predicates/document.predicate.ts.md",
          "ref": "anatomy:file-core-predicates-document-predicate-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-factories",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-factories",
          "label": "core/factories",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-factories.md",
          "ref": "chapter:/anatomy/tree#folder-core-factories"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-core-predicates",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-core-predicates",
          "label": "core/predicates",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-core-predicates.md",
          "ref": "chapter:/anatomy/tree#folder-core-predicates"
        },
        {
          "href": "https://banes-lab.com/anatomy/tree#folder-presentation-views",
          "json": "https://banes-lab.com/json/anatomy/tree/folder-presentation-views",
          "label": "presentation/views",
          "markdown": "https://banes-lab.com/anatomy/tree/folder-presentation-views.md",
          "ref": "chapter:/anatomy/tree#folder-presentation-views"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "view",
    "subject": "search",
    "variant": null
  },
  "stats": {
    "bytes": 2083,
    "callable": 2,
    "definitions": 6,
    "edges": 3,
    "exported": 1,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "entry": 1,
      "isolated": 4
    },
    "lines": {
      "blank": 3,
      "code": 40,
      "total": 43
    }
  },
  "summary": "40 lines of code and 6 definitions.",
  "text": "https://banes-lab.com/source/tree/presentation/views/search.view.ts.txt",
  "tree": "tree",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/tree#file-presentation-views-terms-view-ts",
      "json": "https://banes-lab.com/json/source/tree/presentation/views/terms.view.ts",
      "label": "presentation/views/terms.view.ts",
      "markdown": "https://banes-lab.com/source/tree/presentation/views/terms.view.ts.md",
      "ref": "anatomy:file-presentation-views-terms-view-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/tree#file-presentation-views-profile-view-ts",
      "json": "https://banes-lab.com/json/source/tree/presentation/views/profile.view.ts",
      "label": "presentation/views/profile.view.ts",
      "markdown": "https://banes-lab.com/source/tree/presentation/views/profile.view.ts.md",
      "ref": "anatomy:file-presentation-views-profile-view-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/tree/presentation/views",
    "label": "presentation/views",
    "markdown": "https://banes-lab.com/api/source/tree/presentation/views.md",
    "ref": "api:source/tree/presentation/views"
  }
}
