{"version":3,"file":"ScrollArrowsText.Cd4MYgll.mjs","names":["serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","React.forwardRef","useRef","React.useId","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","galleryItems","useRef","__esmMin","window","init_npm_react_18_3_1","x","oe","pe","init_ssg_sandbox_shims","ie","ce","init_jsx_runtime","J","c","p","de","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","addPropertyControls","addFonts","withCSS","RenderTarget","withColumnMasonryLayout","useVariantState","init_framer_CKT6jEEQ","useLocaleInfo","cx","ControlType","useComponentViewport","MotionDivWithColumnMasonryLayout","serializationHash$1","variantClassNames$1","transition1$1","Transition$1","Variants$1","getProps$1","createLayoutDependency$1","FramerCFK0U9TbW","init_CFK0U9TbW","config","transition","value","contextValue","props","variants","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","addPropertyOverrides","nextOverrides","variant","overrides","cycleOrder","serializationHash","variantClassNames","transition1","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","FramerJORWJuq_S","init_JORWJuq_S","baseVariant","gestureVariant","galleryItems$1","el","k","findVisible","id","n","mediaKey","img","cell","vid","src","GalleryStartAt","stop","begin","started","foundAt","lastFix","revealed","frame","veil","stripId","reveal","cleanup","t","onUser","tick","now","strip","match","m","key","left","clickedKey","node","grid","media","onClick","gridId","currentStripKey","cells","best","page","mid","d","dc","stopReturn","watchReturn","done","r","top","onLeaveStrip","onPop","init_GalleryStartAt","apply","s","on","galleryItems","findTarget","all","ScrollArrowsText","holderRef","targetId","snapTries","snapTimer","userMoved","markMoved","applyEdgePadding","isSpreads","ks","cs","inner","autoCenter","last","edgePadding","padTimer","ro","kids","counter","inline","barLayout","fontSize","placeCounter","photos","nextSlideId","cur","idx","horizontal","total","pad","v","hoverColor","slashColor","color","arrows","ar","placePageCounter","update","pageOf","sideOpacity","setSlideMode","center","i","onSlide","onFilm","hide","leftZoneId","box","rightZone","rightZoneId","off","film","keep","fr","br","onZoneClick","stepRef","onSlideClick","nextLinkId","a","onKey","arrowKeys","live","prevLinkId","step","hasSlide","dir","next","word","right","showWords","init_ScrollArrowsText"],"sources":["https:/framerusercontent.com/modules/t7riOLzwreeHiLMnkfd9/W5NU4rR53fJvhhx993uk/CFK0U9TbW.js","https:/framerusercontent.com/modules/QN6mTB2DCuIb1cBgrkn3/vBK3FSOrsFvifV5yHui8/JORWJuq_S.js","https:/framerusercontent.com/modules/MJ6QEsJRH0EqpmHyNGUU/A3urLZuwQ0OSr7AOZ3L2/GalleryStartAt.js","https:/framerusercontent.com/modules/cXuYiivpNYLaicUQgOL8/ZVMExtOVBhgyWSiAVSd3/ScrollArrowsText.js"],"sourcesContent":["// Generated by Framer (1683339)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,useComponentViewport,useLocaleInfo,useVariantState,withColumnMasonryLayout,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithColumnMasonryLayout=withColumnMasonryLayout(motion.div);const serializationHash=\"framer-rmfAe\";const variantClassNames={iOdAw1tlD:\"framer-v-hb35dd\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"iOdAw1tlD\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(MotionDivWithColumnMasonryLayout,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-hb35dd\",className,classNames),columnMasonryLayoutEnabled:true,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"iOdAw1tlD\",parentIsDataRepeater:false,ref:refBinding,rowGap:2,style:{...style},trackCount:2,children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-vgzbg\",layoutDependency:layoutDependency,layoutId:\"d_zcqDfMF\",style:{backgroundColor:\"rgb(255, 136, 0)\"}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-h6vty8\",layoutDependency:layoutDependency,layoutId:\"NneAddnfT\",style:{backgroundColor:\"rgb(255, 136, 0)\"}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-htyyc8\",layoutDependency:layoutDependency,layoutId:\"Fshl_6Hep\",style:{backgroundColor:\"rgb(255, 136, 0)\"}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1xo77wu\",layoutDependency:layoutDependency,layoutId:\"PHHUNvO3f\",style:{backgroundColor:\"rgb(255, 136, 0)\"}})]})})})});});const css=[\".framer-rmfAe.framer-v7064l, .framer-rmfAe .framer-v7064l { display: block; }\",\".framer-rmfAe.framer-hb35dd { display: grid; gap: 2px 2px; height: min-content; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: min-content; }\",\".framer-rmfAe .framer-vgzbg, .framer-rmfAe .framer-h6vty8, .framer-rmfAe .framer-htyyc8, .framer-rmfAe .framer-1xo77wu { align-self: start; flex: none; height: 14px; justify-self: start; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 14px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 30\n * @framerIntrinsicWidth 30\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerCFK0U9TbW=withCSS(Component,css,\"framer-rmfAe\");export default FramerCFK0U9TbW;FramerCFK0U9TbW.displayName=\"Gallery Cursor\";FramerCFK0U9TbW.defaultProps={height:30,width:30};addFonts(FramerCFK0U9TbW,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerCFK0U9TbW\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"30\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"30\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CFK0U9TbW.map","// Generated by Framer (1683339)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"y6uXUaH8k\",\"ZXY2xeq54\"];const serializationHash=\"framer-70RPL\";const variantClassNames={y6uXUaH8k:\"framer-v-1n62d5t\",ZXY2xeq54:\"framer-v-182zzrf\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={left:\"y6uXUaH8k\",right:\"ZXY2xeq54\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"y6uXUaH8k\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"y6uXUaH8k\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1n62d5t\",className,classNames),\"data-framer-name\":\"left\",layoutDependency:layoutDependency,layoutId:\"y6uXUaH8k\",ref:refBinding,style:{rotate:0,...style},variants:{ZXY2xeq54:{rotate:180}},...addPropertyOverrides({ZXY2xeq54:{\"data-framer-name\":\"right\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jzhker\",\"data-border\":true,\"data-framer-name\":\"Chevron\",layoutDependency:layoutDependency,layoutId:\"dFPUj5lz2\",style:{\"--border-bottom-width\":\"3px\",\"--border-color\":\"rgb(255, 136, 0)\",\"--border-left-width\":\"3px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",rotate:45}})})})})});});const css=[\".framer-70RPL.framer-lupwl3, .framer-70RPL .framer-lupwl3 { display: block; }\",\".framer-70RPL.framer-1n62d5t { height: 42px; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 29px; }\",\".framer-70RPL .framer-1jzhker { flex: none; height: 20px; left: 7px; position: absolute; top: 11px; width: 20px; }\",'.framer-70RPL[data-border=\"true\"]::after, .framer-70RPL [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 42\n * @framerIntrinsicWidth 29\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"ZXY2xeq54\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerJORWJuq_S=withCSS(Component,css,\"framer-70RPL\");export default FramerJORWJuq_S;FramerJORWJuq_S.displayName=\"Arrow Cursor\";FramerJORWJuq_S.defaultProps={height:42,width:29};addPropertyControls(FramerJORWJuq_S,{variant:{options:[\"y6uXUaH8k\",\"ZXY2xeq54\"],optionTitles:[\"left\",\"right\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerJORWJuq_S,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerJORWJuq_S\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"29\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ZXY2xeq54\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"42\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./JORWJuq_S.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// Framer can wrap each gallery item in an invisible \"display: contents\" box.\n// Look through those wrappers to the real photo frame inside.\nfunction galleryItems(el){return Array.from(el.children).map(k=>getComputedStyle(k).display===\"contents\"&&k.firstElementChild?k.firstElementChild:k);}// Framer can render one copy of the page per breakpoint, so several elements\n// may share an id. Use the one that is actually on screen.\nfunction findVisible(id){const all=Array.from(document.querySelectorAll('[id=\"'+id+'\"]'));return all.find(n=>n.clientWidth>0&&n.getClientRects().length>0)||null;}// The photo (or loop video) inside a gallery cell, as a stable key. Query\n// strings are dropped because Framer adds size parameters per view.\nfunction mediaKey(cell){const img=cell.querySelector(\"img\");const vid=cell.querySelector(\"video\");const src=img&&(img.currentSrc||img.src)||vid&&(vid.currentSrc||vid.src)||\"\";if(!src)return null;return src.split(\"?\")[0];}/**\n * Invisible helper: when a photo in the grid is clicked, single-image view\n * opens on that same photo instead of the first one. Going back to the\n * thumbnails scrolls the grid to the photo you were last viewing.\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */// The Overview page never shows a project name in the corner, in either view.\n// Checked on a timer because moving between projects doesn't reload the page.\nif(typeof window!==\"undefined\"&&!window.__overviewNameHide){window.__overviewNameHide=true;const apply=()=>{let s=document.getElementById(\"overview-name-hide\");const on=/\\/projects\\/overview\\/?$/.test(window.location.pathname);if(on&&!s){s=document.createElement(\"style\");s.id=\"overview-name-hide\";s.textContent='[data-framer-name=\"Project Name (grid)\"] { opacity: 0 !important; }';document.head.appendChild(s);}if(!on&&s)s.remove();};apply();window.setInterval(apply,400);}export default function GalleryStartAt(props){const{gridId,stripId}=props;useEffect(()=>{if(RenderTarget.current()===RenderTarget.canvas)return;let stop=null;const begin=key=>{if(stop)stop();const started=Date.now();let foundAt=0;let lastFix=0;let revealed=false;let frame=0;// Keep the strip invisible until it sits on the clicked photo, so\n// the jump from the first photo never shows. Then fade it in.\nconst veil=document.createElement(\"style\");veil.textContent='[id=\"'+stripId+'\"] { opacity: 0 !important; }';document.head.appendChild(veil);const reveal=()=>{if(revealed)return;revealed=true;veil.textContent='[id=\"'+stripId+'\"] { transition: opacity 0.35s ease; }';window.setTimeout(()=>veil.remove(),500);};const cleanup=()=>{window.cancelAnimationFrame(frame);[\"wheel\",\"touchstart\",\"keydown\",\"pointerdown\"].forEach(t=>window.removeEventListener(t,onUser,true));reveal();stop=null;};// A real interaction after the photo is showing hands control back.\nconst onUser=()=>{if(foundAt)cleanup();};[\"wheel\",\"touchstart\",\"keydown\",\"pointerdown\"].forEach(t=>window.addEventListener(t,onUser,true));// The page can rebuild or shift the strip shortly after it opens\n// (address change, photos loading). Every frame, re-find the strip\n// and the photo and pull the photo back to center if it moved.\nconst tick=()=>{const now=Date.now();const strip=findVisible(stripId);const cells=strip?galleryItems(strip):[];const match=cells.find(c=>Array.from(c.querySelectorAll(\"img, video\")).some(m=>mediaKey(m.parentElement||m)===key));if(strip&&match){if(!foundAt)foundAt=now;// Spread projects: open the page that holds the clicked photo.\nconst left=strip.dataset.spreads===\"1\"&&match.dataset.spPage!==undefined?Number(match.dataset.spPage)*strip.clientWidth:match.offsetLeft+match.offsetWidth/2-strip.clientWidth/2;if(Math.abs(strip.scrollLeft-left)>2){strip.scrollTo({left,behavior:\"auto\"});lastFix=now;}// Show it once it has held still on the photo for a moment.\nif(now-Math.max(lastFix,foundAt)>150||now-foundAt>1200)reveal();}const settled=foundAt&&now-foundAt>1500&&now-Math.max(lastFix,foundAt)>1500;if(settled||now-started>7e3){cleanup();return;}frame=window.requestAnimationFrame(tick);};frame=window.requestAnimationFrame(tick);stop=cleanup;};// The masonry grid groups photos into column boxes, so read the photo\n// from the clicked spot itself: climb from the click until we reach\n// the element holding exactly one photo or loop video.\nconst clickedKey=(node,grid)=>{let p=node;while(p&&p!==grid){if(p.tagName===\"IMG\"||p.tagName===\"VIDEO\")return mediaKey(p.parentElement||p);const media=p.querySelectorAll(\"img, video\");if(media.length===1)return mediaKey(p);if(media.length>1)return null;p=p.parentElement;}return null;};const onClick=e=>{const node=e.target instanceof Element?e.target:null;if(!node)return;const grid=node.closest('[id=\"'+gridId+'\"]');if(!grid)return;const key=clickedKey(node,grid);if(key)begin(key);};// ---- Back to thumbnails: return to the photo you were on ----\n// The photo currently centered in the strip (or the first photo of\n// the spread page showing).\nconst currentStripKey=()=>{const strip=findVisible(stripId);if(!strip)return null;const cells=galleryItems(strip).filter(c=>c.querySelector(\"img, video\"));if(!cells.length)return null;let best=null;if(strip.dataset.spreads===\"1\"){const page=Math.round(strip.scrollLeft/Math.max(1,strip.clientWidth));best=cells.find(c=>Number(c.dataset.spPage)===page)||null;}if(!best){const mid=strip.scrollLeft+strip.clientWidth/2;let d=Infinity;for(const c of cells){const dc=Math.abs(c.offsetLeft+c.offsetWidth/2-mid);if(dc<d){d=dc;best=c;}}}return best?mediaKey(best):null;};let stopReturn=null;const watchReturn=key=>{if(stopReturn)stopReturn();const started=Date.now();let foundAt=0;let lastFix=0;let frame=0;// Hide the grid until it sits on the photo, so the jump never shows.\nconst veil=document.createElement(\"style\");veil.textContent='[id=\"'+gridId+'\"] { opacity: 0 !important; }';document.head.appendChild(veil);let revealed=false;const reveal=()=>{if(revealed)return;revealed=true;veil.textContent='[id=\"'+gridId+'\"] { transition: opacity 0.3s ease; }';window.setTimeout(()=>veil.remove(),400);};const onUser=()=>{if(foundAt)done();};const done=()=>{window.cancelAnimationFrame(frame);[\"wheel\",\"touchstart\",\"keydown\"].forEach(t=>window.removeEventListener(t,onUser,true));reveal();stopReturn=null;};[\"wheel\",\"touchstart\",\"keydown\"].forEach(t=>window.addEventListener(t,onUser,true));const tick=()=>{const now=Date.now();const grid=findVisible(gridId);if(grid){const media=Array.from(grid.querySelectorAll(\"img, video\"));const m=media.find(x=>mediaKey(x.parentElement||x)===key);if(m){if(!foundAt)foundAt=now;const r=(m.parentElement||m).getBoundingClientRect();const top=window.scrollY+r.top+r.height/2-window.innerHeight/2;if(Math.abs(window.scrollY-top)>2){window.scrollTo({top:Math.max(0,top),behavior:\"auto\"});lastFix=now;}if(now-Math.max(lastFix,foundAt)>150||now-foundAt>1e3)reveal();}}// No grid appeared (the click went somewhere else): undo quietly.\nif(!foundAt&&now-started>1500){done();return;}const settled=foundAt&&now-Math.max(lastFix,foundAt)>1200;if(settled||now-started>6e3){done();return;}frame=window.requestAnimationFrame(tick);};frame=window.requestAnimationFrame(tick);stopReturn=done;};// Any click or Back while the strip is showing might switch to the\n// grid: remember the photo and watch for the grid to appear.\nconst onLeaveStrip=e=>{if(findVisible(gridId))return;if(e&&e.target instanceof Element&&e.target.closest('[id=\"next-project\"], [id=\"next-project-link\"]'))return;const key=currentStripKey();if(key)watchReturn(key);};const onPop=()=>onLeaveStrip();document.addEventListener(\"click\",onClick,true);document.addEventListener(\"click\",onLeaveStrip,true);window.addEventListener(\"popstate\",onPop);return()=>{document.removeEventListener(\"click\",onClick,true);document.removeEventListener(\"click\",onLeaveStrip,true);window.removeEventListener(\"popstate\",onPop);if(stop)stop();if(stopReturn)stopReturn();};},[gridId,stripId]);return /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1,opacity:0,pointerEvents:\"none\"},\"aria-hidden\":\"true\"});}GalleryStartAt.defaultProps={gridId:\"grid\",stripId:\"strip\"};addPropertyControls(GalleryStartAt,{gridId:{type:ControlType.String,title:\"Grid Id\",defaultValue:\"grid\"},stripId:{type:ControlType.String,title:\"Strip Id\",defaultValue:\"strip\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GalleryStartAt\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GalleryStartAt.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Framer can render one copy of the page per breakpoint, so there may be\n// several elements with the same id. Use the one that is actually on screen.\n// Framer can wrap each gallery item in an invisible \"display: contents\" box.\n// Look through those wrappers to the real photo frame inside.\nfunction galleryItems(el){return Array.from(el.children).map(k=>getComputedStyle(k).display===\"contents\"&&k.firstElementChild?k.firstElementChild:k);}// Spread projects: GallerySpreads lays the strip out in pages (strip has\n// data-spreads, every item a data-sp-page). Then everything steps by page.\nconst isSpreads=el=>!!el&&el.dataset.spreads===\"1\";const pageOf=el=>el.clientWidth?Math.round(el.scrollLeft/el.clientWidth):0;function findTarget(id){const all=Array.from(document.querySelectorAll('[id=\"'+id+'\"]'));return all.find(n=>n.clientWidth>0&&n.getClientRects().length>0)||all[0]||null;}/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ScrollArrowsText(props){const{targetId,color,hoverColor=\"#121212\",slashColor=\"#444444\",fontSize=16,sideOpacity,autoCenter=true,edgePadding=0,leftZoneId=\"zone-left\",rightZoneId=\"zone-right\",nextSlideId=\"next-project\",prevLinkId=\"prev-project-link\",nextLinkId=\"next-project-link\",barLayout=\"Center\",showWords=true,arrowKeys=true}=props;const holderRef=useRef(null);useEffect(()=>{const el=findTarget(targetId);if(!el)return;// Snap only once every photo has a real width. Snapping earlier locks\n// onto the Next slide (the only sized item) and follows it to the end.\nel.style.scrollSnapType=\"none\";let snapTries=0;const snapTimer=window.setInterval(()=>{snapTries++;const all=galleryItems(el);const loaded=el.clientWidth>0&&all.length>0&&all.every(k=>k.offsetWidth>0);if(!loaded&&snapTries<60)return;window.clearInterval(snapTimer);if(el.scrollLeft!==0&&!userMoved)el.scrollTo({left:0,behavior:\"auto\"});el.style.scrollSnapType=\"x mandatory\";},100);let userMoved=false;const markMoved=()=>{userMoved=true;};[\"wheel\",\"touchstart\",\"keydown\",\"pointerdown\"].forEach(t=>window.addEventListener(t,markMoved,{once:true,capture:true}));// Center the first and last photo by giving them outside margins.\n// Margins (not strip padding) keep the strip's own width intact, so\n// photos sized as a % of the strip never shrink because of centering.\nconst applyEdgePadding=()=>{if(isSpreads(el))return;const ks=galleryItems(el).filter(c=>c.offsetWidth>0);if(!ks.length)return;ks.forEach(c=>{c.style.marginLeft=\"\";c.style.marginRight=\"\";});const cs=getComputedStyle(el);const inner=el.clientWidth-parseFloat(cs.paddingLeft)-parseFloat(cs.paddingRight);if(autoCenter){ks[0].style.marginLeft=Math.max(0,(inner-ks[0].offsetWidth)/2)+\"px\";const last=ks[ks.length-1];last.style.marginRight=Math.max(0,(inner-last.offsetWidth)/2)+\"px\";}else{ks[0].style.marginLeft=edgePadding+\"px\";ks[ks.length-1].style.marginRight=edgePadding+\"px\";}};applyEdgePadding();const padTimer=window.setTimeout(applyEdgePadding,600);window.addEventListener(\"resize\",applyEdgePadding);const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(()=>applyEdgePadding()):null;if(ro)galleryItems(el).forEach(c=>ro.observe(c));const kids=()=>galleryItems(el).filter(c=>c.offsetWidth>0);kids().forEach(c=>{if(!isSpreads(el))c.style.scrollSnapAlign=\"center\";c.style.transition=\"opacity 0.35s ease\";});// Photo counter (\"3 / 12\"), just under the centered photo's bottom-right\n// corner. Counts photos only (never the Next slide), so adding photos to\n// a project updates the total automatically.\nconst counter=document.createElement(\"div\");counter.setAttribute(\"data-gallery-counter\",\"1\");const inline=barLayout===\"Right\"&&holderRef.current;if(inline)Object.assign(counter.style,{position:\"relative\",pointerEvents:\"none\",fontFamily:\"Inter, sans-serif\",fontWeight:\"400\",fontSize:fontSize+\"px\",whiteSpace:\"nowrap\",opacity:\"0\",transition:\"opacity 0.3s ease\"});else Object.assign(counter.style,{position:\"fixed\",zIndex:\"9\",pointerEvents:\"none\",fontFamily:\"Inter, sans-serif\",fontWeight:\"500\",fontSize:\"14px\",letterSpacing:\"0.02em\",whiteSpace:\"nowrap\",opacity:\"0\",transition:\"opacity 0.3s ease\"});(inline?holderRef.current:document.body).appendChild(counter);const placeCounter=(ks,idx)=>{const photos=ks.filter(k=>k.id!==nextSlideId);const cur=ks[idx];const n=photos.indexOf(cur)+1;const horizontal=el.clientWidth>0&&el.scrollWidth>el.clientWidth+1;if(!cur||n<1||!horizontal){counter.style.opacity=\"0\";return;}if(inline){// Beside Prev / Next: current number dark, total gray, orange\n// slash, with the progress line underneath the numbers.\nconst total=photos.length;const pad=v=>String(v).padStart(String(total).length,\"0\");counter.innerHTML='<div><span style=\"color:'+hoverColor+'\">'+pad(n)+'</span><span style=\"color:'+slashColor+'\"> / </span><span style=\"color:'+color+'\">'+pad(total)+\"</span></div>\"+'<div style=\"position:relative;height:2px;margin-top:6px;background:rgba(0,0,0,0.12)\"><div style=\"position:absolute;left:0;top:0;bottom:0;width:'+n/total*100+'%;background:#FF8800\"></div></div>';counter.style.opacity=\"1\";return;}counter.innerHTML='<span style=\"color:'+color+'\">'+n+'</span><span style=\"color:'+slashColor+'\"> / </span><span style=\"color:'+color+'\">'+photos.length+\"</span>\";// Stationary: bottom-right corner, on the same line as \"prev / next\",\n// inset by the strip's own side margin (40px desktop, 20px tablet).\nconst arrows=Array.from(document.querySelectorAll(\"[data-gallery-arrows]\")).find(x=>x.getClientRects().length>0);const ar=arrows?arrows.getBoundingClientRect():null;counter.style.right=parseFloat(getComputedStyle(el).paddingRight)+\"px\";counter.style.bottom=ar?Math.max(0,window.innerHeight-ar.bottom)+\"px\":\"48px\";counter.style.opacity=\"1\";};const placePageCounter=(page,total)=>{const horizontal=el.clientWidth>0&&el.scrollWidth>el.clientWidth+1;if(page>=total||!horizontal){counter.style.opacity=\"0\";return;}const n=page+1,pad=v=>String(v).padStart(String(total).length,\"0\");if(inline){counter.innerHTML='<div><span style=\"color:'+hoverColor+'\">'+pad(n)+'</span><span style=\"color:'+slashColor+'\"> / </span><span style=\"color:'+color+'\">'+pad(total)+\"</span></div>\"+'<div style=\"position:relative;height:2px;margin-top:6px;background:rgba(0,0,0,0.12)\"><div style=\"position:absolute;left:0;top:0;bottom:0;width:'+n/total*100+'%;background:#FF8800\"></div></div>';}else counter.innerHTML='<span style=\"color:'+color+'\">'+n+'</span><span style=\"color:'+slashColor+'\"> / </span><span style=\"color:'+color+'\">'+total+\"</span>\";counter.style.opacity=\"1\";};const update=()=>{if(isSpreads(el)){const total=Number(el.dataset.spPages)||0,page=pageOf(el);galleryItems(el).forEach(c=>{c.style.opacity=c.dataset.spPage===String(page)?\"1\":String(sideOpacity);});setSlideMode(page>=total,null);placePageCounter(page,total);return;}const mid=el.scrollLeft+el.clientWidth/2;let idx=0,best=Infinity;const ks=kids();ks.forEach((c,i)=>{const center=c.offsetLeft+c.offsetWidth/2;const d=Math.abs(center-mid);if(d<best){best=d;idx=i;}});ks.forEach((c,i)=>{c.style.opacity=i===idx?\"1\":String(sideOpacity);});// On the Next Project slide, the middle and right click zones step\n// aside so the slide's own link works. The left zone stays active.\nconst onSlide=!!ks[idx]&&ks[idx].id===nextSlideId;// A centered film: let clicks in the middle reach its play button.\nconst onFilm=!onSlide&&!!ks[idx]&&!!ks[idx].querySelector(\"video\");setSlideMode(onSlide,onFilm?ks[idx]:null);placeCounter(ks,idx);};const setSlideMode=(on,film=null)=>{// On the slide, also hide the prev / next text and the status line.\nlet hide=document.getElementById(\"slide-hide-ui\");if(!hide){hide=document.createElement(\"style\");hide.id=\"slide-hide-ui\";document.head.appendChild(hide);}hide.textContent=on?'[data-gallery-status], [data-gallery-arrows], [data-gallery-counter], [data-framer-name=\"Project Name (grid)\"] { opacity: 0 !important; pointer-events: none !important; }':\"\";const left=findTarget(leftZoneId);const box=left&&left.parentElement;if(!box)return;const rightZone=findTarget(rightZoneId);const off=on||!!film;box.style.pointerEvents=off?\"none\":\"\";Array.from(box.children).forEach(k=>{// Slide: only the left zone stays. Film: left and right stay,\n// shrunk to the white space beside the film (set below).\nconst keep=k===left||film&&!on&&k===rightZone;k.style.pointerEvents=off?keep?\"auto\":\"none\":\"\";});// A centered film: no zone may sit over the film itself, so its\n// own clicks (play / pause) and cursor take over there.\nif(film&&!on&&rightZone){const fr=film.getBoundingClientRect();const br=box.getBoundingClientRect();left.style.width=Math.max(0,fr.left-br.left)+\"px\";left.style.flex=\"none\";rightZone.style.width=Math.max(0,br.right-fr.right)+\"px\";rightZone.style.flex=\"none\";rightZone.style.marginLeft=\"auto\";}else{left.style.width=\"\";left.style.flex=\"\";if(rightZone){rightZone.style.width=\"\";rightZone.style.flex=\"\";rightZone.style.marginLeft=\"\";}}};update();el.addEventListener(\"scroll\",update,{passive:true});window.addEventListener(\"resize\",update);const onZoneClick=e=>{const t=e.target instanceof Element?e.target:null;if(!t)return;if(t.closest('[id=\"'+leftZoneId+'\"]')){e.preventDefault();e.stopPropagation();stepRef.current(-1);}else if(t.closest('[id=\"'+rightZoneId+'\"]')){e.preventDefault();e.stopPropagation();stepRef.current(1);}};document.addEventListener(\"click\",onZoneClick,true);// The Next slide is not a visible link (no address preview). A click on\n// it follows the invisible next-project link instead.\nconst onSlideClick=e=>{const t=e.target instanceof Element?e.target:null;if(!t||!t.closest('[id=\"'+nextSlideId+'\"]'))return;const node=findTarget(nextLinkId);const a=node&&(node.tagName===\"A\"?node:node.closest(\"a\")||node.querySelector(\"a\"));if(!a)return;e.preventDefault();e.stopPropagation();a.click();};document.addEventListener(\"click\",onSlideClick,true);// Keyboard: left / right arrow keys step back and forward, like the\n// click zones. Only while single-image view is on screen.\nconst onKey=e=>{if(!arrowKeys||e.defaultPrevented||e.metaKey||e.ctrlKey||e.altKey)return;if(e.key!==\"ArrowRight\"&&e.key!==\"ArrowLeft\")return;const t=e.target instanceof Element?e.target:null;if(t&&t.closest(\"input, textarea, select, [contenteditable='true']\"))return;const live=findTarget(targetId);if(!live||live.clientWidth===0||live.getClientRects().length===0)return;e.preventDefault();stepRef.current(e.key===\"ArrowRight\"?1:-1);};window.addEventListener(\"keydown\",onKey);return()=>{el.removeEventListener(\"scroll\",update);window.removeEventListener(\"resize\",update);document.removeEventListener(\"click\",onZoneClick,true);document.removeEventListener(\"click\",onSlideClick,true);window.removeEventListener(\"keydown\",onKey);window.removeEventListener(\"resize\",applyEdgePadding);window.clearTimeout(padTimer);if(ro)ro.disconnect();setSlideMode(false);window.clearInterval(snapTimer);counter.remove();};},[targetId,sideOpacity,autoCenter,edgePadding,leftZoneId,rightZoneId,nextSlideId,prevLinkId,nextLinkId,barLayout,arrowKeys]);const stepRef=useRef(d=>{});const step=dir=>{const el=findTarget(targetId);if(!el)return;if(isSpreads(el)){const total=Number(el.dataset.spPages)||0,page=pageOf(el);const hasSlide=!!el.querySelector('[id=\"'+nextSlideId+'\"]');// Forward from the Next Project page opens the next project.\nif(dir>0&&page>=total){const node=findTarget(nextLinkId);const a=node&&(node.tagName===\"A\"?node:node.closest(\"a\")||node.querySelector(\"a\"));if(a)a.click();return;}const next=Math.min(Math.max(page+dir,0),hasSlide?total:total-1);el.scrollTo({left:next*el.clientWidth,behavior:\"smooth\"});return;}const ks=galleryItems(el).filter(c=>c.offsetWidth>0);if(!ks.length)return;const mid=el.scrollLeft+el.clientWidth/2;let idx=0,best=Infinity;ks.forEach((c,i)=>{const center=c.offsetLeft+c.offsetWidth/2;const d=Math.abs(center-mid);if(d<best){best=d;idx=i;}});// Forward from the Next Project slide opens the next project.\nif(dir>0&&ks[idx]&&ks[idx].id===nextSlideId){const node=findTarget(nextLinkId);const a=node&&(node.tagName===\"A\"?node:node.closest(\"a\")||node.querySelector(\"a\"));if(a)a.click();return;}const next=Math.min(Math.max(idx+dir,0),ks.length-1);const t=ks[next];el.scrollTo({left:t.offsetLeft+t.offsetWidth/2-el.clientWidth/2,behavior:\"smooth\"});};stepRef.current=step;const word={cursor:\"pointer\",userSelect:\"none\",color:color,transition:\"color 0.2s ease\"};const right=barLayout===\"Right\";const on=e=>{e.currentTarget.style.color=hoverColor;};const off=e=>{e.currentTarget.style.color=color;};return /*#__PURE__*/_jsxs(\"div\",{\"data-gallery-arrows\":\"1\",style:{transition:\"opacity 0.3s ease\",pointerEvents:\"auto\",display:\"flex\",alignItems:right?\"flex-start\":\"baseline\",gap:right?30:8,fontFamily:\"Inter, sans-serif\",fontWeight:right?400:500,fontSize:fontSize,letterSpacing:right?\"0\":\"0.02em\",whiteSpace:\"nowrap\"},children:[showWords&&/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",alignItems:\"baseline\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:word,onMouseEnter:on,onMouseLeave:off,onClick:()=>step(-1),role:\"button\",\"aria-label\":\"Previous\",children:right?\"Prev\":\"prev\"}),/*#__PURE__*/_jsx(\"span\",{style:{color:slashColor,userSelect:\"none\"},\"aria-hidden\":\"true\",children:\"/\"}),/*#__PURE__*/_jsx(\"span\",{style:word,onMouseEnter:on,onMouseLeave:off,onClick:()=>step(1),role:\"button\",\"aria-label\":\"Next\",children:right?\"Next\":\"next\"})]}),right&&/*#__PURE__*/_jsx(\"div\",{ref:holderRef})]});}ScrollArrowsText.defaultProps={targetId:\"project-strip\",color:\"#C2B9C2\",hoverColor:\"#121212\",slashColor:\"#444444\",fontSize:16,sideOpacity:.25};addPropertyControls(ScrollArrowsText,{barLayout:{type:ControlType.Enum,title:\"Layout\",options:[\"Center\",\"Right\"],defaultValue:\"Center\"},showWords:{type:ControlType.Boolean,title:\"Prev / Next\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},arrowKeys:{type:ControlType.Boolean,title:\"Arrow Keys\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},targetId:{type:ControlType.String,title:\"Target Id\",defaultValue:\"project-strip\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#C2B9C2\"},hoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#121212\"},slashColor:{type:ControlType.Color,title:\"Slash Color\",defaultValue:\"#444444\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:10,max:32,unit:\"px\"},sideOpacity:{type:ControlType.Number,title:\"Side Opacity\",defaultValue:.25,min:0,max:1,step:.05},autoCenter:{type:ControlType.Boolean,title:\"Edge Center\",defaultValue:true,enabledTitle:\"Auto\",disabledTitle:\"Manual\"},edgePadding:{type:ControlType.Number,title:\"Edge Padding\",defaultValue:200,min:0,max:800,unit:\"px\",hidden:p=>p.autoCenter},leftZoneId:{type:ControlType.String,title:\"Left Zone Id\",defaultValue:\"zone-left\"},rightZoneId:{type:ControlType.String,title:\"Right Zone Id\",defaultValue:\"zone-right\"},nextSlideId:{type:ControlType.String,title:\"Next Slide Id\",defaultValue:\"next-project\"},prevLinkId:{type:ControlType.String,title:\"Previous Link Id\",defaultValue:\"prev-project-link\"},nextLinkId:{type:ControlType.String,title:\"Next Link Id\",defaultValue:\"next-project-link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollArrowsText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollArrowsText.map"],"mappings":"A,0aAC0S,EAAiC2C,EAAwBR,EAAO,GAAG,EAAQnC,EAAkB,eAAqBC,EAAkB,CAAC,UAAU,iBAAiB,EAA+LC,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQC,GAAY,CAAC,QAAM,cAAY,CAAC,IAAMyD,EAAOxD,EAAiBgC,CAAmB,EAAQyB,EAAWC,GAAOF,EAAO,WAAiBG,EAAa1D,OAAmB,CAAC,GAAGuD,EAAO,YAAU,GAAG,CAAC,KAAK,UAAUC,CAAU,CAAC,CAAC,EAAE,MAAoB,gBAAKzB,EAAoB,SAAS,CAAC,MAAM2B,EAAsB,UAAQ,CAAC,CAAE,EAAQzD,EAAS6B,EAAO,OAAO5B,CAAc,EAAQC,GAAU,CAAC,SAAO,KAAG,QAAM,GAAGwD,MAAgB,CAAC,GAAGA,CAAK,GAAUvD,GAAwB,EAAM,IAAeuD,EAAM,iBAAwBC,EAAS,KAAK,GAAG,EAAED,EAAM,iBAAwBC,EAAS,KAAK,GAAG,EAU1vC,EAAgBxB,EAV2wC/B,kBAAiB,SAAS,EAAM,EAAI,CAAC,IAAMwD,EAAYvD,EAAO,IAAI,EAAQwD,EAAWC,GAAKF,EAAkBG,EAAgBzD,EAAY,EAAO,CAAC,eAAa,aAAWkC,EAAc,EAA0BG,EAAqB,EAAE,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,GAAGqB,GAAW9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