{"version":3,"file":"RiveWebGL2.BFP6C7dU.mjs","names":["p","u","useMemo","useRef","useState"],"sources":["https:/framerusercontent.com/modules/h0SzadthTsZxZ9CwFKrZ/891ZiZM7GznChqDjb6Kh/RiveWebGL2.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useEffect,useState,useMemo}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */const RIVE_CDN=\"https://unpkg.com/@rive-app/webgl2@2.38.1/rive.js\";if(typeof document!==\"undefined\"){if(!document.querySelector(\"link[data-rive-script-preload]\")){const l=document.createElement(\"link\");l.rel=\"preload\";l.as=\"script\";l.href=RIVE_CDN;l.crossOrigin=\"anonymous\";l.fetchPriority=\"high\";l.setAttribute(\"data-rive-script-preload\",\"\");document.head.appendChild(l);}}function loadRiveScript(){if(typeof window===\"undefined\")return Promise.reject(new Error(\"No window\"));const w=window;if(w.__riveWebGL2)return Promise.resolve(w.__riveWebGL2);if(w.__riveWebGL2Loading)return w.__riveWebGL2Loading;w.__riveWebGL2Loading=new Promise((resolve,reject)=>{const script=document.createElement(\"script\");script.src=RIVE_CDN;script.async=true;script.crossOrigin=\"anonymous\";script.fetchPriority=\"high\";script.onload=()=>{const mod=w.rive;if(!mod){reject(new Error(\"rive global not found after script load\"));return;}w.__riveWebGL2=mod;resolve(mod);};script.onerror=e=>{w.__riveWebGL2Loading=null;reject(e);};document.head.appendChild(script);});return w.__riveWebGL2Loading;}function fetchRivBuffer(src,priority=\"high\"){if(typeof window===\"undefined\")return Promise.reject(new Error(\"No window\"));const w=window;w.__rivBufferCache=w.__rivBufferCache||new Map;const cache=w.__rivBufferCache;const cached=cache.get(src);// First request for a src wins the priority — subsequent layers sharing the\n// same file reuse the in-flight/cached buffer regardless of their hint.\nif(cached)return cached;const promise=fetch(src,{priority,credentials:\"omit\"}).then(r=>{if(!r.ok)throw new Error(`Failed to fetch riv (${r.status}) ${src}`);return r.arrayBuffer();}).catch(e=>{cache.delete(src);throw e;});cache.set(src,promise);return promise;}const FIT_MAP={contain:\"Contain\",cover:\"Cover\",fill:\"Fill\",fitWidth:\"FitWidth\",fitHeight:\"FitHeight\",none:\"None\",scaleDown:\"ScaleDown\",layout:\"Layout\"};const ALIGNMENT_MAP={center:\"Center\",topLeft:\"TopLeft\",topCenter:\"TopCenter\",topRight:\"TopRight\",centerLeft:\"CenterLeft\",centerRight:\"CenterRight\",bottomLeft:\"BottomLeft\",bottomCenter:\"BottomCenter\",bottomRight:\"BottomRight\"};// Map the Rive Fit/Alignment to CSS background equivalents so the placeholder\n// image frames the same way the loaded animation will — no jump on cross-fade.\n// (scaleDown ≈ contain, and layout fills the box, so both approximate.)\nconst PLACEHOLDER_SIZE={contain:\"contain\",cover:\"cover\",fill:\"100% 100%\",fitWidth:\"100% auto\",fitHeight:\"auto 100%\",none:\"auto\",scaleDown:\"contain\",layout:\"cover\"};const PLACEHOLDER_POS={center:\"center\",topLeft:\"left top\",topCenter:\"center top\",topRight:\"right top\",centerLeft:\"left center\",centerRight:\"right center\",bottomLeft:\"left bottom\",bottomCenter:\"center bottom\",bottomRight:\"right bottom\"};// Build a Rive Layout from the props. For Fit.Layout the artboard runs Rive's\n// responsive layout engine (alignment is ignored) and layoutScaleFactor scales\n// the layout density — 1 = match the canvas, >1 zooms in. For all other fits it\n// behaves as a normal scale/crop and layoutScaleFactor is unused.\nfunction buildLayout(mod,fit,alignment,layoutScaleFactor){const fitEnum=mod.Fit[FIT_MAP[fit]]??mod.Fit.Contain;const alignEnum=mod.Alignment[ALIGNMENT_MAP[alignment]]??mod.Alignment.Center;return new mod.Layout({fit:fitEnum,alignment:alignEnum,layoutScaleFactor:fit===\"layout\"?layoutScaleFactor:undefined});}// Write a single user-defined binding onto a bound ViewModel instance. Rive VM\n// properties are typed, so the row's `type` decides which accessor to use. A\n// missing property name (or one that doesn't exist on the VM) is skipped rather\n// than throwing, so a half-filled row in the panel never breaks the render.\nfunction applyBinding(vmi,b){if(!vmi||!b||!b.name)return;try{if(b.type===\"number\"){const p=vmi.number?.(b.name);if(p)p.value=Number(b.numberValue)||0;}else if(b.type===\"boolean\"){const p=vmi.boolean?.(b.name);if(p)p.value=!!b.booleanValue;}else if(b.type===\"string\"){const p=vmi.string?.(b.name);if(p)p.value=String(b.stringValue??\"\");}}catch(e){console.error(\"applyBinding failed for\",b?.name,e);}}function clamp255(v){return v<0?0:v>255?255:v;}// Generate a tiling grain texture as a data URL. The grain is centered on\n// neutral gray (128) so, with overlay/soft-light, it adds texture WITHOUT\n// shifting the underlying tone — intensity 0 is a true no-op. Only depends on\n// type/intensity/seed; opacity, blend mode and size are applied via CSS.\nfunction generateNoise(type,intensity,seed){if(typeof document===\"undefined\")return\"\";const TILE=256;const canvas=document.createElement(\"canvas\");canvas.width=TILE;canvas.height=TILE;const ctx=canvas.getContext(\"2d\");if(!ctx)return\"\";const imageData=ctx.createImageData(TILE,TILE);const data=imageData.data;// mulberry32 — small, good-quality seeded PRNG.\nlet s=(Math.floor(seed)||1)>>>0;const random=()=>{s=s+1831565813>>>0;let t=Math.imul(s^s>>>15,1|s);t=t+Math.imul(t^t>>>7,61|t)^t;return((t^t>>>14)>>>0)/4294967296;};const amp=intensity*127.5// full range at intensity 1\n;const deviation=()=>{if(type===\"rough\")return random()>.5?1:-1;if(type===\"digital\"){const levels=4;return(Math.floor(random()*levels)/(levels-1)-.5)*2;}if(type===\"film\"){// Box–Muller Gaussian — the most photographic grain.\nconst u=1-random();const v=random();return Math.sqrt(-2*Math.log(u))*Math.cos(2*Math.PI*v)*.5;}return(random()-.5)*2// standard: uniform\n;};for(let i=0;i<data.length;i+=4){if(type===\"color\"){data[i]=clamp255(128+(random()-.5)*2*amp);data[i+1]=clamp255(128+(random()-.5)*2*amp);data[i+2]=clamp255(128+(random()-.5)*2*amp);}else{const val=clamp255(128+deviation()*amp);data[i]=val;data[i+1]=val;data[i+2]=val;}data[i+3]=255;}ctx.putImageData(imageData,0,0);return canvas.toDataURL();}// Smooth signed noise (2-octave value noise, ~[-1, 1]) used as the acceleration\n// that drives the velocity integrator. Because it's integrated twice into\n// position, the resulting motion is very smooth and flowing regardless of the\n// noise's own cadence.\nfunction hash1(n){const x=Math.sin(n*127.1)*43758.5453;return x-Math.floor(x);}function fnoise(t,seed){let s=0,a=.5,f=1,nrm=0;for(let i=0;i<2;i++){const p=t*f+seed;const k=Math.floor(p);const fr=p-k;const u=fr*fr*(3-2*fr);const h0=hash1(k);const h1=hash1(k+1);s+=a*(h0+(h1-h0)*u);nrm+=a;f*=2;a*=.5;}return s/nrm*2-1;}export default function RiveWebGL2(props){const{src=\"\",artboard=\"\",stateMachine=\"State Machine 1\",loading=\"eager-high\",viewModelName=\"\",bindings=[],viewportPropName=\"onViewportEnter\",scrollPropName=\"scrollPosition\",play=true,playOnCanvas=true,fit=\"contain\",alignment=\"center\",layoutScaleFactor=1,offsetX=0,offsetY=0,enterAt=0,scrollStart=100,scrollEnd=0,riveEventName=\"\",emitWindowEvent=\"\",startOnWindowEvent=\"\",placeholder,grain,ariaLabel=\"\",decorative=false}=props;const grainEnabled=!!grain;const grainType=grain?.type??\"standard\";const grainIntensity=grain?.intensity??.5;const grainOpacity=grain?.opacity??.5;const grainBlend=grain?.blendMode??\"overlay\";const grainSize=grain?.size??4;const grainSeed=grain?.seed??1;const grainSpeed=grain?.speed??0;const grainDistance=grain?.distance??100;const grainFadeIn=grain?.fadeIn??0;// One static tile, built only when its pixels change.\nconst noiseUrl=useMemo(()=>grainEnabled?generateNoise(grainType,grainIntensity,grainSeed):\"\",[grainEnabled,grainType,grainIntensity,grainSeed]);// Drift only when asked, playing, and not idling on the editor canvas.\nconst grainAnimated=grainSpeed>0&&play&&(RenderTarget.current()===RenderTarget.canvas?playOnCanvas:true);const grainDivRef=useRef(null);// Fade the grain in on mount (next frame), independent of the Rive load —\n// so it appears as soon as possible, not when the animation finishes.\nconst[grainShown,setGrainShown]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;if(!grainEnabled){setGrainShown(false);return;}const raf=requestAnimationFrame(()=>setGrainShown(true));return()=>cancelAnimationFrame(raf);},[grainEnabled]);const placeholderImage=placeholder?.image;const placeholderColor=placeholder?.color??\"#00000000\";const keepPlaceholder=placeholder?.keep??false;const placeholderSrc=placeholderImage?.src??placeholderImage?.srcSet??\"\";// Placeholder fit/alignment. \"match\" follows the Rive canvas (default);\n// otherwise the user's explicit choice overrides it.\nconst placeholderFit=placeholder?.fit??\"match\";const placeholderAlign=placeholder?.alignment??\"match\";const phFit=placeholderFit===\"match\"?fit:placeholderFit;const phAlign=placeholderAlign===\"match\"?alignment:placeholderAlign;// For \"None\", allow an explicit pixel size (0 = the image's natural size).\nconst placeholderW=placeholder?.width??0;const placeholderH=placeholder?.height??0;const phBackgroundSize=phFit===\"none\"?`${placeholderW>0?placeholderW+\"px\":\"auto\"} ${placeholderH>0?placeholderH+\"px\":\"auto\"}`:PLACEHOLDER_SIZE[phFit]??\"cover\";const containerRef=useRef(null);const canvasRef=useRef(null);const riveRef=useRef(null);const riveModuleRef=useRef(null);const vmInstanceRef=useRef(null);const[loaded,setLoaded]=useState(false);// Loading strategy. Eager modes load on mount (high or auto priority); lazy\n// waits until the layer nears the viewport so offscreen Rive files don't\n// compete with the first/visible animation for bandwidth at page load.\nconst isLazy=loading===\"lazy\";const fetchPriorityHint=loading===\"eager-high\"?\"high\":\"auto\";const[shouldLoad,setShouldLoad]=useState(!isLazy);useEffect(()=>{if(typeof window===\"undefined\")return;// Non-lazy (incl. switching the prop to eager) loads immediately.\nif(!isLazy){setShouldLoad(true);return;}if(shouldLoad)return;// Always load on the Framer canvas so the design stays visible while\n// editing, and fall back to loading if IntersectionObserver is absent.\nif(RenderTarget.current()===RenderTarget.canvas||typeof IntersectionObserver===\"undefined\"){setShouldLoad(true);return;}const el=containerRef.current;if(!el)return;const io=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){setShouldLoad(true);io.disconnect();}},{rootMargin:\"200px\"});io.observe(el);return()=>io.disconnect();},[isLazy,shouldLoad]);useEffect(()=>{if(typeof document===\"undefined\"||!src||!shouldLoad)return;const selector=`link[data-rive-preload=\"${CSS.escape(src)}\"]`;if(document.querySelector(selector))return;const link=document.createElement(\"link\");link.rel=\"preload\";link.as=\"fetch\";link.href=src;link.crossOrigin=\"anonymous\";link.fetchPriority=fetchPriorityHint;link.setAttribute(\"data-rive-preload\",src);document.head.appendChild(link);fetchRivBuffer(src,fetchPriorityHint).catch(()=>{});},[src,shouldLoad,fetchPriorityHint]);useEffect(()=>{if(typeof window===\"undefined\"||!src||!shouldLoad)return;let cancelled=false;Promise.all([loadRiveScript(),fetchRivBuffer(src,fetchPriorityHint)]).then(([riveModule,buffer])=>{if(cancelled||!canvasRef.current)return;riveModuleRef.current=riveModule;const anyBindings=(bindings?.length??0)>0;const useViewModel=!!viewModelName||anyBindings;const instance=new riveModule.Rive({buffer,canvas:canvasRef.current,artboard:artboard||undefined,stateMachines:stateMachine||undefined,autoplay:play,automaticallyHandleEvents:true,// Only enable autoBind when the user actually wants a\n// ViewModel — otherwise Rive logs a warning for every\n// file that doesn't have one linked to the artboard.\nautoBind:useViewModel,layout:buildLayout(riveModule,fit,alignment,layoutScaleFactor),onLoad:()=>{if(cancelled||!canvasRef.current)return;instance.resizeDrawingSurfaceToCanvas();let vmi=null;if(useViewModel){vmi=instance.viewModelInstance??null;if(!vmi){try{const vm=instance.viewModelByName?.(viewModelName);vmi=vm?.defaultInstance?.()??null;if(vmi)instance.bindViewModelInstance(vmi);}catch(e){console.error(\"onLoad: manual VM bind failed\",e);}}}vmInstanceRef.current=vmi;// Apply author-defined bindings once the VM is bound,\n// before the first painted frame, so initial values are\n// correct. Live edits are handled by the effect below.\nif(vmi&&anyBindings){for(const b of bindings)applyBinding(vmi,b);}if(emitWindowEvent){const evType=riveModule.EventType?.RiveEvent;if(evType){instance.on(evType,riveEvt=>{const name=riveEvt?.data?.name??riveEvt?.name;if(!riveEventName||name===riveEventName){window.dispatchEvent(new CustomEvent(emitWindowEvent,{detail:riveEvt?.data??null}));}});}}setLoaded(true);}});instance.on?.(riveModule.EventType?.LoadError,e=>console.error(\"LoadError\",e));riveRef.current=instance;}).catch(e=>console.error(\"init: load rejected\",e));return()=>{cancelled=true;try{riveRef.current?.cleanup?.();}catch(e){console.error(\"cleanup error\",e);}riveRef.current=null;riveModuleRef.current=null;vmInstanceRef.current=null;setLoaded(false);};},[src,artboard,stateMachine,viewModelName,// Re-init only when a ViewModel becomes needed/unneeded (first binding\n// added or last removed) — not on every value edit, which the\n// re-apply effect below handles without rebuilding the instance.\n(bindings?.length??0)>0,emitWindowEvent,riveEventName,shouldLoad]);useEffect(()=>{const rive=riveRef.current;if(!rive||!loaded)return;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const shouldPlay=isCanvas?playOnCanvas&&play:play;if(shouldPlay)rive.play();else rive.pause();},[play,playOnCanvas,loaded]);useEffect(()=>{const rive=riveRef.current;const mod=riveModuleRef.current;if(!rive||!mod||!loaded)return;rive.layout=buildLayout(mod,fit,alignment,layoutScaleFactor);rive.resizeDrawingSurfaceToCanvas?.();},[fit,alignment,layoutScaleFactor,loaded]);// Re-apply data bindings whenever their values change (panel edits, CMS\n// updates, or values fed in via a code override). Serialised dep so the\n// effect runs on value changes, not just array-identity changes.\nconst bindingsKey=JSON.stringify(bindings??[]);useEffect(()=>{if(!loaded)return;const vmi=vmInstanceRef.current;if(!vmi)return;for(const b of bindings??[])applyBinding(vmi,b);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[loaded,bindingsKey]);useEffect(()=>{if(typeof window===\"undefined\")return;const canvas=canvasRef.current;if(!canvas)return;const observer=new ResizeObserver(()=>{riveRef.current?.resizeDrawingSurfaceToCanvas?.();});observer.observe(canvas);return()=>observer.disconnect();},[loaded]);// Drift the grain tile along a smooth, noise-driven path via a GPU transform\n// (composited — no repaint, no recompute). x/y use separate noise channels\n// so the motion wanders organically within ±distance px.\nuseEffect(()=>{if(typeof window===\"undefined\")return;const div=grainDivRef.current;if(!div)return;if(!grainAnimated||grainDistance<=0){div.style.transform=\"translate3d(0,0,0)\";return;}// Velocity integration: noise -> acceleration -> velocity -> position,\n// with a soft spring to center and damping to stay bounded. FORCE drives\n// how hard it's pushed, SPRING how strongly it returns, DAMP how quickly\n// momentum bleeds off (lower = floatier, more drift).\nconst FORCE=1.8;const SPRING=2;const DAMP=.8;let px=0,py=0,vx=0,vy=0;const step=(t,dt)=>{const ax=fnoise(t,11)*FORCE-px*SPRING-vx*DAMP;const ay=fnoise(t,37)*FORCE-py*SPRING-vy*DAMP;vx+=ax*dt;vy+=ay*dt;px+=vx*dt;py+=vy*dt;};// Warm up the simulation so it starts already mid-motion, in a settled\n// state — avoids the lurch from rest on the first frame. simTime keeps\n// the noise phase continuous into the live loop.\nconst PREROLL=3// seconds of simulated time\n;const fixed=1/60;let simTime=0;for(;simTime<PREROLL;simTime+=fixed)step(simTime*grainSpeed,fixed);// Paint the settled position immediately so the first frame isn't (0,0).\ndiv.style.transform=`translate3d(${Math.max(-1,Math.min(1,px))*grainDistance}px, ${Math.max(-1,Math.min(1,py))*grainDistance}px, 0)`;let raf=0;let prev=0;const loop=now=>{if(!prev)prev=now;let dt=(now-prev)/1e3;prev=now;if(dt>.05)dt=.05// clamp after tab-inactive jumps\n;simTime+=dt;step(simTime*grainSpeed,dt);const cx=Math.max(-1,Math.min(1,px))*grainDistance;const cy=Math.max(-1,Math.min(1,py))*grainDistance;div.style.transform=`translate3d(${cx}px, ${cy}px, 0)`;raf=requestAnimationFrame(loop);};raf=requestAnimationFrame(loop);return()=>cancelAnimationFrame(raf);},[grainAnimated,grainSpeed,grainDistance]);const resolveTrigger=()=>{const rive=riveRef.current;let smInput=null;try{for(const name of rive?.stateMachineNames??[]){const inputs=rive.stateMachineInputs(name)??[];const match=inputs.find(i=>i.name===viewportPropName);if(match){smInput=match;break;}}}catch{}const vmi=vmInstanceRef.current;const vmProp=vmi?.boolean?.(viewportPropName)??null;return{smInput,vmProp};};const resolveScrollTarget=()=>{const rive=riveRef.current;let smInput=null;try{for(const name of rive?.stateMachineNames??[]){const inputs=rive.stateMachineInputs(name)??[];const match=inputs.find(i=>i.name===scrollPropName);if(match){smInput=match;break;}}}catch{}const vmi=vmInstanceRef.current;const vmProp=vmi?.number?.(scrollPropName)??null;return{smInput,vmProp};};useEffect(()=>{if(typeof window===\"undefined\")return;if(!loaded||!startOnWindowEvent)return;if(RenderTarget.current()===RenderTarget.canvas)return;const{smInput,vmProp}=resolveTrigger();if(!smInput&&!vmProp){return;}const handler=()=>{if(smInput)smInput.value=true;if(vmProp)vmProp.value=true;};window.addEventListener(startOnWindowEvent,handler);return()=>window.removeEventListener(startOnWindowEvent,handler);},[loaded,startOnWindowEvent,viewportPropName]);useEffect(()=>{if(typeof window===\"undefined\")return;if(!loaded||!containerRef.current)return;if(RenderTarget.current()===RenderTarget.canvas)return;if(startOnWindowEvent)return;const{smInput,vmProp}=resolveTrigger();if(!smInput&&!vmProp){console.error(`viewport: no \"${viewportPropName}\" input/VM bool found`);return;}const setValue=v=>{if(smInput)smInput.value=v;if(vmProp)vmProp.value=v;};const el=containerRef.current;let raf=0;let lastTriggered=null;// Compute visible portion as a ratio against min(elementHeight, vh)\n// so a value of 1.0 is always achievable, even for tall elements.\nconst check=()=>{raf=0;const rect=el.getBoundingClientRect();const vh=window.innerHeight;const top=Math.max(0,rect.top);const bottom=Math.min(vh,rect.bottom);const visible=Math.max(0,bottom-top);const denom=Math.min(rect.height,vh);const ratio=denom>0?visible/denom:0;const triggered=ratio>=enterAt;if(triggered!==lastTriggered){lastTriggered=triggered;setValue(triggered);}};const onScroll=()=>{if(raf)return;raf=requestAnimationFrame(check);};check();window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onScroll);return()=>{if(raf)cancelAnimationFrame(raf);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onScroll);};},[loaded,viewportPropName,enterAt,startOnWindowEvent]);useEffect(()=>{if(typeof window===\"undefined\")return;if(!loaded||!containerRef.current)return;if(RenderTarget.current()===RenderTarget.canvas)return;const{smInput,vmProp}=resolveScrollTarget();if(!smInput&&!vmProp){console.error(`scroll: no \"${scrollPropName}\" number input/VM found`);return;}const el=containerRef.current;let raf=0;let lastValue=-1;// scrollStart / scrollEnd are percentages of the viewport height\n// measured from the top (0 = viewport top, 100 = viewport bottom).\n// Progress = 0 when the layer's top is at scrollStart%, reaches 100\n// when the layer's top hits scrollEnd%.\nconst update=()=>{raf=0;const vh=window.innerHeight;const startY=scrollStart/100*vh;const endY=scrollEnd/100*vh;const range=startY-endY;if(range<=0)return;const rectTop=el.getBoundingClientRect().top;const raw=(startY-rectTop)/range;const progress=Math.max(0,Math.min(1,raw))*100;if(Math.abs(progress-lastValue)<.01)return;lastValue=progress;if(smInput)smInput.value=progress;if(vmProp)vmProp.value=progress;};const schedule=()=>{if(raf)return;raf=requestAnimationFrame(update);};update();window.addEventListener(\"scroll\",schedule,{passive:true});window.addEventListener(\"resize\",schedule);return()=>{if(raf)cancelAnimationFrame(raf);window.removeEventListener(\"scroll\",schedule);window.removeEventListener(\"resize\",schedule);};},[loaded,scrollPropName,scrollStart,scrollEnd]);const hasPlaceholder=!!placeholderSrc||placeholderColor&&placeholderColor!==\"#00000000\"&&placeholderColor!==\"transparent\"&&placeholderColor!==\"rgba(0, 0, 0, 0)\";// When keepPlaceholder is on, stay visible forever. Otherwise fade out\n// once the Rive is loaded. Always rendering with opacity (rather than\n// conditional-unmount) keeps the transition smooth and avoids flicker\n// if `loaded` briefly toggles during a hot-reload.\nconst placeholderVisible=keepPlaceholder||!loaded;return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,role:decorative?\"presentation\":ariaLabel?\"img\":undefined,\"aria-hidden\":decorative?true:undefined,\"aria-label\":!decorative&&ariaLabel?ariaLabel:undefined,style:{position:\"relative\",width:\"100%\",height:\"100%\",pointerEvents:\"none\",// Contain the grain's blend so it composites against the canvas\n// (and placeholder) only — not the page behind the component.\nisolation:\"isolate\",// Clip the grain's overhang while it drifts.\noverflow:\"hidden\"},children:[hasPlaceholder&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backgroundColor:placeholderColor,backgroundImage:placeholderSrc?`url(${placeholderSrc})`:undefined,backgroundRepeat:\"no-repeat\",// Frame to match the animation (or the user's override).\nbackgroundSize:phBackgroundSize,backgroundPosition:phFit===\"layout\"?\"center\":PLACEHOLDER_POS[phAlign]??\"center\",transform:`translate3d(${offsetX}px, ${offsetY}px, 0)`,opacity:placeholderVisible?1:0,transition:\"opacity 0.3s ease\",pointerEvents:\"none\",zIndex:0}}),/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"block\",opacity:loaded?1:0,transition:\"opacity 0.3s ease\",// Nudge the canvas position without resizing its draw buffer.\ntransform:`translate3d(${offsetX}px, ${offsetY}px, 0)`,zIndex:1}},src),grainEnabled&&noiseUrl&&/*#__PURE__*/_jsx(\"div\",{ref:grainDivRef,style:{position:\"absolute\",// Overhang by the drift distance so panning never\n// exposes an uncovered edge.\ninset:-Math.max(0,grainDistance),pointerEvents:\"none\",backgroundImage:`url(${noiseUrl})`,backgroundRepeat:\"repeat\",backgroundSize:`${256*grainSize}px`,imageRendering:\"pixelated\",mixBlendMode:grainBlend,// Fade in on mount (not tied to the Rive load); 0 = instant.\nopacity:grainFadeIn>0&&!grainShown?0:grainOpacity,transition:grainFadeIn>0?`opacity ${grainFadeIn}s ease`:undefined,willChange:\"transform\",zIndex:2}})]});}addPropertyControls(RiveWebGL2,{// ---------- Source ----------\nsrc:{title:\"Rive File URL\",type:ControlType.String,defaultValue:\"\",placeholder:\"https://…/animation.riv\",description:\"URL to a *.riv* file.\\nExport from Rive with the **WebGL2** runtime selected.\"},artboard:{title:\"Artboard\",type:ControlType.String,defaultValue:\"\",placeholder:\"Leave empty for the default\",description:\"Name of the artboard to render. Leave blank to use the file's default artboard.\"},stateMachine:{title:\"State Machine\",type:ControlType.String,defaultValue:\"State Machine 1\",description:\"Name of the state machine to run.\\nMust match the name in the Rive editor exactly.\"},loading:{title:\"Loading\",type:ControlType.Enum,defaultValue:\"eager-high\",options:[\"eager-high\",\"eager-auto\",\"lazy\"],optionTitles:[\"Eager (High)\",\"Eager (Auto)\",\"Lazy\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",description:\"When and how aggressively to load this file.\\n**Eager (High)** loads on page load at high priority — use for the hero / above-the-fold animation.\\n**Eager (Auto)** loads on page load but yields bandwidth to high-priority layers.\\n**Lazy** waits until the layer nears the viewport — best for offscreen animations so they don't slow the first one.\"},viewModelName:{title:\"View Model\",type:ControlType.String,defaultValue:\"\",placeholder:\"Leave blank if not used\",description:\"Name of a ViewModel in your Rive file. **Leave blank** if your animation only uses state-machine inputs — otherwise Rive logs a warning for every file without a linked ViewModel.\\nFill this in to bind a *named* ViewModel. Adding **Data Bindings** below auto-binds the artboard's default ViewModel even when this is blank.\"},// ---------- Data binding ----------\nbindings:{title:\"Data Bindings\",type:ControlType.Array,description:\"Push values into your ViewModel. Each row targets a VM property by **name** and type. Names must match the Rive editor exactly.\\nValues can be set here, bound to the CMS, or fed in from a code override.\",control:{type:ControlType.Object,buttonTitle:\"Property\",icon:\"object\",controls:{name:{title:\"Property\",type:ControlType.String,defaultValue:\"\",placeholder:\"e.g. score\"},type:{title:\"Type\",type:ControlType.Enum,defaultValue:\"number\",options:[\"number\",\"boolean\",\"string\"],optionTitles:[\"Number\",\"Boolean\",\"Text\"],displaySegmentedControl:true},numberValue:{title:\"Value\",type:ControlType.Number,defaultValue:0,displayStepper:true,hidden:p=>p.type!==\"number\"},booleanValue:{title:\"Value\",type:ControlType.Boolean,defaultValue:false,hidden:p=>p.type!==\"boolean\"},stringValue:{title:\"Value\",type:ControlType.String,defaultValue:\"\",hidden:p=>p.type!==\"string\"}}}},viewportPropName:{title:\"On Enter Property\",type:ControlType.String,defaultValue:\"onViewportEnter\",description:\"Name of a **boolean** property on your ViewModel (or state machine input) that gets set to *true* when the layer scrolls into view, and *false* when it leaves.\"},scrollPropName:{title:\"Scroll Position Property\",type:ControlType.String,defaultValue:\"scrollPosition\",description:\"Name of a **number** property on your ViewModel (or state machine input) driven *0 → 100* as the layer scrolls through the viewport.\\nUse to scrub a Rive animation with scroll.\"},// ---------- Playback ----------\nplay:{title:\"Playback\",type:ControlType.Boolean,defaultValue:true,enabledTitle:\"Play\",disabledTitle:\"Pause\",description:\"Master play/pause control for the live site.\"},playOnCanvas:{title:\"Play in Editor\",type:ControlType.Boolean,defaultValue:true,enabledTitle:\"Play\",disabledTitle:\"Pause\",description:\"Whether the Rive plays while you're working in the Framer canvas.\\nTurn off if it's distracting while designing.\",hidden:props=>!props.play},// ---------- Layout ----------\nfit:{title:\"Fit\",type:ControlType.Enum,defaultValue:\"contain\",options:[\"contain\",\"cover\",\"fill\",\"fitWidth\",\"fitHeight\",\"none\",\"scaleDown\",\"layout\"],optionTitles:[\"Contain\",\"Cover\",\"Fill\",\"Fit Width\",\"Fit Height\",\"None\",\"Scale Down\",\"Layout\"],description:\"How the Rive artboard sizes inside the layer:\\n**Contain** fits without cropping.\\n**Cover** fills and crops.\\n**Fill** stretches to fit.\\n**Layout** runs Rive's responsive layout engine so the artboard reflows to the layer size (requires a file authored with Layouts).\"},layoutScaleFactor:{title:\"Layout Scale\",type:ControlType.Number,defaultValue:1,min:.1,max:10,step:.1,description:\"Density multiplier for **Layout** fit. *1* matches the layer size; raise to zoom the layout in, lower to fit more content.\",hidden:props=>props.fit!==\"layout\"},alignment:{title:\"Alignment\",type:ControlType.Enum,defaultValue:\"center\",options:[\"center\",\"topLeft\",\"topCenter\",\"topRight\",\"centerLeft\",\"centerRight\",\"bottomLeft\",\"bottomCenter\",\"bottomRight\"],optionTitles:[\"Center\",\"Top Left\",\"Top Center\",\"Top Right\",\"Center Left\",\"Center Right\",\"Bottom Left\",\"Bottom Center\",\"Bottom Right\"],description:\"Where the artboard anchors within the layer when it doesn't fill exactly.\",hidden:props=>props.fit===\"layout\"},offsetX:{title:\"Offset X\",type:ControlType.Number,defaultValue:0,min:-2e3,max:2e3,step:1,unit:\"px\",displayStepper:true,description:\"Nudge the Rive canvas horizontally without resizing it. Positive = right.\"},offsetY:{title:\"Offset Y\",type:ControlType.Number,defaultValue:0,min:-2e3,max:2e3,step:1,unit:\"px\",displayStepper:true,description:\"Nudge the Rive canvas vertically without resizing it. Positive = down.\"},// ---------- Trigger ----------\nenterAt:{title:\"Enter At\",type:ControlType.Number,defaultValue:0,min:0,max:1,step:.05,description:\"How much of the layer must be on screen before *On Enter* fires. *0* fires the moment any pixel is visible; *1* requires the layer to fill the viewport (or be fully visible if it's shorter).\\nWorks for any layer height.\",hidden:props=>!!props.startOnWindowEvent},scrollStart:{title:\"Scroll Start\",type:ControlType.Number,defaultValue:100,min:0,max:100,step:1,unit:\"%\",description:\"Where on screen the scroll-driven animation begins, measured from the top of the viewport. *100%* = layer's top is just past the bottom edge; *0%* = layer's top is at the top of the screen.\"},scrollEnd:{title:\"Scroll End\",type:ControlType.Number,defaultValue:0,min:0,max:100,step:1,unit:\"%\",description:\"Where on screen the scroll-driven animation finishes. *0%* (top) is the common choice; raise it to finish the animation earlier as the layer scrolls up.\"},startOnWindowEvent:{title:\"Start On Window Event\",type:ControlType.String,defaultValue:\"\",placeholder:\"e.g. heroLoaded\",description:\"Listen for a custom *window event* with this name and start the animation when it fires — instead of using scroll position.\\nLeave blank to use the scroll/viewport trigger.\"},// ---------- Outgoing events ----------\nemitWindowEvent:{title:\"Emit Window Event\",type:ControlType.String,defaultValue:\"\",placeholder:\"e.g. heroAnimationDone\",description:\"When the Rive fires a *Rive Event*, dispatch a `CustomEvent` on `window` with this name.\\nUseful for triggering other components on the page.\"},riveEventName:{title:\"Rive Event Filter\",type:ControlType.String,defaultValue:\"\",placeholder:\"Any event\",description:\"Only rebroadcast Rive events with this specific name.\\nLeave blank to rebroadcast every event the Rive fires.\",hidden:props=>!props.emitWindowEvent},// ---------- Grain overlay ----------\ngrain:{title:\"Grain\",type:ControlType.Object,optional:true,icon:\"effect\",description:\"Adds an animated-feeling film grain over the Rive animation. It's a static texture blended in the canvas's own stacking context, so it never tints the colors — *Intensity 0* is invisible.\",controls:{type:{title:\"Type\",type:ControlType.Enum,defaultValue:\"standard\",options:[\"standard\",\"film\",\"digital\",\"rough\",\"color\"],optionTitles:[\"Standard\",\"Film\",\"Digital\",\"Rough\",\"Color\"],description:\"Grain character. **Film** (Gaussian) is the most photographic. **Color** is intentionally non-neutral and will tint.\"},intensity:{title:\"Intensity\",type:ControlType.Number,defaultValue:.5,min:0,max:1,step:.05,description:\"Grain strength as deviation around neutral gray. 0 = invisible, no tint.\"},opacity:{title:\"Opacity\",type:ControlType.Number,defaultValue:.5,min:0,max:1,step:.05},blendMode:{title:\"Blend Mode\",type:ControlType.Enum,defaultValue:\"overlay\",options:[\"normal\",\"multiply\",\"screen\",\"overlay\",\"darken\",\"lighten\",\"color-dodge\",\"color-burn\",\"hard-light\",\"soft-light\",\"difference\",\"exclusion\",\"hue\",\"saturation\",\"color\",\"luminosity\"],description:\"**overlay** / **soft-light** keep neutral gray as a no-op (recommended). **soft-light** is the gentlest.\"},size:{title:\"Size\",type:ControlType.Number,defaultValue:4,min:.1,max:20,step:.1,displayStepper:true},speed:{title:\"Drift Speed\",type:ControlType.Number,defaultValue:0,min:0,max:2,step:.05,description:\"How fast the grain wanders along a smooth noise-driven path. **0 = static.** GPU transform, so it's basically free on mobile.\"},distance:{title:\"Drift Distance\",type:ControlType.Number,defaultValue:100,min:0,max:300,step:5,unit:\"px\",description:\"Max distance the grain drifts from center (\\xb1). 100 = wander within ~100px.\"},seed:{title:\"Seed\",type:ControlType.Number,defaultValue:1,min:1,max:9999,step:1,displayStepper:true},fadeIn:{title:\"Fade In\",type:ControlType.Number,defaultValue:0,min:0,max:5,step:.1,unit:\"s\",description:\"Fade the grain in over this many seconds on mount (as soon as possible, independent of the Rive load). 0 = appear instantly.\"}}},// ---------- Loading state ----------\nplaceholder:{title:\"Loading State\",type:ControlType.Object,optional:true,icon:\"effect\",description:\"What to show while the Rive file is loading.\\nEnable to add an image or a color behind the canvas.\",controls:{image:{title:\"Image\",type:ControlType.ResponsiveImage,description:\"Optional image shown during loading — usually a static export of the first frame.\"},fit:{title:\"Fit\",type:ControlType.Enum,defaultValue:\"match\",options:[\"match\",\"contain\",\"cover\",\"fill\",\"fitWidth\",\"fitHeight\",\"none\",\"scaleDown\"],optionTitles:[\"Match Animation\",\"Contain\",\"Cover\",\"Fill\",\"Fit Width\",\"Fit Height\",\"None\",\"Scale Down\"],description:\"How the placeholder image is sized. **Match Animation** uses the layer's Fit so it frames exactly like the loaded Rive (no jump on fade).\"},alignment:{title:\"Alignment\",type:ControlType.Enum,defaultValue:\"match\",options:[\"match\",\"center\",\"topLeft\",\"topCenter\",\"topRight\",\"centerLeft\",\"centerRight\",\"bottomLeft\",\"bottomCenter\",\"bottomRight\"],optionTitles:[\"Match Animation\",\"Center\",\"Top Left\",\"Top Center\",\"Top Right\",\"Center Left\",\"Center Right\",\"Bottom Left\",\"Bottom Center\",\"Bottom Right\"],description:\"Where the image anchors when it doesn't fill the box. **Match Animation** follows the layer's Alignment. Ignored for Cover / Fill.\",hidden:p=>p.fit===\"cover\"||p.fit===\"fill\"||p.fit===\"layout\"},width:{title:\"Width\",type:ControlType.Number,defaultValue:0,min:0,max:4e3,step:1,unit:\"px\",description:\"Explicit image width for **None** fit. 0 = natural size.\",hidden:p=>p.fit!==\"none\"},height:{title:\"Height\",type:ControlType.Number,defaultValue:0,min:0,max:4e3,step:1,unit:\"px\",description:\"Explicit image height for **None** fit. 0 = natural size.\",hidden:p=>p.fit!==\"none\"},color:{title:\"Color\",type:ControlType.Color,defaultValue:\"#00000000\",description:\"Background color shown during loading. Default is transparent.\"},keep:{title:\"Keep\",type:ControlType.Boolean,defaultValue:false,enabledTitle:\"Always\",disabledTitle:\"Until Loaded\",description:\"**Always** — keep the placeholder visible behind the canvas after Rive loads.\\n**Until Loaded** — fade out once the Rive is ready.\"}}},// ---------- Accessibility ----------\nariaLabel:{title:\"ARIA Label\",type:ControlType.String,defaultValue:\"\",placeholder:\"Describe the animation\",description:\"Text read aloud by screen readers.\\nDescribe what the animation conveys — e.g. *Looping illustration of a heartbeat*. Leave blank if the Rive is purely decorative and you've turned on *Decorative* below.\",hidden:props=>props.decorative===true},decorative:{title:\"Decorative\",type:ControlType.Boolean,defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Mark this as decorative so screen readers skip it.\\nUse when the Rive is for visual flair only and isn't conveying information.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RiveWebGL2\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RiveWebGL2.map"],"mappings":"2NAGyX,SAAS,IAAgB,CAAC,GAAU,IAAS,OAAY,OAAO,QAAQ,OAAW,MAAM,YAAY,CAAC,CAAC,IAAM,EAAE,EAA6iB,OAAniB,EAAE,aAAoB,QAAQ,QAAQ,EAAE,aAAa,EAAI,AAAmD,EAAE,sBAAoB,IAAI,SAAS,EAAQ,IAAS,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,EAAS,EAAO,MAAM,GAAK,EAAO,YAAY,YAAY,EAAO,cAAc,OAAO,EAAO,WAAW,CAAC,IAAM,EAAI,EAAE,KAAK,GAAG,CAAC,EAAI,CAAC,EAAW,MAAM,0CAA0C,CAAC,CAAC,OAAQ,EAAE,aAAa,EAAI,EAAQ,EAAI,EAAG,EAAO,QAAQ,GAAG,CAAC,EAAE,oBAAoB,KAAK,EAAO,EAAE,EAAG,SAAS,KAAK,YAAY,EAAO,EAAG,CAA5c,EAAE,qBAAye,SAAS,EAAe,EAAI,EAAS,OAAO,CAAC,GAAU,IAAS,OAAY,OAAO,QA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