2026-10-07 15:39:42 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>CubeCraft Labs</title>
|
|
|
|
|
<style>
|
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
|
body { background: #faf9f5; display: flex; align-items: center; justify-content: center; min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
|
|
|
|
|
#__bundler_loading { position: fixed; bottom: 20px; right: 20px; font: 13px/1.4 -apple-system, BlinkMacSystemFont, sans-serif; color: #666; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.12); z-index: 10000; }
|
|
|
|
|
#__bundler_thumbnail { position: fixed; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #faf9f5; z-index: 9999; }
|
|
|
|
|
#__bundler_thumbnail svg { width: 100%; height: 100%; object-fit: contain; }
|
|
|
|
|
#__bundler_placeholder { color: #999; font-size: 14px; }
|
|
|
|
|
</style>
|
|
|
|
|
<noscript>
|
|
|
|
|
<style>#__bundler_loading { display: none; }</style>
|
|
|
|
|
<div style="position:fixed;bottom:12px;left:12px;font:13px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;color:#999;background:rgba(255,255,255,0.9);padding:6px 12px;border-radius:6px;box-shadow:0 1px 4px rgba(0,0,0,0.08);z-index:10000;">
|
|
|
|
|
This page requires JavaScript to display.
|
|
|
|
|
</div>
|
|
|
|
|
</noscript>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="__bundler_thumbnail"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="#08081a"></rect><text x="50" y="62" font-family="monospace" font-size="34" font-weight="700" text-anchor="middle" fill="#39ff14">CL</text></svg></div>
|
|
|
|
|
<div id="__bundler_loading">Unpacking...</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', async function() {
|
|
|
|
|
const loading = document.getElementById('__bundler_loading');
|
|
|
|
|
function setStatus(msg) { if (loading) loading.textContent = msg; }
|
|
|
|
|
|
|
|
|
|
const FONT_MIME = /^(font[/]|application[/](x-)?font-|application[/]vnd\.ms-fontobject)/i;
|
|
|
|
|
const MIME_TOKEN = /^[\w.+-]+[/][\w.+-]+$/;
|
|
|
|
|
function toBase64(bytes) {
|
|
|
|
|
let bin = '';
|
|
|
|
|
for (let i = 0; i < bytes.length; i += 0x8000) {
|
|
|
|
|
bin += String.fromCharCode.apply(null, bytes.subarray(i, i + 0x8000));
|
|
|
|
|
}
|
|
|
|
|
return btoa(bin);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Error sink persists across replaceWith since it's on window, not the DOM.
|
|
|
|
|
window.addEventListener('error', function(e) {
|
|
|
|
|
// Failed resource loads (CSP-blocked links, scripts, images) fire plain
|
|
|
|
|
// events at the element — warn only; real JS errors carry message/error.
|
|
|
|
|
if (!e.message && !e.error && e.target && e.target !== window) {
|
|
|
|
|
console.warn('[bundle] resource failed to load:',
|
|
|
|
|
e.target.tagName, String(e.target.src || e.target.href || ''));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var p = document.body || document.documentElement;
|
|
|
|
|
var d = document.getElementById('__bundler_err') || p.appendChild(document.createElement('div'));
|
|
|
|
|
d.id = '__bundler_err';
|
|
|
|
|
d.style.cssText = 'position:fixed;bottom:12px;left:12px;right:12px;font:12px/1.4 ui-monospace,monospace;background:#2a1215;color:#ff8a80;padding:10px 14px;border-radius:8px;border:1px solid #5c2b2e;z-index:99999;white-space:pre-wrap;max-height:40vh;overflow:auto';
|
|
|
|
|
d.textContent = (d.textContent ? d.textContent + String.fromCharCode(10) : '') +
|
|
|
|
|
'[bundle] ' + (e.message || e.type) +
|
|
|
|
|
(e.filename ? ' (' + e.filename.slice(0, 60) + ':' + e.lineno + ')' : '');
|
|
|
|
|
}, true);
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
const manifestEl = document.querySelector('script[type="__bundler/manifest"]');
|
|
|
|
|
const templateEl = document.querySelector('script[type="__bundler/template"]');
|
|
|
|
|
if (!manifestEl || !templateEl) {
|
|
|
|
|
setStatus('Error: missing bundle data');
|
|
|
|
|
console.error('[bundler] Missing script tags — manifestEl:', !!manifestEl, 'templateEl:', !!templateEl);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const manifest = JSON.parse(manifestEl.textContent);
|
|
|
|
|
let template = JSON.parse(templateEl.textContent);
|
|
|
|
|
|
|
|
|
|
// Nested page bundles (iframe targets). Each ships ONCE, in the ROOT
|
|
|
|
|
// document's manifest; frame srcs carry an about:blank#<uuid> marker
|
|
|
|
|
// instead of a substitutable uuid. Every document mints the blobs for
|
|
|
|
|
// its OWN frames — from local text at the root, or text obtained from
|
|
|
|
|
// its DIRECT parent over the relay protocol below — so each frame
|
|
|
|
|
// navigation stays same-origin with its initiator and a deduped page
|
|
|
|
|
// loads at any depth on any host, including a file:// download's
|
|
|
|
|
// opaque origins (where a blob minted by one document cannot be
|
|
|
|
|
// navigated to by another).
|
|
|
|
|
const pageOrderEl = document.querySelector('script[type="__bundler/page_order"]');
|
|
|
|
|
const pageOrder = pageOrderEl ? JSON.parse(pageOrderEl.textContent) : [];
|
|
|
|
|
const pageSet = new Set(pageOrder);
|
|
|
|
|
const pageTexts = {};
|
|
|
|
|
|
|
|
|
|
// ── Nested-page text protocol (parent-chain relay) ──
|
|
|
|
|
// Page bundles ship once, in the ROOT document's manifest. Every
|
|
|
|
|
// document mints the blobs for its OWN frames, obtaining page text
|
|
|
|
|
// through a strict parent-chain relay: a document only ever SENDS to
|
|
|
|
|
// its direct parent (which, for every document the publisher's own
|
|
|
|
|
// runtime minted, is another publisher document) and only ACCEPTS
|
|
|
|
|
// text from that direct parent; requests from below are honored only
|
|
|
|
|
// for the document's own child frames, and the ROOT never sends
|
|
|
|
|
// upward at all. That last rule is load-bearing: the artifact host's
|
|
|
|
|
// frame-ancestors allows claude.ai (and friends) to frame an
|
|
|
|
|
// artifact, so window.top can be a FOREIGN document — a top-addressed
|
|
|
|
|
// protocol would hand page uuids to that ancestor and accept forged
|
|
|
|
|
// "page text" from it, minting attacker HTML as an artifact-origin
|
|
|
|
|
// blob document. The chain never touches the ancestor: requests stop
|
|
|
|
|
// at the root, replies are origin-addressed per hop (never '*' when
|
|
|
|
|
// an origin exists), and both directions are origin-gated (on https
|
|
|
|
|
// a foreign sender's origin can never equal this document's; in
|
|
|
|
|
// opaque contexts — file:// — everything serializes as 'null', where
|
|
|
|
|
// an embedded EXTERNAL frame still fails the gate by carrying its
|
|
|
|
|
// own real origin, and a sandboxed child of such a frame is excluded
|
|
|
|
|
// by the own-child-frames check plus uuid unguessability). Shape is
|
|
|
|
|
// deny-by-default: one request form, one reply form, no error
|
|
|
|
|
// replies.
|
|
|
|
|
// window.origin is the SERIALIZED SECURITY origin ('null' in opaque
|
|
|
|
|
// contexts such as a sandboxed preview iframe) — location.origin is
|
|
|
|
|
// computed from the URL and stays 'https://…' even when the document
|
|
|
|
|
// is sandboxed, which would misgate every opaque chain.
|
|
|
|
|
const OWN_TARGET = /^https?:[/][/]/.test(window.origin || '')
|
|
|
|
|
? window.origin
|
|
|
|
|
: '*';
|
|
|
|
|
function trustedOrigin(e) {
|
|
|
|
|
if (e.origin === window.origin) return true; // https chains; opaque==opaque
|
|
|
|
|
// file:// trees: Chrome serializes the file document's origin as
|
|
|
|
|
// 'file://' while the blob: documents it mints serialize as 'null',
|
|
|
|
|
// so the two legitimate shapes can never string-match — accept the
|
|
|
|
|
// pair in both directions. https origins never serialize as either,
|
|
|
|
|
// and sender identity (own child frame / direct parent) is checked
|
|
|
|
|
// separately.
|
|
|
|
|
return (
|
|
|
|
|
(e.origin === 'null' &&
|
|
|
|
|
(window.origin === 'file://' ||
|
|
|
|
|
window.location.protocol === 'file:')) ||
|
|
|
|
|
(/^file:/.test(e.origin) && window.origin === 'null')
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
// Non-empty only in the root document (nested bundles ship an empty
|
|
|
|
|
// island), so it doubles as the root marker: the root answers from
|
|
|
|
|
// local text and treats a miss as authoritative — never relaying to
|
|
|
|
|
// its (possibly foreign) parent.
|
|
|
|
|
const isPageRoot = pageOrder.length > 0;
|
|
|
|
|
const blobUrls = {};
|
|
|
|
|
const resourceBlobs = {};
|
|
|
|
|
const UUID_SHAPE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
|
|
|
|
|
const pendingFrames = {}; // uuid -> [{el, frag}] awaiting text for own frames
|
|
|
|
|
const pendingRelays = {}; // uuid -> [childWindow] awaiting text to pass down
|
|
|
|
|
function mountPage(el, frag, text) {
|
|
|
|
|
const pageBlob = new Blob([text], { type: 'text/html' });
|
|
|
|
|
const u = URL.createObjectURL(pageBlob);
|
|
|
|
|
resourceBlobs[u] = pageBlob;
|
|
|
|
|
el.src = u + frag;
|
|
|
|
|
}
|
|
|
|
|
function deliverPage(uuid, text) {
|
|
|
|
|
const frames = pendingFrames[uuid];
|
|
|
|
|
delete pendingFrames[uuid];
|
|
|
|
|
if (frames) for (const f of frames) mountPage(f.el, f.frag, text);
|
|
|
|
|
const relays = pendingRelays[uuid];
|
|
|
|
|
delete pendingRelays[uuid];
|
|
|
|
|
if (relays) {
|
|
|
|
|
for (const cw of relays) {
|
|
|
|
|
try { cw.postMessage({ __bundler_page: uuid, __bundler_text: text }, OWN_TARGET); } catch (err) { /* gone */ }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function ownFrameWindows() {
|
|
|
|
|
const out = [];
|
|
|
|
|
for (const f of Array.from(document.querySelectorAll('iframe'))) {
|
|
|
|
|
try { if (f.contentWindow) out.push(f.contentWindow); } catch (err) { /* detached */ }
|
|
|
|
|
}
|
|
|
|
|
return out;
|
|
|
|
|
}
|
|
|
|
|
window.addEventListener('message', function (e) {
|
|
|
|
|
const d = e.data;
|
|
|
|
|
if (!d || typeof d !== 'object' || !e.source) return;
|
|
|
|
|
// Origin gate first; the structural checks below (own-child-frames
|
|
|
|
|
// for requests, direct-parent + solicited-uuid for replies, the
|
|
|
|
|
// root's never-relay rule) are what hold in fully opaque chains
|
|
|
|
|
// where origin strings can't discriminate — a sandboxed root's
|
|
|
|
|
// FOREIGN wrapper still fails all three even though both serialize
|
|
|
|
|
// as real-vs-'null' rather than matching.
|
|
|
|
|
if (!trustedOrigin(e)) return;
|
|
|
|
|
if (typeof d.__bundler_need === 'string' && UUID_SHAPE.test(d.__bundler_need)) {
|
|
|
|
|
// Requests are honored only for this document's own child frames.
|
|
|
|
|
if (ownFrameWindows().indexOf(e.source) < 0) return;
|
|
|
|
|
const uuid = d.__bundler_need;
|
|
|
|
|
const text = pageTexts[uuid];
|
|
|
|
|
if (typeof text === 'string') {
|
|
|
|
|
try { e.source.postMessage({ __bundler_page: uuid, __bundler_text: text }, OWN_TARGET); } catch (err) { /* gone */ }
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (isPageRoot || window.parent === window) return; // authoritative miss
|
|
|
|
|
const waiting = pendingRelays[uuid];
|
|
|
|
|
if (waiting) {
|
|
|
|
|
if (waiting.indexOf(e.source) < 0) waiting.push(e.source);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// Never-answered uuids would otherwise accumulate forever under a
|
|
|
|
|
// request spray; past the cap (far above any real page count) new
|
|
|
|
|
// relays are dropped rather than remembered.
|
|
|
|
|
if (Object.keys(pendingRelays).length >= 128) return;
|
|
|
|
|
pendingRelays[uuid] = [e.source];
|
|
|
|
|
window.parent.postMessage({ __bundler_need: uuid }, OWN_TARGET);
|
|
|
|
|
} else if (
|
|
|
|
|
typeof d.__bundler_page === 'string' &&
|
|
|
|
|
UUID_SHAPE.test(d.__bundler_page) &&
|
|
|
|
|
typeof d.__bundler_text === 'string'
|
|
|
|
|
) {
|
|
|
|
|
// The shape test is load-bearing beyond tidiness: the solicited
|
|
|
|
|
// check below uses the in operator, which matches prototype keys
|
|
|
|
|
// ('__proto__', 'constructor') — an unshaped key would reach
|
|
|
|
|
// deliverPage and throw, painting the error banner.
|
|
|
|
|
// Text is accepted only from the direct parent — the document
|
|
|
|
|
// that minted this one.
|
|
|
|
|
if (e.source !== window.parent || window.parent === window) return;
|
|
|
|
|
if (!(d.__bundler_page in pendingFrames) && !(d.__bundler_page in pendingRelays)) return;
|
|
|
|
|
deliverPage(d.__bundler_page, d.__bundler_text);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const uuids = Object.keys(manifest);
|
|
|
|
|
setStatus('Unpacking ' + uuids.length + ' assets...');
|
|
|
|
|
|
|
|
|
|
await Promise.all(uuids.map(async (uuid) => {
|
|
|
|
|
const entry = manifest[uuid];
|
|
|
|
|
try {
|
|
|
|
|
const binaryStr = atob(entry.data);
|
|
|
|
|
const bytes = new Uint8Array(binaryStr.length);
|
|
|
|
|
for (let i = 0; i < binaryStr.length; i++) bytes[i] = binaryStr.charCodeAt(i);
|
|
|
|
|
|
|
|
|
|
let finalBytes = bytes;
|
|
|
|
|
if (entry.compressed) {
|
|
|
|
|
if (typeof DecompressionStream !== 'undefined') {
|
|
|
|
|
const ds = new DecompressionStream('gzip');
|
|
|
|
|
const writer = ds.writable.getWriter();
|
|
|
|
|
const reader = ds.readable.getReader();
|
|
|
|
|
writer.write(bytes);
|
|
|
|
|
writer.close();
|
|
|
|
|
const chunks = [];
|
|
|
|
|
let totalLen = 0;
|
|
|
|
|
while (true) {
|
|
|
|
|
const { done, value } = await reader.read();
|
|
|
|
|
if (done) break;
|
|
|
|
|
chunks.push(value);
|
|
|
|
|
totalLen += value.length;
|
|
|
|
|
}
|
|
|
|
|
finalBytes = new Uint8Array(totalLen);
|
|
|
|
|
let offset = 0;
|
|
|
|
|
for (const chunk of chunks) { finalBytes.set(chunk, offset); offset += chunk.length; }
|
|
|
|
|
} else {
|
|
|
|
|
console.warn('DecompressionStream not available, asset ' + uuid + ' may not render');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (pageSet.has(uuid)) {
|
|
|
|
|
pageTexts[uuid] = new TextDecoder().decode(finalBytes);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (FONT_MIME.test(entry.mime) && MIME_TOKEN.test(entry.mime)) {
|
|
|
|
|
// Strict artifact hosts allow font-src data: but not blob:.
|
|
|
|
|
blobUrls[uuid] = 'data:' + entry.mime + ';base64,' +
|
|
|
|
|
(entry.compressed ? toBase64(finalBytes) : entry.data);
|
|
|
|
|
} else {
|
|
|
|
|
const blob = new Blob([finalBytes], { type: entry.mime });
|
|
|
|
|
blobUrls[uuid] = URL.createObjectURL(blob);
|
|
|
|
|
resourceBlobs[blobUrls[uuid]] = blob;
|
|
|
|
|
}
|
|
|
|
|
} catch (err) {
|
|
|
|
|
console.error('Failed to decode asset ' + uuid + ':', err);
|
|
|
|
|
const blob = new Blob([], { type: entry.mime });
|
|
|
|
|
blobUrls[uuid] = URL.createObjectURL(blob);
|
|
|
|
|
resourceBlobs[blobUrls[uuid]] = blob;
|
|
|
|
|
}
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
const extResEl = document.querySelector('script[type="__bundler/ext_resources"]');
|
|
|
|
|
const extResources = extResEl ? JSON.parse(extResEl.textContent) : [];
|
|
|
|
|
const resourceMap = {};
|
|
|
|
|
for (const entry of extResources) {
|
|
|
|
|
if (blobUrls[entry.uuid]) resourceMap[entry.id] = blobUrls[entry.uuid];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Artifact-host CSP (connect-src 'self') refuses fetch() of blob: URLs —
|
|
|
|
|
// consumers read these Blobs directly. Survives the swap like the error sink.
|
|
|
|
|
window.__resourceBlobs = resourceBlobs;
|
|
|
|
|
|
|
|
|
|
setStatus('Rendering...');
|
|
|
|
|
// Page uuids have no blob here — they ride inside about:blank#<uuid>
|
|
|
|
|
// frame markers the pass below resolves after the swap.
|
|
|
|
|
for (const uuid of uuids) {
|
|
|
|
|
if (pageSet.has(uuid)) continue;
|
|
|
|
|
template = template.split(uuid).join(blobUrls[uuid]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Strip integrity + crossorigin — blob URLs from a file:// document inherit
|
|
|
|
|
// a null origin, so crossorigin forces a CORS fetch that SRI then rejects.
|
|
|
|
|
// The manifest bytes are ours; SRI protects against CDN compromise, not this.
|
|
|
|
|
template = template.replace(/\s+integrity="[^"]*"/gi, '').replace(/\s+crossorigin="[^"]*"/gi, '');
|
|
|
|
|
|
|
|
|
|
const resourceScript = '<script>window.__resources = ' +
|
|
|
|
|
JSON.stringify(resourceMap).replace(/<\//g, '<\\/') +
|
|
|
|
|
';</' + 'script>';
|
|
|
|
|
// Inject after <head> so the DOCTYPE stays first; prepending the script
|
|
|
|
|
// would push the parser into quirks mode. DOMParser always emits a <head>
|
|
|
|
|
// (synthesizing one if the source HTML omitted it) but may carry
|
|
|
|
|
// attributes through, so match the full opening tag. slice() rather than
|
|
|
|
|
// replace() keeps us clear of $-pattern substitution in resourceScript.
|
|
|
|
|
const headOpen = template.match(/<head[^>]*>/i);
|
|
|
|
|
if (headOpen) {
|
|
|
|
|
const i = headOpen.index + headOpen[0].length;
|
|
|
|
|
template = template.slice(0, i) + resourceScript + template.slice(i);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Parse the template and swap the root element. Scripts inserted via
|
|
|
|
|
// DOMParser/replaceWith are inert per spec — re-create each with
|
|
|
|
|
// createElement so they execute, awaiting onload for src scripts to
|
|
|
|
|
// preserve ordering (React before ReactDOM before Babel before text/babel).
|
|
|
|
|
const doc = new DOMParser().parseFromString(template, 'text/html');
|
|
|
|
|
document.documentElement.replaceWith(doc.documentElement);
|
|
|
|
|
|
|
|
|
|
// Resolve page-frame markers: mint this document's own blob for each
|
|
|
|
|
// framed page — from local text when this is the root, otherwise by
|
|
|
|
|
// asking the direct parent over the relay protocol above. An
|
|
|
|
|
// unanswered request leaves the frame on about:blank, the same
|
|
|
|
|
// degraded state as a refused embed.
|
|
|
|
|
{
|
|
|
|
|
const MARKER = /^about:blank#([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(#.*)?$/;
|
|
|
|
|
const needed = [];
|
|
|
|
|
for (const el of Array.from(document.querySelectorAll('iframe'))) {
|
|
|
|
|
const m = MARKER.exec(el.getAttribute('src') || '');
|
|
|
|
|
if (!m) continue;
|
|
|
|
|
const text = pageTexts[m[1]];
|
|
|
|
|
if (typeof text === 'string') {
|
|
|
|
|
mountPage(el, m[2] || '', text);
|
|
|
|
|
} else if (window.parent !== window && !isPageRoot) {
|
|
|
|
|
const had = pendingFrames[m[1]];
|
|
|
|
|
(pendingFrames[m[1]] = had || []).push({ el: el, frag: m[2] || '' });
|
|
|
|
|
if (!had) needed.push(m[1]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
for (const uuid of needed) {
|
|
|
|
|
window.parent.postMessage({ __bundler_need: uuid }, OWN_TARGET);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const dead = Array.from(document.scripts);
|
|
|
|
|
for (const old of dead) {
|
|
|
|
|
const s = document.createElement('script');
|
|
|
|
|
for (const a of old.attributes) s.setAttribute(a.name, a.value);
|
|
|
|
|
s.textContent = old.textContent;
|
|
|
|
|
// text/babel scripts with a src: read and inline. transformScriptTags
|
|
|
|
|
// does XHR against the src, but blob:null/ from a file:// origin is
|
|
|
|
|
// silently dropped. Inlining makes it a plain inline babel script,
|
|
|
|
|
// which transformScriptTags handles unconditionally.
|
|
|
|
|
if ((s.type === 'text/babel' || s.type === 'text/jsx') && s.src) {
|
|
|
|
|
const pre = resourceBlobs[s.src.split('#')[0]];
|
|
|
|
|
s.textContent = pre ? await pre.text() : await (await fetch(s.src)).text();
|
|
|
|
|
s.removeAttribute('src');
|
|
|
|
|
}
|
|
|
|
|
const p = s.src ? new Promise(function(r) { s.onload = s.onerror = r; }) : null;
|
|
|
|
|
old.replaceWith(s);
|
|
|
|
|
if (p) await p;
|
|
|
|
|
}
|
|
|
|
|
// Babel standalone auto-transforms type=text/babel on DOMContentLoaded,
|
|
|
|
|
// which fired before we swapped the document. Trigger manually if present.
|
|
|
|
|
if (window.Babel && typeof window.Babel.transformScriptTags === 'function') {
|
|
|
|
|
window.Babel.transformScriptTags();
|
|
|
|
|
}
|
|
|
|
|
} catch (err) {
|
|
|
|
|
setStatus('Error unpacking: ' + err.message);
|
|
|
|
|
console.error('Bundle unpack error:', err);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="__bundler/manifest">
|
2026-10-09 20:27:55 -04:00
|
|
|
{"ada74c0a-67e7-4b5f-a967-1cad2961d2f1":{"mime":"image/svg+xml","compressed":true,"data":"H4sIAAAAAAAAE+1aW5OqSBJ+319huI/dc+Sq7UT3iSiuglA0ilzqjYvNRQpQQYRfv4G2Pd1nzuyZjdh9Wr8Iw6qEzPoyszKLCHg+nuLRGefF8WWc1HX1+2TStu23lv5WHuIJRRDE5HiKx6M2jerkZUwRxHiUbNM4qd8np3TbcuX5ZUyMiBFFXH7j0Vua5y/joiy246v130Oq8j+WGCaXBbBfpG/bYz3+/oy3tR/5tf/9ebj6++3KdwCAE+OKDBwFAAC2fmHXSNa7UBaBaAIzBgDsY8BgWhS8Xm09EwDAoXC4zxsuitE+csid16u1Z4IV4HgAAL8HQhqEJiRDzEwvelaVQUtKkZVnMCUzr1dYzVphaCm1YakpXBMt7DeULsSMIWwYQxjoACGnPrhVN26eq/+c25pNQhrmYbGqAortLxa088AvHYYrebC1yjw87wAnAnEwuyyBodZnkbr43PgOW4TY3vmO3UQ8S+ntxYrn9Wrva0y5kI7WLLMCgrQWQcw23BsxBKT1KPUU7mG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QevU9+UtBgi8gv9PvHYzWRQZB7ZwKIl4nmkZwJa/+YbQpaXCcxRRaO4Dmv2DSHDaR7XaZGTEa33odgPkNAERshqsk/65CrNk+IqxM/r+C0dEn9hPyD1uCquSE6vyHZVFZXv6WntWc1IypAbossozYBG5IbWXsChVbSeVjnZh1+zNpy29nZdtLYcvLb2dk3Uth6B29be7oPQ25L4wcSNYbL8MAy
|
2026-10-07 15:39:42 -04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="__bundler/ext_resources">
|
2026-10-09 20:27:55 -04:00
|
|
|
[{"id":"https://unpkg.com/react@18.3.1/umd/react.production.min.js","uuid":"758b5ae7-e220-477f-af49-630c961600e3"},{"id":"https://unpkg.com/react-dom@18.3.1/umd/react-dom.production.min.js","uuid":"76caa37e-153b-4230-ac15-964b0bc79a9d"}]
|
2026-10-07 15:39:42 -04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="__bundler/page_order">
|
|
|
|
|
[]
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="__bundler/template">
|
2026-10-09 20:27:55 -04:00
|
|
|
"<!DOCTYPE html>\n<html><head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<script src=\"fde92a21-6e8b-4618-854b-95aa7682458c\"><\u002Fscript>\n<\u002Fhead>\n<body>\n\n<x-dc>\n<helmet data-dc-atomics=\"\">\n<title>CubeCraft Labs<\u002Ftitle>\n<style>html{scroll-behavior:auto}<\u002Fstyle>\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<style>/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"149030f9-ea48-43dd-b725-5e989d8b7414\") format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"f204c191-bdcf-4e58-a81b-b1143cd00df9\") format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"1ee62060-c2a7-477c-8fdf-c0ef5b9401c9\") format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"3f81b6b2-68dc-4a0e-93a4-6746603c7e1a\") format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"90a8641b-d526-42ea-bf46-d6553022f917\") format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"f734ca6d-c387-4043-bd51-96d8cca82639\") format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(\"149030f9-ea48-43dd-b725-5e989d8b7414\") format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(\"f204c191-bdcf-4e58-a81b-b1143cd00df9\") format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(\"1ee62060-c2a7-477c-8fdf-c0ef5b9401c9\") format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(\"3f81b6b2-68dc-4a0e-93a4-6746603c7e1a\") format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(\"90a8641b-d526-42ea-bf46-d6553022f917\") format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-
|
2026-10-07 15:39:42 -04:00
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|