{"version":3,"file":"LessonOverview.BAh0dU7I.mjs","names":["React.useMemo","React.useCallback","__esmMin","init_ssg_sandbox_shims","pe","init_npm_react_18_3_1","init_jsx_runtime","ne","c","p","window","init_framer_CaDWdxiz","addPropertyControls","ControlType","RenderTarget","nonPlum","v","CLAY","norm","s","slugify","findHeading","anchor","hs","h","Icon","d","name","ICONS","size","color","Mark","box","kind","CHOCOLATE","GREEN","CardsLayout","cols","lab","n","it","i","href","go","itemLabel","MatrixLayout","StepsLayout","parse","raw","LessonOverview","props","isCanvas","data","SAMPLE","e","el","reduce","top","scrollOffset","Layout","LAYOUTS","bgA","bgTop","bgB","bgBottom","style","SATOSHI","CSS","CORAL_DEEP","FOREVS","UMBER","SHELL","WHITE","GREEN_TEXT","DUNE","COCOA","__FramerMetadata__","init_LessonOverview","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerSupportedLayoutWidth\"","\"framerSupportedLayoutHeight\"","\"framerContractVersion\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/SKafGVPA9BqexnuUmV7E/7YDUoDdWfJ4XJTMuLtJK/LessonOverview.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const CHOCOLATE=\"var(--token-3824416b-e7d7-4598-8a41-2b76a9ac7412, #3A1B14)\";const CORAL_DEEP=\"var(--token-6f73124d-904b-46af-96da-24be099cb01b, #C23F2A)\";const CLAY=\"#F5E8E0\";const SHELL=\"#FBF5F0\";const WHITE=\"#FFFFFF\";// Same greens as LessonQuiz / Flip & Learn\nconst GREEN=\"#6AAA64\";const GREEN_TEXT=\"#3E7A39\";const DUNE=\"#E5D3C8\";const COCOA=\"#5E4339\";const UMBER=\"#7A6057\";const SATOSHI=\"Satoshi, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\";const FOREVS='\"Forevs Medium\", \"Forevs-Medium\", \"Forevs\", Georgia, \"Times New Roman\", serif';const ICONS={body:\"M12 8.5v6.5 M6.5 11h11 M12 15l-3.5 6 M12 15l3.5 6 M12 3.2a2.1 2.1 0 1 1 0 4.2a2.1 2.1 0 1 1 0-4.2z\",book:\"M3.5 5h6a2.5 2.5 0 0 1 2.5 2.5V20a2 2 0 0 0-2-2H3.5z M20.5 5h-6A2.5 2.5 0 0 0 12 7.5V20a2 2 0 0 1 2-2h6.5z\",flow:\"M3 13c2.2-4.7 4.8-4.7 7 0s4.8 4.7 7 0 M17 13c1-2.2 2.2-3.2 4-3\",pose:\"M2.5 20h19 M5.5 20L12 5l6.5 15\",shield:\"M12 3l7.5 3v5.5c0 4.6-3.1 7.9-7.5 9.5-4.4-1.6-7.5-4.9-7.5-9.5V6z M8.5 12l2.5 2.5 4.5-5\",spark:\"M12 3v5 M12 16v5 M3 12h5 M16 12h5 M6.3 6.3l2.8 2.8 M14.9 14.9l2.8 2.8 M17.7 6.3l-2.8 2.8 M9.1 14.9l-2.8 2.8\",hand:\"M8 12.5V6a1.5 1.5 0 0 1 3 0v5 M11 11V4.5a1.5 1.5 0 0 1 3 0V11 M14 11V6.5a1.5 1.5 0 0 1 3 0V14c0 4-2.6 7-6.2 7-2.4 0-3.9-1-5.4-3l-2.6-3.6a1.5 1.5 0 0 1 2.4-1.8L8 15\",block:\"M4 8l8-4 8 4v8l-8 4-8-4z M4 8l8 4 8-4 M12 12v8\",breath:\"M3 9h11a3 3 0 1 0-3-3 M3 15h14a3 3 0 1 1-3 3 M3 12h7\",layers:\"M12 3l9 4.5-9 4.5-9-4.5z M3 12l9 4.5 9-4.5 M3 16.5l9 4.5 9-4.5\",teach:\"M4 4.5h16v11H9.5L4 20z M8 9h8 M8 12h5\",infinity:\"M12 12c-2-3-4-4.5-6-4.5a4.5 4.5 0 0 0 0 9c2 0 4-1.5 6-4.5s4-4.5 6-4.5a4.5 4.5 0 0 1 0 9c-2 0-4-1.5-6-4.5z\"};const SAMPLE={schema:\"mw-overview/1\",layout:\"cards\",overline:\"At a glance\",heading:\"Sample overview\",hint:\"Paste mw-overview/1 JSON into the Data control.\",items:[{title:\"Applied anatomy\",text:\"Anatomy you can use in poses.\",icon:\"body\"},{title:\"Practical philosophy\",text:\"Wisdom for modern life.\",icon:\"book\"},{title:\"Creative sequencing\",text:\"Build your own classes.\",icon:\"flow\"}]};function nonPlum(c){const v=(c||\"\").trim();return!v||/^#?(5A3190|7E48BB|4B2A7A)$/i.test(v)?CLAY:v;}function norm(s){return s.replace(/[’']/g,\"'\").replace(/\\s+/g,\" \").trim().toLowerCase();}function slugify(s){return s.normalize(\"NFKD\").replace(/[̀-ͯ]/g,\"\").toLowerCase().replace(/&/g,\" and \").replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\");}function findHeading(anchor){const t=norm(anchor);const hs=Array.from(document.querySelectorAll(\"h1,h2,h3,h4\"));return hs.find(h=>norm(h.textContent||\"\")===t)||hs.find(h=>norm(h.textContent||\"\").startsWith(t))||null;}function Icon({name,size=22,color=\"currentColor\"}){const d=name?ICONS[name]:undefined;if(!d)return null;return /*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":\"true\",width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:1.6,strokeLinecap:\"square\",strokeLinejoin:\"miter\",style:{display:\"block\",flex:\"none\"},children:/*#__PURE__*/_jsx(\"path\",{d:d})});}function Mark({kind}){const box={width:18,height:18,flex:\"none\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\"};if(kind===\"x\")return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...box,border:\"1.5px solid \"+CHOCOLATE},children:/*#__PURE__*/_jsx(\"svg\",{width:\"10\",height:\"10\",viewBox:\"0 0 10 10\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1.5 1.5l7 7M8.5 1.5l-7 7\",stroke:CHOCOLATE,strokeWidth:\"1.6\"})})});return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...box,background:GREEN},children:/*#__PURE__*/_jsx(\"svg\",{width:\"11\",height:\"11\",viewBox:\"0 0 14 14\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 7.4 L5.6 10.3 L11.5 3.8\",fill:\"none\",stroke:\"#FFFFFF\",strokeWidth:\"2.2\",strokeLinecap:\"square\"})})});}const CSS=`\n.mwo{container-type:inline-size}\n.mwo-grid{display:grid;gap:6px;grid-template-columns:1fr;list-style:none;margin:0;padding:0}\n@container (min-width:460px){.mwo-grid{gap:8px}.mwo-grid.mwo-c2,.mwo-grid.mwo-c3,.mwo-grid.mwo-c4{grid-template-columns:repeat(2,minmax(0,1fr))}}\n@container (min-width:640px){.mwo-grid.mwo-c3{grid-template-columns:repeat(3,minmax(0,1fr))}}\n@container (min-width:640px){.mwo-grid.mwo-c4{grid-template-columns:repeat(3,minmax(0,1fr))}}\n@container (min-width:860px){.mwo-grid.mwo-c4{grid-template-columns:repeat(4,minmax(0,1fr))}}\n.mwo-li{display:flex;min-width:0}\n.mwo-card{display:grid;width:100%;box-sizing:border-box;gap:4px 12px;padding:12px 14px;background:${WHITE};border:1px solid transparent;color:${CHOCOLATE};text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease;\n  grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:\"num body icon\";align-items:start;align-content:start}\n.mwo-num{grid-area:num;font-family:${FOREVS};font-weight:400;font-size:22px;line-height:1.05;color:${CORAL_DEEP};font-variant-numeric:tabular-nums}\n.mwo-icon{grid-area:icon;color:${COCOA};padding-top:1px}\n.mwo-body{grid-area:body;display:flex;flex-direction:column;gap:2px;min-width:0}\n.mwo-title{font-weight:700;font-size:15.5px;line-height:1.3}\n.mwo-text{font-size:14px;line-height:1.4;color:${COCOA}}\n@container (min-width:460px){\n  .mwo-grid:not(.mwo-c1) .mwo-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"num icon\" \"body body\";padding:16px 16px 18px;gap:10px 12px}\n  .mwo-grid:not(.mwo-c1) .mwo-num{font-size:30px}\n}\n.mwo-card:hover{background:${SHELL}}\n.mwo-card:hover .mwo-icon{color:${CORAL_DEEP}}\n.mwo-card:focus-visible{outline:2px solid ${CHOCOLATE};outline-offset:2px}\n.mwo-pair{grid-template-columns:30px minmax(0,1fr);grid-template-areas:\"num mis\" \"num fix\";gap:10px 12px;padding:14px 16px}\n.mwo-mis{grid-area:mis}.mwo-fix{grid-area:fix}\n.mwo-cell{display:flex;gap:10px;align-items:flex-start;min-width:0}\n.mwo-lab{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;line-height:18px;margin-bottom:2px}\n.mwo-mis .mwo-lab{color:${UMBER}}.mwo-fix .mwo-lab{color:${GREEN_TEXT}}\n.mwo-mis .mwo-title{font-size:15.5px}\n.mwo-fix .mwo-ftext{font-size:15px;line-height:1.35;font-weight:500}\n@container (min-width:600px){\n  .mwo-pair{grid-template-columns:34px minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:\"num mis fix\";gap:0 18px;padding:14px 18px;align-items:center}\n  .mwo-pair .mwo-fix{border-left:1px solid ${DUNE};padding-left:18px}\n  .mwo-pair .mwo-num{font-size:26px}\n}\n/* matrix (2x2) */\n.mwo-mxw{position:relative}\n.mwo-mx{display:grid;grid-template-columns:1fr;list-style:none;margin:0;padding:0;background:${WHITE}}\n.mwo-mx-li{display:flex;min-width:0;border-top:1px solid ${DUNE}}\n.mwo-mx-li:first-child{border-top:0}\n.mwo-mx-cell{display:grid;width:100%;box-sizing:border-box;grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:\"num body icon\";gap:4px 12px;padding:16px;color:${CHOCOLATE};text-decoration:none;cursor:pointer;align-content:start;transition:background-color .15s ease}\n.mwo-mx-cell:hover{background:${SHELL}}\n.mwo-mx-cell:hover .mwo-icon{color:${CORAL_DEEP}}\n.mwo-mx-cell:focus-visible{outline:2px solid ${CHOCOLATE};outline-offset:-2px}\n.mwo-mx .mwo-title{font-size:16px}\n.mwo-mx-dot{display:none}\n@container (min-width:460px){\n  .mwo-mx{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}\n  .mwo-mx-li{border-top:0}\n  .mwo-mx-li:nth-child(n+3){border-top:1px solid ${DUNE}}\n  .mwo-mx-li:nth-child(odd){border-right:1px solid ${DUNE}}\n  .mwo-mx-cell{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"num icon\" \"body body\";gap:12px;padding:20px 22px 24px}\n  .mwo-mx .mwo-num{font-size:34px}\n  .mwo-mx-dot{display:block;position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;background:${CORAL_DEEP};transform:rotate(45deg);box-shadow:0 0 0 5px ${WHITE};pointer-events:none}\n}\n/* steps (path) */\n.mwo-st{display:flex;flex-direction:column;gap:22px;list-style:none;margin:0;padding:0}\n.mwo-st-li{position:relative;display:flex;min-width:0}\n.mwo-st-card{display:grid;width:100%;box-sizing:border-box;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:center;padding:14px 16px;background:${WHITE};color:${CHOCOLATE};text-decoration:none;cursor:pointer;transition:background-color .15s ease}\n.mwo-st-mark{width:40px;height:40px;box-sizing:border-box;border:1.5px solid ${CORAL_DEEP};display:flex;align-items:center;justify-content:center;font-family:${FOREVS};font-weight:400;font-size:22px;line-height:1;color:${CORAL_DEEP};font-variant-numeric:tabular-nums;transition:background-color .15s ease,color .15s ease}\n.mwo-st-card .mwo-body{grid-area:auto}\n.mwo-st-card:hover{background:${SHELL}}\n.mwo-st-card:hover .mwo-st-mark{background:${CORAL_DEEP};color:${WHITE}}\n.mwo-st-card:focus-visible{outline:2px solid ${CHOCOLATE};outline-offset:2px}\n.mwo-st-li:not(:last-child)::after{content:\"\";position:absolute;left:35px;top:100%;height:22px;border-left:2px dashed ${CORAL_DEEP}}\n@container (min-width:520px){\n  .mwo-st{gap:30px}\n  .mwo-st-li{width:64%}\n  .mwo-st-li:nth-child(even){align-self:flex-end}\n  .mwo-st-li:not(:last-child)::before{content:\"\";position:absolute;top:100%;height:15px;width:calc(56.25% + 2px);box-sizing:border-box;border-bottom:2px dashed ${CORAL_DEEP}}\n  .mwo-st-li:not(:last-child)::after{top:calc(100% + 15px);height:15px}\n  .mwo-st-li:nth-child(odd):not(:last-child)::before{left:50%;border-left:2px dashed ${CORAL_DEEP}}\n  .mwo-st-li:nth-child(odd):not(:last-child)::after{left:106.25%}\n  .mwo-st-li:nth-child(even):not(:last-child)::before{left:-6.25%;border-right:2px dashed ${CORAL_DEEP}}\n  .mwo-st-li:nth-child(even):not(:last-child)::after{left:-6.25%}\n}\n@media (prefers-reduced-motion: reduce){.mwo-card,.mwo-mx-cell,.mwo-st-card,.mwo-st-mark{transition:none}}\n`;function CardsLayout({d,go}){const cols=Math.max(1,Math.min(4,Math.round(d.columns||3)));const lab={mistake:d.labels?.mistake||\"Mistake\",fix:d.labels?.fix||\"Instead\"};return /*#__PURE__*/_jsx(\"ol\",{className:\"mwo-grid mwo-c\"+cols,children:d.items.map((it,i)=>{const n=it.n!==undefined&&it.n!==null&&it.n!==\"\"?String(it.n):String(i+1);const href=it.anchor?\"#\"+slugify(it.anchor):undefined;if(it.fix){return /*#__PURE__*/_jsx(\"li\",{className:\"mwo-li\",children:/*#__PURE__*/_jsxs(\"a\",{className:\"mwo-card mwo-pair\",href:href,onClick:go(it.anchor),children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-num\",children:n}),/*#__PURE__*/_jsxs(\"span\",{className:\"mwo-cell mwo-mis\",children:[/*#__PURE__*/_jsx(Mark,{kind:\"x\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"mwo-body\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-lab\",children:lab.mistake}),/*#__PURE__*/_jsx(\"span\",{className:\"mwo-title\",children:it.title}),it.text?/*#__PURE__*/_jsx(\"span\",{className:\"mwo-text\",children:it.text}):null]})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"mwo-cell mwo-fix\",children:[/*#__PURE__*/_jsx(Mark,{kind:\"check\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"mwo-body\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-lab\",children:lab.fix}),/*#__PURE__*/_jsx(\"span\",{className:\"mwo-ftext\",children:it.fix})]})]})]})},i);}return /*#__PURE__*/_jsx(\"li\",{className:\"mwo-li\",children:/*#__PURE__*/_jsxs(\"a\",{className:\"mwo-card\",href:href,onClick:go(it.anchor),children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-num\",children:n.length===1&&/\\d/.test(n)?\"0\"+n:n}),it.icon?/*#__PURE__*/_jsx(\"span\",{className:\"mwo-icon\",children:/*#__PURE__*/_jsx(Icon,{name:it.icon})}):null,/*#__PURE__*/_jsxs(\"span\",{className:\"mwo-body\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-title\",children:it.title}),it.text?/*#__PURE__*/_jsx(\"span\",{className:\"mwo-text\",children:it.text}):null]})]})},i);})});}function itemLabel(it,i){return it.n!==undefined&&it.n!==null&&it.n!==\"\"?String(it.n):String(i+1);}// \"matrix\": 2x2 panel, one quadrant per item (built for 4 items; other counts\n// still render as a 2-column grid). Mini version of the whole article.\nfunction MatrixLayout({d,go}){return /*#__PURE__*/_jsxs(\"div\",{className:\"mwo-mxw\",children:[/*#__PURE__*/_jsx(\"ol\",{className:\"mwo-mx\",children:d.items.map((it,i)=>/*#__PURE__*/_jsx(\"li\",{className:\"mwo-mx-li\",children:/*#__PURE__*/_jsxs(\"a\",{className:\"mwo-mx-cell\",href:it.anchor?\"#\"+slugify(it.anchor):undefined,onClick:go(it.anchor),children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-num\",children:itemLabel(it,i)}),it.icon?/*#__PURE__*/_jsx(\"span\",{className:\"mwo-icon\",children:/*#__PURE__*/_jsx(Icon,{name:it.icon,size:26})}):null,/*#__PURE__*/_jsxs(\"span\",{className:\"mwo-body\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-title\",children:it.title}),it.text?/*#__PURE__*/_jsx(\"span\",{className:\"mwo-text\",children:it.text}):null]})]})},i))}),d.items.length===4?/*#__PURE__*/_jsx(\"span\",{className:\"mwo-mx-dot\",\"aria-hidden\":\"true\"}):null]});}// \"steps\": numbered step path. Wide: cards zig-zag left/right joined by a\n// right-angled dashed path (labyrinth corridor). Narrow: straight line down.\nfunction StepsLayout({d,go}){return /*#__PURE__*/_jsx(\"ol\",{className:\"mwo-st\",children:d.items.map((it,i)=>/*#__PURE__*/_jsx(\"li\",{className:\"mwo-st-li\",children:/*#__PURE__*/_jsxs(\"a\",{className:\"mwo-st-card\",href:it.anchor?\"#\"+slugify(it.anchor):undefined,onClick:go(it.anchor),children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-st-mark\",children:itemLabel(it,i)}),/*#__PURE__*/_jsxs(\"span\",{className:\"mwo-body\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"mwo-title\",children:it.title}),it.text?/*#__PURE__*/_jsx(\"span\",{className:\"mwo-text\",children:it.text}):null]})]})},i))});}// Add new layouts here. Unknown layouts fall back to cards.\nconst LAYOUTS={cards:CardsLayout,matrix:MatrixLayout,steps:StepsLayout};function parse(raw){if(!raw||!raw.trim())return null;try{const d=JSON.parse(raw);if(!d||!Array.isArray(d.items)||d.items.length===0)return null;d.items=d.items.filter(it=>it&&typeof it.title===\"string\"&&it.title.trim());return d.items.length?d:null;}catch(e){return null;}}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function LessonOverview(props){const{data,scrollOffset,bgTop,bgBottom,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const parsed=React.useMemo(()=>parse(data),[data]);const d=parsed||(isCanvas?SAMPLE:null);const go=React.useCallback(anchor=>e=>{if(!anchor||typeof window===\"undefined\")return;e.preventDefault();const el=findHeading(anchor);if(!el)return;const reduce=window.matchMedia&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const top=el.getBoundingClientRect().top+window.scrollY-(scrollOffset||0);window.scrollTo({top,behavior:reduce?\"auto\":\"smooth\"});if(el.id){try{window.history.replaceState(null,\"\",\"#\"+el.id);}catch(err){}}},[scrollOffset]);if(!d)return null;const Layout=LAYOUTS[d.layout||\"cards\"]||CardsLayout;const bgA=nonPlum(bgTop);const bgB=nonPlum(bgBottom);return /*#__PURE__*/_jsxs(\"nav\",{className:\"mwo\",\"aria-label\":d.heading||\"Overview\",style:{...style,boxSizing:\"border-box\",width:\"100%\",margin:\"8px 0\",padding:\"clamp(20px, 4.5vw, 32px)\",backgroundColor:CLAY,backgroundImage:\"linear-gradient(170deg, \"+bgA+\" 0%, \"+bgB+\" 100%)\",color:CHOCOLATE,fontFamily:SATOSHI,fontWeight:500,borderRadius:0},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),d.overline?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,fontSize:12,fontWeight:700,letterSpacing:\"0.14em\",textTransform:\"uppercase\",color:CORAL_DEEP,marginBottom:10,justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{width:22,height:1.5,background:CORAL_DEEP,flex:\"none\"}}),d.overline]}):null,d.heading?/*#__PURE__*/_jsx(\"div\",{role:\"heading\",\"aria-level\":2,style:{fontFamily:FOREVS,fontWeight:400,fontSize:\"clamp(24px, 4vw, 30px)\",lineHeight:1.15,wordSpacing:\"0.07em\",color:CHOCOLATE,textAlign:\"center\",...{textWrap:\"balance\"},margin:\"4px 0 28px 0\"},children:d.heading}):null,/*#__PURE__*/_jsx(Layout,{d:d,go:go}),d.hint?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:16,fontSize:12,lineHeight:1.4,color:UMBER,textAlign:\"center\"},children:d.hint}):null,d.footer?/*#__PURE__*/_jsx(\"div\",{style:{marginTop:18,fontFamily:FOREVS,fontWeight:400,fontSize:\"clamp(19px, 3vw, 22px)\",lineHeight:1.3,wordSpacing:\"0.07em\",color:CHOCOLATE,textAlign:\"center\"},children:d.footer}):null]});}LessonOverview.defaultProps={data:\"\",scrollOffset:96,bgTop:\"#F5E8E0\",bgBottom:\"#F5E8E0\"};addPropertyControls(LessonOverview,{data:{type:ControlType.String,title:\"Data (JSON)\",displayTextArea:true,placeholder:'{\"schema\":\"mw-overview/1\",\"layout\":\"cards\",\"items\":[...]}'},scrollOffset:{type:ControlType.Number,title:\"Scroll Offset\",min:0,max:300,step:4,defaultValue:96,unit:\"px\"},bgTop:{type:ControlType.Color,title:\"BG Top\",defaultValue:\"#F5E8E0\"},bgBottom:{type:ControlType.Color,title:\"BG Bottom\",defaultValue:\"#F5E8E0\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LessonOverview\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LessonOverview.map"],"mappings":"A,8MAC0tD,SAASe,EAAQ,EAAE,CAAC,IAAMC,GAAGR,GAAG,GAAA,CAAI,KAAK,EAAE,MAAM,CAACQ,GAAG,8BAA8B,KAAKA,CAAC,EAAEC,EAAKD,CAAE,CAAC,SAASE,EAAK,EAAE,CAAC,OAAOC,EAAE,QAAQ,QAAQ,GAAG,CAAC,CAAC,QAAQ,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAE,CAAC,SAASC,EAAQ,EAAE,CAAC,OAAOD,EAAE,UAAU,MAAM,CAAC,CAAC,QAAQ,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,QAAQ,cAAc,GAAG,CAAC,CAAC,QAAQ,WAAW,EAAE,CAAE,CAAC,SAASE,EAAY,EAAO,CAAC,IAAM,EAAEH,EA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