1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[574,34835,56065],{2392:(t,e,n)=>{n.d(e,{Tz:()=>c,_l:()=>l,aT:()=>o,fA:()=>u});var r=n(39439),i=n(24174),a=n(91996);n(32038);var s=n(99970);function o(t,e,n,r,i,a=2){let s=1/(Math.abs(n)+Math.abs(r)+Math.abs(i)),u=n*s,l=r*s,c=i<=0?(u>=0?1:-1)*(1-Math.abs(l)):u,h=i<=0?(l>=0?1:-1)*(1-Math.abs(u)):l,d=e*a;t[d]=f(c),t[d+1]=f(h)}function u(t){let e=t.length/3,n=(0,s.O)(2*e),r=0;for(let i=0;i<e;++i)o(n,i,t[r++],t[r++],t[r++]);return n}function l(t,e){let n=t.length/3,r=new Int16Array(2*n),s=0,u=(0,a.vt)();for(let a=0;a<n;++a)u[0]=t[s++],u[1]=t[s++],u[2]=t[s++],(0,i.o)(u,u,e),o(r,a,u[0],u[1],u[2]);return r}function c(t,e,n,r=2){let a=n*r,s=h(e[a]),o=h(e[a+1]),u=1-Math.abs(s)-Math.abs(o);return t[2]=u,u<0?(t[0]=(s>=0?1:-1)*(1-Math.abs(o)),t[1]=(o>=0?1:-1)*(1-Math.abs(s))):(t[0]=s,t[1]=o),(0,i.n)(t,t)}function f(t){return(0,r.qE)(Math.round(32767*t),-32767,32767)}function h(t){return(0,r.qE)(t/32767,-1,1)}},6539:(t,e,n)=>{function r(){return[0,0,0,0]}function i(t){return[t[0],t[1],t[2],t[3]]}function a(t,e,n,r){return[t,e,n,r]}function s(t,e,n,r){return[t,e,n,r]}function o(t,e=r()){let n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return r()}function l(){return a(1,1,1,1)}function c(){return a(1,0,0,0)}function f(){return a(0,1,0,0)}function h(){return a(0,0,1,0)}function d(){return a(0,0,0,1)}n.d(e,{CN:()=>s,S:()=>l,Un:()=>_,ci:()=>o,fA:()=>a,o8:()=>i,uY:()=>p,vt:()=>r});let p=u(),_=l(),m=c(),M=f(),g=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:_,UNIT_W:d(),UNIT_X:m,UNIT_Y:M,UNIT_Z:g,ZEROS:p,clone:i,create:r,freeze:s,fromArray:o,fromValues:a,ones:l,unitW:d,unitX:c,unitY:f,unitZ:h,zeros:u},Symbol.toStringTag,{value:"Module"}))},17408:(t,e,n)=>{n.d(e,{_:()=>r});class r{constructor(t,e,n,r,i,a=!1,s=0){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=i,this.normalized=a,this.divisor=s}}},24174:(t,e,n)=>{n.d(e,{A:()=>_,B:()=>p,C:()=>c,D:()=>f,E:()=>C,F:()=>P,G:()=>L,H:()=>q,I:()=>X,J:()=>h,K:()=>U,a:()=>x,b:()=>a,c:()=>g,d:()=>s,e:()=>l,f:()=>R,g:()=>u,h:()=>M,i:()=>T,j:()=>o,k:()=>E,l:()=>v,m:()=>A,n:()=>N,o:()=>G,p:()=>B,q:()=>D,r:()=>I,s:()=>S,t:()=>b,u:()=>y,v:()=>w,w:()=>d,x:()=>H,y:()=>z,z:()=>m});var r=n(91996),i=n(99190);function a(t){let e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t}function d(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function _(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function M(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function g(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function E(t,e){let n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function S(t,e){let n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function A(t){let e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function y(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function I(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function N(t,e){let n=e[0],r=e[1],i=e[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function R(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function T(t,e,n){let r=e[0],i=e[1],a=e[2],s=n[0],o=n[1],u=n[2];return t[0]=i*u-a*o,t[1]=a*s-r*u,t[2]=r*o-i*s,t}function v(t,e,n,r){let i=e[0],a=e[1],s=e[2];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=s+r*(n[2]-s),t}function b(t,e,n){let r=e[0],i=e[1],a=e[2];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12],t[1]=n[1]*r+n[5]*i+n[9]*a+n[13],t[2]=n[2]*r+n[6]*i+n[10]*a+n[14],t}function G(t,e,n){let r=e[0],i=e[1],a=e[2];return t[0]=r*n[0]+i*n[3]+a*n[6],t[1]=r*n[1]+i*n[4]+a*n[7],t[2]=r*n[2]+i*n[5]+a*n[8],t}function w(t,e,n){let r=n[0],i=n[1],a=n[2],s=n[3],o=e[0],u=e[1],l=e[2],c=i*l-a*u,f=a*
1o-r*l,h=r*u-i*o,d=2*s;return t[0]=o+c*d+2*(i*h-a*f),t[1]=u+f*d+2*(a*c-r*h),t[2]=l+h*d+2*(r*f-i*c),t}function U(t,e,n,r){let i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),a[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),a[2]=i[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t}function B(t,e){N(O,t),N(F,e);let n=R(O,F);return n>1?0:n<-1?Math.PI:Math.acos(n)}let O=(0,r.vt)(),F=(0,r.vt)();function D(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function L(t,e){if(t===e)return!0;let n=t[0],r=t[1],a=t[2],s=e[0],o=e[1],u=e[2],l=(0,i.FD)();return Math.abs(n-s)<=l*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-o)<=l*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=l*Math.max(1,Math.abs(a),Math.abs(u))}function C(t,e,n){let r=n[0]-e[0],i=n[1]-e[1],a=n[2]-e[2],s=r*r+i*i+a*a;return s>0?(s=1/Math.sqrt(s),t[0]=r*s,t[1]=i*s,t[2]=a*s):(t[0]=0,t[1]=0,t[2]=0),t}let x=l,P=E,H=S,q=a,z=A,X=Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:u,angle:B,bezier:function(t,e,n,r,i,a){let s=1-a,o=s*s,u=a*a,l=o*s,c=3*a*o,f=3*u*s,h=u*a;return t[0]=e[0]*l+n[0]*c+r[0]*f+i[0]*h,t[1]=e[1]*l+n[1]*c+r[1]*f+i[1]*h,t[2]=e[2]*l+n[2]*c+r[2]*f+i[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:T,crossAndNormalize:function(t,e,n){let r=e[0],i=e[1],a=e[2],s=n[0],o=n[1],u=n[2],l=i*u-a*o,c=a*s-r*u,f=r*o-i*s,h=Math.sqrt(l*l+c*c+f*f);return t[0]=l/h,t[1]=c/h,t[2]=f/h,t},direction:C,dist:P,distance:E,div:f,divide:f,dot:R,equals:L,exactEquals:D,floor:h,hermite:function(t,e,n,r,i,a){let s=a*a,o=s*(2*a-3)+1,u=s*(a-2)+a,l=s*(a-1),c=s*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*l+i[0]*c,t[1]=e[1]*o+n[1]*u+r[1]*l+i[1]*c,t[2]=e[2]*o+n[2]*u+r[2]*l+i[2]*c,t},inverse:I,len:q,length:a,lerp:v,max:m,min:_,mul:c,multiply:c,negate:y,normalize:N,random:function(t,e=1){let n=i.Ov,r=2*n()*Math.PI,a=2*n()-1,s=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*s,t[1]=Math.sin(r)*s,t[2]=a*e,t},rotateX:function(t,e,n,r){let i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[0],a[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),a[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){let i=[],a=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],a[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),a[1]=i[1],a[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:U,round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:M,scaleAndAdd:g,set:o,sign:p,sqrDist:H,sqrLen:z,squaredDistance:S,squaredLength:A,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:x,subtract:l,transformMat3:G,transformMat4:b,transformQuat:w},Symbol.toStringTag,{value:"Module"}))},26369:(t,e,n)=>{n.d(e,{$0:()=>d,C5:()=>h,CQ:()=>A,Fq:()=>m,H0:()=>a,M4:()=>M,SB:()=>u,WR:()=>r,XN:()=>s,iE:()=>o,ld:()=>l,nI:()=>g,pe:()=>i,r6:()=>p,uH:()=>S,vt:()=>f,xL:()=>E,xM:()=>c,yI:()=>_});let r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},i={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},a={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(a),o={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},u={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},l={FLOAT:i.FLOAT,UNSIGNED_BYTE:i.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:i.BYTE,UNSIGNED_SHORT:i.UNSIGNED_SHORT,SHORT:i.SHORT,UNSIGNED_INT:i.UNSIGNED_INT,INT:i.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},c=33984,f={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},h=1029,d=0,p=36064,_=36065,m=36066,M=36067,g=33306,E=36096,S=36128,A={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_
1EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}},32038:(t,e,n)=>{n.d(e,{AK:()=>o,Wz:()=>s,oe:()=>i,p_:()=>a});var r=n(96893);function i(t,e=!1){return t<=r.y9?e?Array(t).fill(0):Array(t):new Float32Array(t)}function a(t){return Array.isArray(t)?t.length<r.y9?t:new Float32Array(t):t.length<r.y9?Array.from(t):t}function s(t){return(Array.isArray(t)?t.length:t.byteLength/8)<=r.y9?Array.from(t):new Float32Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}},33770:(t,e,n)=>{n.d(e,{b:()=>a});var r=n(39439),i=n(29754);function a(t,e,n){let a=Array.isArray(t),o=a?t.length/e:t.byteLength/(4*e),u=a?t:new Uint32Array(t,0,o*e),l=n?.minReduction??0,c=n?.originalIndices||null,f=c?c.length:0,h=n?.componentOffsets||null,d=0;if(h)for(let t=0;t<h.length-1;t++){let e=h[t+1]-h[t];e>d&&(d=e)}else d=o;let p=Math.floor(1.1*d)+1;(null==s||s.length<2*p)&&(s=new Uint32Array((0,r.cU)(2*p)));for(let t=0;t<2*p;t++)s[t]=0;let _=0,m=!!h&&!!c,M=m?f:o,g=(0,i.my)(o),E=new Uint32Array(f),S=0!==l?Math.ceil(15.366399999999999/(l*l)*l*(1-l)):M,A=1,y=h?h[1]:M;for(let t=0;t<M;t++){if(t===S){let e=1-_/t;if(e+1.96*Math.sqrt(e*(1-e)/t)<l)return null;S*=2}if(t===y){for(let t=0;t<2*p;t++)s[t]=0;if(c)for(let t=h[A-1];t<h[A];t++)E[t]=g[c[t]];y=h[++A]}let n=m?c[t]:t,r=n*e,i=function(t,e,n){let r=0;for(let i=0;i<n;i++)r=(r=t[e+i]+r|0)+(r<<11)+(r>>>2)|0;return r>>>0}(u,r,e),a=i%p,o=_;for(;0!==s[2*a+1];){if(s[2*a]===i){let t=s[2*a+1]-1;if(function(t,e,n,r){for(let i=0;i<r;i++)if(t[e+i]!==t[n+i])return!1;return!0}(u,r,t*e,e)){o=g[t];break}}++a>=p&&(a-=p)}o===_&&(s[2*a]=i,s[2*a+1]=n+1,_++),g[n]=o}if(0!==l&&1-_/o<l)return null;if(m){for(let t=h[A-1];t<E.length;t++)E[t]=g[c[t]];g=(0,i.uW)(E)}let I=a?Array(_):new Uint32Array(_*e);_=0;for(let t=0;t<M;t++)g[t]===_&&(function(t,e,n,r,i){for(let a=0;a<i;a++)n[r+a]=t[e+a]}(u,(m?c[t]:t)*e,I,_*e,e),_++);if(c&&!m){let t=new Uint32Array(f);for(let e=0;e<t.length;e++)t[e]=g[c[e]];g=(0,i.uW)(t)}return{buffer:Array.isArray(I)?I:I.buffer,indices:g,uniqueCount:_}}let s=null},34835:(t,e,n)=>{n.d(e,{o6:()=>I,extractComponentsEdgeLocationsLayout:()=>G,hx:()=>N,Jb:()=>b});var r=n(33770);function i(t,e,n){let r=e/3,i=new Uint32Array(n+1),a=new Uint32Array(n+1),s=(t,e)=>{t<e?i[t+1]++:a[e+1]++};for(let e=0;e<r;e++){let n=t[3*e],r=t[3*e+1],i=t[3*e+2];s(n,r),s(r,i),s(i,n)}let o=0,u=0;for(let t=0;t<n;t++){let e=i[t+1],n=a[t+1];i[t+1]=o,a[t+1]=u,o+=e,u+=n}let l=new Uint32Array(6*r),c=i[n],f=(t,e,n)=>{if(t<e){let r=i[t+1]++;l[2*r]=e,l[2*r+1]=n}else{let r=a[e+1]++;l[2*c+2*r]=t,l[2*c+2*r+1]=n}};for(let e=0;e<r;e++){let n=t[3*e],r=t[3*e+1],i=t[3*e+2];f(n,r,e),f(r,i,e),f(i,n,e)}let h=(t,e)=>{let n=2*t,r=e-t;for(let t=1;t<r;t++){let e=l[n+2*t],r=l[n+2*t+1],i=t-1;for(;i>=0&&l[n+2*i]>e;i--)l[n+2*i+2]=l[n+2*i],l[n+2*i+3]=l[n+2*i+1];l[n+2*i+2]=e,l[n+2*i+3]=r}};for(let t=0;t<n;t++)h(i[t],i[t+1]),h(c+a[t],c+a[t+1]);let d=new Int32Array(3*r),p=(e,n)=>e===t[3*n]?0:e===t[3*n+1]?1:e===t[3*n+2]?2:-1,_=(t,e)=>{let n=p(t,e);d[3*e+n]=-1},m=(t,e,n,r)=>{let i=p(t,e);d[3*e+i]=r;let a=p(n,r);d[3*r+a]=e};for(let t=0;t<n;t++){let e=i[t],n=i[t+1],r=a[t],s=a[t+1];for(;e<n&&r<s;){let n=l[2*e],i=l[2*c+2*r];n===i?(m(t,l[2*e+1],i,l[2*c+2*r+1]),e++,r++):n<i?(_(t,l[2*e+1]),e++):(_(i,l[2*c+2*r+1]),r++)}for(;e<n;)_(t,l[2*e+1]),e++;for(;r<s;)_(l[2*c+2*r],l[2*c+2*r+1]),r++}return d}var a=n(67041),s=n(56065),o=n(94527),u=n(24174),l=n(91996),c=n(2392);class f{updateSettings(t){this.settings=t,this._edgeHashFunction=t.reducedPrecision?m:_}write(t,e,n){var r;A.seed=this._edgeHashFunction(n);let i=A.getIntRange(0,255),a=A.getIntRange(0,this.settings.variants-1),s=A.getFloat(),o=255*(.5*(Math.abs(r=-(1-Math.min(s/.7,1))+Math.max(0,s-.7)/.30000000000000004)**1.2*Math.sign(r))+.5);t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1),t.componentIndex.set(e,n.componentIndex),t.variantOffset.set(e,i),t.variantStroke.set(e,a),t.variantExtension.set(e,o)}}let h=new Float32Array(6),d=new Uint32Array(h.buffer),p=new Uint32Array(1);function _(t){return h[0]=t.position0[0],h[1]=t.position0[1],h[2]=t.position0[2],h[3]=t.position1[0],h[4]=t.position1[1],h[5]=t.position1[2],p[0]=31*(31*(31*(31*(31*(166811+d[0])+d[1])+d[2])+d[3])+d[4])+d[5],p[0]}function m(t){h[0]=M(t.position0[0]),h[1]=M(t.position0[1]),h[2]=M(t.position0[2]),h[3]=M(t.position1[0]),h[4]=M(t.position1[1]),h[5
1]=M(t.position1[2]),p[0]=5381;for(let t=0;t<d.length;t++)p[0]=31*p[0]+d[t];return p[0]}function M(t){return Math.round(1e4*t)/1e4}class g{constructor(){this._commonWriter=new f}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return s.gr.createBuffer(t)}write(t,e,n){this._commonWriter.write(t,e,n),(0,u.g)(S,n.faceNormal0,n.faceNormal1),(0,u.n)(S,S);let{typedBuffer:r,typedBufferStride:i}=t.normalCompressed;(0,c.aT)(r,e,S[0],S[1],S[2],i)}}class E{constructor(){this._commonWriter=new f}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return s.In.createBuffer(t)}write(t,e,n){this._commonWriter.write(t,e,n);{let{typedBuffer:r,typedBufferStride:i}=t.normalCompressed;(0,c.aT)(r,e,n.faceNormal0[0],n.faceNormal0[1],n.faceNormal0[2],i)}{let{typedBuffer:r,typedBufferStride:i}=t.normal2Compressed;(0,c.aT)(r,e,n.faceNormal1[0],n.faceNormal1[1],n.faceNormal1[2],i)}}}let S=(0,l.vt)(),A=new o.A;var y=n(92022);function I(t){let e=N(t.data,t.skipDeduplicate,t.indices,t.indicesLength);return T.updateSettings(t.writerSettings),v.updateSettings(t.writerSettings),(0,y.K)(e,T,v)}function N(t,e,n,a){if(e){let e=i(n,a,t.count);return new R(n,a,e,t)}let o=(0,r.b)(t.buffer,t.stride/4,{originalIndices:n}),u=i(o.indices,a,o.uniqueCount);return{faces:o.indices,facesLength:o.indices.length,neighbors:u,vertices:s.EdgeInputBufferLayout.createView(o.buffer)}}class R{constructor(t,e,n,r){this.faces=t,this.facesLength=e,this.neighbors=n,this.vertices=r}}let T=new g,v=new E,b=(0,a.BP)().vec3f("position0").vec3f("position1"),G=(0,a.BP)().vec3f("position0").vec3f("position1").u16("componentIndex")},35755:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var r=n(87666),i=n(56065),a=n(92022),s=n(34835);class o{async extract(t){var e,n;let i=u(t),a=(0,s.o6)(i),o=[i.data.buffer];return{result:(e=a,(n=o).push(e.regular.lodInfo.lengths.buffer),n.push(e.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:(0,r.L)(e.regular.instancesData,n),lodInfo:{lengths:e.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:(0,r.L)(e.silhouette.instancesData,n),lodInfo:{lengths:e.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:e.averageEdgeLength}),transferList:o}}async extractComponentsEdgeLocations(t){let e=u(t),n=(0,s.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),i=(0,a.K)(n,h),o=[];return{result:(0,r.L)(i.regular.instancesData,o),transferList:o}}async extractEdgeLocations(t){let e=u(t),n=(0,s.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),i=(0,a.K)(n,f),o=[];return{result:(0,r.L)(i.regular.instancesData,o),transferList:o}}}function u(t){return{data:i.EdgeInputBufferLayout.createView(t.dataBuffer),indices:"Uint32Array"===t.indicesType?new Uint32Array(t.indices):"Uint16Array"===t.indicesType?new Uint16Array(t.indices):t.indices,indicesLength:t.indicesLength,writerSettings:t.writerSettings,skipDeduplicate:t.skipDeduplicate}}class l{allocate(t){return s.Jb.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1)}}class c{allocate(t){return s.extractComponentsEdgeLocationsLayout.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1),t.componentIndex.set(e,n.componentIndex)}}let f=new l,h=new c},55915:(t,e,n)=>{function r(t){let e=0;return new Map(t.map(({name:t,count:n})=>{let r=[t,e];return 16===n?e+=4:9===n?e+=3:++e,r}))}function i(t){let e=new Map,n=0;return t.forEach(t=>t.forEach(({name:t,count:r})=>{e.set(t,n),16===r?n+=4:9===r?n+=3:++n})),e}function a(t){return i(Array.from(t.values()).map(({layout:t})=>t))}n.d(e,{Sk:()=>a,Xk:()=>r,_u:()=>i})},56065:(t,e,n)=>{n.d(e,{EdgeInputBufferLayout:()=>s,In:()=>c,g6:()=>d,gr:()=>l,kU:()=>p,lX:()=>f,pz:()=>h,vJ:()=>o,wO:()=>u});var r=n(76607),i=n(67041),a=n(55915);let s=(0,i.BP)().vec3f("position").u16("componentIndex").freeze(),o=(0,i.BP)().vec2u8("sideness").freeze(),u=(0,r.U)(o),l=(0,i.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").u16("componentIndex").u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),c=(0,i.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").vec2i16("normal2Compressed").u16("componentIndex").u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),f=(0,r.U)(l,1),h=(0,r.U)(c,1),d=(0,a._u)([u,f]),p=(0,a._u)([u,h])},58793:(t,e,n)=>{n.d(e,{a:()=>E,b:()=>p,c:()=>c,d:()=>i,e:()=>S,f:()=>h,g:()=>m,h:()=>s,i:()=>d,l:()=>M,n:()=>_,s:()=>a,t:()=>g,v:()=>A});var r=n(99190);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function a(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function o(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function c(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function f(t,e){let n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+a*a)}function h(t,e){let n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],a=e[3]-t[3];return n*n+r*r+i*i+a*a}function d(t){let e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)}function p(t){let e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function _(t,e){let n=e[0],r=e[1],i=e[2],a=e[3],s=n*n+r*r+i*i+a*a;return s>0&&(s=1/Math.sqrt(s),t[0]=n*s,t[1]=r*s,t[2]=i*s,t[3]=a*s),t}function m(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function M(t,e,n,r){let i=e[0],a=e[1],s=e[2],o=e[3];return t[0]=i+r*(n[0]-i),t[1]=a+r*(n[1]-a),t[2]=s+r*(n[2]-s),t[3]=o+r*(n[3]-o),t}function g(t,e,n){let r=e[0],i=e[1],a=e[2],s=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*s,t[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*s,t[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*s,t[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*s,t}function E(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function S(t,e){let n=t[0],i=t[1],a=t[2],s=t[3],o=e[0],u=e[1],l=e[2],c=e[3],f=(0,r.FD)();return Math.abs(n-o)<=f*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-u)<=f*Math.max(1,Math.abs(i),Math.abs(u))&&Math.abs(a-l)<=f*Math.max(1,Math.abs(a),Math.abs(l))&&Math.abs(s-c)<=f*Math.max(1,Math.abs(s),Math.abs(c))}let A=Object.freeze(Object.defineProperty({__proto__:null,add:s,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}
1,dist:f,distance:f,div:l,divide:l,dot:m,equals:S,exactEquals:E,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:d,length:d,lerp:M,max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t},mul:u,multiply:u,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:_,random:function(t,e=1){let n,i,a,s,o,u,l=r.Ov;do o=(n=2*l()-1)*n+(i=2*l()-1)*i;while(o>=1);do u=(a=2*l()-1)*a+(s=2*l()-1)*s;while(u>=1);let c=Math.sqrt((1-o)/u);return t[0]=e*n,t[1]=e*i,t[2]=e*a*c,t[3]=e*s*c,t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t},scale:c,scaleAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},set:a,sqrDist:h,sqrLen:p,squaredDistance:h,squaredLength:p,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:o,subtract:o,transformMat4:g,transformQuat:function(t,e,n){let r=e[0],i=e[1],a=e[2],s=n[0],o=n[1],u=n[2],l=n[3],c=l*r+o*a-u*i,f=l*i+u*r-s*a,h=l*a+s*i-o*r,d=-s*r-o*i-u*a;return t[0]=c*l+-(d*s)+-(f*u)- -(h*o),t[1]=f*l+-(d*o)+-(h*s)- -(c*u),t[2]=h*l+-(d*u)+-(c*o)- -(f*s),t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},67041:(t,e,n)=>{n.d(e,{BP:()=>f,l5:()=>h,q3:()=>c});var r=n(5294),i=n(36486),a=n(67962),s=n(76607),o=n(83208),u=n(55915);class l{constructor(t,e){for(const n of(this.layout=t,this.buffer="number"==typeof e?new ArrayBuffer(e*t.stride):e,t.fields.keys())){const e=t.fields.get(n);this[n]=new e.constructor(this.buffer,e.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.buffer.byteLength/this.stride}get byteLength(){return this.buffer.byteLength}getField(t,e){let n=this[t];return n&&n.elementCount===e.ElementCount&&n.elementType===e.ElementType?n:null}slice(t,e){return new l(this.layout,this.buffer.slice(t*this.stride,e*this.stride))}copyFrom(t,e=0,n=0,r=t.count){let i=this.stride;if(i%4==0){let a=new Uint32Array(t.buffer,e*i,r*i/4);new Uint32Array(this.buffer,n*i,r*i/4).set(a)}else{let a=new Uint8Array(t.buffer,e*i,r*i);new Uint8Array(this.buffer,n*i,r*i).set(a)}return this}get usedMemory(){return this.byteLength}dispose(){}}class c{constructor(t){this._stride=0,this._fields=new Map,t&&(this._stride=t.stride,t.fields.forEach(t=>{var e;return this._fields.set(t[0],{...t[1],constructor:(e=t[1].constructor,_.get(e))})}))}freeze(){return this}get locations(){return(0,u.Xk)((0,s.U)(this))}vec2f16(t,e){return this._appendField(t,r.SX?i.ZD:i.gH,e),this}vec2f(t,e){return this._appendField(t,i.gH,e),this}vec2f64(t,e){return this._appendField(t,i.si,e),this}vec3f16(t,e){return this._appendField(t,r.SX?i.EC:i.xs,e),this}vec3f(t,e){return this._appendField(t,i.xs,e),this}vec3f64(t,e){return this._appendField(t,i.Xm,e),this}vec4f16(t,e){return this._appendField(t,r.SX?i.jz:i.Eq,e),this}vec4f(t,e){return this._appendField(t,i.Eq,e),this}vec4f64(t,e){return this._appendField(t,i.Aj,e),this}mat3f(t,e){return this._appendField(t,i.jZ,e),this}mat3f64(t,e){return this._appendField(t,i.j0,e),this}mat4f(t,e){return this._appendField(t,i.Sx,e),this}mat4f64(t,e){return this._appendField(t,i.E$,e),this}vec4u8(t,e){return this._appendField(t,i.XP,e),this}f16(t,e){return this._appendField(t,r.SX?i.XW:i.Y$,e),this}f32(t,e){return this._appendField(t,i.Y$,e),this}f64(t,e){return this._appendField(t,i.qB,e),this}u8(t,e){return this._appendField(t,i.SL,e),this}u16(t,e){return this._appendField(t,i.h,e),this}i8(t,e){return this._appendField(t,i.bf,e),this}vec2i8(t,e){return this._appendField(t,i.D6,e),this}vec2i16(t,e){return this._appendField(t,i.mJ,e),this}vec2u8(t,e){return this._appendField(t,i.LC,e),this}vec2u16(t,e){return this._appendField(t,i.Yi,e),this}vec4u16(t,e){return this._appendField(t,i.Uz,e),this}
1vec4i16(t,e){return this._appendField(t,i.E7,e),this}u32(t,e){return this._appendField(t,i.P,e),this}_appendField(t,e,n){this._fields.has(t)&&(0,o.vA)(!1,`${t} already added to vertex buffer layout`);let r=e.ElementCount*(0,a.GJ)(e.ElementType),i=this._stride;this._fields.set(t,{constructor:e,size:r,offset:i,optional:n}),this._alignFields()}_alignFields(){let t=0,e=1;this._fields.forEach(n=>{let r=(0,a.GJ)(n.constructor.ElementType);n.offset=t=Math.floor((t+r-1)/r)*r,t+=n.size,e=Math.max(e,r)}),t=Math.floor((t+e-1)/e)*e,this._stride=t}createBuffer(t){return new l(this,t)}createView(t){return new l(this,t)}clone(){let t=new c;return t._stride=this._stride,t._fields=new Map,this._fields.forEach((e,n)=>t._fields.set(n,e)),t.BufferType=this.BufferType,t}get stride(){return this._stride}get fields(){return this._fields}}function f(){return new c}class h{constructor(t){this.fields=[],t.fields.forEach((t,e)=>{let n={...t,constructor:p(t.constructor)};this.fields.push([e,n])}),this.stride=t.stride}}let d=[i.Y$,i.gH,i.xs,i.Eq,i.jZ,i.Sx,i.qB,i.si,i.Xm,i.Aj,i.j0,i.E$,i.SL,i.LC,i.eI,i.XP,i.h,i.Yi,i.nS,i.Uz,i.P,i.An,i.H$,i.ml,i.bf,i.D6,i.m8,i.TX,i.Qt,i.mJ,i.Vp,i.E7,i.My,i.UL,i.zD,i.Y4];function p(t){return`${t.ElementType}_${t.ElementCount}`}let _=new Map;d.forEach(t=>_.set(p(t),t))},67962:(t,e,n)=>{n.d(e,{GJ:()=>r});function r(t){switch(t){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}},76607:(t,e,n)=>{n.d(e,{U:()=>a}),n(56436);var r=n(26369),i=n(17408);function a(t,e=0){let n=t.stride;return Array.from(t.fields.keys()).map(a=>{let s=t.fields.get(a),o=s.constructor.ElementCount,u=function(t){switch(t){case"u8":return r.pe.UNSIGNED_BYTE;case"u16":return r.pe.UNSIGNED_SHORT;case"u32":return r.pe.UNSIGNED_INT;case"i8":return r.pe.BYTE;case"i16":return r.pe.SHORT;case"i32":return r.pe.INT;case"f16":return r.pe.HALF_FLOAT;case"f32":return r.pe.FLOAT;default:throw Error("BufferType not supported in WebGL")}}(s.constructor.ElementType),l=s.offset,c=s.optional?.glNormalized??!1;return new i._(a,o,u,l,n,c,e)})}},79749:(t,e,n)=>{function r(){return[0,0]}function i(t){return[t[0],t[1]]}function a(t,e){return[t,e]}function s(t,e=r()){let n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function o(){return r()}function u(){return a(1,1)}function l(){return a(1,0)}function c(){return a(0,1)}n.d(e,{Cw:()=>d,JP:()=>p,Ul:()=>o,Un:()=>h,ci:()=>s,fA:()=>a,o8:()=>i,uY:()=>f,vt:()=>r});let f=o(),h=u(),d=l(),p=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:d,UNIT_Y:p,ZEROS:f,clone:i,create:r,freeze:function(t,e){return[t,e]},fromArray:s,fromValues:a,ones:u,unitX:l,unitY:c,zeros:o},Symbol.toStringTag,{value:"Module"}))},87666:(t,e,n)=>{n.d(e,{L:()=>i,s:()=>a});var r=n(67041);function i(t,e){return e.push(t.buffer),{buffer:t.buffer,layout:new r.l5(t.layout)}}function a(t){return new r.q3(t.layout).createView(t.buffer)}},92022:(t,e,n)=>{n.d(e,{b:()=>c,K:()=>u});var r=n(39439),i=n(78084),a=n(24174),s=n(91996);class o{constructor(){this.position0=(0,s.vt)(),this.position1=(0,s.vt)(),this.faceNormal0=(0,s.vt)(),this.faceNormal1=(0,s.vt)(),this.componentIndex=0,this.cosAngle=0}}function u(t,e,n){let i=t.vertices.position,s=t.vertices.componentIndex,o=p.position0,u=p.position1,l=p.faceNormal0,c=p.faceNormal1,{edges:I,normals:N}=function(t){let e=t.faces.length/3,n=t.faces,r=t.neighbors,i=t.vertices.position;h.length=d.length=0;for(let t=0;t<e;t++){let e=3*t,s=r[e],o=r[e+1],u=r[e+2],l=n[e],c=n[e+1],f=n[e+2];i.getVec(l,M),i.getVec(c,g),i.getVec(f,E),(0,a.e)(g,g,M),(0,a.e)(E,E,M),(0,a.i)(M,g,E),(0,a.n)(M,M),d.pushArray(M),(-1===s||l<c)&&(h.push(l),h.push(c),h.push(t),h.push(s)),(-1===o||c<f)&&(h.push(c),h.push(f),h.push(t),h.push(o)),(-1===u||f<l)&&(h.push(f),h.push(l),h.push(t),h.push(u))}return{edges:h,normals:d}}(t),R=I.length/4,T=e.allocate(R),v=0,b=n?.allocate(R),G=0,w=0,U=0;f.length=0;for(let t=0;t<R;++t){let e=4*t;i.getVec(I.data[e],o),i.getVec(I.data[e+1],u);let n=f.pushNew();n.index=4*t,n.length=(0,a.k)(o,u)}f.sort((t,e)=>e.length-t.length);let B=[],O=[];f.forAll(({length:t,index:f})=>{var h,d,M,g,E,R;let F,D=I.data[f],L=I.data[f+1],C=I.data[f+2],x=I.data[f+3],P=-1===x;if(i.getVec(D,o),i.getVec(L,u),P){let t=3*C;(0,a.j)(l,N.data[t],N.data[t+1],N.data[t+2]),(0,a.d)(c,l),p.componentIndex=s.get(D),p.cosAngle=(0,a.f)(l,c)}else{let t=3*C;if((0,a.j)(l,N.data[t],N.data[t+1],N.data[t+2]),t=3*x,(0,a.j)(c,N.data[t],N.data[t+1],N.data[t+2]),p.componentIndex=s.get(D),p.cosAngle=(0,a.f)(l,c),h=p,d=A,h.cosAngle>d)return;p.cosAngle<-.9999&&(0,a.d)(c,l)}w+=t,U++,P||(M=p,g=y,M.cosAngle<g)?(e.write(T,v++,p),B.push(t)):(E=p,R=S,F=(0,r.XM)(E.cosAngle),(0,a.E)(m,E.position1,E.position0),F*((0,a.f)((0,a.i)(_,E.faceNormal0,E.faceNormal1),m)>0?-1:1)>R&&(b&&n&&n.write(b,G++,p),O.push(t)))});let F=new Float32Array(B.reverse()),D=new Float32Array(O.reverse()),L=b&&n?{instancesData:b.slice(0,G),lodInfo:{lengths:D}}:void 0;return{regular:{instancesData:T.slice(0,v),lodInfo:{lengths:F}},silhouette:L,averageEdgeLength:w/U}}class l{constructor(){this.index=0,this.length=0}}function c(){f.prune(),h.prune(),d.prune()}let f=new i.A({allocator:t=>t||new l,deallocator:null}),h=new i.A({deallocator:null}),d=new i.A({deallocator:null}),p=new o,_=(0,s.vt)(),m=(0,s.vt)(),M=(0,s.vt)(),g=(0,s.vt)(),E=(0,s.vt)(),S=(0,r.kU)(4),A=Math.cos(S),y=Math.cos((0,r.kU)(35))},99970:(t,e,n)=>{n.d(e,{O:()=>i});var r=n(96893);function i(t){return t<=r.y9?Array(t):new Int16Array(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.