{"version":3,"file":"HeroStream.-2CH5odw.mjs","names":["useRef","__esmMin","window","init_ssg_sandbox_shims","p","c","init_jsx_runtime","ce","init_npm_react_18_3_1","de","init_framer_D1IzEvwH","useIsStaticRenderer","addPropertyControls","ControlType","HeroStream","props","rootRef","ref","engine","edge","isStatic","extras","section","SECTIONS","look","lookRef","liftRef","lift","root","canvas","io","es","engineMaker","measure","edgeOf","w","boot","ro","next","darkness","green","curve","flow","color","response","grain","style","bootScript","ENGINE","CARD","slider","init_HeroStream","boxHeight","canvasHeight","el"],"sources":["https:/framerusercontent.com/modules/QqUdjjdkMCzD36DJxSLL/XXN0HVZ7zTHI6pmkFknL/HeroStream.js"],"sourcesContent":["// The hero's living background: the colour runs like a stream under a soft arc, natural hues drift through it, and the pointer leaves a\n// delayed glow that floats downstream. Style locked 2026-11-04. Speed work still to do: 30 fps, a resolution cap, a fallback on slow devices.\n// Generated by build_hero.py from src/: edit there.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect,useRef}from\"react\";// The engine as text: it runs inline in the page, so the stream is there with the words, before the site's code has loaded.\nconst ENGINE='(()=>{const K=\"#F9F8F6\",j=\"#08B962\",J=\"#0A5C35\",Q=\"#16171D\",Z=\"#0E2A20\",B=o=>{const f=parseInt(o.slice(1),16);return[f>>16&255,f>>8&255,f&255]},R=(o,f,b)=>{const e=B(o),E=B(f);return\"#\"+e.map((n,l)=>Math.round(n+(E[l]-n)*b).toString(16).padStart(2,\"0\")).join(\"\")},ee=o=>B(o).map(f=>f/255),te=o=>Math.max(0,Math.min(1,o)),re=(o,f)=>{const b=R(j,\"#57E3A0\",f),e=R(b,J,te(o/.7));return[[K,0],[b,.3],[e,.56],[R(e,Z,o),.8],[R(e,Q,o*o),1]]},oe=\"vec3 m289(vec3 x){return x-floor(x*(1./289.))*289.;}vec2 m289(vec2 x){return x-floor(x*(1./289.))*289.;}vec3 perm(vec3 x){return m289(((x*34.)+1.)*x);}float sn(vec2 v){const vec4 C=vec4(.211324865405187,.366025403784439,-.577350269189626,.024390243902439);vec2 i=floor(v+dot(v,C.yy));vec2 x0=v-i+dot(i,C.xx);vec2 i1=(x0.x>x0.y)?vec2(1.,0.):vec2(0.,1.);vec4 x12=x0.xyxy+C.xxzz;x12.xy-=i1;i=m289(i);vec3 pp=perm(perm(i.y+vec3(0.,i1.y,1.))+i.x+vec3(0.,i1.x,1.));vec3 m=max(.5-vec3(dot(x0,x0),dot(x12.xy,x12.xy),dot(x12.zw,x12.zw)),0.);m=m*m;m=m*m;vec3 x=2.*fract(pp*C.www)-1.;vec3 h=abs(x)-.5;vec3 ox=floor(x+.5);vec3 a0=x-ox;m*=1.79284291400159-.85373472095314*(a0*a0+h*h);vec3 g;g.x=a0.x*x0.x+h.x*x0.y;g.yz=a0.yz*x12.xz+h.yz*x12.yw;return 130.*dot(m,g);}\",z=\"uniform float asp,base,rise,power,tilt,bot,wav,wavF,wavP,band;float topBank(float x){float sx=abs(x-.5-tilt*.5)*2.;return base+rise*pow(sx,power)+tilt*(x-.5)*.35+wav*sin(6.2831853*(x*wavF+wavP));}float across(vec2 q){float a=topBank(q.x);return (a-q.y)/max(mix(a-bot,band,step(.001,band)),.001);}\";const ae=\"attribute vec2 a_p;void main(){gl_Position=vec4(a_p,0.,1.);}\",ne=`precision highp float;uniform vec2 r;uniform float t,warp,grain,seed,amt,resp,depth,retS,retE,dk,botFade,sinkS,sinkE,fill,fillTop,fillBot,fillAmp,fillMin,fillCalm,shade,shadeY,leaf;uniform vec3 cols[6];uniform float stops[6];uniform sampler2D W;${z}${oe}const vec3 PAPER=vec3(.976,.973,.965),SUN=vec3(1.,.851,.471),LIGHT=vec3(.788,.984,.847),WARM=vec3(.92,1.,.36),COOL=vec3(.3,1.,.86);vec3 ramp(float x){vec3 c=cols[0];for(int i=1;i<6;i++){c=mix(c,cols[i],smoothstep(stops[i-1],stops[i],x));}return c;}vec3 fam(float v,vec3 a,vec3 b,vec3 c){vec3 o=mix(PAPER,a,smoothstep(0.,.3,v));o=mix(o,b,smoothstep(.3,.56,v));return mix(o,c*(1.-dk*.35),smoothstep(.56,1.,v));}void main(){vec2 uv=gl_FragCoord.xy/r;vec4 w=texture2D(W,uv);float al=uv.x*asp;float m1=sn(vec2(al*.8-t*.04,uv.y*.7+seed)),m2=sn(vec2(al*1.7-t*.06,uv.y*1.6+seed+4.1));vec2 q=vec2(uv.x,uv.y+warp*(m1*.72+m2*.28)-w.a*.018*resp);float u=across(q);float big=sn(vec2(al*.5-t*.026,u*1.2+seed+3.));float mid=sn(vec2(al*1.05-t*.05,u*3.2+big*.6+seed+w.a*.8*resp));float fine=sn(vec2(al*2.2-t*.085,u*8.5+mid*.9+seed*2.));float core=smoothstep(.02,.35,u)*(1.-smoothstep(.62,1.,u));float v=smoothstep(0.,depth,topBank(q.x)-q.y)*(1.-smoothstep(retS,retE,mix(base-q.y,topBank(q.x)-q.y,step(.001,band))));v*=mix(1.,smoothstep(0.,.05,uv.y),botFade);if(fill>.5){vec2 cc=(uv-vec2(.5,.52))*vec2(asp*.62,1.55);v=max(fillMin,mix(fillBot,fillTop,uv.y)+big*fillAmp+fillCalm*exp(-dot(cc,cc)*2.4));}float v0=v;v=clamp(v+(mid*.13+fine*.05)*core*smoothstep(.12,.5,v),0.,1.);vec3 col=ramp(v);float ta=smoothstep(.05,.55,big),la=smoothstep(.05,.55,.18*m1-big);col=mix(col,fam(v,vec3(.071,.722,.651),vec3(.039,.549,.525),vec3(.039,.373,.4)),ta*amt);col=mix(col,fam(v,vec3(.494,.839,.247),vec3(.243,.667,.235),vec3(.11,.478,.22)),la*amt*leaf);float fringe=smoothstep(0.,.1,v0)*(1.-smoothstep(.1,.4,v0));col=mix(col,SUN,fringe*amt*.34*(.6+.4*m2));float ridge=smoothstep(.2,.9,mid+fine*.35)*core*smoothstep(.2,.6,v0);col=mix(col,LIGHT,ridge*.2);vec3 L=(WARM*w.g+COOL*w.b)*2.2*resp*smoothstep(.02,.3,v0);col=1.-(1.-col)*(1.-clamp(L,0.,.7));vec2 sc=(uv-vec2(.5,shadeY))*vec2(asp*.62,1.55);col*=1.-shade*exp(-dot(sc,sc)*2.4)*smoothstep(.15,.55,v0);float lum=dot(col,vec3(.3,.59,.11));float g=fract(sin(dot(gl_FragCoord.xy,vec2(12.9898,78.233)))*43758.5453);float sink=1.-smoothstep(sinkS,sinkE,uv.y);col+=(g-.5)*grain*(1.-smoothstep(.55,.95,lum))*(1.-sink);gl_FragColor=vec4(mix(col,vec3(.08627,.09020,.11373),sink),1.);}`,ie=`precision highp float;uniform sampler2D P;uniform vec2 px,a,b;uniform float dt,flow,dep,rad,hue;${z}void main(){vec2 uv=gl_FragCoord.xy*px;vec2 e=vec2(.004,0.);vec2 g=vec2(across(uv+e.xy)-across(uv-e.xy),across(uv+e.yx)-across(uv-e.yx));vec2 dirn=vec2(-g.y,g.x/asp);dirn/=max(length(dirn),1e-5);float U=clamp(across(uv),0.,1.);vec2 vel=dirn*flow*(.25+.75*4.*U*(1.-U));vel.x/=asp;vec2 q=uv-vel*dt;vec4 c=texture2D(P,q);vec4 n=(texture2D(P,q+vec2(px.x,0.))+texture2D(P,q-vec2(px.x,0.))+texture2D(P,q+vec2(0.,px.y))+texture2D(P,q-vec2(0.,px.y)))*.25;c=mix(c,n,.16);vec2 A=vec2(a.x*asp,a.y),B=vec2(b.x*asp,b.y),X=vec2(uv.x*asp,uv.y),ab=B-A;float h=clamp(dot(X-A,ab)/max(dot(ab,ab),1e-6),0.,1.);vec2 D=X-A-ab*h;float s=exp(-dot(D,D)/(rad*rad))*dep;float rr=c.r*exp(-dt*3.)+s,rise_=1.-exp(-dt*2.6),fade=exp(-dt*.42);float gg=max(c.g*fade,c.g+(rr*hue-c.g)*rise_);float bb=max(c.b*fade,c.b+(rr*(1.-hue)-c.b)*rise_);float aa=c.a*exp(-dt*.7)+s*.8;gl_FragColor=max(vec4(rr,gg,bb,aa)-.0012,0.);}`;function se(o,f,b){const e=o.getContext(\"webgl\",{antialias:!1,alpha:!1,powerPreference:\"low-power\"});if(!e)return null;const E=r=>{const t=e.createProgram();for(const[a,c]of[[e.VERTEX_SHADER,ae],[e.FRAGMENT_SHADER,r]]){const s=e.createShader(a);e.shaderSource(s,c),e.compileShader(s),e.getShaderParameter(s,e.COMPILE_STATUS)||console.error(e.getShaderInfoLog(s)),e.attachShader(t,s)}return e.linkProgram(t),t},n=E(ne),l=E(ie);e.bindBuffer(e.ARRAY_BUFFER,e.createBuffer()),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),e.STATIC_DRAW);const P=r=>{e.useProgram(r);const t=e.getAttribLocation(r,\"a_p\");e.enableVertexAttribArray(t),e.vertexAttribPointer(t,2,e.FLOAT,!1,0,0)},y=new Map,i=(r,t)=>{const a=(r===n?\"m:\":\"w:\")+t;return y.has(a)||y.set(a,e.getUniformLocation(r,t)),y.get(a)},M=256,L=144,U=e.getExtension(\"OES_texture_half_float\"),Y=e.getExtension(\"OES_texture_half_float_linear\");e.getExtension(\"EXT_color_buffer_half_float\");const g=r=>{const t=e.createTexture();e.bindTexture(e.TEXTURE_2D,t),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,M,L,0,e.RGBA,r,null);const a=e.createFramebuffer();e.bindFramebuffer(e.FRAMEBUFFER,a),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0);const c=e.checkFramebufferStatus(e.FRAMEBUFFER)===e.FRAMEBUFFER_COMPLETE;return e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT),e.bindFramebuffer(e.FRAMEBUFFER,null),{tex:t,fb:a,ok:c}};let v=U&&Y?[g(U.HALF_FLOAT_OES),g(U.HALF_FLOAT_OES)]:null;(!v||!v[0].ok)&&(v=[g(e.UNSIGNED_BYTE),g(e.UNSIGNED_BYTE)]);let u=f,x=0,C=0,w=40,k=0,T=0,A=!1,F=0,d=!1;const _=[-1,-1],m=[-1,-1],p=[-1,-1],O=r=>[n,l].forEach(t=>{e.useProgram(t),r(t)}),I=()=>{var a;const r=u.topEdge/100,t={base:1-r,rise:r-.1,bot:.07,tilt:-.07,power:3-1.2*(u.curve/100),depth:.44,retS:.7-r,retE:.93-r,botFade:1,sinkS:-2,sinkE:-1,fill:0,fillTop:.5,fillBot:.85,fillAmp:.2,fillMin:0,fillCalm:0,shade:0,shadeY:.5,leaf:1,wav:0,wavF:1,wavP:0,band:0,...u.shape||{}};O(c=>{for(const s of[\"base\",\"rise\",\"bot\",\"tilt\",\"power\",\"wav\",\"wavF\",\"wavP\",\"band\"])e.uniform1f(i(c,s),t[s])}),e.useProgram(n);for(const c of[\"depth\",\"retS\",\"retE\",\"botFade\",\"sinkS\",\"sinkE\",\"fill\",\"fillTop\",\"fillBot\",\"fillAmp\",\"fillMin\",\"fillCalm\",\"shade\",\"shadeY\",\"leaf\"])e.uniform1f(i(n,c),t[c]);e.uniform1f(i(n,\"seed\"),(a=u.seed)!=null?a:5.1)},G=()=>{const r=u.darkness/100,t=re(r,u.green/100),a=new Float32Array(18),c=new Float32Array(6);for(let s=0;s<6;s++){const H=t[Math.min(s,t.length-1)];a.set(ee(H[0]),s*3),c[s]=s<t.length?H[1]:1+s*.001}e.useProgram(n),e.uniform3fv(i(n,\"cols\"),a),e.uniform1fv(i(n,\"stops\"),c),e.uniform1f(i(n,\"dk\"),r),e.uniform1f(i(n,\"amt\"),u.color/100),e.uniform1f(i(n,\"grain\"),u.grain/100*.16),x=u.flow/100,C=u.response/100,e.uniform1f(i(n,\"resp\"),C)},X=()=>{const r=Math.min(window.devicePixelRatio||1,1.5),t=Math.max(2,Math.round(o.clientWidth*r)),a=Math.max(2,Math.round(o.clientHeight*r));(o.width!==t||o.height!==a)&&(o.width=t,o.height=a),O(c=>e.uniform1f(i(c,\"asp\"),t/a)),e.useProgram(n),e.uniform2f(i(n,\"r\"),t,a)},S=r=>{if(e.useProgram(n),e.uniform1f(i(n,\"t\"),w),r>0&&v){const t=1-Math.exp(-r*5);p[0]=m[0],p[1]=m[1],A&&(m[0]+=(_[0]-m[0])*t,m[1]+=(_[1]-m[1])*t);const a=o.width/o.height,c=Math.hypot((m[0]-p[0])*a,m[1]-p[1]),s=c/Math.max(r,.001);P(l),e.bindFramebuffer(e.FRAMEBUFFER,v[1].fb),e.viewport(0,0,M,L),e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,v[0].tex),e.uniform1i(i(l,\"P\"),0),e.uniform2f(i(l,\"px\"),1/M,1/L),e.uniform1f(i(l,\"dt\"),r),e.uniform1f(i(l,\"flow\"),x>0?.05*(.4+1.8*x):0),e.uniform2f(i(l,\"a\"),p[0],p[1]),e.uniform2f(i(l,\"b\"),m[0],m[1]),e.uniform1f(i(l,\"dep\"),T?1.2:A?Math.min(1,s/.8)*r*16:0),e.uniform1f(i(l,\"rad\"),T?.16:.065+.04*Math.min(1,s/2)),e.uniform1f(i(l,\"hue\"),.5+.5*Math.sin(w*.5)),T=0,e.drawArrays(e.TRIANGLES,0,3),e.bindFramebuffer(e.FRAMEBUFFER,null),v.reverse()}P(n),e.viewport(0,0,o.width,o.height),e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,v[0].tex),e.uniform1i(i(n,\"W\"),0),e.drawArrays(e.TRIANGLES,0,3)};P(n),e.uniform1f(i(n,\"warp\"),.05),I(),G(),X(),w=40+performance.now()/1e3*(x>0?.4+1.8*x:0),S(0);const V=!b||window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches,$=r=>{const t=o.getBoundingClientRect();return[(r.clientX-t.left)/t.width,1-(r.clientY-t.top)/t.height]},D=r=>{const t=$(r);_[0]=t[0],_[1]=t[1],A||(m[0]=p[0]=t[0],m[1]=p[1]=t[1],A=!0)},N=r=>{D(r),T=1},W=r=>{if(!d)return;const t=r/1e3,a=Math.min(.05,Math.max(.001,t-k));k=t,w+=a*(x>0?.4+1.8*x:0),S(a),F=requestAnimationFrame(W)},q=new ResizeObserver(()=>{X(),S(0)});q.observe(o);let h=null;return V||(window.addEventListener(\"pointermove\",D,{passive:!0}),window.addEventListener(\"pointerdown\",N,{passive:!0}),h=new IntersectionObserver(r=>{const t=r[0].isIntersecting;t&&!d?(d=!0,k=performance.now()/1e3,F=requestAnimationFrame(W)):!t&&d&&(d=!1,cancelAnimationFrame(F))},{rootMargin:\"120px\"}),h.observe(o)),{set(r){u=r,I(),G(),d||S(0)},destroy(){var r;d=!1,cancelAnimationFrame(F),q.disconnect(),h==null||h.disconnect(),window.removeEventListener(\"pointermove\",D),window.removeEventListener(\"pointerdown\",N),(r=e.getExtension(\"WEBGL_lose_context\"))==null||r.loseContext()}}}window.__mfStreamCreate=se;})()';// Shapes for sections further down the page. The hero itself uses the engine's defaults, unchanged.\nconst CARD={base:1.02,rise:0,bot:0,tilt:0,power:1,botFade:0,fill:1};// fade: the top of the canvas fades in over this share of its height, so it blends into a lighter background. fadeIn: the stream eases in once it starts.\nconst SECTIONS={runIn:{seed:7.7,shape:{base:1,rise:0,bot:0,tilt:0,power:1,depth:.54,retS:2,retE:3,botFade:0,sinkS:0,sinkE:.3,shade:.4,shadeY:.54,leaf:.3}},// the same run into the footer for a tall block (a stacked form on tablet and phone): the light top stays short, so white type on top sits on green\nrunInTall:{seed:7.7,shape:{base:1,rise:0,bot:0,tilt:0,power:1,depth:.3,retS:2,retE:3,botFade:0,sinkS:0,sinkE:.3,shade:.4,shadeY:.54,leaf:.3}},cardHero:{seed:9.4,shape:{...CARD,fillTop:.68,fillBot:.84,fillAmp:.2,fillMin:.46,fillCalm:.1,shade:.36,shadeY:.5,leaf:.3}},cardBright:{seed:3.2,shape:{...CARD,fillTop:.33,fillBot:.44,fillAmp:.1,fillMin:.31,leaf:.4}},arcRunIn:{seed:5.1,shape:{base:.42,rise:.5,bot:0,tilt:-.07,power:2.16,depth:.44,retS:2,retE:3,botFade:0,sinkS:0,sinkE:.3}},// a gentle ribbon that waves across the full width behind a product picture (Enterprise header, approved 2026-11-13)\nwave:{seed:7.7,fade:15,fadeIn:true,shape:{base:.768,rise:0,bot:0,tilt:0,power:1,wav:.07,wavF:1,wavP:0,band:.26,depth:.18,retS:.04,retE:.24,botFade:0,sinkS:-2,sinkE:-1,leaf:.4}}};const edgeOf=(boxHeight,canvasHeight,lift)=>Math.max(30,Math.min(75,boxHeight/Math.max(1,canvasHeight)*100-lift));const bootScript=(look,lift)=>`${ENGINE};(function(){var s=document.currentScript,c=s.previousElementSibling,r=s.parentElement,v=${JSON.stringify(look)};v.topEdge=Math.max(30,Math.min(75,r.clientHeight/Math.max(1,c.clientHeight)*100-${lift}));window.__mfStreamBoot={canvas:c,engine:window.__mfStreamCreate(c,v,true),edge:v.topEdge}})()`;const engineMaker=()=>{const w=window;if(!w.__mfStreamCreate){const el=document.createElement(\"script\");el.textContent=ENGINE;document.head.appendChild(el);el.remove();}return w.__mfStreamCreate||null;};/**\n * @framerIntrinsicWidth 1440\n * @framerIntrinsicHeight 900\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function HeroStream(props){const{darkness=33,green=0,curve=70,flow=75,color=50,response=17,grain=35,lift=4.5,section=\"hero\",style}=props;const rootRef=useRef(null);const ref=useRef(null);const engine=useRef(null);const edge=useRef(60);const isStatic=useIsStaticRenderer();const extras=section===\"hero\"?null:SECTIONS[section];const look={darkness,green,curve,flow,color,response,grain};const lookRef=useRef(look);lookRef.current=look;const liftRef=useRef(lift);liftRef.current=lift;useEffect(()=>{const root=rootRef.current,canvas=ref.current;if(!root||!canvas)return;if(extras){// A section further down: no inline start, the stream wakes up as the section comes near.\nlet io=new IntersectionObserver(es=>{if(!es[0].isIntersecting||engine.current)return;engine.current=engineMaker()?.(canvas,{...lookRef.current,topEdge:60,...extras},!isStatic)??null;if(engine.current&&extras.fadeIn)canvas.style.opacity=\"1\";io?.disconnect();io=null;},{rootMargin:\"1000px\"});io.observe(root);return()=>{io?.disconnect();engine.current?.destroy();engine.current=null;};}// This box ends where the buttons end and the stream is one screen tall: their ratio places the arc just above the bottom of the buttons.\nconst measure=()=>edgeOf(root.clientHeight,canvas.clientHeight,liftRef.current);edge.current=measure();const w=window,boot=w.__mfStreamBoot;w.__mfStreamBoot=null;if(boot&&boot.engine&&boot.canvas===canvas){engine.current=boot.engine;engine.current?.set({...lookRef.current,topEdge:edge.current});}else{boot?.engine?.destroy();engine.current=engineMaker()?.(canvas,{...lookRef.current,topEdge:edge.current},!isStatic)??null;}const ro=new ResizeObserver(()=>{const next=measure();if(Math.abs(next-edge.current)<.05)return;edge.current=next;engine.current?.set({...lookRef.current,topEdge:next});});ro.observe(root);ro.observe(canvas);return()=>{ro.disconnect();engine.current?.destroy();engine.current=null;};},[isStatic,section]);useEffect(()=>{if(extras){engine.current?.set({...look,topEdge:60,...extras});return;}edge.current=ref.current&&rootRef.current?edgeOf(rootRef.current.clientHeight,ref.current.clientHeight,lift):edge.current;engine.current?.set({...look,topEdge:edge.current});},[darkness,green,curve,flow,color,response,grain,lift,section]);return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,\"aria-hidden\":\"true\",style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",pointerEvents:\"none\"},children:[extras?/*#__PURE__*/_jsx(\"canvas\",{ref:ref,style:{position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",...extras.fade?{WebkitMaskImage:`linear-gradient(transparent 0, #000 ${extras.fade}%)`,maskImage:`linear-gradient(transparent 0, #000 ${extras.fade}%)`}:null,...extras.fadeIn?{opacity:0,transition:\"opacity 1.1s cubic-bezier(.2,.7,.2,1)\"}:null}}):/*#__PURE__*/_jsx(\"canvas\",{ref:ref,style:{position:\"absolute\",left:0,top:0,display:\"block\",width:\"100%\",height:\"100vh\",minHeight:620,maxHeight:1100}}),isStatic||extras?null:/*#__PURE__*/_jsx(\"script\",{suppressHydrationWarning:true,dangerouslySetInnerHTML:{__html:bootScript(look,lift)}})]});}const slider=(title,defaultValue)=>({type:ControlType.Number,title,defaultValue,min:0,max:100,step:1});addPropertyControls(HeroStream,{darkness:slider(\"Darkness\",33),green:slider(\"Green\",0),curve:slider(\"Curve\",70),flow:slider(\"Flow\",75),color:slider(\"Color\",50),response:slider(\"Response\",17),grain:slider(\"Grain\",35),section:{type:ControlType.Enum,title:\"Section\",defaultValue:\"hero\",options:[\"hero\",\"runIn\",\"runInTall\",\"cardHero\",\"cardBright\",\"arcRunIn\",\"wave\"],optionTitles:[\"Hero\",\"Runs into footer\",\"Runs into footer, tall block\",\"Card, hero colours\",\"Card, bright\",\"Arc, runs into footer\",\"Wave behind the product\"]},lift:{type:ControlType.Number,title:\"Edge Lift\",defaultValue:4.5,min:-10,max:20,step:.5,unit:\"%\",hidden:p=>(p.section||\"hero\")!==\"hero\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroStream\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1440\",\"framerIntrinsicHeight\":\"900\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroStream.map"],"mappings":"A,8MAaG,SAAwBc,EAAW,EAAM,CAAC,GAAK,CAAC,WAAS,GAAG,QAAM,EAAE,QAAM,GAAG,OAAK,GAAG,QAAM,GAAG,WAAS,GAAG,QAAM,GAAG,OAAK,IAAI,UAAQ,OAAO,SAAOC,EAAYC,EAAQhB,EAAO,IAAI,EAAQiB,EAAIjB,EAAO,IAAI,EAAQkB,EAAOlB,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