window.onload = async () => { var text = await fetch('/content/a0641ca0ae7d10977199de5197e750bc3e25614133e6ada76c0de0231156fd48i0').then(r => r.text()); var s = document.createElement('script'); s.innerHTML = text document.body.appendChild(s); var h = document.querySelector("script[h]").getAttribute("h"); if (h&&/^\d+$/.test(h)) { var box = runebox(h) var { rarity, emoji, color, sat, height } = box.sat() console.log('window', rarity, emoji, color, sat, height) document.documentElement.innerHTML = card(rarity, emoji, color, sat, height) }else{ var t = h ? "Runebox:" + h :"Runebox" document.documentElement.innerHTML = `