const script = document.currentScript;
const seed = script ? script.getAttribute('s') || 0 : 0;
fetch('/content/a993a404b1801a72cc9eb11b8e1849146dc1073e090adb8aaa919325baa1e878i0')
  .then(response => response.text())
  .then(html => {
    const seedScript = `<script>window.REVELATION_SEED = ${parseInt(seed)};</script>`;
    const modifiedHtml = html.replace('<head>', seedScript + '<head>');
    const blob = new Blob([modifiedHtml], { type: 'text/html' });
    const url = URL.createObjectURL(blob);
    const iframe = document.createElement('iframe');
    iframe.style.width = '100%';
    iframe.style.height = '100vh';
    iframe.style.border = 'none';
    iframe.src = url;
    document.body.innerHTML = '';
    document.body.style.margin = '0';
    document.body.style.overflow = 'hidden';
    document.body.appendChild(iframe);
  });