1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13],{9145:(e,n,t)=>{"use strict";t.d(n,{ProgressiveBlur:()=>l});var o=t(69403),r=t(89038),i=t(98581);let s={top:0,right:90,bottom:180,left:270},a="progressive-blur_".concat(Math.random().toString(36).substring(7));function l(e){let{direction:n="bottom",blurLayers:t=8,className:l,blurIntensity:d=.25,...u}=e,c=Math.max(t,2),f=1/(t+1);return(0,o.jsx)("div",{className:(0,r.A)("relative",l),children:Array.from({length:c}).map((e,t)=>{let r=s[n],l=[t*f,(t+1)*f,(t+2)*f,(t+3)*f].map((e,n)=>"rgba(255, 255, 255, ".concat(+(1===n||2===n),") ").concat(100*e,"%")),c="linear-gradient(".concat(r,"deg, ").concat(l.join(", "),")");return(0,o.jsx)(i.P.div,{className:"pointer-events-none absolute inset-0 rounded-[inherit]",style:{maskImage:c,WebkitMaskImage:c,backdropFilter:"blur(".concat(t*d,"px)"),WebkitBackdropFilter:"blur(".concat(t*d,"px)")},...u},"".concat(a,"-").concat(+t))})})}},14397:(e,n,t)=>{"use strict";t.r(n),t.d(n,{Scene:()=>s});var o=t(69403),r=t(55777),i=t(98554);let s=()=>(0,o.jsx)("div",{className:"!fixed !inset-0 -z-10 max-xl:hidden",children:(0,o.jsx)(r.Hl,{orthographic:!0,dpr:[1,2],
1camera:{position:[0,0,1],zoom:1,near:.1,far:1e3},children:(0,o.jsx)(i.ShaderPlane,{})})})},15572:(e,n,t)=>{Promise.resolve().then(t.t.bind(t,7612,23)),Promise.resolve().then(t.bind(t,14397)),Promise.resolve().then(t.bind(t,98554)),Promise.resolve().then(t.bind(t,9145))},98554:(e,n,t)=>{"use strict";t.r(n),t.d(n,{ShaderPlane:()=>a});var o=t(69403),r=t(93035),i=t(59103),s=t(73974);let a=()=>{let e=(0,r.useRef)(null),{size:n,gl:t}=(0,s.C)(),a=(0,r.useRef)(new i.I9Y),l=(0,r.useRef)(new i.I9Y),d=(0,r.useMemo)(()=>new i.I9Y(n.width,n.height),[n]),u=Math.min(window.devicePixelRatio,2),c=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{a.current.set(e.clientX,e.clientY)};return window.addEventListener("mousemove",e),window.addEventListener("pointermove",e),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("pointermove",e)}},[]),(0,r.useEffect)(()=>{d.set(n.width,n.height).multiplyScalar(u),e.current&&e.current.scale.set(n.width,n.height,1),c.current&&(c.current.uniforms.u_pixelRatio.value=u,c.current.uniforms.u_resolution.value=d)},[n,u,d]),(0,s.D)((e,n)=>{l.current.lerp(a.current,1-Math.exp(-8*n)),c.current&&(c.current.uniforms.u_mouse.value=l.current)});let f=(0,r.useMemo)(()=>new i.BKk({vertexShader:"\n varying vec2 v_texcoord;\n\n void main() {\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n v_texcoord = uv;\n }\n",fragmentShader:"\n varying vec2 v_texcoord;\n\n uniform vec2 u_mouse;\n uniform vec2 u_resolution;\n uniform float u_pixelRatio;\n\n /* common constants */\n #ifndef PI\n #define PI 3.1415926535897932384626433832795\n #endif\n #ifndef TWO_PI\n #define TWO_PI 6.2831853071795864769252867665590\n #endif\n\n /* variation constant */\n #ifndef VAR\n #define VAR 0\n #endif\n\n /* Coordinate and unit utils */\n #ifndef FNC_COORD\n #define FNC_COORD\n\n vec2 coord(in vec2 p) {\n p = p / u_resolution.xy;\n // correct aspect ratio\n if(u_resolution.x > u_resolution.y) {\n p.x *= u_resolution.x / u_resolution.y;\n p.x += (u_resolution.y - u_resolution.x) / u_resolution.y / 2.0;\n } else {\n p.y *= u_resolution.y / u_resolution.x;\n p.y += (u_resolution.x - u_resolution.y) / u_resolution.x / 2.0;\n }\n // centering\n p -= 0.5;\n p *= vec2(-1.0, 1.0);\n return p;\n }\n #endif\n\n #define st0 coord(gl_FragCoord.xy)\n #define mx coord(u_mouse * u_pixelRatio)\n\n /* signed distance functions */\n float sdRoundRect(vec2 p, vec2 b, float r) {\n vec2 d = abs(p - 0.5) * 4.2 - b + vec2(r);\n return min(max(d.x, d.y), 0.0) + length(max(d, 0.0)) - r;\n }\n float sdCircle(in vec2 st, in vec2 center) {\n return length(st - center) * 2.0;\n }\n float sdPoly(in vec2 p, in float w, in int sides) {\n float a = atan(p.x, p.y) + PI;\n float r = TWO_PI / float(sides);\n float d = cos(floor(0.5 + a / r) * r - a) * length(max(abs(p) * 1.0, 0.0));\n return d * 2.0 - w;\n }\n\n /* antialiased step function */\n float aastep(float threshold, float value) {\n float afwidth = length(vec2(dFdx(value), dFdy(value))) * 0.70710678118654757;\n return smoothstep(threshold - afwidth, threshold + afwidth, value);\n }\n /* Signed distance drawing methods */\n float fill(in float x) {\n return 1.0 - aastep(0.0, x);\n }\n float fill(float x, float size, float edge) {\n return 1.0 - smoothstep(size - edge, size + edge, x);\n }\n\n float stroke(in float d, in float t) {\n return (1.0 - aastep(t, abs(d)));\n }\n float stroke(float x, float size, float w, float edge) {\n float d = smoothstep(size - edge, size + edge, x + w * 0.5) - smoothstep(size - edge, size + edge, x - w * 0.5);\n return clamp(d, 0.0, 1.0);\n }\n\n void main() {\n vec2 pixel = 1.0 / u_resolution.xy;\n vec2 st = st0 + 0.5;\n vec2 posMouse = mx * vec2(1., -1.) + 0.5;\n\n /* sdf (Round Rect) params */\n float size = 1.2;
1\n float roundness = 0.4;\n float borderSize = 0.05;\n\n /* sdf Circle params */\n float circleSize = 0.3;\n float circleEdge = 0.5;\n\n /* sdf Circle */\n float sdfCircle = fill(sdCircle(st, posMouse), circleSize, circleEdge);\n\n float sdf;\n sdf = sdCircle(st, vec2(0.05, 0.5));\n sdf = fill(sdf, 0.6, sdfCircle) * 1.2;\n sdf = stroke(sdf, 0.58, 0.02, sdfCircle) * 4.0;\n\n vec3 color = vec3(sdf);\n gl_FragColor = vec4(color.rgb, 1.0);\n }\n",uniforms:{u_mouse:{value:l.current},u_resolution:{value:d},u_pixelRatio:{value:u}},transparent:!0}),[d,u]);return(0,o.jsxs)("mesh",{ref:e,children:[(0,o.jsx)("planeGeometry",{args:[1,1]}),(0,o.jsx)("primitive",{object:f,attach:"material",ref:c})]})}}},e=>{var n=n=>e(e.s=n);e.O(0,[4755,8683,9790,7612,6940,4472,1976,7358],()=>n(15572)),_N_E=e.O()}]);
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.