{"version":3,"file":"Examples.DbiEAm6D.mjs","names":["useState","useCallback","useRef","useMemo"],"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/gFCpSFYjns9u6rrMZpFj/4BmbSjjCrHSPKbMggK61/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,useMemo,useRef}from\"react\";import{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\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});const useSliderStore=createStore({currentSlideIndex:0,linkCount:0});const DEFAULT_PROJECT_LINKS=[{link:\"/works/lost-in-the-middle\"},{link:\"/works/human-nature\"},{link:\"/works/talk-talk-deals\"},{link:\"/works/savings-bucket\"},{link:\"/works/agape\"},{link:\"/works/perfectly-picked\"},{link:\"/works/coffee-billboard\"},{link:\"/works/the-holiday-gift\"}];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:()=>{startTransition(()=>{setStore({background:randomColor()});});}});});}function dispatchSliderWheel(targetId,delta,preventDefault,sourceEvent){if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const target=document.getElementById(targetId);if(!target)return;if(preventDefault&&sourceEvent?.preventDefault){sourceEvent.preventDefault();}const selector=\"div, section, article, main, [data-framer-name], [role], canvas, img, video\";const descendants=Array.from(target.querySelectorAll(selector));const candidates=[target,...descendants];const uniqueCandidates=Array.from(new Set(candidates));for(const candidate of uniqueCandidates){try{const wheelEvent=new WheelEvent(\"wheel\",{deltaX:delta,deltaY:delta,bubbles:true,cancelable:true});candidate.dispatchEvent(wheelEvent);}catch(_error){// Safely ignore candidate-level dispatch failures.\n}}const keyboardKeys=delta<0?[\"ArrowUp\",\"ArrowLeft\"]:[\"ArrowDown\",\"ArrowRight\"];for(const key of keyboardKeys){try{const keyEvent=new KeyboardEvent(\"keydown\",{key,bubbles:true,cancelable:true});target.dispatchEvent(keyEvent);}catch(_error){// Safely ignore keyboard fallback failures.\n}}}export function withSliderPrevious(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[sliderStore,setSliderStore]=useSliderStore();const targetId=props.targetId??\"mobile-feature-slider\";const delta=Math.abs(props.delta??120);const preventDefault=props.preventDefault??true;const triggerPrevious=useCallback(event=>{dispatchSliderWheel(targetId,-delta,preventDefault,event);if(sliderStore.linkCount>0){const nextIndex=(sliderStore.currentSlideIndex-1+sliderStore.linkCount)%sliderStore.linkCount;startTransition(()=>{setSliderStore({currentSlideIndex:nextIndex});});}},[targetId,delta,preventDefault,sliderStore.currentSlideIndex,sliderStore.linkCount,setSliderStore]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,role:props.role??\"button\",tabIndex:props.tabIndex??0,onClick:event=>{props.onClick?.(event);triggerPrevious(event);},onTap:event=>{props.onTap?.(event);triggerPrevious(event);},onKeyDown:event=>{props.onKeyDown?.(event);if(event.key===\"Enter\"||event.key===\" \"||event.key===\"Spacebar\"){triggerPrevious(event);}}});});}withSliderPrevious.propertyControls={targetId:{type:ControlType.String,title:\"Target ID\",defaultValue:\"mobile-feature-slider\"},delta:{type:ControlType.Number,title:\"Delta\",defaultValue:120,min:1,max:1e3,step:1},preventDefault:{type:ControlType.Boolean,title:\"Prevent\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"}};export function withSliderNext(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[sliderStore,setSliderStore]=useSliderStore();const targetId=props.targetId??\"mobile-feature-slider\";const delta=Math.abs(props.delta??120);const preventDefault=props.preventDefault??true;const triggerNext=useCallback(event=>{dispatchSliderWheel(targetId,delta,preventDefault,event);if(sliderStore.linkCount>0){const nextIndex=(sliderStore.currentSlideIndex+1)%sliderStore.linkCount;startTransition(()=>{setSliderStore({currentSlideIndex:nextIndex});});}},[targetId,delta,preventDefault,sliderStore.currentSlideIndex,sliderStore.linkCount,setSliderStore]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,role:props.role??\"button\",tabIndex:props.tabIndex??0,onClick:event=>{props.onClick?.(event);triggerNext(event);},onTap:event=>{props.onTap?.(event);triggerNext(event);},onKeyDown:event=>{props.onKeyDown?.(event);if(event.key===\"Enter\"||event.key===\" \"||event.key===\"Spacebar\"){triggerNext(event);}}});});}withSliderNext.propertyControls={targetId:{type:ControlType.String,title:\"Target ID\",defaultValue:\"mobile-feature-slider\"},delta:{type:ControlType.Number,title:\"Delta\",defaultValue:120,min:1,max:1e3,step:1},preventDefault:{type:ControlType.Boolean,title:\"Prevent\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"}};function isInteractiveDescendant(target){if(!(target instanceof HTMLElement))return false;return Boolean(target.closest('a, button, input, textarea, select, option, label, summary, [contenteditable=\"true\"], [role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"switch\"], [role=\"menuitem\"], [data-allow-native-drag=\"true\"]'));}function dispatchWheelToElement(target,deltaX,preventDefault,sourceEvent){if(preventDefault&&sourceEvent?.preventDefault){sourceEvent.preventDefault();}if(!(target instanceof HTMLElement))return;try{const wheelEvent=new WheelEvent(\"wheel\",{deltaX,deltaY:0,bubbles:true,cancelable:true});target.dispatchEvent(wheelEvent);}catch(_error){// Safely ignore when wheel dispatch is unavailable.\n}}function navigateToProjectLink(projectLinks,index){if(typeof window===\"undefined\")return;const target=projectLinks[index]?.link;if(!target)return;try{window.location.href=target;}catch(_error){// Safely ignore navigation errors.\n}}function isExplicitControlElement(target){if(!(target instanceof HTMLElement))return false;return Boolean(target.closest('button, input, textarea, select, option, summary, label, [role=\"button\"], [data-allow-native-drag=\"true\"], [data-slider-control=\"true\"], [aria-controls]'));}function getTitleCandidateElement(target){if(!(target instanceof HTMLElement))return null;const linkCandidate=target.closest('a, [role=\"link\"]');if(linkCandidate instanceof HTMLElement)return linkCandidate;const titleRowCandidate=target.closest('[data-title-row=\"true\"], [data-title-link=\"true\"], [data-framer-name*=\"title\"], [data-framer-name*=\"Title\"], [class*=\"title\"], [class*=\"Title\"]');if(titleRowCandidate instanceof HTMLElement)return titleRowCandidate;return null;}function isCenteredTitleInteraction(target,currentTarget){if(!(target instanceof HTMLElement)||!(currentTarget instanceof HTMLElement))return false;const candidate=getTitleCandidateElement(target);if(!candidate)return false;if(!currentTarget.contains(candidate))return false;const containerRect=currentTarget.getBoundingClientRect();const candidateRect=candidate.getBoundingClientRect();if(candidateRect.height<=0||candidateRect.width<=0)return false;const isVisibleInContainer=candidateRect.bottom>containerRect.top&&candidateRect.top<containerRect.bottom&&candidateRect.right>containerRect.left&&candidateRect.left<containerRect.right;if(!isVisibleInContainer)return false;const containerCenterY=containerRect.top+containerRect.height/2;const candidateCenterY=candidateRect.top+candidateRect.height/2;const tolerance=Math.max(36,candidateRect.height);return Math.abs(candidateCenterY-containerCenterY)<=tolerance;}export function withSliderSwipe(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[sliderStore,setSliderStore]=useSliderStore();const delta=Math.abs(props.delta??160);const threshold=Math.abs(props.threshold??28);const tapThreshold=12;const preventDefault=props.preventDefault??true;const invertDirection=props.invertDirection??false;const projectLinks=props.projectLinks&&props.projectLinks.length>1?props.projectLinks:DEFAULT_PROJECT_LINKS;const startXRef=useRef(null);const startYRef=useRef(null);const didSwipeRef=useRef(false);const lastBackgroundNavigateAtRef=useRef(0);useEffect(()=>{const nextCount=projectLinks.length;startTransition(()=>{if(sliderStore.linkCount!==nextCount){setSliderStore({linkCount:nextCount});}if(nextCount>0&&sliderStore.currentSlideIndex>=nextCount){setSliderStore({currentSlideIndex:0});}});},[projectLinks.length,setSliderStore,sliderStore.currentSlideIndex,sliderStore.linkCount]);const dispatchFromDeltaX=useCallback((movementX,event)=>{if(Math.abs(movementX)<threshold)return;let directionSign=movementX<0?1:-1;if(invertDirection)directionSign*=-1;didSwipeRef.current=true;if(projectLinks.length>0){const indexDelta=directionSign>0?1:-1;const nextIndex=(sliderStore.currentSlideIndex+indexDelta+projectLinks.length)%projectLinks.length;startTransition(()=>{setSliderStore({currentSlideIndex:nextIndex,linkCount:projectLinks.length});});}dispatchWheelToElement(event.currentTarget,directionSign*delta,preventDefault,event);},[delta,invertDirection,preventDefault,threshold,projectLinks.length,sliderStore.currentSlideIndex,setSliderStore]);const maybePreventDefault=useCallback(event=>{if(!preventDefault)return;if(isInteractiveDescendant(event.target))return;event.preventDefault?.();},[preventDefault]);const handleLinkFilteringCapture=useCallback(event=>{const titleCandidate=getTitleCandidateElement(event.target);if(!titleCandidate)return;const centered=isCenteredTitleInteraction(event.target,event.currentTarget);if(centered)return;event.preventDefault?.();event.stopPropagation?.();},[]);const maybeNavigateBackground=useCallback(target=>{if(didSwipeRef.current)return;if(isExplicitControlElement(target))return;if(getTitleCandidateElement(target))return;const now=Date.now();if(now-lastBackgroundNavigateAtRef.current<450)return;lastBackgroundNavigateAtRef.current=now;navigateToProjectLink(projectLinks,sliderStore.currentSlideIndex);},[projectLinks,sliderStore.currentSlideIndex]);const navigateWithTimestampGuard=useCallback(href=>{if(typeof window===\"undefined\")return;if(!href)return;const now=Date.now();if(now-lastBackgroundNavigateAtRef.current<450)return;lastBackgroundNavigateAtRef.current=now;try{window.location.href=href;}catch(_error){// Safely ignore navigation errors.\n}},[]);const handleTapFallback=useCallback(event=>{if(didSwipeRef.current){event.preventDefault?.();event.stopPropagation?.();return;}if(isExplicitControlElement(event.target))return;const titleCandidate=getTitleCandidateElement(event.target);if(titleCandidate){const centered=isCenteredTitleInteraction(event.target,event.currentTarget);if(!centered){return;}}navigateWithTimestampGuard(projectLinks[sliderStore.currentSlideIndex]?.link);},[navigateWithTimestampGuard,projectLinks,sliderStore.currentSlideIndex]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,draggable:props.draggable??false,style:{...props.style,touchAction:\"none\",userSelect:\"none\",WebkitUserSelect:\"none\",WebkitTouchCallout:\"none\",WebkitUserDrag:\"none\"},onPointerDown:event=>{props.onPointerDown?.(event);didSwipeRef.current=false;startXRef.current=event.clientX;startYRef.current=event.clientY;},onPointerMove:event=>{props.onPointerMove?.(event);maybePreventDefault(event);},onPointerUp:event=>{props.onPointerUp?.(event);if(startXRef.current===null||startYRef.current===null)return;const movementX=event.clientX-startXRef.current;const movementY=event.clientY-startYRef.current;const isTapMovement=Math.abs(movementX)<=tapThreshold&&Math.abs(movementY)<=tapThreshold;startXRef.current=null;startYRef.current=null;dispatchFromDeltaX(movementX,event);if(isTapMovement&&!didSwipeRef.current){handleTapFallback(event);}},onTouchStart:event=>{props.onTouchStart?.(event);didSwipeRef.current=false;const touch=event.touches?.[0];startXRef.current=touch?touch.clientX:null;startYRef.current=touch?touch.clientY:null;},onTouchMove:event=>{props.onTouchMove?.(event);maybePreventDefault(event);},onTouchEnd:event=>{props.onTouchEnd?.(event);if(startXRef.current===null||startYRef.current===null)return;const touch=event.changedTouches?.[0];if(!touch){startXRef.current=null;startYRef.current=null;return;}const movementX=touch.clientX-startXRef.current;const movementY=touch.clientY-startYRef.current;const isTapMovement=Math.abs(movementX)<=tapThreshold&&Math.abs(movementY)<=tapThreshold;startXRef.current=null;startYRef.current=null;dispatchFromDeltaX(movementX,event);if(isTapMovement&&!didSwipeRef.current){handleTapFallback(event);}},onTapCapture:event=>{handleLinkFilteringCapture(event);},onClickCapture:event=>{handleLinkFilteringCapture(event);},onTap:event=>{props.onTap?.(event);const target=event.target;if(didSwipeRef.current){event.preventDefault?.();event.stopPropagation?.();return;}maybeNavigateBackground(target);},onClick:event=>{props.onClick?.(event);const target=event.target;if(didSwipeRef.current){event.preventDefault?.();event.stopPropagation?.();return;}maybeNavigateBackground(target);}});});}withSliderSwipe.propertyControls={delta:{type:ControlType.Number,title:\"Delta\",defaultValue:160,min:1,max:1e3,step:1},threshold:{type:ControlType.Number,title:\"Threshold\",defaultValue:28,min:1,max:300,step:1},preventDefault:{type:ControlType.Boolean,title:\"Prevent\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},invertDirection:{type:ControlType.Boolean,title:\"Invert\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},projectLinks:{type:ControlType.Array,title:\"Project Links\",control:{type:ControlType.Object,controls:{link:{type:ControlType.Link,title:\"Link\",defaultValue:\"https://example.com\"}}},defaultValue:[{link:\"https://example.com\"}]}};export function withSliderViewProject(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[sliderStore]=useSliderStore();const fallbackProjectSlugs=useMemo(()=>[\"lost-in-the-middle\",\"human-nature\",\"talk-talk-deals\",\"savings-bucket\",\"agape\",\"perfectly-picked\",\"coffee-billboard\",\"the-holiday-gift\"],[]);const projectLinks=props.projectLinks&&props.projectLinks.length>1?props.projectLinks:fallbackProjectSlugs.map(slug=>({link:{href:\"/works/:slug\",collectionItem:slug}}));const resolvedProjectLink=useMemo(()=>{const fallbackLink=props.link??props.href??projectLinks[0]?.link;if(projectLinks.length===0)return fallbackLink;const hasActiveSliderState=sliderStore.currentSlideIndex>=0&&sliderStore.currentSlideIndex<projectLinks.length;if(!hasActiveSliderState)return fallbackLink;const activeLink=projectLinks[sliderStore.currentSlideIndex]?.link;if(activeLink&&typeof activeLink===\"object\")return activeLink;const activeSlug=fallbackProjectSlugs[sliderStore.currentSlideIndex];if(activeSlug){return{href:\"/works/:slug\",collectionItem:activeSlug};}return fallbackLink;},[fallbackProjectSlugs,projectLinks,props.href,props.link,sliderStore.currentSlideIndex,sliderStore.linkCount]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,href:typeof resolvedProjectLink===\"string\"?resolvedProjectLink:undefined,link:resolvedProjectLink,role:props.role??\"button\",tabIndex:props.tabIndex??0,onClick:event=>{event.stopPropagation?.();props.onClick?.(event);},onTap:event=>{event.stopPropagation?.();props.onTap?.(event);},onKeyDown:event=>{event.stopPropagation?.();props.onKeyDown?.(event);}});});}withSliderViewProject.propertyControls={projectLinks:{type:ControlType.Array,title:\"Project Links\",control:{type:ControlType.Object,controls:{link:{type:ControlType.Link,title:\"Link\",defaultValue:\"/works/lost-in-the-middle\"}}},defaultValue:DEFAULT_PROJECT_LINKS}};export function withShowForSliderIndex(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[sliderStore]=useSliderStore();const targetIndex=props.index??0;const isVisible=sliderStore.currentSlideIndex===targetIndex;const visibleStyle=props.style?.display===\"none\"?{...props.style,display:undefined}:props.style;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,\"aria-hidden\":isVisible?props[\"aria-hidden\"]:true,style:isVisible?visibleStyle:{...props.style,opacity:0,pointerEvents:\"none\",display:\"none\"}});});}withShowForSliderIndex.propertyControls={index:{type:ControlType.Number,title:\"Index\",defaultValue:0,min:0,max:20,step:1}};function createShowForSliderIndexOverride(fixedIndex,Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[sliderStore]=useSliderStore();const isVisible=sliderStore.currentSlideIndex===fixedIndex;const visibleStyle=props.style?.display===\"none\"?{...props.style,display:undefined}:props.style;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,\"aria-hidden\":isVisible?props[\"aria-hidden\"]:true,style:isVisible?visibleStyle:{...props.style,opacity:0,pointerEvents:\"none\",display:\"none\"}});});}export function withShowForSliderIndex0(Component){return createShowForSliderIndexOverride(0,Component);}export function withShowForSliderIndex1(Component){return createShowForSliderIndexOverride(1,Component);}export function withShowForSliderIndex2(Component){return createShowForSliderIndexOverride(2,Component);}export function withShowForSliderIndex3(Component){return createShowForSliderIndexOverride(3,Component);}export function withShowForSliderIndex4(Component){return createShowForSliderIndexOverride(4,Component);}export function withShowForSliderIndex5(Component){return createShowForSliderIndexOverride(5,Component);}export function withShowForSliderIndex6(Component){return createShowForSliderIndexOverride(6,Component);}export function withShowForSliderIndex7(Component){return createShowForSliderIndexOverride(7,Component);}function setComposedRef(ref,value){if(!ref)return;if(typeof ref===\"function\"){ref(value);return;}try{ref.current=value;}catch(_error){// Safely ignore ref assignment failures.\n}}function resolveInternalHrefFromAnchor(anchor){const rawHref=anchor.getAttribute(\"href\");if(!rawHref)return null;if(rawHref.startsWith(\"/\"))return rawHref;if(typeof window===\"undefined\")return null;try{const url=new URL(rawHref,window.location.href);if(url.origin!==window.location.origin)return null;return`${url.pathname}${url.search}${url.hash}`;}catch(_error){return null;}}export function withMobileCarouselNativeTouchLinks(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const touchStartRef=useRef(null);const lastNavigateAtRef=useRef(0);const tapThreshold=14;const duplicateGuardMs=420;const textPathEntries=useMemo(()=>[[\"perfectly picked\",\"/works/perfectly-picked\"],[\"talk talk deals\",\"/works/talk-talk-deals\"],[\"agape\",\"/works/agape\"],[\"savings bucket\",\"/works/savings-bucket\"],[\"the holiday gift\",\"/works/the-holiday-gift\"],[\"coffee billboard\",\"/works/coffee-billboard\"],[\"lost in the middle\",\"/works/lost-in-the-middle\"],[\"banksgiving\",\"/works/banksgiving\"]],[]);const navigateWithGuard=useCallback(href=>{if(!href||typeof window===\"undefined\")return;const now=Date.now();if(now-lastNavigateAtRef.current<duplicateGuardMs)return;lastNavigateAtRef.current=now;try{window.location.href=href;}catch(_error){// Safely ignore navigation errors.\n}},[duplicateGuardMs]);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const element=hostRef.current;if(!element)return;const normalize=value=>value.replace(/\\s+/g,\" \").trim().toLowerCase();const detectPathFromPoint=(x,y)=>{const stack=document.elementsFromPoint(x,y);for(const node of stack){if(!(node instanceof HTMLElement))continue;const anchor=node.closest(\"a[href]\");if(anchor instanceof HTMLAnchorElement){const resolved=resolveInternalHrefFromAnchor(anchor);if(resolved)return resolved;}}const meaningfulSelector=\"a, article, section, li, [data-framer-name], [role], [class], div\";for(const node of stack){if(!(node instanceof HTMLElement))continue;const candidates=[node];const container=node.closest(meaningfulSelector);if(container instanceof HTMLElement&&container!==node){candidates.push(container);}for(const candidate of candidates){const text=normalize(candidate.textContent??\"\");if(!text)continue;for(const[label,path]of textPathEntries){if(text.includes(label))return path;}}}return null;};const onTouchStartCapture=event=>{const touch=event.touches?.[0];if(!touch){touchStartRef.current=null;return;}touchStartRef.current={x:touch.clientX,y:touch.clientY,at:Date.now()};};const onTouchEndCapture=event=>{const start=touchStartRef.current;touchStartRef.current=null;if(!start)return;const touch=event.changedTouches?.[0];if(!touch)return;const deltaX=touch.clientX-start.x;const deltaY=touch.clientY-start.y;if(Math.abs(deltaX)>tapThreshold||Math.abs(deltaY)>tapThreshold)return;const path=detectPathFromPoint(touch.clientX,touch.clientY);navigateWithGuard(path);};element.addEventListener(\"touchstart\",onTouchStartCapture,{capture:true,passive:true});element.addEventListener(\"touchend\",onTouchEndCapture,{capture:true,passive:true});return()=>{element.removeEventListener(\"touchstart\",onTouchStartCapture,true);element.removeEventListener(\"touchend\",onTouchEndCapture,true);};},[navigateWithGuard,textPathEntries]);const setRef=useCallback(node=>{hostRef.current=node instanceof HTMLElement?node:null;setComposedRef(ref,node);},[ref]);return /*#__PURE__*/_jsx(Component,{ref:setRef,...props});});}export function withMobileHomeNativeTouchLink(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const touchStartRef=useRef(null);const lastNavigateAtRef=useRef(0);const tapThreshold=14;const duplicateGuardMs=420;const navigateHomeWithGuard=useCallback(()=>{if(typeof window===\"undefined\")return;const now=Date.now();if(now-lastNavigateAtRef.current<duplicateGuardMs)return;lastNavigateAtRef.current=now;try{window.location.href=\"/\";}catch(_error){// Safely ignore navigation errors.\n}},[duplicateGuardMs]);useEffect(()=>{if(typeof window===\"undefined\")return;const element=hostRef.current;if(!element)return;const onTouchStartCapture=event=>{const touch=event.touches?.[0];if(!touch){touchStartRef.current=null;return;}touchStartRef.current={x:touch.clientX,y:touch.clientY};};const onTouchEndCapture=event=>{const start=touchStartRef.current;touchStartRef.current=null;if(!start)return;const touch=event.changedTouches?.[0];if(!touch)return;const deltaX=touch.clientX-start.x;const deltaY=touch.clientY-start.y;if(Math.abs(deltaX)>tapThreshold||Math.abs(deltaY)>tapThreshold)return;navigateHomeWithGuard();};element.addEventListener(\"touchstart\",onTouchStartCapture,{capture:true,passive:true});element.addEventListener(\"touchend\",onTouchEndCapture,{capture:true,passive:true});return()=>{element.removeEventListener(\"touchstart\",onTouchStartCapture,true);element.removeEventListener(\"touchend\",onTouchEndCapture,true);};},[navigateHomeWithGuard]);const setRef=useCallback(node=>{hostRef.current=node instanceof HTMLElement?node:null;setComposedRef(ref,node);},[ref]);return /*#__PURE__*/_jsx(Component,{ref:setRef,...props});});}function createNativeTouchDestinationOverride(destination,Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const touchStartRef=useRef(null);const lastNavigateAtRef=useRef(0);const tapThreshold=14;const duplicateGuardMs=360;const navigateWithGuard=useCallback(()=>{if(typeof window===\"undefined\")return;const now=Date.now();if(now-lastNavigateAtRef.current<duplicateGuardMs)return;lastNavigateAtRef.current=now;try{window.location.href=destination;}catch(_error){// Safely ignore navigation errors.\n}},[destination]);useEffect(()=>{if(typeof window===\"undefined\")return;const element=hostRef.current;if(!element)return;const onTouchStartCapture=event=>{const touch=event.touches?.[0];if(!touch){touchStartRef.current=null;return;}touchStartRef.current={x:touch.clientX,y:touch.clientY};};const onTouchEndCapture=event=>{const start=touchStartRef.current;touchStartRef.current=null;if(!start)return;const touch=event.changedTouches?.[0];if(!touch)return;const deltaX=touch.clientX-start.x;const deltaY=touch.clientY-start.y;if(Math.abs(deltaX)>tapThreshold||Math.abs(deltaY)>tapThreshold)return;navigateWithGuard();};element.addEventListener(\"touchstart\",onTouchStartCapture,{capture:true,passive:true});element.addEventListener(\"touchend\",onTouchEndCapture,{capture:true,passive:true});return()=>{element.removeEventListener(\"touchstart\",onTouchStartCapture,true);element.removeEventListener(\"touchend\",onTouchEndCapture,true);};},[navigateWithGuard]);const setRef=useCallback(node=>{hostRef.current=node instanceof HTMLElement?node:null;setComposedRef(ref,node);},[ref]);return /*#__PURE__*/_jsx(Component,{ref:setRef,...props});});}export function withTouchProjectPerfectlyPicked(Component){return createNativeTouchDestinationOverride(\"/works/perfectly-picked\",Component);}export function withTouchProjectTalkTalkDeals(Component){return createNativeTouchDestinationOverride(\"/works/talk-talk-deals\",Component);}export function withTouchProjectAgape(Component){return createNativeTouchDestinationOverride(\"/works/agape\",Component);}export function withTouchProjectSavingsBucket(Component){return createNativeTouchDestinationOverride(\"/works/savings-bucket\",Component);}export function withTouchProjectHolidayGift(Component){return createNativeTouchDestinationOverride(\"/works/the-holiday-gift\",Component);}export function withTouchProjectCoffeeBillboard(Component){return createNativeTouchDestinationOverride(\"/works/coffee-billboard\",Component);}export function withTouchProjectLostInTheMiddle(Component){return createNativeTouchDestinationOverride(\"/works/lost-in-the-middle\",Component);}export function withTouchProjectBanksgiving(Component){return createNativeTouchDestinationOverride(\"/works/banksgiving\",Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withShowForSliderIndex7\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex7\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectLostInTheMiddle\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectLostInTheMiddle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex6\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectHolidayGift\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectHolidayGift\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSliderPrevious\":{\"type\":\"reactHoc\",\"name\":\"withSliderPrevious\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectSavingsBucket\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectSavingsBucket\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectCoffeeBillboard\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectCoffeeBillboard\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex0\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex0\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSliderNext\":{\"type\":\"reactHoc\",\"name\":\"withSliderNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSliderViewProject\":{\"type\":\"reactHoc\",\"name\":\"withSliderViewProject\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobileCarouselNativeTouchLinks\":{\"type\":\"reactHoc\",\"name\":\"withMobileCarouselNativeTouchLinks\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex3\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex2\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectTalkTalkDeals\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectTalkTalkDeals\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSliderSwipe\":{\"type\":\"reactHoc\",\"name\":\"withSliderSwipe\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobileHomeNativeTouchLink\":{\"type\":\"reactHoc\",\"name\":\"withMobileHomeNativeTouchLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectAgape\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectAgape\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex5\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectPerfectlyPicked\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectPerfectlyPicked\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchProjectBanksgiving\":{\"type\":\"reactHoc\",\"name\":\"withTouchProjectBanksgiving\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex1\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowForSliderIndex4\":{\"type\":\"reactHoc\",\"name\":\"withShowForSliderIndex4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"0OAA8E,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,CAAM,CAAC,CAAC,CAAC,EACjD,EAAa,GAAU,CAC1B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAG,EAAU,MAAM,GAAG,CAAQ,CAAC,CAAE,EACjI,EAAW,OAAO,GAAS,SAAS,OAAO,OAAO,CAAC,GAAG,CAAM,CAAC,EAAE,EAC7D,EAAa,IAAI,IACjB,EAAc,GAAU,CAC3B,OAAO,GAAW,aAAY,EAAS,EAAS,CAAU,GAAG,EAAW,OAAO,GAAW,SAAS,OAAO,OAAO,CAAC,GAAG,EAAW,GAAG,CAAQ,CAAC,EAAE,EACjJ,EAAa,QAAQ,GAAQ,EAAO,CAAU,CAAC,CAAE,EACjD,SAAS,GAAU,CACnB,GAAK,CAAC,EAAM,GAAUA,EAAS,CAAU,EAKzC,OAHA,OACA,EAAa,IAAI,CAAQ,MAAY,EAAa,OAAO,CAAQ,GAAI,CAAC,CAAC,EACpE,EAAe,IAAI,IAAM,EAAe,EAAQ,CAAC,EAAU,MAAM,CAAY,GAC1E,CAAC,EAAM,CAAa,CAAG,CAAC,OAAO,CAAS,iBAfT,IAAwC,kCEAhE,EAAgB,CACzB,QAAS,OACT,eAAgB,SAChB,WAAY,QAChB,EAWI,CADA,GAAG,CACO,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