{"version":3,"file":"ScrollSectionNav.DiIdD_W4.mjs","names":["useState","useRef","container"],"sources":["https:/framerusercontent.com/modules/X4OFj36wuodEAe1jTL3O/wtHMrtwPWFijUKDCB5tq/ScrollSectionNav.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{useState,useEffect,useRef}from\"react\";export default function ScrollSectionNav(props){const{sections=[{title:\"Introduction\",targetId:\"intro\"},{title:\"Services\",targetId:\"services\"},{title:\"User Information\",targetId:\"user-info\"}],defaultLabel=\"Content\",arrowIcon=\"\",highlightArrowIcon=\"\",mailIcon=\"\",customFont=\"\",mailButtonText=\"Mail us\",mailButtonLink=\"mailto:hello@example.com\",arrowGap=8}=props;const[currentSection,setCurrentSection]=useState(0);const[previousSection,setPreviousSection]=useState(0);const[isOpen,setIsOpen]=useState(false);const[hasOpenedBefore,setHasOpenedBefore]=useState(false);const drawerRef=useRef(null);const[fontFamily,setFontFamily]=useState(\"system-ui, -apple-system, sans-serif\");const scrollContainerRef=useRef(null);const[showTopFade,setShowTopFade]=useState(false);const[showBottomFade,setShowBottomFade]=useState(true);const[scrollExpansion,setScrollExpansion]=useState(0);const[hasScrolled,setHasScrolled]=useState(false);const[scrollProgress,setScrollProgress]=useState(2);const[isCopied,setIsCopied]=useState(false);const currentSectionRef=useRef(null);// Load custom font\nuseEffect(()=>{if(customFont){const fontName=\"CustomFont\"+Date.now();const font=new FontFace(fontName,`url(${customFont})`);font.load().then(loadedFont=>{document.fonts.add(loadedFont);setFontFamily(fontName);}).catch(error=>{console.error(\"Font loading failed:\",error);});}else{setFontFamily(\"system-ui, -apple-system, sans-serif\");}},[customFont]);// Disable body scroll when drawer is open\nuseEffect(()=>{const preventScroll=e=>{// Allow scrolling inside the drawer\nconst target=e.target;const drawer=drawerRef.current;if(drawer&&drawer.contains(target)){// Check if the target or any parent is the scrollable container\nlet element=target;while(element&&element!==drawer){if(element===scrollContainerRef.current){// Allow scroll inside the scrollable container\nreturn;}element=element.parentElement;}}// Prevent all other scrolling\ne.preventDefault();};if(isOpen){document.body.style.overflow=\"hidden\";// Prevent scroll on the entire page when drawer is open\ndocument.addEventListener(\"wheel\",preventScroll,{passive:false});document.addEventListener(\"touchmove\",preventScroll,{passive:false});}else{document.body.style.overflow=\"\";}return()=>{document.body.style.overflow=\"\";document.removeEventListener(\"wheel\",preventScroll);document.removeEventListener(\"touchmove\",preventScroll);};},[isOpen]);// Scroll to current section when drawer opens (without triggering expansion)\nuseEffect(()=>{if(isOpen&&currentSectionRef.current&&scrollContainerRef.current){setTimeout(()=>{currentSectionRef.current?.scrollIntoView({behavior:\"auto\",block:\"center\"});},50);}},[isOpen]);// Handle scroll fade effects and expansion\nuseEffect(()=>{const handleScrollFade=()=>{const container=scrollContainerRef.current;if(!container)return;const{scrollTop,scrollHeight,clientHeight}=container;// Show top fade if scrolled down\nsetShowTopFade(scrollTop>5);// Show bottom fade if not scrolled to bottom\nconst isAtBottom=scrollTop+clientHeight>=scrollHeight-5;setShowBottomFade(!isAtBottom);// Calculate expansion based on scroll (max 100px expansion)\n// Only expand if user has manually scrolled\nif(hasScrolled){const maxExpansion=100;// Use exponential easing for smoother, more natural expansion\nconst normalizedScroll=Math.min(scrollTop/100,1);const easedScroll=normalizedScroll*normalizedScroll// Quadratic easing\n;const expansionAmount=easedScroll*maxExpansion;// Keep the maximum expansion reached, don't collapse back\nsetScrollExpansion(prev=>Math.max(prev,expansionAmount));}};const handleUserScroll=()=>{setHasScrolled(true);handleScrollFade();};const container=scrollContainerRef.current;if(container&&isOpen){container.addEventListener(\"scroll\",handleUserScroll,{passive:true});// Initial check when drawer opens (for fade effects only)\nsetTimeout(handleScrollFade,50);setTimeout(handleScrollFade,150);}return()=>{if(container){container.removeEventListener(\"scroll\",handleUserScroll);}};},[isOpen,hasScrolled]);// Reset fade states when drawer opens (but keep expansion)\nuseEffect(()=>{if(isOpen){setShowTopFade(false);setShowBottomFade(true);// Don't reset scrollExpansion or hasScrolled - let them persist\n}else{// Reset expansion and scroll flag when drawer closes\nsetScrollExpansion(0);setHasScrolled(false);// Reset copy state when drawer closes\nsetIsCopied(false);}},[isOpen]);// Handle scroll to detect current section and update progress\nuseEffect(()=>{const handleScroll=()=>{const scrollPosition=window.scrollY+window.innerHeight/2;// Calculate smooth scroll progress (2 to 100) - minimum 2% to always show an arc\nconst windowHeight=window.innerHeight;const documentHeight=document.documentElement.scrollHeight;const scrollableHeight=documentHeight-windowHeight;const progress=scrollableHeight>0?window.scrollY/scrollableHeight*98+2// Scale to 2-100 instead of 0-100\n:2;setScrollProgress(Math.min(100,Math.max(2,progress)));let newCurrentSection=0;let closestDistance=Infinity;for(let i=0;i<sections.length;i++){const element=document.getElementById(sections[i].targetId);if(element){const rect=element.getBoundingClientRect();const elementTop=rect.top+window.scrollY;const elementBottom=elementTop+element.offsetHeight;const elementMiddle=elementTop+element.offsetHeight/2;// Calculate distance from scroll position to element middle\nconst distance=Math.abs(scrollPosition-elementMiddle);// If scroll position is within element bounds, prioritize it\nif(scrollPosition>=elementTop&&scrollPosition<=elementBottom){newCurrentSection=i;break;}// Otherwise, find the closest section\nif(distance<closestDistance){closestDistance=distance;newCurrentSection=i;}}}if(newCurrentSection!==currentSection){setPreviousSection(currentSection);setCurrentSection(newCurrentSection);}};// Add scroll listener\nwindow.addEventListener(\"scroll\",handleScroll,{passive:true});// Initial check\nhandleScroll();// Additional check after delay to ensure DOM is ready\nconst timer1=setTimeout(handleScroll,100);const timer2=setTimeout(handleScroll,500);return()=>{window.removeEventListener(\"scroll\",handleScroll);clearTimeout(timer1);clearTimeout(timer2);};},[sections,currentSection]);// Close drawer when clicking outside\nuseEffect(()=>{const handleClickOutside=event=>{if(drawerRef.current&&!drawerRef.current.contains(event.target)){setIsOpen(false);}};if(isOpen){document.addEventListener(\"mousedown\",handleClickOutside);// Mark that drawer has been opened\nif(!hasOpenedBefore){setHasOpenedBefore(true);}}return()=>document.removeEventListener(\"mousedown\",handleClickOutside);},[isOpen,hasOpenedBefore]);// Scroll to section when clicked in drawer\nconst scrollToSection=index=>{const element=document.getElementById(sections[index].targetId);if(element){const elementTop=element.getBoundingClientRect().top+window.scrollY;const offset=window.innerHeight/2-50;window.scrollTo({top:elementTop-offset,behavior:\"smooth\"});}setIsOpen(false);};// Handle email copy\nconst handleCopyEmail=async e=>{e.preventDefault();// Extract email from mailto: link\nconst email=mailButtonLink.replace(\"mailto:\",\"\");try{await navigator.clipboard.writeText(email);setIsCopied(true);// Reset after 2 seconds\nsetTimeout(()=>{setIsCopied(false);},2e3);}catch(err){console.error(\"Failed to copy email:\",err);}};// Calculate drawer width based on longest title\nconst calculateDrawerWidth=()=>{const minWidth=224;const maxTitleLength=Math.max(...sections.map(s=>s.title.length),mailButtonText.length);const calculatedWidth=Math.max(minWidth,maxTitleLength*8+60);return calculatedWidth;};const drawerWidth=calculateDrawerWidth();// Letter-by-letter animation for text\nconst originalText=mailButtonText;const copiedText=\"Email copied\";return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"350px\",height:\"38px\",fontFamily:fontFamily},children:[/*#__PURE__*/_jsxs(\"div\",{onClick:()=>setIsOpen(!isOpen),style:{width:\"350px\",height:\"38px\",background:\"rgba(30, 30, 30, 0.9)\",backdropFilter:\"blur(10px)\",WebkitBackdropFilter:\"blur(10px)\",border:\"1px solid rgba(255, 255, 255, 0.07)\",borderRadius:\"19px\",display:\"flex\",alignItems:\"center\",paddingLeft:\"16px\",paddingRight:\"38px\",gap:`${arrowGap}px`,cursor:\"pointer\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"14px\",lineHeight:\"38px\",color:\"#606060\"},children:defaultLabel}),arrowIcon&&/*#__PURE__*/_jsx(\"img\",{src:arrowIcon,alt:\"arrow\",style:{flexShrink:0,objectFit:\"contain\",display:\"block\"}}),/*#__PURE__*/_jsx(\"div\",{style:{overflow:\"hidden\",position:\"relative\",height:\"38px\",flex:1,minWidth:0},children:/*#__PURE__*/_jsx(AnimatePresence,{initial:false,mode:\"popLayout\",children:/*#__PURE__*/_jsx(motion.span,{initial:{opacity:0,y:currentSection>previousSection?-2:2},animate:{opacity:1,y:0},exit:{opacity:0,y:currentSection>previousSection?2:-2},transition:{duration:.2,ease:\"easeInOut\"},style:{fontSize:\"14px\",lineHeight:\"38px\",color:\"#D1D1D1\",display:\"block\",whiteSpace:\"nowrap\"},children:sections[currentSection]?.title||\"\"},currentSection)})})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",right:\"8px\",top:\"8px\",width:\"22px\",height:\"22px\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 22 22\",style:{transform:\"rotate(-90deg)\"},children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"9.5\",fill:\"none\",stroke:\"rgba(255, 255, 255, 0.1)\",strokeWidth:\"3\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"9.5\",fill:\"none\",stroke:\"rgba(255, 255, 255, 0.6)\",strokeWidth:\"3\",strokeLinecap:\"round\",strokeDasharray:`${2*Math.PI*9.5}`,strokeDashoffset:`${2*Math.PI*9.5*(1-scrollProgress/100)}`})]})}),/*#__PURE__*/_jsx(AnimatePresence,{children:isOpen&&/*#__PURE__*/_jsxs(motion.div,{ref:drawerRef,initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.2},style:{position:\"absolute\",bottom:\"48px\",left:\"0\",width:`${drawerWidth}px`,maxHeight:\"400px\",background:\"rgba(30, 30, 30, 0.95)\",backdropFilter:\"blur(10px)\",WebkitBackdropFilter:\"blur(10px)\",border:\"1px solid rgba(255, 255, 255, 0.07)\",borderRadius:\"18px\",overflow:\"hidden\",display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{padding:\"12px 16px 4px 16px\",fontSize:\"12px\",color:\"#464646\",fontWeight:\"normal\"},children:\"On this page\"}),/*#__PURE__*/_jsx(\"div\",{ref:scrollContainerRef,style:{flex:1,overflowY:\"auto\",overflowX:\"hidden\",padding:\"0 16px\",maxHeight:`${200+scrollExpansion}px`,position:\"relative\",WebkitOverflowScrolling:\"touch\",willChange:\"max-height\",transition:\"max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)\",WebkitMaskImage:showTopFade&&showBottomFade?\"linear-gradient(to bottom, transparent 0px, black 40px, black calc(100% - 40px), transparent 100%)\":showTopFade?\"linear-gradient(to bottom, transparent 0px, black 40px)\":showBottomFade?\"linear-gradient(to bottom, black calc(100% - 40px), transparent 100%)\":\"none\",maskImage:showTopFade&&showBottomFade?\"linear-gradient(to bottom, transparent 0px, black 40px, black calc(100% - 40px), transparent 100%)\":showTopFade?\"linear-gradient(to bottom, transparent 0px, black 40px)\":showBottomFade?\"linear-gradient(to bottom, black calc(100% - 40px), transparent 100%)\":\"none\"},children:sections.map((section,index)=>/*#__PURE__*/_jsxs(\"div\",{ref:index===currentSection?currentSectionRef:null,onClick:()=>scrollToSection(index),style:{padding:\"10px 0\",fontSize:\"14px\",color:index===currentSection?\"#E0E0E0\":\"#9A9A9A\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",gap:\"8px\",transition:\"color 0.2s\"},children:[index===currentSection&&highlightArrowIcon&&/*#__PURE__*/_jsx(\"img\",{src:highlightArrowIcon,alt:\"current\",style:{flexShrink:0,objectFit:\"contain\",display:\"block\"}}),/*#__PURE__*/_jsx(\"span\",{children:section.title})]},index))}),/*#__PURE__*/_jsx(\"div\",{style:{height:\"1px\",background:\"#2A2A2A\",margin:\"0 9px\"}}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"9px\"},children:/*#__PURE__*/_jsxs(\"div\",{onClick:handleCopyEmail,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"flex-start\",gap:\"10px\",height:\"32px\",paddingLeft:\"12px\",background:\"rgba(255, 255, 255, 0.05)\",borderRadius:\"8px\",cursor:\"pointer\",transition:\"background 0.2s\",position:\"relative\"},onMouseEnter:e=>{e.currentTarget.style.background=\"rgba(255, 255, 255, 0.08)\";},onMouseLeave:e=>{e.currentTarget.style.background=\"rgba(255, 255, 255, 0.05)\";},children:[/*#__PURE__*/_jsxs(\"div\",{style:{width:\"16px\",height:\"16px\",position:\"relative\"},children:[/*#__PURE__*/_jsx(motion.div,{animate:{opacity:isCopied?0:1},transition:{duration:.2},style:{position:\"absolute\",top:0,left:0},children:mailIcon&&/*#__PURE__*/_jsx(\"img\",{src:mailIcon,alt:\"mail\",style:{width:\"16px\",height:\"16px\",flexShrink:0,objectFit:\"contain\",display:\"block\"}})}),/*#__PURE__*/_jsx(motion.svg,{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",initial:{opacity:0},animate:{opacity:isCopied?1:0},transition:{duration:.2},style:{position:\"absolute\",top:0,left:0},children:/*#__PURE__*/_jsx(motion.path,{d:\"M3 8L6.5 11.5L13 4.5\",fill:\"none\",stroke:\"#9A9A9A\",strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\",initial:{pathLength:0},animate:{pathLength:isCopied?1:0},transition:{duration:.3,ease:\"easeOut\"}})})]}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"14px\",color:\"#9A9A9A\",display:\"inline-block\"},children:/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",children:!isCopied?/*#__PURE__*/_jsx(motion.span,{style:{display:\"inline-flex\",whiteSpace:\"nowrap\"},children:originalText.split(\"\").map((char,i)=>/*#__PURE__*/_jsx(motion.span,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.18,delay:i*.02,ease:\"easeOut\"},style:{display:\"inline-block\"},children:char===\" \"?\"\\xa0\":char},`orig-${i}`))},\"original\"):/*#__PURE__*/_jsx(motion.span,{style:{display:\"inline-flex\",whiteSpace:\"nowrap\"},children:copiedText.split(\"\").map((char,i)=>/*#__PURE__*/_jsx(motion.span,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.18,delay:i*.02,ease:\"easeOut\"},style:{display:\"inline-block\"},children:char===\" \"?\"\\xa0\":char},`copy-${i}`))},\"copied\")})})]})})]})})]});}addPropertyControls(ScrollSectionNav,{sections:{type:ControlType.Array,title:\"Sections\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Section Title\"},targetId:{type:ControlType.String,title:\"Target Element ID\",defaultValue:\"section-id\",description:\"The ID of the element to scroll to\"}}},defaultValue:[{title:\"Introduction\",targetId:\"intro\"},{title:\"Services\",targetId:\"services\"},{title:\"User Information\",targetId:\"user-info\"}]},defaultLabel:{type:ControlType.String,title:\"Default Label\",defaultValue:\"Content\"},arrowIcon:{type:ControlType.Image,title:\"Arrow Icon\"},highlightArrowIcon:{type:ControlType.Image,title:\"Highlight Arrow Icon\"},mailIcon:{type:ControlType.Image,title:\"Mail Icon\"},customFont:{type:ControlType.File,title:\"Custom Font\",allowedFileTypes:[\"ttf\",\"otf\",\"woff\",\"woff2\"]},mailButtonText:{type:ControlType.String,title:\"Mail Button Text\",defaultValue:\"Mail us\"},mailButtonLink:{type:ControlType.String,title:\"Mail Button Link\",defaultValue:\"mailto:hello@example.com\"},arrowGap:{type:ControlType.Number,title:\"Arrow Gap\",defaultValue:8,min:0,max:20,step:1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollSectionNav\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollSectionNav.map"],"mappings":"kQAA4M,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,WAAS,CAAC,CAAC,MAAM,eAAe,SAAS,QAAQ,CAAC,CAAC,MA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