// Runs before the page paints: applies the remembered menu state so the menu does not jump (SPEC 13.4). (function () { try { if (localStorage.getItem("anubis.nav") === "collapsed") { document.documentElement.dataset.nav = "collapsed"; } } catch (e) { // Storage blocked: the menu simply starts open. } })();