text: !function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="/",r(r.s=93)}({0:function(n,t,r){"use strict";var e={};r.r(e),r.d(e,"create",function(){return d}),r.d(e,"clone",function(){return s}),r.d(e,"copy",function(){return h}),r.d(e,"fromValues",function(){return l}),r.d(e,"set",function(){return M}),r.d(e,"identity",function(){return v}),r.d(e,"transpose",function(){return m}),r.d(e,"invert",function(){return b}),r.d(e,"adjoint",function(){return p}),r.d(e,"determinant",function(){return g}),r.d(e,"multiply",function(){return y}),r.d(e,"translate",function(){return E}),r.d(e,"scale",function(){return A}),r.d(e,"rotate",function(){return x}),r.d(e,"rotateX",function(){return T}),r.d(e,"rotateY",function(){return w}),r.d(e,"rotateZ",function(){return I}),r.d(e,"fromTranslation",function(){return _}),r.d(e,"fromScaling",function(){return L}),r.d(e,"fromRotation",function(){return q}),r.d(e,"fromXRotation",function(){return R}),r.d(e,"fromYRotation",function(){return S}),r.d(e,"fromZRotation",function(){return F}),r.d(e,"fromRotationTranslation",function(){return P}),r.d(e,"fromQuat2",function(){return B}),r.d(e,"getTranslation",function(){return U}),r.d(e,"getScaling",function(){return D}),r.d(e,"getRotation",function(){return N}),r.d(e,"fromRotationTranslationScale",function(){return k}),r.d(e,"fromRotationTranslationScaleOrigin",function(){return C}),r.d(e,"fromQuat",function(){return O}),r.d(e,"frustum",function(){return Y}),r.d(e,"perspective",function(){return V}),r.d(e,"perspectiveFromFieldOfView",function(){return j}),r.d(e,"ortho",function(){return z}),r.d(e,"lookAt",function(){return G}),r.d(e,"targetTo",function(){return H}),r.d(e,"str",function(){return W}),r.d(e,"frob",function(){return X}),r.d(e,"add",function(){return Q}),r.d(e,"subtract",function(){return Z}),r.d(e,"multiplyScalar",function(){return K}),r.d(e,"multiplyScalarAndAdd",function(){return J}),r.d(e,"exactEquals",function(){return $}),r.d(e,"equals",function(){return nn}),r.d(e,"mul",function(){return tn}),r.d(e,"sub",function(){return rn});var u={};r.r(u),r.d(u,"create",function(){return en}),r.d(u,"clone",function(){return un}),r.d(u,"fromValues",function(){return an}),r.d(u,"copy",function(){return on}),r.d(u,"set",function(){return cn}),r.d(u,"add",function(){return fn}),r.d(u,"subtract",function(){return dn}),r.d(u,"multiply",function(){return sn}),r.d(u,"divide",function(){return hn}),r.d(u,"ceil",function(){return ln}),r.d(u,"floor",function(){return Mn}),r.d(u,"min",function(){return vn}),r.d(u,"max",function(){return mn}),r.d(u,"round",function(){return bn}),r.d(u,"scale",function(){return pn}),r.d(u,"scaleAndAdd",function(){return gn}),r.d(u,"distance",function(){return yn}),r.d(u,"squaredDistance",function(){return En}),r.d(u,"length",function(){return An}),r.d(u,"squaredLength",function(){return xn}),r.d(u,"negate",function(){return Tn}),r.d(u,"inverse",function(){return wn}),r.d(u,"normalize",function(){return In}),r.d(u,"dot",function(){return _n}),r.d(u,"cross",function(){return Ln}),r.d(u,"lerp",function(){return qn}),r.d(u,"random",function(){return Rn}),r.d(u,"transformMat2",function(){return Sn}),r.d(u,"transformMat2d",function(){return Fn}),r.d(u,"transformMat3",function(){return Pn}),r.d(u,"transformMat4",function(){return Bn}),r.d(u,"rotate",function(){return Un}),r.d(u,"angle",function(){return Dn}),r.d(u,"zero",function(){return Nn}),r.d(u,"str",function(){return kn}),r.d(u,"exactEquals",function(){return Cn}),r.d(u,"equals",function(){return On}),r.d(u,"len",function(){return Vn}),r.d(u,"sub",function(){return jn}),r.d(u,"mul",function(){return zn}),r.d(u,"div",function(){return Gn}),r.d(u,"dist",function(){return Hn}),r.d(u,"sqrDist",function(){return Wn}),r.d(u,"sqrLen",function(){return Xn}),r.d(u,"forEach",function(){return Qn});var a={};r.r(a),r.d(a,"create",function(){return Zn}),r.d(a,"clone",function(){return Kn}),r.d(a,"length",function(){return Jn}),r.d(a,"fromValues",function(){return $n}),r.d(a,"copy",function(){return nt}),r.d(a,"set",function(){return tt}),r.d(a,"add",function(){return rt}),r.d(a,"subtract",function(){return et}),r.d(a,"multiply",function(){return ut}),r.d(a,"divide",function(){return at}),r.d(a,"ceil",function(){return ot}),r.d(a,"floor",function(){return it}),r.d(a,"min",function(){return ct}),r.d(a,"max",function(){return ft}),r.d(a,"round",function(){return dt}),r.d(a,"scale",function(){return st}),r.d(a,"scaleAndAdd",function(){return ht}),r.d(a,"distance",function(){return lt}),r.d(a,"squaredDistance",function(){return Mt}),r.d(a,"squaredLength",function(){return vt}),r.d(a,"negate",function(){return mt}),r.d(a,"inverse",function(){return bt}),r.d(a,"normalize",function(){return pt}),r.d(a,"dot",function(){return gt}),r.d(a,"cross",function(){return yt}),r.d(a,"lerp",function(){return Et}),r.d(a,"hermite",function(){return At}),r.d(a,"bezier",function(){return xt}),r.d(a,"random",function(){return Tt}),r.d(a,"transformMat4",function(){return wt}),r.d(a,"transformMat3",function(){return It}),r.d(a,"transformQuat",function(){return _t}),r.d(a,"rotateX",function(){return Lt}),r.d(a,"rotateY",function(){return qt}),r.d(a,"rotateZ",function(){return Rt}),r.d(a,"angle",function(){return St}),r.d(a,"zero",function(){return Ft}),r.d(a,"str",function(){return Pt}),r.d(a,"exactEquals",function(){return Bt}),r.d(a,"equals",function(){return Ut}),r.d(a,"sub",function(){return Dt}),r.d(a,"mul",function(){return Nt}),r.d(a,"div",function(){return kt}),r.d(a,"dist",function(){return Ct}),r.d(a,"sqrDist",function(){return Ot}),r.d(a,"len",function(){return Yt}),r.d(a,"sqrLen",function(){return Vt}),r.d(a,"forEach",function(){return jt});var o={};r.r(o),r.d(o,"create",function(){return zt}),r.d(o,"clone",function(){return Gt}),r.d(o,"fromValues",function(){return Ht}),r.d(o,"copy",function(){return Wt}),r.d(o,"set",function(){return Xt}),r.d(o,"add",function(){return Qt}),r.d(o,"subtract",function(){return Zt}),r.d(o,"multiply",function(){return Kt}),r.d(o,"divide",function(){return Jt}),r.d(o,"ceil",function(){return $t}),r.d(o,"floor",function(){return nr}),r.d(o,"min",function(){return tr}),r.d(o,"max",function(){return rr}),r.d(o,"round",function(){return er}),r.d(o,"scale",function(){return ur}),r.d(o,"scaleAndAdd",function(){return ar}),r.d(o,"distance",function(){return or}),r.d(o,"squaredDistance",function(){return ir}),r.d(o,"length",function(){return cr}),r.d(o,"squaredLength",function(){return fr}),r.d(o,"negate",function(){return dr}),r.d(o,"inverse",function(){return sr}),r.d(o,"normalize",function(){return hr}),r.d(o,"dot",function(){return lr}),r.d(o,"cross",function(){return Mr}),r.d(o,"lerp",function(){return vr}),r.d(o,"random",function(){return mr}),r.d(o,"transformMat4",function(){return br}),r.d(o,"transformQuat",function(){return pr}),r.d(o,"zero",function(){return gr}),r.d(o,"str",function(){return yr}),r.d(o,"exactEquals",function(){return Er}),r.d(o,"equals",function(){return Ar}),r.d(o,"sub",function(){return xr}),r.d(o,"mul",function(){return Tr}),r.d(o,"div",function(){return wr}),r.d(o,"dist",function(){return Ir}),r.d(o,"sqrDist",function(){return _r}),r.d(o,"len",function(){return Lr}),r.d(o,"sqrLen",function(){return qr}),r.d(o,"forEach",function(){return Rr});var i=1e-6,c="undefined"!=typeof Float32Array?Float32Array:Array,f=Math.random;Math.PI;function d(){var n=new c(16);return c!=Float32Array&&(n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[11]=0,n[12]=0,n[13]=0,n[14]=0),n[0]=1,n[5]=1,n[10]=1,n[15]=1,n}function s(n){var t=new c(16);return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function h(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n[6]=t[6],n[7]=t[7],n[8]=t[8],n[9]=t[9],n[10]=t[10],n[11]=t[11],n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15],n}function l(n,t,r,e,u,a,o,i,f,d,s,h,l,M,v,m){var b=new c(16);return b[0]=n,b[1]=t,b[2]=r,b[3]=e,b[4]=u,b[5]=a,b[6]=o,b[7]=i,b[8]=f,b[9]=d,b[10]=s,b[11]=h,b[12]=l,b[13]=M,b[14]=v,b[15]=m,b}function M(n,t,r,e,u,a,o,i,c,f,d,s,h,l,M,v,m){return n[0]=t,n[1]=r,n[2]=e,n[3]=u,n[4]=a,n[5]=o,n[6]=i,n[7]=c,n[8]=f,n[9]=d,n[10]=s,n[11]=h,n[12]=l,n[13]=M,n[14]=v,n[15]=m,n}function v(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=1,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=1,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n}function m(n,t){if(n===t){var r=t[1],e=t[2],u=t[3],a=t[6],o=t[7],i=t[11];n[1]=t[4],n[2]=t[8],n[3]=t[12],n[4]=r,n[6]=t[9],n[7]=t[13],n[8]=e,n[9]=a,n[11]=t[14],n[12]=u,n[13]=o,n[14]=i}else n[0]=t[0],n[1]=t[4],n[2]=t[8],n[3]=t[12],n[4]=t[1],n[5]=t[5],n[6]=t[9],n[7]=t[13],n[8]=t[2],n[9]=t[6],n[10]=t[10],n[11]=t[14],n[12]=t[3],n[13]=t[7],n[14]=t[11],n[15]=t[15];return n}function b(n,t){var r=t[0],e=t[1],u=t[2],a=t[3],o=t[4],i=t[5],c=t[6],f=t[7],d=t[8],s=t[9],h=t[10],l=t[11],M=t[12],v=t[13],m=t[14],b=t[15],p=r*i-e*o,g=r*c-u*o,y=r*f-a*o,E=e*c-u*i,A=e*f-a*i,x=u*f-a*c,T=d*v-s*M,w=d*m-h*M,I=d*b-l*M,_=s*m-h*v,L=s*b-l*v,q=h*b-l*m,R=p*q-g*L+y*_+E*I-A*w+x*T;return R?(R=1/R,n[0]=(i*q-c*L+f*_)*R,n[1]=(u*L-e*q-a*_)*R,n[2]=(v*x-m*A+b*E)*R,n[3]=(h*A-s*x-l*E)*R,n[4]=(c*I-o*q-f*w)*R,n[5]=(r*q-u*I+a*w)*R,n[6]=(m*y-M*x-b*g)*R,n[7]=(d*x-h*y+l*g)*R,n[8]=(o*L-i*I+f*T)*R,n[9]=(e*I-r*L-a*T)*R,n[10]=(M*A-v*y+b*p)*R,n[11]=(s*y-d*A-l*p)*R,n[12]=(i*w-o*_-c*T)*R,n[13]=(r*_-e*w+u*T)*R,n[14]=(v*g-M*E-m*p)*R,n[15]=(d*E-s*g+h*p)*R,n):null}function p(n,t){var r=t[0],e=t[1],u=t[2],a=t[3],o=t[4],i=t[5],c=t[6],f=t[7],d=t[8],s=t[9],h=t[10],l=t[11],M=t[12],v=t[13],m=t[14],b=t[15];return n[0]=i*(h*b-l*m)-s*(c*b-f*m)+v*(c*l-f*h),n[1]=-(e*(h*b-l*m)-s*(u*b-a*m)+v*(u*l-a*h)),n[2]=e*(c*b-f*m)-i*(u*b-a*m)+v*(u*f-a*c),n[3]=-(e*(c*l-f*h)-i*(u*l-a*h)+s*(u*f-a*c)),n[4]=-(o*(h*b-l*m)-d*(c*b-f*m)+M*(c*l-f*h)),n[5]=r*(h*b-l*m)-d*(u*b-a*m)+M*(u*l-a*h),n[6]=-(r*(c*b-f*m)-o*(u*b-a*m)+M*(u*f-a*c)),n[7]=r*(c*l-f*h)-o*(u*l-a*h)+d*(u*f-a*c),n[8]=o*(s*b-l*v)-d*(i*b-f*v)+M*(i*l-f*s),n[9]=-(r*(s*b-l*v)-d*(e*b-a*v)+M*(e*l-a*s)),n[10]=r*(i*b-f*v)-o*(e*b-a*v)+M*(e*f-a*i),n[11]=-(r*(i*l-f*s)-o*(e*l-a*s)+d*(e*f-a*i)),n[12]=-(o*(s*m-h*v)-d*(i*m-c*v)+M*(i*h-c*s)),n[13]=r*(s*m-h*v)-d*(e*m-u*v)+M*(e*h-u*s),n[14]=-(r*(i*m-c*v)-o*(e*m-u*v)+M*(e*c-u*i)),n[15]=r*(i*h-c*s)-o*(e*h-u*s)+d*(e*c-u*i),n}function g(n){var t=n[0],r=n[1],e=n[2],u=n[3],a=n[4],o=n[5],i=n[6],c=n[7],f=n[8],d=n[9],s=n[10],h=n[11],l=n[12],M=n[13],v=n[14],m=n[15];return(t*o-r*a)*(s*m-h*v)-(t*i-e*a)*(d*m-h*M)+(t*c-u*a)*(d*v-s*M)+(r*i-e*o)*(f*m-h*l)-(r*c-u*o)*(f*v-s*l)+(e*c-u*i)*(f*M-d*l)}function y(n,t,r){var e=t[0],u=t[1],a=t[2],o=t[3],i=t[4],c=t[5],f=t[6],d=t[7],s=t[8],h=t[9],l=t[10],M=t[11],v=t[12],m=t[13],b=t[14],p=t[15],g=r[0],y=r[1],E=r[2],A=r[3];return n[0]=g*e+y*i+E*s+A*v,n[1]=g*u+y*c+E*h+A*m,n[2]=g*a+y*f+E*l+A*b,n[3]=g*o+y*d+E*M+A*p,g=r[4],y=r[5],E=r[6],A=r[7],n[4]=g*e+y*i+E*s+A*v,n[5]=g*u+y*c+E*h+A*m,n[6]=g*a+y*f+E*l+A*b,n[7]=g*o+y*d+E*M+A*p,g=r[8],y=r[9],E=r[10],A=r[11],n[8]=g*e+y*i+E*s+A*v,n[9]=g*u+y*c+E*h+A*m,n[10]=g*a+y*f+E*l+A*b,n[11]=g*o+y*d+E*M+A*p,g=r[12],y=r[13],E=r[14],A=r[15],n[12]=g*e+y*i+E*s+A*v,n[13]=g*u+y*c+E*h+A*m,n[14]=g*a+y*f+E*l+A*b,n[15]=g*o+y*d+E*M+A*p,n}function E(n,t,r){var e,u,a,o,i,c,f,d,s,h,l,M,v=r[0],m=r[1],b=r[2];return t===n?(n[12]=t[0]*v+t[4]*m+t[8]*b+t[12],n[13]=t[1]*v+t[5]*m+t[9]*b+t[13],n[14]=t[2]*v+t[6]*m+t[10]*b+t[14],n[15]=t[3]*v+t[7]*m+t[11]*b+t[15]):(e=t[0],u=t[1],a=t[2],o=t[3],i=t[4],c=t[5],f=t[6],d=t[7],s=t[8],h=t[9],l=t[10],M=t[11],n[0]=e,n[1]=u,n[2]=a,n[3]=o,n[4]=i,n[5]=c,n[6]=f,n[7]=d,n[8]=s,n[9]=h,n[10]=l,n[11]=M,n[12]=e*v+i*m+s*b+t[12],n[13]=u*v+c*m+h*b+t[13],n[14]=a*v+f*m+l*b+t[14],n[15]=o*v+d*m+M*b+t[15]),n}function A(n,t,r){var e=r[0],u=r[1],a=r[2];return n[0]=t[0]*e,n[1]=t[1]*e,n[2]=t[2]*e,n[3]=t[3]*e,n[4]=t[4]*u,n[5]=t[5]*u,n[6]=t[6]*u,n[7]=t[7]*u,n[8]=t[8]*a,n[9]=t[9]*a,n[10]=t[10]*a,n[11]=t[11]*a,n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15],n}function x(n,t,r,e){var u,a,o,c,f,d,s,h,l,M,v,m,b,p,g,y,E,A,x,T,w,I,_,L,q=e[0],R=e[1],S=e[2],F=Math.sqrt(q*q+R*R+S*S);return F<i?null:(q*=F=1/F,R*=F,S*=F,u=Math.sin(r),o=1-(a=Math.cos(r)),c=t[0],f=t[1],d=t[2],s=t[3],h=t[4],l=t[5],M=t[6],v=t[7],m=t[8],b=t[9],p=t[10],g=t[11],y=q*q*o+a,E=R*q*o+S*u,A=S*q*o-R*u,x=q*R*o-S*u,T=R*R*o+a,w=S*R*o+q*u,I=q*S*o+R*u,_=R*S*o-q*u,L=S*S*o+a,n[0]=c*y+h*E+m*A,n[1]=f*y+l*E+b*A,n[2]=d*y+M*E+p*A,n[3]=s*y+v*E+g*A,n[4]=c*x+h*T+m*w,n[5]=f*x+l*T+b*w,n[6]=d*x+M*T+p*w,n[7]=s*x+v*T+g*w,n[8]=c*I+h*_+m*L,n[9]=f*I+l*_+b*L,n[10]=d*I+M*_+p*L,n[11]=s*I+v*_+g*L,t!==n&&(n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15]),n)}function T(n,t,r){var e=Math.sin(r),u=Math.cos(r),a=t[4],o=t[5],i=t[6],c=t[7],f=t[8],d=t[9],s=t[10],h=t[11];return t!==n&&(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15]),n[4]=a*u+f*e,n[5]=o*u+d*e,n[6]=i*u+s*e,n[7]=c*u+h*e,n[8]=f*u-a*e,n[9]=d*u-o*e,n[10]=s*u-i*e,n[11]=h*u-c*e,n}function w(n,t,r){var e=Math.sin(r),u=Math.cos(r),a=t[0],o=t[1],i=t[2],c=t[3],f=t[8],d=t[9],s=t[10],h=t[11];return t!==n&&(n[4]=t[4],n[5]=t[5],n[6]=t[6],n[7]=t[7],n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15]),n[0]=a*u-f*e,n[1]=o*u-d*e,n[2]=i*u-s*e,n[3]=c*u-h*e,n[8]=a*e+f*u,n[9]=o*e+d*u,n[10]=i*e+s*u,n[11]=c*e+h*u,n}function I(n,t,r){var e=Math.sin(r),u=Math.cos(r),a=t[0],o=t[1],i=t[2],c=t[3],f=t[4],d=t[5],s=t[6],h=t[7];return t!==n&&(n[8]=t[8],n[9]=t[9],n[10]=t[10],n[11]=t[11],n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15]),n[0]=a*u+f*e,n[1]=o*u+d*e,n[2]=i*u+s*e,n[3]=c*u+h*e,n[4]=f*u-a*e,n[5]=d*u-o*e,n[6]=s*u-i*e,n[7]=h*u-c*e,n}function _(n,t){return n[0]=1,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=1,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=1,n[11]=0,n[12]=t[0],n[13]=t[1],n[14]=t[2],n[15]=1,n}function L(n,t){return n[0]=t[0],n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=t[1],n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=t[2],n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n}function q(n,t,r){var e,u,a,o=r[0],c=r[1],f=r[2],d=Math.sqrt(o*o+c*c+f*f);return d<i?null:(o*=d=1/d,c*=d,f*=d,e=Math.sin(t),a=1-(u=Math.cos(t)),n[0]=o*o*a+u,n[1]=c*o*a+f*e,n[2]=f*o*a-c*e,n[3]=0,n[4]=o*c*a-f*e,n[5]=c*c*a+u,n[6]=f*c*a+o*e,n[7]=0,n[8]=o*f*a+c*e,n[9]=c*f*a-o*e,n[10]=f*f*a+u,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n)}function R(n,t){var r=Math.sin(t),e=Math.cos(t);return n[0]=1,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=e,n[6]=r,n[7]=0,n[8]=0,n[9]=-r,n[10]=e,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n}function S(n,t){var r=Math.sin(t),e=Math.cos(t);return n[0]=e,n[1]=0,n[2]=-r,n[3]=0,n[4]=0,n[5]=1,n[6]=0,n[7]=0,n[8]=r,n[9]=0,n[10]=e,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n}function F(n,t){var r=Math.sin(t),e=Math.cos(t);return n[0]=e,n[1]=r,n[2]=0,n[3]=0,n[4]=-r,n[5]=e,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=1,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n}function P(n,t,r){var e=t[0],u=t[1],a=t[2],o=t[3],i=e+e,c=u+u,f=a+a,d=e*i,s=e*c,h=e*f,l=u*c,M=u*f,v=a*f,m=o*i,b=o*c,p=o*f;return n[0]=1-(l+v),n[1]=s+p,n[2]=h-b,n[3]=0,n[4]=s-p,n[5]=1-(d+v),n[6]=M+m,n[7]=0,n[8]=h+b,n[9]=M-m,n[10]=1-(d+l),n[11]=0,n[12]=r[0],n[13]=r[1],n[14]=r[2],n[15]=1,n}function B(n,t){var r=new c(3),e=-t[0],u=-t[1],a=-t[2],o=t[3],i=t[4],f=t[5],d=t[6],s=t[7],h=e*e+u*u+a*a+o*o;return h>0?(r[0]=2*(i*o+s*e+f*a-d*u)/h,r[1]=2*(f*o+s*u+d*e-i*a)/h,r[2]=2*(d*o+s*a+i*u-f*e)/h):(r[0]=2*(i*o+s*e+f*a-d*u),r[1]=2*(f*o+s*u+d*e-i*a),r[2]=2*(d*o+s*a+i*u-f*e)),P(n,t,r),n}function U(n,t){return n[0]=t[12],n[1]=t[13],n[2]=t[14],n}function D(n,t){var r=t[0],e=t[1],u=t[2],a=t[4],o=t[5],i=t[6],c=t[8],f=t[9],d=t[10];return n[0]=Math.sqrt(r*r+e*e+u*u),n[1]=Math.sqrt(a*a+o*o+i*i),n[2]=Math.sqrt(c*c+f*f+d*d),n}function N(n,t){var r=t[0]+t[5]+t[10],e=0;return r>0?(e=2*Math.sqrt(r+1),n[3]=.25*e,n[0]=(t[6]-t[9])/e,n[1]=(t[8]-t[2])/e,n[2]=(t[1]-t[4])/e):t[0]>t[5]&&t[0]>t[10]?(e=2*Math.sqrt(1+t[0]-t[5]-t[10]),n[3]=(t[6]-t[9])/e,n[0]=.25*e,n[1]=(t[1]+t[4])/e,n[2]=(t[8]+t[2])/e):t[5]>t[10]?(e=2*Math.sqrt(1+t[5]-t[0]-t[10]),n[3]=(t[8]-t[2])/e,n[0]=(t[1]+t[4])/e,n[1]=.25*e,n[2]=(t[6]+t[9])/e):(e=2*Math.sqrt(1+t[10]-t[0]-t[5]),n[3]=(t[1]-t[4])/e,n[0]=(t[8]+t[2])/e,n[1]=(t[6]+t[9])/e,n[2]=.25*e),n}function k(n,t,r,e){var u=t[0],a=t[1],o=t[2],i=t[3],c=u+u,f=a+a,d=o+o,s=u*c,h=u*f,l=u*d,M=a*f,v=a*d,m=o*d,b=i*c,p=i*f,g=i*d,y=e[0],E=e[1],A=e[2];return n[0]=(1-(M+m))*y,n[1]=(h+g)*y,n[2]=(l-p)*y,n[3]=0,n[4]=(h-g)*E,n[5]=(1-(s+m))*E,n[6]=(v+b)*E,n[7]=0,n[8]=(l+p)*A,n[9]=(v-b)*A,n[10]=(1-(s+M))*A,n[11]=0,n[12]=r[0],n[13]=r[1],n[14]=r[2],n[15]=1,n}function C(n,t,r,e,u){var a=t[0],o=t[1],i=t[2],c=t[3],f=a+a,d=o+o,s=i+i,h=a*f,l=a*d,M=a*s,v=o*d,m=o*s,b=i*s,p=c*f,g=c*d,y=c*s,E=e[0],A=e[1],x=e[2],T=u[0],w=u[1],I=u[2],_=(1-(v+b))*E,L=(l+y)*E,q=(M-g)*E,R=(l-y)*A,S=(1-(h+b))*A,F=(m+p)*A,P=(M+g)*x,B=(m-p)*x,U=(1-(h+v))*x;return n[0]=_,n[1]=L,n[2]=q,n[3]=0,n[4]=R,n[5]=S,n[6]=F,n[7]=0,n[8]=P,n[9]=B,n[10]=U,n[11]=0,n[12]=r[0]+T-(_*T+R*w+P*I),n[13]=r[1]+w-(L*T+S*w+B*I),n[14]=r[2]+I-(q*T+F*w+U*I),n[15]=1,n}function O(n,t){var r=t[0],e=t[1],u=t[2],a=t[3],o=r+r,i=e+e,c=u+u,f=r*o,d=e*o,s=e*i,h=u*o,l=u*i,M=u*c,v=a*o,m=a*i,b=a*c;return n[0]=1-s-M,n[1]=d+b,n[2]=h-m,n[3]=0,n[4]=d-b,n[5]=1-f-M,n[6]=l+v,n[7]=0,n[8]=h+m,n[9]=l-v,n[10]=1-f-s,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n}function Y(n,t,r,e,u,a,o){var i=1/(r-t),c=1/(u-e),f=1/(a-o);return n[0]=2*a*i,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=2*a*c,n[6]=0,n[7]=0,n[8]=(r+t)*i,n[9]=(u+e)*c,n[10]=(o+a)*f,n[11]=-1,n[12]=0,n[13]=0,n[14]=o*a*2*f,n[15]=0,n}function V(n,t,r,e,u){var a,o=1/Math.tan(t/2);return n[0]=o/r,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=o,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[11]=-1,n[12]=0,n[13]=0,n[15]=0,null!=u&&u!==1/0?(a=1/(e-u),n[10]=(u+e)*a,n[14]=2*u*e*a):(n[10]=-1,n[14]=-2*e),n}function j(n,t,r,e){var u=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),i=Math.tan(t.rightDegrees*Math.PI/180),c=2/(o+i),f=2/(u+a);return n[0]=c,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=f,n[6]=0,n[7]=0,n[8]=-(o-i)*c*.5,n[9]=(u-a)*f*.5,n[10]=e/(r-e),n[11]=-1,n[12]=0,n[13]=0,n[14]=e*r/(r-e),n[15]=0,n}function z(n,t,r,e,u,a,o){var i=1/(t-r),c=1/(e-u),f=1/(a-o);return n[0]=-2*i,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=-2*c,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=2*f,n[11]=0,n[12]=(t+r)*i,n[13]=(u+e)*c,n[14]=(o+a)*f,n[15]=1,n}function G(n,t,r,e){var u,a,o,c,f,d,s,h,l,M,m=t[0],b=t[1],p=t[2],g=e[0],y=e[1],E=e[2],A=r[0],x=r[1],T=r[2];return Math.abs(m-A)<i&&Math.abs(b-x)<i&&Math.abs(p-T)<i?v(n):(s=m-A,h=b-x,l=p-T,u=y*(l*=M=1/Math.sqrt(s*s+h*h+l*l))-E*(h*=M),a=E*(s*=M)-g*l,o=g*h-y*s,(M=Math.sqrt(u*u+a*a+o*o))?(u*=M=1/M,a*=M,o*=M):(u=0,a=0,o=0),c=h*o-l*a,f=l*u-s*o,d=s*a-h*u,(M=Math.sqrt(c*c+f*f+d*d))?(c*=M=1/M,f*=M,d*=M):(c=0,f=0,d=0),n[0]=u,n[1]=c,n[2]=s,n[3]=0,n[4]=a,n[5]=f,n[6]=h,n[7]=0,n[8]=o,n[9]=d,n[10]=l,n[11]=0,n[12]=-(u*m+a*b+o*p),n[13]=-(c*m+f*b+d*p),n[14]=-(s*m+h*b+l*p),n[15]=1,n)}function H(n,t,r,e){var u=t[0],a=t[1],o=t[2],i=e[0],c=e[1],f=e[2],d=u-r[0],s=a-r[1],h=o-r[2],l=d*d+s*s+h*h;l>0&&(d*=l=1/Math.sqrt(l),s*=l,h*=l);var M=c*h-f*s,v=f*d-i*h,m=i*s-c*d;return(l=M*M+v*v+m*m)>0&&(M*=l=1/Math.sqrt(l),v*=l,m*=l),n[0]=M,n[1]=v,n[2]=m,n[3]=0,n[4]=s*m-h*v,n[5]=h*M-d*m,n[6]=d*v-s*M,n[7]=0,n[8]=d,n[9]=s,n[10]=h,n[11]=0,n[12]=u,n[13]=a,n[14]=o,n[15]=1,n}function W(n){return"mat4("+n[0]+", "+n[1]+", "+n[2]+", "+n[3]+", "+n[4]+", "+n[5]+", "+n[6]+", "+n[7]+", "+n[8]+", "+n[9]+", "+n[10]+", "+n[11]+", "+n[12]+", "+n[13]+", "+n[14]+", "+n[15]+")"}function X(n){return Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)+Math.pow(n[3],2)+Math.pow(n[4],2)+Math.pow(n[5],2)+Math.pow(n[6],2)+Math.pow(n[7],2)+Math.pow(n[8],2)+Math.pow(n[9],2)+Math.pow(n[10],2)+Math.pow(n[11],2)+Math.pow(n[12],2)+Math.pow(n[13],2)+Math.pow(n[14],2)+Math.pow(n[15],2))}function Q(n,t,r){return n[0]=t[0]+r[0],n[1]=t[1]+r[1],n[2]=t[2]+r[2],n[3]=t[3]+r[3],n[4]=t[4]+r[4],n[5]=t[5]+r[5],n[6]=t[6]+r[6],n[7]=t[7]+r[7],n[8]=t[8]+r[8],n[9]=t[9]+r[9],n[10]=t[10]+r[10],n[11]=t[11]+r[11],n[12]=t[12]+r[12],n[13]=t[13]+r[13],n[14]=t[14]+r[14],n[15]=t[15]+r[15],n}function Z(n,t,r){return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],n[3]=t[3]-r[3],n[4]=t[4]-r[4],n[5]=t[5]-r[5],n[6]=t[6]-r[6],n[7]=t[7]-r[7],n[8]=t[8]-r[8],n[9]=t[9]-r[9],n[10]=t[10]-r[10],n[11]=t[11]-r[11],n[12]=t[12]-r[12],n[13]=t[13]-r[13],n[14]=t[14]-r[14],n[15]=t[15]-r[15],n}function K(n,t,r){return n[0]=t[0]*r,n[1]=t[1]*r,n[2]=t[2]*r,n[3]=t[3]*r,n[4]=t[4]*r,n[5]=t[5]*r,n[6]=t[6]*r,n[7]=t[7]*r,n[8]=t[8]*r,n[9]=t[9]*r,n[10]=t[10]*r,n[11]=t[11]*r,n[12]=t[12]*r,n[13]=t[13]*r,n[14]=t[14]*r,n[15]=t[15]*r,n}function J(n,t,r,e){return n[0]=t[0]+r[0]*e,n[1]=t[1]+r[1]*e,n[2]=t[2]+r[2]*e,n[3]=t[3]+r[3]*e,n[4]=t[4]+r[4]*e,n[5]=t[5]+r[5]*e,n[6]=t[6]+r[6]*e,n[7]=t[7]+r[7]*e,n[8]=t[8]+r[8]*e,n[9]=t[9]+r[9]*e,n[10]=t[10]+r[10]*e,n[11]=t[11]+r[11]*e,n[12]=t[12]+r[12]*e,n[13]=t[13]+r[13]*e,n[14]=t[14]+r[14]*e,n[15]=t[15]+r[15]*e,n}function $(n,t){return n[0]===t[0]&&n[1]===t[1]&&n[2]===t[2]&&n[3]===t[3]&&n[4]===t[4]&&n[5]===t[5]&&n[6]===t[6]&&n[7]===t[7]&&n[8]===t[8]&&n[9]===t[9]&&n[10]===t[10]&&n[11]===t[11]&&n[12]===t[12]&&n[13]===t[13]&&n[14]===t[14]&&n[15]===t[15]}function nn(n,t){var r=n[0],e=n[1],u=n[2],a=n[3],o=n[4],c=n[5],f=n[6],d=n[7],s=n[8],h=n[9],l=n[10],M=n[11],v=n[12],m=n[13],b=n[14],p=n[15],g=t[0],y=t[1],E=t[2],A=t[3],x=t[4],T=t[5],w=t[6],I=t[7],_=t[8],L=t[9],q=t[10],R=t[11],S=t[12],F=t[13],P=t[14],B=t[15];return Math.abs(r-g)<=i*Math.max(1,Math.abs(r),Math.abs(g))&&Math.abs(e-y)<=i*Math.max(1,Math.abs(e),Math.abs(y))&&Math.abs(u-E)<=i*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(a-A)<=i*Math.max(1,Math.abs(a),Math.abs(A))&&Math.abs(o-x)<=i*Math.max(1,Math.abs(o),Math.abs(x))&&Math.abs(c-T)<=i*Math.max(1,Math.abs(c),Math.abs(T))&&Math.abs(f-w)<=i*Math.max(1,Math.abs(f),Math.abs(w))&&Math.abs(d-I)<=i*Math.max(1,Math.abs(d),Math.abs(I))&&Math.abs(s-_)<=i*Math.max(1,Math.abs(s),Math.abs(_))&&Math.abs(h-L)<=i*Math.max(1,Math.abs(h),Math.abs(L))&&Math.abs(l-q)<=i*Math.max(1,Math.abs(l),Math.abs(q))&&Math.abs(M-R)<=i*Math.max(1,Math.abs(M),Math.abs(R))&&Math.abs(v-S)<=i*Math.max(1,Math.abs(v),Math.abs(S))&&Math.abs(m-F)<=i*Math.max(1,Math.abs(m),Math.abs(F))&&Math.abs(b-P)<=i*Math.max(1,Math.abs(b),Math.abs(P))&&Math.abs(p-B)<=i*Math.max(1,Math.abs(p),Math.abs(B))}var tn=y,rn=Z;function en(){var n=new c(2);return c!=Float32Array&&(n[0]=0,n[1]=0),n}function un(n){var t=new c(2);return t[0]=n[0],t[1]=n[1],t}function an(n,t){var r=new c(2);return r[0]=n,r[1]=t,r}function on(n,t){return n[0]=t[0],n[1]=t[1],n}function cn(n,t,r){return n[0]=t,n[1]=r,n}function fn(n,t,r){return n[0]=t[0]+r[0],n[1]=t[1]+r[1],n}function dn(n,t,r){return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n}function sn(n,t,r){return n[0]=t[0]*r[0],n[1]=t[1]*r[1],n}function hn(n,t,r){return n[0]=t[0]/r[0],n[1]=t[1]/r[1],n}function ln(n,t){return n[0]=Math.ceil(t[0]),n[1]=Math.ceil(t[1]),n}function Mn(n,t){return n[0]=Math.floor(t[0]),n[1]=Math.floor(t[1]),n}function vn(n,t,r){return n[0]=Math.min(t[0],r[0]),n[1]=Math.min(t[1],r[1]),n}function mn(n,t,r){return n[0]=Math.max(t[0],r[0]),n[1]=Math.max(t[1],r[1]),n}function bn(n,t){return n[0]=Math.round(t[0]),n[1]=Math.round(t[1]),n}function pn(n,t,r){return n[0]=t[0]*r,n[1]=t[1]*r,n}function gn(n,t,r,e){return n[0]=t[0]+r[0]*e,n[1]=t[1]+r[1]*e,n}function yn(n,t){var r=t[0]-n[0],e=t[1]-n[1];return Math.sqrt(r*r+e*e)}function En(n,t){var r=t[0]-n[0],e=t[1]-n[1];return r*r+e*e}function An(n){var t=n[0],r=n[1];return Math.sqrt(t*t+r*r)}function xn(n){var t=n[0],r=n[1];return t*t+r*r}function Tn(n,t){return n[0]=-t[0],n[1]=-t[1],n}function wn(n,t){return n[0]=1/t[0],n[1]=1/t[1],n}function In(n,t){var r=t[0],e=t[1],u=r*r+e*e;return u>0&&(u=1/Math.sqrt(u)),n[0]=t[0]*u,n[1]=t[1]*u,n}function _n(n,t){return n[0]*t[0]+n[1]*t[1]}function Ln(n,t,r){var e=t[0]*r[1]-t[1]*r[0];return n[0]=n[1]=0,n[2]=e,n}function qn(n,t,r,e){var u=t[0],a=t[1];return n[0]=u+e*(r[0]-u),n[1]=a+e*(r[1]-a),n}function Rn(n,t){t=t||1;var r=2*f()*Math.PI;return n[0]=Math.cos(r)*t,n[1]=Math.sin(r)*t,n}function Sn(n,t,r){var e=t[0],u=t[1];return n[0]=r[0]*e+r[2]*u,n[1]=r[1]*e+r[3]*u,n}function Fn(n,t,r){var e=t[0],u=t[1];return n[0]=r[0]*e+r[2]*u+r[4],n[1]=r[1]*e+r[3]*u+r[5],n}function Pn(n,t,r){var e=t[0],u=t[1];return n[0]=r[0]*e+r[3]*u+r[6],n[1]=r[1]*e+r[4]*u+r[7],n}function Bn(n,t,r){var e=t[0],u=t[1];return n[0]=r[0]*e+r[4]*u+r[12],n[1]=r[1]*e+r[5]*u+r[13],n}function Un(n,t,r,e){var u=t[0]-r[0],a=t[1]-r[1],o=Math.sin(e),i=Math.cos(e);return n[0]=u*i-a*o+r[0],n[1]=u*o+a*i+r[1],n}function Dn(n,t){var r=n[0],e=n[1],u=t[0],a=t[1],o=r*r+e*e;o>0&&(o=1/Math.sqrt(o));var i=u*u+a*a;i>0&&(i=1/Math.sqrt(i));var c=(r*u+e*a)*o*i;return c>1?0:c<-1?Math.PI:Math.acos(c)}function Nn(n){return n[0]=0,n[1]=0,n}function kn(n){return"vec2("+n[0]+", "+n[1]+")"}function Cn(n,t){return n[0]===t[0]&&n[1]===t[1]}function On(n,t){var r=n[0],e=n[1],u=t[0],a=t[1];return Math.abs(r-u)<=i*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(e-a)<=i*Math.max(1,Math.abs(e),Math.abs(a))}var Yn,Vn=An,jn=dn,zn=sn,Gn=hn,Hn=yn,Wn=En,Xn=xn,Qn=(Yn=en(),function(n,t,r,e,u,a){var o,i;for(t||(t=2),r||(r=0),i=e?Math.min(e*t+r,n.length):n.length,o=r;o<i;o+=t)Yn[0]=n[o],Yn[1]=n[o+1],u(Yn,Yn,a),n[o]=Yn[0],n[o+1]=Yn[1];return n});function Zn(){var n=new c(3);return c!=Float32Array&&(n[0]=0,n[1]=0,n[2]=0),n}function Kn(n){var t=new c(3);return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function Jn(n){var t=n[0],r=n[1],e=n[2];return Math.sqrt(t*t+r*r+e*e)}function $n(n,t,r){var e=new c(3);return e[0]=n,e[1]=t,e[2]=r,e}function nt(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function tt(n,t,r,e){return n[0]=t,n[1]=r,n[2]=e,n}function rt(n,t,r){return n[0]=t[0]+r[0],n[1]=t[1]+r[1],n[2]=t[2]+r[2],n}function et(n,t,r){return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],n}function ut(n,t,r){return n[0]=t[0]*r[0],n[1]=t[1]*r[1],n[2]=t[2]*r[2],n}function at(n,t,r){return n[0]=t[0]/r[0],n[1]=t[1]/r[1],n[2]=t[2]/r[2],n}function ot(n,t){return n[0]=Math.ceil(t[0]),n[1]=Math.ceil(t[1]),n[2]=Math.ceil(t[2]),n}function it(n,t){return n[0]=Math.floor(t[0]),n[1]=Math.floor(t[1]),n[2]=Math.floor(t[2]),n}function ct(n,t,r){return n[0]=Math.min(t[0],r[0]),n[1]=Math.min(t[1],r[1]),n[2]=Math.min(t[2],r[2]),n}function ft(n,t,r){return n[0]=Math.max(t[0],r[0]),n[1]=Math.max(t[1],r[1]),n[2]=Math.max(t[2],r[2]),n}function dt(n,t){return n[0]=Math.round(t[0]),n[1]=Math.round(t[1]),n[2]=Math.round(t[2]),n}function st(n,t,r){return n[0]=t[0]*r,n[1]=t[1]*r,n[2]=t[2]*r,n}function ht(n,t,r,e){return n[0]=t[0]+r[0]*e,n[1]=t[1]+r[1]*e,n[2]=t[2]+r[2]*e,n}function lt(n,t){var r=t[0]-n[0],e=t[1]-n[1],u=t[2]-n[2];return Math.sqrt(r*r+e*e+u*u)}function Mt(n,t){var r=t[0]-n[0],e=t[1]-n[1],u=t[2]-n[2];return r*r+e*e+u*u}function vt(n){var t=n[0],r=n[1],e=n[2];return t*t+r*r+e*e}function mt(n,t){return n[0]=-t[0],n[1]=-t[1],n[2]=-t[2],n}function bt(n,t){return n[0]=1/t[0],n[1]=1/t[1],n[2]=1/t[2],n}function pt(n,t){var r=t[0],e=t[1],u=t[2],a=r*r+e*e+u*u;return a>0&&(a=1/Math.sqrt(a)),n[0]=t[0]*a,n[1]=t[1]*a,n[2]=t[2]*a,n}function gt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function yt(n,t,r){var e=t[0],u=t[1],a=t[2],o=r[0],i=r[1],c=r[2];return n[0]=u*c-a*i,n[1]=a*o-e*c,n[2]=e*i-u*o,n}function Et(n,t,r,e){var u=t[0],a=t[1],o=t[2];return n[0]=u+e*(r[0]-u),n[1]=a+e*(r[1]-a),n[2]=o+e*(r[2]-o),n}function At(n,t,r,e,u,a){var o=a*a,i=o*(2*a-3)+1,c=o*(a-2)+a,f=o*(a-1),d=o*(3-2*a);return n[0]=t[0]*i+r[0]*c+e[0]*f+u[0]*d,n[1]=t[1]*i+r[1]*c+e[1]*f+u[1]*d,n[2]=t[2]*i+r[2]*c+e[2]*f+u[2]*d,n}function xt(n,t,r,e,u,a){var o=1-a,i=o*o,c=a*a,f=i*o,d=3*a*i,s=3*c*o,h=c*a;return n[0]=t[0]*f+r[0]*d+e[0]*s+u[0]*h,n[1]=t[1]*f+r[1]*d+e[1]*s+u[1]*h,n[2]=t[2]*f+r[2]*d+e[2]*s+u[2]*h,n}function Tt(n,t){t=t||1;var r=2*f()*Math.PI,e=2*f()-1,u=Math.sqrt(1-e*e)*t;return n[0]=Math.cos(r)*u,n[1]=Math.sin(r)*u,n[2]=e*t,n}function wt(n,t,r){var e=t[0],u=t[1],a=t[2],o=r[3]*e+r[7]*u+r[11]*a+r[15];return o=o||1,n[0]=(r[0]*e+r[4]*u+r[8]*a+r[12])/o,n[1]=(r[1]*e+r[5]*u+r[9]*a+r[13])/o,n[2]=(r[2]*e+r[6]*u+r[10]*a+r[14])/o,n}function It(n,t,r){var e=t[0],u=t[1],a=t[2];return n[0]=e*r[0]+u*r[3]+a*r[6],n[1]=e*r[1]+u*r[4]+a*r[7],n[2]=e*r[2]+u*r[5]+a*r[8],n}function _t(n,t,r){var e=r[0],u=r[1],a=r[2],o=r[3],i=t[0],c=t[1],f=t[2],d=u*f-a*c,s=a*i-e*f,h=e*c-u*i,l=u*h-a*s,M=a*d-e*h,v=e*s-u*d,m=2*o;return d*=m,s*=m,h*=m,l*=2,M*=2,v*=2,n[0]=i+d+l,n[1]=c+s+M,n[2]=f+h+v,n}function Lt(n,t,r,e){var u=[],a=[];return u[0]=t[0]-r[0],u[1]=t[1]-r[1],u[2]=t[2]-r[2],a[0]=u[0],a[1]=u[1]*Math.cos(e)-u[2]*Math.sin(e),a[2]=u[1]*Math.sin(e)+u[2]*Math.cos(e),n[0]=a[0]+r[0],n[1]=a[1]+r[1],n[2]=a[2]+r[2],n}function qt(n,t,r,e){var u=[],a=[];return u[0]=t[0]-r[0],u[1]=t[1]-r[1],u[2]=t[2]-r[2],a[0]=u[2]*Math.sin(e)+u[0]*Math.cos(e),a[1]=u[1],a[2]=u[2]*Math.cos(e)-u[0]*Math.sin(e),n[0]=a[0]+r[0],n[1]=a[1]+r[1],n[2]=a[2]+r[2],n}function Rt(n,t,r,e){var u=[],a=[];return u[0]=t[0]-r[0],u[1]=t[1]-r[1],u[2]=t[2]-r[2],a[0]=u[0]*Math.cos(e)-u[1]*Math.sin(e),a[1]=u[0]*Math.sin(e)+u[1]*Math.cos(e),a[2]=u[2],n[0]=a[0]+r[0],n[1]=a[1]+r[1],n[2]=a[2]+r[2],n}function St(n,t){var r=$n(n[0],n[1],n[2]),e=$n(t[0],t[1],t[2]);pt(r,r),pt(e,e);var u=gt(r,e);return u>1?0:u<-1?Math.PI:Math.acos(u)}function Ft(n){return n[0]=0,n[1]=0,n[2]=0,n}function Pt(n){return"vec3("+n[0]+", "+n[1]+", "+n[2]+")"}function Bt(n,t){return n[0]===t[0]&&n[1]===t[1]&&n[2]===t[2]}function Ut(n,t){var r=n[0],e=n[1],u=n[2],a=t[0],o=t[1],c=t[2];return Math.abs(r-a)<=i*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(e-o)<=i*Math.max(1,Math.abs(e),Math.abs(o))&&Math.abs(u-c)<=i*Math.max(1,Math.abs(u),Math.abs(c))}var Dt=et,Nt=ut,kt=at,Ct=lt,Ot=Mt,Yt=Jn,Vt=vt,jt=function(){var n=Zn();return function(t,r,e,u,a,o){var i,c;for(r||(r=3),e||(e=0),c=u?Math.min(u*r+e,t.length):t.length,i=e;i<c;i+=r)n[0]=t[i],n[1]=t[i+1],n[2]=t[i+2],a(n,n,o),t[i]=n[0],t[i+1]=n[1],t[i+2]=n[2];return t}}();function zt(){var n=new c(4);return c!=Float32Array&&(n[0]=0,n[1]=0,n[2]=0,n[3]=0),n}function Gt(n){var t=new c(4);return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function Ht(n,t,r,e){var u=new c(4);return u[0]=n,u[1]=t,u[2]=r,u[3]=e,u}function Wt(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n}function Xt(n,t,r,e,u){return n[0]=t,n[1]=r,n[2]=e,n[3]=u,n}function Qt(n,t,r){return n[0]=t[0]+r[0],n[1]=t[1]+r[1],n[2]=t[2]+r[2],n[3]=t[3]+r[3],n}function Zt(n,t,r){return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],n[3]=t[3]-r[3],n}function Kt(n,t,r){return n[0]=t[0]*r[0],n[1]=t[1]*r[1],n[2]=t[2]*r[2],n[3]=t[3]*r[3],n}function Jt(n,t,r){return n[0]=t[0]/r[0],n[1]=t[1]/r[1],n[2]=t[2]/r[2],n[3]=t[3]/r[3],n}function $t(n,t){return n[0]=Math.ceil(t[0]),n[1]=Math.ceil(t[1]),n[2]=Math.ceil(t[2]),n[3]=Math.ceil(t[3]),n}function nr(n,t){return n[0]=Math.floor(t[0]),n[1]=Math.floor(t[1]),n[2]=Math.floor(t[2]),n[3]=Math.floor(t[3]),n}function tr(n,t,r){return n[0]=Math.min(t[0],r[0]),n[1]=Math.min(t[1],r[1]),n[2]=Math.min(t[2],r[2]),n[3]=Math.min(t[3],r[3]),n}function rr(n,t,r){return n[0]=Math.max(t[0],r[0]),n[1]=Math.max(t[1],r[1]),n[2]=Math.max(t[2],r[2]),n[3]=Math.max(t[3],r[3]),n}function er(n,t){return n[0]=Math.round(t[0]),n[1]=Math.round(t[1]),n[2]=Math.round(t[2]),n[3]=Math.round(t[3]),n}function ur(n,t,r){return n[0]=t[0]*r,n[1]=t[1]*r,n[2]=t[2]*r,n[3]=t[3]*r,n}function ar(n,t,r,e){return n[0]=t[0]+r[0]*e,n[1]=t[1]+r[1]*e,n[2]=t[2]+r[2]*e,n[3]=t[3]+r[3]*e,n}function or(n,t){var r=t[0]-n[0],e=t[1]-n[1],u=t[2]-n[2],a=t[3]-n[3];return Math.sqrt(r*r+e*e+u*u+a*a)}function ir(n,t){var r=t[0]-n[0],e=t[1]-n[1],u=t[2]-n[2],a=t[3]-n[3];return r*r+e*e+u*u+a*a}function cr(n){var t=n[0],r=n[1],e=n[2],u=n[3];return Math.sqrt(t*t+r*r+e*e+u*u)}function fr(n){var t=n[0],r=n[1],e=n[2],u=n[3];return t*t+r*r+e*e+u*u}function dr(n,t){return n[0]=-t[0],n[1]=-t[1],n[2]=-t[2],n[3]=-t[3],n}function sr(n,t){return n[0]=1/t[0],n[1]=1/t[1],n[2]=1/t[2],n[3]=1/t[3],n}function hr(n,t){var r=t[0],e=t[1],u=t[2],a=t[3],o=r*r+e*e+u*u+a*a;return o>0&&(o=1/Math.sqrt(o)),n[0]=r*o,n[1]=e*o,n[2]=u*o,n[3]=a*o,n}function lr(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}function Mr(n,t,r,e){var u=r[0]*e[1]-r[1]*e[0],a=r[0]*e[2]-r[2]*e[0],o=r[0]*e[3]-r[3]*e[0],i=r[1]*e[2]-r[2]*e[1],c=r[1]*e[3]-r[3]*e[1],f=r[2]*e[3]-r[3]*e[2],d=t[0],s=t[1],h=t[2],l=t[3];return n[0]=s*f-h*c+l*i,n[1]=-d*f+h*o-l*a,n[2]=d*c-s*o+l*u,n[3]=-d*i+s*a-h*u,n}function vr(n,t,r,e){var u=t[0],a=t[1],o=t[2],i=t[3];return n[0]=u+e*(r[0]-u),n[1]=a+e*(r[1]-a),n[2]=o+e*(r[2]-o),n[3]=i+e*(r[3]-i),n}function mr(n,t){var r,e,u,a,o,i;t=t||1;do{o=(r=2*f()-1)*r+(e=2*f()-1)*e}while(o>=1);do{i=(u=2*f()-1)*u+(a=2*f()-1)*a}while(i>=1);var c=Math.sqrt((1-o)/i);return n[0]=t*r,n[1]=t*e,n[2]=t*u*c,n[3]=t*a*c,n}function br(n,t,r){var e=t[0],u=t[1],a=t[2],o=t[3];return n[0]=r[0]*e+r[4]*u+r[8]*a+r[12]*o,n[1]=r[1]*e+r[5]*u+r[9]*a+r[13]*o,n[2]=r[2]*e+r[6]*u+r[10]*a+r[14]*o,n[3]=r[3]*e+r[7]*u+r[11]*a+r[15]*o,n}function pr(n,t,r){var e=t[0],u=t[1],a=t[2],o=r[0],i=r[1],c=r[2],f=r[3],d=f*e+i*a-c*u,s=f*u+c*e-o*a,h=f*a+o*u-i*e,l=-o*e-i*u-c*a;return n[0]=d*f+l*-o+s*-c-h*-i,n[1]=s*f+l*-i+h*-o-d*-c,n[2]=h*f+l*-c+d*-i-s*-o,n[3]=t[3],n}function gr(n){return n[0]=0,n[1]=0,n[2]=0,n[3]=0,n}function yr(n){return"vec4("+n[0]+", "+n[1]+", "+n[2]+", "+n[3]+")"}function Er(n,t){return n[0]===t[0]&&n[1]===t[1]&&n[2]===t[2]&&n[3]===t[3]}function Ar(n,t){var r=n[0],e=n[1],u=n[2],a=n[3],o=t[0],c=t[1],f=t[2],d=t[3];return Math.abs(r-o)<=i*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(e-c)<=i*Math.max(1,Math.abs(e),Math.abs(c))&&Math.abs(u-f)<=i*Math.max(1,Math.abs(u),Math.abs(f))&&Math.abs(a-d)<=i*Math.max(1,Math.abs(a),Math.abs(d))}var xr=Zt,Tr=Kt,wr=Jt,Ir=or,_r=ir,Lr=cr,qr=fr,Rr=function(){var n=zt();return function(t,r,e,u,a,o){var i,c;for(r||(r=4),e||(e=0),c=u?Math.min(u*r+e,t.length):t.length,i=e;i<c;i+=r)n[0]=t[i],n[1]=t[i+1],n[2]=t[i+2],n[3]=t[i+3],a(n,n,o),t[i]=n[0],t[i+1]=n[1],t[i+2]=n[2],t[i+3]=n[3];return t}}();r.d(t,"a",function(){return e}),r.d(t,"b",function(){return u}),r.d(t,"c",function(){return a}),r.d(t,"d",function(){return o})},1:function(n,t,r){"use strict";r.d(t,"d",function(){return o}),r.d(t,"a",function(){return i}),r.d(t,"c",function(){return c}),r.d(t,"b",function(){return d});var e=r(0);"undefined"!=typeof Float32Array?Float32Array:Array;var u='This page requires a browser that supports WebGL.<br/>\n<a href="http://get.webgl.org">Click here to upgrade your browser.</a>',a='It doesn\'t appear your computer can support WebGL.<br/>\n<a href="http://get.webgl.org/troubleshooting/">Click here for more information.</a>';function o(n,t){function r(t){var r=n.parentNode;r&&(r.innerHTML='<table style="background-color: #8CE; width: 100%; height: 100%;"><tr>\n    <td align="center">\n    <div style="display: table-cell; vertical-align: middle;">\n    <div>'.concat(t,"</div>\n    </div>\n    </td></tr></table>"))}if(!window.WebGLRenderingContext)return r(u),null;var e=function(n,t){for(var r=["webgl","experimental-webgl","webkit-3d","moz-webgl"],e=null,u=0;u<r.length;++u){try{e=n.getContext(r[u],t)}catch(n){}if(e)break}return e}(n,t);return e||r(a),e}function i(n,t,r){var e=n.createShader(n.VERTEX_SHADER);if(n.shaderSource(e,t),n.compileShader(e),!n.getShaderParameter(e,n.COMPILE_STATUS)){var u="Vertex shader failed to compile.  The error log is:".concat(n.getShaderInfoLog(e));return console.error(u),-1}var a=n.createShader(n.FRAGMENT_SHADER);if(n.shaderSource(a,r),n.compileShader(a),!n.getShaderParameter(a,n.COMPILE_STATUS)){var o="Fragment shader failed to compile.  The error log is:".concat(n.getShaderInfoLog(a));return console.error(o),-1}var i=n.createProgram();if(n.attachShader(i,e),n.attachShader(i,a),n.linkProgram(i),!n.getProgramParameter(i,n.LINK_STATUS)){var c="Shader program failed to link.  The error log is:".concat(n.getProgramInfoLog(i));return console.error(c),-1}return i}function c(n){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Float32Array,r=n[0].length,e=n.length,u=new t(r*e),a=0,o=0;o<e;o++)for(var i=0;i<r;i++)u[a++]=n[o][i];return u}var f={fv3:{},fv4:{},uv3:{},uv4:{}};function d(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fv4";if(f[t][n])return f[t][n];var r,u=parseInt(n.charAt(1)+n.charAt(2),16),a=parseInt(n.charAt(3)+n.charAt(4),16),o=parseInt(n.charAt(5)+n.charAt(6),16);return r="fv3"===t?e.c.fromValues(u/255,a/255,o/255):"fv4"===t?e.d.fromValues(u/255,a/255,o/255,1):"uv3"===t?new Uint8Array([u,a,o]):new Uint8Array([u,a,o,255]),f[t][n]=r,f[t][n]}},60:function(n,t){n.exports="attribute vec4 a_Position;\nattribute vec4 a_Color;\nattribute float a_Number;\nuniform int u_PickedNumber;\nuniform mat4 u_MvpMatrix;\nvarying vec4 v_Color;\nvoid main() {\n\tgl_Position = u_MvpMatrix * a_Position;\n\tint num = int(a_Number);\n\tif (u_PickedNumber == 0) {\n\t\tv_Color = vec4(a_Color.rgb, a_Number / 255.0);\n\t}\n\telse {\n\t\tv_Color = a_Color;\n\t}\n}\n"},61:function(n,t){n.exports="precision mediump float;\nvarying vec4 v_Color;\nvoid main() {\n\tgl_FragColor = v_Color;\n}\n"},93:function(n,t,r){"use strict";r.r(t);var e,u,a,o,i,c,f,d,s,h,l,M,v=r(1),m=r(0),b=r(60),p=r.n(b),g=r(61),y=r.n(g),E="undefined"!=typeof Float32Array?Float32Array:Array,A=[[0,1,0,1,0,1,0,1],[1,0,1,0,1,0,1,0],[0,1,0,1,0,1,0,1],[0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0],[2,0,2,0,2,0,2,0],[0,2,0,2,0,2,0,2],[2,0,2,0,2,0,2,0]],x=.05,T=[],w=[],I=[],_=[],L=0,q=[],R=[],S=[],F=[],P=0,B=!1,U=!1;function D(){for(var n=0;n<8;n++)for(var t=0;t<8;t++)if(0!==A[n][t]){_.push(64+8*n+t+1,64+8*n+t+1,64+8*n+t+1,64+8*n+t+1,64+8*n+t+1,64+8*n+t+1,64+8*n+t+1,64+8*n+t+1);var r=k(n,t);1===A[n][t]?I.push([1,0,1],[1,0,1],[1,0,1],[1,0,1],[0,1,1],[0,1,1],[0,1,1],[0,1,1]):2===A[n][t]?I.push([0,0,1],[0,0,1],[0,0,1],[0,0,1],[0,1,0],[0,1,0],[0,1,0],[0,1,0]):3===A[n][t]?I.push([1,0,.5],[1,0,.5],[1,0,.5],[1,0,.5],[1,0,1],[1,0,1],[1,0,1],[1,0,1]):4===A[n][t]&&I.push([0,.5,0],[0,.5,0],[0,.5,0],[0,.5,0],[0,1,0],[0,1,0],[0,1,0],[0,1,0]),T.push([r[0]-x/2,r[1]-x/2,.1]),T.push([r[0]-x/2,r[1]+x/2,.1]),T.push([r[0]+x/2,r[1]+x/2,.1]),T.push([r[0]+x/2,r[1]-x/2,.1]),T.push([r[0]-x/2,r[1]-x/2,0]),T.push([r[0]-x/2,r[1]+x/2,0]),T.push([r[0]+x/2,r[1]+x/2,0]),T.push([r[0]+x/2,r[1]-x/2,0])}}function N(){T=[],I=[],_=[],D()}function k(n,t){return[(2*t+1)/16,1-(2*n+1)/16]}!function(){a=document.getElementById("gl-canvas"),(e=Object(v.d)(a))||console.error("WebGL isn't available"),e.viewport(0,0,a.width,a.height),e.clearColor(1,1,1,1);var n=Object(v.a)(e,p.a,y.a);e.useProgram(n),e.enable(e.DEPTH_TEST),o=e.getUniformLocation(n,"u_PickedNumber"),e.uniform1i(o,-1),i=e.getUniformLocation(n,"u_MvpMatrix");var t=m.c.fromValues(0,0,3),r=m.c.fromValues(0,0,0),u=m.c.fromValues(0,1,0);c=m.a.create(),f=m.a.create(),d=m.a.create(),s=m.a.create(),m.a.rotateX(d,d,2*Math.PI*320/360),m.a.lookAt(c,t,r,u),m.a.translate(d,d,m.c.fromValues(-.5,-.5,0)),m.a.perspective(f,30*Math.PI/180,1,1,100),s=m.a.multiply(E.of(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),m.a.multiply(E.of(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),f,c),d),e.uniformMatrix4fv(i,!1,s),function(){for(var n=0;n<8;n++)for(var t=0;t<8;t++)q.push([t/8,1-n/8,0]),q.push([t/8,1-(n+1)/8,0]),q.push([(t+1)/8,1-(n+1)/8,0]),q.push([(t+1)/8,1-n/8,0]),F.push(8*n+t+1,8*n+t+1,8*n+t+1,8*n+t+1),(n+t)%2==0?R.push([1,1,0],[1,1,0],[1,1,0],[1,1,0]):R.push([1,0,0],[1,0,0],[1,0,0],[1,0,0]),S.push(0+P,1+P,2+P,0+P,2+P,3+P),P+=4}(),D(),function(){for(var n=0;n<8;n++)for(var t=0;t<8;t++)0!==A[n][t]&&(w.push(1+L,2+L,5+L,2+L,5+L,6+L,0+L,4+L,7+L,0+L,3+L,7+L,0+L,1+L,4+L,1+L,4+L,5+L,2+L,3+L,7+L,2+L,6+L,7+L,0+L,1+L,2+L,0+L,2+L,3+L,4+L,5+L,7+L,5+L,6+L,7+L),L+=8)}(),h=e.getAttribLocation(n,"a_Color"),l=e.getAttribLocation(n,"a_Position"),M=e.getAttribLocation(n,"a_Number"),cn()}(),a.onmousedown=function(n){var t,r=n.clientX,a=n.clientY,i=n.target.getBoundingClientRect();if(i.left<=r&&r<i.right&&i.top<=a&&a<i.bottom){var c=r-i.left,f=i.bottom-a,d=function(n,t,r,e,u,a,o){var i=new Uint8Array(4);return n.uniform1i(e,0),cn(),n.readPixels(t,r,1,1,n.RGBA,n.UNSIGNED_BYTE,i),i[3]}(e,c,f,o);e.uniform1i(o,-1);var s=(t=d-1,[Math.floor(t%64/8),t%64%8]);!B&&!U&&d>64&&d<129?1===A[s[0]][s[1]]?(A[s[0]][s[1]]=3,B=!0,u=s,N()):2===A[s[0]][s[1]]&&(A[s[0]][s[1]]=4,U=!0,u=s,N()):B&&d<65&&(s[0]+s[1])%2!=0&&0===A[s[0]][s[1]]?(A[u[0]][u[1]]=0,A[s[0]][s[1]]=1,N(),B=!1):U&&d<65&&(s[0]+s[1])%2!=0&&0===A[s[0]][s[1]]&&(A[u[0]][u[1]]=0,A[s[0]][s[1]]=2,N(),U=!1),cn()}};var C=document.getElementById("pitchRange"),O=document.getElementById("pitch"),Y=document.getElementById("pitchUp"),V=document.getElementById("pitchDown"),j=document.getElementById("yawRange"),z=document.getElementById("yaw"),G=document.getElementById("yawUp"),H=document.getElementById("yawDown"),W=document.getElementById("xTranslateRange"),X=document.getElementById("xTranslate"),Q=document.getElementById("xTranslateUp"),Z=document.getElementById("xTranslateDown"),K=document.getElementById("zTranslateRange"),J=document.getElementById("zTranslate"),$=document.getElementById("zTranslateUp"),nn=document.getElementById("zTranslateDown");function tn(n){n>parseInt(C.max,0)||n<parseInt(C.min,0)||(an(),C.value=n,O.innerHTML=n,on(2*Math.PI*n/360,"rotatePitch"),cn())}function rn(n){n>parseInt(j.max,0)||n<parseInt(j.min,0)||(an(),j.value=n,z.innerHTML=n,on(2*Math.PI*n/360,"rotateYaw"),cn())}function en(n){n>parseInt(W.max,0)||n<parseInt(W.min,0)||(an(),W.value=n,X.innerHTML=n,on(n,"xTranslate"),cn())}function un(n){n>parseInt(K.max,0)||n<parseInt(K.min,0)||(an(),K.value=n,J.innerHTML=n,on(n,"zTranslate"),cn())}function an(){C.value=0,O.innerHTML=0,j.value=0,z.innerHTML=0,W.value=0,X.innerHTML=0,K.value=0,J.innerHTML=0}function on(n,t){switch(s=m.a.create(),d=m.a.create(),t){case"rotatePitch":m.a.rotateX(d,d,n);break;case"rotateYaw":m.a.rotateY(d,d,n);break;case"xTranslate":m.a.translate(d,d,m.c.fromValues(n,0,0));break;case"zTranslate":m.a.translate(d,d,m.c.fromValues(0,0,n))}m.a.translate(d,d,m.c.fromValues(-.5,-.5,0)),s=m.a.multiply(E.of(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),m.a.multiply(E.of(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),f,c),d),e.uniformMatrix4fv(i,!1,s)}function cn(){if(!fn(e,h,Object(v.c)(R),e.FLOAT,3))return-1;if(!fn(e,l,Object(v.c)(q),e.FLOAT,3))return-1;if(!fn(e,M,dn(F,Uint8Array),e.UNSIGNED_BYTE,1))return-1;var n=e.createBuffer();if(e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,n),e.bufferData(e.ELEMENT_ARRAY_BUFFER,dn(S,Uint8Array),e.STATIC_DRAW),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),e.drawElements(e.TRIANGLES,S.length,e.UNSIGNED_BYTE,0),!fn(e,h,Object(v.c)(I),e.FLOAT,3))return-1;if(!fn(e,l,Object(v.c)(T),e.FLOAT,3))return-1;if(!fn(e,M,dn(_,Uint8Array),e.UNSIGNED_BYTE,1))return-1;var t=e.createBuffer();e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),e.bufferData(e.ELEMENT_ARRAY_BUFFER,dn(w,Uint8Array),e.STATIC_DRAW),e.drawElements(e.TRIANGLES,w.length,e.UNSIGNED_BYTE,0)}function fn(n,t,r,e,u){var a=n.createBuffer();return n.bindBuffer(n.ARRAY_BUFFER,a),n.bufferData(n.ARRAY_BUFFER,r,n.STATIC_DRAW),n.vertexAttribPointer(t,u,e,!1,0,0),n.enableVertexAttribArray(t),!0}function dn(n){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Uint8Array,r=n.length,e=new t(r),u=0,a=0;a<r;a++)e[u++]=n[a];return e}C.addEventListener("change",function(){tn(parseInt(C.value,10))}),Y.addEventListener("click",function(){tn(parseInt(C.value,10)+2)}),V.addEventListener("click",function(){tn(parseInt(C.value,10)-2)}),j.addEventListener("change",function(){rn(parseInt(j.value,10))}),G.addEventListener("click",function(){rn(parseInt(j.value,10)+2)}),H.addEventListener("click",function(){rn(parseInt(j.value,10)-2)}),W.addEventListener("change",function(){en(parseFloat(W.value))}),Q.addEventListener("click",function(){en(Math.round(100*(parseFloat(W.value)+.2))/100)}),Z.addEventListener("click",function(){en(Math.round(100*(parseFloat(W.value)-.2))/100)}),K.addEventListener("change",function(){un(parseFloat(K.value))}),$.addEventListener("click",function(){un(Math.round(100*(parseFloat(K.value)+.2))/100)}),nn.addEventListener("click",function(){un(Math.round(100*(parseFloat(K.value)-.2))/100)})}});