{"version":3,"file":"WindowLight.CixXWESJ.mjs","names":["useRef","useState","__esmMin","init_ssg_sandbox_shims","window","_e","c","init_jsx_runtime","ce","init_npm_react_18_3_1","de","init_framer_D1IzEvwH","ControlType","useIsStaticRenderer","addPropertyControls","loadImage","img","resolve","reject","url","WindowLight","isStatic","ref","ready","setReady","fg","mode","canvas","light","wall","gl","cancelled","raf","cleanup","wallImg","lightImg","sh","s","type","src","prog","VERT","FRAG_FG","FRAG_WALL","buf","loc","tex","tx","unit","u","n","uRes","uT","uK","uIa","uRect","uStr","uE","reduce","visible","size","dpr","w","h","ia","draw","clockStart","still","now","speed","intensity","wc","wallCanvas","me","wr","loop","io","ro","style","LIGHT_FIELD","init_WindowLight","p"],"sources":["https:/framerusercontent.com/modules/UPuw5v3Ge5FWbUd0p5Pn/ACfiml8MEp2VemAUM3zD/WindowLight.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";// The wall canvas registers itself here so a foreground instance can find where the wall is on screen.\nlet wallCanvas=null;// Shared clock: starts (t = 40) the moment the wall first draws, so every instance moves together\n// and the first frame equals the static fallback image (rendered at t = 40).\nlet clockStart=0;const VERT=`attribute vec2 p; void main(){ gl_Position = vec4(p, 0.0, 1.0); }`;// Shared: noise, the gust envelope, and the moving light lookup for an image coordinate q.\nconst LIGHT_FIELD=`\nuniform sampler2D uLight;\nuniform float t; uniform float k; uniform float ia;\nuniform float e;   // 0 → 1 over the first moments: starts exactly as the photo, then eases into motion\n\nfloat hash(vec2 p){ return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453); }\n// Value noise with quintic easing (smooth slope across cells). It's only ever sampled at\n// smoothly moving coordinates; time never enters it directly, so motion has no hitches.\nfloat noise(vec2 p){ vec2 i = floor(p), f = fract(p); vec2 u = f*f*f*(f*(f*6.0-15.0)+10.0);\n  return mix(mix(hash(i), hash(i+vec2(1,0)), u.x), mix(hash(i+vec2(0,1)), hash(i+vec2(1,1)), u.x), u.y); }\n\n// All motion is built from slow sines with unrelated periods, so it never visibly repeats and is\n// smooth at every order. Rhythms sit near a calm breathing pace (about 6 per minute) and slower.\nfloat swell(){ // 0..1, a long, soft rise and fall (~30 s) in how much the leaves move\n  return 0.5 + 0.5 * sin(t * 0.52) * (0.7 + 0.3 * sin(t * 0.23 + 1.1));\n}\n\n// The light multiplier at image coordinate q (1 = no sun, >1 = sunlit, <1 = shade).\nfloat gBeam = 0.0;   // window-beam amount at the last lightAt() point (for the air glow)\n\nfloat lightAt(vec2 q){\n  float g = swell();\n  float near = smoothstep(1.1, 0.0, length(vec2(q.x * ia, q.y)) / 1.4);\n\n  // Branch sway: the whole pattern rocks gently about the window.\n  float sway = (sin(t * 0.62) * 0.0075 + sin(t * 0.39 + 1.3) * 0.005 + g * sin(t * 0.91 + 0.6) * 0.003) * e;\n  vec2 piv = vec2(-0.05, -0.08);\n  vec2 rel = q - piv;\n  float cs = cos(sway), sn = sin(sway);\n  vec2 lq = piv + vec2(cs * rel.x - sn * rel.y, sn * rel.x + cs * rel.y);\n\n  // Leaves move a touch on their own: a static noise field sampled along slow circular paths.\n  vec2 orbitA = vec2(sin(t * 0.71), cos(t * 0.59)) * 0.3;\n  vec2 orbitB = vec2(cos(t * 0.27 + 2.0), sin(t * 0.21)) * 0.55;\n  vec2 fl = vec2(noise(q * 6.0 + orbitA) - 0.5, noise(q * 6.0 + orbitA + 13.7) - 0.5);\n  vec2 dr = vec2(noise(q * 2.0 + orbitB) - 0.5, noise(q * 2.0 + orbitB + 7.3) - 0.5);\n  lq += (fl * (0.0005 + 0.0004 * g) + dr * (0.0034 + 0.002 * g)) * (0.35 + 0.65 * near) * e;\n  // The whole canopy drifts a little, back and forth, as branches move outside.\n  lq += vec2(sin(t * 0.29) * 0.0045 + sin(t * 0.17 + 2.1) * 0.0025, cos(t * 0.23 + 1.0) * 0.003) * e;\n\n  float l = texture2D(uLight, clamp(lq, 0.0, 1.0)).g * 14.0;\n\n  // Quieter leaf shadows near the window (left side): softer edges and shallower shade, so the\n  // dapple reads as texture of light rather than commotion.\n  vec2 pp = vec2(q.x * ia, q.y);\n  float soft = smoothstep(1.3, 0.0, length(pp));\n  float lb = 0.0;\n  for (int i = 0; i < 8; i++) {\n    float a = float(i) * 0.785398;\n    lb += texture2D(uLight, clamp(lq + vec2(cos(a) / ia, sin(a)) * 0.016, 0.0, 1.0)).g;\n  }\n  lb = lb / 8.0 * 14.0;\n  l = mix(l, lb, 0.45 * soft);\n  if (l < 1.0) l = mix(l, 1.0, 0.12 * soft);\n\n  // Gaps in the leaves open and close: sun patches slowly brighten and dim one by one.\n  vec2 orbitC = vec2(sin(t * 0.33 + 0.7), cos(t * 0.26)) * 0.6;\n  float gap = noise(q * vec2(4.5, 3.5) + orbitC) * 0.65 + noise(q * 9.0 - orbitC * 0.8 + 4.1) * 0.35;\n  l = 1.0 + (l - 1.0) * mix(1.0, 0.55 + 0.9 * smoothstep(0.25, 0.75, gap), e);\n\n  // Window beams: two broad, soft-edged shafts of sun through the glass, slanting down from the\n  // top left. Clean and calm; they sway with the light.\n  vec2 bd = vec2(0.77, 0.64), bp = vec2(-bd.y, bd.x);\n  vec2 rp = pp - vec2(-0.05, -0.25);\n  float bs = dot(rp, bp) + (sin(t * 0.27) * 0.022 + sin(t * 0.16 + 1.4) * 0.012) * e, bu = dot(rp, bd);\n  float bA = smoothstep(-0.25, -0.1, bs) * smoothstep(0.31, 0.16, bs);\n  float bB = smoothstep(0.34, 0.47, bs) * smoothstep(0.72, 0.58, bs);\n  float bFade = smoothstep(0.05, 0.45, bu) * exp(-max(bu - 0.6, 0.0) * 0.7);\n  gBeam = (bA + 0.75 * bB) * bFade;\n  // The window frame: one vertical mullion (a line along the beams) and one transom (across them)\n  // cast soft shadows, sharper near the window and softer further out. They block both the beams\n  // and the dappled sun that comes through the same glass.\n  float mw = 0.014 + 0.03 * clamp(bu, 0.0, 1.5);\n  float mull = 1.0 - smoothstep(mw * 0.4, mw * 1.6, abs(bs - 0.06));\n  float tw = 0.016 + 0.025 * clamp(bu, 0.0, 1.5);\n  float tran = (1.0 - smoothstep(tw * 0.4, tw * 1.6, abs(bu - 0.92))) * smoothstep(-0.3, -0.1, bs) * smoothstep(0.8, 0.6, bs);\n  float frame = mull * smoothstep(0.0, 0.35, bu) * smoothstep(1.9, 1.1, bu);\n  gBeam *= 1.0 - 0.75 * frame;\n  l = 1.0 + (l - 1.0) * (1.0 - 0.55 * frame * smoothstep(1.6, 0.4, length(pp)));\n\n  // Light that plays, in sunlit areas only: soft flecks glide slowly across the light (the\n  // pattern drifts at a steady speed, so it never pops), plus a faint wave along the shafts.\n  float sunlit = smoothstep(1.25, 4.0, l);\n  float f1 = noise(q * vec2(14.0, 11.0) + vec2(t * 0.16, -t * 0.11));\n  float f2 = noise(q * vec2(6.0, 8.0) - vec2(t * 0.08, t * 0.095));\n  float fleck = smoothstep(0.3, 0.8, f1 * 0.6 + f2 * 0.4);\n  float shimmer = sin(dot(q, vec2(4.2, 3.1)) * 6.0 - t * 1.1) * 0.5 + 0.5;\n  float play = 1.0;\n\n\n  // Breathing: a slow, shallow brightening and dimming of the sun (~10 s), like light thinning\n  // through high cloud.\n  return 1.0 + (l * play - 1.0) * k;\n}\n\n// Image coords for a point on the wall canvas (top-left origin), object-fit: cover, anchored left.\nvec2 coverUV(vec2 q, float asp){\n  if (asp > ia) { q.y = (q.y - 0.5) * (ia / asp) + 0.5; } else { q.x = q.x * (asp / ia); }\n  return q;\n}\n`;const FRAG_WALL=`\nprecision highp float;\nuniform sampler2D uWall;\nuniform vec2 res;\n${LIGHT_FIELD}\nvoid main(){\n  vec2 uv = gl_FragCoord.xy / res;\n  vec2 q = coverUV(vec2(uv.x, 1.0 - uv.y), res.x / res.y);\n  vec3 wall = texture2D(uWall, q).rgb;\n  // The moving light uses the green ratio for its shape; the photo's warm cast in the sun is kept.\n  vec3 lm = texture2D(uLight, q).rgb * 14.0;\n  vec3 tint = lm / max(lm.g, 1e-3);\n  float l = lightAt(q);\n  vec3 light = mix(vec3(1.0), tint, clamp((l - 1.0) / 2.0, 0.0, 1.0)) * l;\n  // Window beams light a smoothed wall (so they don't amplify plaster grain into speckle) and\n  // are warm, so they read as sun rather than green.\n  vec3 wallSoft = vec3(0.0);\n  for (int i = 0; i < 6; i++) {\n    float a = float(i) * 1.047198;\n    wallSoft += texture2D(uWall, q + vec2(cos(a) / ia, sin(a)) * 0.004).rgb;\n  }\n  wallSoft /= 6.0;\n  // Highlights roll off softly but keep the photo's own hue, so hot spots stay warm yellow-cream.\n  vec3 c = wall * light + vec3(1.0, 0.84, 0.52) * dot(wallSoft, vec3(0.3, 0.59, 0.11)) * gBeam * 0.5;\n  float m = max(c.r, max(c.g, c.b));\n  if (m > 0.93) c *= (0.93 + 0.07 * (1.0 - exp(-(m - 0.93) * 8.0))) / m;\n  // Golden haze: the sunlit areas bloom softly onto the wall around them, as low sun does.\n  float bloom = 0.0;\n  for (int i = 0; i < 8; i++) {\n    float a = float(i) * 0.785398;\n    vec2 o = vec2(cos(a), sin(a)) * vec2(0.03 / ia, 0.03);\n    bloom += max(texture2D(uLight, q + o).g * 14.0 - 1.4, 0.0) + max(texture2D(uLight, q + o * 2.2).g * 14.0 - 1.4, 0.0);\n  }\n  bloom /= 16.0;\n  // A whisper of warm haze around the sun patches, and light visible in the air along the beams.\n  c += vec3(1.0, 0.8, 0.48) * bloom * 0.012;\n  c += vec3(1.0, 0.84, 0.56) * gBeam * 0.03;\n  // The window frame casts soft shade across the very top-left, where the logo and nav sit, so\n  // they always read on deep green. Measured in screen pixels so it holds at any hero height.\n  // Expressed in image pixels (the 1679\\xd7937 photo), so a still render of the image matches exactly.\n  vec2 px = q * vec2(937.0 * ia, 937.0) * (920.0 / 937.0);\n  float frameShade = (1.0 - smoothstep(70.0, 190.0, px.y)) * (1.0 - smoothstep(380.0, 620.0, px.x));\n  frameShade = max(frameShade, (1.0 - smoothstep(40.0, 120.0, px.y)) * 0.7);\n  c = mix(c, vec3(0.055, 0.12, 0.08), frameShade * 0.82);\n  c = min(c, vec3(1.0));\n  gl_FragColor = vec4(c, 1.0);\n}`;const FRAG_FG=`\nprecision highp float;\nuniform vec2 res;\nuniform vec4 wallRect;   // wall canvas rect in this canvas's pixels (x, y from top-left, w, h)\nuniform float strength;\n${LIGHT_FIELD}\nvoid main(){\n  vec2 px = vec2(gl_FragCoord.x, res.y - gl_FragCoord.y);\n  vec2 wuv = (px - wallRect.xy) / wallRect.zw;\n  if (wuv.x < 0.0 || wuv.x > 1.0 || wuv.y < 0.0 || wuv.y > 1.0) { gl_FragColor = vec4(0.0); return; }\n  float l = lightAt(coverUV(wuv, wallRect.z / wallRect.w));\n  // Glass and UI in front of the wall: sun adds a warm sheen, shade darkens a little.\n  // Sun only: a warm sheen where a shaft crosses the object. (Darkening white UI in the shade reads\n  // as dirt, not shadow, so shade is left to the wall.)\n  float sun = max(smoothstep(1.3, 4.5, l), clamp(gBeam, 0.0, 1.0) * 0.85);\n  vec3 warm = vec3(1.0, 0.86, 0.56);\n  float a = sun * 0.24 * strength;\n  gl_FragColor = vec4(warm * sun * 0.62 * strength, a);   // premultiplied\n}`;function loadImage(url){return new Promise((resolve,reject)=>{const img=new Image;img.crossOrigin=\"anonymous\";img.onload=()=>resolve(img);img.onerror=reject;img.src=url;});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function WindowLight({mode=\"wall\",wall=\"\",light=\"\",intensity=1,speed=1,still=false,style}){const isStatic=useIsStaticRenderer();const ref=useRef(null);const[ready,setReady]=useState(false);const fg=mode===\"foreground\";useEffect(()=>{const canvas=ref.current;if(!canvas||isStatic||typeof window===\"undefined\"||!light||!fg&&!wall)return;const gl=canvas.getContext(\"webgl\",{antialias:false,premultipliedAlpha:true,alpha:true});if(!gl)return;if(!fg)wallCanvas=canvas;let cancelled=false;let raf=0;let cleanup=()=>{};Promise.all([fg?Promise.resolve(null):loadImage(wall),loadImage(light)]).then(([wallImg,lightImg])=>{if(cancelled)return;const sh=(type,src)=>{const s=gl.createShader(type);gl.shaderSource(s,src);gl.compileShader(s);return s;};const prog=gl.createProgram();gl.attachShader(prog,sh(gl.VERTEX_SHADER,VERT));gl.attachShader(prog,sh(gl.FRAGMENT_SHADER,fg?FRAG_FG:FRAG_WALL));gl.linkProgram(prog);if(!gl.getProgramParameter(prog,gl.LINK_STATUS))return;gl.useProgram(prog);const buf=gl.createBuffer();gl.bindBuffer(gl.ARRAY_BUFFER,buf);gl.bufferData(gl.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,1]),gl.STATIC_DRAW);const loc=gl.getAttribLocation(prog,\"p\");gl.enableVertexAttribArray(loc);gl.vertexAttribPointer(loc,2,gl.FLOAT,false,0,0);const tex=(img,unit)=>{const tx=gl.createTexture();gl.activeTexture(gl.TEXTURE0+unit);gl.bindTexture(gl.TEXTURE_2D,tx);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.LINEAR);gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.LINEAR);gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,gl.RGBA,gl.UNSIGNED_BYTE,img);};try{if(wallImg)tex(wallImg,0);tex(lightImg,1);}catch{return;// cross-origin image refused: leave the canvas transparent\n}const u=n=>gl.getUniformLocation(prog,n);if(!fg)gl.uniform1i(u(\"uWall\"),0);gl.uniform1i(u(\"uLight\"),1);const uRes=u(\"res\"),uT=u(\"t\"),uK=u(\"k\"),uIa=u(\"ia\"),uRect=u(\"wallRect\"),uStr=u(\"strength\"),uE=u(\"e\");if(fg){gl.enable(gl.BLEND);gl.blendFunc(gl.ONE,gl.ONE_MINUS_SRC_ALPHA);}const reduce=window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches;let visible=true;const size=()=>{const dpr=Math.min(fg?1.25:1.5,window.devicePixelRatio||1);const w=Math.max(1,Math.floor(canvas.clientWidth*dpr)),h=Math.max(1,Math.floor(canvas.clientHeight*dpr));if(canvas.width!==w||canvas.height!==h){canvas.width=w;canvas.height=h;gl.viewport(0,0,w,h);}};const ia=lightImg.naturalWidth/lightImg.naturalHeight;const draw=now=>{size();gl.uniform2f(uRes,canvas.width,canvas.height);// One clock for every instance on the page, so wall and foreground move together.\nif(!clockStart&&!fg&&!still)clockStart=now;gl.uniform1f(uT,still||!clockStart?40:(now-clockStart)/1e3*speed+40);gl.uniform1f(uK,intensity);gl.uniform1f(uIa,ia);gl.uniform1f(uE,1);if(fg){gl.clearColor(0,0,0,0);gl.clear(gl.COLOR_BUFFER_BIT);const wc=wallCanvas;if(!wc||!wc.isConnected)return;const me=canvas.getBoundingClientRect(),wr=wc.getBoundingClientRect();const s=canvas.width/Math.max(1,me.width);gl.uniform4f(uRect,(wr.left-me.left)*s,(wr.top-me.top)*s,wr.width*s,wr.height*s);gl.uniform1f(uStr,1);}gl.drawArrays(gl.TRIANGLE_STRIP,0,4);};const loop=now=>{if(visible)draw(now);raf=requestAnimationFrame(loop);};const io=new IntersectionObserver(([e])=>{visible=e.isIntersecting;});io.observe(canvas);const ro=new ResizeObserver(()=>draw(performance.now()));ro.observe(canvas);draw(performance.now());setReady(true);if(!reduce&&!still)raf=requestAnimationFrame(loop);cleanup=()=>{io.disconnect();ro.disconnect();};}).catch(()=>{});return()=>{cancelled=true;cancelAnimationFrame(raf);cleanup();if(!fg&&wallCanvas===canvas){wallCanvas=null;clockStart=0;}};},[isStatic,fg,wall,light,intensity,speed,still]);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",pointerEvents:\"none\",background:\"transparent\",...style},\"aria-hidden\":\"true\",children:!isStatic&&/*#__PURE__*/_jsx(\"canvas\",{ref:ref,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",display:\"block\",opacity:ready?1:0,transition:\"opacity 1.2s cubic-bezier(.4,0,.2,1)\"}})});}addPropertyControls(WindowLight,{mode:{type:ControlType.Enum,title:\"Mode\",options:[\"wall\",\"foreground\"],optionTitles:[\"Wall\",\"Light on object\"],defaultValue:\"wall\"},wall:{type:ControlType.String,title:\"Wall image URL\",defaultValue:\"\",hidden:p=>p.mode===\"foreground\"},light:{type:ControlType.String,title:\"Light map URL\",defaultValue:\"\"},intensity:{type:ControlType.Number,title:\"Intensity\",min:0,max:2,step:.05,defaultValue:1},speed:{type:ControlType.Number,title:\"Speed\",min:0,max:3,step:.1,defaultValue:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WindowLight\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WindowLight.map"],"mappings":"A,8MAwKG,SAASe,EAAU,EAAI,CAAC,OAAO,IAAI,SAAS,EAAQ,IAAS,CAAC,IAAMC,EAAI,IAAI,MAAM,EAAI,YAAY,YAAY,EAAI,WAAWC,EAAQD,CAAG,EAAE,EAAI,QAAQE,EAAO,EAAI,IAAIC,CAAI,CAAC,CAAE,CAG5K,SAAwBC,EAAY,CAAC,OAAK,OAAO,OAAK,GAAG,QAAM,GAAG,YAAU,EAAE,QAAM,EAAE,QAAM,GAAM,SAAO,CAAC,IAAMC,EAASR,EAAoB,EAAQS,EAAItB,EAAO,IAAI,EAAO,CAACuB,EAAMC,GAAUvB,EAAS,EAAK,EAAQwB,EAAGC,IAAO,aAEq3B,OAFx2BlB,MAAc,CAAC,IAAMmB,EAAOL,EAAI,QAAQ,GAAG,CAACK,GAAQN,GAAiBjB,IAAS,QAAa,CAACwB,GAAO,CAACH,GAAI,CAACI,EAA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