PageSourceSearch

https://www.kast.xyz/_next/static/chunks/0-uf-ajwe323p.js

js kast.xyz collected 2026-09-24 21:01:00 UTC 4,452 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,744724,t=>{"use strict";var e=t.i(219346),l=t.i(108104),a=t.i(292445);let r={vimeo:t=>`https://player.vimeo.com/video/${t}?autoplay=1&muted=1&playsinline=1&title=0&byline=0&portrait=0&dnt=1`,youtube:t=>`https://www.youtube-nocookie.com/embed/${t}?autoplay=1&mute=1&playsinline=1&rel=0&modestbranding=1`};t.s(["default",0,({videoId:t,provider:i,title:n,poster:o})=>{let u=(0,l.useRef)(null),[s,h]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let t=u.current;if(!t)return;let e=new IntersectionObserver(([t])=>{t.isIntersecting&&(h(!0),e.disconnect())},{rootMargin:"200px"});return e.observe(t),()=>e.disconnect()},[]),(0,e.jsxs)("div",{ref:u,className:"absolute inset-0",children:[!!o&&(0,e.jsx)(a.default,{src:o,alt:"",fill:!0,sizes:"(min-width: 1024px) 80vw, 100vw",quality:100,className:"object-cover"}),s&&(0,e.jsx)("iframe",{src:r[i](t),title:n,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 size-full border-0"})]})}])},994440,t=>{"use strict";var e=t.i(219346),l=t.i(108104),a=t.i(97038);let r=2*Math.PI/140,i=23*Math.PI/180,n=2*Math.PI,o=(t,e)=>({x:t.y*e.z-t.z*e.y,y:t.z*e.x-t.x*e.z,z:t.x*e.y-t.y*e.x}),u=t=>{let e=Math.hypot(t.x,t.y,t.z)||1;return{x:t.x/e,y:t.y/e,z:t.z/e}},s=t=>{let e=2*t()-1,l=t()*n,a=Math.sqrt(Math.max(1-e*e,0));return{x:Math.cos(l)*a,y:e,z:Math.sin(l)*a}},h=(t,e,l)=>{let a=u(o(.9>Math.abs(t.y)?{x:0,y:1,z:0}:{x:1,y:0,z:0},t)),r=o(t,a),i=Math.cos(l)*e,n=Math.sin(l)*e;return u({x:t.x+a.x*i+r.x*n,y:t.y+a.y*i+r.y*n,z:t.z+a.z*i+r.z*n})},c=(t,e,l)=>Math.sin(t.x*e+l)*Math.sin(t.y*e*.87-l)*Math.sin(t.z*e*1.13+.5*l),d=t=>c(t,1.9,1.7)+.55*c(t,4.1,-2.2)+.3*c(t,8.3,.9),m=t=>(1-Math.pow(Math.abs(t.y),4))*(.45+.55*(.5+.5*c(t,3.3,.4)));t.s(["default",0,({className:t,density:o=1,dotScale:u=1,metroDensity:c=1})=>{let f=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let t=f.current;if(!t)return;let e=t.getContext("2d");if(!e)return;let l=((t,e)=>{let l,a=(l=24225,()=>{l|=0;let t=Math.imul((l=l+0x6d2b79f5|0)^l>>>15,1|l);return(((t=t+Math.imul(t^t>>>7,61|t)^t)^t>>>14)>>>0)/0x100000000}),r=[],i=Math.round(38e3*t),o=Math.max(1,Math.round(120*e)),u=[],c=0;for(;u.length<o&&c<500*o;){c+=1;let t=s(a);-.15>d(t)||a()>m(t)||u.push(t)}let f=u.map(()=>Math.pow(a(),2)),p=f.reduce((t,e)=>t+e,0)||1,g=Math.round(.62*i);u.forEach((t,e)=>{let l=f[e]/p,i=Math.round(g*l),o=.08*(.5+l*u.length*.6);for(let e=0;e<i;e+=1){let e=-Math.log(1-a())*o,l=h(t,e,a()*n),i=.44+.56*Math.exp(-e/o)*(.55+.45*a());r.push({...l,magnitude:Math.min(i,1)})}}),c=0;let M=0,y=i-r.length;for(;M<y&&c<60*y;){c+=1;let t=s(a);-.15>d(t)||(r.push({...t,magnitude:.44+.26*a()}),M+=1)}return r})(o,c),a=window.matchMedia("(prefers-reduced-motion: reduce)"),p=0,g=0,M=0,y="",x="255, 255, 255",b=null,w=()=>{let{width:a,height:r}=t.getBoundingClientRect();if(!a||!r)return;let o=Math.min(window.devicePixelRatio||1,2);t.width!==Math.round(a*o)&&(t.width=Math.round(a*o),t.height=Math.round(r*o));let s=getComputedStyle(t),h=s.color;if(h!==y){let t;y=h,b=(t=>{let e=document.createElement("canvas");e.width=64,e.height=64;let l=e.getContext("2d");if(!l)return null;let a=l.createRadialGradient(32,32,0,32,32,32);return a.addColorStop(0,`rgba(${t}, 0.8)`),a.addColorStop(.2,`rgba(${t}, 0.28)`),a.addColorStop(.5,`rgba(${t}, 0.06)`),a.addColorStop(1,`rgba(${t}, 0)`),l.fillStyle=a,l.fillRect(0,0,64,64),e})(x=(t=h.match(/[\d.]+/g))&&t.length>=3?t.slice(0,3).join(", "):"255, 255, 255")}let c=Number.parseFloat(s.getPropertyValue("--dot-scale"))||1;e.setTransform(o,0,0,o,0,0),e.globalCompositeOperation="source-over",e.globalAlpha=1,e.clearRect(0,0,a,r);let d=a/2,m=a/2,f=Math.sin(i),g=Math.cos(i),M=Math.sin(p),w=Math.cos(p);e.globalCompositeOperation="lighter",e.fillStyle=`rgb(${x})`;let z=u*c,v=(o>1?1.2:1.38)*z;for(let t of l){let l=t.x*w-t.z*M,a=t.x*M+t.z*w,i=t.y*g-a*f,o=t.y*f+a*g;if(o<0)continue;let u=d-i*d;if(u>r+2)continue;let s=m+l*d,h=.72+(1-o)*.28,c=Math.min(t.magnitude*h*1.3,1);if(e.globalAlpha=c,e.beginPath(),e.arc(s,u,v*(.75+.8*t.magnitude),0,n),e.fill(),b&&t.magnitude>.72){let l=9*t.magnitude*z;e.globalAlpha=.4*c,e.drawImage(b,s-l/2,u-l/2,l,l)}}},z=t=>{let e=M?(t-M)/1e3:0;M=t,a.matches||(p-=e*r),w(),g=requestAnimationFrame(z)};return w(),g=requestAnimationFrame(z),()=>cancelAnimationFrame(g)}
1,[o,u,c]),(0,e.jsx)("canvas",{ref:f,"aria-hidden":!0,className:(0,a.cn)("h-full w-full",t)})}])}]);

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.