1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90543,e=>{"use strict";var t=e.i(87446),r=e.i(72555),i=e.i(45562);e.s(["TextReveal",0,function({lines:e,className:o,stagger:n=.05,y:s=20,startDelay:a=0,as:l="h2"}){return(0,i.useReducedMotion)()?(0,t.jsx)(l,{className:o,children:e.map((e,r)=>(0,t.jsx)("span",{className:"block",children:e},r))}):(0,t.jsx)(l,{className:o,children:e.map((e,i)=>(0,t.jsx)(r.motion.span,{className:"block",initial:{opacity:.001,y:s},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{type:"spring",stiffness:168,damping:40,mass:1,delay:a+i*n},children:e},i))})}])},3044,e=>{"use strict";var t=e.i(87446),r=e.i(72555),i=e.i(45562);let o={type:"spring",stiffness:168,damping:40,mass:1};e.s(["Reveal",0,function({children:e,className:n="",delay:s=0,from:a="translate-y-[2.4rem]",x:l,y:u,scale:c,once:f=!0,threshold:h=.25}){let m=(0,i.useReducedMotion)(),d=a.match(/\[(\d+(?:\.\d+)?)rem\]/),g=u??(d?10*parseFloat(d[1]):24);return m?(0,t.jsx)("div",{className:n,children:e}):(0,t.jsx)(r.motion.div,{className:n,initial:{opacity:.001,y:g,...void 0!==l?{x:l}:{},...void 0!==c?{scale:c}:{}},whileInView:{opacity:1,y:0,...void 0!==l?{x:0}:{},...void 0!==c?{scale:1}:{}},viewport:{once:f,amount:h,margin:h>=.5?void 0:"0px 0px -8% 0px"},transition:{...o,delay:s/1e3},children:e})}])},67546,e=>{"use strict";var t=e.i(87446),r=e.i(20);let i=`#version 300 es 2layout(location = 0) in vec4 a_position; 3void main() { 4 gl_Position = a_position; 5} 6`,o=`#version 300 es 7precision highp float; 8 9uniform float u_time; 10uniform float u_pixelRatio; 11uniform vec2 u_resolution; 12uniform float u_scale; 13uniform float u_rotation; 14uniform vec4 u_color1; 15uniform vec4 u_color2; 16uniform vec4 u_color3; 17uniform float u_proportion; 18uniform float u_softness; 19uniform float u_shape; 20uniform float u_shapeScale; 21uniform float u_distortion; 22uniform float u_swirl; 23uniform float u_swirlIterations; 24 25out vec4 fragColor; 26 27#define TWO_PI 6.28318530718 28#define PI 3.14159265358979323846 29 30vec2 rotate(vec2 uv, float th) { 31 return mat2(cos(th), sin(th), -sin(th), cos(th)) * uv; 32} 33 34float random(vec2 st) { 35 return fract(sin(dot(st.xy, vec2(12.9898, 78.233))) * 43758.5453123); 36} 37float noise(vec2 st) { 38 vec2 i = floor(st); 39 vec2 f = fract(st); 40 float a = random(i); 41 float b = random(i + vec2(1.0, 0.0)); 42 float c = random(i + vec2(0.0, 1.0)); 43 float d = random(i + vec2(1.0, 1.0)); 44 vec2 u = f * f * (3.0 - 2.0 * f); 45 float x1 = mix(a, b, u.x); 46 float x2 = mix(c, d, u.x); 47 return mix(x1, x2, u.y); 48} 49 50vec4 blend_colors(vec4 c1, vec4 c2, vec4 c3, float mixer, float edgesWidth, float edge_blur) { 51 vec3 color1 = c1.rgb * c1.a; 52 vec3 color2 = c2.rgb * c2.a; 53 vec3 color3 = c3.rgb * c3.a; 54 float r1 = smoothstep(.0 + .35 * edgesWidth, .7 - .35 * edgesWidth + .5 * edge_blur, mixer); 55 float r2 = smoothstep(.3 + .35 * edgesWidth, 1. - .35 * edgesWidth + edge_blur, mixer); 56 vec3 blended_color_2 = mix(color1, color2, r1); 57 float blended_opacity_2 = mix(c1.a, c2.a, r1); 58 vec3 c = mix(blended_color_2, color3, r2); 59 float o = mix(blended_opacity_2, c3.a, r2); 60 return vec4(c, o); 61} 62 63void main() { 64 vec2 uv = gl_FragCoord.xy / u_resolution.xy; 65 float t = .5 * u_time; 66 float noise_scale = .0005 + .006 * u_scale; 67 68 uv -= .5; 69 uv *= (noise_scale * u_resolution); 70 uv = rotate(uv, u_rotation * .5 * PI); 71 uv /= u_pixelRatio; 72 uv += .5; 73 74 float n1 = noise(uv * 1. + t); 75 float n2 = noise(uv * 2. - t); 76 float angle = n1 * TWO_PI; 77 uv.x += 4. * u_distortion * n2 * cos(angle); 78 uv.y += 4. * u_distortion * n2 * sin(angle); 79 80 float iterations_number = ceil(clamp(u_swirlIterations, 1., 30.)); 81 for (float i = 1.; i <= iterations_number; i++) { 82 uv.x += clamp(u_swirl, 0., 2.) / i * cos(t + i * 1.5 * uv.y); 83 uv.y += clamp(u_swirl, 0., 2.) / i * cos(t + i * 1. * uv.x); 84 } 85 86 float proportion = clamp(u_proportion, 0., 1.); 87 float shape = 0.; 88 float mixer = 0.; 89 if (u_shape < .5) { 90 vec2 checks_shape_uv = uv * (.5 + 3.5 * u_shapeScale); 91 shape = .5 + .5 * sin(checks_shape_uv.x) * cos(checks_shape_uv.y); 92 mixer = shape + .48 * sign(proportion - .5) * pow(abs(proportion - .5), .5); 93 } else if (u_shape < 1.5) { 94 vec2 stripes_shape_uv = uv * (.25 + 3. * u_shapeScale); 95 float f = fract(stripes_shape_uv.y); 96 shape = smoothstep(.0, .55, f) * smoothstep(1., .45, f); 97 mixer = shape + .48 * sign(proportion - .5) * pow(abs(proportion - .5), .5); 98 } else { 99 float sh = 1. - uv.y; 100 sh -= .5; 101 sh /= (noise_scale * u_resolution.y); 102 sh += .5; 103 float shape_scaling = .2 * (1. - u_shapeScale); 104 shape = smoothstep(.45 - shape_scaling, .55 + shape_scaling, sh + .3 * (proportion - .5)); 105 mixer = shape; 106 } 107 108 vec4 color_mix = blend_colors(u_color1, u_color2, u_color3, mixer, 1. - clamp(u_softness, 0., 1.), .01 + .01 * u_scale); 109 fragColor = vec4(color_mix.rgb, color_mix.a); 110} 111`;function n(e){let t=e.replace(/^#/,""),r=3===t.length?t.split("").map(e=>e+e).join(""):t,i=6===r.length?r+"ff":r;return[parseInt(i.slice(0,2),16)/255,parseInt(i.slice(2,4),16)/255,parseInt(i.slice(4,6),16)/255,parseInt(i.slice(6,8),16)/255]}function s(e,t,r){let i=e.createShader(t);return i?(e.shaderSource(i,r),e.compileShader(i),e.getShaderParameter(i,e.COMPILE_STATUS))?i:(console.error(e.getShaderInfoLog(i)),e.deleteShader(i),null):null}class a{canvas;gl;program;uniformLocs;totalTime;lastFrame;rafId;speed;uniforms;resizeObserver;constructor(e,t,r=0){this.canvas=e,this.uniformLocs={},this.totalTime=0,this.lastFrame=0,this.rafId=null,this.speed=1,this.resizeObserver=null,this.totalTime=r;const n=e.getContext("webgl2");if(!n)throw Error("WebGL2 not supported");n.clearColor(0,0,0,0),this.gl=n,this.uniforms=t;const a=s(n,n.VERTEX_SHADER,i),l=s(n,n.FRAGMENT_SHADER,o);if(!a||!l)throw Error("Shader compile failed");const u=function(e,t,r){let i=e.createProgram();return i?(e.attachShader(i,t),e.attachShader(i,r),e.linkProgram(i),e.getProgramParameter(i,e.LINK_STATUS))?i:(console.error(e.getProgramInfoLog(i)),e.deleteProgram(i),null):null}(n,a,l);if(!u)throw Error("Program link failed");n.deleteShader(a),n.deleteShader(l),this.program=u;const c=n.getAttribLocation(u,"a_position"),f=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,f),n.bufferData(n.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),n.STATIC_DRAW),n.enableVertexAttribArray(c),n.vertexAttribPointer(c,2,n.FLOAT,!1,0,0),["u_time","u_pixelRatio","u_resolution","u_scale","u_rotation","u_color1","u_color2","u_color3","u_proportion","u_softness","u_distortion","u_swirl","u_swirlIterations","u_shapeScale","u_shape"].forEach(e
111=>{this.uniformLocs[e]=n.getUniformLocation(u,e)}),this.resizeObserver=new ResizeObserver(()=>this.resize()),this.resizeObserver.observe(e.parentElement??e),this.resize(),this.lastFrame=performance.now(),this.rafId=requestAnimationFrame(e=>this.render(e))}resize(){let e=window.devicePixelRatio,t=this.canvas.getBoundingClientRect(),r=Math.max(1,Math.floor(t.width*e)),i=Math.max(1,Math.floor(t.height*e));(this.canvas.width!==r||this.canvas.height!==i)&&(this.canvas.width=r,this.canvas.height=i,this.gl.viewport(0,0,r,i))}render(e){let t=e-this.lastFrame;this.lastFrame=e,this.totalTime+=t*this.speed*.001,this.gl.clear(this.gl.COLOR_BUFFER_BIT),this.gl.useProgram(this.program);let r=this.uniforms;this.gl.uniform1f(this.uniformLocs.u_time,this.totalTime),this.gl.uniform1f(this.uniformLocs.u_pixelRatio,window.devicePixelRatio),this.gl.uniform2f(this.uniformLocs.u_resolution,this.canvas.width,this.canvas.height),this.gl.uniform1f(this.uniformLocs.u_scale,r.u_scale),this.gl.uniform1f(this.uniformLocs.u_rotation,r.u_rotation),this.gl.uniform4fv(this.uniformLocs.u_color1,r.u_color1),this.gl.uniform4fv(this.uniformLocs.u_color2,r.u_color2),this.gl.uniform4fv(this.uniformLocs.u_color3,r.u_color3),this.gl.uniform1f(this.uniformLocs.u_proportion,r.u_proportion),this.gl.uniform1f(this.uniformLocs.u_softness,r.u_softness),this.gl.uniform1f(this.uniformLocs.u_distortion,r.u_distortion),this.gl.uniform1f(this.uniformLocs.u_swirl,r.u_swirl),this.gl.uniform1f(this.uniformLocs.u_swirlIterations,r.u_swirlIterations),this.gl.uniform1f(this.uniformLocs.u_shapeScale,r.u_shapeScale),this.gl.uniform1f(this.uniformLocs.u_shape,r.u_shape),this.gl.drawArrays(this.gl.TRIANGLES,0,6),this.rafId=requestAnimationFrame(e=>this.render(e))}setSpeed(e){this.speed=e}dispose(){null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null),this.resizeObserver?.disconnect(),this.gl.deleteProgram(this.program)}}e.s(["AnimatedGradient",0,function({className:e,style:i,children:o,color1:s="#002040",color2:l="#2D8BF7",color3:u="#FFFFFF",speed:c=.83,seed:f=0,scale:h=.01,rotationDeg:m=-50,proportion:d=.01,softness:g=.47,distortion:p=0,swirl:v=.5,swirlIterations:_=16,shapeScale:y=.45}){let w=r.useRef(null),x=r.useRef(null),[b,L]=r.useState(!1);return r.useEffect(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>L(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),r.useEffect(()=>{if(b)return;let e=w.current;if(!e)return;try{let t={u_scale:h,u_rotation:m*Math.PI/180,u_color1:n(s),u_color2:n(l),u_color3:n(u),u_proportion:d,u_softness:g,u_distortion:p,u_swirl:v,u_swirlIterations:_,u_shapeScale:y,u_shape:0};x.current=new a(e,t,f/120),x.current.setSpeed(c)}catch(e){console.error("WebGL init failed:",e)}let t=new IntersectionObserver(([e])=>{let t=x.current;t&&(e.isIntersecting&&t.resize(),t.setSpeed(e.isIntersecting?c:0))},{threshold:.1});return t.observe(e),()=>{t.disconnect(),x.current?.dispose(),x.current=null}},[b,s,l,u,c,f,h,m,d,g,p,v,_,y]),(0,t.jsxs)("div",{className:`careers-gradient-banner ${e??""}`.trim(),style:{position:"relative",overflow:"hidden",width:"100%",background:b?`linear-gradient(135deg, ${s} 0%, ${l} 55%, ${u} 100%)`:void 0,...i},children:[!b&&(0,t.jsx)("canvas",{ref:w,width:1,height:1,style:{position:"absolute",inset:0,width:"100%",height:"100%",display:"block"}}),o]})}])},85762,e=>{"use strict";var t=e.i(90029),r=e.i(20),i=e.i(72511),o=e.i(30521);e.s(["useMotionValue",0,function(e){let n=(0,o.useConstant)(()=>(0,t.motionValue)(e)),{isStatic:s}=(0,r.useContext)(i.MotionConfigContext);if(s){let[,t]=(0,r.useState)(e);(0,r.useEffect)(()=>n.on("change",t),[])}return n}])},19584,e=>{"use strict";var t=e.i(87446),r=e.i(20),i=e.i(72555),o=e.i(85762),n=e.i(45562);e.s(["MagneticImage",0,function({src:e,alt:s,className:a,effectRange:l=36,smoothing:u=.05}){let c=(0,r.useRef)(null),f=(0,r.useRef)(null),h=(0,n.useReducedMotion)(),m=(0,o.useMotionValue)(0),d=(0,o.useMotionValue)(0),g=(0,o.useMotionValue)(0),p=(0,o.useMotionValue)(0);return(0,r.useEffect)(()=>{let e,t=c.current,r=f.current;if(!t||!r||h)return;let i=t.closest(".group")??t,o=e=>{let t=i.getBoundingClientRect(),o=e.clientX,n=e.clientY;if(o>=t.left&&o<=t.right&&n>=t.top&&n<=t.bottom){let e=r.getBoundingClientRect(),i=e.left+e.width/2,s=e.top+e.height/2;g.set((o-i)/(t.width/2)*l),p.set((n-s)/(t.height/2)*l)}else g.set(0),p.set(0)};window.addEventListener("mousemove",o);let n=()=>{m.set(m.get()+(g.get()-m.get())*u),d.set(d.get()+(p.get()-d.get())*u),e=requestAnimationFrame(n)};return e=requestAnimationFrame(n),()=>{window.removeEventListener("mousemove",o),cancelAnimationFrame(e)}},[l,u,h,m,d,g,p]),(0,t.jsx)("div",{ref:c,className:a??"flex min-h-0 flex-1 items-center justify-center py-[1.2rem]",children:(0,t.jsx)(i.motion.img,{ref:f,src:e,alt:s,style:h?void 0:{x:m,y:d},className:"h-full w-full object-contain",draggable:!1})})}])},44537,3595,e=>{"use strict";var t=e.i(7602),r=e.i(19655),i=e.i(90029),o=e.i(79718),n=e.i(20),s=e.i(91023),a=e.i(69878);function l(e,t){let r,i=()=>{let{currentTime:i}=t,o=(null===i?0:i.value)/100;r!==o&&e(o),r=o};return a.frame.preUpdate(i,!0),()=>(0,a.cancelFrame)(i)}function u(e){return!("u"<typeof window)&&(e?(0,r.supportsViewTimeline)():(0,r.supportsScrollTimeline)())}var c=e.i(87558),f=e.i(23761),h=e.i(27463);let m=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),d={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};
111function g(e,t,r,i){let o=r[t],{length:n,position:s}=d[t],a=o.current,l=r.time;o.current=Math.abs(e[`scroll${s}`]),o.scrollLength=e[`scroll${n}`]-e[`client${n}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=(0,f.progress)(0,o.scrollLength,o.current);let u=i-l;o.velocity=u>50?0:(0,h.velocityPerSecond)(o.current-a,u)}e.i(16065);var p=e.i(53668),v=e.i(2898),_=e.i(86455),y=e.i(75074);let w={start:0,center:.5,end:1};function x(e,t,r=0){let i=0;if(e in w&&(e=w[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?i=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?i=t/100*document.documentElement.clientWidth:e.endsWith("vh")?i=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(i=t*e),r+i}let b=[0,0],L=[[0,0],[1,1]],S={x:0,y:0},E=new WeakMap,A=new WeakMap,R=new WeakMap,I=new WeakMap,T=new WeakMap,M=e=>e===document.scrollingElement?window:e;function F(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...i}={}){if(!t)return s.noop;let o=R.get(t);o||(o=new Set,R.set(t,o));let n=function(e,t,r,i={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let i=t;for(;i&&i!==e;)r.x.targetOffset+=i.offsetLeft,r.y.targetOffset+=i.offsetTop,i=i.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,i.target,r),g(e,"x",r,t),g(e,"y",r,t),r.time=t,(i.offset||i.target)&&function(e,t,r){let{offset:i=L}=r,{target:o=e,axis:n="y"}=r,s="y"===n?"height":"width",a=o!==e?function(e,t){let r={x:0,y:0},i=e;for(;i&&i!==t;)if((0,y.isHTMLElement)(i))r.x+=i.offsetLeft,r.y+=i.offsetTop,i=i.offsetParent;else if("svg"===i.tagName){let e=i.getBoundingClientRect(),t=(i=i.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(i instanceof SVGGraphicsElement){let{x:e,y:t}=i.getBBox();r.x+=e,r.y+=t;let o=null,n=i.parentNode;for(;!o;)"svg"===n.tagName&&(o=n),n=i.parentNode;i=o}else break;return r}(o,e):S,l=o===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in o&&"svg"!==o.tagName?o.getBBox():{width:o.clientWidth,height:o.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[n].offset.length=0;let c=!t[n].interpolate,f=i.length;for(let e=0;e<f;e++){let r=function(e,t,r,i){let o=Array.isArray(e)?e:b,n=0;return"number"==typeof e?o=[e,e]:"string"==typeof e&&(o=(e=e.trim()).includes(" ")?e.split(" "):[e,w[e]?e:"0"]),(n=x(o[0],r,i))-x(o[1],t)}(i[e],u[s],l[s],a[n]);c||r===t[n].interpolatorOffsets[e]||(c=!0),t[n].offset[e]=r}c&&(t[n].interpolate=(0,p.interpolate)(t[n].offset,(0,v.defaultOffset)(i),{clamp:!1}),t[n].interpolatorOffsets=[...t[n].offset]),t[n].progress=(0,_.clamp)(0,1,t[n].interpolate(t[n].current))}(e,r,i)},notify:()=>t(r)}}(t,e,{time:0,x:m(),y:m()},i);if(o.add(n),!E.has(t)){let e=()=>{for(let e of o)e.measure(a.frameData.timestamp);a.frame.preUpdate(r)},r=()=>{for(let e of o)e.notify()},i=()=>a.frame.read(e);E.set(t,i);let n=M(t);window.addEventListener("resize",i),t!==document.documentElement&&A.set(t,(0,c.resize)(t,i)),n.addEventListener("scroll",i),i()}if(r&&!T.has(t)){let e=E.get(t),r={width:t.scrollWidth,height:t.scrollHeight};I.set(t,r);let i=a.frame.read(()=>{let i=t.scrollWidth,o=t.scrollHeight;(r.width!==i||r.height!==o)&&(e(),r.width=i,r.height=o)},!0);T.set(t,i)}let l=E.get(t);return a.frame.read(l,!1,!0),()=>{(0,a.cancelFrame)(l);let e=R.get(t);if(!e||(e.delete(n),e.size))return;let r=E.get(t);E.delete(t),r&&(M(t).removeEventListener("scroll",r),A.get(t)?.(),window.removeEventListener("resize",r));let i=T.get(t);i&&((0,a.cancelFrame)(i),T.delete(t)),I.delete(t)}}let P=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[L,"contain"]],C={start:0,end:1};function W(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of P)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=C[t[0]],i=C[t[1]];if(void 0!==r&&void 0!==i)return[r,i]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let i=r[e],o=t[e];if(i[0]!==o[0]||i[1]!==o[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let V=new Map;function k(e){let t={value:0},r=F(r=>
111{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function O({source:e,container:t,...r}){let{axis:i}=r;e&&(t=e);let o=V.get(t);o||(o=new Map,V.set(t,o));let n=r.target??"self",s=o.get(n);s||(s={},o.set(n,s));let a=i+(r.offset??[]).join(",");return s[a]||(r.target&&u(r.target)?W(r.offset)?s[a]=new ViewTimeline({subject:r.target,axis:i}):s[a]=k({container:t,...r}):u()?s[a]=new ScrollTimeline({source:t,axis:i}):s[a]=k({container:t,...r})),s[a]}function B(e,{axis:t="y",container:r=document.scrollingElement,...i}={}){let o,n,a;if(!r)return s.noop;let c={axis:t,container:r,...i};return"function"==typeof e?function(e,t){return 2===e.length||t&&(t.target||t.offset)?F(r=>{e(r[t.axis].progress,r)},t):l(e,O(t))}(e,c):(o=O(c),n=c.target?W(c.offset):void 0,a=c.target?u(c.target)&&!!n:u(),e.attachTimeline({timeline:a?o:void 0,...n&&a&&{rangeStart:n.rangeStart,rangeEnd:n.rangeEnd},observe:e=>(e.pause(),l(t=>{e.time=e.iterationDuration*t},o))}))}var N=e.i(30521),j=e.i(23413);let z=()=>({scrollX:(0,i.motionValue)(0),scrollY:(0,i.motionValue)(0),scrollXProgress:(0,i.motionValue)(0),scrollYProgress:(0,i.motionValue)(0)}),H=e=>!!e&&!e.current;function U(e,r,i,o){return{factory:n=>{let s,a=()=>{H(i)||H(o)?t.microtask.read(a):s=B(n,{...r,axis:e,container:i?.current||void 0,target:o?.current||void 0})};return t.microtask.read(a),()=>{(0,t.cancelMicrotask)(a),s?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}e.s(["useScroll",0,function({container:e,target:i,...s}={}){var a;let l=(0,N.useConstant)(z);a=s.offset,!("u"<typeof window)&&(i?(0,r.supportsViewTimeline)()&&!!W(a):(0,r.supportsScrollTimeline)())&&(l.scrollXProgress.accelerate=U("x",s,e,i),l.scrollYProgress.accelerate=U("y",s,e,i));let u=(0,n.useRef)(null),c=(0,n.useRef)(!1),f=(0,n.useCallback)(()=>(u.current=B((e,{x:t,y:r})=>{l.scrollX.set(t.current),l.scrollXProgress.set(t.progress),l.scrollY.set(r.current),l.scrollYProgress.set(r.progress)},{...s,container:e?.current||void 0,target:i?.current||void 0}),()=>{u.current?.()}),[e,i,JSON.stringify(s.offset)]);return(0,j.useIsomorphicLayoutEffect)(()=>{if(c.current=!1,!(H(e)||H(i)))return f();c.current=!0},[f]),(0,n.useEffect)(()=>{let r;if(!c.current)return;let n=()=>{let t=H(e),n=H(i);(0,o.invariant)(!t,"Container ref is defined but not hydrated","use-scroll-ref"),(0,o.invariant)(!n,"Target ref is defined but not hydrated","use-scroll-ref"),t||n||(r=f())};return t.microtask.read(n),()=>{(0,t.cancelMicrotask)(n),r?.()}},[f]),l}],44537);var $=e.i(85762);function D(e,t){let r=(0,$.useMotionValue)(t()),i=()=>r.set(t());return i(),(0,j.useIsomorphicLayoutEffect)(()=>{let t=()=>a.frame.preRender(i,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),(0,a.cancelFrame)(i)}}),r}function G(e,t){let r=(0,N.useConstant)(()=>[]);return D(e,()=>{r.length=0;let i=e.length;for(let t=0;t<i;t++)r[t]=e[t].get();return t(r)})}e.s(["useTransform",0,function e(t,r,o,n){if("function"==typeof t){let e;return i.collectMotionValues.current=[],t(),e=D(i.collectMotionValues.current,t),i.collectMotionValues.current=void 0,e}if(void 0!==o&&!Array.isArray(o)&&"function"!=typeof r){var s=t,a=r,l=o,u=n;let i=(0,N.useConstant)(()=>Object.keys(l)),c=(0,N.useConstant)(()=>({}));for(let t of i)c[t]=e(s,a,l[t],u);return c}let c="function"==typeof r?r:function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,i=e[0+r],o=e[1+r],n=e[2+r],s=e[3+r],a=(0,p.interpolate)(o,n,s);return t?a(i):a}(r,o,n),f=Array.isArray(t)?G(t,c):G([t],([e])=>c(e)),h=Array.isArray(t)?void 0:t.accelerate;return h&&!h.isTransformed&&"function"!=typeof r&&Array.isArray(o)&&n?.clamp!==!1&&(f.accelerate={...h,times:r,keyframes:o,isTransformed:!0,...n?.ease?{ease:n.ease}:{}}),f}],3595)},21883,e=>{"use strict";e.i(90029);var t=e.i(39362),r=e.i(14393),i=e.i(69878);function o(e){return"number"==typeof e?e:parseFloat(e)}var n=e.i(20),s=e.i(72511),a=e.i(85762),l=e.i(3595);e.s(["useSpring",0,function(e,u={}){return function(e,u={}){let{isStatic:c}=(0,n.useContext)(s.MotionConfigContext),f=()=>(0,r.isMotionValue)(e)?e.get():e;if(c)return(0,l.useTransform)(f);let h=(0,a.useMotionValue)(f());return(0,n.useInsertionEffect)(()=>(function(e,n,s={}){let a,l=e.get(),u=null,c=l,f="string"==typeof l?l.replace(/[\d.-]/g,""):void 0,h=()=>{u&&(u.stop(),u=null),e.animation=void 0},m=()=>{(()=>{let r=o(e.get()),i=o(c);if(r===i)return h();let n=u?u.getGeneratorVelocity():e.getVelocity();h(),u=new t.JSAnimation({keyframes:[r,i],velocity:n,type:"spring",restDelta:.001,restSpeed:.01,...s,onUp
111date:a})})(),e.animation=u??void 0,e.events.animationStart?.notify(),u?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{c=e,a=e=>{var r,i;return t((r=e,(i=f)?r+i:r))},i.frame.postRender(m)},h),(0,r.isMotionValue)(n)){let t=!0===s.skipInitialAnimation,r=n.on("change",r=>{var i,o,n,s;t?(t=!1,e.jump((i=r,(o=f)?i+o:i),!1)):e.set((n=r,(s=f)?n+s:n))}),i=e.on("destroy",r);return()=>{r(),i()}}return h})(h,e,u),[h,JSON.stringify(u)]),h}(e,{type:"spring",...u})}],21883)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.