{"version":3,"file":"shared-lib.PW8RuPha.mjs","names":[],"sources":["https:/framerusercontent.com/modules/eUyqhwh0wIbhS8gBhieh/k6vb6u8BdHXmPzUFTwhp/siteMetadata.js"],"sourcesContent":["// Generated by Framer (e0ec254)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<script>\\n(function(){\\n  const API = \"https://quantum-bradford-double-optin-cors-lingering-darkness-a49a.noreply-e1c.workers.dev\"; // <- your worker\\n\\n  const qs = s => document.querySelector(s);\\n  const params = new URLSearchParams(location.search);\\n\\n  function view(el, title, body){\\n    if(!el) return;\\n    el.innerHTML =\\n      `<h1 style=\"margin:0 0 8px;font-size:24px\">${title}</h1>\\n       <p class=\"subtle\" style=\"margin:0\">${body}</p>\\n       <a class=\"qb-cta\" href=\"/\">Back to site</a>`;\\n  }\\n\\n  function confirmFlow(el){\\n    const token = params.get(\"token\");\\n    if(!token){ view(el, \"Missing token\", \"Please use the latest confirmation email.\"); return; }\\n    fetch(`${API}/confirm?token=${encodeURIComponent(token)}`)\\n      .then(r => r.json())\\n      .then(j => {\\n        switch (j.code){\\n          case \"confirmed\":\\n            view(el, \"You\\'re confirmed\", \"Thanks for joining the Bradford Quantum Hackathon 2025. We’ll be in touch with next steps.\"); break;\\n          case \"already_confirmed\":\\n            view(el, \"You\\'re already confirmed\", \"Your email address is verified.\"); break;\\n          case \"expired_resent\":\\n            view(el, \"This link expired\", \"We’ve just sent you a fresh confirmation link. Please check your inbox.\"); break;\\n          default:\\n            view(el, \"Link invalid or already used\", \"If you need a new link, please register again.\");\\n        }\\n      })\\n      .catch(()=> view(el, \"Network error\", \"Please try again in a moment.\"));\\n  }\\n\\n  function unsubscribeFlow(el){\\n    const u = params.get(\"u\");\\n    if(!u){ view(el, \"Missing link\", \"The unsubscribe token is missing.\"); return; }\\n    fetch(`${API}/unsubscribe?u=${encodeURIComponent(u)}`)\\n      .then(r => r.json())\\n      .then(j => {\\n        if (j.code === \"unsubscribed\")\\n          view(el, \"You’ve been unsubscribed\", \"You won’t receive further emails for this signup.\");\\n        else\\n          view(el, \"Invalid link\", \"If you unsubscribed before, no further action is needed.\");\\n      })\\n      .catch(()=> view(el, \"Network error\", \"Please try again later.\"));\\n  }\\n\\n  function run(){\\n    const confirmEl = qs(\\'[data-qb=\"confirm\"]\\');\\n    const unsubEl   = qs(\\'[data-qb=\"unsubscribe\"]\\');\\n    if (confirmEl) confirmFlow(confirmEl);\\n    if (unsubEl)   unsubscribeFlow(unsubEl);\\n  }\\n  document.readyState === \"loading\" ? document.addEventListener(\"DOMContentLoaded\", run) : run();\\n})();\\n</script>\\n',customHTMLHeadEnd:\"<style>\\n  .qb-card{max-width:720px;margin:64px auto;padding:24px;border:1px solid #e6e6e6;border-radius:16px;\\n    font:16px/1.55 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Inter,Arial}\\n  .qb-card h1{margin:0 0 8px;font-size:24px}\\n  .qb-card .subtle{color:#555}\\n  .qb-cta{display:inline-block;margin-top:16px;text-decoration:none;background:#000;color:#fff;\\n    padding:12px 18px;border-radius:10px;font-weight:600}\\n</style>\\n\",description:\"Celebrating UK City of Culture 2025 and UN Year of Quantum. Virtual qualifiers start Oct 27; In-person final on Nov 21.\",favicon:\"https://framerusercontent.com/assets/GunMT31hSSZhU1V4x95w9ZCJuPg.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/GUjQAXrji5M8mQEt0arn5xiT2sQ.png\",title:\"Bradford Quantum Hackathon 2025 | Register Today\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA85E,kBAAkB;;;;;;;;EAAyb,YAAY,0HAA0H,QAAQ,uEAAuE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,mDAAmD"}