"use strict"; // JS & CSS /* eslint-disable */ import "./scss/main.scss"; import UIkit from 'uikit'; // Don't Sort These! import Icons from 'uikit/dist/js/uikit-icons'; // @ts-ignore UIkit.use(Icons); import Prism from "prismjs"; // Don't Sort These! import "prismjs/components/prism-json"; import "prismjs/components/prism-hcl"; Prism.highlightAll(); /* eslint-enable */ // @ts-ignore import translations from "./translations/index.mjs"; // Actual Imports import { PageRouter } from "./pagerouter/PageRouter"; import { formatDistance } from "./formatDistance"; import { getSealStatus } from "./api/sys/getSealStatus"; import { pageList } from "./allPages"; import { pageState } from "./globalPageState"; import { playground } from "./playground"; import { reloadNavBar } from "./ui/elements/NavBar"; import { render } from "preact"; import i18next from "i18next"; async function onLoad(): Promise { render( <>