PageSourceSearch

https://nextstepuni.com/assets/AffirmingValuesModule-DuLEwzGg.js

js nextstepuni.com collected 2026-10-07 02:07:22 UTC 18,974 bytes, 6 lines download raw bytes

1import{j as e,r as m}from"./vendor-react-CrfVCe5O.js";import{M as x}from"./Motion-nBR3-j7C.js";import{u as W,M,b as H,C as c}from"./moduleThemes-2uQSw8j9.js";import{R as y,H as g,P as Y,M as z}from"./ModuleShared-BijUFfrw.js";import{A as L}from"./affirmingValues-DD109x3O.js";import{u as _}from"./module-discovery-Df0Dup4t.js";import{C as f}from"./tokens-Dk8BVvbb.js";import{T}from"./triangle-alert-BGDc754U.js";import{S as v}from"./shield-CMgofbHB.js";import{c as q}from"./x-X1veMemj.js";import{B as A}from"./brain-circuit-y-ZGaNnN.js";import{m as C}from"./vendor-framer-Bfax1evX.js";import"./approved-ui-runtime-CXyL-sNC.js";import"./ActionButton-CnYIGVO5.js";import"./BrandBook-S_lqpXPH.js";import"./SettingsContext-B2NzpgEZ.js";import"./useSettings-BbjHqjkV.js";import"./vendor-firebase-C77pq9SV.js";import"./AuthContext-B8R8UgMX.js";import"./index-CQkfDP17.js";import"./check-BtYU69XE.js";import"./NavigationContext-BUjeKzvX.js";import"./SignatureCard-B0xkdddH.js";import"./FormControls-BQdl3xTy.js";import"./shared-6JAhZMa-.js";/* empty css                 */import"./search-D7GhtNE7.js";import"./arrow-up-right-CQLkDLWa.js";import"./heart-DKbt74l1.js";import"./subjectBusiness-D8eMr3Zu.js";/**
2 * @license lucide-react v0.553.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const O=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],w=q("user-check",O),a=H,k=[{label:"Recall",threatened:!1},{label:"Reasoning",threatened:!1},{label:"Analysis",threatened:!1},{label:"Focus",threatened:!1},{label:"Planning",threatened:!1},{label:"Comprehension",threatened:!1},{label:"Logic",threatened:!1},{label:"Creativity",threatened:!1},{label:"Attention",threatened:!1},{label:"Connections",threatened:!1},{label:"Evaluation",threatened:!1},{label:"Synthesis",threatened:!1}],$=["Self-doubt","Worry","Am I good enough?","They expect me to fail","I don't belong"],S=[2,5,8,10,11],V=()=>{const[n,u]=m.useState("full"),[l,s]=m.useState(k),[h,p]=m.useState(!1),r=m.useRef(null);m.useEffect(()=>()=>{r.current&&clearInterval(r.current)},[]);const i=l.filter(t=>!t.threatened).length,d=Math.round(i/l.length*100),E=()=>{if(h)return;p(!0);const t=[...k];let o=0;r.current=setInterval(()=>{if(o<S.length){const b=S[o];t[b]={label:$[o],threatened:!0},s([...t]),o++}else clearInterval(r.current),r.current=null,u("threatened"),p(!1)},500)},R=()=>{if(h)return;p(!0);const t=[...l],o=S.slice().reverse();let b=0;r.current=setInterval(()=>{if(b<o.length){const I=o[b];t[I]={...k[I],threatened:!1},s([...t]),b++}else clearInterval(r.current),r.current=null,u("restored"),p(!1)},400)},D=()=>{s([...k]),u("full")},j=l.filter(t=>t.threatened).length,P=l.filter(t=>!t.threatened),B=l.filter(t=>t.threatened),N=n==="threatened"&&!h,F=d===100?f.success:d<70?"#DC2626":"#D97706";return e.jsxs("div",{className:"my-10 rounded-2xl p-6 md:p-8",style:{backgroundColor:"#F8F8F8",borderRadius:18},children:[e.jsx("h4",{className:"font-serif text-2xl font-semibold text-zinc-800 dark:text-white text-center",children:"Working Memory Under Threat"}),e.jsx("p",{className:"text-center text-sm text-zinc-500 dark:text-zinc-400 mb-8",children:"See how invisible pressure steals your brainpower — and how a simple exercise gives it back."}),e.jsxs("div",{className:"max-w-md mx-auto mb-6",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-2",children:[e.jsx("span",{className:"text-xs font-medium tracking-wider uppercase text-zinc-500",children:"Brain Capacity"}),e.jsxs(x,{initial:{scale:1.3,opacity:0}
6,animate:{scale:1,opacity:1},transition:{type:"spring",stiffness:300,damping:20},className:"font-serif font-bold text-xl",style:{color:F},children:[d,"%"]},d)]}),e.jsx("div",{className:"bg-white dark:bg-zinc-800",style:{border:"2.5px solid #1C1917",borderRadius:12,boxShadow:"3px 3px 0px 0px #1C1917",height:20,overflow:"hidden"},children:e.jsx(x,{className:"h-full",style:{backgroundColor:F},animate:{width:`${d}%`},transition:{duration:.5,ease:[.16,1,.3,1]}})})]}),!N&&e.jsx("div",{className:"grid grid-cols-3 sm:grid-cols-4 gap-3 max-w-md mx-auto mb-8",children:l.map((t,o)=>e.jsx(x,{animate:{scale:t.threatened?[1,.9,1]:1},transition:{type:"spring",stiffness:400,damping:25},className:"relative flex items-center justify-center h-16 text-center px-1",style:{backgroundColor:t.threatened?"#FCA5A5":"#93C5FD",border:"2.5px solid #1C1917",borderRadius:12,boxShadow:"3px 3px 0px 0px #1C1917"},children:e.jsx(x,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.3},className:"text-xs font-bold leading-tight",style:{color:t.threatened?"#991B1B":"#1E3A8A"},children:t.label},t.label)},o))}),N&&e.jsxs(x,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.5},className:"max-w-md mx-auto mb-8",children:[e.jsxs("div",{className:"flex",style:{border:"2.5px solid #1C1917",borderRadius:16,boxShadow:"4px 4px 0px 0px #1C1917",overflow:"hidden",height:80},children:[e.jsxs("div",{className:"flex flex-col items-center justify-center",style:{flex:i,backgroundColor:"#2563EB",borderRight:j>0?"2.5px solid #1C1917":"none"},children:[e.jsx("span",{className:"text-[11px] font-medium uppercase tracking-wider",style:{color:"rgba(255,255,255,0.6)"},children:"Productive"}),e.jsxs("span",{className:"font-serif font-bold text-2xl text-white",children:[d,"%"]})]}),j>0&&e.jsxs("div",{className:"flex flex-col items-center justify-center",style:{flex:j,backgroundColor:"#DC2626"},children:[e.jsx("span",{className:"text-[11px] font-medium uppercase tracking-wider",style:{color:"rgba(255,255,255,0.6)"},children:"Intrusive"}),e.jsxs("span",{className:"font-serif font-bold text-2xl text-white",children:[100-d,"%"]})]})]}),e.jsxs("div",{className:"flex gap-3 mt-3",children:[e.jsx("div",{className:"flex flex-wrap gap-1.5",style:{flex:i},children:P.map((t,o)=>e.jsx("span",{className:"text-[11px] font-medium px-2.5 py-1",style:{backgroundColor:"#EFF6FF",border:"1.5px solid #2563EB",borderRadius:8,color:"#1E3A8A"},children:t.label},o))}),e.jsx("div",{className:"flex flex-wrap gap-1.5",style:{flex:j},children:B.map((t,o)=>e.jsx("span",{className:"text-[11px] font-medium px-2.5 py-1",style:{backgroundColor:"#FEF2F2",border:"1.5px solid #DC2626",borderRadius:8,color:"#7F1D1D"},children:t.label},o))})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[n==="full"&&e.jsx(C.button,{onClick:E,disabled:h,className:"px-6 py-3 text-white font-bold text-sm disabled:opacity-50",style:{backgroundColor:"#DC2626",border:"2.5px solid #1C1917",borderRadius:14,boxShadow:"4px 4px 0px 0px #1C1917"},whileHover:{x:-2,y:-2,boxShadow:"6px 6px 0px 0px #1C1917"},whileTap:{x:2,y:2,boxShadow:"1px 1px 0px 0px #1C1917"},transition:{type:"spring",stiffness:400,damping:25},children:"Simulate Exam Pressure"}),n==="threatened"&&e.jsx(C.button,{onClick:R,disabled:h,initial:{opacity:0,y:8},animate:{opacity:1,y:0},className:"px-6 py-3 text-white font-bold text-sm disabled:opacity-50",style:{backgroundColor:f.accent,border:`2.5px solid ${f.accentDark}`,borderRadius:14,boxShadow:`4px 4px 0px 0px ${f.accentDark}`},whileHover:{x:-2,y:-2,boxShadow:`6px 6px 0px 0px ${f.accentDark}`},whileTap:{x:2,y:2,boxShadow:`1px 1px 0px 0px ${f.accentDark}`},transition:{type:"spring",stiffness:400,damping:25},children:"Activate Shield (Values Affirmation)"}),n==="restored"&&e.jsxs(x,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},className:"flex flex-col items-center gap-3",children:[e.jsx("div",{className:"p-4 rounded-xl text-center",style:{backgroundColor:"#E8F2EC",border:"2.5px solid #3A8D5F",boxShadow:"3px 3px 0px 0px #3A8D5F"},children:e.jsx("p",{className:"text-sm font-bold",style:{color:"#1F5F3E"},children:"Full capacity restored. Affirming your values frees your working memory."})}),e.jsx(C.button,{onClick:D,className:"px-5 py-2 font-bold text-sm",style:{backgroundColor:"#FFFFFF",border:"2.5px solid #1C1917",borderRadius:14,boxShadow:"3px 3px 0px 0px #1C1917",color:"#1C1917"},whileHover:{x:-1,y:-1,boxShadow:"4px 4px 0px 0px #1C1917"},whileTap:{x:1,y:1,boxShadow:"1px 1px 0px 0px #1C1917"},transition:{type:"spring",stiffness:400,damping:25},children:"Reset Demo"})]})]})]})},U=({savedValues:n,onSave:u})=>{const l=["Family","Friendship","Creativity","Kindness","Humour","Ambition","Community","Independence","Learning"],[s,h]=m.useState(n||[]);m.useEffect(()=>{n&&h(n)},[n]);const p=r=>{let i;if(s.includes(r))i=s.filter(d=>d!==r);else if(s.length<3)i=[...s,r];else return;h(i),u==null||u(i)};return e.jsxs("div",{className:"my-10 rounded-2xl p-6 md:p-8",style:{backgroundColor:"#F8F8F8",borderRadius:18},children:[e.jsx("h4",{className:"font-serif text-2xl font-semibold text-zinc-800 dark:text-white text-center",children:"Core Values Audit"}),e.jsx("p",{className:"text-center text-sm text-zinc-500 dark:text-zinc-400 mb-8",children:"Select your top 3 most important personal values."}),e.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:l.map(r=>e.jsx(C.button,{onClick:()=>p(r),className:`px-4 py-2 text-sm font-bold rounded-full transition-all ${s.includes(r)?"bg-blue-500 text-white":""}`,style:s.includes(r)?{border:"2.5px solid #1D4ED8",boxShadow:"3px 3px 0px 0px #1D4ED8"}:{backgroundColor:"#FFFFFF",border:"2.5px solid #1C1917",boxShadow:"3px 3px 0px 0px #1C1917"},whileHover:{y:-2},children:r},r))}),s.length===3&&e.jsxs("div",{className:"mt-8",children:[e.jsx("h5",{className:"font-bold text-center",children:"Your 15-Minute Writing Prompt:"}),e.jsxs("p",{className:"p-4 bg-zinc-100 dark:bg-zinc-800 rounded-xl mt-2 text-center text-sm",children:["Choose ONE of these values: ",e.jsx("span",{className:"font-bold",children:s.join(", ")}),". Write for 15 minutes about why this value is important to you and describe a time when you lived up to it."]})]})]})},Ce=({onBack:n,progress:u,onProgressUpdate:l})=>{const s=W(),{responses:h,saveResponse:p}=_("affirming-values"),r=s?[{id:"invisible-threat",title:"The Invisible Threat",eyebrow:"01 // The Problem",icon:T},{id:"psychological-shield",title:"The Shield & How It Works",eyebrow:"02 // The Solution",icon:v},{id:"your-protocol",title:"Your Pre-Exam Protocol",eyebrow:"03 // The Action Plan",icon:w}]:[{id:"invisible-threat",title:"The Invisible Threat",eyebrow:"01 // The Problem",icon:T},{id:"psychological-shield",title:"The Psychological Shield",eyebrow:"02 // The Solution",icon:v},{id:"broaden-build",title:"How It Works: The Zoom-Out Effect",eyebrow:"03 // The Mechanism",icon:A},{id:"real-world-data",title:"The Real World Data",eyebrow:"04 // The Evidence",icon:w},{id:"your-protocol",title:"Your Pre-Exam Protocol",eyebrow:"05 // The Action Plan",icon:w}];return e.jsx(M,{moduleNumber:"03",moduleTitle:"Affirming Values",moduleSubtitle:"The Psychological Shield",moduleDescription:"Discover the invisible pressure that steals your brainpower in exams — and a simple 15-minute exercise that shields you from it.",theme:a,sections:r,fullSectionsCount:5,references:L,onBack:n,progress:u,onProgressUpdate:l,finishButtonText:"Raise Your Shield",children:i=>e.jsxs(e.Fragment,{children:[i===0&&e.jsxs(e.Fragment,{children:[e.jsx(y,{title:"The Invisible Threat.",eyebrow:"Step 1",icon:T,theme:a,children:s?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:[`Here's the thing: in exams, your brain can end up fighting two battles. You fight the questions. And many students also fight a background voice saying "people like me don't get these results." That voice is called `,e.jsx(g,{description:"That nagging background voice during an exam that says 'people like me don't get these results.' It's not just nerves — it actually takes up space in your brain, leaving less room for the actual questions.",theme:a,children:"Stereotype Threat"}),".",e.jsx(c,{n:1})]}),e.jsxs("p",{children:["It hijacks your working memory.",e.jsx(c,{n:2})," You lose brainpower to anxiety. You know the material, but your brain can't access it properly. This costs you real marks."]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:[`In a high-stakes situation like a big exam, your brain is on high alert. For students from disadvantaged backgrounds, there's an extra, invisible threat in the room: the fear that a bad result will c
6onfirm what people already think about "people like you." This is called `,e.jsx(g,{description:"That nagging background voice during an exam that says 'people like me don't get these results.' It's not just nerves — it actually takes up space in your brain, leaving less room for the actual questions.",theme:a,children:"Stereotype Threat"}),".",e.jsx(c,{n:1})]}),e.jsxs("p",{children:["It's like a hidden tax on your brainpower. Part of your working memory gets hijacked by this background anxiety, leaving less room for the actual exam questions.",e.jsx(c,{n:2}),` This isn't just "in your head" — it's a real stress response that can cost you marks, even when you know the material perfectly.`]}),e.jsx(Y,{name:"Alex",role:"Founder, NextStepUni",children:e.jsx("p",{children:`I know what this feels like. Walking into an exam hall, part of my brain was always running a background programme: "People from Togher don't get these kinds of results." I didn't have a name for it then, but it was stereotype threat. I was fighting the exam and fighting that voice at the same time — and I didn't realise it was costing me marks until I learned the science behind it.`})})]})}),e.jsx(V,{})]}),!s&&i===1&&e.jsxs(y,{title:"The Psychological Shield.",eyebrow:"Step 2",icon:v,theme:a,children:[e.jsxs("p",{children:["Researchers spent years looking for a way to fight this invisible threat. The best solution they found is almost ridiculously simple: a 15-minute writing exercise called ",e.jsx(g,{description:"Before a stressful event, you spend 15 minutes writing about what matters most to you — your family, your friends, your creativity. It reminds your brain that you're more than just an exam result, and that frees up the brainpower the threat was stealing.",theme:a,children:"Self-Affirmation"}),".",e.jsx(c,{n:3})]}),e.jsx("p",{children:"It sounds too good to be true, but it works. By writing about what's truly important to you before a stressful event — family, creativity, friendship — you create a mental shield. You remind your brain that your self-worth isn't defined by this one exam. That simple reminder frees up the brainpower that the threat would otherwise steal."})]}),!s&&i===2&&e.jsxs(y,{title:"How It Works: The Zoom-Out Effect.",eyebrow:"Step 3",icon:A,theme:a,children:[e.jsxs("p",{children:["How can a simple writing exercise have such a powerful effect? It comes down to how your brain handles emotions. When you're scared, your focus narrows — all you can see is the threat. But positive emotions do the opposite: they ",e.jsx(g,{description:"When you feel good about who you are, your brain literally opens up. You see more options, think more clearly, and stop fixating on the one thing that's scaring you. It's like going from tunnel vision to a wide-angle lens.",theme:a,children:"Broaden Your Perspective"}),".",e.jsx(c,{n:4})]}),e.jsx("p",{children:`When you write about your values, your brain gets a hit of positive emotion — a reminder that you're more than this one exam. That "zooms out" your perspective. Suddenly the exam isn't a life-or-death verdict on your entire identity; it's just one part of a much bigger, more meaningful life. That shift is what reduces the threat and frees up your working memory.`})]}),!s&&i===3&&e.jsxs(y,{title:"The Real World Data.",eyebrow:"Step 4",icon:w,theme:a,children:[e.jsxs("p",{children:["This isn't just theory — it's been tested in real classrooms. Researchers gave a group of students from disadvantaged backgrounds this exact exercise: 15 minutes of writing about their values, just a few times a year. In that study, their grades rose — and the effect lasted.",e.jsx(c,{n:3})]}),e.jsxs("p",{children:["Two years later, those students were still outperforming their peers. The exercise had kicked off a positive cycle — better grades led to more confidence, which led to even better grades. And the effect was strongest for the students who were most at risk of underperforming.",e.jsx(c,{n:5})," A 15-minute exercise, a few times a year, changed their trajectory. (Worth knowing: later studies find the effect is real but varies — it works best for the students most under threat, and not in every setting.)"]})]}),s&&i===1&&e.jsxs(y,{title:"The Shield & How It Works.",eyebrow:"Step 2",icon:v,theme:a,children:[e.jsxs("p",{children:["Write about what matters to you for 15 minutes before an exam. This is called ",e.jsx(g,{description:"Before a stressful event, you spend 15 minutes writing about what matters most to you — your family, your friends, your creativity. It reminds your brain that you're more than just an exam result, and that frees up the brainpower the threat was stealing.",theme:a,children:"Self-Affirmation"}),".",e.jsx(c,{n:3})," You remind your brain that you're more than one exam. That frees up the brainpower the threat was stealing."]}),e.jsxs("p",{children:["Writing about your values creates positive emotion. Your perspective zooms out.",e.jsx(c,{n:4})," The exam stops feeling like a verdict on your identity. In one study, at-risk students who did this a few times a year saw their grades rise.",e.jsx(c,{n:5})]})]}),(s?i===2:i===4)&&e.jsxs(y,{title:"Your Pre-Exam Protocol.",eyebrow:s?"Step 3":"Step 5",icon:w,theme:a,children:[s?e.jsx(e.Fragment,{children:e.jsx("p",{children:"Make this a pre-exam habit. Pick your top 3 values below. Before every exam, write for 15 minutes about why one value matters to you. Describe a time you lived up to it."})}):e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"You now have a genuine tool to protect your brain under pressure. The last step is to make it a habit — a pre-exam ritual you do every time, just like checking you have the right pens."}),e.jsxs("p",{children:["The steps are simple: ",e.jsx("strong",{children:"1. Pick your core values below."})," ",e.jsx("strong",{children:"2. Choose the one that matters most right now."})," ",e.jsx("strong",{children:"3. Write for 15 minutes."})," This isn't an essay — it's a private reflection. Write about why the value is important to you and describe a specific time you lived up to it. Do this before every major exam, especially the mocks and your end-of-year tests."]})]}),e.jsx(U,{savedValues:h["selected-values"],onSave:d=>p("selected-values",d)}),e.jsx(z,{theme:a,children:e.jsx("p",{children:`Take the values you selected above. Create a recurring event in your phone's calendar for the morning of every exam you have this year, with the title: "15 Min Values Writing." You now have a pre-exam shield that actually works.`})})]})]})})};export{Ce as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.