iya-sts
    Preparing search index...

    Class export=

    The footer's markup, its facts and its stylesheet. A static utility class; it holds no state.

    Index
    CSS: string = CSS

    The stylesheet.

    LINKS: { english: string; href: string; key: string }[] = LINKS

    The three links.

    NAMESPACE: "footer" = 'footer'

    The catalog namespace of its words.

    SOCIAL: { d: string[]; href: string; name: string; viewBox: string }[] = SOCIAL

    The two social accounts.

    • The footer a runtime draws again with a page it puts in place of the body: the shell's facts in the translator's language, or '' where the shell drew none.

      Parameters

      • doc: any

        the document, before its body is replaced

      • t: FooterTranslator

        the page's translator

      Returns string

      the markup, or ''

    • Escapes text for HTML.

      Parameters

      • value: unknown

        anything

      Returns string

      the escaped text

    • The facts of the footer a document already holds — the one its shell drew — or null where it holds none.

      Parameters

      • doc: any

        the document

      Returns FooterFacts

      { version, buildInfo, year }, or null

    • The footer.

      Parameters

      • t: FooterTranslator

        a translator, or null for English

      • facts: FooterFacts

        the version, the build line and the year

      Returns string

      the <footer> element's markup

    • Draws the document's footer again in place, for a runtime that does not replace the body (the reports application draws only its <main>).

      Parameters

      • doc: any

        the document

      • t: FooterTranslator

        the page's translator

      • replace: (el: any, markup: string) => void

        how an element is replaced with markup (WebSafeDom.replace)

      Returns boolean

      whether there was a footer

    • One message, as text: the translator's where it has it, else English.

      Parameters

      • t: FooterTranslator

        a translator, or null

      • key: string

        the key within the namespace

      • Optionalparams: Record<string, unknown>

        the values it names

      Returns string

      the text

    • The copyright's years: the first year alone while it is still the current one ("© 2026"), and the range once the year has moved on ("© 2026–2027"). A year that cannot be read is the first year.

      Parameters

      • year: string

        the current year, as the footer's facts carry it

      Returns string

      the years the copyright names