{"version":3,"file":"Lessons_List_Fresh.BnOS7OXx.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/XhsMG34PgJExgca8IriJ/KUK36Xrd20KuolTtaxL3/Lessons_List_Fresh.js"],"sourcesContent":["// CIAB_RUNTIME_V2 · presentation adapter; Course in a Box owns the wire contract\n// The course browse list: every module, every lesson, drawn from the dashboard.\n//\n// WHAT THIS REPLACES. The module cards used to be five component instances placed on the\n// canvas by hand, each with its name typed into it, each holding a CMS list filtered to that\n// name. Adding a module meant duplicating a component; renaming one meant editing a prop and\n// remembering to edit the matching CMS field on every lesson. The list of modules was a\n// design decision that happened to double as data.\n//\n// It is data now. The Worker returns the course already grouped, and this draws exactly what\n// it is handed:\n//   • no modules typed anywhere → one flat list of lessons, no headings, no \"Other\" group\n//   • one module typed          → one openable module of that name\n//   • three modules typed       → three, in the order they were dragged in the dashboard\n//\n// WHY A CODE COMPONENT AND NOT A CMS LIST. Grouping by a field is the one thing a Framer\n// collection list cannot do, and the CMS-native way to express it — a Modules collection\n// referenced from Videos — needs a third collection that the plan does not allow. This does\n// not need the CMS at all: the Worker is already the source of truth for what a lesson is.\n//\n// THE FILTERS ARE PART OF IT. They used to be a second component sitting beside a native\n// CMS list, finding the owner's cards in the DOM and decorating them, because that list was\n// not ours to render. It is ours now, so a lesson's saved/completed state is drawn where the\n// lesson is drawn — no DOM hunting, no two components to keep in step, no card that a\n// restyle can hide from its own filter. Set Show Filters off and it is a plain list.\n//\n// A LESSON MAY BE LISTED BUT NOT YET OPEN. Two different reasons, both decided elsewhere and\n// both arriving as `locked`: a prerequisite the member has not finished, and a lesson whose\n// absolute or member-relative release boundary has not arrived. `availableLabel` is the\n// exact local date and time, already worded by gate.js\n// so every site says it the same way. A locked row is drawn as text, never as a link: the\n// Worker refuses the lesson either way, and a link into a refusal is an error where a\n// countdown belongs. Both release modes stay visible so members can see what is coming.\n//\n// THIS FILE DECIDES NOTHING. It draws. The runtime hands back groups that are already\n// grouped, lessons that already carry their href and their duration label, and the choice\n// between \"flat list\" and \"modules\" already made. That split is not tidiness: a component on\n// a remixed site is frozen the moment it ships, so anything that might ever need fixing —\n// how a lesson page is addressed, how a duration reads, what an empty module list means,\n// whether a lesson is open yet — has to live in gate.js where a fix reaches every site on\n// reload. An earlier draft of this file built its own URLs and formatted its own durations;\n// both were exactly the mistake this architecture exists to prevent.\n//\n// @framerSupportedLayoutWidth any-prefer-fixed\n// @framerSupportedLayoutHeight auto\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/* ═══ CIAB MEMBER NOTICE — v1 ═══════════════════════════════════════════════════\n * ONE SIGNED-OUT STATE, IDENTICAL IN EVERY CONTENT COMPONENT.\n *\n * \"Not signed in\" is ONE condition, and it used to look like a different problem in\n * every component: \"Members only; sign in to see your downloads.\" on the download\n * list, \"Sign in to read\" on a handout, \"Members only; please sign in with your\n * account.\" on the calendar, an enabled Join button on the Discord card, and on the\n * quiz \"There's no quiz for this lesson.\" — telling a signed-out visitor the owner\n * had not made one. The lesson list had no signed-out state at all, so it surfaced as\n * \"Couldn't load your lessons just now\", which reads as a fault on our side.\n *\n * A black-box audit of a live course on 2026-09-16 hit exactly that: one cause, five\n * different screens, not one of which said \"you are signed out\".\n *\n * TWO STATES, KEPT APART. Signed out is a conversion moment, not an error: neutral\n * wording, no alarm. Signed in but unverified is a different fact with a different\n * remedy, and says so.\n *\n * THIS BLOCK IS BYTE-IDENTICAL EVERYWHERE IT APPEARS. Framer code files in this\n * project are standalone by design — nothing imports across them, and a remixed site\n * freezes its own copies — so it is duplicated rather than shared, and\n * scripts/check-framer-member-notice.mjs fails the build when two copies drift.\n * Change it in framer-backups/2026-09-17-signed-out-state/member-notice.block.tsx and\n * re-push every component; never patch one copy in place.\n * ══════════════════════════════════════════════════════════════════════════════ */const CIAB_NOTICE_VERSION=1;const CIAB_SIGNED_OUT_TITLE=\"Members only\";const CIAB_SIGNED_OUT_BODY=\"Sign in with the email on your account to unlock this.\";const CIAB_NOT_MEMBER_TITLE=\"We couldn’t verify your membership\";const CIAB_NOT_MEMBER_BODY=\"Make sure you’re signed in with the email you bought with.\";// The site's own palette. Tokens first so the card follows the owner's theme; the\n// hex fallbacks are only for a canvas with no tokens bound.\nconst CIAB_NOTICE_TOKENS={surface:\"var(--token-f9534c09-c48f-4383-adc7-4cd5f63d6167, #f5f5f5)\",strong:\"var(--token-381f1787-2f34-4727-8482-6e1ec46c42f3, #ececec)\",border:\"var(--token-3b223e10-688b-4fcf-bff4-316f317c19ee, #e5e5e5)\",text:\"var(--token-4689593b-c0f7-4592-9666-b03beddeb64f, #0a0a0a)\",muted:\"var(--token-ecf01b16-bd24-46d8-b54d-1286e9d2cfe8, #6b6b6b)\",font:\"Inter, system-ui, -apple-system, sans-serif\"};function CiabNoticeGlyph({color}){return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:22,height:22,fill:\"none\",stroke:color,strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"7\",r:\"4\"})]});}/* The one card. `style` is typed loosely on purpose: this block carries no imports so\n   it can be pasted into any component unchanged, and CSSProperties is not in scope in\n   all of them. */function CiabMemberNotice({radius=16,title=CIAB_SIGNED_OUT_TITLE,body=CIAB_SIGNED_OUT_BODY,style}){const t=CIAB_NOTICE_TOKENS;return /*#__PURE__*/_jsxs(\"div\",{role:\"status\",style:{width:\"100%\",minHeight:150,borderRadius:Math.max(0,radius),background:t.surface,border:`1px solid ${t.border}`,padding:20,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:12,fontFamily:t.font,color:t.text,textAlign:\"center\",boxSizing:\"border-box\",...style},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:46,height:46,borderRadius:12,background:t.strong,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(CiabNoticeGlyph,{color:t.muted})}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:15,fontWeight:600},children:title}),body?/*#__PURE__*/_jsx(\"span\",{style:{fontSize:13,lineHeight:1.45,color:t.muted,maxWidth:340},children:body}):null]});}/* Shown while the session is still resolving. A component must not draw a denial it\n   cannot yet justify — the alternative is every gated surface flashing \"Members only\"\n   at a member who IS signed in, on every page load. */function CiabSessionSkeleton({radius=16,style}){const t=CIAB_NOTICE_TOKENS;return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"100%\",minHeight:150,borderRadius:Math.max(0,radius),background:t.surface,border:`1px solid ${t.border}`,padding:20,boxSizing:\"border-box\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:14,borderRadius:8,background:t.strong}})});}/* ═══ END CIAB MEMBER NOTICE ═══════════════════════════════════════════════════ *//* WAIT FOR THE RUNTIME; DO NOT ASSUME IT.\n *\n * gate.js publishes __CIAB_RUNTIME__ and, at the same moment, a resolved\n * __CIAB_RUNTIME_READY__ promise plus a ciab:runtime-ready event. Today the gate tag is\n * render-blocking in <head>, so the runtime is always present by the time this mounts —\n * which is exactly why every component was written to read it once and give up when it was\n * missing. That guarantee is being removed so the page can render instead of sitting blank,\n * and a component that reads once at mount would lose a race it never declared and tell the\n * member their course needs updating.\n *\n * Resolves on whichever side of the announcement this mounted, and gives up after a bounded\n * wait so a site whose gate.js never arrives fails visibly rather than spinning forever. */function ciabRuntimeReady(timeoutMs=1e4){if(typeof window===\"undefined\")return Promise.resolve(null);const w=window;if(w.__CIAB_RUNTIME__)return Promise.resolve(w.__CIAB_RUNTIME__);if(w.__CIAB_RUNTIME_READY__)return w.__CIAB_RUNTIME_READY__;return new Promise(resolve=>{let settled=false;const finish=value=>{if(settled)return;settled=true;window.removeEventListener(\"ciab:runtime-ready\",onReady);resolve(value||w.__CIAB_RUNTIME__||null);};const onReady=e=>finish(e&&e.detail);window.addEventListener(\"ciab:runtime-ready\",onReady);setTimeout(()=>finish(null),timeoutMs);});}function ciabRuntime(){return typeof window!==\"undefined\"?window.__CIAB_RUNTIME__:null;}/* The project's own tokens, with the template's values as fallbacks. A remixed site that\n   renamed or re-themed its tokens keeps working; one that deleted them still renders. *//* THE THEME IS THE DEFAULT, NOT A FALLBACK OF LAST RESORT.\n   Every colour below resolves to the project's own token unless the canvas overrides it, so\n   a site that re-themes moves this component with it and nobody has to remember to update a\n   prop. An override is for when you want THIS list to differ — not for making it match. */const TOKENS={accent:\"var(--token-b066ed2d-6422-475f-8800-d7db5dc657b7, #5b8def)\",accentSoft:\"var(--token-b27c8676-dc8a-418a-a176-6f95c382d999, rgba(91,141,239,0.12))\",text:\"var(--token-4689593b-c0f7-4592-9666-b03beddeb64f, #0a0a0a)\",muted:\"var(--token-ecf01b16-bd24-46d8-b54d-1286e9d2cfe8, #6b6b6b)\",border:\"var(--token-3b223e10-688b-4fcf-bff4-316f317c19ee, #e5e5e5)\",surface:\"var(--token-90fc2397-6800-4224-90db-5f2c23713f8c, rgba(255,255,255,0.72))\"};// An empty control means \"leave it to the theme\", which is why every colour default is \"\".\nconst pick=(override,token)=>override&&override.trim()?override:token;const FONT=\"Inter, system-ui, -apple-system, sans-serif\";/* The search box is themed from the same tokens as the cards, but two of its states can\n   only be reached from a stylesheet. The placeholder inherits `currentColor` so it tracks\n   the resolved text token in either theme instead of falling back to the browser's own\n   grey, and focus is drawn with the accent rather than the UA focus ring. */const SEARCH_STYLE_ID=\"ciab-lesson-search\";const SEARCH_CSS=`\n.ciab-search-input::placeholder{ color:currentColor; opacity:.5; }\n.ciab-search-input:focus{ border-color:var(--ciab-accent); box-shadow:0 0 0 3px var(--ciab-accent-soft); }\n.ciab-search-clear{ opacity:.6; transition:opacity .16s ease; }\n.ciab-search-clear:hover{ opacity:1; }\n`;const HEART=\"M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1.1 1L12 21l7.7-7.6 1.1-1a5.5 5.5 0 0 0 0-7.8z\";const CHECK=\"M20 6L9 17l-5-5\";// Drawn only on a row that is not open yet, in place of the play triangle.\nconst LOCK=\"M6 10V8a6 6 0 1 1 12 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h8V8a4 4 0 1 0-8 0z\";function SearchEmpty({text,onClear,skin}){const{T}=skin;return /*#__PURE__*/_jsxs(\"div\",{style:{color:T.muted,fontSize:14,padding:\"8px 2px\",display:\"flex\",alignItems:\"center\",gap:10,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"span\",{children:text}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:onClear,style:{border:\"1px solid \"+T.border,background:\"transparent\",color:T.text,borderRadius:999,fontSize:12,padding:\"4px 10px\",cursor:\"pointer\",fontFamily:FONT},children:\"Clear search\"})]});}/* The one sentence explaining why a row is not open. The runtime's own wording wins; the\n   progression fallbacks exist because those two reasons carry no label of their own. */function lockSentence(lesson){if(lesson.availableLabel)return lesson.availableLabel;if(lesson.lockReason===\"previous_module_incomplete\")return\"Finish the module before this one\";if(lesson.lockReason===\"previous_lesson_incomplete\")return\"Finish the lesson before this one\";return\"Not available yet\";}/* Canvas preview data. Framer renders components in the editor with no runtime and no\n   session, and an empty box there reads as \"this is broken\" rather than \"this needs a\n   member\". The shape is identical to the wire shape so the preview cannot drift from it. */// href is \"#\" on purpose: the editor never follows it, and a plausible-looking URL here\n// would be this file inventing one — the exact thing it must not do.\nconst DESC=\"A short lesson description, the way the dashboard sends one.\";const P=(slug,title,durationLabel,hasHandout=false,lock)=>/* Both description shapes, exactly as the runtime sends them: `description` is HTML\n       because LessonHeader injects it, `descriptionText` is the same words flattened for\n       anything that wants words. This list only searches them. */({slug,title,href:\"#\",durationLabel,hasHandout,description:\"<p>\"+DESC+\"</p>\",descriptionText:DESC,locked:!!lock,lockReason:lock?lock.reason||\"not_released_yet\":\"\",availableLabel:lock?lock.label||\"\":\"\"});const PREVIEW_MARKS={welcome:{done:true},refining:{favorite:true}};/* One locked lesson of each kind in the preview, so both states are designable on the\n   canvas instead of only appearing on a live site with a real member. */const PREVIEW_GROUPS=[{name:\"Starting\",lessons:[P(\"welcome\",\"Welcome & how to use this course\",\"4:10\"),P(\"the-setup\",\"Setting up your workspace\",\"6:52\")]},{name:\"Developing\",lessons:[P(\"first-pass\",\"Your first pass\",\"10:20\"),P(\"refining\",\"Refining what you made\",\"9:05\",true),P(\"going-deeper\",\"Going deeper\",\"12:40\",false,{label:\"Opens in 4 days\"})]},{name:\"Testing\",lessons:[P(\"review\",\"Reviewing your work\",\"5:00\",false,{reason:\"previous_lesson_incomplete\"})]}];/* `lessons` is the flat list the runtime always sends alongside the groups — the filter\n   counts read from it, so leaving it empty here made the preview show \"Saved 0\" beside a\n   lesson that was visibly saved. Derived rather than typed twice. */const PREVIEW={grouped:true,groups:PREVIEW_GROUPS,lessons:PREVIEW_GROUPS.flatMap(g=>g.lessons),count:PREVIEW_GROUPS.reduce((n,g)=>n+g.lessons.length,0)};export default function LessonList(props){const adapted={...props};const aliases={openable:\"publicExpandable\",statRow:\"publicShowStats\",lessons:\"publicLessonsStat\",hours:\"publicHoursStat\",howMany:\"previewCount\",minTileWidth:\"previewMinWidth\",tileMeta:\"previewShowMeta\",card:\"surface\",border:\"borderColor\",corner:\"radius\",gap:\"cardGap\",padding:\"cardPadding\",text:\"textColor\",secondaryText:\"mutedColor\",moduleSize:\"titleSize\",glass:\"blur\",moduleLabel:\"modulePrefix\",numberThem:\"numberModules\",oneAtATime:\"singleOpen\",search:\"showSearch\",searchHint:\"searchPlaceholder\",noMatches:\"searchEmptyText\",savedLabel:\"favoritesLabel\",whyLocked:\"showLockReason\",watchPage:\"lessonPath\"};for(const[oldName,newName]of Object.entries(aliases)){if(adapted[newName]===undefined&&props[oldName]!==undefined)adapted[newName]=props[oldName];}if(adapted.publicModules===undefined&&Array.isArray(props.modules))adapted.publicModules=props.modules;if(adapted.publicSource===undefined&&props.modulesFrom)adapted.publicSource=props.modulesFrom===\"The dashboard\"?\"dashboard\":\"typed\";const{// Visual\naccent=\"\",surface=\"\",borderColor=\"\",textColor=\"\",mutedColor=\"\",radius=16,cardGap=16,cardPadding=22,blur=true,titleSize=20,lessonSize=15,// Behaviour / content\nlessonPath=\"/videos/watch\",modulePrefix=\"MODULE\",numberModules=true,openFirst=true,singleOpen=false,emptyText=\"Your lessons will appear here.\",showFilters=true,showSearch=true,searchPlaceholder=\"Search lessons\",searchEmptyText=\"No lessons match that search.\",allLabel=\"All lessons\",favoritesLabel=\"Saved\",doneLabel=\"Completed\",dimCompleted=true,showCounts=true,showLockReason=true,// Preview variant\nvariant=\"full\",previewCount=4,previewMinWidth=240,previewShowMeta=true,// Curriculum (public) variant\npublicSource=\"typed\",publicModules=[],publicShowStats=false,publicLessonsStat=\"\",publicHoursStat=\"\",publicExpandable=true,style}=adapted;/* One resolved palette, built once per render and threaded down, so a colour is read\n       from the same place whether it came from the canvas or the theme. */const T={accent:pick(accent,TOKENS.accent),accentSoft:accent&&accent.trim()?accent+\"22\":TOKENS.accentSoft,text:pick(textColor,TOKENS.text),muted:pick(mutedColor,TOKENS.muted),border:pick(borderColor,TOKENS.border),surface:pick(surface,TOKENS.surface)};const skin={T,radius,cardPadding,blur,titleSize,lessonSize,showLockReason};const isCanvas=RenderTarget.current()!==RenderTarget.preview;const[data,setData]=useState(isCanvas?PREVIEW:null);const[failed,setFailed]=useState(false);const[loadFault,setLoadFault]=useState(null);/* SIGNED OUT IS NOT A FAILED LOAD. Every curriculum route needs a member, so a\n       visitor with no session got a refusal, which became `failed`, which rendered\n       \"Couldn't load your lessons just now\" — our fault, apparently, to someone who\n       had simply never signed in. A 2026-09-16 audit of a live course read exactly\n       that on /videos and /start-here. It is its own state now. */const[session,setSession]=useState(isCanvas?\"member\":\"resolving\");const[open,setOpen]=useState({});const[marks,setMarks]=useState(isCanvas?PREVIEW_MARKS:{});const[mode,setMode]=useState(\"all\");const[query,setQuery]=useState(\"\");/* The public variant with typed-in modules needs nothing from the runtime, and asking\n       anyway would fire a guaranteed 401 on every view of the sales page. Declared once\n       here so both effects below can skip together. */const needsRuntime=!(variant===\"public\"&&publicSource!==\"dashboard\");useEffect(()=>{if(isCanvas||!needsRuntime)return;let live=true;let offCurriculum=null;/* WAITS for the runtime rather than reading it at mount. This used to run the\n           instant the component mounted and call it a failure when the runtime was not\n           already there, which is safe only while the gate tag blocks in <head>. The moment\n           it stops blocking, that reads as \"couldn't load your lessons\" on a healthy site,\n           and the effect never retries. The list now stays in its loading state until the\n           answer arrives, which is what a member should be seeing anyway. */ciabRuntimeReady().then(rt=>{if(!live)return;if(!rt||typeof rt.curriculum!==\"function\"){/* Genuinely absent, or too old to answer. Saying so beats an empty list:\n                   the fix is ours to ship, not the owner's to find. */setFailed(true);return;}if(typeof rt.onCurriculumChange===\"function\"){offCurriculum=rt.onCurriculumChange(next=>{if(!live||!next)return;if(next.failed){if(next.access===\"signedOut\")setSession(\"anonymous\");else if(next.access===\"notMember\")setSession(\"notMember\");else{setLoadFault(next.fault||null);setFailed(true);}return;}setFailed(false);setLoadFault(null);setData(next);});}const load=()=>{if(!live)return;setSession(\"member\");// The lesson path is passed IN so the runtime builds the URLs — this file\n// never concatenates one.\nrt.curriculum({lessonPath}).then(d=>{if(!live)return;if(d&&d.failed){if(d.access===\"signedOut\")setSession(\"anonymous\");else if(d.access===\"notMember\")setSession(\"notMember\");else{setLoadFault(d.fault||null);setFailed(true);}}else setData(d||{grouped:false,groups:[],lessons:[],count:0});}).catch(error=>{if(live){setLoadFault(error?.fault||null);setFailed(true);}});};/* ASK WHO THIS IS BEFORE ASKING FOR THEIR LESSONS. The runtime settles the\n               session on every page load, so this costs no request. `resolving` holds\n               the list in its loading state rather than flashing a members-only notice\n               at somebody who is in fact signed in, and the load runs from whichever\n               path reaches \"member\" — there is no second effect and no second fetch. */const phase=typeof rt.sessionPhase===\"function\"?String(rt.sessionPhase()||\"\"):\"member\";if(phase===\"anonymous\"){setSession(\"anonymous\");return;}if(phase===\"resolving\"){if(typeof rt.whenSessionSettled===\"function\"){rt.whenSessionSettled().then(next=>{if(!live)return;const settled=String(next||rt.sessionPhase?.()||\"\");if(settled===\"anonymous\")setSession(\"anonymous\");else load();});return;}// A runtime too old to settle: behave exactly as this file did before.\nload();return;}load();});return()=>{live=false;if(typeof offCurriculum===\"function\")offCurriculum();};},[isCanvas,lessonPath,needsRuntime]);/* A member's own hearts and ticks. The runtime keeps one copy for the whole page and\n       announces changes, so pressing \"done\" on a lesson page updates this list too without\n       either component knowing the other exists. */useEffect(()=>{if(isCanvas||!needsRuntime)return;let live=true;/* The unsubscribe handle is assigned asynchronously now, so cleanup closes over the\n           VARIABLE rather than a value: unmounting before the runtime lands must still\n           cancel the listener that lands after it. */let off=null;ciabRuntimeReady().then(rt=>{if(!live||!rt||typeof rt.lessonState!==\"function\")return;rt.lessonState().then(m=>{if(live)setMarks(m||{});}).catch(()=>{});if(typeof rt.onLessonState===\"function\"){off=rt.onLessonState(m=>{if(live)setMarks(m||{});});}});return()=>{live=false;if(typeof off===\"function\")off();};},[isCanvas]);useEffect(()=>{if(typeof document===\"undefined\"||document.getElementById(SEARCH_STYLE_ID))return;const el=document.createElement(\"style\");el.id=SEARCH_STYLE_ID;el.textContent=SEARCH_CSS;document.head.appendChild(el);},[]);// First module open by default: a browse page whose every group is shut looks empty.\nuseEffect(()=>{if(!data||!data.grouped||!openFirst)return;const first=data.groups.find(g=>!g.loose);if(first)setOpen(o=>o[first.name]===undefined?{...o,[first.name]:true}:o);},[data,openFirst]);const toggle=name=>setOpen(o=>singleOpen?{[name]:!o[name]}:{...o,[name]:!o[name]});const wrap={display:\"flex\",flexDirection:\"column\",gap:cardGap,width:\"100%\",fontFamily:FONT,...style};/* ── CURRICULUM (PUBLIC) VARIANT ───────────────────────────────────────────\n       For a landing page: the shape of the course, to someone who has not bought it.\n       No links, no session, no request — and that last one is not a preference.\n\n       Every curriculum route on the Worker runs verifyMember and answers 401 without a\n       token; /hero-video is the single unauthenticated route in the whole service. A\n       visitor reading the sales page has no token, so anything that fetched here would\n       render an empty box on the one page that has to sell the thing.\n\n       So the modules are TYPED IN by default and this returns before any of the\n       runtime work below. \"From the dashboard\" is offered for placements that do have a\n       session (a members' overview, the canvas), and falls back to the typed list when\n       the fetch comes back empty — so the same instance degrades instead of blanking. */if(variant===\"public\"){const typed=(publicModules||[]).filter(m=>m&&String(m.name||\"\").trim());const fromData=publicSource===\"dashboard\"&&data&&data.grouped?data.groups.filter(g=>!g.loose).map(g=>({name:g.name,subtitle:\"\",detail:\"\",lessons:g.lessons.length})):[];const modules=fromData.length?fromData:typed.map(m=>({name:String(m.name||\"\"),subtitle:String(m.subtitle||\"\"),detail:String(m.detail||\"\"),lessons:0}));if(!modules.length){return /*#__PURE__*/_jsx(\"div\",{style:{...wrap,color:T.muted,fontSize:14},children:\"Add your modules in the component's Modules control.\"});}const lessonsStat=String(publicLessonsStat||\"\").trim()||(fromData.length?String(fromData.reduce((n,m)=>n+m.lessons,0)):\"\");return /*#__PURE__*/_jsxs(\"div\",{style:wrap,children:[publicShowStats?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:10,marginBottom:4},children:[/*#__PURE__*/_jsx(PublicStat,{value:String(modules.length),label:modules.length===1?\"module\":\"modules\",skin:skin}),lessonsStat?/*#__PURE__*/_jsx(PublicStat,{value:lessonsStat,label:\"lessons\",skin:skin}):null,String(publicHoursStat||\"\").trim()?/*#__PURE__*/_jsx(PublicStat,{value:String(publicHoursStat).trim(),label:\"of video\",skin:skin}):null]}):null,modules.map((m,i)=>/*#__PURE__*/_jsx(PublicModule,{index:i,module:m,skin:skin,expandable:publicExpandable&&!!m.detail,open:!!open[m.name],onToggle:()=>toggle(m.name),numberModules:numberModules},m.name+i))]});}/* Derived ABOVE the early returns because the empty-course branch reads it. A const\n       read before its own declaration is a dead-zone crash, not a hoisting nicety. */const norm=s=>String(s==null?\"\":s).toLowerCase().normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g,\"\");const q=norm(query).trim();if(session===\"anonymous\")return /*#__PURE__*/_jsx(\"div\",{style:wrap,children:/*#__PURE__*/_jsx(CiabMemberNotice,{radius:radius})});if(session===\"notMember\")return /*#__PURE__*/_jsx(\"div\",{style:wrap,children:/*#__PURE__*/_jsx(CiabMemberNotice,{radius:radius,title:CIAB_NOT_MEMBER_TITLE,body:CIAB_NOT_MEMBER_BODY})});if(failed)return /*#__PURE__*/_jsxs(\"div\",{role:\"alert\",style:{...wrap,color:T.text,fontSize:14},children:[/*#__PURE__*/_jsx(\"strong\",{children:loadFault?.title||\"Lessons unavailable\"}),/*#__PURE__*/_jsx(\"span\",{style:{color:T.muted,marginTop:5},children:loadFault?.member||\"We couldn't load your lessons. Please try again.\"})]});if(!data)return /*#__PURE__*/_jsx(\"div\",{style:{...wrap,color:T.muted,fontSize:14},children:\"Loading…\"});if(!data.count)return /*#__PURE__*/_jsx(\"div\",{style:{...wrap,color:T.muted,fontSize:14},children:emptyText});const markOf=slug=>marks[String(slug||\"\").toLowerCase()]||{};/* Title, description and the module a lesson sits in. The module name is PASSED IN:\n       a lesson does not carry one, because grouping is the runtime's answer and lives in\n       `groups`. An earlier draft read `l.module`, a field that has never existed, so a\n       search for a module name silently matched nothing. */const matches=(l,moduleName)=>{if(!q)return true;return norm(l.title).includes(q)||norm(l.descriptionText).includes(q)||norm(moduleName).includes(q);};/* Always called through an arrow: `.filter(keep)` would pass the array index as\n       `moduleName` and match every lesson against \"0\". */const keep=(l,moduleName)=>{if(!matches(l,moduleName))return false;if(mode===\"favorites\")return!!markOf(l.slug).favorite;if(mode===\"done\")return!!markOf(l.slug).done;return true;};/* The counts beside the tabs follow the search. \"Saved 3\" above a searched list showing\n       one is a lie about the list it labels. Each lesson is tested with its own module name\n       so a search naming a module counts the same lessons the list goes on to show. */const moduleOf={};if(data.grouped){for(const g of data.groups)if(!g.loose)for(const l of g.lessons)moduleOf[l.slug]=g.name;}const searched=data.lessons.filter(l=>matches(l,moduleOf[l.slug]));const favCount=searched.filter(l=>markOf(l.slug).favorite).length;const doneCount=searched.filter(l=>markOf(l.slug).done).length;/* ── PREVIEW VARIANT ───────────────────────────────────────────────────────\n       A short tease of the opening lessons, for a \"start with these\" block on a\n       welcome page. It is the SAME data and the SAME hrefs as the full list —\n       clicking a tile opens the lesson exactly as clicking a row does — so this\n       cannot drift from the real curriculum or link somewhere the list would not.\n\n       Modules are deliberately ignored here: a tease is the first few lessons in\n       course order, not a map of the syllabus. Search and filters are dropped for\n       the same reason; a four-tile block does not need to be narrowed. */if(variant===\"preview\"){const items=data.lessons.slice(0,Math.max(1,previewCount));if(!items.length){return /*#__PURE__*/_jsx(\"div\",{style:{...wrap,color:T.muted,fontSize:14},children:emptyText});}return /*#__PURE__*/_jsx(\"div\",{style:{...wrap,display:\"grid\",// auto-fit rather than a column count: the block sits in a\n// content column that changes width with the breakpoint, and\n// this collapses to one tile on a phone without a second prop.\ngridTemplateColumns:\"repeat(auto-fit, minmax(\"+Math.max(140,previewMinWidth)+\"px, 1fr))\",gap:cardGap},children:items.map(l=>/*#__PURE__*/_jsx(PreviewTile,{lesson:l,mark:markOf(l.slug),skin:skin,showMeta:previewShowMeta,dimCompleted:dimCompleted,moduleName:moduleOf[l.slug]},l.slug))});}/* Drawn as one of the cards rather than as a form control: same surface, same border,\n       same corner radius and the same blur, so it reads as the top of the list instead of\n       as a browser widget parked above it. */const search=showSearch?/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",alignItems:\"center\"},children:[/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:\"16\",height:\"16\",fill:\"none\",\"aria-hidden\":\"true\",stroke:T.muted,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{position:\"absolute\",left:15,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"7\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M20.2 20.2l-3.6-3.6\"})]}),/*#__PURE__*/_jsx(\"input\",{className:\"ciab-search-input\",value:query,onChange:e=>setQuery(e.target.value),placeholder:searchPlaceholder,\"aria-label\":searchPlaceholder,spellCheck:false,style:{width:\"100%\",boxSizing:\"border-box\",height:44,padding:query?\"0 42px 0 41px\":\"0 15px 0 41px\",fontFamily:\"inherit\",fontSize:14,color:T.text,background:T.surface,backdropFilter:blur?\"blur(16px)\":undefined,WebkitBackdropFilter:blur?\"blur(16px)\":undefined,border:\"1px solid \"+T.border,borderRadius:radius,outline:\"none\",transition:\"border-color .16s ease, box-shadow .16s ease\",[\"--ciab-accent\"]:T.accent,[\"--ciab-accent-soft\"]:T.accentSoft}}),query?/* A way back out. Clearing by hand is fiddly on a phone, and a search that\n                   cannot be undone in one tap reads as a filter you are stuck in. *//*#__PURE__*/_jsx(\"button\",{className:\"ciab-search-clear\",type:\"button\",onClick:()=>setQuery(\"\"),\"aria-label\":\"Clear search\",style:{position:\"absolute\",right:8,width:28,height:28,display:\"grid\",placeItems:\"center\",cursor:\"pointer\",background:\"none\",border:0,borderRadius:999,color:T.muted,fontSize:17,lineHeight:1,padding:0},children:\"\\xd7\"}):null]}):null;const bar=showFilters?/*#__PURE__*/_jsx(FilterBar,{skin:skin,mode:mode,setMode:setMode,showCounts:showCounts,labels:{all:allLabel,favorites:favoritesLabel,done:doneLabel},counts:{all:searched.length,favorites:favCount,done:doneCount}}):null;const rowProps={marks,dimCompleted,markOf,skin};// Flat or grouped is the runtime's answer, not a rule applied here.\nif(!data.grouped){const shown=data.lessons.filter(l=>keep(l));const noSearchMatches=!!q&&shown.length===0;return /*#__PURE__*/_jsxs(\"div\",{style:wrap,children:[search,bar,shown.length?/*#__PURE__*/_jsx(Card,{skin:skin,children:/*#__PURE__*/_jsx(Lessons,{lessons:shown,padded:true,...rowProps})}):noSearchMatches?/*#__PURE__*/_jsx(SearchEmpty,{text:searchEmptyText,onClear:()=>setQuery(\"\"),skin:skin}):/*#__PURE__*/_jsx(Empty,{mode:mode,skin:skin})]});}/* In a filtered view a module with nothing left is dropped rather than shown empty:\n       \"Saved\" should be the lessons you saved, not a map of the course with three headings\n       and no lessons under them. Numbering follows what is visible for the same reason. */const groups=data.groups.map(g=>({...g,lessons:g.lessons.filter(l=>keep(l,g.loose?undefined:g.name))})).filter(g=>g.lessons.length>0);if(!groups.length)return /*#__PURE__*/_jsxs(\"div\",{style:wrap,children:[search,bar,q?/*#__PURE__*/_jsx(SearchEmpty,{text:searchEmptyText,onClear:()=>setQuery(\"\"),skin:skin}):/*#__PURE__*/_jsx(Empty,{mode:mode,skin:skin})]});let n=0;return /*#__PURE__*/_jsxs(\"div\",{style:wrap,children:[search,bar,groups.map(g=>g.loose?// No heading invented for these: they are the lessons in no module, and\n    // saying so with a card rather than a title is the honest presentation.\n    /*#__PURE__*/_jsx(Card,{skin:skin,children:/*#__PURE__*/_jsx(Lessons,{lessons:g.lessons,padded:true,...rowProps})},\"__loose\"):/*#__PURE__*/_jsx(ModuleCard,{group:g,index:n++,open:mode===\"all\"?!!open[g.name]:true,onToggle:()=>toggle(g.name),modulePrefix:modulePrefix,numberModules:numberModules,...rowProps},g.name))]});}/* A stat chip: the number first, the word under it. */function PublicStat({value,label,skin}){const{T,radius,blur}=skin;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:2,padding:\"14px 18px\",minWidth:96,borderRadius:radius,background:T.surface,backdropFilter:blur?\"blur(16px)\":undefined,WebkitBackdropFilter:blur?\"blur(16px)\":undefined,border:\"1px solid \"+T.border},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:26,fontWeight:700,color:T.text,lineHeight:1.1},children:value}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12.5,color:T.muted},children:label})]});}/* A module row: number, name, one line under it, and a chevron only when there is\n   something to open. A chevron that reveals nothing is a promise the page breaks. */function PublicModule({index,module:m,skin,expandable,open,onToggle,numberModules}){const{T,radius,blur,cardPadding,titleSize}=skin;const[hover,setHover]=useState(false);const num=String(index+1).padStart(2,\"0\");const panelId=\"ciab-public-module-\"+String(m.name||index).replace(/[^a-zA-Z0-9_-]/g,\"-\");const body=/*#__PURE__*/_jsxs(_Fragment,{children:[numberModules?/*#__PURE__*/_jsx(\"span\",{style:{flex:\"0 0 auto\",fontSize:13,fontWeight:700,color:T.accent,fontVariantNumeric:\"tabular-nums\",letterSpacing:\"0.04em\",minWidth:26},children:num}):null,/*#__PURE__*/_jsxs(\"span\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:titleSize,fontWeight:600,color:T.text,lineHeight:1.3},children:m.name}),m.subtitle?/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:13.5,color:T.muted,marginTop:3},children:m.subtitle}):null]}),expandable?/*#__PURE__*/_jsx(Chevron,{open:open,skin:skin}):null]});const shell={display:\"flex\",alignItems:\"center\",gap:16,width:\"100%\",boxSizing:\"border-box\",padding:cardPadding+\"px 24px\",borderRadius:radius,background:T.surface,backdropFilter:blur?\"blur(16px)\":undefined,WebkitBackdropFilter:blur?\"blur(16px)\":undefined,border:\"1px solid \"+(hover&&expandable?T.accent:T.border),textAlign:\"left\",font:\"inherit\",color:\"inherit\",transition:\"border-color .16s ease\"};return /*#__PURE__*/_jsxs(\"div\",{onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),children:[expandable?/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:onToggle,\"aria-expanded\":open,\"aria-controls\":panelId,style:{...shell,cursor:\"pointer\"},children:body}):/*#__PURE__*/_jsx(\"div\",{style:shell,children:body}),expandable?/*#__PURE__*/_jsx(\"div\",{id:panelId,hidden:!open,\"aria-hidden\":!open,style:{display:open?\"grid\":\"none\",gridTemplateRows:\"1fr\"},children:/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",minHeight:0},children:/*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 24px 4px\",fontSize:14,lineHeight:1.6,color:T.muted},children:m.detail})})}):null]});}/* One tile. Shaped like the \"where to go next\" cards a welcome page already uses —\n   chip, title, one line of meta — so the block reads as part of that page rather than\n   as a shrunken copy of the lesson list. */function PreviewTile({lesson,mark,skin,showMeta,dimCompleted,moduleName}){const{T,radius,blur,lessonSize,showLockReason}=skin;const[hover,setHover]=useState(false);const done=!!(mark&&mark.done);const fav=!!(mark&&mark.favorite);/* Not open yet — a prerequisite, or this member's own clock. A tile links exactly where\n       a row does, so it has to refuse in exactly the same place. */const locked=!!lesson.locked;const dim=done&&dimCompleted!==false;const reason=locked&&showLockReason!==false?lockSentence(lesson):\"\";const meta=reason||[moduleName,lesson.durationLabel].filter(Boolean).join(\" \\xb7 \");const Tag=locked?\"div\":\"a\";const linkProps=locked?{}:{href:lesson.href};return /*#__PURE__*/_jsxs(Tag,{...linkProps,\"aria-disabled\":locked?true:undefined,\"data-ciab-lesson\":lesson.slug,\"data-ciab-done\":done?\"1\":\"0\",\"data-ciab-favorite\":fav?\"1\":\"0\",\"data-ciab-locked\":locked?\"1\":\"0\",onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{display:\"flex\",alignItems:\"center\",gap:14,padding:\"16px 18px\",borderRadius:radius,textDecoration:\"none\",boxSizing:\"border-box\",cursor:locked?\"default\":\"pointer\",background:T.surface,backdropFilter:blur?\"blur(16px)\":undefined,WebkitBackdropFilter:blur?\"blur(16px)\":undefined,border:\"1px solid \"+(locked?T.accent:hover?T.accent:T.border),opacity:locked?.82:dim?hover?.85:.6:1,transition:\"border-color .16s ease, opacity .22s ease, transform .16s ease\",transform:hover&&!locked?\"translateY(-1px)\":\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:\"0 0 auto\",width:34,height:34,borderRadius:10,background:T.accentSoft,display:\"grid\",placeItems:\"center\"},children:locked?/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"13\",height:\"13\",fill:T.muted,\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:LOCK})}):/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"13\",height:\"13\",fill:T.accent,children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 5v14l11-7z\"})})}),/*#__PURE__*/_jsxs(\"span\",{style:{flex:1,minWidth:0,display:\"flex\",flexDirection:\"column\",gap:3},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:lessonSize,fontWeight:600,color:T.text,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:lesson.title||lesson.slug}),showMeta&&meta?/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12.5,color:T.muted,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:meta}):null]}),done?/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"15\",height:\"15\",fill:\"none\",stroke:T.accent,strokeWidth:\"3\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flex:\"0 0 auto\"},\"aria-label\":\"Completed\",children:/*#__PURE__*/_jsx(\"path\",{d:CHECK})}):fav?/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"15\",height:\"15\",fill:T.accent,stroke:\"none\",style:{flex:\"0 0 auto\"},\"aria-label\":\"Saved\",children:/*#__PURE__*/_jsx(\"path\",{d:HEART})}):null]});}function FilterBar({mode,setMode,labels,counts,showCounts,skin}){const{T,radius}=skin;const tabs=[[\"all\",labels.all,counts.all],[\"favorites\",labels.favorites,counts.favorites],[\"done\",labels.done,counts.done]];return /*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-flex\",alignSelf:\"flex-start\",gap:4,padding:4,background:T.surface,border:\"1px solid \"+T.border,borderRadius:999,backdropFilter:\"blur(16px)\",WebkitBackdropFilter:\"blur(16px)\"},children:tabs.map(([key,label,n])=>{const on=mode===key;return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>setMode(key),\"aria-pressed\":on,style:{display:\"inline-flex\",alignItems:\"center\",gap:6,padding:\"7px 14px\",borderRadius:999,border:0,cursor:\"pointer\",font:\"inherit\",fontSize:13,fontWeight:on?600:500,color:on?T.text:T.muted,background:on?T.accentSoft:\"transparent\",transition:\"background .16s ease, color .16s ease\"},children:[label,showCounts!==false?/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11.5,color:on?T.accent:T.muted,fontVariantNumeric:\"tabular-nums\"},children:n}):null]},key);})});}/* An empty FILTER is not an empty course, and saying \"no lessons\" here would read as\n   something being broken rather than as nothing being saved yet. */function Empty({mode,skin}){const{T}=skin;const text=mode===\"favorites\"?\"Nothing saved yet. Tap the heart on a lesson to keep it here.\":mode===\"done\"?\"Nothing marked complete yet.\":\"Your lessons will appear here.\";return /*#__PURE__*/_jsx(\"div\",{style:{color:T.muted,fontSize:14,padding:\"8px 2px\"},children:text});}function Card({children,skin}){const{T,radius,blur}=skin;return /*#__PURE__*/_jsx(\"div\",{style:{background:T.surface,backdropFilter:blur?\"blur(16px)\":undefined,WebkitBackdropFilter:blur?\"blur(16px)\":undefined,border:\"1px solid \"+T.border,borderRadius:radius,overflow:\"hidden\",display:\"flex\",flexDirection:\"column\"},children:children});}function ModuleCard(props){const{group:m,index,open,onToggle,modulePrefix,numberModules,...rowProps}=props;const{T,cardPadding,titleSize}=rowProps.skin;const label=numberModules?(modulePrefix?modulePrefix+\" \":\"\")+String(index+1).padStart(2,\"0\"):modulePrefix;const count=m.lessons.length;const panelId=\"ciab-module-\"+String(m.name||index).replace(/[^a-zA-Z0-9_-]/g,\"-\");return /*#__PURE__*/_jsxs(Card,{skin:rowProps.skin,children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:onToggle,\"aria-expanded\":open,\"aria-controls\":panelId,style:{display:\"flex\",alignItems:\"center\",gap:16,width:\"100%\",padding:cardPadding+\"px 24px\",background:\"transparent\",border:0,font:\"inherit\",color:\"inherit\",textAlign:\"left\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{flex:1,minWidth:0},children:[label?/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:11,fontWeight:600,letterSpacing:\"0.08em\",color:T.accent,textTransform:\"uppercase\",marginBottom:6},children:label}):null,/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:titleSize,fontWeight:600,color:T.text,lineHeight:1.25},children:m.name}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"block\",fontSize:13,color:T.muted,marginTop:4},children:[count,\" \",count===1?\"lesson\":\"lessons\"]})]}),/*#__PURE__*/_jsx(Chevron,{open:open,skin:rowProps.skin})]}),/*#__PURE__*/_jsx(\"div\",{id:panelId,hidden:!open,\"aria-hidden\":!open,style:{display:open?\"grid\":\"none\",gridTemplateRows:\"1fr\"},children:/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",minHeight:0},children:/*#__PURE__*/_jsx(Lessons,{lessons:m.lessons,padded:true,...rowProps})})})]});}function Chevron({open,skin}){const{T}=skin;return /*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"18\",height:\"18\",fill:\"none\",stroke:T.muted,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flex:\"0 0 auto\",transition:\"transform .22s ease\",transform:open?\"rotate(180deg)\":\"none\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\"})});}function Lessons({lessons,padded,markOf,dimCompleted,skin}){const{T}=skin;if(!lessons.length){return /*#__PURE__*/_jsx(\"div\",{style:{padding:padded?\"2px 24px 20px\":0,color:T.muted,fontSize:13},children:\"No lessons in this module yet.\"});}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,padding:padded?\"2px 24px 20px\":0},children:lessons.map(l=>/*#__PURE__*/_jsx(LessonRow,{lesson:l,mark:markOf?markOf(l.slug):{},dimCompleted:dimCompleted,skin:skin},l.slug))});}function LessonRow({lesson,mark,dimCompleted,skin}){const{T,lessonSize,showLockReason}=skin;const[hover,setHover]=useState(false);const time=lesson.durationLabel;const done=!!(mark&&mark.done);const fav=!!(mark&&mark.favorite);/* NOT OPEN YET, for either reason: a prerequisite the member has not finished, or a\n       lesson their own clock has not reached. gate.js decides which and words it — this only\n       has to not link it. A locked row that still linked would send a member to a page the\n       Worker refuses, which is an error where a countdown belongs. */const locked=!!lesson.locked;const reason=locked&&showLockReason!==false?lockSentence(lesson):\"\";/* A completed lesson is dimmed, not hidden or struck through: it stays readable and\n       still opens, because \"watched\" is not \"gone\". Hovering brings it back up so a member\n       re-reading their own course is not squinting at it. */const dim=done&&dimCompleted!==false;const Tag=locked?\"div\":\"a\";const linkProps=locked?{}:{href:lesson.href};return /*#__PURE__*/_jsxs(Tag,{...linkProps,\"aria-disabled\":locked?true:undefined,\"data-ciab-lesson\":lesson.slug,\"data-ciab-done\":done?\"1\":\"0\",\"data-ciab-favorite\":fav?\"1\":\"0\",\"data-ciab-locked\":locked?\"1\":\"0\",onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{display:\"flex\",alignItems:\"center\",gap:14,padding:\"12px 10px\",margin:\"0 -10px\",borderRadius:10,textDecoration:\"none\",cursor:locked?\"default\":\"pointer\",background:locked?T.accentSoft:hover?T.accentSoft:\"transparent\",opacity:locked?.82:dim?hover?.78:.45:1,transition:\"background .16s ease, opacity .22s ease\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:\"0 0 auto\",width:30,height:30,borderRadius:8,background:T.accentSoft,display:\"grid\",placeItems:\"center\"},children:locked?/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"12\",height:\"12\",fill:T.muted,\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:LOCK})}):/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"12\",height:\"12\",fill:T.accent,children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 5v14l11-7z\"})})}),/*#__PURE__*/_jsxs(\"span\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:lessonSize,fontWeight:500,color:T.text,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:lesson.title||lesson.slug}),reason?/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:12.5,color:T.muted,marginTop:2,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:reason}):null]}),fav?/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"15\",height:\"15\",fill:T.accent,stroke:\"none\",style:{flex:\"0 0 auto\"},\"aria-label\":\"Saved\",children:/*#__PURE__*/_jsx(\"path\",{d:HEART})}):null,done?/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"15\",height:\"15\",fill:\"none\",stroke:T.accent,strokeWidth:\"3\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flex:\"0 0 auto\"},\"aria-label\":\"Completed\",children:/*#__PURE__*/_jsx(\"path\",{d:CHECK})}):null,lesson.hasHandout?/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",width:\"14\",height:\"14\",fill:\"none\",stroke:T.muted,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flex:\"0 0 auto\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M14 2v6h6\"})]}):null,time?/*#__PURE__*/_jsx(\"span\",{style:{flex:\"0 0 auto\",fontSize:13,color:T.muted,fontVariantNumeric:\"tabular-nums\"},children:time}):null]});}const listOnly=p=>(p.variant||\"full\")!==\"full\";addPropertyControls(LessonList,{variant:{type:ControlType.Enum,title:\"Variant\",options:[\"full\",\"preview\",\"public\"],optionTitles:[\"Full list\",\"Preview tiles\",\"Curriculum (public)\"],defaultValue:\"full\",description:'Preview shows the opening lessons as tiles for a \"start with these\" block. Curriculum (public) is the landing-page version: module names only, no links, no sign-in, no request.'},publicSource:{type:ControlType.Enum,title:\"Modules from\",options:[\"typed\",\"dashboard\"],optionTitles:[\"Typed in below\",\"The dashboard\"],defaultValue:\"typed\",description:\"Typed in is the only one that works on a public page: every curriculum route needs a signed-in member. Use The dashboard only where a member is already signed in; it falls back to the typed list.\",hidden:p=>(p.variant||\"full\")!==\"public\"},publicModules:{type:ControlType.Array,title:\"Modules\",control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Name\",defaultValue:\"Getting your bearings\"},subtitle:{type:ControlType.String,title:\"Subtitle\",defaultValue:\"The mental model and the tools\"},detail:{type:ControlType.String,title:\"Detail\",defaultValue:\"\",displayTextArea:true,description:\"Optional. Shown when the row is opened; no detail means no chevron.\"}}},hidden:p=>(p.variant||\"full\")!==\"public\"},publicExpandable:{type:ControlType.Boolean,title:\"Openable\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\",hidden:p=>(p.variant||\"full\")!==\"public\"},publicShowStats:{type:ControlType.Boolean,title:\"Stat row\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Modules / lessons / hours above the list. Leave off if the page already has its own.\",hidden:p=>(p.variant||\"full\")!==\"public\"},publicLessonsStat:{type:ControlType.String,title:\"Lessons\",defaultValue:\"\",description:\"Shown in the stat row. Left empty it is omitted.\",hidden:p=>(p.variant||\"full\")!==\"public\"||!(p.publicShowStats??p.statRow)},publicHoursStat:{type:ControlType.String,title:\"Hours\",defaultValue:\"\",description:\"e.g. 8h. Left empty it is omitted.\",hidden:p=>(p.variant||\"full\")!==\"public\"||!(p.publicShowStats??p.statRow)},previewCount:{type:ControlType.Number,title:\"How many\",defaultValue:4,min:1,max:12,step:1,displayStepper:true,hidden:p=>(p.variant||\"full\")!==\"preview\"},previewMinWidth:{type:ControlType.Number,title:\"Min tile width\",defaultValue:240,min:140,max:480,step:10,unit:\"px\",description:\"Tiles wrap to fit. Smaller means more per row; below this width it drops to one column.\",hidden:p=>(p.variant||\"full\")!==\"preview\"},previewShowMeta:{type:ControlType.Boolean,title:\"Tile meta\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Module and duration under the lesson title.\",hidden:p=>(p.variant||\"full\")!==\"preview\"},/* RANK ORDERED. The first thing anyone changes is the accent, then the card, then how\n       round and how roomy it is. Everything below that is a real but rarer want. Colours\n       default to EMPTY, which means \"use the project's own token\" — so a re-theme moves this\n       component without anyone touching a prop, and an override means \"this list is\n       deliberately different\". */accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"\",description:\"Play chips, the selected filter, links. Empty follows your theme.\"},surface:{type:ControlType.Color,title:\"Card\",defaultValue:\"\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"\"},radius:{type:ControlType.Number,title:\"Corner\",defaultValue:16,min:0,max:40,step:1,displayStepper:true},cardGap:{type:ControlType.Number,title:\"Gap\",defaultValue:16,min:0,max:48,step:2,description:\"Space between modules.\"},cardPadding:{type:ControlType.Number,title:\"Padding\",defaultValue:22,min:8,max:48,step:2,description:\"Inside a module's header.\",hidden:listOnly},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"\"},mutedColor:{type:ControlType.Color,title:\"Secondary Text\",defaultValue:\"\"},titleSize:{type:ControlType.Number,title:\"Module Size\",defaultValue:20,min:13,max:40,step:1,hidden:listOnly},lessonSize:{type:ControlType.Number,title:\"Lesson Size\",defaultValue:15,min:11,max:24,step:1},blur:{type:ControlType.Boolean,title:\"Glass\",defaultValue:true,description:\"Blur whatever is behind the cards.\"},modulePrefix:{type:ControlType.String,title:\"Module Label\",defaultValue:\"MODULE\",description:\"The small label above a module's name. Leave empty for none.\",hidden:listOnly},numberModules:{type:ControlType.Boolean,title:\"Number Them\",defaultValue:true,hidden:listOnly},openFirst:{type:ControlType.Boolean,title:\"Open First\",defaultValue:true,hidden:listOnly},singleOpen:{type:ControlType.Boolean,title:\"One At A Time\",defaultValue:false,description:\"Opening a module closes the others.\",hidden:listOnly},showFilters:{type:ControlType.Boolean,title:\"Show Filters\",defaultValue:true,description:\"All / Saved / Completed above the list.\",hidden:listOnly},showSearch:{type:ControlType.Boolean,title:\"Search\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"A box above the filters that narrows the list by title, module or description as you type.\",hidden:listOnly},searchPlaceholder:{type:ControlType.String,title:\"Search hint\",defaultValue:\"Search lessons\",hidden:p=>!(p.showSearch??p.search)},searchEmptyText:{type:ControlType.String,title:\"No matches\",defaultValue:\"No lessons match that search.\",displayTextArea:true,hidden:p=>!(p.showSearch??p.search)},allLabel:{type:ControlType.String,title:\"All Label\",defaultValue:\"All lessons\",hidden:p=>!p.showFilters},favoritesLabel:{type:ControlType.String,title:\"Saved Label\",defaultValue:\"Saved\",hidden:p=>!p.showFilters},doneLabel:{type:ControlType.String,title:\"Done Label\",defaultValue:\"Completed\",hidden:p=>!p.showFilters},showCounts:{type:ControlType.Boolean,title:\"Show Counts\",defaultValue:true,hidden:p=>!p.showFilters},/* On by default. A greyed row with no explanation reads as a bug; the sentence is what\n       turns it into pacing the member can plan around. */showLockReason:{type:ControlType.Boolean,title:\"Why Locked\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"The line under a locked lesson—the exact unlock date and time, or which lesson to finish first.\"},dimCompleted:{type:ControlType.Boolean,title:\"Dim Completed\",defaultValue:true,description:\"Fade lessons already marked done.\"},lessonPath:{type:ControlType.String,title:\"Watch Page\",defaultValue:\"/videos/watch\",description:\"The one page that plays lessons. Each lesson is named in its query string.\"},emptyText:{type:ControlType.String,title:\"Empty Text\",defaultValue:\"Your lessons will appear here.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LessonList\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lessons_List_Fresh.map"],"mappings":"oNAuEga,SAAS,EAAgB,CAAC,SAAO,CAAC,OAAoB,EAAM,MAAM,CAAC,QAAQ,YAAY,MAAM,GAAG,OAAO,GAAG,KAAK,OAAO,OAAO,EAAM,YAAY,EAAE,cAAc,QAAQ,eAAe,QAAQ,cAAc,OAAO,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,2CAA2C,CAAC,EAAe,EAAK,SAAS,CAAC,GAAG,KAAK,GAAG,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAE,CAE3uB,SAAS,EAAiB,CAAC,SAAO,GAAG,QAAM,GAAsB,OAAK,EAAqB,SAAO,CAAC,IAAM,EAAE,EAAmB,OAAoB,EAAM,MAAM,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,OAAO,UAAU,IAAI,aAAa,KAAK,IAAI,EAAE,CAAM,EAAE,WAAW,EAAE,QAAQ,OAAO,aAAa,EAAE,SAAS,QAAQ,GAAG,QAAQ,OAAO,cAAc,SAAS,WAAW,SAAS,eAAe,SAAS,IAAI,GAAG,WAAW,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,SAAS,UAAU,aAAa,GAAG,CAAK,EAAE,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,OAAO,GAAG,aAAa,GAAG,WAAW,EAAE,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,QAAQ,EAAE,SAAsB,EAAK,EAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,EAAe,EAAK,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,WAAW,GAAG,EAAE,SAAS,CAAK,CAAC,EAAE,EA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