lythreeframe 1.3.14 → 2.0.1
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 +100 -60
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +95 -64
- package/dist/bundle.esm.js.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/src/AssetManagement/AssetManager.d.ts +14 -10
- package/dist/src/Frame/Controller.d.ts +54 -12
- package/dist/src/Frame/Parameters/AppParameter.d.ts +0 -2
- package/dist/src/Frame/Parameters/ViewportParameters.d.ts +15 -2
- package/dist/src/Frame/Rendering/WebGLPostProcess.d.ts +41 -0
- package/dist/src/Frame/Viewport.d.ts +12 -14
- package/dist/src/Frame/World.d.ts +7 -1
- package/dist/src/Object/Actor.d.ts +1 -0
- package/dist/src/Object/Components/2D/2DComponent.d.ts +5 -1
- package/dist/src/Object/Components/2D/CSS3DWebPanelComponent.d.ts +26 -0
- package/dist/src/Object/Components/2D/SpiriteComponent.d.ts +15 -0
- package/dist/src/Object/Components/Mesh/Line/CurveComponent.d.ts +18 -0
- package/dist/src/Object/Components/Text/Text3DComponent.d.ts +56 -0
- package/dist/src/Object/PawnV2/FirstPerson.d.ts +52 -6
- package/dist/src/Object/PawnV2/Oribital.d.ts +38 -15
- package/dist/src/Object/PawnV2/Pawn.d.ts +12 -11
- package/dist/src/Object/PawnV2/Spectator.d.ts +19 -0
- package/dist/src/Object/PawnV2/TopDown.d.ts +56 -0
- package/dist/src/Object/PawnV2/TransformControl.d.ts +7 -3
- package/dist/src/Physics/BoxColliderComponent.d.ts +22 -0
- package/dist/src/Physics/CapsuleColliderComponent.d.ts +40 -0
- package/dist/src/Physics/ColliderComponent.d.ts +62 -0
- package/dist/src/Physics/CollisionTypes.d.ts +17 -0
- package/dist/src/Physics/MeshColliderComponent.d.ts +44 -0
- package/dist/src/Physics/PhysicsWorld.d.ts +36 -0
- package/dist/src/Physics/SphereColliderComponent.d.ts +14 -0
- package/dist/src/Physics/index.d.ts +9 -0
- package/dist/src/ThreeJsApp.d.ts +5 -5
- package/package.json +4 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -11,126 +11,157 @@ var OutlineNode_js = require('three/examples/jsm/tsl/display/OutlineNode.js');
|
|
|
11
11
|
var SMAANode_js = require('three/examples/jsm/tsl/display/SMAANode.js');
|
|
12
12
|
var TRAANode_js = require('three/examples/jsm/tsl/display/TRAANode.js');
|
|
13
13
|
var LensflareNode_js = require('three/examples/jsm/tsl/display/LensflareNode.js');
|
|
14
|
-
var OrbitControls_js = require('three/examples/jsm/controls/OrbitControls.js');
|
|
15
14
|
var three = require('three');
|
|
15
|
+
var EffectComposer_js = require('three/examples/jsm/postprocessing/EffectComposer.js');
|
|
16
|
+
var RenderPass_js = require('three/examples/jsm/postprocessing/RenderPass.js');
|
|
17
|
+
var UnrealBloomPass_js = require('three/examples/jsm/postprocessing/UnrealBloomPass.js');
|
|
18
|
+
var BokehPass_js = require('three/examples/jsm/postprocessing/BokehPass.js');
|
|
19
|
+
var GTAOPass_js = require('three/examples/jsm/postprocessing/GTAOPass.js');
|
|
20
|
+
var OutlinePass_js = require('three/examples/jsm/postprocessing/OutlinePass.js');
|
|
21
|
+
var SMAAPass_js = require('three/examples/jsm/postprocessing/SMAAPass.js');
|
|
22
|
+
var LUTPass_js = require('three/examples/jsm/postprocessing/LUTPass.js');
|
|
23
|
+
var OutputPass_js = require('three/examples/jsm/postprocessing/OutputPass.js');
|
|
24
|
+
var ShaderPass_js = require('three/examples/jsm/postprocessing/ShaderPass.js');
|
|
25
|
+
var FXAAShader_js = require('three/examples/jsm/shaders/FXAAShader.js');
|
|
16
26
|
var gsap = require('gsap');
|
|
17
|
-
var PointerLockControls_js = require('three/examples/jsm/controls/PointerLockControls.js');
|
|
18
27
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
19
|
-
var
|
|
28
|
+
var _0x1be597 = require('earcut');
|
|
20
29
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
21
30
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
22
31
|
|
|
23
|
-
|
|
32
|
+
const _0x544c71=_0x5466;(function(_0x3142d0,_0x424e79){const _0x3914a5=_0x5466,_0x26e839=_0x3142d0();while(!![]){try{const _0x123530=parseInt(_0x3914a5(0x1ec))/0x1+-parseInt(_0x3914a5(0x1e9))/0x2*(-parseInt(_0x3914a5(0x1f2))/0x3)+parseInt(_0x3914a5(0x1ef))/0x4+parseInt(_0x3914a5(0x1e3))/0x5*(-parseInt(_0x3914a5(0x1df))/0x6)+parseInt(_0x3914a5(0x1ea))/0x7+parseInt(_0x3914a5(0x1ed))/0x8+parseInt(_0x3914a5(0x1dc))/0x9*(-parseInt(_0x3914a5(0x1eb))/0xa);if(_0x123530===_0x424e79)break;else _0x26e839['push'](_0x26e839['shift']());}catch(_0x527cc9){_0x26e839['push'](_0x26e839['shift']());}}}(_0x430f,0xd4c4a));class BaseObject{get[_0x544c71(0x1f0)](){const _0x1f9e72=_0x544c71;return this[_0x1f9e72(0x1e1)];}set[_0x544c71(0x1f0)](_0x570ceb){const _0x4b9b1a=_0x544c71;this[_0x4b9b1a(0x1e1)]=_0x570ceb;}get[_0x544c71(0x1e2)](){const _0x2fe529=_0x544c71;return this[_0x2fe529(0x1ee)];}constructor(_0x501a3e=webgpu.MathUtils[_0x544c71(0x1e5)]()){const _0xe79285=_0x544c71;this['bCanTick']=![],this[_0xe79285(0x1e8)]=[],this[_0xe79285(0x1e1)]=![],this['_uuid']=_0x501a3e;}['tick'](_0x4e9d1f){const _0x40cb69=_0x544c71;if(!this[_0x40cb69(0x1e1)])return;this[_0x40cb69(0x1e8)][_0x40cb69(0x1de)](_0x499751=>{_0x499751(_0x4e9d1f);});}[_0x544c71(0x1e4)](_0x2068ee){const _0x251149=_0x544c71;this['tickEvents'][_0x251149(0x1e0)](_0x2068ee);}[_0x544c71(0x1dd)](_0x1fab57){const _0x1b1552=_0x544c71;let _0x50bf15=this[_0x1b1552(0x1e8)]['indexOf'](_0x1fab57);_0x50bf15!=-1&&this[_0x1b1552(0x1e8)][_0x1b1552(0x1e6)](_0x50bf15,0x1);}[_0x544c71(0x1f1)](){const _0x21cb86=_0x544c71;this[_0x21cb86(0x1e8)]=[];}[_0x544c71(0x1e7)](){}}function _0x5466(_0x2d1664,_0x59a493){_0x2d1664=_0x2d1664-0x1dc;const _0x430ff2=_0x430f();let _0x546618=_0x430ff2[_0x2d1664];return _0x546618;}function _0x430f(){const _0x21fa81=['3021KqzvLn','153HIcUie','removeTickEvent','forEach','3108954aSOoMy','push','bCanTick','uuid','5uypOAL','addTickEvent','generateUUID','splice','destroy','tickEvents','1780HQFVCG','4203787MLKTxm','1890260beCiua','1074408vIMaQH','10668336OKSIQM','_uuid','2793512TTNUwQ','isTickEnabled','clearTickEvents'];_0x430f=function(){return _0x21fa81;};return _0x430f();}
|
|
24
33
|
|
|
25
|
-
const
|
|
34
|
+
const _0x11853c=_0x1261;function _0x1261(_0x123161,_0x3405af){_0x123161=_0x123161-0x84;const _0x352995=_0x3529();let _0x12612a=_0x352995[_0x123161];return _0x12612a;}(function(_0x1a142a,_0x85e383){const _0x5296f6=_0x1261,_0x5832c4=_0x1a142a();while(!![]){try{const _0x2d7bed=parseInt(_0x5296f6(0x8f))/0x1*(-parseInt(_0x5296f6(0x98))/0x2)+-parseInt(_0x5296f6(0x92))/0x3+-parseInt(_0x5296f6(0x96))/0x4*(parseInt(_0x5296f6(0x90))/0x5)+-parseInt(_0x5296f6(0x8e))/0x6+parseInt(_0x5296f6(0x84))/0x7+parseInt(_0x5296f6(0x99))/0x8+parseInt(_0x5296f6(0x85))/0x9*(parseInt(_0x5296f6(0x95))/0xa);if(_0x2d7bed===_0x85e383)break;else _0x5832c4['push'](_0x5832c4['shift']());}catch(_0x285f94){_0x5832c4['push'](_0x5832c4['shift']());}}}(_0x3529,0x4f52e));class Component extends BaseObject{set[_0x11853c(0x8d)](_0xcda11f){this['_parentActor']=_0xcda11f;}get['parentActor'](){return this['_parentActor'];}get[_0x11853c(0x94)](){const _0x178b7a=_0x11853c;return this[_0x178b7a(0x88)];}set['threeObject'](_0x45b1c5){const _0x5ead6d=_0x11853c;this[_0x5ead6d(0x88)]=_0x45b1c5,this[_0x5ead6d(0x88)]&&(this[_0x5ead6d(0x88)]['userData'][_0x5ead6d(0x8b)]=this);}get[_0x11853c(0x93)](){const _0x5104d5=_0x11853c;return this[_0x5104d5(0x87)];}set['name'](_0x4b69eb){const _0x316939=_0x11853c;this['_name']=_0x4b69eb,this[_0x316939(0x88)]&&(this['obj']['name']=_0x4b69eb);}constructor(_0x3e6cf4){const _0x299bec=_0x11853c;super(_0x3e6cf4?_0x3e6cf4:webgpu.MathUtils[_0x299bec(0x97)]()),this['obj']=null,this[_0x299bec(0x91)]=null,this[_0x299bec(0x87)]=_0x299bec(0x86),this[_0x299bec(0x91)]=null;let _0x505494=this['createDefaultObject']();_0x505494?(this['obj']=_0x505494,this[_0x299bec(0x87)]=this['obj']['type']+_0x299bec(0x86)):console['warn']('Component\x20createDefaultObject\x20return\x20null');}[_0x11853c(0x8a)](_0x1e8c0e){return null;}[_0x11853c(0x8c)](){const _0x284658=_0x11853c;if(!this[_0x284658(0x88)])return;}[_0x11853c(0x89)](){this['destroyObject']();}}function _0x3529(){const _0x1519b7=['createDefaultObject','LYObject','destroyObject','parentActor','2004762irpJrS','5vclHcg','48265tYOJef','_parentActor','1400739ijtsbm','name','threeObject','10aQkAGW','4HjAvWt','generateUUID','89146eRTLCN','2052888LrJkew','3776052NFpmEd','5061789nBMssy','Component','_name','obj','destroy'];_0x3529=function(){return _0x1519b7;};return _0x3529();}
|
|
26
35
|
|
|
27
|
-
(function(
|
|
36
|
+
function _0x4542(){var _0x49a32a=['2315298KThgpZ','7470695nmcVxm','335080TKuqdR','3933iZPplA','58CQkGOG','4837020LMmsDn','4987716NsvjeO','42923yALvmy','KeepRelative','203gXXBAa','15010RJoOLV','KeepWorld'];_0x4542=function(){return _0x49a32a;};return _0x4542();}(function(_0x8fefa3,_0x5030fd){var _0x147ec9=_0x3cae,_0x5cf31a=_0x8fefa3();while(!![]){try{var _0x3087f7=parseInt(_0x147ec9(0x72))/0x1*(-parseInt(_0x147ec9(0x6f))/0x2)+parseInt(_0x147ec9(0x70))/0x3+parseInt(_0x147ec9(0x71))/0x4+parseInt(_0x147ec9(0x6c))/0x5+-parseInt(_0x147ec9(0x6b))/0x6+-parseInt(_0x147ec9(0x68))/0x7*(parseInt(_0x147ec9(0x6d))/0x8)+-parseInt(_0x147ec9(0x6e))/0x9*(parseInt(_0x147ec9(0x69))/0xa);if(_0x3087f7===_0x5030fd)break;else _0x5cf31a['push'](_0x5cf31a['shift']());}catch(_0x53f027){_0x5cf31a['push'](_0x5cf31a['shift']());}}}(_0x4542,0xd00bc));exports.AttachmentRules = void 0;function _0x3cae(_0x3fbd58,_0x6241b){_0x3fbd58=_0x3fbd58-0x68;var _0x454287=_0x4542();var _0x3cae02=_0x454287[_0x3fbd58];return _0x3cae02;}(function(_0x37222f){var _0x590306=_0x3cae;_0x37222f[_0x37222f[_0x590306(0x6a)]=0x1]='KeepWorld',_0x37222f[_0x37222f[_0x590306(0x73)]=0x2]=_0x590306(0x73);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
28
37
|
|
|
29
|
-
|
|
38
|
+
function _0x58b6(){const _0x982263=['11909469bjPlVX','15486eLttYy','72xVLgSo','indexOf','227682uVJvDQ','functions','207992jIJUog','648Auvkci','clear','942yxbmme','24wdILwY','35460408HblbgX','push','9gJoBET','add','34950tEtUgd','splice','18290HVTaVg','forEach'];_0x58b6=function(){return _0x982263;};return _0x58b6();}function _0x261d(_0x26a19b,_0x17b732){_0x26a19b=_0x26a19b-0xf2;const _0x58b685=_0x58b6();let _0x261da2=_0x58b685[_0x26a19b];return _0x261da2;}const _0x5f164e=_0x261d;(function(_0x11a89a,_0x254619){const _0x1e571c=_0x261d,_0x1a2833=_0x11a89a();while(!![]){try{const _0x291e52=-parseInt(_0x1e571c(0xf6))/0x1*(parseInt(_0x1e571c(0x100))/0x2)+parseInt(_0x1e571c(0xf9))/0x3*(-parseInt(_0x1e571c(0xf2))/0x4)+-parseInt(_0x1e571c(0xfb))/0x5*(parseInt(_0x1e571c(0xf5))/0x6)+parseInt(_0x1e571c(0x103))/0x7*(parseInt(_0x1e571c(0x101))/0x8)+parseInt(_0x1e571c(0xf3))/0x9*(-parseInt(_0x1e571c(0xfd))/0xa)+-parseInt(_0x1e571c(0xff))/0xb+parseInt(_0x1e571c(0xf7))/0xc;if(_0x291e52===_0x254619)break;else _0x1a2833['push'](_0x1a2833['shift']());}catch(_0x4ea2d){_0x1a2833['push'](_0x1a2833['shift']());}}}(_0x58b6,0x910e1));class Delegate{constructor(){this['functions']=[];}['broadcast'](..._0x16717d){const _0x31d42b=_0x261d;this['functions'][_0x31d42b(0xfe)](_0x247089=>_0x247089(..._0x16717d));}[_0x5f164e(0xfa)](_0x5ea29f){const _0x5810ad=_0x5f164e;this[_0x5810ad(0x104)][_0x5810ad(0xf8)](_0x5ea29f);}['remove'](_0x48e4bc){const _0x18595b=_0x5f164e,_0x5bbdaf=this[_0x18595b(0x104)][_0x18595b(0x102)](_0x48e4bc);_0x5bbdaf>=0x0&&this['functions'][_0x18595b(0xfc)](_0x5bbdaf,0x1);}[_0x5f164e(0xf4)](){const _0x4d99d3=_0x5f164e;this[_0x4d99d3(0x104)]=[];}}
|
|
30
39
|
|
|
31
|
-
const _0x4ac184=_0x4502;function _0x4502(_0x270de3,_0xb523e){_0x270de3=_0x270de3-0x1b6;const _0x451f09=_0x451f();let _0x450289=_0x451f09[_0x270de3];return _0x450289;}function _0x451f(){const _0x322278=['localToWorld','updateMatrix','4062DUTNyR','_onHoverBeginDelegate','parentComponent','519yYUdXR','error','getCenter','onHoverEndDelegate','threeObject','_onDoubleClickDelegate','broadcast','KeepRelative','forEach','SceneComponent','destroyChildren','uuid','getWorldPosition','194148JNKZgG','destroy','getComponentById','detachFromParentActor','viewport','_parentActor','markRenderStateDirty','getMatrix','LYObject','remove','obj','number','invert','isHoverEnabled','rotation','length','name','parent','isClickEnabled','applyQuaternion','onHorveringEnd','onDoubleClicked','matrix','getPosition','bCanHover','userData','addChildComponent','scale','bCanClick','order','add','copy','setWorldMatrix','isEuler','setRotation','onClickDelegate','world','min','KeepWorld','setQuaternion\x20failed,param\x20is\x20invalid','target\x20threeObject\x20is\x20invalid','isVisible','onHorveringBegin','childrenComponents','getWorldDirection','clone','setPosition','1146708hSKdOX','quaternion','getScale','_onClickDelegate','isQuaternion','matrixAutoUpdate','createDefaultObject','visible','newComponent\x20threeObject\x20is\x20invalid','position','getBoundsBottomCenterPositionWS','getBoundsTopCenterPositionWS','getWorldQuaternion','167068luFcRP','decompose','push','attachComponent','setMatrix','threeObject\x20is\x20invalid','getBoundsCenterPositionWS','setScale','1967710qvECqD','children','matrixWorld','removeChildComponent','detachFromParentComponent','getRotation','tick','detachComponent','getBounds','getWorldMatrix','getWorldUpDirection','max','isVector3','319494iHiZBu','multiplyMatrices','setLayers','_onHoverEndDelegate','targetComponent\x20threeObject\x20is\x20invalid','setFromQuaternion','parentActor','worldToLocal','onAddedToWorld','getWorldRightDirection','setVisible','setQuaternion','app','32amNHys','586019fRuknC','updateMatrixWorld','getWorldScale','destroyObject'];_0x451f=function(){return _0x322278;};return _0x451f();}(function(_0x5e5014,_0x5f37ae){const _0x1d0a5a=_0x4502,_0x27d257=_0x5e5014();while(!![]){try{const _0x17c3d7=-parseInt(_0x1d0a5a(0x1e4))/0x1+-parseInt(_0x1d0a5a(0x1f8))/0x2*(-parseInt(_0x1d0a5a(0x1fb))/0x3)+-parseInt(_0x1d0a5a(0x1cf))/0x4+parseInt(_0x1d0a5a(0x1d7))/0x5+parseInt(_0x1d0a5a(0x1c2))/0x6+parseInt(_0x1d0a5a(0x1f2))/0x7*(-parseInt(_0x1d0a5a(0x1f1))/0x8)+-parseInt(_0x1d0a5a(0x208))/0x9;if(_0x17c3d7===_0x5f37ae)break;else _0x27d257['push'](_0x27d257['shift']());}catch(_0x5ca0a6){_0x27d257['push'](_0x27d257['shift']());}}}(_0x451f,0x354d2));class SceneComponent extends Component{set['parentActor'](_0x322804){const _0x18f613=_0x4502;this[_0x18f613(0x1be)]['forEach'](_0x5a70c5=>{const _0x3c20fa=_0x18f613;_0x5a70c5[_0x3c20fa(0x1ea)]=_0x322804;}),this[_0x18f613(0x20d)]=_0x322804;}get[_0x4ac184(0x1ea)](){const _0x1c4ea0=_0x4ac184;return this[_0x1c4ea0(0x20d)];}get['onHoverBeginDelegate'](){const _0x511731=_0x4ac184;return this[_0x511731(0x1f9)];}get[_0x4ac184(0x1fe)](){const _0x37233f=_0x4ac184;return this[_0x37233f(0x1e7)];}get[_0x4ac184(0x1b6)](){return this['_onClickDelegate'];}get['onDoubleClickDelegate'](){const _0x4aaf50=_0x4ac184;return this[_0x4aaf50(0x200)];}get[_0x4ac184(0x1b7)](){const _0x48af83=_0x4ac184;return this[_0x48af83(0x1f0)][_0x48af83(0x1b7)];}constructor(_0x655ca9,_0x55dfb1){const _0x425805=_0x4ac184;super(_0x55dfb1),this[_0x425805(0x220)]=![],this[_0x425805(0x224)]=![],this[_0x425805(0x1f9)]=new Delegate(),this[_0x425805(0x1e7)]=new Delegate(),this[_0x425805(0x1c5)]=new Delegate(),this[_0x425805(0x200)]=new Delegate(),this[_0x425805(0x1f0)]=_0x655ca9,this[_0x425805(0x218)]=_0x425805(0x204);}[_0x4ac184(0x1c8)](){return new webgpu.Object3D();}[_0x4ac184(0x1dd)](_0x26cae5){const _0x141ee5=_0x4ac184;super[_0x141ee5(0x1dd)](_0x26cae5),this[_0x141ee5(0x1be)][_0x141ee5(0x203)](_0x95aeb0=>{const _0x3b76a7=_0x141ee5;_0x95aeb0[_0x3b76a7(0x1dd)](_0x26cae5);});}get[_0x4ac184(0x1bc)](){const _0x2c078a=_0x4ac184;if(!this[_0x2c078a(0x212)])return ![];return this[_0x2c078a(0x212)]['visible'];}[_0x4ac184(0x1ee)](_0x1224e9){const _0x52b395=_0x4ac184;if(!this['obj'])throw Error(_0x52b395(0x1d4));this[_0x52b395(0x212)][_0x52b395(0x1c9)]=_0x1224e9,this['world']&&this[_0x52b395(0x1b7)][_0x52b395(0x20c)][_0x52b395(0x20e)]();}[_0x4ac184(0x1e6)](_0x23ee08){const _0x5c884b=_0x4ac184;if(!this[_0x5c884b(0x212)])throw Error(_0x5c884b(0x1d4));this[_0x5c884b(0x212)]['layers']['set'](_0x23ee08);let _0x1968c7=this[_0x5c884b(0x1be)];_0x1968c7[_0x5c884b(0x203)](_0x2199f8=>{_0x2199f8['setLayers'](_0x23ee08);});}[_0x4ac184(0x20a)](_0x47b2cf,_0x31d0f8=!![]){const _0x1f339f=_0x4ac184;if(this[_0x1f339f(0x206)]===_0x47b2cf)return this;if(_0x31d0f8){let _0xe84938=this[_0x1f339f(0x1be)];for(let _0x3a1412=0x0;_0x3a1412<_0xe84938['length'];++_0x3a1412){let _0x2d8294=_0xe84938[_0x3a1412][_0x1f339f(0x20a)](_0x47b2cf,_0x31d0f8);if(_0x2d8294)return _0x2d8294;}}else {let _0x288a96=this[_0x1f339f(0x1be)];for(let _0x5b8b26=0x0;_0x5b8b26<_0x288a96[_0x1f339f(0x217)];++_0x5b8b26){let _0x52c77f=_0x288a96[_0x5b8b26];if(_0x52c77f[_0x1f339f(0x206)]===_0x47b2cf)return _0x52c77f;}}return null;}[_0x4ac184(0x1d5)](){const _0x2d46a5=_0x4ac184;let _0x27fd74=new webgpu.Vector3();return this['getBounds']()[_0x2d46a5(0x1fd)](_0x27fd74),this[_0x2d46a5(0x207)]();}[_0x4ac184(0x1cd)](){const _0x38486b=_0x4ac184;let _0x2ab972=new webgpu.Vector3(),_0x1bcb0c=this[_0x38486b(0x1df)]();return _0x1bcb0c[_0x38486b(0x1fd)](_0x2ab972),_0x2ab972['y']=_0x1bcb0c['max']['y'],_0x2ab972;}[_0x4ac184(0x1cc)](){const _0x465230=_0x4ac184;let _0x396746=new webgpu.Vector3(),_0x52c63f=this[_0x465230(0x1df)]();return _0x52c63f[_0x465230(0x1fd)](_0x396746),_0x396746['y']=_0x52c63f[_0x465230(0x1b8)]['y'],_0x396746;}[_0x4ac184(0x1df)](){const _0x802b78=_0x4ac184;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x372e1e=new webgpu.Box3();return _0x372e1e['setFromObject'](this[_0x802b78(0x212)],![]),_0x372e1e['isEmpty']()&&(_0x372e1e[_0x802b78(0x1b8)]=_0x372e1e[_0x802b78(0x1e2)]=this['getWorldPosition']()),_0x372e1e;}get[_0x4ac184(0x1fa)](){const _0x20981a=_0x4ac184;var _0x5af075,_0x4486da;if(!this[_0x20981a(0x212)])throw Error(_0x20981a(0x1d4));let _0x3151df=(_0x4486da=(_0x5af075=this['obj'])===null||_0x5af075===void 0?void 0:_0x5af075[_0x20981a(0x219)])===null||_0x4486da===void 0?void 0:_0x4486da[_0x20981a(0x221)][_0x20981a(0x210)];if(!_0x3151df)return null;if(!(_0x3151df instanceof SceneComponent))return null;if(_0x3151df[_0x20981a(0x1ea)]!==this[_0x20981a(0x1ea)])return null;return _0x3151df;}get[_0x4ac184(0x1be)](){const _0x48ee3e=_0x4ac184;if(!this['obj'])throw Error(_0x48ee3e(0x1d4));let _0x133c7c=[];for(let _0x502219=0x0;_0x502219<this[_0x48ee3e(0x212)][_0x48ee3e(0x1d8)][_0x48ee3e(0x217)];++_0x502219){if(!this['obj'][_0x48ee3e(0x1d8)][_0x502219][_0x48ee3e(0x221)]['LYObject'])continue;this[_0x48ee3e(0x212)][_0x48ee3e(0x1d8)][_0x502219][_0x48ee3e(0x221)][_0x48ee3e(0x210)][_0x48ee3e(0x1ea)]===this[_0x48ee3e(0x1ea)]&&_0x133c7c[_0x48ee3e(0x1d1)](this[_0x48ee3e(0x212)][_0x48ee3e(0x1d8)][_0x502219]['userData'][_0x48ee3e(0x210)]);}return _0x133c7c;}['onAddedToWorld'](_0x577431){const _0x414147=_0x4ac184;let _0x506ac0=this[_0x414147(0x1be)];for(let _0x43c684=0x0;_0x43c684<_0x506ac0[_0x414147(0x217)];++_0x43c684){_0x506ac0[_0x43c684][_0x414147(0x1ec)](_0x577431);}}[_0x4ac184(0x209)](){const _0x507773=_0x4ac184;this[_0x507773(0x215)]=![],this['isClickEnabled']=![],this[_0x507773(0x20b)](),this['detachFromParentComponent'](),this[_0x507773(0x205)](),this['destroyObject'](),this[_0x507773(0x1b7)]&&this[_0x507773(0x1b7)][_0x507773(0x20c)]['markRenderStateDirty']();}[_0x4ac184(0x1f5)](){const _0x3c6275=_0x4ac184;if(!this[_0x3c6275(0x212)])return;this[_0x3c6275(0x212)][_0x3c6275(0x219)]&&this[_0x3c6275(0x212)][_0x3c6275(0x219)][_0x3c6275(0x211)](this[_0x3c6275(0x212)]),super[_0x3c6275(0x1f5)]();}[_0x4ac184(0x21f)](){const _0x3d322c=_0x4ac184;if(!this[_0x3d322c(0x212)])throw Error(_0x3d322c(0x1d4));if(this[_0x3d322c(0x212)][_0x3d322c(0x1c7)])return this[_0x3d322c(0x212)][_0x3d322c(0x1cb)][_0x3d322c(0x1c0)]();else {const _0x4edd1a=new webgpu.Vector3(),_0x258184=new webgpu.Quaternion(),_0x6b6876=new webgpu.Vector3();return this['obj'][_0x3d322c(0x21e)][_0x3d322c(0x1d0)](_0x4edd1a,_0x258184,_0x6b6876),_0x4edd1a;}}[_0x4ac184(0x1c1)](..._0x1ded2e){const _0x2af5b7=_0x4ac184;var _0x2297df;if(!this[_0x2af5b7(0x212)])throw Error(_0x2af5b7(0x1d4));let _0x11e6d1=null;if(_0x1ded2e[_0x2af5b7(0x217)]===0x1&&((_0x2297df=_0x1ded2e[0x0])===null||_0x2297df===void 0?void 0:_0x2297df['isVector3'])){const _0x5b5da5=_0x1ded2e[0x0];_0x11e6d1=new webgpu.Vector3(_0x5b5da5['x'],_0x5b5da5['y'],_0x5b5da5['z']);}else _0x1ded2e['length']===0x3&&typeof _0x1ded2e[0x0]===_0x2af5b7(0x213)&&typeof _0x1ded2e[0x1]===_0x2af5b7(0x213)&&typeof _0x1ded2e[0x2]===_0x2af5b7(0x213)&&(_0x11e6d1=new webgpu.Vector3(_0x1ded2e[0x0],_0x1ded2e[0x1],_0x1ded2e[0x2]));if(!_0x11e6d1)return;this[_0x2af5b7(0x212)][_0x2af5b7(0x1cb)][_0x2af5b7(0x227)](_0x11e6d1),!this[_0x2af5b7(0x212)][_0x2af5b7(0x1c7)]&&this[_0x2af5b7(0x212)]['matrix']['setPosition'](_0x11e6d1['x'],_0x11e6d1['y'],_0x11e6d1['z']),this[_0x2af5b7(0x212)][_0x2af5b7(0x1f7)](),this['obj'][_0x2af5b7(0x1f3)](!![]),this['world']&&this[_0x2af5b7(0x1b7)][_0x2af5b7(0x20c)]['markRenderStateDirty']();}[_0x4ac184(0x1dc)](){const _0x2a9a4f=_0x4ac184;if(!this[_0x2a9a4f(0x212)])throw Error('threeObject\x20is\x20invalid');if(this[_0x2a9a4f(0x212)][_0x2a9a4f(0x1c7)])return this['obj'][_0x2a9a4f(0x216)]['clone']();else {const _0x3e460d=new webgpu.Vector3(),_0x1827fa=new webgpu.Quaternion(),_0x595bf9=new webgpu.Vector3();return this[_0x2a9a4f(0x212)][_0x2a9a4f(0x21e)][_0x2a9a4f(0x1d0)](_0x3e460d,_0x1827fa,_0x595bf9),new webgpu.Euler()[_0x2a9a4f(0x1e9)](_0x1827fa);}}[_0x4ac184(0x22a)](..._0x13e813){const _0x340373=_0x4ac184;var _0x462174;if(!this[_0x340373(0x212)])throw Error('threeObject\x20is\x20invalid');let _0x512042=null;if((_0x462174=_0x13e813[0x0])===null||_0x462174===void 0?void 0:_0x462174[_0x340373(0x229)]){const _0x15a7af=_0x13e813[0x0];_0x512042=new webgpu.Euler(_0x15a7af['x'],_0x15a7af['y'],_0x15a7af['z'],_0x15a7af[_0x340373(0x225)]);}else typeof _0x13e813[0x0]===_0x340373(0x213)&&typeof _0x13e813[0x1]===_0x340373(0x213)&&typeof _0x13e813[0x2]===_0x340373(0x213)&&(_0x512042=new webgpu.Euler(_0x13e813[0x0],_0x13e813[0x1],_0x13e813[0x2]));if(!_0x512042)return;this[_0x340373(0x212)][_0x340373(0x216)][_0x340373(0x227)](_0x512042),this[_0x340373(0x212)][_0x340373(0x1f7)](),this[_0x340373(0x212)][_0x340373(0x1f3)](!![]),this[_0x340373(0x1b7)]&&this[_0x340373(0x1b7)][_0x340373(0x20c)][_0x340373(0x20e)]();}['getQuaternion'](){const _0x45b3a2=_0x4ac184;if(!this[_0x45b3a2(0x212)])throw Error(_0x45b3a2(0x1d4));if(this[_0x45b3a2(0x212)]['matrixAutoUpdate'])return this['obj'][_0x45b3a2(0x1c3)][_0x45b3a2(0x1c0)]();else {const _0x564d66=new webgpu.Vector3(),_0x5bc55b=new webgpu.Quaternion(),_0x5c0db7=new webgpu.Vector3();return this['obj']['matrix'][_0x45b3a2(0x1d0)](_0x564d66,_0x5bc55b,_0x5c0db7),_0x5bc55b;}}[_0x4ac184(0x1ef)](..._0x7d3a86){const _0x4cfe2f=_0x4ac184;var _0x6ab667;if(!this[_0x4cfe2f(0x212)])throw Error(_0x4cfe2f(0x1d4));let _0x1bb362=null;if((_0x6ab667=_0x7d3a86[0x0])===null||_0x6ab667===void 0?void 0:_0x6ab667[_0x4cfe2f(0x1c6)]){const _0x3c2dc9=_0x7d3a86[0x0];_0x1bb362=new webgpu.Quaternion(_0x3c2dc9['x'],_0x3c2dc9['y'],_0x3c2dc9['z'],_0x3c2dc9['w']);}else typeof _0x7d3a86[0x0]===_0x4cfe2f(0x213)&&typeof _0x7d3a86[0x1]===_0x4cfe2f(0x213)&&typeof _0x7d3a86[0x2]===_0x4cfe2f(0x213)&&typeof _0x7d3a86[0x3]===_0x4cfe2f(0x213)&&(_0x1bb362=new webgpu.Quaternion(_0x7d3a86[0x0],_0x7d3a86[0x1],_0x7d3a86[0x2],_0x7d3a86[0x3]));if(!_0x1bb362){console[_0x4cfe2f(0x1fc)](_0x4cfe2f(0x1ba),_0x7d3a86);return;}this[_0x4cfe2f(0x212)][_0x4cfe2f(0x1c3)][_0x4cfe2f(0x227)](_0x1bb362);if(!this[_0x4cfe2f(0x212)][_0x4cfe2f(0x1c7)]){const _0x58fdc0=new webgpu.Vector3(),_0xebbeb9=new webgpu.Quaternion(),_0x31da98=new webgpu.Vector3();this[_0x4cfe2f(0x212)]['matrix'][_0x4cfe2f(0x1d0)](_0x58fdc0,_0xebbeb9,_0x31da98),this['obj'][_0x4cfe2f(0x21e)]['compose'](_0x58fdc0,_0x1bb362,_0x31da98);}this['world']&&this['world']['viewport'][_0x4cfe2f(0x20e)](),this[_0x4cfe2f(0x212)][_0x4cfe2f(0x1f7)](),this['obj'][_0x4cfe2f(0x1f3)](!![]);}[_0x4ac184(0x1c4)](){const _0xc91810=_0x4ac184;if(!this[_0xc91810(0x212)])throw Error(_0xc91810(0x1d4));if(this[_0xc91810(0x212)][_0xc91810(0x1c7)])return this['obj'][_0xc91810(0x223)][_0xc91810(0x1c0)]();else {const _0xb6411e=new webgpu.Vector3(),_0x5a82fc=new webgpu.Quaternion(),_0x44cad1=new webgpu.Vector3();return this[_0xc91810(0x212)][_0xc91810(0x21e)]['decompose'](_0xb6411e,_0x5a82fc,_0x44cad1),_0x44cad1;}}[_0x4ac184(0x1d6)](..._0x3b832b){const _0x2a0177=_0x4ac184;var _0x2014a3;if(!this[_0x2a0177(0x212)])throw Error(_0x2a0177(0x1d4));let _0x19a537=null;if((_0x2014a3=_0x3b832b[0x0])===null||_0x2014a3===void 0?void 0:_0x2014a3[_0x2a0177(0x1e3)]){const _0x5ad695=_0x3b832b[0x0];_0x19a537=new webgpu.Vector3(_0x5ad695['x'],_0x5ad695['y'],_0x5ad695['z']);}else typeof _0x3b832b[0x0]===_0x2a0177(0x213)&&typeof _0x3b832b[0x1]===_0x2a0177(0x213)&&typeof _0x3b832b[0x2]===_0x2a0177(0x213)&&(_0x19a537=new webgpu.Vector3(_0x3b832b[0x0],_0x3b832b[0x1],_0x3b832b[0x2]));if(!_0x19a537)return;this[_0x2a0177(0x212)]['scale'][_0x2a0177(0x227)](_0x19a537),this[_0x2a0177(0x212)][_0x2a0177(0x1f7)](),this[_0x2a0177(0x212)][_0x2a0177(0x1f3)](!![]),this[_0x2a0177(0x1b7)]&&this['world'][_0x2a0177(0x20c)][_0x2a0177(0x20e)]();}[_0x4ac184(0x20f)](){const _0x47a56=_0x4ac184;if(!this[_0x47a56(0x212)])throw Error(_0x47a56(0x1d4));return this['obj'][_0x47a56(0x21e)];}['setMatrix'](_0x4916db){const _0x76f89e=_0x4ac184;var _0xdaf470;if(!this[_0x76f89e(0x212)])throw Error(_0x76f89e(0x1d4));_0x4916db[_0x76f89e(0x1d0)](this[_0x76f89e(0x212)][_0x76f89e(0x1cb)],this[_0x76f89e(0x212)][_0x76f89e(0x1c3)],this[_0x76f89e(0x212)][_0x76f89e(0x223)]),this['obj'][_0x76f89e(0x1f7)](),this[_0x76f89e(0x212)]['updateMatrixWorld'](!![]),(_0xdaf470=this['world'])===null||_0xdaf470===void 0?void 0:_0xdaf470[_0x76f89e(0x20c)][_0x76f89e(0x20e)]();}['getWorldPosition'](){const _0x54cae3=_0x4ac184;if(!this['obj'])throw Error(_0x54cae3(0x1d4));let _0x5ba3f8=new webgpu.Vector3();return this[_0x54cae3(0x212)][_0x54cae3(0x207)](_0x5ba3f8),_0x5ba3f8;}['getWorldRotation'](){const _0x2c5626=_0x4ac184;if(!this[_0x2c5626(0x212)])throw Error(_0x2c5626(0x1d4));let _0x2099bb=new webgpu.Quaternion();return this['obj'][_0x2c5626(0x1ce)](_0x2099bb),new webgpu.Euler()[_0x2c5626(0x1e9)](_0x2099bb);}[_0x4ac184(0x1ce)](){const _0x5f025d=_0x4ac184;if(!this[_0x5f025d(0x212)])throw Error(_0x5f025d(0x1d4));let _0x37375a=new webgpu.Quaternion();return this[_0x5f025d(0x212)][_0x5f025d(0x1ce)](_0x37375a),_0x37375a;}[_0x4ac184(0x1f4)](){const _0x189c37=_0x4ac184;if(!this[_0x189c37(0x212)])throw Error(_0x189c37(0x1d4));let _0x46070e=new webgpu.Vector3();return this['obj'][_0x189c37(0x1f4)](_0x46070e),_0x46070e;}[_0x4ac184(0x1e0)](){const _0x51faf3=_0x4ac184;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this[_0x51faf3(0x212)]['updateMatrixWorld'](!![]),this[_0x51faf3(0x212)][_0x51faf3(0x1d9)][_0x51faf3(0x1c0)]();}['setWorldMatrix'](_0x38aa22){const _0xfafcb6=_0x4ac184;if(!this[_0xfafcb6(0x212)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0xfafcb6(0x219)]){this['obj'][_0xfafcb6(0x219)]['updateMatrixWorld'](!![]);const _0x485ce9=this[_0xfafcb6(0x212)][_0xfafcb6(0x219)][_0xfafcb6(0x1d9)]['clone']()[_0xfafcb6(0x214)](),_0x908b71=new webgpu.Matrix4()[_0xfafcb6(0x1e5)](_0x485ce9,_0x38aa22);this[_0xfafcb6(0x1d3)](_0x908b71);}else this[_0xfafcb6(0x1d3)](_0x38aa22);this['obj'][_0xfafcb6(0x1f3)](!![]),this[_0xfafcb6(0x1b7)]&&this[_0xfafcb6(0x1b7)][_0xfafcb6(0x20c)][_0xfafcb6(0x20e)]();}['getWorldForwardDirection'](){const _0x4d2f0f=_0x4ac184;if(!this['obj'])throw Error(_0x4d2f0f(0x1d4));let _0x27e914=new webgpu.Vector3();return this[_0x4d2f0f(0x212)][_0x4d2f0f(0x1bf)](_0x27e914),_0x27e914;}[_0x4ac184(0x1e1)](){const _0x119def=_0x4ac184;if(!this[_0x119def(0x212)])throw Error(_0x119def(0x1d4));let _0x4d2d14=new webgpu.Vector3(0x0,0x1,0x0);return _0x4d2d14[_0x119def(0x21b)](this['getWorldQuaternion']()),_0x4d2d14;}[_0x4ac184(0x1ed)](){const _0x5be8ae=_0x4ac184;if(!this[_0x5be8ae(0x212)])throw Error(_0x5be8ae(0x1d4));let _0x2723bb=new webgpu.Vector3(0x1,0x0,0x0);return _0x2723bb[_0x5be8ae(0x21b)](this[_0x5be8ae(0x1ce)]()),_0x2723bb;}[_0x4ac184(0x1eb)](_0x5a4486){const _0x49c6f3=_0x4ac184;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this[_0x49c6f3(0x212)][_0x49c6f3(0x1eb)](_0x5a4486);}['localToWorld'](_0xec6c75){const _0x2f6a52=_0x4ac184;if(!this[_0x2f6a52(0x212)])throw Error(_0x2f6a52(0x1d4));return this[_0x2f6a52(0x212)][_0x2f6a52(0x1f6)](_0xec6c75);}[_0x4ac184(0x1d2)](_0x21077d){const _0x5ddc66=_0x4ac184;if(!this['obj'])throw Error(_0x5ddc66(0x1d4));if(!_0x21077d[_0x5ddc66(0x1ff)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this['obj'][_0x5ddc66(0x226)](_0x21077d['threeObject']),this['world']&&_0x21077d[_0x5ddc66(0x1ec)](this[_0x5ddc66(0x1b7)]);}[_0x4ac184(0x1de)](_0x250946){const _0x103fdc=_0x4ac184;if(!this[_0x103fdc(0x212)])throw Error('threeObject\x20is\x20invalid');if(!_0x250946['threeObject'])throw Error(_0x103fdc(0x1bb));this[_0x103fdc(0x212)][_0x103fdc(0x211)](_0x250946[_0x103fdc(0x1ff)]);}[_0x4ac184(0x222)](_0x53cae3,_0x17c981=exports.AttachmentRules[_0x4ac184(0x202)]){const _0x28fab6=_0x4ac184;if(!this[_0x28fab6(0x212)])throw Error(_0x28fab6(0x1d4));if(!_0x53cae3[_0x28fab6(0x1ff)])throw Error(_0x28fab6(0x1ca));_0x53cae3[_0x28fab6(0x1ea)]=this[_0x28fab6(0x1ea)];if(_0x17c981===exports.AttachmentRules[_0x28fab6(0x1b9)]){let _0x1df10f=_0x53cae3[_0x28fab6(0x1e0)]();this[_0x28fab6(0x212)][_0x28fab6(0x226)](_0x53cae3['threeObject']),_0x53cae3[_0x28fab6(0x228)](_0x1df10f);}else this[_0x28fab6(0x212)][_0x28fab6(0x226)](_0x53cae3['threeObject']);this[_0x28fab6(0x1b7)]&&_0x53cae3['onAddedToWorld'](this[_0x28fab6(0x1b7)]),this[_0x28fab6(0x212)]['updateMatrix'](),this[_0x28fab6(0x212)][_0x28fab6(0x1f3)](!![]);}['removeChildComponent'](_0x9a8660){const _0x53c1a3=_0x4ac184;if(!this['obj'])throw Error(_0x53c1a3(0x1d4));if(!_0x9a8660[_0x53c1a3(0x1ff)])throw Error(_0x53c1a3(0x1e8));this['obj']['remove'](_0x9a8660[_0x53c1a3(0x1ff)]);}[_0x4ac184(0x1db)](){const _0x3ac5f8=_0x4ac184;this[_0x3ac5f8(0x1fa)]&&this[_0x3ac5f8(0x1fa)][_0x3ac5f8(0x1da)](this);}['detachFromParentActor'](){const _0x386df9=_0x4ac184;this[_0x386df9(0x1ea)]&&(this[_0x386df9(0x1ea)]=null);}['destroyChildren'](){const _0x547742=_0x4ac184;var _0x292190;if(!this[_0x547742(0x212)])return;let _0x87319a=[];for(let _0x54e8c0=0x0;_0x54e8c0<this[_0x547742(0x212)][_0x547742(0x1d8)][_0x547742(0x217)];++_0x54e8c0){let _0x2c2787=(_0x292190=this[_0x547742(0x212)][_0x547742(0x1d8)][_0x54e8c0][_0x547742(0x221)])===null||_0x292190===void 0?void 0:_0x292190['LYObject'];_0x2c2787&&_0x87319a[_0x547742(0x1d1)](_0x2c2787);}_0x87319a[_0x547742(0x203)](_0x51bcda=>{_0x51bcda['destroy']();}),_0x87319a=[];}set['isHoverEnabled'](_0x468ea7){const _0x1d251f=_0x4ac184;this[_0x1d251f(0x220)]=_0x468ea7;let _0x47f57e=this['childrenComponents'];for(let _0x2ddc1b=0x0;_0x2ddc1b<_0x47f57e[_0x1d251f(0x217)];++_0x2ddc1b){_0x47f57e[_0x2ddc1b]['isHoverEnabled']=this[_0x1d251f(0x220)];}}get['isHoverEnabled'](){const _0x47c247=_0x4ac184;return this[_0x47c247(0x220)];}set[_0x4ac184(0x21a)](_0x5d62ab){const _0x56ade5=_0x4ac184;this['bCanClick']=_0x5d62ab;let _0x36dfca=this[_0x56ade5(0x1be)];for(let _0x548172=0x0;_0x548172<_0x36dfca[_0x56ade5(0x217)];++_0x548172){_0x36dfca[_0x548172]['isClickEnabled']=this[_0x56ade5(0x224)];}}get[_0x4ac184(0x21a)](){return this['bCanClick'];}[_0x4ac184(0x1bd)](){const _0x2b9edf=_0x4ac184;this[_0x2b9edf(0x1f9)][_0x2b9edf(0x201)]();}[_0x4ac184(0x21c)](){const _0x2ab6d9=_0x4ac184;this[_0x2ab6d9(0x1e7)][_0x2ab6d9(0x201)]();}['onClicked'](){const _0xd9cfce=_0x4ac184;this[_0xd9cfce(0x1c5)][_0xd9cfce(0x201)]();}[_0x4ac184(0x21d)](){const _0x255590=_0x4ac184;this[_0x255590(0x200)]['broadcast']();}}
|
|
40
|
+
const _0x47226d=_0x2b4e;(function(_0x5eed73,_0x5e07bc){const _0xeabaeb=_0x2b4e,_0x5e465c=_0x5eed73();while(!![]){try{const _0x42a273=parseInt(_0xeabaeb(0xa3))/0x1*(parseInt(_0xeabaeb(0xb4))/0x2)+parseInt(_0xeabaeb(0xd2))/0x3+-parseInt(_0xeabaeb(0xa2))/0x4*(parseInt(_0xeabaeb(0xf4))/0x5)+parseInt(_0xeabaeb(0xbc))/0x6*(parseInt(_0xeabaeb(0xb9))/0x7)+-parseInt(_0xeabaeb(0xf5))/0x8+parseInt(_0xeabaeb(0x108))/0x9+-parseInt(_0xeabaeb(0xea))/0xa;if(_0x42a273===_0x5e07bc)break;else _0x5e465c['push'](_0x5e465c['shift']());}catch(_0x3cf01e){_0x5e465c['push'](_0x5e465c['shift']());}}}(_0x1023,0x57156));function _0x1023(){const _0x1c3306=['markRenderStateDirty','1542960fLuqqi','children','setScale','childrenComponents','obj','viewport','destroy','order','onHorveringEnd','onAddedToWorld','getWorldRotation','getQuaternion','scale','remove','max','compose','matrix','setPosition','getWorldMatrix','getWorldQuaternion','getWorldPosition','push','matrixAutoUpdate','detachFromParentActor','10349740UjklAQ','getCenter','destroyObject','setRotation','isClickEnabled','onClickDelegate','quaternion','targetComponent\x20threeObject\x20is\x20invalid','updateMatrixWorld','getWorldForwardDirection','255WQNjCS','2315952rUHAje','_onDoubleClickDelegate','length','bCanHover','updateMatrix','detachComponent','app','getWorldRightDirection','position','getMatrix','forEach','onClicked','getComponentById','KeepWorld','layers','_onHoverEndDelegate','detachFromParentComponent','isQuaternion','number','5958918fOPcty','matrixWorld','broadcast','_parentActor','setMatrix','threeObject\x20is\x20invalid','invert','decompose','threeObject','getWorldDirection','copy','parent','tick','isHoverEnabled','22276tGpWpT','652354KfojNb','_onHoverBeginDelegate','isEuler','applyQuaternion','setQuaternion','attachComponent','getBounds','_onClickDelegate','visible','setQuaternion\x20failed,param\x20is\x20invalid','getBoundsCenterPositionWS','isVector3','getBoundsBottomCenterPositionWS','newComponent\x20threeObject\x20is\x20invalid','onDoubleClicked','destroyChildren','isVisible','2wogVtu','parentActor','localToWorld','worldToLocal','setFromObject','7hPnRvk','getScale','getPosition','818430FOKUuv','setVisible','uuid','LYObject','getRotation','setWorldMatrix','addChildComponent','getWorldUpDirection','userData','getWorldScale','setLayers','setFromQuaternion','bCanClick','world','add','set','createDefaultObject','removeChildComponent','SceneComponent','clone','parentComponent'];_0x1023=function(){return _0x1c3306;};return _0x1023();}function _0x2b4e(_0x3a750e,_0x57a45c){_0x3a750e=_0x3a750e-0x9a;const _0x102397=_0x1023();let _0x2b4ef1=_0x102397[_0x3a750e];return _0x2b4ef1;}class SceneComponent extends Component{set[_0x47226d(0xb5)](_0x41710d){const _0x4258f8=_0x47226d;this[_0x4258f8(0xd5)][_0x4258f8(0xff)](_0x496b84=>{const _0x5eebdf=_0x4258f8;_0x496b84[_0x5eebdf(0xb5)]=_0x41710d;}),this['_parentActor']=_0x41710d;}get[_0x47226d(0xb5)](){const _0x30b30c=_0x47226d;return this[_0x30b30c(0x10b)];}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get['onHoverEndDelegate'](){const _0x3f02e3=_0x47226d;return this[_0x3f02e3(0x104)];}get[_0x47226d(0xef)](){const _0x3f8190=_0x47226d;return this[_0x3f8190(0xaa)];}get['onDoubleClickDelegate'](){const _0x3cd539=_0x47226d;return this[_0x3cd539(0xf6)];}get[_0x47226d(0xc9)](){const _0x532f27=_0x47226d;return this[_0x532f27(0xfb)][_0x532f27(0xc9)];}constructor(_0x21c91c,_0x146b4a){const _0x2165a7=_0x47226d;super(_0x146b4a),this[_0x2165a7(0xf8)]=![],this[_0x2165a7(0xc8)]=![],this[_0x2165a7(0xa4)]=new Delegate(),this[_0x2165a7(0x104)]=new Delegate(),this[_0x2165a7(0xaa)]=new Delegate(),this['_onDoubleClickDelegate']=new Delegate(),this['app']=_0x21c91c,this['name']=_0x2165a7(0xce);}[_0x47226d(0xcc)](){return new webgpu.Object3D();}[_0x47226d(0xa0)](_0x1e0e36){const _0x5defc9=_0x47226d;super[_0x5defc9(0xa0)](_0x1e0e36),this[_0x5defc9(0xd5)]['forEach'](_0x2b2454=>{const _0x55ac9e=_0x5defc9;_0x2b2454[_0x55ac9e(0xa0)](_0x1e0e36);});}get[_0x47226d(0xb3)](){const _0x5d5baa=_0x47226d;if(!this[_0x5d5baa(0xd6)])return ![];return this[_0x5d5baa(0xd6)][_0x5d5baa(0xab)];}[_0x47226d(0xbd)](_0x3c2cb8){const _0x238b61=_0x47226d;if(!this[_0x238b61(0xd6)])throw Error(_0x238b61(0x10d));this[_0x238b61(0xd6)][_0x238b61(0xab)]=_0x3c2cb8,this[_0x238b61(0xc9)]&&this[_0x238b61(0xc9)][_0x238b61(0xd7)][_0x238b61(0xd1)]();}[_0x47226d(0xc6)](_0x5de6f2){const _0xef2d38=_0x47226d;if(!this[_0xef2d38(0xd6)])throw Error(_0xef2d38(0x10d));this[_0xef2d38(0xd6)][_0xef2d38(0x103)][_0xef2d38(0xcb)](_0x5de6f2);let _0x5072ac=this[_0xef2d38(0xd5)];_0x5072ac[_0xef2d38(0xff)](_0x36071d=>{const _0x3bafca=_0xef2d38;_0x36071d[_0x3bafca(0xc6)](_0x5de6f2);});}['getComponentById'](_0x5f40ba,_0x1bf3e8=!![]){const _0x58b73d=_0x47226d;if(this['uuid']===_0x5f40ba)return this;if(_0x1bf3e8){let _0x2f1aef=this[_0x58b73d(0xd5)];for(let _0x54419d=0x0;_0x54419d<_0x2f1aef[_0x58b73d(0xf7)];++_0x54419d){let _0x335487=_0x2f1aef[_0x54419d][_0x58b73d(0x101)](_0x5f40ba,_0x1bf3e8);if(_0x335487)return _0x335487;}}else {let _0x482397=this[_0x58b73d(0xd5)];for(let _0x4d7d37=0x0;_0x4d7d37<_0x482397[_0x58b73d(0xf7)];++_0x4d7d37){let _0x453875=_0x482397[_0x4d7d37];if(_0x453875[_0x58b73d(0xbe)]===_0x5f40ba)return _0x453875;}}return null;}[_0x47226d(0xad)](){const _0x21fb9d=_0x47226d;let _0xf8ac54=new webgpu.Vector3();return this['getBounds']()[_0x21fb9d(0xeb)](_0xf8ac54),this[_0x21fb9d(0xe6)]();}['getBoundsTopCenterPositionWS'](){const _0x876fbc=_0x47226d;let _0x11f5ad=new webgpu.Vector3(),_0xcca359=this[_0x876fbc(0xa9)]();return _0xcca359['getCenter'](_0x11f5ad),_0x11f5ad['y']=_0xcca359[_0x876fbc(0xe0)]['y'],_0x11f5ad;}[_0x47226d(0xaf)](){const _0x4e7224=_0x47226d;let _0x116bbc=new webgpu.Vector3(),_0x46d7b2=this[_0x4e7224(0xa9)]();return _0x46d7b2[_0x4e7224(0xeb)](_0x116bbc),_0x116bbc['y']=_0x46d7b2['min']['y'],_0x116bbc;}[_0x47226d(0xa9)](){const _0x1ca1e2=_0x47226d;if(!this[_0x1ca1e2(0xd6)])throw Error(_0x1ca1e2(0x10d));let _0x6ef54f=new webgpu.Box3();return _0x6ef54f[_0x1ca1e2(0xb8)](this[_0x1ca1e2(0xd6)],![]),_0x6ef54f['isEmpty']()&&(_0x6ef54f['min']=_0x6ef54f[_0x1ca1e2(0xe0)]=this[_0x1ca1e2(0xe6)]()),_0x6ef54f;}get[_0x47226d(0xd0)](){const _0x470a2c=_0x47226d;var _0x2be5c4,_0x1b2b22;if(!this['obj'])throw Error(_0x470a2c(0x10d));let _0x435247=(_0x1b2b22=(_0x2be5c4=this[_0x470a2c(0xd6)])===null||_0x2be5c4===void 0?void 0:_0x2be5c4['parent'])===null||_0x1b2b22===void 0?void 0:_0x1b2b22['userData']['LYObject'];if(!_0x435247)return null;if(!(_0x435247 instanceof SceneComponent))return null;if(_0x435247['parentActor']!==this[_0x470a2c(0xb5)])return null;return _0x435247;}get['childrenComponents'](){const _0x4583dc=_0x47226d;if(!this[_0x4583dc(0xd6)])throw Error('threeObject\x20is\x20invalid');let _0x287c42=[];for(let _0xf4b414=0x0;_0xf4b414<this['obj'][_0x4583dc(0xd3)][_0x4583dc(0xf7)];++_0xf4b414){if(!this[_0x4583dc(0xd6)][_0x4583dc(0xd3)][_0xf4b414][_0x4583dc(0xc4)][_0x4583dc(0xbf)])continue;this[_0x4583dc(0xd6)][_0x4583dc(0xd3)][_0xf4b414][_0x4583dc(0xc4)]['LYObject'][_0x4583dc(0xb5)]===this['parentActor']&&_0x287c42[_0x4583dc(0xe7)](this[_0x4583dc(0xd6)][_0x4583dc(0xd3)][_0xf4b414][_0x4583dc(0xc4)][_0x4583dc(0xbf)]);}return _0x287c42;}[_0x47226d(0xdb)](_0x4827e4){const _0x52f7dc=_0x47226d;let _0x7c75f=this[_0x52f7dc(0xd5)];for(let _0xf81ec0=0x0;_0xf81ec0<_0x7c75f[_0x52f7dc(0xf7)];++_0xf81ec0){_0x7c75f[_0xf81ec0]['onAddedToWorld'](_0x4827e4);}}[_0x47226d(0xd8)](){const _0x4cec5f=_0x47226d;this[_0x4cec5f(0xa1)]=![],this[_0x4cec5f(0xee)]=![],this['detachFromParentActor'](),this[_0x4cec5f(0x105)](),this[_0x4cec5f(0xb2)](),this[_0x4cec5f(0xec)](),this[_0x4cec5f(0xc9)]&&this['world'][_0x4cec5f(0xd7)][_0x4cec5f(0xd1)]();}[_0x47226d(0xec)](){const _0xed417d=_0x47226d;if(!this[_0xed417d(0xd6)])return;this[_0xed417d(0xd6)][_0xed417d(0x9f)]&&this[_0xed417d(0xd6)][_0xed417d(0x9f)]['remove'](this[_0xed417d(0xd6)]),super[_0xed417d(0xec)]();}[_0x47226d(0xbb)](){const _0x2fcd55=_0x47226d;if(!this[_0x2fcd55(0xd6)])throw Error(_0x2fcd55(0x10d));if(this[_0x2fcd55(0xd6)]['matrixAutoUpdate'])return this['obj'][_0x2fcd55(0xfd)][_0x2fcd55(0xcf)]();else {const _0x5a734c=new webgpu.Vector3(),_0x3aee8b=new webgpu.Quaternion(),_0x24bb41=new webgpu.Vector3();return this['obj'][_0x2fcd55(0xe2)][_0x2fcd55(0x9b)](_0x5a734c,_0x3aee8b,_0x24bb41),_0x5a734c;}}[_0x47226d(0xe3)](..._0x14bbeb){const _0x43e6e5=_0x47226d;var _0x266e8c;if(!this['obj'])throw Error(_0x43e6e5(0x10d));let _0x837e9c=null;if(_0x14bbeb['length']===0x1&&((_0x266e8c=_0x14bbeb[0x0])===null||_0x266e8c===void 0?void 0:_0x266e8c[_0x43e6e5(0xae)])){const _0x1a609e=_0x14bbeb[0x0];_0x837e9c=new webgpu.Vector3(_0x1a609e['x'],_0x1a609e['y'],_0x1a609e['z']);}else _0x14bbeb[_0x43e6e5(0xf7)]===0x3&&typeof _0x14bbeb[0x0]==='number'&&typeof _0x14bbeb[0x1]===_0x43e6e5(0x107)&&typeof _0x14bbeb[0x2]===_0x43e6e5(0x107)&&(_0x837e9c=new webgpu.Vector3(_0x14bbeb[0x0],_0x14bbeb[0x1],_0x14bbeb[0x2]));if(!_0x837e9c)return;this['obj'][_0x43e6e5(0xfd)][_0x43e6e5(0x9e)](_0x837e9c),!this[_0x43e6e5(0xd6)][_0x43e6e5(0xe8)]&&this[_0x43e6e5(0xd6)][_0x43e6e5(0xe2)][_0x43e6e5(0xe3)](_0x837e9c['x'],_0x837e9c['y'],_0x837e9c['z']),this['obj'][_0x43e6e5(0xf9)](),this[_0x43e6e5(0xd6)][_0x43e6e5(0xf2)](!![]),this[_0x43e6e5(0xc9)]&&this[_0x43e6e5(0xc9)][_0x43e6e5(0xd7)][_0x43e6e5(0xd1)]();}[_0x47226d(0xc0)](){const _0x332604=_0x47226d;if(!this[_0x332604(0xd6)])throw Error(_0x332604(0x10d));if(this[_0x332604(0xd6)]['matrixAutoUpdate'])return this['obj']['rotation'][_0x332604(0xcf)]();else {const _0x5bbd84=new webgpu.Vector3(),_0x55d236=new webgpu.Quaternion(),_0x10fda2=new webgpu.Vector3();return this['obj'][_0x332604(0xe2)]['decompose'](_0x5bbd84,_0x55d236,_0x10fda2),new webgpu.Euler()[_0x332604(0xc7)](_0x55d236);}}[_0x47226d(0xed)](..._0x5deb09){const _0x161263=_0x47226d;var _0x3b7d3e;if(!this[_0x161263(0xd6)])throw Error(_0x161263(0x10d));let _0x40e2d3=null;if((_0x3b7d3e=_0x5deb09[0x0])===null||_0x3b7d3e===void 0?void 0:_0x3b7d3e[_0x161263(0xa5)]){const _0x17f559=_0x5deb09[0x0];_0x40e2d3=new webgpu.Euler(_0x17f559['x'],_0x17f559['y'],_0x17f559['z'],_0x17f559[_0x161263(0xd9)]);}else typeof _0x5deb09[0x0]==='number'&&typeof _0x5deb09[0x1]===_0x161263(0x107)&&typeof _0x5deb09[0x2]===_0x161263(0x107)&&(_0x40e2d3=new webgpu.Euler(_0x5deb09[0x0],_0x5deb09[0x1],_0x5deb09[0x2]));if(!_0x40e2d3)return;this[_0x161263(0xd6)]['rotation'][_0x161263(0x9e)](_0x40e2d3),this['obj'][_0x161263(0xf9)](),this[_0x161263(0xd6)][_0x161263(0xf2)](!![]),this[_0x161263(0xc9)]&&this[_0x161263(0xc9)]['viewport'][_0x161263(0xd1)]();}[_0x47226d(0xdd)](){const _0x163600=_0x47226d;if(!this['obj'])throw Error(_0x163600(0x10d));if(this['obj'][_0x163600(0xe8)])return this['obj']['quaternion'][_0x163600(0xcf)]();else {const _0x41559e=new webgpu.Vector3(),_0x181a3a=new webgpu.Quaternion(),_0x1d8ebb=new webgpu.Vector3();return this['obj'][_0x163600(0xe2)][_0x163600(0x9b)](_0x41559e,_0x181a3a,_0x1d8ebb),_0x181a3a;}}[_0x47226d(0xa7)](..._0x3ae795){const _0x16e011=_0x47226d;var _0x5ab688;if(!this[_0x16e011(0xd6)])throw Error(_0x16e011(0x10d));let _0x2e2a43=null;if((_0x5ab688=_0x3ae795[0x0])===null||_0x5ab688===void 0?void 0:_0x5ab688[_0x16e011(0x106)]){const _0x488d6b=_0x3ae795[0x0];_0x2e2a43=new webgpu.Quaternion(_0x488d6b['x'],_0x488d6b['y'],_0x488d6b['z'],_0x488d6b['w']);}else typeof _0x3ae795[0x0]===_0x16e011(0x107)&&typeof _0x3ae795[0x1]===_0x16e011(0x107)&&typeof _0x3ae795[0x2]==='number'&&typeof _0x3ae795[0x3]==='number'&&(_0x2e2a43=new webgpu.Quaternion(_0x3ae795[0x0],_0x3ae795[0x1],_0x3ae795[0x2],_0x3ae795[0x3]));if(!_0x2e2a43){console['error'](_0x16e011(0xac),_0x3ae795);return;}this[_0x16e011(0xd6)]['quaternion'][_0x16e011(0x9e)](_0x2e2a43);if(!this['obj'][_0x16e011(0xe8)]){const _0x19376c=new webgpu.Vector3(),_0x465a70=new webgpu.Quaternion(),_0x34b677=new webgpu.Vector3();this['obj'][_0x16e011(0xe2)]['decompose'](_0x19376c,_0x465a70,_0x34b677),this[_0x16e011(0xd6)][_0x16e011(0xe2)][_0x16e011(0xe1)](_0x19376c,_0x2e2a43,_0x34b677);}this[_0x16e011(0xc9)]&&this[_0x16e011(0xc9)][_0x16e011(0xd7)][_0x16e011(0xd1)](),this[_0x16e011(0xd6)]['updateMatrix'](),this[_0x16e011(0xd6)]['updateMatrixWorld'](!![]);}[_0x47226d(0xba)](){const _0xda08c9=_0x47226d;if(!this['obj'])throw Error(_0xda08c9(0x10d));if(this['obj'][_0xda08c9(0xe8)])return this[_0xda08c9(0xd6)][_0xda08c9(0xde)]['clone']();else {const _0x48fcba=new webgpu.Vector3(),_0x27116e=new webgpu.Quaternion(),_0x1fa64c=new webgpu.Vector3();return this[_0xda08c9(0xd6)]['matrix']['decompose'](_0x48fcba,_0x27116e,_0x1fa64c),_0x1fa64c;}}[_0x47226d(0xd4)](..._0x558692){const _0x296528=_0x47226d;var _0x7e5725;if(!this[_0x296528(0xd6)])throw Error('threeObject\x20is\x20invalid');let _0x209c7d=null;if((_0x7e5725=_0x558692[0x0])===null||_0x7e5725===void 0?void 0:_0x7e5725[_0x296528(0xae)]){const _0x1960c8=_0x558692[0x0];_0x209c7d=new webgpu.Vector3(_0x1960c8['x'],_0x1960c8['y'],_0x1960c8['z']);}else typeof _0x558692[0x0]===_0x296528(0x107)&&typeof _0x558692[0x1]===_0x296528(0x107)&&typeof _0x558692[0x2]===_0x296528(0x107)&&(_0x209c7d=new webgpu.Vector3(_0x558692[0x0],_0x558692[0x1],_0x558692[0x2]));if(!_0x209c7d)return;this[_0x296528(0xd6)]['scale'][_0x296528(0x9e)](_0x209c7d),this['obj'][_0x296528(0xf9)](),this[_0x296528(0xd6)]['updateMatrixWorld'](!![]),this[_0x296528(0xc9)]&&this[_0x296528(0xc9)]['viewport'][_0x296528(0xd1)]();}[_0x47226d(0xfe)](){const _0x424e01=_0x47226d;if(!this[_0x424e01(0xd6)])throw Error(_0x424e01(0x10d));return this[_0x424e01(0xd6)][_0x424e01(0xe2)];}[_0x47226d(0x10c)](_0x6e7b71){const _0x1dc383=_0x47226d;var _0xa1ed9a;if(!this['obj'])throw Error(_0x1dc383(0x10d));_0x6e7b71[_0x1dc383(0x9b)](this[_0x1dc383(0xd6)][_0x1dc383(0xfd)],this[_0x1dc383(0xd6)][_0x1dc383(0xf0)],this[_0x1dc383(0xd6)][_0x1dc383(0xde)]),this[_0x1dc383(0xd6)][_0x1dc383(0xf9)](),this[_0x1dc383(0xd6)]['updateMatrixWorld'](!![]),(_0xa1ed9a=this[_0x1dc383(0xc9)])===null||_0xa1ed9a===void 0?void 0:_0xa1ed9a['viewport'][_0x1dc383(0xd1)]();}['getWorldPosition'](){const _0x59ab6d=_0x47226d;if(!this['obj'])throw Error(_0x59ab6d(0x10d));let _0xf117fa=new webgpu.Vector3();return this[_0x59ab6d(0xd6)][_0x59ab6d(0xe6)](_0xf117fa),_0xf117fa;}[_0x47226d(0xdc)](){const _0x43d3dd=_0x47226d;if(!this['obj'])throw Error(_0x43d3dd(0x10d));let _0xe2460b=new webgpu.Quaternion();return this[_0x43d3dd(0xd6)][_0x43d3dd(0xe5)](_0xe2460b),new webgpu.Euler()[_0x43d3dd(0xc7)](_0xe2460b);}[_0x47226d(0xe5)](){const _0x2ef608=_0x47226d;if(!this[_0x2ef608(0xd6)])throw Error(_0x2ef608(0x10d));let _0x21e79b=new webgpu.Quaternion();return this[_0x2ef608(0xd6)][_0x2ef608(0xe5)](_0x21e79b),_0x21e79b;}[_0x47226d(0xc5)](){const _0x5330e0=_0x47226d;if(!this['obj'])throw Error(_0x5330e0(0x10d));let _0xd5a041=new webgpu.Vector3();return this[_0x5330e0(0xd6)][_0x5330e0(0xc5)](_0xd5a041),_0xd5a041;}[_0x47226d(0xe4)](){const _0x4872fe=_0x47226d;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this['obj']['updateMatrixWorld'](!![]),this[_0x4872fe(0xd6)][_0x4872fe(0x109)][_0x4872fe(0xcf)]();}['setWorldMatrix'](_0x136d42){const _0x57fe7d=_0x47226d;if(!this[_0x57fe7d(0xd6)])throw Error(_0x57fe7d(0x10d));if(this[_0x57fe7d(0xd6)][_0x57fe7d(0x9f)]){this[_0x57fe7d(0xd6)][_0x57fe7d(0x9f)][_0x57fe7d(0xf2)](!![]);const _0x420452=this[_0x57fe7d(0xd6)]['parent'][_0x57fe7d(0x109)]['clone']()[_0x57fe7d(0x9a)](),_0x2c00db=new webgpu.Matrix4()['multiplyMatrices'](_0x420452,_0x136d42);this[_0x57fe7d(0x10c)](_0x2c00db);}else this[_0x57fe7d(0x10c)](_0x136d42);this[_0x57fe7d(0xd6)]['updateMatrixWorld'](!![]),this[_0x57fe7d(0xc9)]&&this[_0x57fe7d(0xc9)][_0x57fe7d(0xd7)][_0x57fe7d(0xd1)]();}[_0x47226d(0xf3)](){const _0x520406=_0x47226d;if(!this['obj'])throw Error(_0x520406(0x10d));let _0x3aaa0c=new webgpu.Vector3();return this[_0x520406(0xd6)][_0x520406(0x9d)](_0x3aaa0c),_0x3aaa0c;}[_0x47226d(0xc3)](){const _0x2bcae9=_0x47226d;if(!this[_0x2bcae9(0xd6)])throw Error(_0x2bcae9(0x10d));let _0x46898a=new webgpu.Vector3(0x0,0x1,0x0);return _0x46898a['applyQuaternion'](this[_0x2bcae9(0xe5)]()),_0x46898a;}[_0x47226d(0xfc)](){const _0xe3a3e4=_0x47226d;if(!this[_0xe3a3e4(0xd6)])throw Error(_0xe3a3e4(0x10d));let _0x3ae7e9=new webgpu.Vector3(0x1,0x0,0x0);return _0x3ae7e9[_0xe3a3e4(0xa6)](this[_0xe3a3e4(0xe5)]()),_0x3ae7e9;}['worldToLocal'](_0x3ad0a0){const _0x1e080e=_0x47226d;if(!this[_0x1e080e(0xd6)])throw Error(_0x1e080e(0x10d));return this[_0x1e080e(0xd6)][_0x1e080e(0xb7)](_0x3ad0a0);}[_0x47226d(0xb6)](_0x4712ca){const _0x5ee808=_0x47226d;if(!this[_0x5ee808(0xd6)])throw Error(_0x5ee808(0x10d));return this[_0x5ee808(0xd6)][_0x5ee808(0xb6)](_0x4712ca);}[_0x47226d(0xa8)](_0x267c13){const _0x4290b2=_0x47226d;if(!this[_0x4290b2(0xd6)])throw Error('threeObject\x20is\x20invalid');if(!_0x267c13[_0x4290b2(0x9c)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this[_0x4290b2(0xd6)][_0x4290b2(0xca)](_0x267c13['threeObject']),this[_0x4290b2(0xc9)]&&_0x267c13[_0x4290b2(0xdb)](this[_0x4290b2(0xc9)]);}[_0x47226d(0xfa)](_0x2e84f4){const _0x23cd26=_0x47226d;if(!this['obj'])throw Error(_0x23cd26(0x10d));if(!_0x2e84f4[_0x23cd26(0x9c)])throw Error('target\x20threeObject\x20is\x20invalid');this['obj'][_0x23cd26(0xdf)](_0x2e84f4[_0x23cd26(0x9c)]);}[_0x47226d(0xc2)](_0x59e1dd,_0xdb8864=exports.AttachmentRules['KeepRelative']){const _0x559512=_0x47226d;if(!this[_0x559512(0xd6)])throw Error(_0x559512(0x10d));if(!_0x59e1dd['threeObject'])throw Error(_0x559512(0xb0));_0x59e1dd[_0x559512(0xb5)]=this[_0x559512(0xb5)];if(_0xdb8864===exports.AttachmentRules[_0x559512(0x102)]){let _0x2628e0=_0x59e1dd['getWorldMatrix']();this[_0x559512(0xd6)][_0x559512(0xca)](_0x59e1dd[_0x559512(0x9c)]),_0x59e1dd[_0x559512(0xc1)](_0x2628e0);}else this[_0x559512(0xd6)][_0x559512(0xca)](_0x59e1dd[_0x559512(0x9c)]);this[_0x559512(0xc9)]&&_0x59e1dd['onAddedToWorld'](this[_0x559512(0xc9)]),this[_0x559512(0xd6)][_0x559512(0xf9)](),this['obj']['updateMatrixWorld'](!![]);}[_0x47226d(0xcd)](_0x22964e){const _0x2721eb=_0x47226d;if(!this[_0x2721eb(0xd6)])throw Error('threeObject\x20is\x20invalid');if(!_0x22964e[_0x2721eb(0x9c)])throw Error(_0x2721eb(0xf1));this[_0x2721eb(0xd6)][_0x2721eb(0xdf)](_0x22964e['threeObject']);}[_0x47226d(0x105)](){const _0x5d19d9=_0x47226d;this[_0x5d19d9(0xd0)]&&this['parentComponent'][_0x5d19d9(0xcd)](this);}[_0x47226d(0xe9)](){const _0x381398=_0x47226d;this[_0x381398(0xb5)]&&(this[_0x381398(0xb5)]=null);}[_0x47226d(0xb2)](){const _0x20f360=_0x47226d;var _0x2a38a;if(!this[_0x20f360(0xd6)])return;let _0x5567f8=[];for(let _0x22b5ed=0x0;_0x22b5ed<this['obj']['children'][_0x20f360(0xf7)];++_0x22b5ed){let _0x3ddbf4=(_0x2a38a=this[_0x20f360(0xd6)]['children'][_0x22b5ed][_0x20f360(0xc4)])===null||_0x2a38a===void 0?void 0:_0x2a38a[_0x20f360(0xbf)];_0x3ddbf4&&_0x5567f8['push'](_0x3ddbf4);}_0x5567f8[_0x20f360(0xff)](_0x530672=>{_0x530672['destroy']();}),_0x5567f8=[];}set[_0x47226d(0xa1)](_0x465a0a){const _0x19fc11=_0x47226d;this[_0x19fc11(0xf8)]=_0x465a0a;let _0x1cf5ba=this[_0x19fc11(0xd5)];for(let _0x236713=0x0;_0x236713<_0x1cf5ba[_0x19fc11(0xf7)];++_0x236713){_0x1cf5ba[_0x236713][_0x19fc11(0xa1)]=this[_0x19fc11(0xf8)];}}get[_0x47226d(0xa1)](){return this['bCanHover'];}set[_0x47226d(0xee)](_0x530502){const _0x54c3c4=_0x47226d;this['bCanClick']=_0x530502;let _0x10a74b=this[_0x54c3c4(0xd5)];for(let _0x18c6d8=0x0;_0x18c6d8<_0x10a74b[_0x54c3c4(0xf7)];++_0x18c6d8){_0x10a74b[_0x18c6d8][_0x54c3c4(0xee)]=this[_0x54c3c4(0xc8)];}}get['isClickEnabled'](){const _0x363898=_0x47226d;return this[_0x363898(0xc8)];}['onHorveringBegin'](){const _0x5520e3=_0x47226d;this[_0x5520e3(0xa4)][_0x5520e3(0x10a)]();}[_0x47226d(0xda)](){const _0x4ebfa1=_0x47226d;this[_0x4ebfa1(0x104)]['broadcast']();}[_0x47226d(0x100)](){const _0x25db0f=_0x47226d;this[_0x25db0f(0xaa)]['broadcast']();}[_0x47226d(0xb1)](){const _0xd1bb0=_0x47226d;this[_0xd1bb0(0xf6)]['broadcast']();}}
|
|
32
41
|
|
|
33
|
-
const
|
|
42
|
+
const _0x369ca6=_0x4f78;(function(_0x2d7f62,_0x3de499){const _0x4b65bb=_0x4f78,_0x12c3f3=_0x2d7f62();while(!![]){try{const _0x51343d=-parseInt(_0x4b65bb(0x19f))/0x1+-parseInt(_0x4b65bb(0x1ab))/0x2*(parseInt(_0x4b65bb(0x1b4))/0x3)+parseInt(_0x4b65bb(0x1c3))/0x4+-parseInt(_0x4b65bb(0x1a6))/0x5+-parseInt(_0x4b65bb(0x1b3))/0x6*(parseInt(_0x4b65bb(0x1c1))/0x7)+parseInt(_0x4b65bb(0x1a7))/0x8*(-parseInt(_0x4b65bb(0x1bf))/0x9)+parseInt(_0x4b65bb(0x1c5))/0xa*(parseInt(_0x4b65bb(0x1a1))/0xb);if(_0x51343d===_0x3de499)break;else _0x12c3f3['push'](_0x12c3f3['shift']());}catch(_0x574182){_0x12c3f3['push'](_0x12c3f3['shift']());}}}(_0x3c9a,0xbbcc8));function _0x4f78(_0x1e5b50,_0x2507b4){_0x1e5b50=_0x1e5b50-0x19e;const _0x3c9aae=_0x3c9a();let _0x4f78bc=_0x3c9aae[_0x1e5b50];return _0x4f78bc;}function _0x3c9a(){const _0x28dc7c=['threeObject\x20is\x20null','forEach','length','receiveShadow','geometry','30483sACNrU','materialPtr','106897VEwEWJ','app','4414300zXFyRS','getValue','10ycMyIV','getBoundsBottomCenterPosition','_materialPtr','release','createDefaultObject','551622zObJGx','destroyObject','32430189CAnySq','castShadow','addRef','obj','addMaterialAsset','6913785UPlOii','872UOlSai','getBounds','threeObject','_geometryPtr','7962BEpkAM','removeFromParent','getCenter','addGeometryAsset','push','geometryPtr','assetManager','material','186LHbuOu','381EkOzdF','max','getBoundsTopCenterPosition','isArray','LYObject','getBoundsCenterPosition'];_0x3c9a=function(){return _0x28dc7c;};return _0x3c9a();}class MeshComponent extends SceneComponent{get[_0x369ca6(0x1a9)](){const _0x4a915d=_0x369ca6;if(!this[_0x4a915d(0x1a4)])throw new Error(_0x4a915d(0x1ba));return this['obj'];}set[_0x369ca6(0x1a9)](_0x37c323){const _0xe0def=_0x369ca6;this[_0xe0def(0x1a4)]=_0x37c323,this['obj']&&(this[_0xe0def(0x1a4)]['userData'][_0xe0def(0x1b8)]=this);}get['geometry'](){const _0x3e092c=_0x369ca6;if(!this[_0x3e092c(0x1aa)])throw new Error('geometryPtr\x20is\x20null');return this[_0x3e092c(0x1aa)][_0x3e092c(0x1c4)]();}set[_0x369ca6(0x1be)](_0x22ad8c){const _0x598adf=_0x369ca6;let _0x5ddbe3=this[_0x598adf(0x1c2)][_0x598adf(0x1b1)][_0x598adf(0x1ae)](_0x22ad8c);this['geometryPtr']=_0x5ddbe3;}get[_0x369ca6(0x1b0)](){const _0x13d0cf=_0x369ca6;if(!this[_0x13d0cf(0x1aa)])throw new Error('geometryPtr\x20is\x20null');return this[_0x13d0cf(0x1aa)];}set[_0x369ca6(0x1b0)](_0x306097){const _0x56f35e=_0x369ca6;this[_0x56f35e(0x1aa)]&&(this[_0x56f35e(0x1aa)]['release'](),this[_0x56f35e(0x1aa)]=null);this['_geometryPtr']=_0x306097;let _0x4e8323=_0x306097[_0x56f35e(0x1c4)]();this[_0x56f35e(0x1a9)]&&_0x4e8323&&(this[_0x56f35e(0x1a9)][_0x56f35e(0x1be)]=_0x4e8323);}get[_0x369ca6(0x1b2)](){const _0xb52022=_0x369ca6;let _0x1e4e18=[];return this[_0xb52022(0x1c7)][_0xb52022(0x1bb)](_0x4ffba9=>{const _0x31d9f3=_0xb52022;let _0x1e2ddc=_0x4ffba9['getValue']();if(_0x1e2ddc)_0x1e4e18[_0x31d9f3(0x1af)](_0x1e2ddc);}),_0x1e4e18[_0xb52022(0x1bc)]>0x1?_0x1e4e18:_0x1e4e18[0x0];}get[_0x369ca6(0x1c0)](){const _0x242656=_0x369ca6;return this[_0x242656(0x1c0)];}set[_0x369ca6(0x1b2)](_0x303274){const _0x2e6491=_0x369ca6;let _0x3fbb20=Array[_0x2e6491(0x1b7)](_0x303274)?_0x303274:[_0x303274],_0x2087c8=[];_0x3fbb20[_0x2e6491(0x1bb)](_0x5234c3=>{const _0x5afbf7=_0x2e6491;let _0x167d33=this[_0x5afbf7(0x1c2)][_0x5afbf7(0x1b1)]['addMaterialAsset'](_0x5234c3);if(_0x167d33)_0x2087c8[_0x5afbf7(0x1af)](_0x167d33);}),this['materialPtr']=_0x2087c8;}set[_0x369ca6(0x1c0)](_0x580472){const _0x41f3e1=_0x369ca6;this[_0x41f3e1(0x1c7)]&&(this['_materialPtr'][_0x41f3e1(0x1bb)](_0x2fdb83=>{const _0x507d2a=_0x41f3e1;_0x2fdb83[_0x507d2a(0x1c8)]();}),this[_0x41f3e1(0x1c7)]=[]);let _0x2af4cf=Array[_0x41f3e1(0x1b7)](_0x580472)?_0x580472:[_0x580472],_0x819559=[];_0x2af4cf[_0x41f3e1(0x1bb)](_0x1a3918=>{const _0x7690a0=_0x41f3e1;let _0x50592b=_0x1a3918['getValue']();if(_0x50592b)_0x819559[_0x7690a0(0x1af)](_0x50592b);_0x1a3918[_0x7690a0(0x1a3)]();});if(this[_0x41f3e1(0x1a9)]){if(_0x819559['length']>0x0)this['threeObject']['material']=Array[_0x41f3e1(0x1b7)](_0x580472)?_0x819559[0x0]:_0x819559;}this[_0x41f3e1(0x1c7)]=_0x2af4cf;}constructor(_0x139ede,_0x29d649,_0xc55e72,_0x5f0ad5){const _0x2363bf=_0x369ca6;let _0x4e203e=[],_0x458634=Array[_0x2363bf(0x1b7)](_0xc55e72)?_0xc55e72:[_0xc55e72];_0x458634[_0x2363bf(0x1bb)](_0x3c5a26=>{const _0xf3fb1=_0x2363bf;let _0xa641e4=_0x139ede[_0xf3fb1(0x1b1)][_0xf3fb1(0x1a5)](_0x3c5a26);if(_0xa641e4)_0x4e203e['push'](_0xa641e4);}),super(_0x139ede,_0x5f0ad5),this[_0x2363bf(0x1aa)]=_0x139ede[_0x2363bf(0x1b1)][_0x2363bf(0x1ae)](_0x29d649),this[_0x2363bf(0x1c7)]=_0x4e203e,_0x4e203e[_0x2363bf(0x1bb)](_0x30d633=>{const _0x10ac5d=_0x2363bf;_0x30d633[_0x10ac5d(0x1a3)]();}),this[_0x2363bf(0x1a9)][_0x2363bf(0x1b2)]=_0xc55e72,this[_0x2363bf(0x1a9)][_0x2363bf(0x1be)]=_0x29d649,this[_0x2363bf(0x1a2)]=!![],this[_0x2363bf(0x1bd)]=!![];}[_0x369ca6(0x19e)](){return new webgpu.Mesh();}set[_0x369ca6(0x1a2)](_0x328c36){const _0x4c6e57=_0x369ca6;if(this[_0x4c6e57(0x1a9)])this['threeObject'][_0x4c6e57(0x1a2)]=_0x328c36;}get[_0x369ca6(0x1a2)](){const _0x509b7e=_0x369ca6;return this[_0x509b7e(0x1a9)]?this[_0x509b7e(0x1a9)][_0x509b7e(0x1a2)]:![];}set[_0x369ca6(0x1bd)](_0x531b15){const _0x2464e1=_0x369ca6;if(!this[_0x2464e1(0x1a9)])return;this[_0x2464e1(0x1a9)]['receiveShadow']=_0x531b15;}get[_0x369ca6(0x1bd)](){const _0x2db205=_0x369ca6;return this[_0x2db205(0x1a9)]?this[_0x2db205(0x1a9)][_0x2db205(0x1bd)]:![];}[_0x369ca6(0x1b9)](){const _0x4b6863=_0x369ca6;let _0x57f7df=new webgpu.Vector3();return this[_0x4b6863(0x1a8)]()[_0x4b6863(0x1ad)](_0x57f7df),_0x57f7df;}[_0x369ca6(0x1b6)](){const _0x352c51=_0x369ca6;let _0x27d2fa=new webgpu.Vector3(),_0x479006=this[_0x352c51(0x1a8)]();return _0x479006[_0x352c51(0x1ad)](_0x27d2fa),_0x27d2fa['y']=_0x479006[_0x352c51(0x1b5)]['y'],_0x27d2fa;}[_0x369ca6(0x1c6)](){const _0x11e361=_0x369ca6;let _0x5f3be3=new webgpu.Vector3(),_0x530ed7=this['getBounds']();return _0x530ed7[_0x11e361(0x1ad)](_0x5f3be3),_0x5f3be3['y']=_0x530ed7['min']['y'],_0x5f3be3;}[_0x369ca6(0x1a0)](){const _0x4d61b4=_0x369ca6;var _0x3bf20e;this[_0x4d61b4(0x1a9)]&&this[_0x4d61b4(0x1a9)][_0x4d61b4(0x1ac)]();(_0x3bf20e=this[_0x4d61b4(0x1aa)])===null||_0x3bf20e===void 0?void 0:_0x3bf20e[_0x4d61b4(0x1c8)]();let _0x3b06fb=Array['isArray'](this[_0x4d61b4(0x1c7)])?this[_0x4d61b4(0x1c7)]:[this[_0x4d61b4(0x1c7)]];_0x3b06fb['forEach'](_0xa2c4f8=>{_0xa2c4f8['release']();}),super['destroyObject']();}}
|
|
34
43
|
|
|
35
|
-
function
|
|
44
|
+
const _0x2a69de=_0x551c;(function(_0x1b5fdd,_0x203057){const _0x39f8d2=_0x551c,_0x2d3d16=_0x1b5fdd();while(!![]){try{const _0xa0d656=parseInt(_0x39f8d2(0xc1))/0x1+parseInt(_0x39f8d2(0xa0))/0x2*(parseInt(_0x39f8d2(0xa5))/0x3)+-parseInt(_0x39f8d2(0xa4))/0x4*(parseInt(_0x39f8d2(0xb0))/0x5)+-parseInt(_0x39f8d2(0xc4))/0x6*(parseInt(_0x39f8d2(0xa9))/0x7)+parseInt(_0x39f8d2(0xb3))/0x8+parseInt(_0x39f8d2(0xaf))/0x9+parseInt(_0x39f8d2(0xba))/0xa*(-parseInt(_0x39f8d2(0xa3))/0xb);if(_0xa0d656===_0x203057)break;else _0x2d3d16['push'](_0x2d3d16['shift']());}catch(_0x2cf470){_0x2d3d16['push'](_0x2d3d16['shift']());}}}(_0x3e33,0x78134));function _0x3e33(){const _0x40b710=['destroyObject','length','userData','11990nKVJDh','threeObject','push','assetManager','_materialPtr','InstanceMeshComponent:\x20threeObject\x20is\x20null','removeFromParent','515947ibdhXX','castShadow','dispose','6dwkGQn','getMatrixAt','obj','52NxnBdq','LYObject','updateMatrices','10285oHmbBf','2055532VYMzdu','35025FdtlRq','_geometryPtr','addMaterialAsset','min','24703xKTiYb','setMatrixAt','release','material','isArray','needsUpdate','8500527CveRic','5hXoQAH','geometry','forEach','2930440sFFvoW','getValue','receiveShadow','instanceMatrix'];_0x3e33=function(){return _0x40b710;};return _0x3e33();}function _0x551c(_0x164e47,_0x2583bf){_0x164e47=_0x164e47-0x9f;const _0x3e3387=_0x3e33();let _0x551c10=_0x3e3387[_0x164e47];return _0x551c10;}class InstanceMeshComponent extends SceneComponent{get['threeObject'](){const _0x19a940=_0x551c;if(!this['obj'])throw new Error(_0x19a940(0xbf));return this[_0x19a940(0x9f)];}set['threeObject'](_0x5321e6){const _0x11c868=_0x551c;this['obj']=_0x5321e6,this[_0x11c868(0x9f)]&&(this['obj'][_0x11c868(0xb9)][_0x11c868(0xa1)]=this);}get[_0x2a69de(0xb1)](){const _0x4f0aa8=_0x2a69de;var _0x9159cd,_0x475914;return (_0x475914=(_0x9159cd=this[_0x4f0aa8(0xa6)])===null||_0x9159cd===void 0?void 0:_0x9159cd[_0x4f0aa8(0xb4)]())!==null&&_0x475914!==void 0?_0x475914:null;}get[_0x2a69de(0xac)](){const _0x2ed25c=_0x2a69de,_0x42296e=[];return this['_materialPtr'][_0x2ed25c(0xb2)](_0x31b056=>{const _0x22e54a=_0x2ed25c,_0x2c32fc=_0x31b056[_0x22e54a(0xb4)]();if(_0x2c32fc)_0x42296e[_0x22e54a(0xbc)](_0x2c32fc);}),_0x42296e[_0x2ed25c(0xb8)]>0x1?_0x42296e:_0x42296e[0x0];}get['count'](){const _0x1be8b6=_0x2a69de;return this[_0x1be8b6(0xbb)]['count'];}set['count'](_0x21c547){const _0x3cbe69=_0x2a69de;this[_0x3cbe69(0xbb)]['count']=_0x21c547;}set[_0x2a69de(0xc2)](_0x3d4ac1){const _0x22e462=_0x2a69de;if(this['threeObject'])this[_0x22e462(0xbb)]['castShadow']=_0x3d4ac1;}get[_0x2a69de(0xc2)](){const _0x2e2de2=_0x2a69de;return this[_0x2e2de2(0xbb)]?this['threeObject'][_0x2e2de2(0xc2)]:![];}set[_0x2a69de(0xb5)](_0x2f6d48){const _0x52c51a=_0x2a69de;if(!this[_0x52c51a(0xbb)])return;this[_0x52c51a(0xbb)][_0x52c51a(0xb5)]=_0x2f6d48;}get[_0x2a69de(0xb5)](){const _0x5e44c3=_0x2a69de;return this['threeObject']?this['threeObject'][_0x5e44c3(0xb5)]:![];}constructor(_0x97829d,_0x560c74,_0x1a6d0b){const _0x39527a=_0x2a69de;super(_0x97829d,_0x1a6d0b),this[_0x39527a(0xa6)]=null,this[_0x39527a(0xbe)]=[];_0x560c74[_0x39527a(0xb1)]&&(this[_0x39527a(0xa6)]=_0x97829d[_0x39527a(0xbd)]['addGeometryAsset'](_0x560c74['geometry']));const _0x302157=Array[_0x39527a(0xad)](_0x560c74[_0x39527a(0xac)])?_0x560c74[_0x39527a(0xac)]:[_0x560c74['material']];_0x302157['forEach'](_0x1da81c=>{const _0x3e94b4=_0x39527a,_0x9cdf4b=_0x97829d[_0x3e94b4(0xbd)][_0x3e94b4(0xa7)](_0x1da81c);_0x9cdf4b&&(_0x9cdf4b['addRef'](),this[_0x3e94b4(0xbe)][_0x3e94b4(0xbc)](_0x9cdf4b));}),this[_0x39527a(0xbb)]=_0x560c74,this[_0x39527a(0xc2)]=!![],this['receiveShadow']=!![];}['createDefaultObject'](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}[_0x2a69de(0xc5)](_0x1589eb,_0xe3fd2a){const _0x243647=_0x2a69de;this['threeObject'][_0x243647(0xc5)](_0x1589eb,_0xe3fd2a);}['setMatrixAt'](_0x3fc424,_0x139bc4){const _0x1b63ce=_0x2a69de;this[_0x1b63ce(0xbb)][_0x1b63ce(0xaa)](_0x3fc424,_0x139bc4),this[_0x1b63ce(0xbb)]['instanceMatrix'][_0x1b63ce(0xae)]=!![];}[_0x2a69de(0xa2)](_0x22dd4f){const _0x14f929=_0x2a69de,_0x27d115=Math[_0x14f929(0xa8)](_0x22dd4f[_0x14f929(0xb8)],this[_0x14f929(0xbb)]['count']);for(let _0x32259a=0x0;_0x32259a<_0x27d115;_0x32259a++){this[_0x14f929(0xbb)][_0x14f929(0xaa)](_0x32259a,_0x22dd4f[_0x32259a]);}this[_0x14f929(0xbb)][_0x14f929(0xb6)][_0x14f929(0xae)]=!![];}[_0x2a69de(0xb7)](){const _0x189ce0=_0x2a69de;var _0x1926c5;this[_0x189ce0(0xbb)]&&(this['threeObject'][_0x189ce0(0xc0)](),this[_0x189ce0(0xbb)][_0x189ce0(0xc3)]()),(_0x1926c5=this[_0x189ce0(0xa6)])===null||_0x1926c5===void 0?void 0:_0x1926c5[_0x189ce0(0xab)](),this[_0x189ce0(0xa6)]=null,this[_0x189ce0(0xbe)][_0x189ce0(0xb2)](_0x3ba777=>{_0x3ba777['release']();}),this[_0x189ce0(0xbe)]=[],super[_0x189ce0(0xb7)]();}}
|
|
36
45
|
|
|
37
|
-
var
|
|
46
|
+
var _0x9f5cb=_0x48f6;(function(_0x12d452,_0x379989){var _0x4a72e6=_0x48f6,_0x20f601=_0x12d452();while(!![]){try{var _0x38e3c5=parseInt(_0x4a72e6(0x89))/0x1+parseInt(_0x4a72e6(0x84))/0x2+parseInt(_0x4a72e6(0x8a))/0x3*(-parseInt(_0x4a72e6(0x7f))/0x4)+parseInt(_0x4a72e6(0x87))/0x5+parseInt(_0x4a72e6(0x81))/0x6+-parseInt(_0x4a72e6(0x85))/0x7*(parseInt(_0x4a72e6(0x83))/0x8)+parseInt(_0x4a72e6(0x80))/0x9*(-parseInt(_0x4a72e6(0x88))/0xa);if(_0x38e3c5===_0x379989)break;else _0x20f601['push'](_0x20f601['shift']());}catch(_0x34c3a9){_0x20f601['push'](_0x20f601['shift']());}}}(_0x449c,0x99ae4));class TSmartPointer{constructor(_0x5520ae,_0x3b0a88=0x1){var _0x489635=_0x48f6;this[_0x489635(0x7d)]=0x1,this[_0x489635(0x82)]=null,this[_0x489635(0x82)]=_0x5520ae,this['referenceCount']=_0x3b0a88;}['getRefCount'](){var _0x13e847=_0x48f6;return this[_0x13e847(0x7d)];}[_0x9f5cb(0x86)](){var _0x43a942=_0x9f5cb;return this[_0x43a942(0x82)]!==null;}['addRef'](_0x1b88fe=0x1){var _0x37d397=_0x9f5cb;this[_0x37d397(0x82)]!==null&&(this[_0x37d397(0x7d)]+=_0x1b88fe);}['release'](){var _0x29b166=_0x9f5cb;this[_0x29b166(0x82)]!==null&&this[_0x29b166(0x7d)]>0x0&&(this['referenceCount']--,this[_0x29b166(0x7d)]===0x0&&this[_0x29b166(0x7c)]());}[_0x9f5cb(0x7e)](){var _0x58747b=_0x9f5cb;this[_0x58747b(0x82)]!==null&&(this[_0x58747b(0x7c)](),this[_0x58747b(0x7d)]=0x0);}[_0x9f5cb(0x7c)](){this['value']=null;}['getValue'](){return this['value'];}}function _0x48f6(_0x4971d4,_0x163cc9){_0x4971d4=_0x4971d4-0x7c;var _0x449ce8=_0x449c();var _0x48f6c3=_0x449ce8[_0x4971d4];return _0x48f6c3;}function _0x449c(){var _0x267e1e=['4560275cnIpor','10640670hFDXtm','1229412uFIVgy','543hpgVOL','dispose','referenceCount','forceRelease','13252VbSmrb','18wymtnq','7162284FZzWlk','value','8xhqIUr','2339454tBWFWh','8033515wdJNyd','isValid'];_0x449c=function(){return _0x267e1e;};return _0x449c();}
|
|
38
47
|
|
|
39
|
-
const
|
|
48
|
+
const _0x581a87=_0x5ebf;(function(_0x575036,_0x5bf908){const _0x1e05d0=_0x5ebf,_0x2c1b87=_0x575036();while(!![]){try{const _0x26fd11=-parseInt(_0x1e05d0(0xba))/0x1*(parseInt(_0x1e05d0(0xb3))/0x2)+-parseInt(_0x1e05d0(0xbe))/0x3*(parseInt(_0x1e05d0(0xbb))/0x4)+-parseInt(_0x1e05d0(0xb7))/0x5+parseInt(_0x1e05d0(0xc4))/0x6*(-parseInt(_0x1e05d0(0xbc))/0x7)+-parseInt(_0x1e05d0(0xb2))/0x8+parseInt(_0x1e05d0(0xbd))/0x9*(-parseInt(_0x1e05d0(0xc5))/0xa)+-parseInt(_0x1e05d0(0xc1))/0xb*(-parseInt(_0x1e05d0(0xb5))/0xc);if(_0x26fd11===_0x5bf908)break;else _0x2c1b87['push'](_0x2c1b87['shift']());}catch(_0x5e8e3e){_0x2c1b87['push'](_0x2c1b87['shift']());}}}(_0x4669,0xa0284));function _0x4669(){const _0x300663=['editorAssetId','2359845cBWDsE','userData','uuid','401937GIowlJ','7848znrCfv','7aXiXZx','99iNpCna','1836PAXqcQ','function','assetPointer','1243lKCAhs','dispose','_uuid','4940070gqgyLH','433010hQBggL','5236456NfOnNB','2FINSkk','value','497508rIBcsb'];_0x4669=function(){return _0x300663;};return _0x4669();}function _0x5ebf(_0x42aba9,_0x374c05){_0x42aba9=_0x42aba9-0xb2;const _0x466926=_0x4669();let _0x5ebf7b=_0x466926[_0x42aba9];return _0x5ebf7b;}const ASSET_POINTER_KEY=_0x581a87(0xc0);const EDITOR_ASSET_ID_KEY=_0x581a87(0xb6);class TAssetPointer extends TSmartPointer{get[_0x581a87(0xb9)](){const _0x5a8894=_0x581a87;return this[_0x5a8894(0xc3)];}constructor(_0x4d2f2f,_0x43be12=0x0){const _0x2a1002=_0x581a87;super(_0x4d2f2f,_0x43be12),this[_0x2a1002(0xc3)]=_0x4d2f2f[_0x2a1002(0xb9)],_0x4d2f2f['userData'][ASSET_POINTER_KEY]=this;}[_0x581a87(0xc2)](){const _0x4a796=_0x581a87;this[_0x4a796(0xb4)]&&(this[_0x4a796(0xb4)][_0x4a796(0xb8)]&&(delete this['value'][_0x4a796(0xb8)][ASSET_POINTER_KEY],delete this[_0x4a796(0xb4)][_0x4a796(0xb8)][EDITOR_ASSET_ID_KEY]),typeof this[_0x4a796(0xb4)][_0x4a796(0xc2)]===_0x4a796(0xbf)&&this[_0x4a796(0xb4)][_0x4a796(0xc2)]()),super[_0x4a796(0xc2)]();}}
|
|
40
49
|
|
|
41
|
-
const
|
|
50
|
+
const _0x410648=_0x14b9;function _0x14b9(_0x82a19a,_0x53bb5a){_0x82a19a=_0x82a19a-0x188;const _0x55c707=_0x55c7();let _0x14b93f=_0x55c707[_0x82a19a];return _0x14b93f;}(function(_0x46b53a,_0x1cb1bf){const _0xa86eee=_0x14b9,_0x567ccd=_0x46b53a();while(!![]){try{const _0x5bd79=parseInt(_0xa86eee(0x1a0))/0x1*(-parseInt(_0xa86eee(0x18d))/0x2)+-parseInt(_0xa86eee(0x19d))/0x3*(-parseInt(_0xa86eee(0x18e))/0x4)+parseInt(_0xa86eee(0x192))/0x5+parseInt(_0xa86eee(0x189))/0x6*(parseInt(_0xa86eee(0x190))/0x7)+parseInt(_0xa86eee(0x195))/0x8+-parseInt(_0xa86eee(0x19b))/0x9+-parseInt(_0xa86eee(0x194))/0xa*(parseInt(_0xa86eee(0x19a))/0xb);if(_0x5bd79===_0x1cb1bf)break;else _0x567ccd['push'](_0x567ccd['shift']());}catch(_0x59367f){_0x567ccd['push'](_0x567ccd['shift']());}}}(_0x55c7,0x4f520));function _0x55c7(){const _0x32d79a=['removeTexture','55QiEKup','1785573nwUJKq','set','3PFfzpC','setTexture','get','108619mBAMga','textures','clear','102wYFlLX','dispose','getValue','release','2bLELBs','938324GiRbhu','needsUpdate','226541YouUtL','delete','715200OtuhQC','Texture\x20is\x20null','917650NgRmfz','1303560bvAXWA','values','texturePointers','addRef'];_0x55c7=function(){return _0x32d79a;};return _0x55c7();}class MaterialAssetPointer extends TAssetPointer{constructor(_0x9ca89c,_0x4dec44,_0x198531=0x0){const _0x5311af=_0x14b9;super(_0x9ca89c,_0x198531),this[_0x5311af(0x1a1)]=_0x4dec44;}get[_0x410648(0x197)](){return this['textures'];}[_0x410648(0x19e)](_0x59788a,_0x515052){const _0x5ca0c7=_0x410648,_0x42b92e=this[_0x5ca0c7(0x18b)](),_0x5b9c14=_0x515052[_0x5ca0c7(0x18b)]();if(!_0x5b9c14)throw new Error(_0x5ca0c7(0x193));if(!_0x42b92e)throw new Error('Material\x20is\x20null');const _0x30a43b=this[_0x5ca0c7(0x1a1)][_0x5ca0c7(0x19f)](_0x59788a);_0x30a43b!==_0x515052&&(_0x30a43b&&_0x30a43b[_0x5ca0c7(0x18c)](),this[_0x5ca0c7(0x1a1)][_0x5ca0c7(0x19c)](_0x59788a,_0x515052),_0x42b92e[_0x59788a]=_0x5b9c14,_0x515052[_0x5ca0c7(0x198)](),_0x42b92e[_0x5ca0c7(0x18f)]=!![]);}[_0x410648(0x199)](_0xdbd355){const _0x3a6124=_0x410648,_0x141d69=this[_0x3a6124(0x18b)](),_0x5f1e91=this[_0x3a6124(0x1a1)][_0x3a6124(0x19f)](_0xdbd355);_0x5f1e91&&(_0x5f1e91[_0x3a6124(0x18c)](),this['textures'][_0x3a6124(0x191)](_0xdbd355),_0x141d69&&(_0x141d69[_0xdbd355]=null,_0x141d69[_0x3a6124(0x18f)]=!![]));}['dispose'](){const _0x58f5b6=_0x410648;for(const _0x44dacc of this[_0x58f5b6(0x1a1)][_0x58f5b6(0x196)]()){_0x44dacc['release']();}this[_0x58f5b6(0x1a1)][_0x58f5b6(0x188)](),super[_0x58f5b6(0x18a)]();}}
|
|
42
51
|
|
|
43
|
-
(function(
|
|
52
|
+
function _0x3cfa(){var _0x4384f7=['520472PrJVtj','3918zywEpN','6ppbLXu','963549iZAYOm','20ZyPhbY','1275624nuefMF','186hkVavl','133127xnhlun','52190dDXIqt','367800MDDAzm'];_0x3cfa=function(){return _0x4384f7;};return _0x3cfa();}function _0x3311(_0x1f6223,_0x236f1e){_0x1f6223=_0x1f6223-0x117;var _0x3cfa0f=_0x3cfa();var _0x33119a=_0x3cfa0f[_0x1f6223];return _0x33119a;}(function(_0x274916,_0x1b0941){var _0x2d56d3=_0x3311,_0x2ad6f9=_0x274916();while(!![]){try{var _0x1c046e=-parseInt(_0x2d56d3(0x11d))/0x1+parseInt(_0x2d56d3(0x11c))/0x2*(parseInt(_0x2d56d3(0x117))/0x3)+parseInt(_0x2d56d3(0x120))/0x4+parseInt(_0x2d56d3(0x11e))/0x5*(parseInt(_0x2d56d3(0x118))/0x6)+-parseInt(_0x2d56d3(0x11b))/0x7+-parseInt(_0x2d56d3(0x11f))/0x8+parseInt(_0x2d56d3(0x119))/0x9*(parseInt(_0x2d56d3(0x11a))/0xa);if(_0x1c046e===_0x1b0941)break;else _0x2ad6f9['push'](_0x2ad6f9['shift']());}catch(_0x5badbe){_0x2ad6f9['push'](_0x2ad6f9['shift']());}}}(_0x3cfa,0x1c072));class TextureAssetPointer extends TAssetPointer{constructor(_0x4c4097,_0x7e839a=0x1){super(_0x4c4097,_0x7e839a);}}
|
|
44
53
|
|
|
45
|
-
function
|
|
54
|
+
function _0x5496(_0x2d6ee2,_0x5cd722){_0x2d6ee2=_0x2d6ee2-0x170;var _0x40f4d0=_0x40f4();var _0x5496c7=_0x40f4d0[_0x2d6ee2];return _0x5496c7;}(function(_0x4fbfac,_0x16dcd4){var _0x397b84=_0x5496,_0xc15eda=_0x4fbfac();while(!![]){try{var _0x23786d=parseInt(_0x397b84(0x175))/0x1*(-parseInt(_0x397b84(0x171))/0x2)+parseInt(_0x397b84(0x174))/0x3+parseInt(_0x397b84(0x176))/0x4+parseInt(_0x397b84(0x170))/0x5+-parseInt(_0x397b84(0x173))/0x6*(-parseInt(_0x397b84(0x179))/0x7)+parseInt(_0x397b84(0x17a))/0x8*(parseInt(_0x397b84(0x172))/0x9)+parseInt(_0x397b84(0x178))/0xa*(-parseInt(_0x397b84(0x177))/0xb);if(_0x23786d===_0x16dcd4)break;else _0xc15eda['push'](_0xc15eda['shift']());}catch(_0x3f2fd8){_0xc15eda['push'](_0xc15eda['shift']());}}}(_0x40f4,0x46918));class GeometryAssetPointer extends TAssetPointer{constructor(_0x55f150,_0x3c03ec=0x1){super(_0x55f150,_0x3c03ec);}}function _0x40f4(){var _0x586db4=['310rcZGoI','17801QbitGM','175144PvkLYn','421570DlnumP','460058IAeiQD','117uGUJoC','642UIfgYB','1439652cJruUC','1kFZLTx','1892872WaerxE','381469ALrPjU'];_0x40f4=function(){return _0x586db4;};return _0x40f4();}
|
|
46
55
|
|
|
47
|
-
function _0x12b9(_0x58a7a3,_0x45b459){_0x58a7a3=_0x58a7a3-0xce;const _0x185cd0=_0x185c();let _0x12b93c=_0x185cd0[_0x58a7a3];return _0x12b93c;}const _0x3b134a=_0x12b9;(function(_0x2dcdca,_0x16ca76){const _0x260a62=_0x12b9,_0x31bb49=_0x2dcdca();while(!![]){try{const _0x5ecbda=-parseInt(_0x260a62(0xe8))/0x1*(-parseInt(_0x260a62(0x103))/0x2)+-parseInt(_0x260a62(0xe3))/0x3+parseInt(_0x260a62(0xda))/0x4+parseInt(_0x260a62(0x11c))/0x5+parseInt(_0x260a62(0xfa))/0x6*(parseInt(_0x260a62(0xe1))/0x7)+-parseInt(_0x260a62(0x101))/0x8*(-parseInt(_0x260a62(0xcf))/0x9)+-parseInt(_0x260a62(0xeb))/0xa;if(_0x5ecbda===_0x16ca76)break;else _0x31bb49['push'](_0x31bb49['shift']());}catch(_0x3e1672){_0x31bb49['push'](_0x31bb49['shift']());}}}(_0x185c,0x83b6f));function _0x185c(){const _0x2cab6e=['Worker','loadGltfFromPathAsync','addGeometryAsset','4860360ZmpAsJ','loadingManager','decoderConfig','9DQxoyA','position','clone','setScale','set','addTextureAsset','call','entries','_dracoPatched','geometryAssets','name','3281476LxXStU','init','Group','Object3D','onError','setupDracoLoader','dracoLoader','58961ZxhNQI','materialAssets','380052BvsUTH','addRef','get','material','/SceneResource/draco/','1jyiUql','layers','setPosition','34431150OooQQu','assetPointer','assign','geometry','materials','values','parse','convertThreeObjectToLYObject','textures','onProgress','load','LoadingManager','prototype','onLoad','bind','474MqFUcz','postMessage','addAsset','forEach','hasOwnProperty','forceRelease','release','5524856CaOTWM','isMesh','1921674rcPieI','manager','loadGltfFromPath','isArray','addMaterialAsset','geometries','collectResourcesAndReferences','loadGltfFromBuffer','app','clear','type','loadFile','setRotation','onStart','children','releaseAsset','textureAssets','object','scale','userData','gltfLoader','uuid'];_0x185c=function(){return _0x2cab6e;};return _0x185c();}class AssetManager{constructor(_0x40f7fc){const _0x4825e3=_0x12b9;this[_0x4825e3(0xd8)]=new Map(),this[_0x4825e3(0x113)]=new Map(),this[_0x4825e3(0xe2)]=new Map(),this[_0x4825e3(0xe0)]=null,this[_0x4825e3(0x11d)]=new webgpu.LoadingManager(),this[_0x4825e3(0x117)]=new Addons_js.GLTFLoader(this[_0x4825e3(0x11d)]),this[_0x4825e3(0x10b)]=_0x40f7fc;}get[_0x3b134a(0xf6)](){const _0x2a2fd8=_0x3b134a;return this[_0x2a2fd8(0x11d)];}async[_0x3b134a(0xdb)](){return;}[_0x3b134a(0xdf)](_0x3d8bd5){const _0x4d54e3=_0x3b134a;if(!this[_0x4d54e3(0xe0)]){this[_0x4d54e3(0xe0)]=new Addons_js.DRACOLoader();if(this[_0x4d54e3(0xe0)][_0x4d54e3(0x104)]){const _0x4481a7=this[_0x4d54e3(0xe0)][_0x4d54e3(0x104)];_0x4481a7[_0x4d54e3(0x110)]=undefined,_0x4481a7[_0x4d54e3(0xf8)]=undefined,_0x4481a7[_0x4d54e3(0xf4)]=undefined,_0x4481a7[_0x4d54e3(0xde)]=undefined;}this[_0x4d54e3(0xe0)]['setDecoderPath'](_0x3d8bd5);const _0x270405=window[_0x4d54e3(0x119)];if(_0x270405&&!_0x270405[_0x4d54e3(0xd7)]){_0x270405[_0x4d54e3(0xd7)]=!![],window['Worker']=function(_0x2bbe7d,_0x54829c){const _0x109a50=_0x4d54e3,_0x104657=new _0x270405(_0x2bbe7d,_0x54829c),_0x4573cc=_0x104657[_0x109a50(0xfb)][_0x109a50(0xf9)](_0x104657);return _0x104657[_0x109a50(0xfb)]=function(_0x2eaae6,_0x555b86){const _0x576052=_0x109a50;if(_0x2eaae6&&_0x2eaae6['decoderConfig']&&typeof _0x2eaae6[_0x576052(0xce)]===_0x576052(0x114)){const _0xdd64f2=_0x2eaae6[_0x576052(0xce)],_0x23a118={};for(const _0x2d503f in _0xdd64f2){Object[_0x576052(0xf7)][_0x576052(0xfe)][_0x576052(0xd5)](_0xdd64f2,_0x2d503f)&&(_0x23a118[_0x2d503f]=_0xdd64f2[_0x2d503f]);}_0x2eaae6=Object['assign'](Object[_0x576052(0xed)]({},_0x2eaae6),{'decoderConfig':_0x23a118});}return _0x4573cc(_0x2eaae6,_0x555b86);},_0x104657;};for(const _0xb735e1 in _0x270405){Object[_0x4d54e3(0xf7)][_0x4d54e3(0xfe)]['call'](_0x270405,_0xb735e1)&&(window[_0x4d54e3(0x119)][_0xb735e1]=_0x270405[_0xb735e1]);}}this['dracoLoader']['preload'](),this[_0x4d54e3(0x117)]['setDRACOLoader'](this['dracoLoader']);}}[_0x3b134a(0xf2)](_0x560d1d,_0x379ba1){const _0x294bfc=_0x3b134a,_0xaad68c=_0x379ba1[_0x294bfc(0xd0)][_0x294bfc(0xd1)](),_0x222e14=_0x379ba1['rotation'][_0x294bfc(0xd1)](),_0x2d5193=_0x379ba1[_0x294bfc(0x115)][_0x294bfc(0xd1)]();let _0x23514e=null;const _0x1cc265=_0x379ba1[_0x294bfc(0x111)];_0x379ba1['children']=[];if(_0x379ba1[_0x294bfc(0x10d)]===_0x294bfc(0xdc)||_0x379ba1['type']===_0x294bfc(0xdd))_0x23514e=new SceneComponent(this[_0x294bfc(0x10b)],_0x379ba1[_0x294bfc(0x118)]);else {if(_0x379ba1['isInstancedMesh']){const _0x3ea4bb=_0x379ba1;_0x23514e=new InstanceMeshComponent(this[_0x294bfc(0x10b)],_0x3ea4bb,_0x3ea4bb['uuid']),_0x23514e[_0x294bfc(0xd9)]=_0x3ea4bb[_0x294bfc(0xd9)],_0x379ba1[_0x294bfc(0xe9)][_0x294bfc(0xd3)](0x0);}else {if(_0x379ba1[_0x294bfc(0x102)]){const _0x23b30d=_0x379ba1;_0x23514e=new MeshComponent(this[_0x294bfc(0x10b)],_0x23b30d[_0x294bfc(0xee)],_0x23b30d[_0x294bfc(0xe6)],_0x23b30d['uuid']),_0x23514e['name']=_0x23b30d[_0x294bfc(0xd9)],_0x379ba1['layers'][_0x294bfc(0xd3)](0x0);}else _0x23514e=new SceneComponent(this[_0x294bfc(0x10b)],_0x379ba1[_0x294bfc(0x118)]);}}if(_0x23514e===null)return _0x379ba1[_0x294bfc(0x111)]=_0x1cc265,null;_0x560d1d['addChildComponent'](_0x23514e),_0x23514e[_0x294bfc(0xea)](_0xaad68c),_0x23514e[_0x294bfc(0x10f)](_0x222e14),_0x23514e[_0x294bfc(0xd2)](_0x2d5193);for(const _0xb79c75 of _0x1cc265){this['convertThreeObjectToLYObject'](_0x23514e,_0xb79c75);}return _0x23514e;}[_0x3b134a(0x109)](_0x15171d){const _0x2dccb4=_0x3b134a,_0x4cefb3=(_0x47b504,_0x238139)=>{const _0x570ee4=_0x12b9;var _0x7269b2;const _0x970b30=(_0x7269b2=_0x47b504[_0x570ee4(0xe5)](_0x238139))!==null&&_0x7269b2!==void 0?_0x7269b2:0x0;_0x47b504[_0x570ee4(0xd3)](_0x238139,_0x970b30+0x1);},_0x3139a6={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x15171d['traverse'](_0x2283fa=>{const _0x181128=_0x12b9,_0xf82e2a=_0x2283fa;_0xf82e2a['geometry']instanceof webgpu.BufferGeometry&&_0x4cefb3(_0x3139a6[_0x181128(0x108)],_0xf82e2a['geometry']);if(_0xf82e2a[_0x181128(0xe6)]){const _0x48b6cf=Array[_0x181128(0x106)](_0xf82e2a[_0x181128(0xe6)])?_0xf82e2a['material']:[_0xf82e2a[_0x181128(0xe6)]];_0x48b6cf['forEach'](_0x105cd4=>{_0x105cd4&&(_0x4cefb3(_0x3139a6['materials'],_0x105cd4),Object['values'](_0x105cd4)['forEach'](_0x5bf8d8=>{_0x5bf8d8 instanceof webgpu.Texture&&_0x4cefb3(_0x3139a6['textures'],_0x5bf8d8);}));});}}),_0x3139a6[_0x2dccb4(0x108)]['forEach']((_0x141533,_0x24799e)=>this[_0x2dccb4(0xfc)](_0x24799e,_0x141533)),_0x3139a6[_0x2dccb4(0xef)][_0x2dccb4(0xfd)]((_0xfef5eb,_0x184572)=>this[_0x2dccb4(0xfc)](_0x184572,_0xfef5eb)),_0x3139a6[_0x2dccb4(0xf3)][_0x2dccb4(0xfd)]((_0x25399e,_0x45ca5e)=>this[_0x2dccb4(0xfc)](_0x45ca5e,_0x25399e));}['checkMeshResource'](_0x2328b1){const _0x1a870b=_0x3b134a;_0x2328b1['geometry']&&!_0x2328b1[_0x1a870b(0xee)][_0x1a870b(0x116)]['assetPointer']&&this[_0x1a870b(0xfc)](_0x2328b1[_0x1a870b(0xee)]);if(_0x2328b1['material']){const _0x5a8acc=Array['isArray'](_0x2328b1['material'])?_0x2328b1['material']:[_0x2328b1[_0x1a870b(0xe6)]];_0x5a8acc[_0x1a870b(0xfd)](_0x577587=>{const _0x2a75c2=_0x1a870b;if(!_0x577587)return;!_0x577587[_0x2a75c2(0x116)][_0x2a75c2(0xec)]&&this[_0x2a75c2(0xfc)](_0x577587),Object[_0x2a75c2(0xf0)](_0x577587)[_0x2a75c2(0xfd)](_0x1c941a=>{const _0x4ab837=_0x2a75c2;_0x1c941a instanceof webgpu.Texture&&!_0x1c941a[_0x4ab837(0x116)][_0x4ab837(0xec)]&&this['addAsset'](_0x1c941a);});});}}async[_0x3b134a(0x11a)](_0x41f35e){const _0xc751ee=_0x3b134a;return this[_0xc751ee(0xdf)](_0xc751ee(0xe7)),await this['gltfLoader']['loadAsync'](_0x41f35e);}[_0x3b134a(0x105)](_0x1d31ab,_0x346734){const _0x3b57e6=_0x3b134a;this['setupDracoLoader'](_0x3b57e6(0xe7)),this[_0x3b57e6(0x117)][_0x3b57e6(0xf5)](_0x1d31ab,_0x346734);}[_0x3b134a(0x10a)](_0x3151bf,_0x11a52b,_0x1eaf49){const _0x1ad709=_0x3b134a;this[_0x1ad709(0xdf)]('/SceneResource/draco/'),this[_0x1ad709(0x117)][_0x1ad709(0xf1)](_0x3151bf,_0x11a52b,_0x1eaf49);}[_0x3b134a(0x10e)](_0x24c798='',_0x485781){const _0x611fc7=_0x3b134a,_0x23525a=new webgpu.FileLoader();_0x23525a[_0x611fc7(0xf5)](_0x24c798,_0x485781);}[_0x3b134a(0xfc)](_0x2fb4ec,_0x4b8389=0x0){const _0x28dfa8=_0x3b134a;if(_0x2fb4ec instanceof webgpu.BufferGeometry)return this['addGeometryAsset'](_0x2fb4ec,_0x4b8389);if(_0x2fb4ec instanceof webgpu.Material)return this[_0x28dfa8(0x107)](_0x2fb4ec,_0x4b8389);if(_0x2fb4ec instanceof webgpu.Texture)return this['addTextureAsset'](_0x2fb4ec,_0x4b8389);return undefined;}['addMaterialAsset'](_0x1a62bd,_0x127d38=0x0){const _0x582423=_0x3b134a;let _0x4f726a=_0x1a62bd[_0x582423(0x116)][_0x582423(0xec)];if(!_0x4f726a){const _0x4cb664=new Map();Object[_0x582423(0xd6)](_0x1a62bd)[_0x582423(0xfd)](([_0x44720f,_0x1ab558])=>{const _0x34a88c=_0x582423;if(_0x1ab558 instanceof webgpu.Texture){const _0x2d4a69=this[_0x34a88c(0xd4)](_0x1ab558,0x1);_0x4cb664[_0x34a88c(0xd3)](_0x44720f,_0x2d4a69);}}),_0x4f726a=new MaterialAssetPointer(_0x1a62bd,_0x4cb664,_0x127d38),this[_0x582423(0xe2)][_0x582423(0xd3)](_0x1a62bd[_0x582423(0x118)],_0x4f726a);}else _0x4f726a[_0x582423(0xe4)](_0x127d38);return _0x4f726a;}[_0x3b134a(0xd4)](_0x46c90f,_0x3df651=0x0){const _0x12bae2=_0x3b134a;let _0x456bcc=_0x46c90f[_0x12bae2(0x116)][_0x12bae2(0xec)];return !_0x456bcc?(_0x456bcc=new TextureAssetPointer(_0x46c90f,_0x3df651),this[_0x12bae2(0x113)][_0x12bae2(0xd3)](_0x46c90f[_0x12bae2(0x118)],_0x456bcc)):_0x456bcc[_0x12bae2(0xe4)](_0x3df651),_0x456bcc;}[_0x3b134a(0x11b)](_0x43b533,_0x461469=0x0){const _0x221734=_0x3b134a;let _0x315886=_0x43b533[_0x221734(0x116)][_0x221734(0xec)];return !_0x315886?(_0x315886=new GeometryAssetPointer(_0x43b533,_0x461469),this[_0x221734(0xd8)][_0x221734(0xd3)](_0x43b533[_0x221734(0x118)],_0x315886)):_0x315886[_0x221734(0xe4)](_0x461469),_0x315886;}[_0x3b134a(0x112)](_0x471afe){const _0x129d8a=_0x3b134a,_0x2f02fd=_0x471afe[_0x129d8a(0x116)][_0x129d8a(0xec)];_0x2f02fd?_0x2f02fd[_0x129d8a(0x100)]():_0x471afe['dispose']();}['clearAssets'](){const _0x460763=_0x3b134a;this[_0x460763(0xd8)][_0x460763(0xfd)](_0x2bcd04=>_0x2bcd04[_0x460763(0xff)]()),this['geometryAssets'][_0x460763(0x10c)](),this[_0x460763(0xe2)][_0x460763(0xfd)](_0x3b1001=>_0x3b1001[_0x460763(0xff)]()),this[_0x460763(0xe2)][_0x460763(0x10c)](),this[_0x460763(0x113)][_0x460763(0xfd)](_0xd57e9c=>_0xd57e9c['forceRelease']()),this[_0x460763(0x113)]['clear']();}}
|
|
56
|
+
function _0x2fbb(){const _0x376fa0=['layers','onProgress','6176324HUJVpi','release','textures','setTranscoderPath','clear','position','clearAssets','addMaterialAsset','isArray','onStart','setKTX2Loader','preload','geometries','convertThreeObjectToLYObject','7121744xrlTEi','211366xjVEMF','./SceneResource/draco/','entries','forEach','27oAKCrY','uuid','3108918DjUSDa','loadingManager','_dracoLoader','addRef','11381755mEUksm','get','addTextureAsset','materialAssets','isMesh','AssetManager:\x20Renderer\x20not\x20available\x20for\x20KTX2Loader\x20detection.','init','onLoad','16iVKIDb','isInstancedMesh','setupDracoLoader','Failed\x20to\x20load\x20gltf','addAsset','warn','LoadingManager','setupKTX2Loader','setDRACOLoader','collectResourcesAndReferences','loadGltfFromPathAsync','526059kJsjDL','textureAssets','parse','children','scale','gltfLoader','setScale','set','userData','manager','5AqcMVH','geometryAssets','clone','_ktx2Loader','setDecoderPath','checkMeshResource','type','renderer','loadAsync','addGeometryAsset','viewport','geometry','KTX2Loader','addChildComponent','forceRelease','name','2XAUiLT','dispose','material','app','releaseAsset','materials','loadGltfFromBuffer','setPosition','Object3D','1312260KpCeCV','assetPointer'];_0x2fbb=function(){return _0x376fa0;};return _0x2fbb();}const _0x10c4eb=_0x3d17;(function(_0x4c1e1a,_0x3d484e){const _0x15ecc9=_0x3d17,_0x1a3d4d=_0x4c1e1a();while(!![]){try{const _0x1ab30f=-parseInt(_0x15ecc9(0x185))/0x1*(parseInt(_0x15ecc9(0x1bc))/0x2)+parseInt(_0x15ecc9(0x1a2))/0x3*(parseInt(_0x15ecc9(0x197))/0x4)+-parseInt(_0x15ecc9(0x1ac))/0x5*(parseInt(_0x15ecc9(0x18b))/0x6)+parseInt(_0x15ecc9(0x1c9))/0x7+-parseInt(_0x15ecc9(0x184))/0x8+parseInt(_0x15ecc9(0x189))/0x9*(-parseInt(_0x15ecc9(0x1c5))/0xa)+parseInt(_0x15ecc9(0x18f))/0xb;if(_0x1ab30f===_0x3d484e)break;else _0x1a3d4d['push'](_0x1a3d4d['shift']());}catch(_0x467fd9){_0x1a3d4d['push'](_0x1a3d4d['shift']());}}}(_0x2fbb,0x93b6a));function _0x3d17(_0x468784,_0x3ac98a){_0x468784=_0x468784-0x17d;const _0x2fbb26=_0x2fbb();let _0x3d177f=_0x2fbb26[_0x468784];return _0x3d177f;}class AssetManager{constructor(_0x377214){const _0x878682=_0x3d17;this[_0x878682(0x1ad)]=new Map(),this[_0x878682(0x1a3)]=new Map(),this['materialAssets']=new Map(),this[_0x878682(0x18c)]=new webgpu.LoadingManager(),this[_0x878682(0x1a7)]=new Addons_js.GLTFLoader(this[_0x878682(0x18c)]),this[_0x878682(0x1bf)]=_0x377214;}get[_0x10c4eb(0x19d)](){const _0x50506e=_0x10c4eb;return this[_0x50506e(0x18c)];}get[_0x10c4eb(0x1b8)](){const _0x4c377b=_0x10c4eb;return AssetManager[_0x4c377b(0x1af)];}async[_0x10c4eb(0x195)](){return;}async[_0x10c4eb(0x19e)](_0x35bc9b){const _0x4d7234=_0x10c4eb;!AssetManager[_0x4d7234(0x1af)]&&(AssetManager[_0x4d7234(0x1af)]=new Addons_js.KTX2Loader(),AssetManager['_ktx2Loader'][_0x4d7234(0x1cc)](_0x35bc9b),this['app'][_0x4d7234(0x1b6)]&&this[_0x4d7234(0x1bf)][_0x4d7234(0x1b6)][_0x4d7234(0x1b3)]?(await this[_0x4d7234(0x1bf)][_0x4d7234(0x1b6)][_0x4d7234(0x1b3)]['init'](),AssetManager[_0x4d7234(0x1af)]['detectSupport'](this[_0x4d7234(0x1bf)]['viewport'][_0x4d7234(0x1b3)])):console[_0x4d7234(0x19c)](_0x4d7234(0x194)));}[_0x10c4eb(0x199)](_0x41c23d){const _0x5c2666=_0x10c4eb;if(!AssetManager[_0x5c2666(0x18d)]){AssetManager['_dracoLoader']=new Addons_js.DRACOLoader();if(AssetManager['_dracoLoader'][_0x5c2666(0x1ab)]){const _0x4c4897=AssetManager[_0x5c2666(0x18d)][_0x5c2666(0x1ab)];_0x4c4897[_0x5c2666(0x17f)]=undefined,_0x4c4897[_0x5c2666(0x196)]=undefined,_0x4c4897[_0x5c2666(0x1c8)]=undefined,_0x4c4897['onError']=undefined;}AssetManager[_0x5c2666(0x18d)][_0x5c2666(0x1b0)](_0x41c23d),AssetManager[_0x5c2666(0x18d)][_0x5c2666(0x181)]();}}[_0x10c4eb(0x183)](_0x2da6ed,_0x35ec57){const _0x5e9cd0=_0x10c4eb,_0x144324=_0x35ec57[_0x5e9cd0(0x1ce)][_0x5e9cd0(0x1ae)](),_0x534fab=_0x35ec57['rotation'][_0x5e9cd0(0x1ae)](),_0x3880b0=_0x35ec57[_0x5e9cd0(0x1a6)][_0x5e9cd0(0x1ae)]();let _0x196134=null;const _0x545ccf=_0x35ec57['children'];_0x35ec57[_0x5e9cd0(0x1a5)]=[];if(_0x35ec57[_0x5e9cd0(0x1b2)]==='Group'||_0x35ec57['type']===_0x5e9cd0(0x1c4))_0x196134=new SceneComponent(this[_0x5e9cd0(0x1bf)],_0x35ec57[_0x5e9cd0(0x18a)]);else {if(_0x35ec57[_0x5e9cd0(0x198)]){const _0x200231=_0x35ec57;_0x196134=new InstanceMeshComponent(this[_0x5e9cd0(0x1bf)],_0x200231,_0x200231['uuid']),_0x196134[_0x5e9cd0(0x1bb)]=_0x200231[_0x5e9cd0(0x1bb)],_0x35ec57[_0x5e9cd0(0x1c7)][_0x5e9cd0(0x1a9)](0x0);}else {if(_0x35ec57[_0x5e9cd0(0x193)]){const _0x476105=_0x35ec57;_0x196134=new MeshComponent(this[_0x5e9cd0(0x1bf)],_0x476105[_0x5e9cd0(0x1b7)],_0x476105[_0x5e9cd0(0x1be)],_0x476105[_0x5e9cd0(0x18a)]),_0x196134[_0x5e9cd0(0x1bb)]=_0x476105[_0x5e9cd0(0x1bb)],_0x35ec57[_0x5e9cd0(0x1c7)]['set'](0x0);}else _0x196134=new SceneComponent(this['app'],_0x35ec57[_0x5e9cd0(0x18a)]);}}if(_0x196134===null)return _0x35ec57[_0x5e9cd0(0x1a5)]=_0x545ccf,null;_0x2da6ed[_0x5e9cd0(0x1b9)](_0x196134),_0x196134[_0x5e9cd0(0x1c3)](_0x144324),_0x196134['setRotation'](_0x534fab),_0x196134[_0x5e9cd0(0x1a8)](_0x3880b0);for(const _0x4e44ea of _0x545ccf){this['convertThreeObjectToLYObject'](_0x196134,_0x4e44ea);}return _0x196134;}[_0x10c4eb(0x1a0)](_0x412710){const _0x39c999=_0x10c4eb,_0xc0005d=(_0x645968,_0x241c2b)=>{const _0x4c68d0=_0x3d17;var _0x351600;const _0x3d2b15=(_0x351600=_0x645968[_0x4c68d0(0x190)](_0x241c2b))!==null&&_0x351600!==void 0?_0x351600:0x0;_0x645968['set'](_0x241c2b,_0x3d2b15+0x1);},_0x156437={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x412710['traverse'](_0x42e6d9=>{const _0x26a207=_0x3d17,_0x32a4e2=_0x42e6d9;_0x32a4e2[_0x26a207(0x1b7)]instanceof webgpu.BufferGeometry&&_0xc0005d(_0x156437[_0x26a207(0x182)],_0x32a4e2[_0x26a207(0x1b7)]);if(_0x32a4e2[_0x26a207(0x1be)]){const _0x3b7b8a=Array[_0x26a207(0x17e)](_0x32a4e2['material'])?_0x32a4e2[_0x26a207(0x1be)]:[_0x32a4e2[_0x26a207(0x1be)]];_0x3b7b8a[_0x26a207(0x188)](_0x153f07=>{const _0x267eef=_0x26a207;_0x153f07&&(_0xc0005d(_0x156437['materials'],_0x153f07),Object['values'](_0x153f07)[_0x267eef(0x188)](_0x1ccb5a=>{const _0x36ceb2=_0x267eef;_0x1ccb5a instanceof webgpu.Texture&&_0xc0005d(_0x156437[_0x36ceb2(0x1cb)],_0x1ccb5a);}));});}}),_0x156437['geometries'][_0x39c999(0x188)]((_0x467c21,_0x240f27)=>this[_0x39c999(0x19b)](_0x240f27,_0x467c21)),_0x156437[_0x39c999(0x1c1)][_0x39c999(0x188)]((_0x1bcd9e,_0x2023ae)=>this['addAsset'](_0x2023ae,_0x1bcd9e)),_0x156437[_0x39c999(0x1cb)]['forEach']((_0x2a0ea9,_0x2368a4)=>this[_0x39c999(0x19b)](_0x2368a4,_0x2a0ea9));}[_0x10c4eb(0x1b1)](_0x31110b){const _0xd8ea25=_0x10c4eb;_0x31110b[_0xd8ea25(0x1b7)]&&!_0x31110b[_0xd8ea25(0x1b7)][_0xd8ea25(0x1aa)][_0xd8ea25(0x1c6)]&&this[_0xd8ea25(0x19b)](_0x31110b[_0xd8ea25(0x1b7)]);if(_0x31110b[_0xd8ea25(0x1be)]){const _0x2de34c=Array['isArray'](_0x31110b['material'])?_0x31110b[_0xd8ea25(0x1be)]:[_0x31110b[_0xd8ea25(0x1be)]];_0x2de34c[_0xd8ea25(0x188)](_0x2348e5=>{const _0x1cdd67=_0xd8ea25;if(!_0x2348e5)return;!_0x2348e5[_0x1cdd67(0x1aa)][_0x1cdd67(0x1c6)]&&this['addAsset'](_0x2348e5),Object['values'](_0x2348e5)['forEach'](_0x44dff1=>{const _0xf4a88b=_0x1cdd67;_0x44dff1 instanceof webgpu.Texture&&!_0x44dff1['userData'][_0xf4a88b(0x1c6)]&&this[_0xf4a88b(0x19b)](_0x44dff1);});});}}async[_0x10c4eb(0x1a1)](_0x3e6e8e){const _0x3a95e6=_0x10c4eb;this[_0x3a95e6(0x199)](_0x3a95e6(0x186)),await this[_0x3a95e6(0x19e)]('./basis/');const _0x17fc43=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x3a95e6(0x18d)]&&_0x17fc43[_0x3a95e6(0x19f)](AssetManager[_0x3a95e6(0x18d)]);AssetManager[_0x3a95e6(0x1af)]&&_0x17fc43[_0x3a95e6(0x180)](AssetManager[_0x3a95e6(0x1af)]);try{const _0xe14263=await _0x17fc43[_0x3a95e6(0x1b4)](_0x3e6e8e);return _0xe14263;}catch(_0x5d2ef3){console['error'](_0x3a95e6(0x19a),_0x3e6e8e,_0x5d2ef3);throw _0x5d2ef3;}}['loadGltfFromPath'](_0x2868df,_0x4b818d){const _0x2b1ce1=_0x10c4eb;this['setupDracoLoader'](_0x2b1ce1(0x186));const _0x53eb53=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager[_0x2b1ce1(0x18d)]&&_0x53eb53[_0x2b1ce1(0x19f)](AssetManager[_0x2b1ce1(0x18d)]),_0x53eb53['load'](_0x2868df,_0x4b818d);}[_0x10c4eb(0x1c2)](_0x53ace8,_0x1ea5aa,_0x10e14b){const _0x531f3b=_0x10c4eb;this[_0x531f3b(0x199)](_0x531f3b(0x186));const _0x63d88b=new Addons_js.GLTFLoader(new webgpu.LoadingManager());AssetManager['_dracoLoader']&&_0x63d88b['setDRACOLoader'](AssetManager[_0x531f3b(0x18d)]),_0x63d88b[_0x531f3b(0x1a4)](_0x53ace8,_0x1ea5aa,_0x10e14b);}['loadFile'](_0x4ed2ae='',_0x3bf53d){const _0x7ab722=new webgpu.FileLoader();_0x7ab722['load'](_0x4ed2ae,_0x3bf53d);}[_0x10c4eb(0x19b)](_0x2b7b8f,_0x580967=0x0){const _0x4da7fd=_0x10c4eb;if(_0x2b7b8f instanceof webgpu.BufferGeometry)return this[_0x4da7fd(0x1b5)](_0x2b7b8f,_0x580967);if(_0x2b7b8f instanceof webgpu.Material)return this['addMaterialAsset'](_0x2b7b8f,_0x580967);if(_0x2b7b8f instanceof webgpu.Texture)return this['addTextureAsset'](_0x2b7b8f,_0x580967);return undefined;}[_0x10c4eb(0x17d)](_0x49ae69,_0x105a70=0x0){const _0x91c329=_0x10c4eb;let _0x472d1b=_0x49ae69[_0x91c329(0x1aa)][_0x91c329(0x1c6)];if(!_0x472d1b){const _0x1b9c4d=new Map();Object[_0x91c329(0x187)](_0x49ae69)[_0x91c329(0x188)](([_0x200d8d,_0x492cc4])=>{const _0x186b55=_0x91c329;if(_0x492cc4 instanceof webgpu.Texture){const _0x21e2da=this[_0x186b55(0x191)](_0x492cc4,0x1);_0x1b9c4d[_0x186b55(0x1a9)](_0x200d8d,_0x21e2da);}}),_0x472d1b=new MaterialAssetPointer(_0x49ae69,_0x1b9c4d,_0x105a70),this[_0x91c329(0x192)][_0x91c329(0x1a9)](_0x49ae69['uuid'],_0x472d1b);}else _0x472d1b['addRef'](_0x105a70);return _0x472d1b;}[_0x10c4eb(0x191)](_0x14fcc9,_0x489b58=0x0){const _0x3a69f8=_0x10c4eb;let _0x168e16=_0x14fcc9[_0x3a69f8(0x1aa)][_0x3a69f8(0x1c6)];return !_0x168e16?(_0x168e16=new TextureAssetPointer(_0x14fcc9,_0x489b58),this[_0x3a69f8(0x1a3)][_0x3a69f8(0x1a9)](_0x14fcc9[_0x3a69f8(0x18a)],_0x168e16)):_0x168e16['addRef'](_0x489b58),_0x168e16;}['addGeometryAsset'](_0x15b816,_0x44e19c=0x0){const _0x34640a=_0x10c4eb;let _0x4d4265=_0x15b816[_0x34640a(0x1aa)][_0x34640a(0x1c6)];return !_0x4d4265?(_0x4d4265=new GeometryAssetPointer(_0x15b816,_0x44e19c),this[_0x34640a(0x1ad)][_0x34640a(0x1a9)](_0x15b816['uuid'],_0x4d4265)):_0x4d4265[_0x34640a(0x18e)](_0x44e19c),_0x4d4265;}[_0x10c4eb(0x1c0)](_0xe1ee32){const _0x22bee3=_0x10c4eb,_0x4203d6=_0xe1ee32['userData'][_0x22bee3(0x1c6)];_0x4203d6?_0x4203d6[_0x22bee3(0x1ca)]():_0xe1ee32[_0x22bee3(0x1bd)]();}[_0x10c4eb(0x1bd)](){const _0x39b82b=_0x10c4eb;this[_0x39b82b(0x1cf)](),AssetManager[_0x39b82b(0x18d)]&&(AssetManager[_0x39b82b(0x18d)][_0x39b82b(0x1bd)](),AssetManager[_0x39b82b(0x18d)]=null),AssetManager[_0x39b82b(0x1af)]&&(AssetManager[_0x39b82b(0x1af)][_0x39b82b(0x1bd)](),AssetManager[_0x39b82b(0x1af)]=null);}['clearAssets'](){const _0x278866=_0x10c4eb;this[_0x278866(0x1ad)][_0x278866(0x188)](_0x39e30b=>_0x39e30b['forceRelease']()),this[_0x278866(0x1ad)][_0x278866(0x1cd)](),this[_0x278866(0x192)][_0x278866(0x188)](_0x5cace7=>_0x5cace7[_0x278866(0x1ba)]()),this[_0x278866(0x192)][_0x278866(0x1cd)](),this[_0x278866(0x1a3)]['forEach'](_0x5be232=>_0x5be232[_0x278866(0x1ba)]()),this[_0x278866(0x1a3)]['clear']();}}AssetManager[_0x10c4eb(0x18d)]=null,AssetManager['_ktx2Loader']=null;
|
|
48
57
|
|
|
49
|
-
(function(
|
|
58
|
+
function _0x18f3(){var _0x347c85=['code','13974770uiSinF','Geometry','Texture','loaded','Loaded','ActorManager','loading','External','16130lqyWOa','undefined','assetPointer','Code','9muGeAm','2635452icSRUv','5349496jLvwUE','unloaded','error','actorManager','Material','Error','material','5758083YJXFxJ','166575bRwUmK','7xQZyXC','HTML','actor','Component','11TVQYBx','geometry','174hHsYIb','Actor','texture','93865lVUoHV','html','Loading','Level','external'];_0x18f3=function(){return _0x347c85;};return _0x18f3();}(function(_0x29f5d4,_0xce9d48){var _0x1f8bc5=_0x8723,_0x159d96=_0x29f5d4();while(!![]){try{var _0x2507e3=-parseInt(_0x1f8bc5(0x11d))/0x1*(-parseInt(_0x1f8bc5(0x119))/0x2)+parseInt(_0x1f8bc5(0x101))/0x3+-parseInt(_0x1f8bc5(0x11e))/0x4+parseInt(_0x1f8bc5(0x10b))/0x5*(-parseInt(_0x1f8bc5(0x108))/0x6)+parseInt(_0x1f8bc5(0x102))/0x7*(parseInt(_0x1f8bc5(0x11f))/0x8)+-parseInt(_0x1f8bc5(0x100))/0x9+parseInt(_0x1f8bc5(0x111))/0xa*(parseInt(_0x1f8bc5(0x106))/0xb);if(_0x2507e3===_0xce9d48)break;else _0x159d96['push'](_0x159d96['shift']());}catch(_0x559fca){_0x159d96['push'](_0x159d96['shift']());}}}(_0x18f3,0x55be7));exports.AssetCategory = void 0;(function(_0x1ba247){var _0x110df3=_0x8723;_0x1ba247[_0x110df3(0x112)]='geometry',_0x1ba247[_0x110df3(0x123)]=_0x110df3(0xff),_0x1ba247[_0x110df3(0x113)]=_0x110df3(0x10a),_0x1ba247['Actor']=_0x110df3(0x104),_0x1ba247[_0x110df3(0x116)]=_0x110df3(0x122),_0x1ba247[_0x110df3(0x10e)]='level',_0x1ba247[_0x110df3(0x103)]=_0x110df3(0x10c),_0x1ba247[_0x110df3(0x11c)]=_0x110df3(0x110),_0x1ba247['Undefined']=_0x110df3(0x11a);}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;(function(_0x232030){var _0x4db0db=_0x8723;_0x232030['Unloaded']=_0x4db0db(0x120),_0x232030[_0x4db0db(0x10d)]=_0x4db0db(0x117),_0x232030[_0x4db0db(0x115)]=_0x4db0db(0x114),_0x232030[_0x4db0db(0xfe)]=_0x4db0db(0x121);}(exports.AssetLoadState||(exports.AssetLoadState={})));function _0x8723(_0xc1a72c,_0x1946b9){_0xc1a72c=_0xc1a72c-0xfe;var _0x18f3ac=_0x18f3();var _0x872317=_0x18f3ac[_0xc1a72c];return _0x872317;}exports.ReferenceType = void 0;(function(_0x424943){var _0x4b3259=_0x8723;_0x424943[_0x4b3259(0x109)]=_0x4b3259(0x104),_0x424943[_0x4b3259(0x105)]='component',_0x424943[_0x4b3259(0x123)]=_0x4b3259(0xff),_0x424943['Level']='level',_0x424943['AssetPointer']=_0x4b3259(0x11b),_0x424943[_0x4b3259(0x118)]=_0x4b3259(0x10f);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x7b19c1){var _0x5c4323=_0x8723;_0x7b19c1[_0x7b19c1['geometry']=0x1]=_0x5c4323(0x107),_0x7b19c1[_0x7b19c1[_0x5c4323(0xff)]=0x2]=_0x5c4323(0xff),_0x7b19c1[_0x7b19c1[_0x5c4323(0x10a)]=0x3]=_0x5c4323(0x10a),_0x7b19c1[_0x7b19c1['undefined']=-1]=_0x5c4323(0x11a);}(exports.AssetType||(exports.AssetType={})));
|
|
50
59
|
|
|
51
|
-
(function(
|
|
60
|
+
(function(_0x5e89cc,_0x5bba29){var _0x901ec4=_0x55f5,_0x30a907=_0x5e89cc();while(!![]){try{var _0x2ab7fd=parseInt(_0x901ec4(0xe6))/0x1*(-parseInt(_0x901ec4(0xe3))/0x2)+parseInt(_0x901ec4(0xe7))/0x3*(-parseInt(_0x901ec4(0xe5))/0x4)+parseInt(_0x901ec4(0xe2))/0x5+parseInt(_0x901ec4(0xf1))/0x6+-parseInt(_0x901ec4(0xea))/0x7*(-parseInt(_0x901ec4(0xf2))/0x8)+parseInt(_0x901ec4(0xe4))/0x9*(-parseInt(_0x901ec4(0xf5))/0xa)+-parseInt(_0x901ec4(0xeb))/0xb*(-parseInt(_0x901ec4(0xf3))/0xc);if(_0x2ab7fd===_0x5bba29)break;else _0x30a907['push'](_0x30a907['shift']());}catch(_0xc229d3){_0x30a907['push'](_0x30a907['shift']());}}}(_0x102a,0xe7b87));exports.CollisionResponse = void 0;(function(_0x480db0){var _0x2d11c5=_0x55f5;_0x480db0['Ignore']=_0x2d11c5(0xe0),_0x480db0['Overlap']=_0x2d11c5(0xee),_0x480db0[_0x2d11c5(0xe8)]=_0x2d11c5(0xe8);}(exports.CollisionResponse||(exports.CollisionResponse={})));exports.CollisionChannel = void 0;(function(_0x2445d3){var _0xf49624=_0x55f5;_0x2445d3['WorldStatic']=_0xf49624(0xf0),_0x2445d3[_0xf49624(0xed)]=_0xf49624(0xed),_0x2445d3['Pawn']=_0xf49624(0xf4),_0x2445d3['Visibility']=_0xf49624(0xdf),_0x2445d3[_0xf49624(0xe9)]='Camera',_0x2445d3[_0xf49624(0xec)]=_0xf49624(0xec);}(exports.CollisionChannel||(exports.CollisionChannel={})));exports.CollisionShapeType = void 0;function _0x55f5(_0x3801d5,_0xaded1f){_0x3801d5=_0x3801d5-0xdf;var _0x102a71=_0x102a();var _0x55f51b=_0x102a71[_0x3801d5];return _0x55f51b;}function _0x102a(){var _0x7b046b=['Visibility','Ignore','Box','4677405WXheFf','38422sQIicF','63ouQFON','68ffJfcj','18UmGcVK','226374jIlZXB','Block','Camera','7UMPDyn','2295117PkcyUt','Trigger','WorldDynamic','Overlap','Sphere','WorldStatic','2484264jejGTc','886632ejSJJO','108LezUZB','Pawn','1086380uxYFRD'];_0x102a=function(){return _0x7b046b;};return _0x102a();}(function(_0x518874){var _0xa11005=_0x55f5;_0x518874[_0xa11005(0xef)]=_0xa11005(0xef),_0x518874[_0xa11005(0xe1)]=_0xa11005(0xe1);}(exports.CollisionShapeType||(exports.CollisionShapeType={})));
|
|
52
61
|
|
|
53
|
-
function _0x4e1e(_0x2c806a,_0x3b6bdd){_0x2c806a=_0x2c806a-0xbe;var _0x55804e=_0x5580();var _0x4e1eb1=_0x55804e[_0x2c806a];return _0x4e1eb1;}var _0x354efd=_0x4e1e;(function(_0x5d5053,_0x597177){var _0x1d2361=_0x4e1e,_0x1eec0b=_0x5d5053();while(!![]){try{var _0x66d194=-parseInt(_0x1d2361(0xdf))/0x1+parseInt(_0x1d2361(0xca))/0x2+parseInt(_0x1d2361(0xc0))/0x3*(parseInt(_0x1d2361(0xc7))/0x4)+-parseInt(_0x1d2361(0xc8))/0x5*(-parseInt(_0x1d2361(0xd6))/0x6)+parseInt(_0x1d2361(0xe3))/0x7*(parseInt(_0x1d2361(0xd1))/0x8)+parseInt(_0x1d2361(0xe2))/0x9+-parseInt(_0x1d2361(0xde))/0xa*(parseInt(_0x1d2361(0xc4))/0xb);if(_0x66d194===_0x597177)break;else _0x1eec0b['push'](_0x1eec0b['shift']());}catch(_0x3502a0){_0x1eec0b['push'](_0x1eec0b['shift']());}}}(_0x5580,0x239b9));class World{get['scene'](){var _0x1fc673=_0x4e1e,_0x4955ad;let _0x247afb=(_0x4955ad=this[_0x1fc673(0xc3)])===null||_0x4955ad===void 0?void 0:_0x4955ad[_0x1fc673(0xd4)];if(!_0x247afb)throw new Error('scene\x20is\x20null');return _0x247afb;}get[_0x354efd(0xdc)](){var _0x1806b0=_0x354efd;return this[_0x1806b0(0xc1)][_0x1806b0(0xdc)];}get[_0x354efd(0xd0)](){return this['app']['controller'];}get[_0x354efd(0xd3)](){var _0x43c121=_0x354efd;if(!this[_0x43c121(0xc3)])throw new Error('rootActor\x20is\x20null');return this['_rootActor'];}constructor(_0x5a7512,_0x376d49){var _0x42157d=_0x354efd;this['_rootActor']=null,this[_0x42157d(0xc6)]=new Set(),this[_0x42157d(0xd5)]=new Set(),this[_0x42157d(0xc1)]=_0x5a7512,this[_0x42157d(0xc2)]=_0x376d49;}[_0x354efd(0xcf)](){var _0xfd2f7b=_0x354efd;this['_rootActor']=new this[(_0xfd2f7b(0xc2))]['levelActorClass'](this[_0xfd2f7b(0xc1)]);}[_0x354efd(0xdd)](_0x5ad0c2){var _0x10d30a=_0x354efd;this[_0x10d30a(0xd5)][_0x10d30a(0xcd)](_0x5ad0c2);}['removeTickableActor'](_0x3ba3cc){var _0x2dea7c=_0x354efd;this['tickableActors'][_0x2dea7c(0xd8)](_0x3ba3cc);}[_0x354efd(0xc9)](_0x22da7e){var _0x181e9e=_0x354efd;this[_0x181e9e(0xd5)][_0x181e9e(0xdb)](_0x10b1d1=>{_0x10b1d1['tick'](_0x22da7e);});}[_0x354efd(0xbe)](){var _0x25d64a=_0x354efd,_0x225c16;this['tickableActors']['clear'](),this['actors']['forEach'](_0x440ca2=>{var _0x5b1530=_0x4e1e;_0x440ca2[_0x5b1530(0xbe)]();}),this[_0x25d64a(0xc6)][_0x25d64a(0xd9)](),(_0x225c16=this['_rootActor'])===null||_0x225c16===void 0?void 0:_0x225c16[_0x25d64a(0xbe)](),this['_rootActor']=null;}[_0x354efd(0xda)](_0x2abf60){var _0x3305a8=_0x354efd,_0x595edc;if(!_0x2abf60[_0x3305a8(0xd7)]['threeObject'])throw new Error('actor.threeObject\x20is\x20null');_0x2abf60[_0x3305a8(0xbf)](),(_0x595edc=this[_0x3305a8(0xc3)])===null||_0x595edc===void 0?void 0:_0x595edc['addChildActor'](_0x2abf60,exports.AttachmentRules[_0x3305a8(0xe1)]),this[_0x3305a8(0xc6)][_0x3305a8(0xcd)](_0x2abf60),_0x2abf60[_0x3305a8(0xc5)](this),this[_0x3305a8(0xdc)]['markRenderStateDirty']();}[_0x354efd(0xcb)](_0x1057b7){var _0x5786cb=_0x354efd;_0x1057b7[_0x5786cb(0xbe)](),this[_0x5786cb(0xc6)][_0x5786cb(0xd8)](_0x1057b7),this[_0x5786cb(0xdc)][_0x5786cb(0xe0)]();}[_0x354efd(0xd2)](_0x5a2789){var _0x3b965e=_0x354efd;for(const _0x44252c of _0x5a2789){_0x44252c[_0x3b965e(0xbe)](),this[_0x3b965e(0xc6)][_0x3b965e(0xd8)](_0x44252c);}this[_0x3b965e(0xdc)][_0x3b965e(0xe0)]();}['getActorById'](_0x3cf142){var _0x494a8b=_0x354efd;return this[_0x494a8b(0xd3)]['getChildActorById'](_0x3cf142,!![]);}[_0x354efd(0xcc)](_0x4f7ec4){var _0x584686=_0x354efd;return this['rootActor'][_0x584686(0xce)](_0x4f7ec4,!![]);}}function _0x5580(){var _0x570fa2=['removeActor','getActorsByIds','add','getChildActorsByIds','init','controller','168VjUehy','removeActors','rootActor','scene','tickableActors','48852GELUiP','rootComponent','delete','clear','addActor','forEach','viewport','addTickableActor','20WubeUt','216758BkOTUL','markRenderStateDirty','KeepRelative','445734tNBdmQ','89467aAAraa','destroy','removeFromParent','33FJGATj','app','worldParam','_rootActor','3999886nwYQLB','onAddedToWorld','actors','103168IviBAP','145yzbCwD','tick','504204LLztWG'];_0x5580=function(){return _0x570fa2;};return _0x5580();}
|
|
62
|
+
const _0x411446=_0x2c80;(function(_0x5600f7,_0x9540ca){const _0x45df00=_0x2c80,_0x1a0955=_0x5600f7();while(!![]){try{const _0x510c10=parseInt(_0x45df00(0x1d2))/0x1*(parseInt(_0x45df00(0x1f3))/0x2)+-parseInt(_0x45df00(0x1d0))/0x3+-parseInt(_0x45df00(0x1e5))/0x4+parseInt(_0x45df00(0x1ce))/0x5+-parseInt(_0x45df00(0x208))/0x6+parseInt(_0x45df00(0x1e8))/0x7+-parseInt(_0x45df00(0x1d9))/0x8;if(_0x510c10===_0x9540ca)break;else _0x1a0955['push'](_0x1a0955['shift']());}catch(_0x4fcef3){_0x1a0955['push'](_0x1a0955['shift']());}}}(_0x24ab,0x91fe4));function _0x24ab(){const _0x3338cb=['get','Visibility','sign','min','collisionEnabled','onHitDelegate','add','clone','getWorldAABB','set','461094rCLUwb','Block','generateHitEvents','intersectsBox','debugDrawEnabled','raycastAll','push','colliders','point','getCollisionResponse','getCenter','previousBlockPairs','clear','computeAabbHit','getPairKey','Overlap','_debugDrawEnabled','function','delete','normal','uuid','6061140BlTgaF','1976555oweaoL','max','389829inBwaE','multiplyScalar','4DynvrE','debugEnabled','raycast','length','intersectRayAabb','previousOverlapPairs','onBeginOverlapDelegate','1326816FXMdoh','copy','filter','distance','generateOverlapEvents','lineTraceMulti','onEndOverlapDelegate','broadcast','abs','registerCollider','sub','has','508316GAWcub','Ignore','unregisterCollider','4994871etoReY'];_0x24ab=function(){return _0x3338cb;};return _0x24ab();}function _0x2c80(_0xf42670,_0x54a81d){_0xf42670=_0xf42670-0x1ce;const _0x24ab5e=_0x24ab();let _0x2c806a=_0x24ab5e[_0xf42670];return _0x2c806a;}class PhysicsWorld{constructor(){const _0x24c942=_0x2c80;this['colliders']=new Set(),this[_0x24c942(0x1d7)]=new Map(),this[_0x24c942(0x1fe)]=new Map(),this[_0x24c942(0x203)]=![];}get['debugDrawEnabled'](){return this['_debugDrawEnabled'];}set[_0x411446(0x1f7)](_0x292f32){const _0x1a5d69=_0x411446;if(this[_0x1a5d69(0x203)]===_0x292f32)return;this[_0x1a5d69(0x203)]=_0x292f32;for(const _0x543704 of this[_0x1a5d69(0x1fa)]){_0x543704[_0x1a5d69(0x1d3)]=_0x292f32;}}[_0x411446(0x1e2)](_0x4ff802){const _0x55b52c=_0x411446;this['colliders'][_0x55b52c(0x1ef)](_0x4ff802),this[_0x55b52c(0x203)]&&(_0x4ff802['debugEnabled']=!![]);}[_0x411446(0x1e7)](_0x3b4f08){const _0x23de3b=_0x411446;this[_0x23de3b(0x1fa)][_0x23de3b(0x205)](_0x3b4f08);for(const [_0x46bf4f,_0x20218d]of this[_0x23de3b(0x1d7)]){(_0x20218d[0x0]===_0x3b4f08||_0x20218d[0x1]===_0x3b4f08)&&this[_0x23de3b(0x1d7)][_0x23de3b(0x205)](_0x46bf4f);}for(const [_0x1910a7,_0x4a61bd]of this[_0x23de3b(0x1fe)]){(_0x4a61bd[0x0]===_0x3b4f08||_0x4a61bd[0x1]===_0x3b4f08)&&this[_0x23de3b(0x1fe)][_0x23de3b(0x205)](_0x1910a7);}}[_0x411446(0x1ff)](){const _0x346d5b=_0x411446;this['colliders'][_0x346d5b(0x1ff)](),this['previousOverlapPairs'][_0x346d5b(0x1ff)](),this[_0x346d5b(0x1fe)][_0x346d5b(0x1ff)]();}['lineTraceSingle'](_0x3322a3,_0xc9ef1e,_0x2e30c0=exports.CollisionChannel[_0x411446(0x1ea)],_0x56691f){const _0x6ad5a=_0x411446,_0x4c3faa=_0xc9ef1e[_0x6ad5a(0x1f0)]()[_0x6ad5a(0x1e3)](_0x3322a3),_0xdb475f=_0x4c3faa[_0x6ad5a(0x1d5)]();if(_0xdb475f<=0.000001)return null;const _0x3fb71e=_0x4c3faa['multiplyScalar'](0x1/_0xdb475f);let _0x253bc6=null;for(const _0x3331db of this[_0x6ad5a(0x1fa)]){if(_0x3331db===_0x56691f)continue;if(!_0x3331db[_0x6ad5a(0x1ed)])continue;const _0x34ff6b=_0x3331db[_0x6ad5a(0x1fc)](_0x2e30c0);if(_0x34ff6b!==exports.CollisionResponse[_0x6ad5a(0x1f4)])continue;const _0x5265e4=_0x3331db[_0x6ad5a(0x1f1)](new webgpu.Box3()),_0x18bdef=this['intersectRayAabb'](_0x3322a3,_0x3fb71e,_0xdb475f,_0x5265e4);if(!_0x18bdef)continue;const _0x311fc4=_0x3331db,_0x7f13a5=typeof _0x311fc4[_0x6ad5a(0x1d4)]===_0x6ad5a(0x204)?_0x311fc4['raycast'](_0x3322a3,_0x3fb71e,_0xdb475f):_0x18bdef;if(!_0x7f13a5)continue;(!_0x253bc6||_0x7f13a5['distance']<_0x253bc6[_0x6ad5a(0x1dc)])&&(_0x253bc6={'collider':_0x3331db,'point':_0x7f13a5[_0x6ad5a(0x1fb)],'normal':_0x7f13a5['normal'],'distance':_0x7f13a5[_0x6ad5a(0x1dc)],'blocking':!![]});}return _0x253bc6;}[_0x411446(0x1de)](_0x36677b,_0x4ef316,_0x53d30e=exports.CollisionChannel['Visibility'],_0x5ae947){const _0x2a9c88=_0x411446,_0x5cf2f7=_0x4ef316['clone']()[_0x2a9c88(0x1e3)](_0x36677b),_0x26655b=_0x5cf2f7[_0x2a9c88(0x1d5)]();if(_0x26655b<=0.000001)return [];const _0x2219ef=_0x5cf2f7[_0x2a9c88(0x1d1)](0x1/_0x26655b),_0x29f127=[];for(const _0x1e32a5 of this[_0x2a9c88(0x1fa)]){if(_0x1e32a5===_0x5ae947)continue;if(!_0x1e32a5[_0x2a9c88(0x1ed)])continue;const _0x4c11ba=_0x1e32a5['getCollisionResponse'](_0x53d30e);if(_0x4c11ba===exports.CollisionResponse['Ignore'])continue;const _0x282e99=_0x1e32a5[_0x2a9c88(0x1f1)](new webgpu.Box3()),_0x4f9465=this[_0x2a9c88(0x1d6)](_0x36677b,_0x2219ef,_0x26655b,_0x282e99);if(!_0x4f9465)continue;const _0x2523a1=_0x1e32a5;if(typeof _0x2523a1[_0x2a9c88(0x1f8)]===_0x2a9c88(0x204)){const _0x404482=_0x2523a1[_0x2a9c88(0x1f8)](_0x36677b,_0x2219ef,_0x26655b);for(const _0x1bb08d of _0x404482){_0x29f127[_0x2a9c88(0x1f9)]({'collider':_0x1e32a5,'point':_0x1bb08d['point'],'normal':_0x1bb08d[_0x2a9c88(0x206)],'distance':_0x1bb08d[_0x2a9c88(0x1dc)],'blocking':_0x4c11ba===exports.CollisionResponse['Block']});}}else {const _0x20cd4f=typeof _0x2523a1[_0x2a9c88(0x1d4)]==='function'?_0x2523a1[_0x2a9c88(0x1d4)](_0x36677b,_0x2219ef,_0x26655b):_0x4f9465;if(!_0x20cd4f)continue;_0x29f127[_0x2a9c88(0x1f9)]({'collider':_0x1e32a5,'point':_0x20cd4f['point'],'normal':_0x20cd4f['normal'],'distance':_0x20cd4f[_0x2a9c88(0x1dc)],'blocking':_0x4c11ba===exports.CollisionResponse[_0x2a9c88(0x1f4)]});}}return _0x29f127['sort']((_0x298cfb,_0x4eb996)=>_0x298cfb['distance']-_0x4eb996[_0x2a9c88(0x1dc)]);}['tick'](_0x31b612){const _0xffa6a9=_0x411446,_0x4c69de=Array['from'](this['colliders'])[_0xffa6a9(0x1db)](_0x1f71ef=>_0x1f71ef[_0xffa6a9(0x1ed)]),_0x8a618d=new Map();for(const _0x5b0f99 of _0x4c69de){_0x8a618d[_0xffa6a9(0x1f2)](_0x5b0f99,_0x5b0f99[_0xffa6a9(0x1f1)](new webgpu.Box3()));}const _0x50ca76=new Map(),_0x462f5f=new Map();for(let _0x176be0=0x0;_0x176be0<_0x4c69de[_0xffa6a9(0x1d5)];_0x176be0++){const _0x1db7e0=_0x4c69de[_0x176be0],_0x3eb211=_0x8a618d[_0xffa6a9(0x1e9)](_0x1db7e0);if(!_0x3eb211)continue;for(let _0x532d81=_0x176be0+0x1;_0x532d81<_0x4c69de[_0xffa6a9(0x1d5)];_0x532d81++){const _0x15ada3=_0x4c69de[_0x532d81],_0x1fc692=_0x8a618d['get'](_0x15ada3);if(!_0x1fc692)continue;if(!_0x3eb211[_0xffa6a9(0x1f6)](_0x1fc692))continue;const _0x1e8cf4=_0x1db7e0['getMutualResponse'](_0x15ada3);if(_0x1e8cf4===exports.CollisionResponse[_0xffa6a9(0x1e6)])continue;const _0x1dcf65=this[_0xffa6a9(0x201)](_0x1db7e0,_0x15ada3);_0x1e8cf4===exports.CollisionResponse[_0xffa6a9(0x202)]?_0x50ca76[_0xffa6a9(0x1f2)](_0x1dcf65,[_0x1db7e0,_0x15ada3]):_0x462f5f[_0xffa6a9(0x1f2)](_0x1dcf65,[_0x1db7e0,_0x15ada3]);}}for(const [_0x578d0a,_0x4c0c70]of _0x50ca76){if(this[_0xffa6a9(0x1d7)][_0xffa6a9(0x1e4)](_0x578d0a))continue;const [_0x262ba6,_0x515747]=_0x4c0c70;_0x262ba6[_0xffa6a9(0x1dd)]&&_0x262ba6[_0xffa6a9(0x1d8)][_0xffa6a9(0x1e0)](_0x515747),_0x515747[_0xffa6a9(0x1dd)]&&_0x515747['onBeginOverlapDelegate'][_0xffa6a9(0x1e0)](_0x262ba6);}for(const [_0x40f6f1,_0x4e1ec6]of this['previousOverlapPairs']){if(_0x50ca76[_0xffa6a9(0x1e4)](_0x40f6f1))continue;const [_0x27f7e9,_0x3069cf]=_0x4e1ec6;_0x27f7e9[_0xffa6a9(0x1dd)]&&_0x27f7e9[_0xffa6a9(0x1df)][_0xffa6a9(0x1e0)](_0x3069cf),_0x3069cf[_0xffa6a9(0x1dd)]&&_0x3069cf[_0xffa6a9(0x1df)][_0xffa6a9(0x1e0)](_0x27f7e9);}for(const [_0x18e97d,_0x3ab5ce]of _0x462f5f){if(this[_0xffa6a9(0x1fe)][_0xffa6a9(0x1e4)](_0x18e97d))continue;const [_0x11f42c,_0xbd9690]=_0x3ab5ce,_0x32409a=_0x8a618d[_0xffa6a9(0x1e9)](_0x11f42c),_0x1f49f4=_0x8a618d[_0xffa6a9(0x1e9)](_0xbd9690);if(!_0x32409a||!_0x1f49f4)continue;const _0x3c0c61=this[_0xffa6a9(0x200)](_0x11f42c,_0xbd9690,_0x32409a,_0x1f49f4);_0x11f42c[_0xffa6a9(0x1f5)]&&_0x11f42c['onHitDelegate'][_0xffa6a9(0x1e0)](_0x3c0c61);if(_0xbd9690[_0xffa6a9(0x1f5)]){const _0x91bbae={'self':_0xbd9690,'other':_0x11f42c,'point':_0x3c0c61[_0xffa6a9(0x1fb)]['clone'](),'normal':_0x3c0c61[_0xffa6a9(0x206)]['clone']()['multiplyScalar'](-1),'penetrationDepth':_0x3c0c61['penetrationDepth']};_0xbd9690[_0xffa6a9(0x1ee)]['broadcast'](_0x91bbae);}}this[_0xffa6a9(0x1d7)]=_0x50ca76,this[_0xffa6a9(0x1fe)]=_0x462f5f;}[_0x411446(0x200)](_0x3530ae,_0x4c2631,_0x400748,_0x4f2355){const _0x3add5b=_0x411446,_0x2c8e17=Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['x'],_0x4f2355[_0x3add5b(0x1cf)]['x'])-Math[_0x3add5b(0x1cf)](_0x400748['min']['x'],_0x4f2355[_0x3add5b(0x1ec)]['x']),_0x3baae9=Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['y'],_0x4f2355[_0x3add5b(0x1cf)]['y'])-Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['y'],_0x4f2355[_0x3add5b(0x1ec)]['y']),_0x4aed27=Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['z'],_0x4f2355[_0x3add5b(0x1cf)]['z'])-Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['z'],_0x4f2355[_0x3add5b(0x1ec)]['z']);let _0x486fb2=_0x2c8e17,_0x4d6adc='x';_0x3baae9<_0x486fb2&&(_0x486fb2=_0x3baae9,_0x4d6adc='y');_0x4aed27<_0x486fb2&&(_0x486fb2=_0x4aed27,_0x4d6adc='z');const _0x4b9765=_0x400748['getCenter'](new webgpu.Vector3()),_0x529ca1=_0x4f2355[_0x3add5b(0x1fd)](new webgpu.Vector3()),_0x5823ad=_0x529ca1[_0x3add5b(0x1f0)]()[_0x3add5b(0x1e3)](_0x4b9765),_0x3b1aa5=new webgpu.Vector3(0x0,0x0,0x0);if(_0x4d6adc==='x')_0x3b1aa5[_0x3add5b(0x1f2)](Math[_0x3add5b(0x1eb)](_0x5823ad['x'])||0x1,0x0,0x0);else _0x4d6adc==='y'?_0x3b1aa5['set'](0x0,Math[_0x3add5b(0x1eb)](_0x5823ad['y'])||0x1,0x0):_0x3b1aa5[_0x3add5b(0x1f2)](0x0,0x0,Math['sign'](_0x5823ad['z'])||0x1);const _0x33d041=new webgpu.Vector3((Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['x'],_0x4f2355['min']['x'])+Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['x'],_0x4f2355[_0x3add5b(0x1cf)]['x']))*0.5,(Math[_0x3add5b(0x1cf)](_0x400748[_0x3add5b(0x1ec)]['y'],_0x4f2355[_0x3add5b(0x1ec)]['y'])+Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['y'],_0x4f2355[_0x3add5b(0x1cf)]['y']))*0.5,(Math['max'](_0x400748['min']['z'],_0x4f2355[_0x3add5b(0x1ec)]['z'])+Math[_0x3add5b(0x1ec)](_0x400748[_0x3add5b(0x1cf)]['z'],_0x4f2355[_0x3add5b(0x1cf)]['z']))*0.5);return {'self':_0x3530ae,'other':_0x4c2631,'point':_0x33d041,'normal':_0x3b1aa5,'penetrationDepth':Math[_0x3add5b(0x1cf)](0x0,_0x486fb2)};}['getPairKey'](_0x584b6a,_0x57e145){const _0x25b4a7=_0x411446;return _0x584b6a[_0x25b4a7(0x207)]<_0x57e145[_0x25b4a7(0x207)]?_0x584b6a[_0x25b4a7(0x207)]+'|'+_0x57e145[_0x25b4a7(0x207)]:_0x57e145[_0x25b4a7(0x207)]+'|'+_0x584b6a[_0x25b4a7(0x207)];}[_0x411446(0x1d6)](_0x23f5c0,_0x427f57,_0x2a3ee8,_0x5f03fe){const _0x3aa33d=_0x411446;let _0x43c21e=0x0,_0x4f25fb=_0x2a3ee8;const _0x5a55b9=new webgpu.Vector3(0x0,0x0,0x0),_0x5d496e=1e-8,_0x5a4b9f=_0x33da9a=>{const _0x27a383=_0x2c80,_0x37876d=_0x23f5c0[_0x33da9a],_0x2a8c8a=_0x427f57[_0x33da9a],_0x478d4e=_0x5f03fe[_0x27a383(0x1ec)][_0x33da9a],_0xe6a9f=_0x5f03fe[_0x27a383(0x1cf)][_0x33da9a];if(Math[_0x27a383(0x1e1)](_0x2a8c8a)<_0x5d496e){if(_0x37876d<_0x478d4e||_0x37876d>_0xe6a9f)return ![];return !![];}const _0x498c7a=0x1/_0x2a8c8a;let _0x1a4480,_0x5d9eb3;const _0x1aa08a=new webgpu.Vector3(0x0,0x0,0x0);_0x2a8c8a>=0x0?(_0x1a4480=(_0x478d4e-_0x37876d)*_0x498c7a,_0x5d9eb3=(_0xe6a9f-_0x37876d)*_0x498c7a,_0x1aa08a[_0x33da9a]=-1):(_0x1a4480=(_0xe6a9f-_0x37876d)*_0x498c7a,_0x5d9eb3=(_0x478d4e-_0x37876d)*_0x498c7a,_0x1aa08a[_0x33da9a]=0x1);_0x1a4480>_0x43c21e&&(_0x43c21e=_0x1a4480,_0x5a55b9[_0x27a383(0x1da)](_0x1aa08a));_0x5d9eb3<_0x4f25fb&&(_0x4f25fb=_0x5d9eb3);if(_0x43c21e>_0x4f25fb)return ![];return !![];};if(!_0x5a4b9f('x')||!_0x5a4b9f('y')||!_0x5a4b9f('z'))return null;if(_0x4f25fb<0x0)return null;const _0x2093e6=Math['max'](0x0,_0x43c21e);if(_0x2093e6>_0x2a3ee8)return null;return {'distance':_0x2093e6,'normal':_0x5a55b9,'point':_0x23f5c0[_0x3aa33d(0x1f0)]()[_0x3aa33d(0x1ef)](_0x427f57[_0x3aa33d(0x1f0)]()['multiplyScalar'](_0x2093e6))};}}
|
|
54
63
|
|
|
55
|
-
|
|
64
|
+
var _0x8d7fff=_0x489d;(function(_0x3410c3,_0xda8340){var _0x5ef6d3=_0x489d,_0x368c45=_0x3410c3();while(!![]){try{var _0x26443c=parseInt(_0x5ef6d3(0x15a))/0x1*(parseInt(_0x5ef6d3(0x161))/0x2)+parseInt(_0x5ef6d3(0x164))/0x3+parseInt(_0x5ef6d3(0x15f))/0x4+-parseInt(_0x5ef6d3(0x150))/0x5+parseInt(_0x5ef6d3(0x13a))/0x6+-parseInt(_0x5ef6d3(0x14a))/0x7+parseInt(_0x5ef6d3(0x154))/0x8;if(_0x26443c===_0xda8340)break;else _0x368c45['push'](_0x368c45['shift']());}catch(_0x316a3c){_0x368c45['push'](_0x368c45['shift']());}}}(_0x4bdc,0xc8f51));function _0x4bdc(){var _0x3d1ccd=['actors','viewport','1630344xVrpTL','addActor','10wkLvyH','tickableActors','threeObject','3771564PEYTZm','_rootActor','controller','rootActor','addChildActor','9720fGNrUI','removeFromParent','set','destroy','markRenderStateDirty','addTickableActor','onAddedToWorld','position','removeActor','clippingPlanes','length','add','rootComponent','physics','removeActors','getActorById','6894825djXoJr','scene','getChildActorsByIds','KeepRelative','forEach','parent','8200765DiEsjT','getActorsByIds','children','removeTickableActor','2526000bZzSis','_clippingGroup','delete','target.threeObject\x20is\x20null','clear','_physics','293221AQPDbL','worldParam','app'];_0x4bdc=function(){return _0x3d1ccd;};return _0x4bdc();}function _0x489d(_0x224d8c,_0x17322a){_0x224d8c=_0x224d8c-0x137;var _0x4bdcd5=_0x4bdc();var _0x489da5=_0x4bdcd5[_0x224d8c];return _0x489da5;}class World{get['scene'](){var _0x3af48c=_0x489d,_0x316cc7;let _0x14af3d=(_0x316cc7=this[_0x3af48c(0x165)])===null||_0x316cc7===void 0?void 0:_0x316cc7[_0x3af48c(0x14b)];if(!_0x14af3d)throw new Error('scene\x20is\x20null');return _0x14af3d;}get[_0x8d7fff(0x15e)](){return this['app']['viewport'];}get[_0x8d7fff(0x137)](){var _0x310d50=_0x8d7fff;return this[_0x310d50(0x15c)][_0x310d50(0x137)];}get[_0x8d7fff(0x138)](){var _0x22eab0=_0x8d7fff;if(!this[_0x22eab0(0x165)])throw new Error('rootActor\x20is\x20null');return this[_0x22eab0(0x165)];}get[_0x8d7fff(0x147)](){var _0x7763bf=_0x8d7fff;return this[_0x7763bf(0x159)];}constructor(_0x2c873d,_0x43b6cd){var _0x25e88f=_0x8d7fff;this['_rootActor']=null,this['actors']=new Set(),this['tickableActors']=new Set(),this[_0x25e88f(0x155)]=null,this[_0x25e88f(0x15c)]=_0x2c873d,this[_0x25e88f(0x15b)]=_0x43b6cd,this[_0x25e88f(0x159)]=new PhysicsWorld();}['init'](){var _0x498c11=_0x8d7fff;this[_0x498c11(0x165)]=new this[(_0x498c11(0x15b))]['levelActorClass'](this[_0x498c11(0x15c)]);}[_0x8d7fff(0x13f)](_0x3713d9){var _0x208d70=_0x8d7fff;this[_0x208d70(0x162)][_0x208d70(0x145)](_0x3713d9);}[_0x8d7fff(0x153)](_0x375b99){var _0x1eb34a=_0x8d7fff;this[_0x1eb34a(0x162)]['delete'](_0x375b99);}['tick'](_0xf88b99){var _0x213ff6=_0x8d7fff;this[_0x213ff6(0x162)][_0x213ff6(0x14e)](_0x1054d3=>{_0x1054d3['tick'](_0xf88b99);}),this[_0x213ff6(0x159)]['tick'](_0xf88b99);}[_0x8d7fff(0x13d)](){var _0x18d1bf=_0x8d7fff,_0x554659;this[_0x18d1bf(0x162)]['clear'](),this[_0x18d1bf(0x159)][_0x18d1bf(0x158)](),this[_0x18d1bf(0x15d)]['forEach'](_0x474b11=>{var _0x30ffed=_0x18d1bf;_0x474b11[_0x30ffed(0x13d)]();}),this[_0x18d1bf(0x15d)][_0x18d1bf(0x158)](),(_0x554659=this['_rootActor'])===null||_0x554659===void 0?void 0:_0x554659['destroy'](),this[_0x18d1bf(0x165)]=null;}[_0x8d7fff(0x160)](_0x157619){var _0x5ebabe=_0x8d7fff,_0xc7452b;if(!_0x157619['rootComponent'][_0x5ebabe(0x163)])throw new Error('actor.threeObject\x20is\x20null');_0x157619[_0x5ebabe(0x13b)](),(_0xc7452b=this[_0x5ebabe(0x165)])===null||_0xc7452b===void 0?void 0:_0xc7452b[_0x5ebabe(0x139)](_0x157619,exports.AttachmentRules[_0x5ebabe(0x14d)]),this['actors'][_0x5ebabe(0x145)](_0x157619),_0x157619[_0x5ebabe(0x140)](this),this[_0x5ebabe(0x15e)][_0x5ebabe(0x13e)]();}[_0x8d7fff(0x142)](_0x4333be){var _0x23e2de=_0x8d7fff;_0x4333be[_0x23e2de(0x13d)](),this['actors']['delete'](_0x4333be),this[_0x23e2de(0x15e)][_0x23e2de(0x13e)]();}[_0x8d7fff(0x148)](_0x558963){var _0x317abb=_0x8d7fff;for(const _0x171b57 of _0x558963){_0x171b57[_0x317abb(0x13d)](),this[_0x317abb(0x15d)][_0x317abb(0x156)](_0x171b57);}this[_0x317abb(0x15e)][_0x317abb(0x13e)]();}[_0x8d7fff(0x149)](_0x141581){return this['rootActor']['getChildActorById'](_0x141581,!![]);}[_0x8d7fff(0x151)](_0x199133){var _0x13e73a=_0x8d7fff;return this[_0x13e73a(0x138)][_0x13e73a(0x14c)](_0x199133,!![]);}['addActorClipping'](_0x561b34,_0x230871){var _0x266a0d=_0x8d7fff;if(!_0x561b34[_0x266a0d(0x146)]['threeObject'])throw new Error(_0x266a0d(0x157));!this[_0x266a0d(0x155)]&&(this['_clippingGroup']=new webgpu.ClippingGroup(),this['_clippingGroup'][_0x266a0d(0x141)][_0x266a0d(0x13c)](0x0,0x0,0x0)),this['_clippingGroup'][_0x266a0d(0x143)]=_0x230871,this[_0x266a0d(0x14b)][_0x266a0d(0x145)](this['_clippingGroup']),this[_0x266a0d(0x155)][_0x266a0d(0x145)](_0x561b34[_0x266a0d(0x146)][_0x266a0d(0x163)]);}['removeActorClipping'](_0x39c0f2,_0x3d3a0d=null){var _0x2df4d2=_0x8d7fff,_0xac87ee;if(!this[_0x2df4d2(0x155)])return;if(!_0x39c0f2[_0x2df4d2(0x146)][_0x2df4d2(0x163)])throw new Error('target.threeObject\x20is\x20null');_0x3d3a0d?_0x3d3a0d[_0x2df4d2(0x139)](_0x39c0f2,exports.AttachmentRules[_0x2df4d2(0x14d)]):this['addActor'](_0x39c0f2),this[_0x2df4d2(0x155)][_0x2df4d2(0x152)][_0x2df4d2(0x144)]===0x0&&((_0xac87ee=this[_0x2df4d2(0x155)][_0x2df4d2(0x14f)])===null||_0xac87ee===void 0?void 0:_0xac87ee['remove'](this[_0x2df4d2(0x155)]),this[_0x2df4d2(0x155)]=null);}}
|
|
56
65
|
|
|
57
|
-
|
|
66
|
+
function _0x1413(){var _0x2f0a27=['22IXhpoH','25645hBweZS','22023ZZCarv','293308vOGiuP','137624DtQtkT','975304rIuCev','79870RkjhKe','27VDPKiZ','WebGPU','14ratQrb','690eFvLIC','304116jPWTSf','WebGL','786rXMfzS'];_0x1413=function(){return _0x2f0a27;};return _0x1413();}var _0x48372=_0x45c8;(function(_0x5350c8,_0x3909c2){var _0x2138f3=_0x45c8,_0x549c4b=_0x5350c8();while(!![]){try{var _0xea416=-parseInt(_0x2138f3(0x7b))/0x1+parseInt(_0x2138f3(0x7a))/0x2+parseInt(_0x2138f3(0x7c))/0x3*(-parseInt(_0x2138f3(0x78))/0x4)+parseInt(_0x2138f3(0x84))/0x5*(parseInt(_0x2138f3(0x82))/0x6)+-parseInt(_0x2138f3(0x7e))/0x7*(-parseInt(_0x2138f3(0x79))/0x8)+-parseInt(_0x2138f3(0x77))/0x9*(parseInt(_0x2138f3(0x7f))/0xa)+parseInt(_0x2138f3(0x83))/0xb*(parseInt(_0x2138f3(0x80))/0xc);if(_0xea416===_0x3909c2)break;else _0x549c4b['push'](_0x549c4b['shift']());}catch(_0x2e94a9){_0x549c4b['push'](_0x549c4b['shift']());}}}(_0x1413,0x52073));exports.RendererType = void 0;(function(_0x6ccfe5){var _0x5bf42c=_0x45c8;_0x6ccfe5[_0x6ccfe5['WebGPU']=0x0]='WebGPU',_0x6ccfe5[_0x6ccfe5[_0x5bf42c(0x81)]=0x1]=_0x5bf42c(0x81);}(exports.RendererType||(exports.RendererType={})));function _0x45c8(_0x2634f9,_0x429c87){_0x2634f9=_0x2634f9-0x77;var _0x1413e5=_0x1413();var _0x45c842=_0x1413e5[_0x2634f9];return _0x45c842;}const DefaultViewportParam={'elementId':null,'renderer':{'type':exports.RendererType[_0x48372(0x7d)]},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
58
67
|
|
|
59
|
-
function
|
|
68
|
+
function _0x5d4e(){const _0x1b7665=['6805RyOZph','153048xXZVBx','GroundTruthAmbientOcclusion','Bloom','28UpXhyk','8397540rNpZnC','ScreenSpaceReflection','153AJBJjE','Outline','138984qPTkKT','311047GAIkot','Antialiasing','2036ukLLWE','LensFlare','DepthOfField','132LWfwZc','319648gpXKlW','3gYRBCm','584434iulkUj'];_0x5d4e=function(){return _0x1b7665;};return _0x5d4e();}(function(_0x2f02cc,_0x229a5d){const _0x145704=_0x5a01,_0x461263=_0x2f02cc();while(!![]){try{const _0x4eb21b=parseInt(_0x145704(0x19e))/0x1+-parseInt(_0x145704(0x19c))/0x2*(parseInt(_0x145704(0x19d))/0x3)+-parseInt(_0x145704(0x1ab))/0x4*(parseInt(_0x145704(0x19f))/0x5)+-parseInt(_0x145704(0x1a0))/0x6*(parseInt(_0x145704(0x1a3))/0x7)+parseInt(_0x145704(0x1a8))/0x8*(parseInt(_0x145704(0x1a6))/0x9)+parseInt(_0x145704(0x1a4))/0xa+parseInt(_0x145704(0x1a9))/0xb*(-parseInt(_0x145704(0x1ae))/0xc);if(_0x4eb21b===_0x229a5d)break;else _0x461263['push'](_0x461263['shift']());}catch(_0x502aab){_0x461263['push'](_0x461263['shift']());}}}(_0x5d4e,0x6ecf5));function _0x5a01(_0x332dfa,_0x2322a2){_0x332dfa=_0x332dfa-0x19c;const _0x5d4e48=_0x5d4e();let _0x5a01e9=_0x5d4e48[_0x332dfa];return _0x5a01e9;}const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x5412e2){const _0x32e923=_0x5a01;_0x5412e2[_0x5412e2[_0x32e923(0x1a2)]=0x0]=_0x32e923(0x1a2),_0x5412e2[_0x5412e2[_0x32e923(0x1ad)]=0x1]='DepthOfField',_0x5412e2[_0x5412e2[_0x32e923(0x1a5)]=0x2]='ScreenSpaceReflection',_0x5412e2[_0x5412e2[_0x32e923(0x1a1)]=0x3]='GroundTruthAmbientOcclusion',_0x5412e2[_0x5412e2[_0x32e923(0x1a7)]=0x4]='Outline',_0x5412e2[_0x5412e2[_0x32e923(0x1aa)]=0x5]=_0x32e923(0x1aa),_0x5412e2[_0x5412e2[_0x32e923(0x1ac)]=0x6]=_0x32e923(0x1ac);}(exports.PostProcessStepType||(exports.PostProcessStepType={})));
|
|
60
69
|
|
|
61
|
-
const
|
|
70
|
+
function _0x5733(_0x2df51d,_0x22f350){_0x2df51d=_0x2df51d-0x151;const _0x5d0293=_0x5d02();let _0x573326=_0x5d0293[_0x2df51d];return _0x573326;}(function(_0x388307,_0x4891f2){const _0x1d893a=_0x5733,_0x7d800c=_0x388307();while(!![]){try{const _0x3a05b7=parseInt(_0x1d893a(0x159))/0x1+parseInt(_0x1d893a(0x158))/0x2+-parseInt(_0x1d893a(0x152))/0x3*(-parseInt(_0x1d893a(0x157))/0x4)+parseInt(_0x1d893a(0x155))/0x5*(-parseInt(_0x1d893a(0x153))/0x6)+parseInt(_0x1d893a(0x154))/0x7*(parseInt(_0x1d893a(0x151))/0x8)+parseInt(_0x1d893a(0x15a))/0x9+parseInt(_0x1d893a(0x15b))/0xa*(-parseInt(_0x1d893a(0x156))/0xb);if(_0x3a05b7===_0x4891f2)break;else _0x7d800c['push'](_0x7d800c['shift']());}catch(_0x53b7d0){_0x7d800c['push'](_0x7d800c['shift']());}}}(_0x5d02,0x88847));function _0x5d02(){const _0x3ca534=['2102356iyzgkC','136268oxHnSO','1080909GmcngO','1630gUpaqn','3736664vylaRp','2240703qgutnL','37524Ifwmxi','14MXbBvK','700eAgYRM','104863ECycGi','4peTuxo'];_0x5d02=function(){return _0x3ca534;};return _0x5d02();}const DefaultBloomParam={'type':exports.PostProcessStepType['Bloom'],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
62
71
|
|
|
63
|
-
const
|
|
72
|
+
const _0x585f25=_0x59b5;(function(_0x16c1e1,_0x42f853){const _0x1024b7=_0x59b5,_0x260527=_0x16c1e1();while(!![]){try{const _0x10846c=parseInt(_0x1024b7(0x101))/0x1*(-parseInt(_0x1024b7(0x102))/0x2)+-parseInt(_0x1024b7(0xfc))/0x3+-parseInt(_0x1024b7(0xfd))/0x4+parseInt(_0x1024b7(0x103))/0x5*(parseInt(_0x1024b7(0x100))/0x6)+parseInt(_0x1024b7(0xfa))/0x7*(parseInt(_0x1024b7(0xfb))/0x8)+parseInt(_0x1024b7(0xfe))/0x9+parseInt(_0x1024b7(0xff))/0xa;if(_0x10846c===_0x42f853)break;else _0x260527['push'](_0x260527['shift']());}catch(_0x25505f){_0x260527['push'](_0x260527['shift']());}}}(_0x150b,0xa5eca));function _0x150b(){const _0xf85b1f=['1879066TUyPOT','273295cESWAy','DepthOfField','17633pDrEeM','1072wUEmBP','3928872qXBjCh','2436756hpMOoe','11859084slUJmN','5709340xnAyFr','144FovMjC','1DOPQTI'];_0x150b=function(){return _0xf85b1f;};return _0x150b();}function _0x59b5(_0xa11d13,_0x48a392){_0xa11d13=_0xa11d13-0xfa;const _0x150b75=_0x150b();let _0x59b5e2=_0x150b75[_0xa11d13];return _0x59b5e2;}const DefaultDOFParam={'type':exports.PostProcessStepType[_0x585f25(0x104)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
64
73
|
|
|
65
|
-
const _0x5e1ed7=_0x2d71;(function(_0x151a89,_0x4f7876){const _0x46814b=_0x2d71,_0x155915=_0x151a89();while(!![]){try{const _0x21e6a6=-parseInt(_0x46814b(0xbc))/0x1*(parseInt(_0x46814b(0x107))/0x2)+parseInt(_0x46814b(0xf6))/0x3*(-parseInt(_0x46814b(0x10b))/0x4)+-parseInt(_0x46814b(0xd2))/0x5+-parseInt(_0x46814b(0xc3))/0x6*(-parseInt(_0x46814b(0x120))/0x7)+parseInt(_0x46814b(0x132))/0x8+parseInt(_0x46814b(0xed))/0x9+parseInt(_0x46814b(0x113))/0xa;if(_0x21e6a6===_0x4f7876)break;else _0x155915['push'](_0x155915['shift']());}catch(_0x450aeb){_0x155915['push'](_0x155915['shift']());}}}(_0x4b9c,0x4361a));function _0x2d71(_0x339102,_0x560848){_0x339102=_0x339102-0xbc;const _0x4b9c8a=_0x4b9c();let _0x2d711=_0x4b9c8a[_0x339102];return _0x2d711;}function _0x4b9c(){const _0x36a864=['aperture','postProcessParam','lensflarePass','indexOf','processing','createEffectUniforms','renderer','edgeThicknessNode','includes','Outline','splice','dofAperture','88431MajlIJ','output','LensFlare','outlineVisibleEdgeColor','maxblur','set','destroy','strength','getTextureNode','pulsePeriod','fxaa','effectUniforms','dofFocus','resolutionScale','type','dofPass','outlineEdgeThickness','add','2465624struJT','190325Khtodl','setOutlineObjects','smaaEnabled','useTemporalFiltering','gtaoRadius','distanceExponent','distanceFallOff','54mKOAHc','gtaoThickness','hiddenEdgeColor','length','gtaoDistanceFallOff','bloomThreshold','ghostSpacing','div','getStepParam','lut3dTexture','removeOutlineObject','select','scene','Antialiasing','bloomStrength','1156600EUKeas','outlinePass','postProcessing','focus','samples','find','updateAllUniforms','fxaaEnabled','onDirtyCallback','outlineEdgeStrength','threshold','greaterThan','bokehScaleNode','bloomPass','radius','ghostTint','downSampleRatio','ghostAttenuationFactor','Bloom','selectedObjects','updateCamera','gtaoDistanceExponent','outlineEdgeGlow','dispose','scale','buildPipeline','smaa','646767UYZCsH','thickness','steps','depth','method','ghostSamples','edgeThickness','GroundTruthAmbientOcclusion','addOutlineObject','3603EDfScM','gtaoEnabled','dofEnabled','bloomRadius','edgeGlow','camera','DepthOfField','mul','dofMaxBlur','assign','gtaoScale','lensflareEnabled','push','normal','onBuildFinalNode','visibleEdgeColor','outlinePulsePeriod','4CmYSLB','edgeStrength','value','gtaoPass','436YjypQK','has','outlineObjects','traaPass','velocity','map','getViewZNode','markDirty','5251100QTltdp'];_0x4b9c=function(){return _0x36a864;};return _0x4b9c();}class PostProcessManager{constructor(_0x2c7002,_0x553eec,_0x159748,_0x401720,_0xac181a){const _0x3b2093=_0x2d71;this[_0x3b2093(0xd4)]=null,this[_0x3b2093(0x10d)]=[],this['effectUniforms']=null,this[_0x3b2093(0xd3)]=null,this[_0x3b2093(0xdf)]=null,this[_0x3b2093(0x12f)]=null,this[_0x3b2093(0x10a)]=null,this[_0x3b2093(0x10e)]=null,this[_0x3b2093(0x116)]=null,this['lut3dTexture']=null,this[_0x3b2093(0xda)]=null,this[_0x3b2093(0x11a)]=_0x2c7002,this[_0x3b2093(0xcf)]=_0x553eec,this[_0x3b2093(0xfb)]=_0x159748,this['postProcessParam']=Object[_0x3b2093(0xff)]({},_0x401720),this[_0x3b2093(0xda)]=_0xac181a!==null&&_0xac181a!==void 0?_0xac181a:null;}get[_0x5e1ed7(0x118)](){return this['postProcessing'];}[_0x5e1ed7(0xe6)](_0x1044f9){const _0x139dec=_0x5e1ed7;this['camera']=_0x1044f9,(!this['postProcessing']||!this['effectUniforms'])&&(this[_0x139dec(0xeb)](),this[_0x139dec(0xd8)](),this[_0x139dec(0x112)]());}['setup'](){const _0x24848b=_0x5e1ed7;(!this['postProcessing']||!this[_0x24848b(0x12b)])&&this[_0x24848b(0xeb)](),this['updateAllUniforms'](),this['markDirty']();}[_0x5e1ed7(0xeb)](){const _0x726ef1=_0x5e1ed7;var _0x3d740f,_0x46481c,_0x522752,_0x5e6170,_0x5889fb;this[_0x726ef1(0xd4)]&&this[_0x726ef1(0xd4)][_0x726ef1(0xe9)]();this['postProcessing']=new webgpu.PostProcessing(this[_0x726ef1(0x11a)]),this['effectUniforms']=this['createEffectUniforms']();const _0x180de1=tsl.pass(this['scene'],this['camera']);_0x180de1['setMRT'](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x3a2d1c=_0x180de1[_0x726ef1(0x128)](_0x726ef1(0x121)),_0x14f00d=_0x180de1[_0x726ef1(0x128)](_0x726ef1(0x103)),_0x539ad7=_0x180de1['getTextureNode'](_0x726ef1(0xf0)),_0x3ef349=_0x180de1['getTextureNode'](_0x726ef1(0x10f)),_0x3567e9=_0x180de1[_0x726ef1(0x111)](),_0x561697=this[_0x726ef1(0x12b)],_0x471a7a=(_0x3d740f=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0xe4)]))!==null&&_0x3d740f!==void 0?_0x3d740f:DefaultBloomParam;this[_0x726ef1(0xdf)]=BloomNode_js.bloom(_0x3a2d1c),this['bloomPass']['threshold']['value']=_0x471a7a[_0x726ef1(0xdc)],this[_0x726ef1(0xdf)][_0x726ef1(0x127)][_0x726ef1(0x109)]=_0x471a7a[_0x726ef1(0x127)],this[_0x726ef1(0xdf)][_0x726ef1(0xe0)][_0x726ef1(0x109)]=_0x471a7a[_0x726ef1(0xe0)];const _0x4d72cc=_0x3a2d1c[_0x726ef1(0x131)](this[_0x726ef1(0xdf)][_0x726ef1(0xfd)](_0x561697[_0x726ef1(0xd1)])),_0x57cb41=_0x561697['bloomEnabled']['greaterThan'](0.5)['select'](_0x4d72cc,_0x3a2d1c),_0x43837d=(_0x46481c=this['getStepParam'](exports.PostProcessStepType['LensFlare']))!==null&&_0x46481c!==void 0?_0x46481c:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x726ef1(0xdf)][_0x726ef1(0x128)](),{'ghostTint':tsl.vec3(_0x43837d[_0x726ef1(0xe1)][0x0],_0x43837d[_0x726ef1(0xe1)][0x1],_0x43837d[_0x726ef1(0xe1)][0x2]),'threshold':tsl.float(_0x43837d[_0x726ef1(0xdc)]),'ghostSamples':tsl.float(_0x43837d[_0x726ef1(0xf2)]),'ghostSpacing':tsl.float(_0x43837d[_0x726ef1(0xc9)]),'ghostAttenuationFactor':tsl.float(_0x43837d[_0x726ef1(0xe3)]),'downSampleRatio':_0x43837d[_0x726ef1(0xe2)]});const _0x335e90=_0x57cb41[_0x726ef1(0x131)](this[_0x726ef1(0x116)][_0x726ef1(0x128)]()),_0x18ec62=_0x561697[_0x726ef1(0x101)][_0x726ef1(0xdd)](0.5)[_0x726ef1(0xce)](_0x335e90,_0x57cb41),_0x195884=(_0x522752=this[_0x726ef1(0xcb)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x522752!==void 0?_0x522752:DefaultDOFParam;this[_0x726ef1(0x12f)]=DepthOfFieldNode_js.dof(_0x18ec62,_0x3567e9,tsl.uniform(_0x195884['focus']),tsl.uniform(_0x195884[_0x726ef1(0x114)]),tsl.uniform(_0x195884[_0x726ef1(0x124)]));const _0x1455b3=_0x561697[_0x726ef1(0xf8)]['greaterThan'](0.5)[_0x726ef1(0xce)](this[_0x726ef1(0x12f)],_0x18ec62),_0x18d130=(_0x5e6170=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0xf4)]))!==null&&_0x5e6170!==void 0?_0x5e6170:DefaultGTAOParam;this['gtaoPass']=GTAONode_js.ao(_0x539ad7,_0x14f00d,this[_0x726ef1(0xfb)]),this[_0x726ef1(0x10a)][_0x726ef1(0x12d)]=0.5,this[_0x726ef1(0x10a)]['distanceExponent'][_0x726ef1(0x109)]=_0x18d130['distanceExponent'],this[_0x726ef1(0x10a)]['distanceFallOff'][_0x726ef1(0x109)]=_0x18d130['distanceFallOff'],this['gtaoPass'][_0x726ef1(0xe0)][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xe0)],this[_0x726ef1(0x10a)][_0x726ef1(0xea)][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xea)],this[_0x726ef1(0x10a)]['thickness'][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xee)],this[_0x726ef1(0x10a)][_0x726ef1(0xd6)][_0x726ef1(0x109)]=_0x18d130[_0x726ef1(0xd6)],this[_0x726ef1(0x10a)][_0x726ef1(0xbf)]=_0x18d130[_0x726ef1(0xbf)];const _0x5534c6=this[_0x726ef1(0x10a)]['getTextureNode'](),_0x10db1c=_0x5534c6['r'],_0x5753b0=_0x1455b3[_0x726ef1(0xfd)](_0x10db1c),_0x39c94f=_0x561697[_0x726ef1(0xf7)][_0x726ef1(0xdd)](0.5)[_0x726ef1(0xce)](_0x5753b0,_0x1455b3),_0xc0b29=(_0x5889fb=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0x11d)]))!==null&&_0x5889fb!==void 0?_0x5889fb:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this['scene'],this['camera'],{'selectedObjects':this[_0x726ef1(0x10d)],'edgeGlow':tsl.uniform(_0xc0b29[_0x726ef1(0xfa)]),'edgeThickness':tsl.uniform(_0xc0b29['edgeThickness'])});const {visibleEdge:_0xd12d06,hiddenEdge:_0x18e758}=this[_0x726ef1(0xd3)],_0x20ada1=_0x561697[_0x726ef1(0x106)][_0x726ef1(0xdd)](0x0)[_0x726ef1(0xce)](_0x561697[_0x726ef1(0x106)],tsl.uniform(0x1)),_0x5b516f=tsl.time[_0x726ef1(0xca)](_0x20ada1)[_0x726ef1(0xfd)](0x2),_0x53eac1=tsl.oscSine(_0x5b516f)['mul'](0.5)['add'](0.5),_0x3df633=_0xd12d06['mul'](_0x561697['outlineVisibleEdgeColor'])[_0x726ef1(0x131)](_0x18e758[_0x726ef1(0xfd)](_0x561697['outlineHiddenEdgeColor']))['mul'](_0x561697[_0x726ef1(0xdb)]),_0x5e1416=_0x561697['outlinePulsePeriod'][_0x726ef1(0xdd)](0x0)['select'](_0x3df633[_0x726ef1(0xfd)](_0x53eac1),_0x3df633),_0x5f478f=_0x5e1416[_0x726ef1(0x131)](_0x39c94f),_0x53a67f=_0x561697['outlineEnabled'][_0x726ef1(0xdd)](0.5)['select'](_0x5f478f,_0x39c94f),_0x34fd15=FXAANode_js.fxaa(_0x53a67f),_0x36b47c=_0x561697[_0x726ef1(0xd9)][_0x726ef1(0xdd)](0.5)['select'](_0x34fd15,_0x53a67f),_0x5eddea=SMAANode_js.smaa(_0x36b47c),_0x3129d7=_0x561697[_0x726ef1(0xbe)][_0x726ef1(0xdd)](0.5)[_0x726ef1(0xce)](_0x5eddea,_0x36b47c),_0x560f51=this[_0x726ef1(0xcb)](exports.PostProcessStepType[_0x726ef1(0xd0)]);let _0x13a12f=_0x3129d7;_0x560f51&&_0x560f51[_0x726ef1(0xf1)]==='traa'&&(this['traaPass']=TRAANode_js.traa(_0x3129d7,_0x539ad7,_0x3ef349,this['camera']),_0x13a12f=this[_0x726ef1(0x10e)][_0x726ef1(0x128)]()),_0x13a12f=this[_0x726ef1(0x104)](_0x13a12f),this['postProcessing']['outputNode']=_0x13a12f,this[_0x726ef1(0xd4)]['needsUpdate']=!![];}['onBuildFinalNode'](_0x467d22){return _0x467d22;}[_0x5e1ed7(0x119)](){const _0x451e84=_0x5e1ed7;var _0x5f52c7,_0xd0b0c9,_0x1e743c,_0x164c45;const _0x3223d4=(_0x5f52c7=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0xe4)]))!==null&&_0x5f52c7!==void 0?_0x5f52c7:DefaultBloomParam,_0x5580f8=(_0xd0b0c9=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0xfc)]))!==null&&_0xd0b0c9!==void 0?_0xd0b0c9:DefaultDOFParam,_0x13e20a=(_0x1e743c=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0xf4)]))!==null&&_0x1e743c!==void 0?_0x1e743c:DefaultGTAOParam,_0x936744=(_0x164c45=this[_0x451e84(0xcb)](exports.PostProcessStepType[_0x451e84(0x11d)]))!==null&&_0x164c45!==void 0?_0x164c45:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x3223d4[_0x451e84(0x127)]),'bloomThreshold':tsl.uniform(_0x3223d4[_0x451e84(0xdc)]),'bloomRadius':tsl.uniform(_0x3223d4[_0x451e84(0xe0)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x5580f8[_0x451e84(0xd5)]),'dofAperture':tsl.uniform(_0x5580f8[_0x451e84(0x114)]),'dofMaxBlur':tsl.uniform(_0x5580f8[_0x451e84(0x124)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x13e20a[_0x451e84(0xea)]),'gtaoDistanceExponent':tsl.uniform(_0x13e20a[_0x451e84(0xc1)]),'gtaoDistanceFallOff':tsl.uniform(_0x13e20a[_0x451e84(0xc2)]),'gtaoRadius':tsl.uniform(_0x13e20a[_0x451e84(0xe0)]),'gtaoThickness':tsl.uniform(_0x13e20a['thickness']),'gtaoSamples':tsl.uniform(_0x13e20a[_0x451e84(0xd6)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x936744['edgeStrength']),'outlineEdgeGlow':tsl.uniform(_0x936744[_0x451e84(0xfa)]),'outlineEdgeThickness':tsl.uniform(_0x936744[_0x451e84(0xf3)]),'outlinePulsePeriod':tsl.uniform(_0x936744[_0x451e84(0x129)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x936744[_0x451e84(0x105)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x936744[_0x451e84(0xc5)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x5e1ed7(0xcb)](_0x1eb139){const _0x208f0a=_0x5e1ed7;var _0x146ef5;return (_0x146ef5=this[_0x208f0a(0x115)]['steps'][_0x208f0a(0xd7)](_0xb07a17=>_0xb07a17['type']===_0x1eb139))!==null&&_0x146ef5!==void 0?_0x146ef5:null;}[_0x5e1ed7(0xd8)](){const _0x56b7e3=_0x5e1ed7;if(!this[_0x56b7e3(0x12b)])return;const _0x274d97=this[_0x56b7e3(0x12b)],_0x2e8df0=new Set(this[_0x56b7e3(0x115)]['steps'][_0x56b7e3(0x110)](_0x1221f3=>_0x1221f3[_0x56b7e3(0x12e)]));_0x274d97['bloomEnabled'][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0xe4)])?0x1:0x0,_0x274d97['dofEnabled'][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0x274d97[_0x56b7e3(0xf7)][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0xf4)])?0x1:0x0,_0x274d97['outlineEnabled'][_0x56b7e3(0x109)]=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0x11d)])?0x1:0x0,_0x274d97['lensflareEnabled']['value']=_0x2e8df0[_0x56b7e3(0x10c)](exports.PostProcessStepType[_0x56b7e3(0x122)])?0x1:0x0;const _0x21a0da=this[_0x56b7e3(0xcb)](exports.PostProcessStepType[_0x56b7e3(0xd0)]);_0x21a0da?(_0x274d97[_0x56b7e3(0xd9)][_0x56b7e3(0x109)]=_0x21a0da[_0x56b7e3(0xf1)]===_0x56b7e3(0x12a)?0x1:0x0,_0x274d97[_0x56b7e3(0xbe)]['value']=_0x21a0da[_0x56b7e3(0xf1)]===_0x56b7e3(0xec)?0x1:0x0):(_0x274d97['fxaaEnabled']['value']=0x0,_0x274d97[_0x56b7e3(0xbe)]['value']=0x0);const _0x50fe94=this[_0x56b7e3(0xcb)](exports.PostProcessStepType[_0x56b7e3(0xe4)]);_0x50fe94&&(_0x274d97['bloomStrength'][_0x56b7e3(0x109)]=_0x50fe94[_0x56b7e3(0x127)],_0x274d97[_0x56b7e3(0xc8)][_0x56b7e3(0x109)]=_0x50fe94[_0x56b7e3(0xdc)],_0x274d97[_0x56b7e3(0xf9)]['value']=_0x50fe94[_0x56b7e3(0xe0)],this['bloomPass']&&(this[_0x56b7e3(0xdf)][_0x56b7e3(0xdc)][_0x56b7e3(0x109)]=_0x50fe94[_0x56b7e3(0xdc)],this[_0x56b7e3(0xdf)][_0x56b7e3(0x127)][_0x56b7e3(0x109)]=_0x50fe94['strength'],this[_0x56b7e3(0xdf)][_0x56b7e3(0xe0)]['value']=_0x50fe94[_0x56b7e3(0xe0)]));const _0x286ba4=this['getStepParam'](exports.PostProcessStepType[_0x56b7e3(0x122)]);if(_0x286ba4&&this['lensflarePass']);const _0x59bdb2=this[_0x56b7e3(0xcb)](exports.PostProcessStepType['DepthOfField']);_0x59bdb2&&(_0x274d97[_0x56b7e3(0x12c)]['value']=_0x59bdb2[_0x56b7e3(0xd5)],_0x274d97[_0x56b7e3(0x11f)][_0x56b7e3(0x109)]=_0x59bdb2[_0x56b7e3(0x114)],_0x274d97[_0x56b7e3(0xfe)][_0x56b7e3(0x109)]=_0x59bdb2[_0x56b7e3(0x124)],this[_0x56b7e3(0x12f)]&&(this[_0x56b7e3(0x12f)]['focusDistanceNode']['value']=_0x59bdb2['focus'],this[_0x56b7e3(0x12f)]['focalLengthNode'][_0x56b7e3(0x109)]=_0x59bdb2[_0x56b7e3(0x114)],this[_0x56b7e3(0x12f)][_0x56b7e3(0xde)]['value']=_0x59bdb2[_0x56b7e3(0x124)]));const _0x1ba4cc=this[_0x56b7e3(0xcb)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x1ba4cc&&(_0x274d97[_0x56b7e3(0x100)]['value']=_0x1ba4cc[_0x56b7e3(0xea)],_0x274d97[_0x56b7e3(0xe7)][_0x56b7e3(0x109)]=_0x1ba4cc['distanceExponent'],_0x274d97[_0x56b7e3(0xc7)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xc2)],_0x274d97[_0x56b7e3(0xc0)][_0x56b7e3(0x109)]=_0x1ba4cc['radius'],_0x274d97[_0x56b7e3(0xc4)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xee)],_0x274d97['gtaoSamples'][_0x56b7e3(0x109)]=_0x1ba4cc['samples'],this[_0x56b7e3(0x10a)]&&(this['gtaoPass'][_0x56b7e3(0xc1)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xc1)],this['gtaoPass'][_0x56b7e3(0xc2)][_0x56b7e3(0x109)]=_0x1ba4cc[_0x56b7e3(0xc2)],this[_0x56b7e3(0x10a)][_0x56b7e3(0xe0)][_0x56b7e3(0x109)]=_0x1ba4cc['radius'],this[_0x56b7e3(0x10a)][_0x56b7e3(0xea)]['value']=_0x1ba4cc[_0x56b7e3(0xea)],this[_0x56b7e3(0x10a)][_0x56b7e3(0xee)]['value']=_0x1ba4cc[_0x56b7e3(0xee)],this[_0x56b7e3(0x10a)][_0x56b7e3(0xd6)][_0x56b7e3(0x109)]=_0x1ba4cc['samples'],this[_0x56b7e3(0x10a)][_0x56b7e3(0xbf)]=_0x1ba4cc['useTemporalFiltering']));const _0xe6601f=this[_0x56b7e3(0xcb)](exports.PostProcessStepType['Outline']);_0xe6601f&&(_0x274d97['outlineEdgeStrength'][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0x108)],_0x274d97[_0x56b7e3(0xe8)]['value']=_0xe6601f[_0x56b7e3(0xfa)],_0x274d97[_0x56b7e3(0x130)][_0x56b7e3(0x109)]=_0xe6601f['edgeThickness'],_0x274d97[_0x56b7e3(0x106)][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0x129)],_0x274d97[_0x56b7e3(0x123)][_0x56b7e3(0x109)][_0x56b7e3(0x125)](_0xe6601f['visibleEdgeColor']),_0x274d97['outlineHiddenEdgeColor'][_0x56b7e3(0x109)][_0x56b7e3(0x125)](_0xe6601f[_0x56b7e3(0xc5)]),this['outlinePass']&&(this[_0x56b7e3(0xd3)]['edgeGlowNode'][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0xfa)],this['outlinePass'][_0x56b7e3(0x11b)][_0x56b7e3(0x109)]=_0xe6601f[_0x56b7e3(0xf3)],this[_0x56b7e3(0xd3)][_0x56b7e3(0xe5)]=this[_0x56b7e3(0x10d)]));}['updateSteps'](_0x952ba8){const _0x4f68ec=_0x5e1ed7;this[_0x4f68ec(0x115)][_0x4f68ec(0xef)]=_0x952ba8,(!this['effectUniforms']||!this['postProcessing'])&&this[_0x4f68ec(0xeb)](),this[_0x4f68ec(0xd8)](),this[_0x4f68ec(0x112)]();}[_0x5e1ed7(0xf5)](_0x6e11a6){const _0x337428=_0x5e1ed7;!this[_0x337428(0x10d)][_0x337428(0x11c)](_0x6e11a6)&&(this[_0x337428(0x10d)][_0x337428(0x102)](_0x6e11a6),this['outlinePass']&&(this[_0x337428(0xd3)][_0x337428(0xe5)]=this[_0x337428(0x10d)])),this[_0x337428(0x112)]();}[_0x5e1ed7(0xbd)](_0x1d808d){const _0x33d9ba=_0x5e1ed7;this[_0x33d9ba(0x10d)][_0x33d9ba(0xc6)]=0x0,this['outlineObjects']['push'](..._0x1d808d),this[_0x33d9ba(0xd3)]&&(this['outlinePass'][_0x33d9ba(0xe5)]=this[_0x33d9ba(0x10d)]),this['markDirty']();}[_0x5e1ed7(0xcd)](_0x387a80){const _0x5f4675=_0x5e1ed7,_0x3ba8a8=this[_0x5f4675(0x10d)][_0x5f4675(0x117)](_0x387a80);_0x3ba8a8>-1&&(this[_0x5f4675(0x10d)][_0x5f4675(0x11e)](_0x3ba8a8,0x1),this[_0x5f4675(0xd3)]&&(this[_0x5f4675(0xd3)]['selectedObjects']=this[_0x5f4675(0x10d)])),this[_0x5f4675(0x112)]();}['setLUT3DTexture'](_0xdb8ad5){const _0x593d77=_0x5e1ed7;this[_0x593d77(0xcc)]=_0xdb8ad5,this[_0x593d77(0xeb)](),this[_0x593d77(0xd8)](),this[_0x593d77(0x112)]();}['getLUT3DTexture'](){const _0x1b2d4d=_0x5e1ed7;return this[_0x1b2d4d(0xcc)];}['render'](){const _0x2c3d43=_0x5e1ed7;if(this[_0x2c3d43(0xd4)])return this[_0x2c3d43(0xd4)]['render'](),!![];return ![];}[_0x5e1ed7(0x126)](){const _0x1c49fd=_0x5e1ed7;this[_0x1c49fd(0x10d)]=[],this[_0x1c49fd(0x12b)]=null,this[_0x1c49fd(0xd3)]=null,this[_0x1c49fd(0xdf)]=null,this[_0x1c49fd(0x12f)]=null,this['gtaoPass']=null,this['traaPass']=null,this[_0x1c49fd(0x116)]=null,this['lut3dTexture']=null,this[_0x1c49fd(0xd4)]&&(this[_0x1c49fd(0xd4)][_0x1c49fd(0xe9)](),this['postProcessing']=null);}['markDirty'](){const _0x319f92=_0x5e1ed7;this[_0x319f92(0xda)]&&this[_0x319f92(0xda)]();}}
|
|
74
|
+
function _0x17ba(){const _0x18836e=['6950hvNdrE','974471upPCyJ','290CqtUWg','3cbYxtI','60dhVbua','1638178mQBvVX','12249UUCvCE','1706078LZIzBJ','1187316OJmDza','1754291XqHjvP','16JcVyhc','114594CDXCfV'];_0x17ba=function(){return _0x18836e;};return _0x17ba();}(function(_0x3f692e,_0x25dade){const _0x521db9=_0x3079,_0x5bf80d=_0x3f692e();while(!![]){try{const _0x4ae723=parseInt(_0x521db9(0x14e))/0x1+-parseInt(_0x521db9(0x152))/0x2*(parseInt(_0x521db9(0x150))/0x3)+parseInt(_0x521db9(0x155))/0x4+-parseInt(_0x521db9(0x14f))/0x5*(parseInt(_0x521db9(0x14c))/0x6)+parseInt(_0x521db9(0x14a))/0x7*(-parseInt(_0x521db9(0x14b))/0x8)+-parseInt(_0x521db9(0x153))/0x9*(-parseInt(_0x521db9(0x14d))/0xa)+parseInt(_0x521db9(0x154))/0xb*(parseInt(_0x521db9(0x151))/0xc);if(_0x4ae723===_0x25dade)break;else _0x5bf80d['push'](_0x5bf80d['shift']());}catch(_0x2bf063){_0x5bf80d['push'](_0x5bf80d['shift']());}}}(_0x17ba,0x89d94));function _0x3079(_0x3d8b69,_0x2af49f){_0x3d8b69=_0x3d8b69-0x14a;const _0x17bacf=_0x17ba();let _0x307926=_0x17bacf[_0x3d8b69];return _0x307926;}const DefaultGTAOParam={'type':exports.PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
66
75
|
|
|
67
|
-
const _0x343899=_0x5556;(function(_0x28dd9a,_0x358152){const _0xa4c06e=_0x5556,_0x5bfb00=_0x28dd9a();while(!![]){try{const _0x260d94=-parseInt(_0xa4c06e(0x143))/0x1+parseInt(_0xa4c06e(0x183))/0x2+-parseInt(_0xa4c06e(0x163))/0x3+parseInt(_0xa4c06e(0x14c))/0x4+-parseInt(_0xa4c06e(0x19d))/0x5+-parseInt(_0xa4c06e(0x19c))/0x6+-parseInt(_0xa4c06e(0x140))/0x7*(-parseInt(_0xa4c06e(0x177))/0x8);if(_0x260d94===_0x358152)break;else _0x5bfb00['push'](_0x5bfb00['shift']());}catch(_0x64d7de){_0x5bfb00['push'](_0x5bfb00['shift']());}}}(_0x3eb5,0x870c5));function _0x5556(_0x1a8269,_0x20be4f){_0x1a8269=_0x1a8269-0x13d;const _0x3eb578=_0x3eb5();let _0x555673=_0x3eb578[_0x1a8269];return _0x555673;}function _0x3eb5(){const _0x52d30f=['render','100%','1657864rPoSQW','createPostProcessManager','samples','antialias','elementId','postProcessParam','setupPostProcess','setAnimationLoop','setClearAlpha','setDepth','camera','className','scene-uiLayer','updatePostProcess','.scene-uiLayer','zIndex','createLabelRenderer','removeOutlineObject','shadowMap','onWindowResize','clientWidth','app','position','setStencil','left','4279956CAnSKK','3906035mADfiP','style','pointerEvents','App\x20is\x20not\x20initialized','onAfterPostProcessRender','updateSteps','disconnect','setup','createRenderer','querySelector','setToneMapping','createUILayer','5579GLTtxt','dispose','enabled','847133xqzKrL','addOutlineObject','updateCamera','isUILayerNeeded','depth','observe','alpha','setToneMappingExposure','setLogarithmicDepthBufferEnabled','1395376NDRSuB','getElementById','type','setOutlineObjects','canvas','logarithmicDepthBuffer','isRenderStateDirty','createElement','renderAsImage','_canvasContainer','forceWebGL','height','world','_uiDom','appendChild','_app','destroy','clientHeight','outer','init','top','labelRenderer','0px','80367zlnjPT','Renderer\x20is\x20not\x20initialized','isLabelRendererNeeded','_outerContainer','toneMapping','none','toDataURL','assign','postProcessManager','setShadowMapType','uiDom','_renderer','add','image/jpeg','updateRendererSettings','outputBufferType','scene-labelRenderer','toneMappingExposure','stencil','domElement','17504IeFaZX','shadowMapType','renderer','resizeObserver','markRenderStateDirty','remove','contentBoxSize','destroyPostProcess','setSize','scene'];_0x3eb5=function(){return _0x52d30f;};return _0x3eb5();}class Viewport{get[_0x343899(0x16d)](){const _0x25d722=_0x343899;return this[_0x25d722(0x159)];}get[_0x343899(0x150)](){const _0x46b43a=_0x343899;return this[_0x46b43a(0x155)];}get[_0x343899(0x15e)](){return this['_outerContainer'];}get['renderer'](){const _0x3a4fdb=_0x343899;if(!this[_0x3a4fdb(0x16e)])throw Error(_0x3a4fdb(0x164));return this[_0x3a4fdb(0x16e)];}get[_0x343899(0x198)](){const _0x3a366b=_0x343899;if(!this['_app'])throw Error(_0x3a366b(0x1a0));return this[_0x3a366b(0x15b)];}constructor(_0x4ff966,_0x224639,_0x33e348,_0x5a2b39){const _0x367830=_0x343899;this[_0x367830(0x159)]=null,this[_0x367830(0x16e)]=null,this[_0x367830(0x161)]=null,this[_0x367830(0x15b)]=null,this[_0x367830(0x17a)]=null,this[_0x367830(0x166)]=null,this[_0x367830(0x155)]=null,this[_0x367830(0x152)]=!![],this[_0x367830(0x16b)]=null,this['postProcessParam']=Object[_0x367830(0x16a)]({},_0x5a2b39),this[_0x367830(0x15b)]=_0x4ff966,_0x224639[_0x367830(0x187)]&&(this[_0x367830(0x166)]=document[_0x367830(0x14d)](_0x224639['elementId'])),this[_0x367830(0x1a5)](_0x33e348),_0x224639[_0x367830(0x165)]&&this[_0x367830(0x193)](),_0x224639[_0x367830(0x146)]&&this[_0x367830(0x13f)](),this[_0x367830(0x166)]&&(this['resizeObserver']=new ResizeObserver(_0x40eb5d=>{const _0x459ad=_0x367830;for(let _0x14b949 of _0x40eb5d){_0x14b949[_0x459ad(0x17d)]&&this[_0x459ad(0x196)]();}}),this[_0x367830(0x17a)][_0x367830(0x148)](this[_0x367830(0x166)])),this[_0x367830(0x198)]['onCameraChangedDelegate'][_0x367830(0x16f)](()=>{const _0x2b8fc5=_0x367830;this[_0x2b8fc5(0x16b)]&&(this[_0x2b8fc5(0x16b)][_0x2b8fc5(0x145)](this[_0x2b8fc5(0x198)][_0x2b8fc5(0x18d)]),this[_0x2b8fc5(0x16b)][_0x2b8fc5(0x1a4)]());});}[_0x343899(0x1a5)](_0x4aaddc){const _0x4ed2f3=_0x343899;this[_0x4ed2f3(0x166)]&&!this[_0x4ed2f3(0x155)]&&(this[_0x4ed2f3(0x155)]=document[_0x4ed2f3(0x153)]('div'),this[_0x4ed2f3(0x155)]['style'][_0x4ed2f3(0x19b)]='0px',this[_0x4ed2f3(0x155)][_0x4ed2f3(0x19e)][_0x4ed2f3(0x160)]=_0x4ed2f3(0x162),this[_0x4ed2f3(0x155)][_0x4ed2f3(0x19e)]['width']=_0x4ed2f3(0x182),this['_canvasContainer'][_0x4ed2f3(0x19e)][_0x4ed2f3(0x157)]='100%',this['_outerContainer'][_0x4ed2f3(0x15a)](this[_0x4ed2f3(0x155)]));const _0x115025=this['_canvasContainer'];this['_renderer']&&(_0x115025&&_0x115025['removeChild'](this['_renderer'][_0x4ed2f3(0x176)]),this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x141)]());let _0x30ab40=_0x115025?_0x115025['clientWidth']:0x200,_0x26e96c=_0x115025?_0x115025[_0x4ed2f3(0x15d)]:0x200,_0x4b3ffd={};_0x4b3ffd[_0x4ed2f3(0x156)]=_0x4aaddc[_0x4ed2f3(0x156)],_0x4b3ffd['antialias']=_0x4aaddc[_0x4ed2f3(0x186)],_0x4b3ffd[_0x4ed2f3(0x147)]=_0x4aaddc[_0x4ed2f3(0x147)],_0x4b3ffd[_0x4ed2f3(0x175)]=_0x4aaddc[_0x4ed2f3(0x175)],_0x4b3ffd[_0x4ed2f3(0x149)]=_0x4aaddc[_0x4ed2f3(0x149)],_0x4b3ffd[_0x4ed2f3(0x151)]=_0x4aaddc[_0x4ed2f3(0x151)],_0x4b3ffd[_0x4ed2f3(0x185)]=_0x4aaddc['samples'],_0x4b3ffd[_0x4ed2f3(0x172)]=_0x4aaddc['outputBufferType'],this[_0x4ed2f3(0x16e)]=new webgpu.WebGPURenderer(_0x4b3ffd),this[_0x4ed2f3(0x16e)]['setPixelRatio'](window['devicePixelRatio']),this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x17f)](_0x30ab40,_0x26e96c),this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x195)]['enabled']=_0x4aaddc['shadowMapEnabled'],this['_renderer'][_0x4ed2f3(0x195)][_0x4ed2f3(0x14e)]=_0x4aaddc[_0x4ed2f3(0x178)],this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x167)]=_0x4aaddc[_0x4ed2f3(0x167)],this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x174)]=_0x4aaddc[_0x4ed2f3(0x174)],this['_renderer'][_0x4ed2f3(0x18b)](0x0),_0x115025&&_0x115025[_0x4ed2f3(0x15a)](this[_0x4ed2f3(0x16e)][_0x4ed2f3(0x176)]);}[_0x343899(0x193)](){const _0x5cf6ae=_0x343899,_0x2f9a39=this[_0x5cf6ae(0x166)];this['labelRenderer']&&(_0x2f9a39&&_0x2f9a39['removeChild'](this['labelRenderer'][_0x5cf6ae(0x176)]));let _0x1fbe25=_0x2f9a39?_0x2f9a39['clientWidth']:0x200,_0x3e52e9=_0x2f9a39?_0x2f9a39[_0x5cf6ae(0x15d)]:0x200;this[_0x5cf6ae(0x161)]=new Addons_js.CSS2DRenderer(),this[_0x5cf6ae(0x161)]['setSize'](_0x1fbe25,_0x3e52e9),this['labelRenderer'][_0x5cf6ae(0x176)][_0x5cf6ae(0x19e)]['pointerEvents']=_0x5cf6ae(0x168),this[_0x5cf6ae(0x161)][_0x5cf6ae(0x176)][_0x5cf6ae(0x19e)][_0x5cf6ae(0x199)]='absolute',this[_0x5cf6ae(0x161)]['domElement'][_0x5cf6ae(0x19e)][_0x5cf6ae(0x160)]='0px',this[_0x5cf6ae(0x161)][_0x5cf6ae(0x176)][_0x5cf6ae(0x18e)]=_0x5cf6ae(0x173),_0x2f9a39&&_0x2f9a39[_0x5cf6ae(0x15a)](this[_0x5cf6ae(0x161)][_0x5cf6ae(0x176)]);}['createUILayer'](){const _0x46692b=_0x343899;if(!this[_0x46692b(0x166)])return;let _0x4968ac=this[_0x46692b(0x166)][_0x46692b(0x13d)](_0x46692b(0x191));!_0x4968ac&&(_0x4968ac=document[_0x46692b(0x153)]('div'),_0x4968ac[_0x46692b(0x18e)]=_0x46692b(0x18f),_0x4968ac['id']=_0x46692b(0x18f),_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x199)]='absolute',_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x19b)]='0',_0x4968ac[_0x46692b(0x19e)]['top']='0',_0x4968ac[_0x46692b(0x19e)]['width']=_0x46692b(0x182),_0x4968ac['style'][_0x46692b(0x157)]=_0x46692b(0x182),_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x19f)]='none',_0x4968ac[_0x46692b(0x19e)][_0x46692b(0x192)]='10',this['_outerContainer'][_0x46692b(0x15a)](_0x4968ac),this[_0x46692b(0x159)]=_0x4968ac);}[_0x343899(0x15f)](){this['setupPostProcess']();}[_0x343899(0x189)](){const _0x249e27=_0x343899;!this[_0x249e27(0x16b)]&&(this[_0x249e27(0x16b)]=this[_0x249e27(0x184)]()),this[_0x249e27(0x16b)]['setup']();}['createPostProcessManager'](){const _0x26e721=_0x343899;return new PostProcessManager(this['renderer'],this[_0x26e721(0x198)][_0x26e721(0x158)][_0x26e721(0x180)],this[_0x26e721(0x198)][_0x26e721(0x18d)],this[_0x26e721(0x188)],()=>this['markRenderStateDirty']());}[_0x343899(0x190)](_0xda11d6){const _0x1ecc5f=_0x343899;this['postProcessManager']&&this[_0x1ecc5f(0x16b)][_0x1ecc5f(0x1a2)](_0xda11d6);}[_0x343899(0x171)](_0xaa5183){const _0x4b1173=_0x343899;this['createRenderer'](_0xaa5183),this[_0x4b1173(0x17b)]();}['addOutlineObject'](_0x2757ec){const _0x15b43c=_0x343899;this['postProcessManager']&&this[_0x15b43c(0x16b)][_0x15b43c(0x144)](_0x2757ec);}[_0x343899(0x14f)](_0x3665aa){const _0x24cc3c=_0x343899;this[_0x24cc3c(0x16b)]&&this['postProcessManager'][_0x24cc3c(0x14f)](_0x3665aa);}[_0x343899(0x194)](_0x247594){const _0x1b84b5=_0x343899;this[_0x1b84b5(0x16b)]&&this[_0x1b84b5(0x16b)][_0x1b84b5(0x194)](_0x247594);}[_0x343899(0x17e)](){const _0x4682ba=_0x343899;this[_0x4682ba(0x16b)]&&(this[_0x4682ba(0x16b)][_0x4682ba(0x15c)](),this[_0x4682ba(0x16b)]=null);}[_0x343899(0x196)](){const _0x33d527=_0x343899;let _0x5917dd=this[_0x33d527(0x166)];if(!_0x5917dd)return;this['app'][_0x33d527(0x196)](_0x5917dd[_0x33d527(0x197)],_0x5917dd['clientHeight']),this[_0x33d527(0x179)]['setSize'](_0x5917dd[_0x33d527(0x197)],_0x5917dd[_0x33d527(0x15d)]);if(this['labelRenderer'])this[_0x33d527(0x161)][_0x33d527(0x17f)](_0x5917dd[_0x33d527(0x197)],_0x5917dd[_0x33d527(0x15d)]);this[_0x33d527(0x17b)]();}[_0x343899(0x17b)](){const _0x2072d3=_0x343899;this[_0x2072d3(0x152)]=!![];}[_0x343899(0x181)](){const _0x468eef=_0x343899;if(!this[_0x468eef(0x152)])return;if(this[_0x468eef(0x16b)]&&this[_0x468eef(0x16b)][_0x468eef(0x181)]());else this[_0x468eef(0x179)][_0x468eef(0x181)](this['app'][_0x468eef(0x158)][_0x468eef(0x180)],this[_0x468eef(0x198)][_0x468eef(0x18d)]);this[_0x468eef(0x1a1)](),this[_0x468eef(0x161)]&&this['labelRenderer']['render'](this['app'][_0x468eef(0x158)][_0x468eef(0x180)],this[_0x468eef(0x198)]['camera']),this[_0x468eef(0x152)]=![];}[_0x343899(0x1a1)](){}async[_0x343899(0x154)](_0xcd6a3b=0x400,_0xb73b26=0x400){const _0xcc493e=_0x343899;try{if(this[_0xcc493e(0x16b)]&&this['postProcessManager'][_0xcc493e(0x181)]()){}else await this['renderer'][_0xcc493e(0x181)](this['app'][_0xcc493e(0x158)]['scene'],this[_0xcc493e(0x198)][_0xcc493e(0x18d)]);const _0x3881e0=this[_0xcc493e(0x179)]['domElement']['width'],_0x9735e2=this[_0xcc493e(0x179)]['domElement']['height'];let _0xb69296=_0x3881e0||_0xcd6a3b,_0x340822=_0x9735e2||_0xb73b26;(_0xb69296<=0x0||_0x340822<=0x0)&&(_0xb69296=_0xcd6a3b,_0x340822=_0xb73b26);const _0x222be2=document[_0xcc493e(0x153)]('canvas');_0x222be2['width']=_0xcd6a3b,_0x222be2[_0xcc493e(0x157)]=_0xb73b26;const _0x47359e=_0x222be2['getContext']('2d');if(!_0x47359e)throw Error('Can\x20not\x20create\x20context');_0x47359e['drawImage'](this[_0xcc493e(0x179)][_0xcc493e(0x176)],0x0,0x0,_0xb69296,_0x340822,0x0,0x0,_0xcd6a3b,_0xb73b26);const _0x377138=_0x222be2[_0xcc493e(0x169)](_0xcc493e(0x170));return _0x222be2[_0xcc493e(0x17c)](),_0x377138;}catch(_0x5982ee){return '';}}['setAlpha'](_0x12450d){const _0x381af3=_0x343899;if(!this[_0x381af3(0x16e)])return;this[_0x381af3(0x16e)][_0x381af3(0x149)]=_0x12450d;}['setShadowMapEnabled'](_0x408fac){const _0x48e34d=_0x343899;if(!this[_0x48e34d(0x16e)])return;this[_0x48e34d(0x16e)][_0x48e34d(0x195)][_0x48e34d(0x142)]=_0x408fac;}[_0x343899(0x16c)](_0x527978){const _0x3aa75c=_0x343899;if(!this['_renderer'])return;this[_0x3aa75c(0x16e)][_0x3aa75c(0x195)][_0x3aa75c(0x14e)]=_0x527978;}[_0x343899(0x13e)](_0x21ea0b){const _0x553796=_0x343899;if(!this[_0x553796(0x16e)])return;this[_0x553796(0x16e)][_0x553796(0x167)]=_0x21ea0b;}[_0x343899(0x14a)](_0x13338d){const _0x1ad193=_0x343899;if(!this[_0x1ad193(0x16e)])return;this[_0x1ad193(0x16e)][_0x1ad193(0x174)]=_0x13338d;}[_0x343899(0x14b)](_0x970bed){const _0x131f40=_0x343899;if(!this[_0x131f40(0x16e)])return;this['_renderer']['logarithmicDepthBuffer']=_0x970bed;}[_0x343899(0x18c)](_0x39eadb){const _0x1477a3=_0x343899;if(!this[_0x1477a3(0x16e)])return;this[_0x1477a3(0x16e)]['depth']=_0x39eadb;}[_0x343899(0x19a)](_0x3f7104){const _0x5d33bf=_0x343899;if(!this[_0x5d33bf(0x16e)])return;this[_0x5d33bf(0x16e)]['stencil']=_0x3f7104;}['destroy'](){const _0x265628=_0x343899;this[_0x265628(0x17e)](),this[_0x265628(0x179)][_0x265628(0x18a)](null),this[_0x265628(0x17a)]&&(this['resizeObserver'][_0x265628(0x1a3)](),this[_0x265628(0x17a)]=null),this[_0x265628(0x161)]&&(this[_0x265628(0x161)][_0x265628(0x176)][_0x265628(0x17c)](),this[_0x265628(0x161)]=null),this['_renderer']&&(this['renderer']['domElement']['remove'](),this[_0x265628(0x16e)][_0x265628(0x141)](),this[_0x265628(0x16e)]=null),this[_0x265628(0x155)]&&(this[_0x265628(0x155)][_0x265628(0x17c)](),this[_0x265628(0x155)]=null),this['_outerContainer']=null,this[_0x265628(0x15b)]=null;}}
|
|
76
|
+
(function(_0x38fa6c,_0x51f2e1){const _0x5a9c9d=_0x4b20,_0x29d272=_0x38fa6c();while(!![]){try{const _0x264703=parseInt(_0x5a9c9d(0x137))/0x1+parseInt(_0x5a9c9d(0x139))/0x2*(parseInt(_0x5a9c9d(0x133))/0x3)+parseInt(_0x5a9c9d(0x130))/0x4*(parseInt(_0x5a9c9d(0x12f))/0x5)+parseInt(_0x5a9c9d(0x131))/0x6*(-parseInt(_0x5a9c9d(0x138))/0x7)+parseInt(_0x5a9c9d(0x135))/0x8*(-parseInt(_0x5a9c9d(0x134))/0x9)+-parseInt(_0x5a9c9d(0x136))/0xa+-parseInt(_0x5a9c9d(0x13a))/0xb*(-parseInt(_0x5a9c9d(0x132))/0xc);if(_0x264703===_0x51f2e1)break;else _0x29d272['push'](_0x29d272['shift']());}catch(_0xe0810d){_0x29d272['push'](_0x29d272['shift']());}}}(_0x4d75,0xb2362));const DefaultOutlineParams={'type':exports.PostProcessStepType['Outline'],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};function _0x4b20(_0x2dae13,_0xf397e){_0x2dae13=_0x2dae13-0x12f;const _0x4d7582=_0x4d75();let _0x4b20ad=_0x4d7582[_0x2dae13];return _0x4b20ad;}function _0x4d75(){const _0x3999df=['9FFwrTD','3292480LPScoP','2378600VvfFFA','502038DYENvp','7IecwyD','178hyEzQR','264VvwyZT','94540jfVgyx','48wMyByT','7296186DHtCiC','859944uajBVp','4941UBwYPJ'];_0x4d75=function(){return _0x3999df;};return _0x4d75();}
|
|
68
77
|
|
|
69
|
-
function
|
|
78
|
+
function _0x42d4(){const _0x4d2a90=['21023rSwjDL','7914UKZhnu','935649ZhppRh','58qmTcRj','20xlaobm','4uSdlUi','12996852UPHHqW','3742674qNzgGu','11qiqhZD','518920Jvvipf','27270EXFQlY','49lJOufF','115DaEWBd'];_0x42d4=function(){return _0x4d2a90;};return _0x42d4();}function _0x19e8(_0x161893,_0x33ce27){_0x161893=_0x161893-0x95;const _0x42d4b7=_0x42d4();let _0x19e88d=_0x42d4b7[_0x161893];return _0x19e88d;}(function(_0x1d563b,_0x47dabb){const _0x80479d=_0x19e8,_0x59eb41=_0x1d563b();while(!![]){try{const _0x12998c=-parseInt(_0x80479d(0x9f))/0x1*(parseInt(_0x80479d(0x95))/0x2)+parseInt(_0x80479d(0xa1))/0x3*(parseInt(_0x80479d(0x97))/0x4)+parseInt(_0x80479d(0x9e))/0x5*(parseInt(_0x80479d(0xa0))/0x6)+parseInt(_0x80479d(0x9d))/0x7*(-parseInt(_0x80479d(0x9b))/0x8)+parseInt(_0x80479d(0x9c))/0x9*(-parseInt(_0x80479d(0x96))/0xa)+parseInt(_0x80479d(0x9a))/0xb*(parseInt(_0x80479d(0x98))/0xc)+parseInt(_0x80479d(0x99))/0xd;if(_0x12998c===_0x47dabb)break;else _0x59eb41['push'](_0x59eb41['shift']());}catch(_0x52fa61){_0x59eb41['push'](_0x59eb41['shift']());}}}(_0x42d4,0x9d14f));const DefaultLensFlareParam={'type':exports.PostProcessStepType['LensFlare'],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
70
79
|
|
|
71
|
-
const _0x55427d=_0x23d8;(function(_0x4db475,_0x26c53c){const _0x44e9b7=_0x23d8,_0x241557=_0x4db475();while(!![]){try{const _0x308424=parseInt(_0x44e9b7(0x1c0))/0x1+-parseInt(_0x44e9b7(0x1b7))/0x2+-parseInt(_0x44e9b7(0x1ad))/0x3+parseInt(_0x44e9b7(0x1b6))/0x4*(parseInt(_0x44e9b7(0x1b2))/0x5)+parseInt(_0x44e9b7(0x1a6))/0x6+parseInt(_0x44e9b7(0x1c5))/0x7+parseInt(_0x44e9b7(0x1c6))/0x8;if(_0x308424===_0x26c53c)break;else _0x241557['push'](_0x241557['shift']());}catch(_0x4b40d4){_0x241557['push'](_0x241557['shift']());}}}(_0x26aa,0x64a79));function _0x26aa(){const _0x30519d=['focusTo','update','quaternion','distanceTo','markRenderStateDirty','2151438JqGeCB','set','canvas','kill','copy','isEuler','possess','1106091rzVtGd','clone','onChange','Control\x20not\x20initialized','alpha','90iveuru','changeEvent','control','controller','2732wfmYXV','1456988pBxOvf','target','stopFocusing','subVectors','applyQuaternion','length','change','unpossess','position','268552OgJLNm','viewPort','object','getFocuingData','normalize','1443043HZYaGt','5311232GnGrev','addEventListener','_control','camera','setFromEuler','anim'];_0x26aa=function(){return _0x30519d;};return _0x26aa();}function _0x23d8(_0x5319b9,_0x833444){_0x5319b9=_0x5319b9-0x1a0;const _0x26aaf4=_0x26aa();let _0x23d873=_0x26aaf4[_0x5319b9];return _0x23d873;}class Orbital extends Pawn{get[_0x55427d(0x1b4)](){const _0x26b331=_0x55427d;if(!this['_control'])throw new Error(_0x26b331(0x1b0));return this['_control'];}get[_0x55427d(0x1c9)](){const _0x38d430=_0x55427d;return this[_0x38d430(0x1b5)][_0x38d430(0x1c9)];}constructor(_0x28e74a){const _0x444bf1=_0x55427d;super(_0x28e74a),this[_0x444bf1(0x1a0)]=null,this[_0x444bf1(0x1b3)]=()=>{const _0x53aa4c=_0x444bf1;this[_0x53aa4c(0x1af)]();},this[_0x444bf1(0x1c8)]=new OrbitControls_js.OrbitControls(_0x28e74a['camera'],_0x28e74a[_0x444bf1(0x1c1)][_0x444bf1(0x1a8)]),this[_0x444bf1(0x1b4)]['target'][_0x444bf1(0x1a7)](0x0,0x0,0x0),_0x28e74a[_0x444bf1(0x1c9)][_0x444bf1(0x1bf)][_0x444bf1(0x1a7)](0x0,0x4,0x4),this['control']['update']();}[_0x55427d(0x1ac)](){const _0x4fad6b=_0x55427d;super[_0x4fad6b(0x1ac)](),this[_0x4fad6b(0x1b4)][_0x4fad6b(0x1c7)](_0x4fad6b(0x1bd),this[_0x4fad6b(0x1b3)]);}[_0x55427d(0x1be)](){const _0x1743de=_0x55427d;super[_0x1743de(0x1be)](),this[_0x1743de(0x1b4)]['removeEventListener'](_0x1743de(0x1bd),this[_0x1743de(0x1b3)]);}[_0x55427d(0x1af)](){const _0xff502b=_0x55427d;this['controller']['viewPort'][_0xff502b(0x1a5)]();}[_0x55427d(0x1a1)](_0x45adcf,_0x6d2b23,_0x5918d8,_0x4c953b,_0x2b3fdb=null,_0x2b32b5=null){const _0x51b27f=_0x55427d;this[_0x51b27f(0x1b9)]();let _0x1e04ff=null;(_0x6d2b23===null||_0x6d2b23===void 0?void 0:_0x6d2b23[_0x51b27f(0x1ab)])?_0x1e04ff=new three.Quaternion()[_0x51b27f(0x1ca)](_0x6d2b23):_0x1e04ff=_0x6d2b23;!_0x6d2b23&&(_0x1e04ff=this[_0x51b27f(0x1b5)]['camera'][_0x51b27f(0x1a3)]);_0x1e04ff['normalize']();let _0x46d082=new three.Vector3(0x0,0x0,0x1);_0x46d082[_0x51b27f(0x1bb)](_0x1e04ff)['multiplyScalar'](-1),_0x46d082[_0x51b27f(0x1c4)]();let _0x3655e=this[_0x51b27f(0x1c9)][_0x51b27f(0x1bf)][_0x51b27f(0x1ae)](),_0x6778ae=new three.Vector3(_0x45adcf['x']+_0x46d082['x']*_0x5918d8*-1,_0x45adcf['y']+_0x46d082['y']*_0x5918d8*-1,_0x45adcf['z']+_0x46d082['z']*_0x5918d8*-1),_0x5a2ef4=new three.Vector3()['subVectors'](_0x6778ae,_0x3655e),_0xff4f5a=_0x5a2ef4[_0x51b27f(0x1bc)]();_0x5a2ef4['normalize']();let _0x1d57ef=this['control'][_0x51b27f(0x1b8)][_0x51b27f(0x1ae)](),_0x39cfcb=new three.Vector3()[_0x51b27f(0x1ba)](_0x45adcf,_0x1d57ef),_0x256e5d=_0x39cfcb['length']();_0x39cfcb[_0x51b27f(0x1c4)]();if(_0xff4f5a+_0x256e5d<0.1)return;const _0x73a1b5=this;let _0x12f72e={'alpha':0x0};this['anim']=gsap.gsap['to'](_0x12f72e,{'duration':_0x4c953b,'alpha':0x1,'onUpdate':()=>{const _0x207373=_0x51b27f;let _0x440260=_0x12f72e[_0x207373(0x1b1)],_0x7e19f7=new three.Vector3(_0x3655e['x']+_0x5a2ef4['x']*_0x440260*_0xff4f5a,_0x3655e['y']+_0x5a2ef4['y']*_0x440260*_0xff4f5a,_0x3655e['z']+_0x5a2ef4['z']*_0x440260*_0xff4f5a),_0x435116=new three.Vector3(_0x1d57ef['x']+_0x39cfcb['x']*_0x440260*_0x256e5d,_0x1d57ef['y']+_0x39cfcb['y']*_0x440260*_0x256e5d,_0x1d57ef['z']+_0x39cfcb['z']*_0x440260*_0x256e5d);_0x73a1b5['control'][_0x207373(0x1c2)][_0x207373(0x1bf)][_0x207373(0x1aa)](_0x7e19f7),_0x73a1b5[_0x207373(0x1b4)][_0x207373(0x1b8)]['copy'](_0x435116),_0x73a1b5[_0x207373(0x1b4)][_0x207373(0x1a2)]();_0x2b3fdb&&_0x2b3fdb();if(_0x73a1b5['controller'][_0x207373(0x1c1)])_0x73a1b5[_0x207373(0x1b5)]['viewPort']['markRenderStateDirty']();},'onComplete':function(){const _0x4cdbcd=_0x51b27f;_0x2b32b5&&_0x2b32b5();if(_0x73a1b5[_0x4cdbcd(0x1b5)][_0x4cdbcd(0x1c1)])_0x73a1b5[_0x4cdbcd(0x1b5)][_0x4cdbcd(0x1c1)][_0x4cdbcd(0x1a5)]();}});}[_0x55427d(0x1c3)](){const _0x45d100=_0x55427d;if(!this[_0x45d100(0x1b4)]||!this['camera'])return null;const _0x476bba=this[_0x45d100(0x1c9)][_0x45d100(0x1bf)][_0x45d100(0x1ae)](),_0x5559c6=this[_0x45d100(0x1c9)]['quaternion'][_0x45d100(0x1ae)](),_0xd1ddaf=this['control']['target'][_0x45d100(0x1ae)](),_0x368be2=_0x476bba[_0x45d100(0x1a4)](_0xd1ddaf);return {'position':_0xd1ddaf,'quaternion':_0x5559c6,'distance':_0x368be2};}[_0x55427d(0x1b9)](){const _0x296073=_0x55427d;this[_0x296073(0x1a0)]&&this[_0x296073(0x1a0)][_0x296073(0x1a9)](),this[_0x296073(0x1a0)]=null;}}
|
|
80
|
+
function _0x5f09(){const _0x589e50=['postProcessing','lensflareEnabled','includes','length','visibleEdgeColor','markDirty','add','push','outlineHiddenEdgeColor','outlineEdgeStrength','onBuildFinalNode','edgeThickness','effectUniforms','traaPass','GroundTruthAmbientOcclusion','samples','outlineEdgeThickness','updateSteps','destroy','greaterThan','assign','dofEnabled','updateAllUniforms','695488mhHUrZ','21264ZITAGY','edgeStrength','gtaoDistanceFallOff','camera','splice','focus','addOutlineObject','distanceExponent','threshold','bloomRadius','aperture','output','2228110kUgfot','outlineEnabled','ghostSamples','focalLengthNode','ghostSpacing','value','mul','traa','364qtukJy','getStepParam','lut3dTexture','edgeGlow','gtaoDistanceExponent','268353PDhPrd','1215926nnQTIi','Outline','thickness','maxblur','fxaaEnabled','outlinePulsePeriod','hiddenEdgeColor','onDirtyCallback','ghostTint','outlineVisibleEdgeColor','10056SDcSGz','outputNode','fxaa','removeOutlineObject','gtaoPass','dofPass','indexOf','getViewZNode','select','normal','map','method','updateCamera','LensFlare','bloomThreshold','outlineObjects','distanceFallOff','radius','renderer','scene','gtaoScale','pulsePeriod','find','useTemporalFiltering','ghostAttenuationFactor','gtaoSamples','bloomEnabled','getLUT3DTexture','resolutionScale','outlinePass','1387680rJbTiq','buildPipeline','gtaoRadius','setMRT','gtaoThickness','scale','dofFocus','selectedObjects','strength','steps','setOutlineObjects','smaa','needsUpdate','outlineEdgeGlow','has','1HQgsen','render','Bloom','postProcessParam','bloomPass','type','dispose','DepthOfField','edgeGlowNode','smaaEnabled','createEffectUniforms','Antialiasing','837UrolWL','processing','getTextureNode','lensflarePass','bokehScaleNode'];_0x5f09=function(){return _0x589e50;};return _0x5f09();}const _0x58f04c=_0x15fa;(function(_0x3ebabb,_0x3d84bd){const _0x58d906=_0x15fa,_0x5e4e3c=_0x3ebabb();while(!![]){try{const _0x2a1bab=-parseInt(_0x58d906(0xe9))/0x1*(-parseInt(_0x58d906(0xb2))/0x2)+parseInt(_0x58d906(0xb1))/0x3+-parseInt(_0x58d906(0x111))/0x4+-parseInt(_0x58d906(0xda))/0x5+parseInt(_0x58d906(0xbc))/0x6*(parseInt(_0x58d906(0xac))/0x7)+-parseInt(_0x58d906(0x112))/0x8*(parseInt(_0x58d906(0xf5))/0x9)+parseInt(_0x58d906(0xa4))/0xa;if(_0x2a1bab===_0x3d84bd)break;else _0x5e4e3c['push'](_0x5e4e3c['shift']());}catch(_0x3a7b33){_0x5e4e3c['push'](_0x5e4e3c['shift']());}}}(_0x5f09,0x4b627));function _0x15fa(_0x131e00,_0x95f00b){_0x131e00=_0x131e00-0x99;const _0x5f0961=_0x5f09();let _0x15fa70=_0x5f0961[_0x131e00];return _0x15fa70;}class PostProcessManager{constructor(_0xf20dc9,_0x5e99c5,_0x5c1dda,_0x28d16f,_0x144dba){const _0x31a837=_0x15fa;this[_0x31a837(0xfa)]=null,this[_0x31a837(0xcb)]=[],this[_0x31a837(0x106)]=null,this[_0x31a837(0xd9)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x31a837(0xc0)]=null,this[_0x31a837(0x107)]=null,this[_0x31a837(0xf8)]=null,this['lut3dTexture']=null,this[_0x31a837(0xb9)]=null,this[_0x31a837(0xce)]=_0xf20dc9,this['scene']=_0x5e99c5,this[_0x31a837(0x9b)]=_0x5c1dda,this[_0x31a837(0xec)]=Object[_0x31a837(0x10e)]({},_0x28d16f),this[_0x31a837(0xb9)]=_0x144dba!==null&&_0x144dba!==void 0?_0x144dba:null;}get[_0x58f04c(0xf6)](){const _0x35ec26=_0x58f04c;return this[_0x35ec26(0xfa)];}[_0x58f04c(0xc8)](_0x88527a){const _0x3e5259=_0x58f04c;this[_0x3e5259(0x9b)]=_0x88527a,(!this[_0x3e5259(0xfa)]||!this[_0x3e5259(0x106)])&&(this[_0x3e5259(0xdb)](),this[_0x3e5259(0x110)](),this['markDirty']());}['setup'](){const _0x3f7463=_0x58f04c;(!this['postProcessing']||!this[_0x3f7463(0x106)])&&this[_0x3f7463(0xdb)](),this[_0x3f7463(0x110)](),this[_0x3f7463(0xff)]();}[_0x58f04c(0xdb)](){const _0x275abd=_0x58f04c;var _0x449412,_0x57d98b,_0x291156,_0x29b58d,_0x3b57f8;this['postProcessing']&&this[_0x275abd(0xfa)][_0x275abd(0xef)]();this[_0x275abd(0xfa)]=new webgpu.PostProcessing(this[_0x275abd(0xce)]),this[_0x275abd(0xd9)]=null,this[_0x275abd(0xed)]=null,this[_0x275abd(0xc1)]=null,this['gtaoPass']=null,this[_0x275abd(0x107)]=null,this[_0x275abd(0xf8)]=null,this[_0x275abd(0x106)]=this[_0x275abd(0xf3)]();const _0xa68cc0=new Set(this[_0x275abd(0xec)]['steps']['map'](_0x5b7903=>_0x5b7903[_0x275abd(0xee)])),_0x188acd=this[_0x275abd(0xad)](exports.PostProcessStepType[_0x275abd(0xf4)]),_0x184c87=_0xa68cc0[_0x275abd(0xe8)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']),_0x242980=(_0x188acd===null||_0x188acd===void 0?void 0:_0x188acd['method'])===_0x275abd(0xab),_0x2ac4d9=tsl.pass(this['scene'],this['camera']);if(_0x184c87||_0x242980){const _0x523027={'output':tsl.output};if(_0x184c87)_0x523027[_0x275abd(0xc5)]=tsl.normalView;if(_0x242980)_0x523027['velocity']=tsl.velocity;_0x2ac4d9[_0x275abd(0xdd)](tsl.mrt(_0x523027));}const _0x46d4f1=_0x2ac4d9[_0x275abd(0xf7)](_0x275abd(0xa3)),_0x2ca52d=_0x2ac4d9[_0x275abd(0xf7)]('depth'),_0x48047b=_0x2ac4d9[_0x275abd(0xc3)](),_0x91643=_0x184c87?_0x2ac4d9[_0x275abd(0xf7)](_0x275abd(0xc5)):null,_0x4110=_0x242980?_0x2ac4d9[_0x275abd(0xf7)]('velocity'):null,_0x5565fb=this[_0x275abd(0x106)];let _0x2cf251=_0x46d4f1;const _0x10712f=_0xa68cc0['has'](exports.PostProcessStepType[_0x275abd(0xeb)]),_0x33686b=_0xa68cc0[_0x275abd(0xe8)](exports.PostProcessStepType[_0x275abd(0xc9)]);if(_0x10712f||_0x33686b){const _0x235c33=(_0x449412=this[_0x275abd(0xad)](exports.PostProcessStepType[_0x275abd(0xeb)]))!==null&&_0x449412!==void 0?_0x449412:DefaultBloomParam;this[_0x275abd(0xed)]=BloomNode_js.bloom(_0x46d4f1),this['bloomPass']['threshold'][_0x275abd(0xa9)]=_0x235c33[_0x275abd(0xa0)],this[_0x275abd(0xed)][_0x275abd(0xe2)][_0x275abd(0xa9)]=_0x235c33[_0x275abd(0xe2)],this[_0x275abd(0xed)][_0x275abd(0xcd)][_0x275abd(0xa9)]=_0x235c33[_0x275abd(0xcd)];if(_0x10712f){const _0x1e3593=this[_0x275abd(0xed)][_0x275abd(0xaa)](_0x5565fb['bloomStrength']);_0x2cf251=tsl.vec4(_0x46d4f1['r'][_0x275abd(0x100)](_0x1e3593['r']),_0x46d4f1['g']['add'](_0x1e3593['g']),_0x46d4f1['b'][_0x275abd(0x100)](_0x1e3593['b']),_0x46d4f1['a']);}if(_0x33686b){const _0x5479a7=(_0x57d98b=this['getStepParam'](exports.PostProcessStepType[_0x275abd(0xc9)]))!==null&&_0x57d98b!==void 0?_0x57d98b:DefaultLensFlareParam;this[_0x275abd(0xf8)]=LensflareNode_js.lensflare(this[_0x275abd(0xed)][_0x275abd(0xf7)](),{'ghostTint':tsl.vec3(_0x5479a7[_0x275abd(0xba)][0x0],_0x5479a7['ghostTint'][0x1],_0x5479a7[_0x275abd(0xba)][0x2]),'threshold':tsl.float(_0x5479a7['threshold']),'ghostSamples':tsl.float(_0x5479a7[_0x275abd(0xa6)]),'ghostSpacing':tsl.float(_0x5479a7[_0x275abd(0xa8)]),'ghostAttenuationFactor':tsl.float(_0x5479a7[_0x275abd(0xd4)]),'downSampleRatio':_0x5479a7['downSampleRatio']});const _0x37ee3b=this[_0x275abd(0xf8)][_0x275abd(0xf7)]();_0x2cf251=tsl.vec4(_0x2cf251['r']['add'](_0x37ee3b['r']),_0x2cf251['g']['add'](_0x37ee3b['g']),_0x2cf251['b'][_0x275abd(0x100)](_0x37ee3b['b']),_0x2cf251['a']);}}if(_0xa68cc0['has'](exports.PostProcessStepType[_0x275abd(0xf0)])){const _0x16742f=(_0x291156=this[_0x275abd(0xad)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x291156!==void 0?_0x291156:DefaultDOFParam;this[_0x275abd(0xc1)]=DepthOfFieldNode_js.dof(_0x2cf251,_0x48047b,tsl.uniform(_0x16742f['focus']),tsl.uniform(_0x16742f['aperture']),tsl.uniform(_0x16742f[_0x275abd(0xb5)])),_0x2cf251=tsl.vec4(this['dofPass']['r'],this[_0x275abd(0xc1)]['g'],this['dofPass']['b'],_0x46d4f1['a']);}if(_0x184c87&&_0x91643){const _0x5b2fca=(_0x29b58d=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x29b58d!==void 0?_0x29b58d:DefaultGTAOParam;this[_0x275abd(0xc0)]=GTAONode_js.ao(_0x2ca52d,_0x91643,this[_0x275abd(0x9b)]),this[_0x275abd(0xc0)][_0x275abd(0xd8)]=0.5,this['gtaoPass']['distanceExponent']['value']=_0x5b2fca['distanceExponent'],this[_0x275abd(0xc0)]['distanceFallOff']['value']=_0x5b2fca[_0x275abd(0xcc)],this[_0x275abd(0xc0)][_0x275abd(0xcd)]['value']=_0x5b2fca[_0x275abd(0xcd)],this['gtaoPass'][_0x275abd(0xdf)][_0x275abd(0xa9)]=_0x5b2fca['scale'],this[_0x275abd(0xc0)][_0x275abd(0xb4)]['value']=_0x5b2fca[_0x275abd(0xb4)],this['gtaoPass']['samples']['value']=_0x5b2fca[_0x275abd(0x109)],this['gtaoPass'][_0x275abd(0xd3)]=_0x5b2fca[_0x275abd(0xd3)];const _0xde10c9=this[_0x275abd(0xc0)]['getTextureNode']()['r'];_0x2cf251=tsl.vec4(_0x2cf251['r'][_0x275abd(0xaa)](_0xde10c9),_0x2cf251['g']['mul'](_0xde10c9),_0x2cf251['b']['mul'](_0xde10c9),_0x2cf251['a']);}if(_0xa68cc0[_0x275abd(0xe8)](exports.PostProcessStepType[_0x275abd(0xb3)])){const _0x2701e4=(_0x3b57f8=this[_0x275abd(0xad)](exports.PostProcessStepType['Outline']))!==null&&_0x3b57f8!==void 0?_0x3b57f8:DefaultOutlineParams;this['outlinePass']=OutlineNode_js.outline(this[_0x275abd(0xcf)],this[_0x275abd(0x9b)],{'selectedObjects':this[_0x275abd(0xcb)],'edgeGlow':tsl.uniform(_0x2701e4['edgeGlow']),'edgeThickness':tsl.uniform(_0x2701e4['edgeThickness'])});const {visibleEdge:_0x34ad12,hiddenEdge:_0x4448fd}=this['outlinePass'],_0x25acf1=_0x5565fb[_0x275abd(0xb7)][_0x275abd(0x10d)](0x0)[_0x275abd(0xc4)](_0x5565fb[_0x275abd(0xb7)],tsl.uniform(0x1)),_0x3ef4a3=tsl.time['div'](_0x25acf1)[_0x275abd(0xaa)](0x2),_0x57e1eb=tsl.oscSine(_0x3ef4a3)[_0x275abd(0xaa)](0.5)[_0x275abd(0x100)](0.5),_0x2b051c=_0x34ad12[_0x275abd(0xaa)](_0x5565fb[_0x275abd(0xbb)])[_0x275abd(0x100)](_0x4448fd['mul'](_0x5565fb[_0x275abd(0x102)]))['mul'](_0x5565fb[_0x275abd(0x103)]),_0x5043f3=_0x5565fb[_0x275abd(0xb7)]['greaterThan'](0x0),_0x367f6a=_0x5043f3[_0x275abd(0xc4)](_0x57e1eb,tsl.float(0x1));_0x2cf251=tsl.vec4(_0x2cf251['r'][_0x275abd(0x100)](_0x2b051c['r']['mul'](_0x367f6a)),_0x2cf251['g'][_0x275abd(0x100)](_0x2b051c['g'][_0x275abd(0xaa)](_0x367f6a)),_0x2cf251['b'][_0x275abd(0x100)](_0x2b051c['b']['mul'](_0x367f6a)),_0x2cf251['a']);}if(_0x188acd){if(_0x188acd['method']===_0x275abd(0xbe))_0x2cf251=FXAANode_js.fxaa(_0x2cf251);else {if(_0x188acd[_0x275abd(0xc7)]===_0x275abd(0xe5))_0x2cf251=SMAANode_js.smaa(_0x2cf251);else _0x188acd['method']===_0x275abd(0xab)&&_0x4110&&(this[_0x275abd(0x107)]=TRAANode_js.traa(_0x2cf251,_0x2ca52d,_0x4110,this['camera']),_0x2cf251=this[_0x275abd(0x107)][_0x275abd(0xf7)]());}}_0x2cf251=this[_0x275abd(0x104)](_0x2cf251),_0x2cf251=tsl.vec4(_0x2cf251['r'],_0x2cf251['g'],_0x2cf251['b'],_0x46d4f1['a']),this[_0x275abd(0xfa)][_0x275abd(0xbd)]=_0x2cf251,this[_0x275abd(0xfa)][_0x275abd(0xe6)]=!![];}[_0x58f04c(0x104)](_0x2dfc34){return _0x2dfc34;}['createEffectUniforms'](){const _0x57e161=_0x58f04c;var _0x502ccb,_0x59b602,_0x51f6df,_0x43b8cb;const _0x20416a=(_0x502ccb=this['getStepParam'](exports.PostProcessStepType[_0x57e161(0xeb)]))!==null&&_0x502ccb!==void 0?_0x502ccb:DefaultBloomParam,_0x4269dc=(_0x59b602=this['getStepParam'](exports.PostProcessStepType[_0x57e161(0xf0)]))!==null&&_0x59b602!==void 0?_0x59b602:DefaultDOFParam,_0x106681=(_0x51f6df=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x51f6df!==void 0?_0x51f6df:DefaultGTAOParam,_0x566e37=(_0x43b8cb=this[_0x57e161(0xad)](exports.PostProcessStepType[_0x57e161(0xb3)]))!==null&&_0x43b8cb!==void 0?_0x43b8cb:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x20416a['strength']),'bloomThreshold':tsl.uniform(_0x20416a[_0x57e161(0xa0)]),'bloomRadius':tsl.uniform(_0x20416a['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x4269dc[_0x57e161(0x9d)]),'dofAperture':tsl.uniform(_0x4269dc[_0x57e161(0xa2)]),'dofMaxBlur':tsl.uniform(_0x4269dc[_0x57e161(0xb5)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x106681[_0x57e161(0xdf)]),'gtaoDistanceExponent':tsl.uniform(_0x106681[_0x57e161(0x9f)]),'gtaoDistanceFallOff':tsl.uniform(_0x106681[_0x57e161(0xcc)]),'gtaoRadius':tsl.uniform(_0x106681[_0x57e161(0xcd)]),'gtaoThickness':tsl.uniform(_0x106681[_0x57e161(0xb4)]),'gtaoSamples':tsl.uniform(_0x106681[_0x57e161(0x109)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x566e37['edgeStrength']),'outlineEdgeGlow':tsl.uniform(_0x566e37[_0x57e161(0xaf)]),'outlineEdgeThickness':tsl.uniform(_0x566e37[_0x57e161(0x105)]),'outlinePulsePeriod':tsl.uniform(_0x566e37[_0x57e161(0xd1)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x566e37['visibleEdgeColor'])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x566e37[_0x57e161(0xb8)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x58f04c(0xad)](_0x3faf7b){const _0x37553d=_0x58f04c;var _0x2d909f;return (_0x2d909f=this['postProcessParam']['steps'][_0x37553d(0xd2)](_0x31b56b=>_0x31b56b['type']===_0x3faf7b))!==null&&_0x2d909f!==void 0?_0x2d909f:null;}[_0x58f04c(0x110)](){const _0x3f6850=_0x58f04c;if(!this[_0x3f6850(0x106)])return;const _0x3df089=this[_0x3f6850(0x106)],_0x2fbeb3=new Set(this[_0x3f6850(0xec)][_0x3f6850(0xe3)][_0x3f6850(0xc6)](_0x46205b=>_0x46205b[_0x3f6850(0xee)]));_0x3df089[_0x3f6850(0xd6)][_0x3f6850(0xa9)]=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType['Bloom'])?0x1:0x0,_0x3df089[_0x3f6850(0x10f)]['value']=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType[_0x3f6850(0xf0)])?0x1:0x0,_0x3df089['gtaoEnabled'][_0x3f6850(0xa9)]=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType[_0x3f6850(0x108)])?0x1:0x0,_0x3df089[_0x3f6850(0xa5)][_0x3f6850(0xa9)]=_0x2fbeb3['has'](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x3df089[_0x3f6850(0xfb)][_0x3f6850(0xa9)]=_0x2fbeb3[_0x3f6850(0xe8)](exports.PostProcessStepType[_0x3f6850(0xc9)])?0x1:0x0;const _0x360bb3=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xf4)]);_0x360bb3?(_0x3df089[_0x3f6850(0xb6)]['value']=_0x360bb3[_0x3f6850(0xc7)]==='fxaa'?0x1:0x0,_0x3df089['smaaEnabled']['value']=_0x360bb3[_0x3f6850(0xc7)]==='smaa'?0x1:0x0):(_0x3df089['fxaaEnabled']['value']=0x0,_0x3df089[_0x3f6850(0xf2)]['value']=0x0);const _0x4221f0=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xeb)]);_0x4221f0&&(_0x3df089['bloomStrength']['value']=_0x4221f0[_0x3f6850(0xe2)],_0x3df089[_0x3f6850(0xca)][_0x3f6850(0xa9)]=_0x4221f0[_0x3f6850(0xa0)],_0x3df089[_0x3f6850(0xa1)]['value']=_0x4221f0['radius'],this['bloomPass']&&(this['bloomPass'][_0x3f6850(0xa0)][_0x3f6850(0xa9)]=_0x4221f0[_0x3f6850(0xa0)],this[_0x3f6850(0xed)]['strength'][_0x3f6850(0xa9)]=_0x4221f0['strength'],this[_0x3f6850(0xed)]['radius'][_0x3f6850(0xa9)]=_0x4221f0[_0x3f6850(0xcd)]));const _0x24c181=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xc9)]);if(_0x24c181&&this[_0x3f6850(0xf8)]);const _0x1659d8=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0xf0)]);_0x1659d8&&(_0x3df089[_0x3f6850(0xe0)][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0x9d)],_0x3df089['dofAperture'][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0xa2)],_0x3df089['dofMaxBlur'][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0xb5)],this[_0x3f6850(0xc1)]&&(this[_0x3f6850(0xc1)]['focusDistanceNode'][_0x3f6850(0xa9)]=_0x1659d8['focus'],this[_0x3f6850(0xc1)][_0x3f6850(0xa7)][_0x3f6850(0xa9)]=_0x1659d8[_0x3f6850(0xa2)],this[_0x3f6850(0xc1)][_0x3f6850(0xf9)]['value']=_0x1659d8[_0x3f6850(0xb5)]));const _0x318834=this[_0x3f6850(0xad)](exports.PostProcessStepType[_0x3f6850(0x108)]);_0x318834&&(_0x3df089[_0x3f6850(0xd0)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xdf)],_0x3df089[_0x3f6850(0xb0)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0x9f)],_0x3df089[_0x3f6850(0x9a)][_0x3f6850(0xa9)]=_0x318834['distanceFallOff'],_0x3df089[_0x3f6850(0xdc)][_0x3f6850(0xa9)]=_0x318834['radius'],_0x3df089[_0x3f6850(0xde)][_0x3f6850(0xa9)]=_0x318834['thickness'],_0x3df089[_0x3f6850(0xd5)]['value']=_0x318834[_0x3f6850(0x109)],this[_0x3f6850(0xc0)]&&(this[_0x3f6850(0xc0)][_0x3f6850(0x9f)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0x9f)],this[_0x3f6850(0xc0)][_0x3f6850(0xcc)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xcc)],this[_0x3f6850(0xc0)][_0x3f6850(0xcd)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xcd)],this[_0x3f6850(0xc0)][_0x3f6850(0xdf)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0xdf)],this['gtaoPass'][_0x3f6850(0xb4)]['value']=_0x318834['thickness'],this[_0x3f6850(0xc0)][_0x3f6850(0x109)][_0x3f6850(0xa9)]=_0x318834[_0x3f6850(0x109)],this[_0x3f6850(0xc0)][_0x3f6850(0xd3)]=_0x318834[_0x3f6850(0xd3)]));const _0xe40ed=this['getStepParam'](exports.PostProcessStepType[_0x3f6850(0xb3)]);_0xe40ed&&(_0x3df089['outlineEdgeStrength']['value']=_0xe40ed[_0x3f6850(0x99)],_0x3df089[_0x3f6850(0xe7)]['value']=_0xe40ed[_0x3f6850(0xaf)],_0x3df089[_0x3f6850(0x10a)][_0x3f6850(0xa9)]=_0xe40ed[_0x3f6850(0x105)],_0x3df089['outlinePulsePeriod'][_0x3f6850(0xa9)]=_0xe40ed['pulsePeriod'],_0x3df089['outlineVisibleEdgeColor'][_0x3f6850(0xa9)]['set'](_0xe40ed[_0x3f6850(0xfe)]),_0x3df089[_0x3f6850(0x102)][_0x3f6850(0xa9)]['set'](_0xe40ed['hiddenEdgeColor']),this[_0x3f6850(0xd9)]&&(this['outlinePass'][_0x3f6850(0xf1)][_0x3f6850(0xa9)]=_0xe40ed['edgeGlow'],this[_0x3f6850(0xd9)]['edgeThicknessNode']['value']=_0xe40ed[_0x3f6850(0x105)],this[_0x3f6850(0xd9)]['selectedObjects']=this[_0x3f6850(0xcb)]));}[_0x58f04c(0x10b)](_0x1dec0f){const _0x27ed46=_0x58f04c;this['postProcessParam'][_0x27ed46(0xe3)]=_0x1dec0f,this[_0x27ed46(0xdb)](),this[_0x27ed46(0x110)](),this[_0x27ed46(0xff)]();}[_0x58f04c(0x9e)](_0xc8197){const _0x5a3994=_0x58f04c;!this[_0x5a3994(0xcb)][_0x5a3994(0xfc)](_0xc8197)&&(this[_0x5a3994(0xcb)][_0x5a3994(0x101)](_0xc8197),this[_0x5a3994(0xd9)]&&(this[_0x5a3994(0xd9)][_0x5a3994(0xe1)]=this[_0x5a3994(0xcb)])),this[_0x5a3994(0xff)]();}[_0x58f04c(0xe4)](_0x4c66ad){const _0x1546e5=_0x58f04c;this[_0x1546e5(0xcb)][_0x1546e5(0xfd)]=0x0,this[_0x1546e5(0xcb)]['push'](..._0x4c66ad),this[_0x1546e5(0xd9)]&&(this['outlinePass']['selectedObjects']=this[_0x1546e5(0xcb)]),this[_0x1546e5(0xff)]();}[_0x58f04c(0xbf)](_0x399b09){const _0x25dedf=_0x58f04c,_0x4cca85=this[_0x25dedf(0xcb)][_0x25dedf(0xc2)](_0x399b09);_0x4cca85>-1&&(this['outlineObjects'][_0x25dedf(0x9c)](_0x4cca85,0x1),this[_0x25dedf(0xd9)]&&(this[_0x25dedf(0xd9)][_0x25dedf(0xe1)]=this[_0x25dedf(0xcb)])),this[_0x25dedf(0xff)]();}['setLUT3DTexture'](_0x434fb7){const _0x11d937=_0x58f04c;this[_0x11d937(0xae)]=_0x434fb7,this[_0x11d937(0xdb)](),this[_0x11d937(0x110)](),this[_0x11d937(0xff)]();}[_0x58f04c(0xd7)](){const _0x28bb54=_0x58f04c;return this[_0x28bb54(0xae)];}[_0x58f04c(0xea)](){const _0x5b81ba=_0x58f04c;if(this[_0x5b81ba(0xfa)])return this[_0x5b81ba(0xfa)][_0x5b81ba(0xea)](),!![];return ![];}[_0x58f04c(0x10c)](){const _0x9cdda7=_0x58f04c;this['outlineObjects']=[],this[_0x9cdda7(0x106)]=null,this[_0x9cdda7(0xd9)]=null,this[_0x9cdda7(0xed)]=null,this[_0x9cdda7(0xc1)]=null,this[_0x9cdda7(0xc0)]=null,this['traaPass']=null,this[_0x9cdda7(0xf8)]=null,this[_0x9cdda7(0xae)]=null,this[_0x9cdda7(0xfa)]&&(this['postProcessing']['dispose'](),this[_0x9cdda7(0xfa)]=null);}['markDirty'](){const _0x4d2dcd=_0x58f04c;this[_0x4d2dcd(0xb9)]&&this[_0x4d2dcd(0xb9)]();}}
|
|
72
81
|
|
|
73
|
-
const _0x195d68=_0x5a15;function _0x2e3b(){const _0x2284ac=['1110843vPwTgq','canvas','camera','viewPort','clone','6hUAoud','5793752rdychE','_control','5875785FTUKTU','controller','1500cJPVop','1979012oMUJDr','getFocuingData','position','12093BrvBOj','120dUmuRE','392682LcfeYa','10463005qEvvHl'];_0x2e3b=function(){return _0x2284ac;};return _0x2e3b();}(function(_0x2aebf7,_0x528998){const _0x2a24f4=_0x5a15,_0x3dd33b=_0x2aebf7();while(!![]){try{const _0x1b1283=-parseInt(_0x2a24f4(0xdb))/0x1+parseInt(_0x2a24f4(0xe8))/0x2+-parseInt(_0x2a24f4(0xeb))/0x3*(parseInt(_0x2a24f4(0xe7))/0x4)+parseInt(_0x2a24f4(0xe5))/0x5+-parseInt(_0x2a24f4(0xe2))/0x6*(-parseInt(_0x2a24f4(0xdc))/0x7)+parseInt(_0x2a24f4(0xe3))/0x8+-parseInt(_0x2a24f4(0xdd))/0x9*(parseInt(_0x2a24f4(0xec))/0xa);if(_0x1b1283===_0x528998)break;else _0x3dd33b['push'](_0x3dd33b['shift']());}catch(_0x1862a4){_0x3dd33b['push'](_0x3dd33b['shift']());}}}(_0x2e3b,0xf3b16));function _0x5a15(_0x5592d3,_0x1e32e3){_0x5592d3=_0x5592d3-0xdb;const _0x2e3b96=_0x2e3b();let _0x5a158a=_0x2e3b96[_0x5592d3];return _0x5a158a;}class FirstPerson extends Pawn{constructor(_0x1081a4){const _0x1aa364=_0x5a15;super(_0x1081a4),this[_0x1aa364(0xe4)]=new PointerLockControls_js.PointerLockControls(_0x1081a4[_0x1aa364(0xdf)],_0x1081a4[_0x1aa364(0xe0)][_0x1aa364(0xde)]);}[_0x195d68(0xe9)](){const _0x3bc2d4=_0x195d68;var _0x7651aa;if(!this[_0x3bc2d4(0xe4)]||!((_0x7651aa=this['controller'])===null||_0x7651aa===void 0?void 0:_0x7651aa['camera']))return null;const _0x5b1ece=this[_0x3bc2d4(0xe6)]['camera'][_0x3bc2d4(0xea)][_0x3bc2d4(0xe1)](),_0x57f9e6=this[_0x3bc2d4(0xe6)][_0x3bc2d4(0xdf)]['quaternion'][_0x3bc2d4(0xe1)](),_0x362a3=0x0;return {'position':_0x5b1ece,'quaternion':_0x57f9e6,'distance':_0x362a3};}}
|
|
82
|
+
const _0xb46d85=_0x507e;(function(_0x55fee5,_0x1fd7e0){const _0x47b30f=_0x507e,_0x23b9ce=_0x55fee5();while(!![]){try{const _0x360c86=parseInt(_0x47b30f(0x1cb))/0x1*(-parseInt(_0x47b30f(0x200))/0x2)+-parseInt(_0x47b30f(0x211))/0x3*(-parseInt(_0x47b30f(0x1d7))/0x4)+parseInt(_0x47b30f(0x20a))/0x5*(parseInt(_0x47b30f(0x1d3))/0x6)+parseInt(_0x47b30f(0x1db))/0x7+-parseInt(_0x47b30f(0x202))/0x8+-parseInt(_0x47b30f(0x1e3))/0x9+parseInt(_0x47b30f(0x1f4))/0xa*(parseInt(_0x47b30f(0x20f))/0xb);if(_0x360c86===_0x1fd7e0)break;else _0x23b9ce['push'](_0x23b9ce['shift']());}catch(_0x586dac){_0x23b9ce['push'](_0x23b9ce['shift']());}}}(_0x58ef,0xd97ba));function _0x507e(_0x1db20c,_0x18cbe5){_0x1db20c=_0x1db20c-0x1c3;const _0x58efd9=_0x58ef();let _0x507e34=_0x58efd9[_0x1db20c];return _0x507e34;}function _0x58ef(){const _0x34dbce=['threshold','scene','248465BnDMTO','focus','updateOutlineParameters','buildPipeline','map','33vOlTgM','length','24BSXOMw','steps','getLUT3DTexture','DepthOfField','getSize','value','outputPass','visibleEdgeColor','maxblur','renderer','Outline','destroy','dispose','17502UYdJCx','assign','gtaoPass','setSize','fxaaPass','smaaPass','markDirty','strength','24laKCxJ','selectedObjects','Antialiasing','updateCamera','536612ANbNuA','setup','render','bloomPass','6340698mlRRlw','addOutlineObject','camera','lutPass','smaa','renderPass','fxaa','outlineObjects','13520997zrbXLW','pulsePeriod','postProcessParam','uniforms','updateAllParameters','GroundTruthAmbientOcclusion','setOutlineObjects','setLUT3DTexture','dofPass','set','indexOf','resolution','updateGTAOParameters','push','includes','aperture','edgeThickness','5710340TUjjHh','blendIntensity','processing','hiddenEdgeColor','renderCamera','onDirtyCallback','edgeStrength','lut3dTexture','composer','resize','radius','Bloom','144NjZaSs','type','1901000HlYEpw','getStepParam','outlinePass','addPass','has','edgeGlow'];_0x58ef=function(){return _0x34dbce;};return _0x58ef();}class WebGLPostProcessManager{constructor(_0x53c8b1,_0x2d5862,_0x3db9e0,_0x1ab8f1,_0x3815f5){const _0x1d78f9=_0x507e;this[_0x1d78f9(0x1fc)]=null,this[_0x1d78f9(0x1e2)]=[],this[_0x1d78f9(0x1e0)]=null,this[_0x1d78f9(0x204)]=null,this[_0x1d78f9(0x1da)]=null,this[_0x1d78f9(0x1eb)]=null,this[_0x1d78f9(0x1cd)]=null,this[_0x1d78f9(0x1d0)]=null,this[_0x1d78f9(0x1cf)]=null,this[_0x1d78f9(0x1de)]=null,this[_0x1d78f9(0x1c4)]=null,this[_0x1d78f9(0x1fb)]=null,this[_0x1d78f9(0x1f9)]=null,this[_0x1d78f9(0x1c7)]=_0x53c8b1,this[_0x1d78f9(0x209)]=_0x2d5862,this['camera']=_0x3db9e0,this['postProcessParam']=Object[_0x1d78f9(0x1cc)]({},_0x1ab8f1),this[_0x1d78f9(0x1f9)]=_0x3815f5!==null&&_0x3815f5!==void 0?_0x3815f5:null;}get[_0xb46d85(0x1f6)](){const _0xd7628f=_0xb46d85;return this[_0xd7628f(0x1fc)];}[_0xb46d85(0x1d6)](_0xb15cd2){const _0x364797=_0xb46d85;this[_0x364797(0x1dd)]=_0xb15cd2;if(!this[_0x364797(0x1fc)])this['buildPipeline'](),this[_0x364797(0x1d1)]();else {if(this[_0x364797(0x1e0)])this[_0x364797(0x1e0)]['camera']=this[_0x364797(0x1dd)];if(this[_0x364797(0x204)])this[_0x364797(0x204)][_0x364797(0x1f8)]=this[_0x364797(0x1dd)];this[_0x364797(0x1eb)]&&(this['dofPass']['camera']=this[_0x364797(0x1dd)]),this[_0x364797(0x1cd)]&&(this[_0x364797(0x1cd)][_0x364797(0x1dd)]=this[_0x364797(0x1dd)]);}}[_0xb46d85(0x1d8)](){const _0x2e1a71=_0xb46d85;!this[_0x2e1a71(0x1fc)]?this[_0x2e1a71(0x20d)]():this[_0x2e1a71(0x1e7)](),this[_0x2e1a71(0x1d1)]();}[_0xb46d85(0x20d)](){const _0x4e5e08=_0xb46d85;var _0x5239df,_0x5f1a8b,_0x252219,_0x2f69be;this[_0x4e5e08(0x1fc)]&&this[_0x4e5e08(0x1fc)][_0x4e5e08(0x1ca)]();this[_0x4e5e08(0x1fc)]=new EffectComposer_js.EffectComposer(this[_0x4e5e08(0x1c7)]),this[_0x4e5e08(0x1e0)]=new RenderPass_js.RenderPass(this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)]),this['composer'][_0x4e5e08(0x205)](this['renderPass']),this[_0x4e5e08(0x204)]=null,this[_0x4e5e08(0x1da)]=null,this[_0x4e5e08(0x1eb)]=null,this[_0x4e5e08(0x1cd)]=null,this['smaaPass']=null,this['fxaaPass']=null,this[_0x4e5e08(0x1de)]=null,this[_0x4e5e08(0x1c4)]=null;const _0x2c7737=new Set(this[_0x4e5e08(0x1e5)][_0x4e5e08(0x212)][_0x4e5e08(0x20e)](_0x4fe8ba=>_0x4fe8ba[_0x4e5e08(0x201)]));if(_0x2c7737[_0x4e5e08(0x206)](exports.PostProcessStepType[_0x4e5e08(0x1e8)])){const _0x4380d7=(_0x5239df=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1e8)]))!==null&&_0x5239df!==void 0?_0x5239df:DefaultGTAOParam,_0x401853=this[_0x4e5e08(0x1c7)][_0x4e5e08(0x215)](new three.Vector2());this[_0x4e5e08(0x1cd)]=new GTAOPass_js.GTAOPass(this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)],_0x401853['x'],_0x401853['y']),this['updateGTAOParameters'](_0x4380d7),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this[_0x4e5e08(0x1cd)]);}if(_0x2c7737['has'](exports.PostProcessStepType[_0x4e5e08(0x214)])){const _0x33c167=(_0x5f1a8b=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x214)]))!==null&&_0x5f1a8b!==void 0?_0x5f1a8b:DefaultDOFParam;this['dofPass']=new BokehPass_js.BokehPass(this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)],{'focus':_0x33c167[_0x4e5e08(0x20b)],'aperture':_0x33c167[_0x4e5e08(0x1f2)],'maxblur':_0x33c167[_0x4e5e08(0x1c6)]}),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this['dofPass']);}if(_0x2c7737['has'](exports.PostProcessStepType['Bloom'])){const _0x9b5ffb=(_0x252219=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1ff)]))!==null&&_0x252219!==void 0?_0x252219:DefaultBloomParam,_0x46e010=this[_0x4e5e08(0x1c7)][_0x4e5e08(0x215)](new three.Vector2());this[_0x4e5e08(0x1da)]=new UnrealBloomPass_js.UnrealBloomPass(_0x46e010,_0x9b5ffb[_0x4e5e08(0x1d2)],_0x9b5ffb[_0x4e5e08(0x1fe)],_0x9b5ffb['threshold']),this[_0x4e5e08(0x1fc)]['addPass'](this[_0x4e5e08(0x1da)]);}if(_0x2c7737['has'](exports.PostProcessStepType['Outline'])){const _0x49c6b7=(_0x2f69be=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1c8)]))!==null&&_0x2f69be!==void 0?_0x2f69be:DefaultOutlineParams,_0x5d8e49=this[_0x4e5e08(0x1c7)]['getSize'](new three.Vector2());this['outlinePass']=new OutlinePass_js.OutlinePass(_0x5d8e49,this[_0x4e5e08(0x209)],this[_0x4e5e08(0x1dd)]),this[_0x4e5e08(0x204)]['selectedObjects']=this['outlineObjects'],this[_0x4e5e08(0x20c)](_0x49c6b7),this[_0x4e5e08(0x1fc)]['addPass'](this[_0x4e5e08(0x204)]);}this[_0x4e5e08(0x1fb)]&&(this[_0x4e5e08(0x1de)]=new LUTPass_js.LUTPass({'lut':this[_0x4e5e08(0x1fb)]}),this['composer'][_0x4e5e08(0x205)](this[_0x4e5e08(0x1de)]));const _0x3bba23=this[_0x4e5e08(0x203)](exports.PostProcessStepType[_0x4e5e08(0x1d5)]);if(_0x3bba23){const _0xd66f0b=this[_0x4e5e08(0x1c7)][_0x4e5e08(0x215)](new three.Vector2());if(_0x3bba23['method']===_0x4e5e08(0x1e1))this['fxaaPass']=new ShaderPass_js.ShaderPass(FXAAShader_js.FXAAShader),this[_0x4e5e08(0x1cf)]['uniforms'][_0x4e5e08(0x1ee)][_0x4e5e08(0x1c3)][_0x4e5e08(0x1ec)](0x1/_0xd66f0b['x'],0x1/_0xd66f0b['y']),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this[_0x4e5e08(0x1cf)]);else _0x3bba23['method']===_0x4e5e08(0x1df)&&(this[_0x4e5e08(0x1d0)]=new SMAAPass_js.SMAAPass(_0xd66f0b['x'],_0xd66f0b['y']),this[_0x4e5e08(0x1fc)][_0x4e5e08(0x205)](this[_0x4e5e08(0x1d0)]));}this[_0x4e5e08(0x1c4)]=new OutputPass_js.OutputPass(),this['composer'][_0x4e5e08(0x205)](this['outputPass']);}[_0xb46d85(0x203)](_0x4de9cd){const _0x41e559=_0xb46d85;var _0x553f8f;return (_0x553f8f=this['postProcessParam'][_0x41e559(0x212)]['find'](_0x3f73bb=>_0x3f73bb[_0x41e559(0x201)]===_0x4de9cd))!==null&&_0x553f8f!==void 0?_0x553f8f:null;}[_0xb46d85(0x1e7)](){const _0x2e27d4=_0xb46d85,_0xf182b2=this[_0x2e27d4(0x203)](exports.PostProcessStepType['Bloom']);_0xf182b2&&this['bloomPass']&&(this[_0x2e27d4(0x1da)][_0x2e27d4(0x1d2)]=_0xf182b2[_0x2e27d4(0x1d2)],this[_0x2e27d4(0x1da)][_0x2e27d4(0x1fe)]=_0xf182b2[_0x2e27d4(0x1fe)],this[_0x2e27d4(0x1da)][_0x2e27d4(0x208)]=_0xf182b2['threshold']);const _0x3f2df1=this['getStepParam'](exports.PostProcessStepType[_0x2e27d4(0x214)]);if(_0x3f2df1&&this[_0x2e27d4(0x1eb)]){const _0x20343c=this['dofPass'];_0x20343c[_0x2e27d4(0x1e6)]&&(_0x20343c[_0x2e27d4(0x1e6)][_0x2e27d4(0x20b)][_0x2e27d4(0x1c3)]=_0x3f2df1[_0x2e27d4(0x20b)],_0x20343c[_0x2e27d4(0x1e6)][_0x2e27d4(0x1f2)][_0x2e27d4(0x1c3)]=_0x3f2df1['aperture'],_0x20343c[_0x2e27d4(0x1e6)][_0x2e27d4(0x1c6)][_0x2e27d4(0x1c3)]=_0x3f2df1['maxblur']);}const _0xd6c3b3=this[_0x2e27d4(0x203)](exports.PostProcessStepType[_0x2e27d4(0x1e8)]);_0xd6c3b3&&this['gtaoPass']&&this[_0x2e27d4(0x1ef)](_0xd6c3b3);const _0x69dc8f=this[_0x2e27d4(0x203)](exports.PostProcessStepType[_0x2e27d4(0x1c8)]);_0x69dc8f&&this[_0x2e27d4(0x204)]&&this['updateOutlineParameters'](_0x69dc8f);}[_0xb46d85(0x1ef)](_0x27dfc6){const _0x1e091f=_0xb46d85;if(!this[_0x1e091f(0x1cd)])return;this[_0x1e091f(0x1cd)][_0x1e091f(0x1f5)]=_0x27dfc6['scale'];}['updateOutlineParameters'](_0x25f540){const _0x431f19=_0xb46d85;if(!this[_0x431f19(0x204)])return;this[_0x431f19(0x204)][_0x431f19(0x1fa)]=_0x25f540[_0x431f19(0x1fa)],this['outlinePass'][_0x431f19(0x207)]=_0x25f540['edgeGlow'],this['outlinePass']['edgeThickness']=_0x25f540[_0x431f19(0x1f3)],this[_0x431f19(0x204)][_0x431f19(0x1e4)]=_0x25f540[_0x431f19(0x1e4)],this['outlinePass'][_0x431f19(0x1c5)]=new three.Color(_0x25f540[_0x431f19(0x1c5)]),this[_0x431f19(0x204)][_0x431f19(0x1f7)]=new three.Color(_0x25f540[_0x431f19(0x1f7)]);}['updateSteps'](_0xc0d21e){const _0x2b63e4=_0xb46d85;this['postProcessParam']['steps']=_0xc0d21e,this[_0x2b63e4(0x20d)](),this[_0x2b63e4(0x1d1)]();}[_0xb46d85(0x1dc)](_0x20866d){const _0x401ef0=_0xb46d85;!this['outlineObjects'][_0x401ef0(0x1f1)](_0x20866d)&&(this[_0x401ef0(0x1e2)][_0x401ef0(0x1f0)](_0x20866d),this[_0x401ef0(0x204)]&&(this[_0x401ef0(0x204)]['selectedObjects']=this[_0x401ef0(0x1e2)])),this[_0x401ef0(0x1d1)]();}[_0xb46d85(0x1e9)](_0x2e6e48){const _0x427e16=_0xb46d85;this[_0x427e16(0x1e2)][_0x427e16(0x210)]=0x0,this[_0x427e16(0x1e2)][_0x427e16(0x1f0)](..._0x2e6e48),this[_0x427e16(0x204)]&&(this[_0x427e16(0x204)][_0x427e16(0x1d4)]=this['outlineObjects']),this['markDirty']();}['removeOutlineObject'](_0x25ad77){const _0x5f16d4=_0xb46d85,_0x4cbd6c=this[_0x5f16d4(0x1e2)][_0x5f16d4(0x1ed)](_0x25ad77);_0x4cbd6c>-1&&(this[_0x5f16d4(0x1e2)]['splice'](_0x4cbd6c,0x1),this[_0x5f16d4(0x204)]&&(this[_0x5f16d4(0x204)]['selectedObjects']=this[_0x5f16d4(0x1e2)])),this['markDirty']();}[_0xb46d85(0x1ea)](_0x481f13){const _0x594091=_0xb46d85;this[_0x594091(0x1fb)]=_0x481f13,this[_0x594091(0x20d)](),this[_0x594091(0x1d1)]();}[_0xb46d85(0x213)](){return this['lut3dTexture'];}[_0xb46d85(0x1d9)](){const _0x41e6c5=_0xb46d85;if(this[_0x41e6c5(0x1fc)])return this[_0x41e6c5(0x1fc)][_0x41e6c5(0x1d9)](),!![];return ![];}[_0xb46d85(0x1fd)](_0x2b7b0e,_0x42e172){const _0x82f697=_0xb46d85;this[_0x82f697(0x1fc)]&&this[_0x82f697(0x1fc)][_0x82f697(0x1ce)](_0x2b7b0e,_0x42e172),this[_0x82f697(0x1cf)]&&this['fxaaPass']['uniforms'][_0x82f697(0x1ee)][_0x82f697(0x1c3)]['set'](0x1/_0x2b7b0e,0x1/_0x42e172);}[_0xb46d85(0x1c9)](){const _0x531653=_0xb46d85;this[_0x531653(0x1e2)]=[],this[_0x531653(0x204)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x531653(0x1cd)]=null,this['smaaPass']=null,this[_0x531653(0x1cf)]=null,this[_0x531653(0x1de)]=null,this[_0x531653(0x1c4)]=null,this[_0x531653(0x1fb)]=null,this[_0x531653(0x1fc)]&&(this[_0x531653(0x1fc)][_0x531653(0x1ca)](),this[_0x531653(0x1fc)]=null);}[_0xb46d85(0x1d1)](){const _0x1396a4=_0xb46d85;this['onDirtyCallback']&&this[_0x1396a4(0x1f9)]();}}
|
|
74
83
|
|
|
75
|
-
const _0x276fff=_0x1eb9;(function(_0x5e3b4d,_0x1a7282){const _0x204aa5=_0x1eb9,_0xb3824a=_0x5e3b4d();while(!![]){try{const _0x22123c=parseInt(_0x204aa5(0x11f))/0x1*(-parseInt(_0x204aa5(0xef))/0x2)+parseInt(_0x204aa5(0xea))/0x3*(parseInt(_0x204aa5(0x11b))/0x4)+-parseInt(_0x204aa5(0x11d))/0x5+parseInt(_0x204aa5(0xcf))/0x6*(-parseInt(_0x204aa5(0xc2))/0x7)+parseInt(_0x204aa5(0x139))/0x8+-parseInt(_0x204aa5(0xd4))/0x9*(parseInt(_0x204aa5(0xe8))/0xa)+parseInt(_0x204aa5(0x122))/0xb;if(_0x22123c===_0x1a7282)break;else _0xb3824a['push'](_0xb3824a['shift']());}catch(_0x238725){_0xb3824a['push'](_0xb3824a['shift']());}}}(_0x2ece,0x507fc));function _0x2ece(){const _0x12be49=['viewPort','doubleClickDelay','3820NBWPxL','viewport','423jwTnQD','prepareClickHit','_onActorHoverBeginDelegate','fireComponentClick','onComponentHoverEndDelegate','12958vLjEmk','_onActorClickDelegate','ctrlKey','quaternion','size','onPointerEnter','rayIgnored','fireActorClick','fireClickEvents','_onComponentPointerDownDelegate','onPointerLeaveEvent','onActorHoverBeginDelegate','assign','pawn','_onComponentClickDelegate','_raycastVec2','world','handled','normalize','onHorveringBegin','hoveringComponent','_onComponentHoverBeginDelegate','onPointerDownEvent','userData','init','length','onActorDoubleClickDelegate','possess','setFromCamera','focusTo','_onComponentDoubleClickDelegate','pointermove','canvas\x20is\x20null','addEventListener','pointerLeftDownPosition','canvas','onPointerLeave','getFocuingData','handleDoubleClick','getBoundingClientRect','pointerleave','call','button','intersectObjects','1276eBbpYz','getHitResultUnderCursor','956390QflexV','hoveringActor','91VsOAYb','clearHovering','firePointerDownEvent','14815163vOlnbJ','copy','pointerenter','alpha','onHorveringEnd','fireComponentHoverEnd','app','distance','getHitResultFromScreenPoint','clone','addCorePointerListeners','kill','onPointerUpEvent','position','switchPawn','onDoubleClicked','fireActorHoverBegin','_onClickNothingDelegate','clientHeight','isClickEnabled','unpossess','parentActor','raycaster','2751040uNEwqm','leftClickTimer','markRenderStateDirty','stopFocusing','removeCorePointerListeners','_pointButtonIsDown','LYObject','tick','applyQuaternion','isHoverEnabled','onPointerMoveEvent','setTimeout','object','fireActorHoverEnd','pointerup','onPointerMove','onComponentPointerDownDelegate','left','destroy','3145667NwHtSs','_tempVec2','clientY','onPointerEnterEvent','onPointerDown','hit','broadcast','_onComponentHoverEndDelegate','onActorClick','onActorHoverBegin','altKey','camera','onClickNothingDelegate','6BOCdQd','prepareClickComponent','onComponentClickDelegate','prepareClickModifiers','onPointerUp','4140pCzPuJ','pointerPosition','clearClickTimer','_pawn','handleFirstClick','top','_app','removeEventListener','enabled','_onActorHoverEndDelegate','set','fireComponentHoverBegin','_switchPawnTween','delete','getAllHitResultFromScreenPoint','_onActorDoubleClickDelegate','boolean','component'];_0x2ece=function(){return _0x12be49;};return _0x2ece();}function _0x1eb9(_0x52cb57,_0xb1511){_0x52cb57=_0x52cb57-0xb2;const _0x2eceeb=_0x2ece();let _0x1eb92c=_0x2eceeb[_0x52cb57];return _0x1eb92c;}class Controller{get['camera'](){const _0x5398f8=_0x1eb9;return this['_app'][_0x5398f8(0xcd)];}get[_0x276fff(0xff)](){const _0x1869ae=_0x276fff;return this[_0x1869ae(0xda)]['world'];}get[_0x276fff(0xe6)](){const _0x3a3ad2=_0x276fff;return this[_0x3a3ad2(0xda)][_0x3a3ad2(0xe9)];}get[_0x276fff(0x128)](){const _0x13b69a=_0x276fff;return this[_0x13b69a(0xda)];}get['pawn'](){const _0x472119=_0x276fff;if(!this[_0x472119(0xd7)])throw Error('pawn\x20is\x20null');return this[_0x472119(0xd7)];}get[_0x276fff(0xd1)](){const _0x130311=_0x276fff;return this[_0x130311(0xfd)];}get['onComponentDoubleClickDelegate'](){return this['_onComponentDoubleClickDelegate'];}get['onComponentHoverBeginDelegate'](){const _0x1a6cbe=_0x276fff;return this[_0x1a6cbe(0x104)];}get[_0x276fff(0xee)](){const _0x1d61ef=_0x276fff;return this[_0x1d61ef(0xc9)];}get[_0x276fff(0xbf)](){return this['_onComponentPointerDownDelegate'];}get['onActorClickDelegate'](){const _0x24fa8f=_0x276fff;return this[_0x24fa8f(0xf0)];}get[_0x276fff(0x109)](){const _0x272a62=_0x276fff;return this[_0x272a62(0xe3)];}get[_0x276fff(0xfa)](){const _0x1dc0ee=_0x276fff;return this[_0x1dc0ee(0xec)];}get['onActorHoverEndDelegate'](){const _0x59ac0a=_0x276fff;return this[_0x59ac0a(0xdd)];}get[_0x276fff(0xce)](){const _0x384dfe=_0x276fff;return this[_0x384dfe(0x133)];}constructor(_0x4ab410){const _0x2ef30c=_0x276fff;this[_0x2ef30c(0xd7)]=null,this[_0x2ef30c(0xe0)]=null,this['hoveringComponent']=null,this[_0x2ef30c(0x11e)]=null,this[_0x2ef30c(0xd0)]=null,this[_0x2ef30c(0xeb)]=null,this['prepareClickModifiers']={'ctrlKey':![],'shiftKey':![],'altKey':![]},this['_pointButtonIsDown']=new Set(),this[_0x2ef30c(0xfd)]=new Delegate(),this[_0x2ef30c(0x10d)]=new Delegate(),this[_0x2ef30c(0x104)]=new Delegate(),this[_0x2ef30c(0xc9)]=new Delegate(),this[_0x2ef30c(0xf8)]=new Delegate(),this[_0x2ef30c(0xf0)]=new Delegate(),this[_0x2ef30c(0xe3)]=new Delegate(),this[_0x2ef30c(0xec)]=new Delegate(),this[_0x2ef30c(0xdd)]=new Delegate(),this[_0x2ef30c(0x133)]=new Delegate(),this[_0x2ef30c(0xd5)]=new webgpu.Vector2(),this[_0x2ef30c(0x111)]=new webgpu.Vector2(),this[_0x2ef30c(0xc3)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x2ef30c(0x13a)]=null,this[_0x2ef30c(0xbe)]=_0x7ac9d7=>this['onPointerMoveEvent'](_0x7ac9d7),this['onPointerEnter']=_0x32e058=>this[_0x2ef30c(0xc5)](_0x32e058),this[_0x2ef30c(0x113)]=_0xea3383=>this[_0x2ef30c(0xf9)](_0xea3383),this['onPointerUp']=_0x4aac9a=>this[_0x2ef30c(0x12e)](_0x4aac9a),this[_0x2ef30c(0xc6)]=_0x232dfc=>this[_0x2ef30c(0x105)](_0x232dfc),this['_app']=_0x4ab410,this[_0x2ef30c(0xd7)]=new Orbital(this),this[_0x2ef30c(0xfc)][_0x2ef30c(0x10a)](),this[_0x2ef30c(0x138)]=new webgpu.Raycaster();}[_0x276fff(0x107)](){const _0x223cee=_0x276fff,_0x38cc0b=this[_0x223cee(0xe6)][_0x223cee(0x112)];_0x38cc0b&&(_0x38cc0b[_0x223cee(0x110)](_0x223cee(0x124),this[_0x223cee(0xf4)]),_0x38cc0b[_0x223cee(0x110)](_0x223cee(0x117),this['onPointerLeave']),this[_0x223cee(0x12c)]());}['updateCamera'](){const _0x3f5731=_0x276fff;var _0x15e9cf,_0x2c1f6d;const _0x2d87fa=this[_0x3f5731(0xfc)][_0x3f5731(0xdc)];(_0x15e9cf=this[_0x3f5731(0xd7)])===null||_0x15e9cf===void 0?void 0:_0x15e9cf[_0x3f5731(0x136)](),(_0x2c1f6d=this[_0x3f5731(0xd7)])===null||_0x2c1f6d===void 0?void 0:_0x2c1f6d['destroy'](),this[_0x3f5731(0xd7)]=new Orbital(this),this[_0x3f5731(0xfc)][_0x3f5731(0x10a)](),this[_0x3f5731(0xfc)][_0x3f5731(0xdc)]=_0x2d87fa;}[_0x276fff(0x130)](_0x245b8f,_0x4290f2){const _0x2865be=_0x276fff;var _0x2b26e6,_0x8a9bde,_0x337cf0,_0x12ff83;const _0x617581=_0x4290f2!==null&&_0x4290f2!==void 0?_0x4290f2:0.3,_0x28c217=this[_0x2865be(0xd7)];if(_0x28c217===_0x245b8f)return;this['_switchPawnTween']&&(this[_0x2865be(0xe0)][_0x2865be(0x12d)](),this[_0x2865be(0xe0)]=null);const _0x5ebd1e=(_0x2b26e6=_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217['control'])===null||_0x2b26e6===void 0?void 0:_0x2b26e6['enabled'],_0x164ce6=(_0x337cf0=(_0x8a9bde=_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217[_0x2865be(0x114)])===null||_0x8a9bde===void 0?void 0:_0x8a9bde[_0x2865be(0x118)](_0x28c217))!==null&&_0x337cf0!==void 0?_0x337cf0:null;(_0x12ff83=_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217[_0x2865be(0xb2)])===null||_0x12ff83===void 0?void 0:_0x12ff83['call'](_0x28c217),_0x28c217===null||_0x28c217===void 0?void 0:_0x28c217[_0x2865be(0x136)](),this[_0x2865be(0xd7)]=_0x245b8f;typeof _0x5ebd1e===_0x2865be(0xe4)&&(this[_0x2865be(0xfc)][_0x2865be(0xdc)]=_0x5ebd1e);if(!_0x164ce6)return;if(this['pawn']instanceof Orbital){this[_0x2865be(0xfc)][_0x2865be(0x10a)]();_0x617581>0x0&&this[_0x2865be(0xfc)][_0x2865be(0x10c)](_0x164ce6[_0x2865be(0x12f)],_0x164ce6[_0x2865be(0xf2)],_0x164ce6[_0x2865be(0x129)],_0x617581);return;}if(this[_0x2865be(0xfc)]instanceof FirstPerson){const _0x3f8886=_0x164ce6['position'],_0x36e03a=_0x164ce6[_0x2865be(0xf2)],_0x461047=_0x164ce6[_0x2865be(0x129)],_0x4b471e=new webgpu.Vector3(0x0,0x0,0x1)[_0x2865be(0xb7)](_0x36e03a)['multiplyScalar'](-1)[_0x2865be(0x101)](),_0x4dc6e0=new webgpu.Vector3(_0x3f8886['x']+_0x4b471e['x']*_0x461047*-1,_0x3f8886['y']+_0x4b471e['y']*_0x461047*-1,_0x3f8886['z']+_0x4b471e['z']*_0x461047*-1);if(_0x617581<=0x0){this[_0x2865be(0xcd)][_0x2865be(0x12f)][_0x2865be(0x123)](_0x4dc6e0),this[_0x2865be(0xcd)][_0x2865be(0xf2)]['copy'](_0x36e03a),this['viewPort'][_0x2865be(0x13b)]();return;}const _0x21e49b=this['camera'][_0x2865be(0x12f)][_0x2865be(0x12b)](),_0x5fb99=this[_0x2865be(0xcd)][_0x2865be(0xf2)]['clone'](),_0x5191ae={'alpha':0x0};this[_0x2865be(0xe0)]=gsap.gsap['to'](_0x5191ae,{'duration':_0x617581,'alpha':0x1,'onUpdate':()=>{const _0x1d65f9=_0x2865be,_0x175a6a=_0x5191ae[_0x1d65f9(0x125)];this[_0x1d65f9(0xcd)][_0x1d65f9(0x12f)]['lerpVectors'](_0x21e49b,_0x4dc6e0,_0x175a6a),this[_0x1d65f9(0xcd)][_0x1d65f9(0xf2)][_0x1d65f9(0x123)](_0x5fb99)['slerp'](_0x36e03a,_0x175a6a),this[_0x1d65f9(0xe6)][_0x1d65f9(0x13b)]();},'onComplete':()=>{const _0x3d0628=_0x2865be;this[_0x3d0628(0xe0)]=null,this[_0x3d0628(0xfc)]['possess'](),this[_0x3d0628(0xe6)][_0x3d0628(0x13b)]();}});}}[_0x276fff(0xb6)](_0x39049c){const _0x201417=_0x276fff;this[_0x201417(0xfc)]['tick'](_0x39049c);}[_0x276fff(0xc1)](){const _0x2673f0=_0x276fff;this[_0x2673f0(0xd6)](),this[_0x2673f0(0x120)]();const _0x3aa47e=this[_0x2673f0(0xe6)][_0x2673f0(0x112)];_0x3aa47e&&(_0x3aa47e[_0x2673f0(0xdb)](_0x2673f0(0x124),this['onPointerEnter']),_0x3aa47e['removeEventListener']('pointerleave',this[_0x2673f0(0x113)]),this['removeCorePointerListeners']()),this[_0x2673f0(0xfc)][_0x2673f0(0x136)](),this[_0x2673f0(0xfc)][_0x2673f0(0xc1)](),this[_0x2673f0(0xd7)]=null;}[_0x276fff(0xb9)](_0x4e6d15){const _0x58efe6=_0x276fff;var _0x449165,_0x554762;const _0x40f8b5=this[_0x58efe6(0xe6)][_0x58efe6(0x112)];if(!_0x40f8b5)throw Error(_0x58efe6(0x10f));const _0xef408e=_0x40f8b5[_0x58efe6(0x116)]();this[_0x58efe6(0xd5)]['set']((_0x4e6d15['clientX']-_0xef408e[_0x58efe6(0xc0)])/_0x40f8b5['clientWidth']*0x2-0x1,0x1-(_0x4e6d15[_0x58efe6(0xc4)]-_0xef408e[_0x58efe6(0xd9)])/_0x40f8b5[_0x58efe6(0x134)]*0x2);if(this['_pointButtonIsDown'][_0x58efe6(0xf3)]>0x0)return;const _0x3a43af=this['getHitResultUnderCursor'](),_0x20a0a2=(_0x449165=_0x3a43af===null||_0x3a43af===void 0?void 0:_0x3a43af[_0x58efe6(0xe5)])!==null&&_0x449165!==void 0?_0x449165:null,_0x3d48bd=(_0x554762=_0x20a0a2===null||_0x20a0a2===void 0?void 0:_0x20a0a2[_0x58efe6(0x137)])!==null&&_0x554762!==void 0?_0x554762:null;_0x20a0a2!==this[_0x58efe6(0x103)]&&(this[_0x58efe6(0x103)]&&this[_0x58efe6(0x127)](this[_0x58efe6(0x103)]),_0x20a0a2&&_0x3a43af&&this[_0x58efe6(0xdf)](_0x20a0a2,_0x3a43af[_0x58efe6(0xc7)])),_0x3d48bd!==this['hoveringActor']&&(this[_0x58efe6(0x11e)]&&this[_0x58efe6(0x103)]&&this[_0x58efe6(0xbc)](this[_0x58efe6(0x11e)],this['hoveringComponent']),_0x3d48bd&&_0x20a0a2&&_0x3a43af&&this[_0x58efe6(0x132)](_0x3d48bd,_0x20a0a2,_0x3a43af[_0x58efe6(0xc7)])),this[_0x58efe6(0x103)]=_0x20a0a2,this[_0x58efe6(0x11e)]=_0x3d48bd;}[_0x276fff(0x120)](){const _0x22961a=_0x276fff;this['hoveringComponent']&&this[_0x22961a(0x127)](this['hoveringComponent']),this[_0x22961a(0x11e)]&&this[_0x22961a(0x103)]&&this['fireActorHoverEnd'](this[_0x22961a(0x11e)],this['hoveringComponent']),this['hoveringComponent']=null,this['hoveringActor']=null;}['onPointerUpEvent'](_0x584691){const _0x2cb4be=_0x276fff;this['_pointButtonIsDown'][_0x2cb4be(0xe1)](_0x584691[_0x2cb4be(0x119)]);if(_0x584691['button']!==0x0)return;const _0x7ec3af=this[_0x2cb4be(0xc3)]['subVectors'](this[_0x2cb4be(0x111)],this['pointerPosition'])[_0x2cb4be(0x108)]();if(_0x7ec3af>0.005){this[_0x2cb4be(0xd6)]();return;}this[_0x2cb4be(0xd2)]={'ctrlKey':_0x584691[_0x2cb4be(0xf1)],'shiftKey':_0x584691['shiftKey'],'altKey':_0x584691[_0x2cb4be(0xcc)]},!this[_0x2cb4be(0x13a)]?this[_0x2cb4be(0xd8)]():this['handleDoubleClick']();}[_0x276fff(0xd8)](){const _0x5cb6e8=_0x276fff,_0x2b9520=this['getHitResultUnderCursor'](),_0x32e6db=_0x2b9520===null||_0x2b9520===void 0?void 0:_0x2b9520['component'];_0x32e6db instanceof SceneComponent&&_0x2b9520?(this[_0x5cb6e8(0xd0)]=_0x32e6db,this[_0x5cb6e8(0xeb)]=_0x2b9520[_0x5cb6e8(0xc7)],this[_0x5cb6e8(0x13a)]=window[_0x5cb6e8(0xba)](()=>{const _0xed3bee=_0x5cb6e8;this[_0xed3bee(0x13a)]=null,this['prepareClickComponent']&&this[_0xed3bee(0xeb)]&&(this[_0xed3bee(0xf7)](this[_0xed3bee(0xd0)],this[_0xed3bee(0xeb)],![]),this[_0xed3bee(0xd0)]=null,this['prepareClickHit']=null);},this[_0x5cb6e8(0xe7)])):this[_0x5cb6e8(0x133)][_0x5cb6e8(0xc8)]();}[_0x276fff(0x115)](){const _0x488541=_0x276fff;this[_0x488541(0xd6)](),this['prepareClickComponent']&&this['prepareClickHit']?this[_0x488541(0xf7)](this[_0x488541(0xd0)],this[_0x488541(0xeb)],!![]):this[_0x488541(0x133)][_0x488541(0xc8)](),this['prepareClickComponent']=null,this[_0x488541(0xeb)]=null;}[_0x276fff(0x105)](_0x69cfe0){const _0x1c3321=_0x276fff;this[_0x1c3321(0xb4)]['add'](_0x69cfe0['button']);_0x69cfe0[_0x1c3321(0x119)]===0x0&&this['pointerLeftDownPosition']['copy'](this[_0x1c3321(0xd5)]);const _0x50abc4=this['getHitResultUnderCursor'](),_0x3c8d0a=_0x50abc4===null||_0x50abc4===void 0?void 0:_0x50abc4[_0x1c3321(0xe5)];_0x3c8d0a instanceof SceneComponent&&_0x50abc4&&this[_0x1c3321(0x121)](_0x3c8d0a,_0x50abc4[_0x1c3321(0xc7)],_0x69cfe0[_0x1c3321(0x119)]);}[_0x276fff(0xc5)](_0x3e6d76){const _0x4813d8=_0x276fff;this[_0x4813d8(0x12c)]();}[_0x276fff(0xf9)](_0x5273ea){const _0x5c571c=_0x276fff;this[_0x5c571c(0xb3)]();}['fireComponentHoverBegin'](_0x2e0370,_0x2204b2){const _0x44a2b5=_0x276fff,_0xc76e56={'component':_0x2e0370,'hit':_0x2204b2,'handled':![]};this[_0x44a2b5(0x104)][_0x44a2b5(0xc8)](_0xc76e56),!_0xc76e56[_0x44a2b5(0x100)]&&_0x2e0370[_0x44a2b5(0x102)]();}[_0x276fff(0x127)](_0x33ee4e){const _0x49ebfc=_0x276fff,_0x4309ca={'component':_0x33ee4e,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x49ebfc(0xc8)](_0x4309ca),!_0x4309ca[_0x49ebfc(0x100)]&&_0x33ee4e[_0x49ebfc(0x126)]();}[_0x276fff(0xed)](_0xa9e5fa,_0x13875a,_0x5e688c){const _0x4e6233=_0x276fff,_0x5b89ce=Object['assign']({'component':_0xa9e5fa,'hit':_0x13875a,'handled':![]},this[_0x4e6233(0xd2)]);_0x5e688c?(this['_onComponentDoubleClickDelegate'][_0x4e6233(0xc8)](_0x5b89ce),!_0x5b89ce['handled']&&_0xa9e5fa[_0x4e6233(0x131)]()):(this['_onComponentClickDelegate'][_0x4e6233(0xc8)](_0x5b89ce),!_0x5b89ce[_0x4e6233(0x100)]&&_0xa9e5fa['onClicked']());}[_0x276fff(0x121)](_0x4b1553,_0x31595a,_0xdd66eb){const _0xc0897f=_0x276fff,_0x484bfe={'component':_0x4b1553,'hit':_0x31595a,'button':_0xdd66eb,'handled':![]};this[_0xc0897f(0xf8)][_0xc0897f(0xc8)](_0x484bfe);}[_0x276fff(0x132)](_0x33c159,_0x36c390,_0x5cb753){const _0x358569=_0x276fff,_0x53a281={'actor':_0x33c159,'component':_0x36c390,'hit':_0x5cb753,'handled':![]};this[_0x358569(0xec)]['broadcast'](_0x53a281),!_0x53a281['handled']&&_0x33c159[_0x358569(0xcb)](_0x36c390);}[_0x276fff(0xbc)](_0x5d110c,_0x3245e9){const _0x138d55=_0x276fff,_0x244721={'actor':_0x5d110c,'component':_0x3245e9,'hit':null,'handled':![]};this[_0x138d55(0xdd)][_0x138d55(0xc8)](_0x244721),!_0x244721['handled']&&_0x5d110c['onActorHoverEnd'](_0x3245e9);}['fireActorClick'](_0x220099,_0x26550b,_0x332d2c,_0x45ebed){const _0x193123=_0x276fff,_0x121720=Object[_0x193123(0xfb)]({'actor':_0x220099,'component':_0x26550b,'hit':_0x332d2c,'handled':![]},this[_0x193123(0xd2)]);_0x45ebed?(this[_0x193123(0xe3)][_0x193123(0xc8)](_0x121720),!_0x121720[_0x193123(0x100)]&&_0x220099['onActorDoubleClick'](_0x26550b)):(this['_onActorClickDelegate'][_0x193123(0xc8)](_0x121720),!_0x121720[_0x193123(0x100)]&&_0x220099[_0x193123(0xca)](_0x26550b));}['fireClickEvents'](_0x35c174,_0x10d7e4,_0x386a0d){const _0xc1d2bd=_0x276fff;this[_0xc1d2bd(0xed)](_0x35c174,_0x10d7e4,_0x386a0d);const _0x23db2b=_0x35c174[_0xc1d2bd(0x137)];_0x23db2b&&_0x23db2b[_0xc1d2bd(0x135)]&&this[_0xc1d2bd(0xf6)](_0x23db2b,_0x35c174,_0x10d7e4,_0x386a0d);}[_0x276fff(0xd6)](){const _0x506bb9=_0x276fff;this['leftClickTimer']&&(window['clearTimeout'](this[_0x506bb9(0x13a)]),this[_0x506bb9(0x13a)]=null);}[_0x276fff(0x12c)](){const _0x3d3dde=_0x276fff,_0x54333f=this[_0x3d3dde(0xe6)][_0x3d3dde(0x112)];if(!_0x54333f)return;_0x54333f[_0x3d3dde(0x110)](_0x3d3dde(0x10e),this[_0x3d3dde(0xbe)]),_0x54333f['addEventListener']('pointerup',this[_0x3d3dde(0xd3)]),_0x54333f[_0x3d3dde(0x110)]('pointerdown',this['onPointerDown']);}[_0x276fff(0xb3)](){const _0x1f0304=_0x276fff,_0x6010e4=this[_0x1f0304(0xe6)][_0x1f0304(0x112)];if(!_0x6010e4)return;_0x6010e4[_0x1f0304(0xdb)](_0x1f0304(0x10e),this[_0x1f0304(0xbe)]),_0x6010e4[_0x1f0304(0xdb)](_0x1f0304(0xbd),this['onPointerUp']),_0x6010e4[_0x1f0304(0xdb)]('pointerdown',this[_0x1f0304(0xc6)]);}[_0x276fff(0x11c)](_0x3e0afd=!![]){const _0x40e7e1=_0x276fff;return this[_0x40e7e1(0x12a)](this[_0x40e7e1(0xd5)]['x'],this[_0x40e7e1(0xd5)]['y'],_0x3e0afd);}[_0x276fff(0x12a)](_0x4e55e4,_0x13671b,_0x1af691=!![]){const _0x2e3ec9=_0x276fff;this[_0x2e3ec9(0xfe)]['set'](_0x4e55e4,_0x13671b),this[_0x2e3ec9(0x138)]['setFromCamera'](this[_0x2e3ec9(0xfe)],this[_0x2e3ec9(0xcd)]);const _0x3b431c=this['getAllHitResultFromScreenPoint'](_0x4e55e4,_0x13671b);if(!_0x1af691)return _0x3b431c[0x0]||null;for(const _0x553e0a of _0x3b431c){const _0x39232b=_0x553e0a['component'][_0x2e3ec9(0xb8)]||_0x553e0a[_0x2e3ec9(0xe5)][_0x2e3ec9(0x135)],_0x1d52d4=_0x553e0a[_0x2e3ec9(0xe5)][_0x2e3ec9(0x137)],_0x13deb0=_0x1d52d4&&(_0x1d52d4['isHoverEnabled']||_0x1d52d4['isClickEnabled']);if(_0x39232b||_0x13deb0)return _0x553e0a;}return null;}[_0x276fff(0xe2)](_0x2db6d3,_0x47d32d){const _0xf8bf38=_0x276fff;this[_0xf8bf38(0xfe)][_0xf8bf38(0xde)](_0x2db6d3,_0x47d32d),this[_0xf8bf38(0x138)][_0xf8bf38(0x10b)](this[_0xf8bf38(0xfe)],this[_0xf8bf38(0xcd)]);const _0x35c5bf=this[_0xf8bf38(0x138)][_0xf8bf38(0x11a)](this[_0xf8bf38(0xff)]['scene']['children'],!![]),_0x42113d=[];for(const _0x1cc43a of _0x35c5bf){if(_0x1cc43a[_0xf8bf38(0xbb)]['userData'][_0xf8bf38(0xf5)])continue;const _0x10a4d0=_0x1cc43a[_0xf8bf38(0xbb)][_0xf8bf38(0x106)][_0xf8bf38(0xb5)];if(!_0x10a4d0)continue;_0x42113d['push']({'component':_0x10a4d0,'hit':_0x1cc43a});}return _0x42113d;}[_0x276fff(0x10c)](_0x2940c6,_0x5d3e3a,_0x121cd6,_0x31fa66,_0x10490a=null,_0x201fef=null){const _0x321f3f=_0x276fff;this[_0x321f3f(0xfc)][_0x321f3f(0x10c)](_0x2940c6,_0x5d3e3a,_0x121cd6,_0x31fa66,_0x10490a,_0x201fef);}}
|
|
84
|
+
const _0x5b07a0=_0x4765;(function(_0x4b15cd,_0x27be4b){const _0x2b9815=_0x4765,_0x337037=_0x4b15cd();while(!![]){try{const _0x5a784d=-parseInt(_0x2b9815(0x17c))/0x1+-parseInt(_0x2b9815(0x180))/0x2*(parseInt(_0x2b9815(0x161))/0x3)+-parseInt(_0x2b9815(0x151))/0x4*(parseInt(_0x2b9815(0x164))/0x5)+parseInt(_0x2b9815(0x199))/0x6*(parseInt(_0x2b9815(0x154))/0x7)+-parseInt(_0x2b9815(0x168))/0x8*(parseInt(_0x2b9815(0x17d))/0x9)+-parseInt(_0x2b9815(0x17f))/0xa+parseInt(_0x2b9815(0x150))/0xb*(parseInt(_0x2b9815(0x16f))/0xc);if(_0x5a784d===_0x27be4b)break;else _0x337037['push'](_0x337037['shift']());}catch(_0x4e1e0f){_0x337037['push'](_0x337037['shift']());}}}(_0x3ce3,0x720ef));function _0x4765(_0x4453b0,_0x47f801){_0x4453b0=_0x4453b0-0x14c;const _0x3ce393=_0x3ce3();let _0x476568=_0x3ce393[_0x4453b0];return _0x476568;}function _0x3ce3(){const _0x1b8d76=['clientHeight','Can\x20not\x20create\x20context','width','render','isCSS3DRendererNeeded','toneMapping','pointerEvents','scene-uiLayer','_canvasContainer','createCSS3DRenderer','removeOutlineObject','6NagVhG','onWindowResize','param','10GybecW','image/jpeg','div','setToneMappingExposure','125000JLijdD','_outerContainer','createLabelRenderer','add','resizeObserver','outer','destroy','300MMnSAS','className','observe','.scene-uiLayer','zIndex','onCameraChangedDelegate','disconnect','addOutlineObject','getContext','markRenderStateDirty','appendChild','isUILayerNeeded','top','141192mHKbQa','171LOQlZi','setShadowMapType','1306700WXvHNS','107518raArTA','camera','scene','firstChild','setup','setAnimationLoop','domElement','remove','destroyPostProcess','0px','position','_app','toDataURL','onAfterPostProcessRender','background','_renderer','style','css3dRenderer','setClearAlpha','WebGL','shadowMap','setOutlineObjects','absolute','postProcessManager','clientWidth','1758cwChBf','100%','resize','dispose','uiDom','none','removeChild','_uiDom','createUILayer','updateSteps','canvas','world','app','enabled','querySelector','createElement','insertBefore','type','updatePostProcess','contentBoxSize','elementId','toneMappingExposure','setPixelRatio','isLabelRendererNeeded','height','setShadowMapEnabled','updateCamera','renderer','WebGPU','setupPostProcess','isRenderStateDirty','setSize','labelRenderer','681571EhPzKj','1703652ThyIJn','createRenderer','createPostProcessManager','10661UmdOzL','drawImage'];_0x3ce3=function(){return _0x1b8d76;};return _0x3ce3();}class Viewport{get[_0x5b07a0(0x19d)](){const _0x22e4ee=_0x5b07a0;return this[_0x22e4ee(0x1a0)];}get[_0x5b07a0(0x1a3)](){const _0x180202=_0x5b07a0;return this[_0x180202(0x169)]||this[_0x180202(0x1b4)][_0x180202(0x186)];}get[_0x5b07a0(0x16d)](){const _0xe185eb=_0x5b07a0;return this[_0xe185eb(0x169)];}get[_0x5b07a0(0x1b4)](){const _0x2f89f8=_0x5b07a0;if(!this['_renderer'])throw Error('Renderer\x20is\x20not\x20initialized');return this[_0x2f89f8(0x18f)];}get['app'](){const _0xa4192b=_0x5b07a0;if(!this[_0xa4192b(0x18b)])throw Error('App\x20is\x20not\x20initialized');return this['_app'];}constructor(_0x4249ef,_0x3c897a){const _0xbd40a3=_0x5b07a0;this[_0xbd40a3(0x1a0)]=null,this[_0xbd40a3(0x18f)]=null,this[_0xbd40a3(0x14f)]=null,this[_0xbd40a3(0x191)]=null,this[_0xbd40a3(0x18b)]=null,this[_0xbd40a3(0x16c)]=null,this[_0xbd40a3(0x169)]=null,this['_canvasContainer']=null,this[_0xbd40a3(0x14d)]=!![],this['postProcessManager']=null,this[_0xbd40a3(0x18b)]=_0x4249ef,_0x3c897a[_0xbd40a3(0x1ad)]&&(this[_0xbd40a3(0x169)]=document['getElementById'](_0x3c897a[_0xbd40a3(0x1ad)])),this['createRenderer'](_0x3c897a[_0xbd40a3(0x1b4)][_0xbd40a3(0x1aa)],_0x3c897a[_0xbd40a3(0x1b4)][_0xbd40a3(0x163)]),_0x3c897a[_0xbd40a3(0x1b0)]&&this[_0xbd40a3(0x16a)](),_0x3c897a[_0xbd40a3(0x15a)]&&this[_0xbd40a3(0x15f)](),_0x3c897a[_0xbd40a3(0x17a)]&&this['createUILayer'](),setTimeout(()=>{const _0x42fe00=_0xbd40a3;var _0x4a1e71;this[_0x42fe00(0x14c)]((_0x4a1e71=_0x3c897a['postProcess'])!==null&&_0x4a1e71!==void 0?_0x4a1e71:{'steps':[]});},0x32),this[_0xbd40a3(0x169)]&&(this[_0xbd40a3(0x16c)]=new ResizeObserver(_0x2fba4b=>{const _0xdb44c6=_0xbd40a3;for(let _0x3a6c7c of _0x2fba4b){_0x3a6c7c[_0xdb44c6(0x1ac)]&&this[_0xdb44c6(0x162)]();}}),this[_0xbd40a3(0x16c)][_0xbd40a3(0x171)](this[_0xbd40a3(0x169)])),this[_0xbd40a3(0x1a5)][_0xbd40a3(0x174)][_0xbd40a3(0x16b)](()=>{const _0x2b936f=_0xbd40a3;this['postProcessManager']&&(this['postProcessManager'][_0x2b936f(0x1b3)](this[_0x2b936f(0x1a5)][_0x2b936f(0x181)]),this[_0x2b936f(0x197)][_0x2b936f(0x184)]());});}[_0x5b07a0(0x152)](_0x2379a0,_0x243fe4){const _0x1e88de=_0x5b07a0,_0x97b651=this[_0x1e88de(0x169)];this[_0x1e88de(0x18f)]&&(_0x97b651&&_0x97b651['removeChild'](this[_0x1e88de(0x18f)][_0x1e88de(0x186)]),this[_0x1e88de(0x18f)][_0x1e88de(0x19c)]());let _0x2a40db=_0x97b651?_0x97b651[_0x1e88de(0x198)]:0x200,_0x3dca5d=_0x97b651?_0x97b651[_0x1e88de(0x156)]:0x200;switch(_0x2379a0){case exports.RendererType[_0x1e88de(0x1b5)]:this[_0x1e88de(0x18f)]=new webgpu.WebGPURenderer(_0x243fe4);break;case exports.RendererType[_0x1e88de(0x193)]:this[_0x1e88de(0x18f)]=new three.WebGLRenderer(_0x243fe4);break;}this[_0x1e88de(0x18f)][_0x1e88de(0x1af)](window['devicePixelRatio']),this[_0x1e88de(0x18f)][_0x1e88de(0x14e)](_0x2a40db,_0x3dca5d),this[_0x1e88de(0x18f)][_0x1e88de(0x194)][_0x1e88de(0x1a6)]=!![],this[_0x1e88de(0x18f)][_0x1e88de(0x194)][_0x1e88de(0x1aa)]=0x1,this[_0x1e88de(0x18f)][_0x1e88de(0x15b)]=0x0,this[_0x1e88de(0x18f)][_0x1e88de(0x1ae)]=0x1,this[_0x1e88de(0x18f)][_0x1e88de(0x192)](0x0),this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)][_0x1e88de(0x18a)]='absolute',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)]['left']='0',this[_0x1e88de(0x18f)][_0x1e88de(0x186)]['style'][_0x1e88de(0x17b)]='0',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)][_0x1e88de(0x173)]='20',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)][_0x1e88de(0x18e)]='transparent',this[_0x1e88de(0x18f)][_0x1e88de(0x186)][_0x1e88de(0x190)]['pointerEvents']=_0x1e88de(0x19e),_0x97b651&&_0x97b651['appendChild'](this['_renderer']['domElement']);}[_0x5b07a0(0x16a)](){const _0x4b820c=_0x5b07a0,_0x23104c=this['_outerContainer'];this['labelRenderer']&&(_0x23104c&&_0x23104c[_0x4b820c(0x19f)](this[_0x4b820c(0x14f)][_0x4b820c(0x186)]));let _0x4ce366=_0x23104c?_0x23104c[_0x4b820c(0x198)]:0x200,_0x2a9886=_0x23104c?_0x23104c[_0x4b820c(0x156)]:0x200;this[_0x4b820c(0x14f)]=new Addons_js.CSS2DRenderer(),this[_0x4b820c(0x14f)][_0x4b820c(0x14e)](_0x4ce366,_0x2a9886),this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x190)][_0x4b820c(0x15c)]='none',this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x190)][_0x4b820c(0x18a)]='absolute',this[_0x4b820c(0x14f)][_0x4b820c(0x186)]['style'][_0x4b820c(0x17b)]='0px',this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x170)]='scene-labelRenderer',this[_0x4b820c(0x14f)][_0x4b820c(0x186)][_0x4b820c(0x190)][_0x4b820c(0x173)]='30',_0x23104c&&_0x23104c[_0x4b820c(0x179)](this[_0x4b820c(0x14f)]['domElement']);}[_0x5b07a0(0x15f)](){const _0x4f8a20=_0x5b07a0,_0x5ae72d=this[_0x4f8a20(0x169)];this[_0x4f8a20(0x191)]&&(_0x5ae72d&&_0x5ae72d[_0x4f8a20(0x19f)](this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]));let _0x54c44c=_0x5ae72d?_0x5ae72d[_0x4f8a20(0x198)]:0x200,_0xa5c2db=_0x5ae72d?_0x5ae72d[_0x4f8a20(0x156)]:0x200;this[_0x4f8a20(0x191)]=new Addons_js.CSS3DRenderer(),this['css3dRenderer']['setSize'](_0x54c44c,_0xa5c2db),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]['style'][_0x4f8a20(0x15c)]='none',this[_0x4f8a20(0x191)][_0x4f8a20(0x186)][_0x4f8a20(0x190)][_0x4f8a20(0x18a)]=_0x4f8a20(0x196),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]['style']['left']=_0x4f8a20(0x189),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)][_0x4f8a20(0x190)][_0x4f8a20(0x17b)]=_0x4f8a20(0x189),this[_0x4f8a20(0x191)][_0x4f8a20(0x186)][_0x4f8a20(0x190)][_0x4f8a20(0x173)]='0',this[_0x4f8a20(0x191)][_0x4f8a20(0x186)]['className']='scene-css3dRenderer',_0x5ae72d&&_0x5ae72d[_0x4f8a20(0x1a9)](this[_0x4f8a20(0x191)]['domElement'],_0x5ae72d[_0x4f8a20(0x183)]);}[_0x5b07a0(0x1a1)](){const _0x48c5d9=_0x5b07a0;if(!this[_0x48c5d9(0x169)])return;let _0x59a2ca=this['_outerContainer'][_0x48c5d9(0x1a7)](_0x48c5d9(0x172));!_0x59a2ca&&(_0x59a2ca=document[_0x48c5d9(0x1a8)](_0x48c5d9(0x166)),_0x59a2ca[_0x48c5d9(0x170)]=_0x48c5d9(0x15d),_0x59a2ca['id']=_0x48c5d9(0x15d),_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x18a)]=_0x48c5d9(0x196),_0x59a2ca[_0x48c5d9(0x190)]['left']='0',_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x17b)]='0',_0x59a2ca['style'][_0x48c5d9(0x158)]=_0x48c5d9(0x19a),_0x59a2ca['style']['height']=_0x48c5d9(0x19a),_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x15c)]=_0x48c5d9(0x19e),_0x59a2ca[_0x48c5d9(0x190)][_0x48c5d9(0x173)]='10',this[_0x48c5d9(0x169)]['appendChild'](_0x59a2ca),this[_0x48c5d9(0x1a0)]=_0x59a2ca);}['init'](){}[_0x5b07a0(0x14c)](_0x3c2187){const _0x3f2a30=_0x5b07a0;!this[_0x3f2a30(0x197)]&&(this[_0x3f2a30(0x197)]=this[_0x3f2a30(0x153)](_0x3c2187)),this[_0x3f2a30(0x197)][_0x3f2a30(0x184)]();}[_0x5b07a0(0x153)](_0x370e2a){const _0x285551=_0x5b07a0;return this[_0x285551(0x1b4)]instanceof three.WebGLRenderer?new WebGLPostProcessManager(this[_0x285551(0x1b4)],this[_0x285551(0x1a5)][_0x285551(0x1a4)]['scene'],this[_0x285551(0x1a5)]['camera'],_0x370e2a,()=>this[_0x285551(0x178)]()):new PostProcessManager(this[_0x285551(0x1b4)],this[_0x285551(0x1a5)][_0x285551(0x1a4)][_0x285551(0x182)],this[_0x285551(0x1a5)][_0x285551(0x181)],_0x370e2a,()=>this[_0x285551(0x178)]());}[_0x5b07a0(0x1ab)](_0x8587e9){const _0x39849a=_0x5b07a0;this[_0x39849a(0x197)]&&this[_0x39849a(0x197)][_0x39849a(0x1a2)](_0x8587e9);}[_0x5b07a0(0x176)](_0x223e5d){const _0x1dcea9=_0x5b07a0;this[_0x1dcea9(0x197)]&&this[_0x1dcea9(0x197)]['addOutlineObject'](_0x223e5d);}['setOutlineObjects'](_0x146222){const _0x5c211b=_0x5b07a0;this[_0x5c211b(0x197)]&&this[_0x5c211b(0x197)][_0x5c211b(0x195)](_0x146222);}[_0x5b07a0(0x160)](_0xebcf2f){const _0x5f574f=_0x5b07a0;this[_0x5f574f(0x197)]&&this[_0x5f574f(0x197)][_0x5f574f(0x160)](_0xebcf2f);}[_0x5b07a0(0x188)](){const _0x4446f6=_0x5b07a0;this['postProcessManager']&&(this['postProcessManager'][_0x4446f6(0x16e)](),this['postProcessManager']=null);}[_0x5b07a0(0x162)](){const _0x1641c6=_0x5b07a0;let _0x4a9244=this['_outerContainer'];if(!_0x4a9244)return;this['app']['onWindowResize'](_0x4a9244[_0x1641c6(0x198)],_0x4a9244[_0x1641c6(0x156)]),this[_0x1641c6(0x1b4)][_0x1641c6(0x14e)](_0x4a9244['clientWidth'],_0x4a9244['clientHeight']);if(this['labelRenderer'])this[_0x1641c6(0x14f)][_0x1641c6(0x14e)](_0x4a9244[_0x1641c6(0x198)],_0x4a9244['clientHeight']);if(this['css3dRenderer'])this[_0x1641c6(0x191)]['setSize'](_0x4a9244[_0x1641c6(0x198)],_0x4a9244['clientHeight']);this[_0x1641c6(0x197)]&&_0x1641c6(0x19b)in this[_0x1641c6(0x197)]&&this[_0x1641c6(0x197)][_0x1641c6(0x19b)](_0x4a9244[_0x1641c6(0x198)],_0x4a9244[_0x1641c6(0x156)]),this['markRenderStateDirty']();}[_0x5b07a0(0x178)](){this['isRenderStateDirty']=!![];}[_0x5b07a0(0x159)](){const _0x371c47=_0x5b07a0;if(!this['isRenderStateDirty'])return;if(this[_0x371c47(0x197)]&&this[_0x371c47(0x197)][_0x371c47(0x159)]());else this[_0x371c47(0x1b4)][_0x371c47(0x159)](this[_0x371c47(0x1a5)][_0x371c47(0x1a4)][_0x371c47(0x182)],this[_0x371c47(0x1a5)][_0x371c47(0x181)]);this['onAfterPostProcessRender'](),this[_0x371c47(0x14f)]&&this[_0x371c47(0x14f)]['render'](this[_0x371c47(0x1a5)][_0x371c47(0x1a4)][_0x371c47(0x182)],this['app'][_0x371c47(0x181)]),this[_0x371c47(0x191)]&&this[_0x371c47(0x191)][_0x371c47(0x159)](this[_0x371c47(0x1a5)]['world'][_0x371c47(0x182)],this[_0x371c47(0x1a5)]['camera']),this['isRenderStateDirty']=![];}[_0x5b07a0(0x18d)](){}async['renderAsImage'](_0x47e356=0x400,_0x406608=0x400){const _0x48d530=_0x5b07a0;try{if(this[_0x48d530(0x197)]&&this[_0x48d530(0x197)][_0x48d530(0x159)]()){}else await this[_0x48d530(0x1b4)][_0x48d530(0x159)](this[_0x48d530(0x1a5)][_0x48d530(0x1a4)]['scene'],this[_0x48d530(0x1a5)][_0x48d530(0x181)]);const _0x3fcd44=this[_0x48d530(0x1b4)][_0x48d530(0x186)][_0x48d530(0x158)],_0x3d8984=this[_0x48d530(0x1b4)][_0x48d530(0x186)][_0x48d530(0x1b1)];let _0x3fb38a=_0x3fcd44||_0x47e356,_0x2ec211=_0x3d8984||_0x406608;(_0x3fb38a<=0x0||_0x2ec211<=0x0)&&(_0x3fb38a=_0x47e356,_0x2ec211=_0x406608);const _0x58882f=document[_0x48d530(0x1a8)]('canvas');_0x58882f[_0x48d530(0x158)]=_0x47e356,_0x58882f['height']=_0x406608;const _0x2a1e46=_0x58882f[_0x48d530(0x177)]('2d');if(!_0x2a1e46)throw Error(_0x48d530(0x157));_0x2a1e46[_0x48d530(0x155)](this[_0x48d530(0x1b4)][_0x48d530(0x186)],0x0,0x0,_0x3fb38a,_0x2ec211,0x0,0x0,_0x47e356,_0x406608);const _0x5e7863=_0x58882f[_0x48d530(0x18c)](_0x48d530(0x165));return _0x58882f['remove'](),_0x5e7863;}catch(_0x190f8a){return '';}}[_0x5b07a0(0x1b2)](_0x420518){const _0x4f4d42=_0x5b07a0;if(!this[_0x4f4d42(0x18f)])return;this[_0x4f4d42(0x18f)][_0x4f4d42(0x194)][_0x4f4d42(0x1a6)]=_0x420518;}[_0x5b07a0(0x17e)](_0x2acbe6){const _0x585cd1=_0x5b07a0;if(!this[_0x585cd1(0x18f)])return;this[_0x585cd1(0x18f)][_0x585cd1(0x194)]['type']=_0x2acbe6;}['setToneMapping'](_0x29c482){const _0x5f12b5=_0x5b07a0;if(!this[_0x5f12b5(0x18f)])return;this[_0x5f12b5(0x18f)][_0x5f12b5(0x15b)]=_0x29c482;}[_0x5b07a0(0x167)](_0x427976){const _0x4f8b30=_0x5b07a0;if(!this[_0x4f8b30(0x18f)])return;this[_0x4f8b30(0x18f)]['toneMappingExposure']=_0x427976;}[_0x5b07a0(0x16e)](){const _0x44c98d=_0x5b07a0;this[_0x44c98d(0x188)](),this[_0x44c98d(0x1b4)][_0x44c98d(0x185)](null),this[_0x44c98d(0x16c)]&&(this[_0x44c98d(0x16c)][_0x44c98d(0x175)](),this[_0x44c98d(0x16c)]=null),this[_0x44c98d(0x14f)]&&(this[_0x44c98d(0x14f)][_0x44c98d(0x186)][_0x44c98d(0x187)](),this['labelRenderer']=null),this[_0x44c98d(0x18f)]&&(this['renderer'][_0x44c98d(0x186)][_0x44c98d(0x187)](),this['_renderer'][_0x44c98d(0x19c)](),this[_0x44c98d(0x18f)]=null),this['_canvasContainer']&&(this[_0x44c98d(0x15e)]['remove'](),this[_0x44c98d(0x15e)]=null),this[_0x44c98d(0x169)]=null,this[_0x44c98d(0x18b)]=null;}}
|
|
76
85
|
|
|
77
|
-
function _0x51b4(_0x33c79f,_0x1d2865){_0x33c79f=_0x33c79f-0x97;const _0x1481e4=_0x1481();let _0x51b467=_0x1481e4[_0x33c79f];return _0x51b467;}function _0x1481(){const _0x230294=['aspect','605187XTonnJ','updataCamera','top','Invalid\x20camera\x20type','361332ViTOvE','1023640GDJdzD','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','bottom','far','left','139553poqHCh','2723RiajKI','650157elurtj','2opmnsL','fov','type','Perspective','right','createCamera','890205nbscyc','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','3216mEEabj','near','warn'];_0x1481=function(){return _0x230294;};return _0x1481();}const _0x3d5b50=_0x51b4;(function(_0x51d752,_0x397316){const _0x3b8aec=_0x51b4,_0x164a65=_0x51d752();while(!![]){try{const _0x3283fa=-parseInt(_0x3b8aec(0xaf))/0x1*(-parseInt(_0x3b8aec(0x99))/0x2)+-parseInt(_0x3b8aec(0x98))/0x3+-parseInt(_0x3b8aec(0xaa))/0x4+parseInt(_0x3b8aec(0x9f))/0x5+parseInt(_0x3b8aec(0xa9))/0x6+parseInt(_0x3b8aec(0x97))/0x7*(parseInt(_0x3b8aec(0xa1))/0x8)+parseInt(_0x3b8aec(0xa5))/0x9;if(_0x3283fa===_0x397316)break;else _0x164a65['push'](_0x164a65['shift']());}catch(_0x36557b){_0x164a65['push'](_0x164a65['shift']());}}}(_0x1481,0x1f728));class CameraFactory{static[_0x3d5b50(0x9e)](_0x4fb119){const _0xb75027=_0x3d5b50;try{switch(_0x4fb119[_0xb75027(0x9b)]){case _0xb75027(0x9c):{let _0x5cfba3=_0x4fb119;return new webgpu.PerspectiveCamera(_0x5cfba3[_0xb75027(0x9a)],_0x5cfba3[_0xb75027(0xa4)],_0x5cfba3[_0xb75027(0xa2)],_0x5cfba3[_0xb75027(0xad)]);}case 'Orthographic':{let _0x5c4c83=_0x4fb119;return new webgpu.OrthographicCamera(_0x5c4c83[_0xb75027(0xae)],_0x5c4c83['right'],_0x5c4c83[_0xb75027(0xa7)],_0x5c4c83[_0xb75027(0xac)],_0x5c4c83[_0xb75027(0xa2)],_0x5c4c83[_0xb75027(0xad)]);}default:{throw new Error(_0xb75027(0xa8));}}}catch(_0x4c2d3c){return console[_0xb75027(0xa3)]('[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20',_0x4c2d3c),console['warn']('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x3d5b50(0xa6)](_0x17818d,_0x2f658e){const _0x1bb390=_0x3d5b50;try{switch(_0x17818d[_0x1bb390(0x9b)]){case _0x1bb390(0x9c):{let _0x207d15=_0x17818d;if(_0x2f658e instanceof webgpu.PerspectiveCamera)return _0x2f658e[_0x1bb390(0xa2)]=_0x207d15[_0x1bb390(0xa2)],_0x2f658e[_0x1bb390(0xad)]=_0x207d15[_0x1bb390(0xad)],_0x2f658e[_0x1bb390(0x9a)]=_0x207d15[_0x1bb390(0x9a)],_0x2f658e[_0x1bb390(0xa4)]=_0x207d15['aspect'],_0x2f658e;return new webgpu.PerspectiveCamera(_0x207d15[_0x1bb390(0x9a)],_0x207d15[_0x1bb390(0xa4)],_0x207d15[_0x1bb390(0xa2)],_0x207d15[_0x1bb390(0xad)]);}case 'Orthographic':{let _0x32a1cf=_0x17818d;if(_0x2f658e instanceof webgpu.OrthographicCamera)return _0x2f658e[_0x1bb390(0xa2)]=_0x32a1cf[_0x1bb390(0xa2)],_0x2f658e[_0x1bb390(0xad)]=_0x32a1cf['far'],_0x2f658e[_0x1bb390(0xae)]=_0x32a1cf[_0x1bb390(0xae)],_0x2f658e[_0x1bb390(0x9d)]=_0x32a1cf[_0x1bb390(0x9d)],_0x2f658e[_0x1bb390(0xa7)]=_0x32a1cf['top'],_0x2f658e[_0x1bb390(0xac)]=_0x32a1cf[_0x1bb390(0xac)],_0x2f658e;return new webgpu.OrthographicCamera(_0x32a1cf[_0x1bb390(0xae)],_0x32a1cf[_0x1bb390(0x9d)],_0x32a1cf[_0x1bb390(0xa7)],_0x32a1cf[_0x1bb390(0xac)],_0x32a1cf[_0x1bb390(0xa2)],_0x32a1cf['far']);}default:{throw new Error(_0x1bb390(0xa8));}}}catch(_0x4ca32e){return console['warn'](_0x1bb390(0xa0),_0x4ca32e),console[_0x1bb390(0xa3)](_0x1bb390(0xab)),_0x2f658e;}}}
|
|
86
|
+
function _0x4a13(){const _0x19563e=['getWorldRotation','onRemovedFromWorld','6003MVwqaD','onActorHoverBegin','getQuaternion','216192cpMzhP','setQuaternion','getWorldForwardDirection','KeepRelative','getWorldPosition','removeTickableActor','landToGround','_rootComponent','isTickEnabled','setPosition','getBoundsTopCenterPosition','sub','clearComponent','setScale','world','1591428EGLgeY','getWorldMatrix','tick','addComponent','childActors','setLayers','getChildActorById','getChildActorsByIds','push','308SgbbBE','60220pqchjA','uuid','error','14glVnen','getPosition','parentActor','threeObject','385497qwAdll','3770BQPPVJ','onHoverBeginDelegate','_onDoubleClickDelegate','6BFJhiy','rootComponent','markRenderStateDirty','name','destroy','onDoubleClickDelegate','viewport','rootComponent\x20is\x20invalid','worldToLocal','onActorHoverEnd','_onClickDelegate','broadcast','getWorldUpDirection','getScale','setRotation','onAddedToWorld','delete','removeFromParent','KeepWorld','_onHoverBeginDelegate','getCenter','attachComponent','removeComponent','isVisible','getWorldQuaternion','localToWorld','onClickDelegate','_name','constructRootComponent','isClickEnabled','addChildActor','setWorldMatrix','getRotation','getBoundsCenterPosition','getBounds','removeChildComponent','forEach','_onHoverEndDelegate','getWorldScale','8tHPMXT','onActorDoubleClick','removeChildActor','addChildComponent','app','1952260LdIVnm','detachComponent','getBoundsBottomCenterPosition','getWorldRightDirection','LYObject','setVisible','childrenComponents','_world','size','length','onActorClick','getComponentById','isHoverEnabled','2034396usambA','max'];_0x4a13=function(){return _0x19563e;};return _0x4a13();}const _0x3d63e1=_0x3c27;(function(_0x31824f,_0x2dee02){const _0x59842b=_0x3c27,_0x34262a=_0x31824f();while(!![]){try{const _0xa8a4ad=parseInt(_0x59842b(0x18c))/0x1*(-parseInt(_0x59842b(0x18f))/0x2)+parseInt(_0x59842b(0x182))/0x3+-parseInt(_0x59842b(0x16c))/0x4+-parseInt(_0x59842b(0x1c3))/0x5*(-parseInt(_0x59842b(0x197))/0x6)+parseInt(_0x59842b(0x193))/0x7*(parseInt(_0x59842b(0x1be))/0x8)+-parseInt(_0x59842b(0x170))/0x9*(parseInt(_0x59842b(0x194))/0xa)+-parseInt(_0x59842b(0x18b))/0xb*(-parseInt(_0x59842b(0x173))/0xc);if(_0xa8a4ad===_0x2dee02)break;else _0x34262a['push'](_0x34262a['shift']());}catch(_0x40a950){_0x34262a['push'](_0x34262a['shift']());}}}(_0x4a13,0x48f61));function _0x3c27(_0x22a8dd,_0x5986f9){_0x22a8dd=_0x22a8dd-0x16c;const _0x4a131a=_0x4a13();let _0x3c2740=_0x4a131a[_0x22a8dd];return _0x3c2740;}class Actor extends BaseObject{get[_0x3d63e1(0x181)](){const _0x4e46a5=_0x3d63e1;return this[_0x4e46a5(0x1ca)];}get[_0x3d63e1(0x19a)](){const _0x1478e5=_0x3d63e1;return this[_0x1478e5(0x1b2)];}set['name'](_0x440054){const _0x42269b=_0x3d63e1;this[_0x42269b(0x1b2)]=_0x440054;}get[_0x3d63e1(0x198)](){const _0x568c61=_0x3d63e1;if(!this['_rootComponent'])throw Error(_0x568c61(0x19e));return this[_0x568c61(0x17a)];}set[_0x3d63e1(0x198)](_0x47f1e7){const _0x4d81c4=_0x3d63e1;_0x47f1e7['detachFromParentComponent'](),_0x47f1e7['parentActor']=this;if(this['_rootComponent']){let _0x42e64c=this[_0x4d81c4(0x198)][_0x4d81c4(0x1c9)];for(let _0x252fd3=0x0;_0x252fd3<_0x42e64c['length'];++_0x252fd3){_0x47f1e7[_0x4d81c4(0x1c1)](_0x42e64c[_0x252fd3]);}this[_0x4d81c4(0x198)][_0x4d81c4(0x19b)]();}this['_rootComponent']=_0x47f1e7;}get['childrenComponents'](){const _0x55d0c6=_0x3d63e1;return this[_0x55d0c6(0x198)][_0x55d0c6(0x1c9)];}get['childActors'](){const _0xfb7688=_0x3d63e1;var _0x45769a;let _0x6e6316=[];return (_0x45769a=this[_0xfb7688(0x198)]['threeObject'])===null||_0x45769a===void 0?void 0:_0x45769a['children'][_0xfb7688(0x1bb)](_0x13e90e=>{const _0xaf0b03=_0xfb7688;var _0x3997f4;let _0x5b824b=(_0x3997f4=_0x13e90e['userData'][_0xaf0b03(0x1c7)])===null||_0x3997f4===void 0?void 0:_0x3997f4[_0xaf0b03(0x191)];_0x5b824b!==this&&_0x5b824b instanceof Actor&&_0x6e6316[_0xaf0b03(0x18a)](_0x5b824b);}),_0x6e6316;}get[_0x3d63e1(0x191)](){const _0x3fc6a2=_0x3d63e1;var _0x7c5e04,_0x4e58d4,_0xdfa8ca;let _0x193136=(_0xdfa8ca=(_0x4e58d4=(_0x7c5e04=this['rootComponent'][_0x3fc6a2(0x192)])===null||_0x7c5e04===void 0?void 0:_0x7c5e04['parent'])===null||_0x4e58d4===void 0?void 0:_0x4e58d4['userData'][_0x3fc6a2(0x1c7)])===null||_0xdfa8ca===void 0?void 0:_0xdfa8ca[_0x3fc6a2(0x191)];return _0x193136===this?null:_0x193136;}get[_0x3d63e1(0x1ae)](){const _0x311947=_0x3d63e1;return this[_0x311947(0x198)]?this[_0x311947(0x198)][_0x311947(0x1ae)]:![];}get[_0x3d63e1(0x17b)](){return super['isTickEnabled'];}set[_0x3d63e1(0x17b)](_0x47ea41){const _0xe0207e=_0x3d63e1;super[_0xe0207e(0x17b)]=_0x47ea41,this[_0xe0207e(0x17b)]?this[_0xe0207e(0x1c2)][_0xe0207e(0x181)]['addTickableActor'](this):this[_0xe0207e(0x1c2)][_0xe0207e(0x181)][_0xe0207e(0x178)](this);}get[_0x3d63e1(0x195)](){const _0xc286ab=_0x3d63e1;return this[_0xc286ab(0x1aa)];}get['onHoverEndDelegate'](){return this['_onHoverEndDelegate'];}get[_0x3d63e1(0x1b1)](){return this['_onClickDelegate'];}get[_0x3d63e1(0x19c)](){const _0x5596b9=_0x3d63e1;return this[_0x5596b9(0x196)];}constructor(_0x25f5ee,_0xae75dc){const _0x64a24b=_0x3d63e1;super(_0xae75dc),this['_name']='Actor',this['_rootComponent']=null,this['_world']=null,this[_0x64a24b(0x1aa)]=new Delegate(),this[_0x64a24b(0x1bc)]=new Delegate(),this[_0x64a24b(0x1a1)]=new Delegate(),this[_0x64a24b(0x196)]=new Delegate(),this['app']=_0x25f5ee,this[_0x64a24b(0x198)]=this['constructRootComponent'](),this['rootComponent'][_0x64a24b(0x191)]=this;}[_0x3d63e1(0x1b3)](){const _0x35f7c5=_0x3d63e1;return new SceneComponent(this[_0x35f7c5(0x1c2)]);}[_0x3d63e1(0x1b8)](_0x8f2801=!![]){const _0x5ce16b=_0x3d63e1;let _0x5a43c1=new webgpu.Vector3();return this['getBounds']()[_0x5ce16b(0x1ab)](_0x5a43c1),!_0x8f2801?_0x5a43c1['sub'](this[_0x5ce16b(0x190)]()):_0x5a43c1;}[_0x3d63e1(0x188)](_0x649e9b,_0x1867e9=!![]){const _0x1d2c20=_0x3d63e1,_0xc0239f=this[_0x1d2c20(0x186)];for(const _0x53b035 of _0xc0239f){if(_0x53b035[_0x1d2c20(0x18d)]===_0x649e9b)return _0x53b035;}if(_0x1867e9)for(const _0x1be194 of _0xc0239f){const _0x1c71e4=_0x1be194[_0x1d2c20(0x188)](_0x649e9b,!![]);if(_0x1c71e4)return _0x1c71e4;}return null;}[_0x3d63e1(0x189)](_0x5c630a,_0x3140d6=!![]){const _0x52af8c=_0x3d63e1,_0x1c6af5=[],_0x3f0807=new Set(_0x5c630a),_0x288540=this['childActors'];for(const _0x2d60e0 of _0x288540){_0x3f0807['has'](_0x2d60e0['uuid'])&&(_0x1c6af5['push'](_0x2d60e0),_0x3f0807[_0x52af8c(0x1a7)](_0x2d60e0['uuid']));}if(_0x3140d6&&_0x3f0807[_0x52af8c(0x1cb)]>0x0)for(const _0x5ca8d8 of _0x288540){const _0x2f4258=_0x5ca8d8['getChildActorsByIds']([..._0x3f0807],!![]);for(const _0x11a7aa of _0x2f4258){_0x1c6af5['push'](_0x11a7aa),_0x3f0807['delete'](_0x11a7aa[_0x52af8c(0x18d)]);}if(_0x3f0807[_0x52af8c(0x1cb)]===0x0)break;}return _0x1c6af5;}[_0x3d63e1(0x1ce)](_0x9c25b7){const _0x518711=_0x3d63e1;return this[_0x518711(0x198)]['getComponentById'](_0x9c25b7);}[_0x3d63e1(0x17d)](_0x126ca4=!![]){const _0x3f092b=_0x3d63e1;let _0x4eb4e9=new webgpu.Vector3(),_0x402915=this[_0x3f092b(0x198)]['getBounds']();return _0x402915[_0x3f092b(0x1ab)](_0x4eb4e9),_0x4eb4e9['y']=_0x402915[_0x3f092b(0x16d)]['y'],!_0x126ca4?_0x4eb4e9[_0x3f092b(0x17e)](this[_0x3f092b(0x190)]()):_0x4eb4e9;}[_0x3d63e1(0x1c5)](_0x5f2dc0=!![]){const _0x5b3557=_0x3d63e1;let _0x395181=new webgpu.Vector3(),_0x317296=this[_0x5b3557(0x1b9)]();return _0x317296[_0x5b3557(0x1ab)](_0x395181),_0x395181['y']=_0x317296['min']['y'],!_0x5f2dc0?_0x395181[_0x5b3557(0x17e)](this[_0x5b3557(0x190)]()):_0x395181;}[_0x3d63e1(0x1b9)](){const _0x38fe7b=_0x3d63e1;return this['rootComponent'][_0x38fe7b(0x1b9)]();}[_0x3d63e1(0x19b)](){const _0x56f799=_0x3d63e1;let _0x21a524=this[_0x56f799(0x186)];_0x21a524[_0x56f799(0x1bb)](_0x122dce=>{const _0x56e81d=_0x56f799;_0x122dce[_0x56e81d(0x19b)]();}),this[_0x56f799(0x198)][_0x56f799(0x19b)]();}[_0x3d63e1(0x1c8)](_0x359aa3){this['rootComponent']['setVisible'](_0x359aa3);}[_0x3d63e1(0x187)](_0x10c92e,_0x19224f=!![]){const _0x5e936d=_0x3d63e1;this[_0x5e936d(0x198)]['setLayers'](_0x10c92e),_0x19224f&&this[_0x5e936d(0x186)][_0x5e936d(0x1bb)](_0x3b099d=>{_0x3b099d['setLayers'](_0x10c92e,_0x19224f);});}[_0x3d63e1(0x184)](_0x23b9de){const _0xf6aee3=_0x3d63e1;if(!this[_0xf6aee3(0x17b)])return;super['tick'](_0x23b9de),this[_0xf6aee3(0x198)][_0xf6aee3(0x184)](_0x23b9de);}['getPosition'](){const _0x470466=_0x3d63e1;return this[_0x470466(0x198)][_0x470466(0x190)]();}[_0x3d63e1(0x17c)](..._0x41c662){const _0x528b8a=_0x3d63e1;_0x41c662[_0x528b8a(0x1cc)]===0x1?this[_0x528b8a(0x198)][_0x528b8a(0x17c)](_0x41c662[0x0]):this[_0x528b8a(0x198)][_0x528b8a(0x17c)](_0x41c662[0x0],_0x41c662[0x1],_0x41c662[0x2]);}['getRotation'](){const _0x3f3829=_0x3d63e1;return this[_0x3f3829(0x198)][_0x3f3829(0x1b7)]();}[_0x3d63e1(0x1a5)](..._0x1c2294){const _0x4a23fe=_0x3d63e1;_0x1c2294['length']===0x1?this['rootComponent'][_0x4a23fe(0x1a5)](_0x1c2294[0x0]):this[_0x4a23fe(0x198)]['setRotation'](_0x1c2294[0x0],_0x1c2294[0x1],_0x1c2294[0x2]);}['getQuaternion'](){const _0x2f66c0=_0x3d63e1;return this[_0x2f66c0(0x198)][_0x2f66c0(0x172)]();}[_0x3d63e1(0x174)](..._0x4ab1cf){const _0x74b2c3=_0x3d63e1;_0x4ab1cf[_0x74b2c3(0x1cc)]===0x1?this[_0x74b2c3(0x198)]['setQuaternion'](_0x4ab1cf[0x0]):this[_0x74b2c3(0x198)][_0x74b2c3(0x174)](_0x4ab1cf[0x0],_0x4ab1cf[0x1],_0x4ab1cf[0x2],_0x4ab1cf[0x3]);}['getScale'](){const _0x4d0b0d=_0x3d63e1;return this[_0x4d0b0d(0x198)][_0x4d0b0d(0x1a4)]();}[_0x3d63e1(0x180)](..._0x5305a8){const _0x40dd04=_0x3d63e1;_0x5305a8[_0x40dd04(0x1cc)]===0x1?this[_0x40dd04(0x198)][_0x40dd04(0x180)](_0x5305a8[0x0]):this[_0x40dd04(0x198)][_0x40dd04(0x180)](_0x5305a8[0x0],_0x5305a8[0x1],_0x5305a8[0x2]);}['getWorldMatrix'](){const _0xb547d9=_0x3d63e1;return this[_0xb547d9(0x198)][_0xb547d9(0x183)]();}[_0x3d63e1(0x1b6)](_0x42fd9b){const _0x405982=_0x3d63e1;this[_0x405982(0x198)][_0x405982(0x1b6)](_0x42fd9b);}[_0x3d63e1(0x177)](){const _0x1ab6da=_0x3d63e1;return this[_0x1ab6da(0x198)][_0x1ab6da(0x177)]();}[_0x3d63e1(0x16e)](){const _0x5c40ee=_0x3d63e1;return this[_0x5c40ee(0x198)][_0x5c40ee(0x16e)]();}[_0x3d63e1(0x1af)](){const _0x7ccab6=_0x3d63e1;return this[_0x7ccab6(0x198)][_0x7ccab6(0x1af)]();}[_0x3d63e1(0x1bd)](){const _0x19be0d=_0x3d63e1;return this[_0x19be0d(0x198)][_0x19be0d(0x1bd)]();}[_0x3d63e1(0x175)](){const _0x4226eb=_0x3d63e1;return this[_0x4226eb(0x198)][_0x4226eb(0x175)]();}['getWorldUpDirection'](){const _0x1c1fce=_0x3d63e1;return this[_0x1c1fce(0x198)][_0x1c1fce(0x1a3)]();}[_0x3d63e1(0x1c6)](){const _0x16293b=_0x3d63e1;return this[_0x16293b(0x198)]['getWorldRightDirection']();}['addLocalOffset'](_0x896c2e,_0x18b68e){const _0x18dbf3=_0x3d63e1;let _0x28de55=this[_0x18dbf3(0x190)]();this[_0x18dbf3(0x17c)](_0x28de55['x']+_0x896c2e['x']*_0x18b68e,_0x28de55['y']+_0x896c2e['y']*_0x18b68e,_0x28de55['z']+_0x896c2e['z']*_0x18b68e);}[_0x3d63e1(0x19f)](_0x39ee55){const _0x1b71b3=_0x3d63e1;return this[_0x1b71b3(0x198)][_0x1b71b3(0x19f)](_0x39ee55);}[_0x3d63e1(0x1b0)](_0x3b14d1){const _0x378c4d=_0x3d63e1;return this[_0x378c4d(0x198)][_0x378c4d(0x1b0)](_0x3b14d1);}['getComponents'](){const _0x2c88c4=_0x3d63e1;return this[_0x2c88c4(0x198)][_0x2c88c4(0x1c9)];}[_0x3d63e1(0x185)](_0x4a2f39,_0x57b75c=exports.AttachmentRules[_0x3d63e1(0x176)]){const _0x2ce49f=_0x3d63e1;this['rootComponent'][_0x2ce49f(0x1c1)](_0x4a2f39,_0x57b75c),this[_0x2ce49f(0x1ca)]&&_0x4a2f39[_0x2ce49f(0x1a6)](this[_0x2ce49f(0x1ca)]);}[_0x3d63e1(0x1ad)](_0x435fa0){const _0xfb4282=_0x3d63e1;if(_0x435fa0===this[_0xfb4282(0x17a)])return;this['rootComponent'][_0xfb4282(0x1ba)](_0x435fa0);}[_0x3d63e1(0x17f)](){const _0xaec27c=_0x3d63e1;this[_0xaec27c(0x198)]['destroyChildren']();}[_0x3d63e1(0x1b5)](_0x6dc9dd,_0x59aaf1=exports.AttachmentRules[_0x3d63e1(0x1a9)]){const _0x49a5ee=_0x3d63e1;if(!_0x6dc9dd[_0x49a5ee(0x198)]){console[_0x49a5ee(0x18e)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x6dc9dd[_0x49a5ee(0x191)]===this)return;_0x59aaf1===exports.AttachmentRules[_0x49a5ee(0x176)]&&this[_0x49a5ee(0x198)][_0x49a5ee(0x1ac)](_0x6dc9dd[_0x49a5ee(0x198)]);if(_0x59aaf1===exports.AttachmentRules[_0x49a5ee(0x1a9)]){let _0x219665=_0x6dc9dd[_0x49a5ee(0x183)]();this[_0x49a5ee(0x198)][_0x49a5ee(0x1ac)](_0x6dc9dd[_0x49a5ee(0x198)]),_0x6dc9dd['setWorldMatrix'](_0x219665);}this[_0x49a5ee(0x1ca)]&&this[_0x49a5ee(0x1ca)][_0x49a5ee(0x19d)][_0x49a5ee(0x199)]();}[_0x3d63e1(0x1c0)](_0xe8a2b7){const _0x39b15d=_0x3d63e1;let _0x3dd7f5=_0xe8a2b7['getWorldMatrix']();this[_0x39b15d(0x198)][_0x39b15d(0x1c4)](_0xe8a2b7[_0x39b15d(0x198)]),_0xe8a2b7[_0x39b15d(0x1b6)](_0x3dd7f5);}[_0x3d63e1(0x1a8)](){const _0x318d9d=_0x3d63e1;this[_0x318d9d(0x191)]&&this[_0x318d9d(0x191)][_0x318d9d(0x1c0)](this);}[_0x3d63e1(0x1a6)](_0x5be1f5){const _0x2ffc4a=_0x3d63e1;this[_0x2ffc4a(0x1ca)]=_0x5be1f5,this[_0x2ffc4a(0x198)][_0x2ffc4a(0x1a6)](this[_0x2ffc4a(0x1ca)]),this['childActors']['forEach'](_0x8238bd=>{const _0x312880=_0x2ffc4a;_0x8238bd[_0x312880(0x1a6)](_0x5be1f5);});}[_0x3d63e1(0x16f)](){const _0x404f6f=_0x3d63e1;this[_0x404f6f(0x1ca)]=null;}get[_0x3d63e1(0x1cf)](){const _0x5273ad=_0x3d63e1;return this['rootComponent'][_0x5273ad(0x1cf)];}set[_0x3d63e1(0x1cf)](_0x3b6188){const _0x13278a=_0x3d63e1;this[_0x13278a(0x198)][_0x13278a(0x1cf)]=_0x3b6188;}get[_0x3d63e1(0x1b4)](){const _0x112bb3=_0x3d63e1;return this[_0x112bb3(0x198)]['isClickEnabled'];}set[_0x3d63e1(0x1b4)](_0x16b271){const _0x3787e3=_0x3d63e1;this[_0x3787e3(0x198)][_0x3787e3(0x1b4)]=_0x16b271;}[_0x3d63e1(0x171)](_0x3b2926){const _0x11f0c5=_0x3d63e1;this[_0x11f0c5(0x1aa)]['broadcast'](_0x3b2926);}[_0x3d63e1(0x1a0)](_0x5467a7){const _0x5c4771=_0x3d63e1;this[_0x5c4771(0x1bc)][_0x5c4771(0x1a2)](_0x5467a7);}[_0x3d63e1(0x1cd)](_0x4a5218){const _0x2ca6b3=_0x3d63e1;this[_0x2ca6b3(0x1a1)][_0x2ca6b3(0x1a2)](_0x4a5218);}[_0x3d63e1(0x1bf)](_0x2819f3){const _0x428120=_0x3d63e1;this['_onDoubleClickDelegate'][_0x428120(0x1a2)](_0x2819f3);}[_0x3d63e1(0x179)](){}}
|
|
78
87
|
|
|
79
|
-
|
|
88
|
+
var _0x31d316=_0x1612;function _0x1612(_0x5b9f5a,_0x4e51dd){_0x5b9f5a=_0x5b9f5a-0x1a9;var _0x5e0542=_0x5e05();var _0x161286=_0x5e0542[_0x5b9f5a];return _0x161286;}(function(_0x5ca196,_0x177d1a){var _0x3732ae=_0x1612,_0x5dbdd1=_0x5ca196();while(!![]){try{var _0x47bf17=parseInt(_0x3732ae(0x1ad))/0x1*(parseInt(_0x3732ae(0x1b6))/0x2)+parseInt(_0x3732ae(0x1b2))/0x3+-parseInt(_0x3732ae(0x1ae))/0x4*(parseInt(_0x3732ae(0x1b5))/0x5)+-parseInt(_0x3732ae(0x1be))/0x6*(-parseInt(_0x3732ae(0x1bc))/0x7)+-parseInt(_0x3732ae(0x1ab))/0x8*(parseInt(_0x3732ae(0x1b8))/0x9)+-parseInt(_0x3732ae(0x1af))/0xa+-parseInt(_0x3732ae(0x1bb))/0xb;if(_0x47bf17===_0x177d1a)break;else _0x5dbdd1['push'](_0x5dbdd1['shift']());}catch(_0x26d755){_0x5dbdd1['push'](_0x5dbdd1['shift']());}}}(_0x5e05,0xadfd3));function _0x5e05(){var _0xdf2a3d=['3807620pWqpUZ','16CUtZvq','isTickEnabled','9596115AvSsJo','tick','camera','2737823olRdTr','7RTIQwW','enabled','5231022LCVyto','possess','stopFocusing','8bdpXPq','app','173634vwyjZn','4icvmfD','2012230NsYVdQ','_enabled','controller','2188875VmKSuS','destroy','focusTo'];_0x5e05=function(){return _0xdf2a3d;};return _0x5e05();}class Pawn extends Actor{get[_0x31d316(0x1ba)](){var _0x239659=_0x31d316;return this[_0x239659(0x1ac)][_0x239659(0x1ba)];}get[_0x31d316(0x1bd)](){var _0x21243c=_0x31d316;return this[_0x21243c(0x1b0)];}set['enabled'](_0x255e94){var _0x28e424=_0x31d316;this[_0x28e424(0x1b0)]=_0x255e94;}constructor(_0x2dcb02){var _0x5dd226=_0x31d316;super(_0x2dcb02),this[_0x5dd226(0x1b0)]=![],this[_0x5dd226(0x1b1)]=_0x2dcb02['controller'],this[_0x5dd226(0x1b7)]=!![];}[_0x31d316(0x1b9)](_0xf58b58){return;}[_0x31d316(0x1a9)](){}['unpossess'](){}[_0x31d316(0x1b4)](_0x2bffb3,_0x7f3d9b,_0x437f2d,_0x38454e,_0x242c80=null,_0x401b95=null){}[_0x31d316(0x1aa)](){}[_0x31d316(0x1b3)](){}}Pawn['inputFilter']=()=>!![];
|
|
80
89
|
|
|
81
|
-
(function(_0x3db11c,_0x2acf49){const _0x2230f5=_0x43f9,_0x33fd56=_0x3db11c();while(!![]){try{const _0x50a88c=-parseInt(_0x2230f5(0x1a7))/0x1*(-parseInt(_0x2230f5(0x1ae))/0x2)+parseInt(_0x2230f5(0x1aa))/0x3*(-parseInt(_0x2230f5(0x1ab))/0x4)+parseInt(_0x2230f5(0x1a8))/0x5*(parseInt(_0x2230f5(0x1af))/0x6)+-parseInt(_0x2230f5(0x1ad))/0x7*(parseInt(_0x2230f5(0x1ac))/0x8)+-parseInt(_0x2230f5(0x1a9))/0x9+parseInt(_0x2230f5(0x1a5))/0xa+-parseInt(_0x2230f5(0x1a6))/0xb;if(_0x50a88c===_0x2acf49)break;else _0x33fd56['push'](_0x33fd56['shift']());}catch(_0x562f46){_0x33fd56['push'](_0x33fd56['shift']());}}}(_0x531a,0x5d85c));function _0x43f9(_0x11de92,_0x1db492){_0x11de92=_0x11de92-0x1a5;const _0x531ae3=_0x531a();let _0x43f903=_0x531ae3[_0x11de92];return _0x43f903;}function _0x531a(){const _0x2f01d1=['271503BBzpBq','2390ZaSQbB','3587661KVAppQ','3JSpKbT','437036JoMELS','23656OcURvc','602XJzfrY','4JMOAso','9492DrhgRQ','4395160JjNksd','6528060qQPtJI'];_0x531a=function(){return _0x2f01d1;};return _0x531a();}const DefaultViewportParam={'elementId':null,'isLabelRendererNeeded':![],'isUILayerNeeded':![]};
|
|
90
|
+
const _0x36e878=_0x1a2f;(function(_0x1b86cf,_0x1c6fde){const _0x60cfd2=_0x1a2f,_0x937026=_0x1b86cf();while(!![]){try{const _0x16cabb=parseInt(_0x60cfd2(0x1de))/0x1+-parseInt(_0x60cfd2(0x205))/0x2+parseInt(_0x60cfd2(0x200))/0x3*(-parseInt(_0x60cfd2(0x1bb))/0x4)+parseInt(_0x60cfd2(0x1df))/0x5+-parseInt(_0x60cfd2(0x1f0))/0x6+parseInt(_0x60cfd2(0x1c6))/0x7*(parseInt(_0x60cfd2(0x1da))/0x8)+-parseInt(_0x60cfd2(0x208))/0x9;if(_0x16cabb===_0x1c6fde)break;else _0x937026['push'](_0x937026['shift']());}catch(_0x273e96){_0x937026['push'](_0x937026['shift']());}}}(_0x1f4c,0x5ae87));function _0x1f4c(){const _0x3f9a29=['exp','1365021FzGtvv','_targetPosition','canvas','_targetDistance','slerp','_lastPointerPosition','threeObject','app','add','clamp','pointerId','onPointerUpDelegate','onWheelDelegate','hasPointerCapture','setFromRotationMatrix','enabled','abs','8sTcHgV','setCameraDraggingState','normalize','minDistance','rootComponent','multiplyScalar','lyCameraDragging','inputFilter','minAzimuthAngle','_focusTween','onPointerCancelDelegate','208159AAdNCk','clientY','preventDefault','zoomSpeed','applyQuaternion','clone','setQuaternion','clientHeight','releasePointerCapture','deltaY','stopFocusing','outer','setPosition','onWheel','dampingFactor','rotateSpeed','lerp','remove','lookAt','maxAzimuthAngle','136PEwnnw','onContextMenu','min','button','665511EvCurd','2802265ClUddC','onPointerDownDelegate','clientX','camera','onContextMenuDelegate','onPointerMoveDelegate','copy','function','maxDistance','alpha','setRotation','call','onPointerDown','updateCameraFromPawn','enableDamping','tick','_isDragging','1539234ZNojoX','getPosition','setFromEuler','maxPolarAngle','setPointerCapture','possess','setFromQuaternion','onPointerUp','distance','onPointerMove','kill','_targetQuaternion','getQuaternion','dataset','minPolarAngle','unpossess','358212IJILAq','YXZ','position','viewport','set','1424236xjMbkq','focusTo'];_0x1f4c=function(){return _0x3f9a29;};return _0x1f4c();}function _0x1a2f(_0x493d7a,_0x24703f){_0x493d7a=_0x493d7a-0x1b1;const _0x1f4cc8=_0x1f4c();let _0x1a2f80=_0x1f4cc8[_0x493d7a];return _0x1a2f80;}class Orbital extends Pawn{constructor(_0x13360e){const _0x583681=_0x1a2f;super(_0x13360e),this['distance']=0x5,this[_0x583681(0x1be)]=0.1,this['maxDistance']=0xf4240,this['rotateSpeed']=0x1,this[_0x583681(0x1c9)]=0x1,this['minPolarAngle']=0x0,this[_0x583681(0x1f3)]=Math['PI']*0.5,this['minAzimuthAngle']=-Infinity,this[_0x583681(0x1d9)]=Infinity,this['enableDamping']=!![],this[_0x583681(0x1d4)]=0xa,this[_0x583681(0x1ef)]=![],this['_lastPointerPosition']=new webgpu.Vector2(),this[_0x583681(0x209)]=new webgpu.Vector3(),this[_0x583681(0x1fb)]=new webgpu.Quaternion(),this[_0x583681(0x20b)]=0x5,this[_0x583681(0x1c4)]=null,this[_0x583681(0x1db)]=_0x450799=>{const _0x3d95ca=_0x583681;if(!Pawn[_0x3d95ca(0x1c2)]())return;_0x450799[_0x3d95ca(0x1c8)]();},this[_0x583681(0x1eb)]=_0x4149a4=>{const _0x167c16=_0x583681;if(!this['enabled']||!Pawn[_0x167c16(0x1c2)]())return;if(_0x4149a4['button']===0x0||_0x4149a4[_0x167c16(0x1dd)]===0x2){this[_0x167c16(0x1ef)]=!![],this[_0x167c16(0x20d)][_0x167c16(0x204)](_0x4149a4['clientX'],_0x4149a4[_0x167c16(0x1c7)]),this[_0x167c16(0x1bc)](!![]);const _0x25cb0e=this[_0x167c16(0x1b1)]['viewport'][_0x167c16(0x20a)];_0x25cb0e&&typeof _0x25cb0e['setPointerCapture']===_0x167c16(0x1e6)&&_0x25cb0e[_0x167c16(0x1f4)](_0x4149a4['pointerId']);}},this[_0x583681(0x1f9)]=_0x41d8ed=>{const _0x3ee082=_0x583681;if(!this['enabled']||!this['_isDragging']||!Pawn[_0x3ee082(0x1c2)]())return;if(_0x41d8ed['buttons']===0x0){this[_0x3ee082(0x1ef)]=![],this[_0x3ee082(0x1bc)](![]);return;}const _0x34a77a=_0x41d8ed[_0x3ee082(0x1e1)]-this['_lastPointerPosition']['x'],_0x150a27=_0x41d8ed[_0x3ee082(0x1c7)]-this[_0x3ee082(0x20d)]['y'];this[_0x3ee082(0x20d)][_0x3ee082(0x204)](_0x41d8ed[_0x3ee082(0x1e1)],_0x41d8ed['clientY']);const _0x267e3e=this[_0x3ee082(0x1b1)][_0x3ee082(0x203)][_0x3ee082(0x20a)];if(!_0x267e3e)return;if(_0x41d8ed['buttons']===0x1){const _0x26b41b=this[_0x3ee082(0x1d5)]*0x2*Math['PI'],_0x4e37c6=new webgpu.Euler(0x0,0x0,0x0,_0x3ee082(0x201))[_0x3ee082(0x1f6)](this['_targetQuaternion']);_0x4e37c6['y']-=_0x34a77a/_0x267e3e[_0x3ee082(0x1cd)]*_0x26b41b,_0x4e37c6['x']-=_0x150a27/_0x267e3e[_0x3ee082(0x1cd)]*_0x26b41b;const _0x2b8440=Math['max'](this[_0x3ee082(0x1fe)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x1d62d0=Math['min'](this[_0x3ee082(0x1f3)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x4e37c6['x']=webgpu.MathUtils[_0x3ee082(0x1b3)](_0x4e37c6['x'],_0x2b8440,_0x1d62d0),isFinite(this['minAzimuthAngle'])&&isFinite(this['maxAzimuthAngle'])&&(_0x4e37c6['y']=webgpu.MathUtils[_0x3ee082(0x1b3)](_0x4e37c6['y'],this[_0x3ee082(0x1c3)],this[_0x3ee082(0x1d9)])),_0x4e37c6['z']=0x0,this['_targetQuaternion'][_0x3ee082(0x1f2)](_0x4e37c6),!this[_0x3ee082(0x1ed)]&&this[_0x3ee082(0x1cc)](this[_0x3ee082(0x1fb)]);}else {if(_0x41d8ed['buttons']===0x2){const _0xda795e=this[_0x3ee082(0x20b)]*0.002,_0x4d857b=new webgpu.Vector3(0x1,0x0,0x0)[_0x3ee082(0x1ca)](this[_0x3ee082(0x1fb)])[_0x3ee082(0x1bd)](),_0x150c18=new webgpu.Vector3(0x0,0x1,0x0)[_0x3ee082(0x1ca)](this['_targetQuaternion'])[_0x3ee082(0x1bd)]();this['_targetPosition']['addScaledVector'](_0x4d857b,-_0x34a77a*_0xda795e),this[_0x3ee082(0x209)]['addScaledVector'](_0x150c18,_0x150a27*_0xda795e),!this[_0x3ee082(0x1ed)]&&this[_0x3ee082(0x1d2)](this[_0x3ee082(0x209)]);}}},this[_0x583681(0x1f7)]=_0x1ca1af=>{const _0x23b258=_0x583681;var _0x393e07;this[_0x23b258(0x1ef)]=![],this[_0x23b258(0x1bc)](![]);const _0x353e83=this['app'][_0x23b258(0x203)][_0x23b258(0x20a)];_0x353e83&&typeof _0x353e83[_0x23b258(0x1ce)]===_0x23b258(0x1e6)&&((_0x393e07=_0x353e83[_0x23b258(0x1b7)])===null||_0x393e07===void 0?void 0:_0x393e07[_0x23b258(0x1ea)](_0x353e83,_0x1ca1af[_0x23b258(0x1b4)]))&&_0x353e83[_0x23b258(0x1ce)](_0x1ca1af[_0x23b258(0x1b4)]);},this['onWheel']=_0x457ab3=>{const _0x43b8ee=_0x583681;if(!this[_0x43b8ee(0x1b9)]||!Pawn[_0x43b8ee(0x1c2)]())return;const _0x58fd97=0.95;_0x457ab3[_0x43b8ee(0x1cf)]>0x0?this['_targetDistance']/=_0x58fd97:this['_targetDistance']*=_0x58fd97,this['_targetDistance']=webgpu.MathUtils[_0x43b8ee(0x1b3)](this[_0x43b8ee(0x20b)],this['minDistance'],this[_0x43b8ee(0x1e7)]),!this[_0x43b8ee(0x1ed)]&&(this[_0x43b8ee(0x1f8)]=this[_0x43b8ee(0x20b)]);};}[_0x36e878(0x1f5)](){const _0x506f58=_0x36e878;super[_0x506f58(0x1f5)]();this[_0x506f58(0x1bf)]&&this[_0x506f58(0x1bf)][_0x506f58(0x20e)]&&(this[_0x506f58(0x1bf)][_0x506f58(0x20e)]['rotation']['order']=_0x506f58(0x201));this[_0x506f58(0x209)][_0x506f58(0x1e5)](this[_0x506f58(0x1f1)]());const _0x33d13c=this[_0x506f58(0x1fc)](),_0x4236f6=new webgpu.Euler(0x0,0x0,0x0,_0x506f58(0x201))[_0x506f58(0x1f6)](_0x33d13c);Math['abs'](_0x4236f6['z'])>0.00001?(_0x4236f6['z']=0x0,this['_targetQuaternion'][_0x506f58(0x1f2)](_0x4236f6),this[_0x506f58(0x1cc)](this['_targetQuaternion'])):this[_0x506f58(0x1fb)]['copy'](_0x33d13c);this[_0x506f58(0x20b)]=this[_0x506f58(0x1f8)];const _0x547b65=this[_0x506f58(0x1b1)]['controller'];_0x547b65&&(_0x547b65['onPointerDownDelegate'][_0x506f58(0x1b2)](this[_0x506f58(0x1eb)]),_0x547b65[_0x506f58(0x1e4)][_0x506f58(0x1b2)](this['onPointerMove']),_0x547b65[_0x506f58(0x1b5)][_0x506f58(0x1b2)](this[_0x506f58(0x1f7)]),_0x547b65[_0x506f58(0x1c5)][_0x506f58(0x1b2)](this[_0x506f58(0x1f7)]),_0x547b65[_0x506f58(0x1b6)][_0x506f58(0x1b2)](this[_0x506f58(0x1d3)]),_0x547b65[_0x506f58(0x1e3)][_0x506f58(0x1b2)](this[_0x506f58(0x1db)])),this[_0x506f58(0x1ec)]();}['getTargetCameraState'](){const _0x1d7488=_0x36e878,_0x15e747=this[_0x1d7488(0x1f1)](),_0x272793=this['getQuaternion'](),_0x441954=new webgpu.Vector3(0x0,0x0,0x1)[_0x1d7488(0x1ca)](_0x272793)[_0x1d7488(0x1c0)](this['distance']),_0x391994=_0x15e747[_0x1d7488(0x1cb)]()[_0x1d7488(0x1b2)](_0x441954),_0x5a5f67=new webgpu.Matrix4();_0x5a5f67['lookAt'](_0x391994,_0x15e747,this['camera']['up']);const _0x46d081=new webgpu.Quaternion()[_0x1d7488(0x1b8)](_0x5a5f67);return {'position':_0x391994,'quaternion':_0x46d081};}[_0x36e878(0x1ec)](){const _0x34dcc9=_0x36e878;if(!this['enabled']||!this[_0x34dcc9(0x1e2)])return;const _0x48c9e3=this[_0x34dcc9(0x1f1)](),_0x92d4e=this[_0x34dcc9(0x1fc)](),_0x34f2ce=new webgpu.Vector3(0x0,0x0,0x1)[_0x34dcc9(0x1ca)](_0x92d4e)['multiplyScalar'](this[_0x34dcc9(0x1f8)]);this[_0x34dcc9(0x1e2)][_0x34dcc9(0x202)][_0x34dcc9(0x1e5)](_0x48c9e3)[_0x34dcc9(0x1b2)](_0x34f2ce),this[_0x34dcc9(0x1e2)][_0x34dcc9(0x1d8)](_0x48c9e3);}[_0x36e878(0x1ff)](){const _0x2e6242=_0x36e878;super[_0x2e6242(0x1ff)]();const _0x242bfa=this[_0x2e6242(0x1b1)]['controller'];_0x242bfa&&(_0x242bfa[_0x2e6242(0x1e0)][_0x2e6242(0x1d7)](this[_0x2e6242(0x1eb)]),_0x242bfa['onPointerMoveDelegate'][_0x2e6242(0x1d7)](this[_0x2e6242(0x1f9)]),_0x242bfa[_0x2e6242(0x1b5)][_0x2e6242(0x1d7)](this[_0x2e6242(0x1f7)]),_0x242bfa[_0x2e6242(0x1c5)][_0x2e6242(0x1d7)](this[_0x2e6242(0x1f7)]),_0x242bfa[_0x2e6242(0x1b6)][_0x2e6242(0x1d7)](this['onWheel']),_0x242bfa['onContextMenuDelegate'][_0x2e6242(0x1d7)](this['onContextMenu'])),this[_0x2e6242(0x1ef)]=![],this[_0x2e6242(0x1bc)](![]),this[_0x2e6242(0x1c4)]&&(this['_focusTween']['kill'](),this['_focusTween']=null);}[_0x36e878(0x1bc)](_0x4d3778){const _0xc52045=_0x36e878,_0x4bfaee=this[_0xc52045(0x1b1)][_0xc52045(0x203)][_0xc52045(0x1d1)];if(!_0x4bfaee)return;_0x4d3778?_0x4bfaee[_0xc52045(0x1fd)][_0xc52045(0x1c1)]='1':delete _0x4bfaee[_0xc52045(0x1fd)][_0xc52045(0x1c1)];}[_0x36e878(0x1ee)](_0x220472){const _0x9db928=_0x36e878;if(this[_0x9db928(0x1ed)]){const _0x962585=Math[_0x9db928(0x1dc)](_0x220472,0.1),_0x96a551=0x1-Math[_0x9db928(0x207)](-this['dampingFactor']*_0x962585);this[_0x9db928(0x1f8)]=webgpu.MathUtils[_0x9db928(0x1d6)](this['distance'],this[_0x9db928(0x20b)],_0x96a551);const _0x3240e4=this[_0x9db928(0x1f1)]();_0x3240e4[_0x9db928(0x1d6)](this[_0x9db928(0x209)],_0x96a551),super['setPosition'](_0x3240e4);const _0x5a3397=this[_0x9db928(0x1fc)]();_0x5a3397[_0x9db928(0x20c)](this[_0x9db928(0x1fb)],_0x96a551),super['setQuaternion'](_0x5a3397);}this[_0x9db928(0x1ec)]();}[_0x36e878(0x1d2)](..._0xf23e99){const _0x2f14f7=_0x36e878;super['setPosition'](..._0xf23e99),this[_0x2f14f7(0x209)][_0x2f14f7(0x1e5)](this[_0x2f14f7(0x1f1)]());}[_0x36e878(0x1e9)](..._0x55bafb){const _0x204c63=_0x36e878;super[_0x204c63(0x1e9)](..._0x55bafb),this['_targetQuaternion']['copy'](this[_0x204c63(0x1fc)]());}[_0x36e878(0x1cc)](..._0x29727d){const _0x17b96b=_0x36e878;super[_0x17b96b(0x1cc)](..._0x29727d),this['_targetQuaternion'][_0x17b96b(0x1e5)](this[_0x17b96b(0x1fc)]());}[_0x36e878(0x206)](_0x473e4e,_0x1cc5e3,_0x38b921,_0x3f7125,_0x3f55f0=null,_0x25a356=null){const _0x6ffcb1=_0x36e878;this[_0x6ffcb1(0x1c4)]&&this[_0x6ffcb1(0x1c4)][_0x6ffcb1(0x1fa)]();const _0x437fb2=this[_0x6ffcb1(0x1f1)](),_0x3add6d=this['getQuaternion'](),_0x469d9a=this['distance'];let _0x2eacab;_0x1cc5e3 instanceof webgpu.Euler?_0x2eacab=new webgpu.Quaternion()[_0x6ffcb1(0x1f2)](_0x1cc5e3):_0x2eacab=_0x1cc5e3[_0x6ffcb1(0x1cb)]();const _0x1100fb=new webgpu.Euler(0x0,0x0,0x0,_0x6ffcb1(0x201))[_0x6ffcb1(0x1f6)](_0x2eacab);Math[_0x6ffcb1(0x1ba)](_0x1100fb['z'])>0.00001&&(_0x1100fb['z']=0x0,_0x2eacab[_0x6ffcb1(0x1f2)](_0x1100fb));const _0x332d5a={'alpha':0x0};this['_focusTween']=gsap.gsap['to'](_0x332d5a,{'alpha':0x1,'duration':_0x3f7125,'onUpdate':()=>{const _0x1fc892=_0x6ffcb1,_0x31b162=_0x332d5a[_0x1fc892(0x1e8)],_0x1b3b80=new webgpu.Vector3()['lerpVectors'](_0x437fb2,_0x473e4e,_0x31b162);this[_0x1fc892(0x1d2)](_0x1b3b80),this[_0x1fc892(0x209)][_0x1fc892(0x1e5)](_0x1b3b80);const _0xe2de59=_0x3add6d[_0x1fc892(0x1cb)]()[_0x1fc892(0x20c)](_0x2eacab,_0x31b162);this[_0x1fc892(0x1cc)](_0xe2de59),this[_0x1fc892(0x1fb)][_0x1fc892(0x1e5)](_0xe2de59),this[_0x1fc892(0x1f8)]=webgpu.MathUtils[_0x1fc892(0x1d6)](_0x469d9a,_0x38b921,_0x31b162),this['_targetDistance']=this[_0x1fc892(0x1f8)];if(_0x3f55f0)_0x3f55f0();},'onComplete':()=>{const _0x276a43=_0x6ffcb1;this[_0x276a43(0x1c4)]=null;if(_0x25a356)_0x25a356();}});}[_0x36e878(0x1d0)](){const _0x166356=_0x36e878;this[_0x166356(0x1c4)]&&(this[_0x166356(0x1c4)][_0x166356(0x1fa)](),this['_focusTween']=null);}}
|
|
82
91
|
|
|
83
|
-
function _0xf700(_0x5ca544,_0x310e6f){_0x5ca544=_0x5ca544-0x19a;const _0x32fb58=_0x32fb();let _0xf7008b=_0x32fb58[_0x5ca544];return _0xf7008b;}function _0x32fb(){const _0x3e828f=['10DfbLdK','4655398jZBwxc','1655088lEUKst','9440EjYJeh','6183alCwXg','929572xPPfsX','12NjJhDo','569806UTqpsG','21tGpWgd','434116fhGjjD','4001064eQIGUP','7bnwIcy'];_0x32fb=function(){return _0x3e828f;};return _0x32fb();}(function(_0x13322a,_0x1ae95e){const _0x36bed6=_0xf700,_0xb4160a=_0x13322a();while(!![]){try{const _0x99e6fe=parseInt(_0x36bed6(0x1a5))/0x1+parseInt(_0x36bed6(0x1a3))/0x2+-parseInt(_0x36bed6(0x19a))/0x3*(-parseInt(_0x36bed6(0x19b))/0x4)+-parseInt(_0x36bed6(0x19e))/0x5*(-parseInt(_0x36bed6(0x1a0))/0x6)+-parseInt(_0x36bed6(0x19d))/0x7*(parseInt(_0x36bed6(0x19c))/0x8)+parseInt(_0x36bed6(0x1a2))/0x9*(-parseInt(_0x36bed6(0x1a1))/0xa)+parseInt(_0x36bed6(0x19f))/0xb*(-parseInt(_0x36bed6(0x1a4))/0xc);if(_0x99e6fe===_0x1ae95e)break;else _0xb4160a['push'](_0xb4160a['shift']());}catch(_0x1d200f){_0xb4160a['push'](_0xb4160a['shift']());}}}(_0x32fb,0xbcfe0));const DefaultRendererParameters={'logarithmicDepthBuffer':![],'alpha':![],'depth':!![],'stencil':![],'antialias':![],'samples':0x1,'forceWebGL':![],'outputBufferType':0x3f8,'toneMapping':0x0,'toneMappingExposure':0x1,'shadowMapEnabled':!![],'shadowMapType':0x1};
|
|
92
|
+
const _0x1f3e58=_0x5e89;(function(_0x520a85,_0x481176){const _0x44e48b=_0x5e89,_0x4ca32c=_0x520a85();while(!![]){try{const _0x122577=parseInt(_0x44e48b(0x250))/0x1*(parseInt(_0x44e48b(0x24e))/0x2)+-parseInt(_0x44e48b(0x299))/0x3*(parseInt(_0x44e48b(0x25e))/0x4)+parseInt(_0x44e48b(0x1fd))/0x5*(parseInt(_0x44e48b(0x2a6))/0x6)+-parseInt(_0x44e48b(0x244))/0x7*(parseInt(_0x44e48b(0x200))/0x8)+-parseInt(_0x44e48b(0x215))/0x9*(-parseInt(_0x44e48b(0x224))/0xa)+-parseInt(_0x44e48b(0x229))/0xb*(parseInt(_0x44e48b(0x29a))/0xc)+parseInt(_0x44e48b(0x265))/0xd;if(_0x122577===_0x481176)break;else _0x4ca32c['push'](_0x4ca32c['shift']());}catch(_0x2e7afe){_0x4ca32c['push'](_0x4ca32c['shift']());}}}(_0xa589,0x87022));function _0xa589(){const _0x445f95=['handled','altKey','_onContextMenuDelegate','_onWheelDelegate','onActorDoubleClick','_raycastVec2','handleDoubleClick','onComponentPointerDownDelegate','_pawn','onPointerMove','origin','onPointerDownEvent','onPointerUpDelegate','_onClickNothingDelegate','fireClickEvents','top','blur','onKeyDownEvent','4197lbZCHT','76740qmZpRo','tan','removeEventListener','world','pawn\x20is\x20null','clientWidth','_onPointerUpDelegate','pointerPosition','distance','hit','_pointButtonIsDown','onPointerEnter','1050NdmppK','pointerdown','_onActorHoverBeginDelegate','onPointerEnterEvent','onClicked','getAllHitResultUnderCursor','createInitialPawn','lerpVectors','component','_onComponentClickDelegate','clearHovering','addEventListener','setFromAxisAngle','fireActorHoverBegin','_onPointerDownDelegate','_app','pointercancel','onActorClick','getHitResultUnderCursor','position','clearTimeout','focusToBounds','_onComponentHoverBeginDelegate','lineTraceSingle','setFromObject','_tempVec2','handleFirstClick','_onPointerLockChangeDelegate','onKeyDown','_onWindowBlurDelegate','860bKxJJx','assign','getAllHitResultFromScreenPoint','2479048pBhcng','button','hoveringActor','addActor','firePointerDownEvent','onWheel','set','pointerLeftDownPosition','onPointerLockChangeDelegate','onClick','leftClickTimer','onKeyUp','unpossess','onHorveringEnd','onWindowBlurEvent','_onComponentDoubleClickDelegate','viewPort','fireComponentClick','YXZ','shiftKey','getHitResultFromScreenPoint','204084ivakhm','onHorveringBegin','_onKeyDownDelegate','onContextMenu','fov','add','onPointerLockChangeEvent','parentActor','isHoverEnabled','canvas','onClickEvent','focusTo','_onActorHoverEndDelegate','clone','prepareClickComponent','240tDxmXM','onWheelEvent','onPointerLeaveEvent','pointerlockchange','onWindowBlur','1045QjbdpN','Visibility','collider','keydown','lineTraceMulti','focusToObject','prepareClickModifiers','onComponentDoubleClickDelegate','onPointerDownDelegate','_onComponentPointerDownDelegate','pointerenter','onPointerMoveEvent','getSize','sqrt','ctrlKey','removeCorePointerListeners','onActorHoverBeginDelegate','fireActorHoverEnd','app','blocking','threeObject','onPointerUpEvent','onPointerLeave','pointerup','quaternion','setFromEuler','fireComponentHoverBegin','14MMLgIX','onPointerMoveDelegate','getBoundingClientRect','onContextMenuEvent','ray','raycaster','onActorHoverEndDelegate','kill','onPointerUp','onActorHoverBegin','66JCnZlX','pointermove','8072RHsqNM','onPointerLockChange','_onPointerMoveDelegate','broadcast','camera','prepareClickHit','isClickEnabled','pawn','contextmenu','_onActorDoubleClickDelegate','onPointerDown','onDoubleClicked','addCorePointerListeners','wheel','2844RCEFfJ','onWindowBlurDelegate','enabled','power2.inOut','keyup','onPointerCancel','fireActorClick','25145510OJQfxc','onComponentClickDelegate','setFromCamera','onKeyUpEvent','_onKeyUpDelegate','onRawClickDelegate','physics','onComponentHoverEndDelegate','_onPointerCancelDelegate','_onComponentHoverEndDelegate','possess','destroy','_switchPawnTween','hoveringComponent','click','push','onActorClickDelegate','switchPawn','alpha','fireComponentHoverEnd','_onRawClickDelegate','_onActorClickDelegate','clientHeight','subVectors','length','onPointerCancelEvent','near','doubleClickDelay','onKeyUpDelegate','tick','onActorHoverEnd','onActorDoubleClickDelegate','onPointerCancelDelegate','init'];_0xa589=function(){return _0x445f95;};return _0xa589();}function _0x5e89(_0x4a93bf,_0x1ecbdf){_0x4a93bf=_0x4a93bf-0x1f4;const _0xa589f1=_0xa589();let _0x5e89e4=_0xa589f1[_0x4a93bf];return _0x5e89e4;}class Controller{get[_0x1f3e58(0x254)](){const _0xcf00ba=_0x1f3e58;return this[_0xcf00ba(0x2b5)]['camera'];}get['world'](){const _0x5dacba=_0x1f3e58;return this[_0x5dacba(0x2b5)][_0x5dacba(0x29d)];}get['viewPort'](){return this['_app']['viewport'];}get[_0x1f3e58(0x23b)](){const _0x1b6be0=_0x1f3e58;return this[_0x1b6be0(0x2b5)];}get['pawn'](){const _0x4a6840=_0x1f3e58;if(!this[_0x4a6840(0x28f)])throw Error(_0x4a6840(0x29e));return this[_0x4a6840(0x28f)];}get[_0x1f3e58(0x266)](){const _0x5cf576=_0x1f3e58;return this[_0x5cf576(0x2af)];}get[_0x1f3e58(0x230)](){return this['_onComponentDoubleClickDelegate'];}get['onComponentHoverBeginDelegate'](){const _0xdb54f4=_0x1f3e58;return this[_0xdb54f4(0x1f5)];}get[_0x1f3e58(0x26c)](){const _0x4d74af=_0x1f3e58;return this[_0x4d74af(0x26e)];}get[_0x1f3e58(0x28e)](){const _0x1eb71e=_0x1f3e58;return this[_0x1eb71e(0x232)];}get[_0x1f3e58(0x275)](){return this['_onActorClickDelegate'];}get[_0x1f3e58(0x284)](){const _0x472ab8=_0x1f3e58;return this[_0x472ab8(0x259)];}get[_0x1f3e58(0x239)](){const _0x278cd5=_0x1f3e58;return this[_0x278cd5(0x2a8)];}get[_0x1f3e58(0x24a)](){const _0x57c22c=_0x1f3e58;return this[_0x57c22c(0x221)];}get['onClickNothingDelegate'](){const _0x4ad4cc=_0x1f3e58;return this[_0x4ad4cc(0x294)];}get[_0x1f3e58(0x231)](){return this['_onPointerDownDelegate'];}get[_0x1f3e58(0x293)](){return this['_onPointerUpDelegate'];}get[_0x1f3e58(0x245)](){const _0x13aa0f=_0x1f3e58;return this[_0x13aa0f(0x252)];}get[_0x1f3e58(0x285)](){return this['_onPointerCancelDelegate'];}get['onWheelDelegate'](){const _0x6a9f1e=_0x1f3e58;return this[_0x6a9f1e(0x28a)];}get['onKeyDownDelegate'](){const _0x4d25b7=_0x1f3e58;return this[_0x4d25b7(0x217)];}get[_0x1f3e58(0x281)](){const _0x52e549=_0x1f3e58;return this[_0x52e549(0x269)];}get['onContextMenuDelegate'](){const _0x46e0c2=_0x1f3e58;return this[_0x46e0c2(0x289)];}get[_0x1f3e58(0x208)](){const _0xeac904=_0x1f3e58;return this[_0xeac904(0x1fa)];}get[_0x1f3e58(0x25f)](){const _0x2e696a=_0x1f3e58;return this[_0x2e696a(0x1fc)];}get[_0x1f3e58(0x26a)](){const _0x4f3c50=_0x1f3e58;return this[_0x4f3c50(0x279)];}constructor(_0x196f5b){const _0x57f811=_0x1f3e58;this[_0x57f811(0x28f)]=null,this[_0x57f811(0x271)]=null,this[_0x57f811(0x272)]=null,this[_0x57f811(0x202)]=null,this[_0x57f811(0x223)]=null,this[_0x57f811(0x255)]=null,this[_0x57f811(0x22f)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x57f811(0x2a4)]=new Set(),this[_0x57f811(0x2af)]=new Delegate(),this[_0x57f811(0x20f)]=new Delegate(),this[_0x57f811(0x1f5)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x57f811(0x232)]=new Delegate(),this[_0x57f811(0x27a)]=new Delegate(),this[_0x57f811(0x259)]=new Delegate(),this[_0x57f811(0x2a8)]=new Delegate(),this[_0x57f811(0x221)]=new Delegate(),this[_0x57f811(0x294)]=new Delegate(),this[_0x57f811(0x2b4)]=new Delegate(),this[_0x57f811(0x2a0)]=new Delegate(),this[_0x57f811(0x252)]=new Delegate(),this[_0x57f811(0x26d)]=new Delegate(),this[_0x57f811(0x28a)]=new Delegate(),this['_onKeyDownDelegate']=new Delegate(),this[_0x57f811(0x269)]=new Delegate(),this[_0x57f811(0x289)]=new Delegate(),this['_onPointerLockChangeDelegate']=new Delegate(),this[_0x57f811(0x1fc)]=new Delegate(),this[_0x57f811(0x279)]=new Delegate(),this[_0x57f811(0x2a1)]=new webgpu.Vector2(),this[_0x57f811(0x207)]=new webgpu.Vector2(),this[_0x57f811(0x1f8)]=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this[_0x57f811(0x280)]=0xfa,this[_0x57f811(0x20a)]=null,this[_0x57f811(0x290)]=_0x5f26d8=>this[_0x57f811(0x234)](_0x5f26d8),this[_0x57f811(0x2a5)]=_0x310ab7=>this[_0x57f811(0x2a9)](_0x310ab7),this['onPointerLeave']=_0xb9f645=>this[_0x57f811(0x226)](_0xb9f645),this[_0x57f811(0x24c)]=_0x388b33=>this['onPointerUpEvent'](_0x388b33),this['onPointerDown']=_0x1d518d=>this[_0x57f811(0x292)](_0x1d518d),this[_0x57f811(0x263)]=_0x3dd06=>this[_0x57f811(0x27e)](_0x3dd06),this[_0x57f811(0x205)]=_0x59a687=>this['onWheelEvent'](_0x59a687),this[_0x57f811(0x1fb)]=_0x5e77d0=>this[_0x57f811(0x298)](_0x5e77d0),this[_0x57f811(0x20b)]=_0x5a46e0=>this[_0x57f811(0x268)](_0x5a46e0),this[_0x57f811(0x218)]=_0x98674a=>this['onContextMenuEvent'](_0x98674a),this[_0x57f811(0x251)]=_0x2a7ba0=>this[_0x57f811(0x21b)](_0x2a7ba0),this[_0x57f811(0x228)]=_0x696ddc=>this['onWindowBlurEvent'](_0x696ddc),this[_0x57f811(0x209)]=_0x5e93ba=>this[_0x57f811(0x21f)](_0x5e93ba),this[_0x57f811(0x2b5)]=_0x196f5b,this['raycaster']=new webgpu.Raycaster(),this[_0x57f811(0x2ac)]();}[_0x1f3e58(0x2ac)](){const _0x1168ad=_0x1f3e58;this[_0x1168ad(0x28f)]=new Orbital(this['_app']),this[_0x1168ad(0x257)][_0x1168ad(0x26f)](),this[_0x1168ad(0x257)]['enabled']=!![];}[_0x1f3e58(0x286)](){const _0x1843c4=_0x1f3e58,_0x100d90=this[_0x1843c4(0x210)][_0x1843c4(0x21e)];console['log'](_0x1843c4(0x21e),_0x100d90),_0x100d90&&(_0x100d90['addEventListener']('pointerenter',this[_0x1843c4(0x2a5)]),_0x100d90[_0x1843c4(0x2b1)]('pointerleave',this[_0x1843c4(0x23f)]),_0x100d90['addEventListener'](_0x1843c4(0x2b6),this[_0x1843c4(0x263)]),_0x100d90['addEventListener'](_0x1843c4(0x25d),this[_0x1843c4(0x205)]),_0x100d90[_0x1843c4(0x2b1)](_0x1843c4(0x258),this[_0x1843c4(0x218)]),_0x100d90[_0x1843c4(0x2b1)](_0x1843c4(0x273),this[_0x1843c4(0x209)]),this[_0x1843c4(0x25c)]()),document[_0x1843c4(0x2b1)](_0x1843c4(0x227),this[_0x1843c4(0x251)]),document[_0x1843c4(0x2b1)]('keydown',this['onKeyDown']),document[_0x1843c4(0x2b1)](_0x1843c4(0x262),this['onKeyUp']),window[_0x1843c4(0x2b1)]('blur',this[_0x1843c4(0x228)]),this[_0x1843c4(0x28f)]&&(this['_pawn'][_0x1843c4(0x20c)](),this[_0x1843c4(0x28f)][_0x1843c4(0x26f)]());}['updateCamera'](){const _0x4c2834=_0x1f3e58;var _0x56b1c1,_0xf711e4;const _0x34b08f=this[_0x4c2834(0x257)][_0x4c2834(0x260)];(_0x56b1c1=this['_pawn'])===null||_0x56b1c1===void 0?void 0:_0x56b1c1['unpossess'](),(_0xf711e4=this[_0x4c2834(0x28f)])===null||_0xf711e4===void 0?void 0:_0xf711e4[_0x4c2834(0x270)](),this[_0x4c2834(0x28f)]=new Orbital(this[_0x4c2834(0x2b5)]),this[_0x4c2834(0x257)]['possess'](),this[_0x4c2834(0x257)][_0x4c2834(0x260)]=_0x34b08f;}async[_0x1f3e58(0x276)](_0x48e16c,_0x46a13b){const _0x1628c3=_0x1f3e58;!_0x48e16c[_0x1628c3(0x29d)]&&this['_app'][_0x1628c3(0x29d)][_0x1628c3(0x203)](_0x48e16c);this[_0x1628c3(0x271)]&&(this[_0x1628c3(0x271)][_0x1628c3(0x24b)](),this['_switchPawnTween']=null);const _0xf9eda9=this[_0x1628c3(0x28f)];if(_0xf9eda9===_0x48e16c)return;if(!_0x46a13b||_0x46a13b<=0x0){_0xf9eda9&&(_0xf9eda9['unpossess'](),_0xf9eda9[_0x1628c3(0x260)]=![]);this['_pawn']=_0x48e16c,this['_pawn'][_0x1628c3(0x260)]=!![],this[_0x1628c3(0x28f)][_0x1628c3(0x26f)]();return;}const _0x27d7d1=this[_0x1628c3(0x254)][_0x1628c3(0x2b9)]['clone'](),_0xe9f988=this[_0x1628c3(0x254)]['quaternion']['clone']();_0xf9eda9&&(_0xf9eda9[_0x1628c3(0x20c)](),_0xf9eda9[_0x1628c3(0x260)]=![]);const {position:_0xf734cd,quaternion:_0x399091}=_0x48e16c['getTargetCameraState']();return this[_0x1628c3(0x28f)]=_0x48e16c,this[_0x1628c3(0x28f)][_0x1628c3(0x260)]=![],new Promise(_0x1b9b7f=>{const _0x2e2511=_0x1628c3,_0x53f49c={'alpha':0x0};this['_switchPawnTween']=gsap.gsap['to'](_0x53f49c,{'alpha':0x1,'duration':_0x46a13b,'ease':_0x2e2511(0x261),'onUpdate':()=>{const _0x333249=_0x2e2511,_0x4de9ce=_0x53f49c[_0x333249(0x277)];this['camera']['position'][_0x333249(0x2ad)](_0x27d7d1,_0xf734cd,_0x4de9ce),this[_0x333249(0x254)][_0x333249(0x241)]['slerpQuaternions'](_0xe9f988,_0x399091,_0x4de9ce);},'onComplete':()=>{const _0x1796bb=_0x2e2511;this[_0x1796bb(0x271)]=null,this[_0x1796bb(0x28f)]===_0x48e16c&&(this[_0x1796bb(0x28f)]['possess'](),this[_0x1796bb(0x28f)][_0x1796bb(0x260)]=!![]),_0x1b9b7f();}});});}[_0x1f3e58(0x282)](_0x4a1f94){const _0x529a2a=_0x1f3e58;!this[_0x529a2a(0x257)][_0x529a2a(0x29d)]&&this[_0x529a2a(0x257)]['tick'](_0x4a1f94);}['destroy'](){const _0x534b47=_0x1f3e58;this['clearClickTimer'](),this['clearHovering']();const _0x228cb3=this[_0x534b47(0x210)][_0x534b47(0x21e)];_0x228cb3&&(_0x228cb3['removeEventListener'](_0x534b47(0x233),this[_0x534b47(0x2a5)]),_0x228cb3[_0x534b47(0x29c)]('pointerleave',this['onPointerLeave']),_0x228cb3[_0x534b47(0x29c)](_0x534b47(0x2b6),this['onPointerCancel']),_0x228cb3[_0x534b47(0x29c)](_0x534b47(0x25d),this['onWheel']),_0x228cb3['removeEventListener'](_0x534b47(0x258),this[_0x534b47(0x218)]),_0x228cb3['removeEventListener'](_0x534b47(0x273),this['onClick']),this[_0x534b47(0x238)]()),document[_0x534b47(0x29c)](_0x534b47(0x227),this['onPointerLockChange']),document[_0x534b47(0x29c)](_0x534b47(0x22c),this[_0x534b47(0x1fb)]),document[_0x534b47(0x29c)](_0x534b47(0x262),this[_0x534b47(0x20b)]),window[_0x534b47(0x29c)](_0x534b47(0x297),this['onWindowBlur']),this[_0x534b47(0x257)][_0x534b47(0x20c)](),this[_0x534b47(0x257)][_0x534b47(0x270)](),this[_0x534b47(0x28f)]=null;}['onPointerMoveEvent'](_0x86f1cb){const _0x502acb=_0x1f3e58;var _0x3782ec,_0x4024c3;this[_0x502acb(0x252)][_0x502acb(0x253)](_0x86f1cb);const _0x3b542b=this[_0x502acb(0x210)][_0x502acb(0x21e)];if(!_0x3b542b)throw Error('canvas\x20is\x20null');const _0x4780f7=_0x3b542b[_0x502acb(0x246)]();this[_0x502acb(0x2a1)]['set']((_0x86f1cb['clientX']-_0x4780f7['left'])/_0x3b542b[_0x502acb(0x29f)]*0x2-0x1,0x1-(_0x86f1cb['clientY']-_0x4780f7[_0x502acb(0x296)])/_0x3b542b[_0x502acb(0x27b)]*0x2);if(this['_pointButtonIsDown']['size']>0x0)return;const _0x3c7fef=this[_0x502acb(0x2b8)](),_0x25b28f=(_0x3782ec=_0x3c7fef===null||_0x3c7fef===void 0?void 0:_0x3c7fef['component'])!==null&&_0x3782ec!==void 0?_0x3782ec:null,_0x37c814=(_0x4024c3=_0x25b28f===null||_0x25b28f===void 0?void 0:_0x25b28f[_0x502acb(0x21c)])!==null&&_0x4024c3!==void 0?_0x4024c3:null;_0x25b28f!==this[_0x502acb(0x272)]&&(this[_0x502acb(0x272)]&&this[_0x502acb(0x278)](this[_0x502acb(0x272)]),_0x25b28f&&_0x3c7fef&&this[_0x502acb(0x243)](_0x25b28f,_0x3c7fef[_0x502acb(0x2a3)])),_0x37c814!==this[_0x502acb(0x202)]&&(this[_0x502acb(0x202)]&&this['hoveringComponent']&&this[_0x502acb(0x23a)](this[_0x502acb(0x202)],this['hoveringComponent']),_0x37c814&&_0x25b28f&&_0x3c7fef&&this[_0x502acb(0x2b3)](_0x37c814,_0x25b28f,_0x3c7fef[_0x502acb(0x2a3)])),this[_0x502acb(0x272)]=_0x25b28f,this['hoveringActor']=_0x37c814;}[_0x1f3e58(0x2b0)](){const _0x19a23e=_0x1f3e58;this[_0x19a23e(0x272)]&&this['fireComponentHoverEnd'](this[_0x19a23e(0x272)]),this[_0x19a23e(0x202)]&&this['hoveringComponent']&&this[_0x19a23e(0x23a)](this[_0x19a23e(0x202)],this[_0x19a23e(0x272)]),this[_0x19a23e(0x272)]=null,this[_0x19a23e(0x202)]=null;}[_0x1f3e58(0x23e)](_0x268714){const _0x3934a3=_0x1f3e58;this['_onPointerUpDelegate'][_0x3934a3(0x253)](_0x268714),this[_0x3934a3(0x2a4)]['delete'](_0x268714[_0x3934a3(0x201)]);if(_0x268714[_0x3934a3(0x201)]!==0x0)return;const _0x484685=this['_tempVec2'][_0x3934a3(0x27c)](this[_0x3934a3(0x207)],this[_0x3934a3(0x2a1)])['length']();if(_0x484685>0.005){this['clearClickTimer']();return;}this['prepareClickModifiers']={'ctrlKey':_0x268714[_0x3934a3(0x237)],'shiftKey':_0x268714[_0x3934a3(0x213)],'altKey':_0x268714[_0x3934a3(0x288)]},!this[_0x3934a3(0x20a)]?this[_0x3934a3(0x1f9)]():this[_0x3934a3(0x28d)]();}['handleFirstClick'](){const _0x133fab=_0x1f3e58,_0x5a6e30=this[_0x133fab(0x2b8)](),_0x4aae50=_0x5a6e30===null||_0x5a6e30===void 0?void 0:_0x5a6e30[_0x133fab(0x2ae)];_0x4aae50 instanceof SceneComponent&&_0x5a6e30?(this['prepareClickComponent']=_0x4aae50,this['prepareClickHit']=_0x5a6e30[_0x133fab(0x2a3)],this['leftClickTimer']=window['setTimeout'](()=>{const _0x2f617b=_0x133fab;this[_0x2f617b(0x20a)]=null,this[_0x2f617b(0x223)]&&this[_0x2f617b(0x255)]&&(this[_0x2f617b(0x295)](this[_0x2f617b(0x223)],this[_0x2f617b(0x255)],![]),this[_0x2f617b(0x223)]=null,this[_0x2f617b(0x255)]=null);},this[_0x133fab(0x280)])):this[_0x133fab(0x294)][_0x133fab(0x253)]();}[_0x1f3e58(0x28d)](){const _0x51bcb3=_0x1f3e58;this['clearClickTimer'](),this['prepareClickComponent']&&this[_0x51bcb3(0x255)]?this[_0x51bcb3(0x295)](this[_0x51bcb3(0x223)],this[_0x51bcb3(0x255)],!![]):this[_0x51bcb3(0x294)][_0x51bcb3(0x253)](),this[_0x51bcb3(0x223)]=null,this[_0x51bcb3(0x255)]=null;}[_0x1f3e58(0x292)](_0x2510bd){const _0x895e0c=_0x1f3e58;this[_0x895e0c(0x2b4)][_0x895e0c(0x253)](_0x2510bd),this['_pointButtonIsDown'][_0x895e0c(0x21a)](_0x2510bd[_0x895e0c(0x201)]);_0x2510bd[_0x895e0c(0x201)]===0x0&&this[_0x895e0c(0x207)]['copy'](this['pointerPosition']);const _0x355d0a=this['getHitResultUnderCursor'](),_0x35ba1e=_0x355d0a===null||_0x355d0a===void 0?void 0:_0x355d0a[_0x895e0c(0x2ae)];_0x35ba1e instanceof SceneComponent&&_0x355d0a&&this[_0x895e0c(0x204)](_0x35ba1e,_0x355d0a[_0x895e0c(0x2a3)],_0x2510bd[_0x895e0c(0x201)]);}[_0x1f3e58(0x2a9)](_0x5d3184){this['addCorePointerListeners']();}['onPointerLeaveEvent'](_0x4ed693){const _0xe190d3=_0x1f3e58;this[_0xe190d3(0x238)]();}[_0x1f3e58(0x27e)](_0x383990){const _0x5ef25f=_0x1f3e58;this[_0x5ef25f(0x26d)][_0x5ef25f(0x253)](_0x383990);}[_0x1f3e58(0x225)](_0x31e0b8){const _0x2f515b=_0x1f3e58;this[_0x2f515b(0x28a)][_0x2f515b(0x253)](_0x31e0b8);}[_0x1f3e58(0x298)](_0x1e7149){const _0x476a4c=_0x1f3e58;this[_0x476a4c(0x217)][_0x476a4c(0x253)](_0x1e7149);}['onKeyUpEvent'](_0x2379c7){const _0x59725b=_0x1f3e58;this[_0x59725b(0x269)]['broadcast'](_0x2379c7);}[_0x1f3e58(0x247)](_0x16c875){const _0xc17968=_0x1f3e58;this['_onContextMenuDelegate'][_0xc17968(0x253)](_0x16c875);}[_0x1f3e58(0x21b)](_0xb58559){const _0x2ef7b4=_0x1f3e58;this['_onPointerLockChangeDelegate'][_0x2ef7b4(0x253)](_0xb58559);}[_0x1f3e58(0x20e)](_0x3db85d){const _0x107c03=_0x1f3e58;this[_0x107c03(0x1fc)][_0x107c03(0x253)](_0x3db85d);}[_0x1f3e58(0x21f)](_0x595986){const _0x5437a1=_0x1f3e58;this['_onRawClickDelegate'][_0x5437a1(0x253)](_0x595986);}[_0x1f3e58(0x243)](_0xbc5ea4,_0x44f6bb){const _0x2521c5=_0x1f3e58,_0x44d95a={'component':_0xbc5ea4,'hit':_0x44f6bb,'handled':![]};this['_onComponentHoverBeginDelegate'][_0x2521c5(0x253)](_0x44d95a),!_0x44d95a[_0x2521c5(0x287)]&&_0xbc5ea4[_0x2521c5(0x216)]();}[_0x1f3e58(0x278)](_0x219712){const _0x398c37=_0x1f3e58,_0x315ef3={'component':_0x219712,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x398c37(0x253)](_0x315ef3),!_0x315ef3['handled']&&_0x219712[_0x398c37(0x20d)]();}['fireComponentClick'](_0x49a74a,_0x48e868,_0x352b21){const _0x20ffe1=_0x1f3e58,_0x386f22=Object['assign']({'component':_0x49a74a,'hit':_0x48e868,'handled':![]},this[_0x20ffe1(0x22f)]);_0x352b21?(this[_0x20ffe1(0x20f)][_0x20ffe1(0x253)](_0x386f22),!_0x386f22[_0x20ffe1(0x287)]&&_0x49a74a[_0x20ffe1(0x25b)]()):(this[_0x20ffe1(0x2af)][_0x20ffe1(0x253)](_0x386f22),!_0x386f22[_0x20ffe1(0x287)]&&_0x49a74a[_0x20ffe1(0x2aa)]());}[_0x1f3e58(0x204)](_0x42e78e,_0x4f295c,_0x5f03a1){const _0xfa1788=_0x1f3e58,_0xfbb68c={'component':_0x42e78e,'hit':_0x4f295c,'button':_0x5f03a1,'handled':![]};this[_0xfa1788(0x232)][_0xfa1788(0x253)](_0xfbb68c);}['fireActorHoverBegin'](_0x470a73,_0x2688db,_0x49faa0){const _0x109d31=_0x1f3e58,_0x5d119a={'actor':_0x470a73,'component':_0x2688db,'hit':_0x49faa0,'handled':![]};this[_0x109d31(0x2a8)][_0x109d31(0x253)](_0x5d119a),!_0x5d119a[_0x109d31(0x287)]&&_0x470a73[_0x109d31(0x24d)](_0x2688db);}['fireActorHoverEnd'](_0x343bf6,_0x630ace){const _0x3c31a6=_0x1f3e58,_0x424a38={'actor':_0x343bf6,'component':_0x630ace,'hit':null,'handled':![]};this[_0x3c31a6(0x221)][_0x3c31a6(0x253)](_0x424a38),!_0x424a38['handled']&&_0x343bf6[_0x3c31a6(0x283)](_0x630ace);}[_0x1f3e58(0x264)](_0x205373,_0x17e529,_0xc97792,_0x533d96){const _0x664189=_0x1f3e58,_0x33dae1=Object[_0x664189(0x1fe)]({'actor':_0x205373,'component':_0x17e529,'hit':_0xc97792,'handled':![]},this[_0x664189(0x22f)]);_0x533d96?(this[_0x664189(0x259)][_0x664189(0x253)](_0x33dae1),!_0x33dae1[_0x664189(0x287)]&&_0x205373[_0x664189(0x28b)](_0x17e529)):(this[_0x664189(0x27a)][_0x664189(0x253)](_0x33dae1),!_0x33dae1[_0x664189(0x287)]&&_0x205373[_0x664189(0x2b7)](_0x17e529));}[_0x1f3e58(0x295)](_0x14b0e0,_0x14e0a1,_0x25752a){const _0x57adf0=_0x1f3e58;this[_0x57adf0(0x211)](_0x14b0e0,_0x14e0a1,_0x25752a);const _0x2bc027=_0x14b0e0[_0x57adf0(0x21c)];if(_0x2bc027){if(_0x2bc027['isClickEnabled'])this['fireActorClick'](_0x2bc027,_0x14b0e0,_0x14e0a1,_0x25752a);}}['clearClickTimer'](){const _0x540cb8=_0x1f3e58;this[_0x540cb8(0x20a)]&&(window[_0x540cb8(0x2ba)](this[_0x540cb8(0x20a)]),this['leftClickTimer']=null);}[_0x1f3e58(0x25c)](){const _0x5eea13=_0x1f3e58,_0x1c18e5=this[_0x5eea13(0x210)][_0x5eea13(0x21e)];if(!_0x1c18e5)return;_0x1c18e5[_0x5eea13(0x2b1)](_0x5eea13(0x24f),this[_0x5eea13(0x290)]),_0x1c18e5[_0x5eea13(0x2b1)](_0x5eea13(0x240),this[_0x5eea13(0x24c)]),_0x1c18e5[_0x5eea13(0x2b1)](_0x5eea13(0x2a7),this[_0x5eea13(0x25a)]);}[_0x1f3e58(0x238)](){const _0x523dfd=_0x1f3e58,_0x1f6b6b=this[_0x523dfd(0x210)][_0x523dfd(0x21e)];if(!_0x1f6b6b)return;_0x1f6b6b[_0x523dfd(0x29c)](_0x523dfd(0x24f),this[_0x523dfd(0x290)]),_0x1f6b6b[_0x523dfd(0x29c)](_0x523dfd(0x240),this[_0x523dfd(0x24c)]),_0x1f6b6b[_0x523dfd(0x29c)]('pointerdown',this[_0x523dfd(0x25a)]);}[_0x1f3e58(0x2b8)](_0x296885=!![]){const _0xf924b3=_0x1f3e58;return this[_0xf924b3(0x214)](this[_0xf924b3(0x2a1)]['x'],this[_0xf924b3(0x2a1)]['y'],_0x296885);}[_0x1f3e58(0x214)](_0x918af6,_0x3709c6,_0x8e99eb=!![]){const _0x1e3e72=_0x1f3e58;this[_0x1e3e72(0x28c)]['set'](_0x918af6,_0x3709c6),this[_0x1e3e72(0x249)]['setFromCamera'](this[_0x1e3e72(0x28c)],this['camera']);const _0x1a365d=this['getAllHitResultFromScreenPoint'](_0x918af6,_0x3709c6);if(!_0x8e99eb)return _0x1a365d[0x0]||null;for(const _0x2645e0 of _0x1a365d){const _0x406f99=_0x2645e0[_0x1e3e72(0x2ae)]['isHoverEnabled']||_0x2645e0['component']['isClickEnabled'],_0x2653f5=_0x2645e0[_0x1e3e72(0x2ae)][_0x1e3e72(0x21c)],_0x3c8640=_0x2653f5&&(_0x2653f5[_0x1e3e72(0x21d)]||_0x2653f5[_0x1e3e72(0x256)]);if(_0x406f99||_0x3c8640)return _0x2645e0;}return null;}[_0x1f3e58(0x2ab)](_0x3a1340=!![]){const _0x373dbd=_0x1f3e58;return this[_0x373dbd(0x1ff)](this['pointerPosition']['x'],this[_0x373dbd(0x2a1)]['y']);}['getAllHitResultFromScreenPoint'](_0x20f9d5,_0x35e6e6){const _0x1b745e=_0x1f3e58;this[_0x1b745e(0x28c)][_0x1b745e(0x206)](_0x20f9d5,_0x35e6e6),this[_0x1b745e(0x249)][_0x1b745e(0x267)](this[_0x1b745e(0x28c)],this[_0x1b745e(0x254)]);const _0x50940a=this[_0x1b745e(0x249)][_0x1b745e(0x248)][_0x1b745e(0x291)],_0x54d442=this[_0x1b745e(0x249)][_0x1b745e(0x248)]['at'](0x2710,new webgpu.Vector3()),_0x30bdb0=this[_0x1b745e(0x29d)][_0x1b745e(0x26b)][_0x1b745e(0x22d)](_0x50940a,_0x54d442,exports.CollisionChannel[_0x1b745e(0x22a)]),_0xc9dfb2=[];for(const _0x47053d of _0x30bdb0){if(!_0x47053d[_0x1b745e(0x22b)]||!_0x47053d[_0x1b745e(0x22b)][_0x1b745e(0x23d)])continue;if(this['camera']instanceof webgpu.PerspectiveCamera&&_0x47053d[_0x1b745e(0x2a2)]<this[_0x1b745e(0x254)][_0x1b745e(0x27f)])continue;const _0x3d034b={'distance':_0x47053d['distance'],'point':_0x47053d['point'],'object':_0x47053d[_0x1b745e(0x22b)][_0x1b745e(0x23d)],'uv':new webgpu.Vector2(0x0,0x0)};_0xc9dfb2[_0x1b745e(0x274)]({'component':_0x47053d[_0x1b745e(0x22b)],'hit':_0x3d034b});if(_0x47053d['blocking'])break;}return _0xc9dfb2;}['focusTo'](_0x3d4a8b,_0x3a9e43,_0x4e4bed,_0x4736fa,_0x186bc3=null,_0xbbe15c=null){const _0x446135=_0x1f3e58;this[_0x446135(0x257)][_0x446135(0x220)](_0x3d4a8b,_0x3a9e43,_0x4e4bed,_0x4736fa,_0x186bc3,_0xbbe15c);}[_0x1f3e58(0x1f4)](_0x3f4247,_0x50978e,_0x20a6cb=![],_0x26d2ce=null,_0x54eb4f=null){const _0x52cc80=_0x1f3e58,_0x47c353=new webgpu.Vector3(),_0x592ce2=new webgpu.Vector3();_0x3f4247['getCenter'](_0x47c353),_0x3f4247[_0x52cc80(0x235)](_0x592ce2);const _0x12439f=this[_0x52cc80(0x23b)]['camera'];if(_0x12439f&&_0x12439f['isPerspectiveCamera']){const _0x2d97f9=_0x12439f[_0x52cc80(0x219)]*(Math['PI']/0xb4),_0x52a3da=Math[_0x52cc80(0x236)](0.5),_0x580fda=_0x592ce2[_0x52cc80(0x27d)]()*0.5,_0x513521=Math['max'](_0x580fda/_0x52a3da/Math[_0x52cc80(0x29b)](_0x2d97f9/0x2),_0x12439f[_0x52cc80(0x27f)]*0x2);let _0x1b295b=_0x12439f['quaternion'][_0x52cc80(0x222)]();if(_0x20a6cb){const _0x27b54a=[new webgpu.Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,_0x52cc80(0x212)),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,'YXZ'),new webgpu.Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x4,0x0,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x2,0x0,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x3,0x0,0x0,_0x52cc80(0x212)),new webgpu.Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,Math['PI'],0x0,'YXZ'),new webgpu.Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,'YXZ')];let _0x461f5b=-1;for(const _0x5ae339 of _0x27b54a){const _0x11d71f=new webgpu.Quaternion()[_0x52cc80(0x242)](_0x5ae339),_0x5721c6=new webgpu.Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x11d71f),_0x4773e2=_0x47c353[_0x52cc80(0x222)]()['add'](_0x5721c6['multiplyScalar'](_0x513521)),_0x5180bc=this[_0x52cc80(0x29d)]['physics'][_0x52cc80(0x1f6)](_0x4773e2,_0x47c353,exports.CollisionChannel['Visibility']);let _0x2fcef5=![],_0x537b51=_0x513521;_0x5180bc&&_0x5180bc[_0x52cc80(0x23c)]&&(_0x5180bc[_0x52cc80(0x2a2)]<_0x513521-_0x580fda*1.2&&(_0x2fcef5=!![],_0x537b51=_0x5180bc[_0x52cc80(0x2a2)]));if(!_0x2fcef5){_0x1b295b=_0x11d71f;break;}else _0x537b51>_0x461f5b&&(_0x461f5b=_0x537b51,_0x1b295b=_0x11d71f);}}const _0x2c4d96=_0x1b295b;this[_0x52cc80(0x220)](_0x47c353,_0x2c4d96,_0x513521,_0x50978e,_0x26d2ce,_0x54eb4f);}else {const _0x94b806=_0x592ce2[_0x52cc80(0x27d)]()*1.5,_0x34c534=new webgpu.Quaternion()[_0x52cc80(0x2b2)](new webgpu.Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x52cc80(0x220)](_0x47c353,_0x34c534,_0x94b806,_0x50978e,_0x26d2ce,_0x54eb4f);}}[_0x1f3e58(0x22e)](_0x33f630,_0x39d52a,_0x3acc94=![],_0x536f58=null,_0x43ba20=null){const _0x4a573e=_0x1f3e58,_0x51cd5a=new webgpu.Box3()[_0x4a573e(0x1f7)](_0x33f630);this['focusToBounds'](_0x51cd5a,_0x39d52a,_0x3acc94,_0x536f58,_0x43ba20);}}
|
|
84
93
|
|
|
85
|
-
(function(
|
|
94
|
+
const _0x5b2de1=_0x1aec;function _0x1aec(_0x3f91ca,_0x13f1cf){_0x3f91ca=_0x3f91ca-0x66;const _0x4a12a0=_0x4a12();let _0x1aeccf=_0x4a12a0[_0x3f91ca];return _0x1aeccf;}(function(_0xfff761,_0x50884f){const _0x25d5b3=_0x1aec,_0x11a48c=_0xfff761();while(!![]){try{const _0x3469e1=parseInt(_0x25d5b3(0x66))/0x1*(parseInt(_0x25d5b3(0x67))/0x2)+parseInt(_0x25d5b3(0x71))/0x3*(parseInt(_0x25d5b3(0x76))/0x4)+parseInt(_0x25d5b3(0x6d))/0x5+parseInt(_0x25d5b3(0x7d))/0x6*(parseInt(_0x25d5b3(0x7a))/0x7)+parseInt(_0x25d5b3(0x75))/0x8*(-parseInt(_0x25d5b3(0x68))/0x9)+parseInt(_0x25d5b3(0x78))/0xa+-parseInt(_0x25d5b3(0x6f))/0xb*(parseInt(_0x25d5b3(0x72))/0xc);if(_0x3469e1===_0x50884f)break;else _0x11a48c['push'](_0x11a48c['shift']());}catch(_0x2775af){_0x11a48c['push'](_0x11a48c['shift']());}}}(_0x4a12,0x7a858));class CameraFactory{static[_0x5b2de1(0x6e)](_0x18bf86){const _0x454efe=_0x5b2de1;try{switch(_0x18bf86['type']){case _0x454efe(0x70):{let _0x1f4b0f=_0x18bf86;return new webgpu.PerspectiveCamera(_0x1f4b0f['fov'],_0x1f4b0f[_0x454efe(0x73)],_0x1f4b0f[_0x454efe(0x81)],_0x1f4b0f[_0x454efe(0x6c)]);}case _0x454efe(0x77):{let _0x1c0e7d=_0x18bf86;return new webgpu.OrthographicCamera(_0x1c0e7d[_0x454efe(0x74)],_0x1c0e7d['right'],_0x1c0e7d['top'],_0x1c0e7d[_0x454efe(0x69)],_0x1c0e7d[_0x454efe(0x81)],_0x1c0e7d['far']);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x425689){return console[_0x454efe(0x7c)](_0x454efe(0x6b),_0x425689),console[_0x454efe(0x7c)](_0x454efe(0x79)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static['updataCamera'](_0x5b49b4,_0x5bfecc){const _0x4011e2=_0x5b2de1;try{switch(_0x5b49b4['type']){case _0x4011e2(0x70):{let _0x3da3a9=_0x5b49b4;if(_0x5bfecc instanceof webgpu.PerspectiveCamera)return _0x5bfecc[_0x4011e2(0x81)]=_0x3da3a9[_0x4011e2(0x81)],_0x5bfecc[_0x4011e2(0x6c)]=_0x3da3a9[_0x4011e2(0x6c)],_0x5bfecc[_0x4011e2(0x82)]=_0x3da3a9[_0x4011e2(0x82)],_0x5bfecc[_0x4011e2(0x73)]=_0x3da3a9['aspect'],_0x5bfecc;return new webgpu.PerspectiveCamera(_0x3da3a9['fov'],_0x3da3a9[_0x4011e2(0x73)],_0x3da3a9[_0x4011e2(0x81)],_0x3da3a9[_0x4011e2(0x6c)]);}case _0x4011e2(0x77):{let _0x38d995=_0x5b49b4;if(_0x5bfecc instanceof webgpu.OrthographicCamera)return _0x5bfecc['near']=_0x38d995['near'],_0x5bfecc[_0x4011e2(0x6c)]=_0x38d995[_0x4011e2(0x6c)],_0x5bfecc['left']=_0x38d995['left'],_0x5bfecc[_0x4011e2(0x7b)]=_0x38d995['right'],_0x5bfecc['top']=_0x38d995['top'],_0x5bfecc[_0x4011e2(0x69)]=_0x38d995[_0x4011e2(0x69)],_0x5bfecc;return new webgpu.OrthographicCamera(_0x38d995[_0x4011e2(0x74)],_0x38d995[_0x4011e2(0x7b)],_0x38d995[_0x4011e2(0x6a)],_0x38d995['bottom'],_0x38d995['near'],_0x38d995['far']);}default:{throw new Error(_0x4011e2(0x80));}}}catch(_0x37a2f5){return console[_0x4011e2(0x7c)](_0x4011e2(0x7e),_0x37a2f5),console[_0x4011e2(0x7c)](_0x4011e2(0x7f)),_0x5bfecc;}}}function _0x4a12(){const _0x4562ba=['warn','77946PnLpaV','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','Invalid\x20camera\x20type','near','fov','9OxyxkD','151812LwkzKw','1925298ySwswP','bottom','top','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','far','3513075ntuSvz','createCamera','341EZMvqn','Perspective','12kEAKnr','691644sMkyBc','aspect','left','16oWYBOk','485476EnRRZI','Orthographic','8192120XsEvgD','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','14PBmgWb','right'];_0x4a12=function(){return _0x4562ba;};return _0x4a12();}
|
|
86
95
|
|
|
87
|
-
function _0x58d0(_0x3d1fdd,_0x46e60b){_0x3d1fdd=_0x3d1fdd-0x175;const _0x525b6c=_0x525b();let _0x58d0ab=_0x525b6c[_0x3d1fdd];return _0x58d0ab;}const _0xc0f952=_0x58d0;(function(_0x7d2a72,_0x156adc){const _0x30f622=_0x58d0,_0x3e9c9f=_0x7d2a72();while(!![]){try{const _0x3890ca=-parseInt(_0x30f622(0x1c4))/0x1*(-parseInt(_0x30f622(0x1c7))/0x2)+parseInt(_0x30f622(0x17d))/0x3*(parseInt(_0x30f622(0x195))/0x4)+parseInt(_0x30f622(0x1c5))/0x5*(parseInt(_0x30f622(0x1bc))/0x6)+-parseInt(_0x30f622(0x1d0))/0x7+-parseInt(_0x30f622(0x1d8))/0x8+parseInt(_0x30f622(0x19b))/0x9*(parseInt(_0x30f622(0x1a7))/0xa)+-parseInt(_0x30f622(0x17e))/0xb;if(_0x3890ca===_0x156adc)break;else _0x3e9c9f['push'](_0x3e9c9f['shift']());}catch(_0x349276){_0x3e9c9f['push'](_0x3e9c9f['shift']());}}}(_0x525b,0x7d155));function _0x525b(){const _0x5a5155=['LYObject','attachComponent','getScale','removeTickableActor','detachComponent','destroy','onDoubleClickDelegate','has','length','_onHoverEndDelegate','6556dcirWs','app','_onHoverBeginDelegate','constructRootComponent','min','Actor','101178VXJZmx','onAddedToWorld','onActorClick','getBoundsBottomCenterPosition','getWorldRightDirection','setWorldMatrix','push','removeChildActor','rootComponent','name','tick','setRotation','430VZyYRf','threeObject','childActors','isVisible','setVisible','onClickDelegate','getChildActorById','getWorldQuaternion','KeepRelative','onActorDoubleClick','_onClickDelegate','_world','clearComponent','error','isClickEnabled','_rootComponent','getRotation','removeComponent','setScale','childrenComponents','getBounds','4782OdXKCf','forEach','worldToLocal','getComponentById','getWorldForwardDirection','localToWorld','broadcast','getWorldPosition','38McgAyh','2935hDBznt','getQuaternion','26678EPCjzl','onActorHoverEnd','sub','getBoundsCenterPosition','getWorldUpDirection','addTickableActor','markRenderStateDirty','isTickEnabled','size','650916pNXOOk','onActorHoverBegin','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','world','isHoverEnabled','getCenter','getPosition','getWorldMatrix','3437976bwQSTe','onHoverEndDelegate','parent','rootComponent\x20is\x20invalid','delete','_name','userData','setQuaternion','KeepWorld','getWorldScale','onHoverBeginDelegate','39kkzhkO','4887938EmmjZy','destroyChildren','addLocalOffset','addChildComponent','viewport','children','getWorldRotation','setLayers','uuid','setPosition','parentActor','removeFromParent','_onDoubleClickDelegate'];_0x525b=function(){return _0x5a5155;};return _0x525b();}class Actor extends BaseObject{get[_0xc0f952(0x1d3)](){const _0x5b6147=_0xc0f952;return this[_0x5b6147(0x1b2)];}get[_0xc0f952(0x1a4)](){return this['_name'];}set[_0xc0f952(0x1a4)](_0xf757fe){const _0xe837bb=_0xc0f952;this[_0xe837bb(0x177)]=_0xf757fe;}get[_0xc0f952(0x1a3)](){const _0xd5b1ff=_0xc0f952;if(!this[_0xd5b1ff(0x1b6)])throw Error(_0xd5b1ff(0x175));return this[_0xd5b1ff(0x1b6)];}set[_0xc0f952(0x1a3)](_0x566042){const _0x53ec22=_0xc0f952;_0x566042['detachFromParentComponent'](),_0x566042[_0x53ec22(0x188)]=this;if(this[_0x53ec22(0x1b6)]){let _0x9a623c=this[_0x53ec22(0x1a3)][_0x53ec22(0x1ba)];for(let _0x181fda=0x0;_0x181fda<_0x9a623c[_0x53ec22(0x193)];++_0x181fda){_0x566042['addChildComponent'](_0x9a623c[_0x181fda]);}this[_0x53ec22(0x1a3)][_0x53ec22(0x190)]();}this[_0x53ec22(0x1b6)]=_0x566042;}get[_0xc0f952(0x1ba)](){const _0x4e0ea9=_0xc0f952;return this[_0x4e0ea9(0x1a3)][_0x4e0ea9(0x1ba)];}get[_0xc0f952(0x1a9)](){const _0x4e31fc=_0xc0f952;var _0x5cd9f9;let _0x25c619=[];return (_0x5cd9f9=this[_0x4e31fc(0x1a3)][_0x4e31fc(0x1a8)])===null||_0x5cd9f9===void 0?void 0:_0x5cd9f9[_0x4e31fc(0x183)][_0x4e31fc(0x1bd)](_0x50c973=>{const _0x5c15f7=_0x4e31fc;var _0x4ca438;let _0x37650f=(_0x4ca438=_0x50c973[_0x5c15f7(0x178)]['LYObject'])===null||_0x4ca438===void 0?void 0:_0x4ca438[_0x5c15f7(0x188)];_0x37650f!==this&&_0x37650f instanceof Actor&&_0x25c619['push'](_0x37650f);}),_0x25c619;}get[_0xc0f952(0x188)](){const _0x28f3a4=_0xc0f952;var _0x5d0647,_0xe41a3e;let _0x4243b1=(_0xe41a3e=(_0x5d0647=this['rootComponent']['threeObject'])===null||_0x5d0647===void 0?void 0:_0x5d0647[_0x28f3a4(0x1da)])===null||_0xe41a3e===void 0?void 0:_0xe41a3e[_0x28f3a4(0x178)][_0x28f3a4(0x18b)]['parentActor'];return _0x4243b1===this?null:_0x4243b1;}get['isVisible'](){const _0x505784=_0xc0f952;return this[_0x505784(0x1a3)]?this['rootComponent'][_0x505784(0x1aa)]:![];}get[_0xc0f952(0x1ce)](){const _0x2fd462=_0xc0f952;return super[_0x2fd462(0x1ce)];}set['isTickEnabled'](_0x53ef6d){const _0x163eff=_0xc0f952;super[_0x163eff(0x1ce)]=_0x53ef6d,this[_0x163eff(0x1ce)]?this[_0x163eff(0x196)]['world'][_0x163eff(0x1cc)](this):this[_0x163eff(0x196)]['world'][_0x163eff(0x18e)](this);}get[_0xc0f952(0x17c)](){return this['_onHoverBeginDelegate'];}get[_0xc0f952(0x1d9)](){return this['_onHoverEndDelegate'];}get[_0xc0f952(0x1ac)](){const _0x2edb4e=_0xc0f952;return this[_0x2edb4e(0x1b1)];}get[_0xc0f952(0x191)](){const _0x10538f=_0xc0f952;return this[_0x10538f(0x18a)];}constructor(_0x3cfdc0,_0xb80192){const _0x22a7c9=_0xc0f952;super(_0xb80192),this[_0x22a7c9(0x177)]=_0x22a7c9(0x19a),this[_0x22a7c9(0x1b6)]=null,this[_0x22a7c9(0x1b2)]=null,this[_0x22a7c9(0x197)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x22a7c9(0x1b1)]=new Delegate(),this[_0x22a7c9(0x18a)]=new Delegate(),this[_0x22a7c9(0x196)]=_0x3cfdc0,this[_0x22a7c9(0x1a3)]=this['constructRootComponent'](),this[_0x22a7c9(0x1a3)]['parentActor']=this;}[_0xc0f952(0x198)](){const _0x5ad936=_0xc0f952;return new SceneComponent(this[_0x5ad936(0x196)]);}[_0xc0f952(0x1ca)](_0x1c2d10=!![]){const _0x3db5d4=_0xc0f952;let _0x55dbf7=new webgpu.Vector3();return this[_0x3db5d4(0x1bb)]()[_0x3db5d4(0x1d5)](_0x55dbf7),!_0x1c2d10?_0x55dbf7[_0x3db5d4(0x1c9)](this[_0x3db5d4(0x1d6)]()):_0x55dbf7;}['getChildActorById'](_0x4169d7,_0x21baad=!![]){const _0x16c99b=_0xc0f952,_0x181d7f=this[_0x16c99b(0x1a9)];for(const _0x3ffbd6 of _0x181d7f){if(_0x3ffbd6[_0x16c99b(0x186)]===_0x4169d7)return _0x3ffbd6;}if(_0x21baad)for(const _0x5e5f00 of _0x181d7f){const _0x2a28f1=_0x5e5f00[_0x16c99b(0x1ad)](_0x4169d7,!![]);if(_0x2a28f1)return _0x2a28f1;}return null;}['getChildActorsByIds'](_0x495f3d,_0x12eefe=!![]){const _0x1a33b8=_0xc0f952,_0x297074=[],_0x52139d=new Set(_0x495f3d),_0x5debb8=this[_0x1a33b8(0x1a9)];for(const _0x201675 of _0x5debb8){_0x52139d[_0x1a33b8(0x192)](_0x201675[_0x1a33b8(0x186)])&&(_0x297074[_0x1a33b8(0x1a1)](_0x201675),_0x52139d['delete'](_0x201675['uuid']));}if(_0x12eefe&&_0x52139d['size']>0x0)for(const _0x34c23b of _0x5debb8){const _0x997e4f=_0x34c23b['getChildActorsByIds']([..._0x52139d],!![]);for(const _0x159ba7 of _0x997e4f){_0x297074[_0x1a33b8(0x1a1)](_0x159ba7),_0x52139d[_0x1a33b8(0x176)](_0x159ba7[_0x1a33b8(0x186)]);}if(_0x52139d[_0x1a33b8(0x1cf)]===0x0)break;}return _0x297074;}['getComponentById'](_0x2ed987){const _0x3fbabd=_0xc0f952;return this[_0x3fbabd(0x1a3)][_0x3fbabd(0x1bf)](_0x2ed987);}['getBoundsTopCenterPosition'](_0x366556=!![]){const _0x47a52f=_0xc0f952;let _0x133201=new webgpu.Vector3(),_0x2e8fa8=this['rootComponent'][_0x47a52f(0x1bb)]();return _0x2e8fa8[_0x47a52f(0x1d5)](_0x133201),_0x133201['y']=_0x2e8fa8['max']['y'],!_0x366556?_0x133201[_0x47a52f(0x1c9)](this['getPosition']()):_0x133201;}[_0xc0f952(0x19e)](_0x2327ea=!![]){const _0x1659fd=_0xc0f952;let _0x311990=new webgpu.Vector3(),_0x5a734e=this[_0x1659fd(0x1bb)]();return _0x5a734e[_0x1659fd(0x1d5)](_0x311990),_0x311990['y']=_0x5a734e[_0x1659fd(0x199)]['y'],!_0x2327ea?_0x311990[_0x1659fd(0x1c9)](this['getPosition']()):_0x311990;}[_0xc0f952(0x1bb)](){return this['rootComponent']['getBounds']();}[_0xc0f952(0x190)](){const _0x15133e=_0xc0f952;let _0x57c19a=this['childActors'];_0x57c19a[_0x15133e(0x1bd)](_0x48293c=>{const _0x18f1ad=_0x15133e;_0x48293c[_0x18f1ad(0x190)]();}),this[_0x15133e(0x1a3)][_0x15133e(0x190)]();}['setVisible'](_0x2a7e9c){const _0x50a7e0=_0xc0f952;this[_0x50a7e0(0x1a3)][_0x50a7e0(0x1ab)](_0x2a7e9c);}[_0xc0f952(0x185)](_0x4ee010,_0x6c41dd=!![]){const _0x103c39=_0xc0f952;this[_0x103c39(0x1a3)][_0x103c39(0x185)](_0x4ee010),_0x6c41dd&&this[_0x103c39(0x1a9)]['forEach'](_0x14b01b=>{const _0x4391e1=_0x103c39;_0x14b01b[_0x4391e1(0x185)](_0x4ee010,_0x6c41dd);});}[_0xc0f952(0x1a5)](_0x31b1bb){const _0xffebe6=_0xc0f952;if(!this[_0xffebe6(0x1ce)])return;super['tick'](_0x31b1bb),this[_0xffebe6(0x1a3)][_0xffebe6(0x1a5)](_0x31b1bb);}[_0xc0f952(0x1d6)](){const _0x3be192=_0xc0f952;return this['rootComponent'][_0x3be192(0x1d6)]();}[_0xc0f952(0x187)](..._0xa5b70a){const _0x194227=_0xc0f952;_0xa5b70a[_0x194227(0x193)]===0x1?this[_0x194227(0x1a3)]['setPosition'](_0xa5b70a[0x0]):this[_0x194227(0x1a3)][_0x194227(0x187)](_0xa5b70a[0x0],_0xa5b70a[0x1],_0xa5b70a[0x2]);}[_0xc0f952(0x1b7)](){const _0x3688f7=_0xc0f952;return this['rootComponent'][_0x3688f7(0x1b7)]();}[_0xc0f952(0x1a6)](..._0x271c0a){const _0x3d5991=_0xc0f952;_0x271c0a[_0x3d5991(0x193)]===0x1?this['rootComponent'][_0x3d5991(0x1a6)](_0x271c0a[0x0]):this[_0x3d5991(0x1a3)][_0x3d5991(0x1a6)](_0x271c0a[0x0],_0x271c0a[0x1],_0x271c0a[0x2]);}['getQuaternion'](){const _0x24fa04=_0xc0f952;return this['rootComponent'][_0x24fa04(0x1c6)]();}['setQuaternion'](..._0x5a4956){const _0x2080b8=_0xc0f952;_0x5a4956[_0x2080b8(0x193)]===0x1?this[_0x2080b8(0x1a3)][_0x2080b8(0x179)](_0x5a4956[0x0]):this[_0x2080b8(0x1a3)][_0x2080b8(0x179)](_0x5a4956[0x0],_0x5a4956[0x1],_0x5a4956[0x2],_0x5a4956[0x3]);}['getScale'](){const _0x26652c=_0xc0f952;return this[_0x26652c(0x1a3)][_0x26652c(0x18d)]();}[_0xc0f952(0x1b9)](..._0x4568fa){const _0x3acab8=_0xc0f952;_0x4568fa[_0x3acab8(0x193)]===0x1?this[_0x3acab8(0x1a3)][_0x3acab8(0x1b9)](_0x4568fa[0x0]):this[_0x3acab8(0x1a3)][_0x3acab8(0x1b9)](_0x4568fa[0x0],_0x4568fa[0x1],_0x4568fa[0x2]);}[_0xc0f952(0x1d7)](){const _0x5cbd7f=_0xc0f952;return this[_0x5cbd7f(0x1a3)]['getWorldMatrix']();}[_0xc0f952(0x1a0)](_0x281832){const _0x4cb842=_0xc0f952;this['rootComponent'][_0x4cb842(0x1a0)](_0x281832);}[_0xc0f952(0x1c3)](){const _0x1b9eae=_0xc0f952;return this[_0x1b9eae(0x1a3)][_0x1b9eae(0x1c3)]();}[_0xc0f952(0x184)](){const _0x388c4b=_0xc0f952;return this[_0x388c4b(0x1a3)][_0x388c4b(0x184)]();}[_0xc0f952(0x1ae)](){const _0x5381bc=_0xc0f952;return this[_0x5381bc(0x1a3)][_0x5381bc(0x1ae)]();}['getWorldScale'](){const _0x6c65ac=_0xc0f952;return this[_0x6c65ac(0x1a3)][_0x6c65ac(0x17b)]();}['getWorldForwardDirection'](){const _0x34b5fc=_0xc0f952;return this[_0x34b5fc(0x1a3)][_0x34b5fc(0x1c0)]();}[_0xc0f952(0x1cb)](){const _0x2dee8b=_0xc0f952;return this['rootComponent'][_0x2dee8b(0x1cb)]();}[_0xc0f952(0x19f)](){const _0xea652e=_0xc0f952;return this[_0xea652e(0x1a3)][_0xea652e(0x19f)]();}[_0xc0f952(0x180)](_0x2f0abb,_0x111c33){const _0x545ec2=_0xc0f952;let _0x235dd0=this['getPosition']();this[_0x545ec2(0x187)](_0x235dd0['x']+_0x2f0abb['x']*_0x111c33,_0x235dd0['y']+_0x2f0abb['y']*_0x111c33,_0x235dd0['z']+_0x2f0abb['z']*_0x111c33);}[_0xc0f952(0x1be)](_0x38a3ed){const _0x895605=_0xc0f952;return this[_0x895605(0x1a3)][_0x895605(0x1be)](_0x38a3ed);}[_0xc0f952(0x1c1)](_0x9798a3){const _0x52c320=_0xc0f952;return this[_0x52c320(0x1a3)][_0x52c320(0x1c1)](_0x9798a3);}['getComponents'](){const _0x387bab=_0xc0f952;return this[_0x387bab(0x1a3)][_0x387bab(0x1ba)];}['addComponent'](_0x27a2c2,_0x4e7ca1=exports.AttachmentRules[_0xc0f952(0x1af)]){const _0x4c02ea=_0xc0f952;this[_0x4c02ea(0x1a3)][_0x4c02ea(0x181)](_0x27a2c2,_0x4e7ca1),this[_0x4c02ea(0x1b2)]&&_0x27a2c2[_0x4c02ea(0x19c)](this[_0x4c02ea(0x1b2)]);}[_0xc0f952(0x1b8)](_0x56d23f){const _0x48f8e4=_0xc0f952;if(_0x56d23f===this[_0x48f8e4(0x1b6)])return;this[_0x48f8e4(0x1a3)]['removeChildComponent'](_0x56d23f);}[_0xc0f952(0x1b3)](){const _0x19d9ac=_0xc0f952;this['rootComponent'][_0x19d9ac(0x17f)]();}['addChildActor'](_0x23c6a1,_0xb29300=exports.AttachmentRules[_0xc0f952(0x17a)]){const _0x1f3dfb=_0xc0f952;if(!_0x23c6a1[_0x1f3dfb(0x1a3)]){console[_0x1f3dfb(0x1b4)](_0x1f3dfb(0x1d2));return;}if(_0x23c6a1[_0x1f3dfb(0x188)]===this)return;_0xb29300===exports.AttachmentRules['KeepRelative']&&this[_0x1f3dfb(0x1a3)][_0x1f3dfb(0x18c)](_0x23c6a1[_0x1f3dfb(0x1a3)]);if(_0xb29300===exports.AttachmentRules[_0x1f3dfb(0x17a)]){let _0x12da40=_0x23c6a1[_0x1f3dfb(0x1d7)]();this['rootComponent'][_0x1f3dfb(0x18c)](_0x23c6a1[_0x1f3dfb(0x1a3)]),_0x23c6a1['setWorldMatrix'](_0x12da40);}this[_0x1f3dfb(0x1b2)]&&this['_world'][_0x1f3dfb(0x182)][_0x1f3dfb(0x1cd)]();}[_0xc0f952(0x1a2)](_0x582a74){const _0x2f48db=_0xc0f952;let _0x28c1d9=_0x582a74[_0x2f48db(0x1d7)]();this[_0x2f48db(0x1a3)][_0x2f48db(0x18f)](_0x582a74['rootComponent']),_0x582a74['setWorldMatrix'](_0x28c1d9);}[_0xc0f952(0x189)](){const _0x51cbe1=_0xc0f952;this[_0x51cbe1(0x188)]&&this[_0x51cbe1(0x188)]['removeChildActor'](this);}['onAddedToWorld'](_0x35b06f){const _0x464806=_0xc0f952;this['_world']=_0x35b06f,this['rootComponent'][_0x464806(0x19c)](this[_0x464806(0x1b2)]),this['childActors'][_0x464806(0x1bd)](_0x2ca571=>{const _0x114ce1=_0x464806;_0x2ca571[_0x114ce1(0x19c)](_0x35b06f);});}['onRemovedFromWorld'](){this['_world']=null;}get[_0xc0f952(0x1d4)](){const _0x2592b3=_0xc0f952;return this['rootComponent'][_0x2592b3(0x1d4)];}set[_0xc0f952(0x1d4)](_0x3fc85e){const _0x4569bb=_0xc0f952;this[_0x4569bb(0x1a3)][_0x4569bb(0x1d4)]=_0x3fc85e;}get[_0xc0f952(0x1b5)](){const _0x4d306c=_0xc0f952;return this[_0x4d306c(0x1a3)][_0x4d306c(0x1b5)];}set[_0xc0f952(0x1b5)](_0x2db78c){const _0x4b39ea=_0xc0f952;this[_0x4b39ea(0x1a3)]['isClickEnabled']=_0x2db78c;}[_0xc0f952(0x1d1)](_0x3180d4){const _0x4d2d80=_0xc0f952;this['_onHoverBeginDelegate'][_0x4d2d80(0x1c2)](_0x3180d4);}[_0xc0f952(0x1c8)](_0x258e62){const _0x154c92=_0xc0f952;this[_0x154c92(0x194)][_0x154c92(0x1c2)](_0x258e62);}[_0xc0f952(0x19d)](_0x4622d6){const _0xd4be46=_0xc0f952;this[_0xd4be46(0x1b1)][_0xd4be46(0x1c2)](_0x4622d6);}[_0xc0f952(0x1b0)](_0x308fec){const _0x13735e=_0xc0f952;this['_onDoubleClickDelegate'][_0x13735e(0x1c2)](_0x308fec);}}
|
|
96
|
+
function _0x2137(){const _0x47616f=['parse','87770MmjBVy','Perspective','stringify','5nZxqfQ','146783HhRWUR','973818UmBurD','3188878cmDBvG','Orthographic','15673YwCzhh','4120tqJBSj','2fRIJos','7353ZqxOUk','1908412jWQxQM','978hOxhgx'];_0x2137=function(){return _0x47616f;};return _0x2137();}function _0xf991(_0x383d62,_0x480c9a){_0x383d62=_0x383d62-0x107;const _0x213734=_0x2137();let _0xf99140=_0x213734[_0x383d62];return _0xf99140;}const _0x3cd659=_0xf991;(function(_0x43ef62,_0x4ecf94){const _0x14d23b=_0xf991,_0x18aa14=_0x43ef62();while(!![]){try{const _0x304ca4=parseInt(_0x14d23b(0x115))/0x1*(-parseInt(_0x14d23b(0x10c))/0x2)+parseInt(_0x14d23b(0x107))/0x3+parseInt(_0x14d23b(0x10e))/0x4*(parseInt(_0x14d23b(0x114))/0x5)+-parseInt(_0x14d23b(0x10f))/0x6*(-parseInt(_0x14d23b(0x10a))/0x7)+-parseInt(_0x14d23b(0x10b))/0x8*(parseInt(_0x14d23b(0x10d))/0x9)+parseInt(_0x14d23b(0x111))/0xa+-parseInt(_0x14d23b(0x108))/0xb;if(_0x304ca4===_0x4ecf94)break;else _0x18aa14['push'](_0x18aa14['shift']());}catch(_0x23cfef){_0x18aa14['push'](_0x18aa14['shift']());}}}(_0x2137,0x4da37));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x3cd659(0x112),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x3cd659(0x109),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x3cd659(0x110)](JSON[_0x3cd659(0x113)](DefaultPerspectiveCameraParam));
|
|
88
97
|
|
|
89
|
-
|
|
98
|
+
(function(_0x4725c7,_0x564a8e){const _0x3c6ccc=_0x179d,_0x4e8dec=_0x4725c7();while(!![]){try{const _0x53fedf=-parseInt(_0x3c6ccc(0xd5))/0x1+parseInt(_0x3c6ccc(0xcd))/0x2+parseInt(_0x3c6ccc(0xd4))/0x3+parseInt(_0x3c6ccc(0xd3))/0x4*(-parseInt(_0x3c6ccc(0xd0))/0x5)+parseInt(_0x3c6ccc(0xce))/0x6*(-parseInt(_0x3c6ccc(0xcf))/0x7)+parseInt(_0x3c6ccc(0xd1))/0x8+parseInt(_0x3c6ccc(0xd2))/0x9;if(_0x53fedf===_0x564a8e)break;else _0x4e8dec['push'](_0x4e8dec['shift']());}catch(_0x342719){_0x4e8dec['push'](_0x4e8dec['shift']());}}}(_0x5d01,0x7c9d0));function _0x5d01(){const _0x10fd05=['3486215yxFXLH','1514472fUFqws','12552075wGvCLW','4ESuRPE','1034133wEhQWA','203927oDdxsK','278810JpWTRO','1969542ZnUdAR','14IHGqaN'];_0x5d01=function(){return _0x10fd05;};return _0x5d01();}function _0x179d(_0x1d633b,_0x2cdd83){_0x1d633b=_0x1d633b-0xcd;const _0x5d01a7=_0x5d01();let _0x179dd3=_0x5d01a7[_0x1d633b];return _0x179dd3;}const DefaultAppParam={'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
90
99
|
|
|
91
|
-
|
|
100
|
+
const _0x355ccb=_0x5080;(function(_0x462570,_0x136b6c){const _0x28a1d1=_0x5080,_0x992654=_0x462570();while(!![]){try{const _0x3ba544=-parseInt(_0x28a1d1(0x12b))/0x1+-parseInt(_0x28a1d1(0x12c))/0x2+-parseInt(_0x28a1d1(0x12f))/0x3*(parseInt(_0x28a1d1(0x135))/0x4)+-parseInt(_0x28a1d1(0x134))/0x5+-parseInt(_0x28a1d1(0x126))/0x6+parseInt(_0x28a1d1(0x130))/0x7*(-parseInt(_0x28a1d1(0x138))/0x8)+-parseInt(_0x28a1d1(0x123))/0x9*(-parseInt(_0x28a1d1(0x121))/0xa);if(_0x3ba544===_0x136b6c)break;else _0x992654['push'](_0x992654['shift']());}catch(_0x539164){_0x992654['push'](_0x992654['shift']());}}}(_0x311e,0x5f480));function _0x5080(_0x38ce8d,_0x8002c9){_0x38ce8d=_0x38ce8d-0x11f;const _0x311e45=_0x311e();let _0x508001=_0x311e45[_0x38ce8d];return _0x508001;}function _0x311e(){const _0x2971e1=['dispose','isArray','parent','3200625awefwV','592SnOVAv','material','children','144UWTZhf','disposeMaterialTextures','isTexture','24928270nJRurc','disposeObject3DResource','9oBZItG','isBufferGeometry','isObject3D','236256EjMGnc','disposeMeshMaterial','geometry','forEach','keys','548364VIMSmP','580008cjQJsc','disposeMeshResource','isScene','1074KSoFFs','206773yOVQzw'];_0x311e=function(){return _0x2971e1;};return _0x311e();}class ThreeObjectLibrary{static['disposeMaterialTextures'](_0x463861){const _0x2c86dd=_0x5080,_0x1e280b=new Set(),_0x3d2345=new Set([_0x2c86dd(0x133),_0x2c86dd(0x137),_0x2c86dd(0x128),'source']),_0x438d0d=_0x51444c=>{const _0x395912=_0x2c86dd;if(!_0x51444c||typeof _0x51444c!=='object'||_0x1e280b['has'](_0x51444c))return;if(_0x51444c[_0x395912(0x125)]||_0x51444c[_0x395912(0x12e)]||_0x51444c['isMesh']||_0x51444c[_0x395912(0x124)])return;_0x1e280b['add'](_0x51444c);if(_0x395912(0x120)in _0x51444c){_0x51444c[_0x395912(0x131)]();return;}Object[_0x395912(0x12a)](_0x51444c)[_0x395912(0x129)](_0x34312c=>{if(_0x3d2345['has'](_0x34312c))return;_0x438d0d(_0x51444c[_0x34312c]);});};Object[_0x2c86dd(0x12a)](_0x463861)[_0x2c86dd(0x129)](_0x2ca9f2=>{_0x438d0d(_0x463861[_0x2ca9f2]);});}static[_0x355ccb(0x127)](_0x181660){const _0x5d6180=_0x355ccb;let _0x235a01=Array[_0x5d6180(0x132)](_0x181660[_0x5d6180(0x136)])?_0x181660[_0x5d6180(0x136)]:[_0x181660['material']];_0x235a01[_0x5d6180(0x129)](_0x1b5fab=>{const _0x4da2fc=_0x5d6180;ThreeObjectLibrary[_0x4da2fc(0x11f)](_0x1b5fab),_0x1b5fab[_0x4da2fc(0x131)]();});}static['disposeMeshResource'](_0xda612a,_0x3b433e=![]){const _0x125315=_0x355ccb;ThreeObjectLibrary[_0x125315(0x127)](_0xda612a),_0xda612a[_0x125315(0x128)]['dispose'](),_0x3b433e&&_0xda612a['children']['forEach'](_0x1d122b=>{const _0x53de27=_0x125315;_0x1d122b instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x53de27(0x12d)](_0x1d122b,!![]);});}static[_0x355ccb(0x122)](_0x411250){_0x411250['traverse'](_0x29e08e=>{const _0x1dda9a=_0x5080;_0x29e08e instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x1dda9a(0x12d)](_0x29e08e);});}}
|
|
92
101
|
|
|
93
|
-
function
|
|
102
|
+
function _0x3d9e(_0xcd3ee1,_0x5d7b35){_0xcd3ee1=_0xcd3ee1-0x12b;var _0x58c131=_0x58c1();var _0x3d9e75=_0x58c131[_0xcd3ee1];return _0x3d9e75;}var _0x683ffc=_0x3d9e;(function(_0x3d0e4d,_0x53b91c){var _0x12895c=_0x3d9e,_0x3cd855=_0x3d0e4d();while(!![]){try{var _0x1fc1dc=parseInt(_0x12895c(0x137))/0x1*(parseInt(_0x12895c(0x12b))/0x2)+parseInt(_0x12895c(0x12d))/0x3*(-parseInt(_0x12895c(0x13b))/0x4)+parseInt(_0x12895c(0x131))/0x5*(-parseInt(_0x12895c(0x133))/0x6)+-parseInt(_0x12895c(0x136))/0x7*(-parseInt(_0x12895c(0x139))/0x8)+parseInt(_0x12895c(0x130))/0x9+parseInt(_0x12895c(0x134))/0xa*(parseInt(_0x12895c(0x135))/0xb)+-parseInt(_0x12895c(0x13a))/0xc;if(_0x1fc1dc===_0x53b91c)break;else _0x3cd855['push'](_0x3cd855['shift']());}catch(_0x45e75e){_0x3cd855['push'](_0x3cd855['shift']());}}}(_0x58c1,0x2ad20));function _0x58c1(){var _0x49a69f=['229321WdLnzx','threeObject','32fbkMIp','2992848xPwKLt','84JseLEl','2gjywZz','three\x20object\x20is\x20invalid','49329kujWho','createDefaultObject','userData','1223010DCHUtG','5NmsrOS','obj','431196ZOtPwM','10QgApKz','1424126mlQxWV','607754TWMJaJ'];_0x58c1=function(){return _0x49a69f;};return _0x58c1();}class LevelComponent extends SceneComponent{get[_0x683ffc(0x138)](){var _0x1286ba=_0x683ffc;if(!this[_0x1286ba(0x132)])throw Error(_0x1286ba(0x12c));return this[_0x1286ba(0x132)];}set[_0x683ffc(0x138)](_0x2c7b75){var _0x3baa35=_0x683ffc;this[_0x3baa35(0x132)]=_0x2c7b75,this['obj']&&(this[_0x3baa35(0x132)][_0x3baa35(0x12f)]['LYObject']=this);}constructor(_0xce94b1,_0x2d749e){super(_0xce94b1,_0x2d749e);}[_0x683ffc(0x12e)](){return new three.Scene();}}
|
|
94
103
|
|
|
95
|
-
(function(
|
|
104
|
+
var _0x3f7c0e=_0x2075;function _0x407c(){var _0x37ac9c=['destroy','292406AKbrMp','disposeMeshResource','8ewFHbf','tick','scene','rootComponent','563230qNBpRw','forEach','2456679KAVWbl','_scene','isTickEnabled','childActors','25242498yTUfNb','4106188qoAPKj','clearLevel','397275ifPxLI','uuid','11166hWCLeo','traverse','3703nsOugm','threeObject','app'];_0x407c=function(){return _0x37ac9c;};return _0x407c();}(function(_0x1821d0,_0x46bdb7){var _0xf75d6d=_0x2075,_0x38984f=_0x1821d0();while(!![]){try{var _0x3b75ee=parseInt(_0xf75d6d(0x100))/0x1+parseInt(_0xf75d6d(0x106))/0x2+parseInt(_0xf75d6d(0x108))/0x3+parseInt(_0xf75d6d(0xf6))/0x4+-parseInt(_0xf75d6d(0xf8))/0x5+parseInt(_0xf75d6d(0xfa))/0x6*(parseInt(_0xf75d6d(0xfc))/0x7)+parseInt(_0xf75d6d(0x102))/0x8*(-parseInt(_0xf75d6d(0xf5))/0x9);if(_0x3b75ee===_0x46bdb7)break;else _0x38984f['push'](_0x38984f['shift']());}catch(_0x3670c8){_0x38984f['push'](_0x38984f['shift']());}}}(_0x407c,0x7ee49));function _0x2075(_0x236255,_0x4202c2){_0x236255=_0x236255-0xf5;var _0x407c6c=_0x407c();var _0x207533=_0x407c6c[_0x236255];return _0x207533;}class LevelActor extends Actor{get[_0x3f7c0e(0x104)](){var _0x46c479=_0x3f7c0e;if(!this['_scene'])throw new Error('scene\x20is\x20null');return this[_0x46c479(0x109)];}constructor(_0x4bc2e1,_0x3ec009){var _0x37942e=_0x3f7c0e;super(_0x4bc2e1,_0x3ec009),this[_0x37942e(0x109)]=null,this[_0x37942e(0x109)]=this[_0x37942e(0x105)][_0x37942e(0xfd)],this[_0x37942e(0x10a)]=![];}['constructRootComponent'](){var _0x41eee8=_0x3f7c0e;return new LevelComponent(this[_0x41eee8(0xfe)],this[_0x41eee8(0xf9)]);}[_0x3f7c0e(0x103)](_0x1131b8){var _0x35fb49=_0x3f7c0e;if(!this[_0x35fb49(0x10a)])return;super[_0x35fb49(0x103)](_0x1131b8);}['destroy'](){var _0x127c9e=_0x3f7c0e;this[_0x127c9e(0xf7)](),super[_0x127c9e(0xff)]();}[_0x3f7c0e(0xf7)](){var _0x110454=_0x3f7c0e;this[_0x110454(0x10b)][_0x110454(0x107)](_0x1c87e6=>{var _0x25d1f2=_0x110454;_0x1c87e6[_0x25d1f2(0xff)]();}),this[_0x110454(0x104)][_0x110454(0xfb)](_0x1f5b8d=>{var _0x45d64b=_0x110454;_0x1f5b8d instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x45d64b(0x101)](_0x1f5b8d);});}}
|
|
96
105
|
|
|
97
|
-
|
|
106
|
+
function _0x40e6(){const _0x2efc89=['468972ugVNja','120LlnRxt','109386FEYxGi','280jQnusu','4fCxrox','4177180ojCZjt','1EJgtgG','583498spEXnE','88sLrkBV','3465759KkHLmZ','5846126shzGoV','50BKfjVd','3942279kzbmxO'];_0x40e6=function(){return _0x2efc89;};return _0x40e6();}function _0x16fb(_0x35e8c3,_0xbbe0df){_0x35e8c3=_0x35e8c3-0x158;const _0x40e6e4=_0x40e6();let _0x16fba9=_0x40e6e4[_0x35e8c3];return _0x16fba9;}(function(_0x37ccc3,_0x19ece5){const _0x335e5b=_0x16fb,_0x46068b=_0x37ccc3();while(!![]){try{const _0x5ecd5a=-parseInt(_0x335e5b(0x15c))/0x1*(-parseInt(_0x335e5b(0x15d))/0x2)+-parseInt(_0x335e5b(0x162))/0x3*(-parseInt(_0x335e5b(0x15a))/0x4)+parseInt(_0x335e5b(0x159))/0x5*(parseInt(_0x335e5b(0x158))/0x6)+parseInt(_0x335e5b(0x15b))/0x7+-parseInt(_0x335e5b(0x15e))/0x8*(-parseInt(_0x335e5b(0x163))/0x9)+parseInt(_0x335e5b(0x161))/0xa*(parseInt(_0x335e5b(0x15f))/0xb)+parseInt(_0x335e5b(0x164))/0xc*(-parseInt(_0x335e5b(0x160))/0xd);if(_0x5ecd5a===_0x19ece5)break;else _0x46068b['push'](_0x46068b['shift']());}catch(_0x1074fd){_0x46068b['push'](_0x46068b['shift']());}}}(_0x40e6,0xd5a17));const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
98
107
|
|
|
99
|
-
|
|
108
|
+
const _0x3f94e4=_0x1c07;(function(_0x5badc4,_0x1c1d49){const _0x3cd545=_0x1c07,_0x5c088e=_0x5badc4();while(!![]){try{const _0x1a2afe=parseInt(_0x3cd545(0x137))/0x1+parseInt(_0x3cd545(0x158))/0x2*(-parseInt(_0x3cd545(0x14b))/0x3)+-parseInt(_0x3cd545(0x153))/0x4+parseInt(_0x3cd545(0x132))/0x5+-parseInt(_0x3cd545(0x13e))/0x6*(-parseInt(_0x3cd545(0x130))/0x7)+-parseInt(_0x3cd545(0x159))/0x8*(parseInt(_0x3cd545(0x150))/0x9)+-parseInt(_0x3cd545(0x138))/0xa;if(_0x1a2afe===_0x1c1d49)break;else _0x5c088e['push'](_0x5c088e['shift']());}catch(_0x8238b1){_0x5c088e['push'](_0x5c088e['shift']());}}}(_0x431c,0x6b882));function _0x431c(){const _0x4a431e=['destroy','onCameraChangedDelegate','viewport','log','27nEaZoL','setTickPaused','getDelta','247084MrTLPU','tick','clear','push','markRenderStateDirty','4070IGwSTC','1304664npwLdw','world','controllerClass','classes','updateCamera','viewportParam','updataCamera','indexOf','worldClass','_tickingFunctions','update','setAnimationLoop','removeTickingFunction','controller','7kVkuig','cameraParam','1405595HqTcLt','postConstruct','_isTickPaused','broadcast','createCamera','12312mXyHtU','1416580fNBmTB','_onCameraChangedDelegate','assetManagerClass','splice','init','_controller','5196912xOKhjK','_viewport','_camera','renderAsImage','worldParam','dispose','updateProjectionMatrix','_clock','render','_assetManager','camera','_world','forEach','39IcVGLl'];_0x431c=function(){return _0x4a431e;};return _0x431c();}function _0x1c07(_0x501ee6,_0x3d44b6){_0x501ee6=_0x501ee6-0x12c;const _0x431c67=_0x431c();let _0x1c071a=_0x431c67[_0x501ee6];return _0x1c071a;}class ThreeJsApp{get[_0x3f94e4(0x148)](){const _0x343ccf=_0x3f94e4;return this[_0x343ccf(0x140)];}get['clock'](){const _0x564d18=_0x3f94e4;return this[_0x564d18(0x145)];}get[_0x3f94e4(0x15a)](){const _0x5a1935=_0x3f94e4;return this[_0x5a1935(0x149)];}get[_0x3f94e4(0x14e)](){const _0x27b0b6=_0x3f94e4;return this[_0x27b0b6(0x13f)];}get[_0x3f94e4(0x12f)](){const _0x3a06e0=_0x3f94e4;return this[_0x3a06e0(0x13d)];}get['assetManager'](){const _0x5f26a2=_0x3f94e4;return this[_0x5f26a2(0x147)];}get[_0x3f94e4(0x14d)](){const _0x45fbec=_0x3f94e4;return this[_0x45fbec(0x139)];}constructor(_0x3c90e8=DefaultAppParam){const _0x595ee1=_0x3f94e4;var _0x51b963,_0x5ba95c,_0x31aae9,_0x505767;this[_0x595ee1(0x162)]=[],this[_0x595ee1(0x134)]=![],this['_onCameraChangedDelegate']=new Delegate();const _0x3319e7=(_0x51b963=_0x3c90e8[_0x595ee1(0x131)])!==null&&_0x51b963!==void 0?_0x51b963:DefaultCameraParam,_0x20040b=(_0x5ba95c=_0x3c90e8[_0x595ee1(0x142)])!==null&&_0x5ba95c!==void 0?_0x5ba95c:DefaultWorldParam,_0x18325e=(_0x31aae9=_0x3c90e8[_0x595ee1(0x15e)])!==null&&_0x31aae9!==void 0?_0x31aae9:DefaultViewportParam,_0xa59462=(_0x505767=_0x3c90e8[_0x595ee1(0x15c)])!==null&&_0x505767!==void 0?_0x505767:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x595ee1(0x145)]=new webgpu.Timer(),this[_0x595ee1(0x140)]=CameraFactory[_0x595ee1(0x136)](_0x3319e7),this['_world']=new _0xa59462[(_0x595ee1(0x161))](this,_0x20040b),this[_0x595ee1(0x13f)]=new _0xa59462['viewportClass'](this,_0x18325e),this['_controller']=new _0xa59462[(_0x595ee1(0x15b))](this),this['_assetManager']=new _0xa59462[(_0x595ee1(0x13a))](this),this[_0x595ee1(0x14e)]['renderer'][_0x595ee1(0x12d)](()=>{const _0x4bd768=_0x595ee1;this[_0x4bd768(0x145)][_0x4bd768(0x12c)]();const _0x225343=this[_0x4bd768(0x145)][_0x4bd768(0x152)]();this[_0x4bd768(0x154)](_0x225343);}),this['postConstruct']();}[_0x3f94e4(0x133)](){const _0x2699bd=_0x3f94e4;this[_0x2699bd(0x12f)][_0x2699bd(0x13c)](),this['world'][_0x2699bd(0x13c)](),this[_0x2699bd(0x14e)][_0x2699bd(0x13c)]();}['init'](){}[_0x3f94e4(0x154)](_0x529de2){const _0x34f285=_0x3f94e4;if(this['_isTickPaused'])return;this[_0x34f285(0x13d)]['tick'](_0x529de2),this[_0x34f285(0x15a)][_0x34f285(0x154)](_0x529de2),this['_tickingFunctions'][_0x34f285(0x14a)](_0x3be239=>{_0x3be239(_0x529de2);}),this[_0x34f285(0x14e)][_0x34f285(0x157)](),this[_0x34f285(0x14e)][_0x34f285(0x146)]();}[_0x3f94e4(0x151)](_0x144418){const _0x519acd=_0x3f94e4;console[_0x519acd(0x14f)](_0x519acd(0x151),_0x144418),this['_isTickPaused']=_0x144418;}['addTickingFunction'](_0xcaf44d){const _0x2821d4=_0x3f94e4;this[_0x2821d4(0x162)][_0x2821d4(0x156)](_0xcaf44d);}[_0x3f94e4(0x12e)](_0x2847aa){const _0x5eb07f=_0x3f94e4,_0x1a3f4d=this['_tickingFunctions'][_0x5eb07f(0x160)](_0x2847aa);_0x1a3f4d>=0x0&&this[_0x5eb07f(0x162)][_0x5eb07f(0x13b)](_0x1a3f4d,0x1);}['destroy'](){const _0x2c8b26=_0x3f94e4;this['onCameraChangedDelegate'][_0x2c8b26(0x155)](),this[_0x2c8b26(0x12f)]['destroy'](),this['world'][_0x2c8b26(0x14c)](),this[_0x2c8b26(0x147)][_0x2c8b26(0x143)](),this[_0x2c8b26(0x14e)]['destroy']();}[_0x3f94e4(0x15d)](_0x5cb2ec){const _0x6acd4c=_0x3f94e4,_0x41e4d5=this[_0x6acd4c(0x148)];this[_0x6acd4c(0x140)]=CameraFactory[_0x6acd4c(0x15f)](_0x5cb2ec,this[_0x6acd4c(0x148)]),_0x41e4d5!==this[_0x6acd4c(0x148)]&&(this[_0x6acd4c(0x139)][_0x6acd4c(0x135)](),this[_0x6acd4c(0x12f)][_0x6acd4c(0x15d)]()),this['_camera']['updateProjectionMatrix'](),this[_0x6acd4c(0x14e)][_0x6acd4c(0x157)]();}['onWindowResize'](_0x5c8f7d,_0x291f96){const _0x522ea3=_0x3f94e4;this[_0x522ea3(0x148)]instanceof webgpu.PerspectiveCamera&&(this[_0x522ea3(0x148)]['aspect']=_0x5c8f7d/_0x291f96),this[_0x522ea3(0x148)][_0x522ea3(0x144)]();}async[_0x3f94e4(0x141)](_0x4225f3=0x400,_0x2c7e3c=0x400){const _0xd7a068=_0x3f94e4;return await this[_0xd7a068(0x14e)][_0xd7a068(0x141)](_0x4225f3,_0x2c7e3c);}}
|
|
100
109
|
|
|
101
|
-
var
|
|
110
|
+
var _0x5a9edf=_0x27c3;(function(_0x437cf7,_0x33acd8){var _0x3701de=_0x27c3,_0x2c4f22=_0x437cf7();while(!![]){try{var _0x2037fc=parseInt(_0x3701de(0x100))/0x1+-parseInt(_0x3701de(0xf9))/0x2*(-parseInt(_0x3701de(0xfb))/0x3)+-parseInt(_0x3701de(0xf8))/0x4+-parseInt(_0x3701de(0xff))/0x5+-parseInt(_0x3701de(0xf3))/0x6+-parseInt(_0x3701de(0xfe))/0x7*(parseInt(_0x3701de(0x101))/0x8)+parseInt(_0x3701de(0xfc))/0x9;if(_0x2037fc===_0x33acd8)break;else _0x2c4f22['push'](_0x2c4f22['shift']());}catch(_0x1c46e5){_0x2c4f22['push'](_0x2c4f22['shift']());}}}(_0x3da7,0xc5655));function _0x27c3(_0x14a2af,_0x54cefc){_0x14a2af=_0x14a2af-0xf2;var _0x3da7bb=_0x3da7();var _0x27c347=_0x3da7bb[_0x14a2af];return _0x27c347;}class LightComponent extends SceneComponent{get[_0x5a9edf(0xf7)](){var _0x38b1b6=_0x5a9edf;if(!this[_0x38b1b6(0xfa)])throw Error(_0x38b1b6(0xf2));return this[_0x38b1b6(0xfa)];}set[_0x5a9edf(0xf7)](_0xae7fbc){var _0x4277b9=_0x5a9edf;this[_0x4277b9(0xfa)]=_0xae7fbc,this[_0x4277b9(0xfa)]&&(this['obj'][_0x4277b9(0x102)]['LYObject']=this);}get[_0x5a9edf(0xf6)](){var _0x120b21=_0x5a9edf;return this[_0x120b21(0xf7)][_0x120b21(0xf6)][_0x120b21(0xf4)]();}set[_0x5a9edf(0xf6)](_0x586529){var _0x3db9f7=_0x5a9edf;this['threeObject']['color'][_0x3db9f7(0xfd)](_0x586529);}get[_0x5a9edf(0xf5)](){var _0x3d4602=_0x5a9edf;return this[_0x3d4602(0xf7)][_0x3d4602(0xf5)];}set[_0x5a9edf(0xf5)](_0x142854){var _0x3d1d11=_0x5a9edf;this[_0x3d1d11(0xf7)][_0x3d1d11(0xf5)]=_0x142854;}constructor(_0x4dde25,_0x3c1051){super(_0x4dde25,_0x3c1051);}}function _0x3da7(){var _0x25b034=['686158LpQLqj','8BmxgQO','userData','three\x20object\x20is\x20invalid','6627792APCkwQ','getHex','intensity','color','threeObject','2954220mYPbCE','2PHfDYF','obj','2350164PmYmSR','22673844OsDntD','set','6012363VyRMEv','2391165ovJsTj'];_0x3da7=function(){return _0x25b034;};return _0x3da7();}
|
|
102
111
|
|
|
103
|
-
|
|
112
|
+
function _0x5807(){var _0x1bd4e5=['setPosition','castShadow','userData','threeObject','intensity','set','color','5999tTmYql','2363688ZVKFgb','three\x20object\x20is\x20invalid','createDefaultObject','4187505GFKaFt','45458586nqlrMM','world','1451240ZQvqNH','obj','LYObject','39ITJiAQ','onAddedToWorld','3752888IskYLp','update','markRenderStateDirty','8814jvmRcF','destroy','492344bkAHrl'];_0x5807=function(){return _0x1bd4e5;};return _0x5807();}var _0x3376e1=_0x1291;(function(_0x14baac,_0xe38e1b){var _0x489d83=_0x1291,_0x344a00=_0x14baac();while(!![]){try{var _0x8b6e3f=parseInt(_0x489d83(0xfb))/0x1+parseInt(_0x489d83(0x10e))/0x2+parseInt(_0x489d83(0xfe))/0x3*(parseInt(_0x489d83(0x105))/0x4)+parseInt(_0x489d83(0xf8))/0x5+parseInt(_0x489d83(0x103))/0x6*(parseInt(_0x489d83(0x10d))/0x7)+-parseInt(_0x489d83(0x100))/0x8+-parseInt(_0x489d83(0xf9))/0x9;if(_0x8b6e3f===_0xe38e1b)break;else _0x344a00['push'](_0x344a00['shift']());}catch(_0x168bb5){_0x344a00['push'](_0x344a00['shift']());}}}(_0x5807,0xc5a63));function _0x1291(_0x352258,_0x421cf5){_0x352258=_0x352258-0xf8;var _0x5807ac=_0x5807();var _0x12917c=_0x5807ac[_0x352258];return _0x12917c;}class DirectionalLightComponent extends LightComponent{get['threeObject'](){var _0x125364=_0x1291;if(!this[_0x125364(0xfc)])throw Error(_0x125364(0x10f));return this[_0x125364(0xfc)];}set[_0x3376e1(0x109)](_0x2f2987){var _0x46484f=_0x3376e1;this[_0x46484f(0xfc)]=_0x2f2987,this[_0x46484f(0xfc)]&&(this[_0x46484f(0xfc)][_0x46484f(0x108)][_0x46484f(0xfd)]=this);}get[_0x3376e1(0x107)](){var _0x26e39a=_0x3376e1;return this[_0x26e39a(0x109)][_0x26e39a(0x107)];}set[_0x3376e1(0x107)](_0x568dda){var _0x398aa6=_0x3376e1;this[_0x398aa6(0x109)][_0x398aa6(0x107)]=_0x568dda;}constructor(_0x3e2383,_0x35b5d8=0xffffff,_0x530f97=0xa,_0x28e1d3){var _0x45c0d9=_0x3376e1;super(_0x3e2383,_0x28e1d3),this[_0x45c0d9(0x109)][_0x45c0d9(0x10c)][_0x45c0d9(0x10b)](_0x35b5d8),this['threeObject'][_0x45c0d9(0x10a)]=_0x530f97;}[_0x3376e1(0x110)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x3376e1(0x106)](..._0x56d052){var _0x2649e2=_0x3376e1;_0x56d052['length']===0x1?super[_0x2649e2(0x106)](_0x56d052[0x0]):super[_0x2649e2(0x106)](_0x56d052[0x0],_0x56d052[0x1],_0x56d052[0x2]),this['update']();}[_0x3376e1(0x101)](){var _0x21d780=_0x3376e1;if(this[_0x21d780(0xfa)])this['world']['viewport'][_0x21d780(0x102)]();}[_0x3376e1(0xff)](_0x3cdcee){var _0x2c505f=_0x3376e1;if(!this[_0x2c505f(0x109)])throw Error(_0x2c505f(0x10f));super[_0x2c505f(0xff)](_0x3cdcee);}[_0x3376e1(0x104)](){super['destroy']();}}
|
|
104
113
|
|
|
105
|
-
|
|
114
|
+
var _0x4c44d1=_0x3497;(function(_0x271247,_0x1c18aa){var _0x5a2bd8=_0x3497,_0x3fdfad=_0x271247();while(!![]){try{var _0x22f589=-parseInt(_0x5a2bd8(0x156))/0x1*(parseInt(_0x5a2bd8(0x155))/0x2)+-parseInt(_0x5a2bd8(0x14d))/0x3+parseInt(_0x5a2bd8(0x157))/0x4+parseInt(_0x5a2bd8(0x14b))/0x5+parseInt(_0x5a2bd8(0x158))/0x6*(parseInt(_0x5a2bd8(0x14f))/0x7)+parseInt(_0x5a2bd8(0x14e))/0x8*(parseInt(_0x5a2bd8(0x154))/0x9)+parseInt(_0x5a2bd8(0x151))/0xa;if(_0x22f589===_0x1c18aa)break;else _0x3fdfad['push'](_0x3fdfad['shift']());}catch(_0x51a3b3){_0x3fdfad['push'](_0x3fdfad['shift']());}}}(_0x5d30,0x7ee79));function _0x3497(_0x471fce,_0x77c12a){_0x471fce=_0x471fce-0x14b;var _0x5d3056=_0x5d30();var _0x34970a=_0x5d3056[_0x471fce];return _0x34970a;}function _0x5d30(){var _0x586444=['724iAKEBb','2801khEeCn','593164elYQcE','870540ZSiuuO','906795QCAasx','lightComponent','347679AvoiiZ','706032CkTucH','7YIwZuM','castShadow','6453920hXkQPF','constructRootComponent','color','54GDBLFs'];_0x5d30=function(){return _0x586444;};return _0x5d30();}class DirectionalLightActor extends Actor{constructor(_0x57ac14,_0xe6b8fd=0xffffff,_0x5a372c=0x1,_0x55dd61){var _0x34547f=_0x3497;super(_0x57ac14,_0x55dd61),this[_0x34547f(0x14c)]=null,this['lightComponent']=this['rootComponent'],this[_0x34547f(0x14c)]&&(this['lightComponent'][_0x34547f(0x153)]=_0xe6b8fd,this[_0x34547f(0x14c)]['intensity']=_0x5a372c,this['lightComponent'][_0x34547f(0x150)]=!![]),this[_0x34547f(0x14c)][_0x34547f(0x150)]=!![];}[_0x4c44d1(0x152)](){return new DirectionalLightComponent(this['app']);}}
|
|
106
115
|
|
|
107
|
-
var
|
|
116
|
+
var _0x2defa8=_0x4633;(function(_0x3f9768,_0xaf7804){var _0x619e04=_0x4633,_0x88ea88=_0x3f9768();while(!![]){try{var _0x4ed702=-parseInt(_0x619e04(0xcb))/0x1+parseInt(_0x619e04(0xc4))/0x2+-parseInt(_0x619e04(0xd2))/0x3+-parseInt(_0x619e04(0xc5))/0x4*(-parseInt(_0x619e04(0xcc))/0x5)+-parseInt(_0x619e04(0xd4))/0x6*(-parseInt(_0x619e04(0xdc))/0x7)+-parseInt(_0x619e04(0xd9))/0x8+-parseInt(_0x619e04(0xc6))/0x9*(-parseInt(_0x619e04(0xcf))/0xa);if(_0x4ed702===_0xaf7804)break;else _0x88ea88['push'](_0x88ea88['shift']());}catch(_0x514e25){_0x88ea88['push'](_0x88ea88['shift']());}}}(_0xb245,0x86487));function _0xb245(){var _0x5179a5=['world','viewport','color','6588944pMykBn','three\x20object\x20is\x20invalid','threeObject','132818tQUfYM','793278mJKHdT','2100008jNQNNb','13977CatIqj','intensity','obj','set','length','364350FnKbrn','5NdoHse','userData','onAddedToWorld','10610vSxbjj','castShadow','destroy','2551071SzhEhk','setPosition','6JOnsZW','update'];_0xb245=function(){return _0x5179a5;};return _0xb245();}function _0x4633(_0x462b96,_0x13c471){_0x462b96=_0x462b96-0xc4;var _0xb245e7=_0xb245();var _0x463306=_0xb245e7[_0x462b96];return _0x463306;}class AmbientLightComponent extends LightComponent{get[_0x2defa8(0xdb)](){var _0x3adbc9=_0x2defa8;if(!this[_0x3adbc9(0xc8)])throw Error(_0x3adbc9(0xda));return this[_0x3adbc9(0xc8)];}set[_0x2defa8(0xdb)](_0x48389f){var _0xd8554b=_0x2defa8;this[_0xd8554b(0xc8)]=_0x48389f,this['obj']&&(this[_0xd8554b(0xc8)][_0xd8554b(0xcd)]['LYObject']=this);}get['castShadow'](){return this['threeObject']['castShadow'];}set[_0x2defa8(0xd0)](_0x734f8){var _0x27efdf=_0x2defa8;this[_0x27efdf(0xdb)]['castShadow']=_0x734f8;}constructor(_0xf89369,_0x4cd699=0xffffff,_0x185361=0xa,_0x4ebc48){var _0x1f8766=_0x2defa8;super(_0xf89369,_0x4ebc48),this[_0x1f8766(0xdb)][_0x1f8766(0xd8)][_0x1f8766(0xc9)](_0x4cd699),this[_0x1f8766(0xdb)][_0x1f8766(0xc7)]=_0x185361;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x2defa8(0xd3)](..._0x2180ab){var _0x222306=_0x2defa8;_0x2180ab[_0x222306(0xca)]===0x1?super['setPosition'](_0x2180ab[0x0]):super[_0x222306(0xd3)](_0x2180ab[0x0],_0x2180ab[0x1],_0x2180ab[0x2]),this[_0x222306(0xd5)]();}[_0x2defa8(0xd5)](){var _0x6b0e11=_0x2defa8;if(this[_0x6b0e11(0xd6)])this['world'][_0x6b0e11(0xd7)]['markRenderStateDirty']();}[_0x2defa8(0xce)](_0x26d463){var _0x57d94b=_0x2defa8;if(!this[_0x57d94b(0xdb)])throw Error(_0x57d94b(0xda));super['onAddedToWorld'](_0x26d463);}[_0x2defa8(0xd1)](){var _0x1a787c=_0x2defa8;super[_0x1a787c(0xd1)]();}}
|
|
108
117
|
|
|
109
|
-
(function(
|
|
118
|
+
var _0x50686e=_0x387d;(function(_0x430bee,_0x1a8d73){var _0x5d6f96=_0x387d,_0x13232a=_0x430bee();while(!![]){try{var _0x5efc58=-parseInt(_0x5d6f96(0x11c))/0x1*(-parseInt(_0x5d6f96(0x123))/0x2)+parseInt(_0x5d6f96(0x122))/0x3+-parseInt(_0x5d6f96(0x11a))/0x4+parseInt(_0x5d6f96(0x120))/0x5+parseInt(_0x5d6f96(0x11f))/0x6+-parseInt(_0x5d6f96(0x11d))/0x7*(-parseInt(_0x5d6f96(0x11e))/0x8)+-parseInt(_0x5d6f96(0x118))/0x9*(parseInt(_0x5d6f96(0x11b))/0xa);if(_0x5efc58===_0x1a8d73)break;else _0x13232a['push'](_0x13232a['shift']());}catch(_0x2ae979){_0x13232a['push'](_0x13232a['shift']());}}}(_0x5507,0x6530b));function _0x5507(){var _0x3a0cfa=['3104172ycFcmA','2497210iqHWmJ','constructRootComponent','50862VSOERs','844XbeQbo','castShadow','color','app','63fzuUPs','lightComponent','1459748ROxkJY','1353470kcLJWJ','321lrZOcI','3903347aPtELg','8tylLGQ'];_0x5507=function(){return _0x3a0cfa;};return _0x5507();}function _0x387d(_0xa72099,_0x15e5e9){_0xa72099=_0xa72099-0x117;var _0x550783=_0x5507();var _0x387da0=_0x550783[_0xa72099];return _0x387da0;}class AmbientLightActor extends Actor{constructor(_0x33d0b6,_0x4c9c94=0xffffff,_0x3b6b09=0x1,_0xdcf7ab){var _0x65fb80=_0x387d;super(_0x33d0b6,_0xdcf7ab),this[_0x65fb80(0x119)]=null,this['lightComponent']=this['rootComponent'],this[_0x65fb80(0x119)]&&(this[_0x65fb80(0x119)][_0x65fb80(0x125)]=_0x4c9c94,this[_0x65fb80(0x119)]['intensity']=_0x3b6b09,this['lightComponent'][_0x65fb80(0x124)]=!![]),this[_0x65fb80(0x119)][_0x65fb80(0x124)]=!![];}[_0x50686e(0x121)](){var _0x595545=_0x50686e;return new AmbientLightComponent(this[_0x595545(0x117)]);}}
|
|
110
119
|
|
|
111
|
-
(function(
|
|
120
|
+
(function(_0x3b636e,_0x18444f){var _0x379e9e=_0xd6b5,_0xd0d920=_0x3b636e();while(!![]){try{var _0x452559=-parseInt(_0x379e9e(0x154))/0x1+-parseInt(_0x379e9e(0x150))/0x2+-parseInt(_0x379e9e(0x153))/0x3*(-parseInt(_0x379e9e(0x155))/0x4)+parseInt(_0x379e9e(0x152))/0x5*(-parseInt(_0x379e9e(0x14e))/0x6)+parseInt(_0x379e9e(0x14f))/0x7+-parseInt(_0x379e9e(0x151))/0x8+parseInt(_0x379e9e(0x156))/0x9;if(_0x452559===_0x18444f)break;else _0xd0d920['push'](_0xd0d920['shift']());}catch(_0x1fbbad){_0xd0d920['push'](_0xd0d920['shift']());}}}(_0x2cce,0x3a53a));function _0x2cce(){var _0x38aa49=['14586LPRHwH','142558bUggbV','196VedPPV','5057055BbDWNk','24lKTJoY','541611zqufFq','188650eKuMgb','2279496PoCVhB','145975uvfFAv'];_0x2cce=function(){return _0x38aa49;};return _0x2cce();}function _0xd6b5(_0x3ac93c,_0x1477f7){_0x3ac93c=_0x3ac93c-0x14e;var _0x2cce17=_0x2cce();var _0xd6b56a=_0x2cce17[_0x3ac93c];return _0xd6b56a;}class BoxComponent extends MeshComponent{constructor(_0x425530,_0x3cb4eb=0x1,_0x3f5208=0x1,_0x1d4dd6=0x1,_0x2f8c6b=0x1,_0x559847=0x1,_0x4bd93d=0x1,_0x40807a=new webgpu.MeshStandardMaterial(),_0x1ab74d){super(_0x425530,new webgpu.BoxGeometry(_0x3cb4eb,_0x3f5208,_0x1d4dd6,_0x2f8c6b,_0x559847,_0x4bd93d),_0x40807a,_0x1ab74d);}}
|
|
112
121
|
|
|
113
|
-
|
|
122
|
+
var _0x1813e1=_0x2c67;(function(_0x5d57c0,_0x4e3e59){var _0x2c704a=_0x2c67,_0x1e61f8=_0x5d57c0();while(!![]){try{var _0x285293=-parseInt(_0x2c704a(0x1cd))/0x1*(-parseInt(_0x2c704a(0x1c3))/0x2)+parseInt(_0x2c704a(0x1cc))/0x3+-parseInt(_0x2c704a(0x1ce))/0x4+parseInt(_0x2c704a(0x1cb))/0x5*(parseInt(_0x2c704a(0x1cf))/0x6)+-parseInt(_0x2c704a(0x1c6))/0x7*(-parseInt(_0x2c704a(0x1c4))/0x8)+-parseInt(_0x2c704a(0x1c9))/0x9*(-parseInt(_0x2c704a(0x1c8))/0xa)+-parseInt(_0x2c704a(0x1ca))/0xb;if(_0x285293===_0x4e3e59)break;else _0x1e61f8['push'](_0x1e61f8['shift']());}catch(_0x5c5640){_0x1e61f8['push'](_0x1e61f8['shift']());}}}(_0x10e2,0x523f4));function _0x10e2(){var _0x27953c=['8470110KVUNTU','3970LYtKKY','1207374dRmiSh','376lGFQgK','1448112mKnkYt','2136LwZScx','app','858uEOxRa','16JeBDAs','uuid','1942444SijvfP','constructRootComponent','11640RNSchL','522dhAYse'];_0x10e2=function(){return _0x27953c;};return _0x10e2();}function _0x2c67(_0x4dacaf,_0x4b9591){_0x4dacaf=_0x4dacaf-0x1c2;var _0x10e215=_0x10e2();var _0x2c670e=_0x10e215[_0x4dacaf];return _0x2c670e;}class BoxActor extends Actor{constructor(_0x486471,_0x21dce1){super(_0x486471,_0x21dce1);}[_0x1813e1(0x1c7)](){var _0x1d30ff=_0x1813e1;return new BoxComponent(this[_0x1d30ff(0x1c2)],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x1d30ff(0x1c5)]);}}
|
|
114
123
|
|
|
115
|
-
|
|
124
|
+
const _0x41c0d3=_0x5412;(function(_0x596ec9,_0x340e15){const _0x43be7c=_0x5412,_0x5a9401=_0x596ec9();while(!![]){try{const _0x139030=-parseInt(_0x43be7c(0x142))/0x1+parseInt(_0x43be7c(0x139))/0x2*(parseInt(_0x43be7c(0x135))/0x3)+parseInt(_0x43be7c(0x13b))/0x4+parseInt(_0x43be7c(0x131))/0x5+parseInt(_0x43be7c(0x13d))/0x6+-parseInt(_0x43be7c(0x137))/0x7+-parseInt(_0x43be7c(0x147))/0x8;if(_0x139030===_0x340e15)break;else _0x5a9401['push'](_0x5a9401['shift']());}catch(_0xc31855){_0x5a9401['push'](_0x5a9401['shift']());}}}(_0x288f,0x322ad));function _0x5412(_0x147615,_0x4af8c7){_0x147615=_0x147615-0x131;const _0x288f36=_0x288f();let _0x54123a=_0x288f36[_0x147615];return _0x54123a;}function _0x288f(){const _0x333207=['value','179120KhpaJm','sunPosition','mieDirectionalG','createDefaultObject','markRenderStateDirty','4034160OdtMaI','skyParam','1907490vlHnwy','threeObject','obj','degToRad','230490ghesew','elevation','875147ZWKHVE','three\x20object\x20is\x20invalid','2hppgwV','azimuth','590756bIsYCs','updateSky','2447274cktYeX','rayleigh','mieCoefficient','disposeMeshResource'];_0x288f=function(){return _0x333207;};return _0x288f();}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x41c0d3(0x132)](){const _0x27ef21=_0x41c0d3;if(!this[_0x27ef21(0x133)])throw Error(_0x27ef21(0x138));return this[_0x27ef21(0x133)];}set[_0x41c0d3(0x132)](_0x3cefa1){const _0x2d7c92=_0x41c0d3;this['obj']=_0x3cefa1,this[_0x2d7c92(0x133)]&&(this[_0x2d7c92(0x133)]['userData']['LYObject']=this);}constructor(_0x376a7b,_0x56398f,_0x50ac96){const _0x3c3fd4=_0x41c0d3;super(_0x376a7b,_0x50ac96),this[_0x3c3fd4(0x148)]=DefaultSkyParam,this['sunPosition']=new webgpu.Vector3(),_0x56398f&&(this[_0x3c3fd4(0x148)]=_0x56398f),this[_0x3c3fd4(0x13c)]();}[_0x41c0d3(0x145)](){return new SkyMesh_js.SkyMesh();}[_0x41c0d3(0x13c)](){const _0x151412=_0x41c0d3;var _0x1be7cb,_0x305ea4;this['threeObject']['turbidity'][_0x151412(0x141)]=this[_0x151412(0x148)]['turbidity'],this[_0x151412(0x132)][_0x151412(0x13e)][_0x151412(0x141)]=this[_0x151412(0x148)][_0x151412(0x13e)],this[_0x151412(0x132)][_0x151412(0x13f)][_0x151412(0x141)]=this[_0x151412(0x148)][_0x151412(0x13f)],this[_0x151412(0x132)][_0x151412(0x144)]['value']=this[_0x151412(0x148)][_0x151412(0x144)];const _0x24c6c4=webgpu.MathUtils[_0x151412(0x134)](0x5a-this[_0x151412(0x148)][_0x151412(0x136)]),_0xc75ff0=webgpu.MathUtils[_0x151412(0x134)](this['skyParam'][_0x151412(0x13a)]);this[_0x151412(0x143)]['setFromSphericalCoords'](0x1,_0x24c6c4,_0xc75ff0),this[_0x151412(0x132)][_0x151412(0x143)][_0x151412(0x141)]['copy'](this['sunPosition']),(_0x305ea4=(_0x1be7cb=this['world'])===null||_0x1be7cb===void 0?void 0:_0x1be7cb['viewport'])===null||_0x305ea4===void 0?void 0:_0x305ea4[_0x151412(0x146)]();}['destroyObject'](){const _0x1c4af0=_0x41c0d3;this[_0x1c4af0(0x133)]&&ThreeObjectLibrary[_0x1c4af0(0x140)](this['threeObject']);}}
|
|
116
125
|
|
|
117
|
-
(function(
|
|
126
|
+
var _0x5c3c60=_0x2d2d;(function(_0x50867a,_0x197c40){var _0x14224a=_0x2d2d,_0x3ac5c5=_0x50867a();while(!![]){try{var _0x1ea80b=parseInt(_0x14224a(0x80))/0x1+-parseInt(_0x14224a(0x79))/0x2+-parseInt(_0x14224a(0x7a))/0x3+parseInt(_0x14224a(0x7e))/0x4*(-parseInt(_0x14224a(0x77))/0x5)+parseInt(_0x14224a(0x7d))/0x6+parseInt(_0x14224a(0x82))/0x7*(parseInt(_0x14224a(0x86))/0x8)+parseInt(_0x14224a(0x7c))/0x9;if(_0x1ea80b===_0x197c40)break;else _0x3ac5c5['push'](_0x3ac5c5['shift']());}catch(_0x5e73e8){_0x3ac5c5['push'](_0x3ac5c5['shift']());}}}(_0x4b2b,0x81c9c));function _0x2d2d(_0x7eacba,_0x32ced9){_0x7eacba=_0x7eacba-0x75;var _0x4b2b14=_0x4b2b();var _0x2d2d7d=_0x4b2b14[_0x7eacba];return _0x2d2d7d;}class SkyActor extends Actor{constructor(_0x1cf5be,_0x36225a){var _0x15f028=_0x2d2d;super(_0x1cf5be,_0x36225a),this[_0x15f028(0x84)]='SkyActor',this[_0x15f028(0x83)]=null,this[_0x15f028(0x7b)]=_0x15f028(0x81),this[_0x15f028(0x83)]=this[_0x15f028(0x75)],this[_0x15f028(0x75)]['name']=this[_0x15f028(0x75)][_0x15f028(0x7b)]+_0x15f028(0x7f),this[_0x15f028(0x85)](0xafc8,0xafc8,0xafc8);}[_0x5c3c60(0x76)](){var _0x57263c=_0x5c3c60;return new SkyComponent(this[_0x57263c(0x78)]);}}function _0x4b2b(){var _0x6d6840=['1149048CJHXhR','(Root)','484877vlxWfU','SkyActor','492905adNCvc','skyComponent','_name','setScale','80dOQZQc','rootComponent','constructRootComponent','15mQTAFa','app','584602DzwkGD','642435ouGNQQ','name','1968354JmOgiM','2952666TEkgAF'];_0x4b2b=function(){return _0x6d6840;};return _0x4b2b();}
|
|
118
127
|
|
|
119
|
-
var
|
|
128
|
+
function _0x2100(_0x450171,_0x2a9876){_0x450171=_0x450171-0x8b;var _0x5be837=_0x5be8();var _0x210068=_0x5be837[_0x450171];return _0x210068;}function _0x5be8(){var _0x1c00ea=['6660QNFmmH','1542GYPFmR','19358388vXnVrS','360494nabqef','2600790VGBqTu','2aXplmo','4745846Heaxch','5722648ogmKep','4858030SKNnCZ'];_0x5be8=function(){return _0x1c00ea;};return _0x5be8();}(function(_0x48a6bc,_0x319d00){var _0x2a0365=_0x2100,_0xd5455d=_0x48a6bc();while(!![]){try{var _0x39abe0=-parseInt(_0x2a0365(0x8e))/0x1*(parseInt(_0x2a0365(0x8c))/0x2)+-parseInt(_0x2a0365(0x93))/0x3*(-parseInt(_0x2a0365(0x92))/0x4)+-parseInt(_0x2a0365(0x91))/0x5+parseInt(_0x2a0365(0x8d))/0x6+-parseInt(_0x2a0365(0x8f))/0x7+-parseInt(_0x2a0365(0x90))/0x8+parseInt(_0x2a0365(0x8b))/0x9;if(_0x39abe0===_0x319d00)break;else _0xd5455d['push'](_0xd5455d['shift']());}catch(_0x58b7b7){_0xd5455d['push'](_0xd5455d['shift']());}}}(_0x5be8,0xae82e));class PlaneComponent extends MeshComponent{constructor(_0x252b20,_0x5b69b8,_0x25f5ac,_0x491d0b,_0x10537a=0x1,_0x51bed6=0x1,_0x4d938f){super(_0x252b20,new webgpu.PlaneGeometry(_0x5b69b8,_0x25f5ac,_0x10537a,_0x51bed6),_0x491d0b,_0x4d938f);}}
|
|
120
129
|
|
|
121
|
-
const _0x4bedf6=_0x4789;(function(_0x525dfa,_0x2b7b76){const _0x50f958=_0x4789,_0x282fa9=_0x525dfa();while(!![]){try{const _0x48d89d=parseInt(_0x50f958(0x17c))/0x1+-parseInt(_0x50f958(0x176))/0x2*(-parseInt(_0x50f958(0x19c))/0x3)+parseInt(_0x50f958(0x172))/0x4+-parseInt(_0x50f958(0x175))/0x5*(parseInt(_0x50f958(0x177))/0x6)+parseInt(_0x50f958(0x186))/0x7+-parseInt(_0x50f958(0x16f))/0x8+parseInt(_0x50f958(0x184))/0x9*(parseInt(_0x50f958(0x1a0))/0xa);if(_0x48d89d===_0x2b7b76)break;else _0x282fa9['push'](_0x282fa9['shift']());}catch(_0x4194b7){_0x282fa9['push'](_0x282fa9['shift']());}}}(_0x4efa,0x7209a));function _0x4789(_0x4531ac,_0x278bcb){_0x4531ac=_0x4531ac-0x165;const _0x4efa25=_0x4efa();let _0x4789e0=_0x4efa25[_0x4531ac];return _0x4789e0;}function _0x4efa(){const _0x4bfab3=['release','geometry','castShadow','markRenderStateDirty','removeFromParent','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','getBounds','threeObject','app','reverse','geometryPtr\x20is\x20null','warn','push','colors','5986800DSiMHk','name','getCenter','3045480QYXrXP','CustomMeshComponent','computeUVs','379685iXoWDy','159742KgwZed','66uqMjWz','calculatePolygonArea','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','length','getBoundsCenterPosition','231605rNEkdo','abs','min','addRef','computeVertexNormals','vertices','_meshData','assetManager','9aMzpRu','constructGeometry','3368449qjKKdI','CustomMeshComponent:\x20Invalid\x20vertices\x20data','CustomMeshComponent:\x20threeObject\x20is\x20null','destroyObject','obj','material\x20is\x20null','geometryPtr','max','viewport','indices','getBoundsBottomCenterPosition','meshData','setAttribute','receiveShadow','error','normals','_materialPtr','materialPtr\x20is\x20null','normal','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','setIndex','world','3WNqsWg','log','material','uvs','4967020KXEzli','getValue','map','materialPtr','LYObject','addMaterialAsset','_geometryPtr','clone'];_0x4efa=function(){return _0x4bfab3;};return _0x4efa();}class CustomMeshComponent extends SceneComponent{get[_0x4bedf6(0x168)](){const _0x21ce85=_0x4bedf6;if(!this[_0x21ce85(0x18a)])throw new Error(_0x21ce85(0x188));return this[_0x21ce85(0x18a)];}set['threeObject'](_0x512842){const _0x3c5eb9=_0x4bedf6;this[_0x3c5eb9(0x18a)]=_0x512842,this[_0x3c5eb9(0x18a)]&&(this['obj']['userData'][_0x3c5eb9(0x1a4)]=this);}get[_0x4bedf6(0x1a9)](){const _0x3a2e44=_0x4bedf6;if(!this[_0x3a2e44(0x1a6)])throw new Error(_0x3a2e44(0x16b));return this['_geometryPtr'][_0x3a2e44(0x1a1)]();}set['geometry'](_0x3fc824){const _0x164ad2=_0x4bedf6;let _0x4dd95a=this[_0x164ad2(0x169)][_0x164ad2(0x183)]['addGeometryAsset'](_0x3fc824);this[_0x164ad2(0x18c)]=_0x4dd95a;}get[_0x4bedf6(0x18c)](){const _0x299307=_0x4bedf6;if(!this[_0x299307(0x1a6)])throw new Error(_0x299307(0x16b));return this[_0x299307(0x1a6)];}set[_0x4bedf6(0x18c)](_0x5659ea){const _0x12b7b8=_0x4bedf6;this[_0x12b7b8(0x1a6)]&&(this[_0x12b7b8(0x1a6)][_0x12b7b8(0x1a8)](),this['_geometryPtr']=null);this[_0x12b7b8(0x1a6)]=_0x5659ea;let _0x5a9bfe=_0x5659ea[_0x12b7b8(0x1a1)]();this[_0x12b7b8(0x168)]&&_0x5a9bfe&&(this['threeObject']['geometry']=_0x5a9bfe);}get['material'](){const _0xa237e4=_0x4bedf6;if(!this[_0xa237e4(0x196)])throw new Error(_0xa237e4(0x197));let _0x2f5f0f=this[_0xa237e4(0x196)][_0xa237e4(0x1a1)]();if(!_0x2f5f0f)throw new Error(_0xa237e4(0x18b));return _0x2f5f0f;}get[_0x4bedf6(0x1a3)](){const _0x39d060=_0x4bedf6;if(!this[_0x39d060(0x196)])throw new Error(_0x39d060(0x197));return this[_0x39d060(0x196)];}set['material'](_0x5164be){const _0x211aaf=_0x4bedf6;let _0x5ae0f9=this['app'][_0x211aaf(0x183)][_0x211aaf(0x1a5)](_0x5164be);this[_0x211aaf(0x1a3)]=_0x5ae0f9;}set['materialPtr'](_0x52bfdb){const _0x114e76=_0x4bedf6;this['_materialPtr']&&(this[_0x114e76(0x196)][_0x114e76(0x1a8)](),this['_materialPtr']=null);this[_0x114e76(0x196)]=_0x52bfdb;let _0x5985e0=_0x52bfdb['getValue']();_0x52bfdb['addRef'](),this[_0x114e76(0x168)]&&_0x5985e0&&(this['threeObject'][_0x114e76(0x19e)]=_0x5985e0);}constructor(_0x5db338,_0x156a10,_0x1bf196,_0x595c3a){const _0x1a84b1=_0x4bedf6;super(_0x5db338,_0x595c3a),this['_meshData']=_0x156a10;let _0xb3a92e=_0x5db338[_0x1a84b1(0x183)][_0x1a84b1(0x1a5)](_0x1bf196);this[_0x1a84b1(0x196)]=_0xb3a92e,_0xb3a92e[_0x1a84b1(0x17f)]();const _0x594b35=this['constructGeometry'](_0x156a10);this[_0x1a84b1(0x1a6)]=_0x5db338[_0x1a84b1(0x183)]['addGeometryAsset'](_0x594b35),this[_0x1a84b1(0x168)][_0x1a84b1(0x19e)]=_0x1bf196,this[_0x1a84b1(0x168)][_0x1a84b1(0x1a9)]=_0x594b35,this[_0x1a84b1(0x170)]=_0x1a84b1(0x173),this[_0x1a84b1(0x1aa)]=!![],this[_0x1a84b1(0x193)]=!![];}[_0x4bedf6(0x174)](_0x204969){const _0x51241c=_0x4bedf6,_0x116437=new Float32Array(_0x204969[_0x51241c(0x17a)]*0x2);if(_0x204969['length']===0x0)return _0x116437;let _0x425253=Infinity,_0x1d8612=-Infinity,_0x1807ca=Infinity,_0x764951=-Infinity,_0x32d117=Infinity,_0x2cc965=-Infinity;for(const _0x2048cc of _0x204969){_0x425253=Math[_0x51241c(0x17e)](_0x425253,_0x2048cc['x']),_0x1d8612=Math[_0x51241c(0x18d)](_0x1d8612,_0x2048cc['x']),_0x1807ca=Math[_0x51241c(0x17e)](_0x1807ca,_0x2048cc['y']),_0x764951=Math['max'](_0x764951,_0x2048cc['y']),_0x32d117=Math[_0x51241c(0x17e)](_0x32d117,_0x2048cc['z']),_0x2cc965=Math[_0x51241c(0x18d)](_0x2cc965,_0x2048cc['z']);}const _0x29dadf=_0x1d8612-_0x425253,_0x289904=_0x764951-_0x1807ca,_0x2d73d2=_0x2cc965-_0x32d117;let _0x3f01e0,_0x4f284c,_0x589544,_0x30966d,_0x5385a3,_0x462c2c;if(_0x29dadf<=_0x289904&&_0x29dadf<=_0x2d73d2)_0x3f01e0='y',_0x4f284c='z',_0x589544=_0x1807ca,_0x30966d=_0x289904,_0x5385a3=_0x32d117,_0x462c2c=_0x2d73d2;else _0x289904<=_0x29dadf&&_0x289904<=_0x2d73d2?(_0x3f01e0='x',_0x4f284c='z',_0x589544=_0x425253,_0x30966d=_0x29dadf,_0x5385a3=_0x32d117,_0x462c2c=_0x2d73d2):(_0x3f01e0='x',_0x4f284c='y',_0x589544=_0x425253,_0x30966d=_0x29dadf,_0x5385a3=_0x1807ca,_0x462c2c=_0x289904);if(_0x30966d===0x0)_0x30966d=0x1;if(_0x462c2c===0x0)_0x462c2c=0x1;for(let _0x173d9a=0x0;_0x173d9a<_0x204969[_0x51241c(0x17a)];_0x173d9a++){const _0x43e9fe=_0x204969[_0x173d9a],_0x2234a1=(_0x43e9fe[_0x3f01e0]-_0x589544)/_0x30966d,_0xabdfa8=(_0x43e9fe[_0x4f284c]-_0x5385a3)/_0x462c2c;_0x116437[_0x173d9a*0x2]=_0x2234a1,_0x116437[_0x173d9a*0x2+0x1]=_0xabdfa8;}return _0x116437;}['calculatePolygonArea'](_0x53e93b){const _0x2f1e79=_0x4bedf6;let _0x34efaf=0x0;const _0x2413f4=_0x53e93b[_0x2f1e79(0x17a)]/0x2;for(let _0x3385ed=0x0;_0x3385ed<_0x2413f4;_0x3385ed++){const _0x355c17=(_0x3385ed+0x1)%_0x2413f4,_0xc98a7=_0x53e93b[_0x3385ed*0x2],_0x3771a=_0x53e93b[_0x3385ed*0x2+0x1],_0x2f31bd=_0x53e93b[_0x355c17*0x2],_0x23f1da=_0x53e93b[_0x355c17*0x2+0x1];_0x34efaf+=_0xc98a7*_0x23f1da-_0x2f31bd*_0x3771a;}return _0x34efaf/0x2;}[_0x4bedf6(0x185)](_0x33a87c){const _0x51b814=_0x4bedf6,_0x51fb73=new webgpu.BufferGeometry();if(!_0x33a87c[_0x51b814(0x181)]||_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]===0x0)return console[_0x51b814(0x194)](_0x51b814(0x187)),_0x51fb73;const _0x51f047=new Float32Array(_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]*0x3);for(let _0x2f7f31=0x0;_0x2f7f31<_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)];_0x2f7f31++){_0x51f047[_0x2f7f31*0x3]=_0x33a87c[_0x51b814(0x181)][_0x2f7f31]['x'],_0x51f047[_0x2f7f31*0x3+0x1]=_0x33a87c[_0x51b814(0x181)][_0x2f7f31]['y'],_0x51f047[_0x2f7f31*0x3+0x2]=_0x33a87c[_0x51b814(0x181)][_0x2f7f31]['z'];}_0x51fb73[_0x51b814(0x192)]('position',new webgpu.Float32BufferAttribute(_0x51f047,0x3));if(_0x33a87c[_0x51b814(0x18f)]&&_0x33a87c[_0x51b814(0x18f)][_0x51b814(0x17a)]>0x0)_0x51fb73['setIndex'](_0x33a87c[_0x51b814(0x18f)]);else {const _0x2c7133=[];let _0x465848=Infinity,_0x4349d3=-Infinity,_0x5306a3=Infinity,_0x106afc=-Infinity,_0x28e1cc=Infinity,_0xd6f945=-Infinity;for(let _0x2113f1=0x0;_0x2113f1<_0x33a87c[_0x51b814(0x181)]['length'];_0x2113f1++){const _0x375523=_0x33a87c[_0x51b814(0x181)][_0x2113f1];_0x5306a3=Math[_0x51b814(0x17e)](_0x5306a3,_0x375523['x']),_0x106afc=Math[_0x51b814(0x18d)](_0x106afc,_0x375523['x']),_0x465848=Math[_0x51b814(0x17e)](_0x465848,_0x375523['y']),_0x4349d3=Math[_0x51b814(0x18d)](_0x4349d3,_0x375523['y']),_0x28e1cc=Math['min'](_0x28e1cc,_0x375523['z']),_0xd6f945=Math[_0x51b814(0x18d)](_0xd6f945,_0x375523['z']);}const _0x1f8661=_0x106afc-_0x5306a3,_0x36d63c=_0x4349d3-_0x465848,_0x4d1484=_0xd6f945-_0x28e1cc;let _0x4ccfaf='XY';if(_0x36d63c<=_0x1f8661&&_0x36d63c<=_0x4d1484){_0x4ccfaf='XZ';for(let _0x5b9180=0x0;_0x5b9180<_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)];_0x5b9180++){_0x2c7133[_0x51b814(0x16d)](_0x33a87c[_0x51b814(0x181)][_0x5b9180]['x']),_0x2c7133[_0x51b814(0x16d)](_0x33a87c['vertices'][_0x5b9180]['z']);}}else {if(_0x1f8661<=_0x36d63c&&_0x1f8661<=_0x4d1484){_0x4ccfaf='YZ';for(let _0x1a579f=0x0;_0x1a579f<_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)];_0x1a579f++){_0x2c7133[_0x51b814(0x16d)](_0x33a87c['vertices'][_0x1a579f]['y']),_0x2c7133[_0x51b814(0x16d)](_0x33a87c[_0x51b814(0x181)][_0x1a579f]['z']);}}else {_0x4ccfaf='XY';for(let _0x173f68=0x0;_0x173f68<_0x33a87c[_0x51b814(0x181)]['length'];_0x173f68++){_0x2c7133[_0x51b814(0x16d)](_0x33a87c[_0x51b814(0x181)][_0x173f68]['x']),_0x2c7133[_0x51b814(0x16d)](_0x33a87c['vertices'][_0x173f68]['y']);}}}const _0x5672e5=this[_0x51b814(0x178)](_0x2c7133),_0x4f6cf9=_0x5672e5<0x0;if(_0x4f6cf9){console[_0x51b814(0x16c)](_0x51b814(0x179)),_0x2c7133[_0x51b814(0x16a)]();const _0x1c27d7=[];for(let _0x5a824d=_0x2c7133[_0x51b814(0x17a)]-0x2;_0x5a824d>=0x0;_0x5a824d-=0x2){_0x1c27d7[_0x51b814(0x16d)](_0x2c7133[_0x5a824d],_0x2c7133[_0x5a824d+0x1]);}_0x2c7133[_0x51b814(0x17a)]=0x0,_0x2c7133['push'](..._0x1c27d7);}try{const _0x9ba52a=_0x4f7708(_0x2c7133,undefined,0x2);if(_0x9ba52a&&_0x9ba52a[_0x51b814(0x17a)]>0x0){if(_0x4f6cf9)for(let _0x21f419=0x0;_0x21f419<_0x9ba52a[_0x51b814(0x17a)];_0x21f419+=0x3){const _0x186586=_0x9ba52a[_0x21f419];_0x9ba52a[_0x21f419]=_0x9ba52a[_0x21f419+0x2],_0x9ba52a[_0x21f419+0x2]=_0x186586;}_0x51fb73[_0x51b814(0x19a)](_0x9ba52a),console[_0x51b814(0x19d)](_0x51b814(0x166),{'planeType':_0x4ccfaf,'vertexCount':_0x33a87c[_0x51b814(0x181)]['length'],'triangleCount':_0x9ba52a['length']/0x3,'area':Math[_0x51b814(0x17d)](_0x5672e5),'wasClockwise':_0x4f6cf9,'indices':Array['from'](_0x9ba52a)});}else console['warn']('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x5b35e1){console['error'](_0x51b814(0x199),_0x5b35e1);}}if(_0x33a87c[_0x51b814(0x195)]&&_0x33a87c[_0x51b814(0x195)][_0x51b814(0x17a)]===_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]){const _0x2b53c9=new Float32Array(_0x33a87c['normals']['length']*0x3);for(let _0x134cde=0x0;_0x134cde<_0x33a87c[_0x51b814(0x195)][_0x51b814(0x17a)];_0x134cde++){_0x2b53c9[_0x134cde*0x3]=_0x33a87c[_0x51b814(0x195)][_0x134cde]['x'],_0x2b53c9[_0x134cde*0x3+0x1]=_0x33a87c[_0x51b814(0x195)][_0x134cde]['y'],_0x2b53c9[_0x134cde*0x3+0x2]=_0x33a87c[_0x51b814(0x195)][_0x134cde]['z'];}_0x51fb73[_0x51b814(0x192)](_0x51b814(0x198),new webgpu.Float32BufferAttribute(_0x2b53c9,0x3));}else _0x51fb73[_0x51b814(0x180)]();if(_0x33a87c[_0x51b814(0x19f)]&&_0x33a87c[_0x51b814(0x19f)][_0x51b814(0x17a)]>0x0){const _0x2bc0fe=new Float32Array(_0x33a87c[_0x51b814(0x19f)][_0x51b814(0x17a)]*0x2);for(let _0x443a09=0x0;_0x443a09<_0x33a87c[_0x51b814(0x19f)][_0x51b814(0x17a)];_0x443a09++){_0x2bc0fe[_0x443a09*0x2]=_0x33a87c[_0x51b814(0x19f)][_0x443a09]['x'],_0x2bc0fe[_0x443a09*0x2+0x1]=_0x33a87c['uvs'][_0x443a09]['y'];}_0x51fb73[_0x51b814(0x192)]('uv',new webgpu.Float32BufferAttribute(_0x2bc0fe,0x2));}else {const _0x4645bc=this['computeUVs'](_0x33a87c[_0x51b814(0x181)]);_0x51fb73['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x4645bc,0x2));}if(_0x33a87c[_0x51b814(0x16e)]&&_0x33a87c[_0x51b814(0x16e)][_0x51b814(0x17a)]===_0x33a87c[_0x51b814(0x181)][_0x51b814(0x17a)]){const _0x46c0c3=new Float32Array(_0x33a87c[_0x51b814(0x16e)]['length']*0x3);for(let _0x2fc5a4=0x0;_0x2fc5a4<_0x33a87c[_0x51b814(0x16e)][_0x51b814(0x17a)];_0x2fc5a4++){_0x46c0c3[_0x2fc5a4*0x3]=_0x33a87c[_0x51b814(0x16e)][_0x2fc5a4]['r'],_0x46c0c3[_0x2fc5a4*0x3+0x1]=_0x33a87c[_0x51b814(0x16e)][_0x2fc5a4]['g'],_0x46c0c3[_0x2fc5a4*0x3+0x2]=_0x33a87c['colors'][_0x2fc5a4]['b'];}_0x51fb73[_0x51b814(0x192)]('color',new webgpu.Float32BufferAttribute(_0x46c0c3,0x3));}return _0x51fb73;}set[_0x4bedf6(0x191)](_0x49f790){const _0x31a185=_0x4bedf6;var _0x5358d8,_0x2d40eb,_0x18cf1c;this[_0x31a185(0x1a6)]&&this[_0x31a185(0x1a6)]['release']();const _0x1e509c=this[_0x31a185(0x185)](_0x49f790);this[_0x31a185(0x1a6)]=this[_0x31a185(0x169)][_0x31a185(0x183)]['addGeometryAsset'](_0x1e509c),this[_0x31a185(0x168)]['geometry']=_0x1e509c,this[_0x31a185(0x182)]={'vertices':_0x49f790[_0x31a185(0x181)]['map'](_0x1b7b02=>_0x1b7b02[_0x31a185(0x1a7)]()),'indices':_0x49f790[_0x31a185(0x18f)]?[..._0x49f790[_0x31a185(0x18f)]]:undefined,'normals':(_0x5358d8=_0x49f790[_0x31a185(0x195)])===null||_0x5358d8===void 0?void 0:_0x5358d8['map'](_0x2d4973=>_0x2d4973['clone']()),'uvs':(_0x2d40eb=_0x49f790[_0x31a185(0x19f)])===null||_0x2d40eb===void 0?void 0:_0x2d40eb[_0x31a185(0x1a2)](_0x27d2bf=>_0x27d2bf[_0x31a185(0x1a7)]()),'colors':(_0x18cf1c=_0x49f790[_0x31a185(0x16e)])===null||_0x18cf1c===void 0?void 0:_0x18cf1c[_0x31a185(0x1a2)](_0x126f63=>_0x126f63[_0x31a185(0x1a7)]())},this[_0x31a185(0x19b)]&&this[_0x31a185(0x19b)][_0x31a185(0x18e)][_0x31a185(0x1ab)]();}get[_0x4bedf6(0x191)](){const _0x4ad393=_0x4bedf6;return this[_0x4ad393(0x182)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x4bedf6(0x1aa)](_0x3b572f){const _0x1ef3a8=_0x4bedf6;if(this['threeObject'])this[_0x1ef3a8(0x168)][_0x1ef3a8(0x1aa)]=_0x3b572f;}get[_0x4bedf6(0x1aa)](){const _0x1dfd9e=_0x4bedf6;return this[_0x1dfd9e(0x168)]?this[_0x1dfd9e(0x168)][_0x1dfd9e(0x1aa)]:![];}set[_0x4bedf6(0x193)](_0x52d1fd){const _0x28ed0c=_0x4bedf6;if(!this[_0x28ed0c(0x168)])return;this['threeObject'][_0x28ed0c(0x193)]=_0x52d1fd;}get[_0x4bedf6(0x193)](){const _0x2371a8=_0x4bedf6;return this[_0x2371a8(0x168)]?this[_0x2371a8(0x168)]['receiveShadow']:![];}[_0x4bedf6(0x17b)](){const _0x2c0d33=_0x4bedf6;let _0x5448ab=new webgpu.Vector3();return this[_0x2c0d33(0x167)]()[_0x2c0d33(0x171)](_0x5448ab),_0x5448ab;}['getBoundsTopCenterPosition'](){const _0x48d165=_0x4bedf6;let _0x4cfa85=new webgpu.Vector3(),_0x156f20=this['getBounds']();return _0x156f20[_0x48d165(0x171)](_0x4cfa85),_0x4cfa85['y']=_0x156f20[_0x48d165(0x18d)]['y'],_0x4cfa85;}[_0x4bedf6(0x190)](){const _0x3c940c=_0x4bedf6;let _0x289a8a=new webgpu.Vector3(),_0x3d242b=this[_0x3c940c(0x167)]();return _0x3d242b['getCenter'](_0x289a8a),_0x289a8a['y']=_0x3d242b[_0x3c940c(0x17e)]['y'],_0x289a8a;}[_0x4bedf6(0x189)](){const _0x51a0d1=_0x4bedf6;var _0x42a0b7,_0x54da9a;this['threeObject']&&this[_0x51a0d1(0x168)][_0x51a0d1(0x165)](),(_0x42a0b7=this[_0x51a0d1(0x1a6)])===null||_0x42a0b7===void 0?void 0:_0x42a0b7[_0x51a0d1(0x1a8)](),(_0x54da9a=this[_0x51a0d1(0x196)])===null||_0x54da9a===void 0?void 0:_0x54da9a[_0x51a0d1(0x1a8)](),super['destroyObject']();}}
|
|
130
|
+
var _0x14fa0e=_0xddf4;(function(_0x416f8d,_0x2795af){var _0x45f1c4=_0xddf4,_0x1c53f2=_0x416f8d();while(!![]){try{var _0x358d4b=-parseInt(_0x45f1c4(0x7b))/0x1+parseInt(_0x45f1c4(0x85))/0x2*(parseInt(_0x45f1c4(0x83))/0x3)+parseInt(_0x45f1c4(0x84))/0x4*(parseInt(_0x45f1c4(0x7e))/0x5)+parseInt(_0x45f1c4(0x7d))/0x6*(parseInt(_0x45f1c4(0x82))/0x7)+parseInt(_0x45f1c4(0x7a))/0x8+parseInt(_0x45f1c4(0x81))/0x9*(parseInt(_0x45f1c4(0x79))/0xa)+-parseInt(_0x45f1c4(0x7f))/0xb;if(_0x358d4b===_0x2795af)break;else _0x1c53f2['push'](_0x1c53f2['shift']());}catch(_0x31b14){_0x1c53f2['push'](_0x1c53f2['shift']());}}}(_0x4b24,0x5cbb7));function _0xddf4(_0x1f5bad,_0x19781d){_0x1f5bad=_0x1f5bad-0x77;var _0x4b244a=_0x4b24();var _0xddf4f7=_0x4b244a[_0x1f5bad];return _0xddf4f7;}function _0x4b24(){var _0x3c6409=['19858003qGEqQB','constructRootComponent','39915IctVaI','7LsMfFh','4380YqYTrG','5548enfWSS','608Afhntf','app','uuid','1030QbyVVr','4672184ZhaEUE','674240qExPLM','destroy','4028802obHySZ','2535dBRyEB'];_0x4b24=function(){return _0x3c6409;};return _0x4b24();}class PlaneActor extends Actor{constructor(_0x1539ba,_0x19b355){super(_0x1539ba,_0x19b355);}[_0x14fa0e(0x80)](){var _0x4a03f4=_0x14fa0e;return new PlaneComponent(this[_0x4a03f4(0x77)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x4a03f4(0x78)]);}[_0x14fa0e(0x7c)](){super['destroy']();}}
|
|
122
131
|
|
|
123
|
-
(function(_0x2e6ebe,_0x14ae85){var _0x414b30=_0x4509,_0x4ec771=_0x2e6ebe();while(!![]){try{var _0x198609=-parseInt(_0x414b30(0xe5))/0x1+-parseInt(_0x414b30(0xe4))/0x2*(parseInt(_0x414b30(0xea))/0x3)+parseInt(_0x414b30(0xe2))/0x4*(-parseInt(_0x414b30(0xe1))/0x5)+parseInt(_0x414b30(0xeb))/0x6+parseInt(_0x414b30(0xe3))/0x7*(-parseInt(_0x414b30(0xec))/0x8)+parseInt(_0x414b30(0xe9))/0x9*(parseInt(_0x414b30(0xe6))/0xa)+parseInt(_0x414b30(0xe8))/0xb*(parseInt(_0x414b30(0xe7))/0xc);if(_0x198609===_0x14ae85)break;else _0x4ec771['push'](_0x4ec771['shift']());}catch(_0x446af4){_0x4ec771['push'](_0x4ec771['shift']());}}}(_0x3b74,0x7d168));function _0x3b74(){var _0x5381a4=['198rmtdOt','9nKsFos','1185OhBZUZ','1596018UIgQuH','8Mmlpvc','15230JHunIR','56QKyIdJ','6180181jtNQtF','454VDzBXD','849130mRIxVt','4352570bOBqwy','1116948JLlJGS'];_0x3b74=function(){return _0x5381a4;};return _0x3b74();}function _0x4509(_0x1d8678,_0x9c4071){_0x1d8678=_0x1d8678-0xe1;var _0x3b741d=_0x3b74();var _0x4509d8=_0x3b741d[_0x1d8678];return _0x4509d8;}class SphereComponent extends MeshComponent{constructor(_0x5b28af,_0x5962af,_0x5c56f0=new webgpu.MeshBasicMaterial(),_0x3f4757=0x20,_0x110e05=0x10,_0x3efeb7){super(_0x5b28af,new webgpu.SphereGeometry(_0x5962af,_0x3f4757,_0x110e05),_0x5c56f0,_0x3efeb7);}}
|
|
132
|
+
const _0x2b479a=_0x2064;(function(_0x519bf2,_0x24d784){const _0x4508cc=_0x2064,_0x5d95e2=_0x519bf2();while(!![]){try{const _0xf13978=parseInt(_0x4508cc(0xcc))/0x1+-parseInt(_0x4508cc(0xcb))/0x2*(-parseInt(_0x4508cc(0xb5))/0x3)+-parseInt(_0x4508cc(0xeb))/0x4*(-parseInt(_0x4508cc(0xb8))/0x5)+parseInt(_0x4508cc(0xbf))/0x6*(-parseInt(_0x4508cc(0xaf))/0x7)+parseInt(_0x4508cc(0xc1))/0x8*(parseInt(_0x4508cc(0xa8))/0x9)+-parseInt(_0x4508cc(0xd3))/0xa+parseInt(_0x4508cc(0xb6))/0xb*(-parseInt(_0x4508cc(0xc6))/0xc);if(_0xf13978===_0x24d784)break;else _0x5d95e2['push'](_0x5d95e2['shift']());}catch(_0x3af1f1){_0x5d95e2['push'](_0x5d95e2['shift']());}}}(_0x5142,0x1f182));function _0x2064(_0x1bbc12,_0x1fb21a){_0x1bbc12=_0x1bbc12-0xa7;const _0x5142fe=_0x5142();let _0x20641b=_0x5142fe[_0x1bbc12];return _0x20641b;}function _0x5142(){const _0x160513=['setIndex','27HAosFS','position','threeObject','addRef','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','computeUVs','meshData','1104845Wjbjju','reverse','assetManager','getCenter','name','warn','12xftyUb','110737PhqILr','addGeometryAsset','41275wSRVtk','world','removeFromParent','getBounds','normal','normals','calculatePolygonArea','6mWZdjw','min','400024oQJjKo','setAttribute','getValue','getBoundsTopCenterPosition','uvs','60GAPeuQ','materialPtr','constructGeometry','color','createDefaultObject','67910peSAFr','39337nVaQZz','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','_geometryPtr','markRenderStateDirty','max','clone','materialPtr\x20is\x20null','1217140qJwAom','push','release','addMaterialAsset','destroyObject','material','getBoundsBottomCenterPosition','map','castShadow','viewport','colors','computeVertexNormals','obj','vertices','_meshData','material\x20is\x20null','indices','CustomMeshComponent','geometry','app','geometryPtr\x20is\x20null','_materialPtr','length','receiveShadow','64rEVaWM','geometryPtr','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','error'];_0x5142=function(){return _0x160513;};return _0x5142();}class CustomMeshComponent extends SceneComponent{get[_0x2b479a(0xaa)](){const _0x58b1bd=_0x2b479a;if(!this[_0x58b1bd(0xdf)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x58b1bd(0xdf)];}set[_0x2b479a(0xaa)](_0x4b873e){const _0x4b8641=_0x2b479a;this[_0x4b8641(0xdf)]=_0x4b873e,this[_0x4b8641(0xdf)]&&(this[_0x4b8641(0xdf)]['userData']['LYObject']=this);}get['geometry'](){const _0xa490fa=_0x2b479a;if(!this['_geometryPtr'])throw new Error(_0xa490fa(0xe7));return this[_0xa490fa(0xce)]['getValue']();}set[_0x2b479a(0xe5)](_0x1606be){const _0x3eae9f=_0x2b479a;let _0x95b7db=this[_0x3eae9f(0xe6)][_0x3eae9f(0xb1)][_0x3eae9f(0xb7)](_0x1606be);this[_0x3eae9f(0xec)]=_0x95b7db;}get[_0x2b479a(0xec)](){const _0x4e038a=_0x2b479a;if(!this[_0x4e038a(0xce)])throw new Error(_0x4e038a(0xe7));return this[_0x4e038a(0xce)];}set['geometryPtr'](_0x11ecf5){const _0x125bc1=_0x2b479a;this[_0x125bc1(0xce)]&&(this['_geometryPtr'][_0x125bc1(0xd5)](),this[_0x125bc1(0xce)]=null);this[_0x125bc1(0xce)]=_0x11ecf5;let _0x3698ef=_0x11ecf5['getValue']();this[_0x125bc1(0xaa)]&&_0x3698ef&&(this[_0x125bc1(0xaa)][_0x125bc1(0xe5)]=_0x3698ef);}get['material'](){const _0x10e212=_0x2b479a;if(!this['_materialPtr'])throw new Error(_0x10e212(0xd2));let _0x45f06f=this[_0x10e212(0xe8)][_0x10e212(0xc3)]();if(!_0x45f06f)throw new Error(_0x10e212(0xe2));return _0x45f06f;}get[_0x2b479a(0xc7)](){const _0x183164=_0x2b479a;if(!this['_materialPtr'])throw new Error(_0x183164(0xd2));return this['_materialPtr'];}set[_0x2b479a(0xd8)](_0x4cdc98){const _0x3200f5=_0x2b479a;let _0x52ad93=this[_0x3200f5(0xe6)][_0x3200f5(0xb1)]['addMaterialAsset'](_0x4cdc98);this[_0x3200f5(0xc7)]=_0x52ad93;}set[_0x2b479a(0xc7)](_0x3be799){const _0x593a2c=_0x2b479a;this[_0x593a2c(0xe8)]&&(this[_0x593a2c(0xe8)][_0x593a2c(0xd5)](),this[_0x593a2c(0xe8)]=null);this[_0x593a2c(0xe8)]=_0x3be799;let _0xf570b0=_0x3be799[_0x593a2c(0xc3)]();_0x3be799['addRef'](),this['threeObject']&&_0xf570b0&&(this['threeObject']['material']=_0xf570b0);}constructor(_0x3be4c4,_0x1fbc8b,_0x2b7359,_0x136c4a){const _0x55a3ae=_0x2b479a;super(_0x3be4c4,_0x136c4a),this[_0x55a3ae(0xe1)]=_0x1fbc8b;let _0x20864e=_0x3be4c4['assetManager'][_0x55a3ae(0xd6)](_0x2b7359);this[_0x55a3ae(0xe8)]=_0x20864e,_0x20864e[_0x55a3ae(0xab)]();const _0x34410d=this[_0x55a3ae(0xc8)](_0x1fbc8b);this[_0x55a3ae(0xce)]=_0x3be4c4[_0x55a3ae(0xb1)][_0x55a3ae(0xb7)](_0x34410d),this[_0x55a3ae(0xaa)][_0x55a3ae(0xd8)]=_0x2b7359,this[_0x55a3ae(0xaa)][_0x55a3ae(0xe5)]=_0x34410d,this[_0x55a3ae(0xb3)]=_0x55a3ae(0xe4),this['castShadow']=!![],this[_0x55a3ae(0xea)]=!![];}['computeUVs'](_0x88480c){const _0x2d67ec=_0x2b479a,_0x5d4754=new Float32Array(_0x88480c[_0x2d67ec(0xe9)]*0x2);if(_0x88480c[_0x2d67ec(0xe9)]===0x0)return _0x5d4754;let _0x5aafdc=Infinity,_0x4b7c9f=-Infinity,_0x5153ea=Infinity,_0x139873=-Infinity,_0x3e684d=Infinity,_0x120d31=-Infinity;for(const _0x4add9d of _0x88480c){_0x5aafdc=Math[_0x2d67ec(0xc0)](_0x5aafdc,_0x4add9d['x']),_0x4b7c9f=Math[_0x2d67ec(0xd0)](_0x4b7c9f,_0x4add9d['x']),_0x5153ea=Math['min'](_0x5153ea,_0x4add9d['y']),_0x139873=Math[_0x2d67ec(0xd0)](_0x139873,_0x4add9d['y']),_0x3e684d=Math[_0x2d67ec(0xc0)](_0x3e684d,_0x4add9d['z']),_0x120d31=Math['max'](_0x120d31,_0x4add9d['z']);}const _0x49003c=_0x4b7c9f-_0x5aafdc,_0x3ad644=_0x139873-_0x5153ea,_0x577649=_0x120d31-_0x3e684d;let _0x425cb2,_0x42e049,_0x325318,_0x179244,_0x5c6ef4,_0x557554;if(_0x49003c<=_0x3ad644&&_0x49003c<=_0x577649)_0x425cb2='y',_0x42e049='z',_0x325318=_0x5153ea,_0x179244=_0x3ad644,_0x5c6ef4=_0x3e684d,_0x557554=_0x577649;else _0x3ad644<=_0x49003c&&_0x3ad644<=_0x577649?(_0x425cb2='x',_0x42e049='z',_0x325318=_0x5aafdc,_0x179244=_0x49003c,_0x5c6ef4=_0x3e684d,_0x557554=_0x577649):(_0x425cb2='x',_0x42e049='y',_0x325318=_0x5aafdc,_0x179244=_0x49003c,_0x5c6ef4=_0x5153ea,_0x557554=_0x3ad644);if(_0x179244===0x0)_0x179244=0x1;if(_0x557554===0x0)_0x557554=0x1;for(let _0x472431=0x0;_0x472431<_0x88480c['length'];_0x472431++){const _0x411324=_0x88480c[_0x472431],_0x6f6bfa=(_0x411324[_0x425cb2]-_0x325318)/_0x179244,_0x407493=(_0x411324[_0x42e049]-_0x5c6ef4)/_0x557554;_0x5d4754[_0x472431*0x2]=_0x6f6bfa,_0x5d4754[_0x472431*0x2+0x1]=_0x407493;}return _0x5d4754;}[_0x2b479a(0xbe)](_0x592cb7){const _0x480d37=_0x2b479a;let _0x2f16b3=0x0;const _0x441fac=_0x592cb7[_0x480d37(0xe9)]/0x2;for(let _0xac4c14=0x0;_0xac4c14<_0x441fac;_0xac4c14++){const _0x25ccab=(_0xac4c14+0x1)%_0x441fac,_0x2cc8a3=_0x592cb7[_0xac4c14*0x2],_0x181f52=_0x592cb7[_0xac4c14*0x2+0x1],_0x535747=_0x592cb7[_0x25ccab*0x2],_0x3e5d51=_0x592cb7[_0x25ccab*0x2+0x1];_0x2f16b3+=_0x2cc8a3*_0x3e5d51-_0x535747*_0x181f52;}return _0x2f16b3/0x2;}[_0x2b479a(0xc8)](_0xec62b4){const _0x5c8092=_0x2b479a,_0x3f5e6c=new webgpu.BufferGeometry();if(!_0xec62b4[_0x5c8092(0xe0)]||_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)]===0x0)return console[_0x5c8092(0xee)]('CustomMeshComponent:\x20Invalid\x20vertices\x20data'),_0x3f5e6c;const _0x249ffc=new Float32Array(_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)]*0x3);for(let _0x2cf65f=0x0;_0x2cf65f<_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)];_0x2cf65f++){_0x249ffc[_0x2cf65f*0x3]=_0xec62b4[_0x5c8092(0xe0)][_0x2cf65f]['x'],_0x249ffc[_0x2cf65f*0x3+0x1]=_0xec62b4[_0x5c8092(0xe0)][_0x2cf65f]['y'],_0x249ffc[_0x2cf65f*0x3+0x2]=_0xec62b4['vertices'][_0x2cf65f]['z'];}_0x3f5e6c[_0x5c8092(0xc2)](_0x5c8092(0xa9),new webgpu.Float32BufferAttribute(_0x249ffc,0x3));if(_0xec62b4[_0x5c8092(0xe3)]&&_0xec62b4['indices']['length']>0x0)_0x3f5e6c[_0x5c8092(0xa7)](_0xec62b4[_0x5c8092(0xe3)]);else {const _0x56bbf2=[];let _0x67c597=Infinity,_0x2b5719=-Infinity,_0x2eeb15=Infinity,_0x30245b=-Infinity,_0x2d9de7=Infinity,_0x1f8059=-Infinity;for(let _0x1a9e8c=0x0;_0x1a9e8c<_0xec62b4[_0x5c8092(0xe0)]['length'];_0x1a9e8c++){const _0x21b09f=_0xec62b4['vertices'][_0x1a9e8c];_0x2eeb15=Math[_0x5c8092(0xc0)](_0x2eeb15,_0x21b09f['x']),_0x30245b=Math[_0x5c8092(0xd0)](_0x30245b,_0x21b09f['x']),_0x67c597=Math[_0x5c8092(0xc0)](_0x67c597,_0x21b09f['y']),_0x2b5719=Math[_0x5c8092(0xd0)](_0x2b5719,_0x21b09f['y']),_0x2d9de7=Math[_0x5c8092(0xc0)](_0x2d9de7,_0x21b09f['z']),_0x1f8059=Math['max'](_0x1f8059,_0x21b09f['z']);}const _0x95950c=_0x30245b-_0x2eeb15,_0x5c82ae=_0x2b5719-_0x67c597,_0x4c3076=_0x1f8059-_0x2d9de7;if(_0x5c82ae<=_0x95950c&&_0x5c82ae<=_0x4c3076){for(let _0xf2cc51=0x0;_0xf2cc51<_0xec62b4['vertices']['length'];_0xf2cc51++){_0x56bbf2['push'](_0xec62b4['vertices'][_0xf2cc51]['x']),_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4[_0x5c8092(0xe0)][_0xf2cc51]['z']);}}else {if(_0x95950c<=_0x5c82ae&&_0x95950c<=_0x4c3076){for(let _0x2953d1=0x0;_0x2953d1<_0xec62b4['vertices'][_0x5c8092(0xe9)];_0x2953d1++){_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4['vertices'][_0x2953d1]['y']),_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4[_0x5c8092(0xe0)][_0x2953d1]['z']);}}else {for(let _0x1aa8b1=0x0;_0x1aa8b1<_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)];_0x1aa8b1++){_0x56bbf2[_0x5c8092(0xd4)](_0xec62b4['vertices'][_0x1aa8b1]['x']),_0x56bbf2['push'](_0xec62b4['vertices'][_0x1aa8b1]['y']);}}}const _0x251608=this['calculatePolygonArea'](_0x56bbf2),_0x314eb0=_0x251608<0x0;if(_0x314eb0){console[_0x5c8092(0xb4)](_0x5c8092(0xcd)),_0x56bbf2[_0x5c8092(0xb0)]();const _0x4056d2=[];for(let _0x3aa1cb=_0x56bbf2[_0x5c8092(0xe9)]-0x2;_0x3aa1cb>=0x0;_0x3aa1cb-=0x2){_0x4056d2['push'](_0x56bbf2[_0x3aa1cb],_0x56bbf2[_0x3aa1cb+0x1]);}_0x56bbf2[_0x5c8092(0xe9)]=0x0,_0x56bbf2[_0x5c8092(0xd4)](..._0x4056d2);}try{const _0x58a403=_0x1be597(_0x56bbf2,undefined,0x2);if(_0x58a403&&_0x58a403[_0x5c8092(0xe9)]>0x0){if(_0x314eb0)for(let _0x5e47bf=0x0;_0x5e47bf<_0x58a403[_0x5c8092(0xe9)];_0x5e47bf+=0x3){const _0x3831e3=_0x58a403[_0x5e47bf];_0x58a403[_0x5e47bf]=_0x58a403[_0x5e47bf+0x2],_0x58a403[_0x5e47bf+0x2]=_0x3831e3;}_0x3f5e6c[_0x5c8092(0xa7)](_0x58a403);}else console[_0x5c8092(0xb4)](_0x5c8092(0xac));}catch(_0x258d2a){console[_0x5c8092(0xee)](_0x5c8092(0xed),_0x258d2a);}}if(_0xec62b4[_0x5c8092(0xbd)]&&_0xec62b4[_0x5c8092(0xbd)][_0x5c8092(0xe9)]===_0xec62b4['vertices'][_0x5c8092(0xe9)]){const _0x2df910=new Float32Array(_0xec62b4['normals']['length']*0x3);for(let _0x356adf=0x0;_0x356adf<_0xec62b4[_0x5c8092(0xbd)][_0x5c8092(0xe9)];_0x356adf++){_0x2df910[_0x356adf*0x3]=_0xec62b4['normals'][_0x356adf]['x'],_0x2df910[_0x356adf*0x3+0x1]=_0xec62b4[_0x5c8092(0xbd)][_0x356adf]['y'],_0x2df910[_0x356adf*0x3+0x2]=_0xec62b4[_0x5c8092(0xbd)][_0x356adf]['z'];}_0x3f5e6c[_0x5c8092(0xc2)](_0x5c8092(0xbc),new webgpu.Float32BufferAttribute(_0x2df910,0x3));}else _0x3f5e6c[_0x5c8092(0xde)]();if(_0xec62b4['uvs']&&_0xec62b4[_0x5c8092(0xc5)][_0x5c8092(0xe9)]>0x0){const _0x23dfef=new Float32Array(_0xec62b4[_0x5c8092(0xc5)][_0x5c8092(0xe9)]*0x2);for(let _0x4f7b2f=0x0;_0x4f7b2f<_0xec62b4[_0x5c8092(0xc5)][_0x5c8092(0xe9)];_0x4f7b2f++){_0x23dfef[_0x4f7b2f*0x2]=_0xec62b4[_0x5c8092(0xc5)][_0x4f7b2f]['x'],_0x23dfef[_0x4f7b2f*0x2+0x1]=_0xec62b4['uvs'][_0x4f7b2f]['y'];}_0x3f5e6c[_0x5c8092(0xc2)]('uv',new webgpu.Float32BufferAttribute(_0x23dfef,0x2));}else {const _0x4609a9=this[_0x5c8092(0xad)](_0xec62b4[_0x5c8092(0xe0)]);_0x3f5e6c['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x4609a9,0x2));}if(_0xec62b4[_0x5c8092(0xdd)]&&_0xec62b4['colors'][_0x5c8092(0xe9)]===_0xec62b4[_0x5c8092(0xe0)][_0x5c8092(0xe9)]){const _0xca2f89=new Float32Array(_0xec62b4[_0x5c8092(0xdd)][_0x5c8092(0xe9)]*0x3);for(let _0x209c1a=0x0;_0x209c1a<_0xec62b4[_0x5c8092(0xdd)]['length'];_0x209c1a++){_0xca2f89[_0x209c1a*0x3]=_0xec62b4[_0x5c8092(0xdd)][_0x209c1a]['r'],_0xca2f89[_0x209c1a*0x3+0x1]=_0xec62b4[_0x5c8092(0xdd)][_0x209c1a]['g'],_0xca2f89[_0x209c1a*0x3+0x2]=_0xec62b4[_0x5c8092(0xdd)][_0x209c1a]['b'];}_0x3f5e6c[_0x5c8092(0xc2)](_0x5c8092(0xc9),new webgpu.Float32BufferAttribute(_0xca2f89,0x3));}return _0x3f5e6c;}set[_0x2b479a(0xae)](_0x3949d2){const _0x10809=_0x2b479a;var _0x52e8c9,_0x4e48b9,_0xc5c27a;this[_0x10809(0xce)]&&this[_0x10809(0xce)][_0x10809(0xd5)]();const _0x206d5d=this[_0x10809(0xc8)](_0x3949d2);this[_0x10809(0xce)]=this[_0x10809(0xe6)][_0x10809(0xb1)][_0x10809(0xb7)](_0x206d5d),this['threeObject'][_0x10809(0xe5)]=_0x206d5d,this[_0x10809(0xe1)]={'vertices':_0x3949d2[_0x10809(0xe0)][_0x10809(0xda)](_0x138835=>_0x138835[_0x10809(0xd1)]()),'indices':_0x3949d2['indices']?[..._0x3949d2[_0x10809(0xe3)]]:undefined,'normals':(_0x52e8c9=_0x3949d2[_0x10809(0xbd)])===null||_0x52e8c9===void 0?void 0:_0x52e8c9[_0x10809(0xda)](_0x4c2bae=>_0x4c2bae[_0x10809(0xd1)]()),'uvs':(_0x4e48b9=_0x3949d2[_0x10809(0xc5)])===null||_0x4e48b9===void 0?void 0:_0x4e48b9['map'](_0xd7581b=>_0xd7581b[_0x10809(0xd1)]()),'colors':(_0xc5c27a=_0x3949d2[_0x10809(0xdd)])===null||_0xc5c27a===void 0?void 0:_0xc5c27a[_0x10809(0xda)](_0x185669=>_0x185669['clone']())},this[_0x10809(0xb9)]&&this[_0x10809(0xb9)][_0x10809(0xdc)][_0x10809(0xcf)]();}get[_0x2b479a(0xae)](){const _0x413c47=_0x2b479a;return this[_0x413c47(0xe1)];}[_0x2b479a(0xca)](){return new webgpu.Mesh();}set[_0x2b479a(0xdb)](_0x33f404){const _0x263f1b=_0x2b479a;if(this[_0x263f1b(0xaa)])this['threeObject'][_0x263f1b(0xdb)]=_0x33f404;}get[_0x2b479a(0xdb)](){const _0x353511=_0x2b479a;return this[_0x353511(0xaa)]?this['threeObject']['castShadow']:![];}set[_0x2b479a(0xea)](_0x581e67){const _0xa6b94e=_0x2b479a;if(!this[_0xa6b94e(0xaa)])return;this[_0xa6b94e(0xaa)][_0xa6b94e(0xea)]=_0x581e67;}get[_0x2b479a(0xea)](){const _0x1ebec9=_0x2b479a;return this[_0x1ebec9(0xaa)]?this['threeObject'][_0x1ebec9(0xea)]:![];}['getBoundsCenterPosition'](){const _0x2f9381=_0x2b479a;let _0x31e3fe=new webgpu.Vector3();return this[_0x2f9381(0xbb)]()[_0x2f9381(0xb2)](_0x31e3fe),_0x31e3fe;}[_0x2b479a(0xc4)](){const _0x106c29=_0x2b479a;let _0x1b6d11=new webgpu.Vector3(),_0xa9b384=this[_0x106c29(0xbb)]();return _0xa9b384[_0x106c29(0xb2)](_0x1b6d11),_0x1b6d11['y']=_0xa9b384[_0x106c29(0xd0)]['y'],_0x1b6d11;}[_0x2b479a(0xd9)](){const _0x56a2fe=_0x2b479a;let _0x1fad3c=new webgpu.Vector3(),_0x2b5234=this[_0x56a2fe(0xbb)]();return _0x2b5234['getCenter'](_0x1fad3c),_0x1fad3c['y']=_0x2b5234[_0x56a2fe(0xc0)]['y'],_0x1fad3c;}[_0x2b479a(0xd7)](){const _0x2bbbd5=_0x2b479a;var _0x1dced3,_0x37bf5f;this[_0x2bbbd5(0xaa)]&&this[_0x2bbbd5(0xaa)][_0x2bbbd5(0xba)](),(_0x1dced3=this[_0x2bbbd5(0xce)])===null||_0x1dced3===void 0?void 0:_0x1dced3[_0x2bbbd5(0xd5)](),(_0x37bf5f=this[_0x2bbbd5(0xe8)])===null||_0x37bf5f===void 0?void 0:_0x37bf5f[_0x2bbbd5(0xd5)](),super[_0x2bbbd5(0xd7)]();}}
|
|
124
133
|
|
|
125
|
-
|
|
134
|
+
function _0x7903(_0x57e729,_0x5a3c48){_0x57e729=_0x57e729-0x1ba;var _0x45f31a=_0x45f3();var _0x790337=_0x45f31a[_0x57e729];return _0x790337;}(function(_0x20bfd0,_0x5c27c3){var _0x41c47f=_0x7903,_0x3311e9=_0x20bfd0();while(!![]){try{var _0x25d1e7=parseInt(_0x41c47f(0x1c5))/0x1*(parseInt(_0x41c47f(0x1be))/0x2)+-parseInt(_0x41c47f(0x1bc))/0x3*(parseInt(_0x41c47f(0x1bf))/0x4)+-parseInt(_0x41c47f(0x1c4))/0x5*(parseInt(_0x41c47f(0x1c3))/0x6)+parseInt(_0x41c47f(0x1c0))/0x7*(parseInt(_0x41c47f(0x1c2))/0x8)+parseInt(_0x41c47f(0x1bd))/0x9*(parseInt(_0x41c47f(0x1ba))/0xa)+parseInt(_0x41c47f(0x1bb))/0xb+-parseInt(_0x41c47f(0x1c1))/0xc;if(_0x25d1e7===_0x5c27c3)break;else _0x3311e9['push'](_0x3311e9['shift']());}catch(_0x453a8b){_0x3311e9['push'](_0x3311e9['shift']());}}}(_0x45f3,0x7c9ee));function _0x45f3(){var _0x1b24fd=['21924108gHMpQu','3470296iJDLgz','24114IbLohg','195GPbjIQ','11925YvxoPG','7059710ZIRpVm','1182236AzrqtI','150dJLYlO','9kzDooY','142aPcmov','2680TvoYfu','14zyAoxY'];_0x45f3=function(){return _0x1b24fd;};return _0x45f3();}class SphereComponent extends MeshComponent{constructor(_0x4a8cba,_0x284e83,_0x2f05b4=new webgpu.MeshBasicMaterial(),_0x5d6565=0x20,_0x4b765d=0x10,_0xb93663){super(_0x4a8cba,new webgpu.SphereGeometry(_0x284e83,_0x5d6565,_0x4b765d),_0x2f05b4,_0xb93663);}}
|
|
126
135
|
|
|
127
|
-
const
|
|
136
|
+
const _0x1e8590=_0x4feb;(function(_0x23a8e4,_0x44e59a){const _0x1172bc=_0x4feb,_0x4afd9a=_0x23a8e4();while(!![]){try{const _0x327b21=-parseInt(_0x1172bc(0x1f1))/0x1+parseInt(_0x1172bc(0x1f5))/0x2+parseInt(_0x1172bc(0x1f6))/0x3*(-parseInt(_0x1172bc(0x1ef))/0x4)+-parseInt(_0x1172bc(0x1f2))/0x5+parseInt(_0x1172bc(0x203))/0x6*(-parseInt(_0x1172bc(0x1ed))/0x7)+parseInt(_0x1172bc(0x1f8))/0x8*(-parseInt(_0x1172bc(0x1fb))/0x9)+parseInt(_0x1172bc(0x204))/0xa;if(_0x327b21===_0x44e59a)break;else _0x4afd9a['push'](_0x4afd9a['shift']());}catch(_0x30caaf){_0x4afd9a['push'](_0x4afd9a['shift']());}}}(_0x1995,0x7c7b5));function _0x1995(){const _0x4db523=['threeObject','addEventListener','destroy','366XvXmJZ','27177140BziQpU','stopPropagation','center','setVisible','element','93016ROEzIc','parentNode','84028INbfQF','obj','636162grirXT','2307760tfBCnQ','style','remove','194016qrOJjR','9sKfAGF','auto','16AifzLv','userData','isClickEnabled','1500939dPrTfT','LYObject','innerHTML','pointerdown','isHoverEnabled'];_0x1995=function(){return _0x4db523;};return _0x1995();}function _0x4feb(_0x3046f0,_0x1d6748){_0x3046f0=_0x3046f0-0x1ed;const _0x19956e=_0x1995();let _0x4feb1d=_0x19956e[_0x3046f0];return _0x4feb1d;}class LabelComponent extends SceneComponent{get['threeObject'](){const _0x4bb44c=_0x4feb;return this[_0x4bb44c(0x1f0)];}set['threeObject'](_0x66d408){const _0x368e3b=_0x4feb;this[_0x368e3b(0x1f0)]=_0x66d408,this[_0x368e3b(0x1f0)]&&(this[_0x368e3b(0x1f0)][_0x368e3b(0x1f9)][_0x368e3b(0x1fc)]=this);}constructor(_0x24e0f6,_0x4211b7,_0x3e7249={},_0x2b1d2a){const _0xb9a607=_0x4feb;super(_0x24e0f6,_0x2b1d2a),this[_0xb9a607(0x1f0)]=new CSS2DRenderer_js.CSS2DObject(_0x4211b7);const _0x10e20d=_0x3e7249[_0xb9a607(0x206)]||new webgpu.Vector2(0.5,0x1);_0x3e7249['enablePointerEvents']&&(_0x4211b7[_0xb9a607(0x1f3)]['pointerEvents']=_0xb9a607(0x1f7),_0x4211b7[_0xb9a607(0x201)](_0xb9a607(0x1fe),_0x1cdf2c=>{const _0x36f8f9=_0xb9a607;_0x1cdf2c[_0x36f8f9(0x205)]();})),this['obj'][_0xb9a607(0x206)]['copy'](_0x10e20d);}set[_0x1e8590(0x1ff)](_0x537dcf){return;}set[_0x1e8590(0x1fa)](_0x489daa){return;}[_0x1e8590(0x207)](_0x3d634c){super['setVisible'](_0x3d634c);}[_0x1e8590(0x202)](){const _0x4df143=_0x1e8590;this[_0x4df143(0x200)][_0x4df143(0x208)]&&this[_0x4df143(0x200)]['element'][_0x4df143(0x1ee)]&&(this[_0x4df143(0x200)][_0x4df143(0x208)][_0x4df143(0x1fd)]='',this[_0x4df143(0x200)][_0x4df143(0x208)][_0x4df143(0x1f4)]()),super[_0x4df143(0x202)]();}}
|
|
128
137
|
|
|
129
|
-
const _0x57bc9e=_0x3921;(function(_0x1cb388,_0x221ac4){const _0x1b830c=_0x3921,_0xe52765=_0x1cb388();while(!![]){try{const _0x41d3a7=-parseInt(_0x1b830c(0x84))/0x1+-parseInt(_0x1b830c(0x80))/0x2*(parseInt(_0x1b830c(0x7d))/0x3)+-parseInt(_0x1b830c(0x83))/0x4+parseInt(_0x1b830c(0x7f))/0x5+parseInt(_0x1b830c(0x81))/0x6*(parseInt(_0x1b830c(0x82))/0x7)+parseInt(_0x1b830c(0x87))/0x8+parseInt(_0x1b830c(0x85))/0x9*(parseInt(_0x1b830c(0x86))/0xa);if(_0x41d3a7===_0x221ac4)break;else _0xe52765['push'](_0xe52765['shift']());}catch(_0x151e50){_0xe52765['push'](_0xe52765['shift']());}}}(_0x213b,0x7b8d7));function _0x213b(){const _0x2d99ea=['5302232TBlJja','671931pFhzYV','Antialiasing','3775105nOuqWK','2RKNaSd','1500XeKwrv','15414WxQIzl','2696460xPImav','882728ZDkmIL','351QatsPb','81690RiwTJU'];_0x213b=function(){return _0x2d99ea;};return _0x213b();}function _0x3921(_0x42ff9f,_0x24e5cb){_0x42ff9f=_0x42ff9f-0x7d;const _0x213b7b=_0x213b();let _0x392130=_0x213b7b[_0x42ff9f];return _0x392130;}const DefaultAAParams={'type':exports.PostProcessStepType[_0x57bc9e(0x7e)],'method':'fxaa'};
|
|
138
|
+
const _0x3c48af=_0xa366;(function(_0x1901dc,_0x44abbd){const _0x370fc5=_0xa366,_0x2b1ada=_0x1901dc();while(!![]){try{const _0x222a52=-parseInt(_0x370fc5(0x18c))/0x1+-parseInt(_0x370fc5(0x1ac))/0x2*(-parseInt(_0x370fc5(0x1d9))/0x3)+-parseInt(_0x370fc5(0x19f))/0x4+-parseInt(_0x370fc5(0x1e6))/0x5*(-parseInt(_0x370fc5(0x1e3))/0x6)+-parseInt(_0x370fc5(0x1de))/0x7*(parseInt(_0x370fc5(0x1e1))/0x8)+-parseInt(_0x370fc5(0x1db))/0x9+-parseInt(_0x370fc5(0x1bb))/0xa*(-parseInt(_0x370fc5(0x1ba))/0xb);if(_0x222a52===_0x44abbd)break;else _0x2b1ada['push'](_0x2b1ada['shift']());}catch(_0xed2710){_0x2b1ada['push'](_0x2b1ada['shift']());}}}(_0x4527,0x7a031));function _0x4527(){const _0x285640=['polygonOffsetFactor','normal','setAttribute','floor','parent','src','about:blank','transparent','object','isArray','alphaPunchMeshes','meshes','subVectors','100%','normalize','receiveShadow','lazy','removeFromParent','opacity','position','push','hidden','depthMaskMeshes','includes','getAttribute','blendSrcAlpha','abs','setFromUnitVectors','3hqtVTR','getX','123777umPuuM','lyCameraDragging','canvas','4780468CHfwCg','polygonOffset','boundingBox','8oJlllm','true','174BnGkRe','getWorldPosition','castShadow','34245jVtvEF','lengthSq','set','auto','depthTest','material','app','threeObject','setupMasks','removeTickingFunction','rayDir','fromBufferAttribute','scale','userData','iframe','wallboard','threeObject\x20is\x20null','add','__alpha_punch','scene','polygonOffsetUnits','obj','wrapper','tickFunc','border','visible','panelWorldPos','intersectObjects','distance','height','toneMapped','count','overflow','setupOcclusionTick','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','651299LYhgCf','renderOrder','div','blendEquation','name','startsWith','blendDst','min','destroy','divideScalar','quaternion','needsUpdate','backfaceVisibility','geometry','world','viewport','test','background','sort','1143488lWofgy','createElement','crossVectors','allow','__css3d_web','remove','style','targetMesh','CSS3DWebPanelComponent','getSize','none','addTickingFunction','dispose','757546RkjmLn','loading','createDefaultObject','max','filter','round','width','occlusionCandidates','raycaster','rayIgnored','cameraWorldPos','pointerEvents','computeBoundingBox','getIndex','11vmxNom','15562150vQxhHY','length'];_0x4527=function(){return _0x285640;};return _0x4527();}function normalizeAssetUrl(_0x4355ac){const _0x559ffb=_0xa366,_0x5b80e5=String(_0x4355ac!==null&&_0x4355ac!==void 0?_0x4355ac:'')['trim']();if(!_0x5b80e5)return '';if(/^https?:\/\//i[_0x559ffb(0x19c)](_0x5b80e5))return _0x5b80e5;if(_0x5b80e5[_0x559ffb(0x191)]('/'))return _0x5b80e5;return '/'+_0x5b80e5;}function getMeshPlaneLocalSize(_0x17aaf5){const _0xb5a2f4=_0xa366,_0xb707e2=_0x17aaf5[_0xb5a2f4(0x199)];if(!_0xb707e2)return {'width':0x1,'height':0x1};if(!_0xb707e2[_0xb5a2f4(0x1e0)])_0xb707e2[_0xb5a2f4(0x1b8)]();const _0x5c6166=_0xb707e2[_0xb5a2f4(0x1e0)];if(!_0x5c6166)return {'width':0x1,'height':0x1};const _0x2cf31e=_0x5c6166[_0xb5a2f4(0x1a8)](new three.Vector3()),_0x425acc=[Math[_0xb5a2f4(0x1d7)](_0x2cf31e['x']),Math[_0xb5a2f4(0x1d7)](_0x2cf31e['y']),Math[_0xb5a2f4(0x1d7)](_0x2cf31e['z'])][_0xb5a2f4(0x19e)]((_0x55cc20,_0x4a2626)=>_0x4a2626-_0x55cc20),_0xae156b=Math[_0xb5a2f4(0x1af)](0.0001,_0x425acc[0x0]||0x1),_0x2452e7=Math['max'](0.0001,_0x425acc[0x1]||_0xae156b);return {'width':_0xae156b,'height':_0x2452e7};}function getMeshLocalNormal(_0xaacef2){const _0x5ac4a7=_0xa366,_0x20827b=_0xaacef2[_0x5ac4a7(0x199)];if(!_0x20827b)return new three.Vector3(0x0,0x0,0x1);const _0x2db6b5=_0x20827b[_0x5ac4a7(0x1d5)](_0x5ac4a7(0x1be));if(_0x2db6b5&&_0x2db6b5['count']>0x0){const _0x40bc00=new three.Vector3(),_0x35dcf4=new three.Vector3();for(let _0x4ff842=0x0;_0x4ff842<_0x2db6b5['count'];_0x4ff842++){_0x35dcf4[_0x5ac4a7(0x1f1)](_0x2db6b5,_0x4ff842),_0x40bc00[_0x5ac4a7(0x1f7)](_0x35dcf4);}if(_0x40bc00[_0x5ac4a7(0x1e7)]()>1e-12)return _0x40bc00['normalize']();}const _0x377612=_0x20827b[_0x5ac4a7(0x1d5)](_0x5ac4a7(0x1d0));if(!_0x377612||_0x377612[_0x5ac4a7(0x188)]<0x3)return new three.Vector3(0x0,0x0,0x1);const _0x462a71=_0x20827b[_0x5ac4a7(0x1b9)](),_0x5ac825=new three.Vector3(),_0x24fc29=new three.Vector3(),_0x24b81d=new three.Vector3(),_0x43d825=new three.Vector3(),_0x14e07f=new three.Vector3(),_0x4d6e8e=new three.Vector3(),_0x1608af=new three.Vector3(),_0x3f5c53=_0x462a71?Math[_0x5ac4a7(0x1c0)](_0x462a71[_0x5ac4a7(0x188)]/0x3):Math[_0x5ac4a7(0x1c0)](_0x377612[_0x5ac4a7(0x188)]/0x3);for(let _0x374a52=0x0;_0x374a52<_0x3f5c53;_0x374a52++){const _0x3c001=_0x462a71?_0x462a71[_0x5ac4a7(0x1da)](_0x374a52*0x3+0x0):_0x374a52*0x3+0x0,_0x4307bd=_0x462a71?_0x462a71['getX'](_0x374a52*0x3+0x1):_0x374a52*0x3+0x1,_0x2c5c5d=_0x462a71?_0x462a71['getX'](_0x374a52*0x3+0x2):_0x374a52*0x3+0x2;_0x5ac825[_0x5ac4a7(0x1f1)](_0x377612,_0x3c001),_0x24fc29[_0x5ac4a7(0x1f1)](_0x377612,_0x4307bd),_0x24b81d[_0x5ac4a7(0x1f1)](_0x377612,_0x2c5c5d),_0x43d825[_0x5ac4a7(0x1c9)](_0x24fc29,_0x5ac825),_0x14e07f[_0x5ac4a7(0x1c9)](_0x24b81d,_0x5ac825),_0x1608af[_0x5ac4a7(0x1a1)](_0x43d825,_0x14e07f);if(_0x1608af[_0x5ac4a7(0x1e7)]()<1e-14)continue;_0x4d6e8e['add'](_0x1608af);}if(_0x4d6e8e[_0x5ac4a7(0x1e7)]()<1e-12)return new three.Vector3(0x0,0x0,0x1);return _0x4d6e8e[_0x5ac4a7(0x1cb)]();}function collectOcclusionMeshes(_0x4b6e69){const _0xcd4487=[];return _0x4b6e69['traverse'](_0x163bee=>{const _0x52a58c=_0xa366;var _0x348350;const _0x4ea1c8=_0x163bee;if(!(_0x4ea1c8===null||_0x4ea1c8===void 0?void 0:_0x4ea1c8['isMesh']))return;if(!_0x163bee[_0x52a58c(0x1ff)])return;if((_0x348350=_0x163bee[_0x52a58c(0x1f3)])===null||_0x348350===void 0?void 0:_0x348350[_0x52a58c(0x1b5)])return;_0xcd4487[_0x52a58c(0x1d1)](_0x163bee);}),_0xcd4487;}function _0xa366(_0x2b31f9,_0xc3fef1){_0x2b31f9=_0x2b31f9-0x183;const _0x4527c3=_0x4527();let _0xa3667a=_0x4527c3[_0x2b31f9];return _0xa3667a;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x3c48af(0x1ed)](){const _0x14b188=_0x3c48af;if(!this[_0x14b188(0x1fb)])throw new Error(_0x14b188(0x1f6));return this[_0x14b188(0x1fb)];}set['threeObject'](_0x522817){const _0x89d9f4=_0x3c48af;this['obj']=_0x522817,this['obj']&&(this[_0x89d9f4(0x1fb)][_0x89d9f4(0x1f3)]['LYObject']=this);}constructor(_0x5bb53d,_0xd9ff92,_0x578ae9,_0x2b734e){const _0x3990c8=_0x3c48af;super(_0x5bb53d,_0x2b734e),this[_0x3990c8(0x1fc)]=null,this[_0x3990c8(0x1f4)]=null,this['targetMesh']=null,this[_0x3990c8(0x1d3)]=[],this[_0x3990c8(0x1c7)]=[],this[_0x3990c8(0x1fd)]=null,this[_0x3990c8(0x1b6)]=new three.Vector3(),this[_0x3990c8(0x183)]=new three.Vector3(),this[_0x3990c8(0x1f0)]=new three.Vector3(),this[_0x3990c8(0x1b4)]=new three.Raycaster(),this[_0x3990c8(0x1b3)]=[],this[_0x3990c8(0x190)]=_0x3990c8(0x1a7),this[_0x3990c8(0x1c8)]=_0xd9ff92[_0x3990c8(0x1b0)](_0xc4f3de=>!!_0xc4f3de);const _0x31ff64=normalizeAssetUrl(_0x578ae9);if(!_0x31ff64||!this[_0x3990c8(0x1c8)][_0x3990c8(0x1bc)])return;this[_0x3990c8(0x1a6)]=this[_0x3990c8(0x1c8)][0x0];const _0x54278f=getMeshPlaneLocalSize(this[_0x3990c8(0x1a6)]),_0x109a5a=0x4b0,_0x564b30=Math['max'](0x200,Math['min'](0x1000,Math[_0x3990c8(0x1b1)](_0x54278f['width']*_0x109a5a))),_0x299f83=Math[_0x3990c8(0x1af)](0x200,Math[_0x3990c8(0x193)](0x1000,Math[_0x3990c8(0x1b1)](_0x54278f['height']*_0x109a5a))),_0x53b433=document[_0x3990c8(0x1a0)](_0x3990c8(0x18e));_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x1b2)]=_0x564b30+'px',_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x186)]=_0x299f83+'px',_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x1b7)]=_0x3990c8(0x1e9),_0x53b433[_0x3990c8(0x1a5)][_0x3990c8(0x189)]=_0x3990c8(0x1d2),_0x53b433[_0x3990c8(0x1a5)]['background']=_0x3990c8(0x1c4),_0x53b433[_0x3990c8(0x1a5)]['backfaceVisibility']='hidden',this['wrapper']=_0x53b433;const _0x32f4d0=document[_0x3990c8(0x1a0)](_0x3990c8(0x1f4));_0x32f4d0[_0x3990c8(0x1c2)]=_0x31ff64,_0x32f4d0['style'][_0x3990c8(0x1b2)]='100%',_0x32f4d0['style'][_0x3990c8(0x186)]=_0x3990c8(0x1ca),_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x1fe)]='0',_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x19d)]='transparent',_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x1b7)]=_0x3990c8(0x1e9),_0x32f4d0[_0x3990c8(0x1a5)][_0x3990c8(0x198)]=_0x3990c8(0x1d2),_0x32f4d0['setAttribute'](_0x3990c8(0x1a2),_0x3990c8(0x18b)),_0x32f4d0[_0x3990c8(0x1bf)]('allowfullscreen',_0x3990c8(0x1e2)),_0x32f4d0[_0x3990c8(0x1bf)](_0x3990c8(0x1ad),_0x3990c8(0x1cd)),_0x53b433['appendChild'](_0x32f4d0),this[_0x3990c8(0x1f4)]=_0x32f4d0;const _0x16eae1=new Addons_js.CSS3DObject(_0x53b433);_0x16eae1[_0x3990c8(0x190)]=(this[_0x3990c8(0x1a6)][_0x3990c8(0x190)]||_0x3990c8(0x1f5))+_0x3990c8(0x1a3),_0x16eae1[_0x3990c8(0x1d0)][_0x3990c8(0x1e8)](0x0,0x0,0.001),_0x16eae1[_0x3990c8(0x196)][_0x3990c8(0x1d8)](new three.Vector3(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0x16eae1[_0x3990c8(0x1f2)][_0x3990c8(0x1e8)](_0x54278f[_0x3990c8(0x1b2)]/_0x564b30,_0x54278f[_0x3990c8(0x186)]/_0x299f83,0x1),this['threeObject']=_0x16eae1,this[_0x3990c8(0x1a6)][_0x3990c8(0x1f7)](_0x16eae1),this[_0x3990c8(0x1ee)](),this[_0x3990c8(0x1b3)]=collectOcclusionMeshes(this[_0x3990c8(0x1ec)][_0x3990c8(0x19a)][_0x3990c8(0x1f9)]),this[_0x3990c8(0x18a)]();}[_0x3c48af(0x1ae)](){const _0x5924c4=_0x3c48af;return new Addons_js.CSS3DObject(document[_0x5924c4(0x1a0)]('div'));}[_0x3c48af(0x1ee)](){const _0x492bee=_0x3c48af;var _0x46c747;for(const _0x147d64 of this[_0x492bee(0x1c8)]){_0x147d64['renderOrder']=Math[_0x492bee(0x193)]((_0x46c747=_0x147d64['renderOrder'])!==null&&_0x46c747!==void 0?_0x46c747:0x0,-1e3),_0x147d64[_0x492bee(0x1e5)]=![],_0x147d64[_0x492bee(0x1cc)]=![];const _0xd2e044=Array[_0x492bee(0x1c6)](_0x147d64[_0x492bee(0x1eb)])?_0x147d64['material']:[_0x147d64['material']];for(const _0x592935 of _0xd2e044){const _0x51d948=_0x592935;if(!_0x51d948)continue;_0x51d948[_0x492bee(0x1c4)]=!![],_0x51d948[_0x492bee(0x1cf)]=0x0,_0x51d948['colorWrite']=![],_0x51d948[_0x492bee(0x1ea)]=![],_0x51d948['depthWrite']=![],_0x51d948[_0x492bee(0x197)]=!![];}const _0x22c655=_0x147d64[_0x492bee(0x199)];if(!_0x22c655)continue;const _0x2cf5a5=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x2cf5a5['colorWrite']=![],_0x2cf5a5[_0x492bee(0x187)]=![],_0x2cf5a5['fog']=![],_0x2cf5a5['blending']=three.NoBlending,_0x2cf5a5[_0x492bee(0x1df)]=!![],_0x2cf5a5[_0x492bee(0x1bd)]=-4,_0x2cf5a5[_0x492bee(0x1fa)]=-4;const _0x4903f3=new three.Mesh(_0x22c655,_0x2cf5a5);_0x4903f3[_0x492bee(0x190)]=(_0x147d64[_0x492bee(0x190)]||'canvas')+'__depth_mask',_0x4903f3[_0x492bee(0x1f3)][_0x492bee(0x1b5)]=!![],_0x4903f3[_0x492bee(0x18d)]=Math[_0x492bee(0x193)](_0x147d64['renderOrder']-0x1,-2e3),_0x4903f3['position']['set'](0x0,0x0,0x0),_0x4903f3['quaternion'][_0x492bee(0x1e8)](0x0,0x0,0x0,0x1),_0x4903f3['scale'][_0x492bee(0x1e8)](0x1,0x1,0x1),_0x147d64['add'](_0x4903f3),this[_0x492bee(0x1d3)][_0x492bee(0x1d1)](_0x4903f3);const _0x16841a=new three.MeshBasicMaterial({'color':0x0,'side':three.DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':three.CustomBlending});_0x16841a['toneMapped']=![],_0x16841a['fog']=![],_0x16841a[_0x492bee(0x18f)]=three.AddEquation,_0x16841a['blendSrc']=three.ZeroFactor,_0x16841a[_0x492bee(0x192)]=three.OneFactor,_0x16841a[_0x492bee(0x1d6)]=three.ZeroFactor,_0x16841a['blendDstAlpha']=three.ZeroFactor;const _0x496f5d=new three.Mesh(_0x22c655,_0x16841a);_0x496f5d['name']=(_0x147d64[_0x492bee(0x190)]||_0x492bee(0x1dd))+_0x492bee(0x1f8),_0x496f5d['userData'][_0x492bee(0x1b5)]=!![],_0x496f5d[_0x492bee(0x18d)]=Math[_0x492bee(0x1af)](_0x147d64[_0x492bee(0x18d)]+0x3e8,0x3e8),_0x496f5d[_0x492bee(0x1d0)][_0x492bee(0x1e8)](0x0,0x0,0x0),_0x496f5d[_0x492bee(0x196)][_0x492bee(0x1e8)](0x0,0x0,0x0,0x1),_0x496f5d[_0x492bee(0x1f2)]['set'](0x1,0x1,0x1),_0x147d64['add'](_0x496f5d),this['alphaPunchMeshes'][_0x492bee(0x1d1)](_0x496f5d);}}[_0x3c48af(0x18a)](){const _0xa574ba=_0x3c48af;let _0x39565e=0x0;this[_0xa574ba(0x1fd)]=_0x4cdc97=>{const _0x39ef80=_0xa574ba;var _0x3c808a;if(!this[_0x39ef80(0x1a6)]||!this[_0x39ef80(0x1fc)]||!this['iframe'])return;_0x39565e+=_0x4cdc97;if(_0x39565e<0.05)return;_0x39565e=0x0;const _0xbe4aa=this[_0x39ef80(0x1ec)]['camera'];_0xbe4aa['getWorldPosition'](this[_0x39ef80(0x1b6)]),this['targetMesh'][_0x39ef80(0x1e4)](this[_0x39ef80(0x183)]),this['rayDir'][_0x39ef80(0x1c9)](this[_0x39ef80(0x183)],this[_0x39ef80(0x1b6)]);const _0x3e1397=this['rayDir'][_0x39ef80(0x1bc)]();if(_0x3e1397<=0.00001)return;this[_0x39ef80(0x1f0)][_0x39ef80(0x195)](_0x3e1397),this[_0x39ef80(0x1b4)][_0x39ef80(0x1e8)](this[_0x39ef80(0x1b6)],this[_0x39ef80(0x1f0)]);const _0x338994=this[_0x39ef80(0x1b4)][_0x39ef80(0x184)](this[_0x39ef80(0x1b3)],!![]);let _0x64d7d9=![];const _0x459d8a=_0x3e1397-0.02;for(const _0x348037 of _0x338994){if(_0x348037[_0x39ef80(0x185)]>=_0x459d8a)break;let _0x4e3e5d=_0x348037['object'],_0x309198=!![];while(_0x4e3e5d){if(!_0x4e3e5d['visible']){_0x309198=![];break;}_0x4e3e5d=_0x4e3e5d[_0x39ef80(0x1c1)];}if(!_0x309198)continue;_0x4e3e5d=_0x348037[_0x39ef80(0x1c5)];let _0x44cf3a=![];while(_0x4e3e5d){if(this['meshes'][_0x39ef80(0x1d4)](_0x4e3e5d)){_0x44cf3a=!![];break;}_0x4e3e5d=_0x4e3e5d[_0x39ef80(0x1c1)];}if(_0x44cf3a)continue;_0x64d7d9=!![];break;}const _0x4d4c6b=((_0x3c808a=this[_0x39ef80(0x1ec)][_0x39ef80(0x19b)]['outer'])===null||_0x3c808a===void 0?void 0:_0x3c808a['dataset'][_0x39ef80(0x1dc)])==='1',_0x4dc13f=_0x4d4c6b||_0x64d7d9?_0x39ef80(0x1a9):_0x39ef80(0x1e9);this[_0x39ef80(0x1fc)][_0x39ef80(0x1a5)]['pointerEvents']!==_0x4dc13f&&(this[_0x39ef80(0x1fc)]['style'][_0x39ef80(0x1b7)]=_0x4dc13f),this[_0x39ef80(0x1f4)]['style'][_0x39ef80(0x1b7)]!==_0x4dc13f&&(this[_0x39ef80(0x1f4)][_0x39ef80(0x1a5)][_0x39ef80(0x1b7)]=_0x4dc13f);},this['app'][_0xa574ba(0x1aa)](this['tickFunc']);}[_0x3c48af(0x194)](){const _0x515cb2=_0x3c48af;this[_0x515cb2(0x1fd)]&&(this['app'][_0x515cb2(0x1ef)](this[_0x515cb2(0x1fd)]),this[_0x515cb2(0x1fd)]=null);for(const _0x14796d of this[_0x515cb2(0x1d3)]){_0x14796d['removeFromParent']();const _0x31c96c=_0x14796d[_0x515cb2(0x1eb)];if(Array['isArray'](_0x31c96c)){for(const _0x5d5f03 of _0x31c96c)_0x5d5f03===null||_0x5d5f03===void 0?void 0:_0x5d5f03['dispose']();}else _0x31c96c===null||_0x31c96c===void 0?void 0:_0x31c96c[_0x515cb2(0x1ab)]();}this[_0x515cb2(0x1d3)][_0x515cb2(0x1bc)]=0x0;for(const _0x5be33a of this[_0x515cb2(0x1c7)]){_0x5be33a[_0x515cb2(0x1ce)]();const _0x19c3eb=_0x5be33a[_0x515cb2(0x1eb)];if(Array['isArray'](_0x19c3eb)){for(const _0x4e5a3b of _0x19c3eb)_0x4e5a3b===null||_0x4e5a3b===void 0?void 0:_0x4e5a3b[_0x515cb2(0x1ab)]();}else _0x19c3eb===null||_0x19c3eb===void 0?void 0:_0x19c3eb['dispose']();}this[_0x515cb2(0x1c7)][_0x515cb2(0x1bc)]=0x0,this[_0x515cb2(0x1f4)]&&(this[_0x515cb2(0x1f4)][_0x515cb2(0x1c2)]=_0x515cb2(0x1c3),this['iframe']=null),this[_0x515cb2(0x1fc)]&&(this[_0x515cb2(0x1fc)][_0x515cb2(0x1a4)](),this['wrapper']=null),this[_0x515cb2(0x1a6)]=null,this[_0x515cb2(0x1b3)]=[],super[_0x515cb2(0x194)]();}}
|
|
130
139
|
|
|
131
|
-
|
|
140
|
+
function _0x54db(){const _0x380653=['max','refreshGeometry','geometry','loadAsync','markRenderStateDirty','_height','updateMaterial','bevelEnabled','_fontCache','_mesh','330dfQenU','bevelSegments','isArray','text','get','world','_bevelSize','_size','_sideColor','Text','set','obj','1043twGjZZ','2744384nCkaLP','loadFontAndRefresh','_fontUrl','25497bGZXKB','24oSoVLt','size','361236eNHLAT','boundingBox','_curveSegments','8890607rNqBLD','viewport','2636845GfdnDx','12LXPGLJ','_text','userData','error','dispose','bevelSize','sideColor','material','11478KimYlq','_font','height','computeBoundingBox','bevelThickness','LYObject','bevelOffset','_fontLoader','3170JNZIDq','_bevelThickness','has','min','_bevelSegments','fontUrl','Failed\x20to\x20load\x20font\x20from\x20','3386fKIQrj','_isUnlit','color','_color','destroy','curveSegments','_bevelEnabled','isUnlit','forEach','_bevelOffset','translate','_group'];_0x54db=function(){return _0x380653;};return _0x54db();}const _0x16cceb=_0x263b;(function(_0x20a9ec,_0x5f175a){const _0x985fb4=_0x263b,_0x202c2e=_0x20a9ec();while(!![]){try{const _0x387ab6=-parseInt(_0x985fb4(0x14d))/0x1*(-parseInt(_0x985fb4(0x163))/0x2)+parseInt(_0x985fb4(0x130))/0x3*(parseInt(_0x985fb4(0x136))/0x4)+-parseInt(_0x985fb4(0x135))/0x5+-parseInt(_0x985fb4(0x13e))/0x6*(parseInt(_0x985fb4(0x129))/0x7)+-parseInt(_0x985fb4(0x12a))/0x8+parseInt(_0x985fb4(0x12d))/0x9*(-parseInt(_0x985fb4(0x146))/0xa)+parseInt(_0x985fb4(0x133))/0xb*(parseInt(_0x985fb4(0x12e))/0xc);if(_0x387ab6===_0x5f175a)break;else _0x202c2e['push'](_0x202c2e['shift']());}catch(_0x130777){_0x202c2e['push'](_0x202c2e['shift']());}}}(_0x54db,0x75e45));function _0x263b(_0x2d91d3,_0x3fbfe6){_0x2d91d3=_0x2d91d3-0x126;const _0x54db23=_0x54db();let _0x263b56=_0x54db23[_0x2d91d3];return _0x263b56;}class Text3DComponent extends SceneComponent{constructor(_0x11f362,_0x55592b,_0x23f143){const _0x519fc9=_0x263b;super(_0x11f362,_0x23f143),this[_0x519fc9(0x137)]=_0x519fc9(0x126),this[_0x519fc9(0x12c)]='https://threejs.org/examples/fonts/helvetiker_regular.typeface.json',this[_0x519fc9(0x16a)]=0x1,this[_0x519fc9(0x15e)]=0.2,this[_0x519fc9(0x132)]=0xc,this[_0x519fc9(0x153)]=![],this['_bevelThickness']=0.03,this['_bevelSize']=0.02,this['_bevelOffset']=0x0,this['_bevelSegments']=0x5,this[_0x519fc9(0x150)]='#ffffff',this['_sideColor']='#ffffff',this['_isUnlit']=!![],this[_0x519fc9(0x13f)]=null,this[_0x519fc9(0x162)]=null,this[_0x519fc9(0x158)]=this[_0x519fc9(0x128)];if(_0x55592b){if(_0x55592b[_0x519fc9(0x166)]!==undefined)this['_text']=_0x55592b[_0x519fc9(0x166)];if(_0x55592b[_0x519fc9(0x14b)]!==undefined)this[_0x519fc9(0x12c)]=_0x55592b[_0x519fc9(0x14b)];if(_0x55592b[_0x519fc9(0x12f)]!==undefined)this[_0x519fc9(0x16a)]=_0x55592b['size'];if(_0x55592b[_0x519fc9(0x140)]!==undefined)this['_height']=_0x55592b[_0x519fc9(0x140)];if(_0x55592b[_0x519fc9(0x152)]!==undefined)this[_0x519fc9(0x132)]=_0x55592b[_0x519fc9(0x152)];if(_0x55592b[_0x519fc9(0x160)]!==undefined)this[_0x519fc9(0x153)]=_0x55592b[_0x519fc9(0x160)];if(_0x55592b[_0x519fc9(0x142)]!==undefined)this['_bevelThickness']=_0x55592b[_0x519fc9(0x142)];if(_0x55592b[_0x519fc9(0x13b)]!==undefined)this[_0x519fc9(0x169)]=_0x55592b['bevelSize'];if(_0x55592b[_0x519fc9(0x144)]!==undefined)this[_0x519fc9(0x156)]=_0x55592b[_0x519fc9(0x144)];if(_0x55592b['bevelSegments']!==undefined)this[_0x519fc9(0x14a)]=_0x55592b[_0x519fc9(0x164)];_0x55592b[_0x519fc9(0x14f)]!==undefined&&(this[_0x519fc9(0x150)]=_0x55592b['color'],this['_sideColor']=_0x55592b['color']);if(_0x55592b[_0x519fc9(0x13c)]!==undefined)this['_sideColor']=_0x55592b['sideColor'];if(_0x55592b[_0x519fc9(0x154)]!==undefined)this[_0x519fc9(0x14e)]=_0x55592b[_0x519fc9(0x154)];}this['loadFontAndRefresh']();}['createDefaultObject'](){return new webgpu.Group();}get['text'](){const _0x5e2fad=_0x263b;return this[_0x5e2fad(0x137)];}set[_0x16cceb(0x166)](_0x421707){const _0x1e6815=_0x16cceb;this[_0x1e6815(0x137)]!==_0x421707&&(this[_0x1e6815(0x137)]=_0x421707,this[_0x1e6815(0x15a)]());}get[_0x16cceb(0x14f)](){const _0x53e596=_0x16cceb;return this[_0x53e596(0x150)];}set['color'](_0x49eb01){const _0x280f80=_0x16cceb;this[_0x280f80(0x150)]!==_0x49eb01&&(this[_0x280f80(0x150)]=_0x49eb01,this[_0x280f80(0x15f)]());}get[_0x16cceb(0x13c)](){const _0x4197ca=_0x16cceb;return this[_0x4197ca(0x16b)];}set[_0x16cceb(0x13c)](_0x266ab3){const _0x2f2d8e=_0x16cceb;this['_sideColor']!==_0x266ab3&&(this[_0x2f2d8e(0x16b)]=_0x266ab3,this[_0x2f2d8e(0x15f)]());}get[_0x16cceb(0x12f)](){return this['_size'];}set['size'](_0x2fd5fb){const _0x184afb=_0x16cceb;this[_0x184afb(0x16a)]!==_0x2fd5fb&&(this[_0x184afb(0x16a)]=_0x2fd5fb,this['refreshGeometry']());}get[_0x16cceb(0x140)](){return this['_height'];}set[_0x16cceb(0x140)](_0x156d62){const _0x343584=_0x16cceb;this[_0x343584(0x15e)]!==_0x156d62&&(this[_0x343584(0x15e)]=_0x156d62,this[_0x343584(0x15a)]());}get['fontUrl'](){const _0x59c627=_0x16cceb;return this[_0x59c627(0x12c)];}set[_0x16cceb(0x14b)](_0x49e626){const _0x3807ea=_0x16cceb;this[_0x3807ea(0x12c)]!==_0x49e626&&(this[_0x3807ea(0x12c)]=_0x49e626,this[_0x3807ea(0x12b)]());}async['loadFontAndRefresh'](){const _0xdbb44e=_0x16cceb;if(Text3DComponent[_0xdbb44e(0x161)][_0xdbb44e(0x148)](this[_0xdbb44e(0x12c)])){this[_0xdbb44e(0x13f)]=Text3DComponent[_0xdbb44e(0x161)][_0xdbb44e(0x167)](this[_0xdbb44e(0x12c)]),this['refreshGeometry']();return;}try{const _0x4c750d=await Text3DComponent['_fontLoader'][_0xdbb44e(0x15c)](this[_0xdbb44e(0x12c)]);Text3DComponent['_fontCache'][_0xdbb44e(0x127)](this['_fontUrl'],_0x4c750d),this[_0xdbb44e(0x13f)]=_0x4c750d,this[_0xdbb44e(0x15a)]();}catch(_0x2d7047){console[_0xdbb44e(0x139)](_0xdbb44e(0x14c)+this[_0xdbb44e(0x12c)]+':',_0x2d7047);}}[_0x16cceb(0x15a)](){const _0x1092c4=_0x16cceb;if(!this[_0x1092c4(0x13f)])return;if(this[_0x1092c4(0x162)]){if(this['_mesh'][_0x1092c4(0x15b)])this['_mesh'][_0x1092c4(0x15b)][_0x1092c4(0x13a)]();this[_0x1092c4(0x158)]['remove'](this['_mesh']);}const _0x2f66a9=new Addons_js.TextGeometry(this[_0x1092c4(0x137)],{'font':this[_0x1092c4(0x13f)],'size':this[_0x1092c4(0x16a)],'depth':this[_0x1092c4(0x15e)],'curveSegments':this[_0x1092c4(0x132)],'bevelEnabled':this[_0x1092c4(0x153)],'bevelThickness':this[_0x1092c4(0x147)],'bevelSize':this[_0x1092c4(0x169)],'bevelOffset':this[_0x1092c4(0x156)],'bevelSegments':this[_0x1092c4(0x14a)]});_0x2f66a9[_0x1092c4(0x141)]();if(_0x2f66a9['boundingBox']){const _0xaff345=-0.5*(_0x2f66a9['boundingBox'][_0x1092c4(0x159)]['x']-_0x2f66a9[_0x1092c4(0x131)][_0x1092c4(0x149)]['x']),_0x517017=-0.5*(_0x2f66a9['boundingBox'][_0x1092c4(0x159)]['y']-_0x2f66a9[_0x1092c4(0x131)]['min']['y']);_0x2f66a9[_0x1092c4(0x157)](_0xaff345,_0x517017,0x0);}let _0x49844b;this[_0x1092c4(0x14e)]?_0x49844b=[new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this['_color']),'side':webgpu.DoubleSide}),new webgpu.MeshBasicMaterial({'color':new webgpu.Color(this[_0x1092c4(0x16b)]),'side':webgpu.DoubleSide})]:_0x49844b=[new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x1092c4(0x150)]),'side':webgpu.DoubleSide}),new webgpu.MeshStandardMaterial({'color':new webgpu.Color(this[_0x1092c4(0x16b)]),'side':webgpu.DoubleSide})],this[_0x1092c4(0x162)]=new webgpu.Mesh(_0x2f66a9,_0x49844b),this[_0x1092c4(0x162)][_0x1092c4(0x138)][_0x1092c4(0x143)]=this,this[_0x1092c4(0x158)]['add'](this[_0x1092c4(0x162)]),this[_0x1092c4(0x168)]&&this['world']['viewport'][_0x1092c4(0x15d)]();}[_0x16cceb(0x15f)](){const _0x6f8240=_0x16cceb;if(!this[_0x6f8240(0x162)])return;if(Array[_0x6f8240(0x165)](this[_0x6f8240(0x162)][_0x6f8240(0x13d)])){const _0x4395ed=this[_0x6f8240(0x162)][_0x6f8240(0x13d)];_0x4395ed['length']>=0x2&&(_0x4395ed[0x0][_0x6f8240(0x14f)][_0x6f8240(0x127)](this['_color']),_0x4395ed[0x1][_0x6f8240(0x14f)][_0x6f8240(0x127)](this[_0x6f8240(0x16b)]));}else {const _0x3eaa1e=this[_0x6f8240(0x162)][_0x6f8240(0x13d)];_0x3eaa1e['color'][_0x6f8240(0x127)](this['_color']);}this['world']&&this['world'][_0x6f8240(0x134)]['markRenderStateDirty']();}[_0x16cceb(0x151)](){const _0x19119a=_0x16cceb;if(this['_mesh']){if(this[_0x19119a(0x162)]['geometry'])this[_0x19119a(0x162)][_0x19119a(0x15b)][_0x19119a(0x13a)]();Array[_0x19119a(0x165)](this[_0x19119a(0x162)][_0x19119a(0x13d)])?this[_0x19119a(0x162)][_0x19119a(0x13d)][_0x19119a(0x155)](_0xd2f749=>_0xd2f749['dispose']()):this[_0x19119a(0x162)][_0x19119a(0x13d)][_0x19119a(0x13a)]();}super['destroy']();}}Text3DComponent[_0x16cceb(0x145)]=new Addons_js.FontLoader(),Text3DComponent[_0x16cceb(0x161)]=new Map();
|
|
132
141
|
|
|
133
|
-
(function(
|
|
142
|
+
const _0x1d5e3c=_0x2259;(function(_0x1d3d03,_0x8d319){const _0x14ac71=_0x2259,_0xfdf7bb=_0x1d3d03();while(!![]){try{const _0x457175=-parseInt(_0x14ac71(0xc9))/0x1+parseInt(_0x14ac71(0xca))/0x2*(parseInt(_0x14ac71(0xc7))/0x3)+-parseInt(_0x14ac71(0xc4))/0x4*(parseInt(_0x14ac71(0xc3))/0x5)+parseInt(_0x14ac71(0xbf))/0x6*(parseInt(_0x14ac71(0xc2))/0x7)+-parseInt(_0x14ac71(0xc6))/0x8*(-parseInt(_0x14ac71(0xc0))/0x9)+-parseInt(_0x14ac71(0xc8))/0xa+parseInt(_0x14ac71(0xc5))/0xb;if(_0x457175===_0x8d319)break;else _0xfdf7bb['push'](_0xfdf7bb['shift']());}catch(_0x1462c8){_0xfdf7bb['push'](_0xfdf7bb['shift']());}}}(_0x439c,0x96a4d));const DefaultSSRParam={'type':exports.PostProcessStepType[_0x1d5e3c(0xc1)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};function _0x2259(_0x54214b,_0x4d0460){_0x54214b=_0x54214b-0xbf;const _0x439c1b=_0x439c();let _0x225938=_0x439c1b[_0x54214b];return _0x225938;}function _0x439c(){const _0x2b7cf0=['4RwioWn','6028396NgCOXD','13232vuxqSK','8589AuuxUQ','11430680MwXkCn','225180ymqsPd','22ddirTW','6DqezAW','2538AZrpri','ScreenSpaceReflection','6710263sjBivP','96405qNgrQb'];_0x439c=function(){return _0x2b7cf0;};return _0x439c();}
|
|
143
|
+
|
|
144
|
+
(function(_0x3daf07,_0x3142b5){const _0x2e3744=_0x341a,_0x34bb8f=_0x3daf07();while(!![]){try{const _0x1d3f80=-parseInt(_0x2e3744(0x87))/0x1*(parseInt(_0x2e3744(0x86))/0x2)+parseInt(_0x2e3744(0x88))/0x3*(-parseInt(_0x2e3744(0x8a))/0x4)+-parseInt(_0x2e3744(0x89))/0x5*(parseInt(_0x2e3744(0x8d))/0x6)+parseInt(_0x2e3744(0x84))/0x7*(parseInt(_0x2e3744(0x85))/0x8)+parseInt(_0x2e3744(0x8b))/0x9*(-parseInt(_0x2e3744(0x83))/0xa)+-parseInt(_0x2e3744(0x8c))/0xb*(-parseInt(_0x2e3744(0x82))/0xc)+parseInt(_0x2e3744(0x8e))/0xd;if(_0x1d3f80===_0x3142b5)break;else _0x34bb8f['push'](_0x34bb8f['shift']());}catch(_0x2b72c0){_0x34bb8f['push'](_0x34bb8f['shift']());}}}(_0x9cd5,0xa8c65));function _0x341a(_0xb8d5a5,_0x49dc96){_0xb8d5a5=_0xb8d5a5-0x82;const _0x9cd53a=_0x9cd5();let _0x341a9d=_0x9cd53a[_0xb8d5a5];return _0x341a9d;}function _0x9cd5(){const _0x4be2c6=['349242CgSKkZ','39624650bVgECF','480lqmNln','4277170IxnwwF','1353107MyHFlw','40ZHVZUw','12PrXQFx','118399dlbJUz','1125MxCVSe','35cYqLOi','14512bahUdE','27GLXrAQ','120516flruMQ'];_0x9cd5=function(){return _0x4be2c6;};return _0x9cd5();}const DefaultAAParams={'type':exports.PostProcessStepType['Antialiasing'],'method':'fxaa'};
|
|
145
|
+
|
|
146
|
+
const _0xd41e62=_0x4e7f;(function(_0x343845,_0xc535c5){const _0x37569f=_0x4e7f,_0x53edf2=_0x343845();while(!![]){try{const _0x4a186f=-parseInt(_0x37569f(0x1a8))/0x1+parseInt(_0x37569f(0x1b0))/0x2+-parseInt(_0x37569f(0x1c6))/0x3*(-parseInt(_0x37569f(0x1b3))/0x4)+-parseInt(_0x37569f(0x1d7))/0x5+-parseInt(_0x37569f(0x1da))/0x6*(-parseInt(_0x37569f(0x1dc))/0x7)+-parseInt(_0x37569f(0x1ad))/0x8+-parseInt(_0x37569f(0x1b8))/0x9*(parseInt(_0x37569f(0x1ca))/0xa);if(_0x4a186f===_0xc535c5)break;else _0x53edf2['push'](_0x53edf2['shift']());}catch(_0x4f652e){_0x53edf2['push'](_0x53edf2['shift']());}}}(_0x35c9,0x1e6dd));function _0x4e7f(_0x4b86e6,_0x8cc08c){_0x4b86e6=_0x4b86e6-0x19d;const _0x35c9e3=_0x35c9();let _0x4e7f88=_0x35c9e3[_0x4b86e6];return _0x4e7f88;}function _0x35c9(){const _0x331a1a=['3520vbecny','ColliderComponent','disableDebug','add','_debugEnabled','world','remove','getCollisionResponse','physics','markRenderStateDirty','unregisterCollider','_debugOpacity','setCollisionResponse','331770NGNLCu','onDebugStyleChanged','Ignore','94002AjZdqJ','_collisionEnabled','35eDpfUH','tick','onHitDelegate','_generateHitEvents','_responseMap','generateOverlapEvents','createDebugObject','Overlap','objectType','_debugObject','getMutualResponse','setCollisionResponses','19268BawkAZ','generateHitEvents','name','WorldDynamic','_registeredInWorld','1469264ZuXELw','debugEnabled','_generateOverlapEvents','246822yjviWA','collisionEnabled','getDebugAttachParent','20mxtvvH','userData','_onHitDelegate','onAddedToWorld','debugOpacity','603ckIEIK','_debugColor','registerCollider','rayIgnored','assign','onDebugTick','Block','enableDebug','destroy','call','_onEndOverlapDelegate','destroyDebugObject','debugColor','onBeginOverlapDelegate','129453WsRfCU','parent','_objectType','_onBeginOverlapDelegate'];_0x35c9=function(){return _0x331a1a;};return _0x35c9();}class ColliderComponent extends SceneComponent{get[_0xd41e62(0x1ae)](){const _0x1e295c=_0xd41e62;return this[_0x1e295c(0x1ce)];}set['debugEnabled'](_0x2151fd){const _0x41ed64=_0xd41e62;var _0x3ccb66,_0x3a7704,_0x3c0364;if(this['_debugEnabled']===_0x2151fd)return;this[_0x41ed64(0x1ce)]=_0x2151fd,this[_0x41ed64(0x1ce)]?this[_0x41ed64(0x1bf)]():this[_0x41ed64(0x1cc)](),(_0x3c0364=(_0x3a7704=(_0x3ccb66=this['world'])===null||_0x3ccb66===void 0?void 0:_0x3ccb66['viewport'])===null||_0x3a7704===void 0?void 0:_0x3a7704[_0x41ed64(0x1d3)])===null||_0x3c0364===void 0?void 0:_0x3c0364[_0x41ed64(0x1c1)](_0x3a7704);}get[_0xd41e62(0x1c4)](){return this['_debugColor'];}set[_0xd41e62(0x1c4)](_0x4a42ae){const _0x5388f2=_0xd41e62;this['_debugColor']=_0x4a42ae,this[_0x5388f2(0x1ce)]&&this[_0x5388f2(0x1d8)]();}get[_0xd41e62(0x1b7)](){const _0x439ea1=_0xd41e62;return this[_0x439ea1(0x1d5)];}set[_0xd41e62(0x1b7)](_0x2bd5b8){const _0x374ac0=_0xd41e62;this[_0x374ac0(0x1d5)]=_0x2bd5b8,this[_0x374ac0(0x1ce)]&&this[_0x374ac0(0x1d8)]();}get['collisionEnabled'](){const _0x1701a4=_0xd41e62;return this[_0x1701a4(0x1db)];}set[_0xd41e62(0x1b1)](_0x4a51b6){const _0x1f3e8d=_0xd41e62;this[_0x1f3e8d(0x1db)]=_0x4a51b6;}get[_0xd41e62(0x1a1)](){const _0xe1731d=_0xd41e62;return this[_0xe1731d(0x1af)];}set[_0xd41e62(0x1a1)](_0x260316){this['_generateOverlapEvents']=_0x260316;}get['generateHitEvents'](){const _0x15e220=_0xd41e62;return this[_0x15e220(0x19f)];}set[_0xd41e62(0x1a9)](_0x385180){const _0x1284ec=_0xd41e62;this[_0x1284ec(0x19f)]=_0x385180;}get[_0xd41e62(0x1a4)](){const _0x1770ca=_0xd41e62;return this[_0x1770ca(0x1c8)];}set['objectType'](_0x388e3c){this['_objectType']=_0x388e3c;}get[_0xd41e62(0x1c5)](){const _0x11630a=_0xd41e62;return this[_0x11630a(0x1c9)];}get['onEndOverlapDelegate'](){const _0x30d886=_0xd41e62;return this[_0x30d886(0x1c2)];}get[_0xd41e62(0x19e)](){const _0x2bcaa0=_0xd41e62;return this[_0x2bcaa0(0x1b5)];}constructor(_0x54fa53,_0x471211){const _0x18ad36=_0xd41e62;super(_0x54fa53,_0x471211),this['_collisionEnabled']=!![],this[_0x18ad36(0x1af)]=!![],this[_0x18ad36(0x19f)]=!![],this[_0x18ad36(0x1c8)]=exports.CollisionChannel[_0x18ad36(0x1ab)],this[_0x18ad36(0x1a0)]={},this[_0x18ad36(0x1c9)]=new Delegate(),this[_0x18ad36(0x1c2)]=new Delegate(),this[_0x18ad36(0x1b5)]=new Delegate(),this['_registeredInWorld']=![],this[_0x18ad36(0x1ce)]=![],this[_0x18ad36(0x1b9)]=0xff00,this[_0x18ad36(0x1d5)]=0.25,this[_0x18ad36(0x1a5)]=null,this[_0x18ad36(0x1aa)]=_0x18ad36(0x1cb);}[_0xd41e62(0x1d6)](_0x332a32,_0x5c4da2){const _0x5b1198=_0xd41e62;this[_0x5b1198(0x1a0)][_0x332a32]=_0x5c4da2;}[_0xd41e62(0x1a7)](_0x4b34be){const _0x1322dc=_0xd41e62;this[_0x1322dc(0x1a0)]=Object[_0x1322dc(0x1bc)]({},_0x4b34be);}[_0xd41e62(0x1d1)](_0x4fc357){const _0x19080=_0xd41e62;var _0x4ada22;return (_0x4ada22=this[_0x19080(0x1a0)][_0x4fc357])!==null&&_0x4ada22!==void 0?_0x4ada22:exports.CollisionResponse['Block'];}[_0xd41e62(0x1a6)](_0x395c82){const _0x3ff86a=_0xd41e62,_0x4615e8=this[_0x3ff86a(0x1d1)](_0x395c82[_0x3ff86a(0x1a4)]),_0x3f70f7=_0x395c82['getCollisionResponse'](this[_0x3ff86a(0x1a4)]);if(_0x4615e8===exports.CollisionResponse[_0x3ff86a(0x1d9)]||_0x3f70f7===exports.CollisionResponse[_0x3ff86a(0x1d9)])return exports.CollisionResponse[_0x3ff86a(0x1d9)];if(_0x4615e8===exports.CollisionResponse[_0x3ff86a(0x1be)]||_0x3f70f7===exports.CollisionResponse['Block'])return exports.CollisionResponse[_0x3ff86a(0x1be)];return exports.CollisionResponse[_0x3ff86a(0x1a3)];}[_0xd41e62(0x19d)](_0x28013e){const _0x59ede8=_0xd41e62;super[_0x59ede8(0x19d)](_0x28013e),this[_0x59ede8(0x1ce)]&&this[_0x59ede8(0x1bd)](_0x28013e);}['onAddedToWorld'](_0x59822a){const _0x4bd6f1=_0xd41e62;super[_0x4bd6f1(0x1b6)](_0x59822a),!this[_0x4bd6f1(0x1ac)]&&(this['world'][_0x4bd6f1(0x1d2)][_0x4bd6f1(0x1ba)](this),this['_registeredInWorld']=!![]);}[_0xd41e62(0x1c0)](){const _0x5ec33e=_0xd41e62;this[_0x5ec33e(0x1ce)]&&(this[_0x5ec33e(0x1cc)](),this[_0x5ec33e(0x1ce)]=![]),this['_registeredInWorld']&&(this[_0x5ec33e(0x1cf)][_0x5ec33e(0x1d2)][_0x5ec33e(0x1d4)](this),this[_0x5ec33e(0x1ac)]=![]),super[_0x5ec33e(0x1c0)]();}[_0xd41e62(0x1b2)](){return this['threeObject'];}[_0xd41e62(0x1a2)](){return null;}[_0xd41e62(0x1c3)](_0x36c6d3){return;}[_0xd41e62(0x1bd)](_0x166b10){return;}['onDebugStyleChanged'](){return;}[_0xd41e62(0x1bf)](){const _0x1f4475=_0xd41e62;if(this[_0x1f4475(0x1a5)])return;const _0x4ffc80=this[_0x1f4475(0x1b2)](),_0x4abcbc=this[_0x1f4475(0x1a2)]();if(!_0x4abcbc)return;this[_0x1f4475(0x1a5)]=_0x4abcbc,_0x4abcbc['traverse'](_0x36a08a=>{const _0x5872cc=_0x1f4475;_0x36a08a[_0x5872cc(0x1b4)][_0x5872cc(0x1bb)]=!![];}),_0x4ffc80&&_0x4ffc80[_0x1f4475(0x1cd)](_0x4abcbc),this[_0x1f4475(0x1d8)]();}['disableDebug'](){const _0x260a83=_0xd41e62,_0x527a4c=this['_debugObject'];if(!_0x527a4c)return;this[_0x260a83(0x1c3)](_0x527a4c),_0x527a4c[_0x260a83(0x1c7)]&&_0x527a4c[_0x260a83(0x1c7)][_0x260a83(0x1d0)](_0x527a4c),this[_0x260a83(0x1a5)]=null;}}
|
|
147
|
+
|
|
148
|
+
const _0x1ec302=_0x4650;(function(_0x3629cd,_0x1b8ab4){const _0x264bdd=_0x4650,_0x44a5c6=_0x3629cd();while(!![]){try{const _0x5f8e06=parseInt(_0x264bdd(0x182))/0x1*(-parseInt(_0x264bdd(0x17c))/0x2)+parseInt(_0x264bdd(0x168))/0x3+parseInt(_0x264bdd(0x186))/0x4*(parseInt(_0x264bdd(0x17b))/0x5)+-parseInt(_0x264bdd(0x16c))/0x6+parseInt(_0x264bdd(0x181))/0x7*(parseInt(_0x264bdd(0x189))/0x8)+parseInt(_0x264bdd(0x169))/0x9*(-parseInt(_0x264bdd(0x192))/0xa)+-parseInt(_0x264bdd(0x178))/0xb;if(_0x5f8e06===_0x1b8ab4)break;else _0x44a5c6['push'](_0x44a5c6['shift']());}catch(_0x4262bc){_0x44a5c6['push'](_0x44a5c6['shift']());}}}(_0x3a2f,0x821f9));function _0x4650(_0x9f0d6d,_0x41e00b){_0x9f0d6d=_0x9f0d6d-0x15b;const _0x3a2fbe=_0x3a2f();let _0x465011=_0x3a2fbe[_0x9f0d6d];return _0x465011;}class CapsuleColliderComponent extends ColliderComponent{get['radius'](){return this['_radius'];}get[_0x1ec302(0x180)](){const _0x2ef02d=_0x1ec302;return this[_0x2ef02d(0x162)];}constructor(_0x518aff,_0x4e79c2=0.35,_0x1c7fd2=0.5,_0x29ae8e){const _0x23d27e=_0x1ec302;super(_0x518aff,_0x29ae8e),this[_0x23d27e(0x173)]=null,this[_0x23d27e(0x163)]=null,this[_0x23d27e(0x18d)]=null,this[_0x23d27e(0x175)]=null,this['_tmpA']=new webgpu.Vector3(),this['_tmpB']=new webgpu.Vector3(),this['_tmpBA']=new webgpu.Vector3(),this[_0x23d27e(0x166)]=new webgpu.Vector3(),this[_0x23d27e(0x17d)]=new webgpu.Vector3(),this[_0x23d27e(0x18a)]=new webgpu.Vector3(),this[_0x23d27e(0x188)]=Math[_0x23d27e(0x164)](0x0,_0x4e79c2),this[_0x23d27e(0x162)]=Math[_0x23d27e(0x164)](0x0,_0x1c7fd2),this[_0x23d27e(0x15b)]=exports.CollisionChannel['Pawn'],this[_0x23d27e(0x18f)](exports.CollisionChannel[_0x23d27e(0x172)],exports.CollisionResponse[_0x23d27e(0x177)]),this['setCollisionResponse'](exports.CollisionChannel[_0x23d27e(0x17f)],exports.CollisionResponse[_0x23d27e(0x16d)]),this[_0x23d27e(0x15c)]='CapsuleColliderComponent';}['getWorldAABB'](_0x1fdb16=new webgpu.Box3()){const _0x12907e=_0x1ec302,_0x57f482=this[_0x12907e(0x185)](),_0x41ff82=this[_0x12907e(0x165)](),_0x5ab0be=Math[_0x12907e(0x183)](_0x41ff82['x'])>1e-8?Math['abs'](_0x41ff82['x']):0x1,_0x22ae6e=Math['abs'](_0x41ff82['y'])>1e-8?Math[_0x12907e(0x183)](_0x41ff82['y']):0x1,_0x402957=Math['abs'](_0x41ff82['z'])>1e-8?Math[_0x12907e(0x183)](_0x41ff82['z']):0x1,_0x34ba40=this['_radius']*Math['max'](_0x5ab0be,_0x402957),_0x2fc5a=this['_halfHeight']*_0x22ae6e,_0x2116e4=new webgpu.Vector3(_0x57f482['x']-_0x34ba40,_0x57f482['y']-_0x2fc5a-_0x34ba40,_0x57f482['z']-_0x34ba40),_0xf7736a=new webgpu.Vector3(_0x57f482['x']+_0x34ba40,_0x57f482['y']+_0x2fc5a+_0x34ba40,_0x57f482['z']+_0x34ba40);return _0x1fdb16[_0x12907e(0x170)](_0x2116e4,_0xf7736a),_0x1fdb16;}[_0x1ec302(0x174)](_0xe50e1d,_0x1504c4,_0x228ee3){const _0x17a9bd=_0x1ec302;if(_0x228ee3<=0.000001)return null;const _0x36f190=this[_0x17a9bd(0x185)](),_0x9bc662=this[_0x17a9bd(0x165)](),_0x29aa03=Math['abs'](_0x9bc662['x'])>1e-8?Math[_0x17a9bd(0x183)](_0x9bc662['x']):0x1,_0x360dad=Math[_0x17a9bd(0x183)](_0x9bc662['y'])>1e-8?Math[_0x17a9bd(0x183)](_0x9bc662['y']):0x1,_0x3f1be7=Math[_0x17a9bd(0x183)](_0x9bc662['z'])>1e-8?Math['abs'](_0x9bc662['z']):0x1,_0x2d9d39=this['_radius']*Math[_0x17a9bd(0x164)](_0x29aa03,_0x3f1be7),_0x56e9da=this['_halfHeight']*_0x360dad,_0x5daa26=this[_0x17a9bd(0x15f)][_0x17a9bd(0x15e)](_0x36f190)[_0x17a9bd(0x18b)](new webgpu.Vector3(0x0,-_0x56e9da,0x0)),_0x17daaa=this['_tmpB'][_0x17a9bd(0x15e)](_0x36f190)['add'](new webgpu.Vector3(0x0,_0x56e9da,0x0)),_0x3af8a6=this['_tmpBA'][_0x17a9bd(0x15e)](_0x17daaa)['sub'](_0x5daa26),_0x3d92a1=this[_0x17a9bd(0x166)][_0x17a9bd(0x15e)](_0xe50e1d)[_0x17a9bd(0x16e)](_0x5daa26),_0x1ee50e=_0x3af8a6[_0x17a9bd(0x184)](_0x3af8a6),_0x138e35=_0x3af8a6['dot'](_0x1504c4),_0x1aaca8=_0x3af8a6[_0x17a9bd(0x184)](_0x3d92a1),_0x14c96c=_0x1504c4['dot'](_0x3d92a1),_0x49dbef=_0x3d92a1['dot'](_0x3d92a1),_0x27d931=_0x2d9d39*_0x2d9d39,_0x2bb7a4=_0x1ee50e-_0x138e35*_0x138e35,_0x9f1b3=_0x1ee50e*_0x14c96c-_0x1aaca8*_0x138e35,_0x3a501c=_0x1ee50e*(_0x49dbef-_0x27d931)-_0x1aaca8*_0x1aaca8;let _0x16824d=Infinity,_0x2920a5=null,_0x579c0b=null;const _0x30b403=1e-10;if(Math[_0x17a9bd(0x183)](_0x2bb7a4)>_0x30b403){const _0x462345=_0x9f1b3*_0x9f1b3-_0x2bb7a4*_0x3a501c;if(_0x462345>=0x0){const _0x5a0cea=(-_0x9f1b3-Math['sqrt'](_0x462345))/_0x2bb7a4,_0x536f0d=_0x1aaca8+_0x5a0cea*_0x138e35;if(_0x5a0cea>=0x0&&_0x5a0cea<=_0x228ee3&&_0x536f0d>0x0&&_0x536f0d<_0x1ee50e){_0x16824d=_0x5a0cea,_0x2920a5=this[_0x17a9bd(0x17d)][_0x17a9bd(0x15e)](_0x1504c4)[_0x17a9bd(0x18c)](_0x5a0cea)[_0x17a9bd(0x18b)](_0xe50e1d);const _0x2db316=this[_0x17a9bd(0x18a)][_0x17a9bd(0x15e)](_0x3af8a6)[_0x17a9bd(0x18c)](_0x536f0d/_0x1ee50e)[_0x17a9bd(0x18b)](_0x5daa26);_0x579c0b=this[_0x17a9bd(0x18a)][_0x17a9bd(0x15e)](_0x2920a5)[_0x17a9bd(0x16e)](_0x2db316);const _0x39291b=_0x579c0b[_0x17a9bd(0x16f)]();_0x39291b>1e-12?_0x579c0b['multiplyScalar'](0x1/Math[_0x17a9bd(0x16b)](_0x39291b)):_0x579c0b[_0x17a9bd(0x170)](0x0,0x1,0x0);}}}const _0xc19be2=this[_0x17a9bd(0x191)](_0xe50e1d,_0x1504c4,_0x228ee3,_0x5daa26,_0x2d9d39);_0xc19be2&&_0xc19be2['distance']<_0x16824d&&(_0x16824d=_0xc19be2[_0x17a9bd(0x17e)],_0x2920a5=_0xc19be2[_0x17a9bd(0x167)],_0x579c0b=_0xc19be2[_0x17a9bd(0x176)]);const _0x2c90c9=this[_0x17a9bd(0x191)](_0xe50e1d,_0x1504c4,_0x228ee3,_0x17daaa,_0x2d9d39);_0x2c90c9&&_0x2c90c9[_0x17a9bd(0x17e)]<_0x16824d&&(_0x16824d=_0x2c90c9[_0x17a9bd(0x17e)],_0x2920a5=_0x2c90c9[_0x17a9bd(0x167)],_0x579c0b=_0x2c90c9['normal']);if(!_0x2920a5||!_0x579c0b||!Number['isFinite'](_0x16824d))return null;return {'point':_0x2920a5['clone'](),'normal':_0x579c0b['clone'](),'distance':_0x16824d};}[_0x1ec302(0x191)](_0x3fe8c7,_0x310205,_0x38ecb7,_0x192afe,_0xaea558){const _0x466a3d=_0x1ec302,_0x11898b=_0x3fe8c7[_0x466a3d(0x195)]()[_0x466a3d(0x16e)](_0x192afe),_0x4115df=_0x11898b[_0x466a3d(0x184)](_0x310205),_0x30469f=_0x11898b[_0x466a3d(0x184)](_0x11898b)-_0xaea558*_0xaea558,_0x5043be=_0x4115df*_0x4115df-_0x30469f;if(_0x5043be<0x0)return null;const _0x482ea7=Math[_0x466a3d(0x16b)](_0x5043be),_0x29cb00=-_0x4115df-_0x482ea7;if(_0x29cb00<0x0||_0x29cb00>_0x38ecb7){const _0x5bc1e7=-_0x4115df+_0x482ea7;if(_0x5bc1e7<0x0||_0x5bc1e7>_0x38ecb7)return null;return this['makeSphereHit'](_0x3fe8c7,_0x310205,_0x5bc1e7,_0x192afe);}return this[_0x466a3d(0x194)](_0x3fe8c7,_0x310205,_0x29cb00,_0x192afe);}[_0x1ec302(0x194)](_0x261ef0,_0x5b00e3,_0x21945f,_0x564df){const _0x3b60c1=_0x1ec302,_0x75720f=_0x261ef0[_0x3b60c1(0x195)]()[_0x3b60c1(0x18b)](_0x5b00e3[_0x3b60c1(0x195)]()[_0x3b60c1(0x18c)](_0x21945f)),_0x3ca3fc=_0x75720f[_0x3b60c1(0x195)]()[_0x3b60c1(0x16e)](_0x564df),_0x5d82e7=_0x3ca3fc[_0x3b60c1(0x16f)]();return _0x5d82e7>1e-12?_0x3ca3fc[_0x3b60c1(0x18c)](0x1/Math[_0x3b60c1(0x16b)](_0x5d82e7)):_0x3ca3fc[_0x3b60c1(0x170)](0x0,0x1,0x0),{'point':_0x75720f,'normal':_0x3ca3fc,'distance':_0x21945f};}['createDebugObject'](){const _0x1119e9=_0x1ec302,_0xeafad7=new webgpu.Object3D();_0xeafad7[_0x1119e9(0x15c)]=_0x1119e9(0x179);const _0x4ac0fb=new webgpu.MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x1119e9(0x193)]}),_0x4e4e3e=Math[_0x1119e9(0x164)](0.000001,this[_0x1119e9(0x188)]),_0x26194f=Math['max'](0.000001,this[_0x1119e9(0x162)]*0x2),_0x385494=new webgpu.Mesh(new webgpu.CylinderGeometry(_0x4e4e3e,_0x4e4e3e,_0x26194f,0xc,0x1,!![]),_0x4ac0fb),_0xfbfd55=new webgpu.Mesh(new webgpu.SphereGeometry(_0x4e4e3e,0xc,0x8),_0x4ac0fb),_0x2c87bf=new webgpu.Mesh(new webgpu.SphereGeometry(_0x4e4e3e,0xc,0x8),_0x4ac0fb);return _0xfbfd55['position'][_0x1119e9(0x170)](0x0,this['_halfHeight'],0x0),_0x2c87bf[_0x1119e9(0x171)]['set'](0x0,-this[_0x1119e9(0x162)],0x0),_0xeafad7[_0x1119e9(0x18b)](_0x385494),_0xeafad7[_0x1119e9(0x18b)](_0xfbfd55),_0xeafad7[_0x1119e9(0x18b)](_0x2c87bf),this[_0x1119e9(0x173)]=_0xeafad7,this[_0x1119e9(0x163)]=_0x385494,this['_debugTop']=_0xfbfd55,this[_0x1119e9(0x175)]=_0x2c87bf,this[_0x1119e9(0x187)](0x0),_0xeafad7;}['destroyDebugObject'](_0x1765bc){const _0x149f14=_0x1ec302;this[_0x149f14(0x173)]=null,this[_0x149f14(0x163)]=null,this['_debugTop']=null,this[_0x149f14(0x175)]=null;}['onDebugTick'](_0x3fdb5e){const _0x5e135a=_0x1ec302,_0x379b7f=this['_debugCylinder'],_0x3d5d0e=this['_debugTop'],_0x5b9048=this[_0x5e135a(0x175)];if(!_0x379b7f||!_0x3d5d0e||!_0x5b9048)return;const _0x37f42e=this[_0x5e135a(0x165)](),_0x21f497=Math['abs'](_0x37f42e['x'])>1e-8?_0x37f42e['x']:0x1,_0x2aa6b0=Math['abs'](_0x37f42e['y'])>1e-8?_0x37f42e['y']:0x1,_0x35e1a4=Math[_0x5e135a(0x183)](_0x37f42e['z'])>1e-8?_0x37f42e['z']:0x1,_0x350f33=Math[_0x5e135a(0x164)](0.000001,this[_0x5e135a(0x188)])*Math[_0x5e135a(0x164)](Math[_0x5e135a(0x183)](_0x21f497),Math[_0x5e135a(0x183)](_0x35e1a4)),_0x583f72=Math[_0x5e135a(0x164)](0x0,this[_0x5e135a(0x162)])*Math[_0x5e135a(0x183)](_0x2aa6b0);_0x379b7f['scale'][_0x5e135a(0x170)](_0x350f33/_0x21f497,_0x583f72*0x2/_0x2aa6b0,_0x350f33/_0x35e1a4),_0x3d5d0e[_0x5e135a(0x160)]['set'](_0x350f33/_0x21f497,_0x350f33/_0x2aa6b0,_0x350f33/_0x35e1a4),_0x5b9048[_0x5e135a(0x160)]['set'](_0x350f33/_0x21f497,_0x350f33/_0x2aa6b0,_0x350f33/_0x35e1a4),_0x3d5d0e[_0x5e135a(0x171)][_0x5e135a(0x170)](0x0,_0x583f72/_0x2aa6b0,0x0),_0x5b9048['position'][_0x5e135a(0x170)](0x0,-_0x583f72/_0x2aa6b0,0x0);}[_0x1ec302(0x190)](){const _0x495109=_0x1ec302,_0xbdc540=this[_0x495109(0x173)];if(!_0xbdc540)return;_0xbdc540['traverse'](_0x9c41e6=>{const _0x3e5a9a=_0x495109,_0x173c37=_0x9c41e6,_0x2d63d6=_0x173c37['material'];if(!_0x2d63d6)return;_0x2d63d6[_0x3e5a9a(0x15d)][_0x3e5a9a(0x161)](this['debugColor']),_0x2d63d6[_0x3e5a9a(0x16a)]=this[_0x3e5a9a(0x193)],_0x2d63d6[_0x3e5a9a(0x18e)]=this[_0x3e5a9a(0x193)]<0x1,_0x2d63d6[_0x3e5a9a(0x17a)]=!![];});}}function _0x3a2f(){const _0x4d6137=['getWorldPosition','4rEHXqX','onDebugTick','_radius','24HFNHra','_tmpNormal','add','multiplyScalar','_debugTop','transparent','setCollisionResponse','onDebugStyleChanged','raycastSphere','10lTMBIE','debugOpacity','makeSphereHit','clone','objectType','name','color','copy','_tmpA','scale','setHex','_halfHeight','_debugCylinder','max','getWorldScale','_tmpOA','point','1931475zVLXXD','1071783uidKyO','opacity','sqrt','2955672HjbvbY','Overlap','sub','lengthSq','set','position','Pawn','_debugRoot','raycast','_debugBottom','normal','Ignore','5620791gYDLyN','CapsuleColliderDebug','needsUpdate','3575855JUrCcB','6632rQvKPj','_tmpPoint','distance','Trigger','halfHeight','1257053TeNZhT','73LKCtPp','abs','dot'];_0x3a2f=function(){return _0x4d6137;};return _0x3a2f();}
|
|
149
|
+
|
|
150
|
+
const _0x19319d=_0x4c55;(function(_0x1450ec,_0x5eb60f){const _0x4c0431=_0x4c55,_0x2526b7=_0x1450ec();while(!![]){try{const _0x262953=parseInt(_0x4c0431(0x167))/0x1*(-parseInt(_0x4c0431(0x14e))/0x2)+parseInt(_0x4c0431(0x148))/0x3+-parseInt(_0x4c0431(0x16b))/0x4*(-parseInt(_0x4c0431(0xf8))/0x5)+parseInt(_0x4c0431(0x139))/0x6*(parseInt(_0x4c0431(0x108))/0x7)+parseInt(_0x4c0431(0x117))/0x8*(-parseInt(_0x4c0431(0x126))/0x9)+-parseInt(_0x4c0431(0x118))/0xa+parseInt(_0x4c0431(0x100))/0xb;if(_0x262953===_0x5eb60f)break;else _0x2526b7['push'](_0x2526b7['shift']());}catch(_0xdc11d7){_0x2526b7['push'](_0x2526b7['shift']());}}}(_0x3844,0xe1af7));function _0x3844(){const _0x1e5eb0=['halfHeight','parent','eyeHeight','onKeyUpDelegate','onPointerDownDelegate','pointerLockElement','updateCameraFromPawn','onWindowBlurDelegate','ArrowRight','outer','direction','_verticalVelocity','onKeyUp','5370372qzASaO','near','onBlur','_targetPos','onClick','viewport','351974EzFdCC','setQuaternion','setRotation','constructRootComponent','ShiftLeft','onPointerLockChange','KeyD','code','scene','Ignore','quaternion','buttons','rootComponent','multiply','ArrowDown','physics','lineTraceMulti','ShiftRight','collider','onPointerUpDelegate','ArrowLeft','lineTraceSingle','distance','moveSpeed','width','8mbYftx','onPointerMoveDelegate','length','exitPointerLock','312ltWXvm','normal','_moveRight','blocking','setPosition','enableGravity','sub','onKeyDownDelegate','world','syncRotation','onRawClickDelegate','remove','Pawn','getQuaternion','atan2','clientY','onContextMenu','_moveDown','enabled','onKeyDown','possess','add','button','normalize','asin','65165wWreLW','setFromAxisAngle','order','_moveBackward','onMouseUp','threeObject','dataset','_moveUp','15071232fJhjMS','_moveLeft','inputFilter','camera','KeyW','onContextMenuDelegate','requestPointerLock','visible','7gYNzyq','onPointerLockChangeDelegate','point','find','applyQuaternion','onMouseDown','setFromEuler','KeyA','copy','_isRightDragging','ArrowUp','unpossess','position','invert','movementY','732336ghviVh','10269100QVfcSO','material','clone','_yaw','geometry','dot','onMouseMove','max','clientX','Space','YXZ','app','getTargetCameraState','landToGround','81ATNEtF','setCollisionResponse','KeyS','_pitch','dispose','gravity','isClickEnabled','radius','controller','clamp','_moveForward','_clickMarker','lengthSq','parentActor','multiplyScalar','getPosition','ray','setCameraDraggingState','canvas','37686MeNbLE','lookSpeed'];_0x3844=function(){return _0x1e5eb0;};return _0x3844();}function _0x4c55(_0x2b5ed1,_0x239ecf){_0x2b5ed1=_0x2b5ed1-0xed;const _0x384450=_0x3844();let _0x4c558c=_0x384450[_0x2b5ed1];return _0x4c558c;}class FirstPerson extends Pawn{constructor(_0x22d617){const _0x57f0cf=_0x4c55;super(_0x22d617),this[_0x57f0cf(0x165)]=0xa,this[_0x57f0cf(0x13a)]=0.002,this[_0x57f0cf(0x170)]=!![],this[_0x57f0cf(0x12b)]=0x1e,this[_0x57f0cf(0x13d)]=0.7,this[_0x57f0cf(0x146)]=0x0,this[_0x57f0cf(0x11b)]=0x0,this[_0x57f0cf(0x129)]=0x0,this['_targetPos']=null,this[_0x57f0cf(0x131)]=null,this['_moveForward']=![],this['_moveBackward']=![],this[_0x57f0cf(0x101)]=![],this[_0x57f0cf(0x16d)]=![],this[_0x57f0cf(0xff)]=![],this[_0x57f0cf(0xf0)]=![],this['_isRightDragging']=![],this[_0x57f0cf(0xef)]=_0x39597a=>{const _0xd315c4=_0x57f0cf;if(!Pawn[_0xd315c4(0x102)]())return;_0x39597a['preventDefault']();},this[_0x57f0cf(0x14a)]=()=>{const _0x33a295=_0x57f0cf;this['_moveForward']=![],this['_moveBackward']=![],this[_0x33a295(0x101)]=![],this[_0x33a295(0x16d)]=![],this[_0x33a295(0xff)]=![],this[_0x33a295(0xf0)]=![],this['_isRightDragging']=![],this['setCameraDraggingState'](![]);},this[_0x57f0cf(0x10d)]=_0x503ef8=>{const _0x45c0a9=_0x57f0cf;if(!this[_0x45c0a9(0xf1)]||!Pawn[_0x45c0a9(0x102)]())return;if(_0x503ef8[_0x45c0a9(0xf5)]!==0x2)return;this[_0x45c0a9(0x111)]=!![],this[_0x45c0a9(0x137)](!![]);const _0x4569ca=this[_0x45c0a9(0x123)][_0x45c0a9(0x14d)][_0x45c0a9(0x138)];_0x4569ca&&document['pointerLockElement']!==_0x4569ca&&_0x4569ca[_0x45c0a9(0x106)]();},this[_0x57f0cf(0xfc)]=_0x139826=>{const _0x2128b7=_0x57f0cf;if(_0x139826['button']!==0x2)return;this['_isRightDragging']=![],this[_0x2128b7(0x137)](![]),document[_0x2128b7(0x140)]===this[_0x2128b7(0x123)][_0x2128b7(0x14d)][_0x2128b7(0x138)]&&document['exitPointerLock']();},this[_0x57f0cf(0x14c)]=_0x6f0e7e=>{const _0x5ddc82=_0x57f0cf;if(!this['enabled']||!Pawn[_0x5ddc82(0x102)]())return;if(_0x6f0e7e[_0x5ddc82(0xf5)]!==0x0)return;const _0x4076e3=this[_0x5ddc82(0x123)][_0x5ddc82(0x14d)]['canvas'];if(!_0x4076e3||!this[_0x5ddc82(0x103)])return;const _0x4aea79=_0x4076e3['getBoundingClientRect'](),_0x124beb=new webgpu.Vector2((_0x6f0e7e[_0x5ddc82(0x120)]-_0x4aea79['left'])/_0x4aea79[_0x5ddc82(0x166)]*0x2-0x1,-((_0x6f0e7e[_0x5ddc82(0xee)]-_0x4aea79['top'])/_0x4aea79['height'])*0x2+0x1),_0x311ee3=new webgpu.Raycaster();_0x311ee3['setFromCamera'](_0x124beb,this['camera']);const _0x4effa2=_0x311ee3[_0x5ddc82(0x136)]['origin']['clone'](),_0x4c0827=_0x4effa2['clone']()[_0x5ddc82(0xf4)](_0x311ee3[_0x5ddc82(0x136)][_0x5ddc82(0x145)][_0x5ddc82(0x11a)]()[_0x5ddc82(0x134)](0x3e8)),_0x34c6a0=this[_0x5ddc82(0x15a)]instanceof CapsuleColliderComponent?this[_0x5ddc82(0x15a)]:undefined,_0x3cd81a=this['app'][_0x5ddc82(0x173)][_0x5ddc82(0x15d)][_0x5ddc82(0x15e)](_0x4effa2,_0x4c0827,exports.CollisionChannel[_0x5ddc82(0x177)],_0x34c6a0);let _0x1fa424=null;for(const _0x3b951b of _0x3cd81a){if(!_0x3b951b[_0x5ddc82(0x16e)])continue;if(this[_0x5ddc82(0x103)]instanceof webgpu.PerspectiveCamera){if(_0x3b951b[_0x5ddc82(0x164)]<this[_0x5ddc82(0x103)][_0x5ddc82(0x149)]*1.5)continue;}const _0x4dc6f5=_0x3b951b[_0x5ddc82(0x160)],_0x470c77=_0x4dc6f5&&(_0x4dc6f5[_0x5ddc82(0x12c)]||_0x4dc6f5['parentActor']&&_0x4dc6f5[_0x5ddc82(0x133)][_0x5ddc82(0x12c)]),_0x211eb6=_0x3b951b['normal']['y']>0.5;if(!_0x211eb6&&!_0x470c77){let _0x5610fd=0.5;this['camera']instanceof webgpu.PerspectiveCamera&&(_0x5610fd=this[_0x5ddc82(0x103)][_0x5ddc82(0x149)]*0x2);if(_0x3b951b['distance']>_0x5610fd)break;continue;}_0x1fa424=_0x3b951b;break;}if(_0x1fa424){const _0x3a1fe1=_0x1fa424[_0x5ddc82(0x160)];if(_0x3a1fe1){if(_0x3a1fe1[_0x5ddc82(0x12c)])return;if(_0x3a1fe1['parentActor']&&_0x3a1fe1[_0x5ddc82(0x133)]['isClickEnabled'])return;}_0x1fa424[_0x5ddc82(0x16c)]['y']>0.5&&(this[_0x5ddc82(0x14b)]=_0x1fa424[_0x5ddc82(0x10a)]['clone'](),this[_0x5ddc82(0x131)]&&(this[_0x5ddc82(0x131)][_0x5ddc82(0x114)][_0x5ddc82(0x110)](this[_0x5ddc82(0x14b)]),this[_0x5ddc82(0x131)][_0x5ddc82(0x107)]=!![]));}},this[_0x57f0cf(0x153)]=()=>{},this[_0x57f0cf(0x11e)]=_0x52ecef=>{const _0x2251ba=_0x57f0cf,_0x3f3f31=(_0x52ecef[_0x2251ba(0x159)]&0x2)===0x2;if(_0x3f3f31&&!this[_0x2251ba(0x111)])this[_0x2251ba(0x111)]=!![],this[_0x2251ba(0x137)](!![]);else !_0x3f3f31&&this[_0x2251ba(0x111)]&&(this[_0x2251ba(0x111)]=![],this[_0x2251ba(0x137)](![]));if(document[_0x2251ba(0x140)]!==this[_0x2251ba(0x123)][_0x2251ba(0x14d)]['canvas']&&!_0x3f3f31)return;if(!this[_0x2251ba(0xf1)]||!Pawn[_0x2251ba(0x102)]())return;const _0x7b054=_0x52ecef['movementX']||0x0,_0x46df03=_0x52ecef[_0x2251ba(0x116)]||0x0;this[_0x2251ba(0x174)](),this[_0x2251ba(0x11b)]-=_0x7b054*this[_0x2251ba(0x13a)],this[_0x2251ba(0x129)]-=_0x46df03*this[_0x2251ba(0x13a)];const _0x3b5330=Math['PI']/0x2;this[_0x2251ba(0x129)]=webgpu.MathUtils[_0x2251ba(0x12f)](this[_0x2251ba(0x129)],-_0x3b5330+0.001,_0x3b5330-0.001);const _0x2bab48=new webgpu.Quaternion()[_0x2251ba(0xf9)](new webgpu.Vector3(0x0,0x1,0x0),this[_0x2251ba(0x11b)]);super[_0x2251ba(0x14f)](_0x2bab48),this[_0x2251ba(0x141)]();},this[_0x57f0cf(0xf2)]=_0x179a9d=>{const _0x2ef1f7=_0x57f0cf;if(!Pawn[_0x2ef1f7(0x102)]())return;if([_0x2ef1f7(0x112),_0x2ef1f7(0x104),_0x2ef1f7(0x162),_0x2ef1f7(0x10f),_0x2ef1f7(0x15c),_0x2ef1f7(0x128),'ArrowRight','KeyD']['includes'](_0x179a9d[_0x2ef1f7(0x155)])){this[_0x2ef1f7(0x14b)]=null;if(this[_0x2ef1f7(0x131)])this[_0x2ef1f7(0x131)][_0x2ef1f7(0x107)]=![];}switch(_0x179a9d[_0x2ef1f7(0x155)]){case _0x2ef1f7(0x112):case _0x2ef1f7(0x104):this[_0x2ef1f7(0x130)]=!![];break;case 'ArrowLeft':case _0x2ef1f7(0x10f):this[_0x2ef1f7(0x101)]=!![];break;case 'ArrowDown':case 'KeyS':this[_0x2ef1f7(0xfb)]=!![];break;case _0x2ef1f7(0x143):case 'KeyD':this['_moveRight']=!![];break;case _0x2ef1f7(0x121):!this[_0x2ef1f7(0x170)]&&(this[_0x2ef1f7(0xff)]=!![]);break;case _0x2ef1f7(0x152):case _0x2ef1f7(0x15f):this[_0x2ef1f7(0xf0)]=!![];break;}},this[_0x57f0cf(0x147)]=_0x337965=>{const _0x49bdd4=_0x57f0cf;switch(_0x337965[_0x49bdd4(0x155)]){case _0x49bdd4(0x112):case _0x49bdd4(0x104):this['_moveForward']=![];break;case _0x49bdd4(0x162):case _0x49bdd4(0x10f):this[_0x49bdd4(0x101)]=![];break;case 'ArrowDown':case _0x49bdd4(0x128):this[_0x49bdd4(0xfb)]=![];break;case _0x49bdd4(0x143):case _0x49bdd4(0x154):this[_0x49bdd4(0x16d)]=![];break;case 'Space':this[_0x49bdd4(0xff)]=![];break;case _0x49bdd4(0x152):case _0x49bdd4(0x15f):this[_0x49bdd4(0xf0)]=![];break;}};}[_0x19319d(0x151)](){const _0x228da5=_0x19319d,_0x1721d4=new CapsuleColliderComponent(this[_0x228da5(0x123)],0.35,0.55);return _0x1721d4['objectType']=exports.CollisionChannel[_0x228da5(0x177)],_0x1721d4[_0x228da5(0x127)](exports.CollisionChannel['Visibility'],exports.CollisionResponse[_0x228da5(0x157)]),_0x1721d4;}[_0x19319d(0x125)](){const _0x7af579=_0x19319d,_0xbeb3e4=this[_0x7af579(0x135)](),_0x475962=_0xbeb3e4[_0x7af579(0x11a)]()[_0x7af579(0xf4)](new webgpu.Vector3(0x0,-1e3,0x0)),_0x1b7878=this[_0x7af579(0x15a)],_0x9e79bf=this[_0x7af579(0x123)][_0x7af579(0x173)]['physics'][_0x7af579(0x163)](_0xbeb3e4,_0x475962,exports.CollisionChannel[_0x7af579(0x177)],_0x1b7878);if(_0x9e79bf&&_0x9e79bf[_0x7af579(0x16e)]){const _0x3f09e5=_0x1b7878[_0x7af579(0x13b)]+_0x1b7878[_0x7af579(0x12d)],_0x437015=_0x9e79bf[_0x7af579(0x10a)]['y']+_0x3f09e5;this['setPosition'](_0xbeb3e4['x'],_0x437015,_0xbeb3e4['z']),this[_0x7af579(0x146)]=0x0;}}['syncRotation'](){const _0x3737a2=_0x19319d,_0x1d5196=this['getQuaternion'](),_0x3ce588=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x1d5196);this[_0x3737a2(0x11b)]=Math[_0x3737a2(0xed)](-_0x3ce588['x'],-_0x3ce588['z']);}[_0x19319d(0x150)](..._0x9542ab){const _0xcdbf44=_0x19319d,_0x3ff0e0=new webgpu.Quaternion();_0x9542ab[_0xcdbf44(0x169)]===0x1?_0x3ff0e0[_0xcdbf44(0x10e)](_0x9542ab[0x0]):_0x3ff0e0[_0xcdbf44(0x10e)](new webgpu.Euler(_0x9542ab[0x0],_0x9542ab[0x1],_0x9542ab[0x2],_0xcdbf44(0x122))),this[_0xcdbf44(0x14f)](_0x3ff0e0);}[_0x19319d(0x14f)](..._0x3a641c){const _0x16adc7=_0x19319d;let _0x25854d;_0x3a641c[_0x16adc7(0x169)]===0x1?_0x25854d=_0x3a641c[0x0]:_0x25854d=new webgpu.Quaternion(_0x3a641c[0x0],_0x3a641c[0x1],_0x3a641c[0x2],_0x3a641c[0x3]);const _0x4559cc=new webgpu.Vector3(0x0,0x0,-1)['applyQuaternion'](_0x25854d);let _0x1d4d03=Math[_0x16adc7(0xf7)](webgpu.MathUtils['clamp'](_0x4559cc['y'],-1,0x1));const _0x617b4=Math['PI']/0x2;_0x1d4d03=webgpu.MathUtils['clamp'](_0x1d4d03,-_0x617b4+0.001,_0x617b4-0.001);const _0x1bd35b=Math['atan2'](-_0x4559cc['x'],-_0x4559cc['z']);this[_0x16adc7(0x129)]=_0x1d4d03,this[_0x16adc7(0x11b)]=_0x1bd35b;const _0xcf42e7=new webgpu.Quaternion()['setFromAxisAngle'](new webgpu.Vector3(0x0,0x1,0x0),this[_0x16adc7(0x11b)]);super[_0x16adc7(0x14f)](_0xcf42e7),this[_0x16adc7(0xf1)]&&this[_0x16adc7(0x141)]();}[_0x19319d(0xf3)](){const _0x467e29=_0x19319d;super[_0x467e29(0xf3)]();const _0x6a5160=this[_0x467e29(0x123)][_0x467e29(0x12e)];_0x6a5160&&(_0x6a5160['onRawClickDelegate']['add'](this['onClick']),_0x6a5160[_0x467e29(0x105)]['add'](this[_0x467e29(0xef)]),_0x6a5160[_0x467e29(0x109)][_0x467e29(0xf4)](this['onPointerLockChange']),_0x6a5160[_0x467e29(0x172)][_0x467e29(0xf4)](this[_0x467e29(0xf2)]),_0x6a5160[_0x467e29(0x13e)]['add'](this[_0x467e29(0x147)]),_0x6a5160[_0x467e29(0x168)]['add'](this[_0x467e29(0x11e)]),_0x6a5160[_0x467e29(0x13f)][_0x467e29(0xf4)](this['onMouseDown']),_0x6a5160[_0x467e29(0x161)]['add'](this[_0x467e29(0xfc)]),_0x6a5160[_0x467e29(0x142)][_0x467e29(0xf4)](this[_0x467e29(0x14a)]));this['rootComponent']&&this[_0x467e29(0x15a)][_0x467e29(0xfd)]&&(this[_0x467e29(0x15a)][_0x467e29(0xfd)]['rotation'][_0x467e29(0xfa)]=_0x467e29(0x122));const _0x1c1887=new webgpu.SphereGeometry(0.2,0x10,0x10),_0x9ae699=new webgpu.MeshBasicMaterial({'color':0xff00,'transparent':!![],'opacity':0.8});this[_0x467e29(0x131)]=new webgpu.Mesh(_0x1c1887,_0x9ae699),this[_0x467e29(0x131)][_0x467e29(0x107)]=![],this[_0x467e29(0x123)][_0x467e29(0x173)][_0x467e29(0x156)]['add'](this['_clickMarker']),this[_0x467e29(0x174)](),this[_0x467e29(0x141)]();}['unpossess'](){const _0x11d150=_0x19319d;var _0x313509;super[_0x11d150(0x113)]();const _0x1b260a=this[_0x11d150(0x123)][_0x11d150(0x12e)];_0x1b260a&&(_0x1b260a[_0x11d150(0x175)]['remove'](this[_0x11d150(0x14c)]),_0x1b260a[_0x11d150(0x105)][_0x11d150(0x176)](this[_0x11d150(0xef)]),_0x1b260a[_0x11d150(0x109)]['remove'](this[_0x11d150(0x153)]),_0x1b260a[_0x11d150(0x172)][_0x11d150(0x176)](this[_0x11d150(0xf2)]),_0x1b260a[_0x11d150(0x13e)][_0x11d150(0x176)](this[_0x11d150(0x147)]),_0x1b260a['onPointerMoveDelegate'][_0x11d150(0x176)](this['onMouseMove']),_0x1b260a['onPointerDownDelegate'][_0x11d150(0x176)](this['onMouseDown']),_0x1b260a[_0x11d150(0x161)][_0x11d150(0x176)](this[_0x11d150(0xfc)]),_0x1b260a['onWindowBlurDelegate'][_0x11d150(0x176)](this['onBlur'])),this[_0x11d150(0x111)]=![],this[_0x11d150(0x137)](![]),this[_0x11d150(0x131)]&&((_0x313509=this[_0x11d150(0x131)][_0x11d150(0x13c)])===null||_0x313509===void 0?void 0:_0x313509['remove'](this['_clickMarker']),this[_0x11d150(0x131)][_0x11d150(0x11c)][_0x11d150(0x12a)](),this['_clickMarker'][_0x11d150(0x119)]['dispose'](),this[_0x11d150(0x131)]=null),document[_0x11d150(0x140)]===this[_0x11d150(0x123)]['viewport'][_0x11d150(0x138)]&&document[_0x11d150(0x16a)]();}[_0x19319d(0x124)](){const _0x3d3020=_0x19319d,_0x4d1d53=this[_0x3d3020(0x135)]();_0x4d1d53['y']+=this[_0x3d3020(0x13d)];const _0x532b6d=this[_0x3d3020(0x103)]||this[_0x3d3020(0x123)][_0x3d3020(0x103)],_0x1810b6=this[_0x3d3020(0x178)](),_0x1054be=new webgpu.Quaternion()[_0x3d3020(0xf9)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x3d3020(0x129)]),_0x1e698a=_0x1810b6['clone']()[_0x3d3020(0x15b)](_0x1054be);if(_0x532b6d){const _0x5d8225=new webgpu.Vector3(0x0,0x0,_0x532b6d['near'])[_0x3d3020(0x10c)](_0x1e698a);_0x4d1d53[_0x3d3020(0xf4)](_0x5d8225);}return {'position':_0x4d1d53,'quaternion':_0x1e698a};}[_0x19319d(0x137)](_0xbedae){const _0x1a9d93=_0x19319d,_0x2311d5=this['app'][_0x1a9d93(0x14d)][_0x1a9d93(0x144)];if(!_0x2311d5)return;_0xbedae?_0x2311d5[_0x1a9d93(0xfe)]['lyCameraDragging']='1':delete _0x2311d5[_0x1a9d93(0xfe)]['lyCameraDragging'];}['tick'](_0x4a51f2){const _0x13638a=_0x19319d;if(!this[_0x13638a(0xf1)])return;const _0x5f4a28=this['moveSpeed']*_0x4a51f2,_0x4c29f5=new webgpu.Vector3();if(this[_0x13638a(0x130)])_0x4c29f5['z']-=0x1;if(this[_0x13638a(0xfb)])_0x4c29f5['z']+=0x1;if(this[_0x13638a(0x101)])_0x4c29f5['x']-=0x1;if(this[_0x13638a(0x16d)])_0x4c29f5['x']+=0x1;if(this[_0x13638a(0x14b)]&&_0x4c29f5['lengthSq']()===0x0){const _0x38aff8=this['getPosition'](),_0x151c8a=this[_0x13638a(0x14b)][_0x13638a(0x11a)]();this[_0x13638a(0x170)]&&(_0x151c8a['y']=_0x38aff8['y']);const _0x3d645c=_0x151c8a['sub'](_0x38aff8),_0x467be5=_0x3d645c[_0x13638a(0x169)]();if(_0x467be5>0.1){_0x3d645c[_0x13638a(0xf6)]();if(this[_0x13638a(0x170)]){const _0xe9ffb8=this['getQuaternion']()[_0x13638a(0x115)](),_0xec35ec=_0x3d645c[_0x13638a(0x11a)]()[_0x13638a(0x10c)](_0xe9ffb8);_0x4c29f5['copy'](_0xec35ec);}else _0x4c29f5[_0x13638a(0x110)](_0x3d645c);}else {this[_0x13638a(0x14b)]=null;if(this[_0x13638a(0x131)])this[_0x13638a(0x131)][_0x13638a(0x107)]=![];}}if(!this[_0x13638a(0x170)]){if(this[_0x13638a(0xff)])_0x4c29f5['y']+=0x1;if(this[_0x13638a(0xf0)])_0x4c29f5['y']-=0x1;}let _0x587255=new webgpu.Vector3();if(_0x4c29f5[_0x13638a(0x132)]()>0x0){_0x4c29f5['normalize']()[_0x13638a(0x134)](_0x5f4a28);const _0x4fc108=this[_0x13638a(0x178)]();_0x587255=_0x4c29f5['applyQuaternion'](_0x4fc108),this['enableGravity']&&(_0x587255['y']=0x0,_0x587255[_0x13638a(0x132)]()>0x0&&_0x587255['normalize']()[_0x13638a(0x134)](_0x5f4a28));}const _0x24994e=this[_0x13638a(0x123)][_0x13638a(0x173)],_0x39e8c0=this[_0x13638a(0x135)](),_0x588817=this[_0x13638a(0x15a)]instanceof CapsuleColliderComponent?this[_0x13638a(0x15a)]:null,_0x187a30=_0x588817?_0x588817[_0x13638a(0x12d)]:0.35,_0x2ed61e=_0x588817?_0x588817[_0x13638a(0x13b)]:0.9;if(this['enableGravity']){this[_0x13638a(0x146)]-=this['gravity']*_0x4a51f2;const _0x363eae=_0x39e8c0['clone'](),_0x240ae6=_0x2ed61e+_0x187a30+0.1,_0x2adf7f=_0x24994e['physics'][_0x13638a(0x15e)](_0x363eae,_0x363eae[_0x13638a(0x11a)]()[_0x13638a(0xf4)](new webgpu.Vector3(0x0,-_0x240ae6,0x0)),exports.CollisionChannel[_0x13638a(0x177)],_0x588817||undefined),_0x5e8fef=_0x2adf7f[_0x13638a(0x10b)](_0x86eb6d=>_0x86eb6d[_0x13638a(0x16e)]);_0x5e8fef&&(this['_verticalVelocity']<=0x0&&(this[_0x13638a(0x146)]=Math[_0x13638a(0x11f)](0x0,this[_0x13638a(0x146)]))),_0x587255['y']+=this[_0x13638a(0x146)]*_0x4a51f2;}let _0x54c109=_0x587255;if(_0x24994e&&_0x24994e[_0x13638a(0x15d)]&&_0x587255[_0x13638a(0x132)]()>0.000001){const _0xd08d77=_0x39e8c0[_0x13638a(0x11a)](),_0x230850=_0x587255[_0x13638a(0x169)]()+_0x187a30+0.1,_0x1b1884=_0xd08d77[_0x13638a(0x11a)]()[_0x13638a(0xf4)](_0x587255[_0x13638a(0x11a)]()[_0x13638a(0xf6)]()[_0x13638a(0x134)](_0x230850)),_0x5c8613=_0x24994e[_0x13638a(0x15d)][_0x13638a(0x15e)](_0xd08d77,_0x1b1884,exports.CollisionChannel[_0x13638a(0x177)],_0x588817||undefined),_0x139fdf=_0x5c8613['find'](_0x2644be=>_0x2644be['blocking']);if(_0x139fdf&&_0x139fdf[_0x13638a(0x16e)]){const _0x3bc404=_0x139fdf[_0x13638a(0x164)],_0x5ee8fd=Math['max'](0x0,_0x3bc404-_0x187a30-0.001);if(_0x5ee8fd<_0x587255[_0x13638a(0x169)]()){const _0x4205f1=_0x587255[_0x13638a(0x11a)]()['normalize'](),_0x2f1307=_0x4205f1[_0x13638a(0x11a)]()['multiplyScalar'](_0x5ee8fd),_0x3488bb=_0x587255['clone']()['sub'](_0x2f1307),_0x32159e=_0x139fdf[_0x13638a(0x16c)],_0x19fd07=_0x3488bb[_0x13638a(0x11d)](_0x32159e);let _0xb04d1f=new webgpu.Vector3();_0x19fd07<0x0?_0xb04d1f=_0x3488bb[_0x13638a(0x11a)]()[_0x13638a(0x171)](_0x32159e[_0x13638a(0x11a)]()[_0x13638a(0x134)](_0x19fd07)):_0xb04d1f=_0x3488bb;const _0x39ce4d=_0xb04d1f[_0x13638a(0x169)]();if(_0x39ce4d>0.001){const _0x4fe970=_0xd08d77['clone']()[_0x13638a(0xf4)](_0x2f1307),_0x52abab=_0x39ce4d+_0x187a30+0.1,_0x1563ba=_0x4fe970[_0x13638a(0x11a)]()[_0x13638a(0xf4)](_0xb04d1f[_0x13638a(0x11a)]()[_0x13638a(0xf6)]()['multiplyScalar'](_0x52abab)),_0xc009eb=_0x24994e[_0x13638a(0x15d)]['lineTraceMulti'](_0x4fe970,_0x1563ba,exports.CollisionChannel[_0x13638a(0x177)],_0x588817||undefined),_0x3f633e=_0xc009eb[_0x13638a(0x10b)](_0x312e6a=>_0x312e6a[_0x13638a(0x16e)]);if(_0x3f633e&&_0x3f633e[_0x13638a(0x16e)]){const _0x2587f6=_0x3f633e[_0x13638a(0x164)],_0x35a2d1=Math[_0x13638a(0x11f)](0x0,_0x2587f6-_0x187a30-0.001);_0x35a2d1<_0x39ce4d&&_0xb04d1f[_0x13638a(0xf6)]()[_0x13638a(0x134)](_0x35a2d1);}}_0x54c109=_0x2f1307[_0x13638a(0xf4)](_0xb04d1f);}}}_0x54c109[_0x13638a(0x132)]()>0x0&&(_0x39e8c0[_0x13638a(0xf4)](_0x54c109),this[_0x13638a(0x16f)](_0x39e8c0)),this[_0x13638a(0x141)]();}[_0x19319d(0x141)](){const _0x1c6f6d=_0x19319d;if(!this[_0x1c6f6d(0xf1)]||!this[_0x1c6f6d(0x103)])return;const _0x4bc464=this[_0x1c6f6d(0x135)]();_0x4bc464['y']+=this[_0x1c6f6d(0x13d)];const _0x4c589b=this[_0x1c6f6d(0x178)](),_0x4001bc=new webgpu.Quaternion()[_0x1c6f6d(0xf9)](new webgpu.Vector3(0x1,0x0,0x0),this[_0x1c6f6d(0x129)]),_0x1b95bd=_0x4c589b[_0x1c6f6d(0x11a)]()[_0x1c6f6d(0x15b)](_0x4001bc),_0x16c4e9=new webgpu.Vector3(0x0,0x0,this[_0x1c6f6d(0x103)][_0x1c6f6d(0x149)])[_0x1c6f6d(0x10c)](_0x1b95bd);_0x4bc464[_0x1c6f6d(0xf4)](_0x16c4e9),this[_0x1c6f6d(0x103)][_0x1c6f6d(0x114)][_0x1c6f6d(0x110)](_0x4bc464),this[_0x1c6f6d(0x103)][_0x1c6f6d(0x158)][_0x1c6f6d(0x110)](_0x1b95bd),this[_0x1c6f6d(0x103)]['updateProjectionMatrix']();}}
|
|
151
|
+
|
|
152
|
+
const _0x32159a=_0x4b8a;(function(_0x4ba10c,_0x5ef916){const _0x1f6f96=_0x4b8a,_0x41858f=_0x4ba10c();while(!![]){try{const _0xa12f21=-parseInt(_0x1f6f96(0x109))/0x1*(parseInt(_0x1f6f96(0x117))/0x2)+parseInt(_0x1f6f96(0x124))/0x3*(-parseInt(_0x1f6f96(0x108))/0x4)+-parseInt(_0x1f6f96(0x128))/0x5*(-parseInt(_0x1f6f96(0x126))/0x6)+-parseInt(_0x1f6f96(0x120))/0x7*(parseInt(_0x1f6f96(0x112))/0x8)+-parseInt(_0x1f6f96(0x111))/0x9*(-parseInt(_0x1f6f96(0x110))/0xa)+parseInt(_0x1f6f96(0x118))/0xb*(-parseInt(_0x1f6f96(0x10f))/0xc)+parseInt(_0x1f6f96(0x11f))/0xd*(parseInt(_0x1f6f96(0x113))/0xe);if(_0xa12f21===_0x5ef916)break;else _0x41858f['push'](_0x41858f['shift']());}catch(_0x2260ad){_0x41858f['push'](_0x41858f['shift']());}}}(_0x4492,0xc6d36));function _0x4492(){const _0x96fb8a=['1988553KaYfnl','eyeHeight','1063386JzAuoc','updateCameraFromPawn','35tiPpHV','pointerLockElement','getRotation','clone','4mtmVZT','467rjhTvJ','moveSpeed','YXZ','position','rootComponent','unpossess','1095252jNfQWe','20ViVVAo','4732632hjgemc','576KXAVkN','322OulnvU','app','getTargetCameraState','copy','6432IMBORf','88WvddOY','threeObject','getPosition','camera','order','possess','constructRootComponent','815464qEXPeC','2506egnpvE','rotation','tick','viewport'];_0x4492=function(){return _0x96fb8a;};return _0x4492();}function _0x4b8a(_0x54c80e,_0x50e03b){_0x54c80e=_0x54c80e-0x107;const _0x4492f9=_0x4492();let _0x4b8a4a=_0x4492f9[_0x54c80e];return _0x4b8a4a;}class Spectator extends Pawn{constructor(_0x53084f){const _0x2869ad=_0x4b8a;super(_0x53084f),this[_0x2869ad(0x10a)]=0xa,this['lookSpeed']=0.002,this['eyeHeight']=0.7;}[_0x32159a(0x11e)](){return new SceneComponent(this['app']);}[_0x32159a(0x11d)](){const _0x2c3d1c=_0x32159a;super['possess'](),this['rootComponent']&&this[_0x2c3d1c(0x10d)]['threeObject']&&(this[_0x2c3d1c(0x10d)][_0x2c3d1c(0x119)][_0x2c3d1c(0x121)][_0x2c3d1c(0x11c)]=_0x2c3d1c(0x10b)),this[_0x2c3d1c(0x127)]();}[_0x32159a(0x10e)](){const _0x5c8a08=_0x32159a;super[_0x5c8a08(0x10e)](),document[_0x5c8a08(0x129)]===this[_0x5c8a08(0x114)][_0x5c8a08(0x123)]['canvas']&&document['exitPointerLock']();}[_0x32159a(0x115)](){const _0x580067=_0x32159a,_0x3cfffb=this[_0x580067(0x11a)]();return _0x3cfffb['y']+=this['eyeHeight'],{'position':_0x3cfffb,'quaternion':this['getQuaternion']()[_0x580067(0x107)]()};}[_0x32159a(0x122)](_0x5a490a){const _0x227cea=_0x32159a;if(!this['enabled'])return;this[_0x227cea(0x127)]();}[_0x32159a(0x127)](){const _0x3d08b7=_0x32159a;if(!this['enabled']||!this[_0x3d08b7(0x11b)])return;const _0x48be33=this[_0x3d08b7(0x11a)]();_0x48be33['y']+=this[_0x3d08b7(0x125)],this['camera'][_0x3d08b7(0x10c)][_0x3d08b7(0x116)](_0x48be33),this['camera'][_0x3d08b7(0x121)]['copy'](this[_0x3d08b7(0x12a)]());}}
|
|
153
|
+
|
|
154
|
+
function _0x144e(){const _0x4d83c9=['camera','controller','scale','destroy','forEach','onChangeEvent','detach','getMatrixInWorld','onTransforming','scaleSnap','decompose','getTargetScene','setTarget','unpossess','attach','value','removeEventListener','11574BQSehg','primaryTarget','matrixWorld','1744VpdFCx','control','quaternion','_control','enabled','900186txbLpm','showZ','3199IosrAg','onUpdateFunction','name','multiply','setSize','helperObject','onObjectChangeEvent','setSpace','onChange','markRenderStateDirty','setTranslationSnap','getMode','objectChange','onDraggingChanged','addEventListener','1778031NTJMmC','setAxis','getTranslationSnap','position','world','add','onDraggingChangedEvent','change','set','translationSnap','updateMatrixWorld','includes','targetMatrixMap','getHelper','setMode','4wMBPkQ','viewport','traverse','368525zGYxAt','694020SawRUu','getScaleSnap','TransformGizmo:Canvas\x20not\x20found','clear','onDraggingFunction','get','showX','enable','setScaleSnap','gizmoScene','targets','userData','clone','scene','setRotationSnap','Control\x20not\x20initialized','refresh','remove','2636442tIeXZR','isTickEnabled','invert','getRotationnSnap'];_0x144e=function(){return _0x4d83c9;};return _0x144e();}function _0x3109(_0x29708b,_0x1669ae){_0x29708b=_0x29708b-0x12a;const _0x144e1c=_0x144e();let _0x310946=_0x144e1c[_0x29708b];return _0x310946;}const _0x36a260=_0x3109;(function(_0x18204d,_0x59a5c3){const _0x49a4d5=_0x3109,_0x4e98b3=_0x18204d();while(!![]){try{const _0x4f45ad=-parseInt(_0x49a4d5(0x13f))/0x1+parseInt(_0x49a4d5(0x16b))/0x2+parseInt(_0x49a4d5(0x147))/0x3*(-parseInt(_0x49a4d5(0x167))/0x4)+-parseInt(_0x49a4d5(0x16a))/0x5+parseInt(_0x49a4d5(0x12a))/0x6+parseInt(_0x49a4d5(0x149))/0x7*(parseInt(_0x49a4d5(0x142))/0x8)+-parseInt(_0x49a4d5(0x158))/0x9;if(_0x4f45ad===_0x59a5c3)break;else _0x4e98b3['push'](_0x4e98b3['shift']());}catch(_0x43c5a7){_0x4e98b3['push'](_0x4e98b3['shift']());}}}(_0x144e,0x4a027));class TransformGizmo extends Pawn{get['control'](){const _0xd6d60d=_0x3109;if(!this[_0xd6d60d(0x145)])throw new Error(_0xd6d60d(0x17a));return this[_0xd6d60d(0x145)];}constructor(_0x52e252,_0x4c15bb){const _0x45e2a1=_0x3109;var _0x42033a;super(_0x52e252),this['_control']=null,this['helperObject']=new webgpu.Object3D(),this[_0x45e2a1(0x175)]=[],this[_0x45e2a1(0x140)]=null,this[_0x45e2a1(0x164)]=new Map(),this[_0x45e2a1(0x174)]=null,this['onDraggingChangedEvent']=_0x221f71=>{const _0x3a6c96=_0x45e2a1;this[_0x3a6c96(0x156)](_0x221f71);},this[_0x45e2a1(0x14f)]=()=>{this['onObjectChanged']();},this[_0x45e2a1(0x133)]=()=>{const _0x454fe1=_0x45e2a1;this[_0x454fe1(0x151)]();},this[_0x45e2a1(0x14a)]=null,this[_0x45e2a1(0x16f)]=null;let _0x2d97c1=_0x52e252[_0x45e2a1(0x168)]['canvas'];if(!_0x2d97c1)throw new Error(_0x45e2a1(0x16d));this['_control']=new TransformControls_js.TransformControls(_0x52e252[_0x45e2a1(0x12e)],_0x2d97c1),this[_0x45e2a1(0x143)][_0x45e2a1(0x165)]()[_0x45e2a1(0x169)](_0xb0d457=>{const _0x46a121=_0x45e2a1;_0xb0d457[_0x46a121(0x176)]['rayIgnored']=!![];}),this[_0x45e2a1(0x14e)][_0x45e2a1(0x14b)]='TransformHelperObject',this['gizmoScene']=(_0x42033a=_0x4c15bb===null||_0x4c15bb===void 0?void 0:_0x4c15bb['helperScene'])!==null&&_0x42033a!==void 0?_0x42033a:null;}[_0x36a260(0x139)](){const _0x4cc18d=_0x36a260;var _0x34e92e;return (_0x34e92e=this[_0x4cc18d(0x174)])!==null&&_0x34e92e!==void 0?_0x34e92e:this['controller'][_0x4cc18d(0x15c)][_0x4cc18d(0x178)];}['possess'](){const _0x35a64d=_0x36a260,_0x20bb18=this[_0x35a64d(0x139)]();_0x20bb18['add'](this['helperObject']),_0x20bb18[_0x35a64d(0x15d)](this[_0x35a64d(0x143)][_0x35a64d(0x165)]()),this['control'][_0x35a64d(0x13c)](this[_0x35a64d(0x14e)]),this[_0x35a64d(0x143)][_0x35a64d(0x157)]('change',this['onChangeEvent']),this[_0x35a64d(0x143)][_0x35a64d(0x157)]('dragging-changed',this[_0x35a64d(0x15e)]),this[_0x35a64d(0x143)][_0x35a64d(0x157)](_0x35a64d(0x155),this[_0x35a64d(0x14f)]);}[_0x36a260(0x13b)](){const _0x149bfd=_0x36a260;this[_0x149bfd(0x143)][_0x149bfd(0x13e)](_0x149bfd(0x15f),this['onChangeEvent']),this[_0x149bfd(0x143)][_0x149bfd(0x13e)]('dragging-changed',this['onDraggingChangedEvent']),this['control'][_0x149bfd(0x13e)](_0x149bfd(0x155),this['onObjectChangeEvent']),this[_0x149bfd(0x143)][_0x149bfd(0x134)]();const _0x586287=this[_0x149bfd(0x139)]();_0x586287[_0x149bfd(0x17c)](this['helperObject']),_0x586287[_0x149bfd(0x17c)](this[_0x149bfd(0x143)][_0x149bfd(0x165)]());}['getTargetCameraState'](){const _0x57e143=_0x36a260;return {'position':this['camera'][_0x57e143(0x15b)][_0x57e143(0x177)](),'quaternion':this[_0x57e143(0x12e)][_0x57e143(0x144)][_0x57e143(0x177)]()};}[_0x36a260(0x17b)](){const _0x3664dd=_0x36a260;if(!this[_0x3664dd(0x140)])return;this[_0x3664dd(0x143)][_0x3664dd(0x134)]();const _0x4f366d=this['getTargetScene']();_0x4f366d[_0x3664dd(0x17c)](this['helperObject']),this[_0x3664dd(0x164)][_0x3664dd(0x16e)]();let _0x5db814=this['primaryTarget'][_0x3664dd(0x135)]();_0x5db814[_0x3664dd(0x138)](this[_0x3664dd(0x14e)][_0x3664dd(0x15b)],this['helperObject'][_0x3664dd(0x144)],this['helperObject']['scale']),_0x4f366d['add'](this[_0x3664dd(0x143)][_0x3664dd(0x165)]()),_0x4f366d['add'](this[_0x3664dd(0x14e)]),this[_0x3664dd(0x143)]['attach'](this['helperObject']),this['targets'][_0x3664dd(0x132)](_0x4502ea=>{const _0x111d6e=_0x3664dd,_0x5ae9d9=_0x4502ea[_0x111d6e(0x135)](),_0xf4552=_0x5db814[_0x111d6e(0x177)]()[_0x111d6e(0x12c)]()[_0x111d6e(0x14c)](_0x5ae9d9);this[_0x111d6e(0x164)][_0x111d6e(0x160)](_0x4502ea,_0xf4552);});}[_0x36a260(0x151)](){const _0xeb83c0=_0x36a260;this[_0xeb83c0(0x12f)]['viewPort'][_0xeb83c0(0x152)]();}[_0x36a260(0x156)](_0x551844){const _0x17be21=_0x36a260;if(this[_0x17be21(0x140)]){let _0xeafe72=this['primaryTarget'][_0x17be21(0x135)]();_0xeafe72['decompose'](this[_0x17be21(0x14e)][_0x17be21(0x15b)],this['helperObject']['quaternion'],this[_0x17be21(0x14e)][_0x17be21(0x130)]);}this[_0x17be21(0x16f)]&&this[_0x17be21(0x16f)](_0x551844[_0x17be21(0x13d)]);}['onObjectChanged'](){const _0x6bb531=_0x36a260;if(this['primaryTarget']){this[_0x6bb531(0x14e)][_0x6bb531(0x162)](!![]);const _0x564386=this[_0x6bb531(0x14e)][_0x6bb531(0x141)][_0x6bb531(0x177)]();this[_0x6bb531(0x140)]['onTransforming'](_0x564386),this[_0x6bb531(0x175)][_0x6bb531(0x132)](_0x53453f=>{const _0x3dbd08=_0x6bb531,_0x4a3fa9=this['targetMatrixMap'][_0x3dbd08(0x170)](_0x53453f);if(_0x4a3fa9){const _0x3a7d13=new webgpu.Matrix4()['multiplyMatrices'](_0x564386,_0x4a3fa9);_0x53453f[_0x3dbd08(0x136)](_0x3a7d13);}});}this[_0x6bb531(0x14a)]&&this[_0x6bb531(0x14a)]();}set[_0x36a260(0x172)](_0x112ab9){const _0x331674=_0x36a260;this[_0x331674(0x143)][_0x331674(0x146)]=_0x112ab9;}[_0x36a260(0x13a)](_0x3c71f5,_0x32f1ec,_0x414858=null,_0x40dde0=null){const _0x5764b8=_0x36a260;this[_0x5764b8(0x164)][_0x5764b8(0x16e)]();let _0x4c685b=_0x3c71f5[_0x5764b8(0x135)]();_0x4c685b[_0x5764b8(0x138)](this[_0x5764b8(0x14e)]['position'],this[_0x5764b8(0x14e)]['quaternion'],this['helperObject'][_0x5764b8(0x130)]);const _0x30353d=this['getTargetScene']();_0x30353d[_0x5764b8(0x15d)](this[_0x5764b8(0x143)][_0x5764b8(0x165)]()),this[_0x5764b8(0x140)]=_0x3c71f5,this[_0x5764b8(0x175)]=_0x32f1ec,this[_0x5764b8(0x175)][_0x5764b8(0x132)](_0x3c19e0=>{const _0x21a3ec=_0x5764b8,_0x4f795a=_0x3c19e0['getMatrixInWorld'](),_0xac6a5a=_0x4c685b[_0x21a3ec(0x177)]()[_0x21a3ec(0x12c)]()[_0x21a3ec(0x14c)](_0x4f795a);this[_0x21a3ec(0x164)][_0x21a3ec(0x160)](_0x3c19e0,_0xac6a5a);}),_0x414858&&(this[_0x5764b8(0x14a)]=_0x414858),_0x40dde0&&(this['onDraggingFunction']=_0x40dde0),this['isTickEnabled']=!![];}[_0x36a260(0x154)](){const _0x4ab88c=_0x36a260;return this['control'][_0x4ab88c(0x154)]();}[_0x36a260(0x166)](_0x1bde8a){const _0x37f0bd=_0x36a260;this[_0x37f0bd(0x143)][_0x37f0bd(0x166)](_0x1bde8a);}[_0x36a260(0x150)](_0x52b59c){const _0x348e9c=_0x36a260;this['control'][_0x348e9c(0x150)](_0x52b59c);}[_0x36a260(0x159)](_0x2665a7){const _0x50f81d=_0x36a260;this[_0x50f81d(0x143)][_0x50f81d(0x171)]=_0x2665a7?_0x2665a7===null||_0x2665a7===void 0?void 0:_0x2665a7[_0x50f81d(0x163)]('X'):![],this[_0x50f81d(0x143)]['showY']=_0x2665a7?_0x2665a7===null||_0x2665a7===void 0?void 0:_0x2665a7['includes']('Y'):![],this[_0x50f81d(0x143)][_0x50f81d(0x148)]=_0x2665a7?_0x2665a7===null||_0x2665a7===void 0?void 0:_0x2665a7[_0x50f81d(0x163)]('Z'):![];}[_0x36a260(0x14d)](_0x3951e7){const _0x88faa3=_0x36a260;this[_0x88faa3(0x143)]['setSize'](_0x3951e7);}[_0x36a260(0x15a)](){const _0x580443=_0x36a260;return this[_0x580443(0x143)][_0x580443(0x161)];}[_0x36a260(0x153)](_0x172174){const _0x1e897e=_0x36a260;this[_0x1e897e(0x143)]['setTranslationSnap'](_0x172174);}[_0x36a260(0x12d)](){const _0x156847=_0x36a260;return this[_0x156847(0x143)]['rotationSnap'];}[_0x36a260(0x179)](_0x58a2d3){const _0xec6e18=_0x36a260;this[_0xec6e18(0x143)][_0xec6e18(0x179)](_0x58a2d3);}[_0x36a260(0x16c)](){const _0x652749=_0x36a260;return this[_0x652749(0x143)][_0x652749(0x137)];}['setScaleSnap'](_0x530933){const _0x1b1063=_0x36a260;this[_0x1b1063(0x143)][_0x1b1063(0x173)](_0x530933);}[_0x36a260(0x131)](){const _0x2eaec5=_0x36a260;var _0x5b8c7e;this[_0x2eaec5(0x12b)]=![],this[_0x2eaec5(0x13b)](),this[_0x2eaec5(0x164)][_0x2eaec5(0x16e)](),this['targets']=[],this['primaryTarget']=null,this[_0x2eaec5(0x14a)]=null,this['onDraggingFunction']=null,(_0x5b8c7e=this[_0x2eaec5(0x145)])===null||_0x5b8c7e===void 0?void 0:_0x5b8c7e['dispose'](),this[_0x2eaec5(0x145)]=null,super[_0x2eaec5(0x131)]();}}
|
|
155
|
+
|
|
156
|
+
const _0x402ded=_0x3392;(function(_0x3e10dc,_0x6d58ab){const _0x1084b4=_0x3392,_0x1b3fb2=_0x3e10dc();while(!![]){try{const _0x459553=-parseInt(_0x1084b4(0x186))/0x1+-parseInt(_0x1084b4(0x190))/0x2+parseInt(_0x1084b4(0x1a2))/0x3+-parseInt(_0x1084b4(0x17f))/0x4+parseInt(_0x1084b4(0x183))/0x5*(parseInt(_0x1084b4(0x18b))/0x6)+-parseInt(_0x1084b4(0x18a))/0x7+parseInt(_0x1084b4(0x19b))/0x8;if(_0x459553===_0x6d58ab)break;else _0x1b3fb2['push'](_0x1b3fb2['shift']());}catch(_0x392e7b){_0x1b3fb2['push'](_0x1b3fb2['shift']());}}}(_0x3e79,0x641f2));function _0x3e79(){const _0x1a25cf=['negate','abs','2088135CjAaFX','28614TMkSpX','expandByPoint','name','invert','BoxColliderDebug','565974AZRSqK','subVectors','add','makeEmpty','matrixWorld','applyMatrix4','debugOpacity','copy','onDebugTick','destroyDebugObject','halfExtents','12159832taocBh','BoxColliderDebugMesh','_debugMesh','debugColor','scale','normalize','multiplyScalar','1562943sMimQe','BoxColliderComponent','set','2061584FXGnMa','createDebugObject','raycast','_halfExtents','75TETuke','intersectRayAabbRaw','threeObject','605709CaTGUP','clone'];_0x3e79=function(){return _0x1a25cf;};return _0x3e79();}function _0x3392(_0x3feea3,_0x5c0dea){_0x3feea3=_0x3feea3-0x17d;const _0x3e7936=_0x3e79();let _0x33922a=_0x3e7936[_0x3feea3];return _0x33922a;}class BoxColliderComponent extends ColliderComponent{get[_0x402ded(0x19a)](){const _0x3ae70a=_0x402ded;return this[_0x3ae70a(0x182)];}constructor(_0x2d0af3,_0x12cf8a=new webgpu.Vector3(0.5,0.5,0.5),_0x450b7b){const _0x500755=_0x402ded;super(_0x2d0af3,_0x450b7b),this[_0x500755(0x19d)]=null,this[_0x500755(0x182)]=new webgpu.Vector3(_0x12cf8a['x'],_0x12cf8a['y'],_0x12cf8a['z']),this['name']=_0x500755(0x17d);}['getWorldAABB'](_0xee065e=new webgpu.Box3()){const _0x567813=_0x402ded,_0x35c293=this['getWorldMatrix'](),_0x2f02b1=this[_0x567813(0x182)]['x'],_0x34fba6=this[_0x567813(0x182)]['y'],_0x2128c0=this[_0x567813(0x182)]['z'];_0xee065e[_0x567813(0x193)]();const _0x129856=[new webgpu.Vector3(-_0x2f02b1,-_0x34fba6,-_0x2128c0),new webgpu.Vector3(-_0x2f02b1,-_0x34fba6,_0x2128c0),new webgpu.Vector3(-_0x2f02b1,_0x34fba6,-_0x2128c0),new webgpu.Vector3(-_0x2f02b1,_0x34fba6,_0x2128c0),new webgpu.Vector3(_0x2f02b1,-_0x34fba6,-_0x2128c0),new webgpu.Vector3(_0x2f02b1,-_0x34fba6,_0x2128c0),new webgpu.Vector3(_0x2f02b1,_0x34fba6,-_0x2128c0),new webgpu.Vector3(_0x2f02b1,_0x34fba6,_0x2128c0)];for(const _0x1ca876 of _0x129856){_0x1ca876[_0x567813(0x195)](_0x35c293),_0xee065e[_0x567813(0x18c)](_0x1ca876);}return _0xee065e;}[_0x402ded(0x180)](){const _0x48cf7c=_0x402ded,_0x12d528=new webgpu.Object3D();_0x12d528['name']=_0x48cf7c(0x18f);const _0x14e886=new webgpu.BoxGeometry(0x1,0x1,0x1),_0x28876b=new webgpu.MeshBasicMaterial({'color':this[_0x48cf7c(0x19e)],'wireframe':!![],'transparent':!![],'opacity':this[_0x48cf7c(0x196)]}),_0x34e50e=new webgpu.Mesh(_0x14e886,_0x28876b);return _0x34e50e[_0x48cf7c(0x18d)]=_0x48cf7c(0x19c),_0x12d528['add'](_0x34e50e),this[_0x48cf7c(0x19d)]=_0x34e50e,this[_0x48cf7c(0x198)](0x0),_0x12d528;}[_0x402ded(0x199)](_0x2b2802){const _0x2696a8=_0x402ded;this[_0x2696a8(0x19d)]=null;}[_0x402ded(0x198)](_0xaaa6ca){const _0x4ba787=_0x402ded;if(!this[_0x4ba787(0x19d)])return;this[_0x4ba787(0x19d)][_0x4ba787(0x19f)][_0x4ba787(0x17e)](this['_halfExtents']['x']*0x2,this[_0x4ba787(0x182)]['y']*0x2,this['_halfExtents']['z']*0x2);}[_0x402ded(0x181)](_0x4227f3,_0x5f42df,_0x568ac9){const _0x22c591=_0x402ded;if(!this['threeObject'])return null;const _0x15f568=this[_0x22c591(0x185)][_0x22c591(0x194)][_0x22c591(0x187)]()[_0x22c591(0x18e)](),_0x2b5e72=_0x4227f3['clone']()[_0x22c591(0x195)](_0x15f568),_0x448c69=_0x5f42df[_0x22c591(0x187)]()['transformDirection'](_0x15f568),_0x41f97a=_0x4227f3[_0x22c591(0x187)]()[_0x22c591(0x192)](_0x5f42df),_0x1ecf09=_0x41f97a[_0x22c591(0x195)](_0x15f568);_0x448c69[_0x22c591(0x191)](_0x1ecf09,_0x2b5e72);const _0x2de1a0=this[_0x22c591(0x182)][_0x22c591(0x187)]()[_0x22c591(0x188)](),_0x3b63b5=this[_0x22c591(0x182)][_0x22c591(0x187)](),_0x38c560=this[_0x22c591(0x184)](_0x2b5e72,_0x448c69,_0x2de1a0,_0x3b63b5);if(!_0x38c560)return null;if(_0x38c560['t']>_0x568ac9)return null;const _0x4ecfef=_0x4227f3['clone']()[_0x22c591(0x192)](_0x5f42df[_0x22c591(0x187)]()[_0x22c591(0x1a1)](_0x38c560['t'])),_0x2c0d41=_0x38c560['normal'],_0x32288f=new webgpu.Matrix4()[_0x22c591(0x197)](this['threeObject'][_0x22c591(0x194)])[_0x22c591(0x18e)]()['transpose'](),_0x45a11b=_0x2c0d41[_0x22c591(0x195)](_0x32288f)[_0x22c591(0x1a0)]();return {'point':_0x4ecfef,'normal':_0x45a11b,'distance':_0x38c560['t']};}[_0x402ded(0x184)](_0x601e8e,_0x5c45cd,_0x445394,_0xe0e98a){const _0x81e76f=_0x402ded;let _0x22801a=-Infinity,_0x885803=Infinity;const _0x5c3151=new webgpu.Vector3(),_0x31f52f=1e-8,_0x51151c=_0x4ef0a2=>{const _0x192977=_0x3392,_0x17d521=_0x601e8e[_0x4ef0a2],_0x5824a1=_0x5c45cd[_0x4ef0a2],_0x48c6f9=_0x445394[_0x4ef0a2],_0x224b33=_0xe0e98a[_0x4ef0a2];if(Math[_0x192977(0x189)](_0x5824a1)<_0x31f52f){if(_0x17d521<_0x48c6f9||_0x17d521>_0x224b33)return ![];return !![];}const _0x14127a=0x1/_0x5824a1;let _0x55e09e=(_0x48c6f9-_0x17d521)*_0x14127a,_0x74e771=(_0x224b33-_0x17d521)*_0x14127a;if(_0x55e09e>_0x74e771){const _0x92f6e0=_0x55e09e;_0x55e09e=_0x74e771,_0x74e771=_0x92f6e0;}if(_0x55e09e>_0x22801a){_0x22801a=_0x55e09e,_0x5c3151[_0x192977(0x17e)](0x0,0x0,0x0),_0x5c3151[_0x4ef0a2]=_0x5824a1<0x0?0x1:-1;if(_0x5824a1>0x0)_0x5c3151[_0x4ef0a2]=-1;else _0x5c3151[_0x4ef0a2]=0x1;}_0x74e771<_0x885803&&(_0x885803=_0x74e771);if(_0x22801a>_0x885803)return ![];return !![];};if(!_0x51151c('x')||!_0x51151c('y')||!_0x51151c('z'))return null;if(_0x885803<0x0)return null;if(_0x22801a<0x0)return {'t':0x0,'normal':_0x5c45cd['clone']()[_0x81e76f(0x188)]()[_0x81e76f(0x1a0)]()};return {'t':_0x22801a,'normal':_0x5c3151};}}
|
|
157
|
+
|
|
158
|
+
function _0x5ea2(){const _0x562b61=['destroyDebugObject','946176lUPYWF','123UtUaqX','debugOpacity','debugColor','max','SphereColliderDebug','13322757NzfbGX','set','onDebugTick','add','51660oImoBh','2257890HshCXj','SphereColliderDebugMesh','_debugMesh','27hXaKCs','color','radius','material','createDebugObject','1780476QIajHC','1320471BtTvAg','abs','opacity','6mqWpFP','name','_radius','transparent','scale','setFromCenterAndSize','setHex','7836755dgBJWJ'];_0x5ea2=function(){return _0x562b61;};return _0x5ea2();}const _0x440436=_0x4983;(function(_0x50fd74,_0xff83b1){const _0xedea06=_0x4983,_0x303999=_0x50fd74();while(!![]){try{const _0x81c350=-parseInt(_0xedea06(0x135))/0x1+-parseInt(_0xedea06(0x134))/0x2+-parseInt(_0xedea06(0x142))/0x3*(-parseInt(_0xedea06(0x14b))/0x4)+parseInt(_0xedea06(0x13f))/0x5+-parseInt(_0xedea06(0x138))/0x6*(-parseInt(_0xedea06(0x147))/0x7)+-parseInt(_0xedea06(0x141))/0x8+parseInt(_0xedea06(0x14f))/0x9*(-parseInt(_0xedea06(0x14c))/0xa);if(_0x81c350===_0xff83b1)break;else _0x303999['push'](_0x303999['shift']());}catch(_0x194872){_0x303999['push'](_0x303999['shift']());}}}(_0x5ea2,0xf29e9));function _0x4983(_0xb70c6,_0x125365){_0xb70c6=_0xb70c6-0x131;const _0x5ea2ff=_0x5ea2();let _0x49834e=_0x5ea2ff[_0xb70c6];return _0x49834e;}class SphereColliderComponent extends ColliderComponent{get[_0x440436(0x131)](){const _0x55f061=_0x440436;return this[_0x55f061(0x13a)];}constructor(_0x1e26b3,_0x40759e=0.5,_0x2a6c08){const _0x4e77be=_0x440436;super(_0x1e26b3,_0x2a6c08),this[_0x4e77be(0x14e)]=null,this[_0x4e77be(0x13a)]=_0x40759e,this[_0x4e77be(0x139)]='SphereColliderComponent';}['getWorldAABB'](_0x438552=new webgpu.Box3()){const _0x29d28f=_0x440436,_0x4caf89=this['getWorldPosition'](),_0x4aa2da=this['getWorldScale'](),_0x3c07c3=Math['max'](Math['abs'](_0x4aa2da['x']),Math[_0x29d28f(0x136)](_0x4aa2da['y']),Math[_0x29d28f(0x136)](_0x4aa2da['z'])),_0x3058f6=Math['max'](0x0,this['_radius'])*_0x3c07c3,_0x230a4b=new webgpu.Vector3(_0x3058f6*0x2,_0x3058f6*0x2,_0x3058f6*0x2);return _0x438552[_0x29d28f(0x13d)](_0x4caf89,_0x230a4b),_0x438552;}[_0x440436(0x133)](){const _0x47cb63=_0x440436,_0x5e3d6a=new webgpu.Object3D();_0x5e3d6a[_0x47cb63(0x139)]=_0x47cb63(0x146);const _0x6b5f63=new webgpu.SphereGeometry(0x1,0x18,0x10),_0x427672=new webgpu.MeshBasicMaterial({'color':this[_0x47cb63(0x144)],'wireframe':!![],'transparent':!![],'opacity':this[_0x47cb63(0x143)]}),_0xef8d49=new webgpu.Mesh(_0x6b5f63,_0x427672);return _0xef8d49[_0x47cb63(0x139)]=_0x47cb63(0x14d),_0x5e3d6a[_0x47cb63(0x14a)](_0xef8d49),this[_0x47cb63(0x14e)]=_0xef8d49,this[_0x47cb63(0x149)](0x0),_0x5e3d6a;}[_0x440436(0x140)](_0x27e1fe){const _0x3124c5=_0x440436;this[_0x3124c5(0x14e)]=null;}[_0x440436(0x149)](_0x44be48){const _0x5b8e8a=_0x440436,_0x49f96f=this[_0x5b8e8a(0x14e)];if(!_0x49f96f)return;const _0xf74a57=this['getWorldScale'](),_0x5bf0a9=Math[_0x5b8e8a(0x136)](_0xf74a57['x'])>1e-8?_0xf74a57['x']:0x1,_0x150a80=Math[_0x5b8e8a(0x136)](_0xf74a57['y'])>1e-8?_0xf74a57['y']:0x1,_0x3d7008=Math['abs'](_0xf74a57['z'])>1e-8?_0xf74a57['z']:0x1,_0x3f3d8c=Math[_0x5b8e8a(0x145)](Math[_0x5b8e8a(0x136)](_0x5bf0a9),Math[_0x5b8e8a(0x136)](_0x150a80),Math['abs'](_0x3d7008)),_0x478716=Math[_0x5b8e8a(0x145)](0x0,this[_0x5b8e8a(0x13a)])*_0x3f3d8c;_0x49f96f[_0x5b8e8a(0x13c)][_0x5b8e8a(0x148)](_0x478716/_0x5bf0a9,_0x478716/_0x150a80,_0x478716/_0x3d7008);}['onDebugStyleChanged'](){const _0x372a4d=_0x440436,_0x2305ee=this[_0x372a4d(0x14e)];if(!_0x2305ee)return;const _0x1add35=_0x2305ee[_0x372a4d(0x132)];_0x1add35[_0x372a4d(0x150)][_0x372a4d(0x13e)](this[_0x372a4d(0x144)]),_0x1add35[_0x372a4d(0x137)]=this[_0x372a4d(0x143)],_0x1add35[_0x372a4d(0x13b)]=this[_0x372a4d(0x143)]<0x1,_0x1add35['needsUpdate']=!![];}}
|
|
159
|
+
|
|
160
|
+
const _0x155f48=_0xf1b7;function _0x2c33(){const _0x9c647c=['4954722mVSMaN','intersectRayAabb','index','count','addScaledVector','matrixWorld','sqrt','dot','attributes','setSourceObject','sub','setAttribute','add','color','getX','_tmpBoxCorner','opacity','max','destroy','needsUpdate','_debugMaterial','setHex','getAttribute','979270JQqyeH','floor','sourceObject','_sourceObject','boundingBox','mergeGeometries','48942cxRIpO','getZ','name','_tmpB','parent','normal','applyMatrix4','_tmpEdge2','computeBoundingBox','_debugEntries','setIndex','_tmpEdge1','copy','array','getIndex','9100630ZYWGSH','multiplyScalar','55eHpewc','abs','updateWorldMatrix','_mesh','675IeUwHd','geometry','crossVectors','getWorldAABB','_tmpT','_tmpAabb','_tmpQ','raycast','onDebugStyleChanged','isMesh','position','min','traverse','threeObject','getDebugAttachParent','push','length','debugOpacity','set','debugEnabled','_tmpN','createDebugObject','debugColor','MeshColliderDebug','1135278SjSotj','_tmpA','invert','destroyDebugObject','obj','171032TmQjTS','from','_tmpC','makeEmpty','distance','multiply','getY','34swVoGu','_tmpP','intersectRayTriangle','_tmpCorner','_tmpMat','transparent','4YQKIXM','dispose','raycastAll','6881343JecUwd','clone','point'];_0x2c33=function(){return _0x9c647c;};return _0x2c33();}(function(_0x23fdc7,_0x1df6a0){const _0x48db29=_0xf1b7,_0x17fbbb=_0x23fdc7();while(!![]){try{const _0x814b9c=-parseInt(_0x48db29(0x120))/0x1*(-parseInt(_0x48db29(0x159))/0x2)+parseInt(_0x48db29(0x165))/0x3*(-parseInt(_0x48db29(0x15f))/0x4)+parseInt(_0x48db29(0x12f))/0x5+-parseInt(_0x48db29(0x14d))/0x6+-parseInt(_0x48db29(0x162))/0x7+parseInt(_0x48db29(0x152))/0x8*(parseInt(_0x48db29(0x135))/0x9)+parseInt(_0x48db29(0x11a))/0xa*(-parseInt(_0x48db29(0x131))/0xb);if(_0x814b9c===_0x1df6a0)break;else _0x17fbbb['push'](_0x17fbbb['shift']());}catch(_0x365bd9){_0x17fbbb['push'](_0x17fbbb['shift']());}}}(_0x2c33,0xe600e));function _0xf1b7(_0x490e6b,_0x231174){_0x490e6b=_0x490e6b-0x115;const _0x2c33f5=_0x2c33();let _0xf1b71e=_0x2c33f5[_0x490e6b];return _0xf1b71e;}class MeshColliderComponent extends ColliderComponent{get[_0x155f48(0x11c)](){return this['_sourceObject'];}constructor(_0x3acdd7,_0x327c10=null,_0x4ca1c6){const _0x5638dc=_0x155f48;super(_0x3acdd7,_0x4ca1c6),this[_0x5638dc(0x11d)]=null,this[_0x5638dc(0x134)]=null,this[_0x5638dc(0x129)]=[],this['_debugMaterial']=null,this[_0x5638dc(0x13a)]=new webgpu.Box3(),this['_tmpMat']=new webgpu.Matrix4(),this[_0x5638dc(0x15c)]=new webgpu.Vector3(),this[_0x5638dc(0x174)]=Array[_0x5638dc(0x153)]({'length':0x8},()=>new webgpu.Vector3()),this[_0x5638dc(0x14e)]=new webgpu.Vector3(),this[_0x5638dc(0x123)]=new webgpu.Vector3(),this[_0x5638dc(0x154)]=new webgpu.Vector3(),this[_0x5638dc(0x12b)]=new webgpu.Vector3(),this[_0x5638dc(0x127)]=new webgpu.Vector3(),this[_0x5638dc(0x15a)]=new webgpu.Vector3(),this[_0x5638dc(0x139)]=new webgpu.Vector3(),this[_0x5638dc(0x13b)]=new webgpu.Vector3(),this[_0x5638dc(0x149)]=new webgpu.Vector3(),this[_0x5638dc(0x122)]='MeshColliderComponent',this['setSourceObject'](_0x327c10);}[_0x155f48(0x16e)](_0x405d18){const _0x1b0283=_0x155f48,_0x171327=this[_0x1b0283(0x148)];_0x171327&&(this['debugEnabled']=![]);this[_0x1b0283(0x11d)]=_0x405d18;this[_0x1b0283(0x134)]&&(this[_0x1b0283(0x134)][_0x1b0283(0x136)][_0x1b0283(0x160)](),this['_mesh']=null);if(!_0x405d18){_0x171327&&(this['debugEnabled']=!![]);return;}const _0x24b3b2=[];_0x405d18[_0x1b0283(0x133)](!![],!![]);const _0x15c739=_0x405d18[_0x1b0283(0x16a)][_0x1b0283(0x163)]()[_0x1b0283(0x14f)]();_0x405d18[_0x1b0283(0x141)](_0x5bd97c=>{const _0x10eaeb=_0x1b0283;if(_0x5bd97c[_0x10eaeb(0x13e)]){const _0x116799=_0x5bd97c;if(_0x116799[_0x10eaeb(0x136)]){const _0x58a54f=_0x116799[_0x10eaeb(0x136)][_0x10eaeb(0x163)](),_0x4086c8=_0x15c739['clone']()[_0x10eaeb(0x157)](_0x116799['matrixWorld']);_0x58a54f[_0x10eaeb(0x126)](_0x4086c8),_0x24b3b2['push'](_0x58a54f);}}});if(_0x24b3b2[_0x1b0283(0x145)]>0x0){const _0xa55ee3=this[_0x1b0283(0x11f)](_0x24b3b2);if(_0xa55ee3){const _0x5b91f2=new webgpu.Mesh(_0xa55ee3);this[_0x1b0283(0x134)]=_0x5b91f2;}}_0x171327&&(this[_0x1b0283(0x148)]=!![]);}[_0x155f48(0x11f)](_0x1321f5){const _0x465158=_0x155f48;if(_0x1321f5[_0x465158(0x145)]===0x0)return null;if(_0x1321f5[_0x465158(0x145)]===0x1)return _0x1321f5[0x0];let _0x447664=0x0,_0x48ac23=0x0;for(const _0xb4e7cd of _0x1321f5){_0x447664+=_0xb4e7cd[_0x465158(0x16d)][_0x465158(0x13f)]['count'],_0xb4e7cd[_0x465158(0x167)]?_0x48ac23+=_0xb4e7cd[_0x465158(0x167)]['count']:_0x48ac23+=_0xb4e7cd[_0x465158(0x16d)][_0x465158(0x13f)][_0x465158(0x168)];}const _0x103889=new Float32Array(_0x447664*0x3),_0x485928=new Uint32Array(_0x48ac23);let _0x103219=0x0,_0x58cfca=0x0;for(const _0x29917c of _0x1321f5){const _0x2b8e9f=_0x29917c[_0x465158(0x16d)]['position'][_0x465158(0x12d)],_0x4ca275=_0x29917c[_0x465158(0x16d)][_0x465158(0x13f)][_0x465158(0x168)];for(let _0x4f5394=0x0;_0x4f5394<_0x4ca275*0x3;_0x4f5394++){_0x103889[_0x103219*0x3+_0x4f5394]=_0x2b8e9f[_0x4f5394];}if(_0x29917c['index']){const _0xf812a2=_0x29917c[_0x465158(0x167)][_0x465158(0x12d)];for(let _0x3fc87c=0x0;_0x3fc87c<_0x29917c[_0x465158(0x167)][_0x465158(0x168)];_0x3fc87c++){_0x485928[_0x58cfca+_0x3fc87c]=_0xf812a2[_0x3fc87c]+_0x103219;}_0x58cfca+=_0x29917c[_0x465158(0x167)][_0x465158(0x168)];}else {for(let _0xa999d7=0x0;_0xa999d7<_0x4ca275;_0xa999d7++){_0x485928[_0x58cfca+_0xa999d7]=_0xa999d7+_0x103219;}_0x58cfca+=_0x4ca275;}_0x103219+=_0x4ca275;}const _0xf4230=new webgpu.BufferGeometry();return _0xf4230[_0x465158(0x170)](_0x465158(0x13f),new webgpu.BufferAttribute(_0x103889,0x3)),_0xf4230[_0x465158(0x12a)](new webgpu.BufferAttribute(_0x485928,0x1)),_0xf4230;}[_0x155f48(0x115)](){const _0x150288=_0x155f48;this[_0x150288(0x148)]=![],this[_0x150288(0x134)]&&(this['_mesh'][_0x150288(0x136)][_0x150288(0x160)](),this[_0x150288(0x134)]=null),this[_0x150288(0x11d)]=null,super['destroy']();}[_0x155f48(0x138)](_0x3dffa9=new webgpu.Box3()){const _0x5d0076=_0x155f48;_0x3dffa9[_0x5d0076(0x155)]();if(!this[_0x5d0076(0x11d)])return _0x3dffa9;this['_sourceObject'][_0x5d0076(0x133)](!![],!![]);const _0x4bea68=this[_0x5d0076(0x174)];if(this['_mesh']){const _0x1b0c33=this[_0x5d0076(0x134)];_0x1b0c33[_0x5d0076(0x16a)][_0x5d0076(0x12c)](this[_0x5d0076(0x11d)][_0x5d0076(0x16a)]);const _0x3a94e7=_0x1b0c33[_0x5d0076(0x136)];if(_0x3a94e7){!_0x3a94e7[_0x5d0076(0x11e)]&&_0x3a94e7['computeBoundingBox']();const _0x383d96=_0x3a94e7[_0x5d0076(0x11e)];if(_0x383d96){this[_0x5d0076(0x15d)][_0x5d0076(0x12c)](_0x1b0c33['matrixWorld']);const _0x25ae58=_0x383d96[_0x5d0076(0x140)],_0x312c5c=_0x383d96[_0x5d0076(0x176)];_0x4bea68[0x0][_0x5d0076(0x147)](_0x25ae58['x'],_0x25ae58['y'],_0x25ae58['z']),_0x4bea68[0x1]['set'](_0x25ae58['x'],_0x25ae58['y'],_0x312c5c['z']),_0x4bea68[0x2][_0x5d0076(0x147)](_0x25ae58['x'],_0x312c5c['y'],_0x25ae58['z']),_0x4bea68[0x3][_0x5d0076(0x147)](_0x25ae58['x'],_0x312c5c['y'],_0x312c5c['z']),_0x4bea68[0x4][_0x5d0076(0x147)](_0x312c5c['x'],_0x25ae58['y'],_0x25ae58['z']),_0x4bea68[0x5][_0x5d0076(0x147)](_0x312c5c['x'],_0x25ae58['y'],_0x312c5c['z']),_0x4bea68[0x6][_0x5d0076(0x147)](_0x312c5c['x'],_0x312c5c['y'],_0x25ae58['z']),_0x4bea68[0x7][_0x5d0076(0x147)](_0x312c5c['x'],_0x312c5c['y'],_0x312c5c['z']);for(const _0x342227 of _0x4bea68){_0x342227[_0x5d0076(0x126)](this[_0x5d0076(0x15d)]),_0x3dffa9['expandByPoint'](_0x342227);}}}}return _0x3dffa9;}[_0x155f48(0x161)](_0x3fd447,_0xe5e4c,_0x435e3c){const _0x531332=_0x155f48;if(!this[_0x531332(0x11d)])return [];this[_0x531332(0x11d)]['updateWorldMatrix'](!![],!![]);const _0x552f1f=[];if(this['_mesh']){const _0x32bb22=this[_0x531332(0x134)];_0x32bb22['matrixWorld']['copy'](this['_sourceObject'][_0x531332(0x16a)]);const _0x3e9471=_0x32bb22[_0x531332(0x136)];if(_0x3e9471){!_0x3e9471['boundingBox']&&_0x3e9471[_0x531332(0x128)]();const _0x2b0b20=_0x3e9471[_0x531332(0x11e)];if(_0x2b0b20){const _0x289529=this[_0x531332(0x13a)][_0x531332(0x12c)](_0x2b0b20)[_0x531332(0x126)](_0x32bb22[_0x531332(0x16a)]);if(this[_0x531332(0x166)](_0x3fd447,_0xe5e4c,_0x435e3c,_0x289529)){const _0x54fcba=_0x3e9471[_0x531332(0x119)](_0x531332(0x13f));if(_0x54fcba){const _0x276110=_0x3e9471[_0x531332(0x12e)](),_0x234c58=_0x276110?Math[_0x531332(0x11b)](_0x276110[_0x531332(0x168)]/0x3):Math[_0x531332(0x11b)](_0x54fcba[_0x531332(0x168)]/0x3);for(let _0x447d2d=0x0;_0x447d2d<_0x234c58;_0x447d2d++){const _0x48ed7b=_0x276110?_0x276110[_0x531332(0x173)](_0x447d2d*0x3+0x0):_0x447d2d*0x3+0x0,_0x15725f=_0x276110?_0x276110['getX'](_0x447d2d*0x3+0x1):_0x447d2d*0x3+0x1,_0x2a4b44=_0x276110?_0x276110['getX'](_0x447d2d*0x3+0x2):_0x447d2d*0x3+0x2;this[_0x531332(0x14e)][_0x531332(0x147)](_0x54fcba['getX'](_0x48ed7b),_0x54fcba[_0x531332(0x158)](_0x48ed7b),_0x54fcba[_0x531332(0x121)](_0x48ed7b))['applyMatrix4'](_0x32bb22[_0x531332(0x16a)]),this[_0x531332(0x123)]['set'](_0x54fcba[_0x531332(0x173)](_0x15725f),_0x54fcba['getY'](_0x15725f),_0x54fcba['getZ'](_0x15725f))[_0x531332(0x126)](_0x32bb22['matrixWorld']),this[_0x531332(0x154)][_0x531332(0x147)](_0x54fcba[_0x531332(0x173)](_0x2a4b44),_0x54fcba[_0x531332(0x158)](_0x2a4b44),_0x54fcba[_0x531332(0x121)](_0x2a4b44))[_0x531332(0x126)](_0x32bb22[_0x531332(0x16a)]);const _0x551cc6=this[_0x531332(0x15b)](_0x3fd447,_0xe5e4c,this[_0x531332(0x14e)],this['_tmpB'],this[_0x531332(0x154)],_0x435e3c);_0x551cc6&&_0x552f1f[_0x531332(0x144)]({'distance':_0x551cc6[_0x531332(0x156)],'point':_0x551cc6[_0x531332(0x164)][_0x531332(0x163)](),'normal':_0x551cc6[_0x531332(0x125)][_0x531332(0x163)]()});}}}}}}return _0x552f1f['sort']((_0x14fd8f,_0x80160d)=>_0x14fd8f[_0x531332(0x156)]-_0x80160d[_0x531332(0x156)]);}[_0x155f48(0x13c)](_0x3a9474,_0xef6897,_0x356ee0){const _0x748ea5=this['raycastAll'](_0x3a9474,_0xef6897,_0x356ee0);if(_0x748ea5['length']>0x0)return _0x748ea5[0x0];return null;}['intersectRayAabb'](_0x2759b8,_0x329deb,_0x8f83b8,_0x57d73e){const _0x60fd8a=_0x155f48;let _0x256bfd=0x0,_0x377c2f=_0x8f83b8;const _0x5d1b77=1e-8,_0x177b7a=_0x249b24=>{const _0x674d99=_0xf1b7,_0x5e2489=_0x2759b8[_0x249b24],_0x303136=_0x329deb[_0x249b24],_0x1212e1=_0x57d73e[_0x674d99(0x140)][_0x249b24],_0x20d9aa=_0x57d73e['max'][_0x249b24];if(Math[_0x674d99(0x132)](_0x303136)<_0x5d1b77)return _0x5e2489>=_0x1212e1&&_0x5e2489<=_0x20d9aa;const _0x1be261=0x1/_0x303136;let _0x369c8f,_0x1b07ba;return _0x303136>=0x0?(_0x369c8f=(_0x1212e1-_0x5e2489)*_0x1be261,_0x1b07ba=(_0x20d9aa-_0x5e2489)*_0x1be261):(_0x369c8f=(_0x20d9aa-_0x5e2489)*_0x1be261,_0x1b07ba=(_0x1212e1-_0x5e2489)*_0x1be261),_0x369c8f>_0x256bfd&&(_0x256bfd=_0x369c8f),_0x1b07ba<_0x377c2f&&(_0x377c2f=_0x1b07ba),_0x256bfd<=_0x377c2f;};if(!_0x177b7a('x')||!_0x177b7a('y')||!_0x177b7a('z'))return ![];const _0x14c0ed=Math[_0x60fd8a(0x176)](0x0,_0x256bfd);return _0x14c0ed<=_0x8f83b8;}[_0x155f48(0x15b)](_0x524876,_0x303802,_0x6678b,_0x171d19,_0x4223e4,_0x6a079e){const _0x44c67a=_0x155f48,_0x4ad31a=1e-8,_0x205eaa=this[_0x44c67a(0x12b)][_0x44c67a(0x12c)](_0x171d19)[_0x44c67a(0x16f)](_0x6678b),_0x3db241=this[_0x44c67a(0x127)][_0x44c67a(0x12c)](_0x4223e4)[_0x44c67a(0x16f)](_0x6678b),_0x2eebfd=this['_tmpP'][_0x44c67a(0x137)](_0x303802,_0x3db241),_0xce6841=_0x205eaa[_0x44c67a(0x16c)](_0x2eebfd);if(Math[_0x44c67a(0x132)](_0xce6841)<_0x4ad31a)return null;const _0x4505b6=0x1/_0xce6841,_0x2e0430=this[_0x44c67a(0x139)]['copy'](_0x524876)[_0x44c67a(0x16f)](_0x6678b),_0x47add0=_0x2e0430[_0x44c67a(0x16c)](_0x2eebfd)*_0x4505b6;if(_0x47add0<0x0||_0x47add0>0x1)return null;const _0x101e91=this[_0x44c67a(0x13b)][_0x44c67a(0x137)](_0x2e0430,_0x205eaa),_0x1c1b3e=_0x303802['dot'](_0x101e91)*_0x4505b6;if(_0x1c1b3e<0x0||_0x47add0+_0x1c1b3e>0x1)return null;const _0x454cdb=_0x3db241[_0x44c67a(0x16c)](_0x101e91)*_0x4505b6;if(_0x454cdb<0x0||_0x454cdb>_0x6a079e)return null;const _0xbd50af=this[_0x44c67a(0x149)]['crossVectors'](_0x205eaa,_0x3db241),_0x3d4db6=_0xbd50af['lengthSq']();_0x3d4db6>_0x4ad31a&&_0xbd50af[_0x44c67a(0x130)](0x1/Math[_0x44c67a(0x16b)](_0x3d4db6));_0xbd50af['dot'](_0x303802)>0x0&&_0xbd50af[_0x44c67a(0x130)](-1);const _0x16fc67=this['_tmpCorner']['copy'](_0x524876)[_0x44c67a(0x169)](_0x303802,_0x454cdb);return {'point':_0x16fc67,'normal':_0xbd50af,'distance':_0x454cdb};}[_0x155f48(0x143)](){const _0x5c1e5d=_0x155f48;return this[_0x5c1e5d(0x142)];}[_0x155f48(0x14a)](){const _0x5b7abe=_0x155f48;if(!this[_0x5b7abe(0x11d)])return null;const _0x4a5b51=new webgpu.Object3D();_0x4a5b51['name']=_0x5b7abe(0x14c),this['_debugEntries']=[],this['_debugMaterial']=new webgpu.MeshBasicMaterial({'color':this[_0x5b7abe(0x14b)],'wireframe':!![],'transparent':!![],'opacity':this[_0x5b7abe(0x146)]});if(this[_0x5b7abe(0x134)]){const _0x442b6d=this['_mesh'],_0xd24dea=_0x442b6d[_0x5b7abe(0x136)];if(_0xd24dea){const _0x43c1d5=new webgpu.Mesh(_0xd24dea,this[_0x5b7abe(0x117)]);_0x4a5b51[_0x5b7abe(0x171)](_0x43c1d5),this[_0x5b7abe(0x129)][_0x5b7abe(0x144)]({'parent':_0x4a5b51,'obj':_0x43c1d5});}}return _0x4a5b51;}[_0x155f48(0x150)](_0x669152){const _0x394544=_0x155f48;for(const _0x99d3e7 of this[_0x394544(0x129)]){_0x99d3e7[_0x394544(0x124)]['remove'](_0x99d3e7[_0x394544(0x151)]);}this[_0x394544(0x129)]=[],this['_debugMaterial']=null;}[_0x155f48(0x13d)](){const _0x4a7c70=_0x155f48;if(!this[_0x4a7c70(0x117)])return;this[_0x4a7c70(0x117)][_0x4a7c70(0x172)][_0x4a7c70(0x118)](this[_0x4a7c70(0x14b)]),this[_0x4a7c70(0x117)][_0x4a7c70(0x175)]=this[_0x4a7c70(0x146)],this[_0x4a7c70(0x117)][_0x4a7c70(0x15e)]=this[_0x4a7c70(0x146)]<0x1,this[_0x4a7c70(0x117)][_0x4a7c70(0x116)]=!![];}}
|
|
161
|
+
|
|
162
|
+
(function(_0x160e1d,_0x466c6e){var _0x1c304f=_0x367d,_0xa37355=_0x160e1d();while(!![]){try{var _0x4df4e2=parseInt(_0x1c304f(0x71))/0x1+parseInt(_0x1c304f(0x78))/0x2+-parseInt(_0x1c304f(0x75))/0x3+-parseInt(_0x1c304f(0x76))/0x4*(-parseInt(_0x1c304f(0x74))/0x5)+-parseInt(_0x1c304f(0x73))/0x6+parseInt(_0x1c304f(0x77))/0x7+parseInt(_0x1c304f(0x72))/0x8*(-parseInt(_0x1c304f(0x70))/0x9);if(_0x4df4e2===_0x466c6e)break;else _0xa37355['push'](_0xa37355['shift']());}catch(_0x349cf5){_0xa37355['push'](_0xa37355['shift']());}}}(_0x4477,0xb1603));function _0x4477(){var _0x47fdad=['27yGDNPb','394444FrcERV','1351704SGFYyT','4953744UKUMfL','25pMxhPW','20646ikdhKG','330476kRnfFA','7063357UYhYwT','498672uErMyC'];_0x4477=function(){return _0x47fdad;};return _0x4477();}function _0x367d(_0x43ccba,_0x32ee9e){_0x43ccba=_0x43ccba-0x70;var _0x447702=_0x4477();var _0x367d1b=_0x447702[_0x43ccba];return _0x367d1b;}
|
|
163
|
+
|
|
164
|
+
(function(_0x5eb301,_0x39648b){var _0x1d20ea=_0x2ad9,_0xdd8da5=_0x5eb301();while(!![]){try{var _0x163ccc=-parseInt(_0x1d20ea(0x155))/0x1*(-parseInt(_0x1d20ea(0x158))/0x2)+parseInt(_0x1d20ea(0x150))/0x3+parseInt(_0x1d20ea(0x153))/0x4*(-parseInt(_0x1d20ea(0x14e))/0x5)+-parseInt(_0x1d20ea(0x156))/0x6*(parseInt(_0x1d20ea(0x151))/0x7)+-parseInt(_0x1d20ea(0x152))/0x8*(-parseInt(_0x1d20ea(0x157))/0x9)+-parseInt(_0x1d20ea(0x14f))/0xa+parseInt(_0x1d20ea(0x154))/0xb;if(_0x163ccc===_0x39648b)break;else _0xdd8da5['push'](_0xdd8da5['shift']());}catch(_0x3b4844){_0xdd8da5['push'](_0xdd8da5['shift']());}}}(_0x5ecb,0xc16ea));function _0x2ad9(_0x423123,_0x5d97b8){_0x423123=_0x423123-0x14e;var _0x5ecb53=_0x5ecb();var _0x2ad99d=_0x5ecb53[_0x423123];return _0x2ad99d;}function _0x5ecb(){var _0xb8ba98=['12185oFSpeY','13271930CNMwhY','2300490cfxMNV','1725752hkPcKF','3948432xOouar','28Qivmmb','10249723eJgMOU','437445lzKenP','12YBPnDO','9cYClAz','2rHjilK'];_0x5ecb=function(){return _0xb8ba98;};return _0x5ecb();}
|
|
134
165
|
|
|
135
166
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
136
167
|
exports.Actor = Actor;
|
|
@@ -138,7 +169,11 @@ exports.AmbientLightActor = AmbientLightActor;
|
|
|
138
169
|
exports.AmbientLightComponent = AmbientLightComponent;
|
|
139
170
|
exports.AssetManager = AssetManager;
|
|
140
171
|
exports.BoxActor = BoxActor;
|
|
172
|
+
exports.BoxColliderComponent = BoxColliderComponent;
|
|
141
173
|
exports.BoxComponent = BoxComponent;
|
|
174
|
+
exports.CSS3DWebPanelComponent = CSS3DWebPanelComponent;
|
|
175
|
+
exports.CapsuleColliderComponent = CapsuleColliderComponent;
|
|
176
|
+
exports.ColliderComponent = ColliderComponent;
|
|
142
177
|
exports.Controller = Controller;
|
|
143
178
|
exports.CustomMeshComponent = CustomMeshComponent;
|
|
144
179
|
exports.DefaultAAParams = DefaultAAParams;
|
|
@@ -152,7 +187,6 @@ exports.DefaultOrthographicCameraParam = DefaultOrthographicCameraParam;
|
|
|
152
187
|
exports.DefaultOutlineParams = DefaultOutlineParams;
|
|
153
188
|
exports.DefaultPerspectiveCameraParam = DefaultPerspectiveCameraParam;
|
|
154
189
|
exports.DefaultPostProcessParam = DefaultPostProcessParam;
|
|
155
|
-
exports.DefaultRendererParameters = DefaultRendererParameters;
|
|
156
190
|
exports.DefaultSSRParam = DefaultSSRParam;
|
|
157
191
|
exports.DefaultSkyParam = DefaultSkyParam;
|
|
158
192
|
exports.DefaultViewportParam = DefaultViewportParam;
|
|
@@ -168,17 +202,23 @@ exports.LabelComponent = LabelComponent;
|
|
|
168
202
|
exports.LevelActor = LevelActor;
|
|
169
203
|
exports.LevelComponent = LevelComponent;
|
|
170
204
|
exports.MaterialAssetPointer = MaterialAssetPointer;
|
|
205
|
+
exports.MeshColliderComponent = MeshColliderComponent;
|
|
171
206
|
exports.MeshComponent = MeshComponent;
|
|
172
207
|
exports.Orbital = Orbital;
|
|
208
|
+
exports.Pawn = Pawn;
|
|
209
|
+
exports.PhysicsWorld = PhysicsWorld;
|
|
173
210
|
exports.PlaneActor = PlaneActor;
|
|
174
211
|
exports.PlaneComponent = PlaneComponent;
|
|
175
212
|
exports.PostProcessManager = PostProcessManager;
|
|
176
213
|
exports.SceneComponent = SceneComponent;
|
|
177
214
|
exports.SkyActor = SkyActor;
|
|
178
215
|
exports.SkyComponent = SkyComponent;
|
|
216
|
+
exports.Spectator = Spectator;
|
|
217
|
+
exports.SphereColliderComponent = SphereColliderComponent;
|
|
179
218
|
exports.SphereComponent = SphereComponent;
|
|
180
219
|
exports.TAssetPointer = TAssetPointer;
|
|
181
220
|
exports.TSmartPointer = TSmartPointer;
|
|
221
|
+
exports.Text3DComponent = Text3DComponent;
|
|
182
222
|
exports.TextureAssetPointer = TextureAssetPointer;
|
|
183
223
|
exports.ThreeJsApp = ThreeJsApp;
|
|
184
224
|
exports.ThreeObjectLibrary = ThreeObjectLibrary;
|