tion showElement(element) {
        element.style.display = "block";
    }

    function hideElement(element) {
        element.style.display = "none";
    }

    function invisibleElement(element) {
        element.style.visibility = "hidden";
    }

    function visibleElement(element) {
        element.style.visibility = "visible";
    }

    function removeLast(array) {
        return array.slice(0, -1);
    }

    function setEnabled(element, enabled = true) {
        if (enabled) {
            element