{"version":3,"file":"CaseStudyProgress.DTaHVyZh.mjs","names":["React.useState","React.useRef","React.useCallback","startedAt","lastDesired","stableCount"],"sources":["https:/framerusercontent.com/modules/RXv7iAkQHfZtFcLmF2ME/qqt1tj3PKP4yspq5XciE/CaseStudyProgress.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 points=[{label:\"Short form content\",patterns:[\"01 • SHORT FORM CONTENT\"]},{label:\"Solution\",patterns:[\"02 • GRAPHICS\",\"02 • GRAPHICS\"]},{label:\"Process\",patterns:[\"03 • EVENT PLANNING\",\"03 • EVENT PLANNING\"]}];const N=points.length;const norm=value=>(value||\"\").replace(/\\s+/g,\" \").trim().toUpperCase();function visible(element){const rect=element.getBoundingClientRect();if(rect.width<=0||rect.height<=0||rect.right<=0||rect.left>=window.innerWidth||element.getClientRects().length===0)return false;let node=element;while(node){const styles=getComputedStyle(node);if(styles.display===\"none\"||styles.visibility===\"hidden\"||Number(styles.opacity||1)===0)return false;node=node.parentElement;}return true;}function leaves(){if(typeof document===\"undefined\")return[];return Array.from(document.querySelectorAll(\"p,span,h1,h2,h3,h4,h5,h6,div\")).filter(element=>!element.closest('[aria-label=\"Case study sections\"]')&&element.children.length===0&&visible(element));}const byTop=(a,b)=>a.getBoundingClientRect().top-b.getBoundingClientRect().top;function findPoint(point){const elements=leaves();for(const raw of point.patterns){const pattern=norm(raw);const exact=elements.filter(element=>norm(element.textContent)===pattern);const partial=elements.filter(element=>norm(element.textContent).includes(pattern));const matches=exact.length?exact:partial;if(matches.length)return matches.sort(byTop)[0];}return null;}function documentTop(element){return element.getBoundingClientRect().top+window.scrollY;}function clamp(value,min,max){return Math.max(min,Math.min(max,value));}/** @framerIntrinsicWidth 1000 @framerIntrinsicHeight 48 @framerSupportedLayoutWidth any @framerSupportedLayoutHeight fixed */export default function CaseStudyProgress(props){const{progressColor,trackColor,trackHeight,dotSize,fixedTop,sectionTopPadding=80,jumpPadding=120,sideInset,smoothScroll,showLabels,fadeEnabled=true,fadeColor=\"#FCFCFC\",fadeHeight=92,font,debug=false}=props;const canvas=RenderTarget.current()===RenderTarget.canvas;const[active,setActive]=React.useState(0);const[progress,setProgress]=React.useState(0);const anchors=React.useRef([]);const minActive=React.useRef(0);const minProgress=React.useRef(0);const scrollRaf=React.useRef(0);const sectionOffset=Math.max(0,sectionTopPadding);const jumpOffset=Math.max(0,jumpPadding);const refreshAnchors=React.useCallback(()=>{anchors.current=points.map(findPoint);},[]);const measure=React.useCallback(()=>{if(typeof window===\"undefined\")return;if(anchors.current.length!==N)refreshAnchors();const tops=anchors.current.map(el=>el&&el.isConnected?documentTop(el):null);const scroll=window.scrollY+sectionOffset;let reached=0;tops.forEach((top,i)=>{if(top!==null&&scroll>=top)reached=i;});const effectiveActive=Math.max(reached,minActive.current);setActive(prev=>prev===effectiveActive?prev:effectiveActive);// i like u <3\nconst frac=i=>i/(N-1);const available=tops.map((top,i)=>top!==null?{i,top}:null).filter(Boolean);let rawProgress=0;if(available.length===0){rawProgress=0;}else{const first=available[0];const last=available[available.length-1];if(scroll>=last.top){rawProgress=frac(last.i);}else if(scroll<first.top){rawProgress=first.top>0?clamp(scroll/first.top,0,1)*frac(first.i):0;}else{let from=first,to=last;for(let k=0;k<available.length-1;k++){const a=available[k],b=available[k+1];if(scroll>=a.top&&scroll<b.top){from=a;to=b;break;}}const fromFrac=frac(from.i);const toFrac=frac(to.i);rawProgress=from.top===to.top?fromFrac:fromFrac+clamp((scroll-from.top)/(to.top-from.top),0,1)*(toFrac-fromFrac);}}rawProgress=clamp(rawProgress,0,1);const effectiveProgress=Math.max(rawProgress,minProgress.current);setProgress(prev=>prev===effectiveProgress?prev:effectiveProgress);if(rawProgress>=minProgress.current&&reached>=minActive.current){minActive.current=0;minProgress.current=0;}},[refreshAnchors,sectionOffset]);React.useEffect(()=>{if(canvas||typeof window===\"undefined\")return;let frame=0;const update=()=>{cancelAnimationFrame(frame);frame=requestAnimationFrame(measure);};const refresh=()=>{refreshAnchors();update();};refresh();const afterLayout=setTimeout(refresh,800);const fallback=setInterval(measure,120);window.addEventListener(\"scroll\",update,{passive:true});document.addEventListener(\"scroll\",update,{passive:true,capture:true});window.addEventListener(\"resize\",refresh);window.addEventListener(\"load\",refresh);const observer=new ResizeObserver(refresh);observer.observe(document.documentElement);return()=>{cancelAnimationFrame(frame);clearTimeout(afterLayout);clearInterval(fallback);window.removeEventListener(\"scroll\",update);document.removeEventListener(\"scroll\",update,true);window.removeEventListener(\"resize\",refresh);window.removeEventListener(\"load\",refresh);observer.disconnect();};},[canvas,measure,refreshAnchors]);const jump=(point,index)=>{if(canvas||typeof window===\"undefined\")return;// Re-find the heading fresh: cached anchors can be stale after Framer\n// re-renders or responsive variant swaps.\nrefreshAnchors();const element=anchors.current[index]||findPoint(point);if(!element){if(debug)console.log(`[progress] dot ${index+1} (${point.label}): NO MATCH found`);return;}if(debug)console.log(`[progress] dot ${index+1} (${point.label}) matched:`,JSON.stringify((element.textContent||\"\").trim().slice(0,60)),\"at docTop\",Math.round(documentTop(element)));const targetTop=()=>{const max=Math.max(0,document.documentElement.scrollHeight-window.innerHeight);return Math.min(max,Math.max(0,documentTop(element)-jumpOffset));};const targetProgress=index/(N-1);minActive.current=index;minProgress.current=targetProgress;setActive(index);setProgress(targetProgress);if(!smoothScroll){// No animation requested: jump, then nudge once lazy content settles.\nwindow.scrollTo({top:targetTop(),behavior:\"auto\"});const startedAt=Date.now();let lastDesired=Number.NaN;let stableCount=0;const settle=()=>{if(!element.isConnected)return;const desired=targetTop();stableCount=Math.abs(desired-lastDesired)<=1?stableCount+1:0;lastDesired=desired;if(Math.abs(window.scrollY-desired)>2)window.scrollTo({top:desired,behavior:\"auto\"});const done=stableCount>=4;if(!done&&Date.now()-startedAt<4e3)setTimeout(settle,120);};setTimeout(settle,120);return;}// One continuous animation that re-reads the target every frame and eases\n// toward it. Because it's a single glide (not repeated native smooth-scroll\n// calls), a target that drifts as lazy images load is absorbed smoothly\n// instead of restarting the animation and jittering.\nif(scrollRaf.current)cancelAnimationFrame(scrollRaf.current);const startedAt=Date.now();let lastDesired=Number.NaN;let stableCount=0;// Let the user take over: any manual scroll intent cancels our animation.\nconst stop=()=>{if(scrollRaf.current)cancelAnimationFrame(scrollRaf.current);scrollRaf.current=0;window.removeEventListener(\"wheel\",stop);window.removeEventListener(\"touchstart\",stop);window.removeEventListener(\"keydown\",stop);};window.addEventListener(\"wheel\",stop,{passive:true});window.addEventListener(\"touchstart\",stop,{passive:true});window.addEventListener(\"keydown\",stop);const animate=()=>{if(!element.isConnected)return stop();const desired=targetTop();const current=window.scrollY;const diff=desired-current;stableCount=Math.abs(desired-lastDesired)<=1?stableCount+1:0;lastDesired=desired;const settled=Math.abs(diff)<=.5&&stableCount>=4;const timedOut=Date.now()-startedAt>=5e3;if(settled||timedOut){window.scrollTo({top:desired,behavior:\"auto\"});stop();return;}// Exponential ease toward a (possibly moving) target.\nconst next=Math.abs(diff)<1?desired:current+diff*.16;window.scrollTo({top:next,behavior:\"auto\"});scrollRaf.current=requestAnimationFrame(animate);};scrollRaf.current=requestAnimationFrame(animate);};const shown=canvas?2:active;const displayProgress=canvas?2/(N-1):progress;const inset=Math.max(0,sideInset);return /*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":\"Case study sections\",style:{position:\"fixed\",inset:\"0 0 auto 0\",zIndex:31,width:\"100vw\",height:fixedTop+Math.max(48,fadeHeight),pointerEvents:\"none\",overflow:\"visible\"},children:[fadeEnabled&&/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",inset:\"0 0 auto 0\",width:\"100vw\",height:fixedTop+fadeHeight,background:`linear-gradient(to bottom,${fadeColor} 0%,${fadeColor} 45%,color-mix(in srgb,${fadeColor} 75%,transparent) 72%,transparent 100%)`,pointerEvents:\"none\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:fixedTop+8,left:inset,width:`calc(100% - ${inset*2}px)`,height:trackHeight,backgroundColor:trackColor},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",inset:0,backgroundColor:progressColor,transform:`scaleX(${displayProgress})`,transformOrigin:\"left center\",transition:canvas?\"none\":\"transform 80ms linear\"}}),points.map((point,i)=>{const fraction=i/(N-1);const reached=i<=shown;const current=i===shown;const isFirst=i===0;const isLast=i===N-1;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",title:point.label,\"aria-label\":`Go to ${point.label}`,\"aria-current\":current?\"step\":undefined,onClick:()=>jump(point,i),style:{position:\"absolute\",left:`${fraction*100}%`,top:\"50%\",width:dotSize,height:dotSize,padding:0,border:`2px solid ${reached?progressColor:trackColor}`,borderRadius:\"50%\",backgroundColor:reached?progressColor:fadeColor,transform:\"translate(-50%,-50%)\",transition:\"background-color 160ms ease,border-color 160ms ease\",cursor:\"pointer\",pointerEvents:\"auto\",outline:\"none\",boxSizing:\"border-box\"},children:showLabels&&/*#__PURE__*/_jsx(\"span\",{style:{...font,position:\"absolute\",top:dotSize+7,left:\"50%\",transform:isFirst?\"translateX(0)\":isLast?\"translateX(-100%)\":\"translateX(-50%)\",padding:isFirst?\"0 0 0 16px\":isLast?\"0 16px 0 0\":0,whiteSpace:\"nowrap\",color:current?\"#242424\":reached?\"#6E6E6E\":\"#C8C8C8\",fontSize:\"clamp(8px,1vw,10px)\",lineHeight:\"1em\",letterSpacing:\".05em\",textTransform:\"uppercase\",boxSizing:\"border-box\"},children:point.label})},point.label);})]})]});}addPropertyControls(CaseStudyProgress,{progressColor:{type:ControlType.Color,title:\"Progress\",defaultValue:\"#90B86E\"},trackColor:{type:ControlType.Color,title:\"Track\",defaultValue:\"#D1D3DC\"},trackHeight:{type:ControlType.Number,title:\"Track Height\",defaultValue:3,min:1,max:10,step:1,unit:\"px\"},dotSize:{type:ControlType.Number,title:\"Dot Size\",defaultValue:13,min:6,max:22,step:1,unit:\"px\"},fixedTop:{type:ControlType.Number,title:\"Fixed Top\",defaultValue:50,min:0,max:160,step:1,unit:\"px\"},sectionTopPadding:{type:ControlType.Number,title:\"Scroll Offset\",defaultValue:80,min:0,max:160,step:1,unit:\"px\"},jumpPadding:{type:ControlType.Number,title:\"Jump Padding\",defaultValue:120,min:0,max:200,step:1,unit:\"px\"},sideInset:{type:ControlType.Number,title:\"Side Inset\",defaultValue:0,min:0,max:120,step:1,unit:\"px\"},smoothScroll:{type:ControlType.Boolean,title:\"Scroll\",defaultValue:true,enabledTitle:\"Smooth\",disabledTitle:\"Instant\"},showLabels:{type:ControlType.Boolean,title:\"Labels\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},fadeEnabled:{type:ControlType.Boolean,title:\"Top Fade\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},fadeColor:{type:ControlType.Color,title:\"Fade Color\",defaultValue:\"#FCFCFC\",hidden:({fadeEnabled})=>!fadeEnabled},fadeHeight:{type:ControlType.Number,title:\"Fade Height\",defaultValue:92,min:40,max:180,step:1,unit:\"px\",hidden:({fadeEnabled})=>!fadeEnabled},font:{type:ControlType.Font,title:\"Label Font\",controls:\"basic\",defaultFontType:\"monospace\",defaultValue:{fontSize:\"10px\",lineHeight:\"1em\",letterSpacing:\".05em\"}},debug:{type:ControlType.Boolean,title:\"Debug Log\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CaseStudyProgress\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CaseStudyProgress.map"],"mappings":"sNAA2c,SAAS,EAAQ,EAAQ,CAAC,IAAM,EAAK,EAAQ,uBAAuB,CAAC,GAAG,EAAK,OAAO,GAAG,EAAK,QAAQ,GAAG,EAAK,OAAO,GAAG,EAAK,MAAM,EAAO,YAA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