PageSourceSearch

https://smilebot.ai/_next/static/chunks/3174.a23fecfc4c737638.js

js smilebot.ai collected 2026-10-05 15:07:11 UTC 3,212 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="adfcb0d8-bbe0-46e1-a591-c07accc5752d",e._sentryDebugIdIdentifier="sentry-dbid-adfcb0d8-bbe0-46e1-a591-c07accc5752d")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3174],{3174:(e,t,r)=>{r.d(t,{STLLoader:()=>o});var n=r(97650);class o extends n.aHM{constructor(e){super(e)}load(e,t,r,o){let a=this,l=new n.Y9S(this.manager);l.setPath(this.path),l.setResponseType("arraybuffer"),l.setRequestHeader(this.requestHeader),l.setWithCredentials(this.withCredentials),l.load(e,function(r){try{t(a.parse(r))}catch(t){o?o(t):console.error(t),a.manager.itemError(e)}},r,o)}parse(e){let t=function(e){if("string"!=typeof e)return e;{let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=255&e.charCodeAt(r);return t.buffer||t}}(e);return!function(e){let t=new DataView(e);if(84+50*t.getUint32(80,!0)===t.byteLength)return!0;let r=[115,111,108,105,100];for(let e=0;e<5;e++)if(function(e,t,r){for(let n=0,o=e.length;n<o;n++)if(e[n]!==t.getUint8(r+n))return!1;return!0}(r,t,e))return!1;return!0}(t)?function(e){let t,r=new n.LoY,o=/solid([\s\S]*?)endsolid/g,a=/facet([\s\S]*?)endfacet/g,l=/solid\s(.+)/,s=0,i=/[\s]+([+-]?(?:\d*)(?:\.\d*)?(?:[eE][+-]?\d+)?)/.source,u=RegExp("vertex"+i+i+i,"g"),f=RegExp("normal"+i+i+i,"g"),c=[],g=[],d=[],h=new n.Pq0,p=0,w=0,b=0;for(;null!==(t=o.exec(e));){w=b;let e=t[0],n=null!==(t=l.exec(e))?t[1]:"";for(d.push(n);null!==(t=a.exec(e));){let e=0,r=0,n=t[0];for(;null!==(t=f.exec(n));)h.x=parseFloat(t[1]),h.y=parseFloat(t[2]),h.z=parseFloat(t[3]),r++;for(;null!==(t=u.exec(n));)c.push(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3])),g.push(h.x,h.y,h.z),e++,b++;1!==r&&console.error("THREE.STLLoader: Something isn't right with the normal of face number "+s),3!==e&&console.error("THREE.STLLoader: Something isn't right with the vertices of face number "+s),s++}let o=w,i=b-w;r.userData.groupNames=d,r.addGroup(o,i,p),p++}return r.setAttribute("position",new n.qtW(c,3)),r.setAttribute("normal",new n.qtW(g,3)),r}("string"!=typeof e?new TextDecoder().decode(e):e):function(e){let t,r,o,a,l=new DataView(e),s=l.getUint32(80,!0),i,u,f,c=!1,g;for(let e=0;e<70;e++)0x434f4c4f==l.getUint32(e,!1)&&82==l.getUint8(e+4)&&61==l.getUint8(e+5)&&(c=!0,g=new Float32Array(3*s*3),t=l.getUint8(e+6)/255,r=l.getUint8(e+7)/255,o=l.getUint8(e+8)/255,a=l.getUint8(e+9)/255);let d=new n.LoY,h=new Float32Array(3*s*3),p=new Float32Array(3*s*3),w=new n.Q1f;for(let e=0;e<s;e++){let a=84+50*e,s=l.getFloat32(a,!0),d=l.getFloat32(a+4,!0),b=l.getFloat32(a+8,!0);if(c){let e=l.getUint16(a+48,!0);(32768&e)==0?(i=(31&e)/31,u=(e>>5&31)/31,f=(e>>10&31)/31):(i=t,u=r,f=o)}for(let t=1;t<=3;t++){let r=a+12*t,o=3*e*3+(t-1)*3;h[o]=l.getFloat32(r,!0),h[o+1]=l.getFloat32(r+4,!0),h[o+2]=l.getFloat32(r+8,!0),p[o]=s,p[o+1]=d,p[o+2]=b,c&&(w.setRGB(i,u,f,n.er$),g[o]=w.r,g[o+1]=w.g,g[o+2]=w.b)}}return d.setAttribute("position",new n.THS(h,3)),d.setAttribute("normal",new n.THS(p,3)),c&&(d.setAttribute("color",new n.THS(g,3)),d.hasColors=!0,d.alpha=a),d}(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.