{"version":3,"file":"Examples.dKvryGOt.mjs","names":["useState","useState","useRef","useCallback","__esmMin","init_ssg_sandbox_shims","te","init_npm_react_18_3_1","_e","de","ne","c","J","init_jsx_runtime","ce","window","init_framer_Bf4_tcb2","addPropertyControls","useObserveData","Data","ControlType","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","centerContent","init_Utils","init_utils_js__0_9","withDesktopSticky","isDesktop","setIsDesktop","mediaQuery","updateIsDesktop","matches","handleChange","event","overrideStyle","Component","props","withScrollSnap","Wrapped","rest","localRef","animationFrameRef","isAnimatingRef","setRefs","node","ref","enabled","easeInOutCubic","t","monitorFrame","lastMonitorY","lastMonitorH","stableCount","clamp","min","max","value","getViewportH","vv","getMaxScroll","getSnapChildren","nextContainer","position","child","computeTargets","children","containerTop","maxScroll","targets","cumulative","i","getNearestIndex","nearest","minDistance","distance","setScrollPosition","cancelActiveAnimation","animateTo","startY","destination","startTime","step","elapsed","now","progress","duration","eased","inRange","y","snapToNearest","target","stopMonitor","startMonitor","tick","h","stableFrames","onScroll","onViewportChange","onKeyDown","dir","targetIndex","timeoutIds","scheduleReMeasure","id","delay","visualViewport","init_Examples"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/vFlWvc1c8EGrn6cIWU3p/YJeQrvYfazXYkIt88oU7/Examples.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,startTransition,useCallback,useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";const useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function withDesktopSticky(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isDesktop,setIsDesktop]=useState(()=>{if(typeof window===\"undefined\"||typeof window.matchMedia!==\"function\"){return false;}return window.matchMedia(\"(min-width: 1000px)\").matches;});useEffect(()=>{if(typeof window===\"undefined\"||typeof window.matchMedia!==\"function\")return;const mediaQuery=window.matchMedia(\"(min-width: 1000px)\");const updateIsDesktop=matches=>{startTransition(()=>setIsDesktop(matches));};updateIsDesktop(mediaQuery.matches);const handleChange=event=>{updateIsDesktop(event.matches);};if(typeof mediaQuery.addEventListener===\"function\"){mediaQuery.addEventListener(\"change\",handleChange);return()=>mediaQuery.removeEventListener(\"change\",handleChange);}mediaQuery.addListener(handleChange);return()=>mediaQuery.removeListener(handleChange);},[]);const overrideStyle=isDesktop?{position:\"sticky\",top:120,alignSelf:\"flex-start\"}:{position:\"relative\"};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,...overrideStyle}});});}export function withScrollSnap(Component){const Wrapped=/*#__PURE__*/forwardRef((props,ref)=>{const{enabled=true,duration=120,stableFrames=3,...rest}=props;const localRef=useRef(null);const animationFrameRef=useRef(null);const isAnimatingRef=useRef(false);const setRefs=useCallback(node=>{localRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;if(!enabled)return;if(typeof window!==\"undefined\"&&typeof window.matchMedia===\"function\"&&window.matchMedia(\"(pointer: coarse)\").matches){return;}const container=localRef.current;if(!container)return;const easeInOutCubic=t=>t;const margin=24;const deadzone=2;let monitorFrame=null;let lastMonitorY=0;let lastMonitorH=0;let stableCount=0;const clamp=(value,min,max)=>Math.max(min,Math.min(max,value));const getViewportH=()=>{const vv=window.visualViewport;return(vv?vv.height:window.innerHeight)||document.documentElement.clientHeight||1;};const getMaxScroll=()=>Math.max(0,document.documentElement.scrollHeight-getViewportH());const getSnapChildren=()=>{const nextContainer=localRef.current;if(!nextContainer)return[];return Array.from(nextContainer.children).filter(child=>{const position=window.getComputedStyle(child).position;return position!==\"absolute\"&&position!==\"fixed\";});};const computeTargets=()=>{const nextContainer=localRef.current;if(!nextContainer)return[];const children=getSnapChildren();if(children.length===0)return[];const containerTop=nextContainer.getBoundingClientRect().top+window.scrollY;const maxScroll=getMaxScroll();const targets=[];let cumulative=0;for(let i=0;i<children.length;i++){targets.push(clamp(containerTop+cumulative,0,maxScroll));cumulative+=children[i].offsetHeight;}return targets;};const getNearestIndex=targets=>{let nearest=0;let minDistance=Number.POSITIVE_INFINITY;for(let i=0;i<targets.length;i++){const distance=Math.abs(targets[i]-window.scrollY);if(distance<minDistance){minDistance=distance;nearest=i;}}return nearest;};const setScrollPosition=top=>{window.scrollTo({top,behavior:\"auto\"});};const cancelActiveAnimation=()=>{if(animationFrameRef.current!==null){window.cancelAnimationFrame(animationFrameRef.current);animationFrameRef.current=null;}isAnimatingRef.current=false;};const animateTo=destination=>{const startY=window.scrollY;const distance=destination-startY;if(Math.abs(distance)<1){setScrollPosition(destination);return;}const startTime=performance.now();isAnimatingRef.current=true;const step=now=>{const elapsed=now-startTime;const progress=Math.min(elapsed/Math.max(duration,1),1);const eased=easeInOutCubic(progress);setScrollPosition(startY+distance*eased);if(progress<1){animationFrameRef.current=window.requestAnimationFrame(step);}else{animationFrameRef.current=null;isAnimatingRef.current=false;}};if(animationFrameRef.current!==null){window.cancelAnimationFrame(animationFrameRef.current);}animationFrameRef.current=window.requestAnimationFrame(step);};const inRange=targets=>{if(targets.length===0)return false;const y=window.scrollY;return y>=targets[0]-margin&&y<=targets[targets.length-1]+margin;};const snapToNearest=()=>{if(isAnimatingRef.current)return;const targets=computeTargets();if(!inRange(targets))return;const target=targets[getNearestIndex(targets)];if(Math.abs(target-window.scrollY)<=deadzone)return;animateTo(target);};const stopMonitor=()=>{if(monitorFrame!==null){window.cancelAnimationFrame(monitorFrame);monitorFrame=null;}stableCount=0;};const startMonitor=()=>{if(monitorFrame!==null)return;lastMonitorY=window.scrollY;lastMonitorH=getViewportH();stableCount=0;const tick=()=>{if(isAnimatingRef.current){stopMonitor();return;}const y=window.scrollY;const h=getViewportH();if(Math.abs(y-lastMonitorY)<1&&Math.abs(h-lastMonitorH)<1){stableCount++;}else{stableCount=0;}lastMonitorY=y;lastMonitorH=h;if(stableCount>=Math.max(stableFrames,1)){monitorFrame=null;stableCount=0;snapToNearest();return;}monitorFrame=window.requestAnimationFrame(tick);};monitorFrame=window.requestAnimationFrame(tick);};const onScroll=()=>{if(isAnimatingRef.current)return;startMonitor();};const onViewportChange=()=>{if(isAnimatingRef.current)return;startMonitor();};const onKeyDown=event=>{let dir=null;if(event.key===\"ArrowDown\"||event.key===\"PageDown\")dir=1;if(event.key===\"ArrowUp\"||event.key===\"PageUp\")dir=-1;if(event.key===\" \")dir=event.shiftKey?-1:1;if(dir===null)return;if(isAnimatingRef.current){event.preventDefault();return;}const targets=computeTargets();if(!inRange(targets))return;const nearest=getNearestIndex(targets);const targetIndex=Math.max(0,Math.min(targets.length-1,nearest+dir));if(targetIndex===nearest)return;event.preventDefault();animateTo(targets[targetIndex]);};const timeoutIds=[];const scheduleReMeasure=delay=>{const id=window.setTimeout(()=>{if(isAnimatingRef.current)return;startMonitor();},delay);timeoutIds.push(id);};scheduleReMeasure(400);scheduleReMeasure(1e3);const visualViewport=window.visualViewport;window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onViewportChange);if(visualViewport){visualViewport.addEventListener(\"resize\",onViewportChange);}window.addEventListener(\"keydown\",onKeyDown);return()=>{timeoutIds.forEach(id=>window.clearTimeout(id));window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onViewportChange);if(visualViewport){visualViewport.removeEventListener(\"resize\",onViewportChange);}window.removeEventListener(\"keydown\",onKeyDown);stopMonitor();cancelActiveAnimation();};},[duration,enabled,stableFrames]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...rest});});addPropertyControls(Wrapped,{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},duration:{type:ControlType.Number,title:\"Snap Duration\",defaultValue:120,min:100,max:2e3,unit:\"ms\",step:50},stableFrames:{type:ControlType.Number,title:\"Rest Frames\",defaultValue:3,min:1,max:30,step:1}});return Wrapped;}\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollSnap\":{\"type\":\"reactHoc\",\"name\":\"withScrollSnap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDesktopSticky\":{\"type\":\"reactHoc\",\"name\":\"withDesktopSticky\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"A,0OAA8E,SAAgBqB,EAAY,EAAO,CACjH,IAAMC,EAAUH,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGI,CAAM,CAAC,CAAC,CAAC,EACjDC,EAAa,GAAU,CAC1B,OAAOC,GAAW,aAAY,EAASA,EAASH,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGG,CAAQ,CAAC,CAAE,EACjIC,EAAW,OAAOH,GAAS,SAAS,OAAO,OAAO,CAAC,GAAGA,CAAM,CAAC,EAAEA,EAC7DI,kBAAa,IAAI,IACjBC,EAAc,GAAU,CAC3B,OAAOH,GAAW,aAAY,EAASA,EAASC,CAAU,GAAG,EAAW,OAAOD,GAAW,SAAS,OAAO,OAAO,CAAC,GAAGC,EAAW,GAAGD,CAAQ,CAAC,EAAEA,EACjJE,EAAa,QAAQ,GAAQE,EAAOH,CAAU,CAAC,CAAE,EACjD,SAASI,GAAU,CACnB,GAAK,CAACC,EAAMC,GAAUhC,EAAS0B,CAAU,EAKzC,OAHAZ,OACAa,EAAa,IAAIK,CAAQ,MAAYL,EAAa,OAAOK,CAAQ,GAAI,CAAC,CAAC,EACp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