{"version":3,"file":"shared.AEI4MaxQ.mjs","names":["React.useState","React.useRef","React.Fragment","_Fragment","_jsxs","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","navigator","window","x","le","l","_e","c","init_jsx_runtime","ce","de","Stage","card","Bullets","Tick","VideoSlot","useFeature","Host","Faq","SB","MATT_AVATAR","init_FunnelBlocks","modeOf","WHATSAPP_MATT","Seg","useOwnWidth","FormCard","SF","SC","Sec","FunnelFooter","StageStyles","ReviewsSection","FB_IMG","imgLoading","bg3","INK_BLUE","ReviewStrip","BluePanel","init_SignupStage","SuccessBanner","Badge","metaLead","id","ck","n","fbclid","fbc","props","SchemaOrg","data","C","v","IMG","KLAVIYO_SITE","ORG_SCHEMA","init_MGMKit","p","EVENT","init_CurrentEvent","lessonList","start","now","WAITLIST_LIST","leadUtm","qs","out","k","f","s","mg","MAGNETS","ref","examYear","ay","year","funnelTag","subscribeLead","ml","extra","a","\"Role\"","\"Tier\"","\"Mobile\"","source","r","list","w","rememberEmail","KEY","email","rememberLead","LEAD_KEY","recallLead","j","toBridge","BRIDGE","slug","isPhone","toGift","JOIN_WHATSAPP","path","role","ALWAYS_LIVE","HELD","NEXT_LESSON","MAGNET_COPY","WHATSAPP_GROUP","NEXT_LESSON_LINK","nextLessonHref","JOIN_WHATSAPP_AFTER","afterDownload","RESOURCE_NAME","init_LeadCapture","lm","m","GROUP_REASONS_CLASS","GROUP_REASONS_CAMP","CAMP_VIDEO","CAMP_BULLETS","EVENTS","eventPaths","init_EventsConfig","when","base","t","EVENT_QR","init_EventsQR","\"size\"","\"path\"","\"url\"","EvTile","EvtileParts","iso","size","mon","day","EvDatePill","facts","big","EvSignupForm","setEmail","setRole","second","setSecond","tier","setTier","phone","setPhone","ok","setOk","state","setState","msg","setMsg","bad","setBad","exam","fail","field","text","fix","set","next","video","submit","ev","tag","\"Event\"","red","EvERR","input","EvTitle","Tag","as","fit","setFit","el","run","lines","evFit","max","width","top","align","i","EvSignupPage","wide","mode","ph","showVideo","pic","EvLAPTOP","maxW","form","W","left","EvReasons","items","icon","EvJoinButton","href","height","EvWA_GREEN","EvWA_ICON","EvQr","q","folder","px","EvJoinPage","hasQr","title","scan","content","EvPill","EvNoindex","EvTicketCard","off","EvTicketsBlock","EvTicketsEnd","EvBigButton","EvTicketsPage","vid","EvGET","h","EvReplayPage","outline","EvBookedPage","all","bought","ticket","what","waText","EvMATT_PHONE","EventFunnel","rootRef","e","event","page","init_EventFunnel","d","label"],"sources":["https:/framerusercontent.com/modules/w72bJ3SyqTKjWjTdHnhv/FlqQN6XgCpR1NKdEhA0E/MGMKit.js","https:/framerusercontent.com/modules/qu88FOEFN5hHs8hX8abo/WbJPR03svUW5WUNdgjR7/CurrentEvent.js","https:/framerusercontent.com/modules/6k9FuVvDDaTXjo9mOhNl/DJdkoYCk65sLICIqjbts/LeadCapture.js","https:/framerusercontent.com/modules/dS5LwiQZSHkPhDclEBmZ/K6HBohNyUraOktEoexrn/EventsConfig.js","https:/framerusercontent.com/modules/qQVbl8dvi32ulrggUgGH/t65MnKuJfTsnor680EJd/EventsQR.js","https:/framerusercontent.com/modules/564tAR4Cl4MOZCo7rcYk/zt6cxh17Hdu2BtSN1QEW/EventFunnel.js"],"sourcesContent":["// MGMKit — the shared MyGCSEMaths brand kit. Every rebuilt page imports from here, so a change here\n// changes the whole site. Tokens measured from the live site on 14 Oct 2026\n// (AXIO › PROJECTS › [2026-10-14] Brand audit — website). Built by Claude, CENTRE: WEB DESIGN, 14 Oct 2026.\n// Copy of record: AXIO › PROJECTS › [2026-10-14] Website rebuild — Framer code components/components/\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";// ─── Tokens ────────────────────────────────────────────────────────────────────────────────────\nexport const C={ink:\"#000000\",grey:\"#999999\",body:\"#1A1A1A\",sub:\"#4A5568\",blue:\"#0098FF\",logo:\"#669FFF\",pale:\"#E7F0FD\",pale2:\"#F1F6FE\",surface:\"#F5F5F7\",white:\"#FFFFFF\",line:\"rgba(0,0,0,0.06)\",field:\"#DCE1E6\",gold:\"#F5B82E\",error:\"#C22\"};export const FONT=\"'MGM Inter Variable', 'MGM Inter', 'Inter', 'Inter Variable', system-ui, -apple-system, sans-serif\";export const DISPLAY={fontFamily:FONT,fontWeight:700,fontVariationSettings:\"'opsz' 32\",fontFeatureSettings:\"'cv01','cv05','cv09','cv11','ss03'\",letterSpacing:\"-0.04em\",color:C.ink};export const SHADOW=\"0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06)\";// ─── Links ─────────────────────────────────────────────────────────────────────────────────────\n// 🔁 CUTOVER SWITCH. While the rebuilt pages are being approved they link to each other at their -v2\n// paths. When Matthew approves and the old pages are deleted, set LIVE = true and every link on every\n// rebuilt page points at the main paths.\nexport const LIVE=true;const v=p=>LIVE?p:p===\"/\"?\"/home-v2\":`${p}-v2`;export const PATHS={home:v(\"/\"),groupTutoring:v(\"/group-tutoring\"),freeLesson:\"/webinar/free-lesson/signup\",pastPaperTracker:v(\"/other-resources/past-paper-tracker\"),topicTracker:v(\"/other-resources/topic-tracker\"),trackerThanks:v(\"/webinar/free-lesson/signup-from-resource\"),contact:v(\"/legal/contact\"),privacy:v(\"/legal/privacy\"),terms:v(\"/legal/terms\"),safeguarding:v(\"/legal/safeguarding\"),copyright:v(\"/legal/copyright\")};export const SKOOL=\"https://www.skool.com/mygcsemaths-group-tutoring\";export const SKOOL_LOGIN=\"https://www.skool.com/login\";// ─── Assets (already hosted on Framer's CDN for this project) ──────────────────────────────────\nconst IMG=id=>`https://framerusercontent.com/images/${id}.png?scale-down-to=1024`;export const A={wordmark:IMG(\"XG8VpbPVsrvl7CwV1ruo0M1TnY\"),barMark:IMG(\"cDhPF0iqLkR7ugykS0wjFv6v91M\"),gtLockup:IMG(\"yBedNQfBCm6NrN9532rPXOQmw\"),heroWash:IMG(\"KBn2t1Qu97y0gRea070SkNiQztQ\"),heroWash2:IMG(\"xWEuRPuVmKsdM9Jp1lHIHxY8gY\"),laptop:IMG(\"XShU3IWPkaSMIRhc1hYWsH6k2U0\"),laptop2:IMG(\"keqwZMaxO68qWVNyK4bURTyVeM\")};// ─── Hooks and helpers ─────────────────────────────────────────────────────────────────────────\nconst WidthCtx=/*#__PURE__*/React.createContext(null);/** Width of the page this component is in, from the nearest <Scope> or <Page>. Each page instance measures\n * itself, so Desktop / Tablet / Phone breakpoints on the Framer canvas never share a width (a shared store made\n * all three use the phone layout in the Framer app, 14 Oct). Falls back to the window outside a Scope. */export function useWidth(){const ctx=React.useContext(WidthCtx);const[w,setW]=React.useState(typeof window===\"undefined\"?1200:window.innerWidth);React.useEffect(()=>{if(ctx!==null)return;const on=()=>setW(window.innerWidth);on();window.addEventListener(\"resize\",on);return()=>window.removeEventListener(\"resize\",on);},[ctx]);return ctx??w;}/** Every page's default export wraps its body in a Scope: it measures this instance's own width and gives the\n * body (and everything in it) the layout width: phone below TABLET_MIN, DESIGN_W on iPad sizes, else real. */export function Scope({children}){const ref=React.useRef(null);const[w,setW]=React.useState(null);React.useLayoutEffect(()=>{const el=ref.current;if(!el)return;const on=()=>setW(el.offsetWidth||null);on();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(on):null;ro?.observe(el);return()=>ro?.disconnect();},[]);const real=w??DESIGN_W;const layoutW=real>=TABLET_MIN&&real<DESIGN_W?DESIGN_W:real;return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\"},children:/*#__PURE__*/_jsx(WidthCtx.Provider,{value:layoutW,children:children})});}/** true for the desktop layout (desktop, and iPad via the scaled desktop layout); false on phones */export function useWide(){return useWidth()>=TABLET_MIN;}/** \"plain **bold** plain\" → React nodes. Keeps copy readable in the page files. */export function rich(s){const parts=s.split(/\\*\\*(.+?)\\*\\*/g);return parts.map((p,i)=>i%2?/*#__PURE__*/_jsx(\"b\",{style:{fontWeight:700},children:p},i):/*#__PURE__*/_jsx(React.Fragment,{children:p},i));}/** Meta Conversions API keys (17 Oct 2026). One event id is shared by the browser Lead and the server copy the lead-intake\n *  Worker sends, so Meta counts it once. The props go on the Klaviyo profile with the sign-up; the Worker reads them. */export function metaLead(){const id=\"lead-\"+Date.now().toString(36)+\"-\"+Math.random().toString(36).slice(2,8);if(typeof document===\"undefined\")return{id,props:{}};const ck=n=>decodeURIComponent((document.cookie.match(new RegExp(\"(?:^|; )\"+n+\"=([^;]*)\"))||[])[1]||\"\");const fbclid=new URLSearchParams(window.location.search).get(\"fbclid\");const fbc=ck(\"_fbc\")||(fbclid?`fb.1.${Date.now()}.${fbclid}`:\"\");const props={\"Meta Lead Event ID\":id,\"Meta Event Time\":String(Math.floor(Date.now()/1e3)),\"Meta Event URL\":window.location.href.split(\"#\")[0].slice(0,300),\"Meta User Agent\":navigator.userAgent.slice(0,300)};if(ck(\"_fbp\"))props[\"Meta FBP\"]=ck(\"_fbp\");if(fbc)props[\"Meta FBC\"]=fbc;return{id,props};}function track(event,source,eventId){const w=window;// eventID = the one written to the profile (metaLead), so the Worker's server copy de-duplicates against this (17 Oct 2026).\nif(typeof w.fbq===\"function\")w.fbq(\"track\",event,{content_name:source},{eventID:eventId||event.toLowerCase()+\"-\"+Date.now().toString(36)+\"-\"+Math.random().toString(36).slice(2,8)});if(typeof w.gtag===\"function\")w.gtag(\"event\",event===\"Lead\"?\"generate_lead\":\"contact\",{source});}// ─── Page shell ────────────────────────────────────────────────────────────────────────────────\n// The exact Inter files the live Framer site loads (Framer-hosted), so type matches to the pixel (14 Oct).\nconst FONT_FACES=`@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/DolVirEGb34pEXEp8t8FQBSK4.woff2\");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/mYcqTSergLb16PdbJJQMl9ebYm4.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/ZRl8AlxwsX1m7xS1eJCiSPbztg.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/nhSQpBRqFmXNUBY2p5SENQ8NplQ.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/DYHjxG0qXjopUuruoacfl5SA.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/s7NH6sl7w4NU984r5hcmo1tPSYo.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/7lw0VWkeXrGYJT05oB3DsFy8BaY.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/wx5nfqEgOXnxuFaxB0Mn9OhmcZA.woff2\");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/VgYFWiwsAC5OYxAycRXXvhze58.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/GIryZETIX4IFypco5pYZONKhJIo.woff2\");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/khkJkwSL66WFg8SX6Wa726c.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/0E7IMbDzcGABpBwwqNEt60wU0w.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/NTJ0nQgIF0gcDelS14zQ9NR9Q.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/QrcNhgEPfRl0LS8qz5Ln8olanl8.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/JEXmejW8mXOYMtt0hyRg811kHac.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/Bo5CNzBv77CafbxOtKIkpw9egw.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter';src:url(\"https://framerusercontent.com/assets/uy9s0iWuxiNnVt8EpTI3gzohpwo.woff2\");font-weight:500;font-style:italic;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/khkJkwSL66WFg8SX6Wa726c.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/0E7IMbDzcGABpBwwqNEt60wU0w.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/NTJ0nQgIF0gcDelS14zQ9NR9Q.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+1F00-1FFF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/QrcNhgEPfRl0LS8qz5Ln8olanl8.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0370-03FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/JEXmejW8mXOYMtt0hyRg811kHac.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/Bo5CNzBv77CafbxOtKIkpw9egw.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}\n@font-face{font-family:'MGM Inter Variable';src:url(\"https://framerusercontent.com/assets/uy9s0iWuxiNnVt8EpTI3gzohpwo.woff2\");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB}`;const GLOBAL_CSS=`\n${FONT_FACES}\n@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300..800&display=swap');\n.mgm{font-feature-settings:'cv01','cv05','cv09','cv11','ss03';font-optical-sizing:none}\n.mgm *{box-sizing:border-box}\n.mgm a{color:inherit}\n.mgm input:focus,.mgm textarea:focus{border-color:${C.blue}!important;outline:none}\n.mgm .mgm-btn{transition:transform .15s ease, filter .15s ease}\n.mgm .mgm-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}\n@keyframes mgm-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}\n.mgm .mgm-track{animation:mgm-marquee var(--mgm-speed,60s) linear infinite}\n.mgm .mgm-track:hover{animation-play-state:paused}\n@media (prefers-reduced-motion: reduce){.mgm .mgm-track{animation:none}}\n`;/** Design width of the desktop layout. Between TABLET_MIN and DESIGN_W (iPad sizes) the desktop layout is\n * rendered at DESIGN_W and scaled down with CSS zoom, so desktop and iPad are the same format\n * (his ruling, 14 Oct: \"mobile, desktop and ipad are all the same format\"). Below TABLET_MIN: the phone layout. */export const DESIGN_W=1200;export const TABLET_MIN=700;export function Page({children,nav=\"main\",footer=true}){const ref=React.useRef(null);const[w,setW]=React.useState(typeof window===\"undefined\"?1200:window.innerWidth);const tablet=w>=TABLET_MIN&&w<DESIGN_W;const layoutW=tablet?DESIGN_W:w;React.useLayoutEffect(()=>{const el=ref.current;if(!el)return;const on=()=>setW(el.offsetWidth||window.innerWidth)// layout width: ignores canvas zoom\n;on();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(on):null;ro?.observe(el);window.addEventListener(\"resize\",on);return()=>(ro?.disconnect(),window.removeEventListener(\"resize\",on));},[]);return /*#__PURE__*/_jsx(WidthCtx.Provider,{value:layoutW,children:/*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",overflow:\"hidden\"},children:/*#__PURE__*/_jsxs(\"div\",{className:\"mgm\",style:{width:tablet?DESIGN_W:\"100%\",zoom:tablet?w/DESIGN_W:undefined,background:C.white,color:C.ink,fontFamily:FONT,fontSize:16,lineHeight:1.5,WebkitFontSmoothing:\"antialiased\"},children:[/*#__PURE__*/_jsx(\"style\",{children:GLOBAL_CSS}),nav!==\"none\"?/*#__PURE__*/_jsx(Nav,{variant:nav}):null,children,footer?/*#__PURE__*/_jsx(Footer,{}):null]})})});}/** Centred column. */export function Wrap({children,max=1200,pad,style}){const wide=useWide();const p=pad??(wide?40:16);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:max+p*2,margin:\"0 auto\",paddingLeft:p,paddingRight:p,...style},children:children});}/** Vertical rhythm between sections. */export function Section({children,id,top,bottom,style}){const wide=useWide();return /*#__PURE__*/_jsx(\"section\",{id:id,style:{paddingTop:top??(wide?72:48),paddingBottom:bottom??0,...style},children:children});}/** The rounded pale-blue doodle card: hero and feature containers. Radius 30. */export function WashCard({children,style,inner=true}){const wide=useWide();return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",borderRadius:wide?30:24,overflow:\"hidden\",backgroundColor:C.pale,backgroundImage:`url(${A.heroWash})`,backgroundSize:\"cover\",backgroundPosition:\"center\",padding:inner?wide?\"48px 56px\":\"28px 18px\":0,...style},children:children});}export function H1({children,align=\"center\",style,as=\"h1\"}){const wide=useWide();const Tag=as;return /*#__PURE__*/_jsx(Tag,{style:{...DISPLAY,fontSize:wide?56:36,lineHeight:1.05,margin:0,textAlign:align,...style},children:children});}export function H2({children,align=\"center\",style,as=\"h2\"}){const wide=useWide();const Tag=as;return /*#__PURE__*/_jsx(Tag,{style:{...DISPLAY,fontSize:wide?44:30,lineHeight:1.1,margin:0,textAlign:align,...style},children:children});}export function H3({children,align=\"left\",style,as=\"h3\"}){const wide=useWide();const Tag=as;return /*#__PURE__*/_jsx(Tag,{style:{...DISPLAY,letterSpacing:\"-0.02em\",fontSize:wide?24:21,lineHeight:1.2,margin:0,textAlign:align,...style},children:children});}/** Light first line of the two-line hero (\"Take Control Of GCSE Maths\"). */export function Kicker({children,align=\"center\",style}){const wide=useWide();return /*#__PURE__*/_jsx(\"div\",{style:{...DISPLAY,fontWeight:400,letterSpacing:\"-0.03em\",fontSize:wide?36:24,lineHeight:1.15,textAlign:align,...style},children:children});}export function P({children,align=\"left\",style,size}){return /*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:size??17,lineHeight:1.55,color:C.ink,margin:0,textAlign:align,...style},children:children});}export function Small({children,align=\"center\",style}){return /*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:14,color:C.grey,textAlign:align,...style},children:children});}// ─── Buttons ───────────────────────────────────────────────────────────────────────────────────\nexport function Button({label,href,size=\"lg\",newTab,onClick,full,style,ariaLabel}){const h=size===\"lg\"?60:size===\"md\"?48:34;const fs=size===\"lg\"?20:size===\"md\"?18:14;const s={display:full?\"flex\":\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",height:h,padding:`0 ${size===\"sm\"?16:28}px`,borderRadius:100,background:C.blue,color:C.white,fontFamily:FONT,fontWeight:600,fontSize:fs,letterSpacing:\"-0.01em\",textDecoration:\"none\",border:\"none\",cursor:\"pointer\",whiteSpace:\"nowrap\",width:full?\"100%\":undefined,...style};return href?/*#__PURE__*/_jsx(\"a\",{className:\"mgm-btn\",href:href,\"aria-label\":ariaLabel,target:newTab?\"_blank\":undefined,rel:newTab?\"noopener\":undefined,style:s,children:label}):/*#__PURE__*/_jsx(\"button\",{className:\"mgm-btn\",type:\"button\",onClick:onClick,style:s,children:label});}/** Outline pill (\"Log In\"). */export function GhostButton({label,href,style}){return /*#__PURE__*/_jsx(\"a\",{className:\"mgm-btn\",href:href,style:{display:\"inline-flex\",alignItems:\"center\",height:34,padding:\"0 16px\",borderRadius:100,border:`1.5px solid ${C.ink}`,color:C.ink,fontFamily:FONT,fontWeight:600,fontSize:14,textDecoration:\"none\",...style},children:label});}export function Centre({children,style}){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",textAlign:\"center\",...style},children:children});}// ─── Nav and footer ────────────────────────────────────────────────────────────────────────────\n/** Site nav, as measured on the live pages (14 Oct). Default = the wordmark (320×44 desktop, 246×53 phone,\n * cropped like Framer's \"fill\") + a solid blue \"Log In\" pill (90×34, radius 10, 20px/500 label).\n * `right` replaces the right-hand side for pages whose live nav differs; `logo`/`logoSize` swap the logo. */export function Nav({variant=\"main\",inCard=false,right,logo,logoSize,style}){const wide=useWide();const src=logo??(variant===\"gt\"?A.gtLockup:A.wordmark);const size=logoSize??(variant===\"gt\"?{desk:[323,72],mob:[200,45]}:{desk:[320,44],mob:[246,53]});const[lw,lh]=wide?size.desk:size.mob;const bar=/*#__PURE__*/_jsxs(\"nav\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:12,marginBottom:inCard?wide?40:24:0,...style},children:[/*#__PURE__*/_jsx(\"a\",{href:PATHS.home,\"aria-label\":\"MyGCSEMaths home\",style:{display:\"flex\",flex:\"none\"},children:/*#__PURE__*/_jsx(\"img\",{src:src,alt:variant===\"gt\"?\"Group Tutoring with Matt from MyGCSEMaths\":\"MyGCSEMaths\",style:{width:lw,height:lh,objectFit:\"cover\",flex:\"none\"}})}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:wide?16:8},children:right??/*#__PURE__*/_jsx(LoginPill,{})})]});return inCard?bar:/*#__PURE__*/_jsx(Wrap,{style:{paddingTop:wide?24:14},children:bar});}/** The live site's solid blue \"Log In\" pill. */export function LoginPill({href=SKOOL,label=\"Log In\"}){const wide=useWide();return /*#__PURE__*/_jsx(\"a\",{className:\"mgm-btn\",href:href,style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:wide?90:78,height:wide?34:31,borderRadius:10,background:C.blue,color:C.white,fontFamily:FONT,fontSize:wide?20:18,fontWeight:500,letterSpacing:\"-0.01em\",textDecoration:\"none\",whiteSpace:\"nowrap\"},children:label});}/** Footer, as measured on the live pages: bar mark (203×164 desktop / 78×66 phone) left, three columns right,\n * 44px apart, 15px text, 10px between rows. Phone: mark above, 12px text (live is 9px side by side: clipped, unreadable),\n * inside a 1026px band. */export function Footer(){const wide=useWide();const fs=wide?15:12;// Column titles link to their page when they have one (Clarity, 15 Oct: people tap \"Contact\").\nconst TITLE_HREF={MyGCSEMaths:PATHS.home,Contact:PATHS.contact};const col=(title,links)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:10},children:[TITLE_HREF[title]?/*#__PURE__*/_jsx(\"a\",{href:TITLE_HREF[title],style:{fontSize:fs,lineHeight:1,fontWeight:700,letterSpacing:\"-0.01em\",textDecoration:\"none\",color:C.ink},children:title}):/*#__PURE__*/_jsx(\"strong\",{style:{fontSize:fs,lineHeight:1,fontWeight:700,letterSpacing:\"-0.01em\"},children:title}),links.map(([label,href])=>/*#__PURE__*/_jsx(\"a\",{href:href,style:{fontSize:fs,lineHeight:1,letterSpacing:\"-0.01em\",textDecoration:\"none\",color:C.ink,whiteSpace:\"nowrap\",padding:wide?0:\"6px 0\",margin:wide?0:\"-6px 0\"},children:label},label))]});return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:wide?1026:358,margin:`${wide?60:64}px auto 0`,paddingBottom:wide?71:32},children:/*#__PURE__*/_jsxs(\"footer\",{style:{borderTop:`1px solid ${C.line}`,paddingTop:wide?76:28,display:\"flex\",flexDirection:wide?\"row\":\"column\",alignItems:\"flex-start\",justifyContent:\"space-between\",gap:wide?16:22},children:[/*#__PURE__*/_jsx(\"img\",{src:A.barMark,alt:\"\",style:{width:wide?203:78,height:wide?164:66,objectFit:\"cover\",flex:\"none\",marginTop:wide?-23:0}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:wide?44:24,flexWrap:\"wrap\"},children:[col(\"MyGCSEMaths\",[[\"Home\",PATHS.home],[\"Group Tutoring\",PATHS.groupTutoring],[\"Free Live Lesson\",PATHS.freeLesson],[\"Past Paper Tracker\",PATHS.pastPaperTracker],[\"Topic Tracker\",PATHS.topicTracker]]),col(\"Contact\",[[\"General\",PATHS.contact],[\"Support\",PATHS.contact],[\"Partnerships\",PATHS.contact],[\"Press\",PATHS.contact]]),col(\"Links\",[[\"Privacy Policy\",PATHS.privacy],[\"Terms & Conditions\",PATHS.terms],[\"Copyright Notice\",PATHS.copyright],[\"Safeguarding\",PATHS.safeguarding]])]})]})});}// ─── Proof ─────────────────────────────────────────────────────────────────────────────────────\nexport function Stats({items=[[\"150K+\",\"students supported\"],[\"30M+\",\"lesson views\"],[\"1,000+\",\"5-star reviews\"]]}){const wide=useWide();return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",gap:wide?96:20},children:items.map(([n,l])=>/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{...DISPLAY,fontSize:wide?48:28,lineHeight:1.1},children:n}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:wide?17:13,color:C.grey,marginTop:2},children:l})]},l))});}export function Stars({size=16}){return /*#__PURE__*/_jsx(\"div\",{\"aria-label\":\"5 stars\",style:{display:\"flex\",gap:2},children:[0,1,2,3,4].map(i=>/*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{fill:C.gold,d:\"M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z\"})},i))});}export function ReviewCard({r,width=280}){return /*#__PURE__*/_jsxs(\"div\",{style:{flex:\"none\",width,background:C.white,borderRadius:20,border:`1px solid ${C.line}`,boxShadow:SHADOW,padding:20,display:\"flex\",flexDirection:\"column\",gap:12,whiteSpace:\"normal\"},children:[/*#__PURE__*/_jsx(Stars,{}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,lineHeight:1.5,flex:1},children:r.quote}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600},children:r.name}),r.role?/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,color:C.grey},children:r.role}):null]})]});}/** An endlessly scrolling row of review cards. Pauses on hover; still for reduced motion. */export function ReviewRow({reviews,speed=60,reverse=false}){const doubled=[...reviews,...reviews];return /*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",width:\"100%\",padding:\"12px 0\"},children:/*#__PURE__*/_jsx(\"div\",{className:\"mgm-track\",style:{display:\"flex\",gap:16,width:\"max-content\",alignItems:\"stretch\",[\"--mgm-speed\"]:`${speed}s`,animationDirection:reverse?\"reverse\":\"normal\"},children:doubled.map((r,i)=>/*#__PURE__*/_jsx(ReviewCard,{r:r},i))})});}// ─── Media ─────────────────────────────────────────────────────────────────────────────────────\n/** YouTube embed that loads only on click (fast pages). *//** `zoom` crops the thumbnail (some thumbnails have black bars baked in; the live bootcamp page shows it zoomed ~1.14). */export function YouTube({id,title=\"Video\",aspect=16/9,radius=20,start,zoom=1,focus=\"center\"}){const[on,setOn]=React.useState(false);const thumb=`https://i.ytimg.com/vi_webp/${id}/maxresdefault.webp`;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",paddingTop:`${100/aspect}%`,borderRadius:radius,overflow:\"hidden\",background:\"#111\"},children:on?/*#__PURE__*/_jsx(\"iframe\",{src:`https://www.youtube.com/embed/${id}?autoplay=1&rel=0&modestbranding=1&playsinline=1${start?`&start=${start}`:\"\"}`,title:title,allow:\"autoplay; encrypted-media; picture-in-picture; fullscreen\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0}}):/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>setOn(true),\"aria-label\":`Play: ${title}`,style:{position:\"absolute\",inset:0,border:0,padding:0,cursor:\"pointer\",background:`#111 url(${thumb}) ${focus}/${zoom===1?\"cover\":`${Math.round(zoom*100)}% auto`} no-repeat`},children:/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:\"50%\",top:\"50%\",transform:\"translate(-50%,-50%)\",width:68,height:48,borderRadius:12,background:\"rgba(0,0,0,.72)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{fill:\"#fff\",d:\"M8 5v14l11-7z\"})})})})});}// ─── Cards ─────────────────────────────────────────────────────────────────────────────────────\nexport function Card({children,tone=\"white\",style}){return /*#__PURE__*/_jsx(\"div\",{style:{background:tone===\"grey\"?C.surface:C.white,borderRadius:20,border:`1px solid ${C.line}`,boxShadow:tone===\"white\"?SHADOW:\"none\",padding:24,...style},children:children});}export function FAQ({items}){const[open,setOpen]=React.useState(0);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gap:12},children:items.map((it,i)=>{const on=open===i;return /*#__PURE__*/_jsxs(\"div\",{style:{background:C.surface,borderRadius:20,overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>setOpen(on?null:i),\"aria-expanded\":on,style:{width:\"100%\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",gap:16,padding:\"18px 22px\",background:\"none\",border:0,cursor:\"pointer\",textAlign:\"left\",fontFamily:FONT,fontSize:17,fontWeight:600,color:C.ink},children:[it.q,/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{flex:\"none\",fontSize:22,lineHeight:1,transform:on?\"rotate(45deg)\":\"none\",transition:\"transform .2s\"},children:\"+\"})]}),on?/*#__PURE__*/_jsx(\"div\",{style:{padding:\"0 22px 20px\",fontSize:16,lineHeight:1.6},children:rich(it.a)}):null]},i);})});}// ─── Forms (in-page, posting straight to Klaviyo — replaces the old Klaviyo embed forms) ─────────\nexport const KLAVIYO_SITE=\"SqsWDy\";export const LISTS={pastPaperTracker:\"SeEWh8\",topicTracker:\"Yqea7Y\",emailList:\"T45fix\",freeLesson:\"Y5pXre\"};const fieldStyle={width:\"100%\",fontFamily:FONT,fontSize:16,padding:\"0 16px\",height:54,borderRadius:12,border:`1.5px solid ${C.field}`,background:C.white,color:C.ink};/** Raw channel tags for the Klaviyo normaliser (lead system, 15 Oct 2026): UTM Source / Medium / Campaign from the URL,\n *  Landing Referrer when it is another site. Never Lead Source / Lead Campaign: the normaliser sets those (first wins). */function utmProps(){if(typeof window===\"undefined\")return{};const qs=new URLSearchParams(window.location.search),out={};for(const[k,f]of[[\"utm_source\",\"UTM Source\"],[\"utm_medium\",\"UTM Medium\"],[\"utm_campaign\",\"UTM Campaign\"]])if(qs.get(k))out[f]=qs.get(k).slice(0,100);const ref=document.referrer;if(ref&&!ref.includes(\"mygcsemaths.com\"))out[\"Landing Referrer\"]=ref.slice(0,200);return out;}async function klaviyoSubscribe(list,email,source,properties){const r=await fetch(`https://a.klaviyo.com/client/subscriptions?company_id=${KLAVIYO_SITE}`,{method:\"POST\",headers:{\"Content-Type\":\"application/vnd.api+json\",revision:\"2024-10-15\"},body:JSON.stringify({data:{type:\"subscription\",attributes:{custom_source:source,profile:{data:{type:\"profile\",attributes:{email,properties:{...utmProps(),...properties}}}}},relationships:{list:{data:{type:\"list\",id:list}}}}})});if(!r.ok)throw new Error(String(r.status));}/** Email (and optional first name) → a Klaviyo list, then redirect or show a thank-you. */export function SignupForm({list,source,redirect,button=\"Send It To Me\",withName=false,done=\"Done. Check your inbox.\",layout=\"stack\",properties={}}){const wide=useWide();const[name,setName]=React.useState(\"\");const[email,setEmail]=React.useState(\"\");const[state,setState]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");async function submit(e){e.preventDefault();if(!/^\\S+@\\S+\\.\\S+$/.test(email.trim()))return setMsg(\"Please check your email address.\"),setState(\"error\");if(withName&&!name.trim())return setMsg(\"Please add your name.\"),setState(\"error\");setState(\"sending\");try{const ml=metaLead();await klaviyoSubscribe(list,email.trim(),source,{...withName?{first_name:name.trim()}:{},...properties,\"Website Form\":source,...ml.props});track(\"Lead\",source,ml.id);if(redirect)window.location.href=redirect;else setState(\"done\");}catch{setMsg(\"Something went wrong. Please try again.\");setState(\"error\");}}if(state===\"done\")return /*#__PURE__*/_jsx(\"div\",{style:{...DISPLAY,fontSize:24,textAlign:\"center\"},children:done});const inline=layout===\"inline\"&&wide&&!withName;return /*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,style:{width:\"100%\",maxWidth:520,margin:\"0 auto\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:inline?\"flex\":\"grid\",gap:10},children:[withName?/*#__PURE__*/_jsx(\"input\",{\"aria-label\":\"First name\",autoComplete:\"given-name\",placeholder:\"First name\",value:name,onChange:e=>setName(e.target.value),style:fieldStyle}):null,/*#__PURE__*/_jsx(\"input\",{type:\"email\",inputMode:\"email\",\"aria-label\":\"Email address\",autoComplete:\"email\",placeholder:\"Enter your email\",value:email,onChange:e=>setEmail(e.target.value),style:{...fieldStyle,flex:1}}),/*#__PURE__*/_jsx(\"button\",{className:\"mgm-btn\",type:\"submit\",disabled:state===\"sending\",style:{height:54,padding:\"0 28px\",borderRadius:100,border:0,background:C.blue,color:C.white,fontFamily:FONT,fontWeight:600,fontSize:18,cursor:\"pointer\",whiteSpace:\"nowrap\",opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Sending…\":button})]}),state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontSize:14,color:C.error,marginTop:10,textAlign:\"center\"},children:msg}):null,/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color:C.grey,marginTop:10,textAlign:\"center\"},children:[\"We'll email you about MyGCSEMaths. Unsubscribe any time. \",/*#__PURE__*/_jsx(\"a\",{href:PATHS.privacy,style:{color:C.grey},children:\"Privacy policy\"})]})]});}/** Contact form → a Klaviyo \"Website Contact Message\" event on the sender's profile (a flow can email Matt). */export function ContactForm({source=\"Contact page\"}){const[f,setF]=React.useState({name:\"\",email:\"\",topic:\"General\",message:\"\"});const[state,setState]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");const set=k=>e=>setF({...f,[k]:e.target.value});async function submit(e){e.preventDefault();if(!f.name.trim()||!f.message.trim())return setMsg(\"Please add your name and a message.\"),setState(\"error\");if(!/^\\S+@\\S+\\.\\S+$/.test(f.email.trim()))return setMsg(\"Please check your email address.\"),setState(\"error\");setState(\"sending\");try{const r=await fetch(`https://a.klaviyo.com/client/events?company_id=${KLAVIYO_SITE}`,{method:\"POST\",headers:{\"Content-Type\":\"application/vnd.api+json\",revision:\"2024-10-15\"},body:JSON.stringify({data:{type:\"event\",attributes:{properties:{Topic:f.topic,Message:f.message.trim(),Name:f.name.trim(),Source:source},metric:{data:{type:\"metric\",attributes:{name:\"Website Contact Message\"}}},profile:{data:{type:\"profile\",attributes:{email:f.email.trim(),first_name:f.name.trim()}}}}}})});if(!r.ok)throw new Error(String(r.status));track(\"Contact\",source);setState(\"done\");}catch{setMsg(\"Something went wrong. Please try again, or email matt@mygcsemaths.com.\");setState(\"error\");}}if(state===\"done\")return /*#__PURE__*/_jsxs(\"div\",{style:{...DISPLAY,fontSize:26,textAlign:\"center\"},children:[\"Thanks, \",f.name.split(\" \")[0],\". We'll be in touch soon.\"]});const label=t=>/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600,margin:\"14px 0 6px\"},children:t});return /*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,style:{width:\"100%\"},children:[label(\"Name\"),/*#__PURE__*/_jsx(\"input\",{autoComplete:\"name\",placeholder:\"Jane Smith\",value:f.name,onChange:set(\"name\"),style:fieldStyle}),label(\"Email\"),/*#__PURE__*/_jsx(\"input\",{type:\"email\",autoComplete:\"email\",placeholder:\"jane@gmail.com\",value:f.email,onChange:set(\"email\"),style:fieldStyle}),label(\"What's it about?\"),/*#__PURE__*/_jsx(\"select\",{value:f.topic,onChange:set(\"topic\"),style:{...fieldStyle,appearance:\"auto\"},children:[\"General\",\"Support\",\"Partnerships\",\"Press\"].map(t=>/*#__PURE__*/_jsx(\"option\",{children:t},t))}),label(\"Message\"),/*#__PURE__*/_jsx(\"textarea\",{placeholder:\"Hey, I'd love to hear more about...\",value:f.message,onChange:set(\"message\"),rows:6,style:{...fieldStyle,height:\"auto\",padding:16,resize:\"vertical\"}}),state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontSize:14,color:C.error,marginTop:10},children:msg}):null,/*#__PURE__*/_jsx(\"button\",{className:\"mgm-btn\",type:\"submit\",disabled:state===\"sending\",style:{width:\"100%\",height:54,marginTop:18,borderRadius:100,border:0,background:C.blue,color:C.white,fontFamily:FONT,fontWeight:600,fontSize:18,cursor:\"pointer\",opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Sending…\":\"Send Message\"})]});}// ─── Legal pages ───────────────────────────────────────────────────────────────────────────────\n/** Title + dated sections of plain text. Body strings support **bold** and blank-line paragraphs. */export function LegalBody({title,updated,sections}){return /*#__PURE__*/_jsx(Wrap,{max:800,children:/*#__PURE__*/_jsxs(Section,{children:[/*#__PURE__*/_jsx(H1,{children:title}),updated?/*#__PURE__*/_jsx(Small,{style:{marginTop:12},children:updated}):null,/*#__PURE__*/_jsx(\"div\",{style:{marginTop:40,display:\"grid\",gap:28},children:sections.map((s,i)=>/*#__PURE__*/_jsxs(\"div\",{children:[s.h?/*#__PURE__*/_jsx(H3,{style:{marginBottom:10},children:s.h}):null,s.body.split(/\\n\\s*\\n/).map((para,j)=>/*#__PURE__*/_jsx(P,{size:16,style:{marginTop:j?12:0,whiteSpace:\"pre-line\"},children:rich(para)},j))]},i))})]})});}/** Structured data for search engines (schema.org JSON-LD). Rendered into the served HTML. */export function SchemaOrg({data}){return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(data)}});}export const ORG_SCHEMA={\"@context\":\"https://schema.org\",\"@type\":\"EducationalOrganization\",name:\"MyGCSEMaths\",url:\"https://www.mygcsemaths.com/\",logo:\"https://framerusercontent.com/images/XG8VpbPVsrvl7CwV1ruo0M1TnY.png\",description:\"Live GCSE Maths group tutoring with Matt: three classes a week, every class recorded, 400+ topic videos and parent support.\",founder:{\"@type\":\"Person\",name:\"Matthew Eberle\",alumniOf:{\"@type\":\"CollegeOrUniversity\",name:\"London School of Economics and Political Science\",url:\"https://www.lse.ac.uk/\"}},sameAs:[\"https://www.youtube.com/@mygcsemaths\",\"https://www.instagram.com/mygcsemaths/\",\"https://www.facebook.com/mygcsemath\"]};\nexport const __FramerMetadata__ = {\"exports\":{\"FAQ\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"TABLET_MIN\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DISPLAY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"KLAVIYO_SITE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Small\":{\"type\":\"reactComponent\",\"name\":\"Small\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Page\":{\"type\":\"reactComponent\",\"name\":\"Page\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"LegalBody\":{\"type\":\"reactComponent\",\"name\":\"LegalBody\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ORG_SCHEMA\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LoginPill\":{\"type\":\"reactComponent\",\"name\":\"LoginPill\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SKOOL_LOGIN\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GhostButton\":{\"type\":\"reactComponent\",\"name\":\"GhostButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"LIVE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useWidth\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"H2\":{\"type\":\"reactComponent\",\"name\":\"H2\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SchemaOrg\":{\"type\":\"reactComponent\",\"name\":\"SchemaOrg\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Nav\":{\"type\":\"reactComponent\",\"name\":\"Nav\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Review\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ReviewCard\":{\"type\":\"reactComponent\",\"name\":\"ReviewCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"FONT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"A\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHADOW\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Stats\":{\"type\":\"reactComponent\",\"name\":\"Stats\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ContactForm\":{\"type\":\"reactComponent\",\"name\":\"ContactForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"DESIGN_W\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Wrap\":{\"type\":\"reactComponent\",\"name\":\"Wrap\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"WashCard\":{\"type\":\"reactComponent\",\"name\":\"WashCard\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"PATHS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"rich\":{\"type\":\"reactComponent\",\"name\":\"rich\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Centre\":{\"type\":\"reactComponent\",\"name\":\"Centre\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SignupForm\":{\"type\":\"reactComponent\",\"name\":\"SignupForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"metaLead\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Scope\":{\"type\":\"reactComponent\",\"name\":\"Scope\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Button\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"H1\":{\"type\":\"reactComponent\",\"name\":\"H1\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useWide\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ReviewRow\":{\"type\":\"reactComponent\",\"name\":\"ReviewRow\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"LISTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Kicker\":{\"type\":\"reactComponent\",\"name\":\"Kicker\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"YouTube\":{\"type\":\"reactComponent\",\"name\":\"YouTube\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"H3\":{\"type\":\"reactComponent\",\"name\":\"H3\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"C\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Card\":{\"type\":\"reactComponent\",\"name\":\"Card\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Footer\":{\"type\":\"reactComponent\",\"name\":\"Footer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"P\":{\"type\":\"reactComponent\",\"name\":\"P\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SKOOL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Stars\":{\"type\":\"reactComponent\",\"name\":\"Stars\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Section\":{\"type\":\"reactComponent\",\"name\":\"Section\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MGMKit.map","// CurrentEvent — GENERATED by scripts/12-set-event.mjs from fl2.json (2026-10-29T13:04Z). Do not edit by hand:\n// re-run the script with the new event file. The one place the site's \"current lesson\" lives (his design, 21 Oct 2026:\n// every free lesson gets a new WhatsApp group; mygcsemaths.com/link/join-next-lesson-whatsapp-group always forwards to the current one).\nexport const EVENT={name:\"Free Lesson #2 \\xb7 Tue 10 Nov 2026 (moved from Mon 2 Nov, then Tue 3 Nov)\",startUtc:\"2026-11-10T19:00:00Z\",dateLabel:\"Tuesday 10th November\",whatsappGroup:\"https://chat.whatsapp.com/KfdtI3V3Qw74L2aPwzLhHm\",utmCampaign:\"free-lesson-2\",klaviyoList:\"SkDRxc\",offerEndUtc:\"2026-11-13T22:00:00Z\",replayUntilUtc:\"2026-10-27T18:00:00Z\",offerLabel:\"Friday 13th November, 10pm\",offerShort:\"Friday, 10pm\"};\nexport const __FramerMetadata__ = {\"exports\":{\"EVENT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrentEvent.map","// LeadCapture — one place for every lead form on the site: the lead magnet registry, the Klaviyo subscribe call with the\n// standard lead fields, and the hand-off to the bridge page. Used by LeadMagnet.tsx (the magnet pages), FunnelForm.tsx\n// (the tracker forms) and TrackerThanksV2.tsx (the bridge page's one-tap waitlist).\n// Lead fields as on /free-lesson-signup (Free lessons engine, file 09): first_name · Role · Year Group At Signup · Exam Year ·\n// Tier · Mobile + WhatsApp OK (only when given) · raw UTM tags + Landing Referrer · Website Form · Meta CAPI keys.\n// Never Lead Source / Lead Campaign: the Klaviyo normaliser sets those from the list + UTM tags (first wins).\n// Built by Claude, CENTRE: WEB DESIGN, 21 Oct 2026 (lead magnet build, spec: AXIO › PROJECTS › Lead magnets › 06).\nimport{KLAVIYO_SITE,metaLead}from\"https://framerusercontent.com/modules/w72bJ3SyqTKjWjTdHnhv/FlqQN6XgCpR1NKdEhA0E/MGMKit.js\";import{EVENT}from\"https://framerusercontent.com/modules/qu88FOEFN5hHs8hX8abo/WbJPR03svUW5WUNdgjR7/CurrentEvent.js\";/** The five magnets. list = the Klaviyo list id (\"\" until the Klaviyo worker creates it: the form then says so instead of\n *  posting). name = what the bridge page says is on its way. bridge = the one line under the bridge headline. */export const MAGNETS={\"parents-guide\":{name:\"Parents' Guide\",list:\"SaXmxM\",listName:\"Lead Magnet \\xb7 Parents' Guide\",path:\"/other-resources/parents-guide\",source:\"Parents' Guide page\",role:\"Parent\",bridge:\"The guide shows you what to look for. A live class shows you your child's two weakest topics being taught, three times a week.\"},\"how-to-revise\":{name:\"revision guide\",list:\"WKXsKP\",listName:\"Lead Magnet \\xb7 How to Revise\",path:\"/other-resources/how-to-revise\",source:\"How to Revise page\",role:\"Student\",bridge:\"Use the method on your two weakest topics, then bring them to class. Matt teaches them live, three times a week.\"},// NEW 22 Oct 2026 (his words: \"we haven't made / added the student guide to the site yet\"). STAGING ONLY until he approves the v1\n// printable and CENTRE: TESTING passes it: MAGNETS_LIVE-gated (not ALWAYS_LIVE), and the page is wrapped in <StagingOnly\n// feature=\"studentsGuide\"> (FunnelBlocks.STAGING_ONLY). List SPEVVV from ENGINE: LEAD MAGS; delivery flow TfZHKB (draft).\n\"students-guide\":{name:\"Students' Guide\",list:\"SPEVVV\",listName:\"Lead Magnet \\xb7 Students' Guide\",path:\"/other-resources/students-guide\",source:\"Students' Guide page\",role:\"Student\",bridge:\"Use the guide on your two weakest topics, then bring them to class. Matt teaches them live, three times a week.\"},\"rag-sheet\":{name:\"RAG Sheet\",list:\"SZRb45\",listName:\"Lead Magnet \\xb7 RAG Sheet\",path:\"/rag-sheet-retired\"/* retired: a Framer redirect to the topic tracker since 23 Oct, so this never matches */,source:\"RAG Sheet page\",role:\"Student\",bridge:\"Rate your topics, then bring your reds to class. Matt teaches them live, three times a week.\"},\"past-paper-tracker\":{name:\"tracker\",list:\"SeEWh8\",listName:\"Lead Magnet \\xb7 Past Paper Tracker\",path:\"/other-resources/past-paper-tracker\",source:\"Past Paper Tracker page\",role:\"Student\",bridge:\"Log a past paper in your tracker, then bring your two weakest topics to class. Matt teaches them live, three times a week.\"},\"topic-tracker\":{name:\"tracker\",list:\"Yqea7Y\",listName:\"Lead Magnet \\xb7 Single Topic Tracker\",path:\"/other-resources/topic-tracker\"/* renamed (his ask, 21 Oct evening); the Klaviyo list keeps its name */,source:\"Topic Tracker page\",role:\"Student\",bridge:\"Mark your topics red, amber or green, then bring your reds to class. Matt teaches them live, three times a week.\"},\"formula-sheet\":{name:\"Formulas to Remember\",list:\"VYJmmm\",listName:\"Lead Magnet \\xb7 Formula Sheet\",path:\"/other-resources/formulas-to-remember\",source:\"Formulas to Remember page\",role:\"Student\",bridge:\"Learn the formulas, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-boundaries-sheet\":{name:\"Grade Boundaries\",list:\"Xf8GyZ\",listName:\"Lead Magnet \\xb7 Grade Boundaries\",path:\"/other-resources/grade-boundaries-sheet\",source:\"Grade Boundaries page\",role:\"Student\",bridge:\"Find the marks you need, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},// The Ultimate Question Packs, TWO magnets, one page and one download each (his ruling, 21 Oct evening: \"we want one pack for the\n// Foundation, and we want one pack for the Higher, which are downloaded separately\"). Supersedes the single Tier-chip page.\n// tier = sent with the sign-up, and the form's Tier chip is hidden. lists from WORKER: 5 (SEYB9E reused for Foundation; UzpJA2 Higher).\n\"question-pack-foundation\":{name:\"Ultimate Foundation Tier Workbook\",list:\"SEYB9E\",listName:\"Lead Magnet \\xb7 Ultimate Question Pack \\xb7 Foundation\",path:\"/other-resources/workbooks/foundation\",source:\"Ultimate Foundation Tier Workbook page\",role:\"Student\",tier:\"Foundation\",bridge:\"Work through the pack, then bring your reds to class. Matt teaches them live, three times a week.\"},\"question-pack-higher\":{name:\"Ultimate Higher Tier Workbook\",list:\"UzpJA2\",listName:\"Lead Magnet \\xb7 Ultimate Question Pack \\xb7 Higher\",path:\"/other-resources/workbooks/higher\",source:\"Ultimate Higher Tier Workbook page\",role:\"Student\",tier:\"Higher\",bridge:\"Work through the pack, then bring your reds to class. Matt teaches them live, three times a week.\"},// The 9 Ultimate Grade workbooks (23 Oct 2026): one Klaviyo list, the grade sent as \"Workbook Grade\" so one email links the right file\n\"grade-workbook-1\":{name:\"Ultimate Grade 1 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-1\",source:\"Ultimate Grade 1 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":1},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-2\":{name:\"Ultimate Grade 2 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-2\",source:\"Ultimate Grade 2 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":2},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-3\":{name:\"Ultimate Grade 3 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-3\",source:\"Ultimate Grade 3 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":3},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-4\":{name:\"Ultimate Grade 4 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-4\",source:\"Ultimate Grade 4 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":4},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-5\":{name:\"Ultimate Grade 5 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-5\",source:\"Ultimate Grade 5 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":5},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-6\":{name:\"Ultimate Grade 6 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-6\",source:\"Ultimate Grade 6 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":6},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-7\":{name:\"Ultimate Grade 7 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-7\",source:\"Ultimate Grade 7 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":7},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-8\":{name:\"Ultimate Grade 8 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-8\",source:\"Ultimate Grade 8 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":8},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"},\"grade-workbook-9\":{name:\"Ultimate Grade 9 Workbook\",list:\"Wr4hYV\",listName:\"Lead Magnet \\xb7 Ultimate Grade Packs\",path:\"/other-resources/workbooks/grade-9\",source:\"Ultimate Grade 9 Workbook page\",role:\"Student\",extra:{\"Workbook Grade\":9},bridge:\"Work through the workbook, then bring your weakest topics to class. Matt teaches them live, three times a week.\"}};/** 🔒 The three new magnet pages stay OFF until Matt has reviewed them (his rule for the build, relayed 21 Oct 2026).\n *  false → their forms say \"isn't switched on yet\" and post nothing, and the pages add a robots noindex tag.\n *  Go-live = set true and run scripts/11-lead-magnets.mjs --apply (the list ids above stay wired). Trackers are not affected. */export const MAGNETS_LIVE=false// 25 Oct 2026: OFF for the live launch of Other Resources as \"Coming soon\" (his words: \"have them all as coming soon until they are approved in the leads mags chat\"). Set true when approved. Was true: his words, 23 Oct late: \"all the lead magnets are approved for now\". The live site still hides them (STAGING_ONLY.otherResources) until go-live\n;/** The trackers were live before the switch: their forms never go off. */export const ALWAYS_LIVE=[\"past-paper-tracker\",\"topic-tracker\"];/** Held back even when MAGNETS_LIVE goes true: the Question Packs wait for ENGINE: WORKSHEETS' question bank (his words, 21 Oct). */export const HELD=[]// the packs are approved too (23 Oct late); they are the Ultimate Tier workbooks\n;/** The next free lesson, for the bridge page (and the site banner, NEXT R11). date \"\" = between lessons: offer the waitlist. */// date = the next lesson (his word, 21 Oct 2026: Free Lesson #2 is Monday 2nd November). open = its sign-up page is live:\n// false → the bridge page and banner offer \"tell me when sign-up opens\" (the waitlist); true → they link to href.\nexport const NEXT_LESSON={date:EVENT.dateLabel,open:false,href:\"/webinar/free-lesson/signup\"}// date from CurrentEvent.tsx (scripts/12-set-event.mjs)\n;export const WAITLIST_LIST=\"RN7GNN\"// Free Lesson · Waitlist (single opt-in, no flows)\n;/** Where a free-lesson sign-up goes (his ruling, 21 Oct: sign-up is always open, one Klaviyo list per lesson, set in the event\n *  file). The current event's list while that lesson is still ahead; otherwise (no list yet, or the lesson has passed) the\n *  waitlist, so nobody is ever added to a past lesson's list and sent its emails. */export function lessonList(now=Date.now()){const start=Date.parse(EVENT.startUtc||\"\");return EVENT.klaviyoList&&isFinite(start)&&now<start?EVENT.klaviyoList:WAITLIST_LIST;}export const BRIDGE=\"/webinar/free-lesson/signup-from-resource\"// after ANY lead magnet form: the banner, Matt's video and the free lesson sign-up on one page (his architecture, 23 Oct late). The old /other-resources/thank-you-free-lesson-invite forwards here.\n;/** Raw channel tags: UTM Source / Medium / Campaign from the URL, Landing Referrer when it is another site. */export function leadUtm(){if(typeof window===\"undefined\")return{};const qs=new URLSearchParams(window.location.search),out={};for(const[k,f]of[[\"utm_source\",\"UTM Source\"],[\"utm_medium\",\"UTM Medium\"],[\"utm_campaign\",\"UTM Campaign\"]])if(qs.get(k))out[f]=qs.get(k).slice(0,100);// Short-link style tags straight on a page (ManyChat links like /question-pack-higher?s=ig&m=dm, 21 Oct): same mapping as ShortLink.tsx,\n// campaign = the magnet's Klaviyo list name. Real utm_ params always win.\nconst s=(qs.get(\"s\")||\"\").toLowerCase().replace(/[^a-z0-9-]/g,\"\").slice(0,30);if(s&&!out[\"UTM Source\"]){const codes={ig:\"instagram\",fb:\"facebook\",tt:\"tiktok\",yt:\"youtube\",wa:\"whatsapp\",em:\"email\"};out[\"UTM Source\"]=codes[s]||s;out[\"UTM Medium\"]||=(qs.get(\"m\")||\"link\").replace(/[^a-z0-9 -]/gi,\"\").slice(0,30);const mg=Object.values(MAGNETS).find(x=>x.path===window.location.pathname.replace(/\\/$/,\"\"));if(mg&&!out[\"UTM Campaign\"])out[\"UTM Campaign\"]=mg.listName;}const ref=document.referrer;if(ref&&!ref.includes(\"mygcsemaths.com\"))out[\"Landing Referrer\"]=ref.slice(0,200);return out;}/** Exam Year: the academic year turns on 1 Sep; Year N in academic year AY sits its exam in June AY+1+(11−N). */export function examYear(year){const now=new Date,ay=now.getMonth()>=8?now.getFullYear():now.getFullYear()-1;return year===\"Resit\"?\"Resit\":/^Year \\d+$/.test(year)?String(ay+1+(11-Number(year.slice(5)))):\"\";}/** Subscribe to a list with the standard lead fields, then fire Meta Lead + GA4 generate_lead. Throws on failure. *//** Which funnel version this device is in for the video vs picture A/B test (FunnelBlocks.useFunnelSplit, same key \"mgm_fv\"), written on every sign-up as \"Funnel Version\"\n *  so the home page, blog and lead magnet forms are counted too. A visitor with no version yet is given one now (50/50), so the WhatsApp page they are sent to keeps it. */function funnelTag(){try{let v=localStorage.getItem(\"mgm_fv\");if(v!==\"video\"&&v!==\"picture\"){v=Math.random()<.5?\"video\":\"picture\";localStorage.setItem(\"mgm_fv\",v);}return{\"Funnel Version\":v===\"video\"?\"video\":\"no video\"};}catch{return{};}}export async function subscribeLead(list,a,source,extra={}){const ml=metaLead();const props={...funnelTag(),...leadUtm(),...extra,...a.role?{\"Role\":a.role}:{},...a.year?{\"Year Group At Signup\":a.year,\"Exam Year\":examYear(a.year)}:{},...a.tier?{\"Tier\":a.tier}:{},...a.phone?.trim()?{\"Mobile\":a.phone.trim(),\"WhatsApp OK\":!!a.whatsappOk}:{},\"Website Form\":source,...ml.props};const r=await fetch(`https://a.klaviyo.com/client/subscriptions?company_id=${KLAVIYO_SITE}`,{method:\"POST\",headers:{\"Content-Type\":\"application/vnd.api+json\",revision:\"2024-10-15\"},body:JSON.stringify({data:{type:\"subscription\",attributes:{custom_source:source,profile:{data:{type:\"profile\",attributes:{email:a.email.trim(),...a.firstName?.trim()?{first_name:a.firstName.trim()}:{},properties:props}}}},relationships:{list:{data:{type:\"list\",id:list}}}}})});if(!r.ok)throw new Error(String(r.status));const w=window;// eventID = the one on the profile, so the lead-intake Worker's server copy de-duplicates against it (17 Oct 2026).\nif(typeof w.fbq===\"function\")w.fbq(\"track\",\"Lead\",{content_name:source},{eventID:ml.id});if(typeof w.gtag===\"function\")w.gtag(\"event\",\"generate_lead\",{source});}// The email travels to the bridge page in sessionStorage (same site, this tab only), never in the URL.\nconst KEY=\"mgm_lead_email\";export function rememberEmail(email){try{sessionStorage.setItem(KEY,email.trim());}catch{}}export function recallEmail(){try{return sessionStorage.getItem(KEY)||\"\";}catch{return\"\";}}/** Everything they typed on the magnet form (email, role, year, tier, mobile), kept in sessionStorage so the free lesson sign-up that follows can be ONE tap\n *  (his ask, 24 Oct 2026: \"they have just entered their details to get the other resource\"). Same site, this tab only, never in the URL. */const LEAD_KEY=\"mgm_lead_answers\";export function rememberLead(a){rememberEmail(a.email);try{sessionStorage.setItem(LEAD_KEY,JSON.stringify(a));}catch{}}export function recallLead(){try{const j=JSON.parse(sessionStorage.getItem(LEAD_KEY)||\"null\");return j&&j.email?j:null;}catch{return null;}}/** After a magnet sign-up: remember the email, go to the bridge page, which names the magnet and offers the next step. */export function toBridge(slug,email){rememberEmail(email);window.location.href=`${BRIDGE}?lm=${slug}`;}// ── The magnet pages' words (moved here from LeadMagnet.tsx, 21 Oct, so the free gift page shares them) ──\n// Bullets are the guides' own chapter headings (asset copy v1, 21 Oct): nothing promised that is not inside.\nexport const MAGNET_COPY={\"parents-guide\":{heroDesk:\"https://framerusercontent.com/images/cYfHIKIzIoELH6GyNznnDLOcyc.png\",heroPhone:\"https://framerusercontent.com/images/7XyShcwtbxJ3fqzLmDnyNVY9fo.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Parents'\",\"Guide to\",\"GCSE Maths\"],sub:\"What the grades mean, what your child should be doing each term, and how to help without being a maths teacher.\",items:[\"How GCSE Maths works: the papers and the two tiers\",\"What a 4, a 5 and a 7 really mean\",\"How to tell if your child is on track\",\"How to help at home, and what to ask the school\"],formTitle:\"Get the free guide\",button:\"Send me the guide\",cover:\"https://framerusercontent.com/images/Tf5qGDQtENgMh9KEwuwpdPPYKs.png\",coverAlt:\"The Parents' Guide to GCSE Maths\"},\"how-to-revise\":{heroDesk:\"https://framerusercontent.com/images/nGl4A8NAXSizXOii3rTjIW96bG4.png\",heroPhone:\"https://framerusercontent.com/images/VuKONJTtVMSs69pNRiHmQyOPUII.png\",badge:\"FREE DOWNLOAD\",lines:[\"How to Revise\",\"GCSE Maths\"],sub:\"The method that works: active recall, spaced practice and past papers done properly.\",items:[\"Why rereading your notes doesn't work\",\"Active recall and spaced practice, step by step\",\"Past papers, done properly\",\"A sample revision week for Year 11\"],formTitle:\"Get the free guide\",button:\"Send me the guide\",cover:\"https://framerusercontent.com/images/2kW7FVljZpQm2wpDs1GxliQmE.png\",coverAlt:\"How to Revise GCSE Maths\"},// Copy: build/students-guide/page/[2026-10-22] page copy.md (ENGINE: LEAD MAGS, draft, not yet seen by Matt). Heroes: style A\n// (make_mockups_A.py geometry, v1 pages 1 + 3 + 2), CENTRE: WEBSITE 22 Oct; cover = v1 page 1, 1588×2246.\n\"students-guide\":{heroDesk:\"https://framerusercontent.com/images/oEtECWLFwX8kJE102oSSSZS2HaU.png\",heroPhone:\"https://framerusercontent.com/images/7jWdIB90h9WxNf8fzzeFJIXUiY.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Students'\",\"Guide to\",\"GCSE Maths\"],sub:\"How the exam works, how to get the grade you want, and the habits that get you there.\",items:[\"How the three papers and the two tiers work\",\"The grades that open doors, and how to get yours\",\"Habits that work, and what to do when you're stuck\",\"What to do in the exam room\"],formTitle:\"Get the free guide\",button:\"Send me the guide\",cover:\"https://framerusercontent.com/images/Zk7d4fJX5WUPH8QKTJuSXghaGdg.png\",coverAlt:\"The Students' Guide to GCSE Maths\"},\"rag-sheet\":{heroDesk:\"https://framerusercontent.com/images/2X2mxVLaitJR99txBzOkDJbPgzo.png\",heroPhone:\"https://framerusercontent.com/images/RuZ3m9chmGr2d5YRUQ45caOk9iU.png\",badge:\"FREE DOWNLOAD\",lines:[\"The GCSE Maths\",\"RAG Sheet\"],sub:\"Every topic on one sheet. Rate each one Red, Amber or Green, stick it on the wall and turn the reds green.\",items:[\"Every GCSE Maths topic in one place\",\"Foundation and Higher versions\",\"See at a glance what to revise next\",\"Parents: see exactly where your child is\"],formTitle:\"Get the free RAG Sheet\",button:\"Send me the sheet\",cover:\"https://framerusercontent.com/images/oBHDBdFn046R3Av3syqtW2WtNEE.png\",ratio:1.25,coverAlt:\"The GCSE Maths RAG Sheet\"},// The two trackers on the same pattern (his ask, 21 Oct: \"all five, using the standard lead mag pattern\"). Bullets are\n// the old tracker pages' own four steps; covers are their laptop pictures (landscape, so flat, not tilted).\n\"past-paper-tracker\":{heroDesk:\"https://framerusercontent.com/images/K5hAWFZidnySF1CTX9mpJKKR04.png\",heroPhone:\"https://framerusercontent.com/images/3Te7ZdG6MPzNLIdajZLzUGHOAI.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Past Paper\",\"Tracker\"],sub:\"A printable tracker: log every paper, work out your grade from the boundaries and spot the topics costing you marks. Edexcel and AQA, Higher and Foundation.\",items:[\"Sit each paper properly, under timed conditions\",\"Work out your grade from the grade boundaries\",\"Find your two weakest topics from every paper\",\"Watch your grade climb, paper by paper\"],formTitle:\"Get the free tracker\",button:\"Send me the tracker\",cover:\"https://framerusercontent.com/images/b65QZhujE5JuMtPlGlnXPRobO9A.png?scale-down-to=1024\",coverAlt:\"The Past Paper Tracker open on a laptop\",ratio:.676,flat:true},\"topic-tracker\":{heroDesk:\"https://framerusercontent.com/images/K5xWaAlzFOM9KFfsMfs1xkeAQks.png\",heroPhone:\"https://framerusercontent.com/images/h34eRBp0gdUOMUCkoG4c8TR8Q.png\",badge:\"FREE DOWNLOAD\",lines:[\"The Topic\",\"Tracker\"],sub:\"All 397 GCSE Maths topics on one printable tracker, grade 1 to 9. Tick off each topic as you learn, practise and master it, and colour in your progress.\",items:[\"All 397 topics, organised by grade 1 to 9\",\"Learnt, Practised and Mastered boxes for every topic\",\"A colour-in progress bar for each grade\",\"A how-to page so you know where to start\"],formTitle:\"Get the free tracker\",button:\"Send me the tracker\",cover:\"https://framerusercontent.com/images/OKI04V8O1FyuI3dIF5UjriiJ2U.png?scale-down-to=1024\",coverAlt:\"The Topic Tracker open on a laptop\",ratio:.676,flat:true},// NEW (his ruling, 21 Oct, via ENGINE: LEAD MAGS): replaces the Topic Tracker.\n\"formula-sheet\":{badge:\"FREE DOWNLOAD\",lines:[\"GCSE Maths\",\"Formulas to Remember\"],sub:\"Every formula you need to memorise for GCSE Maths. The ones the exam gives you are left off.\",items:[\"Every formula you have to learn, because the exam doesn't give it to you\",\"Checked against the official formulae sheet and every board's spec\",\"Foundation and Higher versions, Higher-only formulae marked\",\"A quick worked example beside the tricky ones\"],formTitle:\"Get the Formulas to Remember\",button:\"Send me the formulas\",cover:\"\",coverAlt:\"GCSE Maths Formulas to Remember\",heroDesk:\"https://framerusercontent.com/images/DGDyYyycaJHWsUgUF8r8nV7fBs0.png\",heroPhone:\"https://framerusercontent.com/images/38oBsdLEfco1HLK4qYeyhxfM.png\"},// NEW (his ask, 21 Oct): every grade boundary in one printable document (ENGINE: LEAD MAGS). Copy from the site's own boundary pages.\n\"grade-boundaries-sheet\":{badge:\"FREE DOWNLOAD\",lines:[\"GCSE Maths\",\"Grade Boundaries\"],sub:\"Every GCSE Maths grade boundary in one printable document, so you can see the marks you need for your target grade on every paper.\",items:[\"Every series from June 2017\",\"Higher and Foundation, every grade\",\"The marks you need on each paper\",\"Print it and track your target grade\"],formTitle:\"Get the free Grade Boundaries\",button:\"Send me the boundaries\",cover:\"\",coverAlt:\"GCSE Maths Grade Boundaries\",heroDesk:\"https://framerusercontent.com/images/dJpmpLzd3XaSDAMSPUKB3mKjs.png\",heroPhone:\"https://framerusercontent.com/images/heQIwRjq4ulRnUElw1z0UeFo.png\"},\"question-pack-foundation\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Foundation Tier\",\"Workbook\"],sub:\"One exam-style question for every Foundation subtopic (Grades 1 to 5), with full worked solutions at the back. 300 questions, 130 pages.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Foundation Tier workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/foundation-tier.webp\",coverAlt:\"The Ultimate Foundation Tier GCSE Maths Workbook\"},\"question-pack-higher\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Higher Tier\",\"Workbook\"],sub:\"One exam-style question for every Higher subtopic (Grades 1 to 9), with full worked solutions at the back. 400 questions, 174 pages.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Higher Tier workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/higher-tier.webp\",coverAlt:\"The Ultimate Higher Tier GCSE Maths Workbook\"},\"grade-workbook-1\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 1\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 1 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 1 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-1.webp\",coverAlt:\"The Ultimate Grade 1 GCSE Maths Workbook\"},\"grade-workbook-2\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 2\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 2 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 2 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-2.webp\",coverAlt:\"The Ultimate Grade 2 GCSE Maths Workbook\"},\"grade-workbook-3\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 3\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 3 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 3 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-3.webp\",coverAlt:\"The Ultimate Grade 3 GCSE Maths Workbook\"},\"grade-workbook-4\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 4\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 4 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 4 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-4.webp\",coverAlt:\"The Ultimate Grade 4 GCSE Maths Workbook\"},\"grade-workbook-5\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 5\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 5 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 5 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-5.webp\",coverAlt:\"The Ultimate Grade 5 GCSE Maths Workbook\"},\"grade-workbook-6\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 6\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 6 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 6 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-6.webp\",coverAlt:\"The Ultimate Grade 6 GCSE Maths Workbook\"},\"grade-workbook-7\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 7\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 7 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 7 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-7.webp\",coverAlt:\"The Ultimate Grade 7 GCSE Maths Workbook\"},\"grade-workbook-8\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 8\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 8 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 8 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-8.webp\",coverAlt:\"The Ultimate Grade 8 GCSE Maths Workbook\"},\"grade-workbook-9\":{badge:\"FREE DOWNLOAD\",lines:[\"The Ultimate\",\"Grade 9\",\"Workbook\"],sub:\"100 exam-style questions across every Grade 9 subtopic, with full worked solutions at the back.\",items:[\"Questions sized to fit, 2 to 5 a page\",\"Calculator or non-calculator marked on every question\",\"Contents checklist to track every subtopic\",\"Full worked solutions at the back\"],formTitle:\"Get the Grade 9 workbook\",button:\"Send me the workbook\",cover:\"https://files.mygcsemaths.com/site/workbook-covers/grade-9.webp\",coverAlt:\"The Ultimate Grade 9 GCSE Maths Workbook\"}};// ── After a free-lesson sign-up (his ask, 21 Oct 2026) ──\n// Phones → join the free lesson WhatsApp group. Laptops and tablets (most have no WhatsApp) → the free gift page:\n// the Parents' Guide for parents, How to Revise GCSE Maths (the student guide) for students.\nexport const WHATSAPP_GROUP=EVENT.whatsappGroup// the CURRENT lesson's group, from CurrentEvent.tsx. Buttons never link it directly:\n;/** mygcsemaths.com/link/join-next-lesson-whatsapp-group always forwards to the current lesson's WhatsApp group (his design, 21 Oct 2026). Every button,\n *  post, email and bio uses it. ?lm=<magnet> &s=<source> &m=<medium> say where the click came from: the redirect records them\n *  (GA4 + Meta + Clarity events) before forwarding, because WhatsApp drops anything on its own link. */export const NEXT_LESSON_LINK=\"/link/join-next-lesson-whatsapp-group\"// path his choice, 21 Oct\n;export const nextLessonHref=(m,lm=\"\",s=\"website\")=>`${NEXT_LESSON_LINK}?${lm?`lm=${encodeURIComponent(lm)}&`:\"\"}s=${encodeURIComponent(s)}&m=${encodeURIComponent(m)}`;/** The magnets' instant downloads, shown on the thank-you step (his decision, 21 Oct). href \"\" = hosting not decided yet:\n *  the button shows but says the link is coming. RAG has two files; the trackers are xlsx. */export const DOWNLOADS={// Every file is on Cloudflare behind its /link/download-… page (scripts/16-file-links.mjs, 23 Oct 2026); new versions replace the file in place.\n\"parents-guide\":[{label:\"Download the guide (PDF)\",href:\"/link/download-parents-guide\"}],\"how-to-revise\":[{label:\"Download the guide (PDF)\",href:\"/link/download-how-to-revise\"}],\"students-guide\":[{label:\"Download the guide (PDF)\",href:\"/link/download-students-guide\"}],\"rag-sheet\":[],\"past-paper-tracker\":[{label:\"Foundation tracker (PDF)\",href:\"/link/download-past-paper-tracker-foundation\"},{label:\"Higher tracker (PDF)\",href:\"/link/download-past-paper-tracker-higher\"}],\"formula-sheet\":[{label:\"Formulas to Remember: Foundation (PDF)\",href:\"/link/download-formulas-to-remember-foundation\"},{label:\"Formulas to Remember: Higher (PDF)\",href:\"/link/download-formulas-to-remember-higher\"}],\"grade-boundaries-sheet\":[{label:\"Grade Boundaries (PDF)\",href:\"/link/download-grade-boundaries-sheet\"}],\"question-pack-foundation\":[{label:\"Foundation Tier workbook (PDF)\",href:\"/link/download-ultimate-foundation-tier-workbook\"}],\"question-pack-higher\":[{label:\"Higher Tier workbook (PDF)\",href:\"/link/download-ultimate-higher-tier-workbook\"}],\"topic-tracker\":[{label:\"Foundation tracker (PDF)\",href:\"/link/download-topic-tracker-foundation\"},{label:\"Higher tracker (PDF)\",href:\"/link/download-topic-tracker-higher\"}],\"grade-workbook-1\":[{label:\"Grade 1 workbook (PDF)\",href:\"/link/download-ultimate-grade-1-workbook\"}],\"grade-workbook-2\":[{label:\"Grade 2 workbook (PDF)\",href:\"/link/download-ultimate-grade-2-workbook\"}],\"grade-workbook-3\":[{label:\"Grade 3 workbook (PDF)\",href:\"/link/download-ultimate-grade-3-workbook\"}],\"grade-workbook-4\":[{label:\"Grade 4 workbook (PDF)\",href:\"/link/download-ultimate-grade-4-workbook\"}],\"grade-workbook-5\":[{label:\"Grade 5 workbook (PDF)\",href:\"/link/download-ultimate-grade-5-workbook\"}],\"grade-workbook-6\":[{label:\"Grade 6 workbook (PDF)\",href:\"/link/download-ultimate-grade-6-workbook\"}],\"grade-workbook-7\":[{label:\"Grade 7 workbook (PDF)\",href:\"/link/download-ultimate-grade-7-workbook\"}],\"grade-workbook-8\":[{label:\"Grade 8 workbook (PDF)\",href:\"/link/download-ultimate-grade-8-workbook\"}],\"grade-workbook-9\":[{label:\"Grade 9 workbook (PDF)\",href:\"/link/download-ultimate-grade-9-workbook\"}]};/** Bonuses on /resource-offer: OFF (his ruling, 21 Oct ~21:35 UTC, via ENGINE: FREE LESSONS: \"They should only get the money-back\n *  guarantee, etc., and they should get the invite to the next live stream\"). Supersedes the ON relayed by BHC the same evening.\n *  Full price (£59 + free week) + the 30-day guarantee + the next free lesson sign-up on the page. true → the two bonuses. */export const RESOURCE_OFFER_BONUSES=false;export const RESOURCE_OFFER=\"/group-tutoring/lead-mag-special-offer\"// the Group Tutoring page, resource-offer variant (his ask, 21 Oct)\n;/** Laptop/iPad button after a magnet: the resource offer, UTM-tagged per magnet + device so phone vs laptop can be compared. */export const offerHref=(lm,medium=\"thank-you-laptop\")=>`${RESOURCE_OFFER}?lm=${encodeURIComponent(lm)}&utm_source=website&utm_medium=${encodeURIComponent(medium)}&utm_campaign=${encodeURIComponent(\"lead-magnet-\"+lm)}`;/** The WhatsApp step for DIRECT sign-ups, and the one after a lead magnet. One page each, phone and desktop layouts inside (his ruling, 23 Oct 2026 late; was /whatsapp-group-desktop + /whatsapp-group-mobile + the gift page). */export const JOIN_WHATSAPP=\"/webinar/free-lesson/join-whatsapp-group\";export const JOIN_WHATSAPP_AFTER=\"/webinar/free-lesson/join-whatsapp-group-from-resource\";/** True on the two \"after other resource\" pages (read from the address, so one component serves both routes). */export const afterDownload=()=>typeof window!==\"undefined\"&&window.location.pathname.includes(\"after-other-resource\");/** What each resource is called in \"Success! Your … is on its way\". */export const RESOURCE_NAME={\"parents-guide\":\"Parents' Guide\",\"how-to-revise\":\"revision guide\",\"students-guide\":\"Students' Guide\",\"rag-sheet\":\"RAG Sheet\",\"past-paper-tracker\":\"Past Paper Tracker\",\"topic-tracker\":\"Topic Tracker\",\"formula-sheet\":\"Formulas to Remember sheet\",\"grade-boundaries-sheet\":\"Grade Boundaries sheet\",\"question-pack-foundation\":\"Foundation Tier workbook\",\"question-pack-higher\":\"Higher Tier workbook\",\"grade-workbook-1\":\"Grade 1 workbook\",\"grade-workbook-2\":\"Grade 2 workbook\",\"grade-workbook-3\":\"Grade 3 workbook\",\"grade-workbook-4\":\"Grade 4 workbook\",\"grade-workbook-5\":\"Grade 5 workbook\",\"grade-workbook-6\":\"Grade 6 workbook\",\"grade-workbook-7\":\"Grade 7 workbook\",\"grade-workbook-8\":\"Grade 8 workbook\",\"grade-workbook-9\":\"Grade 9 workbook\"};export const GIFT_FOR={parent:\"parents-guide\",student:\"how-to-revise\"};/** On the staging address only (useFeature(\"studentsGuide\")): students get the Students' Guide. The live host keeps GIFT_FOR. 22 Oct 2026. */export const GIFT_FOR_STAGING={parent:\"parents-guide\",student:\"students-guide\"};/** A phone: touch screen and a small screen. iPads count as laptops here (rarely have WhatsApp). */export function isPhone(){if(typeof window===\"undefined\")return false;try{return window.matchMedia(\"(pointer: coarse)\").matches&&Math.min(window.screen.width,window.screen.height)<600;}catch{return false;}}/** After a free-lesson sign-up, on any device: remember the email and go to the WhatsApp step for their role (the direct page, or the post-download one). */export function toGift(role,email,path=JOIN_WHATSAPP){rememberEmail(email);window.location.href=`${path}?for=${role===\"Parent\"?\"parent\":\"student\"}`;}\nexport const __FramerMetadata__ = {\"exports\":{\"toBridge\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JOIN_WHATSAPP_AFTER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"JOIN_WHATSAPP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WHATSAPP_GROUP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DOWNLOADS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"rememberLead\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BRIDGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NEXT_LESSON\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NEXT_LESSON_LINK\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"examYear\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"recallEmail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isPhone\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ALWAYS_LIVE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"afterDownload\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"offerHref\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"nextLessonHref\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESOURCE_OFFER_BONUSES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PageSlug\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELD\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"recallLead\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESOURCE_NAME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"rememberEmail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MAGNETS_LIVE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MAGNETS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WAITLIST_LIST\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"lessonList\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LeadAnswers\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"leadUtm\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GIFT_FOR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribeLead\":{\"type\":\"function\",\"isAsync\":true,\"annotations\":{\"framerContractVersion\":\"1\"}},\"MagnetSlug\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RESOURCE_OFFER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GIFT_FOR_STAGING\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MAGNET_COPY\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toGift\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// EventsConfig: the ONE data file for every event page set on mygcsemaths.com (his structure, 29 Oct 2026, ENGINE: WEBINARS).\n// Pages are drawn by EventFunnel.tsx, in the free lesson's look (/webinar/free-lesson/signup and -with-video, join-whatsapp-group).\n//   exams      /events/<folder>/free-class(-with-video) · /join-whatsapp-group(-with-video) · /night-before-exam-classes · /you-are-in-paper-2|-paper-3|-both\n//   bootcamps  /events/<folder>/signup(-with-video) · /join-whatsapp-group(-with-video)\n// To run an event again: change ITS block here, push EventsConfig (node scripts/_push-code.mjs EventsConfig), Matt publishes. Nothing else changes.\n// Blank values are safe: no date = \"Dates coming soon\"; no group = the join button waits (\"we'll email you the link\"); no video = no video box;\n// no Stripe link = the ticket button waits (\"Tickets open soon\"). Facts only from Matt's words: free bootcamps = 5 days, 1 hour a day, live;\n// night-before classes = 2 hours, 7pm to 9pm, Zoom, £20 each or £30 both, replay included, no refunds. Dates marked \"typical\" are the usual\n// school weeks (his ask, 29 Oct: \"use the typical weeks\"), to be confirmed when each run is set.\nconst GROUP_REASONS_CLASS=[[\"🔗\",\"The class link, in the group when it starts\"],[\"⏰\",\"A reminder before the class, so you don't miss it\"],[\"🔒\",\"Only Matt posts there. No chat, no spam\"]];const GROUP_REASONS_CAMP=[[\"🔗\",\"Each day's link, in the group when it starts\"],[\"⏰\",\"A reminder before each session\"],[\"🔒\",\"Only Matt posts there. No chat, no spam\"]];const CAMP_VIDEO=\"MPAl-2X1a0g\"// the bootcamp preview already used on the May and Easter pages (his pick, 23 Oct)\n;const CAMP_BULLETS=when=>[when||\"Dates coming soon\",\"1 hour a day for 5 days, live with Matt\",\"Free, for Year 9, 10, 11 and resits\"];export const EVENTS={// ── November exams (resits). Live now: free Paper 1 class Tue 3 Nov on YouTube; paid Paper 2 + 3 classes on Zoom.\n\"november-exams\":{folder:\"november-exams\",kind:\"exam\",name:\"November exams night-before classes\",badge:\"FREE LIVE CLASS\",lines:[\"GCSE Maths Resits\",\"Night Before Paper 1\",\"Free Live Class\"],videoLines:[\"GCSE Maths Resits Night Before Paper 1\",\"Free Live Class\"],phoneLines:[\"GCSE Maths Resits\",\"Night Before Paper 1\",\"Free Live Class\"],phoneSize:48,sub:\"For students resitting GCSE Maths in November, and their parents. Live the night before Paper 1.\",dateLabel:\"Tuesday 3rd November\",startUtc:\"2026-11-03T19:00:00Z\",timeLabel:\"7pm to 9pm UK\",audience:\"For students resitting in November\",bullets:[\"Tuesday 3rd Nov, 7pm to 9pm UK\",\"Live with Matt on YouTube, free\",\"The methods that earn the marks\"],list:\"VsGckg\",form:\"board\",groupInvite:\"https://chat.whatsapp.com/C6iMa7fPEGTAQ8MjJ27pHY\",videos:{signup:\"mgm-resits-free-class-invite\",join:\"mgm-resits-join-whatsapp\",tickets:\"mgm-resits-tickets\",booked:\"mgm-resits-booked-both\",replay:\"wJjYUFw6Ydw\",bookedBy:{p2:\"mgm-resits-booked-paper-2\",p3:\"mgm-resits-booked-paper-3\",both:\"mgm-resits-booked-both\"}},reasons:GROUP_REASONS_CLASS,ticketsTitle:[\"GCSE Maths Resits\",\"Paper 2 and Paper 3\",\"Night Before Classes\"],ticketsSub:\"Two live hours with Matt the night before each exam. For students resitting GCSE Maths in November.\",tickets:[{key:\"p2\",title:\"Night Before Paper 2 Class\",dateLabel:\"Thursday 5th November\",startUtc:\"2026-11-05T19:00:00Z\",price:\"\\xa320\",stripe:\"https://buy.stripe.com/dRm7sKgUzacu2CL0d14gg01\"},{key:\"p3\",title:\"Night Before Paper 3 Class\",dateLabel:\"Sunday 8th November\",startUtc:\"2026-11-08T19:00:00Z\",price:\"\\xa320\",stripe:\"https://buy.stripe.com/aFaaEWawbbgyeltgbZ4gg02\"},{key:\"both\",title:\"Both Classes\",dateLabel:\"Paper 2 and Paper 3\",startUtc:\"\",price:\"\\xa330\",stripe:\"https://buy.stripe.com/eVq5kC33JgASdhp1h54gg03\",best:true}],faq:[[\"Which exam boards?\",\"Edexcel and AQA. Their November Paper 2 is on Friday 6th November and Paper 3 on Monday 9th November.\"],[\"What if I can't make it live?\",\"The replay is included with every ticket.\"],[\"How do I join?\",\"We email you the link straight after you pay. Can't find it? Text Matt on WhatsApp and he'll sort it.\"],[\"Can I get a refund?\",\"No, all sales are final.\"],[\"Is there a free class too?\",\"Yes: the Night Before Paper 1 Class on Tuesday 3rd November, 7pm to 9pm, live on YouTube.\"]]},// ── June exams (the main GCSE series). Same structure as November; dates and links set when the 2027 timetable is fixed.\n\"june-exams\":{folder:\"june-exams\",kind:\"exam\",name:\"June exams night-before classes\",badge:\"FREE LIVE CLASS\",lines:[\"GCSE Maths\",\"Night Before Paper 1\",\"Free Live Class\"],videoLines:[\"GCSE Maths Night Before Paper 1\",\"Free Live Class\"],phoneLines:[\"GCSE Maths\",\"Night Before Paper 1\",\"Free Live Class\"],sub:\"For Year 11 students sitting GCSE Maths in the summer, and their parents. Live the night before Paper 1.\",dateLabel:\"\",startUtc:\"\",timeLabel:\"7pm to 9pm UK\",audience:\"For Year 11 and resits\",bullets:[\"The night before Paper 1, 7pm to 9pm UK\",\"Live with Matt on YouTube, free\",\"The methods that earn the marks\"],list:\"Via5z3\",form:\"board\",groupInvite:\"\",videos:{signup:\"\",join:\"\",tickets:\"\",booked:\"\",replay:\"\"},reasons:GROUP_REASONS_CLASS,ticketsTitle:[\"GCSE Maths\",\"Paper 2 and Paper 3\",\"Night Before Classes\"],ticketsSub:\"Two live hours with Matt the night before each exam. For Year 11 students sitting GCSE Maths in the summer.\",tickets:[{key:\"p2\",title:\"Night Before Paper 2 Class\",dateLabel:\"The night before Paper 2\",startUtc:\"\",price:\"\\xa320\",stripe:\"\"},{key:\"p3\",title:\"Night Before Paper 3 Class\",dateLabel:\"The night before Paper 3\",startUtc:\"\",price:\"\\xa320\",stripe:\"\"},{key:\"both\",title:\"Both Classes\",dateLabel:\"Paper 2 and Paper 3\",startUtc:\"\",price:\"\\xa330\",stripe:\"\",best:true}],faq:[[\"Which exam boards?\",\"Edexcel and AQA.\"],[\"What if I can't make it live?\",\"The replay is included with every ticket.\"],[\"How do I join?\",\"We email you the link straight after you pay. Can't find it? Text Matt on WhatsApp and he'll sort it.\"],[\"Can I get a refund?\",\"No, all sales are final.\"]]},// ── The free 5-day bootcamps (1 hour a day, live). Dates are the typical school weeks until each run is set.\n\"february-half-term-bootcamp\":{folder:\"february-half-term-bootcamp\",kind:\"bootcamp\",name:\"February Half Term Bootcamp\",badge:\"FREE 5-DAY BOOTCAMP\",lines:[\"GCSE Maths\",\"February Half Term Bootcamp\"],phoneLines:[\"GCSE Maths February\",\"Half Term Bootcamp\"],sub:\"Five days of live revision with Matt over February half term, ready for your mocks and the run-in to the summer.\",dateLabel:\"Monday 15th to Friday 19th February\",startUtc:\"2027-02-15T17:00:00Z\",timeLabel:\"1 hour a day, live\",audience:\"For Year 9, 10, 11 and resits\",bullets:CAMP_BULLETS(\"Monday 15th to Friday 19th February\"),list:\"WtyUsT\",form:\"year\",groupInvite:\"\",videos:{signup:CAMP_VIDEO,join:\"\",tickets:\"\",booked:\"\",replay:\"\"},reasons:GROUP_REASONS_CAMP},\"easter-bootcamp\":{folder:\"easter-bootcamp\",kind:\"bootcamp\",name:\"Easter Bootcamp\",badge:\"FREE 5-DAY BOOTCAMP\",lines:[\"GCSE Maths\",\"Easter Bootcamp\"],sub:\"Five days of live revision with Matt over the Easter holidays, with the exams just around the corner.\",dateLabel:\"Monday 5th to Friday 9th April\",startUtc:\"2027-04-05T16:00:00Z\",timeLabel:\"1 hour a day, live\",audience:\"For Year 9, 10, 11 and resits\",bullets:CAMP_BULLETS(\"Monday 5th to Friday 9th April\"),list:\"QZDZA4\",form:\"year\",groupInvite:\"\",videos:{signup:CAMP_VIDEO,join:\"\",tickets:\"\",booked:\"\",replay:\"\"},reasons:GROUP_REASONS_CAMP},\"may-half-term-bootcamp\":{folder:\"may-half-term-bootcamp\",kind:\"bootcamp\",name:\"May Half Term Bootcamp\",badge:\"FREE 5-DAY BOOTCAMP\",lines:[\"GCSE Maths\",\"May Half Term Bootcamp\"],phoneLines:[\"GCSE Maths May\",\"Half Term Bootcamp\"],sub:\"Five days of live revision with Matt over May half term, right before the summer exams.\",dateLabel:\"Monday 31st May to Friday 4th June\",startUtc:\"2027-05-31T16:00:00Z\",timeLabel:\"1 hour a day, live\",audience:\"For Year 9, 10, 11 and resits\",bullets:CAMP_BULLETS(\"Monday 31st May to Friday 4th June\"),list:\"YbmxBY\",form:\"year\",groupInvite:\"\",videos:{signup:CAMP_VIDEO,join:\"\",tickets:\"\",booked:\"\",replay:\"\"},reasons:GROUP_REASONS_CAMP},\"back-to-school-bootcamp\":{folder:\"back-to-school-bootcamp\",kind:\"bootcamp\",name:\"Back To School Bootcamp\",badge:\"FREE 5-DAY BOOTCAMP\",lines:[\"GCSE Maths\",\"Back To School Bootcamp\"],sub:\"Five days of live maths with Matt just before the new school year, so you start the year sharp.\",dateLabel:\"Monday 23rd to Friday 27th August\",startUtc:\"2027-08-23T16:00:00Z\",timeLabel:\"1 hour a day, live\",audience:\"For Year 9, 10, 11 and resits\",bullets:CAMP_BULLETS(\"Monday 23rd to Friday 27th August\"),list:\"VKUBuS\",form:\"year\",groupInvite:\"\",videos:{signup:CAMP_VIDEO,join:\"\",tickets:\"\",booked:\"\",replay:\"\"},reasons:GROUP_REASONS_CAMP},// October: its main job is to warm the list for the November exams classes (his words, 29 Oct 2026).\n\"october-half-term-bootcamp\":{folder:\"october-half-term-bootcamp\",kind:\"bootcamp\",name:\"October Half Term Bootcamp\",badge:\"FREE 5-DAY BOOTCAMP\",lines:[\"GCSE Maths\",\"October Half Term Bootcamp\"],phoneLines:[\"GCSE Maths October\",\"Half Term Bootcamp\"],sub:\"Five days of live revision with Matt over October half term. Resitting in November? This is your run-in.\",dateLabel:\"Monday 25th to Friday 29th October\",startUtc:\"2027-10-25T17:00:00Z\",timeLabel:\"1 hour a day, live\",audience:\"For Year 9, 10, 11 and resits\",bullets:CAMP_BULLETS(\"Monday 25th to Friday 29th October\"),list:\"Y6JhgA\",form:\"year\",groupInvite:\"\",videos:{signup:CAMP_VIDEO,join:\"\",tickets:\"\",booked:\"\",replay:\"\"},reasons:GROUP_REASONS_CAMP},\"christmas-bootcamp\":{folder:\"christmas-bootcamp\",kind:\"bootcamp\",name:\"Christmas Bootcamp\",badge:\"FREE 5-DAY BOOTCAMP\",lines:[\"GCSE Maths\",\"Christmas Bootcamp\"],sub:\"Five days of live maths with Matt over the Christmas holidays, ready for January mocks.\",dateLabel:\"\",startUtc:\"\",timeLabel:\"1 hour a day, live\",audience:\"For Year 9, 10, 11 and resits\",bullets:CAMP_BULLETS(\"\"),list:\"XtHeDX\",form:\"year\",groupInvite:\"\",videos:{signup:CAMP_VIDEO,join:\"\",tickets:\"\",booked:\"\",replay:\"\"},reasons:GROUP_REASONS_CAMP}};/** The page addresses of one event (used for the next-step links). */export const eventPaths=e=>{const base=`/events/${e.folder}`;return{signup:e.kind===\"exam\"?`${base}/free-class`:`${base}/signup`,join:`${base}/join-whatsapp-group`,tickets:`${base}/night-before-exam-classes`,replay:`${base}/replay`,booked:t=>`${base}/you-are-in-${t===\"both\"?\"both\":t===\"p2\"?\"paper-2\":\"paper-3\"}`};};/** Waitlist list for an event whose own list is not made yet (Free Lesson · Waitlist, tagged with the event name). */export const FALLBACK_LIST=\"RN7GNN\";\nexport const __FramerMetadata__ = {\"exports\":{\"EVENTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TicketKey\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Ticket\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EventCfg\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"eventPaths\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FALLBACK_LIST\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EventKey\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EventsConfig.map","// EventsQR: generated by scripts/40-event-qr.mjs from EventsConfig.tsx group links. Do not edit by hand.\nexport const EVENT_QR={\"november-exams\":{\"size\":41,\"path\":\"M4 4h7v1h-7zM12 4h2v1h-2zM15 4h2v1h-2zM18 4h1v1h-1zM20 4h3v1h-3zM24 4h1v1h-1zM26 4h2v1h-2zM30 4h7v1h-7zM4 5h1v1h-1zM10 5h1v1h-1zM13 5h2v1h-2zM16 5h1v1h-1zM20 5h2v1h-2zM23 5h4v1h-4zM28 5h1v1h-1zM30 5h1v1h-1zM36 5h1v1h-1zM4 6h1v1h-1zM6 6h3v1h-3zM10 6h1v1h-1zM13 6h3v1h-3zM17 6h1v1h-1zM19 6h2v1h-2zM25 6h1v1h-1zM28 6h1v1h-1zM30 6h1v1h-1zM32 6h3v1h-3zM36 6h1v1h-1zM4 7h1v1h-1zM6 7h3v1h-3zM10 7h1v1h-1zM12 7h2v1h-2zM15 7h2v1h-2zM18 7h1v1h-1zM21 7h2v1h-2zM24 7h1v1h-1zM28 7h1v1h-1zM30 7h1v1h-1zM32 7h3v1h-3zM36 7h1v1h-1zM4 8h1v1h-1zM6 8h3v1h-3zM10 8h1v1h-1zM12 8h1v1h-1zM14 8h1v1h-1zM18 8h1v1h-1zM21 8h4v1h-4zM26 8h3v1h-3zM30 8h1v1h-1zM32 8h3v1h-3zM36 8h1v1h-1zM4 9h1v1h-1zM10 9h1v1h-1zM12 9h1v1h-1zM14 9h1v1h-1zM16 9h2v1h-2zM20 9h2v1h-2zM23 9h1v1h-1zM25 9h2v1h-2zM28 9h1v1h-1zM30 9h1v1h-1zM36 9h1v1h-1zM4 10h7v1h-7zM12 10h1v1h-1zM14 10h1v1h-1zM16 10h1v1h-1zM18 10h1v1h-1zM20 10h1v1h-1zM22 10h1v1h-1zM24 10h1v1h-1zM26 10h1v1h-1zM28 10h1v1h-1zM30 10h7v1h-7zM12 11h2v1h-2zM16 11h1v1h-1zM18 11h4v1h-4zM25 11h1v1h-1zM4 12h1v1h-1zM8 12h1v1h-1zM10 12h4v1h-4zM15 12h2v1h-2zM21 12h1v1h-1zM23 12h1v1h-1zM25 12h2v1h-2zM28 12h6v1h-6zM36 12h1v1h-1zM5 13h2v1h-2zM8 13h1v1h-1zM11 13h1v1h-1zM14 13h7v1h-7zM22 13h1v1h-1zM27 13h3v1h-3zM33 13h2v1h-2zM36 13h1v1h-1zM4 14h1v1h-1zM9 14h5v1h-5zM16 14h1v1h-1zM19 14h3v1h-3zM25 14h3v1h-3zM33 14h1v1h-1zM35 14h1v1h-1zM4 15h1v1h-1zM7 15h3v1h-3zM11 15h3v1h-3zM16 15h1v1h-1zM18 15h1v1h-1zM21 15h2v1h-2zM25 15h5v1h-5zM36 15h1v1h-1zM4 16h1v1h-1zM7 16h2v1h-2zM10 16h1v1h-1zM14 16h2v1h-2zM17 16h2v1h-2zM22 16h3v1h-3zM26 16h1v1h-1zM29 16h3v1h-3zM33 16h1v1h-1zM36 16h1v1h-1zM6 17h1v1h-1zM9 17h1v1h-1zM11 17h4v1h-4zM17 17h1v1h-1zM20 17h1v1h-1zM23 17h1v1h-1zM25 17h1v1h-1zM27 17h2v1h-2zM31 17h1v1h-1zM34 17h1v1h-1zM5 18h1v1h-1zM7 18h1v1h-1zM9 18h3v1h-3zM13 18h1v1h-1zM15 18h3v1h-3zM20 18h1v1h-1zM23 18h1v1h-1zM25 18h3v1h-3zM29 18h2v1h-2zM32 18h2v1h-2zM35 18h1v1h-1zM5 19h2v1h-2zM8 19h2v1h-2zM11 19h2v1h-2zM18 19h1v1h-1zM21 19h6v1h-6zM29 19h4v1h-4zM6 20h3v1h-3zM10 20h1v1h-1zM12 20h1v1h-1zM14 20h1v1h-1zM16 20h6v1h-6zM25 20h3v1h-3zM30 20h1v1h-1zM32 20h1v1h-1zM34 20h2v1h-2zM4 21h2v1h-2zM12 21h1v1h-1zM14 21h1v1h-1zM17 21h3v1h-3zM21 21h2v1h-2zM25 21h1v1h-1zM27 21h1v1h-1zM29 21h1v1h-1zM33 21h3v1h-3zM5 22h1v1h-1zM7 22h2v1h-2zM10 22h3v1h-3zM14 22h1v1h-1zM17 22h3v1h-3zM22 22h1v1h-1zM24 22h5v1h-5zM30 22h2v1h-2zM33 22h1v1h-1zM35 22h1v1h-1zM4 23h1v1h-1zM6 23h2v1h-2zM12 23h2v1h-2zM16 23h2v1h-2zM20 23h1v1h-1zM25 23h3v1h-3zM31 23h1v1h-1zM35 23h2v1h-2zM4 24h1v1h-1zM6 24h2v1h-2zM9 24h4v1h-4zM17 24h1v1h-1zM20 24h1v1h-1zM23 24h1v1h-1zM26 24h1v1h-1zM28 24h1v1h-1zM30 24h1v1h-1zM33 24h1v1h-1zM36 24h1v1h-1zM4 25h1v1h-1zM6 25h1v1h-1zM8 25h2v1h-2zM11 25h1v1h-1zM16 25h1v1h-1zM21 25h4v1h-4zM26 25h1v1h-1zM29 25h3v1h-3zM33 25h3v1h-3zM7 26h1v1h-1zM9 26h2v1h-2zM12 26h1v1h-1zM18 26h2v1h-2zM22 26h1v1h-1zM24 26h4v1h-4zM31 26h2v1h-2zM35 26h1v1h-1zM9 27h1v1h-1zM14 27h4v1h-4zM19 27h4v1h-4zM25 27h1v1h-1zM29 27h2v1h-2zM32 27h1v1h-1zM4 28h3v1h-3zM9 28h4v1h-4zM14 28h1v1h-1zM17 28h1v1h-1zM21 28h1v1h-1zM23 28h10v1h-10zM34 28h3v1h-3zM12 29h2v1h-2zM16 29h2v1h-2zM20 29h1v1h-1zM22 29h1v1h-1zM25 29h2v1h-2zM28 29h1v1h-1zM32 29h1v1h-1zM34 29h1v1h-1zM4 30h7v1h-7zM12 30h4v1h-4zM17 30h1v1h-1zM19 30h1v1h-1zM21 30h1v1h-1zM24 30h3v1h-3zM28 30h1v1h-1zM30 30h1v1h-1zM32 30h2v1h-2zM4 31h1v1h-1zM10 31h1v1h-1zM13 31h1v1h-1zM16 31h2v1h-2zM21 31h3v1h-3zM25 31h1v1h-1zM28 31h1v1h-1zM32 31h1v1h-1zM35 31h1v1h-1zM4 32h1v1h-1zM6 32h3v1h-3zM10 32h1v1h-1zM12 32h1v1h-1zM16 32h2v1h-2zM19 32h1v1h-1zM22 32h3v1h-3zM28 32h6v1h-6zM35 32h2v1h-2zM4 33h1v1h-1zM6 33h3v1h-3zM10 33h1v1h-1zM13 33h1v1h-1zM16 33h1v1h-1zM20 33h2v1h-2zM23 33h1v1h-1zM28 33h1v1h-1zM30 33h5v1h-5zM4 34h1v1h-1zM6 34h3v1h-3zM10 34h1v1h-1zM13 34h1v1h-1zM15 34h1v1h-1zM17 34h1v1h-1zM20 34h4v1h-4zM25 34h1v1h-1zM27 34h2v1h-2zM30 34h3v1h-3zM34 34h1v1h-1zM4 35h1v1h-1zM10 35h1v1h-1zM13 35h3v1h-3zM21 35h10v1h-10zM4 36h7v1h-7zM12 36h2v1h-2zM15 36h3v1h-3zM19 36h1v1h-1zM21 36h2v1h-2zM25 36h4v1h-4zM30 36h1v1h-1zM33 36h2v1h-2zM36 36h1v1h-1z\",\"url\":\"https://chat.whatsapp.com/C6iMa7fPEGTAQ8MjJ27pHY\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"EVENT_QR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EventsQR.map","// EventFunnel: every page of every event page set, drawn in the free lesson's look (his ask, 29 Oct 2026: \"use the webinar free lesson\n// with video as inspiration\"). The data for each event lives in EventsConfig.tsx; each Framer page is a one-line wrapper (Ev*.tsx).\n//   signup     the sign-up. Picture version = FreeLessonSignup's two-column stage; video version = its blue band, one white panel, big video,\n//              date pill beside the ratings, the form underneath. Phones: badge, title, picture or video, three facts, the form.\n//   join       the WhatsApp step after a free sign-up = JoinWhatsApp's layout: green \"spot is secured\" bar, ONE LAST STEP, QR code + button.\n//   tickets    the paid night-before classes (exams only): ticket cards to Stripe, what you get, reviews, questions.\n//   booked     after Stripe: \"you're booked in\", Matt's video, \"we've emailed you the link; can't find it, text me on WhatsApp\". No links to\n//              the class on the page, nothing about how it works behind the scenes (his ruling, 29 Oct 2026).\n// Built by ENGINE: WEBINARS, 29 Oct 2026. Same building blocks as the free lesson pages (SignupStage.tsx, FunnelBlocks.tsx), nothing new in the kit.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{StageStyles,Stage,SuccessBanner,Badge,Host,Bullets,FormCard,Seg,ReviewStrip,Faq,SC,SF,SB,MATT_AVATAR}from\"https://framerusercontent.com/modules/bgFPSHrdYFuZ06WXho84/4nyIi054bpRCkc9AOvvC/SignupStage.js\";import{useOwnWidth,modeOf,VideoSlot,BluePanel,Sec,ReviewsSection,FunnelFooter,useFeature,WHATSAPP_MATT,INK_BLUE,FB_IMG,card,bg3,Tick,imgLoading}from\"https://framerusercontent.com/modules/9VjBziOHWQ7CoKFSIW4E/zV5L3IplEgAx4TIlldnH/FunnelBlocks.js\";import{subscribeLead}from\"https://framerusercontent.com/modules/6k9FuVvDDaTXjo9mOhNl/DJdkoYCk65sLICIqjbts/LeadCapture.js\";import{EVENTS,eventPaths,FALLBACK_LIST}from\"https://framerusercontent.com/modules/dS5LwiQZSHkPhDclEBmZ/K6HBohNyUraOktEoexrn/EventsConfig.js\";import{EVENT_QR}from\"https://framerusercontent.com/modules/qQVbl8dvi32ulrggUgGH/t65MnKuJfTsnor680EJd/EventsQR.js\";const EvERR=\"#d92d20\";const EvLAPTOP=\"https://files.mygcsemaths.com/site/laptop-live-lesson.webp\"// the live lesson on a laptop, as on /webinar/free-lesson/signup\n;const EvMATT_PHONE=\"+44 7985 610211\"// his WhatsApp, also in WHATSAPP_MATT\n;const EvWA_GREEN=\"#128C7E\";const EvNoindex=()=>{React.useEffect(()=>{if(typeof document===\"undefined\")return;const m=document.createElement(\"meta\");m.name=\"robots\";m.content=\"noindex, nofollow\";document.head.appendChild(m);return()=>{m.remove();};},[]);return null;};const EvtileParts=iso=>{const d=new Date(iso);if(!iso||!isFinite(d.getTime()))return{mon:\"\",day:\"\"};return{mon:d.toLocaleDateString(\"en-GB\",{month:\"short\",timeZone:\"Europe/London\"}).toUpperCase(),day:d.toLocaleDateString(\"en-GB\",{day:\"numeric\",timeZone:\"Europe/London\"})};};/** The calendar tile: month in red, day underneath (the free lesson's date pill). No date = \"TBC\". */function EvTile({iso,size=64}){const{mon,day}=EvtileParts(iso);return /*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{flex:\"none\",width:size,borderRadius:12,overflow:\"hidden\",textAlign:\"center\",border:`1px solid ${SC.line}`,background:\"#fff\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{background:\"#d60000\",color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:12,letterSpacing:\".06em\",padding:\"4px 0 2px\"},children:mon||\"DATE\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:day?size*.44:size*.3,lineHeight:1,padding:day?\"6px 0 4px\":\"10px 0 8px\",color:SC.ink},children:day||\"TBC\"})]});}/** Date pill: tile, the date, two facts (as tall as the ratings box beside it). */function EvDatePill({e,big=false}){const facts=[e.timeLabel,e.audience].filter(Boolean);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:big?12:16,height:\"100%\",boxSizing:\"border-box\",background:\"#fff\",borderRadius:18,padding:big?\"14px 14px\":\"14px 18px\",border:`1px solid ${SC.line}`,boxShadow:\"0 16px 40px -28px rgba(14,16,19,.35)\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(EvTile,{iso:e.startUtc,size:big?56:64}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0,flex:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:big?20:22,lineHeight:1.15,color:SC.ink},children:e.dateLabel||\"Dates coming soon\"}),/*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:\"6px 0 0\",padding:0,display:\"grid\",gap:3},children:facts.map(t=>/*#__PURE__*/_jsxs(\"li\",{style:{display:\"flex\",alignItems:\"center\",gap:8,fontFamily:SB,fontSize:16,lineHeight:1.3,color:SC.grey},children:[/*#__PURE__*/_jsx(\"i\",{style:{width:8,height:8,borderRadius:8,background:SC.blue,flex:\"none\",marginTop:1}}),t]},t))})]})]});}// ──────────────────────────────────────────────────────────────── the sign-up form (free class / bootcamp)\nexport function EvSignupForm({e,video,mode,tag=\"\"}){const[email,setEmail]=React.useState(\"\");const[role,setRole]=React.useState(\"\");const[second,setSecond]=React.useState(\"\")// exam board (exams) or year group (bootcamps)\n;const[tier,setTier]=React.useState(\"\");const[phone,setPhone]=React.useState(\"\");const[ok,setOk]=React.useState(false);const[state,setState]=React.useState(\"idle\");const[msg,setMsg]=React.useState(\"\");const[bad,setBad]=React.useState(\"\");const exam=e.form===\"board\";const fail=(field,text)=>{setBad(field);setMsg(text);setState(\"error\");};const fix=(field,set)=>v=>{set(v);if(bad===field){setBad(\"\");setState(\"idle\");}};const next=`${eventPaths(e).join}${video?\"-with-video\":\"\"}`;async function submit(ev){ev.preventDefault();if(!/^\\S+@\\S+\\.\\S+$/.test(email.trim()))return fail(\"email\",\"Please check your email address.\");if(!role)return fail(\"role\",\"Are you a parent or a student? Pick one.\");if(!second)return fail(\"second\",exam?\"Pick the exam board, or Not sure.\":\"Pick a year group.\");if(!tier)return fail(\"tier\",\"Pick a tier (or Not sure).\");if(phone.trim()&&!ok)return fail(\"ok\",\"Tick the box so Matt can message you, or leave the mobile blank.\");setBad(\"\");setState(\"sending\");try{const source=`${e.name} sign-up${video?\" (video)\":\"\"}${tag}`;await subscribeLead(e.list||FALLBACK_LIST,{email,role,year:exam?e.folder===\"november-exams\"?\"Resit\":\"\":second,tier:tier===\"Not sure\"?\"\":tier,phone,whatsappOk:ok},source,{...exam?{\"Exam Board\":second}:{},\"Event\":e.name,\"Funnel Version\":video?\"video\":\"no video\",...e.list?{}:{\"Waitlist For\":e.name}});setState(\"done\");setTimeout(()=>{window.location.href=`${next}?for=${role===\"Parent\"?\"parent\":\"student\"}`;},900);}catch{setMsg(\"Something went wrong. Please try again.\");setState(\"error\");}}const red=f=>bad===f?{borderColor:EvERR,boxShadow:`0 0 0 1px ${EvERR}`}:{};const input={width:\"100%\",boxSizing:\"border-box\",fontFamily:SB,fontSize:16,height:48,padding:\"0 14px\",borderRadius:12,border:`1.5px solid ${SC.line}`,outline:\"none\",color:SC.ink,background:\"#fff\"};const when=e.dateLabel?`${e.dateLabel}, ${e.timeLabel}`:\"\";if(state===\"done\")return /*#__PURE__*/_jsxs(\"div\",{role:\"status\",children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:30,lineHeight:1.05,color:SC.ink},children:\"You're in.\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:16,color:SC.grey,margin:\"8px 0 0\"},children:[when?`See you ${when}. `:\"\",\"We'll email you the link. Not there in 10 minutes? Check your spam folder.\"]}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:16,fontWeight:600,color:SC.ink,margin:\"14px 0 0\"},children:[\"Taking you to the last step… \",/*#__PURE__*/_jsx(\"a\",{href:`${next}?for=${role===\"Parent\"?\"parent\":\"student\"}`,style:{color:SC.blue},children:\"Go now\"})]})]});return /*#__PURE__*/_jsxs(\"form\",{onSubmit:submit,noValidate:true,children:[/*#__PURE__*/_jsx(\"div\",{className:\"ss-card-title\",style:{fontFamily:SF,fontWeight:800,fontSize:26,color:SC.ink,marginBottom:12},children:\"Save your free place\"}),/*#__PURE__*/_jsx(\"input\",{type:\"email\",inputMode:\"email\",autoComplete:\"email\",placeholder:\"Email address\",value:email,onChange:x=>fix(\"email\",setEmail)(x.target.value),className:\"ss-in\",style:{...input,...red(\"email\")},\"aria-label\":\"Email address\",\"aria-invalid\":bad===\"email\"}),/*#__PURE__*/_jsx(Seg,{label:\"I'm a\",options:[\"Parent\",\"Student\"],value:role,onChange:fix(\"role\",setRole),bad:bad===\"role\"}),exam?/*#__PURE__*/_jsx(Seg,{label:\"Exam board\",options:[\"Edexcel\",\"AQA\",\"Other\",\"Not sure\"],value:second,onChange:fix(\"second\",setSecond),bad:bad===\"second\"}):/*#__PURE__*/_jsx(Seg,{label:\"Year group\",options:[\"Year 9\",\"Year 10\",\"Year 11\",\"Resit\"],value:second,onChange:fix(\"second\",setSecond),bad:bad===\"second\"}),/*#__PURE__*/_jsx(Seg,{label:\"Tier\",options:[\"Foundation\",\"Higher\",\"Not sure\"],value:tier,onChange:fix(\"tier\",setTier),bad:bad===\"tier\"}),/*#__PURE__*/_jsx(\"input\",{type:\"tel\",inputMode:\"tel\",autoComplete:\"tel\",placeholder:\"Mobile number (optional)\",value:phone,onChange:x=>setPhone(x.target.value),className:\"ss-in\",style:{...input,marginTop:16},\"aria-label\":\"Mobile number (optional)\"}),phone.trim()?/*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",gap:10,alignItems:\"flex-start\",marginTop:10,fontFamily:SB,fontSize:13,color:bad===\"ok\"?EvERR:SC.grey,lineHeight:1.4,cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:ok,onChange:x=>{setOk(x.target.checked);if(bad===\"ok\"){setBad(\"\");setState(\"idle\");}},style:{width:18,height:18,marginTop:1,accentColor:SC.blue,flex:\"none\"}}),\"Matt can WhatsApp me about this \",e.kind===\"exam\"?\"class\":\"bootcamp\",\".\"]}):null,state===\"error\"?/*#__PURE__*/_jsx(\"div\",{role:\"alert\",style:{fontFamily:SB,fontSize:15,fontWeight:600,color:EvERR,marginTop:12},children:msg}):null,/*#__PURE__*/_jsx(\"button\",{type:\"submit\",className:\"ss-go\",disabled:state===\"sending\",style:{width:\"100%\",marginTop:20,height:52,padding:\"3px 0 0\",borderRadius:12,border:\"none\",background:SC.blue,color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:19,cursor:\"pointer\",opacity:state===\"sending\"?.6:1},children:state===\"sending\"?\"Saving…\":\"Save my free place\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:13,fontWeight:500,color:SC.ink,margin:\"12px 0 0\",lineHeight:1.4,textAlign:\"center\"},children:\"Can't make it live? Register anyway and we'll send you the replay.\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:13,color:SC.grey,margin:\"6px 0 0\",lineHeight:1.45,textAlign:\"center\"},children:[\"We'll email you about this \",e.kind===\"exam\"?\"class\":\"bootcamp\",\" and MyGCSEMaths, and you can unsubscribe any time.\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"/legal/privacy\",style:{color:SC.grey},children:\"Privacy policy\"})]})]});}/** Font size that fits the longest headline line in `width` px (League Spartan 800 averages about 0.47em a character, measured 29 Oct), capped at `max`. */const evFit=(lines,max,width)=>Math.min(max,Math.floor(width/(Math.max(...lines.map(l=>l.length))*.47)));/** A two-line title: line one, a break, line two, sized so the longer line fits `width` (his ask, 29 Oct 2026: every title on two lines).\n *  With `size` (his ask, 2 Nov 2026: as big as possible and still two lines) it starts at `size` and shrinks to the box it is in, measured. */function EvTitle({lines,max,width,align=\"center\",top=14,as=\"h1\",size}){const Tag=as;const ref=React.useRef(null);const[fit,setFit]=React.useState(size||0);React.useLayoutEffect(()=>{const el=ref.current;if(!size||!el)return;const run=()=>{el.style.fontSize=size+\"px\";const f=el.scrollWidth>el.clientWidth?Math.floor(size*el.clientWidth/el.scrollWidth):size;el.style.fontSize=f+\"px\";setFit(f);};run();document.fonts?.ready.then(run);window.addEventListener(\"resize\",run);return()=>window.removeEventListener(\"resize\",run);},[size,lines.join(\"|\")]);return /*#__PURE__*/_jsx(Tag,{ref:ref,style:{fontFamily:SF,fontWeight:800,fontSize:size?fit:evFit(lines,max,width),lineHeight:1.06,margin:`${top}px 0 0`,color:SC.ink,textAlign:align,whiteSpace:size?\"nowrap\":undefined},children:lines.map((l,i)=>/*#__PURE__*/_jsxs(React.Fragment,{children:[i?/*#__PURE__*/_jsx(\"br\",{}):null,l]},i))});}// ──────────────────────────────────────────────────────────────── 1. sign-up page\nfunction EvSignupPage({e,mode,video}){const wide=mode===\"wide\",phone=mode===\"phone\";const ph=useFeature(\"videoPlaceholders\")// staging only: show the empty video box so the layout can be judged\n;const showVideo=video&&(!!e.videos.signup||ph);const title=e.lines.join(\" \");const pic=maxW=>/*#__PURE__*/_jsx(\"img\",{src:EvLAPTOP.replace(\".webp\",\"-520.webp\"),srcSet:`${EvLAPTOP.replace(\".webp\",\"-520.webp\")} 520w, ${EvLAPTOP} 1000w`,sizes:\"(max-width: 600px) 460px, 560px\",alt:\"Matt teaching a live GCSE Maths lesson on a laptop\",width:1e3,height:599,fetchPriority:\"high\",style:{display:\"block\",width:\"100%\",maxWidth:maxW,height:\"auto\",margin:\"4px auto 0\"}});const form=/*#__PURE__*/_jsx(FormCard,{mode:mode,children:/*#__PURE__*/_jsx(EvSignupForm,{e:e,video:video,mode:mode})});if(video&&!phone){// laptop and iPad, video version: the free lesson's -with-video layout\nconst W=wide?840:700;return /*#__PURE__*/_jsxs(BluePanel,{mode:mode,max:1100,children:[/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\"},children:/*#__PURE__*/_jsx(Badge,{mode:mode,label:e.badge,small:false})}),/*#__PURE__*/_jsx(EvTitle,{lines:wide&&e.videoLines?e.videoLines:e.lines,max:wide?64:54,width:wide?900:660}),showVideo?/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:W,margin:`${wide?24:20}px auto 0`},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:e.videos.signup||undefined,title:`Matt on the ${e.kind===\"exam\"?\"free class\":\"bootcamp\"}`})}):null,/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"minmax(0, 1fr) minmax(0, 1fr)\",gap:24,alignItems:\"stretch\",maxWidth:W,margin:\"24px auto 0\"},children:[/*#__PURE__*/_jsx(EvDatePill,{e:e,big:!wide}),/*#__PURE__*/_jsx(ReviewStrip,{mode:mode,style:{height:\"100%\",boxSizing:\"border-box\",marginTop:0}})]}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:W,margin:\"24px auto 0\"},children:form})]});}// phones (both versions) and the picture version on laptop/iPad: the free lesson's stage\nconst left=phone&&e.kind===\"exam\"?// exam events on phones (his ask, 3 Nov 2026): centred like the replay page, badge 20% bigger, the picture as wide as the replay video, bullets on one line each\n/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:e.badge,small:true,dot:true,size:18}),/*#__PURE__*/_jsx(EvTitle,{lines:e.phoneLines||e.lines,max:34,width:330,top:12}),showVideo?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:14},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:e.videos.signup||undefined,title:\"Matt on the free class\"})}):/*#__PURE__*/_jsx(\"div\",{style:{marginTop:10},children:pic(560)}),/*#__PURE__*/_jsx(Bullets,{mode:mode,items:e.bullets,size:18})]}):phone?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:e.badge,small:true,dot:true}),/*#__PURE__*/_jsx(EvTitle,{lines:e.phoneLines||e.lines,size:e.phoneSize||48,max:32,width:330,align:\"left\",top:12}),showVideo?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:12},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:e.videos.signup||undefined,title:`Matt on the ${e.kind===\"exam\"?\"free class\":\"bootcamp\"}`})}):pic(230),/*#__PURE__*/_jsx(Bullets,{mode:mode,items:e.bullets})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:e.badge}),/*#__PURE__*/_jsx(EvTitle,{lines:e.lines,max:wide?76:68,width:wide?560:680,align:\"left\",top:16}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?20:18,lineHeight:1.5,color:SC.grey,margin:\"14px 0 0\",maxWidth:520},children:e.sub}),/*#__PURE__*/_jsx(Host,{mode:mode,avatar:MATT_AVATAR}),/*#__PURE__*/_jsx(Bullets,{mode:mode,items:e.bullets}),wide?/*#__PURE__*/_jsx(ReviewStrip,{mode:mode,style:{marginTop:28,maxWidth:460}}):null]});const right=/*#__PURE__*/_jsxs(_Fragment,{children:[form,wide?null:/*#__PURE__*/_jsx(ReviewStrip,{mode:mode})]});return /*#__PURE__*/_jsx(Stage,{mode:mode,left:left,right:right});}// ──────────────────────────────────────────────────────────────── 2. WhatsApp step\nconst EvWA_ICON=/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",style:{marginTop:-2,flex:\"none\"},children:/*#__PURE__*/_jsx(\"path\",{fill:\"#fff\",d:\"M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2c-1.6 0-3.1-.4-4.4-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3c-.2.3-.9.9-.9 2.2s.9 2.5 1 2.7c.1.2 1.8 2.8 4.4 3.9 1.6.7 2.3.8 3.1.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3Z\"})});const EvPill=({label=\"ONE LAST STEP\",big=false})=>/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",fontFamily:SF,fontWeight:800,fontSize:big?20:17,letterSpacing:\".06em\",color:\"#fff\",background:EvWA_GREEN,borderRadius:big?10:8,padding:big?\"11px 17px 6px\":\"9px 14px 5px\"},children:label});function EvReasons({items,size}){return /*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:0,padding:0,display:\"grid\",gap:12},children:items.map(([icon,text])=>/*#__PURE__*/_jsxs(\"li\",{style:{display:\"flex\",gap:12,alignItems:\"flex-start\",fontFamily:SB,fontSize:size,lineHeight:1.45,color:SC.ink},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{flex:\"none\",width:34,height:34,borderRadius:34,background:\"#e7f8ee\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:17},children:icon}),/*#__PURE__*/_jsx(\"span\",{style:{paddingTop:5},children:text})]},text))});}function EvJoinButton({href,height,top=22}){if(!href)return /*#__PURE__*/_jsxs(\"div\",{style:{marginTop:top},children:[/*#__PURE__*/_jsxs(\"div\",{\"aria-disabled\":\"true\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:10,minHeight:height,padding:\"6px 26px 3px\",borderRadius:12,background:\"#b8c0cc\",color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:20},children:[EvWA_ICON,\"Join the WhatsApp group\"]}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:14,color:SC.grey,textAlign:\"center\",margin:\"10px 0 0\"},children:\"The group opens nearer the time. We'll email you the link.\"})]});return /*#__PURE__*/_jsxs(\"a\",{href:href,target:\"_blank\",rel:\"noopener\",onClick:()=>{try{window.gtag?.(\"event\",\"whatsapp_join_click\",{page_path:window.location.pathname});}catch{}},style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:10,minHeight:height,marginTop:top,padding:\"6px 26px 3px\",borderRadius:12,background:EvWA_GREEN,color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:20,textDecoration:\"none\"},children:[EvWA_ICON,\"Join the WhatsApp group\"]});}function EvQr({folder,px}){const q=EVENT_QR[folder];if(!q)return null;return /*#__PURE__*/_jsx(\"div\",{style:{background:\"#fff\",borderRadius:16,border:`1px solid ${SC.line}`,padding:8,flex:\"none\"},children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:`0 0 ${q.size} ${q.size}`,width:px,height:px,role:\"img\",\"aria-label\":\"QR code: scan with your phone to join the WhatsApp group\",shapeRendering:\"crispEdges\",style:{display:\"block\"},children:[/*#__PURE__*/_jsx(\"rect\",{width:q.size,height:q.size,fill:\"#fff\"}),/*#__PURE__*/_jsx(\"path\",{d:q.path,fill:\"#0e1013\"})]})});}function EvJoinPage({e,mode,video}){const wide=mode===\"wide\",phone=mode===\"phone\";const ph=useFeature(\"videoPlaceholders\");const showVideo=video&&(!!e.videos.join||ph);const href=e.groupInvite;const hasQr=!!href&&!!EVENT_QR[e.folder];const title=size=>/*#__PURE__*/_jsx(\"h1\",{style:{fontFamily:SF,fontWeight:800,fontSize:size,lineHeight:1.05,margin:\"14px 0 0\",color:SC.ink,textAlign:\"center\",textWrap:\"balance\"},children:\"Join the WhatsApp group\"});const scan=size=>/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:size,lineHeight:1.12,margin:0,color:SC.ink,textAlign:\"center\"},children:\"Scan the QR code with your phone camera to join the group\"});const pic=/*#__PURE__*/_jsx(\"img\",{src:EvLAPTOP.replace(\".webp\",\"-520.webp\"),srcSet:`${EvLAPTOP.replace(\".webp\",\"-520.webp\")} 520w, ${EvLAPTOP} 1000w`,sizes:\"(max-width: 600px) 460px, 560px\",alt:\"Matt teaching a live GCSE Maths lesson on a laptop\",width:1e3,height:599,style:{display:\"block\",width:\"100%\",maxWidth:440,height:\"auto\",margin:\"0 auto\"}});let content;if(phone){content=/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(EvPill,{}),title(34),showVideo?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:18},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:e.videos.join||undefined,title:\"Why join the WhatsApp group\"})}):video?null:/*#__PURE__*/_jsx(\"div\",{style:{marginTop:16},children:pic}),/*#__PURE__*/_jsx(EvJoinButton,{href:href,height:60,top:20}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:22,textAlign:\"left\"},children:/*#__PURE__*/_jsx(EvReasons,{items:e.reasons,size:17})})]});}else if(video){content=/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(EvPill,{big:true}),title(wide?56:46),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?21:18,lineHeight:1.5,color:SC.ink,margin:\"12px auto 0\",maxWidth:640},children:\"Watch Matt on why it's worth joining, then join in one tap.\"}),showVideo?/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:800,margin:`${wide?26:20}px auto 0`},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:e.videos.join||undefined,title:\"Matt on why to join the WhatsApp group\"})}):null,/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:wide?28:22,border:`2px solid ${EvWA_GREEN}`,borderRadius:20,padding:wide?\"28px 36px\":\"24px 22px\",maxWidth:wide?640:undefined,marginInline:\"auto\"},children:[hasQr?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:460,margin:\"0 auto\"},children:scan(wide?24:22)}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",marginTop:14},children:/*#__PURE__*/_jsx(EvQr,{folder:e.folder,px:wide?220:230})})]}):null,/*#__PURE__*/_jsx(EvJoinButton,{href:href,height:56,top:hasQr?20:0}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:20,textAlign:\"left\",maxWidth:520,marginInline:\"auto\"},children:/*#__PURE__*/_jsx(EvReasons,{items:e.reasons,size:wide?18:17})})]})]});}else{content=/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:560,margin:\"0 auto\",textAlign:\"center\"},children:[/*#__PURE__*/_jsx(EvPill,{big:true}),title(wide?46:42),hasQr?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",marginTop:22},children:/*#__PURE__*/_jsx(EvQr,{folder:e.folder,px:wide?230:250})}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:420,margin:\"14px auto 0\"},children:scan(22)})]}):/*#__PURE__*/_jsx(\"div\",{style:{marginTop:18},children:pic}),/*#__PURE__*/_jsx(EvJoinButton,{href:href,height:56,top:22}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:22,textAlign:\"left\",maxWidth:520,marginInline:\"auto\"},children:/*#__PURE__*/_jsx(EvReasons,{items:e.reasons,size:wide?18:17})})]});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(EvNoindex,{}),/*#__PURE__*/_jsx(SuccessBanner,{mode:mode,title:/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},children:\"Nice, your spot is secured\"})}),/*#__PURE__*/_jsx(BluePanel,{mode:mode,max:video?1e3:700,tight:!video,children:content}),/*#__PURE__*/_jsx(FunnelFooter,{mode:mode})]});}// ──────────────────────────────────────────────────────────────── 3. tickets (paid night-before classes): the Group Tutoring page's design\n// (his ask, 29 Oct 2026: \"use the group tutoring sales page as inspiration\"): one white hero panel on the blue band (blue pill, big title, the\n// price line, the video, ONE button, the ratings), \"Everything you get\" (tick card + the live class on a laptop), the classes as day cards with\n// the buy buttons, the price beside a private tutor's, reviews on a blue band, questions, and a last call.\nfunction EvTicketCard({t,mode}){const off=!t.stripe;const wide=mode===\"wide\";return /*#__PURE__*/_jsxs(\"div\",{style:{...card,position:\"relative\",display:\"flex\",flexDirection:\"column\",textAlign:\"center\",padding:wide?\"26px 22px 22px\":\"22px 18px 18px\",...t.best?{border:`2.5px solid ${SC.blue}`}:{}},children:[t.best?/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:-15,left:\"50%\",transform:\"translateX(-50%)\",background:SC.blue,color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:14,letterSpacing:\".05em\",padding:\"7px 12px 4px\",borderRadius:99,whiteSpace:\"nowrap\"},children:\"BEST VALUE\"}):null,/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?26:25,color:SC.ink},children:t.title}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:700,fontSize:wide?19:18,color:INK_BLUE,marginTop:4},children:t.dateLabel}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,fontSize:16,color:SC.grey,marginTop:4},children:t.key===\"both\"?\"Two classes, 7pm to 9pm UK\":\"7pm to 9pm UK\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?52:48,lineHeight:1,color:SC.ink,margin:\"16px 0 0\"},children:t.price}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1}}),off?/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:16},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-disabled\":\"true\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:54,borderRadius:12,background:\"#b8c0cc\",color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:19,padding:\"3px 0 0\"},children:\"Get my ticket\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:14,color:SC.grey,margin:\"8px 0 0\"},children:\"Tickets open soon.\"})]}):/*#__PURE__*/_jsx(\"a\",{href:t.stripe,onClick:()=>{try{window.gtag?.(\"event\",\"begin_checkout\",{item:t.key,page_path:window.location.pathname});}catch{}},className:\"ss-go\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:54,marginTop:16,borderRadius:12,background:SC.blue,color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:19,textDecoration:\"none\",padding:\"3px 0 0\"},children:t.key===\"both\"?\"Get both tickets\":\"Get my ticket\"})]});}/** The three tickets + the price comparison: on the sales page and under the free class replay. */function EvTicketsBlock({e,mode}){const wide=mode===\"wide\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{id:\"tickets\",style:{display:\"grid\",gridTemplateColumns:wide?\"repeat(3, minmax(0, 1fr))\":\"1fr\",gap:wide?18:22,alignItems:\"stretch\"},children:(e.tickets||[]).map(t=>/*#__PURE__*/_jsx(EvTicketCard,{t:t,mode:mode},t.key))}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:wide?\"1fr 1fr\":\"1fr\",gap:14,maxWidth:700,margin:`${wide?28:22}px auto 0`},children:[/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#f4f6f9\",border:`1px solid ${SC.line}`,borderRadius:18,padding:\"16px 18px\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,fontSize:14,fontWeight:600,color:SC.grey},children:\"A private tutor the night before\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:22,color:SC.grey,marginTop:2},children:\"\\xa380 to \\xa3120\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,fontSize:14,color:SC.grey,marginTop:2},children:\"two hours at \\xa340 to \\xa360 an hour\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#fff\",border:`2px solid ${SC.blue}`,borderRadius:18,padding:\"16px 18px\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,fontSize:14,fontWeight:600,color:INK_BLUE},children:\"A night-before class with Matt\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:22,color:SC.ink,marginTop:2},children:\"\\xa320\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,fontSize:14,color:SC.grey,marginTop:2},children:\"two hours, live, replay included\"})]})]}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?24:20,color:SC.ink,textAlign:\"center\",margin:`${wide?26:20}px 0 0`},children:\"\\xa320 a class \\xb7 \\xa330 for both \\xb7 replay included\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:15,color:SC.grey,textAlign:\"center\",margin:\"8px 0 0\"},children:\"Secure checkout. Tickets can be bought any time. No refunds.\"})]});}const EvGET=[[\"Two live hours with Matt\",\"The night before the exam, 7pm to 9pm UK\"],[\"The methods that earn the marks\",\"The questions that come up, worked through step by step\"],[\"A last-night checklist\",\"What to check, what to bring, what to do first in the exam\"],[\"Your questions answered\",\"Ask anything in the chat as we go\"],[\"The replay\",\"Watch it again, or catch up if you can't make it live\"]];const EvBigButton=({href,label,mode})=>/*#__PURE__*/_jsx(\"a\",{href:href,className:\"ss-go\",style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:mode===\"wide\"?62:56,padding:\"4px 34px 0\",borderRadius:14,background:SC.blue,color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:mode===\"wide\"?23:20,textDecoration:\"none\",boxShadow:\"0 14px 30px -14px rgba(0,152,255,.7)\"},children:label});/** The questions + \"See you the night before\" last call: the bottom of the sales page and of the free class replay (his ask, 29 Oct 2026). */function EvTicketsEnd({e,mode}){const wide=mode===\"wide\";return /*#__PURE__*/_jsxs(_Fragment,{children:[e.faq?/*#__PURE__*/_jsxs(Sec,{mode:mode,children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?46:32,lineHeight:1.08,margin:\"0 0 18px\",color:SC.ink,textAlign:\"center\"},children:\"Questions\"}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:760,margin:\"0 auto\"},children:/*#__PURE__*/_jsx(Faq,{mode:mode,items:e.faq})})]}):null,/*#__PURE__*/_jsx(Sec,{mode:mode,top:wide?64:44,children:/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?46:32,lineHeight:1.08,margin:0,color:SC.ink},children:\"See you the night before\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?20:17,color:SC.grey,margin:\"10px 0 0\"},children:\"\\xa320 a class, \\xa330 for both. Replay included.\"}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:22},children:/*#__PURE__*/_jsx(EvBigButton,{href:\"#tickets\",label:\"Get your tickets\",mode:mode})}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:22,display:\"flex\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(Host,{mode:mode,avatar:MATT_AVATAR})})]})})]});}function EvTicketsPage({e,mode}){const wide=mode===\"wide\",phone=mode===\"phone\";const ph=useFeature(\"videoPlaceholders\");const vid=e.videos.tickets;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"section\",{style:{...bg3(mode),padding:wide?\"40px 40px 56px\":mode===\"tab\"?\"32px 24px 44px\":\"22px 16px 34px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:wide?1080:620,margin:\"0 auto\",background:\"#fff\",borderRadius:wide?40:32,padding:wide?\"48px 64px\":mode===\"tab\"?\"36px 32px\":\"22px 16px 24px\",boxShadow:\"0 30px 80px -50px rgba(30,80,140,.35)\",textAlign:\"center\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"NIGHT BEFORE EXAM CLASSES\",tone:\"blue\",dot:false,size:phone?20:24}),/*#__PURE__*/_jsx(EvTitle,{lines:e.ticketsTitle||[\"GCSE Maths\",\"Night-Before Exam Classes\"],max:wide?62:mode===\"tab\"?50:34,width:wide?940:mode===\"tab\"?680:330,top:16}),vid||ph?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:wide?28:20},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:vid||undefined,title:\"Matt on the night-before classes\"})}):null,/*#__PURE__*/_jsx(\"div\",{style:{marginTop:wide?28:20},children:/*#__PURE__*/_jsx(EvBigButton,{href:\"#tickets\",label:\"Get your tickets\",mode:mode})}),/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:460,margin:\"18px auto 0\"},children:/*#__PURE__*/_jsx(ReviewStrip,{mode:mode})})]})}),/*#__PURE__*/_jsxs(Sec,{mode:mode,children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?46:32,lineHeight:1.08,margin:0,color:SC.ink,textAlign:\"center\"},children:\"Everything you get\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:wide?\"3fr 2fr\":\"1fr\",gap:wide?32:20,alignItems:\"center\",marginTop:wide?36:22},children:[/*#__PURE__*/_jsx(\"ul\",{style:{...card,listStyle:\"none\",margin:0,padding:wide?\"32px 34px\":\"24px 20px\",display:\"grid\",gap:wide?24:20},children:EvGET.map(([h,t])=>/*#__PURE__*/_jsxs(\"li\",{style:{display:\"flex\",gap:14},children:[/*#__PURE__*/_jsx(Tick,{size:wide?28:24}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?25:22,lineHeight:1.2,color:SC.ink},children:h}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SB,fontSize:wide?18:16,color:SC.grey,marginTop:4},children:t})]})]},h))}),/*#__PURE__*/_jsx(\"img\",{loading:imgLoading(),decoding:\"async\",src:`${FB_IMG.laptop}?scale-down-to=1024`,alt:\"A live class with Matt on a laptop\",style:{width:\"100%\",maxWidth:wide?\"none\":440,height:\"auto\",display:\"block\",margin:\"0 auto\"}})]})]}),/*#__PURE__*/_jsxs(Sec,{mode:mode,top:wide?64:44,children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?46:32,lineHeight:1.08,margin:`0 0 ${wide?30:22}px`,color:SC.ink,textAlign:\"center\"},children:\"Choose your classes\"}),/*#__PURE__*/_jsx(EvTicketsBlock,{e:e,mode:mode})]}),/*#__PURE__*/_jsx(ReviewsSection,{mode:mode,blue:true,count:wide?6:3}),/*#__PURE__*/_jsx(EvTicketsEnd,{e:e,mode:mode}),/*#__PURE__*/_jsx(FunnelFooter,{mode:mode})]});}// ──────────────────────────────────────────────────────────────── 3b. replay (free events): the recording, then the next step\nfunction EvReplayPage({e,mode}){const wide=mode===\"wide\",phone=mode===\"phone\";const ph=useFeature(\"videoPlaceholders\");const vid=e.videos.replay;const exam=e.kind===\"exam\";// Exam events (his ask, 3 Nov 2026): the sales video on top with two buttons (tickets / the replay), then the replay in its own\n// section, then the ticket cards, reviews and the last call. Bootcamps keep the replay-first layout below.\nif(exam&&e.tickets){const outline={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",minHeight:wide?62:56,padding:\"4px 30px 0\",borderRadius:14,background:\"#fff\",color:SC.blue,border:`2px solid ${SC.blue}`,fontFamily:SF,fontWeight:700,fontSize:wide?23:20,textDecoration:\"none\"};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(BluePanel,{mode:mode,max:1100,children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:phone?/*#__PURE__*/_jsxs(_Fragment,{children:[\"PAPER 1 DONE\",/*#__PURE__*/_jsx(\"br\",{}),\"PAPERS 2 AND 3 NEXT\"]}):\"PAPER 1 DONE \\xb7 PAPERS 2 AND 3 NEXT\",dot:false,size:phone?20:24}),/*#__PURE__*/_jsx(EvTitle,{lines:e.ticketsTitle||e.lines,max:wide?60:mode===\"tab\"?50:34,width:wide?940:mode===\"tab\"?680:330})]}),e.videos.tickets||ph?/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:wide?900:700,margin:`${wide?26:20}px auto 0`},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:e.videos.tickets||undefined,title:\"Matt on the night before classes\"})}):null,/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:phone?\"column\":\"row\",gap:phone?12:16,justifyContent:\"center\",alignItems:\"stretch\",maxWidth:phone?420:900,margin:`${wide?26:20}px auto 0`},children:[/*#__PURE__*/_jsx(EvBigButton,{href:\"#tickets\",label:\"Get Paper 2 & 3 tickets\",mode:mode}),/*#__PURE__*/_jsx(\"a\",{href:\"#replay\",style:outline,children:\"Watch the Paper 1 replay\"})]})]}),/*#__PURE__*/_jsxs(Sec,{mode:mode,top:wide?64:44,id:\"replay\",children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",marginBottom:wide?26:18},children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"THE REPLAY\",tone:\"blue\",dot:false,size:phone?20:24}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?44:30,lineHeight:1.08,margin:\"14px 0 0\",color:SC.ink},children:\"Night Before Paper 1 Class\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?19:17,color:SC.grey,margin:\"10px auto 0\",maxWidth:620},children:\"Pause before each question, have a go yourself, then watch how I set it out.\"})]}),vid||ph?/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:wide?900:700,margin:\"0 auto\"},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:vid||undefined,title:\"The Paper 1 replay\",note:\"The replay goes up here after the live\"})}):/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:640,margin:\"0 auto\",padding:\"22px 20px\",borderRadius:18,background:SC.sky,textAlign:\"center\",fontFamily:SB,fontSize:17,color:SC.ink},children:\"The replay goes up here after the live.\"})]}),/*#__PURE__*/_jsxs(Sec,{mode:mode,top:wide?64:44,children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",marginBottom:wide?30:22},children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"NIGHT BEFORE EXAM CLASSES\",tone:\"blue\",dot:false,size:phone?20:24}),/*#__PURE__*/_jsx(EvTitle,{as:\"h2\",lines:e.ticketsTitle||[],max:wide?46:32,width:wide?900:330}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?20:17,color:SC.grey,margin:\"10px auto 0\",maxWidth:640},children:e.ticketsSub})]}),/*#__PURE__*/_jsx(EvTicketsBlock,{e:e,mode:mode})]}),/*#__PURE__*/_jsx(ReviewsSection,{mode:mode,blue:true,count:wide?6:3}),/*#__PURE__*/_jsx(EvTicketsEnd,{e:e,mode:mode}),/*#__PURE__*/_jsx(FunnelFooter,{mode:mode})]});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(BluePanel,{mode:mode,max:1100,children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"THE REPLAY\",small:phone,dot:false}),/*#__PURE__*/_jsx(EvTitle,{lines:phone&&e.phoneLines?e.phoneLines:e.lines,size:phone?e.phoneSize||48:undefined,max:wide?60:mode===\"tab\"?50:32,width:wide?900:mode===\"tab\"?660:330}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?20:17,lineHeight:1.5,color:SC.grey,margin:\"12px auto 0\",maxWidth:640},children:\"Missed it live, or want to go through it again? Here it is.\"})]}),vid||ph?/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:wide?900:700,margin:`${wide?26:20}px auto 0`},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:vid||undefined,title:\"The replay\",note:\"The replay goes up here after the live\"})}):/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:640,margin:\"22px auto 0\",padding:\"22px 20px\",borderRadius:18,background:SC.sky,textAlign:\"center\",fontFamily:SB,fontSize:17,color:SC.ink},children:\"The replay goes up here after the live. We'll email you when it's ready.\"})]}),exam&&e.tickets?/*#__PURE__*/_jsxs(Sec,{mode:mode,top:wide?64:44,children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",marginBottom:wide?30:22},children:[/*#__PURE__*/_jsx(Badge,{mode:mode,label:\"NIGHT BEFORE EXAM CLASSES\",tone:\"blue\",small:true,dot:false}),/*#__PURE__*/_jsx(EvTitle,{as:\"h2\",lines:e.ticketsTitle||[],max:wide?46:32,width:wide?900:330}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?20:17,color:SC.grey,margin:\"10px auto 0\",maxWidth:640},children:e.ticketsSub})]}),/*#__PURE__*/_jsx(EvTicketsBlock,{e:e,mode:mode})]}):/*#__PURE__*/_jsx(Sec,{mode:mode,top:wide?64:44,children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:560,margin:\"0 auto\",textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?40:28,lineHeight:1.1,margin:0,color:SC.ink},children:\"Get each day's link\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:wide?19:17,color:SC.grey,margin:\"10px 0 0\"},children:\"Join the WhatsApp group: the link goes in there when each session starts.\"}),/*#__PURE__*/_jsx(EvJoinButton,{href:e.groupInvite,height:56,top:20})]})}),/*#__PURE__*/_jsx(ReviewsSection,{mode:mode,blue:true,count:wide?6:3}),exam&&e.tickets?/*#__PURE__*/_jsx(EvTicketsEnd,{e:e,mode:mode}):null,/*#__PURE__*/_jsx(FunnelFooter,{mode:mode})]});}// ──────────────────────────────────────────────────────────────── 4. after Stripe: you're booked in\nfunction EvBookedPage({e,mode,ticket}){const wide=mode===\"wide\",phone=mode===\"phone\";const ph=useFeature(\"videoPlaceholders\");const all=e.tickets||[];const bought=ticket===\"both\"?all.filter(t=>t.key!==\"both\"):all.filter(t=>t.key===ticket);const what=ticket===\"both\"?\"Paper 2 and Paper 3 classes\":`${bought[0]?.title||\"class\"}`;const waText=encodeURIComponent(`Hi Matt, I've booked the ${what} and can't find the link`);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(EvNoindex,{}),/*#__PURE__*/_jsx(SuccessBanner,{mode:mode,title:/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},children:\"Payment done, you're booked in\"})}),/*#__PURE__*/_jsxs(BluePanel,{mode:mode,max:860,tight:true,children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"h1\",{style:{fontFamily:SF,fontWeight:800,fontSize:wide?56:phone?36:46,lineHeight:1.05,margin:0,color:SC.ink},children:\"You're all set\"}),/*#__PURE__*/_jsxs(\"p\",{style:{fontFamily:SB,fontSize:wide?21:18,lineHeight:1.5,color:SC.ink,margin:\"12px auto 0\",maxWidth:600},children:[\"We've emailed you the link for your \",ticket===\"both\"?\"classes\":\"class\",\". Just click it on the night.\"]})]}),e.videos.bookedBy?.[ticket]||e.videos.booked||ph?/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:720,margin:`${wide?24:18}px auto 0`},children:/*#__PURE__*/_jsx(VideoSlot,{mode:mode,id:e.videos.bookedBy?.[ticket]||e.videos.booked||undefined,title:\"Matt: you're booked in\"})}):null,/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gap:12,maxWidth:560,margin:`${wide?26:20}px auto 0`},children:bought.map(t=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:14,textAlign:\"left\",background:\"#fff\",borderRadius:18,padding:\"14px 18px\",border:`1px solid ${SC.line}`,boxShadow:\"0 16px 40px -28px rgba(14,16,19,.35)\"},children:[/*#__PURE__*/_jsx(EvTile,{iso:t.startUtc,size:56}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:22,lineHeight:1.15,color:SC.ink},children:t.title}),/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:SB,fontSize:16,color:SC.grey,marginTop:3},children:[t.dateLabel,t.startUtc?\", 7pm to 9pm UK\":\"\"]})]})]},t.key))}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:560,margin:`${wide?26:22}px auto 0`,border:`2px solid ${EvWA_GREEN}`,borderRadius:20,padding:phone?\"20px 18px\":\"24px 28px\",textAlign:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?24:28,lineHeight:1.15,color:SC.ink},children:\"Can't find the email?\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:phone?16:17,lineHeight:1.5,color:SC.ink,margin:\"8px 0 0\"},children:\"Check your spam folder first. Still nothing? Text me on WhatsApp and I'll sort it with you personally.\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:SF,fontWeight:800,fontSize:phone?30:36,letterSpacing:\".02em\",color:SC.ink,margin:\"14px 0 0\"},children:EvMATT_PHONE}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:SB,fontSize:phone?16:17,lineHeight:1.5,color:SC.grey,margin:\"4px 0 0\"},children:\"Save my number now. It's in your email too.\"}),/*#__PURE__*/_jsxs(\"a\",{href:`${WHATSAPP_MATT}?text=${waText}`,target:\"_blank\",rel:\"noopener\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:10,minHeight:56,marginTop:16,padding:\"6px 22px 3px\",borderRadius:12,background:EvWA_GREEN,color:\"#fff\",fontFamily:SF,fontWeight:700,fontSize:20,textDecoration:\"none\"},children:[EvWA_ICON,\"Text Matt on WhatsApp\"]})]})]}),/*#__PURE__*/_jsx(FunnelFooter,{mode:mode})]});}// ──────────────────────────────────────────────────────────────── the component\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 1400\n */export default function EventFunnel({event,page,video=false,ticket=\"both\"}){const rootRef=React.useRef(null);const mode=modeOf(useOwnWidth(rootRef));const e=EVENTS[event];return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:{width:\"100%\",background:\"#fff\",color:SC.ink},children:[/*#__PURE__*/_jsx(StageStyles,{}),video&&page===\"signup\"?/*#__PURE__*/_jsx(EvNoindex,{}):null,page===\"signup\"?/*#__PURE__*/_jsx(EvSignupPage,{e:e,mode:mode,video:video}):null,page===\"join\"?/*#__PURE__*/_jsx(EvJoinPage,{e:e,mode:mode,video:video}):null,page===\"replay\"?/*#__PURE__*/_jsx(EvReplayPage,{e:e,mode:mode}):null,page===\"tickets\"?/*#__PURE__*/_jsx(EvTicketsPage,{e:e,mode:mode}):null,page===\"booked\"?/*#__PURE__*/_jsx(EvBookedPage,{e:e,mode:mode,ticket:ticket}):null]});}\nexport const __FramerMetadata__ = {\"exports\":{\"EvSignupForm\":{\"type\":\"reactComponent\",\"name\":\"EvSignupForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"FunnelPage\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"EventFunnel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1400\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,ubAeyH,SAAgBiD,IAAU,CAAC,IAAMC,EAAG,QAAQ,KAAK,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,OAAO,SAAW,IAAY,MAAM,CAAC,KAAG,MAAM,CAAC,CAAC,EAAE,IAAMC,EAAG,GAAG,oBAAoB,SAAS,OAAO,MAAU,OAAO,WAAWC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAA,CAAG,IAAI,EAAE,EAAQC,EAAO,IAAI,gBAAgB5C,EAAO,SAAS,MAAM,CAAC,CAAC,IAAI,QAAQ,EAAQ6C,EAAIH,EAAG,MAAM,IAAIE,EAAO,QAAQ,KAAK,IAAI,EAAE,GAAGA,IAAS,IAAUE,EAAM,CAAC,qBAAqBL,EAAG,kBAAkB,OAAO,KAAK,MAAM,KAAK,IAAI,EAAE,GAAG,CAAC,EAAE,iBAAiBzC,EAAO,SAAS,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,kB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