{"version":3,"file":"Project_Transition_1.fFpOA98P.mjs","names":["useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/0U96so0YJuf0WCZrq9uU/T7BKQjYYplguePkcA7IF/Project_Transition_1.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useEffect,useState,useCallback}from\"react\";import{addPropertyControls,ControlType,Link,useIsStaticRenderer}from\"framer\";/**\n * ProjectTransition — Slab\n *\n * One component, two roles. Place it TWICE in the project detail template:\n *\n *   Role: Hero          → very top of the page. Renders the header image as\n *                         a top-anchored full-viewport cover, clipped to\n *                         Banner Height at rest — the component owns the\n *                         crop, so any asset ratio yields a short banner.\n *                         Arriving via the transition: first paint is the\n *                         unclipped 100vh frame (identical to the\n *                         transition's last frame), then ONLY the container\n *                         height contracts to Banner Height on the house\n *                         curve. The image itself is never resized or\n *                         moved — a pure clip reveal — so it stays\n *                         perfectly still while the meta below slides up.\n *\n *   Role: Next Project  → last section of the page. Tall scroll region.\n *                         Centered backdrop wordmark as the resting state.\n *                         Damped scroll progress slides the NEXT page's\n *                         opening block in from the bottom: title / tagline\n *                         / % row above a top-anchored 100vh cover of the\n *                         next header, growing from side-inset to\n *                         full-bleed. At 100% the image alone fills the\n *                         viewport — the exact frame the destination paints\n *                         first. Handoff flag + real SPA navigation.\n *\n * STILLNESS RULE: the image is painted the same way in every phase on both\n * sides — width-filled cover of a 100vh box, anchored to the TOP edge\n * (vertical focal point is deliberately pinned to 0% so no CMS focal\n * setting can shift it between pages). Transitions only ever clip it.\n *\n * PINNING: no position:sticky (dies under ancestor transforms/clip). The\n * rAF loop measures the wrapper's visual position each frame and\n * counter-translates the viewport. Transforms are written directly to the\n * DOM; React state is only touched for the percent label.\n *\n * CMS wiring: Hero role binds to the entry's own Hero field. Next Project\n * role binds through a self-referencing \"Next\" field: Link → Next,\n * Image → Next→Hero, Title → Next→Title, Tagline → Next→Tagline.\n *\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */const EASE=\"cubic-bezier(0.22, 1, 0.36, 1)\"// house curve\n;const HANDOFF_KEY=\"slab:handoff\";// ---------------------------------------------------------------------\n// The one image treatment used everywhere: top-anchored cover of a 100vh\n// box. Containers clip it; nothing ever resizes it.\n// ---------------------------------------------------------------------\nfunction PinnedCover({image,alt,imgStyle}){if(!image?.src){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100vh\",background:\"rgba(0,0,0,0.06)\"}});}return /*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt||alt||\"\",style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100vh\",objectFit:\"cover\",// Horizontal focal respected; vertical pinned to the top\n// edge — the shared anchor across the page boundary.\nobjectPosition:`${image.positionX??\"center\"} 0%`,display:\"block\",...imgStyle}});}// ---------------------------------------------------------------------\n// Reduced-motion hook\n// ---------------------------------------------------------------------\nfunction useReducedMotion(){const[reduced,setReduced]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");setReduced(mq.matches);const onChange=e=>setReduced(e.matches);mq.addEventListener?.(\"change\",onChange);return()=>mq.removeEventListener?.(\"change\",onChange);},[]);return reduced;}// ---------------------------------------------------------------------\n// Role: Hero — destination side\n// ---------------------------------------------------------------------\nfunction HeroRole(props){const{image,arrival,arrivalDuration,bannerHeight,style}=props;const isStatic=useIsStaticRenderer();const reducedMotion=useReducedMotion();// Read the flag synchronously on first client render — the first paint\n// must already be the full-viewport frame or there is a visible cut.\nconst handoffRef=useRef(null);if(handoffRef.current===null){if(typeof window!==\"undefined\"){try{const flag=sessionStorage.getItem(HANDOFF_KEY);handoffRef.current=flag!==null;if(flag!==null)sessionStorage.removeItem(HANDOFF_KEY);}catch(e){handoffRef.current=false;}}else{handoffRef.current=false;}}const cameFromTransition=handoffRef.current===true;const doArrival=cameFromTransition&&arrival&&!reducedMotion&&!isStatic;// Phases: \"full\" (100vh first paint) → \"contracting\" → \"rest\".\nconst[phase,setPhase]=useState(doArrival?\"full\":\"rest\");useEffect(()=>{if(!doArrival)return;let timeoutId=null;// Two frames so the 100vh state has painted before the height\n// transition begins.\nconst raf=requestAnimationFrame(()=>requestAnimationFrame(()=>{setPhase(\"contracting\");timeoutId=setTimeout(()=>setPhase(\"rest\"),arrivalDuration*1e3+80);}));return()=>{cancelAnimationFrame(raf);if(timeoutId)clearTimeout(timeoutId);};// eslint-disable-next-line react-hooks/exhaustive-deps\n},[]);const height=phase===\"full\"?\"100vh\":`${bannerHeight}vh`;// Vertical focal point from the Image control's own crosshair.\n// \"top\"/\"center\"/\"bottom\" or \"NN%\" → 0–100. The 100vh render is\n// panned so the chosen slice sits in the banner; at full viewport\n// the pan is zero, so the cross-page frame is unaffected.\nconst rawY=image?.positionY;const focusY=rawY===\"top\"?0:rawY===\"center\"?50:rawY===\"bottom\"?100:Math.min(100,Math.max(0,parseFloat(rawY??\"0\")||0));const pan=phase===\"full\"?\"translateY(0px)\":`translateY(calc((100vh - ${bannerHeight}vh) * -${(focusY/100).toFixed(4)}))`;return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",overflow:\"hidden\",width:\"100%\",height,transition:phase===\"contracting\"?`height ${arrivalDuration}s ${EASE}`:\"none\"},children:/*#__PURE__*/_jsx(PinnedCover,{image:image,alt:\"\",imgStyle:{transform:pan,transition:phase===\"contracting\"?`transform ${arrivalDuration}s ${EASE}`:\"none\"}})});}// ---------------------------------------------------------------------\n// Role: Next Project — origin side\n// ---------------------------------------------------------------------\nfunction NextRole(props){const{nextLink,image,title,tagline,label,labelFont,titleFont,taglineFont,sideInset,scrollLength,smoothing,showPercent,textColor,mutedColor,background,previewProgress,style}=props;const isStatic=useIsStaticRenderer();const reducedMotion=useReducedMotion();const wrapperRef=useRef(null);const viewportRef=useRef(null);const blockRef=useRef(null);const rowRef=useRef(null);const labelRef=useRef(null);const imageWrapRef=useRef(null);const linkRef=useRef(null);const displayedRef=useRef(0);const rowHRef=useRef(0);const lastTRef=useRef(0);const rafRef=useRef(null);const inViewRef=useRef(false);const navigatedRef=useRef(false);const[percent,setPercent]=useState(0);useEffect(()=>{const el=rowRef.current;if(!el||typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(()=>{rowHRef.current=el.getBoundingClientRect().height;});ro.observe(el);return()=>ro.disconnect();},[]);const commit=useCallback(()=>{if(navigatedRef.current)return;navigatedRef.current=true;try{sessionStorage.setItem(HANDOFF_KEY,String(nextLink??\"\"));}catch(e){// sessionStorage unavailable — navigation still proceeds\n}linkRef.current?.click();},[nextLink]);useEffect(()=>{if(isStatic||reducedMotion)return;if(typeof window===\"undefined\")return;const apply=()=>{const wrapper=wrapperRef.current;const viewport=viewportRef.current;const block=blockRef.current;if(!wrapper||!viewport||!block)return{p:0,target:0};const rect=wrapper.getBoundingClientRect();const vh=window.innerHeight;const scrollable=rect.height-vh;if(scrollable<=0)return{p:0,target:0};// Manual pin — transform-aware, sticky-free.\nconst pinY=Math.min(Math.max(-rect.top,0),scrollable);viewport.style.transform=`translate3d(0, ${pinY.toFixed(2)}px, 0)`;// Damped progress — time-based exponential catch-up, so the\n// glide is identical at 60Hz and 120Hz, and keeps settling\n// after the user stops scrolling.\nconst now=performance.now();const dt=Math.min(.05,Math.max(.001,(now-lastTRef.current)/1e3));lastTRef.current=now;const target=pinY/scrollable;const current=displayedRef.current;const alpha=smoothing>.01?1-Math.exp(-dt/smoothing):1;const next=current+(target-current)*alpha;const p=Math.abs(target-next)<5e-4?target:next;displayedRef.current=p;// Slide: p=0 → block fully below; p=1 → row exited past the\n// top, the image alone fills the viewport.\nconst rowH=rowHRef.current;const y=(1-p)*vh-p*rowH;block.style.transform=`translate3d(0, ${y.toFixed(2)}px, 0)`;// Backdrop label: hold, then fade as the block overtakes it.\nconst label=labelRef.current;if(label){const fade=Math.min(1,Math.max(0,(p-.35)/.35));label.style.opacity=(1-fade).toFixed(3);}// Image grows from side-inset to full-bleed with progress.\nconst wrap=imageWrapRef.current;if(wrap){const m=((1-p)*sideInset).toFixed(2);wrap.style.marginLeft=`${m}px`;wrap.style.marginRight=`${m}px`;}return{p,target};};const tick=()=>{const{p,target}=apply();const pct=Math.round(p*100);setPercent(prev=>prev===pct?prev:pct);if(p>=.995&&target>=.995){commit();return;}if(inViewRef.current){rafRef.current=requestAnimationFrame(tick);}else{rafRef.current=null;}};apply();const io=new IntersectionObserver(entries=>{const visible=entries[0]?.isIntersecting??false;inViewRef.current=visible;if(visible&&rafRef.current===null){lastTRef.current=performance.now();rafRef.current=requestAnimationFrame(tick);}else if(!visible){apply();}},{rootMargin:\"20% 0px\"});if(wrapperRef.current)io.observe(wrapperRef.current);return()=>{io.disconnect();if(rafRef.current!==null)cancelAnimationFrame(rafRef.current);rafRef.current=null;};},[isStatic,reducedMotion,smoothing,sideInset,commit]);// Reduced motion: plain link, no hijack, no tall section.\nif(reducedMotion){return /*#__PURE__*/_jsxs(\"div\",{style:{...style,background,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:\"1em\",padding:\"18vh 24px\"},children:[/*#__PURE__*/_jsx(Link,{href:nextLink,children:/*#__PURE__*/_jsx(\"a\",{style:{...titleFont,color:textColor,textDecoration:\"none\"},children:title})}),/*#__PURE__*/_jsx(\"div\",{style:{...taglineFont,color:mutedColor},children:tagline})]});}const p0=isStatic?previewProgress:0;const staticPercent=isStatic?Math.round(p0*100):percent;return /*#__PURE__*/_jsxs(\"div\",{ref:wrapperRef,style:{...style,position:\"relative\",width:\"100%\",height:`${scrollLength}vh`,background,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(Link,{href:nextLink,children:/*#__PURE__*/_jsx(\"a\",{ref:linkRef,\"aria-hidden\":\"true\",tabIndex:-1,style:{position:\"absolute\",width:1,height:1,opacity:0,pointerEvents:\"none\"},children:title})}),/*#__PURE__*/_jsxs(\"div\",{ref:viewportRef,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100vh\",overflow:\"hidden\",background,willChange:\"transform\"},children:[label?/*#__PURE__*/_jsx(\"div\",{ref:labelRef,style:{position:\"absolute\",inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",pointerEvents:\"none\",opacity:isStatic?1-Math.min(1,Math.max(0,(p0-.35)/.35)):1},children:/*#__PURE__*/_jsx(\"div\",{style:{...labelFont,color:textColor},children:label})}):null,/*#__PURE__*/_jsx(\"div\",{ref:blockRef,style:{position:\"absolute\",top:0,left:0,width:\"100%\",transform:`translate3d(0, ${((1-p0)*100).toFixed(3)}vh, 0)`,willChange:\"transform\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsxs(\"div\",{ref:imageWrapRef,style:{marginLeft:`${(1-p0)*sideInset}px`,marginRight:`${(1-p0)*sideInset}px`},children:[/*#__PURE__*/_jsxs(\"div\",{ref:rowRef,style:{display:\"flex\",alignItems:\"baseline\",justifyContent:\"space-between\",gap:\"2em\",padding:\"0 0 12px\",background,whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{...titleFont,color:textColor,flexShrink:0},children:title}),/*#__PURE__*/_jsx(\"div\",{style:{...taglineFont,color:mutedColor,overflow:\"hidden\",textOverflow:\"ellipsis\"},children:tagline}),showPercent&&/*#__PURE__*/_jsxs(\"div\",{style:{...titleFont,color:textColor,flexShrink:0,fontVariantNumeric:\"tabular-nums\"},children:[staticPercent,\"%\"]})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",height:\"100vh\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(PinnedCover,{image:image,alt:title})})]})})]})]});}// ---------------------------------------------------------------------\n// Entry point — role switch\n// ---------------------------------------------------------------------\nexport default function ProjectTransition(props){if(props.role===\"hero\")return /*#__PURE__*/_jsx(HeroRole,{...props});return /*#__PURE__*/_jsx(NextRole,{...props});}ProjectTransition.defaultProps={role:\"next\",title:\"Next Project\",tagline:\"A one-line description\",label:\"Next Project\",sideInset:50,scrollLength:230,smoothing:.7,showPercent:true,textColor:\"#111111\",mutedColor:\"#8A8A8A\",background:\"#FFFFFF\",previewProgress:.39,arrival:true,arrivalDuration:1,bannerHeight:55};addPropertyControls(ProjectTransition,{role:{type:ControlType.Enum,title:\"Role\",options:[\"hero\",\"next\"],optionTitles:[\"Hero\",\"Next Project\"],defaultValue:\"next\",displaySegmentedControl:true},// --- Shared ---\nimage:{type:ControlType.ResponsiveImage,title:\"Image\",description:\"Hero role: this entry's own hero. Next Project role: bind to Next → Hero.\"},// --- Hero role ---\nbannerHeight:{type:ControlType.Number,title:\"Banner Height\",min:20,max:90,step:1,unit:\"vh\",defaultValue:55,description:\"Resting crop height of the hero.\",hidden:props=>props.role!==\"hero\"},arrival:{type:ControlType.Boolean,title:\"Arrival\",defaultValue:true,description:\"Contract from full viewport to Banner Height when arriving via the transition.\",hidden:props=>props.role!==\"hero\"},arrivalDuration:{type:ControlType.Number,title:\"Duration\",min:.4,max:2.5,step:.1,unit:\"s\",defaultValue:1,hidden:props=>props.role!==\"hero\"||!props.arrival},// --- Next Project role ---\nnextLink:{type:ControlType.Link,title:\"Next Page\",hidden:props=>props.role!==\"next\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Next Project\",hidden:props=>props.role!==\"next\"},tagline:{type:ControlType.String,title:\"Tagline\",defaultValue:\"A one-line description\",hidden:props=>props.role!==\"next\"},label:{type:ControlType.String,title:\"Backdrop\",defaultValue:\"Next Project\",description:\"Resting-state wordmark behind the slide. Empty to hide.\",hidden:props=>props.role!==\"next\"},labelFont:{type:ControlType.Font,title:\"Backdrop Type\",controls:\"extended\",defaultValue:{family:\"Georgia\",size:88,lineHeight:\"1.1em\"},hidden:props=>props.role!==\"next\"},titleFont:{type:ControlType.Font,title:\"Title Type\",controls:\"extended\",defaultValue:{family:\"Georgia\",size:40,lineHeight:\"1.1em\"},hidden:props=>props.role!==\"next\"},taglineFont:{type:ControlType.Font,title:\"Tagline Type\",controls:\"extended\",defaultValue:{family:\"Georgia\",size:28,lineHeight:\"1.2em\"},hidden:props=>props.role!==\"next\"},sideInset:{type:ControlType.Number,title:\"Side Inset\",min:0,max:160,step:2,unit:\"px\",defaultValue:50,description:\"Image starts inset from the edges, grows to full-bleed.\",hidden:props=>props.role!==\"next\"},scrollLength:{type:ControlType.Number,title:\"Length\",min:150,max:500,step:10,unit:\"vh\",defaultValue:230,hidden:props=>props.role!==\"next\"},smoothing:{type:ControlType.Number,title:\"Smoothing\",min:.05,max:1,step:.01,unit:\"s\",defaultValue:.7,description:\"Catch-up time toward the scroll position. Higher = floatier. (Reference site measures 0.17 — but it runs site-wide smooth scroll.)\",hidden:props=>props.role!==\"next\"},showPercent:{type:ControlType.Boolean,title:\"Percent\",defaultValue:true,hidden:props=>props.role!==\"next\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#111111\",hidden:props=>props.role!==\"next\"},mutedColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"#8A8A8A\",hidden:props=>props.role!==\"next\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\",hidden:props=>props.role!==\"next\"},previewProgress:{type:ControlType.Number,title:\"Canvas Preview\",min:0,max:1,step:.01,defaultValue:.39,description:\"Progress shown on the canvas only.\",hidden:props=>props.role!==\"next\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectTransition\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Project_Transition_1.map"],"mappings":"mOAiDA,SAAS,EAAY,CAAC,QAAM,MAAI,YAAU,CAAuJ,OAAlJ,GAAO,IAA+J,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,OAAO,EAAM,OAAO,IAAI,EAAM,KAAK,GAAK,GAAG,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,QAAQ,UAAU,QAExW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