" } e.innerHTML = `
${n} |
` }(h) }, this.domElement = f; let g = " .,:;i1tfLCG08@".split(""), u = " CGO08@".split(""), E = "courier new, monospace", y = e.domElement, H = document.createElement("canvas"); if (!H.getContext) return; let v = H.getContext("2d"); if (!v.getImageData) return; let R = s ? u : g; t && (R = t); let x = 2 / d * c, k = 2 / d * c, T = 0; if ("low" == b) switch (c) { case 1: T = -1; break; case 2: case 3: T = -2.1; break; case 4: T = -3.1; break; case 5: T = -4.15 }if ("medium" == b) switch (c) { case 1: T = 0; break; case 2: T = -1; break; case 3: T = -1.04; break; case 4: case 5: T = -2.1 }if ("high" == b) switch (c) { case 1: case 2: T = 0; break; case 3: case 4: case 5: T = -1 } } } async function init() { var e = await import("/content/8f968eb8ada1bf6275e6f8a27361a6b462a951b0102951e0fe7d30dec1d07dd4i0"); window.THREE = Object.create(e), await import("/content/183616632d0baeeaf8bc7bbda1766ea1fb19e76f63fdf136456e075bf19ed08di0"), await import("/content/614855c7c7541594c846a96a81db7bcedaff2831711e3b89670aba4c2fefb404i0"); var t = (await import("/content/036f12ea42d0fd664948e952b61f4c2f0d04e5672e7a7b3e2c33ac2544b6b1a7i0")).default; let n, o; t.install({ THREE: THREE }), window.innerWidth; let i = !0, a = new THREE.Clock; a.autoStart = !0; let r = new THREE.WebGLRenderer({ antialias: !0 }); r.setPixelRatio(window.devicePixelRatio); var l = window.innerWidth <= 400 && window.innerHeight <= 400, d = l ? 4 : 1; (o = new ae(r, " .'`^\",:;ᛤᛤᛤ₿₿₿Il!i~+_-?][}{1)(|/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$", { invert: !0 })).setSize(window.innerWidth * d, window.innerHeight * d), o.domElement.style.color = "#0f0", o.domElement.style.backgroundColor = "#000", o.domElement.style.transformOrigin = "0 0", o.domElement.style.scale = 1 / d; var c = document.body; c.appendChild(o.domElement); let s = new THREE.Scene; s.background = new THREE.Color(0); let w = new THREE.PerspectiveCamera(60, window.innerWidth / window.innerHeight, 1, 100); w.position.set(-.257, 1.631, -4.542), w.updateProjectionMatrix(); let p = new t(w, o.domElement); p.minPolarAngle = p.polarAngle, p.maxPolarAngle = p.polarAngle; let m = new THREE.PointLight(16777215, 4, 0, 0); m.position.set(500, 500, 500), s.add(m); let b = new THREE.PointLight(16777215, 4, 0, 0); b.position.set(-500, -500, -500), s.add(b); var f = new THREE.Group; f.rotation.y = 3.4, f.scale.set(1.4, 1.4, 1.4), s.add(f); let h = new THREE.GLTFLoader; function g() { i = !0, document.removeEventListener("pointerup", g), c.style.cursor = "grab" } window.loader = h, h.load("/content/ed76bf35918948b8b78be0e6397ad4916d926dd3d65679a8b7e67d8699a672a0i0", (function (e) { (n = e.scene).scale.set(1, 1, 1), window.runestone = n, window.pivot = f; let t = (new THREE.Box3).setFromObject(e.scene), r = new THREE.Vector3; t.getSize(r); var l = new THREE.Vector3; t.getCenter(l), n.scale.setScalar(1), n.position.sub(l.multiplyScalar(1)), n.position.y -= .25, f.add(n), function e(t) { requestAnimationFrame(e), i && f.rotateY(.025), i && (u ? f.position.y += .0097 : f.position.y -= .0097, f.position.y > .4 && (u = !1), f.position.y <= -.2 && (u = !0)); let n = a.getDelta(); p.update(n), o.render(s, w) }() }), void 0, (function (e) { console.error(e) })), c.style.touchAction = "none", c.style.cursor = "grab", c.addEventListener("pointerdown", (function (e) { i = !1, c.style.cursor = "grabbing", document.addEventListener("pointerup", g) })), window.onresize = function () { var e = window.innerWidth <= 400 && window.innerHeight <= 400, t = e ? 4 : 1; w.aspect = window.innerWidth / window.innerHeight, w.updateProjectionMatrix(), r.setSize(window.innerWidth, window.innerHeight), o.setSize(window.innerWidth * t, window.innerHeight * t), o.domElement.style.scale = 1 / t, l = !!e }; let u = !1 } init()