Skip to content

Commit

Permalink
Deploying to gh-pages from @ 5079dfa 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderjophus committed Oct 30, 2023
1 parent b1da4e9 commit afdc379
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
44 changes: 22 additions & 22 deletions assets/dioxus/Formula 1 GraphQL Experiment.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ function takeObject(idx) {
return ret;
}

function _assertBoolean(n) {
if (typeof(n) !== 'boolean') {
throw new Error('expected a boolean argument');
}
}

function addHeapObject(obj) {
if (heap_next === heap.length) heap.push(heap.length + 1);
const idx = heap_next;
Expand All @@ -37,12 +43,6 @@ function addHeapObject(obj) {
return idx;
}

function _assertBoolean(n) {
if (typeof(n) !== 'boolean') {
throw new Error('expected a boolean argument');
}
}

const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );

if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
Expand Down Expand Up @@ -408,10 +408,6 @@ function __wbg_get_imports() {
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
Expand All @@ -422,6 +418,10 @@ function __wbg_get_imports() {
_assertBoolean(ret);
return ret;
};
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
const ret = getObject(arg0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
Expand Down Expand Up @@ -1428,28 +1428,28 @@ imports.wbg.__wbindgen_memory = function() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper666 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 325, __wbg_adapter_48);
imports.wbg.__wbindgen_closure_wrapper376 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 104, __wbg_adapter_48);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1014 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 451, __wbg_adapter_51);
imports.wbg.__wbindgen_closure_wrapper976 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 418, __wbg_adapter_51);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1015 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 451, __wbg_adapter_54);
imports.wbg.__wbindgen_closure_wrapper977 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 418, __wbg_adapter_54);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1018 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 451, __wbg_adapter_57);
imports.wbg.__wbindgen_closure_wrapper980 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 418, __wbg_adapter_57);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1382 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 642, __wbg_adapter_60);
imports.wbg.__wbindgen_closure_wrapper1326 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeClosure(arg0, arg1, 591, __wbg_adapter_60);
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_closure_wrapper1405 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 654, __wbg_adapter_63);
imports.wbg.__wbindgen_closure_wrapper1349 = function() { return logError(function (arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 603, __wbg_adapter_63);
return addHeapObject(ret);
}, arguments) };
imports['./snippets/dioxus-interpreter-js-603636eeca72cf05/inline0.js'] = __wbg_star0;
Expand Down
Binary file modified assets/dioxus/Formula 1 GraphQL Experiment_bg.wasm
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,19 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
function truthy(val) {
return val === "true" || val === true;
}
let s = "";let lsp,sp,sl; let c = new TextDecoder();let u32buf,u32bufp;let u8buf,u8bufp;const evt = [];
let u8buf,u8bufp;const ns_cache = [];
let ns_cache_tmp1, ns_cache_tmp2;
function get_ns_cache() {
ns_cache_tmp2 = u8buf[u8bufp++];
if(ns_cache_tmp2 & 128){
ns_cache_tmp1=s.substring(sp,sp+=u8buf[u8bufp++]);
ns_cache[ns_cache_tmp2&4294967167]=ns_cache_tmp1;
return ns_cache_tmp1;
}
else{
return ns_cache[ns_cache_tmp2&4294967167];
}
}let s = "";let lsp,sp,sl; let c = new TextDecoder();const evt = [];
let evt_tmp1, evt_tmp2;
function get_evt() {
evt_tmp2 = u8buf[u8bufp++];
Expand All @@ -175,7 +187,7 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
else{
return evt[evt_tmp2&4294967167];
}
}const attr = [];
}let u32buf,u32bufp;const attr = [];
let attr_tmp1, attr_tmp2;
function get_attr() {
attr_tmp2 = u8buf[u8bufp++];
Expand All @@ -187,20 +199,8 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
else{
return attr[attr_tmp2&4294967167];
}
}const ns_cache = [];
let ns_cache_tmp1, ns_cache_tmp2;
function get_ns_cache() {
ns_cache_tmp2 = u8buf[u8bufp++];
if(ns_cache_tmp2 & 128){
ns_cache_tmp1=s.substring(sp,sp+=u8buf[u8bufp++]);
ns_cache[ns_cache_tmp2&4294967167]=ns_cache_tmp1;
return ns_cache_tmp1;
}
else{
return ns_cache[ns_cache_tmp2&4294967167];
}
}
let value,bubbles,event_name,id,field,len,ns,ptr;
let value,bubbles,event_name,ns,len,field,ptr,id;
export function create(r){
d=r;
}
Expand All @@ -213,7 +213,10 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
ls=m.getUint32(d+12*4,true);
}
p=ls;
if (metaflags&1){
if ((metaflags>>>5)&1){
u8buf=new Uint8Array(m.buffer,m.getUint32(d+5*4,true))
}
u8bufp=0;if (metaflags&1){
lsp = m.getUint32(d+1*4,true);
}
if ((metaflags>>>2)&1) {
Expand Down Expand Up @@ -242,10 +245,7 @@ let m,p,ls,d,t,op,i,e,z,metaflags;
sp=0;if ((metaflags>>>3)&1){
u32buf=new Uint32Array(m.buffer,m.getUint32(d+3*4,true))
}
u32bufp=0;if ((metaflags>>>5)&1){
u8buf=new Uint8Array(m.buffer,m.getUint32(d+5*4,true))
}
u8bufp=0;
u32bufp=0;
for(;;){
op=m.getUint32(p,true);
p+=4;
Expand Down

0 comments on commit afdc379

Please sign in to comment.