PageSourceSearch

https://youhanasheriff.com/_next/static/chunks/8745.409a39b42968a874.js

js youhanasheriff.com collected 2026-10-05 06:59:29 UTC 1,804 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8745],{58745:(t,e,s)=>{s.d(e,{RoundedBoxGeometry:()=>n});var a=s(85339);let i=new a.Pq0;function r(t,e,s,a,r,n){let h=2*Math.PI*r/4,o=Math.max(n-2*r,0),u=Math.PI/4;i.copy(e),i[a]=0,i.normalize();let l=.5*h/(h+o),y=1-i.angleTo(t)/u;return 1===Math.sign(i[s])?y*l:o/(h+o)+l+l*(1-y)}class n extends a.iNn{constructor(t=1,e=1,s=1,i=2,n=.1){let h=2*i+1;if(n=Math.min(t/2,e/2,s/2,n),super(1,1,1,h,h,h),this.type="RoundedBoxGeometry",this.parameters={width:t,height:e,depth:s,segments:i,radius:n},1===h)return;let o=this.toNonIndexed();this.index=null,this.attributes.position=o.attributes.position,this.attributes.normal=o.attributes.normal,this.attributes.uv=o.attributes.uv;let u=new a.Pq0,l=new a.Pq0,y=new a.Pq0(t,e,s).divideScalar(2).subScalar(n),x=this.attributes.position.array,c=this.attributes.normal.array,b=this.attributes.uv.array,d=x.length/6,z=new a.Pq0,g=.5/h;for(let a=0,i=0;a<x.length;a+=3,i+=2)switch(u.fromArray(x,a),l.copy(u),l.x-=Math.sign(l.x)*g,l.y-=Math.sign(l.y)*g,l.z-=Math.sign(l.z)*g,l.normalize(),x[a+0]=y.x*Math.sign(u.x)+l.x*n,x[a+1]=y.y*Math.sign(u.y)+l.y*n,x[a+2]=y.z*Math.sign(u.z)+l.z*n,c[a+0]=l.x,c[a+1]=l.y,c[a+2]=l.z,Math.floor(a/d)){case 0:z.set(1,0,0),b[i+0]=r(z,l,"z","y",n,s),b[i+1]=1-r(z,l,"y","z",n,e);break;case 1:z.set(-1,0,0),b[i+0]=1-r(z,l,"z","y",n,s),b[i+1]=1-r(z,l,"y","z",n,e);break;case 2:z.set(0,1,0),b[i+0]=1-r(z,l,"x","z",n,t),b[i+1]=r(z,l,"z","x",n,s);break;case 3:z.set(0,-1,0),b[i+0]=1-r(z,l,"x","z",n,t),b[i+1]=1-r(z,l,"z","x",n,s);break;case 4:z.set(0,0,1),b[i+0]=1-r(z,l,"x","y",n,t),b[i+1]=1-r(z,l,"y","x",n,e);break;case 5:z.set(0,0,-1),b[i+0]=r(z,l,"x","y",n,t),b[i+1]=1-r(z,l,"y","x",n,e)}}static fromJSON(t){return new n(t.width,t.height,t.depth,t.segments,t.radius)}}}}]);

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.