//All of these can ignore maybe-null errors, as the script runs at the bottom of the page. //So DOM is guaranteed to exist. export const realBody: HTMLElement = document.getElementById('real-body')!; export const loadingIndicator: HTMLElement = document.getElementById('loading')!; export const fatalError: HTMLElement = document.getElementById('fatal-error')!; export const nonFatalError: HTMLElement = document.getElementById('display-backup-error')!; export const chatDisplay: HTMLElement = document.getElementById('chat-display')!; export const fileSelector: HTMLInputElement = document.getElementById('backup-file')! as HTMLInputElement; export const currentlyViewing: HTMLElement = document.getElementById('currently-viewing')!;