Repository navigation
Expand file tree
/
Copy pathapp.html
More file actions
51 lines (51 loc) · 3.64 KB
/
Copy pathapp.html
File metadata and controls
51 lines (51 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<title>Cryptic News | HyperTerminal Polyglot Quine OS</title>
<meta name="description" content="The actual AI Studio HyperPolyGlot React/Three.js application, compiled from the live main branch with its torus knot and terminal.">
<meta name="theme-color" content="#02050b">
<link rel="canonical" href="https://crypticnews.org/">
<link rel="preconnect" href="https://esm.sh" crossorigin>
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600;700&family=JetBrains+Mono:wght@400;600;700&family=Orbitron:wght@600;800;900&display=swap">
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<script>
// Retire cached versions of the old Cryptic landing shell without deleting user data.
if ('serviceWorker' in navigator && /(^|\.)crypticnews\.org$/.test(location.hostname)) {
navigator.serviceWorker.getRegistrations().then(regs =>
Promise.all(regs.map(reg => reg.unregister()))
).catch(error => console.warn('Service worker retirement failed:', error));
if ('caches' in window) {
caches.keys().then(keys => Promise.all(keys
.filter(key => key.startsWith('cryptic-public-'))
.map(key => caches.delete(key))
)).catch(error => console.warn('Legacy page cache cleanup failed:', error));
}
}
</script>
<script type="importmap">
{"imports":{"react":"https://esm.sh/react@19.0.1","react/jsx-runtime":"https://esm.sh/react@19.0.1/jsx-runtime","react-dom/client":"https://esm.sh/react-dom@19.0.1/client?external=react"}}
</script>
<style>html,body,#root{margin:0;width:100%;height:100%;overflow:hidden;background:#02050b;color:#e2f1ff}body{font-family:"Fira Code","JetBrains Mono",monospace}#runtime-error{display:none;color:#ffb4b4;background:#170809;max-width:740px;padding:18px;position:absolute;inset:25px auto auto 25px;z-index:1000;white-space:pre-wrap}#runtime-error:focus{outline:2px solid #00e5ff}</style>
</head>
<body>
<a href="./compute/" aria-label="Open COMPUTƏ Living System" style="position:fixed;right:18px;bottom:18px;z-index:99999;display:inline-flex;align-items:center;gap:8px;background:#1b1533;color:#e8d5ff;border:1px solid #a78bfa;padding:11px 16px;border-radius:999px;font:700 13px system-ui;text-decoration:none;box-shadow:0 5px 24px #0009">◈ COMPUTƏ · Living System</a>
<div id="root"></div><div id="runtime-error" role="alert" tabindex="-1"></div>
<script type="module">
const SOURCE="https://esm.sh/gh/machackabook/HyperPolyGlot-SOS-@main/src/App.tsx?deps=react@19.0.1,three@0.186.1&external=react";
Promise.all([import("react"),import("react-dom/client"),import(SOURCE)]).then(([React,DOM,Module])=>{
if(typeof Module.default!=="function")throw new Error("Current GitHub source has no usable application entrypoint.");
DOM.createRoot(document.getElementById("root")).render(React.createElement(Module.default));
document.documentElement.dataset.source="machackabook/HyperPolyGlot-SOS-:main";
}).catch(error=>{
const alert=document.getElementById("runtime-error");
alert.textContent="Unable to load the real HyperPolyGlot application from GitHub source. No substitute UI will be shown.\n"+String(error?.message||error);
alert.style.display="block";alert.focus();
console.error("HYPERPOLYGLOT_REAL_SOURCE_LOAD_FAILED",error);
});
</script>
</body>
</html>