!function(){"use strict";function e(){var e=new URLSearchParams(window.location.search).get("page")||"",n=window.location.hash,t=e+(1===n.length?"":n);let o,a;e=document.querySelector("body ul");if(e)for(const i of e.children){var r=i.querySelector("a");r.text===t&&(a=r.href),r.text===n&&(o=r.href)}window.location.replace(a||o||"index.html")}window.addEventListener("load",e),window.addEventListener("hashchange",e)}();