{"version":3,"file":"Scroll_Nav_Updated.DPN2aJsF.mjs","names":["useState","startTransition","useCallback","_Fragment","__esmMin","le","init_ssg_sandbox_shims","te","ne","window","l","_e","p","init_jsx_runtime","ce","init_npm_react_18_3_1","addPropertyControls","init_framer_DcGZRLrs","useIsStaticRenderer","ControlType","ScrollNav","props","links","siteLinks","SITE_LINKS","linksOnLeft","logoSrc","imgSrc","logo","bigLogoSrc","bigLogo","isStatic","rawProgress","setProgress","hovered","setHovered","menuOpen","setMenuOpen","vw","setVw","hasMeasured","setHasMeasured","reduceMotion","setReduceMotion","mq","apply","readInstanceWidth","value","trimmed","parsedPx","parsed","getResponsiveWidth","instanceWidth","style","onResize","nextWidth","alwaysShrunk","readScrollY","candidates","lenis","update","y","effective","nextProgress","scrollDistance","raf","tick","isMobile","mobileMax","isTablet","tabletMax","bigH","bigHeightMobile","bigHeightTablet","bigHeight","sideGutter","availableWidth","desktopScaledBig","logoBigWidth","logoBig","logoBigWidthMobile","logoBigWidthTablet","logoBarTarget","logoBarWidthMobile","logoBarWidth","collapsedLogoMax","barLayout","logoBar","progress","lerp","a","b","currentHeight","barHeight","currentLogoWidth","linksOpacity","isBig","barBg","barBackground","showAnimated","stillSrc","outerStyle","barSurfaceStyle","logoCentered","leftLinks","rightLinks","innerRowStyle","logoWrapStyle","logoImgStyle","linksWrapStyle","hamburgerStyle","barLineStyle","textColor","menuOverlayStyle","menuBackground","menuHeaderStyle","closeBtnStyle","menuLinksStyle","menuGap","item","i","linkFont","hoverColor","logoLink","menuFontSize","init_Scroll_Nav_Updated","v"],"sources":["https:/framerusercontent.com/modules/6FkkPsBGDButuVY38AyA/5bzJ6m0NnqLyI9Q6WpAw/Scroll_Nav_Updated.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useLayoutEffect,useCallback,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// One place to change the nav for the whole site\nconst SITE_LINKS=[{label:\"DESIGN\",link:\"/works\"},{label:\"ABOUT\",link:\"/about\"}];const imgSrc=v=>typeof v===\"string\"?v:v&&v.src?v.src:\"\";export default function ScrollNav(props){const{logo,bigLogo,logoLink,siteLinks=true,alwaysShrunk=false,scrollDistance=300,bigHeight=400,barHeight=72,logoBigWidth=600,logoBarWidth=120,bigHeightTablet=300,logoBigWidthTablet=440,bigHeightMobile=200,logoBigWidthMobile=260,logoBarWidthMobile=90,tabletMax=1024,mobileMax=640,barLayout=\"Logo Center\",barBackground=\"#ffffff\",textColor=\"#3a68ae\",hoverColor=\"#c9613f\",menuBackground=\"#ffffff\",linkFont={fontSize:16,fontWeight:500},menuFontSize=28,menuGap=16,style}=props;const links=siteLinks?SITE_LINKS:props.links||SITE_LINKS;// Site links: DESIGN sits on the left of the centred logo, ABOUT on the right\nconst linksOnLeft=siteLinks?1:props.linksOnLeft??1;const logoSrc=imgSrc(logo);const bigLogoSrc=imgSrc(bigLogo);const isStatic=useIsStaticRenderer();const[rawProgress,setProgress]=useState(0);const[hovered,setHovered]=useState(null);const[menuOpen,setMenuOpen]=useState(false);const[vw,setVw]=useState(1200);const[hasMeasured,setHasMeasured]=useState(false);const[reduceMotion,setReduceMotion]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const apply=()=>startTransition(()=>setReduceMotion(mq.matches));apply();mq.addEventListener?.(\"change\",apply);return()=>mq.removeEventListener?.(\"change\",apply);},[]);const readInstanceWidth=useCallback(value=>{if(typeof value===\"number\")return value;if(typeof value===\"string\"){const trimmed=value.trim();if(trimmed.endsWith(\"px\")){const parsedPx=Number.parseFloat(trimmed);return Number.isFinite(parsedPx)?parsedPx:null;}const parsed=Number.parseFloat(trimmed);if(Number.isFinite(parsed)&&!trimmed.includes(\"%\"))return parsed;}return null;},[]);const getResponsiveWidth=useCallback(()=>{if(typeof window===\"undefined\")return 1200;if(!isStatic)return window.innerWidth;const instanceWidth=readInstanceWidth(style?.width);return instanceWidth&&instanceWidth>0?instanceWidth:window.innerWidth;},[isStatic,readInstanceWidth,style?.width]);useLayoutEffect(()=>{const onResize=()=>{const nextWidth=getResponsiveWidth();setVw(nextWidth);};onResize();setHasMeasured(true);window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);},[getResponsiveWidth]);useEffect(()=>{// Pinned to the bar on inner pages: no scroll tracking needed.\nif(alwaysShrunk)return;const readScrollY=()=>{const candidates=[window.scrollY||0,window.pageYOffset||0,document.documentElement?.scrollTop||0,document.body?.scrollTop||0];// Lenis (used on this site) exposes its instance on window in many\n// Framer setups; read its scroll if available.\nconst lenis=window.lenis||window.__lenis;if(lenis&&typeof lenis.scroll===\"number\"){candidates.push(lenis.scroll);}return Math.max(...candidates);};const update=()=>{const y=readScrollY();// Dead-zone: ignore the first few px so a tiny scroll offset on\n// load (common on tablets / with smooth-scroll libs) doesn't skip\n// the big centered state. Shrink only starts after DEADZONE px.\nconst DEADZONE=20;const effective=Math.max(y-DEADZONE,0);const nextProgress=Math.min(Math.max(effective/scrollDistance,0),1);startTransition(()=>setProgress(nextProgress));};update();window.addEventListener(\"scroll\",update,{passive:true});let raf=0;const tick=()=>{update();raf=requestAnimationFrame(tick);};raf=requestAnimationFrame(tick);return()=>{window.removeEventListener(\"scroll\",update);cancelAnimationFrame(raf);};},[scrollDistance,alwaysShrunk]);const isMobile=vw<=mobileMax;const isTablet=vw>mobileMax&&vw<=tabletMax;useEffect(()=>{if(!isMobile&&menuOpen){startTransition(()=>setMenuOpen(false));}},[isMobile,menuOpen]);const bigH=isMobile?bigHeightMobile:isTablet?bigHeightTablet:bigHeight;const sideGutter=isMobile?16:isTablet?24:Math.min(Math.max(vw*.03,24),56);const availableWidth=Math.max(vw-sideGutter*2,80);const desktopScaledBig=logoBigWidth*(vw/1200);const logoBigTarget=isMobile?logoBigWidthMobile:isTablet?logoBigWidthTablet:desktopScaledBig;const logoBig=Math.min(logoBigTarget,availableWidth);const logoBarTarget=isMobile?logoBarWidthMobile:logoBarWidth;const collapsedLogoMax=isMobile?Math.max(64,availableWidth-56):barLayout===\"Logo Center\"?Math.max(72,availableWidth*.35):Math.max(72,availableWidth*.42);const logoBar=Math.min(logoBarTarget,collapsedLogoMax);// When alwaysShrunk is on (inner pages), pin to the fully-shrunk bar so\n// it matches the homepage's scrolled state with no big-logo intro.\nconst progress=alwaysShrunk?1:rawProgress;const lerp=(a,b)=>a+(b-a)*progress;const currentHeight=lerp(bigH,barHeight);const currentLogoWidth=Math.min(availableWidth,lerp(logoBig,logoBar));const linksOpacity=Math.min(Math.max((progress-.5)/.5,0),1);const isBig=progress<.5;const barBg=progress>.5?barBackground:\"transparent\";// Animated logo plays only in the big state; the bar uses the still logo.\nconst showAnimated=!!bigLogoSrc&&isBig&&!reduceMotion&&!alwaysShrunk;const stillSrc=logoSrc||bigLogoSrc;const outerStyle={position:\"fixed\",top:0,left:0,width:\"100%\",height:currentHeight,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:100,pointerEvents:\"none\",visibility:hasMeasured?\"visible\":\"hidden\"};const barSurfaceStyle={position:\"absolute\",top:0,left:0,width:\"100%\",height:currentHeight,background:barBg,pointerEvents:progress>.5?\"auto\":\"none\",transition:\"background 0.2s ease\"};const logoCentered=barLayout===\"Logo Center\";// In centred mode the links are split around the logo: the first\n// `linksOnLeft` go on the left, the remainder go on the right.\nconst leftLinks=logoCentered?links.slice(0,linksOnLeft):[];const rightLinks=logoCentered?links.slice(linksOnLeft):links;const innerRowStyle={position:\"relative\",width:\"100%\",maxWidth:\"none\",height:\"100%\",display:\"flex\",alignItems:\"center\",// big state centres the logo; bar state spreads the two link groups\n// to the edges with the logo absolutely centred between them.\njustifyContent:isBig?\"center\":\"space-between\",padding:`0 ${sideGutter}px`,boxSizing:\"border-box\",pointerEvents:\"none\"};const logoWrapStyle={// absolutely centre the logo in the bar when Logo Center is chosen\nposition:!isBig&&logoCentered?\"absolute\":\"relative\",left:!isBig&&logoCentered?\"50%\":\"auto\",transform:!isBig&&logoCentered?\"translateX(-50%)\":\"none\",pointerEvents:\"auto\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\"};const logoImgStyle={width:currentLogoWidth,height:\"auto\",display:\"block\"};const linksWrapStyle={display:isBig||isMobile?\"none\":\"flex\",gap:28,alignItems:\"center\",opacity:linksOpacity,pointerEvents:linksOpacity>.1?\"auto\":\"none\"};const showHamburger=isMobile&&!isBig;const hamburgerStyle={display:showHamburger?\"flex\":\"none\",flexDirection:\"column\",justifyContent:\"center\",gap:5,width:32,height:32,opacity:linksOpacity,pointerEvents:linksOpacity>.1?\"auto\":\"none\",cursor:\"pointer\",background:\"transparent\",border:\"none\",padding:0};const barLineStyle={width:24,height:2,background:textColor,borderRadius:2};const menuOverlayStyle={position:\"fixed\",top:0,left:0,width:\"100%\",height:\"100vh\",background:menuBackground,zIndex:200,display:menuOpen?\"flex\":\"none\",flexDirection:\"column\",pointerEvents:menuOpen?\"auto\":\"none\"};const menuHeaderStyle={display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"0 24px\",height:barHeight,flexShrink:0};const closeBtnStyle={width:32,height:32,position:\"relative\",cursor:\"pointer\",background:\"transparent\",border:\"none\",padding:0};const menuLinksStyle={display:\"flex\",flexDirection:\"column\",gap:menuGap,padding:\"24px\"};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:outerStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:barSurfaceStyle}),/*#__PURE__*/_jsxs(\"div\",{style:innerRowStyle,children:[/*#__PURE__*/_jsx(\"nav\",{style:linksWrapStyle,children:leftLinks.map((item,i)=>/*#__PURE__*/_jsx(\"a\",{href:item.link,onMouseEnter:()=>setHovered(i),onMouseLeave:()=>setHovered(null),style:{...linkFont,textDecoration:\"none\",color:hovered===i?hoverColor:textColor,transition:\"color 0.15s ease\",whiteSpace:\"nowrap\"},children:item.label},`l-${i}`))}),/*#__PURE__*/_jsx(\"a\",{href:logoLink||\"/\",style:logoWrapStyle,\"aria-label\":\"Kanika, home\",children:stillSrc?/*#__PURE__*/_jsx(\"img\",{src:showAnimated?bigLogoSrc:stillSrc,alt:\"Kanika\",style:logoImgStyle}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:currentLogoWidth*.4,fontWeight:700,color:textColor,whiteSpace:\"nowrap\"},children:\"logo\"})}),/*#__PURE__*/_jsx(\"nav\",{style:linksWrapStyle,children:rightLinks.map((item,i)=>/*#__PURE__*/_jsx(\"a\",{href:item.link,onMouseEnter:()=>setHovered(1e3+i),onMouseLeave:()=>setHovered(null),style:{...linkFont,textDecoration:\"none\",color:hovered===1e3+i?hoverColor:textColor,transition:\"color 0.15s ease\",whiteSpace:\"nowrap\"},children:item.label},`r-${i}`))}),/*#__PURE__*/_jsxs(\"button\",{style:hamburgerStyle,onClick:()=>setMenuOpen(true),\"aria-label\":\"Open menu\",children:[/*#__PURE__*/_jsx(\"span\",{style:barLineStyle}),/*#__PURE__*/_jsx(\"span\",{style:barLineStyle}),/*#__PURE__*/_jsx(\"span\",{style:barLineStyle})]})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:menuOverlayStyle,children:[/*#__PURE__*/_jsxs(\"div\",{style:menuHeaderStyle,children:[/*#__PURE__*/_jsx(\"a\",{href:logoLink||\"/\",\"aria-label\":\"Kanika, home\",children:stillSrc?/*#__PURE__*/_jsx(\"img\",{src:stillSrc,alt:\"Kanika\",style:{width:logoBar,height:\"auto\"}}):/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:700,color:textColor},children:\"logo\"})}),/*#__PURE__*/_jsxs(\"button\",{style:closeBtnStyle,onClick:()=>setMenuOpen(false),\"aria-label\":\"Close menu\",children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:15,left:4,width:24,height:2,background:textColor,borderRadius:2,transform:\"rotate(45deg)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:15,left:4,width:24,height:2,background:textColor,borderRadius:2,transform:\"rotate(-45deg)\"}})]})]}),/*#__PURE__*/_jsx(\"nav\",{style:menuLinksStyle,children:links.map((item,i)=>/*#__PURE__*/_jsx(\"a\",{href:item.link,onClick:()=>setMenuOpen(false),style:{...linkFont,fontSize:menuFontSize,textDecoration:\"none\",color:textColor,padding:\"8px 0\"},children:item.label},i))})]})]});}addPropertyControls(ScrollNav,{logo:{type:ControlType.ResponsiveImage,title:\"Logo\"},bigLogo:{type:ControlType.ResponsiveImage,title:\"Big Logo\",description:\"Optional animated logo (WebP/GIF). Plays only while the logo is big; the bar shows Logo.\"},logoLink:{type:ControlType.Link,title:\"Logo Link\"},siteLinks:{type:ControlType.Boolean,title:\"Site Links\",description:\"On: DESIGN → /works (left), ABOUT → /about (right), same on every page.\",enabledTitle:\"On\",disabledTitle:\"Custom\",defaultValue:true},links:{type:ControlType.Array,title:\"Links\",hidden:props=>props.siteLinks!==false,control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"Link\"},link:{type:ControlType.Link,title:\"URL\"}}},defaultValue:SITE_LINKS},alwaysShrunk:{type:ControlType.Boolean,title:\"Always Bar\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false},scrollDistance:{type:ControlType.Number,title:\"Shrink Over\",min:50,max:1200,unit:\"px\",defaultValue:300,hidden:props=>props.alwaysShrunk},bigHeight:{type:ControlType.Number,title:\"Big Height\",min:100,max:2e3,unit:\"px\",defaultValue:400,hidden:props=>props.alwaysShrunk},barHeight:{type:ControlType.Number,title:\"Bar Height\",min:40,max:160,unit:\"px\",defaultValue:72},logoBigWidth:{type:ControlType.Number,title:\"Logo Big\",min:100,max:1600,unit:\"px\",defaultValue:600,hidden:props=>props.alwaysShrunk},logoBarWidth:{type:ControlType.Number,title:\"Logo Bar\",min:40,max:400,unit:\"px\",defaultValue:120},bigHeightTablet:{type:ControlType.Number,title:\"Big H (Tablet)\",min:80,max:1400,unit:\"px\",defaultValue:300,hidden:props=>props.alwaysShrunk},logoBigWidthTablet:{type:ControlType.Number,title:\"Logo Big (Tablet)\",min:80,max:1200,unit:\"px\",defaultValue:440,hidden:props=>props.alwaysShrunk},bigHeightMobile:{type:ControlType.Number,title:\"Big H (Mobile)\",min:60,max:900,unit:\"px\",defaultValue:200,hidden:props=>props.alwaysShrunk},logoBigWidthMobile:{type:ControlType.Number,title:\"Logo Big (Mobile)\",min:60,max:700,unit:\"px\",defaultValue:260,hidden:props=>props.alwaysShrunk},logoBarWidthMobile:{type:ControlType.Number,title:\"Logo Bar (Mobile)\",min:30,max:250,unit:\"px\",defaultValue:90},tabletMax:{type:ControlType.Number,title:\"Tablet Max W\",min:700,max:1400,unit:\"px\",defaultValue:1024},mobileMax:{type:ControlType.Number,title:\"Mobile Max W\",min:360,max:900,unit:\"px\",defaultValue:640},barLayout:{type:ControlType.Enum,title:\"Bar Layout\",options:[\"Logo Center\",\"Logo Left\"],defaultValue:\"Logo Center\"},linksOnLeft:{type:ControlType.Number,title:\"Links on Left\",min:0,max:6,step:1,displayStepper:true,defaultValue:1,hidden:props=>props.barLayout!==\"Logo Center\"||props.siteLinks!==false},barBackground:{type:ControlType.Color,title:\"Bar BG\",defaultValue:\"#ffffff\"},menuBackground:{type:ControlType.Color,title:\"Menu BG\",defaultValue:\"#ffffff\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#3a68ae\"},hoverColor:{type:ControlType.Color,title:\"Hover\",defaultValue:\"#c9613f\"},linkFont:{type:ControlType.Font,title:\"Link Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:16,variant:\"Medium\"}},menuFontSize:{type:ControlType.Number,title:\"Menu Size\",min:12,max:80,unit:\"px\",defaultValue:28},menuGap:{type:ControlType.Number,title:\"Menu Gap\",min:0,max:64,unit:\"px\",defaultValue:16}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollNav\",\"slots\":[],\"annotations\":{\"framerCont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