PageSourceSearch

https://mstrade.pl/_next/static/immutable/chunks/2nit9g5cnzgtr.js

js mstrade.pl collected 2026-10-09 22:52:07 UTC 3,533 bytes, 36 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,931067,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}e.s(["default",()=>t])},859557,e=>{"use strict";var t=e.i(931067),n=e.i(190072),r=e.i(271645);function i(){let e=new n.BufferGeometry,t=new Float32Array([-1,-1,3,-1,-1,3]);return e.boundingSphere=new n.Sphere,e.boundingSphere.set(new n.Vector3,1/0),e.setAttribute("position",new n.BufferAttribute(t,2)),e}let u=r.forwardRef(function(e,n){let{children:u,...o}=e,c=r.useMemo(i,[]);return r.createElement("mesh",(0,t.default)({ref:n,geometry:c,frustumCulled:!1},o),u)});e.s(["ScreenQuad",0,u])},755838,(e,t,n)=>{"use strict";var r=e.r(271645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=r.useState,o=r.useEffect,c=r.useLayoutEffect,a=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var l="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=u({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return c(function(){i.value=n,i.getSnapshot=t,s(i)&&l({inst:i})},[e,n,t]),o(function(){return s(i)&&l({inst:i}),e(function(){s(i)&&l({inst:i})})},[e]),a(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},802239,(e,t,n)=>{"use strict";e.i(247167),t.exports=e.r(755838)},232237,e=>{"use strict";var t=e.i(843476),n=e.i(575056),r=e.i(925234),i=e.i(828600),u=e.i(859557),o=e.i(271645),c=e.i(190072);let a=`
2  varying vec2 vUv;
3  void main(){ vUv = uv; gl_Position = vec4(position.xy, 0.0, 1.0); }
4`,s=`
5  varying vec2 vUv;
6  uniform float uTime; uniform vec2 uMouse; uniform float uAspect;
7  float hash(vec2 p){ return fract(sin(dot(p, vec2(127.1,311.7)))*43758.5453); }
8  float noise(vec2 p){
9    vec2 i=floor(p), f=fract(p);
10    vec2 u=f*f*(3.0-2.0*f);
11    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);
12  }
13  float fbm(vec2 p){
14    float v=0.0, a=0.55;
15    for(int i=0;i<5;i++){ v+=a*noise(p); p=p*2.0+vec2(1.7,9.2); a*=0.5; }
16    return v;
17  }
18  void main(){
19    vec2 p=(vUv-0.5); p.x*=uAspect;
20    vec2 m=(uMouse-0.5); m.x*=uAspect;
21    float t=uTime*0.05;
22    vec2 q=vec2(fbm(p*1.5+t), fbm(p*1.5+vec2(3.1,1.7)-t));
23    float n=fbm(p*1.8 + 1.6*q + m*0.4);
24    float ribbon=sin(p.y*2.2 + n*4.0 + uTime*0.22)*0.5+0.5;
25    ribbon=pow(ribbon, 2.3);
26    vec3 cyan=vec3(0.05,0.85,1.0);
27    vec3 violet=vec3(0.45,0.35,1.0);
28    vec3 col=mix(cyan, violet, clamp(n,0.0,1.0))*ribbon;
29    float md=length(p-m);
30    col += cyan*smoothstep(0.7,0.0,md)*0.30;
31    float r=length(p);
32    col *= 0.55;
33    col *= smoothstep(1.4,0.25,r);
34    gl_FragColor=vec4(col,1.0);
35  }
36`;function l(){let e=(0,o.useRef)(null),{pointer:n,size:l}=(0,i.useThree)(),v=(0,o.useMemo)(()=>({uTime:{value:0},uMouse:{value:new c.Vector2(.5,.5)},uAspect:{value:1}}),[]),f=(0,o.useMemo)(()=>new c.Vector2,[]);return(0,r.useFrame)(e=>{v.uTime.value=e.clock.elapsedTime,f.set(.5*n.x+.5,.5*n.y+.5),v.uMouse.value.lerp(f,.05),v.uAspect.value=l.width/l.height}),(0,t.jsx)(u.ScreenQuad,{children:(0,t.jsx)("shaderMaterial",{ref:e,uniforms:v,vertexShader:a,fragmentShader:s})})}e.s(["default",0,function(e){let{quality:r="high"}=e;return(0,t.jsx)(n.Canvas,{dpr:"low"===r?[1,1.4]:[1,2],gl:{antialias:!1},camera:{position:[0,0,1]},children:(0,t.jsx)(l,{})})}])},604371,function(e){e.n(e.i(232237))}]);

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.