{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/validators/page.validator.ts",
          "name": "coverageOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-page-validator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/validators/page.validator.ts",
            "label": "core/validators/page.validator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/validators/page.validator.ts.md",
            "ref": "anatomy:file-social-share-core-validators-page-validator-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/validators/card.validator.ts",
          "name": "validateCards",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-card-validator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/validators/card.validator.ts",
            "label": "core/validators/card.validator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/validators/card.validator.ts.md",
            "ref": "anatomy:file-social-share-core-validators-card-validator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "coverageFindings",
      "signature": "export const coverageFindings = function coverageFindings("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/validators/page.validator.ts",
          "name": "brandOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-page-validator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/validators/page.validator.ts",
            "label": "core/validators/page.validator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/validators/page.validator.ts.md",
            "ref": "anatomy:file-social-share-core-validators-page-validator-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/validators/card.validator.ts",
          "name": "validateCards",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-card-validator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/validators/card.validator.ts",
            "label": "core/validators/card.validator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/validators/card.validator.ts.md",
            "ref": "anatomy:file-social-share-core-validators-card-validator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 87,
      "name": "brandFindings",
      "signature": "export const brandFindings = function brandFindings("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/validators/page.validator.ts",
          "name": "coverageFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-page-validator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/validators/page.validator.ts",
            "label": "core/validators/page.validator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/validators/page.validator.ts.md",
            "ref": "anatomy:file-social-share-core-validators-page-validator-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "coverageOf",
      "signature": "const coverageOf = function coverageOf(page: CardPage, cards: readonly RegisteredCard[]): readonly CardFinding[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/validators/page.validator.ts",
          "name": "brandFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-page-validator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/validators/page.validator.ts",
            "label": "core/validators/page.validator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/validators/page.validator.ts.md",
            "ref": "anatomy:file-social-share-core-validators-page-validator-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 64,
      "name": "brandOf",
      "signature": "const brandOf = function brandOf(card: RegisteredCard, page: CardPage, context: CardContext): readonly CardFinding[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/evaluators/card.evaluator.ts",
          "name": "resolveCard",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-evaluators-card-evaluator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/evaluators/card.evaluator.ts",
            "label": "core/evaluators/card.evaluator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/evaluators/card.evaluator.ts.md",
            "ref": "anatomy:file-social-share-core-evaluators-card-evaluator-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "shownContent",
      "signature": "const shownContent = function shownContent(card: RegisteredCard, context: CardContext): ReadonlySet<string> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/evaluators/card.evaluator.ts",
          "name": "resolveCard",
          "source": {
            "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-evaluators-card-evaluator-ts",
            "json": "https://banes-lab.com/json/source/social-share/core/evaluators/card.evaluator.ts",
            "label": "core/evaluators/card.evaluator.ts",
            "markdown": "https://banes-lab.com/source/social-share/core/evaluators/card.evaluator.ts.md",
            "ref": "anatomy:file-social-share-core-evaluators-card-evaluator-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "overflowsOf",
      "signature": "const overflowsOf = function overflowsOf("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "FONT_SIZE",
      "signature": "const FONT_SIZE = \"fontSize\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "serving",
      "signature": "const serving = cards.filter((card) => card.spec.page === page.id);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "ids",
      "signature": "const ids = serving.map((card) => card.id).join(LIST_SEPARATOR);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "SHOWN_KINDS",
      "signature": "const SHOWN_KINDS: ReadonlySet<LayerKind> = new Set<LayerKind>([\"animation\", \"image\", \"text\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "size",
      "signature": "const size = pixelValue(layer.style[FONT_SIZE] ?? \"\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "room",
      "signature": "const room = layer.placement.width * profile.width;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "shown",
      "signature": "const shown = shownContent(card, context);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 66,
      "name": "parts",
      "signature": "const parts = [page.mark, page.headline, page.tagline, page.address, ...context.brand];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "missing",
      "signature": "const missing = parts.filter((mark) => !shown.has(mark));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 68,
      "name": "overflows",
      "signature": "const overflows = overflowsOf(card, page, context);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 91,
      "name": "pages",
      "signature": "const pages = new Map(context.pages.map((page) => [page.id, page]));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "page",
      "signature": "const page = pages.get(card.spec.page);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-page-validator-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "page.validator.ts",
  "path": "core/validators/page.validator.ts",
  "ref": "anatomy:file-social-share-core-validators-page-validator-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-core-validators",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-core-validators",
          "label": "core/validators",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-core-validators.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-core-validators"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-evaluators-card-evaluator-ts",
          "json": "https://banes-lab.com/json/source/social-share/core/evaluators/card.evaluator.ts",
          "label": "core/evaluators/card.evaluator.ts",
          "markdown": "https://banes-lab.com/source/social-share/core/evaluators/card.evaluator.ts.md",
          "ref": "anatomy:file-social-share-core-evaluators-card-evaluator-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-card-validator-ts",
          "json": "https://banes-lab.com/json/source/social-share/core/validators/card.validator.ts",
          "label": "core/validators/card.validator.ts",
          "markdown": "https://banes-lab.com/source/social-share/core/validators/card.validator.ts.md",
          "ref": "anatomy:file-social-share-core-validators-card-validator-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-core-evaluators",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-core-evaluators",
          "label": "core/evaluators",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-core-evaluators.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-core-evaluators"
        },
        {
          "href": "https://banes-lab.com/anatomy/social-share#folder-social-share-core-validators",
          "json": "https://banes-lab.com/json/anatomy/social-share/folder-social-share-core-validators",
          "label": "core/validators",
          "markdown": "https://banes-lab.com/anatomy/social-share/folder-social-share-core-validators.md",
          "ref": "chapter:/anatomy/social-share#folder-social-share-core-validators"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "validator",
    "subject": "page",
    "variant": null
  },
  "stats": {
    "bytes": 3840,
    "callable": 6,
    "definitions": 18,
    "edges": 4,
    "exported": 4,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 2,
      "leaf": 2,
      "entry": 2,
      "isolated": 12
    },
    "lines": {
      "blank": 8,
      "code": 88,
      "total": 96
    }
  },
  "summary": "88 lines of code and 18 definitions.",
  "text": "https://banes-lab.com/source/social-share/core/validators/page.validator.ts.txt",
  "tree": "social-share",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/social-share#file-social-share-core-validators-loop-validator-ts",
      "json": "https://banes-lab.com/json/source/social-share/core/validators/loop.validator.ts",
      "label": "core/validators/loop.validator.ts",
      "markdown": "https://banes-lab.com/source/social-share/core/validators/loop.validator.ts.md",
      "ref": "anatomy:file-social-share-core-validators-loop-validator-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/social-share/core/validators",
    "label": "core/validators",
    "markdown": "https://banes-lab.com/api/source/social-share/core/validators.md",
    "ref": "api:source/social-share/core/validators"
  }
}
