{"version":3,"file":"ProjectChapterRail.DjsV3cro.mjs","names":["React.useState","React.useRef"],"sources":["https:/framerusercontent.com/modules/lYcOFlBeV6bzdqvdQia6/rhq8RHHZJslPVwHKgjz9/ProjectChapterRail.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{createPortal}from\"react-dom\";import{RenderTarget,addPropertyControls,ControlType}from\"framer\";const themes={wada:{name:\"Wada\",color:\"#713D30\",soft:\"#F4E7D3\",stops:[{label:\"Context\",selector:\".wada-context\"},{label:\"Design process\",selector:\".wada-process\"},{label:\"Research\",selector:\".wada-discover\"},{label:\"People\",selector:\".wada-personas\"},{label:\"The challenge\",selector:\".wada-problem\"},{label:\"Ideation\",selector:\".wada-ideate\"},{label:\"Heritage marathon\",selector:\".wada-marathon\"},{label:\"Key touchpoints\",selector:\".wada-key\"},{label:\"Reflection\",selector:\".wada-reflection\"}]},sync:{name:\"Sync\",color:\"#0A5CE0\",soft:\"#EAF2FF\",stops:[{label:\"Overview\",id:\"sc-overview\"},{label:\"Context\",id:\"sc-context\"},{label:\"Challenge\",id:\"sc-challenge\"},{label:\"Approach\",id:\"sc-approach\"},{label:\"Strategy\",id:\"sc-strategy\"},{label:\"People\",id:\"sc-users\"},{label:\"Journey\",id:\"sc-journey\"},{label:\"Early ideas\",id:\"sc-ideas\"},{label:\"Meet Sync\",id:\"sc-meet\"},{label:\"Agent decisions\",id:\"sa-decides\"},{label:\"Delegation\",id:\"sa-work\"},{label:\"Trust & control\",id:\"sa-control\"},{label:\"Autonomy\",id:\"sa-auto\"},{label:\"When things fail\",id:\"sa-edges\"},{label:\"Prototype\",id:\"sa-product\"},{label:\"Learning & validation\",id:\"sa-learn\"}]},// HdfcCase.tsx: chapters are matched by section id, so headings can change freely.\nhdfc:{name:\"HDFC\",color:\"#004C8F\",soft:\"#EDF4FB\",stops:[{label:\"Overview\",id:\"hc-overview\"},{label:\"About MyCards\",id:\"hc-about\"},{label:\"The problem\",id:\"hc-problem\"},{label:\"Approach\",id:\"hc-approach\"},{label:\"The friction\",id:\"hc-friction\"},{label:\"Overview concept\",id:\"hc-concept\"},{label:\"Why tabs\",id:\"hc-tabs\"},{label:\"Proposed structure\",id:\"hc-structure\"},{label:\"Real bank data\",id:\"hc-real-data\"},{label:\"Smart EMI\",id:\"hc-smartemi\"},{label:\"Every state\",id:\"hc-states\"},{label:\"Edge cases\",id:\"hc-edges\"},{label:\"The result\",id:\"hc-result\"},{label:\"Reflection\",id:\"hc-lessons\"}]},svaroots:{name:\"Svaroots\",color:\"#B30100\",soft:\"#FCF0E9\",stops:[{label:\"Brand & context\",text:\"One sneaker, many identities\"},{label:\"The operator\",text:\"One person runs everything\"},{label:\"The system\",text:\"A patch is a product and a part\"},{label:\"Research\",text:\"I stopped assuming and opened Shopify\"},{label:\"The right metrics\",text:\"Three numbers I had to add\"},{label:\"Inventory\",text:\"Stock you own is not stock you can sell\"},{label:\"Actionable analytics\",text:\"Every chart ends in a button\"},{label:\"Iterations\",text:\"Three things I got wrong first\"},{label:\"The workspace\",text:\"Everything in one workspace\"},{label:\"The build\",text:\"I built it, not just designed it\"},{label:\"What comes next\",text:\"What I’d test with real operators\"}]},hotwheels:{name:\"Hot Wheels\",color:\"#E3611B\",soft:\"#FFF2E5\",stops:[\"The spark\",\"Why AR?\",\"First prototype\",\"Making it a race\",\"Two modes\",\"Why Blinkit?\",\"Simplifying\",\"Discovery\",\"Platform fit\",\"Final campaign\",\"The build\",\"Feedback\",\"Intended impact\",\"Lessons\",\"Try it live\"].map((label,i)=>({label,id:`rh-ch-${String(i+1).padStart(2,\"0\")}`}))},// ConductorCaseStudy.tsx: matched by section id. The bus drives down a road and stops at each chapter.\nconductor:{name:\"Conductor\",color:\"#0D7A52\",soft:\"#E3F2EA\",stops:[{label:\"The brief\",id:\"cd-brief\"},{label:\"Secondary research\",id:\"cd-context\"},{label:\"Field research\",id:\"cd-field\"},{label:\"The problem\",id:\"cd-today\"},{label:\"Insights\",id:\"cd-insight\"},{label:\"Ideation\",id:\"cd-ideas\"},{label:\"Try it: print a ticket\",id:\"cd-try\"},{label:\"The solution\",id:\"cd-flow\"},{label:\"Reach & readability\",id:\"cd-reach\"},{label:\"Feedback & errors\",id:\"cd-feedback\"},{label:\"What I learned\",id:\"cd-lessons\"}]},// MatkarmaCaseStudy.tsx: matched by section id. A clay pot rolls down a dotted trail of shards.\nmatkarma:{name:\"Matkarma\",color:\"#B24A2E\",soft:\"#FBECE4\",stops:[{label:\"The brief\",id:\"mk-brief\"},{label:\"Secondary research\",id:\"mk-context\"},{label:\"Field research\",id:\"mk-field\"},{label:\"Two people\",id:\"mk-people\"},{label:\"The problem\",id:\"mk-problem\"},{label:\"Insight\",id:\"mk-insight\"},{label:\"Ideation\",id:\"mk-ideas\"},{label:\"The service\",id:\"mk-service\"},{label:\"Demand\",id:\"mk-demand\"},{label:\"Try it: pay for breakage\",id:\"mk-try\"},{label:\"The field tool\",id:\"mk-tool\"},{label:\"Where it could fail\",id:\"mk-edges\"},{label:\"What I learned\",id:\"mk-lessons\"}]}};export function ChapterMascot({theme}){if(theme===\"wada\")return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 48 52\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M5 45V20l6-8 6 8v25M31 45V20l6-8 6 8v25\",fill:\"#C99C61\",stroke:\"#713D30\",strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 23h18v22H15z\",fill:\"#E6C898\",stroke:\"#713D30\",strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M19 45V33a5 5 0 0110 0v12\",fill:\"#713D30\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3 46h42M8 24h6m20 0h6M8 30h6m20 0h6M18 19h12\",stroke:\"#713D30\",strokeWidth:\"2\"})]});if(theme===\"sync\")return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 48 52\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"ellipse\",{cx:\"24\",cy:\"47\",rx:\"15\",ry:\"3\",fill:\"#BCD1F1\",opacity:\".5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M24 12V6\",stroke:\"#0757C8\",strokeWidth:\"3\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"24\",cy:\"5\",r:\"3\",fill:\"#7CAEFF\",stroke:\"#0757C8\",strokeWidth:\"1.5\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"5\",y:\"14\",width:\"38\",height:\"30\",rx:\"13\",fill:\"#D9E9FF\",stroke:\"#0757C8\",strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"10\",y:\"20\",width:\"28\",height:\"16\",rx:\"8\",fill:\"#125CC7\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M17 26v3m14-3v3\",stroke:\"white\",strokeWidth:\"3\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M21 32q3 2 6 0\",stroke:\"#A9D7FF\",strokeWidth:\"1.7\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3 25v9m42-9v9M15 44v3m18-3v3\",stroke:\"#0757C8\",strokeWidth:\"3\",strokeLinecap:\"round\"})]});if(theme===\"hdfc\")return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 48 52\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"ellipse\",{cx:\"24\",cy:\"46\",rx:\"18\",ry:\"3\",fill:\"#C4D3E2\",opacity:\".45\"}),/*#__PURE__*/_jsxs(\"g\",{transform:\"rotate(-10 24 25)\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"5\",y:\"10\",width:\"38\",height:\"30\",rx:\"5\",fill:\"#FFF\",stroke:\"#004C8F\",strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6 17h36v7H6z\",fill:\"#004C8F\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"11\",y:\"28\",width:\"9\",height:\"6\",rx:\"1.5\",fill:\"#DADDE0\",stroke:\"#8296AA\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M25 32h10\",stroke:\"#004C8F\",strokeWidth:\"2\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"33\",y:\"12\",width:\"6\",height:\"3\",rx:\"1\",fill:\"#ED1C24\"})]})]});if(theme===\"svaroots\")return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 48 52\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"ellipse\",{cx:\"24\",cy:\"45\",rx:\"20\",ry:\"3\",fill:\"#D6B5A6\",opacity:\".4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M7 14l11 1 7 13 13 3q6 2 6 9H4v-8z\",fill:\"#F7E9D9\",stroke:\"#933D2B\",strokeWidth:\"1.7\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M4 36h39v5H4z\",fill:\"#FDFBF6\",stroke:\"#933D2B\",strokeWidth:\"1.6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M7 16l10 2 7 12-9 5-9-5z\",fill:\"#C55E43\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m10 20 4 3-3 4 5 4m-8-2 4 2m3-11 3 4\",stroke:\"#F6DEB7\",strokeWidth:\"1.6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m19 22 6-2m-3 7 6-2m-2 6 6-2\",stroke:\"#933D2B\",strokeWidth:\"2\",strokeLinecap:\"round\"})]});if(theme===\"conductor\")return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 48 52\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"ellipse\",{cx:\"24\",cy:\"48\",rx:\"17\",ry:\"3\",fill:\"#9FC7B2\",opacity:\".55\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"2\",y:\"15\",width:\"4\",height:\"8\",rx:\"2\",fill:\"#1E2A24\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"42\",y:\"15\",width:\"4\",height:\"8\",rx:\"2\",fill:\"#1E2A24\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"9\",y:\"42\",width:\"7\",height:\"6\",rx:\"1.5\",fill:\"#1E2A24\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"32\",y:\"42\",width:\"7\",height:\"6\",rx:\"1.5\",fill:\"#1E2A24\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"6\",y:\"4\",width:\"36\",height:\"40\",rx:\"7\",fill:\"#1FA463\",stroke:\"#0B5E38\",strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"11\",y:\"7.5\",width:\"26\",height:\"5\",rx:\"1.5\",fill:\"#1E2A24\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"14\",y:\"9.2\",width:\"20\",height:\"1.6\",rx:\".8\",fill:\"#FFC93C\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"10\",y:\"15\",width:\"28\",height:\"13\",rx:\"3\",fill:\"#D6F0FF\",stroke:\"#0B5E38\",strokeWidth:\"1.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M14 25l6-8m2 8 4-5\",stroke:\"#fff\",strokeWidth:\"1.6\",strokeLinecap:\"round\",opacity:\".8\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"6\",y:\"34\",width:\"36\",height:\"3.5\",fill:\"#F2C230\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"31\",r:\"2.4\",fill:\"#FFF6C8\",stroke:\"#0B5E38\",strokeWidth:\"1.2\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"36\",cy:\"31\",r:\"2.4\",fill:\"#FFF6C8\",stroke:\"#0B5E38\",strokeWidth:\"1.2\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"19\",y:\"39.5\",width:\"10\",height:\"2.5\",rx:\"1\",fill:\"#0B5E38\"})]});if(theme===\"matkarma\")return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 48 52\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"ellipse\",{cx:\"24\",cy:\"48\",rx:\"15\",ry:\"3\",fill:\"#E7C2AE\",opacity:\".6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15 5h18v3c0 2-2 3-3 4h-12c-1-1-3-2-3-4z\",fill:\"#C9603F\",stroke:\"#7A2E1B\",strokeWidth:\"2\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M18 12h12c7 4 12 10 12 18 0 9-8 15-18 15S6 39 6 30c0-8 5-14 12-18z\",fill:\"#D9774F\",stroke:\"#7A2E1B\",strokeWidth:\"2\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 26c4 2 26 2 30 0\",stroke:\"#F3D2BE\",strokeWidth:\"2\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M10 33c5 2 23 2 28 0\",stroke:\"#B24A2E\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeDasharray:\"2 3\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M29 14l-3 6 4 3-3 6\",stroke:\"#7A2E1B\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M13 18q2-2 4-3\",stroke:\"#F8E1D3\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\".9\"})]});return /*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 48 56\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"10\",width:\"8\",height:\"13\",rx:\"3\",fill:\"#192C42\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"36\",y:\"10\",width:\"8\",height:\"13\",rx:\"3\",fill:\"#192C42\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"36\",width:\"8\",height:\"12\",rx:\"3\",fill:\"#192C42\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"36\",y:\"36\",width:\"8\",height:\"12\",rx:\"3\",fill:\"#192C42\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16 3h16l6 10v31l-6 9H16l-6-9V13z\",fill:\"#277CC6\",stroke:\"#123D69\",strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M14 18h20l-3 11H17z\",fill:\"#D1EDFF\",stroke:\"#123D69\",strokeWidth:\"1.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M23 33c5 4-3 6-1 11 0-3 6-4 5-9 8 8 0 14-3 16-7-5-8-12-1-18z\",fill:\"#FF882C\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M23 41c3 3-1 5 1 8 4-4 5-6 2-9\",fill:\"#FFE399\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16 9h16\",stroke:\"#89CFFF\",strokeWidth:\"3\",strokeLinecap:\"round\"})]});}const CSS=`\n.pcr{position:fixed;left:14px;top:50%;z-index:1000;width:44px;transform:translateY(-50%);font-family:'Schibsted Grotesk',system-ui,sans-serif;color:var(--pcr-color);box-sizing:border-box}\n.pcr *{box-sizing:border-box}.pcr-track{height:min(76vh,680px);position:relative;margin:0;padding:0;list-style:none}\n.pcr-line{position:absolute;left:21px;top:0;bottom:0;width:3px;background:var(--pcr-soft);border-radius:9px}\n.pcr-line-fill{position:absolute;left:0;top:0;width:3px;background:var(--pcr-color);opacity:.5;border-radius:9px}\n.pcr-hotwheels .pcr-line{left:12px;width:23px;background:#F7DECA;border-left:2px solid #E3611B;border-right:2px solid #E3611B}.pcr-hotwheels .pcr-line:after{content:'';position:absolute;inset:0 9px;border-left:1px dashed #BF875E}.pcr-hotwheels .pcr-line-fill{width:19px;background:#FFC794;opacity:.7}\n.pcr-conductor .pcr-line{left:12px;width:21px;background:#6B7480;border-radius:6px}.pcr-conductor .pcr-line:after{content:'';position:absolute;top:6px;bottom:6px;left:9.5px;border-left:2px dashed #FFFFFF;opacity:.85}.pcr-conductor .pcr-line-fill{width:21px;background:#0D7A52;opacity:.6;border-radius:6px}.pcr-conductor .pcr-dot{position:relative;z-index:1;border-color:#0D7A52;opacity:1}.pcr-conductor .pcr-active .pcr-dot{box-shadow:0 0 0 5px #CFE9DB}\n.pcr-matkarma .pcr-line{left:18px;width:9px;background:radial-gradient(circle,#E7BFA9 2.2px,transparent 2.7px) 50% 0/9px 10px repeat-y;border-radius:0}.pcr-matkarma .pcr-line-fill{left:0;width:9px;background:radial-gradient(circle,#B24A2E 2.4px,transparent 2.9px) 50% 0/9px 10px repeat-y;opacity:.9;border-radius:0}.pcr-matkarma .pcr-dot{position:relative;z-index:1;border-radius:3px;rotate:45deg;opacity:1}.pcr-matkarma .pcr-active .pcr-dot{box-shadow:0 0 0 5px #F6D9C9}\n.pcr-svaroots .pcr-line{background:none;border-left:2px dashed #DDB8A4;width:0}.pcr-svaroots .pcr-line-fill{left:-2px;width:2px}\n.pcr-stop{position:absolute;left:0;width:44px;transform:translateY(-50%)}.pcr-link{display:flex;align-items:center;position:relative;width:44px;height:34px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-decoration:none}\n.pcr-dot{width:11px;height:11px;margin-left:17px;border:2px solid var(--pcr-color);background:white;border-radius:50%;opacity:.45}.pcr-done .pcr-dot{background:var(--pcr-color);opacity:.75}.pcr-active .pcr-dot{opacity:1;box-shadow:0 0 0 5px var(--pcr-soft)}\n.pcr-label{pointer-events:none;position:absolute;left:48px;white-space:nowrap;background:#fff;color:#253249;border:1px solid #DDE3EA;box-shadow:0 4px 14px #243B5312;padding:9px 12px;border-radius:8px;font-size:13px;line-height:1.3;font-weight:500;opacity:0;transform:translateX(-4px);transition:opacity .16s,transform .16s}.pcr-label b{color:var(--pcr-color);margin-right:6px;font-variant-numeric:tabular-nums}.pcr:hover .pcr-label,.pcr-link:focus-visible .pcr-label{opacity:1;transform:none}.pcr-link:focus-visible{outline:2px solid var(--pcr-color);outline-offset:2px;border-radius:8px}\n.pcr-matkarma .pcr-label{rotate:0deg}\n.pcr-mascot{position:absolute;left:0;width:44px;height:48px;transform:translateY(-50%);pointer-events:none;filter:drop-shadow(0 3px 3px #20345220);transition:top .12s linear}.pcr-mascot svg{display:block;width:100%;height:100%}\n@media(max-width:1279px),(max-height:699px){.pcr{display:none}}\n@media(prefers-reduced-motion:reduce){.pcr *{transition:none!important}}\n`;const norm=s=>s.replace(/[‘’]/g,\"'\").replace(/\\s+/g,\" \").trim();function findStop(stop){if(stop.selector)return Array.from(document.querySelectorAll(stop.selector)).find(el=>el.getBoundingClientRect().width>0)||null;if(stop.id)return Array.from(document.querySelectorAll(`[id=\"${stop.id}\"]`)).find(el=>el.getBoundingClientRect().width>0)||null;const candidates=Array.from(document.querySelectorAll('h2,h3,[data-framer-component-type=\"RichTextContainer\"]'));return candidates.find(el=>norm(el.textContent||\"\")===norm(stop.text||\"\")&&el.getBoundingClientRect().width>0)||null;}/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto */export default function ProjectChapterRail({ownerRef,visibilityRef,theme=\"auto\"}){const[current,setCurrent]=React.useState(null);const mascot=React.useRef(null);const fill=React.useRef(null);const targets=React.useRef([]);const cancelJump=React.useRef(null);React.useEffect(()=>()=>cancelJump.current?.(),[]);React.useEffect(()=>{if(RenderTarget.current()===RenderTarget.canvas||typeof window===\"undefined\")return;let raf=0;let cached=null;const update=()=>{cancelAnimationFrame(raf);raf=requestAnimationFrame(()=>{if(visibilityRef?.current&&visibilityRef.current.getBoundingClientRect().width===0||window.innerWidth<1280||window.innerHeight<700||ownerRef?.current&&ownerRef.current.getBoundingClientRect().width===0){setCurrent(null);return;}let key=cached?.key||(theme===\"auto\"?undefined:theme);if(!key)key=Object.keys(themes).find(k=>k!==\"wada\"&&!!findStop(themes[k].stops[0]));if(!key){setCurrent(null);return;}const pairs=cached?.pairs||themes[key].stops.map(s=>({stop:s,el:findStop(s)})).filter(p=>p.el!==null);if(key===\"wada\")pairs.sort((a,b)=>a.el.compareDocumentPosition(b.el)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1);cached={key,pairs};if(pairs.length<2){setCurrent(null);return;}targets.current=pairs.map(p=>p.el);const rects=targets.current.map(el=>el.getBoundingClientRect());const line=Math.min(180,innerHeight*.22);const end=ownerRef?.current?.getBoundingClientRect().top??rects[rects.length-1].bottom+500;if(rects[0].top>line||end<=line){setCurrent(null);return;}let index=0;for(let i=1;i<rects.length;i++)if(rects[i].top<=line)index=i;const next=index<rects.length-1?rects[index+1].top:end;const fraction=Math.max(0,Math.min(1,(line-rects[index].top)/Math.max(1,next-rects[index].top)));const reduced=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const progress=(index+(reduced||index===rects.length-1?0:fraction))/(rects.length-1)*100;if(mascot.current)mascot.current.style.top=`${progress}%`;if(fill.current)fill.current.style.height=`${progress}%`;setCurrent(old=>old?.theme===key&&old.index===index&&old.stops.length===pairs.length?old:{theme:key,stops:pairs.map(p=>p.stop),index,progress});});};update();const refresh=()=>{cached=null;update();};window.addEventListener(\"scroll\",update,{passive:true});window.addEventListener(\"resize\",refresh);window.addEventListener(\"load\",refresh);const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(refresh):null;ro?.observe(document.body);return()=>{cancelAnimationFrame(raf);ro?.disconnect();window.removeEventListener(\"scroll\",update);window.removeEventListener(\"resize\",refresh);window.removeEventListener(\"load\",refresh);};},[theme,ownerRef,visibilityRef]);if(!current)return null;const t=themes[current.theme];const go=(e,i)=>{const el=targets.current[i];if(!el)return;e.preventDefault();cancelJump.current?.();el.style.scrollMarginTop=\"140px\";// Lazy-loaded media can change chapter positions during a long smooth jump.\n// Align once scrolling settles; any manual input cancels the correction.\nlet timer=0;const cleanup=()=>{window.clearTimeout(timer);window.removeEventListener(\"scrollend\",settle);window.removeEventListener(\"wheel\",cleanup);window.removeEventListener(\"touchstart\",cleanup);window.removeEventListener(\"pointerdown\",cleanup);window.removeEventListener(\"keydown\",cleanup);cancelJump.current=null;};const settle=()=>{cleanup();if(el.isConnected&&Math.abs(el.getBoundingClientRect().top-140)>2)el.scrollIntoView({block:\"start\",behavior:\"instant\"});};cancelJump.current=cleanup;window.addEventListener(\"scrollend\",settle,{once:true});window.addEventListener(\"wheel\",cleanup,{passive:true,once:true});window.addEventListener(\"touchstart\",cleanup,{passive:true,once:true});window.addEventListener(\"pointerdown\",cleanup,{once:true});window.addEventListener(\"keydown\",cleanup,{once:true});timer=window.setTimeout(settle,1800);el.scrollIntoView({block:\"start\",behavior:window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches?\"auto\":\"smooth\"});};return /*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(\"nav\",{className:`pcr pcr-${current.theme}`,\"aria-label\":`${t.name} chapters`,style:{\"--pcr-color\":t.color,\"--pcr-soft\":t.soft},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"ol\",{className:\"pcr-track\",children:[/*#__PURE__*/_jsx(\"li\",{className:\"pcr-line\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"span\",{ref:fill,className:\"pcr-line-fill\",style:{height:`${current.progress}%`}})}),current.stops.map((s,i)=>/*#__PURE__*/_jsx(\"li\",{className:`pcr-stop ${i===current.index?\"pcr-active\":i<current.index?\"pcr-done\":\"\"}`,style:{top:`${i/(current.stops.length-1)*100}%`},children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"pcr-link\",\"aria-label\":`${String(i+1).padStart(2,\"0\")}. ${s.label}`,\"aria-current\":i===current.index?\"step\":undefined,onClick:e=>go(e,i),children:[/*#__PURE__*/_jsx(\"span\",{className:\"pcr-dot\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"pcr-label\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"b\",{children:String(i+1).padStart(2,\"0\")}),s.label]})]})},s.label)),/*#__PURE__*/_jsx(\"li\",{className:\"pcr-mascot\",ref:mascot,style:{top:`${current.progress}%`},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(ChapterMascot,{theme:current.theme})})]})]}),document.body);}addPropertyControls(ProjectChapterRail,{theme:{type:ControlType.Enum,title:\"Project\",options:[\"auto\",\"sync\",\"hdfc\",\"svaroots\",\"hotwheels\",\"conductor\",\"matkarma\",\"wada\"],defaultValue:\"auto\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectChapterRail\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"\",\"framerContractVersion\":\"1\"}},\"ChapterMascot\":{\"type\":\"reactComponent\",\"name\":\"ChapterMascot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectChapterRail.map"],"mappings":"kOAGsjB,SAAgB,EAAc,CAAC,SAAO,CAAqvK,OAAjvK,IAAQ,OAA2B,EAAM,MAAM,CAAC,QAAQ,YAAY,KAAK,OAAO,cAAc,OAAO,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,0CAA0C,KAAK,UAAU,OAAO,UAAU,YAAY,GAAG,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,mBAAmB,KAAK,UAAU,OAAO,UAAU,YAAY,GAAG,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,4BAA4B,KAAK,SAAS,CAAC,EAAe,EAAK,OAAO,CAAC,EAAE,gDAAgD,OAAO,UAAU,YAAY,GAAG,CAAC,CAAC,CAAC,CAAC,EAAK,IAAQ,OAA2B,EAAM,MAAM,CAAC,QAAQ,YAAY,KAAK,OAAO,cAAc,OAAO,SAAS,CAAc,EAAK,UAAU,CAAC,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,KAAK,UAAU,QAAQ,IAAI,CAAC,EAAe,EAAK,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