Skip to content

Commit

Permalink
deploy: 73505e4
Browse files Browse the repository at this point in the history
  • Loading branch information
randallard committed Dec 6, 2024
1 parent 3693576 commit d726c56
Show file tree
Hide file tree
Showing 5 changed files with 627 additions and 25 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="/spaces-game/">
<title>Spaces Game</title>
<link rel="stylesheet" href="/spaces-game/tailwind-9bce67ec803753eb.css" integrity="sha384&#x2D;4kYD&#x2B;WtdfEtT3RwjSBk2DWLSEZQ8wLyAa3mYN8IGwPBVV0GEa4QhGzy8jIPQxTzT"/>
<link rel="modulepreload" href="/spaces-game/spaces-game-3d3e322eab673961.js" crossorigin=anonymous integrity="sha384-WCi4sPVcZa9sG17Kpa7T5EAg9tDC9D8DPWAxDl8T0yn/naKSLiaI6Tbd9NLK/Rdw"><link rel="preload" href="/spaces-game/spaces-game-3d3e322eab673961_bg.wasm" crossorigin=anonymous integrity="sha384-I+pr5uFk56HZ5bEqaG5yoRUPVDLUoFDQIE2too0VeZJxsRxeJyXO7MFfrQ/VA/iK" as="fetch" type="application/wasm"></head>
<link rel="stylesheet" href="/spaces-game/tailwind-53c923d99602cf26.css" integrity="sha384&#x2D;P&#x2B;UZkJbtoChONCGWw3IAaIrY&#x2F;x06lHNuvoVo9OILmlgW6L16GfMMgQiipVaVs0Oy"/>
<link rel="modulepreload" href="/spaces-game/spaces-game-c4b66ef8b6e64216.js" crossorigin=anonymous integrity="sha384-8DRLOeOnVm1OU/4gIK/Kk5N4OPgFZ03XXn4SjG19iGC8Lkn3ogb3vPpaC1uVBljZ"><link rel="preload" href="/spaces-game/spaces-game-c4b66ef8b6e64216_bg.wasm" crossorigin=anonymous integrity="sha384-/qW4KOoVXyZNq7n0iuxBIZJieflNRjRrXnqkc9S0rRsdCd5fHx1vdGZhAQ9t+EzV" as="fetch" type="application/wasm"></head>
<body>

<script type="module" nonce="irrPKthjMXu2ohLHzIikKQ==">
import init, * as bindings from '/spaces-game/spaces-game-3d3e322eab673961.js';
const wasm = await init({ module_or_path: '/spaces-game/spaces-game-3d3e322eab673961_bg.wasm' });
<script type="module" nonce="Dh0KJRQ4AVg4EGCXE9zliQ==">
import init, * as bindings from '/spaces-game/spaces-game-c4b66ef8b6e64216.js';
const wasm = await init({ module_or_path: '/spaces-game/spaces-game-c4b66ef8b6e64216_bg.wasm' });


window.wasmBindings = bindings;
Expand Down
Binary file removed spaces-game-3d3e322eab673961_bg.wasm
Binary file not shown.
190 changes: 171 additions & 19 deletions spaces-game-3d3e322eab673961.js → spaces-game-c4b66ef8b6e64216.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,41 @@ function makeMutClosure(arg0, arg1, dtor, f) {
CLOSURE_DTORS.register(real, state, state);
return real;
}
function __wbg_adapter_26(arg0, arg1, arg2) {
wasm.closure62_externref_shim(arg0, arg1, arg2);
function __wbg_adapter_30(arg0, arg1) {
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff43b9180dc6bf9b(arg0, arg1);
}

function __wbg_adapter_31(arg0, arg1, arg2) {
wasm.closure95_externref_shim(arg0, arg1, arg2);
function makeClosure(arg0, arg1, dtor, f) {
const state = { a: arg0, b: arg1, cnt: 1, dtor };
const real = (...args) => {
// First up with a closure we increment the internal reference
// count. This ensures that the Rust closure environment won't
// be deallocated while we're invoking it.
state.cnt++;
try {
return f(state.a, state.b, ...args);
} finally {
if (--state.cnt === 0) {
wasm.__wbindgen_export_3.get(state.dtor)(state.a, state.b);
state.a = 0;
CLOSURE_DTORS.unregister(state);
}
}
};
real.original = state;
CLOSURE_DTORS.register(real, state, state);
return real;
}
function __wbg_adapter_33(arg0, arg1) {
wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he2c92e6c26e3d9d5(arg0, arg1);
}

function isLikeNone(x) {
return x === undefined || x === null;
function __wbg_adapter_36(arg0, arg1, arg2) {
wasm.closure624_externref_shim(arg0, arg1, arg2);
}

function __wbg_adapter_41(arg0, arg1, arg2) {
wasm.closure676_externref_shim(arg0, arg1, arg2);
}

function addToExternrefTable0(obj) {
Expand All @@ -205,9 +230,13 @@ function handleError(f, args) {
}
}

function isLikeNone(x) {
return x === undefined || x === null;
}

function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
function __wbg_adapter_106(arg0, arg1, arg2, arg3) {
wasm.closure111_externref_shim(arg0, arg1, arg2, arg3);
function __wbg_adapter_164(arg0, arg1, arg2, arg3) {
wasm.closure692_externref_shim(arg0, arg1, arg2, arg3);
}

const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
Expand Down Expand Up @@ -394,6 +423,49 @@ function __wbg_get_imports() {
const ret = getStringFromWasm0(arg0, arg1);
return ret;
};
imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
const ret = arg0.crypto;
return ret;
};
imports.wbg.__wbindgen_is_object = function(arg0) {
const val = arg0;
const ret = typeof(val) === 'object' && val !== null;
return ret;
};
imports.wbg.__wbg_process_4a72847cc503995b = function(arg0) {
const ret = arg0.process;
return ret;
};
imports.wbg.__wbg_versions_f686565e586dd935 = function(arg0) {
const ret = arg0.versions;
return ret;
};
imports.wbg.__wbg_node_104a2ff8d6ea03a2 = function(arg0) {
const ret = arg0.node;
return ret;
};
imports.wbg.__wbindgen_is_string = function(arg0) {
const ret = typeof(arg0) === 'string';
return ret;
};
imports.wbg.__wbg_require_cca90b1a94a0255b = function() { return handleError(function () {
const ret = module.require;
return ret;
}, arguments) };
imports.wbg.__wbindgen_is_function = function(arg0) {
const ret = typeof(arg0) === 'function';
return ret;
};
imports.wbg.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) {
const ret = arg0.msCrypto;
return ret;
};
imports.wbg.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) {
arg0.randomFillSync(arg1);
}, arguments) };
imports.wbg.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) {
arg0.getRandomValues(arg1);
}, arguments) };
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = arg0.original;
if (obj.cnt-- == 1) {
Expand Down Expand Up @@ -429,6 +501,18 @@ function __wbg_get_imports() {
const ret = arg0.document;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_localStorage_6026615061e890bf = function() { return handleError(function (arg0) {
const ret = arg0.localStorage;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
}, arguments) };
imports.wbg.__wbg_setInterval_4dcf8a1b846034db = function() { return handleError(function (arg0, arg1, arg2) {
const ret = arg0.setInterval(arg1, arg2);
return ret;
}, arguments) };
imports.wbg.__wbg_setTimeout_e5d5b865335ce177 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = arg0.setTimeout(arg1, arg2);
return ret;
}, arguments) };
imports.wbg.__wbg_body_8e909b791b1745d3 = function(arg0) {
const ret = arg0.body;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
Expand Down Expand Up @@ -459,12 +543,19 @@ function __wbg_get_imports() {
const ret = result;
return ret;
};
imports.wbg.__wbg_setinnerHTML_559d45055154f1d8 = function(arg0, arg1, arg2) {
arg0.innerHTML = getStringFromWasm0(arg1, arg2);
};
imports.wbg.__wbg_removeAttribute_2dc68056b5e6ea3d = function() { return handleError(function (arg0, arg1, arg2) {
arg0.removeAttribute(getStringFromWasm0(arg1, arg2));
}, arguments) };
imports.wbg.__wbg_setAttribute_2a8f647a8d92c712 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
}, arguments) };
imports.wbg.__wbg_remove_d7a18d9f46bc50fd = function(arg0) {
arg0.remove();
};
imports.wbg.__wbg_log_f740dc2253ea759b = typeof console.log == 'function' ? console.log : notDefined('console.log');
imports.wbg.__wbg_addEventListener_4357f9b7b3826784 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
}, arguments) };
Expand Down Expand Up @@ -496,13 +587,21 @@ function __wbg_get_imports() {
const ret = arg0.parentNode;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_nextSibling_46da01c3a2ce3774 = function(arg0) {
const ret = arg0.nextSibling;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_setnodeValue_ddb802810d61c610 = function(arg0, arg1, arg2) {
arg0.nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
};
imports.wbg.__wbg_cloneNode_bd4b7e47afe3ce9f = function() { return handleError(function (arg0) {
const ret = arg0.cloneNode();
return ret;
}, arguments) };
imports.wbg.__wbg_cloneNode_0afaf6c6ce3a8ad2 = function() { return handleError(function (arg0, arg1) {
const ret = arg0.cloneNode(arg1 !== 0);
return ret;
}, arguments) };
imports.wbg.__wbg_insertBefore_5caa6ab4d3d6b481 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = arg0.insertBefore(arg1, arg2);
return ret;
Expand Down Expand Up @@ -531,6 +630,9 @@ function __wbg_get_imports() {
imports.wbg.__wbg_respond_ffb6928cd9b79c32 = function() { return handleError(function (arg0, arg1) {
arg0.respond(arg1 >>> 0);
}, arguments) };
imports.wbg.__wbg_setProperty_b9a2384cbfb499fb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
}, arguments) };
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) {
arg0.close();
}, arguments) };
Expand All @@ -549,12 +651,42 @@ function __wbg_get_imports() {
const ret = arg0.composedPath();
return ret;
};
imports.wbg.__wbg_queueMicrotask_848aa4969108a57e = function(arg0) {
const ret = arg0.queueMicrotask;
imports.wbg.__wbg_preventDefault_eecc4a63e64c4526 = function(arg0) {
arg0.preventDefault();
};
imports.wbg.__wbg_stopPropagation_8a8fc87824cc6f0b = function(arg0) {
arg0.stopPropagation();
};
imports.wbg.__wbg_getItem_cc312d333f535f07 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
const ret = arg1.getItem(getStringFromWasm0(arg2, arg3));
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
}, arguments) };
imports.wbg.__wbg_setItem_5afc04d5b6287c76 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
}, arguments) };
imports.wbg.__wbg_instanceof_HtmlElement_aab18e065dc9207d = function(arg0) {
let result;
try {
result = arg0 instanceof HTMLElement;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbindgen_is_function = function(arg0) {
const ret = typeof(arg0) === 'function';
imports.wbg.__wbg_style_04eb1488bc2ceffc = function(arg0) {
const ret = arg0.style;
return ret;
};
imports.wbg.__wbg_content_57ec141416462f04 = function(arg0) {
const ret = arg0.content;
return ret;
};
imports.wbg.__wbg_queueMicrotask_848aa4969108a57e = function(arg0) {
const ret = arg0.queueMicrotask;
return ret;
};
imports.wbg.__wbg_queueMicrotask_c5419c06eab41e73 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask');
Expand Down Expand Up @@ -605,7 +737,7 @@ function __wbg_get_imports() {
const a = state0.a;
state0.a = 0;
try {
return __wbg_adapter_106(a, state0.b, arg0, arg1);
return __wbg_adapter_164(a, state0.b, arg0, arg1);
} finally {
state0.a = a;
}
Expand All @@ -632,17 +764,29 @@ function __wbg_get_imports() {
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
return ret;
};
imports.wbg.__wbg_new_fec2611eb9180f95 = function(arg0) {
const ret = new Uint8Array(arg0);
return ret;
};
imports.wbg.__wbg_set_ec2fcf81bc573fd9 = function(arg0, arg1, arg2) {
arg0.set(arg1, arg2 >>> 0);
};
imports.wbg.__wbg_length_9254c4bd3b9f23c4 = function(arg0) {
const ret = arg0.length;
return ret;
};
imports.wbg.__wbg_newwithlength_76462a666eca145f = function(arg0) {
const ret = new Uint8Array(arg0 >>> 0);
return ret;
};
imports.wbg.__wbg_buffer_95102df5554646dc = function(arg0) {
const ret = arg0.buffer;
return ret;
};
imports.wbg.__wbg_subarray_975a06f9dbd16995 = function(arg0, arg1, arg2) {
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
return ret;
};
imports.wbg.__wbg_byteLength_5d623ba3d92a3a9c = function(arg0) {
const ret = arg0.byteLength;
return ret;
Expand Down Expand Up @@ -673,16 +817,24 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return ret;
};
imports.wbg.__wbindgen_closure_wrapper193 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 63, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper1110 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 482, __wbg_adapter_30);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1342 = function(arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 616, __wbg_adapter_33);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1365 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 625, __wbg_adapter_36);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper195 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 63, __wbg_adapter_26);
imports.wbg.__wbindgen_closure_wrapper1367 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 625, __wbg_adapter_36);
return ret;
};
imports.wbg.__wbindgen_closure_wrapper1586 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 96, __wbg_adapter_31);
imports.wbg.__wbindgen_closure_wrapper2833 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 677, __wbg_adapter_41);
return ret;
};
imports.wbg.__wbindgen_init_externref_table = function() {
Expand Down
Binary file added spaces-game-c4b66ef8b6e64216_bg.wasm
Binary file not shown.
Loading

0 comments on commit d726c56

Please sign in to comment.