1
0
web/static/pkg/galaxy/bundle.4c347c94d39def84ca4a.js

2 lines
564 KiB
JavaScript
Raw Permalink Normal View History

2024-04-28 11:09:32 +00:00
(()=>{"use strict";const t=0,e=1,n=2,i=1,r=2,o=3,s=0,a=1,c=2,l=0,h=1,u=2,d=3,p=4,f=5,m=100,g=101,v=102,y=103,x=104,_=200,b=201,w=202,M=203,S=204,E=205,T=206,A=207,L=208,R=209,P=210,C=0,N=1,O=2,I=3,D=4,z=5,U=6,B=7,F=0,H=1,G=2,k=0,V=1,W=2,j=3,q=4,X=5,Y=301,Z=302,J=303,Q=304,K=306,$=307,tt=1e3,et=1001,nt=1002,it=1003,rt=1004,ot=1005,st=1006,at=1007,ct=1008,lt=1009,ht=1010,ut=1011,dt=1012,pt=1013,ft=1014,mt=1015,gt=1016,vt=1017,yt=1018,xt=1019,_t=1020,bt=1021,wt=1022,Mt=1023,St=1024,Et=1025,Tt=1026,At=1027,Lt=1028,Rt=1029,Pt=1030,Ct=1031,Nt=1032,Ot=1033,It=33776,Dt=33777,zt=33778,Ut=33779,Bt=35840,Ft=35841,Ht=35842,Gt=35843,kt=36196,Vt=37492,Wt=37496,jt=37808,qt=37809,Xt=37810,Yt=37811,Zt=37812,Jt=37813,Qt=37814,Kt=37815,$t=37816,te=37817,ee=37818,ne=37819,ie=37820,re=37821,oe=36492,se=37840,ae=37841,ce=37842,le=37843,he=37844,ue=37845,de=37846,pe=37847,fe=37848,me=37849,ge=37850,ve=37851,ye=37852,xe=37853,_e=2300,be=2301,we=2302,Me=2400,Se=2401,Ee=2402,Te=3e3,Ae=3001,Le=3007,Re=3002,Pe=3003,Ce=3004,Ne=3005,Oe=3006,Ie=3200,De=3201,ze=0,Ue=1,Be=7680,Fe=519,He=35044,Ge=35048,ke="300 es";function Ve(){}Object.assign(Ve.prototype,{addEventListener:function(t,e){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[t]&&(n[t]=[]),-1===n[t].indexOf(e)&&n[t].push(e)},hasEventListener:function(t,e){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[t]&&-1!==n[t].indexOf(e)},removeEventListener:function(t,e){if(void 0===this._listeners)return;const n=this._listeners[t];if(void 0!==n){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}},dispatchEvent:function(t){if(void 0===this._listeners)return;const e=this._listeners[t.type];if(void 0!==e){t.target=this;const n=e.slice(0);for(let e=0,i=n.length;e<i;e++)n[e].call(this,t)}}});const We=[];for(let t=0;t<256;t++)We[t]=(t<16?"0":"")+t.toString(16);let je=1234567;const qe={DEG2RAD:Math.PI/180,RAD2DEG:180/Math.PI,generateUUID:function(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return(We[255&t]+We[t>>8&255]+We[t>>16&255]+We[t>>24&255]+"-"+We[255&e]+We[e>>8&255]+"-"+We[e>>16&15|64]+We[e>>24&255]+"-"+We[63&n|128]+We[n>>8&255]+"-"+We[n>>16&255]+We[n>>24&255]+We[255&i]+We[i>>8&255]+We[i>>16&255]+We[i>>24&255]).toUpperCase()},clamp:function(t,e,n){return Math.max(e,Math.min(n,t))},euclideanModulo:function(t,e){return(t%e+e)%e},mapLinear:function(t,e,n,i,r){return i+(t-e)*(r-i)/(n-e)},lerp:function(t,e,n){return(1-n)*t+n*e},smoothstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*(3-2*t)},smootherstep:function(t,e,n){return t<=e?0:t>=n?1:(t=(t-e)/(n-e))*t*t*(t*(6*t-15)+10)},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},seededRandom:function(t){return void 0!==t&&(je=t%2147483647),je=16807*je%2147483647,(je-1)/2147483646},degToRad:function(t){return t*qe.DEG2RAD},radToDeg:function(t){return t*qe.RAD2DEG},isPowerOfTwo:function(t){return!(t&t-1)&&0!==t},ceilPowerOfTwo:function(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},floorPowerOfTwo:function(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))},setQuaternionFromProperEuler:function(t,e,n,i,r){const o=Math.cos,s=Math.sin,a=o(n/2),c=s(n/2),l=o((e+i)/2),h=s((e+i)/2),u=o((e-i)/2),d=s((e-i)/2),p=o((i-e)/2),f=s((i-e)/2);switch(r){case"XYX":t.set(a*h,c*u,c*d,a*l);break;case"YZY":t.set(c*d,a*h,c*u,a*l);break;case"ZXZ":t.set(c*u,c*d,a*h,a*l);break;case"XZX":t.set(a*h,c*f,c*p,a*l);break;case"YXY":t.set(c*p,a*h,c*f,a*l);break;case"ZYZ":t.set(c*f,c*p,a*h,a*l);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}}};class Xe{constructor(t=0,e=0){Object.defineProperty(this,"isVector2",{value:!0}),this.x=t,this.y=e}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t)
//# sourceMappingURL=bundle.4c347c94d39def84ca4a.js.map