PageSourceSearch

https://herpowerapp.com/assets/Workbook-CIOiATKP.js

js herpowerapp.com collected 2026-10-09 22:03:45 UTC 23,561 bytes, 68 lines download raw bytes

1import{c as M,u as w,r as m,s as j,j as e,C as v,y as _,z as C,H as R,I as S,a as k,L as d,B as f,f as x,T as W,N as $,ad as B,d as D,a7 as P,b as A,a6 as z,a2 as O,e as E,Q as J,V as N}from"./index-DO0ZNUzu.js";import{T as p}from"./textarea-CcV1k9Cd.js";import{S as I}from"./save-BxkEtuAW.js";import{C as G}from"./checkbox-DU_lh-31.js";import{H as U}from"./house-CUUNLlcb.js";import{A as Y}from"./arrow-right-CUzZpWVI.js";import{L as q}from"./lightbulb-DnYnZiXl.js";import"./check-Cyw8qn0D.js";/**
2 * @license lucide-react v0.462.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 V=M("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]),K=[{value:"happy",emoji:"😊",label:"Happy"},{value:"okay",emoji:"😐",label:"Okay"},{value:"unsure",emoji:"🤔",label:"Unsure"},{value:"stressed",emoji:"😰",label:"Stressed"},{value:"sad",emoji:"😢",label:"Sad"},{value:"upset",emoji:"😠",label:"Upset"},{value:"calm",emoji:"😌",label:"Calm"},{value:"proud",emoji:"🥰",label:"Proud"}];function Q(){const{user:l}=w(),[h,u]=m.useState(!1),[s,t]=m.useState(""),[i,r]=m.useState(null),[a,c]=m.useState({why_feeling:"",need_today:"",proud_of:"",kind_thought:"",affirmation:""});m.useEffect(()=>{l&&o()},[l]);const o=async()=>{if(l)try{const{data:n,error:g}=await j.from("daily_checkin_streaks").select("current_streak, longest_streak").eq("user_id",l.id).maybeSingle();if(g)throw g;r(n)}catch(n){console.error("Error fetching streak data:",n)}},b=async()=>{if(!l||!s){x.error("Please select how you're feeling today");return}u(!0);try{const n=`
7**Today I feel:** ${s}
8
9**Why I feel this way:**
10${a.why_feeling}
11
12**One thing I need today:**
13${a.need_today}
14
15**One thing I'm proud of today:**
16${a.proud_of}
17
18**A kind thought I will tell myself:**
19${a.kind_thought}
20
21**My affirmation for today:**
22"I am ${a.affirmation}"
23      `.trim(),{error:g}=await j.from("ebook_notes").insert({user_id:l.id,title:`Daily Check-In - ${new Date().toLocaleDateString()}`,content:n,ebook_type:"workbook",tags:["daily-checkin",s]});if(g)throw g;const{data:y,error:T}=await j.rpc("update_daily_checkin_streak",{user_uuid:l.id});if(T)console.error("Error updating streak:",T);else if(y&&y.length>0){const{current_streak:H}=y[0];r(y[0]),H>1?x.success(`Daily check-in saved! 🔥 ${H} day streak!`):x.success("Daily check-in saved! 💗 Streak started!")}else x.success("Daily check-in saved! 💗");t(""),c({why_feeling:"",need_today:"",proud_of:"",kind_thought:"",affirmation:""})}catch(n){console.error("Error saving check-in:",n),x.error("Failed to save check-in")}finally{u(!1)}};return e.jsxs(v,{children:[e.jsx(_,{children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex-1",children:[e.jsxs(C,{className:"flex items-center gap-2",children:[e.jsx(R,{className:"h-5 w-5 text-primary"}),"HERPower Daily Check-In"]}),e.jsx(S,{children:"Take a moment to check in with yourself. How are you really feeling today?"})]}),i&&i.current_streak>0&&e.jsxs("div",{className:"text-right ml-4",children:[e.jsxs("div",{className:"flex items-center gap-1 text-orange-500",children:[e.jsx(V,{className:"h-5 w-5"}),e.jsx("span",{className:"text-2xl font-bold",children:i.current_streak})]}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Best: ",i.longest_streak]})]})]})}),e.jsxs(k,{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(d,{children:"Today I feel:"}),e.jsx("div",{className:"grid grid-cols-4 gap-2",children:K.map(n=>e.jsxs(f,{variant:s===n.value?"default":"outline",className:"h-auto py-3 flex flex-col gap-1",onClick:()=>t(n.value),children:[e.jsx("span",{className:"text-2xl",children:n.emoji}),e.jsx("span",{className:"text-xs",children:n.label})]},n.value))})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"why",children:"Why I feel this way:"}),e.jsx(p,{id:"why",placeholder:"Express what's on your mind...",value:a.why_feeling,onChange:n=>c({...a,why_feeling:n.target.value}),rows:3})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"need",children:"One thing I need today:"}),e.jsx(p,{id:"need",placeholder:"What would help you feel better?",value:a.need_today,onChange:n=>c({...a,need_today:n.target.value}),rows:2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"proud",children:"One thing I'm proud of today:"}),e.jsx(p,{id:"proud",placeholder:"Celebrate yourself! Big or small wins count.",value:a.proud_of,onChange:n=>c({...a,proud_of:n.target.value}),rows:2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"kind",children:"A 
23kind thought I will tell myself:"}),e.jsx(p,{id:"kind",placeholder:"What would you say to your best friend?",value:a.kind_thought,onChange:n=>c({...a,kind_thought:n.target.value}),rows:2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"affirmation",children:"My affirmation for today:"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-muted-foreground whitespace-nowrap",children:"I am"}),e.jsx(p,{id:"affirmation",placeholder:"strong / enough / powerful / learning / glowing / growing / confident / unstoppable",value:a.affirmation,onChange:n=>c({...a,affirmation:n.target.value}),rows:1,className:"flex-1"})]})]}),e.jsxs(f,{onClick:b,disabled:h||!s,className:"w-full",size:"lg",children:[e.jsx(I,{className:"mr-2 h-4 w-4"}),h?"Saving...":"Save Daily Check-In"]})]})]})}function Z(){const{user:l}=w(),[h,u]=m.useState(!1),[s,t]=m.useState({goal1:"",goal2:"",goal3:"",focus_areas:"",support_people:"",mental_health_action:""}),i=async()=>{if(l){u(!0);try{const r=`
24**This week I want to:**
251. ${s.goal1||"Not set"}
262. ${s.goal2||"Not set"}
273. ${s.goal3||"Not set"}
28
29**Things I need to stay focused on:**
30${s.focus_areas}
31
32**People who support me:**
33${s.support_people}
34
35**One thing I will do for my mental health:**
36${s.mental_health_action}
37      `.trim(),{error:a}=await j.from("ebook_notes").insert({user_id:l.id,title:`Weekly Goals - Week of ${new Date().toLocaleDateString()}`,content:r,ebook_type:"workbook",tags:["weekly-goals","planning"]});if(a)throw a;x.success("Weekly goals saved! 🎯"),t({goal1:"",goal2:"",goal3:"",focus_areas:"",support_people:"",mental_health_action:""})}catch(r){console.error("Error saving goals:",r),x.error("Failed to save goals")}finally{u(!1)}}};return e.jsxs(v,{children:[e.jsxs(_,{children:[e.jsxs(C,{className:"flex items-center gap-2",children:[e.jsx(W,{className:"h-5 w-5 text-primary"}),"Weekly Goals Planner"]}),e.jsx(S,{children:"Set your intentions for the week ahead. Small steps lead to big results! ✨"})]}),e.jsxs(k,{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsx(d,{children:"This week I want to:"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm font-medium text-muted-foreground",children:"1."}),e.jsx($,{placeholder:"First goal...",value:s.goal1,onChange:r=>t({...s,goal1:r.target.value})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm font-medium text-muted-foreground",children:"2."}),e.jsx($,{placeholder:"Second goal...",value:s.goal2,onChange:r=>t({...s,goal2:r.target.value})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm font-medium text-muted-foreground",children:"3."}),e.jsx($,{placeholder:"Third goal...",value:s.goal3,onChange:r=>t({...s,goal3:r.target.value})})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"focus",children:"Things I need to stay focused on:"}),e.jsx(p,{id:"focus",placeholder:"What matters most this week?",value:s.focus_areas,onChange:r=>t({...s,focus_areas:r.target.value}),rows:3})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"support",children:"People who support me:"}),e.jsx(p,{id:"support",placeholder:"Who can you lean on this week?",value:s.support_people,onChange:r=>t({...s,support_people:r.target.value}),rows:2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"mental",children:"One thing I will do for my mental health:"}),e.jsx(p,{id:"mental",placeholder:"How will you take care of yourself?",value:s.mental_health_action,onChange:r=>t({...s,mental_health_action:r.target.value}),rows:2})]}),e.jsxs(f,{onClick:i,disabled:h,className:"w-full",size:"lg",children:[e.jsx(I,{className:"mr-2 h-4 w-4"}),h?"Saving...":"Save Weekly Goals"]})]})]})}function X(){const{user:l}=w(),[h,u]=m.useState(!1),[s,t]=m.useState({uncomfortable_when:"",safe_when:"",boundary_to_set:"",how_express:"",respect_boundaries:""}),i=async()=>{if(l){u(!0);try{const r=`
38**I feel uncomfortable when:**
39${s.uncomfortable_when}
40
41**I feel safe when:**
42${s.safe_when}
43
44**A boundary I need to set:**
45${s.boundary_to_set}
46
47**How I will express it:**
48${s.how_express}
49
50**People who respect my boundaries:**
51${s.respect_boundaries}
52      `.trim(),{error:a}=await j.from("ebook_notes").insert({user_id:l.id,title:`Boundaries Check-In - ${new Date().toLocaleDateString()}`,content:r,ebook_type:"workbook",tags:["boundaries","self-care"]});if(a)throw a;x.success("Boundaries check-in saved! 🛡️"),t({uncomfortable_when:"",safe_when:"",boundary_to_set:"",how_express:"",respect_boundaries:""})}catch(r){console.error("Error saving boundaries:",r),x.error("Failed to save boundaries check-in")}finally{u(!1)}}};return e.jsxs(v,{children:[e.jsxs(_,{children:[e.jsxs(C,{className:"flex items-center gap-2",children:[e.jsx(B,{className:"h-5 w-5 text-primary"}),"Personal Boundaries Check-In"]}),e.jsx(S,{children:"Your boundaries protect your peace. It's okay to say no and put yourself first. 🛡️"})]}),e.jsxs(k,{className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"uncomfortable",children:"I feel uncomfortable when:"}),e.jsx(p,{id:"uncomfortable",placeholder:"What situations or behaviors make you feel uneasy?",value:s.uncomfortable_when,onChange:r=>t({...s,uncomfortable_when:r.target.value}),rows:3})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"safe",children:"I feel safe when:"}),e.jsx(p,{id:"safe",placeholder:"What makes you feel protected and respected?",value:s.safe_when,onChange:r=>t({...s,safe_when:r.target.value}),rows:3})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"boundary",children:"A boundary I need to set:"}),e.jsx(p,{id:"boundary",placeholder:"What do you need to communicate?",value:s.boundary_to_set,onChange:r=>t({...s,boundary_to_set:r.target.value}),rows:3})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"express",children:"How I will express it:"}),e.jsx(p,{id:"express",placeholder:"Practice how you'll communicate this boundary...",value:s.how_express,onChange:r=>t({...s,how_express:r.target.value}),rows:3}),e.jsx("p",{className:"text-xs text-muted-foreground",children:'Tip: Use "I feel..." statements. Keep it calm, honest, and kind.'})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"respect",children:"People who respect my boundaries:"}),e.jsx(p,{id:"respect",placeholder:"Who honors your boundaries and makes you feel safe?",value:s.respect_boundaries,onChange:r=>t({...s,respect_boundaries:r.target.value}),rows:2})]}),e.jsxs(f,{onClick:i,disabled:h,className:"w-full",size:"lg",children:[e.jsx(I,{className:"mr-2 h-4 w-4"}),h?"Saving...":"Save Boundaries Check-In"]})]})]})}const L={"Mind Care":["Journal","Read","Positive affirmations","Create something (art, writing, music)"],"Heart Care":["Talk to someone I trust","Take a break","Have quiet time","Let myself feel my emotions"],"Body Care":["Drink 
52water","Stretch","Move my body","Clean my space","Do skincare"],"Soul Care":["Pray","Meditate","Listen to calming music","Go outside","Do something kind for someone else"]};function ee(){const{user:l}=w(),[h,u]=m.useState(!1),[s,t]=m.useState([]),i=a=>{t(c=>c.includes(a)?c.filter(o=>o!==a):[...c,a])},r=async()=>{if(!l||s.length===0){x.error("Please select at least one self-care activity");return}u(!0);try{const c=`
53**My Self-Care Choices for Today:**
54
55${Object.entries(L).map(([b,n])=>{const g=n.filter(y=>s.includes(y));return g.length===0?null:`**${b}:**
56${g.map(y=>`✓ ${y}`).join(`
57`)}`}).filter(Boolean).join(`
58
59`)}
60
61---
62Total activities chosen: ${s.length}
63      `.trim(),{error:o}=await j.from("ebook_notes").insert({user_id:l.id,title:`Self-Care Menu - ${new Date().toLocaleDateString()}`,content:c,ebook_type:"workbook",tags:["self-care","wellness"]});if(o)throw o;x.success("Self-care plan saved! ✨"),t([])}catch(a){console.error("Error saving self-care:",a),x.error("Failed to save self-care plan")}finally{u(!1)}};return e.jsxs(v,{children:[e.jsxs(_,{children:[e.jsxs(C,{className:"flex items-center gap-2",children:[e.jsx(D,{className:"h-5 w-5 text-primary"}),"My Self-Care Menu"]}),e.jsx(S,{children:"Choose at least one activity from each category every day. Your well-being matters! ✨"})]}),e.jsxs(k,{className:"space-y-6",children:[Object.entries(L).map(([a,c])=>e.jsxs("div",{className:"space-y-3",children:[e.jsx(d,{className:"text-base font-semibold",children:a}),e.jsx("div",{className:"space-y-2 pl-2",children:c.map(o=>e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(G,{id:o,checked:s.includes(o),onCheckedChange:()=>i(o)}),e.jsx("label",{htmlFor:o,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer",children:o})]},o))})]},a)),s.length>0&&e.jsxs("div",{className:"p-4 bg-primary/5 rounded-lg border border-primary/20",children:[e.jsxs("p",{className:"text-sm font-medium text-primary",children:[s.length," ",s.length===1?"activity":"activities"," selected"]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Great job taking care of yourself! 💗"})]}),e.jsxs(f,{onClick:r,disabled:h||s.length===0,className:"w-full",size:"lg",children:[e.jsx(I,{className:"mr-2 h-4 w-4"}),h?"Saving...":"Save Self-Care Plan"]})]})]})}const se=["A moment I felt proud of myself…","Something I want to heal from…","I feel most like myself when…","A goal I really want to reach is…","Someone who inspires me is…","If I could advise my younger self…","One thing I want to improve about myself is…","I'm learning to love myself by…"];function ae(){const{user:l}=w(),[h,u]=m.useState(!1),[s,t]=m.useState(""),[i,r]=m.useState(""),a=o=>{t(o),r("")},c=async()=>{if(!l||!s||!i.trim()){x.error("Please select a prompt and write your response");return}u(!0);try{const o=`
64**Prompt:** ${s}
65
66**My Response:**
67${i}
68      `.trim(),{error:b}=await j.from("ebook_notes").insert({user_id:l.id,title:`Journal - ${s.slice(0,50)}...`,content:o,ebook_type:"workbook",tags:["journal-prompt","reflection"]});if(b)throw b;x.success("Journal entry saved! 📝"),t(""),r("")}catch(o){console.error("Error saving journal:",o),x.error("Failed to save journal entry")}finally{u(!1)}};return e.jsxs(v,{children:[e.jsxs(_,{children:[e.jsxs(C,{className:"flex items-center gap-2",children:[e.jsx(P,{className:"h-5 w-5 text-primary"}),"HERPower Journal Prompts"]}),e.jsx(S,{children:"Choose a prompt and write freely. There are no wrong answers — just honesty. 📝"})]}),e.jsx(k,{className:"space-y-6",children:s?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"p-4 bg-primary/5 rounded-lg border border-primary/20",children:[e.jsx(d,{className:"text-sm text-muted-foreground",children:"Your prompt:"}),e.jsx("p",{className:"text-lg font-medium mt-1",children:s}),e.jsx(f,{variant:"ghost",size:"sm",onClick:()=>{t(""),r("")},className:"mt-2",children:"Choose different prompt"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"response",children:"Write freely:"}),e.jsx(p,{id:"response",placeholder:"Let your thoughts flow... there's no right or wrong answer.",value:i,onChange:o=>r(o.target.value),rows:10,className:"resize-none"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"💡 Tip: Be honest with yourself. This is your safe space."})]}),e.jsxs(f,{onClick:c,disabled:h||!i.trim(),className:"w-full",size:"lg",children:[e.jsx(I,{className:"mr-2 h-4 w-4"}),h?"Saving...":"Save Journal Entry"]})]}):e.jsxs(e.Fragment,{children:[e.jsx(d,{children:"Choose a prompt to journal about:"}),e.jsx("div",{className:"grid gap-2",children:se.map(o=>e.jsxs(f,{variant:"outline",className:"justify-start text-left h-auto py-4 px-4",onClick:()=>a(o),children:[e.jsx(D,{className:"mr-2 h-4 w-4 text-primary flex-shrink-0"}),e.jsx("span",{children:o})]},o))})]})})]})}const re=1,te="4409949e-f072-42c2-9254-57192289192e",oe="72417bfd-38f5-4c7a-898f-c4c622a30e0a",le="/__l5e/assets-v1/4409949e-f072-42c2-9254-57192289192e/HERPower-workbook-hero.png",ne="a/v1/72417bfd-38f5-4c7a-898f-c4c622a30e0a/4409949e-f072-42c2-9254-57192289192e/HERPower-workbook-hero.png",ie="HERPower-workbook-hero.png",ce=634434,de="image/png",he="2026-09-06T01:29:53Z",me={version:re,asset_id:te,project_id:oe,url:le,r2_key:ne,original_filename:ie,size:ce,content_type:de,created_at:he},ue=me.url,F=[{id:"daily",label:"Daily Check-In",shortLabel:"Daily",icon:R,chip:"bg-rose-100 text-rose-600",description:"Start each day with a quick heart check and intention."},{id:"weekly",label:"Weekly Goals",shortLabel:"Goals",icon:W,chip:"bg-sky-100 text-sky-600",description:"Set goals that build confidence one week at a time."},{id:"boundaries",label:"Boundaries",shortLabel:"Boundaries",icon:B,chip:"bg-violet-100 text-violet-600",description:"Practice protecting your peace and energy."}
68,{id:"selfcare",label:"Self-Care",shortLabel:"Self-Care",icon:D,chip:"bg-amber-100 text-amber-600",description:"Choose small ways to refill your cup every day."},{id:"journal",label:"Journal Prompts",shortLabel:"Journal",icon:P,chip:"bg-emerald-100 text-emerald-600",description:"Reflect with prompts that help you grow."}];function ve(){const l=A(),[h]=z(),{user:u,loading:s}=w(),[t,i]=m.useState("daily");if(m.useEffect(()=>{document.title="HERPower Workbook – Confidence, Self-Love & Leadership"},[]),m.useEffect(()=>{const a=h.get("section");a&&i({"daily-checkin":"daily","weekly-goals":"goals",boundaries:"boundaries","self-care":"selfcare","journal-prompt":"journal"}[a]||"daily")},[h]),s)return e.jsx(O,{});if(!u)return null;const r=F.find(a=>a.id===t)||F[0];return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("header",{className:"sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:e.jsxs("div",{className:"container flex h-16 items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(E,{className:"h-6 w-6 text-primary"}),e.jsx("h1",{className:"text-xl font-bold hidden sm:block",children:"HERPower Workbook"}),e.jsx("h1",{className:"text-xl font-bold sm:hidden",children:"Workbook"})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs(f,{variant:"outline",size:"sm",onClick:()=>l("/ebook"),children:[e.jsx(E,{className:"h-4 w-4 mr-2"}),e.jsx("span",{className:"hidden sm:inline",children:"Read E-book"}),e.jsx("span",{className:"sm:hidden",children:"E-book"})]}),e.jsxs(f,{variant:"ghost",size:"sm",onClick:()=>l("/ebook-notes"),children:[e.jsx(P,{className:"h-4 w-4 mr-2"}),e.jsx("span",{className:"hidden sm:inline",children:"My Notes"}),e.jsx("span",{className:"sm:hidden",children:"Notes"})]}),e.jsx(f,{variant:"ghost",size:"icon",onClick:()=>l("/dashboard"),"aria-label":"Dashboard",children:e.jsx(U,{className:"h-5 w-5"})})]})]})}),e.jsxs("main",{className:"container mx-auto px-4 py-6 max-w-6xl",children:[e.jsxs("section",{className:"relative overflow-hidden rounded-3xl mb-10 shadow-elegant",children:[e.jsx("img",{src:ue,alt:"Diverse group of young women smiling together",className:"absolute inset-0 w-full h-full object-cover object-top"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background/95 via-background/80 to-background/40"}),e.jsx("div",{className:"relative px-6 py-10 sm:px-10 sm:py-14 lg:py-16",children:e.jsxs("div",{className:"max-w-2xl",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 text-primary text-sm font-medium mb-4",children:[e.jsx(E,{className:"h-4 w-4"}),"Companion to the HERPower E-Book"]}),e.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-foreground mb-4 leading-tight",children:"Your space to reflect, grow, and rise."}),e.jsx("p",{className:"text-base sm:text-lg text-muted-foreground mb-6 max-w-xl",children:"This workbook goes hand-in-hand with the HERPower E-Book. Pick a section below and spend a few minutes building your confidence, self-love, and leadership."}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsxs(f,{onClick:()=>l("/ebook"),className:"rounded-full gap-2",children:["Read the E-Book",e.jsx(Y,{className:"h-4 w-4"})]}),e.jsxs(f,{variant:"outline",onClick:()=>l("/ebook-notes"),className:"rounded-full gap-2",children:[e.jsx(P,{className:"h-4 w-4"}),"My Notes"]})]})]})})]}),e.jsx(v,{className:"mb-8 border-primary/10 bg-gradient-to-r from-primary/5 to-secondary/20 shadow-soft",children:e.jsx(k,{className:"p-5 sm:p-6",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"p-3 rounded-xl bg-primary/10 flex-shrink-0",children:e.jsx(q,{className:"h-6 w-6 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground mb-1",children:"How to use this workbook"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Read a chapter in the e-book, then come back here to complete the matching exercise. Small, consistent steps create lasting confidence."})]})]})})}),e.jsxs(J,{value:t,onValueChange:i,className:"space-y-6",children:[e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-5 ga
68p-4",children:F.map(a=>{const c=a.icon,o=t===a.id;return e.jsxs("button",{onClick:()=>i(a.id),className:`text-left rounded-2xl p-4 transition-all border ${o?"bg-card border-primary shadow-soft ring-1 ring-primary/20":"bg-card/50 border-border hover:border-primary/30 hover:bg-card hover:shadow-soft"}`,children:[e.jsx("div",{className:`inline-flex p-2.5 rounded-xl mb-3 ${a.chip}`,children:e.jsx(c,{className:"h-5 w-5"})}),e.jsx("h3",{className:`font-semibold text-sm mb-1 ${o?"text-foreground":"text-muted-foreground"}`,children:a.label}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed hidden sm:block",children:a.description})]},a.id)})}),e.jsxs("div",{className:"flex items-center gap-3 pb-2",children:[e.jsx("div",{className:`inline-flex p-2 rounded-xl ${r.chip}`,children:(()=>{const a=r.icon;return e.jsx(a,{className:"h-5 w-5"})})()}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-foreground",children:r.label}),e.jsx("p",{className:"text-sm text-muted-foreground",children:r.description})]})]}),e.jsx(N,{value:"daily",className:"mt-0",children:e.jsx(Q,{})}),e.jsx(N,{value:"weekly",className:"mt-0",children:e.jsx(Z,{})}),e.jsx(N,{value:"boundaries",className:"mt-0",children:e.jsx(X,{})}),e.jsx(N,{value:"selfcare",className:"mt-0",children:e.jsx(ee,{})}),e.jsx(N,{value:"journal",className:"mt-0",children:e.jsx(ae,{})})]})]})]})}export{ve 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.