{"version":3,"file":"shared-lib.Dw04R9pX.mjs","names":["__esmMin","navigator","init_npm_react_18_3_1","window","ce","c","init_jsx_runtime","init_ssg_sandbox_shims","addPropertyControls","RenderTarget","init_framer_BWFVvmND","ControlType","isPhoneDevice","canScrollBy","limit","node","delta","findNestedScroller","path","style","measureHeader","width","height","band","rows","y","seen","bottom","x","hit","rect","centred","top","stick","parent","range","SmoothScroll","props","isCanvas","motionQuery","rootStyle","previousPadding","authoredPadding","current","target","frame","previousTime","stopped","gesture","normalized","clamp","intensity","response","writeScroll","scrollEndHeld","onScrollEnd","event","flushScrollEnd","stop","hasStopScroll","htmlOverflow","bodyOverflow","syncStoppedState","nextStopped","scheduleFrame","advanceFrame","deltaTime","time","step","mix","cachedLimit","scrollLimit","jumpTo","nextTarget","animateTo","applyHeaderOffset","value","alignHashTarget","id","element","padding","margin","resolveScrollTarget","onWheel","multiplier","continuing","owner","onScroll","actual","onClick","clickable","url","currentUrl","hash","onHashChange","onClickCapture","resizeTimer","onResize","alignFrame","attributeObserver","records","record","markerObserver","release","init_SmoothScroll_Prod","min","max","metadata","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/Yppqt3Cs3Y8TZqvASnXl/Jx2Y4gq6eTurOxx3fNuZ/SmoothScroll_Prod.js","https:/framerusercontent.com/modules/vUsKhPSZI4i6aTdSjnq8/NpBlFYTshBCBHEnNerXE/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const clamp=(value,min,max)=>Math.max(min,Math.min(max,value));function isPhoneDevice(){return window.matchMedia(\"(max-width: 767px)\").matches||/iPhone|iPod|Android.+Mobile|Windows Phone|webOS|BlackBerry/i.test(navigator.userAgent);}function canScrollBy(node,delta){const limit=node.scrollHeight-node.clientHeight;return delta>0&&node.scrollTop<limit-1||delta<0&&node.scrollTop>1;}// Walks composedPath() so panels inside shadow DOM still count.\n// Returns the first nested scroller that can move in this direction, or one\n// at its edge whose overscroll-behavior forbids chaining to the page.\nfunction findNestedScroller(path,delta){for(const node of path){if(!(node instanceof HTMLElement))continue;if(node===document.documentElement||node===document.body)break;if(node.scrollHeight-node.clientHeight<1)continue;const style=getComputedStyle(node);if(!/^(auto|scroll|overlay)$/.test(style.overflowY))continue;if(canScrollBy(node,delta))return node;if(/^(contain|none)$/.test(style.overscrollBehaviorY))return node;}return null;}// How much of the viewport top is covered by fixed or sticky bars (headers,\n// banners, floating nav pills), so anchors land below them with zero\n// configuration. Hit-tests dense rows through the top band (compact floating\n// bars) plus a few lower rows, and walks ancestors, so a sticky header that\n// sits below a banner and has not stuck yet still counts at its stuck spot.\nfunction measureHeader(){const width=window.innerWidth;const height=window.innerHeight;const band=height*.1;const rows=[height*.12,height*.2,height*.3];for(let y=1;y<=band+12;y+=12)rows.push(y);const seen=new Set;let bottom=0;for(const y of rows){for(const x of[.25,.5,.75]){for(const hit of document.elementsFromPoint(width*x,y)){for(let node=hit;node;node=node.parentElement){if(node===document.body||seen.has(node))break;seen.add(node);const style=getComputedStyle(node);if(style.position!==\"fixed\"&&style.position!==\"sticky\")continue;if(style.visibility===\"hidden\"||style.opacity===\"0\")continue;const rect=node.getBoundingClientRect();if(rect.height<=0||rect.height>=height*.4)continue;// Wide bars, or a nav pill across the centre line.\nconst centred=rect.left<=width/2&&rect.right>=width/2&&rect.width>=120;if(rect.width<width*.4&&!centred)continue;let top=rect.top;if(style.position===\"sticky\"){// Pinned to the top (not `top: auto`), in a containing\n// block that starts in the first screen of the page\n// and is at least a screen taller than the bar: a site\n// header, not a section title. Judged on the whole\n// block, not the part left below the current scroll\n// position, so it still counts near the page end.\nconst stick=Number.parseFloat(style.top);// Skip `display: contents` wrappers, which have no\n// box of their own.\nlet parent=node.parentElement;while(parent&&getComputedStyle(parent).display===\"contents\"){parent=parent.parentElement;}if(Number.isNaN(stick)||!parent)continue;const range=parent.getBoundingClientRect();if(range.top+window.scrollY>height)continue;if(range.height-rect.height<height)continue;top=stick;}if(top>band||top+rect.height<=0)continue;bottom=Math.max(bottom,top+rect.height);}}}}return Math.round(bottom);}/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n */export default function SmoothScroll(props){const{intensity=50}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;React.useEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;window.__framerUniversitySmoothScroll?.release();if(isPhoneDevice())return;const motionQuery=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const rootStyle=document.documentElement.style;const previousPadding=rootStyle.scrollPaddingTop;// A site that already sets scroll-padding-top keeps it.\nconst authoredPadding=!previousPadding&&(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)>0;let current=window.scrollY;let target=current;let frame=0;let previousTime=0;let stopped=false;let gesture=null;const normalized=clamp(intensity,0,100)/100;const response=normalized<=.5?.22-.12*(normalized/.5):.1-.07*((normalized-.5)/.5);const writeScroll=top=>{window.scrollTo({top,behavior:\"instant\"});};// Chrome fires `scrollend` after every instant programmatic scroll,\n// so a glide would fire one per frame, and Framer's router saves the\n// position with history.replaceState on each. Hold them while the\n// page glides and deliver one when it ends, like a native smooth\n// scroll.\nlet scrollEndHeld=false;const onScrollEnd=event=>{if(event.target!==document)return;if(frame&&event.isTrusted){event.stopImmediatePropagation();scrollEndHeld=true;return;}scrollEndHeld=false;};// A glide that stopped without a later write of its own gets the held\n// scrollend delivered after this frame's scroll events.\nconst flushScrollEnd=()=>{if(!scrollEndHeld)return;requestAnimationFrame(()=>{if(!scrollEndHeld||frame)return;scrollEndHeld=false;document.dispatchEvent(new Event(\"scrollend\",{bubbles:true}));});};const stop=()=>{if(frame)cancelAnimationFrame(frame);frame=0;previousTime=0;current=target=window.scrollY;flushScrollEnd();};const hasStopScroll=()=>{if(document.querySelector(\"style[data-frameruni-stop-scroll]\")){return true;}const htmlOverflow=getComputedStyle(document.documentElement).overflowY;const bodyOverflow=getComputedStyle(document.body).overflowY;return htmlOverflow===\"hidden\"||htmlOverflow===\"clip\"||bodyOverflow===\"hidden\"||bodyOverflow===\"clip\";};const syncStoppedState=()=>{const nextStopped=hasStopScroll();if(nextStopped&&!stopped)stop();if(!nextStopped&&stopped){current=target=window.scrollY;}stopped=nextStopped;};const scheduleFrame=()=>{frame=requestAnimationFrame(advanceFrame);};const advanceFrame=time=>{if(stopped||motionQuery.matches){stop();return;}// Real elapsed time, uncapped: when the main thread is starved the\n// glide catches up on the next frame instead of running in slow\n// motion (the exponential mix stays bounded for any delta).\nconst deltaTime=previousTime?Math.max(0,(time-previousTime)/1e3):1/60;previousTime=time;if(step(deltaTime))scheduleFrame();else{frame=0;previousTime=0;flushScrollEnd();}};// One interpolation step; returns true while still gliding.\nconst step=deltaTime=>{const mix=1-Math.exp(-response*60*deltaTime);current+=(target-current)*mix;if(Math.abs(target-current)<.35)current=target;writeScroll(current);return current!==target;};// Page scroll range, read once per gesture (and again at the cached\n// edge or after a resize) so the wheel path does not force layout on\n// every event.\nlet cachedLimit=-1;const scrollLimit=()=>{if(cachedLimit<0){cachedLimit=Math.max(0,document.documentElement.scrollHeight-window.innerHeight);}return cachedLimit;};const jumpTo=nextTarget=>{if(frame)cancelAnimationFrame(frame);frame=0;previousTime=0;current=target=nextTarget;writeScroll(nextTarget);flushScrollEnd();};const animateTo=nextTarget=>{if(motionQuery.matches){jumpTo(nextTarget);return;}current=window.scrollY;target=nextTarget;previousTime=0;if(current===target)return;if(!frame)scheduleFrame();};// Applied as scroll-padding-top so Framer's own anchor links, the\n// browser's deep-link jump, and our click handler all share it.\nconst applyHeaderOffset=()=>{if(previousPadding||authoredPadding)return;const value=measureHeader();rootStyle.scrollPaddingTop=value?`${value}px`:previousPadding;};// Fixes a hash target that landed flush with the top, under the header.\nconst alignHashTarget=()=>{if(stopped||!window.location.hash)return;let id=window.location.hash.slice(1);try{id=decodeURIComponent(id);}catch{return;}const element=document.getElementById(id);if(!element)return;applyHeaderOffset();const padding=Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0;const margin=Number.parseFloat(getComputedStyle(element).scrollMarginTop)||0;if(padding<1)return;if(Math.abs(element.getBoundingClientRect().top-margin)>2)return;jumpTo(resolveScrollTarget(element));};const resolveScrollTarget=value=>{const limit=Math.max(0,document.documentElement.scrollHeight-window.innerHeight);if(typeof value===\"number\")return clamp(value,0,limit);const element=value instanceof HTMLElement?value:value===\"#\"||value===\"#top\"?null:document.getElementById(value.replace(/^#/,\"\"));if(!element)return 0;const style=getComputedStyle(element);const rootStyle=getComputedStyle(document.documentElement);const margin=Number.parseFloat(style.scrollMarginTop)||0;const padding=Number.parseFloat(rootStyle.scrollPaddingTop)||0;return clamp(element.getBoundingClientRect().top+window.scrollY-margin-padding,0,limit);};const onWheel=event=>{if(stopped||motionQuery.matches||event.ctrlKey||!event.cancelable)return;const multiplier=event.deltaMode===WheelEvent.DOM_DELTA_LINE?16:event.deltaMode===WheelEvent.DOM_DELTA_PAGE?window.innerHeight:1;const delta=event.deltaY*multiplier;if(!delta)return;// Native-style latching: a gesture stays with the scroller it\n// started on. A nested panel at its edge only chains to the page\n// on the next gesture, and page momentum is not hijacked by a\n// panel that slides under the pointer.\nconst path=event.composedPath();const continuing=gesture&&event.timeStamp-gesture.time<150&&(!gesture.node||path.includes(gesture.node));const owner=continuing?gesture.node:findNestedScroller(path,delta);gesture={node:owner,time:event.timeStamp};if(owner){if(!canScrollBy(owner,delta))event.preventDefault();return;}// Once this page gesture is ours, keep ownership even when the\n// clamped target cannot move. Letting edge events fall through lets\n// native scrolling race the active interpolation and causes bounce.\nevent.preventDefault();// Re-read the range at a gesture start or at the cached edge\n// (lazy content may have grown); otherwise reuse it.\nif(!continuing||target+delta>scrollLimit())cachedLimit=-1;const nextTarget=clamp(target+delta,0,scrollLimit());if(nextTarget===target)return;target=nextTarget;if(frame)return;// Idle: take the first step now, inside the wheel event, so the\n// page moves this frame instead of waiting for the next rAF. The\n// next frame integrates from this handler, so the curve is the\n// same, just one frame earlier.\ncurrent=window.scrollY;scheduleFrame();// rAF time is the frame start: a frame that began before this\n// handler ran is the same frame, so it adds no second step.\npreviousTime=performance.now();if(!step(1/60)){cancelAnimationFrame(frame);frame=0;previousTime=0;flushScrollEnd();}};const onScroll=()=>{const actual=window.scrollY;if(frame&&Math.abs(actual-current)<=1)return;if(frame)cancelAnimationFrame(frame);frame=0;previousTime=0;current=target=actual;flushScrollEnd();};const onClick=event=>{const clickable=event.composedPath().find(node=>node instanceof HTMLElement&&node.matches(\"a[href], button\"));if(!clickable)return;stop();if(!(clickable instanceof HTMLAnchorElement))return;if(event.defaultPrevented)return;if(event.button!==0)return;if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;if(clickable.hasAttribute(\"download\"))return;if(clickable.target&&clickable.target!==\"\"&&clickable.target!==\"_self\"){return;}const url=new URL(clickable.href,window.location.href);const currentUrl=new URL(window.location.href);const isSamePage=url.origin===currentUrl.origin&&url.pathname===currentUrl.pathname&&url.search===currentUrl.search;if(!isSamePage||!url.hash)return;let hash=url.hash;try{hash=decodeURIComponent(url.hash);}catch{return;}const element=document.getElementById(hash.slice(1));if(!element&&hash!==\"#top\"&&hash!==\"#\")return;event.preventDefault();if(window.location.hash===url.hash){history.replaceState(history.state,\"\",url.hash);}else{history.pushState(history.state,\"\",url.hash);}animateTo(resolveScrollTarget(element??hash));};const onHashChange=()=>requestAnimationFrame(alignHashTarget);// Re-measure before any same-page hash link runs (ours, Framer's\n// Links, or the browser's), so breakpoint and late headers count.\nconst onClickCapture=event=>{const link=event.composedPath().find(node=>node instanceof HTMLAnchorElement&&node.hash);if(link)applyHeaderOffset();};let resizeTimer=0;const onResize=()=>{cachedLimit=-1;clearTimeout(resizeTimer);resizeTimer=window.setTimeout(applyHeaderOffset,100);};let alignFrame=requestAnimationFrame(()=>{alignFrame=requestAnimationFrame(alignHashTarget);});const attributeObserver=new MutationObserver(records=>{const relevant=records.some(record=>record.type===\"attributes\"&&(record.target===document.documentElement||record.target===document.body));if(relevant)syncStoppedState();});const markerObserver=new MutationObserver(records=>{const relevant=records.some(record=>[...record.addedNodes,...record.removedNodes].some(node=>node instanceof Element&&(node.matches(\"style[data-frameruni-stop-scroll]\")||Boolean(node.querySelector(\"style[data-frameruni-stop-scroll]\")))));if(relevant)syncStoppedState();});attributeObserver.observe(document.documentElement,{attributes:true,attributeFilter:[\"style\",\"class\"]});attributeObserver.observe(document.body,{attributes:true,attributeFilter:[\"style\",\"class\"]});markerObserver.observe(document.head,{subtree:true,childList:true});markerObserver.observe(document.body,{subtree:true,childList:true});const release=()=>{stop();cancelAnimationFrame(alignFrame);clearTimeout(resizeTimer);rootStyle.scrollPaddingTop=previousPadding;window.removeEventListener(\"hashchange\",onHashChange);window.removeEventListener(\"popstate\",onHashChange);window.removeEventListener(\"resize\",onResize);window.removeEventListener(\"load\",onResize);window.removeEventListener(\"click\",onClickCapture,true);attributeObserver.disconnect();markerObserver.disconnect();window.removeEventListener(\"wheel\",onWheel);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"scrollend\",onScrollEnd,true);window.removeEventListener(\"touchstart\",stop);window.removeEventListener(\"click\",onClick);motionQuery.removeEventListener(\"change\",stop);if(window.__framerUniversitySmoothScroll?.release===release){delete window.__framerUniversitySmoothScroll;}};window.__framerUniversitySmoothScroll={release};window.addEventListener(\"wheel\",onWheel,{passive:false});window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"scrollend\",onScrollEnd,true);window.addEventListener(\"touchstart\",stop,{passive:true});window.addEventListener(\"click\",onClick);window.addEventListener(\"hashchange\",onHashChange);window.addEventListener(\"popstate\",onHashChange);window.addEventListener(\"resize\",onResize);window.addEventListener(\"load\",onResize);window.addEventListener(\"click\",onClickCapture,true);motionQuery.addEventListener(\"change\",stop);syncStoppedState();applyHeaderOffset();return release;},[intensity,isCanvas]);return /*#__PURE__*/_jsx(\"div\",{\"data-build\":\"smooth-scroll-prod-20261005-01\",\"aria-hidden\":\"true\",\"data-smooth-scroll-host\":\"\",style:{position:\"relative\",width:\"100%\",height:\"100%\",minWidth:isCanvas?24:0,minHeight:isCanvas?24:0,boxSizing:\"border-box\",border:\"none\",borderRadius:0,pointerEvents:\"none\"}});}addPropertyControls(SmoothScroll,{intensity:{type:ControlType.Number,title:\"Intensity\",min:0,max:100,step:1,defaultValue:50,unit:\"%\",displayStepper:true,description:\"More components at [Framer University](https://frameruni.link/cc).\"}});SmoothScroll.displayName=\"Smooth Scroll\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SmoothScroll\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SmoothScroll_Prod.map","// Generated by Framer (a050651)\nexport default function metadata(params,activeLocale){return{description:\"Reelio, a Framer template for photographers, videographers & commercial studios. Multi-CMS for projects, services, categories, team & blog.\",favicon:\"https://framerusercontent.com/assets/pORjQIhzCgIoGSGkYoZjwTIj6c.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/TRy1Anc5NHdNc8S6gmt4D36ifZo.jpg\",title:\"Reelio — Photography & Film Studio Framer Template\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,uMAAuM,SAASY,GAAe,CAAC,OAAOT,EAAO,WAAW,oBAAoB,CAAC,CAAC,SAAS,8DAA8D,KAAKF,EAAU,SAAS,CAAE,CAA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