{"version":3,"file":"InfiniteImageTunnel.DsiDAwVU.mjs","names":["useMemo","useRef","useState","useCallback","__esmMin","le","init_ssg_sandbox_shims","pe","init_npm_react_18_3_1","_e","de","ne","p","c","init_jsx_runtime","ce","window","init_framer_DcxuU94H","addPropertyControls","useIsStaticRenderer","ControlType","clamp","v","min","max","resolveImage","value","withAlpha","color","a","alpha","parts","r","g","b","clean","full","ch","int","luminanceOf","surfaceTransform","surface","geo","offset","tileSize","isWall","spec","across","scale","along","DEPTH_SPAN_SCALE","width","height","gap","TunnelTile","style","placeholderColor","sizes","registerRef","image","TunnelFrame","w","h","t","thickness","sideHeight","bar","lineColor","extra","TunnelSurfaceLine","base","dir","shift","TunnelGrid","frames","frameCount","i","lines","l","registerFrame","StartButton","onStart","visible","compact","invert","label","InfiniteImageTunnel","props","isStatic","containerRef","sceneRef","tileRefs","frameRefs","size","setSize","started","setStarted","autoStart","paused","setPaused","rectRef","el","apply","rect","prev","ro","invalidate","isCompact","depth","tunnelDepth","effectivePerspective","perspective","ratio","layout","LAYOUT","MOBILE_KEEP_EVERY","imageList","images","emptyImage","tileZ","frameZ","baseTransforms","rafRef","lastTimeRef","rampRef","boostRef","holdRef","pointerRef","pointerTargetRef","lastTileStyle","lastFrameStyle","lastSceneTransform","startedRef","pausedRef","hoverRef","visibleRef","wakeRef","seedDepths","f","io","next","entries","was","mouseParallax","onMove","e","onLeave","release","onDown","opts","writeFrame","scene","last","z","fadeStart","fadeSpan","tileCache","zi","transform","opacity","fz","frameCache","NEAR","speedBase","animationSpeed","shouldSchedule","reducedMotion","stop","tick","time","dt","hoverPause","pauseOnHover","running","boostTarget","BOOST_MAX","BOOST_EASE","idle","factor","delta","wake","onVisibilityChange","handleStart","handleSceneClick","clickToToggle","gridColor","gridOpacity","gridThickness","isLightTheme","backgroundColor","vignetteColor","vignetteTransparent","tilePlaceholderColor","containerStyle","showGrid","imageTileScale","tileGap","showStartButton","startText","init_InfiniteImageTunnel","fields"],"sources":["https:/framerusercontent.com/modules/cVig2MojhKjPHxOU24h9/al6yucrFJM9FTwK1PmPJ/InfiniteImageTunnel.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useCallback,useEffect,useLayoutEffect,useMemo,useRef,useState}from\"react\";/* ========================== DEFAULT DATA ========================= *//**\n * A deliberately asymmetric, editorial composition.\n * Depths are normalised (0 = at the camera, 1 = far end) so the layout\n * scales with the Tunnel Depth property control.\n */const LAYOUT=[// ---------------------------- LEFT WALL ----------------------------\n{surface:\"left\",offset:-.34,cross:.3,span:.62,depth:.045,index:0},{surface:\"left\",offset:.36,cross:.22,span:.3,depth:.075,index:8},{surface:\"left\",offset:.06,cross:.4,span:.7,depth:.145,index:1},{surface:\"left\",offset:-.52,cross:.18,span:.42,depth:.205,index:9},{surface:\"left\",offset:.44,cross:.26,span:.52,depth:.255,index:2},{surface:\"left\",offset:-.18,cross:.34,span:.44,depth:.335,index:10},{surface:\"left\",offset:.2,cross:.3,span:.66,depth:.395,index:3},{surface:\"left\",offset:-.46,cross:.24,span:.36,depth:.475,index:4},{surface:\"left\",offset:.3,cross:.2,span:.3,depth:.535,index:11},{surface:\"left\",offset:-.1,cross:.36,span:.58,depth:.605,index:5},{surface:\"left\",offset:.48,cross:.22,span:.4,depth:.695,index:2},{surface:\"left\",offset:-.36,cross:.28,span:.5,depth:.775,index:6},{surface:\"left\",offset:.14,cross:.24,span:.34,depth:.865,index:6},{surface:\"left\",offset:-.28,cross:.3,span:.46,depth:.935,index:7},// --------------------------- RIGHT WALL ----------------------------\n{surface:\"right\",offset:.32,cross:.26,span:.44,depth:.03,index:4},{surface:\"right\",offset:-.24,cross:.36,span:.68,depth:.095,index:8},{surface:\"right\",offset:.5,cross:.18,span:.28,depth:.17,index:2},{surface:\"right\",offset:-.06,cross:.42,span:.56,depth:.23,index:9},{surface:\"right\",offset:.38,cross:.24,span:.38,depth:.31,index:10},{surface:\"right\",offset:-.44,cross:.22,span:.46,depth:.37,index:0},{surface:\"right\",offset:.1,cross:.34,span:.64,depth:.445,index:11},{surface:\"right\",offset:-.34,cross:.28,span:.34,depth:.52,index:3},{surface:\"right\",offset:.44,cross:.2,span:.42,depth:.585,index:1},{surface:\"right\",offset:-.14,cross:.32,span:.52,depth:.665,index:4},{surface:\"right\",offset:.26,cross:.24,span:.3,depth:.74,index:1},{surface:\"right\",offset:-.48,cross:.26,span:.48,depth:.82,index:6},{surface:\"right\",offset:.06,cross:.3,span:.4,depth:.9,index:5},// ----------------------------- CEILING -----------------------------\n{surface:\"ceiling\",offset:-.22,cross:.4,span:.7,depth:.115,index:2},{surface:\"ceiling\",offset:.34,cross:.28,span:.44,depth:.29,index:4},{surface:\"ceiling\",offset:-.06,cross:.46,span:.8,depth:.43,index:5},{surface:\"ceiling\",offset:.4,cross:.24,span:.36,depth:.61,index:6},{surface:\"ceiling\",offset:-.3,cross:.36,span:.6,depth:.78,index:9},{surface:\"ceiling\",offset:.18,cross:.3,span:.42,depth:.925,index:2},// ------------------------------ FLOOR ------------------------------\n{surface:\"floor\",offset:.3,cross:.26,span:.4,depth:.06,index:1},{surface:\"floor\",offset:-.34,cross:.3,span:.52,depth:.16,index:3},{surface:\"floor\",offset:.08,cross:.22,span:.3,depth:.245,index:5},{surface:\"floor\",offset:.42,cross:.24,span:.44,depth:.355,index:7},{surface:\"floor\",offset:-.2,cross:.34,span:.58,depth:.47,index:10},{surface:\"floor\",offset:.24,cross:.2,span:.28,depth:.56,index:3},{surface:\"floor\",offset:-.44,cross:.26,span:.46,depth:.68,index:0},{surface:\"floor\",offset:.12,cross:.3,span:.5,depth:.8,index:8},{surface:\"floor\",offset:-.16,cross:.24,span:.34,depth:.89,index:4},{surface:\"floor\",offset:.36,cross:.28,span:.42,depth:.96,index:11}];/** Mobile keeps every surface represented but thins the composition out. */const MOBILE_KEEP_EVERY=3;/**\n * Tiles read as thin slivers if their depth extent is only one bay — this\n * stretches them along the travel axis so they feel like real panels.\n */const DEPTH_SPAN_SCALE=2.2;/** How much faster the tunnel travels while the scene is long-pressed. */const BOOST_MAX=2.6;/** Ramp rate for the boost multiplier — lower is a slower, smoother build. */const BOOST_EASE=1.4;/* =========================== UTILITIES =========================== */function clamp(v,min,max){return v<min?min:v>max?max:v;}/** Framer's ResponsiveImage value or a plain URL string -> full image entry. */function resolveImage(value){if(!value)return{src:\"\",srcSet:\"\",alt:\"\"};if(typeof value===\"string\")return{src:value,srcSet:\"\",alt:\"\"};return{src:typeof value.src===\"string\"?value.src:\"\",// Carrying the srcSet through is what lets the browser download and\n// decode a panel-sized image instead of the full-resolution upload.\nsrcSet:typeof value.srcSet===\"string\"?value.srcSet:\"\",alt:typeof value.alt===\"string\"?value.alt:\"\"};}/**\n * Framer colour controls hand back hex, rgb(), rgba() or hsl() strings —\n * normalise any of them into a colour value carrying our own alpha.\n */function withAlpha(color,alpha){const c=(color||\"#FFFFFF\").trim();const a=clamp(alpha,0,1);if(c.startsWith(\"rgb\")){const parts=c.slice(c.indexOf(\"(\")+1,c.lastIndexOf(\")\")).split(/[,\\s/]+/).filter(Boolean).map(Number);const[r=255,g=255,b=255]=parts;const baseAlpha=parts.length>3&&!Number.isNaN(parts[3])?parts[3]:1;return`rgba(${r}, ${g}, ${b}, ${a*baseAlpha})`;}if(c.startsWith(\"hsl\")){const inner=c.slice(c.indexOf(\"(\")+1,c.lastIndexOf(\")\")).split(\"/\")[0];return`hsl(${inner.trim()} / ${a})`;}const clean=c.replace(\"#\",\"\");const full=clean.length===3?clean.split(\"\").map(ch=>ch+ch).join(\"\"):clean.slice(0,6);const int=parseInt(full,16);if(Number.isNaN(int))return`rgba(255, 255, 255, ${a})`;return`rgba(${int>>16&255}, ${int>>8&255}, ${int&255}, ${a})`;}/**\n * Perceived luminance (0 = black, 1 = white) of a colour string, used to\n * decide whether the theme reads as light or dark.\n */function luminanceOf(color){const c=(color||\"#000000\").trim();let r=0;let g=0;let b=0;if(c.startsWith(\"rgb\")){const parts=c.slice(c.indexOf(\"(\")+1,c.lastIndexOf(\")\")).split(/[,\\s/]+/).filter(Boolean).map(Number);[r=0,g=0,b=0]=parts;}else{const clean=c.replace(\"#\",\"\");const full=clean.length===3?clean.split(\"\").map(ch=>ch+ch).join(\"\"):clean.slice(0,6);const int=parseInt(full,16);if(!Number.isNaN(int)){r=int>>16&255;g=int>>8&255;b=int&255;}}return(.299*r+.587*g+.114*b)/255;}/** Base (depth-less) transform that glues an element to a tunnel plane. */function surfaceTransform(surface,geo,offset){switch(surface){case\"left\":return`translate3d(${-geo.halfWidth}px, ${offset*geo.halfHeight}px, 0px) rotateY(90deg)`;case\"right\":return`translate3d(${geo.halfWidth}px, ${offset*geo.halfHeight}px, 0px) rotateY(-90deg)`;case\"ceiling\":return`translate3d(${offset*geo.halfWidth}px, ${-geo.halfHeight}px, 0px) rotateX(-90deg)`;case\"floor\":default:return`translate3d(${offset*geo.halfWidth}px, ${geo.halfHeight}px, 0px) rotateX(90deg)`;}}/** Pixel footprint of a tile on its plane, in local (pre-rotation) space. */function tileSize(spec,geo,scale,gap){const isWall=spec.surface===\"left\"||spec.surface===\"right\";const acrossExtent=isWall?geo.halfHeight*2:geo.halfWidth*2;const across=acrossExtent*spec.cross*scale;const along=geo.bay*spec.span*scale*DEPTH_SPAN_SCALE;// Walls: local width runs along depth. Floor/ceiling: local height does.\nconst width=isWall?along:across;const height=isWall?across:along;return{width:Math.max(8,width-gap),height:Math.max(8,height-gap)};}function TunnelTile({spec,geo,scale,gap,image,placeholderColor,registerRef}){const{width,height}=tileSize(spec,geo,scale,gap);const style={position:\"absolute\",left:\"50%\",top:\"50%\",width,height,marginLeft:-width/2,marginTop:-height/2,transformStyle:\"preserve-3d\",overflow:\"hidden\",backgroundColor:placeholderColor};// Tiles near the camera are magnified by the perspective projection, so\n// ask for a slightly larger candidate than the layout width.\nconst sizes=`${Math.max(16,Math.round(width*1.6))}px`;return /*#__PURE__*/_jsx(\"div\",{ref:registerRef,style:style,children:image.src?/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet||undefined,sizes:image.srcSet?sizes:undefined,alt:image.alt,draggable:false,loading:\"lazy\",decoding:\"async\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\",borderRadius:0,pointerEvents:\"none\",userSelect:\"none\"}}):null});}/**\n * One wireframe ring. Drawn as four thin strips rather than a bordered\n * full-size box: visually identical to a border-box border, but the\n * compositor only ever rasterises the strips instead of a viewport-sized\n * texture per ring.\n */function TunnelFrame({geo,lineColor,thickness,registerRef}){const w=geo.halfWidth*2;const h=geo.halfHeight*2;const t=thickness;const sideHeight=Math.max(0,h-t*2);const bar=extra=>({position:\"absolute\",backgroundColor:lineColor,...extra});return /*#__PURE__*/_jsxs(\"div\",{ref:registerRef,style:{position:\"absolute\",left:\"50%\",top:\"50%\",width:w,height:h,marginLeft:-w/2,marginTop:-h/2,transformStyle:\"preserve-3d\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:bar({left:0,top:0,width:w,height:t})}),/*#__PURE__*/_jsx(\"div\",{style:bar({left:0,bottom:0,width:w,height:t})}),/*#__PURE__*/_jsx(\"div\",{style:bar({left:0,top:t,width:t,height:sideHeight})}),/*#__PURE__*/_jsx(\"div\",{style:bar({right:0,top:t,width:t,height:sideHeight})})]});}/** One longitudinal line running from the camera plane to the far end. */function TunnelSurfaceLine({surface,offset,geo,lineColor,thickness}){const isWall=surface===\"left\"||surface===\"right\";const width=isWall?geo.depth:thickness;const height=isWall?thickness:geo.depth;const base=surfaceTransform(surface,geo,offset);// After the plane rotation, local +x (walls) / +y (floor & ceiling) points\n// either into or out of the screen — flip the shift so every strip runs\n// away from the camera.\nconst dir=surface===\"left\"||surface===\"ceiling\"?1:-1;const shift=isWall?`translate3d(${dir*geo.depth/2}px, 0px, 0px)`:`translate3d(0px, ${dir*geo.depth/2}px, 0px)`;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"50%\",width,height,marginLeft:-width/2,marginTop:-height/2,backgroundColor:lineColor,transform:`${base} ${shift}`,transformStyle:\"preserve-3d\",pointerEvents:\"none\"}});}function TunnelGrid({geo,frameCount,lineColor,thickness,registerFrame}){const frames=useMemo(()=>Array.from({length:frameCount},(_,i)=>i),[frameCount]);const lines=useMemo(()=>[{surface:\"left\",offset:-1},{surface:\"left\",offset:-.34},{surface:\"left\",offset:.34},{surface:\"left\",offset:1},{surface:\"right\",offset:-1},{surface:\"right\",offset:-.34},{surface:\"right\",offset:.34},{surface:\"right\",offset:1},{surface:\"ceiling\",offset:-.5},{surface:\"ceiling\",offset:.5},{surface:\"floor\",offset:-.5},{surface:\"floor\",offset:.5}],[]);return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",inset:0,transformStyle:\"preserve-3d\"},children:[lines.map((l,i)=>/*#__PURE__*/_jsx(TunnelSurfaceLine,{surface:l.surface,offset:l.offset,geo:geo,lineColor:lineColor,thickness:thickness},`line-${i}`)),frames.map(i=>/*#__PURE__*/_jsx(TunnelFrame,{geo:geo,lineColor:lineColor,thickness:thickness,registerRef:registerFrame(i)},`frame-${i}`))]});}function StartButton({label,visible,onStart,compact,invert}){return /*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:onStart,\"aria-hidden\":!visible,tabIndex:visible?0:-1,style:{position:\"absolute\",left:\"50%\",top:compact?\"34%\":\"31%\",width:compact?168:220,height:compact?54:70,transform:`translate(-50%, -50%) scale(${visible?1:.92})`,opacity:visible?1:0,pointerEvents:visible?\"auto\":\"none\",transition:\"opacity 700ms cubic-bezier(0.22,1,0.36,1), transform 700ms cubic-bezier(0.22,1,0.36,1)\",borderRadius:999,border:invert?\"1px solid rgba(0,0,0,0.12)\":\"none\",outline:\"none\",background:invert?\"#000000\":\"#FFFFFF\",color:invert?\"#FFFFFF\":\"#000000\",fontFamily:'Inter, \"Helvetica Neue\", Helvetica, -apple-system, BlinkMacSystemFont, sans-serif',fontSize:compact?18:24,fontWeight:450,letterSpacing:\"-0.01em\",cursor:\"pointer\",padding:0,zIndex:10,WebkitTapHighlightColor:\"transparent\"},children:label});}/* ========================== MAIN COMPONENT ======================= *//**\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 700\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function InfiniteImageTunnel(props){const{images,startText,showStartButton,autoStart,animationSpeed,pauseOnHover,reducedMotion,clickToToggle,mouseParallax,perspective,tunnelDepth,backgroundColor,showGrid,gridColor,gridOpacity,gridThickness,tileGap,imageTileScale,style}=props;const isStatic=useIsStaticRenderer();const containerRef=useRef(null);const sceneRef=useRef(null);const tileRefs=useRef([]);const frameRefs=useRef([]);const[size,setSize]=useState({width:1200,height:700});const[started,setStarted]=useState(autoStart);const[paused,setPaused]=useState(false);/* ---------------------- measurement ---------------------- */// Cached container rect, invalidated on scroll/resize so pointer moves\n// don't force a layout flush against the whole 3D tree every event.\nconst rectRef=useRef(null);useLayoutEffect(()=>{const el=containerRef.current;if(!el||isStatic||typeof ResizeObserver===\"undefined\")return;const apply=()=>{const rect=el.getBoundingClientRect();rectRef.current=rect;if(rect.width>0&&rect.height>0){setSize(prev=>Math.abs(prev.width-rect.width)<1&&Math.abs(prev.height-rect.height)<1?prev:{width:rect.width,height:rect.height});}};apply();const ro=new ResizeObserver(apply);ro.observe(el);const invalidate=()=>{rectRef.current=null;};window.addEventListener(\"scroll\",invalidate,{passive:true});window.addEventListener(\"resize\",invalidate,{passive:true});return()=>{ro.disconnect();window.removeEventListener(\"scroll\",invalidate);window.removeEventListener(\"resize\",invalidate);};},[isStatic]);const isCompact=size.width<640;/* ------------------------ geometry ----------------------- */const depth=clamp(tunnelDepth,1e3,1e4);const frameCount=isCompact?14:20;const geo=useMemo(()=>({halfWidth:Math.max(120,size.width/2),halfHeight:Math.max(90,size.height/2),depth,bay:depth/frameCount}),[size.width,size.height,depth,frameCount]);const effectivePerspective=useMemo(()=>{const base=clamp(perspective,500,3e3);// Narrow viewports need a tighter perspective to keep the vanishing\n// point readable without crushing the walls.\nconst ratio=clamp(size.width/1400,.55,1);return Math.round(base*ratio);},[perspective,size.width]);/* ------------------------ tile data ---------------------- */const layout=useMemo(()=>isCompact?LAYOUT.filter((_,i)=>i%MOBILE_KEEP_EVERY!==1):LAYOUT,[isCompact]);const imageList=useMemo(()=>{return(images||[]).map(resolveImage).filter(e=>Boolean(e.src));},[images]);const emptyImage=useMemo(()=>({src:\"\",srcSet:\"\",alt:\"\"}),[]);/* --------------------- animated state -------------------- */// Depth values live in refs so frames never trigger React renders.\nconst tileZ=useRef(new Float64Array(0));const frameZ=useRef(new Float64Array(0));const baseTransforms=useRef([]);const rafRef=useRef(null);const lastTimeRef=useRef(0);const rampRef=useRef(autoStart?1:0);const boostRef=useRef(1);const holdRef=useRef(false);const pointerRef=useRef({x:0,y:0});const pointerTargetRef=useRef({x:0,y:0});// Last values actually written to the DOM, so identical styles are never\n// re-assigned (each assignment dirties a compositor layer).\nconst lastTileStyle=useRef([]);const lastFrameStyle=useRef([]);const lastSceneTransform=useRef({x:Number.NaN,y:Number.NaN});const startedRef=useRef(started);const pausedRef=useRef(paused);const hoverRef=useRef(false);const visibleRef=useRef(true);// Set by the animation effect; lets observers restart a torn-down loop.\nconst wakeRef=useRef(()=>{});startedRef.current=started;pausedRef.current=paused;/* Seed / reseed depths whenever the composition changes. */const seedDepths=useCallback(()=>{const t=new Float64Array(layout.length);for(let i=0;i<layout.length;i++)t[i]=layout[i].depth*depth;tileZ.current=t;const f=new Float64Array(frameCount);for(let i=0;i<frameCount;i++)f[i]=i/frameCount*depth;frameZ.current=f;lastTileStyle.current=[];lastFrameStyle.current=[];},[layout,depth,frameCount]);useEffect(()=>{seedDepths();},[seedDepths]);/* Cache the static part of every tile transform. */useEffect(()=>{baseTransforms.current=layout.map(spec=>{const base=surfaceTransform(spec.surface,geo,spec.offset);const spin=spec.rotate?` rotateZ(${spec.rotate}deg)`:\"\";return`${base}${spin}`;});lastTileStyle.current=[];},[layout,geo]);/* ----------------------- visibility ---------------------- */useEffect(()=>{const el=containerRef.current;if(!el||isStatic||typeof IntersectionObserver===\"undefined\")return;const io=new IntersectionObserver(entries=>{const next=entries.some(e=>e.isIntersecting);const was=visibleRef.current;visibleRef.current=next;// Coming back into view has to restart the loop, because\n// leaving the viewport tears it down completely.\nif(next&&!was)wakeRef.current();},{threshold:0});io.observe(el);return()=>io.disconnect();},[isStatic]);/* --------------------- pointer parallax ------------------ */useEffect(()=>{if(!mouseParallax||isStatic)return;const el=containerRef.current;if(!el)return;const onMove=e=>{let rect=rectRef.current;if(!rect){rect=el.getBoundingClientRect();rectRef.current=rect;}if(rect.width===0||rect.height===0)return;pointerTargetRef.current={x:clamp((e.clientX-rect.left)/rect.width-.5,-.5,.5),y:clamp((e.clientY-rect.top)/rect.height-.5,-.5,.5)};};const onLeave=()=>{pointerTargetRef.current={x:0,y:0};};el.addEventListener(\"pointermove\",onMove,{passive:true});el.addEventListener(\"pointerleave\",onLeave,{passive:true});return()=>{el.removeEventListener(\"pointermove\",onMove);el.removeEventListener(\"pointerleave\",onLeave);};},[mouseParallax,isStatic]);/* ---------------------- long-press boost ------------------ */useEffect(()=>{const el=containerRef.current;if(!el||isStatic)return;const release=()=>{holdRef.current=false;};const onDown=()=>{holdRef.current=true;};const opts={passive:true};el.addEventListener(\"pointerdown\",onDown,opts);el.addEventListener(\"pointerup\",release,opts);el.addEventListener(\"pointercancel\",release,opts);el.addEventListener(\"pointerleave\",release,opts);return()=>{el.removeEventListener(\"pointerdown\",onDown);el.removeEventListener(\"pointerup\",release);el.removeEventListener(\"pointercancel\",release);el.removeEventListener(\"pointerleave\",release);};},[isStatic]);/* ---------------------- animation loop ------------------- */const writeFrame=useCallback(()=>{const scene=sceneRef.current;if(scene&&mouseParallax){const p=pointerRef.current;const last=lastSceneTransform.current;// ±3.5° horizontal, ±2.5° vertical — cinematic, not gamey.\n// Skip the write once the easing has effectively settled.\nif(Number.isNaN(last.x)||Math.abs(p.x-last.x)>5e-4||Math.abs(p.y-last.y)>5e-4){scene.style.transform=`rotateY(${p.x*7}deg) rotateX(${-p.y*5}deg)`;last.x=p.x;last.y=p.y;}}const z=tileZ.current;const fadeStart=depth*.72;const fadeSpan=depth*.28;const tileCache=lastTileStyle.current;for(let i=0;i<z.length;i++){const el=tileRefs.current[i];if(!el)continue;const zi=z[i];const transform=`translate3d(0px, 0px, ${-zi}px) ${baseTransforms.current[i]||\"\"}`;const opacity=zi>fadeStart?String(clamp(1-(zi-fadeStart)/fadeSpan,0,1)):\"1\";const prev=tileCache[i];if(!prev){el.style.transform=transform;el.style.opacity=opacity;tileCache[i]={t:transform,o:opacity};continue;}if(prev.t!==transform){el.style.transform=transform;prev.t=transform;}if(prev.o!==opacity){el.style.opacity=opacity;prev.o=opacity;}}const fz=frameZ.current;const frameCache=lastFrameStyle.current;for(let i=0;i<fz.length;i++){const el=frameRefs.current[i];if(!el)continue;const zi=fz[i];const transform=`translate3d(0px, 0px, ${-zi}px)`;const opacity=zi>fadeStart?String(clamp(1-(zi-fadeStart)/fadeSpan,0,1)):\"1\";const prev=frameCache[i];if(!prev){el.style.transform=transform;el.style.opacity=opacity;frameCache[i]={t:transform,o:opacity};continue;}if(prev.t!==transform){el.style.transform=transform;prev.t=transform;}if(prev.o!==opacity){el.style.opacity=opacity;prev.o=opacity;}}},[depth,mouseParallax]);useEffect(()=>{if(isStatic){// Canvas / thumbnail render: paint one static frame, no RAF.\nwriteFrame();return;}const NEAR=-Math.max(200,geo.halfWidth*.4);const speedBase=320*clamp(animationSpeed,.1,5);/**\n         * Whether the loop is worth scheduling at all. Off-screen or in a\n         * hidden tab we draw nothing — this is what stops the component\n         * burning GPU for the whole lifetime of the page.\n         */const shouldSchedule=()=>{if(typeof document!==\"undefined\"&&document.hidden)return false;if(!visibleRef.current)return false;if(reducedMotion){// Keep ticking only until the ramp / boost / pointer easing\n// has settled, then idle completely.\nconst p=pointerRef.current;const t=pointerTargetRef.current;return rampRef.current>.001||Math.abs(boostRef.current-1)>.001||Math.abs(p.x-t.x)>.001||Math.abs(p.y-t.y)>.001;}return true;};const stop=()=>{if(rafRef.current!==null)cancelAnimationFrame(rafRef.current);rafRef.current=null;lastTimeRef.current=0;};const tick=time=>{const last=lastTimeRef.current||time;lastTimeRef.current=time;const dt=Math.min(.05,(time-last)/1e3);const hoverPause=pauseOnHover&&hoverRef.current;const running=startedRef.current&&!pausedRef.current&&!hoverPause&&!reducedMotion&&visibleRef.current;// Ease from the near-static idle drift into full travel.\nconst target=running?1:0;rampRef.current+=(target-rampRef.current)*Math.min(1,dt*2.4);// Ease the long-press speed boost in and back out smoothly.\nconst boostTarget=running&&holdRef.current?BOOST_MAX:1;boostRef.current+=(boostTarget-boostRef.current)*Math.min(1,dt*BOOST_EASE);const idle=reducedMotion?0:.035;const factor=idle+(1-idle)*rampRef.current;const delta=speedBase*factor*boostRef.current*dt;if(delta>0){const z=tileZ.current;for(let i=0;i<z.length;i++){let v=z[i]-delta;if(v<NEAR)v+=depth;z[i]=v;}const fz=frameZ.current;for(let i=0;i<fz.length;i++){let v=fz[i]-delta;if(v<NEAR)v+=depth;fz[i]=v;}}// Smoothed pointer easing.\nconst p=pointerRef.current;const t=pointerTargetRef.current;p.x+=(t.x-p.x)*Math.min(1,dt*3);p.y+=(t.y-p.y)*Math.min(1,dt*3);writeFrame();if(shouldSchedule()){rafRef.current=requestAnimationFrame(tick);}else{stop();}};const wake=()=>{if(rafRef.current!==null)return;if(!shouldSchedule())return;lastTimeRef.current=0;rafRef.current=requestAnimationFrame(tick);};wakeRef.current=wake;// Paint the current state once even if we're off-screen, so the\n// scene is correct the moment it scrolls into view.\nwriteFrame();wake();const onVisibilityChange=()=>{if(document.hidden)stop();else wake();};document.addEventListener(\"visibilitychange\",onVisibilityChange);return()=>{document.removeEventListener(\"visibilitychange\",onVisibilityChange);wakeRef.current=()=>{};stop();};},[isStatic,animationSpeed,depth,geo.halfWidth,pauseOnHover,reducedMotion,writeFrame]);/* --------------- external / prop-driven controls ---------- */useEffect(()=>{setStarted(autoStart);if(!autoStart)rampRef.current=0;},[autoStart]);const handleStart=useCallback(()=>{setStarted(true);setPaused(false);wakeRef.current();},[]);const handleSceneClick=useCallback(()=>{if(!clickToToggle||!startedRef.current)return;setPaused(p=>!p);wakeRef.current();},[clickToToggle]);/* ------------------------- styling ------------------------ */const lineColor=withAlpha(gridColor,gridOpacity);const thickness=clamp(gridThickness,.5,3);// Everything below adapts to the chosen background instead of assuming\n// a black scene, so a light/white theme doesn't show a stray dark disc\n// or a washed-out grid.\nconst isLightTheme=luminanceOf(backgroundColor)>.6;const vignetteColor=withAlpha(backgroundColor,.92);const vignetteTransparent=withAlpha(backgroundColor,0);const tilePlaceholderColor=isLightTheme?\"#EDEDED\":\"#050505\";const containerStyle={position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",backgroundColor:backgroundColor,perspective:`${effectivePerspective}px`,perspectiveOrigin:\"50% 50%\",touchAction:\"manipulation\",// Keeps the tunnel's paint and layout work from leaking into the\n// rest of the page.\ncontain:\"layout paint\",...style};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:containerStyle,onPointerEnter:()=>{hoverRef.current=true;},onPointerLeave:()=>{hoverRef.current=false;wakeRef.current();},onClick:handleSceneClick,children:[/*#__PURE__*/_jsxs(\"div\",{ref:sceneRef,style:{position:\"absolute\",inset:0,transformStyle:\"preserve-3d\",willChange:\"transform\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:\"50%\",top:\"50%\",width:geo.halfWidth*2,height:geo.halfHeight*2,marginLeft:-geo.halfWidth,marginTop:-geo.halfHeight,transform:`translate3d(0px, 0px, ${-depth}px)`,backgroundColor:backgroundColor,transformStyle:\"preserve-3d\"}}),showGrid?/*#__PURE__*/_jsx(TunnelGrid,{geo:geo,frameCount:frameCount,lineColor:lineColor,thickness:thickness,registerFrame:i=>el=>{frameRefs.current[i]=el;}}):null,/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,transformStyle:\"preserve-3d\"},children:layout.map((spec,i)=>/*#__PURE__*/_jsx(TunnelTile,{spec:spec,geo:geo,scale:clamp(imageTileScale,.5,2),gap:clamp(tileGap,0,100),image:imageList.length>0?imageList[spec.index%imageList.length]:emptyImage,placeholderColor:tilePlaceholderColor,registerRef:el=>{tileRefs.current[i]=el;}},`${spec.surface}-${i}`))})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,pointerEvents:\"none\",background:`radial-gradient(circle at 50% 50%, ${vignetteColor} 0%, ${vignetteTransparent} 20%)`}}),showStartButton?/*#__PURE__*/_jsx(StartButton,{label:startText,visible:!started,onStart:handleStart,compact:isCompact,invert:isLightTheme}):null]});}/* ====================== PROPERTY CONTROLS ======================== */addPropertyControls(InfiniteImageTunnel,{images:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.ResponsiveImage},defaultValue:[],maxCount:24},startText:{type:ControlType.String,title:\"Start Text\",defaultValue:\"Press to Start\",placeholder:\"Press to Start\",hidden:fields=>!fields.showStartButton},showStartButton:{type:ControlType.Boolean,title:\"Start Button\",defaultValue:true},autoStart:{type:ControlType.Boolean,title:\"Auto Start\",defaultValue:false},animationSpeed:{type:ControlType.Number,title:\"Animation Speed\",min:.1,max:5,step:.1,defaultValue:1,displayStepper:false},pauseOnHover:{type:ControlType.Boolean,title:\"Pause On Hover\",defaultValue:false},clickToToggle:{type:ControlType.Boolean,title:\"Click To Pause\",defaultValue:true},mouseParallax:{type:ControlType.Boolean,title:\"Mouse Parallax\",defaultValue:true},reducedMotion:{type:ControlType.Boolean,title:\"Reduced Motion\",defaultValue:false},perspective:{type:ControlType.Number,title:\"Perspective\",min:500,max:3e3,step:10,defaultValue:1800,unit:\"px\",displayStepper:false},tunnelDepth:{type:ControlType.Number,title:\"Tunnel Depth\",min:1e3,max:1e4,step:100,defaultValue:5e3,unit:\"px\",displayStepper:false},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},showGrid:{type:ControlType.Boolean,title:\"Show Grid\",defaultValue:true},gridColor:{type:ControlType.Color,title:\"Grid Color\",defaultValue:\"#FFFFFF\",hidden:fields=>!fields.showGrid},gridOpacity:{type:ControlType.Number,title:\"Grid Opacity\",min:0,max:1,step:.01,defaultValue:.25,displayStepper:false,hidden:fields=>!fields.showGrid},gridThickness:{type:ControlType.Number,title:\"Grid Width\",min:.5,max:3,step:.1,defaultValue:1,unit:\"px\",displayStepper:false,hidden:fields=>!fields.showGrid},tileGap:{type:ControlType.Number,title:\"Tile Gap\",min:0,max:100,step:1,defaultValue:12,unit:\"px\",displayStepper:false},imageTileScale:{type:ControlType.Number,title:\"Tile Scale\",min:.5,max:2,step:.05,defaultValue:1,displayStepper:false,description:\"Get more components from [Framerstacks](https://www.framerstacks.com/)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InfiniteImageTunnel\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicHeight\":\"700\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"1200\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InfiniteImageTunnel.map"],"mappings":"A,0OAWsS,SAASqB,EAAM,EAAE,EAAI,EAAI,CAAC,OAAOC,EAAEC,EAAIA,EAAID,EAAEE,EAAIA,EAAIF,CAAE,CAAiF,SAASG,GAAa,EAAM,CAAyG,OAApGC,EAAyC,OAAOA,GAAQ,SAAe,CAAC,IAAIA,EAAM,OAAO,GAAG,IAAI,EAAE,EAAQ,CAAC,IAAI,OAAOA,EAAM,KAAM,SAASA,EAAM,IAAI,GAEpmB,OAAO,OAAOA,EAAM,QAAS,SAASA,EAAM,OAAO,GAAG,IAAI,OAAOA,EAAM,KAAM,SAASA,EAAM,IAAI,EAAE,EAFyX,CAAC,IAAI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