function doc_keyDown(t){if(!window.MultitaskingEnabled){var e=nebulaCurrentPage();if(!t.ctrlKey&&!t.altKey||191!==t.keyCode&&111!==t.keyCode&&220!==t.keyCode||(t.preventDefault(),sidebarRefresh(),showKeybinds()),t.ctrlKey&&27===t.keyCode&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),sidebarButtonEvent("home")),t.ctrlKey&&190===t.keyCode&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),sidebarButtonEvent("accountAccount")),(t.altKey&&70===t.keyCode||t.ctrlKey&&75===t.keyCode)&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),document.querySelector(".NavigationBar__RightNavigation-sc-tupl2x-0 > .navigation-link:has(.fa-search)").click()),t.ctrlKey&&188===t.keyCode){if(!rootAdmin)return;t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),window.location="/admin"}if(t.altKey&&78===t.keyCode&&rootAdmin&&(t.preventDefault(),forceHideKeybinds(),window.location="/admin/servers/new"),t.altKey&&69===t.keyCode&&rootAdmin&&(t.preventDefault(),forceHideKeybinds(),document.querySelector("a[href*='/admin/servers/view/']").click()),t.ctrlKey&&68===t.keyCode&&rootAdmin){t.preventDefault(),forceHideKeybinds();let e=document.createElement("div");var r=document.createElement("div");r.innerHTML=`
      <div id="DesignerSpinnerContainer" style="position: absolute; left: 50%; top: 50%; width: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);">
        <p style="text-align: center">
          <svg width="30" height="30" style="display: inline !important" stroke="#fff" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><style>.spinner_V8m1{transform-origin:center;animation:spinner_zKoa 2s linear infinite}.spinner_V8m1 circle{stroke-linecap:round;animation:spinner_YpZS 1.5s ease-in-out infinite}@keyframes spinner_zKoa{100%{transform:rotate(360deg)}}@keyframes spinner_YpZS{0%{stroke-dasharray:0 150;stroke-dashoffset:0}47.5%{stroke-dasharray:42 150;stroke-dashoffset:-16}95%,100%{stroke-dasharray:42 150;stroke-dashoffset:-59}}</style><g class="spinner_V8m1"><circle cx="12" cy="12" r="9.5" fill="none" stroke-width="3"></circle></g></svg>
        </p>
      </div>
    `,r.style=`
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 2147483647;
    `,e.style=`
      position: fixed;
      left: 0;
      top: 0;
      width: 0%;
      height: 100%;
      background-color: #050404;
      z-index: 2147483646;
      transition: width 1s, height 1s;
    `,document.body.append(e),document.body.append(r),setTimeout(()=>{e.style.width="100%"},25),setTimeout(()=>{var e=new URL(window.location);window.location="{webroot/public}/editor/edit/dashboard.php?source=panel&animate=true&location="+e},1025)}(t.ctrlKey&&49===t.keyCode||t.altKey&&190===t.keyCode)&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server")&&sidebarButtonEvent("serverTerminal"),e.startsWith("account"))&&sidebarButtonEvent("accountAccount"),"serverTerminal"===e&&(t.altKey&&90===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector("#power-start").click()),t.altKey&&88===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector("#power-stop").click()),t.altKey&&67===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector("#power-restart").click()),t.altKey)&&65===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".flex.flex-col.justify-center.overflow-hidden.w-full > div.w-full.font-semibold.text-gray-50.truncate").click()),(t.ctrlKey&&50===t.keyCode||t.altKey&&188===t.keyCode)&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server")&&sidebarButtonEvent("serverFiles"),e.startsWith("account"))&&sidebarButtonEvent("accountApi"),"serverFiles"===e&&(t.altKey&&90===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),switchFilesLayout()),t.altKey&&219===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".style-module_3Y7xosru > a[href*='/server/12e77b22/files/new']").click()),t.altKey)&&221===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".style-module_3Y7xosru .style-module_4LBM1DKx.style-module_3kBDV_wo.style-module_Yp7-2Fw-").click()),t.ctrlKey&&51===t.keyCode&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server")&&sidebarButtonEvent("serverDatabases"),e.startsWith("account"))&&sidebarButtonEvent("accountSsh"),"serverDatabases"===e&&t.altKey&&219===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".DatabasesContainer___StyledDiv-sc-1hfwugg-2.jNRond > button.Button__ButtonStyle-sc-1qu1gou-0.cDkCmT .Button___StyledSpan-sc-1qu1gou-2").click()),t.ctrlKey&&52===t.keyCode&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server")&&sidebarButtonEvent("serverSchedules"),e.startsWith("account"))&&sidebarButtonEvent("accountActivity"),"serverSchedules"===e&&t.altKey&&219===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".ScheduleContainer___StyledDiv-sc-dlqnx9-3.hTpoeo > button.style-module_4LBM1DKx.style-module_3kBDV_wo").click()),t.ctrlKey&&53===t.keyCode&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server"))&&sidebarButtonEvent("serverUsers"),"serverUsers"===e&&t.altKey&&219===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".UsersContainer___StyledDiv-sc-rg2v3f-2.dueAyQ > button.style-module_4LBM1DKx.style-module_3kBDV_wo").click()),t.ctrlKey&&54===t.keyCode&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server"))&&sidebarButtonEvent("serverBackups"),"serverBackups"===e&&t.altKey&&219===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".BackupContainer___StyledDiv-sc-1vjo0fh-4.geVpGO > button.Button__ButtonStyle-sc-1qu1gou-0.cDkCmT.CreateBackupButton___StyledButton-sc-da8bqw-5.heZiiK .Button___StyledSpan-sc-1qu1gou-2").click()),t.ctrlKey&&55===t.keyCode&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server"))&&sidebarButtonEvent("serverNetwork"),"serverNetwork"===e&&t.altKey&&219===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".NetworkContainer___StyledDiv-sc-1covx0t-0.hTiZnt > button.Button__ButtonStyle-sc-1qu1gou-0.cDkCmT.NetworkContainer___StyledButton-sc-1covx0t-2.cnbnre .Button___StyledSpan-sc-1qu1gou-2").click()),(t.ctrlKey&&56===t.keyCode||t.altKey&&77===t.keyCode)&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server"))&&sidebarButtonEvent("serverStartup"),(t.ctrlKey&&57===t.keyCode||t.altKey&&76===t.keyCode)&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server"))&&sidebarButtonEvent("serverSettings"),"serverSettings"===e&&t.altKey&&65===t.keyCode&&(t.preventDefault(),forceHideKeybinds(),document.querySelector(".SettingsContainer___StyledDiv7-sc-1e5ycmz-9.hmubvf a[href*='sftp://']").click()),(t.ctrlKey&&48===t.keyCode||t.altKey&&173===t.keyCode)&&(t.preventDefault(),sidebarRefresh(),forceHideKeybinds(),e.startsWith("server"))&&sidebarButtonEvent("serverActivity")}}console.log("nebula#~ keybinds.js"),window.addEventListener("keydown",doc_keyDown,!1);