Paste this once into the Webflow site's head custom code.
To develop against http://localhost:6545, run
localStorage.dev = "1" in the browser console and reload;
localStorage.removeItem("dev") switches back.
<script>(() => { const root = document.documentElement; root.classList.add("js"); try { const theme = localStorage.getItem("theme"); if (theme === "light" || theme === "dark") root.setAttribute("data-theme-choice", theme); } catch {} })();</script>
<link rel="preconnect" href="https://cdn.prod.website-files.com" crossorigin />
<link rel="modulepreload" href="https://first-believer-fund.itsoffbrand.dev/app.js" />
<link id="appStyles" rel="stylesheet" href="https://first-believer-fund.itsoffbrand.dev/main.css" />
<script>
(() => {
const DEV = "http://localhost:6545";
const PROD = "https://first-believer-fund.itsoffbrand.dev";
const PREVIEW_SUFFIX = "-first-believer-fund.ob-ops.workers.dev";
const isStaging = location.hostname.endsWith(".webflow.io");
const params = new URLSearchParams(location.search);
const readPreview = (key) => {
if (!isStaging) return null;
const storeKey = "__ob_preview_" + key;
const raw = params.get(key);
if (raw !== null) {
const cleaned = raw.trim().replace(/^["']|["']$/g, "");
if (cleaned === "off" || cleaned === "") {
try { sessionStorage.removeItem(storeKey); } catch {}
return null;
}
if (cleaned === "none") {
try { sessionStorage.setItem(storeKey, "none"); } catch {}
return "none";
}
try {
const url = new URL(/^https?:\/\//i.test(cleaned) ? cleaned : "https://" + cleaned);
if (PREVIEW_SUFFIX && url.protocol === "https:" && url.hostname.endsWith(PREVIEW_SUFFIX)) {
try { sessionStorage.setItem(storeKey, url.origin); } catch {}
return url.origin;
}
console.warn(`[Loader] Ignored ${key} preview outside allowed suffix (${PREVIEW_SUFFIX || "none"}): ${cleaned}`);
} catch {
console.warn(`[Loader] Invalid ${key} preview URL: ${cleaned}`);
}
}
try { return sessionStorage.getItem(storeKey); } catch { return null; }
};
const previewJs = readPreview("js");
const previewCss = readPreview("css");
const hasPreview = Boolean(previewJs || previewCss);
if (hasPreview) {
console.info("[Loader] preview", { js: previewJs || PROD, css: previewCss || PROD });
}
let dev = false;
if (!hasPreview) {
const devParam = params.get("dev");
if (devParam === "1") dev = true;
else if (devParam === "0") dev = false;
else {
try {
dev = localStorage.getItem("dev") === "1";
} catch {}
}
}
const entry = "app.js";
if (!document.documentElement.classList.contains("wf-design-mode")) {
const drop = () => {
const link = document.getElementById("designerStyles");
link?.remove();
return !!link;
};
if (!drop()) {
const observer = new MutationObserver(() => drop() && observer.disconnect());
observer.observe(document.documentElement, { childList: true, subtree: true });
addEventListener("load", () => observer.disconnect(), { once: true });
}
}
const swapStyles = (origin, label) => {
const link = Object.assign(document.createElement("link"), {
rel: "stylesheet",
href: `${origin}/main.css`,
});
link.onload = () => document.getElementById("appStyles")?.remove();
link.onerror = () => {
console.warn(`[Loader] ${label} styles unreachable, keeping PROD`);
link.remove();
};
document.head.append(link);
};
if (previewCss === "none") {
document.getElementById("appStyles")?.remove();
} else if (previewCss) {
swapStyles(previewCss, "PREVIEW");
} else if (dev) {
swapStyles(DEV, "DEV");
}
const load = (src, onerror) =>
document.head.append(
Object.assign(document.createElement("script"), { type: "module", src, onerror }),
);
const prod = () =>
load(`${PROD}/${entry}`, () => {
console.error(`[Loader] Bundle unreachable: ${PROD}/${entry}`);
document.documentElement.classList.add("app-error");
});
if (previewJs === "none") {
return;
}
if (previewJs) {
load(`${previewJs}/${entry}`, () => {
console.warn("[Loader] PREVIEW script unreachable, using PROD");
prod();
});
} else if (dev) {
console.info(`[Loader] DEV MODE, ${DEV}`);
load(`${DEV}/${entry}`, () => {
console.warn("[Loader] DEV script unreachable, using PROD");
prod();
});
} else {
prod();
}
})();
</script>
{
"timestamp": "2026-11-30T10:39:16.145Z",
"commit": "b83a8f2ed421a84f077c60e2f06ab856cc60b824",
"buildDuration": 939,
"javascript": {
"files": [
{
"path": "chunk-92mz45yw.js",
"size": 2068,
"type": "text/javascript;charset=utf-8"
},
{
"path": "app.js",
"size": 26504,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-p42kdtn4.js",
"size": 192653,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-ayqebwy5.js",
"size": 1343,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-dwg89wm6.js",
"size": 25031,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-s8w54900.js",
"size": 1932,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-am2st5r9.js",
"size": 563,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-3g24zjea.js",
"size": 6582,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-k1sfhv96.js",
"size": 2797,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-0zkxq03j.js",
"size": 1757,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-9twmkdpq.js",
"size": 2534,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-afjfvrs6.js",
"size": 2072,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-mjxj4a5m.js",
"size": 486,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-ps95n1n9.js",
"size": 1555,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-tm1k5n20.js",
"size": 24797,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-sh391ber.js",
"size": 912,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-p8xm31f4.js",
"size": 1547,
"type": "text/javascript;charset=utf-8"
},
{
"path": "chunk-24jgjmcg.js",
"size": 1806,
"type": "text/javascript;charset=utf-8"
}
]
},
"css": {
"files": [
{
"path": "main.css",
"size": 81149,
"type": "text/css;charset=utf-8"
}
]
},
"public": {
"files": []
},
"distFiles": [
{
"path": "chunk-92mz45yw.js",
"size": 2068,
"type": "js",
"lastModified": "2026-11-30T10:39:15.274Z"
},
{
"path": "app.js",
"size": 26504,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-p42kdtn4.js",
"size": 192653,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-ayqebwy5.js",
"size": 1343,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-dwg89wm6.js",
"size": 25031,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-s8w54900.js",
"size": 1932,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-am2st5r9.js",
"size": 563,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-3g24zjea.js",
"size": 6582,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-k1sfhv96.js",
"size": 2797,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-0zkxq03j.js",
"size": 1757,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-9twmkdpq.js",
"size": 2534,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-afjfvrs6.js",
"size": 2072,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-mjxj4a5m.js",
"size": 486,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-ps95n1n9.js",
"size": 1555,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-tm1k5n20.js",
"size": 24797,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-sh391ber.js",
"size": 912,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-p8xm31f4.js",
"size": 1547,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "chunk-24jgjmcg.js",
"size": 1806,
"type": "js",
"lastModified": "2026-11-30T10:39:15.278Z"
},
{
"path": "main.css",
"size": 81149,
"type": "css",
"lastModified": "2026-11-30T10:39:16.106Z"
}
],
"txtFiles": [
{
"path": "chunk-92mz45yw.js.txt",
"size": 2068,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.122Z"
},
{
"path": "app.js.txt",
"size": 26504,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.126Z"
},
{
"path": "chunk-p42kdtn4.js.txt",
"size": 192653,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.126Z"
},
{
"path": "chunk-ayqebwy5.js.txt",
"size": 1343,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.130Z"
},
{
"path": "chunk-dwg89wm6.js.txt",
"size": 25031,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.130Z"
},
{
"path": "chunk-s8w54900.js.txt",
"size": 1932,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.130Z"
},
{
"path": "chunk-am2st5r9.js.txt",
"size": 563,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.130Z"
},
{
"path": "chunk-3g24zjea.js.txt",
"size": 6582,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.134Z"
},
{
"path": "chunk-k1sfhv96.js.txt",
"size": 2797,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.134Z"
},
{
"path": "chunk-0zkxq03j.js.txt",
"size": 1757,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.134Z"
},
{
"path": "chunk-9twmkdpq.js.txt",
"size": 2534,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.134Z"
},
{
"path": "chunk-afjfvrs6.js.txt",
"size": 2072,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.134Z"
},
{
"path": "chunk-mjxj4a5m.js.txt",
"size": 486,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.138Z"
},
{
"path": "chunk-ps95n1n9.js.txt",
"size": 1555,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.138Z"
},
{
"path": "chunk-tm1k5n20.js.txt",
"size": 24797,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.138Z"
},
{
"path": "chunk-sh391ber.js.txt",
"size": 912,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.138Z"
},
{
"path": "chunk-p8xm31f4.js.txt",
"size": 1547,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.138Z"
},
{
"path": "chunk-24jgjmcg.js.txt",
"size": 1806,
"type": "txt",
"lastModified": "2026-11-30T10:39:16.138Z"
}
],
"sourceMaps": []
}