EaglerArchive/clients/1.8/Resent/Resent-4.0-Patch-4-Signed.html

396 lines
32 MiB
HTML
Raw Normal View History

2024-04-28 13:20:50 -05:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Resent 1.8" />
<meta name="keywords" content="eaglercraft, eaglercraftx, minecraft, 1.8, 1.8.8, resent, hooman, kone, nitwit, lax1dude" />
<title>Resent Client</title>
<meta property="og:locale" content="en-US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Resent 1.8" />
<meta property="og:description" content="Resent 1.8" />
<link type="image/png" rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB6+SURBVHhe7Z0HYBTF/sd/M7tX0hNICD0hkd47igVQRKUIUqSJiA1FfYoF0acg8vQJiNIFAeGBIIJYEBABpUnvIUAACSEhQAghPVd2Zv6/2Rw+9Qnm7pK7wH8/emRvZ293dn7f+c1vZndnwcDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDgJoK4/t70jK89j1SqGWEN7lKrYlDDCuHR8SGmSgTMliItUAGwAAcTCBFCBJg55ypRqJ0zKFRN9JLlij3PviGlyP5TWvYhuzOr24HBDtdub3huOgFMavQZCatstVoeaR6ttqh4W0SENS5CJR0jQ80RESoNsqhKBQsRYSoQtPsfzv96ZcFBgEPkO7LZpaJL4nDmOW37xVN814Ujdgc5dp479n9P8gte3/WEcG1/w3BTCGBq60W04vAWcdCsUjtzfPDd0WZ6exWLWjWKkIBgQnRLA1qwtE+XZxQB33rOKb4/mwkn8n60MfFNhtA23bK7b7Zrk3LPDSuA2bctU63Dm8aqt1ftYYo0960aZGpck0BQNEG/7uvTEgJYQhaI+ccF3ZNx2sHZwktMLNrEtZQh+waWa69wwwlg4eht4TC43r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rD2Wd0sep5RAOQcFjOClk9KJOSU/qUETHzoawuZfOdUVj3kkS
<script type="text/javascript">
"use strict";
const relayId = Math.floor(Math.random() * 3);
// %%%%%%%%% launch options %%%%%%%%%%%%
window.eaglercraftXOptsHints = {
hintsVersion: 1,
container: "game_frame",
worldsDB: "worlds",
servers: [
{ addr: "wss://mc.arch.lol/", name: "ArchMC" },
{ addr: "wss://ep.rufan.tech", name: "TimeLegacy"},
{ addr: "wss://play.ragexwaternet.online", name: "Water Network"},
{ addr: "wss://mc.asspixel.net/", name: "Ass Pixel" },
{ addr: "wss://vanillacraft.kones.tech/", name: "VanillaMC Legacy" },
{ addr: "wss://clever-teaching.com", name: "Clever Teaching" },
{ addr: "wss://ggsmp.net", name: "GG SMP"}
],
relays: [
{ addr: "wss://relay.deev.is/", comment: "lax1dude relay #1", primary: relayId === 0 },
{ addr: "wss://relay.lax1dude.net/", comment: "lax1dude relay #2", primary: relayId === 1 },
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId === 2 }
],
checkRelaysForUpdates: true
};
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
</script>
<style>
@font-face {
font-family: Aller;
src: url(data:font/ttf;base64,AAEAAAASAQAABAAgRFNJR+Vn4MYAAd9YAAAWGEdQT1N9O0d1AAD4OAAAZlpHU1VCP2rDngABXpQAAEDMTFRTSO0YyusAAZ9gAAACnk9TLzKHSGQSAAABqAAAAGBWRE1Y9STfvQAB05wAAAu6Y21hcAr3g0EAAAxwAAAFtmdhc3AAFwAJAAD4KAAAABBnbHlmBEChjQAAEigAAKWcaGRteOyubWsAAaIAAAAxnGhlYWTts+xaAAABLAAAADZoaGVhCKYGrAAAAWQAAAAkaG10eLpMdYUAAAIIAAAKaGtlcm5FjzEUAAC8/AAAIlZsb2NhV2AuWAAAt8QAAAU2bWF4cAKtAOUAAAGIAAAAIG5hbWWTsqPLAADfVAAAAdtwb3N0Vrl3igAA4TAAABb4AAEAAAABAAB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ARX/2wGHABgCPABEAa0AOgGtAEQBrQBEAa0ARAJhAEQCqf/vAmEARAJhAEQCYQBEAlIAKQJSACkCUgApAlIAKQJSACkCUgApAlIAKQJSACkCIgBEAiIAQwIiAEQB2AAnAdgAJwHYACcB2AAnAdgAJwHvAA0B7wANAe8ADQJXAD4CVwA+AlcAPgJXAD4CVwA+AlcAPgJXAD4CVwA+AlcAPgJXAD4DTAAPA0wADwNMAA8DTAAPAhEABQIRAAUCEQAFAhEABQH6ABgB+gAYAfoAGAO5ACMFQgAjAWIAEAFiABACqwAqARwAMgEhABQBMgAeATIAHgFPAEMBTwAeA
}
html {
font-family: sans-serif;
text-align: center;
}
*{
-webkit-tap-highlight-color: transparent;
user-select: none;
-webkit-user-select: none;
}
#progresstext {
font-weight: bold;
top: 30vh;
position: relative;
font-size: 1.75vw;
transition: all 0.4s;
}
#clienttitle {
position: relative;
top: 25vh;
font-size: 8vw;
font-family: Aller;
transition: all 0.4s;
color: white;
}
#clientversion {
position: absolute;
top: 31vh;
left: 74vw;
font-size: 2.5vw;
color: gray;
font-family: Aller;
transition: all 0.4s;
}
#progress {
width: 10%;
height: 100%;
display: block;
border-radius: 10vw;
background-color: white;
transition: all 0.5s;
transform: scaleX(1.01);
}
.ratio {
position: relative;
top: 13vh;
font-size: 2vh;
font-family: Aller;
opacity: 0;
transition: opacity 0.4s;
color: white;
}
.ratio.show {
opacity: 1;
}
#meter {
width: 80vw;
margin:auto;
top: 28vh;
height: 20px;
position: relative;
border: 5px solid white;
border-radius: 20vw;
}
#dividk {
background-color: #232323;
position: absolute;
top: 0px;
left: 0px;
width: 100vw;
height: 100vh;
}
#mojang {
position: absolute;
left: 50vw;
top: 35vh;
width: 50vw;
filter: invert(100%);
transform: translate(-50%);
opacity: 0;
}
#toggleControls:active {
background-color: black;
}
</style>
<script type="text/javascript">
let versionNum = "";
let hasSiteInteractionHappened = false;
let tooLate = false;
let patchNumber;
if (localStorage.getItem("isTabSettingsModEnabled") == null){
localStorage.setItem("isTabSettingsModEnabled", "false");
}
if (localStorage.getItem("isTabSettingsModEnabled") === "true"){
document.title = localStorage.getItem("tabTitle");
document.getElementById("favicon").href = localStorage.getItem("imageBase64");
}
document.addEventListener("click", () =>{
hasSiteInteractionHappened = true;
});
window.addEventListener('DOMContentLoaded', (event) => {
setTimeout(() => {
if (!tooLate){
document.getElementsByClassName("ratio")[0].className = "ratio show";
}
}, 2000);
});
function setVersion(version){
document.getElementById("clientversion").innerText = version;
versionNum = version;
}
function setBarProg(event, epkSize){
let progress = Math.round(event.loaded/1024/1024);
let size = Math.round(epkSize/1024/1024);
document.getElementById("progress").style.width = (Math.round(progress/size*100)+3.5)+"%";
document.getElementById("progresstext").innerText = Math.round(event.loaded/epkSize*10000)/100 + "% " + "(" + Math.round(event.loaded/1024/1024) + "MB" + "/" + Math.round(epkSize/1024/1024) + "MB)";
// why would you need to set the progress text in a different function???
}
function setPatchNum(patchNum){
patchNumber = patchNum;
}
function die(){
document.getElementById( "meter" ).style.display = "none";
tooLate = true;
document.getElementsByClassName("ratio")[0].className = "ratio";
setTimeout(() => {
document.getElementsByClassName("ratio")[0].display = "none";
}, 400);
document.getElementById("progresstext").innerText = "Decompressing Assets (May take 1-2 minutes on a slow device)";
}
let interval;
function enable(){
document.getElementById("progresstext").innerText = "Click anywhere on the screen to start Resent!";
let title = document.getElementById("clienttitle");
let versionText = document.getElementById("clientversion");
title.style.fontSize = "10vw";
versionText.style.left = "81vw";
versionText.style.top = "10vh";
title.style.top = "3vh";
versionText.style.fontSize = "3.5vw";
document.getElementById("progresstext").style.top = "3vh";
interval = setInterval(() => {
// checks if user clicked the screen
enableClick();
}, 10);
}
function enableClick(){
if (hasSiteInteractionHappened){
loading();
// gets rid of the loop made before in enable func
clearInterval(interval);
}
}
function loading(){
let title = document.getElementById("clienttitle");
let versionText = document.getElementById("clientversion");
title.style.fontSize = "8vw";
versionText.style.left = "74vw";
versionText.style.top = "31vh";
versionText.style.fontSize = "2.5vw";
title.style.top = "25vh";
document.getElementById("progresstext").style.top = "30vh";
document.getElementById("progresstext").innerText = "Loading Resent "+versionNum;
}
function showMojang(){
document.getElementById("dividk").style.transition = "background-color 0.2s";
document.getElementById("dividk").style.backgroundColor = "#f0323e";
document.getElementById("clienttitle").style.transition = "opacity 0.2s";
document.getElementById("clienttitle").style.opacity = "0";
document.getElementById("clientversion").style.transition = "opacity 0.2s";
document.getElementById("clientversion").style.opacity = "0";
document.getElementById("mojang").style.opacity = "1";
document.getElementById("progresstext").style.color = "white";
}
function die2(){
document.getElementById("progresstext").style.transition = "opacity 0.4s";
document.getElementById("progresstext").style.opacity = "0";
document.getElementById("mojang").style.transition = "all 0.4s";
document.getElementById("mojang").style.top = "50vh";
document.getElementById("mojang").style.transform = "translate(-50%, -50%)";
setTimeout(() => {
document.getElementById("mojang").style.transition = "all 0.7s";
document.getElementById("mojang").style.width = "135vw";
document.getElementById("dividk").style.transition = "opacity 0.4s";
document.getElementById("dividk").style.opacity = "0";
setTimeout(() => {
document.getElementById("dividk").style.display = "none";
}, 200);
}, 500);
}
function returnHasSiteInteractionHappened(){
return hasSiteInteractionHappened;
}
function setFavicon(){
let inputElem = document.createElement("input");
inputElem.type = "file";
inputElem.multiple = false;
inputElem.accept = ".png, .jpg, .jpeg, .webp";
//document.body.appendChild(inputElem);
inputElem.addEventListener("change", handleFileSelect, false)
inputElem.click();
}
function handleFileSelect(evt) {
var files = evt.target.files; // FileList object
// Loop through the FileList and render image files as thumbnails.
for (var i = 0, f; f = files[i]; i++) {
// Only process image files.
if (!f.type.match('image.*')) {
continue;
}
var reader = new FileReader();
// Closure to capture the file information.
reader.onload = (function(theFile) {
return function(e) {
localStorage.setItem("imageBase64", e.target.result);
document.getElementById("favicon").href = e.target.result;
};
})(f);
// Read in the image file as a data URL.
reader.readAsDataURL(f);
}
}
function setTitle(){
let title = prompt("Type Tab Title here:");
localStorage.setItem("tabTitle", title);
document.title = title;
}
function toggleTabSettingsMod(isEnabled){
localStorage.setItem("isTabSettingsModEnabled", isEnabled.toString());
if (!isEnabled){
document.title = "Resent Client";
document.getElementById("favicon").href = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB6+SURBVHhe7Z0HYBTF/sd/M7tX0hNICD0hkd47igVQRKUIUqSJiA1FfYoF0acg8vQJiNIFAeGBIIJYEBABpUnvIUAACSEhQAghPVd2Zv6/2Rw+9Qnm7pK7wH8/emRvZ293dn7f+c1vZndnwcDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDgJoK4/t70jK89j1SqGWEN7lKrYlDDCuHR8SGmSgTMliItUAGwAAcTCBFCBJg55ypRqJ0zKFRN9JLlij3PviGlyP5TWvYhuzOr24HBDtdub3huOgFMavQZCatstVoeaR6ttqh4W0SENS5CJR0jQ80RESoNsqhKBQsRYSoQtPsfzv96ZcFBgEPkO7LZpaJL4nDmOW37xVN814Ujdgc5dp479n9P8gte3/WEcG1/w3BTCGBq60W04vAWcdCsUjtzfPDd0WZ6exWLWjWKkIBgQnRLA1qwtE+XZxQB33rOKb4/mwkn8n60MfFNhtA23bK7b7Zrk3LPDSuA2bctU63Dm8aqt1ftYYo0960aZGpck0BQNEG/7uvTEgJYQhaI+ccF3ZNx2sHZwktMLNrEtZQh+waWa69wwwlg4eht4TC43r2mGiGPRQQpd8QRElgLCFHR8PJkSr+euwMK4eBlEBMOCno2/4pdiLlpdu3DOvv6Zbg2KHfcEAKY0mIJCXmsYSX1wbihonLAE1VViG8MlFSSRvevxf8S4eTA5x0FsvQMcKadztVg5GrNtmrIvgHctUm5odwL4NOZh6PUHnHP8OiA4dUVXrkFGj6SUFdq+Ubbfh7oOweAFDltRRqbcNDG329/oK/NlVwuKLcCmPvkhkAxquUQEhM6KlQRsbcBhSqYXVo2VZ4BF5oo0pxgY5qghEOY2eykxIzhv9mMG1A8pidH5adzAV7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uICoVhDh93JtdEzGi32+pw/eWJtEKsfPgYXlWhsjqp5WIxEwd/xYq/h3eUvzylTAWhYOPL0ZJBUHK655yJl15qP2yGoUz60AbVWP1Xfisa3YuAFxcMo10UWqFDuiQXWAZsEPFeMsl69h6ht5BdvML3W7nkeqLYkmMG2uuncO6/fKMLOozxJxvF/cfMNBWuJmQl4enZZPKfRgu52/fj2c6Dsy5CFRAoI+TmzXVU0HqFWFFbVku1Kr1ZkRNPioxMSUJ1ob09pttTj85674WxzHh/6Ku6NyvHbCD0f7p3XVURqvmtJBoFkm2vRp5SpABwTtx4iBc4j0vB78btb9URuPOUAth6yfhHbjhB1GatobS1X18BEd0Z6lLhwYFWx+ecYOHJxa50ie01XklvMGru9ArStvECjpEJN3FdDL65eSsSuC1cLhdmY2K4v+ZgyFcDMn4ba4fSVf+MiO4/llPjffvvfwo9kAj2cqQ/7FgHZtGNcOyJMtLos7gbuFrrcvEIg7gvLW0BorELdvv407dn1AeoLzWc7gtXG4bijjlhynpse8+HkQLed1zPEhcg+xW0/uZJ8SpkKQJL/z/WreK5jg8BDrcJIwFFCP8AXJWIBS99B+EWA6aRJVG9s/7HMBcQVO/biDUuCPOQleQ+m/jvHRcHcerjzox5fW8notrMc4ZY+QdgcdcNzMePHGwGwDSlAs4ub/QKAFce1oFz9i48pcwHM+m6w3bk19TXBxZXLRIUfZdDzNxoQBRrQdWdQBQQ0IL8uj6D7tDBrF+k/YrD2Wd0sep5RAOQcFjOClk9KJOSU/qUETHzoawuZfOdUVj3kkSDM+
}
else {
document.title = localStorage.getItem("tabTitle");
document.getElementById("favicon").href = localStorage.getItem("imageBase64");
}
}
</script>
<script>
function doMobileStuff() {
document.body.style.overflowX = "hidden";
document.body.style.overflowY = "scroll";
document.body.style.width = "85vw";
document.body.style.height = "85vh";
document.getElementById("keyboardButton").style.display = "block";
document.getElementById("fakeKeyboard").style.display = "block";
document.getElementById("toggleControls").style.display = "block";
}
</script>
<style type="eaglercraft" id="eaglercraftXClientSignature">data:application/octet-stream;base64,RUFHU0lHAAE0jVxHgUejyexGRN/rpiZMuyB+PXUiPILsm6k4GD1OhEL+jSiFB5KwBeO8fK9b8T5IT/j8wfCUet4WO+0TVLK+zRZ1hGUonNzPreQv03ay8/5qq1b+cGS6aBs/Ozv7zdhtPy100wc3XErCp54E5EgS3NmuhuEMAz+xZhgPHs+KRoO2+CeePLxttDkm7OtfnGUDswR85v+IIwn0D/DNrizBZu1LPFqWk6B8FARpPZ5zs6pkUZKE59aOOEteS6kMijlDwG8Rsx4UpOFg9HjL0yO3oInf5eAEuOzeWYySfMjb6vDorOu3Lefe/w0KuCqiiaUYA3WqNKrfCbvogEp8sTXCAW0fiwgAAAAAAAD/Y2Bg7Js6W5GFsez7zL8Lj7xbpn9lq+/H1XxVsvfEtuk/Kw2NfvWyaKE806JlsWsZhLLz81L1ilKLU/NK9JJzMoEUA1sQmMvAApJjYGCcwsBtomegEJBYkpyhYMKgG5yaqlAA5uTll6QWK2TmKZRkpCpAdCmkZBYn5xelKBSnFpWlFulN8nvi+kp9h+vUpmaVM5fu8jzuPrev5ekKLp7n3lULC08836LS/cpb1+eQ4GQ5vvMc+3TXl0yOOHr0hITEsWmOBxgmlGv9z9W7tLS05m+/+F+vuhcG22I6n7bvU9/cbKB482mr08Vp20wb9OJdLFPlYqa8Vq4RNOzUePXIa8fkd9/CthzVT/NIeZrnusajR2PSAvlY8Qe2+x5+sWYA+umG+jVuBubSohwG84ySkoJiK319kG+L9UpSkzP0IeGhW1qQkliSqg/xmG5wZnpeaopeRklujh5QHADZB0vvZwEAAA==</style>
<style type="eaglercraft" id="eaglercraftXClientBundle">data:application/octet-stream;base64,H4sIAAAAAAAA/+y9Z3fbOLcw+vlwrfc/OL5+88gnGj9ucYpGM1fFLXGLS9osXy9KgiQmFKmQlEsy+e8XhZ0ECYBNLs86JyOTIDawAWzsvhdnJlgwLUPpW4uN/yP9H+m//134v87/FlR5pvXHC/rUUnTN9F7A/6G2yrBm3U2BPly4UbSBfrPw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2BorypBiEHeFeqnjPWFvLtQiuJ8ibX8FZwaZCn1ABhaYxfPnsP2KiZ6Tdcc/m6FPal6jhrM5ztyGfkU6vgwcRQn+wmX98bZTwYQw2jr5nrBKIauS77PGixeKvWOJl4rUxK//US4b6IlvALhD25fFHodRs78ijC/mCOvhV5CtGuuD+HcQrYC8cZ4gBwooovSQFAJRjMdgkwtnTpiN7MExfW/8djG1gsQdZJjAKEBWvWd2e/v+BZaN6tu6+xGy2MaxvIeQ5VZ8un8FDg151tjSz1AxTAui0kOr18LG68Ifaw3lL4TupgJ/2xY7rxkaabMJn5K+FGc+aOD40V/oHeyfLBl+5Bn/HIY7IJg13G9hz3EDipFo4+b4D+7jEuHGFeFMiaKQR09cBh8/6ugzuD+87uq4u2WyP/HvrjJpRsD9S9BJpktgRmye5DFCXdwMnL5DTGdoQfehWICbk87qkYFSNaO+TRHeEKQvcRStLuPNHpg22R4JMwlpTX1jIndbHK5XHTx71IAD154ymgPXwVFKEbTTtfNziXBPbV8Cwj2TCCfCvVFGt/lqogazcKRLQtvcr90sY6f7Nci8
<script type="text/javascript">
"use strict";
(function(){
function eaglerBundleUnwrap(tagIn) { const e = document.getElementById(tagIn); const ret = e.innerText; e.remove(); return ret; }
window.eaglercraftXClientSignature = eaglerBundleUnwrap("eaglercraftXClientSignature");
window.eaglercraftXClientBundle = eaglerBundleUnwrap("eaglercraftXClientBundle");
})();
</script>
<script type="text/javascript">
"use strict";
(function(){
var ds = new DecompressionStream("gzip");
var result = [];
function fetchStream(reader) {
reader.read().then(function processData({ done, value }) {
if (done) {
window.clientScriptSrcURL = URL.createObjectURL(new Blob(result, { type: "text/javascript;charset=utf-8" }));
const script = document.createElement("script");
script.type = "text/javascript";
script.src = window.clientScriptSrcURL;
window.clientScriptSrcURL = null;
document.head.appendChild(script);
result = [];
ds = null;
return;
}
result.push(value);
return reader.read().then(processData);
});
}
fetch(window.eaglercraftXClientBundle, { cache: "force-cache" })
.then((response) => response.blob())
.then((blob) => fetchStream(blob.stream().pipeThrough(ds).getReader()));
})();
</script>
</head>
<body style="margin:0px;width:100vw;height:100vh;overflow:hidden; user-select: none; -webkit-tap-highlight-color: transparent;" id="game_frame">
<div id = "dividk">
<h1 id="clienttitle">Resent Client</h1>
<!--everything breaks if u remove this and i dont feel like changing the functions in here to fix it-->
<p class="ratio" ></p>
<img id="mojang" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMjI1NS4wMDAwMDBwdCIgaGVpZ2h0PSI1NzIuMDAwMDAwcHQiIHZpZXdCb3g9IjAgMCAyMjU1LjAwMDAwMCA1NzIuMDAwMDAwIgogcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCI+Cgo8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCw1NzIuMDAwMDAwKSBzY2FsZSgwLjEwMDAwMCwtMC4xMDAwMDApIgpmaWxsPSIjMDAwMDAwIiBzdHJva2U9Im5vbmUiPgo8cGF0aCBkPSJNNTc5MiA1NDIwIGMtNzU4IC03OCAtMTM1NSAtNjI1IC0xNTAxIC0xMzc1IC02NyAtMzQ2IC0xMiAtNzM0IDE1MQotMTA2MCAyMDIgLTQwNiA1NDcgLTcwNSA5NzggLTg0OSAxOTggLTY2IDI4OSAtODAgNTI1IC04MCAyMjggMCAzMDEgMTAgNDg1CjY1IDM0NiAxMDIgNjU2IDMxOSA4NzkgNjE1IDEwOSAxNDYgMjIxIDM4MSAyNjkgNTY5IDgyIDM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MDEgMjUgLTI0IDI0IC0yNSAzNTEKMCBjMzQ4IDAgMzgyIDMgNDAyIDM0IDQgNiA4IDUx
<h2 id="clientversion">4.0</h2>
<p id="progresstext" style="color:white">0%</p>
<div id="meter">
<div style="width: 0%" id="progress"></div>
</div>
</div>
<button id="keyboardButton" style="display:none; position: absolute; left: 85vw; top: 0px; font-size: 15px; height: 50px; width: 100px; -webkit-tap-highlight-color: transparent;">Open Keyboard</button> <input type="text" id="fakeKeyboard" style="display:none; position: absolute; top: 0px; left: 85vw; width: 100px; height: 50px; opacity: 0; -webkit-tap-highlight-color: transparent;">
<button id="toggleControls" style="display:none; position: absolute; left: 85vw; top: 50px; font-size: 15px; height: 50px; width: 100px; -webkit-tap-highlight-color: transparent;">Toggle Controls</button>
</body>
</html>