lythreeframe 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +68 -68
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +68 -68
- package/dist/bundle.esm.js.map +1 -1
- package/dist/src/Frame/Controller.d.ts +13 -2
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -25,143 +25,143 @@ var ShaderPass_js = require('three/examples/jsm/postprocessing/ShaderPass.js');
|
|
|
25
25
|
var FXAAShader_js = require('three/examples/jsm/shaders/FXAAShader.js');
|
|
26
26
|
var gsap = require('gsap');
|
|
27
27
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
28
|
-
var
|
|
28
|
+
var _0x571f68 = require('earcut');
|
|
29
29
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
30
30
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x36b9ab=_0x4c07;(function(_0x4e62fd,_0x13a0c7){const _0x7c5fc1=_0x4c07,_0xb6089b=_0x4e62fd();while(!![]){try{const _0x4041d9=parseInt(_0x7c5fc1(0x16f))/0x1+parseInt(_0x7c5fc1(0x166))/0x2*(-parseInt(_0x7c5fc1(0x16a))/0x3)+-parseInt(_0x7c5fc1(0x15b))/0x4*(-parseInt(_0x7c5fc1(0x167))/0x5)+-parseInt(_0x7c5fc1(0x165))/0x6+parseInt(_0x7c5fc1(0x168))/0x7*(parseInt(_0x7c5fc1(0x163))/0x8)+parseInt(_0x7c5fc1(0x164))/0x9+-parseInt(_0x7c5fc1(0x169))/0xa*(-parseInt(_0x7c5fc1(0x16d))/0xb);if(_0x4041d9===_0x13a0c7)break;else _0xb6089b['push'](_0xb6089b['shift']());}catch(_0x98f5fa){_0xb6089b['push'](_0xb6089b['shift']());}}}(_0x4da3,0x9191c));function _0x4da3(){const _0x35d79a=['addTickEvent','removeTickEvent','splice','23608Wimeyz','1025838pyBIxc','7140900PlGbEw','16174iGWUmE','3035RhBNrd','70WaJTFZ','1490aNXUBL','21MQzDyp','clearTickEvents','indexOf','45397gDblpy','push','181987ZrTHHB','forEach','isTickEnabled','tickEvents','5948rFxOzS','_uuid','destroy','uuid','bCanTick'];_0x4da3=function(){return _0x35d79a;};return _0x4da3();}function _0x4c07(_0x4e9ec2,_0x3a90f7){_0x4e9ec2=_0x4e9ec2-0x15a;const _0x4da3fa=_0x4da3();let _0x4c079d=_0x4da3fa[_0x4e9ec2];return _0x4c079d;}class BaseObject{get[_0x36b9ab(0x171)](){const _0x420cf8=_0x36b9ab;return this[_0x420cf8(0x15f)];}set['isTickEnabled'](_0x6ba00d){const _0x2c2ad6=_0x36b9ab;this[_0x2c2ad6(0x15f)]=_0x6ba00d;}get[_0x36b9ab(0x15e)](){const _0x1bb52d=_0x36b9ab;return this[_0x1bb52d(0x15c)];}constructor(_0x3315b6=webgpu.MathUtils['generateUUID']()){const _0x19d90e=_0x36b9ab;this[_0x19d90e(0x15f)]=![],this['tickEvents']=[],this[_0x19d90e(0x15f)]=![],this[_0x19d90e(0x15c)]=_0x3315b6;}['tick'](_0x4048ea){const _0xa81d7a=_0x36b9ab;if(!this['bCanTick'])return;this[_0xa81d7a(0x15a)][_0xa81d7a(0x170)](_0x5e55a9=>{_0x5e55a9(_0x4048ea);});}[_0x36b9ab(0x160)](_0x110418){const _0x51bba1=_0x36b9ab;this[_0x51bba1(0x15a)][_0x51bba1(0x16e)](_0x110418);}[_0x36b9ab(0x161)](_0x258467){const _0x19c2e3=_0x36b9ab;let _0x4ef8e4=this[_0x19c2e3(0x15a)][_0x19c2e3(0x16c)](_0x258467);_0x4ef8e4!=-1&&this[_0x19c2e3(0x15a)][_0x19c2e3(0x162)](_0x4ef8e4,0x1);}[_0x36b9ab(0x16b)](){const _0x184abb=_0x36b9ab;this[_0x184abb(0x15a)]=[];}[_0x36b9ab(0x15d)](){}}
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
function _0xa377(){const _0x34cdf0=['warn','19606brLGeY','2786862VxLJlj','obj','generateUUID','destroyObject','5VEGpbc','destroy','LYObject','312mNFOkb','_name','_parentActor','threeObject','430842UmaAqo','name','3163700UcvKYN','createDefaultObject','24183gWmenH','4PhEujF','Component','406935CWhKgg','3533215sGTFoa'];_0xa377=function(){return _0x34cdf0;};return _0xa377();}const _0x225da1=_0x2881;(function(_0x4e735a,_0x25b0dc){const _0x2a91a8=_0x2881,_0x26cbb5=_0x4e735a();while(!![]){try{const _0x55be4f=parseInt(_0x2a91a8(0x1d4))/0x1*(parseInt(_0x2a91a8(0x1e5))/0x2)+parseInt(_0x2a91a8(0x1db))/0x3+parseInt(_0x2a91a8(0x1e0))/0x4*(parseInt(_0x2a91a8(0x1e2))/0x5)+-parseInt(_0x2a91a8(0x1e6))/0x6+parseInt(_0x2a91a8(0x1e3))/0x7+-parseInt(_0x2a91a8(0x1d7))/0x8*(parseInt(_0x2a91a8(0x1df))/0x9)+parseInt(_0x2a91a8(0x1dd))/0xa;if(_0x55be4f===_0x25b0dc)break;else _0x26cbb5['push'](_0x26cbb5['shift']());}catch(_0x160387){_0x26cbb5['push'](_0x26cbb5['shift']());}}}(_0xa377,0x80625));function _0x2881(_0x1477aa,_0x36e79e){_0x1477aa=_0x1477aa-0x1d4;const _0xa377d9=_0xa377();let _0x2881bc=_0xa377d9[_0x1477aa];return _0x2881bc;}class Component extends BaseObject{set['parentActor'](_0x52bfbc){this['_parentActor']=_0x52bfbc;}get['parentActor'](){return this['_parentActor'];}get[_0x225da1(0x1da)](){const _0x123be0=_0x225da1;return this[_0x123be0(0x1e7)];}set['threeObject'](_0x157d1a){const _0x537bc8=_0x225da1;this[_0x537bc8(0x1e7)]=_0x157d1a,this[_0x537bc8(0x1e7)]&&(this['obj']['userData'][_0x537bc8(0x1d6)]=this);}get[_0x225da1(0x1dc)](){const _0x59cb8e=_0x225da1;return this[_0x59cb8e(0x1d8)];}set[_0x225da1(0x1dc)](_0x200ed7){const _0x45a5c8=_0x225da1;this[_0x45a5c8(0x1d8)]=_0x200ed7,this[_0x45a5c8(0x1e7)]&&(this[_0x45a5c8(0x1e7)]['name']=_0x200ed7);}constructor(_0x40c204){const _0x27de9c=_0x225da1;super(_0x40c204?_0x40c204:webgpu.MathUtils[_0x27de9c(0x1e8)]()),this[_0x27de9c(0x1e7)]=null,this[_0x27de9c(0x1d9)]=null,this[_0x27de9c(0x1d8)]=_0x27de9c(0x1e1),this['_parentActor']=null;let _0xf86d23=this['createDefaultObject']();_0xf86d23?(this[_0x27de9c(0x1e7)]=_0xf86d23,this['_name']=this['obj']['type']+_0x27de9c(0x1e1)):console[_0x27de9c(0x1e4)]('Component\x20createDefaultObject\x20return\x20null');}[_0x225da1(0x1de)](_0x35f818){return null;}[_0x225da1(0x1e9)](){const _0x73fe55=_0x225da1;if(!this[_0x73fe55(0x1e7)])return;}[_0x225da1(0x1d5)](){const _0x3c5f63=_0x225da1;this[_0x3c5f63(0x1e9)]();}}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
(function(_0x208afa,_0x296869){var _0x53da73=_0x5ddc,_0x5df17a=_0x208afa();while(!![]){try{var _0x3e54ac=-parseInt(_0x53da73(0x141))/0x1*(-parseInt(_0x53da73(0x140))/0x2)+parseInt(_0x53da73(0x13b))/0x3+parseInt(_0x53da73(0x138))/0x4*(-parseInt(_0x53da73(0x136))/0x5)+-parseInt(_0x53da73(0x13e))/0x6+-parseInt(_0x53da73(0x13d))/0x7*(-parseInt(_0x53da73(0x13f))/0x8)+-parseInt(_0x53da73(0x137))/0x9+parseInt(_0x53da73(0x139))/0xa*(parseInt(_0x53da73(0x13c))/0xb);if(_0x3e54ac===_0x296869)break;else _0x5df17a['push'](_0x5df17a['shift']());}catch(_0x12d9d0){_0x5df17a['push'](_0x5df17a['shift']());}}}(_0x5033,0x76314));function _0x5033(){var _0x4cf9ca=['77ewgIJy','700595bTLAIY','5056116cVZmOf','40rQvsKo','8SUupvO','153724MDhyRk','KeepRelative','1695135iTSWjE','1687473goAErB','4ardGxz','353830meqoUb','KeepWorld','1470972XOomPI'];_0x5033=function(){return _0x4cf9ca;};return _0x5033();}exports.AttachmentRules = void 0;function _0x5ddc(_0x14ca93,_0x485210){_0x14ca93=_0x14ca93-0x135;var _0x5033a0=_0x5033();var _0x5ddc29=_0x5033a0[_0x14ca93];return _0x5ddc29;}(function(_0x4f267b){var _0x1eb78e=_0x5ddc;_0x4f267b[_0x4f267b[_0x1eb78e(0x13a)]=0x1]=_0x1eb78e(0x13a),_0x4f267b[_0x4f267b['KeepRelative']=0x2]=_0x1eb78e(0x135);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
function _0x355b(_0xde80f6,_0x47e9dd){_0xde80f6=_0xde80f6-0xb7;const _0x3eda41=_0x3eda();let _0x355b51=_0x3eda41[_0xde80f6];return _0x355b51;}const _0x142e21=_0x355b;(function(_0x4a1841,_0x56e067){const _0x49f6cc=_0x355b,_0x291ac8=_0x4a1841();while(!![]){try{const _0x51d6e7=parseInt(_0x49f6cc(0xc4))/0x1+-parseInt(_0x49f6cc(0xbe))/0x2*(parseInt(_0x49f6cc(0xc0))/0x3)+parseInt(_0x49f6cc(0xc3))/0x4*(parseInt(_0x49f6cc(0xc6))/0x5)+-parseInt(_0x49f6cc(0xbb))/0x6+-parseInt(_0x49f6cc(0xba))/0x7+-parseInt(_0x49f6cc(0xc2))/0x8+parseInt(_0x49f6cc(0xc7))/0x9*(parseInt(_0x49f6cc(0xbf))/0xa);if(_0x51d6e7===_0x56e067)break;else _0x291ac8['push'](_0x291ac8['shift']());}catch(_0x2474c8){_0x291ac8['push'](_0x291ac8['shift']());}}}(_0x3eda,0x8a7a3));function _0x3eda(){const _0x7bea17=['18HeNdmR','broadcast','add','forEach','1709141tWiBzE','4933224LjuFYB','functions','splice','35402RMRntg','6955990hxVUNe','87bWdsST','push','37344VJUPzf','100IDXOsx','242194bRHgyR','remove','103635SIweJk'];_0x3eda=function(){return _0x7bea17;};return _0x3eda();}class Delegate{constructor(){const _0x3ae31f=_0x355b;this[_0x3ae31f(0xbc)]=[];}[_0x142e21(0xb7)](..._0x318c38){const _0x2fc5b1=_0x142e21;this[_0x2fc5b1(0xbc)][_0x2fc5b1(0xb9)](_0x2b9981=>_0x2b9981(..._0x318c38));}[_0x142e21(0xb8)](_0x2b00eb){const _0x2c1a48=_0x142e21;this[_0x2c1a48(0xbc)][_0x2c1a48(0xc1)](_0x2b00eb);}[_0x142e21(0xc5)](_0xbab8de){const _0x1b9f83=_0x142e21,_0x3d5747=this[_0x1b9f83(0xbc)]['indexOf'](_0xbab8de);_0x3d5747>=0x0&&this['functions'][_0x1b9f83(0xbd)](_0x3d5747,0x1);}['clear'](){const _0x44d2da=_0x142e21;this[_0x44d2da(0xbc)]=[];}}
|
|
39
39
|
|
|
40
|
-
const _0x3b02b1=_0x1a21;(function(_0x251803,_0x533679){const _0x4c1714=_0x1a21,_0x1d3f03=_0x251803();while(!![]){try{const _0x4239cf=parseInt(_0x4c1714(0xb0))/0x1*(parseInt(_0x4c1714(0xc5))/0x2)+-parseInt(_0x4c1714(0x89))/0x3+parseInt(_0x4c1714(0x98))/0x4*(-parseInt(_0x4c1714(0x88))/0x5)+parseInt(_0x4c1714(0x7c))/0x6*(parseInt(_0x4c1714(0xc1))/0x7)+-parseInt(_0x4c1714(0xb2))/0x8*(parseInt(_0x4c1714(0x92))/0x9)+parseInt(_0x4c1714(0x76))/0xa+parseInt(_0x4c1714(0xc9))/0xb*(-parseInt(_0x4c1714(0x8e))/0xc);if(_0x4239cf===_0x533679)break;else _0x1d3f03['push'](_0x1d3f03['shift']());}catch(_0x35f5aa){_0x1d3f03['push'](_0x1d3f03['shift']());}}}(_0x50e5,0x20f76));function _0x1a21(_0x52403a,_0x55464a){_0x52403a=_0x52403a-0x74;const _0x50e5fa=_0x50e5();let _0x1a216a=_0x50e5fa[_0x52403a];return _0x1a216a;}function _0x50e5(){const _0x32de8a=['min','_onDoubleClickDelegate','onDoubleClickDelegate','getWorldUpDirection','18UCCrhR','bCanHover','number','copy','matrixAutoUpdate','_parentActor','setLayers','addChildComponent','setFromObject','decompose','worldToLocal','getWorldQuaternion','45VTmRNB','241440qPElJs','length','setQuaternion','max','onClicked','956136FEwSdZ','getPosition','position','LYObject','1095363ymxdQk','setMatrix','_onHoverEndDelegate','detachFromParentActor','setPosition','getMatrix','33584gKfKQi','matrix','getWorldForwardDirection','isClickEnabled','updateMatrixWorld','getWorldScale','compose','destroy','visible','quaternion','userData','newComponent\x20threeObject\x20is\x20invalid','getQuaternion','app','setQuaternion\x20failed,param\x20is\x20invalid','applyQuaternion','getWorldDirection','viewport','_onHoverBeginDelegate','invert','getCenter','SceneComponent','destroyChildren','tick','2VNqbLK','forEach','8NbwZxR','bCanClick','isVector3','broadcast','children','markRenderStateDirty','uuid','getBounds','obj','onClickDelegate','multiplyMatrices','remove','parent','_onClickDelegate','getScale','520961bBPRCS','set','onAddedToWorld','getWorldRotation','49384ASePbm','getBoundsTopCenterPositionWS','parentActor','getComponentById','11yLpZHK','getWorldMatrix','setScale','error','detachFromParentComponent','setWorldMatrix','clone','scale','threeObject\x20is\x20invalid','removeChildComponent','world','KeepRelative','parentComponent','setFromQuaternion','isQuaternion','push','childrenComponents','threeObject','destroyObject','onHoverEndDelegate','rotation','matrixWorld','add','updateMatrix','onHoverBeginDelegate','2198060oAVFdD','getWorldPosition'];_0x50e5=function(){return _0x32de8a;};return _0x50e5();}class SceneComponent extends Component{set['parentActor'](_0x40d5d8){const _0x26c11e=_0x1a21;this[_0x26c11e(0xd9)][_0x26c11e(0xb1)](_0xacdabe=>{const _0x503547=_0x26c11e;_0xacdabe[_0x503547(0xc7)]=_0x40d5d8;}),this[_0x26c11e(0x81)]=_0x40d5d8;}get[_0x3b02b1(0xc7)](){const _0x2520a0=_0x3b02b1;return this[_0x2520a0(0x81)];}get[_0x3b02b1(0x75)](){const _0x53d708=_0x3b02b1;return this[_0x53d708(0xaa)];}get[_0x3b02b1(0xdc)](){const _0x10ae28=_0x3b02b1;return this[_0x10ae28(0x94)];}get[_0x3b02b1(0xbb)](){const _0x7fb452=_0x3b02b1;return this[_0x7fb452(0xbf)];}get[_0x3b02b1(0x7a)](){const _0xb45abd=_0x3b02b1;return this[_0xb45abd(0x79)];}get[_0x3b02b1(0xd3)](){const _0x136610=_0x3b02b1;return this['app'][_0x136610(0xd3)];}constructor(_0x4ccaff,_0x58cb7b){const _0xb27b7f=_0x3b02b1;super(_0x58cb7b),this['bCanHover']=![],this[_0xb27b7f(0xb3)]=![],this[_0xb27b7f(0xaa)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0xb27b7f(0x79)]=new Delegate(),this[_0xb27b7f(0xa5)]=_0x4ccaff,this['name']=_0xb27b7f(0xad);}['createDefaultObject'](){return new webgpu.Object3D();}[_0x3b02b1(0xaf)](_0x5b0542){const _0x18b516=_0x3b02b1;super[_0x18b516(0xaf)](_0x5b0542),this['childrenComponents'][_0x18b516(0xb1)](_0x18414e=>{const _0x1c00a0=_0x18b516;_0x18414e[_0x1c00a0(0xaf)](_0x5b0542);});}get['isVisible'](){const _0x217090=_0x3b02b1;if(!this[_0x217090(0xba)])return ![];return this[_0x217090(0xba)][_0x217090(0xa0)];}['setVisible'](_0x3bc1da){const _0x322455=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');this['obj'][_0x322455(0xa0)]=_0x3bc1da,this[_0x322455(0xd3)]&&this['world'][_0x322455(0xa9)]['markRenderStateDirty']();}[_0x3b02b1(0x82)](_0x644b69){const _0x1cb3aa=_0x3b02b1;if(!this['obj'])throw Error(_0x1cb3aa(0xd1));this[_0x1cb3aa(0xba)]['layers'][_0x1cb3aa(0xc2)](_0x644b69);let _0x503deb=this[_0x1cb3aa(0xd9)];_0x503deb[_0x1cb3aa(0xb1)](_0x2a546a=>{_0x2a546a['setLayers'](_0x644b69);});}['getComponentById'](_0x4ecddb,_0x216ab7=!![]){const _0xab0759=_0x3b02b1;if(this['uuid']===_0x4ecddb)return this;if(_0x216ab7){let _0x490b05=this[_0xab0759(0xd9)];for(let _0x2049aa=0x0;_0x2049aa<_0x490b05[_0xab0759(0x8a)];++_0x2049aa){let _0x571969=_0x490b05[_0x2049aa][_0xab0759(0xc8)](_0x4ecddb,_0x216ab7);if(_0x571969)return _0x571969;}}else {let _0x2c4173=this[_0xab0759(0xd9)];for(let _0x46be96=0x0;_0x46be96<_0x2c4173[_0xab0759(0x8a)];++_0x46be96){let _0x56ce41=_0x2c4173[_0x46be96];if(_0x56ce41[_0xab0759(0xb8)]===_0x4ecddb)return _0x56ce41;}}return null;}['getBoundsCenterPositionWS'](){const _0x479c9b=_0x3b02b1;let _0x1350e6=new webgpu.Vector3();return this[_0x479c9b(0xb9)]()[_0x479c9b(0xac)](_0x1350e6),this[_0x479c9b(0x77)]();}[_0x3b02b1(0xc6)](){const _0x296ea0=_0x3b02b1;let _0x131040=new webgpu.Vector3(),_0x3bef89=this[_0x296ea0(0xb9)]();return _0x3bef89[_0x296ea0(0xac)](_0x131040),_0x131040['y']=_0x3bef89['max']['y'],_0x131040;}['getBoundsBottomCenterPositionWS'](){const _0x5a378e=_0x3b02b1;let _0xdd8670=new webgpu.Vector3(),_0x269151=this[_0x5a378e(0xb9)]();return _0x269151[_0x5a378e(0xac)](_0xdd8670),_0xdd8670['y']=_0x269151[_0x5a378e(0x78)]['y'],_0xdd8670;}[_0x3b02b1(0xb9)](){const _0x183f0c=_0x3b02b1;if(!this[_0x183f0c(0xba)])throw Error(_0x183f0c(0xd1));let _0x32fba2=new webgpu.Box3();return _0x32fba2[_0x183f0c(0x84)](this[_0x183f0c(0xba)],![]),_0x32fba2['isEmpty']()&&(_0x32fba2[_0x183f0c(0x78)]=_0x32fba2[_0x183f0c(0x8c)]=this[_0x183f0c(0x77)]()),_0x32fba2;}get['parentComponent'](){const _0x4d0b6f=_0x3b02b1;var _0x3a366a,_0x2b02d8;if(!this[_0x4d0b6f(0xba)])throw Error(_0x4d0b6f(0xd1));let _0x182466=(_0x2b02d8=(_0x3a366a=this[_0x4d0b6f(0xba)])===null||_0x3a366a===void 0?void 0:_0x3a366a[_0x4d0b6f(0xbe)])===null||_0x2b02d8===void 0?void 0:_0x2b02d8[_0x4d0b6f(0xa2)][_0x4d0b6f(0x91)];if(!_0x182466)return null;if(!(_0x182466 instanceof SceneComponent))return null;if(_0x182466[_0x4d0b6f(0xc7)]!==this[_0x4d0b6f(0xc7)])return null;return _0x182466;}get[_0x3b02b1(0xd9)](){const _0x33bb98=_0x3b02b1;if(!this[_0x33bb98(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x1ff2da=[];for(let _0x1f3ce0=0x0;_0x1f3ce0<this[_0x33bb98(0xba)][_0x33bb98(0xb6)][_0x33bb98(0x8a)];++_0x1f3ce0){if(!this[_0x33bb98(0xba)][_0x33bb98(0xb6)][_0x1f3ce0][_0x33bb98(0xa2)][_0x33bb98(0x91)])continue;this[_0x33bb98(0xba)][_0x33bb98(0xb6)][_0x1f3ce0][_0x33bb98(0xa2)]['LYObject'][_0x33bb98(0xc7)]===this[_0x33bb98(0xc7)]&&_0x1ff2da[_0x33bb98(0xd8)](this[_0x33bb98(0xba)]['children'][_0x1f3ce0]['userData'][_0x33bb98(0x91)]);}return _0x1ff2da;}[_0x3b02b1(0xc3)](_0x1d40bc){const _0x10381c=_0x3b02b1;let _0x137af2=this[_0x10381c(0xd9)];for(let _0x4f4ba7=0x0;_0x4f4ba7<_0x137af2[_0x10381c(0x8a)];++_0x4f4ba7){_0x137af2[_0x4f4ba7]['onAddedToWorld'](_0x1d40bc);}}[_0x3b02b1(0x9f)](){const _0x57b987=_0x3b02b1;this['isHoverEnabled']=![],this[_0x57b987(0x9b)]=![],this[_0x57b987(0x95)](),this[_0x57b987(0xcd)](),this['destroyChildren'](),this[_0x57b987(0xdb)](),this['world']&&this[_0x57b987(0xd3)][_0x57b987(0xa9)][_0x57b987(0xb7)]();}[_0x3b02b1(0xdb)](){const _0x4a2236=_0x3b02b1;if(!this['obj'])return;this[_0x4a2236(0xba)]['parent']&&this[_0x4a2236(0xba)][_0x4a2236(0xbe)][_0x4a2236(0xbd)](this['obj']),super[_0x4a2236(0xdb)]();}[_0x3b02b1(0x8f)](){const _0x1e2ace=_0x3b02b1;if(!this['obj'])throw Error(_0x1e2ace(0xd1));if(this[_0x1e2ace(0xba)][_0x1e2ace(0x80)])return this['obj'][_0x1e2ace(0x90)][_0x1e2ace(0xcf)]();else {const _0x5b43fd=new webgpu.Vector3(),_0x5c9963=new webgpu.Quaternion(),_0x1e83c2=new webgpu.Vector3();return this['obj']['matrix'][_0x1e2ace(0x85)](_0x5b43fd,_0x5c9963,_0x1e83c2),_0x5b43fd;}}[_0x3b02b1(0x96)](..._0x4fb5ea){const _0x2a86a1=_0x3b02b1;var _0x1ec86c;if(!this[_0x2a86a1(0xba)])throw Error(_0x2a86a1(0xd1));let _0x19c202=null;if(_0x4fb5ea['length']===0x1&&((_0x1ec86c=_0x4fb5ea[0x0])===null||_0x1ec86c===void 0?void 0:_0x1ec86c['isVector3'])){const _0x1a7027=_0x4fb5ea[0x0];_0x19c202=new webgpu.Vector3(_0x1a7027['x'],_0x1a7027['y'],_0x1a7027['z']);}else _0x4fb5ea[_0x2a86a1(0x8a)]===0x3&&typeof _0x4fb5ea[0x0]==='number'&&typeof _0x4fb5ea[0x1]==='number'&&typeof _0x4fb5ea[0x2]===_0x2a86a1(0x7e)&&(_0x19c202=new webgpu.Vector3(_0x4fb5ea[0x0],_0x4fb5ea[0x1],_0x4fb5ea[0x2]));if(!_0x19c202)return;this[_0x2a86a1(0xba)][_0x2a86a1(0x90)][_0x2a86a1(0x7f)](_0x19c202),!this['obj']['matrixAutoUpdate']&&this['obj']['matrix'][_0x2a86a1(0x96)](_0x19c202['x'],_0x19c202['y'],_0x19c202['z']),this['obj'][_0x2a86a1(0x74)](),this[_0x2a86a1(0xba)]['updateMatrixWorld'](!![]),this[_0x2a86a1(0xd3)]&&this[_0x2a86a1(0xd3)][_0x2a86a1(0xa9)][_0x2a86a1(0xb7)]();}['getRotation'](){const _0x59568a=_0x3b02b1;if(!this[_0x59568a(0xba)])throw Error(_0x59568a(0xd1));if(this['obj'][_0x59568a(0x80)])return this['obj'][_0x59568a(0xdd)][_0x59568a(0xcf)]();else {const _0x2ab27f=new webgpu.Vector3(),_0x39906a=new webgpu.Quaternion(),_0x5bb72b=new webgpu.Vector3();return this[_0x59568a(0xba)]['matrix'][_0x59568a(0x85)](_0x2ab27f,_0x39906a,_0x5bb72b),new webgpu.Euler()[_0x59568a(0xd6)](_0x39906a);}}['setRotation'](..._0x2cf436){const _0x1abd0c=_0x3b02b1;var _0x39d6d3;if(!this[_0x1abd0c(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x35a658=null;if((_0x39d6d3=_0x2cf436[0x0])===null||_0x39d6d3===void 0?void 0:_0x39d6d3['isEuler']){const _0xbbd0b=_0x2cf436[0x0];_0x35a658=new webgpu.Euler(_0xbbd0b['x'],_0xbbd0b['y'],_0xbbd0b['z'],_0xbbd0b['order']);}else typeof _0x2cf436[0x0]===_0x1abd0c(0x7e)&&typeof _0x2cf436[0x1]===_0x1abd0c(0x7e)&&typeof _0x2cf436[0x2]===_0x1abd0c(0x7e)&&(_0x35a658=new webgpu.Euler(_0x2cf436[0x0],_0x2cf436[0x1],_0x2cf436[0x2]));if(!_0x35a658)return;this[_0x1abd0c(0xba)][_0x1abd0c(0xdd)]['copy'](_0x35a658),this[_0x1abd0c(0xba)][_0x1abd0c(0x74)](),this[_0x1abd0c(0xba)][_0x1abd0c(0x9c)](!![]),this['world']&&this[_0x1abd0c(0xd3)][_0x1abd0c(0xa9)][_0x1abd0c(0xb7)]();}[_0x3b02b1(0xa4)](){const _0x441daf=_0x3b02b1;if(!this[_0x441daf(0xba)])throw Error(_0x441daf(0xd1));if(this[_0x441daf(0xba)]['matrixAutoUpdate'])return this['obj']['quaternion'][_0x441daf(0xcf)]();else {const _0x471ec8=new webgpu.Vector3(),_0x2b876e=new webgpu.Quaternion(),_0xe63604=new webgpu.Vector3();return this[_0x441daf(0xba)][_0x441daf(0x99)][_0x441daf(0x85)](_0x471ec8,_0x2b876e,_0xe63604),_0x2b876e;}}[_0x3b02b1(0x8b)](..._0x49cb28){const _0x5e7054=_0x3b02b1;var _0x28a842;if(!this['obj'])throw Error(_0x5e7054(0xd1));let _0x1ad9a3=null;if((_0x28a842=_0x49cb28[0x0])===null||_0x28a842===void 0?void 0:_0x28a842[_0x5e7054(0xd7)]){const _0x369014=_0x49cb28[0x0];_0x1ad9a3=new webgpu.Quaternion(_0x369014['x'],_0x369014['y'],_0x369014['z'],_0x369014['w']);}else typeof _0x49cb28[0x0]==='number'&&typeof _0x49cb28[0x1]===_0x5e7054(0x7e)&&typeof _0x49cb28[0x2]===_0x5e7054(0x7e)&&typeof _0x49cb28[0x3]===_0x5e7054(0x7e)&&(_0x1ad9a3=new webgpu.Quaternion(_0x49cb28[0x0],_0x49cb28[0x1],_0x49cb28[0x2],_0x49cb28[0x3]));if(!_0x1ad9a3){console[_0x5e7054(0xcc)](_0x5e7054(0xa6),_0x49cb28);return;}this['obj'][_0x5e7054(0xa1)][_0x5e7054(0x7f)](_0x1ad9a3);if(!this[_0x5e7054(0xba)][_0x5e7054(0x80)]){const _0x1373f3=new webgpu.Vector3(),_0x52a905=new webgpu.Quaternion(),_0x48c3dd=new webgpu.Vector3();this[_0x5e7054(0xba)][_0x5e7054(0x99)][_0x5e7054(0x85)](_0x1373f3,_0x52a905,_0x48c3dd),this[_0x5e7054(0xba)][_0x5e7054(0x99)][_0x5e7054(0x9e)](_0x1373f3,_0x1ad9a3,_0x48c3dd);}this[_0x5e7054(0xd3)]&&this['world'][_0x5e7054(0xa9)][_0x5e7054(0xb7)](),this[_0x5e7054(0xba)]['updateMatrix'](),this[_0x5e7054(0xba)][_0x5e7054(0x9c)](!![]);}[_0x3b02b1(0xc0)](){const _0x4d181e=_0x3b02b1;if(!this[_0x4d181e(0xba)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0x4d181e(0x80)])return this['obj'][_0x4d181e(0xd0)][_0x4d181e(0xcf)]();else {const _0x56b51f=new webgpu.Vector3(),_0x41efce=new webgpu.Quaternion(),_0x2f1d5b=new webgpu.Vector3();return this['obj'][_0x4d181e(0x99)][_0x4d181e(0x85)](_0x56b51f,_0x41efce,_0x2f1d5b),_0x2f1d5b;}}[_0x3b02b1(0xcb)](..._0x3660f7){const _0x171af9=_0x3b02b1;var _0x3d13b6;if(!this[_0x171af9(0xba)])throw Error(_0x171af9(0xd1));let _0x3cfd85=null;if((_0x3d13b6=_0x3660f7[0x0])===null||_0x3d13b6===void 0?void 0:_0x3d13b6[_0x171af9(0xb4)]){const _0x16d033=_0x3660f7[0x0];_0x3cfd85=new webgpu.Vector3(_0x16d033['x'],_0x16d033['y'],_0x16d033['z']);}else typeof _0x3660f7[0x0]===_0x171af9(0x7e)&&typeof _0x3660f7[0x1]===_0x171af9(0x7e)&&typeof _0x3660f7[0x2]===_0x171af9(0x7e)&&(_0x3cfd85=new webgpu.Vector3(_0x3660f7[0x0],_0x3660f7[0x1],_0x3660f7[0x2]));if(!_0x3cfd85)return;this[_0x171af9(0xba)][_0x171af9(0xd0)][_0x171af9(0x7f)](_0x3cfd85),this[_0x171af9(0xba)][_0x171af9(0x74)](),this[_0x171af9(0xba)][_0x171af9(0x9c)](!![]),this[_0x171af9(0xd3)]&&this[_0x171af9(0xd3)][_0x171af9(0xa9)][_0x171af9(0xb7)]();}[_0x3b02b1(0x97)](){const _0x3c542e=_0x3b02b1;if(!this[_0x3c542e(0xba)])throw Error(_0x3c542e(0xd1));return this[_0x3c542e(0xba)][_0x3c542e(0x99)];}[_0x3b02b1(0x93)](_0x5d7d0e){const _0x3bad89=_0x3b02b1;var _0x28c915;if(!this['obj'])throw Error(_0x3bad89(0xd1));_0x5d7d0e['decompose'](this[_0x3bad89(0xba)][_0x3bad89(0x90)],this['obj']['quaternion'],this[_0x3bad89(0xba)]['scale']),this[_0x3bad89(0xba)][_0x3bad89(0x74)](),this[_0x3bad89(0xba)][_0x3bad89(0x9c)](!![]),(_0x28c915=this[_0x3bad89(0xd3)])===null||_0x28c915===void 0?void 0:_0x28c915[_0x3bad89(0xa9)][_0x3bad89(0xb7)]();}[_0x3b02b1(0x77)](){const _0x36efeb=_0x3b02b1;if(!this[_0x36efeb(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x56565f=new webgpu.Vector3();return this[_0x36efeb(0xba)][_0x36efeb(0x77)](_0x56565f),_0x56565f;}[_0x3b02b1(0xc4)](){const _0x927fa9=_0x3b02b1;if(!this[_0x927fa9(0xba)])throw Error('threeObject\x20is\x20invalid');let _0x1ec341=new webgpu.Quaternion();return this[_0x927fa9(0xba)][_0x927fa9(0x87)](_0x1ec341),new webgpu.Euler()[_0x927fa9(0xd6)](_0x1ec341);}['getWorldQuaternion'](){const _0x1da24f=_0x3b02b1;if(!this[_0x1da24f(0xba)])throw Error(_0x1da24f(0xd1));let _0x1852bb=new webgpu.Quaternion();return this[_0x1da24f(0xba)][_0x1da24f(0x87)](_0x1852bb),_0x1852bb;}[_0x3b02b1(0x9d)](){const _0x2a5546=_0x3b02b1;if(!this[_0x2a5546(0xba)])throw Error(_0x2a5546(0xd1));let _0x5ec334=new webgpu.Vector3();return this[_0x2a5546(0xba)]['getWorldScale'](_0x5ec334),_0x5ec334;}[_0x3b02b1(0xca)](){const _0x4bb58e=_0x3b02b1;if(!this[_0x4bb58e(0xba)])throw Error(_0x4bb58e(0xd1));return this[_0x4bb58e(0xba)][_0x4bb58e(0x9c)](!![]),this['obj']['matrixWorld'][_0x4bb58e(0xcf)]();}[_0x3b02b1(0xce)](_0x111809){const _0x20a238=_0x3b02b1;if(!this[_0x20a238(0xba)])throw Error(_0x20a238(0xd1));if(this[_0x20a238(0xba)][_0x20a238(0xbe)]){this[_0x20a238(0xba)][_0x20a238(0xbe)][_0x20a238(0x9c)](!![]);const _0x321635=this[_0x20a238(0xba)][_0x20a238(0xbe)][_0x20a238(0xde)][_0x20a238(0xcf)]()[_0x20a238(0xab)](),_0x23d8e5=new webgpu.Matrix4()[_0x20a238(0xbc)](_0x321635,_0x111809);this['setMatrix'](_0x23d8e5);}else this[_0x20a238(0x93)](_0x111809);this['obj'][_0x20a238(0x9c)](!![]),this['world']&&this[_0x20a238(0xd3)][_0x20a238(0xa9)][_0x20a238(0xb7)]();}[_0x3b02b1(0x9a)](){const _0xc66de2=_0x3b02b1;if(!this[_0xc66de2(0xba)])throw Error(_0xc66de2(0xd1));let _0x36462a=new webgpu.Vector3();return this['obj'][_0xc66de2(0xa8)](_0x36462a),_0x36462a;}[_0x3b02b1(0x7b)](){const _0x3b91bc=_0x3b02b1;if(!this[_0x3b91bc(0xba)])throw Error(_0x3b91bc(0xd1));let _0x46834c=new webgpu.Vector3(0x0,0x1,0x0);return _0x46834c['applyQuaternion'](this[_0x3b91bc(0x87)]()),_0x46834c;}['getWorldRightDirection'](){const _0x4019cc=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0xc27b80=new webgpu.Vector3(0x1,0x0,0x0);return _0xc27b80[_0x4019cc(0xa7)](this[_0x4019cc(0x87)]()),_0xc27b80;}[_0x3b02b1(0x86)](_0x5bdde4){const _0x4b3be1=_0x3b02b1;if(!this['obj'])throw Error(_0x4b3be1(0xd1));return this['obj'][_0x4b3be1(0x86)](_0x5bdde4);}['localToWorld'](_0xe0e1cf){const _0x5cd6dd=_0x3b02b1;if(!this[_0x5cd6dd(0xba)])throw Error(_0x5cd6dd(0xd1));return this[_0x5cd6dd(0xba)]['localToWorld'](_0xe0e1cf);}['attachComponent'](_0x469f05){const _0x3ed550=_0x3b02b1;if(!this[_0x3ed550(0xba)])throw Error(_0x3ed550(0xd1));if(!_0x469f05[_0x3ed550(0xda)])throw Error(_0x3ed550(0xa3));this[_0x3ed550(0xba)][_0x3ed550(0xdf)](_0x469f05[_0x3ed550(0xda)]),this[_0x3ed550(0xd3)]&&_0x469f05['onAddedToWorld'](this[_0x3ed550(0xd3)]);}['detachComponent'](_0x3f7c8e){const _0x280225=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(!_0x3f7c8e[_0x280225(0xda)])throw Error('target\x20threeObject\x20is\x20invalid');this[_0x280225(0xba)][_0x280225(0xbd)](_0x3f7c8e['threeObject']);}[_0x3b02b1(0x83)](_0x2c1119,_0x110f16=exports.AttachmentRules[_0x3b02b1(0xd4)]){const _0x561465=_0x3b02b1;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(!_0x2c1119['threeObject'])throw Error('newComponent\x20threeObject\x20is\x20invalid');_0x2c1119[_0x561465(0xc7)]=this['parentActor'];if(_0x110f16===exports.AttachmentRules['KeepWorld']){let _0x40a4fc=_0x2c1119['getWorldMatrix']();this[_0x561465(0xba)][_0x561465(0xdf)](_0x2c1119[_0x561465(0xda)]),_0x2c1119['setWorldMatrix'](_0x40a4fc);}else this[_0x561465(0xba)][_0x561465(0xdf)](_0x2c1119[_0x561465(0xda)]);this[_0x561465(0xd3)]&&_0x2c1119['onAddedToWorld'](this['world']),this['obj'][_0x561465(0x74)](),this[_0x561465(0xba)][_0x561465(0x9c)](!![]);}[_0x3b02b1(0xd2)](_0x4ac713){const _0x46f278=_0x3b02b1;if(!this[_0x46f278(0xba)])throw Error(_0x46f278(0xd1));if(!_0x4ac713[_0x46f278(0xda)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x46f278(0xba)][_0x46f278(0xbd)](_0x4ac713[_0x46f278(0xda)]);}[_0x3b02b1(0xcd)](){const _0x52f8da=_0x3b02b1;this[_0x52f8da(0xd5)]&&this[_0x52f8da(0xd5)][_0x52f8da(0xd2)](this);}[_0x3b02b1(0x95)](){const _0x177861=_0x3b02b1;this[_0x177861(0xc7)]&&(this[_0x177861(0xc7)]=null);}[_0x3b02b1(0xae)](){const _0x498426=_0x3b02b1;var _0x26bda6;if(!this[_0x498426(0xba)])return;let _0x379fdc=[];for(let _0x26bb65=0x0;_0x26bb65<this[_0x498426(0xba)][_0x498426(0xb6)][_0x498426(0x8a)];++_0x26bb65){let _0x1af354=(_0x26bda6=this['obj'][_0x498426(0xb6)][_0x26bb65][_0x498426(0xa2)])===null||_0x26bda6===void 0?void 0:_0x26bda6[_0x498426(0x91)];_0x1af354&&_0x379fdc[_0x498426(0xd8)](_0x1af354);}_0x379fdc[_0x498426(0xb1)](_0x2fcab3=>{const _0xf7333b=_0x498426;_0x2fcab3[_0xf7333b(0x9f)]();}),_0x379fdc=[];}set['isHoverEnabled'](_0xe05e34){const _0x4d0a97=_0x3b02b1;this[_0x4d0a97(0x7d)]=_0xe05e34;let _0x47bb9e=this[_0x4d0a97(0xd9)];for(let _0x15d096=0x0;_0x15d096<_0x47bb9e['length'];++_0x15d096){_0x47bb9e[_0x15d096]['isHoverEnabled']=this[_0x4d0a97(0x7d)];}}get['isHoverEnabled'](){const _0x245ddb=_0x3b02b1;return this[_0x245ddb(0x7d)];}set[_0x3b02b1(0x9b)](_0x3095fe){const _0x1437c3=_0x3b02b1;this[_0x1437c3(0xb3)]=_0x3095fe;let _0x2893ee=this['childrenComponents'];for(let _0x15f792=0x0;_0x15f792<_0x2893ee[_0x1437c3(0x8a)];++_0x15f792){_0x2893ee[_0x15f792][_0x1437c3(0x9b)]=this[_0x1437c3(0xb3)];}}get[_0x3b02b1(0x9b)](){const _0x26c526=_0x3b02b1;return this[_0x26c526(0xb3)];}['onHorveringBegin'](){const _0x170958=_0x3b02b1;this['_onHoverBeginDelegate'][_0x170958(0xb5)]();}['onHorveringEnd'](){const _0x1899ae=_0x3b02b1;this[_0x1899ae(0x94)][_0x1899ae(0xb5)]();}[_0x3b02b1(0x8d)](){const _0x4fbdd4=_0x3b02b1;this[_0x4fbdd4(0xbf)][_0x4fbdd4(0xb5)]();}['onDoubleClicked'](){const _0x1954d5=_0x3b02b1;this[_0x1954d5(0x79)][_0x1954d5(0xb5)]();}}
|
|
40
|
+
const _0x461e09=_0x3d31;(function(_0x39939c,_0x51d93f){const _0x274d16=_0x3d31,_0x47f90=_0x39939c();while(!![]){try{const _0x28ff4d=-parseInt(_0x274d16(0xee))/0x1+-parseInt(_0x274d16(0xdd))/0x2*(-parseInt(_0x274d16(0xf3))/0x3)+parseInt(_0x274d16(0xcb))/0x4*(-parseInt(_0x274d16(0xf6))/0x5)+-parseInt(_0x274d16(0xb0))/0x6+parseInt(_0x274d16(0xd6))/0x7+parseInt(_0x274d16(0xc8))/0x8+parseInt(_0x274d16(0xb8))/0x9;if(_0x28ff4d===_0x51d93f)break;else _0x47f90['push'](_0x47f90['shift']());}catch(_0x160e98){_0x47f90['push'](_0x47f90['shift']());}}}(_0x3afd,0x42b9c));function _0x3d31(_0x54ead2,_0x257e7a){_0x54ead2=_0x54ead2-0x97;const _0x3afddc=_0x3afd();let _0x3d31c4=_0x3afddc[_0x54ead2];return _0x3d31c4;}function _0x3afd(){const _0x1d07d8=['onHoverBeginDelegate','getWorldPosition','visible','number','_parentActor','_onClickDelegate','matrixAutoUpdate','forEach','setWorldMatrix','isVisible','parentActor','isHoverEnabled','setLayers','getWorldRotation','set','onDoubleClicked','getBoundsBottomCenterPositionWS','rotation','copy','clone','tick','add','setMatrix','1779438MrxIkR','children','uuid','destroyChildren','error','targetComponent\x20threeObject\x20is\x20invalid','detachFromParentActor','viewport','3750786TkYulE','getWorldUpDirection','detachFromParentComponent','getMatrix','broadcast','applyQuaternion','getWorldMatrix','setFromQuaternion','updateMatrix','setFromObject','threeObject\x20is\x20invalid','bCanHover','target\x20threeObject\x20is\x20invalid','getWorldDirection','isVector3','_onDoubleClickDelegate','2278584BrMZhe','getWorldScale','KeepWorld','19360nYueXu','createDefaultObject','position','onDoubleClickDelegate','obj','markRenderStateDirty','app','_onHoverEndDelegate','threeObject','onHorveringBegin','getWorldQuaternion','1898617ubtUjk','onHoverEndDelegate','isClickEnabled','addChildComponent','multiplyMatrices','detachComponent','onAddedToWorld','12568QhryaY','onClicked','childrenComponents','userData','getCenter','compose','parentComponent','matrix','setVisible','worldToLocal','onHorveringEnd','quaternion','getQuaternion','LYObject','length','setRotation','onClickDelegate','351987hQCnko','min','getWorldRightDirection','destroy','isEmpty','45lsDmgx','parent','getBounds','150npzwzW','remove','invert','setQuaternion\x20failed,param\x20is\x20invalid','localToWorld','removeChildComponent','setQuaternion','getWorldForwardDirection','getScale','world','getComponentById','matrixWorld','isEuler','scale','getRotation','attachComponent','name','getBoundsTopCenterPositionWS','_onHoverBeginDelegate','bCanClick','setPosition','push','destroyObject','decompose','newComponent\x20threeObject\x20is\x20invalid','updateMatrixWorld','max','getBoundsCenterPositionWS'];_0x3afd=function(){return _0x1d07d8;};return _0x3afd();}class SceneComponent extends Component{set['parentActor'](_0x47006e){const _0x390dd9=_0x3d31;this[_0x390dd9(0xdf)]['forEach'](_0x821caa=>{const _0x106a59=_0x390dd9;_0x821caa[_0x106a59(0xa3)]=_0x47006e;}),this[_0x390dd9(0x9d)]=_0x47006e;}get[_0x461e09(0xa3)](){const _0x12772c=_0x461e09;return this[_0x12772c(0x9d)];}get[_0x461e09(0x99)](){const _0x50b531=_0x461e09;return this[_0x50b531(0x108)];}get[_0x461e09(0xd7)](){const _0x35b3d7=_0x461e09;return this[_0x35b3d7(0xd2)];}get[_0x461e09(0xed)](){const _0x2237e6=_0x461e09;return this[_0x2237e6(0x9e)];}get[_0x461e09(0xce)](){const _0x1b4795=_0x461e09;return this[_0x1b4795(0xc7)];}get[_0x461e09(0xff)](){const _0xdf41a9=_0x461e09;return this[_0xdf41a9(0xd1)][_0xdf41a9(0xff)];}constructor(_0x5aee40,_0xfd7c67){const _0x3776d9=_0x461e09;super(_0xfd7c67),this[_0x3776d9(0xc3)]=![],this['bCanClick']=![],this[_0x3776d9(0x108)]=new Delegate(),this[_0x3776d9(0xd2)]=new Delegate(),this[_0x3776d9(0x9e)]=new Delegate(),this[_0x3776d9(0xc7)]=new Delegate(),this[_0x3776d9(0xd1)]=_0x5aee40,this[_0x3776d9(0x106)]='SceneComponent';}[_0x461e09(0xcc)](){return new webgpu.Object3D();}[_0x461e09(0xad)](_0x1f7662){const _0x125c28=_0x461e09;super[_0x125c28(0xad)](_0x1f7662),this[_0x125c28(0xdf)]['forEach'](_0x2c3358=>{const _0x5f40c7=_0x125c28;_0x2c3358[_0x5f40c7(0xad)](_0x1f7662);});}get[_0x461e09(0xa2)](){const _0x90a7b2=_0x461e09;if(!this[_0x90a7b2(0xcf)])return ![];return this[_0x90a7b2(0xcf)][_0x90a7b2(0x9b)];}[_0x461e09(0xe5)](_0x34362c){const _0x2e8ecd=_0x461e09;if(!this['obj'])throw Error(_0x2e8ecd(0xc2));this['obj']['visible']=_0x34362c,this[_0x2e8ecd(0xff)]&&this['world'][_0x2e8ecd(0xb7)][_0x2e8ecd(0xd0)]();}[_0x461e09(0xa5)](_0x3c37c6){const _0x39c42d=_0x461e09;if(!this[_0x39c42d(0xcf)])throw Error(_0x39c42d(0xc2));this[_0x39c42d(0xcf)]['layers'][_0x39c42d(0xa7)](_0x3c37c6);let _0x31b7a4=this[_0x39c42d(0xdf)];_0x31b7a4[_0x39c42d(0xa0)](_0x1cb7af=>{const _0xf3823b=_0x39c42d;_0x1cb7af[_0xf3823b(0xa5)](_0x3c37c6);});}[_0x461e09(0x100)](_0x25a59b,_0x28b9e6=!![]){const _0x5be3f5=_0x461e09;if(this[_0x5be3f5(0xb2)]===_0x25a59b)return this;if(_0x28b9e6){let _0x292789=this['childrenComponents'];for(let _0x1e3462=0x0;_0x1e3462<_0x292789[_0x5be3f5(0xeb)];++_0x1e3462){let _0x28e69c=_0x292789[_0x1e3462]['getComponentById'](_0x25a59b,_0x28b9e6);if(_0x28e69c)return _0x28e69c;}}else {let _0x34add3=this[_0x5be3f5(0xdf)];for(let _0x359da1=0x0;_0x359da1<_0x34add3[_0x5be3f5(0xeb)];++_0x359da1){let _0x5bcf8b=_0x34add3[_0x359da1];if(_0x5bcf8b['uuid']===_0x25a59b)return _0x5bcf8b;}}return null;}[_0x461e09(0x98)](){const _0xf0b806=_0x461e09;let _0x534505=new webgpu.Vector3();return this[_0xf0b806(0xf5)]()['getCenter'](_0x534505),this[_0xf0b806(0x9a)]();}[_0x461e09(0x107)](){const _0x1f124b=_0x461e09;let _0x3ccd30=new webgpu.Vector3(),_0x47e1b4=this['getBounds']();return _0x47e1b4[_0x1f124b(0xe1)](_0x3ccd30),_0x3ccd30['y']=_0x47e1b4[_0x1f124b(0x97)]['y'],_0x3ccd30;}[_0x461e09(0xa9)](){const _0x320c2c=_0x461e09;let _0x35234d=new webgpu.Vector3(),_0x538758=this['getBounds']();return _0x538758['getCenter'](_0x35234d),_0x35234d['y']=_0x538758[_0x320c2c(0xef)]['y'],_0x35234d;}[_0x461e09(0xf5)](){const _0x58b5d3=_0x461e09;if(!this[_0x58b5d3(0xcf)])throw Error(_0x58b5d3(0xc2));let _0x5518af=new webgpu.Box3();return _0x5518af[_0x58b5d3(0xc1)](this[_0x58b5d3(0xcf)],![]),_0x5518af[_0x58b5d3(0xf2)]()&&(_0x5518af[_0x58b5d3(0xef)]=_0x5518af[_0x58b5d3(0x97)]=this[_0x58b5d3(0x9a)]()),_0x5518af;}get[_0x461e09(0xe3)](){const _0x21b185=_0x461e09;var _0x25bf42,_0x1588ec;if(!this[_0x21b185(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x332f20=(_0x1588ec=(_0x25bf42=this[_0x21b185(0xcf)])===null||_0x25bf42===void 0?void 0:_0x25bf42[_0x21b185(0xf4)])===null||_0x1588ec===void 0?void 0:_0x1588ec['userData']['LYObject'];if(!_0x332f20)return null;if(!(_0x332f20 instanceof SceneComponent))return null;if(_0x332f20[_0x21b185(0xa3)]!==this[_0x21b185(0xa3)])return null;return _0x332f20;}get[_0x461e09(0xdf)](){const _0x44d5bd=_0x461e09;if(!this[_0x44d5bd(0xcf)])throw Error(_0x44d5bd(0xc2));let _0x5e88af=[];for(let _0x49265d=0x0;_0x49265d<this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x44d5bd(0xeb)];++_0x49265d){if(!this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x49265d][_0x44d5bd(0xe0)][_0x44d5bd(0xea)])continue;this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x49265d][_0x44d5bd(0xe0)]['LYObject'][_0x44d5bd(0xa3)]===this[_0x44d5bd(0xa3)]&&_0x5e88af['push'](this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x49265d]['userData'][_0x44d5bd(0xea)]);}return _0x5e88af;}[_0x461e09(0xdc)](_0x23f2aa){const _0x3b694f=_0x461e09;let _0x46e044=this[_0x3b694f(0xdf)];for(let _0x31a2aa=0x0;_0x31a2aa<_0x46e044[_0x3b694f(0xeb)];++_0x31a2aa){_0x46e044[_0x31a2aa][_0x3b694f(0xdc)](_0x23f2aa);}}[_0x461e09(0xf1)](){const _0x5225ad=_0x461e09;this[_0x5225ad(0xa4)]=![],this[_0x5225ad(0xd8)]=![],this[_0x5225ad(0xb6)](),this[_0x5225ad(0xba)](),this['destroyChildren'](),this['destroyObject'](),this[_0x5225ad(0xff)]&&this[_0x5225ad(0xff)][_0x5225ad(0xb7)][_0x5225ad(0xd0)]();}[_0x461e09(0x10c)](){const _0x377098=_0x461e09;if(!this[_0x377098(0xcf)])return;this[_0x377098(0xcf)]['parent']&&this['obj']['parent'][_0x377098(0xf7)](this[_0x377098(0xcf)]),super[_0x377098(0x10c)]();}['getPosition'](){const _0x125449=_0x461e09;if(!this[_0x125449(0xcf)])throw Error(_0x125449(0xc2));if(this[_0x125449(0xcf)]['matrixAutoUpdate'])return this[_0x125449(0xcf)]['position'][_0x125449(0xac)]();else {const _0x372058=new webgpu.Vector3(),_0x5beebc=new webgpu.Quaternion(),_0x120fa4=new webgpu.Vector3();return this[_0x125449(0xcf)][_0x125449(0xe4)][_0x125449(0x10d)](_0x372058,_0x5beebc,_0x120fa4),_0x372058;}}[_0x461e09(0x10a)](..._0xeb051f){const _0x2db904=_0x461e09;var _0x18894d;if(!this[_0x2db904(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x4bb3bf=null;if(_0xeb051f[_0x2db904(0xeb)]===0x1&&((_0x18894d=_0xeb051f[0x0])===null||_0x18894d===void 0?void 0:_0x18894d[_0x2db904(0xc6)])){const _0xc97920=_0xeb051f[0x0];_0x4bb3bf=new webgpu.Vector3(_0xc97920['x'],_0xc97920['y'],_0xc97920['z']);}else _0xeb051f[_0x2db904(0xeb)]===0x3&&typeof _0xeb051f[0x0]===_0x2db904(0x9c)&&typeof _0xeb051f[0x1]===_0x2db904(0x9c)&&typeof _0xeb051f[0x2]===_0x2db904(0x9c)&&(_0x4bb3bf=new webgpu.Vector3(_0xeb051f[0x0],_0xeb051f[0x1],_0xeb051f[0x2]));if(!_0x4bb3bf)return;this['obj'][_0x2db904(0xcd)][_0x2db904(0xab)](_0x4bb3bf),!this[_0x2db904(0xcf)][_0x2db904(0x9f)]&&this['obj'][_0x2db904(0xe4)][_0x2db904(0x10a)](_0x4bb3bf['x'],_0x4bb3bf['y'],_0x4bb3bf['z']),this[_0x2db904(0xcf)][_0x2db904(0xc0)](),this[_0x2db904(0xcf)][_0x2db904(0x10f)](!![]),this[_0x2db904(0xff)]&&this[_0x2db904(0xff)]['viewport'][_0x2db904(0xd0)]();}[_0x461e09(0x104)](){const _0x40ae6b=_0x461e09;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x40ae6b(0xcf)][_0x40ae6b(0x9f)])return this[_0x40ae6b(0xcf)]['rotation'][_0x40ae6b(0xac)]();else {const _0x47e75e=new webgpu.Vector3(),_0x128439=new webgpu.Quaternion(),_0x78eecd=new webgpu.Vector3();return this[_0x40ae6b(0xcf)]['matrix'][_0x40ae6b(0x10d)](_0x47e75e,_0x128439,_0x78eecd),new webgpu.Euler()[_0x40ae6b(0xbf)](_0x128439);}}[_0x461e09(0xec)](..._0x438da5){const _0x3eed8c=_0x461e09;var _0x248c49;if(!this[_0x3eed8c(0xcf)])throw Error(_0x3eed8c(0xc2));let _0x52b477=null;if((_0x248c49=_0x438da5[0x0])===null||_0x248c49===void 0?void 0:_0x248c49[_0x3eed8c(0x102)]){const _0x544d14=_0x438da5[0x0];_0x52b477=new webgpu.Euler(_0x544d14['x'],_0x544d14['y'],_0x544d14['z'],_0x544d14['order']);}else typeof _0x438da5[0x0]==='number'&&typeof _0x438da5[0x1]==='number'&&typeof _0x438da5[0x2]===_0x3eed8c(0x9c)&&(_0x52b477=new webgpu.Euler(_0x438da5[0x0],_0x438da5[0x1],_0x438da5[0x2]));if(!_0x52b477)return;this['obj'][_0x3eed8c(0xaa)][_0x3eed8c(0xab)](_0x52b477),this[_0x3eed8c(0xcf)]['updateMatrix'](),this['obj'][_0x3eed8c(0x10f)](!![]),this['world']&&this[_0x3eed8c(0xff)][_0x3eed8c(0xb7)]['markRenderStateDirty']();}[_0x461e09(0xe9)](){const _0x470a39=_0x461e09;if(!this[_0x470a39(0xcf)])throw Error(_0x470a39(0xc2));if(this['obj'][_0x470a39(0x9f)])return this[_0x470a39(0xcf)][_0x470a39(0xe8)][_0x470a39(0xac)]();else {const _0x5a2266=new webgpu.Vector3(),_0x16d4f7=new webgpu.Quaternion(),_0x4785ee=new webgpu.Vector3();return this[_0x470a39(0xcf)][_0x470a39(0xe4)]['decompose'](_0x5a2266,_0x16d4f7,_0x4785ee),_0x16d4f7;}}[_0x461e09(0xfc)](..._0x3faded){const _0x14553f=_0x461e09;var _0xa09e54;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x302360=null;if((_0xa09e54=_0x3faded[0x0])===null||_0xa09e54===void 0?void 0:_0xa09e54['isQuaternion']){const _0x570b3d=_0x3faded[0x0];_0x302360=new webgpu.Quaternion(_0x570b3d['x'],_0x570b3d['y'],_0x570b3d['z'],_0x570b3d['w']);}else typeof _0x3faded[0x0]===_0x14553f(0x9c)&&typeof _0x3faded[0x1]===_0x14553f(0x9c)&&typeof _0x3faded[0x2]===_0x14553f(0x9c)&&typeof _0x3faded[0x3]==='number'&&(_0x302360=new webgpu.Quaternion(_0x3faded[0x0],_0x3faded[0x1],_0x3faded[0x2],_0x3faded[0x3]));if(!_0x302360){console[_0x14553f(0xb4)](_0x14553f(0xf9),_0x3faded);return;}this[_0x14553f(0xcf)]['quaternion'][_0x14553f(0xab)](_0x302360);if(!this['obj'][_0x14553f(0x9f)]){const _0x418d2d=new webgpu.Vector3(),_0x343832=new webgpu.Quaternion(),_0x318a6f=new webgpu.Vector3();this[_0x14553f(0xcf)][_0x14553f(0xe4)][_0x14553f(0x10d)](_0x418d2d,_0x343832,_0x318a6f),this[_0x14553f(0xcf)][_0x14553f(0xe4)][_0x14553f(0xe2)](_0x418d2d,_0x302360,_0x318a6f);}this['world']&&this[_0x14553f(0xff)][_0x14553f(0xb7)][_0x14553f(0xd0)](),this[_0x14553f(0xcf)][_0x14553f(0xc0)](),this['obj'][_0x14553f(0x10f)](!![]);}[_0x461e09(0xfe)](){const _0x2f9f6d=_0x461e09;if(!this[_0x2f9f6d(0xcf)])throw Error(_0x2f9f6d(0xc2));if(this[_0x2f9f6d(0xcf)][_0x2f9f6d(0x9f)])return this[_0x2f9f6d(0xcf)][_0x2f9f6d(0x103)][_0x2f9f6d(0xac)]();else {const _0x37bf44=new webgpu.Vector3(),_0x4022ce=new webgpu.Quaternion(),_0x1e8eab=new webgpu.Vector3();return this[_0x2f9f6d(0xcf)][_0x2f9f6d(0xe4)][_0x2f9f6d(0x10d)](_0x37bf44,_0x4022ce,_0x1e8eab),_0x1e8eab;}}['setScale'](..._0x36b44){const _0x5e134f=_0x461e09;var _0x3fe32;if(!this['obj'])throw Error(_0x5e134f(0xc2));let _0x345e22=null;if((_0x3fe32=_0x36b44[0x0])===null||_0x3fe32===void 0?void 0:_0x3fe32[_0x5e134f(0xc6)]){const _0x45591a=_0x36b44[0x0];_0x345e22=new webgpu.Vector3(_0x45591a['x'],_0x45591a['y'],_0x45591a['z']);}else typeof _0x36b44[0x0]==='number'&&typeof _0x36b44[0x1]==='number'&&typeof _0x36b44[0x2]==='number'&&(_0x345e22=new webgpu.Vector3(_0x36b44[0x0],_0x36b44[0x1],_0x36b44[0x2]));if(!_0x345e22)return;this[_0x5e134f(0xcf)][_0x5e134f(0x103)]['copy'](_0x345e22),this[_0x5e134f(0xcf)][_0x5e134f(0xc0)](),this[_0x5e134f(0xcf)]['updateMatrixWorld'](!![]),this[_0x5e134f(0xff)]&&this[_0x5e134f(0xff)][_0x5e134f(0xb7)][_0x5e134f(0xd0)]();}[_0x461e09(0xbb)](){const _0x27cad6=_0x461e09;if(!this['obj'])throw Error(_0x27cad6(0xc2));return this[_0x27cad6(0xcf)]['matrix'];}[_0x461e09(0xaf)](_0x561698){const _0x2f7764=_0x461e09;var _0x44f00a;if(!this[_0x2f7764(0xcf)])throw Error(_0x2f7764(0xc2));_0x561698[_0x2f7764(0x10d)](this[_0x2f7764(0xcf)][_0x2f7764(0xcd)],this['obj'][_0x2f7764(0xe8)],this['obj'][_0x2f7764(0x103)]),this['obj']['updateMatrix'](),this[_0x2f7764(0xcf)][_0x2f7764(0x10f)](!![]),(_0x44f00a=this[_0x2f7764(0xff)])===null||_0x44f00a===void 0?void 0:_0x44f00a[_0x2f7764(0xb7)]['markRenderStateDirty']();}['getWorldPosition'](){const _0x23e13c=_0x461e09;if(!this[_0x23e13c(0xcf)])throw Error(_0x23e13c(0xc2));let _0x293556=new webgpu.Vector3();return this[_0x23e13c(0xcf)]['getWorldPosition'](_0x293556),_0x293556;}[_0x461e09(0xa6)](){const _0xe67e2f=_0x461e09;if(!this[_0xe67e2f(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x23c035=new webgpu.Quaternion();return this[_0xe67e2f(0xcf)][_0xe67e2f(0xd5)](_0x23c035),new webgpu.Euler()['setFromQuaternion'](_0x23c035);}[_0x461e09(0xd5)](){const _0x3f19e1=_0x461e09;if(!this[_0x3f19e1(0xcf)])throw Error(_0x3f19e1(0xc2));let _0x17d03f=new webgpu.Quaternion();return this[_0x3f19e1(0xcf)][_0x3f19e1(0xd5)](_0x17d03f),_0x17d03f;}[_0x461e09(0xc9)](){const _0x5b8c79=_0x461e09;if(!this[_0x5b8c79(0xcf)])throw Error(_0x5b8c79(0xc2));let _0x27b6ca=new webgpu.Vector3();return this['obj']['getWorldScale'](_0x27b6ca),_0x27b6ca;}[_0x461e09(0xbe)](){const _0x40d9be=_0x461e09;if(!this['obj'])throw Error(_0x40d9be(0xc2));return this[_0x40d9be(0xcf)][_0x40d9be(0x10f)](!![]),this['obj'][_0x40d9be(0x101)][_0x40d9be(0xac)]();}['setWorldMatrix'](_0x56b1c4){const _0x479198=_0x461e09;if(!this[_0x479198(0xcf)])throw Error(_0x479198(0xc2));if(this['obj'][_0x479198(0xf4)]){this[_0x479198(0xcf)][_0x479198(0xf4)][_0x479198(0x10f)](!![]);const _0x33f006=this[_0x479198(0xcf)][_0x479198(0xf4)][_0x479198(0x101)][_0x479198(0xac)]()[_0x479198(0xf8)](),_0xd496b0=new webgpu.Matrix4()[_0x479198(0xda)](_0x33f006,_0x56b1c4);this[_0x479198(0xaf)](_0xd496b0);}else this[_0x479198(0xaf)](_0x56b1c4);this[_0x479198(0xcf)][_0x479198(0x10f)](!![]),this[_0x479198(0xff)]&&this[_0x479198(0xff)][_0x479198(0xb7)][_0x479198(0xd0)]();}[_0x461e09(0xfd)](){const _0x272a40=_0x461e09;if(!this[_0x272a40(0xcf)])throw Error(_0x272a40(0xc2));let _0x125cfa=new webgpu.Vector3();return this['obj'][_0x272a40(0xc5)](_0x125cfa),_0x125cfa;}[_0x461e09(0xb9)](){const _0x16cb67=_0x461e09;if(!this[_0x16cb67(0xcf)])throw Error(_0x16cb67(0xc2));let _0x1fcdea=new webgpu.Vector3(0x0,0x1,0x0);return _0x1fcdea[_0x16cb67(0xbd)](this[_0x16cb67(0xd5)]()),_0x1fcdea;}[_0x461e09(0xf0)](){const _0x2d944e=_0x461e09;if(!this[_0x2d944e(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x2595de=new webgpu.Vector3(0x1,0x0,0x0);return _0x2595de[_0x2d944e(0xbd)](this['getWorldQuaternion']()),_0x2595de;}[_0x461e09(0xe6)](_0x103983){const _0x5d709c=_0x461e09;if(!this[_0x5d709c(0xcf)])throw Error(_0x5d709c(0xc2));return this[_0x5d709c(0xcf)][_0x5d709c(0xe6)](_0x103983);}['localToWorld'](_0x2ca007){const _0x5c622d=_0x461e09;if(!this[_0x5c622d(0xcf)])throw Error(_0x5c622d(0xc2));return this[_0x5c622d(0xcf)][_0x5c622d(0xfa)](_0x2ca007);}[_0x461e09(0x105)](_0x2690b2){const _0x4ff91e=_0x461e09;if(!this[_0x4ff91e(0xcf)])throw Error('threeObject\x20is\x20invalid');if(!_0x2690b2[_0x4ff91e(0xd3)])throw Error(_0x4ff91e(0x10e));this[_0x4ff91e(0xcf)][_0x4ff91e(0xae)](_0x2690b2['threeObject']),this[_0x4ff91e(0xff)]&&_0x2690b2[_0x4ff91e(0xdc)](this[_0x4ff91e(0xff)]);}[_0x461e09(0xdb)](_0xaba7ec){const _0x482e44=_0x461e09;if(!this[_0x482e44(0xcf)])throw Error(_0x482e44(0xc2));if(!_0xaba7ec[_0x482e44(0xd3)])throw Error(_0x482e44(0xc4));this[_0x482e44(0xcf)][_0x482e44(0xf7)](_0xaba7ec[_0x482e44(0xd3)]);}[_0x461e09(0xd9)](_0xabf7f9,_0x20f511=exports.AttachmentRules['KeepRelative']){const _0x42d455=_0x461e09;if(!this[_0x42d455(0xcf)])throw Error(_0x42d455(0xc2));if(!_0xabf7f9['threeObject'])throw Error(_0x42d455(0x10e));_0xabf7f9['parentActor']=this['parentActor'];if(_0x20f511===exports.AttachmentRules[_0x42d455(0xca)]){let _0x37daae=_0xabf7f9[_0x42d455(0xbe)]();this[_0x42d455(0xcf)]['add'](_0xabf7f9[_0x42d455(0xd3)]),_0xabf7f9[_0x42d455(0xa1)](_0x37daae);}else this['obj'][_0x42d455(0xae)](_0xabf7f9[_0x42d455(0xd3)]);this[_0x42d455(0xff)]&&_0xabf7f9[_0x42d455(0xdc)](this[_0x42d455(0xff)]),this[_0x42d455(0xcf)][_0x42d455(0xc0)](),this[_0x42d455(0xcf)]['updateMatrixWorld'](!![]);}[_0x461e09(0xfb)](_0x414fb7){const _0x534ebc=_0x461e09;if(!this[_0x534ebc(0xcf)])throw Error(_0x534ebc(0xc2));if(!_0x414fb7[_0x534ebc(0xd3)])throw Error(_0x534ebc(0xb5));this[_0x534ebc(0xcf)][_0x534ebc(0xf7)](_0x414fb7['threeObject']);}[_0x461e09(0xba)](){const _0x446b33=_0x461e09;this['parentComponent']&&this[_0x446b33(0xe3)]['removeChildComponent'](this);}[_0x461e09(0xb6)](){this['parentActor']&&(this['parentActor']=null);}[_0x461e09(0xb3)](){const _0x1e9345=_0x461e09;var _0x4021c3;if(!this[_0x1e9345(0xcf)])return;let _0x4ef1f0=[];for(let _0x4e97e7=0x0;_0x4e97e7<this[_0x1e9345(0xcf)][_0x1e9345(0xb1)]['length'];++_0x4e97e7){let _0x1d81fb=(_0x4021c3=this['obj'][_0x1e9345(0xb1)][_0x4e97e7][_0x1e9345(0xe0)])===null||_0x4021c3===void 0?void 0:_0x4021c3[_0x1e9345(0xea)];_0x1d81fb&&_0x4ef1f0[_0x1e9345(0x10b)](_0x1d81fb);}_0x4ef1f0[_0x1e9345(0xa0)](_0x3c65f6=>{_0x3c65f6['destroy']();}),_0x4ef1f0=[];}set[_0x461e09(0xa4)](_0x265b97){const _0x2468e1=_0x461e09;this[_0x2468e1(0xc3)]=_0x265b97;let _0x438d78=this[_0x2468e1(0xdf)];for(let _0x9c4501=0x0;_0x9c4501<_0x438d78[_0x2468e1(0xeb)];++_0x9c4501){_0x438d78[_0x9c4501][_0x2468e1(0xa4)]=this[_0x2468e1(0xc3)];}}get['isHoverEnabled'](){return this['bCanHover'];}set[_0x461e09(0xd8)](_0x58948b){const _0x4b81f6=_0x461e09;this['bCanClick']=_0x58948b;let _0x11b79c=this[_0x4b81f6(0xdf)];for(let _0x4be27e=0x0;_0x4be27e<_0x11b79c[_0x4b81f6(0xeb)];++_0x4be27e){_0x11b79c[_0x4be27e]['isClickEnabled']=this['bCanClick'];}}get['isClickEnabled'](){const _0x185e04=_0x461e09;return this[_0x185e04(0x109)];}[_0x461e09(0xd4)](){const _0x244225=_0x461e09;this[_0x244225(0x108)][_0x244225(0xbc)]();}[_0x461e09(0xe7)](){const _0xacc8e9=_0x461e09;this['_onHoverEndDelegate'][_0xacc8e9(0xbc)]();}[_0x461e09(0xde)](){const _0x3756c3=_0x461e09;this[_0x3756c3(0x9e)][_0x3756c3(0xbc)]();}[_0x461e09(0xa8)](){this['_onDoubleClickDelegate']['broadcast']();}}
|
|
41
41
|
|
|
42
|
-
const
|
|
42
|
+
function _0xa1a1(){const _0x1f56d9=['getValue','6466JZBNeD','obj','geometryPtr','release','135630hLDiaZ','_geometryPtr','_materialPtr','addMaterialAsset','assetManager','push','removeFromParent','153824AJannB','geometry','getBounds','87QVVORM','getBoundsTopCenterPosition','geometryPtr\x20is\x20null','destroyObject','getCenter','16856541EJrGkq','addGeometryAsset','isArray','createDefaultObject','length','material','castShadow','7979776mkFfHD','forEach','124505aPieac','min','app','10wYnGmh','materialPtr','threeObject\x20is\x20null','getBoundsCenterPosition','max','userData','threeObject','8sitzvn','receiveShadow','5588724xbUBaX'];_0xa1a1=function(){return _0x1f56d9;};return _0xa1a1();}const _0xa64465=_0x4add;(function(_0x3119c0,_0x963ed7){const _0x5bc5eb=_0x4add,_0x454122=_0x3119c0();while(!![]){try{const _0x10d035=-parseInt(_0x5bc5eb(0x148))/0x1+-parseInt(_0x5bc5eb(0x144))/0x2+-parseInt(_0x5bc5eb(0x128))/0x3*(-parseInt(_0x5bc5eb(0x125))/0x4)+parseInt(_0x5bc5eb(0x136))/0x5+-parseInt(_0x5bc5eb(0x142))/0x6+parseInt(_0x5bc5eb(0x134))/0x7*(-parseInt(_0x5bc5eb(0x140))/0x8)+parseInt(_0x5bc5eb(0x12d))/0x9*(parseInt(_0x5bc5eb(0x139))/0xa);if(_0x10d035===_0x963ed7)break;else _0x454122['push'](_0x454122['shift']());}catch(_0x2af851){_0x454122['push'](_0x454122['shift']());}}}(_0xa1a1,0xc3fe5));function _0x4add(_0x235f6e,_0x596200){_0x235f6e=_0x235f6e-0x124;const _0xa1a1cf=_0xa1a1();let _0x4add88=_0xa1a1cf[_0x235f6e];return _0x4add88;}class MeshComponent extends SceneComponent{get[_0xa64465(0x13f)](){const _0x468788=_0xa64465;if(!this[_0x468788(0x145)])throw new Error(_0x468788(0x13b));return this[_0x468788(0x145)];}set[_0xa64465(0x13f)](_0x278645){const _0x420b52=_0xa64465;this['obj']=_0x278645,this[_0x420b52(0x145)]&&(this[_0x420b52(0x145)][_0x420b52(0x13e)]['LYObject']=this);}get[_0xa64465(0x126)](){const _0x560f2d=_0xa64465;if(!this[_0x560f2d(0x149)])throw new Error(_0x560f2d(0x12a));return this['_geometryPtr'][_0x560f2d(0x143)]();}set['geometry'](_0x27a308){const _0x4f0d6a=_0xa64465;let _0x9dae27=this['app'][_0x4f0d6a(0x14c)][_0x4f0d6a(0x12e)](_0x27a308);this[_0x4f0d6a(0x146)]=_0x9dae27;}get[_0xa64465(0x146)](){const _0x8ec97d=_0xa64465;if(!this[_0x8ec97d(0x149)])throw new Error(_0x8ec97d(0x12a));return this[_0x8ec97d(0x149)];}set[_0xa64465(0x146)](_0x11ab38){const _0xda8bb4=_0xa64465;this['_geometryPtr']&&(this['_geometryPtr'][_0xda8bb4(0x147)](),this[_0xda8bb4(0x149)]=null);this['_geometryPtr']=_0x11ab38;let _0x2280a9=_0x11ab38['getValue']();this['threeObject']&&_0x2280a9&&(this['threeObject'][_0xda8bb4(0x126)]=_0x2280a9);}get['material'](){const _0x2936b9=_0xa64465;let _0xa4ee77=[];return this[_0x2936b9(0x14a)]['forEach'](_0x36f0cd=>{const _0xed3c01=_0x2936b9;let _0x135a02=_0x36f0cd['getValue']();if(_0x135a02)_0xa4ee77[_0xed3c01(0x14d)](_0x135a02);}),_0xa4ee77[_0x2936b9(0x131)]>0x1?_0xa4ee77:_0xa4ee77[0x0];}get[_0xa64465(0x13a)](){const _0x32c175=_0xa64465;return this[_0x32c175(0x13a)];}set[_0xa64465(0x132)](_0x2999a5){const _0xa00873=_0xa64465;let _0xc10169=Array[_0xa00873(0x12f)](_0x2999a5)?_0x2999a5:[_0x2999a5],_0x1f7336=[];_0xc10169['forEach'](_0x5513a1=>{const _0x2d4e7b=_0xa00873;let _0xaf4d07=this[_0x2d4e7b(0x138)][_0x2d4e7b(0x14c)][_0x2d4e7b(0x14b)](_0x5513a1);if(_0xaf4d07)_0x1f7336[_0x2d4e7b(0x14d)](_0xaf4d07);}),this[_0xa00873(0x13a)]=_0x1f7336;}set[_0xa64465(0x13a)](_0x40fad0){const _0x5d58d5=_0xa64465;this[_0x5d58d5(0x14a)]&&(this[_0x5d58d5(0x14a)]['forEach'](_0x22b5ee=>{_0x22b5ee['release']();}),this[_0x5d58d5(0x14a)]=[]);let _0x6ec17b=Array[_0x5d58d5(0x12f)](_0x40fad0)?_0x40fad0:[_0x40fad0],_0x3a6be9=[];_0x6ec17b['forEach'](_0x358a6c=>{const _0x4f021b=_0x5d58d5;let _0x5282ab=_0x358a6c[_0x4f021b(0x143)]();if(_0x5282ab)_0x3a6be9['push'](_0x5282ab);_0x358a6c['addRef']();});if(this[_0x5d58d5(0x13f)]){if(_0x3a6be9[_0x5d58d5(0x131)]>0x0)this[_0x5d58d5(0x13f)][_0x5d58d5(0x132)]=Array['isArray'](_0x40fad0)?_0x3a6be9[0x0]:_0x3a6be9;}this[_0x5d58d5(0x14a)]=_0x6ec17b;}constructor(_0x1b794b,_0x47c912,_0x509b3d,_0x16af7c){const _0x3d878f=_0xa64465;let _0x159192=[],_0x29ed0a=Array[_0x3d878f(0x12f)](_0x509b3d)?_0x509b3d:[_0x509b3d];_0x29ed0a[_0x3d878f(0x135)](_0x7c17b8=>{const _0x2c4604=_0x3d878f;let _0x588785=_0x1b794b[_0x2c4604(0x14c)][_0x2c4604(0x14b)](_0x7c17b8);if(_0x588785)_0x159192['push'](_0x588785);}),super(_0x1b794b,_0x16af7c),this[_0x3d878f(0x149)]=_0x1b794b[_0x3d878f(0x14c)][_0x3d878f(0x12e)](_0x47c912),this[_0x3d878f(0x14a)]=_0x159192,_0x159192[_0x3d878f(0x135)](_0x511948=>{_0x511948['addRef']();}),this[_0x3d878f(0x13f)][_0x3d878f(0x132)]=_0x509b3d,this['threeObject'][_0x3d878f(0x126)]=_0x47c912,this[_0x3d878f(0x133)]=!![],this[_0x3d878f(0x141)]=!![];}[_0xa64465(0x130)](){return new webgpu.Mesh();}set[_0xa64465(0x133)](_0x2b94b2){const _0x2d2d61=_0xa64465;if(this[_0x2d2d61(0x13f)])this[_0x2d2d61(0x13f)][_0x2d2d61(0x133)]=_0x2b94b2;}get[_0xa64465(0x133)](){const _0x3257a2=_0xa64465;return this['threeObject']?this['threeObject'][_0x3257a2(0x133)]:![];}set['receiveShadow'](_0x163236){const _0x41d343=_0xa64465;if(!this[_0x41d343(0x13f)])return;this['threeObject'][_0x41d343(0x141)]=_0x163236;}get[_0xa64465(0x141)](){const _0x84a33b=_0xa64465;return this[_0x84a33b(0x13f)]?this[_0x84a33b(0x13f)]['receiveShadow']:![];}[_0xa64465(0x13c)](){const _0x4e9dc3=_0xa64465;let _0x7c5e1a=new webgpu.Vector3();return this[_0x4e9dc3(0x127)]()[_0x4e9dc3(0x12c)](_0x7c5e1a),_0x7c5e1a;}[_0xa64465(0x129)](){const _0x43d38f=_0xa64465;let _0x5730b1=new webgpu.Vector3(),_0x530583=this['getBounds']();return _0x530583[_0x43d38f(0x12c)](_0x5730b1),_0x5730b1['y']=_0x530583[_0x43d38f(0x13d)]['y'],_0x5730b1;}['getBoundsBottomCenterPosition'](){const _0x12c7c7=_0xa64465;let _0x5b19ba=new webgpu.Vector3(),_0x49a65a=this[_0x12c7c7(0x127)]();return _0x49a65a[_0x12c7c7(0x12c)](_0x5b19ba),_0x5b19ba['y']=_0x49a65a[_0x12c7c7(0x137)]['y'],_0x5b19ba;}[_0xa64465(0x12b)](){const _0xdf4f5f=_0xa64465;var _0x344501;this[_0xdf4f5f(0x13f)]&&this[_0xdf4f5f(0x13f)][_0xdf4f5f(0x124)]();(_0x344501=this[_0xdf4f5f(0x149)])===null||_0x344501===void 0?void 0:_0x344501['release']();let _0x407019=Array[_0xdf4f5f(0x12f)](this[_0xdf4f5f(0x14a)])?this[_0xdf4f5f(0x14a)]:[this[_0xdf4f5f(0x14a)]];_0x407019[_0xdf4f5f(0x135)](_0x38b7fb=>{const _0x52b518=_0xdf4f5f;_0x38b7fb[_0x52b518(0x147)]();}),super[_0xdf4f5f(0x12b)]();}}
|
|
43
43
|
|
|
44
|
-
const
|
|
44
|
+
const _0x27f5c2=_0x3a15;(function(_0x395924,_0xc9e9be){const _0x57100a=_0x3a15,_0x5904f2=_0x395924();while(!![]){try{const _0x627fca=parseInt(_0x57100a(0x106))/0x1*(-parseInt(_0x57100a(0x10a))/0x2)+-parseInt(_0x57100a(0x114))/0x3*(parseInt(_0x57100a(0x11d))/0x4)+-parseInt(_0x57100a(0x11c))/0x5*(parseInt(_0x57100a(0x12a))/0x6)+parseInt(_0x57100a(0x10d))/0x7+parseInt(_0x57100a(0x122))/0x8*(parseInt(_0x57100a(0x10e))/0x9)+parseInt(_0x57100a(0x112))/0xa*(-parseInt(_0x57100a(0x11a))/0xb)+parseInt(_0x57100a(0x109))/0xc;if(_0x627fca===_0xc9e9be)break;else _0x5904f2['push'](_0x5904f2['shift']());}catch(_0x1deb10){_0x5904f2['push'](_0x5904f2['shift']());}}}(_0x1655,0x2b66e));function _0x1655(){const _0x24ca2d=['5966580nuYxCj','4DxNjrd','destroyObject','_geometryPtr','1055138KnqiLb','9NYaOgp','receiveShadow','updateMatrices','min','124070bEQleq','release','3VQzfGs','needsUpdate','dispose','threeObject','obj','removeFromParent','231kfjBJy','isArray','390BKLwOi','130532iNksfL','geometry','assetManager','createDefaultObject','count','1510472NDhmyS','length','forEach','getValue','getMatrixAt','push','material','castShadow','24276uqAaZA','addRef','_materialPtr','instanceMatrix','25108owdbhh','addGeometryAsset','setMatrixAt'];_0x1655=function(){return _0x24ca2d;};return _0x1655();}function _0x3a15(_0x13b5d5,_0x36c98b){_0x13b5d5=_0x13b5d5-0x104;const _0x16550c=_0x1655();let _0x3a15a4=_0x16550c[_0x13b5d5];return _0x3a15a4;}class InstanceMeshComponent extends SceneComponent{get[_0x27f5c2(0x117)](){const _0x3b239d=_0x27f5c2;if(!this[_0x3b239d(0x118)])throw new Error('InstanceMeshComponent:\x20threeObject\x20is\x20null');return this[_0x3b239d(0x118)];}set[_0x27f5c2(0x117)](_0x14510f){const _0x46ec1f=_0x27f5c2;this[_0x46ec1f(0x118)]=_0x14510f,this[_0x46ec1f(0x118)]&&(this['obj']['userData']['LYObject']=this);}get[_0x27f5c2(0x11e)](){const _0x4f2493=_0x27f5c2;var _0x44d3e3,_0x1c1d14;return (_0x1c1d14=(_0x44d3e3=this[_0x4f2493(0x10c)])===null||_0x44d3e3===void 0?void 0:_0x44d3e3[_0x4f2493(0x125)]())!==null&&_0x1c1d14!==void 0?_0x1c1d14:null;}get['material'](){const _0x562d88=_0x27f5c2,_0x2877e6=[];return this[_0x562d88(0x104)]['forEach'](_0x4b3db1=>{const _0x34d2e4=_0x562d88,_0x53dbc1=_0x4b3db1['getValue']();if(_0x53dbc1)_0x2877e6[_0x34d2e4(0x127)](_0x53dbc1);}),_0x2877e6['length']>0x1?_0x2877e6:_0x2877e6[0x0];}get[_0x27f5c2(0x121)](){const _0x4a7706=_0x27f5c2;return this[_0x4a7706(0x117)][_0x4a7706(0x121)];}set[_0x27f5c2(0x121)](_0xc1584f){const _0x45db26=_0x27f5c2;this[_0x45db26(0x117)][_0x45db26(0x121)]=_0xc1584f;}set[_0x27f5c2(0x129)](_0x21df19){const _0x3dba88=_0x27f5c2;if(this[_0x3dba88(0x117)])this[_0x3dba88(0x117)][_0x3dba88(0x129)]=_0x21df19;}get[_0x27f5c2(0x129)](){const _0x25afc1=_0x27f5c2;return this[_0x25afc1(0x117)]?this[_0x25afc1(0x117)][_0x25afc1(0x129)]:![];}set[_0x27f5c2(0x10f)](_0xd5882a){const _0x31f7c0=_0x27f5c2;if(!this[_0x31f7c0(0x117)])return;this['threeObject'][_0x31f7c0(0x10f)]=_0xd5882a;}get['receiveShadow'](){const _0x28f92c=_0x27f5c2;return this['threeObject']?this[_0x28f92c(0x117)]['receiveShadow']:![];}constructor(_0x247f69,_0x30d5dc,_0x1c1553){const _0x1f9d34=_0x27f5c2;super(_0x247f69,_0x1c1553),this['_geometryPtr']=null,this[_0x1f9d34(0x104)]=[];_0x30d5dc['geometry']&&(this[_0x1f9d34(0x10c)]=_0x247f69[_0x1f9d34(0x11f)][_0x1f9d34(0x107)](_0x30d5dc['geometry']));const _0x75a55f=Array[_0x1f9d34(0x11b)](_0x30d5dc[_0x1f9d34(0x128)])?_0x30d5dc[_0x1f9d34(0x128)]:[_0x30d5dc[_0x1f9d34(0x128)]];_0x75a55f[_0x1f9d34(0x124)](_0x162fb3=>{const _0x236100=_0x1f9d34,_0x280b60=_0x247f69['assetManager']['addMaterialAsset'](_0x162fb3);_0x280b60&&(_0x280b60[_0x236100(0x12b)](),this[_0x236100(0x104)][_0x236100(0x127)](_0x280b60));}),this[_0x1f9d34(0x117)]=_0x30d5dc,this[_0x1f9d34(0x129)]=!![],this['receiveShadow']=!![];}[_0x27f5c2(0x120)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}[_0x27f5c2(0x126)](_0x497048,_0x4a40b2){const _0x3e6c5e=_0x27f5c2;this[_0x3e6c5e(0x117)][_0x3e6c5e(0x126)](_0x497048,_0x4a40b2);}['setMatrixAt'](_0x2cfaf7,_0x19b098){const _0x2fcce6=_0x27f5c2;this[_0x2fcce6(0x117)][_0x2fcce6(0x108)](_0x2cfaf7,_0x19b098),this[_0x2fcce6(0x117)][_0x2fcce6(0x105)][_0x2fcce6(0x115)]=!![];}[_0x27f5c2(0x110)](_0x298176){const _0x5efdb2=_0x27f5c2,_0x120b4b=Math[_0x5efdb2(0x111)](_0x298176[_0x5efdb2(0x123)],this[_0x5efdb2(0x117)][_0x5efdb2(0x121)]);for(let _0x2dab57=0x0;_0x2dab57<_0x120b4b;_0x2dab57++){this['threeObject'][_0x5efdb2(0x108)](_0x2dab57,_0x298176[_0x2dab57]);}this[_0x5efdb2(0x117)][_0x5efdb2(0x105)]['needsUpdate']=!![];}[_0x27f5c2(0x10b)](){const _0x580ff6=_0x27f5c2;var _0x35bf8b;this[_0x580ff6(0x117)]&&(this[_0x580ff6(0x117)][_0x580ff6(0x119)](),this[_0x580ff6(0x117)][_0x580ff6(0x116)]()),(_0x35bf8b=this[_0x580ff6(0x10c)])===null||_0x35bf8b===void 0?void 0:_0x35bf8b[_0x580ff6(0x113)](),this[_0x580ff6(0x10c)]=null,this['_materialPtr'][_0x580ff6(0x124)](_0x320c5a=>{_0x320c5a['release']();}),this['_materialPtr']=[],super['destroyObject']();}}
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
function _0x2c9a(){var _0x3185f6=['getValue','referenceCount','3584185ZdgktB','175545ifwUWC','355302TRFTfT','614991NjMjYV','636150QnHsFC','4mTludF','forceRelease','getRefCount','isValid','value','1101704cWoKyG','5892296gpjGgI','7FRyrvD'];_0x2c9a=function(){return _0x3185f6;};return _0x2c9a();}function _0x162a(_0x556e0f,_0x56f96e){_0x556e0f=_0x556e0f-0x68;var _0x2c9a9f=_0x2c9a();var _0x162ae9=_0x2c9a9f[_0x556e0f];return _0x162ae9;}var _0x18dabf=_0x162a;(function(_0x3d7c22,_0x1454a3){var _0x1ca104=_0x162a,_0x351e2f=_0x3d7c22();while(!![]){try{var _0x1ae5ed=-parseInt(_0x1ca104(0x73))/0x1+-parseInt(_0x1ca104(0x6b))/0x2+-parseInt(_0x1ca104(0x72))/0x3*(-parseInt(_0x1ca104(0x75))/0x4)+parseInt(_0x1ca104(0x70))/0x5+parseInt(_0x1ca104(0x74))/0x6+parseInt(_0x1ca104(0x6d))/0x7*(parseInt(_0x1ca104(0x6c))/0x8)+-parseInt(_0x1ca104(0x71))/0x9;if(_0x1ae5ed===_0x1454a3)break;else _0x351e2f['push'](_0x351e2f['shift']());}catch(_0x177f2a){_0x351e2f['push'](_0x351e2f['shift']());}}}(_0x2c9a,0x783c5));class TSmartPointer{constructor(_0x54ed0d,_0x1469bc=0x1){var _0x4d239e=_0x162a;this[_0x4d239e(0x6f)]=0x1,this[_0x4d239e(0x6a)]=null,this[_0x4d239e(0x6a)]=_0x54ed0d,this[_0x4d239e(0x6f)]=_0x1469bc;}[_0x18dabf(0x68)](){var _0x287722=_0x18dabf;return this[_0x287722(0x6f)];}[_0x18dabf(0x69)](){var _0x229dc9=_0x18dabf;return this[_0x229dc9(0x6a)]!==null;}['addRef'](_0x472849=0x1){var _0x84966a=_0x18dabf;this['value']!==null&&(this[_0x84966a(0x6f)]+=_0x472849);}['release'](){var _0x5ef69d=_0x18dabf;this[_0x5ef69d(0x6a)]!==null&&this['referenceCount']>0x0&&(this[_0x5ef69d(0x6f)]--,this['referenceCount']===0x0&&this['dispose']());}[_0x18dabf(0x76)](){var _0x444e6b=_0x18dabf;this['value']!==null&&(this['dispose'](),this[_0x444e6b(0x6f)]=0x0);}['dispose'](){var _0x25f333=_0x18dabf;this[_0x25f333(0x6a)]=null;}[_0x18dabf(0x6e)](){var _0xe3cd67=_0x18dabf;return this[_0xe3cd67(0x6a)];}}
|
|
47
47
|
|
|
48
|
-
const
|
|
48
|
+
const _0x106863=_0x5137;(function(_0x1ceaa1,_0x14220d){const _0x327c6a=_0x5137,_0xac7571=_0x1ceaa1();while(!![]){try{const _0x312ecb=parseInt(_0x327c6a(0x1f5))/0x1*(parseInt(_0x327c6a(0x1ea))/0x2)+-parseInt(_0x327c6a(0x1f3))/0x3+-parseInt(_0x327c6a(0x1f2))/0x4+parseInt(_0x327c6a(0x1e7))/0x5+parseInt(_0x327c6a(0x1f6))/0x6+-parseInt(_0x327c6a(0x1f4))/0x7*(parseInt(_0x327c6a(0x1ed))/0x8)+parseInt(_0x327c6a(0x1e9))/0x9;if(_0x312ecb===_0x14220d)break;else _0xac7571['push'](_0xac7571['shift']());}catch(_0x19737c){_0xac7571['push'](_0xac7571['shift']());}}}(_0x538b,0xc46db));function _0x5137(_0x2cfbb8,_0x2a2d91){_0x2cfbb8=_0x2cfbb8-0x1e7;const _0x538b66=_0x538b();let _0x513758=_0x538b66[_0x2cfbb8];return _0x513758;}const ASSET_POINTER_KEY=_0x106863(0x1ee);const EDITOR_ASSET_ID_KEY=_0x106863(0x1ec);function _0x538b(){const _0x57a492=['68636awMshr','dispose','editorAssetId','8CNpBER','assetPointer','value','function','uuid','2631364GedPSg','4787214ZWkymM','8095087xxnEZT','44jdVMrO','662832NgXpfv','userData','940315jLEzFy','_uuid','21654576MzXWzx'];_0x538b=function(){return _0x57a492;};return _0x538b();}class TAssetPointer extends TSmartPointer{get['uuid'](){const _0x52a831=_0x106863;return this[_0x52a831(0x1e8)];}constructor(_0x19795c,_0x503b2e=0x0){const _0x3ba076=_0x106863;super(_0x19795c,_0x503b2e),this[_0x3ba076(0x1e8)]=_0x19795c[_0x3ba076(0x1f1)],_0x19795c[_0x3ba076(0x1f7)][ASSET_POINTER_KEY]=this;}['dispose'](){const _0x59ef8f=_0x106863;this[_0x59ef8f(0x1ef)]&&(this['value'][_0x59ef8f(0x1f7)]&&(delete this[_0x59ef8f(0x1ef)]['userData'][ASSET_POINTER_KEY],delete this[_0x59ef8f(0x1ef)]['userData'][EDITOR_ASSET_ID_KEY]),typeof this['value'][_0x59ef8f(0x1eb)]===_0x59ef8f(0x1f0)&&this[_0x59ef8f(0x1ef)][_0x59ef8f(0x1eb)]()),super['dispose']();}}
|
|
49
49
|
|
|
50
|
-
function
|
|
50
|
+
const _0x5ad173=_0x21b2;function _0x7d58(){const _0x1db83f=['textures','addRef','Material\x20is\x20null','19215gMoaEU','dispose','values','373718xGoWth','2380cZDquz','455450LdlaPV','458619kXBKKX','get','release','removeTexture','texturePointers','set','1377036znoRsb','36348djJQKL','8cbooyg','8oqmCQd','clear','1698qtJesM','needsUpdate','delete','getValue'];_0x7d58=function(){return _0x1db83f;};return _0x7d58();}function _0x21b2(_0x2e1f90,_0x3749d6){_0x2e1f90=_0x2e1f90-0x8c;const _0x7d5817=_0x7d58();let _0x21b2e1=_0x7d5817[_0x2e1f90];return _0x21b2e1;}(function(_0x3af27f,_0x3a2c6f){const _0x4e7274=_0x21b2,_0xb4ac23=_0x3af27f();while(!![]){try{const _0x3df25f=parseInt(_0x4e7274(0x8f))/0x1+-parseInt(_0x4e7274(0x99))/0x2+-parseInt(_0x4e7274(0x9d))/0x3+-parseInt(_0x4e7274(0x9a))/0x4*(-parseInt(_0x4e7274(0x91))/0x5)+parseInt(_0x4e7274(0x98))/0x6+parseInt(_0x4e7274(0x92))/0x7*(-parseInt(_0x4e7274(0x9b))/0x8)+parseInt(_0x4e7274(0x8c))/0x9*(-parseInt(_0x4e7274(0x90))/0xa);if(_0x3df25f===_0x3a2c6f)break;else _0xb4ac23['push'](_0xb4ac23['shift']());}catch(_0x347bea){_0xb4ac23['push'](_0xb4ac23['shift']());}}}(_0x7d58,0x2f1f9));class MaterialAssetPointer extends TAssetPointer{constructor(_0x96c61e,_0x3b5ab7,_0x3724c1=0x0){const _0x11e5b2=_0x21b2;super(_0x96c61e,_0x3724c1),this[_0x11e5b2(0xa1)]=_0x3b5ab7;}get[_0x5ad173(0x96)](){return this['textures'];}['setTexture'](_0x459144,_0x35b84c){const _0x65435d=_0x5ad173,_0x288b6c=this[_0x65435d(0xa0)](),_0x234081=_0x35b84c[_0x65435d(0xa0)]();if(!_0x234081)throw new Error('Texture\x20is\x20null');if(!_0x288b6c)throw new Error(_0x65435d(0xa3));const _0x47aeb6=this[_0x65435d(0xa1)]['get'](_0x459144);_0x47aeb6!==_0x35b84c&&(_0x47aeb6&&_0x47aeb6[_0x65435d(0x94)](),this['textures'][_0x65435d(0x97)](_0x459144,_0x35b84c),_0x288b6c[_0x459144]=_0x234081,_0x35b84c[_0x65435d(0xa2)](),_0x288b6c[_0x65435d(0x9e)]=!![]);}[_0x5ad173(0x95)](_0x37123f){const _0x1e2b9f=_0x5ad173,_0x5c1004=this[_0x1e2b9f(0xa0)](),_0x5e9005=this[_0x1e2b9f(0xa1)][_0x1e2b9f(0x93)](_0x37123f);_0x5e9005&&(_0x5e9005[_0x1e2b9f(0x94)](),this[_0x1e2b9f(0xa1)][_0x1e2b9f(0x9f)](_0x37123f),_0x5c1004&&(_0x5c1004[_0x37123f]=null,_0x5c1004[_0x1e2b9f(0x9e)]=!![]));}[_0x5ad173(0x8d)](){const _0x1a5259=_0x5ad173;for(const _0x46610a of this[_0x1a5259(0xa1)][_0x1a5259(0x8e)]()){_0x46610a[_0x1a5259(0x94)]();}this['textures'][_0x1a5259(0x9c)](),super[_0x1a5259(0x8d)]();}}
|
|
51
51
|
|
|
52
|
-
(function(
|
|
52
|
+
(function(_0x4e84b4,_0x13c1ca){var _0x3983dc=_0x395c,_0x51569d=_0x4e84b4();while(!![]){try{var _0x378e0a=parseInt(_0x3983dc(0x94))/0x1*(parseInt(_0x3983dc(0x91))/0x2)+-parseInt(_0x3983dc(0x99))/0x3*(-parseInt(_0x3983dc(0x97))/0x4)+parseInt(_0x3983dc(0x98))/0x5*(-parseInt(_0x3983dc(0x9a))/0x6)+parseInt(_0x3983dc(0x90))/0x7*(parseInt(_0x3983dc(0x96))/0x8)+parseInt(_0x3983dc(0x95))/0x9+parseInt(_0x3983dc(0x93))/0xa+-parseInt(_0x3983dc(0x92))/0xb;if(_0x378e0a===_0x13c1ca)break;else _0x51569d['push'](_0x51569d['shift']());}catch(_0x5f3576){_0x51569d['push'](_0x51569d['shift']());}}}(_0x5423,0xbe53c));function _0x5423(){var _0x3d5453=['2009FIjiHK','86PouQFb','19570364tPzoGm','5409070tIgGsn','13058wggrbB','3546144XPtMfF','8872HakDvR','208980YmcIoD','982030XtNhdZ','54PETkOm','6sbMwMt'];_0x5423=function(){return _0x3d5453;};return _0x5423();}function _0x395c(_0x28c8e9,_0x40c796){_0x28c8e9=_0x28c8e9-0x90;var _0x542368=_0x5423();var _0x395c9b=_0x542368[_0x28c8e9];return _0x395c9b;}class TextureAssetPointer extends TAssetPointer{constructor(_0x242434,_0x3be17c=0x1){super(_0x242434,_0x3be17c);}}
|
|
53
53
|
|
|
54
|
-
(function(
|
|
54
|
+
function _0x5c9e(){var _0x260916=['6mYRIaN','101uHiaDd','4976XmoiCe','1314837SzQrMs','8PdqDpt','11toknUt','621340bwVTxk','2311008xHVixQ','271308aBAAXw','852015IONZoi','178087wRxJIW','3APkuOj'];_0x5c9e=function(){return _0x260916;};return _0x5c9e();}(function(_0x2332d0,_0x26472a){var _0x225182=_0xf33b,_0x491e1e=_0x2332d0();while(!![]){try{var _0x3bc755=parseInt(_0x225182(0x1b6))/0x1*(parseInt(_0x225182(0x1b7))/0x2)+parseInt(_0x225182(0x1b4))/0x3*(-parseInt(_0x225182(0x1bd))/0x4)+parseInt(_0x225182(0x1be))/0x5*(-parseInt(_0x225182(0x1b5))/0x6)+parseInt(_0x225182(0x1bf))/0x7+parseInt(_0x225182(0x1b9))/0x8*(-parseInt(_0x225182(0x1b8))/0x9)+parseInt(_0x225182(0x1bb))/0xa+parseInt(_0x225182(0x1ba))/0xb*(parseInt(_0x225182(0x1bc))/0xc);if(_0x3bc755===_0x26472a)break;else _0x491e1e['push'](_0x491e1e['shift']());}catch(_0x3fb622){_0x491e1e['push'](_0x491e1e['shift']());}}}(_0x5c9e,0x23eb4));function _0xf33b(_0x1cc41d,_0x464ff5){_0x1cc41d=_0x1cc41d-0x1b4;var _0x5c9e64=_0x5c9e();var _0xf33b8e=_0x5c9e64[_0x1cc41d];return _0xf33b8e;}class GeometryAssetPointer extends TAssetPointer{constructor(_0x4ada01,_0x2ab9d0=0x1){super(_0x4ada01,_0x2ab9d0);}}
|
|
55
55
|
|
|
56
|
-
const _0x42f5e8=_0x4c06;(function(_0xe34133,_0x3b2079){const _0xca3e55=_0x4c06,_0xe88f80=_0xe34133();while(!![]){try{const _0x1e36e6=-parseInt(_0xca3e55(0x81))/0x1*(-parseInt(_0xca3e55(0x87))/0x2)+-parseInt(_0xca3e55(0x97))/0x3+parseInt(_0xca3e55(0xaf))/0x4+parseInt(_0xca3e55(0x85))/0x5+parseInt(_0xca3e55(0xc9))/0x6*(-parseInt(_0xca3e55(0xc0))/0x7)+parseInt(_0xca3e55(0x91))/0x8*(-parseInt(_0xca3e55(0xb4))/0x9)+parseInt(_0xca3e55(0x9f))/0xa;if(_0x1e36e6===_0x3b2079)break;else _0xe88f80['push'](_0xe88f80['shift']());}catch(_0x16b900){_0xe88f80['push'](_0xe88f80['shift']());}}}(_0x41bb,0xbe713));function _0x4c06(_0x4070ab,_0x384380){_0x4070ab=_0x4070ab-0x80;const _0x41bb03=_0x41bb();let _0x4c06bb=_0x41bb03[_0x4070ab];return _0x4c06bb;}class AssetManager{constructor(_0xdba252,_0x58f9e3){const _0x481363=_0x4c06;this[_0x481363(0x89)]=new Map(),this['textureAssets']=new Map(),this[_0x481363(0xaa)]=new Map(),this['loadingManager']=new webgpu.LoadingManager(),this[_0x481363(0xbb)]=new Addons_js.GLTFLoader(this['loadingManager']),this[_0x481363(0x8f)]=_0xdba252,this[_0x481363(0xc5)]=_0x58f9e3;}get[_0x42f5e8(0xb2)](){const _0x17901c=_0x42f5e8;return this[_0x17901c(0xa7)];}get[_0x42f5e8(0x82)](){const _0x55346f=_0x42f5e8;return AssetManager[_0x55346f(0xb5)];}async[_0x42f5e8(0x9d)](){return;}[_0x42f5e8(0x98)](){const _0x4ce76a=_0x42f5e8;if(!AssetManager['_dracoLoader']){AssetManager['_dracoLoader']=new Addons_js.DRACOLoader();if(AssetManager[_0x4ce76a(0xc8)][_0x4ce76a(0xc2)]){const _0x3569e2=AssetManager['_dracoLoader'][_0x4ce76a(0xc2)];_0x3569e2[_0x4ce76a(0xac)]=undefined,_0x3569e2[_0x4ce76a(0xc6)]=undefined,_0x3569e2[_0x4ce76a(0xa4)]=undefined,_0x3569e2['onError']=undefined;}AssetManager['_dracoLoader']['setDecoderPath'](this[_0x4ce76a(0xc5)]),AssetManager[_0x4ce76a(0xc8)][_0x4ce76a(0x93)]();}}[_0x42f5e8(0xb6)](_0x5b6d64,_0xa7dcb4){const _0x3874cf=_0x42f5e8,_0x2af072=_0xa7dcb4[_0x3874cf(0xc1)]['clone'](),_0x5ccc8f=_0xa7dcb4['rotation']['clone'](),_0x8cad4a=_0xa7dcb4[_0x3874cf(0xb1)][_0x3874cf(0x8c)]();let _0x5815a2=null;const _0x5e3af4=_0xa7dcb4['children'];_0xa7dcb4['children']=[];if(_0xa7dcb4[_0x3874cf(0xbf)]===_0x3874cf(0x9b)||_0xa7dcb4[_0x3874cf(0xbf)]===_0x3874cf(0xc3))_0x5815a2=new SceneComponent(this[_0x3874cf(0x8f)],_0xa7dcb4['uuid']);else {if(_0xa7dcb4['isInstancedMesh']){const _0x33ad4d=_0xa7dcb4;_0x5815a2=new InstanceMeshComponent(this['app'],_0x33ad4d,_0x33ad4d[_0x3874cf(0xa3)]),_0x5815a2[_0x3874cf(0x9c)]=_0x33ad4d[_0x3874cf(0x9c)],_0xa7dcb4[_0x3874cf(0xa6)]['set'](0x0);}else {if(_0xa7dcb4[_0x3874cf(0x8a)]){const _0x5b9889=_0xa7dcb4;_0x5815a2=new MeshComponent(this[_0x3874cf(0x8f)],_0x5b9889[_0x3874cf(0xbc)],_0x5b9889[_0x3874cf(0x86)],_0x5b9889['uuid']),_0x5815a2[_0x3874cf(0x9c)]=_0x5b9889['name'],_0xa7dcb4[_0x3874cf(0xa6)][_0x3874cf(0x90)](0x0);}else _0x5815a2=new SceneComponent(this[_0x3874cf(0x8f)],_0xa7dcb4[_0x3874cf(0xa3)]);}}if(_0x5815a2===null)return _0xa7dcb4['children']=_0x5e3af4,null;_0x5b6d64[_0x3874cf(0x84)](_0x5815a2),_0x5815a2[_0x3874cf(0x83)](_0x2af072),_0x5815a2[_0x3874cf(0xab)](_0x5ccc8f),_0x5815a2[_0x3874cf(0xad)](_0x8cad4a);for(const _0x2a1902 of _0x5e3af4){this[_0x3874cf(0xb6)](_0x5815a2,_0x2a1902);}return _0x5815a2;}[_0x42f5e8(0xb3)](_0x1d1a0d){const _0x249a69=_0x42f5e8,_0x58fc38=(_0x3ff514,_0x18fe70)=>{const _0xac685b=_0x4c06;var _0x7344b2;const _0x1d4996=(_0x7344b2=_0x3ff514[_0xac685b(0x8d)](_0x18fe70))!==null&&_0x7344b2!==void 0?_0x7344b2:0x0;_0x3ff514[_0xac685b(0x90)](_0x18fe70,_0x1d4996+0x1);},_0x5cc9bb={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x1d1a0d[_0x249a69(0x8e)](_0x187d96=>{const _0x4b4b2b=_0x249a69,_0x371e01=_0x187d96;_0x371e01['geometry']instanceof webgpu.BufferGeometry&&_0x58fc38(_0x5cc9bb[_0x4b4b2b(0xbe)],_0x371e01[_0x4b4b2b(0xbc)]);if(_0x371e01['material']){const _0x1fcdfe=Array['isArray'](_0x371e01[_0x4b4b2b(0x86)])?_0x371e01[_0x4b4b2b(0x86)]:[_0x371e01[_0x4b4b2b(0x86)]];_0x1fcdfe[_0x4b4b2b(0xa0)](_0x40bee7=>{const _0x59b067=_0x4b4b2b;_0x40bee7&&(_0x58fc38(_0x5cc9bb[_0x59b067(0xb0)],_0x40bee7),Object[_0x59b067(0xc4)](_0x40bee7)[_0x59b067(0xa0)](_0x5cd55c=>{const _0x2b9015=_0x59b067;_0x5cd55c instanceof webgpu.Texture&&_0x58fc38(_0x5cc9bb[_0x2b9015(0xc7)],_0x5cd55c);}));});}}),_0x5cc9bb['geometries']['forEach']((_0x455635,_0x25b0a2)=>this[_0x249a69(0x94)](_0x25b0a2,_0x455635)),_0x5cc9bb[_0x249a69(0xb0)][_0x249a69(0xa0)]((_0x4cb5a5,_0x9bc5f6)=>this[_0x249a69(0x94)](_0x9bc5f6,_0x4cb5a5)),_0x5cc9bb[_0x249a69(0xc7)][_0x249a69(0xa0)]((_0x47c13a,_0x441d99)=>this['addAsset'](_0x441d99,_0x47c13a));}[_0x42f5e8(0xa8)](_0x2c831d){const _0x369925=_0x42f5e8;_0x2c831d[_0x369925(0xbc)]&&!_0x2c831d[_0x369925(0xbc)]['userData']['assetPointer']&&this[_0x369925(0x94)](_0x2c831d['geometry']);if(_0x2c831d[_0x369925(0x86)]){const _0x3e2932=Array[_0x369925(0x95)](_0x2c831d['material'])?_0x2c831d[_0x369925(0x86)]:[_0x2c831d[_0x369925(0x86)]];_0x3e2932[_0x369925(0xa0)](_0x5716ed=>{const _0x4767b2=_0x369925;if(!_0x5716ed)return;!_0x5716ed[_0x4767b2(0x99)][_0x4767b2(0xa1)]&&this['addAsset'](_0x5716ed),Object[_0x4767b2(0xc4)](_0x5716ed)[_0x4767b2(0xa0)](_0x1734ad=>{const _0x2a4663=_0x4767b2;_0x1734ad instanceof webgpu.Texture&&!_0x1734ad[_0x2a4663(0x99)][_0x2a4663(0xa1)]&&this[_0x2a4663(0x94)](_0x1734ad);});});}}async[_0x42f5e8(0x9a)](_0x3b0945){const _0x474fc1=_0x42f5e8;this[_0x474fc1(0x98)]();const _0x3ee48c=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x3ee48c[_0x474fc1(0xa2)](AssetManager[_0x474fc1(0xc8)]);AssetManager[_0x474fc1(0xb5)]&&_0x3ee48c[_0x474fc1(0xa5)](AssetManager[_0x474fc1(0xb5)]);try{const _0x45ead3=await _0x3ee48c['loadAsync'](_0x3b0945);return _0x45ead3;}catch(_0x3eee3a){console[_0x474fc1(0xb8)]('Failed\x20to\x20load\x20gltf',_0x3b0945,_0x3eee3a);throw _0x3eee3a;}}['loadGltfFromPath'](_0x1b4123,_0x56c12d){const _0x580620=_0x42f5e8;this[_0x580620(0x98)]();const _0x280fe1=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x580620(0xc8)]&&_0x280fe1[_0x580620(0xa2)](AssetManager[_0x580620(0xc8)]),_0x280fe1[_0x580620(0x8b)](_0x1b4123,_0x56c12d);}[_0x42f5e8(0xa9)](_0x19108e,_0x18b223,_0x26f470){const _0x566562=_0x42f5e8;this['setupDracoLoader']();const _0x54a738=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x566562(0xc8)]&&_0x54a738[_0x566562(0xa2)](AssetManager[_0x566562(0xc8)]),_0x54a738[_0x566562(0xbd)](_0x19108e,_0x18b223,_0x26f470);}[_0x42f5e8(0xb9)](_0x4bdc96='',_0x373088){const _0x14596e=new webgpu.FileLoader();_0x14596e['load'](_0x4bdc96,_0x373088);}[_0x42f5e8(0x94)](_0x52204a,_0x5de98f=0x0){const _0x38ad81=_0x42f5e8;if(_0x52204a instanceof webgpu.BufferGeometry)return this['addGeometryAsset'](_0x52204a,_0x5de98f);if(_0x52204a instanceof webgpu.Material)return this[_0x38ad81(0x92)](_0x52204a,_0x5de98f);if(_0x52204a instanceof webgpu.Texture)return this[_0x38ad81(0x88)](_0x52204a,_0x5de98f);return undefined;}['addMaterialAsset'](_0xb081e3,_0x3f5421=0x0){const _0x387af2=_0x42f5e8;let _0x36c31b=_0xb081e3[_0x387af2(0x99)][_0x387af2(0xa1)];if(!_0x36c31b){const _0x9d9306=new Map();Object['entries'](_0xb081e3)['forEach'](([_0x310289,_0x595f8d])=>{const _0x3679be=_0x387af2;if(_0x595f8d instanceof webgpu.Texture){const _0x1c27b0=this[_0x3679be(0x88)](_0x595f8d,0x1);_0x9d9306[_0x3679be(0x90)](_0x310289,_0x1c27b0);}}),_0x36c31b=new MaterialAssetPointer(_0xb081e3,_0x9d9306,_0x3f5421),this[_0x387af2(0xaa)][_0x387af2(0x90)](_0xb081e3[_0x387af2(0xa3)],_0x36c31b);}else _0x36c31b[_0x387af2(0xb7)](_0x3f5421);return _0x36c31b;}[_0x42f5e8(0x88)](_0x539487,_0x5659cf=0x0){const _0xa36e81=_0x42f5e8;let _0x56b6d1=_0x539487['userData'][_0xa36e81(0xa1)];return !_0x56b6d1?(_0x56b6d1=new TextureAssetPointer(_0x539487,_0x5659cf),this[_0xa36e81(0x96)][_0xa36e81(0x90)](_0x539487[_0xa36e81(0xa3)],_0x56b6d1)):_0x56b6d1[_0xa36e81(0xb7)](_0x5659cf),_0x56b6d1;}['addGeometryAsset'](_0x857415,_0x19b444=0x0){const _0xf244da=_0x42f5e8;let _0x2620a4=_0x857415[_0xf244da(0x99)][_0xf244da(0xa1)];return !_0x2620a4?(_0x2620a4=new GeometryAssetPointer(_0x857415,_0x19b444),this[_0xf244da(0x89)][_0xf244da(0x90)](_0x857415[_0xf244da(0xa3)],_0x2620a4)):_0x2620a4[_0xf244da(0xb7)](_0x19b444),_0x2620a4;}['releaseAsset'](_0xd85b70){const _0x582a8b=_0x42f5e8,_0x5eec88=_0xd85b70['userData']['assetPointer'];_0x5eec88?_0x5eec88[_0x582a8b(0xba)]():_0xd85b70['dispose']();}[_0x42f5e8(0x9e)](){const _0x192eef=_0x42f5e8;this[_0x192eef(0x80)](),AssetManager[_0x192eef(0xc8)]&&(AssetManager[_0x192eef(0xc8)][_0x192eef(0x9e)](),AssetManager[_0x192eef(0xc8)]=null),AssetManager[_0x192eef(0xb5)]&&(AssetManager[_0x192eef(0xb5)]['dispose'](),AssetManager[_0x192eef(0xb5)]=null);}[_0x42f5e8(0x80)](){const _0x61e920=_0x42f5e8;this[_0x61e920(0x89)]['forEach'](_0x1b4e0c=>_0x1b4e0c['forceRelease']()),this['geometryAssets'][_0x61e920(0xae)](),this['materialAssets'][_0x61e920(0xa0)](_0x330a32=>_0x330a32['forceRelease']()),this[_0x61e920(0xaa)][_0x61e920(0xae)](),this[_0x61e920(0x96)][_0x61e920(0xa0)](_0xda089a=>_0xda089a['forceRelease']()),this[_0x61e920(0x96)][_0x61e920(0xae)]();}}AssetManager['_dracoLoader']=null,AssetManager['_ktx2Loader']=null;function _0x41bb(){const _0x421734=['clone','get','traverse','app','set','24ZqUgtx','addMaterialAsset','preload','addAsset','isArray','textureAssets','1966929oyAkBq','setupDracoLoader','userData','loadGltfFromPathAsync','Group','name','init','dispose','34655120kopWhO','forEach','assetPointer','setDRACOLoader','uuid','onProgress','setKTX2Loader','layers','loadingManager','checkMeshResource','loadGltfFromBuffer','materialAssets','setRotation','onStart','setScale','clear','413624lrrtYR','materials','scale','LoadingManager','collectResourcesAndReferences','3466602lProjG','_ktx2Loader','convertThreeObjectToLYObject','addRef','error','loadFile','release','gltfLoader','geometry','parse','geometries','type','538349uGNmrR','position','manager','Object3D','values','dracoPath','onLoad','textures','_dracoLoader','114FxcBui','clearAssets','1699cizmbx','KTX2Loader','setPosition','addChildComponent','2205340tDWNQB','material','50YhNzCU','addTextureAsset','geometryAssets','isMesh','load'];_0x41bb=function(){return _0x421734;};return _0x41bb();}
|
|
56
|
+
const _0x20dcb4=_0x3a83;(function(_0x2e2ac8,_0x3761ed){const _0xa36e10=_0x3a83,_0x332d3a=_0x2e2ac8();while(!![]){try{const _0x49bbe2=parseInt(_0xa36e10(0x8f))/0x1*(-parseInt(_0xa36e10(0xbe))/0x2)+parseInt(_0xa36e10(0x92))/0x3+parseInt(_0xa36e10(0x8e))/0x4+-parseInt(_0xa36e10(0x9b))/0x5+parseInt(_0xa36e10(0x9c))/0x6+parseInt(_0xa36e10(0x85))/0x7*(parseInt(_0xa36e10(0xbc))/0x8)+-parseInt(_0xa36e10(0x90))/0x9;if(_0x49bbe2===_0x3761ed)break;else _0x332d3a['push'](_0x332d3a['shift']());}catch(_0x2aecc8){_0x332d3a['push'](_0x332d3a['shift']());}}}(_0x32ba,0xd2a40));function _0x32ba(){const _0x4f5fdb=['KTX2Loader','addTextureAsset','uuid','preload','geometry','addGeometryAsset','dispose','onError','onProgress','onStart','get','traverse','scale','collectResourcesAndReferences','checkMeshResource','Failed\x20to\x20load\x20gltf','addAsset','forEach','type','release','isArray','materials','app','children','loadGltfFromPathAsync','setPosition','geometries','loadGltfFromPath','414616tOHZuH','setupDracoLoader','482UTVdGC','textureAssets','_dracoLoader','layers','loadGltfFromBuffer','manager','setScale','loadFile','isInstancedMesh','entries','setDRACOLoader','textures','load','loadingManager','name','rotation','28zNujzU','values','clearAssets','geometryAssets','addMaterialAsset','clear','convertThreeObjectToLYObject','Group','setRotation','628888qjJPcs','5581kASDvu','2500713vZFCHq','position','4672938nmvJZI','clone','material','userData','LoadingManager','addRef','assetPointer','set','materialAssets','2138555iPaazb','5947182hEpbIX','_ktx2Loader','gltfLoader','forceRelease'];_0x32ba=function(){return _0x4f5fdb;};return _0x32ba();}function _0x3a83(_0x4dfa62,_0xbc1107){_0x4dfa62=_0x4dfa62-0x76;const _0x32ba4b=_0x32ba();let _0x3a83a4=_0x32ba4b[_0x4dfa62];return _0x3a83a4;}class AssetManager{constructor(_0x3e08e9,_0x2313f1){const _0x260810=_0x3a83;this[_0x260810(0x88)]=new Map(),this[_0x260810(0x76)]=new Map(),this[_0x260810(0x9a)]=new Map(),this[_0x260810(0x82)]=new webgpu.LoadingManager(),this[_0x260810(0x9e)]=new Addons_js.GLTFLoader(this[_0x260810(0x82)]),this['app']=_0x3e08e9,this['dracoPath']=_0x2313f1;}get[_0x20dcb4(0x96)](){const _0x4a77f9=_0x20dcb4;return this[_0x4a77f9(0x82)];}get[_0x20dcb4(0xa0)](){const _0x2859fe=_0x20dcb4;return AssetManager[_0x2859fe(0x9d)];}async['init'](){return;}['setupDracoLoader'](){const _0x3ceb94=_0x20dcb4;if(!AssetManager[_0x3ceb94(0x77)]){AssetManager['_dracoLoader']=new Addons_js.DRACOLoader();if(AssetManager[_0x3ceb94(0x77)]['manager']){const _0x27fcca=AssetManager['_dracoLoader'][_0x3ceb94(0x7a)];_0x27fcca[_0x3ceb94(0xa9)]=undefined,_0x27fcca['onLoad']=undefined,_0x27fcca[_0x3ceb94(0xa8)]=undefined,_0x27fcca[_0x3ceb94(0xa7)]=undefined;}AssetManager[_0x3ceb94(0x77)]['setDecoderPath'](this['dracoPath']),AssetManager[_0x3ceb94(0x77)][_0x3ceb94(0xa3)]();}}[_0x20dcb4(0x8b)](_0x501466,_0x198490){const _0x23f079=_0x20dcb4,_0x33dad5=_0x198490[_0x23f079(0x91)][_0x23f079(0x93)](),_0x2d7a21=_0x198490[_0x23f079(0x84)][_0x23f079(0x93)](),_0x4e1f27=_0x198490[_0x23f079(0xac)][_0x23f079(0x93)]();let _0x1e3d02=null;const _0x5ad352=_0x198490[_0x23f079(0xb7)];_0x198490[_0x23f079(0xb7)]=[];if(_0x198490['type']===_0x23f079(0x8c)||_0x198490[_0x23f079(0xb2)]==='Object3D')_0x1e3d02=new SceneComponent(this[_0x23f079(0xb6)],_0x198490['uuid']);else {if(_0x198490[_0x23f079(0x7d)]){const _0x4c0f26=_0x198490;_0x1e3d02=new InstanceMeshComponent(this['app'],_0x4c0f26,_0x4c0f26[_0x23f079(0xa2)]),_0x1e3d02[_0x23f079(0x83)]=_0x4c0f26[_0x23f079(0x83)],_0x198490['layers'][_0x23f079(0x99)](0x0);}else {if(_0x198490['isMesh']){const _0x4c269a=_0x198490;_0x1e3d02=new MeshComponent(this['app'],_0x4c269a[_0x23f079(0xa4)],_0x4c269a['material'],_0x4c269a[_0x23f079(0xa2)]),_0x1e3d02[_0x23f079(0x83)]=_0x4c269a[_0x23f079(0x83)],_0x198490[_0x23f079(0x78)]['set'](0x0);}else _0x1e3d02=new SceneComponent(this[_0x23f079(0xb6)],_0x198490[_0x23f079(0xa2)]);}}if(_0x1e3d02===null)return _0x198490[_0x23f079(0xb7)]=_0x5ad352,null;_0x501466['addChildComponent'](_0x1e3d02),_0x1e3d02[_0x23f079(0xb9)](_0x33dad5),_0x1e3d02[_0x23f079(0x8d)](_0x2d7a21),_0x1e3d02[_0x23f079(0x7b)](_0x4e1f27);for(const _0x5ae162 of _0x5ad352){this[_0x23f079(0x8b)](_0x1e3d02,_0x5ae162);}return _0x1e3d02;}[_0x20dcb4(0xad)](_0x27f4e9){const _0x195679=_0x20dcb4,_0x5ead23=(_0x4f6ae4,_0x56e609)=>{const _0x387c68=_0x3a83;var _0x3d33df;const _0x4f664d=(_0x3d33df=_0x4f6ae4[_0x387c68(0xaa)](_0x56e609))!==null&&_0x3d33df!==void 0?_0x3d33df:0x0;_0x4f6ae4['set'](_0x56e609,_0x4f664d+0x1);},_0x43265d={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x27f4e9[_0x195679(0xab)](_0x54e5cc=>{const _0x5ee4ce=_0x195679,_0x197b68=_0x54e5cc;_0x197b68[_0x5ee4ce(0xa4)]instanceof webgpu.BufferGeometry&&_0x5ead23(_0x43265d[_0x5ee4ce(0xba)],_0x197b68[_0x5ee4ce(0xa4)]);if(_0x197b68[_0x5ee4ce(0x94)]){const _0x4ceac8=Array[_0x5ee4ce(0xb4)](_0x197b68['material'])?_0x197b68[_0x5ee4ce(0x94)]:[_0x197b68[_0x5ee4ce(0x94)]];_0x4ceac8['forEach'](_0x264300=>{const _0x392773=_0x5ee4ce;_0x264300&&(_0x5ead23(_0x43265d[_0x392773(0xb5)],_0x264300),Object[_0x392773(0x86)](_0x264300)[_0x392773(0xb1)](_0xdaa14e=>{_0xdaa14e instanceof webgpu.Texture&&_0x5ead23(_0x43265d['textures'],_0xdaa14e);}));});}}),_0x43265d[_0x195679(0xba)][_0x195679(0xb1)]((_0x485a4f,_0x2f5d26)=>this[_0x195679(0xb0)](_0x2f5d26,_0x485a4f)),_0x43265d[_0x195679(0xb5)][_0x195679(0xb1)]((_0x20d017,_0x423e4c)=>this[_0x195679(0xb0)](_0x423e4c,_0x20d017)),_0x43265d[_0x195679(0x80)]['forEach']((_0x459260,_0x2ced1e)=>this['addAsset'](_0x2ced1e,_0x459260));}[_0x20dcb4(0xae)](_0x3532b2){const _0x149107=_0x20dcb4;_0x3532b2[_0x149107(0xa4)]&&!_0x3532b2[_0x149107(0xa4)][_0x149107(0x95)][_0x149107(0x98)]&&this[_0x149107(0xb0)](_0x3532b2[_0x149107(0xa4)]);if(_0x3532b2[_0x149107(0x94)]){const _0x1e6e98=Array[_0x149107(0xb4)](_0x3532b2[_0x149107(0x94)])?_0x3532b2[_0x149107(0x94)]:[_0x3532b2[_0x149107(0x94)]];_0x1e6e98['forEach'](_0xfbcda=>{const _0xbd4a82=_0x149107;if(!_0xfbcda)return;!_0xfbcda[_0xbd4a82(0x95)]['assetPointer']&&this[_0xbd4a82(0xb0)](_0xfbcda),Object[_0xbd4a82(0x86)](_0xfbcda)[_0xbd4a82(0xb1)](_0x2e067b=>{const _0x375e3f=_0xbd4a82;_0x2e067b instanceof webgpu.Texture&&!_0x2e067b['userData'][_0x375e3f(0x98)]&&this[_0x375e3f(0xb0)](_0x2e067b);});});}}async[_0x20dcb4(0xb8)](_0xb90820){const _0x47ca37=_0x20dcb4;this[_0x47ca37(0xbd)]();const _0x1c8082=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x47ca37(0x77)]&&_0x1c8082[_0x47ca37(0x7f)](AssetManager[_0x47ca37(0x77)]);AssetManager[_0x47ca37(0x9d)]&&_0x1c8082['setKTX2Loader'](AssetManager['_ktx2Loader']);try{const _0x25d8bd=await _0x1c8082['loadAsync'](_0xb90820);return _0x25d8bd;}catch(_0x2e45a3){console['error'](_0x47ca37(0xaf),_0xb90820,_0x2e45a3);throw _0x2e45a3;}}[_0x20dcb4(0xbb)](_0x18e0ef,_0x4ee5f8){const _0x18e165=_0x20dcb4;this[_0x18e165(0xbd)]();const _0x26f1c1=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x18e165(0x77)]&&_0x26f1c1[_0x18e165(0x7f)](AssetManager[_0x18e165(0x77)]),_0x26f1c1[_0x18e165(0x81)](_0x18e0ef,_0x4ee5f8);}[_0x20dcb4(0x79)](_0x5f2073,_0x5b9efc,_0x178326){const _0x4ffcb4=_0x20dcb4;this[_0x4ffcb4(0xbd)]();const _0x3fa9d8=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x4ffcb4(0x77)]&&_0x3fa9d8[_0x4ffcb4(0x7f)](AssetManager['_dracoLoader']),_0x3fa9d8['parse'](_0x5f2073,_0x5b9efc,_0x178326);}[_0x20dcb4(0x7c)](_0xa197c5='',_0x59f870){const _0x4fa5f6=_0x20dcb4,_0x25d4bd=new webgpu.FileLoader();_0x25d4bd[_0x4fa5f6(0x81)](_0xa197c5,_0x59f870);}[_0x20dcb4(0xb0)](_0x145627,_0x118fde=0x0){const _0x548b79=_0x20dcb4;if(_0x145627 instanceof webgpu.BufferGeometry)return this[_0x548b79(0xa5)](_0x145627,_0x118fde);if(_0x145627 instanceof webgpu.Material)return this['addMaterialAsset'](_0x145627,_0x118fde);if(_0x145627 instanceof webgpu.Texture)return this[_0x548b79(0xa1)](_0x145627,_0x118fde);return undefined;}[_0x20dcb4(0x89)](_0x416c6e,_0x4951c1=0x0){const _0x33678d=_0x20dcb4;let _0x3262a9=_0x416c6e[_0x33678d(0x95)][_0x33678d(0x98)];if(!_0x3262a9){const _0xcaf383=new Map();Object[_0x33678d(0x7e)](_0x416c6e)[_0x33678d(0xb1)](([_0x9e2ecc,_0x562eea])=>{const _0xafb426=_0x33678d;if(_0x562eea instanceof webgpu.Texture){const _0x598f33=this['addTextureAsset'](_0x562eea,0x1);_0xcaf383[_0xafb426(0x99)](_0x9e2ecc,_0x598f33);}}),_0x3262a9=new MaterialAssetPointer(_0x416c6e,_0xcaf383,_0x4951c1),this[_0x33678d(0x9a)]['set'](_0x416c6e[_0x33678d(0xa2)],_0x3262a9);}else _0x3262a9[_0x33678d(0x97)](_0x4951c1);return _0x3262a9;}[_0x20dcb4(0xa1)](_0x5098ce,_0x44c647=0x0){const _0x5aaa0f=_0x20dcb4;let _0x2f3a0e=_0x5098ce[_0x5aaa0f(0x95)][_0x5aaa0f(0x98)];return !_0x2f3a0e?(_0x2f3a0e=new TextureAssetPointer(_0x5098ce,_0x44c647),this[_0x5aaa0f(0x76)][_0x5aaa0f(0x99)](_0x5098ce[_0x5aaa0f(0xa2)],_0x2f3a0e)):_0x2f3a0e['addRef'](_0x44c647),_0x2f3a0e;}['addGeometryAsset'](_0x4df22b,_0x374d8d=0x0){const _0x125baf=_0x20dcb4;let _0x2c858b=_0x4df22b[_0x125baf(0x95)][_0x125baf(0x98)];return !_0x2c858b?(_0x2c858b=new GeometryAssetPointer(_0x4df22b,_0x374d8d),this[_0x125baf(0x88)]['set'](_0x4df22b[_0x125baf(0xa2)],_0x2c858b)):_0x2c858b[_0x125baf(0x97)](_0x374d8d),_0x2c858b;}['releaseAsset'](_0x57ae44){const _0x252377=_0x20dcb4,_0x14b04f=_0x57ae44[_0x252377(0x95)]['assetPointer'];_0x14b04f?_0x14b04f[_0x252377(0xb3)]():_0x57ae44[_0x252377(0xa6)]();}[_0x20dcb4(0xa6)](){const _0x53a92b=_0x20dcb4;this[_0x53a92b(0x87)](),AssetManager['_dracoLoader']&&(AssetManager[_0x53a92b(0x77)]['dispose'](),AssetManager[_0x53a92b(0x77)]=null),AssetManager[_0x53a92b(0x9d)]&&(AssetManager['_ktx2Loader'][_0x53a92b(0xa6)](),AssetManager[_0x53a92b(0x9d)]=null);}[_0x20dcb4(0x87)](){const _0x2885e5=_0x20dcb4;this['geometryAssets'][_0x2885e5(0xb1)](_0x5456ea=>_0x5456ea[_0x2885e5(0x9f)]()),this[_0x2885e5(0x88)]['clear'](),this['materialAssets'][_0x2885e5(0xb1)](_0x1f4d8a=>_0x1f4d8a[_0x2885e5(0x9f)]()),this[_0x2885e5(0x9a)][_0x2885e5(0x8a)](),this[_0x2885e5(0x76)][_0x2885e5(0xb1)](_0x1cb7ff=>_0x1cb7ff['forceRelease']()),this[_0x2885e5(0x76)][_0x2885e5(0x8a)]();}}AssetManager['_dracoLoader']=null,AssetManager['_ktx2Loader']=null;
|
|
57
57
|
|
|
58
|
-
(function(
|
|
58
|
+
(function(_0x1c5b24,_0x307a4f){var _0x5e20ab=_0x54ed,_0x4e8dba=_0x1c5b24();while(!![]){try{var _0x1a8d88=parseInt(_0x5e20ab(0x198))/0x1+parseInt(_0x5e20ab(0x19c))/0x2+-parseInt(_0x5e20ab(0x19d))/0x3+parseInt(_0x5e20ab(0x189))/0x4+parseInt(_0x5e20ab(0x19b))/0x5+parseInt(_0x5e20ab(0x195))/0x6+-parseInt(_0x5e20ab(0x18b))/0x7;if(_0x1a8d88===_0x307a4f)break;else _0x4e8dba['push'](_0x4e8dba['shift']());}catch(_0x6e06b){_0x4e8dba['push'](_0x4e8dba['shift']());}}}(_0x5cf6,0x99bb6));exports.AssetCategory = void 0;(function(_0x4e21c2){var _0x39352f=_0x54ed;_0x4e21c2[_0x39352f(0x188)]=_0x39352f(0x19e),_0x4e21c2['Material']='material',_0x4e21c2[_0x39352f(0x19a)]=_0x39352f(0x191),_0x4e21c2['Actor']=_0x39352f(0x190),_0x4e21c2[_0x39352f(0x184)]=_0x39352f(0x18a),_0x4e21c2[_0x39352f(0x18f)]=_0x39352f(0x197),_0x4e21c2['HTML']='html',_0x4e21c2['Code']=_0x39352f(0x183),_0x4e21c2[_0x39352f(0x181)]=_0x39352f(0x185);}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;(function(_0x2730cf){var _0x504d7d=_0x54ed;_0x2730cf[_0x504d7d(0x194)]='unloaded',_0x2730cf['Loading']=_0x504d7d(0x18d),_0x2730cf[_0x504d7d(0x196)]=_0x504d7d(0x187),_0x2730cf[_0x504d7d(0x193)]=_0x504d7d(0x186);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x3bf60e){var _0x17a18d=_0x54ed;_0x3bf60e[_0x17a18d(0x18c)]=_0x17a18d(0x190),_0x3bf60e['Component']=_0x17a18d(0x180),_0x3bf60e['Material']='material',_0x3bf60e[_0x17a18d(0x18f)]='level',_0x3bf60e[_0x17a18d(0x18e)]=_0x17a18d(0x19f),_0x3bf60e[_0x17a18d(0x182)]=_0x17a18d(0x199);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x52235e){var _0x4d1ab0=_0x54ed;_0x52235e[_0x52235e[_0x4d1ab0(0x19e)]=0x1]='geometry',_0x52235e[_0x52235e[_0x4d1ab0(0x192)]=0x2]='material',_0x52235e[_0x52235e[_0x4d1ab0(0x191)]=0x3]=_0x4d1ab0(0x191),_0x52235e[_0x52235e['undefined']=-1]='undefined';}(exports.AssetType||(exports.AssetType={})));function _0x54ed(_0x11f073,_0x22e0f6){_0x11f073=_0x11f073-0x180;var _0x5cf608=_0x5cf6();var _0x54ed92=_0x5cf608[_0x11f073];return _0x54ed92;}function _0x5cf6(){var _0x47defc=['AssetPointer','Level','actor','texture','material','Error','Unloaded','223950tFdgGR','Loaded','level','1084325PVoWcs','external','Texture','3816555VnzCzu','209366riLCwd','2193912pFLlIY','geometry','assetPointer','component','Undefined','External','code','ActorManager','undefined','error','loaded','Geometry','2259112MERQNi','actorManager','8354024VlHVzg','Actor','loading'];_0x5cf6=function(){return _0x47defc;};return _0x5cf6();}
|
|
59
59
|
|
|
60
|
-
(function(
|
|
60
|
+
(function(_0x44ae6d,_0x4aaa26){var _0x41f79b=_0x1beb,_0x478e44=_0x44ae6d();while(!![]){try{var _0x5ebb0b=-parseInt(_0x41f79b(0x148))/0x1*(parseInt(_0x41f79b(0x142))/0x2)+parseInt(_0x41f79b(0x144))/0x3*(-parseInt(_0x41f79b(0x139))/0x4)+-parseInt(_0x41f79b(0x138))/0x5*(parseInt(_0x41f79b(0x14d))/0x6)+parseInt(_0x41f79b(0x145))/0x7+-parseInt(_0x41f79b(0x14c))/0x8*(parseInt(_0x41f79b(0x149))/0x9)+-parseInt(_0x41f79b(0x146))/0xa+-parseInt(_0x41f79b(0x13f))/0xb*(-parseInt(_0x41f79b(0x13b))/0xc);if(_0x5ebb0b===_0x4aaa26)break;else _0x478e44['push'](_0x478e44['shift']());}catch(_0xbf9df2){_0x478e44['push'](_0x478e44['shift']());}}}(_0x41ce,0xb435c));exports.CollisionResponse = void 0;(function(_0x39d418){var _0xa916a4=_0x1beb;_0x39d418[_0xa916a4(0x140)]=_0xa916a4(0x140),_0x39d418[_0xa916a4(0x14b)]=_0xa916a4(0x14b),_0x39d418[_0xa916a4(0x13a)]=_0xa916a4(0x13a);}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0x383660){var _0x461b92=_0x1beb;_0x383660[_0x461b92(0x14e)]=_0x461b92(0x14e),_0x383660[_0x461b92(0x14a)]=_0x461b92(0x14a),_0x383660[_0x461b92(0x147)]=_0x461b92(0x147),_0x383660[_0x461b92(0x13c)]=_0x461b92(0x13c),_0x383660[_0x461b92(0x13d)]=_0x461b92(0x13d),_0x383660['Trigger']=_0x461b92(0x141);}(exports.CollisionChannel||(exports.CollisionChannel={})));function _0x1beb(_0x514de4,_0x3a3f1f){_0x514de4=_0x514de4-0x138;var _0x41ce28=_0x41ce();var _0x1bebf2=_0x41ce28[_0x514de4];return _0x1bebf2;}function _0x41ce(){var _0x1a6d35=['Pawn','1371423naxZqz','27OBnWSu','WorldDynamic','Overlap','3467808faWVVA','30354kZwvuS','WorldStatic','1075iHiIBc','132HiicIS','Block','72nIZavF','Visibility','Camera','Sphere','9756659gkwftF','Ignore','Trigger','2ACRgwA','Box','67107eYIxrH','9142882itVdyi','13920870ctoUFL'];_0x41ce=function(){return _0x1a6d35;};return _0x41ce();}exports.CollisionShapeType = void 0;(function(_0x46157d){var _0x573fd6=_0x1beb;_0x46157d[_0x573fd6(0x13e)]=_0x573fd6(0x13e),_0x46157d[_0x573fd6(0x143)]=_0x573fd6(0x143);}(exports.CollisionShapeType||(exports.CollisionShapeType={})));
|
|
61
61
|
|
|
62
|
-
const _0xe70b45=_0x4d13;(function(_0x2c70d1,_0x373ac9){const _0x2573b4=_0x4d13,_0x42b621=_0x2c70d1();while(!![]){try{const _0x46de4c=-parseInt(_0x2573b4(0x99))/0x1+-parseInt(_0x2573b4(0xaf))/0x2*(parseInt(_0x2573b4(0xab))/0x3)+parseInt(_0x2573b4(0xaa))/0x4*(-parseInt(_0x2573b4(0xc0))/0x5)+-parseInt(_0x2573b4(0xa2))/0x6*(parseInt(_0x2573b4(0x8a))/0x7)+-parseInt(_0x2573b4(0x9b))/0x8*(-parseInt(_0x2573b4(0xb2))/0x9)+-parseInt(_0x2573b4(0x9d))/0xa+parseInt(_0x2573b4(0xa1))/0xb;if(_0x46de4c===_0x373ac9)break;else _0x42b621['push'](_0x42b621['shift']());}catch(_0x288e3d){_0x42b621['push'](_0x42b621['shift']());}}}(_0x3808,0xe799c));function _0x4d13(_0x1f8e8d,_0x1b433d){_0x1f8e8d=_0x1f8e8d-0x84;const _0x3808b6=_0x3808();let _0x4d13c3=_0x3808b6[_0x1f8e8d];return _0x4d13c3;}function _0x3808(){const _0x1ec000=['getCollisionResponse','max','has','debugDrawEnabled','get','getPairKey','multiplyScalar','10HQlMKR','raycastAll','raycast','tick','generateOverlapEvents','getWorldAABB','sort','computeAabbHit','lineTraceMulti','Ignore','4242049pnCqax','sign','set','length','broadcast','point','lineTraceSingle','function','distance','uuid','min','add','onHitDelegate','filter','colliders','887441NUpRzr','unregisterCollider','3329544oJJErT','from','2542150QUjvxz','Visibility','onEndOverlapDelegate','collisionEnabled','56442529upIZZq','18WqRTHq','getCenter','debugEnabled','intersectRayAabb','previousOverlapPairs','copy','onBeginOverlapDelegate','sub','1634252hYRzWS','843HJndnd','Block','push','normal','8812yFKCww','_debugDrawEnabled','clone','18RBpZBi','clear','generateHitEvents','previousBlockPairs','Overlap','delete','intersectsBox'];_0x3808=function(){return _0x1ec000;};return _0x3808();}class PhysicsWorld{constructor(){const _0x82c10a=_0x4d13;this[_0x82c10a(0x98)]=new Set(),this[_0x82c10a(0xa6)]=new Map(),this[_0x82c10a(0xb5)]=new Map(),this[_0x82c10a(0xb0)]=![];}get[_0xe70b45(0xbc)](){return this['_debugDrawEnabled'];}set[_0xe70b45(0xbc)](_0x22c468){const _0x1a8474=_0xe70b45;if(this[_0x1a8474(0xb0)]===_0x22c468)return;this['_debugDrawEnabled']=_0x22c468;for(const _0x3bb7c8 of this[_0x1a8474(0x98)]){_0x3bb7c8[_0x1a8474(0xa4)]=_0x22c468;}}['registerCollider'](_0x1eace0){const _0x7df221=_0xe70b45;this[_0x7df221(0x98)][_0x7df221(0x95)](_0x1eace0),this[_0x7df221(0xb0)]&&(_0x1eace0[_0x7df221(0xa4)]=!![]);}[_0xe70b45(0x9a)](_0x5133ef){const _0x6e8112=_0xe70b45;this['colliders']['delete'](_0x5133ef);for(const [_0xc00643,_0x21ea2c]of this[_0x6e8112(0xa6)]){(_0x21ea2c[0x0]===_0x5133ef||_0x21ea2c[0x1]===_0x5133ef)&&this['previousOverlapPairs']['delete'](_0xc00643);}for(const [_0x1f7847,_0x3cb40c]of this[_0x6e8112(0xb5)]){(_0x3cb40c[0x0]===_0x5133ef||_0x3cb40c[0x1]===_0x5133ef)&&this[_0x6e8112(0xb5)][_0x6e8112(0xb7)](_0x1f7847);}}['clear'](){const _0x106166=_0xe70b45;this[_0x106166(0x98)]['clear'](),this[_0x106166(0xa6)][_0x106166(0xb3)](),this[_0x106166(0xb5)][_0x106166(0xb3)]();}[_0xe70b45(0x90)](_0x44548c,_0x5648ac,_0x52a097=exports.CollisionChannel[_0xe70b45(0x9e)],_0x5929b4){const _0x3aec7d=_0xe70b45,_0x2f4727=_0x5648ac['clone']()['sub'](_0x44548c),_0x29e485=_0x2f4727[_0x3aec7d(0x8d)]();if(_0x29e485<=0.000001)return null;const _0x96bcc3=_0x2f4727[_0x3aec7d(0xbf)](0x1/_0x29e485);let _0x306cb4=null;for(const _0x3d8c23 of this[_0x3aec7d(0x98)]){if(_0x3d8c23===_0x5929b4)continue;if(!_0x3d8c23['collisionEnabled'])continue;const _0x5c2b01=_0x3d8c23['getCollisionResponse'](_0x52a097);if(_0x5c2b01!==exports.CollisionResponse[_0x3aec7d(0xac)])continue;const _0x26cecd=_0x3d8c23['getWorldAABB'](new webgpu.Box3()),_0x5b9005=this[_0x3aec7d(0xa5)](_0x44548c,_0x96bcc3,_0x29e485,_0x26cecd);if(!_0x5b9005)continue;const _0x69c01f=_0x3d8c23,_0xd795d9=typeof _0x69c01f[_0x3aec7d(0xc2)]==='function'?_0x69c01f[_0x3aec7d(0xc2)](_0x44548c,_0x96bcc3,_0x29e485):_0x5b9005;if(!_0xd795d9)continue;(!_0x306cb4||_0xd795d9['distance']<_0x306cb4[_0x3aec7d(0x92)])&&(_0x306cb4={'collider':_0x3d8c23,'point':_0xd795d9[_0x3aec7d(0x8f)],'normal':_0xd795d9['normal'],'distance':_0xd795d9['distance'],'blocking':!![]});}return _0x306cb4;}[_0xe70b45(0x88)](_0x41a60e,_0x283c12,_0x58b110=exports.CollisionChannel[_0xe70b45(0x9e)],_0x4cf67c){const _0x36e6c2=_0xe70b45,_0x197441=_0x283c12[_0x36e6c2(0xb1)]()[_0x36e6c2(0xa9)](_0x41a60e),_0x1128f0=_0x197441[_0x36e6c2(0x8d)]();if(_0x1128f0<=0.000001)return [];const _0x4652c0=_0x197441[_0x36e6c2(0xbf)](0x1/_0x1128f0),_0x5eb6ff=[];for(const _0x19463f of this['colliders']){if(_0x19463f===_0x4cf67c)continue;if(!_0x19463f['collisionEnabled'])continue;const _0x58ee6b=_0x19463f[_0x36e6c2(0xb9)](_0x58b110);if(_0x58ee6b===exports.CollisionResponse['Ignore'])continue;const _0x28c5e2=_0x19463f[_0x36e6c2(0x85)](new webgpu.Box3()),_0x9a3276=this[_0x36e6c2(0xa5)](_0x41a60e,_0x4652c0,_0x1128f0,_0x28c5e2);if(!_0x9a3276)continue;const _0x560e7b=_0x19463f;if(typeof _0x560e7b[_0x36e6c2(0xc1)]==='function'){const _0x3e57ee=_0x560e7b[_0x36e6c2(0xc1)](_0x41a60e,_0x4652c0,_0x1128f0);for(const _0x215315 of _0x3e57ee){_0x5eb6ff[_0x36e6c2(0xad)]({'collider':_0x19463f,'point':_0x215315[_0x36e6c2(0x8f)],'normal':_0x215315['normal'],'distance':_0x215315[_0x36e6c2(0x92)],'blocking':_0x58ee6b===exports.CollisionResponse[_0x36e6c2(0xac)]});}}else {const _0x77170=typeof _0x560e7b[_0x36e6c2(0xc2)]===_0x36e6c2(0x91)?_0x560e7b['raycast'](_0x41a60e,_0x4652c0,_0x1128f0):_0x9a3276;if(!_0x77170)continue;_0x5eb6ff[_0x36e6c2(0xad)]({'collider':_0x19463f,'point':_0x77170[_0x36e6c2(0x8f)],'normal':_0x77170[_0x36e6c2(0xae)],'distance':_0x77170['distance'],'blocking':_0x58ee6b===exports.CollisionResponse[_0x36e6c2(0xac)]});}}return _0x5eb6ff[_0x36e6c2(0x86)]((_0x38dcb5,_0xfaaf02)=>_0x38dcb5[_0x36e6c2(0x92)]-_0xfaaf02[_0x36e6c2(0x92)]);}[_0xe70b45(0xc3)](_0xc3c33b){const _0x443d90=_0xe70b45,_0x3b77cc=Array[_0x443d90(0x9c)](this[_0x443d90(0x98)])[_0x443d90(0x97)](_0x1cd3ae=>_0x1cd3ae[_0x443d90(0xa0)]),_0x4d7ae7=new Map();for(const _0x102434 of _0x3b77cc){_0x4d7ae7[_0x443d90(0x8c)](_0x102434,_0x102434[_0x443d90(0x85)](new webgpu.Box3()));}const _0x1a93b3=new Map(),_0x29d4f8=new Map();for(let _0x8e4c2e=0x0;_0x8e4c2e<_0x3b77cc[_0x443d90(0x8d)];_0x8e4c2e++){const _0x290fef=_0x3b77cc[_0x8e4c2e],_0x2594bd=_0x4d7ae7['get'](_0x290fef);if(!_0x2594bd)continue;for(let _0xb442af=_0x8e4c2e+0x1;_0xb442af<_0x3b77cc['length'];_0xb442af++){const _0x5bda98=_0x3b77cc[_0xb442af],_0x3b5f8e=_0x4d7ae7['get'](_0x5bda98);if(!_0x3b5f8e)continue;if(!_0x2594bd[_0x443d90(0xb8)](_0x3b5f8e))continue;const _0x3973d8=_0x290fef['getMutualResponse'](_0x5bda98);if(_0x3973d8===exports.CollisionResponse[_0x443d90(0x89)])continue;const _0x215068=this[_0x443d90(0xbe)](_0x290fef,_0x5bda98);_0x3973d8===exports.CollisionResponse[_0x443d90(0xb6)]?_0x1a93b3['set'](_0x215068,[_0x290fef,_0x5bda98]):_0x29d4f8[_0x443d90(0x8c)](_0x215068,[_0x290fef,_0x5bda98]);}}for(const [_0x11eff4,_0x4d29c6]of _0x1a93b3){if(this[_0x443d90(0xa6)]['has'](_0x11eff4))continue;const [_0x142e3d,_0x48c73b]=_0x4d29c6;_0x142e3d[_0x443d90(0x84)]&&_0x142e3d[_0x443d90(0xa8)]['broadcast'](_0x48c73b),_0x48c73b[_0x443d90(0x84)]&&_0x48c73b[_0x443d90(0xa8)][_0x443d90(0x8e)](_0x142e3d);}for(const [_0x1d0ee4,_0x4e1247]of this[_0x443d90(0xa6)]){if(_0x1a93b3[_0x443d90(0xbb)](_0x1d0ee4))continue;const [_0xd84361,_0x224de1]=_0x4e1247;_0xd84361['generateOverlapEvents']&&_0xd84361[_0x443d90(0x9f)]['broadcast'](_0x224de1),_0x224de1[_0x443d90(0x84)]&&_0x224de1[_0x443d90(0x9f)]['broadcast'](_0xd84361);}for(const [_0xf2bdfd,_0x4dcd4a]of _0x29d4f8){if(this[_0x443d90(0xb5)][_0x443d90(0xbb)](_0xf2bdfd))continue;const [_0xdb921f,_0x116e43]=_0x4dcd4a,_0x2a0a3d=_0x4d7ae7['get'](_0xdb921f),_0xdc1381=_0x4d7ae7[_0x443d90(0xbd)](_0x116e43);if(!_0x2a0a3d||!_0xdc1381)continue;const _0x400c41=this[_0x443d90(0x87)](_0xdb921f,_0x116e43,_0x2a0a3d,_0xdc1381);_0xdb921f['generateHitEvents']&&_0xdb921f[_0x443d90(0x96)][_0x443d90(0x8e)](_0x400c41);if(_0x116e43[_0x443d90(0xb4)]){const _0x109974={'self':_0x116e43,'other':_0xdb921f,'point':_0x400c41['point']['clone'](),'normal':_0x400c41[_0x443d90(0xae)]['clone']()[_0x443d90(0xbf)](-1),'penetrationDepth':_0x400c41['penetrationDepth']};_0x116e43[_0x443d90(0x96)]['broadcast'](_0x109974);}}this[_0x443d90(0xa6)]=_0x1a93b3,this[_0x443d90(0xb5)]=_0x29d4f8;}[_0xe70b45(0x87)](_0x4bfbc1,_0x387711,_0x39e270,_0xd55532){const _0xc92273=_0xe70b45,_0x470fda=Math[_0xc92273(0x94)](_0x39e270[_0xc92273(0xba)]['x'],_0xd55532[_0xc92273(0xba)]['x'])-Math['max'](_0x39e270['min']['x'],_0xd55532[_0xc92273(0x94)]['x']),_0x3e93d7=Math[_0xc92273(0x94)](_0x39e270['max']['y'],_0xd55532['max']['y'])-Math[_0xc92273(0xba)](_0x39e270[_0xc92273(0x94)]['y'],_0xd55532['min']['y']),_0x3ead09=Math['min'](_0x39e270[_0xc92273(0xba)]['z'],_0xd55532['max']['z'])-Math['max'](_0x39e270[_0xc92273(0x94)]['z'],_0xd55532['min']['z']);let _0x53712e=_0x470fda,_0x43e0be='x';_0x3e93d7<_0x53712e&&(_0x53712e=_0x3e93d7,_0x43e0be='y');_0x3ead09<_0x53712e&&(_0x53712e=_0x3ead09,_0x43e0be='z');const _0x445514=_0x39e270[_0xc92273(0xa3)](new webgpu.Vector3()),_0x2eb852=_0xd55532['getCenter'](new webgpu.Vector3()),_0x2d45d5=_0x2eb852[_0xc92273(0xb1)]()[_0xc92273(0xa9)](_0x445514),_0x6400e7=new webgpu.Vector3(0x0,0x0,0x0);if(_0x43e0be==='x')_0x6400e7[_0xc92273(0x8c)](Math[_0xc92273(0x8b)](_0x2d45d5['x'])||0x1,0x0,0x0);else _0x43e0be==='y'?_0x6400e7[_0xc92273(0x8c)](0x0,Math[_0xc92273(0x8b)](_0x2d45d5['y'])||0x1,0x0):_0x6400e7['set'](0x0,0x0,Math[_0xc92273(0x8b)](_0x2d45d5['z'])||0x1);const _0x21cd2c=new webgpu.Vector3((Math['max'](_0x39e270['min']['x'],_0xd55532[_0xc92273(0x94)]['x'])+Math[_0xc92273(0x94)](_0x39e270[_0xc92273(0xba)]['x'],_0xd55532[_0xc92273(0xba)]['x']))*0.5,(Math[_0xc92273(0xba)](_0x39e270[_0xc92273(0x94)]['y'],_0xd55532[_0xc92273(0x94)]['y'])+Math[_0xc92273(0x94)](_0x39e270['max']['y'],_0xd55532[_0xc92273(0xba)]['y']))*0.5,(Math[_0xc92273(0xba)](_0x39e270[_0xc92273(0x94)]['z'],_0xd55532[_0xc92273(0x94)]['z'])+Math[_0xc92273(0x94)](_0x39e270[_0xc92273(0xba)]['z'],_0xd55532['max']['z']))*0.5);return {'self':_0x4bfbc1,'other':_0x387711,'point':_0x21cd2c,'normal':_0x6400e7,'penetrationDepth':Math['max'](0x0,_0x53712e)};}[_0xe70b45(0xbe)](_0x112274,_0x4282e0){const _0x4cf656=_0xe70b45;return _0x112274['uuid']<_0x4282e0['uuid']?_0x112274[_0x4cf656(0x93)]+'|'+_0x4282e0[_0x4cf656(0x93)]:_0x4282e0[_0x4cf656(0x93)]+'|'+_0x112274[_0x4cf656(0x93)];}[_0xe70b45(0xa5)](_0x1ff2b2,_0x353793,_0x1a4467,_0x31052b){const _0x3f955b=_0xe70b45;let _0x38e306=0x0,_0x21aa48=_0x1a4467;const _0x518f66=new webgpu.Vector3(0x0,0x0,0x0),_0x4eaecf=1e-8,_0x29c48f=_0x2a148c=>{const _0x43d486=_0x4d13,_0x17daac=_0x1ff2b2[_0x2a148c],_0x1e5d1c=_0x353793[_0x2a148c],_0x137b4c=_0x31052b['min'][_0x2a148c],_0x372ae7=_0x31052b[_0x43d486(0xba)][_0x2a148c];if(Math['abs'](_0x1e5d1c)<_0x4eaecf){if(_0x17daac<_0x137b4c||_0x17daac>_0x372ae7)return ![];return !![];}const _0x35709b=0x1/_0x1e5d1c;let _0x2dbffe,_0x3af7e;const _0x133bfc=new webgpu.Vector3(0x0,0x0,0x0);_0x1e5d1c>=0x0?(_0x2dbffe=(_0x137b4c-_0x17daac)*_0x35709b,_0x3af7e=(_0x372ae7-_0x17daac)*_0x35709b,_0x133bfc[_0x2a148c]=-1):(_0x2dbffe=(_0x372ae7-_0x17daac)*_0x35709b,_0x3af7e=(_0x137b4c-_0x17daac)*_0x35709b,_0x133bfc[_0x2a148c]=0x1);_0x2dbffe>_0x38e306&&(_0x38e306=_0x2dbffe,_0x518f66[_0x43d486(0xa7)](_0x133bfc));_0x3af7e<_0x21aa48&&(_0x21aa48=_0x3af7e);if(_0x38e306>_0x21aa48)return ![];return !![];};if(!_0x29c48f('x')||!_0x29c48f('y')||!_0x29c48f('z'))return null;if(_0x21aa48<0x0)return null;const _0x5069af=Math[_0x3f955b(0xba)](0x0,_0x38e306);if(_0x5069af>_0x1a4467)return null;return {'distance':_0x5069af,'normal':_0x518f66,'point':_0x1ff2b2[_0x3f955b(0xb1)]()[_0x3f955b(0x95)](_0x353793[_0x3f955b(0xb1)]()[_0x3f955b(0xbf)](_0x5069af))};}}
|
|
62
|
+
function _0x13b5(_0x2af741,_0x32a4d3){_0x2af741=_0x2af741-0x146;const _0x602e80=_0x602e();let _0x13b51d=_0x602e80[_0x2af741];return _0x13b51d;}const _0x3a3b58=_0x13b5;(function(_0xc4e330,_0x5bec39){const _0x1e826f=_0x13b5,_0x501f0b=_0xc4e330();while(!![]){try{const _0x1bf898=parseInt(_0x1e826f(0x15b))/0x1+parseInt(_0x1e826f(0x15c))/0x2*(parseInt(_0x1e826f(0x161))/0x3)+parseInt(_0x1e826f(0x159))/0x4+parseInt(_0x1e826f(0x174))/0x5*(-parseInt(_0x1e826f(0x157))/0x6)+-parseInt(_0x1e826f(0x167))/0x7*(-parseInt(_0x1e826f(0x16f))/0x8)+-parseInt(_0x1e826f(0x153))/0x9+-parseInt(_0x1e826f(0x165))/0xa;if(_0x1bf898===_0x5bec39)break;else _0x501f0b['push'](_0x501f0b['shift']());}catch(_0x1fee4d){_0x501f0b['push'](_0x501f0b['shift']());}}}(_0x602e,0x90770));function _0x602e(){const _0x40820d=['point','sub','6604302zeMnUD','from','4709248ZGpgZT','registerCollider','154559QmGWhd','18ZieEav','onBeginOverlapDelegate','_debugDrawEnabled','debugEnabled','abs','357873LXzhIZ','getPairKey','getCenter','computeAabbHit','8770060TaODvq','generateHitEvents','7AmcxrD','getMutualResponse','colliders','clone','collisionEnabled','add','length','getWorldAABB','5566504yLZvmk','Ignore','getCollisionResponse','onEndOverlapDelegate','clear','5KjhLcz','debugDrawEnabled','generateOverlapEvents','intersectRayAabb','lineTraceMulti','multiplyScalar','lineTraceSingle','min','set','max','uuid','broadcast','Visibility','Overlap','has','Block','raycast','onHitDelegate','raycastAll','unregisterCollider','previousBlockPairs','delete','filter','sort','get','normal','function','sign','distance','copy','4786668msQnCQ','previousOverlapPairs'];_0x602e=function(){return _0x40820d;};return _0x602e();}class PhysicsWorld{constructor(){const _0x2f5783=_0x13b5;this[_0x2f5783(0x169)]=new Set(),this[_0x2f5783(0x154)]=new Map(),this[_0x2f5783(0x149)]=new Map(),this[_0x2f5783(0x15e)]=![];}get['debugDrawEnabled'](){const _0x232a63=_0x13b5;return this[_0x232a63(0x15e)];}set[_0x3a3b58(0x175)](_0x44607c){const _0x2dc3e7=_0x3a3b58;if(this[_0x2dc3e7(0x15e)]===_0x44607c)return;this['_debugDrawEnabled']=_0x44607c;for(const _0x36abb9 of this['colliders']){_0x36abb9[_0x2dc3e7(0x15f)]=_0x44607c;}}[_0x3a3b58(0x15a)](_0x2730d3){const _0x5bdf5b=_0x3a3b58;this[_0x5bdf5b(0x169)][_0x5bdf5b(0x16c)](_0x2730d3),this[_0x5bdf5b(0x15e)]&&(_0x2730d3[_0x5bdf5b(0x15f)]=!![]);}[_0x3a3b58(0x148)](_0x554437){const _0x10829d=_0x3a3b58;this['colliders'][_0x10829d(0x14a)](_0x554437);for(const [_0x82397e,_0x4b39cc]of this[_0x10829d(0x154)]){(_0x4b39cc[0x0]===_0x554437||_0x4b39cc[0x1]===_0x554437)&&this['previousOverlapPairs'][_0x10829d(0x14a)](_0x82397e);}for(const [_0x347875,_0x3a92d3]of this[_0x10829d(0x149)]){(_0x3a92d3[0x0]===_0x554437||_0x3a92d3[0x1]===_0x554437)&&this[_0x10829d(0x149)][_0x10829d(0x14a)](_0x347875);}}[_0x3a3b58(0x173)](){const _0x93a6a3=_0x3a3b58;this[_0x93a6a3(0x169)][_0x93a6a3(0x173)](),this[_0x93a6a3(0x154)][_0x93a6a3(0x173)](),this[_0x93a6a3(0x149)][_0x93a6a3(0x173)]();}[_0x3a3b58(0x17a)](_0x189f2c,_0x1e260d,_0x2c603c=exports.CollisionChannel['Visibility'],_0x815a6d){const _0x111f0f=_0x3a3b58,_0x539545=_0x1e260d[_0x111f0f(0x16a)]()[_0x111f0f(0x156)](_0x189f2c),_0x4c1c52=_0x539545[_0x111f0f(0x16d)]();if(_0x4c1c52<=0.000001)return null;const _0x52398e=_0x539545[_0x111f0f(0x179)](0x1/_0x4c1c52);let _0x5bbe80=null;for(const _0x245ad4 of this[_0x111f0f(0x169)]){if(_0x245ad4===_0x815a6d)continue;if(!_0x245ad4[_0x111f0f(0x16b)])continue;const _0x5a97a4=_0x245ad4[_0x111f0f(0x171)](_0x2c603c);if(_0x5a97a4!==exports.CollisionResponse[_0x111f0f(0x183)])continue;const _0x409aab=_0x245ad4[_0x111f0f(0x16e)](new webgpu.Box3()),_0x217c0a=this['intersectRayAabb'](_0x189f2c,_0x52398e,_0x4c1c52,_0x409aab);if(!_0x217c0a)continue;const _0x50fb50=_0x245ad4,_0x387aa7=typeof _0x50fb50[_0x111f0f(0x184)]===_0x111f0f(0x14f)?_0x50fb50[_0x111f0f(0x184)](_0x189f2c,_0x52398e,_0x4c1c52):_0x217c0a;if(!_0x387aa7)continue;(!_0x5bbe80||_0x387aa7[_0x111f0f(0x151)]<_0x5bbe80[_0x111f0f(0x151)])&&(_0x5bbe80={'collider':_0x245ad4,'point':_0x387aa7[_0x111f0f(0x155)],'normal':_0x387aa7['normal'],'distance':_0x387aa7[_0x111f0f(0x151)],'blocking':!![]});}return _0x5bbe80;}[_0x3a3b58(0x178)](_0x4d052a,_0x271f10,_0x503d8f=exports.CollisionChannel[_0x3a3b58(0x180)],_0x1c98f7){const _0x19a210=_0x3a3b58,_0x247034=_0x271f10[_0x19a210(0x16a)]()[_0x19a210(0x156)](_0x4d052a),_0x121e4d=_0x247034[_0x19a210(0x16d)]();if(_0x121e4d<=0.000001)return [];const _0x58fda2=_0x247034[_0x19a210(0x179)](0x1/_0x121e4d),_0x57fd5d=[];for(const _0x4e6b29 of this[_0x19a210(0x169)]){if(_0x4e6b29===_0x1c98f7)continue;if(!_0x4e6b29[_0x19a210(0x16b)])continue;const _0x2ba987=_0x4e6b29[_0x19a210(0x171)](_0x503d8f);if(_0x2ba987===exports.CollisionResponse[_0x19a210(0x170)])continue;const _0x87afdb=_0x4e6b29['getWorldAABB'](new webgpu.Box3()),_0x5c66ab=this[_0x19a210(0x177)](_0x4d052a,_0x58fda2,_0x121e4d,_0x87afdb);if(!_0x5c66ab)continue;const _0x46b67e=_0x4e6b29;if(typeof _0x46b67e[_0x19a210(0x147)]===_0x19a210(0x14f)){const _0x1a7a46=_0x46b67e[_0x19a210(0x147)](_0x4d052a,_0x58fda2,_0x121e4d);for(const _0x3d0a67 of _0x1a7a46){_0x57fd5d['push']({'collider':_0x4e6b29,'point':_0x3d0a67[_0x19a210(0x155)],'normal':_0x3d0a67['normal'],'distance':_0x3d0a67['distance'],'blocking':_0x2ba987===exports.CollisionResponse[_0x19a210(0x183)]});}}else {const _0x4570ec=typeof _0x46b67e[_0x19a210(0x184)]===_0x19a210(0x14f)?_0x46b67e[_0x19a210(0x184)](_0x4d052a,_0x58fda2,_0x121e4d):_0x5c66ab;if(!_0x4570ec)continue;_0x57fd5d['push']({'collider':_0x4e6b29,'point':_0x4570ec[_0x19a210(0x155)],'normal':_0x4570ec[_0x19a210(0x14e)],'distance':_0x4570ec[_0x19a210(0x151)],'blocking':_0x2ba987===exports.CollisionResponse[_0x19a210(0x183)]});}}return _0x57fd5d[_0x19a210(0x14c)]((_0x470db8,_0x4b42d6)=>_0x470db8[_0x19a210(0x151)]-_0x4b42d6['distance']);}['tick'](_0x970a0f){const _0x393bbc=_0x3a3b58,_0x84c46b=Array[_0x393bbc(0x158)](this[_0x393bbc(0x169)])[_0x393bbc(0x14b)](_0x1fd054=>_0x1fd054[_0x393bbc(0x16b)]),_0x3649fd=new Map();for(const _0x39b2f8 of _0x84c46b){_0x3649fd[_0x393bbc(0x17c)](_0x39b2f8,_0x39b2f8[_0x393bbc(0x16e)](new webgpu.Box3()));}const _0x3fd371=new Map(),_0x192bc5=new Map();for(let _0x286f2d=0x0;_0x286f2d<_0x84c46b[_0x393bbc(0x16d)];_0x286f2d++){const _0x19a4b3=_0x84c46b[_0x286f2d],_0xa01e52=_0x3649fd[_0x393bbc(0x14d)](_0x19a4b3);if(!_0xa01e52)continue;for(let _0x404040=_0x286f2d+0x1;_0x404040<_0x84c46b[_0x393bbc(0x16d)];_0x404040++){const _0x4c113c=_0x84c46b[_0x404040],_0x18987d=_0x3649fd[_0x393bbc(0x14d)](_0x4c113c);if(!_0x18987d)continue;if(!_0xa01e52['intersectsBox'](_0x18987d))continue;const _0x22764d=_0x19a4b3[_0x393bbc(0x168)](_0x4c113c);if(_0x22764d===exports.CollisionResponse[_0x393bbc(0x170)])continue;const _0x446ccf=this[_0x393bbc(0x162)](_0x19a4b3,_0x4c113c);_0x22764d===exports.CollisionResponse[_0x393bbc(0x181)]?_0x3fd371[_0x393bbc(0x17c)](_0x446ccf,[_0x19a4b3,_0x4c113c]):_0x192bc5[_0x393bbc(0x17c)](_0x446ccf,[_0x19a4b3,_0x4c113c]);}}for(const [_0x291a9e,_0x2676fb]of _0x3fd371){if(this['previousOverlapPairs'][_0x393bbc(0x182)](_0x291a9e))continue;const [_0x16be7b,_0x40b7f5]=_0x2676fb;_0x16be7b['generateOverlapEvents']&&_0x16be7b[_0x393bbc(0x15d)][_0x393bbc(0x17f)](_0x40b7f5),_0x40b7f5[_0x393bbc(0x176)]&&_0x40b7f5[_0x393bbc(0x15d)][_0x393bbc(0x17f)](_0x16be7b);}for(const [_0x5375ef,_0xa932e7]of this['previousOverlapPairs']){if(_0x3fd371[_0x393bbc(0x182)](_0x5375ef))continue;const [_0xe33196,_0x39aa0]=_0xa932e7;_0xe33196[_0x393bbc(0x176)]&&_0xe33196[_0x393bbc(0x172)][_0x393bbc(0x17f)](_0x39aa0),_0x39aa0[_0x393bbc(0x176)]&&_0x39aa0[_0x393bbc(0x172)][_0x393bbc(0x17f)](_0xe33196);}for(const [_0x566f03,_0x1323ca]of _0x192bc5){if(this['previousBlockPairs']['has'](_0x566f03))continue;const [_0x34e805,_0x26e9e0]=_0x1323ca,_0x415cae=_0x3649fd[_0x393bbc(0x14d)](_0x34e805),_0x423ed8=_0x3649fd['get'](_0x26e9e0);if(!_0x415cae||!_0x423ed8)continue;const _0x2335b8=this[_0x393bbc(0x164)](_0x34e805,_0x26e9e0,_0x415cae,_0x423ed8);_0x34e805[_0x393bbc(0x166)]&&_0x34e805[_0x393bbc(0x146)]['broadcast'](_0x2335b8);if(_0x26e9e0[_0x393bbc(0x166)]){const _0x35c7ac={'self':_0x26e9e0,'other':_0x34e805,'point':_0x2335b8[_0x393bbc(0x155)][_0x393bbc(0x16a)](),'normal':_0x2335b8[_0x393bbc(0x14e)]['clone']()[_0x393bbc(0x179)](-1),'penetrationDepth':_0x2335b8['penetrationDepth']};_0x26e9e0[_0x393bbc(0x146)][_0x393bbc(0x17f)](_0x35c7ac);}}this[_0x393bbc(0x154)]=_0x3fd371,this['previousBlockPairs']=_0x192bc5;}['computeAabbHit'](_0x3c2f15,_0x3f619d,_0xb29d0e,_0x5c4550){const _0x5b418e=_0x3a3b58,_0x2f9f6d=Math[_0x5b418e(0x17b)](_0xb29d0e[_0x5b418e(0x17d)]['x'],_0x5c4550[_0x5b418e(0x17d)]['x'])-Math[_0x5b418e(0x17d)](_0xb29d0e[_0x5b418e(0x17b)]['x'],_0x5c4550['min']['x']),_0x34c489=Math[_0x5b418e(0x17b)](_0xb29d0e[_0x5b418e(0x17d)]['y'],_0x5c4550[_0x5b418e(0x17d)]['y'])-Math[_0x5b418e(0x17d)](_0xb29d0e[_0x5b418e(0x17b)]['y'],_0x5c4550[_0x5b418e(0x17b)]['y']),_0x3d4ded=Math[_0x5b418e(0x17b)](_0xb29d0e['max']['z'],_0x5c4550[_0x5b418e(0x17d)]['z'])-Math[_0x5b418e(0x17d)](_0xb29d0e['min']['z'],_0x5c4550[_0x5b418e(0x17b)]['z']);let _0x37ff83=_0x2f9f6d,_0x656b06='x';_0x34c489<_0x37ff83&&(_0x37ff83=_0x34c489,_0x656b06='y');_0x3d4ded<_0x37ff83&&(_0x37ff83=_0x3d4ded,_0x656b06='z');const _0x334b39=_0xb29d0e[_0x5b418e(0x163)](new webgpu.Vector3()),_0x299613=_0x5c4550['getCenter'](new webgpu.Vector3()),_0xcd211d=_0x299613[_0x5b418e(0x16a)]()[_0x5b418e(0x156)](_0x334b39),_0x1769e1=new webgpu.Vector3(0x0,0x0,0x0);if(_0x656b06==='x')_0x1769e1[_0x5b418e(0x17c)](Math[_0x5b418e(0x150)](_0xcd211d['x'])||0x1,0x0,0x0);else _0x656b06==='y'?_0x1769e1[_0x5b418e(0x17c)](0x0,Math[_0x5b418e(0x150)](_0xcd211d['y'])||0x1,0x0):_0x1769e1[_0x5b418e(0x17c)](0x0,0x0,Math[_0x5b418e(0x150)](_0xcd211d['z'])||0x1);const _0x3c05fd=new webgpu.Vector3((Math['max'](_0xb29d0e['min']['x'],_0x5c4550[_0x5b418e(0x17b)]['x'])+Math[_0x5b418e(0x17b)](_0xb29d0e[_0x5b418e(0x17d)]['x'],_0x5c4550[_0x5b418e(0x17d)]['x']))*0.5,(Math['max'](_0xb29d0e[_0x5b418e(0x17b)]['y'],_0x5c4550[_0x5b418e(0x17b)]['y'])+Math[_0x5b418e(0x17b)](_0xb29d0e['max']['y'],_0x5c4550[_0x5b418e(0x17d)]['y']))*0.5,(Math[_0x5b418e(0x17d)](_0xb29d0e['min']['z'],_0x5c4550[_0x5b418e(0x17b)]['z'])+Math['min'](_0xb29d0e[_0x5b418e(0x17d)]['z'],_0x5c4550[_0x5b418e(0x17d)]['z']))*0.5);return {'self':_0x3c2f15,'other':_0x3f619d,'point':_0x3c05fd,'normal':_0x1769e1,'penetrationDepth':Math[_0x5b418e(0x17d)](0x0,_0x37ff83)};}['getPairKey'](_0x21f0e2,_0x2875c5){const _0x62d39f=_0x3a3b58;return _0x21f0e2[_0x62d39f(0x17e)]<_0x2875c5[_0x62d39f(0x17e)]?_0x21f0e2[_0x62d39f(0x17e)]+'|'+_0x2875c5['uuid']:_0x2875c5[_0x62d39f(0x17e)]+'|'+_0x21f0e2[_0x62d39f(0x17e)];}[_0x3a3b58(0x177)](_0x4cd9ac,_0x3393bd,_0x12ef79,_0x11dc0e){const _0x476097=_0x3a3b58;let _0xf8bf7d=0x0,_0x51e1e6=_0x12ef79;const _0x1307d3=new webgpu.Vector3(0x0,0x0,0x0),_0x3ceb97=1e-8,_0x373bfd=_0x49d295=>{const _0x23b9aa=_0x13b5,_0x5ba93b=_0x4cd9ac[_0x49d295],_0x52a0d9=_0x3393bd[_0x49d295],_0x2903b3=_0x11dc0e[_0x23b9aa(0x17b)][_0x49d295],_0xdeb09=_0x11dc0e[_0x23b9aa(0x17d)][_0x49d295];if(Math[_0x23b9aa(0x160)](_0x52a0d9)<_0x3ceb97){if(_0x5ba93b<_0x2903b3||_0x5ba93b>_0xdeb09)return ![];return !![];}const _0x524339=0x1/_0x52a0d9;let _0xaafea6,_0x24bfbd;const _0xb3a853=new webgpu.Vector3(0x0,0x0,0x0);_0x52a0d9>=0x0?(_0xaafea6=(_0x2903b3-_0x5ba93b)*_0x524339,_0x24bfbd=(_0xdeb09-_0x5ba93b)*_0x524339,_0xb3a853[_0x49d295]=-1):(_0xaafea6=(_0xdeb09-_0x5ba93b)*_0x524339,_0x24bfbd=(_0x2903b3-_0x5ba93b)*_0x524339,_0xb3a853[_0x49d295]=0x1);_0xaafea6>_0xf8bf7d&&(_0xf8bf7d=_0xaafea6,_0x1307d3[_0x23b9aa(0x152)](_0xb3a853));_0x24bfbd<_0x51e1e6&&(_0x51e1e6=_0x24bfbd);if(_0xf8bf7d>_0x51e1e6)return ![];return !![];};if(!_0x373bfd('x')||!_0x373bfd('y')||!_0x373bfd('z'))return null;if(_0x51e1e6<0x0)return null;const _0x1fd8ac=Math[_0x476097(0x17d)](0x0,_0xf8bf7d);if(_0x1fd8ac>_0x12ef79)return null;return {'distance':_0x1fd8ac,'normal':_0x1307d3,'point':_0x4cd9ac[_0x476097(0x16a)]()[_0x476097(0x16c)](_0x3393bd[_0x476097(0x16a)]()[_0x476097(0x179)](_0x1fd8ac))};}}
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _0x2122f4=_0x5bfc;(function(_0x20ec57,_0x48e922){var _0x287717=_0x5bfc,_0x2e23da=_0x20ec57();while(!![]){try{var _0x5b52eb=parseInt(_0x287717(0x125))/0x1+parseInt(_0x287717(0x121))/0x2*(-parseInt(_0x287717(0x148))/0x3)+parseInt(_0x287717(0x13b))/0x4*(parseInt(_0x287717(0x12b))/0x5)+parseInt(_0x287717(0x13f))/0x6*(parseInt(_0x287717(0x14c))/0x7)+parseInt(_0x287717(0x137))/0x8*(parseInt(_0x287717(0x129))/0x9)+parseInt(_0x287717(0x120))/0xa+-parseInt(_0x287717(0x14b))/0xb;if(_0x5b52eb===_0x48e922)break;else _0x2e23da['push'](_0x2e23da['shift']());}catch(_0x43e06c){_0x2e23da['push'](_0x2e23da['shift']());}}}(_0x269b,0xe754a));function _0x5bfc(_0xfa3c3,_0x435b15){_0xfa3c3=_0xfa3c3-0x11d;var _0x269b52=_0x269b();var _0x5bfc12=_0x269b52[_0xfa3c3];return _0x5bfc12;}function _0x269b(){var _0x2cbc2c=['rootActor','app','destroy','623216wMyqGl','threeObject','children','markRenderStateDirty','4NcSdPH','delete','_clippingGroup','KeepRelative','83730nUWLhc','scene\x20is\x20null','length','add','viewport','addActor','getChildActorsByIds','removeFromParent','tickableActors','6RsxXKo','position','worldParam','42343180hYdsMH','413MgRHjw','actor.threeObject\x20is\x20null','getChildActorById','actors','addTickableActor','removeActors','target.threeObject\x20is\x20null','rootComponent','set','rootActor\x20is\x20null','clippingPlanes','levelActorClass','addChildActor','17058570Asxlro','1130434rVfkrm','removeTickableActor','init','tick','265945jMgpRX','forEach','scene','getActorById','153oBdEmi','_rootActor','9039315KBnnCk','clear','remove','controller','addActorClipping','removeActorClipping','getActorsByIds','onAddedToWorld','_physics'];_0x269b=function(){return _0x2cbc2c;};return _0x269b();}class World{get[_0x2122f4(0x127)](){var _0x3d449d=_0x2122f4,_0xd7337e;let _0x2b934b=(_0xd7337e=this[_0x3d449d(0x12a)])===null||_0xd7337e===void 0?void 0:_0xd7337e[_0x3d449d(0x127)];if(!_0x2b934b)throw new Error(_0x3d449d(0x140));return _0x2b934b;}get[_0x2122f4(0x143)](){var _0x3ec33f=_0x2122f4;return this['app'][_0x3ec33f(0x143)];}get[_0x2122f4(0x12e)](){var _0x8f9e55=_0x2122f4;return this[_0x8f9e55(0x135)][_0x8f9e55(0x12e)];}get['rootActor'](){var _0x4d04ec=_0x2122f4;if(!this['_rootActor'])throw new Error(_0x4d04ec(0x155));return this[_0x4d04ec(0x12a)];}get['physics'](){var _0x2de7ce=_0x2122f4;return this[_0x2de7ce(0x133)];}constructor(_0x900c9a,_0x27624c){var _0x2551b3=_0x2122f4;this[_0x2551b3(0x12a)]=null,this['actors']=new Set(),this[_0x2551b3(0x147)]=new Set(),this[_0x2551b3(0x13d)]=null,this[_0x2551b3(0x135)]=_0x900c9a,this['worldParam']=_0x27624c,this[_0x2551b3(0x133)]=new PhysicsWorld();}[_0x2122f4(0x123)](){var _0x33d72d=_0x2122f4;this[_0x33d72d(0x12a)]=new this[(_0x33d72d(0x14a))][(_0x33d72d(0x11e))](this[_0x33d72d(0x135)]);}[_0x2122f4(0x150)](_0xf61f2f){var _0x3b734c=_0x2122f4;this[_0x3b734c(0x147)][_0x3b734c(0x142)](_0xf61f2f);}[_0x2122f4(0x122)](_0x99f260){var _0x25245a=_0x2122f4;this[_0x25245a(0x147)][_0x25245a(0x13c)](_0x99f260);}[_0x2122f4(0x124)](_0x882451){var _0x217774=_0x2122f4;this[_0x217774(0x147)][_0x217774(0x126)](_0xdba3dd=>{_0xdba3dd['tick'](_0x882451);}),this[_0x217774(0x133)][_0x217774(0x124)](_0x882451);}[_0x2122f4(0x136)](){var _0x2f58fd=_0x2122f4,_0x51b43f;this[_0x2f58fd(0x147)]['clear'](),this[_0x2f58fd(0x133)][_0x2f58fd(0x12c)](),this[_0x2f58fd(0x14f)][_0x2f58fd(0x126)](_0x3cb2f2=>{var _0x1d6593=_0x2f58fd;_0x3cb2f2[_0x1d6593(0x136)]();}),this[_0x2f58fd(0x14f)][_0x2f58fd(0x12c)](),(_0x51b43f=this[_0x2f58fd(0x12a)])===null||_0x51b43f===void 0?void 0:_0x51b43f[_0x2f58fd(0x136)](),this[_0x2f58fd(0x12a)]=null;}[_0x2122f4(0x144)](_0xa22d31){var _0x30ec62=_0x2122f4,_0x2036bf;if(!_0xa22d31['rootComponent']['threeObject'])throw new Error(_0x30ec62(0x14d));_0xa22d31[_0x30ec62(0x146)](),(_0x2036bf=this['_rootActor'])===null||_0x2036bf===void 0?void 0:_0x2036bf['addChildActor'](_0xa22d31,exports.AttachmentRules[_0x30ec62(0x13e)]),this[_0x30ec62(0x14f)][_0x30ec62(0x142)](_0xa22d31),_0xa22d31[_0x30ec62(0x132)](this),this[_0x30ec62(0x143)]['markRenderStateDirty']();}['removeActor'](_0x1b6247){var _0x530394=_0x2122f4;_0x1b6247[_0x530394(0x136)](),this[_0x530394(0x14f)][_0x530394(0x13c)](_0x1b6247),this[_0x530394(0x143)][_0x530394(0x13a)]();}[_0x2122f4(0x151)](_0xd34313){var _0x459851=_0x2122f4;for(const _0xd005a7 of _0xd34313){_0xd005a7[_0x459851(0x136)](),this['actors'][_0x459851(0x13c)](_0xd005a7);}this[_0x459851(0x143)][_0x459851(0x13a)]();}[_0x2122f4(0x128)](_0x10a217){var _0x2db37d=_0x2122f4;return this[_0x2db37d(0x134)][_0x2db37d(0x14e)](_0x10a217,!![]);}[_0x2122f4(0x131)](_0x4f534d){var _0x3345d6=_0x2122f4;return this[_0x3345d6(0x134)][_0x3345d6(0x145)](_0x4f534d,!![]);}[_0x2122f4(0x12f)](_0xade3a5,_0x24408c){var _0x3e8281=_0x2122f4;if(!_0xade3a5[_0x3e8281(0x153)][_0x3e8281(0x138)])throw new Error(_0x3e8281(0x152));!this[_0x3e8281(0x13d)]&&(this[_0x3e8281(0x13d)]=new webgpu.ClippingGroup(),this[_0x3e8281(0x13d)][_0x3e8281(0x149)][_0x3e8281(0x154)](0x0,0x0,0x0)),this[_0x3e8281(0x13d)][_0x3e8281(0x11d)]=_0x24408c,this['scene']['add'](this[_0x3e8281(0x13d)]),this[_0x3e8281(0x13d)][_0x3e8281(0x142)](_0xade3a5[_0x3e8281(0x153)][_0x3e8281(0x138)]);}[_0x2122f4(0x130)](_0x4e7860,_0x2245b5=null){var _0x2aaf3a=_0x2122f4,_0x32e1f9;if(!this[_0x2aaf3a(0x13d)])return;if(!_0x4e7860[_0x2aaf3a(0x153)]['threeObject'])throw new Error(_0x2aaf3a(0x152));_0x2245b5?_0x2245b5[_0x2aaf3a(0x11f)](_0x4e7860,exports.AttachmentRules[_0x2aaf3a(0x13e)]):this['addActor'](_0x4e7860),this['_clippingGroup'][_0x2aaf3a(0x139)][_0x2aaf3a(0x141)]===0x0&&((_0x32e1f9=this[_0x2aaf3a(0x13d)]['parent'])===null||_0x32e1f9===void 0?void 0:_0x32e1f9[_0x2aaf3a(0x12d)](this[_0x2aaf3a(0x13d)]),this[_0x2aaf3a(0x13d)]=null);}}
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
(function(_0x45f69b,_0x39505f){var _0x4bd272=_0x31dd,_0x3387ba=_0x45f69b();while(!![]){try{var _0x29b9de=-parseInt(_0x4bd272(0x15e))/0x1*(-parseInt(_0x4bd272(0x15d))/0x2)+-parseInt(_0x4bd272(0x163))/0x3+parseInt(_0x4bd272(0x15b))/0x4+parseInt(_0x4bd272(0x162))/0x5+-parseInt(_0x4bd272(0x15f))/0x6+parseInt(_0x4bd272(0x160))/0x7*(parseInt(_0x4bd272(0x15a))/0x8)+-parseInt(_0x4bd272(0x15c))/0x9;if(_0x29b9de===_0x39505f)break;else _0x3387ba['push'](_0x3387ba['shift']());}catch(_0x4d6693){_0x3387ba['push'](_0x3387ba['shift']());}}}(_0x2db6,0xb2996));function _0x2db6(){var _0x5842be=['1501028oxaWRk','4885047cYsfEf','31538qnaMZz','76QGInYS','1128288ovHpIZ','392xPCYOb','WebGPU','1508470nbtPVA','2874378CiyICF','WebGL','77872SrAxWp'];_0x2db6=function(){return _0x5842be;};return _0x2db6();}exports.RendererType = void 0;(function(_0x17cfec){var _0x5281be=_0x31dd;_0x17cfec[_0x17cfec[_0x5281be(0x161)]=0x0]=_0x5281be(0x161),_0x17cfec[_0x17cfec[_0x5281be(0x164)]=0x1]=_0x5281be(0x164);}(exports.RendererType||(exports.RendererType={})));function _0x31dd(_0x1f5e6a,_0x4278e7){_0x1f5e6a=_0x1f5e6a-0x15a;var _0x2db646=_0x2db6();var _0x31dd70=_0x2db646[_0x1f5e6a];return _0x31dd70;}const DefaultViewportParam={'elementId':null,'renderer':{'type':exports.RendererType['WebGPU']},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
67
67
|
|
|
68
|
-
(function(
|
|
68
|
+
(function(_0x3cc415,_0x3dbf1d){const _0x4ad9db=_0x9f86,_0x27f891=_0x3cc415();while(!![]){try{const _0x3cfee3=parseInt(_0x4ad9db(0x1ae))/0x1*(-parseInt(_0x4ad9db(0x1b4))/0x2)+-parseInt(_0x4ad9db(0x1b2))/0x3*(-parseInt(_0x4ad9db(0x1ad))/0x4)+parseInt(_0x4ad9db(0x1b6))/0x5+-parseInt(_0x4ad9db(0x1bb))/0x6+parseInt(_0x4ad9db(0x1af))/0x7+-parseInt(_0x4ad9db(0x1ba))/0x8*(parseInt(_0x4ad9db(0x1ac))/0x9)+parseInt(_0x4ad9db(0x1ab))/0xa*(parseInt(_0x4ad9db(0x1b7))/0xb);if(_0x3cfee3===_0x3dbf1d)break;else _0x27f891['push'](_0x27f891['shift']());}catch(_0x5abd10){_0x27f891['push'](_0x27f891['shift']());}}}(_0x17e1,0x7ed11));function _0x9f86(_0xfe3259,_0x511be0){_0xfe3259=_0xfe3259-0x1ab;const _0x17e1be=_0x17e1();let _0x9f8688=_0x17e1be[_0xfe3259];return _0x9f8688;}function _0x17e1(){const _0x24b676=['LensFlare','2YomamI','Outline','1284400lEUWnY','22dhNrYs','Bloom','Antialiasing','257816hJVcup','1453224gQOcAs','2756430HYQKXw','279FMbVRJ','29976JMsYat','101324RDbWmQ','7009674tTyxbh','DepthOfField','ScreenSpaceReflection','21rEgkvE'];_0x17e1=function(){return _0x24b676;};return _0x17e1();}const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x4d4e1){const _0x89f498=_0x9f86;_0x4d4e1[_0x4d4e1[_0x89f498(0x1b8)]=0x0]='Bloom',_0x4d4e1[_0x4d4e1[_0x89f498(0x1b0)]=0x1]='DepthOfField',_0x4d4e1[_0x4d4e1[_0x89f498(0x1b1)]=0x2]=_0x89f498(0x1b1),_0x4d4e1[_0x4d4e1['GroundTruthAmbientOcclusion']=0x3]='GroundTruthAmbientOcclusion',_0x4d4e1[_0x4d4e1['Outline']=0x4]=_0x89f498(0x1b5),_0x4d4e1[_0x4d4e1['Antialiasing']=0x5]=_0x89f498(0x1b9),_0x4d4e1[_0x4d4e1[_0x89f498(0x1b3)]=0x6]=_0x89f498(0x1b3);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
69
69
|
|
|
70
|
-
(function(
|
|
70
|
+
const _0x587d74=_0x22bd;(function(_0x3b5cee,_0x987899){const _0x1be2f5=_0x22bd,_0x3b432f=_0x3b5cee();while(!![]){try{const _0x32d245=-parseInt(_0x1be2f5(0x1a1))/0x1*(parseInt(_0x1be2f5(0x1a6))/0x2)+-parseInt(_0x1be2f5(0x1a3))/0x3*(parseInt(_0x1be2f5(0x1aa))/0x4)+-parseInt(_0x1be2f5(0x1a8))/0x5+parseInt(_0x1be2f5(0x1a7))/0x6*(parseInt(_0x1be2f5(0x1a2))/0x7)+parseInt(_0x1be2f5(0x1a9))/0x8*(-parseInt(_0x1be2f5(0x1a5))/0x9)+-parseInt(_0x1be2f5(0x1a4))/0xa+parseInt(_0x1be2f5(0x1a0))/0xb;if(_0x32d245===_0x987899)break;else _0x3b432f['push'](_0x3b432f['shift']());}catch(_0x49ac8f){_0x3b432f['push'](_0x3b432f['shift']());}}}(_0x4cb6,0xbc28a));function _0x4cb6(){const _0x1cfdaf=['143409oBcWeP','6Uzgslr','2523500UobDtb','11694123Mhwwmp','26366atrWZQ','114RryhEg','2663970WWyHLC','8WMVlvR','1016808ARJKot','Bloom','37068130MRSjSr','30oJwwfi'];_0x4cb6=function(){return _0x1cfdaf;};return _0x4cb6();}function _0x22bd(_0x1d8de0,_0x373d3e){_0x1d8de0=_0x1d8de0-0x1a0;const _0x4cb683=_0x4cb6();let _0x22bd57=_0x4cb683[_0x1d8de0];return _0x22bd57;}const DefaultBloomParam={'type':exports.PostProcessStepType[_0x587d74(0x1ab)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
71
71
|
|
|
72
|
-
(function(
|
|
72
|
+
const _0x11125f=_0x6d6b;(function(_0x58601c,_0x868f3e){const _0xb6842c=_0x6d6b,_0x267933=_0x58601c();while(!![]){try{const _0x28b2a=-parseInt(_0xb6842c(0x156))/0x1+parseInt(_0xb6842c(0x155))/0x2+parseInt(_0xb6842c(0x152))/0x3+parseInt(_0xb6842c(0x150))/0x4*(-parseInt(_0xb6842c(0x158))/0x5)+parseInt(_0xb6842c(0x159))/0x6+-parseInt(_0xb6842c(0x154))/0x7+parseInt(_0xb6842c(0x153))/0x8*(-parseInt(_0xb6842c(0x157))/0x9);if(_0x28b2a===_0x868f3e)break;else _0x267933['push'](_0x267933['shift']());}catch(_0x49551d){_0x267933['push'](_0x267933['shift']());}}}(_0x135b,0x2c08d));function _0x6d6b(_0x152d20,_0x1df982){_0x152d20=_0x152d20-0x150;const _0x135b42=_0x135b();let _0x6d6bfe=_0x135b42[_0x152d20];return _0x6d6bfe;}const DefaultDOFParam={'type':exports.PostProcessStepType[_0x11125f(0x151)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};function _0x135b(){const _0x1b4d4e=['DepthOfField','847497fdQvBK','228352knBLZs','198142hOhLcG','265108JxlSKo','149382dANhNZ','72hVuCao','5jTOQCL','1944486InwZOW','610916djEtkV'];_0x135b=function(){return _0x1b4d4e;};return _0x135b();}
|
|
73
73
|
|
|
74
|
-
function
|
|
74
|
+
function _0x2ae8(){const _0x42bcd1=['289495XmJVFW','GroundTruthAmbientOcclusion','19776163dseqxK','8485568USbbDh','140FrBNXs','1GmMKcd','753957wsrWGR','60rlqBFa','26120wNHaIH','5265624aXszsu','2282486lNRTJp','36SqUQYm'];_0x2ae8=function(){return _0x42bcd1;};return _0x2ae8();}const _0x42f407=_0x2af9;(function(_0x3520e4,_0x25e124){const _0x386d0b=_0x2af9,_0x59b40c=_0x3520e4();while(!![]){try{const _0x42fb6b=parseInt(_0x386d0b(0x13e))/0x1*(-parseInt(_0x386d0b(0x137))/0x2)+-parseInt(_0x386d0b(0x138))/0x3*(parseInt(_0x386d0b(0x135))/0x4)+-parseInt(_0x386d0b(0x139))/0x5*(parseInt(_0x386d0b(0x140))/0x6)+-parseInt(_0x386d0b(0x13c))/0x7+parseInt(_0x386d0b(0x136))/0x8+-parseInt(_0x386d0b(0x13f))/0x9*(-parseInt(_0x386d0b(0x13d))/0xa)+parseInt(_0x386d0b(0x13b))/0xb;if(_0x42fb6b===_0x25e124)break;else _0x59b40c['push'](_0x59b40c['shift']());}catch(_0x28abc4){_0x59b40c['push'](_0x59b40c['shift']());}}}(_0x2ae8,0x96e39));function _0x2af9(_0x2d0da6,_0x2c6555){_0x2d0da6=_0x2d0da6-0x135;const _0x2ae8fd=_0x2ae8();let _0x2af908=_0x2ae8fd[_0x2d0da6];return _0x2af908;}const DefaultGTAOParam={'type':exports.PostProcessStepType[_0x42f407(0x13a)],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
75
75
|
|
|
76
|
-
(function(
|
|
76
|
+
const _0x5df829=_0x39cc;(function(_0x283ea6,_0x51895e){const _0x540ed4=_0x39cc,_0x3ab578=_0x283ea6();while(!![]){try{const _0x229f8c=parseInt(_0x540ed4(0xad))/0x1+-parseInt(_0x540ed4(0xaa))/0x2+-parseInt(_0x540ed4(0xa9))/0x3*(parseInt(_0x540ed4(0xa7))/0x4)+-parseInt(_0x540ed4(0xa5))/0x5*(-parseInt(_0x540ed4(0xa6))/0x6)+-parseInt(_0x540ed4(0xa4))/0x7+parseInt(_0x540ed4(0xa8))/0x8+-parseInt(_0x540ed4(0xae))/0x9*(-parseInt(_0x540ed4(0xac))/0xa);if(_0x229f8c===_0x51895e)break;else _0x3ab578['push'](_0x3ab578['shift']());}catch(_0x45545c){_0x3ab578['push'](_0x3ab578['shift']());}}}(_0x4359,0xe4632));function _0x39cc(_0x28a7b1,_0x1de8b7){_0x28a7b1=_0x28a7b1-0xa4;const _0x43596b=_0x4359();let _0x39ccff=_0x43596b[_0x28a7b1];return _0x39ccff;}function _0x4359(){const _0x5a1d89=['105798jkqvTa','513wGLsIL','10671381TIsYDA','1815NEftrs','5358VsHjQS','1028aoyKFO','2148136uzJYbh','14466kZFDLv','236492bELcLf','Outline','547190LgfnAZ'];_0x4359=function(){return _0x5a1d89;};return _0x4359();}const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x5df829(0xab)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
77
77
|
|
|
78
|
-
const
|
|
78
|
+
const _0x54dff4=_0x559a;(function(_0x4792f3,_0x598c8e){const _0x2adf3b=_0x559a,_0x58ab84=_0x4792f3();while(!![]){try{const _0x232714=-parseInt(_0x2adf3b(0x1f5))/0x1+parseInt(_0x2adf3b(0x1f2))/0x2*(parseInt(_0x2adf3b(0x1fb))/0x3)+parseInt(_0x2adf3b(0x1f6))/0x4*(-parseInt(_0x2adf3b(0x1f7))/0x5)+parseInt(_0x2adf3b(0x1fa))/0x6+-parseInt(_0x2adf3b(0x1f9))/0x7*(-parseInt(_0x2adf3b(0x1f0))/0x8)+-parseInt(_0x2adf3b(0x1f3))/0x9*(-parseInt(_0x2adf3b(0x1f8))/0xa)+-parseInt(_0x2adf3b(0x1f1))/0xb;if(_0x232714===_0x598c8e)break;else _0x58ab84['push'](_0x58ab84['shift']());}catch(_0x1ff605){_0x58ab84['push'](_0x58ab84['shift']());}}}(_0x419a,0xc0a31));function _0x559a(_0x56068d,_0x4cf8c5){_0x56068d=_0x56068d-0x1f0;const _0x419af7=_0x419a();let _0x559a70=_0x419af7[_0x56068d];return _0x559a70;}const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0x54dff4(0x1f4)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};function _0x419a(){const _0x573ba5=['518XSuffb','6118938zBsgOp','852597TVBLpG','95696PvDrRs','2100142GFEMue','10mcIzNC','27BGTmzM','LensFlare','1476275HDlrHB','5152148EWKMpR','5nAACdi','1394230DCAAWl'];_0x419a=function(){return _0x573ba5;};return _0x419a();}
|
|
79
79
|
|
|
80
|
-
const _0x1fd86c=_0x952e;(function(_0x2e6ce8,_0x12a161){const _0x140c87=_0x952e,_0xf1e9e2=_0x2e6ce8();while(!![]){try{const _0x1069c1=-parseInt(_0x140c87(0x148))/0x1+-parseInt(_0x140c87(0x12d))/0x2*(parseInt(_0x140c87(0x195))/0x3)+-parseInt(_0x140c87(0x157))/0x4+-parseInt(_0x140c87(0x17b))/0x5*(-parseInt(_0x140c87(0x138))/0x6)+-parseInt(_0x140c87(0x13e))/0x7+-parseInt(_0x140c87(0x16b))/0x8+parseInt(_0x140c87(0x15b))/0x9*(parseInt(_0x140c87(0x191))/0xa);if(_0x1069c1===_0x12a161)break;else _0xf1e9e2['push'](_0xf1e9e2['shift']());}catch(_0x8601a){_0xf1e9e2['push'](_0xf1e9e2['shift']());}}}(_0x3570,0x63098));function _0x3570(){const _0x49ef69=['velocity','100070FqOIng','getLUT3DTexture','hiddenEdgeColor','setup','3sKMrLe','maxblur','Bloom','bloomStrength','updateCamera','setLUT3DTexture','smaa','method','thickness','normal','gtaoThickness','bloomEnabled','aperture','buildPipeline','edgeGlowNode','1025438cyoWQl','focalLengthNode','markDirty','set','steps','downSampleRatio','selectedObjects','select','outlineVisibleEdgeColor','useTemporalFiltering','indexOf','693636cqKEio','traa','greaterThan','traaPass','radius','destroy','3111773UHUEkB','add','gtaoRadius','outputNode','outlinePass','outlineEdgeStrength','fxaa','updateSteps','threshold','splice','174182wLKRAV','gtaoPass','fxaaEnabled','setOutlineObjects','ghostAttenuationFactor','bloomThreshold','edgeStrength','lut3dTexture','lensflarePass','depth','div','effectUniforms','DepthOfField','gtaoDistanceExponent','postProcessing','1636856gQzUMo','samples','getViewZNode','visibleEdgeColor','1890JTSRlZ','GroundTruthAmbientOcclusion','Antialiasing','getStepParam','edgeThickness','render','postProcessParam','LensFlare','has','ghostTint','map','ghostSamples','distanceExponent','distanceFallOff','includes','edgeThicknessNode','4940672qPpsCV','bloomPass','scene','outlinePulsePeriod','dofFocus','updateAllUniforms','output','onDirtyCallback','smaaEnabled','Outline','renderer','addOutlineObject','strength','pulsePeriod','outlineObjects','getTextureNode','20sNsEFv','focusDistanceNode','dofPass','camera','outlineEdgeThickness','onBuildFinalNode','ghostSpacing','processing','dofMaxBlur','outlineHiddenEdgeColor','gtaoSamples','edgeGlow','bokehScaleNode','mul','scale','type','removeOutlineObject','value','push','focus','resolutionScale'];_0x3570=function(){return _0x49ef69;};return _0x3570();}function _0x952e(_0x3f73e4,_0x6fa453){_0x3f73e4=_0x3f73e4-0x121;const _0x3570ac=_0x3570();let _0x952e7d=_0x3570ac[_0x3f73e4];return _0x952e7d;}class PostProcessManager{constructor(_0x325b55,_0x24a2ef,_0x14dc8e,_0x5282e3,_0x3b3a56){const _0x90190=_0x952e;this[_0x90190(0x156)]=null,this[_0x90190(0x179)]=[],this[_0x90190(0x153)]=null,this[_0x90190(0x142)]=null,this[_0x90190(0x16c)]=null,this[_0x90190(0x17d)]=null,this[_0x90190(0x149)]=null,this[_0x90190(0x13b)]=null,this[_0x90190(0x150)]=null,this[_0x90190(0x14f)]=null,this['onDirtyCallback']=null,this[_0x90190(0x175)]=_0x325b55,this['scene']=_0x24a2ef,this[_0x90190(0x17e)]=_0x14dc8e,this[_0x90190(0x161)]=Object['assign']({},_0x5282e3),this[_0x90190(0x172)]=_0x3b3a56!==null&&_0x3b3a56!==void 0?_0x3b3a56:null;}get[_0x1fd86c(0x182)](){const _0x4c4e4e=_0x1fd86c;return this[_0x4c4e4e(0x156)];}[_0x1fd86c(0x122)](_0x56d1fb){const _0x3478f6=_0x1fd86c;this[_0x3478f6(0x17e)]=_0x56d1fb,(!this['postProcessing']||!this[_0x3478f6(0x153)])&&(this['buildPipeline'](),this['updateAllUniforms'](),this['markDirty']());}[_0x1fd86c(0x194)](){const _0x5bd1a0=_0x1fd86c;(!this[_0x5bd1a0(0x156)]||!this[_0x5bd1a0(0x153)])&&this['buildPipeline'](),this[_0x5bd1a0(0x170)](),this['markDirty']();}[_0x1fd86c(0x12b)](){const _0x4865f6=_0x1fd86c;var _0x355111,_0x4a210c,_0x437850,_0x5afc79,_0x474c0a;this['postProcessing']&&this[_0x4865f6(0x156)]['dispose']();this[_0x4865f6(0x156)]=new webgpu.PostProcessing(this[_0x4865f6(0x175)]),this[_0x4865f6(0x142)]=null,this[_0x4865f6(0x16c)]=null,this[_0x4865f6(0x17d)]=null,this['gtaoPass']=null,this[_0x4865f6(0x13b)]=null,this[_0x4865f6(0x150)]=null,this[_0x4865f6(0x153)]=this['createEffectUniforms']();const _0x7efa12=new Set(this[_0x4865f6(0x161)]['steps']['map'](_0x5d6950=>_0x5d6950[_0x4865f6(0x18a)])),_0x64c42a=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x15d)]),_0x56b22b=_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x15c)]),_0x4606b8=(_0x64c42a===null||_0x64c42a===void 0?void 0:_0x64c42a[_0x4865f6(0x125)])===_0x4865f6(0x139),_0xd20332=tsl.pass(this[_0x4865f6(0x16d)],this['camera']);if(_0x56b22b||_0x4606b8){const _0x21b871={'output':tsl.output};if(_0x56b22b)_0x21b871[_0x4865f6(0x127)]=tsl.normalView;if(_0x4606b8)_0x21b871[_0x4865f6(0x190)]=tsl.velocity;_0xd20332['setMRT'](tsl.mrt(_0x21b871));}const _0x1e7d5d=_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x171)),_0x217863=_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x151)),_0xa0a968=_0xd20332[_0x4865f6(0x159)](),_0x3b6adb=_0x56b22b?_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x127)):null,_0x566d96=_0x4606b8?_0xd20332[_0x4865f6(0x17a)](_0x4865f6(0x190)):null,_0x473bb7=this[_0x4865f6(0x153)];let _0x96987c=_0x1e7d5d;const _0x5052d0=_0x7efa12['has'](exports.PostProcessStepType[_0x4865f6(0x197)]),_0x12d852=_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x162)]);if(_0x5052d0||_0x12d852){const _0x431624=(_0x355111=this['getStepParam'](exports.PostProcessStepType['Bloom']))!==null&&_0x355111!==void 0?_0x355111:DefaultBloomParam;this[_0x4865f6(0x16c)]=BloomNode_js.bloom(_0x1e7d5d),this[_0x4865f6(0x16c)][_0x4865f6(0x146)][_0x4865f6(0x18c)]=_0x431624[_0x4865f6(0x146)],this['bloomPass']['strength'][_0x4865f6(0x18c)]=_0x431624[_0x4865f6(0x177)],this[_0x4865f6(0x16c)][_0x4865f6(0x13c)][_0x4865f6(0x18c)]=_0x431624['radius'];if(_0x5052d0){const _0x4330a5=this['bloomPass'][_0x4865f6(0x188)](_0x473bb7[_0x4865f6(0x121)]);_0x96987c=tsl.vec4(_0x1e7d5d['r'][_0x4865f6(0x13f)](_0x4330a5['r']),_0x1e7d5d['g'][_0x4865f6(0x13f)](_0x4330a5['g']),_0x1e7d5d['b']['add'](_0x4330a5['b']),_0x1e7d5d['a']);}if(_0x12d852){const _0x1a5b60=(_0x4a210c=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x162)]))!==null&&_0x4a210c!==void 0?_0x4a210c:DefaultLensFlareParam;this[_0x4865f6(0x150)]=LensflareNode_js.lensflare(this[_0x4865f6(0x16c)]['getTextureNode'](),{'ghostTint':tsl.vec3(_0x1a5b60['ghostTint'][0x0],_0x1a5b60[_0x4865f6(0x164)][0x1],_0x1a5b60['ghostTint'][0x2]),'threshold':tsl.float(_0x1a5b60[_0x4865f6(0x146)]),'ghostSamples':tsl.float(_0x1a5b60[_0x4865f6(0x166)]),'ghostSpacing':tsl.float(_0x1a5b60[_0x4865f6(0x181)]),'ghostAttenuationFactor':tsl.float(_0x1a5b60[_0x4865f6(0x14c)]),'downSampleRatio':_0x1a5b60[_0x4865f6(0x132)]});const _0x4437b1=this[_0x4865f6(0x150)][_0x4865f6(0x17a)]();_0x96987c=tsl.vec4(_0x96987c['r'][_0x4865f6(0x13f)](_0x4437b1['r']),_0x96987c['g'][_0x4865f6(0x13f)](_0x4437b1['g']),_0x96987c['b'][_0x4865f6(0x13f)](_0x4437b1['b']),_0x96987c['a']);}}if(_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x154)])){const _0x144948=(_0x437850=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x154)]))!==null&&_0x437850!==void 0?_0x437850:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x96987c,_0xa0a968,tsl.uniform(_0x144948[_0x4865f6(0x18e)]),tsl.uniform(_0x144948[_0x4865f6(0x12a)]),tsl.uniform(_0x144948[_0x4865f6(0x196)])),_0x96987c=tsl.vec4(this[_0x4865f6(0x17d)]['r'],this['dofPass']['g'],this['dofPass']['b'],_0x1e7d5d['a']);}if(_0x56b22b&&_0x3b6adb){const _0xb927a0=(_0x5afc79=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x15c)]))!==null&&_0x5afc79!==void 0?_0x5afc79:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x217863,_0x3b6adb,this[_0x4865f6(0x17e)]),this[_0x4865f6(0x149)][_0x4865f6(0x18f)]=0.5,this[_0x4865f6(0x149)]['distanceExponent']['value']=_0xb927a0[_0x4865f6(0x167)],this[_0x4865f6(0x149)][_0x4865f6(0x168)]['value']=_0xb927a0[_0x4865f6(0x168)],this['gtaoPass'][_0x4865f6(0x13c)][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x13c)],this[_0x4865f6(0x149)][_0x4865f6(0x189)][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x189)],this['gtaoPass']['thickness'][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x126)],this['gtaoPass'][_0x4865f6(0x158)][_0x4865f6(0x18c)]=_0xb927a0[_0x4865f6(0x158)],this[_0x4865f6(0x149)][_0x4865f6(0x136)]=_0xb927a0['useTemporalFiltering'];const _0x28edf6=this[_0x4865f6(0x149)][_0x4865f6(0x17a)]()['r'];_0x96987c=tsl.vec4(_0x96987c['r']['mul'](_0x28edf6),_0x96987c['g']['mul'](_0x28edf6),_0x96987c['b'][_0x4865f6(0x188)](_0x28edf6),_0x96987c['a']);}if(_0x7efa12[_0x4865f6(0x163)](exports.PostProcessStepType[_0x4865f6(0x174)])){const _0x4ce811=(_0x474c0a=this[_0x4865f6(0x15e)](exports.PostProcessStepType[_0x4865f6(0x174)]))!==null&&_0x474c0a!==void 0?_0x474c0a:DefaultOutlineParams;this[_0x4865f6(0x142)]=OutlineNode_js.outline(this['scene'],this[_0x4865f6(0x17e)],{'selectedObjects':this[_0x4865f6(0x179)],'edgeGlow':tsl.uniform(_0x4ce811[_0x4865f6(0x186)]),'edgeThickness':tsl.uniform(_0x4ce811['edgeThickness'])});const {visibleEdge:_0x37c92c,hiddenEdge:_0xac165d}=this[_0x4865f6(0x142)],_0x3dcb93=_0x473bb7['outlinePulsePeriod'][_0x4865f6(0x13a)](0x0)[_0x4865f6(0x134)](_0x473bb7[_0x4865f6(0x16e)],tsl.uniform(0x1)),_0x279497=tsl.time[_0x4865f6(0x152)](_0x3dcb93)[_0x4865f6(0x188)](0x2),_0x5b9ecb=tsl.oscSine(_0x279497)[_0x4865f6(0x188)](0.5)[_0x4865f6(0x13f)](0.5),_0x19493e=_0x37c92c[_0x4865f6(0x188)](_0x473bb7['outlineVisibleEdgeColor'])[_0x4865f6(0x13f)](_0xac165d[_0x4865f6(0x188)](_0x473bb7[_0x4865f6(0x184)]))[_0x4865f6(0x188)](_0x473bb7['outlineEdgeStrength']),_0x118cde=_0x473bb7[_0x4865f6(0x16e)]['greaterThan'](0x0),_0x306ac6=_0x118cde[_0x4865f6(0x134)](_0x5b9ecb,tsl.float(0x1));_0x96987c=tsl.vec4(_0x96987c['r']['add'](_0x19493e['r']['mul'](_0x306ac6)),_0x96987c['g'][_0x4865f6(0x13f)](_0x19493e['g']['mul'](_0x306ac6)),_0x96987c['b'][_0x4865f6(0x13f)](_0x19493e['b'][_0x4865f6(0x188)](_0x306ac6)),_0x96987c['a']);}if(_0x64c42a){if(_0x64c42a['method']===_0x4865f6(0x144))_0x96987c=FXAANode_js.fxaa(_0x96987c);else {if(_0x64c42a[_0x4865f6(0x125)]===_0x4865f6(0x124))_0x96987c=SMAANode_js.smaa(_0x96987c);else _0x64c42a['method']===_0x4865f6(0x139)&&_0x566d96&&(this['traaPass']=TRAANode_js.traa(_0x96987c,_0x217863,_0x566d96,this[_0x4865f6(0x17e)]),_0x96987c=this[_0x4865f6(0x13b)][_0x4865f6(0x17a)]());}}_0x96987c=this[_0x4865f6(0x180)](_0x96987c),_0x96987c=tsl.vec4(_0x96987c['r'],_0x96987c['g'],_0x96987c['b'],_0x1e7d5d['a']),this['postProcessing'][_0x4865f6(0x141)]=_0x96987c,this[_0x4865f6(0x156)]['needsUpdate']=!![];}[_0x1fd86c(0x180)](_0x45520e){return _0x45520e;}['createEffectUniforms'](){const _0x27a098=_0x1fd86c;var _0x2b213f,_0x26a825,_0x42a911,_0x54740a;const _0x24aa93=(_0x2b213f=this['getStepParam'](exports.PostProcessStepType[_0x27a098(0x197)]))!==null&&_0x2b213f!==void 0?_0x2b213f:DefaultBloomParam,_0x2ee141=(_0x26a825=this[_0x27a098(0x15e)](exports.PostProcessStepType[_0x27a098(0x154)]))!==null&&_0x26a825!==void 0?_0x26a825:DefaultDOFParam,_0x3ef6fc=(_0x42a911=this[_0x27a098(0x15e)](exports.PostProcessStepType[_0x27a098(0x15c)]))!==null&&_0x42a911!==void 0?_0x42a911:DefaultGTAOParam,_0x54a0ca=(_0x54740a=this[_0x27a098(0x15e)](exports.PostProcessStepType['Outline']))!==null&&_0x54740a!==void 0?_0x54740a:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x24aa93[_0x27a098(0x177)]),'bloomThreshold':tsl.uniform(_0x24aa93[_0x27a098(0x146)]),'bloomRadius':tsl.uniform(_0x24aa93[_0x27a098(0x13c)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x2ee141['focus']),'dofAperture':tsl.uniform(_0x2ee141['aperture']),'dofMaxBlur':tsl.uniform(_0x2ee141['maxblur']),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x3ef6fc[_0x27a098(0x189)]),'gtaoDistanceExponent':tsl.uniform(_0x3ef6fc[_0x27a098(0x167)]),'gtaoDistanceFallOff':tsl.uniform(_0x3ef6fc[_0x27a098(0x168)]),'gtaoRadius':tsl.uniform(_0x3ef6fc['radius']),'gtaoThickness':tsl.uniform(_0x3ef6fc[_0x27a098(0x126)]),'gtaoSamples':tsl.uniform(_0x3ef6fc[_0x27a098(0x158)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x54a0ca[_0x27a098(0x14e)]),'outlineEdgeGlow':tsl.uniform(_0x54a0ca[_0x27a098(0x186)]),'outlineEdgeThickness':tsl.uniform(_0x54a0ca[_0x27a098(0x15f)]),'outlinePulsePeriod':tsl.uniform(_0x54a0ca[_0x27a098(0x178)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x54a0ca['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x54a0ca[_0x27a098(0x193)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x1fd86c(0x15e)](_0x54dd5a){const _0xb9fe37=_0x1fd86c;var _0x57dd81;return (_0x57dd81=this[_0xb9fe37(0x161)][_0xb9fe37(0x131)]['find'](_0x4b87d0=>_0x4b87d0['type']===_0x54dd5a))!==null&&_0x57dd81!==void 0?_0x57dd81:null;}[_0x1fd86c(0x170)](){const _0x145a57=_0x1fd86c;if(!this[_0x145a57(0x153)])return;const _0xdd31d6=this[_0x145a57(0x153)],_0x5d6b45=new Set(this[_0x145a57(0x161)]['steps'][_0x145a57(0x165)](_0x54fa66=>_0x54fa66[_0x145a57(0x18a)]));_0xdd31d6[_0x145a57(0x129)][_0x145a57(0x18c)]=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType[_0x145a57(0x197)])?0x1:0x0,_0xdd31d6['dofEnabled'][_0x145a57(0x18c)]=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0xdd31d6['gtaoEnabled'][_0x145a57(0x18c)]=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0xdd31d6['outlineEnabled']['value']=_0x5d6b45[_0x145a57(0x163)](exports.PostProcessStepType[_0x145a57(0x174)])?0x1:0x0,_0xdd31d6['lensflareEnabled'][_0x145a57(0x18c)]=_0x5d6b45['has'](exports.PostProcessStepType[_0x145a57(0x162)])?0x1:0x0;const _0x37d949=this[_0x145a57(0x15e)](exports.PostProcessStepType['Antialiasing']);_0x37d949?(_0xdd31d6[_0x145a57(0x14a)]['value']=_0x37d949[_0x145a57(0x125)]===_0x145a57(0x144)?0x1:0x0,_0xdd31d6['smaaEnabled'][_0x145a57(0x18c)]=_0x37d949[_0x145a57(0x125)]===_0x145a57(0x124)?0x1:0x0):(_0xdd31d6[_0x145a57(0x14a)][_0x145a57(0x18c)]=0x0,_0xdd31d6[_0x145a57(0x173)][_0x145a57(0x18c)]=0x0);const _0x188170=this[_0x145a57(0x15e)](exports.PostProcessStepType[_0x145a57(0x197)]);_0x188170&&(_0xdd31d6[_0x145a57(0x121)][_0x145a57(0x18c)]=_0x188170[_0x145a57(0x177)],_0xdd31d6[_0x145a57(0x14d)][_0x145a57(0x18c)]=_0x188170[_0x145a57(0x146)],_0xdd31d6['bloomRadius']['value']=_0x188170[_0x145a57(0x13c)],this[_0x145a57(0x16c)]&&(this[_0x145a57(0x16c)]['threshold']['value']=_0x188170['threshold'],this[_0x145a57(0x16c)][_0x145a57(0x177)][_0x145a57(0x18c)]=_0x188170[_0x145a57(0x177)],this[_0x145a57(0x16c)][_0x145a57(0x13c)]['value']=_0x188170[_0x145a57(0x13c)]));const _0x57154c=this['getStepParam'](exports.PostProcessStepType[_0x145a57(0x162)]);if(_0x57154c&&this[_0x145a57(0x150)]);const _0x2e6a75=this['getStepParam'](exports.PostProcessStepType['DepthOfField']);_0x2e6a75&&(_0xdd31d6[_0x145a57(0x16f)][_0x145a57(0x18c)]=_0x2e6a75[_0x145a57(0x18e)],_0xdd31d6['dofAperture']['value']=_0x2e6a75[_0x145a57(0x12a)],_0xdd31d6[_0x145a57(0x183)]['value']=_0x2e6a75[_0x145a57(0x196)],this['dofPass']&&(this[_0x145a57(0x17d)][_0x145a57(0x17c)][_0x145a57(0x18c)]=_0x2e6a75['focus'],this[_0x145a57(0x17d)][_0x145a57(0x12e)][_0x145a57(0x18c)]=_0x2e6a75[_0x145a57(0x12a)],this[_0x145a57(0x17d)][_0x145a57(0x187)][_0x145a57(0x18c)]=_0x2e6a75[_0x145a57(0x196)]));const _0x3e0e1e=this[_0x145a57(0x15e)](exports.PostProcessStepType[_0x145a57(0x15c)]);_0x3e0e1e&&(_0xdd31d6['gtaoScale']['value']=_0x3e0e1e[_0x145a57(0x189)],_0xdd31d6[_0x145a57(0x155)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x167)],_0xdd31d6['gtaoDistanceFallOff']['value']=_0x3e0e1e[_0x145a57(0x168)],_0xdd31d6[_0x145a57(0x140)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x13c)],_0xdd31d6[_0x145a57(0x128)]['value']=_0x3e0e1e[_0x145a57(0x126)],_0xdd31d6[_0x145a57(0x185)]['value']=_0x3e0e1e[_0x145a57(0x158)],this[_0x145a57(0x149)]&&(this[_0x145a57(0x149)][_0x145a57(0x167)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x167)],this[_0x145a57(0x149)][_0x145a57(0x168)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x168)],this[_0x145a57(0x149)][_0x145a57(0x13c)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x13c)],this[_0x145a57(0x149)][_0x145a57(0x189)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x189)],this[_0x145a57(0x149)]['thickness'][_0x145a57(0x18c)]=_0x3e0e1e['thickness'],this[_0x145a57(0x149)][_0x145a57(0x158)][_0x145a57(0x18c)]=_0x3e0e1e[_0x145a57(0x158)],this['gtaoPass'][_0x145a57(0x136)]=_0x3e0e1e['useTemporalFiltering']));const _0x5f566a=this['getStepParam'](exports.PostProcessStepType[_0x145a57(0x174)]);_0x5f566a&&(_0xdd31d6[_0x145a57(0x143)]['value']=_0x5f566a[_0x145a57(0x14e)],_0xdd31d6['outlineEdgeGlow'][_0x145a57(0x18c)]=_0x5f566a[_0x145a57(0x186)],_0xdd31d6[_0x145a57(0x17f)][_0x145a57(0x18c)]=_0x5f566a[_0x145a57(0x15f)],_0xdd31d6[_0x145a57(0x16e)][_0x145a57(0x18c)]=_0x5f566a[_0x145a57(0x178)],_0xdd31d6[_0x145a57(0x135)][_0x145a57(0x18c)][_0x145a57(0x130)](_0x5f566a[_0x145a57(0x15a)]),_0xdd31d6['outlineHiddenEdgeColor'][_0x145a57(0x18c)][_0x145a57(0x130)](_0x5f566a[_0x145a57(0x193)]),this[_0x145a57(0x142)]&&(this[_0x145a57(0x142)][_0x145a57(0x12c)][_0x145a57(0x18c)]=_0x5f566a['edgeGlow'],this[_0x145a57(0x142)][_0x145a57(0x16a)][_0x145a57(0x18c)]=_0x5f566a['edgeThickness'],this[_0x145a57(0x142)][_0x145a57(0x133)]=this[_0x145a57(0x179)]));}[_0x1fd86c(0x145)](_0x50cbb7){const _0x3ffe1e=_0x1fd86c;this[_0x3ffe1e(0x161)]['steps']=_0x50cbb7,this[_0x3ffe1e(0x12b)](),this[_0x3ffe1e(0x170)](),this['markDirty']();}[_0x1fd86c(0x176)](_0x34591f){const _0x136580=_0x1fd86c;!this[_0x136580(0x179)][_0x136580(0x169)](_0x34591f)&&(this[_0x136580(0x179)][_0x136580(0x18d)](_0x34591f),this['outlinePass']&&(this[_0x136580(0x142)]['selectedObjects']=this[_0x136580(0x179)])),this['markDirty']();}[_0x1fd86c(0x14b)](_0x55d146){const _0x52c796=_0x1fd86c;this[_0x52c796(0x179)]['length']=0x0,this[_0x52c796(0x179)][_0x52c796(0x18d)](..._0x55d146),this[_0x52c796(0x142)]&&(this[_0x52c796(0x142)][_0x52c796(0x133)]=this['outlineObjects']),this[_0x52c796(0x12f)]();}[_0x1fd86c(0x18b)](_0x429ff1){const _0x2bcee5=_0x1fd86c,_0x7ab25=this['outlineObjects'][_0x2bcee5(0x137)](_0x429ff1);_0x7ab25>-1&&(this[_0x2bcee5(0x179)][_0x2bcee5(0x147)](_0x7ab25,0x1),this['outlinePass']&&(this[_0x2bcee5(0x142)]['selectedObjects']=this['outlineObjects'])),this['markDirty']();}[_0x1fd86c(0x123)](_0x10a242){const _0x1e7f2b=_0x1fd86c;this[_0x1e7f2b(0x14f)]=_0x10a242,this[_0x1e7f2b(0x12b)](),this[_0x1e7f2b(0x170)](),this['markDirty']();}[_0x1fd86c(0x192)](){return this['lut3dTexture'];}[_0x1fd86c(0x160)](){const _0x5a2e93=_0x1fd86c;if(this[_0x5a2e93(0x156)])return this[_0x5a2e93(0x156)]['render'](),!![];return ![];}[_0x1fd86c(0x13d)](){const _0x1e8d9a=_0x1fd86c;this[_0x1e8d9a(0x179)]=[],this[_0x1e8d9a(0x153)]=null,this[_0x1e8d9a(0x142)]=null,this[_0x1e8d9a(0x16c)]=null,this[_0x1e8d9a(0x17d)]=null,this[_0x1e8d9a(0x149)]=null,this[_0x1e8d9a(0x13b)]=null,this[_0x1e8d9a(0x150)]=null,this[_0x1e8d9a(0x14f)]=null,this[_0x1e8d9a(0x156)]&&(this[_0x1e8d9a(0x156)]['dispose'](),this[_0x1e8d9a(0x156)]=null);}[_0x1fd86c(0x12f)](){this['onDirtyCallback']&&this['onDirtyCallback']();}}
|
|
80
|
+
const _0x330da1=_0x2d1b;(function(_0x447c29,_0x246ebf){const _0x379774=_0x2d1b,_0x3963d5=_0x447c29();while(!![]){try{const _0x573a3a=-parseInt(_0x379774(0x223))/0x1*(parseInt(_0x379774(0x20b))/0x2)+-parseInt(_0x379774(0x248))/0x3*(-parseInt(_0x379774(0x23b))/0x4)+parseInt(_0x379774(0x245))/0x5*(-parseInt(_0x379774(0x1fe))/0x6)+-parseInt(_0x379774(0x207))/0x7*(-parseInt(_0x379774(0x200))/0x8)+-parseInt(_0x379774(0x1f5))/0x9+parseInt(_0x379774(0x1de))/0xa+parseInt(_0x379774(0x201))/0xb*(parseInt(_0x379774(0x1ed))/0xc);if(_0x573a3a===_0x246ebf)break;else _0x3963d5['push'](_0x3963d5['shift']());}catch(_0x35b88d){_0x3963d5['push'](_0x3963d5['shift']());}}}(_0x2ff9,0x48102));function _0x2ff9(){const _0x706a9e=['lut3dTexture','type','scene','smaa','Bloom','24bgdGSz','distanceFallOff','edgeGlowNode','ghostSamples','lensflareEnabled','map','scale','distanceExponent','1779606OvpAZg','gtaoPass','visibleEdgeColor','ghostTint','ghostSpacing','DepthOfField','depth','thickness','postProcessParam','6wLJaCO','onBuildFinalNode','55864xLrXTJ','994972qcMvUu','camera','maxblur','velocity','markDirty','aperture','469IyGXCS','resolutionScale','radius','outlineHiddenEdgeColor','40JKhotw','bloomPass','LensFlare','downSampleRatio','outputNode','bokehScaleNode','value','focus','bloomStrength','traa','includes','buildPipeline','edgeThickness','Outline','div','needsUpdate','outlineVisibleEdgeColor','threshold','Antialiasing','outlinePass','setup','setLUT3DTexture','find','GroundTruthAmbientOcclusion','16267uXanQa','renderer','gtaoDistanceFallOff','setMRT','fxaaEnabled','smaaEnabled','dofPass','strength','splice','steps','outlinePulsePeriod','focusDistanceNode','greaterThan','gtaoDistanceExponent','updateAllUniforms','set','length','gtaoSamples','getTextureNode','gtaoRadius','hiddenEdgeColor','outlineObjects','gtaoThickness','lensflarePass','152OJLJCf','ghostAttenuationFactor','pulsePeriod','createEffectUniforms','normal','outlineEnabled','selectedObjects','edgeStrength','setOutlineObjects','getStepParam','2187235FFeFkf','outlineEdgeThickness','processing','21732ZORJLC','addOutlineObject','dofMaxBlur','samples','method','mul','indexOf','destroy','onDirtyCallback','useTemporalFiltering','add','dispose','fxaa','render','getLUT3DTexture','has','updateSteps','updateCamera','output','focalLengthNode','3316540HZpBHZ','dofAperture','postProcessing','select','edgeGlow','push','gtaoEnabled','traaPass','effectUniforms','outlineEdgeStrength'];_0x2ff9=function(){return _0x706a9e;};return _0x2ff9();}function _0x2d1b(_0x5b4f9e,_0x1c26da){_0x5b4f9e=_0x5b4f9e-0x1dd;const _0x2ff912=_0x2ff9();let _0x2d1b5b=_0x2ff912[_0x5b4f9e];return _0x2d1b5b;}class PostProcessManager{constructor(_0x25a168,_0x55987b,_0x45b51c,_0x38e8ae,_0x2f436a){const _0x2d7a8a=_0x2d1b;this[_0x2d7a8a(0x1e0)]=null,this['outlineObjects']=[],this[_0x2d7a8a(0x1e6)]=null,this[_0x2d7a8a(0x21e)]=null,this['bloomPass']=null,this[_0x2d7a8a(0x229)]=null,this['gtaoPass']=null,this[_0x2d7a8a(0x1e5)]=null,this[_0x2d7a8a(0x23a)]=null,this['lut3dTexture']=null,this[_0x2d7a8a(0x250)]=null,this['renderer']=_0x25a168,this[_0x2d7a8a(0x1ea)]=_0x55987b,this['camera']=_0x45b51c,this[_0x2d7a8a(0x1fd)]=Object['assign']({},_0x38e8ae),this['onDirtyCallback']=_0x2f436a!==null&&_0x2f436a!==void 0?_0x2f436a:null;}get[_0x330da1(0x247)](){return this['postProcessing'];}[_0x330da1(0x259)](_0x2534ce){const _0x3dd8dc=_0x330da1;this['camera']=_0x2534ce,(!this[_0x3dd8dc(0x1e0)]||!this[_0x3dd8dc(0x1e6)])&&(this[_0x3dd8dc(0x216)](),this[_0x3dd8dc(0x231)](),this[_0x3dd8dc(0x205)]());}[_0x330da1(0x21f)](){const _0x355021=_0x330da1;(!this[_0x355021(0x1e0)]||!this[_0x355021(0x1e6)])&&this[_0x355021(0x216)](),this[_0x355021(0x231)](),this[_0x355021(0x205)]();}['buildPipeline'](){const _0x2176e7=_0x330da1;var _0x4d888f,_0xbe961d,_0x322a7d,_0x55e769,_0x35976f;this[_0x2176e7(0x1e0)]&&this[_0x2176e7(0x1e0)][_0x2176e7(0x253)]();this['postProcessing']=new webgpu.PostProcessing(this[_0x2176e7(0x224)]),this['outlinePass']=null,this['bloomPass']=null,this[_0x2176e7(0x229)]=null,this['gtaoPass']=null,this[_0x2176e7(0x1e5)]=null,this[_0x2176e7(0x23a)]=null,this[_0x2176e7(0x1e6)]=this[_0x2176e7(0x23e)]();const _0x114652=new Set(this[_0x2176e7(0x1fd)][_0x2176e7(0x22c)][_0x2176e7(0x1f2)](_0x2d9cbe=>_0x2d9cbe[_0x2176e7(0x1e9)])),_0x3db7cd=this[_0x2176e7(0x244)](exports.PostProcessStepType[_0x2176e7(0x21d)]),_0x1c7d61=_0x114652[_0x2176e7(0x257)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']),_0x2a1432=(_0x3db7cd===null||_0x3db7cd===void 0?void 0:_0x3db7cd[_0x2176e7(0x24c)])===_0x2176e7(0x214),_0x5c1bdc=tsl.pass(this[_0x2176e7(0x1ea)],this['camera']);if(_0x1c7d61||_0x2a1432){const _0x2efccb={'output':tsl.output};if(_0x1c7d61)_0x2efccb[_0x2176e7(0x23f)]=tsl.normalView;if(_0x2a1432)_0x2efccb['velocity']=tsl.velocity;_0x5c1bdc[_0x2176e7(0x226)](tsl.mrt(_0x2efccb));}const _0x523904=_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x25a)),_0x20f87a=_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x1fb)),_0x1ee1da=_0x5c1bdc['getViewZNode'](),_0xe9ed51=_0x1c7d61?_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x23f)):null,_0x55e2b=_0x2a1432?_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x204)):null,_0x257866=this[_0x2176e7(0x1e6)];let _0xc8ec99=_0x523904;const _0x54e055=_0x114652[_0x2176e7(0x257)](exports.PostProcessStepType[_0x2176e7(0x1ec)]),_0x3f4a1c=_0x114652['has'](exports.PostProcessStepType[_0x2176e7(0x20d)]);if(_0x54e055||_0x3f4a1c){const _0x5f51d7=(_0x4d888f=this[_0x2176e7(0x244)](exports.PostProcessStepType[_0x2176e7(0x1ec)]))!==null&&_0x4d888f!==void 0?_0x4d888f:DefaultBloomParam;this[_0x2176e7(0x20c)]=BloomNode_js.bloom(_0x523904),this[_0x2176e7(0x20c)][_0x2176e7(0x21c)][_0x2176e7(0x211)]=_0x5f51d7[_0x2176e7(0x21c)],this[_0x2176e7(0x20c)][_0x2176e7(0x22a)]['value']=_0x5f51d7['strength'],this[_0x2176e7(0x20c)]['radius'][_0x2176e7(0x211)]=_0x5f51d7[_0x2176e7(0x209)];if(_0x54e055){const _0x11377e=this['bloomPass'][_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x213)]);_0xc8ec99=tsl.vec4(_0x523904['r'][_0x2176e7(0x252)](_0x11377e['r']),_0x523904['g'][_0x2176e7(0x252)](_0x11377e['g']),_0x523904['b']['add'](_0x11377e['b']),_0x523904['a']);}if(_0x3f4a1c){const _0x15237b=(_0xbe961d=this[_0x2176e7(0x244)](exports.PostProcessStepType['LensFlare']))!==null&&_0xbe961d!==void 0?_0xbe961d:DefaultLensFlareParam;this[_0x2176e7(0x23a)]=LensflareNode_js.lensflare(this[_0x2176e7(0x20c)][_0x2176e7(0x235)](),{'ghostTint':tsl.vec3(_0x15237b['ghostTint'][0x0],_0x15237b['ghostTint'][0x1],_0x15237b[_0x2176e7(0x1f8)][0x2]),'threshold':tsl.float(_0x15237b[_0x2176e7(0x21c)]),'ghostSamples':tsl.float(_0x15237b[_0x2176e7(0x1f0)]),'ghostSpacing':tsl.float(_0x15237b[_0x2176e7(0x1f9)]),'ghostAttenuationFactor':tsl.float(_0x15237b[_0x2176e7(0x23c)]),'downSampleRatio':_0x15237b[_0x2176e7(0x20e)]});const _0x59c2a1=this[_0x2176e7(0x23a)]['getTextureNode']();_0xc8ec99=tsl.vec4(_0xc8ec99['r'][_0x2176e7(0x252)](_0x59c2a1['r']),_0xc8ec99['g']['add'](_0x59c2a1['g']),_0xc8ec99['b'][_0x2176e7(0x252)](_0x59c2a1['b']),_0xc8ec99['a']);}}if(_0x114652[_0x2176e7(0x257)](exports.PostProcessStepType[_0x2176e7(0x1fa)])){const _0x4e35b7=(_0x322a7d=this[_0x2176e7(0x244)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x322a7d!==void 0?_0x322a7d:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0xc8ec99,_0x1ee1da,tsl.uniform(_0x4e35b7[_0x2176e7(0x212)]),tsl.uniform(_0x4e35b7[_0x2176e7(0x206)]),tsl.uniform(_0x4e35b7['maxblur'])),_0xc8ec99=tsl.vec4(this[_0x2176e7(0x229)]['r'],this[_0x2176e7(0x229)]['g'],this[_0x2176e7(0x229)]['b'],_0x523904['a']);}if(_0x1c7d61&&_0xe9ed51){const _0x4db982=(_0x55e769=this[_0x2176e7(0x244)](exports.PostProcessStepType[_0x2176e7(0x222)]))!==null&&_0x55e769!==void 0?_0x55e769:DefaultGTAOParam;this[_0x2176e7(0x1f6)]=GTAONode_js.ao(_0x20f87a,_0xe9ed51,this[_0x2176e7(0x202)]),this[_0x2176e7(0x1f6)][_0x2176e7(0x208)]=0.5,this[_0x2176e7(0x1f6)][_0x2176e7(0x1f4)][_0x2176e7(0x211)]=_0x4db982[_0x2176e7(0x1f4)],this[_0x2176e7(0x1f6)][_0x2176e7(0x1ee)][_0x2176e7(0x211)]=_0x4db982['distanceFallOff'],this[_0x2176e7(0x1f6)][_0x2176e7(0x209)][_0x2176e7(0x211)]=_0x4db982[_0x2176e7(0x209)],this[_0x2176e7(0x1f6)][_0x2176e7(0x1f3)][_0x2176e7(0x211)]=_0x4db982[_0x2176e7(0x1f3)],this[_0x2176e7(0x1f6)][_0x2176e7(0x1fc)]['value']=_0x4db982[_0x2176e7(0x1fc)],this[_0x2176e7(0x1f6)][_0x2176e7(0x24b)][_0x2176e7(0x211)]=_0x4db982['samples'],this[_0x2176e7(0x1f6)][_0x2176e7(0x251)]=_0x4db982[_0x2176e7(0x251)];const _0x1603df=this[_0x2176e7(0x1f6)][_0x2176e7(0x235)]()['r'];_0xc8ec99=tsl.vec4(_0xc8ec99['r'][_0x2176e7(0x24d)](_0x1603df),_0xc8ec99['g'][_0x2176e7(0x24d)](_0x1603df),_0xc8ec99['b']['mul'](_0x1603df),_0xc8ec99['a']);}if(_0x114652[_0x2176e7(0x257)](exports.PostProcessStepType[_0x2176e7(0x218)])){const _0x4afdb1=(_0x35976f=this['getStepParam'](exports.PostProcessStepType[_0x2176e7(0x218)]))!==null&&_0x35976f!==void 0?_0x35976f:DefaultOutlineParams;this[_0x2176e7(0x21e)]=OutlineNode_js.outline(this[_0x2176e7(0x1ea)],this[_0x2176e7(0x202)],{'selectedObjects':this['outlineObjects'],'edgeGlow':tsl.uniform(_0x4afdb1[_0x2176e7(0x1e2)]),'edgeThickness':tsl.uniform(_0x4afdb1['edgeThickness'])});const {visibleEdge:_0x5d62f5,hiddenEdge:_0x40f081}=this[_0x2176e7(0x21e)],_0x2cfdc0=_0x257866['outlinePulsePeriod'][_0x2176e7(0x22f)](0x0)[_0x2176e7(0x1e1)](_0x257866[_0x2176e7(0x22d)],tsl.uniform(0x1)),_0x21f996=tsl.time[_0x2176e7(0x219)](_0x2cfdc0)[_0x2176e7(0x24d)](0x2),_0x2f975a=tsl.oscSine(_0x21f996)[_0x2176e7(0x24d)](0.5)[_0x2176e7(0x252)](0.5),_0x44d823=_0x5d62f5[_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x21b)])[_0x2176e7(0x252)](_0x40f081[_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x20a)]))[_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x1e7)]),_0x2e9963=_0x257866['outlinePulsePeriod'][_0x2176e7(0x22f)](0x0),_0x5c992e=_0x2e9963[_0x2176e7(0x1e1)](_0x2f975a,tsl.float(0x1));_0xc8ec99=tsl.vec4(_0xc8ec99['r'][_0x2176e7(0x252)](_0x44d823['r'][_0x2176e7(0x24d)](_0x5c992e)),_0xc8ec99['g']['add'](_0x44d823['g'][_0x2176e7(0x24d)](_0x5c992e)),_0xc8ec99['b']['add'](_0x44d823['b'][_0x2176e7(0x24d)](_0x5c992e)),_0xc8ec99['a']);}if(_0x3db7cd){if(_0x3db7cd[_0x2176e7(0x24c)]===_0x2176e7(0x254))_0xc8ec99=FXAANode_js.fxaa(_0xc8ec99);else {if(_0x3db7cd['method']===_0x2176e7(0x1eb))_0xc8ec99=SMAANode_js.smaa(_0xc8ec99);else _0x3db7cd[_0x2176e7(0x24c)]===_0x2176e7(0x214)&&_0x55e2b&&(this[_0x2176e7(0x1e5)]=TRAANode_js.traa(_0xc8ec99,_0x20f87a,_0x55e2b,this[_0x2176e7(0x202)]),_0xc8ec99=this[_0x2176e7(0x1e5)]['getTextureNode']());}}_0xc8ec99=this[_0x2176e7(0x1ff)](_0xc8ec99),_0xc8ec99=tsl.vec4(_0xc8ec99['r'],_0xc8ec99['g'],_0xc8ec99['b'],_0x523904['a']),this[_0x2176e7(0x1e0)][_0x2176e7(0x20f)]=_0xc8ec99,this[_0x2176e7(0x1e0)][_0x2176e7(0x21a)]=!![];}['onBuildFinalNode'](_0x414898){return _0x414898;}['createEffectUniforms'](){const _0x4053db=_0x330da1;var _0x2df082,_0xc0c67f,_0x4f9864,_0x3b4e40;const _0x4467e2=(_0x2df082=this[_0x4053db(0x244)](exports.PostProcessStepType['Bloom']))!==null&&_0x2df082!==void 0?_0x2df082:DefaultBloomParam,_0x4ee10f=(_0xc0c67f=this[_0x4053db(0x244)](exports.PostProcessStepType[_0x4053db(0x1fa)]))!==null&&_0xc0c67f!==void 0?_0xc0c67f:DefaultDOFParam,_0x5c69af=(_0x4f9864=this[_0x4053db(0x244)](exports.PostProcessStepType[_0x4053db(0x222)]))!==null&&_0x4f9864!==void 0?_0x4f9864:DefaultGTAOParam,_0x5b5f3f=(_0x3b4e40=this['getStepParam'](exports.PostProcessStepType['Outline']))!==null&&_0x3b4e40!==void 0?_0x3b4e40:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x4467e2[_0x4053db(0x22a)]),'bloomThreshold':tsl.uniform(_0x4467e2['threshold']),'bloomRadius':tsl.uniform(_0x4467e2[_0x4053db(0x209)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x4ee10f['focus']),'dofAperture':tsl.uniform(_0x4ee10f['aperture']),'dofMaxBlur':tsl.uniform(_0x4ee10f[_0x4053db(0x203)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x5c69af[_0x4053db(0x1f3)]),'gtaoDistanceExponent':tsl.uniform(_0x5c69af[_0x4053db(0x1f4)]),'gtaoDistanceFallOff':tsl.uniform(_0x5c69af['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x5c69af[_0x4053db(0x209)]),'gtaoThickness':tsl.uniform(_0x5c69af[_0x4053db(0x1fc)]),'gtaoSamples':tsl.uniform(_0x5c69af[_0x4053db(0x24b)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x5b5f3f[_0x4053db(0x242)]),'outlineEdgeGlow':tsl.uniform(_0x5b5f3f['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x5b5f3f['edgeThickness']),'outlinePulsePeriod':tsl.uniform(_0x5b5f3f['pulsePeriod']),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x5b5f3f['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x5b5f3f[_0x4053db(0x237)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}['getStepParam'](_0x68992d){const _0x169d86=_0x330da1;var _0x196bd8;return (_0x196bd8=this['postProcessParam'][_0x169d86(0x22c)][_0x169d86(0x221)](_0x208933=>_0x208933[_0x169d86(0x1e9)]===_0x68992d))!==null&&_0x196bd8!==void 0?_0x196bd8:null;}[_0x330da1(0x231)](){const _0x385f8e=_0x330da1;if(!this[_0x385f8e(0x1e6)])return;const _0x3877d9=this[_0x385f8e(0x1e6)],_0x5dc0a6=new Set(this[_0x385f8e(0x1fd)][_0x385f8e(0x22c)][_0x385f8e(0x1f2)](_0x389b3c=>_0x389b3c[_0x385f8e(0x1e9)]));_0x3877d9['bloomEnabled'][_0x385f8e(0x211)]=_0x5dc0a6[_0x385f8e(0x257)](exports.PostProcessStepType[_0x385f8e(0x1ec)])?0x1:0x0,_0x3877d9['dofEnabled'][_0x385f8e(0x211)]=_0x5dc0a6['has'](exports.PostProcessStepType[_0x385f8e(0x1fa)])?0x1:0x0,_0x3877d9[_0x385f8e(0x1e4)][_0x385f8e(0x211)]=_0x5dc0a6[_0x385f8e(0x257)](exports.PostProcessStepType[_0x385f8e(0x222)])?0x1:0x0,_0x3877d9[_0x385f8e(0x240)][_0x385f8e(0x211)]=_0x5dc0a6[_0x385f8e(0x257)](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x3877d9[_0x385f8e(0x1f1)]['value']=_0x5dc0a6[_0x385f8e(0x257)](exports.PostProcessStepType['LensFlare'])?0x1:0x0;const _0x159494=this[_0x385f8e(0x244)](exports.PostProcessStepType[_0x385f8e(0x21d)]);_0x159494?(_0x3877d9['fxaaEnabled']['value']=_0x159494[_0x385f8e(0x24c)]===_0x385f8e(0x254)?0x1:0x0,_0x3877d9[_0x385f8e(0x228)]['value']=_0x159494['method']==='smaa'?0x1:0x0):(_0x3877d9[_0x385f8e(0x227)]['value']=0x0,_0x3877d9['smaaEnabled'][_0x385f8e(0x211)]=0x0);const _0x5110d7=this['getStepParam'](exports.PostProcessStepType[_0x385f8e(0x1ec)]);_0x5110d7&&(_0x3877d9[_0x385f8e(0x213)][_0x385f8e(0x211)]=_0x5110d7[_0x385f8e(0x22a)],_0x3877d9['bloomThreshold'][_0x385f8e(0x211)]=_0x5110d7[_0x385f8e(0x21c)],_0x3877d9['bloomRadius']['value']=_0x5110d7[_0x385f8e(0x209)],this['bloomPass']&&(this[_0x385f8e(0x20c)][_0x385f8e(0x21c)][_0x385f8e(0x211)]=_0x5110d7[_0x385f8e(0x21c)],this[_0x385f8e(0x20c)][_0x385f8e(0x22a)]['value']=_0x5110d7['strength'],this[_0x385f8e(0x20c)]['radius'][_0x385f8e(0x211)]=_0x5110d7['radius']));const _0x56dc2=this['getStepParam'](exports.PostProcessStepType[_0x385f8e(0x20d)]);if(_0x56dc2&&this[_0x385f8e(0x23a)]);const _0x4f8112=this[_0x385f8e(0x244)](exports.PostProcessStepType['DepthOfField']);_0x4f8112&&(_0x3877d9['dofFocus']['value']=_0x4f8112[_0x385f8e(0x212)],_0x3877d9[_0x385f8e(0x1df)][_0x385f8e(0x211)]=_0x4f8112[_0x385f8e(0x206)],_0x3877d9[_0x385f8e(0x24a)][_0x385f8e(0x211)]=_0x4f8112[_0x385f8e(0x203)],this[_0x385f8e(0x229)]&&(this[_0x385f8e(0x229)][_0x385f8e(0x22e)][_0x385f8e(0x211)]=_0x4f8112[_0x385f8e(0x212)],this['dofPass'][_0x385f8e(0x1dd)]['value']=_0x4f8112[_0x385f8e(0x206)],this[_0x385f8e(0x229)][_0x385f8e(0x210)]['value']=_0x4f8112[_0x385f8e(0x203)]));const _0x5e649b=this[_0x385f8e(0x244)](exports.PostProcessStepType[_0x385f8e(0x222)]);_0x5e649b&&(_0x3877d9['gtaoScale'][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f3)],_0x3877d9[_0x385f8e(0x230)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f4)],_0x3877d9[_0x385f8e(0x225)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1ee)],_0x3877d9[_0x385f8e(0x236)][_0x385f8e(0x211)]=_0x5e649b['radius'],_0x3877d9[_0x385f8e(0x239)][_0x385f8e(0x211)]=_0x5e649b['thickness'],_0x3877d9[_0x385f8e(0x234)]['value']=_0x5e649b[_0x385f8e(0x24b)],this[_0x385f8e(0x1f6)]&&(this['gtaoPass'][_0x385f8e(0x1f4)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f4)],this[_0x385f8e(0x1f6)]['distanceFallOff']['value']=_0x5e649b[_0x385f8e(0x1ee)],this['gtaoPass'][_0x385f8e(0x209)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x209)],this[_0x385f8e(0x1f6)][_0x385f8e(0x1f3)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f3)],this[_0x385f8e(0x1f6)][_0x385f8e(0x1fc)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1fc)],this[_0x385f8e(0x1f6)][_0x385f8e(0x24b)]['value']=_0x5e649b[_0x385f8e(0x24b)],this[_0x385f8e(0x1f6)]['useTemporalFiltering']=_0x5e649b[_0x385f8e(0x251)]));const _0x1db888=this['getStepParam'](exports.PostProcessStepType[_0x385f8e(0x218)]);_0x1db888&&(_0x3877d9[_0x385f8e(0x1e7)][_0x385f8e(0x211)]=_0x1db888[_0x385f8e(0x242)],_0x3877d9['outlineEdgeGlow'][_0x385f8e(0x211)]=_0x1db888['edgeGlow'],_0x3877d9[_0x385f8e(0x246)][_0x385f8e(0x211)]=_0x1db888[_0x385f8e(0x217)],_0x3877d9[_0x385f8e(0x22d)]['value']=_0x1db888[_0x385f8e(0x23d)],_0x3877d9[_0x385f8e(0x21b)][_0x385f8e(0x211)]['set'](_0x1db888[_0x385f8e(0x1f7)]),_0x3877d9['outlineHiddenEdgeColor']['value'][_0x385f8e(0x232)](_0x1db888[_0x385f8e(0x237)]),this[_0x385f8e(0x21e)]&&(this['outlinePass'][_0x385f8e(0x1ef)]['value']=_0x1db888[_0x385f8e(0x1e2)],this[_0x385f8e(0x21e)]['edgeThicknessNode']['value']=_0x1db888[_0x385f8e(0x217)],this[_0x385f8e(0x21e)][_0x385f8e(0x241)]=this['outlineObjects']));}[_0x330da1(0x258)](_0x91f2d6){const _0x27b0e1=_0x330da1;this[_0x27b0e1(0x1fd)][_0x27b0e1(0x22c)]=_0x91f2d6,this['buildPipeline'](),this['updateAllUniforms'](),this['markDirty']();}[_0x330da1(0x249)](_0x25181c){const _0x39e9c0=_0x330da1;!this[_0x39e9c0(0x238)][_0x39e9c0(0x215)](_0x25181c)&&(this[_0x39e9c0(0x238)][_0x39e9c0(0x1e3)](_0x25181c),this[_0x39e9c0(0x21e)]&&(this['outlinePass'][_0x39e9c0(0x241)]=this[_0x39e9c0(0x238)])),this[_0x39e9c0(0x205)]();}[_0x330da1(0x243)](_0x13c225){const _0x3e67a3=_0x330da1;this[_0x3e67a3(0x238)][_0x3e67a3(0x233)]=0x0,this[_0x3e67a3(0x238)][_0x3e67a3(0x1e3)](..._0x13c225),this[_0x3e67a3(0x21e)]&&(this['outlinePass'][_0x3e67a3(0x241)]=this[_0x3e67a3(0x238)]),this[_0x3e67a3(0x205)]();}['removeOutlineObject'](_0x2c9426){const _0x5a13f9=_0x330da1,_0x2e7fbd=this['outlineObjects'][_0x5a13f9(0x24e)](_0x2c9426);_0x2e7fbd>-1&&(this[_0x5a13f9(0x238)][_0x5a13f9(0x22b)](_0x2e7fbd,0x1),this[_0x5a13f9(0x21e)]&&(this[_0x5a13f9(0x21e)]['selectedObjects']=this['outlineObjects'])),this['markDirty']();}[_0x330da1(0x220)](_0x15e5e7){const _0x1aeaec=_0x330da1;this[_0x1aeaec(0x1e8)]=_0x15e5e7,this[_0x1aeaec(0x216)](),this['updateAllUniforms'](),this['markDirty']();}[_0x330da1(0x256)](){const _0x3236cf=_0x330da1;return this[_0x3236cf(0x1e8)];}[_0x330da1(0x255)](){const _0x7e559a=_0x330da1;if(this[_0x7e559a(0x1e0)])return this[_0x7e559a(0x1e0)][_0x7e559a(0x255)](),!![];return ![];}[_0x330da1(0x24f)](){const _0x5a9635=_0x330da1;this[_0x5a9635(0x238)]=[],this[_0x5a9635(0x1e6)]=null,this[_0x5a9635(0x21e)]=null,this[_0x5a9635(0x20c)]=null,this[_0x5a9635(0x229)]=null,this[_0x5a9635(0x1f6)]=null,this['traaPass']=null,this['lensflarePass']=null,this['lut3dTexture']=null,this[_0x5a9635(0x1e0)]&&(this[_0x5a9635(0x1e0)]['dispose'](),this['postProcessing']=null);}[_0x330da1(0x205)](){const _0x4de4a9=_0x330da1;this[_0x4de4a9(0x250)]&&this[_0x4de4a9(0x250)]();}}
|
|
81
81
|
|
|
82
|
-
const _0x512e67=_0x5cb7;(function(_0x314151,_0x5af777){const _0x5be302=_0x5cb7,_0x58485a=_0x314151();while(!![]){try{const _0x9cd77d=parseInt(_0x5be302(0x1a7))/0x1*(-parseInt(_0x5be302(0x1b8))/0x2)+-parseInt(_0x5be302(0x1eb))/0x3*(parseInt(_0x5be302(0x1d2))/0x4)+-parseInt(_0x5be302(0x1e1))/0x5+parseInt(_0x5be302(0x1b4))/0x6+parseInt(_0x5be302(0x1c9))/0x7*(parseInt(_0x5be302(0x1d6))/0x8)+-parseInt(_0x5be302(0x1e9))/0x9+parseInt(_0x5be302(0x1cd))/0xa;if(_0x9cd77d===_0x5af777)break;else _0x58485a['push'](_0x58485a['shift']());}catch(_0x215917){_0x58485a['push'](_0x58485a['shift']());}}}(_0x3ec9,0x38569));function _0x5cb7(_0x259ca1,_0x3932ca){_0x259ca1=_0x259ca1-0x1a3;const _0x3ec938=_0x3ec9();let _0x5cb785=_0x3ec938[_0x259ca1];return _0x5cb785;}function _0x3ec9(){const _0x1e3d94=['renderer','outputPass','resize','destroy','has','scene','radius','DepthOfField','smaaPass','getSize','set','23kYXVoj','edgeGlow','onDirtyCallback','updateOutlineParameters','steps','push','edgeStrength','buildPipeline','updateGTAOParameters','type','dispose','updateSteps','Bloom','2136906YvWlnT','find','value','indexOf','38498sCpOjx','includes','Outline','GroundTruthAmbientOcclusion','addPass','processing','outlineObjects','setLUT3DTexture','visibleEdgeColor','setSize','threshold','updateAllParameters','addOutlineObject','aperture','bloomPass','maxblur','setup','35Tqxttk','updateCamera','method','gtaoPass','5388740LkKIAJ','markDirty','getStepParam','outlinePass','pulsePeriod','4HeTPtY','renderPass','lut3dTexture','resolution','527480DJxPvc','blendIntensity','setOutlineObjects','selectedObjects','postProcessParam','edgeThickness','smaa','fxaa','uniforms','length','hiddenEdgeColor','1349810lTsHSU','camera','strength','fxaaPass','render','scale','composer','lutPass','37062xhJtzi','focus','831396TvZVVU','removeOutlineObject','dofPass','Antialiasing'];_0x3ec9=function(){return _0x1e3d94;};return _0x3ec9();}class WebGLPostProcessManager{constructor(_0x50ba5d,_0x4d0905,_0x32d6d8,_0x42f567,_0x39db13){const _0x49d498=_0x5cb7;this[_0x49d498(0x1e7)]=null,this[_0x49d498(0x1be)]=[],this[_0x49d498(0x1d3)]=null,this[_0x49d498(0x1d0)]=null,this['bloomPass']=null,this[_0x49d498(0x1ed)]=null,this[_0x49d498(0x1cc)]=null,this[_0x49d498(0x1a4)]=null,this[_0x49d498(0x1e4)]=null,this[_0x49d498(0x1e8)]=null,this[_0x49d498(0x1f0)]=null,this[_0x49d498(0x1d4)]=null,this['onDirtyCallback']=null,this[_0x49d498(0x1ef)]=_0x50ba5d,this[_0x49d498(0x1f4)]=_0x4d0905,this['camera']=_0x32d6d8,this[_0x49d498(0x1da)]=Object['assign']({},_0x42f567),this[_0x49d498(0x1a9)]=_0x39db13!==null&&_0x39db13!==void 0?_0x39db13:null;}get[_0x512e67(0x1bd)](){return this['composer'];}[_0x512e67(0x1ca)](_0x390ccc){const _0x12e4f4=_0x512e67;this[_0x12e4f4(0x1e2)]=_0x390ccc;if(!this[_0x12e4f4(0x1e7)])this[_0x12e4f4(0x1ae)](),this['markDirty']();else {if(this[_0x12e4f4(0x1d3)])this[_0x12e4f4(0x1d3)][_0x12e4f4(0x1e2)]=this['camera'];if(this[_0x12e4f4(0x1d0)])this[_0x12e4f4(0x1d0)]['renderCamera']=this[_0x12e4f4(0x1e2)];this['dofPass']&&(this[_0x12e4f4(0x1ed)][_0x12e4f4(0x1e2)]=this['camera']),this[_0x12e4f4(0x1cc)]&&(this[_0x12e4f4(0x1cc)]['camera']=this[_0x12e4f4(0x1e2)]);}}[_0x512e67(0x1c8)](){const _0x307e41=_0x512e67;!this[_0x307e41(0x1e7)]?this['buildPipeline']():this[_0x307e41(0x1c3)](),this[_0x307e41(0x1ce)]();}[_0x512e67(0x1ae)](){const _0x1f37cb=_0x512e67;var _0x112f98,_0x24a98e,_0x157365,_0x31cff5;this[_0x1f37cb(0x1e7)]&&this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1b1)]();this['composer']=new EffectComposer_js.EffectComposer(this['renderer']),this[_0x1f37cb(0x1d3)]=new RenderPass_js.RenderPass(this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)]),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1d3)]),this['outlinePass']=null,this['bloomPass']=null,this['dofPass']=null,this[_0x1f37cb(0x1cc)]=null,this[_0x1f37cb(0x1a4)]=null,this['fxaaPass']=null,this[_0x1f37cb(0x1e8)]=null,this[_0x1f37cb(0x1f0)]=null;const _0x479dd7=new Set(this[_0x1f37cb(0x1da)][_0x1f37cb(0x1ab)]['map'](_0x38e3a3=>_0x38e3a3[_0x1f37cb(0x1b0)]));if(_0x479dd7['has'](exports.PostProcessStepType[_0x1f37cb(0x1bb)])){const _0x46abf5=(_0x112f98=this[_0x1f37cb(0x1cf)](exports.PostProcessStepType[_0x1f37cb(0x1bb)]))!==null&&_0x112f98!==void 0?_0x112f98:DefaultGTAOParam,_0x47eb8f=this['renderer'][_0x1f37cb(0x1a5)](new three.Vector2());this['gtaoPass']=new GTAOPass_js.GTAOPass(this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)],_0x47eb8f['x'],_0x47eb8f['y']),this[_0x1f37cb(0x1af)](_0x46abf5),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1cc)]);}if(_0x479dd7[_0x1f37cb(0x1f3)](exports.PostProcessStepType[_0x1f37cb(0x1a3)])){const _0x5a7f70=(_0x24a98e=this[_0x1f37cb(0x1cf)](exports.PostProcessStepType[_0x1f37cb(0x1a3)]))!==null&&_0x24a98e!==void 0?_0x24a98e:DefaultDOFParam;this[_0x1f37cb(0x1ed)]=new BokehPass_js.BokehPass(this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)],{'focus':_0x5a7f70[_0x1f37cb(0x1ea)],'aperture':_0x5a7f70['aperture'],'maxblur':_0x5a7f70[_0x1f37cb(0x1c7)]}),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1ed)]);}if(_0x479dd7[_0x1f37cb(0x1f3)](exports.PostProcessStepType[_0x1f37cb(0x1b3)])){const _0x24551f=(_0x157365=this[_0x1f37cb(0x1cf)](exports.PostProcessStepType[_0x1f37cb(0x1b3)]))!==null&&_0x157365!==void 0?_0x157365:DefaultBloomParam,_0xd7d751=this[_0x1f37cb(0x1ef)][_0x1f37cb(0x1a5)](new three.Vector2());this[_0x1f37cb(0x1c6)]=new UnrealBloomPass_js.UnrealBloomPass(_0xd7d751,_0x24551f[_0x1f37cb(0x1e3)],_0x24551f[_0x1f37cb(0x1f5)],_0x24551f[_0x1f37cb(0x1c2)]),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1c6)]);}if(_0x479dd7['has'](exports.PostProcessStepType[_0x1f37cb(0x1ba)])){const _0xa0f80c=(_0x31cff5=this['getStepParam'](exports.PostProcessStepType[_0x1f37cb(0x1ba)]))!==null&&_0x31cff5!==void 0?_0x31cff5:DefaultOutlineParams,_0x289e42=this[_0x1f37cb(0x1ef)][_0x1f37cb(0x1a5)](new three.Vector2());this[_0x1f37cb(0x1d0)]=new OutlinePass_js.OutlinePass(_0x289e42,this[_0x1f37cb(0x1f4)],this[_0x1f37cb(0x1e2)]),this['outlinePass'][_0x1f37cb(0x1d9)]=this[_0x1f37cb(0x1be)],this[_0x1f37cb(0x1aa)](_0xa0f80c),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1d0)]);}this['lut3dTexture']&&(this[_0x1f37cb(0x1e8)]=new LUTPass_js.LUTPass({'lut':this[_0x1f37cb(0x1d4)]}),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1e8)]));const _0x11ccee=this['getStepParam'](exports.PostProcessStepType[_0x1f37cb(0x1ee)]);if(_0x11ccee){const _0x43e130=this[_0x1f37cb(0x1ef)][_0x1f37cb(0x1a5)](new three.Vector2());if(_0x11ccee[_0x1f37cb(0x1cb)]===_0x1f37cb(0x1dd))this[_0x1f37cb(0x1e4)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x1f37cb(0x1e4)][_0x1f37cb(0x1de)][_0x1f37cb(0x1d5)][_0x1f37cb(0x1b6)][_0x1f37cb(0x1a6)](0x1/_0x43e130['x'],0x1/_0x43e130['y']),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this[_0x1f37cb(0x1e4)]);else _0x11ccee[_0x1f37cb(0x1cb)]===_0x1f37cb(0x1dc)&&(this[_0x1f37cb(0x1a4)]=new SMAAPass_js.SMAAPass(_0x43e130['x'],_0x43e130['y']),this[_0x1f37cb(0x1e7)]['addPass'](this[_0x1f37cb(0x1a4)]));}this[_0x1f37cb(0x1f0)]=new OutputPass_js.OutputPass(),this[_0x1f37cb(0x1e7)][_0x1f37cb(0x1bc)](this['outputPass']);}[_0x512e67(0x1cf)](_0x392f09){const _0x28298f=_0x512e67;var _0x245b09;return (_0x245b09=this[_0x28298f(0x1da)][_0x28298f(0x1ab)][_0x28298f(0x1b5)](_0x1bde6c=>_0x1bde6c[_0x28298f(0x1b0)]===_0x392f09))!==null&&_0x245b09!==void 0?_0x245b09:null;}[_0x512e67(0x1c3)](){const _0x1d5c84=_0x512e67,_0x4287d4=this[_0x1d5c84(0x1cf)](exports.PostProcessStepType[_0x1d5c84(0x1b3)]);_0x4287d4&&this[_0x1d5c84(0x1c6)]&&(this[_0x1d5c84(0x1c6)][_0x1d5c84(0x1e3)]=_0x4287d4[_0x1d5c84(0x1e3)],this[_0x1d5c84(0x1c6)][_0x1d5c84(0x1f5)]=_0x4287d4[_0x1d5c84(0x1f5)],this[_0x1d5c84(0x1c6)][_0x1d5c84(0x1c2)]=_0x4287d4[_0x1d5c84(0x1c2)]);const _0x4b3678=this[_0x1d5c84(0x1cf)](exports.PostProcessStepType[_0x1d5c84(0x1a3)]);if(_0x4b3678&&this[_0x1d5c84(0x1ed)]){const _0xd8ac1e=this[_0x1d5c84(0x1ed)];_0xd8ac1e[_0x1d5c84(0x1de)]&&(_0xd8ac1e['uniforms']['focus'][_0x1d5c84(0x1b6)]=_0x4b3678['focus'],_0xd8ac1e['uniforms']['aperture'][_0x1d5c84(0x1b6)]=_0x4b3678[_0x1d5c84(0x1c5)],_0xd8ac1e[_0x1d5c84(0x1de)][_0x1d5c84(0x1c7)]['value']=_0x4b3678[_0x1d5c84(0x1c7)]);}const _0x42ccf6=this['getStepParam'](exports.PostProcessStepType[_0x1d5c84(0x1bb)]);_0x42ccf6&&this['gtaoPass']&&this['updateGTAOParameters'](_0x42ccf6);const _0x1ed48b=this[_0x1d5c84(0x1cf)](exports.PostProcessStepType['Outline']);_0x1ed48b&&this['outlinePass']&&this[_0x1d5c84(0x1aa)](_0x1ed48b);}[_0x512e67(0x1af)](_0x876071){const _0x5340be=_0x512e67;if(!this[_0x5340be(0x1cc)])return;this[_0x5340be(0x1cc)][_0x5340be(0x1d7)]=_0x876071[_0x5340be(0x1e6)];}[_0x512e67(0x1aa)](_0x4c4c86){const _0x305056=_0x512e67;if(!this[_0x305056(0x1d0)])return;this['outlinePass'][_0x305056(0x1ad)]=_0x4c4c86['edgeStrength'],this[_0x305056(0x1d0)][_0x305056(0x1a8)]=_0x4c4c86['edgeGlow'],this[_0x305056(0x1d0)][_0x305056(0x1db)]=_0x4c4c86[_0x305056(0x1db)],this[_0x305056(0x1d0)][_0x305056(0x1d1)]=_0x4c4c86[_0x305056(0x1d1)],this[_0x305056(0x1d0)]['visibleEdgeColor']=new three.Color(_0x4c4c86[_0x305056(0x1c0)]),this['outlinePass'][_0x305056(0x1e0)]=new three.Color(_0x4c4c86['hiddenEdgeColor']);}[_0x512e67(0x1b2)](_0x7876bd){const _0x11d3b0=_0x512e67;this[_0x11d3b0(0x1da)][_0x11d3b0(0x1ab)]=_0x7876bd,this[_0x11d3b0(0x1ae)](),this['markDirty']();}[_0x512e67(0x1c4)](_0x355873){const _0x267944=_0x512e67;!this[_0x267944(0x1be)][_0x267944(0x1b9)](_0x355873)&&(this[_0x267944(0x1be)][_0x267944(0x1ac)](_0x355873),this[_0x267944(0x1d0)]&&(this['outlinePass'][_0x267944(0x1d9)]=this[_0x267944(0x1be)])),this[_0x267944(0x1ce)]();}[_0x512e67(0x1d8)](_0x16ef98){const _0x504f1a=_0x512e67;this[_0x504f1a(0x1be)][_0x504f1a(0x1df)]=0x0,this[_0x504f1a(0x1be)][_0x504f1a(0x1ac)](..._0x16ef98),this[_0x504f1a(0x1d0)]&&(this[_0x504f1a(0x1d0)][_0x504f1a(0x1d9)]=this['outlineObjects']),this['markDirty']();}[_0x512e67(0x1ec)](_0x20bec4){const _0x30e5e4=_0x512e67,_0x4f39cb=this[_0x30e5e4(0x1be)][_0x30e5e4(0x1b7)](_0x20bec4);_0x4f39cb>-1&&(this[_0x30e5e4(0x1be)]['splice'](_0x4f39cb,0x1),this[_0x30e5e4(0x1d0)]&&(this[_0x30e5e4(0x1d0)]['selectedObjects']=this[_0x30e5e4(0x1be)])),this['markDirty']();}[_0x512e67(0x1bf)](_0x3da893){const _0x112c73=_0x512e67;this[_0x112c73(0x1d4)]=_0x3da893,this[_0x112c73(0x1ae)](),this['markDirty']();}['getLUT3DTexture'](){return this['lut3dTexture'];}[_0x512e67(0x1e5)](){const _0x4b11d2=_0x512e67;if(this[_0x4b11d2(0x1e7)])return this['composer'][_0x4b11d2(0x1e5)](),!![];return ![];}[_0x512e67(0x1f1)](_0x349a51,_0x16adb1){const _0xa0b67d=_0x512e67;this[_0xa0b67d(0x1e7)]&&this[_0xa0b67d(0x1e7)][_0xa0b67d(0x1c1)](_0x349a51,_0x16adb1),this[_0xa0b67d(0x1e4)]&&this[_0xa0b67d(0x1e4)][_0xa0b67d(0x1de)]['resolution'][_0xa0b67d(0x1b6)][_0xa0b67d(0x1a6)](0x1/_0x349a51,0x1/_0x16adb1);}[_0x512e67(0x1f2)](){const _0x3ddebf=_0x512e67;this['outlineObjects']=[],this['outlinePass']=null,this[_0x3ddebf(0x1c6)]=null,this[_0x3ddebf(0x1ed)]=null,this['gtaoPass']=null,this[_0x3ddebf(0x1a4)]=null,this[_0x3ddebf(0x1e4)]=null,this[_0x3ddebf(0x1e8)]=null,this[_0x3ddebf(0x1f0)]=null,this[_0x3ddebf(0x1d4)]=null,this[_0x3ddebf(0x1e7)]&&(this['composer'][_0x3ddebf(0x1b1)](),this[_0x3ddebf(0x1e7)]=null);}[_0x512e67(0x1ce)](){const _0x5a659a=_0x512e67;this[_0x5a659a(0x1a9)]&&this[_0x5a659a(0x1a9)]();}}
|
|
82
|
+
const _0xa2a3ce=_0xb1ee;(function(_0x39ceaa,_0x4abee8){const _0x3abf5f=_0xb1ee,_0x338eed=_0x39ceaa();while(!![]){try{const _0x53b7cf=-parseInt(_0x3abf5f(0x208))/0x1+parseInt(_0x3abf5f(0x1f7))/0x2+parseInt(_0x3abf5f(0x21e))/0x3*(-parseInt(_0x3abf5f(0x20f))/0x4)+parseInt(_0x3abf5f(0x22d))/0x5*(-parseInt(_0x3abf5f(0x211))/0x6)+parseInt(_0x3abf5f(0x22b))/0x7+parseInt(_0x3abf5f(0x1fa))/0x8*(parseInt(_0x3abf5f(0x231))/0x9)+parseInt(_0x3abf5f(0x22f))/0xa*(-parseInt(_0x3abf5f(0x22a))/0xb);if(_0x53b7cf===_0x4abee8)break;else _0x338eed['push'](_0x338eed['shift']());}catch(_0x2b7629){_0x338eed['push'](_0x338eed['shift']());}}}(_0x3c61,0x19575));function _0xb1ee(_0x56c624,_0x478e01){_0x56c624=_0x56c624-0x1f1;const _0x3c6166=_0x3c61();let _0xb1ee2e=_0x3c6166[_0x56c624];return _0xb1ee2e;}function _0x3c61(){const _0x2b9d41=['find','168377muqaLP','1184582BmYEOq','aperture','25pMJbpC','render','50yIwExJ','Bloom','963pAZYnV','hiddenEdgeColor','fxaaPass','scene','Antialiasing','getStepParam','updateCamera','updateSteps','pulsePeriod','markDirty','steps','type','edgeGlow','dofPass','lut3dTexture','camera','smaaPass','fxaa','strength','outlinePass','maxblur','266394fiEazX','updateGTAOParameters','has','7928LEQrOI','updateOutlineParameters','includes','addPass','renderer','resize','removeOutlineObject','setLUT3DTexture','threshold','splice','GroundTruthAmbientOcclusion','Outline','dispose','DepthOfField','172431NXMkxS','method','setSize','focus','map','bloomPass','renderCamera','5636jbARZZ','lutPass','2586YloXbA','push','onDirtyCallback','outputPass','outlineObjects','renderPass','postProcessParam','radius','setOutlineObjects','addOutlineObject','resolution','edgeThickness','blendIntensity','114klLhVP','gtaoPass','getSize','composer','edgeStrength','uniforms','setup','buildPipeline','selectedObjects','value','set'];_0x3c61=function(){return _0x2b9d41;};return _0x3c61();}class WebGLPostProcessManager{constructor(_0x28fab7,_0x182b36,_0x29497d,_0x4173d7,_0x57c50c){const _0x5380f6=_0xb1ee;this[_0x5380f6(0x221)]=null,this['outlineObjects']=[],this[_0x5380f6(0x216)]=null,this[_0x5380f6(0x1f5)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x5380f6(0x21f)]=null,this[_0x5380f6(0x1f2)]=null,this[_0x5380f6(0x233)]=null,this[_0x5380f6(0x210)]=null,this['outputPass']=null,this[_0x5380f6(0x23f)]=null,this[_0x5380f6(0x213)]=null,this['renderer']=_0x28fab7,this[_0x5380f6(0x234)]=_0x182b36,this['camera']=_0x29497d,this[_0x5380f6(0x217)]=Object['assign']({},_0x4173d7),this[_0x5380f6(0x213)]=_0x57c50c!==null&&_0x57c50c!==void 0?_0x57c50c:null;}get['processing'](){const _0x5322fd=_0xb1ee;return this[_0x5322fd(0x221)];}[_0xa2a3ce(0x237)](_0x5d179d){const _0x39f2bd=_0xa2a3ce;this[_0x39f2bd(0x1f1)]=_0x5d179d;if(!this[_0x39f2bd(0x221)])this[_0x39f2bd(0x225)](),this[_0x39f2bd(0x23a)]();else {if(this[_0x39f2bd(0x216)])this[_0x39f2bd(0x216)][_0x39f2bd(0x1f1)]=this[_0x39f2bd(0x1f1)];if(this['outlinePass'])this[_0x39f2bd(0x1f5)][_0x39f2bd(0x20e)]=this[_0x39f2bd(0x1f1)];this[_0x39f2bd(0x23e)]&&(this[_0x39f2bd(0x23e)][_0x39f2bd(0x1f1)]=this[_0x39f2bd(0x1f1)]),this[_0x39f2bd(0x21f)]&&(this[_0x39f2bd(0x21f)]['camera']=this[_0x39f2bd(0x1f1)]);}}[_0xa2a3ce(0x224)](){const _0x2723e3=_0xa2a3ce;!this[_0x2723e3(0x221)]?this[_0x2723e3(0x225)]():this['updateAllParameters'](),this['markDirty']();}[_0xa2a3ce(0x225)](){const _0x5e42b0=_0xa2a3ce;var _0x28eebb,_0x1302db,_0x1c369b,_0x3eae98;this[_0x5e42b0(0x221)]&&this['composer']['dispose']();this['composer']=new EffectComposer_js.EffectComposer(this[_0x5e42b0(0x1fe)]),this[_0x5e42b0(0x216)]=new RenderPass_js.RenderPass(this['scene'],this[_0x5e42b0(0x1f1)]),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this[_0x5e42b0(0x216)]),this[_0x5e42b0(0x1f5)]=null,this[_0x5e42b0(0x20d)]=null,this[_0x5e42b0(0x23e)]=null,this['gtaoPass']=null,this['smaaPass']=null,this[_0x5e42b0(0x233)]=null,this[_0x5e42b0(0x210)]=null,this[_0x5e42b0(0x214)]=null;const _0x386356=new Set(this[_0x5e42b0(0x217)][_0x5e42b0(0x23b)][_0x5e42b0(0x20c)](_0x24ef39=>_0x24ef39[_0x5e42b0(0x23c)]));if(_0x386356[_0x5e42b0(0x1f9)](exports.PostProcessStepType[_0x5e42b0(0x204)])){const _0x582cd5=(_0x28eebb=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x28eebb!==void 0?_0x28eebb:DefaultGTAOParam,_0x5af70d=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new three.Vector2());this[_0x5e42b0(0x21f)]=new GTAOPass_js.GTAOPass(this[_0x5e42b0(0x234)],this[_0x5e42b0(0x1f1)],_0x5af70d['x'],_0x5af70d['y']),this['updateGTAOParameters'](_0x582cd5),this[_0x5e42b0(0x221)]['addPass'](this['gtaoPass']);}if(_0x386356[_0x5e42b0(0x1f9)](exports.PostProcessStepType[_0x5e42b0(0x207)])){const _0x446f2a=(_0x1302db=this[_0x5e42b0(0x236)](exports.PostProcessStepType[_0x5e42b0(0x207)]))!==null&&_0x1302db!==void 0?_0x1302db:DefaultDOFParam;this[_0x5e42b0(0x23e)]=new BokehPass_js.BokehPass(this[_0x5e42b0(0x234)],this[_0x5e42b0(0x1f1)],{'focus':_0x446f2a[_0x5e42b0(0x20b)],'aperture':_0x446f2a['aperture'],'maxblur':_0x446f2a[_0x5e42b0(0x1f6)]}),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['dofPass']);}if(_0x386356[_0x5e42b0(0x1f9)](exports.PostProcessStepType[_0x5e42b0(0x230)])){const _0x4a1d67=(_0x1c369b=this[_0x5e42b0(0x236)](exports.PostProcessStepType[_0x5e42b0(0x230)]))!==null&&_0x1c369b!==void 0?_0x1c369b:DefaultBloomParam,_0x24d37d=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new three.Vector2());this[_0x5e42b0(0x20d)]=new UnrealBloomPass_js.UnrealBloomPass(_0x24d37d,_0x4a1d67[_0x5e42b0(0x1f4)],_0x4a1d67[_0x5e42b0(0x218)],_0x4a1d67[_0x5e42b0(0x202)]),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['bloomPass']);}if(_0x386356['has'](exports.PostProcessStepType[_0x5e42b0(0x205)])){const _0x20eea3=(_0x3eae98=this['getStepParam'](exports.PostProcessStepType[_0x5e42b0(0x205)]))!==null&&_0x3eae98!==void 0?_0x3eae98:DefaultOutlineParams,_0x46bb64=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new three.Vector2());this[_0x5e42b0(0x1f5)]=new OutlinePass_js.OutlinePass(_0x46bb64,this['scene'],this['camera']),this[_0x5e42b0(0x1f5)][_0x5e42b0(0x226)]=this[_0x5e42b0(0x215)],this[_0x5e42b0(0x1fb)](_0x20eea3),this['composer'][_0x5e42b0(0x1fd)](this['outlinePass']);}this[_0x5e42b0(0x23f)]&&(this[_0x5e42b0(0x210)]=new LUTPass_js.LUTPass({'lut':this[_0x5e42b0(0x23f)]}),this['composer'][_0x5e42b0(0x1fd)](this['lutPass']));const _0x5e42eb=this[_0x5e42b0(0x236)](exports.PostProcessStepType[_0x5e42b0(0x235)]);if(_0x5e42eb){const _0x23dae1=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new three.Vector2());if(_0x5e42eb[_0x5e42b0(0x209)]===_0x5e42b0(0x1f3))this[_0x5e42b0(0x233)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x5e42b0(0x233)]['uniforms'][_0x5e42b0(0x21b)][_0x5e42b0(0x227)]['set'](0x1/_0x23dae1['x'],0x1/_0x23dae1['y']),this['composer'][_0x5e42b0(0x1fd)](this[_0x5e42b0(0x233)]);else _0x5e42eb['method']==='smaa'&&(this[_0x5e42b0(0x1f2)]=new SMAAPass_js.SMAAPass(_0x23dae1['x'],_0x23dae1['y']),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['smaaPass']));}this[_0x5e42b0(0x214)]=new OutputPass_js.OutputPass(),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['outputPass']);}['getStepParam'](_0x172eaf){const _0x53e875=_0xa2a3ce;var _0x1c153b;return (_0x1c153b=this[_0x53e875(0x217)][_0x53e875(0x23b)][_0x53e875(0x229)](_0x31611d=>_0x31611d['type']===_0x172eaf))!==null&&_0x1c153b!==void 0?_0x1c153b:null;}['updateAllParameters'](){const _0x5dd9a0=_0xa2a3ce,_0x56069a=this[_0x5dd9a0(0x236)](exports.PostProcessStepType['Bloom']);_0x56069a&&this[_0x5dd9a0(0x20d)]&&(this[_0x5dd9a0(0x20d)]['strength']=_0x56069a[_0x5dd9a0(0x1f4)],this['bloomPass'][_0x5dd9a0(0x218)]=_0x56069a['radius'],this['bloomPass'][_0x5dd9a0(0x202)]=_0x56069a['threshold']);const _0x5d8c43=this[_0x5dd9a0(0x236)](exports.PostProcessStepType[_0x5dd9a0(0x207)]);if(_0x5d8c43&&this['dofPass']){const _0x505209=this[_0x5dd9a0(0x23e)];_0x505209[_0x5dd9a0(0x223)]&&(_0x505209[_0x5dd9a0(0x223)][_0x5dd9a0(0x20b)][_0x5dd9a0(0x227)]=_0x5d8c43['focus'],_0x505209[_0x5dd9a0(0x223)][_0x5dd9a0(0x22c)]['value']=_0x5d8c43['aperture'],_0x505209[_0x5dd9a0(0x223)][_0x5dd9a0(0x1f6)]['value']=_0x5d8c43[_0x5dd9a0(0x1f6)]);}const _0x56e796=this[_0x5dd9a0(0x236)](exports.PostProcessStepType[_0x5dd9a0(0x204)]);_0x56e796&&this[_0x5dd9a0(0x21f)]&&this[_0x5dd9a0(0x1f8)](_0x56e796);const _0x28a210=this[_0x5dd9a0(0x236)](exports.PostProcessStepType[_0x5dd9a0(0x205)]);_0x28a210&&this[_0x5dd9a0(0x1f5)]&&this[_0x5dd9a0(0x1fb)](_0x28a210);}['updateGTAOParameters'](_0x53d466){const _0x1a5672=_0xa2a3ce;if(!this[_0x1a5672(0x21f)])return;this[_0x1a5672(0x21f)][_0x1a5672(0x21d)]=_0x53d466['scale'];}['updateOutlineParameters'](_0x24f92e){const _0x5f299a=_0xa2a3ce;if(!this[_0x5f299a(0x1f5)])return;this['outlinePass'][_0x5f299a(0x222)]=_0x24f92e[_0x5f299a(0x222)],this['outlinePass']['edgeGlow']=_0x24f92e[_0x5f299a(0x23d)],this[_0x5f299a(0x1f5)][_0x5f299a(0x21c)]=_0x24f92e[_0x5f299a(0x21c)],this[_0x5f299a(0x1f5)]['pulsePeriod']=_0x24f92e[_0x5f299a(0x239)],this['outlinePass']['visibleEdgeColor']=new three.Color(_0x24f92e['visibleEdgeColor']),this[_0x5f299a(0x1f5)]['hiddenEdgeColor']=new three.Color(_0x24f92e[_0x5f299a(0x232)]);}[_0xa2a3ce(0x238)](_0x93a787){const _0x2f0ad8=_0xa2a3ce;this[_0x2f0ad8(0x217)]['steps']=_0x93a787,this[_0x2f0ad8(0x225)](),this['markDirty']();}[_0xa2a3ce(0x21a)](_0x3e7144){const _0x438d5e=_0xa2a3ce;!this[_0x438d5e(0x215)][_0x438d5e(0x1fc)](_0x3e7144)&&(this[_0x438d5e(0x215)]['push'](_0x3e7144),this[_0x438d5e(0x1f5)]&&(this[_0x438d5e(0x1f5)][_0x438d5e(0x226)]=this['outlineObjects'])),this[_0x438d5e(0x23a)]();}[_0xa2a3ce(0x219)](_0x2100d2){const _0x460715=_0xa2a3ce;this[_0x460715(0x215)]['length']=0x0,this[_0x460715(0x215)][_0x460715(0x212)](..._0x2100d2),this[_0x460715(0x1f5)]&&(this[_0x460715(0x1f5)][_0x460715(0x226)]=this[_0x460715(0x215)]),this['markDirty']();}[_0xa2a3ce(0x200)](_0x7880e3){const _0x5a0715=_0xa2a3ce,_0x32ca3e=this[_0x5a0715(0x215)]['indexOf'](_0x7880e3);_0x32ca3e>-1&&(this[_0x5a0715(0x215)][_0x5a0715(0x203)](_0x32ca3e,0x1),this['outlinePass']&&(this[_0x5a0715(0x1f5)][_0x5a0715(0x226)]=this[_0x5a0715(0x215)])),this[_0x5a0715(0x23a)]();}[_0xa2a3ce(0x201)](_0x4906d8){const _0x90ce5e=_0xa2a3ce;this[_0x90ce5e(0x23f)]=_0x4906d8,this[_0x90ce5e(0x225)](),this[_0x90ce5e(0x23a)]();}['getLUT3DTexture'](){return this['lut3dTexture'];}[_0xa2a3ce(0x22e)](){const _0x33bff9=_0xa2a3ce;if(this[_0x33bff9(0x221)])return this[_0x33bff9(0x221)]['render'](),!![];return ![];}[_0xa2a3ce(0x1ff)](_0x553bcb,_0x46c63a){const _0x3826cb=_0xa2a3ce;this['composer']&&this[_0x3826cb(0x221)][_0x3826cb(0x20a)](_0x553bcb,_0x46c63a),this[_0x3826cb(0x233)]&&this[_0x3826cb(0x233)]['uniforms']['resolution']['value'][_0x3826cb(0x228)](0x1/_0x553bcb,0x1/_0x46c63a);}['destroy'](){const _0x41f2ed=_0xa2a3ce;this[_0x41f2ed(0x215)]=[],this[_0x41f2ed(0x1f5)]=null,this[_0x41f2ed(0x20d)]=null,this[_0x41f2ed(0x23e)]=null,this[_0x41f2ed(0x21f)]=null,this[_0x41f2ed(0x1f2)]=null,this['fxaaPass']=null,this[_0x41f2ed(0x210)]=null,this[_0x41f2ed(0x214)]=null,this[_0x41f2ed(0x23f)]=null,this[_0x41f2ed(0x221)]&&(this[_0x41f2ed(0x221)][_0x41f2ed(0x206)](),this['composer']=null);}['markDirty'](){this['onDirtyCallback']&&this['onDirtyCallback']();}}
|
|
83
83
|
|
|
84
|
-
function _0x1090(){const _0x5498fb=['7596uaWMHX','setShadowMapEnabled','shadowMap','291ZZlEHg','1097426sOGXCu','scene-uiLayer','setClearAlpha','add','onAfterPostProcessRender','enabled','setToneMapping','135906MHSuLc','postProcessManager','7cHHliK','width','param','markRenderStateDirty','createPostProcessManager','setup','setAnimationLoop','_canvasContainer','createCSS3DRenderer','dispose','transparent','createRenderer','renderAsImage','none','uiDom','addOutlineObject','absolute','setSize','renderer','0px','428736IAwZds','setShadowMapType','scene','toneMapping','css3dRenderer','camera','domElement','elementId','scene-labelRenderer','157329qCLkvC','clientWidth','clientHeight','observe','top','world','drawImage','appendChild','pointerEvents','58568HeQysf','_outerContainer','getContext','toDataURL','labelRenderer','40HbjZyX','App\x20is\x20not\x20initialized','canvas','type','toneMappingExposure','WebGPU','100%','remove','div','removeChild','className','position','isUILayerNeeded','isLabelRendererNeeded','13517dvKJCi','_app','background','removeOutlineObject','style','WebGL','onWindowResize','createLabelRenderer','8JslMby','left','destroy','_renderer','setOutlineObjects','_uiDom','init','disconnect','updateCamera','firstChild','resize','20YahzTP','isRenderStateDirty','postProcess','height','scene-css3dRenderer','Renderer\x20is\x20not\x20initialized','.scene-uiLayer','isCSS3DRendererNeeded','devicePixelRatio','Can\x20not\x20create\x20context','app','render','createElement','resizeObserver','image/jpeg','contentBoxSize','destroyPostProcess'];_0x1090=function(){return _0x5498fb;};return _0x1090();}const _0x29645f=_0x34a5;function _0x34a5(_0xedc559,_0x58089e){_0xedc559=_0xedc559-0x13c;const _0x109019=_0x1090();let _0x34a563=_0x109019[_0xedc559];return _0x34a563;}(function(_0x45230a,_0x5d4fba){const _0x32e5b3=_0x34a5,_0x16738a=_0x45230a();while(!![]){try{const _0xed3e76=-parseInt(_0x32e5b3(0x1a1))/0x1*(parseInt(_0x32e5b3(0x13f))/0x2)+-parseInt(_0x32e5b3(0x15e))/0x3*(-parseInt(_0x32e5b3(0x15b))/0x4)+parseInt(_0x32e5b3(0x14a))/0x5*(-parseInt(_0x32e5b3(0x166))/0x6)+-parseInt(_0x32e5b3(0x168))/0x7*(-parseInt(_0x32e5b3(0x18e))/0x8)+-parseInt(_0x32e5b3(0x185))/0x9*(parseInt(_0x32e5b3(0x193))/0xa)+parseInt(_0x32e5b3(0x15f))/0xb+parseInt(_0x32e5b3(0x17c))/0xc;if(_0xed3e76===_0x5d4fba)break;else _0x16738a['push'](_0x16738a['shift']());}catch(_0x538c73){_0x16738a['push'](_0x16738a['shift']());}}}(_0x1090,0x1b726));class Viewport{get[_0x29645f(0x176)](){const _0x25879a=_0x29645f;return this[_0x25879a(0x144)];}get['canvas'](){const _0x4398c2=_0x29645f;return this[_0x4398c2(0x18f)]||this[_0x4398c2(0x17a)][_0x4398c2(0x182)];}get['outer'](){const _0x1f9b3d=_0x29645f;return this[_0x1f9b3d(0x18f)];}get[_0x29645f(0x17a)](){const _0x562f48=_0x29645f;if(!this[_0x562f48(0x142)])throw Error(_0x562f48(0x14f));return this['_renderer'];}get['app'](){const _0xbd294=_0x29645f;if(!this[_0xbd294(0x1a2)])throw Error(_0xbd294(0x194));return this[_0xbd294(0x1a2)];}constructor(_0x7da828,_0x14c9b9){const _0x1bc952=_0x29645f;this[_0x1bc952(0x144)]=null,this[_0x1bc952(0x142)]=null,this[_0x1bc952(0x192)]=null,this['css3dRenderer']=null,this[_0x1bc952(0x1a2)]=null,this['resizeObserver']=null,this[_0x1bc952(0x18f)]=null,this[_0x1bc952(0x16f)]=null,this[_0x1bc952(0x14b)]=!![],this[_0x1bc952(0x167)]=null,this[_0x1bc952(0x1a2)]=_0x7da828,_0x14c9b9[_0x1bc952(0x183)]&&(this[_0x1bc952(0x18f)]=document['getElementById'](_0x14c9b9['elementId'])),this['createRenderer'](_0x14c9b9[_0x1bc952(0x17a)][_0x1bc952(0x196)],_0x14c9b9[_0x1bc952(0x17a)][_0x1bc952(0x16a)]),_0x14c9b9[_0x1bc952(0x1a0)]&&this[_0x1bc952(0x13e)](),_0x14c9b9[_0x1bc952(0x151)]&&this[_0x1bc952(0x170)](),_0x14c9b9[_0x1bc952(0x19f)]&&this['createUILayer'](),setTimeout(()=>{const _0x40902b=_0x1bc952;var _0x2bdfce;this['setupPostProcess']((_0x2bdfce=_0x14c9b9[_0x40902b(0x14c)])!==null&&_0x2bdfce!==void 0?_0x2bdfce:{'steps':[]});},0x32),this['_outerContainer']&&(this[_0x1bc952(0x157)]=new ResizeObserver(_0x2d5e5d=>{const _0x3e9f02=_0x1bc952;for(let _0x2c1856 of _0x2d5e5d){_0x2c1856[_0x3e9f02(0x159)]&&this[_0x3e9f02(0x13d)]();}}),this['resizeObserver'][_0x1bc952(0x188)](this[_0x1bc952(0x18f)])),this[_0x1bc952(0x154)]['onCameraChangedDelegate'][_0x1bc952(0x162)](()=>{const _0x501357=_0x1bc952;this['postProcessManager']&&(this['postProcessManager'][_0x501357(0x147)](this[_0x501357(0x154)][_0x501357(0x181)]),this['postProcessManager'][_0x501357(0x16d)]());});}[_0x29645f(0x173)](_0x276f0f,_0x4f852f){const _0x12484d=_0x29645f,_0x209904=this[_0x12484d(0x18f)];this[_0x12484d(0x142)]&&(_0x209904&&_0x209904[_0x12484d(0x19c)](this['_renderer'][_0x12484d(0x182)]),this[_0x12484d(0x142)][_0x12484d(0x171)]());let _0x525134=_0x209904?_0x209904[_0x12484d(0x186)]:0x200,_0x4be3c4=_0x209904?_0x209904['clientHeight']:0x200;switch(_0x276f0f){case exports.RendererType[_0x12484d(0x198)]:this[_0x12484d(0x142)]=new webgpu.WebGPURenderer(_0x4f852f);break;case exports.RendererType[_0x12484d(0x13c)]:this[_0x12484d(0x142)]=new three.WebGLRenderer(_0x4f852f);break;}this['_renderer']['setPixelRatio'](window[_0x12484d(0x152)]),this[_0x12484d(0x142)]['setSize'](_0x525134,_0x4be3c4),this[_0x12484d(0x142)][_0x12484d(0x15d)][_0x12484d(0x164)]=!![],this[_0x12484d(0x142)][_0x12484d(0x15d)]['type']=0x1,this['_renderer'][_0x12484d(0x17f)]=0x0,this[_0x12484d(0x142)][_0x12484d(0x197)]=0x1,this[_0x12484d(0x142)][_0x12484d(0x161)](0x0),this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x19e)]='absolute',this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x140)]='0',this['_renderer'][_0x12484d(0x182)][_0x12484d(0x1a5)]['top']='0',this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)]['zIndex']='20',this['_renderer'][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x1a3)]=_0x12484d(0x172),this[_0x12484d(0x142)][_0x12484d(0x182)][_0x12484d(0x1a5)][_0x12484d(0x18d)]=_0x12484d(0x175),_0x209904&&_0x209904[_0x12484d(0x18c)](this[_0x12484d(0x142)][_0x12484d(0x182)]);}['createLabelRenderer'](){const _0x70f7f1=_0x29645f,_0x3f55f8=this[_0x70f7f1(0x18f)];this[_0x70f7f1(0x192)]&&(_0x3f55f8&&_0x3f55f8['removeChild'](this['labelRenderer'][_0x70f7f1(0x182)]));let _0x3092aa=_0x3f55f8?_0x3f55f8['clientWidth']:0x200,_0x56d166=_0x3f55f8?_0x3f55f8[_0x70f7f1(0x187)]:0x200;this[_0x70f7f1(0x192)]=new Addons_js.CSS2DRenderer(),this[_0x70f7f1(0x192)][_0x70f7f1(0x179)](_0x3092aa,_0x56d166),this[_0x70f7f1(0x192)][_0x70f7f1(0x182)][_0x70f7f1(0x1a5)]['pointerEvents']=_0x70f7f1(0x175),this[_0x70f7f1(0x192)][_0x70f7f1(0x182)]['style'][_0x70f7f1(0x19e)]='absolute',this[_0x70f7f1(0x192)][_0x70f7f1(0x182)]['style'][_0x70f7f1(0x189)]=_0x70f7f1(0x17b),this[_0x70f7f1(0x192)][_0x70f7f1(0x182)][_0x70f7f1(0x19d)]=_0x70f7f1(0x184),this[_0x70f7f1(0x192)]['domElement'][_0x70f7f1(0x1a5)]['zIndex']='30',_0x3f55f8&&_0x3f55f8[_0x70f7f1(0x18c)](this[_0x70f7f1(0x192)][_0x70f7f1(0x182)]);}[_0x29645f(0x170)](){const _0x15bd15=_0x29645f,_0x1fd32b=this[_0x15bd15(0x18f)];this[_0x15bd15(0x180)]&&(_0x1fd32b&&_0x1fd32b[_0x15bd15(0x19c)](this['css3dRenderer']['domElement']));let _0xc764b8=_0x1fd32b?_0x1fd32b[_0x15bd15(0x186)]:0x200,_0x30df66=_0x1fd32b?_0x1fd32b[_0x15bd15(0x187)]:0x200;this[_0x15bd15(0x180)]=new Addons_js.CSS3DRenderer(),this[_0x15bd15(0x180)][_0x15bd15(0x179)](_0xc764b8,_0x30df66),this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x18d)]=_0x15bd15(0x175),this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x19e)]='absolute',this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x140)]=_0x15bd15(0x17b),this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x1a5)][_0x15bd15(0x189)]=_0x15bd15(0x17b),this[_0x15bd15(0x180)]['domElement'][_0x15bd15(0x1a5)]['zIndex']='0',this[_0x15bd15(0x180)][_0x15bd15(0x182)][_0x15bd15(0x19d)]=_0x15bd15(0x14e),_0x1fd32b&&_0x1fd32b['insertBefore'](this[_0x15bd15(0x180)][_0x15bd15(0x182)],_0x1fd32b[_0x15bd15(0x148)]);}['createUILayer'](){const _0x19e575=_0x29645f;if(!this['_outerContainer'])return;let _0x2a38f1=this[_0x19e575(0x18f)]['querySelector'](_0x19e575(0x150));!_0x2a38f1&&(_0x2a38f1=document[_0x19e575(0x156)](_0x19e575(0x19b)),_0x2a38f1[_0x19e575(0x19d)]=_0x19e575(0x160),_0x2a38f1['id']=_0x19e575(0x160),_0x2a38f1[_0x19e575(0x1a5)]['position']=_0x19e575(0x178),_0x2a38f1[_0x19e575(0x1a5)]['left']='0',_0x2a38f1[_0x19e575(0x1a5)][_0x19e575(0x189)]='0',_0x2a38f1[_0x19e575(0x1a5)][_0x19e575(0x169)]=_0x19e575(0x199),_0x2a38f1[_0x19e575(0x1a5)][_0x19e575(0x14d)]=_0x19e575(0x199),_0x2a38f1['style']['pointerEvents']='none',_0x2a38f1[_0x19e575(0x1a5)]['zIndex']='10',this['_outerContainer'][_0x19e575(0x18c)](_0x2a38f1),this[_0x19e575(0x144)]=_0x2a38f1);}[_0x29645f(0x145)](){}['setupPostProcess'](_0x3ac138){const _0x4594f7=_0x29645f;!this[_0x4594f7(0x167)]&&(this[_0x4594f7(0x167)]=this[_0x4594f7(0x16c)](_0x3ac138)),this[_0x4594f7(0x167)]['setup']();}[_0x29645f(0x16c)](_0x42a3f2){const _0xf657ba=_0x29645f;return this[_0xf657ba(0x17a)]instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0xf657ba(0x17a)],this[_0xf657ba(0x154)][_0xf657ba(0x18a)][_0xf657ba(0x17e)],this['app'][_0xf657ba(0x181)],_0x42a3f2,()=>this['markRenderStateDirty']()):new PostProcessManager(this[_0xf657ba(0x17a)],this[_0xf657ba(0x154)][_0xf657ba(0x18a)][_0xf657ba(0x17e)],this[_0xf657ba(0x154)][_0xf657ba(0x181)],_0x42a3f2,()=>this[_0xf657ba(0x16b)]());}['updatePostProcess'](_0x343466){const _0x41d93f=_0x29645f;this[_0x41d93f(0x167)]&&this['postProcessManager']['updateSteps'](_0x343466);}[_0x29645f(0x177)](_0x3d108b){const _0x1b4f64=_0x29645f;this[_0x1b4f64(0x167)]&&this[_0x1b4f64(0x167)]['addOutlineObject'](_0x3d108b);}[_0x29645f(0x143)](_0x330c70){const _0x39da1f=_0x29645f;this[_0x39da1f(0x167)]&&this[_0x39da1f(0x167)][_0x39da1f(0x143)](_0x330c70);}[_0x29645f(0x1a4)](_0x2e3170){const _0x4d458f=_0x29645f;this['postProcessManager']&&this['postProcessManager'][_0x4d458f(0x1a4)](_0x2e3170);}[_0x29645f(0x15a)](){const _0x463baf=_0x29645f;this['postProcessManager']&&(this[_0x463baf(0x167)][_0x463baf(0x141)](),this[_0x463baf(0x167)]=null);}[_0x29645f(0x13d)](){const _0x2e22ce=_0x29645f;let _0x34140d=this[_0x2e22ce(0x18f)];if(!_0x34140d)return;this[_0x2e22ce(0x154)][_0x2e22ce(0x13d)](_0x34140d['clientWidth'],_0x34140d[_0x2e22ce(0x187)]),this[_0x2e22ce(0x17a)][_0x2e22ce(0x179)](_0x34140d[_0x2e22ce(0x186)],_0x34140d[_0x2e22ce(0x187)]);if(this[_0x2e22ce(0x192)])this[_0x2e22ce(0x192)][_0x2e22ce(0x179)](_0x34140d[_0x2e22ce(0x186)],_0x34140d[_0x2e22ce(0x187)]);if(this[_0x2e22ce(0x180)])this[_0x2e22ce(0x180)]['setSize'](_0x34140d[_0x2e22ce(0x186)],_0x34140d['clientHeight']);this[_0x2e22ce(0x167)]&&_0x2e22ce(0x149)in this[_0x2e22ce(0x167)]&&this['postProcessManager'][_0x2e22ce(0x149)](_0x34140d[_0x2e22ce(0x186)],_0x34140d[_0x2e22ce(0x187)]),this[_0x2e22ce(0x16b)]();}['markRenderStateDirty'](){const _0x41318c=_0x29645f;this[_0x41318c(0x14b)]=!![];}[_0x29645f(0x155)](){const _0x3012a3=_0x29645f;if(!this[_0x3012a3(0x14b)])return;if(this['postProcessManager']&&this[_0x3012a3(0x167)][_0x3012a3(0x155)]());else this[_0x3012a3(0x17a)][_0x3012a3(0x155)](this[_0x3012a3(0x154)][_0x3012a3(0x18a)][_0x3012a3(0x17e)],this[_0x3012a3(0x154)][_0x3012a3(0x181)]);this[_0x3012a3(0x163)](),this[_0x3012a3(0x192)]&&this[_0x3012a3(0x192)][_0x3012a3(0x155)](this[_0x3012a3(0x154)][_0x3012a3(0x18a)][_0x3012a3(0x17e)],this[_0x3012a3(0x154)][_0x3012a3(0x181)]),this['css3dRenderer']&&this[_0x3012a3(0x180)][_0x3012a3(0x155)](this['app'][_0x3012a3(0x18a)][_0x3012a3(0x17e)],this[_0x3012a3(0x154)][_0x3012a3(0x181)]),this[_0x3012a3(0x14b)]=![];}['onAfterPostProcessRender'](){}async[_0x29645f(0x174)](_0x5a2b3d=0x400,_0x4fbf61=0x400){const _0x17dcaa=_0x29645f;try{if(this['postProcessManager']&&this[_0x17dcaa(0x167)]['render']()){}else await this[_0x17dcaa(0x17a)][_0x17dcaa(0x155)](this[_0x17dcaa(0x154)][_0x17dcaa(0x18a)][_0x17dcaa(0x17e)],this['app'][_0x17dcaa(0x181)]);const _0xc40bdd=this['renderer'][_0x17dcaa(0x182)][_0x17dcaa(0x169)],_0x43b8d0=this['renderer']['domElement'][_0x17dcaa(0x14d)];let _0x300658=_0xc40bdd||_0x5a2b3d,_0x5a3417=_0x43b8d0||_0x4fbf61;(_0x300658<=0x0||_0x5a3417<=0x0)&&(_0x300658=_0x5a2b3d,_0x5a3417=_0x4fbf61);const _0x508ca7=document['createElement'](_0x17dcaa(0x195));_0x508ca7[_0x17dcaa(0x169)]=_0x5a2b3d,_0x508ca7[_0x17dcaa(0x14d)]=_0x4fbf61;const _0x34e60e=_0x508ca7[_0x17dcaa(0x190)]('2d');if(!_0x34e60e)throw Error(_0x17dcaa(0x153));_0x34e60e[_0x17dcaa(0x18b)](this[_0x17dcaa(0x17a)][_0x17dcaa(0x182)],0x0,0x0,_0x300658,_0x5a3417,0x0,0x0,_0x5a2b3d,_0x4fbf61);const _0x4e0aa8=_0x508ca7[_0x17dcaa(0x191)](_0x17dcaa(0x158));return _0x508ca7[_0x17dcaa(0x19a)](),_0x4e0aa8;}catch(_0x9cc268){return '';}}[_0x29645f(0x15c)](_0x40e7eb){const _0x1018b7=_0x29645f;if(!this['_renderer'])return;this[_0x1018b7(0x142)][_0x1018b7(0x15d)][_0x1018b7(0x164)]=_0x40e7eb;}[_0x29645f(0x17d)](_0x437f0b){if(!this['_renderer'])return;this['_renderer']['shadowMap']['type']=_0x437f0b;}[_0x29645f(0x165)](_0x3edf69){const _0x1b82be=_0x29645f;if(!this[_0x1b82be(0x142)])return;this[_0x1b82be(0x142)][_0x1b82be(0x17f)]=_0x3edf69;}['setToneMappingExposure'](_0xb888c1){const _0x36ab4e=_0x29645f;if(!this['_renderer'])return;this[_0x36ab4e(0x142)][_0x36ab4e(0x197)]=_0xb888c1;}[_0x29645f(0x141)](){const _0x2e469d=_0x29645f;this['destroyPostProcess'](),this[_0x2e469d(0x17a)][_0x2e469d(0x16e)](null),this['resizeObserver']&&(this[_0x2e469d(0x157)][_0x2e469d(0x146)](),this['resizeObserver']=null),this[_0x2e469d(0x192)]&&(this[_0x2e469d(0x192)][_0x2e469d(0x182)][_0x2e469d(0x19a)](),this[_0x2e469d(0x192)]=null),this[_0x2e469d(0x142)]&&(this[_0x2e469d(0x17a)][_0x2e469d(0x182)][_0x2e469d(0x19a)](),this[_0x2e469d(0x142)][_0x2e469d(0x171)](),this['_renderer']=null),this[_0x2e469d(0x16f)]&&(this[_0x2e469d(0x16f)][_0x2e469d(0x19a)](),this['_canvasContainer']=null),this['_outerContainer']=null,this[_0x2e469d(0x1a2)]=null;}}
|
|
84
|
+
const _0x280d52=_0x404b;(function(_0x43d970,_0x17d3fa){const _0x3d7414=_0x404b,_0x15da51=_0x43d970();while(!![]){try{const _0x21b15b=-parseInt(_0x3d7414(0x133))/0x1*(-parseInt(_0x3d7414(0x14a))/0x2)+-parseInt(_0x3d7414(0x13d))/0x3+parseInt(_0x3d7414(0x161))/0x4+-parseInt(_0x3d7414(0x10a))/0x5+-parseInt(_0x3d7414(0x14e))/0x6+parseInt(_0x3d7414(0x164))/0x7+parseInt(_0x3d7414(0x147))/0x8*(parseInt(_0x3d7414(0x10b))/0x9);if(_0x21b15b===_0x17d3fa)break;else _0x15da51['push'](_0x15da51['shift']());}catch(_0x19baf4){_0x15da51['push'](_0x15da51['shift']());}}}(_0x3b28,0x49997));function _0x404b(_0x4c397b,_0x23b875){_0x4c397b=_0x4c397b-0x108;const _0x3b28dc=_0x3b28();let _0x404b47=_0x3b28dc[_0x4c397b];return _0x404b47;}function _0x3b28(){const _0x208b67=['setAnimationLoop','type','querySelector','0px','camera','elementId','isCSS3DRendererNeeded','drawImage','scene-labelRenderer','transparent','createUILayer','toDataURL','addOutlineObject','_uiDom','Renderer\x20is\x20not\x20initialized','getContext','100%','_outerContainer','world','_renderer','isLabelRendererNeeded','setOutlineObjects','enabled','toneMappingExposure','WebGL','shadowMap','image/jpeg','538LIIPGh','toneMapping','height','destroyPostProcess','remove','observe','scene-css3dRenderer','setShadowMapEnabled','render','className','1095618oyetCn','zIndex','createElement','scene-uiLayer','contentBoxSize','insertBefore','updateSteps','onAfterPostProcessRender','css3dRenderer','setPixelRatio','88tXCeSu','.scene-uiLayer','top','250xmTUkv','position','createRenderer','param','3504090sEhSsH','removeChild','none','_app','div','createCSS3DRenderer','init','setSize','App\x20is\x20not\x20initialized','resize','setToneMapping','clientWidth','scene','renderAsImage','firstChild','markRenderStateDirty','appendChild','outer','pointerEvents','2375476taGnLi','setToneMappingExposure','resizeObserver','1415519uPmWfj','setupPostProcess','getElementById','postProcess','onWindowResize','Can\x20not\x20create\x20context','_canvasContainer','dispose','postProcessManager','updatePostProcess','left','clientHeight','370400WDiHdo','377532aeQsfE','canvas','labelRenderer','style','renderer','app','domElement','createPostProcessManager','isRenderStateDirty','devicePixelRatio','width','absolute','setClearAlpha'];_0x3b28=function(){return _0x208b67;};return _0x3b28();}class Viewport{get['uiDom'](){const _0x5dfe5f=_0x404b;return this[_0x5dfe5f(0x125)];}get[_0x280d52(0x10c)](){const _0x2476f0=_0x280d52;return this['_outerContainer']||this[_0x2476f0(0x10f)][_0x2476f0(0x111)];}get[_0x280d52(0x15f)](){return this['_outerContainer'];}get[_0x280d52(0x10f)](){const _0x35fb5c=_0x280d52;if(!this[_0x35fb5c(0x12b)])throw Error(_0x35fb5c(0x126));return this['_renderer'];}get['app'](){const _0x3e3e16=_0x280d52;if(!this['_app'])throw Error(_0x3e3e16(0x156));return this[_0x3e3e16(0x151)];}constructor(_0x1794b2,_0x27c7fc){const _0x31dfeb=_0x280d52;this['_uiDom']=null,this['_renderer']=null,this['labelRenderer']=null,this['css3dRenderer']=null,this[_0x31dfeb(0x151)]=null,this[_0x31dfeb(0x163)]=null,this['_outerContainer']=null,this['_canvasContainer']=null,this[_0x31dfeb(0x113)]=!![],this[_0x31dfeb(0x16c)]=null,this[_0x31dfeb(0x151)]=_0x1794b2,_0x27c7fc[_0x31dfeb(0x11d)]&&(this[_0x31dfeb(0x129)]=document[_0x31dfeb(0x166)](_0x27c7fc[_0x31dfeb(0x11d)])),this[_0x31dfeb(0x14c)](_0x27c7fc[_0x31dfeb(0x10f)][_0x31dfeb(0x119)],_0x27c7fc['renderer'][_0x31dfeb(0x14d)]),_0x27c7fc[_0x31dfeb(0x12c)]&&this['createLabelRenderer'](),_0x27c7fc[_0x31dfeb(0x11e)]&&this[_0x31dfeb(0x153)](),_0x27c7fc['isUILayerNeeded']&&this[_0x31dfeb(0x122)](),setTimeout(()=>{const _0x312cc4=_0x31dfeb;var _0x1f7e69;this[_0x312cc4(0x165)]((_0x1f7e69=_0x27c7fc[_0x312cc4(0x167)])!==null&&_0x1f7e69!==void 0?_0x1f7e69:{'steps':[]});},0x32),this[_0x31dfeb(0x129)]&&(this[_0x31dfeb(0x163)]=new ResizeObserver(_0x49eb7d=>{const _0x2b38d5=_0x31dfeb;for(let _0xfc9033 of _0x49eb7d){_0xfc9033[_0x2b38d5(0x141)]&&this['onWindowResize']();}}),this[_0x31dfeb(0x163)][_0x31dfeb(0x138)](this[_0x31dfeb(0x129)])),this['app']['onCameraChangedDelegate']['add'](()=>{const _0x18da1c=_0x31dfeb;this[_0x18da1c(0x16c)]&&(this[_0x18da1c(0x16c)]['updateCamera'](this[_0x18da1c(0x110)]['camera']),this['postProcessManager']['setup']());});}['createRenderer'](_0xa6f533,_0xcc74d7){const _0x24bbf=_0x280d52,_0x4d8dff=this['_outerContainer'];this['_renderer']&&(_0x4d8dff&&_0x4d8dff[_0x24bbf(0x14f)](this[_0x24bbf(0x12b)]['domElement']),this[_0x24bbf(0x12b)][_0x24bbf(0x16b)]());let _0x4ab5cf=_0x4d8dff?_0x4d8dff[_0x24bbf(0x159)]:0x200,_0x49c69e=_0x4d8dff?_0x4d8dff[_0x24bbf(0x109)]:0x200;switch(_0xa6f533){case exports.RendererType['WebGPU']:this['_renderer']=new webgpu.WebGPURenderer(_0xcc74d7);break;case exports.RendererType[_0x24bbf(0x130)]:this['_renderer']=new three.WebGLRenderer(_0xcc74d7);break;}this[_0x24bbf(0x12b)][_0x24bbf(0x146)](window[_0x24bbf(0x114)]),this[_0x24bbf(0x12b)][_0x24bbf(0x155)](_0x4ab5cf,_0x49c69e),this['_renderer'][_0x24bbf(0x131)][_0x24bbf(0x12e)]=!![],this[_0x24bbf(0x12b)][_0x24bbf(0x131)][_0x24bbf(0x119)]=0x1,this[_0x24bbf(0x12b)][_0x24bbf(0x134)]=0x0,this[_0x24bbf(0x12b)][_0x24bbf(0x12f)]=0x1,this['_renderer'][_0x24bbf(0x117)](0x0),this[_0x24bbf(0x12b)][_0x24bbf(0x111)][_0x24bbf(0x10e)][_0x24bbf(0x14b)]=_0x24bbf(0x116),this[_0x24bbf(0x12b)]['domElement'][_0x24bbf(0x10e)][_0x24bbf(0x108)]='0',this[_0x24bbf(0x12b)][_0x24bbf(0x111)]['style'][_0x24bbf(0x149)]='0',this['_renderer'][_0x24bbf(0x111)]['style'][_0x24bbf(0x13e)]='20',this[_0x24bbf(0x12b)][_0x24bbf(0x111)][_0x24bbf(0x10e)]['background']=_0x24bbf(0x121),this[_0x24bbf(0x12b)][_0x24bbf(0x111)]['style'][_0x24bbf(0x160)]=_0x24bbf(0x150),_0x4d8dff&&_0x4d8dff[_0x24bbf(0x15e)](this['_renderer'][_0x24bbf(0x111)]);}['createLabelRenderer'](){const _0x11e6d7=_0x280d52,_0xd82b3c=this[_0x11e6d7(0x129)];this[_0x11e6d7(0x10d)]&&(_0xd82b3c&&_0xd82b3c[_0x11e6d7(0x14f)](this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)]));let _0x3454ed=_0xd82b3c?_0xd82b3c[_0x11e6d7(0x159)]:0x200,_0x591a34=_0xd82b3c?_0xd82b3c['clientHeight']:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this[_0x11e6d7(0x10d)]['setSize'](_0x3454ed,_0x591a34),this[_0x11e6d7(0x10d)]['domElement'][_0x11e6d7(0x10e)][_0x11e6d7(0x160)]=_0x11e6d7(0x150),this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)]['style']['position']=_0x11e6d7(0x116),this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)][_0x11e6d7(0x10e)]['top']=_0x11e6d7(0x11b),this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)][_0x11e6d7(0x13c)]=_0x11e6d7(0x120),this['labelRenderer'][_0x11e6d7(0x111)][_0x11e6d7(0x10e)]['zIndex']='30',_0xd82b3c&&_0xd82b3c[_0x11e6d7(0x15e)](this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)]);}[_0x280d52(0x153)](){const _0x1eb239=_0x280d52,_0x24713f=this[_0x1eb239(0x129)];this[_0x1eb239(0x145)]&&(_0x24713f&&_0x24713f['removeChild'](this[_0x1eb239(0x145)][_0x1eb239(0x111)]));let _0x3abc61=_0x24713f?_0x24713f[_0x1eb239(0x159)]:0x200,_0x3f4327=_0x24713f?_0x24713f[_0x1eb239(0x109)]:0x200;this[_0x1eb239(0x145)]=new Addons_js.CSS3DRenderer(),this['css3dRenderer'][_0x1eb239(0x155)](_0x3abc61,_0x3f4327),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)][_0x1eb239(0x160)]='none',this[_0x1eb239(0x145)]['domElement'][_0x1eb239(0x10e)]['position']=_0x1eb239(0x116),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)][_0x1eb239(0x108)]=_0x1eb239(0x11b),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)]['top']=_0x1eb239(0x11b),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)][_0x1eb239(0x13e)]='0',this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x13c)]=_0x1eb239(0x139),_0x24713f&&_0x24713f[_0x1eb239(0x142)](this[_0x1eb239(0x145)][_0x1eb239(0x111)],_0x24713f[_0x1eb239(0x15c)]);}['createUILayer'](){const _0x1126cf=_0x280d52;if(!this[_0x1126cf(0x129)])return;let _0x4620e5=this[_0x1126cf(0x129)][_0x1126cf(0x11a)](_0x1126cf(0x148));!_0x4620e5&&(_0x4620e5=document[_0x1126cf(0x13f)](_0x1126cf(0x152)),_0x4620e5[_0x1126cf(0x13c)]=_0x1126cf(0x140),_0x4620e5['id']=_0x1126cf(0x140),_0x4620e5['style'][_0x1126cf(0x14b)]=_0x1126cf(0x116),_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x108)]='0',_0x4620e5['style']['top']='0',_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x115)]='100%',_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x135)]=_0x1126cf(0x128),_0x4620e5[_0x1126cf(0x10e)]['pointerEvents']='none',_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x13e)]='10',this['_outerContainer'][_0x1126cf(0x15e)](_0x4620e5),this[_0x1126cf(0x125)]=_0x4620e5);}[_0x280d52(0x154)](){}[_0x280d52(0x165)](_0x610fe8){const _0x46b398=_0x280d52;!this[_0x46b398(0x16c)]&&(this['postProcessManager']=this[_0x46b398(0x112)](_0x610fe8)),this[_0x46b398(0x16c)]['setup']();}['createPostProcessManager'](_0x1809e){const _0x3e4a04=_0x280d52;return this[_0x3e4a04(0x10f)]instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x3e4a04(0x10f)],this['app'][_0x3e4a04(0x12a)]['scene'],this['app'][_0x3e4a04(0x11c)],_0x1809e,()=>this[_0x3e4a04(0x15d)]()):new PostProcessManager(this[_0x3e4a04(0x10f)],this[_0x3e4a04(0x110)]['world'][_0x3e4a04(0x15a)],this[_0x3e4a04(0x110)]['camera'],_0x1809e,()=>this[_0x3e4a04(0x15d)]());}[_0x280d52(0x16d)](_0x4c6474){const _0x4b6153=_0x280d52;this[_0x4b6153(0x16c)]&&this[_0x4b6153(0x16c)][_0x4b6153(0x143)](_0x4c6474);}[_0x280d52(0x124)](_0x17933e){const _0x2a44b6=_0x280d52;this[_0x2a44b6(0x16c)]&&this[_0x2a44b6(0x16c)][_0x2a44b6(0x124)](_0x17933e);}[_0x280d52(0x12d)](_0x34937e){const _0x52dfd6=_0x280d52;this[_0x52dfd6(0x16c)]&&this['postProcessManager'][_0x52dfd6(0x12d)](_0x34937e);}['removeOutlineObject'](_0x132cac){const _0x2178b7=_0x280d52;this[_0x2178b7(0x16c)]&&this[_0x2178b7(0x16c)]['removeOutlineObject'](_0x132cac);}[_0x280d52(0x136)](){const _0x48d8a9=_0x280d52;this[_0x48d8a9(0x16c)]&&(this[_0x48d8a9(0x16c)]['destroy'](),this['postProcessManager']=null);}[_0x280d52(0x168)](){const _0x20fe52=_0x280d52;let _0x45a854=this[_0x20fe52(0x129)];if(!_0x45a854)return;this[_0x20fe52(0x110)][_0x20fe52(0x168)](_0x45a854[_0x20fe52(0x159)],_0x45a854[_0x20fe52(0x109)]),this[_0x20fe52(0x10f)][_0x20fe52(0x155)](_0x45a854[_0x20fe52(0x159)],_0x45a854['clientHeight']);if(this[_0x20fe52(0x10d)])this[_0x20fe52(0x10d)][_0x20fe52(0x155)](_0x45a854['clientWidth'],_0x45a854['clientHeight']);if(this['css3dRenderer'])this[_0x20fe52(0x145)][_0x20fe52(0x155)](_0x45a854['clientWidth'],_0x45a854[_0x20fe52(0x109)]);this['postProcessManager']&&_0x20fe52(0x157)in this[_0x20fe52(0x16c)]&&this[_0x20fe52(0x16c)]['resize'](_0x45a854[_0x20fe52(0x159)],_0x45a854[_0x20fe52(0x109)]),this['markRenderStateDirty']();}[_0x280d52(0x15d)](){const _0x54c80c=_0x280d52;this[_0x54c80c(0x113)]=!![];}[_0x280d52(0x13b)](){const _0xac7fd0=_0x280d52;if(!this[_0xac7fd0(0x113)])return;if(this[_0xac7fd0(0x16c)]&&this['postProcessManager'][_0xac7fd0(0x13b)]());else this['renderer'][_0xac7fd0(0x13b)](this['app']['world'][_0xac7fd0(0x15a)],this['app'][_0xac7fd0(0x11c)]);this[_0xac7fd0(0x144)](),this[_0xac7fd0(0x10d)]&&this[_0xac7fd0(0x10d)][_0xac7fd0(0x13b)](this['app']['world'][_0xac7fd0(0x15a)],this['app'][_0xac7fd0(0x11c)]),this[_0xac7fd0(0x145)]&&this['css3dRenderer'][_0xac7fd0(0x13b)](this[_0xac7fd0(0x110)]['world'][_0xac7fd0(0x15a)],this[_0xac7fd0(0x110)]['camera']),this[_0xac7fd0(0x113)]=![];}[_0x280d52(0x144)](){}async[_0x280d52(0x15b)](_0x3627e1=0x400,_0x15a93a=0x400){const _0x1c047b=_0x280d52;try{if(this[_0x1c047b(0x16c)]&&this['postProcessManager'][_0x1c047b(0x13b)]()){}else await this[_0x1c047b(0x10f)][_0x1c047b(0x13b)](this[_0x1c047b(0x110)][_0x1c047b(0x12a)][_0x1c047b(0x15a)],this[_0x1c047b(0x110)]['camera']);const _0x3d086a=this[_0x1c047b(0x10f)][_0x1c047b(0x111)][_0x1c047b(0x115)],_0x56fed9=this[_0x1c047b(0x10f)][_0x1c047b(0x111)][_0x1c047b(0x135)];let _0x3f5e78=_0x3d086a||_0x3627e1,_0x61fb05=_0x56fed9||_0x15a93a;(_0x3f5e78<=0x0||_0x61fb05<=0x0)&&(_0x3f5e78=_0x3627e1,_0x61fb05=_0x15a93a);const _0x1aeeea=document[_0x1c047b(0x13f)](_0x1c047b(0x10c));_0x1aeeea[_0x1c047b(0x115)]=_0x3627e1,_0x1aeeea['height']=_0x15a93a;const _0x28863e=_0x1aeeea[_0x1c047b(0x127)]('2d');if(!_0x28863e)throw Error(_0x1c047b(0x169));_0x28863e[_0x1c047b(0x11f)](this[_0x1c047b(0x10f)]['domElement'],0x0,0x0,_0x3f5e78,_0x61fb05,0x0,0x0,_0x3627e1,_0x15a93a);const _0x4b59a9=_0x1aeeea[_0x1c047b(0x123)](_0x1c047b(0x132));return _0x1aeeea[_0x1c047b(0x137)](),_0x4b59a9;}catch(_0x53f33a){return '';}}[_0x280d52(0x13a)](_0xfe3298){const _0x1dfdb3=_0x280d52;if(!this[_0x1dfdb3(0x12b)])return;this[_0x1dfdb3(0x12b)][_0x1dfdb3(0x131)][_0x1dfdb3(0x12e)]=_0xfe3298;}['setShadowMapType'](_0x19608b){const _0x161fbc=_0x280d52;if(!this[_0x161fbc(0x12b)])return;this[_0x161fbc(0x12b)][_0x161fbc(0x131)][_0x161fbc(0x119)]=_0x19608b;}[_0x280d52(0x158)](_0x5271dd){const _0x1cc870=_0x280d52;if(!this[_0x1cc870(0x12b)])return;this[_0x1cc870(0x12b)][_0x1cc870(0x134)]=_0x5271dd;}[_0x280d52(0x162)](_0x144e55){if(!this['_renderer'])return;this['_renderer']['toneMappingExposure']=_0x144e55;}['destroy'](){const _0xbd32e=_0x280d52;this[_0xbd32e(0x136)](),this['renderer'][_0xbd32e(0x118)](null),this[_0xbd32e(0x163)]&&(this['resizeObserver']['disconnect'](),this[_0xbd32e(0x163)]=null),this[_0xbd32e(0x10d)]&&(this[_0xbd32e(0x10d)]['domElement'][_0xbd32e(0x137)](),this[_0xbd32e(0x10d)]=null),this[_0xbd32e(0x12b)]&&(this[_0xbd32e(0x10f)][_0xbd32e(0x111)][_0xbd32e(0x137)](),this[_0xbd32e(0x12b)][_0xbd32e(0x16b)](),this[_0xbd32e(0x12b)]=null),this[_0xbd32e(0x16a)]&&(this['_canvasContainer']['remove'](),this[_0xbd32e(0x16a)]=null),this['_outerContainer']=null,this[_0xbd32e(0x151)]=null;}}
|
|
85
85
|
|
|
86
|
-
function _0x5db7(_0x2822a3,_0x24fa67){_0x2822a3=_0x2822a3-0x16e;const _0x5b464c=_0x5b46();let _0x5db7c9=_0x5b464c[_0x2822a3];return _0x5db7c9;}const _0x3fc162=_0x5db7;(function(_0xf24972,_0x11f68f){const _0x3b650c=_0x5db7,_0x291b65=_0xf24972();while(!![]){try{const _0x4664fb=parseInt(_0x3b650c(0x1b0))/0x1+-parseInt(_0x3b650c(0x1a7))/0x2+parseInt(_0x3b650c(0x1a4))/0x3+parseInt(_0x3b650c(0x1b2))/0x4+-parseInt(_0x3b650c(0x191))/0x5*(-parseInt(_0x3b650c(0x195))/0x6)+-parseInt(_0x3b650c(0x171))/0x7*(-parseInt(_0x3b650c(0x192))/0x8)+-parseInt(_0x3b650c(0x19e))/0x9;if(_0x4664fb===_0x11f68f)break;else _0x291b65['push'](_0x291b65['shift']());}catch(_0x376f16){_0x291b65['push'](_0x291b65['shift']());}}}(_0x5b46,0xc4578));function _0x5b46(){const _0x27c96d=['has','2961540nETykz','getCenter','getChildActorsByIds','_onHoverBeginDelegate','getBoundsBottomCenterPosition','viewport','onDoubleClickDelegate','removeFromParent','childrenComponents','639223jfjpOv','length','3156960vbkcdV','onActorHoverEnd','getComponentById','getWorldForwardDirection','setWorldMatrix','onActorDoubleClick','broadcast','getBoundsTopCenterPosition','setScale','getWorldMatrix','setQuaternion','addLocalOffset','rootComponent','setRotation','removeChildActor','_onClickDelegate','uuid','KeepRelative','getWorldScale','getWorldPosition','getChildActorById','push','onHoverBeginDelegate','userData','max','localToWorld','destroyChildren','worldToLocal','getScale','_world','name','clearComponent','size','getBoundsCenterPosition','onActorHoverBegin','world','91406bhvDeN','getWorldRotation','rootComponent\x20is\x20invalid','getWorldQuaternion','childActors','_onDoubleClickDelegate','attachComponent','addChildComponent','getPosition','landToGround','setVisible','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','addTickableActor','parentActor','delete','children','getWorldRightDirection','getWorldUpDirection','markRenderStateDirty','onAddedToWorld','tick','error','isTickEnabled','sub','parent','isVisible','removeComponent','app','KeepWorld','getBounds','destroy','_rootComponent','13775NFPTvu','712pAOLWY','getRotation','setPosition','264mxsZEu','min','detachFromParentComponent','isClickEnabled','onActorClick','setLayers','isHoverEnabled','LYObject','_name','13468608fvwnak','Actor','forEach','_onHoverEndDelegate','onHoverEndDelegate','getComponents','3208959bFVtQL','constructRootComponent'];_0x5b46=function(){return _0x27c96d;};return _0x5b46();}class Actor extends BaseObject{get['world'](){return this['_world'];}get[_0x3fc162(0x1d0)](){const _0x3a85a0=_0x3fc162;return this[_0x3a85a0(0x19d)];}set[_0x3fc162(0x1d0)](_0x9c1705){const _0x5725ba=_0x3fc162;this[_0x5725ba(0x19d)]=_0x9c1705;}get[_0x3fc162(0x1be)](){const _0x3de838=_0x3fc162;if(!this[_0x3de838(0x190)])throw Error(_0x3de838(0x173));return this[_0x3de838(0x190)];}set[_0x3fc162(0x1be)](_0x51ec30){const _0x5b4a69=_0x3fc162;_0x51ec30[_0x5b4a69(0x197)](),_0x51ec30['parentActor']=this;if(this[_0x5b4a69(0x190)]){let _0x51a174=this[_0x5b4a69(0x1be)][_0x5b4a69(0x1af)];for(let _0x2d4375=0x0;_0x2d4375<_0x51a174[_0x5b4a69(0x1b1)];++_0x2d4375){_0x51ec30['addChildComponent'](_0x51a174[_0x2d4375]);}this[_0x5b4a69(0x1be)][_0x5b4a69(0x18f)]();}this[_0x5b4a69(0x190)]=_0x51ec30;}get[_0x3fc162(0x1af)](){const _0x4af5c4=_0x3fc162;return this[_0x4af5c4(0x1be)]['childrenComponents'];}get[_0x3fc162(0x175)](){const _0x3301b1=_0x3fc162;var _0x5f55fe;let _0x25e8e3=[];return (_0x5f55fe=this[_0x3301b1(0x1be)]['threeObject'])===null||_0x5f55fe===void 0?void 0:_0x5f55fe[_0x3301b1(0x180)]['forEach'](_0x59fd38=>{const _0x238f44=_0x3301b1;var _0x152803;let _0x160fc9=(_0x152803=_0x59fd38[_0x238f44(0x1c9)][_0x238f44(0x19c)])===null||_0x152803===void 0?void 0:_0x152803['parentActor'];_0x160fc9!==this&&_0x160fc9 instanceof Actor&&_0x25e8e3['push'](_0x160fc9);}),_0x25e8e3;}get['parentActor'](){const _0x54cdc1=_0x3fc162;var _0x53ac51,_0x5df29e,_0x415e51;let _0x33a4ac=(_0x415e51=(_0x5df29e=(_0x53ac51=this['rootComponent']['threeObject'])===null||_0x53ac51===void 0?void 0:_0x53ac51[_0x54cdc1(0x189)])===null||_0x5df29e===void 0?void 0:_0x5df29e[_0x54cdc1(0x1c9)][_0x54cdc1(0x19c)])===null||_0x415e51===void 0?void 0:_0x415e51[_0x54cdc1(0x17e)];return _0x33a4ac===this?null:_0x33a4ac;}get[_0x3fc162(0x18a)](){const _0x219ba4=_0x3fc162;return this[_0x219ba4(0x1be)]?this['rootComponent'][_0x219ba4(0x18a)]:![];}get[_0x3fc162(0x187)](){return super['isTickEnabled'];}set[_0x3fc162(0x187)](_0xfb30c6){const _0x58b944=_0x3fc162;super[_0x58b944(0x187)]=_0xfb30c6,this[_0x58b944(0x187)]?this[_0x58b944(0x18c)]['world'][_0x58b944(0x17d)](this):this['app'][_0x58b944(0x170)]['removeTickableActor'](this);}get[_0x3fc162(0x1c8)](){return this['_onHoverBeginDelegate'];}get[_0x3fc162(0x1a2)](){return this['_onHoverEndDelegate'];}get['onClickDelegate'](){const _0x9e0f45=_0x3fc162;return this[_0x9e0f45(0x1c1)];}get[_0x3fc162(0x1ad)](){const _0x2ba577=_0x3fc162;return this[_0x2ba577(0x176)];}constructor(_0x238ba5,_0x315937){const _0x27b836=_0x3fc162;super(_0x315937),this[_0x27b836(0x19d)]=_0x27b836(0x19f),this[_0x27b836(0x190)]=null,this['_world']=null,this[_0x27b836(0x1aa)]=new Delegate(),this[_0x27b836(0x1a1)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x27b836(0x176)]=new Delegate(),this[_0x27b836(0x18c)]=_0x238ba5,this[_0x27b836(0x1be)]=this[_0x27b836(0x1a5)](),this[_0x27b836(0x1be)][_0x27b836(0x17e)]=this;}[_0x3fc162(0x1a5)](){const _0xcb8c65=_0x3fc162;return new SceneComponent(this[_0xcb8c65(0x18c)]);}[_0x3fc162(0x16e)](_0x4a909d=!![]){const _0x317c9a=_0x3fc162;let _0x2fa8bd=new webgpu.Vector3();return this[_0x317c9a(0x18e)]()['getCenter'](_0x2fa8bd),!_0x4a909d?_0x2fa8bd[_0x317c9a(0x188)](this[_0x317c9a(0x179)]()):_0x2fa8bd;}[_0x3fc162(0x1c6)](_0x83d9f,_0x5a6373=!![]){const _0x32823e=_0x3fc162,_0x2db2ed=this['childActors'];for(const _0x203baa of _0x2db2ed){if(_0x203baa['uuid']===_0x83d9f)return _0x203baa;}if(_0x5a6373)for(const _0x4969b6 of _0x2db2ed){const _0x45c2a6=_0x4969b6[_0x32823e(0x1c6)](_0x83d9f,!![]);if(_0x45c2a6)return _0x45c2a6;}return null;}[_0x3fc162(0x1a9)](_0x5a41c3,_0x1ccc1e=!![]){const _0x323fc4=_0x3fc162,_0x4909e5=[],_0x54d251=new Set(_0x5a41c3),_0x487809=this['childActors'];for(const _0x44a945 of _0x487809){_0x54d251[_0x323fc4(0x1a6)](_0x44a945[_0x323fc4(0x1c2)])&&(_0x4909e5[_0x323fc4(0x1c7)](_0x44a945),_0x54d251[_0x323fc4(0x17f)](_0x44a945[_0x323fc4(0x1c2)]));}if(_0x1ccc1e&&_0x54d251[_0x323fc4(0x1d2)]>0x0)for(const _0x3bd25f of _0x487809){const _0x292900=_0x3bd25f[_0x323fc4(0x1a9)]([..._0x54d251],!![]);for(const _0x419045 of _0x292900){_0x4909e5[_0x323fc4(0x1c7)](_0x419045),_0x54d251['delete'](_0x419045[_0x323fc4(0x1c2)]);}if(_0x54d251[_0x323fc4(0x1d2)]===0x0)break;}return _0x4909e5;}[_0x3fc162(0x1b4)](_0x7f036f){const _0x551604=_0x3fc162;return this[_0x551604(0x1be)]['getComponentById'](_0x7f036f);}[_0x3fc162(0x1b9)](_0x55e744=!![]){const _0x188276=_0x3fc162;let _0x51e2c8=new webgpu.Vector3(),_0x3eadc4=this['rootComponent'][_0x188276(0x18e)]();return _0x3eadc4[_0x188276(0x1a8)](_0x51e2c8),_0x51e2c8['y']=_0x3eadc4[_0x188276(0x1ca)]['y'],!_0x55e744?_0x51e2c8[_0x188276(0x188)](this[_0x188276(0x179)]()):_0x51e2c8;}[_0x3fc162(0x1ab)](_0x1477c5=!![]){const _0x318f1b=_0x3fc162;let _0x5d1822=new webgpu.Vector3(),_0x2425a9=this[_0x318f1b(0x18e)]();return _0x2425a9[_0x318f1b(0x1a8)](_0x5d1822),_0x5d1822['y']=_0x2425a9[_0x318f1b(0x196)]['y'],!_0x1477c5?_0x5d1822[_0x318f1b(0x188)](this['getPosition']()):_0x5d1822;}[_0x3fc162(0x18e)](){const _0x21d7e=_0x3fc162;return this[_0x21d7e(0x1be)][_0x21d7e(0x18e)]();}['destroy'](){const _0x18189f=_0x3fc162;let _0x1d5380=this[_0x18189f(0x175)];_0x1d5380[_0x18189f(0x1a0)](_0x1ad20b=>{const _0x5b4808=_0x18189f;_0x1ad20b[_0x5b4808(0x18f)]();}),this['rootComponent'][_0x18189f(0x18f)]();}[_0x3fc162(0x17b)](_0x4dde69){const _0x4d92ae=_0x3fc162;this['rootComponent'][_0x4d92ae(0x17b)](_0x4dde69);}[_0x3fc162(0x19a)](_0x544c49,_0xd89286=!![]){const _0x300093=_0x3fc162;this[_0x300093(0x1be)][_0x300093(0x19a)](_0x544c49),_0xd89286&&this[_0x300093(0x175)][_0x300093(0x1a0)](_0x229d37=>{const _0x4378ba=_0x300093;_0x229d37[_0x4378ba(0x19a)](_0x544c49,_0xd89286);});}[_0x3fc162(0x185)](_0x6ba6a7){const _0x46abbe=_0x3fc162;if(!this[_0x46abbe(0x187)])return;super[_0x46abbe(0x185)](_0x6ba6a7),this[_0x46abbe(0x1be)][_0x46abbe(0x185)](_0x6ba6a7);}[_0x3fc162(0x179)](){const _0x11a61c=_0x3fc162;return this[_0x11a61c(0x1be)][_0x11a61c(0x179)]();}[_0x3fc162(0x194)](..._0x3e47b9){const _0x3ca4b5=_0x3fc162;_0x3e47b9[_0x3ca4b5(0x1b1)]===0x1?this[_0x3ca4b5(0x1be)][_0x3ca4b5(0x194)](_0x3e47b9[0x0]):this[_0x3ca4b5(0x1be)][_0x3ca4b5(0x194)](_0x3e47b9[0x0],_0x3e47b9[0x1],_0x3e47b9[0x2]);}[_0x3fc162(0x193)](){const _0x57f17a=_0x3fc162;return this['rootComponent'][_0x57f17a(0x193)]();}[_0x3fc162(0x1bf)](..._0xe6830){const _0x219e81=_0x3fc162;_0xe6830[_0x219e81(0x1b1)]===0x1?this['rootComponent'][_0x219e81(0x1bf)](_0xe6830[0x0]):this[_0x219e81(0x1be)][_0x219e81(0x1bf)](_0xe6830[0x0],_0xe6830[0x1],_0xe6830[0x2]);}['getQuaternion'](){const _0x7d5387=_0x3fc162;return this[_0x7d5387(0x1be)]['getQuaternion']();}[_0x3fc162(0x1bc)](..._0x43041e){const _0x473fee=_0x3fc162;_0x43041e[_0x473fee(0x1b1)]===0x1?this[_0x473fee(0x1be)][_0x473fee(0x1bc)](_0x43041e[0x0]):this[_0x473fee(0x1be)][_0x473fee(0x1bc)](_0x43041e[0x0],_0x43041e[0x1],_0x43041e[0x2],_0x43041e[0x3]);}[_0x3fc162(0x1ce)](){const _0x3ed7af=_0x3fc162;return this[_0x3ed7af(0x1be)][_0x3ed7af(0x1ce)]();}[_0x3fc162(0x1ba)](..._0x482b8f){const _0xb1f9b0=_0x3fc162;_0x482b8f[_0xb1f9b0(0x1b1)]===0x1?this['rootComponent'][_0xb1f9b0(0x1ba)](_0x482b8f[0x0]):this['rootComponent'][_0xb1f9b0(0x1ba)](_0x482b8f[0x0],_0x482b8f[0x1],_0x482b8f[0x2]);}[_0x3fc162(0x1bb)](){const _0x48fc8f=_0x3fc162;return this[_0x48fc8f(0x1be)]['getWorldMatrix']();}[_0x3fc162(0x1b6)](_0x4977bc){const _0xc9186d=_0x3fc162;this[_0xc9186d(0x1be)][_0xc9186d(0x1b6)](_0x4977bc);}[_0x3fc162(0x1c5)](){const _0x5163f0=_0x3fc162;return this['rootComponent'][_0x5163f0(0x1c5)]();}[_0x3fc162(0x172)](){const _0x189404=_0x3fc162;return this['rootComponent'][_0x189404(0x172)]();}[_0x3fc162(0x174)](){const _0x597891=_0x3fc162;return this[_0x597891(0x1be)]['getWorldQuaternion']();}[_0x3fc162(0x1c4)](){const _0x31fed3=_0x3fc162;return this[_0x31fed3(0x1be)]['getWorldScale']();}[_0x3fc162(0x1b5)](){const _0xece158=_0x3fc162;return this[_0xece158(0x1be)]['getWorldForwardDirection']();}[_0x3fc162(0x182)](){const _0x515077=_0x3fc162;return this[_0x515077(0x1be)][_0x515077(0x182)]();}[_0x3fc162(0x181)](){const _0x1d72fb=_0x3fc162;return this[_0x1d72fb(0x1be)][_0x1d72fb(0x181)]();}[_0x3fc162(0x1bd)](_0x55badd,_0x3daefc){const _0x34db92=_0x3fc162;let _0x1e4596=this['getPosition']();this[_0x34db92(0x194)](_0x1e4596['x']+_0x55badd['x']*_0x3daefc,_0x1e4596['y']+_0x55badd['y']*_0x3daefc,_0x1e4596['z']+_0x55badd['z']*_0x3daefc);}[_0x3fc162(0x1cd)](_0x3f7bb1){const _0xa150cb=_0x3fc162;return this['rootComponent'][_0xa150cb(0x1cd)](_0x3f7bb1);}[_0x3fc162(0x1cb)](_0x548a23){const _0xbd19b0=_0x3fc162;return this[_0xbd19b0(0x1be)]['localToWorld'](_0x548a23);}[_0x3fc162(0x1a3)](){const _0x22a70c=_0x3fc162;return this[_0x22a70c(0x1be)][_0x22a70c(0x1af)];}['addComponent'](_0x33a1b8,_0x470929=exports.AttachmentRules[_0x3fc162(0x1c3)]){const _0x3b64bf=_0x3fc162;this[_0x3b64bf(0x1be)][_0x3b64bf(0x178)](_0x33a1b8,_0x470929),this[_0x3b64bf(0x1cf)]&&_0x33a1b8[_0x3b64bf(0x184)](this['_world']);}[_0x3fc162(0x18b)](_0x2fb066){const _0x19e127=_0x3fc162;if(_0x2fb066===this[_0x19e127(0x190)])return;this[_0x19e127(0x1be)]['removeChildComponent'](_0x2fb066);}[_0x3fc162(0x1d1)](){const _0x368ed3=_0x3fc162;this['rootComponent'][_0x368ed3(0x1cc)]();}['addChildActor'](_0x5ae5cb,_0x3527a7=exports.AttachmentRules['KeepWorld']){const _0xe46dac=_0x3fc162;if(!_0x5ae5cb[_0xe46dac(0x1be)]){console[_0xe46dac(0x186)](_0xe46dac(0x17c));return;}if(_0x5ae5cb['parentActor']===this)return;_0x3527a7===exports.AttachmentRules['KeepRelative']&&this['rootComponent'][_0xe46dac(0x177)](_0x5ae5cb[_0xe46dac(0x1be)]);if(_0x3527a7===exports.AttachmentRules[_0xe46dac(0x18d)]){let _0x5808c8=_0x5ae5cb[_0xe46dac(0x1bb)]();this[_0xe46dac(0x1be)]['attachComponent'](_0x5ae5cb[_0xe46dac(0x1be)]),_0x5ae5cb[_0xe46dac(0x1b6)](_0x5808c8);}this[_0xe46dac(0x1cf)]&&this['_world'][_0xe46dac(0x1ac)][_0xe46dac(0x183)]();}[_0x3fc162(0x1c0)](_0x2270a2){const _0x497f1f=_0x3fc162;let _0x4c7adb=_0x2270a2[_0x497f1f(0x1bb)]();this[_0x497f1f(0x1be)]['detachComponent'](_0x2270a2[_0x497f1f(0x1be)]),_0x2270a2[_0x497f1f(0x1b6)](_0x4c7adb);}[_0x3fc162(0x1ae)](){const _0x648ade=_0x3fc162;this[_0x648ade(0x17e)]&&this['parentActor'][_0x648ade(0x1c0)](this);}['onAddedToWorld'](_0x44a14f){const _0x524dbf=_0x3fc162;this[_0x524dbf(0x1cf)]=_0x44a14f,this['rootComponent'][_0x524dbf(0x184)](this[_0x524dbf(0x1cf)]),this[_0x524dbf(0x175)][_0x524dbf(0x1a0)](_0x576ceb=>{const _0x51b9c2=_0x524dbf;_0x576ceb[_0x51b9c2(0x184)](_0x44a14f);});}['onRemovedFromWorld'](){const _0x1f1909=_0x3fc162;this[_0x1f1909(0x1cf)]=null;}get[_0x3fc162(0x19b)](){const _0x261482=_0x3fc162;return this[_0x261482(0x1be)][_0x261482(0x19b)];}set[_0x3fc162(0x19b)](_0x15a910){const _0x8f3883=_0x3fc162;this[_0x8f3883(0x1be)][_0x8f3883(0x19b)]=_0x15a910;}get[_0x3fc162(0x198)](){const _0x3bd9bc=_0x3fc162;return this[_0x3bd9bc(0x1be)]['isClickEnabled'];}set[_0x3fc162(0x198)](_0x242692){const _0x4db9ba=_0x3fc162;this[_0x4db9ba(0x1be)][_0x4db9ba(0x198)]=_0x242692;}[_0x3fc162(0x16f)](_0x32a2b4){const _0x30029e=_0x3fc162;this['_onHoverBeginDelegate'][_0x30029e(0x1b8)](_0x32a2b4);}[_0x3fc162(0x1b3)](_0x2cc7a2){const _0x342532=_0x3fc162;this[_0x342532(0x1a1)]['broadcast'](_0x2cc7a2);}[_0x3fc162(0x199)](_0x43364b){const _0x3471b4=_0x3fc162;this[_0x3471b4(0x1c1)][_0x3471b4(0x1b8)](_0x43364b);}[_0x3fc162(0x1b7)](_0x49e775){this['_onDoubleClickDelegate']['broadcast'](_0x49e775);}[_0x3fc162(0x17a)](){}}
|
|
86
|
+
function _0x3224(){const _0x5297fb=['onActorHoverEnd','onClickDelegate','getPosition','10676ZiaUPD','destroyChildren','markRenderStateDirty','getBoundsBottomCenterPosition','removeFromParent','addChildComponent','addComponent','getWorldForwardDirection','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','worldToLocal','getWorldRightDirection','422762gUXiBw','removeChildComponent','4540743xCvTUC','addChildActor','2092242UwnCJH','856eOnnCZ','error','sub','parentActor','setQuaternion','getBoundsTopCenterPosition','uuid','destroy','1702610HAJqDV','_rootComponent','setPosition','KeepWorld','getWorldUpDirection','children','onHoverEndDelegate','getWorldMatrix','childActors','removeChildActor','push','localToWorld','530aAALxr','setVisible','setLayers','getWorldScale','userData','Actor','getWorldPosition','addTickableActor','_onHoverBeginDelegate','getWorldQuaternion','viewport','2942010twkFeZ','isHoverEnabled','detachComponent','onDoubleClickDelegate','getComponentById','delete','rootComponent\x20is\x20invalid','has','getScale','constructRootComponent','length','getBounds','setWorldMatrix','name','min','forEach','onActorHoverBegin','_onClickDelegate','isVisible','world','rootComponent','max','_onDoubleClickDelegate','childrenComponents','getRotation','setScale','getComponents','onAddedToWorld','_world','LYObject','size','getBoundsCenterPosition','14469xkeoGT','removeComponent','setRotation','getChildActorsByIds','tick','KeepRelative','isTickEnabled','_onHoverEndDelegate','_name','getChildActorById','broadcast','getCenter','threeObject','attachComponent','isClickEnabled'];_0x3224=function(){return _0x5297fb;};return _0x3224();}const _0x25c65e=_0x3dd6$1;(function(_0x546fad,_0x4ba81b){const _0x5ee14d=_0x3dd6$1,_0x10e215=_0x546fad();while(!![]){try{const _0x4654ad=-parseInt(_0x5ee14d(0x1f7))/0x1+-parseInt(_0x5ee14d(0x204))/0x2+parseInt(_0x5ee14d(0x21b))/0x3+parseInt(_0x5ee14d(0x1ec))/0x4*(parseInt(_0x5ee14d(0x210))/0x5)+parseInt(_0x5ee14d(0x1fb))/0x6+-parseInt(_0x5ee14d(0x1da))/0x7*(parseInt(_0x5ee14d(0x1fc))/0x8)+parseInt(_0x5ee14d(0x1f9))/0x9;if(_0x4654ad===_0x4ba81b)break;else _0x10e215['push'](_0x10e215['shift']());}catch(_0x1ca7b7){_0x10e215['push'](_0x10e215['shift']());}}}(_0x3224,0x97c0e));function _0x3dd6$1(_0xdf195d,_0x2cddd7){_0xdf195d=_0xdf195d-0x1be;const _0x322491=_0x3224();let _0x3dd696=_0x322491[_0xdf195d];return _0x3dd696;}class Actor extends BaseObject{get[_0x25c65e(0x1cd)](){const _0x4562e1=_0x25c65e;return this[_0x4562e1(0x1d6)];}get['name'](){const _0x187478=_0x25c65e;return this[_0x187478(0x1e2)];}set[_0x25c65e(0x1c7)](_0x1b361c){const _0x1913f2=_0x25c65e;this[_0x1913f2(0x1e2)]=_0x1b361c;}get[_0x25c65e(0x1ce)](){const _0x199b10=_0x25c65e;if(!this[_0x199b10(0x205)])throw Error(_0x199b10(0x1c0));return this[_0x199b10(0x205)];}set[_0x25c65e(0x1ce)](_0x584610){const _0x2fb7df=_0x25c65e;_0x584610['detachFromParentComponent'](),_0x584610[_0x2fb7df(0x1ff)]=this;if(this[_0x2fb7df(0x205)]){let _0x70659=this[_0x2fb7df(0x1ce)]['childrenComponents'];for(let _0x5e0707=0x0;_0x5e0707<_0x70659['length'];++_0x5e0707){_0x584610[_0x2fb7df(0x1f1)](_0x70659[_0x5e0707]);}this[_0x2fb7df(0x1ce)]['destroy']();}this[_0x2fb7df(0x205)]=_0x584610;}get[_0x25c65e(0x1d1)](){const _0x2965b1=_0x25c65e;return this[_0x2965b1(0x1ce)][_0x2965b1(0x1d1)];}get['childActors'](){const _0x3e27f5=_0x25c65e;var _0x22eef3;let _0x1c6475=[];return (_0x22eef3=this['rootComponent'][_0x3e27f5(0x1e6)])===null||_0x22eef3===void 0?void 0:_0x22eef3[_0x3e27f5(0x209)]['forEach'](_0x3026c4=>{const _0x584c8e=_0x3e27f5;var _0x46d367;let _0xeaa4ac=(_0x46d367=_0x3026c4['userData'][_0x584c8e(0x1d7)])===null||_0x46d367===void 0?void 0:_0x46d367[_0x584c8e(0x1ff)];_0xeaa4ac!==this&&_0xeaa4ac instanceof Actor&&_0x1c6475['push'](_0xeaa4ac);}),_0x1c6475;}get[_0x25c65e(0x1ff)](){const _0x589695=_0x25c65e;var _0x12e61f,_0x340cd4,_0xe1d051;let _0x257e3b=(_0xe1d051=(_0x340cd4=(_0x12e61f=this['rootComponent'][_0x589695(0x1e6)])===null||_0x12e61f===void 0?void 0:_0x12e61f['parent'])===null||_0x340cd4===void 0?void 0:_0x340cd4[_0x589695(0x214)][_0x589695(0x1d7)])===null||_0xe1d051===void 0?void 0:_0xe1d051[_0x589695(0x1ff)];return _0x257e3b===this?null:_0x257e3b;}get[_0x25c65e(0x1cc)](){const _0x495d07=_0x25c65e;return this['rootComponent']?this[_0x495d07(0x1ce)][_0x495d07(0x1cc)]:![];}get[_0x25c65e(0x1e0)](){return super['isTickEnabled'];}set[_0x25c65e(0x1e0)](_0x34324a){const _0x355852=_0x25c65e;super[_0x355852(0x1e0)]=_0x34324a,this[_0x355852(0x1e0)]?this['app'][_0x355852(0x1cd)][_0x355852(0x217)](this):this['app'][_0x355852(0x1cd)]['removeTickableActor'](this);}get['onHoverBeginDelegate'](){const _0x428677=_0x25c65e;return this[_0x428677(0x218)];}get[_0x25c65e(0x20a)](){const _0x49564f=_0x25c65e;return this[_0x49564f(0x1e1)];}get[_0x25c65e(0x1ea)](){const _0x5ea1e9=_0x25c65e;return this[_0x5ea1e9(0x1cb)];}get[_0x25c65e(0x21e)](){return this['_onDoubleClickDelegate'];}constructor(_0x5a537c,_0x4e3f5a){const _0x5accbf=_0x25c65e;super(_0x4e3f5a),this['_name']=_0x5accbf(0x215),this[_0x5accbf(0x205)]=null,this['_world']=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x5accbf(0x1cb)]=new Delegate(),this[_0x5accbf(0x1d0)]=new Delegate(),this['app']=_0x5a537c,this['rootComponent']=this['constructRootComponent'](),this[_0x5accbf(0x1ce)][_0x5accbf(0x1ff)]=this;}[_0x25c65e(0x1c3)](){return new SceneComponent(this['app']);}[_0x25c65e(0x1d9)](_0x3b21ec=!![]){const _0x106521=_0x25c65e;let _0x2b2437=new webgpu.Vector3();return this[_0x106521(0x1c5)]()[_0x106521(0x1e5)](_0x2b2437),!_0x3b21ec?_0x2b2437[_0x106521(0x1fe)](this[_0x106521(0x1eb)]()):_0x2b2437;}[_0x25c65e(0x1e3)](_0x5c814c,_0x5b3d0a=!![]){const _0x44d2de=_0x25c65e,_0x473fb9=this[_0x44d2de(0x20c)];for(const _0x197567 of _0x473fb9){if(_0x197567[_0x44d2de(0x202)]===_0x5c814c)return _0x197567;}if(_0x5b3d0a)for(const _0x2a6502 of _0x473fb9){const _0x40e2c5=_0x2a6502[_0x44d2de(0x1e3)](_0x5c814c,!![]);if(_0x40e2c5)return _0x40e2c5;}return null;}['getChildActorsByIds'](_0x2b48c4,_0x1a2e68=!![]){const _0x247ac6=_0x25c65e,_0x27068f=[],_0x237681=new Set(_0x2b48c4),_0x15e9e9=this[_0x247ac6(0x20c)];for(const _0x4f68aa of _0x15e9e9){_0x237681[_0x247ac6(0x1c1)](_0x4f68aa[_0x247ac6(0x202)])&&(_0x27068f[_0x247ac6(0x20e)](_0x4f68aa),_0x237681[_0x247ac6(0x1bf)](_0x4f68aa[_0x247ac6(0x202)]));}if(_0x1a2e68&&_0x237681[_0x247ac6(0x1d8)]>0x0)for(const _0x388ad7 of _0x15e9e9){const _0x147dc5=_0x388ad7[_0x247ac6(0x1dd)]([..._0x237681],!![]);for(const _0x4dc6a2 of _0x147dc5){_0x27068f['push'](_0x4dc6a2),_0x237681[_0x247ac6(0x1bf)](_0x4dc6a2[_0x247ac6(0x202)]);}if(_0x237681[_0x247ac6(0x1d8)]===0x0)break;}return _0x27068f;}[_0x25c65e(0x1be)](_0x444aa8){const _0x169271=_0x25c65e;return this[_0x169271(0x1ce)][_0x169271(0x1be)](_0x444aa8);}[_0x25c65e(0x201)](_0x3e451d=!![]){const _0x3681b9=_0x25c65e;let _0x3fa696=new webgpu.Vector3(),_0x43d170=this['rootComponent'][_0x3681b9(0x1c5)]();return _0x43d170['getCenter'](_0x3fa696),_0x3fa696['y']=_0x43d170[_0x3681b9(0x1cf)]['y'],!_0x3e451d?_0x3fa696[_0x3681b9(0x1fe)](this['getPosition']()):_0x3fa696;}[_0x25c65e(0x1ef)](_0x39b6ef=!![]){const _0x30f6a0=_0x25c65e;let _0x158148=new webgpu.Vector3(),_0x329cf7=this[_0x30f6a0(0x1c5)]();return _0x329cf7[_0x30f6a0(0x1e5)](_0x158148),_0x158148['y']=_0x329cf7[_0x30f6a0(0x1c8)]['y'],!_0x39b6ef?_0x158148[_0x30f6a0(0x1fe)](this[_0x30f6a0(0x1eb)]()):_0x158148;}[_0x25c65e(0x1c5)](){const _0xdba02c=_0x25c65e;return this[_0xdba02c(0x1ce)][_0xdba02c(0x1c5)]();}[_0x25c65e(0x203)](){const _0x2c1cf9=_0x25c65e;let _0x188e8e=this[_0x2c1cf9(0x20c)];_0x188e8e['forEach'](_0x52bc62=>{const _0x17347b=_0x2c1cf9;_0x52bc62[_0x17347b(0x203)]();}),this[_0x2c1cf9(0x1ce)][_0x2c1cf9(0x203)]();}[_0x25c65e(0x211)](_0x58196a){const _0x53747d=_0x25c65e;this[_0x53747d(0x1ce)]['setVisible'](_0x58196a);}[_0x25c65e(0x212)](_0x48c18f,_0xba753a=!![]){const _0x2e57b3=_0x25c65e;this[_0x2e57b3(0x1ce)][_0x2e57b3(0x212)](_0x48c18f),_0xba753a&&this[_0x2e57b3(0x20c)][_0x2e57b3(0x1c9)](_0x49cd75=>{const _0x52f0db=_0x2e57b3;_0x49cd75[_0x52f0db(0x212)](_0x48c18f,_0xba753a);});}[_0x25c65e(0x1de)](_0x55e28){const _0x11f246=_0x25c65e;if(!this['isTickEnabled'])return;super['tick'](_0x55e28),this[_0x11f246(0x1ce)][_0x11f246(0x1de)](_0x55e28);}[_0x25c65e(0x1eb)](){const _0x15f551=_0x25c65e;return this[_0x15f551(0x1ce)][_0x15f551(0x1eb)]();}[_0x25c65e(0x206)](..._0x4b8885){const _0x304bb8=_0x25c65e;_0x4b8885[_0x304bb8(0x1c4)]===0x1?this[_0x304bb8(0x1ce)][_0x304bb8(0x206)](_0x4b8885[0x0]):this[_0x304bb8(0x1ce)][_0x304bb8(0x206)](_0x4b8885[0x0],_0x4b8885[0x1],_0x4b8885[0x2]);}['getRotation'](){const _0x163be3=_0x25c65e;return this[_0x163be3(0x1ce)][_0x163be3(0x1d2)]();}[_0x25c65e(0x1dc)](..._0x40b897){const _0x278288=_0x25c65e;_0x40b897[_0x278288(0x1c4)]===0x1?this[_0x278288(0x1ce)]['setRotation'](_0x40b897[0x0]):this['rootComponent']['setRotation'](_0x40b897[0x0],_0x40b897[0x1],_0x40b897[0x2]);}['getQuaternion'](){return this['rootComponent']['getQuaternion']();}['setQuaternion'](..._0x4e4031){const _0x39e1a4=_0x25c65e;_0x4e4031['length']===0x1?this[_0x39e1a4(0x1ce)][_0x39e1a4(0x200)](_0x4e4031[0x0]):this[_0x39e1a4(0x1ce)][_0x39e1a4(0x200)](_0x4e4031[0x0],_0x4e4031[0x1],_0x4e4031[0x2],_0x4e4031[0x3]);}[_0x25c65e(0x1c2)](){const _0x82237e=_0x25c65e;return this[_0x82237e(0x1ce)][_0x82237e(0x1c2)]();}[_0x25c65e(0x1d3)](..._0x4adef9){const _0x43b2fd=_0x25c65e;_0x4adef9['length']===0x1?this['rootComponent'][_0x43b2fd(0x1d3)](_0x4adef9[0x0]):this[_0x43b2fd(0x1ce)][_0x43b2fd(0x1d3)](_0x4adef9[0x0],_0x4adef9[0x1],_0x4adef9[0x2]);}[_0x25c65e(0x20b)](){const _0x2dc3ee=_0x25c65e;return this[_0x2dc3ee(0x1ce)][_0x2dc3ee(0x20b)]();}[_0x25c65e(0x1c6)](_0x565ce4){const _0x2c9aa8=_0x25c65e;this[_0x2c9aa8(0x1ce)][_0x2c9aa8(0x1c6)](_0x565ce4);}[_0x25c65e(0x216)](){const _0x453a69=_0x25c65e;return this['rootComponent'][_0x453a69(0x216)]();}['getWorldRotation'](){const _0x509b49=_0x25c65e;return this[_0x509b49(0x1ce)]['getWorldRotation']();}['getWorldQuaternion'](){const _0x1119a0=_0x25c65e;return this[_0x1119a0(0x1ce)][_0x1119a0(0x219)]();}[_0x25c65e(0x213)](){const _0x289dae=_0x25c65e;return this[_0x289dae(0x1ce)][_0x289dae(0x213)]();}[_0x25c65e(0x1f3)](){const _0x5b946c=_0x25c65e;return this[_0x5b946c(0x1ce)][_0x5b946c(0x1f3)]();}[_0x25c65e(0x208)](){const _0x852e39=_0x25c65e;return this['rootComponent'][_0x852e39(0x208)]();}[_0x25c65e(0x1f6)](){const _0x19d755=_0x25c65e;return this[_0x19d755(0x1ce)]['getWorldRightDirection']();}['addLocalOffset'](_0x16b676,_0x10c51f){const _0x4979c8=_0x25c65e;let _0x2824a7=this[_0x4979c8(0x1eb)]();this[_0x4979c8(0x206)](_0x2824a7['x']+_0x16b676['x']*_0x10c51f,_0x2824a7['y']+_0x16b676['y']*_0x10c51f,_0x2824a7['z']+_0x16b676['z']*_0x10c51f);}[_0x25c65e(0x1f5)](_0x553680){const _0x33032c=_0x25c65e;return this[_0x33032c(0x1ce)][_0x33032c(0x1f5)](_0x553680);}[_0x25c65e(0x20f)](_0x46b7b9){const _0x3bb2f1=_0x25c65e;return this[_0x3bb2f1(0x1ce)][_0x3bb2f1(0x20f)](_0x46b7b9);}[_0x25c65e(0x1d4)](){const _0x48e0bf=_0x25c65e;return this[_0x48e0bf(0x1ce)][_0x48e0bf(0x1d1)];}[_0x25c65e(0x1f2)](_0xa19fe7,_0x5d07a8=exports.AttachmentRules[_0x25c65e(0x1df)]){const _0x1d22a4=_0x25c65e;this[_0x1d22a4(0x1ce)][_0x1d22a4(0x1f1)](_0xa19fe7,_0x5d07a8),this[_0x1d22a4(0x1d6)]&&_0xa19fe7[_0x1d22a4(0x1d5)](this[_0x1d22a4(0x1d6)]);}[_0x25c65e(0x1db)](_0x372cc0){const _0x5ac7ae=_0x25c65e;if(_0x372cc0===this[_0x5ac7ae(0x205)])return;this[_0x5ac7ae(0x1ce)][_0x5ac7ae(0x1f8)](_0x372cc0);}['clearComponent'](){const _0x1083b9=_0x25c65e;this[_0x1083b9(0x1ce)][_0x1083b9(0x1ed)]();}[_0x25c65e(0x1fa)](_0x292948,_0x227118=exports.AttachmentRules[_0x25c65e(0x207)]){const _0x26aa25=_0x25c65e;if(!_0x292948[_0x26aa25(0x1ce)]){console[_0x26aa25(0x1fd)](_0x26aa25(0x1f4));return;}if(_0x292948[_0x26aa25(0x1ff)]===this)return;_0x227118===exports.AttachmentRules['KeepRelative']&&this[_0x26aa25(0x1ce)][_0x26aa25(0x1e7)](_0x292948[_0x26aa25(0x1ce)]);if(_0x227118===exports.AttachmentRules[_0x26aa25(0x207)]){let _0x192506=_0x292948['getWorldMatrix']();this[_0x26aa25(0x1ce)][_0x26aa25(0x1e7)](_0x292948[_0x26aa25(0x1ce)]),_0x292948[_0x26aa25(0x1c6)](_0x192506);}this['_world']&&this[_0x26aa25(0x1d6)][_0x26aa25(0x21a)][_0x26aa25(0x1ee)]();}[_0x25c65e(0x20d)](_0x4e89ff){const _0x3c3be9=_0x25c65e;let _0x23b3db=_0x4e89ff['getWorldMatrix']();this['rootComponent'][_0x3c3be9(0x21d)](_0x4e89ff['rootComponent']),_0x4e89ff[_0x3c3be9(0x1c6)](_0x23b3db);}[_0x25c65e(0x1f0)](){const _0x120fc5=_0x25c65e;this[_0x120fc5(0x1ff)]&&this[_0x120fc5(0x1ff)][_0x120fc5(0x20d)](this);}[_0x25c65e(0x1d5)](_0x258518){const _0x1f6db2=_0x25c65e;this[_0x1f6db2(0x1d6)]=_0x258518,this['rootComponent'][_0x1f6db2(0x1d5)](this[_0x1f6db2(0x1d6)]),this[_0x1f6db2(0x20c)][_0x1f6db2(0x1c9)](_0x1db75d=>{const _0x4d466b=_0x1f6db2;_0x1db75d[_0x4d466b(0x1d5)](_0x258518);});}['onRemovedFromWorld'](){const _0x1a5806=_0x25c65e;this[_0x1a5806(0x1d6)]=null;}get[_0x25c65e(0x21c)](){const _0x2c2820=_0x25c65e;return this['rootComponent'][_0x2c2820(0x21c)];}set[_0x25c65e(0x21c)](_0x25feef){const _0x4d4277=_0x25c65e;this[_0x4d4277(0x1ce)]['isHoverEnabled']=_0x25feef;}get['isClickEnabled'](){const _0x536b9c=_0x25c65e;return this[_0x536b9c(0x1ce)][_0x536b9c(0x1e8)];}set[_0x25c65e(0x1e8)](_0x4fcdd2){const _0x108dca=_0x25c65e;this[_0x108dca(0x1ce)][_0x108dca(0x1e8)]=_0x4fcdd2;}[_0x25c65e(0x1ca)](_0x3155f1){const _0x4a8e45=_0x25c65e;this[_0x4a8e45(0x218)][_0x4a8e45(0x1e4)](_0x3155f1);}[_0x25c65e(0x1e9)](_0x2dfb9b){const _0x1cd18c=_0x25c65e;this['_onHoverEndDelegate'][_0x1cd18c(0x1e4)](_0x2dfb9b);}['onActorClick'](_0x46da68){this['_onClickDelegate']['broadcast'](_0x46da68);}['onActorDoubleClick'](_0x3c205c){const _0x539f53=_0x25c65e;this[_0x539f53(0x1d0)][_0x539f53(0x1e4)](_0x3c205c);}['landToGround'](){}}
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
var _0x4ebffe=_0x3731;function _0x109c(){var _0x13b16f=['2908350iXCXco','38670YEBngN','129644NDtdCQ','controller','possess','destroy','_enabled','81lutYjZ','focusTo','6017fuAdwf','1151732ykJNLa','143425rpeuha','isTickEnabled','192GhucvB','camera','inputFilter','70FSVUcN','71816IivqNL','685405MEmKHg','enabled'];_0x109c=function(){return _0x13b16f;};return _0x109c();}function _0x3731(_0x4845cb,_0x568386){_0x4845cb=_0x4845cb-0xed;var _0x109c76=_0x109c();var _0x3731df=_0x109c76[_0x4845cb];return _0x3731df;}(function(_0x55d22c,_0x78fde6){var _0x550572=_0x3731,_0x519643=_0x55d22c();while(!![]){try{var _0x14e2a6=-parseInt(_0x550572(0xef))/0x1+-parseInt(_0x550572(0xfb))/0x2+parseInt(_0x550572(0xf8))/0x3*(-parseInt(_0x550572(0xf3))/0x4)+-parseInt(_0x550572(0xfc))/0x5*(-parseInt(_0x550572(0xfe))/0x6)+-parseInt(_0x550572(0xed))/0x7*(parseInt(_0x550572(0xee))/0x8)+-parseInt(_0x550572(0xf1))/0x9+parseInt(_0x550572(0xf2))/0xa*(parseInt(_0x550572(0xfa))/0xb);if(_0x14e2a6===_0x78fde6)break;else _0x519643['push'](_0x519643['shift']());}catch(_0x352907){_0x519643['push'](_0x519643['shift']());}}}(_0x109c,0x76229));class Pawn extends Actor{get[_0x4ebffe(0xff)](){return this['app']['camera'];}get['enabled'](){var _0x385997=_0x4ebffe;return this[_0x385997(0xf7)];}set[_0x4ebffe(0xf0)](_0x3cc9da){var _0x4fbaed=_0x4ebffe;this[_0x4fbaed(0xf7)]=_0x3cc9da;}constructor(_0x5dcf6b){var _0x494305=_0x4ebffe;super(_0x5dcf6b),this['_enabled']=![],this['controller']=_0x5dcf6b[_0x494305(0xf4)],this[_0x494305(0xfd)]=!![];}['tick'](_0x54a770){return;}[_0x4ebffe(0xf5)](){}['unpossess'](){}[_0x4ebffe(0xf9)](_0x218d7b,_0x53a367,_0x63f3e,_0x28ed73,_0x3f7e3d=null,_0x1ed55f=null){}['stopFocusing'](){}[_0x4ebffe(0xf6)](){}}Pawn[_0x4ebffe(0x100)]=()=>!![];
|
|
89
89
|
|
|
90
|
-
const _0x74f034=_0x5d27;(function(_0x3d7f47,_0x4e870a){const _0x10a9ec=_0x5d27,_0x430afb=_0x3d7f47();while(!![]){try{const _0x5dd8cb=parseInt(_0x10a9ec(0x11f))/0x1+parseInt(_0x10a9ec(0x135))/0x2*(parseInt(_0x10a9ec(0x132))/0x3)+parseInt(_0x10a9ec(0x14c))/0x4*(parseInt(_0x10a9ec(0x12b))/0x5)+-parseInt(_0x10a9ec(0x175))/0x6+parseInt(_0x10a9ec(0x176))/0x7+-parseInt(_0x10a9ec(0x161))/0x8+-parseInt(_0x10a9ec(0x178))/0x9*(parseInt(_0x10a9ec(0x11a))/0xa);if(_0x5dd8cb===_0x4e870a)break;else _0x430afb['push'](_0x430afb['shift']());}catch(_0x5baafe){_0x430afb['push'](_0x430afb['shift']());}}}(_0x4685,0x95f03));function _0x5d27(_0x4d1643,_0x21e282){_0x4d1643=_0x4d1643-0x11a;const _0x4685d4=_0x4685();let _0x5d2719=_0x4685d4[_0x4d1643];return _0x5d2719;}class Orbital extends Pawn{constructor(_0x3f76ab){const _0x4e550a=_0x5d27;super(_0x3f76ab),this[_0x4e550a(0x133)]=0x5,this[_0x4e550a(0x122)]=0.1,this[_0x4e550a(0x164)]=0xf4240,this[_0x4e550a(0x134)]=0x1,this[_0x4e550a(0x11e)]=0x1,this['minPolarAngle']=0x0,this[_0x4e550a(0x177)]=Math['PI']*0.5,this[_0x4e550a(0x16f)]=-Infinity,this['maxAzimuthAngle']=Infinity,this[_0x4e550a(0x126)]=!![],this['dampingFactor']=0xa,this[_0x4e550a(0x120)]=![],this[_0x4e550a(0x127)]=new webgpu.Vector2(),this[_0x4e550a(0x130)]=new webgpu.Vector3(),this[_0x4e550a(0x166)]=new webgpu.Quaternion(),this['_targetDistance']=0x5,this[_0x4e550a(0x157)]=null,this[_0x4e550a(0x12f)]=_0x41af05=>{const _0x131993=_0x4e550a;if(!Pawn[_0x131993(0x165)]())return;_0x41af05[_0x131993(0x169)]();},this[_0x4e550a(0x139)]=_0x3ae5c9=>{const _0xf9d024=_0x4e550a;if(!this[_0xf9d024(0x162)]||!Pawn[_0xf9d024(0x165)]())return;if(_0x3ae5c9['button']===0x0||_0x3ae5c9[_0xf9d024(0x167)]===0x2){this[_0xf9d024(0x120)]=!![],this[_0xf9d024(0x127)][_0xf9d024(0x140)](_0x3ae5c9[_0xf9d024(0x14d)],_0x3ae5c9['clientY']),this[_0xf9d024(0x153)](!![]);const _0x3485ba=this['app']['viewport'][_0xf9d024(0x179)];_0x3485ba&&typeof _0x3485ba[_0xf9d024(0x144)]===_0xf9d024(0x142)&&_0x3485ba[_0xf9d024(0x144)](_0x3ae5c9['pointerId']);}},this[_0x4e550a(0x125)]=_0x19b2fa=>{const _0x49f4f8=_0x4e550a;if(!this[_0x49f4f8(0x162)]||!this[_0x49f4f8(0x120)]||!Pawn[_0x49f4f8(0x165)]())return;if(_0x19b2fa[_0x49f4f8(0x150)]===0x0){this['_isDragging']=![],this[_0x49f4f8(0x153)](![]);return;}const _0x1363c9=_0x19b2fa[_0x49f4f8(0x14d)]-this['_lastPointerPosition']['x'],_0x1da103=_0x19b2fa['clientY']-this[_0x49f4f8(0x127)]['y'];this[_0x49f4f8(0x127)][_0x49f4f8(0x140)](_0x19b2fa[_0x49f4f8(0x14d)],_0x19b2fa[_0x49f4f8(0x121)]);const _0x27c58d=this[_0x49f4f8(0x131)][_0x49f4f8(0x137)][_0x49f4f8(0x179)];if(!_0x27c58d)return;if(_0x19b2fa[_0x49f4f8(0x150)]===0x1){const _0x16bbeb=this['rotateSpeed']*0x2*Math['PI'],_0x3ccc00=new webgpu.Euler(0x0,0x0,0x0,_0x49f4f8(0x15f))['setFromQuaternion'](this[_0x49f4f8(0x166)]);_0x3ccc00['y']-=_0x1363c9/_0x27c58d['clientHeight']*_0x16bbeb,_0x3ccc00['x']-=_0x1da103/_0x27c58d[_0x49f4f8(0x14a)]*_0x16bbeb;const _0xd71094=Math[_0x49f4f8(0x170)](this[_0x49f4f8(0x16e)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x4c7964=Math[_0x49f4f8(0x149)](this[_0x49f4f8(0x177)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x3ccc00['x']=webgpu.MathUtils['clamp'](_0x3ccc00['x'],_0xd71094,_0x4c7964),isFinite(this[_0x49f4f8(0x16f)])&&isFinite(this[_0x49f4f8(0x138)])&&(_0x3ccc00['y']=webgpu.MathUtils[_0x49f4f8(0x14e)](_0x3ccc00['y'],this['minAzimuthAngle'],this[_0x49f4f8(0x138)])),_0x3ccc00['z']=0x0,this[_0x49f4f8(0x166)]['setFromEuler'](_0x3ccc00),!this[_0x49f4f8(0x126)]&&this[_0x49f4f8(0x15c)](this['_targetQuaternion']);}else {if(_0x19b2fa[_0x49f4f8(0x150)]===0x2){const _0x432444=this['_targetDistance']*0.002,_0x438bc0=new webgpu.Vector3(0x1,0x0,0x0)[_0x49f4f8(0x143)](this['_targetQuaternion'])[_0x49f4f8(0x172)](),_0xcf7a66=new webgpu.Vector3(0x0,0x1,0x0)['applyQuaternion'](this['_targetQuaternion'])['normalize']();this[_0x49f4f8(0x130)][_0x49f4f8(0x154)](_0x438bc0,-_0x1363c9*_0x432444),this[_0x49f4f8(0x130)][_0x49f4f8(0x154)](_0xcf7a66,_0x1da103*_0x432444),!this[_0x49f4f8(0x126)]&&this[_0x49f4f8(0x11c)](this[_0x49f4f8(0x130)]);}}},this[_0x4e550a(0x145)]=_0x3895a9=>{const _0x187690=_0x4e550a;var _0x52af4b;this[_0x187690(0x120)]=![],this[_0x187690(0x153)](![]);const _0x2b18b9=this[_0x187690(0x131)][_0x187690(0x137)][_0x187690(0x179)];_0x2b18b9&&typeof _0x2b18b9[_0x187690(0x15b)]===_0x187690(0x142)&&((_0x52af4b=_0x2b18b9['hasPointerCapture'])===null||_0x52af4b===void 0?void 0:_0x52af4b[_0x187690(0x17b)](_0x2b18b9,_0x3895a9['pointerId']))&&_0x2b18b9['releasePointerCapture'](_0x3895a9[_0x187690(0x12d)]);},this[_0x4e550a(0x159)]=_0x17f3df=>{const _0xeb2955=_0x4e550a;if(!this[_0xeb2955(0x162)]||!Pawn[_0xeb2955(0x165)]())return;const _0x1ef338=0.95;_0x17f3df['deltaY']>0x0?this[_0xeb2955(0x12a)]/=_0x1ef338:this[_0xeb2955(0x12a)]*=_0x1ef338,this[_0xeb2955(0x12a)]=webgpu.MathUtils[_0xeb2955(0x14e)](this[_0xeb2955(0x12a)],this[_0xeb2955(0x122)],this['maxDistance']),!this[_0xeb2955(0x126)]&&(this[_0xeb2955(0x133)]=this[_0xeb2955(0x12a)]);};}['possess'](){const _0x4ffdb1=_0x5d27;super[_0x4ffdb1(0x16d)]();this[_0x4ffdb1(0x173)]&&this[_0x4ffdb1(0x173)][_0x4ffdb1(0x17a)]&&(this[_0x4ffdb1(0x173)][_0x4ffdb1(0x17a)]['rotation'][_0x4ffdb1(0x16b)]=_0x4ffdb1(0x15f));this[_0x4ffdb1(0x130)]['copy'](this[_0x4ffdb1(0x174)]());const _0x5a5203=this['getQuaternion'](),_0x49fa7b=new webgpu.Euler(0x0,0x0,0x0,_0x4ffdb1(0x15f))[_0x4ffdb1(0x13a)](_0x5a5203);Math[_0x4ffdb1(0x158)](_0x49fa7b['z'])>0.00001?(_0x49fa7b['z']=0x0,this[_0x4ffdb1(0x166)][_0x4ffdb1(0x16c)](_0x49fa7b),this[_0x4ffdb1(0x15c)](this['_targetQuaternion'])):this[_0x4ffdb1(0x166)][_0x4ffdb1(0x14f)](_0x5a5203);this[_0x4ffdb1(0x12a)]=this[_0x4ffdb1(0x133)];const _0x90ba3a=this[_0x4ffdb1(0x131)]['controller'];_0x90ba3a&&(_0x90ba3a[_0x4ffdb1(0x141)][_0x4ffdb1(0x14b)](this[_0x4ffdb1(0x139)]),_0x90ba3a[_0x4ffdb1(0x12c)]['add'](this[_0x4ffdb1(0x125)]),_0x90ba3a['onPointerUpDelegate']['add'](this[_0x4ffdb1(0x145)]),_0x90ba3a[_0x4ffdb1(0x15d)][_0x4ffdb1(0x14b)](this[_0x4ffdb1(0x145)]),_0x90ba3a[_0x4ffdb1(0x148)]['add'](this[_0x4ffdb1(0x159)]),_0x90ba3a[_0x4ffdb1(0x171)]['add'](this['onContextMenu'])),this[_0x4ffdb1(0x11d)]();}[_0x74f034(0x160)](){const _0x4747ac=_0x74f034,_0x5c725e=this[_0x4747ac(0x174)](),_0x1e69cc=this['getQuaternion'](),_0x3a7a0d=new webgpu.Vector3(0x0,0x0,0x1)[_0x4747ac(0x143)](_0x1e69cc)[_0x4747ac(0x12e)](this[_0x4747ac(0x133)]),_0x4657d0=_0x5c725e[_0x4747ac(0x163)]()[_0x4747ac(0x14b)](_0x3a7a0d),_0x4d3ecd=new webgpu.Matrix4();_0x4d3ecd[_0x4747ac(0x147)](_0x4657d0,_0x5c725e,this[_0x4747ac(0x128)]['up']);const _0x1b67ae=new webgpu.Quaternion()[_0x4747ac(0x123)](_0x4d3ecd);return {'position':_0x4657d0,'quaternion':_0x1b67ae};}[_0x74f034(0x11d)](){const _0x193987=_0x74f034;if(!this['enabled']||!this[_0x193987(0x128)])return;const _0x1a0fd1=this[_0x193987(0x174)](),_0x1c45a1=this[_0x193987(0x15e)](),_0x44f68b=new webgpu.Vector3(0x0,0x0,0x1)[_0x193987(0x143)](_0x1c45a1)[_0x193987(0x12e)](this['distance']);this[_0x193987(0x128)][_0x193987(0x151)][_0x193987(0x14f)](_0x1a0fd1)[_0x193987(0x14b)](_0x44f68b),this['camera']['lookAt'](_0x1a0fd1);}[_0x74f034(0x13b)](){const _0x56b8f7=_0x74f034;super[_0x56b8f7(0x13b)]();const _0x43003c=this[_0x56b8f7(0x131)][_0x56b8f7(0x15a)];_0x43003c&&(_0x43003c['onPointerDownDelegate'][_0x56b8f7(0x155)](this['onPointerDown']),_0x43003c[_0x56b8f7(0x12c)]['remove'](this[_0x56b8f7(0x125)]),_0x43003c['onPointerUpDelegate'][_0x56b8f7(0x155)](this[_0x56b8f7(0x145)]),_0x43003c['onPointerCancelDelegate'][_0x56b8f7(0x155)](this[_0x56b8f7(0x145)]),_0x43003c[_0x56b8f7(0x148)][_0x56b8f7(0x155)](this[_0x56b8f7(0x159)]),_0x43003c[_0x56b8f7(0x171)]['remove'](this[_0x56b8f7(0x12f)])),this[_0x56b8f7(0x120)]=![],this['setCameraDraggingState'](![]),this['_focusTween']&&(this[_0x56b8f7(0x157)][_0x56b8f7(0x13f)](),this[_0x56b8f7(0x157)]=null);}[_0x74f034(0x153)](_0x36a529){const _0x311fe8=_0x74f034,_0x5e3c2a=this[_0x311fe8(0x131)][_0x311fe8(0x137)][_0x311fe8(0x156)];if(!_0x5e3c2a)return;_0x36a529?_0x5e3c2a[_0x311fe8(0x129)][_0x311fe8(0x13d)]='1':delete _0x5e3c2a[_0x311fe8(0x129)][_0x311fe8(0x13d)];}[_0x74f034(0x152)](_0x3d7c0a){const _0xcc0f31=_0x74f034;if(this[_0xcc0f31(0x126)]){const _0xf27681=Math[_0xcc0f31(0x149)](_0x3d7c0a,0.1),_0x33555c=0x1-Math[_0xcc0f31(0x136)](-this[_0xcc0f31(0x13e)]*_0xf27681);this[_0xcc0f31(0x133)]=webgpu.MathUtils[_0xcc0f31(0x13c)](this['distance'],this[_0xcc0f31(0x12a)],_0x33555c);const _0x5261dc=this['getPosition']();_0x5261dc[_0xcc0f31(0x13c)](this[_0xcc0f31(0x130)],_0x33555c),super['setPosition'](_0x5261dc);const _0x4a73c2=this[_0xcc0f31(0x15e)]();_0x4a73c2[_0xcc0f31(0x16a)](this['_targetQuaternion'],_0x33555c),super[_0xcc0f31(0x15c)](_0x4a73c2);}this['updateCameraFromPawn']();}['setPosition'](..._0x1e3858){const _0x4bfab0=_0x74f034;super['setPosition'](..._0x1e3858),this[_0x4bfab0(0x130)][_0x4bfab0(0x14f)](this['getPosition']());}['setRotation'](..._0x5c130f){const _0x133bc4=_0x74f034;super[_0x133bc4(0x146)](..._0x5c130f),this[_0x133bc4(0x166)]['copy'](this['getQuaternion']());}[_0x74f034(0x15c)](..._0x587ee4){const _0x11b976=_0x74f034;super[_0x11b976(0x15c)](..._0x587ee4),this[_0x11b976(0x166)][_0x11b976(0x14f)](this[_0x11b976(0x15e)]());}[_0x74f034(0x124)](_0xdc0d0e,_0x581339,_0x4bb7a1,_0x27f3e2,_0x31820b=null,_0x222ff2=null){const _0x54c581=_0x74f034;this['_focusTween']&&this[_0x54c581(0x157)][_0x54c581(0x13f)]();const _0x23999e=this[_0x54c581(0x174)](),_0xdbb50d=this['getQuaternion'](),_0x42da5c=this[_0x54c581(0x133)];let _0x4a35a8;_0x581339 instanceof webgpu.Euler?_0x4a35a8=new webgpu.Quaternion()[_0x54c581(0x16c)](_0x581339):_0x4a35a8=_0x581339['clone']();const _0x51b1b5=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0x54c581(0x13a)](_0x4a35a8);Math[_0x54c581(0x158)](_0x51b1b5['z'])>0.00001&&(_0x51b1b5['z']=0x0,_0x4a35a8[_0x54c581(0x16c)](_0x51b1b5));const _0x4b3a0c={'alpha':0x0};this[_0x54c581(0x157)]=gsap.gsap['to'](_0x4b3a0c,{'alpha':0x1,'duration':_0x27f3e2,'onUpdate':()=>{const _0x5c9bf0=_0x54c581,_0x556e84=_0x4b3a0c['alpha'],_0x3c0c82=new webgpu.Vector3()[_0x5c9bf0(0x11b)](_0x23999e,_0xdc0d0e,_0x556e84);this[_0x5c9bf0(0x11c)](_0x3c0c82),this[_0x5c9bf0(0x130)][_0x5c9bf0(0x14f)](_0x3c0c82);const _0x25fb0b=_0xdbb50d[_0x5c9bf0(0x163)]()[_0x5c9bf0(0x16a)](_0x4a35a8,_0x556e84);this[_0x5c9bf0(0x15c)](_0x25fb0b),this[_0x5c9bf0(0x166)][_0x5c9bf0(0x14f)](_0x25fb0b),this['distance']=webgpu.MathUtils['lerp'](_0x42da5c,_0x4bb7a1,_0x556e84),this[_0x5c9bf0(0x12a)]=this[_0x5c9bf0(0x133)];if(_0x31820b)_0x31820b();},'onComplete':()=>{this['_focusTween']=null;if(_0x222ff2)_0x222ff2();}});}[_0x74f034(0x168)](){const _0x21361d=_0x74f034;this[_0x21361d(0x157)]&&(this['_focusTween'][_0x21361d(0x13f)](),this['_focusTween']=null);}}function _0x4685(){const _0x5ee89a=['setRotation','lookAt','onWheelDelegate','min','clientHeight','add','31220Tqjbtk','clientX','clamp','copy','buttons','position','tick','setCameraDraggingState','addScaledVector','remove','outer','_focusTween','abs','onWheel','controller','releasePointerCapture','setQuaternion','onPointerCancelDelegate','getQuaternion','YXZ','getTargetCameraState','8064864QyAKEb','enabled','clone','maxDistance','inputFilter','_targetQuaternion','button','stopFocusing','preventDefault','slerp','order','setFromEuler','possess','minPolarAngle','minAzimuthAngle','max','onContextMenuDelegate','normalize','rootComponent','getPosition','4181652kwsnlL','861294zpwHNZ','maxPolarAngle','3682593oGPTDV','canvas','threeObject','call','10tzxtsN','lerpVectors','setPosition','updateCameraFromPawn','zoomSpeed','932072PiAdTL','_isDragging','clientY','minDistance','setFromRotationMatrix','focusTo','onPointerMove','enableDamping','_lastPointerPosition','camera','dataset','_targetDistance','730GoYZZh','onPointerMoveDelegate','pointerId','multiplyScalar','onContextMenu','_targetPosition','app','15ktPrdK','distance','rotateSpeed','213492tNyEqZ','exp','viewport','maxAzimuthAngle','onPointerDown','setFromQuaternion','unpossess','lerp','lyCameraDragging','dampingFactor','kill','set','onPointerDownDelegate','function','applyQuaternion','setPointerCapture','onPointerUp'];_0x4685=function(){return _0x5ee89a;};return _0x4685();}
|
|
90
|
+
const _0x3f0b9f=_0x30b8;function _0x30b8(_0x426464,_0x436ef1){_0x426464=_0x426464-0x1d6;const _0xc539f8=_0xc539();let _0x30b837=_0xc539f8[_0x426464];return _0x30b837;}(function(_0x71d916,_0x2e0b2d){const _0x40874f=_0x30b8,_0x460259=_0x71d916();while(!![]){try{const _0x201a36=parseInt(_0x40874f(0x224))/0x1*(parseInt(_0x40874f(0x22d))/0x2)+-parseInt(_0x40874f(0x1e5))/0x3+-parseInt(_0x40874f(0x1f1))/0x4+parseInt(_0x40874f(0x22b))/0x5+parseInt(_0x40874f(0x1d8))/0x6+-parseInt(_0x40874f(0x21f))/0x7*(-parseInt(_0x40874f(0x1e0))/0x8)+-parseInt(_0x40874f(0x1fd))/0x9*(parseInt(_0x40874f(0x1e4))/0xa);if(_0x201a36===_0x2e0b2d)break;else _0x460259['push'](_0x460259['shift']());}catch(_0x33df9d){_0x460259['push'](_0x460259['shift']());}}}(_0xc539,0x9b6a6));function _0xc539(){const _0x4aabbb=['onPointerCancelDelegate','viewport','kill','onPointerMove','multiplyScalar','1057bDPexz','maxAzimuthAngle','releasePointerCapture','onPointerMoveDelegate','canvas','973070MJhLxV','onPointerDown','clientX','clientHeight','_targetDistance','alpha','onContextMenuDelegate','4534085pFfIEY','add','2FIyecH','_isDragging','setQuaternion','lookAt','updateCameraFromPawn','setCameraDraggingState','_targetQuaternion','threeObject','app','rootComponent','lerp','max','onPointerDownDelegate','setFromQuaternion','minAzimuthAngle','onContextMenu','7522488MRnSyx','maxPolarAngle','controller','rotation','setPointerCapture','min','getQuaternion','addScaledVector','46472WQrVpC','onPointerUpDelegate','stopFocusing','slerp','151120ElkNeH','2961636MCzvVJ','dataset','camera','order','inputFilter','clientY','normalize','dampingFactor','preventDefault','setFromEuler','enabled','YXZ','3382304hupYqi','rotateSpeed','copy','onWheel','_targetPosition','clone','enableDamping','button','exp','onWheelDelegate','tick','distance','918MhxJLR','function','getTargetCameraState','possess','abs','setFromRotationMatrix','pointerId','lerpVectors','_focusTween','_lastPointerPosition','maxDistance','buttons','remove','unpossess','zoomSpeed','hasPointerCapture','onPointerUp','minPolarAngle','minDistance','outer','setRotation','position','set','applyQuaternion','lyCameraDragging','clamp','setPosition','call','getPosition'];_0xc539=function(){return _0x4aabbb;};return _0xc539();}class Orbital extends Pawn{constructor(_0x30c411){const _0x1ca9ee=_0x30b8;super(_0x30c411),this[_0x1ca9ee(0x1fc)]=0x5,this['minDistance']=0.1,this[_0x1ca9ee(0x207)]=0xf4240,this[_0x1ca9ee(0x1f2)]=0x1,this[_0x1ca9ee(0x20b)]=0x1,this[_0x1ca9ee(0x20e)]=0x0,this[_0x1ca9ee(0x1d9)]=Math['PI']*0.5,this[_0x1ca9ee(0x1d6)]=-Infinity,this[_0x1ca9ee(0x220)]=Infinity,this['enableDamping']=!![],this[_0x1ca9ee(0x1ec)]=0xa,this[_0x1ca9ee(0x22e)]=![],this[_0x1ca9ee(0x206)]=new webgpu.Vector2(),this[_0x1ca9ee(0x1f5)]=new webgpu.Vector3(),this[_0x1ca9ee(0x233)]=new webgpu.Quaternion(),this[_0x1ca9ee(0x228)]=0x5,this[_0x1ca9ee(0x205)]=null,this[_0x1ca9ee(0x1d7)]=_0xdc45b6=>{const _0x31d777=_0x1ca9ee;if(!Pawn['inputFilter']())return;_0xdc45b6[_0x31d777(0x1ed)]();},this['onPointerDown']=_0x54266a=>{const _0x55fa2b=_0x1ca9ee;if(!this['enabled']||!Pawn['inputFilter']())return;if(_0x54266a[_0x55fa2b(0x1f8)]===0x0||_0x54266a[_0x55fa2b(0x1f8)]===0x2){this['_isDragging']=!![],this[_0x55fa2b(0x206)]['set'](_0x54266a[_0x55fa2b(0x226)],_0x54266a[_0x55fa2b(0x1ea)]),this['setCameraDraggingState'](!![]);const _0x33f69a=this[_0x55fa2b(0x235)][_0x55fa2b(0x21b)][_0x55fa2b(0x223)];_0x33f69a&&typeof _0x33f69a[_0x55fa2b(0x1dc)]===_0x55fa2b(0x1fe)&&_0x33f69a[_0x55fa2b(0x1dc)](_0x54266a[_0x55fa2b(0x203)]);}},this[_0x1ca9ee(0x21d)]=_0x589972=>{const _0x6e0dd9=_0x1ca9ee;if(!this['enabled']||!this[_0x6e0dd9(0x22e)]||!Pawn[_0x6e0dd9(0x1e9)]())return;if(_0x589972['buttons']===0x0){this[_0x6e0dd9(0x22e)]=![],this[_0x6e0dd9(0x232)](![]);return;}const _0x16bc9=_0x589972['clientX']-this['_lastPointerPosition']['x'],_0x59e47c=_0x589972['clientY']-this[_0x6e0dd9(0x206)]['y'];this[_0x6e0dd9(0x206)][_0x6e0dd9(0x213)](_0x589972[_0x6e0dd9(0x226)],_0x589972[_0x6e0dd9(0x1ea)]);const _0xeeca83=this['app']['viewport']['canvas'];if(!_0xeeca83)return;if(_0x589972[_0x6e0dd9(0x208)]===0x1){const _0x29d1c8=this[_0x6e0dd9(0x1f2)]*0x2*Math['PI'],_0x489dbe=new webgpu.Euler(0x0,0x0,0x0,_0x6e0dd9(0x1f0))[_0x6e0dd9(0x23a)](this['_targetQuaternion']);_0x489dbe['y']-=_0x16bc9/_0xeeca83[_0x6e0dd9(0x227)]*_0x29d1c8,_0x489dbe['x']-=_0x59e47c/_0xeeca83[_0x6e0dd9(0x227)]*_0x29d1c8;const _0x1c51db=Math[_0x6e0dd9(0x238)](this['minPolarAngle']-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x24266a=Math[_0x6e0dd9(0x1dd)](this[_0x6e0dd9(0x1d9)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x489dbe['x']=webgpu.MathUtils[_0x6e0dd9(0x216)](_0x489dbe['x'],_0x1c51db,_0x24266a),isFinite(this[_0x6e0dd9(0x1d6)])&&isFinite(this[_0x6e0dd9(0x220)])&&(_0x489dbe['y']=webgpu.MathUtils['clamp'](_0x489dbe['y'],this[_0x6e0dd9(0x1d6)],this[_0x6e0dd9(0x220)])),_0x489dbe['z']=0x0,this[_0x6e0dd9(0x233)][_0x6e0dd9(0x1ee)](_0x489dbe),!this[_0x6e0dd9(0x1f7)]&&this[_0x6e0dd9(0x22f)](this[_0x6e0dd9(0x233)]);}else {if(_0x589972[_0x6e0dd9(0x208)]===0x2){const _0xb74de7=this[_0x6e0dd9(0x228)]*0.002,_0x13ff1d=new webgpu.Vector3(0x1,0x0,0x0)[_0x6e0dd9(0x214)](this[_0x6e0dd9(0x233)])[_0x6e0dd9(0x1eb)](),_0x2c26de=new webgpu.Vector3(0x0,0x1,0x0)[_0x6e0dd9(0x214)](this[_0x6e0dd9(0x233)])[_0x6e0dd9(0x1eb)]();this['_targetPosition'][_0x6e0dd9(0x1df)](_0x13ff1d,-_0x16bc9*_0xb74de7),this[_0x6e0dd9(0x1f5)]['addScaledVector'](_0x2c26de,_0x59e47c*_0xb74de7),!this[_0x6e0dd9(0x1f7)]&&this[_0x6e0dd9(0x217)](this['_targetPosition']);}}},this[_0x1ca9ee(0x20d)]=_0x25e0e5=>{const _0x2f1281=_0x1ca9ee;var _0x526219;this[_0x2f1281(0x22e)]=![],this['setCameraDraggingState'](![]);const _0x47e943=this[_0x2f1281(0x235)][_0x2f1281(0x21b)][_0x2f1281(0x223)];_0x47e943&&typeof _0x47e943['releasePointerCapture']===_0x2f1281(0x1fe)&&((_0x526219=_0x47e943[_0x2f1281(0x20c)])===null||_0x526219===void 0?void 0:_0x526219[_0x2f1281(0x218)](_0x47e943,_0x25e0e5['pointerId']))&&_0x47e943[_0x2f1281(0x221)](_0x25e0e5[_0x2f1281(0x203)]);},this[_0x1ca9ee(0x1f4)]=_0x5753fe=>{const _0x1f22e8=_0x1ca9ee;if(!this[_0x1f22e8(0x1ef)]||!Pawn[_0x1f22e8(0x1e9)]())return;const _0x2d3904=0.95;_0x5753fe['deltaY']>0x0?this['_targetDistance']/=_0x2d3904:this[_0x1f22e8(0x228)]*=_0x2d3904,this['_targetDistance']=webgpu.MathUtils[_0x1f22e8(0x216)](this[_0x1f22e8(0x228)],this[_0x1f22e8(0x20f)],this[_0x1f22e8(0x207)]),!this[_0x1f22e8(0x1f7)]&&(this['distance']=this['_targetDistance']);};}[_0x3f0b9f(0x200)](){const _0x1285b0=_0x3f0b9f;super['possess']();this[_0x1285b0(0x236)]&&this[_0x1285b0(0x236)][_0x1285b0(0x234)]&&(this[_0x1285b0(0x236)][_0x1285b0(0x234)][_0x1285b0(0x1db)][_0x1285b0(0x1e8)]='YXZ');this[_0x1285b0(0x1f5)][_0x1285b0(0x1f3)](this['getPosition']());const _0x364857=this['getQuaternion'](),_0x53b77c=new webgpu.Euler(0x0,0x0,0x0,_0x1285b0(0x1f0))['setFromQuaternion'](_0x364857);Math[_0x1285b0(0x201)](_0x53b77c['z'])>0.00001?(_0x53b77c['z']=0x0,this[_0x1285b0(0x233)]['setFromEuler'](_0x53b77c),this[_0x1285b0(0x22f)](this[_0x1285b0(0x233)])):this[_0x1285b0(0x233)][_0x1285b0(0x1f3)](_0x364857);this[_0x1285b0(0x228)]=this[_0x1285b0(0x1fc)];const _0x2c10b6=this[_0x1285b0(0x235)][_0x1285b0(0x1da)];_0x2c10b6&&(_0x2c10b6[_0x1285b0(0x239)]['add'](this[_0x1285b0(0x225)]),_0x2c10b6[_0x1285b0(0x222)][_0x1285b0(0x22c)](this[_0x1285b0(0x21d)]),_0x2c10b6['onPointerUpDelegate'][_0x1285b0(0x22c)](this[_0x1285b0(0x20d)]),_0x2c10b6[_0x1285b0(0x21a)][_0x1285b0(0x22c)](this['onPointerUp']),_0x2c10b6[_0x1285b0(0x1fa)][_0x1285b0(0x22c)](this[_0x1285b0(0x1f4)]),_0x2c10b6[_0x1285b0(0x22a)][_0x1285b0(0x22c)](this[_0x1285b0(0x1d7)])),this[_0x1285b0(0x231)]();}[_0x3f0b9f(0x1ff)](){const _0x380a72=_0x3f0b9f,_0x54e928=this['getPosition'](),_0x2edab0=this[_0x380a72(0x1de)](),_0x5899e0=new webgpu.Vector3(0x0,0x0,0x1)[_0x380a72(0x214)](_0x2edab0)[_0x380a72(0x21e)](this['distance']),_0x5cc959=_0x54e928[_0x380a72(0x1f6)]()[_0x380a72(0x22c)](_0x5899e0),_0x7ef48d=new webgpu.Matrix4();_0x7ef48d[_0x380a72(0x230)](_0x5cc959,_0x54e928,this['camera']['up']);const _0x4b115d=new webgpu.Quaternion()[_0x380a72(0x202)](_0x7ef48d);return {'position':_0x5cc959,'quaternion':_0x4b115d};}[_0x3f0b9f(0x231)](){const _0xbe7127=_0x3f0b9f;if(!this[_0xbe7127(0x1ef)]||!this[_0xbe7127(0x1e7)])return;const _0x4b7938=this['getPosition'](),_0x30f9e6=this[_0xbe7127(0x1de)](),_0x20c08b=new webgpu.Vector3(0x0,0x0,0x1)[_0xbe7127(0x214)](_0x30f9e6)[_0xbe7127(0x21e)](this['distance']);this[_0xbe7127(0x1e7)][_0xbe7127(0x212)][_0xbe7127(0x1f3)](_0x4b7938)[_0xbe7127(0x22c)](_0x20c08b),this[_0xbe7127(0x1e7)][_0xbe7127(0x230)](_0x4b7938);}[_0x3f0b9f(0x20a)](){const _0x488820=_0x3f0b9f;super['unpossess']();const _0x44a8c1=this[_0x488820(0x235)][_0x488820(0x1da)];_0x44a8c1&&(_0x44a8c1['onPointerDownDelegate'][_0x488820(0x209)](this[_0x488820(0x225)]),_0x44a8c1[_0x488820(0x222)][_0x488820(0x209)](this[_0x488820(0x21d)]),_0x44a8c1[_0x488820(0x1e1)][_0x488820(0x209)](this[_0x488820(0x20d)]),_0x44a8c1[_0x488820(0x21a)]['remove'](this[_0x488820(0x20d)]),_0x44a8c1[_0x488820(0x1fa)][_0x488820(0x209)](this[_0x488820(0x1f4)]),_0x44a8c1[_0x488820(0x22a)][_0x488820(0x209)](this[_0x488820(0x1d7)])),this[_0x488820(0x22e)]=![],this[_0x488820(0x232)](![]),this['_focusTween']&&(this['_focusTween']['kill'](),this[_0x488820(0x205)]=null);}[_0x3f0b9f(0x232)](_0x5e3ace){const _0x5da80d=_0x3f0b9f,_0x3891f2=this[_0x5da80d(0x235)][_0x5da80d(0x21b)][_0x5da80d(0x210)];if(!_0x3891f2)return;_0x5e3ace?_0x3891f2[_0x5da80d(0x1e6)][_0x5da80d(0x215)]='1':delete _0x3891f2['dataset'][_0x5da80d(0x215)];}[_0x3f0b9f(0x1fb)](_0xecffd4){const _0x4cd5a8=_0x3f0b9f;if(this[_0x4cd5a8(0x1f7)]){const _0x1718c4=Math[_0x4cd5a8(0x1dd)](_0xecffd4,0.1),_0x7e5644=0x1-Math[_0x4cd5a8(0x1f9)](-this[_0x4cd5a8(0x1ec)]*_0x1718c4);this[_0x4cd5a8(0x1fc)]=webgpu.MathUtils[_0x4cd5a8(0x237)](this['distance'],this[_0x4cd5a8(0x228)],_0x7e5644);const _0xdfcc35=this[_0x4cd5a8(0x219)]();_0xdfcc35[_0x4cd5a8(0x237)](this[_0x4cd5a8(0x1f5)],_0x7e5644),super[_0x4cd5a8(0x217)](_0xdfcc35);const _0x5b1978=this[_0x4cd5a8(0x1de)]();_0x5b1978[_0x4cd5a8(0x1e3)](this[_0x4cd5a8(0x233)],_0x7e5644),super[_0x4cd5a8(0x22f)](_0x5b1978);}this['updateCameraFromPawn']();}[_0x3f0b9f(0x217)](..._0xcfd431){const _0x364386=_0x3f0b9f;super[_0x364386(0x217)](..._0xcfd431),this['_targetPosition']['copy'](this[_0x364386(0x219)]());}[_0x3f0b9f(0x211)](..._0x35ad0e){const _0x228dc1=_0x3f0b9f;super['setRotation'](..._0x35ad0e),this['_targetQuaternion'][_0x228dc1(0x1f3)](this[_0x228dc1(0x1de)]());}[_0x3f0b9f(0x22f)](..._0x12b06a){const _0x2aa6a1=_0x3f0b9f;super[_0x2aa6a1(0x22f)](..._0x12b06a),this[_0x2aa6a1(0x233)][_0x2aa6a1(0x1f3)](this[_0x2aa6a1(0x1de)]());}['focusTo'](_0x2b4421,_0x5d88e4,_0x459430,_0x201aaf,_0x35593b=null,_0x391465=null){const _0x32af63=_0x3f0b9f;this[_0x32af63(0x205)]&&this['_focusTween'][_0x32af63(0x21c)]();const _0xb0e31=this['getPosition'](),_0x40a1f0=this[_0x32af63(0x1de)](),_0x2cabd4=this[_0x32af63(0x1fc)];let _0x21878a;_0x5d88e4 instanceof webgpu.Euler?_0x21878a=new webgpu.Quaternion()[_0x32af63(0x1ee)](_0x5d88e4):_0x21878a=_0x5d88e4['clone']();const _0x5d6b8f=new webgpu.Euler(0x0,0x0,0x0,_0x32af63(0x1f0))[_0x32af63(0x23a)](_0x21878a);Math['abs'](_0x5d6b8f['z'])>0.00001&&(_0x5d6b8f['z']=0x0,_0x21878a[_0x32af63(0x1ee)](_0x5d6b8f));const _0x19b2f6={'alpha':0x0};this['_focusTween']=gsap.gsap['to'](_0x19b2f6,{'alpha':0x1,'duration':_0x201aaf,'onUpdate':()=>{const _0x2f49ed=_0x32af63,_0x18a01b=_0x19b2f6[_0x2f49ed(0x229)],_0x5a2767=new webgpu.Vector3()[_0x2f49ed(0x204)](_0xb0e31,_0x2b4421,_0x18a01b);this['setPosition'](_0x5a2767),this[_0x2f49ed(0x1f5)][_0x2f49ed(0x1f3)](_0x5a2767);const _0x2d1793=_0x40a1f0[_0x2f49ed(0x1f6)]()['slerp'](_0x21878a,_0x18a01b);this[_0x2f49ed(0x22f)](_0x2d1793),this['_targetQuaternion'][_0x2f49ed(0x1f3)](_0x2d1793),this[_0x2f49ed(0x1fc)]=webgpu.MathUtils[_0x2f49ed(0x237)](_0x2cabd4,_0x459430,_0x18a01b),this[_0x2f49ed(0x228)]=this[_0x2f49ed(0x1fc)];if(_0x35593b)_0x35593b();},'onComplete':()=>{const _0x103bc5=_0x32af63;this[_0x103bc5(0x205)]=null;if(_0x391465)_0x391465();}});}[_0x3f0b9f(0x1e2)](){const _0x8fbf4a=_0x3f0b9f;this[_0x8fbf4a(0x205)]&&(this['_focusTween'][_0x8fbf4a(0x21c)](),this[_0x8fbf4a(0x205)]=null);}}
|
|
91
91
|
|
|
92
|
-
const _0x282f8a=_0x41aa;(function(_0x535816,_0x515571){const _0x41e1af=_0x41aa,_0xb15a0d=_0x535816();while(!![]){try{const _0x2bdf25=-parseInt(_0x41e1af(0x1ac))/0x1+-parseInt(_0x41e1af(0x1b0))/0x2*(parseInt(_0x41e1af(0x241))/0x3)+parseInt(_0x41e1af(0x1e3))/0x4+-parseInt(_0x41e1af(0x255))/0x5*(parseInt(_0x41e1af(0x24b))/0x6)+parseInt(_0x41e1af(0x1c0))/0x7*(parseInt(_0x41e1af(0x1d8))/0x8)+-parseInt(_0x41e1af(0x1c5))/0x9*(-parseInt(_0x41e1af(0x1d7))/0xa)+parseInt(_0x41e1af(0x240))/0xb;if(_0x2bdf25===_0x515571)break;else _0xb15a0d['push'](_0xb15a0d['shift']());}catch(_0x34cb34){_0xb15a0d['push'](_0xb15a0d['shift']());}}}(_0x52eb,0x22544));function _0x41aa(_0x1b50bb,_0x46d2e7){_0x1b50bb=_0x1b50bb-0x1a0;const _0x52ebaa=_0x52eb();let _0x41aa95=_0x52ebaa[_0x1b50bb];return _0x41aa95;}function _0x52eb(){const _0x5c0be3=['broadcast','onKeyUp','onKeyDownEvent','unpossess','max','clone','fov','clearTimeout','_onComponentPointerDownDelegate','quaternion','onPointerCancelEvent','leftClickTimer','pointerdown','onPointerMove','keyup','canvas','assign','destroy','onHorveringBegin','removeEventListener','_onActorDoubleClickDelegate','handled','onPointerLeaveEvent','enabled','pointerleave','position','pointerlockchange','setFromCamera','createInitialPawn','focusToBounds','world','length','fireActorHoverEnd','switchPawn','firePointerDownEvent','onPointerEnter','_raycastVec2','_pointButtonIsDown','point','onPointerMoveDelegate','_onPointerCancelDelegate','delete','wheel','onComponentClickDelegate','handleFirstClick','getBoundingClientRect','collider','updateCamera','left','hoveringActor','onPointerLockChangeEvent','onPointerUpEvent','viewPort','physics','_onActorHoverEndDelegate','ctrlKey','onPointerUp','hoveringComponent','onWheel','isPerspectiveCamera','isHoverEnabled','getHitResultUnderCursor','possess','pointerPosition','keydown','prepareClickModifiers','getTargetCameraState','isClickEnabled','clientWidth','1397660naTDPO','417558ZhntSv','doubleClickDelay','_onKeyDownDelegate','handleDoubleClick','onClick','_onActorHoverBeginDelegate','getAllHitResultFromScreenPoint','clientHeight','getCenter','add','25332tqqzLi','onClickNothingDelegate','multiplyScalar','ray','onHorveringEnd','_switchPawnTween','removeCorePointerListeners','pointerLeftDownPosition','onPointerDown','app','330SlPomp','pointermove','_onComponentHoverBeginDelegate','focusToObject','onPointerLockChange','fireComponentHoverBegin','onDoubleClicked','onPointerDownEvent','onPointerDownDelegate','onPointerEnterEvent','onPointerCancel','onKeyUpDelegate','onContextMenuDelegate','distance','shiftKey','raycaster','onPointerLeave','_onPointerLockChangeDelegate','fireClickEvents','_onPointerDownDelegate','lineTraceMulti','onPointerCancelDelegate','onWheelEvent','fireComponentHoverEnd','onComponentHoverEndDelegate','subVectors','camera','onComponentPointerDownDelegate','onActorDoubleClick','62901eirkGj','addCorePointerListeners','tick','alpha','4CsrjoH','click','onPointerUpDelegate','pointerenter','YXZ','hit','pointercancel','clientY','focusTo','prepareClickHit','log','_onClickNothingDelegate','onContextMenuEvent','fireActorHoverBegin','onActorClickDelegate','onRawClickDelegate','14bQpbhc','_onPointerMoveDelegate','setFromObject','tan','button','817515zLpZcm','set','_onContextMenuDelegate','pawn','init','getHitResultFromScreenPoint','near','fireComponentClick','onKeyUpEvent','setTimeout','_app','Visibility','_onComponentClickDelegate','_tempVec2','component','setFromAxisAngle','onPointerLockChangeDelegate','blur','30kJJhXk','797816iVHIYP','clientX','_onComponentHoverEndDelegate','prepareClickComponent','viewport','_onComponentDoubleClickDelegate','addEventListener','_onKeyUpDelegate','onKeyDown','getSize','lineTraceSingle','646072GZcura','onWindowBlur','_pawn','parentActor','push','contextmenu','_onActorClickDelegate','onContextMenu','clearHovering','_onWindowBlurDelegate','pawn\x20is\x20null','onPointerMoveEvent','onClickEvent','onActorHoverBegin','copy','top','fireActorClick','_onWheelDelegate','addActor','blocking','_onRawClickDelegate','clearClickTimer','_onPointerUpDelegate','onComponentDoubleClickDelegate'];_0x52eb=function(){return _0x5c0be3;};return _0x52eb();}class Controller{get[_0x282f8a(0x1a9)](){return this['_app']['camera'];}get[_0x282f8a(0x219)](){const _0x267054=_0x282f8a;return this[_0x267054(0x1cf)]['world'];}get[_0x282f8a(0x22f)](){const _0x44a67f=_0x282f8a;return this[_0x44a67f(0x1cf)][_0x44a67f(0x1dc)];}get[_0x282f8a(0x254)](){const _0x41e13d=_0x282f8a;return this[_0x41e13d(0x1cf)];}get[_0x282f8a(0x1c8)](){const _0x3c7039=_0x282f8a;if(!this[_0x3c7039(0x1e5)])throw Error(_0x3c7039(0x1ed));return this[_0x3c7039(0x1e5)];}get[_0x282f8a(0x226)](){const _0x1bac11=_0x282f8a;return this[_0x1bac11(0x1d1)];}get[_0x282f8a(0x1fa)](){const _0xe7441a=_0x282f8a;return this[_0xe7441a(0x1dd)];}get['onComponentHoverBeginDelegate'](){return this['_onComponentHoverBeginDelegate'];}get[_0x282f8a(0x1a7)](){return this['_onComponentHoverEndDelegate'];}get[_0x282f8a(0x1aa)](){const _0xb387aa=_0x282f8a;return this[_0xb387aa(0x203)];}get[_0x282f8a(0x1be)](){const _0x4d8f9c=_0x282f8a;return this[_0x4d8f9c(0x1e9)];}get['onActorDoubleClickDelegate'](){const _0x5bb133=_0x282f8a;return this[_0x5bb133(0x20f)];}get['onActorHoverBeginDelegate'](){const _0xc9c4a7=_0x282f8a;return this[_0xc9c4a7(0x246)];}get['onActorHoverEndDelegate'](){const _0x30f94b=_0x282f8a;return this[_0x30f94b(0x231)];}get[_0x282f8a(0x24c)](){const _0x20c586=_0x282f8a;return this[_0x20c586(0x1bb)];}get[_0x282f8a(0x25d)](){const _0x28abfc=_0x282f8a;return this[_0x28abfc(0x1a2)];}get[_0x282f8a(0x1b2)](){const _0x4dfae1=_0x282f8a;return this[_0x4dfae1(0x1f9)];}get[_0x282f8a(0x222)](){const _0x4f5c36=_0x282f8a;return this[_0x4f5c36(0x1c1)];}get[_0x282f8a(0x1a4)](){return this['_onPointerCancelDelegate'];}get['onWheelDelegate'](){return this['_onWheelDelegate'];}get['onKeyDownDelegate'](){const _0x56cf35=_0x282f8a;return this[_0x56cf35(0x243)];}get[_0x282f8a(0x260)](){return this['_onKeyUpDelegate'];}get[_0x282f8a(0x261)](){const _0x28ff63=_0x282f8a;return this[_0x28ff63(0x1c7)];}get[_0x282f8a(0x1d5)](){const _0x18c64a=_0x282f8a;return this[_0x18c64a(0x1a0)];}get['onWindowBlurDelegate'](){const _0x1dacf7=_0x282f8a;return this[_0x1dacf7(0x1ec)];}get[_0x282f8a(0x1bf)](){return this['_onRawClickDelegate'];}constructor(_0x38fe2f){const _0x52aa35=_0x282f8a;this[_0x52aa35(0x1e5)]=null,this['_switchPawnTween']=null,this[_0x52aa35(0x234)]=null,this[_0x52aa35(0x22c)]=null,this[_0x52aa35(0x1db)]=null,this['prepareClickHit']=null,this[_0x52aa35(0x23c)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x52aa35(0x220)]=new Set(),this[_0x52aa35(0x1d1)]=new Delegate(),this[_0x52aa35(0x1dd)]=new Delegate(),this[_0x52aa35(0x257)]=new Delegate(),this[_0x52aa35(0x1da)]=new Delegate(),this[_0x52aa35(0x203)]=new Delegate(),this[_0x52aa35(0x1e9)]=new Delegate(),this[_0x52aa35(0x20f)]=new Delegate(),this[_0x52aa35(0x246)]=new Delegate(),this[_0x52aa35(0x231)]=new Delegate(),this[_0x52aa35(0x1bb)]=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this[_0x52aa35(0x1f9)]=new Delegate(),this[_0x52aa35(0x1c1)]=new Delegate(),this[_0x52aa35(0x223)]=new Delegate(),this[_0x52aa35(0x1f4)]=new Delegate(),this[_0x52aa35(0x243)]=new Delegate(),this[_0x52aa35(0x1df)]=new Delegate(),this[_0x52aa35(0x1c7)]=new Delegate(),this['_onPointerLockChangeDelegate']=new Delegate(),this[_0x52aa35(0x1ec)]=new Delegate(),this[_0x52aa35(0x1f7)]=new Delegate(),this['pointerPosition']=new webgpu.Vector2(),this[_0x52aa35(0x252)]=new webgpu.Vector2(),this[_0x52aa35(0x1d2)]=new webgpu.Vector2(),this[_0x52aa35(0x21f)]=new webgpu.Vector2(),this[_0x52aa35(0x242)]=0xfa,this[_0x52aa35(0x206)]=null,this[_0x52aa35(0x208)]=_0x50c0e3=>this[_0x52aa35(0x1ee)](_0x50c0e3),this[_0x52aa35(0x21e)]=_0x426f4e=>this[_0x52aa35(0x25e)](_0x426f4e),this[_0x52aa35(0x265)]=_0x3ec82d=>this[_0x52aa35(0x211)](_0x3ec82d),this[_0x52aa35(0x233)]=_0x303f77=>this['onPointerUpEvent'](_0x303f77),this[_0x52aa35(0x253)]=_0x1d3392=>this[_0x52aa35(0x25c)](_0x1d3392),this[_0x52aa35(0x25f)]=_0x131edc=>this[_0x52aa35(0x205)](_0x131edc),this['onWheel']=_0x3babcf=>this[_0x52aa35(0x1a5)](_0x3babcf),this[_0x52aa35(0x1e0)]=_0x1501c1=>this[_0x52aa35(0x1fd)](_0x1501c1),this[_0x52aa35(0x1fc)]=_0x23fe17=>this[_0x52aa35(0x1cd)](_0x23fe17),this[_0x52aa35(0x1ea)]=_0x130a41=>this[_0x52aa35(0x1bc)](_0x130a41),this[_0x52aa35(0x259)]=_0x5d1ee1=>this[_0x52aa35(0x22d)](_0x5d1ee1),this[_0x52aa35(0x1e4)]=_0x14494e=>this['onWindowBlurEvent'](_0x14494e),this['onClick']=_0x5812c2=>this[_0x52aa35(0x1ef)](_0x5812c2),this[_0x52aa35(0x1cf)]=_0x38fe2f,this[_0x52aa35(0x264)]=new webgpu.Raycaster(),this[_0x52aa35(0x217)]();}[_0x282f8a(0x217)](){const _0x3b1c35=_0x282f8a;this[_0x3b1c35(0x1e5)]=new Orbital(this['_app']),this['pawn'][_0x3b1c35(0x239)](),this[_0x3b1c35(0x1c8)]['enabled']=!![];}[_0x282f8a(0x1c9)](){const _0x3b2f34=_0x282f8a,_0x328b53=this[_0x3b2f34(0x22f)][_0x3b2f34(0x20a)];console[_0x3b2f34(0x1ba)](_0x3b2f34(0x20a),_0x328b53),_0x328b53&&(_0x328b53[_0x3b2f34(0x1de)]('pointerenter',this[_0x3b2f34(0x21e)]),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x213),this['onPointerLeave']),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x1b6),this['onPointerCancel']),_0x328b53[_0x3b2f34(0x1de)]('wheel',this[_0x3b2f34(0x235)]),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x1e8),this['onContextMenu']),_0x328b53[_0x3b2f34(0x1de)](_0x3b2f34(0x1b1),this[_0x3b2f34(0x245)]),this[_0x3b2f34(0x1ad)]()),document['addEventListener']('pointerlockchange',this[_0x3b2f34(0x259)]),document[_0x3b2f34(0x1de)](_0x3b2f34(0x23b),this['onKeyDown']),document[_0x3b2f34(0x1de)]('keyup',this[_0x3b2f34(0x1fc)]),window[_0x3b2f34(0x1de)](_0x3b2f34(0x1d6),this['onWindowBlur']),this[_0x3b2f34(0x1e5)]&&(this['_pawn']['unpossess'](),this[_0x3b2f34(0x1e5)][_0x3b2f34(0x239)]());}[_0x282f8a(0x22a)](){const _0x306bda=_0x282f8a;var _0x5c873f,_0x382fe9;const _0x5d36a7=this['pawn']['enabled'];(_0x5c873f=this[_0x306bda(0x1e5)])===null||_0x5c873f===void 0?void 0:_0x5c873f[_0x306bda(0x1fe)](),(_0x382fe9=this['_pawn'])===null||_0x382fe9===void 0?void 0:_0x382fe9[_0x306bda(0x20c)](),this[_0x306bda(0x1e5)]=new Orbital(this[_0x306bda(0x1cf)]),this[_0x306bda(0x1c8)][_0x306bda(0x239)](),this[_0x306bda(0x1c8)][_0x306bda(0x212)]=_0x5d36a7;}async[_0x282f8a(0x21c)](_0x312d88,_0x17f45f){const _0x3265af=_0x282f8a;!_0x312d88[_0x3265af(0x219)]&&this[_0x3265af(0x1cf)][_0x3265af(0x219)][_0x3265af(0x1f5)](_0x312d88);this[_0x3265af(0x250)]&&(this[_0x3265af(0x250)]['kill'](),this[_0x3265af(0x250)]=null);const _0x1d6ff0=this['_pawn'];if(_0x1d6ff0===_0x312d88)return;if(!_0x17f45f||_0x17f45f<=0x0){_0x1d6ff0&&(_0x1d6ff0[_0x3265af(0x1fe)](),_0x1d6ff0[_0x3265af(0x212)]=![]);this[_0x3265af(0x1e5)]=_0x312d88,this[_0x3265af(0x1e5)]['enabled']=!![],this['_pawn'][_0x3265af(0x239)]();return;}const _0x29108a=this[_0x3265af(0x1a9)]['position']['clone'](),_0x518794=this[_0x3265af(0x1a9)][_0x3265af(0x204)]['clone']();_0x1d6ff0&&(_0x1d6ff0[_0x3265af(0x1fe)](),_0x1d6ff0[_0x3265af(0x212)]=![]);const {position:_0x36f0be,quaternion:_0x4a63fe}=_0x312d88[_0x3265af(0x23d)]();return this[_0x3265af(0x1e5)]=_0x312d88,this[_0x3265af(0x1e5)][_0x3265af(0x212)]=![],new Promise(_0x5ecfc1=>{const _0x318b67=_0x3265af,_0x590991={'alpha':0x0};this[_0x318b67(0x250)]=gsap.gsap['to'](_0x590991,{'alpha':0x1,'duration':_0x17f45f,'ease':'power2.inOut','onUpdate':()=>{const _0x53e355=_0x318b67,_0x19d677=_0x590991[_0x53e355(0x1af)];this['camera'][_0x53e355(0x214)]['lerpVectors'](_0x29108a,_0x36f0be,_0x19d677),this['camera']['quaternion']['slerpQuaternions'](_0x518794,_0x4a63fe,_0x19d677);},'onComplete':()=>{const _0x5a29b8=_0x318b67;this[_0x5a29b8(0x250)]=null,this['_pawn']===_0x312d88&&(this['_pawn'][_0x5a29b8(0x239)](),this[_0x5a29b8(0x1e5)][_0x5a29b8(0x212)]=!![]),_0x5ecfc1();}});});}[_0x282f8a(0x1ae)](_0x11f06c){const _0x5ea0fd=_0x282f8a;!this[_0x5ea0fd(0x1c8)][_0x5ea0fd(0x219)]&&this[_0x5ea0fd(0x1c8)]['tick'](_0x11f06c);}[_0x282f8a(0x20c)](){const _0x3810d5=_0x282f8a;this[_0x3810d5(0x1f8)](),this[_0x3810d5(0x1eb)]();const _0x588dd0=this[_0x3810d5(0x22f)][_0x3810d5(0x20a)];_0x588dd0&&(_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x1b3),this[_0x3810d5(0x21e)]),_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x213),this[_0x3810d5(0x265)]),_0x588dd0[_0x3810d5(0x20e)]('pointercancel',this['onPointerCancel']),_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x225),this[_0x3810d5(0x235)]),_0x588dd0[_0x3810d5(0x20e)]('contextmenu',this[_0x3810d5(0x1ea)]),_0x588dd0[_0x3810d5(0x20e)](_0x3810d5(0x1b1),this['onClick']),this[_0x3810d5(0x251)]()),document[_0x3810d5(0x20e)](_0x3810d5(0x215),this[_0x3810d5(0x259)]),document[_0x3810d5(0x20e)](_0x3810d5(0x23b),this['onKeyDown']),document['removeEventListener'](_0x3810d5(0x209),this['onKeyUp']),window['removeEventListener']('blur',this['onWindowBlur']),this[_0x3810d5(0x1c8)][_0x3810d5(0x1fe)](),this[_0x3810d5(0x1c8)][_0x3810d5(0x20c)](),this[_0x3810d5(0x1e5)]=null;}[_0x282f8a(0x1ee)](_0xe422b9){const _0x392904=_0x282f8a;var _0x548a94,_0x3644c4;this[_0x392904(0x1c1)][_0x392904(0x1fb)](_0xe422b9);const _0x1d64b0=this[_0x392904(0x22f)][_0x392904(0x20a)];if(!_0x1d64b0)throw Error('canvas\x20is\x20null');const _0x13b352=_0x1d64b0[_0x392904(0x228)]();this['pointerPosition']['set']((_0xe422b9[_0x392904(0x1d9)]-_0x13b352[_0x392904(0x22b)])/_0x1d64b0[_0x392904(0x23f)]*0x2-0x1,0x1-(_0xe422b9[_0x392904(0x1b7)]-_0x13b352[_0x392904(0x1f2)])/_0x1d64b0[_0x392904(0x248)]*0x2);if(this[_0x392904(0x220)]['size']>0x0)return;const _0x2c6c83=this[_0x392904(0x238)](),_0x19090c=(_0x548a94=_0x2c6c83===null||_0x2c6c83===void 0?void 0:_0x2c6c83[_0x392904(0x1d3)])!==null&&_0x548a94!==void 0?_0x548a94:null,_0x2bb945=(_0x3644c4=_0x19090c===null||_0x19090c===void 0?void 0:_0x19090c[_0x392904(0x1e6)])!==null&&_0x3644c4!==void 0?_0x3644c4:null;_0x19090c!==this[_0x392904(0x234)]&&(this[_0x392904(0x234)]&&this[_0x392904(0x1a6)](this[_0x392904(0x234)]),_0x19090c&&_0x2c6c83&&this['fireComponentHoverBegin'](_0x19090c,_0x2c6c83[_0x392904(0x1b5)])),_0x2bb945!==this[_0x392904(0x22c)]&&(this[_0x392904(0x22c)]&&this[_0x392904(0x234)]&&this[_0x392904(0x21b)](this[_0x392904(0x22c)],this[_0x392904(0x234)]),_0x2bb945&&_0x19090c&&_0x2c6c83&&this['fireActorHoverBegin'](_0x2bb945,_0x19090c,_0x2c6c83[_0x392904(0x1b5)])),this[_0x392904(0x234)]=_0x19090c,this[_0x392904(0x22c)]=_0x2bb945;}[_0x282f8a(0x1eb)](){const _0x2c95c4=_0x282f8a;this['hoveringComponent']&&this[_0x2c95c4(0x1a6)](this[_0x2c95c4(0x234)]),this[_0x2c95c4(0x22c)]&&this['hoveringComponent']&&this[_0x2c95c4(0x21b)](this['hoveringActor'],this[_0x2c95c4(0x234)]),this[_0x2c95c4(0x234)]=null,this[_0x2c95c4(0x22c)]=null;}[_0x282f8a(0x22e)](_0x31bd38){const _0x4ef9a2=_0x282f8a;this[_0x4ef9a2(0x1f9)][_0x4ef9a2(0x1fb)](_0x31bd38),this[_0x4ef9a2(0x220)][_0x4ef9a2(0x224)](_0x31bd38[_0x4ef9a2(0x1c4)]);if(_0x31bd38['button']!==0x0)return;const _0x15152b=this[_0x4ef9a2(0x1d2)][_0x4ef9a2(0x1a8)](this[_0x4ef9a2(0x252)],this[_0x4ef9a2(0x23a)])['length']();if(_0x15152b>0.005){this[_0x4ef9a2(0x1f8)]();return;}this[_0x4ef9a2(0x23c)]={'ctrlKey':_0x31bd38[_0x4ef9a2(0x232)],'shiftKey':_0x31bd38[_0x4ef9a2(0x263)],'altKey':_0x31bd38['altKey']},!this['leftClickTimer']?this['handleFirstClick']():this[_0x4ef9a2(0x244)]();}[_0x282f8a(0x227)](){const _0x5e1eee=_0x282f8a,_0x389fe3=this[_0x5e1eee(0x238)](),_0x4ce207=_0x389fe3===null||_0x389fe3===void 0?void 0:_0x389fe3[_0x5e1eee(0x1d3)];_0x4ce207 instanceof SceneComponent&&_0x389fe3?(this[_0x5e1eee(0x1db)]=_0x4ce207,this[_0x5e1eee(0x1b9)]=_0x389fe3[_0x5e1eee(0x1b5)],this[_0x5e1eee(0x206)]=window[_0x5e1eee(0x1ce)](()=>{const _0x38ca5a=_0x5e1eee;this['leftClickTimer']=null,this['prepareClickComponent']&&this[_0x38ca5a(0x1b9)]&&(this['fireClickEvents'](this['prepareClickComponent'],this[_0x38ca5a(0x1b9)],![]),this[_0x38ca5a(0x1db)]=null,this[_0x38ca5a(0x1b9)]=null);},this['doubleClickDelay'])):this[_0x5e1eee(0x1bb)][_0x5e1eee(0x1fb)]();}[_0x282f8a(0x244)](){const _0x37177c=_0x282f8a;this['clearClickTimer'](),this[_0x37177c(0x1db)]&&this[_0x37177c(0x1b9)]?this[_0x37177c(0x1a1)](this[_0x37177c(0x1db)],this[_0x37177c(0x1b9)],!![]):this[_0x37177c(0x1bb)][_0x37177c(0x1fb)](),this[_0x37177c(0x1db)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x2a8c99){const _0x3b61a1=_0x282f8a;this[_0x3b61a1(0x1a2)][_0x3b61a1(0x1fb)](_0x2a8c99),this[_0x3b61a1(0x220)][_0x3b61a1(0x24a)](_0x2a8c99[_0x3b61a1(0x1c4)]);_0x2a8c99[_0x3b61a1(0x1c4)]===0x0&&this['pointerLeftDownPosition'][_0x3b61a1(0x1f1)](this[_0x3b61a1(0x23a)]);const _0x53fcd1=this[_0x3b61a1(0x238)](),_0x2ddf3e=_0x53fcd1===null||_0x53fcd1===void 0?void 0:_0x53fcd1[_0x3b61a1(0x1d3)];_0x2ddf3e instanceof SceneComponent&&_0x53fcd1&&this[_0x3b61a1(0x21d)](_0x2ddf3e,_0x53fcd1[_0x3b61a1(0x1b5)],_0x2a8c99['button']);}['onPointerEnterEvent'](_0x19ef6b){const _0x4c8327=_0x282f8a;this[_0x4c8327(0x1ad)]();}['onPointerLeaveEvent'](_0x3bb940){const _0x282a11=_0x282f8a;this[_0x282a11(0x251)]();}['onPointerCancelEvent'](_0x29d1ee){const _0x2ec643=_0x282f8a;this['_onPointerCancelDelegate'][_0x2ec643(0x1fb)](_0x29d1ee);}['onWheelEvent'](_0x1ea8f2){const _0xd4aadd=_0x282f8a;this['_onWheelDelegate'][_0xd4aadd(0x1fb)](_0x1ea8f2);}[_0x282f8a(0x1fd)](_0x43e82c){const _0x11babe=_0x282f8a;this['_onKeyDownDelegate'][_0x11babe(0x1fb)](_0x43e82c);}['onKeyUpEvent'](_0x44684a){const _0xb1fe0a=_0x282f8a;this[_0xb1fe0a(0x1df)]['broadcast'](_0x44684a);}['onContextMenuEvent'](_0x559b20){const _0x521ad9=_0x282f8a;this['_onContextMenuDelegate'][_0x521ad9(0x1fb)](_0x559b20);}[_0x282f8a(0x22d)](_0x4ddd58){const _0x34dc80=_0x282f8a;this[_0x34dc80(0x1a0)][_0x34dc80(0x1fb)](_0x4ddd58);}['onWindowBlurEvent'](_0x49017c){const _0x3c7908=_0x282f8a;this[_0x3c7908(0x1ec)]['broadcast'](_0x49017c);}[_0x282f8a(0x1ef)](_0x576b4f){const _0x4beaf4=_0x282f8a;this[_0x4beaf4(0x1f7)]['broadcast'](_0x576b4f);}[_0x282f8a(0x25a)](_0x40929b,_0x7bbfb9){const _0x597b7c=_0x282f8a,_0x130526={'component':_0x40929b,'hit':_0x7bbfb9,'handled':![]};this['_onComponentHoverBeginDelegate'][_0x597b7c(0x1fb)](_0x130526),!_0x130526['handled']&&_0x40929b[_0x597b7c(0x20d)]();}['fireComponentHoverEnd'](_0x365f5b){const _0x146c71=_0x282f8a,_0x10b0b0={'component':_0x365f5b,'hit':null,'handled':![]};this[_0x146c71(0x1da)][_0x146c71(0x1fb)](_0x10b0b0),!_0x10b0b0[_0x146c71(0x210)]&&_0x365f5b[_0x146c71(0x24f)]();}['fireComponentClick'](_0x4c951e,_0x1433a8,_0x282e90){const _0x18fce9=_0x282f8a,_0x110aee=Object[_0x18fce9(0x20b)]({'component':_0x4c951e,'hit':_0x1433a8,'handled':![]},this['prepareClickModifiers']);_0x282e90?(this['_onComponentDoubleClickDelegate'][_0x18fce9(0x1fb)](_0x110aee),!_0x110aee['handled']&&_0x4c951e[_0x18fce9(0x25b)]()):(this[_0x18fce9(0x1d1)]['broadcast'](_0x110aee),!_0x110aee[_0x18fce9(0x210)]&&_0x4c951e['onClicked']());}['firePointerDownEvent'](_0x5771ae,_0x3622e7,_0x59f3ea){const _0x4a0e81=_0x282f8a,_0xa2727b={'component':_0x5771ae,'hit':_0x3622e7,'button':_0x59f3ea,'handled':![]};this[_0x4a0e81(0x203)][_0x4a0e81(0x1fb)](_0xa2727b);}[_0x282f8a(0x1bd)](_0x4181ff,_0x11cfc9,_0x179867){const _0x29ec10=_0x282f8a,_0x2f0c3d={'actor':_0x4181ff,'component':_0x11cfc9,'hit':_0x179867,'handled':![]};this[_0x29ec10(0x246)][_0x29ec10(0x1fb)](_0x2f0c3d),!_0x2f0c3d['handled']&&_0x4181ff[_0x29ec10(0x1f0)](_0x11cfc9);}[_0x282f8a(0x21b)](_0x19c287,_0x5d8dd5){const _0x5d0c60=_0x282f8a,_0xedb13e={'actor':_0x19c287,'component':_0x5d8dd5,'hit':null,'handled':![]};this['_onActorHoverEndDelegate'][_0x5d0c60(0x1fb)](_0xedb13e),!_0xedb13e[_0x5d0c60(0x210)]&&_0x19c287['onActorHoverEnd'](_0x5d8dd5);}[_0x282f8a(0x1f3)](_0x2aa35c,_0x48aa1d,_0x199091,_0x5da1df){const _0xbf9854=_0x282f8a,_0x5ca9a2=Object['assign']({'actor':_0x2aa35c,'component':_0x48aa1d,'hit':_0x199091,'handled':![]},this[_0xbf9854(0x23c)]);_0x5da1df?(this[_0xbf9854(0x20f)][_0xbf9854(0x1fb)](_0x5ca9a2),!_0x5ca9a2['handled']&&_0x2aa35c[_0xbf9854(0x1ab)](_0x48aa1d)):(this['_onActorClickDelegate'][_0xbf9854(0x1fb)](_0x5ca9a2),!_0x5ca9a2[_0xbf9854(0x210)]&&_0x2aa35c['onActorClick'](_0x48aa1d));}[_0x282f8a(0x1a1)](_0x3d4078,_0x2c372d,_0x4762f2){const _0x2a440d=_0x282f8a;this[_0x2a440d(0x1cc)](_0x3d4078,_0x2c372d,_0x4762f2);const _0x3bfb79=_0x3d4078[_0x2a440d(0x1e6)];if(_0x3bfb79){if(_0x3bfb79[_0x2a440d(0x23e)])this[_0x2a440d(0x1f3)](_0x3bfb79,_0x3d4078,_0x2c372d,_0x4762f2);}}[_0x282f8a(0x1f8)](){const _0x118158=_0x282f8a;this[_0x118158(0x206)]&&(window[_0x118158(0x202)](this[_0x118158(0x206)]),this[_0x118158(0x206)]=null);}[_0x282f8a(0x1ad)](){const _0x1c312a=_0x282f8a,_0x3740d4=this[_0x1c312a(0x22f)][_0x1c312a(0x20a)];if(!_0x3740d4)return;_0x3740d4[_0x1c312a(0x1de)](_0x1c312a(0x256),this[_0x1c312a(0x208)]),_0x3740d4[_0x1c312a(0x1de)]('pointerup',this[_0x1c312a(0x233)]),_0x3740d4['addEventListener']('pointerdown',this['onPointerDown']);}[_0x282f8a(0x251)](){const _0x4d644b=_0x282f8a,_0x541701=this[_0x4d644b(0x22f)][_0x4d644b(0x20a)];if(!_0x541701)return;_0x541701[_0x4d644b(0x20e)](_0x4d644b(0x256),this['onPointerMove']),_0x541701[_0x4d644b(0x20e)]('pointerup',this[_0x4d644b(0x233)]),_0x541701[_0x4d644b(0x20e)](_0x4d644b(0x207),this[_0x4d644b(0x253)]);}[_0x282f8a(0x238)](_0x298e98=!![]){const _0x15376d=_0x282f8a;return this[_0x15376d(0x1ca)](this[_0x15376d(0x23a)]['x'],this[_0x15376d(0x23a)]['y'],_0x298e98);}[_0x282f8a(0x1ca)](_0x4a833a,_0xd71677,_0x44bd4e=!![]){const _0x2017d0=_0x282f8a;this['_raycastVec2']['set'](_0x4a833a,_0xd71677),this['raycaster'][_0x2017d0(0x216)](this[_0x2017d0(0x21f)],this[_0x2017d0(0x1a9)]);const _0x4dc1ea=this[_0x2017d0(0x247)](_0x4a833a,_0xd71677);if(!_0x44bd4e)return _0x4dc1ea[0x0]||null;for(const _0x11602a of _0x4dc1ea){const _0x8cbfca=_0x11602a['component']['isHoverEnabled']||_0x11602a[_0x2017d0(0x1d3)][_0x2017d0(0x23e)],_0x16bb29=_0x11602a[_0x2017d0(0x1d3)][_0x2017d0(0x1e6)],_0x21c36a=_0x16bb29&&(_0x16bb29[_0x2017d0(0x237)]||_0x16bb29[_0x2017d0(0x23e)]);if(_0x8cbfca||_0x21c36a)return _0x11602a;}return null;}['getAllHitResultUnderCursor'](_0x376cbd=!![]){const _0x12b0d7=_0x282f8a;return this[_0x12b0d7(0x247)](this['pointerPosition']['x'],this[_0x12b0d7(0x23a)]['y']);}[_0x282f8a(0x247)](_0xc6ad03,_0x311308){const _0x492a49=_0x282f8a;this[_0x492a49(0x21f)][_0x492a49(0x1c6)](_0xc6ad03,_0x311308),this[_0x492a49(0x264)]['setFromCamera'](this[_0x492a49(0x21f)],this[_0x492a49(0x1a9)]);const _0x2a0ccc=this[_0x492a49(0x264)][_0x492a49(0x24e)]['origin'],_0x44c72b=this['raycaster']['ray']['at'](0x2710,new webgpu.Vector3()),_0x3f2399=this['world']['physics'][_0x492a49(0x1a3)](_0x2a0ccc,_0x44c72b,exports.CollisionChannel[_0x492a49(0x1d0)]),_0xea0ae5=[];for(const _0x370bd0 of _0x3f2399){if(!_0x370bd0[_0x492a49(0x229)]||!_0x370bd0[_0x492a49(0x229)]['threeObject'])continue;if(this[_0x492a49(0x1a9)]instanceof webgpu.PerspectiveCamera&&_0x370bd0[_0x492a49(0x262)]<this[_0x492a49(0x1a9)][_0x492a49(0x1cb)])continue;const _0x445112={'distance':_0x370bd0[_0x492a49(0x262)],'point':_0x370bd0[_0x492a49(0x221)],'object':_0x370bd0['collider']['threeObject'],'uv':new webgpu.Vector2(0x0,0x0)};_0xea0ae5[_0x492a49(0x1e7)]({'component':_0x370bd0['collider'],'hit':_0x445112});if(_0x370bd0['blocking'])break;}return _0xea0ae5;}[_0x282f8a(0x1b8)](_0x1edca2,_0x32b42d,_0x5b8299,_0x2fbea1,_0x4a9f5d=null,_0x2d8dcd=null){const _0x250ad6=_0x282f8a;this[_0x250ad6(0x1c8)][_0x250ad6(0x1b8)](_0x1edca2,_0x32b42d,_0x5b8299,_0x2fbea1,_0x4a9f5d,_0x2d8dcd);}[_0x282f8a(0x218)](_0x25e7df,_0x4c83b6,_0x5e79e8=![],_0x4ae2f5=null,_0x480a6e=null){const _0xe6ea1e=_0x282f8a,_0x16049c=new webgpu.Vector3(),_0x5ef186=new webgpu.Vector3();_0x25e7df[_0xe6ea1e(0x249)](_0x16049c),_0x25e7df[_0xe6ea1e(0x1e1)](_0x5ef186);const _0x11f05b=this[_0xe6ea1e(0x254)][_0xe6ea1e(0x1a9)];if(_0x11f05b&&_0x11f05b[_0xe6ea1e(0x236)]){const _0x497aad=_0x11f05b[_0xe6ea1e(0x201)]*(Math['PI']/0xb4),_0x1031e8=Math['sqrt'](0.5),_0x3500f4=_0x5ef186[_0xe6ea1e(0x21a)]()*0.5,_0x5aa53d=Math[_0xe6ea1e(0x1ff)](_0x3500f4/_0x1031e8/Math[_0xe6ea1e(0x1c3)](_0x497aad/0x2),_0x11f05b[_0xe6ea1e(0x1cb)]*0x2);let _0x18686a=_0x11f05b[_0xe6ea1e(0x204)][_0xe6ea1e(0x200)]();if(_0x5e79e8){const _0x26332e=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0xe6ea1e(0x1b4)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0xe6ea1e(0x1b4))];let _0x4ff05e=-1;for(const _0xc5f4cf of _0x26332e){const _0x2eea09=new webgpu.Quaternion()['setFromEuler'](_0xc5f4cf),_0x4257bf=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x2eea09),_0x26add5=_0x16049c[_0xe6ea1e(0x200)]()[_0xe6ea1e(0x24a)](_0x4257bf[_0xe6ea1e(0x24d)](_0x5aa53d)),_0xf0765=this[_0xe6ea1e(0x219)][_0xe6ea1e(0x230)][_0xe6ea1e(0x1e2)](_0x26add5,_0x16049c,exports.CollisionChannel['Visibility']);let _0x4dbcae=![],_0x279489=_0x5aa53d;_0xf0765&&_0xf0765[_0xe6ea1e(0x1f6)]&&(_0xf0765[_0xe6ea1e(0x262)]<_0x5aa53d-_0x3500f4*1.2&&(_0x4dbcae=!![],_0x279489=_0xf0765['distance']));if(!_0x4dbcae){_0x18686a=_0x2eea09;break;}else _0x279489>_0x4ff05e&&(_0x4ff05e=_0x279489,_0x18686a=_0x2eea09);}}const _0x5541bb=_0x18686a;this[_0xe6ea1e(0x1b8)](_0x16049c,_0x5541bb,_0x5aa53d,_0x4c83b6,_0x4ae2f5,_0x480a6e);}else {const _0x4bcbab=_0x5ef186['length']()*1.5,_0x401bea=new webgpu.Quaternion()[_0xe6ea1e(0x1d4)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0xe6ea1e(0x1b8)](_0x16049c,_0x401bea,_0x4bcbab,_0x4c83b6,_0x4ae2f5,_0x480a6e);}}[_0x282f8a(0x258)](_0x4eb48e,_0x5c6ab1,_0x1b02dc=![],_0x3f8f67=null,_0x109902=null){const _0x35796e=_0x282f8a,_0x3143c7=new webgpu.Box3()[_0x35796e(0x1c2)](_0x4eb48e);this[_0x35796e(0x218)](_0x3143c7,_0x5c6ab1,_0x1b02dc,_0x3f8f67,_0x109902);}}
|
|
92
|
+
const _0x25ac4a=_0xe7db;(function(_0x30a8d1,_0xaa6ed7){const _0x1d075f=_0xe7db,_0x4ff61b=_0x30a8d1();while(!![]){try{const _0x9a845a=-parseInt(_0x1d075f(0x169))/0x1*(-parseInt(_0x1d075f(0x15d))/0x2)+-parseInt(_0x1d075f(0x105))/0x3*(-parseInt(_0x1d075f(0x133))/0x4)+-parseInt(_0x1d075f(0x164))/0x5*(parseInt(_0x1d075f(0x1b9))/0x6)+-parseInt(_0x1d075f(0x10f))/0x7*(parseInt(_0x1d075f(0x1b5))/0x8)+-parseInt(_0x1d075f(0x1a7))/0x9+-parseInt(_0x1d075f(0x156))/0xa*(-parseInt(_0x1d075f(0x19d))/0xb)+parseInt(_0x1d075f(0x1b4))/0xc*(parseInt(_0x1d075f(0x1a8))/0xd);if(_0x9a845a===_0xaa6ed7)break;else _0x4ff61b['push'](_0x4ff61b['shift']());}catch(_0x3a9599){_0x4ff61b['push'](_0x4ff61b['shift']());}}}(_0x24d9,0xcf77c));function _0xe7db(_0x3d61c9,_0x3ba902){_0x3d61c9=_0x3d61c9-0xf0;const _0x24d96a=_0x24d9();let _0xe7db25=_0x24d96a[_0x3d61c9];return _0xe7db25;}function _0x24d9(){const _0x5b58d7=['component','onActorHoverBeginDelegate','_onKeyDownDelegate','getHitResultFromScreenPoint','threeObject','pointerenter','onKeyDown','prepareClickComponent','pointerdown','onPointerEnterEvent','pawn\x20is\x20null','possess','_onPointerDownDelegate','ctrlKey','onActorHoverEnd','tick','clientX','fireComponentHoverEnd','_onComponentHoverEndDelegate','_raycastVec2','isPerspectiveCamera','onWheelEvent','blocking','parentActor','onPointerCancelEvent','_onActorHoverEndDelegate','onKeyDownDelegate','onWindowBlurEvent','onKeyUpEvent','world','onClickNothingDelegate','_onWindowBlurDelegate','onClick','enabled','prepareClickHit','_onWheelDelegate','clientY','onComponentClickDelegate','getCenter','copy','1485MOnNYW','shiftKey','pointermove','onRawClickDelegate','assign','log','onActorHoverEndDelegate','init','clearClickTimer','onPointerDownEvent','10761921BPBOiB','13yAZJHz','fireActorHoverBegin','onPointerLeaveEvent','point','onPointerDown','app','fireComponentClick','add','clone','_app','onPointerLockChangeDelegate','_onComponentDoubleClickDelegate','34602792FZXlyB','482960qfPtDi','push','removeCorePointerListeners','kill','8274972sGnnPl','YXZ','onPointerLockChangeEvent','onHorveringEnd','origin','hoveringActor','onPointerEnter','_onPointerMoveDelegate','_onPointerUpDelegate','onPointerMoveDelegate','updateCamera','hoveringComponent','raycaster','top','onPointerLeave','fireClickEvents','hit','onActorClick','contextmenu','fireComponentHoverBegin','doubleClickDelay','leftClickTimer','fireActorHoverEnd','blur','915dMZcQj','onPointerDownDelegate','left','firePointerDownEvent','onKeyUp','getTargetCameraState','isHoverEnabled','onPointerLockChange','canvas','onClickEvent','175SFCuHD','pointerLeftDownPosition','onWindowBlurDelegate','clearHovering','clientHeight','getHitResultUnderCursor','click','onWheel','Visibility','broadcast','button','pawn','position','handleDoubleClick','onKeyUpDelegate','_switchPawnTween','lerpVectors','collider','onClicked','onWheelDelegate','multiplyScalar','delete','pointerleave','getBoundingClientRect','onPointerCancelDelegate','keyup','power2.inOut','onActorDoubleClickDelegate','_pawn','_pointButtonIsDown','addEventListener','keydown','fireActorClick','distance','lineTraceSingle','_onActorDoubleClickDelegate','6412cqsrqC','physics','focusTo','ray','pointerPosition','addActor','_onKeyUpDelegate','_onRawClickDelegate','onComponentDoubleClickDelegate','onPointerUp','prepareClickModifiers','onContextMenu','onPointerCancel','switchPawn','onContextMenuDelegate','createInitialPawn','focusToBounds','clearTimeout','onPointerUpDelegate','viewPort','removeEventListener','fov','onPointerMove','_onContextMenuDelegate','getAllHitResultFromScreenPoint','destroy','onActorClickDelegate','set','_tempVec2','max','pointerup','_onPointerLockChangeDelegate','_onComponentPointerDownDelegate','pointercancel','_onPointerCancelDelegate','7480NVQhzy','onPointerUpEvent','size','onWindowBlur','camera','_onActorClickDelegate','near','69548ogidau','_onComponentHoverBeginDelegate','canvas\x20is\x20null','onContextMenuEvent','getAllHitResultUnderCursor','addCorePointerListeners','handled','5dhgiUQ','_onClickNothingDelegate','onDoubleClicked','length','isClickEnabled','42hZJqjS','quaternion','_onActorHoverBeginDelegate','unpossess','viewport','onPointerMoveEvent','wheel','setFromCamera','handleFirstClick','onKeyDownEvent','setTimeout','sqrt'];_0x24d9=function(){return _0x5b58d7;};return _0x24d9();}class Controller{get[_0x25ac4a(0x15a)](){const _0x5bd4cf=_0x25ac4a;return this[_0x5bd4cf(0x1b1)][_0x5bd4cf(0x15a)];}get[_0x25ac4a(0x192)](){const _0x1e7dba=_0x25ac4a;return this[_0x1e7dba(0x1b1)][_0x1e7dba(0x192)];}get[_0x25ac4a(0x146)](){const _0x312112=_0x25ac4a;return this['_app'][_0x312112(0x16d)];}get[_0x25ac4a(0x1ad)](){const _0x22f3ab=_0x25ac4a;return this[_0x22f3ab(0x1b1)];}get[_0x25ac4a(0x11a)](){const _0x1244c=_0x25ac4a;if(!this['_pawn'])throw Error(_0x1244c(0x17f));return this[_0x1244c(0x12b)];}get[_0x25ac4a(0x19a)](){return this['_onComponentClickDelegate'];}get[_0x25ac4a(0x13b)](){const _0x4ce015=_0x25ac4a;return this[_0x4ce015(0x1b3)];}get['onComponentHoverBeginDelegate'](){const _0x5ad21c=_0x25ac4a;return this[_0x5ad21c(0x15e)];}get['onComponentHoverEndDelegate'](){const _0x418ecc=_0x25ac4a;return this[_0x418ecc(0x187)];}get['onComponentPointerDownDelegate'](){const _0x96d676=_0x25ac4a;return this[_0x96d676(0x153)];}get[_0x25ac4a(0x14d)](){return this['_onActorClickDelegate'];}get[_0x25ac4a(0x12a)](){const _0x174d29=_0x25ac4a;return this[_0x174d29(0x132)];}get[_0x25ac4a(0x176)](){return this['_onActorHoverBeginDelegate'];}get[_0x25ac4a(0x1a3)](){const _0x5f0766=_0x25ac4a;return this[_0x5f0766(0x18e)];}get[_0x25ac4a(0x193)](){return this['_onClickNothingDelegate'];}get[_0x25ac4a(0x106)](){const _0x353896=_0x25ac4a;return this[_0x353896(0x181)];}get[_0x25ac4a(0x145)](){const _0x4145a1=_0x25ac4a;return this[_0x4145a1(0xf5)];}get[_0x25ac4a(0xf6)](){const _0x5097ff=_0x25ac4a;return this[_0x5097ff(0xf4)];}get[_0x25ac4a(0x127)](){const _0x3772dd=_0x25ac4a;return this[_0x3772dd(0x155)];}get[_0x25ac4a(0x122)](){const _0x5949ec=_0x25ac4a;return this[_0x5949ec(0x198)];}get[_0x25ac4a(0x18f)](){return this['_onKeyDownDelegate'];}get[_0x25ac4a(0x11d)](){return this['_onKeyUpDelegate'];}get[_0x25ac4a(0x141)](){return this['_onContextMenuDelegate'];}get[_0x25ac4a(0x1b2)](){const _0x34d53e=_0x25ac4a;return this[_0x34d53e(0x152)];}get[_0x25ac4a(0x111)](){return this['_onWindowBlurDelegate'];}get[_0x25ac4a(0x1a0)](){const _0x5926da=_0x25ac4a;return this[_0x5926da(0x13a)];}constructor(_0x53471d){const _0x3c5eaf=_0x25ac4a;this[_0x3c5eaf(0x12b)]=null,this[_0x3c5eaf(0x11e)]=null,this['hoveringComponent']=null,this[_0x3c5eaf(0xf2)]=null,this[_0x3c5eaf(0x17c)]=null,this['prepareClickHit']=null,this[_0x3c5eaf(0x13d)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this['_pointButtonIsDown']=new Set(),this['_onComponentClickDelegate']=new Delegate(),this['_onComponentDoubleClickDelegate']=new Delegate(),this[_0x3c5eaf(0x15e)]=new Delegate(),this[_0x3c5eaf(0x187)]=new Delegate(),this[_0x3c5eaf(0x153)]=new Delegate(),this[_0x3c5eaf(0x15b)]=new Delegate(),this[_0x3c5eaf(0x132)]=new Delegate(),this[_0x3c5eaf(0x16b)]=new Delegate(),this[_0x3c5eaf(0x18e)]=new Delegate(),this[_0x3c5eaf(0x165)]=new Delegate(),this[_0x3c5eaf(0x181)]=new Delegate(),this['_onPointerUpDelegate']=new Delegate(),this[_0x3c5eaf(0xf4)]=new Delegate(),this[_0x3c5eaf(0x155)]=new Delegate(),this['_onWheelDelegate']=new Delegate(),this[_0x3c5eaf(0x177)]=new Delegate(),this['_onKeyUpDelegate']=new Delegate(),this[_0x3c5eaf(0x14a)]=new Delegate(),this[_0x3c5eaf(0x152)]=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this[_0x3c5eaf(0x13a)]=new Delegate(),this['pointerPosition']=new webgpu.Vector2(),this[_0x3c5eaf(0x110)]=new webgpu.Vector2(),this[_0x3c5eaf(0x14f)]=new webgpu.Vector2(),this[_0x3c5eaf(0x188)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x3c5eaf(0x102)]=null,this['onPointerMove']=_0x5892f2=>this['onPointerMoveEvent'](_0x5892f2),this['onPointerEnter']=_0x4b5bf4=>this['onPointerEnterEvent'](_0x4b5bf4),this[_0x3c5eaf(0xfb)]=_0x28c1f1=>this[_0x3c5eaf(0x1aa)](_0x28c1f1),this[_0x3c5eaf(0x13c)]=_0x3a1461=>this[_0x3c5eaf(0x157)](_0x3a1461),this[_0x3c5eaf(0x1ac)]=_0x3f39ec=>this[_0x3c5eaf(0x1a6)](_0x3f39ec),this[_0x3c5eaf(0x13f)]=_0x238621=>this['onPointerCancelEvent'](_0x238621),this[_0x3c5eaf(0x116)]=_0x5f3415=>this[_0x3c5eaf(0x18a)](_0x5f3415),this[_0x3c5eaf(0x17b)]=_0x13bf6d=>this[_0x3c5eaf(0x172)](_0x13bf6d),this['onKeyUp']=_0x38e059=>this[_0x3c5eaf(0x191)](_0x38e059),this[_0x3c5eaf(0x13e)]=_0xc14fc4=>this['onContextMenuEvent'](_0xc14fc4),this[_0x3c5eaf(0x10c)]=_0x3208b8=>this[_0x3c5eaf(0x1bb)](_0x3208b8),this[_0x3c5eaf(0x159)]=_0x5dbe9f=>this[_0x3c5eaf(0x190)](_0x5dbe9f),this[_0x3c5eaf(0x195)]=_0x246b74=>this['onClickEvent'](_0x246b74),this['_app']=_0x53471d,this[_0x3c5eaf(0xf9)]=new webgpu.Raycaster(),this[_0x3c5eaf(0x142)]();}[_0x25ac4a(0x142)](){const _0x317089=_0x25ac4a;this['_pawn']=new Orbital(this[_0x317089(0x1b1)]),this[_0x317089(0x11a)]['possess'](),this[_0x317089(0x11a)]['enabled']=!![];}[_0x25ac4a(0x1a4)](){const _0x143a69=_0x25ac4a,_0x2da100=this[_0x143a69(0x146)][_0x143a69(0x10d)];console[_0x143a69(0x1a2)](_0x143a69(0x10d),_0x2da100),_0x2da100&&(_0x2da100[_0x143a69(0x12d)](_0x143a69(0x17a),this[_0x143a69(0xf3)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0x125),this[_0x143a69(0xfb)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0x154),this[_0x143a69(0x13f)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0x16f),this[_0x143a69(0x116)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0xff),this['onContextMenu']),_0x2da100['addEventListener'](_0x143a69(0x115),this[_0x143a69(0x195)]),this[_0x143a69(0x162)]()),document['addEventListener']('pointerlockchange',this[_0x143a69(0x10c)]),document['addEventListener']('keydown',this[_0x143a69(0x17b)]),document[_0x143a69(0x12d)](_0x143a69(0x128),this[_0x143a69(0x109)]),window[_0x143a69(0x12d)]('blur',this['onWindowBlur']),this['_pawn']&&(this['_pawn'][_0x143a69(0x16c)](),this['_pawn']['possess']());}[_0x25ac4a(0xf7)](){const _0xa1bfeb=_0x25ac4a;var _0x185c12,_0x31b795;const _0x40829e=this[_0xa1bfeb(0x11a)][_0xa1bfeb(0x196)];(_0x185c12=this['_pawn'])===null||_0x185c12===void 0?void 0:_0x185c12[_0xa1bfeb(0x16c)](),(_0x31b795=this[_0xa1bfeb(0x12b)])===null||_0x31b795===void 0?void 0:_0x31b795[_0xa1bfeb(0x14c)](),this[_0xa1bfeb(0x12b)]=new Orbital(this['_app']),this[_0xa1bfeb(0x11a)][_0xa1bfeb(0x180)](),this['pawn'][_0xa1bfeb(0x196)]=_0x40829e;}async[_0x25ac4a(0x140)](_0x444769,_0x91b576){const _0x149d57=_0x25ac4a;!_0x444769[_0x149d57(0x192)]&&this[_0x149d57(0x1b1)][_0x149d57(0x192)][_0x149d57(0x138)](_0x444769);this[_0x149d57(0x11e)]&&(this[_0x149d57(0x11e)][_0x149d57(0x1b8)](),this[_0x149d57(0x11e)]=null);const _0x51973=this[_0x149d57(0x12b)];if(_0x51973===_0x444769)return;if(!_0x91b576||_0x91b576<=0x0){_0x51973&&(_0x51973[_0x149d57(0x16c)](),_0x51973[_0x149d57(0x196)]=![]);this['_pawn']=_0x444769,this[_0x149d57(0x12b)][_0x149d57(0x196)]=!![],this[_0x149d57(0x12b)][_0x149d57(0x180)]();return;}const _0x165438=this[_0x149d57(0x15a)][_0x149d57(0x11b)][_0x149d57(0x1b0)](),_0x4cf982=this['camera']['quaternion'][_0x149d57(0x1b0)]();_0x51973&&(_0x51973['unpossess'](),_0x51973[_0x149d57(0x196)]=![]);const {position:_0x11295b,quaternion:_0x1d00e9}=_0x444769[_0x149d57(0x10a)]();return this[_0x149d57(0x12b)]=_0x444769,this[_0x149d57(0x12b)][_0x149d57(0x196)]=![],new Promise(_0x505f23=>{const _0x4d5294=_0x149d57,_0x234679={'alpha':0x0};this[_0x4d5294(0x11e)]=gsap.gsap['to'](_0x234679,{'alpha':0x1,'duration':_0x91b576,'ease':_0x4d5294(0x129),'onUpdate':()=>{const _0x4e6a1e=_0x4d5294,_0x50c73e=_0x234679['alpha'];this[_0x4e6a1e(0x15a)]['position'][_0x4e6a1e(0x11f)](_0x165438,_0x11295b,_0x50c73e),this['camera']['quaternion']['slerpQuaternions'](_0x4cf982,_0x1d00e9,_0x50c73e);},'onComplete':()=>{const _0x54d38a=_0x4d5294;this[_0x54d38a(0x11e)]=null,this[_0x54d38a(0x12b)]===_0x444769&&(this[_0x54d38a(0x12b)][_0x54d38a(0x180)](),this['_pawn'][_0x54d38a(0x196)]=!![]),_0x505f23();}});});}[_0x25ac4a(0x184)](_0xa9ebc3){const _0x45a56b=_0x25ac4a;!this['pawn'][_0x45a56b(0x192)]&&this['pawn'][_0x45a56b(0x184)](_0xa9ebc3);}['destroy'](){const _0x48d31f=_0x25ac4a;this[_0x48d31f(0x1a5)](),this[_0x48d31f(0x112)]();const _0x3ac4cd=this[_0x48d31f(0x146)][_0x48d31f(0x10d)];_0x3ac4cd&&(_0x3ac4cd[_0x48d31f(0x147)]('pointerenter',this['onPointerEnter']),_0x3ac4cd['removeEventListener']('pointerleave',this[_0x48d31f(0xfb)]),_0x3ac4cd['removeEventListener'](_0x48d31f(0x154),this['onPointerCancel']),_0x3ac4cd['removeEventListener']('wheel',this[_0x48d31f(0x116)]),_0x3ac4cd[_0x48d31f(0x147)](_0x48d31f(0xff),this[_0x48d31f(0x13e)]),_0x3ac4cd['removeEventListener'](_0x48d31f(0x115),this[_0x48d31f(0x195)]),this['removeCorePointerListeners']()),document[_0x48d31f(0x147)]('pointerlockchange',this[_0x48d31f(0x10c)]),document[_0x48d31f(0x147)](_0x48d31f(0x12e),this[_0x48d31f(0x17b)]),document[_0x48d31f(0x147)](_0x48d31f(0x128),this[_0x48d31f(0x109)]),window['removeEventListener'](_0x48d31f(0x104),this[_0x48d31f(0x159)]),this['pawn'][_0x48d31f(0x16c)](),this['pawn'][_0x48d31f(0x14c)](),this[_0x48d31f(0x12b)]=null;}[_0x25ac4a(0x16e)](_0x4ea1b1){const _0x18625a=_0x25ac4a;var _0x52b5c5,_0x34ef15;this['_onPointerMoveDelegate'][_0x18625a(0x118)](_0x4ea1b1);const _0x46f674=this[_0x18625a(0x146)][_0x18625a(0x10d)];if(!_0x46f674)throw Error(_0x18625a(0x15f));const _0x221fba=_0x46f674[_0x18625a(0x126)]();this[_0x18625a(0x137)]['set']((_0x4ea1b1[_0x18625a(0x185)]-_0x221fba[_0x18625a(0x107)])/_0x46f674['clientWidth']*0x2-0x1,0x1-(_0x4ea1b1[_0x18625a(0x199)]-_0x221fba[_0x18625a(0xfa)])/_0x46f674[_0x18625a(0x113)]*0x2);if(this[_0x18625a(0x12c)][_0x18625a(0x158)]>0x0)return;const _0x344b4e=this[_0x18625a(0x114)](),_0x3ee665=(_0x52b5c5=_0x344b4e===null||_0x344b4e===void 0?void 0:_0x344b4e['component'])!==null&&_0x52b5c5!==void 0?_0x52b5c5:null,_0xa83a03=(_0x34ef15=_0x3ee665===null||_0x3ee665===void 0?void 0:_0x3ee665['parentActor'])!==null&&_0x34ef15!==void 0?_0x34ef15:null;_0x3ee665!==this[_0x18625a(0xf8)]&&(this[_0x18625a(0xf8)]&&this[_0x18625a(0x186)](this[_0x18625a(0xf8)]),_0x3ee665&&_0x344b4e&&this[_0x18625a(0x100)](_0x3ee665,_0x344b4e[_0x18625a(0xfd)])),_0xa83a03!==this[_0x18625a(0xf2)]&&(this[_0x18625a(0xf2)]&&this[_0x18625a(0xf8)]&&this[_0x18625a(0x103)](this[_0x18625a(0xf2)],this[_0x18625a(0xf8)]),_0xa83a03&&_0x3ee665&&_0x344b4e&&this[_0x18625a(0x1a9)](_0xa83a03,_0x3ee665,_0x344b4e['hit'])),this[_0x18625a(0xf8)]=_0x3ee665,this['hoveringActor']=_0xa83a03;}[_0x25ac4a(0x112)](){const _0x1c6e69=_0x25ac4a;this[_0x1c6e69(0xf8)]&&this['fireComponentHoverEnd'](this[_0x1c6e69(0xf8)]),this[_0x1c6e69(0xf2)]&&this[_0x1c6e69(0xf8)]&&this[_0x1c6e69(0x103)](this[_0x1c6e69(0xf2)],this[_0x1c6e69(0xf8)]),this['hoveringComponent']=null,this['hoveringActor']=null;}[_0x25ac4a(0x157)](_0x245a49){const _0x33b504=_0x25ac4a;this[_0x33b504(0xf5)][_0x33b504(0x118)](_0x245a49),this[_0x33b504(0x12c)][_0x33b504(0x124)](_0x245a49[_0x33b504(0x119)]);if(_0x245a49[_0x33b504(0x119)]!==0x0)return;const _0x26fba2=this[_0x33b504(0x14f)]['subVectors'](this[_0x33b504(0x110)],this[_0x33b504(0x137)])[_0x33b504(0x167)]();if(_0x26fba2>0.005){this[_0x33b504(0x1a5)]();return;}this[_0x33b504(0x13d)]={'ctrlKey':_0x245a49[_0x33b504(0x182)],'shiftKey':_0x245a49[_0x33b504(0x19e)],'altKey':_0x245a49['altKey']},!this[_0x33b504(0x102)]?this['handleFirstClick']():this[_0x33b504(0x11c)]();}[_0x25ac4a(0x171)](){const _0x543558=_0x25ac4a,_0x1a7928=this['getHitResultUnderCursor'](),_0x8c9607=_0x1a7928===null||_0x1a7928===void 0?void 0:_0x1a7928['component'];_0x8c9607 instanceof SceneComponent&&_0x1a7928?(this[_0x543558(0x17c)]=_0x8c9607,this[_0x543558(0x197)]=_0x1a7928[_0x543558(0xfd)],this[_0x543558(0x102)]=window[_0x543558(0x173)](()=>{const _0x508806=_0x543558;this[_0x508806(0x102)]=null,this[_0x508806(0x17c)]&&this['prepareClickHit']&&(this[_0x508806(0xfc)](this[_0x508806(0x17c)],this[_0x508806(0x197)],![]),this[_0x508806(0x17c)]=null,this[_0x508806(0x197)]=null);},this[_0x543558(0x101)])):this['_onClickNothingDelegate'][_0x543558(0x118)]();}['handleDoubleClick'](){const _0x29e897=_0x25ac4a;this[_0x29e897(0x1a5)](),this[_0x29e897(0x17c)]&&this[_0x29e897(0x197)]?this[_0x29e897(0xfc)](this['prepareClickComponent'],this[_0x29e897(0x197)],!![]):this['_onClickNothingDelegate']['broadcast'](),this[_0x29e897(0x17c)]=null,this[_0x29e897(0x197)]=null;}[_0x25ac4a(0x1a6)](_0x3e24f2){const _0x496871=_0x25ac4a;this['_onPointerDownDelegate'][_0x496871(0x118)](_0x3e24f2),this[_0x496871(0x12c)]['add'](_0x3e24f2[_0x496871(0x119)]);_0x3e24f2['button']===0x0&&this[_0x496871(0x110)][_0x496871(0x19c)](this[_0x496871(0x137)]);const _0x30b857=this[_0x496871(0x114)](),_0x30a873=_0x30b857===null||_0x30b857===void 0?void 0:_0x30b857[_0x496871(0x175)];_0x30a873 instanceof SceneComponent&&_0x30b857&&this[_0x496871(0x108)](_0x30a873,_0x30b857[_0x496871(0xfd)],_0x3e24f2[_0x496871(0x119)]);}[_0x25ac4a(0x17e)](_0x1015f7){const _0x37cd82=_0x25ac4a;this[_0x37cd82(0x162)]();}[_0x25ac4a(0x1aa)](_0x1999fb){const _0x401724=_0x25ac4a;this[_0x401724(0x1b7)]();}[_0x25ac4a(0x18d)](_0x37a124){const _0x11d199=_0x25ac4a;this[_0x11d199(0x155)][_0x11d199(0x118)](_0x37a124);}[_0x25ac4a(0x18a)](_0x5adf40){this['_onWheelDelegate']['broadcast'](_0x5adf40);}[_0x25ac4a(0x172)](_0x2b42b6){this['_onKeyDownDelegate']['broadcast'](_0x2b42b6);}[_0x25ac4a(0x191)](_0x37cd2b){const _0x4a5a7a=_0x25ac4a;this[_0x4a5a7a(0x139)][_0x4a5a7a(0x118)](_0x37cd2b);}[_0x25ac4a(0x160)](_0x168b46){const _0x16e773=_0x25ac4a;this[_0x16e773(0x14a)][_0x16e773(0x118)](_0x168b46);}[_0x25ac4a(0x1bb)](_0x5b6306){const _0x299b86=_0x25ac4a;this[_0x299b86(0x152)][_0x299b86(0x118)](_0x5b6306);}[_0x25ac4a(0x190)](_0x225232){const _0x1b1ea9=_0x25ac4a;this[_0x1b1ea9(0x194)][_0x1b1ea9(0x118)](_0x225232);}[_0x25ac4a(0x10e)](_0x39975e){const _0x2f8a87=_0x25ac4a;this['_onRawClickDelegate'][_0x2f8a87(0x118)](_0x39975e);}[_0x25ac4a(0x100)](_0x4a4349,_0x34ab61){const _0xf74f65=_0x25ac4a,_0x31d2ee={'component':_0x4a4349,'hit':_0x34ab61,'handled':![]};this[_0xf74f65(0x15e)][_0xf74f65(0x118)](_0x31d2ee),!_0x31d2ee[_0xf74f65(0x163)]&&_0x4a4349['onHorveringBegin']();}[_0x25ac4a(0x186)](_0x49cca9){const _0x343a8f=_0x25ac4a,_0x1444d1={'component':_0x49cca9,'hit':null,'handled':![]};this[_0x343a8f(0x187)][_0x343a8f(0x118)](_0x1444d1),!_0x1444d1['handled']&&_0x49cca9[_0x343a8f(0xf0)]();}[_0x25ac4a(0x1ae)](_0xdd7521,_0x351d7e,_0x35e7ce){const _0x12cc67=_0x25ac4a,_0x55e400=Object[_0x12cc67(0x1a1)]({'component':_0xdd7521,'hit':_0x351d7e,'handled':![]},this[_0x12cc67(0x13d)]);_0x35e7ce?(this['_onComponentDoubleClickDelegate'][_0x12cc67(0x118)](_0x55e400),!_0x55e400[_0x12cc67(0x163)]&&_0xdd7521[_0x12cc67(0x166)]()):(this['_onComponentClickDelegate'][_0x12cc67(0x118)](_0x55e400),!_0x55e400[_0x12cc67(0x163)]&&_0xdd7521[_0x12cc67(0x121)]());}['firePointerDownEvent'](_0x2cf627,_0x15e523,_0x2e7270){const _0x5bfcba=_0x25ac4a,_0x1b114b={'component':_0x2cf627,'hit':_0x15e523,'button':_0x2e7270,'handled':![]};this[_0x5bfcba(0x153)]['broadcast'](_0x1b114b);}[_0x25ac4a(0x1a9)](_0x122bd5,_0x387fff,_0x413982){const _0x28e1e=_0x25ac4a,_0x5b0e20={'actor':_0x122bd5,'component':_0x387fff,'hit':_0x413982,'handled':![]};this['_onActorHoverBeginDelegate'][_0x28e1e(0x118)](_0x5b0e20),!_0x5b0e20[_0x28e1e(0x163)]&&_0x122bd5['onActorHoverBegin'](_0x387fff);}[_0x25ac4a(0x103)](_0x1d6ec4,_0x2ae697){const _0x5b4da9=_0x25ac4a,_0x55dad3={'actor':_0x1d6ec4,'component':_0x2ae697,'hit':null,'handled':![]};this['_onActorHoverEndDelegate'][_0x5b4da9(0x118)](_0x55dad3),!_0x55dad3['handled']&&_0x1d6ec4[_0x5b4da9(0x183)](_0x2ae697);}[_0x25ac4a(0x12f)](_0x28d27c,_0x486bf3,_0x344ca3,_0x58bb36){const _0x1f98a2=_0x25ac4a,_0x48066e=Object['assign']({'actor':_0x28d27c,'component':_0x486bf3,'hit':_0x344ca3,'handled':![]},this['prepareClickModifiers']);_0x58bb36?(this[_0x1f98a2(0x132)][_0x1f98a2(0x118)](_0x48066e),!_0x48066e[_0x1f98a2(0x163)]&&_0x28d27c['onActorDoubleClick'](_0x486bf3)):(this[_0x1f98a2(0x15b)][_0x1f98a2(0x118)](_0x48066e),!_0x48066e[_0x1f98a2(0x163)]&&_0x28d27c[_0x1f98a2(0xfe)](_0x486bf3));}[_0x25ac4a(0xfc)](_0x370e86,_0x15c903,_0x565f90){const _0x3a7f9f=_0x25ac4a;this['fireComponentClick'](_0x370e86,_0x15c903,_0x565f90);const _0x3392e5=_0x370e86[_0x3a7f9f(0x18c)];if(_0x3392e5){if(_0x3392e5[_0x3a7f9f(0x168)])this[_0x3a7f9f(0x12f)](_0x3392e5,_0x370e86,_0x15c903,_0x565f90);}}[_0x25ac4a(0x1a5)](){const _0x3f1844=_0x25ac4a;this['leftClickTimer']&&(window[_0x3f1844(0x144)](this[_0x3f1844(0x102)]),this[_0x3f1844(0x102)]=null);}[_0x25ac4a(0x162)](){const _0x3fe9ce=_0x25ac4a,_0x4823cb=this['viewPort'][_0x3fe9ce(0x10d)];if(!_0x4823cb)return;_0x4823cb['addEventListener'](_0x3fe9ce(0x19f),this[_0x3fe9ce(0x149)]),_0x4823cb[_0x3fe9ce(0x12d)](_0x3fe9ce(0x151),this[_0x3fe9ce(0x13c)]),_0x4823cb[_0x3fe9ce(0x12d)](_0x3fe9ce(0x17d),this[_0x3fe9ce(0x1ac)]);}['removeCorePointerListeners'](){const _0x21ad93=_0x25ac4a,_0x50acf7=this[_0x21ad93(0x146)][_0x21ad93(0x10d)];if(!_0x50acf7)return;_0x50acf7[_0x21ad93(0x147)](_0x21ad93(0x19f),this[_0x21ad93(0x149)]),_0x50acf7[_0x21ad93(0x147)]('pointerup',this[_0x21ad93(0x13c)]),_0x50acf7[_0x21ad93(0x147)](_0x21ad93(0x17d),this[_0x21ad93(0x1ac)]);}[_0x25ac4a(0x114)](_0x2abba8=!![]){const _0x2a841c=_0x25ac4a;return this[_0x2a841c(0x178)](this[_0x2a841c(0x137)]['x'],this[_0x2a841c(0x137)]['y'],_0x2abba8);}[_0x25ac4a(0x178)](_0x18e4cc,_0x495876,_0x2aede1=!![]){const _0x2dd695=_0x25ac4a;this['_raycastVec2'][_0x2dd695(0x14e)](_0x18e4cc,_0x495876),this[_0x2dd695(0xf9)][_0x2dd695(0x170)](this[_0x2dd695(0x188)],this[_0x2dd695(0x15a)]);const _0x5deab0=this['getAllHitResultFromScreenPoint'](_0x18e4cc,_0x495876);if(!_0x2aede1)return _0x5deab0[0x0]||null;for(const _0x33a838 of _0x5deab0){const _0x244976=_0x33a838['component'][_0x2dd695(0x10b)]||_0x33a838[_0x2dd695(0x175)][_0x2dd695(0x168)],_0x1ec38e=_0x33a838[_0x2dd695(0x175)][_0x2dd695(0x18c)],_0xeb1970=_0x1ec38e&&(_0x1ec38e[_0x2dd695(0x10b)]||_0x1ec38e[_0x2dd695(0x168)]);if(_0x244976||_0xeb1970)return _0x33a838;}return null;}[_0x25ac4a(0x161)](_0x4e3416=!![]){const _0x177b32=_0x25ac4a;return this['getAllHitResultFromScreenPoint'](this[_0x177b32(0x137)]['x'],this['pointerPosition']['y']);}[_0x25ac4a(0x14b)](_0x38aec0,_0x5b2edb){const _0x449017=_0x25ac4a;this[_0x449017(0x188)][_0x449017(0x14e)](_0x38aec0,_0x5b2edb),this[_0x449017(0xf9)]['setFromCamera'](this[_0x449017(0x188)],this['camera']);const _0x1215f4=this['raycaster'][_0x449017(0x136)][_0x449017(0xf1)],_0xd8b122=this[_0x449017(0xf9)][_0x449017(0x136)]['at'](0x2710,new webgpu.Vector3()),_0xc72e00=this[_0x449017(0x192)][_0x449017(0x134)]['lineTraceMulti'](_0x1215f4,_0xd8b122,exports.CollisionChannel[_0x449017(0x117)]),_0xadd5ac=[];for(const _0x3e770f of _0xc72e00){if(!_0x3e770f[_0x449017(0x120)]||!_0x3e770f[_0x449017(0x120)][_0x449017(0x179)])continue;if(this[_0x449017(0x15a)]instanceof webgpu.PerspectiveCamera&&_0x3e770f[_0x449017(0x130)]<this[_0x449017(0x15a)]['near'])continue;const _0x1597fc={'distance':_0x3e770f['distance'],'point':_0x3e770f[_0x449017(0x1ab)],'object':_0x3e770f[_0x449017(0x120)][_0x449017(0x179)],'uv':new webgpu.Vector2(0x0,0x0)};_0xadd5ac[_0x449017(0x1b6)]({'component':_0x3e770f['collider'],'hit':_0x1597fc});if(_0x3e770f[_0x449017(0x18b)])break;}return _0xadd5ac;}[_0x25ac4a(0x135)](_0x95b3eb,_0xcc2d8e,_0x343594,_0x526f24,_0x3132ec=null,_0x41021d=null){const _0x2c68eb=_0x25ac4a;this[_0x2c68eb(0x11a)]['focusTo'](_0x95b3eb,_0xcc2d8e,_0x343594,_0x526f24,_0x3132ec,_0x41021d);}[_0x25ac4a(0x143)](_0x4ca143,_0x2643a6,_0x462279={}){const _0x266410=_0x25ac4a,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x266410(0x174)](0.5)}=_0x462279,_0x4a314f=new webgpu.Vector3(),_0x2a563d=new webgpu.Vector3();_0x4ca143[_0x266410(0x19b)](_0x4a314f),_0x4ca143['getSize'](_0x2a563d);const _0x3bb290=this['app'][_0x266410(0x15a)];if(_0x3bb290&&_0x3bb290[_0x266410(0x189)]){const _0x33da49=_0x3bb290[_0x266410(0x148)]*(Math['PI']/0xb4),_0x7fb5a3=_0x2a563d['length']()*0.5,_0x244aee=Math[_0x266410(0x150)](_0x7fb5a3/targetScreenRatio/Math['tan'](_0x33da49/0x2),_0x3bb290[_0x266410(0x15c)]*0x2);let _0x30c81d=_0x3bb290[_0x266410(0x16a)][_0x266410(0x1b0)]();if(computeOptimalQuat){const _0x132385=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x266410(0x1ba)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x266410(0x1ba))];let _0x5e95bc=-1;for(const _0x62b09e of _0x132385){const _0x10aea4=new webgpu.Quaternion()['setFromEuler'](_0x62b09e),_0x35f331=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x10aea4),_0x4af603=_0x4a314f[_0x266410(0x1b0)]()[_0x266410(0x1af)](_0x35f331[_0x266410(0x123)](_0x244aee)),_0x20930e=this['world']['physics'][_0x266410(0x131)](_0x4af603,_0x4a314f,exports.CollisionChannel['Visibility']);let _0x51752e=![],_0x1e771d=_0x244aee;_0x20930e&&_0x20930e['blocking']&&(_0x20930e[_0x266410(0x130)]<_0x244aee-_0x7fb5a3*1.2&&(_0x51752e=!![],_0x1e771d=_0x20930e[_0x266410(0x130)]));if(!_0x51752e){_0x30c81d=_0x10aea4;break;}else _0x1e771d>_0x5e95bc&&(_0x5e95bc=_0x1e771d,_0x30c81d=_0x10aea4);}}const _0x487232=_0x30c81d;this[_0x266410(0x135)](_0x4a314f,_0x487232,_0x244aee,_0x2643a6,onGoing,onFinished);}else {const _0x1badc9=_0x2a563d[_0x266410(0x167)]()*1.5,_0xc9f12f=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x266410(0x135)](_0x4a314f,_0xc9f12f,_0x1badc9,_0x2643a6,onGoing,onFinished);}}['focusToObject'](_0x1e9bef,_0x33f1c7,_0x4b1b84={}){const _0x1d91d5=_0x25ac4a,_0x8a2f6c=new webgpu.Box3()['setFromObject'](_0x1e9bef);this[_0x1d91d5(0x143)](_0x8a2f6c,_0x33f1c7,_0x4b1b84);}}
|
|
93
93
|
|
|
94
|
-
function
|
|
94
|
+
function _0x5b1b(_0x1e0d1a,_0x20351a){_0x1e0d1a=_0x1e0d1a-0xe1;const _0x350245=_0x3502();let _0x5b1bee=_0x350245[_0x1e0d1a];return _0x5b1bee;}const _0x1cf986=_0x5b1b;(function(_0x4be6c1,_0x17b0a6){const _0x58762b=_0x5b1b,_0x34dbe0=_0x4be6c1();while(!![]){try{const _0x2fd6fc=-parseInt(_0x58762b(0xe8))/0x1*(parseInt(_0x58762b(0xee))/0x2)+parseInt(_0x58762b(0xe4))/0x3+parseInt(_0x58762b(0xe2))/0x4+-parseInt(_0x58762b(0xf7))/0x5+-parseInt(_0x58762b(0xf5))/0x6+parseInt(_0x58762b(0xfa))/0x7*(-parseInt(_0x58762b(0xe5))/0x8)+parseInt(_0x58762b(0xe1))/0x9*(parseInt(_0x58762b(0xf8))/0xa);if(_0x2fd6fc===_0x17b0a6)break;else _0x34dbe0['push'](_0x34dbe0['shift']());}catch(_0x8491a7){_0x34dbe0['push'](_0x34dbe0['shift']());}}}(_0x3502,0x81940));function _0x3502(){const _0x1eafe7=['292YWOjOT','near','Invalid\x20camera\x20type','top','far','Orthographic','5584VxopOQ','bottom','Perspective','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','createCamera','left','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','3152826IwwMvT','type','770505mvhkmF','10EnfCrN','aspect','168rvTlJc','16877997MsOlkX','325328TdwqWM','warn','1976529NxJYBK','196640HXSYAP','fov','right'];_0x3502=function(){return _0x1eafe7;};return _0x3502();}class CameraFactory{static[_0x1cf986(0xf2)](_0x458fbe){const _0x20a0ba=_0x1cf986;try{switch(_0x458fbe[_0x20a0ba(0xf6)]){case _0x20a0ba(0xf0):{let _0x10d550=_0x458fbe;return new webgpu.PerspectiveCamera(_0x10d550[_0x20a0ba(0xe6)],_0x10d550[_0x20a0ba(0xf9)],_0x10d550[_0x20a0ba(0xe9)],_0x10d550[_0x20a0ba(0xec)]);}case _0x20a0ba(0xed):{let _0x4d1eea=_0x458fbe;return new webgpu.OrthographicCamera(_0x4d1eea[_0x20a0ba(0xf3)],_0x4d1eea['right'],_0x4d1eea[_0x20a0ba(0xeb)],_0x4d1eea[_0x20a0ba(0xef)],_0x4d1eea[_0x20a0ba(0xe9)],_0x4d1eea[_0x20a0ba(0xec)]);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x177ba0){return console[_0x20a0ba(0xe3)](_0x20a0ba(0xf1),_0x177ba0),console[_0x20a0ba(0xe3)]('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static['updataCamera'](_0x3f51a8,_0xf85c91){const _0x431606=_0x1cf986;try{switch(_0x3f51a8[_0x431606(0xf6)]){case _0x431606(0xf0):{let _0x2a6d85=_0x3f51a8;if(_0xf85c91 instanceof webgpu.PerspectiveCamera)return _0xf85c91[_0x431606(0xe9)]=_0x2a6d85[_0x431606(0xe9)],_0xf85c91['far']=_0x2a6d85['far'],_0xf85c91[_0x431606(0xe6)]=_0x2a6d85[_0x431606(0xe6)],_0xf85c91[_0x431606(0xf9)]=_0x2a6d85[_0x431606(0xf9)],_0xf85c91;return new webgpu.PerspectiveCamera(_0x2a6d85[_0x431606(0xe6)],_0x2a6d85[_0x431606(0xf9)],_0x2a6d85['near'],_0x2a6d85['far']);}case _0x431606(0xed):{let _0x3ba6f4=_0x3f51a8;if(_0xf85c91 instanceof webgpu.OrthographicCamera)return _0xf85c91['near']=_0x3ba6f4[_0x431606(0xe9)],_0xf85c91[_0x431606(0xec)]=_0x3ba6f4['far'],_0xf85c91[_0x431606(0xf3)]=_0x3ba6f4[_0x431606(0xf3)],_0xf85c91[_0x431606(0xe7)]=_0x3ba6f4['right'],_0xf85c91[_0x431606(0xeb)]=_0x3ba6f4[_0x431606(0xeb)],_0xf85c91[_0x431606(0xef)]=_0x3ba6f4[_0x431606(0xef)],_0xf85c91;return new webgpu.OrthographicCamera(_0x3ba6f4['left'],_0x3ba6f4['right'],_0x3ba6f4[_0x431606(0xeb)],_0x3ba6f4[_0x431606(0xef)],_0x3ba6f4[_0x431606(0xe9)],_0x3ba6f4['far']);}default:{throw new Error(_0x431606(0xea));}}}catch(_0x1d6e91){return console[_0x431606(0xe3)]('[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20',_0x1d6e91),console[_0x431606(0xe3)](_0x431606(0xf4)),_0xf85c91;}}}
|
|
95
95
|
|
|
96
|
-
const
|
|
96
|
+
const _0x2676af=_0xe1b9;function _0x3dd6(){const _0x5857aa=['4061742LvQkUR','5ydQJky','3561052XdOoIw','569zXBUnu','702qGdddo','29351XNdyIl','1046yymkjk','2117835CCBrkV','Orthographic','8644136VzyNRN','Perspective','stringify','7154070QNBZjk'];_0x3dd6=function(){return _0x5857aa;};return _0x3dd6();}(function(_0x464806,_0x32ae7e){const _0x5293be=_0xe1b9,_0xedc956=_0x464806();while(!![]){try{const _0x2e114c=-parseInt(_0x5293be(0xe6))/0x1*(-parseInt(_0x5293be(0xe9))/0x2)+-parseInt(_0x5293be(0xf0))/0x3+-parseInt(_0x5293be(0xf2))/0x4*(-parseInt(_0x5293be(0xf1))/0x5)+parseInt(_0x5293be(0xe7))/0x6*(-parseInt(_0x5293be(0xe8))/0x7)+parseInt(_0x5293be(0xec))/0x8+-parseInt(_0x5293be(0xea))/0x9+parseInt(_0x5293be(0xef))/0xa;if(_0x2e114c===_0x32ae7e)break;else _0xedc956['push'](_0xedc956['shift']());}catch(_0x24d2d6){_0xedc956['push'](_0xedc956['shift']());}}}(_0x3dd6,0xdcb1c));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x2676af(0xed),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x2676af(0xeb),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};function _0xe1b9(_0x2d91dc,_0x20448e){_0x2d91dc=_0x2d91dc-0xe6;const _0x3dd631=_0x3dd6();let _0xe1b9f9=_0x3dd631[_0x2d91dc];return _0xe1b9f9;}const DefaultCameraParam=JSON['parse'](JSON[_0x2676af(0xee)](DefaultPerspectiveCameraParam));
|
|
97
97
|
|
|
98
|
-
(function(
|
|
98
|
+
(function(_0x25ddae,_0x226d22){const _0x55490b=_0xa3cc,_0x37f166=_0x25ddae();while(!![]){try{const _0x36ed36=parseInt(_0x55490b(0x12a))/0x1*(-parseInt(_0x55490b(0x126))/0x2)+-parseInt(_0x55490b(0x12e))/0x3+-parseInt(_0x55490b(0x129))/0x4+-parseInt(_0x55490b(0x12c))/0x5+parseInt(_0x55490b(0x127))/0x6+-parseInt(_0x55490b(0x12b))/0x7*(parseInt(_0x55490b(0x12f))/0x8)+parseInt(_0x55490b(0x12d))/0x9*(parseInt(_0x55490b(0x128))/0xa);if(_0x36ed36===_0x226d22)break;else _0x37f166['push'](_0x37f166['shift']());}catch(_0x61f7b1){_0x37f166['push'](_0x37f166['shift']());}}}(_0x4ab9,0x6ee86));function _0xa3cc(_0x692eea,_0x35f218){_0x692eea=_0x692eea-0x126;const _0x4ab977=_0x4ab9();let _0xa3ccef=_0x4ab977[_0x692eea];return _0xa3ccef;}function _0x4ab9(){const _0x2400d5=['938036jyLNKZ','415099lWavsJ','812TfdOPf','1277300pAsICZ','3984606tkOEet','2093997nENDmI','47888qhtPKG','4kPLbFY','406092yKRAix','70lgJpFh'];_0x4ab9=function(){return _0x2400d5;};return _0x4ab9();}const DefaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
const _0x3d3e85=_0x27b8;(function(_0x44159a,_0x560b6f){const _0x2fbeb9=_0x27b8,_0x508795=_0x44159a();while(!![]){try{const _0x55e9d0=-parseInt(_0x2fbeb9(0x1e4))/0x1+-parseInt(_0x2fbeb9(0x1e2))/0x2+parseInt(_0x2fbeb9(0x1da))/0x3+parseInt(_0x2fbeb9(0x1e8))/0x4+-parseInt(_0x2fbeb9(0x1e9))/0x5+parseInt(_0x2fbeb9(0x1dd))/0x6+parseInt(_0x2fbeb9(0x1df))/0x7;if(_0x55e9d0===_0x560b6f)break;else _0x508795['push'](_0x508795['shift']());}catch(_0x3d3490){_0x508795['push'](_0x508795['shift']());}}}(_0x2e98,0x59064));function _0x2e98(){const _0x184425=['geometry','210318HnUaII','isScene','object','3087174YiWOpr','children','1379896aVNYwP','keys','isArray','917870pHByUr','material','59860xybDsy','disposeObject3DResource','dispose','isMesh','1213728IVhcrI','1008780tzLVvb','forEach','isObject3D','traverse','isTexture','disposeMaterialTextures','add','disposeMeshResource','isBufferGeometry','disposeMeshMaterial','has'];_0x2e98=function(){return _0x184425;};return _0x2e98();}function _0x27b8(_0x18f718,_0x2373ba){_0x18f718=_0x18f718-0x1d4;const _0x2e9874=_0x2e98();let _0x27b8bb=_0x2e9874[_0x18f718];return _0x27b8bb;}class ThreeObjectLibrary{static[_0x3d3e85(0x1ee)](_0x311c19){const _0xcc6e1f=_0x3d3e85,_0x37f914=new Set(),_0x26b4db=new Set(['parent',_0xcc6e1f(0x1de),_0xcc6e1f(0x1d9),'source']),_0x45baf1=_0x45fac3=>{const _0x49f28e=_0xcc6e1f;if(!_0x45fac3||typeof _0x45fac3!==_0x49f28e(0x1dc)||_0x37f914[_0x49f28e(0x1d8)](_0x45fac3))return;if(_0x45fac3[_0x49f28e(0x1eb)]||_0x45fac3[_0x49f28e(0x1db)]||_0x45fac3[_0x49f28e(0x1e7)]||_0x45fac3[_0x49f28e(0x1d6)])return;_0x37f914[_0x49f28e(0x1d4)](_0x45fac3);if(_0x49f28e(0x1ed)in _0x45fac3){_0x45fac3[_0x49f28e(0x1e6)]();return;}Object[_0x49f28e(0x1e0)](_0x45fac3)[_0x49f28e(0x1ea)](_0x1d9fd5=>{const _0x543741=_0x49f28e;if(_0x26b4db[_0x543741(0x1d8)](_0x1d9fd5))return;_0x45baf1(_0x45fac3[_0x1d9fd5]);});};Object['keys'](_0x311c19)['forEach'](_0x558de3=>{_0x45baf1(_0x311c19[_0x558de3]);});}static[_0x3d3e85(0x1d7)](_0x38a4db){const _0x74a34=_0x3d3e85;let _0x2c8bbe=Array[_0x74a34(0x1e1)](_0x38a4db[_0x74a34(0x1e3)])?_0x38a4db[_0x74a34(0x1e3)]:[_0x38a4db[_0x74a34(0x1e3)]];_0x2c8bbe[_0x74a34(0x1ea)](_0x2c4606=>{const _0x54e048=_0x74a34;ThreeObjectLibrary[_0x54e048(0x1ee)](_0x2c4606),_0x2c4606[_0x54e048(0x1e6)]();});}static[_0x3d3e85(0x1d5)](_0xc38ef8,_0x5ab36c=![]){const _0x217959=_0x3d3e85;ThreeObjectLibrary['disposeMeshMaterial'](_0xc38ef8),_0xc38ef8[_0x217959(0x1d9)]['dispose'](),_0x5ab36c&&_0xc38ef8['children'][_0x217959(0x1ea)](_0x53f918=>{_0x53f918 instanceof webgpu.Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x53f918,!![]);});}static[_0x3d3e85(0x1e5)](_0x544b8d){const _0x15ab0e=_0x3d3e85;_0x544b8d[_0x15ab0e(0x1ec)](_0xb4907c=>{const _0x1616e2=_0x15ab0e;_0xb4907c instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x1616e2(0x1d5)](_0xb4907c);});}}
|
|
101
101
|
|
|
102
|
-
function
|
|
102
|
+
function _0x2e18(_0x1d777c,_0x4a5722){_0x1d777c=_0x1d777c-0x132;var _0xf3c305=_0xf3c3();var _0x2e18fd=_0xf3c305[_0x1d777c];return _0x2e18fd;}function _0xf3c3(){var _0xd1debe=['103820Jdkcry','258320xMWhkX','obj','21390dSviQO','136ROmHIP','1983010VxKMap','5282277hyvuNR','three\x20object\x20is\x20invalid','9702084jtMgTr','9wQJTHe','89971yESeCC','306nosjuQ','24UfNIYf','LYObject','1YKjPVZ','threeObject','createDefaultObject'];_0xf3c3=function(){return _0xd1debe;};return _0xf3c3();}var _0x220383=_0x2e18;(function(_0x54fbe1,_0x392ecb){var _0x26da05=_0x2e18,_0x335c65=_0x54fbe1();while(!![]){try{var _0x289ffe=parseInt(_0x26da05(0x13e))/0x1*(parseInt(_0x26da05(0x141))/0x2)+parseInt(_0x26da05(0x13c))/0x3*(parseInt(_0x26da05(0x142))/0x4)+-parseInt(_0x26da05(0x133))/0x5*(parseInt(_0x26da05(0x13b))/0x6)+-parseInt(_0x26da05(0x13a))/0x7*(parseInt(_0x26da05(0x134))/0x8)+-parseInt(_0x26da05(0x139))/0x9*(parseInt(_0x26da05(0x135))/0xa)+-parseInt(_0x26da05(0x136))/0xb+parseInt(_0x26da05(0x138))/0xc;if(_0x289ffe===_0x392ecb)break;else _0x335c65['push'](_0x335c65['shift']());}catch(_0x1d39b5){_0x335c65['push'](_0x335c65['shift']());}}}(_0xf3c3,0x3feee));class LevelComponent extends SceneComponent{get[_0x220383(0x13f)](){var _0xe4b8c6=_0x220383;if(!this[_0xe4b8c6(0x132)])throw Error(_0xe4b8c6(0x137));return this[_0xe4b8c6(0x132)];}set['threeObject'](_0xd23474){var _0x4a1147=_0x220383;this['obj']=_0xd23474,this[_0x4a1147(0x132)]&&(this[_0x4a1147(0x132)]['userData'][_0x4a1147(0x13d)]=this);}constructor(_0x22e415,_0x4e10d6){super(_0x22e415,_0x4e10d6);}[_0x220383(0x140)](){return new three.Scene();}}
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
var _0x3b62fc=_0x46c4;(function(_0x234096,_0x46f751){var _0x253166=_0x46c4,_0x217edd=_0x234096();while(!![]){try{var _0x43bd1d=parseInt(_0x253166(0x14a))/0x1+parseInt(_0x253166(0x14e))/0x2+parseInt(_0x253166(0x155))/0x3+parseInt(_0x253166(0x157))/0x4+parseInt(_0x253166(0x14f))/0x5+-parseInt(_0x253166(0x154))/0x6*(-parseInt(_0x253166(0x144))/0x7)+parseInt(_0x253166(0x150))/0x8*(-parseInt(_0x253166(0x146))/0x9);if(_0x43bd1d===_0x46f751)break;else _0x217edd['push'](_0x217edd['shift']());}catch(_0x2ad0f4){_0x217edd['push'](_0x217edd['shift']());}}}(_0x2d87,0xdaa69));function _0x46c4(_0x1058b3,_0x571d71){_0x1058b3=_0x1058b3-0x144;var _0x2d87d5=_0x2d87();var _0x46c422=_0x2d87d5[_0x1058b3];return _0x46c422;}function _0x2d87(){var _0xa281c3=['539gQYCRn','traverse','369ERDbhj','scene','forEach','_scene','1179473YHiHIN','childActors','rootComponent','clearLevel','664154AcuiMU','7803520djQhts','1101704mLWtMZ','isTickEnabled','app','scene\x20is\x20null','29082BVefpM','5257173rJOBcu','destroy','5375848RaxOpo','uuid'];_0x2d87=function(){return _0xa281c3;};return _0x2d87();}class LevelActor extends Actor{get[_0x3b62fc(0x147)](){var _0x15fefe=_0x3b62fc;if(!this['_scene'])throw new Error(_0x15fefe(0x153));return this[_0x15fefe(0x149)];}constructor(_0x40e758,_0x298f46){var _0x57156d=_0x3b62fc;super(_0x40e758,_0x298f46),this[_0x57156d(0x149)]=null,this['_scene']=this[_0x57156d(0x14c)]['threeObject'],this[_0x57156d(0x151)]=![];}['constructRootComponent'](){var _0x1d90b4=_0x3b62fc;return new LevelComponent(this[_0x1d90b4(0x152)],this[_0x1d90b4(0x158)]);}['tick'](_0x590c1e){if(!this['isTickEnabled'])return;super['tick'](_0x590c1e);}[_0x3b62fc(0x156)](){var _0x1eb224=_0x3b62fc;this[_0x1eb224(0x14d)](),super[_0x1eb224(0x156)]();}[_0x3b62fc(0x14d)](){var _0x2c73dd=_0x3b62fc;this[_0x2c73dd(0x14b)][_0x2c73dd(0x148)](_0x1f03c6=>{var _0x4bec10=_0x2c73dd;_0x1f03c6[_0x4bec10(0x156)]();}),this[_0x2c73dd(0x147)][_0x2c73dd(0x145)](_0x657a88=>{_0x657a88 instanceof webgpu.Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x657a88);});}}
|
|
105
105
|
|
|
106
|
-
function
|
|
106
|
+
function _0xc027(_0x51a9dd,_0x434ffe){_0x51a9dd=_0x51a9dd-0x18b;const _0x673884=_0x6738();let _0xc027b3=_0x673884[_0x51a9dd];return _0xc027b3;}(function(_0x236d57,_0x51c436){const _0x14bf28=_0xc027,_0x4c84d5=_0x236d57();while(!![]){try{const _0x3fd67d=parseInt(_0x14bf28(0x194))/0x1*(-parseInt(_0x14bf28(0x191))/0x2)+parseInt(_0x14bf28(0x18c))/0x3+-parseInt(_0x14bf28(0x190))/0x4+-parseInt(_0x14bf28(0x18b))/0x5+parseInt(_0x14bf28(0x18d))/0x6+-parseInt(_0x14bf28(0x193))/0x7*(parseInt(_0x14bf28(0x192))/0x8)+-parseInt(_0x14bf28(0x18e))/0x9*(-parseInt(_0x14bf28(0x18f))/0xa);if(_0x3fd67d===_0x51c436)break;else _0x4c84d5['push'](_0x4c84d5['shift']());}catch(_0x5d12df){_0x4c84d5['push'](_0x4c84d5['shift']());}}}(_0x6738,0x9daf9));function _0x6738(){const _0x3f520b=['76iiemXq','40vCgmYi','453901piGunQ','5726acasbu','4323310DDOLen','2483004ioHhku','6545802gCdFzJ','9eOOCry','1939350BnpkbP','240896AHyIap'];_0x6738=function(){return _0x3f520b;};return _0x6738();}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
const _0x3da851=_0x1b38;(function(_0x45723c,_0x174de){const _0x963e7a=_0x1b38,_0x4027f3=_0x45723c();while(!![]){try{const _0x1d06fe=-parseInt(_0x963e7a(0x153))/0x1*(-parseInt(_0x963e7a(0x148))/0x2)+-parseInt(_0x963e7a(0x158))/0x3*(-parseInt(_0x963e7a(0x167))/0x4)+parseInt(_0x963e7a(0x173))/0x5+-parseInt(_0x963e7a(0x15d))/0x6*(-parseInt(_0x963e7a(0x172))/0x7)+-parseInt(_0x963e7a(0x171))/0x8*(parseInt(_0x963e7a(0x159))/0x9)+-parseInt(_0x963e7a(0x150))/0xa+parseInt(_0x963e7a(0x17e))/0xb;if(_0x1d06fe===_0x174de)break;else _0x4027f3['push'](_0x4027f3['shift']());}catch(_0x1ecd99){_0x4027f3['push'](_0x4027f3['shift']());}}}(_0x1058,0x5a31f));function _0x1b38(_0x1488cf,_0x4830a2){_0x1488cf=_0x1488cf-0x148;const _0x105863=_0x1058();let _0x1b3851=_0x105863[_0x1488cf];return _0x1b3851;}function _0x1058(){const _0xccbbb0=['log','cameraParam','update','3656bIyCaT','7eSejoI','1708080dhVuiq','onWindowResize','viewportParam','_camera','tick','_tickingFunctions','onCameraChangedDelegate','forEach','postConstruct','updateCamera','aspect','89903guyynC','6BjTuYF','_isTickPaused','camera','renderAsImage','world','dispose','_assetManager','_world','3495640qzyAeJ','_viewport','_controller','140181PgQSEE','updateProjectionMatrix','setTickPaused','renderer','controllerClass','93vvLlhy','8577ftRNIW','classes','splice','setAnimationLoop','1556502ffBZCz','assetManagerClass','controller','markRenderStateDirty','render','clear','_clock','assetManager','viewport','init','16100PlsQMz','updataCamera','worldParam','indexOf','destroy','removeTickingFunction','_onCameraChangedDelegate'];_0x1058=function(){return _0xccbbb0;};return _0x1058();}class ThreeJsApp{get[_0x3da851(0x14a)](){const _0x5258d6=_0x3da851;return this[_0x5258d6(0x176)];}get['clock'](){const _0x16c91d=_0x3da851;return this[_0x16c91d(0x163)];}get[_0x3da851(0x14c)](){const _0x49ea55=_0x3da851;return this[_0x49ea55(0x14f)];}get[_0x3da851(0x165)](){const _0x4017af=_0x3da851;return this[_0x4017af(0x151)];}get[_0x3da851(0x15f)](){const _0x2f2c08=_0x3da851;return this[_0x2f2c08(0x152)];}get[_0x3da851(0x164)](){const _0x450063=_0x3da851;return this[_0x450063(0x14e)];}get['onCameraChangedDelegate'](){const _0x2cade9=_0x3da851;return this[_0x2cade9(0x16d)];}constructor(_0x27b248=DefaultAppParam){const _0x49e51b=_0x3da851;var _0x481c61,_0x45d5cd,_0x607a28,_0xb2e4a6;this['_tickingFunctions']=[],this[_0x49e51b(0x149)]=![],this['_onCameraChangedDelegate']=new Delegate();const _0x277119=(_0x481c61=_0x27b248[_0x49e51b(0x16f)])!==null&&_0x481c61!==void 0?_0x481c61:DefaultCameraParam,_0x2dc9bb=(_0x45d5cd=_0x27b248[_0x49e51b(0x169)])!==null&&_0x45d5cd!==void 0?_0x45d5cd:DefaultWorldParam,_0xc25118=(_0x607a28=_0x27b248[_0x49e51b(0x175)])!==null&&_0x607a28!==void 0?_0x607a28:DefaultViewportParam,_0x2db2e6=(_0xb2e4a6=_0x27b248[_0x49e51b(0x15a)])!==null&&_0xb2e4a6!==void 0?_0xb2e4a6:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x49e51b(0x163)]=new webgpu.Timer(),this[_0x49e51b(0x176)]=CameraFactory['createCamera'](_0x277119),this[_0x49e51b(0x14f)]=new _0x2db2e6['worldClass'](this,_0x2dc9bb),this[_0x49e51b(0x151)]=new _0x2db2e6['viewportClass'](this,_0xc25118),this[_0x49e51b(0x152)]=new _0x2db2e6[(_0x49e51b(0x157))](this),this[_0x49e51b(0x14e)]=new _0x2db2e6[(_0x49e51b(0x15e))](this,_0x27b248['dracoPath']),this[_0x49e51b(0x165)][_0x49e51b(0x156)][_0x49e51b(0x15c)](()=>{const _0x2cc132=_0x49e51b;this['_clock'][_0x2cc132(0x170)]();const _0x2b7f5f=this[_0x2cc132(0x163)]['getDelta']();this[_0x2cc132(0x177)](_0x2b7f5f);}),this[_0x49e51b(0x17b)]();}['postConstruct'](){const _0x36b419=_0x3da851;this['controller'][_0x36b419(0x166)](),this[_0x36b419(0x14c)][_0x36b419(0x166)](),this[_0x36b419(0x165)][_0x36b419(0x166)]();}[_0x3da851(0x166)](){}[_0x3da851(0x177)](_0x26c5a2){const _0x2ca33b=_0x3da851;if(this[_0x2ca33b(0x149)])return;this[_0x2ca33b(0x152)][_0x2ca33b(0x177)](_0x26c5a2),this[_0x2ca33b(0x14c)][_0x2ca33b(0x177)](_0x26c5a2),this[_0x2ca33b(0x178)][_0x2ca33b(0x17a)](_0xd0c082=>{_0xd0c082(_0x26c5a2);}),this[_0x2ca33b(0x165)][_0x2ca33b(0x160)](),this[_0x2ca33b(0x165)][_0x2ca33b(0x161)]();}[_0x3da851(0x155)](_0x4544d4){const _0x15b823=_0x3da851;console[_0x15b823(0x16e)](_0x15b823(0x155),_0x4544d4),this[_0x15b823(0x149)]=_0x4544d4;}['addTickingFunction'](_0x2cfefe){const _0x274f49=_0x3da851;this[_0x274f49(0x178)]['push'](_0x2cfefe);}[_0x3da851(0x16c)](_0x489c3d){const _0x30d466=_0x3da851,_0x321a89=this[_0x30d466(0x178)][_0x30d466(0x16a)](_0x489c3d);_0x321a89>=0x0&&this[_0x30d466(0x178)][_0x30d466(0x15b)](_0x321a89,0x1);}[_0x3da851(0x16b)](){const _0x5cdc76=_0x3da851;this[_0x5cdc76(0x179)][_0x5cdc76(0x162)](),this[_0x5cdc76(0x15f)][_0x5cdc76(0x16b)](),this[_0x5cdc76(0x14c)][_0x5cdc76(0x16b)](),this[_0x5cdc76(0x14e)][_0x5cdc76(0x14d)](),this['viewport'][_0x5cdc76(0x16b)]();}[_0x3da851(0x17c)](_0x378576){const _0xb74198=_0x3da851,_0x5f4c2e=this[_0xb74198(0x14a)];this[_0xb74198(0x176)]=CameraFactory[_0xb74198(0x168)](_0x378576,this[_0xb74198(0x14a)]),_0x5f4c2e!==this[_0xb74198(0x14a)]&&(this[_0xb74198(0x16d)]['broadcast'](),this[_0xb74198(0x15f)][_0xb74198(0x17c)]()),this[_0xb74198(0x176)][_0xb74198(0x154)](),this[_0xb74198(0x165)][_0xb74198(0x160)]();}[_0x3da851(0x174)](_0x4dad1c,_0x52daa5){const _0x27867c=_0x3da851;this[_0x27867c(0x14a)]instanceof webgpu.PerspectiveCamera&&(this['camera'][_0x27867c(0x17d)]=_0x4dad1c/_0x52daa5),this[_0x27867c(0x14a)][_0x27867c(0x154)]();}async['renderAsImage'](_0x50abaa=0x400,_0x1c3a4a=0x400){const _0x25ee3c=_0x3da851;return await this[_0x25ee3c(0x165)][_0x25ee3c(0x14b)](_0x50abaa,_0x1c3a4a);}}
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _0x1cc78d=_0x22b1;(function(_0x444ca4,_0x58721c){var _0x12aca8=_0x22b1,_0x27f55f=_0x444ca4();while(!![]){try{var _0x340d4=-parseInt(_0x12aca8(0x1b9))/0x1*(-parseInt(_0x12aca8(0x1b6))/0x2)+-parseInt(_0x12aca8(0x1a8))/0x3+-parseInt(_0x12aca8(0x1ae))/0x4*(-parseInt(_0x12aca8(0x1b0))/0x5)+parseInt(_0x12aca8(0x1a6))/0x6*(-parseInt(_0x12aca8(0x1b4))/0x7)+parseInt(_0x12aca8(0x1ac))/0x8*(-parseInt(_0x12aca8(0x1a7))/0x9)+parseInt(_0x12aca8(0x1ab))/0xa*(-parseInt(_0x12aca8(0x1b8))/0xb)+parseInt(_0x12aca8(0x1b2))/0xc;if(_0x340d4===_0x58721c)break;else _0x27f55f['push'](_0x27f55f['shift']());}catch(_0x4968fe){_0x27f55f['push'](_0x27f55f['shift']());}}}(_0x5e50,0x7f90c));function _0x22b1(_0xe5ce47,_0x4f15ff){_0xe5ce47=_0xe5ce47-0x1a6;var _0x5e5094=_0x5e50();var _0x22b11d=_0x5e5094[_0xe5ce47];return _0x22b11d;}function _0x5e50(){var _0x30a48e=['set','three\x20object\x20is\x20invalid','3040670XByhDn','3583688vOayBg','threeObject','385960keqGwS','LYObject','15lJIczI','color','28453296sNehls','getHex','14OEpNjr','intensity','4aTSQxT','obj','11NdDHpU','376199ekzpdP','2899464NLrdam','18GOhToq','2171973MLxtfC'];_0x5e50=function(){return _0x30a48e;};return _0x5e50();}class LightComponent extends SceneComponent{get[_0x1cc78d(0x1ad)](){var _0x411194=_0x1cc78d;if(!this['obj'])throw Error(_0x411194(0x1aa));return this[_0x411194(0x1b7)];}set[_0x1cc78d(0x1ad)](_0x3f79f7){var _0x2ec5e4=_0x1cc78d;this[_0x2ec5e4(0x1b7)]=_0x3f79f7,this[_0x2ec5e4(0x1b7)]&&(this[_0x2ec5e4(0x1b7)]['userData'][_0x2ec5e4(0x1af)]=this);}get[_0x1cc78d(0x1b1)](){var _0x39c0aa=_0x1cc78d;return this[_0x39c0aa(0x1ad)][_0x39c0aa(0x1b1)][_0x39c0aa(0x1b3)]();}set[_0x1cc78d(0x1b1)](_0x333b54){var _0x38abf1=_0x1cc78d;this[_0x38abf1(0x1ad)][_0x38abf1(0x1b1)][_0x38abf1(0x1a9)](_0x333b54);}get['intensity'](){var _0x469cad=_0x1cc78d;return this['threeObject'][_0x469cad(0x1b5)];}set[_0x1cc78d(0x1b5)](_0x24b719){var _0x398774=_0x1cc78d;this[_0x398774(0x1ad)][_0x398774(0x1b5)]=_0x24b719;}constructor(_0x33fc10,_0x20a76c){super(_0x33fc10,_0x20a76c);}}
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
var _0x4bdd33=_0x11c6;(function(_0x1179bd,_0x3698a5){var _0x50dde0=_0x11c6,_0x11f9ea=_0x1179bd();while(!![]){try{var _0x131a77=-parseInt(_0x50dde0(0xe9))/0x1*(parseInt(_0x50dde0(0xed))/0x2)+-parseInt(_0x50dde0(0xfa))/0x3*(parseInt(_0x50dde0(0xe7))/0x4)+parseInt(_0x50dde0(0xef))/0x5*(-parseInt(_0x50dde0(0xf5))/0x6)+-parseInt(_0x50dde0(0xe2))/0x7+parseInt(_0x50dde0(0xeb))/0x8*(-parseInt(_0x50dde0(0xf4))/0x9)+-parseInt(_0x50dde0(0xe6))/0xa*(-parseInt(_0x50dde0(0xf2))/0xb)+-parseInt(_0x50dde0(0xf8))/0xc*(-parseInt(_0x50dde0(0xe4))/0xd);if(_0x131a77===_0x3698a5)break;else _0x11f9ea['push'](_0x11f9ea['shift']());}catch(_0x5f0202){_0x11f9ea['push'](_0x11f9ea['shift']());}}}(_0xe208,0xf15ce));function _0x11c6(_0xbfda27,_0x2f0dc6){_0xbfda27=_0xbfda27-0xe2;var _0xe20852=_0xe208();var _0x11c6bd=_0xe20852[_0xbfda27];return _0x11c6bd;}function _0xe208(){var _0x4118aa=['set','95030epCQTf','color','26730WPHqJt','threeObject','update','2111659sPMHFL','setPosition','11277mhANYS','36MyAFMX','obj','markRenderStateDirty','48252RULTxp','onAddedToWorld','78krvpDY','world','castShadow','LYObject','7424368WXqFmO','destroy','17953aogQwB','three\x20object\x20is\x20invalid','20hKaBuh','169724KVfCub','viewport','17EmikAh','userData','12416uKfyUZ'];_0xe208=function(){return _0x4118aa;};return _0xe208();}class DirectionalLightComponent extends LightComponent{get[_0x4bdd33(0xf0)](){var _0x2b9319=_0x4bdd33;if(!this[_0x2b9319(0xf6)])throw Error(_0x2b9319(0xe5));return this[_0x2b9319(0xf6)];}set[_0x4bdd33(0xf0)](_0x2bf593){var _0x42e462=_0x4bdd33;this[_0x42e462(0xf6)]=_0x2bf593,this[_0x42e462(0xf6)]&&(this[_0x42e462(0xf6)][_0x42e462(0xea)][_0x42e462(0xfd)]=this);}get[_0x4bdd33(0xfc)](){var _0x39bebd=_0x4bdd33;return this[_0x39bebd(0xf0)][_0x39bebd(0xfc)];}set['castShadow'](_0x2a175a){var _0x3a6955=_0x4bdd33;this[_0x3a6955(0xf0)]['castShadow']=_0x2a175a;}constructor(_0x55eeca,_0x6663cc=0xffffff,_0x43971f=0xa,_0x588d99){var _0x5b97cd=_0x4bdd33;super(_0x55eeca,_0x588d99),this[_0x5b97cd(0xf0)][_0x5b97cd(0xee)][_0x5b97cd(0xec)](_0x6663cc),this[_0x5b97cd(0xf0)]['intensity']=_0x43971f;}['createDefaultObject'](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x4bdd33(0xf3)](..._0x13cc74){var _0x5b37a5=_0x4bdd33;_0x13cc74['length']===0x1?super[_0x5b37a5(0xf3)](_0x13cc74[0x0]):super[_0x5b37a5(0xf3)](_0x13cc74[0x0],_0x13cc74[0x1],_0x13cc74[0x2]),this['update']();}[_0x4bdd33(0xf1)](){var _0x592631=_0x4bdd33;if(this[_0x592631(0xfb)])this[_0x592631(0xfb)][_0x592631(0xe8)][_0x592631(0xf7)]();}[_0x4bdd33(0xf9)](_0x3b8a0b){var _0x27d112=_0x4bdd33;if(!this[_0x27d112(0xf0)])throw Error(_0x27d112(0xe5));super[_0x27d112(0xf9)](_0x3b8a0b);}[_0x4bdd33(0xe3)](){var _0x3c510d=_0x4bdd33;super[_0x3c510d(0xe3)]();}}
|
|
113
113
|
|
|
114
|
-
function
|
|
114
|
+
function _0x1687(_0x4ff375,_0x39ea2f){_0x4ff375=_0x4ff375-0x16c;var _0x3b5cb1=_0x3b5c();var _0x1687db=_0x3b5cb1[_0x4ff375];return _0x1687db;}var _0x61a719=_0x1687;(function(_0x490da7,_0x379137){var _0x1c719a=_0x1687,_0xc96b02=_0x490da7();while(!![]){try{var _0x3cc53a=-parseInt(_0x1c719a(0x173))/0x1*(-parseInt(_0x1c719a(0x17f))/0x2)+parseInt(_0x1c719a(0x17b))/0x3*(parseInt(_0x1c719a(0x175))/0x4)+-parseInt(_0x1c719a(0x179))/0x5*(-parseInt(_0x1c719a(0x17e))/0x6)+-parseInt(_0x1c719a(0x17c))/0x7*(parseInt(_0x1c719a(0x170))/0x8)+parseInt(_0x1c719a(0x16c))/0x9*(parseInt(_0x1c719a(0x172))/0xa)+parseInt(_0x1c719a(0x17d))/0xb+-parseInt(_0x1c719a(0x16e))/0xc*(parseInt(_0x1c719a(0x177))/0xd);if(_0x3cc53a===_0x379137)break;else _0xc96b02['push'](_0xc96b02['shift']());}catch(_0x308024){_0xc96b02['push'](_0xc96b02['shift']());}}}(_0x3b5c,0xbe198));function _0x3b5c(){var _0x3caf93=['7209397wtPuyB','castShadow','5avihdh','lightComponent','183OJhkdd','493087FiorqM','1274614KIzuGy','7093806wfCmHk','4KAnIzU','50238tAqInZ','intensity','60uZYZhm','color','8MqVWvP','rootComponent','1060LczAPG','321029nZTiMo','constructRootComponent','71476GCgiAh','app'];_0x3b5c=function(){return _0x3caf93;};return _0x3b5c();}class DirectionalLightActor extends Actor{constructor(_0x17bfbb,_0x24a741=0xffffff,_0x21da9f=0x1,_0x1d2bb5){var _0x3be226=_0x1687;super(_0x17bfbb,_0x1d2bb5),this[_0x3be226(0x17a)]=null,this[_0x3be226(0x17a)]=this[_0x3be226(0x171)],this['lightComponent']&&(this[_0x3be226(0x17a)][_0x3be226(0x16f)]=_0x24a741,this[_0x3be226(0x17a)][_0x3be226(0x16d)]=_0x21da9f,this[_0x3be226(0x17a)]['castShadow']=!![]),this['lightComponent'][_0x3be226(0x178)]=!![];}[_0x61a719(0x174)](){var _0x212831=_0x61a719;return new DirectionalLightComponent(this[_0x212831(0x176)]);}}
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _0x5d6729=_0x4564;function _0x4564(_0x3e7c7e,_0x29505d){_0x3e7c7e=_0x3e7c7e-0xf8;var _0x2c6128=_0x2c61();var _0x456451=_0x2c6128[_0x3e7c7e];return _0x456451;}(function(_0x4dff92,_0x39903d){var _0x4d5461=_0x4564,_0x1fea00=_0x4dff92();while(!![]){try{var _0x5bf01f=-parseInt(_0x4d5461(0x108))/0x1*(parseInt(_0x4d5461(0xfa))/0x2)+parseInt(_0x4d5461(0x107))/0x3*(-parseInt(_0x4d5461(0xff))/0x4)+-parseInt(_0x4d5461(0xf8))/0x5+parseInt(_0x4d5461(0x101))/0x6+parseInt(_0x4d5461(0x106))/0x7*(parseInt(_0x4d5461(0xf9))/0x8)+parseInt(_0x4d5461(0x109))/0x9*(parseInt(_0x4d5461(0xfd))/0xa)+-parseInt(_0x4d5461(0x10c))/0xb;if(_0x5bf01f===_0x39903d)break;else _0x1fea00['push'](_0x1fea00['shift']());}catch(_0x40319c){_0x1fea00['push'](_0x1fea00['shift']());}}}(_0x2c61,0xe9c5f));function _0x2c61(){var _0xea76e4=['2638910oYfJjs','threeObject','setPosition','20WpLomL','obj','456408lXrnym','update','9475206IUiLAM','color','three\x20object\x20is\x20invalid','markRenderStateDirty','castShadow','7RNgmhM','24lgzhit','1OBkFch','6811164nJKrLx','LYObject','userData','8166917TeDGwT','onAddedToWorld','world','createDefaultObject','set','1246480XaFMjq','8710048aPNCSN'];_0x2c61=function(){return _0xea76e4;};return _0x2c61();}class AmbientLightComponent extends LightComponent{get[_0x5d6729(0xfb)](){var _0x2fa970=_0x5d6729;if(!this[_0x2fa970(0xfe)])throw Error('three\x20object\x20is\x20invalid');return this['obj'];}set['threeObject'](_0x7d746e){var _0x2fe89c=_0x5d6729;this[_0x2fe89c(0xfe)]=_0x7d746e,this[_0x2fe89c(0xfe)]&&(this[_0x2fe89c(0xfe)][_0x2fe89c(0x10b)][_0x2fe89c(0x10a)]=this);}get['castShadow'](){var _0x4eac4b=_0x5d6729;return this[_0x4eac4b(0xfb)][_0x4eac4b(0x105)];}set['castShadow'](_0x5b44ce){var _0x21ff4f=_0x5d6729;this[_0x21ff4f(0xfb)]['castShadow']=_0x5b44ce;}constructor(_0x33e2a6,_0x3ae42e=0xffffff,_0x2cfc58=0xa,_0x4cd6e6){var _0x261eaa=_0x5d6729;super(_0x33e2a6,_0x4cd6e6),this[_0x261eaa(0xfb)][_0x261eaa(0x102)][_0x261eaa(0x110)](_0x3ae42e),this[_0x261eaa(0xfb)]['intensity']=_0x2cfc58;}[_0x5d6729(0x10f)](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x5d6729(0xfc)](..._0x32e0d0){var _0x28afc7=_0x5d6729;_0x32e0d0['length']===0x1?super[_0x28afc7(0xfc)](_0x32e0d0[0x0]):super[_0x28afc7(0xfc)](_0x32e0d0[0x0],_0x32e0d0[0x1],_0x32e0d0[0x2]),this[_0x28afc7(0x100)]();}[_0x5d6729(0x100)](){var _0x3cc852=_0x5d6729;if(this[_0x3cc852(0x10e)])this[_0x3cc852(0x10e)]['viewport'][_0x3cc852(0x104)]();}[_0x5d6729(0x10d)](_0x41ca57){var _0x3194c9=_0x5d6729;if(!this[_0x3194c9(0xfb)])throw Error(_0x3194c9(0x103));super[_0x3194c9(0x10d)](_0x41ca57);}['destroy'](){super['destroy']();}}
|
|
117
117
|
|
|
118
|
-
(function(
|
|
118
|
+
function _0x28b2(){var _0x284b01=['388AqEnMG','1352834kjPhgJ','constructRootComponent','rootComponent','6XbXdYr','1353455CEGMLq','13390032ZVnuWB','5lITObB','castShadow','3893517ITgxtS','19891223YSEVlj','12lLNMhO','lightComponent','14325WAUFvw','app','intensity','10dEpiVq','7486420xgrSnq'];_0x28b2=function(){return _0x284b01;};return _0x28b2();}var _0xe2a2a2=_0x538c;(function(_0x5c1518,_0x1cefcc){var _0x29f7f5=_0x538c,_0x4c6a12=_0x5c1518();while(!![]){try{var _0x3530df=-parseInt(_0x29f7f5(0x1d2))/0x1+-parseInt(_0x29f7f5(0x1cd))/0x2*(-parseInt(_0x29f7f5(0x1da))/0x3)+parseInt(_0x29f7f5(0x1de))/0x4*(-parseInt(_0x29f7f5(0x1d4))/0x5)+parseInt(_0x29f7f5(0x1d1))/0x6*(parseInt(_0x29f7f5(0x1ce))/0x7)+parseInt(_0x29f7f5(0x1d3))/0x8+-parseInt(_0x29f7f5(0x1d6))/0x9*(parseInt(_0x29f7f5(0x1dd))/0xa)+parseInt(_0x29f7f5(0x1d7))/0xb*(parseInt(_0x29f7f5(0x1d8))/0xc);if(_0x3530df===_0x1cefcc)break;else _0x4c6a12['push'](_0x4c6a12['shift']());}catch(_0x4c901c){_0x4c6a12['push'](_0x4c6a12['shift']());}}}(_0x28b2,0xe6772));function _0x538c(_0x55f412,_0xe9d6a1){_0x55f412=_0x55f412-0x1cd;var _0x28b273=_0x28b2();var _0x538c82=_0x28b273[_0x55f412];return _0x538c82;}class AmbientLightActor extends Actor{constructor(_0x3f6fce,_0x5bfeeb=0xffffff,_0x57b832=0x1,_0x30b109){var _0xe76f1=_0x538c;super(_0x3f6fce,_0x30b109),this[_0xe76f1(0x1d9)]=null,this[_0xe76f1(0x1d9)]=this[_0xe76f1(0x1d0)],this['lightComponent']&&(this[_0xe76f1(0x1d9)]['color']=_0x5bfeeb,this[_0xe76f1(0x1d9)][_0xe76f1(0x1dc)]=_0x57b832,this['lightComponent'][_0xe76f1(0x1d5)]=!![]),this['lightComponent']['castShadow']=!![];}[_0xe2a2a2(0x1cf)](){var _0x32288d=_0xe2a2a2;return new AmbientLightComponent(this[_0x32288d(0x1db)]);}}
|
|
119
119
|
|
|
120
|
-
(function(
|
|
120
|
+
function _0x25db(_0x2415ee,_0x108bec){_0x2415ee=_0x2415ee-0xe0;var _0x407656=_0x4076();var _0x25db2b=_0x407656[_0x2415ee];return _0x25db2b;}(function(_0x715255,_0x2d30db){var _0x156c8d=_0x25db,_0x5235ad=_0x715255();while(!![]){try{var _0x307b40=parseInt(_0x156c8d(0xe9))/0x1*(parseInt(_0x156c8d(0xe5))/0x2)+parseInt(_0x156c8d(0xe7))/0x3+parseInt(_0x156c8d(0xe8))/0x4+-parseInt(_0x156c8d(0xe1))/0x5*(parseInt(_0x156c8d(0xe2))/0x6)+-parseInt(_0x156c8d(0xe0))/0x7+-parseInt(_0x156c8d(0xe3))/0x8*(-parseInt(_0x156c8d(0xe6))/0x9)+-parseInt(_0x156c8d(0xe4))/0xa;if(_0x307b40===_0x2d30db)break;else _0x5235ad['push'](_0x5235ad['shift']());}catch(_0x50ffab){_0x5235ad['push'](_0x5235ad['shift']());}}}(_0x4076,0x69916));class BoxComponent extends MeshComponent{constructor(_0x342b63,_0x2b86ad=0x1,_0x5e442a=0x1,_0x4277a1=0x1,_0x2581ec=0x1,_0x768043=0x1,_0x5cef54=0x1,_0x492cfd=new webgpu.MeshStandardMaterial(),_0x54bca3){super(_0x342b63,new webgpu.BoxGeometry(_0x2b86ad,_0x5e442a,_0x4277a1,_0x2581ec,_0x768043,_0x5cef54),_0x492cfd,_0x54bca3);}}function _0x4076(){var _0x3c1682=['5335FJIoOS','156XEVJaA','38856HClxSp','17239680rToDpu','2UmiIJp','1584GGmzjx','2083368kLkAkT','1472848jbkpLX','318599emihUh','363881qCZhCU'];_0x4076=function(){return _0x3c1682;};return _0x4076();}
|
|
121
121
|
|
|
122
|
-
function
|
|
122
|
+
function _0x57e3(_0x5b1113,_0x2b4fcd){_0x5b1113=_0x5b1113-0x1d2;var _0x37b36c=_0x37b3();var _0x57e3fc=_0x37b36c[_0x5b1113];return _0x57e3fc;}(function(_0x19bc97,_0x4145b8){var _0x8fc545=_0x57e3,_0xc7165c=_0x19bc97();while(!![]){try{var _0xf5efce=parseInt(_0x8fc545(0x1dc))/0x1+parseInt(_0x8fc545(0x1d8))/0x2*(parseInt(_0x8fc545(0x1d6))/0x3)+-parseInt(_0x8fc545(0x1d7))/0x4+parseInt(_0x8fc545(0x1d9))/0x5+-parseInt(_0x8fc545(0x1da))/0x6*(parseInt(_0x8fc545(0x1d3))/0x7)+-parseInt(_0x8fc545(0x1db))/0x8*(parseInt(_0x8fc545(0x1d2))/0x9)+-parseInt(_0x8fc545(0x1d5))/0xa;if(_0xf5efce===_0x4145b8)break;else _0xc7165c['push'](_0xc7165c['shift']());}catch(_0x52b365){_0xc7165c['push'](_0xc7165c['shift']());}}}(_0x37b3,0xb58df));function _0x37b3(){var _0x22439c=['8008suVzZT','7127900IfeWVj','18EuLWIA','8YwqJOf','538906CyVxqS','2793492cJVUCJ','2068087LkgUlr','app','5155780nfsgfa','672QHxoxc','1621784wfskgA'];_0x37b3=function(){return _0x22439c;};return _0x37b3();}class BoxActor extends Actor{constructor(_0xb89a47,_0x2c8cac){super(_0xb89a47,_0x2c8cac);}['constructRootComponent'](){var _0x5d0239=_0x57e3;return new BoxComponent(this[_0x5d0239(0x1d4)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this['uuid']);}}
|
|
123
123
|
|
|
124
|
-
const
|
|
124
|
+
const _0x1e3eec=_0x2cc5;function _0x5f4d(){const _0x378423=['value','degToRad','obj','azimuth','8093652wVFcla','createDefaultObject','updateSky','turbidity','mieCoefficient','destroyObject','markRenderStateDirty','6Kdqsds','17SUjRvz','mieDirectionalG','44vUraKJ','5332YHFWVY','userData','rayleigh','976156SnHHiG','skyParam','433332WMoaNH','3731868EDFAkw','elevation','sunPosition','LYObject','threeObject','disposeMeshResource','654cgiWCF','three\x20object\x20is\x20invalid','112kSJmDf','6093590XfpxKY','2410LvRBLN'];_0x5f4d=function(){return _0x378423;};return _0x5f4d();}(function(_0x53e5d7,_0x2e7625){const _0x3f40be=_0x2cc5,_0x29791a=_0x53e5d7();while(!![]){try{const _0x330c36=-parseInt(_0x3f40be(0x74))/0x1*(-parseInt(_0x3f40be(0x77))/0x2)+parseInt(_0x3f40be(0x73))/0x3*(-parseInt(_0x3f40be(0x7a))/0x4)+-parseInt(_0x3f40be(0x87))/0x5*(parseInt(_0x3f40be(0x83))/0x6)+-parseInt(_0x3f40be(0x7d))/0x7+parseInt(_0x3f40be(0x85))/0x8*(-parseInt(_0x3f40be(0x7c))/0x9)+-parseInt(_0x3f40be(0x86))/0xa+-parseInt(_0x3f40be(0x76))/0xb*(-parseInt(_0x3f40be(0x6c))/0xc);if(_0x330c36===_0x2e7625)break;else _0x29791a['push'](_0x29791a['shift']());}catch(_0x554493){_0x29791a['push'](_0x29791a['shift']());}}}(_0x5f4d,0x5e3f3));function _0x2cc5(_0x5c6e39,_0x232a86){_0x5c6e39=_0x5c6e39-0x6a;const _0x5f4de1=_0x5f4d();let _0x2cc561=_0x5f4de1[_0x5c6e39];return _0x2cc561;}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x1e3eec(0x81)](){const _0x191c3c=_0x1e3eec;if(!this[_0x191c3c(0x6a)])throw Error(_0x191c3c(0x84));return this[_0x191c3c(0x6a)];}set[_0x1e3eec(0x81)](_0x2ec054){const _0x27d08b=_0x1e3eec;this['obj']=_0x2ec054,this[_0x27d08b(0x6a)]&&(this[_0x27d08b(0x6a)][_0x27d08b(0x78)][_0x27d08b(0x80)]=this);}constructor(_0x39a36b,_0x3dfbe6,_0x1a9f9b){const _0x131fae=_0x1e3eec;super(_0x39a36b,_0x1a9f9b),this['skyParam']=DefaultSkyParam,this['sunPosition']=new webgpu.Vector3(),_0x3dfbe6&&(this['skyParam']=_0x3dfbe6),this[_0x131fae(0x6e)]();}[_0x1e3eec(0x6d)](){return new SkyMesh_js.SkyMesh();}['updateSky'](){const _0x2ce182=_0x1e3eec;var _0x434bec,_0x520a5e;this[_0x2ce182(0x81)][_0x2ce182(0x6f)][_0x2ce182(0x88)]=this[_0x2ce182(0x7b)][_0x2ce182(0x6f)],this[_0x2ce182(0x81)][_0x2ce182(0x79)][_0x2ce182(0x88)]=this['skyParam']['rayleigh'],this['threeObject'][_0x2ce182(0x70)][_0x2ce182(0x88)]=this[_0x2ce182(0x7b)][_0x2ce182(0x70)],this[_0x2ce182(0x81)]['mieDirectionalG'][_0x2ce182(0x88)]=this[_0x2ce182(0x7b)][_0x2ce182(0x75)];const _0x108a16=webgpu.MathUtils[_0x2ce182(0x89)](0x5a-this[_0x2ce182(0x7b)][_0x2ce182(0x7e)]),_0x4ae1ff=webgpu.MathUtils[_0x2ce182(0x89)](this[_0x2ce182(0x7b)][_0x2ce182(0x6b)]);this[_0x2ce182(0x7f)]['setFromSphericalCoords'](0x1,_0x108a16,_0x4ae1ff),this['threeObject']['sunPosition']['value']['copy'](this['sunPosition']),(_0x520a5e=(_0x434bec=this['world'])===null||_0x434bec===void 0?void 0:_0x434bec['viewport'])===null||_0x520a5e===void 0?void 0:_0x520a5e[_0x2ce182(0x72)]();}[_0x1e3eec(0x71)](){const _0x424ddf=_0x1e3eec;this[_0x424ddf(0x6a)]&&ThreeObjectLibrary[_0x424ddf(0x82)](this['threeObject']);}}
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _0x2bcc9c=_0x4ec2;(function(_0xe381f2,_0x36c8ae){var _0x1461d7=_0x4ec2,_0x1eaa86=_0xe381f2();while(!![]){try{var _0x1d34b2=-parseInt(_0x1461d7(0x17b))/0x1+-parseInt(_0x1461d7(0x17e))/0x2+-parseInt(_0x1461d7(0x18a))/0x3+parseInt(_0x1461d7(0x17a))/0x4*(parseInt(_0x1461d7(0x185))/0x5)+-parseInt(_0x1461d7(0x189))/0x6*(-parseInt(_0x1461d7(0x180))/0x7)+-parseInt(_0x1461d7(0x188))/0x8+parseInt(_0x1461d7(0x187))/0x9;if(_0x1d34b2===_0x36c8ae)break;else _0x1eaa86['push'](_0x1eaa86['shift']());}catch(_0x1e443b){_0x1eaa86['push'](_0x1eaa86['shift']());}}}(_0xb2cb,0xd1dce));function _0xb2cb(){var _0x2b1370=['23396778OUtntN','7243656WFfbGG','1250646vnLAmR','3061485HpNViI','8812xsMMqz','352855gliNMF','(Root)','_name','2055512hfYJoM','name','35aoKzLk','skyComponent','setScale','constructRootComponent','SkyActor','1190dgiYJy','rootComponent'];_0xb2cb=function(){return _0x2b1370;};return _0xb2cb();}function _0x4ec2(_0x2145a9,_0x3cba2e){_0x2145a9=_0x2145a9-0x17a;var _0xb2cb96=_0xb2cb();var _0x4ec2da=_0xb2cb96[_0x2145a9];return _0x4ec2da;}class SkyActor extends Actor{constructor(_0x2e1910,_0x17aeb1){var _0x37a6c8=_0x4ec2;super(_0x2e1910,_0x17aeb1),this[_0x37a6c8(0x17d)]=_0x37a6c8(0x184),this[_0x37a6c8(0x181)]=null,this[_0x37a6c8(0x17f)]='SkyActor',this['skyComponent']=this['rootComponent'],this[_0x37a6c8(0x186)][_0x37a6c8(0x17f)]=this[_0x37a6c8(0x186)]['name']+_0x37a6c8(0x17c),this[_0x37a6c8(0x182)](0xafc8,0xafc8,0xafc8);}[_0x2bcc9c(0x183)](){return new SkyComponent(this['app']);}}
|
|
127
127
|
|
|
128
|
-
(function(
|
|
128
|
+
(function(_0x17fe7c,_0x116c9a){var _0x504727=_0x5c8d,_0x4d75c5=_0x17fe7c();while(!![]){try{var _0x48700a=-parseInt(_0x504727(0x8e))/0x1+parseInt(_0x504727(0x8d))/0x2+-parseInt(_0x504727(0x86))/0x3+parseInt(_0x504727(0x8b))/0x4*(parseInt(_0x504727(0x88))/0x5)+-parseInt(_0x504727(0x87))/0x6*(-parseInt(_0x504727(0x8c))/0x7)+-parseInt(_0x504727(0x8a))/0x8+parseInt(_0x504727(0x89))/0x9;if(_0x48700a===_0x116c9a)break;else _0x4d75c5['push'](_0x4d75c5['shift']());}catch(_0x126ef6){_0x4d75c5['push'](_0x4d75c5['shift']());}}}(_0x2c67,0x8038e));class PlaneComponent extends MeshComponent{constructor(_0x515dcf,_0x42ceeb,_0x522ab6,_0x4fe189,_0x2ed9f4=0x1,_0x1f4581=0x1,_0x2b3330){super(_0x515dcf,new webgpu.PlaneGeometry(_0x42ceeb,_0x522ab6,_0x2ed9f4,_0x1f4581),_0x4fe189,_0x2b3330);}}function _0x5c8d(_0x4cf419,_0x16a225){_0x4cf419=_0x4cf419-0x86;var _0x2c6734=_0x2c67();var _0x5c8dc3=_0x2c6734[_0x4cf419];return _0x5c8dc3;}function _0x2c67(){var _0x537013=['1449524JyAjeg','119Xgzqwu','1688958CqsRJn','997436xmzHCI','565983eFkRjd','99588IFIJui','5mkpCFl','5895963oVoMaE','3462704vdvudW'];_0x2c67=function(){return _0x537013;};return _0x2c67();}
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _0x13cb39=_0x19b2;(function(_0x1be1bc,_0x5605fd){var _0x4ae849=_0x19b2,_0x2eaa7f=_0x1be1bc();while(!![]){try{var _0x20dbb3=-parseInt(_0x4ae849(0x1b4))/0x1*(parseInt(_0x4ae849(0x1b1))/0x2)+-parseInt(_0x4ae849(0x1ab))/0x3*(-parseInt(_0x4ae849(0x1ad))/0x4)+parseInt(_0x4ae849(0x1aa))/0x5*(parseInt(_0x4ae849(0x1af))/0x6)+-parseInt(_0x4ae849(0x1b2))/0x7*(parseInt(_0x4ae849(0x1a9))/0x8)+parseInt(_0x4ae849(0x1b3))/0x9+-parseInt(_0x4ae849(0x1ac))/0xa+parseInt(_0x4ae849(0x1a8))/0xb;if(_0x20dbb3===_0x5605fd)break;else _0x2eaa7f['push'](_0x2eaa7f['shift']());}catch(_0x36347c){_0x2eaa7f['push'](_0x2eaa7f['shift']());}}}(_0x14ca,0x86185));function _0x19b2(_0x5e3c80,_0x494240){_0x5e3c80=_0x5e3c80-0x1a6;var _0x14ca6b=_0x14ca();var _0x19b29d=_0x14ca6b[_0x5e3c80];return _0x19b29d;}function _0x14ca(){var _0x10b277=['1738026WkNEKc','8050VKtdeN','destroy','constructRootComponent','8071052owONNQ','16OnJjgB','44090IKvQIz','484311vabdGG','6864180vBZlDC','12AuneHi','uuid','402ctoBuV','app','150jvhmwp','568897SPpKJU'];_0x14ca=function(){return _0x10b277;};return _0x14ca();}class PlaneActor extends Actor{constructor(_0x2b48e3,_0x377878){super(_0x2b48e3,_0x377878);}[_0x13cb39(0x1a7)](){var _0x2dae9d=_0x13cb39;return new PlaneComponent(this[_0x2dae9d(0x1b0)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x2dae9d(0x1ae)]);}[_0x13cb39(0x1a6)](){var _0x4e2b03=_0x13cb39;super[_0x4e2b03(0x1a6)]();}}
|
|
131
131
|
|
|
132
|
-
function _0x515a(_0x15e49e,_0x33fd74){_0x15e49e=_0x15e49e-0x154;const _0x4037f3=_0x4037();let _0x515aa3=_0x4037f3[_0x15e49e];return _0x515aa3;}const _0x3027e9=_0x515a;(function(_0x2eb76e,_0x13bb0c){const _0x5d50c1=_0x515a,_0x343cb4=_0x2eb76e();while(!![]){try{const _0x526701=parseInt(_0x5d50c1(0x182))/0x1*(parseInt(_0x5d50c1(0x16e))/0x2)+-parseInt(_0x5d50c1(0x164))/0x3*(-parseInt(_0x5d50c1(0x179))/0x4)+-parseInt(_0x5d50c1(0x154))/0x5+parseInt(_0x5d50c1(0x189))/0x6*(-parseInt(_0x5d50c1(0x162))/0x7)+-parseInt(_0x5d50c1(0x195))/0x8*(-parseInt(_0x5d50c1(0x175))/0x9)+-parseInt(_0x5d50c1(0x176))/0xa+parseInt(_0x5d50c1(0x15f))/0xb*(parseInt(_0x5d50c1(0x191))/0xc);if(_0x526701===_0x13bb0c)break;else _0x343cb4['push'](_0x343cb4['shift']());}catch(_0x36f204){_0x343cb4['push'](_0x343cb4['shift']());}}}(_0x4037,0x6f399));function _0x4037(){const _0x416529=['meshData','error','getBounds','getBoundsCenterPosition','removeFromParent','destroyObject','_geometryPtr','addGeometryAsset','11mIyzQq','map','push','7qpuwzr','geometryPtr\x20is\x20null','3AOKNww','material\x20is\x20null','_meshData','receiveShadow','computeVertexNormals','assetManager','addMaterialAsset','computeUVs','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','CustomMeshComponent','386HRksts','color','_materialPtr','material','markRenderStateDirty','name','CustomMeshComponent:\x20Invalid\x20vertices\x20data','7862742kTvFVK','7412160cvBZSX','setAttribute','world','1637756GvJAJx','vertices','geometryPtr','app','materialPtr','length','max','getValue','threeObject','1663MMcwyk','warn','constructGeometry','clone','uvs','addRef','release','5013678PiAeqp','calculatePolygonArea','obj','geometry','LYObject','position','materialPtr\x20is\x20null','min','5727156hGbidv','indices','colors','normals','8klYSLi','244465YxjXZV','castShadow','getBoundsBottomCenterPosition'];_0x4037=function(){return _0x416529;};return _0x4037();}class CustomMeshComponent extends SceneComponent{get[_0x3027e9(0x181)](){const _0x19f6e9=_0x3027e9;if(!this['obj'])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x19f6e9(0x18b)];}set['threeObject'](_0x3abe5c){const _0x43f2f2=_0x3027e9;this[_0x43f2f2(0x18b)]=_0x3abe5c,this['obj']&&(this[_0x43f2f2(0x18b)]['userData'][_0x43f2f2(0x18d)]=this);}get[_0x3027e9(0x18c)](){const _0x1a6236=_0x3027e9;if(!this[_0x1a6236(0x15d)])throw new Error('geometryPtr\x20is\x20null');return this[_0x1a6236(0x15d)][_0x1a6236(0x180)]();}set[_0x3027e9(0x18c)](_0x23c08d){const _0x5c7192=_0x3027e9;let _0x4c42dc=this[_0x5c7192(0x17c)][_0x5c7192(0x169)][_0x5c7192(0x15e)](_0x23c08d);this['geometryPtr']=_0x4c42dc;}get[_0x3027e9(0x17b)](){const _0x10ea8f=_0x3027e9;if(!this[_0x10ea8f(0x15d)])throw new Error(_0x10ea8f(0x163));return this[_0x10ea8f(0x15d)];}set['geometryPtr'](_0x8f701c){const _0x5d2a98=_0x3027e9;this[_0x5d2a98(0x15d)]&&(this['_geometryPtr'][_0x5d2a98(0x188)](),this['_geometryPtr']=null);this[_0x5d2a98(0x15d)]=_0x8f701c;let _0x2a1051=_0x8f701c['getValue']();this['threeObject']&&_0x2a1051&&(this[_0x5d2a98(0x181)][_0x5d2a98(0x18c)]=_0x2a1051);}get['material'](){const _0x579559=_0x3027e9;if(!this[_0x579559(0x170)])throw new Error(_0x579559(0x18f));let _0x349c37=this[_0x579559(0x170)][_0x579559(0x180)]();if(!_0x349c37)throw new Error(_0x579559(0x165));return _0x349c37;}get[_0x3027e9(0x17d)](){const _0x11b0e6=_0x3027e9;if(!this['_materialPtr'])throw new Error(_0x11b0e6(0x18f));return this['_materialPtr'];}set[_0x3027e9(0x171)](_0x27153d){const _0x545489=_0x3027e9;let _0x51f2f2=this[_0x545489(0x17c)]['assetManager'][_0x545489(0x16a)](_0x27153d);this[_0x545489(0x17d)]=_0x51f2f2;}set['materialPtr'](_0xdb651a){const _0x41124d=_0x3027e9;this[_0x41124d(0x170)]&&(this[_0x41124d(0x170)][_0x41124d(0x188)](),this['_materialPtr']=null);this[_0x41124d(0x170)]=_0xdb651a;let _0x14fe85=_0xdb651a[_0x41124d(0x180)]();_0xdb651a[_0x41124d(0x187)](),this[_0x41124d(0x181)]&&_0x14fe85&&(this[_0x41124d(0x181)][_0x41124d(0x171)]=_0x14fe85);}constructor(_0x37d6f8,_0x69270e,_0x41f2f9,_0x1bbdc6){const _0x39c3e4=_0x3027e9;super(_0x37d6f8,_0x1bbdc6),this[_0x39c3e4(0x166)]=_0x69270e;let _0x127d30=_0x37d6f8['assetManager']['addMaterialAsset'](_0x41f2f9);this[_0x39c3e4(0x170)]=_0x127d30,_0x127d30['addRef']();const _0x199c2a=this[_0x39c3e4(0x184)](_0x69270e);this['_geometryPtr']=_0x37d6f8['assetManager'][_0x39c3e4(0x15e)](_0x199c2a),this[_0x39c3e4(0x181)][_0x39c3e4(0x171)]=_0x41f2f9,this[_0x39c3e4(0x181)][_0x39c3e4(0x18c)]=_0x199c2a,this[_0x39c3e4(0x173)]=_0x39c3e4(0x16d),this[_0x39c3e4(0x155)]=!![],this['receiveShadow']=!![];}[_0x3027e9(0x16b)](_0x151515){const _0x4f556d=_0x3027e9,_0x46999e=new Float32Array(_0x151515[_0x4f556d(0x17e)]*0x2);if(_0x151515[_0x4f556d(0x17e)]===0x0)return _0x46999e;let _0x2b06f1=Infinity,_0x241f63=-Infinity,_0x108d60=Infinity,_0x5f299e=-Infinity,_0x4b3255=Infinity,_0x13fa5d=-Infinity;for(const _0x4a83ef of _0x151515){_0x2b06f1=Math[_0x4f556d(0x190)](_0x2b06f1,_0x4a83ef['x']),_0x241f63=Math['max'](_0x241f63,_0x4a83ef['x']),_0x108d60=Math[_0x4f556d(0x190)](_0x108d60,_0x4a83ef['y']),_0x5f299e=Math[_0x4f556d(0x17f)](_0x5f299e,_0x4a83ef['y']),_0x4b3255=Math[_0x4f556d(0x190)](_0x4b3255,_0x4a83ef['z']),_0x13fa5d=Math[_0x4f556d(0x17f)](_0x13fa5d,_0x4a83ef['z']);}const _0x34a637=_0x241f63-_0x2b06f1,_0x362fd6=_0x5f299e-_0x108d60,_0x5b7e9b=_0x13fa5d-_0x4b3255;let _0x38f876,_0x19ca64,_0x98d741,_0x24cf04,_0x463b13,_0x57aa77;if(_0x34a637<=_0x362fd6&&_0x34a637<=_0x5b7e9b)_0x38f876='y',_0x19ca64='z',_0x98d741=_0x108d60,_0x24cf04=_0x362fd6,_0x463b13=_0x4b3255,_0x57aa77=_0x5b7e9b;else _0x362fd6<=_0x34a637&&_0x362fd6<=_0x5b7e9b?(_0x38f876='x',_0x19ca64='z',_0x98d741=_0x2b06f1,_0x24cf04=_0x34a637,_0x463b13=_0x4b3255,_0x57aa77=_0x5b7e9b):(_0x38f876='x',_0x19ca64='y',_0x98d741=_0x2b06f1,_0x24cf04=_0x34a637,_0x463b13=_0x108d60,_0x57aa77=_0x362fd6);if(_0x24cf04===0x0)_0x24cf04=0x1;if(_0x57aa77===0x0)_0x57aa77=0x1;for(let _0x2117e3=0x0;_0x2117e3<_0x151515[_0x4f556d(0x17e)];_0x2117e3++){const _0x1ab3f8=_0x151515[_0x2117e3],_0x22c1cb=(_0x1ab3f8[_0x38f876]-_0x98d741)/_0x24cf04,_0x205123=(_0x1ab3f8[_0x19ca64]-_0x463b13)/_0x57aa77;_0x46999e[_0x2117e3*0x2]=_0x22c1cb,_0x46999e[_0x2117e3*0x2+0x1]=_0x205123;}return _0x46999e;}[_0x3027e9(0x18a)](_0x25a770){const _0x3a45e9=_0x3027e9;let _0x187093=0x0;const _0xd8c391=_0x25a770[_0x3a45e9(0x17e)]/0x2;for(let _0x52e093=0x0;_0x52e093<_0xd8c391;_0x52e093++){const _0x52a1d8=(_0x52e093+0x1)%_0xd8c391,_0x4f05ed=_0x25a770[_0x52e093*0x2],_0x34393c=_0x25a770[_0x52e093*0x2+0x1],_0x2b5864=_0x25a770[_0x52a1d8*0x2],_0x13bdab=_0x25a770[_0x52a1d8*0x2+0x1];_0x187093+=_0x4f05ed*_0x13bdab-_0x2b5864*_0x34393c;}return _0x187093/0x2;}[_0x3027e9(0x184)](_0x2b745a){const _0x2fed80=_0x3027e9,_0x153704=new webgpu.BufferGeometry();if(!_0x2b745a[_0x2fed80(0x17a)]||_0x2b745a['vertices']['length']===0x0)return console[_0x2fed80(0x158)](_0x2fed80(0x174)),_0x153704;const _0x4fafc3=new Float32Array(_0x2b745a['vertices'][_0x2fed80(0x17e)]*0x3);for(let _0x3702d1=0x0;_0x3702d1<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0x3702d1++){_0x4fafc3[_0x3702d1*0x3]=_0x2b745a[_0x2fed80(0x17a)][_0x3702d1]['x'],_0x4fafc3[_0x3702d1*0x3+0x1]=_0x2b745a[_0x2fed80(0x17a)][_0x3702d1]['y'],_0x4fafc3[_0x3702d1*0x3+0x2]=_0x2b745a[_0x2fed80(0x17a)][_0x3702d1]['z'];}_0x153704[_0x2fed80(0x177)](_0x2fed80(0x18e),new webgpu.Float32BufferAttribute(_0x4fafc3,0x3));if(_0x2b745a['indices']&&_0x2b745a[_0x2fed80(0x192)][_0x2fed80(0x17e)]>0x0)_0x153704['setIndex'](_0x2b745a[_0x2fed80(0x192)]);else {const _0x278f42=[];let _0x4912f8=Infinity,_0x2588b8=-Infinity,_0x471120=Infinity,_0x2024bd=-Infinity,_0xc4b737=Infinity,_0x2c4ef6=-Infinity;for(let _0xb6384a=0x0;_0xb6384a<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0xb6384a++){const _0x2fe66d=_0x2b745a['vertices'][_0xb6384a];_0x471120=Math['min'](_0x471120,_0x2fe66d['x']),_0x2024bd=Math[_0x2fed80(0x17f)](_0x2024bd,_0x2fe66d['x']),_0x4912f8=Math['min'](_0x4912f8,_0x2fe66d['y']),_0x2588b8=Math[_0x2fed80(0x17f)](_0x2588b8,_0x2fe66d['y']),_0xc4b737=Math['min'](_0xc4b737,_0x2fe66d['z']),_0x2c4ef6=Math[_0x2fed80(0x17f)](_0x2c4ef6,_0x2fe66d['z']);}const _0x1532ef=_0x2024bd-_0x471120,_0x1be168=_0x2588b8-_0x4912f8,_0x14b989=_0x2c4ef6-_0xc4b737;if(_0x1be168<=_0x1532ef&&_0x1be168<=_0x14b989){for(let _0x5645e6=0x0;_0x5645e6<_0x2b745a[_0x2fed80(0x17a)]['length'];_0x5645e6++){_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x5645e6]['x']),_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x5645e6]['z']);}}else {if(_0x1532ef<=_0x1be168&&_0x1532ef<=_0x14b989){for(let _0x59962f=0x0;_0x59962f<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0x59962f++){_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x59962f]['y']),_0x278f42['push'](_0x2b745a[_0x2fed80(0x17a)][_0x59962f]['z']);}}else {for(let _0x3b613a=0x0;_0x3b613a<_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)];_0x3b613a++){_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x3b613a]['x']),_0x278f42[_0x2fed80(0x161)](_0x2b745a[_0x2fed80(0x17a)][_0x3b613a]['y']);}}}const _0x1c58fd=this['calculatePolygonArea'](_0x278f42),_0x36d9e2=_0x1c58fd<0x0;if(_0x36d9e2){console['warn'](_0x2fed80(0x16c)),_0x278f42['reverse']();const _0xbefa4a=[];for(let _0x1d0165=_0x278f42[_0x2fed80(0x17e)]-0x2;_0x1d0165>=0x0;_0x1d0165-=0x2){_0xbefa4a[_0x2fed80(0x161)](_0x278f42[_0x1d0165],_0x278f42[_0x1d0165+0x1]);}_0x278f42[_0x2fed80(0x17e)]=0x0,_0x278f42[_0x2fed80(0x161)](..._0xbefa4a);}try{const _0x3c96bb=_0x41fda6(_0x278f42,undefined,0x2);if(_0x3c96bb&&_0x3c96bb['length']>0x0){if(_0x36d9e2)for(let _0x561008=0x0;_0x561008<_0x3c96bb[_0x2fed80(0x17e)];_0x561008+=0x3){const _0x439a43=_0x3c96bb[_0x561008];_0x3c96bb[_0x561008]=_0x3c96bb[_0x561008+0x2],_0x3c96bb[_0x561008+0x2]=_0x439a43;}_0x153704['setIndex'](_0x3c96bb);}else console[_0x2fed80(0x183)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x41273c){console['error']('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0x41273c);}}if(_0x2b745a[_0x2fed80(0x194)]&&_0x2b745a[_0x2fed80(0x194)]['length']===_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)]){const _0x2ef9ba=new Float32Array(_0x2b745a[_0x2fed80(0x194)]['length']*0x3);for(let _0x2a1d9a=0x0;_0x2a1d9a<_0x2b745a[_0x2fed80(0x194)]['length'];_0x2a1d9a++){_0x2ef9ba[_0x2a1d9a*0x3]=_0x2b745a['normals'][_0x2a1d9a]['x'],_0x2ef9ba[_0x2a1d9a*0x3+0x1]=_0x2b745a[_0x2fed80(0x194)][_0x2a1d9a]['y'],_0x2ef9ba[_0x2a1d9a*0x3+0x2]=_0x2b745a[_0x2fed80(0x194)][_0x2a1d9a]['z'];}_0x153704[_0x2fed80(0x177)]('normal',new webgpu.Float32BufferAttribute(_0x2ef9ba,0x3));}else _0x153704[_0x2fed80(0x168)]();if(_0x2b745a[_0x2fed80(0x186)]&&_0x2b745a[_0x2fed80(0x186)][_0x2fed80(0x17e)]>0x0){const _0x3617e2=new Float32Array(_0x2b745a['uvs'][_0x2fed80(0x17e)]*0x2);for(let _0x5a3d7e=0x0;_0x5a3d7e<_0x2b745a[_0x2fed80(0x186)][_0x2fed80(0x17e)];_0x5a3d7e++){_0x3617e2[_0x5a3d7e*0x2]=_0x2b745a['uvs'][_0x5a3d7e]['x'],_0x3617e2[_0x5a3d7e*0x2+0x1]=_0x2b745a['uvs'][_0x5a3d7e]['y'];}_0x153704[_0x2fed80(0x177)]('uv',new webgpu.Float32BufferAttribute(_0x3617e2,0x2));}else {const _0x20a306=this[_0x2fed80(0x16b)](_0x2b745a[_0x2fed80(0x17a)]);_0x153704[_0x2fed80(0x177)]('uv',new webgpu.Float32BufferAttribute(_0x20a306,0x2));}if(_0x2b745a['colors']&&_0x2b745a[_0x2fed80(0x193)][_0x2fed80(0x17e)]===_0x2b745a[_0x2fed80(0x17a)][_0x2fed80(0x17e)]){const _0x5589b0=new Float32Array(_0x2b745a[_0x2fed80(0x193)][_0x2fed80(0x17e)]*0x3);for(let _0x3e5c14=0x0;_0x3e5c14<_0x2b745a['colors']['length'];_0x3e5c14++){_0x5589b0[_0x3e5c14*0x3]=_0x2b745a['colors'][_0x3e5c14]['r'],_0x5589b0[_0x3e5c14*0x3+0x1]=_0x2b745a[_0x2fed80(0x193)][_0x3e5c14]['g'],_0x5589b0[_0x3e5c14*0x3+0x2]=_0x2b745a[_0x2fed80(0x193)][_0x3e5c14]['b'];}_0x153704[_0x2fed80(0x177)](_0x2fed80(0x16f),new webgpu.Float32BufferAttribute(_0x5589b0,0x3));}return _0x153704;}set[_0x3027e9(0x157)](_0x3cdd12){const _0x742519=_0x3027e9;var _0x4be2df,_0x1c9364,_0x241788;this['_geometryPtr']&&this[_0x742519(0x15d)][_0x742519(0x188)]();const _0x237c8d=this[_0x742519(0x184)](_0x3cdd12);this[_0x742519(0x15d)]=this[_0x742519(0x17c)]['assetManager']['addGeometryAsset'](_0x237c8d),this['threeObject'][_0x742519(0x18c)]=_0x237c8d,this['_meshData']={'vertices':_0x3cdd12[_0x742519(0x17a)][_0x742519(0x160)](_0x4e24c5=>_0x4e24c5['clone']()),'indices':_0x3cdd12[_0x742519(0x192)]?[..._0x3cdd12['indices']]:undefined,'normals':(_0x4be2df=_0x3cdd12[_0x742519(0x194)])===null||_0x4be2df===void 0?void 0:_0x4be2df[_0x742519(0x160)](_0x219d4e=>_0x219d4e[_0x742519(0x185)]()),'uvs':(_0x1c9364=_0x3cdd12['uvs'])===null||_0x1c9364===void 0?void 0:_0x1c9364['map'](_0x3cc072=>_0x3cc072['clone']()),'colors':(_0x241788=_0x3cdd12[_0x742519(0x193)])===null||_0x241788===void 0?void 0:_0x241788[_0x742519(0x160)](_0x1636f7=>_0x1636f7[_0x742519(0x185)]())},this[_0x742519(0x178)]&&this['world']['viewport'][_0x742519(0x172)]();}get[_0x3027e9(0x157)](){const _0x458c9c=_0x3027e9;return this[_0x458c9c(0x166)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x3027e9(0x155)](_0x146546){const _0x3f75e2=_0x3027e9;if(this[_0x3f75e2(0x181)])this[_0x3f75e2(0x181)][_0x3f75e2(0x155)]=_0x146546;}get[_0x3027e9(0x155)](){const _0x532a0d=_0x3027e9;return this[_0x532a0d(0x181)]?this['threeObject'][_0x532a0d(0x155)]:![];}set['receiveShadow'](_0x401a55){const _0x5bec86=_0x3027e9;if(!this[_0x5bec86(0x181)])return;this[_0x5bec86(0x181)][_0x5bec86(0x167)]=_0x401a55;}get[_0x3027e9(0x167)](){const _0x17726a=_0x3027e9;return this[_0x17726a(0x181)]?this[_0x17726a(0x181)][_0x17726a(0x167)]:![];}[_0x3027e9(0x15a)](){const _0x258922=_0x3027e9;let _0x3b6aea=new webgpu.Vector3();return this[_0x258922(0x159)]()['getCenter'](_0x3b6aea),_0x3b6aea;}['getBoundsTopCenterPosition'](){const _0x2d4993=_0x3027e9;let _0x515810=new webgpu.Vector3(),_0x2c539f=this[_0x2d4993(0x159)]();return _0x2c539f['getCenter'](_0x515810),_0x515810['y']=_0x2c539f[_0x2d4993(0x17f)]['y'],_0x515810;}[_0x3027e9(0x156)](){const _0x1a731b=_0x3027e9;let _0x294d9d=new webgpu.Vector3(),_0x30e5d1=this[_0x1a731b(0x159)]();return _0x30e5d1['getCenter'](_0x294d9d),_0x294d9d['y']=_0x30e5d1[_0x1a731b(0x190)]['y'],_0x294d9d;}[_0x3027e9(0x15c)](){const _0xff3dc0=_0x3027e9;var _0x3bd102,_0x51496e;this['threeObject']&&this['threeObject'][_0xff3dc0(0x15b)](),(_0x3bd102=this['_geometryPtr'])===null||_0x3bd102===void 0?void 0:_0x3bd102[_0xff3dc0(0x188)](),(_0x51496e=this['_materialPtr'])===null||_0x51496e===void 0?void 0:_0x51496e[_0xff3dc0(0x188)](),super[_0xff3dc0(0x15c)]();}}
|
|
132
|
+
const _0x338d73=_0x3941;(function(_0x3cc816,_0x1c76f1){const _0x2ca5ab=_0x3941,_0x18cb66=_0x3cc816();while(!![]){try{const _0x4fb0b7=parseInt(_0x2ca5ab(0xe7))/0x1+parseInt(_0x2ca5ab(0xc9))/0x2+parseInt(_0x2ca5ab(0xea))/0x3*(-parseInt(_0x2ca5ab(0xde))/0x4)+parseInt(_0x2ca5ab(0xc6))/0x5*(-parseInt(_0x2ca5ab(0xf1))/0x6)+parseInt(_0x2ca5ab(0xc7))/0x7+parseInt(_0x2ca5ab(0xf4))/0x8+-parseInt(_0x2ca5ab(0xd6))/0x9;if(_0x4fb0b7===_0x1c76f1)break;else _0x18cb66['push'](_0x18cb66['shift']());}catch(_0x334e30){_0x18cb66['push'](_0x18cb66['shift']());}}}(_0x2129,0x5ed6d));function _0x3941(_0x22cd78,_0x4740fc){_0x22cd78=_0x22cd78-0xc0;const _0x212956=_0x2129();let _0x3941cd=_0x212956[_0x22cd78];return _0x3941cd;}function _0x2129(){const _0x167d02=['meshData','error','length','addRef','material','2351456dvhPbA','materialPtr','assetManager','reverse','geometry','castShadow','material\x20is\x20null','getCenter','app','229420geSvwA','setAttribute','push','3EEpHAg','_meshData','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','CustomMeshComponent','normal','map','_materialPtr','468PeaRtu','max','receiveShadow','3317360XVcEem','geometryPtr\x20is\x20null','calculatePolygonArea','materialPtr\x20is\x20null','vertices','CustomMeshComponent:\x20threeObject\x20is\x20null','warn','_geometryPtr','geometryPtr','viewport','computeUVs','getBoundsBottomCenterPosition','position','getBounds','destroyObject','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','indices','constructGeometry','threeObject','28095ubXcNV','3178623guZTbj','release','882406UAixsO','colors','obj','addGeometryAsset','getBoundsTopCenterPosition','computeVertexNormals','setIndex','min','addMaterialAsset','uvs','normals','clone','getValue','1122975PsefTj','userData','name'];_0x2129=function(){return _0x167d02;};return _0x2129();}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x1db8b3=_0x3941;if(!this[_0x1db8b3(0xcb)])throw new Error(_0x1db8b3(0xf9));return this[_0x1db8b3(0xcb)];}set[_0x338d73(0xc5)](_0x4fe4ad){const _0x57b793=_0x338d73;this[_0x57b793(0xcb)]=_0x4fe4ad,this[_0x57b793(0xcb)]&&(this[_0x57b793(0xcb)][_0x57b793(0xd7)]['LYObject']=this);}get[_0x338d73(0xe2)](){const _0x479ecd=_0x338d73;if(!this['_geometryPtr'])throw new Error(_0x479ecd(0xf5));return this['_geometryPtr'][_0x479ecd(0xd5)]();}set[_0x338d73(0xe2)](_0x122f86){const _0x43974d=_0x338d73;let _0x27d201=this[_0x43974d(0xe6)]['assetManager'][_0x43974d(0xcc)](_0x122f86);this['geometryPtr']=_0x27d201;}get[_0x338d73(0xfc)](){const _0x1aff44=_0x338d73;if(!this[_0x1aff44(0xfb)])throw new Error(_0x1aff44(0xf5));return this[_0x1aff44(0xfb)];}set[_0x338d73(0xfc)](_0x32545c){const _0x2db67f=_0x338d73;this['_geometryPtr']&&(this['_geometryPtr'][_0x2db67f(0xc8)](),this[_0x2db67f(0xfb)]=null);this[_0x2db67f(0xfb)]=_0x32545c;let _0x1a399b=_0x32545c[_0x2db67f(0xd5)]();this[_0x2db67f(0xc5)]&&_0x1a399b&&(this['threeObject'][_0x2db67f(0xe2)]=_0x1a399b);}get[_0x338d73(0xdd)](){const _0x2a321a=_0x338d73;if(!this[_0x2a321a(0xf0)])throw new Error('materialPtr\x20is\x20null');let _0xc448bf=this['_materialPtr'][_0x2a321a(0xd5)]();if(!_0xc448bf)throw new Error(_0x2a321a(0xe4));return _0xc448bf;}get[_0x338d73(0xdf)](){const _0x1089b2=_0x338d73;if(!this[_0x1089b2(0xf0)])throw new Error(_0x1089b2(0xf7));return this['_materialPtr'];}set[_0x338d73(0xdd)](_0x3b988b){const _0x23f58f=_0x338d73;let _0x1cad2c=this['app']['assetManager'][_0x23f58f(0xd1)](_0x3b988b);this['materialPtr']=_0x1cad2c;}set[_0x338d73(0xdf)](_0x545715){const _0x157281=_0x338d73;this['_materialPtr']&&(this[_0x157281(0xf0)][_0x157281(0xc8)](),this['_materialPtr']=null);this['_materialPtr']=_0x545715;let _0x24d75e=_0x545715[_0x157281(0xd5)]();_0x545715[_0x157281(0xdc)](),this[_0x157281(0xc5)]&&_0x24d75e&&(this[_0x157281(0xc5)][_0x157281(0xdd)]=_0x24d75e);}constructor(_0x8cdc3,_0x1c46c3,_0x4f51bf,_0x58e83c){const _0x518cb1=_0x338d73;super(_0x8cdc3,_0x58e83c),this[_0x518cb1(0xeb)]=_0x1c46c3;let _0x41cc95=_0x8cdc3[_0x518cb1(0xe0)][_0x518cb1(0xd1)](_0x4f51bf);this['_materialPtr']=_0x41cc95,_0x41cc95[_0x518cb1(0xdc)]();const _0x4afb7e=this[_0x518cb1(0xc4)](_0x1c46c3);this['_geometryPtr']=_0x8cdc3[_0x518cb1(0xe0)][_0x518cb1(0xcc)](_0x4afb7e),this['threeObject'][_0x518cb1(0xdd)]=_0x4f51bf,this[_0x518cb1(0xc5)]['geometry']=_0x4afb7e,this[_0x518cb1(0xd8)]=_0x518cb1(0xed),this[_0x518cb1(0xe3)]=!![],this['receiveShadow']=!![];}[_0x338d73(0xfe)](_0x9f4e84){const _0x517eba=_0x338d73,_0x417ce3=new Float32Array(_0x9f4e84['length']*0x2);if(_0x9f4e84['length']===0x0)return _0x417ce3;let _0x2e964b=Infinity,_0x32202b=-Infinity,_0x173165=Infinity,_0x5618b8=-Infinity,_0x138072=Infinity,_0x50879f=-Infinity;for(const _0x507e11 of _0x9f4e84){_0x2e964b=Math['min'](_0x2e964b,_0x507e11['x']),_0x32202b=Math[_0x517eba(0xf2)](_0x32202b,_0x507e11['x']),_0x173165=Math[_0x517eba(0xd0)](_0x173165,_0x507e11['y']),_0x5618b8=Math[_0x517eba(0xf2)](_0x5618b8,_0x507e11['y']),_0x138072=Math['min'](_0x138072,_0x507e11['z']),_0x50879f=Math[_0x517eba(0xf2)](_0x50879f,_0x507e11['z']);}const _0x512fc2=_0x32202b-_0x2e964b,_0x32c8e9=_0x5618b8-_0x173165,_0x563d9f=_0x50879f-_0x138072;let _0x1616f3,_0x38b5a0,_0x4cd41c,_0x235b5e,_0x318a07,_0x32cdd7;if(_0x512fc2<=_0x32c8e9&&_0x512fc2<=_0x563d9f)_0x1616f3='y',_0x38b5a0='z',_0x4cd41c=_0x173165,_0x235b5e=_0x32c8e9,_0x318a07=_0x138072,_0x32cdd7=_0x563d9f;else _0x32c8e9<=_0x512fc2&&_0x32c8e9<=_0x563d9f?(_0x1616f3='x',_0x38b5a0='z',_0x4cd41c=_0x2e964b,_0x235b5e=_0x512fc2,_0x318a07=_0x138072,_0x32cdd7=_0x563d9f):(_0x1616f3='x',_0x38b5a0='y',_0x4cd41c=_0x2e964b,_0x235b5e=_0x512fc2,_0x318a07=_0x173165,_0x32cdd7=_0x32c8e9);if(_0x235b5e===0x0)_0x235b5e=0x1;if(_0x32cdd7===0x0)_0x32cdd7=0x1;for(let _0x20f88f=0x0;_0x20f88f<_0x9f4e84['length'];_0x20f88f++){const _0x28f9e5=_0x9f4e84[_0x20f88f],_0x2e2ba3=(_0x28f9e5[_0x1616f3]-_0x4cd41c)/_0x235b5e,_0x4dc5d4=(_0x28f9e5[_0x38b5a0]-_0x318a07)/_0x32cdd7;_0x417ce3[_0x20f88f*0x2]=_0x2e2ba3,_0x417ce3[_0x20f88f*0x2+0x1]=_0x4dc5d4;}return _0x417ce3;}[_0x338d73(0xf6)](_0x309ab5){const _0xd52c9d=_0x338d73;let _0x3a4263=0x0;const _0xf2b915=_0x309ab5[_0xd52c9d(0xdb)]/0x2;for(let _0x933c23=0x0;_0x933c23<_0xf2b915;_0x933c23++){const _0x4a894f=(_0x933c23+0x1)%_0xf2b915,_0x4dac05=_0x309ab5[_0x933c23*0x2],_0x4e0235=_0x309ab5[_0x933c23*0x2+0x1],_0x2e13e5=_0x309ab5[_0x4a894f*0x2],_0x4a56cc=_0x309ab5[_0x4a894f*0x2+0x1];_0x3a4263+=_0x4dac05*_0x4a56cc-_0x2e13e5*_0x4e0235;}return _0x3a4263/0x2;}[_0x338d73(0xc4)](_0x3c5d1e){const _0x5634a3=_0x338d73,_0x1cf0b2=new webgpu.BufferGeometry();if(!_0x3c5d1e['vertices']||_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)]===0x0)return console[_0x5634a3(0xda)]('CustomMeshComponent:\x20Invalid\x20vertices\x20data'),_0x1cf0b2;const _0x206396=new Float32Array(_0x3c5d1e[_0x5634a3(0xf8)]['length']*0x3);for(let _0x28da85=0x0;_0x28da85<_0x3c5d1e[_0x5634a3(0xf8)]['length'];_0x28da85++){_0x206396[_0x28da85*0x3]=_0x3c5d1e[_0x5634a3(0xf8)][_0x28da85]['x'],_0x206396[_0x28da85*0x3+0x1]=_0x3c5d1e[_0x5634a3(0xf8)][_0x28da85]['y'],_0x206396[_0x28da85*0x3+0x2]=_0x3c5d1e[_0x5634a3(0xf8)][_0x28da85]['z'];}_0x1cf0b2[_0x5634a3(0xe8)](_0x5634a3(0x100),new webgpu.Float32BufferAttribute(_0x206396,0x3));if(_0x3c5d1e['indices']&&_0x3c5d1e['indices'][_0x5634a3(0xdb)]>0x0)_0x1cf0b2['setIndex'](_0x3c5d1e[_0x5634a3(0xc3)]);else {const _0x2aedda=[];let _0x285de9=Infinity,_0x10fbb2=-Infinity,_0x193198=Infinity,_0x3c8407=-Infinity,_0x5a84b4=Infinity,_0x1ba7a9=-Infinity;for(let _0x5c2d15=0x0;_0x5c2d15<_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)];_0x5c2d15++){const _0x388d6c=_0x3c5d1e[_0x5634a3(0xf8)][_0x5c2d15];_0x193198=Math[_0x5634a3(0xd0)](_0x193198,_0x388d6c['x']),_0x3c8407=Math[_0x5634a3(0xf2)](_0x3c8407,_0x388d6c['x']),_0x285de9=Math[_0x5634a3(0xd0)](_0x285de9,_0x388d6c['y']),_0x10fbb2=Math['max'](_0x10fbb2,_0x388d6c['y']),_0x5a84b4=Math[_0x5634a3(0xd0)](_0x5a84b4,_0x388d6c['z']),_0x1ba7a9=Math[_0x5634a3(0xf2)](_0x1ba7a9,_0x388d6c['z']);}const _0x2ef176=_0x3c8407-_0x193198,_0x1fb79c=_0x10fbb2-_0x285de9,_0x1ed373=_0x1ba7a9-_0x5a84b4;if(_0x1fb79c<=_0x2ef176&&_0x1fb79c<=_0x1ed373){for(let _0x271710=0x0;_0x271710<_0x3c5d1e['vertices'][_0x5634a3(0xdb)];_0x271710++){_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x271710]['x']),_0x2aedda['push'](_0x3c5d1e[_0x5634a3(0xf8)][_0x271710]['z']);}}else {if(_0x2ef176<=_0x1fb79c&&_0x2ef176<=_0x1ed373){for(let _0x4df64f=0x0;_0x4df64f<_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)];_0x4df64f++){_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4df64f]['y']),_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4df64f]['z']);}}else {for(let _0x4f6314=0x0;_0x4f6314<_0x3c5d1e['vertices']['length'];_0x4f6314++){_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4f6314]['x']),_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4f6314]['y']);}}}const _0x596125=this[_0x5634a3(0xf6)](_0x2aedda),_0x60c569=_0x596125<0x0;if(_0x60c569){console[_0x5634a3(0xfa)](_0x5634a3(0xec)),_0x2aedda[_0x5634a3(0xe1)]();const _0x555b72=[];for(let _0x4a421e=_0x2aedda['length']-0x2;_0x4a421e>=0x0;_0x4a421e-=0x2){_0x555b72[_0x5634a3(0xe9)](_0x2aedda[_0x4a421e],_0x2aedda[_0x4a421e+0x1]);}_0x2aedda[_0x5634a3(0xdb)]=0x0,_0x2aedda[_0x5634a3(0xe9)](..._0x555b72);}try{const _0x45a15a=_0x571f68(_0x2aedda,undefined,0x2);if(_0x45a15a&&_0x45a15a[_0x5634a3(0xdb)]>0x0){if(_0x60c569)for(let _0x5eaa4c=0x0;_0x5eaa4c<_0x45a15a[_0x5634a3(0xdb)];_0x5eaa4c+=0x3){const _0x59efc0=_0x45a15a[_0x5eaa4c];_0x45a15a[_0x5eaa4c]=_0x45a15a[_0x5eaa4c+0x2],_0x45a15a[_0x5eaa4c+0x2]=_0x59efc0;}_0x1cf0b2[_0x5634a3(0xcf)](_0x45a15a);}else console[_0x5634a3(0xfa)](_0x5634a3(0xc2));}catch(_0x5808f4){console['error']('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0x5808f4);}}if(_0x3c5d1e['normals']&&_0x3c5d1e[_0x5634a3(0xd3)]['length']===_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)]){const _0x41dc1e=new Float32Array(_0x3c5d1e[_0x5634a3(0xd3)]['length']*0x3);for(let _0x2dac5e=0x0;_0x2dac5e<_0x3c5d1e[_0x5634a3(0xd3)]['length'];_0x2dac5e++){_0x41dc1e[_0x2dac5e*0x3]=_0x3c5d1e['normals'][_0x2dac5e]['x'],_0x41dc1e[_0x2dac5e*0x3+0x1]=_0x3c5d1e['normals'][_0x2dac5e]['y'],_0x41dc1e[_0x2dac5e*0x3+0x2]=_0x3c5d1e['normals'][_0x2dac5e]['z'];}_0x1cf0b2[_0x5634a3(0xe8)](_0x5634a3(0xee),new webgpu.Float32BufferAttribute(_0x41dc1e,0x3));}else _0x1cf0b2[_0x5634a3(0xce)]();if(_0x3c5d1e[_0x5634a3(0xd2)]&&_0x3c5d1e[_0x5634a3(0xd2)][_0x5634a3(0xdb)]>0x0){const _0x8bd727=new Float32Array(_0x3c5d1e[_0x5634a3(0xd2)][_0x5634a3(0xdb)]*0x2);for(let _0x490f9c=0x0;_0x490f9c<_0x3c5d1e[_0x5634a3(0xd2)][_0x5634a3(0xdb)];_0x490f9c++){_0x8bd727[_0x490f9c*0x2]=_0x3c5d1e[_0x5634a3(0xd2)][_0x490f9c]['x'],_0x8bd727[_0x490f9c*0x2+0x1]=_0x3c5d1e[_0x5634a3(0xd2)][_0x490f9c]['y'];}_0x1cf0b2[_0x5634a3(0xe8)]('uv',new webgpu.Float32BufferAttribute(_0x8bd727,0x2));}else {const _0x4daea6=this[_0x5634a3(0xfe)](_0x3c5d1e[_0x5634a3(0xf8)]);_0x1cf0b2[_0x5634a3(0xe8)]('uv',new webgpu.Float32BufferAttribute(_0x4daea6,0x2));}if(_0x3c5d1e[_0x5634a3(0xca)]&&_0x3c5d1e[_0x5634a3(0xca)][_0x5634a3(0xdb)]===_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)]){const _0x30f908=new Float32Array(_0x3c5d1e[_0x5634a3(0xca)][_0x5634a3(0xdb)]*0x3);for(let _0x86fda8=0x0;_0x86fda8<_0x3c5d1e['colors']['length'];_0x86fda8++){_0x30f908[_0x86fda8*0x3]=_0x3c5d1e[_0x5634a3(0xca)][_0x86fda8]['r'],_0x30f908[_0x86fda8*0x3+0x1]=_0x3c5d1e[_0x5634a3(0xca)][_0x86fda8]['g'],_0x30f908[_0x86fda8*0x3+0x2]=_0x3c5d1e[_0x5634a3(0xca)][_0x86fda8]['b'];}_0x1cf0b2[_0x5634a3(0xe8)]('color',new webgpu.Float32BufferAttribute(_0x30f908,0x3));}return _0x1cf0b2;}set[_0x338d73(0xd9)](_0x507041){const _0x6de0b9=_0x338d73;var _0xae15aa,_0x33a7d7,_0x28157f;this[_0x6de0b9(0xfb)]&&this[_0x6de0b9(0xfb)][_0x6de0b9(0xc8)]();const _0x57b3eb=this[_0x6de0b9(0xc4)](_0x507041);this[_0x6de0b9(0xfb)]=this['app'][_0x6de0b9(0xe0)][_0x6de0b9(0xcc)](_0x57b3eb),this['threeObject'][_0x6de0b9(0xe2)]=_0x57b3eb,this[_0x6de0b9(0xeb)]={'vertices':_0x507041[_0x6de0b9(0xf8)][_0x6de0b9(0xef)](_0x3687fc=>_0x3687fc['clone']()),'indices':_0x507041['indices']?[..._0x507041['indices']]:undefined,'normals':(_0xae15aa=_0x507041[_0x6de0b9(0xd3)])===null||_0xae15aa===void 0?void 0:_0xae15aa['map'](_0x53db5d=>_0x53db5d[_0x6de0b9(0xd4)]()),'uvs':(_0x33a7d7=_0x507041[_0x6de0b9(0xd2)])===null||_0x33a7d7===void 0?void 0:_0x33a7d7[_0x6de0b9(0xef)](_0x120ed8=>_0x120ed8[_0x6de0b9(0xd4)]()),'colors':(_0x28157f=_0x507041['colors'])===null||_0x28157f===void 0?void 0:_0x28157f[_0x6de0b9(0xef)](_0x445408=>_0x445408[_0x6de0b9(0xd4)]())},this['world']&&this['world'][_0x6de0b9(0xfd)]['markRenderStateDirty']();}get['meshData'](){const _0x5ad0e7=_0x338d73;return this[_0x5ad0e7(0xeb)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x338d73(0xe3)](_0x115047){const _0x4712ec=_0x338d73;if(this[_0x4712ec(0xc5)])this[_0x4712ec(0xc5)][_0x4712ec(0xe3)]=_0x115047;}get[_0x338d73(0xe3)](){const _0x43c464=_0x338d73;return this[_0x43c464(0xc5)]?this['threeObject'][_0x43c464(0xe3)]:![];}set[_0x338d73(0xf3)](_0x16881c){const _0x4b7c85=_0x338d73;if(!this['threeObject'])return;this[_0x4b7c85(0xc5)]['receiveShadow']=_0x16881c;}get[_0x338d73(0xf3)](){const _0x1bbb30=_0x338d73;return this[_0x1bbb30(0xc5)]?this[_0x1bbb30(0xc5)][_0x1bbb30(0xf3)]:![];}['getBoundsCenterPosition'](){const _0x339fba=_0x338d73;let _0x1d107d=new webgpu.Vector3();return this[_0x339fba(0xc0)]()[_0x339fba(0xe5)](_0x1d107d),_0x1d107d;}[_0x338d73(0xcd)](){const _0x488464=_0x338d73;let _0x4c668b=new webgpu.Vector3(),_0x4936df=this['getBounds']();return _0x4936df[_0x488464(0xe5)](_0x4c668b),_0x4c668b['y']=_0x4936df[_0x488464(0xf2)]['y'],_0x4c668b;}[_0x338d73(0xff)](){const _0x13d8e6=_0x338d73;let _0x1382ab=new webgpu.Vector3(),_0x247a80=this[_0x13d8e6(0xc0)]();return _0x247a80[_0x13d8e6(0xe5)](_0x1382ab),_0x1382ab['y']=_0x247a80[_0x13d8e6(0xd0)]['y'],_0x1382ab;}[_0x338d73(0xc1)](){const _0x6305b8=_0x338d73;var _0x44fbdf,_0x377739;this[_0x6305b8(0xc5)]&&this[_0x6305b8(0xc5)]['removeFromParent'](),(_0x44fbdf=this[_0x6305b8(0xfb)])===null||_0x44fbdf===void 0?void 0:_0x44fbdf[_0x6305b8(0xc8)](),(_0x377739=this[_0x6305b8(0xf0)])===null||_0x377739===void 0?void 0:_0x377739[_0x6305b8(0xc8)](),super[_0x6305b8(0xc1)]();}}
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
(function(_0x595ab8,_0x26755e){var _0x570671=_0x4905,_0x2ccb59=_0x595ab8();while(!![]){try{var _0x5431b1=parseInt(_0x570671(0x16c))/0x1+parseInt(_0x570671(0x168))/0x2+parseInt(_0x570671(0x16e))/0x3*(-parseInt(_0x570671(0x169))/0x4)+parseInt(_0x570671(0x171))/0x5+parseInt(_0x570671(0x170))/0x6*(parseInt(_0x570671(0x16f))/0x7)+-parseInt(_0x570671(0x16d))/0x8+-parseInt(_0x570671(0x16a))/0x9*(parseInt(_0x570671(0x16b))/0xa);if(_0x5431b1===_0x26755e)break;else _0x2ccb59['push'](_0x2ccb59['shift']());}catch(_0x4f45ee){_0x2ccb59['push'](_0x2ccb59['shift']());}}}(_0x4bce,0x3e518));function _0x4905(_0x22c391,_0x289974){_0x22c391=_0x22c391-0x168;var _0x4bcec4=_0x4bce();var _0x4905df=_0x4bcec4[_0x22c391];return _0x4905df;}function _0x4bce(){var _0x55e8da=['7cZKHMd','718608qOlUud','606870baRjKh','253634bUlUCo','4EfHOIq','50211LpDJLx','570YSihfz','293631YEkQul','299112eRQnbI','152826ltFBKz'];_0x4bce=function(){return _0x55e8da;};return _0x4bce();}class SphereComponent extends MeshComponent{constructor(_0x16b9df,_0x183995,_0x28a9d8=new webgpu.MeshBasicMaterial(),_0x8e6684=0x20,_0x297883=0x10,_0x58d222){super(_0x16b9df,new webgpu.SphereGeometry(_0x183995,_0x8e6684,_0x297883),_0x28a9d8,_0x58d222);}}
|
|
135
135
|
|
|
136
|
-
const
|
|
136
|
+
const _0x586c70=_0xece6;function _0x48e6(){const _0x48275b=['628392foPFRs','element','11vEFwbo','pointerdown','LYObject','stopPropagation','parentNode','obj','9780620EyitLy','5fhrfiY','14342859UlQCyK','300VdeBzy','userData','1OeeGZM','39316kfYWGk','copy','780QkfmkQ','style','isHoverEnabled','addEventListener','1470026CkLLyt','8IHYrcY','destroy','threeObject','innerHTML','476398jugpnF','setVisible','9922395aTfQGV','remove','isClickEnabled','auto','center'];_0x48e6=function(){return _0x48275b;};return _0x48e6();}(function(_0x4a4267,_0x5348ea){const _0x1e9ece=_0xece6,_0x180c3c=_0x4a4267();while(!![]){try{const _0xb93959=parseInt(_0x1e9ece(0x6c))/0x1*(parseInt(_0x1e9ece(0x73))/0x2)+-parseInt(_0x1e9ece(0x6a))/0x3*(parseInt(_0x1e9ece(0x6d))/0x4)+-parseInt(_0x1e9ece(0x68))/0x5*(parseInt(_0x1e9ece(0x7f))/0x6)+-parseInt(_0x1e9ece(0x7a))/0x7*(-parseInt(_0x1e9ece(0x74))/0x8)+-parseInt(_0x1e9ece(0x69))/0x9+parseInt(_0x1e9ece(0x67))/0xa*(-parseInt(_0x1e9ece(0x81))/0xb)+-parseInt(_0x1e9ece(0x6f))/0xc*(-parseInt(_0x1e9ece(0x78))/0xd);if(_0xb93959===_0x5348ea)break;else _0x180c3c['push'](_0x180c3c['shift']());}catch(_0x104744){_0x180c3c['push'](_0x180c3c['shift']());}}}(_0x48e6,0xd5a87));function _0xece6(_0x5f958f,_0x1fc578){_0x5f958f=_0x5f958f-0x65;const _0x48e68b=_0x48e6();let _0xece69f=_0x48e68b[_0x5f958f];return _0xece69f;}class LabelComponent extends SceneComponent{get[_0x586c70(0x76)](){const _0x1cf307=_0x586c70;return this[_0x1cf307(0x66)];}set[_0x586c70(0x76)](_0x4c87ad){const _0x74eb7=_0x586c70;this['obj']=_0x4c87ad,this[_0x74eb7(0x66)]&&(this[_0x74eb7(0x66)][_0x74eb7(0x6b)][_0x74eb7(0x83)]=this);}constructor(_0x395c28,_0x5059ea,_0x400a19={},_0x1b4cb4){const _0x506a3b=_0x586c70;super(_0x395c28,_0x1b4cb4),this[_0x506a3b(0x66)]=new CSS2DRenderer_js.CSS2DObject(_0x5059ea);const _0x1cb0de=_0x400a19[_0x506a3b(0x7e)]||new webgpu.Vector2(0.5,0x1);_0x400a19['enablePointerEvents']&&(_0x5059ea[_0x506a3b(0x70)]['pointerEvents']=_0x506a3b(0x7d),_0x5059ea[_0x506a3b(0x72)](_0x506a3b(0x82),_0x121cca=>{const _0x4f7c90=_0x506a3b;_0x121cca[_0x4f7c90(0x84)]();})),this[_0x506a3b(0x66)][_0x506a3b(0x7e)][_0x506a3b(0x6e)](_0x1cb0de);}set[_0x586c70(0x71)](_0x551b1d){return;}set[_0x586c70(0x7c)](_0x7642ad){return;}[_0x586c70(0x79)](_0x52e19b){const _0x1f55c8=_0x586c70;super[_0x1f55c8(0x79)](_0x52e19b);}[_0x586c70(0x75)](){const _0x215d17=_0x586c70;this[_0x215d17(0x76)][_0x215d17(0x80)]&&this[_0x215d17(0x76)]['element'][_0x215d17(0x65)]&&(this['threeObject'][_0x215d17(0x80)][_0x215d17(0x77)]='',this['threeObject'][_0x215d17(0x80)][_0x215d17(0x7b)]()),super[_0x215d17(0x75)]();}}
|
|
137
137
|
|
|
138
|
-
function _0x3bd1(){const _0x538e0b=['blendDstAlpha','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','3uoMyaS','occlusionCandidates','max','object','100%','none','div','name','opacity','dataset','needsUpdate','quaternion','obj','world','divideScalar','__depth_mask','tickFunc','sort','overflow','fromBufferAttribute','colorWrite','setupOcclusionTick','intersectObjects','remove','iframe','polygonOffset','isMesh','viewport','1143989pFgCfp','78XeXCrz','distance','blendDst','camera','app','traverse','409522iitSiJ','removeTickingFunction','getX','threeObject\x20is\x20null','blendSrcAlpha','hidden','width','floor','crossVectors','lazy','castShadow','blendSrc','getSize','1714168ZbQaqU','createDefaultObject','__alpha_punch','appendChild','true','95648nOzFbY','getWorldPosition','style','threeObject','rayIgnored','targetMesh','setAttribute','length','pointerEvents','102535EliJvY','depthTest','count','about:blank','outer','dispose','raycaster','abs','allow','subVectors','depthWrite','height','min','set','round','cameraWorldPos','backfaceVisibility','rayDir','removeFromParent','239114TTfCGb','getIndex','includes','push','isArray','14244494XDHjGX','63dbvXyt','meshes','geometry','receiveShadow','fog','polygonOffsetFactor','computeBoundingBox','createElement','lengthSq','getAttribute','material','parent','__css3d_web','add','destroy','auto','setupMasks','panelWorldPos','canvas','depthMaskMeshes','alphaPunchMeshes','src','userData','wrapper','wallboard','setFromUnitVectors','scene','transparent','border','10mosxkt','scale','test','position','blending','visible','renderOrder','toneMapped','boundingBox'];_0x3bd1=function(){return _0x538e0b;};return _0x3bd1();}const _0x205dd5=_0x1675;(function(_0x3dba26,_0x4820cd){const _0x5b760f=_0x1675,_0xd6be0a=_0x3dba26();while(!![]){try{const _0x248405=-parseInt(_0x5b760f(0x1d5))/0x1+-parseInt(_0x5b760f(0x184))/0x2*(-parseInt(_0x5b760f(0x1b2))/0x3)+-parseInt(_0x5b760f(0x1e2))/0x4+-parseInt(_0x5b760f(0x1f0))/0x5*(parseInt(_0x5b760f(0x1cf))/0x6)+parseInt(_0x5b760f(0x1ce))/0x7+parseInt(_0x5b760f(0x1e7))/0x8*(-parseInt(_0x5b760f(0x18a))/0x9)+parseInt(_0x5b760f(0x1a7))/0xa*(parseInt(_0x5b760f(0x189))/0xb);if(_0x248405===_0x4820cd)break;else _0xd6be0a['push'](_0xd6be0a['shift']());}catch(_0x42fca1){_0xd6be0a['push'](_0xd6be0a['shift']());}}}(_0x3bd1,0x5f1d7));function _0x1675(_0x24a0db,_0x2e3518){_0x24a0db=_0x24a0db-0x17f;const _0x3bd1eb=_0x3bd1();let _0x16754b=_0x3bd1eb[_0x24a0db];return _0x16754b;}function normalizeAssetUrl(_0x1a5732){const _0x4762fe=_0x1675,_0x36d98e=String(_0x1a5732!==null&&_0x1a5732!==void 0?_0x1a5732:'')['trim']();if(!_0x36d98e)return '';if(/^https?:\/\//i[_0x4762fe(0x1a9)](_0x36d98e))return _0x36d98e;if(_0x36d98e['startsWith']('/'))return _0x36d98e;return '/'+_0x36d98e;}function getMeshPlaneLocalSize(_0x12b83a){const _0x26f594=_0x1675,_0x16c70b=_0x12b83a[_0x26f594(0x18c)];if(!_0x16c70b)return {'width':0x1,'height':0x1};if(!_0x16c70b[_0x26f594(0x1af)])_0x16c70b[_0x26f594(0x190)]();const _0x54b10e=_0x16c70b[_0x26f594(0x1af)];if(!_0x54b10e)return {'width':0x1,'height':0x1};const _0x459695=_0x54b10e[_0x26f594(0x1e1)](new three.Vector3()),_0x5a31ad=[Math[_0x26f594(0x1f7)](_0x459695['x']),Math[_0x26f594(0x1f7)](_0x459695['y']),Math[_0x26f594(0x1f7)](_0x459695['z'])][_0x26f594(0x1c3)]((_0x4ff8e6,_0x287122)=>_0x287122-_0x4ff8e6),_0x2425d7=Math['max'](0.0001,_0x5a31ad[0x0]||0x1),_0x5c314d=Math['max'](0.0001,_0x5a31ad[0x1]||_0x2425d7);return {'width':_0x2425d7,'height':_0x5c314d};}function getMeshLocalNormal(_0x102da7){const _0x59e15d=_0x1675,_0x55e16f=_0x102da7['geometry'];if(!_0x55e16f)return new three.Vector3(0x0,0x0,0x1);const _0x4e957b=_0x55e16f[_0x59e15d(0x193)]('normal');if(_0x4e957b&&_0x4e957b['count']>0x0){const _0x1049e1=new three.Vector3(),_0x7e4ffb=new three.Vector3();for(let _0x1f3b44=0x0;_0x1f3b44<_0x4e957b['count'];_0x1f3b44++){_0x7e4ffb[_0x59e15d(0x1c5)](_0x4e957b,_0x1f3b44),_0x1049e1[_0x59e15d(0x197)](_0x7e4ffb);}if(_0x1049e1[_0x59e15d(0x192)]()>1e-12)return _0x1049e1['normalize']();}const _0x4b2edc=_0x55e16f['getAttribute']('position');if(!_0x4b2edc||_0x4b2edc[_0x59e15d(0x1f2)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x337572=_0x55e16f[_0x59e15d(0x185)](),_0x48f5ea=new three.Vector3(),_0x529684=new three.Vector3(),_0x4c401f=new three.Vector3(),_0x9a8e23=new three.Vector3(),_0x110657=new three.Vector3(),_0x1c0162=new three.Vector3(),_0x648218=new three.Vector3(),_0x41e3ec=_0x337572?Math[_0x59e15d(0x1dc)](_0x337572[_0x59e15d(0x1f2)]/0x3):Math[_0x59e15d(0x1dc)](_0x4b2edc[_0x59e15d(0x1f2)]/0x3);for(let _0x56f3ae=0x0;_0x56f3ae<_0x41e3ec;_0x56f3ae++){const _0x53d4fc=_0x337572?_0x337572[_0x59e15d(0x1d7)](_0x56f3ae*0x3+0x0):_0x56f3ae*0x3+0x0,_0x56c152=_0x337572?_0x337572[_0x59e15d(0x1d7)](_0x56f3ae*0x3+0x1):_0x56f3ae*0x3+0x1,_0x40c6d5=_0x337572?_0x337572[_0x59e15d(0x1d7)](_0x56f3ae*0x3+0x2):_0x56f3ae*0x3+0x2;_0x48f5ea[_0x59e15d(0x1c5)](_0x4b2edc,_0x53d4fc),_0x529684[_0x59e15d(0x1c5)](_0x4b2edc,_0x56c152),_0x4c401f[_0x59e15d(0x1c5)](_0x4b2edc,_0x40c6d5),_0x9a8e23[_0x59e15d(0x1f9)](_0x529684,_0x48f5ea),_0x110657[_0x59e15d(0x1f9)](_0x4c401f,_0x48f5ea),_0x648218[_0x59e15d(0x1dd)](_0x9a8e23,_0x110657);if(_0x648218[_0x59e15d(0x192)]()<1e-14)continue;_0x1c0162[_0x59e15d(0x197)](_0x648218);}if(_0x1c0162[_0x59e15d(0x192)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x1c0162['normalize']();}function collectOcclusionMeshes(_0x1a38f6){const _0xbafcb1=_0x1675,_0x2d5296=[];return _0x1a38f6[_0xbafcb1(0x1d4)](_0x1dd3d3=>{const _0x383d6b=_0xbafcb1;var _0x4afb65;const _0x581515=_0x1dd3d3;if(!(_0x581515===null||_0x581515===void 0?void 0:_0x581515[_0x383d6b(0x1cc)]))return;if(!_0x1dd3d3[_0x383d6b(0x1ac)])return;if((_0x4afb65=_0x1dd3d3['userData'])===null||_0x4afb65===void 0?void 0:_0x4afb65[_0x383d6b(0x1eb)])return;_0x2d5296[_0x383d6b(0x187)](_0x1dd3d3);}),_0x2d5296;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x205dd5(0x1ea)](){const _0x41af70=_0x205dd5;if(!this[_0x41af70(0x1be)])throw new Error(_0x41af70(0x1d8));return this[_0x41af70(0x1be)];}set[_0x205dd5(0x1ea)](_0x2b38f5){const _0x4bca1f=_0x205dd5;this['obj']=_0x2b38f5,this[_0x4bca1f(0x1be)]&&(this['obj'][_0x4bca1f(0x1a0)]['LYObject']=this);}constructor(_0x4822cc,_0x552b67,_0x35c5b1,_0x534882){const _0x297625=_0x205dd5;super(_0x4822cc,_0x534882),this[_0x297625(0x1a1)]=null,this[_0x297625(0x1ca)]=null,this[_0x297625(0x1ec)]=null,this[_0x297625(0x19d)]=[],this['alphaPunchMeshes']=[],this[_0x297625(0x1c2)]=null,this[_0x297625(0x180)]=new three.Vector3(),this[_0x297625(0x19b)]=new three.Vector3(),this['rayDir']=new three.Vector3(),this[_0x297625(0x1f6)]=new three.Raycaster(),this['occlusionCandidates']=[],this['name']='CSS3DWebPanelComponent',this[_0x297625(0x18b)]=_0x552b67['filter'](_0x2e043a=>!!_0x2e043a);const _0x1780a2=normalizeAssetUrl(_0x35c5b1);if(!_0x1780a2||!this[_0x297625(0x18b)][_0x297625(0x1ee)])return;this[_0x297625(0x1ec)]=this['meshes'][0x0];const _0x56512e=getMeshPlaneLocalSize(this[_0x297625(0x1ec)]),_0x1a3aa0=0x4b0,_0x10b7f9=Math['max'](0x200,Math[_0x297625(0x1fc)](0x1000,Math[_0x297625(0x17f)](_0x56512e[_0x297625(0x1db)]*_0x1a3aa0))),_0x5a08a1=Math['max'](0x200,Math[_0x297625(0x1fc)](0x1000,Math[_0x297625(0x17f)](_0x56512e[_0x297625(0x1fb)]*_0x1a3aa0))),_0x414f19=document[_0x297625(0x191)](_0x297625(0x1b8));_0x414f19[_0x297625(0x1e9)][_0x297625(0x1db)]=_0x10b7f9+'px',_0x414f19[_0x297625(0x1e9)][_0x297625(0x1fb)]=_0x5a08a1+'px',_0x414f19[_0x297625(0x1e9)]['pointerEvents']=_0x297625(0x199),_0x414f19[_0x297625(0x1e9)][_0x297625(0x1c4)]=_0x297625(0x1da),_0x414f19[_0x297625(0x1e9)]['background']=_0x297625(0x1a5),_0x414f19[_0x297625(0x1e9)][_0x297625(0x181)]=_0x297625(0x1da),this['wrapper']=_0x414f19;const _0x59ef96=document[_0x297625(0x191)]('iframe');_0x59ef96[_0x297625(0x19f)]=_0x1780a2,_0x59ef96['style'][_0x297625(0x1db)]=_0x297625(0x1b6),_0x59ef96[_0x297625(0x1e9)][_0x297625(0x1fb)]=_0x297625(0x1b6),_0x59ef96['style'][_0x297625(0x1a6)]='0',_0x59ef96[_0x297625(0x1e9)]['background']=_0x297625(0x1a5),_0x59ef96[_0x297625(0x1e9)][_0x297625(0x1ef)]='auto',_0x59ef96['style'][_0x297625(0x181)]=_0x297625(0x1da),_0x59ef96[_0x297625(0x1ed)](_0x297625(0x1f8),_0x297625(0x1b1)),_0x59ef96[_0x297625(0x1ed)]('allowfullscreen',_0x297625(0x1e6)),_0x59ef96[_0x297625(0x1ed)]('loading',_0x297625(0x1de)),_0x414f19[_0x297625(0x1e5)](_0x59ef96),this['iframe']=_0x59ef96;const _0xc6e900=new Addons_js.CSS3DObject(_0x414f19);_0xc6e900[_0x297625(0x1b9)]=(this[_0x297625(0x1ec)][_0x297625(0x1b9)]||_0x297625(0x1a2))+_0x297625(0x196),_0xc6e900[_0x297625(0x1aa)]['set'](0x0,0x0,0.001),_0xc6e900[_0x297625(0x1bd)][_0x297625(0x1a3)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this[_0x297625(0x1ec)])),_0xc6e900['scale']['set'](_0x56512e[_0x297625(0x1db)]/_0x10b7f9,_0x56512e[_0x297625(0x1fb)]/_0x5a08a1,0x1),this[_0x297625(0x1ea)]=_0xc6e900,this['targetMesh']['add'](_0xc6e900),this[_0x297625(0x19a)](),this['occlusionCandidates']=collectOcclusionMeshes(this[_0x297625(0x1d3)][_0x297625(0x1bf)][_0x297625(0x1a4)]),this[_0x297625(0x1c7)]();}[_0x205dd5(0x1e3)](){const _0x3da1e3=_0x205dd5;return new Addons_js.CSS3DObject(document[_0x3da1e3(0x191)](_0x3da1e3(0x1b8)));}[_0x205dd5(0x19a)](){const _0x140ab9=_0x205dd5;var _0x11a1b6;for(const _0x51aabd of this[_0x140ab9(0x18b)]){_0x51aabd['renderOrder']=Math[_0x140ab9(0x1fc)]((_0x11a1b6=_0x51aabd[_0x140ab9(0x1ad)])!==null&&_0x11a1b6!==void 0?_0x11a1b6:0x0,-1e3),_0x51aabd[_0x140ab9(0x1df)]=![],_0x51aabd[_0x140ab9(0x18d)]=![];const _0x11950e=Array[_0x140ab9(0x188)](_0x51aabd['material'])?_0x51aabd[_0x140ab9(0x194)]:[_0x51aabd[_0x140ab9(0x194)]];for(const _0x32cea3 of _0x11950e){const _0x5bcd2c=_0x32cea3;if(!_0x5bcd2c)continue;_0x5bcd2c['transparent']=!![],_0x5bcd2c[_0x140ab9(0x1ba)]=0x0,_0x5bcd2c[_0x140ab9(0x1c6)]=![],_0x5bcd2c[_0x140ab9(0x1f1)]=![],_0x5bcd2c[_0x140ab9(0x1fa)]=![],_0x5bcd2c[_0x140ab9(0x1bc)]=!![];}const _0x51faaf=_0x51aabd[_0x140ab9(0x18c)];if(!_0x51faaf)continue;const _0x15bd79=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x15bd79[_0x140ab9(0x1c6)]=![],_0x15bd79[_0x140ab9(0x1ae)]=![],_0x15bd79[_0x140ab9(0x18e)]=![],_0x15bd79[_0x140ab9(0x1ab)]=three.NoBlending,_0x15bd79[_0x140ab9(0x1cb)]=!![],_0x15bd79[_0x140ab9(0x18f)]=-4,_0x15bd79['polygonOffsetUnits']=-4;const _0x4a636f=new three.Mesh(_0x51faaf,_0x15bd79);_0x4a636f[_0x140ab9(0x1b9)]=(_0x51aabd['name']||_0x140ab9(0x19c))+_0x140ab9(0x1c1),_0x4a636f['userData'][_0x140ab9(0x1eb)]=!![],_0x4a636f[_0x140ab9(0x1ad)]=Math[_0x140ab9(0x1fc)](_0x51aabd[_0x140ab9(0x1ad)]-0x1,-2e3),_0x4a636f['position']['set'](0x0,0x0,0x0),_0x4a636f[_0x140ab9(0x1bd)][_0x140ab9(0x1fd)](0x0,0x0,0x0,0x1),_0x4a636f[_0x140ab9(0x1a8)]['set'](0x1,0x1,0x1),_0x51aabd[_0x140ab9(0x197)](_0x4a636f),this[_0x140ab9(0x19d)][_0x140ab9(0x187)](_0x4a636f);const _0x34621f=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x34621f['toneMapped']=![],_0x34621f['fog']=![],_0x34621f['blendEquation']=three.AddEquation,_0x34621f[_0x140ab9(0x1e0)]=three.ZeroFactor,_0x34621f[_0x140ab9(0x1d1)]=three.OneFactor,_0x34621f[_0x140ab9(0x1d9)]=three.ZeroFactor,_0x34621f[_0x140ab9(0x1b0)]=three.ZeroFactor;const _0x7d8d90=new three.Mesh(_0x51faaf,_0x34621f);_0x7d8d90[_0x140ab9(0x1b9)]=(_0x51aabd['name']||'canvas')+_0x140ab9(0x1e4),_0x7d8d90[_0x140ab9(0x1a0)][_0x140ab9(0x1eb)]=!![],_0x7d8d90[_0x140ab9(0x1ad)]=Math[_0x140ab9(0x1b4)](_0x51aabd[_0x140ab9(0x1ad)]+0x3e8,0x3e8),_0x7d8d90['position'][_0x140ab9(0x1fd)](0x0,0x0,0x0),_0x7d8d90['quaternion'][_0x140ab9(0x1fd)](0x0,0x0,0x0,0x1),_0x7d8d90['scale'][_0x140ab9(0x1fd)](0x1,0x1,0x1),_0x51aabd[_0x140ab9(0x197)](_0x7d8d90),this[_0x140ab9(0x19e)][_0x140ab9(0x187)](_0x7d8d90);}}['setupOcclusionTick'](){const _0x54e5bd=_0x205dd5;let _0x21881f=0x0;this[_0x54e5bd(0x1c2)]=_0x2efb5e=>{const _0xeebe16=_0x54e5bd;var _0x91e221;if(!this[_0xeebe16(0x1ec)]||!this['wrapper']||!this['iframe'])return;_0x21881f+=_0x2efb5e;if(_0x21881f<0.05)return;_0x21881f=0x0;const _0x260352=this['app'][_0xeebe16(0x1d2)];_0x260352[_0xeebe16(0x1e8)](this[_0xeebe16(0x180)]),this[_0xeebe16(0x1ec)][_0xeebe16(0x1e8)](this[_0xeebe16(0x19b)]),this[_0xeebe16(0x182)][_0xeebe16(0x1f9)](this['panelWorldPos'],this[_0xeebe16(0x180)]);const _0x335ec8=this[_0xeebe16(0x182)][_0xeebe16(0x1ee)]();if(_0x335ec8<=0.00001)return;this['rayDir'][_0xeebe16(0x1c0)](_0x335ec8),this['raycaster'][_0xeebe16(0x1fd)](this[_0xeebe16(0x180)],this[_0xeebe16(0x182)]);const _0x4948cf=this['raycaster'][_0xeebe16(0x1c8)](this[_0xeebe16(0x1b3)],!![]);let _0x2f5928=![];const _0x3d6e44=_0x335ec8-0.02;for(const _0x94288d of _0x4948cf){if(_0x94288d[_0xeebe16(0x1d0)]>=_0x3d6e44)break;let _0x5cd241=_0x94288d[_0xeebe16(0x1b5)],_0x250d41=!![];while(_0x5cd241){if(!_0x5cd241[_0xeebe16(0x1ac)]){_0x250d41=![];break;}_0x5cd241=_0x5cd241[_0xeebe16(0x195)];}if(!_0x250d41)continue;_0x5cd241=_0x94288d['object'];let _0x45e3f5=![];while(_0x5cd241){if(this[_0xeebe16(0x18b)][_0xeebe16(0x186)](_0x5cd241)){_0x45e3f5=!![];break;}_0x5cd241=_0x5cd241['parent'];}if(_0x45e3f5)continue;_0x2f5928=!![];break;}const _0x11e51a=((_0x91e221=this[_0xeebe16(0x1d3)][_0xeebe16(0x1cd)][_0xeebe16(0x1f4)])===null||_0x91e221===void 0?void 0:_0x91e221[_0xeebe16(0x1bb)]['lyCameraDragging'])==='1',_0x47a8b9=_0x11e51a||_0x2f5928?_0xeebe16(0x1b7):_0xeebe16(0x199);this[_0xeebe16(0x1a1)][_0xeebe16(0x1e9)][_0xeebe16(0x1ef)]!==_0x47a8b9&&(this[_0xeebe16(0x1a1)][_0xeebe16(0x1e9)][_0xeebe16(0x1ef)]=_0x47a8b9),this[_0xeebe16(0x1ca)][_0xeebe16(0x1e9)]['pointerEvents']!==_0x47a8b9&&(this[_0xeebe16(0x1ca)][_0xeebe16(0x1e9)][_0xeebe16(0x1ef)]=_0x47a8b9);},this[_0x54e5bd(0x1d3)]['addTickingFunction'](this[_0x54e5bd(0x1c2)]);}[_0x205dd5(0x198)](){const _0x3655fa=_0x205dd5;this[_0x3655fa(0x1c2)]&&(this[_0x3655fa(0x1d3)][_0x3655fa(0x1d6)](this[_0x3655fa(0x1c2)]),this[_0x3655fa(0x1c2)]=null);for(const _0x51801d of this['depthMaskMeshes']){_0x51801d['removeFromParent']();const _0x2719c8=_0x51801d['material'];if(Array[_0x3655fa(0x188)](_0x2719c8)){for(const _0x46ad3d of _0x2719c8)_0x46ad3d===null||_0x46ad3d===void 0?void 0:_0x46ad3d[_0x3655fa(0x1f5)]();}else _0x2719c8===null||_0x2719c8===void 0?void 0:_0x2719c8['dispose']();}this[_0x3655fa(0x19d)][_0x3655fa(0x1ee)]=0x0;for(const _0x1790f0 of this[_0x3655fa(0x19e)]){_0x1790f0[_0x3655fa(0x183)]();const _0xddc078=_0x1790f0[_0x3655fa(0x194)];if(Array[_0x3655fa(0x188)](_0xddc078)){for(const _0x57af6a of _0xddc078)_0x57af6a===null||_0x57af6a===void 0?void 0:_0x57af6a[_0x3655fa(0x1f5)]();}else _0xddc078===null||_0xddc078===void 0?void 0:_0xddc078[_0x3655fa(0x1f5)]();}this[_0x3655fa(0x19e)]['length']=0x0,this[_0x3655fa(0x1ca)]&&(this[_0x3655fa(0x1ca)]['src']=_0x3655fa(0x1f3),this['iframe']=null),this['wrapper']&&(this[_0x3655fa(0x1a1)][_0x3655fa(0x1c9)](),this[_0x3655fa(0x1a1)]=null),this['targetMesh']=null,this[_0x3655fa(0x1b3)]=[],super[_0x3655fa(0x198)]();}}
|
|
138
|
+
const _0xc4eecf=_0x46f3;(function(_0x170ad4,_0x59c31d){const _0xd557da=_0x46f3,_0x517f64=_0x170ad4();while(!![]){try{const _0xf06636=-parseInt(_0xd557da(0x102))/0x1+-parseInt(_0xd557da(0xf2))/0x2*(parseInt(_0xd557da(0x143))/0x3)+-parseInt(_0xd557da(0x10d))/0x4+parseInt(_0xd557da(0x105))/0x5*(parseInt(_0xd557da(0xf9))/0x6)+-parseInt(_0xd557da(0xd6))/0x7*(-parseInt(_0xd557da(0x144))/0x8)+parseInt(_0xd557da(0xde))/0x9+parseInt(_0xd557da(0xd3))/0xa;if(_0xf06636===_0x59c31d)break;else _0x517f64['push'](_0x517f64['shift']());}catch(_0x510ebc){_0x517f64['push'](_0x517f64['shift']());}}}(_0x2cf6,0x61140));function _0x46f3(_0x2b5dd6,_0x32e5c2){_0x2b5dd6=_0x2b5dd6-0xcf;const _0x2cf66d=_0x2cf6();let _0x46f3e4=_0x2cf66d[_0x2b5dd6];return _0x46f3e4;}function normalizeAssetUrl(_0x36eb31){const _0x27ae3a=_0x46f3,_0x2812f2=String(_0x36eb31!==null&&_0x36eb31!==void 0?_0x36eb31:'')[_0x27ae3a(0xf1)]();if(!_0x2812f2)return '';if(/^https?:\/\//i[_0x27ae3a(0xd8)](_0x2812f2))return _0x2812f2;if(_0x2812f2['startsWith']('/'))return _0x2812f2;return '/'+_0x2812f2;}function getMeshPlaneLocalSize(_0x5154fd){const _0x72b5dd=_0x46f3,_0x43af5c=_0x5154fd[_0x72b5dd(0x113)];if(!_0x43af5c)return {'width':0x1,'height':0x1};if(!_0x43af5c['boundingBox'])_0x43af5c[_0x72b5dd(0xeb)]();const _0x2778da=_0x43af5c['boundingBox'];if(!_0x2778da)return {'width':0x1,'height':0x1};const _0x1c577c=_0x2778da['getSize'](new three.Vector3()),_0x4bbf99=[Math[_0x72b5dd(0x128)](_0x1c577c['x']),Math[_0x72b5dd(0x128)](_0x1c577c['y']),Math[_0x72b5dd(0x128)](_0x1c577c['z'])][_0x72b5dd(0x123)]((_0x4bd9c2,_0x1d4f9b)=>_0x1d4f9b-_0x4bd9c2),_0x49c901=Math['max'](0.0001,_0x4bbf99[0x0]||0x1),_0x194519=Math[_0x72b5dd(0x132)](0.0001,_0x4bbf99[0x1]||_0x49c901);return {'width':_0x49c901,'height':_0x194519};}function getMeshLocalNormal(_0xc81bcf){const _0x5ac836=_0x46f3,_0x29828f=_0xc81bcf[_0x5ac836(0x113)];if(!_0x29828f)return new three.Vector3(0x0,0x0,0x1);const _0x58c3d4=_0x29828f[_0x5ac836(0x127)](_0x5ac836(0xf4));if(_0x58c3d4&&_0x58c3d4['count']>0x0){const _0x21f01f=new three.Vector3(),_0x2b3635=new three.Vector3();for(let _0x3ea323=0x0;_0x3ea323<_0x58c3d4[_0x5ac836(0xe5)];_0x3ea323++){_0x2b3635[_0x5ac836(0x142)](_0x58c3d4,_0x3ea323),_0x21f01f['add'](_0x2b3635);}if(_0x21f01f[_0x5ac836(0x135)]()>1e-12)return _0x21f01f[_0x5ac836(0x12a)]();}const _0x59b0a7=_0x29828f[_0x5ac836(0x127)](_0x5ac836(0x103));if(!_0x59b0a7||_0x59b0a7[_0x5ac836(0xe5)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0xfc1d5d=_0x29828f[_0x5ac836(0xdb)](),_0xde1d2a=new three.Vector3(),_0xf4ac0e=new three.Vector3(),_0xb12f88=new three.Vector3(),_0x1dce0c=new three.Vector3(),_0x27b62a=new three.Vector3(),_0x1b39dd=new three.Vector3(),_0x1c9695=new three.Vector3(),_0x3c6ecb=_0xfc1d5d?Math[_0x5ac836(0x13e)](_0xfc1d5d[_0x5ac836(0xe5)]/0x3):Math[_0x5ac836(0x13e)](_0x59b0a7[_0x5ac836(0xe5)]/0x3);for(let _0xda428d=0x0;_0xda428d<_0x3c6ecb;_0xda428d++){const _0x3dcf9e=_0xfc1d5d?_0xfc1d5d[_0x5ac836(0xe8)](_0xda428d*0x3+0x0):_0xda428d*0x3+0x0,_0x328652=_0xfc1d5d?_0xfc1d5d[_0x5ac836(0xe8)](_0xda428d*0x3+0x1):_0xda428d*0x3+0x1,_0x4b47b0=_0xfc1d5d?_0xfc1d5d[_0x5ac836(0xe8)](_0xda428d*0x3+0x2):_0xda428d*0x3+0x2;_0xde1d2a[_0x5ac836(0x142)](_0x59b0a7,_0x3dcf9e),_0xf4ac0e['fromBufferAttribute'](_0x59b0a7,_0x328652),_0xb12f88[_0x5ac836(0x142)](_0x59b0a7,_0x4b47b0),_0x1dce0c[_0x5ac836(0xf8)](_0xf4ac0e,_0xde1d2a),_0x27b62a[_0x5ac836(0xf8)](_0xb12f88,_0xde1d2a),_0x1c9695[_0x5ac836(0x126)](_0x1dce0c,_0x27b62a);if(_0x1c9695[_0x5ac836(0x135)]()<1e-14)continue;_0x1b39dd['add'](_0x1c9695);}if(_0x1b39dd['lengthSq']()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x1b39dd[_0x5ac836(0x12a)]();}function collectOcclusionMeshes(_0xd45e17){const _0x3e4fcb=_0x46f3,_0x5b5c8e=[];return _0xd45e17[_0x3e4fcb(0xed)](_0x2aa02d=>{const _0x2584eb=_0x3e4fcb;var _0x27158d;const _0x1f880e=_0x2aa02d;if(!(_0x1f880e===null||_0x1f880e===void 0?void 0:_0x1f880e[_0x2584eb(0x12b)]))return;if(!_0x2aa02d[_0x2584eb(0x124)])return;if((_0x27158d=_0x2aa02d[_0x2584eb(0x145)])===null||_0x27158d===void 0?void 0:_0x27158d[_0x2584eb(0xe4)])return;_0x5b5c8e[_0x2584eb(0xfb)](_0x2aa02d);}),_0x5b5c8e;}class CSS3DWebPanelComponent extends SceneComponent{get[_0xc4eecf(0x100)](){const _0x4cfb38=_0xc4eecf;if(!this['obj'])throw new Error(_0x4cfb38(0xd2));return this[_0x4cfb38(0x13b)];}set[_0xc4eecf(0x100)](_0x40de24){const _0x10f7bd=_0xc4eecf;this[_0x10f7bd(0x13b)]=_0x40de24,this[_0x10f7bd(0x13b)]&&(this[_0x10f7bd(0x13b)][_0x10f7bd(0x145)][_0x10f7bd(0xe2)]=this);}constructor(_0x4ed083,_0x465f83,_0x17938a,_0x91aac7){const _0x567e68=_0xc4eecf;super(_0x4ed083,_0x91aac7),this[_0x567e68(0xea)]=null,this[_0x567e68(0x138)]=null,this[_0x567e68(0x10c)]=null,this[_0x567e68(0xf6)]=[],this['alphaPunchMeshes']=[],this['tickFunc']=null,this[_0x567e68(0x10e)]=new three.Vector3(),this[_0x567e68(0x122)]=new three.Vector3(),this['rayDir']=new three.Vector3(),this['raycaster']=new three.Raycaster(),this[_0x567e68(0x12c)]=[],this[_0x567e68(0x137)]=_0x567e68(0x114),this[_0x567e68(0xff)]=_0x465f83['filter'](_0x3c9525=>!!_0x3c9525);const _0x35c38a=normalizeAssetUrl(_0x17938a);if(!_0x35c38a||!this[_0x567e68(0xff)][_0x567e68(0xf3)])return;this[_0x567e68(0x10c)]=this[_0x567e68(0xff)][0x0];const _0x415545=getMeshPlaneLocalSize(this[_0x567e68(0x10c)]),_0x4c54b4=0x4b0,_0x5859ad=Math[_0x567e68(0x132)](0x200,Math[_0x567e68(0x101)](0x1000,Math[_0x567e68(0x147)](_0x415545[_0x567e68(0x121)]*_0x4c54b4))),_0x1c407a=Math[_0x567e68(0x132)](0x200,Math[_0x567e68(0x101)](0x1000,Math[_0x567e68(0x147)](_0x415545[_0x567e68(0x118)]*_0x4c54b4))),_0x510e72=document[_0x567e68(0x10a)]('div');_0x510e72[_0x567e68(0x112)][_0x567e68(0x121)]=_0x5859ad+'px',_0x510e72['style'][_0x567e68(0x118)]=_0x1c407a+'px',_0x510e72[_0x567e68(0x112)]['pointerEvents']=_0x567e68(0x130),_0x510e72[_0x567e68(0x112)][_0x567e68(0x140)]=_0x567e68(0x109),_0x510e72['style'][_0x567e68(0x148)]=_0x567e68(0xd7),_0x510e72[_0x567e68(0x112)][_0x567e68(0x12d)]=_0x567e68(0x109),this[_0x567e68(0xea)]=_0x510e72;const _0xaa098b=document[_0x567e68(0x10a)]('iframe');_0xaa098b[_0x567e68(0x107)]=_0x35c38a,_0xaa098b[_0x567e68(0x112)]['width']=_0x567e68(0x11b),_0xaa098b['style'][_0x567e68(0x118)]=_0x567e68(0x11b),_0xaa098b[_0x567e68(0x112)][_0x567e68(0x11d)]='0',_0xaa098b[_0x567e68(0x112)][_0x567e68(0x148)]=_0x567e68(0xd7),_0xaa098b[_0x567e68(0x112)][_0x567e68(0x116)]='auto',_0xaa098b[_0x567e68(0x112)][_0x567e68(0x12d)]=_0x567e68(0x109),_0xaa098b[_0x567e68(0xe3)](_0x567e68(0xe1),_0x567e68(0xdc)),_0xaa098b[_0x567e68(0xe3)](_0x567e68(0x110),_0x567e68(0x117)),_0xaa098b[_0x567e68(0xe3)](_0x567e68(0x13c),'lazy'),_0x510e72['appendChild'](_0xaa098b),this[_0x567e68(0x138)]=_0xaa098b;const _0x4932ea=new Addons_js.CSS3DObject(_0x510e72);_0x4932ea[_0x567e68(0x137)]=(this[_0x567e68(0x10c)][_0x567e68(0x137)]||'wallboard')+_0x567e68(0xcf),_0x4932ea[_0x567e68(0x103)][_0x567e68(0x120)](0x0,0x0,0.001),_0x4932ea[_0x567e68(0xf7)][_0x567e68(0xda)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0x4932ea['scale']['set'](_0x415545[_0x567e68(0x121)]/_0x5859ad,_0x415545[_0x567e68(0x118)]/_0x1c407a,0x1),this[_0x567e68(0x100)]=_0x4932ea,this[_0x567e68(0x10c)][_0x567e68(0x13d)](_0x4932ea),this[_0x567e68(0xd9)](),this['occlusionCandidates']=collectOcclusionMeshes(this['app'][_0x567e68(0xd5)]['scene']),this[_0x567e68(0x125)]();}[_0xc4eecf(0xf5)](){const _0x248f7a=_0xc4eecf;return new Addons_js.CSS3DObject(document['createElement'](_0x248f7a(0xf0)));}[_0xc4eecf(0xd9)](){const _0x3acd5c=_0xc4eecf;var _0x5d352d;for(const _0x9027f6 of this[_0x3acd5c(0xff)]){_0x9027f6[_0x3acd5c(0xfd)]=Math[_0x3acd5c(0x101)]((_0x5d352d=_0x9027f6[_0x3acd5c(0xfd)])!==null&&_0x5d352d!==void 0?_0x5d352d:0x0,-1e3),_0x9027f6[_0x3acd5c(0x11c)]=![],_0x9027f6['receiveShadow']=![];const _0x137e4e=Array[_0x3acd5c(0x11e)](_0x9027f6[_0x3acd5c(0x111)])?_0x9027f6[_0x3acd5c(0x111)]:[_0x9027f6[_0x3acd5c(0x111)]];for(const _0x3365c5 of _0x137e4e){const _0xb9a943=_0x3365c5;if(!_0xb9a943)continue;_0xb9a943[_0x3acd5c(0xd7)]=!![],_0xb9a943['opacity']=0x0,_0xb9a943['colorWrite']=![],_0xb9a943[_0x3acd5c(0xe9)]=![],_0xb9a943[_0x3acd5c(0x141)]=![],_0xb9a943[_0x3acd5c(0xd1)]=!![];}const _0xf52760=_0x9027f6[_0x3acd5c(0x113)];if(!_0xf52760)continue;const _0x3cbb2d=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x3cbb2d['colorWrite']=![],_0x3cbb2d['toneMapped']=![],_0x3cbb2d['fog']=![],_0x3cbb2d[_0x3acd5c(0xef)]=three.NoBlending,_0x3cbb2d[_0x3acd5c(0xdd)]=!![],_0x3cbb2d[_0x3acd5c(0x119)]=-4,_0x3cbb2d[_0x3acd5c(0x149)]=-4;const _0x38b878=new three.Mesh(_0xf52760,_0x3cbb2d);_0x38b878[_0x3acd5c(0x137)]=(_0x9027f6[_0x3acd5c(0x137)]||'canvas')+_0x3acd5c(0x133),_0x38b878['userData'][_0x3acd5c(0xe4)]=!![],_0x38b878[_0x3acd5c(0xfd)]=Math['min'](_0x9027f6[_0x3acd5c(0xfd)]-0x1,-2e3),_0x38b878[_0x3acd5c(0x103)][_0x3acd5c(0x120)](0x0,0x0,0x0),_0x38b878[_0x3acd5c(0xf7)][_0x3acd5c(0x120)](0x0,0x0,0x0,0x1),_0x38b878[_0x3acd5c(0x131)][_0x3acd5c(0x120)](0x1,0x1,0x1),_0x9027f6[_0x3acd5c(0x13d)](_0x38b878),this['depthMaskMeshes']['push'](_0x38b878);const _0x17f1ee=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x17f1ee[_0x3acd5c(0x139)]=![],_0x17f1ee[_0x3acd5c(0x11f)]=![],_0x17f1ee[_0x3acd5c(0x10f)]=three.AddEquation,_0x17f1ee[_0x3acd5c(0x108)]=three.ZeroFactor,_0x17f1ee[_0x3acd5c(0x104)]=three.OneFactor,_0x17f1ee[_0x3acd5c(0x136)]=three.ZeroFactor,_0x17f1ee[_0x3acd5c(0x134)]=three.ZeroFactor;const _0x4e1e5d=new three.Mesh(_0xf52760,_0x17f1ee);_0x4e1e5d[_0x3acd5c(0x137)]=(_0x9027f6[_0x3acd5c(0x137)]||_0x3acd5c(0xee))+_0x3acd5c(0x12f),_0x4e1e5d[_0x3acd5c(0x145)][_0x3acd5c(0xe4)]=!![],_0x4e1e5d[_0x3acd5c(0xfd)]=Math[_0x3acd5c(0x132)](_0x9027f6[_0x3acd5c(0xfd)]+0x3e8,0x3e8),_0x4e1e5d[_0x3acd5c(0x103)]['set'](0x0,0x0,0x0),_0x4e1e5d[_0x3acd5c(0xf7)]['set'](0x0,0x0,0x0,0x1),_0x4e1e5d[_0x3acd5c(0x131)][_0x3acd5c(0x120)](0x1,0x1,0x1),_0x9027f6['add'](_0x4e1e5d),this[_0x3acd5c(0x115)][_0x3acd5c(0xfb)](_0x4e1e5d);}}[_0xc4eecf(0x125)](){const _0x16ca1f=_0xc4eecf;let _0x32cce1=0x0;this[_0x16ca1f(0xe6)]=_0x30f480=>{const _0xdd1e9e=_0x16ca1f;var _0x422d79;if(!this['targetMesh']||!this[_0xdd1e9e(0xea)]||!this[_0xdd1e9e(0x138)])return;_0x32cce1+=_0x30f480;if(_0x32cce1<0.05)return;_0x32cce1=0x0;const _0x1c410d=this['app'][_0xdd1e9e(0x14a)];_0x1c410d[_0xdd1e9e(0x13a)](this['cameraWorldPos']),this[_0xdd1e9e(0x10c)][_0xdd1e9e(0x13a)](this['panelWorldPos']),this[_0xdd1e9e(0xe0)]['subVectors'](this['panelWorldPos'],this[_0xdd1e9e(0x10e)]);const _0x3e159a=this[_0xdd1e9e(0xe0)]['length']();if(_0x3e159a<=0.00001)return;this['rayDir']['divideScalar'](_0x3e159a),this[_0xdd1e9e(0x10b)][_0xdd1e9e(0x120)](this[_0xdd1e9e(0x10e)],this[_0xdd1e9e(0xe0)]);const _0x2a09ad=this[_0xdd1e9e(0x10b)][_0xdd1e9e(0xfe)](this[_0xdd1e9e(0x12c)],!![]);let _0x1ec2fc=![];const _0x15a0c9=_0x3e159a-0.02;for(const _0x63f607 of _0x2a09ad){if(_0x63f607[_0xdd1e9e(0xfa)]>=_0x15a0c9)break;let _0x123b5f=_0x63f607[_0xdd1e9e(0xec)],_0x30d3dd=!![];while(_0x123b5f){if(!_0x123b5f[_0xdd1e9e(0x124)]){_0x30d3dd=![];break;}_0x123b5f=_0x123b5f[_0xdd1e9e(0x13f)];}if(!_0x30d3dd)continue;_0x123b5f=_0x63f607['object'];let _0xf271b4=![];while(_0x123b5f){if(this[_0xdd1e9e(0xff)][_0xdd1e9e(0xe7)](_0x123b5f)){_0xf271b4=!![];break;}_0x123b5f=_0x123b5f[_0xdd1e9e(0x13f)];}if(_0xf271b4)continue;_0x1ec2fc=!![];break;}const _0x313129=((_0x422d79=this[_0xdd1e9e(0x12e)][_0xdd1e9e(0x146)][_0xdd1e9e(0xfc)])===null||_0x422d79===void 0?void 0:_0x422d79[_0xdd1e9e(0x11a)][_0xdd1e9e(0xd0)])==='1',_0x438d6e=_0x313129||_0x1ec2fc?'none':_0xdd1e9e(0x130);this[_0xdd1e9e(0xea)][_0xdd1e9e(0x112)][_0xdd1e9e(0x116)]!==_0x438d6e&&(this[_0xdd1e9e(0xea)][_0xdd1e9e(0x112)][_0xdd1e9e(0x116)]=_0x438d6e),this[_0xdd1e9e(0x138)]['style'][_0xdd1e9e(0x116)]!==_0x438d6e&&(this[_0xdd1e9e(0x138)][_0xdd1e9e(0x112)][_0xdd1e9e(0x116)]=_0x438d6e);},this['app']['addTickingFunction'](this['tickFunc']);}[_0xc4eecf(0x129)](){const _0x83113d=_0xc4eecf;this['tickFunc']&&(this['app'][_0x83113d(0x106)](this[_0x83113d(0xe6)]),this[_0x83113d(0xe6)]=null);for(const _0x20477b of this[_0x83113d(0xf6)]){_0x20477b[_0x83113d(0xd4)]();const _0x140b1b=_0x20477b[_0x83113d(0x111)];if(Array[_0x83113d(0x11e)](_0x140b1b)){for(const _0x3bdcc1 of _0x140b1b)_0x3bdcc1===null||_0x3bdcc1===void 0?void 0:_0x3bdcc1['dispose']();}else _0x140b1b===null||_0x140b1b===void 0?void 0:_0x140b1b[_0x83113d(0xdf)]();}this[_0x83113d(0xf6)]['length']=0x0;for(const _0x38b255 of this[_0x83113d(0x115)]){_0x38b255[_0x83113d(0xd4)]();const _0x20ca4d=_0x38b255['material'];if(Array[_0x83113d(0x11e)](_0x20ca4d)){for(const _0x43de3c of _0x20ca4d)_0x43de3c===null||_0x43de3c===void 0?void 0:_0x43de3c[_0x83113d(0xdf)]();}else _0x20ca4d===null||_0x20ca4d===void 0?void 0:_0x20ca4d[_0x83113d(0xdf)]();}this[_0x83113d(0x115)][_0x83113d(0xf3)]=0x0,this[_0x83113d(0x138)]&&(this[_0x83113d(0x138)][_0x83113d(0x107)]='about:blank',this[_0x83113d(0x138)]=null),this[_0x83113d(0xea)]&&(this[_0x83113d(0xea)]['remove'](),this[_0x83113d(0xea)]=null),this[_0x83113d(0x10c)]=null,this[_0x83113d(0x12c)]=[],super[_0x83113d(0x129)]();}}function _0x2cf6(){const _0x58a5b4=['length','normal','createDefaultObject','depthMaskMeshes','quaternion','subVectors','24phiUIL','distance','push','outer','renderOrder','intersectObjects','meshes','threeObject','min','759429nxlFAo','position','blendDst','420335AngIFn','removeTickingFunction','src','blendSrc','hidden','createElement','raycaster','targetMesh','2498764meDCtx','cameraWorldPos','blendEquation','allowfullscreen','material','style','geometry','CSS3DWebPanelComponent','alphaPunchMeshes','pointerEvents','true','height','polygonOffsetFactor','dataset','100%','castShadow','border','isArray','fog','set','width','panelWorldPos','sort','visible','setupOcclusionTick','crossVectors','getAttribute','abs','destroy','normalize','isMesh','occlusionCandidates','backfaceVisibility','app','__alpha_punch','auto','scale','max','__depth_mask','blendDstAlpha','lengthSq','blendSrcAlpha','name','iframe','toneMapped','getWorldPosition','obj','loading','add','floor','parent','overflow','depthWrite','fromBufferAttribute','88647feOXjp','140648oJhAAx','userData','viewport','round','background','polygonOffsetUnits','camera','__css3d_web','lyCameraDragging','needsUpdate','threeObject\x20is\x20null','12446780VqKIoO','removeFromParent','world','217lbyLQN','transparent','test','setupMasks','setFromUnitVectors','getIndex','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','polygonOffset','1423152xZGdPO','dispose','rayDir','allow','LYObject','setAttribute','rayIgnored','count','tickFunc','includes','getX','depthTest','wrapper','computeBoundingBox','object','traverse','canvas','blending','div','trim','34PkwZzE'];_0x2cf6=function(){return _0x58a5b4;};return _0x2cf6();}
|
|
139
139
|
|
|
140
|
-
const
|
|
140
|
+
const _0x24c2d8=_0x4067;function _0x2c93(){const _0x5dd23e=['9YmupGP','isArray','world','_size','color','updateMaterial','4480902mzcfNg','_color','10UYimBo','3jloFyA','_bevelThickness','bevelSegments','bevelEnabled','_sideColor','_height','_isUnlit','186630FEiQXg','_bevelEnabled','60916SMbbll','max','fontUrl','bevelThickness','userData','https://threejs.org/examples/fonts/helvetiker_regular.typeface.json','set','text','forEach','destroy','_fontCache','remove','has','dispose','_bevelSize','_curveSegments','get','_mesh','size','1332412vgvoVv','4367pMEzSD','loadFontAndRefresh','_group','boundingBox','min','error','height','viewport','refreshGeometry','#ffffff','loadAsync','_text','169561WhOqDl','_font','7930CDQTDw','length','material','translate','sideColor','markRenderStateDirty','_fontUrl','_bevelOffset','bevelSize','_fontLoader','5584088JxAsjI','geometry','_bevelSegments','curveSegments','add'];_0x2c93=function(){return _0x5dd23e;};return _0x2c93();}function _0x4067(_0x8d804e,_0x43585d){_0x8d804e=_0x8d804e-0x102;const _0x2c93f3=_0x2c93();let _0x4067c5=_0x2c93f3[_0x8d804e];return _0x4067c5;}(function(_0x4cea2d,_0x80e252){const _0x315e19=_0x4067,_0x1abf4e=_0x4cea2d();while(!![]){try{const _0x2c4bb3=parseInt(_0x315e19(0x11e))/0x1*(-parseInt(_0x315e19(0x128))/0x2)+-parseInt(_0x315e19(0x11f))/0x3*(-parseInt(_0x315e19(0x13b))/0x4)+-parseInt(_0x315e19(0x126))/0x5+parseInt(_0x315e19(0x11c))/0x6+parseInt(_0x315e19(0x105))/0x7+parseInt(_0x315e19(0x111))/0x8*(-parseInt(_0x315e19(0x116))/0x9)+parseInt(_0x315e19(0x107))/0xa*(parseInt(_0x315e19(0x13c))/0xb);if(_0x2c4bb3===_0x80e252)break;else _0x1abf4e['push'](_0x1abf4e['shift']());}catch(_0x22d3ac){_0x1abf4e['push'](_0x1abf4e['shift']());}}}(_0x2c93,0x5c8a7));class Text3DComponent extends SceneComponent{constructor(_0x2b68bf,_0x557e28,_0x40b12d){const _0x1e5a3f=_0x4067;super(_0x2b68bf,_0x40b12d),this[_0x1e5a3f(0x104)]='Text',this[_0x1e5a3f(0x10d)]=_0x1e5a3f(0x12d),this[_0x1e5a3f(0x119)]=0x1,this['_height']=0.2,this['_curveSegments']=0xc,this[_0x1e5a3f(0x127)]=![],this[_0x1e5a3f(0x120)]=0.03,this['_bevelSize']=0.02,this[_0x1e5a3f(0x10e)]=0x0,this['_bevelSegments']=0x5,this[_0x1e5a3f(0x11d)]=_0x1e5a3f(0x102),this['_sideColor']=_0x1e5a3f(0x102),this[_0x1e5a3f(0x125)]=!![],this[_0x1e5a3f(0x106)]=null,this[_0x1e5a3f(0x139)]=null,this[_0x1e5a3f(0x13e)]=this['obj'];if(_0x557e28){if(_0x557e28[_0x1e5a3f(0x12f)]!==undefined)this[_0x1e5a3f(0x104)]=_0x557e28['text'];if(_0x557e28[_0x1e5a3f(0x12a)]!==undefined)this['_fontUrl']=_0x557e28[_0x1e5a3f(0x12a)];if(_0x557e28[_0x1e5a3f(0x13a)]!==undefined)this[_0x1e5a3f(0x119)]=_0x557e28[_0x1e5a3f(0x13a)];if(_0x557e28[_0x1e5a3f(0x142)]!==undefined)this[_0x1e5a3f(0x124)]=_0x557e28[_0x1e5a3f(0x142)];if(_0x557e28[_0x1e5a3f(0x114)]!==undefined)this[_0x1e5a3f(0x137)]=_0x557e28[_0x1e5a3f(0x114)];if(_0x557e28['bevelEnabled']!==undefined)this['_bevelEnabled']=_0x557e28[_0x1e5a3f(0x122)];if(_0x557e28[_0x1e5a3f(0x12b)]!==undefined)this[_0x1e5a3f(0x120)]=_0x557e28['bevelThickness'];if(_0x557e28[_0x1e5a3f(0x10f)]!==undefined)this[_0x1e5a3f(0x136)]=_0x557e28[_0x1e5a3f(0x10f)];if(_0x557e28['bevelOffset']!==undefined)this[_0x1e5a3f(0x10e)]=_0x557e28['bevelOffset'];if(_0x557e28[_0x1e5a3f(0x121)]!==undefined)this[_0x1e5a3f(0x113)]=_0x557e28[_0x1e5a3f(0x121)];_0x557e28[_0x1e5a3f(0x11a)]!==undefined&&(this['_color']=_0x557e28[_0x1e5a3f(0x11a)],this[_0x1e5a3f(0x123)]=_0x557e28['color']);if(_0x557e28[_0x1e5a3f(0x10b)]!==undefined)this[_0x1e5a3f(0x123)]=_0x557e28[_0x1e5a3f(0x10b)];if(_0x557e28['isUnlit']!==undefined)this[_0x1e5a3f(0x125)]=_0x557e28['isUnlit'];}this[_0x1e5a3f(0x13d)]();}['createDefaultObject'](){return new webgpu.Group();}get[_0x24c2d8(0x12f)](){const _0xccf0fd=_0x24c2d8;return this[_0xccf0fd(0x104)];}set[_0x24c2d8(0x12f)](_0x129844){const _0x1d9428=_0x24c2d8;this[_0x1d9428(0x104)]!==_0x129844&&(this[_0x1d9428(0x104)]=_0x129844,this[_0x1d9428(0x144)]());}get[_0x24c2d8(0x11a)](){const _0x5a1f57=_0x24c2d8;return this[_0x5a1f57(0x11d)];}set[_0x24c2d8(0x11a)](_0x2fa623){const _0x4fc843=_0x24c2d8;this[_0x4fc843(0x11d)]!==_0x2fa623&&(this[_0x4fc843(0x11d)]=_0x2fa623,this[_0x4fc843(0x11b)]());}get[_0x24c2d8(0x10b)](){const _0x6b3692=_0x24c2d8;return this[_0x6b3692(0x123)];}set[_0x24c2d8(0x10b)](_0xa052f8){const _0x4d968f=_0x24c2d8;this[_0x4d968f(0x123)]!==_0xa052f8&&(this[_0x4d968f(0x123)]=_0xa052f8,this[_0x4d968f(0x11b)]());}get['size'](){const _0x3f2e39=_0x24c2d8;return this[_0x3f2e39(0x119)];}set['size'](_0x3f3527){const _0x49efd7=_0x24c2d8;this[_0x49efd7(0x119)]!==_0x3f3527&&(this['_size']=_0x3f3527,this[_0x49efd7(0x144)]());}get['height'](){const _0x524801=_0x24c2d8;return this[_0x524801(0x124)];}set[_0x24c2d8(0x142)](_0x377afa){const _0x2b114f=_0x24c2d8;this[_0x2b114f(0x124)]!==_0x377afa&&(this[_0x2b114f(0x124)]=_0x377afa,this[_0x2b114f(0x144)]());}get[_0x24c2d8(0x12a)](){const _0x2b0c7c=_0x24c2d8;return this[_0x2b0c7c(0x10d)];}set[_0x24c2d8(0x12a)](_0x13fbf1){const _0x145aee=_0x24c2d8;this[_0x145aee(0x10d)]!==_0x13fbf1&&(this[_0x145aee(0x10d)]=_0x13fbf1,this['loadFontAndRefresh']());}async['loadFontAndRefresh'](){const _0x1e8203=_0x24c2d8;if(Text3DComponent[_0x1e8203(0x132)][_0x1e8203(0x134)](this[_0x1e8203(0x10d)])){this['_font']=Text3DComponent[_0x1e8203(0x132)][_0x1e8203(0x138)](this[_0x1e8203(0x10d)]),this[_0x1e8203(0x144)]();return;}try{const _0x5a24bd=await Text3DComponent[_0x1e8203(0x110)][_0x1e8203(0x103)](this[_0x1e8203(0x10d)]);Text3DComponent['_fontCache'][_0x1e8203(0x12e)](this['_fontUrl'],_0x5a24bd),this[_0x1e8203(0x106)]=_0x5a24bd,this[_0x1e8203(0x144)]();}catch(_0x22a25e){console[_0x1e8203(0x141)]('Failed\x20to\x20load\x20font\x20from\x20'+this[_0x1e8203(0x10d)]+':',_0x22a25e);}}[_0x24c2d8(0x144)](){const _0x46f618=_0x24c2d8;if(!this[_0x46f618(0x106)])return;if(this[_0x46f618(0x139)]){if(this['_mesh'][_0x46f618(0x112)])this[_0x46f618(0x139)]['geometry'][_0x46f618(0x135)]();this[_0x46f618(0x13e)][_0x46f618(0x133)](this[_0x46f618(0x139)]);}const _0x164144=new Addons_js.TextGeometry(this['_text'],{'font':this[_0x46f618(0x106)],'size':this[_0x46f618(0x119)],'depth':this['_height'],'curveSegments':this[_0x46f618(0x137)],'bevelEnabled':this[_0x46f618(0x127)],'bevelThickness':this[_0x46f618(0x120)],'bevelSize':this[_0x46f618(0x136)],'bevelOffset':this['_bevelOffset'],'bevelSegments':this[_0x46f618(0x113)]});_0x164144['computeBoundingBox']();if(_0x164144[_0x46f618(0x13f)]){const _0x1367fe=-0.5*(_0x164144[_0x46f618(0x13f)][_0x46f618(0x129)]['x']-_0x164144[_0x46f618(0x13f)][_0x46f618(0x140)]['x']),_0x562567=-0.5*(_0x164144['boundingBox'][_0x46f618(0x129)]['y']-_0x164144[_0x46f618(0x13f)]['min']['y']);_0x164144[_0x46f618(0x10a)](_0x1367fe,_0x562567,0x0);}let _0x21dd17;this['_isUnlit']?_0x21dd17=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x46f618(0x11d)]),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x46f618(0x123)]),'side':webgpu.DoubleSide})]:_0x21dd17=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this['_color']),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x46f618(0x123)]),'side':webgpu.DoubleSide})],this[_0x46f618(0x139)]=new webgpu.Mesh(_0x164144,_0x21dd17),this[_0x46f618(0x139)][_0x46f618(0x12c)]['LYObject']=this,this[_0x46f618(0x13e)][_0x46f618(0x115)](this[_0x46f618(0x139)]),this['world']&&this[_0x46f618(0x118)][_0x46f618(0x143)][_0x46f618(0x10c)]();}[_0x24c2d8(0x11b)](){const _0x5955d2=_0x24c2d8;if(!this[_0x5955d2(0x139)])return;if(Array['isArray'](this[_0x5955d2(0x139)][_0x5955d2(0x109)])){const _0x3d948e=this[_0x5955d2(0x139)][_0x5955d2(0x109)];_0x3d948e[_0x5955d2(0x108)]>=0x2&&(_0x3d948e[0x0]['color'][_0x5955d2(0x12e)](this[_0x5955d2(0x11d)]),_0x3d948e[0x1][_0x5955d2(0x11a)]['set'](this['_sideColor']));}else {const _0xeda3e3=this[_0x5955d2(0x139)][_0x5955d2(0x109)];_0xeda3e3[_0x5955d2(0x11a)]['set'](this[_0x5955d2(0x11d)]);}this['world']&&this[_0x5955d2(0x118)][_0x5955d2(0x143)]['markRenderStateDirty']();}['destroy'](){const _0x580cc6=_0x24c2d8;if(this[_0x580cc6(0x139)]){if(this[_0x580cc6(0x139)]['geometry'])this[_0x580cc6(0x139)][_0x580cc6(0x112)]['dispose']();Array[_0x580cc6(0x117)](this['_mesh'][_0x580cc6(0x109)])?this[_0x580cc6(0x139)][_0x580cc6(0x109)][_0x580cc6(0x130)](_0xc445dd=>_0xc445dd['dispose']()):this[_0x580cc6(0x139)][_0x580cc6(0x109)]['dispose']();}super[_0x580cc6(0x131)]();}}Text3DComponent['_fontLoader']=new Addons_js.FontLoader(),Text3DComponent[_0x24c2d8(0x132)]=new Map();
|
|
141
141
|
|
|
142
|
-
function
|
|
142
|
+
const _0x429272=_0x46aa;function _0x46aa(_0x10d7d5,_0x306366){_0x10d7d5=_0x10d7d5-0xb4;const _0x45a872=_0x45a8();let _0x46aa8e=_0x45a872[_0x10d7d5];return _0x46aa8e;}(function(_0x4971ad,_0x33f7a9){const _0x4f097e=_0x46aa,_0x4964bc=_0x4971ad();while(!![]){try{const _0x26128c=-parseInt(_0x4f097e(0xbb))/0x1*(-parseInt(_0x4f097e(0xb6))/0x2)+parseInt(_0x4f097e(0xbe))/0x3+parseInt(_0x4f097e(0xb9))/0x4+parseInt(_0x4f097e(0xbd))/0x5*(parseInt(_0x4f097e(0xba))/0x6)+parseInt(_0x4f097e(0xb8))/0x7+-parseInt(_0x4f097e(0xb7))/0x8*(-parseInt(_0x4f097e(0xbf))/0x9)+parseInt(_0x4f097e(0xb4))/0xa*(-parseInt(_0x4f097e(0xbc))/0xb);if(_0x26128c===_0x33f7a9)break;else _0x4964bc['push'](_0x4964bc['shift']());}catch(_0x1d76d1){_0x4964bc['push'](_0x4964bc['shift']());}}}(_0x45a8,0xe3be7));const DefaultSSRParam={'type':exports.PostProcessStepType[_0x429272(0xb5)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};function _0x45a8(){const _0x3c8efc=['10zzelve','ScreenSpaceReflection','2OqjGbx','3848IkYiyC','12628665ApXBZp','5373764eLUrjG','1762596SArJtE','621277MnsxtB','71330248mhjoLA','25gPbZwD','3169887dKecnn','21015YxVNfU'];_0x45a8=function(){return _0x3c8efc;};return _0x45a8();}
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
function _0x5d97(_0x22aacb,_0x570063){_0x22aacb=_0x22aacb-0x15d;const _0xc564f1=_0xc564();let _0x5d972d=_0xc564f1[_0x22aacb];return _0x5d972d;}const _0x9171de=_0x5d97;function _0xc564(){const _0x16c068=['6PGxZSB','680752HqFFUk','10192469tGgJCU','Antialiasing','1353183wXXDnF','fxaa','1515EBLBsC','162mZtgjS','2114268OEQrRP','4096490gYaEKr','9972160VOpbKr','13036YLOgSP'];_0xc564=function(){return _0x16c068;};return _0xc564();}(function(_0x5fcd3d,_0x233c23){const _0x35831e=_0x5d97,_0x679b13=_0x5fcd3d();while(!![]){try{const _0x3e2ff6=parseInt(_0x35831e(0x167))/0x1+parseInt(_0x35831e(0x15f))/0x2+parseInt(_0x35831e(0x15d))/0x3*(-parseInt(_0x35831e(0x162))/0x4)+-parseInt(_0x35831e(0x160))/0x5*(parseInt(_0x35831e(0x163))/0x6)+parseInt(_0x35831e(0x165))/0x7+parseInt(_0x35831e(0x164))/0x8*(-parseInt(_0x35831e(0x15e))/0x9)+parseInt(_0x35831e(0x161))/0xa;if(_0x3e2ff6===_0x233c23)break;else _0x679b13['push'](_0x679b13['shift']());}catch(_0xf3d6c2){_0x679b13['push'](_0x679b13['shift']());}}}(_0xc564,0xd39ff));const DefaultAAParams={'type':exports.PostProcessStepType[_0x9171de(0x166)],'method':_0x9171de(0x168)};
|
|
145
145
|
|
|
146
|
-
const
|
|
146
|
+
function _0x1792(_0x511939,_0x4ce7f0){_0x511939=_0x511939-0x17d;const _0x4690a0=_0x4690();let _0x17925f=_0x4690a0[_0x511939];return _0x17925f;}const _0x4eafd0=_0x1792;function _0x4690(){const _0x54b276=['disableDebug','onAddedToWorld','enableDebug','createDebugObject','tick','setCollisionResponse','_onHitDelegate','_responseMap','collisionEnabled','generateHitEvents','16EPlPYB','3179596tUVUGH','setCollisionResponses','_registeredInWorld','3351246sCfdpx','148024CqcVdu','_onEndOverlapDelegate','759948fsBggr','getMutualResponse','_debugObject','_debugColor','_objectType','call','debugOpacity','4YMZpqv','destroyDebugObject','_collisionEnabled','debugEnabled','getDebugAttachParent','Block','745905McHOiM','590wkXdLh','assign','getCollisionResponse','onDebugStyleChanged','name','physics','_debugOpacity','unregisterCollider','remove','_onBeginOverlapDelegate','rayIgnored','47551fZNKrS','onHitDelegate','_generateOverlapEvents','viewport','86841yiRaOd','world','Overlap','5HmZwOj','WorldDynamic','traverse','objectType','Ignore','onEndOverlapDelegate','_debugEnabled','destroy','debugColor','generateOverlapEvents','44ZuRWYH','threeObject','parent','userData','_generateHitEvents','ColliderComponent'];_0x4690=function(){return _0x54b276;};return _0x4690();}(function(_0x3ee2b8,_0x13243d){const _0x17ca6a=_0x1792,_0xa82157=_0x3ee2b8();while(!![]){try{const _0x465be1=parseInt(_0x17ca6a(0x1bb))/0x1*(parseInt(_0x17ca6a(0x19b))/0x2)+parseInt(_0x17ca6a(0x1af))/0x3*(-parseInt(_0x17ca6a(0x1a9))/0x4)+parseInt(_0x17ca6a(0x181))/0x5*(parseInt(_0x17ca6a(0x19f))/0x6)+parseInt(_0x17ca6a(0x19c))/0x7+parseInt(_0x17ca6a(0x1a0))/0x8+parseInt(_0x17ca6a(0x17e))/0x9*(-parseInt(_0x17ca6a(0x1b0))/0xa)+parseInt(_0x17ca6a(0x18b))/0xb*(-parseInt(_0x17ca6a(0x1a2))/0xc);if(_0x465be1===_0x13243d)break;else _0xa82157['push'](_0xa82157['shift']());}catch(_0x8a158a){_0xa82157['push'](_0xa82157['shift']());}}}(_0x4690,0x531d6));class ColliderComponent extends SceneComponent{get[_0x4eafd0(0x1ac)](){const _0x560fc1=_0x4eafd0;return this[_0x560fc1(0x187)];}set[_0x4eafd0(0x1ac)](_0x5a029a){const _0x5d729b=_0x4eafd0;var _0x1ecab2,_0x4995a7,_0x3bafa1;if(this[_0x5d729b(0x187)]===_0x5a029a)return;this['_debugEnabled']=_0x5a029a,this[_0x5d729b(0x187)]?this[_0x5d729b(0x193)]():this[_0x5d729b(0x191)](),(_0x3bafa1=(_0x4995a7=(_0x1ecab2=this[_0x5d729b(0x17f)])===null||_0x1ecab2===void 0?void 0:_0x1ecab2[_0x5d729b(0x17d)])===null||_0x4995a7===void 0?void 0:_0x4995a7['markRenderStateDirty'])===null||_0x3bafa1===void 0?void 0:_0x3bafa1[_0x5d729b(0x1a7)](_0x4995a7);}get[_0x4eafd0(0x189)](){const _0x41a810=_0x4eafd0;return this[_0x41a810(0x1a5)];}set[_0x4eafd0(0x189)](_0xa67ced){const _0x4c6b48=_0x4eafd0;this['_debugColor']=_0xa67ced,this[_0x4c6b48(0x187)]&&this[_0x4c6b48(0x1b3)]();}get[_0x4eafd0(0x1a8)](){return this['_debugOpacity'];}set[_0x4eafd0(0x1a8)](_0x462152){const _0xf2d3d1=_0x4eafd0;this[_0xf2d3d1(0x1b6)]=_0x462152,this[_0xf2d3d1(0x187)]&&this[_0xf2d3d1(0x1b3)]();}get[_0x4eafd0(0x199)](){const _0x3ea9d4=_0x4eafd0;return this[_0x3ea9d4(0x1ab)];}set['collisionEnabled'](_0x1d4c8f){const _0x54beb7=_0x4eafd0;this[_0x54beb7(0x1ab)]=_0x1d4c8f;}get[_0x4eafd0(0x18a)](){return this['_generateOverlapEvents'];}set[_0x4eafd0(0x18a)](_0xeee581){const _0x5128d7=_0x4eafd0;this[_0x5128d7(0x1bd)]=_0xeee581;}get[_0x4eafd0(0x19a)](){const _0x14c987=_0x4eafd0;return this[_0x14c987(0x18f)];}set['generateHitEvents'](_0x1e5b90){const _0x31943b=_0x4eafd0;this[_0x31943b(0x18f)]=_0x1e5b90;}get['objectType'](){const _0x23997f=_0x4eafd0;return this[_0x23997f(0x1a6)];}set['objectType'](_0x4bf1c3){const _0x3c9787=_0x4eafd0;this[_0x3c9787(0x1a6)]=_0x4bf1c3;}get['onBeginOverlapDelegate'](){const _0x5bf0fa=_0x4eafd0;return this[_0x5bf0fa(0x1b9)];}get[_0x4eafd0(0x186)](){const _0x2ec3ac=_0x4eafd0;return this[_0x2ec3ac(0x1a1)];}get[_0x4eafd0(0x1bc)](){const _0x9f18e0=_0x4eafd0;return this[_0x9f18e0(0x197)];}constructor(_0x35f765,_0x126f56){const _0x4298c0=_0x4eafd0;super(_0x35f765,_0x126f56),this[_0x4298c0(0x1ab)]=!![],this[_0x4298c0(0x1bd)]=!![],this[_0x4298c0(0x18f)]=!![],this[_0x4298c0(0x1a6)]=exports.CollisionChannel[_0x4298c0(0x182)],this['_responseMap']={},this[_0x4298c0(0x1b9)]=new Delegate(),this['_onEndOverlapDelegate']=new Delegate(),this['_onHitDelegate']=new Delegate(),this['_registeredInWorld']=![],this[_0x4298c0(0x187)]=![],this[_0x4298c0(0x1a5)]=0xff00,this['_debugOpacity']=0.25,this[_0x4298c0(0x1a4)]=null,this[_0x4298c0(0x1b4)]=_0x4298c0(0x190);}[_0x4eafd0(0x196)](_0x345c70,_0x32e439){const _0x2044d6=_0x4eafd0;this[_0x2044d6(0x198)][_0x345c70]=_0x32e439;}[_0x4eafd0(0x19d)](_0x599dc9){const _0x20e4c6=_0x4eafd0;this['_responseMap']=Object[_0x20e4c6(0x1b1)]({},_0x599dc9);}[_0x4eafd0(0x1b2)](_0x1f9311){const _0x552eba=_0x4eafd0;var _0x1856d3;return (_0x1856d3=this[_0x552eba(0x198)][_0x1f9311])!==null&&_0x1856d3!==void 0?_0x1856d3:exports.CollisionResponse[_0x552eba(0x1ae)];}[_0x4eafd0(0x1a3)](_0x28732e){const _0x5b7d68=_0x4eafd0,_0x4728ec=this[_0x5b7d68(0x1b2)](_0x28732e[_0x5b7d68(0x184)]),_0x12efd8=_0x28732e[_0x5b7d68(0x1b2)](this[_0x5b7d68(0x184)]);if(_0x4728ec===exports.CollisionResponse[_0x5b7d68(0x185)]||_0x12efd8===exports.CollisionResponse[_0x5b7d68(0x185)])return exports.CollisionResponse[_0x5b7d68(0x185)];if(_0x4728ec===exports.CollisionResponse[_0x5b7d68(0x1ae)]||_0x12efd8===exports.CollisionResponse[_0x5b7d68(0x1ae)])return exports.CollisionResponse[_0x5b7d68(0x1ae)];return exports.CollisionResponse[_0x5b7d68(0x180)];}[_0x4eafd0(0x195)](_0x2c77fc){const _0x215135=_0x4eafd0;super[_0x215135(0x195)](_0x2c77fc),this[_0x215135(0x187)]&&this['onDebugTick'](_0x2c77fc);}[_0x4eafd0(0x192)](_0x3fe29c){const _0x2ecabf=_0x4eafd0;super[_0x2ecabf(0x192)](_0x3fe29c),!this['_registeredInWorld']&&(this['world'][_0x2ecabf(0x1b5)]['registerCollider'](this),this['_registeredInWorld']=!![]);}[_0x4eafd0(0x188)](){const _0x54469f=_0x4eafd0;this[_0x54469f(0x187)]&&(this['disableDebug'](),this['_debugEnabled']=![]),this[_0x54469f(0x19e)]&&(this['world']['physics'][_0x54469f(0x1b7)](this),this[_0x54469f(0x19e)]=![]),super[_0x54469f(0x188)]();}['getDebugAttachParent'](){const _0xd3d4=_0x4eafd0;return this[_0xd3d4(0x18c)];}[_0x4eafd0(0x194)](){return null;}['destroyDebugObject'](_0x460490){return;}['onDebugTick'](_0x3a07f4){return;}[_0x4eafd0(0x1b3)](){return;}['enableDebug'](){const _0x19b779=_0x4eafd0;if(this['_debugObject'])return;const _0x780a38=this[_0x19b779(0x1ad)](),_0x592c31=this[_0x19b779(0x194)]();if(!_0x592c31)return;this[_0x19b779(0x1a4)]=_0x592c31,_0x592c31[_0x19b779(0x183)](_0x3e2fa8=>{const _0x1d0ed6=_0x19b779;_0x3e2fa8[_0x1d0ed6(0x18e)][_0x1d0ed6(0x1ba)]=!![];}),_0x780a38&&_0x780a38['add'](_0x592c31),this[_0x19b779(0x1b3)]();}[_0x4eafd0(0x191)](){const _0x47e776=_0x4eafd0,_0x1f196a=this[_0x47e776(0x1a4)];if(!_0x1f196a)return;this[_0x47e776(0x1aa)](_0x1f196a),_0x1f196a[_0x47e776(0x18d)]&&_0x1f196a[_0x47e776(0x18d)][_0x47e776(0x1b8)](_0x1f196a),this[_0x47e776(0x1a4)]=null;}}
|
|
147
147
|
|
|
148
|
-
const _0x3d06af=_0x214d;function _0x227c(){const _0xe36d55=['_debugRoot','abs','_halfHeight','setCollisionResponse','set','_debugCylinder','position','material','scale','color','getWorldAABB','multiplyScalar','point','normal','_radius','copy','onDebugTick','Overlap','CapsuleColliderDebug','766970HgojIW','2477364oqtztk','_tmpBA','Pawn','makeSphereHit','raycastSphere','traverse','_debugBottom','clone','getWorldScale','sqrt','createDebugObject','192cjXPPc','getWorldPosition','add','2347fIQVjf','debugColor','_tmpNormal','name','transparent','_tmpOA','CapsuleColliderComponent','580431EmJHpZ','needsUpdate','1518255hpdGmw','sub','opacity','542ZypZlq','destroyDebugObject','dot','distance','7968016cjAEyh','halfHeight','debugOpacity','Ignore','lengthSq','31612nEYKkM','radius','90eiZDEq','onDebugStyleChanged','_tmpA','max','setHex','_debugTop'];_0x227c=function(){return _0xe36d55;};return _0x227c();}(function(_0x5ef336,_0x1b976b){const _0x438f1f=_0x214d,_0x7e62b5=_0x5ef336();while(!![]){try{const _0x4e2286=-parseInt(_0x438f1f(0x164))/0x1*(-parseInt(_0x438f1f(0x170))/0x2)+-parseInt(_0x438f1f(0x16b))/0x3+-parseInt(_0x438f1f(0x195))/0x4+parseInt(_0x438f1f(0x16d))/0x5+-parseInt(_0x438f1f(0x1a0))/0x6*(-parseInt(_0x438f1f(0x179))/0x7)+parseInt(_0x438f1f(0x174))/0x8+-parseInt(_0x438f1f(0x17b))/0x9*(parseInt(_0x438f1f(0x194))/0xa);if(_0x4e2286===_0x1b976b)break;else _0x7e62b5['push'](_0x7e62b5['shift']());}catch(_0x391d9d){_0x7e62b5['push'](_0x7e62b5['shift']());}}}(_0x227c,0x7a2be));function _0x214d(_0x587491,_0x56e8fa){_0x587491=_0x587491-0x163;const _0x227c20=_0x227c();let _0x214dad=_0x227c20[_0x587491];return _0x214dad;}class CapsuleColliderComponent extends ColliderComponent{get[_0x3d06af(0x17a)](){const _0xa30386=_0x3d06af;return this[_0xa30386(0x18f)];}get[_0x3d06af(0x175)](){const _0x28cea9=_0x3d06af;return this[_0x28cea9(0x183)];}constructor(_0x4e1254,_0x9e48f3=0.35,_0x33dba0=0.5,_0x187408){const _0x1ad8a2=_0x3d06af;super(_0x4e1254,_0x187408),this[_0x1ad8a2(0x181)]=null,this['_debugCylinder']=null,this[_0x1ad8a2(0x180)]=null,this[_0x1ad8a2(0x19b)]=null,this[_0x1ad8a2(0x17d)]=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this[_0x1ad8a2(0x196)]=new webgpu.Vector3(),this[_0x1ad8a2(0x169)]=new webgpu.Vector3(),this['_tmpPoint']=new webgpu.Vector3(),this['_tmpNormal']=new webgpu.Vector3(),this[_0x1ad8a2(0x18f)]=Math['max'](0x0,_0x9e48f3),this[_0x1ad8a2(0x183)]=Math[_0x1ad8a2(0x17e)](0x0,_0x33dba0),this['objectType']=exports.CollisionChannel[_0x1ad8a2(0x197)],this[_0x1ad8a2(0x184)](exports.CollisionChannel[_0x1ad8a2(0x197)],exports.CollisionResponse[_0x1ad8a2(0x177)]),this[_0x1ad8a2(0x184)](exports.CollisionChannel['Trigger'],exports.CollisionResponse[_0x1ad8a2(0x192)]),this[_0x1ad8a2(0x167)]=_0x1ad8a2(0x16a);}[_0x3d06af(0x18b)](_0x44079e=new webgpu.Box3()){const _0x153b3b=_0x3d06af,_0x386ff3=this[_0x153b3b(0x1a1)](),_0x3a5a07=this['getWorldScale'](),_0x5925c6=Math[_0x153b3b(0x182)](_0x3a5a07['x'])>1e-8?Math[_0x153b3b(0x182)](_0x3a5a07['x']):0x1,_0x775055=Math['abs'](_0x3a5a07['y'])>1e-8?Math[_0x153b3b(0x182)](_0x3a5a07['y']):0x1,_0x47b5d2=Math[_0x153b3b(0x182)](_0x3a5a07['z'])>1e-8?Math[_0x153b3b(0x182)](_0x3a5a07['z']):0x1,_0x2fe035=this[_0x153b3b(0x18f)]*Math[_0x153b3b(0x17e)](_0x5925c6,_0x47b5d2),_0x4418fd=this[_0x153b3b(0x183)]*_0x775055,_0x4f897a=new webgpu.Vector3(_0x386ff3['x']-_0x2fe035,_0x386ff3['y']-_0x4418fd-_0x2fe035,_0x386ff3['z']-_0x2fe035),_0x56b063=new webgpu.Vector3(_0x386ff3['x']+_0x2fe035,_0x386ff3['y']+_0x4418fd+_0x2fe035,_0x386ff3['z']+_0x2fe035);return _0x44079e[_0x153b3b(0x185)](_0x4f897a,_0x56b063),_0x44079e;}['raycast'](_0x1232fb,_0x42ef47,_0x4fbbf2){const _0x118d07=_0x3d06af;if(_0x4fbbf2<=0.000001)return null;const _0x594483=this[_0x118d07(0x1a1)](),_0x35c8df=this[_0x118d07(0x19d)](),_0x4664c1=Math[_0x118d07(0x182)](_0x35c8df['x'])>1e-8?Math[_0x118d07(0x182)](_0x35c8df['x']):0x1,_0x30ea9d=Math[_0x118d07(0x182)](_0x35c8df['y'])>1e-8?Math[_0x118d07(0x182)](_0x35c8df['y']):0x1,_0x1cc68c=Math['abs'](_0x35c8df['z'])>1e-8?Math[_0x118d07(0x182)](_0x35c8df['z']):0x1,_0x54bf64=this[_0x118d07(0x18f)]*Math[_0x118d07(0x17e)](_0x4664c1,_0x1cc68c),_0xc2e4e6=this['_halfHeight']*_0x30ea9d,_0x1ce11b=this[_0x118d07(0x17d)][_0x118d07(0x190)](_0x594483)[_0x118d07(0x163)](new webgpu.Vector3(0x0,-_0xc2e4e6,0x0)),_0x37568d=this['_tmpB'][_0x118d07(0x190)](_0x594483)['add'](new webgpu.Vector3(0x0,_0xc2e4e6,0x0)),_0x407e61=this[_0x118d07(0x196)][_0x118d07(0x190)](_0x37568d)[_0x118d07(0x16e)](_0x1ce11b),_0x244f64=this[_0x118d07(0x169)][_0x118d07(0x190)](_0x1232fb)[_0x118d07(0x16e)](_0x1ce11b),_0xac25ef=_0x407e61[_0x118d07(0x172)](_0x407e61),_0x20ba38=_0x407e61[_0x118d07(0x172)](_0x42ef47),_0x39a3c7=_0x407e61['dot'](_0x244f64),_0x5c5530=_0x42ef47[_0x118d07(0x172)](_0x244f64),_0xd16654=_0x244f64[_0x118d07(0x172)](_0x244f64),_0x29ae42=_0x54bf64*_0x54bf64,_0x4e5801=_0xac25ef-_0x20ba38*_0x20ba38,_0x15a53d=_0xac25ef*_0x5c5530-_0x39a3c7*_0x20ba38,_0xb4e116=_0xac25ef*(_0xd16654-_0x29ae42)-_0x39a3c7*_0x39a3c7;let _0x278723=Infinity,_0x894775=null,_0x3673af=null;const _0x1cac79=1e-10;if(Math[_0x118d07(0x182)](_0x4e5801)>_0x1cac79){const _0x4bb382=_0x15a53d*_0x15a53d-_0x4e5801*_0xb4e116;if(_0x4bb382>=0x0){const _0x35b29e=(-_0x15a53d-Math[_0x118d07(0x19e)](_0x4bb382))/_0x4e5801,_0x5f3770=_0x39a3c7+_0x35b29e*_0x20ba38;if(_0x35b29e>=0x0&&_0x35b29e<=_0x4fbbf2&&_0x5f3770>0x0&&_0x5f3770<_0xac25ef){_0x278723=_0x35b29e,_0x894775=this['_tmpPoint']['copy'](_0x42ef47)['multiplyScalar'](_0x35b29e)['add'](_0x1232fb);const _0x3293fa=this['_tmpNormal'][_0x118d07(0x190)](_0x407e61)[_0x118d07(0x18c)](_0x5f3770/_0xac25ef)[_0x118d07(0x163)](_0x1ce11b);_0x3673af=this[_0x118d07(0x166)][_0x118d07(0x190)](_0x894775)[_0x118d07(0x16e)](_0x3293fa);const _0x2d4ba2=_0x3673af[_0x118d07(0x178)]();_0x2d4ba2>1e-12?_0x3673af[_0x118d07(0x18c)](0x1/Math[_0x118d07(0x19e)](_0x2d4ba2)):_0x3673af[_0x118d07(0x185)](0x0,0x1,0x0);}}}const _0x1ebd1b=this[_0x118d07(0x199)](_0x1232fb,_0x42ef47,_0x4fbbf2,_0x1ce11b,_0x54bf64);_0x1ebd1b&&_0x1ebd1b[_0x118d07(0x173)]<_0x278723&&(_0x278723=_0x1ebd1b['distance'],_0x894775=_0x1ebd1b[_0x118d07(0x18d)],_0x3673af=_0x1ebd1b['normal']);const _0xb55f62=this[_0x118d07(0x199)](_0x1232fb,_0x42ef47,_0x4fbbf2,_0x37568d,_0x54bf64);_0xb55f62&&_0xb55f62['distance']<_0x278723&&(_0x278723=_0xb55f62[_0x118d07(0x173)],_0x894775=_0xb55f62[_0x118d07(0x18d)],_0x3673af=_0xb55f62[_0x118d07(0x18e)]);if(!_0x894775||!_0x3673af||!Number['isFinite'](_0x278723))return null;return {'point':_0x894775['clone'](),'normal':_0x3673af[_0x118d07(0x19c)](),'distance':_0x278723};}[_0x3d06af(0x199)](_0x2613ac,_0x48dcf9,_0x30da1c,_0x3d6f1b,_0xf86b3c){const _0x93b5b0=_0x3d06af,_0x550694=_0x2613ac[_0x93b5b0(0x19c)]()['sub'](_0x3d6f1b),_0x3ee91e=_0x550694[_0x93b5b0(0x172)](_0x48dcf9),_0x56f741=_0x550694[_0x93b5b0(0x172)](_0x550694)-_0xf86b3c*_0xf86b3c,_0x18b667=_0x3ee91e*_0x3ee91e-_0x56f741;if(_0x18b667<0x0)return null;const _0x287cfe=Math[_0x93b5b0(0x19e)](_0x18b667),_0x14849b=-_0x3ee91e-_0x287cfe;if(_0x14849b<0x0||_0x14849b>_0x30da1c){const _0xe2d3ec=-_0x3ee91e+_0x287cfe;if(_0xe2d3ec<0x0||_0xe2d3ec>_0x30da1c)return null;return this['makeSphereHit'](_0x2613ac,_0x48dcf9,_0xe2d3ec,_0x3d6f1b);}return this[_0x93b5b0(0x198)](_0x2613ac,_0x48dcf9,_0x14849b,_0x3d6f1b);}[_0x3d06af(0x198)](_0x145daa,_0xdf7514,_0x2e032e,_0x5dd65c){const _0x1c6938=_0x3d06af,_0xc7a7df=_0x145daa[_0x1c6938(0x19c)]()[_0x1c6938(0x163)](_0xdf7514[_0x1c6938(0x19c)]()[_0x1c6938(0x18c)](_0x2e032e)),_0x154f08=_0xc7a7df[_0x1c6938(0x19c)]()[_0x1c6938(0x16e)](_0x5dd65c),_0xdaa725=_0x154f08[_0x1c6938(0x178)]();return _0xdaa725>1e-12?_0x154f08[_0x1c6938(0x18c)](0x1/Math[_0x1c6938(0x19e)](_0xdaa725)):_0x154f08[_0x1c6938(0x185)](0x0,0x1,0x0),{'point':_0xc7a7df,'normal':_0x154f08,'distance':_0x2e032e};}[_0x3d06af(0x19f)](){const _0x427129=_0x3d06af,_0x99be7c=new webgpu.Object3D();_0x99be7c[_0x427129(0x167)]=_0x427129(0x193);const _0x32ce2c=new webgpu.MeshBasicMaterial({'color':this[_0x427129(0x165)],'wireframe':!![],'transparent':!![],'opacity':this[_0x427129(0x176)]}),_0x1cba19=Math['max'](0.000001,this[_0x427129(0x18f)]),_0x54e796=Math[_0x427129(0x17e)](0.000001,this['_halfHeight']*0x2),_0x5e7125=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x1cba19,_0x1cba19,_0x54e796,0xc,0x1,!![]),_0x32ce2c),_0x1bc1e8=new webgpu.Mesh(new webgpu.SphereGeometry(_0x1cba19,0xc,0x8),_0x32ce2c),_0x4318e2=new webgpu.Mesh(new webgpu.SphereGeometry(_0x1cba19,0xc,0x8),_0x32ce2c);return _0x1bc1e8[_0x427129(0x187)][_0x427129(0x185)](0x0,this['_halfHeight'],0x0),_0x4318e2[_0x427129(0x187)]['set'](0x0,-this['_halfHeight'],0x0),_0x99be7c[_0x427129(0x163)](_0x5e7125),_0x99be7c[_0x427129(0x163)](_0x1bc1e8),_0x99be7c[_0x427129(0x163)](_0x4318e2),this[_0x427129(0x181)]=_0x99be7c,this['_debugCylinder']=_0x5e7125,this[_0x427129(0x180)]=_0x1bc1e8,this['_debugBottom']=_0x4318e2,this[_0x427129(0x191)](0x0),_0x99be7c;}[_0x3d06af(0x171)](_0x175685){const _0x208ef4=_0x3d06af;this['_debugRoot']=null,this[_0x208ef4(0x186)]=null,this[_0x208ef4(0x180)]=null,this[_0x208ef4(0x19b)]=null;}[_0x3d06af(0x191)](_0x5c2ffa){const _0x21a6bd=_0x3d06af,_0x123b30=this[_0x21a6bd(0x186)],_0x3db10b=this[_0x21a6bd(0x180)],_0x275946=this['_debugBottom'];if(!_0x123b30||!_0x3db10b||!_0x275946)return;const _0x8ff766=this[_0x21a6bd(0x19d)](),_0x193ec1=Math[_0x21a6bd(0x182)](_0x8ff766['x'])>1e-8?_0x8ff766['x']:0x1,_0x37ef6d=Math['abs'](_0x8ff766['y'])>1e-8?_0x8ff766['y']:0x1,_0x1f180d=Math[_0x21a6bd(0x182)](_0x8ff766['z'])>1e-8?_0x8ff766['z']:0x1,_0x119a8d=Math[_0x21a6bd(0x17e)](0.000001,this[_0x21a6bd(0x18f)])*Math[_0x21a6bd(0x17e)](Math['abs'](_0x193ec1),Math[_0x21a6bd(0x182)](_0x1f180d)),_0x4cd341=Math[_0x21a6bd(0x17e)](0x0,this[_0x21a6bd(0x183)])*Math['abs'](_0x37ef6d);_0x123b30[_0x21a6bd(0x189)][_0x21a6bd(0x185)](_0x119a8d/_0x193ec1,_0x4cd341*0x2/_0x37ef6d,_0x119a8d/_0x1f180d),_0x3db10b['scale'][_0x21a6bd(0x185)](_0x119a8d/_0x193ec1,_0x119a8d/_0x37ef6d,_0x119a8d/_0x1f180d),_0x275946['scale'][_0x21a6bd(0x185)](_0x119a8d/_0x193ec1,_0x119a8d/_0x37ef6d,_0x119a8d/_0x1f180d),_0x3db10b[_0x21a6bd(0x187)][_0x21a6bd(0x185)](0x0,_0x4cd341/_0x37ef6d,0x0),_0x275946[_0x21a6bd(0x187)]['set'](0x0,-_0x4cd341/_0x37ef6d,0x0);}[_0x3d06af(0x17c)](){const _0x66bd2a=_0x3d06af,_0x4498de=this[_0x66bd2a(0x181)];if(!_0x4498de)return;_0x4498de[_0x66bd2a(0x19a)](_0x48ca64=>{const _0x25d3a7=_0x66bd2a,_0xbe2233=_0x48ca64,_0x4b0a75=_0xbe2233[_0x25d3a7(0x188)];if(!_0x4b0a75)return;_0x4b0a75[_0x25d3a7(0x18a)][_0x25d3a7(0x17f)](this['debugColor']),_0x4b0a75[_0x25d3a7(0x16f)]=this[_0x25d3a7(0x176)],_0x4b0a75[_0x25d3a7(0x168)]=this[_0x25d3a7(0x176)]<0x1,_0x4b0a75[_0x25d3a7(0x16c)]=!![];});}}
|
|
148
|
+
function _0x356d(_0x4d930b,_0x2f5d88){_0x4d930b=_0x4d930b-0x1eb;const _0x172aed=_0x172a();let _0x356d4d=_0x172aed[_0x4d930b];return _0x356d4d;}const _0x3fccc3=_0x356d;(function(_0x46389a,_0x16310d){const _0xfa5615=_0x356d,_0x37cd03=_0x46389a();while(!![]){try{const _0x104460=parseInt(_0xfa5615(0x221))/0x1*(parseInt(_0xfa5615(0x216))/0x2)+parseInt(_0xfa5615(0x229))/0x3*(-parseInt(_0xfa5615(0x213))/0x4)+-parseInt(_0xfa5615(0x205))/0x5*(-parseInt(_0xfa5615(0x219))/0x6)+-parseInt(_0xfa5615(0x20c))/0x7*(parseInt(_0xfa5615(0x227))/0x8)+-parseInt(_0xfa5615(0x22d))/0x9+parseInt(_0xfa5615(0x1f2))/0xa*(-parseInt(_0xfa5615(0x223))/0xb)+parseInt(_0xfa5615(0x226))/0xc*(parseInt(_0xfa5615(0x1f3))/0xd);if(_0x104460===_0x16310d)break;else _0x37cd03['push'](_0x37cd03['shift']());}catch(_0x380be1){_0x37cd03['push'](_0x37cd03['shift']());}}}(_0x172a,0x7bee7));function _0x172a(){const _0x16d2ee=['Overlap','copy','lengthSq','2815QwZgDK','_tmpBA','423566UDoNMs','raycastSphere','_tmpPoint','168rawckA','277288nJMmMS','_tmpB','3OxyEnL','getWorldScale','_debugTop','distance','7561575ZzTsFG','halfHeight','Trigger','_debugRoot','add','scale','max','set','20yOsxcS','2370329RMTTma','getWorldPosition','onDebugStyleChanged','setCollisionResponse','_tmpA','debugOpacity','_tmpNormal','multiplyScalar','CapsuleColliderComponent','raycast','position','CapsuleColliderDebug','clone','_debugBottom','_debugCylinder','_radius','makeSphereHit','Pawn','1120WFPbUw','material','createDebugObject','getWorldAABB','onDebugTick','_halfHeight','radius','70vwXSKh','_tmpOA','dot','sqrt','opacity','transparent','needsUpdate','3549024wWiDlM','name','setHex','68pmCuzU','normal','point','276YcXKDc','abs','traverse','objectType','sub'];_0x172a=function(){return _0x16d2ee;};return _0x172a();}class CapsuleColliderComponent extends ColliderComponent{get[_0x3fccc3(0x20b)](){const _0x46a2f8=_0x3fccc3;return this[_0x46a2f8(0x202)];}get[_0x3fccc3(0x1eb)](){const _0x3b55a4=_0x3fccc3;return this[_0x3b55a4(0x20a)];}constructor(_0x5e1799,_0x43b49d=0.35,_0x3ff6e7=0.5,_0x3fc92d){const _0x47ff21=_0x3fccc3;super(_0x5e1799,_0x3fc92d),this[_0x47ff21(0x1ed)]=null,this[_0x47ff21(0x201)]=null,this[_0x47ff21(0x22b)]=null,this[_0x47ff21(0x200)]=null,this['_tmpA']=new webgpu.Vector3(),this[_0x47ff21(0x228)]=new webgpu.Vector3(),this['_tmpBA']=new webgpu.Vector3(),this['_tmpOA']=new webgpu.Vector3(),this[_0x47ff21(0x225)]=new webgpu.Vector3(),this[_0x47ff21(0x1f9)]=new webgpu.Vector3(),this['_radius']=Math['max'](0x0,_0x43b49d),this['_halfHeight']=Math['max'](0x0,_0x3ff6e7),this[_0x47ff21(0x21c)]=exports.CollisionChannel[_0x47ff21(0x204)],this['setCollisionResponse'](exports.CollisionChannel[_0x47ff21(0x204)],exports.CollisionResponse['Ignore']),this[_0x47ff21(0x1f6)](exports.CollisionChannel[_0x47ff21(0x1ec)],exports.CollisionResponse[_0x47ff21(0x21e)]),this[_0x47ff21(0x214)]=_0x47ff21(0x1fb);}[_0x3fccc3(0x208)](_0x178198=new webgpu.Box3()){const _0x1d4d05=_0x3fccc3,_0x5ea33a=this[_0x1d4d05(0x1f4)](),_0x51e466=this[_0x1d4d05(0x22a)](),_0x142b09=Math['abs'](_0x51e466['x'])>1e-8?Math['abs'](_0x51e466['x']):0x1,_0x17a7e0=Math['abs'](_0x51e466['y'])>1e-8?Math['abs'](_0x51e466['y']):0x1,_0x5b41d7=Math[_0x1d4d05(0x21a)](_0x51e466['z'])>1e-8?Math[_0x1d4d05(0x21a)](_0x51e466['z']):0x1,_0x2010d7=this[_0x1d4d05(0x202)]*Math['max'](_0x142b09,_0x5b41d7),_0x47abff=this[_0x1d4d05(0x20a)]*_0x17a7e0,_0x56126c=new webgpu.Vector3(_0x5ea33a['x']-_0x2010d7,_0x5ea33a['y']-_0x47abff-_0x2010d7,_0x5ea33a['z']-_0x2010d7),_0x5052e5=new webgpu.Vector3(_0x5ea33a['x']+_0x2010d7,_0x5ea33a['y']+_0x47abff+_0x2010d7,_0x5ea33a['z']+_0x2010d7);return _0x178198[_0x1d4d05(0x1f1)](_0x56126c,_0x5052e5),_0x178198;}[_0x3fccc3(0x1fc)](_0x3eac41,_0x2ee79c,_0xf99e6a){const _0x3b9b16=_0x3fccc3;if(_0xf99e6a<=0.000001)return null;const _0x5e7a95=this[_0x3b9b16(0x1f4)](),_0xb43074=this[_0x3b9b16(0x22a)](),_0x1f3cc6=Math['abs'](_0xb43074['x'])>1e-8?Math[_0x3b9b16(0x21a)](_0xb43074['x']):0x1,_0x16f237=Math[_0x3b9b16(0x21a)](_0xb43074['y'])>1e-8?Math[_0x3b9b16(0x21a)](_0xb43074['y']):0x1,_0x4ceb88=Math[_0x3b9b16(0x21a)](_0xb43074['z'])>1e-8?Math['abs'](_0xb43074['z']):0x1,_0x177a72=this[_0x3b9b16(0x202)]*Math[_0x3b9b16(0x1f0)](_0x1f3cc6,_0x4ceb88),_0x52325d=this[_0x3b9b16(0x20a)]*_0x16f237,_0x289309=this[_0x3b9b16(0x1f7)]['copy'](_0x5e7a95)[_0x3b9b16(0x1ee)](new webgpu.Vector3(0x0,-_0x52325d,0x0)),_0x11fc17=this['_tmpB'][_0x3b9b16(0x21f)](_0x5e7a95)['add'](new webgpu.Vector3(0x0,_0x52325d,0x0)),_0x6f718e=this[_0x3b9b16(0x222)][_0x3b9b16(0x21f)](_0x11fc17)['sub'](_0x289309),_0x52f869=this[_0x3b9b16(0x20d)][_0x3b9b16(0x21f)](_0x3eac41)['sub'](_0x289309),_0x2506a1=_0x6f718e[_0x3b9b16(0x20e)](_0x6f718e),_0x41c8ee=_0x6f718e[_0x3b9b16(0x20e)](_0x2ee79c),_0x34f4dc=_0x6f718e['dot'](_0x52f869),_0x5e8c8b=_0x2ee79c['dot'](_0x52f869),_0x1eb87d=_0x52f869['dot'](_0x52f869),_0x28482b=_0x177a72*_0x177a72,_0x218931=_0x2506a1-_0x41c8ee*_0x41c8ee,_0x513296=_0x2506a1*_0x5e8c8b-_0x34f4dc*_0x41c8ee,_0x27f0d2=_0x2506a1*(_0x1eb87d-_0x28482b)-_0x34f4dc*_0x34f4dc;let _0xbae543=Infinity,_0x49eb04=null,_0x21dec0=null;const _0x17097d=1e-10;if(Math[_0x3b9b16(0x21a)](_0x218931)>_0x17097d){const _0x2f7f9e=_0x513296*_0x513296-_0x218931*_0x27f0d2;if(_0x2f7f9e>=0x0){const _0xcb30b8=(-_0x513296-Math[_0x3b9b16(0x20f)](_0x2f7f9e))/_0x218931,_0x33927c=_0x34f4dc+_0xcb30b8*_0x41c8ee;if(_0xcb30b8>=0x0&&_0xcb30b8<=_0xf99e6a&&_0x33927c>0x0&&_0x33927c<_0x2506a1){_0xbae543=_0xcb30b8,_0x49eb04=this['_tmpPoint']['copy'](_0x2ee79c)[_0x3b9b16(0x1fa)](_0xcb30b8)[_0x3b9b16(0x1ee)](_0x3eac41);const _0x2ebfa2=this[_0x3b9b16(0x1f9)]['copy'](_0x6f718e)[_0x3b9b16(0x1fa)](_0x33927c/_0x2506a1)[_0x3b9b16(0x1ee)](_0x289309);_0x21dec0=this[_0x3b9b16(0x1f9)][_0x3b9b16(0x21f)](_0x49eb04)[_0x3b9b16(0x21d)](_0x2ebfa2);const _0x160a0c=_0x21dec0[_0x3b9b16(0x220)]();_0x160a0c>1e-12?_0x21dec0[_0x3b9b16(0x1fa)](0x1/Math['sqrt'](_0x160a0c)):_0x21dec0['set'](0x0,0x1,0x0);}}}const _0x6db663=this['raycastSphere'](_0x3eac41,_0x2ee79c,_0xf99e6a,_0x289309,_0x177a72);_0x6db663&&_0x6db663[_0x3b9b16(0x22c)]<_0xbae543&&(_0xbae543=_0x6db663[_0x3b9b16(0x22c)],_0x49eb04=_0x6db663['point'],_0x21dec0=_0x6db663[_0x3b9b16(0x217)]);const _0x368aed=this[_0x3b9b16(0x224)](_0x3eac41,_0x2ee79c,_0xf99e6a,_0x11fc17,_0x177a72);_0x368aed&&_0x368aed[_0x3b9b16(0x22c)]<_0xbae543&&(_0xbae543=_0x368aed[_0x3b9b16(0x22c)],_0x49eb04=_0x368aed[_0x3b9b16(0x218)],_0x21dec0=_0x368aed[_0x3b9b16(0x217)]);if(!_0x49eb04||!_0x21dec0||!Number['isFinite'](_0xbae543))return null;return {'point':_0x49eb04[_0x3b9b16(0x1ff)](),'normal':_0x21dec0['clone'](),'distance':_0xbae543};}[_0x3fccc3(0x224)](_0x32abe2,_0x345d00,_0x281cee,_0x33ad2c,_0x3ba30c){const _0x97edab=_0x3fccc3,_0x5defe6=_0x32abe2[_0x97edab(0x1ff)]()[_0x97edab(0x21d)](_0x33ad2c),_0x4cd03c=_0x5defe6[_0x97edab(0x20e)](_0x345d00),_0xbbdebe=_0x5defe6[_0x97edab(0x20e)](_0x5defe6)-_0x3ba30c*_0x3ba30c,_0x5206ce=_0x4cd03c*_0x4cd03c-_0xbbdebe;if(_0x5206ce<0x0)return null;const _0x2c22ce=Math[_0x97edab(0x20f)](_0x5206ce),_0x270c64=-_0x4cd03c-_0x2c22ce;if(_0x270c64<0x0||_0x270c64>_0x281cee){const _0x5095a2=-_0x4cd03c+_0x2c22ce;if(_0x5095a2<0x0||_0x5095a2>_0x281cee)return null;return this[_0x97edab(0x203)](_0x32abe2,_0x345d00,_0x5095a2,_0x33ad2c);}return this[_0x97edab(0x203)](_0x32abe2,_0x345d00,_0x270c64,_0x33ad2c);}[_0x3fccc3(0x203)](_0x9466fa,_0x505e1c,_0x4c0fee,_0x56b206){const _0x3bc1c2=_0x3fccc3,_0x3e0812=_0x9466fa[_0x3bc1c2(0x1ff)]()[_0x3bc1c2(0x1ee)](_0x505e1c[_0x3bc1c2(0x1ff)]()[_0x3bc1c2(0x1fa)](_0x4c0fee)),_0x636dae=_0x3e0812[_0x3bc1c2(0x1ff)]()[_0x3bc1c2(0x21d)](_0x56b206),_0x3b1030=_0x636dae['lengthSq']();return _0x3b1030>1e-12?_0x636dae[_0x3bc1c2(0x1fa)](0x1/Math[_0x3bc1c2(0x20f)](_0x3b1030)):_0x636dae[_0x3bc1c2(0x1f1)](0x0,0x1,0x0),{'point':_0x3e0812,'normal':_0x636dae,'distance':_0x4c0fee};}[_0x3fccc3(0x207)](){const _0x22d5e4=_0x3fccc3,_0x3469e8=new webgpu.Object3D();_0x3469e8[_0x22d5e4(0x214)]=_0x22d5e4(0x1fe);const _0x3ed123=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x22d5e4(0x1f8)]}),_0x42f55b=Math[_0x22d5e4(0x1f0)](0.000001,this[_0x22d5e4(0x202)]),_0x59fadb=Math[_0x22d5e4(0x1f0)](0.000001,this[_0x22d5e4(0x20a)]*0x2),_0x10f10d=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x42f55b,_0x42f55b,_0x59fadb,0xc,0x1,!![]),_0x3ed123),_0x1aefdd=new webgpu.Mesh(new webgpu.SphereGeometry(_0x42f55b,0xc,0x8),_0x3ed123),_0x1b1f82=new webgpu.Mesh(new webgpu.SphereGeometry(_0x42f55b,0xc,0x8),_0x3ed123);return _0x1aefdd[_0x22d5e4(0x1fd)]['set'](0x0,this[_0x22d5e4(0x20a)],0x0),_0x1b1f82[_0x22d5e4(0x1fd)][_0x22d5e4(0x1f1)](0x0,-this[_0x22d5e4(0x20a)],0x0),_0x3469e8['add'](_0x10f10d),_0x3469e8[_0x22d5e4(0x1ee)](_0x1aefdd),_0x3469e8['add'](_0x1b1f82),this[_0x22d5e4(0x1ed)]=_0x3469e8,this['_debugCylinder']=_0x10f10d,this[_0x22d5e4(0x22b)]=_0x1aefdd,this['_debugBottom']=_0x1b1f82,this[_0x22d5e4(0x209)](0x0),_0x3469e8;}['destroyDebugObject'](_0x22f513){const _0x52adb4=_0x3fccc3;this[_0x52adb4(0x1ed)]=null,this[_0x52adb4(0x201)]=null,this['_debugTop']=null,this[_0x52adb4(0x200)]=null;}[_0x3fccc3(0x209)](_0x196bec){const _0x35bf24=_0x3fccc3,_0x566412=this[_0x35bf24(0x201)],_0x1fc4ef=this['_debugTop'],_0x1ab602=this[_0x35bf24(0x200)];if(!_0x566412||!_0x1fc4ef||!_0x1ab602)return;const _0x150cbb=this[_0x35bf24(0x22a)](),_0xc3cc87=Math['abs'](_0x150cbb['x'])>1e-8?_0x150cbb['x']:0x1,_0x98c16c=Math[_0x35bf24(0x21a)](_0x150cbb['y'])>1e-8?_0x150cbb['y']:0x1,_0x223a1f=Math[_0x35bf24(0x21a)](_0x150cbb['z'])>1e-8?_0x150cbb['z']:0x1,_0x258b4b=Math[_0x35bf24(0x1f0)](0.000001,this[_0x35bf24(0x202)])*Math[_0x35bf24(0x1f0)](Math[_0x35bf24(0x21a)](_0xc3cc87),Math[_0x35bf24(0x21a)](_0x223a1f)),_0x514246=Math[_0x35bf24(0x1f0)](0x0,this[_0x35bf24(0x20a)])*Math['abs'](_0x98c16c);_0x566412['scale']['set'](_0x258b4b/_0xc3cc87,_0x514246*0x2/_0x98c16c,_0x258b4b/_0x223a1f),_0x1fc4ef[_0x35bf24(0x1ef)][_0x35bf24(0x1f1)](_0x258b4b/_0xc3cc87,_0x258b4b/_0x98c16c,_0x258b4b/_0x223a1f),_0x1ab602['scale'][_0x35bf24(0x1f1)](_0x258b4b/_0xc3cc87,_0x258b4b/_0x98c16c,_0x258b4b/_0x223a1f),_0x1fc4ef[_0x35bf24(0x1fd)][_0x35bf24(0x1f1)](0x0,_0x514246/_0x98c16c,0x0),_0x1ab602[_0x35bf24(0x1fd)][_0x35bf24(0x1f1)](0x0,-_0x514246/_0x98c16c,0x0);}[_0x3fccc3(0x1f5)](){const _0x19680a=_0x3fccc3,_0xd29d6c=this[_0x19680a(0x1ed)];if(!_0xd29d6c)return;_0xd29d6c[_0x19680a(0x21b)](_0x461788=>{const _0x510438=_0x19680a,_0x3bb2ad=_0x461788,_0x4579fe=_0x3bb2ad[_0x510438(0x206)];if(!_0x4579fe)return;_0x4579fe['color'][_0x510438(0x215)](this['debugColor']),_0x4579fe[_0x510438(0x210)]=this[_0x510438(0x1f8)],_0x4579fe[_0x510438(0x211)]=this[_0x510438(0x1f8)]<0x1,_0x4579fe[_0x510438(0x212)]=!![];});}}
|
|
149
149
|
|
|
150
|
-
const _0x27daab=_0x5c52;(function(_0x1fc24a,_0x34c5dc){const _0x265c64=_0x5c52,_0x2d0243=_0x1fc24a();while(!![]){try{const _0x962996=-parseInt(_0x265c64(0x18c))/0x1+-parseInt(_0x265c64(0x19f))/0x2*(-parseInt(_0x265c64(0x157))/0x3)+-parseInt(_0x265c64(0x15a))/0x4+-parseInt(_0x265c64(0x148))/0x5+-parseInt(_0x265c64(0x165))/0x6+parseInt(_0x265c64(0x1a3))/0x7*(-parseInt(_0x265c64(0x185))/0x8)+parseInt(_0x265c64(0x194))/0x9;if(_0x962996===_0x34c5dc)break;else _0x2d0243['push'](_0x2d0243['shift']());}catch(_0x31acbc){_0x2d0243['push'](_0x2d0243['shift']());}}}(_0x1d65,0xbcb78));function _0x1d65(){const _0xc558a6=['invert','onMouseDown','left','Pawn','lyCameraDragging','code','setRotation','height','onClick','possess','clamp','blocking','visible','parentActor','copy','landToGround','YXZ','includes','onBlur','setFromEuler','length','_moveDown','sub','applyQuaternion','Ignore','_verticalVelocity','button','_clickMarker','3252960PDGGET','onRawClickDelegate','clientY','ArrowDown','inputFilter','constructRootComponent','physics','setPosition','unpossess','eyeHeight','atan2','exitPointerLock','add','_moveLeft','app','1786485ZDuyPA','ArrowRight','KeyS','4855164ItdWSS','preventDefault','getPosition','clientX','point','lengthSq','gravity','outer','onPointerLockChangeDelegate','remove','direction','3446328iALWSo','ShiftRight','clone','setFromAxisAngle','Visibility','lineTraceMulti','max','lineTraceSingle','ray','onKeyDownDelegate','_yaw','setCameraDraggingState','setFromCamera','onPointerDownDelegate','onMouseMove','onContextMenuDelegate','distance','onPointerLockChange','asin','find','normal','multiply','enableGravity','ArrowUp','Space','multiplyScalar','normalize','rotation','syncRotation','movementY','camera','isClickEnabled','16DjTYAE','halfHeight','near','pointerLockElement','_targetPos','updateCameraFromPawn','canvas','1061229BnQydq','onKeyDown','KeyA','_isRightDragging','_moveForward','_pitch','KeyW','collider','38901663nvNidb','viewport','ArrowLeft','movementX','dataset','radius','setQuaternion','onMouseUp','world','_moveUp','getQuaternion','2MaDPia','KeyD','_moveRight','getTargetCameraState','2257213IPIZLH','controller','threeObject','onKeyUpDelegate','onPointerMoveDelegate','moveSpeed','position','rootComponent','onKeyUp','onContextMenu','onWindowBlurDelegate','ShiftLeft','_moveBackward','getBoundingClientRect','enabled','lookSpeed'];_0x1d65=function(){return _0xc558a6;};return _0x1d65();}function _0x5c52(_0x4cee55,_0x293469){_0x4cee55=_0x4cee55-0x11f;const _0x1d65cf=_0x1d65();let _0x5c528f=_0x1d65cf[_0x4cee55];return _0x5c528f;}class FirstPerson extends Pawn{constructor(_0x29489f){const _0x1996ca=_0x5c52;super(_0x29489f),this[_0x1996ca(0x121)]=0xa,this[_0x1996ca(0x12b)]=0.002,this[_0x1996ca(0x17b)]=!![],this['gravity']=0x1e,this[_0x1996ca(0x151)]=0.7,this[_0x1996ca(0x145)]=0x0,this['_yaw']=0x0,this[_0x1996ca(0x191)]=0x0,this[_0x1996ca(0x189)]=null,this[_0x1996ca(0x147)]=null,this[_0x1996ca(0x190)]=![],this['_moveBackward']=![],this[_0x1996ca(0x155)]=![],this[_0x1996ca(0x1a1)]=![],this[_0x1996ca(0x19d)]=![],this[_0x1996ca(0x141)]=![],this['_isRightDragging']=![],this[_0x1996ca(0x125)]=_0x902d60=>{const _0x1958e0=_0x1996ca;if(!Pawn[_0x1958e0(0x14c)]())return;_0x902d60[_0x1958e0(0x15b)]();},this['onBlur']=()=>{const _0x5ab52a=_0x1996ca;this[_0x5ab52a(0x190)]=![],this[_0x5ab52a(0x128)]=![],this[_0x5ab52a(0x155)]=![],this['_moveRight']=![],this[_0x5ab52a(0x19d)]=![],this[_0x5ab52a(0x141)]=![],this['_isRightDragging']=![],this[_0x5ab52a(0x170)](![]);},this[_0x1996ca(0x12d)]=_0x5bae2e=>{const _0x23d71e=_0x1996ca;if(!this['enabled']||!Pawn[_0x23d71e(0x14c)]())return;if(_0x5bae2e[_0x23d71e(0x146)]!==0x2)return;this[_0x23d71e(0x18f)]=!![],this[_0x23d71e(0x170)](!![]);const _0x3a5bc8=this[_0x23d71e(0x156)][_0x23d71e(0x195)][_0x23d71e(0x18b)];_0x3a5bc8&&document[_0x23d71e(0x188)]!==_0x3a5bc8&&_0x3a5bc8['requestPointerLock']();},this['onMouseUp']=_0x31883c=>{const _0xa40428=_0x1996ca;if(_0x31883c[_0xa40428(0x146)]!==0x2)return;this[_0xa40428(0x18f)]=![],this[_0xa40428(0x170)](![]),document[_0xa40428(0x188)]===this['app'][_0xa40428(0x195)][_0xa40428(0x18b)]&&document['exitPointerLock']();},this[_0x1996ca(0x134)]=_0x4642a6=>{const _0x15cbe7=_0x1996ca;if(!this[_0x15cbe7(0x12a)]||!Pawn[_0x15cbe7(0x14c)]())return;if(_0x4642a6['button']!==0x0)return;const _0x262bef=this[_0x15cbe7(0x156)][_0x15cbe7(0x195)][_0x15cbe7(0x18b)];if(!_0x262bef||!this[_0x15cbe7(0x183)])return;const _0x8de29e=_0x262bef[_0x15cbe7(0x129)](),_0x5af52e=new webgpu.Vector2((_0x4642a6[_0x15cbe7(0x15d)]-_0x8de29e[_0x15cbe7(0x12e)])/_0x8de29e['width']*0x2-0x1,-((_0x4642a6[_0x15cbe7(0x14a)]-_0x8de29e['top'])/_0x8de29e[_0x15cbe7(0x133)])*0x2+0x1),_0x1e8ad0=new webgpu.Raycaster();_0x1e8ad0[_0x15cbe7(0x171)](_0x5af52e,this[_0x15cbe7(0x183)]);const _0x5474d8=_0x1e8ad0[_0x15cbe7(0x16d)]['origin'][_0x15cbe7(0x167)](),_0x207081=_0x5474d8[_0x15cbe7(0x167)]()[_0x15cbe7(0x154)](_0x1e8ad0[_0x15cbe7(0x16d)][_0x15cbe7(0x164)][_0x15cbe7(0x167)]()['multiplyScalar'](0x3e8)),_0x5d9b4c=this[_0x15cbe7(0x123)]instanceof CapsuleColliderComponent?this[_0x15cbe7(0x123)]:undefined,_0xaa8248=this[_0x15cbe7(0x156)][_0x15cbe7(0x19c)][_0x15cbe7(0x14e)][_0x15cbe7(0x16a)](_0x5474d8,_0x207081,exports.CollisionChannel[_0x15cbe7(0x12f)],_0x5d9b4c);let _0x15afbd=null;for(const _0xf1e672 of _0xaa8248){if(!_0xf1e672['blocking'])continue;if(this[_0x15cbe7(0x183)]instanceof webgpu.PerspectiveCamera){if(_0xf1e672[_0x15cbe7(0x175)]<this[_0x15cbe7(0x183)][_0x15cbe7(0x187)]*1.5)continue;}const _0x49e28d=_0xf1e672[_0x15cbe7(0x193)],_0x4c568f=_0x49e28d&&(_0x49e28d[_0x15cbe7(0x184)]||_0x49e28d[_0x15cbe7(0x139)]&&_0x49e28d[_0x15cbe7(0x139)][_0x15cbe7(0x184)]),_0x363629=_0xf1e672[_0x15cbe7(0x179)]['y']>0.5;if(!_0x363629&&!_0x4c568f){let _0x3c436f=0.5;this[_0x15cbe7(0x183)]instanceof webgpu.PerspectiveCamera&&(_0x3c436f=this['camera'][_0x15cbe7(0x187)]*0x2);if(_0xf1e672[_0x15cbe7(0x175)]>_0x3c436f)break;continue;}_0x15afbd=_0xf1e672;break;}if(_0x15afbd){const _0x60617a=_0x15afbd[_0x15cbe7(0x193)];if(_0x60617a){if(_0x60617a[_0x15cbe7(0x184)])return;if(_0x60617a[_0x15cbe7(0x139)]&&_0x60617a[_0x15cbe7(0x139)][_0x15cbe7(0x184)])return;}_0x15afbd[_0x15cbe7(0x179)]['y']>0.5&&(this[_0x15cbe7(0x189)]=_0x15afbd[_0x15cbe7(0x15e)][_0x15cbe7(0x167)](),this[_0x15cbe7(0x147)]&&(this['_clickMarker'][_0x15cbe7(0x122)][_0x15cbe7(0x13a)](this[_0x15cbe7(0x189)]),this[_0x15cbe7(0x147)][_0x15cbe7(0x138)]=!![]));}},this[_0x1996ca(0x176)]=()=>{},this[_0x1996ca(0x173)]=_0x14bbf6=>{const _0x4af4a1=_0x1996ca,_0x42641a=(_0x14bbf6['buttons']&0x2)===0x2;if(_0x42641a&&!this['_isRightDragging'])this[_0x4af4a1(0x18f)]=!![],this[_0x4af4a1(0x170)](!![]);else !_0x42641a&&this[_0x4af4a1(0x18f)]&&(this[_0x4af4a1(0x18f)]=![],this[_0x4af4a1(0x170)](![]));if(document['pointerLockElement']!==this[_0x4af4a1(0x156)]['viewport'][_0x4af4a1(0x18b)]&&!_0x42641a)return;if(!this[_0x4af4a1(0x12a)]||!Pawn[_0x4af4a1(0x14c)]())return;const _0x14d6ad=_0x14bbf6[_0x4af4a1(0x197)]||0x0,_0x105715=_0x14bbf6[_0x4af4a1(0x182)]||0x0;this[_0x4af4a1(0x181)](),this[_0x4af4a1(0x16f)]-=_0x14d6ad*this[_0x4af4a1(0x12b)],this[_0x4af4a1(0x191)]-=_0x105715*this[_0x4af4a1(0x12b)];const _0x2aee68=Math['PI']/0x2;this[_0x4af4a1(0x191)]=webgpu.MathUtils[_0x4af4a1(0x136)](this[_0x4af4a1(0x191)],-_0x2aee68+0.001,_0x2aee68-0.001);const _0x154d2a=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x4af4a1(0x16f)]);super[_0x4af4a1(0x19a)](_0x154d2a),this[_0x4af4a1(0x18a)]();},this[_0x1996ca(0x18d)]=_0x1e35f7=>{const _0x2916b8=_0x1996ca;if(!Pawn[_0x2916b8(0x14c)]())return;if([_0x2916b8(0x17c),_0x2916b8(0x192),'ArrowLeft',_0x2916b8(0x18e),_0x2916b8(0x14b),_0x2916b8(0x159),_0x2916b8(0x158),_0x2916b8(0x1a0)][_0x2916b8(0x13d)](_0x1e35f7[_0x2916b8(0x131)])){this['_targetPos']=null;if(this[_0x2916b8(0x147)])this[_0x2916b8(0x147)][_0x2916b8(0x138)]=![];}switch(_0x1e35f7[_0x2916b8(0x131)]){case _0x2916b8(0x17c):case _0x2916b8(0x192):this['_moveForward']=!![];break;case 'ArrowLeft':case 'KeyA':this['_moveLeft']=!![];break;case 'ArrowDown':case _0x2916b8(0x159):this[_0x2916b8(0x128)]=!![];break;case _0x2916b8(0x158):case 'KeyD':this[_0x2916b8(0x1a1)]=!![];break;case _0x2916b8(0x17d):!this[_0x2916b8(0x17b)]&&(this[_0x2916b8(0x19d)]=!![]);break;case _0x2916b8(0x127):case _0x2916b8(0x166):this['_moveDown']=!![];break;}},this['onKeyUp']=_0x1158b1=>{const _0x543d4f=_0x1996ca;switch(_0x1158b1['code']){case 'ArrowUp':case _0x543d4f(0x192):this[_0x543d4f(0x190)]=![];break;case _0x543d4f(0x196):case _0x543d4f(0x18e):this['_moveLeft']=![];break;case _0x543d4f(0x14b):case _0x543d4f(0x159):this[_0x543d4f(0x128)]=![];break;case _0x543d4f(0x158):case _0x543d4f(0x1a0):this[_0x543d4f(0x1a1)]=![];break;case 'Space':this[_0x543d4f(0x19d)]=![];break;case _0x543d4f(0x127):case _0x543d4f(0x166):this[_0x543d4f(0x141)]=![];break;}};}[_0x27daab(0x14d)](){const _0x5e2345=_0x27daab,_0x514512=new CapsuleColliderComponent(this[_0x5e2345(0x156)],0.35,0.55);return _0x514512['objectType']=exports.CollisionChannel[_0x5e2345(0x12f)],_0x514512['setCollisionResponse'](exports.CollisionChannel[_0x5e2345(0x169)],exports.CollisionResponse[_0x5e2345(0x144)]),_0x514512;}[_0x27daab(0x13b)](){const _0x1658e8=_0x27daab,_0xe60d12=this[_0x1658e8(0x15c)](),_0x582922=_0xe60d12[_0x1658e8(0x167)]()[_0x1658e8(0x154)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x1c4fbd=this[_0x1658e8(0x123)],_0x4db7ed=this['app'][_0x1658e8(0x19c)]['physics'][_0x1658e8(0x16c)](_0xe60d12,_0x582922,exports.CollisionChannel[_0x1658e8(0x12f)],_0x1c4fbd);if(_0x4db7ed&&_0x4db7ed['blocking']){const _0x590181=_0x1c4fbd[_0x1658e8(0x186)]+_0x1c4fbd[_0x1658e8(0x199)],_0x2a0bbd=_0x4db7ed[_0x1658e8(0x15e)]['y']+_0x590181;this[_0x1658e8(0x14f)](_0xe60d12['x'],_0x2a0bbd,_0xe60d12['z']),this[_0x1658e8(0x145)]=0x0;}}[_0x27daab(0x181)](){const _0x252575=_0x27daab,_0x22b990=this[_0x252575(0x19e)](),_0x4b2cbd=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x22b990);this[_0x252575(0x16f)]=Math['atan2'](-_0x4b2cbd['x'],-_0x4b2cbd['z']);}[_0x27daab(0x132)](..._0x296a26){const _0x2d327d=_0x27daab,_0x197f6d=new webgpu.Quaternion();_0x296a26[_0x2d327d(0x140)]===0x1?_0x197f6d['setFromEuler'](_0x296a26[0x0]):_0x197f6d[_0x2d327d(0x13f)](new webgpu.Euler(_0x296a26[0x0],_0x296a26[0x1],_0x296a26[0x2],_0x2d327d(0x13c))),this[_0x2d327d(0x19a)](_0x197f6d);}[_0x27daab(0x19a)](..._0xd22061){const _0xe722=_0x27daab;let _0x9a4b63;_0xd22061[_0xe722(0x140)]===0x1?_0x9a4b63=_0xd22061[0x0]:_0x9a4b63=new webgpu.Quaternion(_0xd22061[0x0],_0xd22061[0x1],_0xd22061[0x2],_0xd22061[0x3]);const _0x4b7791=new webgpu.Vector3(0x0,0x0,-1)[_0xe722(0x143)](_0x9a4b63);let _0x2d5ba0=Math[_0xe722(0x177)](webgpu.MathUtils['clamp'](_0x4b7791['y'],-1,0x1));const _0x2f7ec6=Math['PI']/0x2;_0x2d5ba0=webgpu.MathUtils[_0xe722(0x136)](_0x2d5ba0,-_0x2f7ec6+0.001,_0x2f7ec6-0.001);const _0x57b6b=Math[_0xe722(0x152)](-_0x4b7791['x'],-_0x4b7791['z']);this[_0xe722(0x191)]=_0x2d5ba0,this[_0xe722(0x16f)]=_0x57b6b;const _0x3b87ed=new webgpu.Quaternion()[_0xe722(0x168)](new webgpu.Vector3(0x0,0x1,0x0),this[_0xe722(0x16f)]);super[_0xe722(0x19a)](_0x3b87ed),this['enabled']&&this[_0xe722(0x18a)]();}['possess'](){const _0x57b1fd=_0x27daab;super[_0x57b1fd(0x135)]();const _0x17eddd=this[_0x57b1fd(0x156)][_0x57b1fd(0x1a4)];_0x17eddd&&(_0x17eddd[_0x57b1fd(0x149)][_0x57b1fd(0x154)](this[_0x57b1fd(0x134)]),_0x17eddd[_0x57b1fd(0x174)]['add'](this[_0x57b1fd(0x125)]),_0x17eddd[_0x57b1fd(0x162)][_0x57b1fd(0x154)](this[_0x57b1fd(0x176)]),_0x17eddd[_0x57b1fd(0x16e)][_0x57b1fd(0x154)](this[_0x57b1fd(0x18d)]),_0x17eddd['onKeyUpDelegate'][_0x57b1fd(0x154)](this[_0x57b1fd(0x124)]),_0x17eddd[_0x57b1fd(0x120)][_0x57b1fd(0x154)](this[_0x57b1fd(0x173)]),_0x17eddd[_0x57b1fd(0x172)][_0x57b1fd(0x154)](this[_0x57b1fd(0x12d)]),_0x17eddd['onPointerUpDelegate'][_0x57b1fd(0x154)](this['onMouseUp']),_0x17eddd[_0x57b1fd(0x126)]['add'](this[_0x57b1fd(0x13e)]));this[_0x57b1fd(0x123)]&&this['rootComponent']['threeObject']&&(this[_0x57b1fd(0x123)][_0x57b1fd(0x1a5)][_0x57b1fd(0x180)]['order']=_0x57b1fd(0x13c));const _0x5b5a4d=new webgpu.SphereGeometry(0.2,0x10,0x10),_0x27be51=new webgpu.MeshBasicMaterial({'color':0xff00,'transparent':!![],'opacity':0.8});this[_0x57b1fd(0x147)]=new webgpu.Mesh(_0x5b5a4d,_0x27be51),this[_0x57b1fd(0x147)][_0x57b1fd(0x138)]=![],this[_0x57b1fd(0x156)]['world']['scene']['add'](this[_0x57b1fd(0x147)]),this['syncRotation'](),this[_0x57b1fd(0x18a)]();}[_0x27daab(0x150)](){const _0x5242b5=_0x27daab;var _0x555dd5;super[_0x5242b5(0x150)]();const _0x7ef520=this[_0x5242b5(0x156)]['controller'];_0x7ef520&&(_0x7ef520[_0x5242b5(0x149)][_0x5242b5(0x163)](this[_0x5242b5(0x134)]),_0x7ef520[_0x5242b5(0x174)][_0x5242b5(0x163)](this['onContextMenu']),_0x7ef520[_0x5242b5(0x162)]['remove'](this['onPointerLockChange']),_0x7ef520[_0x5242b5(0x16e)][_0x5242b5(0x163)](this['onKeyDown']),_0x7ef520[_0x5242b5(0x11f)]['remove'](this['onKeyUp']),_0x7ef520[_0x5242b5(0x120)][_0x5242b5(0x163)](this['onMouseMove']),_0x7ef520[_0x5242b5(0x172)][_0x5242b5(0x163)](this[_0x5242b5(0x12d)]),_0x7ef520['onPointerUpDelegate']['remove'](this[_0x5242b5(0x19b)]),_0x7ef520[_0x5242b5(0x126)]['remove'](this[_0x5242b5(0x13e)])),this[_0x5242b5(0x18f)]=![],this[_0x5242b5(0x170)](![]),this[_0x5242b5(0x147)]&&((_0x555dd5=this[_0x5242b5(0x147)]['parent'])===null||_0x555dd5===void 0?void 0:_0x555dd5[_0x5242b5(0x163)](this[_0x5242b5(0x147)]),this[_0x5242b5(0x147)]['geometry']['dispose'](),this[_0x5242b5(0x147)]['material']['dispose'](),this[_0x5242b5(0x147)]=null),document[_0x5242b5(0x188)]===this[_0x5242b5(0x156)][_0x5242b5(0x195)][_0x5242b5(0x18b)]&&document[_0x5242b5(0x153)]();}[_0x27daab(0x1a2)](){const _0x2f5c68=_0x27daab,_0x1cf57f=this[_0x2f5c68(0x15c)]();_0x1cf57f['y']+=this[_0x2f5c68(0x151)];const _0x174021=this[_0x2f5c68(0x183)]||this[_0x2f5c68(0x156)][_0x2f5c68(0x183)],_0x3de1ac=this[_0x2f5c68(0x19e)](),_0x43192c=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x1,0x0,0x0),this['_pitch']),_0x40afbb=_0x3de1ac[_0x2f5c68(0x167)]()[_0x2f5c68(0x17a)](_0x43192c);if(_0x174021){const _0x6b63e2=new webgpu.Vector3(0x0,0x0,_0x174021[_0x2f5c68(0x187)])[_0x2f5c68(0x143)](_0x40afbb);_0x1cf57f[_0x2f5c68(0x154)](_0x6b63e2);}return {'position':_0x1cf57f,'quaternion':_0x40afbb};}[_0x27daab(0x170)](_0x43ff31){const _0x25f7e9=_0x27daab,_0x2611c4=this[_0x25f7e9(0x156)][_0x25f7e9(0x195)][_0x25f7e9(0x161)];if(!_0x2611c4)return;_0x43ff31?_0x2611c4[_0x25f7e9(0x198)]['lyCameraDragging']='1':delete _0x2611c4[_0x25f7e9(0x198)][_0x25f7e9(0x130)];}['tick'](_0x374a48){const _0x38b131=_0x27daab;if(!this[_0x38b131(0x12a)])return;const _0x2c3185=this[_0x38b131(0x121)]*_0x374a48,_0x2b4865=new webgpu.Vector3();if(this['_moveForward'])_0x2b4865['z']-=0x1;if(this[_0x38b131(0x128)])_0x2b4865['z']+=0x1;if(this[_0x38b131(0x155)])_0x2b4865['x']-=0x1;if(this[_0x38b131(0x1a1)])_0x2b4865['x']+=0x1;if(this[_0x38b131(0x189)]&&_0x2b4865[_0x38b131(0x15f)]()===0x0){const _0x27afc9=this[_0x38b131(0x15c)](),_0x381cbf=this[_0x38b131(0x189)][_0x38b131(0x167)]();this[_0x38b131(0x17b)]&&(_0x381cbf['y']=_0x27afc9['y']);const _0xeb3d4d=_0x381cbf[_0x38b131(0x142)](_0x27afc9),_0x8ad315=_0xeb3d4d[_0x38b131(0x140)]();if(_0x8ad315>0.1){_0xeb3d4d[_0x38b131(0x17f)]();if(this[_0x38b131(0x17b)]){const _0x416307=this['getQuaternion']()[_0x38b131(0x12c)](),_0x2f5e0d=_0xeb3d4d[_0x38b131(0x167)]()[_0x38b131(0x143)](_0x416307);_0x2b4865[_0x38b131(0x13a)](_0x2f5e0d);}else _0x2b4865[_0x38b131(0x13a)](_0xeb3d4d);}else {this['_targetPos']=null;if(this[_0x38b131(0x147)])this['_clickMarker']['visible']=![];}}if(!this[_0x38b131(0x17b)]){if(this[_0x38b131(0x19d)])_0x2b4865['y']+=0x1;if(this[_0x38b131(0x141)])_0x2b4865['y']-=0x1;}let _0x3dd3f9=new webgpu.Vector3();if(_0x2b4865[_0x38b131(0x15f)]()>0x0){_0x2b4865[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x2c3185);const _0xb8e75c=this[_0x38b131(0x19e)]();_0x3dd3f9=_0x2b4865[_0x38b131(0x143)](_0xb8e75c),this[_0x38b131(0x17b)]&&(_0x3dd3f9['y']=0x0,_0x3dd3f9[_0x38b131(0x15f)]()>0x0&&_0x3dd3f9[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x2c3185));}const _0x32b15d=this[_0x38b131(0x156)][_0x38b131(0x19c)],_0x1793b8=this[_0x38b131(0x15c)](),_0x5dd21d=this[_0x38b131(0x123)]instanceof CapsuleColliderComponent?this[_0x38b131(0x123)]:null,_0x641d34=_0x5dd21d?_0x5dd21d[_0x38b131(0x199)]:0.35,_0x98dfc9=_0x5dd21d?_0x5dd21d[_0x38b131(0x186)]:0.9;if(this[_0x38b131(0x17b)]){this[_0x38b131(0x145)]-=this[_0x38b131(0x160)]*_0x374a48;const _0x29f0ad=_0x1793b8[_0x38b131(0x167)](),_0x3b9a8b=_0x98dfc9+_0x641d34+0.1,_0x45cd70=_0x32b15d[_0x38b131(0x14e)][_0x38b131(0x16a)](_0x29f0ad,_0x29f0ad[_0x38b131(0x167)]()[_0x38b131(0x154)](new webgpu.Vector3(0x0,-_0x3b9a8b,0x0)),exports.CollisionChannel[_0x38b131(0x12f)],_0x5dd21d||undefined),_0x15b29c=_0x45cd70[_0x38b131(0x178)](_0x146ea1=>_0x146ea1[_0x38b131(0x137)]);_0x15b29c&&(this[_0x38b131(0x145)]<=0x0&&(this[_0x38b131(0x145)]=Math[_0x38b131(0x16b)](0x0,this[_0x38b131(0x145)]))),_0x3dd3f9['y']+=this[_0x38b131(0x145)]*_0x374a48;}let _0x259554=_0x3dd3f9;if(_0x32b15d&&_0x32b15d['physics']&&_0x3dd3f9[_0x38b131(0x15f)]()>0.000001){const _0x222b8f=_0x1793b8[_0x38b131(0x167)](),_0x3f2927=_0x3dd3f9[_0x38b131(0x140)]()+_0x641d34+0.1,_0x3319e4=_0x222b8f['clone']()[_0x38b131(0x154)](_0x3dd3f9[_0x38b131(0x167)]()[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x3f2927)),_0x1c333f=_0x32b15d[_0x38b131(0x14e)][_0x38b131(0x16a)](_0x222b8f,_0x3319e4,exports.CollisionChannel[_0x38b131(0x12f)],_0x5dd21d||undefined),_0x31b462=_0x1c333f[_0x38b131(0x178)](_0x2d387e=>_0x2d387e['blocking']);if(_0x31b462&&_0x31b462[_0x38b131(0x137)]){const _0x353e10=_0x31b462[_0x38b131(0x175)],_0x25e70d=Math[_0x38b131(0x16b)](0x0,_0x353e10-_0x641d34-0.001);if(_0x25e70d<_0x3dd3f9['length']()){const _0x5b5d3f=_0x3dd3f9[_0x38b131(0x167)]()[_0x38b131(0x17f)](),_0x334a05=_0x5b5d3f[_0x38b131(0x167)]()[_0x38b131(0x17e)](_0x25e70d),_0x5cc9ac=_0x3dd3f9[_0x38b131(0x167)]()['sub'](_0x334a05),_0x42e7b5=_0x31b462[_0x38b131(0x179)],_0x176865=_0x5cc9ac['dot'](_0x42e7b5);let _0x55ae30=new webgpu.Vector3();_0x176865<0x0?_0x55ae30=_0x5cc9ac[_0x38b131(0x167)]()[_0x38b131(0x142)](_0x42e7b5[_0x38b131(0x167)]()[_0x38b131(0x17e)](_0x176865)):_0x55ae30=_0x5cc9ac;const _0x507c0c=_0x55ae30[_0x38b131(0x140)]();if(_0x507c0c>0.001){const _0x4a4686=_0x222b8f[_0x38b131(0x167)]()[_0x38b131(0x154)](_0x334a05),_0x3eea43=_0x507c0c+_0x641d34+0.1,_0x3be012=_0x4a4686[_0x38b131(0x167)]()[_0x38b131(0x154)](_0x55ae30[_0x38b131(0x167)]()[_0x38b131(0x17f)]()[_0x38b131(0x17e)](_0x3eea43)),_0x543e47=_0x32b15d['physics']['lineTraceMulti'](_0x4a4686,_0x3be012,exports.CollisionChannel[_0x38b131(0x12f)],_0x5dd21d||undefined),_0x2eca67=_0x543e47[_0x38b131(0x178)](_0x5b3446=>_0x5b3446[_0x38b131(0x137)]);if(_0x2eca67&&_0x2eca67[_0x38b131(0x137)]){const _0x24affb=_0x2eca67[_0x38b131(0x175)],_0x364a44=Math[_0x38b131(0x16b)](0x0,_0x24affb-_0x641d34-0.001);_0x364a44<_0x507c0c&&_0x55ae30['normalize']()[_0x38b131(0x17e)](_0x364a44);}}_0x259554=_0x334a05[_0x38b131(0x154)](_0x55ae30);}}}_0x259554[_0x38b131(0x15f)]()>0x0&&(_0x1793b8['add'](_0x259554),this[_0x38b131(0x14f)](_0x1793b8)),this[_0x38b131(0x18a)]();}[_0x27daab(0x18a)](){const _0x199eb7=_0x27daab;if(!this[_0x199eb7(0x12a)]||!this[_0x199eb7(0x183)])return;const _0x39acf6=this[_0x199eb7(0x15c)]();_0x39acf6['y']+=this[_0x199eb7(0x151)];const _0x10d376=this[_0x199eb7(0x19e)](),_0x394df0=new webgpu.Quaternion()[_0x199eb7(0x168)](new webgpu.Vector3(0x1,0x0,0x0),this['_pitch']),_0x5c441d=_0x10d376[_0x199eb7(0x167)]()[_0x199eb7(0x17a)](_0x394df0),_0x7c5e8b=new webgpu.Vector3(0x0,0x0,this[_0x199eb7(0x183)][_0x199eb7(0x187)])[_0x199eb7(0x143)](_0x5c441d);_0x39acf6[_0x199eb7(0x154)](_0x7c5e8b),this[_0x199eb7(0x183)][_0x199eb7(0x122)][_0x199eb7(0x13a)](_0x39acf6),this['camera']['quaternion']['copy'](_0x5c441d),this[_0x199eb7(0x183)]['updateProjectionMatrix']();}}
|
|
150
|
+
const _0x161008=_0x3cd6;function _0x214a(){const _0x629a24=['lineTraceMulti','35FyEFeX','syncRotation','_moveUp','onBlur','threeObject','add','sub','lyCameraDragging','applyQuaternion','inputFilter','ShiftLeft','unpossess','requestPointerLock','ShiftRight','ray','24fbInvN','camera','Pawn','643422LRdJkJ','pointerLockElement','gravity','248780RZpbTo','920WHhExc','_targetPos','atan2','movementX','normal','exitPointerLock','app','includes','20lmsoSo','updateCameraFromPawn','onMouseUp','dispose','find','onPointerDownDelegate','_yaw','onPointerLockChange','top','setRotation','asin','setCollisionResponse','_moveRight','onPointerUpDelegate','visible','lengthSq','onPointerMoveDelegate','rotation','remove','buttons','button','getTargetCameraState','controller','viewport','position','YXZ','code','151407vphbCW','collider','parentActor','preventDefault','_moveLeft','width','normalize','physics','26536XQBZRY','_moveBackward','3700sovruo','possess','onPointerLockChangeDelegate','KeyA','clamp','quaternion','onMouseMove','dataset','_pitch','parent','direction','distance','KeyD','Space','5666020nmyOUn','Ignore','moveSpeed','onKeyUpDelegate','onContextMenu','_verticalVelocity','near','onContextMenuDelegate','multiplyScalar','eyeHeight','onKeyDown','isClickEnabled','point','lookSpeed','objectType','Visibility','onClick','copy','tick','setFromEuler','rootComponent','KeyW','material','multiply','2849968iGQrDn','onKeyDownDelegate','clientX','setFromAxisAngle','getPosition','getBoundingClientRect','setPosition','lineTraceSingle','KeyS','ArrowLeft','canvas','blocking','invert','onKeyUp','_moveDown','onRawClickDelegate','constructRootComponent','enableGravity','clone','updateProjectionMatrix','movementY','setFromCamera','_clickMarker','585mnIYzG','geometry','length','onWindowBlurDelegate','order','_isRightDragging','ArrowDown','world','max','setQuaternion','_moveForward','ArrowUp','radius','enabled','getQuaternion','ArrowRight','onMouseDown','setCameraDraggingState'];_0x214a=function(){return _0x629a24;};return _0x214a();}function _0x3cd6(_0x2a5db4,_0x3c88b3){_0x2a5db4=_0x2a5db4-0x140;const _0x214a30=_0x214a();let _0x3cd61c=_0x214a30[_0x2a5db4];return _0x3cd61c;}(function(_0x303e33,_0x4c8a07){const _0x4ea0f7=_0x3cd6,_0x4c9955=_0x303e33();while(!![]){try{const _0x22c2c3=parseInt(_0x4ea0f7(0x15b))/0x1+-parseInt(_0x4ea0f7(0x164))/0x2*(parseInt(_0x4ea0f7(0x17f))/0x3)+parseInt(_0x4ea0f7(0x15c))/0x4*(-parseInt(_0x4ea0f7(0x189))/0x5)+-parseInt(_0x4ea0f7(0x158))/0x6*(parseInt(_0x4ea0f7(0x146))/0x7)+parseInt(_0x4ea0f7(0x187))/0x8*(parseInt(_0x4ea0f7(0x1c6))/0x9)+parseInt(_0x4ea0f7(0x197))/0xa+parseInt(_0x4ea0f7(0x1af))/0xb*(parseInt(_0x4ea0f7(0x155))/0xc);if(_0x22c2c3===_0x4c8a07)break;else _0x4c9955['push'](_0x4c9955['shift']());}catch(_0x189a9d){_0x4c9955['push'](_0x4c9955['shift']());}}}(_0x214a,0x528a8));class FirstPerson extends Pawn{constructor(_0x188fbb){const _0x45a84e=_0x3cd6;super(_0x188fbb),this[_0x45a84e(0x199)]=0xa,this[_0x45a84e(0x1a4)]=0.002,this['enableGravity']=!![],this[_0x45a84e(0x15a)]=0x1e,this[_0x45a84e(0x1a0)]=0.7,this['_verticalVelocity']=0x0,this[_0x45a84e(0x16a)]=0x0,this[_0x45a84e(0x191)]=0x0,this[_0x45a84e(0x15d)]=null,this[_0x45a84e(0x1c5)]=null,this[_0x45a84e(0x1d0)]=![],this[_0x45a84e(0x188)]=![],this[_0x45a84e(0x183)]=![],this['_moveRight']=![],this[_0x45a84e(0x148)]=![],this[_0x45a84e(0x1bd)]=![],this[_0x45a84e(0x1cb)]=![],this['onContextMenu']=_0x364110=>{const _0x8b7c6=_0x45a84e;if(!Pawn[_0x8b7c6(0x14f)]())return;_0x364110[_0x8b7c6(0x182)]();},this[_0x45a84e(0x149)]=()=>{const _0x606d51=_0x45a84e;this[_0x606d51(0x1d0)]=![],this[_0x606d51(0x188)]=![],this[_0x606d51(0x183)]=![],this['_moveRight']=![],this[_0x606d51(0x148)]=![],this[_0x606d51(0x1bd)]=![],this['_isRightDragging']=![],this[_0x606d51(0x144)](![]);},this[_0x45a84e(0x143)]=_0x40be11=>{const _0x3e69bd=_0x45a84e;if(!this['enabled']||!Pawn[_0x3e69bd(0x14f)]())return;if(_0x40be11[_0x3e69bd(0x178)]!==0x2)return;this['_isRightDragging']=!![],this[_0x3e69bd(0x144)](!![]);const _0x5b2a14=this[_0x3e69bd(0x162)][_0x3e69bd(0x17b)][_0x3e69bd(0x1b9)];_0x5b2a14&&document[_0x3e69bd(0x159)]!==_0x5b2a14&&_0x5b2a14[_0x3e69bd(0x152)]();},this[_0x45a84e(0x166)]=_0x3d3358=>{const _0x5de035=_0x45a84e;if(_0x3d3358[_0x5de035(0x178)]!==0x2)return;this[_0x5de035(0x1cb)]=![],this[_0x5de035(0x144)](![]),document[_0x5de035(0x159)]===this[_0x5de035(0x162)]['viewport'][_0x5de035(0x1b9)]&&document[_0x5de035(0x161)]();},this[_0x45a84e(0x1a7)]=_0xeebea2=>{const _0x5d12f8=_0x45a84e;if(!this['enabled']||!Pawn[_0x5d12f8(0x14f)]())return;if(_0xeebea2[_0x5d12f8(0x178)]!==0x0)return;const _0x622a38=this['app'][_0x5d12f8(0x17b)][_0x5d12f8(0x1b9)];if(!_0x622a38||!this['camera'])return;const _0xb9b25a=_0x622a38[_0x5d12f8(0x1b4)](),_0x43f8c1=new webgpu.Vector2((_0xeebea2[_0x5d12f8(0x1b1)]-_0xb9b25a['left'])/_0xb9b25a[_0x5d12f8(0x184)]*0x2-0x1,-((_0xeebea2['clientY']-_0xb9b25a[_0x5d12f8(0x16c)])/_0xb9b25a['height'])*0x2+0x1),_0x2c37ef=new webgpu.Raycaster();_0x2c37ef[_0x5d12f8(0x1c4)](_0x43f8c1,this['camera']);const _0x3cbcb9=_0x2c37ef[_0x5d12f8(0x154)]['origin'][_0x5d12f8(0x1c1)](),_0x178d4c=_0x3cbcb9[_0x5d12f8(0x1c1)]()[_0x5d12f8(0x14b)](_0x2c37ef[_0x5d12f8(0x154)][_0x5d12f8(0x193)][_0x5d12f8(0x1c1)]()[_0x5d12f8(0x19f)](0x3e8)),_0x1d7dca=this[_0x5d12f8(0x1ab)]instanceof CapsuleColliderComponent?this[_0x5d12f8(0x1ab)]:undefined,_0x58c5a8=this[_0x5d12f8(0x162)][_0x5d12f8(0x1cd)][_0x5d12f8(0x186)][_0x5d12f8(0x145)](_0x3cbcb9,_0x178d4c,exports.CollisionChannel['Pawn'],_0x1d7dca);let _0x396d09=null;for(const _0x5bcc64 of _0x58c5a8){if(!_0x5bcc64[_0x5d12f8(0x1ba)])continue;if(this[_0x5d12f8(0x156)]instanceof webgpu.PerspectiveCamera){if(_0x5bcc64[_0x5d12f8(0x194)]<this['camera'][_0x5d12f8(0x19d)]*1.5)continue;}const _0x1550df=_0x5bcc64['collider'],_0x54b6ce=_0x1550df&&(_0x1550df[_0x5d12f8(0x1a2)]||_0x1550df[_0x5d12f8(0x181)]&&_0x1550df[_0x5d12f8(0x181)][_0x5d12f8(0x1a2)]),_0x4a0858=_0x5bcc64[_0x5d12f8(0x160)]['y']>0.5;if(!_0x4a0858&&!_0x54b6ce){let _0x531b99=0.5;this['camera']instanceof webgpu.PerspectiveCamera&&(_0x531b99=this['camera'][_0x5d12f8(0x19d)]*0x2);if(_0x5bcc64['distance']>_0x531b99)break;continue;}_0x396d09=_0x5bcc64;break;}if(_0x396d09){const _0x495fac=_0x396d09[_0x5d12f8(0x180)];if(_0x495fac){if(_0x495fac['isClickEnabled'])return;if(_0x495fac[_0x5d12f8(0x181)]&&_0x495fac[_0x5d12f8(0x181)][_0x5d12f8(0x1a2)])return;}_0x396d09[_0x5d12f8(0x160)]['y']>0.5&&(this[_0x5d12f8(0x15d)]=_0x396d09[_0x5d12f8(0x1a3)]['clone'](),this[_0x5d12f8(0x1c5)]&&(this[_0x5d12f8(0x1c5)][_0x5d12f8(0x17c)][_0x5d12f8(0x1a8)](this[_0x5d12f8(0x15d)]),this['_clickMarker']['visible']=!![]));}},this[_0x45a84e(0x16b)]=()=>{},this[_0x45a84e(0x18f)]=_0x567ad3=>{const _0xb5e59d=_0x45a84e,_0x27db1d=(_0x567ad3[_0xb5e59d(0x177)]&0x2)===0x2;if(_0x27db1d&&!this[_0xb5e59d(0x1cb)])this['_isRightDragging']=!![],this[_0xb5e59d(0x144)](!![]);else !_0x27db1d&&this['_isRightDragging']&&(this['_isRightDragging']=![],this[_0xb5e59d(0x144)](![]));if(document[_0xb5e59d(0x159)]!==this['app']['viewport'][_0xb5e59d(0x1b9)]&&!_0x27db1d)return;if(!this[_0xb5e59d(0x140)]||!Pawn[_0xb5e59d(0x14f)]())return;const _0x25376e=_0x567ad3[_0xb5e59d(0x15f)]||0x0,_0x4c617d=_0x567ad3[_0xb5e59d(0x1c3)]||0x0;this[_0xb5e59d(0x147)](),this[_0xb5e59d(0x16a)]-=_0x25376e*this['lookSpeed'],this['_pitch']-=_0x4c617d*this['lookSpeed'];const _0x36c103=Math['PI']/0x2;this[_0xb5e59d(0x191)]=webgpu.MathUtils['clamp'](this[_0xb5e59d(0x191)],-_0x36c103+0.001,_0x36c103-0.001);const _0x6496ca=new webgpu.Quaternion()[_0xb5e59d(0x1b2)](new webgpu.Vector3(0x0,0x1,0x0),this[_0xb5e59d(0x16a)]);super[_0xb5e59d(0x1cf)](_0x6496ca),this[_0xb5e59d(0x165)]();},this[_0x45a84e(0x1a1)]=_0x1d560d=>{const _0x159672=_0x45a84e;if(!Pawn[_0x159672(0x14f)]())return;if([_0x159672(0x1d1),'KeyW',_0x159672(0x1b8),_0x159672(0x18c),_0x159672(0x1cc),'KeyS',_0x159672(0x142),_0x159672(0x195)][_0x159672(0x163)](_0x1d560d[_0x159672(0x17e)])){this[_0x159672(0x15d)]=null;if(this[_0x159672(0x1c5)])this['_clickMarker'][_0x159672(0x172)]=![];}switch(_0x1d560d[_0x159672(0x17e)]){case _0x159672(0x1d1):case _0x159672(0x1ac):this['_moveForward']=!![];break;case 'ArrowLeft':case _0x159672(0x18c):this[_0x159672(0x183)]=!![];break;case 'ArrowDown':case _0x159672(0x1b7):this[_0x159672(0x188)]=!![];break;case _0x159672(0x142):case _0x159672(0x195):this['_moveRight']=!![];break;case _0x159672(0x196):!this[_0x159672(0x1c0)]&&(this[_0x159672(0x148)]=!![]);break;case _0x159672(0x150):case _0x159672(0x153):this[_0x159672(0x1bd)]=!![];break;}},this['onKeyUp']=_0x2c4b84=>{const _0x425fc6=_0x45a84e;switch(_0x2c4b84[_0x425fc6(0x17e)]){case 'ArrowUp':case _0x425fc6(0x1ac):this[_0x425fc6(0x1d0)]=![];break;case _0x425fc6(0x1b8):case _0x425fc6(0x18c):this['_moveLeft']=![];break;case _0x425fc6(0x1cc):case _0x425fc6(0x1b7):this[_0x425fc6(0x188)]=![];break;case _0x425fc6(0x142):case _0x425fc6(0x195):this[_0x425fc6(0x170)]=![];break;case _0x425fc6(0x196):this[_0x425fc6(0x148)]=![];break;case _0x425fc6(0x150):case _0x425fc6(0x153):this[_0x425fc6(0x1bd)]=![];break;}};}[_0x161008(0x1bf)](){const _0x763e02=_0x161008,_0x39677f=new CapsuleColliderComponent(this['app'],0.35,0.55);return _0x39677f[_0x763e02(0x1a5)]=exports.CollisionChannel[_0x763e02(0x157)],_0x39677f[_0x763e02(0x16f)](exports.CollisionChannel[_0x763e02(0x1a6)],exports.CollisionResponse[_0x763e02(0x198)]),_0x39677f;}['landToGround'](){const _0x47d929=_0x161008,_0xb80981=this[_0x47d929(0x1b3)](),_0x6a135d=_0xb80981[_0x47d929(0x1c1)]()[_0x47d929(0x14b)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x96217=this['rootComponent'],_0x284437=this[_0x47d929(0x162)][_0x47d929(0x1cd)][_0x47d929(0x186)][_0x47d929(0x1b6)](_0xb80981,_0x6a135d,exports.CollisionChannel[_0x47d929(0x157)],_0x96217);if(_0x284437&&_0x284437[_0x47d929(0x1ba)]){const _0x1aa544=_0x96217['halfHeight']+_0x96217[_0x47d929(0x1d2)],_0x41503c=_0x284437[_0x47d929(0x1a3)]['y']+_0x1aa544;this[_0x47d929(0x1b5)](_0xb80981['x'],_0x41503c,_0xb80981['z']),this[_0x47d929(0x19c)]=0x0;}}[_0x161008(0x147)](){const _0x48d233=_0x161008,_0x31365d=this['getQuaternion'](),_0x34c6a0=new webgpu.Vector3(0x0,0x0,-1)[_0x48d233(0x14e)](_0x31365d);this['_yaw']=Math[_0x48d233(0x15e)](-_0x34c6a0['x'],-_0x34c6a0['z']);}[_0x161008(0x16d)](..._0x44d337){const _0x6814e1=_0x161008,_0x251701=new webgpu.Quaternion();_0x44d337[_0x6814e1(0x1c8)]===0x1?_0x251701[_0x6814e1(0x1aa)](_0x44d337[0x0]):_0x251701[_0x6814e1(0x1aa)](new webgpu.Euler(_0x44d337[0x0],_0x44d337[0x1],_0x44d337[0x2],_0x6814e1(0x17d))),this[_0x6814e1(0x1cf)](_0x251701);}[_0x161008(0x1cf)](..._0x3db44c){const _0x2e43d2=_0x161008;let _0x179434;_0x3db44c['length']===0x1?_0x179434=_0x3db44c[0x0]:_0x179434=new webgpu.Quaternion(_0x3db44c[0x0],_0x3db44c[0x1],_0x3db44c[0x2],_0x3db44c[0x3]);const _0x500057=new webgpu.Vector3(0x0,0x0,-1)[_0x2e43d2(0x14e)](_0x179434);let _0x1b04c9=Math[_0x2e43d2(0x16e)](webgpu.MathUtils[_0x2e43d2(0x18d)](_0x500057['y'],-1,0x1));const _0x49c82c=Math['PI']/0x2;_0x1b04c9=webgpu.MathUtils['clamp'](_0x1b04c9,-_0x49c82c+0.001,_0x49c82c-0.001);const _0x2a8e4b=Math[_0x2e43d2(0x15e)](-_0x500057['x'],-_0x500057['z']);this['_pitch']=_0x1b04c9,this[_0x2e43d2(0x16a)]=_0x2a8e4b;const _0x5d1f44=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x2e43d2(0x16a)]);super['setQuaternion'](_0x5d1f44),this[_0x2e43d2(0x140)]&&this[_0x2e43d2(0x165)]();}[_0x161008(0x18a)](){const _0x15d579=_0x161008;super['possess']();const _0x17b1af=this[_0x15d579(0x162)][_0x15d579(0x17a)];_0x17b1af&&(_0x17b1af[_0x15d579(0x1be)][_0x15d579(0x14b)](this['onClick']),_0x17b1af[_0x15d579(0x19e)]['add'](this[_0x15d579(0x19b)]),_0x17b1af[_0x15d579(0x18b)][_0x15d579(0x14b)](this['onPointerLockChange']),_0x17b1af[_0x15d579(0x1b0)][_0x15d579(0x14b)](this[_0x15d579(0x1a1)]),_0x17b1af[_0x15d579(0x19a)][_0x15d579(0x14b)](this['onKeyUp']),_0x17b1af[_0x15d579(0x174)][_0x15d579(0x14b)](this[_0x15d579(0x18f)]),_0x17b1af['onPointerDownDelegate']['add'](this['onMouseDown']),_0x17b1af[_0x15d579(0x171)][_0x15d579(0x14b)](this[_0x15d579(0x166)]),_0x17b1af[_0x15d579(0x1c9)]['add'](this['onBlur'])),this['rootComponent']&&this[_0x15d579(0x1ab)][_0x15d579(0x14a)]&&(this[_0x15d579(0x1ab)][_0x15d579(0x14a)][_0x15d579(0x175)][_0x15d579(0x1ca)]='YXZ'),this[_0x15d579(0x147)](),this[_0x15d579(0x165)]();}[_0x161008(0x151)](){const _0x366481=_0x161008;var _0x11bab4;super[_0x366481(0x151)]();const _0x378ea4=this['app']['controller'];_0x378ea4&&(_0x378ea4['onRawClickDelegate'][_0x366481(0x176)](this[_0x366481(0x1a7)]),_0x378ea4[_0x366481(0x19e)][_0x366481(0x176)](this[_0x366481(0x19b)]),_0x378ea4['onPointerLockChangeDelegate'][_0x366481(0x176)](this[_0x366481(0x16b)]),_0x378ea4[_0x366481(0x1b0)]['remove'](this[_0x366481(0x1a1)]),_0x378ea4[_0x366481(0x19a)][_0x366481(0x176)](this[_0x366481(0x1bc)]),_0x378ea4[_0x366481(0x174)]['remove'](this[_0x366481(0x18f)]),_0x378ea4[_0x366481(0x169)][_0x366481(0x176)](this[_0x366481(0x143)]),_0x378ea4[_0x366481(0x171)][_0x366481(0x176)](this[_0x366481(0x166)]),_0x378ea4['onWindowBlurDelegate'][_0x366481(0x176)](this[_0x366481(0x149)])),this[_0x366481(0x1cb)]=![],this[_0x366481(0x144)](![]),this[_0x366481(0x1c5)]&&((_0x11bab4=this[_0x366481(0x1c5)][_0x366481(0x192)])===null||_0x11bab4===void 0?void 0:_0x11bab4[_0x366481(0x176)](this[_0x366481(0x1c5)]),this[_0x366481(0x1c5)][_0x366481(0x1c7)][_0x366481(0x167)](),this[_0x366481(0x1c5)][_0x366481(0x1ad)][_0x366481(0x167)](),this['_clickMarker']=null),document['pointerLockElement']===this['app'][_0x366481(0x17b)][_0x366481(0x1b9)]&&document[_0x366481(0x161)]();}[_0x161008(0x179)](){const _0x54f53a=_0x161008,_0x5c54ca=this[_0x54f53a(0x1b3)]();_0x5c54ca['y']+=this[_0x54f53a(0x1a0)];const _0x10b068=this[_0x54f53a(0x156)]||this[_0x54f53a(0x162)][_0x54f53a(0x156)],_0x4fed3c=this[_0x54f53a(0x141)](),_0x59f491=new webgpu.Quaternion()[_0x54f53a(0x1b2)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x54f53a(0x191)]),_0x4bef1c=_0x4fed3c[_0x54f53a(0x1c1)]()[_0x54f53a(0x1ae)](_0x59f491);if(_0x10b068){const _0x504d25=new webgpu.Vector3(0x0,0x0,_0x10b068[_0x54f53a(0x19d)])[_0x54f53a(0x14e)](_0x4bef1c);_0x5c54ca[_0x54f53a(0x14b)](_0x504d25);}return {'position':_0x5c54ca,'quaternion':_0x4bef1c};}[_0x161008(0x144)](_0x2b2dc5){const _0x3a808f=_0x161008,_0x3e832b=this[_0x3a808f(0x162)][_0x3a808f(0x17b)]['outer'];if(!_0x3e832b)return;_0x2b2dc5?_0x3e832b[_0x3a808f(0x190)][_0x3a808f(0x14d)]='1':delete _0x3e832b[_0x3a808f(0x190)][_0x3a808f(0x14d)];}[_0x161008(0x1a9)](_0x20e4c3){const _0x4c6f0a=_0x161008;if(!this['enabled'])return;const _0x1d5eaf=this[_0x4c6f0a(0x199)]*_0x20e4c3,_0x569cba=new webgpu.Vector3();if(this[_0x4c6f0a(0x1d0)])_0x569cba['z']-=0x1;if(this[_0x4c6f0a(0x188)])_0x569cba['z']+=0x1;if(this['_moveLeft'])_0x569cba['x']-=0x1;if(this[_0x4c6f0a(0x170)])_0x569cba['x']+=0x1;if(this['_targetPos']&&_0x569cba['lengthSq']()===0x0){const _0x5bd058=this[_0x4c6f0a(0x1b3)](),_0x57f5c0=this['_targetPos'][_0x4c6f0a(0x1c1)]();this[_0x4c6f0a(0x1c0)]&&(_0x57f5c0['y']=_0x5bd058['y']);const _0x556ece=_0x57f5c0[_0x4c6f0a(0x14c)](_0x5bd058),_0x369ead=_0x556ece[_0x4c6f0a(0x1c8)]();if(_0x369ead>0.1){_0x556ece[_0x4c6f0a(0x185)]();if(this['enableGravity']){const _0x52c97b=this[_0x4c6f0a(0x141)]()[_0x4c6f0a(0x1bb)](),_0x3ffeb3=_0x556ece[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14e)](_0x52c97b);_0x569cba[_0x4c6f0a(0x1a8)](_0x3ffeb3);}else _0x569cba['copy'](_0x556ece);}else {this[_0x4c6f0a(0x15d)]=null;if(this[_0x4c6f0a(0x1c5)])this[_0x4c6f0a(0x1c5)][_0x4c6f0a(0x172)]=![];}}if(!this['enableGravity']){if(this[_0x4c6f0a(0x148)])_0x569cba['y']+=0x1;if(this[_0x4c6f0a(0x1bd)])_0x569cba['y']-=0x1;}let _0x4dbd60=new webgpu.Vector3();if(_0x569cba[_0x4c6f0a(0x173)]()>0x0){_0x569cba[_0x4c6f0a(0x185)]()[_0x4c6f0a(0x19f)](_0x1d5eaf);const _0x1c27b2=this[_0x4c6f0a(0x141)]();_0x4dbd60=_0x569cba[_0x4c6f0a(0x14e)](_0x1c27b2),this['enableGravity']&&(_0x4dbd60['y']=0x0,_0x4dbd60[_0x4c6f0a(0x173)]()>0x0&&_0x4dbd60[_0x4c6f0a(0x185)]()['multiplyScalar'](_0x1d5eaf));}const _0x481976=this[_0x4c6f0a(0x162)][_0x4c6f0a(0x1cd)],_0xb34c2=this[_0x4c6f0a(0x1b3)](),_0x126c5e=this[_0x4c6f0a(0x1ab)]instanceof CapsuleColliderComponent?this[_0x4c6f0a(0x1ab)]:null,_0x55685b=_0x126c5e?_0x126c5e['radius']:0.35,_0x588b96=_0x126c5e?_0x126c5e['halfHeight']:0.9;if(this[_0x4c6f0a(0x1c0)]){this[_0x4c6f0a(0x19c)]-=this['gravity']*_0x20e4c3;const _0x1eda4f=_0xb34c2[_0x4c6f0a(0x1c1)](),_0xc302aa=_0x588b96+_0x55685b+0.1,_0x276abf=_0x481976[_0x4c6f0a(0x186)]['lineTraceMulti'](_0x1eda4f,_0x1eda4f['clone']()[_0x4c6f0a(0x14b)](new webgpu.Vector3(0x0,-_0xc302aa,0x0)),exports.CollisionChannel[_0x4c6f0a(0x157)],_0x126c5e||undefined),_0x23f01a=_0x276abf[_0x4c6f0a(0x168)](_0x24662d=>_0x24662d[_0x4c6f0a(0x1ba)]);_0x23f01a&&(this[_0x4c6f0a(0x19c)]<=0x0&&(this['_verticalVelocity']=Math[_0x4c6f0a(0x1ce)](0x0,this[_0x4c6f0a(0x19c)]))),_0x4dbd60['y']+=this['_verticalVelocity']*_0x20e4c3;}let _0x30c478=_0x4dbd60;if(_0x481976&&_0x481976[_0x4c6f0a(0x186)]&&_0x4dbd60[_0x4c6f0a(0x173)]()>0.000001){const _0x54f1d7=_0xb34c2[_0x4c6f0a(0x1c1)](),_0x474b28=_0x4dbd60[_0x4c6f0a(0x1c8)]()+_0x55685b+0.1,_0x17b8e2=_0x54f1d7[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14b)](_0x4dbd60[_0x4c6f0a(0x1c1)]()['normalize']()[_0x4c6f0a(0x19f)](_0x474b28)),_0x35bb90=_0x481976[_0x4c6f0a(0x186)]['lineTraceMulti'](_0x54f1d7,_0x17b8e2,exports.CollisionChannel['Pawn'],_0x126c5e||undefined),_0x28d54c=_0x35bb90[_0x4c6f0a(0x168)](_0x29219f=>_0x29219f[_0x4c6f0a(0x1ba)]);if(_0x28d54c&&_0x28d54c['blocking']){const _0xb86ba9=_0x28d54c[_0x4c6f0a(0x194)],_0x8619e9=Math[_0x4c6f0a(0x1ce)](0x0,_0xb86ba9-_0x55685b-0.001);if(_0x8619e9<_0x4dbd60[_0x4c6f0a(0x1c8)]()){const _0x215f09=_0x4dbd60[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x185)](),_0x30475a=_0x215f09[_0x4c6f0a(0x1c1)]()['multiplyScalar'](_0x8619e9),_0x41093c=_0x4dbd60[_0x4c6f0a(0x1c1)]()['sub'](_0x30475a),_0x2ee212=_0x28d54c[_0x4c6f0a(0x160)],_0x1b7895=_0x41093c['dot'](_0x2ee212);let _0x23474a=new webgpu.Vector3();_0x1b7895<0x0?_0x23474a=_0x41093c['clone']()['sub'](_0x2ee212[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x19f)](_0x1b7895)):_0x23474a=_0x41093c;const _0x3f2fb6=_0x23474a['length']();if(_0x3f2fb6>0.001){const _0x78602f=_0x54f1d7[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14b)](_0x30475a),_0x1b2777=_0x3f2fb6+_0x55685b+0.1,_0x1f883d=_0x78602f[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14b)](_0x23474a[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x185)]()['multiplyScalar'](_0x1b2777)),_0x339747=_0x481976[_0x4c6f0a(0x186)][_0x4c6f0a(0x145)](_0x78602f,_0x1f883d,exports.CollisionChannel[_0x4c6f0a(0x157)],_0x126c5e||undefined),_0xf13739=_0x339747['find'](_0x53c81e=>_0x53c81e[_0x4c6f0a(0x1ba)]);if(_0xf13739&&_0xf13739[_0x4c6f0a(0x1ba)]){const _0x31605a=_0xf13739[_0x4c6f0a(0x194)],_0x3f59a1=Math['max'](0x0,_0x31605a-_0x55685b-0.001);_0x3f59a1<_0x3f2fb6&&_0x23474a[_0x4c6f0a(0x185)]()[_0x4c6f0a(0x19f)](_0x3f59a1);}}_0x30c478=_0x30475a[_0x4c6f0a(0x14b)](_0x23474a);}}}_0x30c478['lengthSq']()>0x0&&(_0xb34c2['add'](_0x30c478),this[_0x4c6f0a(0x1b5)](_0xb34c2)),this[_0x4c6f0a(0x165)]();}[_0x161008(0x165)](){const _0x5d9c5c=_0x161008;if(!this[_0x5d9c5c(0x140)]||!this['camera'])return;const _0x236a68=this[_0x5d9c5c(0x1b3)]();_0x236a68['y']+=this['eyeHeight'];const _0x302605=this['getQuaternion'](),_0x292b2d=new webgpu.Quaternion()[_0x5d9c5c(0x1b2)](new webgpu.Vector3(0x1,0x0,0x0),this['_pitch']),_0x1f70e5=_0x302605[_0x5d9c5c(0x1c1)]()['multiply'](_0x292b2d),_0x40a1f1=new webgpu.Vector3(0x0,0x0,this[_0x5d9c5c(0x156)][_0x5d9c5c(0x19d)])[_0x5d9c5c(0x14e)](_0x1f70e5);_0x236a68[_0x5d9c5c(0x14b)](_0x40a1f1),this['camera'][_0x5d9c5c(0x17c)][_0x5d9c5c(0x1a8)](_0x236a68),this[_0x5d9c5c(0x156)][_0x5d9c5c(0x18e)][_0x5d9c5c(0x1a8)](_0x1f70e5),this[_0x5d9c5c(0x156)][_0x5d9c5c(0x1c2)]();}}
|
|
151
151
|
|
|
152
|
-
const
|
|
152
|
+
function _0x4061(){const _0x43f1d2=['1217400MaQNQa','7336bOSHrn','copy','pointerLockElement','21vRAnQG','exitPointerLock','237912VgQPcO','order','possess','unpossess','250685khPtVa','YXZ','camera','getPosition','2385nxgUmc','40dRydef','tick','app','constructRootComponent','rootComponent','6465858LNhHeM','getTargetCameraState','updateCameraFromPawn','eyeHeight','getRotation','42052DpEbWw','getQuaternion','enabled','12544200cIepLY','clone','canvas'];_0x4061=function(){return _0x43f1d2;};return _0x4061();}const _0x37e540=_0x29f2;(function(_0x2e5c8d,_0x29944a){const _0x587d39=_0x29f2,_0x53829d=_0x2e5c8d();while(!![]){try{const _0x1a61a6=parseInt(_0x587d39(0x17b))/0x1+parseInt(_0x587d39(0x171))/0x2+parseInt(_0x587d39(0x175))/0x3*(-parseInt(_0x587d39(0x16b))/0x4)+-parseInt(_0x587d39(0x180))/0x5*(parseInt(_0x587d39(0x177))/0x6)+-parseInt(_0x587d39(0x166))/0x7+parseInt(_0x587d39(0x172))/0x8*(-parseInt(_0x587d39(0x17f))/0x9)+parseInt(_0x587d39(0x16e))/0xa;if(_0x1a61a6===_0x29944a)break;else _0x53829d['push'](_0x53829d['shift']());}catch(_0x5b57af){_0x53829d['push'](_0x53829d['shift']());}}}(_0x4061,0x87d0b));function _0x29f2(_0x2fb724,_0x27fa60){_0x2fb724=_0x2fb724-0x165;const _0x406142=_0x4061();let _0x29f267=_0x406142[_0x2fb724];return _0x29f267;}class Spectator extends Pawn{constructor(_0x2e071b){const _0x24c99a=_0x29f2;super(_0x2e071b),this['moveSpeed']=0xa,this['lookSpeed']=0.002,this[_0x24c99a(0x169)]=0.7;}[_0x37e540(0x183)](){const _0x523548=_0x37e540;return new SceneComponent(this[_0x523548(0x182)]);}[_0x37e540(0x179)](){const _0x3e8a8d=_0x37e540;super[_0x3e8a8d(0x179)](),this[_0x3e8a8d(0x165)]&&this[_0x3e8a8d(0x165)]['threeObject']&&(this[_0x3e8a8d(0x165)]['threeObject']['rotation'][_0x3e8a8d(0x178)]=_0x3e8a8d(0x17c)),this[_0x3e8a8d(0x168)]();}[_0x37e540(0x17a)](){const _0x5cc31a=_0x37e540;super[_0x5cc31a(0x17a)](),document[_0x5cc31a(0x174)]===this['app']['viewport'][_0x5cc31a(0x170)]&&document[_0x5cc31a(0x176)]();}[_0x37e540(0x167)](){const _0x3db99c=_0x37e540,_0x5df8f1=this[_0x3db99c(0x17e)]();return _0x5df8f1['y']+=this[_0x3db99c(0x169)],{'position':_0x5df8f1,'quaternion':this[_0x3db99c(0x16c)]()[_0x3db99c(0x16f)]()};}[_0x37e540(0x181)](_0x1b84cb){const _0x3490f3=_0x37e540;if(!this[_0x3490f3(0x16d)])return;this[_0x3490f3(0x168)]();}[_0x37e540(0x168)](){const _0x1c9b9f=_0x37e540;if(!this[_0x1c9b9f(0x16d)]||!this[_0x1c9b9f(0x17d)])return;const _0x4a1817=this[_0x1c9b9f(0x17e)]();_0x4a1817['y']+=this[_0x1c9b9f(0x169)],this[_0x1c9b9f(0x17d)]['position'][_0x1c9b9f(0x173)](_0x4a1817),this['camera']['rotation']['copy'](this[_0x1c9b9f(0x16a)]());}}
|
|
153
153
|
|
|
154
|
-
const
|
|
154
|
+
const _0x7caa72=_0x5ccd;(function(_0xe27c19,_0x50d779){const _0x216c7e=_0x5ccd,_0x28ad7f=_0xe27c19();while(!![]){try{const _0x5edeeb=-parseInt(_0x216c7e(0xe1))/0x1+-parseInt(_0x216c7e(0x8f))/0x2+-parseInt(_0x216c7e(0xc9))/0x3*(parseInt(_0x216c7e(0xc5))/0x4)+-parseInt(_0x216c7e(0xe0))/0x5*(parseInt(_0x216c7e(0xd0))/0x6)+-parseInt(_0x216c7e(0xe6))/0x7*(-parseInt(_0x216c7e(0xa1))/0x8)+-parseInt(_0x216c7e(0xe2))/0x9+parseInt(_0x216c7e(0xb8))/0xa*(parseInt(_0x216c7e(0xa0))/0xb);if(_0x5edeeb===_0x50d779)break;else _0x28ad7f['push'](_0x28ad7f['shift']());}catch(_0x1d74df){_0x28ad7f['push'](_0x28ad7f['shift']());}}}(_0x831a,0x3f5ba));function _0x5ccd(_0x16786b,_0x3a3dbd){_0x16786b=_0x16786b-0x8d;const _0x831aa1=_0x831a();let _0x5ccda2=_0x831aa1[_0x16786b];return _0x5ccda2;}function _0x831a(){const _0x5c8c90=['removeEventListener','enable','control','getRotationnSnap','4AVLKRi','add','clear','setSize','675258zZnACw','onDraggingChangedEvent','scene','decompose','getTargetScene','enabled','set','210eXaFQo','setScaleSnap','matrixWorld','possess','userData','targets','attach','onUpdateFunction','addEventListener','multiplyMatrices','onDraggingFunction','showZ','destroy','canvas','translationSnap','gizmoScene','155nopqrm','453717dVMhix','386721vrBxtC','objectChange','setSpace','scale','119hurfan','getScaleSnap','getHelper','679702LceyxE','_control','change','controller','getMatrixInWorld','onChange','quaternion','targetMatrixMap','forEach','getTargetCameraState','get','setTranslationSnap','clone','detach','onChangeEvent','position','setAxis','11pQVlPF','162488KLjugD','getTranslationSnap','name','camera','remove','isTickEnabled','onObjectChangeEvent','multiply','primaryTarget','helperObject','unpossess','invert','value','showX','includes','rotationSnap','refresh','TransformGizmo:Canvas\x20not\x20found','onTransforming','onDraggingChanged','getMode','setMode','world','9769350sskRPQ','dispose','helperScene','viewPort','scaleSnap','traverse','showY','dragging-changed','onObjectChanged'];_0x831a=function(){return _0x5c8c90;};return _0x831a();}class TransformGizmo extends Pawn{get[_0x7caa72(0xc3)](){const _0x3cc72f=_0x7caa72;if(!this['_control'])throw new Error('Control\x20not\x20initialized');return this[_0x3cc72f(0x90)];}constructor(_0x312122,_0x2dafde){const _0x4c912d=_0x7caa72;var _0x426f47;super(_0x312122),this[_0x4c912d(0x90)]=null,this['helperObject']=new webgpu.Object3D(),this['targets']=[],this[_0x4c912d(0xa9)]=null,this['targetMatrixMap']=new Map(),this['gizmoScene']=null,this[_0x4c912d(0xca)]=_0x4a6790=>{const _0x49e6e3=_0x4c912d;this[_0x49e6e3(0xb4)](_0x4a6790);},this[_0x4c912d(0xa7)]=()=>{const _0x10da50=_0x4c912d;this[_0x10da50(0xc0)]();},this[_0x4c912d(0x9d)]=()=>{const _0x1264b1=_0x4c912d;this[_0x1264b1(0x94)]();},this['onUpdateFunction']=null,this[_0x4c912d(0xda)]=null;let _0x1ec8a0=_0x312122['viewport'][_0x4c912d(0xdd)];if(!_0x1ec8a0)throw new Error(_0x4c912d(0xb2));this[_0x4c912d(0x90)]=new TransformControls_js.TransformControls(_0x312122[_0x4c912d(0xa4)],_0x1ec8a0),this[_0x4c912d(0xc3)]['getHelper']()[_0x4c912d(0xbd)](_0x59d077=>{const _0x11e917=_0x4c912d;_0x59d077[_0x11e917(0xd4)]['rayIgnored']=!![];}),this[_0x4c912d(0xaa)][_0x4c912d(0xa3)]='TransformHelperObject',this[_0x4c912d(0xdf)]=(_0x426f47=_0x2dafde===null||_0x2dafde===void 0?void 0:_0x2dafde[_0x4c912d(0xba)])!==null&&_0x426f47!==void 0?_0x426f47:null;}[_0x7caa72(0xcd)](){const _0x9450c3=_0x7caa72;var _0x21c9ee;return (_0x21c9ee=this[_0x9450c3(0xdf)])!==null&&_0x21c9ee!==void 0?_0x21c9ee:this[_0x9450c3(0x92)][_0x9450c3(0xb7)][_0x9450c3(0xcb)];}[_0x7caa72(0xd3)](){const _0x207ca5=_0x7caa72,_0x1a96f0=this['getTargetScene']();_0x1a96f0[_0x207ca5(0xc6)](this['helperObject']),_0x1a96f0[_0x207ca5(0xc6)](this['control'][_0x207ca5(0x8e)]()),this[_0x207ca5(0xc3)][_0x207ca5(0xd6)](this[_0x207ca5(0xaa)]),this[_0x207ca5(0xc3)]['addEventListener'](_0x207ca5(0x91),this['onChangeEvent']),this[_0x207ca5(0xc3)][_0x207ca5(0xd8)]('dragging-changed',this['onDraggingChangedEvent']),this['control'][_0x207ca5(0xd8)]('objectChange',this[_0x207ca5(0xa7)]);}[_0x7caa72(0xab)](){const _0x4b3549=_0x7caa72;this[_0x4b3549(0xc3)][_0x4b3549(0xc1)]('change',this[_0x4b3549(0x9d)]),this['control'][_0x4b3549(0xc1)](_0x4b3549(0xbf),this[_0x4b3549(0xca)]),this[_0x4b3549(0xc3)][_0x4b3549(0xc1)](_0x4b3549(0xe3),this[_0x4b3549(0xa7)]),this[_0x4b3549(0xc3)][_0x4b3549(0x9c)]();const _0x38763d=this[_0x4b3549(0xcd)]();_0x38763d[_0x4b3549(0xa5)](this[_0x4b3549(0xaa)]),_0x38763d[_0x4b3549(0xa5)](this['control'][_0x4b3549(0x8e)]());}[_0x7caa72(0x98)](){const _0x4e1773=_0x7caa72;return {'position':this[_0x4e1773(0xa4)]['position'][_0x4e1773(0x9b)](),'quaternion':this[_0x4e1773(0xa4)][_0x4e1773(0x95)][_0x4e1773(0x9b)]()};}[_0x7caa72(0xb1)](){const _0x3b3897=_0x7caa72;if(!this[_0x3b3897(0xa9)])return;this['control'][_0x3b3897(0x9c)]();const _0x3e68ee=this[_0x3b3897(0xcd)]();_0x3e68ee['remove'](this['helperObject']),this[_0x3b3897(0x96)]['clear']();let _0x51a9ce=this['primaryTarget'][_0x3b3897(0x93)]();_0x51a9ce['decompose'](this[_0x3b3897(0xaa)][_0x3b3897(0x9e)],this[_0x3b3897(0xaa)][_0x3b3897(0x95)],this[_0x3b3897(0xaa)][_0x3b3897(0xe5)]),_0x3e68ee['add'](this[_0x3b3897(0xc3)][_0x3b3897(0x8e)]()),_0x3e68ee[_0x3b3897(0xc6)](this['helperObject']),this[_0x3b3897(0xc3)][_0x3b3897(0xd6)](this[_0x3b3897(0xaa)]),this[_0x3b3897(0xd5)]['forEach'](_0x32f8f8=>{const _0x588c59=_0x3b3897,_0xd41cd7=_0x32f8f8[_0x588c59(0x93)](),_0xf5327f=_0x51a9ce[_0x588c59(0x9b)]()[_0x588c59(0xac)]()['multiply'](_0xd41cd7);this['targetMatrixMap']['set'](_0x32f8f8,_0xf5327f);});}[_0x7caa72(0x94)](){const _0x2bdfef=_0x7caa72;this[_0x2bdfef(0x92)][_0x2bdfef(0xbb)]['markRenderStateDirty']();}['onDraggingChanged'](_0x17de8e){const _0x4bff70=_0x7caa72;if(this[_0x4bff70(0xa9)]){let _0x7c6e51=this['primaryTarget'][_0x4bff70(0x93)]();_0x7c6e51['decompose'](this[_0x4bff70(0xaa)]['position'],this[_0x4bff70(0xaa)]['quaternion'],this[_0x4bff70(0xaa)][_0x4bff70(0xe5)]);}this['onDraggingFunction']&&this['onDraggingFunction'](_0x17de8e[_0x4bff70(0xad)]);}[_0x7caa72(0xc0)](){const _0x4e1b3a=_0x7caa72;if(this[_0x4e1b3a(0xa9)]){this['helperObject']['updateMatrixWorld'](!![]);const _0x4f9809=this['helperObject'][_0x4e1b3a(0xd2)][_0x4e1b3a(0x9b)]();this[_0x4e1b3a(0xa9)][_0x4e1b3a(0xb3)](_0x4f9809),this[_0x4e1b3a(0xd5)][_0x4e1b3a(0x97)](_0x2bb729=>{const _0x5b2d78=_0x4e1b3a,_0x964d64=this[_0x5b2d78(0x96)][_0x5b2d78(0x99)](_0x2bb729);if(_0x964d64){const _0x558c45=new webgpu.Matrix4()[_0x5b2d78(0xd9)](_0x4f9809,_0x964d64);_0x2bb729[_0x5b2d78(0xb3)](_0x558c45);}});}this[_0x4e1b3a(0xd7)]&&this[_0x4e1b3a(0xd7)]();}set[_0x7caa72(0xc2)](_0x485248){const _0x37095c=_0x7caa72;this['control'][_0x37095c(0xce)]=_0x485248;}['setTarget'](_0x411c0d,_0xf50f36,_0x284ca0=null,_0x48a22f=null){const _0x1d7893=_0x7caa72;this[_0x1d7893(0x96)][_0x1d7893(0xc7)]();let _0x1e525c=_0x411c0d['getMatrixInWorld']();_0x1e525c[_0x1d7893(0xcc)](this[_0x1d7893(0xaa)][_0x1d7893(0x9e)],this[_0x1d7893(0xaa)]['quaternion'],this[_0x1d7893(0xaa)][_0x1d7893(0xe5)]);const _0xdbf3f0=this['getTargetScene']();_0xdbf3f0[_0x1d7893(0xc6)](this[_0x1d7893(0xc3)][_0x1d7893(0x8e)]()),this[_0x1d7893(0xa9)]=_0x411c0d,this['targets']=_0xf50f36,this[_0x1d7893(0xd5)][_0x1d7893(0x97)](_0x29b5e4=>{const _0x44466d=_0x1d7893,_0x5b657b=_0x29b5e4[_0x44466d(0x93)](),_0x33703f=_0x1e525c[_0x44466d(0x9b)]()['invert']()[_0x44466d(0xa8)](_0x5b657b);this[_0x44466d(0x96)][_0x44466d(0xcf)](_0x29b5e4,_0x33703f);}),_0x284ca0&&(this[_0x1d7893(0xd7)]=_0x284ca0),_0x48a22f&&(this[_0x1d7893(0xda)]=_0x48a22f),this[_0x1d7893(0xa6)]=!![];}[_0x7caa72(0xb5)](){const _0x4c8890=_0x7caa72;return this[_0x4c8890(0xc3)]['getMode']();}[_0x7caa72(0xb6)](_0x2c3a33){const _0x32e950=_0x7caa72;this[_0x32e950(0xc3)][_0x32e950(0xb6)](_0x2c3a33);}['setSpace'](_0x1c381c){const _0x306539=_0x7caa72;this['control'][_0x306539(0xe4)](_0x1c381c);}[_0x7caa72(0x9f)](_0x4d4dd3){const _0x1aed8a=_0x7caa72;this['control'][_0x1aed8a(0xae)]=_0x4d4dd3?_0x4d4dd3===null||_0x4d4dd3===void 0?void 0:_0x4d4dd3['includes']('X'):![],this[_0x1aed8a(0xc3)][_0x1aed8a(0xbe)]=_0x4d4dd3?_0x4d4dd3===null||_0x4d4dd3===void 0?void 0:_0x4d4dd3[_0x1aed8a(0xaf)]('Y'):![],this[_0x1aed8a(0xc3)][_0x1aed8a(0xdb)]=_0x4d4dd3?_0x4d4dd3===null||_0x4d4dd3===void 0?void 0:_0x4d4dd3[_0x1aed8a(0xaf)]('Z'):![];}[_0x7caa72(0xc8)](_0x3d531d){const _0x27ce63=_0x7caa72;this[_0x27ce63(0xc3)][_0x27ce63(0xc8)](_0x3d531d);}[_0x7caa72(0xa2)](){const _0x14ba24=_0x7caa72;return this[_0x14ba24(0xc3)][_0x14ba24(0xde)];}['setTranslationSnap'](_0x18bacd){const _0x44f190=_0x7caa72;this[_0x44f190(0xc3)][_0x44f190(0x9a)](_0x18bacd);}[_0x7caa72(0xc4)](){const _0x1b201e=_0x7caa72;return this[_0x1b201e(0xc3)][_0x1b201e(0xb0)];}['setRotationSnap'](_0x33bffe){const _0x15c883=_0x7caa72;this[_0x15c883(0xc3)]['setRotationSnap'](_0x33bffe);}[_0x7caa72(0x8d)](){const _0x2a59f8=_0x7caa72;return this[_0x2a59f8(0xc3)][_0x2a59f8(0xbc)];}[_0x7caa72(0xd1)](_0x4ea68e){const _0x176a0c=_0x7caa72;this[_0x176a0c(0xc3)][_0x176a0c(0xd1)](_0x4ea68e);}[_0x7caa72(0xdc)](){const _0x10dd3d=_0x7caa72;var _0x3cdd8e;this['isTickEnabled']=![],this['unpossess'](),this[_0x10dd3d(0x96)][_0x10dd3d(0xc7)](),this[_0x10dd3d(0xd5)]=[],this[_0x10dd3d(0xa9)]=null,this[_0x10dd3d(0xd7)]=null,this['onDraggingFunction']=null,(_0x3cdd8e=this[_0x10dd3d(0x90)])===null||_0x3cdd8e===void 0?void 0:_0x3cdd8e[_0x10dd3d(0xb9)](),this[_0x10dd3d(0x90)]=null,super[_0x10dd3d(0xdc)]();}}
|
|
155
155
|
|
|
156
|
-
function
|
|
156
|
+
const _0x152850=_0xfcf7;function _0x4d81(){const _0x486fd4=['invert','onDebugTick','1782AGWTmt','copy','negate','set','createDebugObject','clone','abs','matrixWorld','halfExtents','87vDICjA','_debugMesh','14735cltcQT','subVectors','applyMatrix4','normal','makeEmpty','1152261BlGxBg','481372qhhWCr','name','363568HUqsEB','664JYpqSL','_halfExtents','46296iarhTv','intersectRayAabbRaw','transformDirection','540wnepde','47732oFBDIE','6906RwdVxK','raycast','10bBdAIc','threeObject','normalize','BoxColliderDebug','transpose','BoxColliderComponent','expandByPoint','add','multiplyScalar','getWorldAABB'];_0x4d81=function(){return _0x486fd4;};return _0x4d81();}(function(_0x186aa9,_0x5105bb){const _0xceec9c=_0xfcf7,_0x44577c=_0x186aa9();while(!![]){try{const _0x52c82a=-parseInt(_0xceec9c(0x130))/0x1+-parseInt(_0xceec9c(0x12e))/0x2+-parseInt(_0xceec9c(0x126))/0x3*(-parseInt(_0xceec9c(0x137))/0x4)+parseInt(_0xceec9c(0x136))/0x5*(parseInt(_0xceec9c(0x138))/0x6)+-parseInt(_0xceec9c(0x128))/0x7*(parseInt(_0xceec9c(0x131))/0x8)+parseInt(_0xceec9c(0x12d))/0x9*(-parseInt(_0xceec9c(0x13a))/0xa)+-parseInt(_0xceec9c(0x11d))/0xb*(-parseInt(_0xceec9c(0x133))/0xc);if(_0x52c82a===_0x5105bb)break;else _0x44577c['push'](_0x44577c['shift']());}catch(_0x3f7da8){_0x44577c['push'](_0x44577c['shift']());}}}(_0x4d81,0x2dfcb));function _0xfcf7(_0x3b10fb,_0x3b8260){_0x3b10fb=_0x3b10fb-0x114;const _0x4d8193=_0x4d81();let _0xfcf767=_0x4d8193[_0x3b10fb];return _0xfcf767;}class BoxColliderComponent extends ColliderComponent{get[_0x152850(0x125)](){const _0x4be72e=_0x152850;return this[_0x4be72e(0x132)];}constructor(_0x389b6a,_0x4810fe=new webgpu.Vector3(0.5,0.5,0.5),_0x17a6a6){const _0x4f0a74=_0x152850;super(_0x389b6a,_0x17a6a6),this[_0x4f0a74(0x127)]=null,this[_0x4f0a74(0x132)]=new webgpu.Vector3(_0x4810fe['x'],_0x4810fe['y'],_0x4810fe['z']),this[_0x4f0a74(0x12f)]=_0x4f0a74(0x116);}[_0x152850(0x11a)](_0x48b4c3=new webgpu.Box3()){const _0x23c782=_0x152850,_0x597604=this['getWorldMatrix'](),_0x33cbc8=this[_0x23c782(0x132)]['x'],_0x33e4e4=this[_0x23c782(0x132)]['y'],_0x374dce=this[_0x23c782(0x132)]['z'];_0x48b4c3[_0x23c782(0x12c)]();const _0x576578=[new webgpu.Vector3(-_0x33cbc8,-_0x33e4e4,-_0x374dce),new webgpu.Vector3(-_0x33cbc8,-_0x33e4e4,_0x374dce),new webgpu.Vector3(-_0x33cbc8,_0x33e4e4,-_0x374dce),new webgpu.Vector3(-_0x33cbc8,_0x33e4e4,_0x374dce),new webgpu.Vector3(_0x33cbc8,-_0x33e4e4,-_0x374dce),new webgpu.Vector3(_0x33cbc8,-_0x33e4e4,_0x374dce),new webgpu.Vector3(_0x33cbc8,_0x33e4e4,-_0x374dce),new webgpu.Vector3(_0x33cbc8,_0x33e4e4,_0x374dce)];for(const _0x52935a of _0x576578){_0x52935a[_0x23c782(0x12a)](_0x597604),_0x48b4c3[_0x23c782(0x117)](_0x52935a);}return _0x48b4c3;}[_0x152850(0x121)](){const _0x30d9aa=_0x152850,_0x1bea89=new webgpu.Object3D();_0x1bea89['name']=_0x30d9aa(0x114);const _0x199c6a=new webgpu.BoxGeometry(0x1,0x1,0x1),_0x347122=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0x438c99=new webgpu.Mesh(_0x199c6a,_0x347122);return _0x438c99['name']='BoxColliderDebugMesh',_0x1bea89[_0x30d9aa(0x118)](_0x438c99),this[_0x30d9aa(0x127)]=_0x438c99,this[_0x30d9aa(0x11c)](0x0),_0x1bea89;}['destroyDebugObject'](_0x4d00cf){const _0xeee7d8=_0x152850;this[_0xeee7d8(0x127)]=null;}[_0x152850(0x11c)](_0x2d64a1){const _0x519770=_0x152850;if(!this['_debugMesh'])return;this[_0x519770(0x127)]['scale'][_0x519770(0x120)](this[_0x519770(0x132)]['x']*0x2,this[_0x519770(0x132)]['y']*0x2,this[_0x519770(0x132)]['z']*0x2);}[_0x152850(0x139)](_0x3bb53a,_0x58f115,_0x4b12dd){const _0x28f150=_0x152850;if(!this[_0x28f150(0x13b)])return null;const _0x2e8869=this[_0x28f150(0x13b)][_0x28f150(0x124)][_0x28f150(0x122)]()[_0x28f150(0x11b)](),_0x4bbdcd=_0x3bb53a[_0x28f150(0x122)]()['applyMatrix4'](_0x2e8869),_0x1b45a9=_0x58f115[_0x28f150(0x122)]()[_0x28f150(0x135)](_0x2e8869),_0x1a0d49=_0x3bb53a[_0x28f150(0x122)]()[_0x28f150(0x118)](_0x58f115),_0x3f74ee=_0x1a0d49[_0x28f150(0x12a)](_0x2e8869);_0x1b45a9[_0x28f150(0x129)](_0x3f74ee,_0x4bbdcd);const _0x41f774=this[_0x28f150(0x132)][_0x28f150(0x122)]()[_0x28f150(0x11f)](),_0x1ac836=this['_halfExtents'][_0x28f150(0x122)](),_0x297772=this[_0x28f150(0x134)](_0x4bbdcd,_0x1b45a9,_0x41f774,_0x1ac836);if(!_0x297772)return null;if(_0x297772['t']>_0x4b12dd)return null;const _0x35c3f0=_0x3bb53a[_0x28f150(0x122)]()[_0x28f150(0x118)](_0x58f115[_0x28f150(0x122)]()[_0x28f150(0x119)](_0x297772['t'])),_0xc5ec9=_0x297772[_0x28f150(0x12b)],_0x579dd1=new webgpu.Matrix4()[_0x28f150(0x11e)](this[_0x28f150(0x13b)]['matrixWorld'])[_0x28f150(0x11b)]()[_0x28f150(0x115)](),_0x38add3=_0xc5ec9[_0x28f150(0x12a)](_0x579dd1)[_0x28f150(0x13c)]();return {'point':_0x35c3f0,'normal':_0x38add3,'distance':_0x297772['t']};}[_0x152850(0x134)](_0x15dc39,_0x5c8055,_0xde6a6,_0x35ec07){const _0x6fb74c=_0x152850;let _0x13df20=-Infinity,_0x4751b4=Infinity;const _0x5419d9=new webgpu.Vector3(),_0xc3625d=1e-8,_0x495822=_0x36720e=>{const _0x2a267b=_0xfcf7,_0x544181=_0x15dc39[_0x36720e],_0x425054=_0x5c8055[_0x36720e],_0x5ddb6b=_0xde6a6[_0x36720e],_0x5e1509=_0x35ec07[_0x36720e];if(Math[_0x2a267b(0x123)](_0x425054)<_0xc3625d){if(_0x544181<_0x5ddb6b||_0x544181>_0x5e1509)return ![];return !![];}const _0x1c3630=0x1/_0x425054;let _0x268f9f=(_0x5ddb6b-_0x544181)*_0x1c3630,_0x4e1132=(_0x5e1509-_0x544181)*_0x1c3630;if(_0x268f9f>_0x4e1132){const _0x3b691e=_0x268f9f;_0x268f9f=_0x4e1132,_0x4e1132=_0x3b691e;}if(_0x268f9f>_0x13df20){_0x13df20=_0x268f9f,_0x5419d9['set'](0x0,0x0,0x0),_0x5419d9[_0x36720e]=_0x425054<0x0?0x1:-1;if(_0x425054>0x0)_0x5419d9[_0x36720e]=-1;else _0x5419d9[_0x36720e]=0x1;}_0x4e1132<_0x4751b4&&(_0x4751b4=_0x4e1132);if(_0x13df20>_0x4751b4)return ![];return !![];};if(!_0x495822('x')||!_0x495822('y')||!_0x495822('z'))return null;if(_0x4751b4<0x0)return null;if(_0x13df20<0x0)return {'t':0x0,'normal':_0x5c8055[_0x6fb74c(0x122)]()[_0x6fb74c(0x11f)]()['normalize']()};return {'t':_0x13df20,'normal':_0x5419d9};}}
|
|
157
157
|
|
|
158
|
-
const
|
|
158
|
+
function _0x3309(){const _0x1232a2=['_debugMesh','add','5638367qDtdUZ','abs','86PraUQM','getWorldAABB','257535XlVwou','26423rYnCWX','transparent','30ULdvxT','set','3948916bhJlTW','676625HxrOZr','max','getWorldScale','_radius','SphereColliderComponent','debugOpacity','radius','setHex','31969152NEYlVX','9454256yofGIM','createDebugObject','destroyDebugObject','setFromCenterAndSize','needsUpdate','debugColor','name','getWorldPosition','opacity'];_0x3309=function(){return _0x1232a2;};return _0x3309();}const _0x34eaef=_0x1fb7;(function(_0x8cfcc4,_0x43c822){const _0x15cc8a=_0x1fb7,_0x803570=_0x8cfcc4();while(!![]){try{const _0x38b924=-parseInt(_0x15cc8a(0xf4))/0x1*(-parseInt(_0x15cc8a(0xf1))/0x2)+-parseInt(_0x15cc8a(0xf3))/0x3+-parseInt(_0x15cc8a(0xf8))/0x4+parseInt(_0x15cc8a(0xf9))/0x5*(-parseInt(_0x15cc8a(0xf6))/0x6)+-parseInt(_0x15cc8a(0xef))/0x7+-parseInt(_0x15cc8a(0x102))/0x8+parseInt(_0x15cc8a(0x101))/0x9;if(_0x38b924===_0x43c822)break;else _0x803570['push'](_0x803570['shift']());}catch(_0x18fa65){_0x803570['push'](_0x803570['shift']());}}}(_0x3309,0xe843b));function _0x1fb7(_0x361fc2,_0x1b290d){_0x361fc2=_0x361fc2-0xef;const _0x3309ca=_0x3309();let _0x1fb771=_0x3309ca[_0x361fc2];return _0x1fb771;}class SphereColliderComponent extends ColliderComponent{get[_0x34eaef(0xff)](){return this['_radius'];}constructor(_0x2a4af0,_0x5899a7=0.5,_0x1d32d1){const _0x276d07=_0x34eaef;super(_0x2a4af0,_0x1d32d1),this['_debugMesh']=null,this['_radius']=_0x5899a7,this[_0x276d07(0x108)]=_0x276d07(0xfd);}[_0x34eaef(0xf2)](_0x5a8657=new webgpu.Box3()){const _0x3a9636=_0x34eaef,_0x40abaa=this[_0x3a9636(0x109)](),_0x3919a2=this['getWorldScale'](),_0x42e38f=Math['max'](Math['abs'](_0x3919a2['x']),Math[_0x3a9636(0xf0)](_0x3919a2['y']),Math['abs'](_0x3919a2['z'])),_0x50f201=Math[_0x3a9636(0xfa)](0x0,this[_0x3a9636(0xfc)])*_0x42e38f,_0x22e139=new webgpu.Vector3(_0x50f201*0x2,_0x50f201*0x2,_0x50f201*0x2);return _0x5a8657[_0x3a9636(0x105)](_0x40abaa,_0x22e139),_0x5a8657;}[_0x34eaef(0x103)](){const _0xf2cd92=_0x34eaef,_0x1eb4ca=new webgpu.Object3D();_0x1eb4ca['name']='SphereColliderDebug';const _0x36a1d3=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x24d979=new webgpu.MeshBasicMaterial({'color':this[_0xf2cd92(0x107)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0xde3d82=new webgpu.Mesh(_0x36a1d3,_0x24d979);return _0xde3d82['name']='SphereColliderDebugMesh',_0x1eb4ca[_0xf2cd92(0x10c)](_0xde3d82),this[_0xf2cd92(0x10b)]=_0xde3d82,this['onDebugTick'](0x0),_0x1eb4ca;}[_0x34eaef(0x104)](_0x53d67c){this['_debugMesh']=null;}['onDebugTick'](_0x52934a){const _0x25e0e5=_0x34eaef,_0x3273ca=this['_debugMesh'];if(!_0x3273ca)return;const _0x2fe2e0=this[_0x25e0e5(0xfb)](),_0xbd5ee4=Math[_0x25e0e5(0xf0)](_0x2fe2e0['x'])>1e-8?_0x2fe2e0['x']:0x1,_0x5b608e=Math[_0x25e0e5(0xf0)](_0x2fe2e0['y'])>1e-8?_0x2fe2e0['y']:0x1,_0x1a011a=Math[_0x25e0e5(0xf0)](_0x2fe2e0['z'])>1e-8?_0x2fe2e0['z']:0x1,_0x2259ed=Math[_0x25e0e5(0xfa)](Math[_0x25e0e5(0xf0)](_0xbd5ee4),Math[_0x25e0e5(0xf0)](_0x5b608e),Math[_0x25e0e5(0xf0)](_0x1a011a)),_0x537d0f=Math[_0x25e0e5(0xfa)](0x0,this[_0x25e0e5(0xfc)])*_0x2259ed;_0x3273ca['scale'][_0x25e0e5(0xf7)](_0x537d0f/_0xbd5ee4,_0x537d0f/_0x5b608e,_0x537d0f/_0x1a011a);}['onDebugStyleChanged'](){const _0x1d0ea8=_0x34eaef,_0x11f74b=this[_0x1d0ea8(0x10b)];if(!_0x11f74b)return;const _0x2d63ce=_0x11f74b['material'];_0x2d63ce['color'][_0x1d0ea8(0x100)](this['debugColor']),_0x2d63ce[_0x1d0ea8(0x10a)]=this[_0x1d0ea8(0xfe)],_0x2d63ce[_0x1d0ea8(0xf5)]=this[_0x1d0ea8(0xfe)]<0x1,_0x2d63ce[_0x1d0ea8(0x106)]=!![];}}
|
|
159
159
|
|
|
160
|
-
const _0x3d2d05=_0x35f2;function _0x35f2(_0x565bfd,_0x1d8857){_0x565bfd=_0x565bfd-0xd9;const _0x1ef3a6=_0x1ef3();let _0x35f25a=_0x1ef3a6[_0x565bfd];return _0x35f25a;}(function(_0x3ac2a2,_0x5b029f){const _0x340fe6=_0x35f2,_0xb691d1=_0x3ac2a2();while(!![]){try{const _0x2744d7=-parseInt(_0x340fe6(0xfd))/0x1*(parseInt(_0x340fe6(0xec))/0x2)+parseInt(_0x340fe6(0xf8))/0x3+parseInt(_0x340fe6(0x10b))/0x4*(parseInt(_0x340fe6(0xf1))/0x5)+parseInt(_0x340fe6(0x130))/0x6*(parseInt(_0x340fe6(0xf0))/0x7)+-parseInt(_0x340fe6(0x134))/0x8*(-parseInt(_0x340fe6(0x106))/0x9)+parseInt(_0x340fe6(0x114))/0xa*(-parseInt(_0x340fe6(0x12a))/0xb)+-parseInt(_0x340fe6(0xdb))/0xc;if(_0x2744d7===_0x5b029f)break;else _0xb691d1['push'](_0xb691d1['shift']());}catch(_0x40bcce){_0xb691d1['push'](_0xb691d1['shift']());}}}(_0x1ef3,0xbb61d));function _0x1ef3(){const _0x56d4c3=['getWorldAABB','_tmpEdge2','clone','debugOpacity','32QTficG','point','_tmpA','mergeGeometries','array','_debugEntries','getX','distance','name','1720vAdNzX','_tmpP','_tmpQ','computeBoundingBox','_tmpC','_sourceObject','dot','getZ','boundingBox','sub','sort','intersectRayTriangle','raycast','getDebugAttachParent','dispose','MeshColliderDebug','destroyDebugObject','setAttribute','lengthSq','sqrt','setSourceObject','_tmpCorner','14773cdXLZn','geometry','_debugMaterial','multiplyScalar','needsUpdate','createDebugObject','12enwGfv','applyMatrix4','_tmpT','_tmpEdge1','26608TZXyPM','destroy','abs','length','_tmpB','from','16782036mRuUHo','min','traverse','obj','add','multiply','push','getY','isMesh','threeObject','matrixWorld','_mesh','normal','_tmpMat','intersectRayAabb','raycastAll','color','6434aTZaSe','count','setIndex','attributes','3672214WPIOOn','924365phvOdc','transparent','copy','position','updateWorldMatrix','debugEnabled','setHex','1696191ucLFFv','_tmpBoxCorner','crossVectors','max','invert','353wIWMSg','floor','_tmpAabb','getIndex','index','_tmpN','debugColor','set','expandByPoint','1188yIgkZm'];_0x1ef3=function(){return _0x56d4c3;};return _0x1ef3();}class MeshColliderComponent extends ColliderComponent{get['sourceObject'](){const _0x55799d=_0x35f2;return this[_0x55799d(0x119)];}constructor(_0x53410b,_0x1c3e66=null,_0x48cf93){const _0x279af2=_0x35f2;super(_0x53410b,_0x48cf93),this[_0x279af2(0x119)]=null,this[_0x279af2(0xe6)]=null,this['_debugEntries']=[],this['_debugMaterial']=null,this[_0x279af2(0xff)]=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this['_tmpCorner']=new webgpu.Vector3(),this['_tmpBoxCorner']=Array[_0x279af2(0xda)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x279af2(0x10d)]=new webgpu.Vector3(),this[_0x279af2(0xd9)]=new webgpu.Vector3(),this[_0x279af2(0x118)]=new webgpu.Vector3(),this['_tmpEdge1']=new webgpu.Vector3(),this[_0x279af2(0x108)]=new webgpu.Vector3(),this[_0x279af2(0x115)]=new webgpu.Vector3(),this[_0x279af2(0x132)]=new webgpu.Vector3(),this[_0x279af2(0x116)]=new webgpu.Vector3(),this[_0x279af2(0x102)]=new webgpu.Vector3(),this[_0x279af2(0x113)]='MeshColliderComponent',this[_0x279af2(0x128)](_0x1c3e66);}[_0x3d2d05(0x128)](_0x1e1b6c){const _0x1bc902=_0x3d2d05,_0x37f6b9=this[_0x1bc902(0xf6)];_0x37f6b9&&(this[_0x1bc902(0xf6)]=![]);this[_0x1bc902(0x119)]=_0x1e1b6c;this[_0x1bc902(0xe6)]&&(this[_0x1bc902(0xe6)]['geometry'][_0x1bc902(0x122)](),this[_0x1bc902(0xe6)]=null);if(!_0x1e1b6c){_0x37f6b9&&(this[_0x1bc902(0xf6)]=!![]);return;}const _0x1187fa=[];_0x1e1b6c[_0x1bc902(0xf5)](!![],!![]);const _0x57261d=_0x1e1b6c[_0x1bc902(0xe5)][_0x1bc902(0x109)]()[_0x1bc902(0xfc)]();_0x1e1b6c[_0x1bc902(0xdd)](_0x39489d=>{const _0x5547d0=_0x1bc902;if(_0x39489d[_0x5547d0(0xe3)]){const _0x74b3d9=_0x39489d;if(_0x74b3d9['geometry']){const _0x513293=_0x74b3d9['geometry'][_0x5547d0(0x109)](),_0x21ae3b=_0x57261d['clone']()[_0x5547d0(0xe0)](_0x74b3d9[_0x5547d0(0xe5)]);_0x513293['applyMatrix4'](_0x21ae3b),_0x1187fa[_0x5547d0(0xe1)](_0x513293);}}});if(_0x1187fa['length']>0x0){const _0x1167a2=this[_0x1bc902(0x10e)](_0x1187fa);if(_0x1167a2){const _0x238d14=new webgpu.Mesh(_0x1167a2);this[_0x1bc902(0xe6)]=_0x238d14;}}_0x37f6b9&&(this[_0x1bc902(0xf6)]=!![]);}[_0x3d2d05(0x10e)](_0x51483f){const _0x4d1825=_0x3d2d05;if(_0x51483f[_0x4d1825(0x137)]===0x0)return null;if(_0x51483f[_0x4d1825(0x137)]===0x1)return _0x51483f[0x0];let _0x837030=0x0,_0x7a5e94=0x0;for(const _0x1c2a3f of _0x51483f){_0x837030+=_0x1c2a3f[_0x4d1825(0xef)][_0x4d1825(0xf4)][_0x4d1825(0xed)],_0x1c2a3f[_0x4d1825(0x101)]?_0x7a5e94+=_0x1c2a3f[_0x4d1825(0x101)][_0x4d1825(0xed)]:_0x7a5e94+=_0x1c2a3f['attributes'][_0x4d1825(0xf4)]['count'];}const _0x3ae9ee=new Float32Array(_0x837030*0x3),_0xd5b546=new Uint32Array(_0x7a5e94);let _0x1bd481=0x0,_0x220dd6=0x0;for(const _0x128443 of _0x51483f){const _0x95f1af=_0x128443[_0x4d1825(0xef)]['position'][_0x4d1825(0x10f)],_0xfbd989=_0x128443[_0x4d1825(0xef)][_0x4d1825(0xf4)][_0x4d1825(0xed)];for(let _0x188d80=0x0;_0x188d80<_0xfbd989*0x3;_0x188d80++){_0x3ae9ee[_0x1bd481*0x3+_0x188d80]=_0x95f1af[_0x188d80];}if(_0x128443[_0x4d1825(0x101)]){const _0x223f4c=_0x128443[_0x4d1825(0x101)][_0x4d1825(0x10f)];for(let _0x4a06d6=0x0;_0x4a06d6<_0x128443[_0x4d1825(0x101)][_0x4d1825(0xed)];_0x4a06d6++){_0xd5b546[_0x220dd6+_0x4a06d6]=_0x223f4c[_0x4a06d6]+_0x1bd481;}_0x220dd6+=_0x128443[_0x4d1825(0x101)][_0x4d1825(0xed)];}else {for(let _0x1ba2e4=0x0;_0x1ba2e4<_0xfbd989;_0x1ba2e4++){_0xd5b546[_0x220dd6+_0x1ba2e4]=_0x1ba2e4+_0x1bd481;}_0x220dd6+=_0xfbd989;}_0x1bd481+=_0xfbd989;}const _0x23a14e=new webgpu.BufferGeometry();return _0x23a14e[_0x4d1825(0x125)](_0x4d1825(0xf4),new webgpu.BufferAttribute(_0x3ae9ee,0x3)),_0x23a14e[_0x4d1825(0xee)](new webgpu.BufferAttribute(_0xd5b546,0x1)),_0x23a14e;}['destroy'](){const _0x28907b=_0x3d2d05;this[_0x28907b(0xf6)]=![],this['_mesh']&&(this[_0x28907b(0xe6)][_0x28907b(0x12b)][_0x28907b(0x122)](),this[_0x28907b(0xe6)]=null),this['_sourceObject']=null,super[_0x28907b(0x135)]();}[_0x3d2d05(0x107)](_0x3dc0f0=new webgpu.Box3()){const _0x48a280=_0x3d2d05;_0x3dc0f0['makeEmpty']();if(!this[_0x48a280(0x119)])return _0x3dc0f0;this['_sourceObject'][_0x48a280(0xf5)](!![],!![]);const _0x468cd1=this[_0x48a280(0xf9)];if(this['_mesh']){const _0x4b5d7f=this['_mesh'];_0x4b5d7f['matrixWorld'][_0x48a280(0xf3)](this[_0x48a280(0x119)][_0x48a280(0xe5)]);const _0x27472a=_0x4b5d7f[_0x48a280(0x12b)];if(_0x27472a){!_0x27472a[_0x48a280(0x11c)]&&_0x27472a['computeBoundingBox']();const _0x6f244=_0x27472a[_0x48a280(0x11c)];if(_0x6f244){this[_0x48a280(0xe8)]['copy'](_0x4b5d7f[_0x48a280(0xe5)]);const _0x29a454=_0x6f244['min'],_0x352fc2=_0x6f244[_0x48a280(0xfb)];_0x468cd1[0x0]['set'](_0x29a454['x'],_0x29a454['y'],_0x29a454['z']),_0x468cd1[0x1][_0x48a280(0x104)](_0x29a454['x'],_0x29a454['y'],_0x352fc2['z']),_0x468cd1[0x2]['set'](_0x29a454['x'],_0x352fc2['y'],_0x29a454['z']),_0x468cd1[0x3][_0x48a280(0x104)](_0x29a454['x'],_0x352fc2['y'],_0x352fc2['z']),_0x468cd1[0x4][_0x48a280(0x104)](_0x352fc2['x'],_0x29a454['y'],_0x29a454['z']),_0x468cd1[0x5][_0x48a280(0x104)](_0x352fc2['x'],_0x29a454['y'],_0x352fc2['z']),_0x468cd1[0x6][_0x48a280(0x104)](_0x352fc2['x'],_0x352fc2['y'],_0x29a454['z']),_0x468cd1[0x7]['set'](_0x352fc2['x'],_0x352fc2['y'],_0x352fc2['z']);for(const _0x12ac6e of _0x468cd1){_0x12ac6e['applyMatrix4'](this[_0x48a280(0xe8)]),_0x3dc0f0[_0x48a280(0x105)](_0x12ac6e);}}}}return _0x3dc0f0;}[_0x3d2d05(0xea)](_0xc968d1,_0x5c8fa3,_0x4784cc){const _0x5b60cb=_0x3d2d05;if(!this[_0x5b60cb(0x119)])return [];this['_sourceObject'][_0x5b60cb(0xf5)](!![],!![]);const _0x425ced=[];if(this['_mesh']){const _0x314e3d=this[_0x5b60cb(0xe6)];_0x314e3d[_0x5b60cb(0xe5)][_0x5b60cb(0xf3)](this[_0x5b60cb(0x119)][_0x5b60cb(0xe5)]);const _0x19a454=_0x314e3d[_0x5b60cb(0x12b)];if(_0x19a454){!_0x19a454[_0x5b60cb(0x11c)]&&_0x19a454[_0x5b60cb(0x117)]();const _0xc793d0=_0x19a454[_0x5b60cb(0x11c)];if(_0xc793d0){const _0x4cbb4a=this[_0x5b60cb(0xff)][_0x5b60cb(0xf3)](_0xc793d0)[_0x5b60cb(0x131)](_0x314e3d[_0x5b60cb(0xe5)]);if(this[_0x5b60cb(0xe9)](_0xc968d1,_0x5c8fa3,_0x4784cc,_0x4cbb4a)){const _0x259456=_0x19a454['getAttribute'](_0x5b60cb(0xf4));if(_0x259456){const _0x4fe39f=_0x19a454[_0x5b60cb(0x100)](),_0x111d28=_0x4fe39f?Math[_0x5b60cb(0xfe)](_0x4fe39f[_0x5b60cb(0xed)]/0x3):Math['floor'](_0x259456['count']/0x3);for(let _0x10eadd=0x0;_0x10eadd<_0x111d28;_0x10eadd++){const _0x2f6f34=_0x4fe39f?_0x4fe39f[_0x5b60cb(0x111)](_0x10eadd*0x3+0x0):_0x10eadd*0x3+0x0,_0xd8b60f=_0x4fe39f?_0x4fe39f[_0x5b60cb(0x111)](_0x10eadd*0x3+0x1):_0x10eadd*0x3+0x1,_0x4ec80f=_0x4fe39f?_0x4fe39f[_0x5b60cb(0x111)](_0x10eadd*0x3+0x2):_0x10eadd*0x3+0x2;this[_0x5b60cb(0x10d)][_0x5b60cb(0x104)](_0x259456['getX'](_0x2f6f34),_0x259456[_0x5b60cb(0xe2)](_0x2f6f34),_0x259456[_0x5b60cb(0x11b)](_0x2f6f34))[_0x5b60cb(0x131)](_0x314e3d[_0x5b60cb(0xe5)]),this['_tmpB'][_0x5b60cb(0x104)](_0x259456[_0x5b60cb(0x111)](_0xd8b60f),_0x259456['getY'](_0xd8b60f),_0x259456[_0x5b60cb(0x11b)](_0xd8b60f))[_0x5b60cb(0x131)](_0x314e3d[_0x5b60cb(0xe5)]),this[_0x5b60cb(0x118)]['set'](_0x259456['getX'](_0x4ec80f),_0x259456[_0x5b60cb(0xe2)](_0x4ec80f),_0x259456[_0x5b60cb(0x11b)](_0x4ec80f))['applyMatrix4'](_0x314e3d[_0x5b60cb(0xe5)]);const _0x37b292=this[_0x5b60cb(0x11f)](_0xc968d1,_0x5c8fa3,this['_tmpA'],this[_0x5b60cb(0xd9)],this[_0x5b60cb(0x118)],_0x4784cc);_0x37b292&&_0x425ced[_0x5b60cb(0xe1)]({'distance':_0x37b292[_0x5b60cb(0x112)],'point':_0x37b292[_0x5b60cb(0x10c)][_0x5b60cb(0x109)](),'normal':_0x37b292[_0x5b60cb(0xe7)]['clone']()});}}}}}}return _0x425ced[_0x5b60cb(0x11e)]((_0x3bbdfb,_0xd67117)=>_0x3bbdfb[_0x5b60cb(0x112)]-_0xd67117[_0x5b60cb(0x112)]);}[_0x3d2d05(0x120)](_0x1ff759,_0x2bedd4,_0x3fdc30){const _0x55c33f=_0x3d2d05,_0x5c323e=this[_0x55c33f(0xea)](_0x1ff759,_0x2bedd4,_0x3fdc30);if(_0x5c323e[_0x55c33f(0x137)]>0x0)return _0x5c323e[0x0];return null;}[_0x3d2d05(0xe9)](_0x3a7191,_0x11617b,_0x4ba7c5,_0x285eff){const _0x19f2de=_0x3d2d05;let _0x1db923=0x0,_0x31a22c=_0x4ba7c5;const _0x48458c=1e-8,_0x89a793=_0x562b8e=>{const _0x4ae9f2=_0x35f2,_0x6589c=_0x3a7191[_0x562b8e],_0x368944=_0x11617b[_0x562b8e],_0x8c675c=_0x285eff[_0x4ae9f2(0xdc)][_0x562b8e],_0x1b7ea7=_0x285eff[_0x4ae9f2(0xfb)][_0x562b8e];if(Math[_0x4ae9f2(0x136)](_0x368944)<_0x48458c)return _0x6589c>=_0x8c675c&&_0x6589c<=_0x1b7ea7;const _0x3084b8=0x1/_0x368944;let _0x3b5f0e,_0x47d0fd;return _0x368944>=0x0?(_0x3b5f0e=(_0x8c675c-_0x6589c)*_0x3084b8,_0x47d0fd=(_0x1b7ea7-_0x6589c)*_0x3084b8):(_0x3b5f0e=(_0x1b7ea7-_0x6589c)*_0x3084b8,_0x47d0fd=(_0x8c675c-_0x6589c)*_0x3084b8),_0x3b5f0e>_0x1db923&&(_0x1db923=_0x3b5f0e),_0x47d0fd<_0x31a22c&&(_0x31a22c=_0x47d0fd),_0x1db923<=_0x31a22c;};if(!_0x89a793('x')||!_0x89a793('y')||!_0x89a793('z'))return ![];const _0x2e55e0=Math[_0x19f2de(0xfb)](0x0,_0x1db923);return _0x2e55e0<=_0x4ba7c5;}['intersectRayTriangle'](_0x21a256,_0x8e39e0,_0x1cf1e3,_0x441f05,_0x48b86a,_0x3f7dc8){const _0x28843b=_0x3d2d05,_0x26ddaa=1e-8,_0x11c6ac=this[_0x28843b(0x133)][_0x28843b(0xf3)](_0x441f05)[_0x28843b(0x11d)](_0x1cf1e3),_0x43fb05=this[_0x28843b(0x108)][_0x28843b(0xf3)](_0x48b86a)[_0x28843b(0x11d)](_0x1cf1e3),_0x1bb40d=this[_0x28843b(0x115)][_0x28843b(0xfa)](_0x8e39e0,_0x43fb05),_0x47fe40=_0x11c6ac[_0x28843b(0x11a)](_0x1bb40d);if(Math[_0x28843b(0x136)](_0x47fe40)<_0x26ddaa)return null;const _0xa21ab6=0x1/_0x47fe40,_0x236015=this[_0x28843b(0x132)][_0x28843b(0xf3)](_0x21a256)[_0x28843b(0x11d)](_0x1cf1e3),_0x2859a3=_0x236015[_0x28843b(0x11a)](_0x1bb40d)*_0xa21ab6;if(_0x2859a3<0x0||_0x2859a3>0x1)return null;const _0x477399=this[_0x28843b(0x116)]['crossVectors'](_0x236015,_0x11c6ac),_0x15127c=_0x8e39e0['dot'](_0x477399)*_0xa21ab6;if(_0x15127c<0x0||_0x2859a3+_0x15127c>0x1)return null;const _0x185c53=_0x43fb05[_0x28843b(0x11a)](_0x477399)*_0xa21ab6;if(_0x185c53<0x0||_0x185c53>_0x3f7dc8)return null;const _0x3c3d3d=this[_0x28843b(0x102)]['crossVectors'](_0x11c6ac,_0x43fb05),_0x2e0534=_0x3c3d3d[_0x28843b(0x126)]();_0x2e0534>_0x26ddaa&&_0x3c3d3d[_0x28843b(0x12d)](0x1/Math[_0x28843b(0x127)](_0x2e0534));_0x3c3d3d[_0x28843b(0x11a)](_0x8e39e0)>0x0&&_0x3c3d3d[_0x28843b(0x12d)](-1);const _0x2a816d=this[_0x28843b(0x129)][_0x28843b(0xf3)](_0x21a256)['addScaledVector'](_0x8e39e0,_0x185c53);return {'point':_0x2a816d,'normal':_0x3c3d3d,'distance':_0x185c53};}[_0x3d2d05(0x121)](){const _0x140076=_0x3d2d05;return this[_0x140076(0xe4)];}[_0x3d2d05(0x12f)](){const _0x3c209a=_0x3d2d05;if(!this[_0x3c209a(0x119)])return null;const _0x58f757=new webgpu.Object3D();_0x58f757[_0x3c209a(0x113)]=_0x3c209a(0x123),this['_debugEntries']=[],this[_0x3c209a(0x12c)]=new webgpu.MeshBasicMaterial({'color':this[_0x3c209a(0x103)],'wireframe':!![],'transparent':!![],'opacity':this[_0x3c209a(0x10a)]});if(this[_0x3c209a(0xe6)]){const _0x41faca=this[_0x3c209a(0xe6)],_0x4b3bb9=_0x41faca[_0x3c209a(0x12b)];if(_0x4b3bb9){const _0x1e2b6b=new webgpu.Mesh(_0x4b3bb9,this[_0x3c209a(0x12c)]);_0x58f757[_0x3c209a(0xdf)](_0x1e2b6b),this[_0x3c209a(0x110)][_0x3c209a(0xe1)]({'parent':_0x58f757,'obj':_0x1e2b6b});}}return _0x58f757;}[_0x3d2d05(0x124)](_0x9fd02){const _0x3d94ad=_0x3d2d05;for(const _0x6b41a0 of this[_0x3d94ad(0x110)]){_0x6b41a0['parent']['remove'](_0x6b41a0[_0x3d94ad(0xde)]);}this[_0x3d94ad(0x110)]=[],this[_0x3d94ad(0x12c)]=null;}['onDebugStyleChanged'](){const _0x297ebf=_0x3d2d05;if(!this[_0x297ebf(0x12c)])return;this[_0x297ebf(0x12c)][_0x297ebf(0xeb)][_0x297ebf(0xf7)](this[_0x297ebf(0x103)]),this['_debugMaterial']['opacity']=this[_0x297ebf(0x10a)],this['_debugMaterial'][_0x297ebf(0xf2)]=this[_0x297ebf(0x10a)]<0x1,this[_0x297ebf(0x12c)][_0x297ebf(0x12e)]=!![];}}
|
|
160
|
+
const _0x297442=_0x3f39;function _0x3f39(_0x9bb1a7,_0x24d6f2){_0x9bb1a7=_0x9bb1a7-0x192;const _0x403cc2=_0x403c();let _0x3f3937=_0x403cc2[_0x9bb1a7];return _0x3f3937;}(function(_0x49a06b,_0x3fb0e4){const _0x359dc8=_0x3f39,_0x1255d5=_0x49a06b();while(!![]){try{const _0x44c638=parseInt(_0x359dc8(0x1b7))/0x1*(-parseInt(_0x359dc8(0x1d1))/0x2)+parseInt(_0x359dc8(0x19f))/0x3+-parseInt(_0x359dc8(0x1c3))/0x4*(-parseInt(_0x359dc8(0x1b8))/0x5)+-parseInt(_0x359dc8(0x1ac))/0x6+parseInt(_0x359dc8(0x1d4))/0x7+parseInt(_0x359dc8(0x1a0))/0x8+-parseInt(_0x359dc8(0x1a8))/0x9*(parseInt(_0x359dc8(0x1b2))/0xa);if(_0x44c638===_0x3fb0e4)break;else _0x1255d5['push'](_0x1255d5['shift']());}catch(_0x11bd8f){_0x1255d5['push'](_0x1255d5['shift']());}}}(_0x403c,0xe30f7));function _0x403c(){const _0x24c73d=['_sourceObject','intersectRayTriangle','index','_tmpB','from','addScaledVector','_tmpC','name','29770pwsusR','expandByPoint','attributes','1426194lfyvWi','_tmpA','getIndex','_tmpEdge2','destroyDebugObject','lengthSq','MeshColliderDebug','geometry','createDebugObject','crossVectors','applyMatrix4','remove','count','abs','matrixWorld','dispose','setSourceObject','_tmpN','_tmpCorner','obj','_tmpAabb','onDebugStyleChanged','makeEmpty','_debugEntries','_tmpP','copy','getX','getAttribute','position','updateWorldMatrix','invert','push','_tmpT','debugOpacity','_tmpMat','setAttribute','boundingBox','4427424WJdGxp','11108200VrkauP','floor','mergeGeometries','multiplyScalar','min','setHex','clone','traverse','8277579vblpZN','sub','length','_mesh','1125414RYRPam','max','sort','getY','getDebugAttachParent','sqrt','30OBvIZd','add','debugColor','dot','setIndex','61qUCaaH','255kqDSGR','threeObject','array','debugEnabled','intersectRayAabb','color','set','_debugMaterial','_tmpBoxCorner','computeBoundingBox','destroy','134644BTyGqu','_tmpQ','multiply','normal','getZ','distance'];_0x403c=function(){return _0x24c73d;};return _0x403c();}class MeshColliderComponent extends ColliderComponent{get['sourceObject'](){const _0xc35f3=_0x3f39;return this[_0xc35f3(0x1c9)];}constructor(_0x5733ef,_0x39d399=null,_0x28f2c9){const _0x5d2e16=_0x3f39;super(_0x5733ef,_0x28f2c9),this[_0x5d2e16(0x1c9)]=null,this['_mesh']=null,this[_0x5d2e16(0x1eb)]=[],this[_0x5d2e16(0x1bf)]=null,this['_tmpAabb']=new webgpu.Box3(),this[_0x5d2e16(0x19c)]=new webgpu.Matrix4(),this[_0x5d2e16(0x1e6)]=new webgpu.Vector3(),this[_0x5d2e16(0x1c0)]=Array[_0x5d2e16(0x1cd)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x5d2e16(0x1d5)]=new webgpu.Vector3(),this[_0x5d2e16(0x1cc)]=new webgpu.Vector3(),this[_0x5d2e16(0x1cf)]=new webgpu.Vector3(),this['_tmpEdge1']=new webgpu.Vector3(),this['_tmpEdge2']=new webgpu.Vector3(),this[_0x5d2e16(0x192)]=new webgpu.Vector3(),this[_0x5d2e16(0x19a)]=new webgpu.Vector3(),this['_tmpQ']=new webgpu.Vector3(),this[_0x5d2e16(0x1e5)]=new webgpu.Vector3(),this[_0x5d2e16(0x1d0)]='MeshColliderComponent',this[_0x5d2e16(0x1e4)](_0x39d399);}[_0x297442(0x1e4)](_0x260078){const _0xc19747=_0x297442,_0x2f8404=this[_0xc19747(0x1bb)];_0x2f8404&&(this[_0xc19747(0x1bb)]=![]);this[_0xc19747(0x1c9)]=_0x260078;this[_0xc19747(0x1ab)]&&(this[_0xc19747(0x1ab)]['geometry'][_0xc19747(0x1e3)](),this[_0xc19747(0x1ab)]=null);if(!_0x260078){_0x2f8404&&(this[_0xc19747(0x1bb)]=!![]);return;}const _0x2faac1=[];_0x260078[_0xc19747(0x197)](!![],!![]);const _0x458390=_0x260078[_0xc19747(0x1e2)]['clone']()[_0xc19747(0x198)]();_0x260078[_0xc19747(0x1a7)](_0xf1d246=>{const _0x3cfada=_0xc19747;if(_0xf1d246['isMesh']){const _0x1eb999=_0xf1d246;if(_0x1eb999[_0x3cfada(0x1db)]){const _0x38a3df=_0x1eb999['geometry']['clone'](),_0x276154=_0x458390[_0x3cfada(0x1a6)]()[_0x3cfada(0x1c5)](_0x1eb999[_0x3cfada(0x1e2)]);_0x38a3df['applyMatrix4'](_0x276154),_0x2faac1[_0x3cfada(0x199)](_0x38a3df);}}});if(_0x2faac1[_0xc19747(0x1aa)]>0x0){const _0x2c7be3=this[_0xc19747(0x1a2)](_0x2faac1);if(_0x2c7be3){const _0x5add7d=new webgpu.Mesh(_0x2c7be3);this[_0xc19747(0x1ab)]=_0x5add7d;}}_0x2f8404&&(this[_0xc19747(0x1bb)]=!![]);}[_0x297442(0x1a2)](_0x4f7cb2){const _0x351641=_0x297442;if(_0x4f7cb2[_0x351641(0x1aa)]===0x0)return null;if(_0x4f7cb2['length']===0x1)return _0x4f7cb2[0x0];let _0x4894f7=0x0,_0x2d3260=0x0;for(const _0x84d20a of _0x4f7cb2){_0x4894f7+=_0x84d20a[_0x351641(0x1d3)]['position'][_0x351641(0x1e0)],_0x84d20a['index']?_0x2d3260+=_0x84d20a['index'][_0x351641(0x1e0)]:_0x2d3260+=_0x84d20a[_0x351641(0x1d3)][_0x351641(0x196)]['count'];}const _0x252424=new Float32Array(_0x4894f7*0x3),_0x37fdc1=new Uint32Array(_0x2d3260);let _0x3e248a=0x0,_0x85543c=0x0;for(const _0xa619b4 of _0x4f7cb2){const _0x889c7=_0xa619b4[_0x351641(0x1d3)][_0x351641(0x196)][_0x351641(0x1ba)],_0x85d8d6=_0xa619b4[_0x351641(0x1d3)]['position'][_0x351641(0x1e0)];for(let _0x1e9c98=0x0;_0x1e9c98<_0x85d8d6*0x3;_0x1e9c98++){_0x252424[_0x3e248a*0x3+_0x1e9c98]=_0x889c7[_0x1e9c98];}if(_0xa619b4[_0x351641(0x1cb)]){const _0x4245f0=_0xa619b4[_0x351641(0x1cb)]['array'];for(let _0x407aec=0x0;_0x407aec<_0xa619b4[_0x351641(0x1cb)][_0x351641(0x1e0)];_0x407aec++){_0x37fdc1[_0x85543c+_0x407aec]=_0x4245f0[_0x407aec]+_0x3e248a;}_0x85543c+=_0xa619b4[_0x351641(0x1cb)][_0x351641(0x1e0)];}else {for(let _0x5a2374=0x0;_0x5a2374<_0x85d8d6;_0x5a2374++){_0x37fdc1[_0x85543c+_0x5a2374]=_0x5a2374+_0x3e248a;}_0x85543c+=_0x85d8d6;}_0x3e248a+=_0x85d8d6;}const _0x511bbc=new webgpu.BufferGeometry();return _0x511bbc[_0x351641(0x19d)](_0x351641(0x196),new webgpu.BufferAttribute(_0x252424,0x3)),_0x511bbc[_0x351641(0x1b6)](new webgpu.BufferAttribute(_0x37fdc1,0x1)),_0x511bbc;}[_0x297442(0x1c2)](){const _0x110703=_0x297442;this['debugEnabled']=![],this['_mesh']&&(this[_0x110703(0x1ab)][_0x110703(0x1db)][_0x110703(0x1e3)](),this[_0x110703(0x1ab)]=null),this[_0x110703(0x1c9)]=null,super[_0x110703(0x1c2)]();}['getWorldAABB'](_0x2cdfa5=new webgpu.Box3()){const _0x59d8a9=_0x297442;_0x2cdfa5[_0x59d8a9(0x1ea)]();if(!this[_0x59d8a9(0x1c9)])return _0x2cdfa5;this[_0x59d8a9(0x1c9)][_0x59d8a9(0x197)](!![],!![]);const _0x212ad3=this[_0x59d8a9(0x1c0)];if(this[_0x59d8a9(0x1ab)]){const _0x54a2c9=this[_0x59d8a9(0x1ab)];_0x54a2c9[_0x59d8a9(0x1e2)][_0x59d8a9(0x193)](this[_0x59d8a9(0x1c9)][_0x59d8a9(0x1e2)]);const _0x5e0a25=_0x54a2c9[_0x59d8a9(0x1db)];if(_0x5e0a25){!_0x5e0a25[_0x59d8a9(0x19e)]&&_0x5e0a25[_0x59d8a9(0x1c1)]();const _0x5f3e76=_0x5e0a25[_0x59d8a9(0x19e)];if(_0x5f3e76){this['_tmpMat']['copy'](_0x54a2c9[_0x59d8a9(0x1e2)]);const _0x19cec3=_0x5f3e76[_0x59d8a9(0x1a4)],_0x35d1f7=_0x5f3e76[_0x59d8a9(0x1ad)];_0x212ad3[0x0][_0x59d8a9(0x1be)](_0x19cec3['x'],_0x19cec3['y'],_0x19cec3['z']),_0x212ad3[0x1][_0x59d8a9(0x1be)](_0x19cec3['x'],_0x19cec3['y'],_0x35d1f7['z']),_0x212ad3[0x2][_0x59d8a9(0x1be)](_0x19cec3['x'],_0x35d1f7['y'],_0x19cec3['z']),_0x212ad3[0x3]['set'](_0x19cec3['x'],_0x35d1f7['y'],_0x35d1f7['z']),_0x212ad3[0x4]['set'](_0x35d1f7['x'],_0x19cec3['y'],_0x19cec3['z']),_0x212ad3[0x5][_0x59d8a9(0x1be)](_0x35d1f7['x'],_0x19cec3['y'],_0x35d1f7['z']),_0x212ad3[0x6][_0x59d8a9(0x1be)](_0x35d1f7['x'],_0x35d1f7['y'],_0x19cec3['z']),_0x212ad3[0x7][_0x59d8a9(0x1be)](_0x35d1f7['x'],_0x35d1f7['y'],_0x35d1f7['z']);for(const _0x27e27d of _0x212ad3){_0x27e27d['applyMatrix4'](this[_0x59d8a9(0x19c)]),_0x2cdfa5[_0x59d8a9(0x1d2)](_0x27e27d);}}}}return _0x2cdfa5;}['raycastAll'](_0x143c9a,_0x110d1e,_0xb360cc){const _0x2dbdef=_0x297442;if(!this[_0x2dbdef(0x1c9)])return [];this[_0x2dbdef(0x1c9)]['updateWorldMatrix'](!![],!![]);const _0x5355b3=[];if(this[_0x2dbdef(0x1ab)]){const _0x4872c1=this[_0x2dbdef(0x1ab)];_0x4872c1[_0x2dbdef(0x1e2)][_0x2dbdef(0x193)](this[_0x2dbdef(0x1c9)]['matrixWorld']);const _0x42eed7=_0x4872c1[_0x2dbdef(0x1db)];if(_0x42eed7){!_0x42eed7[_0x2dbdef(0x19e)]&&_0x42eed7[_0x2dbdef(0x1c1)]();const _0x3bea52=_0x42eed7[_0x2dbdef(0x19e)];if(_0x3bea52){const _0x142267=this[_0x2dbdef(0x1e8)][_0x2dbdef(0x193)](_0x3bea52)['applyMatrix4'](_0x4872c1[_0x2dbdef(0x1e2)]);if(this[_0x2dbdef(0x1bc)](_0x143c9a,_0x110d1e,_0xb360cc,_0x142267)){const _0x5c5c1f=_0x42eed7[_0x2dbdef(0x195)](_0x2dbdef(0x196));if(_0x5c5c1f){const _0x22c53e=_0x42eed7[_0x2dbdef(0x1d6)](),_0x3cffa7=_0x22c53e?Math[_0x2dbdef(0x1a1)](_0x22c53e[_0x2dbdef(0x1e0)]/0x3):Math[_0x2dbdef(0x1a1)](_0x5c5c1f[_0x2dbdef(0x1e0)]/0x3);for(let _0x27b14c=0x0;_0x27b14c<_0x3cffa7;_0x27b14c++){const _0x317ac2=_0x22c53e?_0x22c53e[_0x2dbdef(0x194)](_0x27b14c*0x3+0x0):_0x27b14c*0x3+0x0,_0x4e4d53=_0x22c53e?_0x22c53e[_0x2dbdef(0x194)](_0x27b14c*0x3+0x1):_0x27b14c*0x3+0x1,_0x1dd65a=_0x22c53e?_0x22c53e['getX'](_0x27b14c*0x3+0x2):_0x27b14c*0x3+0x2;this[_0x2dbdef(0x1d5)][_0x2dbdef(0x1be)](_0x5c5c1f[_0x2dbdef(0x194)](_0x317ac2),_0x5c5c1f['getY'](_0x317ac2),_0x5c5c1f[_0x2dbdef(0x1c7)](_0x317ac2))[_0x2dbdef(0x1de)](_0x4872c1[_0x2dbdef(0x1e2)]),this[_0x2dbdef(0x1cc)][_0x2dbdef(0x1be)](_0x5c5c1f[_0x2dbdef(0x194)](_0x4e4d53),_0x5c5c1f[_0x2dbdef(0x1af)](_0x4e4d53),_0x5c5c1f['getZ'](_0x4e4d53))[_0x2dbdef(0x1de)](_0x4872c1[_0x2dbdef(0x1e2)]),this[_0x2dbdef(0x1cf)]['set'](_0x5c5c1f[_0x2dbdef(0x194)](_0x1dd65a),_0x5c5c1f['getY'](_0x1dd65a),_0x5c5c1f[_0x2dbdef(0x1c7)](_0x1dd65a))[_0x2dbdef(0x1de)](_0x4872c1[_0x2dbdef(0x1e2)]);const _0x329be2=this[_0x2dbdef(0x1ca)](_0x143c9a,_0x110d1e,this[_0x2dbdef(0x1d5)],this['_tmpB'],this[_0x2dbdef(0x1cf)],_0xb360cc);_0x329be2&&_0x5355b3[_0x2dbdef(0x199)]({'distance':_0x329be2[_0x2dbdef(0x1c8)],'point':_0x329be2['point'][_0x2dbdef(0x1a6)](),'normal':_0x329be2[_0x2dbdef(0x1c6)][_0x2dbdef(0x1a6)]()});}}}}}}return _0x5355b3[_0x2dbdef(0x1ae)]((_0x376fde,_0x39a55c)=>_0x376fde['distance']-_0x39a55c[_0x2dbdef(0x1c8)]);}['raycast'](_0x14ee55,_0x41063b,_0xc913fa){const _0x1086d6=_0x297442,_0x172669=this['raycastAll'](_0x14ee55,_0x41063b,_0xc913fa);if(_0x172669[_0x1086d6(0x1aa)]>0x0)return _0x172669[0x0];return null;}[_0x297442(0x1bc)](_0x5af5f5,_0x39505f,_0x31e67d,_0x170b77){const _0x1d44fe=_0x297442;let _0x5529d0=0x0,_0x2c94a5=_0x31e67d;const _0x204bd2=1e-8,_0x2b7ac2=_0x41df2b=>{const _0x132ede=_0x3f39,_0x471494=_0x5af5f5[_0x41df2b],_0x3757e9=_0x39505f[_0x41df2b],_0x41fb9b=_0x170b77[_0x132ede(0x1a4)][_0x41df2b],_0x53bf90=_0x170b77[_0x132ede(0x1ad)][_0x41df2b];if(Math[_0x132ede(0x1e1)](_0x3757e9)<_0x204bd2)return _0x471494>=_0x41fb9b&&_0x471494<=_0x53bf90;const _0x2c3cff=0x1/_0x3757e9;let _0x1ebe6f,_0x450f21;return _0x3757e9>=0x0?(_0x1ebe6f=(_0x41fb9b-_0x471494)*_0x2c3cff,_0x450f21=(_0x53bf90-_0x471494)*_0x2c3cff):(_0x1ebe6f=(_0x53bf90-_0x471494)*_0x2c3cff,_0x450f21=(_0x41fb9b-_0x471494)*_0x2c3cff),_0x1ebe6f>_0x5529d0&&(_0x5529d0=_0x1ebe6f),_0x450f21<_0x2c94a5&&(_0x2c94a5=_0x450f21),_0x5529d0<=_0x2c94a5;};if(!_0x2b7ac2('x')||!_0x2b7ac2('y')||!_0x2b7ac2('z'))return ![];const _0x308bf5=Math[_0x1d44fe(0x1ad)](0x0,_0x5529d0);return _0x308bf5<=_0x31e67d;}['intersectRayTriangle'](_0x575c99,_0x1dff9d,_0x30bd85,_0x2e5efd,_0x409bb0,_0x49e20f){const _0x43cb4d=_0x297442,_0x279cd=1e-8,_0x5cd44b=this['_tmpEdge1'][_0x43cb4d(0x193)](_0x2e5efd)[_0x43cb4d(0x1a9)](_0x30bd85),_0x3958ba=this[_0x43cb4d(0x1d7)][_0x43cb4d(0x193)](_0x409bb0)['sub'](_0x30bd85),_0x4a84fa=this[_0x43cb4d(0x192)][_0x43cb4d(0x1dd)](_0x1dff9d,_0x3958ba),_0x820466=_0x5cd44b[_0x43cb4d(0x1b5)](_0x4a84fa);if(Math[_0x43cb4d(0x1e1)](_0x820466)<_0x279cd)return null;const _0x523177=0x1/_0x820466,_0x3872d3=this[_0x43cb4d(0x19a)][_0x43cb4d(0x193)](_0x575c99)['sub'](_0x30bd85),_0x49f51b=_0x3872d3[_0x43cb4d(0x1b5)](_0x4a84fa)*_0x523177;if(_0x49f51b<0x0||_0x49f51b>0x1)return null;const _0x2484fa=this[_0x43cb4d(0x1c4)][_0x43cb4d(0x1dd)](_0x3872d3,_0x5cd44b),_0x19dd7f=_0x1dff9d['dot'](_0x2484fa)*_0x523177;if(_0x19dd7f<0x0||_0x49f51b+_0x19dd7f>0x1)return null;const _0x32cbd4=_0x3958ba[_0x43cb4d(0x1b5)](_0x2484fa)*_0x523177;if(_0x32cbd4<0x0||_0x32cbd4>_0x49e20f)return null;const _0x29d7de=this[_0x43cb4d(0x1e5)][_0x43cb4d(0x1dd)](_0x5cd44b,_0x3958ba),_0x3837bf=_0x29d7de[_0x43cb4d(0x1d9)]();_0x3837bf>_0x279cd&&_0x29d7de[_0x43cb4d(0x1a3)](0x1/Math[_0x43cb4d(0x1b1)](_0x3837bf));_0x29d7de[_0x43cb4d(0x1b5)](_0x1dff9d)>0x0&&_0x29d7de[_0x43cb4d(0x1a3)](-1);const _0x289e1c=this[_0x43cb4d(0x1e6)][_0x43cb4d(0x193)](_0x575c99)[_0x43cb4d(0x1ce)](_0x1dff9d,_0x32cbd4);return {'point':_0x289e1c,'normal':_0x29d7de,'distance':_0x32cbd4};}[_0x297442(0x1b0)](){const _0x14c60f=_0x297442;return this[_0x14c60f(0x1b9)];}[_0x297442(0x1dc)](){const _0x22a664=_0x297442;if(!this[_0x22a664(0x1c9)])return null;const _0x94e9e2=new webgpu.Object3D();_0x94e9e2[_0x22a664(0x1d0)]=_0x22a664(0x1da),this['_debugEntries']=[],this[_0x22a664(0x1bf)]=new webgpu.MeshBasicMaterial({'color':this[_0x22a664(0x1b4)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']});if(this[_0x22a664(0x1ab)]){const _0x507894=this[_0x22a664(0x1ab)],_0x53fc7d=_0x507894['geometry'];if(_0x53fc7d){const _0x5442b2=new webgpu.Mesh(_0x53fc7d,this[_0x22a664(0x1bf)]);_0x94e9e2[_0x22a664(0x1b3)](_0x5442b2),this['_debugEntries'][_0x22a664(0x199)]({'parent':_0x94e9e2,'obj':_0x5442b2});}}return _0x94e9e2;}[_0x297442(0x1d8)](_0x53c294){const _0x201434=_0x297442;for(const _0x42d409 of this[_0x201434(0x1eb)]){_0x42d409['parent'][_0x201434(0x1df)](_0x42d409[_0x201434(0x1e7)]);}this['_debugEntries']=[],this[_0x201434(0x1bf)]=null;}[_0x297442(0x1e9)](){const _0xb12ab6=_0x297442;if(!this[_0xb12ab6(0x1bf)])return;this[_0xb12ab6(0x1bf)][_0xb12ab6(0x1bd)][_0xb12ab6(0x1a5)](this[_0xb12ab6(0x1b4)]),this['_debugMaterial']['opacity']=this[_0xb12ab6(0x19b)],this[_0xb12ab6(0x1bf)]['transparent']=this[_0xb12ab6(0x19b)]<0x1,this[_0xb12ab6(0x1bf)]['needsUpdate']=!![];}}
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
(function(_0x4128fc,_0x5f0fae){var _0xb63dad=_0xcaaa,_0x54e9e8=_0x4128fc();while(!![]){try{var _0x480a9c=parseInt(_0xb63dad(0x1c8))/0x1*(parseInt(_0xb63dad(0x1c9))/0x2)+parseInt(_0xb63dad(0x1c7))/0x3*(parseInt(_0xb63dad(0x1c4))/0x4)+parseInt(_0xb63dad(0x1c6))/0x5*(-parseInt(_0xb63dad(0x1c2))/0x6)+-parseInt(_0xb63dad(0x1cb))/0x7*(-parseInt(_0xb63dad(0x1cc))/0x8)+-parseInt(_0xb63dad(0x1c5))/0x9*(-parseInt(_0xb63dad(0x1ca))/0xa)+-parseInt(_0xb63dad(0x1c3))/0xb+parseInt(_0xb63dad(0x1c1))/0xc;if(_0x480a9c===_0x5f0fae)break;else _0x54e9e8['push'](_0x54e9e8['shift']());}catch(_0x2e070c){_0x54e9e8['push'](_0x54e9e8['shift']());}}}(_0x19ab,0x3a6b6));function _0xcaaa(_0x222a57,_0x5df913){_0x222a57=_0x222a57-0x1c1;var _0x19abfe=_0x19ab();var _0xcaaa58=_0x19abfe[_0x222a57];return _0xcaaa58;}function _0x19ab(){var _0x128f9f=['632SjKHak','422196RkrFxT','24zhlxQr','610148QydRBL','8LhPgKQ','1541277YKJHhE','297485LhYbkD','265026LFcyMr','1hAdyFk','133186OyvRuY','10yatRcd','7357uwhRsH'];_0x19ab=function(){return _0x128f9f;};return _0x19ab();}
|
|
163
163
|
|
|
164
|
-
(function(
|
|
164
|
+
(function(_0x2dd450,_0x531364){var _0x4b10b1=_0x2222,_0xb2265c=_0x2dd450();while(!![]){try{var _0x48132f=-parseInt(_0x4b10b1(0xa3))/0x1+parseInt(_0x4b10b1(0xa7))/0x2+parseInt(_0x4b10b1(0xa5))/0x3*(-parseInt(_0x4b10b1(0xab))/0x4)+parseInt(_0x4b10b1(0xaa))/0x5+parseInt(_0x4b10b1(0xa4))/0x6+-parseInt(_0x4b10b1(0xa9))/0x7*(-parseInt(_0x4b10b1(0xa6))/0x8)+-parseInt(_0x4b10b1(0xa8))/0x9;if(_0x48132f===_0x531364)break;else _0xb2265c['push'](_0xb2265c['shift']());}catch(_0x1d6b6e){_0xb2265c['push'](_0xb2265c['shift']());}}}(_0x1e91,0xa0e09));function _0x2222(_0x19f68f,_0xc565e3){_0x19f68f=_0x19f68f-0xa3;var _0x1e91b5=_0x1e91();var _0x222218=_0x1e91b5[_0x19f68f];return _0x222218;}function _0x1e91(){var _0x350bdd=['1653110oJzXeU','1091268OzlmyH','351891VHIqxD','6814842VOXvYz','3YxPKtz','19632sJPSal','2506054qIoFEU','23368833QnkJDR','3311TLfdob'];_0x1e91=function(){return _0x350bdd;};return _0x1e91();}
|
|
165
165
|
|
|
166
166
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
167
167
|
exports.Actor = Actor;
|