{"version":3,"file":"ProjectImageTicker.DuHiEhv1.mjs","names":["useId","useRef","useState","useCallback","EASE","c","startTransition","useId","useState","useSyncExternalStore","useId","_Fragment","useId","_Fragment","useRef","useState","useId","useMemo","useCallback","startTransition","useRef","useState","useId","useMemo","useCallback","__esmMin","pe","init_npm_react_18_3_1","ne","me","init_ssg_sandbox_shims","window","te","ie","init_npm_react_dom_18_3_1","l","_e","Ha","c","J","init_jsx_runtime","ce","de","RenderTarget","addPropertyControls","init_framer_BWFVvmND","ControlType","init_AltText","altFor","titleFromHref","words","href","seeded","x","i","k","ExtrasDesk","props","isCanvas","scope","stageRef","cardEls","cards","raf","topZ","pointer","drag","lastFocus","scraped","setScraped","size","setSize","tidy","setTidy","tidyDefault","open","setOpen","reduced","setReduced","phone","setPhone","held","setHeld","ready","setReady","manual","source","itemsJson","list","it","u","a","items","count","mq","coarse","check","read","links","linkSelector","base","found","img","nw","nh","description","texts","el","v","uniq","first","galleryEl","all","container","tries","id","poll","apply","ro","grid","cw","ch","cols","rows","sizeFor","w","cardWidth","sizeJitter","h","aspect","capH","maxCardHeight","cellH","capW","cellW","targets","col","row","cx","cy","shuffle","jx","neat","jy","tilt","t","last","tick","nowT","dt","d","p","now","grabbed","holding","txh","tyh","ax","SPRING","ay","edge","want","DAMPING","j","o","ox","oy","away","awayY","canX","canY","wall","BOUNCE","resting","scale","sheen","dx","dy","dist","onStageMove","r","onStageLeave","onDown","e","px","py","onMove","DRAG_THRESHOLD","onUp","show","cap","DT","THROW","throwStrength","hide","onKey","current","stripDrag","stripRaf","onStripDown","onStripMove","prev","onStripUp","run","askFor","text","askPrefix","css","FONT","tray","EASE$1","openInner","src","askPill","pageLabel","openView","style","c$1","im","hint","messLabel","tidyLabel","init_ExtrasDesk","withExtrasToggle","isOpen","useOpen","onClick","link","event","onHash","toggle","Component","PANEL_ID","withExtrasIcon","bar","withExtrasPanel","query","tiles","TILT","deg","listeners","subscribe","init_ExtrasToggle","next","listener","value","withIndexItem","EASE","withIndexHead","item","head","opening","other","withIndexIcon","init_IndexAccordion","withIndexFocus","className","init_IndexFocus","isFramerImage","sized","rubberBand","distance","dimension","NewHomeImageStrip","rootRef","viewportRef","bleed","setBleed","trackRef","pressed","setPressed","rootHeight","setRootHeight","ratios","setRatios","near","setNear","inView","scopeClass","position","velocity","bounds","frame","lastTime","reducedMotion","entrancePending","isVideo","media","images","image1","image2","image3","image4","image5","image6","image7","maybe","image","video","render","track","measure","viewport","stop","step","pos","vel","max","min","target","accel","SPRING_DAMPING","DECAY_TIME","start","glideBy","onChange","root","update","rect","pageWidth","left","right","observer","onWheel","delta","done","ENTRANCE_OFFSET","entries","entry","nearObserver","playObserver","visible","element","onPointerDown","onPointerMove","state","width","onPointerEnd","elapsed","MAX_VELOCITY","onKeyDown","rootStyle","viewportStyle","trackStyle","GAP","RADIUS","ariaLabel","fallback","videoRatio","ratio","remember","known","match","index","init_NewHomeCarousel","ProjectImageTicker","groupRef","grabbing","setGrabbing","groupWidth","reduce","image8","image9","image10","image11","image12","image13","image14","image15","image16","image17","image18","clampedDuration","duration","driftSign","direction","io","drift","stale","groupStyle","renderImg","copy","nextRatio","init_ProjectImageTicker"],"sources":["https:/framerusercontent.com/modules/Zl41ww9ODV41utRwzUlF/4JAWBUyx8EYNrmzAZbMF/ExtrasDesk.js","https:/framerusercontent.com/modules/fKvDXAxMBPSObnFfBBMj/1k9rAPTT4rLkNDSxEdAK/ExtrasToggle.js","https:/framerusercontent.com/modules/KInVCFbWNah4LOdcpxcQ/RCgEzLiF6Jwx0zeC8S7d/IndexAccordion.js","https:/framerusercontent.com/modules/k9QSY5veaI8VKNEJ9qgI/4nekO2S9qPybvte1hB0D/IndexFocus.js","https:/framerusercontent.com/modules/lO8PfDsCQzEEboHpRzek/axg9GSWndF4tHRaZYqgy/NewHomeCarousel.js","https:/framerusercontent.com/modules/sgEETC4y9mE6vB7JiYbL/bCtele896SdlTYgZNjML/ProjectImageTicker.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useCallback,useEffect,useId,useRef,useState}from\"react\";import{createPortal}from\"react-dom\";/**\n * Extras desk: the side projects as prints on a desk. Drag them, throw them, pick\n * one up and it comes to the top with its shadow lifting. A click (not a drag)\n * opens it in place: bigger image, caption, the other images, and an \"Ask about\n * this\" pill that hands the item to the site's Ask Gabe chat. \"Tidy\" snaps the\n * desk into a grid and back.\n *\n * Nothing here touches page scroll: everything is something the visitor chose to\n * drag, click or press. Phones get a swipeable row instead of physics. Reduced\n * motion keeps the drag but drops the throw, the tilt and the sheen.\n *\n * Items come from the page's hidden CMS list (like ExtrasCloud), or from a JSON\n * string for a preview page.\n */const FONT='\"Space Grotesk\", \"Space Grotesk Placeholder\", sans-serif';const EASE=\"cubic-bezier(0.2, 0.7, 0.2, 1)\";const DRAG_THRESHOLD=5;const DAMPING=.955;const THROW=1.5;const BOUNCE=-.45;// The site's custom cursor dot is a spring (stiffness 705, damping 40, mass\n// 0.35). A held print follows the pointer with the same spring, so the dot and\n// the print move together instead of at two speeds.\nconst SPRING={k:705,d:40,m:.35};const DT=1/60;function titleFromHref(href){const slug=(href||\"\").split(\"/\").filter(Boolean).pop()||\"\";const words=slug.replace(/-/g,\" \").trim();return words?words.charAt(0).toUpperCase()+words.slice(1):\"\";}// Deterministic jitter so the desk looks composed on every load, not random.\nfunction seeded(i,k){const x=Math.sin(i*12.9898+k*78.233)*43758.5453;return x-Math.floor(x);}export default function ExtrasDesk(props){const{source=\"cms\",linkSelector='#gp-extras-panel a[href*=\"work/\"]',itemsJson=\"\",height=680,cardWidth=300,sizeJitter=120,maxCardHeight=320,tilt=7,throwStrength=1,tidyDefault=false,sheen=true,askPill=true,askPrefix=\"About\",hint=\"Drag them about. Click one to open it.\",tidyLabel=\"Tidy\",messLabel=\"Mess\",pageLabel=\"Full page\",tray=true,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const scope=`gp-desk-${useId().replace(/[^a-zA-Z0-9_-]/g,\"\")}`;const stageRef=useRef(null);const cardEls=useRef([]);const cards=useRef([]);const raf=useRef(0);const topZ=useRef(0);const pointer=useRef({x:-9999,y:-9999,inside:false});const drag=useRef(null);const lastFocus=useRef(null);const[scraped,setScraped]=useState(null);const[size,setSize]=useState({w:0,h:0});const[tidy,setTidy]=useState(!!tidyDefault);const[open,setOpen]=useState(-1);const[reduced,setReduced]=useState(false);const[phone,setPhone]=useState(false);const[held,setHeld]=useState(-1);const[ready,setReady]=useState(false);// ---- items -------------------------------------------------------------\nconst manual=(()=>{if(source!==\"manual\"||!itemsJson)return[];try{const list=JSON.parse(itemsJson);return(Array.isArray(list)?list:[]).map(it=>({title:it.title||titleFromHref(it.href),standfirst:it.standfirst||\"\",description:it.description||\"\",src:it.src||(it.gallery||[])[0]||\"\",gallery:[it.src,...it.gallery||[]].filter((u,i,a)=>u&&a.indexOf(u)===i),href:it.href||\"\",aspect:it.aspect||1.4}));}catch{return[];}})();const items=source===\"manual\"?manual:scraped||[];const count=items.length;useEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");setReduced(mq.matches);const coarse=window.matchMedia(\"(pointer: coarse)\");const check=()=>setPhone(coarse.matches||window.innerWidth<700);check();window.addEventListener(\"resize\",check);return()=>window.removeEventListener(\"resize\",check);},[]);// Read the hidden CMS list on the page, same contract as ExtrasCloud: first\n// image is the card, the \"Gallery\" layer holds the other image URLs.\nuseEffect(()=>{if(isCanvas||source!==\"cms\")return;const read=()=>{const links=Array.from(document.querySelectorAll(linkSelector));if(!links.length)return false;const base=u=>String(u).split(\"?\")[0];const found=links.map(a=>{const img=a.querySelector(\"img\");if(!img)return null;const nw=Number(img.getAttribute(\"width\"))||0;const nh=Number(img.getAttribute(\"height\"))||0;const descEl=a.querySelector('[data-framer-name=\"Description\"]');const description=(descEl?.textContent||\"\").trim();const texts=Array.from(a.querySelectorAll('[data-framer-component-type=\"RichTextContainer\"], h1, h2, h3, p')).map(el=>(el.textContent||\"\").trim()).filter(v=>v&&!/^https?:\\/\\//.test(v)&&v!==description);const uniq=texts.filter((v,i)=>texts.indexOf(v)===i);const first=img.currentSrc||img.src;const galleryEl=a.querySelector('[data-framer-name=\"Gallery\"]');galleryEl?.setAttribute(\"aria-hidden\",\"true\");const extra=(galleryEl?.textContent||\"\").trim().split(/\\s+/).filter(u=>/^https?:\\/\\//.test(u)&&!/\\.(mp4|webm|mov)(\\?|$)/i.test(u)&&base(u)!==base(first)).filter((u,i,all)=>all.findIndex(v=>base(v)===base(u))===i).slice(0,6).map(u=>base(u)+\"?scale-down-to=1024\");return{gallery:[first,...extra],src:first,srcSet:img.getAttribute(\"srcset\")||undefined,title:uniq[0]||img.getAttribute(\"alt\")||titleFromHref(a.getAttribute(\"href\")||\"\"),standfirst:uniq[1]||\"\",description,href:a.getAttribute(\"href\")||\"\",aspect:nw&&nh?nw/nh:img.naturalWidth&&img.naturalHeight?img.naturalWidth/img.naturalHeight:1.4};}).filter(Boolean);if(!found.length)return false;let container=links[0].parentElement;while(container&&container.parentElement&&container!==document.body&&!links.every(l=>container.contains(l))){container=container.parentElement;}if(container&&container!==document.body)container.style.display=\"none\";setScraped(found);return true;};if(read())return;let tries=0;let id=0;const poll=()=>{if(read()||tries++>120)return;id=requestAnimationFrame(poll);};poll();return()=>cancelAnimationFrame(id);},[isCanvas,source,linkSelector]);// ---- measure -----------------------------------------------------------\nuseEffect(()=>{const el=stageRef.current;if(!el)return;const apply=()=>setSize({w:el.clientWidth,h:el.clientHeight});apply();const ro=new ResizeObserver(apply);ro.observe(el);return()=>ro.disconnect();},[phone]);// ---- layout ------------------------------------------------------------\n// Grid the desk is laid out on: as many columns as keep the cells roughly square.\nconst grid=useCallback(()=>{const cw=size.w||1e3,ch=size.h||600;const cols=Math.max(1,Math.min(count||1,Math.round(Math.sqrt((count||1)*cw/ch))));const rows=Math.ceil((count||1)/cols);return{cols,rows,cellW:cw/cols,cellH:ch/rows};},[size.w,size.h,count]);const sizeFor=useCallback((i,aspect)=>{const{cellW,cellH}=grid();let w=Math.round(cardWidth+seeded(i,1)*sizeJitter);let h=Math.round(w/(aspect||1.4));// Keep each print inside its cell, with a little room to tilt, so ten\n// prints read as a desk rather than a pile.\nconst capH=Math.min(maxCardHeight,cellH*.92);const capW=cellW*.92;if(h>capH){h=capH;w=Math.round(h*(aspect||1.4));}if(w>capW){w=capW;h=Math.round(w/(aspect||1.4));}return{w:Math.round(w),h:Math.round(h)};},[grid,cardWidth,sizeJitter,maxCardHeight]);const targets=useCallback((neat,shuffle=false)=>{const cw=size.w,ch=size.h;const n=cards.current.length;if(!n||!cw||!ch)return;const{cols,cellW,cellH}=grid();cards.current.forEach((c,i)=>{const col=i%cols,row=Math.floor(i/cols);const cx=(col+.5)*cellW,cy=(row+.5)*cellH;const k=shuffle?Math.random()*7:0;const jx=neat?0:(seeded(i,2+k)-.5)*Math.max(0,cellW-c.w)*.9;const jy=neat?0:(seeded(i,3+k)-.5)*Math.max(0,cellH-c.h)*.8;c.tx=Math.max(0,Math.min(cw-c.w,cx-c.w/2+jx));c.ty=Math.max(0,Math.min(ch-c.h,cy-c.h/2+jy));c.tr=neat||reduced?0:(seeded(i,4+k)-.5)*2*tilt;c.settling=true;// Dealt out one after another rather than all at once.\nc.settleAt=performance.now()+(shuffle?i*45:0);c.vx=0;c.vy=0;});},[size.w,size.h,tilt,reduced,grid]);// Build the cards once the items and the stage are known.\nuseEffect(()=>{if(!count||!size.w||!size.h)return;if(cards.current.length!==count){cards.current=items.map((it,i)=>{const{w,h}=sizeFor(i,it.aspect);return{x:0,y:0,r:0,vx:0,vy:0,w,h,tx:0,ty:0,tr:0,settling:false,settleAt:0,z:i+1,hover:0,over:false,phase:seeded(i,9)*Math.PI*2,r0:0,gx:0,gy:0,sx:0,sy:0,dx:0,dy:0,dr:0};});topZ.current=count;targets(tidy);cards.current.forEach((c,i)=>{c.x=c.tx;c.y=c.ty;c.r=c.tr;c.r0=c.tr;c.settling=false;// Place on the first paint too, not only once the loop runs.\nconst el=cardEls.current[i];if(el)el.style.transform=`translate3d(${c.x}px, ${c.y}px, 0) rotate(${c.r}deg)`;});setReady(true);}else{cards.current.forEach((c,i)=>{const{w,h}=sizeFor(i,items[i].aspect);c.w=w;c.h=h;});targets(tidy);}// eslint-disable-next-line react-hooks/exhaustive-deps\n},[count,size.w,size.h]);useEffect(()=>{if(!ready)return;targets(tidy);},[tidy,ready,targets]);// ---- physics -----------------------------------------------------------\nuseEffect(()=>{if(isCanvas||phone||!ready)return;const stage=stageRef.current;if(!stage)return;let t=0;let last=performance.now();const tick=()=>{const nowT=performance.now();const dt=Math.min(1/30,Math.max(1/120,(nowT-last)/1e3));last=nowT;t+=dt;const cw=size.w,ch=size.h;const d=drag.current;const p=pointer.current;const now=performance.now();for(let i=0;i<cards.current.length;i++){const c=cards.current[i];const el=cardEls.current[i];if(!el)continue;const grabbed=d&&d.i===i;const holding=grabbed&&d.moved;if(grabbed&&!holding){// Pressed but not yet dragged: hold completely still.\n}else if(holding){// Spring towards where the pointer is holding the print, with the\n// cursor dot's own constants, so both arrive together.\nconst txh=d.px-c.gx,tyh=d.py-c.gy;const ax=(SPRING.k*(txh-c.x)-SPRING.d*c.sx)/SPRING.m;const ay=(SPRING.k*(tyh-c.y)-SPRING.d*c.sy)/SPRING.m;c.sx+=ax*dt;c.sy+=ay*dt;c.x+=c.sx*dt;c.y+=c.sy*dt;// Paper pivots as it's pulled: faster sideways, more twist, and a\n// print held by its edge twists more than one held by its middle.\nif(!reduced){const edge=(c.gx-c.w/2)/(c.w/2);const want=c.r0+Math.max(-16,Math.min(16,c.sx*.012+c.sy*.012*edge));c.r+=(want-c.r)*.12;}}else{if(c.settling&&now>=c.settleAt){c.x+=(c.tx-c.x)*.1;c.y+=(c.ty-c.y)*.1;c.r+=(c.tr-c.r)*.1;if(Math.abs(c.tx-c.x)<.3&&Math.abs(c.ty-c.y)<.3&&Math.abs(c.tr-c.r)<.1){c.x=c.tx;c.y=c.ty;c.r=c.tr;c.settling=false;}}else if(c.settling){// waiting its turn in the deal\n}else if(!reduced){c.x+=c.vx;c.y+=c.vy;c.vx*=DAMPING;c.vy*=DAMPING;if(Math.abs(c.vx)<.02)c.vx=0;if(Math.abs(c.vy)<.02)c.vy=0;}// Prints that land on each other slide apart, gently.\nif(!c.settling){for(let j=0;j<cards.current.length;j++){if(j===i)continue;const o=cards.current[j];const ox=(c.w+o.w)/2+10-Math.abs(o.x+o.w/2-(c.x+c.w/2));const oy=(c.h+o.h)/2+10-Math.abs(o.y+o.h/2-(c.y+c.h/2));if(ox<=0||oy<=0)continue;if(ox<6&&oy<6)continue;const away=o.x+o.w/2<c.x+c.w/2?1:-1;const awayY=o.y+o.h/2<c.y+c.h/2?1:-1;// Never push a print into a wall it's already against.\nconst canX=away>0?c.x<cw-c.w-.5:c.x>.5;const canY=awayY>0?c.y<ch-c.h-.5:c.y>.5;if(ox<oy&&canX)c.vx+=Math.min(ox,40)*.004*away;else if(canY)c.vy+=Math.min(oy,40)*.004*awayY;}}// Walls: a real throw bounces, a nudge just stops. Flipping a tiny\n// velocity every frame is what made trapped prints shiver.\nconst wall=v=>Math.abs(v)>.8?v*BOUNCE:0;if(c.x<0){c.x=0;if(c.vx<0)c.vx=wall(c.vx);}else if(c.x>cw-c.w){c.x=cw-c.w;if(c.vx>0)c.vx=wall(c.vx);}if(c.y<0){c.y=0;if(c.vy<0)c.vy=wall(c.vy);}else if(c.y>ch-c.h){c.y=ch-c.h;if(c.vy>0)c.vy=wall(c.vy);}}// At rest the prints breathe a little, like the old cloud; a hovered\n// or held print holds still.\nconst resting=!holding&&!c.settling&&Math.abs(c.vx)<.05&&Math.abs(c.vy)<.05;c.hover+=((c.over?1:0)-c.hover)*.15;// A hovered print freezes mid-sway rather than straightening up, so\n// the pointer never sees it change angle.\nif(resting&&!grabbed&&!c.over&&!reduced){c.dx=Math.sin(t*.45+c.phase)*7;c.dy=Math.cos(t*.37+c.phase*1.7)*5;c.dr=Math.sin(t*.3+c.phase)*.8;}else if(!resting||grabbed||reduced){c.dx=c.dy=c.dr=0;}const scale=holding?1.05:1+c.hover*.02;el.style.transform=`translate3d(${c.x+c.dx}px, ${c.y+c.dy}px, 0) rotate(${c.r+c.dr}deg) scale(${scale})`;// Cursor as the light: sheen and shadow follow the pointer.\nif(sheen&&!reduced&&p.inside){const dx=p.x-(c.x+c.w/2);const dy=p.y-(c.y+c.h/2);const dist=Math.hypot(dx,dy)||1;const k=Math.max(0,1-dist/700);el.style.setProperty(\"--lx\",`${50+dx/c.w*50}%`);el.style.setProperty(\"--ly\",`${50+dy/c.h*50}%`);el.style.setProperty(\"--lk\",`${(k*.22).toFixed(3)}`);el.style.setProperty(\"--sx\",`${-dx/dist*6}px`);el.style.setProperty(\"--sy\",`${-dy/dist*6+8}px`);}}raf.current=requestAnimationFrame(tick);};raf.current=requestAnimationFrame(tick);return()=>cancelAnimationFrame(raf.current);},[isCanvas,phone,ready,size.w,size.h,reduced,sheen]);// ---- pointer -----------------------------------------------------------\nconst onStageMove=e=>{const r=stageRef.current?.getBoundingClientRect();if(!r)return;pointer.current={x:e.clientX-r.left,y:e.clientY-r.top,inside:true};};const onStageLeave=()=>{pointer.current.inside=false;cardEls.current.forEach(el=>el?.style.setProperty(\"--lk\",\"0\"));};const onDown=i=>e=>{if(e.button!==0||phone)return;const c=cards.current[i];if(!c)return;try{e.currentTarget.setPointerCapture(e.pointerId);}catch{}// Absorb whatever sway the print had so it doesn't jump under the pointer.\n    c.x+=c.dx;c.y+=c.dy;c.r+=c.dr;c.dx=c.dy=c.dr=0;const r=stageRef.current?.getBoundingClientRect();const px=e.clientX-(r?.left||0),py=e.clientY-(r?.top||0);drag.current={i,sx:e.clientX,sy:e.clientY,ox:c.x,oy:c.y,or:c.r,moved:false,rotate:e.shiftKey,px,py};c.gx=px-c.x;c.gy=py-c.y;c.r0=c.r;c.sx=0;c.sy=0;c.z=++topZ.current;c.settling=false;c.vx=0;c.vy=0;e.currentTarget.style.zIndex=String(c.z);};const onMove=i=>e=>{const d=drag.current;if(!d||d.i!==i)return;const c=cards.current[i];const dx=e.clientX-d.sx,dy=e.clientY-d.sy;if(!d.moved&&Math.hypot(dx,dy)>DRAG_THRESHOLD){d.moved=true;setHeld(i);}if(!d.moved)return;if(d.rotate||e.shiftKey){// Shift-drag turns the print instead of moving it.\n    c.r=d.or+dx*.4;c.r0=c.r;return;}const r=stageRef.current?.getBoundingClientRect();d.px=e.clientX-(r?.left||0);d.py=e.clientY-(r?.top||0);};const onUp=i=>e=>{const d=drag.current;if(!d||d.i!==i)return;drag.current=null;setHeld(-1);const c=cards.current[i];if(!d.moved){show(i);return;}// The throw is whatever speed the spring had when the pointer let go.\n    // Heavier: more of the spring's speed carries into the slide, capped.\n    const cap=v=>Math.max(-48,Math.min(48,v));c.vx=reduced?0:cap(c.sx*DT*THROW*throwStrength);c.vy=reduced?0:cap(c.sy*DT*THROW*throwStrength);c.sx=0;c.sy=0;// It keeps the angle it was dropped at.\n    c.r0=c.r;c.tr=c.r;c.tx=Math.max(0,Math.min(size.w-c.w,c.x));c.ty=Math.max(0,Math.min(size.h-c.h,c.y));if(c.tx!==c.x||c.ty!==c.y){c.settling=true;c.settleAt=0;c.vx=0;c.vy=0;}e.currentTarget.style.zIndex=String(c.z);};// ---- open in place -----------------------------------------------------\nconst show=i=>{lastFocus.current=document.activeElement;setOpen(i);};const hide=useCallback(()=>{setOpen(-1);window.setTimeout(()=>lastFocus.current?.focus?.({preventScroll:true}),30);},[]);useEffect(()=>{if(open<0)return;const onKey=e=>{if(e.key===\"Escape\")hide();if(e.key===\"ArrowRight\")setOpen(o=>(o+1)%count);if(e.key===\"ArrowLeft\")setOpen(o=>(o-1+count)%count);};window.addEventListener(\"keydown\",onKey);const t=window.setTimeout(()=>{const btn=stageRef.current?.querySelector(`.${scope}__close`);btn?.focus({preventScroll:true});},40);return()=>{window.removeEventListener(\"keydown\",onKey);window.clearTimeout(t);};},[open,count,hide,scope]);const current=open>=0?items[open]:null;// The image strip scrolls by dragging too, with a little run-on after letting go.\nconst stripDrag=useRef(null);const stripRaf=useRef(0);const onStripDown=e=>{if(e.button!==0)return;cancelAnimationFrame(stripRaf.current);stripDrag.current={x:e.clientX,left:e.currentTarget.scrollLeft,vx:0,last:performance.now(),moved:false};e.currentTarget.setPointerCapture?.(e.pointerId);};const onStripMove=e=>{const d=stripDrag.current;if(!d)return;const dx=e.clientX-d.x;if(Math.abs(dx)>3)d.moved=true;const now=performance.now();const prev=e.currentTarget.scrollLeft;e.currentTarget.scrollLeft=d.left-dx;d.vx=(e.currentTarget.scrollLeft-prev)/Math.max(1,now-d.last)*16;d.last=now;};const onStripUp=e=>{const d=stripDrag.current;if(!d)return;stripDrag.current=null;const el=e.currentTarget;let v=d.vx;const run=()=>{if(Math.abs(v)<.3)return;el.scrollLeft+=v;v*=.94;stripRaf.current=requestAnimationFrame(run);};if(!reduced)run();};const askFor=it=>{const w=window;const text=`${askPrefix} ${it.title}: `;if(typeof w.gpAsk===\"function\")w.gpAsk(text);else window.dispatchEvent(new CustomEvent(\"gp-ask\",{detail:{text}}));};// Shuffle deals the prints out again: each glides to a new spot in turn.\nconst shuffle=()=>{if(tidy)setTidy(false);targets(false,true);};// ---- render ------------------------------------------------------------\nconst css=`\n        .${scope} { position: relative; width: 100%; font-family: ${FONT}; -webkit-font-smoothing: antialiased; isolation: isolate; z-index: 0; }\n        .${scope}__stage { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; border-radius: 8px; isolation: isolate; z-index: 0;\n            background: ${tray?\"#f6f6f4\":\"transparent\"}; box-shadow: ${tray?\"inset 0 18px 28px -20px rgba(0,0,0,.22), inset 0 -18px 28px -20px rgba(0,0,0,.18), inset 0 0 0 1px #e9e9e7\":\"none\"}; }\n        .${scope}__card { position: absolute; top: 0; left: 0; margin: 0; padding: 0; border: 0; background: #fff; border-radius: 4px; cursor: grab; overflow: hidden; will-change: transform; transform-origin: center center;\n            box-shadow: 0 1px 2px rgba(0,0,0,.06), var(--sx, 0px) var(--sy, 8px) 24px rgba(0,0,0,.10); transition: box-shadow .25s ease; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; touch-action: none; }\n        .${scope}__card:focus-visible { outline: 2px solid #000; outline-offset: 3px; }\n        .${scope}__card--held { cursor: grabbing; box-shadow: 0 2px 4px rgba(0,0,0,.08), var(--sx, 0px) calc(var(--sy, 8px) + 16px) 40px rgba(0,0,0,.22); }\n        .${scope}__card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }\n        .${scope}__sheen { position: absolute; inset: 0; pointer-events: none; border-radius: inherit;\n            background: radial-gradient(60% 60% at var(--lx, 50%) var(--ly, 50%), rgba(255,255,255,var(--lk, 0)), rgba(255,255,255,0) 70%); }\n        .${scope}__edge { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), inset 0 0 10px rgba(0,0,0,.08); pointer-events: none; }\n        .${scope}__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font: 500 12px/1.3 ${FONT}; color: #fff; text-align: left;\n            background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); opacity: 0; transition: opacity .25s ease; pointer-events: none; }\n        .${scope}__card:hover .${scope}__label, .${scope}__card:focus-visible .${scope}__label { opacity: 1; }\n        .${scope}__bar { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px; pointer-events: none; z-index: 5; }\n        .${scope}__hint { font: 400 11px/1 ${FONT}; letter-spacing: .08em; text-transform: uppercase; color: #999; white-space: nowrap; }\n        .${scope}__btn { pointer-events: auto; appearance: none; border: 0; background: #f2f2f2; color: #000; font: 500 13px/1 ${FONT}; padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: background .2s ease; }\n        .${scope}__btn:hover { background: #e6e6e6; }\n        .${scope}__btn:focus-visible { outline: 2px solid #000; outline-offset: 2px; }\n        .${scope}__btns { display: flex; gap: 8px; pointer-events: auto; }\n        .${scope}__open { position: fixed; inset: 0; z-index: 9; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 96px 24px 24px; background: rgba(255,255,255,.94); animation: ${scope}-in .25s ease both; }\n        @keyframes ${scope}-in { from { opacity: 0 } to { opacity: 1 } }\n        .${scope}__fig { position: relative; margin: 0; width: min(1100px, 100%); min-width: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: 18px; animation: ${scope}-up .45s ${EASE} both; }\n        @keyframes ${scope}-up { from { transform: translateY(14px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }\n        .${scope}__strip { display: flex; gap: 10px; width: 100%; min-width: 0; max-width: 100%; height: min(52vh, 460px); overflow-x: auto; overflow-y: hidden; padding: 6px 2px 14px; scrollbar-width: thin; cursor: grab; user-select: none; -webkit-user-select: none; }\n        .${scope}__strip:active { cursor: grabbing; }\n        .${scope}__strip img { height: 100%; width: auto; flex: 0 0 auto; border-radius: 4px; pointer-events: none; -webkit-user-drag: none; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.14); background: #f2f2f2; }\n        .${scope}__text { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }\n        .${scope}__title { margin: 0; font: 500 22px/1.2 ${FONT}; letter-spacing: -.01em; color: #000; }\n        .${scope}__stand { margin: 8px 0 0; max-width: 620px; font: 400 15px/1.5 ${FONT}; color: #000; }\n        .${scope}__desc { margin: 8px 0 0; max-width: 620px; font: 400 14px/1.55 ${FONT}; color: #666; }\n        .${scope}__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }\n        .${scope}__pill { appearance: none; border: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background: #000; color: #fff; font: 500 13px/1 ${FONT}; padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: background .2s ease; }\n        .${scope}__pill:hover { background: #2a2a2a; }\n        .${scope}__pill--quiet { background: #f2f2f2; color: #000; }\n        .${scope}__pill--quiet:hover { background: #e6e6e6; }\n        .${scope}__pill:focus-visible { outline: 2px solid #000; outline-offset: 2px; }\n        .${scope}__close { position: absolute; top: -4px; right: -4px; z-index: 2; appearance: none; border: 0; width: 36px; height: 36px; border-radius: 50%; background: #f2f2f2; cursor: pointer; display: grid; place-items: center; font: 400 18px/1 ${FONT}; }\n        .${scope}__close:hover { background: #e6e6e6; }\n        .${scope}__close:focus-visible { outline: 2px solid #000; outline-offset: 2px; }\n        .${scope}__count { font: 400 11px/1 ${FONT}; letter-spacing: .08em; text-transform: uppercase; color: #999; margin-left: 8px; }\n        .${scope}__row-m { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }\n        .${scope}__row-m::-webkit-scrollbar { display: none; }\n        .${scope}__card-m { flex: 0 0 72%; scroll-snap-align: center; appearance: none; border: 0; padding: 0; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.10); aspect-ratio: 4 / 3; }\n        .${scope}__card-m img { width: 100%; height: 100%; object-fit: cover; display: block; }\n        @media (max-width: 700px) {\n            .${scope}__strip { height: 42vh; }\n            .${scope}__open { padding: 14px; }\n        }\n        @media (prefers-reduced-motion: reduce) {\n            .${scope}__open, .${scope}__fig { animation: none; }\n        }\n    `;const openInner=current&&/*#__PURE__*/_jsx(\"div\",{className:`${scope}__open`,onClick:hide,role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":current.title,children:/*#__PURE__*/_jsxs(\"figure\",{className:`${scope}__fig`,onClick:e=>e.stopPropagation(),children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`${scope}__close`,onClick:hide,\"aria-label\":\"Close\",children:\"\\xd7\"}),/*#__PURE__*/_jsx(\"div\",{className:`${scope}__strip`,\"aria-label\":`${current.gallery.length} images`,onPointerDown:onStripDown,onPointerMove:onStripMove,onPointerUp:onStripUp,onPointerCancel:onStripUp,onDragStart:e=>e.preventDefault(),children:current.gallery.map((src,k)=>/*#__PURE__*/_jsx(\"img\",{src:src,alt:k===0?current.title:\"\",loading:k<3?\"eager\":\"lazy\",draggable:false},src))}),/*#__PURE__*/_jsxs(\"figcaption\",{className:`${scope}__text`,children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h3\",{className:`${scope}__title`,children:current.title}),current.standfirst&&/*#__PURE__*/_jsx(\"p\",{className:`${scope}__stand`,children:current.standfirst}),current.description&&/*#__PURE__*/_jsx(\"p\",{className:`${scope}__desc`,children:current.description})]}),/*#__PURE__*/_jsxs(\"div\",{className:`${scope}__row`,children:[askPill&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`${scope}__pill`,onClick:()=>askFor(current),children:\"Ask about this\"}),current.href&&/*#__PURE__*/_jsx(\"a\",{className:`${scope}__pill ${scope}__pill--quiet`,href:current.href,children:pageLabel}),/*#__PURE__*/_jsxs(\"span\",{className:`${scope}__count`,children:[open+1,\" / \",count,\" \\xb7 ← → to move, Esc to close\"]})]})]})]})});// Rendered on <body>, centred on the screen: inside the panel it would sit\n// wherever the desk happens to be scrolled, and the panel's clipping and\n// transforms would break fixed positioning.\nconst openView=openInner&&typeof document!==\"undefined\"?/*#__PURE__*/createPortal(openInner,document.body):null;if(phone&&!isCanvas){return /*#__PURE__*/_jsxs(\"div\",{className:scope,style:{...style,height:\"auto\",minHeight:0},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"div\",{className:`${scope}__row-m`,children:items.map((it,i)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`${scope}__card-m`,onClick:()=>show(i),\"aria-label\":it.title,children:/*#__PURE__*/_jsx(\"img\",{src:it.src,alt:it.title,loading:\"lazy\"})},i))}),/*#__PURE__*/_jsx(\"div\",{ref:stageRef,style:{position:\"absolute\",inset:0,pointerEvents:open>=0?\"auto\":\"none\"},children:openView})]});}return /*#__PURE__*/_jsxs(\"div\",{className:scope,style:{...style,height},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{ref:stageRef,className:`${scope}__stage`,onPointerMove:onStageMove,onPointerLeave:onStageLeave,role:\"group\",\"aria-label\":\"Extras: drag the prints about, or open one\",children:[items.map((it,i)=>{const c=cards.current[i];return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",ref:el=>{cardEls.current[i]=el;},className:`${scope}__card ${held===i?`${scope}__card--held`:\"\"}`,style:{width:c?c.w:sizeFor(i,it.aspect).w,height:c?c.h:sizeFor(i,it.aspect).h,zIndex:c?c.z:i+1,visibility:ready?\"visible\":\"hidden\"},onPointerDown:onDown(i),onPointerMove:onMove(i),onPointerUp:onUp(i),onPointerEnter:()=>{if(cards.current[i])cards.current[i].over=true;},onPointerLeave:()=>{if(cards.current[i])cards.current[i].over=false;},onPointerCancel:()=>{drag.current=null;setHeld(-1);},onDragStart:e=>e.preventDefault(),onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();show(i);}},\"aria-label\":`${it.title}. Press Enter to open`,children:[/*#__PURE__*/_jsx(\"img\",{src:it.src,srcSet:it.srcSet,alt:\"\",loading:i<6?\"eager\":\"lazy\",draggable:false,onLoad:e=>{// Size the print to the picture's real shape so nothing is cropped.\nconst im=e.currentTarget;const c=cards.current[i];const el=cardEls.current[i];if(!c||!el||!im.naturalWidth||!im.naturalHeight)return;const{w,h}=sizeFor(i,im.naturalWidth/im.naturalHeight);if(Math.abs(w-c.w)<2&&Math.abs(h-c.h)<2)return;c.w=w;c.h=h;el.style.width=w+\"px\";el.style.height=h+\"px\";}}),sheen&&/*#__PURE__*/_jsx(\"span\",{className:`${scope}__sheen`,\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{className:`${scope}__edge`,\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{className:`${scope}__label`,children:it.title})]},it.src+i);}),/*#__PURE__*/_jsxs(\"div\",{className:`${scope}__bar`,children:[/*#__PURE__*/_jsx(\"span\",{className:`${scope}__hint`,children:hint}),/*#__PURE__*/_jsxs(\"div\",{className:`${scope}__btns`,children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`${scope}__btn`,onClick:shuffle,children:\"Shuffle\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`${scope}__btn`,onClick:()=>setTidy(t=>!t),\"aria-pressed\":tidy,children:tidy?messLabel:tidyLabel})]})]}),openView]})]});}addPropertyControls(ExtrasDesk,{source:{type:ControlType.Enum,title:\"Source\",options:[\"cms\",\"manual\"],optionTitles:[\"CMS list\",\"JSON\"],defaultValue:\"cms\",displaySegmentedControl:true},linkSelector:{type:ControlType.String,title:\"Match\",defaultValue:'#gp-extras-panel a[href*=\"work/\"]',hidden:p=>p.source!==\"cms\"},itemsJson:{type:ControlType.String,title:\"Items JSON\",displayTextArea:true,defaultValue:\"\",hidden:p=>p.source!==\"manual\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:680,min:300,max:1400},cardWidth:{type:ControlType.Number,title:\"Card width\",defaultValue:300,min:120,max:700},sizeJitter:{type:ControlType.Number,title:\"Size jitter\",defaultValue:120,min:0,max:400},maxCardHeight:{type:ControlType.Number,title:\"Max height\",defaultValue:320,min:100,max:800},tilt:{type:ControlType.Number,title:\"Tilt\",defaultValue:7,min:0,max:30},throwStrength:{type:ControlType.Number,title:\"Throw\",defaultValue:1,min:0,max:2,step:.1},tidyDefault:{type:ControlType.Boolean,title:\"Start tidy\",defaultValue:false},sheen:{type:ControlType.Boolean,title:\"Cursor light\",defaultValue:true},tray:{type:ControlType.Boolean,title:\"Tray\",defaultValue:true},askPill:{type:ControlType.Boolean,title:\"Ask pill\",defaultValue:true},askPrefix:{type:ControlType.String,title:\"Ask prefix\",defaultValue:\"About\"},hint:{type:ControlType.String,title:\"Hint\",defaultValue:\"Drag them about. Click one to open it.\"},tidyLabel:{type:ControlType.String,title:\"Tidy label\",defaultValue:\"Tidy\"},messLabel:{type:ControlType.String,title:\"Mess label\",defaultValue:\"Mess\"},pageLabel:{type:ControlType.String,title:\"Page label\",defaultValue:\"Full page\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ExtrasDesk\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ExtrasDesk.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,startTransition,useEffect,useId,useState,useSyncExternalStore}from\"react\";// @ts-ignore Framer runtime provides this module in project execution.\nimport{RenderTarget}from\"framer\";// Homepage Extras: the header row opens and closes the Extras list. Closed by default.\n// Opening grows the panel and drops the tiles in one after another with a slight tilt\n// that settles flat. Links to #extras (the nav) open it too. Reduced motion skips the tilt.\nlet open=false;const listeners=new Set;const setOpen=next=>{if(open===next)return;open=next;listeners.forEach(listener=>listener());};const subscribe=listener=>{listeners.add(listener);return()=>listeners.delete(listener);};// Always open on the canvas so the list stays editable.\nconst useOpen=()=>{const isCanvas=RenderTarget.current()===RenderTarget.canvas;const value=useSyncExternalStore(subscribe,()=>open,()=>false);return isCanvas||value;};const PANEL_ID=\"gp-extras-panel\";const TILT=[-3,2.5,-1.5,3,-2.5,1.5,-2,2,-3.5,1];export function withExtrasToggle(Component){return /*#__PURE__*/forwardRef(function WithExtrasToggle(props,ref){const isOpen=useOpen();useEffect(()=>{if(typeof window===\"undefined\")return;if(window.location.hash===\"#extras\")setOpen(true);const onClick=event=>{const link=event.target?.closest?.(\"a\");if(link&&(link.getAttribute(\"href\")||\"\").endsWith(\"#extras\"))setOpen(true);};const onHash=()=>{if(window.location.hash===\"#extras\")setOpen(true);};document.addEventListener(\"click\",onClick,true);window.addEventListener(\"hashchange\",onHash);return()=>{document.removeEventListener(\"click\",onClick,true);window.removeEventListener(\"hashchange\",onHash);};},[]);const toggle=()=>startTransition(()=>setOpen(!open));return /*#__PURE__*/_jsx(Component,{ref:ref,...props,role:\"button\",tabIndex:0,\"aria-expanded\":isOpen,\"aria-controls\":PANEL_ID,\"data-cursor-label\":isOpen?\"Close\":\"Open\",onClick:toggle,onKeyDown:event=>{if(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();toggle();}},style:{...props.style,cursor:\"pointer\",outline:\"none\"}});});}// The \"+\" in the header, drawn as two bars: the vertical one folds away when\n// open, leaving a minus. Replaces the text glyph so the morph is smooth.\nexport function withExtrasIcon(Component){return /*#__PURE__*/forwardRef(function WithExtrasIcon(props,ref){const isOpen=useOpen();const bar={position:\"absolute\",left:\"50%\",top:\"50%\",background:\"currentColor\",borderRadius:1,transition:\"transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1)\"};return /*#__PURE__*/_jsxs(\"span\",{ref:ref,\"aria-hidden\":true,style:{position:\"relative\",display:\"inline-block\",width:22,height:22,flex:\"none\",color:\"#000\",transform:`rotate(${isOpen?180:0}deg)`,transition:\"transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...bar,width:22,height:1.5,transform:\"translate(-50%, -50%)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{...bar,width:1.5,height:22,transform:`translate(-50%, -50%) scaleY(${isOpen?0:1})`}})]});});}export function withExtrasPanel(Component){return /*#__PURE__*/forwardRef(function WithExtrasPanel(props,ref){const isOpen=useOpen();const scope=`gp-extras-${useId().replace(/[^a-zA-Z0-9_-]/g,\"\")}`;const[reduced,setReduced]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const query=window.matchMedia(\"(prefers-reduced-motion: reduce)\");startTransition(()=>setReduced(query.matches));},[]);const tiles=TILT.map((deg,i)=>`\n                .${scope}--open [data-framer-name=\"Extra tile\"]:nth-child(${TILT.length}n + ${i+1}) {\n                    transition-delay: ${(i*.06+.12).toFixed(2)}s;\n                }\n                .${scope} [data-framer-name=\"Extra tile\"]:nth-child(${TILT.length}n + ${i+1}) {\n                    --gp-tilt: ${reduced?0:deg}deg;\n                }`).join(\"\");return /*#__PURE__*/_jsxs(\"div\",{id:PANEL_ID,className:`${scope} ${isOpen?`${scope}--open`:\"\"}`,\"aria-hidden\":!isOpen,style:{display:\"grid\",gridTemplateRows:isOpen?\"1fr\":\"0fr\",transition:reduced?\"none\":\"grid-template-rows 0.7s cubic-bezier(0.2, 0.7, 0.2, 1)\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .${scope} > div { min-height: 0; overflow: hidden; overflow-x: visible; overflow-y: clip; }\n                    .${scope} [data-framer-name=\"Extra tile\"] {\n                        opacity: 0;\n                        transform: translateY(40px) rotate(var(--gp-tilt, 0deg));\n                        transition: opacity 0.5s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);\n                        transition-delay: 0s;\n                    }\n                    .${scope}--open [data-framer-name=\"Extra tile\"] {\n                        opacity: 1;\n                        transform: none;\n                    }\n                    .${scope}:not(.${scope}--open) [data-framer-name=\"Extra tile\"] { visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.3s; }\n                    ${tiles}\n                `}),/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,paddingTop:48,paddingBottom:8}})})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withExtrasPanel\":{\"type\":\"reactHoc\",\"name\":\"withExtrasPanel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withExtrasIcon\":{\"type\":\"reactHoc\",\"name\":\"withExtrasIcon\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withExtrasToggle\":{\"type\":\"reactHoc\",\"name\":\"withExtrasToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ExtrasToggle.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useId}from\"react\";// Index rows open in place. withIndexItem goes on the row (CMS item), withIndexHead\n// on its top line. Clicking the head opens a panel beneath it (summary, a strip of\n// the project's images, a link to the full page) and closes any other open row.\n// Layers are matched by their Framer names: \"Panel\" and \"arrow\".\nconst EASE=\"cubic-bezier(0.2, 0.7, 0.2, 1)\";export function withIndexItem(Component){return /*#__PURE__*/forwardRef(function WithIndexItem(props,ref){const scope=`gp-ix-${useId().replace(/[^a-zA-Z0-9_-]/g,\"\")}`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .${scope} > [data-framer-name=\"Panel\"] {\n                        max-height: 0;\n                        opacity: 0;\n                        /* Clip top and bottom for the open/close, but let the image\n                           strip run to the screen edges while it's dragged. */\n                        overflow: visible !important;\n                        clip-path: inset(0 -100vw);\n                        padding-top: 0 !important;\n                        padding-bottom: 0 !important;\n                        visibility: hidden;\n                        transition: max-height 0.7s ${EASE}, opacity 0.35s ease, visibility 0s 0.7s;\n                    }\n                    .${scope}[data-open] > [data-framer-name=\"Panel\"] {\n                        max-height: 1400px;\n                        opacity: 1;\n                        padding-top: 8px !important;\n                        padding-bottom: 40px !important;\n                        visibility: visible;\n                        transition: max-height 0.8s ${EASE}, opacity 0.5s ease 0.1s, visibility 0s;\n                    }\n                    @media (prefers-reduced-motion: reduce) {\n                        .${scope} > [data-framer-name=\"Panel\"] { transition: none; }\n                    }\n                `}),/*#__PURE__*/_jsx(Component,{ref:ref,...props,\"data-gp-item\":\"\",className:[props.className,scope].filter(Boolean).join(\" \")})]});});}export function withIndexHead(Component){return /*#__PURE__*/forwardRef(function WithIndexHead(props,ref){const toggle=head=>{const item=head.closest(\"[data-gp-item]\");if(!item)return;const opening=!item.hasAttribute(\"data-open\");document.querySelectorAll(\"[data-gp-item][data-open]\").forEach(other=>{if(other!==item){other.removeAttribute(\"data-open\");other.querySelector(\"[aria-expanded]\")?.setAttribute(\"aria-expanded\",\"false\");}});item.toggleAttribute(\"data-open\",opening);head.setAttribute(\"aria-expanded\",String(opening));};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,role:\"button\",tabIndex:0,\"aria-expanded\":\"false\",\"data-cursor-label\":\"Open\",onClick:event=>toggle(event.currentTarget),onKeyDown:event=>{if(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();toggle(event.currentTarget);}},style:{...props.style,cursor:\"pointer\"}});});}// withIndexIcon: a drawn plus on the row that folds into a minus while the row is\n// open (same as the Extras toggle). Replaces the text glyph it's applied to.\nexport function withIndexIcon(Component){return /*#__PURE__*/forwardRef(function WithIndexIcon(props,ref){const scope=`gp-ixi-${useId().replace(/[^a-zA-Z0-9_-]/g,\"\")}`;const bar=`position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 1px; transition: transform 0.5s ${EASE};`;return /*#__PURE__*/_jsxs(\"span\",{ref:ref,\"aria-hidden\":\"true\",className:scope,style:{...props.style,position:\"relative\",display:\"block\",width:24,height:24,color:\"#000\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .${scope} { transition: transform 0.5s ${EASE}; }\n                    .${scope} i { ${bar} }\n                    .${scope} .h { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }\n                    .${scope} .v { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }\n                    [data-gp-item][data-open] .${scope} { transform: rotate(180deg); }\n                    [data-gp-item][data-open] .${scope} .v { transform: translate(-50%, -50%) scaleY(0); }\n                    @media (prefers-reduced-motion: reduce) { .${scope}, .${scope} i { transition: none; } }\n                `}),/*#__PURE__*/_jsx(\"i\",{className:\"h\"}),/*#__PURE__*/_jsx(\"i\",{className:\"v\"})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withIndexIcon\":{\"type\":\"reactHoc\",\"name\":\"withIndexIcon\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withIndexHead\":{\"type\":\"reactHoc\",\"name\":\"withIndexHead\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withIndexItem\":{\"type\":\"reactHoc\",\"name\":\"withIndexItem\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IndexAccordion.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useId}from\"react\";// Homepage index: while one row is hovered, the other rows' text recedes so the\n// hovered project (and its cursor preview) holds focus. Row rules stay at full strength.\n// Pointer devices only; touch keeps the list as is.\nexport function withIndexFocus(Component){return /*#__PURE__*/forwardRef(function WithIndexFocus(props,ref){const scope=`gp-index-${useId().replace(/[^a-zA-Z0-9_-]/g,\"\")}`;const className=[props.className,scope].filter(Boolean).join(\" \");return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .${scope} a > * {\n                        transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);\n                    }\n                    @media (hover: hover) and (pointer: fine) {\n                        .${scope}:has(a:hover) a:not(:hover) > * {\n                            opacity: 0.28;\n                        }\n                    }\n                    @media (prefers-reduced-motion: reduce) {\n                        .${scope} a > * { transition: none; }\n                    }\n                `}),/*#__PURE__*/_jsx(Component,{ref:ref,...props,className:className})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withIndexFocus\":{\"type\":\"reactHoc\",\"name\":\"withIndexFocus\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IndexFocus.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,startTransition,useCallback,useEffect,useId,useMemo,useRef,useState}from\"react\";// @ts-ignore Framer runtime provides this module in project execution.\nimport{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{altFor}from\"https://framerusercontent.com/modules/bYmlh35QcbTa0yFpAncn/h1nseo2yrVYk4cjRIPbx/AltText.js\";// Drag strip for /new-home. Images keep their own aspect ratio (no crop) at the strip's height.\n// Drag has weight: 1:1 tracking, velocity-based momentum with exponential decay,\n// rubber-band resistance past either end and a spring back. Trackpad horizontal scroll and\n// arrow keys move it too. Reduced motion removes momentum.\n// The site-wide Cursor reads data-cursor-label / data-cursor-arrow off the strip\n// to show its \"Drag to view\" pill, so the strip renders no cursor of its own.\n// \"Media\" takes a list of image and video URLs (whitespace separated) and, when set, replaces\n// the image slots, so a strip can carry a project's whole set in order. Videos are muted,\n// looping, load once the strip is near the viewport and play only while it is on screen.\n// Without \"Media\", the optional single video sits first, followed by the image slots.\nexport function withNoCarouselControls(Component){return /*#__PURE__*/forwardRef(function WithNoCarouselControls(props,ref){return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}// Seconds for velocity to decay by 1/e. Higher feels heavier (coasts further).\nconst DECAY_TIME=.42;// Edge spring (per second units).\nconst SPRING_STIFFNESS=220;const SPRING_DAMPING=30;const MAX_VELOCITY=7e3;const ENTRANCE_OFFSET=240;const GAP=12;const RADIUS=8;// Framer-hosted images can be requested at a smaller size; the originals are often\n// several thousand pixels wide and several MB each.\nfunction isFramerImage(src){return/^https:\\/\\/framerusercontent\\.com\\/images\\//.test(src)&&!/\\.gif(\\?|$)/i.test(src);}function sized(src,px){if(!isFramerImage(src))return src;return`${src.split(\"?\")[0]}?scale-down-to=${px}`;}function rubberBand(distance,dimension){const c=.55;return(1-1/(distance*c/dimension+1))*dimension;}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function NewHomeImageStrip(props){const{image1=\"\",image2=\"\",image3=\"\",image4=\"\",image5=\"\",image6=\"\",image7=\"\",video=\"\",videoRatio=16/9,media=\"\",ariaLabel=\"Image strip\",style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const rootRef=useRef(null);const viewportRef=useRef(null);// Distance from this strip's edges to the window edges, so the strip can bleed\n// off-screen while the first image still lines up with the page margin.\nconst[bleed,setBleed]=useState({left:0,right:0});const trackRef=useRef(null);const[pressed,setPressed]=useState(false);const[rootHeight,setRootHeight]=useState(0);const[ratios,setRatios]=useState({});const[near,setNear]=useState(isCanvas);// Whether the strip is on screen. Videos get their src only once near, so the\n// first play() can run before they exist; onCanPlay uses this to start them.\nconst inView=useRef(false);const scopeClass=useId().replace(/[^a-zA-Z0-9_-]/g,\"\");const position=useRef(0);const velocity=useRef(0);const bounds=useRef({min:0,max:0});const frame=useRef(0);const lastTime=useRef(0);const reducedMotion=useRef(false);const entrancePending=useRef(false);const drag=useRef({pointerId:-1,startPointer:0,startPosition:0,samples:[]});const items=useMemo(()=>{const isVideo=src=>/\\.(mp4|webm|mov)(\\?|#|$)/i.test(src);const list=media.split(/\\s+/).map(src=>src.trim()).filter(Boolean);if(list.length){return list.map(src=>({src,srcSet:undefined,alt:\"\",kind:isVideo(src)?\"video\":\"image\"}));}const rawImages=[image1,image2,image3,image4,image5,image6,image7];const images=rawImages.map(item=>{if(typeof item===\"string\"){return{src:item,srcSet:undefined,alt:\"\"};}if(item&&typeof item===\"object\"){const maybe=item;return{src:maybe.src||maybe.url||maybe.image||\"\",srcSet:maybe.srcSet,alt:maybe.alt||\"\"};}return{src:\"\",srcSet:undefined,alt:\"\"};}).filter(image=>Boolean(image.src)).map(image=>({...image,kind:\"image\"}));return video?[{src:video,srcSet:undefined,alt:\"\",kind:\"video\"},...images]:images;},[media,video,image1,image2,image3,image4,image5,image6,image7]);const render=useCallback(()=>{const track=trackRef.current;if(track)track.style.transform=`translate3d(${position.current}px, 0, 0)`;},[]);const measure=useCallback(()=>{const viewport=viewportRef.current;const track=trackRef.current;if(!viewport||!track)return;bounds.current={min:Math.min(0,viewport.clientWidth-track.scrollWidth),max:0};},[]);const stop=useCallback(()=>{if(frame.current)cancelAnimationFrame(frame.current);frame.current=0;},[]);const step=useCallback(now=>{const dt=Math.min(.032,(now-lastTime.current)/1e3);lastTime.current=now;const{min,max}=bounds.current;let pos=position.current;let vel=velocity.current;if(pos>max||pos<min){const target=pos>max?max:min;const accel=-SPRING_STIFFNESS*(pos-target)-SPRING_DAMPING*vel;vel+=accel*dt;pos+=vel*dt;if(Math.abs(pos-target)<.5&&Math.abs(vel)<10){pos=target;vel=0;}}else{vel*=Math.exp(-dt/DECAY_TIME);pos+=vel*dt;if(Math.abs(vel)<8)vel=0;}position.current=pos;velocity.current=vel;render();const settled=vel===0&&pos<=max&&pos>=min;frame.current=settled?0:requestAnimationFrame(step);},[render]);const start=useCallback(()=>{stop();lastTime.current=performance.now();frame.current=requestAnimationFrame(step);},[step,stop]);// Glide by a distance using the same decay curve, so keys feel like a flick.\nconst glideBy=useCallback(distance=>{const{min,max}=bounds.current;const target=Math.max(min,Math.min(max,position.current+distance));velocity.current=(target-position.current)/DECAY_TIME;start();},[start]);useEffect(()=>{if(typeof window===\"undefined\")return;const query=window.matchMedia(\"(prefers-reduced-motion: reduce)\");reducedMotion.current=query.matches;const onChange=()=>reducedMotion.current=query.matches;query.addEventListener?.(\"change\",onChange);return()=>query.removeEventListener?.(\"change\",onChange);},[]);useEffect(()=>{const root=rootRef.current;if(!root||isCanvas||typeof window===\"undefined\")return;const update=()=>{const rect=root.getBoundingClientRect();const pageWidth=document.documentElement.clientWidth;const left=Math.max(0,Math.round(rect.left));const right=Math.max(0,Math.round(pageWidth-rect.right));startTransition(()=>setBleed(prev=>prev.left===left&&prev.right===right?prev:{left,right}));};update();const observer=new ResizeObserver(update);observer.observe(root);window.addEventListener(\"resize\",update);return()=>{observer.disconnect();window.removeEventListener(\"resize\",update);};},[isCanvas]);useEffect(()=>{const viewport=viewportRef.current;const track=trackRef.current;if(!viewport||!track||typeof window===\"undefined\")return;const update=()=>{startTransition(()=>setRootHeight(viewport.clientHeight||0));measure();if(entrancePending.current||frame.current)return;const{min,max}=bounds.current;position.current=Math.max(min,Math.min(max,position.current));render();};update();const observer=new ResizeObserver(update);observer.observe(viewport);observer.observe(track);return()=>observer.disconnect();},[measure,render]);// Trackpad horizontal scroll. Vertical wheel is left to the page.\nuseEffect(()=>{const viewport=viewportRef.current;if(!viewport||isCanvas)return;const onWheel=event=>{const horizontal=Math.abs(event.deltaX)>Math.abs(event.deltaY);const delta=horizontal?event.deltaX:event.shiftKey?event.deltaY:0;if(!delta)return;const{min,max}=bounds.current;const next=Math.max(min,Math.min(max,position.current-delta));if(next===position.current)return;event.preventDefault();stop();velocity.current=0;position.current=next;render();};viewport.addEventListener(\"wheel\",onWheel,{passive:false});return()=>viewport.removeEventListener(\"wheel\",onWheel);},[isCanvas,render,stop]);// Entrance: the first time the strip scrolls into view it glides in from the right\n// and settles on the edge spring, the same physics as letting go of a drag.\nuseEffect(()=>{const root=rootRef.current;if(!root||isCanvas||typeof IntersectionObserver===\"undefined\")return;if(reducedMotion.current)return;let done=false;entrancePending.current=true;position.current=ENTRANCE_OFFSET;render();const observer=new IntersectionObserver(entries=>{if(done||!entries.some(entry=>entry.isIntersecting))return;done=true;entrancePending.current=false;observer.disconnect();velocity.current=0;start();},{threshold:.15});observer.observe(root);return()=>{entrancePending.current=false;observer.disconnect();};},[isCanvas,render,start]);useEffect(()=>stop,[stop]);// Videos load once the strip is near the viewport and play only while it is on screen.\nuseEffect(()=>{const root=rootRef.current;if(!root||isCanvas||typeof IntersectionObserver===\"undefined\")return;const nearObserver=new IntersectionObserver(entries=>{if(!entries.some(entry=>entry.isIntersecting))return;startTransition(()=>setNear(true));nearObserver.disconnect();},{rootMargin:\"600px 0px\"});const playObserver=new IntersectionObserver(entries=>{const visible=entries.some(entry=>entry.isIntersecting);inView.current=visible;root.querySelectorAll(\"video\").forEach(element=>{if(visible&&!reducedMotion.current)element.play().catch(()=>{});else element.pause();});},{threshold:.2});nearObserver.observe(root);playObserver.observe(root);return()=>{nearObserver.disconnect();playObserver.disconnect();};},[isCanvas,items]);// The strip can come into view in the same moment its videos get their src,\n// before they can play, so start them once the src is in place.\nuseEffect(()=>{const root=rootRef.current;if(!near||isCanvas||!root)return;if(!inView.current||reducedMotion.current)return;root.querySelectorAll(\"video\").forEach(element=>{element.play().catch(()=>{});});},[near,isCanvas]);const onPointerDown=useCallback(event=>{if(event.pointerType===\"mouse\"&&event.button!==0)return;entrancePending.current=false;stop();measure();velocity.current=0;drag.current={pointerId:event.pointerId,startPointer:event.clientX,startPosition:position.current,samples:[{t:performance.now(),x:event.clientX}]};viewportRef.current?.setPointerCapture(event.pointerId);startTransition(()=>setPressed(true));},[measure,stop]);const onPointerMove=useCallback(event=>{const state=drag.current;if(state.pointerId!==event.pointerId)return;const width=viewportRef.current?.clientWidth||1;const{min,max}=bounds.current;let next=state.startPosition+(event.clientX-state.startPointer);if(next>max)next=max+rubberBand(next-max,width);if(next<min)next=min-rubberBand(min-next,width);position.current=next;render();const now=performance.now();state.samples.push({t:now,x:event.clientX});while(state.samples.length>2&&now-state.samples[0].t>100){state.samples.shift();}},[render]);const onPointerEnd=useCallback(event=>{const state=drag.current;if(state.pointerId!==event.pointerId)return;const viewport=viewportRef.current;if(viewport?.hasPointerCapture(event.pointerId)){viewport.releasePointerCapture(event.pointerId);}state.pointerId=-1;startTransition(()=>setPressed(false));const first=state.samples[0];const last=state.samples[state.samples.length-1];const elapsed=(last.t-first.t)/1e3;let vel=elapsed>0?(last.x-first.x)/elapsed:0;// A pause before release means no flick.\nif(performance.now()-last.t>80)vel=0;if(event.type===\"pointercancel\"||reducedMotion.current)vel=0;velocity.current=Math.max(-MAX_VELOCITY,Math.min(MAX_VELOCITY,vel));start();},[start]);const onKeyDown=useCallback(event=>{const viewport=viewportRef.current;if(!viewport)return;const distance=Math.max(viewport.clientWidth*.6,200);if(event.key===\"ArrowRight\"){event.preventDefault();glideBy(-distance);}else if(event.key===\"ArrowLeft\"){event.preventDefault();glideBy(distance);}},[glideBy]);const rootStyle={position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"visible\",boxSizing:\"border-box\",...style||{}};const viewportStyle={position:\"relative\",marginLeft:-bleed.left,width:`calc(100% + ${bleed.left+bleed.right}px)`,height:\"100%\",overflow:\"hidden\",touchAction:\"pan-y\",userSelect:\"none\",WebkitUserSelect:\"none\",cursor:pressed?\"grabbing\":\"grab\",outline:\"none\"};const trackStyle={display:\"flex\",alignItems:\"stretch\",gap:`${GAP}px`,width:\"max-content\",height:\"100%\",paddingLeft:bleed.left,paddingRight:bleed.right,boxSizing:\"content-box\",willChange:\"transform\"};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${scopeClass}:focus-visible {\n                    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.6);\n                    border-radius: ${RADIUS}px;\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{ref:viewportRef,className:scopeClass,role:\"region\",\"aria-roledescription\":\"carousel\",\"aria-label\":ariaLabel,tabIndex:0,onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:onPointerEnd,onPointerCancel:onPointerEnd,onKeyDown:onKeyDown,\"data-cursor-label\":\"Drag to view\",\"data-cursor-arrow\":\"None\",\"data-cursor-size\":\"small\",\"data-cursor-delay\":\"700\",style:viewportStyle,children:/*#__PURE__*/_jsx(\"div\",{ref:trackRef,style:trackStyle,children:items.map((item,index)=>{// Reserve a 3:2 tile until the real ratio is known, so lazy images\n// further along the strip have a box to be found by.\nconst fallback=item.kind===\"video\"?videoRatio||16/9:1.5;const ratio=ratios[item.src]||fallback;const width=rootHeight>0&&ratio?`${Math.max(1,Math.round(rootHeight*ratio))}px`:\"auto\";// Lock the ratio once known. Different srcset sizes of the same image\n// round to slightly different ratios; updating on each would change the\n// width by a pixel, pick another size, and shake forever.\nconst remember=next=>startTransition(()=>{setRatios(prev=>{const known=prev[item.src];if(known&&Math.abs(known-next)/known<.01)return prev;return{...prev,[item.src]:next};});});return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",flex:\"0 0 auto\",width,height:\"100%\",overflow:\"hidden\",borderRadius:RADIUS,background:item.kind===\"video\"?\"#F2F2F2\":undefined},children:item.kind===\"video\"?/*#__PURE__*/_jsx(\"video\",{src:near?item.src:undefined,muted:true,// A \"#t=3\" fragment starts the clip there and loops back to it,\n// so a film can skip a slow opening.\nloop:!/#t=/.test(item.src),onEnded:event=>{const match=/#t=([\\d.]+)/.exec(item.src);if(!match)return;const target=event.currentTarget;target.currentTime=Number(match[1])||0;target.play().catch(()=>{});},playsInline:true,autoPlay:isCanvas,onCanPlay:event=>{if(inView.current&&!reducedMotion.current){event.currentTarget.play().catch(()=>{});}},preload:near?\"auto\":\"none\",\"aria-label\":ariaLabel,onLoadedMetadata:event=>{const target=event.currentTarget;if(inView.current&&!reducedMotion.current)target.play().catch(()=>{});if(target.videoWidth&&target.videoHeight){remember(target.videoWidth/target.videoHeight);}},style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",display:\"block\",pointerEvents:\"none\"}}):/*#__PURE__*/_jsx(\"img\",{src:sized(item.src,2048),srcSet:item.srcSet||(isFramerImage(item.src)?`${sized(item.src,1024)} 1024w, ${sized(item.src,2048)} 2048w, ${sized(item.src,4096)} 4096w`:undefined),sizes:width===\"auto\"?undefined:width,alt:item.alt||altFor(item.src),draggable:false,decoding:\"async\",loading:index<4?\"eager\":\"lazy\",onDragStart:event=>event.preventDefault(),onLoad:event=>{const target=event.currentTarget;if(target.naturalWidth&&target.naturalHeight){remember(target.naturalWidth/target.naturalHeight);}},style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",display:\"block\",maxWidth:\"none\",pointerEvents:\"none\"}})},`${item.src||\"item\"}-${index}`);})})})]});}addPropertyControls(NewHomeImageStrip,{image1:{type:ControlType.Image,title:\"Image 1\"},image2:{type:ControlType.Image,title:\"Image 2\"},image3:{type:ControlType.Image,title:\"Image 3\"},image4:{type:ControlType.Image,title:\"Image 4\"},image5:{type:ControlType.Image,title:\"Image 5\"},image6:{type:ControlType.Image,title:\"Image 6\"},image7:{type:ControlType.Image,title:\"Image 7\"},video:{type:ControlType.File,title:\"Video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},videoRatio:{type:ControlType.Number,title:\"Video Ratio\",defaultValue:16/9,min:.3,max:3,step:.01,hidden:props=>!props.video},media:{type:ControlType.String,title:\"Media\",description:\"Image and video URLs, separated by spaces or new lines. Replaces the slots above.\",displayTextArea:true,defaultValue:\"\"},ariaLabel:{type:ControlType.String,title:\"Aria Label\",defaultValue:\"Image strip\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NewHomeImageStrip\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"withNoCarouselControls\":{\"type\":\"reactHoc\",\"name\":\"withNoCarouselControls\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{altFor}from\"https://framerusercontent.com/modules/bYmlh35QcbTa0yFpAncn/h1nseo2yrVYk4cjRIPbx/AltText.js\";import{startTransition,useCallback,useEffect,useId,useMemo,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ProjectImageTicker(props){const{image1=\"\",image2=\"\",image3=\"\",image4=\"\",image5=\"\",image6=\"\",image7=\"\",image8=\"\",image9=\"\",image10=\"\",image11=\"\",image12=\"\",image13=\"\",image14=\"\",image15=\"\",image16=\"\",image17=\"\",image18=\"\",duration=70,direction=\"rtl\",style}=props;const viewportRef=useRef(null);const trackRef=useRef(null);const groupRef=useRef(null);const[rootHeight,setRootHeight]=useState(0);const[ratios,setRatios]=useState({});const[grabbing,setGrabbing]=useState(false);const scopeClass=useId().replace(/[^a-zA-Z0-9_-]/g,\"\");const isCanvas=RenderTarget.current()===RenderTarget.canvas;const x=useRef(0);const velocity=useRef(0)// px/s, positive moves right\n;const groupWidth=useRef(0);const visible=useRef(false);const reduce=useRef(false);const drag=useRef({id:-1,lastX:0,lastT:0,v:0});useEffect(()=>{const viewport=viewportRef.current;if(!viewport||typeof window===\"undefined\")return;const update=()=>{startTransition(()=>setRootHeight(viewport.clientHeight||0));if(groupRef.current)groupWidth.current=groupRef.current.offsetWidth;};update();const observer=new ResizeObserver(update);observer.observe(viewport);if(groupRef.current)observer.observe(groupRef.current);return()=>observer.disconnect();},[]);const images=useMemo(()=>{const raw=[image1,image2,image3,image4,image5,image6,image7,image8,image9,image10,image11,image12,image13,image14,image15,image16,image17,image18];return raw.map(item=>{if(typeof item===\"string\")return{src:item,alt:\"\"};if(item&&typeof item===\"object\"){const maybe=item;return{src:maybe.src||maybe.url||\"\",alt:maybe.alt||\"\"};}return{src:\"\",alt:\"\"};}).filter(img=>Boolean(img.src));},[image1,image2,image3,image4,image5,image6,image7,image8,image9,image10,image11,image12,image13,image14,image15,image16,image17,image18]);const clampedDuration=Math.min(80,Math.max(60,duration));const driftSign=direction===\"ltr\"?1:-1;// Animation loop: drift at one group-width per `duration`, add drag/momentum on top.\nuseEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;reduce.current=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;const viewport=viewportRef.current;let frame=0;let last=performance.now();const io=new IntersectionObserver(entries=>{visible.current=entries.some(e=>e.isIntersecting);});if(viewport)io.observe(viewport);const tick=now=>{const dt=Math.min(.05,(now-last)/1e3);last=now;const w=groupWidth.current;if(w>0&&visible.current){const drift=reduce.current?0:driftSign*w/clampedDuration;if(drag.current.id===-1){// momentum relaxes back to the drift speed\nvelocity.current=drift+(velocity.current-drift)*Math.exp(-dt/.6);x.current+=velocity.current*dt;}x.current=(x.current%w-w)%w// keep within (-w, 0]\n;if(trackRef.current)trackRef.current.style.transform=`translate3d(${x.current}px, 0, 0)`;}frame=requestAnimationFrame(tick);};frame=requestAnimationFrame(tick);return()=>{cancelAnimationFrame(frame);io.disconnect();};},[isCanvas,driftSign,clampedDuration]);const onPointerDown=useCallback(e=>{if(e.pointerType===\"mouse\"&&e.button!==0)return;drag.current={id:e.pointerId,lastX:e.clientX,lastT:performance.now(),v:0};viewportRef.current?.setPointerCapture(e.pointerId);startTransition(()=>setGrabbing(true));},[]);const onPointerMove=useCallback(e=>{const d=drag.current;if(d.id!==e.pointerId)return;const now=performance.now();const dx=e.clientX-d.lastX;const dt=Math.max(1,now-d.lastT)/1e3;x.current+=dx;d.v=d.v*.6+dx/dt*.4;d.lastX=e.clientX;d.lastT=now;},[]);const onPointerEnd=useCallback(e=>{const d=drag.current;if(d.id!==e.pointerId)return;if(viewportRef.current?.hasPointerCapture(e.pointerId))viewportRef.current.releasePointerCapture(e.pointerId);const stale=performance.now()-d.lastT>80;velocity.current=stale||e.type===\"pointercancel\"?0:Math.max(-5e3,Math.min(5e3,d.v));drag.current={id:-1,lastX:0,lastT:0,v:0};startTransition(()=>setGrabbing(false));},[]);const rootStyle={position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"visible\",boxSizing:\"border-box\",...style||{}};const viewportStyle={position:\"relative\",left:\"50%\",transform:\"translateX(-50%)\",width:\"100vw\",height:\"100%\",overflow:\"hidden\",touchAction:\"pan-y\",userSelect:\"none\",WebkitUserSelect:\"none\",cursor:grabbing?\"grabbing\":\"grab\"};const trackStyle={display:\"flex\",width:\"max-content\",height:\"100%\",willChange:\"transform\"};const groupStyle={display:\"flex\",flex:\"none\",height:\"100%\",gap:\"12px\",paddingRight:\"12px\",width:\"max-content\",boxSizing:\"border-box\"};const renderImg=(image,index,copy)=>{const ratio=ratios[image.src];const width=rootHeight>0&&ratio?`${Math.max(1,rootHeight*ratio)}px`:\"auto\";return /*#__PURE__*/_jsx(\"img\",{src:image.src,alt:copy===\"a\"?image.alt||altFor(image.src):\"\",draggable:false,onDragStart:event=>event.preventDefault(),onLoad:copy===\"a\"?event=>{const target=event.currentTarget;if(!target.naturalWidth||!target.naturalHeight)return;const nextRatio=target.naturalWidth/target.naturalHeight;startTransition(()=>{setRatios(prev=>prev[image.src]===nextRatio?prev:{...prev,[image.src]:nextRatio});});}:undefined,style:{width,maxWidth:\"none\",height:\"100%\",objectFit:\"contain\",border:\"none\",borderRadius:8,flex:\"0 0 auto\",display:\"block\",pointerEvents:\"none\"}},`${copy}-${index}-${image.src}`);};return /*#__PURE__*/_jsx(\"div\",{role:\"img\",\"aria-label\":\"Project image montage\",style:rootStyle,children:/*#__PURE__*/_jsx(\"div\",{ref:viewportRef,className:scopeClass,style:viewportStyle,\"data-cursor-label\":\"Drag to view\",\"data-cursor-size\":\"small\",\"data-cursor-delay\":\"700\",\"data-cursor-arrow\":\"None\",onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:onPointerEnd,onPointerCancel:onPointerEnd,children:/*#__PURE__*/_jsxs(\"div\",{ref:trackRef,style:trackStyle,children:[/*#__PURE__*/_jsx(\"div\",{ref:groupRef,style:groupStyle,children:images.map((image,index)=>renderImg(image,index,\"a\"))}),/*#__PURE__*/_jsx(\"div\",{style:groupStyle,\"aria-hidden\":true,children:images.map((image,index)=>renderImg(image,index,\"b\"))})]})})});}addPropertyControls(ProjectImageTicker,{image1:{type:ControlType.Image,title:\"Image 1\"},image2:{type:ControlType.Image,title:\"Image 2\"},image3:{type:ControlType.Image,title:\"Image 3\"},image4:{type:ControlType.Image,title:\"Image 4\"},image5:{type:ControlType.Image,title:\"Image 5\"},image6:{type:ControlType.Image,title:\"Image 6\"},image7:{type:ControlType.Image,title:\"Image 7\"},image8:{type:ControlType.Image,title:\"Image 8\"},image9:{type:ControlType.Image,title:\"Image 9\"},image10:{type:ControlType.Image,title:\"Image 10\"},image11:{type:ControlType.Image,title:\"Image 11\"},image12:{type:ControlType.Image,title:\"Image 12\"},image13:{type:ControlType.Image,title:\"Image 13\"},image14:{type:ControlType.Image,title:\"Image 14\"},image15:{type:ControlType.Image,title:\"Image 15\"},image16:{type:ControlType.Image,title:\"Image 16\"},image17:{type:ControlType.Image,title:\"Image 17\"},image18:{type:ControlType.Image,title:\"Image 18\"},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:70,min:60,max:80,step:1,unit:\"s\"},direction:{type:ControlType.Enum,title:\"Direction\",defaultValue:\"rtl\",options:[\"rtl\",\"ltr\"],optionTitles:[\"Right to left\",\"Left to right\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectImageTicker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,yUAgB8C,SAASiD,EAAc,EAAK,CAA4D,IAAMC,IAArDC,GAAM,GAAA,CAAI,MAAM,GAAG,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,IAAI,GAAG,GAAA,CAAoB,QAAQ,KAAK,GAAG,CAAC,CAAC,KAAK,EAAE,OAAOD,EAAMA,EAAM,OAAO,CAAC,CAAC,CAAC,YAAY,EAAEA,EAAM,MAAM,CAAC,EAAE,EAAG,CAC7O,SAASE,EAAO,EAAE,EAAE,CAAC,IAAMC,EAAE,KAAK,IAAIC,EAAE,QAAQC,EAAE,MAAM,EAAE,WAAW,OAAOF,EAAE,KAAK,MAAMA,CAAC,CAAE,CAAC,SAAwBG,EAAW,EAAM,CAAC,GAAK,CAAC,SAAO,MAAM,eAAa,oCAAoC,YAAU,GAAG,SAAO,IAAI,YAAU,IAAI,aAAW,IAAI,gBAAc,IAAI,OAAK,EAAE,gBAAc,EAAE,eAAY,GAAM,QAAM,GAAK,UAAQ,GAAK,aAAU,QAAQ,QAAK,yCAAyC,YAAU,OAAO,YAAU,OAAO,YAAU,YAAY,QAAK,GAAK,SAAOC,EAAYC,EAASf,EAAa,QAAQ,IAAIA,EAAa,OAAagB,EAAM,WAAW3D,EAAM,CAAC,CAAC,QAAQ,kBAAkB,EAAE,IAAU4D,EAAS3D,EAAO,IAAI,EAAQ4D,E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