lythreeframe 2.0.6 → 2.0.7
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/AssetManagement/AssetManager.d.ts +2 -2
- package/dist/src/Factory/CameraFactory.d.ts +1 -1
- package/dist/src/Frame/Controller.d.ts +2 -2
- package/dist/src/Frame/Parameters/AppParameter.d.ts +6 -5
- package/dist/src/Frame/Parameters/ViewportParameters.d.ts +3 -3
- package/dist/src/Frame/Rendering/PostProcess.d.ts +1 -1
- package/dist/src/Frame/Rendering/WebGLPostProcess.d.ts +1 -1
- package/dist/src/Frame/Viewport.d.ts +5 -5
- package/dist/src/Frame/World.d.ts +1 -1
- package/dist/src/Object/Actor.d.ts +1 -1
- package/dist/src/Object/Actors/Light/AmbientLightActor.d.ts +1 -1
- package/dist/src/Object/Actors/Light/DirectionalLightActor.d.ts +1 -1
- package/dist/src/Object/Components/Component.d.ts +1 -1
- package/dist/src/Object/Components/Light/AmbientLight/AmbientLightComponent.d.ts +1 -1
- package/dist/src/Object/Components/Light/DirectionalLight/DirectionalLightComponent.d.ts +1 -1
- package/dist/src/Object/Components/Light/LightComponent.d.ts +1 -1
- package/dist/src/Object/Components/SceneComponent.d.ts +3 -3
- package/dist/src/Physics/MeshColliderComponent.d.ts +1 -1
- package/dist/src/Physics/PhysicsWorld.d.ts +1 -1
- package/dist/src/PostProcess/Param/AAParam.d.ts +1 -1
- package/dist/src/PostProcess/Param/Bloom.d.ts +1 -1
- package/dist/src/PostProcess/Param/DOF.d.ts +1 -1
- package/dist/src/PostProcess/Param/GTAO.d.ts +1 -1
- package/dist/src/PostProcess/Param/LensFlare.d.ts +1 -1
- package/dist/src/PostProcess/Param/Outline.d.ts +2 -2
- package/dist/src/PostProcess/Param/SSR.d.ts +1 -1
- package/dist/src/ThreeJsApp.d.ts +3 -3
- 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 _0x42da93 = 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
|
-
|
|
32
|
+
const _0x258602=_0x5a66;(function(_0x56e71c,_0x29d636){const _0x42a72e=_0x5a66,_0x36c3fc=_0x56e71c();while(!![]){try{const _0x3f4b42=parseInt(_0x42a72e(0x155))/0x1*(parseInt(_0x42a72e(0x15a))/0x2)+-parseInt(_0x42a72e(0x15d))/0x3+parseInt(_0x42a72e(0x157))/0x4+-parseInt(_0x42a72e(0x15b))/0x5+-parseInt(_0x42a72e(0x14e))/0x6*(-parseInt(_0x42a72e(0x15c))/0x7)+-parseInt(_0x42a72e(0x151))/0x8*(-parseInt(_0x42a72e(0x159))/0x9)+parseInt(_0x42a72e(0x160))/0xa*(-parseInt(_0x42a72e(0x14c))/0xb);if(_0x3f4b42===_0x29d636)break;else _0x36c3fc['push'](_0x36c3fc['shift']());}catch(_0x291c37){_0x36c3fc['push'](_0x36c3fc['shift']());}}}(_0x49a9,0x39575));function _0x5a66(_0x1e258c,_0x379c21){_0x1e258c=_0x1e258c-0x14b;const _0x49a90e=_0x49a9();let _0x5a66bf=_0x49a90e[_0x1e258c];return _0x5a66bf;}class BaseObject{get[_0x258602(0x161)](){const _0x1626a1=_0x258602;return this[_0x1626a1(0x14b)];}set[_0x258602(0x161)](_0x7c42cf){const _0x419f6a=_0x258602;this[_0x419f6a(0x14b)]=_0x7c42cf;}get[_0x258602(0x153)](){const _0x1081a8=_0x258602;return this[_0x1081a8(0x15e)];}constructor(_0x155936=webgpu.MathUtils[_0x258602(0x158)]()){const _0x550c44=_0x258602;this[_0x550c44(0x14b)]=![],this['tickEvents']=[],this[_0x550c44(0x14b)]=![],this[_0x550c44(0x15e)]=_0x155936;}[_0x258602(0x154)](_0x4eefcf){const _0x3fba85=_0x258602;if(!this[_0x3fba85(0x14b)])return;this['tickEvents']['forEach'](_0x4a2998=>{_0x4a2998(_0x4eefcf);});}[_0x258602(0x156)](_0x55ba3b){const _0xe7e6d9=_0x258602;this[_0xe7e6d9(0x15f)]['push'](_0x55ba3b);}['removeTickEvent'](_0x316340){const _0x355613=_0x258602;let _0x203f3a=this[_0x355613(0x15f)][_0x355613(0x152)](_0x316340);_0x203f3a!=-1&&this['tickEvents'][_0x355613(0x150)](_0x203f3a,0x1);}[_0x258602(0x14f)](){this['tickEvents']=[];}[_0x258602(0x14d)](){}}function _0x49a9(){const _0x35701e=['addTickEvent','1296168RyfUAf','generateUUID','117nEIgus','2TCWHva','40630skvyzs','14mrvoJx','1277199yBPtKf','_uuid','tickEvents','953030eRHFEg','isTickEnabled','bCanTick','44IUOzqw','destroy','1002522mXpZCn','clearTickEvents','splice','169976dgTRGL','indexOf','uuid','tick','115513xaOeek'];_0x49a9=function(){return _0x35701e;};return _0x49a9();}
|
|
33
33
|
|
|
34
|
-
const
|
|
34
|
+
const _0x1e0208=_0x5153;function _0x5153(_0x32c4e9,_0x1c7d3e){_0x32c4e9=_0x32c4e9-0x17c;const _0x5af5a4=_0x5af5();let _0x51535e=_0x5af5a4[_0x32c4e9];return _0x51535e;}(function(_0x359d79,_0x291b3a){const _0x4dd867=_0x5153,_0x592bbf=_0x359d79();while(!![]){try{const _0x34dd9e=parseInt(_0x4dd867(0x186))/0x1+-parseInt(_0x4dd867(0x18e))/0x2*(-parseInt(_0x4dd867(0x185))/0x3)+parseInt(_0x4dd867(0x188))/0x4+parseInt(_0x4dd867(0x180))/0x5*(parseInt(_0x4dd867(0x18b))/0x6)+-parseInt(_0x4dd867(0x182))/0x7+parseInt(_0x4dd867(0x181))/0x8*(-parseInt(_0x4dd867(0x17c))/0x9)+-parseInt(_0x4dd867(0x192))/0xa;if(_0x34dd9e===_0x291b3a)break;else _0x592bbf['push'](_0x592bbf['shift']());}catch(_0x51ae01){_0x592bbf['push'](_0x592bbf['shift']());}}}(_0x5af5,0x7f1e9));function _0x5af5(){const _0x5454a1=['534320xmeClO','136JdlAIX','6109446cwenkq','obj','LYObject','2694Yyujzw','482963MeaBgU','warn','2705616OOCByl','destroyObject','generateUUID','42nzidYA','_name','name','1640SzQjTI','_parentActor','Component\x20createDefaultObject\x20return\x20null','parentActor','11589070dpeUEZ','48393jPOtLs','createDefaultObject','userData','destroy'];_0x5af5=function(){return _0x5454a1;};return _0x5af5();}class Component extends BaseObject{set[_0x1e0208(0x191)](_0x2325f7){this['_parentActor']=_0x2325f7;}get['parentActor'](){const _0x46ba94=_0x1e0208;return this[_0x46ba94(0x18f)];}get['threeObject'](){return this['obj'];}set['threeObject'](_0x1b2a9b){const _0x4d1a52=_0x1e0208;this['obj']=_0x1b2a9b,this['obj']&&(this[_0x4d1a52(0x183)][_0x4d1a52(0x17e)][_0x4d1a52(0x184)]=this);}get['name'](){const _0x4f8de9=_0x1e0208;return this[_0x4f8de9(0x18c)];}set[_0x1e0208(0x18d)](_0xab6b8b){const _0x4a3b41=_0x1e0208;this[_0x4a3b41(0x18c)]=_0xab6b8b,this[_0x4a3b41(0x183)]&&(this[_0x4a3b41(0x183)][_0x4a3b41(0x18d)]=_0xab6b8b);}constructor(_0x575ca7){const _0x1170a7=_0x1e0208;super(_0x575ca7?_0x575ca7:webgpu.MathUtils[_0x1170a7(0x18a)]()),this['obj']=null,this[_0x1170a7(0x18f)]=null,this[_0x1170a7(0x18c)]='Component',this['_parentActor']=null;let _0x3ef17c=this[_0x1170a7(0x17d)]();_0x3ef17c?(this[_0x1170a7(0x183)]=_0x3ef17c,this['_name']=this[_0x1170a7(0x183)]['type']+'Component'):console[_0x1170a7(0x187)](_0x1170a7(0x190));}[_0x1e0208(0x17d)](_0x36d175){return null;}[_0x1e0208(0x189)](){const _0x5b8f97=_0x1e0208;if(!this[_0x5b8f97(0x183)])return;}[_0x1e0208(0x17f)](){const _0x3475e4=_0x1e0208;this[_0x3475e4(0x189)]();}}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
(function(_0xfaccf7,_0x2b6e48){var _0x55f52b=_0x4fb6,_0xd34af5=_0xfaccf7();while(!![]){try{var _0x68afdf=-parseInt(_0x55f52b(0x1c7))/0x1+parseInt(_0x55f52b(0x1c4))/0x2+-parseInt(_0x55f52b(0x1c8))/0x3*(-parseInt(_0x55f52b(0x1c2))/0x4)+parseInt(_0x55f52b(0x1c9))/0x5*(parseInt(_0x55f52b(0x1c5))/0x6)+-parseInt(_0x55f52b(0x1cd))/0x7*(-parseInt(_0x55f52b(0x1ca))/0x8)+-parseInt(_0x55f52b(0x1cf))/0x9*(parseInt(_0x55f52b(0x1c6))/0xa)+-parseInt(_0x55f52b(0x1cb))/0xb*(parseInt(_0x55f52b(0x1cc))/0xc);if(_0x68afdf===_0x2b6e48)break;else _0xd34af5['push'](_0xd34af5['shift']());}catch(_0xa773fe){_0xd34af5['push'](_0xd34af5['shift']());}}}(_0x3747,0x8b0c4));exports.AttachmentRules = void 0;function _0x3747(){var _0x45aae8=['95843yUiZvE','1056MNhVKu','287rkdXPl','KeepWorld','9aJdSHj','172smIvuv','KeepRelative','1666748zoQKTL','957018enHOwE','2637750HoXDoY','474725WXJZzy','37371DscXKY','10jrcDLk','75464RTeLAG'];_0x3747=function(){return _0x45aae8;};return _0x3747();}function _0x4fb6(_0x4ade91,_0x33de9d){_0x4ade91=_0x4ade91-0x1c2;var _0x37479a=_0x3747();var _0x4fb639=_0x37479a[_0x4ade91];return _0x4fb639;}(function(_0x3d6d5e){var _0x9060c1=_0x4fb6;_0x3d6d5e[_0x3d6d5e[_0x9060c1(0x1ce)]=0x1]='KeepWorld',_0x3d6d5e[_0x3d6d5e[_0x9060c1(0x1c3)]=0x2]='KeepRelative';}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
37
37
|
|
|
38
|
-
function
|
|
38
|
+
const _0x894492=_0x14db;function _0x14db(_0x19ee15,_0x5eb823){_0x19ee15=_0x19ee15-0x150;const _0x2822be=_0x2822();let _0x14db4a=_0x2822be[_0x19ee15];return _0x14db4a;}function _0x2822(){const _0x45ff01=['44414kFwzbR','2553000USkgYe','clear','3967917PVAIFi','4466700liaLLt','8jvBJZM','broadcast','indexOf','30271392EtubpZ','forEach','13yvLUDK','7402230LwFIhk','functions','remove','splice','6137550cPndfs'];_0x2822=function(){return _0x45ff01;};return _0x2822();}(function(_0x178334,_0x3af7c0){const _0x3b6027=_0x14db,_0x522757=_0x178334();while(!![]){try{const _0x3010ab=parseInt(_0x3b6027(0x158))/0x1*(parseInt(_0x3b6027(0x15e))/0x2)+parseInt(_0x3b6027(0x151))/0x3+-parseInt(_0x3b6027(0x15f))/0x4+parseInt(_0x3b6027(0x15d))/0x5+parseInt(_0x3b6027(0x159))/0x6+-parseInt(_0x3b6027(0x152))/0x7*(-parseInt(_0x3b6027(0x153))/0x8)+-parseInt(_0x3b6027(0x156))/0x9;if(_0x3010ab===_0x3af7c0)break;else _0x522757['push'](_0x522757['shift']());}catch(_0x27c623){_0x522757['push'](_0x522757['shift']());}}}(_0x2822,0xad12b));class Delegate{constructor(){const _0x12a8d3=_0x14db;this[_0x12a8d3(0x15a)]=[];}[_0x894492(0x154)](..._0x146047){const _0xd8c7f9=_0x894492;this['functions'][_0xd8c7f9(0x157)](_0x2c7568=>_0x2c7568(..._0x146047));}['add'](_0x3b2ab4){const _0x4b2740=_0x894492;this[_0x4b2740(0x15a)]['push'](_0x3b2ab4);}[_0x894492(0x15b)](_0x468510){const _0x4ca93a=_0x894492,_0x2900db=this[_0x4ca93a(0x15a)][_0x4ca93a(0x155)](_0x468510);_0x2900db>=0x0&&this[_0x4ca93a(0x15a)][_0x4ca93a(0x15c)](_0x2900db,0x1);}[_0x894492(0x150)](){const _0x5d7b00=_0x894492;this[_0x5d7b00(0x15a)]=[];}}
|
|
39
39
|
|
|
40
|
-
function _0x5a6a(_0x4c6c3a,_0x43fbfa){_0x4c6c3a=_0x4c6c3a-0x10b;const _0x3f153d=_0x3f15();let _0x5a6a65=_0x3f153d[_0x4c6c3a];return _0x5a6a65;}const _0x3896a0=_0x5a6a;(function(_0x4be23d,_0x545150){const _0x4db581=_0x5a6a,_0x57ebda=_0x4be23d();while(!![]){try{const _0x1fb603=parseInt(_0x4db581(0x11a))/0x1+parseInt(_0x4db581(0x15f))/0x2+-parseInt(_0x4db581(0x128))/0x3*(-parseInt(_0x4db581(0x11e))/0x4)+parseInt(_0x4db581(0x171))/0x5+-parseInt(_0x4db581(0x130))/0x6+parseInt(_0x4db581(0x120))/0x7*(parseInt(_0x4db581(0x145))/0x8)+-parseInt(_0x4db581(0x124))/0x9*(parseInt(_0x4db581(0x161))/0xa);if(_0x1fb603===_0x545150)break;else _0x57ebda['push'](_0x57ebda['shift']());}catch(_0x1caebd){_0x57ebda['push'](_0x57ebda['shift']());}}}(_0x3f15,0x98e9e));class SceneComponent extends Component{set['parentActor'](_0x500358){const _0x21df5f=_0x5a6a;this[_0x21df5f(0x117)][_0x21df5f(0x15d)](_0x33f46b=>{const _0x3307ed=_0x21df5f;_0x33f46b[_0x3307ed(0x122)]=_0x500358;}),this[_0x21df5f(0x163)]=_0x500358;}get['parentActor'](){return this['_parentActor'];}get[_0x3896a0(0x152)](){const _0x55c564=_0x3896a0;return this[_0x55c564(0x12a)];}get[_0x3896a0(0x12b)](){const _0x1d2992=_0x3896a0;return this[_0x1d2992(0x14a)];}get['onClickDelegate'](){const _0x516fbb=_0x3896a0;return this[_0x516fbb(0x164)];}get['onDoubleClickDelegate'](){const _0x475535=_0x3896a0;return this[_0x475535(0x174)];}get['world'](){const _0x32b913=_0x3896a0;return this['app'][_0x32b913(0x172)];}constructor(_0x29a296,_0x4233e1){const _0x5a7ff6=_0x3896a0;super(_0x4233e1),this[_0x5a7ff6(0x16c)]=![],this['bCanClick']=![],this[_0x5a7ff6(0x12a)]=new Delegate(),this[_0x5a7ff6(0x14a)]=new Delegate(),this[_0x5a7ff6(0x164)]=new Delegate(),this[_0x5a7ff6(0x174)]=new Delegate(),this[_0x5a7ff6(0x14c)]=_0x29a296,this[_0x5a7ff6(0x178)]='SceneComponent';}[_0x3896a0(0x115)](){return new webgpu.Object3D();}[_0x3896a0(0x13b)](_0xb0731e){const _0x5045e0=_0x3896a0;super[_0x5045e0(0x13b)](_0xb0731e),this[_0x5045e0(0x117)][_0x5045e0(0x15d)](_0xcc723c=>{const _0x1cd5a2=_0x5045e0;_0xcc723c[_0x1cd5a2(0x13b)](_0xb0731e);});}get[_0x3896a0(0x150)](){const _0x569f51=_0x3896a0;if(!this[_0x569f51(0x138)])return ![];return this['obj'][_0x569f51(0x173)];}[_0x3896a0(0x15e)](_0x57c862){const _0x10054d=_0x3896a0;if(!this['obj'])throw Error(_0x10054d(0x15c));this[_0x10054d(0x138)]['visible']=_0x57c862,this['world']&&this[_0x10054d(0x172)][_0x10054d(0x16a)][_0x10054d(0x10d)]();}[_0x3896a0(0x125)](_0x5e78a4){const _0x343c44=_0x3896a0;if(!this[_0x343c44(0x138)])throw Error('threeObject\x20is\x20invalid');this[_0x343c44(0x138)][_0x343c44(0x126)][_0x343c44(0x11c)](_0x5e78a4);let _0x268e0e=this['childrenComponents'];_0x268e0e[_0x343c44(0x15d)](_0x4efac8=>{_0x4efac8['setLayers'](_0x5e78a4);});}[_0x3896a0(0x159)](_0x26be6e,_0x374681=!![]){const _0x2d760e=_0x3896a0;if(this[_0x2d760e(0x12c)]===_0x26be6e)return this;if(_0x374681){let _0x36699f=this[_0x2d760e(0x117)];for(let _0xd172e3=0x0;_0xd172e3<_0x36699f['length'];++_0xd172e3){let _0x1efb20=_0x36699f[_0xd172e3][_0x2d760e(0x159)](_0x26be6e,_0x374681);if(_0x1efb20)return _0x1efb20;}}else {let _0x2172b1=this['childrenComponents'];for(let _0xd762d8=0x0;_0xd762d8<_0x2172b1[_0x2d760e(0x12e)];++_0xd762d8){let _0x29095d=_0x2172b1[_0xd762d8];if(_0x29095d[_0x2d760e(0x12c)]===_0x26be6e)return _0x29095d;}}return null;}[_0x3896a0(0x13d)](){const _0x101243=_0x3896a0;let _0x154466=new webgpu.Vector3();return this[_0x101243(0x135)]()[_0x101243(0x10b)](_0x154466),this['getWorldPosition']();}['getBoundsTopCenterPositionWS'](){const _0x4d436d=_0x3896a0;let _0x572815=new webgpu.Vector3(),_0x54f914=this[_0x4d436d(0x135)]();return _0x54f914['getCenter'](_0x572815),_0x572815['y']=_0x54f914['max']['y'],_0x572815;}['getBoundsBottomCenterPositionWS'](){const _0x10a276=_0x3896a0;let _0xce79c8=new webgpu.Vector3(),_0x1aacb7=this[_0x10a276(0x135)]();return _0x1aacb7['getCenter'](_0xce79c8),_0xce79c8['y']=_0x1aacb7[_0x10a276(0x137)]['y'],_0xce79c8;}[_0x3896a0(0x135)](){const _0x49ba73=_0x3896a0;if(!this[_0x49ba73(0x138)])throw Error(_0x49ba73(0x15c));let _0x11d638=new webgpu.Box3();return _0x11d638[_0x49ba73(0x168)](this['obj'],![]),_0x11d638[_0x49ba73(0x134)]()&&(_0x11d638['min']=_0x11d638[_0x49ba73(0x139)]=this[_0x49ba73(0x147)]()),_0x11d638;}get[_0x3896a0(0x14f)](){const _0x9f0859=_0x3896a0;var _0x217471,_0x42f50c;if(!this[_0x9f0859(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x381e31=(_0x42f50c=(_0x217471=this[_0x9f0859(0x138)])===null||_0x217471===void 0?void 0:_0x217471[_0x9f0859(0x148)])===null||_0x42f50c===void 0?void 0:_0x42f50c[_0x9f0859(0x170)]['LYObject'];if(!_0x381e31)return null;if(!(_0x381e31 instanceof SceneComponent))return null;if(_0x381e31[_0x9f0859(0x122)]!==this[_0x9f0859(0x122)])return null;return _0x381e31;}get[_0x3896a0(0x117)](){const _0x32e0ec=_0x3896a0;if(!this[_0x32e0ec(0x138)])throw Error(_0x32e0ec(0x15c));let _0x5e8a8f=[];for(let _0x20da0c=0x0;_0x20da0c<this[_0x32e0ec(0x138)][_0x32e0ec(0x10c)]['length'];++_0x20da0c){if(!this['obj'][_0x32e0ec(0x10c)][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)])continue;this['obj'][_0x32e0ec(0x10c)][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)][_0x32e0ec(0x122)]===this[_0x32e0ec(0x122)]&&_0x5e8a8f[_0x32e0ec(0x14b)](this[_0x32e0ec(0x138)]['children'][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)]);}return _0x5e8a8f;}[_0x3896a0(0x12d)](_0x5d9a46){const _0x3e3b22=_0x3896a0;let _0x6c9abc=this[_0x3e3b22(0x117)];for(let _0x23169b=0x0;_0x23169b<_0x6c9abc['length'];++_0x23169b){_0x6c9abc[_0x23169b][_0x3e3b22(0x12d)](_0x5d9a46);}}[_0x3896a0(0x12f)](){const _0x1f204b=_0x3896a0;this[_0x1f204b(0x158)]=![],this[_0x1f204b(0x155)]=![],this['detachFromParentActor'](),this[_0x1f204b(0x144)](),this[_0x1f204b(0x15b)](),this[_0x1f204b(0x15a)](),this[_0x1f204b(0x172)]&&this[_0x1f204b(0x172)][_0x1f204b(0x16a)]['markRenderStateDirty']();}[_0x3896a0(0x15a)](){const _0x3357ba=_0x3896a0;if(!this[_0x3357ba(0x138)])return;this[_0x3357ba(0x138)][_0x3357ba(0x148)]&&this[_0x3357ba(0x138)][_0x3357ba(0x148)][_0x3357ba(0x14d)](this[_0x3357ba(0x138)]),super[_0x3357ba(0x15a)]();}['getPosition'](){const _0x3fbb1f=_0x3896a0;if(!this[_0x3fbb1f(0x138)])throw Error('threeObject\x20is\x20invalid');if(this[_0x3fbb1f(0x138)][_0x3fbb1f(0x157)])return this['obj'][_0x3fbb1f(0x116)][_0x3fbb1f(0x179)]();else {const _0x3525fc=new webgpu.Vector3(),_0x3f599f=new webgpu.Quaternion(),_0x317384=new webgpu.Vector3();return this['obj'][_0x3fbb1f(0x175)][_0x3fbb1f(0x112)](_0x3525fc,_0x3f599f,_0x317384),_0x3525fc;}}['setPosition'](..._0x4333d6){const _0x2151a3=_0x3896a0;var _0x40d44e;if(!this[_0x2151a3(0x138)])throw Error(_0x2151a3(0x15c));let _0x4ea973=null;if(_0x4333d6['length']===0x1&&((_0x40d44e=_0x4333d6[0x0])===null||_0x40d44e===void 0?void 0:_0x40d44e[_0x2151a3(0x176)])){const _0x1db6b4=_0x4333d6[0x0];_0x4ea973=new webgpu.Vector3(_0x1db6b4['x'],_0x1db6b4['y'],_0x1db6b4['z']);}else _0x4333d6[_0x2151a3(0x12e)]===0x3&&typeof _0x4333d6[0x0]==='number'&&typeof _0x4333d6[0x1]===_0x2151a3(0x153)&&typeof _0x4333d6[0x2]==='number'&&(_0x4ea973=new webgpu.Vector3(_0x4333d6[0x0],_0x4333d6[0x1],_0x4333d6[0x2]));if(!_0x4ea973)return;this['obj'][_0x2151a3(0x116)][_0x2151a3(0x13c)](_0x4ea973),!this[_0x2151a3(0x138)][_0x2151a3(0x157)]&&this['obj'][_0x2151a3(0x175)]['setPosition'](_0x4ea973['x'],_0x4ea973['y'],_0x4ea973['z']),this[_0x2151a3(0x138)][_0x2151a3(0x142)](),this[_0x2151a3(0x138)]['updateMatrixWorld'](!![]),this['world']&&this[_0x2151a3(0x172)]['viewport']['markRenderStateDirty']();}['getRotation'](){const _0x1256ec=_0x3896a0;if(!this[_0x1256ec(0x138)])throw Error(_0x1256ec(0x15c));if(this[_0x1256ec(0x138)]['matrixAutoUpdate'])return this[_0x1256ec(0x138)]['rotation'][_0x1256ec(0x179)]();else {const _0x252c64=new webgpu.Vector3(),_0x3d1d01=new webgpu.Quaternion(),_0x44387c=new webgpu.Vector3();return this[_0x1256ec(0x138)][_0x1256ec(0x175)][_0x1256ec(0x112)](_0x252c64,_0x3d1d01,_0x44387c),new webgpu.Euler()[_0x1256ec(0x16b)](_0x3d1d01);}}['setRotation'](..._0x3af035){const _0x24bbed=_0x3896a0;var _0x712505;if(!this[_0x24bbed(0x138)])throw Error(_0x24bbed(0x15c));let _0x45f031=null;if((_0x712505=_0x3af035[0x0])===null||_0x712505===void 0?void 0:_0x712505[_0x24bbed(0x129)]){const _0x3886ef=_0x3af035[0x0];_0x45f031=new webgpu.Euler(_0x3886ef['x'],_0x3886ef['y'],_0x3886ef['z'],_0x3886ef[_0x24bbed(0x165)]);}else typeof _0x3af035[0x0]===_0x24bbed(0x153)&&typeof _0x3af035[0x1]===_0x24bbed(0x153)&&typeof _0x3af035[0x2]==='number'&&(_0x45f031=new webgpu.Euler(_0x3af035[0x0],_0x3af035[0x1],_0x3af035[0x2]));if(!_0x45f031)return;this[_0x24bbed(0x138)]['rotation']['copy'](_0x45f031),this['obj'][_0x24bbed(0x142)](),this[_0x24bbed(0x138)][_0x24bbed(0x110)](!![]),this[_0x24bbed(0x172)]&&this[_0x24bbed(0x172)][_0x24bbed(0x16a)][_0x24bbed(0x10d)]();}['getQuaternion'](){const _0x194432=_0x3896a0;if(!this[_0x194432(0x138)])throw Error(_0x194432(0x15c));if(this[_0x194432(0x138)][_0x194432(0x157)])return this[_0x194432(0x138)][_0x194432(0x166)][_0x194432(0x179)]();else {const _0x5b0623=new webgpu.Vector3(),_0x1f8347=new webgpu.Quaternion(),_0x1ffb3e=new webgpu.Vector3();return this[_0x194432(0x138)]['matrix'][_0x194432(0x112)](_0x5b0623,_0x1f8347,_0x1ffb3e),_0x1f8347;}}['setQuaternion'](..._0x9a54b8){const _0x2aa641=_0x3896a0;var _0x386970;if(!this[_0x2aa641(0x138)])throw Error(_0x2aa641(0x15c));let _0x43a5af=null;if((_0x386970=_0x9a54b8[0x0])===null||_0x386970===void 0?void 0:_0x386970['isQuaternion']){const _0x486251=_0x9a54b8[0x0];_0x43a5af=new webgpu.Quaternion(_0x486251['x'],_0x486251['y'],_0x486251['z'],_0x486251['w']);}else typeof _0x9a54b8[0x0]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x1]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x2]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x3]===_0x2aa641(0x153)&&(_0x43a5af=new webgpu.Quaternion(_0x9a54b8[0x0],_0x9a54b8[0x1],_0x9a54b8[0x2],_0x9a54b8[0x3]));if(!_0x43a5af){console[_0x2aa641(0x14e)](_0x2aa641(0x121),_0x9a54b8);return;}this['obj'][_0x2aa641(0x166)][_0x2aa641(0x13c)](_0x43a5af);if(!this[_0x2aa641(0x138)][_0x2aa641(0x157)]){const _0x52051a=new webgpu.Vector3(),_0x299809=new webgpu.Quaternion(),_0x3aacbe=new webgpu.Vector3();this[_0x2aa641(0x138)][_0x2aa641(0x175)]['decompose'](_0x52051a,_0x299809,_0x3aacbe),this[_0x2aa641(0x138)]['matrix']['compose'](_0x52051a,_0x43a5af,_0x3aacbe);}this[_0x2aa641(0x172)]&&this[_0x2aa641(0x172)][_0x2aa641(0x16a)]['markRenderStateDirty'](),this[_0x2aa641(0x138)][_0x2aa641(0x142)](),this['obj'][_0x2aa641(0x110)](!![]);}[_0x3896a0(0x10f)](){const _0x2c55a8=_0x3896a0;if(!this[_0x2c55a8(0x138)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0x2c55a8(0x157)])return this[_0x2c55a8(0x138)][_0x2c55a8(0x114)]['clone']();else {const _0x12a30d=new webgpu.Vector3(),_0x146ec8=new webgpu.Quaternion(),_0x59ea56=new webgpu.Vector3();return this[_0x2c55a8(0x138)]['matrix']['decompose'](_0x12a30d,_0x146ec8,_0x59ea56),_0x59ea56;}}[_0x3896a0(0x119)](..._0xc5489){const _0x1ee0a5=_0x3896a0;var _0x1e78dc;if(!this[_0x1ee0a5(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x1986cb=null;if((_0x1e78dc=_0xc5489[0x0])===null||_0x1e78dc===void 0?void 0:_0x1e78dc[_0x1ee0a5(0x176)]){const _0x34339f=_0xc5489[0x0];_0x1986cb=new webgpu.Vector3(_0x34339f['x'],_0x34339f['y'],_0x34339f['z']);}else typeof _0xc5489[0x0]===_0x1ee0a5(0x153)&&typeof _0xc5489[0x1]===_0x1ee0a5(0x153)&&typeof _0xc5489[0x2]===_0x1ee0a5(0x153)&&(_0x1986cb=new webgpu.Vector3(_0xc5489[0x0],_0xc5489[0x1],_0xc5489[0x2]));if(!_0x1986cb)return;this['obj'][_0x1ee0a5(0x114)]['copy'](_0x1986cb),this[_0x1ee0a5(0x138)][_0x1ee0a5(0x142)](),this[_0x1ee0a5(0x138)]['updateMatrixWorld'](!![]),this['world']&&this[_0x1ee0a5(0x172)]['viewport']['markRenderStateDirty']();}['getMatrix'](){const _0x513543=_0x3896a0;if(!this['obj'])throw Error(_0x513543(0x15c));return this['obj'][_0x513543(0x175)];}[_0x3896a0(0x11b)](_0x5190bd){const _0x45dc61=_0x3896a0;var _0x31cf6e;if(!this[_0x45dc61(0x138)])throw Error(_0x45dc61(0x15c));_0x5190bd['decompose'](this[_0x45dc61(0x138)][_0x45dc61(0x116)],this[_0x45dc61(0x138)][_0x45dc61(0x166)],this[_0x45dc61(0x138)]['scale']),this[_0x45dc61(0x138)][_0x45dc61(0x142)](),this[_0x45dc61(0x138)]['updateMatrixWorld'](!![]),(_0x31cf6e=this[_0x45dc61(0x172)])===null||_0x31cf6e===void 0?void 0:_0x31cf6e[_0x45dc61(0x16a)][_0x45dc61(0x10d)]();}['getWorldPosition'](){const _0x4f67ee=_0x3896a0;if(!this[_0x4f67ee(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x273b9b=new webgpu.Vector3();return this[_0x4f67ee(0x138)]['getWorldPosition'](_0x273b9b),_0x273b9b;}[_0x3896a0(0x16f)](){const _0x36131e=_0x3896a0;if(!this[_0x36131e(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x175791=new webgpu.Quaternion();return this[_0x36131e(0x138)][_0x36131e(0x156)](_0x175791),new webgpu.Euler()[_0x36131e(0x16b)](_0x175791);}[_0x3896a0(0x156)](){const _0x39bc52=_0x3896a0;if(!this[_0x39bc52(0x138)])throw Error(_0x39bc52(0x15c));let _0x139672=new webgpu.Quaternion();return this[_0x39bc52(0x138)][_0x39bc52(0x156)](_0x139672),_0x139672;}[_0x3896a0(0x169)](){const _0x2583f3=_0x3896a0;if(!this['obj'])throw Error(_0x2583f3(0x15c));let _0x109faa=new webgpu.Vector3();return this[_0x2583f3(0x138)][_0x2583f3(0x169)](_0x109faa),_0x109faa;}[_0x3896a0(0x123)](){const _0x1e4b8e=_0x3896a0;if(!this[_0x1e4b8e(0x138)])throw Error('threeObject\x20is\x20invalid');return this[_0x1e4b8e(0x138)][_0x1e4b8e(0x110)](!![]),this[_0x1e4b8e(0x138)][_0x1e4b8e(0x127)][_0x1e4b8e(0x179)]();}[_0x3896a0(0x143)](_0x6a36bc){const _0x594370=_0x3896a0;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x594370(0x138)][_0x594370(0x148)]){this['obj']['parent']['updateMatrixWorld'](!![]);const _0x34eee5=this['obj'][_0x594370(0x148)]['matrixWorld'][_0x594370(0x179)]()[_0x594370(0x136)](),_0x435fe3=new webgpu.Matrix4()['multiplyMatrices'](_0x34eee5,_0x6a36bc);this[_0x594370(0x11b)](_0x435fe3);}else this[_0x594370(0x11b)](_0x6a36bc);this['obj'][_0x594370(0x110)](!![]),this[_0x594370(0x172)]&&this[_0x594370(0x172)][_0x594370(0x16a)][_0x594370(0x10d)]();}[_0x3896a0(0x111)](){const _0x8f9e13=_0x3896a0;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0xf90bb1=new webgpu.Vector3();return this[_0x8f9e13(0x138)][_0x8f9e13(0x118)](_0xf90bb1),_0xf90bb1;}[_0x3896a0(0x160)](){const _0x28d127=_0x3896a0;if(!this[_0x28d127(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x10557e=new webgpu.Vector3(0x0,0x1,0x0);return _0x10557e[_0x28d127(0x132)](this[_0x28d127(0x156)]()),_0x10557e;}[_0x3896a0(0x167)](){const _0x41cce8=_0x3896a0;if(!this[_0x41cce8(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x507722=new webgpu.Vector3(0x1,0x0,0x0);return _0x507722['applyQuaternion'](this[_0x41cce8(0x156)]()),_0x507722;}[_0x3896a0(0x13e)](_0x337cc6){const _0x3b2f8e=_0x3896a0;if(!this[_0x3b2f8e(0x138)])throw Error(_0x3b2f8e(0x15c));return this[_0x3b2f8e(0x138)][_0x3b2f8e(0x13e)](_0x337cc6);}[_0x3896a0(0x154)](_0x48eeaa){const _0x34a945=_0x3896a0;if(!this['obj'])throw Error(_0x34a945(0x15c));return this[_0x34a945(0x138)]['localToWorld'](_0x48eeaa);}[_0x3896a0(0x16d)](_0x455569){const _0x3c6c3c=_0x3896a0;if(!this['obj'])throw Error(_0x3c6c3c(0x15c));if(!_0x455569[_0x3c6c3c(0x10e)])throw Error(_0x3c6c3c(0x11f));this[_0x3c6c3c(0x138)][_0x3c6c3c(0x177)](_0x455569[_0x3c6c3c(0x10e)]),this[_0x3c6c3c(0x172)]&&_0x455569[_0x3c6c3c(0x12d)](this[_0x3c6c3c(0x172)]);}[_0x3896a0(0x151)](_0x443674){const _0x1768d8=_0x3896a0;if(!this['obj'])throw Error(_0x1768d8(0x15c));if(!_0x443674['threeObject'])throw Error('target\x20threeObject\x20is\x20invalid');this[_0x1768d8(0x138)][_0x1768d8(0x14d)](_0x443674[_0x1768d8(0x10e)]);}[_0x3896a0(0x16e)](_0x1dde08,_0x42096c=exports.AttachmentRules[_0x3896a0(0x149)]){const _0x4bedb4=_0x3896a0;if(!this[_0x4bedb4(0x138)])throw Error('threeObject\x20is\x20invalid');if(!_0x1dde08[_0x4bedb4(0x10e)])throw Error(_0x4bedb4(0x11f));_0x1dde08['parentActor']=this[_0x4bedb4(0x122)];if(_0x42096c===exports.AttachmentRules[_0x4bedb4(0x140)]){let _0x5d0364=_0x1dde08[_0x4bedb4(0x123)]();this[_0x4bedb4(0x138)][_0x4bedb4(0x177)](_0x1dde08[_0x4bedb4(0x10e)]),_0x1dde08[_0x4bedb4(0x143)](_0x5d0364);}else this[_0x4bedb4(0x138)]['add'](_0x1dde08['threeObject']);this[_0x4bedb4(0x172)]&&_0x1dde08['onAddedToWorld'](this[_0x4bedb4(0x172)]),this[_0x4bedb4(0x138)][_0x4bedb4(0x142)](),this[_0x4bedb4(0x138)][_0x4bedb4(0x110)](!![]);}[_0x3896a0(0x11d)](_0x296693){const _0x4e7279=_0x3896a0;if(!this[_0x4e7279(0x138)])throw Error('threeObject\x20is\x20invalid');if(!_0x296693[_0x4e7279(0x10e)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x4e7279(0x138)]['remove'](_0x296693[_0x4e7279(0x10e)]);}['detachFromParentComponent'](){const _0x185c4b=_0x3896a0;this[_0x185c4b(0x14f)]&&this[_0x185c4b(0x14f)][_0x185c4b(0x11d)](this);}[_0x3896a0(0x131)](){const _0xffe11c=_0x3896a0;this[_0xffe11c(0x122)]&&(this[_0xffe11c(0x122)]=null);}['destroyChildren'](){const _0x3876da=_0x3896a0;var _0x162705;if(!this['obj'])return;let _0x1da009=[];for(let _0x43f38c=0x0;_0x43f38c<this[_0x3876da(0x138)][_0x3876da(0x10c)][_0x3876da(0x12e)];++_0x43f38c){let _0x42ea81=(_0x162705=this['obj'][_0x3876da(0x10c)][_0x43f38c][_0x3876da(0x170)])===null||_0x162705===void 0?void 0:_0x162705[_0x3876da(0x13a)];_0x42ea81&&_0x1da009[_0x3876da(0x14b)](_0x42ea81);}_0x1da009[_0x3876da(0x15d)](_0x4f60a9=>{_0x4f60a9['destroy']();}),_0x1da009=[];}set[_0x3896a0(0x158)](_0x351a57){const _0x27f86b=_0x3896a0;this[_0x27f86b(0x16c)]=_0x351a57;let _0x2ae9c4=this[_0x27f86b(0x117)];for(let _0x5ae6a8=0x0;_0x5ae6a8<_0x2ae9c4[_0x27f86b(0x12e)];++_0x5ae6a8){_0x2ae9c4[_0x5ae6a8][_0x27f86b(0x158)]=this[_0x27f86b(0x16c)];}}get[_0x3896a0(0x158)](){const _0x189259=_0x3896a0;return this[_0x189259(0x16c)];}set['isClickEnabled'](_0x1295af){const _0x3eeae9=_0x3896a0;this['bCanClick']=_0x1295af;let _0x571210=this[_0x3eeae9(0x117)];for(let _0x22a2cf=0x0;_0x22a2cf<_0x571210[_0x3eeae9(0x12e)];++_0x22a2cf){_0x571210[_0x22a2cf][_0x3eeae9(0x155)]=this[_0x3eeae9(0x146)];}}get[_0x3896a0(0x155)](){return this['bCanClick'];}[_0x3896a0(0x141)](){const _0x52e1a1=_0x3896a0;this['_onHoverBeginDelegate'][_0x52e1a1(0x133)]();}[_0x3896a0(0x113)](){const _0x298ce1=_0x3896a0;this[_0x298ce1(0x14a)][_0x298ce1(0x133)]();}[_0x3896a0(0x13f)](){const _0x6a605d=_0x3896a0;this['_onClickDelegate'][_0x6a605d(0x133)]();}[_0x3896a0(0x162)](){const _0x1dfe5a=_0x3896a0;this[_0x1dfe5a(0x174)][_0x1dfe5a(0x133)]();}}function _0x3f15(){const _0x1dacd9=['children','markRenderStateDirty','threeObject','getScale','updateMatrixWorld','getWorldForwardDirection','decompose','onHorveringEnd','scale','createDefaultObject','position','childrenComponents','getWorldDirection','setScale','78346bzJGEj','setMatrix','set','removeChildComponent','1788rPsuLs','newComponent\x20threeObject\x20is\x20invalid','119pBzKkG','setQuaternion\x20failed,param\x20is\x20invalid','parentActor','getWorldMatrix','18nUkxFK','setLayers','layers','matrixWorld','6393zzreUs','isEuler','_onHoverBeginDelegate','onHoverEndDelegate','uuid','onAddedToWorld','length','destroy','4052250vyPROx','detachFromParentActor','applyQuaternion','broadcast','isEmpty','getBounds','invert','min','obj','max','LYObject','tick','copy','getBoundsCenterPositionWS','worldToLocal','onClicked','KeepWorld','onHorveringBegin','updateMatrix','setWorldMatrix','detachFromParentComponent','132136PTfpNr','bCanClick','getWorldPosition','parent','KeepRelative','_onHoverEndDelegate','push','app','remove','error','parentComponent','isVisible','detachComponent','onHoverBeginDelegate','number','localToWorld','isClickEnabled','getWorldQuaternion','matrixAutoUpdate','isHoverEnabled','getComponentById','destroyObject','destroyChildren','threeObject\x20is\x20invalid','forEach','setVisible','730578DfwTDs','getWorldUpDirection','4669510CRlsUB','onDoubleClicked','_parentActor','_onClickDelegate','order','quaternion','getWorldRightDirection','setFromObject','getWorldScale','viewport','setFromQuaternion','bCanHover','attachComponent','addChildComponent','getWorldRotation','userData','2793150KfLqbd','world','visible','_onDoubleClickDelegate','matrix','isVector3','add','name','clone','getCenter'];_0x3f15=function(){return _0x1dacd9;};return _0x3f15();}
|
|
40
|
+
function _0x1a1a(_0x140482,_0x3440f2){_0x140482=_0x140482-0xba;const _0xf52873=_0xf528();let _0x1a1a57=_0xf52873[_0x140482];return _0x1a1a57;}const _0x1f3604=_0x1a1a;(function(_0x456cc3,_0x511d2a){const _0x4ca965=_0x1a1a,_0x332dc4=_0x456cc3();while(!![]){try{const _0x56d678=-parseInt(_0x4ca965(0xfa))/0x1*(parseInt(_0x4ca965(0xfd))/0x2)+-parseInt(_0x4ca965(0xc0))/0x3*(-parseInt(_0x4ca965(0xf4))/0x4)+-parseInt(_0x4ca965(0xdf))/0x5+-parseInt(_0x4ca965(0x10f))/0x6+parseInt(_0x4ca965(0x10b))/0x7*(-parseInt(_0x4ca965(0xfe))/0x8)+parseInt(_0x4ca965(0xee))/0x9+parseInt(_0x4ca965(0x117))/0xa;if(_0x56d678===_0x511d2a)break;else _0x332dc4['push'](_0x332dc4['shift']());}catch(_0x1049de){_0x332dc4['push'](_0x332dc4['shift']());}}}(_0xf528,0x2b52b));function _0xf528(){const _0x980139=['onHorveringBegin','_parentActor','getMatrix','threeObject','getPosition','destroyChildren','getScale','getCenter','tick','app','getWorldDirection','obj','getComponentById','setMatrix','setFromQuaternion','parentComponent','getWorldMatrix','name','onHoverBeginDelegate','getQuaternion','_onHoverBeginDelegate','matrix','1634630xDGmZT','onClickDelegate','getWorldQuaternion','targetComponent\x20threeObject\x20is\x20invalid','layers','getBoundsBottomCenterPositionWS','onAddedToWorld','clone','position','threeObject\x20is\x20invalid','remove','onHoverEndDelegate','decompose','updateMatrixWorld','getWorldUpDirection','1835424eOIrzH','viewport','setFromObject','createDefaultObject','isVisible','min','608IPpJjL','isVector3','quaternion','setQuaternion\x20failed,param\x20is\x20invalid','scale','isEmpty','1tyYIAv','getBounds','onHorveringEnd','275630laAAAx','136JjLbzx','SceneComponent','compose','bCanClick','_onHoverEndDelegate','setPosition','worldToLocal','getWorldScale','_onDoubleClickDelegate','multiplyMatrices','getWorldRightDirection','setLayers','setWorldMatrix','87157MFvyxs','userData','_onClickDelegate','visible','338682arEtiO','LYObject','detachFromParentActor','copy','children','getWorldPosition','setScale','target\x20threeObject\x20is\x20invalid','5783860RhaiOS','KeepRelative','broadcast','isHoverEnabled','uuid','matrixAutoUpdate','parentActor','parent','childrenComponents','isEuler','getBoundsCenterPositionWS','KeepWorld','localToWorld','rotation','isClickEnabled','add','setRotation','updateMatrix','detachFromParentComponent','attachComponent','destroy','onDoubleClickDelegate','isQuaternion','world','max','length','push','bCanHover','2526QuWixY','applyQuaternion','set','newComponent\x20threeObject\x20is\x20invalid','number','getBoundsTopCenterPositionWS','matrixWorld','markRenderStateDirty','forEach'];_0xf528=function(){return _0x980139;};return _0xf528();}class SceneComponent extends Component{set[_0x1f3604(0x11d)](_0x4541bf){const _0x158b92=_0x1f3604;this['childrenComponents']['forEach'](_0x5b02d2=>{const _0x4d6631=_0x1a1a;_0x5b02d2[_0x4d6631(0x11d)]=_0x4541bf;}),this[_0x158b92(0xca)]=_0x4541bf;}get[_0x1f3604(0x11d)](){const _0x1f92d0=_0x1f3604;return this[_0x1f92d0(0xca)];}get[_0x1f3604(0xdb)](){return this['_onHoverBeginDelegate'];}get[_0x1f3604(0xea)](){const _0x464911=_0x1f3604;return this[_0x464911(0x102)];}get[_0x1f3604(0xe0)](){const _0x259246=_0x1f3604;return this[_0x259246(0x10d)];}get[_0x1f3604(0x12c)](){const _0x370cab=_0x1f3604;return this[_0x370cab(0x106)];}get[_0x1f3604(0xbb)](){const _0x576d73=_0x1f3604;return this[_0x576d73(0xd2)]['world'];}constructor(_0x8edfae,_0x28fbff){const _0x2d4f6e=_0x1f3604;super(_0x28fbff),this[_0x2d4f6e(0xbf)]=![],this[_0x2d4f6e(0x101)]=![],this[_0x2d4f6e(0xdd)]=new Delegate(),this[_0x2d4f6e(0x102)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x2d4f6e(0x106)]=new Delegate(),this['app']=_0x8edfae,this[_0x2d4f6e(0xda)]=_0x2d4f6e(0xff);}[_0x1f3604(0xf1)](){return new webgpu.Object3D();}[_0x1f3604(0xd1)](_0x5327c6){const _0x5eb3d6=_0x1f3604;super['tick'](_0x5327c6),this['childrenComponents'][_0x5eb3d6(0xc8)](_0x81e58c=>{const _0x3f485f=_0x5eb3d6;_0x81e58c[_0x3f485f(0xd1)](_0x5327c6);});}get[_0x1f3604(0xf2)](){const _0x5cdf31=_0x1f3604;if(!this['obj'])return ![];return this[_0x5cdf31(0xd4)][_0x5cdf31(0x10e)];}['setVisible'](_0x4eff61){const _0x20833e=_0x1f3604;if(!this[_0x20833e(0xd4)])throw Error(_0x20833e(0xe8));this[_0x20833e(0xd4)]['visible']=_0x4eff61,this[_0x20833e(0xbb)]&&this[_0x20833e(0xbb)][_0x20833e(0xef)][_0x20833e(0xc7)]();}['setLayers'](_0x456481){const _0x2556fd=_0x1f3604;if(!this['obj'])throw Error(_0x2556fd(0xe8));this[_0x2556fd(0xd4)][_0x2556fd(0xe3)][_0x2556fd(0xc2)](_0x456481);let _0x48c698=this[_0x2556fd(0x11f)];_0x48c698['forEach'](_0x389eab=>{const _0x1d25b5=_0x2556fd;_0x389eab[_0x1d25b5(0x109)](_0x456481);});}[_0x1f3604(0xd5)](_0x169b4f,_0x29c9e9=!![]){const _0x47ce8b=_0x1f3604;if(this[_0x47ce8b(0x11b)]===_0x169b4f)return this;if(_0x29c9e9){let _0x2725cb=this[_0x47ce8b(0x11f)];for(let _0x210d48=0x0;_0x210d48<_0x2725cb[_0x47ce8b(0xbd)];++_0x210d48){let _0x5f9ced=_0x2725cb[_0x210d48][_0x47ce8b(0xd5)](_0x169b4f,_0x29c9e9);if(_0x5f9ced)return _0x5f9ced;}}else {let _0x51167f=this['childrenComponents'];for(let _0x4e4dfa=0x0;_0x4e4dfa<_0x51167f['length'];++_0x4e4dfa){let _0x28dbfe=_0x51167f[_0x4e4dfa];if(_0x28dbfe[_0x47ce8b(0x11b)]===_0x169b4f)return _0x28dbfe;}}return null;}[_0x1f3604(0x121)](){const _0x57c8c5=_0x1f3604;let _0x3c4095=new webgpu.Vector3();return this[_0x57c8c5(0xfb)]()[_0x57c8c5(0xd0)](_0x3c4095),this[_0x57c8c5(0x114)]();}[_0x1f3604(0xc5)](){const _0x41d56f=_0x1f3604;let _0x35d986=new webgpu.Vector3(),_0x3d74cb=this[_0x41d56f(0xfb)]();return _0x3d74cb[_0x41d56f(0xd0)](_0x35d986),_0x35d986['y']=_0x3d74cb[_0x41d56f(0xbc)]['y'],_0x35d986;}[_0x1f3604(0xe4)](){const _0x294220=_0x1f3604;let _0x1bf4ff=new webgpu.Vector3(),_0x53adfa=this[_0x294220(0xfb)]();return _0x53adfa[_0x294220(0xd0)](_0x1bf4ff),_0x1bf4ff['y']=_0x53adfa['min']['y'],_0x1bf4ff;}['getBounds'](){const _0x3fbb9c=_0x1f3604;if(!this[_0x3fbb9c(0xd4)])throw Error(_0x3fbb9c(0xe8));let _0x5d7c0e=new webgpu.Box3();return _0x5d7c0e[_0x3fbb9c(0xf0)](this[_0x3fbb9c(0xd4)],![]),_0x5d7c0e[_0x3fbb9c(0xf9)]()&&(_0x5d7c0e[_0x3fbb9c(0xf3)]=_0x5d7c0e[_0x3fbb9c(0xbc)]=this[_0x3fbb9c(0x114)]()),_0x5d7c0e;}get[_0x1f3604(0xd8)](){const _0xe426b2=_0x1f3604;var _0x3c02cd,_0x36144b;if(!this[_0xe426b2(0xd4)])throw Error(_0xe426b2(0xe8));let _0x371880=(_0x36144b=(_0x3c02cd=this[_0xe426b2(0xd4)])===null||_0x3c02cd===void 0?void 0:_0x3c02cd[_0xe426b2(0x11e)])===null||_0x36144b===void 0?void 0:_0x36144b['userData'][_0xe426b2(0x110)];if(!_0x371880)return null;if(!(_0x371880 instanceof SceneComponent))return null;if(_0x371880[_0xe426b2(0x11d)]!==this[_0xe426b2(0x11d)])return null;return _0x371880;}get['childrenComponents'](){const _0x500c0c=_0x1f3604;if(!this['obj'])throw Error(_0x500c0c(0xe8));let _0x266aaf=[];for(let _0x2f4abd=0x0;_0x2f4abd<this['obj'][_0x500c0c(0x113)][_0x500c0c(0xbd)];++_0x2f4abd){if(!this[_0x500c0c(0xd4)]['children'][_0x2f4abd][_0x500c0c(0x10c)][_0x500c0c(0x110)])continue;this['obj']['children'][_0x2f4abd][_0x500c0c(0x10c)][_0x500c0c(0x110)][_0x500c0c(0x11d)]===this[_0x500c0c(0x11d)]&&_0x266aaf[_0x500c0c(0xbe)](this[_0x500c0c(0xd4)][_0x500c0c(0x113)][_0x2f4abd][_0x500c0c(0x10c)][_0x500c0c(0x110)]);}return _0x266aaf;}['onAddedToWorld'](_0x501df2){const _0xc7e4ec=_0x1f3604;let _0x1a65e4=this[_0xc7e4ec(0x11f)];for(let _0x2c334c=0x0;_0x2c334c<_0x1a65e4[_0xc7e4ec(0xbd)];++_0x2c334c){_0x1a65e4[_0x2c334c]['onAddedToWorld'](_0x501df2);}}['destroy'](){const _0x1a456c=_0x1f3604;this[_0x1a456c(0x11a)]=![],this['isClickEnabled']=![],this[_0x1a456c(0x111)](),this['detachFromParentComponent'](),this['destroyChildren'](),this['destroyObject'](),this[_0x1a456c(0xbb)]&&this[_0x1a456c(0xbb)][_0x1a456c(0xef)][_0x1a456c(0xc7)]();}['destroyObject'](){const _0x134fb9=_0x1f3604;if(!this[_0x134fb9(0xd4)])return;this[_0x134fb9(0xd4)]['parent']&&this[_0x134fb9(0xd4)][_0x134fb9(0x11e)][_0x134fb9(0xe9)](this[_0x134fb9(0xd4)]),super['destroyObject']();}[_0x1f3604(0xcd)](){const _0x195181=_0x1f3604;if(!this[_0x195181(0xd4)])throw Error(_0x195181(0xe8));if(this[_0x195181(0xd4)]['matrixAutoUpdate'])return this[_0x195181(0xd4)][_0x195181(0xe7)][_0x195181(0xe6)]();else {const _0x3d2e3a=new webgpu.Vector3(),_0x93232a=new webgpu.Quaternion(),_0x4c74f1=new webgpu.Vector3();return this[_0x195181(0xd4)]['matrix']['decompose'](_0x3d2e3a,_0x93232a,_0x4c74f1),_0x3d2e3a;}}[_0x1f3604(0x103)](..._0x2d394d){const _0x202564=_0x1f3604;var _0x31943c;if(!this[_0x202564(0xd4)])throw Error(_0x202564(0xe8));let _0x274dcf=null;if(_0x2d394d[_0x202564(0xbd)]===0x1&&((_0x31943c=_0x2d394d[0x0])===null||_0x31943c===void 0?void 0:_0x31943c[_0x202564(0xf5)])){const _0x2bcfab=_0x2d394d[0x0];_0x274dcf=new webgpu.Vector3(_0x2bcfab['x'],_0x2bcfab['y'],_0x2bcfab['z']);}else _0x2d394d[_0x202564(0xbd)]===0x3&&typeof _0x2d394d[0x0]===_0x202564(0xc4)&&typeof _0x2d394d[0x1]===_0x202564(0xc4)&&typeof _0x2d394d[0x2]==='number'&&(_0x274dcf=new webgpu.Vector3(_0x2d394d[0x0],_0x2d394d[0x1],_0x2d394d[0x2]));if(!_0x274dcf)return;this[_0x202564(0xd4)][_0x202564(0xe7)]['copy'](_0x274dcf),!this[_0x202564(0xd4)][_0x202564(0x11c)]&&this[_0x202564(0xd4)][_0x202564(0xde)][_0x202564(0x103)](_0x274dcf['x'],_0x274dcf['y'],_0x274dcf['z']),this['obj'][_0x202564(0x128)](),this[_0x202564(0xd4)][_0x202564(0xec)](!![]),this[_0x202564(0xbb)]&&this[_0x202564(0xbb)][_0x202564(0xef)][_0x202564(0xc7)]();}['getRotation'](){const _0x386264=_0x1f3604;if(!this[_0x386264(0xd4)])throw Error(_0x386264(0xe8));if(this['obj'][_0x386264(0x11c)])return this[_0x386264(0xd4)]['rotation'][_0x386264(0xe6)]();else {const _0x56fd3e=new webgpu.Vector3(),_0x16e4b5=new webgpu.Quaternion(),_0x4a3a71=new webgpu.Vector3();return this['obj'][_0x386264(0xde)][_0x386264(0xeb)](_0x56fd3e,_0x16e4b5,_0x4a3a71),new webgpu.Euler()[_0x386264(0xd7)](_0x16e4b5);}}[_0x1f3604(0x127)](..._0x3e0289){const _0x3c598e=_0x1f3604;var _0x1f21a9;if(!this[_0x3c598e(0xd4)])throw Error(_0x3c598e(0xe8));let _0x35dbd8=null;if((_0x1f21a9=_0x3e0289[0x0])===null||_0x1f21a9===void 0?void 0:_0x1f21a9[_0x3c598e(0x120)]){const _0x52b9ba=_0x3e0289[0x0];_0x35dbd8=new webgpu.Euler(_0x52b9ba['x'],_0x52b9ba['y'],_0x52b9ba['z'],_0x52b9ba['order']);}else typeof _0x3e0289[0x0]==='number'&&typeof _0x3e0289[0x1]===_0x3c598e(0xc4)&&typeof _0x3e0289[0x2]===_0x3c598e(0xc4)&&(_0x35dbd8=new webgpu.Euler(_0x3e0289[0x0],_0x3e0289[0x1],_0x3e0289[0x2]));if(!_0x35dbd8)return;this[_0x3c598e(0xd4)][_0x3c598e(0x124)][_0x3c598e(0x112)](_0x35dbd8),this[_0x3c598e(0xd4)][_0x3c598e(0x128)](),this['obj']['updateMatrixWorld'](!![]),this[_0x3c598e(0xbb)]&&this[_0x3c598e(0xbb)][_0x3c598e(0xef)][_0x3c598e(0xc7)]();}[_0x1f3604(0xdc)](){const _0x42c6ef=_0x1f3604;if(!this[_0x42c6ef(0xd4)])throw Error('threeObject\x20is\x20invalid');if(this[_0x42c6ef(0xd4)][_0x42c6ef(0x11c)])return this[_0x42c6ef(0xd4)][_0x42c6ef(0xf6)][_0x42c6ef(0xe6)]();else {const _0x31eea6=new webgpu.Vector3(),_0x3c033d=new webgpu.Quaternion(),_0x4854b8=new webgpu.Vector3();return this['obj'][_0x42c6ef(0xde)][_0x42c6ef(0xeb)](_0x31eea6,_0x3c033d,_0x4854b8),_0x3c033d;}}['setQuaternion'](..._0x3b7908){const _0x3e44ff=_0x1f3604;var _0x3a7bcb;if(!this[_0x3e44ff(0xd4)])throw Error(_0x3e44ff(0xe8));let _0x466ff4=null;if((_0x3a7bcb=_0x3b7908[0x0])===null||_0x3a7bcb===void 0?void 0:_0x3a7bcb[_0x3e44ff(0xba)]){const _0x4ea686=_0x3b7908[0x0];_0x466ff4=new webgpu.Quaternion(_0x4ea686['x'],_0x4ea686['y'],_0x4ea686['z'],_0x4ea686['w']);}else typeof _0x3b7908[0x0]===_0x3e44ff(0xc4)&&typeof _0x3b7908[0x1]===_0x3e44ff(0xc4)&&typeof _0x3b7908[0x2]===_0x3e44ff(0xc4)&&typeof _0x3b7908[0x3]===_0x3e44ff(0xc4)&&(_0x466ff4=new webgpu.Quaternion(_0x3b7908[0x0],_0x3b7908[0x1],_0x3b7908[0x2],_0x3b7908[0x3]));if(!_0x466ff4){console['error'](_0x3e44ff(0xf7),_0x3b7908);return;}this[_0x3e44ff(0xd4)][_0x3e44ff(0xf6)][_0x3e44ff(0x112)](_0x466ff4);if(!this[_0x3e44ff(0xd4)][_0x3e44ff(0x11c)]){const _0x4dc79b=new webgpu.Vector3(),_0x1c74e2=new webgpu.Quaternion(),_0x60ff74=new webgpu.Vector3();this[_0x3e44ff(0xd4)][_0x3e44ff(0xde)]['decompose'](_0x4dc79b,_0x1c74e2,_0x60ff74),this[_0x3e44ff(0xd4)]['matrix'][_0x3e44ff(0x100)](_0x4dc79b,_0x466ff4,_0x60ff74);}this['world']&&this['world'][_0x3e44ff(0xef)][_0x3e44ff(0xc7)](),this[_0x3e44ff(0xd4)][_0x3e44ff(0x128)](),this[_0x3e44ff(0xd4)][_0x3e44ff(0xec)](!![]);}[_0x1f3604(0xcf)](){const _0x31d156=_0x1f3604;if(!this[_0x31d156(0xd4)])throw Error(_0x31d156(0xe8));if(this[_0x31d156(0xd4)][_0x31d156(0x11c)])return this[_0x31d156(0xd4)][_0x31d156(0xf8)][_0x31d156(0xe6)]();else {const _0x2518bb=new webgpu.Vector3(),_0x5ccf96=new webgpu.Quaternion(),_0x1aa669=new webgpu.Vector3();return this['obj'][_0x31d156(0xde)]['decompose'](_0x2518bb,_0x5ccf96,_0x1aa669),_0x1aa669;}}[_0x1f3604(0x115)](..._0x3c23fe){const _0x412527=_0x1f3604;var _0x2cf3c8;if(!this['obj'])throw Error(_0x412527(0xe8));let _0x452b74=null;if((_0x2cf3c8=_0x3c23fe[0x0])===null||_0x2cf3c8===void 0?void 0:_0x2cf3c8[_0x412527(0xf5)]){const _0x18f8c4=_0x3c23fe[0x0];_0x452b74=new webgpu.Vector3(_0x18f8c4['x'],_0x18f8c4['y'],_0x18f8c4['z']);}else typeof _0x3c23fe[0x0]===_0x412527(0xc4)&&typeof _0x3c23fe[0x1]===_0x412527(0xc4)&&typeof _0x3c23fe[0x2]===_0x412527(0xc4)&&(_0x452b74=new webgpu.Vector3(_0x3c23fe[0x0],_0x3c23fe[0x1],_0x3c23fe[0x2]));if(!_0x452b74)return;this[_0x412527(0xd4)][_0x412527(0xf8)][_0x412527(0x112)](_0x452b74),this[_0x412527(0xd4)][_0x412527(0x128)](),this[_0x412527(0xd4)]['updateMatrixWorld'](!![]),this[_0x412527(0xbb)]&&this['world'][_0x412527(0xef)]['markRenderStateDirty']();}[_0x1f3604(0xcb)](){const _0x59046d=_0x1f3604;if(!this[_0x59046d(0xd4)])throw Error(_0x59046d(0xe8));return this[_0x59046d(0xd4)][_0x59046d(0xde)];}['setMatrix'](_0x219c4d){const _0x287211=_0x1f3604;var _0x3f9e61;if(!this[_0x287211(0xd4)])throw Error(_0x287211(0xe8));_0x219c4d[_0x287211(0xeb)](this[_0x287211(0xd4)][_0x287211(0xe7)],this[_0x287211(0xd4)][_0x287211(0xf6)],this[_0x287211(0xd4)][_0x287211(0xf8)]),this['obj']['updateMatrix'](),this[_0x287211(0xd4)][_0x287211(0xec)](!![]),(_0x3f9e61=this['world'])===null||_0x3f9e61===void 0?void 0:_0x3f9e61['viewport'][_0x287211(0xc7)]();}[_0x1f3604(0x114)](){const _0x1c34a2=_0x1f3604;if(!this['obj'])throw Error(_0x1c34a2(0xe8));let _0x16c760=new webgpu.Vector3();return this[_0x1c34a2(0xd4)]['getWorldPosition'](_0x16c760),_0x16c760;}['getWorldRotation'](){const _0x164294=_0x1f3604;if(!this[_0x164294(0xd4)])throw Error(_0x164294(0xe8));let _0x12dc66=new webgpu.Quaternion();return this[_0x164294(0xd4)][_0x164294(0xe1)](_0x12dc66),new webgpu.Euler()['setFromQuaternion'](_0x12dc66);}[_0x1f3604(0xe1)](){const _0x50e687=_0x1f3604;if(!this[_0x50e687(0xd4)])throw Error(_0x50e687(0xe8));let _0x259994=new webgpu.Quaternion();return this['obj'][_0x50e687(0xe1)](_0x259994),_0x259994;}['getWorldScale'](){const _0x5038f1=_0x1f3604;if(!this[_0x5038f1(0xd4)])throw Error(_0x5038f1(0xe8));let _0x3fd092=new webgpu.Vector3();return this['obj'][_0x5038f1(0x105)](_0x3fd092),_0x3fd092;}[_0x1f3604(0xd9)](){const _0x467b50=_0x1f3604;if(!this[_0x467b50(0xd4)])throw Error(_0x467b50(0xe8));return this[_0x467b50(0xd4)][_0x467b50(0xec)](!![]),this[_0x467b50(0xd4)][_0x467b50(0xc6)][_0x467b50(0xe6)]();}[_0x1f3604(0x10a)](_0x277e08){const _0x31c472=_0x1f3604;if(!this['obj'])throw Error(_0x31c472(0xe8));if(this[_0x31c472(0xd4)][_0x31c472(0x11e)]){this['obj'][_0x31c472(0x11e)][_0x31c472(0xec)](!![]);const _0xf377a7=this[_0x31c472(0xd4)]['parent'][_0x31c472(0xc6)]['clone']()['invert'](),_0x48a1d2=new webgpu.Matrix4()[_0x31c472(0x107)](_0xf377a7,_0x277e08);this[_0x31c472(0xd6)](_0x48a1d2);}else this[_0x31c472(0xd6)](_0x277e08);this[_0x31c472(0xd4)]['updateMatrixWorld'](!![]),this['world']&&this['world'][_0x31c472(0xef)][_0x31c472(0xc7)]();}['getWorldForwardDirection'](){const _0x3a211c=_0x1f3604;if(!this[_0x3a211c(0xd4)])throw Error(_0x3a211c(0xe8));let _0x1685c0=new webgpu.Vector3();return this[_0x3a211c(0xd4)][_0x3a211c(0xd3)](_0x1685c0),_0x1685c0;}[_0x1f3604(0xed)](){const _0x310484=_0x1f3604;if(!this['obj'])throw Error(_0x310484(0xe8));let _0x45a9f2=new webgpu.Vector3(0x0,0x1,0x0);return _0x45a9f2[_0x310484(0xc1)](this[_0x310484(0xe1)]()),_0x45a9f2;}[_0x1f3604(0x108)](){const _0x3d605e=_0x1f3604;if(!this[_0x3d605e(0xd4)])throw Error(_0x3d605e(0xe8));let _0x2d7c34=new webgpu.Vector3(0x1,0x0,0x0);return _0x2d7c34[_0x3d605e(0xc1)](this['getWorldQuaternion']()),_0x2d7c34;}[_0x1f3604(0x104)](_0x5323f1){const _0x1aeb82=_0x1f3604;if(!this['obj'])throw Error(_0x1aeb82(0xe8));return this[_0x1aeb82(0xd4)]['worldToLocal'](_0x5323f1);}[_0x1f3604(0x123)](_0x425dac){const _0x5a03fe=_0x1f3604;if(!this[_0x5a03fe(0xd4)])throw Error(_0x5a03fe(0xe8));return this[_0x5a03fe(0xd4)][_0x5a03fe(0x123)](_0x425dac);}[_0x1f3604(0x12a)](_0x1352c7){const _0x548421=_0x1f3604;if(!this[_0x548421(0xd4)])throw Error('threeObject\x20is\x20invalid');if(!_0x1352c7[_0x548421(0xcc)])throw Error(_0x548421(0xc3));this[_0x548421(0xd4)][_0x548421(0x126)](_0x1352c7['threeObject']),this['world']&&_0x1352c7[_0x548421(0xe5)](this[_0x548421(0xbb)]);}['detachComponent'](_0x3ca1c1){const _0x34eabc=_0x1f3604;if(!this['obj'])throw Error(_0x34eabc(0xe8));if(!_0x3ca1c1[_0x34eabc(0xcc)])throw Error(_0x34eabc(0x116));this[_0x34eabc(0xd4)][_0x34eabc(0xe9)](_0x3ca1c1[_0x34eabc(0xcc)]);}['addChildComponent'](_0x499a1d,_0x4d9e4f=exports.AttachmentRules[_0x1f3604(0x118)]){const _0x128af1=_0x1f3604;if(!this[_0x128af1(0xd4)])throw Error(_0x128af1(0xe8));if(!_0x499a1d[_0x128af1(0xcc)])throw Error(_0x128af1(0xc3));_0x499a1d[_0x128af1(0x11d)]=this[_0x128af1(0x11d)];if(_0x4d9e4f===exports.AttachmentRules[_0x128af1(0x122)]){let _0x5bc992=_0x499a1d[_0x128af1(0xd9)]();this['obj']['add'](_0x499a1d[_0x128af1(0xcc)]),_0x499a1d[_0x128af1(0x10a)](_0x5bc992);}else this[_0x128af1(0xd4)][_0x128af1(0x126)](_0x499a1d[_0x128af1(0xcc)]);this[_0x128af1(0xbb)]&&_0x499a1d['onAddedToWorld'](this['world']),this['obj'][_0x128af1(0x128)](),this[_0x128af1(0xd4)][_0x128af1(0xec)](!![]);}['removeChildComponent'](_0x34b37f){const _0x2667e9=_0x1f3604;if(!this[_0x2667e9(0xd4)])throw Error('threeObject\x20is\x20invalid');if(!_0x34b37f[_0x2667e9(0xcc)])throw Error(_0x2667e9(0xe2));this[_0x2667e9(0xd4)]['remove'](_0x34b37f[_0x2667e9(0xcc)]);}[_0x1f3604(0x129)](){const _0x28e5e0=_0x1f3604;this[_0x28e5e0(0xd8)]&&this[_0x28e5e0(0xd8)]['removeChildComponent'](this);}[_0x1f3604(0x111)](){const _0xaabe89=_0x1f3604;this[_0xaabe89(0x11d)]&&(this[_0xaabe89(0x11d)]=null);}[_0x1f3604(0xce)](){const _0x97c867=_0x1f3604;var _0x180149;if(!this[_0x97c867(0xd4)])return;let _0x1484cd=[];for(let _0x2d8086=0x0;_0x2d8086<this[_0x97c867(0xd4)][_0x97c867(0x113)][_0x97c867(0xbd)];++_0x2d8086){let _0x243224=(_0x180149=this[_0x97c867(0xd4)][_0x97c867(0x113)][_0x2d8086]['userData'])===null||_0x180149===void 0?void 0:_0x180149[_0x97c867(0x110)];_0x243224&&_0x1484cd[_0x97c867(0xbe)](_0x243224);}_0x1484cd[_0x97c867(0xc8)](_0x106fc7=>{const _0x16992e=_0x97c867;_0x106fc7[_0x16992e(0x12b)]();}),_0x1484cd=[];}set[_0x1f3604(0x11a)](_0x22e48a){const _0x5a93ad=_0x1f3604;this[_0x5a93ad(0xbf)]=_0x22e48a;let _0xf574a2=this[_0x5a93ad(0x11f)];for(let _0x14ac96=0x0;_0x14ac96<_0xf574a2[_0x5a93ad(0xbd)];++_0x14ac96){_0xf574a2[_0x14ac96]['isHoverEnabled']=this[_0x5a93ad(0xbf)];}}get[_0x1f3604(0x11a)](){const _0x4e3c67=_0x1f3604;return this[_0x4e3c67(0xbf)];}set[_0x1f3604(0x125)](_0x5580c0){const _0x548bff=_0x1f3604;this[_0x548bff(0x101)]=_0x5580c0;let _0x3d1e96=this[_0x548bff(0x11f)];for(let _0x51533b=0x0;_0x51533b<_0x3d1e96[_0x548bff(0xbd)];++_0x51533b){_0x3d1e96[_0x51533b][_0x548bff(0x125)]=this['bCanClick'];}}get['isClickEnabled'](){return this['bCanClick'];}[_0x1f3604(0xc9)](){const _0x1b6b14=_0x1f3604;this['_onHoverBeginDelegate'][_0x1b6b14(0x119)]();}[_0x1f3604(0xfc)](){this['_onHoverEndDelegate']['broadcast']();}['onClicked'](){const _0x2fe927=_0x1f3604;this['_onClickDelegate'][_0x2fe927(0x119)]();}['onDoubleClicked'](){const _0xc80bbc=_0x1f3604;this[_0xc80bbc(0x106)][_0xc80bbc(0x119)]();}}
|
|
41
41
|
|
|
42
|
-
const
|
|
42
|
+
function _0x310a(){const _0x418467=['castShadow','getValue','materialPtr','material','assetManager','_materialPtr','1093025qHGkRo','geometryPtr\x20is\x20null','getBounds','3hlafPs','min','isArray','receiveShadow','destroyObject','addMaterialAsset','7916562TLJtlX','max','removeFromParent','push','89280rcjWaD','length','addGeometryAsset','threeObject\x20is\x20null','forEach','706236DFsnnW','545682uVWzDC','obj','geometryPtr','getBoundsTopCenterPosition','7iusouD','2725888KOGhJH','geometry','getCenter','threeObject','addRef','userData','release','_geometryPtr','119636rsFaXp','app'];_0x310a=function(){return _0x418467;};return _0x310a();}const _0x16b11a=_0x2f17;function _0x2f17(_0x592aab,_0x5ee4ab){_0x592aab=_0x592aab-0x191;const _0x310a24=_0x310a();let _0x2f17c7=_0x310a24[_0x592aab];return _0x2f17c7;}(function(_0x314e65,_0x227706){const _0x1493f7=_0x2f17,_0x20125a=_0x314e65();while(!![]){try{const _0x46eb07=-parseInt(_0x1493f7(0x19b))/0x1*(parseInt(_0x1493f7(0x1b8))/0x2)+-parseInt(_0x1493f7(0x1aa))/0x3+parseInt(_0x1493f7(0x1a5))/0x4+parseInt(_0x1493f7(0x198))/0x5+parseInt(_0x1493f7(0x1ab))/0x6*(-parseInt(_0x1493f7(0x1af))/0x7)+-parseInt(_0x1493f7(0x1b0))/0x8+parseInt(_0x1493f7(0x1a1))/0x9;if(_0x46eb07===_0x227706)break;else _0x20125a['push'](_0x20125a['shift']());}catch(_0x4c7a2b){_0x20125a['push'](_0x20125a['shift']());}}}(_0x310a,0x42e4a));class MeshComponent extends SceneComponent{get['threeObject'](){const _0x331e5d=_0x2f17;if(!this[_0x331e5d(0x1ac)])throw new Error(_0x331e5d(0x1a8));return this[_0x331e5d(0x1ac)];}set[_0x16b11a(0x1b3)](_0x3cacd2){const _0x39e24a=_0x16b11a;this[_0x39e24a(0x1ac)]=_0x3cacd2,this[_0x39e24a(0x1ac)]&&(this['obj'][_0x39e24a(0x1b5)]['LYObject']=this);}get[_0x16b11a(0x1b1)](){const _0x1670ee=_0x16b11a;if(!this[_0x1670ee(0x1b7)])throw new Error(_0x1670ee(0x199));return this[_0x1670ee(0x1b7)][_0x1670ee(0x193)]();}set[_0x16b11a(0x1b1)](_0x1324df){const _0x57ceab=_0x16b11a;let _0x20dcc9=this[_0x57ceab(0x191)]['assetManager'][_0x57ceab(0x1a7)](_0x1324df);this[_0x57ceab(0x1ad)]=_0x20dcc9;}get[_0x16b11a(0x1ad)](){const _0x260e77=_0x16b11a;if(!this[_0x260e77(0x1b7)])throw new Error(_0x260e77(0x199));return this['_geometryPtr'];}set[_0x16b11a(0x1ad)](_0x4c69be){const _0x5d4f89=_0x16b11a;this[_0x5d4f89(0x1b7)]&&(this[_0x5d4f89(0x1b7)][_0x5d4f89(0x1b6)](),this['_geometryPtr']=null);this['_geometryPtr']=_0x4c69be;let _0x1445ae=_0x4c69be['getValue']();this[_0x5d4f89(0x1b3)]&&_0x1445ae&&(this[_0x5d4f89(0x1b3)][_0x5d4f89(0x1b1)]=_0x1445ae);}get[_0x16b11a(0x195)](){const _0x1ce457=_0x16b11a;let _0xa994f0=[];return this[_0x1ce457(0x197)][_0x1ce457(0x1a9)](_0x2a6f6f=>{const _0x5a7308=_0x1ce457;let _0x326272=_0x2a6f6f[_0x5a7308(0x193)]();if(_0x326272)_0xa994f0[_0x5a7308(0x1a4)](_0x326272);}),_0xa994f0['length']>0x1?_0xa994f0:_0xa994f0[0x0];}get[_0x16b11a(0x194)](){const _0x19a685=_0x16b11a;return this[_0x19a685(0x194)];}set[_0x16b11a(0x195)](_0x18bd07){const _0x2997fb=_0x16b11a;let _0x28a375=Array['isArray'](_0x18bd07)?_0x18bd07:[_0x18bd07],_0x4c7e3c=[];_0x28a375['forEach'](_0xf7df0f=>{const _0x93393=_0x2f17;let _0x391af4=this[_0x93393(0x191)]['assetManager'][_0x93393(0x1a0)](_0xf7df0f);if(_0x391af4)_0x4c7e3c[_0x93393(0x1a4)](_0x391af4);}),this[_0x2997fb(0x194)]=_0x4c7e3c;}set[_0x16b11a(0x194)](_0x498780){const _0x4fff4c=_0x16b11a;this[_0x4fff4c(0x197)]&&(this[_0x4fff4c(0x197)][_0x4fff4c(0x1a9)](_0x3e6e55=>{const _0x5f0e99=_0x4fff4c;_0x3e6e55[_0x5f0e99(0x1b6)]();}),this['_materialPtr']=[]);let _0x4c0d4d=Array['isArray'](_0x498780)?_0x498780:[_0x498780],_0x472875=[];_0x4c0d4d[_0x4fff4c(0x1a9)](_0x3aef65=>{const _0x202898=_0x4fff4c;let _0xa0f9e9=_0x3aef65[_0x202898(0x193)]();if(_0xa0f9e9)_0x472875[_0x202898(0x1a4)](_0xa0f9e9);_0x3aef65[_0x202898(0x1b4)]();});if(this['threeObject']){if(_0x472875[_0x4fff4c(0x1a6)]>0x0)this[_0x4fff4c(0x1b3)]['material']=Array[_0x4fff4c(0x19d)](_0x498780)?_0x472875[0x0]:_0x472875;}this['_materialPtr']=_0x4c0d4d;}constructor(_0x4796f8,_0x52a0f6,_0x4a38e0,_0x228e75){const _0x4a97b4=_0x16b11a;let _0xcf315e=[],_0xb22071=Array['isArray'](_0x4a38e0)?_0x4a38e0:[_0x4a38e0];_0xb22071[_0x4a97b4(0x1a9)](_0x4f3b01=>{const _0x4c5f97=_0x4a97b4;let _0x5533ad=_0x4796f8['assetManager'][_0x4c5f97(0x1a0)](_0x4f3b01);if(_0x5533ad)_0xcf315e[_0x4c5f97(0x1a4)](_0x5533ad);}),super(_0x4796f8,_0x228e75),this[_0x4a97b4(0x1b7)]=_0x4796f8[_0x4a97b4(0x196)]['addGeometryAsset'](_0x52a0f6),this[_0x4a97b4(0x197)]=_0xcf315e,_0xcf315e[_0x4a97b4(0x1a9)](_0x11f350=>{const _0x6067b0=_0x4a97b4;_0x11f350[_0x6067b0(0x1b4)]();}),this[_0x4a97b4(0x1b3)][_0x4a97b4(0x195)]=_0x4a38e0,this[_0x4a97b4(0x1b3)][_0x4a97b4(0x1b1)]=_0x52a0f6,this['castShadow']=!![],this[_0x4a97b4(0x19e)]=!![];}['createDefaultObject'](){return new webgpu.Mesh();}set['castShadow'](_0x3bfd4a){const _0x5df373=_0x16b11a;if(this[_0x5df373(0x1b3)])this[_0x5df373(0x1b3)]['castShadow']=_0x3bfd4a;}get[_0x16b11a(0x192)](){const _0x3e1e64=_0x16b11a;return this['threeObject']?this[_0x3e1e64(0x1b3)]['castShadow']:![];}set['receiveShadow'](_0x191b97){const _0x1d7358=_0x16b11a;if(!this[_0x1d7358(0x1b3)])return;this[_0x1d7358(0x1b3)][_0x1d7358(0x19e)]=_0x191b97;}get[_0x16b11a(0x19e)](){const _0x1db3b2=_0x16b11a;return this[_0x1db3b2(0x1b3)]?this[_0x1db3b2(0x1b3)][_0x1db3b2(0x19e)]:![];}['getBoundsCenterPosition'](){const _0x27486f=_0x16b11a;let _0x2ea2b6=new webgpu.Vector3();return this[_0x27486f(0x19a)]()[_0x27486f(0x1b2)](_0x2ea2b6),_0x2ea2b6;}[_0x16b11a(0x1ae)](){const _0x355456=_0x16b11a;let _0x3260ed=new webgpu.Vector3(),_0x28ec96=this['getBounds']();return _0x28ec96[_0x355456(0x1b2)](_0x3260ed),_0x3260ed['y']=_0x28ec96[_0x355456(0x1a2)]['y'],_0x3260ed;}['getBoundsBottomCenterPosition'](){const _0xa931f2=_0x16b11a;let _0xd50e8f=new webgpu.Vector3(),_0x526cf6=this[_0xa931f2(0x19a)]();return _0x526cf6[_0xa931f2(0x1b2)](_0xd50e8f),_0xd50e8f['y']=_0x526cf6[_0xa931f2(0x19c)]['y'],_0xd50e8f;}[_0x16b11a(0x19f)](){const _0x4b4cc3=_0x16b11a;var _0x38955a;this['threeObject']&&this[_0x4b4cc3(0x1b3)][_0x4b4cc3(0x1a3)]();(_0x38955a=this[_0x4b4cc3(0x1b7)])===null||_0x38955a===void 0?void 0:_0x38955a[_0x4b4cc3(0x1b6)]();let _0x2355fb=Array['isArray'](this[_0x4b4cc3(0x197)])?this[_0x4b4cc3(0x197)]:[this[_0x4b4cc3(0x197)]];_0x2355fb[_0x4b4cc3(0x1a9)](_0x3dd7ab=>{const _0x3edece=_0x4b4cc3;_0x3dd7ab[_0x3edece(0x1b6)]();}),super[_0x4b4cc3(0x19f)]();}}
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
function _0x2097(){const _0x163163=['7449042RALkIQ','_materialPtr','obj','userData','updateMatrices','count','56bkerob','length','castShadow','receiveShadow','addGeometryAsset','removeFromParent','getValue','2628267AvKkgg','material','forEach','min','558212EAPfhC','3290721bveLsa','setMatrixAt','addMaterialAsset','490570ytwGpn','_geometryPtr','createDefaultObject','7454000MUbkYF','destroyObject','needsUpdate','push','release','9qSmRqz','2pMOvjg','geometry','getMatrixAt','addRef','isArray','dispose','threeObject','instanceMatrix','12856016WnBAwb'];_0x2097=function(){return _0x163163;};return _0x2097();}function _0x24bc(_0x147bc5,_0x2fffd7){_0x147bc5=_0x147bc5-0x9a;const _0x20979d=_0x2097();let _0x24bcbe=_0x20979d[_0x147bc5];return _0x24bcbe;}const _0x1bec1e=_0x24bc;(function(_0x100a89,_0x458efa){const _0x31a511=_0x24bc,_0x4c720d=_0x100a89();while(!![]){try{const _0x11cc39=-parseInt(_0x31a511(0x9b))/0x1+parseInt(_0x31a511(0xa8))/0x2*(parseInt(_0x31a511(0xbe))/0x3)+-parseInt(_0x31a511(0xb7))/0x4*(-parseInt(_0x31a511(0x9f))/0x5)+-parseInt(_0x31a511(0xb1))/0x6+-parseInt(_0x31a511(0x9c))/0x7+parseInt(_0x31a511(0xb0))/0x8*(parseInt(_0x31a511(0xa7))/0x9)+-parseInt(_0x31a511(0xa2))/0xa;if(_0x11cc39===_0x458efa)break;else _0x4c720d['push'](_0x4c720d['shift']());}catch(_0x4cead8){_0x4c720d['push'](_0x4c720d['shift']());}}}(_0x2097,0xcd6f9));class InstanceMeshComponent extends SceneComponent{get[_0x1bec1e(0xae)](){const _0x2b81fd=_0x1bec1e;if(!this[_0x2b81fd(0xb3)])throw new Error('InstanceMeshComponent:\x20threeObject\x20is\x20null');return this['obj'];}set[_0x1bec1e(0xae)](_0x556258){const _0x40cb4a=_0x1bec1e;this['obj']=_0x556258,this[_0x40cb4a(0xb3)]&&(this[_0x40cb4a(0xb3)][_0x40cb4a(0xb4)]['LYObject']=this);}get['geometry'](){const _0x45b321=_0x1bec1e;var _0xf7f5e1,_0x41ec67;return (_0x41ec67=(_0xf7f5e1=this[_0x45b321(0xa0)])===null||_0xf7f5e1===void 0?void 0:_0xf7f5e1[_0x45b321(0xbd)]())!==null&&_0x41ec67!==void 0?_0x41ec67:null;}get[_0x1bec1e(0xbf)](){const _0x71b54a=_0x1bec1e,_0x3b0969=[];return this[_0x71b54a(0xb2)][_0x71b54a(0xc0)](_0x348241=>{const _0x1f2226=_0x71b54a,_0x42b604=_0x348241[_0x1f2226(0xbd)]();if(_0x42b604)_0x3b0969[_0x1f2226(0xa5)](_0x42b604);}),_0x3b0969[_0x71b54a(0xb8)]>0x1?_0x3b0969:_0x3b0969[0x0];}get[_0x1bec1e(0xb6)](){const _0x21d3a6=_0x1bec1e;return this[_0x21d3a6(0xae)][_0x21d3a6(0xb6)];}set[_0x1bec1e(0xb6)](_0xeb01f1){const _0x12fa19=_0x1bec1e;this[_0x12fa19(0xae)][_0x12fa19(0xb6)]=_0xeb01f1;}set[_0x1bec1e(0xb9)](_0x26858a){const _0x10c052=_0x1bec1e;if(this[_0x10c052(0xae)])this['threeObject'][_0x10c052(0xb9)]=_0x26858a;}get['castShadow'](){const _0x2d949b=_0x1bec1e;return this['threeObject']?this[_0x2d949b(0xae)][_0x2d949b(0xb9)]:![];}set[_0x1bec1e(0xba)](_0x39c8ac){const _0x147e3a=_0x1bec1e;if(!this[_0x147e3a(0xae)])return;this['threeObject'][_0x147e3a(0xba)]=_0x39c8ac;}get[_0x1bec1e(0xba)](){const _0x15e511=_0x1bec1e;return this['threeObject']?this['threeObject'][_0x15e511(0xba)]:![];}constructor(_0x3cbe9b,_0x3d1d03,_0x32bbda){const _0x29038e=_0x1bec1e;super(_0x3cbe9b,_0x32bbda),this[_0x29038e(0xa0)]=null,this[_0x29038e(0xb2)]=[];_0x3d1d03[_0x29038e(0xa9)]&&(this[_0x29038e(0xa0)]=_0x3cbe9b['assetManager'][_0x29038e(0xbb)](_0x3d1d03[_0x29038e(0xa9)]));const _0x228165=Array[_0x29038e(0xac)](_0x3d1d03[_0x29038e(0xbf)])?_0x3d1d03[_0x29038e(0xbf)]:[_0x3d1d03['material']];_0x228165[_0x29038e(0xc0)](_0x1bc5ef=>{const _0xc7887a=_0x29038e,_0x1b1f8e=_0x3cbe9b['assetManager'][_0xc7887a(0x9e)](_0x1bc5ef);_0x1b1f8e&&(_0x1b1f8e[_0xc7887a(0xab)](),this[_0xc7887a(0xb2)][_0xc7887a(0xa5)](_0x1b1f8e));}),this[_0x29038e(0xae)]=_0x3d1d03,this[_0x29038e(0xb9)]=!![],this['receiveShadow']=!![];}[_0x1bec1e(0xa1)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}['getMatrixAt'](_0x171dca,_0x1a919f){const _0x251763=_0x1bec1e;this[_0x251763(0xae)][_0x251763(0xaa)](_0x171dca,_0x1a919f);}[_0x1bec1e(0x9d)](_0xab3910,_0x3a721b){const _0x3a305f=_0x1bec1e;this[_0x3a305f(0xae)][_0x3a305f(0x9d)](_0xab3910,_0x3a721b),this[_0x3a305f(0xae)][_0x3a305f(0xaf)][_0x3a305f(0xa4)]=!![];}[_0x1bec1e(0xb5)](_0x37c2d9){const _0x22dd7d=_0x1bec1e,_0x1cb54b=Math[_0x22dd7d(0x9a)](_0x37c2d9['length'],this[_0x22dd7d(0xae)]['count']);for(let _0x2e0879=0x0;_0x2e0879<_0x1cb54b;_0x2e0879++){this[_0x22dd7d(0xae)][_0x22dd7d(0x9d)](_0x2e0879,_0x37c2d9[_0x2e0879]);}this[_0x22dd7d(0xae)]['instanceMatrix']['needsUpdate']=!![];}[_0x1bec1e(0xa3)](){const _0x23ea93=_0x1bec1e;var _0x5bf09f;this['threeObject']&&(this[_0x23ea93(0xae)][_0x23ea93(0xbc)](),this[_0x23ea93(0xae)][_0x23ea93(0xad)]()),(_0x5bf09f=this['_geometryPtr'])===null||_0x5bf09f===void 0?void 0:_0x5bf09f[_0x23ea93(0xa6)](),this[_0x23ea93(0xa0)]=null,this[_0x23ea93(0xb2)]['forEach'](_0x595b69=>{_0x595b69['release']();}),this['_materialPtr']=[],super['destroyObject']();}}
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _0x196ce3=_0x3dac;function _0x53b5(){var _0x1780e0=['14waUhOi','getValue','453742YIbJOo','8412715pUrLEv','1322064RRACda','release','dispose','136596pbSRQG','15489108LxdzMF','49mszmsQ','forceRelease','value','referenceCount','20976oTuInl','7467738hByaUl'];_0x53b5=function(){return _0x1780e0;};return _0x53b5();}function _0x3dac(_0x4304d4,_0xea69ef){_0x4304d4=_0x4304d4-0x1bc;var _0x53b51c=_0x53b5();var _0x3dac6d=_0x53b51c[_0x4304d4];return _0x3dac6d;}(function(_0x6c5210,_0x4309c7){var _0x1f1a75=_0x3dac,_0x184091=_0x6c5210();while(!![]){try{var _0x5a24e0=-parseInt(_0x1f1a75(0x1c6))/0x1+parseInt(_0x1f1a75(0x1c4))/0x2*(parseInt(_0x1f1a75(0x1bc))/0x3)+parseInt(_0x1f1a75(0x1c2))/0x4+parseInt(_0x1f1a75(0x1c7))/0x5+-parseInt(_0x1f1a75(0x1c3))/0x6+-parseInt(_0x1f1a75(0x1be))/0x7*(parseInt(_0x1f1a75(0x1c8))/0x8)+parseInt(_0x1f1a75(0x1bd))/0x9;if(_0x5a24e0===_0x4309c7)break;else _0x184091['push'](_0x184091['shift']());}catch(_0x3df788){_0x184091['push'](_0x184091['shift']());}}}(_0x53b5,0xd4fa0));class TSmartPointer{constructor(_0x577e6c,_0x14f2ea=0x1){var _0x431ac3=_0x3dac;this[_0x431ac3(0x1c1)]=0x1,this['value']=null,this['value']=_0x577e6c,this[_0x431ac3(0x1c1)]=_0x14f2ea;}['getRefCount'](){var _0x535f24=_0x3dac;return this[_0x535f24(0x1c1)];}['isValid'](){var _0x200353=_0x3dac;return this[_0x200353(0x1c0)]!==null;}['addRef'](_0x2b98f4=0x1){this['value']!==null&&(this['referenceCount']+=_0x2b98f4);}[_0x196ce3(0x1c9)](){var _0x35de28=_0x196ce3;this['value']!==null&&this['referenceCount']>0x0&&(this[_0x35de28(0x1c1)]--,this[_0x35de28(0x1c1)]===0x0&&this[_0x35de28(0x1ca)]());}[_0x196ce3(0x1bf)](){var _0x254ec9=_0x196ce3;this[_0x254ec9(0x1c0)]!==null&&(this[_0x254ec9(0x1ca)](),this['referenceCount']=0x0);}[_0x196ce3(0x1ca)](){var _0x4ad9f5=_0x196ce3;this[_0x4ad9f5(0x1c0)]=null;}[_0x196ce3(0x1c5)](){return this['value'];}}
|
|
47
47
|
|
|
48
|
-
const
|
|
48
|
+
function _0x137d(_0x37f050,_0x2de152){_0x37f050=_0x37f050-0x8f;const _0x4cb333=_0x4cb3();let _0x137db8=_0x4cb333[_0x37f050];return _0x137db8;}function _0x4cb3(){const _0x5b8e46=['170185wztnfb','value','3wMvelj','userData','dispose','uuid','250523NCRCvw','18kcbLNI','1206408loaiZP','2278656cqZhIJ','_uuid','function','1355108XsSnvB','53698Tnyiye','2647421KfSFbz'];_0x4cb3=function(){return _0x5b8e46;};return _0x4cb3();}const _0x120704=_0x137d;(function(_0x14741b,_0x152e94){const _0x30f6b4=_0x137d,_0x31a037=_0x14741b();while(!![]){try{const _0xb2012f=-parseInt(_0x30f6b4(0x8f))/0x1+parseInt(_0x30f6b4(0x96))/0x2*(parseInt(_0x30f6b4(0x9a))/0x3)+parseInt(_0x30f6b4(0x95))/0x4+-parseInt(_0x30f6b4(0x98))/0x5*(-parseInt(_0x30f6b4(0x90))/0x6)+parseInt(_0x30f6b4(0x97))/0x7+-parseInt(_0x30f6b4(0x91))/0x8+-parseInt(_0x30f6b4(0x92))/0x9;if(_0xb2012f===_0x152e94)break;else _0x31a037['push'](_0x31a037['shift']());}catch(_0x877dde){_0x31a037['push'](_0x31a037['shift']());}}}(_0x4cb3,0x2ebc8));const ASSET_POINTER_KEY='assetPointer';const EDITOR_ASSET_ID_KEY='editorAssetId';class TAssetPointer extends TSmartPointer{get[_0x120704(0x9d)](){const _0x534ac2=_0x120704;return this[_0x534ac2(0x93)];}constructor(_0x4fec3f,_0x215ecb=0x0){const _0x5c20f6=_0x120704;super(_0x4fec3f,_0x215ecb),this[_0x5c20f6(0x93)]=_0x4fec3f[_0x5c20f6(0x9d)],_0x4fec3f['userData'][ASSET_POINTER_KEY]=this;}[_0x120704(0x9c)](){const _0x24b795=_0x120704;this[_0x24b795(0x99)]&&(this[_0x24b795(0x99)][_0x24b795(0x9b)]&&(delete this[_0x24b795(0x99)][_0x24b795(0x9b)][ASSET_POINTER_KEY],delete this[_0x24b795(0x99)][_0x24b795(0x9b)][EDITOR_ASSET_ID_KEY]),typeof this[_0x24b795(0x99)][_0x24b795(0x9c)]===_0x24b795(0x94)&&this[_0x24b795(0x99)]['dispose']()),super[_0x24b795(0x9c)]();}}
|
|
49
49
|
|
|
50
|
-
function
|
|
50
|
+
const _0x2cb869=_0x2c71;function _0x2c71(_0x11a6ea,_0x153654){_0x11a6ea=_0x11a6ea-0x101;const _0x3b9026=_0x3b90();let _0x2c71c4=_0x3b9026[_0x11a6ea];return _0x2c71c4;}function _0x3b90(){const _0x34c0a7=['setTexture','120354cUZkNN','1032636jNxHJO','1301909pkUtxl','set','5dndUsZ','needsUpdate','get','1303465fwgBgb','47282ApjONb','getValue','addRef','removeTexture','textures','delete','release','Texture\x20is\x20null','321501zeIRmF','Material\x20is\x20null','dispose','4299896LXOXrc','texturePointers','values'];_0x3b90=function(){return _0x34c0a7;};return _0x3b90();}(function(_0x1aab83,_0x428781){const _0x53f879=_0x2c71,_0x117739=_0x1aab83();while(!![]){try{const _0x81a93f=parseInt(_0x53f879(0x101))/0x1*(-parseInt(_0x53f879(0x105))/0x2)+parseInt(_0x53f879(0x10d))/0x3+parseInt(_0x53f879(0x115))/0x4+parseInt(_0x53f879(0x104))/0x5+-parseInt(_0x53f879(0x114))/0x6+parseInt(_0x53f879(0x116))/0x7+-parseInt(_0x53f879(0x110))/0x8;if(_0x81a93f===_0x428781)break;else _0x117739['push'](_0x117739['shift']());}catch(_0x1e12f6){_0x117739['push'](_0x117739['shift']());}}}(_0x3b90,0x2143f));class MaterialAssetPointer extends TAssetPointer{constructor(_0x5d0311,_0x2bcfb1,_0x4e6610=0x0){const _0xee1724=_0x2c71;super(_0x5d0311,_0x4e6610),this[_0xee1724(0x109)]=_0x2bcfb1;}get[_0x2cb869(0x111)](){const _0x50b2f2=_0x2cb869;return this[_0x50b2f2(0x109)];}[_0x2cb869(0x113)](_0x487371,_0x3f359e){const _0x1815f9=_0x2cb869,_0x5657c7=this[_0x1815f9(0x106)](),_0x271df0=_0x3f359e[_0x1815f9(0x106)]();if(!_0x271df0)throw new Error(_0x1815f9(0x10c));if(!_0x5657c7)throw new Error(_0x1815f9(0x10e));const _0x3087ee=this[_0x1815f9(0x109)][_0x1815f9(0x103)](_0x487371);_0x3087ee!==_0x3f359e&&(_0x3087ee&&_0x3087ee['release'](),this[_0x1815f9(0x109)][_0x1815f9(0x117)](_0x487371,_0x3f359e),_0x5657c7[_0x487371]=_0x271df0,_0x3f359e[_0x1815f9(0x107)](),_0x5657c7['needsUpdate']=!![]);}[_0x2cb869(0x108)](_0x218394){const _0x13ee21=_0x2cb869,_0x280df1=this[_0x13ee21(0x106)](),_0x521c47=this['textures']['get'](_0x218394);_0x521c47&&(_0x521c47['release'](),this[_0x13ee21(0x109)][_0x13ee21(0x10a)](_0x218394),_0x280df1&&(_0x280df1[_0x218394]=null,_0x280df1[_0x13ee21(0x102)]=!![]));}[_0x2cb869(0x10f)](){const _0x58aa88=_0x2cb869;for(const _0x4992ee of this[_0x58aa88(0x109)][_0x58aa88(0x112)]()){_0x4992ee[_0x58aa88(0x10b)]();}this[_0x58aa88(0x109)]['clear'](),super[_0x58aa88(0x10f)]();}}
|
|
51
51
|
|
|
52
|
-
(function(
|
|
52
|
+
(function(_0x3b5d87,_0x4d2079){var _0x37a401=_0x35a8,_0xcf56b6=_0x3b5d87();while(!![]){try{var _0x172b21=parseInt(_0x37a401(0x76))/0x1+parseInt(_0x37a401(0x78))/0x2*(-parseInt(_0x37a401(0x74))/0x3)+parseInt(_0x37a401(0x79))/0x4+parseInt(_0x37a401(0x75))/0x5+parseInt(_0x37a401(0x7b))/0x6+parseInt(_0x37a401(0x7c))/0x7*(parseInt(_0x37a401(0x77))/0x8)+-parseInt(_0x37a401(0x7a))/0x9;if(_0x172b21===_0x4d2079)break;else _0xcf56b6['push'](_0xcf56b6['shift']());}catch(_0x55a3a4){_0xcf56b6['push'](_0xcf56b6['shift']());}}}(_0x224a,0x94b50));function _0x35a8(_0x436dc0,_0x1278ad){_0x436dc0=_0x436dc0-0x74;var _0x224a5c=_0x224a();var _0x35a831=_0x224a5c[_0x436dc0];return _0x35a831;}class TextureAssetPointer extends TAssetPointer{constructor(_0x551f69,_0x470f9c=0x1){super(_0x551f69,_0x470f9c);}}function _0x224a(){var _0x4d23cd=['21117042kXEemD','6575706LqetLZ','7xCAGDF','1029174zHKnBU','5192545ZsBTNE','819536SvoIcR','548376YBCvaA','4WYFOJO','2476060CPgIeo'];_0x224a=function(){return _0x4d23cd;};return _0x224a();}
|
|
53
53
|
|
|
54
|
-
(function(
|
|
54
|
+
(function(_0x117419,_0x5d2abc){var _0x4791d2=_0x1fc1,_0x1702c8=_0x117419();while(!![]){try{var _0x556b72=-parseInt(_0x4791d2(0x199))/0x1+-parseInt(_0x4791d2(0x19f))/0x2*(parseInt(_0x4791d2(0x19d))/0x3)+-parseInt(_0x4791d2(0x19a))/0x4+-parseInt(_0x4791d2(0x198))/0x5+-parseInt(_0x4791d2(0x19c))/0x6+-parseInt(_0x4791d2(0x1a0))/0x7*(-parseInt(_0x4791d2(0x19e))/0x8)+parseInt(_0x4791d2(0x19b))/0x9;if(_0x556b72===_0x5d2abc)break;else _0x1702c8['push'](_0x1702c8['shift']());}catch(_0x37f79f){_0x1702c8['push'](_0x1702c8['shift']());}}}(_0x20be,0xbd688));function _0x1fc1(_0x44cfa7,_0x20123b){_0x44cfa7=_0x44cfa7-0x198;var _0x20be4d=_0x20be();var _0x1fc121=_0x20be4d[_0x44cfa7];return _0x1fc121;}function _0x20be(){var _0x2a7694=['20962593VzwawG','7151778gmgHrI','3drfuGY','8iYRlcc','793648QeRDNL','8519567PMNtme','1830DbbIKo','225523nCFeGa','3823064kNkUUG'];_0x20be=function(){return _0x2a7694;};return _0x20be();}class GeometryAssetPointer extends TAssetPointer{constructor(_0x1a6594,_0x3a170c=0x1){super(_0x1a6594,_0x3a170c);}}
|
|
55
55
|
|
|
56
|
-
const _0x289310=_0x45a8;function _0x45a8(_0x18f17c,_0x3cc65b){_0x18f17c=_0x18f17c-0xc9;const _0xf61eb=_0xf61e();let _0x45a841=_0xf61eb[_0x18f17c];return _0x45a841;}(function(_0x4334e3,_0x406d64){const _0x488487=_0x45a8,_0x5aa0ed=_0x4334e3();while(!![]){try{const _0xb701a7=-parseInt(_0x488487(0xe3))/0x1*(parseInt(_0x488487(0xfc))/0x2)+-parseInt(_0x488487(0xde))/0x3+-parseInt(_0x488487(0x103))/0x4*(-parseInt(_0x488487(0xd4))/0x5)+-parseInt(_0x488487(0x102))/0x6+parseInt(_0x488487(0xf5))/0x7+-parseInt(_0x488487(0xe0))/0x8+-parseInt(_0x488487(0xdc))/0x9*(-parseInt(_0x488487(0xe1))/0xa);if(_0xb701a7===_0x406d64)break;else _0x5aa0ed['push'](_0x5aa0ed['shift']());}catch(_0x565080){_0x5aa0ed['push'](_0x5aa0ed['shift']());}}}(_0xf61e,0xb7c24));class AssetManager{constructor(_0x1fc720,_0x502379){const _0x34c90b=_0x45a8;this[_0x34c90b(0xd7)]=new Map(),this[_0x34c90b(0xf1)]=new Map(),this['materialAssets']=new Map(),this[_0x34c90b(0xd2)]=new webgpu.LoadingManager(),this[_0x34c90b(0x100)]=new Addons_js.GLTFLoader(this[_0x34c90b(0xd2)]),this[_0x34c90b(0xd8)]=_0x1fc720,this['dracoPath']=_0x502379;}get[_0x289310(0xfe)](){const _0x248213=_0x289310;return this[_0x248213(0xd2)];}get['KTX2Loader'](){const _0x53e390=_0x289310;return AssetManager[_0x53e390(0xce)];}async[_0x289310(0xf0)](){return;}[_0x289310(0x10d)](){const _0x223851=_0x289310;if(!AssetManager[_0x223851(0xff)]){AssetManager[_0x223851(0xff)]=new Addons_js.DRACOLoader();if(AssetManager[_0x223851(0xff)][_0x223851(0xd1)]){const _0x54be70=AssetManager[_0x223851(0xff)][_0x223851(0xd1)];_0x54be70['onStart']=undefined,_0x54be70['onLoad']=undefined,_0x54be70['onProgress']=undefined,_0x54be70[_0x223851(0xfa)]=undefined;}AssetManager[_0x223851(0xff)]['setDecoderPath'](this[_0x223851(0x10c)]),AssetManager['_dracoLoader'][_0x223851(0xe2)]();}}[_0x289310(0x10f)](_0x2ce463,_0x3070da){const _0x2a953d=_0x289310,_0x144e68=_0x3070da['position']['clone'](),_0x3cb7b4=_0x3070da[_0x2a953d(0xdb)][_0x2a953d(0x107)](),_0x1cb498=_0x3070da[_0x2a953d(0xf9)][_0x2a953d(0x107)]();let _0x4086fb=null;const _0x168790=_0x3070da[_0x2a953d(0xf8)];_0x3070da['children']=[];if(_0x3070da[_0x2a953d(0xe8)]===_0x2a953d(0xdf)||_0x3070da['type']===_0x2a953d(0xf4))_0x4086fb=new SceneComponent(this[_0x2a953d(0xd8)],_0x3070da[_0x2a953d(0xeb)]);else {if(_0x3070da[_0x2a953d(0xe6)]){const _0x418ee5=_0x3070da;_0x4086fb=new InstanceMeshComponent(this[_0x2a953d(0xd8)],_0x418ee5,_0x418ee5['uuid']),_0x4086fb['name']=_0x418ee5[_0x2a953d(0xdd)],_0x3070da[_0x2a953d(0xea)][_0x2a953d(0xd0)](0x0);}else {if(_0x3070da['isMesh']){const _0x529eda=_0x3070da;_0x4086fb=new MeshComponent(this[_0x2a953d(0xd8)],_0x529eda['geometry'],_0x529eda['material'],_0x529eda[_0x2a953d(0xeb)]),_0x4086fb[_0x2a953d(0xdd)]=_0x529eda[_0x2a953d(0xdd)],_0x3070da[_0x2a953d(0xea)]['set'](0x0);}else _0x4086fb=new SceneComponent(this[_0x2a953d(0xd8)],_0x3070da[_0x2a953d(0xeb)]);}}if(_0x4086fb===null)return _0x3070da[_0x2a953d(0xf8)]=_0x168790,null;_0x2ce463[_0x2a953d(0x108)](_0x4086fb),_0x4086fb[_0x2a953d(0xe4)](_0x144e68),_0x4086fb['setRotation'](_0x3cb7b4),_0x4086fb[_0x2a953d(0xd6)](_0x1cb498);for(const _0x1e1fdc of _0x168790){this[_0x2a953d(0x10f)](_0x4086fb,_0x1e1fdc);}return _0x4086fb;}['collectResourcesAndReferences'](_0x3817c3){const _0x4ae543=_0x289310,_0x5d9ee5=(_0x49c2ce,_0x4012f2)=>{var _0x1727b6;const _0x5a9d6b=(_0x1727b6=_0x49c2ce['get'](_0x4012f2))!==null&&_0x1727b6!==void 0?_0x1727b6:0x0;_0x49c2ce['set'](_0x4012f2,_0x5a9d6b+0x1);},_0x5e658e={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x3817c3['traverse'](_0x31fdf7=>{const _0x4cdb6d=_0x45a8,_0xcc1cbe=_0x31fdf7;_0xcc1cbe[_0x4cdb6d(0xec)]instanceof webgpu.BufferGeometry&&_0x5d9ee5(_0x5e658e[_0x4cdb6d(0xf6)],_0xcc1cbe['geometry']);if(_0xcc1cbe[_0x4cdb6d(0xd5)]){const _0x1fecea=Array[_0x4cdb6d(0x109)](_0xcc1cbe[_0x4cdb6d(0xd5)])?_0xcc1cbe[_0x4cdb6d(0xd5)]:[_0xcc1cbe[_0x4cdb6d(0xd5)]];_0x1fecea[_0x4cdb6d(0x105)](_0x2fe16b=>{const _0x63a212=_0x4cdb6d;_0x2fe16b&&(_0x5d9ee5(_0x5e658e['materials'],_0x2fe16b),Object[_0x63a212(0xed)](_0x2fe16b)[_0x63a212(0x105)](_0x406208=>{const _0x505d6e=_0x63a212;_0x406208 instanceof webgpu.Texture&&_0x5d9ee5(_0x5e658e[_0x505d6e(0xe5)],_0x406208);}));});}}),_0x5e658e[_0x4ae543(0xf6)][_0x4ae543(0x105)]((_0x335fdb,_0x2ea15a)=>this[_0x4ae543(0x10e)](_0x2ea15a,_0x335fdb)),_0x5e658e[_0x4ae543(0x101)][_0x4ae543(0x105)]((_0x4b4c06,_0x2ea969)=>this[_0x4ae543(0x10e)](_0x2ea969,_0x4b4c06)),_0x5e658e[_0x4ae543(0xe5)][_0x4ae543(0x105)]((_0x4ccaf4,_0x247bc5)=>this['addAsset'](_0x247bc5,_0x4ccaf4));}['checkMeshResource'](_0x444a19){const _0x31a26d=_0x289310;_0x444a19['geometry']&&!_0x444a19[_0x31a26d(0xec)][_0x31a26d(0x10b)]['assetPointer']&&this['addAsset'](_0x444a19[_0x31a26d(0xec)]);if(_0x444a19['material']){const _0x2743d2=Array[_0x31a26d(0x109)](_0x444a19[_0x31a26d(0xd5)])?_0x444a19[_0x31a26d(0xd5)]:[_0x444a19[_0x31a26d(0xd5)]];_0x2743d2[_0x31a26d(0x105)](_0x2049d4=>{const _0x7842ee=_0x31a26d;if(!_0x2049d4)return;!_0x2049d4[_0x7842ee(0x10b)][_0x7842ee(0x10a)]&&this['addAsset'](_0x2049d4),Object['values'](_0x2049d4)['forEach'](_0x3f108f=>{const _0x383c17=_0x7842ee;_0x3f108f instanceof webgpu.Texture&&!_0x3f108f['userData'][_0x383c17(0x10a)]&&this[_0x383c17(0x10e)](_0x3f108f);});});}}async[_0x289310(0xee)](_0x3dcdb9){const _0x3c8181=_0x289310;this[_0x3c8181(0x10d)]();const _0xe70bda=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3c8181(0xff)]&&_0xe70bda[_0x3c8181(0xcc)](AssetManager[_0x3c8181(0xff)]);AssetManager[_0x3c8181(0xce)]&&_0xe70bda[_0x3c8181(0xe7)](AssetManager[_0x3c8181(0xce)]);try{const _0x55a0e9=await _0xe70bda['loadAsync'](_0x3dcdb9);return _0x55a0e9;}catch(_0x399f92){console[_0x3c8181(0xda)](_0x3c8181(0xfb),_0x3dcdb9,_0x399f92);throw _0x399f92;}}[_0x289310(0xc9)](_0x5db99d,_0x23a4f1){const _0x2622e9=_0x289310;this[_0x2622e9(0x10d)]();const _0x4bc594=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x4bc594[_0x2622e9(0xcc)](AssetManager[_0x2622e9(0xff)]),_0x4bc594[_0x2622e9(0xfd)](_0x5db99d,_0x23a4f1);}[_0x289310(0xf2)](_0x4bdad7,_0x2d4d5c,_0x1a79c3){const _0x21e4cc=_0x289310;this[_0x21e4cc(0x10d)]();const _0x1f7de5=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x1f7de5[_0x21e4cc(0xcc)](AssetManager[_0x21e4cc(0xff)]),_0x1f7de5['parse'](_0x4bdad7,_0x2d4d5c,_0x1a79c3);}[_0x289310(0xd9)](_0x26f3e6='',_0x3c1975){const _0x1b8658=_0x289310,_0xf204b0=new webgpu.FileLoader();_0xf204b0[_0x1b8658(0xfd)](_0x26f3e6,_0x3c1975);}['addAsset'](_0x26b093,_0x53c25b=0x0){const _0x5d803d=_0x289310;if(_0x26b093 instanceof webgpu.BufferGeometry)return this[_0x5d803d(0xf3)](_0x26b093,_0x53c25b);if(_0x26b093 instanceof webgpu.Material)return this[_0x5d803d(0xf7)](_0x26b093,_0x53c25b);if(_0x26b093 instanceof webgpu.Texture)return this[_0x5d803d(0xca)](_0x26b093,_0x53c25b);return undefined;}[_0x289310(0xf7)](_0x5ee9e7,_0x4b647c=0x0){const _0x2a7aee=_0x289310;let _0x290fd2=_0x5ee9e7[_0x2a7aee(0x10b)][_0x2a7aee(0x10a)];if(!_0x290fd2){const _0x1e4656=new Map();Object[_0x2a7aee(0x106)](_0x5ee9e7)[_0x2a7aee(0x105)](([_0xf9073d,_0x24c643])=>{const _0x9240eb=_0x2a7aee;if(_0x24c643 instanceof webgpu.Texture){const _0x2a2c46=this[_0x9240eb(0xca)](_0x24c643,0x1);_0x1e4656['set'](_0xf9073d,_0x2a2c46);}}),_0x290fd2=new MaterialAssetPointer(_0x5ee9e7,_0x1e4656,_0x4b647c),this[_0x2a7aee(0xe9)][_0x2a7aee(0xd0)](_0x5ee9e7[_0x2a7aee(0xeb)],_0x290fd2);}else _0x290fd2[_0x2a7aee(0xef)](_0x4b647c);return _0x290fd2;}[_0x289310(0xca)](_0x3b67ac,_0x3254fe=0x0){const _0x41eaf3=_0x289310;let _0x2697b4=_0x3b67ac['userData']['assetPointer'];return !_0x2697b4?(_0x2697b4=new TextureAssetPointer(_0x3b67ac,_0x3254fe),this[_0x41eaf3(0xf1)][_0x41eaf3(0xd0)](_0x3b67ac[_0x41eaf3(0xeb)],_0x2697b4)):_0x2697b4[_0x41eaf3(0xef)](_0x3254fe),_0x2697b4;}[_0x289310(0xf3)](_0x11b1cf,_0x4c8f39=0x0){const _0x27c68d=_0x289310;let _0x4f7297=_0x11b1cf[_0x27c68d(0x10b)][_0x27c68d(0x10a)];return !_0x4f7297?(_0x4f7297=new GeometryAssetPointer(_0x11b1cf,_0x4c8f39),this[_0x27c68d(0xd7)]['set'](_0x11b1cf['uuid'],_0x4f7297)):_0x4f7297[_0x27c68d(0xef)](_0x4c8f39),_0x4f7297;}[_0x289310(0xcd)](_0x292cc0){const _0x2ff187=_0x289310,_0xbf2077=_0x292cc0[_0x2ff187(0x10b)]['assetPointer'];_0xbf2077?_0xbf2077['release']():_0x292cc0['dispose']();}[_0x289310(0xd3)](){const _0x105b52=_0x289310;this[_0x105b52(0x104)](),AssetManager[_0x105b52(0xff)]&&(AssetManager['_dracoLoader'][_0x105b52(0xd3)](),AssetManager[_0x105b52(0xff)]=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x105b52(0xce)][_0x105b52(0xd3)](),AssetManager[_0x105b52(0xce)]=null);}[_0x289310(0x104)](){const _0x2e5495=_0x289310;this[_0x2e5495(0xd7)]['forEach'](_0x469c1a=>_0x469c1a[_0x2e5495(0xcb)]()),this['geometryAssets']['clear'](),this[_0x2e5495(0xe9)][_0x2e5495(0x105)](_0x2ed8eb=>_0x2ed8eb['forceRelease']()),this['materialAssets']['clear'](),this[_0x2e5495(0xf1)][_0x2e5495(0x105)](_0x59c001=>_0x59c001[_0x2e5495(0xcb)]()),this[_0x2e5495(0xf1)][_0x2e5495(0xcf)]();}}AssetManager[_0x289310(0xff)]=null,AssetManager[_0x289310(0xce)]=null;function _0xf61e(){const _0x5e8fd9=['geometryAssets','app','loadFile','error','rotation','441xgSkrh','name','2399586ebEGQb','Group','11365040NZwQJq','610910TCeqcO','preload','71597uVEUDR','setPosition','textures','isInstancedMesh','setKTX2Loader','type','materialAssets','layers','uuid','geometry','values','loadGltfFromPathAsync','addRef','init','textureAssets','loadGltfFromBuffer','addGeometryAsset','Object3D','1344112gvnefF','geometries','addMaterialAsset','children','scale','onError','Failed\x20to\x20load\x20gltf','10mtrWZw','load','LoadingManager','_dracoLoader','gltfLoader','materials','8001978yreSfs','5917364BkVDzl','clearAssets','forEach','entries','clone','addChildComponent','isArray','assetPointer','userData','dracoPath','setupDracoLoader','addAsset','convertThreeObjectToLYObject','loadGltfFromPath','addTextureAsset','forceRelease','setDRACOLoader','releaseAsset','_ktx2Loader','clear','set','manager','loadingManager','dispose','5rpqmiz','material','setScale'];_0xf61e=function(){return _0x5e8fd9;};return _0xf61e();}
|
|
56
|
+
function _0x47c2(_0x5b16cd,_0x4fff5d){_0x5b16cd=_0x5b16cd-0x120;const _0x46812d=_0x4681();let _0x47c224=_0x46812d[_0x5b16cd];return _0x47c224;}const _0x33e736=_0x47c2;(function(_0x4d40d8,_0x589679){const _0x1ea3f6=_0x47c2,_0x4a7202=_0x4d40d8();while(!![]){try{const _0x5763f8=-parseInt(_0x1ea3f6(0x15b))/0x1*(parseInt(_0x1ea3f6(0x159))/0x2)+-parseInt(_0x1ea3f6(0x164))/0x3+-parseInt(_0x1ea3f6(0x13b))/0x4*(-parseInt(_0x1ea3f6(0x155))/0x5)+parseInt(_0x1ea3f6(0x149))/0x6+parseInt(_0x1ea3f6(0x130))/0x7+-parseInt(_0x1ea3f6(0x161))/0x8+parseInt(_0x1ea3f6(0x15d))/0x9;if(_0x5763f8===_0x589679)break;else _0x4a7202['push'](_0x4a7202['shift']());}catch(_0x40e458){_0x4a7202['push'](_0x4a7202['shift']());}}}(_0x4681,0x59561));class AssetManager{constructor(_0x3412c8,_0x2c902f){const _0x28396f=_0x47c2;this[_0x28396f(0x13f)]=new Map(),this['textureAssets']=new Map(),this[_0x28396f(0x134)]=new Map(),this['loadingManager']=new webgpu.LoadingManager(),this[_0x28396f(0x131)]=new Addons_js.GLTFLoader(this['loadingManager']),this[_0x28396f(0x12d)]=_0x3412c8,this[_0x28396f(0x162)]=_0x2c902f;}get[_0x33e736(0x152)](){const _0x554154=_0x33e736;return this[_0x554154(0x16b)];}get['KTX2Loader'](){return AssetManager['_ktx2Loader'];}async['init'](){return;}['setupDracoLoader'](){const _0x3b88cc=_0x33e736;if(!AssetManager['_dracoLoader']){AssetManager[_0x3b88cc(0x167)]=new Addons_js.DRACOLoader();if(AssetManager[_0x3b88cc(0x167)][_0x3b88cc(0x121)]){const _0xc9c81b=AssetManager[_0x3b88cc(0x167)][_0x3b88cc(0x121)];_0xc9c81b[_0x3b88cc(0x151)]=undefined,_0xc9c81b[_0x3b88cc(0x143)]=undefined,_0xc9c81b[_0x3b88cc(0x15f)]=undefined,_0xc9c81b[_0x3b88cc(0x14e)]=undefined;}AssetManager['_dracoLoader'][_0x3b88cc(0x16d)](this['dracoPath']),AssetManager[_0x3b88cc(0x167)][_0x3b88cc(0x13c)]();}}['convertThreeObjectToLYObject'](_0x57472d,_0xae0b45){const _0x2fa414=_0x33e736,_0x31c17b=_0xae0b45[_0x2fa414(0x127)][_0x2fa414(0x153)](),_0xe83ef2=_0xae0b45['rotation'][_0x2fa414(0x153)](),_0x478335=_0xae0b45['scale'][_0x2fa414(0x153)]();let _0x1c96c8=null;const _0x2910cb=_0xae0b45[_0x2fa414(0x12b)];_0xae0b45[_0x2fa414(0x12b)]=[];if(_0xae0b45[_0x2fa414(0x120)]===_0x2fa414(0x158)||_0xae0b45[_0x2fa414(0x120)]===_0x2fa414(0x156))_0x1c96c8=new SceneComponent(this[_0x2fa414(0x12d)],_0xae0b45['uuid']);else {if(_0xae0b45[_0x2fa414(0x168)]){const _0x16b935=_0xae0b45;_0x1c96c8=new InstanceMeshComponent(this[_0x2fa414(0x12d)],_0x16b935,_0x16b935[_0x2fa414(0x160)]),_0x1c96c8[_0x2fa414(0x154)]=_0x16b935[_0x2fa414(0x154)],_0xae0b45[_0x2fa414(0x135)][_0x2fa414(0x16c)](0x0);}else {if(_0xae0b45[_0x2fa414(0x125)]){const _0x7b6748=_0xae0b45;_0x1c96c8=new MeshComponent(this[_0x2fa414(0x12d)],_0x7b6748[_0x2fa414(0x14a)],_0x7b6748[_0x2fa414(0x165)],_0x7b6748[_0x2fa414(0x160)]),_0x1c96c8['name']=_0x7b6748[_0x2fa414(0x154)],_0xae0b45['layers'][_0x2fa414(0x16c)](0x0);}else _0x1c96c8=new SceneComponent(this[_0x2fa414(0x12d)],_0xae0b45[_0x2fa414(0x160)]);}}if(_0x1c96c8===null)return _0xae0b45['children']=_0x2910cb,null;_0x57472d[_0x2fa414(0x136)](_0x1c96c8),_0x1c96c8[_0x2fa414(0x123)](_0x31c17b),_0x1c96c8[_0x2fa414(0x126)](_0xe83ef2),_0x1c96c8[_0x2fa414(0x13d)](_0x478335);for(const _0x1c117a of _0x2910cb){this['convertThreeObjectToLYObject'](_0x1c96c8,_0x1c117a);}return _0x1c96c8;}[_0x33e736(0x128)](_0x1a169a){const _0x5a7b6c=_0x33e736,_0x58c2ea=(_0x496999,_0x306aa7)=>{const _0x133213=_0x47c2;var _0x2cc72f;const _0x1eeac5=(_0x2cc72f=_0x496999[_0x133213(0x157)](_0x306aa7))!==null&&_0x2cc72f!==void 0?_0x2cc72f:0x0;_0x496999[_0x133213(0x16c)](_0x306aa7,_0x1eeac5+0x1);},_0x1df76f={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x1a169a[_0x5a7b6c(0x146)](_0x396177=>{const _0x3073c5=_0x5a7b6c,_0x547bd2=_0x396177;_0x547bd2[_0x3073c5(0x14a)]instanceof webgpu.BufferGeometry&&_0x58c2ea(_0x1df76f['geometries'],_0x547bd2[_0x3073c5(0x14a)]);if(_0x547bd2[_0x3073c5(0x165)]){const _0x34fd4e=Array['isArray'](_0x547bd2['material'])?_0x547bd2[_0x3073c5(0x165)]:[_0x547bd2[_0x3073c5(0x165)]];_0x34fd4e[_0x3073c5(0x166)](_0x28e719=>{const _0x11827e=_0x3073c5;_0x28e719&&(_0x58c2ea(_0x1df76f[_0x11827e(0x148)],_0x28e719),Object[_0x11827e(0x12f)](_0x28e719)['forEach'](_0xe67d96=>{const _0x749d47=_0x11827e;_0xe67d96 instanceof webgpu.Texture&&_0x58c2ea(_0x1df76f[_0x749d47(0x141)],_0xe67d96);}));});}}),_0x1df76f[_0x5a7b6c(0x13e)][_0x5a7b6c(0x166)]((_0x2f1764,_0x155933)=>this[_0x5a7b6c(0x12c)](_0x155933,_0x2f1764)),_0x1df76f['materials'][_0x5a7b6c(0x166)]((_0xba235e,_0x1c6abf)=>this[_0x5a7b6c(0x12c)](_0x1c6abf,_0xba235e)),_0x1df76f['textures'][_0x5a7b6c(0x166)]((_0x5db5b8,_0x6256d9)=>this[_0x5a7b6c(0x12c)](_0x6256d9,_0x5db5b8));}[_0x33e736(0x15c)](_0x35fb46){const _0x182c8f=_0x33e736;_0x35fb46['geometry']&&!_0x35fb46['geometry'][_0x182c8f(0x14b)][_0x182c8f(0x129)]&&this[_0x182c8f(0x12c)](_0x35fb46[_0x182c8f(0x14a)]);if(_0x35fb46[_0x182c8f(0x165)]){const _0x5dae8e=Array['isArray'](_0x35fb46[_0x182c8f(0x165)])?_0x35fb46['material']:[_0x35fb46[_0x182c8f(0x165)]];_0x5dae8e['forEach'](_0x1c7108=>{const _0x2dcf06=_0x182c8f;if(!_0x1c7108)return;!_0x1c7108[_0x2dcf06(0x14b)][_0x2dcf06(0x129)]&&this[_0x2dcf06(0x12c)](_0x1c7108),Object[_0x2dcf06(0x12f)](_0x1c7108)[_0x2dcf06(0x166)](_0x2dda2b=>{const _0x53ca53=_0x2dcf06;_0x2dda2b instanceof webgpu.Texture&&!_0x2dda2b[_0x53ca53(0x14b)][_0x53ca53(0x129)]&&this[_0x53ca53(0x12c)](_0x2dda2b);});});}}async[_0x33e736(0x14d)](_0x239608){const _0x3c332d=_0x33e736;this[_0x3c332d(0x147)]();const _0x4ab425=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3c332d(0x167)]&&_0x4ab425[_0x3c332d(0x12e)](AssetManager[_0x3c332d(0x167)]);AssetManager[_0x3c332d(0x139)]&&_0x4ab425[_0x3c332d(0x12a)](AssetManager[_0x3c332d(0x139)]);try{const _0x5d488a=await _0x4ab425[_0x3c332d(0x14f)](_0x239608);return _0x5d488a;}catch(_0x9e0151){console[_0x3c332d(0x132)](_0x3c332d(0x138),_0x239608,_0x9e0151);throw _0x9e0151;}}[_0x33e736(0x15a)](_0x1c1e38,_0x459a2a){const _0x421016=_0x33e736;this[_0x421016(0x147)]();const _0x1ceed8=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x1ceed8[_0x421016(0x12e)](AssetManager[_0x421016(0x167)]),_0x1ceed8[_0x421016(0x13a)](_0x1c1e38,_0x459a2a);}[_0x33e736(0x16a)](_0x5e8b03,_0xb4c872,_0x354753){const _0x156625=_0x33e736;this[_0x156625(0x147)]();const _0x378956=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x378956['setDRACOLoader'](AssetManager[_0x156625(0x167)]),_0x378956[_0x156625(0x140)](_0x5e8b03,_0xb4c872,_0x354753);}[_0x33e736(0x133)](_0x3ca70b='',_0x367640){const _0x1e4143=new webgpu.FileLoader();_0x1e4143['load'](_0x3ca70b,_0x367640);}[_0x33e736(0x12c)](_0x5c82f8,_0x2204b1=0x0){const _0x4e33e8=_0x33e736;if(_0x5c82f8 instanceof webgpu.BufferGeometry)return this[_0x4e33e8(0x163)](_0x5c82f8,_0x2204b1);if(_0x5c82f8 instanceof webgpu.Material)return this[_0x4e33e8(0x137)](_0x5c82f8,_0x2204b1);if(_0x5c82f8 instanceof webgpu.Texture)return this[_0x4e33e8(0x124)](_0x5c82f8,_0x2204b1);return undefined;}['addMaterialAsset'](_0x2b1b3c,_0x29fd70=0x0){const _0x15a1b0=_0x33e736;let _0x1e53d1=_0x2b1b3c[_0x15a1b0(0x14b)][_0x15a1b0(0x129)];if(!_0x1e53d1){const _0x1f2d4c=new Map();Object[_0x15a1b0(0x145)](_0x2b1b3c)[_0x15a1b0(0x166)](([_0x45906a,_0x3f3c1f])=>{if(_0x3f3c1f instanceof webgpu.Texture){const _0x4cfb0f=this['addTextureAsset'](_0x3f3c1f,0x1);_0x1f2d4c['set'](_0x45906a,_0x4cfb0f);}}),_0x1e53d1=new MaterialAssetPointer(_0x2b1b3c,_0x1f2d4c,_0x29fd70),this['materialAssets'][_0x15a1b0(0x16c)](_0x2b1b3c[_0x15a1b0(0x160)],_0x1e53d1);}else _0x1e53d1[_0x15a1b0(0x15e)](_0x29fd70);return _0x1e53d1;}[_0x33e736(0x124)](_0x37037f,_0x595744=0x0){const _0x4023be=_0x33e736;let _0x563569=_0x37037f[_0x4023be(0x14b)]['assetPointer'];return !_0x563569?(_0x563569=new TextureAssetPointer(_0x37037f,_0x595744),this[_0x4023be(0x142)][_0x4023be(0x16c)](_0x37037f[_0x4023be(0x160)],_0x563569)):_0x563569['addRef'](_0x595744),_0x563569;}[_0x33e736(0x163)](_0x251611,_0xd3717a=0x0){const _0x46065a=_0x33e736;let _0x592d95=_0x251611[_0x46065a(0x14b)][_0x46065a(0x129)];return !_0x592d95?(_0x592d95=new GeometryAssetPointer(_0x251611,_0xd3717a),this['geometryAssets']['set'](_0x251611[_0x46065a(0x160)],_0x592d95)):_0x592d95[_0x46065a(0x15e)](_0xd3717a),_0x592d95;}[_0x33e736(0x122)](_0x5a8711){const _0x2fac6a=_0x33e736,_0x5627be=_0x5a8711[_0x2fac6a(0x14b)][_0x2fac6a(0x129)];_0x5627be?_0x5627be[_0x2fac6a(0x14c)]():_0x5a8711[_0x2fac6a(0x144)]();}['dispose'](){const _0xd33ed4=_0x33e736;this['clearAssets'](),AssetManager[_0xd33ed4(0x167)]&&(AssetManager[_0xd33ed4(0x167)][_0xd33ed4(0x144)](),AssetManager[_0xd33ed4(0x167)]=null),AssetManager[_0xd33ed4(0x139)]&&(AssetManager[_0xd33ed4(0x139)][_0xd33ed4(0x144)](),AssetManager[_0xd33ed4(0x139)]=null);}['clearAssets'](){const _0x29b88c=_0x33e736;this[_0x29b88c(0x13f)][_0x29b88c(0x166)](_0x10c342=>_0x10c342[_0x29b88c(0x150)]()),this[_0x29b88c(0x13f)][_0x29b88c(0x169)](),this['materialAssets'][_0x29b88c(0x166)](_0x2cc872=>_0x2cc872[_0x29b88c(0x150)]()),this[_0x29b88c(0x134)][_0x29b88c(0x169)](),this['textureAssets'][_0x29b88c(0x166)](_0x39670b=>_0x39670b[_0x29b88c(0x150)]()),this[_0x29b88c(0x142)][_0x29b88c(0x169)]();}}function _0x4681(){const _0x1c3415=['loadGltfFromBuffer','loadingManager','set','setDecoderPath','type','manager','releaseAsset','setPosition','addTextureAsset','isMesh','setRotation','position','collectResourcesAndReferences','assetPointer','setKTX2Loader','children','addAsset','app','setDRACOLoader','values','311570blXrGu','gltfLoader','error','loadFile','materialAssets','layers','addChildComponent','addMaterialAsset','Failed\x20to\x20load\x20gltf','_ktx2Loader','load','8EESZLy','preload','setScale','geometries','geometryAssets','parse','textures','textureAssets','onLoad','dispose','entries','traverse','setupDracoLoader','materials','2583306XbeOLH','geometry','userData','release','loadGltfFromPathAsync','onError','loadAsync','forceRelease','onStart','LoadingManager','clone','name','1695455GZVskG','Object3D','get','Group','3598eTICoP','loadGltfFromPath','206jLNbCr','checkMeshResource','1890954zEFkRP','addRef','onProgress','uuid','2252784aCWdZM','dracoPath','addGeometryAsset','1035708lUFJjs','material','forEach','_dracoLoader','isInstancedMesh','clear'];_0x4681=function(){return _0x1c3415;};return _0x4681();}AssetManager['_dracoLoader']=null,AssetManager[_0x33e736(0x139)]=null;
|
|
57
57
|
|
|
58
|
-
(function(
|
|
58
|
+
function _0x51fd(_0x19d9f8,_0x3d790e){_0x19d9f8=_0x19d9f8-0x1ad;var _0x486af4=_0x486a();var _0x51fd6f=_0x486af4[_0x19d9f8];return _0x51fd6f;}(function(_0x2cf6c5,_0x391c10){var _0x49995e=_0x51fd,_0x1449fd=_0x2cf6c5();while(!![]){try{var _0x534dca=parseInt(_0x49995e(0x1b0))/0x1*(parseInt(_0x49995e(0x1b3))/0x2)+-parseInt(_0x49995e(0x1be))/0x3+-parseInt(_0x49995e(0x1ae))/0x4*(parseInt(_0x49995e(0x1c8))/0x5)+parseInt(_0x49995e(0x1c9))/0x6+-parseInt(_0x49995e(0x1b5))/0x7*(parseInt(_0x49995e(0x1d1))/0x8)+-parseInt(_0x49995e(0x1cc))/0x9*(parseInt(_0x49995e(0x1ce))/0xa)+parseInt(_0x49995e(0x1c3))/0xb;if(_0x534dca===_0x391c10)break;else _0x1449fd['push'](_0x1449fd['shift']());}catch(_0x4f50a5){_0x1449fd['push'](_0x1449fd['shift']());}}}(_0x486a,0x30f60));exports.AssetCategory = void 0;function _0x486a(){var _0x1d4dac=['Geometry','14mmVEgT','undefined','2573221DtzJCL','loaded','unloaded','level','error','code','Texture','Loaded','component','540096gdNXDQ','HTML','material','loading','Component','6966212MjJBsy','Actor','External','ActorManager','Loading','13575QFMUap','1159590jURSrd','actor','Error','2475FZJAxK','html','9350VzAYIa','Unloaded','Level','8nJhWcq','geometry','texture','Code','assetPointer','AssetPointer','260UGXrur','Material','50746bivLYX','actorManager'];_0x486a=function(){return _0x1d4dac;};return _0x486a();}(function(_0x17dfa2){var _0xb40ffe=_0x51fd;_0x17dfa2[_0xb40ffe(0x1b2)]=_0xb40ffe(0x1d2),_0x17dfa2[_0xb40ffe(0x1af)]='material',_0x17dfa2[_0xb40ffe(0x1bb)]=_0xb40ffe(0x1d3),_0x17dfa2[_0xb40ffe(0x1c4)]='actor',_0x17dfa2[_0xb40ffe(0x1c6)]=_0xb40ffe(0x1b1),_0x17dfa2['Level']=_0xb40ffe(0x1b8),_0x17dfa2[_0xb40ffe(0x1bf)]=_0xb40ffe(0x1cd),_0x17dfa2[_0xb40ffe(0x1d4)]=_0xb40ffe(0x1ba),_0x17dfa2['Undefined']='undefined';}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;(function(_0x199e18){var _0x493be2=_0x51fd;_0x199e18[_0x493be2(0x1cf)]=_0x493be2(0x1b7),_0x199e18[_0x493be2(0x1c7)]=_0x493be2(0x1c1),_0x199e18[_0x493be2(0x1bc)]=_0x493be2(0x1b6),_0x199e18[_0x493be2(0x1cb)]=_0x493be2(0x1b9);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x54f945){var _0xbd4de6=_0x51fd;_0x54f945['Actor']=_0xbd4de6(0x1ca),_0x54f945[_0xbd4de6(0x1c2)]=_0xbd4de6(0x1bd),_0x54f945[_0xbd4de6(0x1af)]=_0xbd4de6(0x1c0),_0x54f945[_0xbd4de6(0x1d0)]=_0xbd4de6(0x1b8),_0x54f945[_0xbd4de6(0x1ad)]=_0xbd4de6(0x1d5),_0x54f945[_0xbd4de6(0x1c5)]='external';}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x50dca8){var _0xffa393=_0x51fd;_0x50dca8[_0x50dca8[_0xffa393(0x1d2)]=0x1]=_0xffa393(0x1d2),_0x50dca8[_0x50dca8[_0xffa393(0x1c0)]=0x2]='material',_0x50dca8[_0x50dca8[_0xffa393(0x1d3)]=0x3]=_0xffa393(0x1d3),_0x50dca8[_0x50dca8[_0xffa393(0x1b4)]=-1]=_0xffa393(0x1b4);}(exports.AssetType||(exports.AssetType={})));
|
|
59
59
|
|
|
60
|
-
(function(
|
|
60
|
+
(function(_0x59b3fd,_0x1c9fa0){var _0x204567=_0x1e36,_0x173c0b=_0x59b3fd();while(!![]){try{var _0xc9ff3e=parseInt(_0x204567(0x1c3))/0x1*(-parseInt(_0x204567(0x1c9))/0x2)+parseInt(_0x204567(0x1c5))/0x3+-parseInt(_0x204567(0x1c6))/0x4*(parseInt(_0x204567(0x1cf))/0x5)+parseInt(_0x204567(0x1ce))/0x6*(parseInt(_0x204567(0x1c0))/0x7)+parseInt(_0x204567(0x1c4))/0x8*(parseInt(_0x204567(0x1ca))/0x9)+parseInt(_0x204567(0x1cb))/0xa+parseInt(_0x204567(0x1be))/0xb;if(_0xc9ff3e===_0x1c9fa0)break;else _0x173c0b['push'](_0x173c0b['shift']());}catch(_0xed9cbc){_0x173c0b['push'](_0x173c0b['shift']());}}}(_0x1888,0x6eb25));exports.CollisionResponse = void 0;function _0x1e36(_0x470df2,_0x45ff89){_0x470df2=_0x470df2-0x1bd;var _0x18888c=_0x1888();var _0x1e3615=_0x18888c[_0x470df2];return _0x1e3615;}function _0x1888(){var _0x475fab=['9oJOfSW','6306520Yhkhsa','WorldDynamic','Visibility','545946VVzowa','15vXQFVp','Pawn','Trigger','Block','Sphere','1622313mzhnxE','Box','42AZlsbM','Overlap','Camera','11954oAcuZk','1058272uzHEyL','1237359hZnizr','867132WVnwaJ','WorldStatic','Ignore','128KjezaB'];_0x1888=function(){return _0x475fab;};return _0x1888();}(function(_0xdf5ef5){var _0x566a8e=_0x1e36;_0xdf5ef5[_0x566a8e(0x1c8)]=_0x566a8e(0x1c8),_0xdf5ef5[_0x566a8e(0x1c1)]=_0x566a8e(0x1c1),_0xdf5ef5[_0x566a8e(0x1d2)]='Block';}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0x230fbb){var _0xba0df5=_0x1e36;_0x230fbb[_0xba0df5(0x1c7)]=_0xba0df5(0x1c7),_0x230fbb[_0xba0df5(0x1cc)]=_0xba0df5(0x1cc),_0x230fbb[_0xba0df5(0x1d0)]=_0xba0df5(0x1d0),_0x230fbb[_0xba0df5(0x1cd)]=_0xba0df5(0x1cd),_0x230fbb[_0xba0df5(0x1c2)]='Camera',_0x230fbb[_0xba0df5(0x1d1)]=_0xba0df5(0x1d1);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;(function(_0x23aa8d){var _0x5432e8=_0x1e36;_0x23aa8d[_0x5432e8(0x1bd)]=_0x5432e8(0x1bd),_0x23aa8d[_0x5432e8(0x1bf)]=_0x5432e8(0x1bf);}(exports.CollisionShapeType||(exports.CollisionShapeType={})));
|
|
61
61
|
|
|
62
|
-
const _0xd4ede4=_0xa177;function _0xa177(_0x3ce6fe,_0xba0343){_0x3ce6fe=_0x3ce6fe-0x19e;const _0x648bf8=_0x648b();let _0xa1777a=_0x648bf8[_0x3ce6fe];return _0xa1777a;}function _0x648b(){const _0x2152bc=['470FAUYGX','clone','delete','length','728811cofcSX','add','sub','onHitDelegate','point','colliders','tick','548581pDsyJM','sort','Visibility','from','Overlap','sign','filter','onBeginOverlapDelegate','previousOverlapPairs','24944QdroUu','onEndOverlapDelegate','registerCollider','has','135tdOKee','2157302mlUxkW','unregisterCollider','function','debugDrawEnabled','generateOverlapEvents','getCollisionResponse','Block','debugEnabled','lineTraceSingle','intersectRayAabb','120039iHIRYr','computeAabbHit','collisionEnabled','raycastAll','generateHitEvents','uuid','broadcast','raycast','penetrationDepth','1656kEQlWn','min','getCenter','get','16OYyYsP','multiplyScalar','intersectsBox','previousBlockPairs','max','153984RYWCvQ','normal','getMutualResponse','distance','getWorldAABB','push','set','lineTraceMulti','158758tBkSkH','_debugDrawEnabled','clear'];_0x648b=function(){return _0x2152bc;};return _0x648b();}(function(_0x5ed717,_0x540c67){const _0xa49003=_0xa177,_0xf5d42b=_0x5ed717();while(!![]){try{const _0x2e85b9=-parseInt(_0xa49003(0x1ca))/0x1+-parseInt(_0xa49003(0x1c3))/0x2+-parseInt(_0xa49003(0x1a9))/0x3*(-parseInt(_0xa49003(0x1b6))/0x4)+parseInt(_0xa49003(0x19e))/0x5*(-parseInt(_0xa49003(0x1bb))/0x6)+parseInt(_0xa49003(0x19f))/0x7+parseInt(_0xa49003(0x1da))/0x8*(-parseInt(_0xa49003(0x1b2))/0x9)+-parseInt(_0xa49003(0x1c6))/0xa*(-parseInt(_0xa49003(0x1d1))/0xb);if(_0x2e85b9===_0x540c67)break;else _0xf5d42b['push'](_0xf5d42b['shift']());}catch(_0x332d1d){_0xf5d42b['push'](_0xf5d42b['shift']());}}}(_0x648b,0xb4041));class PhysicsWorld{constructor(){const _0x171c52=_0xa177;this[_0x171c52(0x1cf)]=new Set(),this[_0x171c52(0x1d9)]=new Map(),this[_0x171c52(0x1b9)]=new Map(),this[_0x171c52(0x1c4)]=![];}get['debugDrawEnabled'](){const _0x55f30f=_0xa177;return this[_0x55f30f(0x1c4)];}set[_0xd4ede4(0x1a2)](_0x1c5371){const _0x4d822c=_0xd4ede4;if(this[_0x4d822c(0x1c4)]===_0x1c5371)return;this[_0x4d822c(0x1c4)]=_0x1c5371;for(const _0x5e8c86 of this[_0x4d822c(0x1cf)]){_0x5e8c86[_0x4d822c(0x1a6)]=_0x1c5371;}}[_0xd4ede4(0x1dc)](_0x1519fa){const _0x11792d=_0xd4ede4;this[_0x11792d(0x1cf)][_0x11792d(0x1cb)](_0x1519fa),this['_debugDrawEnabled']&&(_0x1519fa[_0x11792d(0x1a6)]=!![]);}[_0xd4ede4(0x1a0)](_0x3c49cf){const _0x3dd054=_0xd4ede4;this[_0x3dd054(0x1cf)][_0x3dd054(0x1c8)](_0x3c49cf);for(const [_0xd1b1d3,_0x38452c]of this[_0x3dd054(0x1d9)]){(_0x38452c[0x0]===_0x3c49cf||_0x38452c[0x1]===_0x3c49cf)&&this['previousOverlapPairs'][_0x3dd054(0x1c8)](_0xd1b1d3);}for(const [_0x5ab112,_0x1cc425]of this[_0x3dd054(0x1b9)]){(_0x1cc425[0x0]===_0x3c49cf||_0x1cc425[0x1]===_0x3c49cf)&&this[_0x3dd054(0x1b9)][_0x3dd054(0x1c8)](_0x5ab112);}}[_0xd4ede4(0x1c5)](){const _0x41957c=_0xd4ede4;this[_0x41957c(0x1cf)]['clear'](),this['previousOverlapPairs']['clear'](),this[_0x41957c(0x1b9)][_0x41957c(0x1c5)]();}[_0xd4ede4(0x1a7)](_0x16ff9f,_0x5b6753,_0x1f65e1=exports.CollisionChannel[_0xd4ede4(0x1d3)],_0x5a3895){const _0x3c56eb=_0xd4ede4,_0x1e108f=_0x5b6753[_0x3c56eb(0x1c7)]()[_0x3c56eb(0x1cc)](_0x16ff9f),_0x56c78b=_0x1e108f[_0x3c56eb(0x1c9)]();if(_0x56c78b<=0.000001)return null;const _0x49ca6f=_0x1e108f['multiplyScalar'](0x1/_0x56c78b);let _0x24031a=null;for(const _0x17aad6 of this[_0x3c56eb(0x1cf)]){if(_0x17aad6===_0x5a3895)continue;if(!_0x17aad6[_0x3c56eb(0x1ab)])continue;const _0x508bf3=_0x17aad6[_0x3c56eb(0x1a4)](_0x1f65e1);if(_0x508bf3!==exports.CollisionResponse['Block'])continue;const _0x18407d=_0x17aad6[_0x3c56eb(0x1bf)](new webgpu.Box3()),_0x33bccd=this[_0x3c56eb(0x1a8)](_0x16ff9f,_0x49ca6f,_0x56c78b,_0x18407d);if(!_0x33bccd)continue;const _0x28f923=_0x17aad6,_0x53469e=typeof _0x28f923[_0x3c56eb(0x1b0)]===_0x3c56eb(0x1a1)?_0x28f923[_0x3c56eb(0x1b0)](_0x16ff9f,_0x49ca6f,_0x56c78b):_0x33bccd;if(!_0x53469e)continue;(!_0x24031a||_0x53469e[_0x3c56eb(0x1be)]<_0x24031a[_0x3c56eb(0x1be)])&&(_0x24031a={'collider':_0x17aad6,'point':_0x53469e['point'],'normal':_0x53469e['normal'],'distance':_0x53469e[_0x3c56eb(0x1be)],'blocking':!![]});}return _0x24031a;}[_0xd4ede4(0x1c2)](_0x3d0831,_0x580e9a,_0x4203cb=exports.CollisionChannel[_0xd4ede4(0x1d3)],_0xec325){const _0x3efb1c=_0xd4ede4,_0x10789c=_0x580e9a[_0x3efb1c(0x1c7)]()[_0x3efb1c(0x1cc)](_0x3d0831),_0x12a645=_0x10789c[_0x3efb1c(0x1c9)]();if(_0x12a645<=0.000001)return [];const _0x7bb0dd=_0x10789c[_0x3efb1c(0x1b7)](0x1/_0x12a645),_0x11ff1d=[];for(const _0x4f672c of this['colliders']){if(_0x4f672c===_0xec325)continue;if(!_0x4f672c[_0x3efb1c(0x1ab)])continue;const _0x46a94c=_0x4f672c[_0x3efb1c(0x1a4)](_0x4203cb);if(_0x46a94c===exports.CollisionResponse['Ignore'])continue;const _0x56ff4e=_0x4f672c[_0x3efb1c(0x1bf)](new webgpu.Box3()),_0x4588b4=this[_0x3efb1c(0x1a8)](_0x3d0831,_0x7bb0dd,_0x12a645,_0x56ff4e);if(!_0x4588b4)continue;const _0x16f6af=_0x4f672c;if(typeof _0x16f6af[_0x3efb1c(0x1ac)]===_0x3efb1c(0x1a1)){const _0x8d742a=_0x16f6af[_0x3efb1c(0x1ac)](_0x3d0831,_0x7bb0dd,_0x12a645);for(const _0x377897 of _0x8d742a){_0x11ff1d[_0x3efb1c(0x1c0)]({'collider':_0x4f672c,'point':_0x377897['point'],'normal':_0x377897['normal'],'distance':_0x377897['distance'],'blocking':_0x46a94c===exports.CollisionResponse[_0x3efb1c(0x1a5)]});}}else {const _0x2138f6=typeof _0x16f6af[_0x3efb1c(0x1b0)]===_0x3efb1c(0x1a1)?_0x16f6af['raycast'](_0x3d0831,_0x7bb0dd,_0x12a645):_0x4588b4;if(!_0x2138f6)continue;_0x11ff1d['push']({'collider':_0x4f672c,'point':_0x2138f6[_0x3efb1c(0x1ce)],'normal':_0x2138f6[_0x3efb1c(0x1bc)],'distance':_0x2138f6[_0x3efb1c(0x1be)],'blocking':_0x46a94c===exports.CollisionResponse[_0x3efb1c(0x1a5)]});}}return _0x11ff1d[_0x3efb1c(0x1d2)]((_0x1f641c,_0x1719cb)=>_0x1f641c[_0x3efb1c(0x1be)]-_0x1719cb[_0x3efb1c(0x1be)]);}[_0xd4ede4(0x1d0)](_0x933a31){const _0x1d2764=_0xd4ede4,_0x120d93=Array[_0x1d2764(0x1d4)](this['colliders'])[_0x1d2764(0x1d7)](_0x24f860=>_0x24f860[_0x1d2764(0x1ab)]),_0x3f6f5e=new Map();for(const _0x2299c5 of _0x120d93){_0x3f6f5e[_0x1d2764(0x1c1)](_0x2299c5,_0x2299c5[_0x1d2764(0x1bf)](new webgpu.Box3()));}const _0x597e7c=new Map(),_0x49590f=new Map();for(let _0x5a37d=0x0;_0x5a37d<_0x120d93[_0x1d2764(0x1c9)];_0x5a37d++){const _0x1731c8=_0x120d93[_0x5a37d],_0x37cb9a=_0x3f6f5e[_0x1d2764(0x1b5)](_0x1731c8);if(!_0x37cb9a)continue;for(let _0x41ee67=_0x5a37d+0x1;_0x41ee67<_0x120d93[_0x1d2764(0x1c9)];_0x41ee67++){const _0xc596f1=_0x120d93[_0x41ee67],_0x5084a8=_0x3f6f5e[_0x1d2764(0x1b5)](_0xc596f1);if(!_0x5084a8)continue;if(!_0x37cb9a[_0x1d2764(0x1b8)](_0x5084a8))continue;const _0x28c3e6=_0x1731c8[_0x1d2764(0x1bd)](_0xc596f1);if(_0x28c3e6===exports.CollisionResponse['Ignore'])continue;const _0x361987=this['getPairKey'](_0x1731c8,_0xc596f1);_0x28c3e6===exports.CollisionResponse[_0x1d2764(0x1d5)]?_0x597e7c[_0x1d2764(0x1c1)](_0x361987,[_0x1731c8,_0xc596f1]):_0x49590f['set'](_0x361987,[_0x1731c8,_0xc596f1]);}}for(const [_0x24b6a5,_0x58a2a4]of _0x597e7c){if(this[_0x1d2764(0x1d9)][_0x1d2764(0x1dd)](_0x24b6a5))continue;const [_0xb3647d,_0x2e4f66]=_0x58a2a4;_0xb3647d[_0x1d2764(0x1a3)]&&_0xb3647d[_0x1d2764(0x1d8)][_0x1d2764(0x1af)](_0x2e4f66),_0x2e4f66[_0x1d2764(0x1a3)]&&_0x2e4f66[_0x1d2764(0x1d8)][_0x1d2764(0x1af)](_0xb3647d);}for(const [_0x70d4ae,_0x5762e0]of this[_0x1d2764(0x1d9)]){if(_0x597e7c[_0x1d2764(0x1dd)](_0x70d4ae))continue;const [_0x37097a,_0xe43c68]=_0x5762e0;_0x37097a[_0x1d2764(0x1a3)]&&_0x37097a[_0x1d2764(0x1db)][_0x1d2764(0x1af)](_0xe43c68),_0xe43c68[_0x1d2764(0x1a3)]&&_0xe43c68[_0x1d2764(0x1db)][_0x1d2764(0x1af)](_0x37097a);}for(const [_0x34eb31,_0x429ac5]of _0x49590f){if(this[_0x1d2764(0x1b9)]['has'](_0x34eb31))continue;const [_0x2d777f,_0x2e9daa]=_0x429ac5,_0x32d41e=_0x3f6f5e[_0x1d2764(0x1b5)](_0x2d777f),_0x241c03=_0x3f6f5e[_0x1d2764(0x1b5)](_0x2e9daa);if(!_0x32d41e||!_0x241c03)continue;const _0x24c51c=this[_0x1d2764(0x1aa)](_0x2d777f,_0x2e9daa,_0x32d41e,_0x241c03);_0x2d777f['generateHitEvents']&&_0x2d777f[_0x1d2764(0x1cd)][_0x1d2764(0x1af)](_0x24c51c);if(_0x2e9daa[_0x1d2764(0x1ad)]){const _0x1ca056={'self':_0x2e9daa,'other':_0x2d777f,'point':_0x24c51c[_0x1d2764(0x1ce)][_0x1d2764(0x1c7)](),'normal':_0x24c51c[_0x1d2764(0x1bc)][_0x1d2764(0x1c7)]()['multiplyScalar'](-1),'penetrationDepth':_0x24c51c[_0x1d2764(0x1b1)]};_0x2e9daa[_0x1d2764(0x1cd)][_0x1d2764(0x1af)](_0x1ca056);}}this[_0x1d2764(0x1d9)]=_0x597e7c,this['previousBlockPairs']=_0x49590f;}['computeAabbHit'](_0x4a35e9,_0x234e69,_0x53668e,_0x425f46){const _0x174261=_0xd4ede4,_0xca7e1c=Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['x'],_0x425f46[_0x174261(0x1ba)]['x'])-Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['x'],_0x425f46[_0x174261(0x1b3)]['x']),_0x22d67c=Math[_0x174261(0x1b3)](_0x53668e['max']['y'],_0x425f46[_0x174261(0x1ba)]['y'])-Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['y'],_0x425f46['min']['y']),_0x14fe3c=Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['z'],_0x425f46[_0x174261(0x1ba)]['z'])-Math[_0x174261(0x1ba)](_0x53668e['min']['z'],_0x425f46['min']['z']);let _0x37f955=_0xca7e1c,_0xb27ff0='x';_0x22d67c<_0x37f955&&(_0x37f955=_0x22d67c,_0xb27ff0='y');_0x14fe3c<_0x37f955&&(_0x37f955=_0x14fe3c,_0xb27ff0='z');const _0x58c2f1=_0x53668e[_0x174261(0x1b4)](new webgpu.Vector3()),_0x4869c8=_0x425f46[_0x174261(0x1b4)](new webgpu.Vector3()),_0x197af1=_0x4869c8[_0x174261(0x1c7)]()[_0x174261(0x1cc)](_0x58c2f1),_0x28caae=new webgpu.Vector3(0x0,0x0,0x0);if(_0xb27ff0==='x')_0x28caae['set'](Math[_0x174261(0x1d6)](_0x197af1['x'])||0x1,0x0,0x0);else _0xb27ff0==='y'?_0x28caae[_0x174261(0x1c1)](0x0,Math[_0x174261(0x1d6)](_0x197af1['y'])||0x1,0x0):_0x28caae[_0x174261(0x1c1)](0x0,0x0,Math['sign'](_0x197af1['z'])||0x1);const _0x3b48c4=new webgpu.Vector3((Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['x'],_0x425f46['min']['x'])+Math[_0x174261(0x1b3)](_0x53668e['max']['x'],_0x425f46[_0x174261(0x1ba)]['x']))*0.5,(Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['y'],_0x425f46[_0x174261(0x1b3)]['y'])+Math['min'](_0x53668e['max']['y'],_0x425f46[_0x174261(0x1ba)]['y']))*0.5,(Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['z'],_0x425f46['min']['z'])+Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['z'],_0x425f46[_0x174261(0x1ba)]['z']))*0.5);return {'self':_0x4a35e9,'other':_0x234e69,'point':_0x3b48c4,'normal':_0x28caae,'penetrationDepth':Math[_0x174261(0x1ba)](0x0,_0x37f955)};}['getPairKey'](_0x38eee4,_0x32439c){const _0x41b8b1=_0xd4ede4;return _0x38eee4[_0x41b8b1(0x1ae)]<_0x32439c[_0x41b8b1(0x1ae)]?_0x38eee4[_0x41b8b1(0x1ae)]+'|'+_0x32439c[_0x41b8b1(0x1ae)]:_0x32439c[_0x41b8b1(0x1ae)]+'|'+_0x38eee4[_0x41b8b1(0x1ae)];}[_0xd4ede4(0x1a8)](_0x28f655,_0x39ab80,_0x50e074,_0x3b7ce2){const _0x3d8a2e=_0xd4ede4;let _0x3d5da8=0x0,_0x1ddcbb=_0x50e074;const _0x3823ae=new webgpu.Vector3(0x0,0x0,0x0),_0x9a1dd2=1e-8,_0x7402d3=_0x1843a3=>{const _0x1b1327=_0xa177,_0x28fa46=_0x28f655[_0x1843a3],_0xa20c9b=_0x39ab80[_0x1843a3],_0x44515a=_0x3b7ce2[_0x1b1327(0x1b3)][_0x1843a3],_0x140432=_0x3b7ce2[_0x1b1327(0x1ba)][_0x1843a3];if(Math['abs'](_0xa20c9b)<_0x9a1dd2){if(_0x28fa46<_0x44515a||_0x28fa46>_0x140432)return ![];return !![];}const _0x2f68c4=0x1/_0xa20c9b;let _0x590f6f,_0xed64d9;const _0x5c941f=new webgpu.Vector3(0x0,0x0,0x0);_0xa20c9b>=0x0?(_0x590f6f=(_0x44515a-_0x28fa46)*_0x2f68c4,_0xed64d9=(_0x140432-_0x28fa46)*_0x2f68c4,_0x5c941f[_0x1843a3]=-1):(_0x590f6f=(_0x140432-_0x28fa46)*_0x2f68c4,_0xed64d9=(_0x44515a-_0x28fa46)*_0x2f68c4,_0x5c941f[_0x1843a3]=0x1);_0x590f6f>_0x3d5da8&&(_0x3d5da8=_0x590f6f,_0x3823ae['copy'](_0x5c941f));_0xed64d9<_0x1ddcbb&&(_0x1ddcbb=_0xed64d9);if(_0x3d5da8>_0x1ddcbb)return ![];return !![];};if(!_0x7402d3('x')||!_0x7402d3('y')||!_0x7402d3('z'))return null;if(_0x1ddcbb<0x0)return null;const _0x4401f6=Math[_0x3d8a2e(0x1ba)](0x0,_0x3d5da8);if(_0x4401f6>_0x50e074)return null;return {'distance':_0x4401f6,'normal':_0x3823ae,'point':_0x28f655[_0x3d8a2e(0x1c7)]()[_0x3d8a2e(0x1cb)](_0x39ab80['clone']()[_0x3d8a2e(0x1b7)](_0x4401f6))};}}
|
|
62
|
+
const _0x6e4860=_0x4aa0;(function(_0x5670cc,_0x402b58){const _0x51a77d=_0x4aa0,_0x3bcf83=_0x5670cc();while(!![]){try{const _0x42ebd7=-parseInt(_0x51a77d(0x114))/0x1+parseInt(_0x51a77d(0x10c))/0x2+-parseInt(_0x51a77d(0x101))/0x3*(-parseInt(_0x51a77d(0x119))/0x4)+-parseInt(_0x51a77d(0x10b))/0x5*(parseInt(_0x51a77d(0x125))/0x6)+-parseInt(_0x51a77d(0x128))/0x7*(-parseInt(_0x51a77d(0x126))/0x8)+-parseInt(_0x51a77d(0x11e))/0x9+-parseInt(_0x51a77d(0x138))/0xa*(parseInt(_0x51a77d(0x102))/0xb);if(_0x42ebd7===_0x402b58)break;else _0x3bcf83['push'](_0x3bcf83['shift']());}catch(_0x5b2410){_0x3bcf83['push'](_0x3bcf83['shift']());}}}(_0x8774,0x384e9));function _0x8774(){const _0x3c2437=['5570bYniNZ','copy','raycastAll','point','intersectsBox','getMutualResponse','sign','sub','lineTraceMulti','from','674637WMXsYN','627JZawCe','multiplyScalar','broadcast','colliders','function','onEndOverlapDelegate','getPairKey','Overlap','computeAabbHit','16840gtYHpH','332068Jobkio','generateHitEvents','previousBlockPairs','debugEnabled','get','add','max','unregisterCollider','366623uBTzxB','onHitDelegate','min','clear','uuid','8xGpGTD','length','Visibility','registerCollider','onBeginOverlapDelegate','70254qVPKIz','debugDrawEnabled','previousOverlapPairs','generateOverlapEvents','getCenter','Ignore','push','222VsYcVN','168gRDikl','collisionEnabled','48545DyUQvp','_debugDrawEnabled','lineTraceSingle','distance','clone','has','set','penetrationDepth','intersectRayAabb','Block','delete','getWorldAABB','sort','normal','raycast','tick'];_0x8774=function(){return _0x3c2437;};return _0x8774();}function _0x4aa0(_0x1e7f05,_0x1a8c2e){_0x1e7f05=_0x1e7f05-0xfc;const _0x877495=_0x8774();let _0x4aa0cd=_0x877495[_0x1e7f05];return _0x4aa0cd;}class PhysicsWorld{constructor(){const _0x1483fd=_0x4aa0;this[_0x1483fd(0x105)]=new Set(),this[_0x1483fd(0x120)]=new Map(),this[_0x1483fd(0x10e)]=new Map(),this[_0x1483fd(0x129)]=![];}get[_0x6e4860(0x11f)](){const _0x1314be=_0x6e4860;return this[_0x1314be(0x129)];}set[_0x6e4860(0x11f)](_0x1d0858){const _0x45eef4=_0x6e4860;if(this[_0x45eef4(0x129)]===_0x1d0858)return;this[_0x45eef4(0x129)]=_0x1d0858;for(const _0x3eb400 of this['colliders']){_0x3eb400['debugEnabled']=_0x1d0858;}}[_0x6e4860(0x11c)](_0x26c267){const _0x5e7b76=_0x6e4860;this[_0x5e7b76(0x105)]['add'](_0x26c267),this[_0x5e7b76(0x129)]&&(_0x26c267[_0x5e7b76(0x10f)]=!![]);}[_0x6e4860(0x113)](_0x4f228e){const _0x3c692d=_0x6e4860;this[_0x3c692d(0x105)][_0x3c692d(0x132)](_0x4f228e);for(const [_0x7bcf56,_0x465461]of this[_0x3c692d(0x120)]){(_0x465461[0x0]===_0x4f228e||_0x465461[0x1]===_0x4f228e)&&this[_0x3c692d(0x120)]['delete'](_0x7bcf56);}for(const [_0x4aa7ec,_0x26bf59]of this[_0x3c692d(0x10e)]){(_0x26bf59[0x0]===_0x4f228e||_0x26bf59[0x1]===_0x4f228e)&&this[_0x3c692d(0x10e)][_0x3c692d(0x132)](_0x4aa7ec);}}['clear'](){const _0x4f9dbf=_0x6e4860;this[_0x4f9dbf(0x105)][_0x4f9dbf(0x117)](),this[_0x4f9dbf(0x120)]['clear'](),this['previousBlockPairs'][_0x4f9dbf(0x117)]();}[_0x6e4860(0x12a)](_0x5f45ec,_0x2d2e4e,_0x39e9e8=exports.CollisionChannel[_0x6e4860(0x11b)],_0x1f8d21){const _0x358d8f=_0x6e4860,_0x3a35d1=_0x2d2e4e[_0x358d8f(0x12c)]()['sub'](_0x5f45ec),_0x1d30a0=_0x3a35d1[_0x358d8f(0x11a)]();if(_0x1d30a0<=0.000001)return null;const _0x53826b=_0x3a35d1[_0x358d8f(0x103)](0x1/_0x1d30a0);let _0x47efe3=null;for(const _0x19e018 of this['colliders']){if(_0x19e018===_0x1f8d21)continue;if(!_0x19e018[_0x358d8f(0x127)])continue;const _0xd65b02=_0x19e018['getCollisionResponse'](_0x39e9e8);if(_0xd65b02!==exports.CollisionResponse['Block'])continue;const _0x1894da=_0x19e018[_0x358d8f(0x133)](new webgpu.Box3()),_0x4c8928=this[_0x358d8f(0x130)](_0x5f45ec,_0x53826b,_0x1d30a0,_0x1894da);if(!_0x4c8928)continue;const _0x3c663d=_0x19e018,_0x1d5e24=typeof _0x3c663d['raycast']===_0x358d8f(0x106)?_0x3c663d[_0x358d8f(0x136)](_0x5f45ec,_0x53826b,_0x1d30a0):_0x4c8928;if(!_0x1d5e24)continue;(!_0x47efe3||_0x1d5e24[_0x358d8f(0x12b)]<_0x47efe3[_0x358d8f(0x12b)])&&(_0x47efe3={'collider':_0x19e018,'point':_0x1d5e24[_0x358d8f(0x13b)],'normal':_0x1d5e24[_0x358d8f(0x135)],'distance':_0x1d5e24[_0x358d8f(0x12b)],'blocking':!![]});}return _0x47efe3;}[_0x6e4860(0xff)](_0x26cc72,_0x1db37b,_0x4906c3=exports.CollisionChannel['Visibility'],_0x58f42d){const _0x47d207=_0x6e4860,_0x3309f4=_0x1db37b['clone']()['sub'](_0x26cc72),_0x3c0cec=_0x3309f4['length']();if(_0x3c0cec<=0.000001)return [];const _0x1962df=_0x3309f4[_0x47d207(0x103)](0x1/_0x3c0cec),_0x45e4ea=[];for(const _0x5a7f16 of this['colliders']){if(_0x5a7f16===_0x58f42d)continue;if(!_0x5a7f16['collisionEnabled'])continue;const _0x393b42=_0x5a7f16['getCollisionResponse'](_0x4906c3);if(_0x393b42===exports.CollisionResponse['Ignore'])continue;const _0x51fc04=_0x5a7f16[_0x47d207(0x133)](new webgpu.Box3()),_0x2836dd=this['intersectRayAabb'](_0x26cc72,_0x1962df,_0x3c0cec,_0x51fc04);if(!_0x2836dd)continue;const _0xa2ae74=_0x5a7f16;if(typeof _0xa2ae74[_0x47d207(0x13a)]===_0x47d207(0x106)){const _0x4ec280=_0xa2ae74[_0x47d207(0x13a)](_0x26cc72,_0x1962df,_0x3c0cec);for(const _0x451c44 of _0x4ec280){_0x45e4ea[_0x47d207(0x124)]({'collider':_0x5a7f16,'point':_0x451c44[_0x47d207(0x13b)],'normal':_0x451c44[_0x47d207(0x135)],'distance':_0x451c44[_0x47d207(0x12b)],'blocking':_0x393b42===exports.CollisionResponse[_0x47d207(0x131)]});}}else {const _0x4ed303=typeof _0xa2ae74[_0x47d207(0x136)]===_0x47d207(0x106)?_0xa2ae74[_0x47d207(0x136)](_0x26cc72,_0x1962df,_0x3c0cec):_0x2836dd;if(!_0x4ed303)continue;_0x45e4ea[_0x47d207(0x124)]({'collider':_0x5a7f16,'point':_0x4ed303['point'],'normal':_0x4ed303[_0x47d207(0x135)],'distance':_0x4ed303[_0x47d207(0x12b)],'blocking':_0x393b42===exports.CollisionResponse[_0x47d207(0x131)]});}}return _0x45e4ea[_0x47d207(0x134)]((_0x5cdba6,_0x2bece5)=>_0x5cdba6[_0x47d207(0x12b)]-_0x2bece5[_0x47d207(0x12b)]);}[_0x6e4860(0x137)](_0x26b189){const _0x325c42=_0x6e4860,_0x529469=Array[_0x325c42(0x100)](this[_0x325c42(0x105)])['filter'](_0x5c6bdb=>_0x5c6bdb['collisionEnabled']),_0x54ebc8=new Map();for(const _0x2dc76c of _0x529469){_0x54ebc8[_0x325c42(0x12e)](_0x2dc76c,_0x2dc76c[_0x325c42(0x133)](new webgpu.Box3()));}const _0x3a826e=new Map(),_0x1e68ed=new Map();for(let _0x12ff10=0x0;_0x12ff10<_0x529469[_0x325c42(0x11a)];_0x12ff10++){const _0x2de054=_0x529469[_0x12ff10],_0x39eff0=_0x54ebc8[_0x325c42(0x110)](_0x2de054);if(!_0x39eff0)continue;for(let _0x3b349e=_0x12ff10+0x1;_0x3b349e<_0x529469[_0x325c42(0x11a)];_0x3b349e++){const _0x446956=_0x529469[_0x3b349e],_0xd36172=_0x54ebc8['get'](_0x446956);if(!_0xd36172)continue;if(!_0x39eff0[_0x325c42(0x13c)](_0xd36172))continue;const _0x5540ed=_0x2de054[_0x325c42(0xfc)](_0x446956);if(_0x5540ed===exports.CollisionResponse[_0x325c42(0x123)])continue;const _0x31f8fe=this['getPairKey'](_0x2de054,_0x446956);_0x5540ed===exports.CollisionResponse[_0x325c42(0x109)]?_0x3a826e[_0x325c42(0x12e)](_0x31f8fe,[_0x2de054,_0x446956]):_0x1e68ed[_0x325c42(0x12e)](_0x31f8fe,[_0x2de054,_0x446956]);}}for(const [_0xc59fc2,_0x26b7d7]of _0x3a826e){if(this[_0x325c42(0x120)]['has'](_0xc59fc2))continue;const [_0x5cbb10,_0x419abf]=_0x26b7d7;_0x5cbb10[_0x325c42(0x121)]&&_0x5cbb10[_0x325c42(0x11d)][_0x325c42(0x104)](_0x419abf),_0x419abf[_0x325c42(0x121)]&&_0x419abf[_0x325c42(0x11d)][_0x325c42(0x104)](_0x5cbb10);}for(const [_0x33bc71,_0x31f1fb]of this[_0x325c42(0x120)]){if(_0x3a826e[_0x325c42(0x12d)](_0x33bc71))continue;const [_0x55c76c,_0xf5ecb3]=_0x31f1fb;_0x55c76c[_0x325c42(0x121)]&&_0x55c76c[_0x325c42(0x107)][_0x325c42(0x104)](_0xf5ecb3),_0xf5ecb3[_0x325c42(0x121)]&&_0xf5ecb3[_0x325c42(0x107)][_0x325c42(0x104)](_0x55c76c);}for(const [_0x296a8e,_0x1878b6]of _0x1e68ed){if(this[_0x325c42(0x10e)]['has'](_0x296a8e))continue;const [_0xa126b8,_0x2c1189]=_0x1878b6,_0xa4eb7e=_0x54ebc8['get'](_0xa126b8),_0x26a403=_0x54ebc8[_0x325c42(0x110)](_0x2c1189);if(!_0xa4eb7e||!_0x26a403)continue;const _0x3d90ef=this[_0x325c42(0x10a)](_0xa126b8,_0x2c1189,_0xa4eb7e,_0x26a403);_0xa126b8[_0x325c42(0x10d)]&&_0xa126b8[_0x325c42(0x115)]['broadcast'](_0x3d90ef);if(_0x2c1189[_0x325c42(0x10d)]){const _0x57271a={'self':_0x2c1189,'other':_0xa126b8,'point':_0x3d90ef[_0x325c42(0x13b)][_0x325c42(0x12c)](),'normal':_0x3d90ef[_0x325c42(0x135)]['clone']()[_0x325c42(0x103)](-1),'penetrationDepth':_0x3d90ef[_0x325c42(0x12f)]};_0x2c1189[_0x325c42(0x115)][_0x325c42(0x104)](_0x57271a);}}this[_0x325c42(0x120)]=_0x3a826e,this['previousBlockPairs']=_0x1e68ed;}[_0x6e4860(0x10a)](_0x2b3713,_0x57a8c9,_0x152709,_0x5a4d12){const _0x357cc9=_0x6e4860,_0x3b78de=Math[_0x357cc9(0x116)](_0x152709['max']['x'],_0x5a4d12[_0x357cc9(0x112)]['x'])-Math[_0x357cc9(0x112)](_0x152709[_0x357cc9(0x116)]['x'],_0x5a4d12[_0x357cc9(0x116)]['x']),_0x1297be=Math[_0x357cc9(0x116)](_0x152709[_0x357cc9(0x112)]['y'],_0x5a4d12[_0x357cc9(0x112)]['y'])-Math[_0x357cc9(0x112)](_0x152709[_0x357cc9(0x116)]['y'],_0x5a4d12[_0x357cc9(0x116)]['y']),_0xf58218=Math[_0x357cc9(0x116)](_0x152709[_0x357cc9(0x112)]['z'],_0x5a4d12[_0x357cc9(0x112)]['z'])-Math['max'](_0x152709[_0x357cc9(0x116)]['z'],_0x5a4d12[_0x357cc9(0x116)]['z']);let _0x176f70=_0x3b78de,_0x28bddc='x';_0x1297be<_0x176f70&&(_0x176f70=_0x1297be,_0x28bddc='y');_0xf58218<_0x176f70&&(_0x176f70=_0xf58218,_0x28bddc='z');const _0x310fdc=_0x152709[_0x357cc9(0x122)](new webgpu.Vector3()),_0x47bbbc=_0x5a4d12[_0x357cc9(0x122)](new webgpu.Vector3()),_0x3b605f=_0x47bbbc[_0x357cc9(0x12c)]()[_0x357cc9(0xfe)](_0x310fdc),_0x18e233=new webgpu.Vector3(0x0,0x0,0x0);if(_0x28bddc==='x')_0x18e233['set'](Math[_0x357cc9(0xfd)](_0x3b605f['x'])||0x1,0x0,0x0);else _0x28bddc==='y'?_0x18e233[_0x357cc9(0x12e)](0x0,Math[_0x357cc9(0xfd)](_0x3b605f['y'])||0x1,0x0):_0x18e233[_0x357cc9(0x12e)](0x0,0x0,Math['sign'](_0x3b605f['z'])||0x1);const _0x4fbfa2=new webgpu.Vector3((Math[_0x357cc9(0x112)](_0x152709[_0x357cc9(0x116)]['x'],_0x5a4d12[_0x357cc9(0x116)]['x'])+Math['min'](_0x152709[_0x357cc9(0x112)]['x'],_0x5a4d12[_0x357cc9(0x112)]['x']))*0.5,(Math[_0x357cc9(0x112)](_0x152709['min']['y'],_0x5a4d12[_0x357cc9(0x116)]['y'])+Math['min'](_0x152709[_0x357cc9(0x112)]['y'],_0x5a4d12[_0x357cc9(0x112)]['y']))*0.5,(Math[_0x357cc9(0x112)](_0x152709[_0x357cc9(0x116)]['z'],_0x5a4d12[_0x357cc9(0x116)]['z'])+Math[_0x357cc9(0x116)](_0x152709[_0x357cc9(0x112)]['z'],_0x5a4d12[_0x357cc9(0x112)]['z']))*0.5);return {'self':_0x2b3713,'other':_0x57a8c9,'point':_0x4fbfa2,'normal':_0x18e233,'penetrationDepth':Math[_0x357cc9(0x112)](0x0,_0x176f70)};}[_0x6e4860(0x108)](_0x3dfed7,_0x328b6b){const _0x27a82d=_0x6e4860;return _0x3dfed7[_0x27a82d(0x118)]<_0x328b6b[_0x27a82d(0x118)]?_0x3dfed7['uuid']+'|'+_0x328b6b[_0x27a82d(0x118)]:_0x328b6b[_0x27a82d(0x118)]+'|'+_0x3dfed7[_0x27a82d(0x118)];}[_0x6e4860(0x130)](_0xc76a21,_0x1bf704,_0x44b6a7,_0x4b7db2){const _0x11b450=_0x6e4860;let _0x89361f=0x0,_0x1ab4fd=_0x44b6a7;const _0x21d2f0=new webgpu.Vector3(0x0,0x0,0x0),_0x5f5613=1e-8,_0x46da1f=_0x76d552=>{const _0x7c6fc7=_0x4aa0,_0x54b345=_0xc76a21[_0x76d552],_0x4a55eb=_0x1bf704[_0x76d552],_0x1258ee=_0x4b7db2[_0x7c6fc7(0x116)][_0x76d552],_0x49e14c=_0x4b7db2[_0x7c6fc7(0x112)][_0x76d552];if(Math['abs'](_0x4a55eb)<_0x5f5613){if(_0x54b345<_0x1258ee||_0x54b345>_0x49e14c)return ![];return !![];}const _0x87437c=0x1/_0x4a55eb;let _0x5914d5,_0x185e8e;const _0x54f0c3=new webgpu.Vector3(0x0,0x0,0x0);_0x4a55eb>=0x0?(_0x5914d5=(_0x1258ee-_0x54b345)*_0x87437c,_0x185e8e=(_0x49e14c-_0x54b345)*_0x87437c,_0x54f0c3[_0x76d552]=-1):(_0x5914d5=(_0x49e14c-_0x54b345)*_0x87437c,_0x185e8e=(_0x1258ee-_0x54b345)*_0x87437c,_0x54f0c3[_0x76d552]=0x1);_0x5914d5>_0x89361f&&(_0x89361f=_0x5914d5,_0x21d2f0[_0x7c6fc7(0x139)](_0x54f0c3));_0x185e8e<_0x1ab4fd&&(_0x1ab4fd=_0x185e8e);if(_0x89361f>_0x1ab4fd)return ![];return !![];};if(!_0x46da1f('x')||!_0x46da1f('y')||!_0x46da1f('z'))return null;if(_0x1ab4fd<0x0)return null;const _0x2666ad=Math[_0x11b450(0x112)](0x0,_0x89361f);if(_0x2666ad>_0x44b6a7)return null;return {'distance':_0x2666ad,'normal':_0x21d2f0,'point':_0xc76a21[_0x11b450(0x12c)]()[_0x11b450(0x111)](_0x1bf704['clone']()[_0x11b450(0x103)](_0x2666ad))};}}
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
function _0x4e88(_0x1596b4,_0xbe8181){_0x1596b4=_0x1596b4-0x129;var _0x745dc5=_0x745d();var _0x4e8834=_0x745dc5[_0x1596b4];return _0x4e8834;}var _0x2d88b4=_0x4e88;(function(_0x9dc018,_0x38c7e4){var _0x26c3a3=_0x4e88,_0x564478=_0x9dc018();while(!![]){try{var _0x2ba44e=-parseInt(_0x26c3a3(0x152))/0x1+parseInt(_0x26c3a3(0x13e))/0x2+-parseInt(_0x26c3a3(0x139))/0x3*(parseInt(_0x26c3a3(0x14f))/0x4)+-parseInt(_0x26c3a3(0x13f))/0x5+-parseInt(_0x26c3a3(0x14e))/0x6+parseInt(_0x26c3a3(0x12b))/0x7+parseInt(_0x26c3a3(0x12d))/0x8*(parseInt(_0x26c3a3(0x131))/0x9);if(_0x2ba44e===_0x38c7e4)break;else _0x564478['push'](_0x564478['shift']());}catch(_0x1aaaf9){_0x564478['push'](_0x564478['shift']());}}}(_0x745d,0x9bd8c));function _0x745d(){var _0x5cb22b=['scene\x20is\x20null','forEach','clippingPlanes','11601GMHxMu','viewport','app','getChildActorsByIds','add','tick','controller','removeActorClipping','183UgIgSn','actor.threeObject\x20is\x20null','removeTickableActor','rootComponent','rootActor\x20is\x20null','2297366USgzPA','4242035Zhzgsp','target.threeObject\x20is\x20null','_clippingGroup','onAddedToWorld','children','_rootActor','destroy','markRenderStateDirty','actors','removeActor','remove','tickableActors','position','init','removeActors','5294286LGoZZJ','9236GflfZz','_physics','clear','188413vOBfNZ','getChildActorById','rootActor','physics','threeObject','addChildActor','scene','delete','worldParam','addActor','7933576RzSoIZ','getActorById','2584RkHQac'];_0x745d=function(){return _0x5cb22b;};return _0x745d();}class World{get[_0x2d88b4(0x158)](){var _0x4ce9aa=_0x2d88b4,_0x34079b;let _0x26c2cd=(_0x34079b=this['_rootActor'])===null||_0x34079b===void 0?void 0:_0x34079b[_0x4ce9aa(0x158)];if(!_0x26c2cd)throw new Error(_0x4ce9aa(0x12e));return _0x26c2cd;}get[_0x2d88b4(0x132)](){var _0x5eb854=_0x2d88b4;return this['app'][_0x5eb854(0x132)];}get[_0x2d88b4(0x137)](){var _0x5cca19=_0x2d88b4;return this[_0x5cca19(0x133)][_0x5cca19(0x137)];}get[_0x2d88b4(0x154)](){var _0x33e925=_0x2d88b4;if(!this[_0x33e925(0x144)])throw new Error(_0x33e925(0x13d));return this[_0x33e925(0x144)];}get[_0x2d88b4(0x155)](){var _0x166106=_0x2d88b4;return this[_0x166106(0x150)];}constructor(_0x18ffbb,_0x3b3353){var _0x4b1cdc=_0x2d88b4;this[_0x4b1cdc(0x144)]=null,this[_0x4b1cdc(0x147)]=new Set(),this[_0x4b1cdc(0x14a)]=new Set(),this[_0x4b1cdc(0x141)]=null,this['app']=_0x18ffbb,this[_0x4b1cdc(0x129)]=_0x3b3353,this[_0x4b1cdc(0x150)]=new PhysicsWorld();}[_0x2d88b4(0x14c)](){var _0x59fb07=_0x2d88b4;this[_0x59fb07(0x144)]=new this['worldParam']['levelActorClass'](this['app']);}['addTickableActor'](_0x4be107){var _0x975ec1=_0x2d88b4;this[_0x975ec1(0x14a)][_0x975ec1(0x135)](_0x4be107);}[_0x2d88b4(0x13b)](_0x444f90){var _0x1f720e=_0x2d88b4;this['tickableActors'][_0x1f720e(0x159)](_0x444f90);}[_0x2d88b4(0x136)](_0x4eca95){var _0x3d021f=_0x2d88b4;this[_0x3d021f(0x14a)][_0x3d021f(0x12f)](_0xeec619=>{var _0x85d223=_0x3d021f;_0xeec619[_0x85d223(0x136)](_0x4eca95);}),this[_0x3d021f(0x150)][_0x3d021f(0x136)](_0x4eca95);}['destroy'](){var _0x49fa20=_0x2d88b4,_0x13f54d;this[_0x49fa20(0x14a)][_0x49fa20(0x151)](),this[_0x49fa20(0x150)][_0x49fa20(0x151)](),this[_0x49fa20(0x147)][_0x49fa20(0x12f)](_0x18d994=>{_0x18d994['destroy']();}),this[_0x49fa20(0x147)][_0x49fa20(0x151)](),(_0x13f54d=this['_rootActor'])===null||_0x13f54d===void 0?void 0:_0x13f54d[_0x49fa20(0x145)](),this[_0x49fa20(0x144)]=null;}[_0x2d88b4(0x12a)](_0x4439e1){var _0x5704a1=_0x2d88b4,_0x3036f9;if(!_0x4439e1[_0x5704a1(0x13c)][_0x5704a1(0x156)])throw new Error(_0x5704a1(0x13a));_0x4439e1['removeFromParent'](),(_0x3036f9=this['_rootActor'])===null||_0x3036f9===void 0?void 0:_0x3036f9[_0x5704a1(0x157)](_0x4439e1,exports.AttachmentRules['KeepRelative']),this['actors'][_0x5704a1(0x135)](_0x4439e1),_0x4439e1[_0x5704a1(0x142)](this),this[_0x5704a1(0x132)][_0x5704a1(0x146)]();}[_0x2d88b4(0x148)](_0x4616b1){var _0x1b3d45=_0x2d88b4;_0x4616b1[_0x1b3d45(0x145)](),this[_0x1b3d45(0x147)][_0x1b3d45(0x159)](_0x4616b1),this[_0x1b3d45(0x132)][_0x1b3d45(0x146)]();}[_0x2d88b4(0x14d)](_0x1e5b1f){var _0x4707e4=_0x2d88b4;for(const _0x1f8662 of _0x1e5b1f){_0x1f8662[_0x4707e4(0x145)](),this[_0x4707e4(0x147)][_0x4707e4(0x159)](_0x1f8662);}this[_0x4707e4(0x132)]['markRenderStateDirty']();}[_0x2d88b4(0x12c)](_0x8c38b2){var _0x5ba955=_0x2d88b4;return this[_0x5ba955(0x154)][_0x5ba955(0x153)](_0x8c38b2,!![]);}['getActorsByIds'](_0xe39fc7){var _0x5bdc85=_0x2d88b4;return this['rootActor'][_0x5bdc85(0x134)](_0xe39fc7,!![]);}['addActorClipping'](_0x394e18,_0x1b8bdc){var _0x2d05c0=_0x2d88b4;if(!_0x394e18[_0x2d05c0(0x13c)]['threeObject'])throw new Error(_0x2d05c0(0x140));!this[_0x2d05c0(0x141)]&&(this[_0x2d05c0(0x141)]=new webgpu.ClippingGroup(),this[_0x2d05c0(0x141)][_0x2d05c0(0x14b)]['set'](0x0,0x0,0x0)),this[_0x2d05c0(0x141)][_0x2d05c0(0x130)]=_0x1b8bdc,this[_0x2d05c0(0x158)][_0x2d05c0(0x135)](this[_0x2d05c0(0x141)]),this[_0x2d05c0(0x141)][_0x2d05c0(0x135)](_0x394e18[_0x2d05c0(0x13c)][_0x2d05c0(0x156)]);}[_0x2d88b4(0x138)](_0x5c7584,_0xc0fae5=null){var _0x569418=_0x2d88b4,_0x10088e;if(!this[_0x569418(0x141)])return;if(!_0x5c7584['rootComponent'][_0x569418(0x156)])throw new Error(_0x569418(0x140));_0xc0fae5?_0xc0fae5[_0x569418(0x157)](_0x5c7584,exports.AttachmentRules['KeepRelative']):this[_0x569418(0x12a)](_0x5c7584),this[_0x569418(0x141)][_0x569418(0x143)]['length']===0x0&&((_0x10088e=this[_0x569418(0x141)]['parent'])===null||_0x10088e===void 0?void 0:_0x10088e[_0x569418(0x149)](this['_clippingGroup']),this['_clippingGroup']=null);}}
|
|
65
65
|
|
|
66
|
-
(function(
|
|
66
|
+
(function(_0xf352f0,_0x85d450){var _0x95d7cb=_0x464f,_0x52b4e6=_0xf352f0();while(!![]){try{var _0x4dfdaf=parseInt(_0x95d7cb(0xaa))/0x1*(-parseInt(_0x95d7cb(0xa4))/0x2)+parseInt(_0x95d7cb(0xa5))/0x3*(parseInt(_0x95d7cb(0x9f))/0x4)+-parseInt(_0x95d7cb(0xa9))/0x5+-parseInt(_0x95d7cb(0xa1))/0x6*(-parseInt(_0x95d7cb(0xab))/0x7)+-parseInt(_0x95d7cb(0xa3))/0x8+-parseInt(_0x95d7cb(0xa2))/0x9+parseInt(_0x95d7cb(0xa8))/0xa*(parseInt(_0x95d7cb(0xa7))/0xb);if(_0x4dfdaf===_0x85d450)break;else _0x52b4e6['push'](_0x52b4e6['shift']());}catch(_0x51d571){_0x52b4e6['push'](_0x52b4e6['shift']());}}}(_0x44e5,0xbc1af));exports.RendererType = void 0;(function(_0x4b181b){var _0xbb519e=_0x464f;_0x4b181b[_0x4b181b[_0xbb519e(0xa6)]=0x0]=_0xbb519e(0xa6),_0x4b181b[_0x4b181b['WebGL']=0x1]=_0xbb519e(0xa0);}(exports.RendererType||(exports.RendererType={})));function _0x44e5(){var _0x49a968=['11467520DVoiXv','653558QGzNRb','57qMzTEh','WebGPU','23353nOcOon','9370VRYBfK','1926075qEtnox','1qjgYwJ','5815754fOMTXx','164452DVJbdt','WebGL','6HwhRIm','6167763QDcAPz'];_0x44e5=function(){return _0x49a968;};return _0x44e5();}function _0x464f(_0x1325c8,_0x34369d){_0x1325c8=_0x1325c8-0x9f;var _0x44e5ba=_0x44e5();var _0x464f93=_0x44e5ba[_0x1325c8];return _0x464f93;}const DefaultViewportParam={'elementId':null,'renderer':{'type':exports.RendererType['WebGPU']},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
67
67
|
|
|
68
|
-
function
|
|
68
|
+
function _0x5def(){const _0x4b9a15=['727614vntNMj','ScreenSpaceReflection','GroundTruthAmbientOcclusion','Antialiasing','6256pIQeai','10027728RfbBkg','Bloom','Outline','192662tcndYT','3209675vMDsTR','5299UcYfQq','DepthOfField','3fyhblh','2307006eFKXNN','2317220iPApbR'];_0x5def=function(){return _0x4b9a15;};return _0x5def();}(function(_0x315f4a,_0xe798c0){const _0x33ae67=_0x255e,_0x41220c=_0x315f4a();while(!![]){try{const _0x242010=-parseInt(_0x33ae67(0x1d2))/0x1+parseInt(_0x33ae67(0x1da))/0x2*(-parseInt(_0x33ae67(0x1de))/0x3)+parseInt(_0x33ae67(0x1d1))/0x4+-parseInt(_0x33ae67(0x1db))/0x5+-parseInt(_0x33ae67(0x1d0))/0x6+-parseInt(_0x33ae67(0x1dc))/0x7*(-parseInt(_0x33ae67(0x1d6))/0x8)+parseInt(_0x33ae67(0x1d7))/0x9;if(_0x242010===_0xe798c0)break;else _0x41220c['push'](_0x41220c['shift']());}catch(_0x205c33){_0x41220c['push'](_0x41220c['shift']());}}}(_0x5def,0x6a392));function _0x255e(_0x2e2752,_0x4a1b1b){_0x2e2752=_0x2e2752-0x1d0;const _0x5defce=_0x5def();let _0x255e6e=_0x5defce[_0x2e2752];return _0x255e6e;}const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x121be3){const _0xcb6678=_0x255e;_0x121be3[_0x121be3[_0xcb6678(0x1d8)]=0x0]=_0xcb6678(0x1d8),_0x121be3[_0x121be3[_0xcb6678(0x1dd)]=0x1]='DepthOfField',_0x121be3[_0x121be3[_0xcb6678(0x1d3)]=0x2]='ScreenSpaceReflection',_0x121be3[_0x121be3[_0xcb6678(0x1d4)]=0x3]=_0xcb6678(0x1d4),_0x121be3[_0x121be3[_0xcb6678(0x1d9)]=0x4]=_0xcb6678(0x1d9),_0x121be3[_0x121be3[_0xcb6678(0x1d5)]=0x5]=_0xcb6678(0x1d5),_0x121be3[_0x121be3['LensFlare']=0x6]='LensFlare';}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
69
69
|
|
|
70
|
-
const
|
|
70
|
+
const _0x18cc0a=_0x11fb;function _0x11fb(_0x39458e,_0x241118){_0x39458e=_0x39458e-0xb8;const _0x1a6d69=_0x1a6d();let _0x11fbb0=_0x1a6d69[_0x39458e];return _0x11fbb0;}(function(_0x3856ee,_0xb3aadd){const _0x147f29=_0x11fb,_0x10f7c8=_0x3856ee();while(!![]){try{const _0x3ba425=parseInt(_0x147f29(0xc0))/0x1+-parseInt(_0x147f29(0xbc))/0x2+-parseInt(_0x147f29(0xbe))/0x3*(parseInt(_0x147f29(0xbb))/0x4)+parseInt(_0x147f29(0xb8))/0x5+-parseInt(_0x147f29(0xb9))/0x6+parseInt(_0x147f29(0xba))/0x7+parseInt(_0x147f29(0xbd))/0x8;if(_0x3ba425===_0xb3aadd)break;else _0x10f7c8['push'](_0x10f7c8['shift']());}catch(_0x87772e){_0x10f7c8['push'](_0x10f7c8['shift']());}}}(_0x1a6d,0xd6ec3));const DefaultBloomParam={'type':exports.PostProcessStepType[_0x18cc0a(0xbf)],'threshold':0x0,'strength':0x1,'radius':0x0};function _0x1a6d(){const _0x14a2dd=['69cJlxlI','Bloom','374199GXOqxj','6842940kHaNOG','7117482QXdbmB','10885070bWgDCi','111292LAArLo','3121558FDksuL','7755848hpDRfI'];_0x1a6d=function(){return _0x14a2dd;};return _0x1a6d();}
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
(function(_0x494c4e,_0x2f2a0d){const _0x5e100b=_0x51b7,_0x2a55f7=_0x494c4e();while(!![]){try{const _0x248bf6=parseInt(_0x5e100b(0x1da))/0x1*(parseInt(_0x5e100b(0x1d9))/0x2)+-parseInt(_0x5e100b(0x1d8))/0x3+-parseInt(_0x5e100b(0x1d2))/0x4*(parseInt(_0x5e100b(0x1db))/0x5)+parseInt(_0x5e100b(0x1d1))/0x6+-parseInt(_0x5e100b(0x1d5))/0x7*(-parseInt(_0x5e100b(0x1d4))/0x8)+parseInt(_0x5e100b(0x1d6))/0x9+-parseInt(_0x5e100b(0x1d7))/0xa*(parseInt(_0x5e100b(0x1d3))/0xb);if(_0x248bf6===_0x2f2a0d)break;else _0x2a55f7['push'](_0x2a55f7['shift']());}catch(_0xa12f40){_0x2a55f7['push'](_0x2a55f7['shift']());}}}(_0x39da,0xb26e3));function _0x39da(){const _0x2682ac=['58XwMCNu','36089NBKcZJ','2856430BtaGIK','7535238PoRSwm','4siaHWs','14567971ywkgVy','16lLtMMW','1907479LFpbth','6509979VahVHj','10ZhUWEr','2832843DuRfVC'];_0x39da=function(){return _0x2682ac;};return _0x39da();}function _0x51b7(_0x278a55,_0x52ed74){_0x278a55=_0x278a55-0x1d1;const _0x39daeb=_0x39da();let _0x51b761=_0x39daeb[_0x278a55];return _0x51b761;}const DefaultDOFParam={'type':exports.PostProcessStepType['DepthOfField'],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
function _0x1544(){const _0x52cf67=['3212307cQyoFy','731385KdvFVS','15pyvuug','335372JTVNDv','3ltyRrC','8827020uZflVR','2008FhgUae','227682LIIHsM','241102NVSrJI','10395KLwcPP'];_0x1544=function(){return _0x52cf67;};return _0x1544();}(function(_0x3d154c,_0x505688){const _0x2fbf94=_0x1b4e,_0x9a4523=_0x3d154c();while(!![]){try{const _0x3565af=-parseInt(_0x2fbf94(0x1d2))/0x1*(-parseInt(_0x2fbf94(0x1cc))/0x2)+parseInt(_0x2fbf94(0x1cf))/0x3+-parseInt(_0x2fbf94(0x1d1))/0x4*(parseInt(_0x2fbf94(0x1d0))/0x5)+parseInt(_0x2fbf94(0x1cb))/0x6+-parseInt(_0x2fbf94(0x1cd))/0x7*(-parseInt(_0x2fbf94(0x1d4))/0x8)+parseInt(_0x2fbf94(0x1ce))/0x9+-parseInt(_0x2fbf94(0x1d3))/0xa;if(_0x3565af===_0x505688)break;else _0x9a4523['push'](_0x9a4523['shift']());}catch(_0x2c6271){_0x9a4523['push'](_0x9a4523['shift']());}}}(_0x1544,0x3a4e6));function _0x1b4e(_0x335ee1,_0x208454){_0x335ee1=_0x335ee1-0x1cb;const _0x154408=_0x1544();let _0x1b4ea8=_0x154408[_0x335ee1];return _0x1b4ea8;}const DefaultGTAOParam={'type':exports.PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
function _0x243e(){const _0x29f79a=['143462rttPgX','5EWHYJb','2466972tDXorT','Outline','6XumstD','13753OPycOc','2076792FalPmu','7cHAncU','168804Ipmvcm','681404meGlQn','68277QYShvy','300ygIwYf'];_0x243e=function(){return _0x29f79a;};return _0x243e();}function _0xb03a(_0x239855,_0x56cb56){_0x239855=_0x239855-0x1b9;const _0x243e6a=_0x243e();let _0xb03acc=_0x243e6a[_0x239855];return _0xb03acc;}const _0x427420=_0xb03a;(function(_0x1c8f5c,_0x391a40){const _0xc1f488=_0xb03a,_0x2d1fc9=_0x1c8f5c();while(!![]){try{const _0x4b809c=-parseInt(_0xc1f488(0x1c1))/0x1+-parseInt(_0xc1f488(0x1bc))/0x2*(parseInt(_0xc1f488(0x1c0))/0x3)+-parseInt(_0xc1f488(0x1b9))/0x4*(-parseInt(_0xc1f488(0x1bd))/0x5)+-parseInt(_0xc1f488(0x1c4))/0x6+-parseInt(_0xc1f488(0x1c3))/0x7*(-parseInt(_0xc1f488(0x1c2))/0x8)+-parseInt(_0xc1f488(0x1be))/0x9+parseInt(_0xc1f488(0x1bb))/0xa*(parseInt(_0xc1f488(0x1ba))/0xb);if(_0x4b809c===_0x391a40)break;else _0x2d1fc9['push'](_0x2d1fc9['shift']());}catch(_0x451c25){_0x2d1fc9['push'](_0x2d1fc9['shift']());}}}(_0x243e,0x2641f));const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x427420(0x1bf)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
77
77
|
|
|
78
|
-
const
|
|
78
|
+
const _0x5cdf9c=_0x43e1;(function(_0x1bfdcc,_0x1af4c2){const _0x279eb6=_0x43e1,_0x2e3451=_0x1bfdcc();while(!![]){try{const _0x9f84c9=parseInt(_0x279eb6(0x1ad))/0x1+parseInt(_0x279eb6(0x1a7))/0x2*(parseInt(_0x279eb6(0x1aa))/0x3)+-parseInt(_0x279eb6(0x1b0))/0x4+parseInt(_0x279eb6(0x1ac))/0x5+-parseInt(_0x279eb6(0x1ae))/0x6*(-parseInt(_0x279eb6(0x1b1))/0x7)+-parseInt(_0x279eb6(0x1af))/0x8*(parseInt(_0x279eb6(0x1a8))/0x9)+parseInt(_0x279eb6(0x1b2))/0xa*(-parseInt(_0x279eb6(0x1ab))/0xb);if(_0x9f84c9===_0x1af4c2)break;else _0x2e3451['push'](_0x2e3451['shift']());}catch(_0x3d99cd){_0x2e3451['push'](_0x2e3451['shift']());}}}(_0x477f,0x94049));function _0x477f(){const _0x575801=['2101692rLllhi','11SVLTmL','5183425DvkFXp','651791QhAfeT','1271202aLguvD','596648XiDChR','494008wNKoCY','14AEkUdn','17846670vsOBzH','2ZvRVAP','36mGXCDE','LensFlare'];_0x477f=function(){return _0x575801;};return _0x477f();}function _0x43e1(_0x4803f8,_0x55a740){_0x4803f8=_0x4803f8-0x1a7;const _0x477f7c=_0x477f();let _0x43e1af=_0x477f7c[_0x4803f8];return _0x43e1af;}const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0x5cdf9c(0x1a9)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
79
79
|
|
|
80
|
-
const _0x12530e=_0x16fa;(function(_0x383beb,_0x5831cc){const _0x14526b=_0x16fa,_0x5e8715=_0x383beb();while(!![]){try{const _0x44b595=parseInt(_0x14526b(0x170))/0x1+parseInt(_0x14526b(0x17f))/0x2*(parseInt(_0x14526b(0x110))/0x3)+-parseInt(_0x14526b(0x14e))/0x4*(parseInt(_0x14526b(0x151))/0x5)+-parseInt(_0x14526b(0x17c))/0x6+parseInt(_0x14526b(0x12e))/0x7*(parseInt(_0x14526b(0x15f))/0x8)+parseInt(_0x14526b(0x158))/0x9*(-parseInt(_0x14526b(0x125))/0xa)+parseInt(_0x14526b(0x156))/0xb*(parseInt(_0x14526b(0x12d))/0xc);if(_0x44b595===_0x5831cc)break;else _0x5e8715['push'](_0x5e8715['shift']());}catch(_0x584b22){_0x5e8715['push'](_0x5e8715['shift']());}}}(_0x4603,0x50aa9));function _0x16fa(_0x18f16b,_0x1e865a){_0x18f16b=_0x18f16b-0x10a;const _0x460352=_0x4603();let _0x16fab5=_0x460352[_0x18f16b];return _0x16fab5;}function _0x4603(){const _0x1700a6=['useTemporalFiltering','samples','Antialiasing','selectedObjects','setup','normal','output','gtaoThickness','push','outlineEnabled','focusDistanceNode','set','steps','scale','Bloom','lensflarePass','add','2212396lcATgx','addOutlineObject','has','5CZkbdD','outlineVisibleEdgeColor','dispose','aperture','renderer','73018covwDn','outputNode','9WWAlms','outlineEdgeThickness','maxblur','bokehScaleNode','updateSteps','outlineHiddenEdgeColor','value','2973304kWOfqE','edgeGlow','bloomThreshold','outlinePass','dofFocus','getViewZNode','camera','ghostSpacing','buildPipeline','removeOutlineObject','distanceFallOff','gtaoPass','DepthOfField','setOutlineObjects','ghostSamples','updateAllUniforms','outlineEdgeGlow','407202BXRbDt','distanceExponent','pulsePeriod','bloomRadius','lensflareEnabled','ghostTint','hiddenEdgeColor','resolutionScale','setMRT','type','dofAperture','markDirty','2831874ORKFhI','method','onDirtyCallback','146HLUwuk','getStepParam','lut3dTexture','processing','getLUT3DTexture','fxaa','onBuildFinalNode','11082XyKOWq','visibleEdgeColor','postProcessParam','assign','smaaEnabled','velocity','setLUT3DTexture','edgeStrength','gtaoDistanceExponent','scene','outlinePulsePeriod','gtaoScale','edgeThicknessNode','strength','render','bloomPass','traaPass','edgeThickness','dofPass','mul','select','3966680dSiUQZ','thickness','focus','bloomStrength','div','threshold','getTextureNode','LensFlare','1272OgGZbO','7vSWWAa','smaa','gtaoEnabled','createEffectUniforms','postProcessing','radius','Outline','depth','map','effectUniforms','updateCamera','GroundTruthAmbientOcclusion','outlineObjects','bloomEnabled','greaterThan'];_0x4603=function(){return _0x1700a6;};return _0x4603();}class PostProcessManager{constructor(_0x1f4195,_0x41d384,_0x5f7369,_0x10ba5d,_0x3b58d9){const _0x33e2c0=_0x16fa;this[_0x33e2c0(0x132)]=null,this['outlineObjects']=[],this[_0x33e2c0(0x137)]=null,this[_0x33e2c0(0x162)]=null,this['bloomPass']=null,this[_0x33e2c0(0x122)]=null,this['gtaoPass']=null,this['traaPass']=null,this[_0x33e2c0(0x14c)]=null,this[_0x33e2c0(0x10b)]=null,this['onDirtyCallback']=null,this[_0x33e2c0(0x155)]=_0x1f4195,this[_0x33e2c0(0x119)]=_0x41d384,this[_0x33e2c0(0x165)]=_0x5f7369,this[_0x33e2c0(0x112)]=Object[_0x33e2c0(0x113)]({},_0x10ba5d),this[_0x33e2c0(0x17e)]=_0x3b58d9!==null&&_0x3b58d9!==void 0?_0x3b58d9:null;}get[_0x12530e(0x10c)](){return this['postProcessing'];}[_0x12530e(0x138)](_0x1e21a4){const _0x5b6935=_0x12530e;this[_0x5b6935(0x165)]=_0x1e21a4,(!this[_0x5b6935(0x132)]||!this[_0x5b6935(0x137)])&&(this[_0x5b6935(0x167)](),this['updateAllUniforms'](),this[_0x5b6935(0x17b)]());}[_0x12530e(0x141)](){const _0xaca417=_0x12530e;(!this['postProcessing']||!this['effectUniforms'])&&this['buildPipeline'](),this[_0xaca417(0x16e)](),this[_0xaca417(0x17b)]();}[_0x12530e(0x167)](){const _0x4c7e68=_0x12530e;var _0x349467,_0x28fdb7,_0x3a92b7,_0x2a5d06,_0x58d8f6;this['postProcessing']&&this[_0x4c7e68(0x132)][_0x4c7e68(0x153)]();this[_0x4c7e68(0x132)]=new webgpu.PostProcessing(this[_0x4c7e68(0x155)]),this[_0x4c7e68(0x162)]=null,this[_0x4c7e68(0x11f)]=null,this[_0x4c7e68(0x122)]=null,this[_0x4c7e68(0x16a)]=null,this[_0x4c7e68(0x120)]=null,this['lensflarePass']=null,this[_0x4c7e68(0x137)]=this[_0x4c7e68(0x131)]();const _0x56a2b7=new Set(this[_0x4c7e68(0x112)][_0x4c7e68(0x149)][_0x4c7e68(0x136)](_0x23aa15=>_0x23aa15[_0x4c7e68(0x179)])),_0x614a94=this[_0x4c7e68(0x10a)](exports.PostProcessStepType[_0x4c7e68(0x13f)]),_0x449c37=_0x56a2b7['has'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']),_0x4a4313=(_0x614a94===null||_0x614a94===void 0?void 0:_0x614a94[_0x4c7e68(0x17d)])==='traa',_0x5d4dca=tsl.pass(this[_0x4c7e68(0x119)],this[_0x4c7e68(0x165)]);if(_0x449c37||_0x4a4313){const _0x27b0fa={'output':tsl.output};if(_0x449c37)_0x27b0fa[_0x4c7e68(0x142)]=tsl.normalView;if(_0x4a4313)_0x27b0fa[_0x4c7e68(0x115)]=tsl.velocity;_0x5d4dca[_0x4c7e68(0x178)](tsl.mrt(_0x27b0fa));}const _0xed37dd=_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x143)),_0x47469d=_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x135)),_0x586ef0=_0x5d4dca[_0x4c7e68(0x164)](),_0x2285b3=_0x449c37?_0x5d4dca['getTextureNode']('normal'):null,_0xbd280f=_0x4a4313?_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x115)):null,_0x1d5b49=this[_0x4c7e68(0x137)];let _0x1121ce=_0xed37dd;const _0xd907c2=_0x56a2b7['has'](exports.PostProcessStepType['Bloom']),_0x54f1e6=_0x56a2b7[_0x4c7e68(0x150)](exports.PostProcessStepType[_0x4c7e68(0x12c)]);if(_0xd907c2||_0x54f1e6){const _0x2e5976=(_0x349467=this[_0x4c7e68(0x10a)](exports.PostProcessStepType[_0x4c7e68(0x14b)]))!==null&&_0x349467!==void 0?_0x349467:DefaultBloomParam;this[_0x4c7e68(0x11f)]=BloomNode_js.bloom(_0xed37dd),this['bloomPass'][_0x4c7e68(0x12a)][_0x4c7e68(0x15e)]=_0x2e5976[_0x4c7e68(0x12a)],this[_0x4c7e68(0x11f)][_0x4c7e68(0x11d)][_0x4c7e68(0x15e)]=_0x2e5976['strength'],this[_0x4c7e68(0x11f)][_0x4c7e68(0x133)][_0x4c7e68(0x15e)]=_0x2e5976[_0x4c7e68(0x133)];if(_0xd907c2){const _0x1d198f=this[_0x4c7e68(0x11f)][_0x4c7e68(0x123)](_0x1d5b49[_0x4c7e68(0x128)]);_0x1121ce=tsl.vec4(_0xed37dd['r'][_0x4c7e68(0x14d)](_0x1d198f['r']),_0xed37dd['g'][_0x4c7e68(0x14d)](_0x1d198f['g']),_0xed37dd['b'][_0x4c7e68(0x14d)](_0x1d198f['b']),_0xed37dd['a']);}if(_0x54f1e6){const _0xaedfb6=(_0x28fdb7=this[_0x4c7e68(0x10a)](exports.PostProcessStepType['LensFlare']))!==null&&_0x28fdb7!==void 0?_0x28fdb7:DefaultLensFlareParam;this[_0x4c7e68(0x14c)]=LensflareNode_js.lensflare(this[_0x4c7e68(0x11f)][_0x4c7e68(0x12b)](),{'ghostTint':tsl.vec3(_0xaedfb6[_0x4c7e68(0x175)][0x0],_0xaedfb6[_0x4c7e68(0x175)][0x1],_0xaedfb6['ghostTint'][0x2]),'threshold':tsl.float(_0xaedfb6[_0x4c7e68(0x12a)]),'ghostSamples':tsl.float(_0xaedfb6[_0x4c7e68(0x16d)]),'ghostSpacing':tsl.float(_0xaedfb6[_0x4c7e68(0x166)]),'ghostAttenuationFactor':tsl.float(_0xaedfb6['ghostAttenuationFactor']),'downSampleRatio':_0xaedfb6['downSampleRatio']});const _0x25530b=this[_0x4c7e68(0x14c)][_0x4c7e68(0x12b)]();_0x1121ce=tsl.vec4(_0x1121ce['r'][_0x4c7e68(0x14d)](_0x25530b['r']),_0x1121ce['g']['add'](_0x25530b['g']),_0x1121ce['b'][_0x4c7e68(0x14d)](_0x25530b['b']),_0x1121ce['a']);}}if(_0x56a2b7['has'](exports.PostProcessStepType[_0x4c7e68(0x16b)])){const _0x4dba5a=(_0x3a92b7=this[_0x4c7e68(0x10a)](exports.PostProcessStepType[_0x4c7e68(0x16b)]))!==null&&_0x3a92b7!==void 0?_0x3a92b7:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x1121ce,_0x586ef0,tsl.uniform(_0x4dba5a[_0x4c7e68(0x127)]),tsl.uniform(_0x4dba5a[_0x4c7e68(0x154)]),tsl.uniform(_0x4dba5a[_0x4c7e68(0x15a)])),_0x1121ce=tsl.vec4(this['dofPass']['r'],this[_0x4c7e68(0x122)]['g'],this[_0x4c7e68(0x122)]['b'],_0xed37dd['a']);}if(_0x449c37&&_0x2285b3){const _0xb9dc60=(_0x2a5d06=this[_0x4c7e68(0x10a)](exports.PostProcessStepType[_0x4c7e68(0x139)]))!==null&&_0x2a5d06!==void 0?_0x2a5d06:DefaultGTAOParam;this[_0x4c7e68(0x16a)]=GTAONode_js.ao(_0x47469d,_0x2285b3,this['camera']),this['gtaoPass'][_0x4c7e68(0x177)]=0.5,this[_0x4c7e68(0x16a)]['distanceExponent']['value']=_0xb9dc60['distanceExponent'],this[_0x4c7e68(0x16a)]['distanceFallOff'][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x169)],this[_0x4c7e68(0x16a)][_0x4c7e68(0x133)][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x133)],this[_0x4c7e68(0x16a)][_0x4c7e68(0x14a)][_0x4c7e68(0x15e)]=_0xb9dc60['scale'],this[_0x4c7e68(0x16a)][_0x4c7e68(0x126)][_0x4c7e68(0x15e)]=_0xb9dc60['thickness'],this[_0x4c7e68(0x16a)][_0x4c7e68(0x13e)][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x13e)],this[_0x4c7e68(0x16a)]['useTemporalFiltering']=_0xb9dc60[_0x4c7e68(0x13d)];const _0x2441ef=this[_0x4c7e68(0x16a)][_0x4c7e68(0x12b)]()['r'];_0x1121ce=tsl.vec4(_0x1121ce['r']['mul'](_0x2441ef),_0x1121ce['g'][_0x4c7e68(0x123)](_0x2441ef),_0x1121ce['b'][_0x4c7e68(0x123)](_0x2441ef),_0x1121ce['a']);}if(_0x56a2b7['has'](exports.PostProcessStepType[_0x4c7e68(0x134)])){const _0xa3df34=(_0x58d8f6=this[_0x4c7e68(0x10a)](exports.PostProcessStepType[_0x4c7e68(0x134)]))!==null&&_0x58d8f6!==void 0?_0x58d8f6:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x4c7e68(0x119)],this[_0x4c7e68(0x165)],{'selectedObjects':this[_0x4c7e68(0x13a)],'edgeGlow':tsl.uniform(_0xa3df34[_0x4c7e68(0x160)]),'edgeThickness':tsl.uniform(_0xa3df34[_0x4c7e68(0x121)])});const {visibleEdge:_0x42c592,hiddenEdge:_0x25a80e}=this[_0x4c7e68(0x162)],_0xe30db=_0x1d5b49[_0x4c7e68(0x11a)][_0x4c7e68(0x13c)](0x0)[_0x4c7e68(0x124)](_0x1d5b49[_0x4c7e68(0x11a)],tsl.uniform(0x1)),_0x2fe893=tsl.time[_0x4c7e68(0x129)](_0xe30db)[_0x4c7e68(0x123)](0x2),_0x35c374=tsl.oscSine(_0x2fe893)[_0x4c7e68(0x123)](0.5)[_0x4c7e68(0x14d)](0.5),_0x37646e=_0x42c592['mul'](_0x1d5b49[_0x4c7e68(0x152)])[_0x4c7e68(0x14d)](_0x25a80e['mul'](_0x1d5b49[_0x4c7e68(0x15d)]))[_0x4c7e68(0x123)](_0x1d5b49['outlineEdgeStrength']),_0x1feb31=_0x1d5b49['outlinePulsePeriod'][_0x4c7e68(0x13c)](0x0),_0x2a315a=_0x1feb31[_0x4c7e68(0x124)](_0x35c374,tsl.float(0x1));_0x1121ce=tsl.vec4(_0x1121ce['r']['add'](_0x37646e['r'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['g']['add'](_0x37646e['g'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['b']['add'](_0x37646e['b'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['a']);}if(_0x614a94){if(_0x614a94[_0x4c7e68(0x17d)]===_0x4c7e68(0x10e))_0x1121ce=FXAANode_js.fxaa(_0x1121ce);else {if(_0x614a94[_0x4c7e68(0x17d)]===_0x4c7e68(0x12f))_0x1121ce=SMAANode_js.smaa(_0x1121ce);else _0x614a94[_0x4c7e68(0x17d)]==='traa'&&_0xbd280f&&(this[_0x4c7e68(0x120)]=TRAANode_js.traa(_0x1121ce,_0x47469d,_0xbd280f,this['camera']),_0x1121ce=this['traaPass'][_0x4c7e68(0x12b)]());}}_0x1121ce=this[_0x4c7e68(0x10f)](_0x1121ce),_0x1121ce=tsl.vec4(_0x1121ce['r'],_0x1121ce['g'],_0x1121ce['b'],_0xed37dd['a']),this[_0x4c7e68(0x132)][_0x4c7e68(0x157)]=_0x1121ce,this[_0x4c7e68(0x132)]['needsUpdate']=!![];}[_0x12530e(0x10f)](_0x378259){return _0x378259;}['createEffectUniforms'](){const _0x509ad1=_0x12530e;var _0x393516,_0x24daaa,_0x20a2e2,_0x1d1b02;const _0x13b0b6=(_0x393516=this[_0x509ad1(0x10a)](exports.PostProcessStepType[_0x509ad1(0x14b)]))!==null&&_0x393516!==void 0?_0x393516:DefaultBloomParam,_0x1602df=(_0x24daaa=this[_0x509ad1(0x10a)](exports.PostProcessStepType[_0x509ad1(0x16b)]))!==null&&_0x24daaa!==void 0?_0x24daaa:DefaultDOFParam,_0x21ecf6=(_0x20a2e2=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x20a2e2!==void 0?_0x20a2e2:DefaultGTAOParam,_0x2d5a80=(_0x1d1b02=this[_0x509ad1(0x10a)](exports.PostProcessStepType[_0x509ad1(0x134)]))!==null&&_0x1d1b02!==void 0?_0x1d1b02:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x13b0b6[_0x509ad1(0x11d)]),'bloomThreshold':tsl.uniform(_0x13b0b6[_0x509ad1(0x12a)]),'bloomRadius':tsl.uniform(_0x13b0b6[_0x509ad1(0x133)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x1602df[_0x509ad1(0x127)]),'dofAperture':tsl.uniform(_0x1602df[_0x509ad1(0x154)]),'dofMaxBlur':tsl.uniform(_0x1602df[_0x509ad1(0x15a)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x21ecf6['scale']),'gtaoDistanceExponent':tsl.uniform(_0x21ecf6['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x21ecf6['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x21ecf6[_0x509ad1(0x133)]),'gtaoThickness':tsl.uniform(_0x21ecf6[_0x509ad1(0x126)]),'gtaoSamples':tsl.uniform(_0x21ecf6[_0x509ad1(0x13e)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x2d5a80[_0x509ad1(0x117)]),'outlineEdgeGlow':tsl.uniform(_0x2d5a80[_0x509ad1(0x160)]),'outlineEdgeThickness':tsl.uniform(_0x2d5a80['edgeThickness']),'outlinePulsePeriod':tsl.uniform(_0x2d5a80[_0x509ad1(0x172)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x2d5a80[_0x509ad1(0x111)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x2d5a80['hiddenEdgeColor'])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x12530e(0x10a)](_0x55377c){const _0x1283f6=_0x12530e;var _0x2162b3;return (_0x2162b3=this[_0x1283f6(0x112)][_0x1283f6(0x149)]['find'](_0x16032b=>_0x16032b[_0x1283f6(0x179)]===_0x55377c))!==null&&_0x2162b3!==void 0?_0x2162b3:null;}[_0x12530e(0x16e)](){const _0x456871=_0x12530e;if(!this[_0x456871(0x137)])return;const _0x1be7c5=this[_0x456871(0x137)],_0x2eb15a=new Set(this[_0x456871(0x112)][_0x456871(0x149)]['map'](_0x1befdf=>_0x1befdf[_0x456871(0x179)]));_0x1be7c5[_0x456871(0x13b)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](exports.PostProcessStepType['Bloom'])?0x1:0x0,_0x1be7c5['dofEnabled'][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0x1be7c5[_0x456871(0x130)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](exports.PostProcessStepType[_0x456871(0x139)])?0x1:0x0,_0x1be7c5[_0x456871(0x146)][_0x456871(0x15e)]=_0x2eb15a['has'](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x1be7c5[_0x456871(0x174)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](exports.PostProcessStepType[_0x456871(0x12c)])?0x1:0x0;const _0x20ccde=this[_0x456871(0x10a)](exports.PostProcessStepType[_0x456871(0x13f)]);_0x20ccde?(_0x1be7c5['fxaaEnabled'][_0x456871(0x15e)]=_0x20ccde[_0x456871(0x17d)]===_0x456871(0x10e)?0x1:0x0,_0x1be7c5[_0x456871(0x114)][_0x456871(0x15e)]=_0x20ccde[_0x456871(0x17d)]===_0x456871(0x12f)?0x1:0x0):(_0x1be7c5['fxaaEnabled'][_0x456871(0x15e)]=0x0,_0x1be7c5['smaaEnabled'][_0x456871(0x15e)]=0x0);const _0x2e9434=this[_0x456871(0x10a)](exports.PostProcessStepType[_0x456871(0x14b)]);_0x2e9434&&(_0x1be7c5[_0x456871(0x128)]['value']=_0x2e9434[_0x456871(0x11d)],_0x1be7c5[_0x456871(0x161)][_0x456871(0x15e)]=_0x2e9434['threshold'],_0x1be7c5[_0x456871(0x173)][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x133)],this[_0x456871(0x11f)]&&(this[_0x456871(0x11f)][_0x456871(0x12a)][_0x456871(0x15e)]=_0x2e9434['threshold'],this['bloomPass']['strength'][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x11d)],this[_0x456871(0x11f)][_0x456871(0x133)][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x133)]));const _0x4b1324=this[_0x456871(0x10a)](exports.PostProcessStepType['LensFlare']);if(_0x4b1324&&this[_0x456871(0x14c)]);const _0x18afab=this['getStepParam'](exports.PostProcessStepType[_0x456871(0x16b)]);_0x18afab&&(_0x1be7c5[_0x456871(0x163)][_0x456871(0x15e)]=_0x18afab['focus'],_0x1be7c5[_0x456871(0x17a)]['value']=_0x18afab[_0x456871(0x154)],_0x1be7c5['dofMaxBlur'][_0x456871(0x15e)]=_0x18afab[_0x456871(0x15a)],this[_0x456871(0x122)]&&(this[_0x456871(0x122)][_0x456871(0x147)][_0x456871(0x15e)]=_0x18afab[_0x456871(0x127)],this['dofPass']['focalLengthNode'][_0x456871(0x15e)]=_0x18afab['aperture'],this[_0x456871(0x122)][_0x456871(0x15b)][_0x456871(0x15e)]=_0x18afab['maxblur']));const _0x4f0bb8=this[_0x456871(0x10a)](exports.PostProcessStepType[_0x456871(0x139)]);_0x4f0bb8&&(_0x1be7c5[_0x456871(0x11b)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x14a)],_0x1be7c5[_0x456871(0x118)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x171)],_0x1be7c5['gtaoDistanceFallOff'][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x169)],_0x1be7c5['gtaoRadius']['value']=_0x4f0bb8[_0x456871(0x133)],_0x1be7c5[_0x456871(0x144)][_0x456871(0x15e)]=_0x4f0bb8['thickness'],_0x1be7c5['gtaoSamples']['value']=_0x4f0bb8['samples'],this[_0x456871(0x16a)]&&(this[_0x456871(0x16a)][_0x456871(0x171)][_0x456871(0x15e)]=_0x4f0bb8['distanceExponent'],this['gtaoPass']['distanceFallOff']['value']=_0x4f0bb8[_0x456871(0x169)],this[_0x456871(0x16a)][_0x456871(0x133)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x133)],this[_0x456871(0x16a)][_0x456871(0x14a)]['value']=_0x4f0bb8[_0x456871(0x14a)],this[_0x456871(0x16a)][_0x456871(0x126)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x126)],this[_0x456871(0x16a)][_0x456871(0x13e)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x13e)],this[_0x456871(0x16a)]['useTemporalFiltering']=_0x4f0bb8[_0x456871(0x13d)]));const _0x45f972=this['getStepParam'](exports.PostProcessStepType[_0x456871(0x134)]);_0x45f972&&(_0x1be7c5['outlineEdgeStrength']['value']=_0x45f972[_0x456871(0x117)],_0x1be7c5[_0x456871(0x16f)]['value']=_0x45f972[_0x456871(0x160)],_0x1be7c5[_0x456871(0x159)][_0x456871(0x15e)]=_0x45f972[_0x456871(0x121)],_0x1be7c5['outlinePulsePeriod'][_0x456871(0x15e)]=_0x45f972[_0x456871(0x172)],_0x1be7c5[_0x456871(0x152)]['value']['set'](_0x45f972['visibleEdgeColor']),_0x1be7c5['outlineHiddenEdgeColor'][_0x456871(0x15e)][_0x456871(0x148)](_0x45f972[_0x456871(0x176)]),this[_0x456871(0x162)]&&(this[_0x456871(0x162)]['edgeGlowNode']['value']=_0x45f972[_0x456871(0x160)],this[_0x456871(0x162)][_0x456871(0x11c)][_0x456871(0x15e)]=_0x45f972['edgeThickness'],this[_0x456871(0x162)][_0x456871(0x140)]=this[_0x456871(0x13a)]));}[_0x12530e(0x15c)](_0x4739d4){const _0x4e3ced=_0x12530e;this[_0x4e3ced(0x112)][_0x4e3ced(0x149)]=_0x4739d4,this['buildPipeline'](),this[_0x4e3ced(0x16e)](),this['markDirty']();}[_0x12530e(0x14f)](_0x2f384f){const _0x417771=_0x12530e;!this[_0x417771(0x13a)]['includes'](_0x2f384f)&&(this[_0x417771(0x13a)]['push'](_0x2f384f),this[_0x417771(0x162)]&&(this[_0x417771(0x162)][_0x417771(0x140)]=this[_0x417771(0x13a)])),this['markDirty']();}[_0x12530e(0x16c)](_0x20e60d){const _0x2fbf62=_0x12530e;this['outlineObjects']['length']=0x0,this[_0x2fbf62(0x13a)][_0x2fbf62(0x145)](..._0x20e60d),this[_0x2fbf62(0x162)]&&(this['outlinePass'][_0x2fbf62(0x140)]=this[_0x2fbf62(0x13a)]),this['markDirty']();}[_0x12530e(0x168)](_0x13fb18){const _0x6a8f2e=_0x12530e,_0x49cf2b=this[_0x6a8f2e(0x13a)]['indexOf'](_0x13fb18);_0x49cf2b>-1&&(this[_0x6a8f2e(0x13a)]['splice'](_0x49cf2b,0x1),this['outlinePass']&&(this[_0x6a8f2e(0x162)][_0x6a8f2e(0x140)]=this[_0x6a8f2e(0x13a)])),this[_0x6a8f2e(0x17b)]();}[_0x12530e(0x116)](_0x4fb2e9){const _0x4a9ec7=_0x12530e;this[_0x4a9ec7(0x10b)]=_0x4fb2e9,this[_0x4a9ec7(0x167)](),this['updateAllUniforms'](),this[_0x4a9ec7(0x17b)]();}[_0x12530e(0x10d)](){return this['lut3dTexture'];}['render'](){const _0x58c4d2=_0x12530e;if(this[_0x58c4d2(0x132)])return this[_0x58c4d2(0x132)][_0x58c4d2(0x11e)](),!![];return ![];}['destroy'](){const _0x54d6dd=_0x12530e;this[_0x54d6dd(0x13a)]=[],this[_0x54d6dd(0x137)]=null,this[_0x54d6dd(0x162)]=null,this['bloomPass']=null,this[_0x54d6dd(0x122)]=null,this[_0x54d6dd(0x16a)]=null,this[_0x54d6dd(0x120)]=null,this[_0x54d6dd(0x14c)]=null,this[_0x54d6dd(0x10b)]=null,this['postProcessing']&&(this[_0x54d6dd(0x132)][_0x54d6dd(0x153)](),this[_0x54d6dd(0x132)]=null);}[_0x12530e(0x17b)](){const _0x4b22bf=_0x12530e;this[_0x4b22bf(0x17e)]&&this[_0x4b22bf(0x17e)]();}}
|
|
80
|
+
const _0x137117=_0x2b43;(function(_0x204507,_0x4e9e71){const _0x2d2c7c=_0x2b43,_0x12645e=_0x204507();while(!![]){try{const _0x401dff=parseInt(_0x2d2c7c(0x1a4))/0x1*(parseInt(_0x2d2c7c(0x196))/0x2)+-parseInt(_0x2d2c7c(0x179))/0x3+-parseInt(_0x2d2c7c(0x1b1))/0x4*(-parseInt(_0x2d2c7c(0x1c1))/0x5)+-parseInt(_0x2d2c7c(0x16e))/0x6+-parseInt(_0x2d2c7c(0x19f))/0x7+parseInt(_0x2d2c7c(0x17d))/0x8*(-parseInt(_0x2d2c7c(0x188))/0x9)+parseInt(_0x2d2c7c(0x17e))/0xa*(parseInt(_0x2d2c7c(0x19c))/0xb);if(_0x401dff===_0x4e9e71)break;else _0x12645e['push'](_0x12645e['shift']());}catch(_0x3d2b5b){_0x12645e['push'](_0x12645e['shift']());}}}(_0x56c4,0xef1d0));function _0x2b43(_0x1b6fd3,_0x2c81d5){_0x1b6fd3=_0x1b6fd3-0x169;const _0x56c46d=_0x56c4();let _0x2b430a=_0x56c46d[_0x1b6fd3];return _0x2b430a;}function _0x56c4(){const _0x3a90d1=['getStepParam','selectedObjects','pulsePeriod','16mzsUjd','1330CRMrxW','mul','Antialiasing','bloomEnabled','outlineEdgeGlow','samples','bloomPass','updateSteps','GroundTruthAmbientOcclusion','lut3dTexture','7603119KYPOfF','Bloom','getTextureNode','LensFlare','threshold','has','method','depth','setOutlineObjects','updateAllUniforms','strength','dofEnabled','buildPipeline','DepthOfField','10154zFnxWj','dofAperture','dofMaxBlur','outlineEdgeThickness','focusDistanceNode','gtaoDistanceExponent','345411xhwaMw','onDirtyCallback','edgeStrength','2366469bWKwdq','outlinePass','set','camera','steps','239QPzgvT','distanceExponent','render','postProcessParam','outlinePulsePeriod','outlineEdgeStrength','edgeGlowNode','normal','thickness','postProcessing','fxaa','updateCamera','fxaaEnabled','3092jMDaNq','bloomStrength','resolutionScale','gtaoEnabled','velocity','edgeGlow','dofPass','radius','ghostAttenuationFactor','value','bloomRadius','gtaoRadius','ghostSpacing','traa','dispose','visibleEdgeColor','3275hHfcxS','gtaoPass','ghostTint','outlineHiddenEdgeColor','select','distanceFallOff','scale','lensflarePass','effectUniforms','outputNode','smaa','edgeThickness','onBuildFinalNode','edgeThicknessNode','setMRT','hiddenEdgeColor','Outline','indexOf','bokehScaleNode','add','includes','renderer','aperture','ghostSamples','greaterThan','output','focus','destroy','setup','focalLengthNode','traaPass','outlineVisibleEdgeColor','div','scene','find','gtaoDistanceFallOff','outlineObjects','7332030eNEMNs','dofFocus','markDirty','push','useTemporalFiltering','length','map','createEffectUniforms','type','gtaoSamples','maxblur','5000967UcwYuM'];_0x56c4=function(){return _0x3a90d1;};return _0x56c4();}class PostProcessManager{constructor(_0xaf23f7,_0x17d970,_0x1f0d3d,_0x470f9f,_0x358ead){const _0x53b26d=_0x2b43;this[_0x53b26d(0x1ad)]=null,this[_0x53b26d(0x16d)]=[],this['effectUniforms']=null,this['outlinePass']=null,this[_0x53b26d(0x184)]=null,this[_0x53b26d(0x1b7)]=null,this['gtaoPass']=null,this[_0x53b26d(0x1df)]=null,this[_0x53b26d(0x1c8)]=null,this[_0x53b26d(0x187)]=null,this[_0x53b26d(0x19d)]=null,this['renderer']=_0xaf23f7,this[_0x53b26d(0x16a)]=_0x17d970,this[_0x53b26d(0x1a2)]=_0x1f0d3d,this['postProcessParam']=Object['assign']({},_0x470f9f),this[_0x53b26d(0x19d)]=_0x358ead!==null&&_0x358ead!==void 0?_0x358ead:null;}get['processing'](){return this['postProcessing'];}[_0x137117(0x1af)](_0x3bf396){const _0x29b634=_0x137117;this[_0x29b634(0x1a2)]=_0x3bf396,(!this[_0x29b634(0x1ad)]||!this['effectUniforms'])&&(this[_0x29b634(0x194)](),this[_0x29b634(0x191)](),this[_0x29b634(0x170)]());}[_0x137117(0x1dd)](){const _0x340d51=_0x137117;(!this[_0x340d51(0x1ad)]||!this[_0x340d51(0x1c9)])&&this[_0x340d51(0x194)](),this['updateAllUniforms'](),this[_0x340d51(0x170)]();}[_0x137117(0x194)](){const _0x22136b=_0x137117;var _0x26ee80,_0xeec3e5,_0x19476a,_0x4fa9cc,_0x3e502d;this[_0x22136b(0x1ad)]&&this[_0x22136b(0x1ad)][_0x22136b(0x1bf)]();this[_0x22136b(0x1ad)]=new webgpu.PostProcessing(this[_0x22136b(0x1d6)]),this['outlinePass']=null,this['bloomPass']=null,this[_0x22136b(0x1b7)]=null,this[_0x22136b(0x1c2)]=null,this[_0x22136b(0x1df)]=null,this[_0x22136b(0x1c8)]=null,this[_0x22136b(0x1c9)]=this[_0x22136b(0x175)]();const _0x2d6c71=new Set(this[_0x22136b(0x1a7)][_0x22136b(0x1a3)][_0x22136b(0x174)](_0x260fbb=>_0x260fbb[_0x22136b(0x176)])),_0x62f46=this[_0x22136b(0x17a)](exports.PostProcessStepType[_0x22136b(0x180)]),_0x36477a=_0x2d6c71[_0x22136b(0x18d)](exports.PostProcessStepType[_0x22136b(0x186)]),_0x42e641=(_0x62f46===null||_0x62f46===void 0?void 0:_0x62f46[_0x22136b(0x18e)])===_0x22136b(0x1be),_0xc36ee4=tsl.pass(this[_0x22136b(0x16a)],this['camera']);if(_0x36477a||_0x42e641){const _0x4f622c={'output':tsl.output};if(_0x36477a)_0x4f622c[_0x22136b(0x1ab)]=tsl.normalView;if(_0x42e641)_0x4f622c[_0x22136b(0x1b5)]=tsl.velocity;_0xc36ee4[_0x22136b(0x1cf)](tsl.mrt(_0x4f622c));}const _0x8ac334=_0xc36ee4[_0x22136b(0x18a)](_0x22136b(0x1da)),_0x11918a=_0xc36ee4[_0x22136b(0x18a)](_0x22136b(0x18f)),_0x57382e=_0xc36ee4['getViewZNode'](),_0x35f359=_0x36477a?_0xc36ee4[_0x22136b(0x18a)](_0x22136b(0x1ab)):null,_0x2b0f93=_0x42e641?_0xc36ee4['getTextureNode'](_0x22136b(0x1b5)):null,_0x43b651=this['effectUniforms'];let _0x1c1fc3=_0x8ac334;const _0x2ba71a=_0x2d6c71[_0x22136b(0x18d)](exports.PostProcessStepType[_0x22136b(0x189)]),_0x32c5a1=_0x2d6c71[_0x22136b(0x18d)](exports.PostProcessStepType[_0x22136b(0x18b)]);if(_0x2ba71a||_0x32c5a1){const _0x331213=(_0x26ee80=this['getStepParam'](exports.PostProcessStepType[_0x22136b(0x189)]))!==null&&_0x26ee80!==void 0?_0x26ee80:DefaultBloomParam;this[_0x22136b(0x184)]=BloomNode_js.bloom(_0x8ac334),this['bloomPass']['threshold'][_0x22136b(0x1ba)]=_0x331213[_0x22136b(0x18c)],this[_0x22136b(0x184)]['strength'][_0x22136b(0x1ba)]=_0x331213['strength'],this['bloomPass'][_0x22136b(0x1b8)][_0x22136b(0x1ba)]=_0x331213['radius'];if(_0x2ba71a){const _0x32ef79=this[_0x22136b(0x184)][_0x22136b(0x17f)](_0x43b651['bloomStrength']);_0x1c1fc3=tsl.vec4(_0x8ac334['r']['add'](_0x32ef79['r']),_0x8ac334['g'][_0x22136b(0x1d4)](_0x32ef79['g']),_0x8ac334['b'][_0x22136b(0x1d4)](_0x32ef79['b']),_0x8ac334['a']);}if(_0x32c5a1){const _0x5c5b22=(_0xeec3e5=this[_0x22136b(0x17a)](exports.PostProcessStepType[_0x22136b(0x18b)]))!==null&&_0xeec3e5!==void 0?_0xeec3e5:DefaultLensFlareParam;this[_0x22136b(0x1c8)]=LensflareNode_js.lensflare(this['bloomPass'][_0x22136b(0x18a)](),{'ghostTint':tsl.vec3(_0x5c5b22[_0x22136b(0x1c3)][0x0],_0x5c5b22[_0x22136b(0x1c3)][0x1],_0x5c5b22['ghostTint'][0x2]),'threshold':tsl.float(_0x5c5b22[_0x22136b(0x18c)]),'ghostSamples':tsl.float(_0x5c5b22[_0x22136b(0x1d8)]),'ghostSpacing':tsl.float(_0x5c5b22[_0x22136b(0x1bd)]),'ghostAttenuationFactor':tsl.float(_0x5c5b22[_0x22136b(0x1b9)]),'downSampleRatio':_0x5c5b22['downSampleRatio']});const _0x3e414b=this[_0x22136b(0x1c8)][_0x22136b(0x18a)]();_0x1c1fc3=tsl.vec4(_0x1c1fc3['r'][_0x22136b(0x1d4)](_0x3e414b['r']),_0x1c1fc3['g'][_0x22136b(0x1d4)](_0x3e414b['g']),_0x1c1fc3['b'][_0x22136b(0x1d4)](_0x3e414b['b']),_0x1c1fc3['a']);}}if(_0x2d6c71[_0x22136b(0x18d)](exports.PostProcessStepType[_0x22136b(0x195)])){const _0x12e0b7=(_0x19476a=this[_0x22136b(0x17a)](exports.PostProcessStepType[_0x22136b(0x195)]))!==null&&_0x19476a!==void 0?_0x19476a:DefaultDOFParam;this[_0x22136b(0x1b7)]=DepthOfFieldNode_js.dof(_0x1c1fc3,_0x57382e,tsl.uniform(_0x12e0b7[_0x22136b(0x1db)]),tsl.uniform(_0x12e0b7[_0x22136b(0x1d7)]),tsl.uniform(_0x12e0b7[_0x22136b(0x178)])),_0x1c1fc3=tsl.vec4(this[_0x22136b(0x1b7)]['r'],this['dofPass']['g'],this[_0x22136b(0x1b7)]['b'],_0x8ac334['a']);}if(_0x36477a&&_0x35f359){const _0xceaa41=(_0x4fa9cc=this[_0x22136b(0x17a)](exports.PostProcessStepType[_0x22136b(0x186)]))!==null&&_0x4fa9cc!==void 0?_0x4fa9cc:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x11918a,_0x35f359,this['camera']),this[_0x22136b(0x1c2)][_0x22136b(0x1b3)]=0.5,this['gtaoPass'][_0x22136b(0x1a5)][_0x22136b(0x1ba)]=_0xceaa41[_0x22136b(0x1a5)],this[_0x22136b(0x1c2)]['distanceFallOff'][_0x22136b(0x1ba)]=_0xceaa41['distanceFallOff'],this[_0x22136b(0x1c2)][_0x22136b(0x1b8)][_0x22136b(0x1ba)]=_0xceaa41[_0x22136b(0x1b8)],this['gtaoPass'][_0x22136b(0x1c7)][_0x22136b(0x1ba)]=_0xceaa41['scale'],this['gtaoPass'][_0x22136b(0x1ac)][_0x22136b(0x1ba)]=_0xceaa41[_0x22136b(0x1ac)],this[_0x22136b(0x1c2)]['samples'][_0x22136b(0x1ba)]=_0xceaa41['samples'],this[_0x22136b(0x1c2)][_0x22136b(0x172)]=_0xceaa41['useTemporalFiltering'];const _0x567821=this['gtaoPass'][_0x22136b(0x18a)]()['r'];_0x1c1fc3=tsl.vec4(_0x1c1fc3['r'][_0x22136b(0x17f)](_0x567821),_0x1c1fc3['g'][_0x22136b(0x17f)](_0x567821),_0x1c1fc3['b'][_0x22136b(0x17f)](_0x567821),_0x1c1fc3['a']);}if(_0x2d6c71[_0x22136b(0x18d)](exports.PostProcessStepType[_0x22136b(0x1d1)])){const _0x18896c=(_0x3e502d=this[_0x22136b(0x17a)](exports.PostProcessStepType['Outline']))!==null&&_0x3e502d!==void 0?_0x3e502d:DefaultOutlineParams;this[_0x22136b(0x1a0)]=OutlineNode_js.outline(this['scene'],this[_0x22136b(0x1a2)],{'selectedObjects':this[_0x22136b(0x16d)],'edgeGlow':tsl.uniform(_0x18896c[_0x22136b(0x1b6)]),'edgeThickness':tsl.uniform(_0x18896c['edgeThickness'])});const {visibleEdge:_0x5037ef,hiddenEdge:_0x18d403}=this[_0x22136b(0x1a0)],_0x4211ab=_0x43b651[_0x22136b(0x1a8)][_0x22136b(0x1d9)](0x0)[_0x22136b(0x1c5)](_0x43b651[_0x22136b(0x1a8)],tsl.uniform(0x1)),_0x13c8b2=tsl.time[_0x22136b(0x169)](_0x4211ab)[_0x22136b(0x17f)](0x2),_0x1e6dbe=tsl.oscSine(_0x13c8b2)[_0x22136b(0x17f)](0.5)[_0x22136b(0x1d4)](0.5),_0x2fd78f=_0x5037ef['mul'](_0x43b651[_0x22136b(0x1e0)])[_0x22136b(0x1d4)](_0x18d403['mul'](_0x43b651[_0x22136b(0x1c4)]))[_0x22136b(0x17f)](_0x43b651[_0x22136b(0x1a9)]),_0x3a6f4e=_0x43b651[_0x22136b(0x1a8)][_0x22136b(0x1d9)](0x0),_0x32635f=_0x3a6f4e[_0x22136b(0x1c5)](_0x1e6dbe,tsl.float(0x1));_0x1c1fc3=tsl.vec4(_0x1c1fc3['r'][_0x22136b(0x1d4)](_0x2fd78f['r'][_0x22136b(0x17f)](_0x32635f)),_0x1c1fc3['g']['add'](_0x2fd78f['g'][_0x22136b(0x17f)](_0x32635f)),_0x1c1fc3['b'][_0x22136b(0x1d4)](_0x2fd78f['b'][_0x22136b(0x17f)](_0x32635f)),_0x1c1fc3['a']);}if(_0x62f46){if(_0x62f46[_0x22136b(0x18e)]===_0x22136b(0x1ae))_0x1c1fc3=FXAANode_js.fxaa(_0x1c1fc3);else {if(_0x62f46[_0x22136b(0x18e)]===_0x22136b(0x1cb))_0x1c1fc3=SMAANode_js.smaa(_0x1c1fc3);else _0x62f46[_0x22136b(0x18e)]===_0x22136b(0x1be)&&_0x2b0f93&&(this[_0x22136b(0x1df)]=TRAANode_js.traa(_0x1c1fc3,_0x11918a,_0x2b0f93,this[_0x22136b(0x1a2)]),_0x1c1fc3=this[_0x22136b(0x1df)][_0x22136b(0x18a)]());}}_0x1c1fc3=this[_0x22136b(0x1cd)](_0x1c1fc3),_0x1c1fc3=tsl.vec4(_0x1c1fc3['r'],_0x1c1fc3['g'],_0x1c1fc3['b'],_0x8ac334['a']),this[_0x22136b(0x1ad)][_0x22136b(0x1ca)]=_0x1c1fc3,this[_0x22136b(0x1ad)]['needsUpdate']=!![];}[_0x137117(0x1cd)](_0x108706){return _0x108706;}['createEffectUniforms'](){const _0xf8d796=_0x137117;var _0x1cac05,_0x583fe1,_0x7c274e,_0x224544;const _0x3d6f9d=(_0x1cac05=this[_0xf8d796(0x17a)](exports.PostProcessStepType[_0xf8d796(0x189)]))!==null&&_0x1cac05!==void 0?_0x1cac05:DefaultBloomParam,_0x2b2e57=(_0x583fe1=this[_0xf8d796(0x17a)](exports.PostProcessStepType[_0xf8d796(0x195)]))!==null&&_0x583fe1!==void 0?_0x583fe1:DefaultDOFParam,_0x1da66e=(_0x7c274e=this[_0xf8d796(0x17a)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x7c274e!==void 0?_0x7c274e:DefaultGTAOParam,_0x389ea8=(_0x224544=this[_0xf8d796(0x17a)](exports.PostProcessStepType[_0xf8d796(0x1d1)]))!==null&&_0x224544!==void 0?_0x224544:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x3d6f9d['strength']),'bloomThreshold':tsl.uniform(_0x3d6f9d[_0xf8d796(0x18c)]),'bloomRadius':tsl.uniform(_0x3d6f9d[_0xf8d796(0x1b8)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x2b2e57['focus']),'dofAperture':tsl.uniform(_0x2b2e57[_0xf8d796(0x1d7)]),'dofMaxBlur':tsl.uniform(_0x2b2e57[_0xf8d796(0x178)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x1da66e[_0xf8d796(0x1c7)]),'gtaoDistanceExponent':tsl.uniform(_0x1da66e['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x1da66e[_0xf8d796(0x1c6)]),'gtaoRadius':tsl.uniform(_0x1da66e[_0xf8d796(0x1b8)]),'gtaoThickness':tsl.uniform(_0x1da66e[_0xf8d796(0x1ac)]),'gtaoSamples':tsl.uniform(_0x1da66e[_0xf8d796(0x183)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x389ea8['edgeStrength']),'outlineEdgeGlow':tsl.uniform(_0x389ea8['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x389ea8[_0xf8d796(0x1cc)]),'outlinePulsePeriod':tsl.uniform(_0x389ea8['pulsePeriod']),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x389ea8['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x389ea8[_0xf8d796(0x1d0)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x137117(0x17a)](_0x1375c9){const _0x5bc2dd=_0x137117;var _0x640fc;return (_0x640fc=this[_0x5bc2dd(0x1a7)][_0x5bc2dd(0x1a3)][_0x5bc2dd(0x16b)](_0x4f1286=>_0x4f1286[_0x5bc2dd(0x176)]===_0x1375c9))!==null&&_0x640fc!==void 0?_0x640fc:null;}['updateAllUniforms'](){const _0x2ff0b3=_0x137117;if(!this[_0x2ff0b3(0x1c9)])return;const _0x22afff=this[_0x2ff0b3(0x1c9)],_0x5cdff2=new Set(this['postProcessParam'][_0x2ff0b3(0x1a3)][_0x2ff0b3(0x174)](_0x57eaa0=>_0x57eaa0[_0x2ff0b3(0x176)]));_0x22afff[_0x2ff0b3(0x181)][_0x2ff0b3(0x1ba)]=_0x5cdff2['has'](exports.PostProcessStepType[_0x2ff0b3(0x189)])?0x1:0x0,_0x22afff[_0x2ff0b3(0x193)][_0x2ff0b3(0x1ba)]=_0x5cdff2[_0x2ff0b3(0x18d)](exports.PostProcessStepType[_0x2ff0b3(0x195)])?0x1:0x0,_0x22afff[_0x2ff0b3(0x1b4)]['value']=_0x5cdff2['has'](exports.PostProcessStepType[_0x2ff0b3(0x186)])?0x1:0x0,_0x22afff['outlineEnabled'][_0x2ff0b3(0x1ba)]=_0x5cdff2[_0x2ff0b3(0x18d)](exports.PostProcessStepType[_0x2ff0b3(0x1d1)])?0x1:0x0,_0x22afff['lensflareEnabled']['value']=_0x5cdff2[_0x2ff0b3(0x18d)](exports.PostProcessStepType[_0x2ff0b3(0x18b)])?0x1:0x0;const _0xced5fb=this[_0x2ff0b3(0x17a)](exports.PostProcessStepType[_0x2ff0b3(0x180)]);_0xced5fb?(_0x22afff[_0x2ff0b3(0x1b0)][_0x2ff0b3(0x1ba)]=_0xced5fb[_0x2ff0b3(0x18e)]===_0x2ff0b3(0x1ae)?0x1:0x0,_0x22afff['smaaEnabled']['value']=_0xced5fb[_0x2ff0b3(0x18e)]===_0x2ff0b3(0x1cb)?0x1:0x0):(_0x22afff[_0x2ff0b3(0x1b0)][_0x2ff0b3(0x1ba)]=0x0,_0x22afff['smaaEnabled'][_0x2ff0b3(0x1ba)]=0x0);const _0x2ee558=this[_0x2ff0b3(0x17a)](exports.PostProcessStepType[_0x2ff0b3(0x189)]);_0x2ee558&&(_0x22afff[_0x2ff0b3(0x1b2)]['value']=_0x2ee558[_0x2ff0b3(0x192)],_0x22afff['bloomThreshold'][_0x2ff0b3(0x1ba)]=_0x2ee558[_0x2ff0b3(0x18c)],_0x22afff[_0x2ff0b3(0x1bb)][_0x2ff0b3(0x1ba)]=_0x2ee558[_0x2ff0b3(0x1b8)],this[_0x2ff0b3(0x184)]&&(this[_0x2ff0b3(0x184)]['threshold'][_0x2ff0b3(0x1ba)]=_0x2ee558[_0x2ff0b3(0x18c)],this[_0x2ff0b3(0x184)]['strength'][_0x2ff0b3(0x1ba)]=_0x2ee558[_0x2ff0b3(0x192)],this[_0x2ff0b3(0x184)][_0x2ff0b3(0x1b8)][_0x2ff0b3(0x1ba)]=_0x2ee558[_0x2ff0b3(0x1b8)]));const _0x19e51a=this['getStepParam'](exports.PostProcessStepType[_0x2ff0b3(0x18b)]);if(_0x19e51a&&this['lensflarePass']);const _0x1cfd71=this[_0x2ff0b3(0x17a)](exports.PostProcessStepType[_0x2ff0b3(0x195)]);_0x1cfd71&&(_0x22afff[_0x2ff0b3(0x16f)][_0x2ff0b3(0x1ba)]=_0x1cfd71[_0x2ff0b3(0x1db)],_0x22afff[_0x2ff0b3(0x197)][_0x2ff0b3(0x1ba)]=_0x1cfd71['aperture'],_0x22afff[_0x2ff0b3(0x198)][_0x2ff0b3(0x1ba)]=_0x1cfd71[_0x2ff0b3(0x178)],this[_0x2ff0b3(0x1b7)]&&(this['dofPass'][_0x2ff0b3(0x19a)][_0x2ff0b3(0x1ba)]=_0x1cfd71[_0x2ff0b3(0x1db)],this[_0x2ff0b3(0x1b7)][_0x2ff0b3(0x1de)][_0x2ff0b3(0x1ba)]=_0x1cfd71[_0x2ff0b3(0x1d7)],this[_0x2ff0b3(0x1b7)][_0x2ff0b3(0x1d3)]['value']=_0x1cfd71[_0x2ff0b3(0x178)]));const _0x493f42=this[_0x2ff0b3(0x17a)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x493f42&&(_0x22afff['gtaoScale'][_0x2ff0b3(0x1ba)]=_0x493f42['scale'],_0x22afff[_0x2ff0b3(0x19b)][_0x2ff0b3(0x1ba)]=_0x493f42[_0x2ff0b3(0x1a5)],_0x22afff[_0x2ff0b3(0x16c)][_0x2ff0b3(0x1ba)]=_0x493f42[_0x2ff0b3(0x1c6)],_0x22afff[_0x2ff0b3(0x1bc)][_0x2ff0b3(0x1ba)]=_0x493f42['radius'],_0x22afff['gtaoThickness'][_0x2ff0b3(0x1ba)]=_0x493f42[_0x2ff0b3(0x1ac)],_0x22afff[_0x2ff0b3(0x177)][_0x2ff0b3(0x1ba)]=_0x493f42[_0x2ff0b3(0x183)],this['gtaoPass']&&(this['gtaoPass'][_0x2ff0b3(0x1a5)][_0x2ff0b3(0x1ba)]=_0x493f42[_0x2ff0b3(0x1a5)],this[_0x2ff0b3(0x1c2)]['distanceFallOff']['value']=_0x493f42[_0x2ff0b3(0x1c6)],this[_0x2ff0b3(0x1c2)][_0x2ff0b3(0x1b8)][_0x2ff0b3(0x1ba)]=_0x493f42['radius'],this[_0x2ff0b3(0x1c2)][_0x2ff0b3(0x1c7)][_0x2ff0b3(0x1ba)]=_0x493f42['scale'],this[_0x2ff0b3(0x1c2)][_0x2ff0b3(0x1ac)][_0x2ff0b3(0x1ba)]=_0x493f42[_0x2ff0b3(0x1ac)],this['gtaoPass'][_0x2ff0b3(0x183)][_0x2ff0b3(0x1ba)]=_0x493f42[_0x2ff0b3(0x183)],this[_0x2ff0b3(0x1c2)][_0x2ff0b3(0x172)]=_0x493f42['useTemporalFiltering']));const _0x2ae0a5=this['getStepParam'](exports.PostProcessStepType[_0x2ff0b3(0x1d1)]);_0x2ae0a5&&(_0x22afff[_0x2ff0b3(0x1a9)][_0x2ff0b3(0x1ba)]=_0x2ae0a5[_0x2ff0b3(0x19e)],_0x22afff[_0x2ff0b3(0x182)][_0x2ff0b3(0x1ba)]=_0x2ae0a5[_0x2ff0b3(0x1b6)],_0x22afff[_0x2ff0b3(0x199)][_0x2ff0b3(0x1ba)]=_0x2ae0a5['edgeThickness'],_0x22afff['outlinePulsePeriod'][_0x2ff0b3(0x1ba)]=_0x2ae0a5[_0x2ff0b3(0x17c)],_0x22afff[_0x2ff0b3(0x1e0)][_0x2ff0b3(0x1ba)][_0x2ff0b3(0x1a1)](_0x2ae0a5[_0x2ff0b3(0x1c0)]),_0x22afff['outlineHiddenEdgeColor'][_0x2ff0b3(0x1ba)][_0x2ff0b3(0x1a1)](_0x2ae0a5[_0x2ff0b3(0x1d0)]),this[_0x2ff0b3(0x1a0)]&&(this[_0x2ff0b3(0x1a0)][_0x2ff0b3(0x1aa)][_0x2ff0b3(0x1ba)]=_0x2ae0a5[_0x2ff0b3(0x1b6)],this['outlinePass'][_0x2ff0b3(0x1ce)]['value']=_0x2ae0a5[_0x2ff0b3(0x1cc)],this[_0x2ff0b3(0x1a0)]['selectedObjects']=this[_0x2ff0b3(0x16d)]));}[_0x137117(0x185)](_0x46bcdb){const _0x1e3e6b=_0x137117;this[_0x1e3e6b(0x1a7)][_0x1e3e6b(0x1a3)]=_0x46bcdb,this['buildPipeline'](),this[_0x1e3e6b(0x191)](),this[_0x1e3e6b(0x170)]();}['addOutlineObject'](_0x448982){const _0x1298d3=_0x137117;!this[_0x1298d3(0x16d)][_0x1298d3(0x1d5)](_0x448982)&&(this['outlineObjects'][_0x1298d3(0x171)](_0x448982),this[_0x1298d3(0x1a0)]&&(this[_0x1298d3(0x1a0)][_0x1298d3(0x17b)]=this['outlineObjects'])),this['markDirty']();}[_0x137117(0x190)](_0x177bb0){const _0x2ad29a=_0x137117;this[_0x2ad29a(0x16d)][_0x2ad29a(0x173)]=0x0,this[_0x2ad29a(0x16d)][_0x2ad29a(0x171)](..._0x177bb0),this[_0x2ad29a(0x1a0)]&&(this['outlinePass'][_0x2ad29a(0x17b)]=this['outlineObjects']),this['markDirty']();}['removeOutlineObject'](_0x211a06){const _0x329b38=_0x137117,_0x3a6b65=this[_0x329b38(0x16d)][_0x329b38(0x1d2)](_0x211a06);_0x3a6b65>-1&&(this[_0x329b38(0x16d)]['splice'](_0x3a6b65,0x1),this[_0x329b38(0x1a0)]&&(this['outlinePass']['selectedObjects']=this[_0x329b38(0x16d)])),this['markDirty']();}['setLUT3DTexture'](_0x453b36){const _0x40ddb0=_0x137117;this[_0x40ddb0(0x187)]=_0x453b36,this[_0x40ddb0(0x194)](),this['updateAllUniforms'](),this['markDirty']();}['getLUT3DTexture'](){const _0xe80d02=_0x137117;return this[_0xe80d02(0x187)];}[_0x137117(0x1a6)](){const _0x136a5c=_0x137117;if(this[_0x136a5c(0x1ad)])return this['postProcessing'][_0x136a5c(0x1a6)](),!![];return ![];}[_0x137117(0x1dc)](){const _0x2e2e22=_0x137117;this['outlineObjects']=[],this[_0x2e2e22(0x1c9)]=null,this[_0x2e2e22(0x1a0)]=null,this[_0x2e2e22(0x184)]=null,this['dofPass']=null,this[_0x2e2e22(0x1c2)]=null,this[_0x2e2e22(0x1df)]=null,this[_0x2e2e22(0x1c8)]=null,this[_0x2e2e22(0x187)]=null,this[_0x2e2e22(0x1ad)]&&(this[_0x2e2e22(0x1ad)][_0x2e2e22(0x1bf)](),this['postProcessing']=null);}[_0x137117(0x170)](){const _0x544f99=_0x137117;this[_0x544f99(0x19d)]&&this[_0x544f99(0x19d)]();}}
|
|
81
81
|
|
|
82
|
-
const _0x3b2bff=_0x228b;(function(_0x4147ef,_0x19aa97){const _0x4c2502=_0x228b,_0x4ba3cb=_0x4147ef();while(!![]){try{const _0x1aca80=parseInt(_0x4c2502(0xb9))/0x1+-parseInt(_0x4c2502(0x73))/0x2*(-parseInt(_0x4c2502(0x91))/0x3)+parseInt(_0x4c2502(0x77))/0x4*(parseInt(_0x4c2502(0xa8))/0x5)+parseInt(_0x4c2502(0x6a))/0x6*(parseInt(_0x4c2502(0xb4))/0x7)+parseInt(_0x4c2502(0x74))/0x8*(-parseInt(_0x4c2502(0x9a))/0x9)+-parseInt(_0x4c2502(0x89))/0xa*(-parseInt(_0x4c2502(0xa4))/0xb)+-parseInt(_0x4c2502(0x67))/0xc*(parseInt(_0x4c2502(0x7d))/0xd);if(_0x1aca80===_0x19aa97)break;else _0x4ba3cb['push'](_0x4ba3cb['shift']());}catch(_0x170f88){_0x4ba3cb['push'](_0x4ba3cb['shift']());}}}(_0x349a,0x4de69));function _0x228b(_0x422567,_0x316e50){_0x422567=_0x422567-0x66;const _0x349acc=_0x349a();let _0x228b37=_0x349acc[_0x422567];return _0x228b37;}function _0x349a(){const _0x11c67e=['getSize','updateSteps','156220DSCjpp','addPass','render','scene','hiddenEdgeColor','1138908bbMSfI','outlineObjects','pulsePeriod','234TrnXbd','Outline','dofPass','buildCustomPostProcess','lut3dTexture','scale','setLUT3DTexture','outputPass','blendIntensity','1243552wplJHj','261368ZmqqUJ','destroy','fxaa','12dleHvS','smaaPass','getStepParam','maxblur','gtaoPass','processing','117pcdSWn','DepthOfField','updateAllParameters','value','dispose','edgeThickness','resize','onDirtyCallback','renderCamera','steps','camera','set','110ojKfwz','bloomPass','updateCamera','renderer','aperture','buildPipeline','postProcessParam','visibleEdgeColor','3ScjPrf','smaa','addOutlineObject','GroundTruthAmbientOcclusion','indexOf','splice','setup','threshold','Bloom','81kpvWtQ','markDirty','find','updateOutlineParameters','resolution','map','outlinePass','push','composer','radius','375001NFQnaS','removeOutlineObject','edgeGlow','fxaaPass','306415bePhkm','setSize','method','focus','has','setOutlineObjects','strength','selectedObjects','lutPass','renderPass','type','uniforms','23415cVoQXq','length','includes'];_0x349a=function(){return _0x11c67e;};return _0x349a();}class WebGLPostProcessManager{constructor(_0x26f11d,_0x29521d,_0x4a9f50,_0x5d968d,_0x338cf9){const _0x17945f=_0x228b;this[_0x17945f(0xa2)]=null,this[_0x17945f(0x68)]=[],this[_0x17945f(0xb1)]=null,this['outlinePass']=null,this[_0x17945f(0x8a)]=null,this[_0x17945f(0x6c)]=null,this[_0x17945f(0x7b)]=null,this[_0x17945f(0x78)]=null,this[_0x17945f(0xa7)]=null,this[_0x17945f(0xb0)]=null,this[_0x17945f(0x71)]=null,this[_0x17945f(0x6e)]=null,this['onDirtyCallback']=null,this['renderer']=_0x26f11d,this[_0x17945f(0xbc)]=_0x29521d,this[_0x17945f(0x87)]=_0x4a9f50,this[_0x17945f(0x8f)]=Object['assign']({},_0x5d968d),this['onDirtyCallback']=_0x338cf9!==null&&_0x338cf9!==void 0?_0x338cf9:null;}get[_0x3b2bff(0x7c)](){return this['composer'];}[_0x3b2bff(0x8b)](_0x120f0c){const _0xcf8de1=_0x3b2bff;this[_0xcf8de1(0x87)]=_0x120f0c;if(!this[_0xcf8de1(0xa2)])this[_0xcf8de1(0x8e)](),this[_0xcf8de1(0x9b)]();else {if(this[_0xcf8de1(0xb1)])this[_0xcf8de1(0xb1)][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)];if(this[_0xcf8de1(0xa0)])this[_0xcf8de1(0xa0)][_0xcf8de1(0x85)]=this['camera'];this[_0xcf8de1(0x6c)]&&(this[_0xcf8de1(0x6c)][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)]),this[_0xcf8de1(0x7b)]&&(this['gtaoPass'][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)]);}}[_0x3b2bff(0x97)](){const _0x29f2a7=_0x3b2bff;!this[_0x29f2a7(0xa2)]?this[_0x29f2a7(0x8e)]():this[_0x29f2a7(0x7f)](),this[_0x29f2a7(0x9b)]();}[_0x3b2bff(0x8e)](){const _0x4161cf=_0x3b2bff;var _0x2b5bb9,_0x58ad83,_0x1ae22c,_0x1120d0;this[_0x4161cf(0xa2)]&&this[_0x4161cf(0xa2)][_0x4161cf(0x81)]();this[_0x4161cf(0xa2)]=new EffectComposer_js.EffectComposer(this['renderer']),this['renderPass']=new RenderPass_js.RenderPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)]),this['composer'][_0x4161cf(0xba)](this['renderPass']),this[_0x4161cf(0xa0)]=null,this[_0x4161cf(0x8a)]=null,this[_0x4161cf(0x6c)]=null,this[_0x4161cf(0x7b)]=null,this[_0x4161cf(0x78)]=null,this[_0x4161cf(0xa7)]=null,this['lutPass']=null,this['outputPass']=null;const _0x39dff5=new Set(this[_0x4161cf(0x8f)]['steps'][_0x4161cf(0x9f)](_0x50675c=>_0x50675c[_0x4161cf(0xb2)]));if(_0x39dff5['has'](exports.PostProcessStepType[_0x4161cf(0x94)])){const _0x59f8a7=(_0x2b5bb9=this['getStepParam'](exports.PostProcessStepType[_0x4161cf(0x94)]))!==null&&_0x2b5bb9!==void 0?_0x2b5bb9:DefaultGTAOParam,_0x101e98=this['renderer'][_0x4161cf(0xb7)](new three.Vector2());this[_0x4161cf(0x7b)]=new GTAOPass_js.GTAOPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)],_0x101e98['x'],_0x101e98['y']),this['updateGTAOParameters'](_0x59f8a7),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this[_0x4161cf(0x7b)]);}if(_0x39dff5[_0x4161cf(0xac)](exports.PostProcessStepType['DepthOfField'])){const _0x5b611c=(_0x58ad83=this[_0x4161cf(0x79)](exports.PostProcessStepType[_0x4161cf(0x7e)]))!==null&&_0x58ad83!==void 0?_0x58ad83:DefaultDOFParam;this[_0x4161cf(0x6c)]=new BokehPass_js.BokehPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)],{'focus':_0x5b611c[_0x4161cf(0xab)],'aperture':_0x5b611c[_0x4161cf(0x8d)],'maxblur':_0x5b611c['maxblur']}),this['composer']['addPass'](this['dofPass']);}if(_0x39dff5[_0x4161cf(0xac)](exports.PostProcessStepType[_0x4161cf(0x99)])){const _0x5a6598=(_0x1ae22c=this[_0x4161cf(0x79)](exports.PostProcessStepType[_0x4161cf(0x99)]))!==null&&_0x1ae22c!==void 0?_0x1ae22c:DefaultBloomParam,_0x156d56=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new three.Vector2());this[_0x4161cf(0x8a)]=new UnrealBloomPass_js.UnrealBloomPass(_0x156d56,_0x5a6598['strength'],_0x5a6598[_0x4161cf(0xa3)],_0x5a6598[_0x4161cf(0x98)]),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this['bloomPass']);}if(_0x39dff5[_0x4161cf(0xac)](exports.PostProcessStepType[_0x4161cf(0x6b)])){const _0x2cfb84=(_0x1120d0=this[_0x4161cf(0x79)](exports.PostProcessStepType['Outline']))!==null&&_0x1120d0!==void 0?_0x1120d0:DefaultOutlineParams,_0x928b5d=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new three.Vector2());this[_0x4161cf(0xa0)]=new OutlinePass_js.OutlinePass(_0x928b5d,this[_0x4161cf(0xbc)],this['camera']),this[_0x4161cf(0xa0)]['selectedObjects']=this[_0x4161cf(0x68)],this['updateOutlineParameters'](_0x2cfb84),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this['outlinePass']);}this[_0x4161cf(0x6e)]&&(this['lutPass']=new LUTPass_js.LUTPass({'lut':this[_0x4161cf(0x6e)]}),this[_0x4161cf(0xa2)]['addPass'](this[_0x4161cf(0xb0)]));const _0x47e69b=this[_0x4161cf(0x79)](exports.PostProcessStepType['Antialiasing']);if(_0x47e69b){const _0x45993e=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new three.Vector2());if(_0x47e69b[_0x4161cf(0xaa)]===_0x4161cf(0x76))this['fxaaPass']=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this['fxaaPass']['uniforms'][_0x4161cf(0x9e)][_0x4161cf(0x80)][_0x4161cf(0x88)](0x1/_0x45993e['x'],0x1/_0x45993e['y']),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this[_0x4161cf(0xa7)]);else _0x47e69b[_0x4161cf(0xaa)]===_0x4161cf(0x92)&&(this[_0x4161cf(0x78)]=new SMAAPass_js.SMAAPass(_0x45993e['x'],_0x45993e['y']),this['composer'][_0x4161cf(0xba)](this[_0x4161cf(0x78)]));}this[_0x4161cf(0x71)]=new OutputPass_js.OutputPass(),this[_0x4161cf(0xa2)]['addPass'](this[_0x4161cf(0x71)]);}[_0x3b2bff(0x6d)](_0x2d55a2,_0x46a266){const _0x22058e=_0x3b2bff;this['composer']&&this['composer'][_0x22058e(0x81)]();this[_0x22058e(0xa2)]=new EffectComposer_js.EffectComposer(this[_0x22058e(0x8c)],_0x2d55a2),this[_0x22058e(0xb1)]=null,this[_0x22058e(0xa0)]=null,this[_0x22058e(0x8a)]=null,this[_0x22058e(0x6c)]=null,this[_0x22058e(0x7b)]=null,this['smaaPass']=null,this['fxaaPass']=null,this[_0x22058e(0xb0)]=null,this['outputPass']=null,this[_0x22058e(0xb1)]=new RenderPass_js.RenderPass(this[_0x22058e(0xbc)],this[_0x22058e(0x87)]),this[_0x22058e(0xa2)][_0x22058e(0xba)](this['renderPass']);for(const _0x1c3cd3 of _0x46a266){this[_0x22058e(0xa2)][_0x22058e(0xba)](_0x1c3cd3);}this['outputPass']=new OutputPass_js.OutputPass(),this['composer']['addPass'](this['outputPass']),this['markDirty']();}[_0x3b2bff(0x79)](_0x2a6c23){const _0x5623d4=_0x3b2bff;var _0x343f3a;return (_0x343f3a=this[_0x5623d4(0x8f)][_0x5623d4(0x86)][_0x5623d4(0x9c)](_0x5de278=>_0x5de278[_0x5623d4(0xb2)]===_0x2a6c23))!==null&&_0x343f3a!==void 0?_0x343f3a:null;}[_0x3b2bff(0x7f)](){const _0x5b0b8c=_0x3b2bff,_0x53ec3d=this['getStepParam'](exports.PostProcessStepType[_0x5b0b8c(0x99)]);_0x53ec3d&&this[_0x5b0b8c(0x8a)]&&(this[_0x5b0b8c(0x8a)][_0x5b0b8c(0xae)]=_0x53ec3d['strength'],this[_0x5b0b8c(0x8a)][_0x5b0b8c(0xa3)]=_0x53ec3d[_0x5b0b8c(0xa3)],this[_0x5b0b8c(0x8a)][_0x5b0b8c(0x98)]=_0x53ec3d[_0x5b0b8c(0x98)]);const _0x2e7514=this['getStepParam'](exports.PostProcessStepType[_0x5b0b8c(0x7e)]);if(_0x2e7514&&this['dofPass']){const _0x366999=this['dofPass'];_0x366999[_0x5b0b8c(0xb3)]&&(_0x366999[_0x5b0b8c(0xb3)]['focus'][_0x5b0b8c(0x80)]=_0x2e7514[_0x5b0b8c(0xab)],_0x366999[_0x5b0b8c(0xb3)][_0x5b0b8c(0x8d)][_0x5b0b8c(0x80)]=_0x2e7514['aperture'],_0x366999[_0x5b0b8c(0xb3)][_0x5b0b8c(0x7a)][_0x5b0b8c(0x80)]=_0x2e7514[_0x5b0b8c(0x7a)]);}const _0x1a90ae=this['getStepParam'](exports.PostProcessStepType[_0x5b0b8c(0x94)]);_0x1a90ae&&this['gtaoPass']&&this['updateGTAOParameters'](_0x1a90ae);const _0x5c4093=this[_0x5b0b8c(0x79)](exports.PostProcessStepType[_0x5b0b8c(0x6b)]);_0x5c4093&&this[_0x5b0b8c(0xa0)]&&this[_0x5b0b8c(0x9d)](_0x5c4093);}['updateGTAOParameters'](_0x37045e){const _0x11d451=_0x3b2bff;if(!this[_0x11d451(0x7b)])return;this['gtaoPass'][_0x11d451(0x72)]=_0x37045e[_0x11d451(0x6f)];}[_0x3b2bff(0x9d)](_0x3fd1a8){const _0x358472=_0x3b2bff;if(!this[_0x358472(0xa0)])return;this[_0x358472(0xa0)]['edgeStrength']=_0x3fd1a8['edgeStrength'],this[_0x358472(0xa0)][_0x358472(0xa6)]=_0x3fd1a8[_0x358472(0xa6)],this[_0x358472(0xa0)][_0x358472(0x82)]=_0x3fd1a8[_0x358472(0x82)],this[_0x358472(0xa0)][_0x358472(0x69)]=_0x3fd1a8[_0x358472(0x69)],this[_0x358472(0xa0)]['visibleEdgeColor']=new three.Color(_0x3fd1a8[_0x358472(0x90)]),this[_0x358472(0xa0)][_0x358472(0x66)]=new three.Color(_0x3fd1a8[_0x358472(0x66)]);}[_0x3b2bff(0xb8)](_0x14ef1a){const _0x1a7c9e=_0x3b2bff;this[_0x1a7c9e(0x8f)][_0x1a7c9e(0x86)]=_0x14ef1a,this[_0x1a7c9e(0x8e)](),this[_0x1a7c9e(0x9b)]();}[_0x3b2bff(0x93)](_0x5068f7){const _0x35376c=_0x3b2bff;!this[_0x35376c(0x68)][_0x35376c(0xb6)](_0x5068f7)&&(this[_0x35376c(0x68)][_0x35376c(0xa1)](_0x5068f7),this[_0x35376c(0xa0)]&&(this['outlinePass'][_0x35376c(0xaf)]=this[_0x35376c(0x68)])),this[_0x35376c(0x9b)]();}[_0x3b2bff(0xad)](_0x32a7c0){const _0x168b70=_0x3b2bff;this[_0x168b70(0x68)][_0x168b70(0xb5)]=0x0,this[_0x168b70(0x68)][_0x168b70(0xa1)](..._0x32a7c0),this['outlinePass']&&(this[_0x168b70(0xa0)][_0x168b70(0xaf)]=this['outlineObjects']),this[_0x168b70(0x9b)]();}[_0x3b2bff(0xa5)](_0x21c07a){const _0x14a203=_0x3b2bff,_0x4fa2b7=this[_0x14a203(0x68)][_0x14a203(0x95)](_0x21c07a);_0x4fa2b7>-1&&(this[_0x14a203(0x68)][_0x14a203(0x96)](_0x4fa2b7,0x1),this['outlinePass']&&(this[_0x14a203(0xa0)][_0x14a203(0xaf)]=this[_0x14a203(0x68)])),this['markDirty']();}[_0x3b2bff(0x70)](_0x22d041){const _0x538880=_0x3b2bff;this[_0x538880(0x6e)]=_0x22d041,this['buildPipeline'](),this[_0x538880(0x9b)]();}['getLUT3DTexture'](){return this['lut3dTexture'];}[_0x3b2bff(0xbb)](){const _0x4675b1=_0x3b2bff;if(this[_0x4675b1(0xa2)])return this['composer'][_0x4675b1(0xbb)](),!![];return ![];}[_0x3b2bff(0x83)](_0x2bb1e7,_0x4c9703){const _0x583df=_0x3b2bff;this[_0x583df(0xa2)]&&this[_0x583df(0xa2)][_0x583df(0xa9)](_0x2bb1e7,_0x4c9703),this['fxaaPass']&&this[_0x583df(0xa7)][_0x583df(0xb3)][_0x583df(0x9e)][_0x583df(0x80)]['set'](0x1/_0x2bb1e7,0x1/_0x4c9703);}[_0x3b2bff(0x75)](){const _0x33a4ca=_0x3b2bff;this[_0x33a4ca(0x68)]=[],this[_0x33a4ca(0xa0)]=null,this['bloomPass']=null,this[_0x33a4ca(0x6c)]=null,this[_0x33a4ca(0x7b)]=null,this[_0x33a4ca(0x78)]=null,this[_0x33a4ca(0xa7)]=null,this[_0x33a4ca(0xb0)]=null,this[_0x33a4ca(0x71)]=null,this[_0x33a4ca(0x6e)]=null,this[_0x33a4ca(0xa2)]&&(this['composer'][_0x33a4ca(0x81)](),this['composer']=null);}[_0x3b2bff(0x9b)](){const _0x598200=_0x3b2bff;this['onDirtyCallback']&&this[_0x598200(0x84)]();}}
|
|
82
|
+
const _0x256265=_0x36ae$1;(function(_0x46c246,_0x3425da){const _0x49e911=_0x36ae$1,_0x1186ad=_0x46c246();while(!![]){try{const _0x421eeb=parseInt(_0x49e911(0x133))/0x1+parseInt(_0x49e911(0x122))/0x2*(parseInt(_0x49e911(0x121))/0x3)+-parseInt(_0x49e911(0x12d))/0x4*(parseInt(_0x49e911(0x12a))/0x5)+-parseInt(_0x49e911(0x140))/0x6+parseInt(_0x49e911(0x11d))/0x7+parseInt(_0x49e911(0x109))/0x8*(parseInt(_0x49e911(0x11e))/0x9)+-parseInt(_0x49e911(0x11c))/0xa;if(_0x421eeb===_0x3425da)break;else _0x1186ad['push'](_0x1186ad['shift']());}catch(_0x51efcd){_0x1186ad['push'](_0x1186ad['shift']());}}}(_0x4479,0xd8435));function _0x36ae$1(_0x24b47e,_0x4eb1e0){_0x24b47e=_0x24b47e-0xfa;const _0x4479a9=_0x4479();let _0x36aef2=_0x4479a9[_0x24b47e];return _0x36aef2;}function _0x4479(){const _0x38ff46=['strength','map','gtaoPass','render','set','camera','13843280hGGaHI','hiddenEdgeColor','getSize','bloomPass','updateGTAOParameters','threshold','length','setup','smaaPass','visibleEdgeColor','GroundTruthAmbientOcclusion','dispose','outputPass','steps','scene','type','method','edgeThickness','find','17736670oJiGiq','4126941vQqXXw','9qZEokJ','Outline','renderCamera','87OXYVUK','100986EHSXnZ','setOutlineObjects','dofPass','onDirtyCallback','getLUT3DTexture','push','uniforms','maxblur','4429555BcCqnR','postProcessParam','value','4bWdZBT','renderer','renderPass','markDirty','lut3dTexture','getStepParam','859848MWgFlb','selectedObjects','has','outlineObjects','removeOutlineObject','focus','updateOutlineParameters','Bloom','updateAllParameters','aperture','addPass','setLUT3DTexture','pulsePeriod','6592362nmxXTz','edgeStrength','buildPipeline','fxaa','outlinePass','lutPass','DepthOfField','composer','radius','fxaaPass','assign','resolution','processing'];_0x4479=function(){return _0x38ff46;};return _0x4479();}class WebGLPostProcessManager{constructor(_0x338be7,_0x55f1f2,_0x20333c,_0x174f47,_0x3db41d){const _0xce39cd=_0x36ae$1;this['composer']=null,this[_0xce39cd(0x136)]=[],this['renderPass']=null,this[_0xce39cd(0xfa)]=null,this[_0xce39cd(0x10c)]=null,this[_0xce39cd(0x124)]=null,this[_0xce39cd(0x105)]=null,this[_0xce39cd(0x111)]=null,this['fxaaPass']=null,this[_0xce39cd(0xfb)]=null,this[_0xce39cd(0x115)]=null,this[_0xce39cd(0x131)]=null,this[_0xce39cd(0x125)]=null,this['renderer']=_0x338be7,this[_0xce39cd(0x117)]=_0x55f1f2,this[_0xce39cd(0x108)]=_0x20333c,this[_0xce39cd(0x12b)]=Object[_0xce39cd(0x100)]({},_0x174f47),this[_0xce39cd(0x125)]=_0x3db41d!==null&&_0x3db41d!==void 0?_0x3db41d:null;}get[_0x256265(0x102)](){return this['composer'];}['updateCamera'](_0x5a07d5){const _0x58ac19=_0x256265;this[_0x58ac19(0x108)]=_0x5a07d5;if(!this[_0x58ac19(0xfd)])this['buildPipeline'](),this[_0x58ac19(0x130)]();else {if(this[_0x58ac19(0x12f)])this[_0x58ac19(0x12f)][_0x58ac19(0x108)]=this['camera'];if(this[_0x58ac19(0xfa)])this[_0x58ac19(0xfa)][_0x58ac19(0x120)]=this[_0x58ac19(0x108)];this[_0x58ac19(0x124)]&&(this[_0x58ac19(0x124)][_0x58ac19(0x108)]=this[_0x58ac19(0x108)]),this['gtaoPass']&&(this[_0x58ac19(0x105)]['camera']=this[_0x58ac19(0x108)]);}}[_0x256265(0x110)](){const _0x4ad0ab=_0x256265;!this['composer']?this[_0x4ad0ab(0x142)]():this[_0x4ad0ab(0x13b)](),this['markDirty']();}['buildPipeline'](){const _0x154e74=_0x256265;var _0x58ba6e,_0x33e5cb,_0x544e2e,_0x2ad77e;this[_0x154e74(0xfd)]&&this['composer']['dispose']();this[_0x154e74(0xfd)]=new EffectComposer_js.EffectComposer(this[_0x154e74(0x12e)]),this['renderPass']=new RenderPass_js.RenderPass(this[_0x154e74(0x117)],this[_0x154e74(0x108)]),this[_0x154e74(0xfd)][_0x154e74(0x13d)](this[_0x154e74(0x12f)]),this[_0x154e74(0xfa)]=null,this[_0x154e74(0x10c)]=null,this[_0x154e74(0x124)]=null,this[_0x154e74(0x105)]=null,this[_0x154e74(0x111)]=null,this[_0x154e74(0xff)]=null,this[_0x154e74(0xfb)]=null,this[_0x154e74(0x115)]=null;const _0x20377e=new Set(this[_0x154e74(0x12b)][_0x154e74(0x116)][_0x154e74(0x104)](_0x578f07=>_0x578f07[_0x154e74(0x118)]));if(_0x20377e[_0x154e74(0x135)](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])){const _0x40f5e9=(_0x58ba6e=this[_0x154e74(0x132)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x58ba6e!==void 0?_0x58ba6e:DefaultGTAOParam,_0x19b648=this[_0x154e74(0x12e)][_0x154e74(0x10b)](new three.Vector2());this[_0x154e74(0x105)]=new GTAOPass_js.GTAOPass(this['scene'],this[_0x154e74(0x108)],_0x19b648['x'],_0x19b648['y']),this[_0x154e74(0x10d)](_0x40f5e9),this[_0x154e74(0xfd)][_0x154e74(0x13d)](this['gtaoPass']);}if(_0x20377e[_0x154e74(0x135)](exports.PostProcessStepType[_0x154e74(0xfc)])){const _0x29f252=(_0x33e5cb=this[_0x154e74(0x132)](exports.PostProcessStepType[_0x154e74(0xfc)]))!==null&&_0x33e5cb!==void 0?_0x33e5cb:DefaultDOFParam;this[_0x154e74(0x124)]=new BokehPass_js.BokehPass(this[_0x154e74(0x117)],this['camera'],{'focus':_0x29f252[_0x154e74(0x138)],'aperture':_0x29f252['aperture'],'maxblur':_0x29f252[_0x154e74(0x129)]}),this['composer']['addPass'](this[_0x154e74(0x124)]);}if(_0x20377e[_0x154e74(0x135)](exports.PostProcessStepType[_0x154e74(0x13a)])){const _0x20a736=(_0x544e2e=this['getStepParam'](exports.PostProcessStepType['Bloom']))!==null&&_0x544e2e!==void 0?_0x544e2e:DefaultBloomParam,_0x2eb5ff=this[_0x154e74(0x12e)][_0x154e74(0x10b)](new three.Vector2());this[_0x154e74(0x10c)]=new UnrealBloomPass_js.UnrealBloomPass(_0x2eb5ff,_0x20a736[_0x154e74(0x103)],_0x20a736[_0x154e74(0xfe)],_0x20a736[_0x154e74(0x10e)]),this['composer'][_0x154e74(0x13d)](this[_0x154e74(0x10c)]);}if(_0x20377e[_0x154e74(0x135)](exports.PostProcessStepType[_0x154e74(0x11f)])){const _0x5b3698=(_0x2ad77e=this[_0x154e74(0x132)](exports.PostProcessStepType[_0x154e74(0x11f)]))!==null&&_0x2ad77e!==void 0?_0x2ad77e:DefaultOutlineParams,_0x2bc0a2=this[_0x154e74(0x12e)][_0x154e74(0x10b)](new three.Vector2());this[_0x154e74(0xfa)]=new OutlinePass_js.OutlinePass(_0x2bc0a2,this[_0x154e74(0x117)],this[_0x154e74(0x108)]),this[_0x154e74(0xfa)][_0x154e74(0x134)]=this[_0x154e74(0x136)],this[_0x154e74(0x139)](_0x5b3698),this['composer'][_0x154e74(0x13d)](this[_0x154e74(0xfa)]);}this[_0x154e74(0x131)]&&(this[_0x154e74(0xfb)]=new LUTPass_js.LUTPass({'lut':this[_0x154e74(0x131)]}),this[_0x154e74(0xfd)]['addPass'](this[_0x154e74(0xfb)]));const _0x56f52e=this[_0x154e74(0x132)](exports.PostProcessStepType['Antialiasing']);if(_0x56f52e){const _0x38ee76=this[_0x154e74(0x12e)][_0x154e74(0x10b)](new three.Vector2());if(_0x56f52e[_0x154e74(0x119)]===_0x154e74(0x143))this[_0x154e74(0xff)]=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x154e74(0xff)][_0x154e74(0x128)][_0x154e74(0x101)][_0x154e74(0x12c)][_0x154e74(0x107)](0x1/_0x38ee76['x'],0x1/_0x38ee76['y']),this['composer'][_0x154e74(0x13d)](this[_0x154e74(0xff)]);else _0x56f52e['method']==='smaa'&&(this[_0x154e74(0x111)]=new SMAAPass_js.SMAAPass(_0x38ee76['x'],_0x38ee76['y']),this['composer'][_0x154e74(0x13d)](this[_0x154e74(0x111)]));}this[_0x154e74(0x115)]=new OutputPass_js.OutputPass(),this[_0x154e74(0xfd)][_0x154e74(0x13d)](this[_0x154e74(0x115)]);}['buildCustomPostProcess'](_0x408135,_0xbbd859){const _0x565ac9=_0x256265;this[_0x565ac9(0xfd)]&&this[_0x565ac9(0xfd)][_0x565ac9(0x114)]();this['composer']=new EffectComposer_js.EffectComposer(this[_0x565ac9(0x12e)],_0x408135),this[_0x565ac9(0x12f)]=null,this[_0x565ac9(0xfa)]=null,this[_0x565ac9(0x10c)]=null,this['dofPass']=null,this[_0x565ac9(0x105)]=null,this['smaaPass']=null,this[_0x565ac9(0xff)]=null,this[_0x565ac9(0xfb)]=null,this['outputPass']=null,this[_0x565ac9(0x12f)]=new RenderPass_js.RenderPass(this[_0x565ac9(0x117)],this[_0x565ac9(0x108)]),this[_0x565ac9(0xfd)][_0x565ac9(0x13d)](this[_0x565ac9(0x12f)]);for(const _0x185075 of _0xbbd859){this[_0x565ac9(0xfd)][_0x565ac9(0x13d)](_0x185075);}this[_0x565ac9(0x115)]=new OutputPass_js.OutputPass(),this[_0x565ac9(0xfd)][_0x565ac9(0x13d)](this['outputPass']),this[_0x565ac9(0x130)]();}[_0x256265(0x132)](_0xad351b){const _0x5f0f3a=_0x256265;var _0x299038;return (_0x299038=this[_0x5f0f3a(0x12b)][_0x5f0f3a(0x116)][_0x5f0f3a(0x11b)](_0x39c075=>_0x39c075[_0x5f0f3a(0x118)]===_0xad351b))!==null&&_0x299038!==void 0?_0x299038:null;}[_0x256265(0x13b)](){const _0x88345b=_0x256265,_0x5da9fc=this[_0x88345b(0x132)](exports.PostProcessStepType[_0x88345b(0x13a)]);_0x5da9fc&&this[_0x88345b(0x10c)]&&(this[_0x88345b(0x10c)][_0x88345b(0x103)]=_0x5da9fc[_0x88345b(0x103)],this['bloomPass'][_0x88345b(0xfe)]=_0x5da9fc[_0x88345b(0xfe)],this[_0x88345b(0x10c)]['threshold']=_0x5da9fc['threshold']);const _0x482769=this[_0x88345b(0x132)](exports.PostProcessStepType[_0x88345b(0xfc)]);if(_0x482769&&this[_0x88345b(0x124)]){const _0x16d644=this[_0x88345b(0x124)];_0x16d644[_0x88345b(0x128)]&&(_0x16d644[_0x88345b(0x128)][_0x88345b(0x138)][_0x88345b(0x12c)]=_0x482769[_0x88345b(0x138)],_0x16d644[_0x88345b(0x128)][_0x88345b(0x13c)][_0x88345b(0x12c)]=_0x482769[_0x88345b(0x13c)],_0x16d644[_0x88345b(0x128)]['maxblur']['value']=_0x482769[_0x88345b(0x129)]);}const _0xfcb3a5=this[_0x88345b(0x132)](exports.PostProcessStepType[_0x88345b(0x113)]);_0xfcb3a5&&this[_0x88345b(0x105)]&&this[_0x88345b(0x10d)](_0xfcb3a5);const _0x155548=this[_0x88345b(0x132)](exports.PostProcessStepType[_0x88345b(0x11f)]);_0x155548&&this['outlinePass']&&this[_0x88345b(0x139)](_0x155548);}['updateGTAOParameters'](_0x88281a){const _0x2e0142=_0x256265;if(!this['gtaoPass'])return;this[_0x2e0142(0x105)]['blendIntensity']=_0x88281a['scale'];}[_0x256265(0x139)](_0x7b0b6c){const _0x1dd9ac=_0x256265;if(!this['outlinePass'])return;this[_0x1dd9ac(0xfa)][_0x1dd9ac(0x141)]=_0x7b0b6c[_0x1dd9ac(0x141)],this[_0x1dd9ac(0xfa)]['edgeGlow']=_0x7b0b6c['edgeGlow'],this[_0x1dd9ac(0xfa)][_0x1dd9ac(0x11a)]=_0x7b0b6c[_0x1dd9ac(0x11a)],this[_0x1dd9ac(0xfa)][_0x1dd9ac(0x13f)]=_0x7b0b6c['pulsePeriod'],this[_0x1dd9ac(0xfa)][_0x1dd9ac(0x112)]=new three.Color(_0x7b0b6c[_0x1dd9ac(0x112)]),this['outlinePass'][_0x1dd9ac(0x10a)]=new three.Color(_0x7b0b6c[_0x1dd9ac(0x10a)]);}['updateSteps'](_0xe7cf59){const _0x2c44c9=_0x256265;this[_0x2c44c9(0x12b)][_0x2c44c9(0x116)]=_0xe7cf59,this[_0x2c44c9(0x142)](),this[_0x2c44c9(0x130)]();}['addOutlineObject'](_0x294aad){const _0x1c6814=_0x256265;!this[_0x1c6814(0x136)]['includes'](_0x294aad)&&(this[_0x1c6814(0x136)][_0x1c6814(0x127)](_0x294aad),this[_0x1c6814(0xfa)]&&(this[_0x1c6814(0xfa)]['selectedObjects']=this['outlineObjects'])),this[_0x1c6814(0x130)]();}[_0x256265(0x123)](_0x23e6b1){const _0x511643=_0x256265;this[_0x511643(0x136)][_0x511643(0x10f)]=0x0,this[_0x511643(0x136)][_0x511643(0x127)](..._0x23e6b1),this[_0x511643(0xfa)]&&(this['outlinePass'][_0x511643(0x134)]=this['outlineObjects']),this[_0x511643(0x130)]();}[_0x256265(0x137)](_0x424c10){const _0x254e53=_0x256265,_0x25b8f4=this[_0x254e53(0x136)]['indexOf'](_0x424c10);_0x25b8f4>-1&&(this['outlineObjects']['splice'](_0x25b8f4,0x1),this[_0x254e53(0xfa)]&&(this[_0x254e53(0xfa)][_0x254e53(0x134)]=this[_0x254e53(0x136)])),this[_0x254e53(0x130)]();}[_0x256265(0x13e)](_0x1b14dc){const _0x4b86ec=_0x256265;this[_0x4b86ec(0x131)]=_0x1b14dc,this['buildPipeline'](),this['markDirty']();}[_0x256265(0x126)](){return this['lut3dTexture'];}['render'](){const _0x5174d8=_0x256265;if(this[_0x5174d8(0xfd)])return this[_0x5174d8(0xfd)][_0x5174d8(0x106)](),!![];return ![];}['resize'](_0x5bc187,_0x5eef73){const _0x14283b=_0x256265;this[_0x14283b(0xfd)]&&this['composer']['setSize'](_0x5bc187,_0x5eef73),this[_0x14283b(0xff)]&&this[_0x14283b(0xff)][_0x14283b(0x128)]['resolution'][_0x14283b(0x12c)][_0x14283b(0x107)](0x1/_0x5bc187,0x1/_0x5eef73);}['destroy'](){const _0x5a0ae2=_0x256265;this[_0x5a0ae2(0x136)]=[],this[_0x5a0ae2(0xfa)]=null,this[_0x5a0ae2(0x10c)]=null,this[_0x5a0ae2(0x124)]=null,this['gtaoPass']=null,this['smaaPass']=null,this['fxaaPass']=null,this[_0x5a0ae2(0xfb)]=null,this['outputPass']=null,this[_0x5a0ae2(0x131)]=null,this[_0x5a0ae2(0xfd)]&&(this[_0x5a0ae2(0xfd)][_0x5a0ae2(0x114)](),this[_0x5a0ae2(0xfd)]=null);}[_0x256265(0x130)](){const _0x118855=_0x256265;this[_0x118855(0x125)]&&this[_0x118855(0x125)]();}}
|
|
83
83
|
|
|
84
|
-
const _0x2e46b6=_0x258f;function _0x2d6f(){const _0x1ab8db=['clientHeight','getContext','createCSS3DRenderer','absolute','_renderer','className','top','6939736UdlsdQ','clientWidth','Renderer\x20is\x20not\x20initialized','world','resizeObserver','9LBijJJ','labelRenderer','background','51110uVXTMb','createUILayer','_app','render','setupPostProcess','type','isLabelRendererNeeded','969858DSDprR','pointerEvents','10OkRPbB','scene','devicePixelRatio','elementId','WebGL','setup','WebGPU','markRenderStateDirty','setToneMappingExposure','position','isUILayerNeeded','width','updateSteps','removeChild','onAfterPostProcessRender','style','100%','outer','enabled','433736mGedii','app','appendChild','createPostProcessManager','scene-css3dRenderer','isRenderStateDirty','resize','height','getElementById','remove','addOutlineObject','removeOutlineObject','setAnimationLoop','1836316gQFtuQ','1275974elRVaF','disconnect','destroyPostProcess','none','postProcessManager','_uiDom','buildCustomPostProcess','createRenderer','onWindowResize','renderer','image/jpeg','setToneMapping','zIndex','scene-labelRenderer','contentBoxSize','2343XVCXVP','updatePostProcess','803468JXFAWC','transparent','isCSS3DRendererNeeded','updateCamera','shadowMap','createElement','css3dRenderer','setShadowMapType','destroy','toneMapping','left','toneMappingExposure','setOutlineObjects','0px','_canvasContainer','9peXAiC','setClearAlpha','domElement','scene-uiLayer','div','toDataURL','_outerContainer','createLabelRenderer','canvas','setSize','querySelector','camera','.scene-uiLayer','firstChild'];_0x2d6f=function(){return _0x1ab8db;};return _0x2d6f();}function _0x258f(_0x30d2f9,_0x5340be){_0x30d2f9=_0x30d2f9-0x1f0;const _0x2d6f63=_0x2d6f();let _0x258f88=_0x2d6f63[_0x30d2f9];return _0x258f88;}(function(_0x1b2d8b,_0x15ccf3){const _0x126949=_0x258f,_0x53a654=_0x1b2d8b();while(!![]){try{const _0xaee437=parseInt(_0x126949(0x1fa))/0x1+parseInt(_0x126949(0x207))/0x2+-parseInt(_0x126949(0x242))/0x3*(parseInt(_0x126949(0x219))/0x4)+parseInt(_0x126949(0x24e))/0x5*(-parseInt(_0x126949(0x24c))/0x6)+-parseInt(_0x126949(0x208))/0x7+parseInt(_0x126949(0x23d))/0x8*(-parseInt(_0x126949(0x228))/0x9)+parseInt(_0x126949(0x245))/0xa*(parseInt(_0x126949(0x217))/0xb);if(_0xaee437===_0x15ccf3)break;else _0x53a654['push'](_0x53a654['shift']());}catch(_0x477739){_0x53a654['push'](_0x53a654['shift']());}}}(_0x2d6f,0x71805));class Viewport{get['uiDom'](){const _0x2c32e4=_0x258f;return this[_0x2c32e4(0x20d)];}get['canvas'](){const _0xf4bc7d=_0x258f;return this[_0xf4bc7d(0x22e)]||this['renderer'][_0xf4bc7d(0x22a)];}get[_0x2e46b6(0x1f8)](){const _0x2b4102=_0x2e46b6;return this[_0x2b4102(0x22e)];}get['renderer'](){const _0x404c51=_0x2e46b6;if(!this[_0x404c51(0x23a)])throw Error(_0x404c51(0x23f));return this[_0x404c51(0x23a)];}get[_0x2e46b6(0x1fb)](){const _0x4cdd12=_0x2e46b6;if(!this[_0x4cdd12(0x247)])throw Error('App\x20is\x20not\x20initialized');return this['_app'];}constructor(_0x3b3f57,_0x365e49){const _0xadaa81=_0x2e46b6;this['_uiDom']=null,this[_0xadaa81(0x23a)]=null,this[_0xadaa81(0x243)]=null,this['css3dRenderer']=null,this[_0xadaa81(0x247)]=null,this['resizeObserver']=null,this[_0xadaa81(0x22e)]=null,this[_0xadaa81(0x227)]=null,this['isRenderStateDirty']=!![],this[_0xadaa81(0x20c)]=null,this[_0xadaa81(0x247)]=_0x3b3f57,_0x365e49[_0xadaa81(0x251)]&&(this['_outerContainer']=document[_0xadaa81(0x202)](_0x365e49['elementId'])),this[_0xadaa81(0x20f)](_0x365e49['renderer'][_0xadaa81(0x24a)],_0x365e49[_0xadaa81(0x211)]['param']),_0x365e49[_0xadaa81(0x24b)]&&this['createLabelRenderer'](),_0x365e49[_0xadaa81(0x21b)]&&this[_0xadaa81(0x238)](),_0x365e49[_0xadaa81(0x1f1)]&&this['createUILayer'](),setTimeout(()=>{const _0x36c9d0=_0xadaa81;var _0x4e39c0;this[_0x36c9d0(0x249)]((_0x4e39c0=_0x365e49['postProcess'])!==null&&_0x4e39c0!==void 0?_0x4e39c0:{'steps':[]});},0x32),this['_outerContainer']&&(this[_0xadaa81(0x241)]=new ResizeObserver(_0x13135a=>{const _0xb42b64=_0xadaa81;for(let _0x37ab04 of _0x13135a){_0x37ab04[_0xb42b64(0x216)]&&this[_0xb42b64(0x210)]();}}),this[_0xadaa81(0x241)]['observe'](this[_0xadaa81(0x22e)])),this[_0xadaa81(0x1fb)]['onCameraChangedDelegate']['add'](()=>{const _0x36eefe=_0xadaa81;this[_0x36eefe(0x20c)]&&(this[_0x36eefe(0x20c)][_0x36eefe(0x21c)](this[_0x36eefe(0x1fb)][_0x36eefe(0x233)]),this['postProcessManager'][_0x36eefe(0x253)]());});}['createRenderer'](_0xce95ca,_0x4d0ff6){const _0x525de4=_0x2e46b6,_0x29e272=this[_0x525de4(0x22e)];this[_0x525de4(0x23a)]&&(_0x29e272&&_0x29e272['removeChild'](this['_renderer'][_0x525de4(0x22a)]),this[_0x525de4(0x23a)]['dispose']());let _0x430018=_0x29e272?_0x29e272[_0x525de4(0x23e)]:0x200,_0xdead9=_0x29e272?_0x29e272['clientHeight']:0x200;switch(_0xce95ca){case exports.RendererType[_0x525de4(0x254)]:this[_0x525de4(0x23a)]=new webgpu.WebGPURenderer(_0x4d0ff6);break;case exports.RendererType[_0x525de4(0x252)]:this[_0x525de4(0x23a)]=new three.WebGLRenderer(_0x4d0ff6);break;}this[_0x525de4(0x23a)]['setPixelRatio'](window[_0x525de4(0x250)]),this[_0x525de4(0x23a)][_0x525de4(0x231)](_0x430018,_0xdead9),this['_renderer']['shadowMap'][_0x525de4(0x1f9)]=!![],this[_0x525de4(0x23a)][_0x525de4(0x21d)][_0x525de4(0x24a)]=0x1,this['_renderer'][_0x525de4(0x222)]=0x0,this[_0x525de4(0x23a)][_0x525de4(0x224)]=0x1,this['_renderer'][_0x525de4(0x229)](0x0),this['_renderer']['domElement'][_0x525de4(0x1f6)]['position']=_0x525de4(0x239),this['_renderer'][_0x525de4(0x22a)][_0x525de4(0x1f6)]['left']='0',this['_renderer']['domElement'][_0x525de4(0x1f6)]['top']='0',this['_renderer'][_0x525de4(0x22a)]['style'][_0x525de4(0x214)]='20',this[_0x525de4(0x23a)]['domElement'][_0x525de4(0x1f6)][_0x525de4(0x244)]=_0x525de4(0x21a),this[_0x525de4(0x23a)][_0x525de4(0x22a)]['style']['pointerEvents']='none',_0x29e272&&_0x29e272[_0x525de4(0x1fc)](this[_0x525de4(0x23a)]['domElement']);}[_0x2e46b6(0x22f)](){const _0x1163bb=_0x2e46b6,_0x596c5c=this[_0x1163bb(0x22e)];this[_0x1163bb(0x243)]&&(_0x596c5c&&_0x596c5c[_0x1163bb(0x1f4)](this[_0x1163bb(0x243)][_0x1163bb(0x22a)]));let _0x4f1321=_0x596c5c?_0x596c5c[_0x1163bb(0x23e)]:0x200,_0x4a5748=_0x596c5c?_0x596c5c[_0x1163bb(0x236)]:0x200;this[_0x1163bb(0x243)]=new Addons_js.CSS2DRenderer(),this[_0x1163bb(0x243)]['setSize'](_0x4f1321,_0x4a5748),this['labelRenderer']['domElement'][_0x1163bb(0x1f6)][_0x1163bb(0x24d)]='none',this[_0x1163bb(0x243)]['domElement']['style'][_0x1163bb(0x1f0)]=_0x1163bb(0x239),this['labelRenderer']['domElement'][_0x1163bb(0x1f6)][_0x1163bb(0x23c)]=_0x1163bb(0x226),this[_0x1163bb(0x243)][_0x1163bb(0x22a)]['className']=_0x1163bb(0x215),this[_0x1163bb(0x243)][_0x1163bb(0x22a)][_0x1163bb(0x1f6)]['zIndex']='30',_0x596c5c&&_0x596c5c[_0x1163bb(0x1fc)](this[_0x1163bb(0x243)][_0x1163bb(0x22a)]);}[_0x2e46b6(0x238)](){const _0x2deb1a=_0x2e46b6,_0x4d429e=this[_0x2deb1a(0x22e)];this[_0x2deb1a(0x21f)]&&(_0x4d429e&&_0x4d429e[_0x2deb1a(0x1f4)](this[_0x2deb1a(0x21f)]['domElement']));let _0x3753f4=_0x4d429e?_0x4d429e[_0x2deb1a(0x23e)]:0x200,_0x25eb12=_0x4d429e?_0x4d429e[_0x2deb1a(0x236)]:0x200;this['css3dRenderer']=new Addons_js.CSS3DRenderer(),this[_0x2deb1a(0x21f)][_0x2deb1a(0x231)](_0x3753f4,_0x25eb12),this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)]['style'][_0x2deb1a(0x24d)]=_0x2deb1a(0x20b),this['css3dRenderer']['domElement'][_0x2deb1a(0x1f6)][_0x2deb1a(0x1f0)]=_0x2deb1a(0x239),this['css3dRenderer'][_0x2deb1a(0x22a)]['style'][_0x2deb1a(0x223)]=_0x2deb1a(0x226),this['css3dRenderer'][_0x2deb1a(0x22a)][_0x2deb1a(0x1f6)][_0x2deb1a(0x23c)]=_0x2deb1a(0x226),this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)][_0x2deb1a(0x1f6)][_0x2deb1a(0x214)]='0',this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)][_0x2deb1a(0x23b)]=_0x2deb1a(0x1fe),_0x4d429e&&_0x4d429e['insertBefore'](this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)],_0x4d429e[_0x2deb1a(0x235)]);}[_0x2e46b6(0x246)](){const _0x583716=_0x2e46b6;if(!this['_outerContainer'])return;let _0x14b369=this[_0x583716(0x22e)][_0x583716(0x232)](_0x583716(0x234));!_0x14b369&&(_0x14b369=document[_0x583716(0x21e)](_0x583716(0x22c)),_0x14b369[_0x583716(0x23b)]=_0x583716(0x22b),_0x14b369['id']=_0x583716(0x22b),_0x14b369[_0x583716(0x1f6)][_0x583716(0x1f0)]=_0x583716(0x239),_0x14b369[_0x583716(0x1f6)]['left']='0',_0x14b369[_0x583716(0x1f6)][_0x583716(0x23c)]='0',_0x14b369[_0x583716(0x1f6)]['width']=_0x583716(0x1f7),_0x14b369[_0x583716(0x1f6)][_0x583716(0x201)]=_0x583716(0x1f7),_0x14b369[_0x583716(0x1f6)][_0x583716(0x24d)]='none',_0x14b369[_0x583716(0x1f6)][_0x583716(0x214)]='10',this['_outerContainer'][_0x583716(0x1fc)](_0x14b369),this[_0x583716(0x20d)]=_0x14b369);}['init'](){}[_0x2e46b6(0x20e)](_0x3ab089,_0x27e4a9){const _0x8dbda0=_0x2e46b6;this[_0x8dbda0(0x20c)]instanceof WebGLPostProcessManager&&this[_0x8dbda0(0x20c)][_0x8dbda0(0x20e)](_0x3ab089,_0x27e4a9);}[_0x2e46b6(0x249)](_0x344936){const _0x4c8af2=_0x2e46b6;!this[_0x4c8af2(0x20c)]&&(this[_0x4c8af2(0x20c)]=this[_0x4c8af2(0x1fd)](_0x344936)),this[_0x4c8af2(0x20c)][_0x4c8af2(0x253)]();}[_0x2e46b6(0x1fd)](_0x2bf228){const _0xda926d=_0x2e46b6;return this['renderer']instanceof three.WebGLRenderer?new WebGLPostProcessManager(this['renderer'],this[_0xda926d(0x1fb)][_0xda926d(0x240)][_0xda926d(0x24f)],this[_0xda926d(0x1fb)][_0xda926d(0x233)],_0x2bf228,()=>this[_0xda926d(0x255)]()):new PostProcessManager(this[_0xda926d(0x211)],this['app'][_0xda926d(0x240)][_0xda926d(0x24f)],this['app'][_0xda926d(0x233)],_0x2bf228,()=>this[_0xda926d(0x255)]());}[_0x2e46b6(0x218)](_0x5933a5){const _0x28e12e=_0x2e46b6;this[_0x28e12e(0x20c)]&&this['postProcessManager'][_0x28e12e(0x1f3)](_0x5933a5);}[_0x2e46b6(0x204)](_0x4b9cf6){const _0x268558=_0x2e46b6;this[_0x268558(0x20c)]&&this[_0x268558(0x20c)][_0x268558(0x204)](_0x4b9cf6);}[_0x2e46b6(0x225)](_0x18d7ff){const _0x237572=_0x2e46b6;this['postProcessManager']&&this[_0x237572(0x20c)]['setOutlineObjects'](_0x18d7ff);}[_0x2e46b6(0x205)](_0x22c1d3){const _0x544277=_0x2e46b6;this[_0x544277(0x20c)]&&this[_0x544277(0x20c)][_0x544277(0x205)](_0x22c1d3);}[_0x2e46b6(0x20a)](){const _0x553a15=_0x2e46b6;this[_0x553a15(0x20c)]&&(this[_0x553a15(0x20c)][_0x553a15(0x221)](),this[_0x553a15(0x20c)]=null);}[_0x2e46b6(0x210)](){const _0x1e7c58=_0x2e46b6;let _0x52ef1c=this[_0x1e7c58(0x22e)];if(!_0x52ef1c)return;this[_0x1e7c58(0x1fb)]['onWindowResize'](_0x52ef1c['clientWidth'],_0x52ef1c[_0x1e7c58(0x236)]),this['renderer']['setSize'](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c['clientHeight']);if(this[_0x1e7c58(0x243)])this[_0x1e7c58(0x243)][_0x1e7c58(0x231)](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]);if(this['css3dRenderer'])this[_0x1e7c58(0x21f)][_0x1e7c58(0x231)](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]);this['postProcessManager']&&_0x1e7c58(0x200)in this[_0x1e7c58(0x20c)]&&this['postProcessManager']['resize'](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]),this[_0x1e7c58(0x255)]();}[_0x2e46b6(0x255)](){const _0x185fd8=_0x2e46b6;this[_0x185fd8(0x1ff)]=!![];}[_0x2e46b6(0x248)](){const _0x30b937=_0x2e46b6;if(!this[_0x30b937(0x1ff)])return;if(this['postProcessManager']&&this[_0x30b937(0x20c)][_0x30b937(0x248)]());else this[_0x30b937(0x211)][_0x30b937(0x248)](this[_0x30b937(0x1fb)]['world'][_0x30b937(0x24f)],this[_0x30b937(0x1fb)]['camera']);this[_0x30b937(0x1f5)](),this['labelRenderer']&&this['labelRenderer'][_0x30b937(0x248)](this[_0x30b937(0x1fb)]['world'][_0x30b937(0x24f)],this['app'][_0x30b937(0x233)]),this[_0x30b937(0x21f)]&&this[_0x30b937(0x21f)][_0x30b937(0x248)](this[_0x30b937(0x1fb)][_0x30b937(0x240)][_0x30b937(0x24f)],this[_0x30b937(0x1fb)][_0x30b937(0x233)]),this[_0x30b937(0x1ff)]=![];}['onAfterPostProcessRender'](){}async['renderAsImage'](_0x50923b=0x400,_0x1f54a3=0x400){const _0x2a5960=_0x2e46b6;try{if(this[_0x2a5960(0x20c)]&&this[_0x2a5960(0x20c)][_0x2a5960(0x248)]()){}else await this['renderer'][_0x2a5960(0x248)](this[_0x2a5960(0x1fb)]['world'][_0x2a5960(0x24f)],this[_0x2a5960(0x1fb)][_0x2a5960(0x233)]);const _0x3ca7be=this['renderer'][_0x2a5960(0x22a)][_0x2a5960(0x1f2)],_0x251b65=this['renderer'][_0x2a5960(0x22a)]['height'];let _0x31e41f=_0x3ca7be||_0x50923b,_0x2f006f=_0x251b65||_0x1f54a3;(_0x31e41f<=0x0||_0x2f006f<=0x0)&&(_0x31e41f=_0x50923b,_0x2f006f=_0x1f54a3);const _0x40c450=document[_0x2a5960(0x21e)](_0x2a5960(0x230));_0x40c450[_0x2a5960(0x1f2)]=_0x50923b,_0x40c450[_0x2a5960(0x201)]=_0x1f54a3;const _0x56bb18=_0x40c450[_0x2a5960(0x237)]('2d');if(!_0x56bb18)throw Error('Can\x20not\x20create\x20context');_0x56bb18['drawImage'](this[_0x2a5960(0x211)][_0x2a5960(0x22a)],0x0,0x0,_0x31e41f,_0x2f006f,0x0,0x0,_0x50923b,_0x1f54a3);const _0x224ae5=_0x40c450[_0x2a5960(0x22d)](_0x2a5960(0x212));return _0x40c450['remove'](),_0x224ae5;}catch(_0x4a14c3){return '';}}['setShadowMapEnabled'](_0x36243e){const _0x239d13=_0x2e46b6;if(!this[_0x239d13(0x23a)])return;this[_0x239d13(0x23a)]['shadowMap'][_0x239d13(0x1f9)]=_0x36243e;}[_0x2e46b6(0x220)](_0x546d95){const _0x12c195=_0x2e46b6;if(!this[_0x12c195(0x23a)])return;this[_0x12c195(0x23a)][_0x12c195(0x21d)][_0x12c195(0x24a)]=_0x546d95;}[_0x2e46b6(0x213)](_0x3cdbfc){const _0xe533b9=_0x2e46b6;if(!this['_renderer'])return;this[_0xe533b9(0x23a)]['toneMapping']=_0x3cdbfc;}[_0x2e46b6(0x256)](_0x3682b7){const _0x475908=_0x2e46b6;if(!this[_0x475908(0x23a)])return;this[_0x475908(0x23a)][_0x475908(0x224)]=_0x3682b7;}['destroy'](){const _0xb31388=_0x2e46b6;this[_0xb31388(0x20a)](),this[_0xb31388(0x211)][_0xb31388(0x206)](null),this[_0xb31388(0x241)]&&(this[_0xb31388(0x241)][_0xb31388(0x209)](),this[_0xb31388(0x241)]=null),this[_0xb31388(0x243)]&&(this[_0xb31388(0x243)][_0xb31388(0x22a)][_0xb31388(0x203)](),this['labelRenderer']=null),this[_0xb31388(0x23a)]&&(this[_0xb31388(0x211)][_0xb31388(0x22a)][_0xb31388(0x203)](),this[_0xb31388(0x23a)]['dispose'](),this[_0xb31388(0x23a)]=null),this[_0xb31388(0x227)]&&(this[_0xb31388(0x227)]['remove'](),this[_0xb31388(0x227)]=null),this[_0xb31388(0x22e)]=null,this['_app']=null;}}
|
|
84
|
+
function _0x4ade(){const _0x2064ed=['updateSteps','setup','markRenderStateDirty','clientHeight','none','appendChild','css3dRenderer','app','left','onWindowResize','transparent','isCSS3DRendererNeeded','_uiDom','devicePixelRatio','dispose','updatePostProcess','world','1453864CTiXci','removeChild','7RjZNyV','setSize','setOutlineObjects','.scene-uiLayer','top','toDataURL','_canvasContainer','toneMapping','100%','domElement','renderAsImage','727CfQssZ','postProcessManager','scene-labelRenderer','onAfterPostProcessRender','destroy','0px','zIndex','scene-uiLayer','labelRenderer','setToneMappingExposure','createRenderer','isUILayerNeeded','drawImage','pointerEvents','add','resizeObserver','scene-css3dRenderer','render','isLabelRendererNeeded','remove','659238SydEbN','height','renderer','camera','_outerContainer','canvas','type','removeOutlineObject','outer','position','Can\x20not\x20create\x20context','shadowMap','setShadowMapType','absolute','WebGL','style','270175cxDyxY','scene','WebGPU','90827MZJPcr','App\x20is\x20not\x20initialized','param','createPostProcessManager','getContext','526eOMpbD','_renderer','setShadowMapEnabled','createUILayer','9rsdiCB','setToneMapping','_app','708084DxVUtD','firstChild','setupPostProcess','updateCamera','width','className','observe','buildCustomPostProcess','elementId','insertBefore','createLabelRenderer','10EnECfH','getElementById','isRenderStateDirty','addOutlineObject','enabled','uiDom','setPixelRatio','425220wkeGHd','clientWidth'];_0x4ade=function(){return _0x2064ed;};return _0x4ade();}const _0x178850=_0x32e3;(function(_0x2cce57,_0x482002){const _0x2ad563=_0x32e3,_0x397893=_0x2cce57();while(!![]){try{const _0x46d068=-parseInt(_0x2ad563(0xdc))/0x1*(parseInt(_0x2ad563(0xa3))/0x2)+parseInt(_0x2ad563(0xbc))/0x3+parseInt(_0x2ad563(0xaa))/0x4+parseInt(_0x2ad563(0x9b))/0x5+parseInt(_0x2ad563(0xf0))/0x6*(parseInt(_0x2ad563(0xd1))/0x7)+parseInt(_0x2ad563(0xcf))/0x8*(-parseInt(_0x2ad563(0xa7))/0x9)+parseInt(_0x2ad563(0xb5))/0xa*(-parseInt(_0x2ad563(0x9e))/0xb);if(_0x46d068===_0x482002)break;else _0x397893['push'](_0x397893['shift']());}catch(_0x5346af){_0x397893['push'](_0x397893['shift']());}}}(_0x4ade,0x18c66));function _0x32e3(_0xbf9435,_0x5852e6){_0xbf9435=_0xbf9435-0x9a;const _0x4ade09=_0x4ade();let _0x32e362=_0x4ade09[_0xbf9435];return _0x32e362;}class Viewport{get[_0x178850(0xba)](){return this['_uiDom'];}get[_0x178850(0xf5)](){const _0x198281=_0x178850;return this[_0x198281(0xf4)]||this[_0x198281(0xf2)][_0x198281(0xda)];}get[_0x178850(0xf8)](){const _0x77cad5=_0x178850;return this[_0x77cad5(0xf4)];}get['renderer'](){const _0x1e602c=_0x178850;if(!this[_0x1e602c(0xa4)])throw Error('Renderer\x20is\x20not\x20initialized');return this['_renderer'];}get['app'](){const _0x2cda29=_0x178850;if(!this['_app'])throw Error(_0x2cda29(0x9f));return this['_app'];}constructor(_0x10d006,_0x5d3d20){const _0x1231a0=_0x178850;this[_0x1231a0(0xca)]=null,this[_0x1231a0(0xa4)]=null,this[_0x1231a0(0xe4)]=null,this['css3dRenderer']=null,this[_0x1231a0(0xa9)]=null,this[_0x1231a0(0xeb)]=null,this[_0x1231a0(0xf4)]=null,this[_0x1231a0(0xd7)]=null,this[_0x1231a0(0xb7)]=!![],this[_0x1231a0(0xdd)]=null,this[_0x1231a0(0xa9)]=_0x10d006,_0x5d3d20[_0x1231a0(0xb2)]&&(this[_0x1231a0(0xf4)]=document[_0x1231a0(0xb6)](_0x5d3d20[_0x1231a0(0xb2)])),this[_0x1231a0(0xe6)](_0x5d3d20[_0x1231a0(0xf2)][_0x1231a0(0xf6)],_0x5d3d20[_0x1231a0(0xf2)][_0x1231a0(0xa0)]),_0x5d3d20[_0x1231a0(0xee)]&&this[_0x1231a0(0xb4)](),_0x5d3d20[_0x1231a0(0xc9)]&&this['createCSS3DRenderer'](),_0x5d3d20[_0x1231a0(0xe7)]&&this['createUILayer'](),setTimeout(()=>{const _0x596319=_0x1231a0;var _0x1cf3ab;this[_0x596319(0xac)]((_0x1cf3ab=_0x5d3d20['postProcess'])!==null&&_0x1cf3ab!==void 0?_0x1cf3ab:{'steps':[]});},0x32),this[_0x1231a0(0xf4)]&&(this[_0x1231a0(0xeb)]=new ResizeObserver(_0x985a22=>{for(let _0x239490 of _0x985a22){_0x239490['contentBoxSize']&&this['onWindowResize']();}}),this[_0x1231a0(0xeb)][_0x1231a0(0xb0)](this[_0x1231a0(0xf4)])),this[_0x1231a0(0xc5)]['onCameraChangedDelegate'][_0x1231a0(0xea)](()=>{const _0x156a8b=_0x1231a0;this[_0x156a8b(0xdd)]&&(this[_0x156a8b(0xdd)][_0x156a8b(0xad)](this['app']['camera']),this[_0x156a8b(0xdd)][_0x156a8b(0xbf)]());});}[_0x178850(0xe6)](_0x216e39,_0x278c2d){const _0x4958e4=_0x178850,_0x363bb3=this[_0x4958e4(0xf4)];this[_0x4958e4(0xa4)]&&(_0x363bb3&&_0x363bb3['removeChild'](this[_0x4958e4(0xa4)]['domElement']),this[_0x4958e4(0xa4)][_0x4958e4(0xcc)]());let _0x3c7f6f=_0x363bb3?_0x363bb3['clientWidth']:0x200,_0x2df8a8=_0x363bb3?_0x363bb3[_0x4958e4(0xc1)]:0x200;switch(_0x216e39){case exports.RendererType[_0x4958e4(0x9d)]:this['_renderer']=new webgpu.WebGPURenderer(_0x278c2d);break;case exports.RendererType[_0x4958e4(0xfe)]:this[_0x4958e4(0xa4)]=new three.WebGLRenderer(_0x278c2d);break;}this[_0x4958e4(0xa4)][_0x4958e4(0xbb)](window[_0x4958e4(0xcb)]),this[_0x4958e4(0xa4)]['setSize'](_0x3c7f6f,_0x2df8a8),this[_0x4958e4(0xa4)][_0x4958e4(0xfb)][_0x4958e4(0xb9)]=!![],this[_0x4958e4(0xa4)]['shadowMap'][_0x4958e4(0xf6)]=0x1,this[_0x4958e4(0xa4)][_0x4958e4(0xd8)]=0x0,this[_0x4958e4(0xa4)]['toneMappingExposure']=0x1,this['_renderer']['setClearAlpha'](0x0),this[_0x4958e4(0xa4)][_0x4958e4(0xda)]['style'][_0x4958e4(0xf9)]=_0x4958e4(0xfd),this[_0x4958e4(0xa4)][_0x4958e4(0xda)]['style'][_0x4958e4(0xc6)]='0',this[_0x4958e4(0xa4)]['domElement'][_0x4958e4(0x9a)]['top']='0',this[_0x4958e4(0xa4)]['domElement']['style'][_0x4958e4(0xe2)]='20',this[_0x4958e4(0xa4)][_0x4958e4(0xda)][_0x4958e4(0x9a)]['background']=_0x4958e4(0xc8),this[_0x4958e4(0xa4)]['domElement'][_0x4958e4(0x9a)][_0x4958e4(0xe9)]='none',_0x363bb3&&_0x363bb3[_0x4958e4(0xc3)](this[_0x4958e4(0xa4)]['domElement']);}[_0x178850(0xb4)](){const _0x519f4c=_0x178850,_0x3562f6=this[_0x519f4c(0xf4)];this[_0x519f4c(0xe4)]&&(_0x3562f6&&_0x3562f6[_0x519f4c(0xd0)](this['labelRenderer'][_0x519f4c(0xda)]));let _0x30d747=_0x3562f6?_0x3562f6[_0x519f4c(0xbd)]:0x200,_0x57b05a=_0x3562f6?_0x3562f6['clientHeight']:0x200;this[_0x519f4c(0xe4)]=new Addons_js.CSS2DRenderer(),this[_0x519f4c(0xe4)]['setSize'](_0x30d747,_0x57b05a),this[_0x519f4c(0xe4)][_0x519f4c(0xda)][_0x519f4c(0x9a)][_0x519f4c(0xe9)]=_0x519f4c(0xc2),this['labelRenderer'][_0x519f4c(0xda)][_0x519f4c(0x9a)][_0x519f4c(0xf9)]=_0x519f4c(0xfd),this[_0x519f4c(0xe4)][_0x519f4c(0xda)][_0x519f4c(0x9a)][_0x519f4c(0xd5)]=_0x519f4c(0xe1),this[_0x519f4c(0xe4)][_0x519f4c(0xda)][_0x519f4c(0xaf)]=_0x519f4c(0xde),this[_0x519f4c(0xe4)][_0x519f4c(0xda)][_0x519f4c(0x9a)]['zIndex']='30',_0x3562f6&&_0x3562f6['appendChild'](this[_0x519f4c(0xe4)][_0x519f4c(0xda)]);}['createCSS3DRenderer'](){const _0x351e10=_0x178850,_0x51ca6b=this['_outerContainer'];this[_0x351e10(0xc4)]&&(_0x51ca6b&&_0x51ca6b[_0x351e10(0xd0)](this[_0x351e10(0xc4)][_0x351e10(0xda)]));let _0x50cd55=_0x51ca6b?_0x51ca6b['clientWidth']:0x200,_0x3cae0a=_0x51ca6b?_0x51ca6b[_0x351e10(0xc1)]:0x200;this[_0x351e10(0xc4)]=new Addons_js.CSS3DRenderer(),this[_0x351e10(0xc4)][_0x351e10(0xd2)](_0x50cd55,_0x3cae0a),this['css3dRenderer'][_0x351e10(0xda)][_0x351e10(0x9a)][_0x351e10(0xe9)]=_0x351e10(0xc2),this[_0x351e10(0xc4)][_0x351e10(0xda)]['style']['position']='absolute',this['css3dRenderer'][_0x351e10(0xda)][_0x351e10(0x9a)][_0x351e10(0xc6)]='0px',this[_0x351e10(0xc4)][_0x351e10(0xda)][_0x351e10(0x9a)][_0x351e10(0xd5)]=_0x351e10(0xe1),this[_0x351e10(0xc4)][_0x351e10(0xda)][_0x351e10(0x9a)]['zIndex']='0',this[_0x351e10(0xc4)][_0x351e10(0xda)][_0x351e10(0xaf)]=_0x351e10(0xec),_0x51ca6b&&_0x51ca6b[_0x351e10(0xb3)](this['css3dRenderer'][_0x351e10(0xda)],_0x51ca6b[_0x351e10(0xab)]);}[_0x178850(0xa6)](){const _0x26ab3a=_0x178850;if(!this['_outerContainer'])return;let _0xd541c5=this[_0x26ab3a(0xf4)]['querySelector'](_0x26ab3a(0xd4));!_0xd541c5&&(_0xd541c5=document['createElement']('div'),_0xd541c5['className']=_0x26ab3a(0xe3),_0xd541c5['id']=_0x26ab3a(0xe3),_0xd541c5['style'][_0x26ab3a(0xf9)]=_0x26ab3a(0xfd),_0xd541c5[_0x26ab3a(0x9a)][_0x26ab3a(0xc6)]='0',_0xd541c5[_0x26ab3a(0x9a)]['top']='0',_0xd541c5[_0x26ab3a(0x9a)][_0x26ab3a(0xae)]=_0x26ab3a(0xd9),_0xd541c5[_0x26ab3a(0x9a)][_0x26ab3a(0xf1)]='100%',_0xd541c5[_0x26ab3a(0x9a)]['pointerEvents']=_0x26ab3a(0xc2),_0xd541c5[_0x26ab3a(0x9a)][_0x26ab3a(0xe2)]='10',this[_0x26ab3a(0xf4)][_0x26ab3a(0xc3)](_0xd541c5),this[_0x26ab3a(0xca)]=_0xd541c5);}['init'](){}[_0x178850(0xb1)](_0x4601f1,_0x55bb86){const _0x250ae6=_0x178850;this[_0x250ae6(0xdd)]instanceof WebGLPostProcessManager&&this[_0x250ae6(0xdd)][_0x250ae6(0xb1)](_0x4601f1,_0x55bb86);}[_0x178850(0xac)](_0x3d3ba9){const _0x25ee50=_0x178850;!this[_0x25ee50(0xdd)]&&(this[_0x25ee50(0xdd)]=this[_0x25ee50(0xa1)](_0x3d3ba9)),this[_0x25ee50(0xdd)][_0x25ee50(0xbf)]();}[_0x178850(0xa1)](_0x39acb2){const _0x2ff783=_0x178850;return this[_0x2ff783(0xf2)]instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x2ff783(0xf2)],this['app'][_0x2ff783(0xce)]['scene'],this[_0x2ff783(0xc5)][_0x2ff783(0xf3)],_0x39acb2,()=>this[_0x2ff783(0xc0)]()):new PostProcessManager(this[_0x2ff783(0xf2)],this[_0x2ff783(0xc5)][_0x2ff783(0xce)]['scene'],this[_0x2ff783(0xc5)][_0x2ff783(0xf3)],_0x39acb2,()=>this[_0x2ff783(0xc0)]());}[_0x178850(0xcd)](_0x512071){const _0x3acbca=_0x178850;this[_0x3acbca(0xdd)]&&this[_0x3acbca(0xdd)][_0x3acbca(0xbe)](_0x512071);}[_0x178850(0xb8)](_0x49201c){const _0x2b21ff=_0x178850;this[_0x2b21ff(0xdd)]&&this[_0x2b21ff(0xdd)]['addOutlineObject'](_0x49201c);}[_0x178850(0xd3)](_0xee1f98){const _0x35ace7=_0x178850;this[_0x35ace7(0xdd)]&&this[_0x35ace7(0xdd)]['setOutlineObjects'](_0xee1f98);}[_0x178850(0xf7)](_0x53ccb8){const _0x6ea18f=_0x178850;this[_0x6ea18f(0xdd)]&&this[_0x6ea18f(0xdd)][_0x6ea18f(0xf7)](_0x53ccb8);}['destroyPostProcess'](){const _0x3049fa=_0x178850;this['postProcessManager']&&(this[_0x3049fa(0xdd)][_0x3049fa(0xe0)](),this[_0x3049fa(0xdd)]=null);}[_0x178850(0xc7)](){const _0x16310c=_0x178850;let _0x2216a0=this[_0x16310c(0xf4)];if(!_0x2216a0)return;this[_0x16310c(0xc5)]['onWindowResize'](_0x2216a0[_0x16310c(0xbd)],_0x2216a0[_0x16310c(0xc1)]),this['renderer'][_0x16310c(0xd2)](_0x2216a0[_0x16310c(0xbd)],_0x2216a0[_0x16310c(0xc1)]);if(this[_0x16310c(0xe4)])this['labelRenderer'][_0x16310c(0xd2)](_0x2216a0['clientWidth'],_0x2216a0[_0x16310c(0xc1)]);if(this[_0x16310c(0xc4)])this['css3dRenderer']['setSize'](_0x2216a0[_0x16310c(0xbd)],_0x2216a0['clientHeight']);this[_0x16310c(0xdd)]&&'resize'in this[_0x16310c(0xdd)]&&this[_0x16310c(0xdd)]['resize'](_0x2216a0['clientWidth'],_0x2216a0['clientHeight']),this['markRenderStateDirty']();}['markRenderStateDirty'](){this['isRenderStateDirty']=!![];}[_0x178850(0xed)](){const _0x3bf498=_0x178850;if(!this[_0x3bf498(0xb7)])return;if(this[_0x3bf498(0xdd)]&&this[_0x3bf498(0xdd)][_0x3bf498(0xed)]());else this[_0x3bf498(0xf2)][_0x3bf498(0xed)](this[_0x3bf498(0xc5)][_0x3bf498(0xce)][_0x3bf498(0x9c)],this[_0x3bf498(0xc5)][_0x3bf498(0xf3)]);this[_0x3bf498(0xdf)](),this[_0x3bf498(0xe4)]&&this[_0x3bf498(0xe4)][_0x3bf498(0xed)](this['app'][_0x3bf498(0xce)][_0x3bf498(0x9c)],this[_0x3bf498(0xc5)]['camera']),this[_0x3bf498(0xc4)]&&this[_0x3bf498(0xc4)][_0x3bf498(0xed)](this['app'][_0x3bf498(0xce)][_0x3bf498(0x9c)],this[_0x3bf498(0xc5)]['camera']),this[_0x3bf498(0xb7)]=![];}[_0x178850(0xdf)](){}async[_0x178850(0xdb)](_0x1c0894=0x400,_0x25d9ef=0x400){const _0x2314cf=_0x178850;try{if(this[_0x2314cf(0xdd)]&&this[_0x2314cf(0xdd)][_0x2314cf(0xed)]()){}else await this[_0x2314cf(0xf2)][_0x2314cf(0xed)](this[_0x2314cf(0xc5)][_0x2314cf(0xce)][_0x2314cf(0x9c)],this[_0x2314cf(0xc5)][_0x2314cf(0xf3)]);const _0x2bb9f3=this[_0x2314cf(0xf2)][_0x2314cf(0xda)][_0x2314cf(0xae)],_0x36aa53=this['renderer']['domElement']['height'];let _0x303c05=_0x2bb9f3||_0x1c0894,_0x4c65b0=_0x36aa53||_0x25d9ef;(_0x303c05<=0x0||_0x4c65b0<=0x0)&&(_0x303c05=_0x1c0894,_0x4c65b0=_0x25d9ef);const _0xf8ad3=document['createElement'](_0x2314cf(0xf5));_0xf8ad3[_0x2314cf(0xae)]=_0x1c0894,_0xf8ad3['height']=_0x25d9ef;const _0x25f095=_0xf8ad3[_0x2314cf(0xa2)]('2d');if(!_0x25f095)throw Error(_0x2314cf(0xfa));_0x25f095[_0x2314cf(0xe8)](this['renderer'][_0x2314cf(0xda)],0x0,0x0,_0x303c05,_0x4c65b0,0x0,0x0,_0x1c0894,_0x25d9ef);const _0x341cd9=_0xf8ad3[_0x2314cf(0xd6)]('image/jpeg');return _0xf8ad3[_0x2314cf(0xef)](),_0x341cd9;}catch(_0x5b563c){return '';}}[_0x178850(0xa5)](_0x4ef3c4){const _0x39c68b=_0x178850;if(!this[_0x39c68b(0xa4)])return;this[_0x39c68b(0xa4)][_0x39c68b(0xfb)][_0x39c68b(0xb9)]=_0x4ef3c4;}[_0x178850(0xfc)](_0x4f978c){const _0x2c6500=_0x178850;if(!this[_0x2c6500(0xa4)])return;this[_0x2c6500(0xa4)][_0x2c6500(0xfb)]['type']=_0x4f978c;}[_0x178850(0xa8)](_0x4f7821){const _0x7c9505=_0x178850;if(!this[_0x7c9505(0xa4)])return;this['_renderer']['toneMapping']=_0x4f7821;}[_0x178850(0xe5)](_0x54ff71){const _0x40b942=_0x178850;if(!this[_0x40b942(0xa4)])return;this[_0x40b942(0xa4)]['toneMappingExposure']=_0x54ff71;}[_0x178850(0xe0)](){const _0x57137c=_0x178850;this['destroyPostProcess'](),this[_0x57137c(0xf2)]['setAnimationLoop'](null),this[_0x57137c(0xeb)]&&(this[_0x57137c(0xeb)]['disconnect'](),this[_0x57137c(0xeb)]=null),this[_0x57137c(0xe4)]&&(this['labelRenderer'][_0x57137c(0xda)]['remove'](),this['labelRenderer']=null),this[_0x57137c(0xa4)]&&(this[_0x57137c(0xf2)]['domElement'][_0x57137c(0xef)](),this[_0x57137c(0xa4)][_0x57137c(0xcc)](),this[_0x57137c(0xa4)]=null),this[_0x57137c(0xd7)]&&(this[_0x57137c(0xd7)]['remove'](),this[_0x57137c(0xd7)]=null),this['_outerContainer']=null,this[_0x57137c(0xa9)]=null;}}
|
|
85
85
|
|
|
86
|
-
const _0x367bac=_0x3bc6;function _0x4e0a(){const _0x1f408e=['3228705ryBPaG','childActors','setQuaternion','detachComponent','KeepWorld','userData','9279pIgbfO','onAddedToWorld','delete','onClickDelegate','rootComponent','getChildActorsByIds','forEach','6111370sGxxEp','Actor','max','markRenderStateDirty','_rootComponent','addChildComponent','attachComponent','getBoundsCenterPosition','setRotation','parentActor','getPosition','48DlDPkA','setWorldMatrix','push','getWorldQuaternion','onActorClick','85194OsLToc','setScale','getWorldRightDirection','uuid','getComponentById','isHoverEnabled','getBounds','getBoundsTopCenterPosition','getCenter','getBoundsBottomCenterPosition','onRemovedFromWorld','destroyChildren','world','_name','getWorldMatrix','_onClickDelegate','size','setPosition','getScale','getWorldUpDirection','detachFromParentComponent','setLayers','setVisible','broadcast','length','onActorDoubleClick','app','tick','4eastHJ','sub','threeObject','onHoverEndDelegate','16624BEdzsX','_world','onActorHoverBegin','constructRootComponent','name','landToGround','parent','getWorldForwardDirection','error','addChildActor','9448iGovvh','21047587vKJBGg','min','localToWorld','childrenComponents','clearComponent','isClickEnabled','119nQCaWR','addTickableActor','destroy','KeepRelative','isVisible','worldToLocal','_onHoverBeginDelegate','getWorldRotation','getRotation','removeChildComponent','getWorldPosition','removeTickableActor','viewport','_onDoubleClickDelegate','isTickEnabled','removeComponent','onActorHoverEnd','removeChildActor','getChildActorById','3606710zjBKCy','getQuaternion','children','LYObject'];_0x4e0a=function(){return _0x1f408e;};return _0x4e0a();}(function(_0x314484,_0x35e3ba){const _0x265fa7=_0x3bc6,_0x3963ea=_0x314484();while(!![]){try{const _0x2f8ef2=parseInt(_0x265fa7(0x208))/0x1*(-parseInt(_0x265fa7(0x1e3))/0x2)+parseInt(_0x265fa7(0x1cb))/0x3+-parseInt(_0x265fa7(0x204))/0x4*(parseInt(_0x265fa7(0x1d8))/0x5)+parseInt(_0x265fa7(0x1e8))/0x6*(parseInt(_0x265fa7(0x1b4))/0x7)+parseInt(_0x265fa7(0x1ad))/0x8*(-parseInt(_0x265fa7(0x1d1))/0x9)+parseInt(_0x265fa7(0x1c7))/0xa+parseInt(_0x265fa7(0x1ae))/0xb;if(_0x2f8ef2===_0x35e3ba)break;else _0x3963ea['push'](_0x3963ea['shift']());}catch(_0x520fae){_0x3963ea['push'](_0x3963ea['shift']());}}}(_0x4e0a,0xb7ccd));function _0x3bc6(_0x589e78,_0x13d059){_0x589e78=_0x589e78-0x1a6;const _0x4e0ab9=_0x4e0a();let _0x3bc61e=_0x4e0ab9[_0x589e78];return _0x3bc61e;}class Actor extends BaseObject{get[_0x367bac(0x1f4)](){const _0x101d74=_0x367bac;return this[_0x101d74(0x209)];}get['name'](){return this['_name'];}set[_0x367bac(0x1a7)](_0x973e7d){const _0x5644af=_0x367bac;this[_0x5644af(0x1f5)]=_0x973e7d;}get[_0x367bac(0x1d5)](){const _0x4cdfc5=_0x367bac;if(!this[_0x4cdfc5(0x1dc)])throw Error('rootComponent\x20is\x20invalid');return this[_0x4cdfc5(0x1dc)];}set[_0x367bac(0x1d5)](_0x1aa32d){const _0xb8d95=_0x367bac;_0x1aa32d[_0xb8d95(0x1fc)](),_0x1aa32d[_0xb8d95(0x1e1)]=this;if(this['_rootComponent']){let _0x466e70=this[_0xb8d95(0x1d5)][_0xb8d95(0x1b1)];for(let _0x24d9dd=0x0;_0x24d9dd<_0x466e70[_0xb8d95(0x200)];++_0x24d9dd){_0x1aa32d['addChildComponent'](_0x466e70[_0x24d9dd]);}this[_0xb8d95(0x1d5)][_0xb8d95(0x1b6)]();}this[_0xb8d95(0x1dc)]=_0x1aa32d;}get[_0x367bac(0x1b1)](){const _0x3db0bf=_0x367bac;return this[_0x3db0bf(0x1d5)][_0x3db0bf(0x1b1)];}get[_0x367bac(0x1cc)](){const _0x489875=_0x367bac;var _0x3d9ec9;let _0x4d65f7=[];return (_0x3d9ec9=this[_0x489875(0x1d5)][_0x489875(0x206)])===null||_0x3d9ec9===void 0?void 0:_0x3d9ec9[_0x489875(0x1c9)][_0x489875(0x1d7)](_0xc9b174=>{const _0x358350=_0x489875;var _0x51bf8e;let _0x1078fc=(_0x51bf8e=_0xc9b174[_0x358350(0x1d0)][_0x358350(0x1ca)])===null||_0x51bf8e===void 0?void 0:_0x51bf8e['parentActor'];_0x1078fc!==this&&_0x1078fc instanceof Actor&&_0x4d65f7[_0x358350(0x1e5)](_0x1078fc);}),_0x4d65f7;}get[_0x367bac(0x1e1)](){const _0x480531=_0x367bac;var _0x1d6216,_0x5034c5,_0x4dfb86;let _0x1b7acf=(_0x4dfb86=(_0x5034c5=(_0x1d6216=this[_0x480531(0x1d5)]['threeObject'])===null||_0x1d6216===void 0?void 0:_0x1d6216[_0x480531(0x1a9)])===null||_0x5034c5===void 0?void 0:_0x5034c5[_0x480531(0x1d0)][_0x480531(0x1ca)])===null||_0x4dfb86===void 0?void 0:_0x4dfb86[_0x480531(0x1e1)];return _0x1b7acf===this?null:_0x1b7acf;}get[_0x367bac(0x1b8)](){const _0xe64132=_0x367bac;return this[_0xe64132(0x1d5)]?this['rootComponent']['isVisible']:![];}get[_0x367bac(0x1c2)](){return super['isTickEnabled'];}set['isTickEnabled'](_0x5217b7){const _0x575261=_0x367bac;super[_0x575261(0x1c2)]=_0x5217b7,this['isTickEnabled']?this[_0x575261(0x202)][_0x575261(0x1f4)][_0x575261(0x1b5)](this):this[_0x575261(0x202)][_0x575261(0x1f4)][_0x575261(0x1bf)](this);}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get[_0x367bac(0x207)](){return this['_onHoverEndDelegate'];}get[_0x367bac(0x1d4)](){const _0x143b88=_0x367bac;return this[_0x143b88(0x1f7)];}get['onDoubleClickDelegate'](){const _0x42fdd6=_0x367bac;return this[_0x42fdd6(0x1c1)];}constructor(_0x1db6b6,_0x37b1fc){const _0x236c96=_0x367bac;super(_0x37b1fc),this[_0x236c96(0x1f5)]=_0x236c96(0x1d9),this[_0x236c96(0x1dc)]=null,this[_0x236c96(0x209)]=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x236c96(0x1f7)]=new Delegate(),this[_0x236c96(0x1c1)]=new Delegate(),this[_0x236c96(0x202)]=_0x1db6b6,this[_0x236c96(0x1d5)]=this['constructRootComponent'](),this[_0x236c96(0x1d5)]['parentActor']=this;}[_0x367bac(0x1a6)](){const _0x6c20cd=_0x367bac;return new SceneComponent(this[_0x6c20cd(0x202)]);}[_0x367bac(0x1df)](_0x3d16e8=!![]){const _0x5174af=_0x367bac;let _0x187e97=new webgpu.Vector3();return this['getBounds']()['getCenter'](_0x187e97),!_0x3d16e8?_0x187e97[_0x5174af(0x205)](this[_0x5174af(0x1e2)]()):_0x187e97;}[_0x367bac(0x1c6)](_0x59e826,_0x292f82=!![]){const _0x2f1fe1=_0x367bac,_0x4584e1=this['childActors'];for(const _0x4b96c2 of _0x4584e1){if(_0x4b96c2[_0x2f1fe1(0x1eb)]===_0x59e826)return _0x4b96c2;}if(_0x292f82)for(const _0x5deac0 of _0x4584e1){const _0x917c56=_0x5deac0[_0x2f1fe1(0x1c6)](_0x59e826,!![]);if(_0x917c56)return _0x917c56;}return null;}['getChildActorsByIds'](_0x381063,_0x32f036=!![]){const _0x4154df=_0x367bac,_0x1f8113=[],_0x24d019=new Set(_0x381063),_0x996647=this[_0x4154df(0x1cc)];for(const _0x49d0a0 of _0x996647){_0x24d019['has'](_0x49d0a0[_0x4154df(0x1eb)])&&(_0x1f8113[_0x4154df(0x1e5)](_0x49d0a0),_0x24d019['delete'](_0x49d0a0['uuid']));}if(_0x32f036&&_0x24d019[_0x4154df(0x1f8)]>0x0)for(const _0x29bb9b of _0x996647){const _0x442ddc=_0x29bb9b[_0x4154df(0x1d6)]([..._0x24d019],!![]);for(const _0xab0373 of _0x442ddc){_0x1f8113[_0x4154df(0x1e5)](_0xab0373),_0x24d019[_0x4154df(0x1d3)](_0xab0373[_0x4154df(0x1eb)]);}if(_0x24d019[_0x4154df(0x1f8)]===0x0)break;}return _0x1f8113;}[_0x367bac(0x1ec)](_0x4b3477){const _0x1e6585=_0x367bac;return this['rootComponent'][_0x1e6585(0x1ec)](_0x4b3477);}[_0x367bac(0x1ef)](_0x574931=!![]){const _0x100c8d=_0x367bac;let _0x81c248=new webgpu.Vector3(),_0x3c6aad=this[_0x100c8d(0x1d5)][_0x100c8d(0x1ee)]();return _0x3c6aad[_0x100c8d(0x1f0)](_0x81c248),_0x81c248['y']=_0x3c6aad[_0x100c8d(0x1da)]['y'],!_0x574931?_0x81c248[_0x100c8d(0x205)](this['getPosition']()):_0x81c248;}[_0x367bac(0x1f1)](_0x47f899=!![]){const _0x48ff89=_0x367bac;let _0x4f1985=new webgpu.Vector3(),_0x5a87cb=this[_0x48ff89(0x1ee)]();return _0x5a87cb[_0x48ff89(0x1f0)](_0x4f1985),_0x4f1985['y']=_0x5a87cb[_0x48ff89(0x1af)]['y'],!_0x47f899?_0x4f1985[_0x48ff89(0x205)](this[_0x48ff89(0x1e2)]()):_0x4f1985;}[_0x367bac(0x1ee)](){return this['rootComponent']['getBounds']();}['destroy'](){const _0x20a7c1=_0x367bac;let _0x3a9321=this[_0x20a7c1(0x1cc)];_0x3a9321[_0x20a7c1(0x1d7)](_0xa1f0f6=>{const _0x452fce=_0x20a7c1;_0xa1f0f6[_0x452fce(0x1b6)]();}),this[_0x20a7c1(0x1d5)][_0x20a7c1(0x1b6)]();}[_0x367bac(0x1fe)](_0x3ff690){const _0x304b0c=_0x367bac;this[_0x304b0c(0x1d5)]['setVisible'](_0x3ff690);}[_0x367bac(0x1fd)](_0x3ff2fa,_0x40f621=!![]){const _0x4f69ec=_0x367bac;this[_0x4f69ec(0x1d5)][_0x4f69ec(0x1fd)](_0x3ff2fa),_0x40f621&&this[_0x4f69ec(0x1cc)]['forEach'](_0xf88447=>{const _0x5d6bcd=_0x4f69ec;_0xf88447[_0x5d6bcd(0x1fd)](_0x3ff2fa,_0x40f621);});}[_0x367bac(0x203)](_0x12236e){const _0x4409df=_0x367bac;if(!this[_0x4409df(0x1c2)])return;super[_0x4409df(0x203)](_0x12236e),this[_0x4409df(0x1d5)][_0x4409df(0x203)](_0x12236e);}[_0x367bac(0x1e2)](){const _0x59b266=_0x367bac;return this[_0x59b266(0x1d5)][_0x59b266(0x1e2)]();}[_0x367bac(0x1f9)](..._0x598420){const _0xecdeb1=_0x367bac;_0x598420[_0xecdeb1(0x200)]===0x1?this['rootComponent'][_0xecdeb1(0x1f9)](_0x598420[0x0]):this[_0xecdeb1(0x1d5)][_0xecdeb1(0x1f9)](_0x598420[0x0],_0x598420[0x1],_0x598420[0x2]);}[_0x367bac(0x1bc)](){const _0x29a211=_0x367bac;return this[_0x29a211(0x1d5)][_0x29a211(0x1bc)]();}[_0x367bac(0x1e0)](..._0x4d5ba1){const _0x5c38f1=_0x367bac;_0x4d5ba1[_0x5c38f1(0x200)]===0x1?this[_0x5c38f1(0x1d5)][_0x5c38f1(0x1e0)](_0x4d5ba1[0x0]):this[_0x5c38f1(0x1d5)][_0x5c38f1(0x1e0)](_0x4d5ba1[0x0],_0x4d5ba1[0x1],_0x4d5ba1[0x2]);}[_0x367bac(0x1c8)](){const _0x5ce53e=_0x367bac;return this[_0x5ce53e(0x1d5)][_0x5ce53e(0x1c8)]();}[_0x367bac(0x1cd)](..._0x4e832e){const _0x52c58a=_0x367bac;_0x4e832e[_0x52c58a(0x200)]===0x1?this[_0x52c58a(0x1d5)]['setQuaternion'](_0x4e832e[0x0]):this[_0x52c58a(0x1d5)][_0x52c58a(0x1cd)](_0x4e832e[0x0],_0x4e832e[0x1],_0x4e832e[0x2],_0x4e832e[0x3]);}[_0x367bac(0x1fa)](){const _0x470bb2=_0x367bac;return this[_0x470bb2(0x1d5)][_0x470bb2(0x1fa)]();}[_0x367bac(0x1e9)](..._0x197e96){const _0x5a8f26=_0x367bac;_0x197e96[_0x5a8f26(0x200)]===0x1?this['rootComponent'][_0x5a8f26(0x1e9)](_0x197e96[0x0]):this['rootComponent'][_0x5a8f26(0x1e9)](_0x197e96[0x0],_0x197e96[0x1],_0x197e96[0x2]);}['getWorldMatrix'](){const _0x4fead4=_0x367bac;return this[_0x4fead4(0x1d5)][_0x4fead4(0x1f6)]();}[_0x367bac(0x1e4)](_0x44e1b7){const _0x2a6869=_0x367bac;this[_0x2a6869(0x1d5)][_0x2a6869(0x1e4)](_0x44e1b7);}[_0x367bac(0x1be)](){const _0x1dc22a=_0x367bac;return this[_0x1dc22a(0x1d5)]['getWorldPosition']();}[_0x367bac(0x1bb)](){const _0x12516f=_0x367bac;return this[_0x12516f(0x1d5)][_0x12516f(0x1bb)]();}[_0x367bac(0x1e6)](){const _0x2c8010=_0x367bac;return this[_0x2c8010(0x1d5)][_0x2c8010(0x1e6)]();}['getWorldScale'](){const _0x4032f5=_0x367bac;return this[_0x4032f5(0x1d5)]['getWorldScale']();}[_0x367bac(0x1aa)](){const _0xcacb72=_0x367bac;return this[_0xcacb72(0x1d5)]['getWorldForwardDirection']();}[_0x367bac(0x1fb)](){const _0x3e4c3d=_0x367bac;return this['rootComponent'][_0x3e4c3d(0x1fb)]();}[_0x367bac(0x1ea)](){const _0x3a625c=_0x367bac;return this[_0x3a625c(0x1d5)]['getWorldRightDirection']();}['addLocalOffset'](_0x478675,_0x2cd16a){const _0x1212fb=_0x367bac;let _0x75639b=this[_0x1212fb(0x1e2)]();this[_0x1212fb(0x1f9)](_0x75639b['x']+_0x478675['x']*_0x2cd16a,_0x75639b['y']+_0x478675['y']*_0x2cd16a,_0x75639b['z']+_0x478675['z']*_0x2cd16a);}[_0x367bac(0x1b9)](_0x54d743){const _0x25ec52=_0x367bac;return this[_0x25ec52(0x1d5)]['worldToLocal'](_0x54d743);}['localToWorld'](_0x33100d){const _0x1334c8=_0x367bac;return this[_0x1334c8(0x1d5)][_0x1334c8(0x1b0)](_0x33100d);}['getComponents'](){const _0x27d5df=_0x367bac;return this[_0x27d5df(0x1d5)][_0x27d5df(0x1b1)];}['addComponent'](_0x1a310c,_0x40894c=exports.AttachmentRules[_0x367bac(0x1b7)]){const _0x440a58=_0x367bac;this[_0x440a58(0x1d5)][_0x440a58(0x1dd)](_0x1a310c,_0x40894c),this[_0x440a58(0x209)]&&_0x1a310c['onAddedToWorld'](this[_0x440a58(0x209)]);}[_0x367bac(0x1c3)](_0x101885){const _0x240708=_0x367bac;if(_0x101885===this[_0x240708(0x1dc)])return;this[_0x240708(0x1d5)][_0x240708(0x1bd)](_0x101885);}[_0x367bac(0x1b2)](){const _0x3baa94=_0x367bac;this[_0x3baa94(0x1d5)][_0x3baa94(0x1f3)]();}[_0x367bac(0x1ac)](_0x15e55a,_0x543eca=exports.AttachmentRules[_0x367bac(0x1cf)]){const _0x5d2a95=_0x367bac;if(!_0x15e55a['rootComponent']){console[_0x5d2a95(0x1ab)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x15e55a['parentActor']===this)return;_0x543eca===exports.AttachmentRules['KeepRelative']&&this[_0x5d2a95(0x1d5)]['attachComponent'](_0x15e55a[_0x5d2a95(0x1d5)]);if(_0x543eca===exports.AttachmentRules[_0x5d2a95(0x1cf)]){let _0x850b2f=_0x15e55a[_0x5d2a95(0x1f6)]();this['rootComponent'][_0x5d2a95(0x1de)](_0x15e55a['rootComponent']),_0x15e55a[_0x5d2a95(0x1e4)](_0x850b2f);}this[_0x5d2a95(0x209)]&&this[_0x5d2a95(0x209)][_0x5d2a95(0x1c0)][_0x5d2a95(0x1db)]();}[_0x367bac(0x1c5)](_0x1b7350){const _0x352f05=_0x367bac;let _0x3a53e6=_0x1b7350[_0x352f05(0x1f6)]();this['rootComponent'][_0x352f05(0x1ce)](_0x1b7350[_0x352f05(0x1d5)]),_0x1b7350[_0x352f05(0x1e4)](_0x3a53e6);}['removeFromParent'](){const _0xd0e705=_0x367bac;this[_0xd0e705(0x1e1)]&&this[_0xd0e705(0x1e1)][_0xd0e705(0x1c5)](this);}[_0x367bac(0x1d2)](_0x13b83e){const _0x3d3a0e=_0x367bac;this[_0x3d3a0e(0x209)]=_0x13b83e,this[_0x3d3a0e(0x1d5)][_0x3d3a0e(0x1d2)](this[_0x3d3a0e(0x209)]),this[_0x3d3a0e(0x1cc)][_0x3d3a0e(0x1d7)](_0xcaab1=>{const _0x2020f7=_0x3d3a0e;_0xcaab1[_0x2020f7(0x1d2)](_0x13b83e);});}[_0x367bac(0x1f2)](){const _0x50e813=_0x367bac;this[_0x50e813(0x209)]=null;}get[_0x367bac(0x1ed)](){const _0x5d050c=_0x367bac;return this[_0x5d050c(0x1d5)][_0x5d050c(0x1ed)];}set[_0x367bac(0x1ed)](_0x15caad){const _0x1f023a=_0x367bac;this[_0x1f023a(0x1d5)][_0x1f023a(0x1ed)]=_0x15caad;}get[_0x367bac(0x1b3)](){const _0x2f6bca=_0x367bac;return this[_0x2f6bca(0x1d5)][_0x2f6bca(0x1b3)];}set[_0x367bac(0x1b3)](_0x294952){const _0xaee372=_0x367bac;this[_0xaee372(0x1d5)][_0xaee372(0x1b3)]=_0x294952;}[_0x367bac(0x20a)](_0x2b17df){const _0x545a8e=_0x367bac;this[_0x545a8e(0x1ba)][_0x545a8e(0x1ff)](_0x2b17df);}[_0x367bac(0x1c4)](_0x18e88d){this['_onHoverEndDelegate']['broadcast'](_0x18e88d);}[_0x367bac(0x1e7)](_0x2d6035){this['_onClickDelegate']['broadcast'](_0x2d6035);}[_0x367bac(0x201)](_0x17b3af){const _0xa9962b=_0x367bac;this['_onDoubleClickDelegate'][_0xa9962b(0x1ff)](_0x17b3af);}[_0x367bac(0x1a8)](){}}
|
|
86
|
+
const _0x2969af=_0x35e4$1;(function(_0x542488,_0x2d0c80){const _0x5646ef=_0x35e4$1,_0x1a2dac=_0x542488();while(!![]){try{const _0x49c9dc=parseInt(_0x5646ef(0x1f2))/0x1*(-parseInt(_0x5646ef(0x215))/0x2)+-parseInt(_0x5646ef(0x1e7))/0x3*(parseInt(_0x5646ef(0x1db))/0x4)+parseInt(_0x5646ef(0x212))/0x5*(parseInt(_0x5646ef(0x20e))/0x6)+parseInt(_0x5646ef(0x21d))/0x7*(parseInt(_0x5646ef(0x1e1))/0x8)+-parseInt(_0x5646ef(0x1ef))/0x9+-parseInt(_0x5646ef(0x1d3))/0xa*(-parseInt(_0x5646ef(0x1d8))/0xb)+parseInt(_0x5646ef(0x218))/0xc;if(_0x49c9dc===_0x2d0c80)break;else _0x1a2dac['push'](_0x1a2dac['shift']());}catch(_0x2a7c19){_0x1a2dac['push'](_0x1a2dac['shift']());}}}(_0x3b8b,0x53939));function _0x35e4$1(_0x3c503e,_0x35a904){_0x3c503e=_0x3c503e-0x1bf;const _0x3b8b1d=_0x3b8b();let _0x35e40e=_0x3b8b1d[_0x3c503e];return _0x35e40e;}function _0x3b8b(){const _0x59a8bf=['onActorHoverEnd','name','removeChildActor','onRemovedFromWorld','isHoverEnabled','getBounds','_name','app','_onDoubleClickDelegate','getWorldUpDirection','6msxTbX','onActorHoverBegin','getScale','setWorldMatrix','1768495WSExsn','addComponent','children','466AhYpcW','destroy','worldToLocal','16746564lTmnlF','detachComponent','isTickEnabled','forEach','rootComponent\x20is\x20invalid','565033hkQoxD','size','childActors','_onClickDelegate','_world','rootComponent','has','viewport','getQuaternion','delete','markRenderStateDirty','KeepWorld','getWorldQuaternion','KeepRelative','onHoverBeginDelegate','childrenComponents','world','isVisible','broadcast','getComponentById','push','onDoubleClickDelegate','addChildComponent','uuid','getComponents','getChildActorById','setPosition','500jlsbEo','getPosition','threeObject','getBoundsTopCenterPosition','setVisible','1254WNpEVh','removeChildComponent','getWorldRotation','84jxsGIG','removeTickableActor','Actor','getChildActorsByIds','getBoundsBottomCenterPosition','getWorldRightDirection','24dMKkeV','setScale','getWorldScale','error','constructRootComponent','onClickDelegate','54603dmxsty','onActorDoubleClick','localToWorld','setQuaternion','getWorldMatrix','sub','length','parent','6114015Ebsngs','_onHoverEndDelegate','onAddedToWorld','2546ROEDXJ','attachComponent','clearComponent','min','setLayers','_rootComponent','addLocalOffset','addChildActor','tick','getCenter','getWorldForwardDirection','removeFromParent','userData','setRotation','LYObject','isClickEnabled','parentActor','_onHoverBeginDelegate'];_0x3b8b=function(){return _0x59a8bf;};return _0x3b8b();}class Actor extends BaseObject{get[_0x2969af(0x1c8)](){const _0x51c516=_0x2969af;return this[_0x51c516(0x221)];}get[_0x2969af(0x205)](){const _0x872107=_0x2969af;return this[_0x872107(0x20a)];}set[_0x2969af(0x205)](_0x1ab001){const _0x33dbb5=_0x2969af;this[_0x33dbb5(0x20a)]=_0x1ab001;}get[_0x2969af(0x222)](){const _0x5af776=_0x2969af;if(!this['_rootComponent'])throw Error(_0x5af776(0x21c));return this[_0x5af776(0x1f7)];}set[_0x2969af(0x222)](_0x5bfd41){const _0xf182f5=_0x2969af;_0x5bfd41['detachFromParentComponent'](),_0x5bfd41['parentActor']=this;if(this[_0xf182f5(0x1f7)]){let _0x198801=this[_0xf182f5(0x222)][_0xf182f5(0x1c7)];for(let _0x36ae38=0x0;_0x36ae38<_0x198801[_0xf182f5(0x1ed)];++_0x36ae38){_0x5bfd41[_0xf182f5(0x1ce)](_0x198801[_0x36ae38]);}this[_0xf182f5(0x222)][_0xf182f5(0x216)]();}this[_0xf182f5(0x1f7)]=_0x5bfd41;}get[_0x2969af(0x1c7)](){const _0x38e2cf=_0x2969af;return this[_0x38e2cf(0x222)][_0x38e2cf(0x1c7)];}get[_0x2969af(0x21f)](){const _0x48a077=_0x2969af;var _0x25dbfd;let _0x201478=[];return (_0x25dbfd=this['rootComponent'][_0x48a077(0x1d5)])===null||_0x25dbfd===void 0?void 0:_0x25dbfd[_0x48a077(0x214)][_0x48a077(0x21b)](_0x476a96=>{const _0x2ad5bb=_0x48a077;var _0x4f3e93;let _0x3c8e5f=(_0x4f3e93=_0x476a96[_0x2ad5bb(0x1fe)][_0x2ad5bb(0x200)])===null||_0x4f3e93===void 0?void 0:_0x4f3e93[_0x2ad5bb(0x202)];_0x3c8e5f!==this&&_0x3c8e5f instanceof Actor&&_0x201478[_0x2ad5bb(0x1cc)](_0x3c8e5f);}),_0x201478;}get[_0x2969af(0x202)](){const _0x36412b=_0x2969af;var _0x48302f,_0x33ea00,_0x38e4c9;let _0x345ee7=(_0x38e4c9=(_0x33ea00=(_0x48302f=this[_0x36412b(0x222)][_0x36412b(0x1d5)])===null||_0x48302f===void 0?void 0:_0x48302f[_0x36412b(0x1ee)])===null||_0x33ea00===void 0?void 0:_0x33ea00[_0x36412b(0x1fe)][_0x36412b(0x200)])===null||_0x38e4c9===void 0?void 0:_0x38e4c9[_0x36412b(0x202)];return _0x345ee7===this?null:_0x345ee7;}get[_0x2969af(0x1c9)](){const _0x94d4c4=_0x2969af;return this['rootComponent']?this[_0x94d4c4(0x222)][_0x94d4c4(0x1c9)]:![];}get['isTickEnabled'](){const _0x10d1f5=_0x2969af;return super[_0x10d1f5(0x21a)];}set['isTickEnabled'](_0x1941db){const _0x566373=_0x2969af;super[_0x566373(0x21a)]=_0x1941db,this['isTickEnabled']?this[_0x566373(0x20b)][_0x566373(0x1c8)]['addTickableActor'](this):this[_0x566373(0x20b)][_0x566373(0x1c8)][_0x566373(0x1dc)](this);}get[_0x2969af(0x1c6)](){return this['_onHoverBeginDelegate'];}get['onHoverEndDelegate'](){const _0x339992=_0x2969af;return this[_0x339992(0x1f0)];}get[_0x2969af(0x1e6)](){const _0xcfd34c=_0x2969af;return this[_0xcfd34c(0x220)];}get[_0x2969af(0x1cd)](){const _0x28a228=_0x2969af;return this[_0x28a228(0x20c)];}constructor(_0x4674fb,_0x159658){const _0xad3d2b=_0x2969af;super(_0x159658),this[_0xad3d2b(0x20a)]=_0xad3d2b(0x1dd),this[_0xad3d2b(0x1f7)]=null,this[_0xad3d2b(0x221)]=null,this[_0xad3d2b(0x203)]=new Delegate(),this[_0xad3d2b(0x1f0)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this['_onDoubleClickDelegate']=new Delegate(),this['app']=_0x4674fb,this[_0xad3d2b(0x222)]=this[_0xad3d2b(0x1e5)](),this['rootComponent']['parentActor']=this;}[_0x2969af(0x1e5)](){const _0x18d0a3=_0x2969af;return new SceneComponent(this[_0x18d0a3(0x20b)]);}['getBoundsCenterPosition'](_0x3fa207=!![]){const _0x121576=_0x2969af;let _0x3e0178=new webgpu.Vector3();return this['getBounds']()[_0x121576(0x1fb)](_0x3e0178),!_0x3fa207?_0x3e0178['sub'](this['getPosition']()):_0x3e0178;}[_0x2969af(0x1d1)](_0x4e1a03,_0x4caf3d=!![]){const _0x2b29b9=_0x2969af,_0x1d134b=this[_0x2b29b9(0x21f)];for(const _0x1aabc0 of _0x1d134b){if(_0x1aabc0['uuid']===_0x4e1a03)return _0x1aabc0;}if(_0x4caf3d)for(const _0x4260f4 of _0x1d134b){const _0x3f99cf=_0x4260f4[_0x2b29b9(0x1d1)](_0x4e1a03,!![]);if(_0x3f99cf)return _0x3f99cf;}return null;}[_0x2969af(0x1de)](_0x8fddcd,_0x57ed65=!![]){const _0x20c9a6=_0x2969af,_0x481dab=[],_0xcca016=new Set(_0x8fddcd),_0x76ee77=this[_0x20c9a6(0x21f)];for(const _0x2de2da of _0x76ee77){_0xcca016[_0x20c9a6(0x223)](_0x2de2da[_0x20c9a6(0x1cf)])&&(_0x481dab['push'](_0x2de2da),_0xcca016[_0x20c9a6(0x1c1)](_0x2de2da[_0x20c9a6(0x1cf)]));}if(_0x57ed65&&_0xcca016[_0x20c9a6(0x21e)]>0x0)for(const _0x41d27f of _0x76ee77){const _0x5997fb=_0x41d27f[_0x20c9a6(0x1de)]([..._0xcca016],!![]);for(const _0x52a832 of _0x5997fb){_0x481dab[_0x20c9a6(0x1cc)](_0x52a832),_0xcca016['delete'](_0x52a832[_0x20c9a6(0x1cf)]);}if(_0xcca016['size']===0x0)break;}return _0x481dab;}[_0x2969af(0x1cb)](_0x58145a){const _0x20a051=_0x2969af;return this[_0x20a051(0x222)]['getComponentById'](_0x58145a);}[_0x2969af(0x1d6)](_0x1cd443=!![]){const _0x42bdb2=_0x2969af;let _0x4a2efa=new webgpu.Vector3(),_0x477fd0=this[_0x42bdb2(0x222)][_0x42bdb2(0x209)]();return _0x477fd0[_0x42bdb2(0x1fb)](_0x4a2efa),_0x4a2efa['y']=_0x477fd0['max']['y'],!_0x1cd443?_0x4a2efa['sub'](this[_0x42bdb2(0x1d4)]()):_0x4a2efa;}[_0x2969af(0x1df)](_0x22792c=!![]){const _0x41b9db=_0x2969af;let _0x1a6a55=new webgpu.Vector3(),_0x290d8c=this[_0x41b9db(0x209)]();return _0x290d8c[_0x41b9db(0x1fb)](_0x1a6a55),_0x1a6a55['y']=_0x290d8c[_0x41b9db(0x1f5)]['y'],!_0x22792c?_0x1a6a55[_0x41b9db(0x1ec)](this[_0x41b9db(0x1d4)]()):_0x1a6a55;}[_0x2969af(0x209)](){return this['rootComponent']['getBounds']();}[_0x2969af(0x216)](){const _0x25ddd2=_0x2969af;let _0x42eb96=this[_0x25ddd2(0x21f)];_0x42eb96['forEach'](_0x59de8d=>{_0x59de8d['destroy']();}),this['rootComponent'][_0x25ddd2(0x216)]();}[_0x2969af(0x1d7)](_0x30d364){const _0x12399d=_0x2969af;this['rootComponent'][_0x12399d(0x1d7)](_0x30d364);}[_0x2969af(0x1f6)](_0x1482f2,_0x585743=!![]){const _0x23bbd4=_0x2969af;this[_0x23bbd4(0x222)][_0x23bbd4(0x1f6)](_0x1482f2),_0x585743&&this['childActors'][_0x23bbd4(0x21b)](_0x3156a9=>{_0x3156a9['setLayers'](_0x1482f2,_0x585743);});}[_0x2969af(0x1fa)](_0x41ee1f){const _0x4b0baa=_0x2969af;if(!this['isTickEnabled'])return;super[_0x4b0baa(0x1fa)](_0x41ee1f),this[_0x4b0baa(0x222)][_0x4b0baa(0x1fa)](_0x41ee1f);}['getPosition'](){return this['rootComponent']['getPosition']();}[_0x2969af(0x1d2)](..._0xb67fe5){const _0x35abbf=_0x2969af;_0xb67fe5[_0x35abbf(0x1ed)]===0x1?this['rootComponent'][_0x35abbf(0x1d2)](_0xb67fe5[0x0]):this[_0x35abbf(0x222)]['setPosition'](_0xb67fe5[0x0],_0xb67fe5[0x1],_0xb67fe5[0x2]);}['getRotation'](){const _0x56a9b7=_0x2969af;return this[_0x56a9b7(0x222)]['getRotation']();}[_0x2969af(0x1ff)](..._0x517948){const _0x1832f4=_0x2969af;_0x517948[_0x1832f4(0x1ed)]===0x1?this[_0x1832f4(0x222)]['setRotation'](_0x517948[0x0]):this[_0x1832f4(0x222)]['setRotation'](_0x517948[0x0],_0x517948[0x1],_0x517948[0x2]);}['getQuaternion'](){const _0x2725d0=_0x2969af;return this[_0x2725d0(0x222)][_0x2725d0(0x1c0)]();}['setQuaternion'](..._0x48b804){const _0x154aeb=_0x2969af;_0x48b804[_0x154aeb(0x1ed)]===0x1?this[_0x154aeb(0x222)][_0x154aeb(0x1ea)](_0x48b804[0x0]):this['rootComponent'][_0x154aeb(0x1ea)](_0x48b804[0x0],_0x48b804[0x1],_0x48b804[0x2],_0x48b804[0x3]);}['getScale'](){const _0x38975a=_0x2969af;return this[_0x38975a(0x222)][_0x38975a(0x210)]();}[_0x2969af(0x1e2)](..._0x5eb688){const _0x212a9a=_0x2969af;_0x5eb688[_0x212a9a(0x1ed)]===0x1?this['rootComponent']['setScale'](_0x5eb688[0x0]):this['rootComponent']['setScale'](_0x5eb688[0x0],_0x5eb688[0x1],_0x5eb688[0x2]);}['getWorldMatrix'](){const _0x26dfab=_0x2969af;return this[_0x26dfab(0x222)][_0x26dfab(0x1eb)]();}[_0x2969af(0x211)](_0x301b4e){const _0x278dd9=_0x2969af;this[_0x278dd9(0x222)]['setWorldMatrix'](_0x301b4e);}['getWorldPosition'](){return this['rootComponent']['getWorldPosition']();}['getWorldRotation'](){const _0x255fa3=_0x2969af;return this[_0x255fa3(0x222)][_0x255fa3(0x1da)]();}[_0x2969af(0x1c4)](){const _0x48b525=_0x2969af;return this['rootComponent'][_0x48b525(0x1c4)]();}[_0x2969af(0x1e3)](){const _0x4789d9=_0x2969af;return this[_0x4789d9(0x222)][_0x4789d9(0x1e3)]();}[_0x2969af(0x1fc)](){const _0x372215=_0x2969af;return this[_0x372215(0x222)][_0x372215(0x1fc)]();}[_0x2969af(0x20d)](){const _0x2dfcda=_0x2969af;return this['rootComponent'][_0x2dfcda(0x20d)]();}[_0x2969af(0x1e0)](){const _0x1531b9=_0x2969af;return this[_0x1531b9(0x222)][_0x1531b9(0x1e0)]();}[_0x2969af(0x1f8)](_0x500b72,_0x55acc5){const _0x874b26=_0x2969af;let _0xbd9c7c=this[_0x874b26(0x1d4)]();this[_0x874b26(0x1d2)](_0xbd9c7c['x']+_0x500b72['x']*_0x55acc5,_0xbd9c7c['y']+_0x500b72['y']*_0x55acc5,_0xbd9c7c['z']+_0x500b72['z']*_0x55acc5);}[_0x2969af(0x217)](_0x1596e8){const _0x259bf8=_0x2969af;return this[_0x259bf8(0x222)]['worldToLocal'](_0x1596e8);}[_0x2969af(0x1e9)](_0x47a43e){const _0x5e7224=_0x2969af;return this['rootComponent'][_0x5e7224(0x1e9)](_0x47a43e);}[_0x2969af(0x1d0)](){const _0x35e443=_0x2969af;return this['rootComponent'][_0x35e443(0x1c7)];}[_0x2969af(0x213)](_0x1f839e,_0x5d6c5f=exports.AttachmentRules['KeepRelative']){const _0xa2ad1f=_0x2969af;this[_0xa2ad1f(0x222)][_0xa2ad1f(0x1ce)](_0x1f839e,_0x5d6c5f),this[_0xa2ad1f(0x221)]&&_0x1f839e[_0xa2ad1f(0x1f1)](this['_world']);}['removeComponent'](_0x584428){const _0x2f0e85=_0x2969af;if(_0x584428===this[_0x2f0e85(0x1f7)])return;this[_0x2f0e85(0x222)][_0x2f0e85(0x1d9)](_0x584428);}[_0x2969af(0x1f4)](){const _0x9d27c7=_0x2969af;this[_0x9d27c7(0x222)]['destroyChildren']();}[_0x2969af(0x1f9)](_0x3ee078,_0x548aef=exports.AttachmentRules[_0x2969af(0x1c3)]){const _0x2e7a14=_0x2969af;if(!_0x3ee078[_0x2e7a14(0x222)]){console[_0x2e7a14(0x1e4)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x3ee078[_0x2e7a14(0x202)]===this)return;_0x548aef===exports.AttachmentRules[_0x2e7a14(0x1c5)]&&this[_0x2e7a14(0x222)][_0x2e7a14(0x1f3)](_0x3ee078[_0x2e7a14(0x222)]);if(_0x548aef===exports.AttachmentRules[_0x2e7a14(0x1c3)]){let _0x15b59f=_0x3ee078[_0x2e7a14(0x1eb)]();this[_0x2e7a14(0x222)]['attachComponent'](_0x3ee078[_0x2e7a14(0x222)]),_0x3ee078[_0x2e7a14(0x211)](_0x15b59f);}this[_0x2e7a14(0x221)]&&this['_world'][_0x2e7a14(0x1bf)][_0x2e7a14(0x1c2)]();}[_0x2969af(0x206)](_0x19c3af){const _0x269ad0=_0x2969af;let _0x472d86=_0x19c3af[_0x269ad0(0x1eb)]();this[_0x269ad0(0x222)][_0x269ad0(0x219)](_0x19c3af[_0x269ad0(0x222)]),_0x19c3af['setWorldMatrix'](_0x472d86);}[_0x2969af(0x1fd)](){const _0x1cf6f1=_0x2969af;this[_0x1cf6f1(0x202)]&&this['parentActor'][_0x1cf6f1(0x206)](this);}[_0x2969af(0x1f1)](_0x28d39c){const _0x1f3cd6=_0x2969af;this['_world']=_0x28d39c,this[_0x1f3cd6(0x222)]['onAddedToWorld'](this['_world']),this[_0x1f3cd6(0x21f)][_0x1f3cd6(0x21b)](_0x1377f6=>{const _0x1178b2=_0x1f3cd6;_0x1377f6[_0x1178b2(0x1f1)](_0x28d39c);});}[_0x2969af(0x207)](){const _0x25be76=_0x2969af;this[_0x25be76(0x221)]=null;}get[_0x2969af(0x208)](){const _0x27e2cd=_0x2969af;return this['rootComponent'][_0x27e2cd(0x208)];}set[_0x2969af(0x208)](_0xde15f0){const _0x44ad3b=_0x2969af;this[_0x44ad3b(0x222)][_0x44ad3b(0x208)]=_0xde15f0;}get[_0x2969af(0x201)](){const _0x521be0=_0x2969af;return this['rootComponent'][_0x521be0(0x201)];}set[_0x2969af(0x201)](_0x3622f1){const _0x4d3d32=_0x2969af;this[_0x4d3d32(0x222)][_0x4d3d32(0x201)]=_0x3622f1;}[_0x2969af(0x20f)](_0x728a6){const _0x44b66b=_0x2969af;this[_0x44b66b(0x203)][_0x44b66b(0x1ca)](_0x728a6);}[_0x2969af(0x204)](_0x3d48e1){this['_onHoverEndDelegate']['broadcast'](_0x3d48e1);}['onActorClick'](_0x1d19a8){const _0x59dc9d=_0x2969af;this[_0x59dc9d(0x220)][_0x59dc9d(0x1ca)](_0x1d19a8);}[_0x2969af(0x1e8)](_0x291455){this['_onDoubleClickDelegate']['broadcast'](_0x291455);}['landToGround'](){}}
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
function _0x4603(_0x7469be,_0x48bf46){_0x7469be=_0x7469be-0xef;var _0xf07467=_0xf074();var _0x460313=_0xf07467[_0x7469be];return _0x460313;}function _0xf074(){var _0x197692=['2955850TuPzIy','168aOXZBU','possess','84eGtKnR','destroy','10RLSKLM','36QwwAOQ','camera','inputFilter','4340SquThw','_enabled','408474puJoHD','app','controller','250602JtKIKw','focusTo','tick','117954peYMCq','44471ARGXMg','100668nvBZOY','stopFocusing','unpossess','155EDnsFR'];_0xf074=function(){return _0x197692;};return _0xf074();}var _0x55c94b=_0x4603;(function(_0x396aa1,_0x53f10e){var _0x427ba7=_0x4603,_0xc4dc05=_0x396aa1();while(!![]){try{var _0x5f34a7=parseInt(_0x427ba7(0xf7))/0x1*(-parseInt(_0x427ba7(0x101))/0x2)+parseInt(_0x427ba7(0xf3))/0x3+parseInt(_0x427ba7(0x105))/0x4*(-parseInt(_0x427ba7(0xfb))/0x5)+parseInt(_0x427ba7(0xf8))/0x6*(parseInt(_0x427ba7(0xff))/0x7)+-parseInt(_0x427ba7(0xfd))/0x8*(parseInt(_0x427ba7(0xf6))/0x9)+parseInt(_0x427ba7(0xfc))/0xa+-parseInt(_0x427ba7(0xf0))/0xb*(-parseInt(_0x427ba7(0x102))/0xc);if(_0x5f34a7===_0x53f10e)break;else _0xc4dc05['push'](_0xc4dc05['shift']());}catch(_0x292676){_0xc4dc05['push'](_0xc4dc05['shift']());}}}(_0xf074,0x27381));class Pawn extends Actor{get[_0x55c94b(0x103)](){var _0x569ac1=_0x55c94b;return this[_0x569ac1(0xf1)][_0x569ac1(0x103)];}get['enabled'](){var _0x19024b=_0x55c94b;return this[_0x19024b(0xef)];}set['enabled'](_0x760f3e){var _0x29da3f=_0x55c94b;this[_0x29da3f(0xef)]=_0x760f3e;}constructor(_0x107f30){var _0x3c38ff=_0x55c94b;super(_0x107f30),this[_0x3c38ff(0xef)]=![],this[_0x3c38ff(0xf2)]=_0x107f30[_0x3c38ff(0xf2)],this['isTickEnabled']=!![];}[_0x55c94b(0xf5)](_0xe33474){return;}[_0x55c94b(0xfe)](){}[_0x55c94b(0xfa)](){}[_0x55c94b(0xf4)](_0x1b99c5,_0x408cbe,_0x33dc73,_0xf39136,_0x1ccf18=null,_0x3f8c94=null){}[_0x55c94b(0xf9)](){}[_0x55c94b(0x100)](){}}Pawn[_0x55c94b(0x104)]=()=>!![];
|
|
89
89
|
|
|
90
|
-
function _0x3a4d(){const _0x484c06=['enableDamping','clone','setCameraDraggingState','kill','onPointerUp','lerpVectors','20907asDwff','getPosition','setQuaternion','rotation','7elBywd','stopFocusing','setRotation','setFromRotationMatrix','onPointerDown','multiplyScalar','set','controller','tick','button','canvas','minPolarAngle','minDistance','clientY','onContextMenu','dataset','dampingFactor','releasePointerCapture','onPointerDownDelegate','camera','maxDistance','getQuaternion','clamp','_targetQuaternion','onPointerMoveDelegate','min','inputFilter','app','maxAzimuthAngle','possess','lerp','9279190BHdGPN','onContextMenuDelegate','rootComponent','preventDefault','viewport','setFromQuaternion','onPointerMove','exp','onPointerCancelDelegate','10472560tJOfWp','threeObject','copy','enabled','setPosition','minAzimuthAngle','onWheelDelegate','clientX','9AflsWb','clientHeight','1501858iOJKdh','onWheel','distance','remove','maxPolarAngle','_lastPointerPosition','updateCameraFromPawn','116iWpiyn','setPointerCapture','6381438cmQyKd','applyQuaternion','rotateSpeed','pointerId','_isDragging','deltaY','add','slerp','_targetPosition','2630440lvSBcB','onPointerUpDelegate','setFromEuler','unpossess','_focusTween','order','function','buttons','YXZ','focusTo','_targetDistance','addScaledVector','max','1169318UxLvsl','lyCameraDragging','outer','lookAt','normalize'];_0x3a4d=function(){return _0x484c06;};return _0x3a4d();}const _0x5df7f5=_0x1ce2;(function(_0x54b6f5,_0x52bd50){const _0x3be9ea=_0x1ce2,_0x3fd670=_0x54b6f5();while(!![]){try{const _0xd8a803=-parseInt(_0x3be9ea(0x1b3))/0x1+parseInt(_0x3be9ea(0x1d2))/0x2+-parseInt(_0x3be9ea(0x1dd))/0x3*(parseInt(_0x3be9ea(0x1ba))/0x4)+parseInt(_0x3be9ea(0x1c5))/0x5+-parseInt(_0x3be9ea(0x1bc))/0x6*(-parseInt(_0x3be9ea(0x1e1))/0x7)+parseInt(_0x3be9ea(0x1a9))/0x8+parseInt(_0x3be9ea(0x1b1))/0x9*(-parseInt(_0x3be9ea(0x1a0))/0xa);if(_0xd8a803===_0x52bd50)break;else _0x3fd670['push'](_0x3fd670['shift']());}catch(_0x4b7931){_0x3fd670['push'](_0x3fd670['shift']());}}}(_0x3a4d,0xcfe38));function _0x1ce2(_0x58cfcf,_0x42a171){_0x58cfcf=_0x58cfcf-0x19e;const _0x3a4d48=_0x3a4d();let _0x1ce230=_0x3a4d48[_0x58cfcf];return _0x1ce230;}class Orbital extends Pawn{constructor(_0x19985f){const _0x94eb20=_0x1ce2;super(_0x19985f),this['distance']=0x5,this[_0x94eb20(0x1ed)]=0.1,this['maxDistance']=0xf4240,this[_0x94eb20(0x1be)]=0x1,this['zoomSpeed']=0x1,this['minPolarAngle']=0x0,this['maxPolarAngle']=Math['PI']*0.5,this[_0x94eb20(0x1ae)]=-Infinity,this[_0x94eb20(0x1fd)]=Infinity,this[_0x94eb20(0x1d7)]=!![],this[_0x94eb20(0x1f1)]=0xa,this[_0x94eb20(0x1c0)]=![],this[_0x94eb20(0x1b8)]=new webgpu.Vector2(),this['_targetPosition']=new webgpu.Vector3(),this['_targetQuaternion']=new webgpu.Quaternion(),this[_0x94eb20(0x1cf)]=0x5,this['_focusTween']=null,this[_0x94eb20(0x1ef)]=_0x510380=>{const _0x4c0eef=_0x94eb20;if(!Pawn[_0x4c0eef(0x1fb)]())return;_0x510380[_0x4c0eef(0x1a3)]();},this[_0x94eb20(0x1e5)]=_0x485593=>{const _0x5af8f4=_0x94eb20;if(!this[_0x5af8f4(0x1ac)]||!Pawn['inputFilter']())return;if(_0x485593['button']===0x0||_0x485593[_0x5af8f4(0x1ea)]===0x2){this['_isDragging']=!![],this['_lastPointerPosition'][_0x5af8f4(0x1e7)](_0x485593[_0x5af8f4(0x1b0)],_0x485593[_0x5af8f4(0x1ee)]),this[_0x5af8f4(0x1d9)](!![]);const _0x3d4922=this[_0x5af8f4(0x1fc)][_0x5af8f4(0x1a4)]['canvas'];_0x3d4922&&typeof _0x3d4922[_0x5af8f4(0x1bb)]===_0x5af8f4(0x1cb)&&_0x3d4922[_0x5af8f4(0x1bb)](_0x485593[_0x5af8f4(0x1bf)]);}},this[_0x94eb20(0x1a6)]=_0x275593=>{const _0x482546=_0x94eb20;if(!this['enabled']||!this['_isDragging']||!Pawn[_0x482546(0x1fb)]())return;if(_0x275593[_0x482546(0x1cc)]===0x0){this[_0x482546(0x1c0)]=![],this['setCameraDraggingState'](![]);return;}const _0x4f7ed1=_0x275593[_0x482546(0x1b0)]-this['_lastPointerPosition']['x'],_0x527f7e=_0x275593[_0x482546(0x1ee)]-this[_0x482546(0x1b8)]['y'];this[_0x482546(0x1b8)][_0x482546(0x1e7)](_0x275593[_0x482546(0x1b0)],_0x275593[_0x482546(0x1ee)]);const _0x3653d6=this['app'][_0x482546(0x1a4)][_0x482546(0x1eb)];if(!_0x3653d6)return;if(_0x275593[_0x482546(0x1cc)]===0x1){const _0x8afb58=this[_0x482546(0x1be)]*0x2*Math['PI'],_0x2ad5bb=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0x482546(0x1a5)](this[_0x482546(0x1f8)]);_0x2ad5bb['y']-=_0x4f7ed1/_0x3653d6[_0x482546(0x1b2)]*_0x8afb58,_0x2ad5bb['x']-=_0x527f7e/_0x3653d6[_0x482546(0x1b2)]*_0x8afb58;const _0x40fa8f=Math[_0x482546(0x1d1)](this[_0x482546(0x1ec)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x3a00b3=Math[_0x482546(0x1fa)](this[_0x482546(0x1b7)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x2ad5bb['x']=webgpu.MathUtils[_0x482546(0x1f7)](_0x2ad5bb['x'],_0x40fa8f,_0x3a00b3),isFinite(this[_0x482546(0x1ae)])&&isFinite(this[_0x482546(0x1fd)])&&(_0x2ad5bb['y']=webgpu.MathUtils['clamp'](_0x2ad5bb['y'],this[_0x482546(0x1ae)],this[_0x482546(0x1fd)])),_0x2ad5bb['z']=0x0,this['_targetQuaternion'][_0x482546(0x1c7)](_0x2ad5bb),!this[_0x482546(0x1d7)]&&this[_0x482546(0x1df)](this[_0x482546(0x1f8)]);}else {if(_0x275593[_0x482546(0x1cc)]===0x2){const _0x222f06=this['_targetDistance']*0.002,_0x27b94b=new webgpu.Vector3(0x1,0x0,0x0)[_0x482546(0x1bd)](this[_0x482546(0x1f8)])['normalize'](),_0xc98b93=new webgpu.Vector3(0x0,0x1,0x0)[_0x482546(0x1bd)](this['_targetQuaternion'])[_0x482546(0x1d6)]();this['_targetPosition'][_0x482546(0x1d0)](_0x27b94b,-_0x4f7ed1*_0x222f06),this[_0x482546(0x1c4)]['addScaledVector'](_0xc98b93,_0x527f7e*_0x222f06),!this['enableDamping']&&this[_0x482546(0x1ad)](this[_0x482546(0x1c4)]);}}},this[_0x94eb20(0x1db)]=_0x1a87bd=>{const _0x26d116=_0x94eb20;var _0xce8fa7;this[_0x26d116(0x1c0)]=![],this[_0x26d116(0x1d9)](![]);const _0x30ab03=this['app'][_0x26d116(0x1a4)][_0x26d116(0x1eb)];_0x30ab03&&typeof _0x30ab03[_0x26d116(0x1f2)]==='function'&&((_0xce8fa7=_0x30ab03['hasPointerCapture'])===null||_0xce8fa7===void 0?void 0:_0xce8fa7['call'](_0x30ab03,_0x1a87bd['pointerId']))&&_0x30ab03[_0x26d116(0x1f2)](_0x1a87bd[_0x26d116(0x1bf)]);},this[_0x94eb20(0x1b4)]=_0x5f5676=>{const _0x5f49fb=_0x94eb20;if(!this[_0x5f49fb(0x1ac)]||!Pawn[_0x5f49fb(0x1fb)]())return;const _0x5809d8=0.95;_0x5f5676[_0x5f49fb(0x1c1)]>0x0?this[_0x5f49fb(0x1cf)]/=_0x5809d8:this[_0x5f49fb(0x1cf)]*=_0x5809d8,this['_targetDistance']=webgpu.MathUtils[_0x5f49fb(0x1f7)](this[_0x5f49fb(0x1cf)],this['minDistance'],this[_0x5f49fb(0x1f5)]),!this[_0x5f49fb(0x1d7)]&&(this[_0x5f49fb(0x1b5)]=this[_0x5f49fb(0x1cf)]);};}['possess'](){const _0xd78508=_0x1ce2;super[_0xd78508(0x19e)]();this[_0xd78508(0x1a2)]&&this[_0xd78508(0x1a2)][_0xd78508(0x1aa)]&&(this[_0xd78508(0x1a2)][_0xd78508(0x1aa)][_0xd78508(0x1e0)][_0xd78508(0x1ca)]=_0xd78508(0x1cd));this[_0xd78508(0x1c4)][_0xd78508(0x1ab)](this['getPosition']());const _0x1c5b64=this[_0xd78508(0x1f6)](),_0x149b27=new webgpu.Euler(0x0,0x0,0x0,_0xd78508(0x1cd))['setFromQuaternion'](_0x1c5b64);Math['abs'](_0x149b27['z'])>0.00001?(_0x149b27['z']=0x0,this[_0xd78508(0x1f8)][_0xd78508(0x1c7)](_0x149b27),this[_0xd78508(0x1df)](this[_0xd78508(0x1f8)])):this[_0xd78508(0x1f8)][_0xd78508(0x1ab)](_0x1c5b64);this[_0xd78508(0x1cf)]=this[_0xd78508(0x1b5)];const _0x5eaa42=this[_0xd78508(0x1fc)][_0xd78508(0x1e8)];_0x5eaa42&&(_0x5eaa42[_0xd78508(0x1f3)][_0xd78508(0x1c2)](this[_0xd78508(0x1e5)]),_0x5eaa42[_0xd78508(0x1f9)][_0xd78508(0x1c2)](this[_0xd78508(0x1a6)]),_0x5eaa42['onPointerUpDelegate'][_0xd78508(0x1c2)](this['onPointerUp']),_0x5eaa42[_0xd78508(0x1a8)][_0xd78508(0x1c2)](this['onPointerUp']),_0x5eaa42['onWheelDelegate']['add'](this['onWheel']),_0x5eaa42[_0xd78508(0x1a1)][_0xd78508(0x1c2)](this['onContextMenu'])),this[_0xd78508(0x1b9)]();}['getTargetCameraState'](){const _0x500fad=_0x1ce2,_0x5b0e81=this[_0x500fad(0x1de)](),_0x4e3a81=this[_0x500fad(0x1f6)](),_0x24b3df=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x4e3a81)[_0x500fad(0x1e6)](this[_0x500fad(0x1b5)]),_0x599e79=_0x5b0e81[_0x500fad(0x1d8)]()[_0x500fad(0x1c2)](_0x24b3df),_0x48d2ec=new webgpu.Matrix4();_0x48d2ec[_0x500fad(0x1d5)](_0x599e79,_0x5b0e81,this[_0x500fad(0x1f4)]['up']);const _0x532f98=new webgpu.Quaternion()[_0x500fad(0x1e4)](_0x48d2ec);return {'position':_0x599e79,'quaternion':_0x532f98};}['updateCameraFromPawn'](){const _0x44832d=_0x1ce2;if(!this[_0x44832d(0x1ac)]||!this[_0x44832d(0x1f4)])return;const _0x368d58=this[_0x44832d(0x1de)](),_0xe15af7=this[_0x44832d(0x1f6)](),_0x21069e=new webgpu.Vector3(0x0,0x0,0x1)[_0x44832d(0x1bd)](_0xe15af7)[_0x44832d(0x1e6)](this[_0x44832d(0x1b5)]);this['camera']['position']['copy'](_0x368d58)[_0x44832d(0x1c2)](_0x21069e),this[_0x44832d(0x1f4)][_0x44832d(0x1d5)](_0x368d58);}[_0x5df7f5(0x1c8)](){const _0x339e3d=_0x5df7f5;super[_0x339e3d(0x1c8)]();const _0x33699b=this[_0x339e3d(0x1fc)][_0x339e3d(0x1e8)];_0x33699b&&(_0x33699b['onPointerDownDelegate']['remove'](this['onPointerDown']),_0x33699b[_0x339e3d(0x1f9)]['remove'](this[_0x339e3d(0x1a6)]),_0x33699b[_0x339e3d(0x1c6)][_0x339e3d(0x1b6)](this['onPointerUp']),_0x33699b['onPointerCancelDelegate'][_0x339e3d(0x1b6)](this['onPointerUp']),_0x33699b[_0x339e3d(0x1af)][_0x339e3d(0x1b6)](this[_0x339e3d(0x1b4)]),_0x33699b[_0x339e3d(0x1a1)][_0x339e3d(0x1b6)](this[_0x339e3d(0x1ef)])),this[_0x339e3d(0x1c0)]=![],this[_0x339e3d(0x1d9)](![]),this['_focusTween']&&(this['_focusTween'][_0x339e3d(0x1da)](),this[_0x339e3d(0x1c9)]=null);}[_0x5df7f5(0x1d9)](_0x5bc42c){const _0x5f127b=_0x5df7f5,_0x2fc6a3=this[_0x5f127b(0x1fc)][_0x5f127b(0x1a4)][_0x5f127b(0x1d4)];if(!_0x2fc6a3)return;_0x5bc42c?_0x2fc6a3['dataset'][_0x5f127b(0x1d3)]='1':delete _0x2fc6a3[_0x5f127b(0x1f0)][_0x5f127b(0x1d3)];}[_0x5df7f5(0x1e9)](_0x587b6d){const _0x10d0ce=_0x5df7f5;if(this['enableDamping']){const _0x495a02=Math['min'](_0x587b6d,0.1),_0x5ec077=0x1-Math[_0x10d0ce(0x1a7)](-this[_0x10d0ce(0x1f1)]*_0x495a02);this[_0x10d0ce(0x1b5)]=webgpu.MathUtils[_0x10d0ce(0x19f)](this['distance'],this[_0x10d0ce(0x1cf)],_0x5ec077);const _0x34d6a7=this[_0x10d0ce(0x1de)]();_0x34d6a7['lerp'](this['_targetPosition'],_0x5ec077),super[_0x10d0ce(0x1ad)](_0x34d6a7);const _0x18c56d=this['getQuaternion']();_0x18c56d[_0x10d0ce(0x1c3)](this['_targetQuaternion'],_0x5ec077),super['setQuaternion'](_0x18c56d);}this[_0x10d0ce(0x1b9)]();}[_0x5df7f5(0x1ad)](..._0x968d17){const _0x2bd9a8=_0x5df7f5;super['setPosition'](..._0x968d17),this['_targetPosition'][_0x2bd9a8(0x1ab)](this[_0x2bd9a8(0x1de)]());}[_0x5df7f5(0x1e3)](..._0x5d912e){const _0x567a18=_0x5df7f5;super[_0x567a18(0x1e3)](..._0x5d912e),this[_0x567a18(0x1f8)][_0x567a18(0x1ab)](this['getQuaternion']());}[_0x5df7f5(0x1df)](..._0x59cf36){const _0x49ae52=_0x5df7f5;super['setQuaternion'](..._0x59cf36),this[_0x49ae52(0x1f8)][_0x49ae52(0x1ab)](this[_0x49ae52(0x1f6)]());}[_0x5df7f5(0x1ce)](_0x39ab30,_0x5143bb,_0x4f26c6,_0x47342c,_0x44417c=null,_0x4c856c=null){const _0x52ac01=_0x5df7f5;this[_0x52ac01(0x1c9)]&&this['_focusTween'][_0x52ac01(0x1da)]();const _0x25bb2f=this[_0x52ac01(0x1de)](),_0x593acc=this[_0x52ac01(0x1f6)](),_0x45bbe7=this[_0x52ac01(0x1b5)];let _0x4ac9d0;_0x5143bb instanceof webgpu.Euler?_0x4ac9d0=new webgpu.Quaternion()['setFromEuler'](_0x5143bb):_0x4ac9d0=_0x5143bb[_0x52ac01(0x1d8)]();const _0xa71d3b=new webgpu.Euler(0x0,0x0,0x0,'YXZ')[_0x52ac01(0x1a5)](_0x4ac9d0);Math['abs'](_0xa71d3b['z'])>0.00001&&(_0xa71d3b['z']=0x0,_0x4ac9d0[_0x52ac01(0x1c7)](_0xa71d3b));const _0x1002d7={'alpha':0x0};this['_focusTween']=gsap.gsap['to'](_0x1002d7,{'alpha':0x1,'duration':_0x47342c,'onUpdate':()=>{const _0x5b4aa6=_0x52ac01,_0x2117ee=_0x1002d7['alpha'],_0x4d1eb6=new webgpu.Vector3()[_0x5b4aa6(0x1dc)](_0x25bb2f,_0x39ab30,_0x2117ee);this['setPosition'](_0x4d1eb6),this[_0x5b4aa6(0x1c4)][_0x5b4aa6(0x1ab)](_0x4d1eb6);const _0x425083=_0x593acc['clone']()[_0x5b4aa6(0x1c3)](_0x4ac9d0,_0x2117ee);this['setQuaternion'](_0x425083),this[_0x5b4aa6(0x1f8)]['copy'](_0x425083),this[_0x5b4aa6(0x1b5)]=webgpu.MathUtils['lerp'](_0x45bbe7,_0x4f26c6,_0x2117ee),this[_0x5b4aa6(0x1cf)]=this[_0x5b4aa6(0x1b5)];if(_0x44417c)_0x44417c();},'onComplete':()=>{this['_focusTween']=null;if(_0x4c856c)_0x4c856c();}});}[_0x5df7f5(0x1e2)](){const _0x9992b2=_0x5df7f5;this[_0x9992b2(0x1c9)]&&(this[_0x9992b2(0x1c9)]['kill'](),this['_focusTween']=null);}}
|
|
90
|
+
const _0x33a492=_0x4978;(function(_0x5ded12,_0x581e2b){const _0x42a188=_0x4978,_0x539ef8=_0x5ded12();while(!![]){try{const _0x118df4=-parseInt(_0x42a188(0x12c))/0x1*(-parseInt(_0x42a188(0xff))/0x2)+parseInt(_0x42a188(0x12f))/0x3+-parseInt(_0x42a188(0xf3))/0x4+parseInt(_0x42a188(0x118))/0x5+parseInt(_0x42a188(0x11b))/0x6+-parseInt(_0x42a188(0xf9))/0x7*(-parseInt(_0x42a188(0xee))/0x8)+-parseInt(_0x42a188(0xf0))/0x9*(parseInt(_0x42a188(0x10f))/0xa);if(_0x118df4===_0x581e2b)break;else _0x539ef8['push'](_0x539ef8['shift']());}catch(_0x482a63){_0x539ef8['push'](_0x539ef8['shift']());}}}(_0x3528,0xc6727));function _0x3528(){const _0xb0878c=['onWheel','setRotation','updateCameraFromPawn','getPosition','_targetQuaternion','setFromQuaternion','lerpVectors','possess','clamp','preventDefault','slerp','alpha','dataset','min','YXZ','onPointerMoveDelegate','setQuaternion','multiplyScalar','setFromEuler','2024128LduSHo','onPointerDown','18460719lmQDdC','threeObject','inputFilter','2653188OaUeBl','getTargetCameraState','minDistance','focusTo','onContextMenu','function','7wBKvnG','maxDistance','zoomSpeed','_targetDistance','clone','lyCameraDragging','24kEmoID','kill','position','onPointerUp','releasePointerCapture','setPosition','maxAzimuthAngle','_lastPointerPosition','canvas','clientHeight','onPointerMove','rotateSpeed','enableDamping','getQuaternion','pointerId','unpossess','10cDrAuJ','addScaledVector','rootComponent','viewport','copy','lerp','onPointerCancelDelegate','controller','order','6563535zHPmwa','normalize','_focusTween','4154982xRPFiu','setPointerCapture','camera','onContextMenuDelegate','call','enabled','set','clientX','buttons','_targetPosition','lookAt','_isDragging','tick','distance','exp','minAzimuthAngle','minPolarAngle','58508AbWTdq','maxPolarAngle','abs','1701033IikRzQ','onPointerUpDelegate','app','onPointerDownDelegate','clientY','dampingFactor','remove','applyQuaternion','setCameraDraggingState','onWheelDelegate','button','add'];_0x3528=function(){return _0xb0878c;};return _0x3528();}function _0x4978(_0x3bea68,_0x32b2b5){_0x3bea68=_0x3bea68-0xde;const _0x352855=_0x3528();let _0x4978f1=_0x352855[_0x3bea68];return _0x4978f1;}class Orbital extends Pawn{constructor(_0x6883c9){const _0x161b1f=_0x4978;super(_0x6883c9),this[_0x161b1f(0x128)]=0x5,this[_0x161b1f(0xf5)]=0.1,this['maxDistance']=0xf4240,this[_0x161b1f(0x10a)]=0x1,this[_0x161b1f(0xfb)]=0x1,this['minPolarAngle']=0x0,this[_0x161b1f(0x12d)]=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this[_0x161b1f(0x105)]=Infinity,this[_0x161b1f(0x10b)]=!![],this[_0x161b1f(0x134)]=0xa,this[_0x161b1f(0x126)]=![],this[_0x161b1f(0x106)]=new webgpu.Vector2(),this[_0x161b1f(0x124)]=new webgpu.Vector3(),this[_0x161b1f(0xdf)]=new webgpu.Quaternion(),this[_0x161b1f(0xfc)]=0x5,this[_0x161b1f(0x11a)]=null,this[_0x161b1f(0xf7)]=_0x52e39e=>{const _0x4a37fa=_0x161b1f;if(!Pawn[_0x4a37fa(0xf2)]())return;_0x52e39e[_0x4a37fa(0xe4)]();},this[_0x161b1f(0xef)]=_0x332fd3=>{const _0x37ffd0=_0x161b1f;if(!this[_0x37ffd0(0x120)]||!Pawn['inputFilter']())return;if(_0x332fd3[_0x37ffd0(0x139)]===0x0||_0x332fd3[_0x37ffd0(0x139)]===0x2){this[_0x37ffd0(0x126)]=!![],this[_0x37ffd0(0x106)][_0x37ffd0(0x121)](_0x332fd3[_0x37ffd0(0x122)],_0x332fd3[_0x37ffd0(0x133)]),this[_0x37ffd0(0x137)](!![]);const _0x381240=this[_0x37ffd0(0x131)]['viewport'][_0x37ffd0(0x107)];_0x381240&&typeof _0x381240[_0x37ffd0(0x11c)]===_0x37ffd0(0xf8)&&_0x381240[_0x37ffd0(0x11c)](_0x332fd3['pointerId']);}},this[_0x161b1f(0x109)]=_0x47b696=>{const _0xaeb528=_0x161b1f;if(!this['enabled']||!this[_0xaeb528(0x126)]||!Pawn[_0xaeb528(0xf2)]())return;if(_0x47b696['buttons']===0x0){this[_0xaeb528(0x126)]=![],this['setCameraDraggingState'](![]);return;}const _0x3a84f0=_0x47b696[_0xaeb528(0x122)]-this[_0xaeb528(0x106)]['x'],_0x1cf04d=_0x47b696[_0xaeb528(0x133)]-this[_0xaeb528(0x106)]['y'];this[_0xaeb528(0x106)][_0xaeb528(0x121)](_0x47b696['clientX'],_0x47b696[_0xaeb528(0x133)]);const _0x291ceb=this[_0xaeb528(0x131)][_0xaeb528(0x112)][_0xaeb528(0x107)];if(!_0x291ceb)return;if(_0x47b696[_0xaeb528(0x123)]===0x1){const _0x40e618=this['rotateSpeed']*0x2*Math['PI'],_0x22304e=new webgpu.Euler(0x0,0x0,0x0,'YXZ')['setFromQuaternion'](this['_targetQuaternion']);_0x22304e['y']-=_0x3a84f0/_0x291ceb[_0xaeb528(0x108)]*_0x40e618,_0x22304e['x']-=_0x1cf04d/_0x291ceb[_0xaeb528(0x108)]*_0x40e618;const _0x59c778=Math['max'](this[_0xaeb528(0x12b)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x2632b7=Math[_0xaeb528(0xe8)](this[_0xaeb528(0x12d)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x22304e['x']=webgpu.MathUtils['clamp'](_0x22304e['x'],_0x59c778,_0x2632b7),isFinite(this[_0xaeb528(0x12a)])&&isFinite(this[_0xaeb528(0x105)])&&(_0x22304e['y']=webgpu.MathUtils[_0xaeb528(0xe3)](_0x22304e['y'],this[_0xaeb528(0x12a)],this['maxAzimuthAngle'])),_0x22304e['z']=0x0,this[_0xaeb528(0xdf)]['setFromEuler'](_0x22304e),!this['enableDamping']&&this['setQuaternion'](this[_0xaeb528(0xdf)]);}else {if(_0x47b696[_0xaeb528(0x123)]===0x2){const _0x1825bf=this[_0xaeb528(0xfc)]*0.002,_0x8e35ed=new webgpu.Vector3(0x1,0x0,0x0)[_0xaeb528(0x136)](this[_0xaeb528(0xdf)])[_0xaeb528(0x119)](),_0x25aca8=new webgpu.Vector3(0x0,0x1,0x0)[_0xaeb528(0x136)](this[_0xaeb528(0xdf)])[_0xaeb528(0x119)]();this[_0xaeb528(0x124)]['addScaledVector'](_0x8e35ed,-_0x3a84f0*_0x1825bf),this['_targetPosition'][_0xaeb528(0x110)](_0x25aca8,_0x1cf04d*_0x1825bf),!this[_0xaeb528(0x10b)]&&this[_0xaeb528(0x104)](this[_0xaeb528(0x124)]);}}},this[_0x161b1f(0x102)]=_0x2996a8=>{const _0xfefa9a=_0x161b1f;var _0x381e6c;this['_isDragging']=![],this[_0xfefa9a(0x137)](![]);const _0x3c1d29=this[_0xfefa9a(0x131)][_0xfefa9a(0x112)][_0xfefa9a(0x107)];_0x3c1d29&&typeof _0x3c1d29['releasePointerCapture']===_0xfefa9a(0xf8)&&((_0x381e6c=_0x3c1d29['hasPointerCapture'])===null||_0x381e6c===void 0?void 0:_0x381e6c[_0xfefa9a(0x11f)](_0x3c1d29,_0x2996a8[_0xfefa9a(0x10d)]))&&_0x3c1d29[_0xfefa9a(0x103)](_0x2996a8[_0xfefa9a(0x10d)]);},this['onWheel']=_0x32e533=>{const _0x4ef7dc=_0x161b1f;if(!this[_0x4ef7dc(0x120)]||!Pawn[_0x4ef7dc(0xf2)]())return;const _0x4b916a=0.95;_0x32e533['deltaY']>0x0?this['_targetDistance']/=_0x4b916a:this[_0x4ef7dc(0xfc)]*=_0x4b916a,this[_0x4ef7dc(0xfc)]=webgpu.MathUtils['clamp'](this['_targetDistance'],this['minDistance'],this[_0x4ef7dc(0xfa)]),!this[_0x4ef7dc(0x10b)]&&(this[_0x4ef7dc(0x128)]=this[_0x4ef7dc(0xfc)]);};}[_0x33a492(0xe2)](){const _0x28b14c=_0x33a492;super[_0x28b14c(0xe2)]();this['rootComponent']&&this[_0x28b14c(0x111)][_0x28b14c(0xf1)]&&(this[_0x28b14c(0x111)]['threeObject']['rotation'][_0x28b14c(0x117)]=_0x28b14c(0xe9));this[_0x28b14c(0x124)][_0x28b14c(0x113)](this[_0x28b14c(0xde)]());const _0x4e29e6=this[_0x28b14c(0x10c)](),_0x460782=new webgpu.Euler(0x0,0x0,0x0,_0x28b14c(0xe9))[_0x28b14c(0xe0)](_0x4e29e6);Math[_0x28b14c(0x12e)](_0x460782['z'])>0.00001?(_0x460782['z']=0x0,this[_0x28b14c(0xdf)][_0x28b14c(0xed)](_0x460782),this['setQuaternion'](this['_targetQuaternion'])):this[_0x28b14c(0xdf)][_0x28b14c(0x113)](_0x4e29e6);this[_0x28b14c(0xfc)]=this[_0x28b14c(0x128)];const _0x1cd7d1=this['app'][_0x28b14c(0x116)];_0x1cd7d1&&(_0x1cd7d1[_0x28b14c(0x132)]['add'](this['onPointerDown']),_0x1cd7d1[_0x28b14c(0xea)]['add'](this[_0x28b14c(0x109)]),_0x1cd7d1['onPointerUpDelegate'][_0x28b14c(0x13a)](this[_0x28b14c(0x102)]),_0x1cd7d1[_0x28b14c(0x115)]['add'](this[_0x28b14c(0x102)]),_0x1cd7d1[_0x28b14c(0x138)][_0x28b14c(0x13a)](this['onWheel']),_0x1cd7d1[_0x28b14c(0x11e)][_0x28b14c(0x13a)](this[_0x28b14c(0xf7)])),this[_0x28b14c(0x13d)]();}[_0x33a492(0xf4)](){const _0x39577a=_0x33a492,_0x17a1ab=this['getPosition'](),_0x3c6e2a=this[_0x39577a(0x10c)](),_0x2482aa=new webgpu.Vector3(0x0,0x0,0x1)[_0x39577a(0x136)](_0x3c6e2a)['multiplyScalar'](this[_0x39577a(0x128)]),_0xf742f2=_0x17a1ab[_0x39577a(0xfd)]()['add'](_0x2482aa),_0x2dd8cd=new webgpu.Matrix4();_0x2dd8cd[_0x39577a(0x125)](_0xf742f2,_0x17a1ab,this[_0x39577a(0x11d)]['up']);const _0x42b66c=new webgpu.Quaternion()['setFromRotationMatrix'](_0x2dd8cd);return {'position':_0xf742f2,'quaternion':_0x42b66c};}[_0x33a492(0x13d)](){const _0x441efd=_0x33a492;if(!this[_0x441efd(0x120)]||!this[_0x441efd(0x11d)])return;const _0x5de1e5=this[_0x441efd(0xde)](),_0x4deab9=this[_0x441efd(0x10c)](),_0x2d6a50=new webgpu.Vector3(0x0,0x0,0x1)[_0x441efd(0x136)](_0x4deab9)[_0x441efd(0xec)](this[_0x441efd(0x128)]);this['camera'][_0x441efd(0x101)]['copy'](_0x5de1e5)['add'](_0x2d6a50),this[_0x441efd(0x11d)][_0x441efd(0x125)](_0x5de1e5);}[_0x33a492(0x10e)](){const _0x103bd9=_0x33a492;super[_0x103bd9(0x10e)]();const _0x1049d3=this[_0x103bd9(0x131)][_0x103bd9(0x116)];_0x1049d3&&(_0x1049d3[_0x103bd9(0x132)]['remove'](this['onPointerDown']),_0x1049d3[_0x103bd9(0xea)][_0x103bd9(0x135)](this[_0x103bd9(0x109)]),_0x1049d3[_0x103bd9(0x130)][_0x103bd9(0x135)](this[_0x103bd9(0x102)]),_0x1049d3['onPointerCancelDelegate'][_0x103bd9(0x135)](this[_0x103bd9(0x102)]),_0x1049d3[_0x103bd9(0x138)][_0x103bd9(0x135)](this[_0x103bd9(0x13b)]),_0x1049d3[_0x103bd9(0x11e)][_0x103bd9(0x135)](this[_0x103bd9(0xf7)])),this['_isDragging']=![],this['setCameraDraggingState'](![]),this[_0x103bd9(0x11a)]&&(this['_focusTween']['kill'](),this[_0x103bd9(0x11a)]=null);}[_0x33a492(0x137)](_0x54aa51){const _0x1052bc=_0x33a492,_0x489bc5=this[_0x1052bc(0x131)][_0x1052bc(0x112)]['outer'];if(!_0x489bc5)return;_0x54aa51?_0x489bc5['dataset'][_0x1052bc(0xfe)]='1':delete _0x489bc5[_0x1052bc(0xe7)][_0x1052bc(0xfe)];}[_0x33a492(0x127)](_0x396222){const _0x4109bc=_0x33a492;if(this[_0x4109bc(0x10b)]){const _0xd95dfa=Math['min'](_0x396222,0.1),_0x15b1bd=0x1-Math[_0x4109bc(0x129)](-this['dampingFactor']*_0xd95dfa);this[_0x4109bc(0x128)]=webgpu.MathUtils[_0x4109bc(0x114)](this['distance'],this[_0x4109bc(0xfc)],_0x15b1bd);const _0x487316=this[_0x4109bc(0xde)]();_0x487316[_0x4109bc(0x114)](this[_0x4109bc(0x124)],_0x15b1bd),super['setPosition'](_0x487316);const _0x138929=this[_0x4109bc(0x10c)]();_0x138929[_0x4109bc(0xe5)](this['_targetQuaternion'],_0x15b1bd),super[_0x4109bc(0xeb)](_0x138929);}this['updateCameraFromPawn']();}['setPosition'](..._0xaf54dd){const _0x4e8489=_0x33a492;super[_0x4e8489(0x104)](..._0xaf54dd),this['_targetPosition']['copy'](this[_0x4e8489(0xde)]());}[_0x33a492(0x13c)](..._0x25225d){const _0x27e9c9=_0x33a492;super[_0x27e9c9(0x13c)](..._0x25225d),this[_0x27e9c9(0xdf)][_0x27e9c9(0x113)](this[_0x27e9c9(0x10c)]());}[_0x33a492(0xeb)](..._0x48827c){const _0x358eb1=_0x33a492;super[_0x358eb1(0xeb)](..._0x48827c),this['_targetQuaternion'][_0x358eb1(0x113)](this[_0x358eb1(0x10c)]());}[_0x33a492(0xf6)](_0x3b8b49,_0x4c2aa8,_0x8a04ea,_0x2239dc,_0x48e27f=null,_0x40723c=null){const _0x219f2a=_0x33a492;this[_0x219f2a(0x11a)]&&this[_0x219f2a(0x11a)][_0x219f2a(0x100)]();const _0x1dbbc3=this[_0x219f2a(0xde)](),_0xf8a4b5=this[_0x219f2a(0x10c)](),_0x2c0168=this[_0x219f2a(0x128)];let _0x4ece63;_0x4c2aa8 instanceof webgpu.Euler?_0x4ece63=new webgpu.Quaternion()[_0x219f2a(0xed)](_0x4c2aa8):_0x4ece63=_0x4c2aa8[_0x219f2a(0xfd)]();const _0x4661a6=new webgpu.Euler(0x0,0x0,0x0,'YXZ')['setFromQuaternion'](_0x4ece63);Math[_0x219f2a(0x12e)](_0x4661a6['z'])>0.00001&&(_0x4661a6['z']=0x0,_0x4ece63[_0x219f2a(0xed)](_0x4661a6));const _0x2f9452={'alpha':0x0};this[_0x219f2a(0x11a)]=gsap.gsap['to'](_0x2f9452,{'alpha':0x1,'duration':_0x2239dc,'onUpdate':()=>{const _0x587500=_0x219f2a,_0xff7e43=_0x2f9452[_0x587500(0xe6)],_0x55b136=new webgpu.Vector3()[_0x587500(0xe1)](_0x1dbbc3,_0x3b8b49,_0xff7e43);this['setPosition'](_0x55b136),this[_0x587500(0x124)][_0x587500(0x113)](_0x55b136);const _0x4eb2d6=_0xf8a4b5[_0x587500(0xfd)]()['slerp'](_0x4ece63,_0xff7e43);this['setQuaternion'](_0x4eb2d6),this[_0x587500(0xdf)]['copy'](_0x4eb2d6),this[_0x587500(0x128)]=webgpu.MathUtils['lerp'](_0x2c0168,_0x8a04ea,_0xff7e43),this[_0x587500(0xfc)]=this[_0x587500(0x128)];if(_0x48e27f)_0x48e27f();},'onComplete':()=>{const _0xf8a449=_0x219f2a;this[_0xf8a449(0x11a)]=null;if(_0x40723c)_0x40723c();}});}['stopFocusing'](){const _0x483662=_0x33a492;this[_0x483662(0x11a)]&&(this[_0x483662(0x11a)]['kill'](),this[_0x483662(0x11a)]=null);}}
|
|
91
91
|
|
|
92
|
-
const _0x50374f=_0x1c2a;(function(_0x3c9899,_0x4db24e){const _0xfaefb5=_0x1c2a,_0x459c27=_0x3c9899();while(!![]){try{const _0x37344c=-parseInt(_0xfaefb5(0x9b))/0x1+parseInt(_0xfaefb5(0x9c))/0x2*(parseInt(_0xfaefb5(0x156))/0x3)+parseInt(_0xfaefb5(0xe6))/0x4+parseInt(_0xfaefb5(0x142))/0x5*(parseInt(_0xfaefb5(0x144))/0x6)+parseInt(_0xfaefb5(0x116))/0x7*(parseInt(_0xfaefb5(0xf4))/0x8)+-parseInt(_0xfaefb5(0x122))/0x9*(parseInt(_0xfaefb5(0xe9))/0xa)+-parseInt(_0xfaefb5(0x13f))/0xb;if(_0x37344c===_0x4db24e)break;else _0x459c27['push'](_0x459c27['shift']());}catch(_0x1a0863){_0x459c27['push'](_0x459c27['shift']());}}}(_0x342a,0x64b43));function _0x342a(){const _0x42c7ee=['onContextMenuDelegate','YXZ','onKeyDownEvent','focusTo','onPointerDown','onPointerUp','_onComponentClickDelegate','setTimeout','collider','_onComponentPointerDownDelegate','handled','onClicked','onPointerUpEvent','onWindowBlurEvent','_onComponentHoverEndDelegate','onWindowBlurDelegate','clientWidth','viewPort','getHitResultUnderCursor','add','onKeyUp','_onComponentDoubleClickDelegate','onPointerDownEvent','pointerdown','handleDoubleClick','possess','onPointerUpDelegate','point','onKeyDown','onPointerCancelEvent','onPointerEnterEvent','_onKeyDownDelegate','world','clearHovering','onRawClickDelegate','near','viewport','onComponentDoubleClickDelegate','clearClickTimer','onPointerEnter','onClickEvent','clone','kill','_onPointerLockChangeDelegate','_onActorHoverBeginDelegate','pointerup','pawn','_onActorHoverEndDelegate','onWindowBlur','onContextMenu','onContextMenuEvent','left','onActorDoubleClick','_onPointerDownDelegate','blur','init','click','onHorveringBegin','onPointerMoveDelegate','top','2456348FjJYgd','isHoverEnabled','prepareClickComponent','10srSuqA','lineTraceMulti','_onPointerMoveDelegate','origin','_onActorClickDelegate','delete','pointerLeftDownPosition','onActorDoubleClickDelegate','isClickEnabled','pointerenter','switchPawn','64bfgeQu','focusToBounds','Visibility','hit','ray','onActorClick','fireClickEvents','leftClickTimer','enabled','isPerspectiveCamera','fireComponentHoverEnd','pointerlockchange','onPointerCancel','onPointerLockChangeEvent','distance','prepareClickHit','_tempVec2','canvas','getTargetCameraState','physics','_app','_raycastVec2','onWheelEvent','_onKeyUpDelegate','subVectors','_pawn','pawn\x20is\x20null','setFromAxisAngle','clientX','_onContextMenuDelegate','raycaster','onPointerDownDelegate','component','_onPointerUpDelegate','42665KsWauR','addEventListener','onActorHoverEndDelegate','copy','fireActorHoverBegin','onClickNothingDelegate','clearTimeout','tan','removeCorePointerListeners','position','createInitialPawn','push','730233QEjCft','keydown','contextmenu','onComponentHoverBeginDelegate','handleFirstClick','_onWheelDelegate','fireActorClick','setFromEuler','altKey','keyup','onPointerLockChangeDelegate','onPointerLeave','setFromObject','max','hoveringComponent','updateCamera','length','onPointerMove','onWheel','removeEventListener','pointercancel','_onActorDoubleClickDelegate','getSize','lineTraceSingle','onClick','getAllHitResultFromScreenPoint','blocking','_switchPawnTween','onKeyUpEvent','4067085gIqTmj','prepareClickModifiers','doubleClickDelay','3136470LoDTeD','_onWindowBlurDelegate','6joVTuY','parentActor','focusToObject','firePointerDownEvent','app','hoveringActor','addCorePointerListeners','onPointerLeaveEvent','sqrt','multiplyScalar','pointerleave','broadcast','assign','onActorClickDelegate','threeObject','onPointerMoveEvent','fov','pointerPosition','63OJlTtv','fireActorHoverEnd','fireComponentHoverBegin','addActor','quaternion','onHorveringEnd','_onRawClickDelegate','wheel','onPointerLockChange','getHitResultFromScreenPoint','tick','camera','clientY','_onClickNothingDelegate','setFromCamera','fireComponentClick','728157iWyPlJ','28702oxYBio','button','size','onComponentHoverEndDelegate','set','_onComponentHoverBeginDelegate','canvas\x20is\x20null','power2.inOut','unpossess','_pointButtonIsDown','_onPointerCancelDelegate','onActorHoverEnd','destroy','pointermove'];_0x342a=function(){return _0x42c7ee;};return _0x342a();}function _0x1c2a(_0x428298,_0x5eae1e){_0x428298=_0x428298-0x92;const _0x342a31=_0x342a();let _0x1c2ae6=_0x342a31[_0x428298];return _0x1c2ae6;}class Controller{get[_0x50374f(0x96)](){const _0x128ff6=_0x50374f;return this[_0x128ff6(0x108)][_0x128ff6(0x96)];}get[_0x50374f(0xca)](){const _0x1ab0e2=_0x50374f;return this[_0x1ab0e2(0x108)][_0x1ab0e2(0xca)];}get[_0x50374f(0xbb)](){const _0x57bfe8=_0x50374f;return this['_app'][_0x57bfe8(0xce)];}get[_0x50374f(0x148)](){const _0x59bf9f=_0x50374f;return this[_0x59bf9f(0x108)];}get['pawn'](){const _0x27c454=_0x50374f;if(!this[_0x27c454(0x10d)])throw Error(_0x27c454(0x10e));return this['_pawn'];}get['onComponentClickDelegate'](){return this['_onComponentClickDelegate'];}get[_0x50374f(0xcf)](){const _0x1bd9cd=_0x50374f;return this[_0x1bd9cd(0xbf)];}get[_0x50374f(0x125)](){return this['_onComponentHoverBeginDelegate'];}get[_0x50374f(0x9f)](){const _0x59d9a1=_0x50374f;return this[_0x59d9a1(0xb8)];}get['onComponentPointerDownDelegate'](){const _0x3503ce=_0x50374f;return this[_0x3503ce(0xb3)];}get[_0x50374f(0x151)](){const _0x84f61a=_0x50374f;return this[_0x84f61a(0xed)];}get[_0x50374f(0xf0)](){const _0x37602d=_0x50374f;return this[_0x37602d(0x137)];}get['onActorHoverBeginDelegate'](){const _0x59ec87=_0x50374f;return this[_0x59ec87(0xd6)];}get[_0x50374f(0x118)](){const _0x7697c3=_0x50374f;return this[_0x7697c3(0xd9)];}get[_0x50374f(0x11b)](){const _0x5edda1=_0x50374f;return this[_0x5edda1(0x98)];}get[_0x50374f(0x113)](){const _0x33c15d=_0x50374f;return this[_0x33c15d(0xdf)];}get[_0x50374f(0xc4)](){const _0x14b34e=_0x50374f;return this[_0x14b34e(0x115)];}get[_0x50374f(0xe4)](){return this['_onPointerMoveDelegate'];}get['onPointerCancelDelegate'](){return this['_onPointerCancelDelegate'];}get['onWheelDelegate'](){return this['_onWheelDelegate'];}get['onKeyDownDelegate'](){const _0x2dd643=_0x50374f;return this[_0x2dd643(0xc9)];}get['onKeyUpDelegate'](){const _0x200a71=_0x50374f;return this[_0x200a71(0x10b)];}get[_0x50374f(0xaa)](){const _0xcfbc8a=_0x50374f;return this[_0xcfbc8a(0x111)];}get[_0x50374f(0x12c)](){return this['_onPointerLockChangeDelegate'];}get[_0x50374f(0xb9)](){const _0x20a18=_0x50374f;return this[_0x20a18(0x143)];}get[_0x50374f(0xcc)](){return this['_onRawClickDelegate'];}constructor(_0x1537cf){const _0x1fdbac=_0x50374f;this[_0x1fdbac(0x10d)]=null,this[_0x1fdbac(0x13d)]=null,this[_0x1fdbac(0x130)]=null,this[_0x1fdbac(0x149)]=null,this[_0x1fdbac(0xe8)]=null,this[_0x1fdbac(0x103)]=null,this[_0x1fdbac(0x140)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x1fdbac(0xa5)]=new Set(),this[_0x1fdbac(0xb0)]=new Delegate(),this[_0x1fdbac(0xbf)]=new Delegate(),this[_0x1fdbac(0xa1)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x1fdbac(0xb3)]=new Delegate(),this[_0x1fdbac(0xed)]=new Delegate(),this[_0x1fdbac(0x137)]=new Delegate(),this[_0x1fdbac(0xd6)]=new Delegate(),this[_0x1fdbac(0xd9)]=new Delegate(),this['_onClickNothingDelegate']=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this[_0x1fdbac(0x115)]=new Delegate(),this[_0x1fdbac(0xeb)]=new Delegate(),this[_0x1fdbac(0xa6)]=new Delegate(),this[_0x1fdbac(0x127)]=new Delegate(),this[_0x1fdbac(0xc9)]=new Delegate(),this[_0x1fdbac(0x10b)]=new Delegate(),this['_onContextMenuDelegate']=new Delegate(),this[_0x1fdbac(0xd5)]=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this['_onRawClickDelegate']=new Delegate(),this[_0x1fdbac(0x155)]=new webgpu.Vector2(),this['pointerLeftDownPosition']=new webgpu.Vector2(),this[_0x1fdbac(0x104)]=new webgpu.Vector2(),this[_0x1fdbac(0x109)]=new webgpu.Vector2(),this[_0x1fdbac(0x141)]=0xfa,this['leftClickTimer']=null,this[_0x1fdbac(0x133)]=_0x3e1987=>this[_0x1fdbac(0x153)](_0x3e1987),this[_0x1fdbac(0xd1)]=_0x38f4ea=>this[_0x1fdbac(0xc8)](_0x38f4ea),this['onPointerLeave']=_0xc80f26=>this[_0x1fdbac(0x14b)](_0xc80f26),this[_0x1fdbac(0xaf)]=_0x5e9ccb=>this[_0x1fdbac(0xb6)](_0x5e9ccb),this['onPointerDown']=_0x3acc6b=>this[_0x1fdbac(0xc0)](_0x3acc6b),this[_0x1fdbac(0x100)]=_0x2d59a8=>this[_0x1fdbac(0xc7)](_0x2d59a8),this[_0x1fdbac(0x134)]=_0x29db68=>this[_0x1fdbac(0x10a)](_0x29db68),this['onKeyDown']=_0x5b7125=>this[_0x1fdbac(0xac)](_0x5b7125),this[_0x1fdbac(0xbe)]=_0x375668=>this[_0x1fdbac(0x13e)](_0x375668),this[_0x1fdbac(0xdb)]=_0x262aa2=>this[_0x1fdbac(0xdc)](_0x262aa2),this[_0x1fdbac(0x93)]=_0x2697d0=>this[_0x1fdbac(0x101)](_0x2697d0),this[_0x1fdbac(0xda)]=_0x3f6dba=>this[_0x1fdbac(0xb7)](_0x3f6dba),this[_0x1fdbac(0x13a)]=_0x32821a=>this[_0x1fdbac(0xd2)](_0x32821a),this['_app']=_0x1537cf,this[_0x1fdbac(0x112)]=new webgpu.Raycaster(),this['createInitialPawn']();}[_0x50374f(0x120)](){const _0x2099b5=_0x50374f;this[_0x2099b5(0x10d)]=new Orbital(this[_0x2099b5(0x108)]),this[_0x2099b5(0xd8)]['possess'](),this[_0x2099b5(0xd8)][_0x2099b5(0xfc)]=!![];}[_0x50374f(0xe1)](){const _0x460ebc=_0x50374f,_0x4706a2=this[_0x460ebc(0xbb)][_0x460ebc(0x105)];console['log'](_0x460ebc(0x105),_0x4706a2),_0x4706a2&&(_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0xf2),this[_0x460ebc(0xd1)]),_0x4706a2['addEventListener'](_0x460ebc(0x14e),this['onPointerLeave']),_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0x136),this[_0x460ebc(0x100)]),_0x4706a2['addEventListener']('wheel',this[_0x460ebc(0x134)]),_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0x124),this[_0x460ebc(0xdb)]),_0x4706a2[_0x460ebc(0x117)]('click',this[_0x460ebc(0x13a)]),this['addCorePointerListeners']()),document[_0x460ebc(0x117)](_0x460ebc(0xff),this[_0x460ebc(0x93)]),document['addEventListener']('keydown',this[_0x460ebc(0xc6)]),document['addEventListener']('keyup',this[_0x460ebc(0xbe)]),window[_0x460ebc(0x117)](_0x460ebc(0xe0),this[_0x460ebc(0xda)]),this[_0x460ebc(0x10d)]&&(this[_0x460ebc(0x10d)][_0x460ebc(0xa4)](),this[_0x460ebc(0x10d)][_0x460ebc(0xc3)]());}[_0x50374f(0x131)](){const _0x9e9af8=_0x50374f;var _0x5ceab8,_0x48b7dc;const _0x49850c=this[_0x9e9af8(0xd8)][_0x9e9af8(0xfc)];(_0x5ceab8=this[_0x9e9af8(0x10d)])===null||_0x5ceab8===void 0?void 0:_0x5ceab8['unpossess'](),(_0x48b7dc=this['_pawn'])===null||_0x48b7dc===void 0?void 0:_0x48b7dc[_0x9e9af8(0xa8)](),this['_pawn']=new Orbital(this[_0x9e9af8(0x108)]),this['pawn'][_0x9e9af8(0xc3)](),this[_0x9e9af8(0xd8)][_0x9e9af8(0xfc)]=_0x49850c;}async[_0x50374f(0xf3)](_0x53fcaf,_0x464304){const _0x3206aa=_0x50374f;!_0x53fcaf[_0x3206aa(0xca)]&&this[_0x3206aa(0x108)]['world'][_0x3206aa(0x159)](_0x53fcaf);this[_0x3206aa(0x13d)]&&(this['_switchPawnTween'][_0x3206aa(0xd4)](),this[_0x3206aa(0x13d)]=null);const _0x4ff537=this['_pawn'];if(_0x4ff537===_0x53fcaf)return;if(!_0x464304||_0x464304<=0x0){_0x4ff537&&(_0x4ff537['unpossess'](),_0x4ff537['enabled']=![]);this[_0x3206aa(0x10d)]=_0x53fcaf,this[_0x3206aa(0x10d)][_0x3206aa(0xfc)]=!![],this['_pawn'][_0x3206aa(0xc3)]();return;}const _0x5181fa=this[_0x3206aa(0x96)]['position'][_0x3206aa(0xd3)](),_0x425d79=this[_0x3206aa(0x96)][_0x3206aa(0x15a)][_0x3206aa(0xd3)]();_0x4ff537&&(_0x4ff537[_0x3206aa(0xa4)](),_0x4ff537[_0x3206aa(0xfc)]=![]);const {position:_0x14bcfa,quaternion:_0x41c3b1}=_0x53fcaf[_0x3206aa(0x106)]();return this[_0x3206aa(0x10d)]=_0x53fcaf,this[_0x3206aa(0x10d)][_0x3206aa(0xfc)]=![],new Promise(_0x1bf647=>{const _0x3fe40e=_0x3206aa,_0x235eb9={'alpha':0x0};this[_0x3fe40e(0x13d)]=gsap.gsap['to'](_0x235eb9,{'alpha':0x1,'duration':_0x464304,'ease':_0x3fe40e(0xa3),'onUpdate':()=>{const _0x45a7c3=_0x3fe40e,_0x7f0202=_0x235eb9['alpha'];this[_0x45a7c3(0x96)][_0x45a7c3(0x11f)]['lerpVectors'](_0x5181fa,_0x14bcfa,_0x7f0202),this['camera'][_0x45a7c3(0x15a)]['slerpQuaternions'](_0x425d79,_0x41c3b1,_0x7f0202);},'onComplete':()=>{const _0x5bd1e4=_0x3fe40e;this[_0x5bd1e4(0x13d)]=null,this[_0x5bd1e4(0x10d)]===_0x53fcaf&&(this[_0x5bd1e4(0x10d)][_0x5bd1e4(0xc3)](),this['_pawn']['enabled']=!![]),_0x1bf647();}});});}[_0x50374f(0x95)](_0x2ed90c){const _0x7ed540=_0x50374f;!this[_0x7ed540(0xd8)]['world']&&this[_0x7ed540(0xd8)][_0x7ed540(0x95)](_0x2ed90c);}[_0x50374f(0xa8)](){const _0x32cd3f=_0x50374f;this[_0x32cd3f(0xd0)](),this[_0x32cd3f(0xcb)]();const _0x2ca16f=this[_0x32cd3f(0xbb)]['canvas'];_0x2ca16f&&(_0x2ca16f[_0x32cd3f(0x135)]('pointerenter',this[_0x32cd3f(0xd1)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x14e),this[_0x32cd3f(0x12d)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x136),this[_0x32cd3f(0x100)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x92),this[_0x32cd3f(0x134)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x124),this[_0x32cd3f(0xdb)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0xe2),this[_0x32cd3f(0x13a)]),this[_0x32cd3f(0x11e)]()),document[_0x32cd3f(0x135)](_0x32cd3f(0xff),this[_0x32cd3f(0x93)]),document[_0x32cd3f(0x135)](_0x32cd3f(0x123),this[_0x32cd3f(0xc6)]),document[_0x32cd3f(0x135)](_0x32cd3f(0x12b),this[_0x32cd3f(0xbe)]),window[_0x32cd3f(0x135)](_0x32cd3f(0xe0),this[_0x32cd3f(0xda)]),this[_0x32cd3f(0xd8)][_0x32cd3f(0xa4)](),this[_0x32cd3f(0xd8)][_0x32cd3f(0xa8)](),this['_pawn']=null;}[_0x50374f(0x153)](_0x211aa2){const _0x3aae54=_0x50374f;var _0x4cd1d6,_0x4665f4;this[_0x3aae54(0xeb)][_0x3aae54(0x14f)](_0x211aa2);const _0x52cb9b=this[_0x3aae54(0xbb)][_0x3aae54(0x105)];if(!_0x52cb9b)throw Error(_0x3aae54(0xa2));const _0x10fad7=_0x52cb9b['getBoundingClientRect']();this[_0x3aae54(0x155)][_0x3aae54(0xa0)]((_0x211aa2[_0x3aae54(0x110)]-_0x10fad7[_0x3aae54(0xdd)])/_0x52cb9b[_0x3aae54(0xba)]*0x2-0x1,0x1-(_0x211aa2[_0x3aae54(0x97)]-_0x10fad7[_0x3aae54(0xe5)])/_0x52cb9b['clientHeight']*0x2);if(this['_pointButtonIsDown'][_0x3aae54(0x9e)]>0x0)return;const _0x1967c7=this[_0x3aae54(0xbc)](),_0x17d897=(_0x4cd1d6=_0x1967c7===null||_0x1967c7===void 0?void 0:_0x1967c7[_0x3aae54(0x114)])!==null&&_0x4cd1d6!==void 0?_0x4cd1d6:null,_0x7dd5f3=(_0x4665f4=_0x17d897===null||_0x17d897===void 0?void 0:_0x17d897[_0x3aae54(0x145)])!==null&&_0x4665f4!==void 0?_0x4665f4:null;_0x17d897!==this['hoveringComponent']&&(this[_0x3aae54(0x130)]&&this[_0x3aae54(0xfe)](this['hoveringComponent']),_0x17d897&&_0x1967c7&&this[_0x3aae54(0x158)](_0x17d897,_0x1967c7[_0x3aae54(0xf7)])),_0x7dd5f3!==this[_0x3aae54(0x149)]&&(this[_0x3aae54(0x149)]&&this[_0x3aae54(0x130)]&&this['fireActorHoverEnd'](this[_0x3aae54(0x149)],this[_0x3aae54(0x130)]),_0x7dd5f3&&_0x17d897&&_0x1967c7&&this[_0x3aae54(0x11a)](_0x7dd5f3,_0x17d897,_0x1967c7[_0x3aae54(0xf7)])),this[_0x3aae54(0x130)]=_0x17d897,this[_0x3aae54(0x149)]=_0x7dd5f3;}['clearHovering'](){const _0x3557d2=_0x50374f;this[_0x3557d2(0x130)]&&this[_0x3557d2(0xfe)](this[_0x3557d2(0x130)]),this['hoveringActor']&&this[_0x3557d2(0x130)]&&this['fireActorHoverEnd'](this[_0x3557d2(0x149)],this['hoveringComponent']),this['hoveringComponent']=null,this['hoveringActor']=null;}['onPointerUpEvent'](_0x4a0f2a){const _0x4e6efd=_0x50374f;this[_0x4e6efd(0x115)][_0x4e6efd(0x14f)](_0x4a0f2a),this[_0x4e6efd(0xa5)][_0x4e6efd(0xee)](_0x4a0f2a[_0x4e6efd(0x9d)]);if(_0x4a0f2a[_0x4e6efd(0x9d)]!==0x0)return;const _0x3e2c23=this[_0x4e6efd(0x104)][_0x4e6efd(0x10c)](this[_0x4e6efd(0xef)],this['pointerPosition'])['length']();if(_0x3e2c23>0.005){this[_0x4e6efd(0xd0)]();return;}this[_0x4e6efd(0x140)]={'ctrlKey':_0x4a0f2a['ctrlKey'],'shiftKey':_0x4a0f2a['shiftKey'],'altKey':_0x4a0f2a[_0x4e6efd(0x12a)]},!this[_0x4e6efd(0xfb)]?this[_0x4e6efd(0x126)]():this[_0x4e6efd(0xc2)]();}[_0x50374f(0x126)](){const _0x54c9cd=_0x50374f,_0x195343=this[_0x54c9cd(0xbc)](),_0x2b14b2=_0x195343===null||_0x195343===void 0?void 0:_0x195343[_0x54c9cd(0x114)];_0x2b14b2 instanceof SceneComponent&&_0x195343?(this['prepareClickComponent']=_0x2b14b2,this['prepareClickHit']=_0x195343[_0x54c9cd(0xf7)],this['leftClickTimer']=window[_0x54c9cd(0xb1)](()=>{const _0xccd82=_0x54c9cd;this[_0xccd82(0xfb)]=null,this[_0xccd82(0xe8)]&&this['prepareClickHit']&&(this[_0xccd82(0xfa)](this['prepareClickComponent'],this['prepareClickHit'],![]),this[_0xccd82(0xe8)]=null,this[_0xccd82(0x103)]=null);},this[_0x54c9cd(0x141)])):this[_0x54c9cd(0x98)][_0x54c9cd(0x14f)]();}[_0x50374f(0xc2)](){const _0x4dbbcc=_0x50374f;this['clearClickTimer'](),this[_0x4dbbcc(0xe8)]&&this[_0x4dbbcc(0x103)]?this[_0x4dbbcc(0xfa)](this['prepareClickComponent'],this[_0x4dbbcc(0x103)],!![]):this[_0x4dbbcc(0x98)]['broadcast'](),this[_0x4dbbcc(0xe8)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x117632){const _0x1d1a55=_0x50374f;this[_0x1d1a55(0xdf)][_0x1d1a55(0x14f)](_0x117632),this[_0x1d1a55(0xa5)][_0x1d1a55(0xbd)](_0x117632['button']);_0x117632[_0x1d1a55(0x9d)]===0x0&&this['pointerLeftDownPosition'][_0x1d1a55(0x119)](this[_0x1d1a55(0x155)]);const _0x7c0fcc=this[_0x1d1a55(0xbc)](),_0x5c943f=_0x7c0fcc===null||_0x7c0fcc===void 0?void 0:_0x7c0fcc[_0x1d1a55(0x114)];_0x5c943f instanceof SceneComponent&&_0x7c0fcc&&this[_0x1d1a55(0x147)](_0x5c943f,_0x7c0fcc['hit'],_0x117632[_0x1d1a55(0x9d)]);}['onPointerEnterEvent'](_0xcc03c2){const _0x56d0dd=_0x50374f;this[_0x56d0dd(0x14a)]();}[_0x50374f(0x14b)](_0x4e446f){this['removeCorePointerListeners']();}[_0x50374f(0xc7)](_0x1ee8cc){const _0x42e094=_0x50374f;this[_0x42e094(0xa6)][_0x42e094(0x14f)](_0x1ee8cc);}[_0x50374f(0x10a)](_0xbccee9){const _0x2f3952=_0x50374f;this['_onWheelDelegate'][_0x2f3952(0x14f)](_0xbccee9);}[_0x50374f(0xac)](_0x2414dc){const _0x5aa345=_0x50374f;this[_0x5aa345(0xc9)][_0x5aa345(0x14f)](_0x2414dc);}['onKeyUpEvent'](_0x54c92b){const _0x2418ba=_0x50374f;this['_onKeyUpDelegate'][_0x2418ba(0x14f)](_0x54c92b);}[_0x50374f(0xdc)](_0x1e6ec6){const _0x255539=_0x50374f;this[_0x255539(0x111)]['broadcast'](_0x1e6ec6);}[_0x50374f(0x101)](_0xcdd3d5){const _0x11d063=_0x50374f;this[_0x11d063(0xd5)]['broadcast'](_0xcdd3d5);}[_0x50374f(0xb7)](_0x7a6662){const _0x5260d0=_0x50374f;this[_0x5260d0(0x143)][_0x5260d0(0x14f)](_0x7a6662);}[_0x50374f(0xd2)](_0x36200b){const _0x561a5d=_0x50374f;this[_0x561a5d(0x15c)][_0x561a5d(0x14f)](_0x36200b);}[_0x50374f(0x158)](_0xea677d,_0x21af6f){const _0xc211c6=_0x50374f,_0x33e1c0={'component':_0xea677d,'hit':_0x21af6f,'handled':![]};this[_0xc211c6(0xa1)][_0xc211c6(0x14f)](_0x33e1c0),!_0x33e1c0[_0xc211c6(0xb4)]&&_0xea677d[_0xc211c6(0xe3)]();}[_0x50374f(0xfe)](_0x495dba){const _0x29c28f=_0x50374f,_0x58f496={'component':_0x495dba,'hit':null,'handled':![]};this[_0x29c28f(0xb8)][_0x29c28f(0x14f)](_0x58f496),!_0x58f496[_0x29c28f(0xb4)]&&_0x495dba[_0x29c28f(0x15b)]();}[_0x50374f(0x9a)](_0x5d7108,_0x4f2803,_0x4d1e1a){const _0x39dbfb=_0x50374f,_0xea861b=Object['assign']({'component':_0x5d7108,'hit':_0x4f2803,'handled':![]},this[_0x39dbfb(0x140)]);_0x4d1e1a?(this[_0x39dbfb(0xbf)][_0x39dbfb(0x14f)](_0xea861b),!_0xea861b[_0x39dbfb(0xb4)]&&_0x5d7108['onDoubleClicked']()):(this['_onComponentClickDelegate'][_0x39dbfb(0x14f)](_0xea861b),!_0xea861b[_0x39dbfb(0xb4)]&&_0x5d7108[_0x39dbfb(0xb5)]());}['firePointerDownEvent'](_0xcf9796,_0xe54dcc,_0x28cfc8){const _0x2a1bbd=_0x50374f,_0x53e1da={'component':_0xcf9796,'hit':_0xe54dcc,'button':_0x28cfc8,'handled':![]};this[_0x2a1bbd(0xb3)][_0x2a1bbd(0x14f)](_0x53e1da);}[_0x50374f(0x11a)](_0xa0c191,_0x11299f,_0x159467){const _0x53ea9c=_0x50374f,_0x3f513e={'actor':_0xa0c191,'component':_0x11299f,'hit':_0x159467,'handled':![]};this[_0x53ea9c(0xd6)][_0x53ea9c(0x14f)](_0x3f513e),!_0x3f513e['handled']&&_0xa0c191['onActorHoverBegin'](_0x11299f);}[_0x50374f(0x157)](_0x6b1b2,_0x3038af){const _0x303e5a=_0x50374f,_0x1d2c59={'actor':_0x6b1b2,'component':_0x3038af,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x1d2c59),!_0x1d2c59[_0x303e5a(0xb4)]&&_0x6b1b2[_0x303e5a(0xa7)](_0x3038af);}[_0x50374f(0x128)](_0x263516,_0x17da8a,_0x3e4477,_0x2eeb03){const _0x4078e3=_0x50374f,_0x48c492=Object[_0x4078e3(0x150)]({'actor':_0x263516,'component':_0x17da8a,'hit':_0x3e4477,'handled':![]},this['prepareClickModifiers']);_0x2eeb03?(this[_0x4078e3(0x137)][_0x4078e3(0x14f)](_0x48c492),!_0x48c492[_0x4078e3(0xb4)]&&_0x263516[_0x4078e3(0xde)](_0x17da8a)):(this[_0x4078e3(0xed)][_0x4078e3(0x14f)](_0x48c492),!_0x48c492[_0x4078e3(0xb4)]&&_0x263516[_0x4078e3(0xf9)](_0x17da8a));}[_0x50374f(0xfa)](_0x23b6aa,_0x47fadc,_0x190661){const _0x5c06d6=_0x50374f;this[_0x5c06d6(0x9a)](_0x23b6aa,_0x47fadc,_0x190661);const _0xe8f092=_0x23b6aa[_0x5c06d6(0x145)];if(_0xe8f092){if(_0xe8f092[_0x5c06d6(0xf1)])this['fireActorClick'](_0xe8f092,_0x23b6aa,_0x47fadc,_0x190661);}}[_0x50374f(0xd0)](){const _0x26c2fc=_0x50374f;this[_0x26c2fc(0xfb)]&&(window[_0x26c2fc(0x11c)](this[_0x26c2fc(0xfb)]),this[_0x26c2fc(0xfb)]=null);}['addCorePointerListeners'](){const _0x2bac7c=_0x50374f,_0x5dabdd=this[_0x2bac7c(0xbb)]['canvas'];if(!_0x5dabdd)return;_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xa9),this[_0x2bac7c(0x133)]),_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xd7),this[_0x2bac7c(0xaf)]),_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xc1),this[_0x2bac7c(0xae)]);}[_0x50374f(0x11e)](){const _0x3774fb=_0x50374f,_0x15078f=this[_0x3774fb(0xbb)]['canvas'];if(!_0x15078f)return;_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xa9),this['onPointerMove']),_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xd7),this[_0x3774fb(0xaf)]),_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xc1),this[_0x3774fb(0xae)]);}[_0x50374f(0xbc)](_0x22965=!![]){const _0xff8bd5=_0x50374f;return this[_0xff8bd5(0x94)](this[_0xff8bd5(0x155)]['x'],this[_0xff8bd5(0x155)]['y'],_0x22965);}[_0x50374f(0x94)](_0x5ea373,_0x5b0dd3,_0x3d3aeb=!![]){const _0x3f1243=_0x50374f;this[_0x3f1243(0x109)]['set'](_0x5ea373,_0x5b0dd3),this[_0x3f1243(0x112)][_0x3f1243(0x99)](this['_raycastVec2'],this['camera']);const _0x2ad3ef=this[_0x3f1243(0x13b)](_0x5ea373,_0x5b0dd3);if(!_0x3d3aeb)return _0x2ad3ef[0x0]||null;for(const _0x441e86 of _0x2ad3ef){const _0x23e238=_0x441e86['component'][_0x3f1243(0xe7)]||_0x441e86[_0x3f1243(0x114)]['isClickEnabled'],_0x170b90=_0x441e86[_0x3f1243(0x114)][_0x3f1243(0x145)],_0x16aa05=_0x170b90&&(_0x170b90[_0x3f1243(0xe7)]||_0x170b90[_0x3f1243(0xf1)]);if(_0x23e238||_0x16aa05)return _0x441e86;}return null;}['getAllHitResultUnderCursor'](_0x115b4a=!![]){const _0x79a4cf=_0x50374f;return this[_0x79a4cf(0x13b)](this[_0x79a4cf(0x155)]['x'],this[_0x79a4cf(0x155)]['y']);}[_0x50374f(0x13b)](_0x4e7bf9,_0x41567c){const _0x551f48=_0x50374f;this[_0x551f48(0x109)][_0x551f48(0xa0)](_0x4e7bf9,_0x41567c),this[_0x551f48(0x112)][_0x551f48(0x99)](this[_0x551f48(0x109)],this['camera']);const _0x52f71c=this[_0x551f48(0x112)][_0x551f48(0xf8)][_0x551f48(0xec)],_0x42839d=this[_0x551f48(0x112)][_0x551f48(0xf8)]['at'](0x2710,new webgpu.Vector3()),_0x9c6c51=this[_0x551f48(0xca)][_0x551f48(0x107)][_0x551f48(0xea)](_0x52f71c,_0x42839d,exports.CollisionChannel['Visibility']),_0x4e3f45=[];for(const _0x3cb4f3 of _0x9c6c51){if(!_0x3cb4f3[_0x551f48(0xb2)]||!_0x3cb4f3[_0x551f48(0xb2)][_0x551f48(0x152)])continue;if(this[_0x551f48(0x96)]instanceof webgpu.PerspectiveCamera&&_0x3cb4f3[_0x551f48(0x102)]<this[_0x551f48(0x96)][_0x551f48(0xcd)])continue;const _0x52a347={'distance':_0x3cb4f3[_0x551f48(0x102)],'point':_0x3cb4f3[_0x551f48(0xc5)],'object':_0x3cb4f3[_0x551f48(0xb2)][_0x551f48(0x152)],'uv':new webgpu.Vector2(0x0,0x0)};_0x4e3f45[_0x551f48(0x121)]({'component':_0x3cb4f3[_0x551f48(0xb2)],'hit':_0x52a347});if(_0x3cb4f3[_0x551f48(0x13c)])break;}return _0x4e3f45;}[_0x50374f(0xad)](_0x5e2ba4,_0x3f9a3a,_0x377c2c,_0x2c8ed0,_0x164066=null,_0x1ea48e=null){const _0x5c27bf=_0x50374f;this[_0x5c27bf(0xd8)][_0x5c27bf(0xad)](_0x5e2ba4,_0x3f9a3a,_0x377c2c,_0x2c8ed0,_0x164066,_0x1ea48e);}[_0x50374f(0xf5)](_0x36aa26,_0x13956a,_0x34eb70={}){const _0x1e35ca=_0x50374f,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x1e35ca(0x14c)](0.5)}=_0x34eb70,_0x223ce4=new webgpu.Vector3(),_0x455619=new webgpu.Vector3();_0x36aa26['getCenter'](_0x223ce4),_0x36aa26[_0x1e35ca(0x138)](_0x455619);const _0x412a4d=this[_0x1e35ca(0x148)][_0x1e35ca(0x96)];if(_0x412a4d&&_0x412a4d[_0x1e35ca(0xfd)]){const _0x48044f=_0x412a4d[_0x1e35ca(0x154)]*(Math['PI']/0xb4),_0x81d230=_0x455619[_0x1e35ca(0x132)]()*0.5,_0x36f1ec=Math[_0x1e35ca(0x12f)](_0x81d230/targetScreenRatio/Math[_0x1e35ca(0x11d)](_0x48044f/0x2),_0x412a4d[_0x1e35ca(0xcd)]*0x2);let _0x5e9aa8=_0x412a4d['quaternion'][_0x1e35ca(0xd3)]();if(computeOptimalQuat){const _0x59b7be=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x1e35ca(0xab)),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x1e35ca(0xab))];let _0x5ced2c=-1;for(const _0x832447 of _0x59b7be){const _0x5ad164=new webgpu.Quaternion()[_0x1e35ca(0x129)](_0x832447),_0x2dd1df=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x5ad164),_0x34e9e5=_0x223ce4[_0x1e35ca(0xd3)]()[_0x1e35ca(0xbd)](_0x2dd1df[_0x1e35ca(0x14d)](_0x36f1ec)),_0x2ad18e=this[_0x1e35ca(0xca)]['physics'][_0x1e35ca(0x139)](_0x34e9e5,_0x223ce4,exports.CollisionChannel[_0x1e35ca(0xf6)]);let _0x4c47aa=![],_0x4b89cd=_0x36f1ec;_0x2ad18e&&_0x2ad18e[_0x1e35ca(0x13c)]&&(_0x2ad18e[_0x1e35ca(0x102)]<_0x36f1ec-_0x81d230*1.2&&(_0x4c47aa=!![],_0x4b89cd=_0x2ad18e[_0x1e35ca(0x102)]));if(!_0x4c47aa){_0x5e9aa8=_0x5ad164;break;}else _0x4b89cd>_0x5ced2c&&(_0x5ced2c=_0x4b89cd,_0x5e9aa8=_0x5ad164);}}const _0x5f3cc3=_0x5e9aa8;this[_0x1e35ca(0xad)](_0x223ce4,_0x5f3cc3,_0x36f1ec,_0x13956a,onGoing,onFinished);}else {const _0x5c7d07=_0x455619['length']()*1.5,_0x1bb9f5=new webgpu.Quaternion()[_0x1e35ca(0x10f)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this['focusTo'](_0x223ce4,_0x1bb9f5,_0x5c7d07,_0x13956a,onGoing,onFinished);}}[_0x50374f(0x146)](_0x266b08,_0x3b9b6b,_0x216332={}){const _0x124b6e=_0x50374f,_0x32b27b=new webgpu.Box3()[_0x124b6e(0x12e)](_0x266b08);this[_0x124b6e(0xf5)](_0x32b27b,_0x3b9b6b,_0x216332);}}
|
|
92
|
+
const _0x527762=_0x3f55;(function(_0x314f87,_0x4453db){const _0x148e1a=_0x3f55,_0x718437=_0x314f87();while(!![]){try{const _0x4337fb=-parseInt(_0x148e1a(0x182))/0x1*(parseInt(_0x148e1a(0x16e))/0x2)+parseInt(_0x148e1a(0x125))/0x3+parseInt(_0x148e1a(0x155))/0x4*(-parseInt(_0x148e1a(0x12a))/0x5)+-parseInt(_0x148e1a(0x19a))/0x6+parseInt(_0x148e1a(0x11a))/0x7+parseInt(_0x148e1a(0x16b))/0x8+parseInt(_0x148e1a(0x15d))/0x9;if(_0x4337fb===_0x4453db)break;else _0x718437['push'](_0x718437['shift']());}catch(_0x5a11d2){_0x718437['push'](_0x718437['shift']());}}}(_0x1e67,0x38b46));function _0x3f55(_0x3fe7aa,_0x4468b5){_0x3fe7aa=_0x3fe7aa-0xee;const _0x1e6785=_0x1e67();let _0x3f55aa=_0x1e6785[_0x3fe7aa];return _0x3f55aa;}class Controller{get['camera'](){const _0x307b7a=_0x3f55;return this[_0x307b7a(0x15b)][_0x307b7a(0x145)];}get[_0x527762(0x102)](){const _0x499f63=_0x527762;return this['_app'][_0x499f63(0x102)];}get[_0x527762(0x112)](){const _0x4da458=_0x527762;return this['_app'][_0x4da458(0x158)];}get[_0x527762(0x140)](){return this['_app'];}get[_0x527762(0x164)](){const _0x193a12=_0x527762;if(!this[_0x193a12(0x13c)])throw Error(_0x193a12(0x16c));return this['_pawn'];}get[_0x527762(0x191)](){return this['_onComponentClickDelegate'];}get[_0x527762(0x122)](){const _0x4a0a7d=_0x527762;return this[_0x4a0a7d(0x13b)];}get[_0x527762(0x194)](){const _0x4189a7=_0x527762;return this[_0x4189a7(0x110)];}get[_0x527762(0x143)](){return this['_onComponentHoverEndDelegate'];}get[_0x527762(0x136)](){return this['_onComponentPointerDownDelegate'];}get[_0x527762(0x149)](){const _0x937e2e=_0x527762;return this[_0x937e2e(0x10b)];}get[_0x527762(0x117)](){const _0x178e63=_0x527762;return this[_0x178e63(0x17f)];}get[_0x527762(0x1a0)](){return this['_onActorHoverBeginDelegate'];}get[_0x527762(0x17c)](){const _0x1d9e2b=_0x527762;return this[_0x1d9e2b(0x18f)];}get[_0x527762(0x113)](){const _0x1ce2c6=_0x527762;return this[_0x1ce2c6(0x157)];}get['onPointerDownDelegate'](){const _0x4d8828=_0x527762;return this[_0x4d8828(0x10d)];}get[_0x527762(0x161)](){const _0x13482c=_0x527762;return this[_0x13482c(0x101)];}get[_0x527762(0x105)](){return this['_onPointerMoveDelegate'];}get[_0x527762(0x14c)](){const _0x3353c4=_0x527762;return this[_0x3353c4(0x173)];}get[_0x527762(0x199)](){const _0x277d91=_0x527762;return this[_0x277d91(0x178)];}get[_0x527762(0x111)](){const _0x413dc3=_0x527762;return this[_0x413dc3(0x192)];}get['onKeyUpDelegate'](){return this['_onKeyUpDelegate'];}get[_0x527762(0x115)](){const _0x4b45d=_0x527762;return this[_0x4b45d(0x15c)];}get[_0x527762(0x17e)](){const _0x5afb22=_0x527762;return this[_0x5afb22(0x175)];}get['onWindowBlurDelegate'](){return this['_onWindowBlurDelegate'];}get['onRawClickDelegate'](){const _0x296c85=_0x527762;return this[_0x296c85(0x106)];}constructor(_0x177cb2){const _0x2e0cfb=_0x527762;this[_0x2e0cfb(0x13c)]=null,this[_0x2e0cfb(0x184)]=null,this[_0x2e0cfb(0x116)]=null,this[_0x2e0cfb(0x128)]=null,this[_0x2e0cfb(0x15e)]=null,this[_0x2e0cfb(0x163)]=null,this[_0x2e0cfb(0x121)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this['_pointButtonIsDown']=new Set(),this[_0x2e0cfb(0x10a)]=new Delegate(),this[_0x2e0cfb(0x13b)]=new Delegate(),this['_onComponentHoverBeginDelegate']=new Delegate(),this[_0x2e0cfb(0x156)]=new Delegate(),this['_onComponentPointerDownDelegate']=new Delegate(),this[_0x2e0cfb(0x10b)]=new Delegate(),this[_0x2e0cfb(0x17f)]=new Delegate(),this['_onActorHoverBeginDelegate']=new Delegate(),this[_0x2e0cfb(0x18f)]=new Delegate(),this[_0x2e0cfb(0x157)]=new Delegate(),this[_0x2e0cfb(0x10d)]=new Delegate(),this['_onPointerUpDelegate']=new Delegate(),this[_0x2e0cfb(0x120)]=new Delegate(),this[_0x2e0cfb(0x173)]=new Delegate(),this['_onWheelDelegate']=new Delegate(),this[_0x2e0cfb(0x192)]=new Delegate(),this['_onKeyUpDelegate']=new Delegate(),this[_0x2e0cfb(0x15c)]=new Delegate(),this['_onPointerLockChangeDelegate']=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this[_0x2e0cfb(0x106)]=new Delegate(),this[_0x2e0cfb(0x11f)]=new webgpu.Vector2(),this[_0x2e0cfb(0x138)]=new webgpu.Vector2(),this[_0x2e0cfb(0x147)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x2e0cfb(0x174)]=null,this[_0x2e0cfb(0x126)]=_0x21838d=>this[_0x2e0cfb(0x10f)](_0x21838d),this[_0x2e0cfb(0xfd)]=_0x4e9201=>this[_0x2e0cfb(0x17d)](_0x4e9201),this['onPointerLeave']=_0x3798d1=>this[_0x2e0cfb(0x154)](_0x3798d1),this['onPointerUp']=_0x1a0339=>this[_0x2e0cfb(0x133)](_0x1a0339),this['onPointerDown']=_0x35d455=>this[_0x2e0cfb(0x188)](_0x35d455),this['onPointerCancel']=_0x41e713=>this[_0x2e0cfb(0x14b)](_0x41e713),this[_0x2e0cfb(0x185)]=_0x517e57=>this[_0x2e0cfb(0x19c)](_0x517e57),this[_0x2e0cfb(0xee)]=_0xddf712=>this[_0x2e0cfb(0xf5)](_0xddf712),this['onKeyUp']=_0x3f97c6=>this[_0x2e0cfb(0x139)](_0x3f97c6),this[_0x2e0cfb(0x187)]=_0x4281d4=>this[_0x2e0cfb(0x159)](_0x4281d4),this['onPointerLockChange']=_0x1bb3ed=>this[_0x2e0cfb(0x1a6)](_0x1bb3ed),this[_0x2e0cfb(0x16d)]=_0x4302a7=>this[_0x2e0cfb(0x123)](_0x4302a7),this['onClick']=_0x1074bd=>this['onClickEvent'](_0x1074bd),this[_0x2e0cfb(0x15b)]=_0x177cb2,this[_0x2e0cfb(0x14f)]=new webgpu.Raycaster(),this[_0x2e0cfb(0x144)]();}[_0x527762(0x144)](){const _0x45e0a4=_0x527762;this['_pawn']=new Orbital(this[_0x45e0a4(0x15b)]),this['pawn'][_0x45e0a4(0x177)](),this[_0x45e0a4(0x164)][_0x45e0a4(0x162)]=!![];}[_0x527762(0x189)](){const _0x2445bd=_0x527762,_0x26afb8=this[_0x2445bd(0x112)][_0x2445bd(0x118)];console[_0x2445bd(0x146)](_0x2445bd(0x118),_0x26afb8),_0x26afb8&&(_0x26afb8[_0x2445bd(0x165)](_0x2445bd(0x19e),this[_0x2445bd(0xfd)]),_0x26afb8[_0x2445bd(0x165)](_0x2445bd(0x13d),this['onPointerLeave']),_0x26afb8['addEventListener'](_0x2445bd(0xf8),this['onPointerCancel']),_0x26afb8[_0x2445bd(0x165)]('wheel',this[_0x2445bd(0x185)]),_0x26afb8[_0x2445bd(0x165)]('contextmenu',this[_0x2445bd(0x187)]),_0x26afb8[_0x2445bd(0x165)]('click',this[_0x2445bd(0x127)]),this['addCorePointerListeners']()),document['addEventListener'](_0x2445bd(0x171),this[_0x2445bd(0xf7)]),document[_0x2445bd(0x165)]('keydown',this['onKeyDown']),document[_0x2445bd(0x165)](_0x2445bd(0x1a5),this['onKeyUp']),window[_0x2445bd(0x165)](_0x2445bd(0x141),this[_0x2445bd(0x16d)]),this[_0x2445bd(0x13c)]&&(this['_pawn']['unpossess'](),this[_0x2445bd(0x13c)][_0x2445bd(0x177)]());}[_0x527762(0x104)](){const _0x3c379a=_0x527762;var _0x12c5f8,_0x3217e6;const _0x34f838=this[_0x3c379a(0x164)]['enabled'];(_0x12c5f8=this[_0x3c379a(0x13c)])===null||_0x12c5f8===void 0?void 0:_0x12c5f8[_0x3c379a(0x14a)](),(_0x3217e6=this[_0x3c379a(0x13c)])===null||_0x3217e6===void 0?void 0:_0x3217e6[_0x3c379a(0x13a)](),this[_0x3c379a(0x13c)]=new Orbital(this[_0x3c379a(0x15b)]),this[_0x3c379a(0x164)][_0x3c379a(0x177)](),this['pawn'][_0x3c379a(0x162)]=_0x34f838;}async[_0x527762(0x19b)](_0x1f261c,_0x56a95c){const _0x364ea2=_0x527762;!_0x1f261c[_0x364ea2(0x102)]&&this[_0x364ea2(0x15b)][_0x364ea2(0x102)]['addActor'](_0x1f261c);this['_switchPawnTween']&&(this[_0x364ea2(0x184)][_0x364ea2(0x134)](),this[_0x364ea2(0x184)]=null);const _0x2194ca=this[_0x364ea2(0x13c)];if(_0x2194ca===_0x1f261c)return;if(!_0x56a95c||_0x56a95c<=0x0){_0x2194ca&&(_0x2194ca[_0x364ea2(0x14a)](),_0x2194ca[_0x364ea2(0x162)]=![]);this[_0x364ea2(0x13c)]=_0x1f261c,this[_0x364ea2(0x13c)][_0x364ea2(0x162)]=!![],this[_0x364ea2(0x13c)][_0x364ea2(0x177)]();return;}const _0x417607=this['camera']['position']['clone'](),_0x11e908=this['camera'][_0x364ea2(0x151)][_0x364ea2(0x1a1)]();_0x2194ca&&(_0x2194ca[_0x364ea2(0x14a)](),_0x2194ca[_0x364ea2(0x162)]=![]);const {position:_0x1393bc,quaternion:_0x3a0820}=_0x1f261c[_0x364ea2(0xf6)]();return this['_pawn']=_0x1f261c,this[_0x364ea2(0x13c)][_0x364ea2(0x162)]=![],new Promise(_0x3c698e=>{const _0x50fe7c={'alpha':0x0};this['_switchPawnTween']=gsap.gsap['to'](_0x50fe7c,{'alpha':0x1,'duration':_0x56a95c,'ease':'power2.inOut','onUpdate':()=>{const _0x531705=_0x3f55,_0xd97eb4=_0x50fe7c[_0x531705(0xf2)];this[_0x531705(0x145)][_0x531705(0xf0)][_0x531705(0x124)](_0x417607,_0x1393bc,_0xd97eb4),this['camera'][_0x531705(0x151)][_0x531705(0x150)](_0x11e908,_0x3a0820,_0xd97eb4);},'onComplete':()=>{const _0x12f82c=_0x3f55;this[_0x12f82c(0x184)]=null,this[_0x12f82c(0x13c)]===_0x1f261c&&(this[_0x12f82c(0x13c)][_0x12f82c(0x177)](),this[_0x12f82c(0x13c)]['enabled']=!![]),_0x3c698e();}});});}[_0x527762(0x1a2)](_0x413261){const _0x45d98f=_0x527762;!this[_0x45d98f(0x164)][_0x45d98f(0x102)]&&this[_0x45d98f(0x164)][_0x45d98f(0x1a2)](_0x413261);}[_0x527762(0x13a)](){const _0x1d272=_0x527762;this[_0x1d272(0x11b)](),this[_0x1d272(0x15f)]();const _0xd0aed6=this[_0x1d272(0x112)][_0x1d272(0x118)];_0xd0aed6&&(_0xd0aed6['removeEventListener'](_0x1d272(0x19e),this[_0x1d272(0xfd)]),_0xd0aed6['removeEventListener'](_0x1d272(0x13d),this[_0x1d272(0x170)]),_0xd0aed6['removeEventListener'](_0x1d272(0xf8),this['onPointerCancel']),_0xd0aed6[_0x1d272(0x11c)](_0x1d272(0x130),this[_0x1d272(0x185)]),_0xd0aed6[_0x1d272(0x11c)]('contextmenu',this[_0x1d272(0x187)]),_0xd0aed6[_0x1d272(0x11c)](_0x1d272(0x190),this[_0x1d272(0x127)]),this['removeCorePointerListeners']()),document['removeEventListener'](_0x1d272(0x171),this[_0x1d272(0xf7)]),document[_0x1d272(0x11c)](_0x1d272(0x180),this[_0x1d272(0xee)]),document['removeEventListener'](_0x1d272(0x1a5),this[_0x1d272(0x18c)]),window[_0x1d272(0x11c)]('blur',this[_0x1d272(0x16d)]),this[_0x1d272(0x164)][_0x1d272(0x14a)](),this[_0x1d272(0x164)][_0x1d272(0x13a)](),this[_0x1d272(0x13c)]=null;}[_0x527762(0x10f)](_0xb1287e){const _0x5c63de=_0x527762;var _0x3ae1e2,_0x380292;this['_onPointerMoveDelegate'][_0x5c63de(0x166)](_0xb1287e);const _0x5d1a8d=this[_0x5c63de(0x112)][_0x5c63de(0x118)];if(!_0x5d1a8d)throw Error(_0x5c63de(0x16a));const _0x134e28=_0x5d1a8d['getBoundingClientRect']();this[_0x5c63de(0x11f)][_0x5c63de(0x142)]((_0xb1287e[_0x5c63de(0x181)]-_0x134e28['left'])/_0x5d1a8d[_0x5c63de(0x1aa)]*0x2-0x1,0x1-(_0xb1287e[_0x5c63de(0x18d)]-_0x134e28[_0x5c63de(0x114)])/_0x5d1a8d[_0x5c63de(0x152)]*0x2);if(this[_0x5c63de(0xfe)]['size']>0x0)return;const _0x32d3f9=this[_0x5c63de(0x183)](),_0x29ed21=(_0x3ae1e2=_0x32d3f9===null||_0x32d3f9===void 0?void 0:_0x32d3f9[_0x5c63de(0x169)])!==null&&_0x3ae1e2!==void 0?_0x3ae1e2:null,_0x582e82=(_0x380292=_0x29ed21===null||_0x29ed21===void 0?void 0:_0x29ed21[_0x5c63de(0x148)])!==null&&_0x380292!==void 0?_0x380292:null;_0x29ed21!==this[_0x5c63de(0x116)]&&(this[_0x5c63de(0x116)]&&this[_0x5c63de(0xf3)](this[_0x5c63de(0x116)]),_0x29ed21&&_0x32d3f9&&this[_0x5c63de(0x103)](_0x29ed21,_0x32d3f9[_0x5c63de(0x197)])),_0x582e82!==this[_0x5c63de(0x128)]&&(this[_0x5c63de(0x128)]&&this[_0x5c63de(0x116)]&&this[_0x5c63de(0x19d)](this[_0x5c63de(0x128)],this['hoveringComponent']),_0x582e82&&_0x29ed21&&_0x32d3f9&&this['fireActorHoverBegin'](_0x582e82,_0x29ed21,_0x32d3f9[_0x5c63de(0x197)])),this[_0x5c63de(0x116)]=_0x29ed21,this[_0x5c63de(0x128)]=_0x582e82;}[_0x527762(0x15f)](){const _0x42e7de=_0x527762;this[_0x42e7de(0x116)]&&this[_0x42e7de(0xf3)](this[_0x42e7de(0x116)]),this['hoveringActor']&&this[_0x42e7de(0x116)]&&this[_0x42e7de(0x19d)](this[_0x42e7de(0x128)],this[_0x42e7de(0x116)]),this[_0x42e7de(0x116)]=null,this[_0x42e7de(0x128)]=null;}[_0x527762(0x133)](_0x4159c3){const _0x194e7a=_0x527762;this['_onPointerUpDelegate']['broadcast'](_0x4159c3),this[_0x194e7a(0xfe)]['delete'](_0x4159c3[_0x194e7a(0x15a)]);if(_0x4159c3[_0x194e7a(0x15a)]!==0x0)return;const _0x88d1d9=this[_0x194e7a(0x147)][_0x194e7a(0x198)](this[_0x194e7a(0x138)],this['pointerPosition'])[_0x194e7a(0x1a7)]();if(_0x88d1d9>0.005){this[_0x194e7a(0x11b)]();return;}this[_0x194e7a(0x121)]={'ctrlKey':_0x4159c3['ctrlKey'],'shiftKey':_0x4159c3[_0x194e7a(0x18b)],'altKey':_0x4159c3['altKey']},!this[_0x194e7a(0x174)]?this[_0x194e7a(0x108)]():this[_0x194e7a(0x179)]();}[_0x527762(0x108)](){const _0x25af73=_0x527762,_0x5961e9=this[_0x25af73(0x183)](),_0x3b2ac7=_0x5961e9===null||_0x5961e9===void 0?void 0:_0x5961e9[_0x25af73(0x169)];_0x3b2ac7 instanceof SceneComponent&&_0x5961e9?(this[_0x25af73(0x15e)]=_0x3b2ac7,this['prepareClickHit']=_0x5961e9[_0x25af73(0x197)],this['leftClickTimer']=window[_0x25af73(0x160)](()=>{const _0x569173=_0x25af73;this[_0x569173(0x174)]=null,this[_0x569173(0x15e)]&&this[_0x569173(0x163)]&&(this[_0x569173(0x12f)](this[_0x569173(0x15e)],this[_0x569173(0x163)],![]),this['prepareClickComponent']=null,this[_0x569173(0x163)]=null);},this[_0x25af73(0x107)])):this[_0x25af73(0x157)][_0x25af73(0x166)]();}[_0x527762(0x179)](){const _0x16000a=_0x527762;this['clearClickTimer'](),this['prepareClickComponent']&&this[_0x16000a(0x163)]?this[_0x16000a(0x12f)](this[_0x16000a(0x15e)],this[_0x16000a(0x163)],!![]):this[_0x16000a(0x157)][_0x16000a(0x166)](),this[_0x16000a(0x15e)]=null,this[_0x16000a(0x163)]=null;}[_0x527762(0x188)](_0x2e0b6a){const _0x218d41=_0x527762;this[_0x218d41(0x10d)][_0x218d41(0x166)](_0x2e0b6a),this[_0x218d41(0xfe)][_0x218d41(0x131)](_0x2e0b6a[_0x218d41(0x15a)]);_0x2e0b6a[_0x218d41(0x15a)]===0x0&&this[_0x218d41(0x138)][_0x218d41(0x12b)](this[_0x218d41(0x11f)]);const _0x32435f=this[_0x218d41(0x183)](),_0x18a366=_0x32435f===null||_0x32435f===void 0?void 0:_0x32435f[_0x218d41(0x169)];_0x18a366 instanceof SceneComponent&&_0x32435f&&this['firePointerDownEvent'](_0x18a366,_0x32435f[_0x218d41(0x197)],_0x2e0b6a[_0x218d41(0x15a)]);}[_0x527762(0x17d)](_0x902cf){const _0x24eef5=_0x527762;this[_0x24eef5(0x10c)]();}[_0x527762(0x154)](_0x2560e3){const _0x1d3c8d=_0x527762;this[_0x1d3c8d(0x100)]();}['onPointerCancelEvent'](_0x1062bd){const _0x20b13a=_0x527762;this['_onPointerCancelDelegate'][_0x20b13a(0x166)](_0x1062bd);}[_0x527762(0x19c)](_0x2c5c0d){const _0x1d5e4e=_0x527762;this[_0x1d5e4e(0x178)][_0x1d5e4e(0x166)](_0x2c5c0d);}['onKeyDownEvent'](_0x5bbc95){const _0x3b5910=_0x527762;this['_onKeyDownDelegate'][_0x3b5910(0x166)](_0x5bbc95);}[_0x527762(0x139)](_0x4e1648){const _0x5493c8=_0x527762;this['_onKeyUpDelegate'][_0x5493c8(0x166)](_0x4e1648);}['onContextMenuEvent'](_0x116c8f){const _0x4a1a38=_0x527762;this[_0x4a1a38(0x15c)][_0x4a1a38(0x166)](_0x116c8f);}[_0x527762(0x1a6)](_0x5eaef8){const _0x3e3b5d=_0x527762;this[_0x3e3b5d(0x175)]['broadcast'](_0x5eaef8);}[_0x527762(0x123)](_0x7a46a3){this['_onWindowBlurDelegate']['broadcast'](_0x7a46a3);}[_0x527762(0x195)](_0x35674b){const _0x54d9e2=_0x527762;this[_0x54d9e2(0x106)][_0x54d9e2(0x166)](_0x35674b);}[_0x527762(0x103)](_0x1b10ad,_0x3bb879){const _0x456528=_0x527762,_0x1685b5={'component':_0x1b10ad,'hit':_0x3bb879,'handled':![]};this[_0x456528(0x110)][_0x456528(0x166)](_0x1685b5),!_0x1685b5[_0x456528(0xf4)]&&_0x1b10ad[_0x456528(0x1a4)]();}[_0x527762(0xf3)](_0x554ae0){const _0xb381d8=_0x527762,_0xd399dd={'component':_0x554ae0,'hit':null,'handled':![]};this[_0xb381d8(0x156)][_0xb381d8(0x166)](_0xd399dd),!_0xd399dd['handled']&&_0x554ae0[_0xb381d8(0x1a9)]();}[_0x527762(0x19f)](_0x2d0f27,_0x536c5c,_0x49ff12){const _0x543c1d=_0x527762,_0x215478=Object[_0x543c1d(0x168)]({'component':_0x2d0f27,'hit':_0x536c5c,'handled':![]},this[_0x543c1d(0x121)]);_0x49ff12?(this[_0x543c1d(0x13b)][_0x543c1d(0x166)](_0x215478),!_0x215478[_0x543c1d(0xf4)]&&_0x2d0f27[_0x543c1d(0x132)]()):(this[_0x543c1d(0x10a)]['broadcast'](_0x215478),!_0x215478[_0x543c1d(0xf4)]&&_0x2d0f27[_0x543c1d(0x186)]());}[_0x527762(0xf1)](_0x17db8e,_0x5b0f2f,_0x515d4e){const _0x3154bc=_0x527762,_0x59f694={'component':_0x17db8e,'hit':_0x5b0f2f,'button':_0x515d4e,'handled':![]};this[_0x3154bc(0x18e)][_0x3154bc(0x166)](_0x59f694);}[_0x527762(0x119)](_0x528c95,_0x426edc,_0x38d80d){const _0x4eb758=_0x527762,_0x2a21d6={'actor':_0x528c95,'component':_0x426edc,'hit':_0x38d80d,'handled':![]};this['_onActorHoverBeginDelegate'][_0x4eb758(0x166)](_0x2a21d6),!_0x2a21d6[_0x4eb758(0xf4)]&&_0x528c95['onActorHoverBegin'](_0x426edc);}[_0x527762(0x19d)](_0x1c0826,_0x1b2bf9){const _0x17a845=_0x527762,_0x3ac065={'actor':_0x1c0826,'component':_0x1b2bf9,'hit':null,'handled':![]};this[_0x17a845(0x18f)][_0x17a845(0x166)](_0x3ac065),!_0x3ac065[_0x17a845(0xf4)]&&_0x1c0826[_0x17a845(0x16f)](_0x1b2bf9);}[_0x527762(0x14d)](_0x44fecc,_0x359444,_0x43aaf0,_0x58e1a4){const _0x156311=_0x527762,_0x17882c=Object[_0x156311(0x168)]({'actor':_0x44fecc,'component':_0x359444,'hit':_0x43aaf0,'handled':![]},this[_0x156311(0x121)]);_0x58e1a4?(this[_0x156311(0x17f)][_0x156311(0x166)](_0x17882c),!_0x17882c['handled']&&_0x44fecc[_0x156311(0x13e)](_0x359444)):(this[_0x156311(0x10b)][_0x156311(0x166)](_0x17882c),!_0x17882c[_0x156311(0xf4)]&&_0x44fecc[_0x156311(0x12e)](_0x359444));}[_0x527762(0x12f)](_0x215628,_0x26230d,_0x2c4dbb){const _0x1a56b1=_0x527762;this[_0x1a56b1(0x19f)](_0x215628,_0x26230d,_0x2c4dbb);const _0xf621b0=_0x215628[_0x1a56b1(0x148)];if(_0xf621b0){if(_0xf621b0['isClickEnabled'])this[_0x1a56b1(0x14d)](_0xf621b0,_0x215628,_0x26230d,_0x2c4dbb);}}[_0x527762(0x11b)](){const _0x439dcf=_0x527762;this[_0x439dcf(0x174)]&&(window['clearTimeout'](this[_0x439dcf(0x174)]),this[_0x439dcf(0x174)]=null);}[_0x527762(0x10c)](){const _0x4c91cb=_0x527762,_0x270fdd=this[_0x4c91cb(0x112)][_0x4c91cb(0x118)];if(!_0x270fdd)return;_0x270fdd['addEventListener'](_0x4c91cb(0x10e),this[_0x4c91cb(0x126)]),_0x270fdd[_0x4c91cb(0x165)]('pointerup',this['onPointerUp']),_0x270fdd[_0x4c91cb(0x165)](_0x4c91cb(0x13f),this['onPointerDown']);}[_0x527762(0x100)](){const _0x1cade2=_0x527762,_0x489bc2=this[_0x1cade2(0x112)][_0x1cade2(0x118)];if(!_0x489bc2)return;_0x489bc2[_0x1cade2(0x11c)](_0x1cade2(0x10e),this[_0x1cade2(0x126)]),_0x489bc2['removeEventListener'](_0x1cade2(0xfa),this['onPointerUp']),_0x489bc2[_0x1cade2(0x11c)](_0x1cade2(0x13f),this['onPointerDown']);}[_0x527762(0x183)](_0x47e206=!![]){const _0x2dc781=_0x527762;return this[_0x2dc781(0x167)](this['pointerPosition']['x'],this[_0x2dc781(0x11f)]['y'],_0x47e206);}[_0x527762(0x167)](_0xd070ad,_0x4fa7b0,_0x275848=!![]){const _0x8c08f5=_0x527762;this['_raycastVec2'][_0x8c08f5(0x142)](_0xd070ad,_0x4fa7b0),this[_0x8c08f5(0x14f)][_0x8c08f5(0x14e)](this[_0x8c08f5(0x193)],this['camera']);const _0x5bf204=this[_0x8c08f5(0x17b)](_0xd070ad,_0x4fa7b0);if(!_0x275848)return _0x5bf204[0x0]||null;for(const _0x43709f of _0x5bf204){const _0x586294=_0x43709f['component'][_0x8c08f5(0x11e)]||_0x43709f[_0x8c08f5(0x169)][_0x8c08f5(0x1a3)],_0x232ddc=_0x43709f[_0x8c08f5(0x169)][_0x8c08f5(0x148)],_0x5bbb95=_0x232ddc&&(_0x232ddc[_0x8c08f5(0x11e)]||_0x232ddc[_0x8c08f5(0x1a3)]);if(_0x586294||_0x5bbb95)return _0x43709f;}return null;}[_0x527762(0x1a8)](_0x4e2269=!![]){const _0x4e74da=_0x527762;return this[_0x4e74da(0x17b)](this['pointerPosition']['x'],this[_0x4e74da(0x11f)]['y']);}[_0x527762(0x17b)](_0x4d2fd6,_0xf87f7f){const _0x526647=_0x527762;this['_raycastVec2']['set'](_0x4d2fd6,_0xf87f7f),this[_0x526647(0x14f)]['setFromCamera'](this[_0x526647(0x193)],this['camera']);const _0x5568cc=this[_0x526647(0x14f)][_0x526647(0xff)][_0x526647(0x135)],_0x5a16e0=this['raycaster'][_0x526647(0xff)]['at'](0x2710,new webgpu.Vector3()),_0x460482=this[_0x526647(0x102)][_0x526647(0x176)]['lineTraceMulti'](_0x5568cc,_0x5a16e0,exports.CollisionChannel[_0x526647(0x109)]),_0x1234a8=[];for(const _0x2e444e of _0x460482){if(!_0x2e444e['collider']||!_0x2e444e[_0x526647(0xfb)][_0x526647(0x129)])continue;if(this['camera']instanceof webgpu.PerspectiveCamera&&_0x2e444e[_0x526647(0x12c)]<this[_0x526647(0x145)]['near'])continue;const _0xfb0510={'distance':_0x2e444e[_0x526647(0x12c)],'point':_0x2e444e['point'],'object':_0x2e444e[_0x526647(0xfb)][_0x526647(0x129)],'uv':new webgpu.Vector2(0x0,0x0)};_0x1234a8['push']({'component':_0x2e444e['collider'],'hit':_0xfb0510});if(_0x2e444e['blocking'])break;}return _0x1234a8;}[_0x527762(0x17a)](_0x512d0f,_0xe1bba9,_0x123380,_0x8233f8,_0x4e382f=null,_0x17ff94=null){const _0x33bbc6=_0x527762;this[_0x33bbc6(0x164)][_0x33bbc6(0x17a)](_0x512d0f,_0xe1bba9,_0x123380,_0x8233f8,_0x4e382f,_0x17ff94);}[_0x527762(0x11d)](_0x572412,_0x4d957c,_0x346f57={}){const _0x47386c=_0x527762,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x47386c(0x12d)](0.5)}=_0x346f57,_0x5b5bd3=new webgpu.Vector3(),_0x4b65df=new webgpu.Vector3();_0x572412['getCenter'](_0x5b5bd3),_0x572412[_0x47386c(0xef)](_0x4b65df);const _0x1c457d=this[_0x47386c(0x140)][_0x47386c(0x145)];if(_0x1c457d&&_0x1c457d[_0x47386c(0x172)]){const _0x4c16f6=_0x1c457d['fov']*(Math['PI']/0xb4),_0xa295=_0x4b65df[_0x47386c(0x1a7)]()*0.5,_0x22f40a=Math['max'](_0xa295/targetScreenRatio/Math['tan'](_0x4c16f6/0x2),_0x1c457d[_0x47386c(0x196)]*0x2);let _0x67f7a9=_0x1c457d[_0x47386c(0x151)][_0x47386c(0x1a1)]();if(computeOptimalQuat){const _0x156ba5=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x6,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x47386c(0x18a)),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x47386c(0x18a))];let _0xd440b5=-1;for(const _0x56545b of _0x156ba5){const _0x174fc9=new webgpu.Quaternion()[_0x47386c(0xf9)](_0x56545b),_0x2e1b97=new webgpu.Vector3(0x0,0x0,0x1)[_0x47386c(0xfc)](_0x174fc9),_0x19d616=_0x5b5bd3['clone']()[_0x47386c(0x131)](_0x2e1b97['multiplyScalar'](_0x22f40a)),_0x3f8dbb=this[_0x47386c(0x102)][_0x47386c(0x176)][_0x47386c(0x153)](_0x19d616,_0x5b5bd3,exports.CollisionChannel['Visibility']);let _0x5b8e79=![],_0x11abb4=_0x22f40a;_0x3f8dbb&&_0x3f8dbb[_0x47386c(0x137)]&&(_0x3f8dbb[_0x47386c(0x12c)]<_0x22f40a-_0xa295*1.2&&(_0x5b8e79=!![],_0x11abb4=_0x3f8dbb[_0x47386c(0x12c)]));if(!_0x5b8e79){_0x67f7a9=_0x174fc9;break;}else _0x11abb4>_0xd440b5&&(_0xd440b5=_0x11abb4,_0x67f7a9=_0x174fc9);}}const _0x1bbb2b=_0x67f7a9;this[_0x47386c(0x17a)](_0x5b5bd3,_0x1bbb2b,_0x22f40a,_0x4d957c,onGoing,onFinished);}else {const _0x30c54e=_0x4b65df[_0x47386c(0x1a7)]()*1.5,_0x190e43=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x47386c(0x17a)](_0x5b5bd3,_0x190e43,_0x30c54e,_0x4d957c,onGoing,onFinished);}}['focusToObject'](_0xc99a21,_0x48ebf6,_0x162d5b={}){const _0x421e93=new webgpu.Box3()['setFromObject'](_0xc99a21);this['focusToBounds'](_0x421e93,_0x48ebf6,_0x162d5b);}}function _0x1e67(){const _0x92e4be=['assign','component','canvas\x20is\x20null','1570384yrvziB','pawn\x20is\x20null','onWindowBlur','21984AqkMwh','onActorHoverEnd','onPointerLeave','pointerlockchange','isPerspectiveCamera','_onPointerCancelDelegate','leftClickTimer','_onPointerLockChangeDelegate','physics','possess','_onWheelDelegate','handleDoubleClick','focusTo','getAllHitResultFromScreenPoint','onActorHoverEndDelegate','onPointerEnterEvent','onPointerLockChangeDelegate','_onActorDoubleClickDelegate','keydown','clientX','4MiNsmI','getHitResultUnderCursor','_switchPawnTween','onWheel','onClicked','onContextMenu','onPointerDownEvent','init','YXZ','shiftKey','onKeyUp','clientY','_onComponentPointerDownDelegate','_onActorHoverEndDelegate','click','onComponentClickDelegate','_onKeyDownDelegate','_raycastVec2','onComponentHoverBeginDelegate','onClickEvent','near','hit','subVectors','onWheelDelegate','1021014MVXoUi','switchPawn','onWheelEvent','fireActorHoverEnd','pointerenter','fireComponentClick','onActorHoverBeginDelegate','clone','tick','isClickEnabled','onHorveringBegin','keyup','onPointerLockChangeEvent','length','getAllHitResultUnderCursor','onHorveringEnd','clientWidth','onKeyDown','getSize','position','firePointerDownEvent','alpha','fireComponentHoverEnd','handled','onKeyDownEvent','getTargetCameraState','onPointerLockChange','pointercancel','setFromEuler','pointerup','collider','applyQuaternion','onPointerEnter','_pointButtonIsDown','ray','removeCorePointerListeners','_onPointerUpDelegate','world','fireComponentHoverBegin','updateCamera','onPointerMoveDelegate','_onRawClickDelegate','doubleClickDelay','handleFirstClick','Visibility','_onComponentClickDelegate','_onActorClickDelegate','addCorePointerListeners','_onPointerDownDelegate','pointermove','onPointerMoveEvent','_onComponentHoverBeginDelegate','onKeyDownDelegate','viewPort','onClickNothingDelegate','top','onContextMenuDelegate','hoveringComponent','onActorDoubleClickDelegate','canvas','fireActorHoverBegin','251370CnjoOg','clearClickTimer','removeEventListener','focusToBounds','isHoverEnabled','pointerPosition','_onPointerMoveDelegate','prepareClickModifiers','onComponentDoubleClickDelegate','onWindowBlurEvent','lerpVectors','751083BKeVWu','onPointerMove','onClick','hoveringActor','threeObject','35etnIMD','copy','distance','sqrt','onActorClick','fireClickEvents','wheel','add','onDoubleClicked','onPointerUpEvent','kill','origin','onComponentPointerDownDelegate','blocking','pointerLeftDownPosition','onKeyUpEvent','destroy','_onComponentDoubleClickDelegate','_pawn','pointerleave','onActorDoubleClick','pointerdown','app','blur','set','onComponentHoverEndDelegate','createInitialPawn','camera','log','_tempVec2','parentActor','onActorClickDelegate','unpossess','onPointerCancelEvent','onPointerCancelDelegate','fireActorClick','setFromCamera','raycaster','slerpQuaternions','quaternion','clientHeight','lineTraceSingle','onPointerLeaveEvent','99172kiJtIR','_onComponentHoverEndDelegate','_onClickNothingDelegate','viewport','onContextMenuEvent','button','_app','_onContextMenuDelegate','1236429WsxGPG','prepareClickComponent','clearHovering','setTimeout','onPointerUpDelegate','enabled','prepareClickHit','pawn','addEventListener','broadcast','getHitResultFromScreenPoint'];_0x1e67=function(){return _0x92e4be;};return _0x1e67();}
|
|
93
93
|
|
|
94
|
-
const
|
|
94
|
+
const _0x4e8d68=_0x12d1;(function(_0x2ad0e5,_0x3dc9c9){const _0x1f365c=_0x12d1,_0x2cbccb=_0x2ad0e5();while(!![]){try{const _0x5644a6=-parseInt(_0x1f365c(0x1ee))/0x1+parseInt(_0x1f365c(0x1f5))/0x2+-parseInt(_0x1f365c(0x1eb))/0x3*(-parseInt(_0x1f365c(0x1f6))/0x4)+-parseInt(_0x1f365c(0x202))/0x5+-parseInt(_0x1f365c(0x200))/0x6+parseInt(_0x1f365c(0x1ff))/0x7+parseInt(_0x1f365c(0x1fc))/0x8*(-parseInt(_0x1f365c(0x1fb))/0x9);if(_0x5644a6===_0x3dc9c9)break;else _0x2cbccb['push'](_0x2cbccb['shift']());}catch(_0x19baba){_0x2cbccb['push'](_0x2cbccb['shift']());}}}(_0x4432,0x58b6a));class CameraFactory{static[_0x4e8d68(0x1f0)](_0x21979b){const _0x515a0e=_0x4e8d68;try{switch(_0x21979b[_0x515a0e(0x1f4)]){case _0x515a0e(0x203):{let _0x61edf2=_0x21979b;return new webgpu.PerspectiveCamera(_0x61edf2[_0x515a0e(0x1f3)],_0x61edf2[_0x515a0e(0x1f2)],_0x61edf2[_0x515a0e(0x1f9)],_0x61edf2[_0x515a0e(0x201)]);}case _0x515a0e(0x1fd):{let _0x32e3fc=_0x21979b;return new webgpu.OrthographicCamera(_0x32e3fc[_0x515a0e(0x1ec)],_0x32e3fc['right'],_0x32e3fc[_0x515a0e(0x1fe)],_0x32e3fc[_0x515a0e(0x1fa)],_0x32e3fc[_0x515a0e(0x1f9)],_0x32e3fc[_0x515a0e(0x201)]);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x135274){return console[_0x515a0e(0x1f7)](_0x515a0e(0x1ef),_0x135274),console['warn']('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static['updataCamera'](_0x2cd46f,_0x5ac241){const _0x4c8ff2=_0x4e8d68;try{switch(_0x2cd46f[_0x4c8ff2(0x1f4)]){case _0x4c8ff2(0x203):{let _0x38dbed=_0x2cd46f;if(_0x5ac241 instanceof webgpu.PerspectiveCamera)return _0x5ac241[_0x4c8ff2(0x1f9)]=_0x38dbed[_0x4c8ff2(0x1f9)],_0x5ac241[_0x4c8ff2(0x201)]=_0x38dbed[_0x4c8ff2(0x201)],_0x5ac241['fov']=_0x38dbed[_0x4c8ff2(0x1f3)],_0x5ac241[_0x4c8ff2(0x1f2)]=_0x38dbed[_0x4c8ff2(0x1f2)],_0x5ac241;return new webgpu.PerspectiveCamera(_0x38dbed['fov'],_0x38dbed[_0x4c8ff2(0x1f2)],_0x38dbed[_0x4c8ff2(0x1f9)],_0x38dbed['far']);}case _0x4c8ff2(0x1fd):{let _0x2d53ac=_0x2cd46f;if(_0x5ac241 instanceof webgpu.OrthographicCamera)return _0x5ac241[_0x4c8ff2(0x1f9)]=_0x2d53ac[_0x4c8ff2(0x1f9)],_0x5ac241[_0x4c8ff2(0x201)]=_0x2d53ac[_0x4c8ff2(0x201)],_0x5ac241[_0x4c8ff2(0x1ec)]=_0x2d53ac[_0x4c8ff2(0x1ec)],_0x5ac241[_0x4c8ff2(0x1f8)]=_0x2d53ac[_0x4c8ff2(0x1f8)],_0x5ac241['top']=_0x2d53ac[_0x4c8ff2(0x1fe)],_0x5ac241[_0x4c8ff2(0x1fa)]=_0x2d53ac[_0x4c8ff2(0x1fa)],_0x5ac241;return new webgpu.OrthographicCamera(_0x2d53ac[_0x4c8ff2(0x1ec)],_0x2d53ac[_0x4c8ff2(0x1f8)],_0x2d53ac['top'],_0x2d53ac[_0x4c8ff2(0x1fa)],_0x2d53ac[_0x4c8ff2(0x1f9)],_0x2d53ac[_0x4c8ff2(0x201)]);}default:{throw new Error(_0x4c8ff2(0x1ed));}}}catch(_0x11bd4f){return console[_0x4c8ff2(0x1f7)]('[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20',_0x11bd4f),console['warn'](_0x4c8ff2(0x1f1)),_0x5ac241;}}}function _0x12d1(_0x28d01a,_0x96d33c){_0x28d01a=_0x28d01a-0x1eb;const _0x443263=_0x4432();let _0x12d1ce=_0x443263[_0x28d01a];return _0x12d1ce;}function _0x4432(){const _0x1b40f4=['createCamera','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','aspect','fov','type','1342446jCzJoT','4qnOrEi','warn','right','near','bottom','145701QYBNpa','152zIZAuc','Orthographic','top','2246006JKTczn','489684AwGoFx','far','1087895rkvcRj','Perspective','33597NNAmxI','left','Invalid\x20camera\x20type','33126VVFreN','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20'];_0x4432=function(){return _0x1b40f4;};return _0x4432();}
|
|
95
95
|
|
|
96
|
-
const
|
|
96
|
+
function _0x4bbd(){const _0x210f4a=['523824wzAeLw','351YXtnku','1661KhZJgX','Orthographic','Perspective','parse','150dHgVzp','20sJzgId','48189AimzdA','91567kkRlKt','stringify','48SVjDlq','75396yiyYrW','181432UWkzra','195200IRyrfb','105190mUgQSR'];_0x4bbd=function(){return _0x210f4a;};return _0x4bbd();}function _0x1a5d(_0x2de8f4,_0x486fb5){_0x2de8f4=_0x2de8f4-0x123;const _0x4bbde5=_0x4bbd();let _0x1a5d76=_0x4bbde5[_0x2de8f4];return _0x1a5d76;}const _0x3b0e1a=_0x1a5d;(function(_0x4d2128,_0x294320){const _0x56d3bf=_0x1a5d,_0xbd7a45=_0x4d2128();while(!![]){try{const _0x140254=parseInt(_0x56d3bf(0x129))/0x1+parseInt(_0x56d3bf(0x126))/0x2*(parseInt(_0x56d3bf(0x123))/0x3)+parseInt(_0x56d3bf(0x128))/0x4*(-parseInt(_0x56d3bf(0x132))/0x5)+parseInt(_0x56d3bf(0x131))/0x6*(parseInt(_0x56d3bf(0x124))/0x7)+parseInt(_0x56d3bf(0x12b))/0x8+parseInt(_0x56d3bf(0x12c))/0x9*(parseInt(_0x56d3bf(0x12a))/0xa)+parseInt(_0x56d3bf(0x12d))/0xb*(-parseInt(_0x56d3bf(0x127))/0xc);if(_0x140254===_0x294320)break;else _0xbd7a45['push'](_0xbd7a45['shift']());}catch(_0x5a8cc1){_0xbd7a45['push'](_0xbd7a45['shift']());}}}(_0x4bbd,0x3dd6b));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x3b0e1a(0x12f),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x3b0e1a(0x12e),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x3b0e1a(0x130)](JSON[_0x3b0e1a(0x125)](DefaultPerspectiveCameraParam));
|
|
97
97
|
|
|
98
|
-
(function(
|
|
98
|
+
(function(_0x13b4e8,_0x180728){const _0x5a5fa9=_0x2dff,_0x5e18f5=_0x13b4e8();while(!![]){try{const _0x41c6c2=parseInt(_0x5a5fa9(0x1d2))/0x1+-parseInt(_0x5a5fa9(0x1cf))/0x2*(parseInt(_0x5a5fa9(0x1d0))/0x3)+-parseInt(_0x5a5fa9(0x1cd))/0x4*(parseInt(_0x5a5fa9(0x1d1))/0x5)+-parseInt(_0x5a5fa9(0x1d4))/0x6*(parseInt(_0x5a5fa9(0x1d6))/0x7)+parseInt(_0x5a5fa9(0x1ce))/0x8+parseInt(_0x5a5fa9(0x1d5))/0x9*(-parseInt(_0x5a5fa9(0x1d3))/0xa)+parseInt(_0x5a5fa9(0x1d7))/0xb;if(_0x41c6c2===_0x180728)break;else _0x5e18f5['push'](_0x5e18f5['shift']());}catch(_0x4d0706){_0x5e18f5['push'](_0x5e18f5['shift']());}}}(_0x24bf,0xec613));function _0x24bf(){const _0x8c5073=['2EWzFaW','1505814ujrcth','242355quesMP','1255590nrjguy','200jrzumb','617772xXAlvP','523332ePJxaa','7CYZlAT','22937585edvkfO','../../AssetManagement/AssetManager','76FWHsQT','2529560xbWGHz'];_0x24bf=function(){return _0x8c5073;};return _0x24bf();}function _0x2dff(_0x2cd2cf,_0x3c028f){_0x2cd2cf=_0x2cd2cf-0x1cc;const _0x24bfc1=_0x24bf();let _0x2dff37=_0x24bfc1[_0x2cd2cf];return _0x2dff37;}let _defaultAppParam=null;function getDefaultAppParam(){const _0x2ae073=_0x2dff;if(!_defaultAppParam){const {AssetManager:_0x550566}=require(_0x2ae073(0x1cc));_defaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':_0x550566,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};}return _defaultAppParam;}const DefaultAppParam=new Proxy({},{'get'(_0xae410b,_0x34c57d){const _0x21ed9e=getDefaultAppParam();return _0x21ed9e[_0x34c57d];}});
|
|
99
99
|
|
|
100
|
-
const
|
|
100
|
+
function _0x3423(_0x491fa3,_0x269864){_0x491fa3=_0x491fa3-0xf0;const _0x45759d=_0x4575();let _0x342339=_0x45759d[_0x491fa3];return _0x342339;}const _0x33d70b=_0x3423;(function(_0x362139,_0x460fe9){const _0x4fffb3=_0x3423,_0x290704=_0x362139();while(!![]){try{const _0x39f56b=-parseInt(_0x4fffb3(0xf1))/0x1*(parseInt(_0x4fffb3(0x106))/0x2)+parseInt(_0x4fffb3(0xfc))/0x3+parseInt(_0x4fffb3(0xf9))/0x4+-parseInt(_0x4fffb3(0xfe))/0x5+parseInt(_0x4fffb3(0xf4))/0x6+-parseInt(_0x4fffb3(0x105))/0x7+parseInt(_0x4fffb3(0xf6))/0x8;if(_0x39f56b===_0x460fe9)break;else _0x290704['push'](_0x290704['shift']());}catch(_0x311789){_0x290704['push'](_0x290704['shift']());}}}(_0x4575,0x857a8));function _0x4575(){const _0x444e3a=['isBufferGeometry','386471PcWAQS','geometry','add','964620MgFyQR','material','5718552tCxqQm','isScene','isTexture','2955932WKejWm','isObject3D','has','507NAYzFD','children','1481345GHPRiT','forEach','keys','isArray','dispose','disposeMaterialTextures','source','2696911suQFLA','2bVmkdr','disposeMeshResource'];_0x4575=function(){return _0x444e3a;};return _0x4575();}class ThreeObjectLibrary{static[_0x33d70b(0x103)](_0x121415){const _0x2bb687=_0x33d70b,_0x27aec6=new Set(),_0x15a2db=new Set(['parent','children',_0x2bb687(0xf2),_0x2bb687(0x104)]),_0x5708b2=_0x4882e5=>{const _0x64f898=_0x2bb687;if(!_0x4882e5||typeof _0x4882e5!=='object'||_0x27aec6[_0x64f898(0xfb)](_0x4882e5))return;if(_0x4882e5[_0x64f898(0xfa)]||_0x4882e5[_0x64f898(0xf7)]||_0x4882e5['isMesh']||_0x4882e5[_0x64f898(0xf0)])return;_0x27aec6[_0x64f898(0xf3)](_0x4882e5);if(_0x64f898(0xf8)in _0x4882e5){_0x4882e5[_0x64f898(0x102)]();return;}Object[_0x64f898(0x100)](_0x4882e5)[_0x64f898(0xff)](_0x199ffc=>{const _0x25d23e=_0x64f898;if(_0x15a2db[_0x25d23e(0xfb)](_0x199ffc))return;_0x5708b2(_0x4882e5[_0x199ffc]);});};Object[_0x2bb687(0x100)](_0x121415)['forEach'](_0x2d3d80=>{_0x5708b2(_0x121415[_0x2d3d80]);});}static['disposeMeshMaterial'](_0x32a737){const _0x137f29=_0x33d70b;let _0x501cd3=Array[_0x137f29(0x101)](_0x32a737[_0x137f29(0xf5)])?_0x32a737['material']:[_0x32a737[_0x137f29(0xf5)]];_0x501cd3['forEach'](_0x2788bf=>{const _0x50efcb=_0x137f29;ThreeObjectLibrary['disposeMaterialTextures'](_0x2788bf),_0x2788bf[_0x50efcb(0x102)]();});}static['disposeMeshResource'](_0x5516f1,_0x1dbf77=![]){const _0x54b7c2=_0x33d70b;ThreeObjectLibrary['disposeMeshMaterial'](_0x5516f1),_0x5516f1[_0x54b7c2(0xf2)]['dispose'](),_0x1dbf77&&_0x5516f1[_0x54b7c2(0xfd)]['forEach'](_0x57f762=>{const _0x206e01=_0x54b7c2;_0x57f762 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x206e01(0x107)](_0x57f762,!![]);});}static['disposeObject3DResource'](_0x1389a6){_0x1389a6['traverse'](_0x286cda=>{const _0x52c75f=_0x3423;_0x286cda instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x52c75f(0x107)](_0x286cda);});}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _0x86e440=_0x58bd;(function(_0x40558a,_0x12a1e2){var _0x1efb90=_0x58bd,_0x1e0322=_0x40558a();while(!![]){try{var _0x48fc6f=parseInt(_0x1efb90(0xb9))/0x1+-parseInt(_0x1efb90(0xb4))/0x2*(parseInt(_0x1efb90(0xb1))/0x3)+parseInt(_0x1efb90(0xba))/0x4+-parseInt(_0x1efb90(0xb3))/0x5*(parseInt(_0x1efb90(0xaf))/0x6)+parseInt(_0x1efb90(0xbb))/0x7*(-parseInt(_0x1efb90(0xbc))/0x8)+parseInt(_0x1efb90(0xae))/0x9+-parseInt(_0x1efb90(0xb6))/0xa*(parseInt(_0x1efb90(0xb8))/0xb);if(_0x48fc6f===_0x12a1e2)break;else _0x1e0322['push'](_0x1e0322['shift']());}catch(_0x2718d2){_0x1e0322['push'](_0x1e0322['shift']());}}}(_0x210c,0x6df8b));function _0x58bd(_0x4d3f6d,_0x2d63cb){_0x4d3f6d=_0x4d3f6d-0xad;var _0x210c45=_0x210c();var _0x58bd2f=_0x210c45[_0x4d3f6d];return _0x58bd2f;}function _0x210c(){var _0x22ac99=['857649maXeIJ','2891280xvIfqw','3602613GhgxFI','8FhIEfu','obj','7298226emIEeD','381894qwqohc','userData','9JiprXI','three\x20object\x20is\x20invalid','15TyDQzC','202966aBjnQw','LYObject','8130lcxPrr','threeObject','12595xtYMrd'];_0x210c=function(){return _0x22ac99;};return _0x210c();}class LevelComponent extends SceneComponent{get['threeObject'](){var _0x5b62cf=_0x58bd;if(!this[_0x5b62cf(0xad)])throw Error(_0x5b62cf(0xb2));return this[_0x5b62cf(0xad)];}set[_0x86e440(0xb7)](_0x430232){var _0x3c050e=_0x86e440;this[_0x3c050e(0xad)]=_0x430232,this['obj']&&(this[_0x3c050e(0xad)][_0x3c050e(0xb0)][_0x3c050e(0xb5)]=this);}constructor(_0x33bb45,_0x5f4f0f){super(_0x33bb45,_0x5f4f0f);}['createDefaultObject'](){return new three.Scene();}}
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
var _0x385520=_0xea73;(function(_0x373c4a,_0x4ed3fa){var _0x5349b4=_0xea73,_0x4b452a=_0x373c4a();while(!![]){try{var _0x38e6f0=parseInt(_0x5349b4(0x15b))/0x1+-parseInt(_0x5349b4(0x166))/0x2+parseInt(_0x5349b4(0x15a))/0x3*(parseInt(_0x5349b4(0x158))/0x4)+parseInt(_0x5349b4(0x15e))/0x5+parseInt(_0x5349b4(0x157))/0x6+parseInt(_0x5349b4(0x165))/0x7+-parseInt(_0x5349b4(0x16a))/0x8;if(_0x38e6f0===_0x4ed3fa)break;else _0x4b452a['push'](_0x4b452a['shift']());}catch(_0x4268f4){_0x4b452a['push'](_0x4b452a['shift']());}}}(_0x251d,0xcfef1));function _0x251d(){var _0x12522d=['destroy','constructRootComponent','isTickEnabled','uuid','rootComponent','460299yvMahd','748208TUdaQF','threeObject','clearLevel','_scene','27959864YYnJJQ','traverse','scene','8258304WphGEa','4aXHBVT','disposeMeshResource','1217169myvivU','1317762urRDVc','tick','forEach','7775790arJVkH','scene\x20is\x20null'];_0x251d=function(){return _0x12522d;};return _0x251d();}function _0xea73(_0x38ea9b,_0x4ef8cf){_0x38ea9b=_0x38ea9b-0x157;var _0x251dd4=_0x251d();var _0xea7386=_0x251dd4[_0x38ea9b];return _0xea7386;}class LevelActor extends Actor{get[_0x385520(0x16c)](){var _0x4f68c6=_0x385520;if(!this[_0x4f68c6(0x169)])throw new Error(_0x4f68c6(0x15f));return this['_scene'];}constructor(_0x4190c2,_0x1e7ecc){var _0x4738f9=_0x385520;super(_0x4190c2,_0x1e7ecc),this['_scene']=null,this[_0x4738f9(0x169)]=this[_0x4738f9(0x164)][_0x4738f9(0x167)],this[_0x4738f9(0x162)]=![];}[_0x385520(0x161)](){var _0x2641de=_0x385520;return new LevelComponent(this['app'],this[_0x2641de(0x163)]);}['tick'](_0x51ff63){var _0x37425e=_0x385520;if(!this['isTickEnabled'])return;super[_0x37425e(0x15c)](_0x51ff63);}['destroy'](){var _0x15ee68=_0x385520;this[_0x15ee68(0x168)](),super[_0x15ee68(0x160)]();}['clearLevel'](){var _0x1c0c10=_0x385520;this['childActors'][_0x1c0c10(0x15d)](_0x17eb12=>{var _0x534d1c=_0x1c0c10;_0x17eb12[_0x534d1c(0x160)]();}),this[_0x1c0c10(0x16c)][_0x1c0c10(0x16b)](_0x3ebed7=>{var _0x5af80d=_0x1c0c10;_0x3ebed7 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x5af80d(0x159)](_0x3ebed7);});}}
|
|
105
105
|
|
|
106
|
-
(function(
|
|
106
|
+
function _0x24ba(_0x526cea,_0xa3c537){_0x526cea=_0x526cea-0x1eb;const _0x1bc3c1=_0x1bc3();let _0x24ba80=_0x1bc3c1[_0x526cea];return _0x24ba80;}(function(_0x17f156,_0x731801){const _0xe02a3f=_0x24ba,_0x192906=_0x17f156();while(!![]){try{const _0x3734dc=-parseInt(_0xe02a3f(0x1f0))/0x1+-parseInt(_0xe02a3f(0x1ed))/0x2+-parseInt(_0xe02a3f(0x1eb))/0x3+-parseInt(_0xe02a3f(0x1ec))/0x4+parseInt(_0xe02a3f(0x1ef))/0x5+-parseInt(_0xe02a3f(0x1f2))/0x6*(parseInt(_0xe02a3f(0x1f3))/0x7)+-parseInt(_0xe02a3f(0x1ee))/0x8*(-parseInt(_0xe02a3f(0x1f1))/0x9);if(_0x3734dc===_0x731801)break;else _0x192906['push'](_0x192906['shift']());}catch(_0x4ed552){_0x192906['push'](_0x192906['shift']());}}}(_0x1bc3,0x9cbfe));function _0x1bc3(){const _0x1d146f=['824100zOwAFZ','400451kdIJgx','312804xlTeeR','6JXuOgd','2762739WTJcRg','209802PcvAHf','2431512gWarkB','409412rcUpPR','496ShbNtm'];_0x1bc3=function(){return _0x1d146f;};return _0x1bc3();}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
107
107
|
|
|
108
|
-
const
|
|
108
|
+
const _0xe074a9=_0x32a4;function _0x32a4(_0x4ee208,_0x23c47e){_0x4ee208=_0x4ee208-0x1e3;const _0x553108=_0x5531();let _0x32a4fb=_0x553108[_0x4ee208];return _0x32a4fb;}(function(_0x57de13,_0x38e0e2){const _0x3d1307=_0x32a4,_0x56724f=_0x57de13();while(!![]){try{const _0x59627d=parseInt(_0x3d1307(0x21b))/0x1*(-parseInt(_0x3d1307(0x1f9))/0x2)+parseInt(_0x3d1307(0x1fb))/0x3*(parseInt(_0x3d1307(0x1fc))/0x4)+parseInt(_0x3d1307(0x1ed))/0x5*(parseInt(_0x3d1307(0x1f4))/0x6)+-parseInt(_0x3d1307(0x20a))/0x7*(-parseInt(_0x3d1307(0x1e4))/0x8)+parseInt(_0x3d1307(0x1e8))/0x9+-parseInt(_0x3d1307(0x211))/0xa*(-parseInt(_0x3d1307(0x213))/0xb)+-parseInt(_0x3d1307(0x1f1))/0xc;if(_0x59627d===_0x38e0e2)break;else _0x56724f['push'](_0x56724f['shift']());}catch(_0x53af2f){_0x56724f['push'](_0x56724f['shift']());}}}(_0x5531,0xc7439));function _0x5531(){const _0x3b577e=['dracoPath','307109NdkhRo','clear','renderAsImage','addTickingFunction','camera','init','setTickPaused','controller','52rGKSbT','viewportParam','12435976Pvfdua','assetManagerClass','updateCamera','removeTickingFunction','2742570GBmHZv','world','_world','AssetManager','postConstruct','5yQYktA','render','viewport','_assetManager','10065888IziQPG','aspect','forEach','2152416heqbPl','controllerClass','clock','tick','worldParam','41254cctTtI','_camera','1026408BDONZM','4DZKSeD','_onCameraChangedDelegate','setAnimationLoop','updateProjectionMatrix','onWindowResize','dispose','_tickingFunctions','_controller','_clock','cameraParam','onCameraChangedDelegate','markRenderStateDirty','splice','broadcast','7AfREjF','push','_isTickPaused','log','destroy','indexOf','_viewport','60giDTAf'];_0x5531=function(){return _0x3b577e;};return _0x5531();}let _AssetManagerClass=null;function getAssetManagerClass(){const _0x3683d2=_0x32a4;if(!_AssetManagerClass){const _0x5e7fd4=require('./AssetManagement/AssetManager');_AssetManagerClass=_0x5e7fd4[_0x3683d2(0x1eb)];}return _AssetManagerClass;}class ThreeJsApp{get[_0xe074a9(0x217)](){return this['_camera'];}get[_0xe074a9(0x1f6)](){const _0x1ee3ef=_0xe074a9;return this[_0x1ee3ef(0x204)];}get[_0xe074a9(0x1e9)](){const _0x5e8d21=_0xe074a9;return this[_0x5e8d21(0x1ea)];}get[_0xe074a9(0x1ef)](){const _0x3d7027=_0xe074a9;return this[_0x3d7027(0x210)];}get[_0xe074a9(0x21a)](){const _0xdc43c9=_0xe074a9;return this[_0xdc43c9(0x203)];}get['assetManager'](){const _0x8791d4=_0xe074a9;return this[_0x8791d4(0x1f0)];}get[_0xe074a9(0x206)](){const _0x39cfac=_0xe074a9;return this[_0x39cfac(0x1fd)];}constructor(_0x3f3a5c=DefaultAppParam){const _0x42d6c3=_0xe074a9;var _0xc6c577,_0x3c07dc,_0x19a2e4,_0x3ebe10;this[_0x42d6c3(0x202)]=[],this[_0x42d6c3(0x20c)]=![],this[_0x42d6c3(0x1fd)]=new Delegate();const _0x38fe8b=(_0xc6c577=_0x3f3a5c[_0x42d6c3(0x205)])!==null&&_0xc6c577!==void 0?_0xc6c577:DefaultCameraParam,_0x4244c5=(_0x3c07dc=_0x3f3a5c[_0x42d6c3(0x1f8)])!==null&&_0x3c07dc!==void 0?_0x3c07dc:DefaultWorldParam,_0x2a73f4=(_0x19a2e4=_0x3f3a5c[_0x42d6c3(0x1e3)])!==null&&_0x19a2e4!==void 0?_0x19a2e4:DefaultViewportParam,_0x2b8573=(_0x3ebe10=_0x3f3a5c['classes'])!==null&&_0x3ebe10!==void 0?_0x3ebe10:{'assetManagerClass':getAssetManagerClass(),'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x42d6c3(0x204)]=new webgpu.Timer(),this[_0x42d6c3(0x1fa)]=CameraFactory['createCamera'](_0x38fe8b),this[_0x42d6c3(0x1ea)]=new _0x2b8573['worldClass'](this,_0x4244c5),this['_viewport']=new _0x2b8573['viewportClass'](this,_0x2a73f4),this['_controller']=new _0x2b8573[(_0x42d6c3(0x1f5))](this),this[_0x42d6c3(0x1f0)]=new _0x2b8573[(_0x42d6c3(0x1e5))](this,_0x3f3a5c[_0x42d6c3(0x212)]),this[_0x42d6c3(0x1ef)]['renderer'][_0x42d6c3(0x1fe)](()=>{const _0x599bc1=_0x42d6c3;this[_0x599bc1(0x204)]['update']();const _0x1b5e32=this[_0x599bc1(0x204)]['getDelta']();this[_0x599bc1(0x1f7)](_0x1b5e32);}),this[_0x42d6c3(0x1ec)]();}['postConstruct'](){const _0x58786a=_0xe074a9;this[_0x58786a(0x21a)][_0x58786a(0x218)](),this[_0x58786a(0x1e9)][_0x58786a(0x218)](),this[_0x58786a(0x1ef)][_0x58786a(0x218)]();}['init'](){}['tick'](_0x2e142c){const _0x542d7e=_0xe074a9;if(this[_0x542d7e(0x20c)])return;this[_0x542d7e(0x203)]['tick'](_0x2e142c),this[_0x542d7e(0x1e9)][_0x542d7e(0x1f7)](_0x2e142c),this[_0x542d7e(0x202)][_0x542d7e(0x1f3)](_0x37778c=>{_0x37778c(_0x2e142c);}),this[_0x542d7e(0x1ef)]['markRenderStateDirty'](),this[_0x542d7e(0x1ef)][_0x542d7e(0x1ee)]();}['setTickPaused'](_0x294656){const _0x109a2b=_0xe074a9;console[_0x109a2b(0x20d)](_0x109a2b(0x219),_0x294656),this[_0x109a2b(0x20c)]=_0x294656;}[_0xe074a9(0x216)](_0xd8adc5){const _0x55f90f=_0xe074a9;this['_tickingFunctions'][_0x55f90f(0x20b)](_0xd8adc5);}[_0xe074a9(0x1e7)](_0x218913){const _0x446f4d=_0xe074a9,_0x567c72=this[_0x446f4d(0x202)][_0x446f4d(0x20f)](_0x218913);_0x567c72>=0x0&&this['_tickingFunctions'][_0x446f4d(0x208)](_0x567c72,0x1);}['destroy'](){const _0x46e1e7=_0xe074a9;this['onCameraChangedDelegate'][_0x46e1e7(0x214)](),this[_0x46e1e7(0x21a)]['destroy'](),this[_0x46e1e7(0x1e9)]['destroy'](),this[_0x46e1e7(0x1f0)][_0x46e1e7(0x201)](),this[_0x46e1e7(0x1ef)][_0x46e1e7(0x20e)]();}[_0xe074a9(0x1e6)](_0x196cb9){const _0x51b9c8=_0xe074a9,_0x2fdb99=this['camera'];this[_0x51b9c8(0x1fa)]=CameraFactory['updataCamera'](_0x196cb9,this[_0x51b9c8(0x217)]),_0x2fdb99!==this[_0x51b9c8(0x217)]&&(this[_0x51b9c8(0x1fd)][_0x51b9c8(0x209)](),this['controller'][_0x51b9c8(0x1e6)]()),this['_camera'][_0x51b9c8(0x1ff)](),this[_0x51b9c8(0x1ef)][_0x51b9c8(0x207)]();}[_0xe074a9(0x200)](_0x9502bf,_0x4b7f1a){const _0x20f8ea=_0xe074a9;this[_0x20f8ea(0x217)]instanceof webgpu.PerspectiveCamera&&(this[_0x20f8ea(0x217)][_0x20f8ea(0x1f2)]=_0x9502bf/_0x4b7f1a),this[_0x20f8ea(0x217)][_0x20f8ea(0x1ff)]();}async[_0xe074a9(0x215)](_0x183999=0x400,_0x1aa007=0x400){const _0x26049d=_0xe074a9;return await this[_0x26049d(0x1ef)]['renderAsImage'](_0x183999,_0x1aa007);}}
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
function _0x3e31(){var _0x5af19d=['200JWqOlJ','101exaBmI','27874lXoHjs','intensity','color','39jTTIVB','2489164wKjiFg','4065255dpBPYa','572634vNXFUp','551148Zfwejw','10cXcGyt','180966BXQTTs','three\x20object\x20is\x20invalid','12923427LigkWD','obj','10MSGHHf','91XnQtrc','threeObject'];_0x3e31=function(){return _0x5af19d;};return _0x3e31();}function _0x4865(_0x51d41b,_0x509333){_0x51d41b=_0x51d41b-0x199;var _0x3e314b=_0x3e31();var _0x48652a=_0x3e314b[_0x51d41b];return _0x48652a;}var _0x270b95=_0x4865;(function(_0x46d47c,_0x223df1){var _0x35ba90=_0x4865,_0x482b5f=_0x46d47c();while(!![]){try{var _0x15dd0d=-parseInt(_0x35ba90(0x1a7))/0x1*(-parseInt(_0x35ba90(0x1a8))/0x2)+parseInt(_0x35ba90(0x19b))/0x3+parseInt(_0x35ba90(0x19a))/0x4*(parseInt(_0x35ba90(0x19e))/0x5)+-parseInt(_0x35ba90(0x19f))/0x6*(parseInt(_0x35ba90(0x1a4))/0x7)+-parseInt(_0x35ba90(0x1a6))/0x8*(parseInt(_0x35ba90(0x19c))/0x9)+-parseInt(_0x35ba90(0x1a3))/0xa*(parseInt(_0x35ba90(0x1a1))/0xb)+-parseInt(_0x35ba90(0x19d))/0xc*(-parseInt(_0x35ba90(0x199))/0xd);if(_0x15dd0d===_0x223df1)break;else _0x482b5f['push'](_0x482b5f['shift']());}catch(_0x3bbe35){_0x482b5f['push'](_0x482b5f['shift']());}}}(_0x3e31,0xf1163));class LightComponent extends SceneComponent{get[_0x270b95(0x1a5)](){var _0x443515=_0x270b95;if(!this[_0x443515(0x1a2)])throw Error(_0x443515(0x1a0));return this['obj'];}set[_0x270b95(0x1a5)](_0x18a083){var _0x2ea898=_0x270b95;this['obj']=_0x18a083,this[_0x2ea898(0x1a2)]&&(this[_0x2ea898(0x1a2)]['userData']['LYObject']=this);}get[_0x270b95(0x1aa)](){var _0x217cdb=_0x270b95;return this[_0x217cdb(0x1a5)]['color']['getHex']();}set[_0x270b95(0x1aa)](_0x487b7d){this['threeObject']['color']['set'](_0x487b7d);}get[_0x270b95(0x1a9)](){return this['threeObject']['intensity'];}set[_0x270b95(0x1a9)](_0x5e37c6){var _0xe745aa=_0x270b95;this['threeObject'][_0xe745aa(0x1a9)]=_0x5e37c6;}constructor(_0x1d2e2a,_0x321a79){super(_0x1d2e2a,_0x321a79);}}
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _0x3ee5e5=_0x4617;(function(_0x2d491d,_0x20f436){var _0x3c2b99=_0x4617,_0x391280=_0x2d491d();while(!![]){try{var _0x26108a=parseInt(_0x3c2b99(0x1ee))/0x1+-parseInt(_0x3c2b99(0x1ef))/0x2+-parseInt(_0x3c2b99(0x1fb))/0x3*(parseInt(_0x3c2b99(0x1f9))/0x4)+parseInt(_0x3c2b99(0x1fd))/0x5+-parseInt(_0x3c2b99(0x1f4))/0x6*(-parseInt(_0x3c2b99(0x1f2))/0x7)+-parseInt(_0x3c2b99(0x1f0))/0x8*(-parseInt(_0x3c2b99(0x1e9))/0x9)+-parseInt(_0x3c2b99(0x1f3))/0xa;if(_0x26108a===_0x20f436)break;else _0x391280['push'](_0x391280['shift']());}catch(_0x2e5cec){_0x391280['push'](_0x391280['shift']());}}}(_0xeb3e,0x9bb4c));class DirectionalLightComponent extends LightComponent{get[_0x3ee5e5(0x1eb)](){var _0x261fb5=_0x3ee5e5;if(!this[_0x261fb5(0x1f1)])throw Error(_0x261fb5(0x1f6));return this[_0x261fb5(0x1f1)];}set[_0x3ee5e5(0x1eb)](_0x2d1773){var _0x10c63a=_0x3ee5e5;this[_0x10c63a(0x1f1)]=_0x2d1773,this[_0x10c63a(0x1f1)]&&(this[_0x10c63a(0x1f1)][_0x10c63a(0x1ed)][_0x10c63a(0x1ec)]=this);}get['castShadow'](){var _0x38bae7=_0x3ee5e5;return this[_0x38bae7(0x1eb)]['castShadow'];}set['castShadow'](_0x1ccda6){var _0x390b95=_0x3ee5e5;this[_0x390b95(0x1eb)]['castShadow']=_0x1ccda6;}constructor(_0xb8b728,_0x15988b=0xffffff,_0x539ef6=0xa,_0x4748f4){var _0x219897=_0x3ee5e5;super(_0xb8b728,_0x4748f4),this['threeObject']['color'][_0x219897(0x1e6)](_0x15988b),this[_0x219897(0x1eb)]['intensity']=_0x539ef6;}[_0x3ee5e5(0x1e8)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x3ee5e5(0x1fc)](..._0x20476b){var _0x364138=_0x3ee5e5;_0x20476b['length']===0x1?super[_0x364138(0x1fc)](_0x20476b[0x0]):super[_0x364138(0x1fc)](_0x20476b[0x0],_0x20476b[0x1],_0x20476b[0x2]),this['update']();}[_0x3ee5e5(0x1f7)](){var _0x1f8eab=_0x3ee5e5;if(this[_0x1f8eab(0x1f5)])this['world'][_0x1f8eab(0x1ea)][_0x1f8eab(0x1f8)]();}[_0x3ee5e5(0x1e7)](_0x5f2997){var _0x9845a8=_0x3ee5e5;if(!this[_0x9845a8(0x1eb)])throw Error('three\x20object\x20is\x20invalid');super[_0x9845a8(0x1e7)](_0x5f2997);}[_0x3ee5e5(0x1fa)](){super['destroy']();}}function _0x4617(_0xc56e4b,_0x5ebdd8){_0xc56e4b=_0xc56e4b-0x1e6;var _0xeb3e46=_0xeb3e();var _0x46173b=_0xeb3e46[_0xc56e4b];return _0x46173b;}function _0xeb3e(){var _0x59c77b=['39RBeJEy','setPosition','474120LGsvvX','set','onAddedToWorld','createDefaultObject','5642289ciFYew','viewport','threeObject','LYObject','userData','1076552VVnLmM','710258icUwmD','8SkTvmu','obj','5045509bZHudi','13488500xFhtCM','6MyUUOn','world','three\x20object\x20is\x20invalid','update','markRenderStateDirty','54564qKtXzd','destroy'];_0xeb3e=function(){return _0x59c77b;};return _0xeb3e();}
|
|
113
113
|
|
|
114
|
-
var
|
|
114
|
+
function _0x321d(_0x856c5a,_0x578e98){_0x856c5a=_0x856c5a-0x123;var _0x3f0f8e=_0x3f0f();var _0x321de5=_0x3f0f8e[_0x856c5a];return _0x321de5;}var _0x4a21a4=_0x321d;(function(_0x849ce2,_0x5bdc2c){var _0x1a85a3=_0x321d,_0x4a857b=_0x849ce2();while(!![]){try{var _0x334000=parseInt(_0x1a85a3(0x12f))/0x1*(parseInt(_0x1a85a3(0x12d))/0x2)+-parseInt(_0x1a85a3(0x132))/0x3+parseInt(_0x1a85a3(0x125))/0x4*(-parseInt(_0x1a85a3(0x123))/0x5)+-parseInt(_0x1a85a3(0x124))/0x6+-parseInt(_0x1a85a3(0x130))/0x7*(-parseInt(_0x1a85a3(0x133))/0x8)+-parseInt(_0x1a85a3(0x128))/0x9+parseInt(_0x1a85a3(0x134))/0xa*(parseInt(_0x1a85a3(0x126))/0xb);if(_0x334000===_0x5bdc2c)break;else _0x4a857b['push'](_0x4a857b['shift']());}catch(_0x441182){_0x4a857b['push'](_0x4a857b['shift']());}}}(_0x3f0f,0xa9473));function _0x3f0f(){var _0x4adfb8=['20GpRKqh','5joxkQk','5032884iNmLMQ','694392bbaVEP','3593194eFMFgd','color','4031595Dmyzjx','lightComponent','castShadow','app','constructRootComponent','2mmznVF','intensity','1323836lawXep','4948202BQiqtd','rootComponent','1590900kwvVlN','8WBaAej'];_0x3f0f=function(){return _0x4adfb8;};return _0x3f0f();}class DirectionalLightActor extends Actor{constructor(_0x179e3b,_0x4f94f9=0xffffff,_0x1def4d=0x1,_0x2c1c00){var _0x401455=_0x321d;super(_0x179e3b,_0x2c1c00),this['lightComponent']=null,this['lightComponent']=this[_0x401455(0x131)],this['lightComponent']&&(this[_0x401455(0x129)][_0x401455(0x127)]=_0x4f94f9,this[_0x401455(0x129)][_0x401455(0x12e)]=_0x1def4d,this[_0x401455(0x129)][_0x401455(0x12a)]=!![]),this['lightComponent'][_0x401455(0x12a)]=!![];}[_0x4a21a4(0x12c)](){var _0x4a4e24=_0x4a21a4;return new DirectionalLightComponent(this[_0x4a4e24(0x12b)]);}}
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _0x33e64a=_0x4e52;function _0x4e52(_0x490078,_0x1139eb){_0x490078=_0x490078-0x80;var _0xc933ea=_0xc933();var _0x4e52b1=_0xc933ea[_0x490078];return _0x4e52b1;}(function(_0x58e52e,_0x55a757){var _0x266d30=_0x4e52,_0x231e4e=_0x58e52e();while(!![]){try{var _0xff3317=parseInt(_0x266d30(0x8b))/0x1*(parseInt(_0x266d30(0x9a))/0x2)+parseInt(_0x266d30(0x83))/0x3*(parseInt(_0x266d30(0x92))/0x4)+-parseInt(_0x266d30(0x89))/0x5+-parseInt(_0x266d30(0x97))/0x6+-parseInt(_0x266d30(0x80))/0x7*(parseInt(_0x266d30(0x98))/0x8)+parseInt(_0x266d30(0x82))/0x9*(-parseInt(_0x266d30(0x84))/0xa)+-parseInt(_0x266d30(0x99))/0xb*(-parseInt(_0x266d30(0x8a))/0xc);if(_0xff3317===_0x55a757)break;else _0x231e4e['push'](_0x231e4e['shift']());}catch(_0x52c7dd){_0x231e4e['push'](_0x231e4e['shift']());}}}(_0xc933,0x59153));function _0xc933(){var _0x6f3cf8=['2841816yLDmMg','8tNJZBE','3054733XJUqPW','508lGPjQW','1399111XcYbWV','markRenderStateDirty','13761YOvSvl','1471665uEOsya','2810mJQhYM','onAddedToWorld','LYObject','three\x20object\x20is\x20invalid','destroy','2301985dvSaFF','36XfDybi','2381DeVSfK','userData','color','world','threeObject','update','intensity','4FFCDVY','setPosition','castShadow','obj','length'];_0xc933=function(){return _0x6f3cf8;};return _0xc933();}class AmbientLightComponent extends LightComponent{get[_0x33e64a(0x8f)](){var _0x3820d1=_0x33e64a;if(!this['obj'])throw Error('three\x20object\x20is\x20invalid');return this[_0x3820d1(0x95)];}set[_0x33e64a(0x8f)](_0x7ce4ee){var _0x43e1e3=_0x33e64a;this[_0x43e1e3(0x95)]=_0x7ce4ee,this[_0x43e1e3(0x95)]&&(this['obj'][_0x43e1e3(0x8c)][_0x43e1e3(0x86)]=this);}get[_0x33e64a(0x94)](){var _0x3edc49=_0x33e64a;return this['threeObject'][_0x3edc49(0x94)];}set[_0x33e64a(0x94)](_0x3c0e0f){var _0x5a20fb=_0x33e64a;this[_0x5a20fb(0x8f)][_0x5a20fb(0x94)]=_0x3c0e0f;}constructor(_0x18cc1e,_0x81c66f=0xffffff,_0x339bdd=0xa,_0x563f4b){var _0x1e2b12=_0x33e64a;super(_0x18cc1e,_0x563f4b),this['threeObject'][_0x1e2b12(0x8d)]['set'](_0x81c66f),this['threeObject'][_0x1e2b12(0x91)]=_0x339bdd;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}['setPosition'](..._0x2d22a8){var _0x351611=_0x33e64a;_0x2d22a8[_0x351611(0x96)]===0x1?super['setPosition'](_0x2d22a8[0x0]):super[_0x351611(0x93)](_0x2d22a8[0x0],_0x2d22a8[0x1],_0x2d22a8[0x2]),this[_0x351611(0x90)]();}[_0x33e64a(0x90)](){var _0x26d0f5=_0x33e64a;if(this[_0x26d0f5(0x8e)])this[_0x26d0f5(0x8e)]['viewport'][_0x26d0f5(0x81)]();}[_0x33e64a(0x85)](_0xdfcb8d){var _0x2d58ce=_0x33e64a;if(!this[_0x2d58ce(0x8f)])throw Error(_0x2d58ce(0x87));super[_0x2d58ce(0x85)](_0xdfcb8d);}['destroy'](){var _0x5894d6=_0x33e64a;super[_0x5894d6(0x88)]();}}
|
|
117
117
|
|
|
118
|
-
function
|
|
118
|
+
var _0x79bb7d=_0xdf27;function _0xdf27(_0x2cb87e,_0x17c896){_0x2cb87e=_0x2cb87e-0x107;var _0xb5d1b4=_0xb5d1();var _0xdf27b3=_0xb5d1b4[_0x2cb87e];return _0xdf27b3;}(function(_0x586d3f,_0x4d797){var _0x314ee3=_0xdf27,_0x29df01=_0x586d3f();while(!![]){try{var _0x4f2964=-parseInt(_0x314ee3(0x10e))/0x1+-parseInt(_0x314ee3(0x114))/0x2+parseInt(_0x314ee3(0x10f))/0x3*(-parseInt(_0x314ee3(0x10c))/0x4)+-parseInt(_0x314ee3(0x112))/0x5+parseInt(_0x314ee3(0x109))/0x6+-parseInt(_0x314ee3(0x113))/0x7*(parseInt(_0x314ee3(0x115))/0x8)+parseInt(_0x314ee3(0x110))/0x9*(parseInt(_0x314ee3(0x116))/0xa);if(_0x4f2964===_0x4d797)break;else _0x29df01['push'](_0x29df01['shift']());}catch(_0x548f67){_0x29df01['push'](_0x29df01['shift']());}}}(_0xb5d1,0x52dec));function _0xb5d1(){var _0x35a1ed=['intensity','144RsGitd','constructRootComponent','212594UOmwdL','2748xJJtSN','18aaVPwR','lightComponent','2119860qdHkKx','1562106wHnowM','181574usXBzu','8hGtblj','5011520LqbjfQ','app','castShadow','1923714fJrEtJ','color'];_0xb5d1=function(){return _0x35a1ed;};return _0xb5d1();}class AmbientLightActor extends Actor{constructor(_0x20e75f,_0xe08804=0xffffff,_0x193591=0x1,_0x4c62ef){var _0x59b0ce=_0xdf27;super(_0x20e75f,_0x4c62ef),this[_0x59b0ce(0x111)]=null,this[_0x59b0ce(0x111)]=this['rootComponent'],this[_0x59b0ce(0x111)]&&(this[_0x59b0ce(0x111)][_0x59b0ce(0x10a)]=_0xe08804,this[_0x59b0ce(0x111)][_0x59b0ce(0x10b)]=_0x193591,this[_0x59b0ce(0x111)]['castShadow']=!![]),this['lightComponent'][_0x59b0ce(0x108)]=!![];}[_0x79bb7d(0x10d)](){var _0x1b5469=_0x79bb7d;return new AmbientLightComponent(this[_0x1b5469(0x107)]);}}
|
|
119
119
|
|
|
120
|
-
function
|
|
120
|
+
function _0x1e79(_0x350a07,_0x20401b){_0x350a07=_0x350a07-0x1dd;var _0x574cdd=_0x574c();var _0x1e79aa=_0x574cdd[_0x350a07];return _0x1e79aa;}(function(_0x302515,_0x19f0e6){var _0x3b6651=_0x1e79,_0x946fa6=_0x302515();while(!![]){try{var _0x39ad88=parseInt(_0x3b6651(0x1e1))/0x1*(parseInt(_0x3b6651(0x1e3))/0x2)+parseInt(_0x3b6651(0x1e6))/0x3+parseInt(_0x3b6651(0x1e2))/0x4+parseInt(_0x3b6651(0x1df))/0x5*(parseInt(_0x3b6651(0x1de))/0x6)+parseInt(_0x3b6651(0x1dd))/0x7*(-parseInt(_0x3b6651(0x1e5))/0x8)+parseInt(_0x3b6651(0x1e7))/0x9+parseInt(_0x3b6651(0x1e4))/0xa*(-parseInt(_0x3b6651(0x1e0))/0xb);if(_0x39ad88===_0x19f0e6)break;else _0x946fa6['push'](_0x946fa6['shift']());}catch(_0x39d6a8){_0x946fa6['push'](_0x946fa6['shift']());}}}(_0x574c,0xa85f1));class BoxComponent extends MeshComponent{constructor(_0xb654fa,_0x409041=0x1,_0x5ea3ad=0x1,_0x4db8eb=0x1,_0x40071e=0x1,_0x28f9bd=0x1,_0x389113=0x1,_0x36f69a=new webgpu.MeshStandardMaterial(),_0x244bce){super(_0xb654fa,new webgpu.BoxGeometry(_0x409041,_0x5ea3ad,_0x4db8eb,_0x40071e,_0x28f9bd,_0x389113),_0x36f69a,_0x244bce);}}function _0x574c(){var _0x28d720=['4eZEsxj','468170AuEwGF','205720ipxmOA','1934676LZirfj','818505srCcLl','147MtTqtt','546942jdJpHy','45MyXitS','121YKwsgX','57004DmlJOx','297572CxIlzS'];_0x574c=function(){return _0x28d720;};return _0x574c();}
|
|
121
121
|
|
|
122
|
-
function
|
|
122
|
+
var _0x474602=_0x3732;function _0x3732(_0x1d5dc0,_0xa5c422){_0x1d5dc0=_0x1d5dc0-0x8a;var _0x457626=_0x4576();var _0x3732fb=_0x457626[_0x1d5dc0];return _0x3732fb;}(function(_0x504c75,_0x205330){var _0x50c174=_0x3732,_0x3e0f47=_0x504c75();while(!![]){try{var _0x30fafe=parseInt(_0x50c174(0x96))/0x1*(-parseInt(_0x50c174(0x8e))/0x2)+parseInt(_0x50c174(0x8f))/0x3*(parseInt(_0x50c174(0x91))/0x4)+parseInt(_0x50c174(0x97))/0x5*(-parseInt(_0x50c174(0x93))/0x6)+-parseInt(_0x50c174(0x8d))/0x7*(-parseInt(_0x50c174(0x98))/0x8)+parseInt(_0x50c174(0x8a))/0x9*(parseInt(_0x50c174(0x8c))/0xa)+parseInt(_0x50c174(0x94))/0xb*(parseInt(_0x50c174(0x8b))/0xc)+parseInt(_0x50c174(0x90))/0xd;if(_0x30fafe===_0x205330)break;else _0x3e0f47['push'](_0x3e0f47['shift']());}catch(_0x5916f8){_0x3e0f47['push'](_0x3e0f47['shift']());}}}(_0x4576,0x56e0e));function _0x4576(){var _0x38cfb2=['99219bpnpYk','5MesIZO','56upSsbs','app','6363IrlIGc','3492zppBda','2120mkQWNT','586691alyylx','14YWHYLN','15SxeNME','2443051blodZj','223748hSMrwq','uuid','4060362TgmhFI','19767xUrPoo','constructRootComponent'];_0x4576=function(){return _0x38cfb2;};return _0x4576();}class BoxActor extends Actor{constructor(_0x5ed3c1,_0x5c2234){super(_0x5ed3c1,_0x5c2234);}[_0x474602(0x95)](){var _0x18509b=_0x474602;return new BoxComponent(this[_0x18509b(0x99)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x18509b(0x92)]);}}
|
|
123
123
|
|
|
124
|
-
function
|
|
124
|
+
function _0x184e(){const _0x7e24cd=['mieCoefficient','viewport','3huoClo','5124SrNeEQ','437794bYnNXe','198ByEXbP','value','markRenderStateDirty','copy','250938hGHtbx','threeObject','setFromSphericalCoords','rayleigh','7385400JwYLTM','10tmbyom','degToRad','obj','mieDirectionalG','6872FdOVjH','skyParam','elevation','createDefaultObject','12267761COBjdX','updateSky','world','35605QDuthd','turbidity','userData','1332184hQRPog','sunPosition','destroyObject'];_0x184e=function(){return _0x7e24cd;};return _0x184e();}function _0x3d20(_0x3d978d,_0x171a68){_0x3d978d=_0x3d978d-0x9a;const _0x184ee8=_0x184e();let _0x3d20bd=_0x184ee8[_0x3d978d];return _0x3d20bd;}const _0x3ccdbe=_0x3d20;(function(_0x570919,_0xa7480f){const _0x428e38=_0x3d20,_0x5d0b16=_0x570919();while(!![]){try{const _0x227573=-parseInt(_0x428e38(0xad))/0x1+-parseInt(_0x428e38(0xb2))/0x2*(parseInt(_0x428e38(0xab))/0x3)+parseInt(_0x428e38(0xa6))/0x4+-parseInt(_0x428e38(0xa3))/0x5*(parseInt(_0x428e38(0xae))/0x6)+parseInt(_0x428e38(0xac))/0x7*(parseInt(_0x428e38(0x9c))/0x8)+-parseInt(_0x428e38(0xb6))/0x9+parseInt(_0x428e38(0xb7))/0xa*(parseInt(_0x428e38(0xa0))/0xb);if(_0x227573===_0xa7480f)break;else _0x5d0b16['push'](_0x5d0b16['shift']());}catch(_0x508550){_0x5d0b16['push'](_0x5d0b16['shift']());}}}(_0x184e,0x6fdf5));const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x3ccdbe(0xb3)](){const _0x19dd4e=_0x3ccdbe;if(!this[_0x19dd4e(0x9a)])throw Error('three\x20object\x20is\x20invalid');return this[_0x19dd4e(0x9a)];}set[_0x3ccdbe(0xb3)](_0x4c51eb){const _0xa54197=_0x3ccdbe;this['obj']=_0x4c51eb,this[_0xa54197(0x9a)]&&(this[_0xa54197(0x9a)][_0xa54197(0xa5)]['LYObject']=this);}constructor(_0x2a00fa,_0x36a24d,_0x42ed63){const _0x2a5ddc=_0x3ccdbe;super(_0x2a00fa,_0x42ed63),this[_0x2a5ddc(0x9d)]=DefaultSkyParam,this[_0x2a5ddc(0xa7)]=new webgpu.Vector3(),_0x36a24d&&(this[_0x2a5ddc(0x9d)]=_0x36a24d),this[_0x2a5ddc(0xa1)]();}[_0x3ccdbe(0x9f)](){return new SkyMesh_js.SkyMesh();}['updateSky'](){const _0x57b8b1=_0x3ccdbe;var _0x18611a,_0x2d229c;this[_0x57b8b1(0xb3)][_0x57b8b1(0xa4)][_0x57b8b1(0xaf)]=this[_0x57b8b1(0x9d)]['turbidity'],this[_0x57b8b1(0xb3)][_0x57b8b1(0xb5)]['value']=this[_0x57b8b1(0x9d)][_0x57b8b1(0xb5)],this['threeObject'][_0x57b8b1(0xa9)][_0x57b8b1(0xaf)]=this[_0x57b8b1(0x9d)][_0x57b8b1(0xa9)],this[_0x57b8b1(0xb3)][_0x57b8b1(0x9b)][_0x57b8b1(0xaf)]=this[_0x57b8b1(0x9d)][_0x57b8b1(0x9b)];const _0x170e0f=webgpu.MathUtils[_0x57b8b1(0xb8)](0x5a-this[_0x57b8b1(0x9d)][_0x57b8b1(0x9e)]),_0x36e9a5=webgpu.MathUtils[_0x57b8b1(0xb8)](this[_0x57b8b1(0x9d)]['azimuth']);this['sunPosition'][_0x57b8b1(0xb4)](0x1,_0x170e0f,_0x36e9a5),this[_0x57b8b1(0xb3)][_0x57b8b1(0xa7)]['value'][_0x57b8b1(0xb1)](this[_0x57b8b1(0xa7)]),(_0x2d229c=(_0x18611a=this[_0x57b8b1(0xa2)])===null||_0x18611a===void 0?void 0:_0x18611a[_0x57b8b1(0xaa)])===null||_0x2d229c===void 0?void 0:_0x2d229c[_0x57b8b1(0xb0)]();}[_0x3ccdbe(0xa8)](){const _0x3e7625=_0x3ccdbe;this[_0x3e7625(0x9a)]&&ThreeObjectLibrary['disposeMeshResource'](this[_0x3e7625(0xb3)]);}}
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _0x2b047a=_0x1403;function _0x4623(){var _0x160c96=['1582pHJbdO','app','22kCTjsD','_name','1006584rZJNza','1332411cfEHJm','10kXzzDs','setScale','constructRootComponent','88669enQidV','588YDwyAH','name','1345812UpZWeZ','4yNAYJp','SkyActor','11092959unimKY','rootComponent','433BdBdYc','(Root)','3303385bxhEMT','skyComponent'];_0x4623=function(){return _0x160c96;};return _0x4623();}(function(_0x4c983b,_0x1ad4de){var _0x3f3ffe=_0x1403,_0x4c8572=_0x4c983b();while(!![]){try{var _0x4fe320=-parseInt(_0x3f3ffe(0x19a))/0x1*(parseInt(_0x3f3ffe(0x19e))/0x2)+-parseInt(_0x3f3ffe(0x1a3))/0x3+-parseInt(_0x3f3ffe(0x1ab))/0x4*(parseInt(_0x3f3ffe(0x19c))/0x5)+parseInt(_0x3f3ffe(0x1a8))/0x6*(parseInt(_0x3f3ffe(0x1a7))/0x7)+-parseInt(_0x3f3ffe(0x1a2))/0x8+-parseInt(_0x3f3ffe(0x1ad))/0x9*(-parseInt(_0x3f3ffe(0x1a4))/0xa)+parseInt(_0x3f3ffe(0x1a0))/0xb*(-parseInt(_0x3f3ffe(0x1aa))/0xc);if(_0x4fe320===_0x1ad4de)break;else _0x4c8572['push'](_0x4c8572['shift']());}catch(_0x279f6a){_0x4c8572['push'](_0x4c8572['shift']());}}}(_0x4623,0xa527b));function _0x1403(_0x15c028,_0x49f276){_0x15c028=_0x15c028-0x19a;var _0x462320=_0x4623();var _0x14036a=_0x462320[_0x15c028];return _0x14036a;}class SkyActor extends Actor{constructor(_0x37acf5,_0x398d04){var _0x20af4c=_0x1403;super(_0x37acf5,_0x398d04),this[_0x20af4c(0x1a1)]=_0x20af4c(0x1ac),this[_0x20af4c(0x19d)]=null,this['name']='SkyActor',this[_0x20af4c(0x19d)]=this[_0x20af4c(0x1ae)],this[_0x20af4c(0x1ae)]['name']=this['rootComponent'][_0x20af4c(0x1a9)]+_0x20af4c(0x19b),this[_0x20af4c(0x1a5)](0xafc8,0xafc8,0xafc8);}[_0x2b047a(0x1a6)](){var _0x53fd1e=_0x2b047a;return new SkyComponent(this[_0x53fd1e(0x19f)]);}}
|
|
127
127
|
|
|
128
|
-
(function(
|
|
128
|
+
function _0x5ebe(){var _0x3f98fb=['7459419DHNoSp','7GGXKLG','4810472bzHXkW','54dMELTG','308832IRcNmB','1466727KyOCEz','114UmwWun','96jxAatc','74470JXziwm','102960pYsHiT','4yPtosY','9833RBTXRP'];_0x5ebe=function(){return _0x3f98fb;};return _0x5ebe();}function _0x591c(_0x16141c,_0x3850d6){_0x16141c=_0x16141c-0x1a4;var _0x5ebe39=_0x5ebe();var _0x591cfe=_0x5ebe39[_0x16141c];return _0x591cfe;}(function(_0x19b28d,_0x19fe2f){var _0x4fa71c=_0x591c,_0x28a945=_0x19b28d();while(!![]){try{var _0x2f4c04=-parseInt(_0x4fa71c(0x1ad))/0x1*(-parseInt(_0x4fa71c(0x1a8))/0x2)+parseInt(_0x4fa71c(0x1a7))/0x3*(-parseInt(_0x4fa71c(0x1ac))/0x4)+-parseInt(_0x4fa71c(0x1ab))/0x5*(-parseInt(_0x4fa71c(0x1a9))/0x6)+parseInt(_0x4fa71c(0x1af))/0x7*(parseInt(_0x4fa71c(0x1a4))/0x8)+parseInt(_0x4fa71c(0x1a5))/0x9*(parseInt(_0x4fa71c(0x1aa))/0xa)+-parseInt(_0x4fa71c(0x1ae))/0xb+-parseInt(_0x4fa71c(0x1a6))/0xc;if(_0x2f4c04===_0x19fe2f)break;else _0x28a945['push'](_0x28a945['shift']());}catch(_0x443c99){_0x28a945['push'](_0x28a945['shift']());}}}(_0x5ebe,0x53c82));class PlaneComponent extends MeshComponent{constructor(_0x1c87a3,_0x9dbed8,_0xa1a293,_0x20ac16,_0x5ed02a=0x1,_0xe321e2=0x1,_0x10c090){super(_0x1c87a3,new webgpu.PlaneGeometry(_0x9dbed8,_0xa1a293,_0x5ed02a,_0xe321e2),_0x20ac16,_0x10c090);}}
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _0x448789=_0x572d;function _0x572d(_0x488f0b,_0x3ff95a){_0x488f0b=_0x488f0b-0xa3;var _0x153279=_0x1532();var _0x572de6=_0x153279[_0x488f0b];return _0x572de6;}(function(_0x51811e,_0x488726){var _0xac516b=_0x572d,_0x48a96d=_0x51811e();while(!![]){try{var _0x34b9c4=-parseInt(_0xac516b(0xa6))/0x1+parseInt(_0xac516b(0xaf))/0x2*(-parseInt(_0xac516b(0xa4))/0x3)+parseInt(_0xac516b(0xab))/0x4+-parseInt(_0xac516b(0xa5))/0x5+-parseInt(_0xac516b(0xac))/0x6*(parseInt(_0xac516b(0xad))/0x7)+-parseInt(_0xac516b(0xa9))/0x8*(-parseInt(_0xac516b(0xaa))/0x9)+-parseInt(_0xac516b(0xb0))/0xa*(-parseInt(_0xac516b(0xa3))/0xb);if(_0x34b9c4===_0x488726)break;else _0x48a96d['push'](_0x48a96d['shift']());}catch(_0x4c269c){_0x48a96d['push'](_0x48a96d['shift']());}}}(_0x1532,0x4d044));function _0x1532(){var _0x1a69dc=['650492ZOWgeG','983106eWnFAk','21WpEofa','destroy','821994yiAbre','50YJYOqN','3189956ZsKRyr','3LjdUiy','2970520tMWiBK','364420eFKiUV','app','constructRootComponent','72DGdBml','563931McUhPa'];_0x1532=function(){return _0x1a69dc;};return _0x1532();}class PlaneActor extends Actor{constructor(_0xf33b9e,_0x31c2a9){super(_0xf33b9e,_0x31c2a9);}[_0x448789(0xa8)](){var _0x9b02a3=_0x448789;return new PlaneComponent(this[_0x9b02a3(0xa7)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this['uuid']);}[_0x448789(0xae)](){var _0x3370d4=_0x448789;super[_0x3370d4(0xae)]();}}
|
|
131
131
|
|
|
132
|
-
const _0x4612ce=_0x24c5;(function(_0x5781c2,_0x32a7b3){const _0x2b0396=_0x24c5,_0x8c9e44=_0x5781c2();while(!![]){try{const _0x569d3a=-parseInt(_0x2b0396(0xf9))/0x1*(parseInt(_0x2b0396(0x11d))/0x2)+parseInt(_0x2b0396(0x118))/0x3*(-parseInt(_0x2b0396(0xed))/0x4)+-parseInt(_0x2b0396(0x123))/0x5*(parseInt(_0x2b0396(0x106))/0x6)+-parseInt(_0x2b0396(0xe8))/0x7+parseInt(_0x2b0396(0x101))/0x8+parseInt(_0x2b0396(0xf4))/0x9*(-parseInt(_0x2b0396(0x120))/0xa)+parseInt(_0x2b0396(0x103))/0xb*(parseInt(_0x2b0396(0x127))/0xc);if(_0x569d3a===_0x32a7b3)break;else _0x8c9e44['push'](_0x8c9e44['shift']());}catch(_0xad24c7){_0x8c9e44['push'](_0x8c9e44['shift']());}}}(_0x578b,0xf35bc));function _0x578b(){const _0x4834d6=['constructGeometry','_geometryPtr','clone','setAttribute','material','error','CustomMeshComponent','addGeometryAsset','geometry','max','getValue','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','reverse','computeVertexNormals','obj','2044308qEgSdz','app','geometryPtr','computeUVs','destroyObject','47584nmpLHD','colors','normals','20gfUhLN','release','receiveShadow','5NLXJhj','castShadow','length','vertices','283032VtrPfx','getBounds','meshData','uvs','1404466HTwxto','CustomMeshComponent:\x20threeObject\x20is\x20null','warn','getBoundsTopCenterPosition','materialPtr','4Cdlubh','viewport','CustomMeshComponent:\x20Invalid\x20vertices\x20data','min','map','assetManager','geometryPtr\x20is\x20null','2426337ROdjZp','calculatePolygonArea','indices','getCenter','world','25YYkUpO','materialPtr\x20is\x20null','push','_meshData','addMaterialAsset','getBoundsCenterPosition','color','threeObject','10965360lIazOv','name','880HzdZTH','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','addRef','1468164bZTUJc','_materialPtr','setIndex'];_0x578b=function(){return _0x4834d6;};return _0x578b();}function _0x24c5(_0x187d29,_0x5c027f){_0x187d29=_0x187d29-0xe7;const _0x578b87=_0x578b();let _0x24c597=_0x578b87[_0x187d29];return _0x24c597;}class CustomMeshComponent extends SceneComponent{get[_0x4612ce(0x100)](){const _0x18deb3=_0x4612ce;if(!this[_0x18deb3(0x117)])throw new Error(_0x18deb3(0xe9));return this[_0x18deb3(0x117)];}set[_0x4612ce(0x100)](_0x394943){const _0xe8c38e=_0x4612ce;this[_0xe8c38e(0x117)]=_0x394943,this[_0xe8c38e(0x117)]&&(this[_0xe8c38e(0x117)]['userData']['LYObject']=this);}get[_0x4612ce(0x111)](){const _0x5cac32=_0x4612ce;if(!this[_0x5cac32(0x10a)])throw new Error(_0x5cac32(0xf3));return this[_0x5cac32(0x10a)][_0x5cac32(0x113)]();}set[_0x4612ce(0x111)](_0x1cc18b){const _0x3e5a68=_0x4612ce;let _0x4feda8=this[_0x3e5a68(0x119)][_0x3e5a68(0xf2)][_0x3e5a68(0x110)](_0x1cc18b);this[_0x3e5a68(0x11a)]=_0x4feda8;}get[_0x4612ce(0x11a)](){const _0x20420b=_0x4612ce;if(!this[_0x20420b(0x10a)])throw new Error(_0x20420b(0xf3));return this[_0x20420b(0x10a)];}set[_0x4612ce(0x11a)](_0x341867){const _0xcb41fb=_0x4612ce;this[_0xcb41fb(0x10a)]&&(this[_0xcb41fb(0x10a)]['release'](),this[_0xcb41fb(0x10a)]=null);this['_geometryPtr']=_0x341867;let _0x29fae6=_0x341867[_0xcb41fb(0x113)]();this['threeObject']&&_0x29fae6&&(this[_0xcb41fb(0x100)][_0xcb41fb(0x111)]=_0x29fae6);}get['material'](){const _0x4d0766=_0x4612ce;if(!this[_0x4d0766(0x107)])throw new Error(_0x4d0766(0xfa));let _0x2fc189=this[_0x4d0766(0x107)][_0x4d0766(0x113)]();if(!_0x2fc189)throw new Error('material\x20is\x20null');return _0x2fc189;}get['materialPtr'](){const _0x2742aa=_0x4612ce;if(!this[_0x2742aa(0x107)])throw new Error(_0x2742aa(0xfa));return this[_0x2742aa(0x107)];}set[_0x4612ce(0x10d)](_0xa95b17){const _0x42d296=_0x4612ce;let _0x1469c4=this['app']['assetManager']['addMaterialAsset'](_0xa95b17);this[_0x42d296(0xec)]=_0x1469c4;}set[_0x4612ce(0xec)](_0x20f4be){const _0x3f2839=_0x4612ce;this[_0x3f2839(0x107)]&&(this[_0x3f2839(0x107)]['release'](),this[_0x3f2839(0x107)]=null);this[_0x3f2839(0x107)]=_0x20f4be;let _0xd5e0c7=_0x20f4be[_0x3f2839(0x113)]();_0x20f4be[_0x3f2839(0x105)](),this[_0x3f2839(0x100)]&&_0xd5e0c7&&(this[_0x3f2839(0x100)][_0x3f2839(0x10d)]=_0xd5e0c7);}constructor(_0x2edaea,_0xe202e3,_0x21e42f,_0x13e5d8){const _0x44e3b7=_0x4612ce;super(_0x2edaea,_0x13e5d8),this[_0x44e3b7(0xfc)]=_0xe202e3;let _0x24493d=_0x2edaea[_0x44e3b7(0xf2)][_0x44e3b7(0xfd)](_0x21e42f);this['_materialPtr']=_0x24493d,_0x24493d['addRef']();const _0x4740e7=this[_0x44e3b7(0x109)](_0xe202e3);this[_0x44e3b7(0x10a)]=_0x2edaea[_0x44e3b7(0xf2)][_0x44e3b7(0x110)](_0x4740e7),this[_0x44e3b7(0x100)]['material']=_0x21e42f,this[_0x44e3b7(0x100)]['geometry']=_0x4740e7,this[_0x44e3b7(0x102)]=_0x44e3b7(0x10f),this[_0x44e3b7(0x124)]=!![],this[_0x44e3b7(0x122)]=!![];}[_0x4612ce(0x11b)](_0x52addb){const _0x2e21fb=_0x4612ce,_0x66ebcb=new Float32Array(_0x52addb['length']*0x2);if(_0x52addb[_0x2e21fb(0x125)]===0x0)return _0x66ebcb;let _0x5104b4=Infinity,_0x26087a=-Infinity,_0x286060=Infinity,_0x1c714c=-Infinity,_0x459236=Infinity,_0x2cd6e0=-Infinity;for(const _0x19de4e of _0x52addb){_0x5104b4=Math[_0x2e21fb(0xf0)](_0x5104b4,_0x19de4e['x']),_0x26087a=Math['max'](_0x26087a,_0x19de4e['x']),_0x286060=Math[_0x2e21fb(0xf0)](_0x286060,_0x19de4e['y']),_0x1c714c=Math[_0x2e21fb(0x112)](_0x1c714c,_0x19de4e['y']),_0x459236=Math[_0x2e21fb(0xf0)](_0x459236,_0x19de4e['z']),_0x2cd6e0=Math['max'](_0x2cd6e0,_0x19de4e['z']);}const _0x448998=_0x26087a-_0x5104b4,_0x1765fc=_0x1c714c-_0x286060,_0x39d58b=_0x2cd6e0-_0x459236;let _0x3c3faf,_0x129e64,_0x59f134,_0x312333,_0x24716d,_0x25400a;if(_0x448998<=_0x1765fc&&_0x448998<=_0x39d58b)_0x3c3faf='y',_0x129e64='z',_0x59f134=_0x286060,_0x312333=_0x1765fc,_0x24716d=_0x459236,_0x25400a=_0x39d58b;else _0x1765fc<=_0x448998&&_0x1765fc<=_0x39d58b?(_0x3c3faf='x',_0x129e64='z',_0x59f134=_0x5104b4,_0x312333=_0x448998,_0x24716d=_0x459236,_0x25400a=_0x39d58b):(_0x3c3faf='x',_0x129e64='y',_0x59f134=_0x5104b4,_0x312333=_0x448998,_0x24716d=_0x286060,_0x25400a=_0x1765fc);if(_0x312333===0x0)_0x312333=0x1;if(_0x25400a===0x0)_0x25400a=0x1;for(let _0x15fee7=0x0;_0x15fee7<_0x52addb[_0x2e21fb(0x125)];_0x15fee7++){const _0x2cce60=_0x52addb[_0x15fee7],_0x3bff3e=(_0x2cce60[_0x3c3faf]-_0x59f134)/_0x312333,_0x2d28ce=(_0x2cce60[_0x129e64]-_0x24716d)/_0x25400a;_0x66ebcb[_0x15fee7*0x2]=_0x3bff3e,_0x66ebcb[_0x15fee7*0x2+0x1]=_0x2d28ce;}return _0x66ebcb;}[_0x4612ce(0xf5)](_0x379ec7){const _0x4c9a23=_0x4612ce;let _0x479de6=0x0;const _0xcc8eb2=_0x379ec7[_0x4c9a23(0x125)]/0x2;for(let _0x36534f=0x0;_0x36534f<_0xcc8eb2;_0x36534f++){const _0x42807a=(_0x36534f+0x1)%_0xcc8eb2,_0x4e1659=_0x379ec7[_0x36534f*0x2],_0x3614d3=_0x379ec7[_0x36534f*0x2+0x1],_0x53393d=_0x379ec7[_0x42807a*0x2],_0x4de158=_0x379ec7[_0x42807a*0x2+0x1];_0x479de6+=_0x4e1659*_0x4de158-_0x53393d*_0x3614d3;}return _0x479de6/0x2;}[_0x4612ce(0x109)](_0x2935ee){const _0x396e50=_0x4612ce,_0x27813c=new webgpu.BufferGeometry();if(!_0x2935ee[_0x396e50(0x126)]||_0x2935ee[_0x396e50(0x126)]['length']===0x0)return console[_0x396e50(0x10e)](_0x396e50(0xef)),_0x27813c;const _0x8dd569=new Float32Array(_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)]*0x3);for(let _0x1c0b96=0x0;_0x1c0b96<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x1c0b96++){_0x8dd569[_0x1c0b96*0x3]=_0x2935ee['vertices'][_0x1c0b96]['x'],_0x8dd569[_0x1c0b96*0x3+0x1]=_0x2935ee['vertices'][_0x1c0b96]['y'],_0x8dd569[_0x1c0b96*0x3+0x2]=_0x2935ee[_0x396e50(0x126)][_0x1c0b96]['z'];}_0x27813c[_0x396e50(0x10c)]('position',new webgpu.Float32BufferAttribute(_0x8dd569,0x3));if(_0x2935ee['indices']&&_0x2935ee[_0x396e50(0xf6)][_0x396e50(0x125)]>0x0)_0x27813c[_0x396e50(0x108)](_0x2935ee[_0x396e50(0xf6)]);else {const _0x51f279=[];let _0x139b44=Infinity,_0x2aaef7=-Infinity,_0x2798c1=Infinity,_0x29a9f4=-Infinity,_0x6d45f4=Infinity,_0x433e8d=-Infinity;for(let _0x5f426e=0x0;_0x5f426e<_0x2935ee['vertices'][_0x396e50(0x125)];_0x5f426e++){const _0x12141a=_0x2935ee[_0x396e50(0x126)][_0x5f426e];_0x2798c1=Math[_0x396e50(0xf0)](_0x2798c1,_0x12141a['x']),_0x29a9f4=Math['max'](_0x29a9f4,_0x12141a['x']),_0x139b44=Math[_0x396e50(0xf0)](_0x139b44,_0x12141a['y']),_0x2aaef7=Math[_0x396e50(0x112)](_0x2aaef7,_0x12141a['y']),_0x6d45f4=Math[_0x396e50(0xf0)](_0x6d45f4,_0x12141a['z']),_0x433e8d=Math[_0x396e50(0x112)](_0x433e8d,_0x12141a['z']);}const _0x3f0c79=_0x29a9f4-_0x2798c1,_0x3171e9=_0x2aaef7-_0x139b44,_0x3aba82=_0x433e8d-_0x6d45f4;if(_0x3171e9<=_0x3f0c79&&_0x3171e9<=_0x3aba82){for(let _0x4fd388=0x0;_0x4fd388<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x4fd388++){_0x51f279['push'](_0x2935ee[_0x396e50(0x126)][_0x4fd388]['x']),_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0x4fd388]['z']);}}else {if(_0x3f0c79<=_0x3171e9&&_0x3f0c79<=_0x3aba82){for(let _0xf45de6=0x0;_0xf45de6<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0xf45de6++){_0x51f279['push'](_0x2935ee['vertices'][_0xf45de6]['y']),_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0xf45de6]['z']);}}else {for(let _0x3134c6=0x0;_0x3134c6<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x3134c6++){_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0x3134c6]['x']),_0x51f279[_0x396e50(0xfb)](_0x2935ee['vertices'][_0x3134c6]['y']);}}}const _0x48fa2d=this[_0x396e50(0xf5)](_0x51f279),_0x45c210=_0x48fa2d<0x0;if(_0x45c210){console[_0x396e50(0xea)]('CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...'),_0x51f279[_0x396e50(0x115)]();const _0x28b366=[];for(let _0x56647f=_0x51f279['length']-0x2;_0x56647f>=0x0;_0x56647f-=0x2){_0x28b366[_0x396e50(0xfb)](_0x51f279[_0x56647f],_0x51f279[_0x56647f+0x1]);}_0x51f279['length']=0x0,_0x51f279[_0x396e50(0xfb)](..._0x28b366);}try{const _0x12c453=_0xc27732(_0x51f279,undefined,0x2);if(_0x12c453&&_0x12c453[_0x396e50(0x125)]>0x0){if(_0x45c210)for(let _0x2fdd58=0x0;_0x2fdd58<_0x12c453[_0x396e50(0x125)];_0x2fdd58+=0x3){const _0x5ac192=_0x12c453[_0x2fdd58];_0x12c453[_0x2fdd58]=_0x12c453[_0x2fdd58+0x2],_0x12c453[_0x2fdd58+0x2]=_0x5ac192;}_0x27813c[_0x396e50(0x108)](_0x12c453);}else console['warn'](_0x396e50(0x114));}catch(_0x506457){console[_0x396e50(0x10e)](_0x396e50(0x104),_0x506457);}}if(_0x2935ee['normals']&&_0x2935ee[_0x396e50(0x11f)][_0x396e50(0x125)]===_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)]){const _0x1e9563=new Float32Array(_0x2935ee['normals'][_0x396e50(0x125)]*0x3);for(let _0x17d88e=0x0;_0x17d88e<_0x2935ee[_0x396e50(0x11f)][_0x396e50(0x125)];_0x17d88e++){_0x1e9563[_0x17d88e*0x3]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['x'],_0x1e9563[_0x17d88e*0x3+0x1]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['y'],_0x1e9563[_0x17d88e*0x3+0x2]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['z'];}_0x27813c['setAttribute']('normal',new webgpu.Float32BufferAttribute(_0x1e9563,0x3));}else _0x27813c[_0x396e50(0x116)]();if(_0x2935ee['uvs']&&_0x2935ee[_0x396e50(0xe7)][_0x396e50(0x125)]>0x0){const _0x4466b4=new Float32Array(_0x2935ee[_0x396e50(0xe7)]['length']*0x2);for(let _0x25565f=0x0;_0x25565f<_0x2935ee[_0x396e50(0xe7)][_0x396e50(0x125)];_0x25565f++){_0x4466b4[_0x25565f*0x2]=_0x2935ee['uvs'][_0x25565f]['x'],_0x4466b4[_0x25565f*0x2+0x1]=_0x2935ee[_0x396e50(0xe7)][_0x25565f]['y'];}_0x27813c[_0x396e50(0x10c)]('uv',new webgpu.Float32BufferAttribute(_0x4466b4,0x2));}else {const _0x2fdf55=this['computeUVs'](_0x2935ee['vertices']);_0x27813c['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x2fdf55,0x2));}if(_0x2935ee[_0x396e50(0x11e)]&&_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)]===_0x2935ee[_0x396e50(0x126)]['length']){const _0xc36b3=new Float32Array(_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)]*0x3);for(let _0x549a0d=0x0;_0x549a0d<_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)];_0x549a0d++){_0xc36b3[_0x549a0d*0x3]=_0x2935ee['colors'][_0x549a0d]['r'],_0xc36b3[_0x549a0d*0x3+0x1]=_0x2935ee['colors'][_0x549a0d]['g'],_0xc36b3[_0x549a0d*0x3+0x2]=_0x2935ee[_0x396e50(0x11e)][_0x549a0d]['b'];}_0x27813c[_0x396e50(0x10c)](_0x396e50(0xff),new webgpu.Float32BufferAttribute(_0xc36b3,0x3));}return _0x27813c;}set[_0x4612ce(0x129)](_0x10125c){const _0x4275bf=_0x4612ce;var _0xd7b9a3,_0x2f7dd9,_0x599216;this[_0x4275bf(0x10a)]&&this[_0x4275bf(0x10a)][_0x4275bf(0x121)]();const _0x8a7ea3=this['constructGeometry'](_0x10125c);this[_0x4275bf(0x10a)]=this[_0x4275bf(0x119)][_0x4275bf(0xf2)][_0x4275bf(0x110)](_0x8a7ea3),this[_0x4275bf(0x100)]['geometry']=_0x8a7ea3,this[_0x4275bf(0xfc)]={'vertices':_0x10125c[_0x4275bf(0x126)][_0x4275bf(0xf1)](_0x119b0f=>_0x119b0f[_0x4275bf(0x10b)]()),'indices':_0x10125c['indices']?[..._0x10125c['indices']]:undefined,'normals':(_0xd7b9a3=_0x10125c[_0x4275bf(0x11f)])===null||_0xd7b9a3===void 0?void 0:_0xd7b9a3['map'](_0x36e0ef=>_0x36e0ef[_0x4275bf(0x10b)]()),'uvs':(_0x2f7dd9=_0x10125c[_0x4275bf(0xe7)])===null||_0x2f7dd9===void 0?void 0:_0x2f7dd9[_0x4275bf(0xf1)](_0x2880d6=>_0x2880d6[_0x4275bf(0x10b)]()),'colors':(_0x599216=_0x10125c[_0x4275bf(0x11e)])===null||_0x599216===void 0?void 0:_0x599216[_0x4275bf(0xf1)](_0x3dfd47=>_0x3dfd47[_0x4275bf(0x10b)]())},this[_0x4275bf(0xf8)]&&this['world'][_0x4275bf(0xee)]['markRenderStateDirty']();}get['meshData'](){const _0x264831=_0x4612ce;return this[_0x264831(0xfc)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x4612ce(0x124)](_0x37b900){const _0x53b00d=_0x4612ce;if(this['threeObject'])this[_0x53b00d(0x100)][_0x53b00d(0x124)]=_0x37b900;}get[_0x4612ce(0x124)](){const _0x4e93d6=_0x4612ce;return this[_0x4e93d6(0x100)]?this[_0x4e93d6(0x100)][_0x4e93d6(0x124)]:![];}set[_0x4612ce(0x122)](_0x539556){const _0x2e25b4=_0x4612ce;if(!this[_0x2e25b4(0x100)])return;this[_0x2e25b4(0x100)][_0x2e25b4(0x122)]=_0x539556;}get[_0x4612ce(0x122)](){const _0x239541=_0x4612ce;return this[_0x239541(0x100)]?this[_0x239541(0x100)][_0x239541(0x122)]:![];}[_0x4612ce(0xfe)](){const _0xf1f4a2=_0x4612ce;let _0x4a6e7f=new webgpu.Vector3();return this['getBounds']()[_0xf1f4a2(0xf7)](_0x4a6e7f),_0x4a6e7f;}[_0x4612ce(0xeb)](){const _0x4db57d=_0x4612ce;let _0x3c77d9=new webgpu.Vector3(),_0x404613=this[_0x4db57d(0x128)]();return _0x404613[_0x4db57d(0xf7)](_0x3c77d9),_0x3c77d9['y']=_0x404613[_0x4db57d(0x112)]['y'],_0x3c77d9;}['getBoundsBottomCenterPosition'](){const _0x2e53fc=_0x4612ce;let _0x1637f7=new webgpu.Vector3(),_0x5496c0=this[_0x2e53fc(0x128)]();return _0x5496c0[_0x2e53fc(0xf7)](_0x1637f7),_0x1637f7['y']=_0x5496c0[_0x2e53fc(0xf0)]['y'],_0x1637f7;}['destroyObject'](){const _0x1e1e77=_0x4612ce;var _0x17b729,_0x2b54b6;this[_0x1e1e77(0x100)]&&this['threeObject']['removeFromParent'](),(_0x17b729=this[_0x1e1e77(0x10a)])===null||_0x17b729===void 0?void 0:_0x17b729[_0x1e1e77(0x121)](),(_0x2b54b6=this['_materialPtr'])===null||_0x2b54b6===void 0?void 0:_0x2b54b6[_0x1e1e77(0x121)](),super[_0x1e1e77(0x11c)]();}}
|
|
132
|
+
const _0x5905f7=_0x36a9;(function(_0x508bd0,_0x3fe174){const _0x4416a0=_0x36a9,_0x397a90=_0x508bd0();while(!![]){try{const _0xa52f62=-parseInt(_0x4416a0(0xd4))/0x1+parseInt(_0x4416a0(0xd6))/0x2*(-parseInt(_0x4416a0(0xf4))/0x3)+parseInt(_0x4416a0(0xd3))/0x4+parseInt(_0x4416a0(0xe5))/0x5*(parseInt(_0x4416a0(0xcc))/0x6)+-parseInt(_0x4416a0(0xc9))/0x7*(-parseInt(_0x4416a0(0xc3))/0x8)+parseInt(_0x4416a0(0xe6))/0x9*(parseInt(_0x4416a0(0xfa))/0xa)+-parseInt(_0x4416a0(0xb6))/0xb;if(_0xa52f62===_0x3fe174)break;else _0x397a90['push'](_0x397a90['shift']());}catch(_0x372862){_0x397a90['push'](_0x397a90['shift']());}}}(_0xe406,0xe3b29));function _0xe406(){const _0x2d83c8=['computeVertexNormals','addGeometryAsset','normals','removeFromParent','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','constructGeometry','viewport','destroyObject','CustomMeshComponent','68755oSeBHC','27KyWTMc','CustomMeshComponent:\x20Invalid\x20vertices\x20data','_materialPtr','indices','_meshData','CustomMeshComponent:\x20threeObject\x20is\x20null','getCenter','push','materialPtr\x20is\x20null','material','vertices','setAttribute','reverse','addRef','33552heztYz','colors','normal','castShadow','geometryPtr\x20is\x20null','markRenderStateDirty','4482230HswbEJ','getValue','length','getBoundsBottomCenterPosition','addMaterialAsset','max','setIndex','22463496gJgxle','world','error','material\x20is\x20null','release','threeObject','computeUVs','color','clone','obj','name','receiveShadow','app','151224HzCPvi','meshData','createDefaultObject','getBoundsCenterPosition','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','LYObject','434NkKarG','_geometryPtr','uvs','390xaIJWB','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','getBoundsTopCenterPosition','calculatePolygonArea','getBounds','geometry','map','6309288oIxrnQ','1856431Edssjj','materialPtr','28jSWUiB','warn','geometryPtr','userData','assetManager','min'];_0xe406=function(){return _0x2d83c8;};return _0xe406();}function _0x36a9(_0x19cf24,_0x3e3f10){_0x19cf24=_0x19cf24-0xb2;const _0xe406fe=_0xe406();let _0x36a9c2=_0xe406fe[_0x19cf24];return _0x36a9c2;}class CustomMeshComponent extends SceneComponent{get[_0x5905f7(0xbb)](){const _0xbe3963=_0x5905f7;if(!this[_0xbe3963(0xbf)])throw new Error(_0xbe3963(0xeb));return this[_0xbe3963(0xbf)];}set[_0x5905f7(0xbb)](_0x5cce59){const _0x316577=_0x5905f7;this[_0x316577(0xbf)]=_0x5cce59,this[_0x316577(0xbf)]&&(this['obj'][_0x316577(0xd9)][_0x316577(0xc8)]=this);}get[_0x5905f7(0xd1)](){const _0x1f33df=_0x5905f7;if(!this[_0x1f33df(0xca)])throw new Error(_0x1f33df(0xf8));return this[_0x1f33df(0xca)][_0x1f33df(0xfb)]();}set[_0x5905f7(0xd1)](_0xbfef72){const _0x53f564=_0x5905f7;let _0x2e88fd=this['app'][_0x53f564(0xda)][_0x53f564(0xdd)](_0xbfef72);this[_0x53f564(0xd8)]=_0x2e88fd;}get[_0x5905f7(0xd8)](){const _0x5a4cff=_0x5905f7;if(!this[_0x5a4cff(0xca)])throw new Error(_0x5a4cff(0xf8));return this[_0x5a4cff(0xca)];}set['geometryPtr'](_0x3670ed){const _0x47d8e5=_0x5905f7;this[_0x47d8e5(0xca)]&&(this[_0x47d8e5(0xca)][_0x47d8e5(0xba)](),this[_0x47d8e5(0xca)]=null);this[_0x47d8e5(0xca)]=_0x3670ed;let _0x26b491=_0x3670ed['getValue']();this['threeObject']&&_0x26b491&&(this[_0x47d8e5(0xbb)][_0x47d8e5(0xd1)]=_0x26b491);}get[_0x5905f7(0xef)](){const _0x423034=_0x5905f7;if(!this[_0x423034(0xe8)])throw new Error(_0x423034(0xee));let _0x14f49d=this[_0x423034(0xe8)]['getValue']();if(!_0x14f49d)throw new Error(_0x423034(0xb9));return _0x14f49d;}get['materialPtr'](){const _0x5aafc9=_0x5905f7;if(!this[_0x5aafc9(0xe8)])throw new Error(_0x5aafc9(0xee));return this['_materialPtr'];}set['material'](_0x1d20eb){const _0x281a58=_0x5905f7;let _0x34ef4a=this[_0x281a58(0xc2)]['assetManager'][_0x281a58(0xb3)](_0x1d20eb);this[_0x281a58(0xd5)]=_0x34ef4a;}set[_0x5905f7(0xd5)](_0x567db5){const _0x59e716=_0x5905f7;this[_0x59e716(0xe8)]&&(this[_0x59e716(0xe8)]['release'](),this[_0x59e716(0xe8)]=null);this[_0x59e716(0xe8)]=_0x567db5;let _0x1df98f=_0x567db5[_0x59e716(0xfb)]();_0x567db5[_0x59e716(0xf3)](),this[_0x59e716(0xbb)]&&_0x1df98f&&(this[_0x59e716(0xbb)]['material']=_0x1df98f);}constructor(_0x2f7842,_0x2a7c64,_0xaeba33,_0x1e5426){const _0xae58d8=_0x5905f7;super(_0x2f7842,_0x1e5426),this['_meshData']=_0x2a7c64;let _0x9ed244=_0x2f7842[_0xae58d8(0xda)][_0xae58d8(0xb3)](_0xaeba33);this['_materialPtr']=_0x9ed244,_0x9ed244['addRef']();const _0x157208=this[_0xae58d8(0xe1)](_0x2a7c64);this[_0xae58d8(0xca)]=_0x2f7842[_0xae58d8(0xda)][_0xae58d8(0xdd)](_0x157208),this[_0xae58d8(0xbb)]['material']=_0xaeba33,this[_0xae58d8(0xbb)][_0xae58d8(0xd1)]=_0x157208,this[_0xae58d8(0xc0)]=_0xae58d8(0xe4),this[_0xae58d8(0xf7)]=!![],this['receiveShadow']=!![];}[_0x5905f7(0xbc)](_0x2d25c4){const _0x4492ca=_0x5905f7,_0x56dcb1=new Float32Array(_0x2d25c4[_0x4492ca(0xfc)]*0x2);if(_0x2d25c4[_0x4492ca(0xfc)]===0x0)return _0x56dcb1;let _0x598e13=Infinity,_0x30c3db=-Infinity,_0x2502ef=Infinity,_0x28a531=-Infinity,_0x2d7ed7=Infinity,_0x28c540=-Infinity;for(const _0x30531b of _0x2d25c4){_0x598e13=Math[_0x4492ca(0xdb)](_0x598e13,_0x30531b['x']),_0x30c3db=Math[_0x4492ca(0xb4)](_0x30c3db,_0x30531b['x']),_0x2502ef=Math[_0x4492ca(0xdb)](_0x2502ef,_0x30531b['y']),_0x28a531=Math[_0x4492ca(0xb4)](_0x28a531,_0x30531b['y']),_0x2d7ed7=Math[_0x4492ca(0xdb)](_0x2d7ed7,_0x30531b['z']),_0x28c540=Math['max'](_0x28c540,_0x30531b['z']);}const _0x30cfa5=_0x30c3db-_0x598e13,_0x4432da=_0x28a531-_0x2502ef,_0x4c4df4=_0x28c540-_0x2d7ed7;let _0x33d8dc,_0x546724,_0x3a4c78,_0x456e67,_0x499746,_0x5cec25;if(_0x30cfa5<=_0x4432da&&_0x30cfa5<=_0x4c4df4)_0x33d8dc='y',_0x546724='z',_0x3a4c78=_0x2502ef,_0x456e67=_0x4432da,_0x499746=_0x2d7ed7,_0x5cec25=_0x4c4df4;else _0x4432da<=_0x30cfa5&&_0x4432da<=_0x4c4df4?(_0x33d8dc='x',_0x546724='z',_0x3a4c78=_0x598e13,_0x456e67=_0x30cfa5,_0x499746=_0x2d7ed7,_0x5cec25=_0x4c4df4):(_0x33d8dc='x',_0x546724='y',_0x3a4c78=_0x598e13,_0x456e67=_0x30cfa5,_0x499746=_0x2502ef,_0x5cec25=_0x4432da);if(_0x456e67===0x0)_0x456e67=0x1;if(_0x5cec25===0x0)_0x5cec25=0x1;for(let _0x926e77=0x0;_0x926e77<_0x2d25c4['length'];_0x926e77++){const _0x1f51bf=_0x2d25c4[_0x926e77],_0x1851f7=(_0x1f51bf[_0x33d8dc]-_0x3a4c78)/_0x456e67,_0x964ea=(_0x1f51bf[_0x546724]-_0x499746)/_0x5cec25;_0x56dcb1[_0x926e77*0x2]=_0x1851f7,_0x56dcb1[_0x926e77*0x2+0x1]=_0x964ea;}return _0x56dcb1;}[_0x5905f7(0xcf)](_0x1665be){const _0x15f511=_0x5905f7;let _0x45203b=0x0;const _0x14dca5=_0x1665be[_0x15f511(0xfc)]/0x2;for(let _0x48a7cb=0x0;_0x48a7cb<_0x14dca5;_0x48a7cb++){const _0x10234c=(_0x48a7cb+0x1)%_0x14dca5,_0x37a189=_0x1665be[_0x48a7cb*0x2],_0x200bfe=_0x1665be[_0x48a7cb*0x2+0x1],_0x32f933=_0x1665be[_0x10234c*0x2],_0x44bf60=_0x1665be[_0x10234c*0x2+0x1];_0x45203b+=_0x37a189*_0x44bf60-_0x32f933*_0x200bfe;}return _0x45203b/0x2;}[_0x5905f7(0xe1)](_0x43189f){const _0x59c0d8=_0x5905f7,_0x135c5a=new webgpu.BufferGeometry();if(!_0x43189f[_0x59c0d8(0xf0)]||_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)]===0x0)return console[_0x59c0d8(0xb8)](_0x59c0d8(0xe7)),_0x135c5a;const _0x59105b=new Float32Array(_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)]*0x3);for(let _0x2837d6=0x0;_0x2837d6<_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)];_0x2837d6++){_0x59105b[_0x2837d6*0x3]=_0x43189f['vertices'][_0x2837d6]['x'],_0x59105b[_0x2837d6*0x3+0x1]=_0x43189f['vertices'][_0x2837d6]['y'],_0x59105b[_0x2837d6*0x3+0x2]=_0x43189f['vertices'][_0x2837d6]['z'];}_0x135c5a[_0x59c0d8(0xf1)]('position',new webgpu.Float32BufferAttribute(_0x59105b,0x3));if(_0x43189f['indices']&&_0x43189f['indices'][_0x59c0d8(0xfc)]>0x0)_0x135c5a[_0x59c0d8(0xb5)](_0x43189f[_0x59c0d8(0xe9)]);else {const _0x2cc24c=[];let _0x4bdc80=Infinity,_0x90f59b=-Infinity,_0x11eb62=Infinity,_0x2fb306=-Infinity,_0x32596c=Infinity,_0xd63cf4=-Infinity;for(let _0x3cd393=0x0;_0x3cd393<_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)];_0x3cd393++){const _0x11436f=_0x43189f[_0x59c0d8(0xf0)][_0x3cd393];_0x11eb62=Math[_0x59c0d8(0xdb)](_0x11eb62,_0x11436f['x']),_0x2fb306=Math[_0x59c0d8(0xb4)](_0x2fb306,_0x11436f['x']),_0x4bdc80=Math[_0x59c0d8(0xdb)](_0x4bdc80,_0x11436f['y']),_0x90f59b=Math[_0x59c0d8(0xb4)](_0x90f59b,_0x11436f['y']),_0x32596c=Math[_0x59c0d8(0xdb)](_0x32596c,_0x11436f['z']),_0xd63cf4=Math[_0x59c0d8(0xb4)](_0xd63cf4,_0x11436f['z']);}const _0x375ad3=_0x2fb306-_0x11eb62,_0x3105e1=_0x90f59b-_0x4bdc80,_0x3a019f=_0xd63cf4-_0x32596c;if(_0x3105e1<=_0x375ad3&&_0x3105e1<=_0x3a019f){for(let _0x504169=0x0;_0x504169<_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)];_0x504169++){_0x2cc24c['push'](_0x43189f[_0x59c0d8(0xf0)][_0x504169]['x']),_0x2cc24c[_0x59c0d8(0xed)](_0x43189f[_0x59c0d8(0xf0)][_0x504169]['z']);}}else {if(_0x375ad3<=_0x3105e1&&_0x375ad3<=_0x3a019f){for(let _0x10e804=0x0;_0x10e804<_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)];_0x10e804++){_0x2cc24c['push'](_0x43189f[_0x59c0d8(0xf0)][_0x10e804]['y']),_0x2cc24c[_0x59c0d8(0xed)](_0x43189f[_0x59c0d8(0xf0)][_0x10e804]['z']);}}else {for(let _0x2b4c2a=0x0;_0x2b4c2a<_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)];_0x2b4c2a++){_0x2cc24c[_0x59c0d8(0xed)](_0x43189f[_0x59c0d8(0xf0)][_0x2b4c2a]['x']),_0x2cc24c[_0x59c0d8(0xed)](_0x43189f[_0x59c0d8(0xf0)][_0x2b4c2a]['y']);}}}const _0x2937f9=this['calculatePolygonArea'](_0x2cc24c),_0x51e72a=_0x2937f9<0x0;if(_0x51e72a){console['warn'](_0x59c0d8(0xe0)),_0x2cc24c[_0x59c0d8(0xf2)]();const _0x46eeff=[];for(let _0x4150aa=_0x2cc24c['length']-0x2;_0x4150aa>=0x0;_0x4150aa-=0x2){_0x46eeff[_0x59c0d8(0xed)](_0x2cc24c[_0x4150aa],_0x2cc24c[_0x4150aa+0x1]);}_0x2cc24c['length']=0x0,_0x2cc24c[_0x59c0d8(0xed)](..._0x46eeff);}try{const _0x40891e=_0x42da93(_0x2cc24c,undefined,0x2);if(_0x40891e&&_0x40891e['length']>0x0){if(_0x51e72a)for(let _0x1319b9=0x0;_0x1319b9<_0x40891e[_0x59c0d8(0xfc)];_0x1319b9+=0x3){const _0x1a7e5f=_0x40891e[_0x1319b9];_0x40891e[_0x1319b9]=_0x40891e[_0x1319b9+0x2],_0x40891e[_0x1319b9+0x2]=_0x1a7e5f;}_0x135c5a['setIndex'](_0x40891e);}else console[_0x59c0d8(0xd7)](_0x59c0d8(0xc7));}catch(_0x52f5b8){console[_0x59c0d8(0xb8)](_0x59c0d8(0xcd),_0x52f5b8);}}if(_0x43189f[_0x59c0d8(0xde)]&&_0x43189f[_0x59c0d8(0xde)][_0x59c0d8(0xfc)]===_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)]){const _0x5296f4=new Float32Array(_0x43189f['normals']['length']*0x3);for(let _0x306379=0x0;_0x306379<_0x43189f[_0x59c0d8(0xde)][_0x59c0d8(0xfc)];_0x306379++){_0x5296f4[_0x306379*0x3]=_0x43189f[_0x59c0d8(0xde)][_0x306379]['x'],_0x5296f4[_0x306379*0x3+0x1]=_0x43189f[_0x59c0d8(0xde)][_0x306379]['y'],_0x5296f4[_0x306379*0x3+0x2]=_0x43189f['normals'][_0x306379]['z'];}_0x135c5a['setAttribute'](_0x59c0d8(0xf6),new webgpu.Float32BufferAttribute(_0x5296f4,0x3));}else _0x135c5a[_0x59c0d8(0xdc)]();if(_0x43189f[_0x59c0d8(0xcb)]&&_0x43189f[_0x59c0d8(0xcb)][_0x59c0d8(0xfc)]>0x0){const _0x518f3d=new Float32Array(_0x43189f[_0x59c0d8(0xcb)]['length']*0x2);for(let _0x299bf4=0x0;_0x299bf4<_0x43189f[_0x59c0d8(0xcb)][_0x59c0d8(0xfc)];_0x299bf4++){_0x518f3d[_0x299bf4*0x2]=_0x43189f[_0x59c0d8(0xcb)][_0x299bf4]['x'],_0x518f3d[_0x299bf4*0x2+0x1]=_0x43189f['uvs'][_0x299bf4]['y'];}_0x135c5a[_0x59c0d8(0xf1)]('uv',new webgpu.Float32BufferAttribute(_0x518f3d,0x2));}else {const _0x5b7b52=this[_0x59c0d8(0xbc)](_0x43189f[_0x59c0d8(0xf0)]);_0x135c5a[_0x59c0d8(0xf1)]('uv',new webgpu.Float32BufferAttribute(_0x5b7b52,0x2));}if(_0x43189f[_0x59c0d8(0xf5)]&&_0x43189f['colors']['length']===_0x43189f[_0x59c0d8(0xf0)][_0x59c0d8(0xfc)]){const _0x282199=new Float32Array(_0x43189f[_0x59c0d8(0xf5)][_0x59c0d8(0xfc)]*0x3);for(let _0x1a7d8e=0x0;_0x1a7d8e<_0x43189f[_0x59c0d8(0xf5)]['length'];_0x1a7d8e++){_0x282199[_0x1a7d8e*0x3]=_0x43189f[_0x59c0d8(0xf5)][_0x1a7d8e]['r'],_0x282199[_0x1a7d8e*0x3+0x1]=_0x43189f[_0x59c0d8(0xf5)][_0x1a7d8e]['g'],_0x282199[_0x1a7d8e*0x3+0x2]=_0x43189f[_0x59c0d8(0xf5)][_0x1a7d8e]['b'];}_0x135c5a[_0x59c0d8(0xf1)](_0x59c0d8(0xbd),new webgpu.Float32BufferAttribute(_0x282199,0x3));}return _0x135c5a;}set[_0x5905f7(0xc4)](_0x43b666){const _0x1cfd56=_0x5905f7;var _0x5316b1,_0x29a46d,_0x1cf065;this[_0x1cfd56(0xca)]&&this['_geometryPtr']['release']();const _0x49e7b5=this[_0x1cfd56(0xe1)](_0x43b666);this[_0x1cfd56(0xca)]=this['app'][_0x1cfd56(0xda)][_0x1cfd56(0xdd)](_0x49e7b5),this[_0x1cfd56(0xbb)][_0x1cfd56(0xd1)]=_0x49e7b5,this[_0x1cfd56(0xea)]={'vertices':_0x43b666[_0x1cfd56(0xf0)]['map'](_0x646dad=>_0x646dad['clone']()),'indices':_0x43b666[_0x1cfd56(0xe9)]?[..._0x43b666[_0x1cfd56(0xe9)]]:undefined,'normals':(_0x5316b1=_0x43b666[_0x1cfd56(0xde)])===null||_0x5316b1===void 0?void 0:_0x5316b1[_0x1cfd56(0xd2)](_0x1b3574=>_0x1b3574[_0x1cfd56(0xbe)]()),'uvs':(_0x29a46d=_0x43b666[_0x1cfd56(0xcb)])===null||_0x29a46d===void 0?void 0:_0x29a46d['map'](_0x297dfe=>_0x297dfe[_0x1cfd56(0xbe)]()),'colors':(_0x1cf065=_0x43b666[_0x1cfd56(0xf5)])===null||_0x1cf065===void 0?void 0:_0x1cf065[_0x1cfd56(0xd2)](_0x3013e7=>_0x3013e7[_0x1cfd56(0xbe)]())},this[_0x1cfd56(0xb7)]&&this['world'][_0x1cfd56(0xe2)][_0x1cfd56(0xf9)]();}get[_0x5905f7(0xc4)](){return this['_meshData'];}[_0x5905f7(0xc5)](){return new webgpu.Mesh();}set[_0x5905f7(0xf7)](_0x4e33cd){const _0x46acb6=_0x5905f7;if(this[_0x46acb6(0xbb)])this['threeObject'][_0x46acb6(0xf7)]=_0x4e33cd;}get[_0x5905f7(0xf7)](){const _0x59d18a=_0x5905f7;return this[_0x59d18a(0xbb)]?this[_0x59d18a(0xbb)][_0x59d18a(0xf7)]:![];}set[_0x5905f7(0xc1)](_0x164326){const _0x237853=_0x5905f7;if(!this[_0x237853(0xbb)])return;this[_0x237853(0xbb)]['receiveShadow']=_0x164326;}get['receiveShadow'](){const _0x18787d=_0x5905f7;return this[_0x18787d(0xbb)]?this['threeObject'][_0x18787d(0xc1)]:![];}[_0x5905f7(0xc6)](){const _0x53a220=_0x5905f7;let _0x274ac6=new webgpu.Vector3();return this['getBounds']()[_0x53a220(0xec)](_0x274ac6),_0x274ac6;}[_0x5905f7(0xce)](){const _0x4346da=_0x5905f7;let _0x19bfd8=new webgpu.Vector3(),_0x1b907d=this[_0x4346da(0xd0)]();return _0x1b907d[_0x4346da(0xec)](_0x19bfd8),_0x19bfd8['y']=_0x1b907d[_0x4346da(0xb4)]['y'],_0x19bfd8;}[_0x5905f7(0xb2)](){const _0x5501f2=_0x5905f7;let _0x47e93d=new webgpu.Vector3(),_0x2f7911=this[_0x5501f2(0xd0)]();return _0x2f7911[_0x5501f2(0xec)](_0x47e93d),_0x47e93d['y']=_0x2f7911['min']['y'],_0x47e93d;}[_0x5905f7(0xe3)](){const _0x3ca5a2=_0x5905f7;var _0x5de712,_0x476943;this['threeObject']&&this['threeObject'][_0x3ca5a2(0xdf)](),(_0x5de712=this[_0x3ca5a2(0xca)])===null||_0x5de712===void 0?void 0:_0x5de712[_0x3ca5a2(0xba)](),(_0x476943=this[_0x3ca5a2(0xe8)])===null||_0x476943===void 0?void 0:_0x476943['release'](),super[_0x3ca5a2(0xe3)]();}}
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
(function(_0x540044,_0x1e9f6a){var _0x2a5de1=_0x1c61,_0x167b12=_0x540044();while(!![]){try{var _0x50ae11=parseInt(_0x2a5de1(0x135))/0x1*(-parseInt(_0x2a5de1(0x139))/0x2)+-parseInt(_0x2a5de1(0x133))/0x3*(-parseInt(_0x2a5de1(0x131))/0x4)+parseInt(_0x2a5de1(0x136))/0x5+parseInt(_0x2a5de1(0x134))/0x6+parseInt(_0x2a5de1(0x138))/0x7+parseInt(_0x2a5de1(0x132))/0x8+-parseInt(_0x2a5de1(0x137))/0x9;if(_0x50ae11===_0x1e9f6a)break;else _0x167b12['push'](_0x167b12['shift']());}catch(_0x471b7e){_0x167b12['push'](_0x167b12['shift']());}}}(_0x5f04,0xabcaf));function _0x1c61(_0x208579,_0x4ffcf7){_0x208579=_0x208579-0x131;var _0x5f042c=_0x5f04();var _0x1c615d=_0x5f042c[_0x208579];return _0x1c615d;}function _0x5f04(){var _0xe4cc7e=['16785774bIdiiu','9382037fpQcsT','284176VvgNjb','4gPjTwj','3608080vcjDbh','1993377VcMgZC','2812896kfeHBV','6iiWxXJ','2483505vdyKlZ'];_0x5f04=function(){return _0xe4cc7e;};return _0x5f04();}class SphereComponent extends MeshComponent{constructor(_0x5339d3,_0x41c861,_0x139e33=new webgpu.MeshBasicMaterial(),_0x45b3d2=0x20,_0x172f46=0x10,_0x41f077){super(_0x5339d3,new webgpu.SphereGeometry(_0x41c861,_0x45b3d2,_0x172f46),_0x139e33,_0x41f077);}}
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
const _0x5bcf9e=_0xe3aa;(function(_0x1a2edc,_0x15f8e5){const _0x106c37=_0xe3aa,_0x472033=_0x1a2edc();while(!![]){try{const _0x51f44f=parseInt(_0x106c37(0x112))/0x1*(-parseInt(_0x106c37(0x10a))/0x2)+-parseInt(_0x106c37(0xfe))/0x3+parseInt(_0x106c37(0x10b))/0x4+parseInt(_0x106c37(0x102))/0x5*(-parseInt(_0x106c37(0x10f))/0x6)+-parseInt(_0x106c37(0x113))/0x7+parseInt(_0x106c37(0x10e))/0x8+parseInt(_0x106c37(0x10c))/0x9*(parseInt(_0x106c37(0x110))/0xa);if(_0x51f44f===_0x15f8e5)break;else _0x472033['push'](_0x472033['shift']());}catch(_0x1b5094){_0x472033['push'](_0x472033['shift']());}}}(_0x44e7,0x7c10a));function _0x44e7(){const _0x2e1bc2=['LYObject','destroy','userData','1109454BAKHTf','style','innerHTML','setVisible','35KOTDuJ','obj','copy','pointerEvents','element','threeObject','parentNode','stopPropagation','865138yVrdia','1220060NGHIMU','18KKaRHs','addEventListener','3596552UfhsLJ','107400drWkqe','4827520UspNRZ','auto','1eRjYLk','1989617rHxwgX','center'];_0x44e7=function(){return _0x2e1bc2;};return _0x44e7();}function _0xe3aa(_0xe4211a,_0x7ca8b8){_0xe4211a=_0xe4211a-0xfb;const _0x44e72b=_0x44e7();let _0xe3aa4f=_0x44e72b[_0xe4211a];return _0xe3aa4f;}class LabelComponent extends SceneComponent{get[_0x5bcf9e(0x107)](){const _0x2462ae=_0x5bcf9e;return this[_0x2462ae(0x103)];}set['threeObject'](_0x535b5d){const _0x3fa224=_0x5bcf9e;this[_0x3fa224(0x103)]=_0x535b5d,this[_0x3fa224(0x103)]&&(this[_0x3fa224(0x103)][_0x3fa224(0xfd)][_0x3fa224(0xfb)]=this);}constructor(_0x1113c6,_0x20bfe0,_0x925aab={},_0x11c90e){const _0x2cc822=_0x5bcf9e;super(_0x1113c6,_0x11c90e),this[_0x2cc822(0x103)]=new CSS2DRenderer_js.CSS2DObject(_0x20bfe0);const _0x53d7bb=_0x925aab[_0x2cc822(0x114)]||new webgpu.Vector2(0.5,0x1);_0x925aab['enablePointerEvents']&&(_0x20bfe0[_0x2cc822(0xff)][_0x2cc822(0x105)]=_0x2cc822(0x111),_0x20bfe0[_0x2cc822(0x10d)]('pointerdown',_0xa43f37=>{const _0x1ba381=_0x2cc822;_0xa43f37[_0x1ba381(0x109)]();})),this[_0x2cc822(0x103)]['center'][_0x2cc822(0x104)](_0x53d7bb);}set['isHoverEnabled'](_0x5f0f27){return;}set['isClickEnabled'](_0x19457b){return;}[_0x5bcf9e(0x101)](_0x54fc47){const _0x654c1=_0x5bcf9e;super[_0x654c1(0x101)](_0x54fc47);}[_0x5bcf9e(0xfc)](){const _0x46bb97=_0x5bcf9e;this[_0x46bb97(0x107)][_0x46bb97(0x106)]&&this[_0x46bb97(0x107)][_0x46bb97(0x106)][_0x46bb97(0x108)]&&(this[_0x46bb97(0x107)][_0x46bb97(0x106)][_0x46bb97(0x100)]='',this[_0x46bb97(0x107)]['element']['remove']()),super[_0x46bb97(0xfc)]();}}
|
|
137
137
|
|
|
138
|
-
function _0x7ce3(_0x313e71,_0x1700b3){_0x313e71=_0x313e71-0xcc;const _0x314361=_0x3143();let _0x7ce3f4=_0x314361[_0x313e71];return _0x7ce3f4;}const _0x2276d1=_0x7ce3;(function(_0x19621e,_0x25229a){const _0x3ba4b7=_0x7ce3,_0x4f5fb8=_0x19621e();while(!![]){try{const _0x140f41=parseInt(_0x3ba4b7(0xe4))/0x1*(-parseInt(_0x3ba4b7(0xe9))/0x2)+-parseInt(_0x3ba4b7(0xf5))/0x3*(-parseInt(_0x3ba4b7(0x13b))/0x4)+-parseInt(_0x3ba4b7(0x128))/0x5+parseInt(_0x3ba4b7(0xdc))/0x6+-parseInt(_0x3ba4b7(0xf8))/0x7*(-parseInt(_0x3ba4b7(0xf6))/0x8)+-parseInt(_0x3ba4b7(0x102))/0x9+parseInt(_0x3ba4b7(0xd0))/0xa;if(_0x140f41===_0x25229a)break;else _0x4f5fb8['push'](_0x4f5fb8['shift']());}catch(_0x1689ed){_0x4f5fb8['push'](_0x4f5fb8['shift']());}}}(_0x3143,0x2f975));function _0x3143(){const _0x2e5d3d=['fog','count','name','fromBufferAttribute','obj','getIndex','startsWith','100%','destroy','1877694KLPtTw','threeObject','test','pointerEvents','hidden','height','none','cameraWorldPos','321031rrJiGI','setupOcclusionTick','background','remove','CSS3DWebPanelComponent','2xQRAkX','polygonOffset','auto','depthWrite','panelWorldPos','backfaceVisibility','depthMaskMeshes','lyCameraDragging','blendDstAlpha','setFromUnitVectors','toneMapped','abs','237BRnTGu','568IIyyju','receiveShadow','17465fYFtas','geometry','src','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','position','world','LYObject','tickFunc','crossVectors','opacity','366795uCIDGP','floor','push','wrapper','round','threeObject\x20is\x20null','setAttribute','isArray','blendSrcAlpha','normal','loading','style','canvas','set','app','occlusionCandidates','boundingBox','material','wallboard','__alpha_punch','div','parent','__css3d_web','traverse','isMesh','rayIgnored','__depth_mask','viewport','subVectors','meshes','length','camera','polygonOffsetFactor','targetMesh','divideScalar','depthTest','removeFromParent','allowfullscreen','1883775LFmWhh','lengthSq','transparent','scene','width','min','raycaster','blendDst','intersectObjects','colorWrite','iframe','overflow','lazy','quaternion','filter','needsUpdate','setupMasks','true','rayDir','18488HIVdqy','blendSrc','scale','outer','getSize','distance','getWorldPosition','computeBoundingBox','blending','createDefaultObject','dispose','add','createElement','polygonOffsetUnits','addTickingFunction','renderOrder','userData','alphaPunchMeshes','max','dataset','normalize','trim','782420EMofNW','castShadow','getAttribute'];_0x3143=function(){return _0x2e5d3d;};return _0x3143();}function normalizeAssetUrl(_0x4d9c2a){const _0x2c07c3=_0x7ce3,_0x55f765=String(_0x4d9c2a!==null&&_0x4d9c2a!==void 0?_0x4d9c2a:'')[_0x2c07c3(0xcf)]();if(!_0x55f765)return '';if(/^https?:\/\//i[_0x2c07c3(0xde)](_0x55f765))return _0x55f765;if(_0x55f765[_0x2c07c3(0xd9)]('/'))return _0x55f765;return '/'+_0x55f765;}function getMeshPlaneLocalSize(_0x5e5e9c){const _0x314eeb=_0x7ce3,_0x1a91df=_0x5e5e9c['geometry'];if(!_0x1a91df)return {'width':0x1,'height':0x1};if(!_0x1a91df['boundingBox'])_0x1a91df[_0x314eeb(0x142)]();const _0xcbb44d=_0x1a91df[_0x314eeb(0x112)];if(!_0xcbb44d)return {'width':0x1,'height':0x1};const _0x247ffe=_0xcbb44d[_0x314eeb(0x13f)](new three.Vector3()),_0x7b40f7=[Math['abs'](_0x247ffe['x']),Math[_0x314eeb(0xf4)](_0x247ffe['y']),Math[_0x314eeb(0xf4)](_0x247ffe['z'])]['sort']((_0x1625d7,_0x44b377)=>_0x44b377-_0x1625d7),_0x78f2cb=Math['max'](0.0001,_0x7b40f7[0x0]||0x1),_0x3e6df2=Math[_0x314eeb(0xcc)](0.0001,_0x7b40f7[0x1]||_0x78f2cb);return {'width':_0x78f2cb,'height':_0x3e6df2};}function getMeshLocalNormal(_0x4ac840){const _0x1e9cf1=_0x7ce3,_0x2d3263=_0x4ac840['geometry'];if(!_0x2d3263)return new three.Vector3(0x0,0x0,0x1);const _0x59ace2=_0x2d3263[_0x1e9cf1(0xd2)](_0x1e9cf1(0x10b));if(_0x59ace2&&_0x59ace2[_0x1e9cf1(0xd4)]>0x0){const _0x902589=new three.Vector3(),_0x14ab46=new three.Vector3();for(let _0x480164=0x0;_0x480164<_0x59ace2[_0x1e9cf1(0xd4)];_0x480164++){_0x14ab46['fromBufferAttribute'](_0x59ace2,_0x480164),_0x902589[_0x1e9cf1(0x146)](_0x14ab46);}if(_0x902589[_0x1e9cf1(0x129)]()>1e-12)return _0x902589['normalize']();}const _0x32ba2a=_0x2d3263[_0x1e9cf1(0xd2)]('position');if(!_0x32ba2a||_0x32ba2a[_0x1e9cf1(0xd4)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x2327bd=_0x2d3263[_0x1e9cf1(0xd8)](),_0x3b1c56=new three.Vector3(),_0x3c1306=new three.Vector3(),_0x248c0c=new three.Vector3(),_0xf105fc=new three.Vector3(),_0x24c588=new three.Vector3(),_0x3d0b6d=new three.Vector3(),_0x103423=new three.Vector3(),_0x254b9c=_0x2327bd?Math[_0x1e9cf1(0x103)](_0x2327bd[_0x1e9cf1(0xd4)]/0x3):Math[_0x1e9cf1(0x103)](_0x32ba2a[_0x1e9cf1(0xd4)]/0x3);for(let _0x1d41eb=0x0;_0x1d41eb<_0x254b9c;_0x1d41eb++){const _0x170af4=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x0):_0x1d41eb*0x3+0x0,_0x389efd=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x1):_0x1d41eb*0x3+0x1,_0x36022a=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x2):_0x1d41eb*0x3+0x2;_0x3b1c56[_0x1e9cf1(0xd6)](_0x32ba2a,_0x170af4),_0x3c1306['fromBufferAttribute'](_0x32ba2a,_0x389efd),_0x248c0c[_0x1e9cf1(0xd6)](_0x32ba2a,_0x36022a),_0xf105fc[_0x1e9cf1(0x11e)](_0x3c1306,_0x3b1c56),_0x24c588[_0x1e9cf1(0x11e)](_0x248c0c,_0x3b1c56),_0x103423[_0x1e9cf1(0x100)](_0xf105fc,_0x24c588);if(_0x103423[_0x1e9cf1(0x129)]()<1e-14)continue;_0x3d0b6d['add'](_0x103423);}if(_0x3d0b6d[_0x1e9cf1(0x129)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x3d0b6d[_0x1e9cf1(0xce)]();}function collectOcclusionMeshes(_0xe85836){const _0x1f324b=_0x7ce3,_0x335124=[];return _0xe85836[_0x1f324b(0x119)](_0x360648=>{const _0x12afcb=_0x1f324b;var _0x18ea18;const _0x29b5ff=_0x360648;if(!(_0x29b5ff===null||_0x29b5ff===void 0?void 0:_0x29b5ff[_0x12afcb(0x11a)]))return;if(!_0x360648['visible'])return;if((_0x18ea18=_0x360648['userData'])===null||_0x18ea18===void 0?void 0:_0x18ea18['rayIgnored'])return;_0x335124[_0x12afcb(0x104)](_0x360648);}),_0x335124;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x2276d1(0xdd)](){const _0x48d413=_0x2276d1;if(!this[_0x48d413(0xd7)])throw new Error(_0x48d413(0x107));return this[_0x48d413(0xd7)];}set[_0x2276d1(0xdd)](_0x5ece2a){const _0x4adaed=_0x2276d1;this[_0x4adaed(0xd7)]=_0x5ece2a,this[_0x4adaed(0xd7)]&&(this[_0x4adaed(0xd7)][_0x4adaed(0x14b)][_0x4adaed(0xfe)]=this);}constructor(_0x1b60e0,_0x13e720,_0x1091bd,_0x163af0){const _0x4e10ab=_0x2276d1;super(_0x1b60e0,_0x163af0),this['wrapper']=null,this['iframe']=null,this[_0x4e10ab(0x123)]=null,this[_0x4e10ab(0xef)]=[],this['alphaPunchMeshes']=[],this['tickFunc']=null,this['cameraWorldPos']=new three.Vector3(),this[_0x4e10ab(0xed)]=new three.Vector3(),this[_0x4e10ab(0x13a)]=new three.Vector3(),this[_0x4e10ab(0x12e)]=new three.Raycaster(),this['occlusionCandidates']=[],this[_0x4e10ab(0xd5)]=_0x4e10ab(0xe8),this[_0x4e10ab(0x11f)]=_0x13e720[_0x4e10ab(0x136)](_0x18cebc=>!!_0x18cebc);const _0x51186e=normalizeAssetUrl(_0x1091bd);if(!_0x51186e||!this[_0x4e10ab(0x11f)][_0x4e10ab(0x120)])return;this[_0x4e10ab(0x123)]=this[_0x4e10ab(0x11f)][0x0];const _0x506598=getMeshPlaneLocalSize(this['targetMesh']),_0xcacadc=0x4b0,_0x2412b9=Math[_0x4e10ab(0xcc)](0x200,Math[_0x4e10ab(0x12d)](0x1000,Math[_0x4e10ab(0x106)](_0x506598[_0x4e10ab(0x12c)]*_0xcacadc))),_0x1104f8=Math[_0x4e10ab(0xcc)](0x200,Math[_0x4e10ab(0x12d)](0x1000,Math[_0x4e10ab(0x106)](_0x506598[_0x4e10ab(0xe1)]*_0xcacadc))),_0x4d7c5a=document[_0x4e10ab(0x147)]('div');_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0x12c)]=_0x2412b9+'px',_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0xe1)]=_0x1104f8+'px',_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0xdf)]=_0x4e10ab(0xeb),_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0x133)]=_0x4e10ab(0xe0),_0x4d7c5a['style']['background']='transparent',_0x4d7c5a[_0x4e10ab(0x10d)]['backfaceVisibility']=_0x4e10ab(0xe0),this['wrapper']=_0x4d7c5a;const _0xab1122=document['createElement'](_0x4e10ab(0x132));_0xab1122['src']=_0x51186e,_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0x12c)]=_0x4e10ab(0xda),_0xab1122[_0x4e10ab(0x10d)]['height']='100%',_0xab1122[_0x4e10ab(0x10d)]['border']='0',_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xe6)]=_0x4e10ab(0x12a),_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xdf)]=_0x4e10ab(0xeb),_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xee)]='hidden',_0xab1122[_0x4e10ab(0x108)]('allow',_0x4e10ab(0xfb)),_0xab1122[_0x4e10ab(0x108)](_0x4e10ab(0x127),_0x4e10ab(0x139)),_0xab1122['setAttribute'](_0x4e10ab(0x10c),_0x4e10ab(0x134)),_0x4d7c5a['appendChild'](_0xab1122),this[_0x4e10ab(0x132)]=_0xab1122;const _0x28e750=new Addons_js.CSS3DObject(_0x4d7c5a);_0x28e750[_0x4e10ab(0xd5)]=(this[_0x4e10ab(0x123)]['name']||_0x4e10ab(0x114))+_0x4e10ab(0x118),_0x28e750[_0x4e10ab(0xfc)][_0x4e10ab(0x10f)](0x0,0x0,0.001),_0x28e750[_0x4e10ab(0x135)][_0x4e10ab(0xf2)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this[_0x4e10ab(0x123)])),_0x28e750[_0x4e10ab(0x13d)][_0x4e10ab(0x10f)](_0x506598[_0x4e10ab(0x12c)]/_0x2412b9,_0x506598[_0x4e10ab(0xe1)]/_0x1104f8,0x1),this[_0x4e10ab(0xdd)]=_0x28e750,this[_0x4e10ab(0x123)][_0x4e10ab(0x146)](_0x28e750),this[_0x4e10ab(0x138)](),this['occlusionCandidates']=collectOcclusionMeshes(this[_0x4e10ab(0x110)][_0x4e10ab(0xfd)][_0x4e10ab(0x12b)]),this['setupOcclusionTick']();}[_0x2276d1(0x144)](){const _0x26ccd2=_0x2276d1;return new Addons_js.CSS3DObject(document[_0x26ccd2(0x147)](_0x26ccd2(0x116)));}[_0x2276d1(0x138)](){const _0x3b3ecc=_0x2276d1;var _0x6ee9b4;for(const _0x1af290 of this['meshes']){_0x1af290[_0x3b3ecc(0x14a)]=Math['min']((_0x6ee9b4=_0x1af290[_0x3b3ecc(0x14a)])!==null&&_0x6ee9b4!==void 0?_0x6ee9b4:0x0,-1e3),_0x1af290[_0x3b3ecc(0xd1)]=![],_0x1af290[_0x3b3ecc(0xf7)]=![];const _0xad8f54=Array[_0x3b3ecc(0x109)](_0x1af290[_0x3b3ecc(0x113)])?_0x1af290['material']:[_0x1af290['material']];for(const _0x493f85 of _0xad8f54){const _0x3be746=_0x493f85;if(!_0x3be746)continue;_0x3be746[_0x3b3ecc(0x12a)]=!![],_0x3be746[_0x3b3ecc(0x101)]=0x0,_0x3be746[_0x3b3ecc(0x131)]=![],_0x3be746[_0x3b3ecc(0x125)]=![],_0x3be746[_0x3b3ecc(0xec)]=![],_0x3be746[_0x3b3ecc(0x137)]=!![];}const _0x349c9b=_0x1af290[_0x3b3ecc(0xf9)];if(!_0x349c9b)continue;const _0x44ecb8=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x44ecb8['colorWrite']=![],_0x44ecb8[_0x3b3ecc(0xf3)]=![],_0x44ecb8[_0x3b3ecc(0xd3)]=![],_0x44ecb8[_0x3b3ecc(0x143)]=three.NoBlending,_0x44ecb8[_0x3b3ecc(0xea)]=!![],_0x44ecb8[_0x3b3ecc(0x122)]=-4,_0x44ecb8[_0x3b3ecc(0x148)]=-4;const _0xe1d513=new three.Mesh(_0x349c9b,_0x44ecb8);_0xe1d513[_0x3b3ecc(0xd5)]=(_0x1af290[_0x3b3ecc(0xd5)]||_0x3b3ecc(0x10e))+_0x3b3ecc(0x11c),_0xe1d513[_0x3b3ecc(0x14b)][_0x3b3ecc(0x11b)]=!![],_0xe1d513[_0x3b3ecc(0x14a)]=Math['min'](_0x1af290['renderOrder']-0x1,-2e3),_0xe1d513[_0x3b3ecc(0xfc)][_0x3b3ecc(0x10f)](0x0,0x0,0x0),_0xe1d513[_0x3b3ecc(0x135)][_0x3b3ecc(0x10f)](0x0,0x0,0x0,0x1),_0xe1d513[_0x3b3ecc(0x13d)]['set'](0x1,0x1,0x1),_0x1af290[_0x3b3ecc(0x146)](_0xe1d513),this[_0x3b3ecc(0xef)][_0x3b3ecc(0x104)](_0xe1d513);const _0x1e1740=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x1e1740['toneMapped']=![],_0x1e1740[_0x3b3ecc(0xd3)]=![],_0x1e1740['blendEquation']=three.AddEquation,_0x1e1740[_0x3b3ecc(0x13c)]=three.ZeroFactor,_0x1e1740[_0x3b3ecc(0x12f)]=three.OneFactor,_0x1e1740[_0x3b3ecc(0x10a)]=three.ZeroFactor,_0x1e1740[_0x3b3ecc(0xf1)]=three.ZeroFactor;const _0x11502f=new three.Mesh(_0x349c9b,_0x1e1740);_0x11502f[_0x3b3ecc(0xd5)]=(_0x1af290[_0x3b3ecc(0xd5)]||_0x3b3ecc(0x10e))+_0x3b3ecc(0x115),_0x11502f['userData'][_0x3b3ecc(0x11b)]=!![],_0x11502f['renderOrder']=Math[_0x3b3ecc(0xcc)](_0x1af290[_0x3b3ecc(0x14a)]+0x3e8,0x3e8),_0x11502f['position'][_0x3b3ecc(0x10f)](0x0,0x0,0x0),_0x11502f['quaternion'][_0x3b3ecc(0x10f)](0x0,0x0,0x0,0x1),_0x11502f[_0x3b3ecc(0x13d)][_0x3b3ecc(0x10f)](0x1,0x1,0x1),_0x1af290['add'](_0x11502f),this['alphaPunchMeshes']['push'](_0x11502f);}}[_0x2276d1(0xe5)](){const _0x5d4f20=_0x2276d1;let _0x1d6923=0x0;this[_0x5d4f20(0xff)]=_0x496598=>{const _0x2ed046=_0x5d4f20;var _0x1b99d;if(!this[_0x2ed046(0x123)]||!this[_0x2ed046(0x105)]||!this[_0x2ed046(0x132)])return;_0x1d6923+=_0x496598;if(_0x1d6923<0.05)return;_0x1d6923=0x0;const _0x44dcb9=this['app'][_0x2ed046(0x121)];_0x44dcb9['getWorldPosition'](this[_0x2ed046(0xe3)]),this[_0x2ed046(0x123)][_0x2ed046(0x141)](this[_0x2ed046(0xed)]),this[_0x2ed046(0x13a)][_0x2ed046(0x11e)](this[_0x2ed046(0xed)],this[_0x2ed046(0xe3)]);const _0x42aea9=this[_0x2ed046(0x13a)]['length']();if(_0x42aea9<=0.00001)return;this['rayDir'][_0x2ed046(0x124)](_0x42aea9),this[_0x2ed046(0x12e)][_0x2ed046(0x10f)](this[_0x2ed046(0xe3)],this[_0x2ed046(0x13a)]);const _0x65e613=this['raycaster'][_0x2ed046(0x130)](this[_0x2ed046(0x111)],!![]);let _0x36b598=![];const _0x3f0d03=_0x42aea9-0.02;for(const _0x5b4cf7 of _0x65e613){if(_0x5b4cf7[_0x2ed046(0x140)]>=_0x3f0d03)break;let _0x66c960=_0x5b4cf7['object'],_0x4a375b=!![];while(_0x66c960){if(!_0x66c960['visible']){_0x4a375b=![];break;}_0x66c960=_0x66c960[_0x2ed046(0x117)];}if(!_0x4a375b)continue;_0x66c960=_0x5b4cf7['object'];let _0x232bce=![];while(_0x66c960){if(this[_0x2ed046(0x11f)]['includes'](_0x66c960)){_0x232bce=!![];break;}_0x66c960=_0x66c960['parent'];}if(_0x232bce)continue;_0x36b598=!![];break;}const _0x2e135b=((_0x1b99d=this['app'][_0x2ed046(0x11d)][_0x2ed046(0x13e)])===null||_0x1b99d===void 0?void 0:_0x1b99d[_0x2ed046(0xcd)][_0x2ed046(0xf0)])==='1',_0x5707ea=_0x2e135b||_0x36b598?_0x2ed046(0xe2):_0x2ed046(0xeb);this[_0x2ed046(0x105)][_0x2ed046(0x10d)]['pointerEvents']!==_0x5707ea&&(this['wrapper'][_0x2ed046(0x10d)][_0x2ed046(0xdf)]=_0x5707ea),this[_0x2ed046(0x132)][_0x2ed046(0x10d)]['pointerEvents']!==_0x5707ea&&(this[_0x2ed046(0x132)][_0x2ed046(0x10d)][_0x2ed046(0xdf)]=_0x5707ea);},this[_0x5d4f20(0x110)][_0x5d4f20(0x149)](this[_0x5d4f20(0xff)]);}['destroy'](){const _0x5c5a55=_0x2276d1;this[_0x5c5a55(0xff)]&&(this[_0x5c5a55(0x110)]['removeTickingFunction'](this[_0x5c5a55(0xff)]),this['tickFunc']=null);for(const _0x2fceba of this[_0x5c5a55(0xef)]){_0x2fceba['removeFromParent']();const _0x1d33a3=_0x2fceba['material'];if(Array[_0x5c5a55(0x109)](_0x1d33a3)){for(const _0x5c32f4 of _0x1d33a3)_0x5c32f4===null||_0x5c32f4===void 0?void 0:_0x5c32f4[_0x5c5a55(0x145)]();}else _0x1d33a3===null||_0x1d33a3===void 0?void 0:_0x1d33a3['dispose']();}this[_0x5c5a55(0xef)]['length']=0x0;for(const _0x58dd46 of this[_0x5c5a55(0x14c)]){_0x58dd46[_0x5c5a55(0x126)]();const _0x268dbc=_0x58dd46[_0x5c5a55(0x113)];if(Array[_0x5c5a55(0x109)](_0x268dbc)){for(const _0x45e219 of _0x268dbc)_0x45e219===null||_0x45e219===void 0?void 0:_0x45e219[_0x5c5a55(0x145)]();}else _0x268dbc===null||_0x268dbc===void 0?void 0:_0x268dbc['dispose']();}this[_0x5c5a55(0x14c)][_0x5c5a55(0x120)]=0x0,this[_0x5c5a55(0x132)]&&(this['iframe'][_0x5c5a55(0xfa)]='about:blank',this['iframe']=null),this[_0x5c5a55(0x105)]&&(this[_0x5c5a55(0x105)][_0x5c5a55(0xe7)](),this['wrapper']=null),this[_0x5c5a55(0x123)]=null,this[_0x5c5a55(0x111)]=[],super[_0x5c5a55(0xdb)]();}}
|
|
138
|
+
const _0x4a48a5=_0xf557;(function(_0x550185,_0x2423fe){const _0x41994f=_0xf557,_0x14c55c=_0x550185();while(!![]){try{const _0x28c370=-parseInt(_0x41994f(0xb9))/0x1+-parseInt(_0x41994f(0xe1))/0x2*(-parseInt(_0x41994f(0x9c))/0x3)+parseInt(_0x41994f(0xf8))/0x4+parseInt(_0x41994f(0xa4))/0x5+parseInt(_0x41994f(0xcc))/0x6+parseInt(_0x41994f(0xdd))/0x7*(-parseInt(_0x41994f(0xaf))/0x8)+parseInt(_0x41994f(0xb8))/0x9*(-parseInt(_0x41994f(0x110))/0xa);if(_0x28c370===_0x2423fe)break;else _0x14c55c['push'](_0x14c55c['shift']());}catch(_0x247845){_0x14c55c['push'](_0x14c55c['shift']());}}}(_0x3149,0x9cd62));function _0xf557(_0x3db192,_0x3aa0ca){_0x3db192=_0x3db192-0x9c;const _0x314927=_0x3149();let _0xf5577e=_0x314927[_0x3db192];return _0xf5577e;}function normalizeAssetUrl(_0x3dbe21){const _0x5769b=_0xf557,_0x5e12b9=String(_0x3dbe21!==null&&_0x3dbe21!==void 0?_0x3dbe21:'')[_0x5769b(0xc7)]();if(!_0x5e12b9)return '';if(/^https?:\/\//i[_0x5769b(0xb6)](_0x5e12b9))return _0x5e12b9;if(_0x5e12b9[_0x5769b(0xbb)]('/'))return _0x5e12b9;return '/'+_0x5e12b9;}function _0x3149(){const _0x501c74=['dataset','style','2VLFvUj','toneMapped','100%','blendSrcAlpha','allowfullscreen','visible','distance','raycaster','hidden','parent','camera','blendEquation','position','setupMasks','crossVectors','iframe','height','LYObject','getWorldPosition','border','quaternion','pointerEvents','normalize','2043344pHjpGs','threeObject\x20is\x20null','loading','__depth_mask','needsUpdate','boundingBox','threeObject','backfaceVisibility','subVectors','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','appendChild','obj','geometry','normal','castShadow','__css3d_web','rayDir','userData','lengthSq','getSize','push','occlusionCandidates','background','count','37270AgAqOt','object','fromBufferAttribute','receiveShadow','removeFromParent','538449ZJuGDH','divideScalar','src','computeBoundingBox','filter','allow','min','round','2896550lZkQcZ','wrapper','div','floor','rayIgnored','meshes','world','traverse','opacity','length','alphaPunchMeshes','411056kVRHui','getIndex','isArray','width','depthMaskMeshes','panelWorldPos','addTickingFunction','test','polygonOffsetUnits','36owuPFG','378604DnHYFR','max','startsWith','scale','renderOrder','lyCameraDragging','dispose','depthTest','setAttribute','colorWrite','polygonOffset','transparent','createElement','auto','trim','abs','setupOcclusionTick','set','tickFunc','755754azeWKH','true','blending','material','sort','blendDst','getAttribute','add','cameraWorldPos','getX','lazy','viewport','isMesh','targetMesh','canvas','name','app','49AcMSVi','setFromUnitVectors'];_0x3149=function(){return _0x501c74;};return _0x3149();}function getMeshPlaneLocalSize(_0x154421){const _0x93b052=_0xf557,_0x124f77=_0x154421[_0x93b052(0x104)];if(!_0x124f77)return {'width':0x1,'height':0x1};if(!_0x124f77[_0x93b052(0xfd)])_0x124f77[_0x93b052(0x9f)]();const _0x55903b=_0x124f77[_0x93b052(0xfd)];if(!_0x55903b)return {'width':0x1,'height':0x1};const _0x50b6b3=_0x55903b[_0x93b052(0x10b)](new three.Vector3()),_0x12da59=[Math[_0x93b052(0xc8)](_0x50b6b3['x']),Math[_0x93b052(0xc8)](_0x50b6b3['y']),Math[_0x93b052(0xc8)](_0x50b6b3['z'])][_0x93b052(0xd0)]((_0x2ecc60,_0x1c760d)=>_0x1c760d-_0x2ecc60),_0x2a938a=Math[_0x93b052(0xba)](0.0001,_0x12da59[0x0]||0x1),_0x216fa3=Math[_0x93b052(0xba)](0.0001,_0x12da59[0x1]||_0x2a938a);return {'width':_0x2a938a,'height':_0x216fa3};}function getMeshLocalNormal(_0x5a0bc7){const _0x53b377=_0xf557,_0xbc7ca2=_0x5a0bc7[_0x53b377(0x104)];if(!_0xbc7ca2)return new three.Vector3(0x0,0x0,0x1);const _0x34ec70=_0xbc7ca2[_0x53b377(0xd2)](_0x53b377(0x105));if(_0x34ec70&&_0x34ec70[_0x53b377(0x10f)]>0x0){const _0x4651d8=new three.Vector3(),_0x5cddd6=new three.Vector3();for(let _0x9fe42f=0x0;_0x9fe42f<_0x34ec70[_0x53b377(0x10f)];_0x9fe42f++){_0x5cddd6[_0x53b377(0x112)](_0x34ec70,_0x9fe42f),_0x4651d8[_0x53b377(0xd3)](_0x5cddd6);}if(_0x4651d8[_0x53b377(0x10a)]()>1e-12)return _0x4651d8[_0x53b377(0xf7)]();}const _0x1faaae=_0xbc7ca2[_0x53b377(0xd2)](_0x53b377(0xed));if(!_0x1faaae||_0x1faaae[_0x53b377(0x10f)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x313f0e=_0xbc7ca2[_0x53b377(0xb0)](),_0x7ed1cf=new three.Vector3(),_0x5d1bf4=new three.Vector3(),_0x5dc1cc=new three.Vector3(),_0x4a46f0=new three.Vector3(),_0xbc3f93=new three.Vector3(),_0x361333=new three.Vector3(),_0x19bdfa=new three.Vector3(),_0x2d941d=_0x313f0e?Math['floor'](_0x313f0e[_0x53b377(0x10f)]/0x3):Math[_0x53b377(0xa7)](_0x1faaae['count']/0x3);for(let _0x20b0ef=0x0;_0x20b0ef<_0x2d941d;_0x20b0ef++){const _0x6b50ee=_0x313f0e?_0x313f0e[_0x53b377(0xd5)](_0x20b0ef*0x3+0x0):_0x20b0ef*0x3+0x0,_0xe19155=_0x313f0e?_0x313f0e['getX'](_0x20b0ef*0x3+0x1):_0x20b0ef*0x3+0x1,_0x24ee94=_0x313f0e?_0x313f0e[_0x53b377(0xd5)](_0x20b0ef*0x3+0x2):_0x20b0ef*0x3+0x2;_0x7ed1cf['fromBufferAttribute'](_0x1faaae,_0x6b50ee),_0x5d1bf4[_0x53b377(0x112)](_0x1faaae,_0xe19155),_0x5dc1cc[_0x53b377(0x112)](_0x1faaae,_0x24ee94),_0x4a46f0[_0x53b377(0x100)](_0x5d1bf4,_0x7ed1cf),_0xbc3f93[_0x53b377(0x100)](_0x5dc1cc,_0x7ed1cf),_0x19bdfa[_0x53b377(0xef)](_0x4a46f0,_0xbc3f93);if(_0x19bdfa[_0x53b377(0x10a)]()<1e-14)continue;_0x361333['add'](_0x19bdfa);}if(_0x361333[_0x53b377(0x10a)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x361333[_0x53b377(0xf7)]();}function collectOcclusionMeshes(_0x1913c2){const _0x1816c5=_0xf557,_0x2d389b=[];return _0x1913c2[_0x1816c5(0xab)](_0x167cd1=>{const _0x3cb4c7=_0x1816c5;var _0x556603;const _0x598e2a=_0x167cd1;if(!(_0x598e2a===null||_0x598e2a===void 0?void 0:_0x598e2a[_0x3cb4c7(0xd8)]))return;if(!_0x167cd1[_0x3cb4c7(0xe6)])return;if((_0x556603=_0x167cd1[_0x3cb4c7(0x109)])===null||_0x556603===void 0?void 0:_0x556603[_0x3cb4c7(0xa8)])return;_0x2d389b[_0x3cb4c7(0x10c)](_0x167cd1);}),_0x2d389b;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x4a48a5(0xfe)](){const _0x21fe71=_0x4a48a5;if(!this['obj'])throw new Error(_0x21fe71(0xf9));return this[_0x21fe71(0x103)];}set[_0x4a48a5(0xfe)](_0x23faac){const _0x316684=_0x4a48a5;this[_0x316684(0x103)]=_0x23faac,this['obj']&&(this[_0x316684(0x103)]['userData'][_0x316684(0xf2)]=this);}constructor(_0xfcd903,_0x57525a,_0x1e063c,_0x49a128){const _0x280a9f=_0x4a48a5;super(_0xfcd903,_0x49a128),this['wrapper']=null,this[_0x280a9f(0xf0)]=null,this[_0x280a9f(0xd9)]=null,this['depthMaskMeshes']=[],this[_0x280a9f(0xae)]=[],this[_0x280a9f(0xcb)]=null,this[_0x280a9f(0xd4)]=new three.Vector3(),this[_0x280a9f(0xb4)]=new three.Vector3(),this[_0x280a9f(0x108)]=new three.Vector3(),this[_0x280a9f(0xe8)]=new three.Raycaster(),this['occlusionCandidates']=[],this[_0x280a9f(0xdb)]='CSS3DWebPanelComponent',this['meshes']=_0x57525a[_0x280a9f(0xa0)](_0x367230=>!!_0x367230);const _0x25e352=normalizeAssetUrl(_0x1e063c);if(!_0x25e352||!this[_0x280a9f(0xa9)][_0x280a9f(0xad)])return;this[_0x280a9f(0xd9)]=this['meshes'][0x0];const _0x1b5422=getMeshPlaneLocalSize(this[_0x280a9f(0xd9)]),_0x3965c5=0x4b0,_0x251831=Math[_0x280a9f(0xba)](0x200,Math[_0x280a9f(0xa2)](0x1000,Math[_0x280a9f(0xa3)](_0x1b5422[_0x280a9f(0xb2)]*_0x3965c5))),_0x1875aa=Math[_0x280a9f(0xba)](0x200,Math[_0x280a9f(0xa2)](0x1000,Math[_0x280a9f(0xa3)](_0x1b5422['height']*_0x3965c5))),_0x21e5ee=document[_0x280a9f(0xc5)](_0x280a9f(0xa6));_0x21e5ee[_0x280a9f(0xe0)][_0x280a9f(0xb2)]=_0x251831+'px',_0x21e5ee['style'][_0x280a9f(0xf1)]=_0x1875aa+'px',_0x21e5ee[_0x280a9f(0xe0)][_0x280a9f(0xf6)]=_0x280a9f(0xc6),_0x21e5ee[_0x280a9f(0xe0)]['overflow']=_0x280a9f(0xe9),_0x21e5ee[_0x280a9f(0xe0)][_0x280a9f(0x10e)]=_0x280a9f(0xc4),_0x21e5ee[_0x280a9f(0xe0)][_0x280a9f(0xff)]=_0x280a9f(0xe9),this[_0x280a9f(0xa5)]=_0x21e5ee;const _0x4f3462=document[_0x280a9f(0xc5)]('iframe');_0x4f3462[_0x280a9f(0x9e)]=_0x25e352,_0x4f3462['style'][_0x280a9f(0xb2)]=_0x280a9f(0xe3),_0x4f3462[_0x280a9f(0xe0)][_0x280a9f(0xf1)]='100%',_0x4f3462[_0x280a9f(0xe0)][_0x280a9f(0xf4)]='0',_0x4f3462[_0x280a9f(0xe0)][_0x280a9f(0x10e)]='transparent',_0x4f3462[_0x280a9f(0xe0)][_0x280a9f(0xf6)]=_0x280a9f(0xc6),_0x4f3462[_0x280a9f(0xe0)][_0x280a9f(0xff)]=_0x280a9f(0xe9),_0x4f3462[_0x280a9f(0xc1)](_0x280a9f(0xa1),_0x280a9f(0x101)),_0x4f3462[_0x280a9f(0xc1)](_0x280a9f(0xe5),_0x280a9f(0xcd)),_0x4f3462[_0x280a9f(0xc1)](_0x280a9f(0xfa),_0x280a9f(0xd6)),_0x21e5ee[_0x280a9f(0x102)](_0x4f3462),this[_0x280a9f(0xf0)]=_0x4f3462;const _0x36fed1=new Addons_js.CSS3DObject(_0x21e5ee);_0x36fed1[_0x280a9f(0xdb)]=(this[_0x280a9f(0xd9)]['name']||'wallboard')+_0x280a9f(0x107),_0x36fed1['position'][_0x280a9f(0xca)](0x0,0x0,0.001),_0x36fed1[_0x280a9f(0xf5)][_0x280a9f(0xde)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this[_0x280a9f(0xd9)])),_0x36fed1[_0x280a9f(0xbc)]['set'](_0x1b5422['width']/_0x251831,_0x1b5422[_0x280a9f(0xf1)]/_0x1875aa,0x1),this['threeObject']=_0x36fed1,this[_0x280a9f(0xd9)][_0x280a9f(0xd3)](_0x36fed1),this[_0x280a9f(0xee)](),this[_0x280a9f(0x10d)]=collectOcclusionMeshes(this['app'][_0x280a9f(0xaa)]['scene']),this[_0x280a9f(0xc9)]();}['createDefaultObject'](){return new Addons_js.CSS3DObject(document['createElement']('div'));}[_0x4a48a5(0xee)](){const _0x50cb74=_0x4a48a5;var _0x19243e;for(const _0x50d06a of this['meshes']){_0x50d06a[_0x50cb74(0xbd)]=Math[_0x50cb74(0xa2)]((_0x19243e=_0x50d06a[_0x50cb74(0xbd)])!==null&&_0x19243e!==void 0?_0x19243e:0x0,-1e3),_0x50d06a[_0x50cb74(0x106)]=![],_0x50d06a[_0x50cb74(0x113)]=![];const _0x7d095=Array[_0x50cb74(0xb1)](_0x50d06a['material'])?_0x50d06a[_0x50cb74(0xcf)]:[_0x50d06a[_0x50cb74(0xcf)]];for(const _0x2b8103 of _0x7d095){const _0x71d192=_0x2b8103;if(!_0x71d192)continue;_0x71d192[_0x50cb74(0xc4)]=!![],_0x71d192[_0x50cb74(0xac)]=0x0,_0x71d192['colorWrite']=![],_0x71d192[_0x50cb74(0xc0)]=![],_0x71d192['depthWrite']=![],_0x71d192[_0x50cb74(0xfc)]=!![];}const _0x209a37=_0x50d06a[_0x50cb74(0x104)];if(!_0x209a37)continue;const _0x53b088=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x53b088[_0x50cb74(0xc2)]=![],_0x53b088[_0x50cb74(0xe2)]=![],_0x53b088['fog']=![],_0x53b088[_0x50cb74(0xce)]=three.NoBlending,_0x53b088[_0x50cb74(0xc3)]=!![],_0x53b088['polygonOffsetFactor']=-4,_0x53b088[_0x50cb74(0xb7)]=-4;const _0x869d08=new three.Mesh(_0x209a37,_0x53b088);_0x869d08['name']=(_0x50d06a['name']||'canvas')+_0x50cb74(0xfb),_0x869d08[_0x50cb74(0x109)]['rayIgnored']=!![],_0x869d08[_0x50cb74(0xbd)]=Math[_0x50cb74(0xa2)](_0x50d06a[_0x50cb74(0xbd)]-0x1,-2e3),_0x869d08[_0x50cb74(0xed)][_0x50cb74(0xca)](0x0,0x0,0x0),_0x869d08['quaternion'][_0x50cb74(0xca)](0x0,0x0,0x0,0x1),_0x869d08[_0x50cb74(0xbc)]['set'](0x1,0x1,0x1),_0x50d06a['add'](_0x869d08),this[_0x50cb74(0xb3)]['push'](_0x869d08);const _0x31dd8f=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x31dd8f[_0x50cb74(0xe2)]=![],_0x31dd8f['fog']=![],_0x31dd8f[_0x50cb74(0xec)]=three.AddEquation,_0x31dd8f['blendSrc']=three.ZeroFactor,_0x31dd8f[_0x50cb74(0xd1)]=three.OneFactor,_0x31dd8f[_0x50cb74(0xe4)]=three.ZeroFactor,_0x31dd8f['blendDstAlpha']=three.ZeroFactor;const _0x33e45b=new three.Mesh(_0x209a37,_0x31dd8f);_0x33e45b[_0x50cb74(0xdb)]=(_0x50d06a['name']||_0x50cb74(0xda))+'__alpha_punch',_0x33e45b['userData'][_0x50cb74(0xa8)]=!![],_0x33e45b['renderOrder']=Math[_0x50cb74(0xba)](_0x50d06a[_0x50cb74(0xbd)]+0x3e8,0x3e8),_0x33e45b[_0x50cb74(0xed)][_0x50cb74(0xca)](0x0,0x0,0x0),_0x33e45b[_0x50cb74(0xf5)]['set'](0x0,0x0,0x0,0x1),_0x33e45b[_0x50cb74(0xbc)][_0x50cb74(0xca)](0x1,0x1,0x1),_0x50d06a['add'](_0x33e45b),this[_0x50cb74(0xae)][_0x50cb74(0x10c)](_0x33e45b);}}[_0x4a48a5(0xc9)](){const _0x2d6085=_0x4a48a5;let _0x3abbae=0x0;this['tickFunc']=_0x128c37=>{const _0x467c6c=_0xf557;var _0x513b04;if(!this[_0x467c6c(0xd9)]||!this[_0x467c6c(0xa5)]||!this[_0x467c6c(0xf0)])return;_0x3abbae+=_0x128c37;if(_0x3abbae<0.05)return;_0x3abbae=0x0;const _0x3efc31=this[_0x467c6c(0xdc)][_0x467c6c(0xeb)];_0x3efc31[_0x467c6c(0xf3)](this[_0x467c6c(0xd4)]),this[_0x467c6c(0xd9)][_0x467c6c(0xf3)](this[_0x467c6c(0xb4)]),this[_0x467c6c(0x108)][_0x467c6c(0x100)](this['panelWorldPos'],this[_0x467c6c(0xd4)]);const _0x5f1b14=this[_0x467c6c(0x108)]['length']();if(_0x5f1b14<=0.00001)return;this[_0x467c6c(0x108)][_0x467c6c(0x9d)](_0x5f1b14),this[_0x467c6c(0xe8)][_0x467c6c(0xca)](this[_0x467c6c(0xd4)],this[_0x467c6c(0x108)]);const _0x51647e=this[_0x467c6c(0xe8)]['intersectObjects'](this['occlusionCandidates'],!![]);let _0x309222=![];const _0x50a689=_0x5f1b14-0.02;for(const _0x307357 of _0x51647e){if(_0x307357[_0x467c6c(0xe7)]>=_0x50a689)break;let _0xb0d28f=_0x307357[_0x467c6c(0x111)],_0x1f6ea8=!![];while(_0xb0d28f){if(!_0xb0d28f[_0x467c6c(0xe6)]){_0x1f6ea8=![];break;}_0xb0d28f=_0xb0d28f[_0x467c6c(0xea)];}if(!_0x1f6ea8)continue;_0xb0d28f=_0x307357['object'];let _0x51e8be=![];while(_0xb0d28f){if(this[_0x467c6c(0xa9)]['includes'](_0xb0d28f)){_0x51e8be=!![];break;}_0xb0d28f=_0xb0d28f[_0x467c6c(0xea)];}if(_0x51e8be)continue;_0x309222=!![];break;}const _0x4fa78c=((_0x513b04=this['app'][_0x467c6c(0xd7)]['outer'])===null||_0x513b04===void 0?void 0:_0x513b04[_0x467c6c(0xdf)][_0x467c6c(0xbe)])==='1',_0xa16f9e=_0x4fa78c||_0x309222?'none':_0x467c6c(0xc6);this['wrapper'][_0x467c6c(0xe0)][_0x467c6c(0xf6)]!==_0xa16f9e&&(this['wrapper']['style'][_0x467c6c(0xf6)]=_0xa16f9e),this[_0x467c6c(0xf0)][_0x467c6c(0xe0)][_0x467c6c(0xf6)]!==_0xa16f9e&&(this[_0x467c6c(0xf0)][_0x467c6c(0xe0)]['pointerEvents']=_0xa16f9e);},this[_0x2d6085(0xdc)][_0x2d6085(0xb5)](this[_0x2d6085(0xcb)]);}['destroy'](){const _0x190fc6=_0x4a48a5;this[_0x190fc6(0xcb)]&&(this[_0x190fc6(0xdc)]['removeTickingFunction'](this[_0x190fc6(0xcb)]),this[_0x190fc6(0xcb)]=null);for(const _0x191f8e of this[_0x190fc6(0xb3)]){_0x191f8e[_0x190fc6(0x114)]();const _0xbe7019=_0x191f8e['material'];if(Array['isArray'](_0xbe7019)){for(const _0x252a42 of _0xbe7019)_0x252a42===null||_0x252a42===void 0?void 0:_0x252a42[_0x190fc6(0xbf)]();}else _0xbe7019===null||_0xbe7019===void 0?void 0:_0xbe7019[_0x190fc6(0xbf)]();}this[_0x190fc6(0xb3)]['length']=0x0;for(const _0x33bb4d of this[_0x190fc6(0xae)]){_0x33bb4d[_0x190fc6(0x114)]();const _0x119bdd=_0x33bb4d['material'];if(Array[_0x190fc6(0xb1)](_0x119bdd)){for(const _0x27f945 of _0x119bdd)_0x27f945===null||_0x27f945===void 0?void 0:_0x27f945[_0x190fc6(0xbf)]();}else _0x119bdd===null||_0x119bdd===void 0?void 0:_0x119bdd[_0x190fc6(0xbf)]();}this[_0x190fc6(0xae)][_0x190fc6(0xad)]=0x0,this['iframe']&&(this[_0x190fc6(0xf0)][_0x190fc6(0x9e)]='about:blank',this['iframe']=null),this[_0x190fc6(0xa5)]&&(this[_0x190fc6(0xa5)]['remove'](),this[_0x190fc6(0xa5)]=null),this[_0x190fc6(0xd9)]=null,this['occlusionCandidates']=[],super['destroy']();}}
|
|
139
139
|
|
|
140
|
-
const
|
|
140
|
+
const _0x21d3fa=_0x312f;function _0x312f(_0x4d5a0f,_0x471405){_0x4d5a0f=_0x4d5a0f-0xf8;const _0x5a7ace=_0x5a7a();let _0x312f7a=_0x5a7ace[_0x4d5a0f];return _0x312f7a;}function _0x5a7a(){const _0x59e844=['text','1755045jnesiR','_bevelThickness','material','_fontCache','length','destroy','10801AGupBG','_isUnlit','_bevelSize','_mesh','get','updateMaterial','bevelOffset','_text','bevelThickness','dispose','size','createDefaultObject','_color','loadFontAndRefresh','_curveSegments','bevelSize','add','LYObject','boundingBox','_size','_bevelSegments','refreshGeometry','_font','curveSegments','computeBoundingBox','world','bevelSegments','color','4OjehhG','markRenderStateDirty','forEach','_height','#ffffff','obj','1434516ZUUfUN','bevelEnabled','_sideColor','max','height','33209847DfJUjE','fontUrl','has','isArray','isUnlit','1191514yoBgpW','translate','geometry','1180753pZcotC','6189984lZmxtm','sideColor','viewport','min','error','remove','_group','_fontLoader','4254DuCWCm','_bevelOffset','set','loadAsync','_fontUrl','userData'];_0x5a7a=function(){return _0x59e844;};return _0x5a7a();}(function(_0x508aed,_0x1e7589){const _0x30bd6c=_0x312f,_0x4fa7df=_0x508aed();while(!![]){try{const _0x397953=-parseInt(_0x30bd6c(0x102))/0x1+-parseInt(_0x30bd6c(0xff))/0x2+parseInt(_0x30bd6c(0x13a))/0x3*(parseInt(_0x30bd6c(0x134))/0x4)+parseInt(_0x30bd6c(0x112))/0x5+-parseInt(_0x30bd6c(0x10b))/0x6*(parseInt(_0x30bd6c(0x118))/0x7)+-parseInt(_0x30bd6c(0x103))/0x8+parseInt(_0x30bd6c(0xfa))/0x9;if(_0x397953===_0x1e7589)break;else _0x4fa7df['push'](_0x4fa7df['shift']());}catch(_0x28043e){_0x4fa7df['push'](_0x4fa7df['shift']());}}}(_0x5a7a,0xd59a7));class Text3DComponent extends SceneComponent{constructor(_0x1965aa,_0x4a2ee1,_0xbef50b){const _0x56cfe8=_0x312f;super(_0x1965aa,_0xbef50b),this[_0x56cfe8(0x11f)]='Text',this[_0x56cfe8(0x10f)]='https://threejs.org/examples/fonts/helvetiker_regular.typeface.json',this['_size']=0x1,this[_0x56cfe8(0x137)]=0.2,this[_0x56cfe8(0x126)]=0xc,this['_bevelEnabled']=![],this[_0x56cfe8(0x113)]=0.03,this[_0x56cfe8(0x11a)]=0.02,this[_0x56cfe8(0x10c)]=0x0,this['_bevelSegments']=0x5,this[_0x56cfe8(0x124)]='#ffffff',this[_0x56cfe8(0x13c)]=_0x56cfe8(0x138),this[_0x56cfe8(0x119)]=!![],this[_0x56cfe8(0x12e)]=null,this['_mesh']=null,this['_group']=this[_0x56cfe8(0x139)];if(_0x4a2ee1){if(_0x4a2ee1[_0x56cfe8(0x111)]!==undefined)this[_0x56cfe8(0x11f)]=_0x4a2ee1[_0x56cfe8(0x111)];if(_0x4a2ee1['fontUrl']!==undefined)this['_fontUrl']=_0x4a2ee1[_0x56cfe8(0xfb)];if(_0x4a2ee1[_0x56cfe8(0x122)]!==undefined)this[_0x56cfe8(0x12b)]=_0x4a2ee1[_0x56cfe8(0x122)];if(_0x4a2ee1[_0x56cfe8(0xf9)]!==undefined)this[_0x56cfe8(0x137)]=_0x4a2ee1[_0x56cfe8(0xf9)];if(_0x4a2ee1['curveSegments']!==undefined)this[_0x56cfe8(0x126)]=_0x4a2ee1[_0x56cfe8(0x12f)];if(_0x4a2ee1[_0x56cfe8(0x13b)]!==undefined)this['_bevelEnabled']=_0x4a2ee1[_0x56cfe8(0x13b)];if(_0x4a2ee1[_0x56cfe8(0x120)]!==undefined)this['_bevelThickness']=_0x4a2ee1['bevelThickness'];if(_0x4a2ee1[_0x56cfe8(0x127)]!==undefined)this[_0x56cfe8(0x11a)]=_0x4a2ee1[_0x56cfe8(0x127)];if(_0x4a2ee1[_0x56cfe8(0x11e)]!==undefined)this[_0x56cfe8(0x10c)]=_0x4a2ee1[_0x56cfe8(0x11e)];if(_0x4a2ee1[_0x56cfe8(0x132)]!==undefined)this[_0x56cfe8(0x12c)]=_0x4a2ee1['bevelSegments'];_0x4a2ee1[_0x56cfe8(0x133)]!==undefined&&(this['_color']=_0x4a2ee1[_0x56cfe8(0x133)],this[_0x56cfe8(0x13c)]=_0x4a2ee1['color']);if(_0x4a2ee1[_0x56cfe8(0x104)]!==undefined)this[_0x56cfe8(0x13c)]=_0x4a2ee1[_0x56cfe8(0x104)];if(_0x4a2ee1['isUnlit']!==undefined)this[_0x56cfe8(0x119)]=_0x4a2ee1[_0x56cfe8(0xfe)];}this[_0x56cfe8(0x125)]();}[_0x21d3fa(0x123)](){return new webgpu.Group();}get[_0x21d3fa(0x111)](){const _0x3e9e5f=_0x21d3fa;return this[_0x3e9e5f(0x11f)];}set[_0x21d3fa(0x111)](_0x500747){const _0x45e211=_0x21d3fa;this['_text']!==_0x500747&&(this[_0x45e211(0x11f)]=_0x500747,this[_0x45e211(0x12d)]());}get['color'](){const _0x15e66a=_0x21d3fa;return this[_0x15e66a(0x124)];}set[_0x21d3fa(0x133)](_0x298db0){const _0x2f1882=_0x21d3fa;this['_color']!==_0x298db0&&(this[_0x2f1882(0x124)]=_0x298db0,this[_0x2f1882(0x11d)]());}get[_0x21d3fa(0x104)](){const _0xbf512b=_0x21d3fa;return this[_0xbf512b(0x13c)];}set[_0x21d3fa(0x104)](_0x3dc415){const _0x19860d=_0x21d3fa;this['_sideColor']!==_0x3dc415&&(this[_0x19860d(0x13c)]=_0x3dc415,this['updateMaterial']());}get['size'](){const _0x256a29=_0x21d3fa;return this[_0x256a29(0x12b)];}set[_0x21d3fa(0x122)](_0x3d2685){const _0x3478b3=_0x21d3fa;this[_0x3478b3(0x12b)]!==_0x3d2685&&(this['_size']=_0x3d2685,this[_0x3478b3(0x12d)]());}get[_0x21d3fa(0xf9)](){const _0x256663=_0x21d3fa;return this[_0x256663(0x137)];}set['height'](_0x1694c3){const _0x7c49b4=_0x21d3fa;this['_height']!==_0x1694c3&&(this[_0x7c49b4(0x137)]=_0x1694c3,this[_0x7c49b4(0x12d)]());}get['fontUrl'](){return this['_fontUrl'];}set[_0x21d3fa(0xfb)](_0x5aad13){const _0x28f21a=_0x21d3fa;this[_0x28f21a(0x10f)]!==_0x5aad13&&(this['_fontUrl']=_0x5aad13,this[_0x28f21a(0x125)]());}async['loadFontAndRefresh'](){const _0x179319=_0x21d3fa;if(Text3DComponent['_fontCache'][_0x179319(0xfc)](this[_0x179319(0x10f)])){this[_0x179319(0x12e)]=Text3DComponent[_0x179319(0x115)][_0x179319(0x11c)](this[_0x179319(0x10f)]),this['refreshGeometry']();return;}try{const _0x469e1c=await Text3DComponent[_0x179319(0x10a)][_0x179319(0x10e)](this[_0x179319(0x10f)]);Text3DComponent[_0x179319(0x115)][_0x179319(0x10d)](this[_0x179319(0x10f)],_0x469e1c),this[_0x179319(0x12e)]=_0x469e1c,this[_0x179319(0x12d)]();}catch(_0x1d7b47){console[_0x179319(0x107)]('Failed\x20to\x20load\x20font\x20from\x20'+this['_fontUrl']+':',_0x1d7b47);}}[_0x21d3fa(0x12d)](){const _0x2f83bd=_0x21d3fa;if(!this[_0x2f83bd(0x12e)])return;if(this[_0x2f83bd(0x11b)]){if(this['_mesh'][_0x2f83bd(0x101)])this[_0x2f83bd(0x11b)][_0x2f83bd(0x101)]['dispose']();this['_group'][_0x2f83bd(0x108)](this[_0x2f83bd(0x11b)]);}const _0x4bf2d0=new Addons_js.TextGeometry(this[_0x2f83bd(0x11f)],{'font':this[_0x2f83bd(0x12e)],'size':this[_0x2f83bd(0x12b)],'depth':this[_0x2f83bd(0x137)],'curveSegments':this[_0x2f83bd(0x126)],'bevelEnabled':this['_bevelEnabled'],'bevelThickness':this['_bevelThickness'],'bevelSize':this['_bevelSize'],'bevelOffset':this[_0x2f83bd(0x10c)],'bevelSegments':this[_0x2f83bd(0x12c)]});_0x4bf2d0[_0x2f83bd(0x130)]();if(_0x4bf2d0[_0x2f83bd(0x12a)]){const _0x537a86=-0.5*(_0x4bf2d0['boundingBox'][_0x2f83bd(0xf8)]['x']-_0x4bf2d0[_0x2f83bd(0x12a)][_0x2f83bd(0x106)]['x']),_0x1de40f=-0.5*(_0x4bf2d0[_0x2f83bd(0x12a)][_0x2f83bd(0xf8)]['y']-_0x4bf2d0['boundingBox'][_0x2f83bd(0x106)]['y']);_0x4bf2d0[_0x2f83bd(0x100)](_0x537a86,_0x1de40f,0x0);}let _0x32c4cf;this[_0x2f83bd(0x119)]?_0x32c4cf=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x2f83bd(0x124)]),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x2f83bd(0x13c)]),'side':webgpu.DoubleSide})]:_0x32c4cf=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x2f83bd(0x124)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x2f83bd(0x13c)]),'side':webgpu.DoubleSide})],this[_0x2f83bd(0x11b)]=new webgpu.Mesh(_0x4bf2d0,_0x32c4cf),this[_0x2f83bd(0x11b)][_0x2f83bd(0x110)][_0x2f83bd(0x129)]=this,this[_0x2f83bd(0x109)][_0x2f83bd(0x128)](this[_0x2f83bd(0x11b)]),this[_0x2f83bd(0x131)]&&this[_0x2f83bd(0x131)][_0x2f83bd(0x105)][_0x2f83bd(0x135)]();}[_0x21d3fa(0x11d)](){const _0x4c36e3=_0x21d3fa;if(!this['_mesh'])return;if(Array[_0x4c36e3(0xfd)](this[_0x4c36e3(0x11b)][_0x4c36e3(0x114)])){const _0x43e784=this[_0x4c36e3(0x11b)][_0x4c36e3(0x114)];_0x43e784[_0x4c36e3(0x116)]>=0x2&&(_0x43e784[0x0][_0x4c36e3(0x133)][_0x4c36e3(0x10d)](this['_color']),_0x43e784[0x1][_0x4c36e3(0x133)][_0x4c36e3(0x10d)](this[_0x4c36e3(0x13c)]));}else {const _0x57df1a=this['_mesh'][_0x4c36e3(0x114)];_0x57df1a['color'][_0x4c36e3(0x10d)](this[_0x4c36e3(0x124)]);}this[_0x4c36e3(0x131)]&&this['world'][_0x4c36e3(0x105)]['markRenderStateDirty']();}['destroy'](){const _0x44abe4=_0x21d3fa;if(this[_0x44abe4(0x11b)]){if(this['_mesh']['geometry'])this[_0x44abe4(0x11b)]['geometry'][_0x44abe4(0x121)]();Array[_0x44abe4(0xfd)](this['_mesh'][_0x44abe4(0x114)])?this['_mesh'][_0x44abe4(0x114)][_0x44abe4(0x136)](_0x3ad226=>_0x3ad226['dispose']()):this[_0x44abe4(0x11b)][_0x44abe4(0x114)][_0x44abe4(0x121)]();}super[_0x44abe4(0x117)]();}}Text3DComponent[_0x21d3fa(0x10a)]=new Addons_js.FontLoader(),Text3DComponent[_0x21d3fa(0x115)]=new Map();
|
|
141
141
|
|
|
142
|
-
(function(
|
|
142
|
+
function _0x1d87(_0x4c6ab2,_0x2b67e2){_0x4c6ab2=_0x4c6ab2-0x119;const _0x43aa90=_0x43aa();let _0x1d87b1=_0x43aa90[_0x4c6ab2];return _0x1d87b1;}function _0x43aa(){const _0x1306e5=['8MxCQKm','17075187ejAzJw','ScreenSpaceReflection','1033452kepkoK','506670JxrcGq','497108pPGIPA','2371470rVAEqy','1391896UiIyws','5187408OcwmZX','2hgnLrc'];_0x43aa=function(){return _0x1306e5;};return _0x43aa();}const _0x5b8b15=_0x1d87;(function(_0x286407,_0x4ac58f){const _0x4908ab=_0x1d87,_0x251ed9=_0x286407();while(!![]){try{const _0x106cff=-parseInt(_0x4908ab(0x11b))/0x1*(-parseInt(_0x4908ab(0x119))/0x2)+parseInt(_0x4908ab(0x11a))/0x3+parseInt(_0x4908ab(0x121))/0x4+parseInt(_0x4908ab(0x120))/0x5+-parseInt(_0x4908ab(0x122))/0x6+-parseInt(_0x4908ab(0x11f))/0x7+-parseInt(_0x4908ab(0x11c))/0x8*(parseInt(_0x4908ab(0x11d))/0x9);if(_0x106cff===_0x4ac58f)break;else _0x251ed9['push'](_0x251ed9['shift']());}catch(_0x3c7d26){_0x251ed9['push'](_0x251ed9['shift']());}}}(_0x43aa,0xdd517));const DefaultSSRParam={'type':exports.PostProcessStepType[_0x5b8b15(0x11e)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
143
143
|
|
|
144
|
-
function
|
|
144
|
+
function _0x35e4(_0x1fcb4c,_0x30724d){_0x1fcb4c=_0x1fcb4c-0x94;const _0x33e47a=_0x33e4();let _0x35e4bf=_0x33e47a[_0x1fcb4c];return _0x35e4bf;}function _0x33e4(){const _0x272b45=['174660cLBYcr','220KLoHSS','1430658KkKjGd','6YSQoZY','10727502hkgBzz','1015532fHsfRd','7965660qPXKkY','1029QqtCFk','262030zIOUbb','22472uRQeFe'];_0x33e4=function(){return _0x272b45;};return _0x33e4();}(function(_0xe62f6e,_0x430ab7){const _0x141376=_0x35e4,_0x1023d0=_0xe62f6e();while(!![]){try{const _0x14382c=parseInt(_0x141376(0x94))/0x1+-parseInt(_0x141376(0x96))/0x2+-parseInt(_0x141376(0x99))/0x3*(-parseInt(_0x141376(0x9b))/0x4)+parseInt(_0x141376(0x9c))/0x5+parseInt(_0x141376(0x9a))/0x6+parseInt(_0x141376(0x9d))/0x7*(parseInt(_0x141376(0x95))/0x8)+-parseInt(_0x141376(0x98))/0x9*(parseInt(_0x141376(0x97))/0xa);if(_0x14382c===_0x430ab7)break;else _0x1023d0['push'](_0x1023d0['shift']());}catch(_0xceae74){_0x1023d0['push'](_0x1023d0['shift']());}}}(_0x33e4,0xef14a));const DefaultAAParams={'type':exports.PostProcessStepType['Antialiasing'],'method':'fxaa'};
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
function _0x5525(){const _0x402808=['physics','4671280hGwapx','ColliderComponent','_onBeginOverlapDelegate','81366WREdWL','onHitDelegate','markRenderStateDirty','getCollisionResponse','parent','1966996GcyXJq','destroyDebugObject','collisionEnabled','_collisionEnabled','generateOverlapEvents','_debugEnabled','_generateOverlapEvents','9680796StESKQ','debugColor','objectType','Overlap','5DDsxAO','_debugColor','Block','userData','debugOpacity','destroy','3233700TVpdrU','threeObject','_generateHitEvents','onDebugTick','disableDebug','setCollisionResponse','4185286zhcmvc','enableDebug','_objectType','211909XawORC','_responseMap','10iMzfhn','onAddedToWorld','_onEndOverlapDelegate','generateHitEvents','_registeredInWorld','name','traverse','getDebugAttachParent','unregisterCollider','world','_debugObject','onDebugStyleChanged','WorldDynamic','_onHitDelegate','registerCollider','onEndOverlapDelegate','Ignore','viewport','_debugOpacity','debugEnabled','createDebugObject','onBeginOverlapDelegate','tick'];_0x5525=function(){return _0x402808;};return _0x5525();}const _0x10c73c=_0x1dea;(function(_0xfb2eb5,_0x234121){const _0x3ce316=_0x1dea,_0x44875d=_0xfb2eb5();while(!![]){try{const _0xc8f7aa=parseInt(_0x3ce316(0xf0))/0x1*(parseInt(_0x3ce316(0xf2))/0x2)+-parseInt(_0x3ce316(0xe7))/0x3+-parseInt(_0x3ce316(0xd6))/0x4+parseInt(_0x3ce316(0xe1))/0x5*(parseInt(_0x3ce316(0xd1))/0x6)+-parseInt(_0x3ce316(0xed))/0x7+parseInt(_0x3ce316(0xce))/0x8+parseInt(_0x3ce316(0xdd))/0x9;if(_0xc8f7aa===_0x234121)break;else _0x44875d['push'](_0x44875d['shift']());}catch(_0x1b38bd){_0x44875d['push'](_0x44875d['shift']());}}}(_0x5525,0x89f79));function _0x1dea(_0x49f121,_0x72fe0){_0x49f121=_0x49f121-0xc6;const _0x5525ff=_0x5525();let _0x1dea1b=_0x5525ff[_0x49f121];return _0x1dea1b;}class ColliderComponent extends SceneComponent{get[_0x10c73c(0xc9)](){const _0x20ee82=_0x10c73c;return this[_0x20ee82(0xdb)];}set[_0x10c73c(0xc9)](_0x5c0a84){const _0x101bf2=_0x10c73c;var _0xe0116d,_0x5c795a,_0x4d11ad;if(this[_0x101bf2(0xdb)]===_0x5c0a84)return;this[_0x101bf2(0xdb)]=_0x5c0a84,this[_0x101bf2(0xdb)]?this[_0x101bf2(0xee)]():this[_0x101bf2(0xeb)](),(_0x4d11ad=(_0x5c795a=(_0xe0116d=this[_0x101bf2(0xfb)])===null||_0xe0116d===void 0?void 0:_0xe0116d[_0x101bf2(0xc7)])===null||_0x5c795a===void 0?void 0:_0x5c795a[_0x101bf2(0xd3)])===null||_0x4d11ad===void 0?void 0:_0x4d11ad['call'](_0x5c795a);}get[_0x10c73c(0xde)](){const _0xf2f0e3=_0x10c73c;return this[_0xf2f0e3(0xe2)];}set[_0x10c73c(0xde)](_0xa051ff){const _0x17bc0e=_0x10c73c;this[_0x17bc0e(0xe2)]=_0xa051ff,this[_0x17bc0e(0xdb)]&&this[_0x17bc0e(0xfd)]();}get[_0x10c73c(0xe5)](){const _0x53efc5=_0x10c73c;return this[_0x53efc5(0xc8)];}set[_0x10c73c(0xe5)](_0x389e49){this['_debugOpacity']=_0x389e49,this['_debugEnabled']&&this['onDebugStyleChanged']();}get[_0x10c73c(0xd8)](){return this['_collisionEnabled'];}set[_0x10c73c(0xd8)](_0x303d67){const _0x4fb336=_0x10c73c;this[_0x4fb336(0xd9)]=_0x303d67;}get[_0x10c73c(0xda)](){const _0x14b13c=_0x10c73c;return this[_0x14b13c(0xdc)];}set[_0x10c73c(0xda)](_0x255932){const _0x5525bd=_0x10c73c;this[_0x5525bd(0xdc)]=_0x255932;}get[_0x10c73c(0xf5)](){const _0x5cd82e=_0x10c73c;return this[_0x5cd82e(0xe9)];}set[_0x10c73c(0xf5)](_0x5ddd7d){this['_generateHitEvents']=_0x5ddd7d;}get[_0x10c73c(0xdf)](){const _0x1fde85=_0x10c73c;return this[_0x1fde85(0xef)];}set[_0x10c73c(0xdf)](_0x28e9ee){const _0x344f18=_0x10c73c;this[_0x344f18(0xef)]=_0x28e9ee;}get[_0x10c73c(0xcb)](){const _0x4d0e10=_0x10c73c;return this[_0x4d0e10(0xd0)];}get[_0x10c73c(0x101)](){const _0x5863d1=_0x10c73c;return this[_0x5863d1(0xf4)];}get[_0x10c73c(0xd2)](){const _0x37b024=_0x10c73c;return this[_0x37b024(0xff)];}constructor(_0x32d75a,_0x55eb9c){const _0x3941b7=_0x10c73c;super(_0x32d75a,_0x55eb9c),this['_collisionEnabled']=!![],this[_0x3941b7(0xdc)]=!![],this[_0x3941b7(0xe9)]=!![],this[_0x3941b7(0xef)]=exports.CollisionChannel[_0x3941b7(0xfe)],this[_0x3941b7(0xf1)]={},this['_onBeginOverlapDelegate']=new Delegate(),this['_onEndOverlapDelegate']=new Delegate(),this[_0x3941b7(0xff)]=new Delegate(),this[_0x3941b7(0xf6)]=![],this['_debugEnabled']=![],this[_0x3941b7(0xe2)]=0xff00,this[_0x3941b7(0xc8)]=0.25,this[_0x3941b7(0xfc)]=null,this[_0x3941b7(0xf7)]=_0x3941b7(0xcf);}[_0x10c73c(0xec)](_0x365c79,_0x4369b5){const _0xeb2476=_0x10c73c;this[_0xeb2476(0xf1)][_0x365c79]=_0x4369b5;}['setCollisionResponses'](_0x42ecae){const _0x3c86b2=_0x10c73c;this[_0x3c86b2(0xf1)]=Object['assign']({},_0x42ecae);}['getCollisionResponse'](_0x4984a1){const _0x32a03b=_0x10c73c;var _0x14b0c1;return (_0x14b0c1=this[_0x32a03b(0xf1)][_0x4984a1])!==null&&_0x14b0c1!==void 0?_0x14b0c1:exports.CollisionResponse['Block'];}['getMutualResponse'](_0x225cc5){const _0x276a71=_0x10c73c,_0x3a5fb4=this[_0x276a71(0xd4)](_0x225cc5[_0x276a71(0xdf)]),_0x1b1627=_0x225cc5[_0x276a71(0xd4)](this[_0x276a71(0xdf)]);if(_0x3a5fb4===exports.CollisionResponse[_0x276a71(0xc6)]||_0x1b1627===exports.CollisionResponse[_0x276a71(0xc6)])return exports.CollisionResponse[_0x276a71(0xc6)];if(_0x3a5fb4===exports.CollisionResponse[_0x276a71(0xe3)]||_0x1b1627===exports.CollisionResponse[_0x276a71(0xe3)])return exports.CollisionResponse['Block'];return exports.CollisionResponse[_0x276a71(0xe0)];}[_0x10c73c(0xcc)](_0x13283c){const _0x18b841=_0x10c73c;super['tick'](_0x13283c),this['_debugEnabled']&&this[_0x18b841(0xea)](_0x13283c);}[_0x10c73c(0xf3)](_0x1b6723){const _0x24acff=_0x10c73c;super[_0x24acff(0xf3)](_0x1b6723),!this[_0x24acff(0xf6)]&&(this[_0x24acff(0xfb)][_0x24acff(0xcd)][_0x24acff(0x100)](this),this[_0x24acff(0xf6)]=!![]);}[_0x10c73c(0xe6)](){const _0x453c57=_0x10c73c;this[_0x453c57(0xdb)]&&(this[_0x453c57(0xeb)](),this[_0x453c57(0xdb)]=![]),this['_registeredInWorld']&&(this[_0x453c57(0xfb)][_0x453c57(0xcd)][_0x453c57(0xfa)](this),this['_registeredInWorld']=![]),super[_0x453c57(0xe6)]();}[_0x10c73c(0xf9)](){const _0x452422=_0x10c73c;return this[_0x452422(0xe8)];}[_0x10c73c(0xca)](){return null;}[_0x10c73c(0xd7)](_0x132f6f){return;}[_0x10c73c(0xea)](_0x361f5e){return;}[_0x10c73c(0xfd)](){return;}[_0x10c73c(0xee)](){const _0x293aba=_0x10c73c;if(this['_debugObject'])return;const _0x32e458=this['getDebugAttachParent'](),_0x2b8d1c=this[_0x293aba(0xca)]();if(!_0x2b8d1c)return;this[_0x293aba(0xfc)]=_0x2b8d1c,_0x2b8d1c[_0x293aba(0xf8)](_0x2d8e09=>{const _0x231351=_0x293aba;_0x2d8e09[_0x231351(0xe4)]['rayIgnored']=!![];}),_0x32e458&&_0x32e458['add'](_0x2b8d1c),this[_0x293aba(0xfd)]();}[_0x10c73c(0xeb)](){const _0x43ff58=_0x10c73c,_0x5dfd31=this[_0x43ff58(0xfc)];if(!_0x5dfd31)return;this[_0x43ff58(0xd7)](_0x5dfd31),_0x5dfd31[_0x43ff58(0xd5)]&&_0x5dfd31[_0x43ff58(0xd5)]['remove'](_0x5dfd31),this['_debugObject']=null;}}
|
|
147
147
|
|
|
148
|
-
function _0x72b6(_0x2c6aae,_0xfdaa9a){_0x2c6aae=_0x2c6aae-0x170;const _0x2a6d7c=_0x2a6d();let _0x72b6f1=_0x2a6d7c[_0x2c6aae];return _0x72b6f1;}const _0x297f72=_0x72b6;(function(_0x17f0b6,_0xc2ea18){const _0x2adf36=_0x72b6,_0x3c1625=_0x17f0b6();while(!![]){try{const _0x29e98f=-parseInt(_0x2adf36(0x1a1))/0x1+parseInt(_0x2adf36(0x1ac))/0x2*(parseInt(_0x2adf36(0x184))/0x3)+parseInt(_0x2adf36(0x18a))/0x4*(-parseInt(_0x2adf36(0x17e))/0x5)+parseInt(_0x2adf36(0x185))/0x6*(parseInt(_0x2adf36(0x180))/0x7)+-parseInt(_0x2adf36(0x18f))/0x8*(parseInt(_0x2adf36(0x1a9))/0x9)+-parseInt(_0x2adf36(0x19c))/0xa+parseInt(_0x2adf36(0x1a6))/0xb;if(_0x29e98f===_0xc2ea18)break;else _0x3c1625['push'](_0x3c1625['shift']());}catch(_0x247297){_0x3c1625['push'](_0x3c1625['shift']());}}}(_0x2a6d,0x5e06b));function _0x2a6d(){const _0xfe411b=['onDebugTick','add','837141xcuMmJ','138SyVyuS','Pawn','distance','debugColor','_debugRoot','4bfBMpO','objectType','getWorldPosition','CapsuleColliderComponent','getWorldAABB','8NDrHzu','multiplyScalar','raycast','_debugTop','needsUpdate','clone','_tmpPoint','_tmpB','normal','_tmpBA','_tmpNormal','lengthSq','isFinite','304150Vilmcg','sub','name','makeSphereHit','scale','254504hudeUZ','_debugBottom','max','copy','Ignore','4736985hQIijT','transparent','_tmpA','3326238dBmHis','halfHeight','getWorldScale','2gdsgui','setCollisionResponse','_radius','Overlap','destroyDebugObject','opacity','debugOpacity','_halfHeight','_debugCylinder','abs','traverse','onDebugStyleChanged','radius','sqrt','raycastSphere','dot','createDebugObject','point','1777595nXfUoN','position','208621KFIIKT','set'];_0x2a6d=function(){return _0xfe411b;};return _0x2a6d();}class CapsuleColliderComponent extends ColliderComponent{get[_0x297f72(0x178)](){const _0x36c2cc=_0x297f72;return this[_0x36c2cc(0x1ae)];}get[_0x297f72(0x1aa)](){return this['_halfHeight'];}constructor(_0x250ee1,_0x5b3aa0=0.35,_0x325f72=0.5,_0x49fbf8){const _0x24aeab=_0x297f72;super(_0x250ee1,_0x49fbf8),this[_0x24aeab(0x189)]=null,this[_0x24aeab(0x174)]=null,this['_debugTop']=null,this['_debugBottom']=null,this['_tmpA']=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this[_0x24aeab(0x198)]=new webgpu.Vector3(),this['_tmpOA']=new webgpu.Vector3(),this[_0x24aeab(0x195)]=new webgpu.Vector3(),this[_0x24aeab(0x199)]=new webgpu.Vector3(),this[_0x24aeab(0x1ae)]=Math[_0x24aeab(0x1a3)](0x0,_0x5b3aa0),this[_0x24aeab(0x173)]=Math[_0x24aeab(0x1a3)](0x0,_0x325f72),this[_0x24aeab(0x18b)]=exports.CollisionChannel[_0x24aeab(0x186)],this[_0x24aeab(0x1ad)](exports.CollisionChannel[_0x24aeab(0x186)],exports.CollisionResponse[_0x24aeab(0x1a5)]),this['setCollisionResponse'](exports.CollisionChannel['Trigger'],exports.CollisionResponse[_0x24aeab(0x1af)]),this[_0x24aeab(0x19e)]=_0x24aeab(0x18d);}[_0x297f72(0x18e)](_0x538a97=new webgpu.Box3()){const _0x3c1f74=_0x297f72,_0x503e53=this[_0x3c1f74(0x18c)](),_0x1c9e29=this[_0x3c1f74(0x1ab)](),_0x4e0402=Math[_0x3c1f74(0x175)](_0x1c9e29['x'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['x']):0x1,_0x575522=Math['abs'](_0x1c9e29['y'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['y']):0x1,_0x45bda0=Math[_0x3c1f74(0x175)](_0x1c9e29['z'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['z']):0x1,_0x51ed9a=this[_0x3c1f74(0x1ae)]*Math[_0x3c1f74(0x1a3)](_0x4e0402,_0x45bda0),_0x3b3ed6=this[_0x3c1f74(0x173)]*_0x575522,_0xc9130b=new webgpu.Vector3(_0x503e53['x']-_0x51ed9a,_0x503e53['y']-_0x3b3ed6-_0x51ed9a,_0x503e53['z']-_0x51ed9a),_0xd8526b=new webgpu.Vector3(_0x503e53['x']+_0x51ed9a,_0x503e53['y']+_0x3b3ed6+_0x51ed9a,_0x503e53['z']+_0x51ed9a);return _0x538a97[_0x3c1f74(0x181)](_0xc9130b,_0xd8526b),_0x538a97;}[_0x297f72(0x191)](_0xca879c,_0x48fa26,_0x2628a3){const _0x487692=_0x297f72;if(_0x2628a3<=0.000001)return null;const _0x1afccd=this[_0x487692(0x18c)](),_0x4386d7=this[_0x487692(0x1ab)](),_0x47a406=Math[_0x487692(0x175)](_0x4386d7['x'])>1e-8?Math[_0x487692(0x175)](_0x4386d7['x']):0x1,_0x3ad9e8=Math['abs'](_0x4386d7['y'])>1e-8?Math[_0x487692(0x175)](_0x4386d7['y']):0x1,_0x90872a=Math[_0x487692(0x175)](_0x4386d7['z'])>1e-8?Math['abs'](_0x4386d7['z']):0x1,_0x405bc5=this[_0x487692(0x1ae)]*Math[_0x487692(0x1a3)](_0x47a406,_0x90872a),_0x33513b=this[_0x487692(0x173)]*_0x3ad9e8,_0x149ea3=this[_0x487692(0x1a8)][_0x487692(0x1a4)](_0x1afccd)[_0x487692(0x183)](new webgpu.Vector3(0x0,-_0x33513b,0x0)),_0x19ae9e=this[_0x487692(0x196)]['copy'](_0x1afccd)[_0x487692(0x183)](new webgpu.Vector3(0x0,_0x33513b,0x0)),_0x13f4eb=this[_0x487692(0x198)][_0x487692(0x1a4)](_0x19ae9e)['sub'](_0x149ea3),_0x50c270=this['_tmpOA']['copy'](_0xca879c)['sub'](_0x149ea3),_0x14d678=_0x13f4eb[_0x487692(0x17b)](_0x13f4eb),_0x5deaf2=_0x13f4eb['dot'](_0x48fa26),_0x136f7e=_0x13f4eb[_0x487692(0x17b)](_0x50c270),_0x57beb3=_0x48fa26[_0x487692(0x17b)](_0x50c270),_0x5e16cd=_0x50c270[_0x487692(0x17b)](_0x50c270),_0x3194c6=_0x405bc5*_0x405bc5,_0x527759=_0x14d678-_0x5deaf2*_0x5deaf2,_0x255fc9=_0x14d678*_0x57beb3-_0x136f7e*_0x5deaf2,_0x1a6a47=_0x14d678*(_0x5e16cd-_0x3194c6)-_0x136f7e*_0x136f7e;let _0x47aa17=Infinity,_0x20326b=null,_0x30c8c4=null;const _0x6e8a62=1e-10;if(Math[_0x487692(0x175)](_0x527759)>_0x6e8a62){const _0x301619=_0x255fc9*_0x255fc9-_0x527759*_0x1a6a47;if(_0x301619>=0x0){const _0x223f78=(-_0x255fc9-Math[_0x487692(0x179)](_0x301619))/_0x527759,_0x20c329=_0x136f7e+_0x223f78*_0x5deaf2;if(_0x223f78>=0x0&&_0x223f78<=_0x2628a3&&_0x20c329>0x0&&_0x20c329<_0x14d678){_0x47aa17=_0x223f78,_0x20326b=this[_0x487692(0x195)][_0x487692(0x1a4)](_0x48fa26)[_0x487692(0x190)](_0x223f78)[_0x487692(0x183)](_0xca879c);const _0x39cf78=this[_0x487692(0x199)][_0x487692(0x1a4)](_0x13f4eb)[_0x487692(0x190)](_0x20c329/_0x14d678)['add'](_0x149ea3);_0x30c8c4=this[_0x487692(0x199)][_0x487692(0x1a4)](_0x20326b)['sub'](_0x39cf78);const _0x2d72d1=_0x30c8c4['lengthSq']();_0x2d72d1>1e-12?_0x30c8c4['multiplyScalar'](0x1/Math[_0x487692(0x179)](_0x2d72d1)):_0x30c8c4[_0x487692(0x181)](0x0,0x1,0x0);}}}const _0x5efa9c=this[_0x487692(0x17a)](_0xca879c,_0x48fa26,_0x2628a3,_0x149ea3,_0x405bc5);_0x5efa9c&&_0x5efa9c['distance']<_0x47aa17&&(_0x47aa17=_0x5efa9c[_0x487692(0x187)],_0x20326b=_0x5efa9c[_0x487692(0x17d)],_0x30c8c4=_0x5efa9c[_0x487692(0x197)]);const _0x1fbd0d=this[_0x487692(0x17a)](_0xca879c,_0x48fa26,_0x2628a3,_0x19ae9e,_0x405bc5);_0x1fbd0d&&_0x1fbd0d['distance']<_0x47aa17&&(_0x47aa17=_0x1fbd0d[_0x487692(0x187)],_0x20326b=_0x1fbd0d['point'],_0x30c8c4=_0x1fbd0d[_0x487692(0x197)]);if(!_0x20326b||!_0x30c8c4||!Number[_0x487692(0x19b)](_0x47aa17))return null;return {'point':_0x20326b[_0x487692(0x194)](),'normal':_0x30c8c4[_0x487692(0x194)](),'distance':_0x47aa17};}[_0x297f72(0x17a)](_0x4a6191,_0xbb14f9,_0x558c28,_0x1bf00f,_0x41277f){const _0x3ea487=_0x297f72,_0x7b27ef=_0x4a6191[_0x3ea487(0x194)]()[_0x3ea487(0x19d)](_0x1bf00f),_0x11b82c=_0x7b27ef['dot'](_0xbb14f9),_0x355a24=_0x7b27ef[_0x3ea487(0x17b)](_0x7b27ef)-_0x41277f*_0x41277f,_0x360a37=_0x11b82c*_0x11b82c-_0x355a24;if(_0x360a37<0x0)return null;const _0x4db62e=Math[_0x3ea487(0x179)](_0x360a37),_0x4a6058=-_0x11b82c-_0x4db62e;if(_0x4a6058<0x0||_0x4a6058>_0x558c28){const _0x97feeb=-_0x11b82c+_0x4db62e;if(_0x97feeb<0x0||_0x97feeb>_0x558c28)return null;return this['makeSphereHit'](_0x4a6191,_0xbb14f9,_0x97feeb,_0x1bf00f);}return this[_0x3ea487(0x19f)](_0x4a6191,_0xbb14f9,_0x4a6058,_0x1bf00f);}[_0x297f72(0x19f)](_0x3777d9,_0x4d76b7,_0xe011e8,_0x53f3ba){const _0x3dc0de=_0x297f72,_0x4da4c5=_0x3777d9['clone']()[_0x3dc0de(0x183)](_0x4d76b7[_0x3dc0de(0x194)]()[_0x3dc0de(0x190)](_0xe011e8)),_0x313d05=_0x4da4c5[_0x3dc0de(0x194)]()[_0x3dc0de(0x19d)](_0x53f3ba),_0x2627a3=_0x313d05[_0x3dc0de(0x19a)]();return _0x2627a3>1e-12?_0x313d05[_0x3dc0de(0x190)](0x1/Math[_0x3dc0de(0x179)](_0x2627a3)):_0x313d05[_0x3dc0de(0x181)](0x0,0x1,0x0),{'point':_0x4da4c5,'normal':_0x313d05,'distance':_0xe011e8};}[_0x297f72(0x17c)](){const _0x32165a=_0x297f72,_0x430c97=new webgpu.Object3D();_0x430c97[_0x32165a(0x19e)]='CapsuleColliderDebug';const _0x6e2dd0=new webgpu.MeshBasicMaterial({'color':this[_0x32165a(0x188)],'wireframe':!![],'transparent':!![],'opacity':this[_0x32165a(0x172)]}),_0x116355=Math[_0x32165a(0x1a3)](0.000001,this['_radius']),_0x2470b3=Math[_0x32165a(0x1a3)](0.000001,this['_halfHeight']*0x2),_0x8bb255=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x116355,_0x116355,_0x2470b3,0xc,0x1,!![]),_0x6e2dd0),_0x1aca0e=new webgpu.Mesh(new webgpu.SphereGeometry(_0x116355,0xc,0x8),_0x6e2dd0),_0x4b237d=new webgpu.Mesh(new webgpu.SphereGeometry(_0x116355,0xc,0x8),_0x6e2dd0);return _0x1aca0e[_0x32165a(0x17f)][_0x32165a(0x181)](0x0,this['_halfHeight'],0x0),_0x4b237d['position'][_0x32165a(0x181)](0x0,-this[_0x32165a(0x173)],0x0),_0x430c97[_0x32165a(0x183)](_0x8bb255),_0x430c97[_0x32165a(0x183)](_0x1aca0e),_0x430c97['add'](_0x4b237d),this[_0x32165a(0x189)]=_0x430c97,this[_0x32165a(0x174)]=_0x8bb255,this[_0x32165a(0x192)]=_0x1aca0e,this[_0x32165a(0x1a2)]=_0x4b237d,this[_0x32165a(0x182)](0x0),_0x430c97;}[_0x297f72(0x170)](_0x54df0d){const _0x281a3b=_0x297f72;this[_0x281a3b(0x189)]=null,this[_0x281a3b(0x174)]=null,this[_0x281a3b(0x192)]=null,this[_0x281a3b(0x1a2)]=null;}[_0x297f72(0x182)](_0x5d1d61){const _0x1f4573=_0x297f72,_0x50b251=this[_0x1f4573(0x174)],_0x559371=this[_0x1f4573(0x192)],_0xf4cace=this[_0x1f4573(0x1a2)];if(!_0x50b251||!_0x559371||!_0xf4cace)return;const _0x28ce9a=this['getWorldScale'](),_0x334c15=Math[_0x1f4573(0x175)](_0x28ce9a['x'])>1e-8?_0x28ce9a['x']:0x1,_0x14ab7f=Math[_0x1f4573(0x175)](_0x28ce9a['y'])>1e-8?_0x28ce9a['y']:0x1,_0x49f438=Math[_0x1f4573(0x175)](_0x28ce9a['z'])>1e-8?_0x28ce9a['z']:0x1,_0x25142d=Math[_0x1f4573(0x1a3)](0.000001,this['_radius'])*Math[_0x1f4573(0x1a3)](Math[_0x1f4573(0x175)](_0x334c15),Math[_0x1f4573(0x175)](_0x49f438)),_0x4da431=Math[_0x1f4573(0x1a3)](0x0,this[_0x1f4573(0x173)])*Math[_0x1f4573(0x175)](_0x14ab7f);_0x50b251['scale']['set'](_0x25142d/_0x334c15,_0x4da431*0x2/_0x14ab7f,_0x25142d/_0x49f438),_0x559371[_0x1f4573(0x1a0)]['set'](_0x25142d/_0x334c15,_0x25142d/_0x14ab7f,_0x25142d/_0x49f438),_0xf4cace['scale'][_0x1f4573(0x181)](_0x25142d/_0x334c15,_0x25142d/_0x14ab7f,_0x25142d/_0x49f438),_0x559371['position'][_0x1f4573(0x181)](0x0,_0x4da431/_0x14ab7f,0x0),_0xf4cace['position']['set'](0x0,-_0x4da431/_0x14ab7f,0x0);}[_0x297f72(0x177)](){const _0x34ec46=_0x297f72,_0x1291c5=this[_0x34ec46(0x189)];if(!_0x1291c5)return;_0x1291c5[_0x34ec46(0x176)](_0x55c4f3=>{const _0x14700d=_0x34ec46,_0x21bc4d=_0x55c4f3,_0x52c966=_0x21bc4d['material'];if(!_0x52c966)return;_0x52c966['color']['setHex'](this['debugColor']),_0x52c966[_0x14700d(0x171)]=this[_0x14700d(0x172)],_0x52c966[_0x14700d(0x1a7)]=this[_0x14700d(0x172)]<0x1,_0x52c966[_0x14700d(0x193)]=!![];});}}
|
|
148
|
+
function _0x45a9(_0x333fdf,_0x22d420){_0x333fdf=_0x333fdf-0x7c;const _0x15635e=_0x1563();let _0x45a979=_0x15635e[_0x333fdf];return _0x45a979;}const _0x58c51a=_0x45a9;(function(_0x40eb0d,_0x27ec13){const _0x2c1079=_0x45a9,_0x42b67a=_0x40eb0d();while(!![]){try{const _0x50e394=parseInt(_0x2c1079(0xaf))/0x1+parseInt(_0x2c1079(0x85))/0x2+-parseInt(_0x2c1079(0xa5))/0x3+-parseInt(_0x2c1079(0x99))/0x4*(parseInt(_0x2c1079(0x83))/0x5)+parseInt(_0x2c1079(0xb8))/0x6*(-parseInt(_0x2c1079(0x87))/0x7)+-parseInt(_0x2c1079(0xb6))/0x8+parseInt(_0x2c1079(0xb3))/0x9*(parseInt(_0x2c1079(0xb5))/0xa);if(_0x50e394===_0x27ec13)break;else _0x42b67a['push'](_0x42b67a['shift']());}catch(_0x25f6a7){_0x42b67a['push'](_0x42b67a['shift']());}}}(_0x1563,0xb382a));function _0x1563(){const _0x4466f4=['point','_tmpBA','isFinite','_tmpB','name','raycast','set','add','needsUpdate','5515310lkoTUY','position','655682AYugQU','max','469rimugB','abs','clone','sqrt','Trigger','halfHeight','sub','_debugCylinder','makeSphereHit','dot','getWorldAABB','debugColor','_tmpOA','lengthSq','CapsuleColliderDebug','_debugRoot','material','_tmpNormal','4RNHeLb','destroyDebugObject','Pawn','CapsuleColliderComponent','scale','Ignore','_debugBottom','distance','_tmpPoint','transparent','multiplyScalar','normal','979488QteCIB','getWorldScale','_halfHeight','Overlap','copy','_radius','onDebugStyleChanged','getWorldPosition','color','_tmpA','613208aUrvOs','objectType','onDebugTick','debugOpacity','9JcbPrX','raycastSphere','22456580XlvvVl','1849664dowOrR','_debugTop','70806WogpHz','setCollisionResponse'];_0x1563=function(){return _0x4466f4;};return _0x1563();}class CapsuleColliderComponent extends ColliderComponent{get['radius'](){return this['_radius'];}get[_0x58c51a(0x8c)](){return this['_halfHeight'];}constructor(_0x2a7193,_0x1c1bf0=0.35,_0x2006b0=0.5,_0x43b741){const _0x1e7b36=_0x58c51a;super(_0x2a7193,_0x43b741),this[_0x1e7b36(0x96)]=null,this['_debugCylinder']=null,this[_0x1e7b36(0xb7)]=null,this[_0x1e7b36(0x9f)]=null,this[_0x1e7b36(0xae)]=new webgpu.Vector3(),this[_0x1e7b36(0x7d)]=new webgpu.Vector3(),this[_0x1e7b36(0xbb)]=new webgpu.Vector3(),this['_tmpOA']=new webgpu.Vector3(),this[_0x1e7b36(0xa1)]=new webgpu.Vector3(),this['_tmpNormal']=new webgpu.Vector3(),this[_0x1e7b36(0xaa)]=Math[_0x1e7b36(0x86)](0x0,_0x1c1bf0),this['_halfHeight']=Math[_0x1e7b36(0x86)](0x0,_0x2006b0),this[_0x1e7b36(0xb0)]=exports.CollisionChannel[_0x1e7b36(0x9b)],this['setCollisionResponse'](exports.CollisionChannel[_0x1e7b36(0x9b)],exports.CollisionResponse[_0x1e7b36(0x9e)]),this[_0x1e7b36(0xb9)](exports.CollisionChannel[_0x1e7b36(0x8b)],exports.CollisionResponse[_0x1e7b36(0xa8)]),this[_0x1e7b36(0x7e)]=_0x1e7b36(0x9c);}[_0x58c51a(0x91)](_0x2f2365=new webgpu.Box3()){const _0x41d64a=_0x58c51a,_0x3dedc6=this['getWorldPosition'](),_0x19133d=this[_0x41d64a(0xa6)](),_0x5a4cc6=Math['abs'](_0x19133d['x'])>1e-8?Math[_0x41d64a(0x88)](_0x19133d['x']):0x1,_0x56d9ec=Math[_0x41d64a(0x88)](_0x19133d['y'])>1e-8?Math[_0x41d64a(0x88)](_0x19133d['y']):0x1,_0x180e5a=Math[_0x41d64a(0x88)](_0x19133d['z'])>1e-8?Math['abs'](_0x19133d['z']):0x1,_0x1ed0e1=this[_0x41d64a(0xaa)]*Math[_0x41d64a(0x86)](_0x5a4cc6,_0x180e5a),_0x4af858=this[_0x41d64a(0xa7)]*_0x56d9ec,_0x504dd6=new webgpu.Vector3(_0x3dedc6['x']-_0x1ed0e1,_0x3dedc6['y']-_0x4af858-_0x1ed0e1,_0x3dedc6['z']-_0x1ed0e1),_0x164cf5=new webgpu.Vector3(_0x3dedc6['x']+_0x1ed0e1,_0x3dedc6['y']+_0x4af858+_0x1ed0e1,_0x3dedc6['z']+_0x1ed0e1);return _0x2f2365[_0x41d64a(0x80)](_0x504dd6,_0x164cf5),_0x2f2365;}[_0x58c51a(0x7f)](_0x45a721,_0x527f2a,_0x29ed86){const _0x1b12f1=_0x58c51a;if(_0x29ed86<=0.000001)return null;const _0x2c6be2=this[_0x1b12f1(0xac)](),_0xe8dc4=this[_0x1b12f1(0xa6)](),_0x59f50b=Math[_0x1b12f1(0x88)](_0xe8dc4['x'])>1e-8?Math[_0x1b12f1(0x88)](_0xe8dc4['x']):0x1,_0x1a5d9c=Math['abs'](_0xe8dc4['y'])>1e-8?Math[_0x1b12f1(0x88)](_0xe8dc4['y']):0x1,_0x387acc=Math[_0x1b12f1(0x88)](_0xe8dc4['z'])>1e-8?Math[_0x1b12f1(0x88)](_0xe8dc4['z']):0x1,_0x26cbb7=this[_0x1b12f1(0xaa)]*Math['max'](_0x59f50b,_0x387acc),_0x455f32=this[_0x1b12f1(0xa7)]*_0x1a5d9c,_0x16fccc=this['_tmpA']['copy'](_0x2c6be2)['add'](new webgpu.Vector3(0x0,-_0x455f32,0x0)),_0x5beb15=this[_0x1b12f1(0x7d)]['copy'](_0x2c6be2)[_0x1b12f1(0x81)](new webgpu.Vector3(0x0,_0x455f32,0x0)),_0xc99023=this[_0x1b12f1(0xbb)][_0x1b12f1(0xa9)](_0x5beb15)[_0x1b12f1(0x8d)](_0x16fccc),_0x38e276=this[_0x1b12f1(0x93)][_0x1b12f1(0xa9)](_0x45a721)[_0x1b12f1(0x8d)](_0x16fccc),_0x2e91d8=_0xc99023['dot'](_0xc99023),_0x39fd0d=_0xc99023[_0x1b12f1(0x90)](_0x527f2a),_0x3a5996=_0xc99023[_0x1b12f1(0x90)](_0x38e276),_0x49d7ca=_0x527f2a['dot'](_0x38e276),_0x136b60=_0x38e276[_0x1b12f1(0x90)](_0x38e276),_0x839d79=_0x26cbb7*_0x26cbb7,_0x5a785f=_0x2e91d8-_0x39fd0d*_0x39fd0d,_0x58c315=_0x2e91d8*_0x49d7ca-_0x3a5996*_0x39fd0d,_0x296af1=_0x2e91d8*(_0x136b60-_0x839d79)-_0x3a5996*_0x3a5996;let _0x4078c1=Infinity,_0x591655=null,_0x32e114=null;const _0x557d76=1e-10;if(Math[_0x1b12f1(0x88)](_0x5a785f)>_0x557d76){const _0x5e582e=_0x58c315*_0x58c315-_0x5a785f*_0x296af1;if(_0x5e582e>=0x0){const _0x598744=(-_0x58c315-Math[_0x1b12f1(0x8a)](_0x5e582e))/_0x5a785f,_0x43f5a5=_0x3a5996+_0x598744*_0x39fd0d;if(_0x598744>=0x0&&_0x598744<=_0x29ed86&&_0x43f5a5>0x0&&_0x43f5a5<_0x2e91d8){_0x4078c1=_0x598744,_0x591655=this[_0x1b12f1(0xa1)]['copy'](_0x527f2a)[_0x1b12f1(0xa3)](_0x598744)[_0x1b12f1(0x81)](_0x45a721);const _0x4adf9f=this[_0x1b12f1(0x98)][_0x1b12f1(0xa9)](_0xc99023)['multiplyScalar'](_0x43f5a5/_0x2e91d8)['add'](_0x16fccc);_0x32e114=this['_tmpNormal'][_0x1b12f1(0xa9)](_0x591655)['sub'](_0x4adf9f);const _0x19dc76=_0x32e114['lengthSq']();_0x19dc76>1e-12?_0x32e114['multiplyScalar'](0x1/Math[_0x1b12f1(0x8a)](_0x19dc76)):_0x32e114[_0x1b12f1(0x80)](0x0,0x1,0x0);}}}const _0x119d3e=this[_0x1b12f1(0xb4)](_0x45a721,_0x527f2a,_0x29ed86,_0x16fccc,_0x26cbb7);_0x119d3e&&_0x119d3e[_0x1b12f1(0xa0)]<_0x4078c1&&(_0x4078c1=_0x119d3e[_0x1b12f1(0xa0)],_0x591655=_0x119d3e[_0x1b12f1(0xba)],_0x32e114=_0x119d3e[_0x1b12f1(0xa4)]);const _0x10e8ff=this['raycastSphere'](_0x45a721,_0x527f2a,_0x29ed86,_0x5beb15,_0x26cbb7);_0x10e8ff&&_0x10e8ff['distance']<_0x4078c1&&(_0x4078c1=_0x10e8ff[_0x1b12f1(0xa0)],_0x591655=_0x10e8ff[_0x1b12f1(0xba)],_0x32e114=_0x10e8ff[_0x1b12f1(0xa4)]);if(!_0x591655||!_0x32e114||!Number[_0x1b12f1(0x7c)](_0x4078c1))return null;return {'point':_0x591655[_0x1b12f1(0x89)](),'normal':_0x32e114[_0x1b12f1(0x89)](),'distance':_0x4078c1};}[_0x58c51a(0xb4)](_0x311811,_0x4e294c,_0xf82bee,_0x1889e8,_0x2d3737){const _0x119330=_0x58c51a,_0x23435f=_0x311811[_0x119330(0x89)]()[_0x119330(0x8d)](_0x1889e8),_0x59e9b3=_0x23435f['dot'](_0x4e294c),_0x327089=_0x23435f['dot'](_0x23435f)-_0x2d3737*_0x2d3737,_0x369aeb=_0x59e9b3*_0x59e9b3-_0x327089;if(_0x369aeb<0x0)return null;const _0x265a5d=Math[_0x119330(0x8a)](_0x369aeb),_0x43bbbc=-_0x59e9b3-_0x265a5d;if(_0x43bbbc<0x0||_0x43bbbc>_0xf82bee){const _0x766215=-_0x59e9b3+_0x265a5d;if(_0x766215<0x0||_0x766215>_0xf82bee)return null;return this[_0x119330(0x8f)](_0x311811,_0x4e294c,_0x766215,_0x1889e8);}return this[_0x119330(0x8f)](_0x311811,_0x4e294c,_0x43bbbc,_0x1889e8);}['makeSphereHit'](_0x37b26d,_0x537f83,_0x336298,_0x2fc400){const _0x40c04f=_0x58c51a,_0x16251e=_0x37b26d['clone']()[_0x40c04f(0x81)](_0x537f83[_0x40c04f(0x89)]()[_0x40c04f(0xa3)](_0x336298)),_0x467fa3=_0x16251e['clone']()[_0x40c04f(0x8d)](_0x2fc400),_0x3e1166=_0x467fa3[_0x40c04f(0x94)]();return _0x3e1166>1e-12?_0x467fa3['multiplyScalar'](0x1/Math[_0x40c04f(0x8a)](_0x3e1166)):_0x467fa3[_0x40c04f(0x80)](0x0,0x1,0x0),{'point':_0x16251e,'normal':_0x467fa3,'distance':_0x336298};}['createDebugObject'](){const _0x46a125=_0x58c51a,_0x3d05d9=new webgpu.Object3D();_0x3d05d9['name']=_0x46a125(0x95);const _0x50f694=new webgpu.MeshBasicMaterial({'color':this[_0x46a125(0x92)],'wireframe':!![],'transparent':!![],'opacity':this[_0x46a125(0xb2)]}),_0x51d59d=Math[_0x46a125(0x86)](0.000001,this[_0x46a125(0xaa)]),_0x2bc696=Math['max'](0.000001,this[_0x46a125(0xa7)]*0x2),_0x42dd74=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x51d59d,_0x51d59d,_0x2bc696,0xc,0x1,!![]),_0x50f694),_0x400049=new webgpu.Mesh(new webgpu.SphereGeometry(_0x51d59d,0xc,0x8),_0x50f694),_0x4e558b=new webgpu.Mesh(new webgpu.SphereGeometry(_0x51d59d,0xc,0x8),_0x50f694);return _0x400049[_0x46a125(0x84)][_0x46a125(0x80)](0x0,this[_0x46a125(0xa7)],0x0),_0x4e558b[_0x46a125(0x84)]['set'](0x0,-this[_0x46a125(0xa7)],0x0),_0x3d05d9[_0x46a125(0x81)](_0x42dd74),_0x3d05d9[_0x46a125(0x81)](_0x400049),_0x3d05d9['add'](_0x4e558b),this[_0x46a125(0x96)]=_0x3d05d9,this['_debugCylinder']=_0x42dd74,this[_0x46a125(0xb7)]=_0x400049,this[_0x46a125(0x9f)]=_0x4e558b,this[_0x46a125(0xb1)](0x0),_0x3d05d9;}[_0x58c51a(0x9a)](_0x5e3e28){const _0x297641=_0x58c51a;this[_0x297641(0x96)]=null,this[_0x297641(0x8e)]=null,this[_0x297641(0xb7)]=null,this[_0x297641(0x9f)]=null;}['onDebugTick'](_0xb6a1dd){const _0x492548=_0x58c51a,_0x3fa06f=this['_debugCylinder'],_0x14d349=this['_debugTop'],_0x2d0b7c=this[_0x492548(0x9f)];if(!_0x3fa06f||!_0x14d349||!_0x2d0b7c)return;const _0x5253f3=this[_0x492548(0xa6)](),_0x48b44b=Math[_0x492548(0x88)](_0x5253f3['x'])>1e-8?_0x5253f3['x']:0x1,_0x2bdb44=Math[_0x492548(0x88)](_0x5253f3['y'])>1e-8?_0x5253f3['y']:0x1,_0x587c1e=Math[_0x492548(0x88)](_0x5253f3['z'])>1e-8?_0x5253f3['z']:0x1,_0x304c7c=Math[_0x492548(0x86)](0.000001,this[_0x492548(0xaa)])*Math[_0x492548(0x86)](Math[_0x492548(0x88)](_0x48b44b),Math['abs'](_0x587c1e)),_0x12c346=Math[_0x492548(0x86)](0x0,this['_halfHeight'])*Math[_0x492548(0x88)](_0x2bdb44);_0x3fa06f[_0x492548(0x9d)][_0x492548(0x80)](_0x304c7c/_0x48b44b,_0x12c346*0x2/_0x2bdb44,_0x304c7c/_0x587c1e),_0x14d349[_0x492548(0x9d)][_0x492548(0x80)](_0x304c7c/_0x48b44b,_0x304c7c/_0x2bdb44,_0x304c7c/_0x587c1e),_0x2d0b7c[_0x492548(0x9d)][_0x492548(0x80)](_0x304c7c/_0x48b44b,_0x304c7c/_0x2bdb44,_0x304c7c/_0x587c1e),_0x14d349['position'][_0x492548(0x80)](0x0,_0x12c346/_0x2bdb44,0x0),_0x2d0b7c[_0x492548(0x84)][_0x492548(0x80)](0x0,-_0x12c346/_0x2bdb44,0x0);}[_0x58c51a(0xab)](){const _0x18429c=_0x58c51a,_0x1cdb57=this[_0x18429c(0x96)];if(!_0x1cdb57)return;_0x1cdb57['traverse'](_0x375944=>{const _0x4a8c78=_0x18429c,_0x2ecb09=_0x375944,_0x8bbdd=_0x2ecb09[_0x4a8c78(0x97)];if(!_0x8bbdd)return;_0x8bbdd[_0x4a8c78(0xad)]['setHex'](this[_0x4a8c78(0x92)]),_0x8bbdd['opacity']=this[_0x4a8c78(0xb2)],_0x8bbdd[_0x4a8c78(0xa2)]=this[_0x4a8c78(0xb2)]<0x1,_0x8bbdd[_0x4a8c78(0x82)]=!![];});}}
|
|
149
149
|
|
|
150
|
-
const _0x49f63a=_0x41aa;(function(_0x4a15e3,_0x2e9b05){const _0xe4cafe=_0x41aa,_0x75bdba=_0x4a15e3();while(!![]){try{const _0x463a46=-parseInt(_0xe4cafe(0x233))/0x1*(-parseInt(_0xe4cafe(0x20e))/0x2)+-parseInt(_0xe4cafe(0x20d))/0x3*(parseInt(_0xe4cafe(0x224))/0x4)+-parseInt(_0xe4cafe(0x211))/0x5*(-parseInt(_0xe4cafe(0x1e3))/0x6)+parseInt(_0xe4cafe(0x1c8))/0x7+-parseInt(_0xe4cafe(0x1f2))/0x8+-parseInt(_0xe4cafe(0x1d4))/0x9*(parseInt(_0xe4cafe(0x22e))/0xa)+parseInt(_0xe4cafe(0x1ec))/0xb;if(_0x463a46===_0x2e9b05)break;else _0x75bdba['push'](_0x75bdba['shift']());}catch(_0x1a69ca){_0x75bdba['push'](_0x75bdba['shift']());}}}(_0x5469,0x9e42e));function _0x41aa(_0x32eef8,_0x172ed3){_0x32eef8=_0x32eef8-0x1c1;const _0x5469bc=_0x5469();let _0x41aa8b=_0x5469bc[_0x32eef8];return _0x41aa8b;}function _0x5469(){const _0x585e56=['593055TrkLfC','ArrowUp','setRotation','KeyA','physics','clamp','button','isClickEnabled','rotation','includes','_moveUp','blocking','outer','lineTraceMulti','Visibility','6sIwbEB','constructRootComponent','lengthSq','distance','onClick','_yaw','_targetPos','Ignore','canvas','14569500qyTbyO','onKeyDown','lyCameraDragging','lineTraceSingle','remove','_moveRight','10369256BqXFaT','onKeyUpDelegate','updateProjectionMatrix','unpossess','pointerLockElement','KeyW','ArrowDown','parentActor','radius','requestPointerLock','width','normalize','max','KeyS','enabled','getQuaternion','buttons','ArrowLeft','rootComponent','syncRotation','_moveLeft','find','_pitch','setFromEuler','ArrowRight','onBlur','ray','3gMkYEl','6cAWolc','onContextMenu','clientY','5858890rtfsGb','app','copy','length','near','sub','onWindowBlurDelegate','point','updateCameraFromPawn','possess','eyeHeight','halfHeight','onContextMenuDelegate','order','onRawClickDelegate','position','setPosition','onKeyUp','exitPointerLock','1228224MjWgxi','asin','getPosition','landToGround','code','onPointerLockChange','onPointerMoveDelegate','dataset','_moveForward','inputFilter','180vPtetM','setCollisionResponse','enableGravity','normal','setCameraDraggingState','108127PzEXuf','material','Pawn','direction','setFromCamera','getBoundingClientRect','multiplyScalar','dispose','onPointerLockChangeDelegate','camera','collider','onMouseDown','Space','_verticalVelocity','world','_isRightDragging','_clickMarker','viewport','applyQuaternion','_moveBackward','controller','visible','setFromAxisAngle','onMouseUp','movementY','onPointerUpDelegate','moveSpeed','movementX','dot','setQuaternion','KeyD','YXZ','4318314LFvWZC','_moveDown','onPointerDownDelegate','threeObject','quaternion','onMouseMove','height','add','ShiftLeft','clone','onKeyDownDelegate','parent'];_0x5469=function(){return _0x585e56;};return _0x5469();}class FirstPerson extends Pawn{constructor(_0x5e5c1f){const _0xe83995=_0x41aa;super(_0x5e5c1f),this[_0xe83995(0x1c2)]=0xa,this['lookSpeed']=0.002,this['enableGravity']=!![],this['gravity']=0x1e,this[_0xe83995(0x21b)]=0.7,this['_verticalVelocity']=0x0,this['_yaw']=0x0,this[_0xe83995(0x208)]=0x0,this[_0xe83995(0x1e9)]=null,this[_0xe83995(0x243)]=null,this[_0xe83995(0x22c)]=![],this[_0xe83995(0x246)]=![],this['_moveLeft']=![],this[_0xe83995(0x1f1)]=![],this[_0xe83995(0x1de)]=![],this['_moveDown']=![],this[_0xe83995(0x242)]=![],this[_0xe83995(0x20f)]=_0x13860c=>{const _0x182b89=_0xe83995;if(!Pawn[_0x182b89(0x22d)]())return;_0x13860c['preventDefault']();},this[_0xe83995(0x20b)]=()=>{const _0xb66153=_0xe83995;this[_0xb66153(0x22c)]=![],this['_moveBackward']=![],this[_0xb66153(0x206)]=![],this[_0xb66153(0x1f1)]=![],this['_moveUp']=![],this[_0xb66153(0x1c9)]=![],this[_0xb66153(0x242)]=![],this[_0xb66153(0x232)](![]);},this['onMouseDown']=_0x1cd4bc=>{const _0x135441=_0xe83995;if(!this['enabled']||!Pawn[_0x135441(0x22d)]())return;if(_0x1cd4bc['button']!==0x2)return;this[_0x135441(0x242)]=!![],this[_0x135441(0x232)](!![]);const _0x1cf656=this[_0x135441(0x212)]['viewport'][_0x135441(0x1eb)];_0x1cf656&&document[_0x135441(0x1f6)]!==_0x1cf656&&_0x1cf656[_0x135441(0x1fb)]();},this[_0xe83995(0x24a)]=_0x1083ad=>{const _0x401b06=_0xe83995;if(_0x1083ad[_0x401b06(0x1da)]!==0x2)return;this['_isRightDragging']=![],this[_0x401b06(0x232)](![]),document[_0x401b06(0x1f6)]===this[_0x401b06(0x212)][_0x401b06(0x244)]['canvas']&&document['exitPointerLock']();},this[_0xe83995(0x1e7)]=_0x5a40e5=>{const _0x3eac73=_0xe83995;if(!this['enabled']||!Pawn[_0x3eac73(0x22d)]())return;if(_0x5a40e5['button']!==0x0)return;const _0x521a87=this[_0x3eac73(0x212)][_0x3eac73(0x244)][_0x3eac73(0x1eb)];if(!_0x521a87||!this['camera'])return;const _0x31b7b9=_0x521a87[_0x3eac73(0x238)](),_0x3bcfef=new webgpu.Vector2((_0x5a40e5['clientX']-_0x31b7b9['left'])/_0x31b7b9[_0x3eac73(0x1fc)]*0x2-0x1,-((_0x5a40e5[_0x3eac73(0x210)]-_0x31b7b9['top'])/_0x31b7b9[_0x3eac73(0x1ce)])*0x2+0x1),_0x3fb08c=new webgpu.Raycaster();_0x3fb08c[_0x3eac73(0x237)](_0x3bcfef,this[_0x3eac73(0x23c)]);const _0x331df2=_0x3fb08c[_0x3eac73(0x20c)]['origin'][_0x3eac73(0x1d1)](),_0x1511f2=_0x331df2[_0x3eac73(0x1d1)]()[_0x3eac73(0x1cf)](_0x3fb08c[_0x3eac73(0x20c)][_0x3eac73(0x236)][_0x3eac73(0x1d1)]()['multiplyScalar'](0x3e8)),_0x41309d=this[_0x3eac73(0x204)]instanceof CapsuleColliderComponent?this[_0x3eac73(0x204)]:undefined,_0x1eae32=this[_0x3eac73(0x212)][_0x3eac73(0x241)]['physics'][_0x3eac73(0x1e1)](_0x331df2,_0x1511f2,exports.CollisionChannel['Pawn'],_0x41309d);let _0x2a7118=null;for(const _0x90031c of _0x1eae32){if(!_0x90031c['blocking'])continue;if(this['camera']instanceof webgpu.PerspectiveCamera){if(_0x90031c[_0x3eac73(0x1e6)]<this[_0x3eac73(0x23c)][_0x3eac73(0x215)]*1.5)continue;}const _0x1887b2=_0x90031c[_0x3eac73(0x23d)],_0x9d4fa8=_0x1887b2&&(_0x1887b2[_0x3eac73(0x1db)]||_0x1887b2[_0x3eac73(0x1f9)]&&_0x1887b2[_0x3eac73(0x1f9)][_0x3eac73(0x1db)]),_0x428464=_0x90031c[_0x3eac73(0x231)]['y']>0.5;if(!_0x428464&&!_0x9d4fa8){let _0x43a118=0.5;this[_0x3eac73(0x23c)]instanceof webgpu.PerspectiveCamera&&(_0x43a118=this[_0x3eac73(0x23c)][_0x3eac73(0x215)]*0x2);if(_0x90031c[_0x3eac73(0x1e6)]>_0x43a118)break;continue;}_0x2a7118=_0x90031c;break;}if(_0x2a7118){const _0x595bd3=_0x2a7118[_0x3eac73(0x23d)];if(_0x595bd3){if(_0x595bd3[_0x3eac73(0x1db)])return;if(_0x595bd3[_0x3eac73(0x1f9)]&&_0x595bd3['parentActor'][_0x3eac73(0x1db)])return;}_0x2a7118['normal']['y']>0.5&&(this[_0x3eac73(0x1e9)]=_0x2a7118[_0x3eac73(0x218)]['clone'](),this[_0x3eac73(0x243)]&&(this[_0x3eac73(0x243)][_0x3eac73(0x220)][_0x3eac73(0x213)](this[_0x3eac73(0x1e9)]),this[_0x3eac73(0x243)][_0x3eac73(0x248)]=!![]));}},this['onPointerLockChange']=()=>{},this[_0xe83995(0x1cd)]=_0x38378e=>{const _0x14f129=_0xe83995,_0x3273d9=(_0x38378e[_0x14f129(0x202)]&0x2)===0x2;if(_0x3273d9&&!this[_0x14f129(0x242)])this['_isRightDragging']=!![],this['setCameraDraggingState'](!![]);else !_0x3273d9&&this['_isRightDragging']&&(this[_0x14f129(0x242)]=![],this[_0x14f129(0x232)](![]));if(document[_0x14f129(0x1f6)]!==this[_0x14f129(0x212)][_0x14f129(0x244)][_0x14f129(0x1eb)]&&!_0x3273d9)return;if(!this[_0x14f129(0x200)]||!Pawn['inputFilter']())return;const _0x20e632=_0x38378e[_0x14f129(0x1c3)]||0x0,_0x46d104=_0x38378e[_0x14f129(0x24b)]||0x0;this[_0x14f129(0x205)](),this['_yaw']-=_0x20e632*this['lookSpeed'],this[_0x14f129(0x208)]-=_0x46d104*this['lookSpeed'];const _0x461258=Math['PI']/0x2;this[_0x14f129(0x208)]=webgpu.MathUtils[_0x14f129(0x1d9)](this[_0x14f129(0x208)],-_0x461258+0.001,_0x461258-0.001);const _0x5a222f=new webgpu.Quaternion()[_0x14f129(0x249)](new webgpu.Vector3(0x0,0x1,0x0),this['_yaw']);super[_0x14f129(0x1c5)](_0x5a222f),this[_0x14f129(0x219)]();},this[_0xe83995(0x1ed)]=_0x5356cc=>{const _0x39dda6=_0xe83995;if(!Pawn[_0x39dda6(0x22d)]())return;if([_0x39dda6(0x1d5),'KeyW','ArrowLeft',_0x39dda6(0x1d7),_0x39dda6(0x1f8),_0x39dda6(0x1ff),_0x39dda6(0x20a),_0x39dda6(0x1c6)][_0x39dda6(0x1dd)](_0x5356cc['code'])){this[_0x39dda6(0x1e9)]=null;if(this['_clickMarker'])this['_clickMarker']['visible']=![];}switch(_0x5356cc['code']){case _0x39dda6(0x1d5):case _0x39dda6(0x1f7):this[_0x39dda6(0x22c)]=!![];break;case _0x39dda6(0x203):case 'KeyA':this['_moveLeft']=!![];break;case 'ArrowDown':case _0x39dda6(0x1ff):this['_moveBackward']=!![];break;case _0x39dda6(0x20a):case _0x39dda6(0x1c6):this[_0x39dda6(0x1f1)]=!![];break;case _0x39dda6(0x23f):!this[_0x39dda6(0x230)]&&(this['_moveUp']=!![]);break;case _0x39dda6(0x1d0):case 'ShiftRight':this['_moveDown']=!![];break;}},this[_0xe83995(0x222)]=_0x17e382=>{const _0x3117ae=_0xe83995;switch(_0x17e382[_0x3117ae(0x228)]){case _0x3117ae(0x1d5):case 'KeyW':this['_moveForward']=![];break;case _0x3117ae(0x203):case _0x3117ae(0x1d7):this[_0x3117ae(0x206)]=![];break;case _0x3117ae(0x1f8):case _0x3117ae(0x1ff):this[_0x3117ae(0x246)]=![];break;case _0x3117ae(0x20a):case _0x3117ae(0x1c6):this[_0x3117ae(0x1f1)]=![];break;case 'Space':this['_moveUp']=![];break;case _0x3117ae(0x1d0):case 'ShiftRight':this[_0x3117ae(0x1c9)]=![];break;}};}[_0x49f63a(0x1e4)](){const _0x3f69f5=_0x49f63a,_0x209e7d=new CapsuleColliderComponent(this['app'],0.35,0.55);return _0x209e7d['objectType']=exports.CollisionChannel[_0x3f69f5(0x235)],_0x209e7d[_0x3f69f5(0x22f)](exports.CollisionChannel[_0x3f69f5(0x1e2)],exports.CollisionResponse[_0x3f69f5(0x1ea)]),_0x209e7d;}[_0x49f63a(0x227)](){const _0x2fa298=_0x49f63a,_0x52d284=this[_0x2fa298(0x226)](),_0x441cb9=_0x52d284[_0x2fa298(0x1d1)]()[_0x2fa298(0x1cf)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x3a1516=this[_0x2fa298(0x204)],_0x3998a4=this[_0x2fa298(0x212)]['world'][_0x2fa298(0x1d8)][_0x2fa298(0x1ef)](_0x52d284,_0x441cb9,exports.CollisionChannel[_0x2fa298(0x235)],_0x3a1516);if(_0x3998a4&&_0x3998a4['blocking']){const _0x4fd3a4=_0x3a1516['halfHeight']+_0x3a1516[_0x2fa298(0x1fa)],_0x10e376=_0x3998a4['point']['y']+_0x4fd3a4;this[_0x2fa298(0x221)](_0x52d284['x'],_0x10e376,_0x52d284['z']),this[_0x2fa298(0x240)]=0x0;}}[_0x49f63a(0x205)](){const _0x133b87=_0x49f63a,_0x4cc412=this[_0x133b87(0x201)](),_0x3da3ca=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x4cc412);this['_yaw']=Math['atan2'](-_0x3da3ca['x'],-_0x3da3ca['z']);}[_0x49f63a(0x1d6)](..._0x1a8628){const _0x92deca=_0x49f63a,_0x528ffd=new webgpu.Quaternion();_0x1a8628['length']===0x1?_0x528ffd[_0x92deca(0x209)](_0x1a8628[0x0]):_0x528ffd[_0x92deca(0x209)](new webgpu.Euler(_0x1a8628[0x0],_0x1a8628[0x1],_0x1a8628[0x2],_0x92deca(0x1c7))),this[_0x92deca(0x1c5)](_0x528ffd);}[_0x49f63a(0x1c5)](..._0x2f37f4){const _0x4b48ee=_0x49f63a;let _0x5904d2;_0x2f37f4[_0x4b48ee(0x214)]===0x1?_0x5904d2=_0x2f37f4[0x0]:_0x5904d2=new webgpu.Quaternion(_0x2f37f4[0x0],_0x2f37f4[0x1],_0x2f37f4[0x2],_0x2f37f4[0x3]);const _0x4cd5c9=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x5904d2);let _0x5ab5f8=Math[_0x4b48ee(0x225)](webgpu.MathUtils[_0x4b48ee(0x1d9)](_0x4cd5c9['y'],-1,0x1));const _0x2e716b=Math['PI']/0x2;_0x5ab5f8=webgpu.MathUtils[_0x4b48ee(0x1d9)](_0x5ab5f8,-_0x2e716b+0.001,_0x2e716b-0.001);const _0x5bf73a=Math['atan2'](-_0x4cd5c9['x'],-_0x4cd5c9['z']);this[_0x4b48ee(0x208)]=_0x5ab5f8,this[_0x4b48ee(0x1e8)]=_0x5bf73a;const _0xef3c29=new webgpu.Quaternion()[_0x4b48ee(0x249)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x4b48ee(0x1e8)]);super[_0x4b48ee(0x1c5)](_0xef3c29),this[_0x4b48ee(0x200)]&&this[_0x4b48ee(0x219)]();}[_0x49f63a(0x21a)](){const _0x478c35=_0x49f63a;super[_0x478c35(0x21a)]();const _0x3bd1e0=this[_0x478c35(0x212)][_0x478c35(0x247)];_0x3bd1e0&&(_0x3bd1e0[_0x478c35(0x21f)][_0x478c35(0x1cf)](this[_0x478c35(0x1e7)]),_0x3bd1e0[_0x478c35(0x21d)]['add'](this[_0x478c35(0x20f)]),_0x3bd1e0[_0x478c35(0x23b)][_0x478c35(0x1cf)](this[_0x478c35(0x229)]),_0x3bd1e0['onKeyDownDelegate'][_0x478c35(0x1cf)](this[_0x478c35(0x1ed)]),_0x3bd1e0[_0x478c35(0x1f3)][_0x478c35(0x1cf)](this[_0x478c35(0x222)]),_0x3bd1e0[_0x478c35(0x22a)][_0x478c35(0x1cf)](this[_0x478c35(0x1cd)]),_0x3bd1e0[_0x478c35(0x1ca)][_0x478c35(0x1cf)](this[_0x478c35(0x23e)]),_0x3bd1e0[_0x478c35(0x1c1)][_0x478c35(0x1cf)](this[_0x478c35(0x24a)]),_0x3bd1e0[_0x478c35(0x217)][_0x478c35(0x1cf)](this[_0x478c35(0x20b)])),this[_0x478c35(0x204)]&&this[_0x478c35(0x204)][_0x478c35(0x1cb)]&&(this[_0x478c35(0x204)]['threeObject'][_0x478c35(0x1dc)][_0x478c35(0x21e)]=_0x478c35(0x1c7)),this[_0x478c35(0x205)](),this[_0x478c35(0x219)]();}[_0x49f63a(0x1f5)](){const _0xe4519a=_0x49f63a;var _0x337842;super['unpossess']();const _0x3d7e4a=this[_0xe4519a(0x212)][_0xe4519a(0x247)];_0x3d7e4a&&(_0x3d7e4a[_0xe4519a(0x21f)][_0xe4519a(0x1f0)](this[_0xe4519a(0x1e7)]),_0x3d7e4a[_0xe4519a(0x21d)]['remove'](this[_0xe4519a(0x20f)]),_0x3d7e4a[_0xe4519a(0x23b)][_0xe4519a(0x1f0)](this[_0xe4519a(0x229)]),_0x3d7e4a[_0xe4519a(0x1d2)]['remove'](this['onKeyDown']),_0x3d7e4a[_0xe4519a(0x1f3)][_0xe4519a(0x1f0)](this[_0xe4519a(0x222)]),_0x3d7e4a[_0xe4519a(0x22a)]['remove'](this[_0xe4519a(0x1cd)]),_0x3d7e4a[_0xe4519a(0x1ca)][_0xe4519a(0x1f0)](this[_0xe4519a(0x23e)]),_0x3d7e4a[_0xe4519a(0x1c1)][_0xe4519a(0x1f0)](this[_0xe4519a(0x24a)]),_0x3d7e4a[_0xe4519a(0x217)]['remove'](this[_0xe4519a(0x20b)])),this[_0xe4519a(0x242)]=![],this[_0xe4519a(0x232)](![]),this[_0xe4519a(0x243)]&&((_0x337842=this[_0xe4519a(0x243)][_0xe4519a(0x1d3)])===null||_0x337842===void 0?void 0:_0x337842['remove'](this[_0xe4519a(0x243)]),this[_0xe4519a(0x243)]['geometry'][_0xe4519a(0x23a)](),this['_clickMarker'][_0xe4519a(0x234)][_0xe4519a(0x23a)](),this[_0xe4519a(0x243)]=null),document[_0xe4519a(0x1f6)]===this[_0xe4519a(0x212)][_0xe4519a(0x244)][_0xe4519a(0x1eb)]&&document[_0xe4519a(0x223)]();}['getTargetCameraState'](){const _0x5af2e8=_0x49f63a,_0x5c364b=this[_0x5af2e8(0x226)]();_0x5c364b['y']+=this[_0x5af2e8(0x21b)];const _0x2002d6=this[_0x5af2e8(0x23c)]||this[_0x5af2e8(0x212)]['camera'],_0x1c3770=this['getQuaternion'](),_0x1e5141=new webgpu.Quaternion()[_0x5af2e8(0x249)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x5af2e8(0x208)]),_0x3454a4=_0x1c3770[_0x5af2e8(0x1d1)]()['multiply'](_0x1e5141);if(_0x2002d6){const _0x16a09d=new webgpu.Vector3(0x0,0x0,_0x2002d6[_0x5af2e8(0x215)])[_0x5af2e8(0x245)](_0x3454a4);_0x5c364b[_0x5af2e8(0x1cf)](_0x16a09d);}return {'position':_0x5c364b,'quaternion':_0x3454a4};}[_0x49f63a(0x232)](_0x1b0884){const _0x2dcf4d=_0x49f63a,_0xff1d59=this[_0x2dcf4d(0x212)][_0x2dcf4d(0x244)][_0x2dcf4d(0x1e0)];if(!_0xff1d59)return;_0x1b0884?_0xff1d59[_0x2dcf4d(0x22b)][_0x2dcf4d(0x1ee)]='1':delete _0xff1d59['dataset']['lyCameraDragging'];}['tick'](_0x37ce10){const _0x3a6593=_0x49f63a;if(!this['enabled'])return;const _0x38a161=this[_0x3a6593(0x1c2)]*_0x37ce10,_0x507ea9=new webgpu.Vector3();if(this[_0x3a6593(0x22c)])_0x507ea9['z']-=0x1;if(this['_moveBackward'])_0x507ea9['z']+=0x1;if(this[_0x3a6593(0x206)])_0x507ea9['x']-=0x1;if(this['_moveRight'])_0x507ea9['x']+=0x1;if(this['_targetPos']&&_0x507ea9['lengthSq']()===0x0){const _0x3066e5=this['getPosition'](),_0x364b1b=this[_0x3a6593(0x1e9)]['clone']();this['enableGravity']&&(_0x364b1b['y']=_0x3066e5['y']);const _0x10c51c=_0x364b1b[_0x3a6593(0x216)](_0x3066e5),_0x22dee9=_0x10c51c[_0x3a6593(0x214)]();if(_0x22dee9>0.1){_0x10c51c[_0x3a6593(0x1fd)]();if(this[_0x3a6593(0x230)]){const _0x55aab4=this[_0x3a6593(0x201)]()['invert'](),_0x20c4a3=_0x10c51c[_0x3a6593(0x1d1)]()['applyQuaternion'](_0x55aab4);_0x507ea9[_0x3a6593(0x213)](_0x20c4a3);}else _0x507ea9['copy'](_0x10c51c);}else {this[_0x3a6593(0x1e9)]=null;if(this[_0x3a6593(0x243)])this[_0x3a6593(0x243)][_0x3a6593(0x248)]=![];}}if(!this['enableGravity']){if(this['_moveUp'])_0x507ea9['y']+=0x1;if(this[_0x3a6593(0x1c9)])_0x507ea9['y']-=0x1;}let _0xa97122=new webgpu.Vector3();if(_0x507ea9['lengthSq']()>0x0){_0x507ea9[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x38a161);const _0xd3c58e=this['getQuaternion']();_0xa97122=_0x507ea9[_0x3a6593(0x245)](_0xd3c58e),this[_0x3a6593(0x230)]&&(_0xa97122['y']=0x0,_0xa97122[_0x3a6593(0x1e5)]()>0x0&&_0xa97122[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x38a161));}const _0x5dc72b=this[_0x3a6593(0x212)][_0x3a6593(0x241)],_0x3d6e06=this[_0x3a6593(0x226)](),_0x374502=this[_0x3a6593(0x204)]instanceof CapsuleColliderComponent?this[_0x3a6593(0x204)]:null,_0x1f3680=_0x374502?_0x374502[_0x3a6593(0x1fa)]:0.35,_0x402801=_0x374502?_0x374502[_0x3a6593(0x21c)]:0.9;if(this[_0x3a6593(0x230)]){this['_verticalVelocity']-=this['gravity']*_0x37ce10;const _0xf3540b=_0x3d6e06['clone'](),_0x28f90d=_0x402801+_0x1f3680+0.1,_0x23d4f4=_0x5dc72b['physics']['lineTraceMulti'](_0xf3540b,_0xf3540b['clone']()[_0x3a6593(0x1cf)](new webgpu.Vector3(0x0,-_0x28f90d,0x0)),exports.CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0x2e90c8=_0x23d4f4[_0x3a6593(0x207)](_0x2d1760=>_0x2d1760[_0x3a6593(0x1df)]);_0x2e90c8&&(this[_0x3a6593(0x240)]<=0x0&&(this[_0x3a6593(0x240)]=Math[_0x3a6593(0x1fe)](0x0,this[_0x3a6593(0x240)]))),_0xa97122['y']+=this[_0x3a6593(0x240)]*_0x37ce10;}let _0x44e456=_0xa97122;if(_0x5dc72b&&_0x5dc72b['physics']&&_0xa97122[_0x3a6593(0x1e5)]()>0.000001){const _0x525168=_0x3d6e06['clone'](),_0x15894a=_0xa97122[_0x3a6593(0x214)]()+_0x1f3680+0.1,_0xf53010=_0x525168[_0x3a6593(0x1d1)]()[_0x3a6593(0x1cf)](_0xa97122[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)]()['multiplyScalar'](_0x15894a)),_0x37b22c=_0x5dc72b[_0x3a6593(0x1d8)][_0x3a6593(0x1e1)](_0x525168,_0xf53010,exports.CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0xe734f=_0x37b22c[_0x3a6593(0x207)](_0x3341fa=>_0x3341fa['blocking']);if(_0xe734f&&_0xe734f[_0x3a6593(0x1df)]){const _0x2eac88=_0xe734f[_0x3a6593(0x1e6)],_0x6a8f22=Math[_0x3a6593(0x1fe)](0x0,_0x2eac88-_0x1f3680-0.001);if(_0x6a8f22<_0xa97122[_0x3a6593(0x214)]()){const _0x29e26f=_0xa97122[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)](),_0x28b3ee=_0x29e26f[_0x3a6593(0x1d1)]()[_0x3a6593(0x239)](_0x6a8f22),_0xbd66e5=_0xa97122[_0x3a6593(0x1d1)]()['sub'](_0x28b3ee),_0x13042e=_0xe734f[_0x3a6593(0x231)],_0x26751c=_0xbd66e5[_0x3a6593(0x1c4)](_0x13042e);let _0x262ee2=new webgpu.Vector3();_0x26751c<0x0?_0x262ee2=_0xbd66e5[_0x3a6593(0x1d1)]()['sub'](_0x13042e['clone']()['multiplyScalar'](_0x26751c)):_0x262ee2=_0xbd66e5;const _0x182e36=_0x262ee2[_0x3a6593(0x214)]();if(_0x182e36>0.001){const _0x494be4=_0x525168['clone']()[_0x3a6593(0x1cf)](_0x28b3ee),_0x3fe01a=_0x182e36+_0x1f3680+0.1,_0x5b6eef=_0x494be4[_0x3a6593(0x1d1)]()[_0x3a6593(0x1cf)](_0x262ee2[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)]()['multiplyScalar'](_0x3fe01a)),_0xfb7e62=_0x5dc72b['physics'][_0x3a6593(0x1e1)](_0x494be4,_0x5b6eef,exports.CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0x4e28af=_0xfb7e62[_0x3a6593(0x207)](_0x647eeb=>_0x647eeb[_0x3a6593(0x1df)]);if(_0x4e28af&&_0x4e28af['blocking']){const _0x5b87e2=_0x4e28af[_0x3a6593(0x1e6)],_0x10912f=Math['max'](0x0,_0x5b87e2-_0x1f3680-0.001);_0x10912f<_0x182e36&&_0x262ee2[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x10912f);}}_0x44e456=_0x28b3ee[_0x3a6593(0x1cf)](_0x262ee2);}}}_0x44e456['lengthSq']()>0x0&&(_0x3d6e06['add'](_0x44e456),this['setPosition'](_0x3d6e06)),this[_0x3a6593(0x219)]();}[_0x49f63a(0x219)](){const _0x5c62b6=_0x49f63a;if(!this['enabled']||!this['camera'])return;const _0x22ef87=this[_0x5c62b6(0x226)]();_0x22ef87['y']+=this[_0x5c62b6(0x21b)];const _0x5030fc=this['getQuaternion'](),_0x1e6530=new webgpu.Quaternion()[_0x5c62b6(0x249)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x5c62b6(0x208)]),_0x283e7d=_0x5030fc[_0x5c62b6(0x1d1)]()['multiply'](_0x1e6530),_0x37845a=new webgpu.Vector3(0x0,0x0,this[_0x5c62b6(0x23c)][_0x5c62b6(0x215)])[_0x5c62b6(0x245)](_0x283e7d);_0x22ef87[_0x5c62b6(0x1cf)](_0x37845a),this[_0x5c62b6(0x23c)]['position'][_0x5c62b6(0x213)](_0x22ef87),this['camera'][_0x5c62b6(0x1cc)][_0x5c62b6(0x213)](_0x283e7d),this[_0x5c62b6(0x23c)][_0x5c62b6(0x1f4)]();}}
|
|
150
|
+
const _0x1a8c75=_0x2a79;function _0x2a79(_0x504949,_0x5b1ddf){_0x504949=_0x504949-0x112;const _0x8698b0=_0x8698();let _0x2a79b6=_0x8698b0[_0x504949];return _0x2a79b6;}(function(_0x357baf,_0x14833e){const _0x4a7ab1=_0x2a79,_0x5240d3=_0x357baf();while(!![]){try{const _0x3f9938=parseInt(_0x4a7ab1(0x127))/0x1+-parseInt(_0x4a7ab1(0x139))/0x2*(parseInt(_0x4a7ab1(0x19a))/0x3)+-parseInt(_0x4a7ab1(0x16b))/0x4+parseInt(_0x4a7ab1(0x129))/0x5*(parseInt(_0x4a7ab1(0x117))/0x6)+parseInt(_0x4a7ab1(0x158))/0x7*(parseInt(_0x4a7ab1(0x114))/0x8)+-parseInt(_0x4a7ab1(0x181))/0x9+-parseInt(_0x4a7ab1(0x180))/0xa*(-parseInt(_0x4a7ab1(0x11a))/0xb);if(_0x3f9938===_0x14833e)break;else _0x5240d3['push'](_0x5240d3['shift']());}catch(_0x29c523){_0x5240d3['push'](_0x5240d3['shift']());}}}(_0x8698,0x74933));function _0x8698(){const _0xd2d72d=['getBoundingClientRect','onKeyDownDelegate','pointerLockElement','distance','onContextMenu','getTargetCameraState','collider','dataset','onPointerMoveDelegate','3CKoGmb','enabled','_moveForward','clientX','_moveRight','37024JZyrVE','setFromAxisAngle','position','2212434csWkpi','updateCameraFromPawn','_verticalVelocity','687445qgTTOa','direction','lyCameraDragging','onClick','tick','Ignore','onMouseUp','onKeyUp','visible','setRotation','app','_yaw','radius','385562oADeLL','button','5ZKMHDM','outer','onContextMenuDelegate','ArrowRight','Space','clientY','setCollisionResponse','possess','onPointerUpDelegate','remove','landToGround','width','updateProjectionMatrix','KeyS','asin','height','1267166GYvPxS','multiply','_moveUp','find','KeyW','max','unpossess','lookSpeed','setQuaternion','onMouseMove','ArrowLeft','threeObject','rootComponent','top','parentActor','_moveLeft','onKeyUpDelegate','lineTraceSingle','near','camera','dispose','onPointerDownDelegate','lengthSq','physics','blocking','buttons','copy','setCameraDraggingState','eyeHeight','YXZ','atan2','623QzhfwF','sub','_clickMarker','applyQuaternion','getPosition','parent','lineTraceMulti','moveSpeed','normal','ShiftRight','syncRotation','length','ArrowUp','ray','onBlur','_moveBackward','onWindowBlurDelegate','KeyA','onPointerLockChangeDelegate','380816csjWHS','add','multiplyScalar','setPosition','point','enableGravity','movementY','canvas','Pawn','controller','world','onMouseDown','clone','_moveDown','halfHeight','_isRightDragging','KeyD','setFromEuler','requestPointerLock','exitPointerLock','getQuaternion','90vZQevs','4701330gNTuIB','viewport','isClickEnabled','_targetPos','gravity','rotation','normalize','clamp','material','ArrowDown','code','onKeyDown','_pitch','setFromCamera','origin','inputFilter'];_0x8698=function(){return _0xd2d72d;};return _0x8698();}class FirstPerson extends Pawn{constructor(_0x50bedf){const _0x27131e=_0x2a79;super(_0x50bedf),this['moveSpeed']=0xa,this['lookSpeed']=0.002,this[_0x27131e(0x170)]=!![],this['gravity']=0x1e,this['eyeHeight']=0.7,this[_0x27131e(0x119)]=0x0,this[_0x27131e(0x125)]=0x0,this[_0x27131e(0x18d)]=0x0,this[_0x27131e(0x184)]=null,this[_0x27131e(0x15a)]=null,this[_0x27131e(0x19c)]=![],this[_0x27131e(0x167)]=![],this['_moveLeft']=![],this[_0x27131e(0x113)]=![],this['_moveUp']=![],this[_0x27131e(0x178)]=![],this['_isRightDragging']=![],this[_0x27131e(0x195)]=_0x1d994a=>{const _0x16f9bf=_0x27131e;if(!Pawn[_0x16f9bf(0x190)]())return;_0x1d994a['preventDefault']();},this[_0x27131e(0x166)]=()=>{const _0x160d8e=_0x27131e;this[_0x160d8e(0x19c)]=![],this[_0x160d8e(0x167)]=![],this[_0x160d8e(0x148)]=![],this[_0x160d8e(0x113)]=![],this[_0x160d8e(0x13b)]=![],this[_0x160d8e(0x178)]=![],this[_0x160d8e(0x17a)]=![],this['setCameraDraggingState'](![]);},this['onMouseDown']=_0x18ea0e=>{const _0x283fc3=_0x27131e;if(!this[_0x283fc3(0x19b)]||!Pawn[_0x283fc3(0x190)]())return;if(_0x18ea0e[_0x283fc3(0x128)]!==0x2)return;this[_0x283fc3(0x17a)]=!![],this[_0x283fc3(0x154)](!![]);const _0x23c26a=this[_0x283fc3(0x124)][_0x283fc3(0x182)][_0x283fc3(0x172)];_0x23c26a&&document[_0x283fc3(0x193)]!==_0x23c26a&&_0x23c26a[_0x283fc3(0x17d)]();},this['onMouseUp']=_0x32cc9b=>{const _0x1ec957=_0x27131e;if(_0x32cc9b['button']!==0x2)return;this[_0x1ec957(0x17a)]=![],this['setCameraDraggingState'](![]),document[_0x1ec957(0x193)]===this[_0x1ec957(0x124)]['viewport'][_0x1ec957(0x172)]&&document[_0x1ec957(0x17e)]();},this[_0x27131e(0x11d)]=_0xfea78=>{const _0x3cadb0=_0x27131e;if(!this['enabled']||!Pawn[_0x3cadb0(0x190)]())return;if(_0xfea78[_0x3cadb0(0x128)]!==0x0)return;const _0x3352f6=this[_0x3cadb0(0x124)][_0x3cadb0(0x182)][_0x3cadb0(0x172)];if(!_0x3352f6||!this[_0x3cadb0(0x14c)])return;const _0x1d85a4=_0x3352f6[_0x3cadb0(0x191)](),_0x5a091f=new webgpu.Vector2((_0xfea78[_0x3cadb0(0x112)]-_0x1d85a4['left'])/_0x1d85a4[_0x3cadb0(0x134)]*0x2-0x1,-((_0xfea78[_0x3cadb0(0x12e)]-_0x1d85a4[_0x3cadb0(0x146)])/_0x1d85a4[_0x3cadb0(0x138)])*0x2+0x1),_0x55f0ea=new webgpu.Raycaster();_0x55f0ea[_0x3cadb0(0x18e)](_0x5a091f,this[_0x3cadb0(0x14c)]);const _0x348bd5=_0x55f0ea[_0x3cadb0(0x165)][_0x3cadb0(0x18f)][_0x3cadb0(0x177)](),_0x2c0cf=_0x348bd5['clone']()['add'](_0x55f0ea[_0x3cadb0(0x165)][_0x3cadb0(0x11b)][_0x3cadb0(0x177)]()[_0x3cadb0(0x16d)](0x3e8)),_0xc37fc4=this['rootComponent']instanceof CapsuleColliderComponent?this[_0x3cadb0(0x145)]:undefined,_0x5ba44f=this[_0x3cadb0(0x124)][_0x3cadb0(0x175)]['physics'][_0x3cadb0(0x15e)](_0x348bd5,_0x2c0cf,exports.CollisionChannel['Pawn'],_0xc37fc4);let _0x59f195=null;for(const _0x6bb88d of _0x5ba44f){if(!_0x6bb88d['blocking'])continue;if(this[_0x3cadb0(0x14c)]instanceof webgpu.PerspectiveCamera){if(_0x6bb88d[_0x3cadb0(0x194)]<this[_0x3cadb0(0x14c)][_0x3cadb0(0x14b)]*1.5)continue;}const _0x4bfe81=_0x6bb88d[_0x3cadb0(0x197)],_0x45f8d6=_0x4bfe81&&(_0x4bfe81[_0x3cadb0(0x183)]||_0x4bfe81[_0x3cadb0(0x147)]&&_0x4bfe81[_0x3cadb0(0x147)][_0x3cadb0(0x183)]),_0x59c8b4=_0x6bb88d['normal']['y']>0.5;if(!_0x59c8b4&&!_0x45f8d6){let _0xbd522=0.5;this[_0x3cadb0(0x14c)]instanceof webgpu.PerspectiveCamera&&(_0xbd522=this[_0x3cadb0(0x14c)]['near']*0x2);if(_0x6bb88d[_0x3cadb0(0x194)]>_0xbd522)break;continue;}_0x59f195=_0x6bb88d;break;}if(_0x59f195){const _0x25ed6b=_0x59f195[_0x3cadb0(0x197)];if(_0x25ed6b){if(_0x25ed6b[_0x3cadb0(0x183)])return;if(_0x25ed6b['parentActor']&&_0x25ed6b[_0x3cadb0(0x147)][_0x3cadb0(0x183)])return;}_0x59f195[_0x3cadb0(0x160)]['y']>0.5&&(this[_0x3cadb0(0x184)]=_0x59f195['point'][_0x3cadb0(0x177)](),this[_0x3cadb0(0x15a)]&&(this[_0x3cadb0(0x15a)]['position'][_0x3cadb0(0x153)](this['_targetPos']),this[_0x3cadb0(0x15a)]['visible']=!![]));}},this['onPointerLockChange']=()=>{},this[_0x27131e(0x142)]=_0x2fedb5=>{const _0x27ed1c=_0x27131e,_0xefbf21=(_0x2fedb5[_0x27ed1c(0x152)]&0x2)===0x2;if(_0xefbf21&&!this[_0x27ed1c(0x17a)])this[_0x27ed1c(0x17a)]=!![],this[_0x27ed1c(0x154)](!![]);else !_0xefbf21&&this[_0x27ed1c(0x17a)]&&(this[_0x27ed1c(0x17a)]=![],this[_0x27ed1c(0x154)](![]));if(document[_0x27ed1c(0x193)]!==this['app'][_0x27ed1c(0x182)][_0x27ed1c(0x172)]&&!_0xefbf21)return;if(!this[_0x27ed1c(0x19b)]||!Pawn['inputFilter']())return;const _0x488ef8=_0x2fedb5['movementX']||0x0,_0x473ad0=_0x2fedb5[_0x27ed1c(0x171)]||0x0;this['syncRotation'](),this['_yaw']-=_0x488ef8*this[_0x27ed1c(0x140)],this['_pitch']-=_0x473ad0*this[_0x27ed1c(0x140)];const _0x5da2dc=Math['PI']/0x2;this[_0x27ed1c(0x18d)]=webgpu.MathUtils['clamp'](this[_0x27ed1c(0x18d)],-_0x5da2dc+0.001,_0x5da2dc-0.001);const _0x24b3b1=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x27ed1c(0x125)]);super[_0x27ed1c(0x141)](_0x24b3b1),this[_0x27ed1c(0x118)]();},this[_0x27131e(0x18c)]=_0xe1ae7f=>{const _0x43dd70=_0x27131e;if(!Pawn[_0x43dd70(0x190)]())return;if([_0x43dd70(0x164),'KeyW',_0x43dd70(0x143),_0x43dd70(0x169),_0x43dd70(0x18a),_0x43dd70(0x136),'ArrowRight',_0x43dd70(0x17b)]['includes'](_0xe1ae7f[_0x43dd70(0x18b)])){this[_0x43dd70(0x184)]=null;if(this[_0x43dd70(0x15a)])this[_0x43dd70(0x15a)]['visible']=![];}switch(_0xe1ae7f[_0x43dd70(0x18b)]){case 'ArrowUp':case _0x43dd70(0x13d):this['_moveForward']=!![];break;case 'ArrowLeft':case _0x43dd70(0x169):this[_0x43dd70(0x148)]=!![];break;case _0x43dd70(0x18a):case _0x43dd70(0x136):this[_0x43dd70(0x167)]=!![];break;case _0x43dd70(0x12c):case _0x43dd70(0x17b):this[_0x43dd70(0x113)]=!![];break;case _0x43dd70(0x12d):!this[_0x43dd70(0x170)]&&(this[_0x43dd70(0x13b)]=!![]);break;case 'ShiftLeft':case _0x43dd70(0x161):this[_0x43dd70(0x178)]=!![];break;}},this[_0x27131e(0x121)]=_0x45d427=>{const _0x66382c=_0x27131e;switch(_0x45d427[_0x66382c(0x18b)]){case _0x66382c(0x164):case _0x66382c(0x13d):this[_0x66382c(0x19c)]=![];break;case 'ArrowLeft':case _0x66382c(0x169):this[_0x66382c(0x148)]=![];break;case _0x66382c(0x18a):case 'KeyS':this['_moveBackward']=![];break;case _0x66382c(0x12c):case 'KeyD':this['_moveRight']=![];break;case 'Space':this[_0x66382c(0x13b)]=![];break;case 'ShiftLeft':case _0x66382c(0x161):this[_0x66382c(0x178)]=![];break;}};}['constructRootComponent'](){const _0x5116d5=_0x2a79,_0x2d8334=new CapsuleColliderComponent(this[_0x5116d5(0x124)],0.35,0.55);return _0x2d8334['objectType']=exports.CollisionChannel[_0x5116d5(0x173)],_0x2d8334[_0x5116d5(0x12f)](exports.CollisionChannel['Visibility'],exports.CollisionResponse[_0x5116d5(0x11f)]),_0x2d8334;}[_0x1a8c75(0x133)](){const _0x49f2a3=_0x1a8c75,_0x197dfa=this[_0x49f2a3(0x15c)](),_0xbfe16d=_0x197dfa[_0x49f2a3(0x177)]()[_0x49f2a3(0x16c)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x1f1530=this[_0x49f2a3(0x145)],_0x51d22c=this[_0x49f2a3(0x124)][_0x49f2a3(0x175)][_0x49f2a3(0x150)][_0x49f2a3(0x14a)](_0x197dfa,_0xbfe16d,exports.CollisionChannel[_0x49f2a3(0x173)],_0x1f1530);if(_0x51d22c&&_0x51d22c['blocking']){const _0x1813e9=_0x1f1530[_0x49f2a3(0x179)]+_0x1f1530[_0x49f2a3(0x126)],_0x4cb01e=_0x51d22c[_0x49f2a3(0x16f)]['y']+_0x1813e9;this[_0x49f2a3(0x16e)](_0x197dfa['x'],_0x4cb01e,_0x197dfa['z']),this[_0x49f2a3(0x119)]=0x0;}}[_0x1a8c75(0x162)](){const _0x16ee44=_0x1a8c75,_0x72a4e7=this[_0x16ee44(0x17f)](),_0x337a76=new webgpu.Vector3(0x0,0x0,-1)[_0x16ee44(0x15b)](_0x72a4e7);this[_0x16ee44(0x125)]=Math[_0x16ee44(0x157)](-_0x337a76['x'],-_0x337a76['z']);}[_0x1a8c75(0x123)](..._0x5be65c){const _0xf369f=_0x1a8c75,_0x1bbd99=new webgpu.Quaternion();_0x5be65c[_0xf369f(0x163)]===0x1?_0x1bbd99[_0xf369f(0x17c)](_0x5be65c[0x0]):_0x1bbd99['setFromEuler'](new webgpu.Euler(_0x5be65c[0x0],_0x5be65c[0x1],_0x5be65c[0x2],_0xf369f(0x156))),this[_0xf369f(0x141)](_0x1bbd99);}['setQuaternion'](..._0x2b5c26){const _0x34be71=_0x1a8c75;let _0xdd8fd0;_0x2b5c26[_0x34be71(0x163)]===0x1?_0xdd8fd0=_0x2b5c26[0x0]:_0xdd8fd0=new webgpu.Quaternion(_0x2b5c26[0x0],_0x2b5c26[0x1],_0x2b5c26[0x2],_0x2b5c26[0x3]);const _0x578f5b=new webgpu.Vector3(0x0,0x0,-1)[_0x34be71(0x15b)](_0xdd8fd0);let _0x345326=Math[_0x34be71(0x137)](webgpu.MathUtils[_0x34be71(0x188)](_0x578f5b['y'],-1,0x1));const _0x278545=Math['PI']/0x2;_0x345326=webgpu.MathUtils[_0x34be71(0x188)](_0x345326,-_0x278545+0.001,_0x278545-0.001);const _0x28d899=Math[_0x34be71(0x157)](-_0x578f5b['x'],-_0x578f5b['z']);this[_0x34be71(0x18d)]=_0x345326,this[_0x34be71(0x125)]=_0x28d899;const _0x346a24=new webgpu.Quaternion()[_0x34be71(0x115)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x34be71(0x125)]);super['setQuaternion'](_0x346a24),this[_0x34be71(0x19b)]&&this[_0x34be71(0x118)]();}[_0x1a8c75(0x130)](){const _0x21460b=_0x1a8c75;super['possess']();const _0x3c7056=this[_0x21460b(0x124)]['controller'];_0x3c7056&&(_0x3c7056['onRawClickDelegate'][_0x21460b(0x16c)](this[_0x21460b(0x11d)]),_0x3c7056[_0x21460b(0x12b)]['add'](this['onContextMenu']),_0x3c7056[_0x21460b(0x16a)][_0x21460b(0x16c)](this['onPointerLockChange']),_0x3c7056['onKeyDownDelegate'][_0x21460b(0x16c)](this['onKeyDown']),_0x3c7056[_0x21460b(0x149)][_0x21460b(0x16c)](this[_0x21460b(0x121)]),_0x3c7056[_0x21460b(0x199)][_0x21460b(0x16c)](this[_0x21460b(0x142)]),_0x3c7056[_0x21460b(0x14e)][_0x21460b(0x16c)](this[_0x21460b(0x176)]),_0x3c7056['onPointerUpDelegate'][_0x21460b(0x16c)](this[_0x21460b(0x120)]),_0x3c7056[_0x21460b(0x168)][_0x21460b(0x16c)](this['onBlur'])),this[_0x21460b(0x145)]&&this['rootComponent'][_0x21460b(0x144)]&&(this[_0x21460b(0x145)][_0x21460b(0x144)][_0x21460b(0x186)]['order']=_0x21460b(0x156)),this['syncRotation'](),this[_0x21460b(0x118)]();}[_0x1a8c75(0x13f)](){const _0x265445=_0x1a8c75;var _0x227870;super[_0x265445(0x13f)]();const _0x51c3c5=this[_0x265445(0x124)][_0x265445(0x174)];_0x51c3c5&&(_0x51c3c5['onRawClickDelegate'][_0x265445(0x132)](this[_0x265445(0x11d)]),_0x51c3c5[_0x265445(0x12b)][_0x265445(0x132)](this[_0x265445(0x195)]),_0x51c3c5['onPointerLockChangeDelegate'][_0x265445(0x132)](this['onPointerLockChange']),_0x51c3c5[_0x265445(0x192)][_0x265445(0x132)](this[_0x265445(0x18c)]),_0x51c3c5[_0x265445(0x149)][_0x265445(0x132)](this[_0x265445(0x121)]),_0x51c3c5['onPointerMoveDelegate']['remove'](this[_0x265445(0x142)]),_0x51c3c5['onPointerDownDelegate'][_0x265445(0x132)](this[_0x265445(0x176)]),_0x51c3c5[_0x265445(0x131)][_0x265445(0x132)](this[_0x265445(0x120)]),_0x51c3c5['onWindowBlurDelegate'][_0x265445(0x132)](this['onBlur'])),this[_0x265445(0x17a)]=![],this[_0x265445(0x154)](![]),this[_0x265445(0x15a)]&&((_0x227870=this[_0x265445(0x15a)][_0x265445(0x15d)])===null||_0x227870===void 0?void 0:_0x227870[_0x265445(0x132)](this[_0x265445(0x15a)]),this[_0x265445(0x15a)]['geometry']['dispose'](),this[_0x265445(0x15a)][_0x265445(0x189)][_0x265445(0x14d)](),this[_0x265445(0x15a)]=null),document[_0x265445(0x193)]===this[_0x265445(0x124)][_0x265445(0x182)][_0x265445(0x172)]&&document[_0x265445(0x17e)]();}[_0x1a8c75(0x196)](){const _0x11eed2=_0x1a8c75,_0x1ac460=this[_0x11eed2(0x15c)]();_0x1ac460['y']+=this[_0x11eed2(0x155)];const _0x4fb221=this[_0x11eed2(0x14c)]||this[_0x11eed2(0x124)]['camera'],_0x233f69=this[_0x11eed2(0x17f)](),_0xdb68de=new webgpu.Quaternion()[_0x11eed2(0x115)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x11eed2(0x18d)]),_0x14196d=_0x233f69[_0x11eed2(0x177)]()['multiply'](_0xdb68de);if(_0x4fb221){const _0x488b19=new webgpu.Vector3(0x0,0x0,_0x4fb221['near'])[_0x11eed2(0x15b)](_0x14196d);_0x1ac460[_0x11eed2(0x16c)](_0x488b19);}return {'position':_0x1ac460,'quaternion':_0x14196d};}[_0x1a8c75(0x154)](_0x5c9ab2){const _0xc06ef6=_0x1a8c75,_0x37cae9=this['app'][_0xc06ef6(0x182)][_0xc06ef6(0x12a)];if(!_0x37cae9)return;_0x5c9ab2?_0x37cae9[_0xc06ef6(0x198)][_0xc06ef6(0x11c)]='1':delete _0x37cae9[_0xc06ef6(0x198)][_0xc06ef6(0x11c)];}[_0x1a8c75(0x11e)](_0x27c8a7){const _0x2cbbb=_0x1a8c75;if(!this[_0x2cbbb(0x19b)])return;const _0xaa6bc6=this[_0x2cbbb(0x15f)]*_0x27c8a7,_0x2090dd=new webgpu.Vector3();if(this[_0x2cbbb(0x19c)])_0x2090dd['z']-=0x1;if(this['_moveBackward'])_0x2090dd['z']+=0x1;if(this[_0x2cbbb(0x148)])_0x2090dd['x']-=0x1;if(this[_0x2cbbb(0x113)])_0x2090dd['x']+=0x1;if(this[_0x2cbbb(0x184)]&&_0x2090dd['lengthSq']()===0x0){const _0x1941fd=this['getPosition'](),_0x38b283=this[_0x2cbbb(0x184)][_0x2cbbb(0x177)]();this[_0x2cbbb(0x170)]&&(_0x38b283['y']=_0x1941fd['y']);const _0x3bb9f5=_0x38b283[_0x2cbbb(0x159)](_0x1941fd),_0xfbe3ef=_0x3bb9f5[_0x2cbbb(0x163)]();if(_0xfbe3ef>0.1){_0x3bb9f5[_0x2cbbb(0x187)]();if(this[_0x2cbbb(0x170)]){const _0x3c29ec=this[_0x2cbbb(0x17f)]()['invert'](),_0x3675e0=_0x3bb9f5[_0x2cbbb(0x177)]()[_0x2cbbb(0x15b)](_0x3c29ec);_0x2090dd[_0x2cbbb(0x153)](_0x3675e0);}else _0x2090dd[_0x2cbbb(0x153)](_0x3bb9f5);}else {this['_targetPos']=null;if(this[_0x2cbbb(0x15a)])this['_clickMarker'][_0x2cbbb(0x122)]=![];}}if(!this[_0x2cbbb(0x170)]){if(this[_0x2cbbb(0x13b)])_0x2090dd['y']+=0x1;if(this[_0x2cbbb(0x178)])_0x2090dd['y']-=0x1;}let _0x5eb19c=new webgpu.Vector3();if(_0x2090dd[_0x2cbbb(0x14f)]()>0x0){_0x2090dd['normalize']()[_0x2cbbb(0x16d)](_0xaa6bc6);const _0x302031=this[_0x2cbbb(0x17f)]();_0x5eb19c=_0x2090dd[_0x2cbbb(0x15b)](_0x302031),this['enableGravity']&&(_0x5eb19c['y']=0x0,_0x5eb19c[_0x2cbbb(0x14f)]()>0x0&&_0x5eb19c[_0x2cbbb(0x187)]()['multiplyScalar'](_0xaa6bc6));}const _0x1cc948=this['app']['world'],_0x583f50=this[_0x2cbbb(0x15c)](),_0xc2477d=this[_0x2cbbb(0x145)]instanceof CapsuleColliderComponent?this[_0x2cbbb(0x145)]:null,_0x1bfdca=_0xc2477d?_0xc2477d['radius']:0.35,_0x2cb8a1=_0xc2477d?_0xc2477d[_0x2cbbb(0x179)]:0.9;if(this[_0x2cbbb(0x170)]){this[_0x2cbbb(0x119)]-=this[_0x2cbbb(0x185)]*_0x27c8a7;const _0x251f36=_0x583f50[_0x2cbbb(0x177)](),_0x39ee8d=_0x2cb8a1+_0x1bfdca+0.1,_0x35dd4a=_0x1cc948[_0x2cbbb(0x150)][_0x2cbbb(0x15e)](_0x251f36,_0x251f36[_0x2cbbb(0x177)]()[_0x2cbbb(0x16c)](new webgpu.Vector3(0x0,-_0x39ee8d,0x0)),exports.CollisionChannel[_0x2cbbb(0x173)],_0xc2477d||undefined),_0x40c8a2=_0x35dd4a[_0x2cbbb(0x13c)](_0x19cdef=>_0x19cdef['blocking']);_0x40c8a2&&(this['_verticalVelocity']<=0x0&&(this[_0x2cbbb(0x119)]=Math[_0x2cbbb(0x13e)](0x0,this[_0x2cbbb(0x119)]))),_0x5eb19c['y']+=this[_0x2cbbb(0x119)]*_0x27c8a7;}let _0x7ab521=_0x5eb19c;if(_0x1cc948&&_0x1cc948['physics']&&_0x5eb19c['lengthSq']()>0.000001){const _0x41d822=_0x583f50['clone'](),_0x5213ac=_0x5eb19c[_0x2cbbb(0x163)]()+_0x1bfdca+0.1,_0x57d844=_0x41d822[_0x2cbbb(0x177)]()[_0x2cbbb(0x16c)](_0x5eb19c[_0x2cbbb(0x177)]()[_0x2cbbb(0x187)]()[_0x2cbbb(0x16d)](_0x5213ac)),_0x14a608=_0x1cc948[_0x2cbbb(0x150)][_0x2cbbb(0x15e)](_0x41d822,_0x57d844,exports.CollisionChannel[_0x2cbbb(0x173)],_0xc2477d||undefined),_0x1a913a=_0x14a608['find'](_0x2cfdf8=>_0x2cfdf8[_0x2cbbb(0x151)]);if(_0x1a913a&&_0x1a913a[_0x2cbbb(0x151)]){const _0x3d4cbe=_0x1a913a[_0x2cbbb(0x194)],_0x1e7b1=Math[_0x2cbbb(0x13e)](0x0,_0x3d4cbe-_0x1bfdca-0.001);if(_0x1e7b1<_0x5eb19c[_0x2cbbb(0x163)]()){const _0x3a0350=_0x5eb19c[_0x2cbbb(0x177)]()['normalize'](),_0xeef35b=_0x3a0350['clone']()[_0x2cbbb(0x16d)](_0x1e7b1),_0x11bd3f=_0x5eb19c[_0x2cbbb(0x177)]()[_0x2cbbb(0x159)](_0xeef35b),_0x499bd5=_0x1a913a[_0x2cbbb(0x160)],_0x109908=_0x11bd3f['dot'](_0x499bd5);let _0x24a99a=new webgpu.Vector3();_0x109908<0x0?_0x24a99a=_0x11bd3f['clone']()['sub'](_0x499bd5[_0x2cbbb(0x177)]()[_0x2cbbb(0x16d)](_0x109908)):_0x24a99a=_0x11bd3f;const _0x417583=_0x24a99a[_0x2cbbb(0x163)]();if(_0x417583>0.001){const _0x59a231=_0x41d822['clone']()[_0x2cbbb(0x16c)](_0xeef35b),_0x4b5f7d=_0x417583+_0x1bfdca+0.1,_0x35a660=_0x59a231[_0x2cbbb(0x177)]()[_0x2cbbb(0x16c)](_0x24a99a['clone']()[_0x2cbbb(0x187)]()[_0x2cbbb(0x16d)](_0x4b5f7d)),_0x50692f=_0x1cc948[_0x2cbbb(0x150)][_0x2cbbb(0x15e)](_0x59a231,_0x35a660,exports.CollisionChannel[_0x2cbbb(0x173)],_0xc2477d||undefined),_0x156ad3=_0x50692f[_0x2cbbb(0x13c)](_0x280b52=>_0x280b52[_0x2cbbb(0x151)]);if(_0x156ad3&&_0x156ad3[_0x2cbbb(0x151)]){const _0x57d54b=_0x156ad3[_0x2cbbb(0x194)],_0x1295f7=Math[_0x2cbbb(0x13e)](0x0,_0x57d54b-_0x1bfdca-0.001);_0x1295f7<_0x417583&&_0x24a99a[_0x2cbbb(0x187)]()[_0x2cbbb(0x16d)](_0x1295f7);}}_0x7ab521=_0xeef35b['add'](_0x24a99a);}}}_0x7ab521[_0x2cbbb(0x14f)]()>0x0&&(_0x583f50[_0x2cbbb(0x16c)](_0x7ab521),this[_0x2cbbb(0x16e)](_0x583f50)),this[_0x2cbbb(0x118)]();}[_0x1a8c75(0x118)](){const _0x317773=_0x1a8c75;if(!this[_0x317773(0x19b)]||!this[_0x317773(0x14c)])return;const _0x85757f=this[_0x317773(0x15c)]();_0x85757f['y']+=this[_0x317773(0x155)];const _0x4992a9=this['getQuaternion'](),_0x200690=new webgpu.Quaternion()[_0x317773(0x115)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x317773(0x18d)]),_0xad3bf9=_0x4992a9[_0x317773(0x177)]()[_0x317773(0x13a)](_0x200690),_0xecf23d=new webgpu.Vector3(0x0,0x0,this[_0x317773(0x14c)][_0x317773(0x14b)])[_0x317773(0x15b)](_0xad3bf9);_0x85757f['add'](_0xecf23d),this['camera'][_0x317773(0x116)][_0x317773(0x153)](_0x85757f),this[_0x317773(0x14c)]['quaternion']['copy'](_0xad3bf9),this[_0x317773(0x14c)][_0x317773(0x135)]();}}
|
|
151
151
|
|
|
152
|
-
const
|
|
152
|
+
function _0x1b1a(_0x365126,_0x46da23){_0x365126=_0x365126-0x1af;const _0x57e3ba=_0x57e3();let _0x1b1a74=_0x57e3ba[_0x365126];return _0x1b1a74;}const _0x8cd85e=_0x1b1a;(function(_0xb6510,_0x34a1f5){const _0x1954b2=_0x1b1a,_0x1ff215=_0xb6510();while(!![]){try{const _0x4b2933=-parseInt(_0x1954b2(0x1c2))/0x1*(parseInt(_0x1954b2(0x1c1))/0x2)+-parseInt(_0x1954b2(0x1c9))/0x3+-parseInt(_0x1954b2(0x1b3))/0x4+-parseInt(_0x1954b2(0x1cd))/0x5*(parseInt(_0x1954b2(0x1c8))/0x6)+parseInt(_0x1954b2(0x1cb))/0x7+-parseInt(_0x1954b2(0x1ce))/0x8*(-parseInt(_0x1954b2(0x1c4))/0x9)+parseInt(_0x1954b2(0x1be))/0xa*(parseInt(_0x1954b2(0x1c5))/0xb);if(_0x4b2933===_0x34a1f5)break;else _0x1ff215['push'](_0x1ff215['shift']());}catch(_0x2d272f){_0x1ff215['push'](_0x1ff215['shift']());}}}(_0x57e3,0x92d51));function _0x57e3(){const _0x361b89=['72083XdWJWu','getTargetCameraState','pointerLockElement','6YHyXHS','1686954WeHhXf','enabled','8166004FItaQu','exitPointerLock','134905PIhGlb','24jgWQZx','YXZ','eyeHeight','constructRootComponent','lookSpeed','position','app','3199512nTvIem','rotation','possess','updateCameraFromPawn','threeObject','unpossess','copy','getPosition','getRotation','order','rootComponent','1270znYVKF','tick','camera','26Rhhrmp','11879wVvYPm','canvas','438678LdeEqF'];_0x57e3=function(){return _0x361b89;};return _0x57e3();}class Spectator extends Pawn{constructor(_0x3470c8){const _0x3230f1=_0x1b1a;super(_0x3470c8),this['moveSpeed']=0xa,this[_0x3230f1(0x1b0)]=0.002,this[_0x3230f1(0x1d0)]=0.7;}[_0x8cd85e(0x1af)](){const _0x5b484d=_0x8cd85e;return new SceneComponent(this[_0x5b484d(0x1b2)]);}[_0x8cd85e(0x1b5)](){const _0x17502e=_0x8cd85e;super[_0x17502e(0x1b5)](),this[_0x17502e(0x1bd)]&&this['rootComponent'][_0x17502e(0x1b7)]&&(this['rootComponent'][_0x17502e(0x1b7)][_0x17502e(0x1b4)][_0x17502e(0x1bc)]=_0x17502e(0x1cf)),this[_0x17502e(0x1b6)]();}[_0x8cd85e(0x1b8)](){const _0x4911fe=_0x8cd85e;super[_0x4911fe(0x1b8)](),document[_0x4911fe(0x1c7)]===this[_0x4911fe(0x1b2)]['viewport'][_0x4911fe(0x1c3)]&&document[_0x4911fe(0x1cc)]();}[_0x8cd85e(0x1c6)](){const _0x124c0b=_0x8cd85e,_0x352075=this['getPosition']();return _0x352075['y']+=this[_0x124c0b(0x1d0)],{'position':_0x352075,'quaternion':this['getQuaternion']()['clone']()};}[_0x8cd85e(0x1bf)](_0x1f5bd0){const _0x573c7d=_0x8cd85e;if(!this[_0x573c7d(0x1ca)])return;this['updateCameraFromPawn']();}[_0x8cd85e(0x1b6)](){const _0x1eb690=_0x8cd85e;if(!this[_0x1eb690(0x1ca)]||!this[_0x1eb690(0x1c0)])return;const _0x3bb820=this[_0x1eb690(0x1ba)]();_0x3bb820['y']+=this[_0x1eb690(0x1d0)],this[_0x1eb690(0x1c0)][_0x1eb690(0x1b1)][_0x1eb690(0x1b9)](_0x3bb820),this['camera'][_0x1eb690(0x1b4)]['copy'](this[_0x1eb690(0x1bb)]());}}
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
const _0x28e453=_0xb138;(function(_0x4a569c,_0x5835c0){const _0x58f406=_0xb138,_0x5029cb=_0x4a569c();while(!![]){try{const _0x46a7c0=-parseInt(_0x58f406(0x1e1))/0x1+-parseInt(_0x58f406(0x1e3))/0x2+parseInt(_0x58f406(0x1c6))/0x3*(parseInt(_0x58f406(0x1e2))/0x4)+-parseInt(_0x58f406(0x1d9))/0x5+-parseInt(_0x58f406(0x1b0))/0x6*(parseInt(_0x58f406(0x1dd))/0x7)+-parseInt(_0x58f406(0x1a0))/0x8+-parseInt(_0x58f406(0x1ba))/0x9*(-parseInt(_0x58f406(0x1c2))/0xa);if(_0x46a7c0===_0x5835c0)break;else _0x5029cb['push'](_0x5029cb['shift']());}catch(_0x255be3){_0x5029cb['push'](_0x5029cb['shift']());}}}(_0x2e8f,0x9c866));function _0xb138(_0x4ee848,_0x28bac3){_0x4ee848=_0x4ee848-0x199;const _0x2e8f41=_0x2e8f();let _0xb138f1=_0x2e8f41[_0x4ee848];return _0xb138f1;}class TransformGizmo extends Pawn{get[_0x28e453(0x1db)](){const _0x5397d6=_0x28e453;if(!this[_0x5397d6(0x1c4)])throw new Error(_0x5397d6(0x1cb));return this[_0x5397d6(0x1c4)];}constructor(_0x161899,_0x432942){const _0x3b9df1=_0x28e453;var _0x3b5ec6;super(_0x161899),this[_0x3b9df1(0x1c4)]=null,this[_0x3b9df1(0x19f)]=new webgpu.Object3D(),this['targets']=[],this[_0x3b9df1(0x1b9)]=null,this[_0x3b9df1(0x199)]=new Map(),this[_0x3b9df1(0x1b2)]=null,this['onDraggingChangedEvent']=_0x305910=>{const _0x364465=_0x3b9df1;this[_0x364465(0x1bb)](_0x305910);},this[_0x3b9df1(0x1a7)]=()=>{const _0x137373=_0x3b9df1;this[_0x137373(0x1e8)]();},this['onChangeEvent']=()=>{const _0x3a639a=_0x3b9df1;this[_0x3a639a(0x1dc)]();},this['onUpdateFunction']=null,this['onDraggingFunction']=null;let _0xdd5f96=_0x161899[_0x3b9df1(0x1b1)][_0x3b9df1(0x1b6)];if(!_0xdd5f96)throw new Error(_0x3b9df1(0x1d0));this[_0x3b9df1(0x1c4)]=new TransformControls_js.TransformControls(_0x161899[_0x3b9df1(0x1b4)],_0xdd5f96),this[_0x3b9df1(0x1db)][_0x3b9df1(0x1cd)]()['traverse'](_0x2cb4b4=>{const _0x217507=_0x3b9df1;_0x2cb4b4[_0x217507(0x19c)][_0x217507(0x1ad)]=!![];}),this[_0x3b9df1(0x19f)][_0x3b9df1(0x1c3)]='TransformHelperObject',this[_0x3b9df1(0x1b2)]=(_0x3b5ec6=_0x432942===null||_0x432942===void 0?void 0:_0x432942[_0x3b9df1(0x1b5)])!==null&&_0x3b5ec6!==void 0?_0x3b5ec6:null;}[_0x28e453(0x1ec)](){const _0x4eb642=_0x28e453;var _0x1f12fe;return (_0x1f12fe=this[_0x4eb642(0x1b2)])!==null&&_0x1f12fe!==void 0?_0x1f12fe:this['controller']['world'][_0x4eb642(0x1a2)];}[_0x28e453(0x1bf)](){const _0x5b2ed6=_0x28e453,_0x120292=this[_0x5b2ed6(0x1ec)]();_0x120292[_0x5b2ed6(0x1af)](this[_0x5b2ed6(0x19f)]),_0x120292[_0x5b2ed6(0x1af)](this[_0x5b2ed6(0x1db)]['getHelper']()),this['control'][_0x5b2ed6(0x1ed)](this[_0x5b2ed6(0x19f)]),this[_0x5b2ed6(0x1db)][_0x5b2ed6(0x1ef)](_0x5b2ed6(0x1d8),this[_0x5b2ed6(0x1e6)]),this['control']['addEventListener'](_0x5b2ed6(0x1d4),this[_0x5b2ed6(0x1e7)]),this[_0x5b2ed6(0x1db)]['addEventListener'](_0x5b2ed6(0x1aa),this[_0x5b2ed6(0x1a7)]);}[_0x28e453(0x1a8)](){const _0x335ea8=_0x28e453;this['control'][_0x335ea8(0x1d3)](_0x335ea8(0x1d8),this[_0x335ea8(0x1e6)]),this['control'][_0x335ea8(0x1d3)](_0x335ea8(0x1d4),this[_0x335ea8(0x1e7)]),this[_0x335ea8(0x1db)][_0x335ea8(0x1d3)](_0x335ea8(0x1aa),this[_0x335ea8(0x1a7)]),this[_0x335ea8(0x1db)][_0x335ea8(0x19b)]();const _0xfae66d=this['getTargetScene']();_0xfae66d[_0x335ea8(0x1de)](this['helperObject']),_0xfae66d[_0x335ea8(0x1de)](this[_0x335ea8(0x1db)][_0x335ea8(0x1cd)]());}['getTargetCameraState'](){const _0x3d9e51=_0x28e453;return {'position':this[_0x3d9e51(0x1b4)]['position'][_0x3d9e51(0x1c9)](),'quaternion':this[_0x3d9e51(0x1b4)][_0x3d9e51(0x1d6)][_0x3d9e51(0x1c9)]()};}['refresh'](){const _0x1d864e=_0x28e453;if(!this[_0x1d864e(0x1b9)])return;this[_0x1d864e(0x1db)][_0x1d864e(0x19b)]();const _0x405150=this[_0x1d864e(0x1ec)]();_0x405150['remove'](this[_0x1d864e(0x19f)]),this['targetMatrixMap'][_0x1d864e(0x1e5)]();let _0x10d29c=this[_0x1d864e(0x1b9)]['getMatrixInWorld']();_0x10d29c[_0x1d864e(0x1a5)](this['helperObject']['position'],this[_0x1d864e(0x19f)]['quaternion'],this[_0x1d864e(0x19f)][_0x1d864e(0x1bd)]),_0x405150[_0x1d864e(0x1af)](this[_0x1d864e(0x1db)]['getHelper']()),_0x405150['add'](this[_0x1d864e(0x19f)]),this['control'][_0x1d864e(0x1ed)](this[_0x1d864e(0x19f)]),this['targets']['forEach'](_0x10da33=>{const _0x5b186f=_0x1d864e,_0x433908=_0x10da33[_0x5b186f(0x1ce)](),_0x39d55d=_0x10d29c['clone']()[_0x5b186f(0x1c0)]()['multiply'](_0x433908);this[_0x5b186f(0x199)][_0x5b186f(0x1cc)](_0x10da33,_0x39d55d);});}[_0x28e453(0x1dc)](){const _0x5656d3=_0x28e453;this[_0x5656d3(0x1ab)][_0x5656d3(0x1ae)][_0x5656d3(0x1da)]();}[_0x28e453(0x1bb)](_0x8cdcd4){const _0x421af8=_0x28e453;if(this[_0x421af8(0x1b9)]){let _0x3bc2ed=this[_0x421af8(0x1b9)][_0x421af8(0x1ce)]();_0x3bc2ed[_0x421af8(0x1a5)](this[_0x421af8(0x19f)][_0x421af8(0x1a4)],this['helperObject'][_0x421af8(0x1d6)],this['helperObject']['scale']);}this[_0x421af8(0x1eb)]&&this[_0x421af8(0x1eb)](_0x8cdcd4[_0x421af8(0x1c5)]);}[_0x28e453(0x1e8)](){const _0x2e2ce5=_0x28e453;if(this['primaryTarget']){this[_0x2e2ce5(0x19f)][_0x2e2ce5(0x1e9)](!![]);const _0x538df9=this['helperObject'][_0x2e2ce5(0x19a)][_0x2e2ce5(0x1c9)]();this[_0x2e2ce5(0x1b9)][_0x2e2ce5(0x1d2)](_0x538df9),this['targets'][_0x2e2ce5(0x1d1)](_0x2174b7=>{const _0x3ebdbb=_0x2e2ce5,_0x215333=this[_0x3ebdbb(0x199)][_0x3ebdbb(0x1a3)](_0x2174b7);if(_0x215333){const _0xde0484=new webgpu.Matrix4()['multiplyMatrices'](_0x538df9,_0x215333);_0x2174b7['onTransforming'](_0xde0484);}});}this[_0x2e2ce5(0x1ee)]&&this[_0x2e2ce5(0x1ee)]();}set[_0x28e453(0x1cf)](_0x4f20c4){const _0x3d2789=_0x28e453;this[_0x3d2789(0x1db)][_0x3d2789(0x1a1)]=_0x4f20c4;}[_0x28e453(0x1df)](_0x27f1c0,_0xf3bb8f,_0x56bd44=null,_0x44dde3=null){const _0x1cdc2d=_0x28e453;this[_0x1cdc2d(0x199)][_0x1cdc2d(0x1e5)]();let _0x36fa68=_0x27f1c0[_0x1cdc2d(0x1ce)]();_0x36fa68[_0x1cdc2d(0x1a5)](this[_0x1cdc2d(0x19f)][_0x1cdc2d(0x1a4)],this[_0x1cdc2d(0x19f)]['quaternion'],this[_0x1cdc2d(0x19f)][_0x1cdc2d(0x1bd)]);const _0x499629=this[_0x1cdc2d(0x1ec)]();_0x499629[_0x1cdc2d(0x1af)](this[_0x1cdc2d(0x1db)][_0x1cdc2d(0x1cd)]()),this['primaryTarget']=_0x27f1c0,this[_0x1cdc2d(0x1bc)]=_0xf3bb8f,this['targets'][_0x1cdc2d(0x1d1)](_0x39b605=>{const _0x431494=_0x1cdc2d,_0x579e29=_0x39b605[_0x431494(0x1ce)](),_0x3669eb=_0x36fa68[_0x431494(0x1c9)]()[_0x431494(0x1c0)]()[_0x431494(0x1e0)](_0x579e29);this[_0x431494(0x199)][_0x431494(0x1cc)](_0x39b605,_0x3669eb);}),_0x56bd44&&(this[_0x1cdc2d(0x1ee)]=_0x56bd44),_0x44dde3&&(this['onDraggingFunction']=_0x44dde3),this[_0x1cdc2d(0x1c7)]=!![];}['getMode'](){const _0x36f58e=_0x28e453;return this[_0x36f58e(0x1db)][_0x36f58e(0x1a9)]();}[_0x28e453(0x19e)](_0x3c0d03){const _0x3409c4=_0x28e453;this[_0x3409c4(0x1db)][_0x3409c4(0x19e)](_0x3c0d03);}['setSpace'](_0x13c213){const _0x28eaef=_0x28e453;this[_0x28eaef(0x1db)][_0x28eaef(0x1be)](_0x13c213);}[_0x28e453(0x1b7)](_0x21f6e1){const _0x51c7ff=_0x28e453;this['control']['showX']=_0x21f6e1?_0x21f6e1===null||_0x21f6e1===void 0?void 0:_0x21f6e1[_0x51c7ff(0x1d5)]('X'):![],this[_0x51c7ff(0x1db)][_0x51c7ff(0x1ac)]=_0x21f6e1?_0x21f6e1===null||_0x21f6e1===void 0?void 0:_0x21f6e1[_0x51c7ff(0x1d5)]('Y'):![],this[_0x51c7ff(0x1db)]['showZ']=_0x21f6e1?_0x21f6e1===null||_0x21f6e1===void 0?void 0:_0x21f6e1[_0x51c7ff(0x1d5)]('Z'):![];}[_0x28e453(0x1ca)](_0x55d38a){const _0x4fa675=_0x28e453;this['control'][_0x4fa675(0x1ca)](_0x55d38a);}[_0x28e453(0x1c1)](){const _0x4ba7d2=_0x28e453;return this[_0x4ba7d2(0x1db)][_0x4ba7d2(0x1ea)];}[_0x28e453(0x1d7)](_0x36f5ad){const _0x13ab61=_0x28e453;this['control'][_0x13ab61(0x1d7)](_0x36f5ad);}[_0x28e453(0x1a6)](){const _0x473b56=_0x28e453;return this[_0x473b56(0x1db)][_0x473b56(0x19d)];}[_0x28e453(0x1c8)](_0x18a411){const _0x26e657=_0x28e453;this[_0x26e657(0x1db)][_0x26e657(0x1c8)](_0x18a411);}[_0x28e453(0x1e4)](){const _0x5f35bf=_0x28e453;return this[_0x5f35bf(0x1db)][_0x5f35bf(0x1b3)];}['setScaleSnap'](_0x5040da){const _0x1cf2dc=_0x28e453;this[_0x1cf2dc(0x1db)]['setScaleSnap'](_0x5040da);}[_0x28e453(0x1b8)](){const _0xe8caa9=_0x28e453;var _0xa08e54;this[_0xe8caa9(0x1c7)]=![],this[_0xe8caa9(0x1a8)](),this['targetMatrixMap']['clear'](),this[_0xe8caa9(0x1bc)]=[],this[_0xe8caa9(0x1b9)]=null,this['onUpdateFunction']=null,this[_0xe8caa9(0x1eb)]=null,(_0xa08e54=this[_0xe8caa9(0x1c4)])===null||_0xa08e54===void 0?void 0:_0xa08e54['dispose'](),this[_0xe8caa9(0x1c4)]=null,super[_0xe8caa9(0x1b8)]();}}function _0x2e8f(){const _0x5e57e0=['camera','helperScene','canvas','setAxis','destroy','primaryTarget','396OBNKgO','onDraggingChanged','targets','scale','setSpace','possess','invert','getTranslationSnap','706280aXlukg','name','_control','value','1646091NSHIey','isTickEnabled','setRotationSnap','clone','setSize','Control\x20not\x20initialized','set','getHelper','getMatrixInWorld','enable','TransformGizmo:Canvas\x20not\x20found','forEach','onTransforming','removeEventListener','dragging-changed','includes','quaternion','setTranslationSnap','change','4752965Iwiufp','markRenderStateDirty','control','onChange','595bsxwUq','remove','setTarget','multiply','21215NsKVxQ','4YmUgXD','1559588EcVIZO','getScaleSnap','clear','onChangeEvent','onDraggingChangedEvent','onObjectChanged','updateMatrixWorld','translationSnap','onDraggingFunction','getTargetScene','attach','onUpdateFunction','addEventListener','targetMatrixMap','matrixWorld','detach','userData','rotationSnap','setMode','helperObject','5643928jraCZB','enabled','scene','get','position','decompose','getRotationnSnap','onObjectChangeEvent','unpossess','getMode','objectChange','controller','showY','rayIgnored','viewPort','add','39396ZlLaom','viewport','gizmoScene','scaleSnap'];_0x2e8f=function(){return _0x5e57e0;};return _0x2e8f();}
|
|
155
155
|
|
|
156
|
-
const
|
|
156
|
+
const _0x1c4acd=_0x2605;function _0x2605(_0x322d40,_0xe343b2){_0x322d40=_0x322d40-0x7e;const _0x2c473c=_0x2c47();let _0x260559=_0x2c473c[_0x322d40];return _0x260559;}(function(_0x199750,_0xd8970){const _0x150f00=_0x2605,_0x2de19f=_0x199750();while(!![]){try{const _0x130a17=-parseInt(_0x150f00(0x89))/0x1*(-parseInt(_0x150f00(0x81))/0x2)+parseInt(_0x150f00(0x80))/0x3+parseInt(_0x150f00(0xa5))/0x4*(parseInt(_0x150f00(0x9f))/0x5)+-parseInt(_0x150f00(0xa3))/0x6+parseInt(_0x150f00(0xa4))/0x7*(-parseInt(_0x150f00(0x93))/0x8)+-parseInt(_0x150f00(0x97))/0x9+-parseInt(_0x150f00(0x9d))/0xa*(parseInt(_0x150f00(0xa1))/0xb);if(_0x130a17===_0xd8970)break;else _0x2de19f['push'](_0x2de19f['shift']());}catch(_0x10b635){_0x2de19f['push'](_0x2de19f['shift']());}}}(_0x2c47,0x1bdbf));function _0x2c47(){const _0x111d5c=['set','BoxColliderDebugMesh','raycast','multiplyScalar','abs','threeObject','copy','5Yiaraq','destroyDebugObject','createDebugObject','expandByPoint','clone','getWorldMatrix','invert','applyMatrix4','name','makeEmpty','3600oiLphw','scale','debugOpacity','BoxColliderComponent','1453743brBWfY','normalize','matrixWorld','getWorldAABB','transformDirection','_halfExtents','20oHGrrP','intersectRayAabbRaw','849685TtUzta','negate','218174qfPMtp','transpose','276006ltzRTI','1225kNQCwR','4DySNAh','onDebugTick','_debugMesh','debugColor','167820RwYzgd','85672QvDvVX'];_0x2c47=function(){return _0x111d5c;};return _0x2c47();}class BoxColliderComponent extends ColliderComponent{get['halfExtents'](){const _0x3c9abe=_0x2605;return this[_0x3c9abe(0x9c)];}constructor(_0x14c4a8,_0x31ec6a=new webgpu.Vector3(0.5,0.5,0.5),_0x22ec90){const _0xdb9eac=_0x2605;super(_0x14c4a8,_0x22ec90),this[_0xdb9eac(0x7e)]=null,this['_halfExtents']=new webgpu.Vector3(_0x31ec6a['x'],_0x31ec6a['y'],_0x31ec6a['z']),this[_0xdb9eac(0x91)]=_0xdb9eac(0x96);}[_0x1c4acd(0x9a)](_0x49f796=new webgpu.Box3()){const _0xa07648=_0x1c4acd,_0x380a9f=this[_0xa07648(0x8e)](),_0x24d774=this[_0xa07648(0x9c)]['x'],_0x2b8182=this[_0xa07648(0x9c)]['y'],_0x2e8169=this['_halfExtents']['z'];_0x49f796[_0xa07648(0x92)]();const _0x14c7ed=[new webgpu.Vector3(-_0x24d774,-_0x2b8182,-_0x2e8169),new webgpu.Vector3(-_0x24d774,-_0x2b8182,_0x2e8169),new webgpu.Vector3(-_0x24d774,_0x2b8182,-_0x2e8169),new webgpu.Vector3(-_0x24d774,_0x2b8182,_0x2e8169),new webgpu.Vector3(_0x24d774,-_0x2b8182,-_0x2e8169),new webgpu.Vector3(_0x24d774,-_0x2b8182,_0x2e8169),new webgpu.Vector3(_0x24d774,_0x2b8182,-_0x2e8169),new webgpu.Vector3(_0x24d774,_0x2b8182,_0x2e8169)];for(const _0xadf406 of _0x14c7ed){_0xadf406[_0xa07648(0x90)](_0x380a9f),_0x49f796[_0xa07648(0x8c)](_0xadf406);}return _0x49f796;}[_0x1c4acd(0x8b)](){const _0x2417b2=_0x1c4acd,_0x4c9b5d=new webgpu.Object3D();_0x4c9b5d[_0x2417b2(0x91)]='BoxColliderDebug';const _0x42d7fa=new webgpu.BoxGeometry(0x1,0x1,0x1),_0x502926=new webgpu.MeshBasicMaterial({'color':this[_0x2417b2(0x7f)],'wireframe':!![],'transparent':!![],'opacity':this[_0x2417b2(0x95)]}),_0x1d29b0=new webgpu.Mesh(_0x42d7fa,_0x502926);return _0x1d29b0[_0x2417b2(0x91)]=_0x2417b2(0x83),_0x4c9b5d['add'](_0x1d29b0),this['_debugMesh']=_0x1d29b0,this[_0x2417b2(0xa6)](0x0),_0x4c9b5d;}[_0x1c4acd(0x8a)](_0x21a658){const _0x3d60e4=_0x1c4acd;this[_0x3d60e4(0x7e)]=null;}['onDebugTick'](_0x4f7311){const _0x35a374=_0x1c4acd;if(!this[_0x35a374(0x7e)])return;this[_0x35a374(0x7e)][_0x35a374(0x94)][_0x35a374(0x82)](this['_halfExtents']['x']*0x2,this[_0x35a374(0x9c)]['y']*0x2,this['_halfExtents']['z']*0x2);}[_0x1c4acd(0x84)](_0x2a1f2e,_0x9d28d,_0x5ce97d){const _0x4ee55c=_0x1c4acd;if(!this[_0x4ee55c(0x87)])return null;const _0x390f1e=this['threeObject'][_0x4ee55c(0x99)][_0x4ee55c(0x8d)]()[_0x4ee55c(0x8f)](),_0x426337=_0x2a1f2e['clone']()[_0x4ee55c(0x90)](_0x390f1e),_0x34770c=_0x9d28d[_0x4ee55c(0x8d)]()[_0x4ee55c(0x9b)](_0x390f1e),_0xfa52c9=_0x2a1f2e[_0x4ee55c(0x8d)]()['add'](_0x9d28d),_0x34bb29=_0xfa52c9['applyMatrix4'](_0x390f1e);_0x34770c['subVectors'](_0x34bb29,_0x426337);const _0x1358d6=this[_0x4ee55c(0x9c)]['clone']()['negate'](),_0xe2e85f=this['_halfExtents'][_0x4ee55c(0x8d)](),_0x25032b=this[_0x4ee55c(0x9e)](_0x426337,_0x34770c,_0x1358d6,_0xe2e85f);if(!_0x25032b)return null;if(_0x25032b['t']>_0x5ce97d)return null;const _0x514955=_0x2a1f2e[_0x4ee55c(0x8d)]()['add'](_0x9d28d[_0x4ee55c(0x8d)]()[_0x4ee55c(0x85)](_0x25032b['t'])),_0x4f495b=_0x25032b['normal'],_0x59da57=new webgpu.Matrix4()[_0x4ee55c(0x88)](this['threeObject']['matrixWorld'])[_0x4ee55c(0x8f)]()[_0x4ee55c(0xa2)](),_0x4c7d88=_0x4f495b[_0x4ee55c(0x90)](_0x59da57)[_0x4ee55c(0x98)]();return {'point':_0x514955,'normal':_0x4c7d88,'distance':_0x25032b['t']};}[_0x1c4acd(0x9e)](_0x445d6c,_0x48f414,_0x585779,_0x545bb7){const _0x4a81bb=_0x1c4acd;let _0x2145a7=-Infinity,_0x2c2b65=Infinity;const _0x2a4d75=new webgpu.Vector3(),_0x51e27c=1e-8,_0x7b54ca=_0x17356d=>{const _0x446f2f=_0x2605,_0x19c294=_0x445d6c[_0x17356d],_0xa3d45e=_0x48f414[_0x17356d],_0x40cff9=_0x585779[_0x17356d],_0x25163c=_0x545bb7[_0x17356d];if(Math[_0x446f2f(0x86)](_0xa3d45e)<_0x51e27c){if(_0x19c294<_0x40cff9||_0x19c294>_0x25163c)return ![];return !![];}const _0x36ba53=0x1/_0xa3d45e;let _0x2a80=(_0x40cff9-_0x19c294)*_0x36ba53,_0x117c5a=(_0x25163c-_0x19c294)*_0x36ba53;if(_0x2a80>_0x117c5a){const _0xd7c935=_0x2a80;_0x2a80=_0x117c5a,_0x117c5a=_0xd7c935;}if(_0x2a80>_0x2145a7){_0x2145a7=_0x2a80,_0x2a4d75[_0x446f2f(0x82)](0x0,0x0,0x0),_0x2a4d75[_0x17356d]=_0xa3d45e<0x0?0x1:-1;if(_0xa3d45e>0x0)_0x2a4d75[_0x17356d]=-1;else _0x2a4d75[_0x17356d]=0x1;}_0x117c5a<_0x2c2b65&&(_0x2c2b65=_0x117c5a);if(_0x2145a7>_0x2c2b65)return ![];return !![];};if(!_0x7b54ca('x')||!_0x7b54ca('y')||!_0x7b54ca('z'))return null;if(_0x2c2b65<0x0)return null;if(_0x2145a7<0x0)return {'t':0x0,'normal':_0x48f414[_0x4a81bb(0x8d)]()[_0x4a81bb(0xa0)]()[_0x4a81bb(0x98)]()};return {'t':_0x2145a7,'normal':_0x2a4d75};}}
|
|
157
157
|
|
|
158
|
-
|
|
158
|
+
const _0x4311cb=_0x477c;(function(_0x28df7f,_0x400aa0){const _0x41d2eb=_0x477c,_0x1dce57=_0x28df7f();while(!![]){try{const _0x17b485=-parseInt(_0x41d2eb(0xd1))/0x1+parseInt(_0x41d2eb(0xe8))/0x2*(-parseInt(_0x41d2eb(0xd7))/0x3)+parseInt(_0x41d2eb(0xed))/0x4+parseInt(_0x41d2eb(0xd5))/0x5+-parseInt(_0x41d2eb(0xdf))/0x6+-parseInt(_0x41d2eb(0xe3))/0x7+parseInt(_0x41d2eb(0xdd))/0x8;if(_0x17b485===_0x400aa0)break;else _0x1dce57['push'](_0x1dce57['shift']());}catch(_0x1b4d86){_0x1dce57['push'](_0x1dce57['shift']());}}}(_0x42cd,0x72fb2));function _0x477c(_0x5589e8,_0x3c4a61){_0x5589e8=_0x5589e8-0xd1;const _0x42cd08=_0x42cd();let _0x477c27=_0x42cd08[_0x5589e8];return _0x477c27;}function _0x42cd(){const _0x376e58=['getWorldAABB','onDebugStyleChanged','needsUpdate','310200bEbQvX','SphereColliderDebugMesh','30IkyUNz','name','material','color','getWorldPosition','SphereColliderDebug','7841600Mihkbi','max','635034PgBpdV','_radius','createDebugObject','debugColor','3936366RzwpIv','getWorldScale','_debugMesh','debugOpacity','set','16204WQVKjq','abs','scale','radius','setHex','2161464KzmAxp','add','onDebugTick','opacity','362447RsiAEq'];_0x42cd=function(){return _0x376e58;};return _0x42cd();}class SphereColliderComponent extends ColliderComponent{get[_0x4311cb(0xeb)](){const _0xc448e6=_0x4311cb;return this[_0xc448e6(0xe0)];}constructor(_0x3c9b1e,_0x54d0ad=0.5,_0x4971d2){const _0x493796=_0x4311cb;super(_0x3c9b1e,_0x4971d2),this[_0x493796(0xe5)]=null,this[_0x493796(0xe0)]=_0x54d0ad,this[_0x493796(0xd8)]='SphereColliderComponent';}[_0x4311cb(0xd2)](_0x37ef07=new webgpu.Box3()){const _0x128730=_0x4311cb,_0x5802a7=this[_0x128730(0xdb)](),_0x52331f=this['getWorldScale'](),_0x365f8c=Math['max'](Math[_0x128730(0xe9)](_0x52331f['x']),Math['abs'](_0x52331f['y']),Math['abs'](_0x52331f['z'])),_0x167e09=Math['max'](0x0,this[_0x128730(0xe0)])*_0x365f8c,_0x383dfd=new webgpu.Vector3(_0x167e09*0x2,_0x167e09*0x2,_0x167e09*0x2);return _0x37ef07['setFromCenterAndSize'](_0x5802a7,_0x383dfd),_0x37ef07;}[_0x4311cb(0xe1)](){const _0xaffead=_0x4311cb,_0x231b10=new webgpu.Object3D();_0x231b10[_0xaffead(0xd8)]=_0xaffead(0xdc);const _0x27b395=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x4bb1f0=new webgpu.MeshBasicMaterial({'color':this[_0xaffead(0xe2)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0x361e03=new webgpu.Mesh(_0x27b395,_0x4bb1f0);return _0x361e03[_0xaffead(0xd8)]=_0xaffead(0xd6),_0x231b10[_0xaffead(0xee)](_0x361e03),this['_debugMesh']=_0x361e03,this[_0xaffead(0xef)](0x0),_0x231b10;}['destroyDebugObject'](_0x2131a3){const _0x45f0c9=_0x4311cb;this[_0x45f0c9(0xe5)]=null;}[_0x4311cb(0xef)](_0x5ae6ce){const _0x4313c3=_0x4311cb,_0x2b2548=this[_0x4313c3(0xe5)];if(!_0x2b2548)return;const _0x592250=this[_0x4313c3(0xe4)](),_0x2d86ab=Math[_0x4313c3(0xe9)](_0x592250['x'])>1e-8?_0x592250['x']:0x1,_0x1e6f70=Math[_0x4313c3(0xe9)](_0x592250['y'])>1e-8?_0x592250['y']:0x1,_0x261d05=Math[_0x4313c3(0xe9)](_0x592250['z'])>1e-8?_0x592250['z']:0x1,_0xf48f2=Math['max'](Math[_0x4313c3(0xe9)](_0x2d86ab),Math[_0x4313c3(0xe9)](_0x1e6f70),Math[_0x4313c3(0xe9)](_0x261d05)),_0x2991db=Math[_0x4313c3(0xde)](0x0,this[_0x4313c3(0xe0)])*_0xf48f2;_0x2b2548[_0x4313c3(0xea)][_0x4313c3(0xe7)](_0x2991db/_0x2d86ab,_0x2991db/_0x1e6f70,_0x2991db/_0x261d05);}[_0x4311cb(0xd3)](){const _0x162f89=_0x4311cb,_0x545939=this['_debugMesh'];if(!_0x545939)return;const _0xc6ee7c=_0x545939[_0x162f89(0xd9)];_0xc6ee7c[_0x162f89(0xda)][_0x162f89(0xec)](this[_0x162f89(0xe2)]),_0xc6ee7c[_0x162f89(0xf0)]=this[_0x162f89(0xe6)],_0xc6ee7c['transparent']=this[_0x162f89(0xe6)]<0x1,_0xc6ee7c[_0x162f89(0xd4)]=!![];}}
|
|
159
159
|
|
|
160
|
-
const _0x3f8d97=_0x3942;(function(_0x3293f4,_0x269b46){const _0x369bed=_0x3942,_0x2fb167=_0x3293f4();while(!![]){try{const _0x31cc8d=parseInt(_0x369bed(0x1fd))/0x1+parseInt(_0x369bed(0x1d2))/0x2+-parseInt(_0x369bed(0x1d4))/0x3+parseInt(_0x369bed(0x20e))/0x4*(-parseInt(_0x369bed(0x215))/0x5)+parseInt(_0x369bed(0x213))/0x6*(-parseInt(_0x369bed(0x1d6))/0x7)+parseInt(_0x369bed(0x1f7))/0x8+parseInt(_0x369bed(0x1c8))/0x9*(parseInt(_0x369bed(0x1e7))/0xa);if(_0x31cc8d===_0x269b46)break;else _0x2fb167['push'](_0x2fb167['shift']());}catch(_0x43872c){_0x2fb167['push'](_0x2fb167['shift']());}}}(_0x49e7,0xa2bd4));class MeshColliderComponent extends ColliderComponent{get[_0x3f8d97(0x1d8)](){const _0x4c379a=_0x3f8d97;return this[_0x4c379a(0x1eb)];}constructor(_0x4a5480,_0x200d20=null,_0x23571b){const _0x2b49af=_0x3f8d97;super(_0x4a5480,_0x23571b),this[_0x2b49af(0x1eb)]=null,this[_0x2b49af(0x1c5)]=null,this[_0x2b49af(0x1ff)]=[],this['_debugMaterial']=null,this['_tmpAabb']=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this[_0x2b49af(0x1e3)]=new webgpu.Vector3(),this[_0x2b49af(0x21f)]=Array[_0x2b49af(0x1ce)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x2b49af(0x202)]=new webgpu.Vector3(),this[_0x2b49af(0x1f1)]=new webgpu.Vector3(),this[_0x2b49af(0x1ed)]=new webgpu.Vector3(),this[_0x2b49af(0x1c9)]=new webgpu.Vector3(),this[_0x2b49af(0x1f5)]=new webgpu.Vector3(),this[_0x2b49af(0x1cc)]=new webgpu.Vector3(),this[_0x2b49af(0x1f3)]=new webgpu.Vector3(),this[_0x2b49af(0x1e2)]=new webgpu.Vector3(),this[_0x2b49af(0x1da)]=new webgpu.Vector3(),this[_0x2b49af(0x1f9)]='MeshColliderComponent',this[_0x2b49af(0x1d3)](_0x200d20);}[_0x3f8d97(0x1d3)](_0x46e3f7){const _0x48d5ee=_0x3f8d97,_0x529030=this['debugEnabled'];_0x529030&&(this[_0x48d5ee(0x205)]=![]);this[_0x48d5ee(0x1eb)]=_0x46e3f7;this[_0x48d5ee(0x1c5)]&&(this[_0x48d5ee(0x1c5)]['geometry']['dispose'](),this[_0x48d5ee(0x1c5)]=null);if(!_0x46e3f7){_0x529030&&(this[_0x48d5ee(0x205)]=!![]);return;}const _0x49b0b5=[];_0x46e3f7[_0x48d5ee(0x1e1)](!![],!![]);const _0x5353ff=_0x46e3f7[_0x48d5ee(0x21e)]['clone']()[_0x48d5ee(0x201)]();_0x46e3f7[_0x48d5ee(0x1db)](_0x11f154=>{const _0x179c32=_0x48d5ee;if(_0x11f154[_0x179c32(0x1d1)]){const _0x4e704b=_0x11f154;if(_0x4e704b['geometry']){const _0x2fd5e5=_0x4e704b[_0x179c32(0x204)][_0x179c32(0x212)](),_0xc43f0c=_0x5353ff[_0x179c32(0x212)]()[_0x179c32(0x1cb)](_0x4e704b[_0x179c32(0x21e)]);_0x2fd5e5[_0x179c32(0x1e4)](_0xc43f0c),_0x49b0b5['push'](_0x2fd5e5);}}});if(_0x49b0b5[_0x48d5ee(0x1e5)]>0x0){const _0x45ee50=this['mergeGeometries'](_0x49b0b5);if(_0x45ee50){const _0x560148=new webgpu.Mesh(_0x45ee50);this[_0x48d5ee(0x1c5)]=_0x560148;}}_0x529030&&(this[_0x48d5ee(0x205)]=!![]);}[_0x3f8d97(0x1d9)](_0x56301c){const _0x530435=_0x3f8d97;if(_0x56301c['length']===0x0)return null;if(_0x56301c[_0x530435(0x1e5)]===0x1)return _0x56301c[0x0];let _0x2b0991=0x0,_0x2a7247=0x0;for(const _0x28d193 of _0x56301c){_0x2b0991+=_0x28d193[_0x530435(0x1fb)]['position'][_0x530435(0x1f2)],_0x28d193[_0x530435(0x206)]?_0x2a7247+=_0x28d193['index'][_0x530435(0x1f2)]:_0x2a7247+=_0x28d193['attributes']['position'][_0x530435(0x1f2)];}const _0x14390b=new Float32Array(_0x2b0991*0x3),_0x91df97=new Uint32Array(_0x2a7247);let _0x5ce29f=0x0,_0xc0a00c=0x0;for(const _0x379cc4 of _0x56301c){const _0x2b4ea5=_0x379cc4[_0x530435(0x1fb)][_0x530435(0x1d7)][_0x530435(0x1f4)],_0x2d5f0e=_0x379cc4[_0x530435(0x1fb)]['position'][_0x530435(0x1f2)];for(let _0x5e32b5=0x0;_0x5e32b5<_0x2d5f0e*0x3;_0x5e32b5++){_0x14390b[_0x5ce29f*0x3+_0x5e32b5]=_0x2b4ea5[_0x5e32b5];}if(_0x379cc4[_0x530435(0x206)]){const _0x471b51=_0x379cc4[_0x530435(0x206)][_0x530435(0x1f4)];for(let _0x90a9aa=0x0;_0x90a9aa<_0x379cc4[_0x530435(0x206)][_0x530435(0x1f2)];_0x90a9aa++){_0x91df97[_0xc0a00c+_0x90a9aa]=_0x471b51[_0x90a9aa]+_0x5ce29f;}_0xc0a00c+=_0x379cc4[_0x530435(0x206)][_0x530435(0x1f2)];}else {for(let _0x131d64=0x0;_0x131d64<_0x2d5f0e;_0x131d64++){_0x91df97[_0xc0a00c+_0x131d64]=_0x131d64+_0x5ce29f;}_0xc0a00c+=_0x2d5f0e;}_0x5ce29f+=_0x2d5f0e;}const _0x1eeb56=new webgpu.BufferGeometry();return _0x1eeb56['setAttribute']('position',new webgpu.BufferAttribute(_0x14390b,0x3)),_0x1eeb56['setIndex'](new webgpu.BufferAttribute(_0x91df97,0x1)),_0x1eeb56;}[_0x3f8d97(0x208)](){const _0xb646fa=_0x3f8d97;this[_0xb646fa(0x205)]=![],this[_0xb646fa(0x1c5)]&&(this['_mesh']['geometry'][_0xb646fa(0x217)](),this[_0xb646fa(0x1c5)]=null),this['_sourceObject']=null,super[_0xb646fa(0x208)]();}[_0x3f8d97(0x210)](_0xb531d5=new webgpu.Box3()){const _0x40a04c=_0x3f8d97;_0xb531d5[_0x40a04c(0x1fc)]();if(!this[_0x40a04c(0x1eb)])return _0xb531d5;this[_0x40a04c(0x1eb)][_0x40a04c(0x1e1)](!![],!![]);const _0x5d80f7=this[_0x40a04c(0x21f)];if(this[_0x40a04c(0x1c5)]){const _0x485218=this['_mesh'];_0x485218[_0x40a04c(0x21e)]['copy'](this[_0x40a04c(0x1eb)][_0x40a04c(0x21e)]);const _0x498be2=_0x485218['geometry'];if(_0x498be2){!_0x498be2['boundingBox']&&_0x498be2[_0x40a04c(0x1c6)]();const _0x2b20db=_0x498be2['boundingBox'];if(_0x2b20db){this[_0x40a04c(0x1e8)][_0x40a04c(0x1ec)](_0x485218[_0x40a04c(0x21e)]);const _0x5c2e7e=_0x2b20db['min'],_0x464202=_0x2b20db['max'];_0x5d80f7[0x0][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x5c2e7e['y'],_0x5c2e7e['z']),_0x5d80f7[0x1][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x5c2e7e['y'],_0x464202['z']),_0x5d80f7[0x2][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x464202['y'],_0x5c2e7e['z']),_0x5d80f7[0x3][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x464202['y'],_0x464202['z']),_0x5d80f7[0x4][_0x40a04c(0x1ea)](_0x464202['x'],_0x5c2e7e['y'],_0x5c2e7e['z']),_0x5d80f7[0x5][_0x40a04c(0x1ea)](_0x464202['x'],_0x5c2e7e['y'],_0x464202['z']),_0x5d80f7[0x6][_0x40a04c(0x1ea)](_0x464202['x'],_0x464202['y'],_0x5c2e7e['z']),_0x5d80f7[0x7][_0x40a04c(0x1ea)](_0x464202['x'],_0x464202['y'],_0x464202['z']);for(const _0x138c7c of _0x5d80f7){_0x138c7c[_0x40a04c(0x1e4)](this['_tmpMat']),_0xb531d5['expandByPoint'](_0x138c7c);}}}}return _0xb531d5;}[_0x3f8d97(0x21d)](_0x394e58,_0x3bdbcf,_0x258673){const _0x13728b=_0x3f8d97;if(!this[_0x13728b(0x1eb)])return [];this['_sourceObject'][_0x13728b(0x1e1)](!![],!![]);const _0x3fe3bd=[];if(this[_0x13728b(0x1c5)]){const _0x9b0e04=this['_mesh'];_0x9b0e04['matrixWorld'][_0x13728b(0x1ec)](this[_0x13728b(0x1eb)]['matrixWorld']);const _0x5a0722=_0x9b0e04['geometry'];if(_0x5a0722){!_0x5a0722[_0x13728b(0x20a)]&&_0x5a0722['computeBoundingBox']();const _0x8c03ef=_0x5a0722['boundingBox'];if(_0x8c03ef){const _0x2c485e=this['_tmpAabb'][_0x13728b(0x1ec)](_0x8c03ef)['applyMatrix4'](_0x9b0e04['matrixWorld']);if(this['intersectRayAabb'](_0x394e58,_0x3bdbcf,_0x258673,_0x2c485e)){const _0x4f9f5f=_0x5a0722[_0x13728b(0x200)](_0x13728b(0x1d7));if(_0x4f9f5f){const _0x5db1d5=_0x5a0722[_0x13728b(0x20c)](),_0x2e497e=_0x5db1d5?Math[_0x13728b(0x203)](_0x5db1d5[_0x13728b(0x1f2)]/0x3):Math['floor'](_0x4f9f5f[_0x13728b(0x1f2)]/0x3);for(let _0x50bd6b=0x0;_0x50bd6b<_0x2e497e;_0x50bd6b++){const _0x319cf5=_0x5db1d5?_0x5db1d5['getX'](_0x50bd6b*0x3+0x0):_0x50bd6b*0x3+0x0,_0x2ef062=_0x5db1d5?_0x5db1d5['getX'](_0x50bd6b*0x3+0x1):_0x50bd6b*0x3+0x1,_0x31dc83=_0x5db1d5?_0x5db1d5[_0x13728b(0x1ee)](_0x50bd6b*0x3+0x2):_0x50bd6b*0x3+0x2;this[_0x13728b(0x202)][_0x13728b(0x1ea)](_0x4f9f5f[_0x13728b(0x1ee)](_0x319cf5),_0x4f9f5f[_0x13728b(0x1ca)](_0x319cf5),_0x4f9f5f[_0x13728b(0x209)](_0x319cf5))['applyMatrix4'](_0x9b0e04['matrixWorld']),this['_tmpB'][_0x13728b(0x1ea)](_0x4f9f5f[_0x13728b(0x1ee)](_0x2ef062),_0x4f9f5f['getY'](_0x2ef062),_0x4f9f5f[_0x13728b(0x209)](_0x2ef062))[_0x13728b(0x1e4)](_0x9b0e04[_0x13728b(0x21e)]),this['_tmpC']['set'](_0x4f9f5f[_0x13728b(0x1ee)](_0x31dc83),_0x4f9f5f[_0x13728b(0x1ca)](_0x31dc83),_0x4f9f5f['getZ'](_0x31dc83))['applyMatrix4'](_0x9b0e04[_0x13728b(0x21e)]);const _0x1933f8=this[_0x13728b(0x211)](_0x394e58,_0x3bdbcf,this[_0x13728b(0x202)],this[_0x13728b(0x1f1)],this[_0x13728b(0x1ed)],_0x258673);_0x1933f8&&_0x3fe3bd[_0x13728b(0x1dc)]({'distance':_0x1933f8['distance'],'point':_0x1933f8[_0x13728b(0x1dd)]['clone'](),'normal':_0x1933f8[_0x13728b(0x21b)][_0x13728b(0x212)]()});}}}}}}return _0x3fe3bd[_0x13728b(0x216)]((_0x1ff16e,_0x92f31e)=>_0x1ff16e[_0x13728b(0x207)]-_0x92f31e['distance']);}[_0x3f8d97(0x220)](_0x4a20cf,_0x45d8f0,_0x123cbf){const _0x3a3953=_0x3f8d97,_0x33fc3f=this['raycastAll'](_0x4a20cf,_0x45d8f0,_0x123cbf);if(_0x33fc3f[_0x3a3953(0x1e5)]>0x0)return _0x33fc3f[0x0];return null;}[_0x3f8d97(0x1c7)](_0x43610e,_0x3cd090,_0x978ac8,_0x5c02a1){const _0x5a9111=_0x3f8d97;let _0x2f9e57=0x0,_0x5886d2=_0x978ac8;const _0x32bf5f=1e-8,_0x482245=_0x2ef47f=>{const _0x4964b6=_0x3942,_0x3a4c0a=_0x43610e[_0x2ef47f],_0x5b0376=_0x3cd090[_0x2ef47f],_0x52a4af=_0x5c02a1['min'][_0x2ef47f],_0x81dfbf=_0x5c02a1['max'][_0x2ef47f];if(Math[_0x4964b6(0x21c)](_0x5b0376)<_0x32bf5f)return _0x3a4c0a>=_0x52a4af&&_0x3a4c0a<=_0x81dfbf;const _0x3ed79d=0x1/_0x5b0376;let _0x448a0d,_0x15341f;return _0x5b0376>=0x0?(_0x448a0d=(_0x52a4af-_0x3a4c0a)*_0x3ed79d,_0x15341f=(_0x81dfbf-_0x3a4c0a)*_0x3ed79d):(_0x448a0d=(_0x81dfbf-_0x3a4c0a)*_0x3ed79d,_0x15341f=(_0x52a4af-_0x3a4c0a)*_0x3ed79d),_0x448a0d>_0x2f9e57&&(_0x2f9e57=_0x448a0d),_0x15341f<_0x5886d2&&(_0x5886d2=_0x15341f),_0x2f9e57<=_0x5886d2;};if(!_0x482245('x')||!_0x482245('y')||!_0x482245('z'))return ![];const _0x4bc2b2=Math[_0x5a9111(0x20b)](0x0,_0x2f9e57);return _0x4bc2b2<=_0x978ac8;}['intersectRayTriangle'](_0x6a5eb6,_0x4db4d5,_0x35db45,_0x28d60c,_0x46ace6,_0x3837aa){const _0x49a5d9=_0x3f8d97,_0x537cd9=1e-8,_0x53b149=this['_tmpEdge1']['copy'](_0x28d60c)['sub'](_0x35db45),_0x26749c=this[_0x49a5d9(0x1f5)][_0x49a5d9(0x1ec)](_0x46ace6)['sub'](_0x35db45),_0x4a13de=this[_0x49a5d9(0x1cc)][_0x49a5d9(0x1cd)](_0x4db4d5,_0x26749c),_0x1c7a7=_0x53b149[_0x49a5d9(0x1f6)](_0x4a13de);if(Math['abs'](_0x1c7a7)<_0x537cd9)return null;const _0x49c7a3=0x1/_0x1c7a7,_0x12261b=this[_0x49a5d9(0x1f3)][_0x49a5d9(0x1ec)](_0x6a5eb6)[_0x49a5d9(0x21a)](_0x35db45),_0x332d4e=_0x12261b['dot'](_0x4a13de)*_0x49c7a3;if(_0x332d4e<0x0||_0x332d4e>0x1)return null;const _0x109003=this[_0x49a5d9(0x1e2)][_0x49a5d9(0x1cd)](_0x12261b,_0x53b149),_0x62fccc=_0x4db4d5[_0x49a5d9(0x1f6)](_0x109003)*_0x49c7a3;if(_0x62fccc<0x0||_0x332d4e+_0x62fccc>0x1)return null;const _0x5398af=_0x26749c[_0x49a5d9(0x1f6)](_0x109003)*_0x49c7a3;if(_0x5398af<0x0||_0x5398af>_0x3837aa)return null;const _0x3123f6=this[_0x49a5d9(0x1da)][_0x49a5d9(0x1cd)](_0x53b149,_0x26749c),_0x588134=_0x3123f6[_0x49a5d9(0x1fa)]();_0x588134>_0x537cd9&&_0x3123f6[_0x49a5d9(0x1f8)](0x1/Math[_0x49a5d9(0x214)](_0x588134));_0x3123f6[_0x49a5d9(0x1f6)](_0x4db4d5)>0x0&&_0x3123f6[_0x49a5d9(0x1f8)](-1);const _0x699ffd=this[_0x49a5d9(0x1e3)][_0x49a5d9(0x1ec)](_0x6a5eb6)[_0x49a5d9(0x218)](_0x4db4d5,_0x5398af);return {'point':_0x699ffd,'normal':_0x3123f6,'distance':_0x5398af};}[_0x3f8d97(0x1e6)](){const _0x28a317=_0x3f8d97;return this[_0x28a317(0x1df)];}[_0x3f8d97(0x1e0)](){const _0x79a70c=_0x3f8d97;if(!this[_0x79a70c(0x1eb)])return null;const _0x4b88ec=new webgpu.Object3D();_0x4b88ec[_0x79a70c(0x1f9)]=_0x79a70c(0x20f),this[_0x79a70c(0x1ff)]=[],this[_0x79a70c(0x219)]=new webgpu.MeshBasicMaterial({'color':this[_0x79a70c(0x1d0)],'wireframe':!![],'transparent':!![],'opacity':this[_0x79a70c(0x1ef)]});if(this[_0x79a70c(0x1c5)]){const _0x55afca=this[_0x79a70c(0x1c5)],_0x391b4e=_0x55afca[_0x79a70c(0x204)];if(_0x391b4e){const _0x2c9c29=new webgpu.Mesh(_0x391b4e,this[_0x79a70c(0x219)]);_0x4b88ec[_0x79a70c(0x1fe)](_0x2c9c29),this[_0x79a70c(0x1ff)][_0x79a70c(0x1dc)]({'parent':_0x4b88ec,'obj':_0x2c9c29});}}return _0x4b88ec;}[_0x3f8d97(0x1d5)](_0x15b64b){const _0x836c9d=_0x3f8d97;for(const _0x1b5bb6 of this['_debugEntries']){_0x1b5bb6[_0x836c9d(0x1de)]['remove'](_0x1b5bb6['obj']);}this['_debugEntries']=[],this[_0x836c9d(0x219)]=null;}[_0x3f8d97(0x1e9)](){const _0x2e1988=_0x3f8d97;if(!this[_0x2e1988(0x219)])return;this[_0x2e1988(0x219)]['color'][_0x2e1988(0x1cf)](this[_0x2e1988(0x1d0)]),this[_0x2e1988(0x219)][_0x2e1988(0x20d)]=this['debugOpacity'],this[_0x2e1988(0x219)][_0x2e1988(0x1f0)]=this[_0x2e1988(0x1ef)]<0x1,this[_0x2e1988(0x219)]['needsUpdate']=!![];}}function _0x3942(_0x298890,_0x1678ab){_0x298890=_0x298890-0x1c5;const _0x49e7ae=_0x49e7();let _0x39421c=_0x49e7ae[_0x298890];return _0x39421c;}function _0x49e7(){const _0x3036d9=['_tmpBoxCorner','raycast','_mesh','computeBoundingBox','intersectRayAabb','2601fGxtas','_tmpEdge1','getY','multiply','_tmpP','crossVectors','from','setHex','debugColor','isMesh','2602968jSneiE','setSourceObject','794124CMXVvV','destroyDebugObject','1696303qawulo','position','sourceObject','mergeGeometries','_tmpN','traverse','push','point','parent','threeObject','createDebugObject','updateWorldMatrix','_tmpQ','_tmpCorner','applyMatrix4','length','getDebugAttachParent','7990XWEcTe','_tmpMat','onDebugStyleChanged','set','_sourceObject','copy','_tmpC','getX','debugOpacity','transparent','_tmpB','count','_tmpT','array','_tmpEdge2','dot','1863360eTYDJk','multiplyScalar','name','lengthSq','attributes','makeEmpty','731498LhBaLh','add','_debugEntries','getAttribute','invert','_tmpA','floor','geometry','debugEnabled','index','distance','destroy','getZ','boundingBox','max','getIndex','opacity','12nfRjKs','MeshColliderDebug','getWorldAABB','intersectRayTriangle','clone','12RhodlS','sqrt','1801445pRFHcH','sort','dispose','addScaledVector','_debugMaterial','sub','normal','abs','raycastAll','matrixWorld'];_0x49e7=function(){return _0x3036d9;};return _0x49e7();}
|
|
160
|
+
const _0x200499=_0x4669;function _0x4669(_0x42fd7c,_0x5ca89d){_0x42fd7c=_0x42fd7c-0xba;const _0x83cb2e=_0x83cb();let _0x466987=_0x83cb2e[_0x42fd7c];return _0x466987;}(function(_0x28ea64,_0x454c80){const _0x102b59=_0x4669,_0x28067e=_0x28ea64();while(!![]){try{const _0x38d921=parseInt(_0x102b59(0x119))/0x1*(parseInt(_0x102b59(0xf4))/0x2)+-parseInt(_0x102b59(0xbc))/0x3+parseInt(_0x102b59(0xc0))/0x4*(parseInt(_0x102b59(0xf0))/0x5)+-parseInt(_0x102b59(0x114))/0x6*(-parseInt(_0x102b59(0xe9))/0x7)+parseInt(_0x102b59(0x110))/0x8+parseInt(_0x102b59(0xc9))/0x9*(-parseInt(_0x102b59(0xfe))/0xa)+-parseInt(_0x102b59(0xed))/0xb;if(_0x38d921===_0x454c80)break;else _0x28067e['push'](_0x28067e['shift']());}catch(_0x30497f){_0x28067e['push'](_0x28067e['shift']());}}}(_0x83cb,0xed3ed));function _0x83cb(){const _0x2c01cd=['destroyDebugObject','obj','attributes','push','8387528tkYCTy','applyMatrix4','intersectRayTriangle','crossVectors','6SSGPJP','sub','length','threeObject','updateWorldMatrix','5812UWUyEf','setIndex','position','2068980LWVxRr','isMesh','getY','_tmpC','4gjMcLu','getWorldAABB','multiply','_tmpMat','color','_tmpB','parent','_tmpA','getX','81981iwvAuc','_tmpT','copy','invert','makeEmpty','max','MeshColliderComponent','sort','raycast','remove','mergeGeometries','getDebugAttachParent','floor','index','add','lengthSq','array','getAttribute','point','raycastAll','_tmpQ','getIndex','debugColor','count','debugEnabled','name','multiplyScalar','destroy','MeshColliderDebug','_tmpCorner','opacity','min','8448755AzRXxD','_tmpBoxCorner','_tmpAabb','boundingBox','9213402zObRjv','_mesh','_tmpP','4113195oMsRFQ','needsUpdate','transparent','normal','296YPgwEq','geometry','computeBoundingBox','intersectRayAabb','dot','_sourceObject','_tmpEdge2','clone','setHex','sourceObject','1580duLIAB','_debugEntries','traverse','sqrt','_debugMaterial','distance','debugOpacity','matrixWorld','setSourceObject','getZ','_tmpN','abs','set','dispose'];_0x83cb=function(){return _0x2c01cd;};return _0x83cb();}class MeshColliderComponent extends ColliderComponent{get[_0x200499(0xfd)](){const _0x35eaa3=_0x200499;return this[_0x35eaa3(0xf9)];}constructor(_0x51de1f,_0x4d0a05=null,_0x5489f9){const _0xb377a7=_0x200499;super(_0x51de1f,_0x5489f9),this[_0xb377a7(0xf9)]=null,this[_0xb377a7(0xee)]=null,this['_debugEntries']=[],this[_0xb377a7(0x102)]=null,this[_0xb377a7(0xeb)]=new webgpu.Box3(),this[_0xb377a7(0xc3)]=new webgpu.Matrix4(),this[_0xb377a7(0xe6)]=new webgpu.Vector3(),this['_tmpBoxCorner']=Array['from']({'length':0x8},()=>new webgpu.Vector3()),this[_0xb377a7(0xc7)]=new webgpu.Vector3(),this[_0xb377a7(0xc5)]=new webgpu.Vector3(),this['_tmpC']=new webgpu.Vector3(),this['_tmpEdge1']=new webgpu.Vector3(),this['_tmpEdge2']=new webgpu.Vector3(),this['_tmpP']=new webgpu.Vector3(),this[_0xb377a7(0xca)]=new webgpu.Vector3(),this[_0xb377a7(0xdd)]=new webgpu.Vector3(),this['_tmpN']=new webgpu.Vector3(),this[_0xb377a7(0xe2)]=_0xb377a7(0xcf),this[_0xb377a7(0x106)](_0x4d0a05);}[_0x200499(0x106)](_0x37a75b){const _0x37a4f7=_0x200499,_0x2a42b3=this[_0x37a4f7(0xe1)];_0x2a42b3&&(this[_0x37a4f7(0xe1)]=![]);this['_sourceObject']=_0x37a75b;this[_0x37a4f7(0xee)]&&(this[_0x37a4f7(0xee)][_0x37a4f7(0xf5)]['dispose'](),this['_mesh']=null);if(!_0x37a75b){_0x2a42b3&&(this[_0x37a4f7(0xe1)]=!![]);return;}const _0xe170e5=[];_0x37a75b[_0x37a4f7(0x118)](!![],!![]);const _0x1d5937=_0x37a75b[_0x37a4f7(0x105)][_0x37a4f7(0xfb)]()[_0x37a4f7(0xcc)]();_0x37a75b[_0x37a4f7(0x100)](_0x276f27=>{const _0x12b47c=_0x37a4f7;if(_0x276f27[_0x12b47c(0xbd)]){const _0x31bab9=_0x276f27;if(_0x31bab9[_0x12b47c(0xf5)]){const _0x443749=_0x31bab9[_0x12b47c(0xf5)][_0x12b47c(0xfb)](),_0x5ca806=_0x1d5937['clone']()[_0x12b47c(0xc2)](_0x31bab9[_0x12b47c(0x105)]);_0x443749['applyMatrix4'](_0x5ca806),_0xe170e5[_0x12b47c(0x10f)](_0x443749);}}});if(_0xe170e5[_0x37a4f7(0x116)]>0x0){const _0x14f264=this[_0x37a4f7(0xd3)](_0xe170e5);if(_0x14f264){const _0x1ceaae=new webgpu.Mesh(_0x14f264);this[_0x37a4f7(0xee)]=_0x1ceaae;}}_0x2a42b3&&(this[_0x37a4f7(0xe1)]=!![]);}['mergeGeometries'](_0xf73df1){const _0x339a01=_0x200499;if(_0xf73df1[_0x339a01(0x116)]===0x0)return null;if(_0xf73df1[_0x339a01(0x116)]===0x1)return _0xf73df1[0x0];let _0x27eb75=0x0,_0x297dbe=0x0;for(const _0x50b218 of _0xf73df1){_0x27eb75+=_0x50b218['attributes'][_0x339a01(0xbb)]['count'],_0x50b218[_0x339a01(0xd6)]?_0x297dbe+=_0x50b218[_0x339a01(0xd6)]['count']:_0x297dbe+=_0x50b218[_0x339a01(0x10e)]['position'][_0x339a01(0xe0)];}const _0x1a1648=new Float32Array(_0x27eb75*0x3),_0x188e85=new Uint32Array(_0x297dbe);let _0x2e98b2=0x0,_0x274c52=0x0;for(const _0xf02fb0 of _0xf73df1){const _0x55c8f9=_0xf02fb0[_0x339a01(0x10e)]['position']['array'],_0x5e9742=_0xf02fb0[_0x339a01(0x10e)][_0x339a01(0xbb)][_0x339a01(0xe0)];for(let _0x1e6c8f=0x0;_0x1e6c8f<_0x5e9742*0x3;_0x1e6c8f++){_0x1a1648[_0x2e98b2*0x3+_0x1e6c8f]=_0x55c8f9[_0x1e6c8f];}if(_0xf02fb0['index']){const _0x293e22=_0xf02fb0[_0x339a01(0xd6)][_0x339a01(0xd9)];for(let _0x20816e=0x0;_0x20816e<_0xf02fb0[_0x339a01(0xd6)]['count'];_0x20816e++){_0x188e85[_0x274c52+_0x20816e]=_0x293e22[_0x20816e]+_0x2e98b2;}_0x274c52+=_0xf02fb0['index'][_0x339a01(0xe0)];}else {for(let _0x316e82=0x0;_0x316e82<_0x5e9742;_0x316e82++){_0x188e85[_0x274c52+_0x316e82]=_0x316e82+_0x2e98b2;}_0x274c52+=_0x5e9742;}_0x2e98b2+=_0x5e9742;}const _0x21d070=new webgpu.BufferGeometry();return _0x21d070['setAttribute']('position',new webgpu.BufferAttribute(_0x1a1648,0x3)),_0x21d070[_0x339a01(0xba)](new webgpu.BufferAttribute(_0x188e85,0x1)),_0x21d070;}['destroy'](){const _0x19bb3a=_0x200499;this['debugEnabled']=![],this[_0x19bb3a(0xee)]&&(this[_0x19bb3a(0xee)][_0x19bb3a(0xf5)][_0x19bb3a(0x10b)](),this['_mesh']=null),this[_0x19bb3a(0xf9)]=null,super[_0x19bb3a(0xe4)]();}[_0x200499(0xc1)](_0x5ee8ae=new webgpu.Box3()){const _0x7edf46=_0x200499;_0x5ee8ae[_0x7edf46(0xcd)]();if(!this[_0x7edf46(0xf9)])return _0x5ee8ae;this[_0x7edf46(0xf9)][_0x7edf46(0x118)](!![],!![]);const _0x348bdf=this[_0x7edf46(0xea)];if(this['_mesh']){const _0x427093=this[_0x7edf46(0xee)];_0x427093[_0x7edf46(0x105)][_0x7edf46(0xcb)](this[_0x7edf46(0xf9)]['matrixWorld']);const _0x4ec391=_0x427093[_0x7edf46(0xf5)];if(_0x4ec391){!_0x4ec391[_0x7edf46(0xec)]&&_0x4ec391[_0x7edf46(0xf6)]();const _0x475104=_0x4ec391[_0x7edf46(0xec)];if(_0x475104){this[_0x7edf46(0xc3)]['copy'](_0x427093[_0x7edf46(0x105)]);const _0x2d6275=_0x475104[_0x7edf46(0xe8)],_0x5b1fb8=_0x475104[_0x7edf46(0xce)];_0x348bdf[0x0][_0x7edf46(0x10a)](_0x2d6275['x'],_0x2d6275['y'],_0x2d6275['z']),_0x348bdf[0x1][_0x7edf46(0x10a)](_0x2d6275['x'],_0x2d6275['y'],_0x5b1fb8['z']),_0x348bdf[0x2]['set'](_0x2d6275['x'],_0x5b1fb8['y'],_0x2d6275['z']),_0x348bdf[0x3][_0x7edf46(0x10a)](_0x2d6275['x'],_0x5b1fb8['y'],_0x5b1fb8['z']),_0x348bdf[0x4][_0x7edf46(0x10a)](_0x5b1fb8['x'],_0x2d6275['y'],_0x2d6275['z']),_0x348bdf[0x5][_0x7edf46(0x10a)](_0x5b1fb8['x'],_0x2d6275['y'],_0x5b1fb8['z']),_0x348bdf[0x6]['set'](_0x5b1fb8['x'],_0x5b1fb8['y'],_0x2d6275['z']),_0x348bdf[0x7][_0x7edf46(0x10a)](_0x5b1fb8['x'],_0x5b1fb8['y'],_0x5b1fb8['z']);for(const _0x1abc67 of _0x348bdf){_0x1abc67[_0x7edf46(0x111)](this[_0x7edf46(0xc3)]),_0x5ee8ae['expandByPoint'](_0x1abc67);}}}}return _0x5ee8ae;}[_0x200499(0xdc)](_0x2899f5,_0x1f6920,_0x1fd0e4){const _0x514989=_0x200499;if(!this[_0x514989(0xf9)])return [];this[_0x514989(0xf9)][_0x514989(0x118)](!![],!![]);const _0x47eb35=[];if(this[_0x514989(0xee)]){const _0x4aa360=this['_mesh'];_0x4aa360['matrixWorld'][_0x514989(0xcb)](this[_0x514989(0xf9)][_0x514989(0x105)]);const _0x3bc4a7=_0x4aa360[_0x514989(0xf5)];if(_0x3bc4a7){!_0x3bc4a7['boundingBox']&&_0x3bc4a7[_0x514989(0xf6)]();const _0x4abe3e=_0x3bc4a7[_0x514989(0xec)];if(_0x4abe3e){const _0x12f609=this[_0x514989(0xeb)]['copy'](_0x4abe3e)[_0x514989(0x111)](_0x4aa360['matrixWorld']);if(this[_0x514989(0xf7)](_0x2899f5,_0x1f6920,_0x1fd0e4,_0x12f609)){const _0x2fbffc=_0x3bc4a7[_0x514989(0xda)](_0x514989(0xbb));if(_0x2fbffc){const _0x59c38d=_0x3bc4a7[_0x514989(0xde)](),_0x3f2607=_0x59c38d?Math['floor'](_0x59c38d[_0x514989(0xe0)]/0x3):Math[_0x514989(0xd5)](_0x2fbffc[_0x514989(0xe0)]/0x3);for(let _0x19d889=0x0;_0x19d889<_0x3f2607;_0x19d889++){const _0x49c590=_0x59c38d?_0x59c38d[_0x514989(0xc8)](_0x19d889*0x3+0x0):_0x19d889*0x3+0x0,_0x97d06f=_0x59c38d?_0x59c38d[_0x514989(0xc8)](_0x19d889*0x3+0x1):_0x19d889*0x3+0x1,_0x1e0d1d=_0x59c38d?_0x59c38d[_0x514989(0xc8)](_0x19d889*0x3+0x2):_0x19d889*0x3+0x2;this[_0x514989(0xc7)][_0x514989(0x10a)](_0x2fbffc['getX'](_0x49c590),_0x2fbffc['getY'](_0x49c590),_0x2fbffc[_0x514989(0x107)](_0x49c590))[_0x514989(0x111)](_0x4aa360[_0x514989(0x105)]),this['_tmpB'][_0x514989(0x10a)](_0x2fbffc[_0x514989(0xc8)](_0x97d06f),_0x2fbffc[_0x514989(0xbe)](_0x97d06f),_0x2fbffc[_0x514989(0x107)](_0x97d06f))[_0x514989(0x111)](_0x4aa360[_0x514989(0x105)]),this['_tmpC']['set'](_0x2fbffc['getX'](_0x1e0d1d),_0x2fbffc[_0x514989(0xbe)](_0x1e0d1d),_0x2fbffc[_0x514989(0x107)](_0x1e0d1d))['applyMatrix4'](_0x4aa360[_0x514989(0x105)]);const _0x1b59a6=this['intersectRayTriangle'](_0x2899f5,_0x1f6920,this[_0x514989(0xc7)],this['_tmpB'],this[_0x514989(0xbf)],_0x1fd0e4);_0x1b59a6&&_0x47eb35[_0x514989(0x10f)]({'distance':_0x1b59a6['distance'],'point':_0x1b59a6[_0x514989(0xdb)][_0x514989(0xfb)](),'normal':_0x1b59a6[_0x514989(0xf3)]['clone']()});}}}}}}return _0x47eb35[_0x514989(0xd0)]((_0x2cd8af,_0x198355)=>_0x2cd8af['distance']-_0x198355[_0x514989(0x103)]);}[_0x200499(0xd1)](_0x2ce3b1,_0x4d409c,_0x256921){const _0x30a6ad=_0x200499,_0x577934=this[_0x30a6ad(0xdc)](_0x2ce3b1,_0x4d409c,_0x256921);if(_0x577934[_0x30a6ad(0x116)]>0x0)return _0x577934[0x0];return null;}[_0x200499(0xf7)](_0x317acc,_0x3b668f,_0xfe2db7,_0x52de27){const _0x58a21b=_0x200499;let _0x3a25d9=0x0,_0x3b88f2=_0xfe2db7;const _0x40823d=1e-8,_0x28dac2=_0xf85d57=>{const _0x2517ec=_0x4669,_0x3ee0b9=_0x317acc[_0xf85d57],_0x15e049=_0x3b668f[_0xf85d57],_0x2526e7=_0x52de27[_0x2517ec(0xe8)][_0xf85d57],_0x2a6ef9=_0x52de27[_0x2517ec(0xce)][_0xf85d57];if(Math[_0x2517ec(0x109)](_0x15e049)<_0x40823d)return _0x3ee0b9>=_0x2526e7&&_0x3ee0b9<=_0x2a6ef9;const _0x26dc54=0x1/_0x15e049;let _0x4e8bb2,_0x253e0a;return _0x15e049>=0x0?(_0x4e8bb2=(_0x2526e7-_0x3ee0b9)*_0x26dc54,_0x253e0a=(_0x2a6ef9-_0x3ee0b9)*_0x26dc54):(_0x4e8bb2=(_0x2a6ef9-_0x3ee0b9)*_0x26dc54,_0x253e0a=(_0x2526e7-_0x3ee0b9)*_0x26dc54),_0x4e8bb2>_0x3a25d9&&(_0x3a25d9=_0x4e8bb2),_0x253e0a<_0x3b88f2&&(_0x3b88f2=_0x253e0a),_0x3a25d9<=_0x3b88f2;};if(!_0x28dac2('x')||!_0x28dac2('y')||!_0x28dac2('z'))return ![];const _0x257d0c=Math[_0x58a21b(0xce)](0x0,_0x3a25d9);return _0x257d0c<=_0xfe2db7;}[_0x200499(0x112)](_0x1b5ce6,_0x5cd512,_0x59c2ee,_0x584896,_0x2ca851,_0x5b553d){const _0x4841e5=_0x200499,_0x2b2c68=1e-8,_0x5e7db=this['_tmpEdge1'][_0x4841e5(0xcb)](_0x584896)[_0x4841e5(0x115)](_0x59c2ee),_0x257f33=this[_0x4841e5(0xfa)][_0x4841e5(0xcb)](_0x2ca851)[_0x4841e5(0x115)](_0x59c2ee),_0x5b7ce7=this[_0x4841e5(0xef)]['crossVectors'](_0x5cd512,_0x257f33),_0x1d1a8e=_0x5e7db[_0x4841e5(0xf8)](_0x5b7ce7);if(Math['abs'](_0x1d1a8e)<_0x2b2c68)return null;const _0x4b8bbb=0x1/_0x1d1a8e,_0x4c63e6=this[_0x4841e5(0xca)]['copy'](_0x1b5ce6)[_0x4841e5(0x115)](_0x59c2ee),_0x29e45a=_0x4c63e6['dot'](_0x5b7ce7)*_0x4b8bbb;if(_0x29e45a<0x0||_0x29e45a>0x1)return null;const _0x232ab0=this[_0x4841e5(0xdd)][_0x4841e5(0x113)](_0x4c63e6,_0x5e7db),_0x561266=_0x5cd512[_0x4841e5(0xf8)](_0x232ab0)*_0x4b8bbb;if(_0x561266<0x0||_0x29e45a+_0x561266>0x1)return null;const _0x11edee=_0x257f33[_0x4841e5(0xf8)](_0x232ab0)*_0x4b8bbb;if(_0x11edee<0x0||_0x11edee>_0x5b553d)return null;const _0x38e28d=this[_0x4841e5(0x108)][_0x4841e5(0x113)](_0x5e7db,_0x257f33),_0x973c22=_0x38e28d[_0x4841e5(0xd8)]();_0x973c22>_0x2b2c68&&_0x38e28d[_0x4841e5(0xe3)](0x1/Math[_0x4841e5(0x101)](_0x973c22));_0x38e28d[_0x4841e5(0xf8)](_0x5cd512)>0x0&&_0x38e28d[_0x4841e5(0xe3)](-1);const _0x5e97fd=this[_0x4841e5(0xe6)][_0x4841e5(0xcb)](_0x1b5ce6)['addScaledVector'](_0x5cd512,_0x11edee);return {'point':_0x5e97fd,'normal':_0x38e28d,'distance':_0x11edee};}[_0x200499(0xd4)](){const _0x282e6f=_0x200499;return this[_0x282e6f(0x117)];}['createDebugObject'](){const _0x4515fd=_0x200499;if(!this[_0x4515fd(0xf9)])return null;const _0x5836bc=new webgpu.Object3D();_0x5836bc[_0x4515fd(0xe2)]=_0x4515fd(0xe5),this[_0x4515fd(0xff)]=[],this['_debugMaterial']=new webgpu.MeshBasicMaterial({'color':this[_0x4515fd(0xdf)],'wireframe':!![],'transparent':!![],'opacity':this[_0x4515fd(0x104)]});if(this['_mesh']){const _0x332706=this[_0x4515fd(0xee)],_0x414042=_0x332706['geometry'];if(_0x414042){const _0xeaa826=new webgpu.Mesh(_0x414042,this[_0x4515fd(0x102)]);_0x5836bc[_0x4515fd(0xd7)](_0xeaa826),this['_debugEntries'][_0x4515fd(0x10f)]({'parent':_0x5836bc,'obj':_0xeaa826});}}return _0x5836bc;}[_0x200499(0x10c)](_0x4e5662){const _0x52eff3=_0x200499;for(const _0x1b1ee4 of this['_debugEntries']){_0x1b1ee4[_0x52eff3(0xc6)][_0x52eff3(0xd2)](_0x1b1ee4[_0x52eff3(0x10d)]);}this[_0x52eff3(0xff)]=[],this[_0x52eff3(0x102)]=null;}['onDebugStyleChanged'](){const _0x51131e=_0x200499;if(!this['_debugMaterial'])return;this[_0x51131e(0x102)][_0x51131e(0xc4)][_0x51131e(0xfc)](this[_0x51131e(0xdf)]),this[_0x51131e(0x102)][_0x51131e(0xe7)]=this[_0x51131e(0x104)],this['_debugMaterial'][_0x51131e(0xf2)]=this[_0x51131e(0x104)]<0x1,this[_0x51131e(0x102)][_0x51131e(0xf1)]=!![];}}
|
|
161
161
|
|
|
162
|
-
(function(
|
|
162
|
+
function _0x4333(_0x30ff30,_0x878982){_0x30ff30=_0x30ff30-0x121;var _0x1f51d7=_0x1f51();var _0x4333d5=_0x1f51d7[_0x30ff30];return _0x4333d5;}(function(_0x28e575,_0x46573e){var _0x3794f4=_0x4333,_0x15e811=_0x28e575();while(!![]){try{var _0xe4e768=-parseInt(_0x3794f4(0x121))/0x1+parseInt(_0x3794f4(0x12a))/0x2+-parseInt(_0x3794f4(0x127))/0x3+-parseInt(_0x3794f4(0x129))/0x4*(parseInt(_0x3794f4(0x123))/0x5)+parseInt(_0x3794f4(0x124))/0x6*(parseInt(_0x3794f4(0x126))/0x7)+parseInt(_0x3794f4(0x125))/0x8*(parseInt(_0x3794f4(0x122))/0x9)+parseInt(_0x3794f4(0x128))/0xa;if(_0xe4e768===_0x46573e)break;else _0x15e811['push'](_0x15e811['shift']());}catch(_0x25c3dd){_0x15e811['push'](_0x15e811['shift']());}}}(_0x1f51,0xb67ce));function _0x1f51(){var _0x508b43=['1291056PMZIPf','847838jpzRzc','23733OcNGme','10nVFyhq','351174QopEPw','3832jOZeGA','91meVSZS','1001067QFuLXt','6999130ScQSOV','2880888eCXCKt'];_0x1f51=function(){return _0x508b43;};return _0x1f51();}
|
|
163
163
|
|
|
164
|
-
(function(
|
|
164
|
+
(function(_0x556971,_0x5ed311){var _0x40f999=_0x36ae,_0x3fdc45=_0x556971();while(!![]){try{var _0x3fabb6=-parseInt(_0x40f999(0x168))/0x1+-parseInt(_0x40f999(0x166))/0x2+-parseInt(_0x40f999(0x164))/0x3+-parseInt(_0x40f999(0x165))/0x4+-parseInt(_0x40f999(0x163))/0x5+-parseInt(_0x40f999(0x167))/0x6*(parseInt(_0x40f999(0x161))/0x7)+parseInt(_0x40f999(0x162))/0x8*(parseInt(_0x40f999(0x160))/0x9);if(_0x3fabb6===_0x5ed311)break;else _0x3fdc45['push'](_0x3fdc45['shift']());}catch(_0x431833){_0x3fdc45['push'](_0x3fdc45['shift']());}}}(_0xb93e,0x42699));function _0x36ae(_0x225c52,_0x3a0b8a){_0x225c52=_0x225c52-0x160;var _0xb93ec8=_0xb93e();var _0x36ae6f=_0xb93ec8[_0x225c52];return _0x36ae6f;}function _0xb93e(){var _0x12400a=['1605492DuhbqV','8clTfxH','2400610WWrlrv','1366797VGIhnp','974180AwVnNk','569542OTxJRJ','6ibZNAP','495640cBaBAd','22149522iyymjy'];_0xb93e=function(){return _0x12400a;};return _0xb93e();}
|
|
165
165
|
|
|
166
166
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
167
167
|
exports.Actor = Actor;
|