1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4273],{19653:function(t,e,i){i.d(e,{_:function(){return l}});var s=i(62035),r=i(48771),h=i(45647);function n(t,e){[...e].reverse().forEach(i=>{let s=t.getVariant(i);s&&(0,r.C)(t,s),t.variantChildren&&t.variantChildren.forEach(t=>{n(t,e)})})}function a(){let t=!1,e=new Set,i={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(i,r){(0,s.k)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let n=[];return e.forEach(t=>{n.push((0,h.d)(t,i,{transitionOverride:r}))}),Promise.all(n)},set:i=>((0,s.k)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{Array.isArray(i)?n(t,i):"string"==typeof i?n(t,[i]):(0,r.C)(t,i)})),stop(){e.forEach(t=>{!function(t){t.values.forEach(t=>t.stop())}(t)})},mount:()=>(t=!0,()=>{t=!1,i.stop()})};return i}var o=i(53576),u=i(11534);let l=function(){let t=(0,o.h)(a);return(0,u.L)(t.mount,[]),t}},63433:function(t,e,i){i.d(e,{Y:function(){return n}});var s=i(2265),r=i(45699);let h={some:0,all:1};function n(t,{root:e,margin:i,amount:n,once:a=!1}={}){let[o,u]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!t.current||a&&o)return;let s={root:e&&e.current||void 0,margin:i,amount:n};return function(t,e,{root:i,margin:s,amount:n="some"}={}){let a=(0,r.IG)(t),o=new WeakMap,u=new IntersectionObserver(t=>{t.forEach(t=>{let i=o.get(t.target);if(!!i!==t.isIntersecting){if(t.isIntersecting){let i=e(t);"function"==typeof i?o.set(t.target,i):u.unobserve(t.target)}else"function"==typeof i&&(i(t),o.delete(t.target))}})},{root:i,rootMargin:s,threshold:"number"==typeof n?n:h[n]});return a.forEach(t=>u.observe(t)),()=>u.disconnect()}(t.current,()=>(u(!0),a?void 0:()=>u(!1)),s)},[e,t,i,a,n]),o}},20559:function(t,e,i){i.d(e,{V:function(){return u}});var s=i(50186),r=i(71568),h=i(67382);let n=new r.y,a=new h.A,o=new h.A;class u extends s.w{constructor(t,{near:e=.1,far:i=100,fov:s=45,aspect:n=1,left:a,right:o,bottom:u,top:l,zoom:c=1}={}){super(),Object.assign(this,{near:e,far:i,fov:s,aspect:n,left:a,right:o,bottom:u,top:l,zoom:c}),this.projectionMatrix=new r.y,this.viewMatrix=new r.y,this.projectionViewMatrix=new r.y,this.worldPosition=new h.A,this.type=a||o?"orthographic":"perspective","orthographic"===this.type?this.orthographic():this.perspective()}perspective({near:t=this.near,far:e=this.far,fov:i=this.fov,aspect:s=this.aspect}={}){return Object.assign(this,{near:t,far:e,fov:i,aspect:s}),this.projectionMatrix.fromPerspective({fov:Math.PI/180*i,aspect:s,near:t,far:e}),this.type="perspective",this}orthographic({near:t=this.near,far:e=this.far,left:i=this.left||-1,right:s=this.right||1,bottom:r=this.bottom||-1,top:h=this.top||1,zoom:n=this.zoom}={}){return Object.assign(this,{near:t,far:e,left:i,right:s,bottom:r,top:h,zoom:n}),i/=n,s/=n,r/=n,h/=n,this.projectionMatrix.fromOrthogonal({left:i,right:s,bottom:r,top:h,near:t,far:e}),this.type="orthographic",this}updateMatrixWorld(){return super.updateMatrixWorld(),this.viewMatrix.inverse(this.worldMatrix),this.worldMatrix.getTranslation(this.worldPosition),this.projectionViewMatrix.multiply(this.projectionMatrix,this.viewMatrix),this}updateProjectionMatrix(){return"perspective"===this.type?this.perspective():this.orthographic()}lookAt(t){return super.lookAt(t,!0),this}project(t){return t.applyMatrix4(this.viewMatrix),t.applyMatrix4(this.projectionMatrix),this}unproject(t){return t.applyMatrix4(n.inverse(this.projectionMatrix)),t.applyMatrix4(this.worldMatrix),this}updateFrustum(){this.frustum||(this.frustum=[new h.A,new h.A,new h.A,new h.A,new h.A,new h.A]);let t=this.projectionViewMatrix;this.frustum[0].set(t[3]-t[0],t[7]-t[4],t[11]-t[8]).constant=t[15]-t[12],this.frustum[1].set(t[3]+t[0],t[7]+t[4],t[11]+t[8]).constant=t[15]+t[12],this.frustum[2].set(t[3]+t[1],t[7]+t[5],t[11]+t[9]).constant=t[15]+t[13],this.frustum[3].set(t[3]-t[1],t[7]-t[5],t[11]-t[9]).constant=t[15]-t[13],this.frustum[4].set(t[3]-t[2],t[7]-t[6],t[11]-t[10]).constant=t[15]-t[14],this.frustum[5].set(t[3]+t[2],t[7]+t[6],t[11]+t[10
1]).constant=t[15]+t[14];for(let t=0;t<6;t++){let e=1/this.frustum[t].distance();this.frustum[t].multiply(e),this.frustum[t].constant*=e}}frustumIntersectsMesh(t,e=t.worldMatrix){if(!t.geometry.attributes.position||(t.geometry.bounds&&t.geometry.bounds.radius!==1/0||t.geometry.computeBoundingSphere(),!t.geometry.bounds))return!0;a.copy(t.geometry.bounds.center),a.applyMatrix4(e);let i=t.geometry.bounds.radius*e.getMaxScaleOnAxis();return this.frustumIntersectsSphere(a,i)}frustumIntersectsSphere(t,e){for(let i=0;i<6;i++){let s=this.frustum[i];if(o.copy(s).dot(t)+s.constant<-e)return!1}return!0}}},88917:function(t,e,i){i.d(e,{Z:function(){return o}});var s=i(67382);let r=new s.A,h=1,n=1,a=!1;class o{constructor(t,e={}){for(let i in t.canvas||console.error("gl not passed as first argument to Geometry"),this.gl=t,this.attributes=e,this.id=h++,this.VAOs={},this.drawRange={start:0,count:0},this.instancedCount=0,this.gl.renderer.bindVertexArray(null),this.gl.renderer.currentGeometry=null,this.glState=this.gl.renderer.state,e)this.addAttribute(i,e[i])}addAttribute(t,e){if(this.attributes[t]=e,e.id=n++,e.size=e.size||1,e.type=e.type||(e.data.constructor===Float32Array?this.gl.FLOAT:e.data.constructor===Uint16Array?this.gl.UNSIGNED_SHORT:this.gl.UNSIGNED_INT),e.target="index"===t?this.gl.ELEMENT_ARRAY_BUFFER:this.gl.ARRAY_BUFFER,e.normalized=e.normalized||!1,e.stride=e.stride||0,e.offset=e.offset||0,e.count=e.count||(e.stride?e.data.byteLength/e.stride:e.data.length/e.size),e.divisor=e.instanced||0,e.needsUpdate=!1,e.usage=e.usage||this.gl.STATIC_DRAW,e.buffer||this.updateAttribute(e),e.divisor){if(this.isInstanced=!0,this.instancedCount&&this.instancedCount!==e.count*e.divisor)return console.warn("geometry has multiple instanced buffers of different length"),this.instancedCount=Math.min(this.instancedCount,e.count*e.divisor);this.instancedCount=e.count*e.divisor}else"index"===t?this.drawRange.count=e.count:this.attributes.index||(this.drawRange.count=Math.max(this.drawRange.count,e.count))}updateAttribute(t){let e=!t.buffer;e&&(t.buffer=this.gl.createBuffer()),this.glState.boundBuffer!==t.buffer&&(this.gl.bindBuffer(t.target,t.buffer),this.glState.boundBuffer=t.buffer),e?this.gl.bufferData(t.target,t.data,t.usage):this.gl.bufferSubData(t.target,0,t.data),t.needsUpdate=!1}setIndex(t){this.addAttribute("index",t)}setDrawRange(t,e){this.drawRange.start=t,this.drawRange.count=e}setInstancedCount(t){this.instancedCount=t}createVAO(t){this.VAOs[t.attributeOrder]=this.gl.renderer.createVertexArray(),this.gl.renderer.bindVertexArray(this.VAOs[t.attributeOrder]),this.bindAttributes(t)}bindAttributes(t){t.attributeLocations.forEach((t,{name:e,type:i})=>{if(!this.attributes[e]){console.warn(`active attribute ${e} not being supplied`);return}let s=this.attributes[e];this.gl.bindBuffer(s.target,s.buffer),this.glState.boundBuffer=s.buffer;let r=1;35674===i&&(r=2),35675===i&&(r=3),35676===i&&(r=4);let h=s.size/r,n=1===r?0:r*r*4,a=1===r?0:4*r;for(let e=0;e<r;e++)this.gl.vertexAttribPointer(t+e,h,s.type,s.normalized,s.stride+n,s.offset+e*a),this.gl.enableVertexAttribArray(t+e),this.gl.renderer.vertexAttribDivisor(t+e,s.divisor)}),this.attributes.index&&this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.attributes.index.buffer)}draw({program:t,mode:e=this.gl.TRIANGLES}){this.gl.renderer.currentGeometry!==`${this.id}_${t.attributeOrder}`&&(this.VAOs[t.attributeOrder]||this.createVAO(t),this.gl.renderer.bindVertexArray(this.VAOs[t.attributeOrder]),this.gl.renderer.currentGeometry=`${this.id}_${t.attributeOrder}`),t.attributeLocations.forEach((t,{name:e})=>{let i=this.attributes[e];i.needsUpdate&&this.updateAttribute(i)});let i=2;this.attributes.index?.type===this.gl.UNSIGNED_INT&&(i=4),this.isInstanced?this.attributes.index?this.gl.renderer.drawElementsInstanced(e,this.drawRange.count,this.attributes.index.type,this.attributes.index.offset+this.drawRange.start*i,this.instancedCount):this.gl.renderer.drawArraysInstanced(e,this.drawRange.start,this.drawRange.count,this.instancedCount):this.attributes.index?this.gl.drawElements(e,this.drawRange.count,this.attributes.index.type,this.attributes.index.offset+this.drawRange.start*i):this.gl.drawArrays(e,this.drawRange.start,this.drawRange.count)}getPosition(){let t=this.attributes.position;return t.data?t:a?void 0:(console.warn("No position buffer data found to compute bounds"),a=!0)}computeBoundingBox(t){t||(t=this.getPosition());let e=t.data,i=t.size;this.bounds||(this.bounds={min:new s.A,max:new s.A,center:new s.A,scale:new s.A,radius:1/0});let r=this.bounds.min,h=this.bounds.max,n=this.bounds.center,a=this.bounds.scale;r.set(Infinity),h.set(-1/0);for(let t=0,s=e.length;t<s;t+=i){let i=e[t],s=e[t+1],n=e[t+2];
1r.x=Math.min(i,r.x),r.y=Math.min(s,r.y),r.z=Math.min(n,r.z),h.x=Math.max(i,h.x),h.y=Math.max(s,h.y),h.z=Math.max(n,h.z)}a.sub(h,r),n.add(r,h).divide(2)}computeBoundingSphere(t){t||(t=this.getPosition());let e=t.data,i=t.size;this.bounds||this.computeBoundingBox(t);let s=0;for(let t=0,h=e.length;t<h;t+=i)r.fromArray(e,t),s=Math.max(s,this.bounds.center.squaredDistance(r));this.bounds.radius=Math.sqrt(s)}remove(){for(let t in this.VAOs)this.gl.renderer.deleteVertexArray(this.VAOs[t]),delete this.VAOs[t];for(let t in this.attributes)this.gl.deleteBuffer(this.attributes[t].buffer),delete this.attributes[t]}}},78145:function(t,e,i){i.d(e,{K:function(){return o}});var s=i(50186);function r(t,e,i){let s=e[0],r=e[1],h=e[2],n=e[3],a=e[4],o=e[5],u=e[6],l=e[7],c=e[8],d=i[0],g=i[1],f=i[2],p=i[3],m=i[4],x=i[5],b=i[6],M=i[7],E=i[8];return t[0]=d*s+g*n+f*u,t[1]=d*r+g*a+f*l,t[2]=d*h+g*o+f*c,t[3]=p*s+m*n+x*u,t[4]=p*r+m*a+x*l,t[5]=p*h+m*o+x*c,t[6]=b*s+M*n+E*u,t[7]=b*r+M*a+E*l,t[8]=b*h+M*o+E*c,t}class h extends Array{constructor(t=1,e=0,i=0,s=0,r=1,h=0,n=0,a=0,o=1){return super(t,e,i,s,r,h,n,a,o),this}set(t,e,i,s,r,h,n,a,o){return t.length?this.copy(t):(this[0]=t,this[1]=e,this[2]=i,this[3]=s,this[4]=r,this[5]=h,this[6]=n,this[7]=a,this[8]=o,this)}translate(t,e=this){let i,s,r,h,n,a,o,u,l,c,d;return i=e[0],s=e[1],r=e[2],h=e[3],n=e[4],a=e[5],o=e[6],u=e[7],l=e[8],c=t[0],d=t[1],this[0]=i,this[1]=s,this[2]=r,this[3]=h,this[4]=n,this[5
1]=a,this[6]=c*i+d*h+o,this[7]=c*s+d*n+u,this[8]=c*r+d*a+l,this}rotate(t,e=this){let i,s,r,h,n,a,o,u,l,c,d;return i=e[0],s=e[1],r=e[2],h=e[3],n=e[4],a=e[5],o=e[6],u=e[7],l=e[8],c=Math.sin(t),d=Math.cos(t),this[0]=d*i+c*h,this[1]=d*s+c*n,this[2]=d*r+c*a,this[3]=d*h-c*i,this[4]=d*n-c*s,this[5]=d*a-c*r,this[6]=o,this[7]=u,this[8]=l,this}scale(t,e=this){let i,s;return i=t[0],s=t[1],this[0]=i*e[0],this[1]=i*e[1],this[2]=i*e[2],this[3]=s*e[3],this[4]=s*e[4],this[5]=s*e[5],this[6]=e[6],this[7]=e[7],this[8]=e[8],this}multiply(t,e){return e?r(this,t,e):r(this,this,t),this}identity(){return this[0]=1,this[1]=0,this[2]=0,this[3]=0,this[4]=1,this[5]=0,this[6]=0,this[7]=0,this[8]=1,this}copy(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this[3]=t[3],this[4]=t[4],this[5]=t[5],this[6]=t[6],this[7]=t[7],this[8]=t[8],this}fromMatrix4(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this[3]=t[4],this[4]=t[5],this[5]=t[6],this[6]=t[8],this[7]=t[9],this[8]=t[10],this}fromQuaternion(t){let e,i,s,r,h,n,a,o,u,l,c,d,g,f,p,m;return e=t[0],i=t[1],s=t[2],r=t[3],h=e+e,n=i+i,a=s+s,o=e*h,u=i*h,l=i*n,c=s*h,d=s*n,g=s*a,f=r*h,p=r*n,m=r*a,this[0]=1-l-g,this[3]=u-m,this[6]=c+p,this[1]=u+m,this[4]=1-o-g,this[7]=d-f,this[2]=c-p,this[5]=d+f,this[8]=1-o-l,this}fromBasis(t,e,i){return this.set(t[0],t[1],t[2],e[0],e[1],e[2],i[0],i[1],i[2]),this}inverse(t=this){let e,i,s,r,h,n,a,o,u,l,c,d,g;return e=t[0],i=t[1],s=t[2],r=t[3],h=t[4],n=t[5],a=t[6],o=t[7],(g=e*(l=(u=t[8])*h-n*o)+i*(c=-u*r+n*a)+s*(d=o*r-h*a))&&(g=1/g,this[0]=l*g,this[1]=(-u*i+s*o)*g,this[2]=(n*i-s*h)*g,this[3]=c*g,this[4]=(u*e-s*a)*g,this[5]=(-n*e+s*r)*g,this[6]=d*g,this[7]=(-o*e+i*a)*g,this[8]=(h*e-i*r)*g),this}getNormalMatrix(t){let e,i,s,r,h,n,a,o,u,l,c,d,g,f,p,m,x,b,M,E,_,A,v,w,y,F,C,S,O;return e=t[0],i=t[1],s=t[2],r=t[3],h=t[4],n=t[5],a=t[6],o=t[7],u=t[8],l=t[9],c=t[10],d=t[11],g=t[12],f=t[13],p=t[14],m=t[15],x=e*n-i*h,b=e*a-s*h,M=e*o-r*h,E=i*a-s*n,_=i*o-r*n,A=s*o-r*a,v=u*f-l*g,w=u*p-c*g,y=u*m-d*g,F=l*p-c*f,C=l*m-d*f,(O=x*(S=c*m-d*p)-b*C+M*F+E*y-_*w+A*v)&&(O=1/O,this[0]=(n*S-a*C+o*F)*O,this[1]=(a*y-h*S-o*w)*O,this[2]=(h*C-n*y+o*v)*O,this[3]=(s*C-i*S-r*F)*O,this[4]=(e*S-s*y+r*w)*O,this[5]=(i*y-e*C-r*v)*O,this[6]=(f*A-p*_+m*E)*O,this[7]=(p*M-g*A-m*b)*O,this[8]=(g*_-f*M+m*x)*O),this}}var n=i(71568);let a=0;class o extends s.w{constructor(t,{geometry:e,program:i,mode:s=t.TRIANGLES,frustumCulled:r=!0,renderOrder:o=0}={}){super(),t.canvas||console.error("gl not passed as first argument to Mesh"),this.gl=t,this.id=a++,this.geometry=e,this.program=i,this.mode=s,this.frustumCulled=r,this.renderOrder=o,this.modelViewMatrix=new n.y,this.normalMatrix=new h,this.beforeRenderCallbacks=[],this.afterRenderCallbacks=[]}onBeforeRender(t){return this.beforeRenderCallbacks.push(t),this}onAfterRender(t){return this.afterRenderCallbacks.push(t),this}draw({camera:t}={}){t&&(this.program.uniforms.modelMatrix||Object.assign(this.program.uniforms,{modelMatrix:{value:null},viewMatrix:{value:null},modelViewMatrix:{value:null},normalMatrix:{value:null},projectionMatrix:{value:null},cameraPosition:{value:null}}),this.program.uniforms.projectionMatrix.value=t.projectionMatrix,this.program.uniforms.cameraPosition.value=t.worldPosition,this.program.uniforms.viewMatrix.value=t.viewMatrix,this.modelViewMatrix.multiply(t.viewMatrix,this.worldMatrix),this.normalMatrix.getNormalMatrix(this.modelViewMatrix),this.program.uniforms.modelMatrix.value=this.worldMatrix,this.program.uniforms.modelViewMatrix.value=this.modelViewMatrix,this.program.uniforms.normalMatrix.value=this.normalMatrix),this.beforeRenderCallbacks.forEach(e=>e&&e({mesh:this,camera:t}));let e=this.program.cullFace&&0>this.worldMatrix.determinant();this.program.use({flipFaces:e}),this.geometry.draw({mode:this.mode,program:this.program}),this.afterRenderCallbacks.forEach(e=>e&&e({mesh:this,camera:t}))}}},27422:function(t,e,i){i.d(e,{$:function(){return h}});let s=1,r={};class h{constructor(t,{vertex:e,fragment:i,uniforms:r={},transparent:h=!1,cullFace:n=t.BACK,frontFace:a=t.CCW,depthTest:o=!0,depthWrite:u=!0,depthFunc:l=t.LEQUAL}={}){t.canvas||console.error("gl not passed as first argument to Program"),this.gl=t,this.uniforms=r,this.id=s++,e||console.warn("vertex shader not supplied"),i||console.warn("fragment shader not supplied"),this.transparent=h,this.cullFace=n,this.frontFace=a,this.depthTest=o,this.depthWrite=u,this.depthFunc=l,this.blendFunc={},this.blendEquation={},this.stencilFunc={},this.stencilOp={},this.transparent&&!this.blendFunc.src&&(this.gl.renderer.premultipliedAlpha?this.setBlendFunc(this.gl.ONE,this.gl.ONE_MINUS_SRC_ALPHA):this.setBlendFunc(this.gl.SRC_ALPHA,this.gl.ONE_MINUS_SRC_ALPHA)),this.vertexShader=t.createShader(t.VERTEX_SHADER),this.fragmentShader=t.createShader(t.FRAGMENT_SHADER),this.program=t.createProgram(),t.attachShader(this.program,this.vertexShader),t.attachShader(this.program,this.fragmentShader),this.setShaders({vertex:e,fragment:i})}setShaders({vertex:t,fragment:e}){if(t&&(this.gl.shaderSource(this.vertexShader,t),this.gl.compileShader(this.vertexShader),""!==this.gl.getShaderInfoLog(this.vertexShader)&&console.warn(`${this.gl.getShaderInfoLog(this.vertexShader)} 2Vertex Shader 3${a(t)}`)),e&&(this.gl.shaderSource(this.fragmentShader,e),this.gl.compileShader(this.fragmentShader),""!==this.gl.getShaderInfoLog(this.fragmentShader)&&console.warn(`${this.gl.getShaderInfoLog(this.fragmentShader)} 4Fragment Shader 5${a(e)}`)),this.gl.linkProgram(this.program),!this.gl.getProgramParameter(this.program,this.gl.LINK_STATUS))return console.warn(this.gl.getProgramInfoLog(this.program));this.uniformLocations=new Map;let i=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_UNIFORMS);for(let t=0;t<i;t++){let e=this.gl.getActiveUniform(this.program,t);this.uniformLocations.set(e,this.gl.getUniformLocation(this.program,e.name));let i=e.name.match(/(\w+)/g);e.uniformName=i[0],e.nameComponents=i.slice(1)}this.attributeLocations=new Map;let s=[],r=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_ATTRIBUTES);for(let t=0;t<r;t++){let e=this.gl.getActiveAttrib(this.program,t),i=this.gl.getAttribLocation(this.program,e.name);-1!==i&&(s[i]=e.name,this.attributeLocations.set(e,i))}this.attributeOrder=s.join("")}setBlendFunc(t,e,i,s){this.blendFunc.src=t,this.blendFunc.dst=e,this.blendFunc.srcAlpha=i,this.blendFunc.dstAlpha=s,t&&(this.transparent=!0)}setBlendEquation(t,e){this.blendEquation.modeRGB=t,this.blendEquation.modeAlpha=e}setStencilFunc(t,e,i){this.stencilRef=e,this.stencilFunc.func=t,this.stencilFunc.ref=e,this.stencilFunc.mask=i}setStencilOp(t,e,i){this.stencilOp.stencilFail=t,this.stencilOp.depthFail=e,this.stencilOp.depthPass=i}applyState(){this.depthTest?this.gl.renderer.enable(this.gl.DEPTH_TEST):this.gl.renderer.disable(this.gl.DEPTH_TEST),this.cullFace?this.gl.renderer.enable(this.gl.CULL_FACE):this.gl.renderer.disable(this.gl.CULL_FACE),this.blendFunc.src?this.gl.renderer.enable(this.gl.BLEND):this.gl.renderer.disable(this.gl.BLEND),this.cullFace&&this.gl.renderer.setCullFace(this.cullFace),this.gl.renderer.setFrontFace(this.frontFace),this.gl.renderer.setDepthMask(this.depthWrite),this.gl.renderer.setDepthFunc(this.depthFunc),this.blendFunc.src&&this.gl.renderer.setBlendFunc(this.blendFunc.src,this.blendFunc.dst,this.blendFunc.srcAlpha,this.blendFunc.dstAlpha),this.gl.renderer.setBlendEquation(this.blendEquation.modeRGB,this.blendEquation.modeAlpha),this.stencilFunc.func||this.stencilOp.stencilFail?this.gl.renderer.enable(this.gl.STENCIL_TEST):this.gl.renderer.disable(this.gl.STENCIL_TEST),this.gl.renderer.setStencilFunc(this.stencilFunc.func,this.stencilFunc.ref,this.stencilFunc.mask),this.gl.renderer.setStencilOp(this.stencilOp.stencilFail,this.stencilOp.depthFail,this.stencilOp.depthPass)}use({flipFaces:t=!1}={}){let e=-1;this.gl.renderer.state.currentProgram!==this.id&&(this.gl.useProgram(this.program),this.gl.renderer.state.currentProgram=this.id
5),this.uniformLocations.forEach((t,i)=>{let s=this.uniforms[i.uniformName];for(let t of i.nameComponents){if(!s)break;if(t in s)s=s[t];else if(Array.isArray(s.value))break;else{s=void 0;break}}if(!s)return u(`Active uniform ${i.name} has not been supplied`);if(s&&void 0===s.value)return u(`${i.name} uniform is missing a value parameter`);if(s.value.texture)return e+=1,s.value.update(e),n(this.gl,i.type,t,e);if(s.value.length&&s.value[0].texture){let r=[];return s.value.forEach(t=>{e+=1,t.update(e),r.push(e)}),n(this.gl,i.type,t,r)}n(this.gl,i.type,t,s.value)}),this.applyState(),t&&this.gl.renderer.setFrontFace(this.frontFace===this.gl.CCW?this.gl.CW:this.gl.CCW)}remove(){this.gl.deleteProgram(this.program)}}function n(t,e,i,s){s=s.length?function(t){let e=t.length,i=t[0].length;if(void 0===i)return t;let s=e*i,h=r[s];h||(r[s]=h=new Float32Array(s));for(let s=0;s<e;s++)h.set(t[s],s*i);return h}(s):s;let h=t.renderer.state.uniformLocations.get(i);if(s.length){if(void 0===h||h.length!==s.length)t.renderer.state.uniformLocations.set(i,s.slice(0));else{if(function(t,e){if(t.length!==e.length)return!1;for(let i=0,s=t.length;i<s;i++)if(t[i]!==e[i])return!1;return!0}(h,s))return;h.set?h.set(s):function(t,e){for(let i=0,s=t.length;i<s;i++)t[i]=e[i]}(h,s),t.renderer.state.uniformLocations.set(i,h)}}else{if(h===s)return;t.renderer.state.uniformLocations.set(i,s)}switch(e){case 5126:return s.length?t.uniform1fv(i,s):t.uniform1f(i,s);case 35664:return t.uniform2fv(i,s);case 35665:return t.uniform3fv(i,s);case 35666:return t.uniform4fv(i,s);case 35670:case 5124:case 35678:case 36306:case 35680:case 36289:return s.length?t.uniform1iv(i,s):t.uniform1i(i,s);case 35671:case 35667:return t.uniform2iv(i,s);case 35672:case 35668:return t.uniform3iv(i,s);case 35673:case 35669:return t.uniform4iv(i,s);case 35674:return t.uniformMatrix2fv(i,!1,s);case 35675:return t.uniformMatrix3fv(i,!1,s);case 35676:return t.uniformMatrix4fv(i,!1,s)}}function a(t){let e=t.split("\n");for(let t=0;t<e.length;t++)e[t]=t+1+": "+e[t];return e.join("\n")}let o=0;function u(t){!(o>100)&&(console.warn(t),++o>100&&console.warn("More than 100 program warnings - stopping logs."))}},48766:function(t,e,i){i.d(e,{T:function(){return h}});let s=new(i(67382)).A,r=1;class h{constructor({canvas:t=document.createElement("canvas"),width:e=300,height:i=150,dpr:s=1,alpha:h=!1,depth:n=!0,stencil:a=!1,antialias:o=!1,premultipliedAlpha:u=!1,preserveDrawingBuffer:l=!1,powerPreference:c="default",autoClear:d=!0,webgl:g=2}={}){let f={alpha:h,depth:n,stencil:a,antialias:o,premultipliedAlpha:u,preserveDrawingBuffer:l,powerPreference:c};this.dpr=s,this.alpha=h,this.color=!0,this.depth=n,this.stencil=a,this.premultipliedAlpha=u,this.autoClear=d,this.id=r++,2===g&&(this.gl=t.getContext("webgl2",f)),this.isWebgl2=!!this.gl,this.gl||(this.gl=t.getContext("webgl",f)),this.gl||console.error("unable to create webgl context"),this.gl.renderer=this,this.setSize(e,i),this.state={},this.state.blendFunc={src:this.gl.ONE,dst:this.gl.ZERO},this.state.blendEquation={modeRGB:this.gl.FUNC_ADD},this.state.cullFace=!1,this.state.frontFace=this.gl.CCW,this.state.depthMask=!0,this.state.depthFunc=this.gl.LEQUAL,this.state.premultiplyAlpha=!1,this.state.flipY=!1,this.state.unpackAlignment=4,this.state.framebuffer=null,this.state.viewport={x:0,y:0,width:null,height:null},this.state.textureUnits=[],this.state.activeTextureUnit=0,this.state.boundBuffer=null,this.state.uniformLocations=new Map,this.state.currentProgram=null,this.extensions={},this.isWebgl2?(this.getExtension("EXT_color_buffer_float"),this.getExtension("OES_texture_float_linear")):(this.getExtension("OES_texture_float"),this.getExtension("OES_texture_float_linear"),this.getExtension("OES_texture_half_float"),this.getExtension("OES_texture_half_float_linear"),this.getExtension("OES_element_index_uint"),this.getExtension("OES_standard_derivatives"),this.getExtension("EXT_sRGB"),this.getExtension("WEBGL_depth_texture"),this.getExtension("WEBGL_draw_buffers")),this.getExtension("WEBGL_compressed_texture_astc"),this.getExtension("EXT_texture_compression_bptc"),this.getExtension("WEBGL_compressed_texture_s3tc"),this.getExtension("WEBGL_compressed_texture_etc1"),this.getExtension("WEBGL_compressed_texture_pvrtc"),this.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),this.vertexAttribDivisor=this.getExtension("ANGLE_instanced_arrays","vertexAttribDivisor","vertexAttribDivisorANGLE"),this.drawArraysInstanced=this.getExtension("ANGLE_instanced_arrays","drawArraysInstanced","drawArraysInstancedANGLE"),this.drawElementsInstanced=this.getExtension("ANGLE_instanced_arrays","drawElementsInstanced","drawElementsInstancedANGLE"),this.createVertexArray=this.getExtension("OES_vertex_array_object","createVertexArray","createVertexArrayOES"),this.bindVertexArray=this.getExtension("OES_vertex_array_object","bindVertexArray","bindVertexArrayOES"),this.deleteVertexArray=this.getExtension("OES_vertex_array_object","deleteVertexArray","deleteVertexArrayOES"),this.drawBuffers=this.getExtension("WEBGL_draw_buffers","drawBuffers","drawBuffersWEBGL"),this.parameters={},this.parameters.maxTextureUnits=this.gl.getParameter(this.gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS),this.parameters.maxAnisotropy=this.getExtension("EXT_texture_filter_anisotropic")?this.gl.getParameter(this.getExtension("EXT_texture_filter_anisotropic").MAX_TEXTURE_MAX_ANISOTROPY_EXT):0}setSize(t,e){this.width=t,this.height=e,this.gl.canvas.width=t*this.dpr,this.gl.canvas.height=e*this.dpr,this.gl.canvas.style&&Object.assign(this.gl.canvas.style,{width:t+"px",height:e+"px"})}setViewport(t,e,i=0,s=0){(this.state.viewport.width!==t||this.state.viewport.height!==e)&&(this.state.viewport.width=t,this.state.viewport.height=e,this.state.viewport.x=i,this.state.viewport.y=s,this.gl.viewport(i,s,t,e))}setScissor(t,e,i=0,s=0){this.gl.scissor(i,s,t,e)}enable(t){!0!==this.state[t]&&(this.gl.enable(t),this.state[t]=!0)}disable(t){!1!==this.state[t]&&(this.gl.disable(t),this.state[t]=!1)}setBlendFunc(t,e,i,s){(this.state.blendFunc.src!==t||this.state.blendFunc.dst!==e||this.state.blendFunc.srcAlpha!==i||this.state.blendFunc.dstAlpha!==s)&&(this.state.blendFunc.src=t,this.state.blendFunc.dst=e,this.state.blendFunc.srcAlpha=i,this.state.blendFunc.dstAlpha=s,void 0!==i?this.gl.blendFuncSeparate(t,e,i,s):this.gl.blendFunc(t,e))}setBlendEquation(t,e){t=t||this.gl.FUNC_ADD,(this.state.blendEquation.modeRGB!==t||this.state.blendEquation.modeAlpha!==e)&&(this.state.blendEquation.modeRGB=t,this.state.blendEquation.modeAlpha=e,void 0!==e?this.gl.blendEquationSeparate(t,e):this.gl.blendEquation(t))}setCullFace(t){this.state.cullFace!==t&&(this.state.cullFace=t,this.gl.cullFace(t))}setFrontFace(t){this.state.frontFace!==t&&(this.state.frontFace=t,this.gl.frontFace(t))}setDepthMask(t){this.state.depthMask!==t&&(this.state.depthMask=t,this.gl.depthMask(t))}setDepthFunc(t){this.state.depthFunc!==t&&(this.state.depthFunc=t,this.gl.depthFunc(t))}setStencilMask(t){this.state.stencilMask!==t&&(this.state.stencilMask=t,this.gl.stencilMask(t))}setStencilFunc(t,e,i){(this.state.stencilFunc!==t||this.state.stencilRef!==e||this.state.stencilFuncMask!==i)&&(this.state.stencilFunc=t||this.gl.ALWAYS,this.state.stencilRef=e||0,this.state.stencilFuncMask=i||0,this.gl.stencilFunc(t||this.gl.ALWAYS,e||0,i||0))}setStencilOp(t,e,i){(this.state.stencilFail!==t||this.state.stencilDepthFail!==e||this.state.stencilDepthPass!==i)&&(this.state.stencilFail=t,this.state.stencilDepthFail=e,this.state.stencilDepthPass=i,this.gl.stencilOp(t,e,i))}activeTexture(t){this.state.activeTextureUnit!==t&&(this.state.activeTextureUnit=t,this.gl.activeTexture(this.gl.TEXTURE0+t))}bindFramebuffer({target:t=this.gl.FRAMEBUFFER,buffer:e=null}={}){this.state.framebuffer!==e&&(this.state.framebuffer=e,this.gl.bindFramebuffer(t,e))}getExtension(t,e,i){return e&&this.gl[e]?this.gl[e].bind(this.gl):(this.extensions[t]||(this.extensions[t]=this.gl.getExtension(t)),e)?this.extensions[t]?this.extensions[t][i].bind(this.extensions[t]):null:this.extensions[t]}sortOpaque(t,e){return t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.program.id!==e.program.id?t.program.id-e.program.id:t.zDepth!==e.zDepth?t.zDepth-e.zDepth:e.id-t.id}
5sortTransparent(t,e){return t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.zDepth!==e.zDepth?e.zDepth-t.zDepth:e.id-t.id}sortUI(t,e){return t.renderOrder!==e.renderOrder?t.renderOrder-e.renderOrder:t.program.id!==e.program.id?t.program.id-e.program.id:e.id-t.id}getRenderList({scene:t,camera:e,frustumCull:i,sort:r}){let h=[];if(e&&i&&e.updateFrustum(),t.traverse(t=>{if(!t.visible)return!0;if(t.draw){if(i&&t.frustumCulled&&e&&!e.frustumIntersectsMesh(t))return;h.push(t)}}),r){let t=[],i=[],r=[];h.forEach(h=>{h.program.transparent?h.program.depthTest?i.push(h):r.push(h):t.push(h),h.zDepth=0,0===h.renderOrder&&h.program.depthTest&&e&&(h.worldMatrix.getTranslation(s),s.applyMatrix4(e.projectionViewMatrix),h.zDepth=s.z)}),t.sort(this.sortOpaque),i.sort(this.sortTransparent),r.sort(this.sortUI),h=t.concat(i,r)}return h}render({scene:t,camera:e,target:i=null,update:s=!0,sort:r=!0,frustumCull:h=!0,clear:n}){null===i?(this.bindFramebuffer(),this.setViewport(this.width*this.dpr,this.height*this.dpr)):(this.bindFramebuffer(i),this.setViewport(i.width,i.height)),(n||this.autoClear&&!1!==n)&&(this.depth&&(!i||i.depth)&&(this.enable(this.gl.DEPTH_TEST),this.setDepthMask(!0)),(this.stencil||!i||i.stencil)&&(this.enable(this.gl.STENCIL_TEST),this.setStencilMask(255)),this.gl.clear((this.color?this.gl.COLOR_BUFFER_BIT:0)|(this.depth?this.gl.DEPTH_BUFFER_BIT:0)|(this.stencil?this.gl.STENCIL_BUFFER_BIT:0))),s&&t.updateMatrixWorld(),e&&e.updateMatrixWorld(),this.getRenderList({scene:t,camera:e,frustumCull:h,sort:r}).forEach(t=>{t.draw({camera:e})})}}},50186:function(t,e,i){i.d(e,{w:function(){return l}});var s=i(67382);function r(t,e,i){let s=e[0],r=e[1],h=e[2],n=e[3],a=i[0],o=i[1],u=i[2],l=i[3];return t[0]=s*l+n*a+r*u-h*o,t[1]=r*l+n*o+h*a-s*u,t[2]=h*l+n*u+s*o-r*a,t[3]=n*l-s*a-r*o-h*u,t}let h=function(t,e){let i=e[0],s=e[1],r=e[2],h=e[3],n=i*i+s*s+r*r+h*h;return n>0&&(n=1/Math.sqrt(n)),t[0]=i*n,t[1]=s*n,t[2]=r*n,t[3]=h*n,t};class n extends Array{constructor(t=0,e=0,i=0,s=1){super(t,e,i,s),this.onChange=()=>{},this._target=this;let r=["0","1","2","3"];return new Proxy(this,{set(t,e){let i=Reflect.set(...arguments);return i&&r.includes(e)&&t.onChange(),i}})}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}get w(){return this[3]}set x(t){this._target[0]=t,this.onChange()}set y(t){this._target[1]=t,this.onChange()}set z(t){this._target[2]=t,this.onChange()}set w(t){this._target[3]=t,this.onChange()}identity(){var t;return(t=this._target)[0]=0,t[1]=0,t[2]=0,t[3]=1,this.onChange(),this}set(t,e,i,s){var r;return t.length?this.copy(t):((r=this._target)[0]=t,r[1]=e,r[2]=i,r[3]=s,this.onChange(),this)}rotateX(t){var e,i,s;let r,h,n,a,o,u;return e=this._target,i=this._target,s=.5*t,r=i[0],h=i[1],n=i[2],a=i[3],o=Math.sin(s),u=Math.cos(s),e[0]=r*u+a*o,e[1]=h*u+n*o,e[2]=n*u-h*o,e[3]=a*u-r*o,this.onChange(),this}rotateY(t){var e,i,s;let r,h,n,a,o,u;return e=this._target,i=this._target,s=.5*t,r=i[0],h=i[1],n=i[2],a=i[3],o=Math.sin(s),u=Math.cos(s),e[0]=r*u-n*o,e[1]=h*u+a*o,e[2]=n*u+r*o,e[3]=a*u-h*o,this.onChange(),this}rotateZ(t){var e,i,s;let r,h,n,a,o,u;return e=this._target,i=this._target,s=.5*t,r=i[0],h=i[1],n=i[2],a=i[3],o=Math.sin(s),u=Math.cos(s),e[0]=r*u+h*o,e[1]=h*u-r*o,e[2]=n*u+a*o,e[3]=a*u-n*o,this.onChange(),this}inverse(t=this._target){var e;let i,s,r,h,n,a;return e=this._target,i=t[0],a=(n=i*i+(s=t[1])*s+(r=t[2])*r+(h=t[3])*h)?1/n:0,e[0]=-i*a,e[1]=-s*a,e[2]=-r*a,e[3]=h*a,this.onChange(),this}conjugate(t=this._target){var e;return(e=this._target)[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],this.onChange(),this}copy(t){var e;return(e=this._target)[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],this.onChange(),this}normalize(t=this._target){return h(this._target,t),this.onChange(),this}multiply(t,e){return e?r(this._target,t,e):r(this._target,this._target,t),this.onChange(),this}dot(t){var e;return(e=this._target)[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}fromMatrix3(t){return!function(t,e){let i,s=e[0]+e[4]+e[8];if(s>0)i=Math.sqrt(s+1),t[3]=.5*i,i=.5/i,t[0]=(e[5]-e[7])*i,t[1]=(e[6]-e[2])*i,t[2]=(e[1]-e[3])*i;else{let s=0;e[4]>e[0]&&(s=1),e[8]>e[3*s+s]&&(s=2);let r=(s+1)%3,h=(s+2)%3;i=Math.sqrt(e[3*s+s]-e[3*r+r]-e[3*h+h]+1),t[s]=.5*i,i=.5/i,t[3]=(e[3*r+h]-e[3*h+r])*i,t[r]=(e[3*r+s]+e[3*s+r])*i,t[h]=(e[3*h+s]+e[3*s+h])*i}
5}(this._target,t),this.onChange(),this}fromEuler(t,e){return!function(t,e,i="YXZ"){let s=Math.sin(.5*e[0]),r=Math.cos(.5*e[0]),h=Math.sin(.5*e[1]),n=Math.cos(.5*e[1]),a=Math.sin(.5*e[2]),o=Math.cos(.5*e[2]);"XYZ"===i?(t[0]=s*n*o+r*h*a,t[1]=r*h*o-s*n*a,t[2]=r*n*a+s*h*o,t[3]=r*n*o-s*h*a):"YXZ"===i?(t[0]=s*n*o+r*h*a,t[1]=r*h*o-s*n*a,t[2]=r*n*a-s*h*o,t[3]=r*n*o+s*h*a):"ZXY"===i?(t[0]=s*n*o-r*h*a,t[1]=r*h*o+s*n*a,t[2]=r*n*a+s*h*o,t[3]=r*n*o-s*h*a):"ZYX"===i?(t[0]=s*n*o-r*h*a,t[1]=r*h*o+s*n*a,t[2]=r*n*a-s*h*o,t[3]=r*n*o+s*h*a):"YZX"===i?(t[0]=s*n*o+r*h*a,t[1]=r*h*o+s*n*a,t[2]=r*n*a-s*h*o,t[3]=r*n*o-s*h*a):"XZY"===i&&(t[0]=s*n*o-r*h*a,t[1]=r*h*o-s*n*a,t[2]=r*n*a+s*h*o,t[3]=r*n*o+s*h*a)}(this._target,t,t.order),e||this.onChange(),this}fromAxisAngle(t,e){var i,s;let r;return i=this._target,r=Math.sin(s=.5*e),i[0]=r*t[0],i[1]=r*t[1],i[2]=r*t[2],i[3]=Math.cos(s),this.onChange(),this}slerp(t,e){var i,s;let r,h,n,a,o,u,l,c,d,g,f,p,m;return i=this._target,u=(s=this._target)[0],l=s[1],c=s[2],d=s[3],g=t[0],(h=u*g+l*(f=t[1])+c*(p=t[2])+d*(m=t[3]))<0&&(h=-h,g=-g,f=-f,p=-p,m=-m),1-h>1e-6?(n=Math.sin(r=Math.acos(h)),a=Math.sin((1-e)*r)/n,o=Math.sin(e*r)/n):(a=1-e,o=e),i[0]=a*u+o*g,i[1]=a*l+o*f,i[2]=a*c+o*p,i[3]=a*d+o*m,this.onChange(),this}fromArray(t,e=0){return this._target[0]=t[e],this._target[1]=t[e+1],this._target[2]=t[e+2],this._target[3]=t[e+3],this.onChange(),this}toArray(t=[],e=0){return t[e]=this[0],t[e+1]=this[1],t[e+2]=this[2],t[e+3]=this[3],t}}var a=i(71568);let o=new a.y;class u extends Array{constructor(t=0,e=t,i=t,s="YXZ"){super(t,e,i),this.order=s,this.onChange=()=>{},this._target=this;let r=["0","1","2"];return new Proxy(this,{set(t,e){let i=Reflect.set(...arguments);return i&&r.includes(e)&&t.onChange(),i}})}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}set x(t){this._target[0]=t,this.onChange()}set y(t){this._target[1]=t,this.onChange()}set z(t){this._target[2]=t,this.onChange()}set(t,e=t,i=t){return t.length?this.copy(t):(this._target[0]=t,this._target[1]=e,this._target[2]=i,this.onChange(),this)}copy(t){return this._target[0]=t[0],this._target[1]=t[1],this._target[2]=t[2],this.onChange(),this}reorder(t){return this._target.order=t,this.onChange(),this}fromRotationMatrix(t,e=this.order){return!function(t,e,i="YXZ"){"XYZ"===i?(t[1]=Math.asin(Math.min(Math.max(e[8],-1),1)),.99999>Math.abs(e[8])?(t[0]=Math.atan2(-e[9],e[10]),t[2]=Math.atan2(-e[4],e[0])):(t[0]=Math.atan2(e[6],e[5]),t[2]=0)):"YXZ"===i?(t[0]=Math.asin(-Math.min(Math.max(e[9],-1),1)),.99999>Math.abs(e[9])?(t[1]=Math.atan2(e[8],e[10]),t[2]=Math.atan2(e[1],e[5])):(t[1]=Math.atan2(-e[2],e[0]),t[2]=0)):"ZXY"===i?(t[0]=Math.asin(Math.min(Math.max(e[6],-1),1)),.99999>Math.abs(e[6])?(t[1]=Math.atan2(-e[2],e[10]),t[2]=Math.atan2(-e[4],e[5])):(t[1]=0,t[2]=Math.atan2(e[1],e[0]))):"ZYX"===i?(t[1]=Math.asin(-Math.min(Math.max(e[2],-1),1)),.99999>Math.abs(e[2])?(t[0]=Math.atan2(e[6],e[10]),t[2]=Math.atan2(e[1],e[0])):(t[0]=0,t[2]=Math.atan2(-e[4],e[5]))):"YZX"===i?(t[2]=Math.asin(Math.min(Math.max(e[1],-1),1)),.99999>Math.abs(e[1])?(t[0]=Math.atan2(-e[9],e[5]),t[1]=Math.atan2(-e[2],e[0])):(t[0]=0,t[1]=Math.atan2(e[8],e[10]))):"XZY"===i&&(t[2]=Math.asin(-Math.min(Math.max(e[4],-1),1)),.99999>Math.abs(e[4])?(t[0]=Math.atan2(e[6],e[5]),t[1]=Math.atan2(e[8],e[0])):(t[0]=Math.atan2(-e[9],e[10]),t[1]=0))}(this._target,t,e),this.onChange(),this}fromQuaternion(t,e=this.order,i){return o.fromQuaternion(t),this._target.fromRotationMatrix(o,e),i||this.onChange(),this}fromArray(t,e=0){return this._target[0]=t[e],this._target[1]=t[e+1],this._target[2]=t[e+2],this}toArray(t=[],e=0){return t[e]=this[0],t[e+1]=this[1],t[e+2]=this[2],t}}class l{constructor(){this.parent=null,this.children=[],this.visible=!0,this.matrix=new a.y,this.worldMatrix=new a.y,this.matrixAutoUpdate=!0,this.worldMatrixNeedsUpdate=!1,this.position=new s.A,this.quaternion=new n,this.scale=new s.A(1),this.rotation=new u,this.up=new s.A(0,1,0),this.rotation._target.onChange=()=>this.quaternion.fromEuler(this.rotation,!0),this.quaternion._target.onChange=()=>this.rotation.fromQuaternion(this.quaternion,void 0,!0)}setParent(t,e=!0){this.parent&&t!==this.parent&&this.parent.removeChild(this,!1),this.parent=t,e&&t&&t.addChild(this,!1)}addChild(t,e=!0){~this.children.indexOf(t)||this.children.push(t),e&&t.setParent(this,!1)}removeChild(t,e=!0){~this.children.indexOf(t)&&this.children.splice(this.children.indexOf(t),1),e&&t.setParent(null,!1)}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.worldMatrixNeedsUpdate||t)&&(null===this.parent?this.worldMatrix.copy(this.matrix
5):this.worldMatrix.multiply(this.parent.worldMatrix,this.matrix),this.worldMatrixNeedsUpdate=!1,t=!0);for(let e=0,i=this.children.length;e<i;e++)this.children[e].updateMatrixWorld(t)}updateMatrix(){this.matrix.compose(this.quaternion,this.position,this.scale),this.worldMatrixNeedsUpdate=!0}traverse(t){if(!t(this))for(let e=0,i=this.children.length;e<i;e++)this.children[e].traverse(t)}decompose(){this.matrix.decompose(this.quaternion._target,this.position,this.scale),this.rotation.fromQuaternion(this.quaternion)}lookAt(t,e=!1){e?this.matrix.lookAt(this.position,t,this.up):this.matrix.lookAt(t,this.position,this.up),this.matrix.getRotation(this.quaternion._target),this.rotation.fromQuaternion(this.quaternion)}}},71568:function(t,e,i){i.d(e,{y:function(){return l}});var s=i(33817);function r(t){let e=t[0],i=t[1],s=t[2],r=t[3],h=t[4],n=t[5],a=t[6],o=t[7],u=t[8],l=t[9],c=t[10],d=t[11],g=t[12],f=t[13],p=t[14],m=t[15];return(e*n-i*h)*(c*m-d*p)-(e*a-s*h)*(l*m-d*f)+(e*o-r*h)*(l*p-c*f)+(i*a-s*n)*(u*m-d*g)-(i*o-r*n)*(u*p-c*g)+(s*o-r*a)*(u*f-l*g)}function h(t,e,i){let s=e[0],r=e[1],h=e[2],n=e[3],a=e[4],o=e[5],u=e[6],l=e[7],c=e[8],d=e[9],g=e[10],f=e[11],p=e[12],m=e[13],x=e[14],b=e[15],M=i[0],E=i[1],_=i[2],A=i[3];return t[0]=M*s+E*a+_*c+A*p,t[1]=M*r+E*o+_*d+A*m,t[2]=M*h+E*u+_*g+A*x,t[3]=M*n+E*l+_*f+A*b,M=i[4],E=i[5],_=i[6],A=i[7],t[4]=M*s+E*a+_*c+A*p,t[5]=M*r+E*o+_*d+A*m,t[6]=M*h+E*u+_*g+A*x,t[7]=M*n+E*l+_*f+A*b,M=i[8],E=i[9],_=i[10],A=i[11],t[8]=M*s+E*a+_*c+A*p,t[9]=M*r+E*o+_*d+A*m,t[10]=M*h+E*u+_*g+A*x,t[11]=M*n+E*l+_*f+A*b,M=i[12],E=i[13],_=i[14],A=i[15],t[12]=M*s+E*a+_*c+A*p,t[13]=M*r+E*o+_*d+A*m,t[14]=M*h+E*u+_*g+A*x,t[15]=M*n+E*l+_*f+A*b,t}function n(t,e){let i=e[0],s=e[1],r=e[2],h=e[4],n=e[5],a=e[6],o=e[8],u=e[9],l=e[10];return t[0]=Math.hypot(i,s,r),t[1]=Math.hypot(h,n,a),t[2]=Math.hypot(o,u,l),t}let a=function(){let t=[1,1,1];return function(e,i){n(t,i);let s=1/t[0],r=1/t[1],h=1/t[2],a=i[0]*s,o=i[1]*r,u=i[2]*h,l=i[4]*s,c=i[5]*r,d=i[6]*h,g=i[8]*s,f=i[9]*r,p=i[10]*h,m=a+c+p,x=0;return m>0?(x=2*Math.sqrt(m+1),e[3]=.25*x,e[0]=(d-f)/x,e[1]=(g-u)/x,e[2]=(o-l)/x):a>c&&a>p?(x=2*Math.sqrt(1+a-c-p),e[3]=(d-f)/x,e[0]=.25*x,e[1]=(o+l)/x,e[2]=(g+u)/x):c>p?(x=2*Math.sqrt(1+c-a-p),e[3]=(g-u)/x,e[0]=(o+l)/x,e[1]=.25*x,e[2]=(d+f)/x):(x=2*Math.sqrt(1+p-a-c),e[3]=(o-l)/x,e[0]=(g+u)/x,e[1]=(d+f)/x,e[2]=.25*x),e}}();function o(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t[2]=e[2]+i[2],t[3]=e[3]+i[3],t[4]=e[4]+i[4],t[5]=e[5]+i[5],t[6]=e[6]+i[6],t[7]=e[7]+i[7],t[8]=e[8]+i[8],t[9]=e[9]+i[9],t[10]=e[10]+i[10],t[11]=e[11]+i[11],t[12]=e[12]+i[12],t[13]=e[13]+i[13],t[14]=e[14]+i[14],t[15]=e[15]+i[15],t}function u(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t[2]=e[2]-i[2],t[3]=e[3]-i[3],t[4]=e[4]-i[4],t[5]=e[5]-i[5],t[6]=e[6]-i[6],t[7]=e[7]-i[7],t[8]=e[8]-i[8],t[9]=e[9]-i[9],t[10]=e[10]-i[10],t[11]=e[11]-i[11],t[12]=e[12]-i[12],t[13]=e[13]-i[13],t[14]=e[14]-i[14],t[15]=e[15]-i[15],t}class l extends Array{constructor(t=1,e=0,i=0,s=0,r=0,h=1,n=0,a=0,o=0,u=0,l=1,c=0,d=0,g=0,f=0,p=1){return super(t,e,i,s,r,h,n,a,o,u,l,c,d,g,f,p),this}get x(){return this[12]}get y(){return this[13]}get z(){return this[14]}get w(){return this[15]}set x(t){this[12]=t}set y(t){this[13]=t}set z(t){this[14]=t}set w(t){this[15]=t}set(t,e,i,s,r,h,n,a,o,u,l,c,d,g,f,p){return t.length?this.copy(t):(this[0]=t,this[1]=e,this[2]=i,this[3]=s,this[4]=r,this[5]=h,this[6]=n,this[7]=a,this[8]=o,this[9]=u,this[10]=l,this[11]=c,this[12]=d,this[13]=g,this[14]=f,this[15]=p,this)}translate(t,e=this){let i,s,r,h,n,a,o,u,l,c,d,g,f,p,m;return f=t[0],p=t[1],m=t[2],e===this?(this[12]=e[0]*f+e[4]*p+e[8]*m+e[12],this[13]=e[1]*f+e[5]*p+e[9]*m+e[13],this[14]=e[2]*f+e[6]*p+e[10]*m+e[14],this[15]=e[3]*f+e[7]*p+e[11]*m+e[15]):(i=e[0],s=e[1],r=e[2],h=e[3],n=e[4],a=e[5],o=e[6],u=e[7],l=e[8],c=e[9],d=e[10],g=e[11],this[0]=i,this[1]=s,this[2]=r,this[3]=h,this[4]=n,this[5
5]=a,this[6]=o,this[7]=u,this[8]=l,this[9]=c,this[10]=d,this[11]=g,this[12]=i*f+n*p+l*m+e[12],this[13]=s*f+a*p+c*m+e[13],this[14]=r*f+o*p+d*m+e[14],this[15]=h*f+u*p+g*m+e[15]),this}rotate(t,e,i=this){let s,r,h,n,a,o,u,l,c,d,g,f,p,m,x,b,M,E,_,A,v,w,y,F,C,S,O,T;return 1e-6>Math.abs(T=Math.hypot(C=e[0],S=e[1],O=e[2]))||(C*=T=1/T,S*=T,O*=T,s=Math.sin(t),h=1-(r=Math.cos(t)),n=i[0],a=i[1],o=i[2],u=i[3],l=i[4],c=i[5],d=i[6],g=i[7],f=i[8],p=i[9],m=i[10],x=i[11],b=C*C*h+r,M=S*C*h+O*s,E=O*C*h-S*s,_=C*S*h-O*s,A=S*S*h+r,v=O*S*h+C*s,w=C*O*h+S*s,y=S*O*h-C*s,F=O*O*h+r,this[0]=n*b+l*M+f*E,this[1]=a*b+c*M+p*E,this[2]=o*b+d*M+m*E,this[3]=u*b+g*M+x*E,this[4]=n*_+l*A+f*v,this[5]=a*_+c*A+p*v,this[6]=o*_+d*A+m*v,this[7]=u*_+g*A+x*v,this[8]=n*w+l*y+f*F,this[9]=a*w+c*y+p*F,this[10]=o*w+d*y+m*F,this[11]=u*w+g*y+x*F,i!==this&&(this[12]=i[12],this[13]=i[13],this[14]=i[14],this[15]=i[15])),this}scale(t,e=this){var i;let s,r,h;return s=(i="number"==typeof t?[t,t,t]:t)[0],r=i[1],h=i[2],this[0]=e[0]*s,this[1]=e[1]*s,this[2]=e[2]*s,this[3]=e[3]*s,this[4]=e[4]*r,this[5]=e[5]*r,this[6]=e[6]*r,this[7]=e[7]*r,this[8]=e[8]*h,this[9]=e[9]*h,this[10]=e[10]*h,this[11]=e[11]*h,this[12]=e[12],this[13]=e[13],this[14]=e[14],this[15]=e[15],this}add(t,e){return e?o(this,t,e):o(this,this,t),this}sub(t,e){return e?u(this,t,e):u(this,this,t),this}multiply(t,e){return t.length?e?h(this,t,e):h(this,this,t):(this[0]=this[0]*t,this[1]=this[1]*t,this[2]=this[2]*t,this[3]=this[3]*t,this[4]=this[4]*t,this[5]=this[5]*t,this[6]=this[6]*t,this[7]=this[7]*t,this[8]=this[8]*t,this[9]=this[9]*t,this[10]=this[10]*t,this[11]=this[11]*t,this[12]=this[12]*t,this[13]=this[13]*t,this[14]=this[14]*t,this[15]=this[15]*t),this}identity(){return this[0]=1,this[1]=0,this[2]=0,this[3]=0,this[4]=0,this[5]=1,this[6]=0,this[7]=0,this[8]=0,this[9]=0,this[10]=1,this[11]=0,this[12]=0,this[13]=0,this[14]=0,this[15]=1,this}copy(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this[3]=t[3],this[4]=t[4],this[5]=t[5],this[6]=t[6],this[7]=t[7],this[8]=t[8],this[9]=t[9],this[10]=t[10],this[11]=t[11],this[12]=t[12],this[13]=t[13],this[14]=t[14],this[15]=t[15],this}fromPerspective({fov:t,aspect:e,near:i,far:s}={}){let r,h;return r=1/Math.tan(t/2),h=1/(i-s),this[0]=r/e,this[1]=0,this[2]=0,this[3]=0,this[4]=0,this[5]=r,this[6]=0,this[7]=0,this[8]=0,this[9]=0,this[10]=(s+i)*h,this[11]=-1,this[12]=0,this[13]=0,this[14]=2*s*i*h,this[15]=0,this}fromOrthogonal({left:t,right:e,bottom:i,top:s,near:r,far:h}){let n,a,o;return n=1/(t-e),a=1/(i-s),o=1/(r-h),this[0]=-2*n,this[1]=0,this[2]=0,this[3]=0,this[4]=0,this[5]=-2*a,this[6]=0,this[7]=0,this[8]=0,this[9]=0,this[10]=2*o,this[11]=0,this[12]=(t+e)*n,this[13]=(s+i)*a,this[14]=(h+r)*o,this[15]=1,this}fromQuaternion(t){let e,i,s,r,h,n,a,o,u,l,c,d,g,f,p,m;return e=t[0],i=t[1],s=t[2],r=t[3],h=e+e,n=i+i,a=s+s,o=e*h,u=i*h,l=i*n,c=s*h,d=s*n,g=s*a,f=r*h,p=r*n,m=r*a,this[0]=1-l-g,this[1]=u+m,this[2]=c-p,this[3]=0,this[4]=u-m,this[5]=1-o-g,this[6]=d+f,this[7]=0,this[8]=c+p,this[9]=d-f,this[10]=1-o-l,this[11]=0,this[12]=0,this[13]=0,this[14]=0,this[15]=1,this}setPosition(t){return this.x=t[0],this.y=t[1],this.z=t[2],this}inverse(t=this){let e,i,s,r,h,n,a,o,u,l,c,d,g,f,p,m,x,b,M,E,_,A,v,w,y,F,C,S,O;return e=t[0],i=t[1],s=t[2],r=t[3],h=t[4],n=t[5],a=t[6],o=t[7],u=t[8],l=t[9],c=t[10],d=t[11],g=t[12],f=t[13],p=t[14],m=t[15],x=e*n-i*h,b=e*a-s*h,M=e*o-r*h,E=i*a-s*n,_=i*o-r*n,A=s*o-r*a,v=u*f-l*g,w=u*p-c*g,y=u*m-d*g,F=l*p-c*f,C=l*m-d*f,(O=x*(S=c*m-d*p)-b*C+M*F+E*y-_*w+A*v)&&(O=1/O,this[0]=(n*S-a*C+o*F)*O,this[1]=(s*C-i*S-r*F)*O,this[2]=(f*A-p*_+m*E)*O,this[3]=(c*_-l*A-d*E)*O,this[4]=(a*y-h*S-o*w)*O,this[5]=(e*S-s*y+r*w)*O,this[6]=(p*M-g*A-m*b)*O,this[7]=(u*A-c*M+d*b)*O,this[8]=(h*C-n*y+o*v)*O,this[9]=(i*y-e*C-r*v)*O,this[10]=(g*_-f*M+m*x)*O,this[11]=(l*M-u*_-d*x)*O,this[12]=(n*w-h*F-a*v)*O,this[13]=(e*F-i*w+s*v)*O,this[14]=(f*b-g*E-p*x)*O,this[15]=(u*E-l*b+c*x)*O),this}compose(t,e,i){return!function(t,e,i,s){let r=e[0],h=e[1],n=e[2],a=e[3],o=r+r,u=h+h,l=n+n,c=r*o,d=r*u,g=r*l,f=h*u,p=h*l,m=n*l,x=a*o,b=a*u,M=a*l,E=s[0],_=s[1],A=s[2];t[0]=(1-(f+m))*E,t[1]=(d+M)*E,t[2]=(g-b)*E,t[3]=0,t[4]=(d-M)*_,t[5]=(1-(c+m))*_,t[6]=(p+x)*_,t[7]=0,t[8]=(g+b)*A,t[9]=(p-x)*A,t[10]=(1-(c+f))*A,t[11]=0,t[12]=i[0],t[13]=i[1],t[14]=i[2],t[15]=1}(this,t,e,i),this}
5decompose(t,e,i){return!function(t,e,i,h){let n=s.kE([t[0],t[1],t[2]]),o=s.kE([t[4],t[5],t[6]]),u=s.kE([t[8],t[9],t[10]]);0>r(t)&&(n=-n),i[0]=t[12],i[1]=t[13],i[2]=t[14];let l=t.slice(),c=1/n,d=1/o,g=1/u;l[0]*=c,l[1]*=c,l[2]*=c,l[4]*=d,l[5]*=d,l[6]*=d,l[8]*=g,l[9]*=g,l[10]*=g,a(e,l),h[0]=n,h[1]=o,h[2]=u}(this,t,e,i),this}getRotation(t){return a(t,this),this}getTranslation(t){return t[0]=this[12],t[1]=this[13],t[2]=this[14],this}getScaling(t){return n(t,this),this}getMaxScaleOnAxis(){let t,e,i,s,r,h,n,a,o;return t=this[0],e=this[1],i=this[2],s=this[4],r=this[5],h=this[6],Math.sqrt(Math.max(t*t+e*e+i*i,s*s+r*r+h*h,(n=this[8])*n+(a=this[9])*a+(o=this[10])*o))}lookAt(t,e,i){let s,r,h,n,a,o,u,l,c,d,g,f,p;return s=t[0],r=t[1],h=t[2],n=i[0],a=i[1],o=i[2],0==(d=(u=s-e[0])*u+(l=r-e[1])*l+(c=h-e[2])*c)?c=1:(u*=d=1/Math.sqrt(d),l*=d,c*=d),0==(d=(g=a*c-o*l)*g+(f=o*u-n*c)*f+(p=n*l-a*u)*p)&&(o?n+=1e-6:a?o+=1e-6:a+=1e-6,d=(g=a*c-o*l)*g+(f=o*u-n*c)*f+(p=n*l-a*u)*p),g*=d=1/Math.sqrt(d),f*=d,p*=d,this[0]=g,this[1]=f,this[2]=p,this[3]=0,this[4]=l*p-c*f,this[5]=c*g-u*p,this[6]=u*f-l*g,this[7]=0,this[8]=u,this[9]=l,this[10]=c,this[11]=0,this[12]=s,this[13]=r,this[14]=h,this[15]=1,this}determinant(){return r(this)}fromArray(t,e=0){return this[0]=t[e],this[1]=t[e+1],this[2]=t[e+2],this[3]=t[e+3],this[4]=t[e+4],this[5
5]=t[e+5],this[6]=t[e+6],this[7]=t[e+7],this[8]=t[e+8],this[9]=t[e+9],this[10]=t[e+10],this[11]=t[e+11],this[12]=t[e+12],this[13]=t[e+13],this[14]=t[e+14],this[15]=t[e+15],this}toArray(t=[],e=0){return t[e]=this[0],t[e+1]=this[1],t[e+2]=this[2],t[e+3]=this[3],t[e+4]=this[4],t[e+5]=this[5],t[e+6]=this[6],t[e+7]=this[7],t[e+8]=this[8],t[e+9]=this[9],t[e+10]=this[10],t[e+11]=this[11],t[e+12]=this[12],t[e+13]=this[13],t[e+14]=this[14],t[e+15]=this[15],t}}},67382:function(t,e,i){i.d(e,{A:function(){return r}});var s=i(33817);class r extends Array{constructor(t=0,e=t,i=t){return super(t,e,i),this}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}set x(t){this[0]=t}set y(t){this[1]=t}set z(t){this[2]=t}set(t,e=t,i=t){return t.length?this.copy(t):(s.t8(this,t,e,i),this)}copy(t){return s.JG(this,t),this}add(t,e){return e?s.IH(this,t,e):s.IH(this,this,t),this}sub(t,e){return e?s.$X(this,t,e):s.$X(this,this,t),this}multiply(t){return t.length?s.Jp(this,this,t):s.bA(this,this,t),this}divide(t){return t.length?s.cs(this,this,t):s.bA(this,this,1/t),this}inverse(t=this){return s.SO(this,t),this}len(){return s.kE(this)}distance(t){return t?s.TE(this,t):s.kE(this)}squaredLen(){return s.we(this)}squaredDistance(t){return t?s.bI(this,t):s.we(this)}negate(t=this){return s.tk(this,t),this}cross(t,e){return e?s.kC(this,t,e):s.kC(this,this,t),this}scale(t){return s.bA(this,this,t),this}normalize(){return s.Fv(this,this),this}dot(t){return s.AK(this,t)}equals(t){return s.I6(this,t)}
5applyMatrix3(t){return s.kK(this,this,t),this}applyMatrix4(t){return s.fF(this,this,t),this}scaleRotateMatrix4(t){return s.YY(this,this,t),this}applyQuaternion(t){return s.VC(this,this,t),this}angle(t){return s.EU(this,t)}lerp(t,e){return s.t7(this,this,t,e),this}smoothLerp(t,e,i){return s.bz(this,this,t,e,i),this}clone(){return new r(this[0],this[1],this[2])}fromArray(t,e=0){return this[0]=t[e],this[1]=t[e+1],this[2]=t[e+2],this}toArray(t=[],e=0){return t[e]=this[0],t[e+1]=this[1],t[e+2]=this[2],t}transformDirection(t){let e=this[0],i=this[1],s=this[2];return this[0]=t[0]*e+t[4]*i+t[8]*s,this[1]=t[1]*e+t[5]*i+t[9]*s,this[2]=t[2]*e+t[6]*i+t[10]*s,this.normalize()}}},33817:function(t,e,i){function s(t){let e=t[0],i=t[1],s=t[2];return Math.sqrt(e*e+i*i+s*s)}function r(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function h(t,e,i,s){return t[0]=e,t[1]=i,t[2]=s,t}function n(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t[2]=e[2]+i[2],t}function a(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t[2]=e[2]-i[2],t}function o(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t[2]=e[2]*i[2],t}function u(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t[2]=e[2]/i[2],t}function l(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t}function c(t,e){let i=e[0]-t[0],s=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(i*i+s*s+r*r)}function d(t,e){let i=e[0]-t[0],s=e[1]-t[1],r=e[2]-t[2];return i*i+s*s+r*r}function g(t){let e=t[0],i=t[1],s=t[2];return e*e+i*i+s*s}function f(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function p(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function m(t,e){let i=e[0],s=e[1],r=e[2],h=i*i+s*s+r*r;return h>0&&(h=1/Math.sqrt(h)),t[0]=e[0]*h,t[1]=e[1]*h,t[2]=e[2]*h,t}function x(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,i){let s=e[0],r=e[1],h=e[2],n=i[0],a=i[1],o=i[2];return t[0]=r*o-h*a,t[1]=h*n-s*o,t[2]=s*a-r*n,t}function M(t,e,i,s){let r=e[0],h=e[1],n=e[2];return t[0]=r+s*(i[0]-r),t[1]=h+s*(i[1]-h),t[2]=n+s*(i[2]-n),t}function E(t,e,i,s,r){let h=Math.exp(-s*r),n=e[0],a=e[1],o=e[2];return t[0]=i[0]+(n-i[0])*h,t[1]=i[1]+(a-i[1])*h,t[2]=i[2]+(o-i[2])*h,t}function _(t,e,i){let s=e[0],r=e[1],h=e[2],n=i[3]*s+i[7]*r+i[11]*h+i[15];return n=n||1,t[0]=(i[0]*s+i[4]*r+i[8]*h+i[12])/n,t[1]=(i[1]*s+i[5]*r+i[9]*h+i[13])/n,t[2]=(i[2]*s+i[6]*r+i[10]*h+i[14])/n,t}function A(t,e,i){let s=e[0],r=e[1],h=e[2],n=i[3]*s+i[7]*r+i[11]*h+i[15];return n=n||1,t[0]=(i[0]*s+i[4]*r+i[8]*h)/n,t[1]=(i[1]*s+i[5]*r+i[9]*h)/n,t[2]=(i[2]*s+i[6]*r+i[10]*h)/n,t}function v(t,e,i){let s=e[0],r=e[1],h=e[2];return t[0]=s*i[0]+r*i[3]+h*i[6],t[1]=s*i[1]+r*i[4]+h*i[7],t[2]=s*i[2]+r*i[5]+h*i[8],t}function w(t,e,i){let s=e[0],r=e[1],h=e[2],n=i[0],a=i[1],o=i[2],u=i[3],l=a*h-o*r,c=o*s-n*h,d=n*r-a*s,g=a*d-o*c,f=o*l-n*d,p=n*c-a*l,m=2*u;return l*=m,c*=m,d*=m,g*=2,f*=2,p*=2,t[0]=s+l+g,t[1]=r+c+f,t[2]=h+d+p,t}i.d(e,{$X:function(){return a},AK:function(){return x},EU:function(){return y},Fv:function(){return m},I6:function(){return F},IH:function(){return n},JG:function(){return r},Jp:function(){return o},SO:function(){return p},TE:function(){return c},VC:function(){return w},YY:function(){return A},bA:function(){return l},bI:function(){return d},bz:function(){return E},cs:function(){return u},fF:function(){return _},kC:function(){return b},kE:function(){return s},kK:function(){return v},t7:function(){return M},t8:function(){return h},tk:function(){return f},we:function(){return g}});let y=function(){let t=[0,0,0],e=[0,0,0];return function(i,s){r(t,i),r(e,s),m(t,t),m(e,e);let h=x(t,e);return h>1?0:h<-1?Math.PI:Math.acos(h)}}();function F(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}}}]);
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.