lythreeframe 2.0.4 → 2.0.5
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.esm.js
CHANGED
|
@@ -23,143 +23,143 @@ import { ShaderPass } from 'three/examples/jsm/postprocessing/ShaderPass.js';
|
|
|
23
23
|
import { FXAAShader } from 'three/examples/jsm/shaders/FXAAShader.js';
|
|
24
24
|
import { gsap } from 'gsap';
|
|
25
25
|
import { SkyMesh } from 'three/examples/jsm/objects/SkyMesh.js';
|
|
26
|
-
import
|
|
26
|
+
import _0x594b1e from 'earcut';
|
|
27
27
|
import { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer.js';
|
|
28
28
|
import { TransformControls } from 'three/examples/jsm/controls/TransformControls.js';
|
|
29
29
|
|
|
30
|
-
const
|
|
30
|
+
const _0x510cce=_0x1c1a;function _0x1c1a(_0x25e70c,_0x301f51){_0x25e70c=_0x25e70c-0xe5;const _0x2b888e=_0x2b88();let _0x1c1ae5=_0x2b888e[_0x25e70c];return _0x1c1ae5;}function _0x2b88(){const _0x55b9d7=['10imTVGs','21439668tRposN','35SxmJvx','forEach','splice','25SAVWoj','generateUUID','232331pvlVXV','178485AINPHE','destroy','clearTickEvents','push','9kyRVtF','isTickEnabled','1014330UaTHuu','5743216csJvPS','tickEvents','787484JqILGx','bCanTick','2rZtGgF','indexOf','712722frenGt','uuid'];_0x2b88=function(){return _0x55b9d7;};return _0x2b88();}(function(_0x2a95a6,_0x668075){const _0x4f0c5e=_0x1c1a,_0xc02bca=_0x2a95a6();while(!![]){try{const _0x182b62=parseInt(_0x4f0c5e(0xf6))/0x1*(-parseInt(_0x4f0c5e(0xf8))/0x2)+parseInt(_0x4f0c5e(0xeb))/0x3+-parseInt(_0x4f0c5e(0xf4))/0x4*(-parseInt(_0x4f0c5e(0xe8))/0x5)+-parseInt(_0x4f0c5e(0xf1))/0x6*(parseInt(_0x4f0c5e(0xe5))/0x7)+parseInt(_0x4f0c5e(0xf2))/0x8*(-parseInt(_0x4f0c5e(0xef))/0x9)+-parseInt(_0x4f0c5e(0xfa))/0xa*(parseInt(_0x4f0c5e(0xea))/0xb)+parseInt(_0x4f0c5e(0xfb))/0xc;if(_0x182b62===_0x668075)break;else _0xc02bca['push'](_0xc02bca['shift']());}catch(_0x226c20){_0xc02bca['push'](_0xc02bca['shift']());}}}(_0x2b88,0x823dd));class BaseObject{get['isTickEnabled'](){const _0x2241d8=_0x1c1a;return this[_0x2241d8(0xf5)];}set[_0x510cce(0xf0)](_0x363fed){const _0x494ffb=_0x510cce;this[_0x494ffb(0xf5)]=_0x363fed;}get[_0x510cce(0xf9)](){return this['_uuid'];}constructor(_0x45be70=MathUtils[_0x510cce(0xe9)]()){const _0x4ecae2=_0x510cce;this[_0x4ecae2(0xf5)]=![],this[_0x4ecae2(0xf3)]=[],this[_0x4ecae2(0xf5)]=![],this['_uuid']=_0x45be70;}['tick'](_0x3501e7){const _0x44bd3d=_0x510cce;if(!this['bCanTick'])return;this[_0x44bd3d(0xf3)][_0x44bd3d(0xe6)](_0x145225=>{_0x145225(_0x3501e7);});}['addTickEvent'](_0x5c6286){const _0x1f1616=_0x510cce;this[_0x1f1616(0xf3)][_0x1f1616(0xee)](_0x5c6286);}['removeTickEvent'](_0x44cf7c){const _0x28441d=_0x510cce;let _0x49bedb=this[_0x28441d(0xf3)][_0x28441d(0xf7)](_0x44cf7c);_0x49bedb!=-1&&this['tickEvents'][_0x28441d(0xe7)](_0x49bedb,0x1);}[_0x510cce(0xed)](){this['tickEvents']=[];}[_0x510cce(0xec)](){}}
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
const _0x3ed20a=_0x4288;(function(_0x253792,_0x24990b){const _0x39ed72=_0x4288,_0x5ab8ca=_0x253792();while(!![]){try{const _0xd2d3bb=parseInt(_0x39ed72(0x19c))/0x1*(parseInt(_0x39ed72(0x1a8))/0x2)+parseInt(_0x39ed72(0x19f))/0x3+parseInt(_0x39ed72(0x198))/0x4+parseInt(_0x39ed72(0x19b))/0x5+-parseInt(_0x39ed72(0x1a4))/0x6*(parseInt(_0x39ed72(0x1a2))/0x7)+-parseInt(_0x39ed72(0x1a3))/0x8*(-parseInt(_0x39ed72(0x1a7))/0x9)+-parseInt(_0x39ed72(0x1a5))/0xa;if(_0xd2d3bb===_0x24990b)break;else _0x5ab8ca['push'](_0x5ab8ca['shift']());}catch(_0x5539f9){_0x5ab8ca['push'](_0x5ab8ca['shift']());}}}(_0x27a1,0xdc537));function _0x4288(_0x7a44ac,_0x1fcf23){_0x7a44ac=_0x7a44ac-0x196;const _0x27a1af=_0x27a1();let _0x428870=_0x27a1af[_0x7a44ac];return _0x428870;}function _0x27a1(){const _0x2a8b20=['type','parentActor','threeObject','createDefaultObject','Component','userData','name','839692lwpWFV','destroy','obj','8087615qgSNQd','16580MfLuoy','destroyObject','LYObject','1926297tWYXNo','_name','Component\x20createDefaultObject\x20return\x20null','785701GzyDyz','8KlJkkd','90XpBMnj','20099780bQMTYi','_parentActor','15408297IpJJWG','50BJXUNZ'];_0x27a1=function(){return _0x2a8b20;};return _0x27a1();}class Component extends BaseObject{set[_0x3ed20a(0x1aa)](_0x335035){const _0xb3e939=_0x3ed20a;this[_0xb3e939(0x1a6)]=_0x335035;}get[_0x3ed20a(0x1aa)](){const _0x1789a2=_0x3ed20a;return this[_0x1789a2(0x1a6)];}get[_0x3ed20a(0x1ab)](){return this['obj'];}set[_0x3ed20a(0x1ab)](_0x4a09cc){const _0x47c331=_0x3ed20a;this['obj']=_0x4a09cc,this[_0x47c331(0x19a)]&&(this[_0x47c331(0x19a)][_0x47c331(0x196)][_0x47c331(0x19e)]=this);}get[_0x3ed20a(0x197)](){const _0x2b715d=_0x3ed20a;return this[_0x2b715d(0x1a0)];}set['name'](_0x1268bf){const _0x15f154=_0x3ed20a;this['_name']=_0x1268bf,this[_0x15f154(0x19a)]&&(this['obj'][_0x15f154(0x197)]=_0x1268bf);}constructor(_0x4d1eb8){const _0x48a7ca=_0x3ed20a;super(_0x4d1eb8?_0x4d1eb8:MathUtils['generateUUID']()),this[_0x48a7ca(0x19a)]=null,this['_parentActor']=null,this[_0x48a7ca(0x1a0)]=_0x48a7ca(0x1ad),this['_parentActor']=null;let _0xb64f55=this[_0x48a7ca(0x1ac)]();_0xb64f55?(this[_0x48a7ca(0x19a)]=_0xb64f55,this['_name']=this['obj'][_0x48a7ca(0x1a9)]+_0x48a7ca(0x1ad)):console['warn'](_0x48a7ca(0x1a1));}[_0x3ed20a(0x1ac)](_0x1be138){return null;}[_0x3ed20a(0x19d)](){const _0x5750a3=_0x3ed20a;if(!this[_0x5750a3(0x19a)])return;}[_0x3ed20a(0x199)](){const _0x4c6c31=_0x3ed20a;this[_0x4c6c31(0x19d)]();}}
|
|
33
33
|
|
|
34
|
-
(function(
|
|
34
|
+
(function(_0x3ae2c5,_0x35e1cb){var _0xcc36c=_0x1675,_0x103e28=_0x3ae2c5();while(!![]){try{var _0x50e0c4=-parseInt(_0xcc36c(0x1ba))/0x1+-parseInt(_0xcc36c(0x1b2))/0x2*(parseInt(_0xcc36c(0x1b1))/0x3)+parseInt(_0xcc36c(0x1b6))/0x4+parseInt(_0xcc36c(0x1bb))/0x5*(-parseInt(_0xcc36c(0x1b7))/0x6)+-parseInt(_0xcc36c(0x1b8))/0x7*(parseInt(_0xcc36c(0x1b4))/0x8)+-parseInt(_0xcc36c(0x1b5))/0x9*(parseInt(_0xcc36c(0x1bd))/0xa)+parseInt(_0xcc36c(0x1bc))/0xb;if(_0x50e0c4===_0x35e1cb)break;else _0x103e28['push'](_0x103e28['shift']());}catch(_0xff5a2f){_0x103e28['push'](_0x103e28['shift']());}}}(_0xc8f6,0x50b7d));function _0x1675(_0x1ac3f2,_0x462282){_0x1ac3f2=_0x1ac3f2-0x1b1;var _0xc8f668=_0xc8f6();var _0x1675a9=_0xc8f668[_0x1ac3f2];return _0x1675a9;}function _0xc8f6(){var _0x1947bd=['17213PSzXyS','KeepWorld','501917lCAwZn','15JxGvaz','16459069rBkYRo','2128670wLOOUQ','3laxvMl','1284852ZGOPzi','KeepRelative','1016tknuSy','9SXTrmN','2070832aPFfSy','27726oQDBMT'];_0xc8f6=function(){return _0x1947bd;};return _0xc8f6();}var AttachmentRules;(function(_0x1f27c5){var _0x5576a2=_0x1675;_0x1f27c5[_0x1f27c5[_0x5576a2(0x1b9)]=0x1]=_0x5576a2(0x1b9),_0x1f27c5[_0x1f27c5['KeepRelative']=0x2]=_0x5576a2(0x1b3);}(AttachmentRules||(AttachmentRules={})));
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function _0x3c63(){const _0x4ada71=['functions','5GCeWYx','clear','broadcast','114YFhzba','237118DjxFKt','add','687981sLEkAT','2192004OTJxFM','134408suibsa','indexOf','2812972mDbOII','remove','forEach','4317880WXPGGV','50LHEgKo','push','2683575WnjSLQ'];_0x3c63=function(){return _0x4ada71;};return _0x3c63();}const _0x588cfc=_0x5c88;(function(_0x511cdc,_0x30dbb8){const _0x1d115d=_0x5c88,_0x3a1fa4=_0x511cdc();while(!![]){try{const _0x37ecea=parseInt(_0x1d115d(0x1b8))/0x1+-parseInt(_0x1d115d(0x1ba))/0x2+parseInt(_0x1d115d(0x1b9))/0x3+-parseInt(_0x1d115d(0x1bc))/0x4*(-parseInt(_0x1d115d(0x1c4))/0x5)+-parseInt(_0x1d115d(0x1b5))/0x6*(parseInt(_0x1d115d(0x1b6))/0x7)+parseInt(_0x1d115d(0x1bf))/0x8+-parseInt(_0x1d115d(0x1c2))/0x9*(parseInt(_0x1d115d(0x1c0))/0xa);if(_0x37ecea===_0x30dbb8)break;else _0x3a1fa4['push'](_0x3a1fa4['shift']());}catch(_0x4e58d5){_0x3a1fa4['push'](_0x3a1fa4['shift']());}}}(_0x3c63,0x704a6));function _0x5c88(_0x13b716,_0x127b44){_0x13b716=_0x13b716-0x1b5;const _0x3c63af=_0x3c63();let _0x5c88fb=_0x3c63af[_0x13b716];return _0x5c88fb;}class Delegate{constructor(){const _0x2b1208=_0x5c88;this[_0x2b1208(0x1c3)]=[];}[_0x588cfc(0x1c6)](..._0x1d57f6){const _0x42a661=_0x588cfc;this['functions'][_0x42a661(0x1be)](_0x338e00=>_0x338e00(..._0x1d57f6));}[_0x588cfc(0x1b7)](_0x26e6c1){const _0x3b5a64=_0x588cfc;this[_0x3b5a64(0x1c3)][_0x3b5a64(0x1c1)](_0x26e6c1);}[_0x588cfc(0x1bd)](_0x338510){const _0x366014=_0x588cfc,_0x3ea126=this[_0x366014(0x1c3)][_0x366014(0x1bb)](_0x338510);_0x3ea126>=0x0&&this[_0x366014(0x1c3)]['splice'](_0x3ea126,0x1);}[_0x588cfc(0x1c5)](){const _0x3fa5a3=_0x588cfc;this[_0x3fa5a3(0x1c3)]=[];}}
|
|
37
37
|
|
|
38
|
-
const _0x461e09=_0x3d31;(function(_0x39939c,_0x51d93f){const _0x274d16=_0x3d31,_0x47f90=_0x39939c();while(!![]){try{const _0x28ff4d=-parseInt(_0x274d16(0xee))/0x1+-parseInt(_0x274d16(0xdd))/0x2*(-parseInt(_0x274d16(0xf3))/0x3)+parseInt(_0x274d16(0xcb))/0x4*(-parseInt(_0x274d16(0xf6))/0x5)+-parseInt(_0x274d16(0xb0))/0x6+parseInt(_0x274d16(0xd6))/0x7+parseInt(_0x274d16(0xc8))/0x8+parseInt(_0x274d16(0xb8))/0x9;if(_0x28ff4d===_0x51d93f)break;else _0x47f90['push'](_0x47f90['shift']());}catch(_0x160e98){_0x47f90['push'](_0x47f90['shift']());}}}(_0x3afd,0x42b9c));function _0x3d31(_0x54ead2,_0x257e7a){_0x54ead2=_0x54ead2-0x97;const _0x3afddc=_0x3afd();let _0x3d31c4=_0x3afddc[_0x54ead2];return _0x3d31c4;}function _0x3afd(){const _0x1d07d8=['onHoverBeginDelegate','getWorldPosition','visible','number','_parentActor','_onClickDelegate','matrixAutoUpdate','forEach','setWorldMatrix','isVisible','parentActor','isHoverEnabled','setLayers','getWorldRotation','set','onDoubleClicked','getBoundsBottomCenterPositionWS','rotation','copy','clone','tick','add','setMatrix','1779438MrxIkR','children','uuid','destroyChildren','error','targetComponent\x20threeObject\x20is\x20invalid','detachFromParentActor','viewport','3750786TkYulE','getWorldUpDirection','detachFromParentComponent','getMatrix','broadcast','applyQuaternion','getWorldMatrix','setFromQuaternion','updateMatrix','setFromObject','threeObject\x20is\x20invalid','bCanHover','target\x20threeObject\x20is\x20invalid','getWorldDirection','isVector3','_onDoubleClickDelegate','2278584BrMZhe','getWorldScale','KeepWorld','19360nYueXu','createDefaultObject','position','onDoubleClickDelegate','obj','markRenderStateDirty','app','_onHoverEndDelegate','threeObject','onHorveringBegin','getWorldQuaternion','1898617ubtUjk','onHoverEndDelegate','isClickEnabled','addChildComponent','multiplyMatrices','detachComponent','onAddedToWorld','12568QhryaY','onClicked','childrenComponents','userData','getCenter','compose','parentComponent','matrix','setVisible','worldToLocal','onHorveringEnd','quaternion','getQuaternion','LYObject','length','setRotation','onClickDelegate','351987hQCnko','min','getWorldRightDirection','destroy','isEmpty','45lsDmgx','parent','getBounds','150npzwzW','remove','invert','setQuaternion\x20failed,param\x20is\x20invalid','localToWorld','removeChildComponent','setQuaternion','getWorldForwardDirection','getScale','world','getComponentById','matrixWorld','isEuler','scale','getRotation','attachComponent','name','getBoundsTopCenterPositionWS','_onHoverBeginDelegate','bCanClick','setPosition','push','destroyObject','decompose','newComponent\x20threeObject\x20is\x20invalid','updateMatrixWorld','max','getBoundsCenterPositionWS'];_0x3afd=function(){return _0x1d07d8;};return _0x3afd();}class SceneComponent extends Component{set['parentActor'](_0x47006e){const _0x390dd9=_0x3d31;this[_0x390dd9(0xdf)]['forEach'](_0x821caa=>{const _0x106a59=_0x390dd9;_0x821caa[_0x106a59(0xa3)]=_0x47006e;}),this[_0x390dd9(0x9d)]=_0x47006e;}get[_0x461e09(0xa3)](){const _0x12772c=_0x461e09;return this[_0x12772c(0x9d)];}get[_0x461e09(0x99)](){const _0x50b531=_0x461e09;return this[_0x50b531(0x108)];}get[_0x461e09(0xd7)](){const _0x35b3d7=_0x461e09;return this[_0x35b3d7(0xd2)];}get[_0x461e09(0xed)](){const _0x2237e6=_0x461e09;return this[_0x2237e6(0x9e)];}get[_0x461e09(0xce)](){const _0x1b4795=_0x461e09;return this[_0x1b4795(0xc7)];}get[_0x461e09(0xff)](){const _0xdf41a9=_0x461e09;return this[_0xdf41a9(0xd1)][_0xdf41a9(0xff)];}constructor(_0x5aee40,_0xfd7c67){const _0x3776d9=_0x461e09;super(_0xfd7c67),this[_0x3776d9(0xc3)]=![],this['bCanClick']=![],this[_0x3776d9(0x108)]=new Delegate(),this[_0x3776d9(0xd2)]=new Delegate(),this[_0x3776d9(0x9e)]=new Delegate(),this[_0x3776d9(0xc7)]=new Delegate(),this[_0x3776d9(0xd1)]=_0x5aee40,this[_0x3776d9(0x106)]='SceneComponent';}[_0x461e09(0xcc)](){return new Object3D();}[_0x461e09(0xad)](_0x1f7662){const _0x125c28=_0x461e09;super[_0x125c28(0xad)](_0x1f7662),this[_0x125c28(0xdf)]['forEach'](_0x2c3358=>{const _0x5f40c7=_0x125c28;_0x2c3358[_0x5f40c7(0xad)](_0x1f7662);});}get[_0x461e09(0xa2)](){const _0x90a7b2=_0x461e09;if(!this[_0x90a7b2(0xcf)])return ![];return this[_0x90a7b2(0xcf)][_0x90a7b2(0x9b)];}[_0x461e09(0xe5)](_0x34362c){const _0x2e8ecd=_0x461e09;if(!this['obj'])throw Error(_0x2e8ecd(0xc2));this['obj']['visible']=_0x34362c,this[_0x2e8ecd(0xff)]&&this['world'][_0x2e8ecd(0xb7)][_0x2e8ecd(0xd0)]();}[_0x461e09(0xa5)](_0x3c37c6){const _0x39c42d=_0x461e09;if(!this[_0x39c42d(0xcf)])throw Error(_0x39c42d(0xc2));this[_0x39c42d(0xcf)]['layers'][_0x39c42d(0xa7)](_0x3c37c6);let _0x31b7a4=this[_0x39c42d(0xdf)];_0x31b7a4[_0x39c42d(0xa0)](_0x1cb7af=>{const _0xf3823b=_0x39c42d;_0x1cb7af[_0xf3823b(0xa5)](_0x3c37c6);});}[_0x461e09(0x100)](_0x25a59b,_0x28b9e6=!![]){const _0x5be3f5=_0x461e09;if(this[_0x5be3f5(0xb2)]===_0x25a59b)return this;if(_0x28b9e6){let _0x292789=this['childrenComponents'];for(let _0x1e3462=0x0;_0x1e3462<_0x292789[_0x5be3f5(0xeb)];++_0x1e3462){let _0x28e69c=_0x292789[_0x1e3462]['getComponentById'](_0x25a59b,_0x28b9e6);if(_0x28e69c)return _0x28e69c;}}else {let _0x34add3=this[_0x5be3f5(0xdf)];for(let _0x359da1=0x0;_0x359da1<_0x34add3[_0x5be3f5(0xeb)];++_0x359da1){let _0x5bcf8b=_0x34add3[_0x359da1];if(_0x5bcf8b['uuid']===_0x25a59b)return _0x5bcf8b;}}return null;}[_0x461e09(0x98)](){const _0xf0b806=_0x461e09;let _0x534505=new Vector3();return this[_0xf0b806(0xf5)]()['getCenter'](_0x534505),this[_0xf0b806(0x9a)]();}[_0x461e09(0x107)](){const _0x1f124b=_0x461e09;let _0x3ccd30=new Vector3(),_0x47e1b4=this['getBounds']();return _0x47e1b4[_0x1f124b(0xe1)](_0x3ccd30),_0x3ccd30['y']=_0x47e1b4[_0x1f124b(0x97)]['y'],_0x3ccd30;}[_0x461e09(0xa9)](){const _0x320c2c=_0x461e09;let _0x35234d=new Vector3(),_0x538758=this['getBounds']();return _0x538758['getCenter'](_0x35234d),_0x35234d['y']=_0x538758[_0x320c2c(0xef)]['y'],_0x35234d;}[_0x461e09(0xf5)](){const _0x58b5d3=_0x461e09;if(!this[_0x58b5d3(0xcf)])throw Error(_0x58b5d3(0xc2));let _0x5518af=new Box3();return _0x5518af[_0x58b5d3(0xc1)](this[_0x58b5d3(0xcf)],![]),_0x5518af[_0x58b5d3(0xf2)]()&&(_0x5518af[_0x58b5d3(0xef)]=_0x5518af[_0x58b5d3(0x97)]=this[_0x58b5d3(0x9a)]()),_0x5518af;}get[_0x461e09(0xe3)](){const _0x21b185=_0x461e09;var _0x25bf42,_0x1588ec;if(!this[_0x21b185(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x332f20=(_0x1588ec=(_0x25bf42=this[_0x21b185(0xcf)])===null||_0x25bf42===void 0?void 0:_0x25bf42[_0x21b185(0xf4)])===null||_0x1588ec===void 0?void 0:_0x1588ec['userData']['LYObject'];if(!_0x332f20)return null;if(!(_0x332f20 instanceof SceneComponent))return null;if(_0x332f20[_0x21b185(0xa3)]!==this[_0x21b185(0xa3)])return null;return _0x332f20;}get[_0x461e09(0xdf)](){const _0x44d5bd=_0x461e09;if(!this[_0x44d5bd(0xcf)])throw Error(_0x44d5bd(0xc2));let _0x5e88af=[];for(let _0x49265d=0x0;_0x49265d<this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x44d5bd(0xeb)];++_0x49265d){if(!this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x49265d][_0x44d5bd(0xe0)][_0x44d5bd(0xea)])continue;this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x49265d][_0x44d5bd(0xe0)]['LYObject'][_0x44d5bd(0xa3)]===this[_0x44d5bd(0xa3)]&&_0x5e88af['push'](this[_0x44d5bd(0xcf)][_0x44d5bd(0xb1)][_0x49265d]['userData'][_0x44d5bd(0xea)]);}return _0x5e88af;}[_0x461e09(0xdc)](_0x23f2aa){const _0x3b694f=_0x461e09;let _0x46e044=this[_0x3b694f(0xdf)];for(let _0x31a2aa=0x0;_0x31a2aa<_0x46e044[_0x3b694f(0xeb)];++_0x31a2aa){_0x46e044[_0x31a2aa][_0x3b694f(0xdc)](_0x23f2aa);}}[_0x461e09(0xf1)](){const _0x5225ad=_0x461e09;this[_0x5225ad(0xa4)]=![],this[_0x5225ad(0xd8)]=![],this[_0x5225ad(0xb6)](),this[_0x5225ad(0xba)](),this['destroyChildren'](),this['destroyObject'](),this[_0x5225ad(0xff)]&&this[_0x5225ad(0xff)][_0x5225ad(0xb7)][_0x5225ad(0xd0)]();}[_0x461e09(0x10c)](){const _0x377098=_0x461e09;if(!this[_0x377098(0xcf)])return;this[_0x377098(0xcf)]['parent']&&this['obj']['parent'][_0x377098(0xf7)](this[_0x377098(0xcf)]),super[_0x377098(0x10c)]();}['getPosition'](){const _0x125449=_0x461e09;if(!this[_0x125449(0xcf)])throw Error(_0x125449(0xc2));if(this[_0x125449(0xcf)]['matrixAutoUpdate'])return this[_0x125449(0xcf)]['position'][_0x125449(0xac)]();else {const _0x372058=new Vector3(),_0x5beebc=new Quaternion(),_0x120fa4=new Vector3();return this[_0x125449(0xcf)][_0x125449(0xe4)][_0x125449(0x10d)](_0x372058,_0x5beebc,_0x120fa4),_0x372058;}}[_0x461e09(0x10a)](..._0xeb051f){const _0x2db904=_0x461e09;var _0x18894d;if(!this[_0x2db904(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x4bb3bf=null;if(_0xeb051f[_0x2db904(0xeb)]===0x1&&((_0x18894d=_0xeb051f[0x0])===null||_0x18894d===void 0?void 0:_0x18894d[_0x2db904(0xc6)])){const _0xc97920=_0xeb051f[0x0];_0x4bb3bf=new Vector3(_0xc97920['x'],_0xc97920['y'],_0xc97920['z']);}else _0xeb051f[_0x2db904(0xeb)]===0x3&&typeof _0xeb051f[0x0]===_0x2db904(0x9c)&&typeof _0xeb051f[0x1]===_0x2db904(0x9c)&&typeof _0xeb051f[0x2]===_0x2db904(0x9c)&&(_0x4bb3bf=new Vector3(_0xeb051f[0x0],_0xeb051f[0x1],_0xeb051f[0x2]));if(!_0x4bb3bf)return;this['obj'][_0x2db904(0xcd)][_0x2db904(0xab)](_0x4bb3bf),!this[_0x2db904(0xcf)][_0x2db904(0x9f)]&&this['obj'][_0x2db904(0xe4)][_0x2db904(0x10a)](_0x4bb3bf['x'],_0x4bb3bf['y'],_0x4bb3bf['z']),this[_0x2db904(0xcf)][_0x2db904(0xc0)](),this[_0x2db904(0xcf)][_0x2db904(0x10f)](!![]),this[_0x2db904(0xff)]&&this[_0x2db904(0xff)]['viewport'][_0x2db904(0xd0)]();}[_0x461e09(0x104)](){const _0x40ae6b=_0x461e09;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x40ae6b(0xcf)][_0x40ae6b(0x9f)])return this[_0x40ae6b(0xcf)]['rotation'][_0x40ae6b(0xac)]();else {const _0x47e75e=new Vector3(),_0x128439=new Quaternion(),_0x78eecd=new Vector3();return this[_0x40ae6b(0xcf)]['matrix'][_0x40ae6b(0x10d)](_0x47e75e,_0x128439,_0x78eecd),new Euler()[_0x40ae6b(0xbf)](_0x128439);}}[_0x461e09(0xec)](..._0x438da5){const _0x3eed8c=_0x461e09;var _0x248c49;if(!this[_0x3eed8c(0xcf)])throw Error(_0x3eed8c(0xc2));let _0x52b477=null;if((_0x248c49=_0x438da5[0x0])===null||_0x248c49===void 0?void 0:_0x248c49[_0x3eed8c(0x102)]){const _0x544d14=_0x438da5[0x0];_0x52b477=new Euler(_0x544d14['x'],_0x544d14['y'],_0x544d14['z'],_0x544d14['order']);}else typeof _0x438da5[0x0]==='number'&&typeof _0x438da5[0x1]==='number'&&typeof _0x438da5[0x2]===_0x3eed8c(0x9c)&&(_0x52b477=new Euler(_0x438da5[0x0],_0x438da5[0x1],_0x438da5[0x2]));if(!_0x52b477)return;this['obj'][_0x3eed8c(0xaa)][_0x3eed8c(0xab)](_0x52b477),this[_0x3eed8c(0xcf)]['updateMatrix'](),this['obj'][_0x3eed8c(0x10f)](!![]),this['world']&&this[_0x3eed8c(0xff)][_0x3eed8c(0xb7)]['markRenderStateDirty']();}[_0x461e09(0xe9)](){const _0x470a39=_0x461e09;if(!this[_0x470a39(0xcf)])throw Error(_0x470a39(0xc2));if(this['obj'][_0x470a39(0x9f)])return this[_0x470a39(0xcf)][_0x470a39(0xe8)][_0x470a39(0xac)]();else {const _0x5a2266=new Vector3(),_0x16d4f7=new Quaternion(),_0x4785ee=new Vector3();return this[_0x470a39(0xcf)][_0x470a39(0xe4)]['decompose'](_0x5a2266,_0x16d4f7,_0x4785ee),_0x16d4f7;}}[_0x461e09(0xfc)](..._0x3faded){const _0x14553f=_0x461e09;var _0xa09e54;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x302360=null;if((_0xa09e54=_0x3faded[0x0])===null||_0xa09e54===void 0?void 0:_0xa09e54['isQuaternion']){const _0x570b3d=_0x3faded[0x0];_0x302360=new Quaternion(_0x570b3d['x'],_0x570b3d['y'],_0x570b3d['z'],_0x570b3d['w']);}else typeof _0x3faded[0x0]===_0x14553f(0x9c)&&typeof _0x3faded[0x1]===_0x14553f(0x9c)&&typeof _0x3faded[0x2]===_0x14553f(0x9c)&&typeof _0x3faded[0x3]==='number'&&(_0x302360=new Quaternion(_0x3faded[0x0],_0x3faded[0x1],_0x3faded[0x2],_0x3faded[0x3]));if(!_0x302360){console[_0x14553f(0xb4)](_0x14553f(0xf9),_0x3faded);return;}this[_0x14553f(0xcf)]['quaternion'][_0x14553f(0xab)](_0x302360);if(!this['obj'][_0x14553f(0x9f)]){const _0x418d2d=new Vector3(),_0x343832=new Quaternion(),_0x318a6f=new Vector3();this[_0x14553f(0xcf)][_0x14553f(0xe4)][_0x14553f(0x10d)](_0x418d2d,_0x343832,_0x318a6f),this[_0x14553f(0xcf)][_0x14553f(0xe4)][_0x14553f(0xe2)](_0x418d2d,_0x302360,_0x318a6f);}this['world']&&this[_0x14553f(0xff)][_0x14553f(0xb7)][_0x14553f(0xd0)](),this[_0x14553f(0xcf)][_0x14553f(0xc0)](),this['obj'][_0x14553f(0x10f)](!![]);}[_0x461e09(0xfe)](){const _0x2f9f6d=_0x461e09;if(!this[_0x2f9f6d(0xcf)])throw Error(_0x2f9f6d(0xc2));if(this[_0x2f9f6d(0xcf)][_0x2f9f6d(0x9f)])return this[_0x2f9f6d(0xcf)][_0x2f9f6d(0x103)][_0x2f9f6d(0xac)]();else {const _0x37bf44=new Vector3(),_0x4022ce=new Quaternion(),_0x1e8eab=new Vector3();return this[_0x2f9f6d(0xcf)][_0x2f9f6d(0xe4)][_0x2f9f6d(0x10d)](_0x37bf44,_0x4022ce,_0x1e8eab),_0x1e8eab;}}['setScale'](..._0x36b44){const _0x5e134f=_0x461e09;var _0x3fe32;if(!this['obj'])throw Error(_0x5e134f(0xc2));let _0x345e22=null;if((_0x3fe32=_0x36b44[0x0])===null||_0x3fe32===void 0?void 0:_0x3fe32[_0x5e134f(0xc6)]){const _0x45591a=_0x36b44[0x0];_0x345e22=new Vector3(_0x45591a['x'],_0x45591a['y'],_0x45591a['z']);}else typeof _0x36b44[0x0]==='number'&&typeof _0x36b44[0x1]==='number'&&typeof _0x36b44[0x2]==='number'&&(_0x345e22=new Vector3(_0x36b44[0x0],_0x36b44[0x1],_0x36b44[0x2]));if(!_0x345e22)return;this[_0x5e134f(0xcf)][_0x5e134f(0x103)]['copy'](_0x345e22),this[_0x5e134f(0xcf)][_0x5e134f(0xc0)](),this[_0x5e134f(0xcf)]['updateMatrixWorld'](!![]),this[_0x5e134f(0xff)]&&this[_0x5e134f(0xff)][_0x5e134f(0xb7)][_0x5e134f(0xd0)]();}[_0x461e09(0xbb)](){const _0x27cad6=_0x461e09;if(!this['obj'])throw Error(_0x27cad6(0xc2));return this[_0x27cad6(0xcf)]['matrix'];}[_0x461e09(0xaf)](_0x561698){const _0x2f7764=_0x461e09;var _0x44f00a;if(!this[_0x2f7764(0xcf)])throw Error(_0x2f7764(0xc2));_0x561698[_0x2f7764(0x10d)](this[_0x2f7764(0xcf)][_0x2f7764(0xcd)],this['obj'][_0x2f7764(0xe8)],this['obj'][_0x2f7764(0x103)]),this['obj']['updateMatrix'](),this[_0x2f7764(0xcf)][_0x2f7764(0x10f)](!![]),(_0x44f00a=this[_0x2f7764(0xff)])===null||_0x44f00a===void 0?void 0:_0x44f00a[_0x2f7764(0xb7)]['markRenderStateDirty']();}['getWorldPosition'](){const _0x23e13c=_0x461e09;if(!this[_0x23e13c(0xcf)])throw Error(_0x23e13c(0xc2));let _0x293556=new Vector3();return this[_0x23e13c(0xcf)]['getWorldPosition'](_0x293556),_0x293556;}[_0x461e09(0xa6)](){const _0xe67e2f=_0x461e09;if(!this[_0xe67e2f(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x23c035=new Quaternion();return this[_0xe67e2f(0xcf)][_0xe67e2f(0xd5)](_0x23c035),new Euler()['setFromQuaternion'](_0x23c035);}[_0x461e09(0xd5)](){const _0x3f19e1=_0x461e09;if(!this[_0x3f19e1(0xcf)])throw Error(_0x3f19e1(0xc2));let _0x17d03f=new Quaternion();return this[_0x3f19e1(0xcf)][_0x3f19e1(0xd5)](_0x17d03f),_0x17d03f;}[_0x461e09(0xc9)](){const _0x5b8c79=_0x461e09;if(!this[_0x5b8c79(0xcf)])throw Error(_0x5b8c79(0xc2));let _0x27b6ca=new Vector3();return this['obj']['getWorldScale'](_0x27b6ca),_0x27b6ca;}[_0x461e09(0xbe)](){const _0x40d9be=_0x461e09;if(!this['obj'])throw Error(_0x40d9be(0xc2));return this[_0x40d9be(0xcf)][_0x40d9be(0x10f)](!![]),this['obj'][_0x40d9be(0x101)][_0x40d9be(0xac)]();}['setWorldMatrix'](_0x56b1c4){const _0x479198=_0x461e09;if(!this[_0x479198(0xcf)])throw Error(_0x479198(0xc2));if(this['obj'][_0x479198(0xf4)]){this[_0x479198(0xcf)][_0x479198(0xf4)][_0x479198(0x10f)](!![]);const _0x33f006=this[_0x479198(0xcf)][_0x479198(0xf4)][_0x479198(0x101)][_0x479198(0xac)]()[_0x479198(0xf8)](),_0xd496b0=new Matrix4()[_0x479198(0xda)](_0x33f006,_0x56b1c4);this[_0x479198(0xaf)](_0xd496b0);}else this[_0x479198(0xaf)](_0x56b1c4);this[_0x479198(0xcf)][_0x479198(0x10f)](!![]),this[_0x479198(0xff)]&&this[_0x479198(0xff)][_0x479198(0xb7)][_0x479198(0xd0)]();}[_0x461e09(0xfd)](){const _0x272a40=_0x461e09;if(!this[_0x272a40(0xcf)])throw Error(_0x272a40(0xc2));let _0x125cfa=new Vector3();return this['obj'][_0x272a40(0xc5)](_0x125cfa),_0x125cfa;}[_0x461e09(0xb9)](){const _0x16cb67=_0x461e09;if(!this[_0x16cb67(0xcf)])throw Error(_0x16cb67(0xc2));let _0x1fcdea=new Vector3(0x0,0x1,0x0);return _0x1fcdea[_0x16cb67(0xbd)](this[_0x16cb67(0xd5)]()),_0x1fcdea;}[_0x461e09(0xf0)](){const _0x2d944e=_0x461e09;if(!this[_0x2d944e(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x2595de=new Vector3(0x1,0x0,0x0);return _0x2595de[_0x2d944e(0xbd)](this['getWorldQuaternion']()),_0x2595de;}[_0x461e09(0xe6)](_0x103983){const _0x5d709c=_0x461e09;if(!this[_0x5d709c(0xcf)])throw Error(_0x5d709c(0xc2));return this[_0x5d709c(0xcf)][_0x5d709c(0xe6)](_0x103983);}['localToWorld'](_0x2ca007){const _0x5c622d=_0x461e09;if(!this[_0x5c622d(0xcf)])throw Error(_0x5c622d(0xc2));return this[_0x5c622d(0xcf)][_0x5c622d(0xfa)](_0x2ca007);}[_0x461e09(0x105)](_0x2690b2){const _0x4ff91e=_0x461e09;if(!this[_0x4ff91e(0xcf)])throw Error('threeObject\x20is\x20invalid');if(!_0x2690b2[_0x4ff91e(0xd3)])throw Error(_0x4ff91e(0x10e));this[_0x4ff91e(0xcf)][_0x4ff91e(0xae)](_0x2690b2['threeObject']),this[_0x4ff91e(0xff)]&&_0x2690b2[_0x4ff91e(0xdc)](this[_0x4ff91e(0xff)]);}[_0x461e09(0xdb)](_0xaba7ec){const _0x482e44=_0x461e09;if(!this[_0x482e44(0xcf)])throw Error(_0x482e44(0xc2));if(!_0xaba7ec[_0x482e44(0xd3)])throw Error(_0x482e44(0xc4));this[_0x482e44(0xcf)][_0x482e44(0xf7)](_0xaba7ec[_0x482e44(0xd3)]);}[_0x461e09(0xd9)](_0xabf7f9,_0x20f511=AttachmentRules['KeepRelative']){const _0x42d455=_0x461e09;if(!this[_0x42d455(0xcf)])throw Error(_0x42d455(0xc2));if(!_0xabf7f9['threeObject'])throw Error(_0x42d455(0x10e));_0xabf7f9['parentActor']=this['parentActor'];if(_0x20f511===AttachmentRules[_0x42d455(0xca)]){let _0x37daae=_0xabf7f9[_0x42d455(0xbe)]();this[_0x42d455(0xcf)]['add'](_0xabf7f9[_0x42d455(0xd3)]),_0xabf7f9[_0x42d455(0xa1)](_0x37daae);}else this['obj'][_0x42d455(0xae)](_0xabf7f9[_0x42d455(0xd3)]);this[_0x42d455(0xff)]&&_0xabf7f9[_0x42d455(0xdc)](this[_0x42d455(0xff)]),this[_0x42d455(0xcf)][_0x42d455(0xc0)](),this[_0x42d455(0xcf)]['updateMatrixWorld'](!![]);}[_0x461e09(0xfb)](_0x414fb7){const _0x534ebc=_0x461e09;if(!this[_0x534ebc(0xcf)])throw Error(_0x534ebc(0xc2));if(!_0x414fb7[_0x534ebc(0xd3)])throw Error(_0x534ebc(0xb5));this[_0x534ebc(0xcf)][_0x534ebc(0xf7)](_0x414fb7['threeObject']);}[_0x461e09(0xba)](){const _0x446b33=_0x461e09;this['parentComponent']&&this[_0x446b33(0xe3)]['removeChildComponent'](this);}[_0x461e09(0xb6)](){this['parentActor']&&(this['parentActor']=null);}[_0x461e09(0xb3)](){const _0x1e9345=_0x461e09;var _0x4021c3;if(!this[_0x1e9345(0xcf)])return;let _0x4ef1f0=[];for(let _0x4e97e7=0x0;_0x4e97e7<this[_0x1e9345(0xcf)][_0x1e9345(0xb1)]['length'];++_0x4e97e7){let _0x1d81fb=(_0x4021c3=this['obj'][_0x1e9345(0xb1)][_0x4e97e7][_0x1e9345(0xe0)])===null||_0x4021c3===void 0?void 0:_0x4021c3[_0x1e9345(0xea)];_0x1d81fb&&_0x4ef1f0[_0x1e9345(0x10b)](_0x1d81fb);}_0x4ef1f0[_0x1e9345(0xa0)](_0x3c65f6=>{_0x3c65f6['destroy']();}),_0x4ef1f0=[];}set[_0x461e09(0xa4)](_0x265b97){const _0x2468e1=_0x461e09;this[_0x2468e1(0xc3)]=_0x265b97;let _0x438d78=this[_0x2468e1(0xdf)];for(let _0x9c4501=0x0;_0x9c4501<_0x438d78[_0x2468e1(0xeb)];++_0x9c4501){_0x438d78[_0x9c4501][_0x2468e1(0xa4)]=this[_0x2468e1(0xc3)];}}get['isHoverEnabled'](){return this['bCanHover'];}set[_0x461e09(0xd8)](_0x58948b){const _0x4b81f6=_0x461e09;this['bCanClick']=_0x58948b;let _0x11b79c=this[_0x4b81f6(0xdf)];for(let _0x4be27e=0x0;_0x4be27e<_0x11b79c[_0x4b81f6(0xeb)];++_0x4be27e){_0x11b79c[_0x4be27e]['isClickEnabled']=this['bCanClick'];}}get['isClickEnabled'](){const _0x185e04=_0x461e09;return this[_0x185e04(0x109)];}[_0x461e09(0xd4)](){const _0x244225=_0x461e09;this[_0x244225(0x108)][_0x244225(0xbc)]();}[_0x461e09(0xe7)](){const _0xacc8e9=_0x461e09;this['_onHoverEndDelegate'][_0xacc8e9(0xbc)]();}[_0x461e09(0xde)](){const _0x3756c3=_0x461e09;this[_0x3756c3(0x9e)][_0x3756c3(0xbc)]();}[_0x461e09(0xa8)](){this['_onDoubleClickDelegate']['broadcast']();}}
|
|
38
|
+
const _0x1bf6b5=_0x3a84;(function(_0x5aa9c7,_0x4532ff){const _0x363150=_0x3a84,_0x3acad5=_0x5aa9c7();while(!![]){try{const _0x58a653=parseInt(_0x363150(0x175))/0x1+-parseInt(_0x363150(0x155))/0x2+parseInt(_0x363150(0x130))/0x3*(-parseInt(_0x363150(0x11d))/0x4)+parseInt(_0x363150(0x15d))/0x5+parseInt(_0x363150(0x188))/0x6+-parseInt(_0x363150(0x15e))/0x7+-parseInt(_0x363150(0x187))/0x8*(-parseInt(_0x363150(0x11e))/0x9);if(_0x58a653===_0x4532ff)break;else _0x3acad5['push'](_0x3acad5['shift']());}catch(_0x219f15){_0x3acad5['push'](_0x3acad5['shift']());}}}(_0x56a9,0x661aa));function _0x56a9(){const _0x56f6a8=['tick','detachFromParentActor','applyQuaternion','24CXNmZF','1299930jMWYzo','app','setFromObject','children','onDoubleClicked','onDoubleClickDelegate','targetComponent\x20threeObject\x20is\x20invalid','copy','detachFromParentComponent','childrenComponents','44uxLZQc','2169621huimcx','_onClickDelegate','matrixWorld','setScale','layers','position','getComponentById','markRenderStateDirty','_onDoubleClickDelegate','getScale','getWorldDirection','target\x20threeObject\x20is\x20invalid','getPosition','LYObject','removeChildComponent','_onHoverBeginDelegate','world','order','192513DvvNtV','attachComponent','updateMatrixWorld','setMatrix','matrix','KeepRelative','onHoverEndDelegate','destroy','getWorldUpDirection','onClickDelegate','onHoverBeginDelegate','newComponent\x20threeObject\x20is\x20invalid','onClicked','setLayers','getWorldForwardDirection','quaternion','decompose','remove','isEuler','setWorldMatrix','set','clone','bCanClick','getCenter','threeObject','forEach','_parentActor','isEmpty','threeObject\x20is\x20invalid','getBoundsCenterPositionWS','parent','getRotation','push','SceneComponent','detachComponent','number','length','80194PQcRAR','getWorldRotation','invert','viewport','parentComponent','userData','visible','getWorldMatrix','1647125ruWVKW','4855095ZBNqFT','scale','worldToLocal','setPosition','destroyObject','setVisible','isClickEnabled','uuid','matrixAutoUpdate','destroyChildren','isVisible','parentActor','compose','getWorldPosition','obj','max','setFromQuaternion','getQuaternion','add','getWorldQuaternion','bCanHover','setQuaternion\x20failed,param\x20is\x20invalid','min','588494DETFuI','onHorveringEnd','getBoundsTopCenterPositionWS','broadcast','_onHoverEndDelegate','getBounds','getWorldScale','onAddedToWorld','KeepWorld','createDefaultObject','updateMatrix','isQuaternion','isHoverEnabled','error','isVector3'];_0x56a9=function(){return _0x56f6a8;};return _0x56a9();}function _0x3a84(_0x3e7653,_0x2ed1c8){_0x3e7653=_0x3e7653-0x11d;const _0x56a9cb=_0x56a9();let _0x3a8431=_0x56a9cb[_0x3e7653];return _0x3a8431;}class SceneComponent extends Component{set[_0x1bf6b5(0x169)](_0x2c187f){const _0x4904b1=_0x1bf6b5;this[_0x4904b1(0x191)][_0x4904b1(0x149)](_0xe43e86=>{const _0xd7eec6=_0x4904b1;_0xe43e86[_0xd7eec6(0x169)]=_0x2c187f;}),this[_0x4904b1(0x14a)]=_0x2c187f;}get['parentActor'](){return this['_parentActor'];}get[_0x1bf6b5(0x13a)](){const _0x16a988=_0x1bf6b5;return this[_0x16a988(0x12d)];}get[_0x1bf6b5(0x136)](){return this['_onHoverEndDelegate'];}get[_0x1bf6b5(0x139)](){const _0x36bd36=_0x1bf6b5;return this[_0x36bd36(0x11f)];}get[_0x1bf6b5(0x18d)](){const _0x3d31f7=_0x1bf6b5;return this[_0x3d31f7(0x126)];}get[_0x1bf6b5(0x12e)](){const _0x5ac9cc=_0x1bf6b5;return this['app'][_0x5ac9cc(0x12e)];}constructor(_0x225fb2,_0x1333d8){const _0x639a6e=_0x1bf6b5;super(_0x1333d8),this[_0x639a6e(0x172)]=![],this[_0x639a6e(0x146)]=![],this[_0x639a6e(0x12d)]=new Delegate(),this[_0x639a6e(0x179)]=new Delegate(),this[_0x639a6e(0x11f)]=new Delegate(),this[_0x639a6e(0x126)]=new Delegate(),this[_0x639a6e(0x189)]=_0x225fb2,this['name']=_0x639a6e(0x151);}[_0x1bf6b5(0x17e)](){return new Object3D();}['tick'](_0x5d891c){const _0x2c070d=_0x1bf6b5;super[_0x2c070d(0x184)](_0x5d891c),this[_0x2c070d(0x191)]['forEach'](_0x127af4=>{const _0x41c48e=_0x2c070d;_0x127af4[_0x41c48e(0x184)](_0x5d891c);});}get[_0x1bf6b5(0x168)](){const _0x4a9bef=_0x1bf6b5;if(!this[_0x4a9bef(0x16c)])return ![];return this[_0x4a9bef(0x16c)][_0x4a9bef(0x15b)];}[_0x1bf6b5(0x163)](_0x495c26){const _0x14dd2f=_0x1bf6b5;if(!this[_0x14dd2f(0x16c)])throw Error('threeObject\x20is\x20invalid');this[_0x14dd2f(0x16c)][_0x14dd2f(0x15b)]=_0x495c26,this[_0x14dd2f(0x12e)]&&this['world'][_0x14dd2f(0x158)][_0x14dd2f(0x125)]();}[_0x1bf6b5(0x13d)](_0x2c9a6d){const _0x33b983=_0x1bf6b5;if(!this[_0x33b983(0x16c)])throw Error('threeObject\x20is\x20invalid');this[_0x33b983(0x16c)][_0x33b983(0x122)][_0x33b983(0x144)](_0x2c9a6d);let _0x4b48b3=this[_0x33b983(0x191)];_0x4b48b3[_0x33b983(0x149)](_0x2709cc=>{const _0x245c04=_0x33b983;_0x2709cc[_0x245c04(0x13d)](_0x2c9a6d);});}['getComponentById'](_0x230c78,_0x5c8a87=!![]){const _0x8e0412=_0x1bf6b5;if(this[_0x8e0412(0x165)]===_0x230c78)return this;if(_0x5c8a87){let _0xd19129=this[_0x8e0412(0x191)];for(let _0x29e4f2=0x0;_0x29e4f2<_0xd19129['length'];++_0x29e4f2){let _0x1bd0a4=_0xd19129[_0x29e4f2][_0x8e0412(0x124)](_0x230c78,_0x5c8a87);if(_0x1bd0a4)return _0x1bd0a4;}}else {let _0x122602=this['childrenComponents'];for(let _0x35802e=0x0;_0x35802e<_0x122602[_0x8e0412(0x154)];++_0x35802e){let _0x2c7849=_0x122602[_0x35802e];if(_0x2c7849[_0x8e0412(0x165)]===_0x230c78)return _0x2c7849;}}return null;}[_0x1bf6b5(0x14d)](){const _0x553134=_0x1bf6b5;let _0x67c4c2=new Vector3();return this[_0x553134(0x17a)]()[_0x553134(0x147)](_0x67c4c2),this[_0x553134(0x16b)]();}[_0x1bf6b5(0x177)](){const _0x171bd6=_0x1bf6b5;let _0x4428e7=new Vector3(),_0x120b79=this[_0x171bd6(0x17a)]();return _0x120b79[_0x171bd6(0x147)](_0x4428e7),_0x4428e7['y']=_0x120b79[_0x171bd6(0x16d)]['y'],_0x4428e7;}['getBoundsBottomCenterPositionWS'](){const _0x1f9fd3=_0x1bf6b5;let _0x38c5f6=new Vector3(),_0x457a80=this[_0x1f9fd3(0x17a)]();return _0x457a80['getCenter'](_0x38c5f6),_0x38c5f6['y']=_0x457a80[_0x1f9fd3(0x174)]['y'],_0x38c5f6;}['getBounds'](){const _0x561360=_0x1bf6b5;if(!this[_0x561360(0x16c)])throw Error(_0x561360(0x14c));let _0x18a7d6=new Box3();return _0x18a7d6[_0x561360(0x18a)](this[_0x561360(0x16c)],![]),_0x18a7d6[_0x561360(0x14b)]()&&(_0x18a7d6[_0x561360(0x174)]=_0x18a7d6[_0x561360(0x16d)]=this[_0x561360(0x16b)]()),_0x18a7d6;}get['parentComponent'](){const _0x224e6e=_0x1bf6b5;var _0x33672c,_0x19f638;if(!this[_0x224e6e(0x16c)])throw Error(_0x224e6e(0x14c));let _0x1cf21e=(_0x19f638=(_0x33672c=this[_0x224e6e(0x16c)])===null||_0x33672c===void 0?void 0:_0x33672c['parent'])===null||_0x19f638===void 0?void 0:_0x19f638[_0x224e6e(0x15a)][_0x224e6e(0x12b)];if(!_0x1cf21e)return null;if(!(_0x1cf21e instanceof SceneComponent))return null;if(_0x1cf21e[_0x224e6e(0x169)]!==this['parentActor'])return null;return _0x1cf21e;}get[_0x1bf6b5(0x191)](){const _0x772b41=_0x1bf6b5;if(!this[_0x772b41(0x16c)])throw Error(_0x772b41(0x14c));let _0xbd7b97=[];for(let _0x8b3a6e=0x0;_0x8b3a6e<this[_0x772b41(0x16c)]['children'][_0x772b41(0x154)];++_0x8b3a6e){if(!this[_0x772b41(0x16c)][_0x772b41(0x18b)][_0x8b3a6e][_0x772b41(0x15a)][_0x772b41(0x12b)])continue;this['obj'][_0x772b41(0x18b)][_0x8b3a6e][_0x772b41(0x15a)]['LYObject'][_0x772b41(0x169)]===this['parentActor']&&_0xbd7b97[_0x772b41(0x150)](this['obj']['children'][_0x8b3a6e][_0x772b41(0x15a)][_0x772b41(0x12b)]);}return _0xbd7b97;}[_0x1bf6b5(0x17c)](_0x812af2){const _0x2dc7ab=_0x1bf6b5;let _0x310add=this[_0x2dc7ab(0x191)];for(let _0x43293e=0x0;_0x43293e<_0x310add[_0x2dc7ab(0x154)];++_0x43293e){_0x310add[_0x43293e][_0x2dc7ab(0x17c)](_0x812af2);}}[_0x1bf6b5(0x137)](){const _0x566e29=_0x1bf6b5;this[_0x566e29(0x181)]=![],this[_0x566e29(0x164)]=![],this['detachFromParentActor'](),this[_0x566e29(0x190)](),this[_0x566e29(0x167)](),this[_0x566e29(0x162)](),this['world']&&this[_0x566e29(0x12e)][_0x566e29(0x158)]['markRenderStateDirty']();}[_0x1bf6b5(0x162)](){const _0x1fd170=_0x1bf6b5;if(!this[_0x1fd170(0x16c)])return;this[_0x1fd170(0x16c)][_0x1fd170(0x14e)]&&this['obj'][_0x1fd170(0x14e)][_0x1fd170(0x141)](this['obj']),super[_0x1fd170(0x162)]();}[_0x1bf6b5(0x12a)](){const _0x3e8240=_0x1bf6b5;if(!this[_0x3e8240(0x16c)])throw Error(_0x3e8240(0x14c));if(this[_0x3e8240(0x16c)][_0x3e8240(0x166)])return this[_0x3e8240(0x16c)][_0x3e8240(0x123)]['clone']();else {const _0x428942=new Vector3(),_0x3ba416=new Quaternion(),_0x3e66a2=new Vector3();return this[_0x3e8240(0x16c)][_0x3e8240(0x134)][_0x3e8240(0x140)](_0x428942,_0x3ba416,_0x3e66a2),_0x428942;}}[_0x1bf6b5(0x161)](..._0x3281fd){const _0x50c57a=_0x1bf6b5;var _0x155491;if(!this[_0x50c57a(0x16c)])throw Error(_0x50c57a(0x14c));let _0x81f67f=null;if(_0x3281fd[_0x50c57a(0x154)]===0x1&&((_0x155491=_0x3281fd[0x0])===null||_0x155491===void 0?void 0:_0x155491[_0x50c57a(0x183)])){const _0xe754dc=_0x3281fd[0x0];_0x81f67f=new Vector3(_0xe754dc['x'],_0xe754dc['y'],_0xe754dc['z']);}else _0x3281fd['length']===0x3&&typeof _0x3281fd[0x0]==='number'&&typeof _0x3281fd[0x1]==='number'&&typeof _0x3281fd[0x2]===_0x50c57a(0x153)&&(_0x81f67f=new Vector3(_0x3281fd[0x0],_0x3281fd[0x1],_0x3281fd[0x2]));if(!_0x81f67f)return;this[_0x50c57a(0x16c)][_0x50c57a(0x123)][_0x50c57a(0x18f)](_0x81f67f),!this[_0x50c57a(0x16c)][_0x50c57a(0x166)]&&this[_0x50c57a(0x16c)][_0x50c57a(0x134)][_0x50c57a(0x161)](_0x81f67f['x'],_0x81f67f['y'],_0x81f67f['z']),this[_0x50c57a(0x16c)][_0x50c57a(0x17f)](),this[_0x50c57a(0x16c)]['updateMatrixWorld'](!![]),this[_0x50c57a(0x12e)]&&this[_0x50c57a(0x12e)][_0x50c57a(0x158)][_0x50c57a(0x125)]();}[_0x1bf6b5(0x14f)](){const _0x27ea00=_0x1bf6b5;if(!this[_0x27ea00(0x16c)])throw Error(_0x27ea00(0x14c));if(this[_0x27ea00(0x16c)][_0x27ea00(0x166)])return this[_0x27ea00(0x16c)]['rotation'][_0x27ea00(0x145)]();else {const _0x18cd74=new Vector3(),_0x331036=new Quaternion(),_0x351864=new Vector3();return this['obj'][_0x27ea00(0x134)][_0x27ea00(0x140)](_0x18cd74,_0x331036,_0x351864),new Euler()[_0x27ea00(0x16e)](_0x331036);}}['setRotation'](..._0x335dc3){const _0x346407=_0x1bf6b5;var _0x3283e4;if(!this[_0x346407(0x16c)])throw Error(_0x346407(0x14c));let _0x4744e2=null;if((_0x3283e4=_0x335dc3[0x0])===null||_0x3283e4===void 0?void 0:_0x3283e4[_0x346407(0x142)]){const _0x1708ea=_0x335dc3[0x0];_0x4744e2=new Euler(_0x1708ea['x'],_0x1708ea['y'],_0x1708ea['z'],_0x1708ea[_0x346407(0x12f)]);}else typeof _0x335dc3[0x0]===_0x346407(0x153)&&typeof _0x335dc3[0x1]==='number'&&typeof _0x335dc3[0x2]===_0x346407(0x153)&&(_0x4744e2=new Euler(_0x335dc3[0x0],_0x335dc3[0x1],_0x335dc3[0x2]));if(!_0x4744e2)return;this[_0x346407(0x16c)]['rotation']['copy'](_0x4744e2),this['obj']['updateMatrix'](),this[_0x346407(0x16c)][_0x346407(0x132)](!![]),this[_0x346407(0x12e)]&&this[_0x346407(0x12e)]['viewport'][_0x346407(0x125)]();}[_0x1bf6b5(0x16f)](){const _0x51ab59=_0x1bf6b5;if(!this[_0x51ab59(0x16c)])throw Error(_0x51ab59(0x14c));if(this[_0x51ab59(0x16c)][_0x51ab59(0x166)])return this[_0x51ab59(0x16c)][_0x51ab59(0x13f)][_0x51ab59(0x145)]();else {const _0x23a456=new Vector3(),_0x1b4f11=new Quaternion(),_0x3a612b=new Vector3();return this[_0x51ab59(0x16c)][_0x51ab59(0x134)]['decompose'](_0x23a456,_0x1b4f11,_0x3a612b),_0x1b4f11;}}['setQuaternion'](..._0xd4a9a8){const _0x17a765=_0x1bf6b5;var _0x1a2270;if(!this[_0x17a765(0x16c)])throw Error('threeObject\x20is\x20invalid');let _0x4945cf=null;if((_0x1a2270=_0xd4a9a8[0x0])===null||_0x1a2270===void 0?void 0:_0x1a2270[_0x17a765(0x180)]){const _0x3b7629=_0xd4a9a8[0x0];_0x4945cf=new Quaternion(_0x3b7629['x'],_0x3b7629['y'],_0x3b7629['z'],_0x3b7629['w']);}else typeof _0xd4a9a8[0x0]===_0x17a765(0x153)&&typeof _0xd4a9a8[0x1]===_0x17a765(0x153)&&typeof _0xd4a9a8[0x2]===_0x17a765(0x153)&&typeof _0xd4a9a8[0x3]===_0x17a765(0x153)&&(_0x4945cf=new Quaternion(_0xd4a9a8[0x0],_0xd4a9a8[0x1],_0xd4a9a8[0x2],_0xd4a9a8[0x3]));if(!_0x4945cf){console[_0x17a765(0x182)](_0x17a765(0x173),_0xd4a9a8);return;}this[_0x17a765(0x16c)][_0x17a765(0x13f)][_0x17a765(0x18f)](_0x4945cf);if(!this[_0x17a765(0x16c)][_0x17a765(0x166)]){const _0x18a29c=new Vector3(),_0x44afe3=new Quaternion(),_0x1397f7=new Vector3();this['obj']['matrix']['decompose'](_0x18a29c,_0x44afe3,_0x1397f7),this[_0x17a765(0x16c)][_0x17a765(0x134)][_0x17a765(0x16a)](_0x18a29c,_0x4945cf,_0x1397f7);}this[_0x17a765(0x12e)]&&this[_0x17a765(0x12e)][_0x17a765(0x158)][_0x17a765(0x125)](),this[_0x17a765(0x16c)][_0x17a765(0x17f)](),this[_0x17a765(0x16c)][_0x17a765(0x132)](!![]);}[_0x1bf6b5(0x127)](){const _0x2090c9=_0x1bf6b5;if(!this[_0x2090c9(0x16c)])throw Error(_0x2090c9(0x14c));if(this['obj'][_0x2090c9(0x166)])return this['obj'][_0x2090c9(0x15f)][_0x2090c9(0x145)]();else {const _0x3251b9=new Vector3(),_0x550ecc=new Quaternion(),_0x10ce3f=new Vector3();return this['obj'][_0x2090c9(0x134)]['decompose'](_0x3251b9,_0x550ecc,_0x10ce3f),_0x10ce3f;}}[_0x1bf6b5(0x121)](..._0x4ae693){const _0x491213=_0x1bf6b5;var _0x3ea8e6;if(!this[_0x491213(0x16c)])throw Error(_0x491213(0x14c));let _0x211f97=null;if((_0x3ea8e6=_0x4ae693[0x0])===null||_0x3ea8e6===void 0?void 0:_0x3ea8e6[_0x491213(0x183)]){const _0x6d2fd=_0x4ae693[0x0];_0x211f97=new Vector3(_0x6d2fd['x'],_0x6d2fd['y'],_0x6d2fd['z']);}else typeof _0x4ae693[0x0]===_0x491213(0x153)&&typeof _0x4ae693[0x1]==='number'&&typeof _0x4ae693[0x2]==='number'&&(_0x211f97=new Vector3(_0x4ae693[0x0],_0x4ae693[0x1],_0x4ae693[0x2]));if(!_0x211f97)return;this[_0x491213(0x16c)][_0x491213(0x15f)][_0x491213(0x18f)](_0x211f97),this[_0x491213(0x16c)][_0x491213(0x17f)](),this[_0x491213(0x16c)]['updateMatrixWorld'](!![]),this['world']&&this['world'][_0x491213(0x158)][_0x491213(0x125)]();}['getMatrix'](){const _0xf09e4c=_0x1bf6b5;if(!this[_0xf09e4c(0x16c)])throw Error(_0xf09e4c(0x14c));return this['obj'][_0xf09e4c(0x134)];}[_0x1bf6b5(0x133)](_0x35399a){const _0xa56290=_0x1bf6b5;var _0x4f4d58;if(!this[_0xa56290(0x16c)])throw Error(_0xa56290(0x14c));_0x35399a[_0xa56290(0x140)](this[_0xa56290(0x16c)][_0xa56290(0x123)],this[_0xa56290(0x16c)][_0xa56290(0x13f)],this['obj'][_0xa56290(0x15f)]),this[_0xa56290(0x16c)][_0xa56290(0x17f)](),this[_0xa56290(0x16c)][_0xa56290(0x132)](!![]),(_0x4f4d58=this[_0xa56290(0x12e)])===null||_0x4f4d58===void 0?void 0:_0x4f4d58[_0xa56290(0x158)][_0xa56290(0x125)]();}[_0x1bf6b5(0x16b)](){const _0xf8e1fc=_0x1bf6b5;if(!this[_0xf8e1fc(0x16c)])throw Error('threeObject\x20is\x20invalid');let _0x5adfe8=new Vector3();return this[_0xf8e1fc(0x16c)][_0xf8e1fc(0x16b)](_0x5adfe8),_0x5adfe8;}[_0x1bf6b5(0x156)](){const _0x81999a=_0x1bf6b5;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x7981c3=new Quaternion();return this[_0x81999a(0x16c)][_0x81999a(0x171)](_0x7981c3),new Euler()['setFromQuaternion'](_0x7981c3);}[_0x1bf6b5(0x171)](){const _0x46fe03=_0x1bf6b5;if(!this[_0x46fe03(0x16c)])throw Error(_0x46fe03(0x14c));let _0xbe0d09=new Quaternion();return this[_0x46fe03(0x16c)]['getWorldQuaternion'](_0xbe0d09),_0xbe0d09;}[_0x1bf6b5(0x17b)](){const _0x1f5aa8=_0x1bf6b5;if(!this[_0x1f5aa8(0x16c)])throw Error(_0x1f5aa8(0x14c));let _0x479458=new Vector3();return this[_0x1f5aa8(0x16c)][_0x1f5aa8(0x17b)](_0x479458),_0x479458;}[_0x1bf6b5(0x15c)](){const _0x52f1e5=_0x1bf6b5;if(!this['obj'])throw Error(_0x52f1e5(0x14c));return this[_0x52f1e5(0x16c)][_0x52f1e5(0x132)](!![]),this[_0x52f1e5(0x16c)]['matrixWorld'][_0x52f1e5(0x145)]();}[_0x1bf6b5(0x143)](_0x26d53e){const _0x372d4f=_0x1bf6b5;if(!this['obj'])throw Error(_0x372d4f(0x14c));if(this['obj']['parent']){this[_0x372d4f(0x16c)][_0x372d4f(0x14e)][_0x372d4f(0x132)](!![]);const _0x30f832=this[_0x372d4f(0x16c)][_0x372d4f(0x14e)][_0x372d4f(0x120)]['clone']()[_0x372d4f(0x157)](),_0x59318f=new Matrix4()['multiplyMatrices'](_0x30f832,_0x26d53e);this['setMatrix'](_0x59318f);}else this[_0x372d4f(0x133)](_0x26d53e);this[_0x372d4f(0x16c)][_0x372d4f(0x132)](!![]),this[_0x372d4f(0x12e)]&&this[_0x372d4f(0x12e)][_0x372d4f(0x158)][_0x372d4f(0x125)]();}[_0x1bf6b5(0x13e)](){const _0x759775=_0x1bf6b5;if(!this[_0x759775(0x16c)])throw Error(_0x759775(0x14c));let _0xc29989=new Vector3();return this[_0x759775(0x16c)][_0x759775(0x128)](_0xc29989),_0xc29989;}[_0x1bf6b5(0x138)](){const _0x144c57=_0x1bf6b5;if(!this[_0x144c57(0x16c)])throw Error(_0x144c57(0x14c));let _0x5dc080=new Vector3(0x0,0x1,0x0);return _0x5dc080[_0x144c57(0x186)](this['getWorldQuaternion']()),_0x5dc080;}['getWorldRightDirection'](){const _0x1972fa=_0x1bf6b5;if(!this['obj'])throw Error(_0x1972fa(0x14c));let _0x3b5e5d=new Vector3(0x1,0x0,0x0);return _0x3b5e5d[_0x1972fa(0x186)](this[_0x1972fa(0x171)]()),_0x3b5e5d;}[_0x1bf6b5(0x160)](_0x206403){const _0x4317be=_0x1bf6b5;if(!this[_0x4317be(0x16c)])throw Error(_0x4317be(0x14c));return this[_0x4317be(0x16c)][_0x4317be(0x160)](_0x206403);}['localToWorld'](_0x49cbac){const _0x36380f=_0x1bf6b5;if(!this[_0x36380f(0x16c)])throw Error(_0x36380f(0x14c));return this['obj']['localToWorld'](_0x49cbac);}[_0x1bf6b5(0x131)](_0x9605e3){const _0x507558=_0x1bf6b5;if(!this[_0x507558(0x16c)])throw Error('threeObject\x20is\x20invalid');if(!_0x9605e3[_0x507558(0x148)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this['obj']['add'](_0x9605e3[_0x507558(0x148)]),this[_0x507558(0x12e)]&&_0x9605e3['onAddedToWorld'](this[_0x507558(0x12e)]);}[_0x1bf6b5(0x152)](_0x5a7ca2){const _0x154a0f=_0x1bf6b5;if(!this[_0x154a0f(0x16c)])throw Error(_0x154a0f(0x14c));if(!_0x5a7ca2[_0x154a0f(0x148)])throw Error(_0x154a0f(0x129));this['obj'][_0x154a0f(0x141)](_0x5a7ca2['threeObject']);}['addChildComponent'](_0x1b975d,_0x4d4367=AttachmentRules[_0x1bf6b5(0x135)]){const _0x52151e=_0x1bf6b5;if(!this[_0x52151e(0x16c)])throw Error('threeObject\x20is\x20invalid');if(!_0x1b975d[_0x52151e(0x148)])throw Error(_0x52151e(0x13b));_0x1b975d[_0x52151e(0x169)]=this[_0x52151e(0x169)];if(_0x4d4367===AttachmentRules[_0x52151e(0x17d)]){let _0x5e8eba=_0x1b975d[_0x52151e(0x15c)]();this[_0x52151e(0x16c)]['add'](_0x1b975d[_0x52151e(0x148)]),_0x1b975d[_0x52151e(0x143)](_0x5e8eba);}else this[_0x52151e(0x16c)][_0x52151e(0x170)](_0x1b975d[_0x52151e(0x148)]);this[_0x52151e(0x12e)]&&_0x1b975d[_0x52151e(0x17c)](this[_0x52151e(0x12e)]),this[_0x52151e(0x16c)][_0x52151e(0x17f)](),this[_0x52151e(0x16c)]['updateMatrixWorld'](!![]);}['removeChildComponent'](_0x52b386){const _0x4ba078=_0x1bf6b5;if(!this[_0x4ba078(0x16c)])throw Error(_0x4ba078(0x14c));if(!_0x52b386[_0x4ba078(0x148)])throw Error(_0x4ba078(0x18e));this[_0x4ba078(0x16c)][_0x4ba078(0x141)](_0x52b386[_0x4ba078(0x148)]);}[_0x1bf6b5(0x190)](){const _0x450454=_0x1bf6b5;this[_0x450454(0x159)]&&this[_0x450454(0x159)][_0x450454(0x12c)](this);}[_0x1bf6b5(0x185)](){const _0x70db15=_0x1bf6b5;this['parentActor']&&(this[_0x70db15(0x169)]=null);}['destroyChildren'](){const _0x15a9c8=_0x1bf6b5;var _0x33115a;if(!this['obj'])return;let _0x461cda=[];for(let _0x4321db=0x0;_0x4321db<this[_0x15a9c8(0x16c)][_0x15a9c8(0x18b)][_0x15a9c8(0x154)];++_0x4321db){let _0xea5157=(_0x33115a=this['obj'][_0x15a9c8(0x18b)][_0x4321db][_0x15a9c8(0x15a)])===null||_0x33115a===void 0?void 0:_0x33115a[_0x15a9c8(0x12b)];_0xea5157&&_0x461cda[_0x15a9c8(0x150)](_0xea5157);}_0x461cda[_0x15a9c8(0x149)](_0x3ce970=>{const _0x54ba38=_0x15a9c8;_0x3ce970[_0x54ba38(0x137)]();}),_0x461cda=[];}set[_0x1bf6b5(0x181)](_0x49bd32){const _0x31099b=_0x1bf6b5;this[_0x31099b(0x172)]=_0x49bd32;let _0x4b555d=this['childrenComponents'];for(let _0x588a0e=0x0;_0x588a0e<_0x4b555d[_0x31099b(0x154)];++_0x588a0e){_0x4b555d[_0x588a0e][_0x31099b(0x181)]=this[_0x31099b(0x172)];}}get['isHoverEnabled'](){return this['bCanHover'];}set[_0x1bf6b5(0x164)](_0x1af69f){const _0xc5520b=_0x1bf6b5;this[_0xc5520b(0x146)]=_0x1af69f;let _0x294f98=this[_0xc5520b(0x191)];for(let _0x2040bf=0x0;_0x2040bf<_0x294f98[_0xc5520b(0x154)];++_0x2040bf){_0x294f98[_0x2040bf][_0xc5520b(0x164)]=this[_0xc5520b(0x146)];}}get['isClickEnabled'](){const _0x802a35=_0x1bf6b5;return this[_0x802a35(0x146)];}['onHorveringBegin'](){const _0x120c45=_0x1bf6b5;this[_0x120c45(0x12d)][_0x120c45(0x178)]();}[_0x1bf6b5(0x176)](){const _0x37febf=_0x1bf6b5;this[_0x37febf(0x179)][_0x37febf(0x178)]();}[_0x1bf6b5(0x13c)](){const _0x23801b=_0x1bf6b5;this['_onClickDelegate'][_0x23801b(0x178)]();}[_0x1bf6b5(0x18c)](){const _0x49acb7=_0x1bf6b5;this[_0x49acb7(0x126)][_0x49acb7(0x178)]();}}
|
|
39
39
|
|
|
40
|
-
function
|
|
40
|
+
function _0x56f5(){const _0x5ea929=['331322XtSBxN','forEach','material','332012YlvfIs','3368904TFWtIs','40QkQVCW','castShadow','addRef','destroyObject','geometry','removeFromParent','1309731DiyiyM','getCenter','geometryPtr\x20is\x20null','threeObject\x20is\x20null','threeObject','userData','app','assetManager','321528LFcGBn','push','4027597znHcCF','geometryPtr','getValue','716712lvjmYq','getBoundsCenterPosition','min','getBoundsBottomCenterPosition','release','addGeometryAsset','obj','createDefaultObject','materialPtr','_geometryPtr','length','addMaterialAsset','isArray','getBounds','_materialPtr','receiveShadow'];_0x56f5=function(){return _0x5ea929;};return _0x56f5();}const _0x47ddf1=_0x36bb;(function(_0x54b79f,_0x592244){const _0x2b47d8=_0x36bb,_0x2ff744=_0x54b79f();while(!![]){try{const _0x57d92d=-parseInt(_0x2b47d8(0x1c8))/0x1+-parseInt(_0x2b47d8(0x1b3))/0x2+parseInt(_0x2b47d8(0x1ab))/0x3+-parseInt(_0x2b47d8(0x1cb))/0x4*(-parseInt(_0x2b47d8(0x1cd))/0x5)+-parseInt(_0x2b47d8(0x1b8))/0x6+-parseInt(_0x2b47d8(0x1b5))/0x7+parseInt(_0x2b47d8(0x1cc))/0x8;if(_0x57d92d===_0x592244)break;else _0x2ff744['push'](_0x2ff744['shift']());}catch(_0x101f44){_0x2ff744['push'](_0x2ff744['shift']());}}}(_0x56f5,0x51bd5));function _0x36bb(_0x37ac37,_0x443b14){_0x37ac37=_0x37ac37-0x1ab;const _0x56f52c=_0x56f5();let _0x36bbbd=_0x56f52c[_0x37ac37];return _0x36bbbd;}class MeshComponent extends SceneComponent{get[_0x47ddf1(0x1af)](){const _0x154b5b=_0x47ddf1;if(!this[_0x154b5b(0x1be)])throw new Error(_0x154b5b(0x1ae));return this[_0x154b5b(0x1be)];}set[_0x47ddf1(0x1af)](_0x41b461){const _0x462b5d=_0x47ddf1;this['obj']=_0x41b461,this[_0x462b5d(0x1be)]&&(this[_0x462b5d(0x1be)][_0x462b5d(0x1b0)]['LYObject']=this);}get[_0x47ddf1(0x1d1)](){const _0x48aca5=_0x47ddf1;if(!this[_0x48aca5(0x1c1)])throw new Error('geometryPtr\x20is\x20null');return this['_geometryPtr'][_0x48aca5(0x1b7)]();}set[_0x47ddf1(0x1d1)](_0x9d7c76){const _0x227fd2=_0x47ddf1;let _0x7361bd=this[_0x227fd2(0x1b1)][_0x227fd2(0x1b2)][_0x227fd2(0x1bd)](_0x9d7c76);this[_0x227fd2(0x1b6)]=_0x7361bd;}get[_0x47ddf1(0x1b6)](){const _0x173f0d=_0x47ddf1;if(!this[_0x173f0d(0x1c1)])throw new Error(_0x173f0d(0x1ad));return this[_0x173f0d(0x1c1)];}set[_0x47ddf1(0x1b6)](_0x34831a){const _0x1a0d81=_0x47ddf1;this[_0x1a0d81(0x1c1)]&&(this[_0x1a0d81(0x1c1)][_0x1a0d81(0x1bc)](),this[_0x1a0d81(0x1c1)]=null);this[_0x1a0d81(0x1c1)]=_0x34831a;let _0x5d348d=_0x34831a['getValue']();this[_0x1a0d81(0x1af)]&&_0x5d348d&&(this[_0x1a0d81(0x1af)]['geometry']=_0x5d348d);}get[_0x47ddf1(0x1ca)](){const _0x4e71d6=_0x47ddf1;let _0x3e8cf1=[];return this[_0x4e71d6(0x1c6)][_0x4e71d6(0x1c9)](_0x32c59a=>{const _0x3fe552=_0x4e71d6;let _0x4e0089=_0x32c59a[_0x3fe552(0x1b7)]();if(_0x4e0089)_0x3e8cf1[_0x3fe552(0x1b4)](_0x4e0089);}),_0x3e8cf1[_0x4e71d6(0x1c2)]>0x1?_0x3e8cf1:_0x3e8cf1[0x0];}get[_0x47ddf1(0x1c0)](){const _0x41db35=_0x47ddf1;return this[_0x41db35(0x1c0)];}set[_0x47ddf1(0x1ca)](_0x18df96){const _0x2ccd01=_0x47ddf1;let _0x58a5ce=Array[_0x2ccd01(0x1c4)](_0x18df96)?_0x18df96:[_0x18df96],_0x503962=[];_0x58a5ce[_0x2ccd01(0x1c9)](_0x3ad8e9=>{const _0x4e8220=_0x2ccd01;let _0x1e671a=this[_0x4e8220(0x1b1)][_0x4e8220(0x1b2)]['addMaterialAsset'](_0x3ad8e9);if(_0x1e671a)_0x503962[_0x4e8220(0x1b4)](_0x1e671a);}),this[_0x2ccd01(0x1c0)]=_0x503962;}set[_0x47ddf1(0x1c0)](_0x5b9cea){const _0x4ab8fd=_0x47ddf1;this['_materialPtr']&&(this[_0x4ab8fd(0x1c6)][_0x4ab8fd(0x1c9)](_0x5824a5=>{const _0x3753e6=_0x4ab8fd;_0x5824a5[_0x3753e6(0x1bc)]();}),this['_materialPtr']=[]);let _0x507e00=Array['isArray'](_0x5b9cea)?_0x5b9cea:[_0x5b9cea],_0x120137=[];_0x507e00[_0x4ab8fd(0x1c9)](_0x5ce18b=>{const _0x34c6c5=_0x4ab8fd;let _0x34bb7c=_0x5ce18b[_0x34c6c5(0x1b7)]();if(_0x34bb7c)_0x120137['push'](_0x34bb7c);_0x5ce18b['addRef']();});if(this[_0x4ab8fd(0x1af)]){if(_0x120137[_0x4ab8fd(0x1c2)]>0x0)this[_0x4ab8fd(0x1af)][_0x4ab8fd(0x1ca)]=Array[_0x4ab8fd(0x1c4)](_0x5b9cea)?_0x120137[0x0]:_0x120137;}this['_materialPtr']=_0x507e00;}constructor(_0x1b63c4,_0xe37aca,_0x26f7dd,_0x258bd5){const _0x31402d=_0x47ddf1;let _0x1a361d=[],_0x2aceb6=Array[_0x31402d(0x1c4)](_0x26f7dd)?_0x26f7dd:[_0x26f7dd];_0x2aceb6[_0x31402d(0x1c9)](_0x47b3ee=>{const _0x1453a2=_0x31402d;let _0x2f1acc=_0x1b63c4[_0x1453a2(0x1b2)][_0x1453a2(0x1c3)](_0x47b3ee);if(_0x2f1acc)_0x1a361d[_0x1453a2(0x1b4)](_0x2f1acc);}),super(_0x1b63c4,_0x258bd5),this[_0x31402d(0x1c1)]=_0x1b63c4['assetManager'][_0x31402d(0x1bd)](_0xe37aca),this['_materialPtr']=_0x1a361d,_0x1a361d[_0x31402d(0x1c9)](_0x15a295=>{const _0x57c151=_0x31402d;_0x15a295[_0x57c151(0x1cf)]();}),this['threeObject']['material']=_0x26f7dd,this[_0x31402d(0x1af)][_0x31402d(0x1d1)]=_0xe37aca,this[_0x31402d(0x1ce)]=!![],this['receiveShadow']=!![];}[_0x47ddf1(0x1bf)](){return new Mesh();}set[_0x47ddf1(0x1ce)](_0x524eee){const _0x14eb4a=_0x47ddf1;if(this[_0x14eb4a(0x1af)])this[_0x14eb4a(0x1af)][_0x14eb4a(0x1ce)]=_0x524eee;}get[_0x47ddf1(0x1ce)](){const _0x27f6e4=_0x47ddf1;return this['threeObject']?this[_0x27f6e4(0x1af)][_0x27f6e4(0x1ce)]:![];}set[_0x47ddf1(0x1c7)](_0x100161){const _0x1c10e1=_0x47ddf1;if(!this['threeObject'])return;this[_0x1c10e1(0x1af)][_0x1c10e1(0x1c7)]=_0x100161;}get[_0x47ddf1(0x1c7)](){const _0xa0c800=_0x47ddf1;return this['threeObject']?this[_0xa0c800(0x1af)]['receiveShadow']:![];}[_0x47ddf1(0x1b9)](){const _0x28ecb5=_0x47ddf1;let _0x165440=new Vector3();return this[_0x28ecb5(0x1c5)]()[_0x28ecb5(0x1ac)](_0x165440),_0x165440;}['getBoundsTopCenterPosition'](){const _0x5a04cd=_0x47ddf1;let _0x5721db=new Vector3(),_0x986e0d=this[_0x5a04cd(0x1c5)]();return _0x986e0d[_0x5a04cd(0x1ac)](_0x5721db),_0x5721db['y']=_0x986e0d['max']['y'],_0x5721db;}[_0x47ddf1(0x1bb)](){const _0x38ae35=_0x47ddf1;let _0x4407e5=new Vector3(),_0x56a097=this[_0x38ae35(0x1c5)]();return _0x56a097['getCenter'](_0x4407e5),_0x4407e5['y']=_0x56a097[_0x38ae35(0x1ba)]['y'],_0x4407e5;}[_0x47ddf1(0x1d0)](){const _0x171aff=_0x47ddf1;var _0x26a7ae;this['threeObject']&&this[_0x171aff(0x1af)][_0x171aff(0x1d2)]();(_0x26a7ae=this[_0x171aff(0x1c1)])===null||_0x26a7ae===void 0?void 0:_0x26a7ae[_0x171aff(0x1bc)]();let _0x256796=Array[_0x171aff(0x1c4)](this[_0x171aff(0x1c6)])?this[_0x171aff(0x1c6)]:[this[_0x171aff(0x1c6)]];_0x256796[_0x171aff(0x1c9)](_0x23d26a=>{const _0x381737=_0x171aff;_0x23d26a[_0x381737(0x1bc)]();}),super[_0x171aff(0x1d0)]();}}
|
|
41
41
|
|
|
42
|
-
const
|
|
42
|
+
const _0x3d56dd=_0x72c0;(function(_0x23267d,_0x290438){const _0x59825e=_0x72c0,_0x4f54ca=_0x23267d();while(!![]){try{const _0x4618ce=parseInt(_0x59825e(0x16f))/0x1+parseInt(_0x59825e(0x17d))/0x2+parseInt(_0x59825e(0x18a))/0x3*(parseInt(_0x59825e(0x183))/0x4)+parseInt(_0x59825e(0x181))/0x5*(parseInt(_0x59825e(0x165))/0x6)+-parseInt(_0x59825e(0x16c))/0x7*(parseInt(_0x59825e(0x174))/0x8)+parseInt(_0x59825e(0x173))/0x9*(parseInt(_0x59825e(0x184))/0xa)+-parseInt(_0x59825e(0x166))/0xb;if(_0x4618ce===_0x290438)break;else _0x4f54ca['push'](_0x4f54ca['shift']());}catch(_0x2f3c70){_0x4f54ca['push'](_0x4f54ca['shift']());}}}(_0x4a0e,0x4374f));function _0x72c0(_0x268a4d,_0x1b1a0c){_0x268a4d=_0x268a4d-0x165;const _0x4a0e0d=_0x4a0e();let _0x72c0ce=_0x4a0e0d[_0x268a4d];return _0x72c0ce;}function _0x4a0e(){const _0x2b462f=['removeFromParent','_geometryPtr','obj','getMatrixAt','geometry','752756hJJUdK','instanceMatrix','InstanceMeshComponent:\x20threeObject\x20is\x20null','LYObject','9875rKYVOZ','length','764vBMtOZ','2738310FgNVWH','material','dispose','setMatrixAt','forEach','min','291JNLsVi','castShadow','release','1476PkSFEd','5076841SlwZIe','destroyObject','count','assetManager','isArray','receiveShadow','11228FnsdZi','updateMatrices','needsUpdate','72468oNuwny','addMaterialAsset','addGeometryAsset','getValue','9OBSGRi','2440AJIggH','threeObject','_materialPtr','push'];_0x4a0e=function(){return _0x2b462f;};return _0x4a0e();}class InstanceMeshComponent extends SceneComponent{get[_0x3d56dd(0x175)](){const _0x553857=_0x3d56dd;if(!this['obj'])throw new Error(_0x553857(0x17f));return this['obj'];}set['threeObject'](_0x5b3139){const _0x496e44=_0x3d56dd;this['obj']=_0x5b3139,this['obj']&&(this[_0x496e44(0x17a)]['userData'][_0x496e44(0x180)]=this);}get[_0x3d56dd(0x17c)](){const _0x1012cd=_0x3d56dd;var _0xd9300f,_0x5612e6;return (_0x5612e6=(_0xd9300f=this[_0x1012cd(0x179)])===null||_0xd9300f===void 0?void 0:_0xd9300f[_0x1012cd(0x172)]())!==null&&_0x5612e6!==void 0?_0x5612e6:null;}get['material'](){const _0x2b9952=_0x3d56dd,_0x266448=[];return this[_0x2b9952(0x176)][_0x2b9952(0x188)](_0x33e8a6=>{const _0x1c2152=_0x2b9952,_0xe22929=_0x33e8a6[_0x1c2152(0x172)]();if(_0xe22929)_0x266448[_0x1c2152(0x177)](_0xe22929);}),_0x266448['length']>0x1?_0x266448:_0x266448[0x0];}get[_0x3d56dd(0x168)](){const _0x48551b=_0x3d56dd;return this[_0x48551b(0x175)][_0x48551b(0x168)];}set[_0x3d56dd(0x168)](_0x1b9eda){const _0x3adaee=_0x3d56dd;this['threeObject'][_0x3adaee(0x168)]=_0x1b9eda;}set[_0x3d56dd(0x18b)](_0x52ce95){const _0x44385b=_0x3d56dd;if(this[_0x44385b(0x175)])this['threeObject'][_0x44385b(0x18b)]=_0x52ce95;}get[_0x3d56dd(0x18b)](){const _0x3daf2d=_0x3d56dd;return this[_0x3daf2d(0x175)]?this[_0x3daf2d(0x175)][_0x3daf2d(0x18b)]:![];}set[_0x3d56dd(0x16b)](_0x5acb5){const _0x31cda0=_0x3d56dd;if(!this[_0x31cda0(0x175)])return;this[_0x31cda0(0x175)][_0x31cda0(0x16b)]=_0x5acb5;}get[_0x3d56dd(0x16b)](){const _0x50f31c=_0x3d56dd;return this[_0x50f31c(0x175)]?this[_0x50f31c(0x175)][_0x50f31c(0x16b)]:![];}constructor(_0x5283f4,_0x3762dc,_0x587d18){const _0xd212f9=_0x3d56dd;super(_0x5283f4,_0x587d18),this[_0xd212f9(0x179)]=null,this['_materialPtr']=[];_0x3762dc[_0xd212f9(0x17c)]&&(this[_0xd212f9(0x179)]=_0x5283f4['assetManager'][_0xd212f9(0x171)](_0x3762dc['geometry']));const _0x2affbd=Array[_0xd212f9(0x16a)](_0x3762dc[_0xd212f9(0x185)])?_0x3762dc['material']:[_0x3762dc[_0xd212f9(0x185)]];_0x2affbd[_0xd212f9(0x188)](_0x5a8b3c=>{const _0x4bfb17=_0xd212f9,_0x10f10a=_0x5283f4[_0x4bfb17(0x169)][_0x4bfb17(0x170)](_0x5a8b3c);_0x10f10a&&(_0x10f10a['addRef'](),this[_0x4bfb17(0x176)][_0x4bfb17(0x177)](_0x10f10a));}),this['threeObject']=_0x3762dc,this[_0xd212f9(0x18b)]=!![],this[_0xd212f9(0x16b)]=!![];}['createDefaultObject'](){return new InstancedMesh(undefined,undefined,0x0);}['getMatrixAt'](_0x1347fb,_0x319f86){const _0x3b9daa=_0x3d56dd;this[_0x3b9daa(0x175)][_0x3b9daa(0x17b)](_0x1347fb,_0x319f86);}[_0x3d56dd(0x187)](_0x90609a,_0x524e00){const _0x2d69e0=_0x3d56dd;this[_0x2d69e0(0x175)][_0x2d69e0(0x187)](_0x90609a,_0x524e00),this[_0x2d69e0(0x175)]['instanceMatrix']['needsUpdate']=!![];}[_0x3d56dd(0x16d)](_0x1952d0){const _0x4d7288=_0x3d56dd,_0x28ec50=Math[_0x4d7288(0x189)](_0x1952d0[_0x4d7288(0x182)],this[_0x4d7288(0x175)][_0x4d7288(0x168)]);for(let _0x48fe55=0x0;_0x48fe55<_0x28ec50;_0x48fe55++){this[_0x4d7288(0x175)]['setMatrixAt'](_0x48fe55,_0x1952d0[_0x48fe55]);}this[_0x4d7288(0x175)][_0x4d7288(0x17e)][_0x4d7288(0x16e)]=!![];}[_0x3d56dd(0x167)](){const _0x1ae73b=_0x3d56dd;var _0x402e93;this[_0x1ae73b(0x175)]&&(this['threeObject'][_0x1ae73b(0x178)](),this['threeObject'][_0x1ae73b(0x186)]()),(_0x402e93=this[_0x1ae73b(0x179)])===null||_0x402e93===void 0?void 0:_0x402e93[_0x1ae73b(0x18c)](),this[_0x1ae73b(0x179)]=null,this[_0x1ae73b(0x176)][_0x1ae73b(0x188)](_0x2633df=>{const _0x20f41a=_0x1ae73b;_0x2633df[_0x20f41a(0x18c)]();}),this[_0x1ae73b(0x176)]=[],super[_0x1ae73b(0x167)]();}}
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
var _0x114378=_0x276a;function _0x3cc4(){var _0x3cba75=['687678abDwBs','551872LKOwaQ','8kbVKka','forceRelease','dispose','250751HmdLxV','value','2GEVvhQ','1207227JPlzBr','6648xgjTzs','addRef','1614940uIinGU','2060uTfSGw','isValid','getValue','79551EqImQT','referenceCount'];_0x3cc4=function(){return _0x3cba75;};return _0x3cc4();}function _0x276a(_0x5c3d35,_0x5bd0b9){_0x5c3d35=_0x5c3d35-0x1d8;var _0x3cc4c6=_0x3cc4();var _0x276ad8=_0x3cc4c6[_0x5c3d35];return _0x276ad8;}(function(_0x597602,_0x4444b6){var _0x5bb639=_0x276a,_0x40dba1=_0x597602();while(!![]){try{var _0x52e68d=parseInt(_0x5bb639(0x1dd))/0x1*(parseInt(_0x5bb639(0x1df))/0x2)+parseInt(_0x5bb639(0x1d8))/0x3*(-parseInt(_0x5bb639(0x1da))/0x4)+-parseInt(_0x5bb639(0x1e4))/0x5*(-parseInt(_0x5bb639(0x1e1))/0x6)+parseInt(_0x5bb639(0x1e0))/0x7+parseInt(_0x5bb639(0x1d9))/0x8+parseInt(_0x5bb639(0x1e7))/0x9+-parseInt(_0x5bb639(0x1e3))/0xa;if(_0x52e68d===_0x4444b6)break;else _0x40dba1['push'](_0x40dba1['shift']());}catch(_0x37f28a){_0x40dba1['push'](_0x40dba1['shift']());}}}(_0x3cc4,0x526b1));class TSmartPointer{constructor(_0x53974a,_0x5c988a=0x1){var _0xd97f1=_0x276a;this[_0xd97f1(0x1e8)]=0x1,this[_0xd97f1(0x1de)]=null,this[_0xd97f1(0x1de)]=_0x53974a,this[_0xd97f1(0x1e8)]=_0x5c988a;}['getRefCount'](){return this['referenceCount'];}[_0x114378(0x1e5)](){var _0x169fae=_0x114378;return this[_0x169fae(0x1de)]!==null;}[_0x114378(0x1e2)](_0x218e02=0x1){var _0x40a97f=_0x114378;this[_0x40a97f(0x1de)]!==null&&(this[_0x40a97f(0x1e8)]+=_0x218e02);}['release'](){var _0x3cb1b4=_0x114378;this[_0x3cb1b4(0x1de)]!==null&&this['referenceCount']>0x0&&(this[_0x3cb1b4(0x1e8)]--,this[_0x3cb1b4(0x1e8)]===0x0&&this[_0x3cb1b4(0x1dc)]());}[_0x114378(0x1db)](){var _0x23da53=_0x114378;this[_0x23da53(0x1de)]!==null&&(this[_0x23da53(0x1dc)](),this['referenceCount']=0x0);}['dispose'](){var _0x165083=_0x114378;this[_0x165083(0x1de)]=null;}[_0x114378(0x1e6)](){return this['value'];}}
|
|
45
45
|
|
|
46
|
-
const
|
|
46
|
+
const _0x514fd2=_0x41af;function _0x41af(_0x148099,_0x92977f){_0x148099=_0x148099-0x196;const _0x16924b=_0x1692();let _0x41af9f=_0x16924b[_0x148099];return _0x41af9f;}(function(_0x243cdb,_0x3f9caf){const _0x4ce33d=_0x41af,_0x45f4e6=_0x243cdb();while(!![]){try{const _0x126820=parseInt(_0x4ce33d(0x19d))/0x1+parseInt(_0x4ce33d(0x197))/0x2*(-parseInt(_0x4ce33d(0x1a3))/0x3)+-parseInt(_0x4ce33d(0x1a6))/0x4+-parseInt(_0x4ce33d(0x1a5))/0x5*(-parseInt(_0x4ce33d(0x19e))/0x6)+-parseInt(_0x4ce33d(0x199))/0x7*(parseInt(_0x4ce33d(0x1a0))/0x8)+-parseInt(_0x4ce33d(0x1a4))/0x9*(-parseInt(_0x4ce33d(0x196))/0xa)+parseInt(_0x4ce33d(0x1a2))/0xb;if(_0x126820===_0x3f9caf)break;else _0x45f4e6['push'](_0x45f4e6['shift']());}catch(_0x40db51){_0x45f4e6['push'](_0x45f4e6['shift']());}}}(_0x1692,0x82cd3));function _0x1692(){const _0x3be364=['6587168fsvxWx','userData','517616lSRLLe','13053uNYrNU','7212033sRgjkX','1825865iaMlbw','15304xUQYBb','uuid','10TRqgZb','26IkRpiO','dispose','7tfgiLz','_uuid','value','assetPointer','205982xQlaqX','6dgSTQL','editorAssetId'];_0x1692=function(){return _0x3be364;};return _0x1692();}const ASSET_POINTER_KEY=_0x514fd2(0x19c);const EDITOR_ASSET_ID_KEY=_0x514fd2(0x19f);class TAssetPointer extends TSmartPointer{get[_0x514fd2(0x1a7)](){const _0x4044ec=_0x514fd2;return this[_0x4044ec(0x19a)];}constructor(_0x2cd64a,_0x3b1292=0x0){const _0x12e280=_0x514fd2;super(_0x2cd64a,_0x3b1292),this[_0x12e280(0x19a)]=_0x2cd64a[_0x12e280(0x1a7)],_0x2cd64a['userData'][ASSET_POINTER_KEY]=this;}[_0x514fd2(0x198)](){const _0x398054=_0x514fd2;this['value']&&(this[_0x398054(0x19b)][_0x398054(0x1a1)]&&(delete this[_0x398054(0x19b)][_0x398054(0x1a1)][ASSET_POINTER_KEY],delete this[_0x398054(0x19b)][_0x398054(0x1a1)][EDITOR_ASSET_ID_KEY]),typeof this[_0x398054(0x19b)][_0x398054(0x198)]==='function'&&this[_0x398054(0x19b)]['dispose']()),super[_0x398054(0x198)]();}}
|
|
47
47
|
|
|
48
|
-
const
|
|
48
|
+
const _0x3042d0=_0xe1c8;function _0xe1c8(_0x778df7,_0xcb710d){_0x778df7=_0x778df7-0x1c4;const _0x1f35cf=_0x1f35();let _0xe1c82d=_0x1f35cf[_0x778df7];return _0xe1c82d;}function _0x1f35(){const _0x17d551=['clear','8hjFWns','get','release','dispose','texturePointers','1215150nXkouz','setTexture','182811ElJHBT','needsUpdate','getValue','1969128VJrCYh','textures','385078qsEIjg','6PBgZYr','delete','values','22906602wkRnkI','6122277bAmHPV','3997930KmFVbN','removeTexture'];_0x1f35=function(){return _0x17d551;};return _0x1f35();}(function(_0x26d4dc,_0x1e29d8){const _0x300ab2=_0xe1c8,_0xc90dab=_0x26d4dc();while(!![]){try{const _0x5b0a91=-parseInt(_0x300ab2(0x1cb))/0x1+-parseInt(_0x300ab2(0x1d2))/0x2+parseInt(_0x300ab2(0x1cd))/0x3*(-parseInt(_0x300ab2(0x1c6))/0x4)+parseInt(_0x300ab2(0x1d8))/0x5+parseInt(_0x300ab2(0x1d3))/0x6*(-parseInt(_0x300ab2(0x1d7))/0x7)+-parseInt(_0x300ab2(0x1d0))/0x8+parseInt(_0x300ab2(0x1d6))/0x9;if(_0x5b0a91===_0x1e29d8)break;else _0xc90dab['push'](_0xc90dab['shift']());}catch(_0x4ef9c8){_0xc90dab['push'](_0xc90dab['shift']());}}}(_0x1f35,0xa98b1));class MaterialAssetPointer extends TAssetPointer{constructor(_0x4662d6,_0xd9a0a3,_0x2ad49b=0x0){const _0x460ce1=_0xe1c8;super(_0x4662d6,_0x2ad49b),this[_0x460ce1(0x1d1)]=_0xd9a0a3;}get[_0x3042d0(0x1ca)](){const _0x47b420=_0x3042d0;return this[_0x47b420(0x1d1)];}[_0x3042d0(0x1cc)](_0x16c870,_0x30331b){const _0x1d3afa=_0x3042d0,_0x148811=this['getValue'](),_0x41472b=_0x30331b['getValue']();if(!_0x41472b)throw new Error('Texture\x20is\x20null');if(!_0x148811)throw new Error('Material\x20is\x20null');const _0x18d4c0=this[_0x1d3afa(0x1d1)][_0x1d3afa(0x1c7)](_0x16c870);_0x18d4c0!==_0x30331b&&(_0x18d4c0&&_0x18d4c0[_0x1d3afa(0x1c8)](),this[_0x1d3afa(0x1d1)]['set'](_0x16c870,_0x30331b),_0x148811[_0x16c870]=_0x41472b,_0x30331b['addRef'](),_0x148811[_0x1d3afa(0x1ce)]=!![]);}[_0x3042d0(0x1c4)](_0x3ec90f){const _0x1f8729=_0x3042d0,_0x559066=this[_0x1f8729(0x1cf)](),_0x5d7efb=this[_0x1f8729(0x1d1)]['get'](_0x3ec90f);_0x5d7efb&&(_0x5d7efb[_0x1f8729(0x1c8)](),this[_0x1f8729(0x1d1)][_0x1f8729(0x1d4)](_0x3ec90f),_0x559066&&(_0x559066[_0x3ec90f]=null,_0x559066['needsUpdate']=!![]));}[_0x3042d0(0x1c9)](){const _0x4b9bf9=_0x3042d0;for(const _0x2daf12 of this[_0x4b9bf9(0x1d1)][_0x4b9bf9(0x1d5)]()){_0x2daf12[_0x4b9bf9(0x1c8)]();}this[_0x4b9bf9(0x1d1)][_0x4b9bf9(0x1c5)](),super[_0x4b9bf9(0x1c9)]();}}
|
|
49
49
|
|
|
50
|
-
(function(
|
|
50
|
+
(function(_0x7b7f92,_0xb098c2){var _0x194b22=_0x3224,_0x3befde=_0x7b7f92();while(!![]){try{var _0x3c2a53=-parseInt(_0x194b22(0x17e))/0x1+-parseInt(_0x194b22(0x17a))/0x2+parseInt(_0x194b22(0x17f))/0x3+parseInt(_0x194b22(0x181))/0x4*(-parseInt(_0x194b22(0x182))/0x5)+-parseInt(_0x194b22(0x17c))/0x6*(-parseInt(_0x194b22(0x17b))/0x7)+parseInt(_0x194b22(0x180))/0x8+parseInt(_0x194b22(0x17d))/0x9;if(_0x3c2a53===_0xb098c2)break;else _0x3befde['push'](_0x3befde['shift']());}catch(_0x5b01e9){_0x3befde['push'](_0x3befde['shift']());}}}(_0x5089,0xce1e1));function _0x3224(_0x1f9837,_0x13add0){_0x1f9837=_0x1f9837-0x17a;var _0x5089f3=_0x5089();var _0x3224b6=_0x5089f3[_0x1f9837];return _0x3224b6;}function _0x5089(){var _0x3faace=['4WkrCkq','6771210eEhFRT','760096gmCdts','350567yYOKDa','36pYjyFG','13295538ezuDzE','1279764sVUYoN','1514589kbtWyq','12605440yLUeBf'];_0x5089=function(){return _0x3faace;};return _0x5089();}class TextureAssetPointer extends TAssetPointer{constructor(_0x55927d,_0x353ef9=0x1){super(_0x55927d,_0x353ef9);}}
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
(function(_0x2103b1,_0x50719a){var _0x216080=_0x3f29,_0xc7365e=_0x2103b1();while(!![]){try{var _0x198eb8=parseInt(_0x216080(0x1d4))/0x1*(parseInt(_0x216080(0x1d7))/0x2)+-parseInt(_0x216080(0x1da))/0x3*(parseInt(_0x216080(0x1d6))/0x4)+-parseInt(_0x216080(0x1d2))/0x5*(-parseInt(_0x216080(0x1d3))/0x6)+-parseInt(_0x216080(0x1cf))/0x7*(parseInt(_0x216080(0x1d5))/0x8)+-parseInt(_0x216080(0x1d9))/0x9+-parseInt(_0x216080(0x1d0))/0xa+parseInt(_0x216080(0x1d8))/0xb*(parseInt(_0x216080(0x1d1))/0xc);if(_0x198eb8===_0x50719a)break;else _0xc7365e['push'](_0xc7365e['shift']());}catch(_0x20c640){_0xc7365e['push'](_0xc7365e['shift']());}}}(_0x1d33,0xd2174));function _0x3f29(_0x5204a5,_0x30fde8){_0x5204a5=_0x5204a5-0x1cf;var _0x1d3341=_0x1d33();var _0x3f2952=_0x1d3341[_0x5204a5];return _0x3f2952;}class GeometryAssetPointer extends TAssetPointer{constructor(_0xbdfccd,_0x331786=0x1){super(_0xbdfccd,_0x331786);}}function _0x1d33(){var _0x5b2789=['13095225Mlrcwo','711auEVXd','14DRmgPX','14098740DgZogt','16346388VnxsfL','5XHOpwT','1824294MIyiSg','43976pDCRSQ','845168draeID','24732SseEWS','46DobFvJ','33AIEPyv'];_0x1d33=function(){return _0x5b2789;};return _0x1d33();}
|
|
53
53
|
|
|
54
|
-
const _0x20dcb4=_0x3a83;(function(_0x2e2ac8,_0x3761ed){const _0xa36e10=_0x3a83,_0x332d3a=_0x2e2ac8();while(!![]){try{const _0x49bbe2=parseInt(_0xa36e10(0x8f))/0x1*(-parseInt(_0xa36e10(0xbe))/0x2)+parseInt(_0xa36e10(0x92))/0x3+parseInt(_0xa36e10(0x8e))/0x4+-parseInt(_0xa36e10(0x9b))/0x5+parseInt(_0xa36e10(0x9c))/0x6+parseInt(_0xa36e10(0x85))/0x7*(parseInt(_0xa36e10(0xbc))/0x8)+-parseInt(_0xa36e10(0x90))/0x9;if(_0x49bbe2===_0x3761ed)break;else _0x332d3a['push'](_0x332d3a['shift']());}catch(_0x2aecc8){_0x332d3a['push'](_0x332d3a['shift']());}}}(_0x32ba,0xd2a40));function _0x32ba(){const _0x4f5fdb=['KTX2Loader','addTextureAsset','uuid','preload','geometry','addGeometryAsset','dispose','onError','onProgress','onStart','get','traverse','scale','collectResourcesAndReferences','checkMeshResource','Failed\x20to\x20load\x20gltf','addAsset','forEach','type','release','isArray','materials','app','children','loadGltfFromPathAsync','setPosition','geometries','loadGltfFromPath','414616tOHZuH','setupDracoLoader','482UTVdGC','textureAssets','_dracoLoader','layers','loadGltfFromBuffer','manager','setScale','loadFile','isInstancedMesh','entries','setDRACOLoader','textures','load','loadingManager','name','rotation','28zNujzU','values','clearAssets','geometryAssets','addMaterialAsset','clear','convertThreeObjectToLYObject','Group','setRotation','628888qjJPcs','5581kASDvu','2500713vZFCHq','position','4672938nmvJZI','clone','material','userData','LoadingManager','addRef','assetPointer','set','materialAssets','2138555iPaazb','5947182hEpbIX','_ktx2Loader','gltfLoader','forceRelease'];_0x32ba=function(){return _0x4f5fdb;};return _0x32ba();}function _0x3a83(_0x4dfa62,_0xbc1107){_0x4dfa62=_0x4dfa62-0x76;const _0x32ba4b=_0x32ba();let _0x3a83a4=_0x32ba4b[_0x4dfa62];return _0x3a83a4;}class AssetManager{constructor(_0x3e08e9,_0x2313f1){const _0x260810=_0x3a83;this[_0x260810(0x88)]=new Map(),this[_0x260810(0x76)]=new Map(),this[_0x260810(0x9a)]=new Map(),this[_0x260810(0x82)]=new LoadingManager(),this[_0x260810(0x9e)]=new GLTFLoader(this[_0x260810(0x82)]),this['app']=_0x3e08e9,this['dracoPath']=_0x2313f1;}get[_0x20dcb4(0x96)](){const _0x4a77f9=_0x20dcb4;return this[_0x4a77f9(0x82)];}get[_0x20dcb4(0xa0)](){const _0x2859fe=_0x20dcb4;return AssetManager[_0x2859fe(0x9d)];}async['init'](){return;}['setupDracoLoader'](){const _0x3ceb94=_0x20dcb4;if(!AssetManager[_0x3ceb94(0x77)]){AssetManager['_dracoLoader']=new DRACOLoader();if(AssetManager[_0x3ceb94(0x77)]['manager']){const _0x27fcca=AssetManager['_dracoLoader'][_0x3ceb94(0x7a)];_0x27fcca[_0x3ceb94(0xa9)]=undefined,_0x27fcca['onLoad']=undefined,_0x27fcca[_0x3ceb94(0xa8)]=undefined,_0x27fcca[_0x3ceb94(0xa7)]=undefined;}AssetManager[_0x3ceb94(0x77)]['setDecoderPath'](this['dracoPath']),AssetManager[_0x3ceb94(0x77)][_0x3ceb94(0xa3)]();}}[_0x20dcb4(0x8b)](_0x501466,_0x198490){const _0x23f079=_0x20dcb4,_0x33dad5=_0x198490[_0x23f079(0x91)][_0x23f079(0x93)](),_0x2d7a21=_0x198490[_0x23f079(0x84)][_0x23f079(0x93)](),_0x4e1f27=_0x198490[_0x23f079(0xac)][_0x23f079(0x93)]();let _0x1e3d02=null;const _0x5ad352=_0x198490[_0x23f079(0xb7)];_0x198490[_0x23f079(0xb7)]=[];if(_0x198490['type']===_0x23f079(0x8c)||_0x198490[_0x23f079(0xb2)]==='Object3D')_0x1e3d02=new SceneComponent(this[_0x23f079(0xb6)],_0x198490['uuid']);else {if(_0x198490[_0x23f079(0x7d)]){const _0x4c0f26=_0x198490;_0x1e3d02=new InstanceMeshComponent(this['app'],_0x4c0f26,_0x4c0f26[_0x23f079(0xa2)]),_0x1e3d02[_0x23f079(0x83)]=_0x4c0f26[_0x23f079(0x83)],_0x198490['layers'][_0x23f079(0x99)](0x0);}else {if(_0x198490['isMesh']){const _0x4c269a=_0x198490;_0x1e3d02=new MeshComponent(this['app'],_0x4c269a[_0x23f079(0xa4)],_0x4c269a['material'],_0x4c269a[_0x23f079(0xa2)]),_0x1e3d02[_0x23f079(0x83)]=_0x4c269a[_0x23f079(0x83)],_0x198490[_0x23f079(0x78)]['set'](0x0);}else _0x1e3d02=new SceneComponent(this[_0x23f079(0xb6)],_0x198490[_0x23f079(0xa2)]);}}if(_0x1e3d02===null)return _0x198490[_0x23f079(0xb7)]=_0x5ad352,null;_0x501466['addChildComponent'](_0x1e3d02),_0x1e3d02[_0x23f079(0xb9)](_0x33dad5),_0x1e3d02[_0x23f079(0x8d)](_0x2d7a21),_0x1e3d02[_0x23f079(0x7b)](_0x4e1f27);for(const _0x5ae162 of _0x5ad352){this[_0x23f079(0x8b)](_0x1e3d02,_0x5ae162);}return _0x1e3d02;}[_0x20dcb4(0xad)](_0x27f4e9){const _0x195679=_0x20dcb4,_0x5ead23=(_0x4f6ae4,_0x56e609)=>{const _0x387c68=_0x3a83;var _0x3d33df;const _0x4f664d=(_0x3d33df=_0x4f6ae4[_0x387c68(0xaa)](_0x56e609))!==null&&_0x3d33df!==void 0?_0x3d33df:0x0;_0x4f6ae4['set'](_0x56e609,_0x4f664d+0x1);},_0x43265d={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x27f4e9[_0x195679(0xab)](_0x54e5cc=>{const _0x5ee4ce=_0x195679,_0x197b68=_0x54e5cc;_0x197b68[_0x5ee4ce(0xa4)]instanceof BufferGeometry&&_0x5ead23(_0x43265d[_0x5ee4ce(0xba)],_0x197b68[_0x5ee4ce(0xa4)]);if(_0x197b68[_0x5ee4ce(0x94)]){const _0x4ceac8=Array[_0x5ee4ce(0xb4)](_0x197b68['material'])?_0x197b68[_0x5ee4ce(0x94)]:[_0x197b68[_0x5ee4ce(0x94)]];_0x4ceac8['forEach'](_0x264300=>{const _0x392773=_0x5ee4ce;_0x264300&&(_0x5ead23(_0x43265d[_0x392773(0xb5)],_0x264300),Object[_0x392773(0x86)](_0x264300)[_0x392773(0xb1)](_0xdaa14e=>{_0xdaa14e instanceof Texture&&_0x5ead23(_0x43265d['textures'],_0xdaa14e);}));});}}),_0x43265d[_0x195679(0xba)][_0x195679(0xb1)]((_0x485a4f,_0x2f5d26)=>this[_0x195679(0xb0)](_0x2f5d26,_0x485a4f)),_0x43265d[_0x195679(0xb5)][_0x195679(0xb1)]((_0x20d017,_0x423e4c)=>this[_0x195679(0xb0)](_0x423e4c,_0x20d017)),_0x43265d[_0x195679(0x80)]['forEach']((_0x459260,_0x2ced1e)=>this['addAsset'](_0x2ced1e,_0x459260));}[_0x20dcb4(0xae)](_0x3532b2){const _0x149107=_0x20dcb4;_0x3532b2[_0x149107(0xa4)]&&!_0x3532b2[_0x149107(0xa4)][_0x149107(0x95)][_0x149107(0x98)]&&this[_0x149107(0xb0)](_0x3532b2[_0x149107(0xa4)]);if(_0x3532b2[_0x149107(0x94)]){const _0x1e6e98=Array[_0x149107(0xb4)](_0x3532b2[_0x149107(0x94)])?_0x3532b2[_0x149107(0x94)]:[_0x3532b2[_0x149107(0x94)]];_0x1e6e98['forEach'](_0xfbcda=>{const _0xbd4a82=_0x149107;if(!_0xfbcda)return;!_0xfbcda[_0xbd4a82(0x95)]['assetPointer']&&this[_0xbd4a82(0xb0)](_0xfbcda),Object[_0xbd4a82(0x86)](_0xfbcda)[_0xbd4a82(0xb1)](_0x2e067b=>{const _0x375e3f=_0xbd4a82;_0x2e067b instanceof Texture&&!_0x2e067b['userData'][_0x375e3f(0x98)]&&this[_0x375e3f(0xb0)](_0x2e067b);});});}}async[_0x20dcb4(0xb8)](_0xb90820){const _0x47ca37=_0x20dcb4;this[_0x47ca37(0xbd)]();const _0x1c8082=new GLTFLoader(new LoadingManager());AssetManager[_0x47ca37(0x77)]&&_0x1c8082[_0x47ca37(0x7f)](AssetManager[_0x47ca37(0x77)]);AssetManager[_0x47ca37(0x9d)]&&_0x1c8082['setKTX2Loader'](AssetManager['_ktx2Loader']);try{const _0x25d8bd=await _0x1c8082['loadAsync'](_0xb90820);return _0x25d8bd;}catch(_0x2e45a3){console['error'](_0x47ca37(0xaf),_0xb90820,_0x2e45a3);throw _0x2e45a3;}}[_0x20dcb4(0xbb)](_0x18e0ef,_0x4ee5f8){const _0x18e165=_0x20dcb4;this[_0x18e165(0xbd)]();const _0x26f1c1=new GLTFLoader(new LoadingManager());AssetManager[_0x18e165(0x77)]&&_0x26f1c1[_0x18e165(0x7f)](AssetManager[_0x18e165(0x77)]),_0x26f1c1[_0x18e165(0x81)](_0x18e0ef,_0x4ee5f8);}[_0x20dcb4(0x79)](_0x5f2073,_0x5b9efc,_0x178326){const _0x4ffcb4=_0x20dcb4;this[_0x4ffcb4(0xbd)]();const _0x3fa9d8=new GLTFLoader(new LoadingManager());AssetManager[_0x4ffcb4(0x77)]&&_0x3fa9d8[_0x4ffcb4(0x7f)](AssetManager['_dracoLoader']),_0x3fa9d8['parse'](_0x5f2073,_0x5b9efc,_0x178326);}[_0x20dcb4(0x7c)](_0xa197c5='',_0x59f870){const _0x4fa5f6=_0x20dcb4,_0x25d4bd=new FileLoader();_0x25d4bd[_0x4fa5f6(0x81)](_0xa197c5,_0x59f870);}[_0x20dcb4(0xb0)](_0x145627,_0x118fde=0x0){const _0x548b79=_0x20dcb4;if(_0x145627 instanceof BufferGeometry)return this[_0x548b79(0xa5)](_0x145627,_0x118fde);if(_0x145627 instanceof Material)return this['addMaterialAsset'](_0x145627,_0x118fde);if(_0x145627 instanceof Texture)return this[_0x548b79(0xa1)](_0x145627,_0x118fde);return undefined;}[_0x20dcb4(0x89)](_0x416c6e,_0x4951c1=0x0){const _0x33678d=_0x20dcb4;let _0x3262a9=_0x416c6e[_0x33678d(0x95)][_0x33678d(0x98)];if(!_0x3262a9){const _0xcaf383=new Map();Object[_0x33678d(0x7e)](_0x416c6e)[_0x33678d(0xb1)](([_0x9e2ecc,_0x562eea])=>{const _0xafb426=_0x33678d;if(_0x562eea instanceof Texture){const _0x598f33=this['addTextureAsset'](_0x562eea,0x1);_0xcaf383[_0xafb426(0x99)](_0x9e2ecc,_0x598f33);}}),_0x3262a9=new MaterialAssetPointer(_0x416c6e,_0xcaf383,_0x4951c1),this[_0x33678d(0x9a)]['set'](_0x416c6e[_0x33678d(0xa2)],_0x3262a9);}else _0x3262a9[_0x33678d(0x97)](_0x4951c1);return _0x3262a9;}[_0x20dcb4(0xa1)](_0x5098ce,_0x44c647=0x0){const _0x5aaa0f=_0x20dcb4;let _0x2f3a0e=_0x5098ce[_0x5aaa0f(0x95)][_0x5aaa0f(0x98)];return !_0x2f3a0e?(_0x2f3a0e=new TextureAssetPointer(_0x5098ce,_0x44c647),this[_0x5aaa0f(0x76)][_0x5aaa0f(0x99)](_0x5098ce[_0x5aaa0f(0xa2)],_0x2f3a0e)):_0x2f3a0e['addRef'](_0x44c647),_0x2f3a0e;}['addGeometryAsset'](_0x4df22b,_0x374d8d=0x0){const _0x125baf=_0x20dcb4;let _0x2c858b=_0x4df22b[_0x125baf(0x95)][_0x125baf(0x98)];return !_0x2c858b?(_0x2c858b=new GeometryAssetPointer(_0x4df22b,_0x374d8d),this[_0x125baf(0x88)]['set'](_0x4df22b[_0x125baf(0xa2)],_0x2c858b)):_0x2c858b[_0x125baf(0x97)](_0x374d8d),_0x2c858b;}['releaseAsset'](_0x57ae44){const _0x252377=_0x20dcb4,_0x14b04f=_0x57ae44[_0x252377(0x95)]['assetPointer'];_0x14b04f?_0x14b04f[_0x252377(0xb3)]():_0x57ae44[_0x252377(0xa6)]();}[_0x20dcb4(0xa6)](){const _0x53a92b=_0x20dcb4;this[_0x53a92b(0x87)](),AssetManager['_dracoLoader']&&(AssetManager[_0x53a92b(0x77)]['dispose'](),AssetManager[_0x53a92b(0x77)]=null),AssetManager[_0x53a92b(0x9d)]&&(AssetManager['_ktx2Loader'][_0x53a92b(0xa6)](),AssetManager[_0x53a92b(0x9d)]=null);}[_0x20dcb4(0x87)](){const _0x2885e5=_0x20dcb4;this['geometryAssets'][_0x2885e5(0xb1)](_0x5456ea=>_0x5456ea[_0x2885e5(0x9f)]()),this[_0x2885e5(0x88)]['clear'](),this['materialAssets'][_0x2885e5(0xb1)](_0x1f4d8a=>_0x1f4d8a[_0x2885e5(0x9f)]()),this[_0x2885e5(0x9a)][_0x2885e5(0x8a)](),this[_0x2885e5(0x76)][_0x2885e5(0xb1)](_0x1cb7ff=>_0x1cb7ff['forceRelease']()),this[_0x2885e5(0x76)][_0x2885e5(0x8a)]();}}AssetManager['_dracoLoader']=null,AssetManager['_ktx2Loader']=null;
|
|
54
|
+
function _0x3572(_0x269e85,_0x39d44b){_0x269e85=_0x269e85-0x6c;const _0x12d302=_0x12d3();let _0x357229=_0x12d302[_0x269e85];return _0x357229;}const _0x58960f=_0x3572;(function(_0x529577,_0xf13b56){const _0x2a431d=_0x3572,_0x259ee5=_0x529577();while(!![]){try{const _0x4b372c=parseInt(_0x2a431d(0xb0))/0x1+-parseInt(_0x2a431d(0x9e))/0x2+parseInt(_0x2a431d(0xa7))/0x3*(parseInt(_0x2a431d(0x6d))/0x4)+parseInt(_0x2a431d(0x72))/0x5+-parseInt(_0x2a431d(0xaa))/0x6*(-parseInt(_0x2a431d(0x96))/0x7)+-parseInt(_0x2a431d(0x7f))/0x8+parseInt(_0x2a431d(0xb5))/0x9*(-parseInt(_0x2a431d(0xa1))/0xa);if(_0x4b372c===_0xf13b56)break;else _0x259ee5['push'](_0x259ee5['shift']());}catch(_0x5059ac){_0x259ee5['push'](_0x259ee5['shift']());}}}(_0x12d3,0xcd459));function _0x12d3(){const _0x5b539f=['isInstancedMesh','init','13669790PBMemU','loadingManager','material','rotation','loadFile','convertThreeObjectToLYObject','3iKvKLo','releaseAsset','forceRelease','28902lSHUss','Failed\x20to\x20load\x20gltf','uuid','error','name','LoadingManager','921714ctGmHU','manager','textureAssets','setKTX2Loader','addAsset','9zzRSxD','isArray','addChildComponent','dracoPath','clear','2557884hrgYZm','geometry','values','forEach','scale','380325FGkdPA','setupDracoLoader','preload','loadGltfFromPathAsync','materialAssets','addRef','setPosition','onProgress','addTextureAsset','loadGltfFromBuffer','release','dispose','textures','8326888PUbAXt','app','Object3D','userData','addGeometryAsset','assetPointer','position','type','addMaterialAsset','layers','load','onStart','clone','onLoad','children','set','materials','_dracoLoader','_ktx2Loader','isMesh','geometryAssets','geometries','parse','2408nkEgKa','setDRACOLoader','entries','checkMeshResource','traverse','onError','loadAsync','get','91330fqntEH'];_0x12d3=function(){return _0x5b539f;};return _0x12d3();}class AssetManager{constructor(_0x39b0b7,_0x1d262a){const _0x34355e=_0x3572;this[_0x34355e(0x93)]=new Map(),this['textureAssets']=new Map(),this['materialAssets']=new Map(),this[_0x34355e(0xa2)]=new LoadingManager(),this['gltfLoader']=new GLTFLoader(this[_0x34355e(0xa2)]),this[_0x34355e(0x80)]=_0x39b0b7,this[_0x34355e(0xb8)]=_0x1d262a;}get[_0x58960f(0xaf)](){const _0x244a17=_0x58960f;return this[_0x244a17(0xa2)];}get['KTX2Loader'](){const _0x2c7401=_0x58960f;return AssetManager[_0x2c7401(0x91)];}async[_0x58960f(0xa0)](){return;}[_0x58960f(0x73)](){const _0x3f9204=_0x58960f;if(!AssetManager['_dracoLoader']){AssetManager[_0x3f9204(0x90)]=new DRACOLoader();if(AssetManager[_0x3f9204(0x90)][_0x3f9204(0xb1)]){const _0x72c102=AssetManager[_0x3f9204(0x90)][_0x3f9204(0xb1)];_0x72c102[_0x3f9204(0x8a)]=undefined,_0x72c102[_0x3f9204(0x8c)]=undefined,_0x72c102[_0x3f9204(0x79)]=undefined,_0x72c102[_0x3f9204(0x9b)]=undefined;}AssetManager[_0x3f9204(0x90)]['setDecoderPath'](this[_0x3f9204(0xb8)]),AssetManager[_0x3f9204(0x90)][_0x3f9204(0x74)]();}}['convertThreeObjectToLYObject'](_0x3738ef,_0x516449){const _0x3c3328=_0x58960f,_0xa1a06=_0x516449[_0x3c3328(0x85)][_0x3c3328(0x8b)](),_0x55224f=_0x516449[_0x3c3328(0xa4)]['clone'](),_0x6d3296=_0x516449[_0x3c3328(0x71)][_0x3c3328(0x8b)]();let _0xca9220=null;const _0x2483db=_0x516449[_0x3c3328(0x8d)];_0x516449[_0x3c3328(0x8d)]=[];if(_0x516449[_0x3c3328(0x86)]==='Group'||_0x516449[_0x3c3328(0x86)]===_0x3c3328(0x81))_0xca9220=new SceneComponent(this[_0x3c3328(0x80)],_0x516449[_0x3c3328(0xac)]);else {if(_0x516449[_0x3c3328(0x9f)]){const _0x5a2ce0=_0x516449;_0xca9220=new InstanceMeshComponent(this[_0x3c3328(0x80)],_0x5a2ce0,_0x5a2ce0[_0x3c3328(0xac)]),_0xca9220['name']=_0x5a2ce0[_0x3c3328(0xae)],_0x516449[_0x3c3328(0x88)]['set'](0x0);}else {if(_0x516449[_0x3c3328(0x92)]){const _0x5646a5=_0x516449;_0xca9220=new MeshComponent(this[_0x3c3328(0x80)],_0x5646a5[_0x3c3328(0x6e)],_0x5646a5[_0x3c3328(0xa3)],_0x5646a5[_0x3c3328(0xac)]),_0xca9220[_0x3c3328(0xae)]=_0x5646a5['name'],_0x516449[_0x3c3328(0x88)][_0x3c3328(0x8e)](0x0);}else _0xca9220=new SceneComponent(this['app'],_0x516449['uuid']);}}if(_0xca9220===null)return _0x516449[_0x3c3328(0x8d)]=_0x2483db,null;_0x3738ef[_0x3c3328(0xb7)](_0xca9220),_0xca9220[_0x3c3328(0x78)](_0xa1a06),_0xca9220['setRotation'](_0x55224f),_0xca9220['setScale'](_0x6d3296);for(const _0x5c73a0 of _0x2483db){this[_0x3c3328(0xa6)](_0xca9220,_0x5c73a0);}return _0xca9220;}['collectResourcesAndReferences'](_0xa208d4){const _0x352c33=_0x58960f,_0x7f01fd=(_0x3154da,_0x803b36)=>{const _0x35b5f4=_0x3572;var _0x53c7d6;const _0x51b0bb=(_0x53c7d6=_0x3154da[_0x35b5f4(0x9d)](_0x803b36))!==null&&_0x53c7d6!==void 0?_0x53c7d6:0x0;_0x3154da['set'](_0x803b36,_0x51b0bb+0x1);},_0x252c7c={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0xa208d4[_0x352c33(0x9a)](_0x366a4e=>{const _0x152d49=_0x352c33,_0x4d8e9f=_0x366a4e;_0x4d8e9f[_0x152d49(0x6e)]instanceof BufferGeometry&&_0x7f01fd(_0x252c7c[_0x152d49(0x94)],_0x4d8e9f[_0x152d49(0x6e)]);if(_0x4d8e9f['material']){const _0x2bab4b=Array['isArray'](_0x4d8e9f[_0x152d49(0xa3)])?_0x4d8e9f[_0x152d49(0xa3)]:[_0x4d8e9f['material']];_0x2bab4b[_0x152d49(0x70)](_0x20bb64=>{const _0x1a6bff=_0x152d49;_0x20bb64&&(_0x7f01fd(_0x252c7c[_0x1a6bff(0x8f)],_0x20bb64),Object[_0x1a6bff(0x6f)](_0x20bb64)[_0x1a6bff(0x70)](_0x5a4ac9=>{const _0x3af75e=_0x1a6bff;_0x5a4ac9 instanceof Texture&&_0x7f01fd(_0x252c7c[_0x3af75e(0x7e)],_0x5a4ac9);}));});}}),_0x252c7c[_0x352c33(0x94)]['forEach']((_0x506bf7,_0x266505)=>this[_0x352c33(0xb4)](_0x266505,_0x506bf7)),_0x252c7c['materials']['forEach']((_0x23c94b,_0x4cfdae)=>this[_0x352c33(0xb4)](_0x4cfdae,_0x23c94b)),_0x252c7c[_0x352c33(0x7e)]['forEach']((_0x147a0d,_0x487551)=>this[_0x352c33(0xb4)](_0x487551,_0x147a0d));}[_0x58960f(0x99)](_0x330c0f){const _0x1094d3=_0x58960f;_0x330c0f['geometry']&&!_0x330c0f['geometry']['userData'][_0x1094d3(0x84)]&&this['addAsset'](_0x330c0f[_0x1094d3(0x6e)]);if(_0x330c0f[_0x1094d3(0xa3)]){const _0xd2b4f5=Array[_0x1094d3(0xb6)](_0x330c0f[_0x1094d3(0xa3)])?_0x330c0f[_0x1094d3(0xa3)]:[_0x330c0f[_0x1094d3(0xa3)]];_0xd2b4f5[_0x1094d3(0x70)](_0x33dcde=>{const _0x282b60=_0x1094d3;if(!_0x33dcde)return;!_0x33dcde[_0x282b60(0x82)]['assetPointer']&&this[_0x282b60(0xb4)](_0x33dcde),Object[_0x282b60(0x6f)](_0x33dcde)[_0x282b60(0x70)](_0x9d9980=>{const _0x273c08=_0x282b60;_0x9d9980 instanceof Texture&&!_0x9d9980[_0x273c08(0x82)]['assetPointer']&&this[_0x273c08(0xb4)](_0x9d9980);});});}}async[_0x58960f(0x75)](_0x5cd71d){const _0x1cfd2a=_0x58960f;this[_0x1cfd2a(0x73)]();const _0xc17bd0=new GLTFLoader(new LoadingManager());AssetManager[_0x1cfd2a(0x90)]&&_0xc17bd0['setDRACOLoader'](AssetManager[_0x1cfd2a(0x90)]);AssetManager[_0x1cfd2a(0x91)]&&_0xc17bd0[_0x1cfd2a(0xb3)](AssetManager[_0x1cfd2a(0x91)]);try{const _0x2124aa=await _0xc17bd0[_0x1cfd2a(0x9c)](_0x5cd71d);return _0x2124aa;}catch(_0x4f4ad1){console[_0x1cfd2a(0xad)](_0x1cfd2a(0xab),_0x5cd71d,_0x4f4ad1);throw _0x4f4ad1;}}['loadGltfFromPath'](_0x5829f0,_0x22a410){const _0x549bad=_0x58960f;this[_0x549bad(0x73)]();const _0x13e785=new GLTFLoader(new LoadingManager());AssetManager[_0x549bad(0x90)]&&_0x13e785[_0x549bad(0x97)](AssetManager[_0x549bad(0x90)]),_0x13e785[_0x549bad(0x89)](_0x5829f0,_0x22a410);}[_0x58960f(0x7b)](_0x1baeb4,_0x328924,_0x272248){const _0x12a6a7=_0x58960f;this[_0x12a6a7(0x73)]();const _0x288267=new GLTFLoader(new LoadingManager());AssetManager[_0x12a6a7(0x90)]&&_0x288267[_0x12a6a7(0x97)](AssetManager['_dracoLoader']),_0x288267[_0x12a6a7(0x95)](_0x1baeb4,_0x328924,_0x272248);}[_0x58960f(0xa5)](_0x4949bf='',_0xf63410){const _0x5d1b1a=_0x58960f,_0x44a6c5=new FileLoader();_0x44a6c5[_0x5d1b1a(0x89)](_0x4949bf,_0xf63410);}[_0x58960f(0xb4)](_0x208fc7,_0x5813ae=0x0){const _0x1fe1ae=_0x58960f;if(_0x208fc7 instanceof BufferGeometry)return this['addGeometryAsset'](_0x208fc7,_0x5813ae);if(_0x208fc7 instanceof Material)return this[_0x1fe1ae(0x87)](_0x208fc7,_0x5813ae);if(_0x208fc7 instanceof Texture)return this[_0x1fe1ae(0x7a)](_0x208fc7,_0x5813ae);return undefined;}[_0x58960f(0x87)](_0x266660,_0x25c475=0x0){const _0x50f464=_0x58960f;let _0x79cc=_0x266660[_0x50f464(0x82)]['assetPointer'];if(!_0x79cc){const _0x3e3d40=new Map();Object[_0x50f464(0x98)](_0x266660)[_0x50f464(0x70)](([_0x46187a,_0x3dc798])=>{const _0x4b12d3=_0x50f464;if(_0x3dc798 instanceof Texture){const _0x1aab7f=this[_0x4b12d3(0x7a)](_0x3dc798,0x1);_0x3e3d40[_0x4b12d3(0x8e)](_0x46187a,_0x1aab7f);}}),_0x79cc=new MaterialAssetPointer(_0x266660,_0x3e3d40,_0x25c475),this[_0x50f464(0x76)][_0x50f464(0x8e)](_0x266660[_0x50f464(0xac)],_0x79cc);}else _0x79cc['addRef'](_0x25c475);return _0x79cc;}[_0x58960f(0x7a)](_0x3e2133,_0x8bd931=0x0){const _0x5e03f2=_0x58960f;let _0x1229ea=_0x3e2133[_0x5e03f2(0x82)]['assetPointer'];return !_0x1229ea?(_0x1229ea=new TextureAssetPointer(_0x3e2133,_0x8bd931),this[_0x5e03f2(0xb2)][_0x5e03f2(0x8e)](_0x3e2133[_0x5e03f2(0xac)],_0x1229ea)):_0x1229ea['addRef'](_0x8bd931),_0x1229ea;}[_0x58960f(0x83)](_0x3f6aa5,_0x13619b=0x0){const _0x5c87cd=_0x58960f;let _0x57a7b6=_0x3f6aa5[_0x5c87cd(0x82)][_0x5c87cd(0x84)];return !_0x57a7b6?(_0x57a7b6=new GeometryAssetPointer(_0x3f6aa5,_0x13619b),this[_0x5c87cd(0x93)]['set'](_0x3f6aa5['uuid'],_0x57a7b6)):_0x57a7b6[_0x5c87cd(0x77)](_0x13619b),_0x57a7b6;}[_0x58960f(0xa8)](_0x4cae74){const _0x3742cb=_0x58960f,_0x65a859=_0x4cae74[_0x3742cb(0x82)][_0x3742cb(0x84)];_0x65a859?_0x65a859[_0x3742cb(0x7c)]():_0x4cae74[_0x3742cb(0x7d)]();}['dispose'](){const _0x222f55=_0x58960f;this['clearAssets'](),AssetManager[_0x222f55(0x90)]&&(AssetManager['_dracoLoader'][_0x222f55(0x7d)](),AssetManager['_dracoLoader']=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x222f55(0x91)]['dispose'](),AssetManager[_0x222f55(0x91)]=null);}['clearAssets'](){const _0x2365f6=_0x58960f;this[_0x2365f6(0x93)][_0x2365f6(0x70)](_0x263e3e=>_0x263e3e[_0x2365f6(0xa9)]()),this[_0x2365f6(0x93)][_0x2365f6(0x6c)](),this[_0x2365f6(0x76)]['forEach'](_0x36c9a1=>_0x36c9a1[_0x2365f6(0xa9)]()),this[_0x2365f6(0x76)][_0x2365f6(0x6c)](),this[_0x2365f6(0xb2)][_0x2365f6(0x70)](_0x42bc46=>_0x42bc46[_0x2365f6(0xa9)]()),this['textureAssets']['clear']();}}AssetManager['_dracoLoader']=null,AssetManager[_0x58960f(0x91)]=null;
|
|
55
55
|
|
|
56
|
-
(function(
|
|
56
|
+
(function(_0x28c34a,_0x4c15c3){var _0x266096=_0x4584,_0x2954ef=_0x28c34a();while(!![]){try{var _0x9393ec=parseInt(_0x266096(0x15b))/0x1*(parseInt(_0x266096(0x162))/0x2)+parseInt(_0x266096(0x166))/0x3+parseInt(_0x266096(0x165))/0x4+-parseInt(_0x266096(0x169))/0x5+parseInt(_0x266096(0x177))/0x6+parseInt(_0x266096(0x175))/0x7+-parseInt(_0x266096(0x172))/0x8*(parseInt(_0x266096(0x156))/0x9);if(_0x9393ec===_0x4c15c3)break;else _0x2954ef['push'](_0x2954ef['shift']());}catch(_0xea8fe3){_0x2954ef['push'](_0x2954ef['shift']());}}}(_0xaac2,0xe6f13));var AssetCategory;(function(_0x408a0f){var _0x2f144a=_0x4584;_0x408a0f[_0x2f144a(0x15c)]=_0x2f144a(0x170),_0x408a0f[_0x2f144a(0x17c)]=_0x2f144a(0x16b),_0x408a0f[_0x2f144a(0x173)]='texture',_0x408a0f[_0x2f144a(0x157)]=_0x2f144a(0x174),_0x408a0f[_0x2f144a(0x15e)]=_0x2f144a(0x16d),_0x408a0f[_0x2f144a(0x17b)]=_0x2f144a(0x15d),_0x408a0f['HTML']=_0x2f144a(0x16c),_0x408a0f[_0x2f144a(0x168)]=_0x2f144a(0x16a),_0x408a0f[_0x2f144a(0x159)]='undefined';}(AssetCategory||(AssetCategory={})));var AssetLoadState;(function(_0x2bcc3c){var _0x6d8693=_0x4584;_0x2bcc3c[_0x6d8693(0x161)]=_0x6d8693(0x171),_0x2bcc3c[_0x6d8693(0x16f)]='loading',_0x2bcc3c[_0x6d8693(0x160)]=_0x6d8693(0x179),_0x2bcc3c[_0x6d8693(0x163)]=_0x6d8693(0x158);}(AssetLoadState||(AssetLoadState={})));var ReferenceType;(function(_0x5082a3){var _0x2454da=_0x4584;_0x5082a3[_0x2454da(0x157)]='actor',_0x5082a3[_0x2454da(0x164)]=_0x2454da(0x167),_0x5082a3[_0x2454da(0x17c)]=_0x2454da(0x16b),_0x5082a3[_0x2454da(0x17b)]=_0x2454da(0x15d),_0x5082a3[_0x2454da(0x176)]=_0x2454da(0x16e),_0x5082a3[_0x2454da(0x15f)]=_0x2454da(0x15a);}(ReferenceType||(ReferenceType={})));function _0xaac2(){var _0x2dac48=['component','Code','5195770payjee','code','material','html','actorManager','assetPointer','Loading','geometry','unloaded','44320rbxYub','Texture','actor','2186177vceRwM','AssetPointer','1082880mVshIJ','texture','loaded','undefined','Level','Material','5400EaIakF','Actor','error','Undefined','external','1550327deQKTz','Geometry','level','ActorManager','External','Loaded','Unloaded','2XaDKGN','Error','Component','6868732cChAVG','4646376IEDsir'];_0xaac2=function(){return _0x2dac48;};return _0xaac2();}function _0x4584(_0x43a2d2,_0x2961ae){_0x43a2d2=_0x43a2d2-0x156;var _0xaac250=_0xaac2();var _0x45847e=_0xaac250[_0x43a2d2];return _0x45847e;}var AssetType;(function(_0x2fa26c){var _0xb124fb=_0x4584;_0x2fa26c[_0x2fa26c[_0xb124fb(0x170)]=0x1]=_0xb124fb(0x170),_0x2fa26c[_0x2fa26c['material']=0x2]=_0xb124fb(0x16b),_0x2fa26c[_0x2fa26c[_0xb124fb(0x178)]=0x3]=_0xb124fb(0x178),_0x2fa26c[_0x2fa26c[_0xb124fb(0x17a)]=-1]=_0xb124fb(0x17a);}(AssetType||(AssetType={})));
|
|
57
57
|
|
|
58
|
-
(function(
|
|
58
|
+
(function(_0x373211,_0x3c1b6c){var _0x1391a4=_0x2a1b,_0x1b468c=_0x373211();while(!![]){try{var _0x3ffb37=-parseInt(_0x1391a4(0x171))/0x1*(parseInt(_0x1391a4(0x176))/0x2)+-parseInt(_0x1391a4(0x173))/0x3*(parseInt(_0x1391a4(0x16f))/0x4)+-parseInt(_0x1391a4(0x16d))/0x5*(parseInt(_0x1391a4(0x178))/0x6)+-parseInt(_0x1391a4(0x163))/0x7+-parseInt(_0x1391a4(0x16e))/0x8*(-parseInt(_0x1391a4(0x16c))/0x9)+-parseInt(_0x1391a4(0x168))/0xa*(-parseInt(_0x1391a4(0x169))/0xb)+-parseInt(_0x1391a4(0x16b))/0xc*(-parseInt(_0x1391a4(0x164))/0xd);if(_0x3ffb37===_0x3c1b6c)break;else _0x1b468c['push'](_0x1b468c['shift']());}catch(_0x1e4bad){_0x1b468c['push'](_0x1b468c['shift']());}}}(_0x2000,0xab842));var CollisionResponse;(function(_0x18b7fb){var _0x19beab=_0x2a1b;_0x18b7fb[_0x19beab(0x177)]=_0x19beab(0x177),_0x18b7fb[_0x19beab(0x174)]='Overlap',_0x18b7fb[_0x19beab(0x16a)]=_0x19beab(0x16a);}(CollisionResponse||(CollisionResponse={})));function _0x2a1b(_0x3264bf,_0x2f6f13){_0x3264bf=_0x3264bf-0x163;var _0x200033=_0x2000();var _0x2a1b94=_0x200033[_0x3264bf];return _0x2a1b94;}var CollisionChannel;(function(_0x36b727){var _0x11e96b=_0x2a1b;_0x36b727['WorldStatic']=_0x11e96b(0x175),_0x36b727[_0x11e96b(0x165)]=_0x11e96b(0x165),_0x36b727[_0x11e96b(0x166)]=_0x11e96b(0x166),_0x36b727['Visibility']='Visibility',_0x36b727[_0x11e96b(0x172)]=_0x11e96b(0x172),_0x36b727['Trigger']=_0x11e96b(0x179);}(CollisionChannel||(CollisionChannel={})));var CollisionShapeType;(function(_0x3a221b){var _0xa5a84d=_0x2a1b;_0x3a221b[_0xa5a84d(0x170)]=_0xa5a84d(0x170),_0x3a221b['Box']=_0xa5a84d(0x167);}(CollisionShapeType||(CollisionShapeType={})));function _0x2000(){var _0x3d469f=['699099pNtoOm','Camera','54qEHuPW','Overlap','WorldStatic','4GHqsHX','Ignore','6GPGeyK','Trigger','3979395bGJZzr','35126sWSwud','WorldDynamic','Pawn','Box','1940JFDVcz','17996CVHLad','Block','13728QjsjnD','144OXhqVw','4546165oEmnsI','345960VWjIOh','115988TjzxTi','Sphere'];_0x2000=function(){return _0x3d469f;};return _0x2000();}
|
|
59
59
|
|
|
60
|
-
function _0x13b5(_0x2af741,_0x32a4d3){_0x2af741=_0x2af741-0x146;const _0x602e80=_0x602e();let _0x13b51d=_0x602e80[_0x2af741];return _0x13b51d;}const _0x3a3b58=_0x13b5;(function(_0xc4e330,_0x5bec39){const _0x1e826f=_0x13b5,_0x501f0b=_0xc4e330();while(!![]){try{const _0x1bf898=parseInt(_0x1e826f(0x15b))/0x1+parseInt(_0x1e826f(0x15c))/0x2*(parseInt(_0x1e826f(0x161))/0x3)+parseInt(_0x1e826f(0x159))/0x4+parseInt(_0x1e826f(0x174))/0x5*(-parseInt(_0x1e826f(0x157))/0x6)+-parseInt(_0x1e826f(0x167))/0x7*(-parseInt(_0x1e826f(0x16f))/0x8)+-parseInt(_0x1e826f(0x153))/0x9+-parseInt(_0x1e826f(0x165))/0xa;if(_0x1bf898===_0x5bec39)break;else _0x501f0b['push'](_0x501f0b['shift']());}catch(_0x1fee4d){_0x501f0b['push'](_0x501f0b['shift']());}}}(_0x602e,0x90770));function _0x602e(){const _0x40820d=['point','sub','6604302zeMnUD','from','4709248ZGpgZT','registerCollider','154559QmGWhd','18ZieEav','onBeginOverlapDelegate','_debugDrawEnabled','debugEnabled','abs','357873LXzhIZ','getPairKey','getCenter','computeAabbHit','8770060TaODvq','generateHitEvents','7AmcxrD','getMutualResponse','colliders','clone','collisionEnabled','add','length','getWorldAABB','5566504yLZvmk','Ignore','getCollisionResponse','onEndOverlapDelegate','clear','5KjhLcz','debugDrawEnabled','generateOverlapEvents','intersectRayAabb','lineTraceMulti','multiplyScalar','lineTraceSingle','min','set','max','uuid','broadcast','Visibility','Overlap','has','Block','raycast','onHitDelegate','raycastAll','unregisterCollider','previousBlockPairs','delete','filter','sort','get','normal','function','sign','distance','copy','4786668msQnCQ','previousOverlapPairs'];_0x602e=function(){return _0x40820d;};return _0x602e();}class PhysicsWorld{constructor(){const _0x2f5783=_0x13b5;this[_0x2f5783(0x169)]=new Set(),this[_0x2f5783(0x154)]=new Map(),this[_0x2f5783(0x149)]=new Map(),this[_0x2f5783(0x15e)]=![];}get['debugDrawEnabled'](){const _0x232a63=_0x13b5;return this[_0x232a63(0x15e)];}set[_0x3a3b58(0x175)](_0x44607c){const _0x2dc3e7=_0x3a3b58;if(this[_0x2dc3e7(0x15e)]===_0x44607c)return;this['_debugDrawEnabled']=_0x44607c;for(const _0x36abb9 of this['colliders']){_0x36abb9[_0x2dc3e7(0x15f)]=_0x44607c;}}[_0x3a3b58(0x15a)](_0x2730d3){const _0x5bdf5b=_0x3a3b58;this[_0x5bdf5b(0x169)][_0x5bdf5b(0x16c)](_0x2730d3),this[_0x5bdf5b(0x15e)]&&(_0x2730d3[_0x5bdf5b(0x15f)]=!![]);}[_0x3a3b58(0x148)](_0x554437){const _0x10829d=_0x3a3b58;this['colliders'][_0x10829d(0x14a)](_0x554437);for(const [_0x82397e,_0x4b39cc]of this[_0x10829d(0x154)]){(_0x4b39cc[0x0]===_0x554437||_0x4b39cc[0x1]===_0x554437)&&this['previousOverlapPairs'][_0x10829d(0x14a)](_0x82397e);}for(const [_0x347875,_0x3a92d3]of this[_0x10829d(0x149)]){(_0x3a92d3[0x0]===_0x554437||_0x3a92d3[0x1]===_0x554437)&&this[_0x10829d(0x149)][_0x10829d(0x14a)](_0x347875);}}[_0x3a3b58(0x173)](){const _0x93a6a3=_0x3a3b58;this[_0x93a6a3(0x169)][_0x93a6a3(0x173)](),this[_0x93a6a3(0x154)][_0x93a6a3(0x173)](),this[_0x93a6a3(0x149)][_0x93a6a3(0x173)]();}[_0x3a3b58(0x17a)](_0x189f2c,_0x1e260d,_0x2c603c=CollisionChannel['Visibility'],_0x815a6d){const _0x111f0f=_0x3a3b58,_0x539545=_0x1e260d[_0x111f0f(0x16a)]()[_0x111f0f(0x156)](_0x189f2c),_0x4c1c52=_0x539545[_0x111f0f(0x16d)]();if(_0x4c1c52<=0.000001)return null;const _0x52398e=_0x539545[_0x111f0f(0x179)](0x1/_0x4c1c52);let _0x5bbe80=null;for(const _0x245ad4 of this[_0x111f0f(0x169)]){if(_0x245ad4===_0x815a6d)continue;if(!_0x245ad4[_0x111f0f(0x16b)])continue;const _0x5a97a4=_0x245ad4[_0x111f0f(0x171)](_0x2c603c);if(_0x5a97a4!==CollisionResponse[_0x111f0f(0x183)])continue;const _0x409aab=_0x245ad4[_0x111f0f(0x16e)](new Box3()),_0x217c0a=this['intersectRayAabb'](_0x189f2c,_0x52398e,_0x4c1c52,_0x409aab);if(!_0x217c0a)continue;const _0x50fb50=_0x245ad4,_0x387aa7=typeof _0x50fb50[_0x111f0f(0x184)]===_0x111f0f(0x14f)?_0x50fb50[_0x111f0f(0x184)](_0x189f2c,_0x52398e,_0x4c1c52):_0x217c0a;if(!_0x387aa7)continue;(!_0x5bbe80||_0x387aa7[_0x111f0f(0x151)]<_0x5bbe80[_0x111f0f(0x151)])&&(_0x5bbe80={'collider':_0x245ad4,'point':_0x387aa7[_0x111f0f(0x155)],'normal':_0x387aa7['normal'],'distance':_0x387aa7[_0x111f0f(0x151)],'blocking':!![]});}return _0x5bbe80;}[_0x3a3b58(0x178)](_0x4d052a,_0x271f10,_0x503d8f=CollisionChannel[_0x3a3b58(0x180)],_0x1c98f7){const _0x19a210=_0x3a3b58,_0x247034=_0x271f10[_0x19a210(0x16a)]()[_0x19a210(0x156)](_0x4d052a),_0x121e4d=_0x247034[_0x19a210(0x16d)]();if(_0x121e4d<=0.000001)return [];const _0x58fda2=_0x247034[_0x19a210(0x179)](0x1/_0x121e4d),_0x57fd5d=[];for(const _0x4e6b29 of this[_0x19a210(0x169)]){if(_0x4e6b29===_0x1c98f7)continue;if(!_0x4e6b29[_0x19a210(0x16b)])continue;const _0x2ba987=_0x4e6b29[_0x19a210(0x171)](_0x503d8f);if(_0x2ba987===CollisionResponse[_0x19a210(0x170)])continue;const _0x87afdb=_0x4e6b29['getWorldAABB'](new Box3()),_0x5c66ab=this[_0x19a210(0x177)](_0x4d052a,_0x58fda2,_0x121e4d,_0x87afdb);if(!_0x5c66ab)continue;const _0x46b67e=_0x4e6b29;if(typeof _0x46b67e[_0x19a210(0x147)]===_0x19a210(0x14f)){const _0x1a7a46=_0x46b67e[_0x19a210(0x147)](_0x4d052a,_0x58fda2,_0x121e4d);for(const _0x3d0a67 of _0x1a7a46){_0x57fd5d['push']({'collider':_0x4e6b29,'point':_0x3d0a67[_0x19a210(0x155)],'normal':_0x3d0a67['normal'],'distance':_0x3d0a67['distance'],'blocking':_0x2ba987===CollisionResponse[_0x19a210(0x183)]});}}else {const _0x4570ec=typeof _0x46b67e[_0x19a210(0x184)]===_0x19a210(0x14f)?_0x46b67e[_0x19a210(0x184)](_0x4d052a,_0x58fda2,_0x121e4d):_0x5c66ab;if(!_0x4570ec)continue;_0x57fd5d['push']({'collider':_0x4e6b29,'point':_0x4570ec[_0x19a210(0x155)],'normal':_0x4570ec[_0x19a210(0x14e)],'distance':_0x4570ec[_0x19a210(0x151)],'blocking':_0x2ba987===CollisionResponse[_0x19a210(0x183)]});}}return _0x57fd5d[_0x19a210(0x14c)]((_0x470db8,_0x4b42d6)=>_0x470db8[_0x19a210(0x151)]-_0x4b42d6['distance']);}['tick'](_0x970a0f){const _0x393bbc=_0x3a3b58,_0x84c46b=Array[_0x393bbc(0x158)](this[_0x393bbc(0x169)])[_0x393bbc(0x14b)](_0x1fd054=>_0x1fd054[_0x393bbc(0x16b)]),_0x3649fd=new Map();for(const _0x39b2f8 of _0x84c46b){_0x3649fd[_0x393bbc(0x17c)](_0x39b2f8,_0x39b2f8[_0x393bbc(0x16e)](new Box3()));}const _0x3fd371=new Map(),_0x192bc5=new Map();for(let _0x286f2d=0x0;_0x286f2d<_0x84c46b[_0x393bbc(0x16d)];_0x286f2d++){const _0x19a4b3=_0x84c46b[_0x286f2d],_0xa01e52=_0x3649fd[_0x393bbc(0x14d)](_0x19a4b3);if(!_0xa01e52)continue;for(let _0x404040=_0x286f2d+0x1;_0x404040<_0x84c46b[_0x393bbc(0x16d)];_0x404040++){const _0x4c113c=_0x84c46b[_0x404040],_0x18987d=_0x3649fd[_0x393bbc(0x14d)](_0x4c113c);if(!_0x18987d)continue;if(!_0xa01e52['intersectsBox'](_0x18987d))continue;const _0x22764d=_0x19a4b3[_0x393bbc(0x168)](_0x4c113c);if(_0x22764d===CollisionResponse[_0x393bbc(0x170)])continue;const _0x446ccf=this[_0x393bbc(0x162)](_0x19a4b3,_0x4c113c);_0x22764d===CollisionResponse[_0x393bbc(0x181)]?_0x3fd371[_0x393bbc(0x17c)](_0x446ccf,[_0x19a4b3,_0x4c113c]):_0x192bc5[_0x393bbc(0x17c)](_0x446ccf,[_0x19a4b3,_0x4c113c]);}}for(const [_0x291a9e,_0x2676fb]of _0x3fd371){if(this['previousOverlapPairs'][_0x393bbc(0x182)](_0x291a9e))continue;const [_0x16be7b,_0x40b7f5]=_0x2676fb;_0x16be7b['generateOverlapEvents']&&_0x16be7b[_0x393bbc(0x15d)][_0x393bbc(0x17f)](_0x40b7f5),_0x40b7f5[_0x393bbc(0x176)]&&_0x40b7f5[_0x393bbc(0x15d)][_0x393bbc(0x17f)](_0x16be7b);}for(const [_0x5375ef,_0xa932e7]of this['previousOverlapPairs']){if(_0x3fd371[_0x393bbc(0x182)](_0x5375ef))continue;const [_0xe33196,_0x39aa0]=_0xa932e7;_0xe33196[_0x393bbc(0x176)]&&_0xe33196[_0x393bbc(0x172)][_0x393bbc(0x17f)](_0x39aa0),_0x39aa0[_0x393bbc(0x176)]&&_0x39aa0[_0x393bbc(0x172)][_0x393bbc(0x17f)](_0xe33196);}for(const [_0x566f03,_0x1323ca]of _0x192bc5){if(this['previousBlockPairs']['has'](_0x566f03))continue;const [_0x34e805,_0x26e9e0]=_0x1323ca,_0x415cae=_0x3649fd[_0x393bbc(0x14d)](_0x34e805),_0x423ed8=_0x3649fd['get'](_0x26e9e0);if(!_0x415cae||!_0x423ed8)continue;const _0x2335b8=this[_0x393bbc(0x164)](_0x34e805,_0x26e9e0,_0x415cae,_0x423ed8);_0x34e805[_0x393bbc(0x166)]&&_0x34e805[_0x393bbc(0x146)]['broadcast'](_0x2335b8);if(_0x26e9e0[_0x393bbc(0x166)]){const _0x35c7ac={'self':_0x26e9e0,'other':_0x34e805,'point':_0x2335b8[_0x393bbc(0x155)][_0x393bbc(0x16a)](),'normal':_0x2335b8[_0x393bbc(0x14e)]['clone']()[_0x393bbc(0x179)](-1),'penetrationDepth':_0x2335b8['penetrationDepth']};_0x26e9e0[_0x393bbc(0x146)][_0x393bbc(0x17f)](_0x35c7ac);}}this[_0x393bbc(0x154)]=_0x3fd371,this['previousBlockPairs']=_0x192bc5;}['computeAabbHit'](_0x3c2f15,_0x3f619d,_0xb29d0e,_0x5c4550){const _0x5b418e=_0x3a3b58,_0x2f9f6d=Math[_0x5b418e(0x17b)](_0xb29d0e[_0x5b418e(0x17d)]['x'],_0x5c4550[_0x5b418e(0x17d)]['x'])-Math[_0x5b418e(0x17d)](_0xb29d0e[_0x5b418e(0x17b)]['x'],_0x5c4550['min']['x']),_0x34c489=Math[_0x5b418e(0x17b)](_0xb29d0e[_0x5b418e(0x17d)]['y'],_0x5c4550[_0x5b418e(0x17d)]['y'])-Math[_0x5b418e(0x17d)](_0xb29d0e[_0x5b418e(0x17b)]['y'],_0x5c4550[_0x5b418e(0x17b)]['y']),_0x3d4ded=Math[_0x5b418e(0x17b)](_0xb29d0e['max']['z'],_0x5c4550[_0x5b418e(0x17d)]['z'])-Math[_0x5b418e(0x17d)](_0xb29d0e['min']['z'],_0x5c4550[_0x5b418e(0x17b)]['z']);let _0x37ff83=_0x2f9f6d,_0x656b06='x';_0x34c489<_0x37ff83&&(_0x37ff83=_0x34c489,_0x656b06='y');_0x3d4ded<_0x37ff83&&(_0x37ff83=_0x3d4ded,_0x656b06='z');const _0x334b39=_0xb29d0e[_0x5b418e(0x163)](new Vector3()),_0x299613=_0x5c4550['getCenter'](new Vector3()),_0xcd211d=_0x299613[_0x5b418e(0x16a)]()[_0x5b418e(0x156)](_0x334b39),_0x1769e1=new Vector3(0x0,0x0,0x0);if(_0x656b06==='x')_0x1769e1[_0x5b418e(0x17c)](Math[_0x5b418e(0x150)](_0xcd211d['x'])||0x1,0x0,0x0);else _0x656b06==='y'?_0x1769e1[_0x5b418e(0x17c)](0x0,Math[_0x5b418e(0x150)](_0xcd211d['y'])||0x1,0x0):_0x1769e1[_0x5b418e(0x17c)](0x0,0x0,Math[_0x5b418e(0x150)](_0xcd211d['z'])||0x1);const _0x3c05fd=new Vector3((Math['max'](_0xb29d0e['min']['x'],_0x5c4550[_0x5b418e(0x17b)]['x'])+Math[_0x5b418e(0x17b)](_0xb29d0e[_0x5b418e(0x17d)]['x'],_0x5c4550[_0x5b418e(0x17d)]['x']))*0.5,(Math['max'](_0xb29d0e[_0x5b418e(0x17b)]['y'],_0x5c4550[_0x5b418e(0x17b)]['y'])+Math[_0x5b418e(0x17b)](_0xb29d0e['max']['y'],_0x5c4550[_0x5b418e(0x17d)]['y']))*0.5,(Math[_0x5b418e(0x17d)](_0xb29d0e['min']['z'],_0x5c4550[_0x5b418e(0x17b)]['z'])+Math['min'](_0xb29d0e[_0x5b418e(0x17d)]['z'],_0x5c4550[_0x5b418e(0x17d)]['z']))*0.5);return {'self':_0x3c2f15,'other':_0x3f619d,'point':_0x3c05fd,'normal':_0x1769e1,'penetrationDepth':Math[_0x5b418e(0x17d)](0x0,_0x37ff83)};}['getPairKey'](_0x21f0e2,_0x2875c5){const _0x62d39f=_0x3a3b58;return _0x21f0e2[_0x62d39f(0x17e)]<_0x2875c5[_0x62d39f(0x17e)]?_0x21f0e2[_0x62d39f(0x17e)]+'|'+_0x2875c5['uuid']:_0x2875c5[_0x62d39f(0x17e)]+'|'+_0x21f0e2[_0x62d39f(0x17e)];}[_0x3a3b58(0x177)](_0x4cd9ac,_0x3393bd,_0x12ef79,_0x11dc0e){const _0x476097=_0x3a3b58;let _0xf8bf7d=0x0,_0x51e1e6=_0x12ef79;const _0x1307d3=new Vector3(0x0,0x0,0x0),_0x3ceb97=1e-8,_0x373bfd=_0x49d295=>{const _0x23b9aa=_0x13b5,_0x5ba93b=_0x4cd9ac[_0x49d295],_0x52a0d9=_0x3393bd[_0x49d295],_0x2903b3=_0x11dc0e[_0x23b9aa(0x17b)][_0x49d295],_0xdeb09=_0x11dc0e[_0x23b9aa(0x17d)][_0x49d295];if(Math[_0x23b9aa(0x160)](_0x52a0d9)<_0x3ceb97){if(_0x5ba93b<_0x2903b3||_0x5ba93b>_0xdeb09)return ![];return !![];}const _0x524339=0x1/_0x52a0d9;let _0xaafea6,_0x24bfbd;const _0xb3a853=new Vector3(0x0,0x0,0x0);_0x52a0d9>=0x0?(_0xaafea6=(_0x2903b3-_0x5ba93b)*_0x524339,_0x24bfbd=(_0xdeb09-_0x5ba93b)*_0x524339,_0xb3a853[_0x49d295]=-1):(_0xaafea6=(_0xdeb09-_0x5ba93b)*_0x524339,_0x24bfbd=(_0x2903b3-_0x5ba93b)*_0x524339,_0xb3a853[_0x49d295]=0x1);_0xaafea6>_0xf8bf7d&&(_0xf8bf7d=_0xaafea6,_0x1307d3[_0x23b9aa(0x152)](_0xb3a853));_0x24bfbd<_0x51e1e6&&(_0x51e1e6=_0x24bfbd);if(_0xf8bf7d>_0x51e1e6)return ![];return !![];};if(!_0x373bfd('x')||!_0x373bfd('y')||!_0x373bfd('z'))return null;if(_0x51e1e6<0x0)return null;const _0x1fd8ac=Math[_0x476097(0x17d)](0x0,_0xf8bf7d);if(_0x1fd8ac>_0x12ef79)return null;return {'distance':_0x1fd8ac,'normal':_0x1307d3,'point':_0x4cd9ac[_0x476097(0x16a)]()[_0x476097(0x16c)](_0x3393bd[_0x476097(0x16a)]()[_0x476097(0x179)](_0x1fd8ac))};}}
|
|
60
|
+
const _0x3f9493=_0x165e;function _0x165e(_0x5c6811,_0x17bdf8){_0x5c6811=_0x5c6811-0xa4;const _0x25eae4=_0x25ea();let _0x165e5d=_0x25eae4[_0x5c6811];return _0x165e5d;}function _0x25ea(){const _0x27b1af=['_debugDrawEnabled','7943685BzuFGW','distance','function','1736uBcLYB','sort','2tQRxsB','computeAabbHit','onHitDelegate','intersectRayAabb','sign','push','4SdbbPI','unregisterCollider','previousOverlapPairs','min','raycastAll','add','onBeginOverlapDelegate','broadcast','length','debugDrawEnabled','Block','collisionEnabled','colliders','16443330yGgRtX','delete','has','clone','lineTraceSingle','raycast','49239kdiMjy','from','getPairKey','getWorldAABB','773373geHwmd','11417224VDcwye','normal','previousBlockPairs','1400717YvVqgb','generateHitEvents','tick','Ignore','Visibility','debugEnabled','clear','2274558bgoLYe','get','max','lineTraceMulti','multiplyScalar','generateOverlapEvents','getCollisionResponse','uuid','point','set','onEndOverlapDelegate','getCenter'];_0x25ea=function(){return _0x27b1af;};return _0x25ea();}(function(_0x5589d1,_0x7b5245){const _0x4f23d7=_0x165e,_0x42afaf=_0x5589d1();while(!![]){try{const _0x2ea71e=parseInt(_0x4f23d7(0xaf))/0x1+-parseInt(_0x4f23d7(0xc8))/0x2*(-parseInt(_0x4f23d7(0xab))/0x3)+parseInt(_0x4f23d7(0xce))/0x4*(-parseInt(_0x4f23d7(0xc3))/0x5)+-parseInt(_0x4f23d7(0xb6))/0x6+parseInt(_0x4f23d7(0xac))/0x7+parseInt(_0x4f23d7(0xc6))/0x8*(parseInt(_0x4f23d7(0xa7))/0x9)+-parseInt(_0x4f23d7(0xdb))/0xa;if(_0x2ea71e===_0x7b5245)break;else _0x42afaf['push'](_0x42afaf['shift']());}catch(_0x12d7c6){_0x42afaf['push'](_0x42afaf['shift']());}}}(_0x25ea,0xd3148));class PhysicsWorld{constructor(){const _0x243e44=_0x165e;this[_0x243e44(0xda)]=new Set(),this['previousOverlapPairs']=new Map(),this[_0x243e44(0xae)]=new Map(),this[_0x243e44(0xc2)]=![];}get['debugDrawEnabled'](){const _0x10c140=_0x165e;return this[_0x10c140(0xc2)];}set[_0x3f9493(0xd7)](_0x4e9987){const _0x103479=_0x3f9493;if(this[_0x103479(0xc2)]===_0x4e9987)return;this[_0x103479(0xc2)]=_0x4e9987;for(const _0x6af485 of this[_0x103479(0xda)]){_0x6af485[_0x103479(0xb4)]=_0x4e9987;}}['registerCollider'](_0x240c85){const _0x47f9f9=_0x3f9493;this[_0x47f9f9(0xda)][_0x47f9f9(0xd3)](_0x240c85),this[_0x47f9f9(0xc2)]&&(_0x240c85[_0x47f9f9(0xb4)]=!![]);}[_0x3f9493(0xcf)](_0xe43956){const _0x18b93c=_0x3f9493;this['colliders'][_0x18b93c(0xdc)](_0xe43956);for(const [_0x568b93,_0x5b16f0]of this['previousOverlapPairs']){(_0x5b16f0[0x0]===_0xe43956||_0x5b16f0[0x1]===_0xe43956)&&this[_0x18b93c(0xd0)]['delete'](_0x568b93);}for(const [_0x58ec89,_0x4a0b0d]of this[_0x18b93c(0xae)]){(_0x4a0b0d[0x0]===_0xe43956||_0x4a0b0d[0x1]===_0xe43956)&&this['previousBlockPairs']['delete'](_0x58ec89);}}[_0x3f9493(0xb5)](){const _0x614fb2=_0x3f9493;this['colliders']['clear'](),this[_0x614fb2(0xd0)][_0x614fb2(0xb5)](),this['previousBlockPairs']['clear']();}[_0x3f9493(0xa5)](_0x2ae5ba,_0x3c25f3,_0x3951b9=CollisionChannel[_0x3f9493(0xb3)],_0x5dde7e){const _0x561377=_0x3f9493,_0x14d8b8=_0x3c25f3['clone']()['sub'](_0x2ae5ba),_0x47137b=_0x14d8b8[_0x561377(0xd6)]();if(_0x47137b<=0.000001)return null;const _0x3745bd=_0x14d8b8[_0x561377(0xba)](0x1/_0x47137b);let _0x411e57=null;for(const _0x17af57 of this[_0x561377(0xda)]){if(_0x17af57===_0x5dde7e)continue;if(!_0x17af57[_0x561377(0xd9)])continue;const _0x247d9c=_0x17af57['getCollisionResponse'](_0x3951b9);if(_0x247d9c!==CollisionResponse[_0x561377(0xd8)])continue;const _0x52fda1=_0x17af57[_0x561377(0xaa)](new Box3()),_0x1ad28f=this[_0x561377(0xcb)](_0x2ae5ba,_0x3745bd,_0x47137b,_0x52fda1);if(!_0x1ad28f)continue;const _0x2155c2=_0x17af57,_0x3e6c1c=typeof _0x2155c2['raycast']===_0x561377(0xc5)?_0x2155c2['raycast'](_0x2ae5ba,_0x3745bd,_0x47137b):_0x1ad28f;if(!_0x3e6c1c)continue;(!_0x411e57||_0x3e6c1c['distance']<_0x411e57[_0x561377(0xc4)])&&(_0x411e57={'collider':_0x17af57,'point':_0x3e6c1c[_0x561377(0xbe)],'normal':_0x3e6c1c[_0x561377(0xad)],'distance':_0x3e6c1c['distance'],'blocking':!![]});}return _0x411e57;}[_0x3f9493(0xb9)](_0x8a8620,_0x596fc8,_0x3896e1=CollisionChannel['Visibility'],_0x20efaa){const _0x38eb4a=_0x3f9493,_0x3c1d9c=_0x596fc8[_0x38eb4a(0xa4)]()['sub'](_0x8a8620),_0x71da73=_0x3c1d9c[_0x38eb4a(0xd6)]();if(_0x71da73<=0.000001)return [];const _0x2b8b99=_0x3c1d9c[_0x38eb4a(0xba)](0x1/_0x71da73),_0x1b62df=[];for(const _0x327e4a of this[_0x38eb4a(0xda)]){if(_0x327e4a===_0x20efaa)continue;if(!_0x327e4a[_0x38eb4a(0xd9)])continue;const _0x4ace51=_0x327e4a[_0x38eb4a(0xbc)](_0x3896e1);if(_0x4ace51===CollisionResponse[_0x38eb4a(0xb2)])continue;const _0x3e9eac=_0x327e4a[_0x38eb4a(0xaa)](new Box3()),_0x1c4bc7=this['intersectRayAabb'](_0x8a8620,_0x2b8b99,_0x71da73,_0x3e9eac);if(!_0x1c4bc7)continue;const _0x5039b5=_0x327e4a;if(typeof _0x5039b5['raycastAll']===_0x38eb4a(0xc5)){const _0x546f11=_0x5039b5[_0x38eb4a(0xd2)](_0x8a8620,_0x2b8b99,_0x71da73);for(const _0x4d89e3 of _0x546f11){_0x1b62df[_0x38eb4a(0xcd)]({'collider':_0x327e4a,'point':_0x4d89e3[_0x38eb4a(0xbe)],'normal':_0x4d89e3[_0x38eb4a(0xad)],'distance':_0x4d89e3['distance'],'blocking':_0x4ace51===CollisionResponse['Block']});}}else {const _0x3543c1=typeof _0x5039b5[_0x38eb4a(0xa6)]===_0x38eb4a(0xc5)?_0x5039b5['raycast'](_0x8a8620,_0x2b8b99,_0x71da73):_0x1c4bc7;if(!_0x3543c1)continue;_0x1b62df[_0x38eb4a(0xcd)]({'collider':_0x327e4a,'point':_0x3543c1[_0x38eb4a(0xbe)],'normal':_0x3543c1[_0x38eb4a(0xad)],'distance':_0x3543c1['distance'],'blocking':_0x4ace51===CollisionResponse[_0x38eb4a(0xd8)]});}}return _0x1b62df[_0x38eb4a(0xc7)]((_0x53d110,_0x258ce0)=>_0x53d110[_0x38eb4a(0xc4)]-_0x258ce0['distance']);}[_0x3f9493(0xb1)](_0x3235f6){const _0x3163ea=_0x3f9493,_0x39a273=Array[_0x3163ea(0xa8)](this['colliders'])['filter'](_0x59a8a5=>_0x59a8a5[_0x3163ea(0xd9)]),_0xa0d789=new Map();for(const _0x30be94 of _0x39a273){_0xa0d789[_0x3163ea(0xbf)](_0x30be94,_0x30be94[_0x3163ea(0xaa)](new Box3()));}const _0x501988=new Map(),_0x4e7fb2=new Map();for(let _0x21e377=0x0;_0x21e377<_0x39a273['length'];_0x21e377++){const _0xb3116f=_0x39a273[_0x21e377],_0x186c81=_0xa0d789[_0x3163ea(0xb7)](_0xb3116f);if(!_0x186c81)continue;for(let _0x104a50=_0x21e377+0x1;_0x104a50<_0x39a273[_0x3163ea(0xd6)];_0x104a50++){const _0x507f4a=_0x39a273[_0x104a50],_0x27c353=_0xa0d789[_0x3163ea(0xb7)](_0x507f4a);if(!_0x27c353)continue;if(!_0x186c81['intersectsBox'](_0x27c353))continue;const _0x3d5d08=_0xb3116f['getMutualResponse'](_0x507f4a);if(_0x3d5d08===CollisionResponse[_0x3163ea(0xb2)])continue;const _0x1af711=this[_0x3163ea(0xa9)](_0xb3116f,_0x507f4a);_0x3d5d08===CollisionResponse['Overlap']?_0x501988[_0x3163ea(0xbf)](_0x1af711,[_0xb3116f,_0x507f4a]):_0x4e7fb2[_0x3163ea(0xbf)](_0x1af711,[_0xb3116f,_0x507f4a]);}}for(const [_0x206833,_0x4e9960]of _0x501988){if(this['previousOverlapPairs']['has'](_0x206833))continue;const [_0x1d9aa8,_0x3659f6]=_0x4e9960;_0x1d9aa8[_0x3163ea(0xbb)]&&_0x1d9aa8[_0x3163ea(0xd4)][_0x3163ea(0xd5)](_0x3659f6),_0x3659f6[_0x3163ea(0xbb)]&&_0x3659f6['onBeginOverlapDelegate'][_0x3163ea(0xd5)](_0x1d9aa8);}for(const [_0x20cabb,_0x195b37]of this['previousOverlapPairs']){if(_0x501988[_0x3163ea(0xdd)](_0x20cabb))continue;const [_0x3c3caa,_0x3543a9]=_0x195b37;_0x3c3caa[_0x3163ea(0xbb)]&&_0x3c3caa[_0x3163ea(0xc0)][_0x3163ea(0xd5)](_0x3543a9),_0x3543a9[_0x3163ea(0xbb)]&&_0x3543a9[_0x3163ea(0xc0)]['broadcast'](_0x3c3caa);}for(const [_0x3a3517,_0xf58e84]of _0x4e7fb2){if(this['previousBlockPairs'][_0x3163ea(0xdd)](_0x3a3517))continue;const [_0x210c12,_0x56cc4f]=_0xf58e84,_0x4cf994=_0xa0d789[_0x3163ea(0xb7)](_0x210c12),_0x39e603=_0xa0d789[_0x3163ea(0xb7)](_0x56cc4f);if(!_0x4cf994||!_0x39e603)continue;const _0x363dfe=this[_0x3163ea(0xc9)](_0x210c12,_0x56cc4f,_0x4cf994,_0x39e603);_0x210c12[_0x3163ea(0xb0)]&&_0x210c12['onHitDelegate'][_0x3163ea(0xd5)](_0x363dfe);if(_0x56cc4f[_0x3163ea(0xb0)]){const _0x4aa412={'self':_0x56cc4f,'other':_0x210c12,'point':_0x363dfe[_0x3163ea(0xbe)]['clone'](),'normal':_0x363dfe['normal']['clone']()['multiplyScalar'](-1),'penetrationDepth':_0x363dfe['penetrationDepth']};_0x56cc4f[_0x3163ea(0xca)][_0x3163ea(0xd5)](_0x4aa412);}}this[_0x3163ea(0xd0)]=_0x501988,this[_0x3163ea(0xae)]=_0x4e7fb2;}[_0x3f9493(0xc9)](_0x2638f4,_0x4f3f20,_0x3f5e64,_0x2a5774){const _0x3db62c=_0x3f9493,_0x106262=Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['x'],_0x2a5774['max']['x'])-Math[_0x3db62c(0xb8)](_0x3f5e64['min']['x'],_0x2a5774[_0x3db62c(0xd1)]['x']),_0x96f7b1=Math[_0x3db62c(0xd1)](_0x3f5e64['max']['y'],_0x2a5774[_0x3db62c(0xb8)]['y'])-Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['y'],_0x2a5774[_0x3db62c(0xd1)]['y']),_0x17f5ef=Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['z'],_0x2a5774['max']['z'])-Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['z'],_0x2a5774[_0x3db62c(0xd1)]['z']);let _0xc99d04=_0x106262,_0x3f1725='x';_0x96f7b1<_0xc99d04&&(_0xc99d04=_0x96f7b1,_0x3f1725='y');_0x17f5ef<_0xc99d04&&(_0xc99d04=_0x17f5ef,_0x3f1725='z');const _0x43d6f1=_0x3f5e64['getCenter'](new Vector3()),_0x4d0a4a=_0x2a5774[_0x3db62c(0xc1)](new Vector3()),_0x549945=_0x4d0a4a[_0x3db62c(0xa4)]()['sub'](_0x43d6f1),_0xba6898=new Vector3(0x0,0x0,0x0);if(_0x3f1725==='x')_0xba6898[_0x3db62c(0xbf)](Math['sign'](_0x549945['x'])||0x1,0x0,0x0);else _0x3f1725==='y'?_0xba6898['set'](0x0,Math['sign'](_0x549945['y'])||0x1,0x0):_0xba6898['set'](0x0,0x0,Math[_0x3db62c(0xcc)](_0x549945['z'])||0x1);const _0x6e2e26=new Vector3((Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['x'],_0x2a5774[_0x3db62c(0xd1)]['x'])+Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['x'],_0x2a5774['max']['x']))*0.5,(Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['y'],_0x2a5774[_0x3db62c(0xd1)]['y'])+Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['y'],_0x2a5774[_0x3db62c(0xb8)]['y']))*0.5,(Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['z'],_0x2a5774[_0x3db62c(0xd1)]['z'])+Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['z'],_0x2a5774[_0x3db62c(0xb8)]['z']))*0.5);return {'self':_0x2638f4,'other':_0x4f3f20,'point':_0x6e2e26,'normal':_0xba6898,'penetrationDepth':Math[_0x3db62c(0xb8)](0x0,_0xc99d04)};}[_0x3f9493(0xa9)](_0x280fbe,_0x32d3e6){const _0x426f8d=_0x3f9493;return _0x280fbe[_0x426f8d(0xbd)]<_0x32d3e6[_0x426f8d(0xbd)]?_0x280fbe[_0x426f8d(0xbd)]+'|'+_0x32d3e6['uuid']:_0x32d3e6[_0x426f8d(0xbd)]+'|'+_0x280fbe[_0x426f8d(0xbd)];}[_0x3f9493(0xcb)](_0x4403d5,_0x5cadb3,_0x4b766b,_0x454ad1){const _0x2ddee3=_0x3f9493;let _0x41951c=0x0,_0x38871d=_0x4b766b;const _0x1a1a82=new Vector3(0x0,0x0,0x0),_0x2bcbb5=1e-8,_0xe183f1=_0x4daddc=>{const _0x1fe005=_0x165e,_0x289f0d=_0x4403d5[_0x4daddc],_0x1f1ae7=_0x5cadb3[_0x4daddc],_0x707783=_0x454ad1[_0x1fe005(0xd1)][_0x4daddc],_0x30b47f=_0x454ad1[_0x1fe005(0xb8)][_0x4daddc];if(Math['abs'](_0x1f1ae7)<_0x2bcbb5){if(_0x289f0d<_0x707783||_0x289f0d>_0x30b47f)return ![];return !![];}const _0x1898e7=0x1/_0x1f1ae7;let _0x121103,_0x360fac;const _0x2d9253=new Vector3(0x0,0x0,0x0);_0x1f1ae7>=0x0?(_0x121103=(_0x707783-_0x289f0d)*_0x1898e7,_0x360fac=(_0x30b47f-_0x289f0d)*_0x1898e7,_0x2d9253[_0x4daddc]=-1):(_0x121103=(_0x30b47f-_0x289f0d)*_0x1898e7,_0x360fac=(_0x707783-_0x289f0d)*_0x1898e7,_0x2d9253[_0x4daddc]=0x1);_0x121103>_0x41951c&&(_0x41951c=_0x121103,_0x1a1a82['copy'](_0x2d9253));_0x360fac<_0x38871d&&(_0x38871d=_0x360fac);if(_0x41951c>_0x38871d)return ![];return !![];};if(!_0xe183f1('x')||!_0xe183f1('y')||!_0xe183f1('z'))return null;if(_0x38871d<0x0)return null;const _0x5498ba=Math['max'](0x0,_0x41951c);if(_0x5498ba>_0x4b766b)return null;return {'distance':_0x5498ba,'normal':_0x1a1a82,'point':_0x4403d5[_0x2ddee3(0xa4)]()[_0x2ddee3(0xd3)](_0x5cadb3[_0x2ddee3(0xa4)]()['multiplyScalar'](_0x5498ba))};}}
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _0x38e7d4=_0x4695;(function(_0x2b7439,_0x5d81c3){var _0x29ecb4=_0x4695,_0x3eb240=_0x2b7439();while(!![]){try{var _0x451170=-parseInt(_0x29ecb4(0xe8))/0x1*(-parseInt(_0x29ecb4(0xf1))/0x2)+-parseInt(_0x29ecb4(0xc1))/0x3+parseInt(_0x29ecb4(0xdf))/0x4+parseInt(_0x29ecb4(0xc2))/0x5*(parseInt(_0x29ecb4(0xbf))/0x6)+-parseInt(_0x29ecb4(0xd9))/0x7*(parseInt(_0x29ecb4(0xeb))/0x8)+parseInt(_0x29ecb4(0xd6))/0x9*(parseInt(_0x29ecb4(0xe9))/0xa)+-parseInt(_0x29ecb4(0xdb))/0xb;if(_0x451170===_0x5d81c3)break;else _0x3eb240['push'](_0x3eb240['shift']());}catch(_0x3979d3){_0x3eb240['push'](_0x3eb240['shift']());}}}(_0x48d5,0xb7197));function _0x4695(_0x5c250a,_0x748fe3){_0x5c250a=_0x5c250a-0xbf;var _0x48d5f5=_0x48d5();var _0x469535=_0x48d5f5[_0x5c250a];return _0x469535;}class World{get[_0x38e7d4(0xd3)](){var _0x2eff90=_0x38e7d4,_0x259f68;let _0x3b734e=(_0x259f68=this[_0x2eff90(0xda)])===null||_0x259f68===void 0?void 0:_0x259f68[_0x2eff90(0xd3)];if(!_0x3b734e)throw new Error(_0x2eff90(0xcb));return _0x3b734e;}get['viewport'](){var _0xd1f513=_0x38e7d4;return this[_0xd1f513(0xd7)][_0xd1f513(0xf2)];}get[_0x38e7d4(0xc5)](){var _0x2d3fe9=_0x38e7d4;return this[_0x2d3fe9(0xd7)]['controller'];}get[_0x38e7d4(0xef)](){var _0x45f801=_0x38e7d4;if(!this[_0x45f801(0xda)])throw new Error(_0x45f801(0xc8));return this[_0x45f801(0xda)];}get[_0x38e7d4(0xe3)](){var _0x148586=_0x38e7d4;return this[_0x148586(0xd5)];}constructor(_0x4988c8,_0x6d15c1){var _0x6608f9=_0x38e7d4;this[_0x6608f9(0xda)]=null,this[_0x6608f9(0xdd)]=new Set(),this[_0x6608f9(0xc0)]=new Set(),this[_0x6608f9(0xe0)]=null,this['app']=_0x4988c8,this['worldParam']=_0x6d15c1,this[_0x6608f9(0xd5)]=new PhysicsWorld();}[_0x38e7d4(0xe2)](){var _0x3eb245=_0x38e7d4;this[_0x3eb245(0xda)]=new this[(_0x3eb245(0xe7))][(_0x3eb245(0xcd))](this[_0x3eb245(0xd7)]);}[_0x38e7d4(0xe6)](_0x482fd2){var _0x1aa682=_0x38e7d4;this[_0x1aa682(0xc0)][_0x1aa682(0xd0)](_0x482fd2);}[_0x38e7d4(0xcc)](_0xa27fee){var _0x28d282=_0x38e7d4;this[_0x28d282(0xc0)][_0x28d282(0xf3)](_0xa27fee);}[_0x38e7d4(0xc9)](_0x3e5767){var _0xe78a8c=_0x38e7d4;this[_0xe78a8c(0xc0)][_0xe78a8c(0xcf)](_0x3bbe05=>{var _0x1ee8c0=_0xe78a8c;_0x3bbe05[_0x1ee8c0(0xc9)](_0x3e5767);}),this[_0xe78a8c(0xd5)][_0xe78a8c(0xc9)](_0x3e5767);}[_0x38e7d4(0xf0)](){var _0x8a151a=_0x38e7d4,_0x9fa36a;this['tickableActors'][_0x8a151a(0xe5)](),this[_0x8a151a(0xd5)][_0x8a151a(0xe5)](),this['actors'][_0x8a151a(0xcf)](_0x4aa56e=>{_0x4aa56e['destroy']();}),this['actors']['clear'](),(_0x9fa36a=this[_0x8a151a(0xda)])===null||_0x9fa36a===void 0?void 0:_0x9fa36a[_0x8a151a(0xf0)](),this[_0x8a151a(0xda)]=null;}[_0x38e7d4(0xea)](_0x5dd6a3){var _0x280f95=_0x38e7d4,_0x65114c;if(!_0x5dd6a3[_0x280f95(0xd1)][_0x280f95(0xc3)])throw new Error(_0x280f95(0xd4));_0x5dd6a3[_0x280f95(0xde)](),(_0x65114c=this[_0x280f95(0xda)])===null||_0x65114c===void 0?void 0:_0x65114c[_0x280f95(0xc6)](_0x5dd6a3,AttachmentRules[_0x280f95(0xec)]),this[_0x280f95(0xdd)]['add'](_0x5dd6a3),_0x5dd6a3['onAddedToWorld'](this),this[_0x280f95(0xf2)][_0x280f95(0xe4)]();}[_0x38e7d4(0xd8)](_0x6fb254){var _0x5284a8=_0x38e7d4;_0x6fb254[_0x5284a8(0xf0)](),this[_0x5284a8(0xdd)][_0x5284a8(0xf3)](_0x6fb254),this[_0x5284a8(0xf2)][_0x5284a8(0xe4)]();}['removeActors'](_0x1e8193){var _0x1786f0=_0x38e7d4;for(const _0x456901 of _0x1e8193){_0x456901['destroy'](),this[_0x1786f0(0xdd)][_0x1786f0(0xf3)](_0x456901);}this['viewport'][_0x1786f0(0xe4)]();}['getActorById'](_0x209284){var _0x834da5=_0x38e7d4;return this[_0x834da5(0xef)][_0x834da5(0xc4)](_0x209284,!![]);}['getActorsByIds'](_0x262cf3){var _0x47e02e=_0x38e7d4;return this['rootActor'][_0x47e02e(0xd2)](_0x262cf3,!![]);}[_0x38e7d4(0xed)](_0x57e8af,_0x46ad66){var _0x457952=_0x38e7d4;if(!_0x57e8af[_0x457952(0xd1)][_0x457952(0xc3)])throw new Error('target.threeObject\x20is\x20null');!this[_0x457952(0xe0)]&&(this[_0x457952(0xe0)]=new ClippingGroup(),this[_0x457952(0xe0)][_0x457952(0xee)][_0x457952(0xce)](0x0,0x0,0x0)),this['_clippingGroup'][_0x457952(0xc7)]=_0x46ad66,this[_0x457952(0xd3)][_0x457952(0xd0)](this['_clippingGroup']),this[_0x457952(0xe0)]['add'](_0x57e8af[_0x457952(0xd1)][_0x457952(0xc3)]);}[_0x38e7d4(0xca)](_0x3e1f43,_0x2ee19b=null){var _0x24f796=_0x38e7d4,_0xe56a25;if(!this['_clippingGroup'])return;if(!_0x3e1f43[_0x24f796(0xd1)]['threeObject'])throw new Error('target.threeObject\x20is\x20null');_0x2ee19b?_0x2ee19b[_0x24f796(0xc6)](_0x3e1f43,AttachmentRules[_0x24f796(0xec)]):this['addActor'](_0x3e1f43),this[_0x24f796(0xe0)][_0x24f796(0xdc)][_0x24f796(0xe1)]===0x0&&((_0xe56a25=this[_0x24f796(0xe0)]['parent'])===null||_0xe56a25===void 0?void 0:_0xe56a25['remove'](this['_clippingGroup']),this['_clippingGroup']=null);}}function _0x48d5(){var _0x3598d2=['set','forEach','add','rootComponent','getChildActorsByIds','scene','actor.threeObject\x20is\x20null','_physics','9npKxEk','app','removeActor','28iaSgbM','_rootActor','6062826yrbtjV','children','actors','removeFromParent','1933020qOcjTG','_clippingGroup','length','init','physics','markRenderStateDirty','clear','addTickableActor','worldParam','1keLSRK','14582360AJVjVD','addActor','573072VCvcQL','KeepRelative','addActorClipping','position','rootActor','destroy','1310236DvwTOi','viewport','delete','18sIUKZx','tickableActors','3299433gAhqeu','151465vSJcLb','threeObject','getChildActorById','controller','addChildActor','clippingPlanes','rootActor\x20is\x20null','tick','removeActorClipping','scene\x20is\x20null','removeTickableActor','levelActorClass'];_0x48d5=function(){return _0x3598d2;};return _0x48d5();}
|
|
63
63
|
|
|
64
|
-
(function(
|
|
64
|
+
var _0x16de20=_0x49f4;function _0x49f4(_0x11fd7d,_0x4af526){_0x11fd7d=_0x11fd7d-0xe8;var _0x362886=_0x3628();var _0x49f421=_0x362886[_0x11fd7d];return _0x49f421;}(function(_0x2ac096,_0x4bc497){var _0x3e3a38=_0x49f4,_0x4f083b=_0x2ac096();while(!![]){try{var _0x82829a=parseInt(_0x3e3a38(0xeb))/0x1+parseInt(_0x3e3a38(0xf1))/0x2+-parseInt(_0x3e3a38(0xed))/0x3+parseInt(_0x3e3a38(0xec))/0x4+-parseInt(_0x3e3a38(0xee))/0x5*(parseInt(_0x3e3a38(0xe8))/0x6)+-parseInt(_0x3e3a38(0xf2))/0x7*(parseInt(_0x3e3a38(0xea))/0x8)+parseInt(_0x3e3a38(0xe9))/0x9;if(_0x82829a===_0x4bc497)break;else _0x4f083b['push'](_0x4f083b['shift']());}catch(_0x3cd36e){_0x4f083b['push'](_0x4f083b['shift']());}}}(_0x3628,0xb3e2f));var RendererType;(function(_0x56e844){var _0x46a60f=_0x49f4;_0x56e844[_0x56e844['WebGPU']=0x0]=_0x46a60f(0xef),_0x56e844[_0x56e844[_0x46a60f(0xf0)]=0x1]=_0x46a60f(0xf0);}(RendererType||(RendererType={})));function _0x3628(){var _0x30724e=['2292384nzBEfw','7jeNEsu','138ZjkTNb','20260161wAhZKe','11210856UkBywy','835685DYktDc','1843480fHmOUZ','3475224JhopnY','303760ZfgAdp','WebGPU','WebGL'];_0x3628=function(){return _0x30724e;};return _0x3628();}const DefaultViewportParam={'elementId':null,'renderer':{'type':RendererType[_0x16de20(0xef)]},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};
|
|
65
65
|
|
|
66
|
-
(function(
|
|
66
|
+
(function(_0x26cc9f,_0x10c0af){const _0x78d409=_0x45d5,_0x4e9f15=_0x26cc9f();while(!![]){try{const _0x7c789a=parseInt(_0x78d409(0xcd))/0x1*(parseInt(_0x78d409(0xce))/0x2)+-parseInt(_0x78d409(0xd3))/0x3*(-parseInt(_0x78d409(0xd6))/0x4)+parseInt(_0x78d409(0xd7))/0x5+-parseInt(_0x78d409(0xdd))/0x6*(-parseInt(_0x78d409(0xda))/0x7)+-parseInt(_0x78d409(0xd5))/0x8*(-parseInt(_0x78d409(0xd9))/0x9)+-parseInt(_0x78d409(0xde))/0xa+parseInt(_0x78d409(0xdb))/0xb*(-parseInt(_0x78d409(0xd8))/0xc);if(_0x7c789a===_0x10c0af)break;else _0x4e9f15['push'](_0x4e9f15['shift']());}catch(_0x1ec8bd){_0x4e9f15['push'](_0x4e9f15['shift']());}}}(_0x4a26,0xd2422));const DefaultPostProcessParam={'steps':[]};function _0x4a26(){const _0x2c62ae=['16QHMIMV','1512eDShxP','3899210TAkKBr','871284heyyLp','6018876FefmFI','3661teBSNn','297KTzQUT','Antialiasing','2118lOEGCx','11827860hVcARC','ScreenSpaceReflection','52iPVEZR','19332VegNfu','GroundTruthAmbientOcclusion','LensFlare','Outline','DepthOfField','9522HvoTHg','Bloom'];_0x4a26=function(){return _0x2c62ae;};return _0x4a26();}var PostProcessStepType;function _0x45d5(_0x3e10a7,_0x28b941){_0x3e10a7=_0x3e10a7-0xcd;const _0x4a2694=_0x4a26();let _0x45d590=_0x4a2694[_0x3e10a7];return _0x45d590;}(function(_0x3a5ad8){const _0xd0eaa1=_0x45d5;_0x3a5ad8[_0x3a5ad8[_0xd0eaa1(0xd4)]=0x0]=_0xd0eaa1(0xd4),_0x3a5ad8[_0x3a5ad8[_0xd0eaa1(0xd2)]=0x1]=_0xd0eaa1(0xd2),_0x3a5ad8[_0x3a5ad8[_0xd0eaa1(0xdf)]=0x2]=_0xd0eaa1(0xdf),_0x3a5ad8[_0x3a5ad8[_0xd0eaa1(0xcf)]=0x3]=_0xd0eaa1(0xcf),_0x3a5ad8[_0x3a5ad8[_0xd0eaa1(0xd1)]=0x4]=_0xd0eaa1(0xd1),_0x3a5ad8[_0x3a5ad8[_0xd0eaa1(0xdc)]=0x5]=_0xd0eaa1(0xdc),_0x3a5ad8[_0x3a5ad8[_0xd0eaa1(0xd0)]=0x6]='LensFlare';}(PostProcessStepType||(PostProcessStepType={})));
|
|
67
67
|
|
|
68
|
-
const
|
|
68
|
+
const _0x45903c=_0x30c8;(function(_0x358d4f,_0x2a5a0d){const _0x2be406=_0x30c8,_0x34fec4=_0x358d4f();while(!![]){try{const _0x36017a=-parseInt(_0x2be406(0x1b7))/0x1+-parseInt(_0x2be406(0x1b6))/0x2*(parseInt(_0x2be406(0x1be))/0x3)+-parseInt(_0x2be406(0x1bd))/0x4*(-parseInt(_0x2be406(0x1b8))/0x5)+-parseInt(_0x2be406(0x1b4))/0x6+-parseInt(_0x2be406(0x1b5))/0x7+-parseInt(_0x2be406(0x1bb))/0x8*(parseInt(_0x2be406(0x1bc))/0x9)+parseInt(_0x2be406(0x1b9))/0xa;if(_0x36017a===_0x2a5a0d)break;else _0x34fec4['push'](_0x34fec4['shift']());}catch(_0x1587b5){_0x34fec4['push'](_0x34fec4['shift']());}}}(_0x4873,0x5f65e));function _0x4873(){const _0x337b5b=['9hloQLu','564FEiEmV','3UCGivz','897876WqvRsL','1490237YpsMlb','304618OnDzsI','30470vKnaJm','4250rDIedE','8357450WViMJv','Bloom','156232pHtMTa'];_0x4873=function(){return _0x337b5b;};return _0x4873();}function _0x30c8(_0x8c6350,_0x39b2e1){_0x8c6350=_0x8c6350-0x1b4;const _0x48738b=_0x4873();let _0x30c854=_0x48738b[_0x8c6350];return _0x30c854;}const DefaultBloomParam={'type':PostProcessStepType[_0x45903c(0x1ba)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
69
69
|
|
|
70
|
-
const
|
|
70
|
+
const _0x25518d=_0x56a8;(function(_0x509622,_0x31d741){const _0x6cd413=_0x56a8,_0x209b76=_0x509622();while(!![]){try{const _0x3ac979=-parseInt(_0x6cd413(0xcb))/0x1+parseInt(_0x6cd413(0xcc))/0x2*(-parseInt(_0x6cd413(0xd1))/0x3)+-parseInt(_0x6cd413(0xca))/0x4*(-parseInt(_0x6cd413(0xc9))/0x5)+-parseInt(_0x6cd413(0xc8))/0x6*(parseInt(_0x6cd413(0xcd))/0x7)+parseInt(_0x6cd413(0xc7))/0x8+-parseInt(_0x6cd413(0xd2))/0x9*(-parseInt(_0x6cd413(0xce))/0xa)+-parseInt(_0x6cd413(0xcf))/0xb;if(_0x3ac979===_0x31d741)break;else _0x209b76['push'](_0x209b76['shift']());}catch(_0x64896f){_0x209b76['push'](_0x209b76['shift']());}}}(_0x261c,0xc0425));function _0x56a8(_0x5a53cb,_0x411694){_0x5a53cb=_0x5a53cb-0xc7;const _0x261ccc=_0x261c();let _0x56a818=_0x261ccc[_0x5a53cb];return _0x56a818;}function _0x261c(){const _0x5f4238=['18rCZemF','801GMAeIg','10745584QGRMRn','2838FbhVoo','1765570ngsRAM','16fGpnps','912853JvSPWm','44794CMEtKS','20363QamAYO','65570EqmWBR','1413962Kxkuqm','DepthOfField'];_0x261c=function(){return _0x5f4238;};return _0x261c();}const DefaultDOFParam={'type':PostProcessStepType[_0x25518d(0xd0)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
71
71
|
|
|
72
|
-
function
|
|
72
|
+
function _0x5705(){const _0x5ce7c6=['280872kGdbur','48349PJFwVT','126GpfVMY','4338735GRDbjj','63099edfVAo','60657MOceBH','3470UiEAfw','2329884IKWFfT','28KNEvVE','2642644PedYuL'];_0x5705=function(){return _0x5ce7c6;};return _0x5705();}(function(_0x1f61b7,_0x562450){const _0x582770=_0x56b3,_0x53bde5=_0x1f61b7();while(!![]){try{const _0x3fe3ca=parseInt(_0x582770(0x167))/0x1*(-parseInt(_0x582770(0x16e))/0x2)+-parseInt(_0x582770(0x16b))/0x3+parseInt(_0x582770(0x16f))/0x4+-parseInt(_0x582770(0x169))/0x5+-parseInt(_0x582770(0x16d))/0x6+parseInt(_0x582770(0x168))/0x7*(-parseInt(_0x582770(0x170))/0x8)+parseInt(_0x582770(0x16a))/0x9*(parseInt(_0x582770(0x16c))/0xa);if(_0x3fe3ca===_0x562450)break;else _0x53bde5['push'](_0x53bde5['shift']());}catch(_0x2c2201){_0x53bde5['push'](_0x53bde5['shift']());}}}(_0x5705,0x7c1be));function _0x56b3(_0x45028a,_0x45abda){_0x45028a=_0x45028a-0x167;const _0x570535=_0x5705();let _0x56b3e2=_0x570535[_0x45028a];return _0x56b3e2;}const DefaultGTAOParam={'type':PostProcessStepType['GroundTruthAmbientOcclusion'],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
73
73
|
|
|
74
|
-
const
|
|
74
|
+
const _0x4ef9bf=_0x2694;function _0x2832(){const _0x58d49b=['Outline','3278480eBPXAV','1198kTeaEz','339894bQpRyF','523390BXCZsT','42kyWqcN','2918052lnZPys','34kamODP','77452oLTeAM','1517336tITNeb','20ucMuhK'];_0x2832=function(){return _0x58d49b;};return _0x2832();}(function(_0x254c9b,_0x11a703){const _0x3d2698=_0x2694,_0x3fa6c2=_0x254c9b();while(!![]){try{const _0x32e11b=-parseInt(_0x3d2698(0xe5))/0x1*(-parseInt(_0x3d2698(0xeb))/0x2)+-parseInt(_0x3d2698(0xee))/0x3*(-parseInt(_0x3d2698(0xe6))/0x4)+-parseInt(_0x3d2698(0xe8))/0x5*(parseInt(_0x3d2698(0xec))/0x6)+-parseInt(_0x3d2698(0xed))/0x7+parseInt(_0x3d2698(0xe7))/0x8+parseInt(_0x3d2698(0xe4))/0x9+-parseInt(_0x3d2698(0xea))/0xa;if(_0x32e11b===_0x11a703)break;else _0x3fa6c2['push'](_0x3fa6c2['shift']());}catch(_0x5acb67){_0x3fa6c2['push'](_0x3fa6c2['shift']());}}}(_0x2832,0x2b001));function _0x2694(_0x442dd6,_0x3dc8fb){_0x442dd6=_0x442dd6-0xe4;const _0x2832ba=_0x2832();let _0x26943d=_0x2832ba[_0x442dd6];return _0x26943d;}const DefaultOutlineParams={'type':PostProcessStepType[_0x4ef9bf(0xe9)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
(function(_0x5db9a0,_0x41d917){const _0x5da19b=_0x2f90,_0x1fe169=_0x5db9a0();while(!![]){try{const _0x2eaacd=-parseInt(_0x5da19b(0x168))/0x1+-parseInt(_0x5da19b(0x167))/0x2*(parseInt(_0x5da19b(0x163))/0x3)+-parseInt(_0x5da19b(0x166))/0x4+-parseInt(_0x5da19b(0x169))/0x5*(-parseInt(_0x5da19b(0x162))/0x6)+-parseInt(_0x5da19b(0x16a))/0x7*(-parseInt(_0x5da19b(0x16b))/0x8)+parseInt(_0x5da19b(0x164))/0x9+parseInt(_0x5da19b(0x165))/0xa;if(_0x2eaacd===_0x41d917)break;else _0x1fe169['push'](_0x1fe169['shift']());}catch(_0x4b4275){_0x1fe169['push'](_0x1fe169['shift']());}}}(_0x276b,0xbd413));function _0x276b(){const _0x35f46f=['11140632fEozdi','4647240rwvegj','2299208UhpZiy','24202WLkQOK','707922WlMxCG','838515MaAOBT','4214sYTumO','2768RJmXRT','36eXUAJm','213VdLpHY'];_0x276b=function(){return _0x35f46f;};return _0x276b();}function _0x2f90(_0x129874,_0x102875){_0x129874=_0x129874-0x162;const _0x276b08=_0x276b();let _0x2f9048=_0x276b08[_0x129874];return _0x2f9048;}const DefaultLensFlareParam={'type':PostProcessStepType['LensFlare'],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};
|
|
77
77
|
|
|
78
|
-
const _0x330da1=_0x2d1b;(function(_0x447c29,_0x246ebf){const _0x379774=_0x2d1b,_0x3963d5=_0x447c29();while(!![]){try{const _0x573a3a=-parseInt(_0x379774(0x223))/0x1*(parseInt(_0x379774(0x20b))/0x2)+-parseInt(_0x379774(0x248))/0x3*(-parseInt(_0x379774(0x23b))/0x4)+parseInt(_0x379774(0x245))/0x5*(-parseInt(_0x379774(0x1fe))/0x6)+-parseInt(_0x379774(0x207))/0x7*(-parseInt(_0x379774(0x200))/0x8)+-parseInt(_0x379774(0x1f5))/0x9+parseInt(_0x379774(0x1de))/0xa+parseInt(_0x379774(0x201))/0xb*(parseInt(_0x379774(0x1ed))/0xc);if(_0x573a3a===_0x246ebf)break;else _0x3963d5['push'](_0x3963d5['shift']());}catch(_0x35b88d){_0x3963d5['push'](_0x3963d5['shift']());}}}(_0x2ff9,0x48102));function _0x2ff9(){const _0x706a9e=['lut3dTexture','type','scene','smaa','Bloom','24bgdGSz','distanceFallOff','edgeGlowNode','ghostSamples','lensflareEnabled','map','scale','distanceExponent','1779606OvpAZg','gtaoPass','visibleEdgeColor','ghostTint','ghostSpacing','DepthOfField','depth','thickness','postProcessParam','6wLJaCO','onBuildFinalNode','55864xLrXTJ','994972qcMvUu','camera','maxblur','velocity','markDirty','aperture','469IyGXCS','resolutionScale','radius','outlineHiddenEdgeColor','40JKhotw','bloomPass','LensFlare','downSampleRatio','outputNode','bokehScaleNode','value','focus','bloomStrength','traa','includes','buildPipeline','edgeThickness','Outline','div','needsUpdate','outlineVisibleEdgeColor','threshold','Antialiasing','outlinePass','setup','setLUT3DTexture','find','GroundTruthAmbientOcclusion','16267uXanQa','renderer','gtaoDistanceFallOff','setMRT','fxaaEnabled','smaaEnabled','dofPass','strength','splice','steps','outlinePulsePeriod','focusDistanceNode','greaterThan','gtaoDistanceExponent','updateAllUniforms','set','length','gtaoSamples','getTextureNode','gtaoRadius','hiddenEdgeColor','outlineObjects','gtaoThickness','lensflarePass','152OJLJCf','ghostAttenuationFactor','pulsePeriod','createEffectUniforms','normal','outlineEnabled','selectedObjects','edgeStrength','setOutlineObjects','getStepParam','2187235FFeFkf','outlineEdgeThickness','processing','21732ZORJLC','addOutlineObject','dofMaxBlur','samples','method','mul','indexOf','destroy','onDirtyCallback','useTemporalFiltering','add','dispose','fxaa','render','getLUT3DTexture','has','updateSteps','updateCamera','output','focalLengthNode','3316540HZpBHZ','dofAperture','postProcessing','select','edgeGlow','push','gtaoEnabled','traaPass','effectUniforms','outlineEdgeStrength'];_0x2ff9=function(){return _0x706a9e;};return _0x2ff9();}function _0x2d1b(_0x5b4f9e,_0x1c26da){_0x5b4f9e=_0x5b4f9e-0x1dd;const _0x2ff912=_0x2ff9();let _0x2d1b5b=_0x2ff912[_0x5b4f9e];return _0x2d1b5b;}class PostProcessManager{constructor(_0x25a168,_0x55987b,_0x45b51c,_0x38e8ae,_0x2f436a){const _0x2d7a8a=_0x2d1b;this[_0x2d7a8a(0x1e0)]=null,this['outlineObjects']=[],this[_0x2d7a8a(0x1e6)]=null,this[_0x2d7a8a(0x21e)]=null,this['bloomPass']=null,this[_0x2d7a8a(0x229)]=null,this['gtaoPass']=null,this[_0x2d7a8a(0x1e5)]=null,this[_0x2d7a8a(0x23a)]=null,this['lut3dTexture']=null,this[_0x2d7a8a(0x250)]=null,this['renderer']=_0x25a168,this[_0x2d7a8a(0x1ea)]=_0x55987b,this['camera']=_0x45b51c,this[_0x2d7a8a(0x1fd)]=Object['assign']({},_0x38e8ae),this['onDirtyCallback']=_0x2f436a!==null&&_0x2f436a!==void 0?_0x2f436a:null;}get[_0x330da1(0x247)](){return this['postProcessing'];}[_0x330da1(0x259)](_0x2534ce){const _0x3dd8dc=_0x330da1;this['camera']=_0x2534ce,(!this[_0x3dd8dc(0x1e0)]||!this[_0x3dd8dc(0x1e6)])&&(this[_0x3dd8dc(0x216)](),this[_0x3dd8dc(0x231)](),this[_0x3dd8dc(0x205)]());}[_0x330da1(0x21f)](){const _0x355021=_0x330da1;(!this[_0x355021(0x1e0)]||!this[_0x355021(0x1e6)])&&this[_0x355021(0x216)](),this[_0x355021(0x231)](),this[_0x355021(0x205)]();}['buildPipeline'](){const _0x2176e7=_0x330da1;var _0x4d888f,_0xbe961d,_0x322a7d,_0x55e769,_0x35976f;this[_0x2176e7(0x1e0)]&&this[_0x2176e7(0x1e0)][_0x2176e7(0x253)]();this['postProcessing']=new PostProcessing(this[_0x2176e7(0x224)]),this['outlinePass']=null,this['bloomPass']=null,this[_0x2176e7(0x229)]=null,this['gtaoPass']=null,this[_0x2176e7(0x1e5)]=null,this[_0x2176e7(0x23a)]=null,this[_0x2176e7(0x1e6)]=this[_0x2176e7(0x23e)]();const _0x114652=new Set(this[_0x2176e7(0x1fd)][_0x2176e7(0x22c)][_0x2176e7(0x1f2)](_0x2d9cbe=>_0x2d9cbe[_0x2176e7(0x1e9)])),_0x3db7cd=this[_0x2176e7(0x244)](PostProcessStepType[_0x2176e7(0x21d)]),_0x1c7d61=_0x114652[_0x2176e7(0x257)](PostProcessStepType['GroundTruthAmbientOcclusion']),_0x2a1432=(_0x3db7cd===null||_0x3db7cd===void 0?void 0:_0x3db7cd[_0x2176e7(0x24c)])===_0x2176e7(0x214),_0x5c1bdc=pass(this[_0x2176e7(0x1ea)],this['camera']);if(_0x1c7d61||_0x2a1432){const _0x2efccb={'output':output};if(_0x1c7d61)_0x2efccb[_0x2176e7(0x23f)]=normalView;if(_0x2a1432)_0x2efccb['velocity']=velocity;_0x5c1bdc[_0x2176e7(0x226)](mrt(_0x2efccb));}const _0x523904=_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x25a)),_0x20f87a=_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x1fb)),_0x1ee1da=_0x5c1bdc['getViewZNode'](),_0xe9ed51=_0x1c7d61?_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x23f)):null,_0x55e2b=_0x2a1432?_0x5c1bdc[_0x2176e7(0x235)](_0x2176e7(0x204)):null,_0x257866=this[_0x2176e7(0x1e6)];let _0xc8ec99=_0x523904;const _0x54e055=_0x114652[_0x2176e7(0x257)](PostProcessStepType[_0x2176e7(0x1ec)]),_0x3f4a1c=_0x114652['has'](PostProcessStepType[_0x2176e7(0x20d)]);if(_0x54e055||_0x3f4a1c){const _0x5f51d7=(_0x4d888f=this[_0x2176e7(0x244)](PostProcessStepType[_0x2176e7(0x1ec)]))!==null&&_0x4d888f!==void 0?_0x4d888f:DefaultBloomParam;this[_0x2176e7(0x20c)]=bloom(_0x523904),this[_0x2176e7(0x20c)][_0x2176e7(0x21c)][_0x2176e7(0x211)]=_0x5f51d7[_0x2176e7(0x21c)],this[_0x2176e7(0x20c)][_0x2176e7(0x22a)]['value']=_0x5f51d7['strength'],this[_0x2176e7(0x20c)]['radius'][_0x2176e7(0x211)]=_0x5f51d7[_0x2176e7(0x209)];if(_0x54e055){const _0x11377e=this['bloomPass'][_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x213)]);_0xc8ec99=vec4(_0x523904['r'][_0x2176e7(0x252)](_0x11377e['r']),_0x523904['g'][_0x2176e7(0x252)](_0x11377e['g']),_0x523904['b']['add'](_0x11377e['b']),_0x523904['a']);}if(_0x3f4a1c){const _0x15237b=(_0xbe961d=this[_0x2176e7(0x244)](PostProcessStepType['LensFlare']))!==null&&_0xbe961d!==void 0?_0xbe961d:DefaultLensFlareParam;this[_0x2176e7(0x23a)]=lensflare(this[_0x2176e7(0x20c)][_0x2176e7(0x235)](),{'ghostTint':vec3(_0x15237b['ghostTint'][0x0],_0x15237b['ghostTint'][0x1],_0x15237b[_0x2176e7(0x1f8)][0x2]),'threshold':float(_0x15237b[_0x2176e7(0x21c)]),'ghostSamples':float(_0x15237b[_0x2176e7(0x1f0)]),'ghostSpacing':float(_0x15237b[_0x2176e7(0x1f9)]),'ghostAttenuationFactor':float(_0x15237b[_0x2176e7(0x23c)]),'downSampleRatio':_0x15237b[_0x2176e7(0x20e)]});const _0x59c2a1=this[_0x2176e7(0x23a)]['getTextureNode']();_0xc8ec99=vec4(_0xc8ec99['r'][_0x2176e7(0x252)](_0x59c2a1['r']),_0xc8ec99['g']['add'](_0x59c2a1['g']),_0xc8ec99['b'][_0x2176e7(0x252)](_0x59c2a1['b']),_0xc8ec99['a']);}}if(_0x114652[_0x2176e7(0x257)](PostProcessStepType[_0x2176e7(0x1fa)])){const _0x4e35b7=(_0x322a7d=this[_0x2176e7(0x244)](PostProcessStepType['DepthOfField']))!==null&&_0x322a7d!==void 0?_0x322a7d:DefaultDOFParam;this['dofPass']=dof(_0xc8ec99,_0x1ee1da,uniform(_0x4e35b7[_0x2176e7(0x212)]),uniform(_0x4e35b7[_0x2176e7(0x206)]),uniform(_0x4e35b7['maxblur'])),_0xc8ec99=vec4(this[_0x2176e7(0x229)]['r'],this[_0x2176e7(0x229)]['g'],this[_0x2176e7(0x229)]['b'],_0x523904['a']);}if(_0x1c7d61&&_0xe9ed51){const _0x4db982=(_0x55e769=this[_0x2176e7(0x244)](PostProcessStepType[_0x2176e7(0x222)]))!==null&&_0x55e769!==void 0?_0x55e769:DefaultGTAOParam;this[_0x2176e7(0x1f6)]=ao(_0x20f87a,_0xe9ed51,this[_0x2176e7(0x202)]),this[_0x2176e7(0x1f6)][_0x2176e7(0x208)]=0.5,this[_0x2176e7(0x1f6)][_0x2176e7(0x1f4)][_0x2176e7(0x211)]=_0x4db982[_0x2176e7(0x1f4)],this[_0x2176e7(0x1f6)][_0x2176e7(0x1ee)][_0x2176e7(0x211)]=_0x4db982['distanceFallOff'],this[_0x2176e7(0x1f6)][_0x2176e7(0x209)][_0x2176e7(0x211)]=_0x4db982[_0x2176e7(0x209)],this[_0x2176e7(0x1f6)][_0x2176e7(0x1f3)][_0x2176e7(0x211)]=_0x4db982[_0x2176e7(0x1f3)],this[_0x2176e7(0x1f6)][_0x2176e7(0x1fc)]['value']=_0x4db982[_0x2176e7(0x1fc)],this[_0x2176e7(0x1f6)][_0x2176e7(0x24b)][_0x2176e7(0x211)]=_0x4db982['samples'],this[_0x2176e7(0x1f6)][_0x2176e7(0x251)]=_0x4db982[_0x2176e7(0x251)];const _0x1603df=this[_0x2176e7(0x1f6)][_0x2176e7(0x235)]()['r'];_0xc8ec99=vec4(_0xc8ec99['r'][_0x2176e7(0x24d)](_0x1603df),_0xc8ec99['g'][_0x2176e7(0x24d)](_0x1603df),_0xc8ec99['b']['mul'](_0x1603df),_0xc8ec99['a']);}if(_0x114652[_0x2176e7(0x257)](PostProcessStepType[_0x2176e7(0x218)])){const _0x4afdb1=(_0x35976f=this['getStepParam'](PostProcessStepType[_0x2176e7(0x218)]))!==null&&_0x35976f!==void 0?_0x35976f:DefaultOutlineParams;this[_0x2176e7(0x21e)]=outline(this[_0x2176e7(0x1ea)],this[_0x2176e7(0x202)],{'selectedObjects':this['outlineObjects'],'edgeGlow':uniform(_0x4afdb1[_0x2176e7(0x1e2)]),'edgeThickness':uniform(_0x4afdb1['edgeThickness'])});const {visibleEdge:_0x5d62f5,hiddenEdge:_0x40f081}=this[_0x2176e7(0x21e)],_0x2cfdc0=_0x257866['outlinePulsePeriod'][_0x2176e7(0x22f)](0x0)[_0x2176e7(0x1e1)](_0x257866[_0x2176e7(0x22d)],uniform(0x1)),_0x21f996=time[_0x2176e7(0x219)](_0x2cfdc0)[_0x2176e7(0x24d)](0x2),_0x2f975a=oscSine(_0x21f996)[_0x2176e7(0x24d)](0.5)[_0x2176e7(0x252)](0.5),_0x44d823=_0x5d62f5[_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x21b)])[_0x2176e7(0x252)](_0x40f081[_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x20a)]))[_0x2176e7(0x24d)](_0x257866[_0x2176e7(0x1e7)]),_0x2e9963=_0x257866['outlinePulsePeriod'][_0x2176e7(0x22f)](0x0),_0x5c992e=_0x2e9963[_0x2176e7(0x1e1)](_0x2f975a,float(0x1));_0xc8ec99=vec4(_0xc8ec99['r'][_0x2176e7(0x252)](_0x44d823['r'][_0x2176e7(0x24d)](_0x5c992e)),_0xc8ec99['g']['add'](_0x44d823['g'][_0x2176e7(0x24d)](_0x5c992e)),_0xc8ec99['b']['add'](_0x44d823['b'][_0x2176e7(0x24d)](_0x5c992e)),_0xc8ec99['a']);}if(_0x3db7cd){if(_0x3db7cd[_0x2176e7(0x24c)]===_0x2176e7(0x254))_0xc8ec99=fxaa(_0xc8ec99);else {if(_0x3db7cd['method']===_0x2176e7(0x1eb))_0xc8ec99=smaa(_0xc8ec99);else _0x3db7cd[_0x2176e7(0x24c)]===_0x2176e7(0x214)&&_0x55e2b&&(this[_0x2176e7(0x1e5)]=traa(_0xc8ec99,_0x20f87a,_0x55e2b,this[_0x2176e7(0x202)]),_0xc8ec99=this[_0x2176e7(0x1e5)]['getTextureNode']());}}_0xc8ec99=this[_0x2176e7(0x1ff)](_0xc8ec99),_0xc8ec99=vec4(_0xc8ec99['r'],_0xc8ec99['g'],_0xc8ec99['b'],_0x523904['a']),this[_0x2176e7(0x1e0)][_0x2176e7(0x20f)]=_0xc8ec99,this[_0x2176e7(0x1e0)][_0x2176e7(0x21a)]=!![];}['onBuildFinalNode'](_0x414898){return _0x414898;}['createEffectUniforms'](){const _0x4053db=_0x330da1;var _0x2df082,_0xc0c67f,_0x4f9864,_0x3b4e40;const _0x4467e2=(_0x2df082=this[_0x4053db(0x244)](PostProcessStepType['Bloom']))!==null&&_0x2df082!==void 0?_0x2df082:DefaultBloomParam,_0x4ee10f=(_0xc0c67f=this[_0x4053db(0x244)](PostProcessStepType[_0x4053db(0x1fa)]))!==null&&_0xc0c67f!==void 0?_0xc0c67f:DefaultDOFParam,_0x5c69af=(_0x4f9864=this[_0x4053db(0x244)](PostProcessStepType[_0x4053db(0x222)]))!==null&&_0x4f9864!==void 0?_0x4f9864:DefaultGTAOParam,_0x5b5f3f=(_0x3b4e40=this['getStepParam'](PostProcessStepType['Outline']))!==null&&_0x3b4e40!==void 0?_0x3b4e40:DefaultOutlineParams;return {'bloomEnabled':uniform(0x0),'bloomStrength':uniform(_0x4467e2[_0x4053db(0x22a)]),'bloomThreshold':uniform(_0x4467e2['threshold']),'bloomRadius':uniform(_0x4467e2[_0x4053db(0x209)]),'dofEnabled':uniform(0x0),'dofFocus':uniform(_0x4ee10f['focus']),'dofAperture':uniform(_0x4ee10f['aperture']),'dofMaxBlur':uniform(_0x4ee10f[_0x4053db(0x203)]),'gtaoEnabled':uniform(0x0),'gtaoScale':uniform(_0x5c69af[_0x4053db(0x1f3)]),'gtaoDistanceExponent':uniform(_0x5c69af[_0x4053db(0x1f4)]),'gtaoDistanceFallOff':uniform(_0x5c69af['distanceFallOff']),'gtaoRadius':uniform(_0x5c69af[_0x4053db(0x209)]),'gtaoThickness':uniform(_0x5c69af[_0x4053db(0x1fc)]),'gtaoSamples':uniform(_0x5c69af[_0x4053db(0x24b)]),'outlineEnabled':uniform(0x0),'outlineEdgeStrength':uniform(_0x5b5f3f[_0x4053db(0x242)]),'outlineEdgeGlow':uniform(_0x5b5f3f['edgeGlow']),'outlineEdgeThickness':uniform(_0x5b5f3f['edgeThickness']),'outlinePulsePeriod':uniform(_0x5b5f3f['pulsePeriod']),'outlineVisibleEdgeColor':uniform(new Color(_0x5b5f3f['visibleEdgeColor'])),'outlineHiddenEdgeColor':uniform(new Color(_0x5b5f3f[_0x4053db(0x237)])),'fxaaEnabled':uniform(0x0),'smaaEnabled':uniform(0x0),'lensflareEnabled':uniform(0x0)};}['getStepParam'](_0x68992d){const _0x169d86=_0x330da1;var _0x196bd8;return (_0x196bd8=this['postProcessParam'][_0x169d86(0x22c)][_0x169d86(0x221)](_0x208933=>_0x208933[_0x169d86(0x1e9)]===_0x68992d))!==null&&_0x196bd8!==void 0?_0x196bd8:null;}[_0x330da1(0x231)](){const _0x385f8e=_0x330da1;if(!this[_0x385f8e(0x1e6)])return;const _0x3877d9=this[_0x385f8e(0x1e6)],_0x5dc0a6=new Set(this[_0x385f8e(0x1fd)][_0x385f8e(0x22c)][_0x385f8e(0x1f2)](_0x389b3c=>_0x389b3c[_0x385f8e(0x1e9)]));_0x3877d9['bloomEnabled'][_0x385f8e(0x211)]=_0x5dc0a6[_0x385f8e(0x257)](PostProcessStepType[_0x385f8e(0x1ec)])?0x1:0x0,_0x3877d9['dofEnabled'][_0x385f8e(0x211)]=_0x5dc0a6['has'](PostProcessStepType[_0x385f8e(0x1fa)])?0x1:0x0,_0x3877d9[_0x385f8e(0x1e4)][_0x385f8e(0x211)]=_0x5dc0a6[_0x385f8e(0x257)](PostProcessStepType[_0x385f8e(0x222)])?0x1:0x0,_0x3877d9[_0x385f8e(0x240)][_0x385f8e(0x211)]=_0x5dc0a6[_0x385f8e(0x257)](PostProcessStepType['Outline'])?0x1:0x0,_0x3877d9[_0x385f8e(0x1f1)]['value']=_0x5dc0a6[_0x385f8e(0x257)](PostProcessStepType['LensFlare'])?0x1:0x0;const _0x159494=this[_0x385f8e(0x244)](PostProcessStepType[_0x385f8e(0x21d)]);_0x159494?(_0x3877d9['fxaaEnabled']['value']=_0x159494[_0x385f8e(0x24c)]===_0x385f8e(0x254)?0x1:0x0,_0x3877d9[_0x385f8e(0x228)]['value']=_0x159494['method']==='smaa'?0x1:0x0):(_0x3877d9[_0x385f8e(0x227)]['value']=0x0,_0x3877d9['smaaEnabled'][_0x385f8e(0x211)]=0x0);const _0x5110d7=this['getStepParam'](PostProcessStepType[_0x385f8e(0x1ec)]);_0x5110d7&&(_0x3877d9[_0x385f8e(0x213)][_0x385f8e(0x211)]=_0x5110d7[_0x385f8e(0x22a)],_0x3877d9['bloomThreshold'][_0x385f8e(0x211)]=_0x5110d7[_0x385f8e(0x21c)],_0x3877d9['bloomRadius']['value']=_0x5110d7[_0x385f8e(0x209)],this['bloomPass']&&(this[_0x385f8e(0x20c)][_0x385f8e(0x21c)][_0x385f8e(0x211)]=_0x5110d7[_0x385f8e(0x21c)],this[_0x385f8e(0x20c)][_0x385f8e(0x22a)]['value']=_0x5110d7['strength'],this[_0x385f8e(0x20c)]['radius'][_0x385f8e(0x211)]=_0x5110d7['radius']));const _0x56dc2=this['getStepParam'](PostProcessStepType[_0x385f8e(0x20d)]);if(_0x56dc2&&this[_0x385f8e(0x23a)]);const _0x4f8112=this[_0x385f8e(0x244)](PostProcessStepType['DepthOfField']);_0x4f8112&&(_0x3877d9['dofFocus']['value']=_0x4f8112[_0x385f8e(0x212)],_0x3877d9[_0x385f8e(0x1df)][_0x385f8e(0x211)]=_0x4f8112[_0x385f8e(0x206)],_0x3877d9[_0x385f8e(0x24a)][_0x385f8e(0x211)]=_0x4f8112[_0x385f8e(0x203)],this[_0x385f8e(0x229)]&&(this[_0x385f8e(0x229)][_0x385f8e(0x22e)][_0x385f8e(0x211)]=_0x4f8112[_0x385f8e(0x212)],this['dofPass'][_0x385f8e(0x1dd)]['value']=_0x4f8112[_0x385f8e(0x206)],this[_0x385f8e(0x229)][_0x385f8e(0x210)]['value']=_0x4f8112[_0x385f8e(0x203)]));const _0x5e649b=this[_0x385f8e(0x244)](PostProcessStepType[_0x385f8e(0x222)]);_0x5e649b&&(_0x3877d9['gtaoScale'][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f3)],_0x3877d9[_0x385f8e(0x230)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f4)],_0x3877d9[_0x385f8e(0x225)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1ee)],_0x3877d9[_0x385f8e(0x236)][_0x385f8e(0x211)]=_0x5e649b['radius'],_0x3877d9[_0x385f8e(0x239)][_0x385f8e(0x211)]=_0x5e649b['thickness'],_0x3877d9[_0x385f8e(0x234)]['value']=_0x5e649b[_0x385f8e(0x24b)],this[_0x385f8e(0x1f6)]&&(this['gtaoPass'][_0x385f8e(0x1f4)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f4)],this[_0x385f8e(0x1f6)]['distanceFallOff']['value']=_0x5e649b[_0x385f8e(0x1ee)],this['gtaoPass'][_0x385f8e(0x209)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x209)],this[_0x385f8e(0x1f6)][_0x385f8e(0x1f3)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1f3)],this[_0x385f8e(0x1f6)][_0x385f8e(0x1fc)][_0x385f8e(0x211)]=_0x5e649b[_0x385f8e(0x1fc)],this[_0x385f8e(0x1f6)][_0x385f8e(0x24b)]['value']=_0x5e649b[_0x385f8e(0x24b)],this[_0x385f8e(0x1f6)]['useTemporalFiltering']=_0x5e649b[_0x385f8e(0x251)]));const _0x1db888=this['getStepParam'](PostProcessStepType[_0x385f8e(0x218)]);_0x1db888&&(_0x3877d9[_0x385f8e(0x1e7)][_0x385f8e(0x211)]=_0x1db888[_0x385f8e(0x242)],_0x3877d9['outlineEdgeGlow'][_0x385f8e(0x211)]=_0x1db888['edgeGlow'],_0x3877d9[_0x385f8e(0x246)][_0x385f8e(0x211)]=_0x1db888[_0x385f8e(0x217)],_0x3877d9[_0x385f8e(0x22d)]['value']=_0x1db888[_0x385f8e(0x23d)],_0x3877d9[_0x385f8e(0x21b)][_0x385f8e(0x211)]['set'](_0x1db888[_0x385f8e(0x1f7)]),_0x3877d9['outlineHiddenEdgeColor']['value'][_0x385f8e(0x232)](_0x1db888[_0x385f8e(0x237)]),this[_0x385f8e(0x21e)]&&(this['outlinePass'][_0x385f8e(0x1ef)]['value']=_0x1db888[_0x385f8e(0x1e2)],this[_0x385f8e(0x21e)]['edgeThicknessNode']['value']=_0x1db888[_0x385f8e(0x217)],this[_0x385f8e(0x21e)][_0x385f8e(0x241)]=this['outlineObjects']));}[_0x330da1(0x258)](_0x91f2d6){const _0x27b0e1=_0x330da1;this[_0x27b0e1(0x1fd)][_0x27b0e1(0x22c)]=_0x91f2d6,this['buildPipeline'](),this['updateAllUniforms'](),this['markDirty']();}[_0x330da1(0x249)](_0x25181c){const _0x39e9c0=_0x330da1;!this[_0x39e9c0(0x238)][_0x39e9c0(0x215)](_0x25181c)&&(this[_0x39e9c0(0x238)][_0x39e9c0(0x1e3)](_0x25181c),this[_0x39e9c0(0x21e)]&&(this['outlinePass'][_0x39e9c0(0x241)]=this[_0x39e9c0(0x238)])),this[_0x39e9c0(0x205)]();}[_0x330da1(0x243)](_0x13c225){const _0x3e67a3=_0x330da1;this[_0x3e67a3(0x238)][_0x3e67a3(0x233)]=0x0,this[_0x3e67a3(0x238)][_0x3e67a3(0x1e3)](..._0x13c225),this[_0x3e67a3(0x21e)]&&(this['outlinePass'][_0x3e67a3(0x241)]=this[_0x3e67a3(0x238)]),this[_0x3e67a3(0x205)]();}['removeOutlineObject'](_0x2c9426){const _0x5a13f9=_0x330da1,_0x2e7fbd=this['outlineObjects'][_0x5a13f9(0x24e)](_0x2c9426);_0x2e7fbd>-1&&(this[_0x5a13f9(0x238)][_0x5a13f9(0x22b)](_0x2e7fbd,0x1),this[_0x5a13f9(0x21e)]&&(this[_0x5a13f9(0x21e)]['selectedObjects']=this['outlineObjects'])),this['markDirty']();}[_0x330da1(0x220)](_0x15e5e7){const _0x1aeaec=_0x330da1;this[_0x1aeaec(0x1e8)]=_0x15e5e7,this[_0x1aeaec(0x216)](),this['updateAllUniforms'](),this['markDirty']();}[_0x330da1(0x256)](){const _0x3236cf=_0x330da1;return this[_0x3236cf(0x1e8)];}[_0x330da1(0x255)](){const _0x7e559a=_0x330da1;if(this[_0x7e559a(0x1e0)])return this[_0x7e559a(0x1e0)][_0x7e559a(0x255)](),!![];return ![];}[_0x330da1(0x24f)](){const _0x5a9635=_0x330da1;this[_0x5a9635(0x238)]=[],this[_0x5a9635(0x1e6)]=null,this[_0x5a9635(0x21e)]=null,this[_0x5a9635(0x20c)]=null,this[_0x5a9635(0x229)]=null,this[_0x5a9635(0x1f6)]=null,this['traaPass']=null,this['lensflarePass']=null,this['lut3dTexture']=null,this[_0x5a9635(0x1e0)]&&(this[_0x5a9635(0x1e0)]['dispose'](),this['postProcessing']=null);}[_0x330da1(0x205)](){const _0x4de4a9=_0x330da1;this[_0x4de4a9(0x250)]&&this[_0x4de4a9(0x250)]();}}
|
|
78
|
+
const _0x579060=_0xe3ea;(function(_0x72611f,_0x55da06){const _0x22db0f=_0xe3ea,_0xccf83a=_0x72611f();while(!![]){try{const _0x39cfd9=parseInt(_0x22db0f(0x1c0))/0x1+-parseInt(_0x22db0f(0x1ad))/0x2*(-parseInt(_0x22db0f(0x1b8))/0x3)+parseInt(_0x22db0f(0x1ed))/0x4*(parseInt(_0x22db0f(0x1e5))/0x5)+parseInt(_0x22db0f(0x21d))/0x6*(-parseInt(_0x22db0f(0x1bf))/0x7)+parseInt(_0x22db0f(0x20e))/0x8+-parseInt(_0x22db0f(0x21b))/0x9+-parseInt(_0x22db0f(0x1ff))/0xa*(parseInt(_0x22db0f(0x1c3))/0xb);if(_0x39cfd9===_0x55da06)break;else _0xccf83a['push'](_0xccf83a['shift']());}catch(_0x1b1d0){_0xccf83a['push'](_0xccf83a['shift']());}}}(_0x4636,0xe40e5));function _0x4636(){const _0x325ae2=['lensflareEnabled','bloomPass','maxblur','1287048FGBVgx','edgeThickness','gtaoRadius','scene','lensflarePass','distanceFallOff','getViewZNode','lut3dTexture','GroundTruthAmbientOcclusion','radius','gtaoThickness','outlinePass','map','16793388RQRMPE','push','1002nxmCeW','add','createEffectUniforms','updateAllUniforms','dofMaxBlur','pulsePeriod','select','assign','smaaEnabled','1042858BinkMz','splice','traa','effectUniforms','getTextureNode','outlineObjects','downSampleRatio','camera','getStepParam','render','removeOutlineObject','6neOlli','dispose','setMRT','DepthOfField','dofPass','scale','bloomThreshold','36687UmWzIY','1629323qGpBcV','normal','edgeGlowNode','187RGbsPH','hiddenEdgeColor','find','useTemporalFiltering','updateSteps','updateCamera','needsUpdate','visibleEdgeColor','type','fxaaEnabled','getLUT3DTexture','gtaoDistanceExponent','Bloom','bloomStrength','onDirtyCallback','renderer','edgeStrength','set','aperture','edgeThicknessNode','strength','postProcessParam','div','thickness','value','threshold','ghostTint','selectedObjects','greaterThan','dofFocus','onBuildFinalNode','method','mul','traaPass','655fawHbB','postProcessing','Outline','focus','steps','gtaoDistanceFallOff','resolutionScale','edgeGlow','55608CBKNrV','buildPipeline','dofAperture','gtaoPass','setOutlineObjects','markDirty','smaa','outputNode','output','fxaa','outlineEdgeThickness','setup','outlineVisibleEdgeColor','has','bokehScaleNode','ghostAttenuationFactor','velocity','focusDistanceNode','575840dqTCtJ','processing','addOutlineObject','samples','bloomRadius','LensFlare','outlineHiddenEdgeColor','outlinePulsePeriod','depth','distanceExponent','outlineEdgeStrength','ghostSamples'];_0x4636=function(){return _0x325ae2;};return _0x4636();}function _0xe3ea(_0x1417d4,_0x1a29e8){_0x1417d4=_0x1417d4-0x1ac;const _0x463608=_0x4636();let _0xe3ea76=_0x463608[_0x1417d4];return _0xe3ea76;}class PostProcessManager{constructor(_0x441dbf,_0x2230ad,_0x4a245e,_0xefabe7,_0x1fdd66){const _0x4623b9=_0xe3ea;this[_0x4623b9(0x1e6)]=null,this[_0x4623b9(0x1b2)]=[],this[_0x4623b9(0x1b0)]=null,this[_0x4623b9(0x219)]=null,this[_0x4623b9(0x20c)]=null,this[_0x4623b9(0x1bc)]=null,this[_0x4623b9(0x1f0)]=null,this[_0x4623b9(0x1e4)]=null,this[_0x4623b9(0x212)]=null,this[_0x4623b9(0x215)]=null,this[_0x4623b9(0x1d1)]=null,this[_0x4623b9(0x1d2)]=_0x441dbf,this[_0x4623b9(0x211)]=_0x2230ad,this['camera']=_0x4a245e,this[_0x4623b9(0x1d8)]=Object[_0x4623b9(0x224)]({},_0xefabe7),this[_0x4623b9(0x1d1)]=_0x1fdd66!==null&&_0x1fdd66!==void 0?_0x1fdd66:null;}get[_0x579060(0x200)](){return this['postProcessing'];}[_0x579060(0x1c8)](_0x2d921d){const _0x2d61ed=_0x579060;this['camera']=_0x2d921d,(!this[_0x2d61ed(0x1e6)]||!this[_0x2d61ed(0x1b0)])&&(this[_0x2d61ed(0x1ee)](),this['updateAllUniforms'](),this[_0x2d61ed(0x1f2)]());}[_0x579060(0x1f8)](){const _0xfb43fc=_0x579060;(!this[_0xfb43fc(0x1e6)]||!this[_0xfb43fc(0x1b0)])&&this[_0xfb43fc(0x1ee)](),this[_0xfb43fc(0x220)](),this[_0xfb43fc(0x1f2)]();}[_0x579060(0x1ee)](){const _0x1bb5ff=_0x579060;var _0x5235f7,_0x5aeae1,_0x5a80c2,_0x114ad2,_0xe9a8fc;this['postProcessing']&&this[_0x1bb5ff(0x1e6)][_0x1bb5ff(0x1b9)]();this['postProcessing']=new PostProcessing(this['renderer']),this[_0x1bb5ff(0x219)]=null,this[_0x1bb5ff(0x20c)]=null,this['dofPass']=null,this[_0x1bb5ff(0x1f0)]=null,this['traaPass']=null,this[_0x1bb5ff(0x212)]=null,this['effectUniforms']=this[_0x1bb5ff(0x21f)]();const _0x2a3109=new Set(this[_0x1bb5ff(0x1d8)][_0x1bb5ff(0x1e9)][_0x1bb5ff(0x21a)](_0xdb8369=>_0xdb8369['type'])),_0x2f25b0=this['getStepParam'](PostProcessStepType['Antialiasing']),_0x1dd181=_0x2a3109['has'](PostProcessStepType['GroundTruthAmbientOcclusion']),_0x2c853c=(_0x2f25b0===null||_0x2f25b0===void 0?void 0:_0x2f25b0[_0x1bb5ff(0x1e2)])===_0x1bb5ff(0x1af),_0xdf516=pass(this[_0x1bb5ff(0x211)],this[_0x1bb5ff(0x1b4)]);if(_0x1dd181||_0x2c853c){const _0x8ed42e={'output':output};if(_0x1dd181)_0x8ed42e[_0x1bb5ff(0x1c1)]=normalView;if(_0x2c853c)_0x8ed42e[_0x1bb5ff(0x1fd)]=velocity;_0xdf516[_0x1bb5ff(0x1ba)](mrt(_0x8ed42e));}const _0x2ce581=_0xdf516[_0x1bb5ff(0x1b1)](_0x1bb5ff(0x1f5)),_0x1b3ced=_0xdf516['getTextureNode'](_0x1bb5ff(0x207)),_0x44e48f=_0xdf516[_0x1bb5ff(0x214)](),_0x15cf6a=_0x1dd181?_0xdf516[_0x1bb5ff(0x1b1)](_0x1bb5ff(0x1c1)):null,_0x1e845e=_0x2c853c?_0xdf516['getTextureNode'](_0x1bb5ff(0x1fd)):null,_0x4648d5=this[_0x1bb5ff(0x1b0)];let _0x4481c5=_0x2ce581;const _0x1f20ee=_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType[_0x1bb5ff(0x1cf)]),_0xef16d3=_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType['LensFlare']);if(_0x1f20ee||_0xef16d3){const _0x1c7c1b=(_0x5235f7=this[_0x1bb5ff(0x1b5)](PostProcessStepType['Bloom']))!==null&&_0x5235f7!==void 0?_0x5235f7:DefaultBloomParam;this['bloomPass']=bloom(_0x2ce581),this[_0x1bb5ff(0x20c)]['threshold']['value']=_0x1c7c1b[_0x1bb5ff(0x1dc)],this[_0x1bb5ff(0x20c)][_0x1bb5ff(0x1d7)]['value']=_0x1c7c1b[_0x1bb5ff(0x1d7)],this[_0x1bb5ff(0x20c)][_0x1bb5ff(0x217)][_0x1bb5ff(0x1db)]=_0x1c7c1b[_0x1bb5ff(0x217)];if(_0x1f20ee){const _0x2ad26d=this['bloomPass'][_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x1d0)]);_0x4481c5=vec4(_0x2ce581['r'][_0x1bb5ff(0x21e)](_0x2ad26d['r']),_0x2ce581['g'][_0x1bb5ff(0x21e)](_0x2ad26d['g']),_0x2ce581['b'][_0x1bb5ff(0x21e)](_0x2ad26d['b']),_0x2ce581['a']);}if(_0xef16d3){const _0x18e10e=(_0x5aeae1=this['getStepParam'](PostProcessStepType['LensFlare']))!==null&&_0x5aeae1!==void 0?_0x5aeae1:DefaultLensFlareParam;this[_0x1bb5ff(0x212)]=lensflare(this[_0x1bb5ff(0x20c)][_0x1bb5ff(0x1b1)](),{'ghostTint':vec3(_0x18e10e[_0x1bb5ff(0x1dd)][0x0],_0x18e10e[_0x1bb5ff(0x1dd)][0x1],_0x18e10e[_0x1bb5ff(0x1dd)][0x2]),'threshold':float(_0x18e10e['threshold']),'ghostSamples':float(_0x18e10e[_0x1bb5ff(0x20a)]),'ghostSpacing':float(_0x18e10e['ghostSpacing']),'ghostAttenuationFactor':float(_0x18e10e[_0x1bb5ff(0x1fc)]),'downSampleRatio':_0x18e10e[_0x1bb5ff(0x1b3)]});const _0x312753=this['lensflarePass'][_0x1bb5ff(0x1b1)]();_0x4481c5=vec4(_0x4481c5['r'][_0x1bb5ff(0x21e)](_0x312753['r']),_0x4481c5['g'][_0x1bb5ff(0x21e)](_0x312753['g']),_0x4481c5['b']['add'](_0x312753['b']),_0x4481c5['a']);}}if(_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType['DepthOfField'])){const _0xc1c95e=(_0x5a80c2=this['getStepParam'](PostProcessStepType['DepthOfField']))!==null&&_0x5a80c2!==void 0?_0x5a80c2:DefaultDOFParam;this[_0x1bb5ff(0x1bc)]=dof(_0x4481c5,_0x44e48f,uniform(_0xc1c95e[_0x1bb5ff(0x1e8)]),uniform(_0xc1c95e[_0x1bb5ff(0x1d5)]),uniform(_0xc1c95e['maxblur'])),_0x4481c5=vec4(this[_0x1bb5ff(0x1bc)]['r'],this[_0x1bb5ff(0x1bc)]['g'],this['dofPass']['b'],_0x2ce581['a']);}if(_0x1dd181&&_0x15cf6a){const _0x1d8a6e=(_0x114ad2=this['getStepParam'](PostProcessStepType[_0x1bb5ff(0x216)]))!==null&&_0x114ad2!==void 0?_0x114ad2:DefaultGTAOParam;this[_0x1bb5ff(0x1f0)]=ao(_0x1b3ced,_0x15cf6a,this[_0x1bb5ff(0x1b4)]),this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1eb)]=0.5,this['gtaoPass'][_0x1bb5ff(0x208)][_0x1bb5ff(0x1db)]=_0x1d8a6e['distanceExponent'],this[_0x1bb5ff(0x1f0)]['distanceFallOff'][_0x1bb5ff(0x1db)]=_0x1d8a6e['distanceFallOff'],this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x217)][_0x1bb5ff(0x1db)]=_0x1d8a6e[_0x1bb5ff(0x217)],this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1bd)]['value']=_0x1d8a6e[_0x1bb5ff(0x1bd)],this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1da)]['value']=_0x1d8a6e[_0x1bb5ff(0x1da)],this[_0x1bb5ff(0x1f0)]['samples'][_0x1bb5ff(0x1db)]=_0x1d8a6e[_0x1bb5ff(0x202)],this[_0x1bb5ff(0x1f0)]['useTemporalFiltering']=_0x1d8a6e[_0x1bb5ff(0x1c6)];const _0x1312ef=this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1b1)]()['r'];_0x4481c5=vec4(_0x4481c5['r']['mul'](_0x1312ef),_0x4481c5['g'][_0x1bb5ff(0x1e3)](_0x1312ef),_0x4481c5['b'][_0x1bb5ff(0x1e3)](_0x1312ef),_0x4481c5['a']);}if(_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType[_0x1bb5ff(0x1e7)])){const _0x50f0ea=(_0xe9a8fc=this[_0x1bb5ff(0x1b5)](PostProcessStepType[_0x1bb5ff(0x1e7)]))!==null&&_0xe9a8fc!==void 0?_0xe9a8fc:DefaultOutlineParams;this[_0x1bb5ff(0x219)]=outline(this[_0x1bb5ff(0x211)],this['camera'],{'selectedObjects':this[_0x1bb5ff(0x1b2)],'edgeGlow':uniform(_0x50f0ea[_0x1bb5ff(0x1ec)]),'edgeThickness':uniform(_0x50f0ea[_0x1bb5ff(0x20f)])});const {visibleEdge:_0x2ef4c6,hiddenEdge:_0x3a24a1}=this['outlinePass'],_0x3d2f89=_0x4648d5[_0x1bb5ff(0x206)][_0x1bb5ff(0x1df)](0x0)[_0x1bb5ff(0x223)](_0x4648d5['outlinePulsePeriod'],uniform(0x1)),_0x5dbe12=time[_0x1bb5ff(0x1d9)](_0x3d2f89)[_0x1bb5ff(0x1e3)](0x2),_0x2e49e5=oscSine(_0x5dbe12)[_0x1bb5ff(0x1e3)](0.5)['add'](0.5),_0x54c26f=_0x2ef4c6[_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x1f9)])[_0x1bb5ff(0x21e)](_0x3a24a1[_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x205)]))[_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x209)]),_0x34166c=_0x4648d5[_0x1bb5ff(0x206)][_0x1bb5ff(0x1df)](0x0),_0x1bde31=_0x34166c[_0x1bb5ff(0x223)](_0x2e49e5,float(0x1));_0x4481c5=vec4(_0x4481c5['r'][_0x1bb5ff(0x21e)](_0x54c26f['r'][_0x1bb5ff(0x1e3)](_0x1bde31)),_0x4481c5['g'][_0x1bb5ff(0x21e)](_0x54c26f['g'][_0x1bb5ff(0x1e3)](_0x1bde31)),_0x4481c5['b']['add'](_0x54c26f['b'][_0x1bb5ff(0x1e3)](_0x1bde31)),_0x4481c5['a']);}if(_0x2f25b0){if(_0x2f25b0[_0x1bb5ff(0x1e2)]==='fxaa')_0x4481c5=fxaa(_0x4481c5);else {if(_0x2f25b0[_0x1bb5ff(0x1e2)]===_0x1bb5ff(0x1f3))_0x4481c5=smaa(_0x4481c5);else _0x2f25b0[_0x1bb5ff(0x1e2)]===_0x1bb5ff(0x1af)&&_0x1e845e&&(this[_0x1bb5ff(0x1e4)]=traa(_0x4481c5,_0x1b3ced,_0x1e845e,this['camera']),_0x4481c5=this['traaPass'][_0x1bb5ff(0x1b1)]());}}_0x4481c5=this[_0x1bb5ff(0x1e1)](_0x4481c5),_0x4481c5=vec4(_0x4481c5['r'],_0x4481c5['g'],_0x4481c5['b'],_0x2ce581['a']),this[_0x1bb5ff(0x1e6)][_0x1bb5ff(0x1f4)]=_0x4481c5,this[_0x1bb5ff(0x1e6)][_0x1bb5ff(0x1c9)]=!![];}[_0x579060(0x1e1)](_0x1bc9fa){return _0x1bc9fa;}[_0x579060(0x21f)](){const _0x19ec4b=_0x579060;var _0x4ec68e,_0x261cc5,_0x454205,_0x10427e;const _0x17bc74=(_0x4ec68e=this[_0x19ec4b(0x1b5)](PostProcessStepType[_0x19ec4b(0x1cf)]))!==null&&_0x4ec68e!==void 0?_0x4ec68e:DefaultBloomParam,_0x1bae58=(_0x261cc5=this[_0x19ec4b(0x1b5)](PostProcessStepType[_0x19ec4b(0x1bb)]))!==null&&_0x261cc5!==void 0?_0x261cc5:DefaultDOFParam,_0x3385b1=(_0x454205=this['getStepParam'](PostProcessStepType[_0x19ec4b(0x216)]))!==null&&_0x454205!==void 0?_0x454205:DefaultGTAOParam,_0x679fac=(_0x10427e=this[_0x19ec4b(0x1b5)](PostProcessStepType[_0x19ec4b(0x1e7)]))!==null&&_0x10427e!==void 0?_0x10427e:DefaultOutlineParams;return {'bloomEnabled':uniform(0x0),'bloomStrength':uniform(_0x17bc74[_0x19ec4b(0x1d7)]),'bloomThreshold':uniform(_0x17bc74[_0x19ec4b(0x1dc)]),'bloomRadius':uniform(_0x17bc74[_0x19ec4b(0x217)]),'dofEnabled':uniform(0x0),'dofFocus':uniform(_0x1bae58['focus']),'dofAperture':uniform(_0x1bae58[_0x19ec4b(0x1d5)]),'dofMaxBlur':uniform(_0x1bae58[_0x19ec4b(0x20d)]),'gtaoEnabled':uniform(0x0),'gtaoScale':uniform(_0x3385b1[_0x19ec4b(0x1bd)]),'gtaoDistanceExponent':uniform(_0x3385b1[_0x19ec4b(0x208)]),'gtaoDistanceFallOff':uniform(_0x3385b1[_0x19ec4b(0x213)]),'gtaoRadius':uniform(_0x3385b1[_0x19ec4b(0x217)]),'gtaoThickness':uniform(_0x3385b1[_0x19ec4b(0x1da)]),'gtaoSamples':uniform(_0x3385b1[_0x19ec4b(0x202)]),'outlineEnabled':uniform(0x0),'outlineEdgeStrength':uniform(_0x679fac[_0x19ec4b(0x1d3)]),'outlineEdgeGlow':uniform(_0x679fac[_0x19ec4b(0x1ec)]),'outlineEdgeThickness':uniform(_0x679fac[_0x19ec4b(0x20f)]),'outlinePulsePeriod':uniform(_0x679fac[_0x19ec4b(0x222)]),'outlineVisibleEdgeColor':uniform(new Color(_0x679fac[_0x19ec4b(0x1ca)])),'outlineHiddenEdgeColor':uniform(new Color(_0x679fac[_0x19ec4b(0x1c4)])),'fxaaEnabled':uniform(0x0),'smaaEnabled':uniform(0x0),'lensflareEnabled':uniform(0x0)};}[_0x579060(0x1b5)](_0x2eb855){const _0x56624c=_0x579060;var _0x1ea09c;return (_0x1ea09c=this['postProcessParam'][_0x56624c(0x1e9)][_0x56624c(0x1c5)](_0x2c7f14=>_0x2c7f14[_0x56624c(0x1cb)]===_0x2eb855))!==null&&_0x1ea09c!==void 0?_0x1ea09c:null;}['updateAllUniforms'](){const _0x32280c=_0x579060;if(!this['effectUniforms'])return;const _0x475f2e=this['effectUniforms'],_0x477894=new Set(this['postProcessParam'][_0x32280c(0x1e9)][_0x32280c(0x21a)](_0x5795a3=>_0x5795a3[_0x32280c(0x1cb)]));_0x475f2e['bloomEnabled']['value']=_0x477894['has'](PostProcessStepType['Bloom'])?0x1:0x0,_0x475f2e['dofEnabled']['value']=_0x477894[_0x32280c(0x1fa)](PostProcessStepType[_0x32280c(0x1bb)])?0x1:0x0,_0x475f2e['gtaoEnabled'][_0x32280c(0x1db)]=_0x477894[_0x32280c(0x1fa)](PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0x475f2e['outlineEnabled'][_0x32280c(0x1db)]=_0x477894[_0x32280c(0x1fa)](PostProcessStepType[_0x32280c(0x1e7)])?0x1:0x0,_0x475f2e[_0x32280c(0x20b)][_0x32280c(0x1db)]=_0x477894[_0x32280c(0x1fa)](PostProcessStepType[_0x32280c(0x204)])?0x1:0x0;const _0x11d17e=this[_0x32280c(0x1b5)](PostProcessStepType['Antialiasing']);_0x11d17e?(_0x475f2e[_0x32280c(0x1cc)]['value']=_0x11d17e[_0x32280c(0x1e2)]===_0x32280c(0x1f6)?0x1:0x0,_0x475f2e[_0x32280c(0x1ac)][_0x32280c(0x1db)]=_0x11d17e[_0x32280c(0x1e2)]==='smaa'?0x1:0x0):(_0x475f2e[_0x32280c(0x1cc)][_0x32280c(0x1db)]=0x0,_0x475f2e[_0x32280c(0x1ac)][_0x32280c(0x1db)]=0x0);const _0x1a69cd=this[_0x32280c(0x1b5)](PostProcessStepType['Bloom']);_0x1a69cd&&(_0x475f2e['bloomStrength']['value']=_0x1a69cd['strength'],_0x475f2e[_0x32280c(0x1be)][_0x32280c(0x1db)]=_0x1a69cd['threshold'],_0x475f2e[_0x32280c(0x203)][_0x32280c(0x1db)]=_0x1a69cd[_0x32280c(0x217)],this[_0x32280c(0x20c)]&&(this[_0x32280c(0x20c)][_0x32280c(0x1dc)][_0x32280c(0x1db)]=_0x1a69cd[_0x32280c(0x1dc)],this[_0x32280c(0x20c)][_0x32280c(0x1d7)][_0x32280c(0x1db)]=_0x1a69cd['strength'],this['bloomPass'][_0x32280c(0x217)]['value']=_0x1a69cd[_0x32280c(0x217)]));const _0x4126f7=this[_0x32280c(0x1b5)](PostProcessStepType[_0x32280c(0x204)]);if(_0x4126f7&&this[_0x32280c(0x212)]);const _0x470a0e=this[_0x32280c(0x1b5)](PostProcessStepType[_0x32280c(0x1bb)]);_0x470a0e&&(_0x475f2e[_0x32280c(0x1e0)]['value']=_0x470a0e['focus'],_0x475f2e[_0x32280c(0x1ef)][_0x32280c(0x1db)]=_0x470a0e['aperture'],_0x475f2e[_0x32280c(0x221)][_0x32280c(0x1db)]=_0x470a0e['maxblur'],this[_0x32280c(0x1bc)]&&(this[_0x32280c(0x1bc)][_0x32280c(0x1fe)][_0x32280c(0x1db)]=_0x470a0e[_0x32280c(0x1e8)],this[_0x32280c(0x1bc)]['focalLengthNode']['value']=_0x470a0e[_0x32280c(0x1d5)],this[_0x32280c(0x1bc)][_0x32280c(0x1fb)][_0x32280c(0x1db)]=_0x470a0e['maxblur']));const _0x1dc76=this[_0x32280c(0x1b5)](PostProcessStepType[_0x32280c(0x216)]);_0x1dc76&&(_0x475f2e['gtaoScale'][_0x32280c(0x1db)]=_0x1dc76['scale'],_0x475f2e[_0x32280c(0x1ce)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x208)],_0x475f2e[_0x32280c(0x1ea)][_0x32280c(0x1db)]=_0x1dc76['distanceFallOff'],_0x475f2e[_0x32280c(0x210)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x217)],_0x475f2e[_0x32280c(0x218)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x1da)],_0x475f2e['gtaoSamples']['value']=_0x1dc76[_0x32280c(0x202)],this[_0x32280c(0x1f0)]&&(this[_0x32280c(0x1f0)]['distanceExponent'][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x208)],this[_0x32280c(0x1f0)][_0x32280c(0x213)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x213)],this['gtaoPass'][_0x32280c(0x217)]['value']=_0x1dc76[_0x32280c(0x217)],this[_0x32280c(0x1f0)][_0x32280c(0x1bd)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x1bd)],this[_0x32280c(0x1f0)]['thickness'][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x1da)],this[_0x32280c(0x1f0)][_0x32280c(0x202)]['value']=_0x1dc76['samples'],this['gtaoPass'][_0x32280c(0x1c6)]=_0x1dc76['useTemporalFiltering']));const _0x1b34e9=this[_0x32280c(0x1b5)](PostProcessStepType['Outline']);_0x1b34e9&&(_0x475f2e[_0x32280c(0x209)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x1d3)],_0x475f2e['outlineEdgeGlow'][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x1ec)],_0x475f2e[_0x32280c(0x1f7)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x20f)],_0x475f2e[_0x32280c(0x206)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x222)],_0x475f2e[_0x32280c(0x1f9)][_0x32280c(0x1db)][_0x32280c(0x1d4)](_0x1b34e9[_0x32280c(0x1ca)]),_0x475f2e[_0x32280c(0x205)]['value'][_0x32280c(0x1d4)](_0x1b34e9[_0x32280c(0x1c4)]),this[_0x32280c(0x219)]&&(this[_0x32280c(0x219)][_0x32280c(0x1c2)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x1ec)],this['outlinePass'][_0x32280c(0x1d6)]['value']=_0x1b34e9[_0x32280c(0x20f)],this[_0x32280c(0x219)][_0x32280c(0x1de)]=this['outlineObjects']));}[_0x579060(0x1c7)](_0xd1b3ac){const _0x55ea0a=_0x579060;this[_0x55ea0a(0x1d8)][_0x55ea0a(0x1e9)]=_0xd1b3ac,this[_0x55ea0a(0x1ee)](),this[_0x55ea0a(0x220)](),this[_0x55ea0a(0x1f2)]();}[_0x579060(0x201)](_0x50ba6d){const _0x3b08ec=_0x579060;!this[_0x3b08ec(0x1b2)]['includes'](_0x50ba6d)&&(this[_0x3b08ec(0x1b2)][_0x3b08ec(0x21c)](_0x50ba6d),this[_0x3b08ec(0x219)]&&(this[_0x3b08ec(0x219)][_0x3b08ec(0x1de)]=this[_0x3b08ec(0x1b2)])),this[_0x3b08ec(0x1f2)]();}[_0x579060(0x1f1)](_0x22e984){const _0xa0e017=_0x579060;this[_0xa0e017(0x1b2)]['length']=0x0,this[_0xa0e017(0x1b2)][_0xa0e017(0x21c)](..._0x22e984),this[_0xa0e017(0x219)]&&(this['outlinePass'][_0xa0e017(0x1de)]=this[_0xa0e017(0x1b2)]),this[_0xa0e017(0x1f2)]();}[_0x579060(0x1b7)](_0x5c8dd9){const _0x1d7f6f=_0x579060,_0x5abd66=this[_0x1d7f6f(0x1b2)]['indexOf'](_0x5c8dd9);_0x5abd66>-1&&(this[_0x1d7f6f(0x1b2)][_0x1d7f6f(0x1ae)](_0x5abd66,0x1),this[_0x1d7f6f(0x219)]&&(this['outlinePass']['selectedObjects']=this[_0x1d7f6f(0x1b2)])),this[_0x1d7f6f(0x1f2)]();}['setLUT3DTexture'](_0x12b6e0){const _0x417e8f=_0x579060;this[_0x417e8f(0x215)]=_0x12b6e0,this[_0x417e8f(0x1ee)](),this['updateAllUniforms'](),this['markDirty']();}[_0x579060(0x1cd)](){const _0x196e1e=_0x579060;return this[_0x196e1e(0x215)];}[_0x579060(0x1b6)](){const _0x110c9f=_0x579060;if(this[_0x110c9f(0x1e6)])return this[_0x110c9f(0x1e6)]['render'](),!![];return ![];}['destroy'](){const _0x492140=_0x579060;this[_0x492140(0x1b2)]=[],this[_0x492140(0x1b0)]=null,this[_0x492140(0x219)]=null,this[_0x492140(0x20c)]=null,this['dofPass']=null,this[_0x492140(0x1f0)]=null,this['traaPass']=null,this[_0x492140(0x212)]=null,this[_0x492140(0x215)]=null,this[_0x492140(0x1e6)]&&(this[_0x492140(0x1e6)]['dispose'](),this['postProcessing']=null);}[_0x579060(0x1f2)](){const _0x1823b8=_0x579060;this['onDirtyCallback']&&this[_0x1823b8(0x1d1)]();}}
|
|
79
79
|
|
|
80
|
-
const _0xa2a3ce=_0xb1ee;(function(_0x39ceaa,_0x4abee8){const _0x3abf5f=_0xb1ee,_0x338eed=_0x39ceaa();while(!![]){try{const _0x53b7cf=-parseInt(_0x3abf5f(0x208))/0x1+parseInt(_0x3abf5f(0x1f7))/0x2+parseInt(_0x3abf5f(0x21e))/0x3*(-parseInt(_0x3abf5f(0x20f))/0x4)+parseInt(_0x3abf5f(0x22d))/0x5*(-parseInt(_0x3abf5f(0x211))/0x6)+parseInt(_0x3abf5f(0x22b))/0x7+parseInt(_0x3abf5f(0x1fa))/0x8*(parseInt(_0x3abf5f(0x231))/0x9)+parseInt(_0x3abf5f(0x22f))/0xa*(-parseInt(_0x3abf5f(0x22a))/0xb);if(_0x53b7cf===_0x4abee8)break;else _0x338eed['push'](_0x338eed['shift']());}catch(_0x2b7629){_0x338eed['push'](_0x338eed['shift']());}}}(_0x3c61,0x19575));function _0xb1ee(_0x56c624,_0x478e01){_0x56c624=_0x56c624-0x1f1;const _0x3c6166=_0x3c61();let _0xb1ee2e=_0x3c6166[_0x56c624];return _0xb1ee2e;}function _0x3c61(){const _0x2b9d41=['find','168377muqaLP','1184582BmYEOq','aperture','25pMJbpC','render','50yIwExJ','Bloom','963pAZYnV','hiddenEdgeColor','fxaaPass','scene','Antialiasing','getStepParam','updateCamera','updateSteps','pulsePeriod','markDirty','steps','type','edgeGlow','dofPass','lut3dTexture','camera','smaaPass','fxaa','strength','outlinePass','maxblur','266394fiEazX','updateGTAOParameters','has','7928LEQrOI','updateOutlineParameters','includes','addPass','renderer','resize','removeOutlineObject','setLUT3DTexture','threshold','splice','GroundTruthAmbientOcclusion','Outline','dispose','DepthOfField','172431NXMkxS','method','setSize','focus','map','bloomPass','renderCamera','5636jbARZZ','lutPass','2586YloXbA','push','onDirtyCallback','outputPass','outlineObjects','renderPass','postProcessParam','radius','setOutlineObjects','addOutlineObject','resolution','edgeThickness','blendIntensity','114klLhVP','gtaoPass','getSize','composer','edgeStrength','uniforms','setup','buildPipeline','selectedObjects','value','set'];_0x3c61=function(){return _0x2b9d41;};return _0x3c61();}class WebGLPostProcessManager{constructor(_0x28fab7,_0x182b36,_0x29497d,_0x4173d7,_0x57c50c){const _0x5380f6=_0xb1ee;this[_0x5380f6(0x221)]=null,this['outlineObjects']=[],this[_0x5380f6(0x216)]=null,this[_0x5380f6(0x1f5)]=null,this['bloomPass']=null,this['dofPass']=null,this[_0x5380f6(0x21f)]=null,this[_0x5380f6(0x1f2)]=null,this[_0x5380f6(0x233)]=null,this[_0x5380f6(0x210)]=null,this['outputPass']=null,this[_0x5380f6(0x23f)]=null,this[_0x5380f6(0x213)]=null,this['renderer']=_0x28fab7,this[_0x5380f6(0x234)]=_0x182b36,this['camera']=_0x29497d,this[_0x5380f6(0x217)]=Object['assign']({},_0x4173d7),this[_0x5380f6(0x213)]=_0x57c50c!==null&&_0x57c50c!==void 0?_0x57c50c:null;}get['processing'](){const _0x5322fd=_0xb1ee;return this[_0x5322fd(0x221)];}[_0xa2a3ce(0x237)](_0x5d179d){const _0x39f2bd=_0xa2a3ce;this[_0x39f2bd(0x1f1)]=_0x5d179d;if(!this[_0x39f2bd(0x221)])this[_0x39f2bd(0x225)](),this[_0x39f2bd(0x23a)]();else {if(this[_0x39f2bd(0x216)])this[_0x39f2bd(0x216)][_0x39f2bd(0x1f1)]=this[_0x39f2bd(0x1f1)];if(this['outlinePass'])this[_0x39f2bd(0x1f5)][_0x39f2bd(0x20e)]=this[_0x39f2bd(0x1f1)];this[_0x39f2bd(0x23e)]&&(this[_0x39f2bd(0x23e)][_0x39f2bd(0x1f1)]=this[_0x39f2bd(0x1f1)]),this[_0x39f2bd(0x21f)]&&(this[_0x39f2bd(0x21f)]['camera']=this[_0x39f2bd(0x1f1)]);}}[_0xa2a3ce(0x224)](){const _0x2723e3=_0xa2a3ce;!this[_0x2723e3(0x221)]?this[_0x2723e3(0x225)]():this['updateAllParameters'](),this['markDirty']();}[_0xa2a3ce(0x225)](){const _0x5e42b0=_0xa2a3ce;var _0x28eebb,_0x1302db,_0x1c369b,_0x3eae98;this[_0x5e42b0(0x221)]&&this['composer']['dispose']();this['composer']=new EffectComposer(this[_0x5e42b0(0x1fe)]),this[_0x5e42b0(0x216)]=new RenderPass(this['scene'],this[_0x5e42b0(0x1f1)]),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this[_0x5e42b0(0x216)]),this[_0x5e42b0(0x1f5)]=null,this[_0x5e42b0(0x20d)]=null,this[_0x5e42b0(0x23e)]=null,this['gtaoPass']=null,this['smaaPass']=null,this[_0x5e42b0(0x233)]=null,this[_0x5e42b0(0x210)]=null,this[_0x5e42b0(0x214)]=null;const _0x386356=new Set(this[_0x5e42b0(0x217)][_0x5e42b0(0x23b)][_0x5e42b0(0x20c)](_0x24ef39=>_0x24ef39[_0x5e42b0(0x23c)]));if(_0x386356[_0x5e42b0(0x1f9)](PostProcessStepType[_0x5e42b0(0x204)])){const _0x582cd5=(_0x28eebb=this['getStepParam'](PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x28eebb!==void 0?_0x28eebb:DefaultGTAOParam,_0x5af70d=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new Vector2());this[_0x5e42b0(0x21f)]=new GTAOPass(this[_0x5e42b0(0x234)],this[_0x5e42b0(0x1f1)],_0x5af70d['x'],_0x5af70d['y']),this['updateGTAOParameters'](_0x582cd5),this[_0x5e42b0(0x221)]['addPass'](this['gtaoPass']);}if(_0x386356[_0x5e42b0(0x1f9)](PostProcessStepType[_0x5e42b0(0x207)])){const _0x446f2a=(_0x1302db=this[_0x5e42b0(0x236)](PostProcessStepType[_0x5e42b0(0x207)]))!==null&&_0x1302db!==void 0?_0x1302db:DefaultDOFParam;this[_0x5e42b0(0x23e)]=new BokehPass(this[_0x5e42b0(0x234)],this[_0x5e42b0(0x1f1)],{'focus':_0x446f2a[_0x5e42b0(0x20b)],'aperture':_0x446f2a['aperture'],'maxblur':_0x446f2a[_0x5e42b0(0x1f6)]}),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['dofPass']);}if(_0x386356[_0x5e42b0(0x1f9)](PostProcessStepType[_0x5e42b0(0x230)])){const _0x4a1d67=(_0x1c369b=this[_0x5e42b0(0x236)](PostProcessStepType[_0x5e42b0(0x230)]))!==null&&_0x1c369b!==void 0?_0x1c369b:DefaultBloomParam,_0x24d37d=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new Vector2());this[_0x5e42b0(0x20d)]=new UnrealBloomPass(_0x24d37d,_0x4a1d67[_0x5e42b0(0x1f4)],_0x4a1d67[_0x5e42b0(0x218)],_0x4a1d67[_0x5e42b0(0x202)]),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['bloomPass']);}if(_0x386356['has'](PostProcessStepType[_0x5e42b0(0x205)])){const _0x20eea3=(_0x3eae98=this['getStepParam'](PostProcessStepType[_0x5e42b0(0x205)]))!==null&&_0x3eae98!==void 0?_0x3eae98:DefaultOutlineParams,_0x46bb64=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new Vector2());this[_0x5e42b0(0x1f5)]=new OutlinePass(_0x46bb64,this['scene'],this['camera']),this[_0x5e42b0(0x1f5)][_0x5e42b0(0x226)]=this[_0x5e42b0(0x215)],this[_0x5e42b0(0x1fb)](_0x20eea3),this['composer'][_0x5e42b0(0x1fd)](this['outlinePass']);}this[_0x5e42b0(0x23f)]&&(this[_0x5e42b0(0x210)]=new LUTPass({'lut':this[_0x5e42b0(0x23f)]}),this['composer'][_0x5e42b0(0x1fd)](this['lutPass']));const _0x5e42eb=this[_0x5e42b0(0x236)](PostProcessStepType[_0x5e42b0(0x235)]);if(_0x5e42eb){const _0x23dae1=this[_0x5e42b0(0x1fe)][_0x5e42b0(0x220)](new Vector2());if(_0x5e42eb[_0x5e42b0(0x209)]===_0x5e42b0(0x1f3))this[_0x5e42b0(0x233)]=new ShaderPass(FXAAShader),this[_0x5e42b0(0x233)]['uniforms'][_0x5e42b0(0x21b)][_0x5e42b0(0x227)]['set'](0x1/_0x23dae1['x'],0x1/_0x23dae1['y']),this['composer'][_0x5e42b0(0x1fd)](this[_0x5e42b0(0x233)]);else _0x5e42eb['method']==='smaa'&&(this[_0x5e42b0(0x1f2)]=new SMAAPass(_0x23dae1['x'],_0x23dae1['y']),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['smaaPass']));}this[_0x5e42b0(0x214)]=new OutputPass(),this[_0x5e42b0(0x221)][_0x5e42b0(0x1fd)](this['outputPass']);}['getStepParam'](_0x172eaf){const _0x53e875=_0xa2a3ce;var _0x1c153b;return (_0x1c153b=this[_0x53e875(0x217)][_0x53e875(0x23b)][_0x53e875(0x229)](_0x31611d=>_0x31611d['type']===_0x172eaf))!==null&&_0x1c153b!==void 0?_0x1c153b:null;}['updateAllParameters'](){const _0x5dd9a0=_0xa2a3ce,_0x56069a=this[_0x5dd9a0(0x236)](PostProcessStepType['Bloom']);_0x56069a&&this[_0x5dd9a0(0x20d)]&&(this[_0x5dd9a0(0x20d)]['strength']=_0x56069a[_0x5dd9a0(0x1f4)],this['bloomPass'][_0x5dd9a0(0x218)]=_0x56069a['radius'],this['bloomPass'][_0x5dd9a0(0x202)]=_0x56069a['threshold']);const _0x5d8c43=this[_0x5dd9a0(0x236)](PostProcessStepType[_0x5dd9a0(0x207)]);if(_0x5d8c43&&this['dofPass']){const _0x505209=this[_0x5dd9a0(0x23e)];_0x505209[_0x5dd9a0(0x223)]&&(_0x505209[_0x5dd9a0(0x223)][_0x5dd9a0(0x20b)][_0x5dd9a0(0x227)]=_0x5d8c43['focus'],_0x505209[_0x5dd9a0(0x223)][_0x5dd9a0(0x22c)]['value']=_0x5d8c43['aperture'],_0x505209[_0x5dd9a0(0x223)][_0x5dd9a0(0x1f6)]['value']=_0x5d8c43[_0x5dd9a0(0x1f6)]);}const _0x56e796=this[_0x5dd9a0(0x236)](PostProcessStepType[_0x5dd9a0(0x204)]);_0x56e796&&this[_0x5dd9a0(0x21f)]&&this[_0x5dd9a0(0x1f8)](_0x56e796);const _0x28a210=this[_0x5dd9a0(0x236)](PostProcessStepType[_0x5dd9a0(0x205)]);_0x28a210&&this[_0x5dd9a0(0x1f5)]&&this[_0x5dd9a0(0x1fb)](_0x28a210);}['updateGTAOParameters'](_0x53d466){const _0x1a5672=_0xa2a3ce;if(!this[_0x1a5672(0x21f)])return;this[_0x1a5672(0x21f)][_0x1a5672(0x21d)]=_0x53d466['scale'];}['updateOutlineParameters'](_0x24f92e){const _0x5f299a=_0xa2a3ce;if(!this[_0x5f299a(0x1f5)])return;this['outlinePass'][_0x5f299a(0x222)]=_0x24f92e[_0x5f299a(0x222)],this['outlinePass']['edgeGlow']=_0x24f92e[_0x5f299a(0x23d)],this[_0x5f299a(0x1f5)][_0x5f299a(0x21c)]=_0x24f92e[_0x5f299a(0x21c)],this[_0x5f299a(0x1f5)]['pulsePeriod']=_0x24f92e[_0x5f299a(0x239)],this['outlinePass']['visibleEdgeColor']=new Color$1(_0x24f92e['visibleEdgeColor']),this[_0x5f299a(0x1f5)]['hiddenEdgeColor']=new Color$1(_0x24f92e[_0x5f299a(0x232)]);}[_0xa2a3ce(0x238)](_0x93a787){const _0x2f0ad8=_0xa2a3ce;this[_0x2f0ad8(0x217)]['steps']=_0x93a787,this[_0x2f0ad8(0x225)](),this['markDirty']();}[_0xa2a3ce(0x21a)](_0x3e7144){const _0x438d5e=_0xa2a3ce;!this[_0x438d5e(0x215)][_0x438d5e(0x1fc)](_0x3e7144)&&(this[_0x438d5e(0x215)]['push'](_0x3e7144),this[_0x438d5e(0x1f5)]&&(this[_0x438d5e(0x1f5)][_0x438d5e(0x226)]=this['outlineObjects'])),this[_0x438d5e(0x23a)]();}[_0xa2a3ce(0x219)](_0x2100d2){const _0x460715=_0xa2a3ce;this[_0x460715(0x215)]['length']=0x0,this[_0x460715(0x215)][_0x460715(0x212)](..._0x2100d2),this[_0x460715(0x1f5)]&&(this[_0x460715(0x1f5)][_0x460715(0x226)]=this[_0x460715(0x215)]),this['markDirty']();}[_0xa2a3ce(0x200)](_0x7880e3){const _0x5a0715=_0xa2a3ce,_0x32ca3e=this[_0x5a0715(0x215)]['indexOf'](_0x7880e3);_0x32ca3e>-1&&(this[_0x5a0715(0x215)][_0x5a0715(0x203)](_0x32ca3e,0x1),this['outlinePass']&&(this[_0x5a0715(0x1f5)][_0x5a0715(0x226)]=this[_0x5a0715(0x215)])),this[_0x5a0715(0x23a)]();}[_0xa2a3ce(0x201)](_0x4906d8){const _0x90ce5e=_0xa2a3ce;this[_0x90ce5e(0x23f)]=_0x4906d8,this[_0x90ce5e(0x225)](),this[_0x90ce5e(0x23a)]();}['getLUT3DTexture'](){return this['lut3dTexture'];}[_0xa2a3ce(0x22e)](){const _0x33bff9=_0xa2a3ce;if(this[_0x33bff9(0x221)])return this[_0x33bff9(0x221)]['render'](),!![];return ![];}[_0xa2a3ce(0x1ff)](_0x553bcb,_0x46c63a){const _0x3826cb=_0xa2a3ce;this['composer']&&this[_0x3826cb(0x221)][_0x3826cb(0x20a)](_0x553bcb,_0x46c63a),this[_0x3826cb(0x233)]&&this[_0x3826cb(0x233)]['uniforms']['resolution']['value'][_0x3826cb(0x228)](0x1/_0x553bcb,0x1/_0x46c63a);}['destroy'](){const _0x41f2ed=_0xa2a3ce;this[_0x41f2ed(0x215)]=[],this[_0x41f2ed(0x1f5)]=null,this[_0x41f2ed(0x20d)]=null,this[_0x41f2ed(0x23e)]=null,this[_0x41f2ed(0x21f)]=null,this[_0x41f2ed(0x1f2)]=null,this['fxaaPass']=null,this[_0x41f2ed(0x210)]=null,this[_0x41f2ed(0x214)]=null,this[_0x41f2ed(0x23f)]=null,this[_0x41f2ed(0x221)]&&(this[_0x41f2ed(0x221)][_0x41f2ed(0x206)](),this['composer']=null);}['markDirty'](){this['onDirtyCallback']&&this['onDirtyCallback']();}}
|
|
80
|
+
const _0x13f953=_0x4f96;(function(_0x366337,_0x29ca3c){const _0x12bfed=_0x4f96,_0x35e255=_0x366337();while(!![]){try{const _0x162c83=parseInt(_0x12bfed(0x79))/0x1+-parseInt(_0x12bfed(0xb5))/0x2*(-parseInt(_0x12bfed(0x74))/0x3)+parseInt(_0x12bfed(0x75))/0x4*(parseInt(_0x12bfed(0x8a))/0x5)+-parseInt(_0x12bfed(0xb4))/0x6+parseInt(_0x12bfed(0xb9))/0x7*(-parseInt(_0x12bfed(0xaf))/0x8)+-parseInt(_0x12bfed(0x95))/0x9*(-parseInt(_0x12bfed(0xc3))/0xa)+parseInt(_0x12bfed(0x73))/0xb;if(_0x162c83===_0x29ca3c)break;else _0x35e255['push'](_0x35e255['shift']());}catch(_0x4eca6c){_0x35e255['push'](_0x35e255['shift']());}}}(_0x2b7a,0xdbc91));function _0x4f96(_0x1598ab,_0x19df1a){_0x1598ab=_0x1598ab-0x71;const _0x2b7aeb=_0x2b7a();let _0x4f96ed=_0x2b7aeb[_0x1598ab];return _0x4f96ed;}function _0x2b7a(){const _0x4b2d9d=['pulsePeriod','steps','renderer','camera','set','addPass','render','threshold','smaa','uniforms','outputPass','scene','getSize','outlineObjects','setOutlineObjects','selectedObjects','postProcessParam','blendIntensity','length','renderPass','onDirtyCallback','setup','Outline','Antialiasing','markDirty','13155920CVNdQa','setSize','fxaa','updateSteps','processing','6413226BFODTK','2372YAIYNK','dofPass','updateOutlineParameters','Bloom','7NpiDlC','updateCamera','includes','hiddenEdgeColor','has','focus','gtaoPass','dispose','maxblur','removePass','28990ubMYyh','edgeGlow','edgeStrength','6687241BaKaCQ','2070ylRixC','3292852vJsTiW','lut3dTexture','aperture','indexOf','39275ptCsdq','push','addOutlineObject','fxaaPass','buildCustomPostProcess','value','type','map','visibleEdgeColor','composer','buildPipeline','removeOutlineObject','smaaPass','passes','edgeThickness','getStepParam','outlinePass','5jgWjsF','radius','updateGTAOParameters','renderCamera','lutPass','updateAllParameters','splice','GroundTruthAmbientOcclusion','DepthOfField','bloomPass','strength','4113iFIqOc'];_0x2b7a=function(){return _0x4b2d9d;};return _0x2b7a();}class WebGLPostProcessManager{constructor(_0xae2618,_0x333688,_0x391c74,_0x4a23c0,_0x3ae94c){const _0x5e07f9=_0x4f96;this[_0x5e07f9(0x82)]=null,this[_0x5e07f9(0xa3)]=[],this['renderPass']=null,this['outlinePass']=null,this['bloomPass']=null,this[_0x5e07f9(0xb6)]=null,this[_0x5e07f9(0xbf)]=null,this[_0x5e07f9(0x85)]=null,this[_0x5e07f9(0x7c)]=null,this[_0x5e07f9(0x8e)]=null,this[_0x5e07f9(0xa0)]=null,this[_0x5e07f9(0x76)]=null,this['onDirtyCallback']=null,this['renderer']=_0xae2618,this[_0x5e07f9(0xa1)]=_0x333688,this[_0x5e07f9(0x99)]=_0x391c74,this['postProcessParam']=Object['assign']({},_0x4a23c0),this['onDirtyCallback']=_0x3ae94c!==null&&_0x3ae94c!==void 0?_0x3ae94c:null;}get[_0x13f953(0xb3)](){const _0x3955ee=_0x13f953;return this[_0x3955ee(0x82)];}[_0x13f953(0xba)](_0x36f989){const _0x519984=_0x13f953;this[_0x519984(0x99)]=_0x36f989;if(!this[_0x519984(0x82)])this['buildPipeline'](),this[_0x519984(0xae)]();else {if(this[_0x519984(0xa9)])this[_0x519984(0xa9)]['camera']=this['camera'];if(this['outlinePass'])this[_0x519984(0x89)][_0x519984(0x8d)]=this[_0x519984(0x99)];this[_0x519984(0xb6)]&&(this[_0x519984(0xb6)][_0x519984(0x99)]=this['camera']),this[_0x519984(0xbf)]&&(this[_0x519984(0xbf)]['camera']=this['camera']);}}[_0x13f953(0xab)](){const _0x28951b=_0x13f953;!this[_0x28951b(0x82)]?this['buildPipeline']():this[_0x28951b(0x8f)](),this['markDirty']();}[_0x13f953(0x83)](){const _0x30de75=_0x13f953;var _0x210721,_0x29fca9,_0x4738dc,_0x4d191d;this['composer']&&this[_0x30de75(0x82)][_0x30de75(0xc0)]();this[_0x30de75(0x82)]=new EffectComposer(this[_0x30de75(0x98)]),this['renderPass']=new RenderPass(this[_0x30de75(0xa1)],this[_0x30de75(0x99)]),this['composer'][_0x30de75(0x9b)](this[_0x30de75(0xa9)]),this[_0x30de75(0x89)]=null,this[_0x30de75(0x93)]=null,this[_0x30de75(0xb6)]=null,this[_0x30de75(0xbf)]=null,this[_0x30de75(0x85)]=null,this['fxaaPass']=null,this[_0x30de75(0x8e)]=null,this[_0x30de75(0xa0)]=null;const _0x1965c8=new Set(this[_0x30de75(0xa6)][_0x30de75(0x97)][_0x30de75(0x80)](_0x3758c8=>_0x3758c8['type']));if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType[_0x30de75(0x91)])){const _0x12c6d6=(_0x210721=this['getStepParam'](PostProcessStepType[_0x30de75(0x91)]))!==null&&_0x210721!==void 0?_0x210721:DefaultGTAOParam,_0x207a2c=this['renderer'][_0x30de75(0xa2)](new Vector2());this['gtaoPass']=new GTAOPass(this['scene'],this[_0x30de75(0x99)],_0x207a2c['x'],_0x207a2c['y']),this['updateGTAOParameters'](_0x12c6d6),this['composer'][_0x30de75(0x9b)](this[_0x30de75(0xbf)]);}if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType['DepthOfField'])){const _0x2b9a1a=(_0x29fca9=this['getStepParam'](PostProcessStepType[_0x30de75(0x92)]))!==null&&_0x29fca9!==void 0?_0x29fca9:DefaultDOFParam;this['dofPass']=new BokehPass(this[_0x30de75(0xa1)],this[_0x30de75(0x99)],{'focus':_0x2b9a1a[_0x30de75(0xbe)],'aperture':_0x2b9a1a[_0x30de75(0x77)],'maxblur':_0x2b9a1a[_0x30de75(0xc1)]}),this['composer'][_0x30de75(0x9b)](this[_0x30de75(0xb6)]);}if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType[_0x30de75(0xb8)])){const _0x19b758=(_0x4738dc=this[_0x30de75(0x88)](PostProcessStepType['Bloom']))!==null&&_0x4738dc!==void 0?_0x4738dc:DefaultBloomParam,_0x144313=this[_0x30de75(0x98)][_0x30de75(0xa2)](new Vector2());this[_0x30de75(0x93)]=new UnrealBloomPass(_0x144313,_0x19b758[_0x30de75(0x94)],_0x19b758[_0x30de75(0x8b)],_0x19b758[_0x30de75(0x9d)]),this['composer'][_0x30de75(0x9b)](this['bloomPass']);}if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType['Outline'])){const _0x5db6ef=(_0x4d191d=this[_0x30de75(0x88)](PostProcessStepType[_0x30de75(0xac)]))!==null&&_0x4d191d!==void 0?_0x4d191d:DefaultOutlineParams,_0x580c44=this[_0x30de75(0x98)][_0x30de75(0xa2)](new Vector2());this[_0x30de75(0x89)]=new OutlinePass(_0x580c44,this[_0x30de75(0xa1)],this[_0x30de75(0x99)]),this['outlinePass'][_0x30de75(0xa5)]=this[_0x30de75(0xa3)],this[_0x30de75(0xb7)](_0x5db6ef),this[_0x30de75(0x82)][_0x30de75(0x9b)](this['outlinePass']);}this['lut3dTexture']&&(this[_0x30de75(0x8e)]=new LUTPass({'lut':this[_0x30de75(0x76)]}),this[_0x30de75(0x82)][_0x30de75(0x9b)](this[_0x30de75(0x8e)]));const _0x1ab538=this[_0x30de75(0x88)](PostProcessStepType[_0x30de75(0xad)]);if(_0x1ab538){const _0x493bbf=this['renderer'][_0x30de75(0xa2)](new Vector2());if(_0x1ab538['method']===_0x30de75(0xb1))this[_0x30de75(0x7c)]=new ShaderPass(FXAAShader),this['fxaaPass'][_0x30de75(0x9f)]['resolution'][_0x30de75(0x7e)]['set'](0x1/_0x493bbf['x'],0x1/_0x493bbf['y']),this['composer']['addPass'](this[_0x30de75(0x7c)]);else _0x1ab538['method']===_0x30de75(0x9e)&&(this[_0x30de75(0x85)]=new SMAAPass(_0x493bbf['x'],_0x493bbf['y']),this[_0x30de75(0x82)][_0x30de75(0x9b)](this['smaaPass']));}this[_0x30de75(0xa0)]=new OutputPass(),this[_0x30de75(0x82)][_0x30de75(0x9b)](this[_0x30de75(0xa0)]);}[_0x13f953(0x7d)](_0x70901b){const _0x39abb7=_0x13f953;if(!this['composer'])this['composer']=new EffectComposer(this[_0x39abb7(0x98)]);else while(this['composer'][_0x39abb7(0x86)][_0x39abb7(0xa8)]>0x0){this[_0x39abb7(0x82)][_0x39abb7(0xc2)](this['composer'][_0x39abb7(0x86)][0x0]);}this[_0x39abb7(0xa9)]=null,this[_0x39abb7(0x89)]=null,this[_0x39abb7(0x93)]=null,this[_0x39abb7(0xb6)]=null,this['gtaoPass']=null,this['smaaPass']=null,this[_0x39abb7(0x7c)]=null,this['lutPass']=null,this[_0x39abb7(0xa0)]=null,this['renderPass']=new RenderPass(this[_0x39abb7(0xa1)],this['camera']),this[_0x39abb7(0x82)][_0x39abb7(0x9b)](this[_0x39abb7(0xa9)]);for(const _0x2f50ed of _0x70901b){this[_0x39abb7(0x82)][_0x39abb7(0x9b)](_0x2f50ed);}this[_0x39abb7(0xa0)]=new OutputPass(),this[_0x39abb7(0x82)][_0x39abb7(0x9b)](this[_0x39abb7(0xa0)]),this['markDirty']();}[_0x13f953(0x88)](_0xa5a38a){const _0x42bf56=_0x13f953;var _0x1205a8;return (_0x1205a8=this[_0x42bf56(0xa6)][_0x42bf56(0x97)]['find'](_0x9c9354=>_0x9c9354[_0x42bf56(0x7f)]===_0xa5a38a))!==null&&_0x1205a8!==void 0?_0x1205a8:null;}[_0x13f953(0x8f)](){const _0x41ed8e=_0x13f953,_0x1461e7=this['getStepParam'](PostProcessStepType[_0x41ed8e(0xb8)]);_0x1461e7&&this['bloomPass']&&(this[_0x41ed8e(0x93)][_0x41ed8e(0x94)]=_0x1461e7[_0x41ed8e(0x94)],this['bloomPass'][_0x41ed8e(0x8b)]=_0x1461e7[_0x41ed8e(0x8b)],this[_0x41ed8e(0x93)][_0x41ed8e(0x9d)]=_0x1461e7[_0x41ed8e(0x9d)]);const _0x3e77a7=this[_0x41ed8e(0x88)](PostProcessStepType[_0x41ed8e(0x92)]);if(_0x3e77a7&&this[_0x41ed8e(0xb6)]){const _0x4933d6=this['dofPass'];_0x4933d6[_0x41ed8e(0x9f)]&&(_0x4933d6[_0x41ed8e(0x9f)][_0x41ed8e(0xbe)][_0x41ed8e(0x7e)]=_0x3e77a7['focus'],_0x4933d6[_0x41ed8e(0x9f)][_0x41ed8e(0x77)][_0x41ed8e(0x7e)]=_0x3e77a7[_0x41ed8e(0x77)],_0x4933d6[_0x41ed8e(0x9f)]['maxblur'][_0x41ed8e(0x7e)]=_0x3e77a7[_0x41ed8e(0xc1)]);}const _0x256fff=this['getStepParam'](PostProcessStepType[_0x41ed8e(0x91)]);_0x256fff&&this[_0x41ed8e(0xbf)]&&this[_0x41ed8e(0x8c)](_0x256fff);const _0x594975=this['getStepParam'](PostProcessStepType[_0x41ed8e(0xac)]);_0x594975&&this[_0x41ed8e(0x89)]&&this['updateOutlineParameters'](_0x594975);}['updateGTAOParameters'](_0x7ea9d7){const _0x248199=_0x13f953;if(!this[_0x248199(0xbf)])return;this[_0x248199(0xbf)][_0x248199(0xa7)]=_0x7ea9d7['scale'];}[_0x13f953(0xb7)](_0x284fcf){const _0x25dc65=_0x13f953;if(!this[_0x25dc65(0x89)])return;this[_0x25dc65(0x89)][_0x25dc65(0x72)]=_0x284fcf[_0x25dc65(0x72)],this['outlinePass'][_0x25dc65(0x71)]=_0x284fcf[_0x25dc65(0x71)],this['outlinePass'][_0x25dc65(0x87)]=_0x284fcf[_0x25dc65(0x87)],this[_0x25dc65(0x89)][_0x25dc65(0x96)]=_0x284fcf[_0x25dc65(0x96)],this[_0x25dc65(0x89)][_0x25dc65(0x81)]=new Color$1(_0x284fcf[_0x25dc65(0x81)]),this['outlinePass'][_0x25dc65(0xbc)]=new Color$1(_0x284fcf['hiddenEdgeColor']);}[_0x13f953(0xb2)](_0x5acf66){const _0x3e9e74=_0x13f953;this['postProcessParam'][_0x3e9e74(0x97)]=_0x5acf66,this['buildPipeline'](),this[_0x3e9e74(0xae)]();}[_0x13f953(0x7b)](_0x5e964f){const _0x1a4547=_0x13f953;!this['outlineObjects'][_0x1a4547(0xbb)](_0x5e964f)&&(this[_0x1a4547(0xa3)]['push'](_0x5e964f),this[_0x1a4547(0x89)]&&(this[_0x1a4547(0x89)][_0x1a4547(0xa5)]=this[_0x1a4547(0xa3)])),this[_0x1a4547(0xae)]();}[_0x13f953(0xa4)](_0x429b41){const _0x2046aa=_0x13f953;this[_0x2046aa(0xa3)][_0x2046aa(0xa8)]=0x0,this[_0x2046aa(0xa3)][_0x2046aa(0x7a)](..._0x429b41),this['outlinePass']&&(this[_0x2046aa(0x89)]['selectedObjects']=this['outlineObjects']),this[_0x2046aa(0xae)]();}[_0x13f953(0x84)](_0x4ca88a){const _0x4fbefb=_0x13f953,_0xc0c970=this[_0x4fbefb(0xa3)][_0x4fbefb(0x78)](_0x4ca88a);_0xc0c970>-1&&(this['outlineObjects'][_0x4fbefb(0x90)](_0xc0c970,0x1),this[_0x4fbefb(0x89)]&&(this['outlinePass'][_0x4fbefb(0xa5)]=this[_0x4fbefb(0xa3)])),this['markDirty']();}['setLUT3DTexture'](_0x2e08d6){const _0x51bc99=_0x13f953;this[_0x51bc99(0x76)]=_0x2e08d6,this[_0x51bc99(0x83)](),this[_0x51bc99(0xae)]();}['getLUT3DTexture'](){const _0x2dd884=_0x13f953;return this[_0x2dd884(0x76)];}[_0x13f953(0x9c)](){const _0x1bc502=_0x13f953;if(this['composer'])return this[_0x1bc502(0x82)]['render'](),!![];return ![];}['resize'](_0x41cdb2,_0x599ec2){const _0x338ecb=_0x13f953;this[_0x338ecb(0x82)]&&this[_0x338ecb(0x82)][_0x338ecb(0xb0)](_0x41cdb2,_0x599ec2),this['fxaaPass']&&this[_0x338ecb(0x7c)][_0x338ecb(0x9f)]['resolution'][_0x338ecb(0x7e)][_0x338ecb(0x9a)](0x1/_0x41cdb2,0x1/_0x599ec2);}['destroy'](){const _0x4ed883=_0x13f953;this[_0x4ed883(0xa3)]=[],this[_0x4ed883(0x89)]=null,this[_0x4ed883(0x93)]=null,this[_0x4ed883(0xb6)]=null,this[_0x4ed883(0xbf)]=null,this['smaaPass']=null,this[_0x4ed883(0x7c)]=null,this[_0x4ed883(0x8e)]=null,this[_0x4ed883(0xa0)]=null,this[_0x4ed883(0x76)]=null,this[_0x4ed883(0x82)]&&(this[_0x4ed883(0x82)][_0x4ed883(0xc0)](),this[_0x4ed883(0x82)]=null);}['markDirty'](){const _0x59eb4f=_0x13f953;this['onDirtyCallback']&&this[_0x59eb4f(0xaa)]();}}
|
|
81
81
|
|
|
82
|
-
const _0x280d52=_0x404b;(function(_0x43d970,_0x17d3fa){const _0x3d7414=_0x404b,_0x15da51=_0x43d970();while(!![]){try{const _0x21b15b=-parseInt(_0x3d7414(0x133))/0x1*(-parseInt(_0x3d7414(0x14a))/0x2)+-parseInt(_0x3d7414(0x13d))/0x3+parseInt(_0x3d7414(0x161))/0x4+-parseInt(_0x3d7414(0x10a))/0x5+-parseInt(_0x3d7414(0x14e))/0x6+parseInt(_0x3d7414(0x164))/0x7+parseInt(_0x3d7414(0x147))/0x8*(parseInt(_0x3d7414(0x10b))/0x9);if(_0x21b15b===_0x17d3fa)break;else _0x15da51['push'](_0x15da51['shift']());}catch(_0x19baf4){_0x15da51['push'](_0x15da51['shift']());}}}(_0x3b28,0x49997));function _0x404b(_0x4c397b,_0x23b875){_0x4c397b=_0x4c397b-0x108;const _0x3b28dc=_0x3b28();let _0x404b47=_0x3b28dc[_0x4c397b];return _0x404b47;}function _0x3b28(){const _0x208b67=['setAnimationLoop','type','querySelector','0px','camera','elementId','isCSS3DRendererNeeded','drawImage','scene-labelRenderer','transparent','createUILayer','toDataURL','addOutlineObject','_uiDom','Renderer\x20is\x20not\x20initialized','getContext','100%','_outerContainer','world','_renderer','isLabelRendererNeeded','setOutlineObjects','enabled','toneMappingExposure','WebGL','shadowMap','image/jpeg','538LIIPGh','toneMapping','height','destroyPostProcess','remove','observe','scene-css3dRenderer','setShadowMapEnabled','render','className','1095618oyetCn','zIndex','createElement','scene-uiLayer','contentBoxSize','insertBefore','updateSteps','onAfterPostProcessRender','css3dRenderer','setPixelRatio','88tXCeSu','.scene-uiLayer','top','250xmTUkv','position','createRenderer','param','3504090sEhSsH','removeChild','none','_app','div','createCSS3DRenderer','init','setSize','App\x20is\x20not\x20initialized','resize','setToneMapping','clientWidth','scene','renderAsImage','firstChild','markRenderStateDirty','appendChild','outer','pointerEvents','2375476taGnLi','setToneMappingExposure','resizeObserver','1415519uPmWfj','setupPostProcess','getElementById','postProcess','onWindowResize','Can\x20not\x20create\x20context','_canvasContainer','dispose','postProcessManager','updatePostProcess','left','clientHeight','370400WDiHdo','377532aeQsfE','canvas','labelRenderer','style','renderer','app','domElement','createPostProcessManager','isRenderStateDirty','devicePixelRatio','width','absolute','setClearAlpha'];_0x3b28=function(){return _0x208b67;};return _0x3b28();}class Viewport{get['uiDom'](){const _0x5dfe5f=_0x404b;return this[_0x5dfe5f(0x125)];}get[_0x280d52(0x10c)](){const _0x2476f0=_0x280d52;return this['_outerContainer']||this[_0x2476f0(0x10f)][_0x2476f0(0x111)];}get[_0x280d52(0x15f)](){return this['_outerContainer'];}get[_0x280d52(0x10f)](){const _0x35fb5c=_0x280d52;if(!this[_0x35fb5c(0x12b)])throw Error(_0x35fb5c(0x126));return this['_renderer'];}get['app'](){const _0x3e3e16=_0x280d52;if(!this['_app'])throw Error(_0x3e3e16(0x156));return this[_0x3e3e16(0x151)];}constructor(_0x1794b2,_0x27c7fc){const _0x31dfeb=_0x280d52;this['_uiDom']=null,this['_renderer']=null,this['labelRenderer']=null,this['css3dRenderer']=null,this[_0x31dfeb(0x151)]=null,this[_0x31dfeb(0x163)]=null,this['_outerContainer']=null,this['_canvasContainer']=null,this[_0x31dfeb(0x113)]=!![],this[_0x31dfeb(0x16c)]=null,this[_0x31dfeb(0x151)]=_0x1794b2,_0x27c7fc[_0x31dfeb(0x11d)]&&(this[_0x31dfeb(0x129)]=document[_0x31dfeb(0x166)](_0x27c7fc[_0x31dfeb(0x11d)])),this[_0x31dfeb(0x14c)](_0x27c7fc[_0x31dfeb(0x10f)][_0x31dfeb(0x119)],_0x27c7fc['renderer'][_0x31dfeb(0x14d)]),_0x27c7fc[_0x31dfeb(0x12c)]&&this['createLabelRenderer'](),_0x27c7fc[_0x31dfeb(0x11e)]&&this[_0x31dfeb(0x153)](),_0x27c7fc['isUILayerNeeded']&&this[_0x31dfeb(0x122)](),setTimeout(()=>{const _0x312cc4=_0x31dfeb;var _0x1f7e69;this[_0x312cc4(0x165)]((_0x1f7e69=_0x27c7fc[_0x312cc4(0x167)])!==null&&_0x1f7e69!==void 0?_0x1f7e69:{'steps':[]});},0x32),this[_0x31dfeb(0x129)]&&(this[_0x31dfeb(0x163)]=new ResizeObserver(_0x49eb7d=>{const _0x2b38d5=_0x31dfeb;for(let _0xfc9033 of _0x49eb7d){_0xfc9033[_0x2b38d5(0x141)]&&this['onWindowResize']();}}),this[_0x31dfeb(0x163)][_0x31dfeb(0x138)](this[_0x31dfeb(0x129)])),this['app']['onCameraChangedDelegate']['add'](()=>{const _0x18da1c=_0x31dfeb;this[_0x18da1c(0x16c)]&&(this[_0x18da1c(0x16c)]['updateCamera'](this[_0x18da1c(0x110)]['camera']),this['postProcessManager']['setup']());});}['createRenderer'](_0xa6f533,_0xcc74d7){const _0x24bbf=_0x280d52,_0x4d8dff=this['_outerContainer'];this['_renderer']&&(_0x4d8dff&&_0x4d8dff[_0x24bbf(0x14f)](this[_0x24bbf(0x12b)]['domElement']),this[_0x24bbf(0x12b)][_0x24bbf(0x16b)]());let _0x4ab5cf=_0x4d8dff?_0x4d8dff[_0x24bbf(0x159)]:0x200,_0x49c69e=_0x4d8dff?_0x4d8dff[_0x24bbf(0x109)]:0x200;switch(_0xa6f533){case RendererType['WebGPU']:this['_renderer']=new WebGPURenderer(_0xcc74d7);break;case RendererType[_0x24bbf(0x130)]:this['_renderer']=new WebGLRenderer(_0xcc74d7);break;}this[_0x24bbf(0x12b)][_0x24bbf(0x146)](window[_0x24bbf(0x114)]),this[_0x24bbf(0x12b)][_0x24bbf(0x155)](_0x4ab5cf,_0x49c69e),this['_renderer'][_0x24bbf(0x131)][_0x24bbf(0x12e)]=!![],this[_0x24bbf(0x12b)][_0x24bbf(0x131)][_0x24bbf(0x119)]=0x1,this[_0x24bbf(0x12b)][_0x24bbf(0x134)]=0x0,this[_0x24bbf(0x12b)][_0x24bbf(0x12f)]=0x1,this['_renderer'][_0x24bbf(0x117)](0x0),this[_0x24bbf(0x12b)][_0x24bbf(0x111)][_0x24bbf(0x10e)][_0x24bbf(0x14b)]=_0x24bbf(0x116),this[_0x24bbf(0x12b)]['domElement'][_0x24bbf(0x10e)][_0x24bbf(0x108)]='0',this[_0x24bbf(0x12b)][_0x24bbf(0x111)]['style'][_0x24bbf(0x149)]='0',this['_renderer'][_0x24bbf(0x111)]['style'][_0x24bbf(0x13e)]='20',this[_0x24bbf(0x12b)][_0x24bbf(0x111)][_0x24bbf(0x10e)]['background']=_0x24bbf(0x121),this[_0x24bbf(0x12b)][_0x24bbf(0x111)]['style'][_0x24bbf(0x160)]=_0x24bbf(0x150),_0x4d8dff&&_0x4d8dff[_0x24bbf(0x15e)](this['_renderer'][_0x24bbf(0x111)]);}['createLabelRenderer'](){const _0x11e6d7=_0x280d52,_0xd82b3c=this[_0x11e6d7(0x129)];this[_0x11e6d7(0x10d)]&&(_0xd82b3c&&_0xd82b3c[_0x11e6d7(0x14f)](this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)]));let _0x3454ed=_0xd82b3c?_0xd82b3c[_0x11e6d7(0x159)]:0x200,_0x591a34=_0xd82b3c?_0xd82b3c['clientHeight']:0x200;this['labelRenderer']=new CSS2DRenderer(),this[_0x11e6d7(0x10d)]['setSize'](_0x3454ed,_0x591a34),this[_0x11e6d7(0x10d)]['domElement'][_0x11e6d7(0x10e)][_0x11e6d7(0x160)]=_0x11e6d7(0x150),this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)]['style']['position']=_0x11e6d7(0x116),this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)][_0x11e6d7(0x10e)]['top']=_0x11e6d7(0x11b),this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)][_0x11e6d7(0x13c)]=_0x11e6d7(0x120),this['labelRenderer'][_0x11e6d7(0x111)][_0x11e6d7(0x10e)]['zIndex']='30',_0xd82b3c&&_0xd82b3c[_0x11e6d7(0x15e)](this[_0x11e6d7(0x10d)][_0x11e6d7(0x111)]);}[_0x280d52(0x153)](){const _0x1eb239=_0x280d52,_0x24713f=this[_0x1eb239(0x129)];this[_0x1eb239(0x145)]&&(_0x24713f&&_0x24713f['removeChild'](this[_0x1eb239(0x145)][_0x1eb239(0x111)]));let _0x3abc61=_0x24713f?_0x24713f[_0x1eb239(0x159)]:0x200,_0x3f4327=_0x24713f?_0x24713f[_0x1eb239(0x109)]:0x200;this[_0x1eb239(0x145)]=new CSS3DRenderer(),this['css3dRenderer'][_0x1eb239(0x155)](_0x3abc61,_0x3f4327),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)][_0x1eb239(0x160)]='none',this[_0x1eb239(0x145)]['domElement'][_0x1eb239(0x10e)]['position']=_0x1eb239(0x116),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)][_0x1eb239(0x108)]=_0x1eb239(0x11b),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)]['top']=_0x1eb239(0x11b),this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x10e)][_0x1eb239(0x13e)]='0',this[_0x1eb239(0x145)][_0x1eb239(0x111)][_0x1eb239(0x13c)]=_0x1eb239(0x139),_0x24713f&&_0x24713f[_0x1eb239(0x142)](this[_0x1eb239(0x145)][_0x1eb239(0x111)],_0x24713f[_0x1eb239(0x15c)]);}['createUILayer'](){const _0x1126cf=_0x280d52;if(!this[_0x1126cf(0x129)])return;let _0x4620e5=this[_0x1126cf(0x129)][_0x1126cf(0x11a)](_0x1126cf(0x148));!_0x4620e5&&(_0x4620e5=document[_0x1126cf(0x13f)](_0x1126cf(0x152)),_0x4620e5[_0x1126cf(0x13c)]=_0x1126cf(0x140),_0x4620e5['id']=_0x1126cf(0x140),_0x4620e5['style'][_0x1126cf(0x14b)]=_0x1126cf(0x116),_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x108)]='0',_0x4620e5['style']['top']='0',_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x115)]='100%',_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x135)]=_0x1126cf(0x128),_0x4620e5[_0x1126cf(0x10e)]['pointerEvents']='none',_0x4620e5[_0x1126cf(0x10e)][_0x1126cf(0x13e)]='10',this['_outerContainer'][_0x1126cf(0x15e)](_0x4620e5),this[_0x1126cf(0x125)]=_0x4620e5);}[_0x280d52(0x154)](){}[_0x280d52(0x165)](_0x610fe8){const _0x46b398=_0x280d52;!this[_0x46b398(0x16c)]&&(this['postProcessManager']=this[_0x46b398(0x112)](_0x610fe8)),this[_0x46b398(0x16c)]['setup']();}['createPostProcessManager'](_0x1809e){const _0x3e4a04=_0x280d52;return this[_0x3e4a04(0x10f)]instanceof WebGLRenderer?new WebGLPostProcessManager(this[_0x3e4a04(0x10f)],this['app'][_0x3e4a04(0x12a)]['scene'],this['app'][_0x3e4a04(0x11c)],_0x1809e,()=>this[_0x3e4a04(0x15d)]()):new PostProcessManager(this[_0x3e4a04(0x10f)],this[_0x3e4a04(0x110)]['world'][_0x3e4a04(0x15a)],this[_0x3e4a04(0x110)]['camera'],_0x1809e,()=>this[_0x3e4a04(0x15d)]());}[_0x280d52(0x16d)](_0x4c6474){const _0x4b6153=_0x280d52;this[_0x4b6153(0x16c)]&&this[_0x4b6153(0x16c)][_0x4b6153(0x143)](_0x4c6474);}[_0x280d52(0x124)](_0x17933e){const _0x2a44b6=_0x280d52;this[_0x2a44b6(0x16c)]&&this[_0x2a44b6(0x16c)][_0x2a44b6(0x124)](_0x17933e);}[_0x280d52(0x12d)](_0x34937e){const _0x52dfd6=_0x280d52;this[_0x52dfd6(0x16c)]&&this['postProcessManager'][_0x52dfd6(0x12d)](_0x34937e);}['removeOutlineObject'](_0x132cac){const _0x2178b7=_0x280d52;this[_0x2178b7(0x16c)]&&this[_0x2178b7(0x16c)]['removeOutlineObject'](_0x132cac);}[_0x280d52(0x136)](){const _0x48d8a9=_0x280d52;this[_0x48d8a9(0x16c)]&&(this[_0x48d8a9(0x16c)]['destroy'](),this['postProcessManager']=null);}[_0x280d52(0x168)](){const _0x20fe52=_0x280d52;let _0x45a854=this[_0x20fe52(0x129)];if(!_0x45a854)return;this[_0x20fe52(0x110)][_0x20fe52(0x168)](_0x45a854[_0x20fe52(0x159)],_0x45a854[_0x20fe52(0x109)]),this[_0x20fe52(0x10f)][_0x20fe52(0x155)](_0x45a854[_0x20fe52(0x159)],_0x45a854['clientHeight']);if(this[_0x20fe52(0x10d)])this[_0x20fe52(0x10d)][_0x20fe52(0x155)](_0x45a854['clientWidth'],_0x45a854['clientHeight']);if(this['css3dRenderer'])this[_0x20fe52(0x145)][_0x20fe52(0x155)](_0x45a854['clientWidth'],_0x45a854[_0x20fe52(0x109)]);this['postProcessManager']&&_0x20fe52(0x157)in this[_0x20fe52(0x16c)]&&this[_0x20fe52(0x16c)]['resize'](_0x45a854[_0x20fe52(0x159)],_0x45a854[_0x20fe52(0x109)]),this['markRenderStateDirty']();}[_0x280d52(0x15d)](){const _0x54c80c=_0x280d52;this[_0x54c80c(0x113)]=!![];}[_0x280d52(0x13b)](){const _0xac7fd0=_0x280d52;if(!this[_0xac7fd0(0x113)])return;if(this[_0xac7fd0(0x16c)]&&this['postProcessManager'][_0xac7fd0(0x13b)]());else this['renderer'][_0xac7fd0(0x13b)](this['app']['world'][_0xac7fd0(0x15a)],this['app'][_0xac7fd0(0x11c)]);this[_0xac7fd0(0x144)](),this[_0xac7fd0(0x10d)]&&this[_0xac7fd0(0x10d)][_0xac7fd0(0x13b)](this['app']['world'][_0xac7fd0(0x15a)],this['app'][_0xac7fd0(0x11c)]),this[_0xac7fd0(0x145)]&&this['css3dRenderer'][_0xac7fd0(0x13b)](this[_0xac7fd0(0x110)]['world'][_0xac7fd0(0x15a)],this[_0xac7fd0(0x110)]['camera']),this[_0xac7fd0(0x113)]=![];}[_0x280d52(0x144)](){}async[_0x280d52(0x15b)](_0x3627e1=0x400,_0x15a93a=0x400){const _0x1c047b=_0x280d52;try{if(this[_0x1c047b(0x16c)]&&this['postProcessManager'][_0x1c047b(0x13b)]()){}else await this[_0x1c047b(0x10f)][_0x1c047b(0x13b)](this[_0x1c047b(0x110)][_0x1c047b(0x12a)][_0x1c047b(0x15a)],this[_0x1c047b(0x110)]['camera']);const _0x3d086a=this[_0x1c047b(0x10f)][_0x1c047b(0x111)][_0x1c047b(0x115)],_0x56fed9=this[_0x1c047b(0x10f)][_0x1c047b(0x111)][_0x1c047b(0x135)];let _0x3f5e78=_0x3d086a||_0x3627e1,_0x61fb05=_0x56fed9||_0x15a93a;(_0x3f5e78<=0x0||_0x61fb05<=0x0)&&(_0x3f5e78=_0x3627e1,_0x61fb05=_0x15a93a);const _0x1aeeea=document[_0x1c047b(0x13f)](_0x1c047b(0x10c));_0x1aeeea[_0x1c047b(0x115)]=_0x3627e1,_0x1aeeea['height']=_0x15a93a;const _0x28863e=_0x1aeeea[_0x1c047b(0x127)]('2d');if(!_0x28863e)throw Error(_0x1c047b(0x169));_0x28863e[_0x1c047b(0x11f)](this[_0x1c047b(0x10f)]['domElement'],0x0,0x0,_0x3f5e78,_0x61fb05,0x0,0x0,_0x3627e1,_0x15a93a);const _0x4b59a9=_0x1aeeea[_0x1c047b(0x123)](_0x1c047b(0x132));return _0x1aeeea[_0x1c047b(0x137)](),_0x4b59a9;}catch(_0x53f33a){return '';}}[_0x280d52(0x13a)](_0xfe3298){const _0x1dfdb3=_0x280d52;if(!this[_0x1dfdb3(0x12b)])return;this[_0x1dfdb3(0x12b)][_0x1dfdb3(0x131)][_0x1dfdb3(0x12e)]=_0xfe3298;}['setShadowMapType'](_0x19608b){const _0x161fbc=_0x280d52;if(!this[_0x161fbc(0x12b)])return;this[_0x161fbc(0x12b)][_0x161fbc(0x131)][_0x161fbc(0x119)]=_0x19608b;}[_0x280d52(0x158)](_0x5271dd){const _0x1cc870=_0x280d52;if(!this[_0x1cc870(0x12b)])return;this[_0x1cc870(0x12b)][_0x1cc870(0x134)]=_0x5271dd;}[_0x280d52(0x162)](_0x144e55){if(!this['_renderer'])return;this['_renderer']['toneMappingExposure']=_0x144e55;}['destroy'](){const _0xbd32e=_0x280d52;this[_0xbd32e(0x136)](),this['renderer'][_0xbd32e(0x118)](null),this[_0xbd32e(0x163)]&&(this['resizeObserver']['disconnect'](),this[_0xbd32e(0x163)]=null),this[_0xbd32e(0x10d)]&&(this[_0xbd32e(0x10d)]['domElement'][_0xbd32e(0x137)](),this[_0xbd32e(0x10d)]=null),this[_0xbd32e(0x12b)]&&(this[_0xbd32e(0x10f)][_0xbd32e(0x111)][_0xbd32e(0x137)](),this[_0xbd32e(0x12b)][_0xbd32e(0x16b)](),this[_0xbd32e(0x12b)]=null),this[_0xbd32e(0x16a)]&&(this['_canvasContainer']['remove'](),this[_0xbd32e(0x16a)]=null),this['_outerContainer']=null,this[_0xbd32e(0x151)]=null;}}
|
|
82
|
+
const _0x387060=_0x46a3;function _0x6a42(){const _0x50c411=['init','scene-uiLayer','isUILayerNeeded','setClearAlpha','css3dRenderer','insertBefore','setupPostProcess','style','pointerEvents','contentBoxSize','toneMapping','top','image/jpeg','isCSS3DRendererNeeded','canvas','_uiDom','removeChild','1233NBkfkf','left','scene-labelRenderer','camera','render','transparent','postProcessManager','6rwODTt','createCSS3DRenderer','1122219uIuDyN','renderer','width','.scene-uiLayer','setSize','setToneMapping','onCameraChangedDelegate','clientWidth','scene','Can\x20not\x20create\x20context','737220ENNCdy','resizeObserver','560955PNAImS','position','param','96EBaoTV','disconnect','absolute','drawImage','setShadowMapEnabled','domElement','resize','WebGPU','className','_renderer','setup','firstChild','destroyPostProcess','isLabelRendererNeeded','createRenderer','clientHeight','markRenderStateDirty','renderAsImage','remove','Renderer\x20is\x20not\x20initialized','createElement','world','8652oudwuo','setPixelRatio','dispose','2462884KNTLIb','div','labelRenderer','isRenderStateDirty','height','background','updatePostProcess','onAfterPostProcessRender','_canvasContainer','none','_app','55820akbCqO','setAnimationLoop','setShadowMapType','type','_outerContainer','0px','4590160YllHdL','addOutlineObject','enabled','destroy','onWindowResize','app','zIndex','shadowMap','createUILayer','observe','removeOutlineObject','updateSteps','createPostProcessManager','appendChild','getElementById','toneMappingExposure','buildCustomPostProcess','outer','add','createLabelRenderer','devicePixelRatio'];_0x6a42=function(){return _0x50c411;};return _0x6a42();}(function(_0x3c1e26,_0xe039bc){const _0x4802c1=_0x46a3,_0x137163=_0x3c1e26();while(!![]){try{const _0xb160d1=-parseInt(_0x4802c1(0x172))/0x1*(-parseInt(_0x4802c1(0x120))/0x2)+-parseInt(_0x4802c1(0x16d))/0x3+parseInt(_0x4802c1(0x123))/0x4+-parseInt(_0x4802c1(0x16f))/0x5*(parseInt(_0x4802c1(0x161))/0x6)+-parseInt(_0x4802c1(0x163))/0x7+parseInt(_0x4802c1(0x134))/0x8+-parseInt(_0x4802c1(0x15a))/0x9*(parseInt(_0x4802c1(0x12e))/0xa);if(_0xb160d1===_0xe039bc)break;else _0x137163['push'](_0x137163['shift']());}catch(_0xb2fc66){_0x137163['push'](_0x137163['shift']());}}}(_0x6a42,0x4e90d));function _0x46a3(_0x1d622f,_0x267284){_0x1d622f=_0x1d622f-0x11c;const _0x6a4278=_0x6a42();let _0x46a3c6=_0x6a4278[_0x1d622f];return _0x46a3c6;}class Viewport{get['uiDom'](){const _0x3e1ec7=_0x46a3;return this[_0x3e1ec7(0x158)];}get[_0x387060(0x157)](){const _0xcdd74f=_0x387060;return this[_0xcdd74f(0x132)]||this[_0xcdd74f(0x164)][_0xcdd74f(0x177)];}get[_0x387060(0x145)](){return this['_outerContainer'];}get[_0x387060(0x164)](){const _0x56011e=_0x387060;if(!this[_0x56011e(0x17b)])throw Error(_0x56011e(0x11d));return this[_0x56011e(0x17b)];}get[_0x387060(0x139)](){const _0x44e76a=_0x387060;if(!this[_0x44e76a(0x12d)])throw Error('App\x20is\x20not\x20initialized');return this['_app'];}constructor(_0x2ca044,_0x135ea4){const _0x3f4562=_0x387060;this['_uiDom']=null,this[_0x3f4562(0x17b)]=null,this[_0x3f4562(0x125)]=null,this[_0x3f4562(0x14d)]=null,this[_0x3f4562(0x12d)]=null,this['resizeObserver']=null,this[_0x3f4562(0x132)]=null,this[_0x3f4562(0x12b)]=null,this[_0x3f4562(0x126)]=!![],this[_0x3f4562(0x160)]=null,this[_0x3f4562(0x12d)]=_0x2ca044,_0x135ea4['elementId']&&(this[_0x3f4562(0x132)]=document[_0x3f4562(0x142)](_0x135ea4['elementId'])),this[_0x3f4562(0x180)](_0x135ea4['renderer']['type'],_0x135ea4[_0x3f4562(0x164)][_0x3f4562(0x171)]),_0x135ea4[_0x3f4562(0x17f)]&&this[_0x3f4562(0x147)](),_0x135ea4[_0x3f4562(0x156)]&&this['createCSS3DRenderer'](),_0x135ea4[_0x3f4562(0x14b)]&&this[_0x3f4562(0x13c)](),setTimeout(()=>{const _0x12b419=_0x3f4562;var _0x18acbf;this[_0x12b419(0x14f)]((_0x18acbf=_0x135ea4['postProcess'])!==null&&_0x18acbf!==void 0?_0x18acbf:{'steps':[]});},0x32),this[_0x3f4562(0x132)]&&(this[_0x3f4562(0x16e)]=new ResizeObserver(_0x16a967=>{const _0x27d7f7=_0x3f4562;for(let _0x5dc76f of _0x16a967){_0x5dc76f[_0x27d7f7(0x152)]&&this[_0x27d7f7(0x138)]();}}),this[_0x3f4562(0x16e)][_0x3f4562(0x13d)](this[_0x3f4562(0x132)])),this[_0x3f4562(0x139)][_0x3f4562(0x169)][_0x3f4562(0x146)](()=>{const _0x451a25=_0x3f4562;this['postProcessManager']&&(this['postProcessManager']['updateCamera'](this[_0x451a25(0x139)]['camera']),this[_0x451a25(0x160)][_0x451a25(0x17c)]());});}['createRenderer'](_0xfc14c4,_0x1614e0){const _0x11a630=_0x387060,_0x419482=this[_0x11a630(0x132)];this['_renderer']&&(_0x419482&&_0x419482[_0x11a630(0x159)](this['_renderer'][_0x11a630(0x177)]),this[_0x11a630(0x17b)]['dispose']());let _0x4bd449=_0x419482?_0x419482[_0x11a630(0x16a)]:0x200,_0x1cc4fd=_0x419482?_0x419482['clientHeight']:0x200;switch(_0xfc14c4){case RendererType[_0x11a630(0x179)]:this[_0x11a630(0x17b)]=new WebGPURenderer(_0x1614e0);break;case RendererType['WebGL']:this[_0x11a630(0x17b)]=new WebGLRenderer(_0x1614e0);break;}this['_renderer'][_0x11a630(0x121)](window[_0x11a630(0x148)]),this[_0x11a630(0x17b)][_0x11a630(0x167)](_0x4bd449,_0x1cc4fd),this[_0x11a630(0x17b)][_0x11a630(0x13b)]['enabled']=!![],this[_0x11a630(0x17b)][_0x11a630(0x13b)][_0x11a630(0x131)]=0x1,this[_0x11a630(0x17b)][_0x11a630(0x153)]=0x0,this[_0x11a630(0x17b)][_0x11a630(0x143)]=0x1,this[_0x11a630(0x17b)][_0x11a630(0x14c)](0x0),this[_0x11a630(0x17b)]['domElement']['style'][_0x11a630(0x170)]='absolute',this['_renderer'][_0x11a630(0x177)][_0x11a630(0x150)][_0x11a630(0x15b)]='0',this[_0x11a630(0x17b)]['domElement'][_0x11a630(0x150)]['top']='0',this['_renderer'][_0x11a630(0x177)][_0x11a630(0x150)]['zIndex']='20',this['_renderer']['domElement'][_0x11a630(0x150)][_0x11a630(0x128)]=_0x11a630(0x15f),this[_0x11a630(0x17b)]['domElement']['style'][_0x11a630(0x151)]=_0x11a630(0x12c),_0x419482&&_0x419482['appendChild'](this[_0x11a630(0x17b)]['domElement']);}[_0x387060(0x147)](){const _0x1621ff=_0x387060,_0x584242=this['_outerContainer'];this[_0x1621ff(0x125)]&&(_0x584242&&_0x584242['removeChild'](this[_0x1621ff(0x125)][_0x1621ff(0x177)]));let _0x23dbda=_0x584242?_0x584242[_0x1621ff(0x16a)]:0x200,_0x163768=_0x584242?_0x584242[_0x1621ff(0x181)]:0x200;this[_0x1621ff(0x125)]=new CSS2DRenderer(),this[_0x1621ff(0x125)][_0x1621ff(0x167)](_0x23dbda,_0x163768),this[_0x1621ff(0x125)][_0x1621ff(0x177)]['style'][_0x1621ff(0x151)]=_0x1621ff(0x12c),this['labelRenderer'][_0x1621ff(0x177)][_0x1621ff(0x150)][_0x1621ff(0x170)]=_0x1621ff(0x174),this[_0x1621ff(0x125)][_0x1621ff(0x177)][_0x1621ff(0x150)][_0x1621ff(0x154)]=_0x1621ff(0x133),this[_0x1621ff(0x125)][_0x1621ff(0x177)][_0x1621ff(0x17a)]=_0x1621ff(0x15c),this[_0x1621ff(0x125)][_0x1621ff(0x177)][_0x1621ff(0x150)][_0x1621ff(0x13a)]='30',_0x584242&&_0x584242[_0x1621ff(0x141)](this['labelRenderer'][_0x1621ff(0x177)]);}[_0x387060(0x162)](){const _0x578679=_0x387060,_0xb2a55c=this[_0x578679(0x132)];this[_0x578679(0x14d)]&&(_0xb2a55c&&_0xb2a55c[_0x578679(0x159)](this[_0x578679(0x14d)][_0x578679(0x177)]));let _0x4a8276=_0xb2a55c?_0xb2a55c[_0x578679(0x16a)]:0x200,_0x39feaa=_0xb2a55c?_0xb2a55c['clientHeight']:0x200;this[_0x578679(0x14d)]=new CSS3DRenderer(),this[_0x578679(0x14d)][_0x578679(0x167)](_0x4a8276,_0x39feaa),this[_0x578679(0x14d)]['domElement'][_0x578679(0x150)][_0x578679(0x151)]=_0x578679(0x12c),this[_0x578679(0x14d)]['domElement'][_0x578679(0x150)][_0x578679(0x170)]='absolute',this[_0x578679(0x14d)][_0x578679(0x177)][_0x578679(0x150)]['left']=_0x578679(0x133),this[_0x578679(0x14d)]['domElement'][_0x578679(0x150)][_0x578679(0x154)]='0px',this[_0x578679(0x14d)][_0x578679(0x177)]['style'][_0x578679(0x13a)]='0',this[_0x578679(0x14d)][_0x578679(0x177)][_0x578679(0x17a)]='scene-css3dRenderer',_0xb2a55c&&_0xb2a55c[_0x578679(0x14e)](this[_0x578679(0x14d)][_0x578679(0x177)],_0xb2a55c[_0x578679(0x17d)]);}[_0x387060(0x13c)](){const _0x275993=_0x387060;if(!this[_0x275993(0x132)])return;let _0x843a6c=this[_0x275993(0x132)]['querySelector'](_0x275993(0x166));!_0x843a6c&&(_0x843a6c=document['createElement'](_0x275993(0x124)),_0x843a6c[_0x275993(0x17a)]=_0x275993(0x14a),_0x843a6c['id']='scene-uiLayer',_0x843a6c[_0x275993(0x150)][_0x275993(0x170)]=_0x275993(0x174),_0x843a6c[_0x275993(0x150)][_0x275993(0x15b)]='0',_0x843a6c[_0x275993(0x150)][_0x275993(0x154)]='0',_0x843a6c[_0x275993(0x150)]['width']='100%',_0x843a6c['style'][_0x275993(0x127)]='100%',_0x843a6c[_0x275993(0x150)]['pointerEvents']=_0x275993(0x12c),_0x843a6c[_0x275993(0x150)][_0x275993(0x13a)]='10',this[_0x275993(0x132)][_0x275993(0x141)](_0x843a6c),this[_0x275993(0x158)]=_0x843a6c);}[_0x387060(0x149)](){}[_0x387060(0x144)](_0x1d9154){const _0x24974f=_0x387060;this[_0x24974f(0x160)]instanceof WebGLPostProcessManager&&this['postProcessManager'][_0x24974f(0x144)](_0x1d9154);}[_0x387060(0x14f)](_0x112270){const _0x948f03=_0x387060;!this[_0x948f03(0x160)]&&(this[_0x948f03(0x160)]=this[_0x948f03(0x140)](_0x112270)),this[_0x948f03(0x160)]['setup']();}['createPostProcessManager'](_0x2eb9e3){const _0x4556a4=_0x387060;return this['renderer']instanceof WebGLRenderer?new WebGLPostProcessManager(this['renderer'],this[_0x4556a4(0x139)][_0x4556a4(0x11f)][_0x4556a4(0x16b)],this[_0x4556a4(0x139)][_0x4556a4(0x15d)],_0x2eb9e3,()=>this[_0x4556a4(0x182)]()):new PostProcessManager(this['renderer'],this['app'][_0x4556a4(0x11f)][_0x4556a4(0x16b)],this[_0x4556a4(0x139)][_0x4556a4(0x15d)],_0x2eb9e3,()=>this[_0x4556a4(0x182)]());}[_0x387060(0x129)](_0x6aa68a){const _0x2b57ea=_0x387060;this['postProcessManager']&&this[_0x2b57ea(0x160)][_0x2b57ea(0x13f)](_0x6aa68a);}[_0x387060(0x135)](_0x1ffea6){const _0x53fb15=_0x387060;this['postProcessManager']&&this[_0x53fb15(0x160)][_0x53fb15(0x135)](_0x1ffea6);}['setOutlineObjects'](_0x28a1e6){const _0x4c20fd=_0x387060;this[_0x4c20fd(0x160)]&&this[_0x4c20fd(0x160)]['setOutlineObjects'](_0x28a1e6);}[_0x387060(0x13e)](_0x2c8e1d){const _0x5a4266=_0x387060;this[_0x5a4266(0x160)]&&this[_0x5a4266(0x160)][_0x5a4266(0x13e)](_0x2c8e1d);}[_0x387060(0x17e)](){const _0x7c12c0=_0x387060;this['postProcessManager']&&(this['postProcessManager'][_0x7c12c0(0x137)](),this[_0x7c12c0(0x160)]=null);}[_0x387060(0x138)](){const _0x3dd14e=_0x387060;let _0x427b85=this[_0x3dd14e(0x132)];if(!_0x427b85)return;this[_0x3dd14e(0x139)][_0x3dd14e(0x138)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]),this[_0x3dd14e(0x164)][_0x3dd14e(0x167)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]);if(this[_0x3dd14e(0x125)])this[_0x3dd14e(0x125)][_0x3dd14e(0x167)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]);if(this[_0x3dd14e(0x14d)])this[_0x3dd14e(0x14d)][_0x3dd14e(0x167)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]);this[_0x3dd14e(0x160)]&&_0x3dd14e(0x178)in this['postProcessManager']&&this[_0x3dd14e(0x160)]['resize'](_0x427b85['clientWidth'],_0x427b85[_0x3dd14e(0x181)]),this[_0x3dd14e(0x182)]();}[_0x387060(0x182)](){const _0x593220=_0x387060;this[_0x593220(0x126)]=!![];}[_0x387060(0x15e)](){const _0x1e9fe0=_0x387060;if(!this[_0x1e9fe0(0x126)])return;if(this['postProcessManager']&&this[_0x1e9fe0(0x160)]['render']());else this[_0x1e9fe0(0x164)]['render'](this[_0x1e9fe0(0x139)][_0x1e9fe0(0x11f)][_0x1e9fe0(0x16b)],this[_0x1e9fe0(0x139)][_0x1e9fe0(0x15d)]);this[_0x1e9fe0(0x12a)](),this[_0x1e9fe0(0x125)]&&this['labelRenderer'][_0x1e9fe0(0x15e)](this[_0x1e9fe0(0x139)][_0x1e9fe0(0x11f)][_0x1e9fe0(0x16b)],this['app']['camera']),this[_0x1e9fe0(0x14d)]&&this[_0x1e9fe0(0x14d)]['render'](this[_0x1e9fe0(0x139)][_0x1e9fe0(0x11f)][_0x1e9fe0(0x16b)],this[_0x1e9fe0(0x139)][_0x1e9fe0(0x15d)]),this[_0x1e9fe0(0x126)]=![];}['onAfterPostProcessRender'](){}async[_0x387060(0x183)](_0x24c7e2=0x400,_0x29726e=0x400){const _0x314d0b=_0x387060;try{if(this[_0x314d0b(0x160)]&&this['postProcessManager'][_0x314d0b(0x15e)]()){}else await this[_0x314d0b(0x164)]['render'](this[_0x314d0b(0x139)][_0x314d0b(0x11f)]['scene'],this['app'][_0x314d0b(0x15d)]);const _0x58c56f=this['renderer']['domElement'][_0x314d0b(0x165)],_0x1bdd0f=this[_0x314d0b(0x164)]['domElement'][_0x314d0b(0x127)];let _0x27a8ce=_0x58c56f||_0x24c7e2,_0x2b5360=_0x1bdd0f||_0x29726e;(_0x27a8ce<=0x0||_0x2b5360<=0x0)&&(_0x27a8ce=_0x24c7e2,_0x2b5360=_0x29726e);const _0x4fadb5=document[_0x314d0b(0x11e)]('canvas');_0x4fadb5['width']=_0x24c7e2,_0x4fadb5[_0x314d0b(0x127)]=_0x29726e;const _0x578d4e=_0x4fadb5['getContext']('2d');if(!_0x578d4e)throw Error(_0x314d0b(0x16c));_0x578d4e[_0x314d0b(0x175)](this[_0x314d0b(0x164)]['domElement'],0x0,0x0,_0x27a8ce,_0x2b5360,0x0,0x0,_0x24c7e2,_0x29726e);const _0x139af5=_0x4fadb5['toDataURL'](_0x314d0b(0x155));return _0x4fadb5[_0x314d0b(0x11c)](),_0x139af5;}catch(_0x2c9ffa){return '';}}[_0x387060(0x176)](_0x5b1c59){const _0x37917f=_0x387060;if(!this[_0x37917f(0x17b)])return;this['_renderer'][_0x37917f(0x13b)][_0x37917f(0x136)]=_0x5b1c59;}[_0x387060(0x130)](_0x213fdc){const _0x2b3224=_0x387060;if(!this[_0x2b3224(0x17b)])return;this['_renderer']['shadowMap'][_0x2b3224(0x131)]=_0x213fdc;}[_0x387060(0x168)](_0x3e0d92){const _0x15c633=_0x387060;if(!this['_renderer'])return;this[_0x15c633(0x17b)][_0x15c633(0x153)]=_0x3e0d92;}['setToneMappingExposure'](_0x363a06){const _0x1166d4=_0x387060;if(!this[_0x1166d4(0x17b)])return;this['_renderer'][_0x1166d4(0x143)]=_0x363a06;}['destroy'](){const _0x3c0829=_0x387060;this['destroyPostProcess'](),this[_0x3c0829(0x164)][_0x3c0829(0x12f)](null),this[_0x3c0829(0x16e)]&&(this[_0x3c0829(0x16e)][_0x3c0829(0x173)](),this[_0x3c0829(0x16e)]=null),this[_0x3c0829(0x125)]&&(this[_0x3c0829(0x125)][_0x3c0829(0x177)]['remove'](),this[_0x3c0829(0x125)]=null),this[_0x3c0829(0x17b)]&&(this['renderer'][_0x3c0829(0x177)][_0x3c0829(0x11c)](),this['_renderer'][_0x3c0829(0x122)](),this[_0x3c0829(0x17b)]=null),this[_0x3c0829(0x12b)]&&(this[_0x3c0829(0x12b)][_0x3c0829(0x11c)](),this[_0x3c0829(0x12b)]=null),this['_outerContainer']=null,this[_0x3c0829(0x12d)]=null;}}
|
|
83
83
|
|
|
84
|
-
function _0x3224(){const _0x5297fb=['onActorHoverEnd','onClickDelegate','getPosition','10676ZiaUPD','destroyChildren','markRenderStateDirty','getBoundsBottomCenterPosition','removeFromParent','addChildComponent','addComponent','getWorldForwardDirection','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','worldToLocal','getWorldRightDirection','422762gUXiBw','removeChildComponent','4540743xCvTUC','addChildActor','2092242UwnCJH','856eOnnCZ','error','sub','parentActor','setQuaternion','getBoundsTopCenterPosition','uuid','destroy','1702610HAJqDV','_rootComponent','setPosition','KeepWorld','getWorldUpDirection','children','onHoverEndDelegate','getWorldMatrix','childActors','removeChildActor','push','localToWorld','530aAALxr','setVisible','setLayers','getWorldScale','userData','Actor','getWorldPosition','addTickableActor','_onHoverBeginDelegate','getWorldQuaternion','viewport','2942010twkFeZ','isHoverEnabled','detachComponent','onDoubleClickDelegate','getComponentById','delete','rootComponent\x20is\x20invalid','has','getScale','constructRootComponent','length','getBounds','setWorldMatrix','name','min','forEach','onActorHoverBegin','_onClickDelegate','isVisible','world','rootComponent','max','_onDoubleClickDelegate','childrenComponents','getRotation','setScale','getComponents','onAddedToWorld','_world','LYObject','size','getBoundsCenterPosition','14469xkeoGT','removeComponent','setRotation','getChildActorsByIds','tick','KeepRelative','isTickEnabled','_onHoverEndDelegate','_name','getChildActorById','broadcast','getCenter','threeObject','attachComponent','isClickEnabled'];_0x3224=function(){return _0x5297fb;};return _0x3224();}const _0x25c65e=_0x3dd6$1;(function(_0x546fad,_0x4ba81b){const _0x5ee14d=_0x3dd6$1,_0x10e215=_0x546fad();while(!![]){try{const _0x4654ad=-parseInt(_0x5ee14d(0x1f7))/0x1+-parseInt(_0x5ee14d(0x204))/0x2+parseInt(_0x5ee14d(0x21b))/0x3+parseInt(_0x5ee14d(0x1ec))/0x4*(parseInt(_0x5ee14d(0x210))/0x5)+parseInt(_0x5ee14d(0x1fb))/0x6+-parseInt(_0x5ee14d(0x1da))/0x7*(parseInt(_0x5ee14d(0x1fc))/0x8)+parseInt(_0x5ee14d(0x1f9))/0x9;if(_0x4654ad===_0x4ba81b)break;else _0x10e215['push'](_0x10e215['shift']());}catch(_0x1ca7b7){_0x10e215['push'](_0x10e215['shift']());}}}(_0x3224,0x97c0e));function _0x3dd6$1(_0xdf195d,_0x2cddd7){_0xdf195d=_0xdf195d-0x1be;const _0x322491=_0x3224();let _0x3dd696=_0x322491[_0xdf195d];return _0x3dd696;}class Actor extends BaseObject{get[_0x25c65e(0x1cd)](){const _0x4562e1=_0x25c65e;return this[_0x4562e1(0x1d6)];}get['name'](){const _0x187478=_0x25c65e;return this[_0x187478(0x1e2)];}set[_0x25c65e(0x1c7)](_0x1b361c){const _0x1913f2=_0x25c65e;this[_0x1913f2(0x1e2)]=_0x1b361c;}get[_0x25c65e(0x1ce)](){const _0x199b10=_0x25c65e;if(!this[_0x199b10(0x205)])throw Error(_0x199b10(0x1c0));return this[_0x199b10(0x205)];}set[_0x25c65e(0x1ce)](_0x584610){const _0x2fb7df=_0x25c65e;_0x584610['detachFromParentComponent'](),_0x584610[_0x2fb7df(0x1ff)]=this;if(this[_0x2fb7df(0x205)]){let _0x70659=this[_0x2fb7df(0x1ce)]['childrenComponents'];for(let _0x5e0707=0x0;_0x5e0707<_0x70659['length'];++_0x5e0707){_0x584610[_0x2fb7df(0x1f1)](_0x70659[_0x5e0707]);}this[_0x2fb7df(0x1ce)]['destroy']();}this[_0x2fb7df(0x205)]=_0x584610;}get[_0x25c65e(0x1d1)](){const _0x2965b1=_0x25c65e;return this[_0x2965b1(0x1ce)][_0x2965b1(0x1d1)];}get['childActors'](){const _0x3e27f5=_0x25c65e;var _0x22eef3;let _0x1c6475=[];return (_0x22eef3=this['rootComponent'][_0x3e27f5(0x1e6)])===null||_0x22eef3===void 0?void 0:_0x22eef3[_0x3e27f5(0x209)]['forEach'](_0x3026c4=>{const _0x584c8e=_0x3e27f5;var _0x46d367;let _0xeaa4ac=(_0x46d367=_0x3026c4['userData'][_0x584c8e(0x1d7)])===null||_0x46d367===void 0?void 0:_0x46d367[_0x584c8e(0x1ff)];_0xeaa4ac!==this&&_0xeaa4ac instanceof Actor&&_0x1c6475['push'](_0xeaa4ac);}),_0x1c6475;}get[_0x25c65e(0x1ff)](){const _0x589695=_0x25c65e;var _0x12e61f,_0x340cd4,_0xe1d051;let _0x257e3b=(_0xe1d051=(_0x340cd4=(_0x12e61f=this['rootComponent'][_0x589695(0x1e6)])===null||_0x12e61f===void 0?void 0:_0x12e61f['parent'])===null||_0x340cd4===void 0?void 0:_0x340cd4[_0x589695(0x214)][_0x589695(0x1d7)])===null||_0xe1d051===void 0?void 0:_0xe1d051[_0x589695(0x1ff)];return _0x257e3b===this?null:_0x257e3b;}get[_0x25c65e(0x1cc)](){const _0x495d07=_0x25c65e;return this['rootComponent']?this[_0x495d07(0x1ce)][_0x495d07(0x1cc)]:![];}get[_0x25c65e(0x1e0)](){return super['isTickEnabled'];}set[_0x25c65e(0x1e0)](_0x34324a){const _0x355852=_0x25c65e;super[_0x355852(0x1e0)]=_0x34324a,this[_0x355852(0x1e0)]?this['app'][_0x355852(0x1cd)][_0x355852(0x217)](this):this['app'][_0x355852(0x1cd)]['removeTickableActor'](this);}get['onHoverBeginDelegate'](){const _0x428677=_0x25c65e;return this[_0x428677(0x218)];}get[_0x25c65e(0x20a)](){const _0x49564f=_0x25c65e;return this[_0x49564f(0x1e1)];}get[_0x25c65e(0x1ea)](){const _0x5ea1e9=_0x25c65e;return this[_0x5ea1e9(0x1cb)];}get[_0x25c65e(0x21e)](){return this['_onDoubleClickDelegate'];}constructor(_0x5a537c,_0x4e3f5a){const _0x5accbf=_0x25c65e;super(_0x4e3f5a),this['_name']=_0x5accbf(0x215),this[_0x5accbf(0x205)]=null,this['_world']=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x5accbf(0x1cb)]=new Delegate(),this[_0x5accbf(0x1d0)]=new Delegate(),this['app']=_0x5a537c,this['rootComponent']=this['constructRootComponent'](),this[_0x5accbf(0x1ce)][_0x5accbf(0x1ff)]=this;}[_0x25c65e(0x1c3)](){return new SceneComponent(this['app']);}[_0x25c65e(0x1d9)](_0x3b21ec=!![]){const _0x106521=_0x25c65e;let _0x2b2437=new Vector3();return this[_0x106521(0x1c5)]()[_0x106521(0x1e5)](_0x2b2437),!_0x3b21ec?_0x2b2437[_0x106521(0x1fe)](this[_0x106521(0x1eb)]()):_0x2b2437;}[_0x25c65e(0x1e3)](_0x5c814c,_0x5b3d0a=!![]){const _0x44d2de=_0x25c65e,_0x473fb9=this[_0x44d2de(0x20c)];for(const _0x197567 of _0x473fb9){if(_0x197567[_0x44d2de(0x202)]===_0x5c814c)return _0x197567;}if(_0x5b3d0a)for(const _0x2a6502 of _0x473fb9){const _0x40e2c5=_0x2a6502[_0x44d2de(0x1e3)](_0x5c814c,!![]);if(_0x40e2c5)return _0x40e2c5;}return null;}['getChildActorsByIds'](_0x2b48c4,_0x1a2e68=!![]){const _0x247ac6=_0x25c65e,_0x27068f=[],_0x237681=new Set(_0x2b48c4),_0x15e9e9=this[_0x247ac6(0x20c)];for(const _0x4f68aa of _0x15e9e9){_0x237681[_0x247ac6(0x1c1)](_0x4f68aa[_0x247ac6(0x202)])&&(_0x27068f[_0x247ac6(0x20e)](_0x4f68aa),_0x237681[_0x247ac6(0x1bf)](_0x4f68aa[_0x247ac6(0x202)]));}if(_0x1a2e68&&_0x237681[_0x247ac6(0x1d8)]>0x0)for(const _0x388ad7 of _0x15e9e9){const _0x147dc5=_0x388ad7[_0x247ac6(0x1dd)]([..._0x237681],!![]);for(const _0x4dc6a2 of _0x147dc5){_0x27068f['push'](_0x4dc6a2),_0x237681[_0x247ac6(0x1bf)](_0x4dc6a2[_0x247ac6(0x202)]);}if(_0x237681[_0x247ac6(0x1d8)]===0x0)break;}return _0x27068f;}[_0x25c65e(0x1be)](_0x444aa8){const _0x169271=_0x25c65e;return this[_0x169271(0x1ce)][_0x169271(0x1be)](_0x444aa8);}[_0x25c65e(0x201)](_0x3e451d=!![]){const _0x3681b9=_0x25c65e;let _0x3fa696=new Vector3(),_0x43d170=this['rootComponent'][_0x3681b9(0x1c5)]();return _0x43d170['getCenter'](_0x3fa696),_0x3fa696['y']=_0x43d170[_0x3681b9(0x1cf)]['y'],!_0x3e451d?_0x3fa696[_0x3681b9(0x1fe)](this['getPosition']()):_0x3fa696;}[_0x25c65e(0x1ef)](_0x39b6ef=!![]){const _0x30f6a0=_0x25c65e;let _0x158148=new Vector3(),_0x329cf7=this[_0x30f6a0(0x1c5)]();return _0x329cf7[_0x30f6a0(0x1e5)](_0x158148),_0x158148['y']=_0x329cf7[_0x30f6a0(0x1c8)]['y'],!_0x39b6ef?_0x158148[_0x30f6a0(0x1fe)](this[_0x30f6a0(0x1eb)]()):_0x158148;}[_0x25c65e(0x1c5)](){const _0xdba02c=_0x25c65e;return this[_0xdba02c(0x1ce)][_0xdba02c(0x1c5)]();}[_0x25c65e(0x203)](){const _0x2c1cf9=_0x25c65e;let _0x188e8e=this[_0x2c1cf9(0x20c)];_0x188e8e['forEach'](_0x52bc62=>{const _0x17347b=_0x2c1cf9;_0x52bc62[_0x17347b(0x203)]();}),this[_0x2c1cf9(0x1ce)][_0x2c1cf9(0x203)]();}[_0x25c65e(0x211)](_0x58196a){const _0x53747d=_0x25c65e;this[_0x53747d(0x1ce)]['setVisible'](_0x58196a);}[_0x25c65e(0x212)](_0x48c18f,_0xba753a=!![]){const _0x2e57b3=_0x25c65e;this[_0x2e57b3(0x1ce)][_0x2e57b3(0x212)](_0x48c18f),_0xba753a&&this[_0x2e57b3(0x20c)][_0x2e57b3(0x1c9)](_0x49cd75=>{const _0x52f0db=_0x2e57b3;_0x49cd75[_0x52f0db(0x212)](_0x48c18f,_0xba753a);});}[_0x25c65e(0x1de)](_0x55e28){const _0x11f246=_0x25c65e;if(!this['isTickEnabled'])return;super['tick'](_0x55e28),this[_0x11f246(0x1ce)][_0x11f246(0x1de)](_0x55e28);}[_0x25c65e(0x1eb)](){const _0x15f551=_0x25c65e;return this[_0x15f551(0x1ce)][_0x15f551(0x1eb)]();}[_0x25c65e(0x206)](..._0x4b8885){const _0x304bb8=_0x25c65e;_0x4b8885[_0x304bb8(0x1c4)]===0x1?this[_0x304bb8(0x1ce)][_0x304bb8(0x206)](_0x4b8885[0x0]):this[_0x304bb8(0x1ce)][_0x304bb8(0x206)](_0x4b8885[0x0],_0x4b8885[0x1],_0x4b8885[0x2]);}['getRotation'](){const _0x163be3=_0x25c65e;return this[_0x163be3(0x1ce)][_0x163be3(0x1d2)]();}[_0x25c65e(0x1dc)](..._0x40b897){const _0x278288=_0x25c65e;_0x40b897[_0x278288(0x1c4)]===0x1?this[_0x278288(0x1ce)]['setRotation'](_0x40b897[0x0]):this['rootComponent']['setRotation'](_0x40b897[0x0],_0x40b897[0x1],_0x40b897[0x2]);}['getQuaternion'](){return this['rootComponent']['getQuaternion']();}['setQuaternion'](..._0x4e4031){const _0x39e1a4=_0x25c65e;_0x4e4031['length']===0x1?this[_0x39e1a4(0x1ce)][_0x39e1a4(0x200)](_0x4e4031[0x0]):this[_0x39e1a4(0x1ce)][_0x39e1a4(0x200)](_0x4e4031[0x0],_0x4e4031[0x1],_0x4e4031[0x2],_0x4e4031[0x3]);}[_0x25c65e(0x1c2)](){const _0x82237e=_0x25c65e;return this[_0x82237e(0x1ce)][_0x82237e(0x1c2)]();}[_0x25c65e(0x1d3)](..._0x4adef9){const _0x43b2fd=_0x25c65e;_0x4adef9['length']===0x1?this['rootComponent'][_0x43b2fd(0x1d3)](_0x4adef9[0x0]):this[_0x43b2fd(0x1ce)][_0x43b2fd(0x1d3)](_0x4adef9[0x0],_0x4adef9[0x1],_0x4adef9[0x2]);}[_0x25c65e(0x20b)](){const _0x2dc3ee=_0x25c65e;return this[_0x2dc3ee(0x1ce)][_0x2dc3ee(0x20b)]();}[_0x25c65e(0x1c6)](_0x565ce4){const _0x2c9aa8=_0x25c65e;this[_0x2c9aa8(0x1ce)][_0x2c9aa8(0x1c6)](_0x565ce4);}[_0x25c65e(0x216)](){const _0x453a69=_0x25c65e;return this['rootComponent'][_0x453a69(0x216)]();}['getWorldRotation'](){const _0x509b49=_0x25c65e;return this[_0x509b49(0x1ce)]['getWorldRotation']();}['getWorldQuaternion'](){const _0x1119a0=_0x25c65e;return this[_0x1119a0(0x1ce)][_0x1119a0(0x219)]();}[_0x25c65e(0x213)](){const _0x289dae=_0x25c65e;return this[_0x289dae(0x1ce)][_0x289dae(0x213)]();}[_0x25c65e(0x1f3)](){const _0x5b946c=_0x25c65e;return this[_0x5b946c(0x1ce)][_0x5b946c(0x1f3)]();}[_0x25c65e(0x208)](){const _0x852e39=_0x25c65e;return this['rootComponent'][_0x852e39(0x208)]();}[_0x25c65e(0x1f6)](){const _0x19d755=_0x25c65e;return this[_0x19d755(0x1ce)]['getWorldRightDirection']();}['addLocalOffset'](_0x16b676,_0x10c51f){const _0x4979c8=_0x25c65e;let _0x2824a7=this[_0x4979c8(0x1eb)]();this[_0x4979c8(0x206)](_0x2824a7['x']+_0x16b676['x']*_0x10c51f,_0x2824a7['y']+_0x16b676['y']*_0x10c51f,_0x2824a7['z']+_0x16b676['z']*_0x10c51f);}[_0x25c65e(0x1f5)](_0x553680){const _0x33032c=_0x25c65e;return this[_0x33032c(0x1ce)][_0x33032c(0x1f5)](_0x553680);}[_0x25c65e(0x20f)](_0x46b7b9){const _0x3bb2f1=_0x25c65e;return this[_0x3bb2f1(0x1ce)][_0x3bb2f1(0x20f)](_0x46b7b9);}[_0x25c65e(0x1d4)](){const _0x48e0bf=_0x25c65e;return this[_0x48e0bf(0x1ce)][_0x48e0bf(0x1d1)];}[_0x25c65e(0x1f2)](_0xa19fe7,_0x5d07a8=AttachmentRules[_0x25c65e(0x1df)]){const _0x1d22a4=_0x25c65e;this[_0x1d22a4(0x1ce)][_0x1d22a4(0x1f1)](_0xa19fe7,_0x5d07a8),this[_0x1d22a4(0x1d6)]&&_0xa19fe7[_0x1d22a4(0x1d5)](this[_0x1d22a4(0x1d6)]);}[_0x25c65e(0x1db)](_0x372cc0){const _0x5ac7ae=_0x25c65e;if(_0x372cc0===this[_0x5ac7ae(0x205)])return;this[_0x5ac7ae(0x1ce)][_0x5ac7ae(0x1f8)](_0x372cc0);}['clearComponent'](){const _0x1083b9=_0x25c65e;this[_0x1083b9(0x1ce)][_0x1083b9(0x1ed)]();}[_0x25c65e(0x1fa)](_0x292948,_0x227118=AttachmentRules[_0x25c65e(0x207)]){const _0x26aa25=_0x25c65e;if(!_0x292948[_0x26aa25(0x1ce)]){console[_0x26aa25(0x1fd)](_0x26aa25(0x1f4));return;}if(_0x292948[_0x26aa25(0x1ff)]===this)return;_0x227118===AttachmentRules['KeepRelative']&&this[_0x26aa25(0x1ce)][_0x26aa25(0x1e7)](_0x292948[_0x26aa25(0x1ce)]);if(_0x227118===AttachmentRules[_0x26aa25(0x207)]){let _0x192506=_0x292948['getWorldMatrix']();this[_0x26aa25(0x1ce)][_0x26aa25(0x1e7)](_0x292948[_0x26aa25(0x1ce)]),_0x292948[_0x26aa25(0x1c6)](_0x192506);}this['_world']&&this[_0x26aa25(0x1d6)][_0x26aa25(0x21a)][_0x26aa25(0x1ee)]();}[_0x25c65e(0x20d)](_0x4e89ff){const _0x3c3be9=_0x25c65e;let _0x23b3db=_0x4e89ff['getWorldMatrix']();this['rootComponent'][_0x3c3be9(0x21d)](_0x4e89ff['rootComponent']),_0x4e89ff[_0x3c3be9(0x1c6)](_0x23b3db);}[_0x25c65e(0x1f0)](){const _0x120fc5=_0x25c65e;this[_0x120fc5(0x1ff)]&&this[_0x120fc5(0x1ff)][_0x120fc5(0x20d)](this);}[_0x25c65e(0x1d5)](_0x258518){const _0x1f6db2=_0x25c65e;this[_0x1f6db2(0x1d6)]=_0x258518,this['rootComponent'][_0x1f6db2(0x1d5)](this[_0x1f6db2(0x1d6)]),this[_0x1f6db2(0x20c)][_0x1f6db2(0x1c9)](_0x1db75d=>{const _0x4d466b=_0x1f6db2;_0x1db75d[_0x4d466b(0x1d5)](_0x258518);});}['onRemovedFromWorld'](){const _0x1a5806=_0x25c65e;this[_0x1a5806(0x1d6)]=null;}get[_0x25c65e(0x21c)](){const _0x2c2820=_0x25c65e;return this['rootComponent'][_0x2c2820(0x21c)];}set[_0x25c65e(0x21c)](_0x25feef){const _0x4d4277=_0x25c65e;this[_0x4d4277(0x1ce)]['isHoverEnabled']=_0x25feef;}get['isClickEnabled'](){const _0x536b9c=_0x25c65e;return this[_0x536b9c(0x1ce)][_0x536b9c(0x1e8)];}set[_0x25c65e(0x1e8)](_0x4fcdd2){const _0x108dca=_0x25c65e;this[_0x108dca(0x1ce)][_0x108dca(0x1e8)]=_0x4fcdd2;}[_0x25c65e(0x1ca)](_0x3155f1){const _0x4a8e45=_0x25c65e;this[_0x4a8e45(0x218)][_0x4a8e45(0x1e4)](_0x3155f1);}[_0x25c65e(0x1e9)](_0x2dfb9b){const _0x1cd18c=_0x25c65e;this['_onHoverEndDelegate'][_0x1cd18c(0x1e4)](_0x2dfb9b);}['onActorClick'](_0x46da68){this['_onClickDelegate']['broadcast'](_0x46da68);}['onActorDoubleClick'](_0x3c205c){const _0x539f53=_0x25c65e;this[_0x539f53(0x1d0)][_0x539f53(0x1e4)](_0x3c205c);}['landToGround'](){}}
|
|
84
|
+
const _0x461187=_0x50bf;(function(_0x38c0f1,_0x6dc44d){const _0x4d05ea=_0x50bf,_0xc04e1b=_0x38c0f1();while(!![]){try{const _0x103e29=parseInt(_0x4d05ea(0x190))/0x1*(parseInt(_0x4d05ea(0x189))/0x2)+-parseInt(_0x4d05ea(0x1c8))/0x3+-parseInt(_0x4d05ea(0x180))/0x4+-parseInt(_0x4d05ea(0x1c0))/0x5*(-parseInt(_0x4d05ea(0x1b2))/0x6)+parseInt(_0x4d05ea(0x183))/0x7*(-parseInt(_0x4d05ea(0x18b))/0x8)+parseInt(_0x4d05ea(0x188))/0x9*(parseInt(_0x4d05ea(0x1af))/0xa)+-parseInt(_0x4d05ea(0x18a))/0xb*(-parseInt(_0x4d05ea(0x173))/0xc);if(_0x103e29===_0x6dc44d)break;else _0xc04e1b['push'](_0xc04e1b['shift']());}catch(_0x1df12b){_0xc04e1b['push'](_0xc04e1b['shift']());}}}(_0x2f69,0x4785b));function _0x50bf(_0x3cc9a3,_0x4a2ef2){_0x3cc9a3=_0x3cc9a3-0x162;const _0x2f6971=_0x2f69();let _0x50bf9f=_0x2f6971[_0x3cc9a3];return _0x50bf9f;}function _0x2f69(){const _0x24d4ce=['getBoundsCenterPosition','addComponent','markRenderStateDirty','size','getBoundsBottomCenterPosition','onActorHoverBegin','getWorldScale','delete','onActorClick','getWorldPosition','_onHoverBeginDelegate','addTickableActor','71530wIwFHT','rootComponent\x20is\x20invalid','KeepRelative','756LtDYTL','tick','clearComponent','addLocalOffset','removeTickableActor','getRotation','getWorldRotation','getBounds','isTickEnabled','max','removeFromParent','forEach','min','getComponentById','1660ePVHKq','getChildActorsByIds','LYObject','length','uuid','setLayers','children','getWorldRightDirection','479700ELWLfE','getWorldForwardDirection','childrenComponents','getChildActorById','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','parent','worldToLocal','_onHoverEndDelegate','getScale','isHoverEnabled','onDoubleClickDelegate','getWorldQuaternion','userData','detachFromParentComponent','onClickDelegate','_world','threeObject','addChildComponent','onAddedToWorld','getCenter','broadcast','constructRootComponent','getPosition','isClickEnabled','5196jYkGJp','_rootComponent','setQuaternion','localToWorld','sub','removeChildComponent','destroy','getComponents','setRotation','getQuaternion','_onDoubleClickDelegate','rootComponent','setWorldMatrix','1597044LlRpjH','_name','onActorDoubleClick','18956oQgvic','attachComponent','world','error','setVisible','189KQPHsF','40672GtKLZl','6501EETNbf','368TatMdW','_onClickDelegate','getWorldMatrix','push','onHoverBeginDelegate','26HMyull','Actor','destroyChildren','addChildActor','setPosition','removeChildActor','setScale','childActors','removeComponent','onActorHoverEnd','parentActor','getBoundsTopCenterPosition','has','name','landToGround','getWorldUpDirection','isVisible','KeepWorld','app'];_0x2f69=function(){return _0x24d4ce;};return _0x2f69();}class Actor extends BaseObject{get[_0x461187(0x185)](){const _0x19f2b6=_0x461187;return this[_0x19f2b6(0x16a)];}get[_0x461187(0x19d)](){return this['_name'];}set[_0x461187(0x19d)](_0x5b7d9c){const _0x30a365=_0x461187;this[_0x30a365(0x181)]=_0x5b7d9c;}get[_0x461187(0x17e)](){const _0x4608eb=_0x461187;if(!this[_0x4608eb(0x174)])throw Error(_0x4608eb(0x1b0));return this[_0x4608eb(0x174)];}set[_0x461187(0x17e)](_0x54d072){const _0x52831d=_0x461187;_0x54d072[_0x52831d(0x168)](),_0x54d072[_0x52831d(0x19a)]=this;if(this[_0x52831d(0x174)]){let _0x273105=this[_0x52831d(0x17e)][_0x52831d(0x1ca)];for(let _0x5e6c3e=0x0;_0x5e6c3e<_0x273105[_0x52831d(0x1c3)];++_0x5e6c3e){_0x54d072['addChildComponent'](_0x273105[_0x5e6c3e]);}this[_0x52831d(0x17e)]['destroy']();}this[_0x52831d(0x174)]=_0x54d072;}get['childrenComponents'](){const _0x5335f5=_0x461187;return this[_0x5335f5(0x17e)]['childrenComponents'];}get[_0x461187(0x197)](){const _0x4b07f5=_0x461187;var _0x1e3c56;let _0x470253=[];return (_0x1e3c56=this[_0x4b07f5(0x17e)][_0x4b07f5(0x16b)])===null||_0x1e3c56===void 0?void 0:_0x1e3c56[_0x4b07f5(0x1c6)][_0x4b07f5(0x1bd)](_0x3de30b=>{const _0x1e91b9=_0x4b07f5;var _0xc83beb;let _0x1c86ff=(_0xc83beb=_0x3de30b[_0x1e91b9(0x167)][_0x1e91b9(0x1c2)])===null||_0xc83beb===void 0?void 0:_0xc83beb[_0x1e91b9(0x19a)];_0x1c86ff!==this&&_0x1c86ff instanceof Actor&&_0x470253[_0x1e91b9(0x18e)](_0x1c86ff);}),_0x470253;}get[_0x461187(0x19a)](){const _0x5d3fb8=_0x461187;var _0x545582,_0x47a1f2,_0x2ed300;let _0x548d8d=(_0x2ed300=(_0x47a1f2=(_0x545582=this[_0x5d3fb8(0x17e)][_0x5d3fb8(0x16b)])===null||_0x545582===void 0?void 0:_0x545582[_0x5d3fb8(0x1cd)])===null||_0x47a1f2===void 0?void 0:_0x47a1f2[_0x5d3fb8(0x167)][_0x5d3fb8(0x1c2)])===null||_0x2ed300===void 0?void 0:_0x2ed300[_0x5d3fb8(0x19a)];return _0x548d8d===this?null:_0x548d8d;}get[_0x461187(0x1a0)](){const _0x28bed0=_0x461187;return this[_0x28bed0(0x17e)]?this[_0x28bed0(0x17e)][_0x28bed0(0x1a0)]:![];}get[_0x461187(0x1ba)](){const _0x357fe6=_0x461187;return super[_0x357fe6(0x1ba)];}set[_0x461187(0x1ba)](_0xf816a3){const _0x58ea85=_0x461187;super[_0x58ea85(0x1ba)]=_0xf816a3,this[_0x58ea85(0x1ba)]?this[_0x58ea85(0x1a2)]['world'][_0x58ea85(0x1ae)](this):this[_0x58ea85(0x1a2)][_0x58ea85(0x185)][_0x58ea85(0x1b6)](this);}get[_0x461187(0x18f)](){const _0x30536b=_0x461187;return this[_0x30536b(0x1ad)];}get['onHoverEndDelegate'](){const _0x266a88=_0x461187;return this[_0x266a88(0x162)];}get[_0x461187(0x169)](){const _0x4c5ed0=_0x461187;return this[_0x4c5ed0(0x18c)];}get[_0x461187(0x165)](){const _0x3c6e32=_0x461187;return this[_0x3c6e32(0x17d)];}constructor(_0x5b5ca7,_0x4fa18e){const _0x5c3750=_0x461187;super(_0x4fa18e),this[_0x5c3750(0x181)]=_0x5c3750(0x191),this[_0x5c3750(0x174)]=null,this[_0x5c3750(0x16a)]=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x5c3750(0x18c)]=new Delegate(),this[_0x5c3750(0x17d)]=new Delegate(),this['app']=_0x5b5ca7,this['rootComponent']=this['constructRootComponent'](),this[_0x5c3750(0x17e)][_0x5c3750(0x19a)]=this;}[_0x461187(0x170)](){const _0x4845f5=_0x461187;return new SceneComponent(this[_0x4845f5(0x1a2)]);}[_0x461187(0x1a3)](_0x699e97=!![]){const _0x525be8=_0x461187;let _0x21b9bb=new Vector3();return this[_0x525be8(0x1b9)]()[_0x525be8(0x16e)](_0x21b9bb),!_0x699e97?_0x21b9bb[_0x525be8(0x177)](this[_0x525be8(0x171)]()):_0x21b9bb;}[_0x461187(0x1cb)](_0x2eca42,_0x4899f3=!![]){const _0x3a956a=_0x461187,_0x4005f1=this[_0x3a956a(0x197)];for(const _0x5d56a6 of _0x4005f1){if(_0x5d56a6[_0x3a956a(0x1c4)]===_0x2eca42)return _0x5d56a6;}if(_0x4899f3)for(const _0xd605f2 of _0x4005f1){const _0x1b9da4=_0xd605f2['getChildActorById'](_0x2eca42,!![]);if(_0x1b9da4)return _0x1b9da4;}return null;}[_0x461187(0x1c1)](_0x43dea0,_0x4ba179=!![]){const _0xcc8d59=_0x461187,_0x401101=[],_0x1286e0=new Set(_0x43dea0),_0x295352=this[_0xcc8d59(0x197)];for(const _0x1d70a1 of _0x295352){_0x1286e0[_0xcc8d59(0x19c)](_0x1d70a1['uuid'])&&(_0x401101[_0xcc8d59(0x18e)](_0x1d70a1),_0x1286e0[_0xcc8d59(0x1aa)](_0x1d70a1[_0xcc8d59(0x1c4)]));}if(_0x4ba179&&_0x1286e0[_0xcc8d59(0x1a6)]>0x0)for(const _0x5f39d8 of _0x295352){const _0x2914d0=_0x5f39d8['getChildActorsByIds']([..._0x1286e0],!![]);for(const _0xb53be9 of _0x2914d0){_0x401101[_0xcc8d59(0x18e)](_0xb53be9),_0x1286e0[_0xcc8d59(0x1aa)](_0xb53be9[_0xcc8d59(0x1c4)]);}if(_0x1286e0[_0xcc8d59(0x1a6)]===0x0)break;}return _0x401101;}['getComponentById'](_0x8f636){const _0x4a7068=_0x461187;return this[_0x4a7068(0x17e)][_0x4a7068(0x1bf)](_0x8f636);}[_0x461187(0x19b)](_0x7a5c54=!![]){const _0x50cac7=_0x461187;let _0x224999=new Vector3(),_0x395cfa=this[_0x50cac7(0x17e)][_0x50cac7(0x1b9)]();return _0x395cfa[_0x50cac7(0x16e)](_0x224999),_0x224999['y']=_0x395cfa[_0x50cac7(0x1bb)]['y'],!_0x7a5c54?_0x224999[_0x50cac7(0x177)](this['getPosition']()):_0x224999;}[_0x461187(0x1a7)](_0xea3e8c=!![]){const _0x44d6a1=_0x461187;let _0x1e6793=new Vector3(),_0x3c2795=this['getBounds']();return _0x3c2795['getCenter'](_0x1e6793),_0x1e6793['y']=_0x3c2795[_0x44d6a1(0x1be)]['y'],!_0xea3e8c?_0x1e6793[_0x44d6a1(0x177)](this[_0x44d6a1(0x171)]()):_0x1e6793;}[_0x461187(0x1b9)](){const _0x3e3b22=_0x461187;return this['rootComponent'][_0x3e3b22(0x1b9)]();}[_0x461187(0x179)](){const _0x442381=_0x461187;let _0x5e4e90=this['childActors'];_0x5e4e90[_0x442381(0x1bd)](_0x58ae65=>{const _0x3c84d3=_0x442381;_0x58ae65[_0x3c84d3(0x179)]();}),this['rootComponent'][_0x442381(0x179)]();}[_0x461187(0x187)](_0x17ca24){const _0x31be5a=_0x461187;this[_0x31be5a(0x17e)][_0x31be5a(0x187)](_0x17ca24);}[_0x461187(0x1c5)](_0x229a87,_0x1da4fb=!![]){const _0x5ee32f=_0x461187;this[_0x5ee32f(0x17e)][_0x5ee32f(0x1c5)](_0x229a87),_0x1da4fb&&this[_0x5ee32f(0x197)][_0x5ee32f(0x1bd)](_0xf3ea2c=>{const _0x115363=_0x5ee32f;_0xf3ea2c[_0x115363(0x1c5)](_0x229a87,_0x1da4fb);});}['tick'](_0x143c14){const _0x1f65f3=_0x461187;if(!this[_0x1f65f3(0x1ba)])return;super[_0x1f65f3(0x1b3)](_0x143c14),this[_0x1f65f3(0x17e)][_0x1f65f3(0x1b3)](_0x143c14);}[_0x461187(0x171)](){return this['rootComponent']['getPosition']();}[_0x461187(0x194)](..._0x2ca43c){const _0x5701ed=_0x461187;_0x2ca43c[_0x5701ed(0x1c3)]===0x1?this[_0x5701ed(0x17e)][_0x5701ed(0x194)](_0x2ca43c[0x0]):this[_0x5701ed(0x17e)][_0x5701ed(0x194)](_0x2ca43c[0x0],_0x2ca43c[0x1],_0x2ca43c[0x2]);}[_0x461187(0x1b7)](){const _0x1cab14=_0x461187;return this[_0x1cab14(0x17e)][_0x1cab14(0x1b7)]();}[_0x461187(0x17b)](..._0x980ea5){const _0x4f08dc=_0x461187;_0x980ea5[_0x4f08dc(0x1c3)]===0x1?this[_0x4f08dc(0x17e)]['setRotation'](_0x980ea5[0x0]):this[_0x4f08dc(0x17e)][_0x4f08dc(0x17b)](_0x980ea5[0x0],_0x980ea5[0x1],_0x980ea5[0x2]);}[_0x461187(0x17c)](){const _0x323b8a=_0x461187;return this[_0x323b8a(0x17e)][_0x323b8a(0x17c)]();}[_0x461187(0x175)](..._0x2da0ab){const _0x35e9ce=_0x461187;_0x2da0ab[_0x35e9ce(0x1c3)]===0x1?this['rootComponent'][_0x35e9ce(0x175)](_0x2da0ab[0x0]):this[_0x35e9ce(0x17e)][_0x35e9ce(0x175)](_0x2da0ab[0x0],_0x2da0ab[0x1],_0x2da0ab[0x2],_0x2da0ab[0x3]);}[_0x461187(0x163)](){const _0x56c728=_0x461187;return this['rootComponent'][_0x56c728(0x163)]();}[_0x461187(0x196)](..._0xa9e6d8){const _0x578c50=_0x461187;_0xa9e6d8[_0x578c50(0x1c3)]===0x1?this[_0x578c50(0x17e)][_0x578c50(0x196)](_0xa9e6d8[0x0]):this[_0x578c50(0x17e)][_0x578c50(0x196)](_0xa9e6d8[0x0],_0xa9e6d8[0x1],_0xa9e6d8[0x2]);}['getWorldMatrix'](){const _0x4b96de=_0x461187;return this['rootComponent'][_0x4b96de(0x18d)]();}[_0x461187(0x17f)](_0x555f5f){const _0x4ddec8=_0x461187;this[_0x4ddec8(0x17e)][_0x4ddec8(0x17f)](_0x555f5f);}[_0x461187(0x1ac)](){return this['rootComponent']['getWorldPosition']();}[_0x461187(0x1b8)](){const _0x2869a1=_0x461187;return this[_0x2869a1(0x17e)][_0x2869a1(0x1b8)]();}[_0x461187(0x166)](){const _0x562f45=_0x461187;return this[_0x562f45(0x17e)][_0x562f45(0x166)]();}[_0x461187(0x1a9)](){const _0x8349c0=_0x461187;return this[_0x8349c0(0x17e)][_0x8349c0(0x1a9)]();}[_0x461187(0x1c9)](){const _0x51b9cc=_0x461187;return this[_0x51b9cc(0x17e)][_0x51b9cc(0x1c9)]();}[_0x461187(0x19f)](){const _0xe25e0d=_0x461187;return this[_0xe25e0d(0x17e)][_0xe25e0d(0x19f)]();}[_0x461187(0x1c7)](){const _0x5c1f54=_0x461187;return this[_0x5c1f54(0x17e)][_0x5c1f54(0x1c7)]();}[_0x461187(0x1b5)](_0x5544d4,_0x6c647c){const _0x52c515=_0x461187;let _0x449672=this[_0x52c515(0x171)]();this[_0x52c515(0x194)](_0x449672['x']+_0x5544d4['x']*_0x6c647c,_0x449672['y']+_0x5544d4['y']*_0x6c647c,_0x449672['z']+_0x5544d4['z']*_0x6c647c);}[_0x461187(0x1ce)](_0x1bf1e8){const _0x2ae99c=_0x461187;return this[_0x2ae99c(0x17e)][_0x2ae99c(0x1ce)](_0x1bf1e8);}[_0x461187(0x176)](_0x315e42){const _0x322c0d=_0x461187;return this[_0x322c0d(0x17e)][_0x322c0d(0x176)](_0x315e42);}[_0x461187(0x17a)](){const _0x6a9c12=_0x461187;return this[_0x6a9c12(0x17e)]['childrenComponents'];}[_0x461187(0x1a4)](_0x38a38c,_0x32be0d=AttachmentRules[_0x461187(0x1b1)]){const _0x4e8b16=_0x461187;this['rootComponent'][_0x4e8b16(0x16c)](_0x38a38c,_0x32be0d),this['_world']&&_0x38a38c[_0x4e8b16(0x16d)](this[_0x4e8b16(0x16a)]);}[_0x461187(0x198)](_0x16b295){const _0x3363b7=_0x461187;if(_0x16b295===this[_0x3363b7(0x174)])return;this['rootComponent'][_0x3363b7(0x178)](_0x16b295);}[_0x461187(0x1b4)](){const _0x1bc4e0=_0x461187;this[_0x1bc4e0(0x17e)][_0x1bc4e0(0x192)]();}[_0x461187(0x193)](_0x2083c8,_0x185d13=AttachmentRules[_0x461187(0x1a1)]){const _0xc508e7=_0x461187;if(!_0x2083c8['rootComponent']){console[_0xc508e7(0x186)](_0xc508e7(0x1cc));return;}if(_0x2083c8[_0xc508e7(0x19a)]===this)return;_0x185d13===AttachmentRules['KeepRelative']&&this[_0xc508e7(0x17e)][_0xc508e7(0x184)](_0x2083c8[_0xc508e7(0x17e)]);if(_0x185d13===AttachmentRules[_0xc508e7(0x1a1)]){let _0x57f3c6=_0x2083c8[_0xc508e7(0x18d)]();this['rootComponent'][_0xc508e7(0x184)](_0x2083c8[_0xc508e7(0x17e)]),_0x2083c8[_0xc508e7(0x17f)](_0x57f3c6);}this[_0xc508e7(0x16a)]&&this[_0xc508e7(0x16a)]['viewport'][_0xc508e7(0x1a5)]();}[_0x461187(0x195)](_0x131681){const _0x3f7128=_0x461187;let _0x2b9aa8=_0x131681[_0x3f7128(0x18d)]();this[_0x3f7128(0x17e)]['detachComponent'](_0x131681[_0x3f7128(0x17e)]),_0x131681['setWorldMatrix'](_0x2b9aa8);}[_0x461187(0x1bc)](){const _0x2464e4=_0x461187;this[_0x2464e4(0x19a)]&&this['parentActor'][_0x2464e4(0x195)](this);}['onAddedToWorld'](_0x5ef5cf){const _0x5c25ef=_0x461187;this[_0x5c25ef(0x16a)]=_0x5ef5cf,this['rootComponent']['onAddedToWorld'](this[_0x5c25ef(0x16a)]),this['childActors']['forEach'](_0x53c3ec=>{const _0x31859c=_0x5c25ef;_0x53c3ec[_0x31859c(0x16d)](_0x5ef5cf);});}['onRemovedFromWorld'](){const _0x5b7e37=_0x461187;this[_0x5b7e37(0x16a)]=null;}get[_0x461187(0x164)](){const _0x4a953e=_0x461187;return this[_0x4a953e(0x17e)][_0x4a953e(0x164)];}set[_0x461187(0x164)](_0x47ad07){const _0x2a1a1b=_0x461187;this[_0x2a1a1b(0x17e)][_0x2a1a1b(0x164)]=_0x47ad07;}get['isClickEnabled'](){const _0x50a313=_0x461187;return this[_0x50a313(0x17e)][_0x50a313(0x172)];}set[_0x461187(0x172)](_0x9386f3){const _0x572cfc=_0x461187;this[_0x572cfc(0x17e)][_0x572cfc(0x172)]=_0x9386f3;}[_0x461187(0x1a8)](_0x56eb43){const _0x41fa47=_0x461187;this[_0x41fa47(0x1ad)][_0x41fa47(0x16f)](_0x56eb43);}[_0x461187(0x199)](_0x1f4998){const _0x5893e0=_0x461187;this[_0x5893e0(0x162)][_0x5893e0(0x16f)](_0x1f4998);}[_0x461187(0x1ab)](_0x2acbb0){const _0x43ac28=_0x461187;this[_0x43ac28(0x18c)][_0x43ac28(0x16f)](_0x2acbb0);}[_0x461187(0x182)](_0x1e3963){this['_onDoubleClickDelegate']['broadcast'](_0x1e3963);}[_0x461187(0x19e)](){}}
|
|
85
85
|
|
|
86
|
-
var
|
|
86
|
+
var _0x368696=_0x79bf;(function(_0x2bc8ec,_0x4c4eb4){var _0x4abbc7=_0x79bf,_0x3ae6a0=_0x2bc8ec();while(!![]){try{var _0x14b9db=parseInt(_0x4abbc7(0x9a))/0x1+-parseInt(_0x4abbc7(0x96))/0x2*(parseInt(_0x4abbc7(0xa2))/0x3)+-parseInt(_0x4abbc7(0xa4))/0x4*(parseInt(_0x4abbc7(0x98))/0x5)+parseInt(_0x4abbc7(0x9f))/0x6+-parseInt(_0x4abbc7(0x9e))/0x7+-parseInt(_0x4abbc7(0x9d))/0x8+parseInt(_0x4abbc7(0x94))/0x9*(parseInt(_0x4abbc7(0xa0))/0xa);if(_0x14b9db===_0x4c4eb4)break;else _0x3ae6a0['push'](_0x3ae6a0['shift']());}catch(_0x5db7cb){_0x3ae6a0['push'](_0x3ae6a0['shift']());}}}(_0x71e6,0x4db6f));function _0x79bf(_0x1bc61e,_0x2b0312){_0x1bc61e=_0x1bc61e-0x93;var _0x71e646=_0x71e6();var _0x79bf53=_0x71e646[_0x1bc61e];return _0x79bf53;}class Pawn extends Actor{get['camera'](){return this['app']['camera'];}get[_0x368696(0xa5)](){return this['_enabled'];}set[_0x368696(0xa5)](_0x3f6e4f){var _0x38fdf1=_0x368696;this[_0x38fdf1(0x9b)]=_0x3f6e4f;}constructor(_0x3cf452){var _0x403efc=_0x368696;super(_0x3cf452),this[_0x403efc(0x9b)]=![],this[_0x403efc(0x99)]=_0x3cf452['controller'],this[_0x403efc(0x97)]=!![];}[_0x368696(0xa1)](_0x3c0dbf){return;}[_0x368696(0x9c)](){}[_0x368696(0xa7)](){}[_0x368696(0x95)](_0x35f20b,_0x3457a2,_0x287197,_0x3ecf7e,_0x12fcda=null,_0x36c8b0=null){}[_0x368696(0xa3)](){}[_0x368696(0x93)](){}}Pawn[_0x368696(0xa6)]=()=>!![];function _0x71e6(){var _0x38f802=['isTickEnabled','423055pCwteO','controller','595098UjpQTd','_enabled','possess','4792232FmCoHi','3339924CgJSDZ','2307000dtJXDj','100jUUATh','tick','9dewRGK','stopFocusing','4FijCKQ','enabled','inputFilter','unpossess','destroy','600471klSKJy','focusTo','111798QUQafL'];_0x71e6=function(){return _0x38f802;};return _0x71e6();}
|
|
87
87
|
|
|
88
|
-
const _0x3f0b9f=_0x30b8;function _0x30b8(_0x426464,_0x436ef1){_0x426464=_0x426464-0x1d6;const _0xc539f8=_0xc539();let _0x30b837=_0xc539f8[_0x426464];return _0x30b837;}(function(_0x71d916,_0x2e0b2d){const _0x40874f=_0x30b8,_0x460259=_0x71d916();while(!![]){try{const _0x201a36=parseInt(_0x40874f(0x224))/0x1*(parseInt(_0x40874f(0x22d))/0x2)+-parseInt(_0x40874f(0x1e5))/0x3+-parseInt(_0x40874f(0x1f1))/0x4+parseInt(_0x40874f(0x22b))/0x5+parseInt(_0x40874f(0x1d8))/0x6+-parseInt(_0x40874f(0x21f))/0x7*(-parseInt(_0x40874f(0x1e0))/0x8)+-parseInt(_0x40874f(0x1fd))/0x9*(parseInt(_0x40874f(0x1e4))/0xa);if(_0x201a36===_0x2e0b2d)break;else _0x460259['push'](_0x460259['shift']());}catch(_0x33df9d){_0x460259['push'](_0x460259['shift']());}}}(_0xc539,0x9b6a6));function _0xc539(){const _0x4aabbb=['onPointerCancelDelegate','viewport','kill','onPointerMove','multiplyScalar','1057bDPexz','maxAzimuthAngle','releasePointerCapture','onPointerMoveDelegate','canvas','973070MJhLxV','onPointerDown','clientX','clientHeight','_targetDistance','alpha','onContextMenuDelegate','4534085pFfIEY','add','2FIyecH','_isDragging','setQuaternion','lookAt','updateCameraFromPawn','setCameraDraggingState','_targetQuaternion','threeObject','app','rootComponent','lerp','max','onPointerDownDelegate','setFromQuaternion','minAzimuthAngle','onContextMenu','7522488MRnSyx','maxPolarAngle','controller','rotation','setPointerCapture','min','getQuaternion','addScaledVector','46472WQrVpC','onPointerUpDelegate','stopFocusing','slerp','151120ElkNeH','2961636MCzvVJ','dataset','camera','order','inputFilter','clientY','normalize','dampingFactor','preventDefault','setFromEuler','enabled','YXZ','3382304hupYqi','rotateSpeed','copy','onWheel','_targetPosition','clone','enableDamping','button','exp','onWheelDelegate','tick','distance','918MhxJLR','function','getTargetCameraState','possess','abs','setFromRotationMatrix','pointerId','lerpVectors','_focusTween','_lastPointerPosition','maxDistance','buttons','remove','unpossess','zoomSpeed','hasPointerCapture','onPointerUp','minPolarAngle','minDistance','outer','setRotation','position','set','applyQuaternion','lyCameraDragging','clamp','setPosition','call','getPosition'];_0xc539=function(){return _0x4aabbb;};return _0xc539();}class Orbital extends Pawn{constructor(_0x30c411){const _0x1ca9ee=_0x30b8;super(_0x30c411),this[_0x1ca9ee(0x1fc)]=0x5,this['minDistance']=0.1,this[_0x1ca9ee(0x207)]=0xf4240,this[_0x1ca9ee(0x1f2)]=0x1,this[_0x1ca9ee(0x20b)]=0x1,this[_0x1ca9ee(0x20e)]=0x0,this[_0x1ca9ee(0x1d9)]=Math['PI']*0.5,this[_0x1ca9ee(0x1d6)]=-Infinity,this[_0x1ca9ee(0x220)]=Infinity,this['enableDamping']=!![],this[_0x1ca9ee(0x1ec)]=0xa,this[_0x1ca9ee(0x22e)]=![],this[_0x1ca9ee(0x206)]=new Vector2$1(),this[_0x1ca9ee(0x1f5)]=new Vector3(),this[_0x1ca9ee(0x233)]=new Quaternion(),this[_0x1ca9ee(0x228)]=0x5,this[_0x1ca9ee(0x205)]=null,this[_0x1ca9ee(0x1d7)]=_0xdc45b6=>{const _0x31d777=_0x1ca9ee;if(!Pawn['inputFilter']())return;_0xdc45b6[_0x31d777(0x1ed)]();},this['onPointerDown']=_0x54266a=>{const _0x55fa2b=_0x1ca9ee;if(!this['enabled']||!Pawn['inputFilter']())return;if(_0x54266a[_0x55fa2b(0x1f8)]===0x0||_0x54266a[_0x55fa2b(0x1f8)]===0x2){this['_isDragging']=!![],this[_0x55fa2b(0x206)]['set'](_0x54266a[_0x55fa2b(0x226)],_0x54266a[_0x55fa2b(0x1ea)]),this['setCameraDraggingState'](!![]);const _0x33f69a=this[_0x55fa2b(0x235)][_0x55fa2b(0x21b)][_0x55fa2b(0x223)];_0x33f69a&&typeof _0x33f69a[_0x55fa2b(0x1dc)]===_0x55fa2b(0x1fe)&&_0x33f69a[_0x55fa2b(0x1dc)](_0x54266a[_0x55fa2b(0x203)]);}},this[_0x1ca9ee(0x21d)]=_0x589972=>{const _0x6e0dd9=_0x1ca9ee;if(!this['enabled']||!this[_0x6e0dd9(0x22e)]||!Pawn[_0x6e0dd9(0x1e9)]())return;if(_0x589972['buttons']===0x0){this[_0x6e0dd9(0x22e)]=![],this[_0x6e0dd9(0x232)](![]);return;}const _0x16bc9=_0x589972['clientX']-this['_lastPointerPosition']['x'],_0x59e47c=_0x589972['clientY']-this[_0x6e0dd9(0x206)]['y'];this[_0x6e0dd9(0x206)][_0x6e0dd9(0x213)](_0x589972[_0x6e0dd9(0x226)],_0x589972[_0x6e0dd9(0x1ea)]);const _0xeeca83=this['app']['viewport']['canvas'];if(!_0xeeca83)return;if(_0x589972[_0x6e0dd9(0x208)]===0x1){const _0x29d1c8=this[_0x6e0dd9(0x1f2)]*0x2*Math['PI'],_0x489dbe=new Euler(0x0,0x0,0x0,_0x6e0dd9(0x1f0))[_0x6e0dd9(0x23a)](this['_targetQuaternion']);_0x489dbe['y']-=_0x16bc9/_0xeeca83[_0x6e0dd9(0x227)]*_0x29d1c8,_0x489dbe['x']-=_0x59e47c/_0xeeca83[_0x6e0dd9(0x227)]*_0x29d1c8;const _0x1c51db=Math[_0x6e0dd9(0x238)](this['minPolarAngle']-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x24266a=Math[_0x6e0dd9(0x1dd)](this[_0x6e0dd9(0x1d9)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x489dbe['x']=MathUtils[_0x6e0dd9(0x216)](_0x489dbe['x'],_0x1c51db,_0x24266a),isFinite(this[_0x6e0dd9(0x1d6)])&&isFinite(this[_0x6e0dd9(0x220)])&&(_0x489dbe['y']=MathUtils['clamp'](_0x489dbe['y'],this[_0x6e0dd9(0x1d6)],this[_0x6e0dd9(0x220)])),_0x489dbe['z']=0x0,this[_0x6e0dd9(0x233)][_0x6e0dd9(0x1ee)](_0x489dbe),!this[_0x6e0dd9(0x1f7)]&&this[_0x6e0dd9(0x22f)](this[_0x6e0dd9(0x233)]);}else {if(_0x589972[_0x6e0dd9(0x208)]===0x2){const _0xb74de7=this[_0x6e0dd9(0x228)]*0.002,_0x13ff1d=new Vector3(0x1,0x0,0x0)[_0x6e0dd9(0x214)](this[_0x6e0dd9(0x233)])[_0x6e0dd9(0x1eb)](),_0x2c26de=new Vector3(0x0,0x1,0x0)[_0x6e0dd9(0x214)](this[_0x6e0dd9(0x233)])[_0x6e0dd9(0x1eb)]();this['_targetPosition'][_0x6e0dd9(0x1df)](_0x13ff1d,-_0x16bc9*_0xb74de7),this[_0x6e0dd9(0x1f5)]['addScaledVector'](_0x2c26de,_0x59e47c*_0xb74de7),!this[_0x6e0dd9(0x1f7)]&&this[_0x6e0dd9(0x217)](this['_targetPosition']);}}},this[_0x1ca9ee(0x20d)]=_0x25e0e5=>{const _0x2f1281=_0x1ca9ee;var _0x526219;this[_0x2f1281(0x22e)]=![],this['setCameraDraggingState'](![]);const _0x47e943=this[_0x2f1281(0x235)][_0x2f1281(0x21b)][_0x2f1281(0x223)];_0x47e943&&typeof _0x47e943['releasePointerCapture']===_0x2f1281(0x1fe)&&((_0x526219=_0x47e943[_0x2f1281(0x20c)])===null||_0x526219===void 0?void 0:_0x526219[_0x2f1281(0x218)](_0x47e943,_0x25e0e5['pointerId']))&&_0x47e943[_0x2f1281(0x221)](_0x25e0e5[_0x2f1281(0x203)]);},this[_0x1ca9ee(0x1f4)]=_0x5753fe=>{const _0x1f22e8=_0x1ca9ee;if(!this[_0x1f22e8(0x1ef)]||!Pawn[_0x1f22e8(0x1e9)]())return;const _0x2d3904=0.95;_0x5753fe['deltaY']>0x0?this['_targetDistance']/=_0x2d3904:this[_0x1f22e8(0x228)]*=_0x2d3904,this['_targetDistance']=MathUtils[_0x1f22e8(0x216)](this[_0x1f22e8(0x228)],this[_0x1f22e8(0x20f)],this[_0x1f22e8(0x207)]),!this[_0x1f22e8(0x1f7)]&&(this['distance']=this['_targetDistance']);};}[_0x3f0b9f(0x200)](){const _0x1285b0=_0x3f0b9f;super['possess']();this[_0x1285b0(0x236)]&&this[_0x1285b0(0x236)][_0x1285b0(0x234)]&&(this[_0x1285b0(0x236)][_0x1285b0(0x234)][_0x1285b0(0x1db)][_0x1285b0(0x1e8)]='YXZ');this[_0x1285b0(0x1f5)][_0x1285b0(0x1f3)](this['getPosition']());const _0x364857=this['getQuaternion'](),_0x53b77c=new Euler(0x0,0x0,0x0,_0x1285b0(0x1f0))['setFromQuaternion'](_0x364857);Math[_0x1285b0(0x201)](_0x53b77c['z'])>0.00001?(_0x53b77c['z']=0x0,this[_0x1285b0(0x233)]['setFromEuler'](_0x53b77c),this[_0x1285b0(0x22f)](this[_0x1285b0(0x233)])):this[_0x1285b0(0x233)][_0x1285b0(0x1f3)](_0x364857);this[_0x1285b0(0x228)]=this[_0x1285b0(0x1fc)];const _0x2c10b6=this[_0x1285b0(0x235)][_0x1285b0(0x1da)];_0x2c10b6&&(_0x2c10b6[_0x1285b0(0x239)]['add'](this[_0x1285b0(0x225)]),_0x2c10b6[_0x1285b0(0x222)][_0x1285b0(0x22c)](this[_0x1285b0(0x21d)]),_0x2c10b6['onPointerUpDelegate'][_0x1285b0(0x22c)](this[_0x1285b0(0x20d)]),_0x2c10b6[_0x1285b0(0x21a)][_0x1285b0(0x22c)](this['onPointerUp']),_0x2c10b6[_0x1285b0(0x1fa)][_0x1285b0(0x22c)](this[_0x1285b0(0x1f4)]),_0x2c10b6[_0x1285b0(0x22a)][_0x1285b0(0x22c)](this[_0x1285b0(0x1d7)])),this[_0x1285b0(0x231)]();}[_0x3f0b9f(0x1ff)](){const _0x380a72=_0x3f0b9f,_0x54e928=this['getPosition'](),_0x2edab0=this[_0x380a72(0x1de)](),_0x5899e0=new Vector3(0x0,0x0,0x1)[_0x380a72(0x214)](_0x2edab0)[_0x380a72(0x21e)](this['distance']),_0x5cc959=_0x54e928[_0x380a72(0x1f6)]()[_0x380a72(0x22c)](_0x5899e0),_0x7ef48d=new Matrix4();_0x7ef48d[_0x380a72(0x230)](_0x5cc959,_0x54e928,this['camera']['up']);const _0x4b115d=new Quaternion()[_0x380a72(0x202)](_0x7ef48d);return {'position':_0x5cc959,'quaternion':_0x4b115d};}[_0x3f0b9f(0x231)](){const _0xbe7127=_0x3f0b9f;if(!this[_0xbe7127(0x1ef)]||!this[_0xbe7127(0x1e7)])return;const _0x4b7938=this['getPosition'](),_0x30f9e6=this[_0xbe7127(0x1de)](),_0x20c08b=new Vector3(0x0,0x0,0x1)[_0xbe7127(0x214)](_0x30f9e6)[_0xbe7127(0x21e)](this['distance']);this[_0xbe7127(0x1e7)][_0xbe7127(0x212)][_0xbe7127(0x1f3)](_0x4b7938)[_0xbe7127(0x22c)](_0x20c08b),this[_0xbe7127(0x1e7)][_0xbe7127(0x230)](_0x4b7938);}[_0x3f0b9f(0x20a)](){const _0x488820=_0x3f0b9f;super['unpossess']();const _0x44a8c1=this[_0x488820(0x235)][_0x488820(0x1da)];_0x44a8c1&&(_0x44a8c1['onPointerDownDelegate'][_0x488820(0x209)](this[_0x488820(0x225)]),_0x44a8c1[_0x488820(0x222)][_0x488820(0x209)](this[_0x488820(0x21d)]),_0x44a8c1[_0x488820(0x1e1)][_0x488820(0x209)](this[_0x488820(0x20d)]),_0x44a8c1[_0x488820(0x21a)]['remove'](this[_0x488820(0x20d)]),_0x44a8c1[_0x488820(0x1fa)][_0x488820(0x209)](this[_0x488820(0x1f4)]),_0x44a8c1[_0x488820(0x22a)][_0x488820(0x209)](this[_0x488820(0x1d7)])),this[_0x488820(0x22e)]=![],this[_0x488820(0x232)](![]),this['_focusTween']&&(this['_focusTween']['kill'](),this[_0x488820(0x205)]=null);}[_0x3f0b9f(0x232)](_0x5e3ace){const _0x5da80d=_0x3f0b9f,_0x3891f2=this[_0x5da80d(0x235)][_0x5da80d(0x21b)][_0x5da80d(0x210)];if(!_0x3891f2)return;_0x5e3ace?_0x3891f2[_0x5da80d(0x1e6)][_0x5da80d(0x215)]='1':delete _0x3891f2['dataset'][_0x5da80d(0x215)];}[_0x3f0b9f(0x1fb)](_0xecffd4){const _0x4cd5a8=_0x3f0b9f;if(this[_0x4cd5a8(0x1f7)]){const _0x1718c4=Math[_0x4cd5a8(0x1dd)](_0xecffd4,0.1),_0x7e5644=0x1-Math[_0x4cd5a8(0x1f9)](-this[_0x4cd5a8(0x1ec)]*_0x1718c4);this[_0x4cd5a8(0x1fc)]=MathUtils[_0x4cd5a8(0x237)](this['distance'],this[_0x4cd5a8(0x228)],_0x7e5644);const _0xdfcc35=this[_0x4cd5a8(0x219)]();_0xdfcc35[_0x4cd5a8(0x237)](this[_0x4cd5a8(0x1f5)],_0x7e5644),super[_0x4cd5a8(0x217)](_0xdfcc35);const _0x5b1978=this[_0x4cd5a8(0x1de)]();_0x5b1978[_0x4cd5a8(0x1e3)](this[_0x4cd5a8(0x233)],_0x7e5644),super[_0x4cd5a8(0x22f)](_0x5b1978);}this['updateCameraFromPawn']();}[_0x3f0b9f(0x217)](..._0xcfd431){const _0x364386=_0x3f0b9f;super[_0x364386(0x217)](..._0xcfd431),this['_targetPosition']['copy'](this[_0x364386(0x219)]());}[_0x3f0b9f(0x211)](..._0x35ad0e){const _0x228dc1=_0x3f0b9f;super['setRotation'](..._0x35ad0e),this['_targetQuaternion'][_0x228dc1(0x1f3)](this[_0x228dc1(0x1de)]());}[_0x3f0b9f(0x22f)](..._0x12b06a){const _0x2aa6a1=_0x3f0b9f;super[_0x2aa6a1(0x22f)](..._0x12b06a),this[_0x2aa6a1(0x233)][_0x2aa6a1(0x1f3)](this[_0x2aa6a1(0x1de)]());}['focusTo'](_0x2b4421,_0x5d88e4,_0x459430,_0x201aaf,_0x35593b=null,_0x391465=null){const _0x32af63=_0x3f0b9f;this[_0x32af63(0x205)]&&this['_focusTween'][_0x32af63(0x21c)]();const _0xb0e31=this['getPosition'](),_0x40a1f0=this[_0x32af63(0x1de)](),_0x2cabd4=this[_0x32af63(0x1fc)];let _0x21878a;_0x5d88e4 instanceof Euler?_0x21878a=new Quaternion()[_0x32af63(0x1ee)](_0x5d88e4):_0x21878a=_0x5d88e4['clone']();const _0x5d6b8f=new Euler(0x0,0x0,0x0,_0x32af63(0x1f0))[_0x32af63(0x23a)](_0x21878a);Math['abs'](_0x5d6b8f['z'])>0.00001&&(_0x5d6b8f['z']=0x0,_0x21878a[_0x32af63(0x1ee)](_0x5d6b8f));const _0x19b2f6={'alpha':0x0};this['_focusTween']=gsap['to'](_0x19b2f6,{'alpha':0x1,'duration':_0x201aaf,'onUpdate':()=>{const _0x2f49ed=_0x32af63,_0x18a01b=_0x19b2f6[_0x2f49ed(0x229)],_0x5a2767=new Vector3()[_0x2f49ed(0x204)](_0xb0e31,_0x2b4421,_0x18a01b);this['setPosition'](_0x5a2767),this[_0x2f49ed(0x1f5)][_0x2f49ed(0x1f3)](_0x5a2767);const _0x2d1793=_0x40a1f0[_0x2f49ed(0x1f6)]()['slerp'](_0x21878a,_0x18a01b);this[_0x2f49ed(0x22f)](_0x2d1793),this['_targetQuaternion'][_0x2f49ed(0x1f3)](_0x2d1793),this[_0x2f49ed(0x1fc)]=MathUtils[_0x2f49ed(0x237)](_0x2cabd4,_0x459430,_0x18a01b),this[_0x2f49ed(0x228)]=this[_0x2f49ed(0x1fc)];if(_0x35593b)_0x35593b();},'onComplete':()=>{const _0x103bc5=_0x32af63;this[_0x103bc5(0x205)]=null;if(_0x391465)_0x391465();}});}[_0x3f0b9f(0x1e2)](){const _0x8fbf4a=_0x3f0b9f;this[_0x8fbf4a(0x205)]&&(this['_focusTween'][_0x8fbf4a(0x21c)](),this[_0x8fbf4a(0x205)]=null);}}
|
|
88
|
+
const _0x433d62=_0x3cae;function _0x29d9(){const _0x4ecad3=['unpossess','dampingFactor','minDistance','enabled','onPointerUpDelegate','onPointerDown','_lastPointerPosition','onContextMenuDelegate','99160ndDdKF','viewport','deltaY','onPointerMoveDelegate','getQuaternion','setRotation','add','clamp','dataset','remove','setQuaternion','setPointerCapture','getTargetCameraState','possess','_targetPosition','lerp','abs','copy','lyCameraDragging','applyQuaternion','buttons','5961500kwPpAY','maxDistance','outer','getPosition','camera','maxAzimuthAngle','clientY','rotateSpeed','set','releasePointerCapture','normalize','_targetQuaternion','onWheelDelegate','onPointerMove','onPointerCancelDelegate','_focusTween','rotation','onPointerUp','alpha','onContextMenu','436515YRPpJO','clientX','onWheel','lerpVectors','addScaledVector','controller','rootComponent','slerp','app','setFromRotationMatrix','order','kill','lookAt','distance','setFromQuaternion','_targetDistance','29618qWmyNg','zoomSpeed','6AvvFbv','minPolarAngle','minAzimuthAngle','64WafdIR','3726090olOLcK','inputFilter','setCameraDraggingState','clone','setFromEuler','764078SXGKBU','pointerId','updateCameraFromPawn','focusTo','onPointerDownDelegate','YXZ','enableDamping','setPosition','maxPolarAngle','exp','button','canvas','threeObject','2905335dCPDrm','_isDragging','175Zknguh'];_0x29d9=function(){return _0x4ecad3;};return _0x29d9();}(function(_0x37588d,_0x749095){const _0x5891be=_0x3cae,_0x2ba448=_0x37588d();while(!![]){try{const _0x20cf04=parseInt(_0x5891be(0x82))/0x1+parseInt(_0x5891be(0x84))/0x2*(-parseInt(_0x5891be(0x72))/0x3)+parseInt(_0x5891be(0xa5))/0x4*(parseInt(_0x5891be(0x9c))/0x5)+parseInt(_0x5891be(0x88))/0x6+parseInt(_0x5891be(0x8d))/0x7*(-parseInt(_0x5891be(0x87))/0x8)+-parseInt(_0x5891be(0x9a))/0x9+parseInt(_0x5891be(0xba))/0xa;if(_0x20cf04===_0x749095)break;else _0x2ba448['push'](_0x2ba448['shift']());}catch(_0x5713dc){_0x2ba448['push'](_0x2ba448['shift']());}}}(_0x29d9,0x75a4f));function _0x3cae(_0x385557,_0x52e780){_0x385557=_0x385557-0x69;const _0x29d95c=_0x29d9();let _0x3caef5=_0x29d95c[_0x385557];return _0x3caef5;}class Orbital extends Pawn{constructor(_0x40ca3a){const _0x4de923=_0x3cae;super(_0x40ca3a),this[_0x4de923(0x7f)]=0x5,this['minDistance']=0.1,this[_0x4de923(0xbb)]=0xf4240,this[_0x4de923(0xc1)]=0x1,this[_0x4de923(0x83)]=0x1,this[_0x4de923(0x85)]=0x0,this['maxPolarAngle']=Math['PI']*0.5,this[_0x4de923(0x86)]=-Infinity,this[_0x4de923(0xbf)]=Infinity,this[_0x4de923(0x93)]=!![],this[_0x4de923(0x9e)]=0xa,this[_0x4de923(0x9b)]=![],this[_0x4de923(0xa3)]=new Vector2$1(),this['_targetPosition']=new Vector3(),this[_0x4de923(0x69)]=new Quaternion(),this[_0x4de923(0x81)]=0x5,this[_0x4de923(0x6d)]=null,this[_0x4de923(0x71)]=_0x1568c5=>{const _0x9ca670=_0x4de923;if(!Pawn[_0x9ca670(0x89)]())return;_0x1568c5['preventDefault']();},this[_0x4de923(0xa2)]=_0x3889ee=>{const _0x7b44c2=_0x4de923;if(!this[_0x7b44c2(0xa0)]||!Pawn['inputFilter']())return;if(_0x3889ee['button']===0x0||_0x3889ee[_0x7b44c2(0x97)]===0x2){this[_0x7b44c2(0x9b)]=!![],this[_0x7b44c2(0xa3)][_0x7b44c2(0xc2)](_0x3889ee[_0x7b44c2(0x73)],_0x3889ee[_0x7b44c2(0xc0)]),this[_0x7b44c2(0x8a)](!![]);const _0x5e058d=this['app']['viewport'][_0x7b44c2(0x98)];_0x5e058d&&typeof _0x5e058d[_0x7b44c2(0xb0)]==='function'&&_0x5e058d['setPointerCapture'](_0x3889ee[_0x7b44c2(0x8e)]);}},this[_0x4de923(0x6b)]=_0x1533ea=>{const _0x35665f=_0x4de923;if(!this[_0x35665f(0xa0)]||!this[_0x35665f(0x9b)]||!Pawn[_0x35665f(0x89)]())return;if(_0x1533ea['buttons']===0x0){this[_0x35665f(0x9b)]=![],this[_0x35665f(0x8a)](![]);return;}const _0x11b2bc=_0x1533ea['clientX']-this[_0x35665f(0xa3)]['x'],_0x41761d=_0x1533ea['clientY']-this[_0x35665f(0xa3)]['y'];this[_0x35665f(0xa3)][_0x35665f(0xc2)](_0x1533ea['clientX'],_0x1533ea[_0x35665f(0xc0)]);const _0x1b6bc9=this['app']['viewport'][_0x35665f(0x98)];if(!_0x1b6bc9)return;if(_0x1533ea[_0x35665f(0xb9)]===0x1){const _0x537176=this[_0x35665f(0xc1)]*0x2*Math['PI'],_0x1c6b1f=new Euler(0x0,0x0,0x0,_0x35665f(0x92))[_0x35665f(0x80)](this['_targetQuaternion']);_0x1c6b1f['y']-=_0x11b2bc/_0x1b6bc9['clientHeight']*_0x537176,_0x1c6b1f['x']-=_0x41761d/_0x1b6bc9['clientHeight']*_0x537176;const _0x532289=Math['max'](this[_0x35665f(0x85)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x4c13d7=Math['min'](this[_0x35665f(0x95)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x1c6b1f['x']=MathUtils[_0x35665f(0xac)](_0x1c6b1f['x'],_0x532289,_0x4c13d7),isFinite(this['minAzimuthAngle'])&&isFinite(this['maxAzimuthAngle'])&&(_0x1c6b1f['y']=MathUtils['clamp'](_0x1c6b1f['y'],this['minAzimuthAngle'],this[_0x35665f(0xbf)])),_0x1c6b1f['z']=0x0,this[_0x35665f(0x69)][_0x35665f(0x8c)](_0x1c6b1f),!this[_0x35665f(0x93)]&&this['setQuaternion'](this[_0x35665f(0x69)]);}else {if(_0x1533ea[_0x35665f(0xb9)]===0x2){const _0x1c6ce2=this['_targetDistance']*0.002,_0x545106=new Vector3(0x1,0x0,0x0)[_0x35665f(0xb8)](this[_0x35665f(0x69)])['normalize'](),_0x2d7303=new Vector3(0x0,0x1,0x0)[_0x35665f(0xb8)](this[_0x35665f(0x69)])[_0x35665f(0xc4)]();this[_0x35665f(0xb3)]['addScaledVector'](_0x545106,-_0x11b2bc*_0x1c6ce2),this['_targetPosition'][_0x35665f(0x76)](_0x2d7303,_0x41761d*_0x1c6ce2),!this[_0x35665f(0x93)]&&this[_0x35665f(0x94)](this[_0x35665f(0xb3)]);}}},this[_0x4de923(0x6f)]=_0x5f3691=>{const _0x527d84=_0x4de923;var _0xfb178e;this[_0x527d84(0x9b)]=![],this['setCameraDraggingState'](![]);const _0x2ffaef=this[_0x527d84(0x7a)][_0x527d84(0xa6)]['canvas'];_0x2ffaef&&typeof _0x2ffaef[_0x527d84(0xc3)]==='function'&&((_0xfb178e=_0x2ffaef['hasPointerCapture'])===null||_0xfb178e===void 0?void 0:_0xfb178e['call'](_0x2ffaef,_0x5f3691['pointerId']))&&_0x2ffaef[_0x527d84(0xc3)](_0x5f3691['pointerId']);},this[_0x4de923(0x74)]=_0x57cca2=>{const _0x4f8b00=_0x4de923;if(!this[_0x4f8b00(0xa0)]||!Pawn[_0x4f8b00(0x89)]())return;const _0x16a41c=0.95;_0x57cca2[_0x4f8b00(0xa7)]>0x0?this[_0x4f8b00(0x81)]/=_0x16a41c:this[_0x4f8b00(0x81)]*=_0x16a41c,this[_0x4f8b00(0x81)]=MathUtils[_0x4f8b00(0xac)](this['_targetDistance'],this[_0x4f8b00(0x9f)],this[_0x4f8b00(0xbb)]),!this[_0x4f8b00(0x93)]&&(this['distance']=this[_0x4f8b00(0x81)]);};}['possess'](){const _0x3a6dc8=_0x3cae;super[_0x3a6dc8(0xb2)]();this[_0x3a6dc8(0x78)]&&this[_0x3a6dc8(0x78)][_0x3a6dc8(0x99)]&&(this[_0x3a6dc8(0x78)][_0x3a6dc8(0x99)][_0x3a6dc8(0x6e)][_0x3a6dc8(0x7c)]=_0x3a6dc8(0x92));this[_0x3a6dc8(0xb3)][_0x3a6dc8(0xb6)](this[_0x3a6dc8(0xbd)]());const _0x1f3b0d=this[_0x3a6dc8(0xa9)](),_0x7fc54f=new Euler(0x0,0x0,0x0,_0x3a6dc8(0x92))['setFromQuaternion'](_0x1f3b0d);Math[_0x3a6dc8(0xb5)](_0x7fc54f['z'])>0.00001?(_0x7fc54f['z']=0x0,this['_targetQuaternion'][_0x3a6dc8(0x8c)](_0x7fc54f),this[_0x3a6dc8(0xaf)](this[_0x3a6dc8(0x69)])):this[_0x3a6dc8(0x69)][_0x3a6dc8(0xb6)](_0x1f3b0d);this[_0x3a6dc8(0x81)]=this[_0x3a6dc8(0x7f)];const _0x1036a2=this[_0x3a6dc8(0x7a)][_0x3a6dc8(0x77)];_0x1036a2&&(_0x1036a2[_0x3a6dc8(0x91)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0xa2)]),_0x1036a2['onPointerMoveDelegate'][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x6b)]),_0x1036a2[_0x3a6dc8(0xa1)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x6f)]),_0x1036a2[_0x3a6dc8(0x6c)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x6f)]),_0x1036a2[_0x3a6dc8(0x6a)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x74)]),_0x1036a2[_0x3a6dc8(0xa4)][_0x3a6dc8(0xab)](this['onContextMenu'])),this['updateCameraFromPawn']();}[_0x433d62(0xb1)](){const _0x183365=_0x433d62,_0x59079f=this[_0x183365(0xbd)](),_0xb1cb7c=this[_0x183365(0xa9)](),_0x2dfc74=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0xb1cb7c)['multiplyScalar'](this[_0x183365(0x7f)]),_0x37bbdf=_0x59079f['clone']()[_0x183365(0xab)](_0x2dfc74),_0xfb0a64=new Matrix4();_0xfb0a64[_0x183365(0x7e)](_0x37bbdf,_0x59079f,this[_0x183365(0xbe)]['up']);const _0x3469a9=new Quaternion()[_0x183365(0x7b)](_0xfb0a64);return {'position':_0x37bbdf,'quaternion':_0x3469a9};}[_0x433d62(0x8f)](){const _0x4a2ee0=_0x433d62;if(!this['enabled']||!this[_0x4a2ee0(0xbe)])return;const _0x290351=this['getPosition'](),_0x5b06e0=this[_0x4a2ee0(0xa9)](),_0x3e3039=new Vector3(0x0,0x0,0x1)[_0x4a2ee0(0xb8)](_0x5b06e0)['multiplyScalar'](this[_0x4a2ee0(0x7f)]);this[_0x4a2ee0(0xbe)]['position'][_0x4a2ee0(0xb6)](_0x290351)[_0x4a2ee0(0xab)](_0x3e3039),this['camera'][_0x4a2ee0(0x7e)](_0x290351);}[_0x433d62(0x9d)](){const _0x515716=_0x433d62;super['unpossess']();const _0x2a46cd=this[_0x515716(0x7a)][_0x515716(0x77)];_0x2a46cd&&(_0x2a46cd[_0x515716(0x91)][_0x515716(0xae)](this[_0x515716(0xa2)]),_0x2a46cd[_0x515716(0xa8)][_0x515716(0xae)](this[_0x515716(0x6b)]),_0x2a46cd['onPointerUpDelegate']['remove'](this[_0x515716(0x6f)]),_0x2a46cd[_0x515716(0x6c)][_0x515716(0xae)](this[_0x515716(0x6f)]),_0x2a46cd[_0x515716(0x6a)][_0x515716(0xae)](this[_0x515716(0x74)]),_0x2a46cd[_0x515716(0xa4)][_0x515716(0xae)](this[_0x515716(0x71)])),this[_0x515716(0x9b)]=![],this[_0x515716(0x8a)](![]),this['_focusTween']&&(this[_0x515716(0x6d)][_0x515716(0x7d)](),this[_0x515716(0x6d)]=null);}['setCameraDraggingState'](_0x145fb4){const _0x372313=_0x433d62,_0x4af75e=this['app'][_0x372313(0xa6)][_0x372313(0xbc)];if(!_0x4af75e)return;_0x145fb4?_0x4af75e['dataset'][_0x372313(0xb7)]='1':delete _0x4af75e[_0x372313(0xad)][_0x372313(0xb7)];}['tick'](_0x1381d1){const _0x2439d9=_0x433d62;if(this[_0x2439d9(0x93)]){const _0x2d9d95=Math['min'](_0x1381d1,0.1),_0x1cfd20=0x1-Math[_0x2439d9(0x96)](-this[_0x2439d9(0x9e)]*_0x2d9d95);this[_0x2439d9(0x7f)]=MathUtils[_0x2439d9(0xb4)](this[_0x2439d9(0x7f)],this['_targetDistance'],_0x1cfd20);const _0x4822d6=this['getPosition']();_0x4822d6[_0x2439d9(0xb4)](this[_0x2439d9(0xb3)],_0x1cfd20),super[_0x2439d9(0x94)](_0x4822d6);const _0x3ea5f1=this[_0x2439d9(0xa9)]();_0x3ea5f1[_0x2439d9(0x79)](this['_targetQuaternion'],_0x1cfd20),super['setQuaternion'](_0x3ea5f1);}this['updateCameraFromPawn']();}[_0x433d62(0x94)](..._0x3c6bb1){const _0x546d03=_0x433d62;super[_0x546d03(0x94)](..._0x3c6bb1),this[_0x546d03(0xb3)][_0x546d03(0xb6)](this[_0x546d03(0xbd)]());}[_0x433d62(0xaa)](..._0x2c86b7){const _0xeef6ba=_0x433d62;super[_0xeef6ba(0xaa)](..._0x2c86b7),this[_0xeef6ba(0x69)][_0xeef6ba(0xb6)](this[_0xeef6ba(0xa9)]());}[_0x433d62(0xaf)](..._0x4a5254){const _0x3971a8=_0x433d62;super[_0x3971a8(0xaf)](..._0x4a5254),this[_0x3971a8(0x69)][_0x3971a8(0xb6)](this['getQuaternion']());}[_0x433d62(0x90)](_0x4ac064,_0x95e593,_0x56ce32,_0x731eec,_0x41391c=null,_0x19883e=null){const _0x15f49e=_0x433d62;this[_0x15f49e(0x6d)]&&this[_0x15f49e(0x6d)][_0x15f49e(0x7d)]();const _0x1a0644=this[_0x15f49e(0xbd)](),_0x3feec3=this[_0x15f49e(0xa9)](),_0x17e0ad=this[_0x15f49e(0x7f)];let _0x345d72;_0x95e593 instanceof Euler?_0x345d72=new Quaternion()[_0x15f49e(0x8c)](_0x95e593):_0x345d72=_0x95e593[_0x15f49e(0x8b)]();const _0x37c12a=new Euler(0x0,0x0,0x0,_0x15f49e(0x92))['setFromQuaternion'](_0x345d72);Math['abs'](_0x37c12a['z'])>0.00001&&(_0x37c12a['z']=0x0,_0x345d72[_0x15f49e(0x8c)](_0x37c12a));const _0x265bbd={'alpha':0x0};this[_0x15f49e(0x6d)]=gsap['to'](_0x265bbd,{'alpha':0x1,'duration':_0x731eec,'onUpdate':()=>{const _0x3c2bc3=_0x15f49e,_0x1f938e=_0x265bbd[_0x3c2bc3(0x70)],_0xdac98=new Vector3()[_0x3c2bc3(0x75)](_0x1a0644,_0x4ac064,_0x1f938e);this[_0x3c2bc3(0x94)](_0xdac98),this[_0x3c2bc3(0xb3)][_0x3c2bc3(0xb6)](_0xdac98);const _0x128fe3=_0x3feec3[_0x3c2bc3(0x8b)]()['slerp'](_0x345d72,_0x1f938e);this[_0x3c2bc3(0xaf)](_0x128fe3),this[_0x3c2bc3(0x69)]['copy'](_0x128fe3),this[_0x3c2bc3(0x7f)]=MathUtils['lerp'](_0x17e0ad,_0x56ce32,_0x1f938e),this[_0x3c2bc3(0x81)]=this[_0x3c2bc3(0x7f)];if(_0x41391c)_0x41391c();},'onComplete':()=>{const _0x5dadc8=_0x15f49e;this[_0x5dadc8(0x6d)]=null;if(_0x19883e)_0x19883e();}});}['stopFocusing'](){const _0x54be37=_0x433d62;this[_0x54be37(0x6d)]&&(this[_0x54be37(0x6d)]['kill'](),this['_focusTween']=null);}}
|
|
89
89
|
|
|
90
|
-
const _0x25ac4a=_0xe7db;(function(_0x30a8d1,_0xaa6ed7){const _0x1d075f=_0xe7db,_0x4ff61b=_0x30a8d1();while(!![]){try{const _0x9a845a=-parseInt(_0x1d075f(0x169))/0x1*(-parseInt(_0x1d075f(0x15d))/0x2)+-parseInt(_0x1d075f(0x105))/0x3*(-parseInt(_0x1d075f(0x133))/0x4)+-parseInt(_0x1d075f(0x164))/0x5*(parseInt(_0x1d075f(0x1b9))/0x6)+-parseInt(_0x1d075f(0x10f))/0x7*(parseInt(_0x1d075f(0x1b5))/0x8)+-parseInt(_0x1d075f(0x1a7))/0x9+-parseInt(_0x1d075f(0x156))/0xa*(-parseInt(_0x1d075f(0x19d))/0xb)+parseInt(_0x1d075f(0x1b4))/0xc*(parseInt(_0x1d075f(0x1a8))/0xd);if(_0x9a845a===_0xaa6ed7)break;else _0x4ff61b['push'](_0x4ff61b['shift']());}catch(_0x3a9599){_0x4ff61b['push'](_0x4ff61b['shift']());}}}(_0x24d9,0xcf77c));function _0xe7db(_0x3d61c9,_0x3ba902){_0x3d61c9=_0x3d61c9-0xf0;const _0x24d96a=_0x24d9();let _0xe7db25=_0x24d96a[_0x3d61c9];return _0xe7db25;}function _0x24d9(){const _0x5b58d7=['component','onActorHoverBeginDelegate','_onKeyDownDelegate','getHitResultFromScreenPoint','threeObject','pointerenter','onKeyDown','prepareClickComponent','pointerdown','onPointerEnterEvent','pawn\x20is\x20null','possess','_onPointerDownDelegate','ctrlKey','onActorHoverEnd','tick','clientX','fireComponentHoverEnd','_onComponentHoverEndDelegate','_raycastVec2','isPerspectiveCamera','onWheelEvent','blocking','parentActor','onPointerCancelEvent','_onActorHoverEndDelegate','onKeyDownDelegate','onWindowBlurEvent','onKeyUpEvent','world','onClickNothingDelegate','_onWindowBlurDelegate','onClick','enabled','prepareClickHit','_onWheelDelegate','clientY','onComponentClickDelegate','getCenter','copy','1485MOnNYW','shiftKey','pointermove','onRawClickDelegate','assign','log','onActorHoverEndDelegate','init','clearClickTimer','onPointerDownEvent','10761921BPBOiB','13yAZJHz','fireActorHoverBegin','onPointerLeaveEvent','point','onPointerDown','app','fireComponentClick','add','clone','_app','onPointerLockChangeDelegate','_onComponentDoubleClickDelegate','34602792FZXlyB','482960qfPtDi','push','removeCorePointerListeners','kill','8274972sGnnPl','YXZ','onPointerLockChangeEvent','onHorveringEnd','origin','hoveringActor','onPointerEnter','_onPointerMoveDelegate','_onPointerUpDelegate','onPointerMoveDelegate','updateCamera','hoveringComponent','raycaster','top','onPointerLeave','fireClickEvents','hit','onActorClick','contextmenu','fireComponentHoverBegin','doubleClickDelay','leftClickTimer','fireActorHoverEnd','blur','915dMZcQj','onPointerDownDelegate','left','firePointerDownEvent','onKeyUp','getTargetCameraState','isHoverEnabled','onPointerLockChange','canvas','onClickEvent','175SFCuHD','pointerLeftDownPosition','onWindowBlurDelegate','clearHovering','clientHeight','getHitResultUnderCursor','click','onWheel','Visibility','broadcast','button','pawn','position','handleDoubleClick','onKeyUpDelegate','_switchPawnTween','lerpVectors','collider','onClicked','onWheelDelegate','multiplyScalar','delete','pointerleave','getBoundingClientRect','onPointerCancelDelegate','keyup','power2.inOut','onActorDoubleClickDelegate','_pawn','_pointButtonIsDown','addEventListener','keydown','fireActorClick','distance','lineTraceSingle','_onActorDoubleClickDelegate','6412cqsrqC','physics','focusTo','ray','pointerPosition','addActor','_onKeyUpDelegate','_onRawClickDelegate','onComponentDoubleClickDelegate','onPointerUp','prepareClickModifiers','onContextMenu','onPointerCancel','switchPawn','onContextMenuDelegate','createInitialPawn','focusToBounds','clearTimeout','onPointerUpDelegate','viewPort','removeEventListener','fov','onPointerMove','_onContextMenuDelegate','getAllHitResultFromScreenPoint','destroy','onActorClickDelegate','set','_tempVec2','max','pointerup','_onPointerLockChangeDelegate','_onComponentPointerDownDelegate','pointercancel','_onPointerCancelDelegate','7480NVQhzy','onPointerUpEvent','size','onWindowBlur','camera','_onActorClickDelegate','near','69548ogidau','_onComponentHoverBeginDelegate','canvas\x20is\x20null','onContextMenuEvent','getAllHitResultUnderCursor','addCorePointerListeners','handled','5dhgiUQ','_onClickNothingDelegate','onDoubleClicked','length','isClickEnabled','42hZJqjS','quaternion','_onActorHoverBeginDelegate','unpossess','viewport','onPointerMoveEvent','wheel','setFromCamera','handleFirstClick','onKeyDownEvent','setTimeout','sqrt'];_0x24d9=function(){return _0x5b58d7;};return _0x24d9();}class Controller{get[_0x25ac4a(0x15a)](){const _0x5bd4cf=_0x25ac4a;return this[_0x5bd4cf(0x1b1)][_0x5bd4cf(0x15a)];}get[_0x25ac4a(0x192)](){const _0x1e7dba=_0x25ac4a;return this[_0x1e7dba(0x1b1)][_0x1e7dba(0x192)];}get[_0x25ac4a(0x146)](){const _0x312112=_0x25ac4a;return this['_app'][_0x312112(0x16d)];}get[_0x25ac4a(0x1ad)](){const _0x22f3ab=_0x25ac4a;return this[_0x22f3ab(0x1b1)];}get[_0x25ac4a(0x11a)](){const _0x1244c=_0x25ac4a;if(!this['_pawn'])throw Error(_0x1244c(0x17f));return this[_0x1244c(0x12b)];}get[_0x25ac4a(0x19a)](){return this['_onComponentClickDelegate'];}get[_0x25ac4a(0x13b)](){const _0x4ce015=_0x25ac4a;return this[_0x4ce015(0x1b3)];}get['onComponentHoverBeginDelegate'](){const _0x5ad21c=_0x25ac4a;return this[_0x5ad21c(0x15e)];}get['onComponentHoverEndDelegate'](){const _0x418ecc=_0x25ac4a;return this[_0x418ecc(0x187)];}get['onComponentPointerDownDelegate'](){const _0x96d676=_0x25ac4a;return this[_0x96d676(0x153)];}get[_0x25ac4a(0x14d)](){return this['_onActorClickDelegate'];}get[_0x25ac4a(0x12a)](){const _0x174d29=_0x25ac4a;return this[_0x174d29(0x132)];}get[_0x25ac4a(0x176)](){return this['_onActorHoverBeginDelegate'];}get[_0x25ac4a(0x1a3)](){const _0x5f0766=_0x25ac4a;return this[_0x5f0766(0x18e)];}get[_0x25ac4a(0x193)](){return this['_onClickNothingDelegate'];}get[_0x25ac4a(0x106)](){const _0x353896=_0x25ac4a;return this[_0x353896(0x181)];}get[_0x25ac4a(0x145)](){const _0x4145a1=_0x25ac4a;return this[_0x4145a1(0xf5)];}get[_0x25ac4a(0xf6)](){const _0x5097ff=_0x25ac4a;return this[_0x5097ff(0xf4)];}get[_0x25ac4a(0x127)](){const _0x3772dd=_0x25ac4a;return this[_0x3772dd(0x155)];}get[_0x25ac4a(0x122)](){const _0x5949ec=_0x25ac4a;return this[_0x5949ec(0x198)];}get[_0x25ac4a(0x18f)](){return this['_onKeyDownDelegate'];}get[_0x25ac4a(0x11d)](){return this['_onKeyUpDelegate'];}get[_0x25ac4a(0x141)](){return this['_onContextMenuDelegate'];}get[_0x25ac4a(0x1b2)](){const _0x34d53e=_0x25ac4a;return this[_0x34d53e(0x152)];}get[_0x25ac4a(0x111)](){return this['_onWindowBlurDelegate'];}get[_0x25ac4a(0x1a0)](){const _0x5926da=_0x25ac4a;return this[_0x5926da(0x13a)];}constructor(_0x53471d){const _0x3c5eaf=_0x25ac4a;this[_0x3c5eaf(0x12b)]=null,this[_0x3c5eaf(0x11e)]=null,this['hoveringComponent']=null,this[_0x3c5eaf(0xf2)]=null,this[_0x3c5eaf(0x17c)]=null,this['prepareClickHit']=null,this[_0x3c5eaf(0x13d)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this['_pointButtonIsDown']=new Set(),this['_onComponentClickDelegate']=new Delegate(),this['_onComponentDoubleClickDelegate']=new Delegate(),this[_0x3c5eaf(0x15e)]=new Delegate(),this[_0x3c5eaf(0x187)]=new Delegate(),this[_0x3c5eaf(0x153)]=new Delegate(),this[_0x3c5eaf(0x15b)]=new Delegate(),this[_0x3c5eaf(0x132)]=new Delegate(),this[_0x3c5eaf(0x16b)]=new Delegate(),this[_0x3c5eaf(0x18e)]=new Delegate(),this[_0x3c5eaf(0x165)]=new Delegate(),this[_0x3c5eaf(0x181)]=new Delegate(),this['_onPointerUpDelegate']=new Delegate(),this[_0x3c5eaf(0xf4)]=new Delegate(),this[_0x3c5eaf(0x155)]=new Delegate(),this['_onWheelDelegate']=new Delegate(),this[_0x3c5eaf(0x177)]=new Delegate(),this['_onKeyUpDelegate']=new Delegate(),this[_0x3c5eaf(0x14a)]=new Delegate(),this[_0x3c5eaf(0x152)]=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this[_0x3c5eaf(0x13a)]=new Delegate(),this['pointerPosition']=new Vector2$1(),this[_0x3c5eaf(0x110)]=new Vector2$1(),this[_0x3c5eaf(0x14f)]=new Vector2$1(),this[_0x3c5eaf(0x188)]=new Vector2$1(),this['doubleClickDelay']=0xfa,this[_0x3c5eaf(0x102)]=null,this['onPointerMove']=_0x5892f2=>this['onPointerMoveEvent'](_0x5892f2),this['onPointerEnter']=_0x4b5bf4=>this['onPointerEnterEvent'](_0x4b5bf4),this[_0x3c5eaf(0xfb)]=_0x28c1f1=>this[_0x3c5eaf(0x1aa)](_0x28c1f1),this[_0x3c5eaf(0x13c)]=_0x3a1461=>this[_0x3c5eaf(0x157)](_0x3a1461),this[_0x3c5eaf(0x1ac)]=_0x3f39ec=>this[_0x3c5eaf(0x1a6)](_0x3f39ec),this[_0x3c5eaf(0x13f)]=_0x238621=>this['onPointerCancelEvent'](_0x238621),this[_0x3c5eaf(0x116)]=_0x5f3415=>this[_0x3c5eaf(0x18a)](_0x5f3415),this[_0x3c5eaf(0x17b)]=_0x13bf6d=>this[_0x3c5eaf(0x172)](_0x13bf6d),this['onKeyUp']=_0x38e059=>this[_0x3c5eaf(0x191)](_0x38e059),this[_0x3c5eaf(0x13e)]=_0xc14fc4=>this['onContextMenuEvent'](_0xc14fc4),this[_0x3c5eaf(0x10c)]=_0x3208b8=>this[_0x3c5eaf(0x1bb)](_0x3208b8),this[_0x3c5eaf(0x159)]=_0x5dbe9f=>this[_0x3c5eaf(0x190)](_0x5dbe9f),this[_0x3c5eaf(0x195)]=_0x246b74=>this['onClickEvent'](_0x246b74),this['_app']=_0x53471d,this[_0x3c5eaf(0xf9)]=new Raycaster(),this[_0x3c5eaf(0x142)]();}[_0x25ac4a(0x142)](){const _0x317089=_0x25ac4a;this['_pawn']=new Orbital(this[_0x317089(0x1b1)]),this[_0x317089(0x11a)]['possess'](),this[_0x317089(0x11a)]['enabled']=!![];}[_0x25ac4a(0x1a4)](){const _0x143a69=_0x25ac4a,_0x2da100=this[_0x143a69(0x146)][_0x143a69(0x10d)];console[_0x143a69(0x1a2)](_0x143a69(0x10d),_0x2da100),_0x2da100&&(_0x2da100[_0x143a69(0x12d)](_0x143a69(0x17a),this[_0x143a69(0xf3)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0x125),this[_0x143a69(0xfb)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0x154),this[_0x143a69(0x13f)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0x16f),this[_0x143a69(0x116)]),_0x2da100[_0x143a69(0x12d)](_0x143a69(0xff),this['onContextMenu']),_0x2da100['addEventListener'](_0x143a69(0x115),this[_0x143a69(0x195)]),this[_0x143a69(0x162)]()),document['addEventListener']('pointerlockchange',this[_0x143a69(0x10c)]),document['addEventListener']('keydown',this[_0x143a69(0x17b)]),document[_0x143a69(0x12d)](_0x143a69(0x128),this[_0x143a69(0x109)]),window[_0x143a69(0x12d)]('blur',this['onWindowBlur']),this['_pawn']&&(this['_pawn'][_0x143a69(0x16c)](),this['_pawn']['possess']());}[_0x25ac4a(0xf7)](){const _0xa1bfeb=_0x25ac4a;var _0x185c12,_0x31b795;const _0x40829e=this[_0xa1bfeb(0x11a)][_0xa1bfeb(0x196)];(_0x185c12=this['_pawn'])===null||_0x185c12===void 0?void 0:_0x185c12[_0xa1bfeb(0x16c)](),(_0x31b795=this[_0xa1bfeb(0x12b)])===null||_0x31b795===void 0?void 0:_0x31b795[_0xa1bfeb(0x14c)](),this[_0xa1bfeb(0x12b)]=new Orbital(this['_app']),this[_0xa1bfeb(0x11a)][_0xa1bfeb(0x180)](),this['pawn'][_0xa1bfeb(0x196)]=_0x40829e;}async[_0x25ac4a(0x140)](_0x444769,_0x91b576){const _0x149d57=_0x25ac4a;!_0x444769[_0x149d57(0x192)]&&this[_0x149d57(0x1b1)][_0x149d57(0x192)][_0x149d57(0x138)](_0x444769);this[_0x149d57(0x11e)]&&(this[_0x149d57(0x11e)][_0x149d57(0x1b8)](),this[_0x149d57(0x11e)]=null);const _0x51973=this[_0x149d57(0x12b)];if(_0x51973===_0x444769)return;if(!_0x91b576||_0x91b576<=0x0){_0x51973&&(_0x51973[_0x149d57(0x16c)](),_0x51973[_0x149d57(0x196)]=![]);this['_pawn']=_0x444769,this[_0x149d57(0x12b)][_0x149d57(0x196)]=!![],this[_0x149d57(0x12b)][_0x149d57(0x180)]();return;}const _0x165438=this[_0x149d57(0x15a)][_0x149d57(0x11b)][_0x149d57(0x1b0)](),_0x4cf982=this['camera']['quaternion'][_0x149d57(0x1b0)]();_0x51973&&(_0x51973['unpossess'](),_0x51973[_0x149d57(0x196)]=![]);const {position:_0x11295b,quaternion:_0x1d00e9}=_0x444769[_0x149d57(0x10a)]();return this[_0x149d57(0x12b)]=_0x444769,this[_0x149d57(0x12b)][_0x149d57(0x196)]=![],new Promise(_0x505f23=>{const _0x4d5294=_0x149d57,_0x234679={'alpha':0x0};this[_0x4d5294(0x11e)]=gsap['to'](_0x234679,{'alpha':0x1,'duration':_0x91b576,'ease':_0x4d5294(0x129),'onUpdate':()=>{const _0x4e6a1e=_0x4d5294,_0x50c73e=_0x234679['alpha'];this[_0x4e6a1e(0x15a)]['position'][_0x4e6a1e(0x11f)](_0x165438,_0x11295b,_0x50c73e),this['camera']['quaternion']['slerpQuaternions'](_0x4cf982,_0x1d00e9,_0x50c73e);},'onComplete':()=>{const _0x54d38a=_0x4d5294;this[_0x54d38a(0x11e)]=null,this[_0x54d38a(0x12b)]===_0x444769&&(this[_0x54d38a(0x12b)][_0x54d38a(0x180)](),this['_pawn'][_0x54d38a(0x196)]=!![]),_0x505f23();}});});}[_0x25ac4a(0x184)](_0xa9ebc3){const _0x45a56b=_0x25ac4a;!this['pawn'][_0x45a56b(0x192)]&&this['pawn'][_0x45a56b(0x184)](_0xa9ebc3);}['destroy'](){const _0x48d31f=_0x25ac4a;this[_0x48d31f(0x1a5)](),this[_0x48d31f(0x112)]();const _0x3ac4cd=this[_0x48d31f(0x146)][_0x48d31f(0x10d)];_0x3ac4cd&&(_0x3ac4cd[_0x48d31f(0x147)]('pointerenter',this['onPointerEnter']),_0x3ac4cd['removeEventListener']('pointerleave',this[_0x48d31f(0xfb)]),_0x3ac4cd['removeEventListener'](_0x48d31f(0x154),this['onPointerCancel']),_0x3ac4cd['removeEventListener']('wheel',this[_0x48d31f(0x116)]),_0x3ac4cd[_0x48d31f(0x147)](_0x48d31f(0xff),this[_0x48d31f(0x13e)]),_0x3ac4cd['removeEventListener'](_0x48d31f(0x115),this[_0x48d31f(0x195)]),this['removeCorePointerListeners']()),document[_0x48d31f(0x147)]('pointerlockchange',this[_0x48d31f(0x10c)]),document[_0x48d31f(0x147)](_0x48d31f(0x12e),this[_0x48d31f(0x17b)]),document[_0x48d31f(0x147)](_0x48d31f(0x128),this[_0x48d31f(0x109)]),window['removeEventListener'](_0x48d31f(0x104),this[_0x48d31f(0x159)]),this['pawn'][_0x48d31f(0x16c)](),this['pawn'][_0x48d31f(0x14c)](),this[_0x48d31f(0x12b)]=null;}[_0x25ac4a(0x16e)](_0x4ea1b1){const _0x18625a=_0x25ac4a;var _0x52b5c5,_0x34ef15;this['_onPointerMoveDelegate'][_0x18625a(0x118)](_0x4ea1b1);const _0x46f674=this[_0x18625a(0x146)][_0x18625a(0x10d)];if(!_0x46f674)throw Error(_0x18625a(0x15f));const _0x221fba=_0x46f674[_0x18625a(0x126)]();this[_0x18625a(0x137)]['set']((_0x4ea1b1[_0x18625a(0x185)]-_0x221fba[_0x18625a(0x107)])/_0x46f674['clientWidth']*0x2-0x1,0x1-(_0x4ea1b1[_0x18625a(0x199)]-_0x221fba[_0x18625a(0xfa)])/_0x46f674[_0x18625a(0x113)]*0x2);if(this[_0x18625a(0x12c)][_0x18625a(0x158)]>0x0)return;const _0x344b4e=this[_0x18625a(0x114)](),_0x3ee665=(_0x52b5c5=_0x344b4e===null||_0x344b4e===void 0?void 0:_0x344b4e['component'])!==null&&_0x52b5c5!==void 0?_0x52b5c5:null,_0xa83a03=(_0x34ef15=_0x3ee665===null||_0x3ee665===void 0?void 0:_0x3ee665['parentActor'])!==null&&_0x34ef15!==void 0?_0x34ef15:null;_0x3ee665!==this[_0x18625a(0xf8)]&&(this[_0x18625a(0xf8)]&&this[_0x18625a(0x186)](this[_0x18625a(0xf8)]),_0x3ee665&&_0x344b4e&&this[_0x18625a(0x100)](_0x3ee665,_0x344b4e[_0x18625a(0xfd)])),_0xa83a03!==this[_0x18625a(0xf2)]&&(this[_0x18625a(0xf2)]&&this[_0x18625a(0xf8)]&&this[_0x18625a(0x103)](this[_0x18625a(0xf2)],this[_0x18625a(0xf8)]),_0xa83a03&&_0x3ee665&&_0x344b4e&&this[_0x18625a(0x1a9)](_0xa83a03,_0x3ee665,_0x344b4e['hit'])),this[_0x18625a(0xf8)]=_0x3ee665,this['hoveringActor']=_0xa83a03;}[_0x25ac4a(0x112)](){const _0x1c6e69=_0x25ac4a;this[_0x1c6e69(0xf8)]&&this['fireComponentHoverEnd'](this[_0x1c6e69(0xf8)]),this[_0x1c6e69(0xf2)]&&this[_0x1c6e69(0xf8)]&&this[_0x1c6e69(0x103)](this[_0x1c6e69(0xf2)],this[_0x1c6e69(0xf8)]),this['hoveringComponent']=null,this['hoveringActor']=null;}[_0x25ac4a(0x157)](_0x245a49){const _0x33b504=_0x25ac4a;this[_0x33b504(0xf5)][_0x33b504(0x118)](_0x245a49),this[_0x33b504(0x12c)][_0x33b504(0x124)](_0x245a49[_0x33b504(0x119)]);if(_0x245a49[_0x33b504(0x119)]!==0x0)return;const _0x26fba2=this[_0x33b504(0x14f)]['subVectors'](this[_0x33b504(0x110)],this[_0x33b504(0x137)])[_0x33b504(0x167)]();if(_0x26fba2>0.005){this[_0x33b504(0x1a5)]();return;}this[_0x33b504(0x13d)]={'ctrlKey':_0x245a49[_0x33b504(0x182)],'shiftKey':_0x245a49[_0x33b504(0x19e)],'altKey':_0x245a49['altKey']},!this[_0x33b504(0x102)]?this['handleFirstClick']():this[_0x33b504(0x11c)]();}[_0x25ac4a(0x171)](){const _0x543558=_0x25ac4a,_0x1a7928=this['getHitResultUnderCursor'](),_0x8c9607=_0x1a7928===null||_0x1a7928===void 0?void 0:_0x1a7928['component'];_0x8c9607 instanceof SceneComponent&&_0x1a7928?(this[_0x543558(0x17c)]=_0x8c9607,this[_0x543558(0x197)]=_0x1a7928[_0x543558(0xfd)],this[_0x543558(0x102)]=window[_0x543558(0x173)](()=>{const _0x508806=_0x543558;this[_0x508806(0x102)]=null,this[_0x508806(0x17c)]&&this['prepareClickHit']&&(this[_0x508806(0xfc)](this[_0x508806(0x17c)],this[_0x508806(0x197)],![]),this[_0x508806(0x17c)]=null,this[_0x508806(0x197)]=null);},this[_0x543558(0x101)])):this['_onClickNothingDelegate'][_0x543558(0x118)]();}['handleDoubleClick'](){const _0x29e897=_0x25ac4a;this[_0x29e897(0x1a5)](),this[_0x29e897(0x17c)]&&this[_0x29e897(0x197)]?this[_0x29e897(0xfc)](this['prepareClickComponent'],this[_0x29e897(0x197)],!![]):this['_onClickNothingDelegate']['broadcast'](),this[_0x29e897(0x17c)]=null,this[_0x29e897(0x197)]=null;}[_0x25ac4a(0x1a6)](_0x3e24f2){const _0x496871=_0x25ac4a;this['_onPointerDownDelegate'][_0x496871(0x118)](_0x3e24f2),this[_0x496871(0x12c)]['add'](_0x3e24f2[_0x496871(0x119)]);_0x3e24f2['button']===0x0&&this[_0x496871(0x110)][_0x496871(0x19c)](this[_0x496871(0x137)]);const _0x30b857=this[_0x496871(0x114)](),_0x30a873=_0x30b857===null||_0x30b857===void 0?void 0:_0x30b857[_0x496871(0x175)];_0x30a873 instanceof SceneComponent&&_0x30b857&&this[_0x496871(0x108)](_0x30a873,_0x30b857[_0x496871(0xfd)],_0x3e24f2[_0x496871(0x119)]);}[_0x25ac4a(0x17e)](_0x1015f7){const _0x37cd82=_0x25ac4a;this[_0x37cd82(0x162)]();}[_0x25ac4a(0x1aa)](_0x1999fb){const _0x401724=_0x25ac4a;this[_0x401724(0x1b7)]();}[_0x25ac4a(0x18d)](_0x37a124){const _0x11d199=_0x25ac4a;this[_0x11d199(0x155)][_0x11d199(0x118)](_0x37a124);}[_0x25ac4a(0x18a)](_0x5adf40){this['_onWheelDelegate']['broadcast'](_0x5adf40);}[_0x25ac4a(0x172)](_0x2b42b6){this['_onKeyDownDelegate']['broadcast'](_0x2b42b6);}[_0x25ac4a(0x191)](_0x37cd2b){const _0x4a5a7a=_0x25ac4a;this[_0x4a5a7a(0x139)][_0x4a5a7a(0x118)](_0x37cd2b);}[_0x25ac4a(0x160)](_0x168b46){const _0x16e773=_0x25ac4a;this[_0x16e773(0x14a)][_0x16e773(0x118)](_0x168b46);}[_0x25ac4a(0x1bb)](_0x5b6306){const _0x299b86=_0x25ac4a;this[_0x299b86(0x152)][_0x299b86(0x118)](_0x5b6306);}[_0x25ac4a(0x190)](_0x225232){const _0x1b1ea9=_0x25ac4a;this[_0x1b1ea9(0x194)][_0x1b1ea9(0x118)](_0x225232);}[_0x25ac4a(0x10e)](_0x39975e){const _0x2f8a87=_0x25ac4a;this['_onRawClickDelegate'][_0x2f8a87(0x118)](_0x39975e);}[_0x25ac4a(0x100)](_0x4a4349,_0x34ab61){const _0xf74f65=_0x25ac4a,_0x31d2ee={'component':_0x4a4349,'hit':_0x34ab61,'handled':![]};this[_0xf74f65(0x15e)][_0xf74f65(0x118)](_0x31d2ee),!_0x31d2ee[_0xf74f65(0x163)]&&_0x4a4349['onHorveringBegin']();}[_0x25ac4a(0x186)](_0x49cca9){const _0x343a8f=_0x25ac4a,_0x1444d1={'component':_0x49cca9,'hit':null,'handled':![]};this[_0x343a8f(0x187)][_0x343a8f(0x118)](_0x1444d1),!_0x1444d1['handled']&&_0x49cca9[_0x343a8f(0xf0)]();}[_0x25ac4a(0x1ae)](_0xdd7521,_0x351d7e,_0x35e7ce){const _0x12cc67=_0x25ac4a,_0x55e400=Object[_0x12cc67(0x1a1)]({'component':_0xdd7521,'hit':_0x351d7e,'handled':![]},this[_0x12cc67(0x13d)]);_0x35e7ce?(this['_onComponentDoubleClickDelegate'][_0x12cc67(0x118)](_0x55e400),!_0x55e400[_0x12cc67(0x163)]&&_0xdd7521[_0x12cc67(0x166)]()):(this['_onComponentClickDelegate'][_0x12cc67(0x118)](_0x55e400),!_0x55e400[_0x12cc67(0x163)]&&_0xdd7521[_0x12cc67(0x121)]());}['firePointerDownEvent'](_0x2cf627,_0x15e523,_0x2e7270){const _0x5bfcba=_0x25ac4a,_0x1b114b={'component':_0x2cf627,'hit':_0x15e523,'button':_0x2e7270,'handled':![]};this[_0x5bfcba(0x153)]['broadcast'](_0x1b114b);}[_0x25ac4a(0x1a9)](_0x122bd5,_0x387fff,_0x413982){const _0x28e1e=_0x25ac4a,_0x5b0e20={'actor':_0x122bd5,'component':_0x387fff,'hit':_0x413982,'handled':![]};this['_onActorHoverBeginDelegate'][_0x28e1e(0x118)](_0x5b0e20),!_0x5b0e20[_0x28e1e(0x163)]&&_0x122bd5['onActorHoverBegin'](_0x387fff);}[_0x25ac4a(0x103)](_0x1d6ec4,_0x2ae697){const _0x5b4da9=_0x25ac4a,_0x55dad3={'actor':_0x1d6ec4,'component':_0x2ae697,'hit':null,'handled':![]};this['_onActorHoverEndDelegate'][_0x5b4da9(0x118)](_0x55dad3),!_0x55dad3['handled']&&_0x1d6ec4[_0x5b4da9(0x183)](_0x2ae697);}[_0x25ac4a(0x12f)](_0x28d27c,_0x486bf3,_0x344ca3,_0x58bb36){const _0x1f98a2=_0x25ac4a,_0x48066e=Object['assign']({'actor':_0x28d27c,'component':_0x486bf3,'hit':_0x344ca3,'handled':![]},this['prepareClickModifiers']);_0x58bb36?(this[_0x1f98a2(0x132)][_0x1f98a2(0x118)](_0x48066e),!_0x48066e[_0x1f98a2(0x163)]&&_0x28d27c['onActorDoubleClick'](_0x486bf3)):(this[_0x1f98a2(0x15b)][_0x1f98a2(0x118)](_0x48066e),!_0x48066e[_0x1f98a2(0x163)]&&_0x28d27c[_0x1f98a2(0xfe)](_0x486bf3));}[_0x25ac4a(0xfc)](_0x370e86,_0x15c903,_0x565f90){const _0x3a7f9f=_0x25ac4a;this['fireComponentClick'](_0x370e86,_0x15c903,_0x565f90);const _0x3392e5=_0x370e86[_0x3a7f9f(0x18c)];if(_0x3392e5){if(_0x3392e5[_0x3a7f9f(0x168)])this[_0x3a7f9f(0x12f)](_0x3392e5,_0x370e86,_0x15c903,_0x565f90);}}[_0x25ac4a(0x1a5)](){const _0x3f1844=_0x25ac4a;this['leftClickTimer']&&(window[_0x3f1844(0x144)](this[_0x3f1844(0x102)]),this[_0x3f1844(0x102)]=null);}[_0x25ac4a(0x162)](){const _0x3fe9ce=_0x25ac4a,_0x4823cb=this['viewPort'][_0x3fe9ce(0x10d)];if(!_0x4823cb)return;_0x4823cb['addEventListener'](_0x3fe9ce(0x19f),this[_0x3fe9ce(0x149)]),_0x4823cb[_0x3fe9ce(0x12d)](_0x3fe9ce(0x151),this[_0x3fe9ce(0x13c)]),_0x4823cb[_0x3fe9ce(0x12d)](_0x3fe9ce(0x17d),this[_0x3fe9ce(0x1ac)]);}['removeCorePointerListeners'](){const _0x21ad93=_0x25ac4a,_0x50acf7=this[_0x21ad93(0x146)][_0x21ad93(0x10d)];if(!_0x50acf7)return;_0x50acf7[_0x21ad93(0x147)](_0x21ad93(0x19f),this[_0x21ad93(0x149)]),_0x50acf7[_0x21ad93(0x147)]('pointerup',this[_0x21ad93(0x13c)]),_0x50acf7[_0x21ad93(0x147)](_0x21ad93(0x17d),this[_0x21ad93(0x1ac)]);}[_0x25ac4a(0x114)](_0x2abba8=!![]){const _0x2a841c=_0x25ac4a;return this[_0x2a841c(0x178)](this[_0x2a841c(0x137)]['x'],this[_0x2a841c(0x137)]['y'],_0x2abba8);}[_0x25ac4a(0x178)](_0x18e4cc,_0x495876,_0x2aede1=!![]){const _0x2dd695=_0x25ac4a;this['_raycastVec2'][_0x2dd695(0x14e)](_0x18e4cc,_0x495876),this[_0x2dd695(0xf9)][_0x2dd695(0x170)](this[_0x2dd695(0x188)],this[_0x2dd695(0x15a)]);const _0x5deab0=this['getAllHitResultFromScreenPoint'](_0x18e4cc,_0x495876);if(!_0x2aede1)return _0x5deab0[0x0]||null;for(const _0x33a838 of _0x5deab0){const _0x244976=_0x33a838['component'][_0x2dd695(0x10b)]||_0x33a838[_0x2dd695(0x175)][_0x2dd695(0x168)],_0x1ec38e=_0x33a838[_0x2dd695(0x175)][_0x2dd695(0x18c)],_0xeb1970=_0x1ec38e&&(_0x1ec38e[_0x2dd695(0x10b)]||_0x1ec38e[_0x2dd695(0x168)]);if(_0x244976||_0xeb1970)return _0x33a838;}return null;}[_0x25ac4a(0x161)](_0x4e3416=!![]){const _0x177b32=_0x25ac4a;return this['getAllHitResultFromScreenPoint'](this[_0x177b32(0x137)]['x'],this['pointerPosition']['y']);}[_0x25ac4a(0x14b)](_0x38aec0,_0x5b2edb){const _0x449017=_0x25ac4a;this[_0x449017(0x188)][_0x449017(0x14e)](_0x38aec0,_0x5b2edb),this[_0x449017(0xf9)]['setFromCamera'](this[_0x449017(0x188)],this['camera']);const _0x1215f4=this['raycaster'][_0x449017(0x136)][_0x449017(0xf1)],_0xd8b122=this[_0x449017(0xf9)][_0x449017(0x136)]['at'](0x2710,new Vector3()),_0xc72e00=this[_0x449017(0x192)][_0x449017(0x134)]['lineTraceMulti'](_0x1215f4,_0xd8b122,CollisionChannel[_0x449017(0x117)]),_0xadd5ac=[];for(const _0x3e770f of _0xc72e00){if(!_0x3e770f[_0x449017(0x120)]||!_0x3e770f[_0x449017(0x120)][_0x449017(0x179)])continue;if(this[_0x449017(0x15a)]instanceof PerspectiveCamera&&_0x3e770f[_0x449017(0x130)]<this[_0x449017(0x15a)]['near'])continue;const _0x1597fc={'distance':_0x3e770f['distance'],'point':_0x3e770f[_0x449017(0x1ab)],'object':_0x3e770f[_0x449017(0x120)][_0x449017(0x179)],'uv':new Vector2$1(0x0,0x0)};_0xadd5ac[_0x449017(0x1b6)]({'component':_0x3e770f['collider'],'hit':_0x1597fc});if(_0x3e770f[_0x449017(0x18b)])break;}return _0xadd5ac;}[_0x25ac4a(0x135)](_0x95b3eb,_0xcc2d8e,_0x343594,_0x526f24,_0x3132ec=null,_0x41021d=null){const _0x2c68eb=_0x25ac4a;this[_0x2c68eb(0x11a)]['focusTo'](_0x95b3eb,_0xcc2d8e,_0x343594,_0x526f24,_0x3132ec,_0x41021d);}[_0x25ac4a(0x143)](_0x4ca143,_0x2643a6,_0x462279={}){const _0x266410=_0x25ac4a,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x266410(0x174)](0.5)}=_0x462279,_0x4a314f=new Vector3(),_0x2a563d=new Vector3();_0x4ca143[_0x266410(0x19b)](_0x4a314f),_0x4ca143['getSize'](_0x2a563d);const _0x3bb290=this['app'][_0x266410(0x15a)];if(_0x3bb290&&_0x3bb290[_0x266410(0x189)]){const _0x33da49=_0x3bb290[_0x266410(0x148)]*(Math['PI']/0xb4),_0x7fb5a3=_0x2a563d['length']()*0.5,_0x244aee=Math[_0x266410(0x150)](_0x7fb5a3/targetScreenRatio/Math['tan'](_0x33da49/0x2),_0x3bb290[_0x266410(0x15c)]*0x2);let _0x30c81d=_0x3bb290[_0x266410(0x16a)][_0x266410(0x1b0)]();if(computeOptimalQuat){const _0x132385=[new Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x6,0x0,0x0,'YXZ'),new Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,'YXZ'),new Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x4,0x0,0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x2,0x0,0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x3,0x0,0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x266410(0x1ba)),new Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x266410(0x1ba))];let _0x5e95bc=-1;for(const _0x62b09e of _0x132385){const _0x10aea4=new Quaternion()['setFromEuler'](_0x62b09e),_0x35f331=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x10aea4),_0x4af603=_0x4a314f[_0x266410(0x1b0)]()[_0x266410(0x1af)](_0x35f331[_0x266410(0x123)](_0x244aee)),_0x20930e=this['world']['physics'][_0x266410(0x131)](_0x4af603,_0x4a314f,CollisionChannel['Visibility']);let _0x51752e=![],_0x1e771d=_0x244aee;_0x20930e&&_0x20930e['blocking']&&(_0x20930e[_0x266410(0x130)]<_0x244aee-_0x7fb5a3*1.2&&(_0x51752e=!![],_0x1e771d=_0x20930e[_0x266410(0x130)]));if(!_0x51752e){_0x30c81d=_0x10aea4;break;}else _0x1e771d>_0x5e95bc&&(_0x5e95bc=_0x1e771d,_0x30c81d=_0x10aea4);}}const _0x487232=_0x30c81d;this[_0x266410(0x135)](_0x4a314f,_0x487232,_0x244aee,_0x2643a6,onGoing,onFinished);}else {const _0x1badc9=_0x2a563d[_0x266410(0x167)]()*1.5,_0xc9f12f=new Quaternion()['setFromAxisAngle'](new Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x266410(0x135)](_0x4a314f,_0xc9f12f,_0x1badc9,_0x2643a6,onGoing,onFinished);}}['focusToObject'](_0x1e9bef,_0x33f1c7,_0x4b1b84={}){const _0x1d91d5=_0x25ac4a,_0x8a2f6c=new Box3()['setFromObject'](_0x1e9bef);this[_0x1d91d5(0x143)](_0x8a2f6c,_0x33f1c7,_0x4b1b84);}}
|
|
90
|
+
const _0x51df63=_0x827a;function _0x827a(_0x34d9d5,_0x5a65e7){_0x34d9d5=_0x34d9d5-0x110;const _0x1c8225=_0x1c82();let _0x827a33=_0x1c8225[_0x34d9d5];return _0x827a33;}(function(_0x25bb15,_0x126dfe){const _0x381107=_0x827a,_0x4f051a=_0x25bb15();while(!![]){try{const _0x3c53b3=-parseInt(_0x381107(0x1ad))/0x1*(-parseInt(_0x381107(0x127))/0x2)+parseInt(_0x381107(0x1c8))/0x3+-parseInt(_0x381107(0x1b8))/0x4+-parseInt(_0x381107(0x1c2))/0x5*(-parseInt(_0x381107(0x14c))/0x6)+-parseInt(_0x381107(0x133))/0x7*(-parseInt(_0x381107(0x1ab))/0x8)+-parseInt(_0x381107(0x11f))/0x9+parseInt(_0x381107(0x188))/0xa;if(_0x3c53b3===_0x126dfe)break;else _0x4f051a['push'](_0x4f051a['shift']());}catch(_0x53554b){_0x4f051a['push'](_0x4f051a['shift']());}}}(_0x1c82,0x58b3d));function _0x1c82(){const _0x376a51=['collider','pointerleave','handleDoubleClick','removeEventListener','init','isClickEnabled','onComponentPointerDownDelegate','setFromAxisAngle','onWindowBlurEvent','onPointerDownEvent','fireComponentClick','canvas\x20is\x20null','clearTimeout','getHitResultUnderCursor','clientX','firePointerDownEvent','onWindowBlur','prepareClickHit','onActorHoverBegin','onKeyDownDelegate','onContextMenuDelegate','onActorDoubleClick','pointerlockchange','onPointerEnter','onPointerUpEvent','_switchPawnTween','viewPort','pointerPosition','onPointerLeave','YXZ','_onComponentClickDelegate','fov','clearClickTimer','onKeyDownEvent','onPointerMoveDelegate','onKeyDown','keydown','onRawClickDelegate','_onKeyUpDelegate','onClick','near','_onContextMenuDelegate','add','possess','destroy','assign','focusToBounds','prepareClickComponent','getAllHitResultFromScreenPoint','onKeyUpDelegate','handleFirstClick','getBoundingClientRect','lineTraceSingle','_onComponentHoverBeginDelegate','size','onPointerCancelEvent','_pointButtonIsDown','_app','1685540CeTiXI','onClickEvent','isPerspectiveCamera','onComponentHoverBeginDelegate','length','lerpVectors','clientWidth','doubleClickDelay','delete','lineTraceMulti','focusTo','_onActorDoubleClickDelegate','_onComponentPointerDownDelegate','onPointerUpDelegate','onPointerCancelDelegate','clone','fireClickEvents','keyup','_onPointerCancelDelegate','addEventListener','onPointerLeaveEvent','onPointerMove','onKeyUpEvent','alpha','_onPointerMoveDelegate','_onActorClickDelegate','_onComponentDoubleClickDelegate','log','onPointerLockChangeEvent','setFromObject','_pawn','altKey','onActorClickDelegate','pointerenter','applyQuaternion','824xkrcwR','_onPointerLockChangeDelegate','2969tQQrXR','_onActorHoverEndDelegate','pointerLeftDownPosition','onKeyUp','_onWheelDelegate','fireActorHoverBegin','onWheelEvent','_raycastVec2','hoveringComponent','Visibility','fireComponentHoverBegin','1706464CRNjku','clientHeight','blur','_onPointerDownDelegate','getTargetCameraState','onComponentClickDelegate','onHorveringBegin','_onClickNothingDelegate','onClickNothingDelegate','contextmenu','5acfDnF','hoveringActor','max','pointerdown','handled','onPointerCancel','248709oJieHX','left','onDoubleClicked','leftClickTimer','ray','isHoverEnabled','broadcast','onPointerEnterEvent','setFromEuler','fireActorHoverEnd','threeObject','getAllHitResultUnderCursor','quaternion','unpossess','getHitResultFromScreenPoint','distance','button','getSize','_onComponentHoverEndDelegate','set','onComponentDoubleClickDelegate','parentActor','onPointerDownDelegate','prepareClickModifiers','canvas','onPointerDown','4078521qitLkO','onContextMenu','fireComponentHoverEnd','clientY','_onKeyDownDelegate','point','setFromCamera','_tempVec2','134vgiJPY','multiplyScalar','app','onPointerMoveEvent','pointermove','getCenter','onPointerLockChange','tick','addCorePointerListeners','onWheelDelegate','power2.inOut','enabled','25256SDOKuT','hit','component','raycaster','physics','onComponentHoverEndDelegate','pointerup','tan','createInitialPawn','onPointerUp','fireActorClick','pawn\x20is\x20null','removeCorePointerListeners','onWheel','_onActorHoverBeginDelegate','top','wheel','_onPointerUpDelegate','world','origin','pawn','_onWindowBlurDelegate','position','clearHovering','camera','2526636yKNvhi','copy'];_0x1c82=function(){return _0x376a51;};return _0x1c82();}class Controller{get[_0x51df63(0x14b)](){const _0x28d2c6=_0x51df63;return this[_0x28d2c6(0x187)][_0x28d2c6(0x14b)];}get[_0x51df63(0x145)](){const _0x4e6a93=_0x51df63;return this[_0x4e6a93(0x187)][_0x4e6a93(0x145)];}get[_0x51df63(0x168)](){const _0x48bdb5=_0x51df63;return this[_0x48bdb5(0x187)]['viewport'];}get[_0x51df63(0x129)](){const _0x9d75da=_0x51df63;return this[_0x9d75da(0x187)];}get[_0x51df63(0x147)](){const _0x3b5498=_0x51df63;if(!this[_0x3b5498(0x1a6)])throw Error(_0x3b5498(0x13e));return this[_0x3b5498(0x1a6)];}get[_0x51df63(0x1bd)](){const _0x567315=_0x51df63;return this[_0x567315(0x16c)];}get[_0x51df63(0x119)](){const _0x3e423f=_0x51df63;return this[_0x3e423f(0x1a2)];}get[_0x51df63(0x18b)](){const _0x1307b0=_0x51df63;return this[_0x1307b0(0x183)];}get[_0x51df63(0x138)](){const _0x590a9a=_0x51df63;return this[_0x590a9a(0x117)];}get[_0x51df63(0x154)](){const _0x1e2e08=_0x51df63;return this[_0x1e2e08(0x194)];}get[_0x51df63(0x1a8)](){return this['_onActorClickDelegate'];}get['onActorDoubleClickDelegate'](){return this['_onActorDoubleClickDelegate'];}get['onActorHoverBeginDelegate'](){return this['_onActorHoverBeginDelegate'];}get['onActorHoverEndDelegate'](){const _0x34808e=_0x51df63;return this[_0x34808e(0x1ae)];}get[_0x51df63(0x1c0)](){const _0x50074c=_0x51df63;return this[_0x50074c(0x1bf)];}get[_0x51df63(0x11b)](){return this['_onPointerDownDelegate'];}get[_0x51df63(0x195)](){return this['_onPointerUpDelegate'];}get[_0x51df63(0x170)](){return this['_onPointerMoveDelegate'];}get[_0x51df63(0x196)](){const _0x4743ee=_0x51df63;return this[_0x4743ee(0x19a)];}get[_0x51df63(0x130)](){const _0x1946dd=_0x51df63;return this[_0x1946dd(0x1b1)];}get[_0x51df63(0x161)](){const _0x52705c=_0x51df63;return this[_0x52705c(0x123)];}get[_0x51df63(0x17f)](){const _0x3ca1d0=_0x51df63;return this[_0x3ca1d0(0x174)];}get[_0x51df63(0x162)](){const _0x3beee9=_0x51df63;return this[_0x3beee9(0x177)];}get['onPointerLockChangeDelegate'](){return this['_onPointerLockChangeDelegate'];}get['onWindowBlurDelegate'](){const _0x416a5a=_0x51df63;return this[_0x416a5a(0x148)];}get[_0x51df63(0x173)](){return this['_onRawClickDelegate'];}constructor(_0x16f1e8){const _0xde6686=_0x51df63;this[_0xde6686(0x1a6)]=null,this['_switchPawnTween']=null,this['hoveringComponent']=null,this[_0xde6686(0x1c3)]=null,this[_0xde6686(0x17d)]=null,this[_0xde6686(0x15f)]=null,this[_0xde6686(0x11c)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0xde6686(0x186)]=new Set(),this['_onComponentClickDelegate']=new Delegate(),this['_onComponentDoubleClickDelegate']=new Delegate(),this[_0xde6686(0x183)]=new Delegate(),this[_0xde6686(0x117)]=new Delegate(),this[_0xde6686(0x194)]=new Delegate(),this['_onActorClickDelegate']=new Delegate(),this[_0xde6686(0x193)]=new Delegate(),this[_0xde6686(0x141)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this[_0xde6686(0x1bf)]=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this['_onPointerUpDelegate']=new Delegate(),this[_0xde6686(0x1a0)]=new Delegate(),this['_onPointerCancelDelegate']=new Delegate(),this[_0xde6686(0x1b1)]=new Delegate(),this[_0xde6686(0x123)]=new Delegate(),this[_0xde6686(0x174)]=new Delegate(),this['_onContextMenuDelegate']=new Delegate(),this[_0xde6686(0x1ac)]=new Delegate(),this[_0xde6686(0x148)]=new Delegate(),this['_onRawClickDelegate']=new Delegate(),this['pointerPosition']=new Vector2$1(),this[_0xde6686(0x1af)]=new Vector2$1(),this[_0xde6686(0x126)]=new Vector2$1(),this['_raycastVec2']=new Vector2$1(),this[_0xde6686(0x18f)]=0xfa,this[_0xde6686(0x1cb)]=null,this['onPointerMove']=_0x148ca3=>this[_0xde6686(0x12a)](_0x148ca3),this[_0xde6686(0x165)]=_0x3c9282=>this[_0xde6686(0x1cf)](_0x3c9282),this[_0xde6686(0x16a)]=_0x4e1ebb=>this['onPointerLeaveEvent'](_0x4e1ebb),this[_0xde6686(0x13c)]=_0x3f49ac=>this[_0xde6686(0x166)](_0x3f49ac),this['onPointerDown']=_0x1c8ab1=>this[_0xde6686(0x157)](_0x1c8ab1),this[_0xde6686(0x1c7)]=_0x1dc0cd=>this[_0xde6686(0x185)](_0x1dc0cd),this[_0xde6686(0x140)]=_0x277438=>this[_0xde6686(0x1b3)](_0x277438),this[_0xde6686(0x171)]=_0x3dab72=>this['onKeyDownEvent'](_0x3dab72),this[_0xde6686(0x1b0)]=_0x27cc0e=>this[_0xde6686(0x19e)](_0x27cc0e),this[_0xde6686(0x120)]=_0x28f248=>this['onContextMenuEvent'](_0x28f248),this[_0xde6686(0x12d)]=_0x227189=>this[_0xde6686(0x1a4)](_0x227189),this[_0xde6686(0x15e)]=_0x30ef63=>this[_0xde6686(0x156)](_0x30ef63),this['onClick']=_0x416516=>this['onClickEvent'](_0x416516),this[_0xde6686(0x187)]=_0x16f1e8,this[_0xde6686(0x136)]=new Raycaster(),this[_0xde6686(0x13b)]();}[_0x51df63(0x13b)](){const _0x497582=_0x51df63;this[_0x497582(0x1a6)]=new Orbital(this[_0x497582(0x187)]),this['pawn'][_0x497582(0x179)](),this[_0x497582(0x147)]['enabled']=!![];}[_0x51df63(0x152)](){const _0x23ac69=_0x51df63,_0x37eafe=this[_0x23ac69(0x168)][_0x23ac69(0x11d)];console[_0x23ac69(0x1a3)](_0x23ac69(0x11d),_0x37eafe),_0x37eafe&&(_0x37eafe[_0x23ac69(0x19b)](_0x23ac69(0x1a9),this[_0x23ac69(0x165)]),_0x37eafe[_0x23ac69(0x19b)](_0x23ac69(0x14f),this['onPointerLeave']),_0x37eafe['addEventListener']('pointercancel',this[_0x23ac69(0x1c7)]),_0x37eafe[_0x23ac69(0x19b)]('wheel',this[_0x23ac69(0x140)]),_0x37eafe['addEventListener'](_0x23ac69(0x1c1),this[_0x23ac69(0x120)]),_0x37eafe[_0x23ac69(0x19b)]('click',this[_0x23ac69(0x175)]),this[_0x23ac69(0x12f)]()),document['addEventListener'](_0x23ac69(0x164),this['onPointerLockChange']),document[_0x23ac69(0x19b)]('keydown',this[_0x23ac69(0x171)]),document[_0x23ac69(0x19b)](_0x23ac69(0x199),this[_0x23ac69(0x1b0)]),window[_0x23ac69(0x19b)](_0x23ac69(0x1ba),this['onWindowBlur']),this[_0x23ac69(0x1a6)]&&(this[_0x23ac69(0x1a6)][_0x23ac69(0x112)](),this[_0x23ac69(0x1a6)][_0x23ac69(0x179)]());}['updateCamera'](){const _0x56ff7c=_0x51df63;var _0x5f1c84,_0x1562f8;const _0x477bc3=this[_0x56ff7c(0x147)][_0x56ff7c(0x132)];(_0x5f1c84=this[_0x56ff7c(0x1a6)])===null||_0x5f1c84===void 0?void 0:_0x5f1c84[_0x56ff7c(0x112)](),(_0x1562f8=this[_0x56ff7c(0x1a6)])===null||_0x1562f8===void 0?void 0:_0x1562f8[_0x56ff7c(0x17a)](),this['_pawn']=new Orbital(this['_app']),this[_0x56ff7c(0x147)][_0x56ff7c(0x179)](),this[_0x56ff7c(0x147)]['enabled']=_0x477bc3;}async['switchPawn'](_0x355376,_0x43920f){const _0x307e5e=_0x51df63;!_0x355376[_0x307e5e(0x145)]&&this[_0x307e5e(0x187)][_0x307e5e(0x145)]['addActor'](_0x355376);this[_0x307e5e(0x167)]&&(this[_0x307e5e(0x167)]['kill'](),this[_0x307e5e(0x167)]=null);const _0x3285b4=this[_0x307e5e(0x1a6)];if(_0x3285b4===_0x355376)return;if(!_0x43920f||_0x43920f<=0x0){_0x3285b4&&(_0x3285b4[_0x307e5e(0x112)](),_0x3285b4[_0x307e5e(0x132)]=![]);this[_0x307e5e(0x1a6)]=_0x355376,this['_pawn'][_0x307e5e(0x132)]=!![],this[_0x307e5e(0x1a6)][_0x307e5e(0x179)]();return;}const _0x4d0bd8=this[_0x307e5e(0x14b)][_0x307e5e(0x149)][_0x307e5e(0x197)](),_0x12fe32=this[_0x307e5e(0x14b)][_0x307e5e(0x111)][_0x307e5e(0x197)]();_0x3285b4&&(_0x3285b4[_0x307e5e(0x112)](),_0x3285b4['enabled']=![]);const {position:_0x314e1f,quaternion:_0x2cd95b}=_0x355376[_0x307e5e(0x1bc)]();return this[_0x307e5e(0x1a6)]=_0x355376,this[_0x307e5e(0x1a6)][_0x307e5e(0x132)]=![],new Promise(_0xd88c72=>{const _0x5689b2=_0x307e5e,_0x5e1613={'alpha':0x0};this[_0x5689b2(0x167)]=gsap['to'](_0x5e1613,{'alpha':0x1,'duration':_0x43920f,'ease':_0x5689b2(0x131),'onUpdate':()=>{const _0x1a9fb5=_0x5689b2,_0xf15919=_0x5e1613[_0x1a9fb5(0x19f)];this[_0x1a9fb5(0x14b)][_0x1a9fb5(0x149)][_0x1a9fb5(0x18d)](_0x4d0bd8,_0x314e1f,_0xf15919),this[_0x1a9fb5(0x14b)]['quaternion']['slerpQuaternions'](_0x12fe32,_0x2cd95b,_0xf15919);},'onComplete':()=>{const _0x554eea=_0x5689b2;this[_0x554eea(0x167)]=null,this[_0x554eea(0x1a6)]===_0x355376&&(this[_0x554eea(0x1a6)][_0x554eea(0x179)](),this['_pawn'][_0x554eea(0x132)]=!![]),_0xd88c72();}});});}[_0x51df63(0x12e)](_0x570e2a){const _0xc4239=_0x51df63;!this[_0xc4239(0x147)][_0xc4239(0x145)]&&this[_0xc4239(0x147)]['tick'](_0x570e2a);}['destroy'](){const _0x494814=_0x51df63;this['clearClickTimer'](),this['clearHovering']();const _0x52a2f7=this[_0x494814(0x168)][_0x494814(0x11d)];_0x52a2f7&&(_0x52a2f7[_0x494814(0x151)]('pointerenter',this[_0x494814(0x165)]),_0x52a2f7[_0x494814(0x151)](_0x494814(0x14f),this[_0x494814(0x16a)]),_0x52a2f7[_0x494814(0x151)]('pointercancel',this['onPointerCancel']),_0x52a2f7[_0x494814(0x151)](_0x494814(0x143),this[_0x494814(0x140)]),_0x52a2f7[_0x494814(0x151)](_0x494814(0x1c1),this[_0x494814(0x120)]),_0x52a2f7[_0x494814(0x151)]('click',this['onClick']),this[_0x494814(0x13f)]()),document['removeEventListener'](_0x494814(0x164),this[_0x494814(0x12d)]),document[_0x494814(0x151)](_0x494814(0x172),this[_0x494814(0x171)]),document[_0x494814(0x151)](_0x494814(0x199),this[_0x494814(0x1b0)]),window[_0x494814(0x151)](_0x494814(0x1ba),this[_0x494814(0x15e)]),this[_0x494814(0x147)][_0x494814(0x112)](),this['pawn'][_0x494814(0x17a)](),this[_0x494814(0x1a6)]=null;}[_0x51df63(0x12a)](_0x2b965c){const _0x4dcaac=_0x51df63;var _0x46f8cf,_0x1e49b3;this['_onPointerMoveDelegate']['broadcast'](_0x2b965c);const _0x59b647=this['viewPort'][_0x4dcaac(0x11d)];if(!_0x59b647)throw Error(_0x4dcaac(0x159));const _0x3090f2=_0x59b647[_0x4dcaac(0x181)]();this['pointerPosition']['set']((_0x2b965c[_0x4dcaac(0x15c)]-_0x3090f2[_0x4dcaac(0x1c9)])/_0x59b647[_0x4dcaac(0x18e)]*0x2-0x1,0x1-(_0x2b965c[_0x4dcaac(0x122)]-_0x3090f2[_0x4dcaac(0x142)])/_0x59b647[_0x4dcaac(0x1b9)]*0x2);if(this[_0x4dcaac(0x186)][_0x4dcaac(0x184)]>0x0)return;const _0x3f93ad=this['getHitResultUnderCursor'](),_0x57edf8=(_0x46f8cf=_0x3f93ad===null||_0x3f93ad===void 0?void 0:_0x3f93ad['component'])!==null&&_0x46f8cf!==void 0?_0x46f8cf:null,_0x3698e4=(_0x1e49b3=_0x57edf8===null||_0x57edf8===void 0?void 0:_0x57edf8['parentActor'])!==null&&_0x1e49b3!==void 0?_0x1e49b3:null;_0x57edf8!==this[_0x4dcaac(0x1b5)]&&(this[_0x4dcaac(0x1b5)]&&this['fireComponentHoverEnd'](this[_0x4dcaac(0x1b5)]),_0x57edf8&&_0x3f93ad&&this['fireComponentHoverBegin'](_0x57edf8,_0x3f93ad[_0x4dcaac(0x134)])),_0x3698e4!==this[_0x4dcaac(0x1c3)]&&(this['hoveringActor']&&this[_0x4dcaac(0x1b5)]&&this[_0x4dcaac(0x1d1)](this[_0x4dcaac(0x1c3)],this[_0x4dcaac(0x1b5)]),_0x3698e4&&_0x57edf8&&_0x3f93ad&&this[_0x4dcaac(0x1b2)](_0x3698e4,_0x57edf8,_0x3f93ad[_0x4dcaac(0x134)])),this[_0x4dcaac(0x1b5)]=_0x57edf8,this[_0x4dcaac(0x1c3)]=_0x3698e4;}[_0x51df63(0x14a)](){const _0x5a1ef0=_0x51df63;this[_0x5a1ef0(0x1b5)]&&this[_0x5a1ef0(0x121)](this[_0x5a1ef0(0x1b5)]),this[_0x5a1ef0(0x1c3)]&&this[_0x5a1ef0(0x1b5)]&&this['fireActorHoverEnd'](this[_0x5a1ef0(0x1c3)],this[_0x5a1ef0(0x1b5)]),this['hoveringComponent']=null,this[_0x5a1ef0(0x1c3)]=null;}['onPointerUpEvent'](_0x29ad4e){const _0x53641e=_0x51df63;this[_0x53641e(0x144)][_0x53641e(0x1ce)](_0x29ad4e),this[_0x53641e(0x186)][_0x53641e(0x190)](_0x29ad4e[_0x53641e(0x115)]);if(_0x29ad4e[_0x53641e(0x115)]!==0x0)return;const _0x3e25a2=this['_tempVec2']['subVectors'](this[_0x53641e(0x1af)],this[_0x53641e(0x169)])[_0x53641e(0x18c)]();if(_0x3e25a2>0.005){this[_0x53641e(0x16e)]();return;}this[_0x53641e(0x11c)]={'ctrlKey':_0x29ad4e['ctrlKey'],'shiftKey':_0x29ad4e['shiftKey'],'altKey':_0x29ad4e[_0x53641e(0x1a7)]},!this['leftClickTimer']?this[_0x53641e(0x180)]():this[_0x53641e(0x150)]();}[_0x51df63(0x180)](){const _0x18434f=_0x51df63,_0x5b0186=this[_0x18434f(0x15b)](),_0x5e2973=_0x5b0186===null||_0x5b0186===void 0?void 0:_0x5b0186[_0x18434f(0x135)];_0x5e2973 instanceof SceneComponent&&_0x5b0186?(this['prepareClickComponent']=_0x5e2973,this[_0x18434f(0x15f)]=_0x5b0186['hit'],this['leftClickTimer']=window['setTimeout'](()=>{const _0x16d24d=_0x18434f;this[_0x16d24d(0x1cb)]=null,this['prepareClickComponent']&&this['prepareClickHit']&&(this[_0x16d24d(0x198)](this['prepareClickComponent'],this[_0x16d24d(0x15f)],![]),this[_0x16d24d(0x17d)]=null,this[_0x16d24d(0x15f)]=null);},this[_0x18434f(0x18f)])):this['_onClickNothingDelegate'][_0x18434f(0x1ce)]();}['handleDoubleClick'](){const _0x375293=_0x51df63;this[_0x375293(0x16e)](),this[_0x375293(0x17d)]&&this[_0x375293(0x15f)]?this['fireClickEvents'](this[_0x375293(0x17d)],this[_0x375293(0x15f)],!![]):this['_onClickNothingDelegate'][_0x375293(0x1ce)](),this[_0x375293(0x17d)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x214308){const _0x3e32c5=_0x51df63;this[_0x3e32c5(0x1bb)][_0x3e32c5(0x1ce)](_0x214308),this[_0x3e32c5(0x186)][_0x3e32c5(0x178)](_0x214308[_0x3e32c5(0x115)]);_0x214308[_0x3e32c5(0x115)]===0x0&&this[_0x3e32c5(0x1af)][_0x3e32c5(0x14d)](this[_0x3e32c5(0x169)]);const _0x11c6b0=this[_0x3e32c5(0x15b)](),_0x9285e8=_0x11c6b0===null||_0x11c6b0===void 0?void 0:_0x11c6b0[_0x3e32c5(0x135)];_0x9285e8 instanceof SceneComponent&&_0x11c6b0&&this[_0x3e32c5(0x15d)](_0x9285e8,_0x11c6b0[_0x3e32c5(0x134)],_0x214308[_0x3e32c5(0x115)]);}[_0x51df63(0x1cf)](_0x241a97){const _0x3be4b5=_0x51df63;this[_0x3be4b5(0x12f)]();}[_0x51df63(0x19c)](_0x1726f2){this['removeCorePointerListeners']();}[_0x51df63(0x185)](_0x503f7a){const _0x49e872=_0x51df63;this[_0x49e872(0x19a)][_0x49e872(0x1ce)](_0x503f7a);}[_0x51df63(0x1b3)](_0x488c7c){const _0x1440c2=_0x51df63;this['_onWheelDelegate'][_0x1440c2(0x1ce)](_0x488c7c);}[_0x51df63(0x16f)](_0x1f19c2){const _0x2e3709=_0x51df63;this[_0x2e3709(0x123)][_0x2e3709(0x1ce)](_0x1f19c2);}[_0x51df63(0x19e)](_0x4f36c8){const _0x53581b=_0x51df63;this[_0x53581b(0x174)][_0x53581b(0x1ce)](_0x4f36c8);}['onContextMenuEvent'](_0x2eb65e){const _0x262453=_0x51df63;this[_0x262453(0x177)]['broadcast'](_0x2eb65e);}[_0x51df63(0x1a4)](_0x462e0e){const _0x39729a=_0x51df63;this[_0x39729a(0x1ac)][_0x39729a(0x1ce)](_0x462e0e);}[_0x51df63(0x156)](_0x5b2cd1){const _0x1ea20b=_0x51df63;this[_0x1ea20b(0x148)][_0x1ea20b(0x1ce)](_0x5b2cd1);}[_0x51df63(0x189)](_0x3f62f8){const _0x542502=_0x51df63;this['_onRawClickDelegate'][_0x542502(0x1ce)](_0x3f62f8);}[_0x51df63(0x1b7)](_0x27f93e,_0x4ef33f){const _0x50015a=_0x51df63,_0x1ef5a9={'component':_0x27f93e,'hit':_0x4ef33f,'handled':![]};this['_onComponentHoverBeginDelegate'][_0x50015a(0x1ce)](_0x1ef5a9),!_0x1ef5a9['handled']&&_0x27f93e[_0x50015a(0x1be)]();}[_0x51df63(0x121)](_0x4142b4){const _0x5433dd=_0x51df63,_0x249fef={'component':_0x4142b4,'hit':null,'handled':![]};this[_0x5433dd(0x117)]['broadcast'](_0x249fef),!_0x249fef[_0x5433dd(0x1c6)]&&_0x4142b4['onHorveringEnd']();}['fireComponentClick'](_0x296e35,_0xca562,_0x4d88bb){const _0x2bf7e3=_0x51df63,_0xbd65a6=Object['assign']({'component':_0x296e35,'hit':_0xca562,'handled':![]},this['prepareClickModifiers']);_0x4d88bb?(this[_0x2bf7e3(0x1a2)][_0x2bf7e3(0x1ce)](_0xbd65a6),!_0xbd65a6[_0x2bf7e3(0x1c6)]&&_0x296e35[_0x2bf7e3(0x1ca)]()):(this[_0x2bf7e3(0x16c)][_0x2bf7e3(0x1ce)](_0xbd65a6),!_0xbd65a6[_0x2bf7e3(0x1c6)]&&_0x296e35['onClicked']());}[_0x51df63(0x15d)](_0x4e1fa4,_0x36dbae,_0x60de3a){const _0x1edc8f=_0x51df63,_0x2ee995={'component':_0x4e1fa4,'hit':_0x36dbae,'button':_0x60de3a,'handled':![]};this['_onComponentPointerDownDelegate'][_0x1edc8f(0x1ce)](_0x2ee995);}[_0x51df63(0x1b2)](_0xed6506,_0x3f3a01,_0x70c988){const _0x59d1dd=_0x51df63,_0x3786f7={'actor':_0xed6506,'component':_0x3f3a01,'hit':_0x70c988,'handled':![]};this[_0x59d1dd(0x141)][_0x59d1dd(0x1ce)](_0x3786f7),!_0x3786f7['handled']&&_0xed6506[_0x59d1dd(0x160)](_0x3f3a01);}[_0x51df63(0x1d1)](_0x2ddf5d,_0x59b111){const _0x1aca65=_0x51df63,_0x8b0539={'actor':_0x2ddf5d,'component':_0x59b111,'hit':null,'handled':![]};this[_0x1aca65(0x1ae)]['broadcast'](_0x8b0539),!_0x8b0539[_0x1aca65(0x1c6)]&&_0x2ddf5d['onActorHoverEnd'](_0x59b111);}['fireActorClick'](_0x42d213,_0x61d3ff,_0x4b189a,_0x138551){const _0x28d735=_0x51df63,_0x68968b=Object[_0x28d735(0x17b)]({'actor':_0x42d213,'component':_0x61d3ff,'hit':_0x4b189a,'handled':![]},this[_0x28d735(0x11c)]);_0x138551?(this[_0x28d735(0x193)]['broadcast'](_0x68968b),!_0x68968b[_0x28d735(0x1c6)]&&_0x42d213[_0x28d735(0x163)](_0x61d3ff)):(this[_0x28d735(0x1a1)][_0x28d735(0x1ce)](_0x68968b),!_0x68968b[_0x28d735(0x1c6)]&&_0x42d213['onActorClick'](_0x61d3ff));}[_0x51df63(0x198)](_0xd62745,_0x363aad,_0x1a7bc2){const _0xb9a9e0=_0x51df63;this[_0xb9a9e0(0x158)](_0xd62745,_0x363aad,_0x1a7bc2);const _0x390c69=_0xd62745[_0xb9a9e0(0x11a)];if(_0x390c69){if(_0x390c69[_0xb9a9e0(0x153)])this[_0xb9a9e0(0x13d)](_0x390c69,_0xd62745,_0x363aad,_0x1a7bc2);}}[_0x51df63(0x16e)](){const _0x406377=_0x51df63;this['leftClickTimer']&&(window[_0x406377(0x15a)](this['leftClickTimer']),this['leftClickTimer']=null);}['addCorePointerListeners'](){const _0x2d63f4=_0x51df63,_0xbf191b=this[_0x2d63f4(0x168)][_0x2d63f4(0x11d)];if(!_0xbf191b)return;_0xbf191b[_0x2d63f4(0x19b)](_0x2d63f4(0x12b),this[_0x2d63f4(0x19d)]),_0xbf191b[_0x2d63f4(0x19b)](_0x2d63f4(0x139),this['onPointerUp']),_0xbf191b[_0x2d63f4(0x19b)](_0x2d63f4(0x1c5),this[_0x2d63f4(0x11e)]);}['removeCorePointerListeners'](){const _0x25a012=_0x51df63,_0x378a7e=this[_0x25a012(0x168)][_0x25a012(0x11d)];if(!_0x378a7e)return;_0x378a7e[_0x25a012(0x151)](_0x25a012(0x12b),this['onPointerMove']),_0x378a7e['removeEventListener']('pointerup',this[_0x25a012(0x13c)]),_0x378a7e[_0x25a012(0x151)](_0x25a012(0x1c5),this[_0x25a012(0x11e)]);}[_0x51df63(0x15b)](_0x2eb077=!![]){const _0x414562=_0x51df63;return this[_0x414562(0x113)](this[_0x414562(0x169)]['x'],this[_0x414562(0x169)]['y'],_0x2eb077);}[_0x51df63(0x113)](_0x23d6c7,_0x1a2715,_0x32fa44=!![]){const _0x3235a3=_0x51df63;this['_raycastVec2'][_0x3235a3(0x118)](_0x23d6c7,_0x1a2715),this[_0x3235a3(0x136)][_0x3235a3(0x125)](this[_0x3235a3(0x1b4)],this[_0x3235a3(0x14b)]);const _0x34d0b4=this[_0x3235a3(0x17e)](_0x23d6c7,_0x1a2715);if(!_0x32fa44)return _0x34d0b4[0x0]||null;for(const _0x17f20e of _0x34d0b4){const _0x7ccb38=_0x17f20e[_0x3235a3(0x135)][_0x3235a3(0x1cd)]||_0x17f20e[_0x3235a3(0x135)][_0x3235a3(0x153)],_0x3369a0=_0x17f20e[_0x3235a3(0x135)][_0x3235a3(0x11a)],_0x44ac51=_0x3369a0&&(_0x3369a0['isHoverEnabled']||_0x3369a0['isClickEnabled']);if(_0x7ccb38||_0x44ac51)return _0x17f20e;}return null;}[_0x51df63(0x110)](_0x50701c=!![]){const _0x581f75=_0x51df63;return this[_0x581f75(0x17e)](this[_0x581f75(0x169)]['x'],this[_0x581f75(0x169)]['y']);}['getAllHitResultFromScreenPoint'](_0x433345,_0x37d9a0){const _0x3b1638=_0x51df63;this[_0x3b1638(0x1b4)][_0x3b1638(0x118)](_0x433345,_0x37d9a0),this[_0x3b1638(0x136)][_0x3b1638(0x125)](this[_0x3b1638(0x1b4)],this[_0x3b1638(0x14b)]);const _0x4284a8=this['raycaster'][_0x3b1638(0x1cc)][_0x3b1638(0x146)],_0x13426f=this[_0x3b1638(0x136)][_0x3b1638(0x1cc)]['at'](0x2710,new Vector3()),_0x219ded=this['world'][_0x3b1638(0x137)][_0x3b1638(0x191)](_0x4284a8,_0x13426f,CollisionChannel[_0x3b1638(0x1b6)]),_0x1db5cd=[];for(const _0x243114 of _0x219ded){if(!_0x243114[_0x3b1638(0x14e)]||!_0x243114[_0x3b1638(0x14e)][_0x3b1638(0x1d2)])continue;if(this[_0x3b1638(0x14b)]instanceof PerspectiveCamera&&_0x243114[_0x3b1638(0x114)]<this[_0x3b1638(0x14b)][_0x3b1638(0x176)])continue;const _0x244d04={'distance':_0x243114['distance'],'point':_0x243114[_0x3b1638(0x124)],'object':_0x243114['collider']['threeObject'],'uv':new Vector2$1(0x0,0x0)};_0x1db5cd['push']({'component':_0x243114['collider'],'hit':_0x244d04});if(_0x243114['blocking'])break;}return _0x1db5cd;}[_0x51df63(0x192)](_0x2b9684,_0x4e2522,_0x170a29,_0x23ded5,_0x2a970b=null,_0x311f59=null){const _0x5dcb00=_0x51df63;this[_0x5dcb00(0x147)][_0x5dcb00(0x192)](_0x2b9684,_0x4e2522,_0x170a29,_0x23ded5,_0x2a970b,_0x311f59);}[_0x51df63(0x17c)](_0x527980,_0x15d87a,_0x1940e5={}){const _0x3eca12=_0x51df63,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math['sqrt'](0.5)}=_0x1940e5,_0x208a4b=new Vector3(),_0x15a2be=new Vector3();_0x527980[_0x3eca12(0x12c)](_0x208a4b),_0x527980[_0x3eca12(0x116)](_0x15a2be);const _0x33ecb5=this[_0x3eca12(0x129)][_0x3eca12(0x14b)];if(_0x33ecb5&&_0x33ecb5[_0x3eca12(0x18a)]){const _0x569227=_0x33ecb5[_0x3eca12(0x16d)]*(Math['PI']/0xb4),_0xe891cc=_0x15a2be['length']()*0.5,_0x11ad10=Math[_0x3eca12(0x1c4)](_0xe891cc/targetScreenRatio/Math[_0x3eca12(0x13a)](_0x569227/0x2),_0x33ecb5[_0x3eca12(0x176)]*0x2);let _0x4f57af=_0x33ecb5[_0x3eca12(0x111)][_0x3eca12(0x197)]();if(computeOptimalQuat){const _0x3ffffa=[new Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,0x0,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,'YXZ'),new Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,0x0,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x2,0x0,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x3,0x0,0x0,'YXZ'),new Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x3eca12(0x16b))];let _0x17abe2=-1;for(const _0x3696f2 of _0x3ffffa){const _0x2309df=new Quaternion()[_0x3eca12(0x1d0)](_0x3696f2),_0x1d73e2=new Vector3(0x0,0x0,0x1)[_0x3eca12(0x1aa)](_0x2309df),_0x298ee0=_0x208a4b[_0x3eca12(0x197)]()[_0x3eca12(0x178)](_0x1d73e2[_0x3eca12(0x128)](_0x11ad10)),_0x563632=this['world'][_0x3eca12(0x137)][_0x3eca12(0x182)](_0x298ee0,_0x208a4b,CollisionChannel['Visibility']);let _0x43ef4a=![],_0x54a41d=_0x11ad10;_0x563632&&_0x563632['blocking']&&(_0x563632[_0x3eca12(0x114)]<_0x11ad10-_0xe891cc*1.2&&(_0x43ef4a=!![],_0x54a41d=_0x563632[_0x3eca12(0x114)]));if(!_0x43ef4a){_0x4f57af=_0x2309df;break;}else _0x54a41d>_0x17abe2&&(_0x17abe2=_0x54a41d,_0x4f57af=_0x2309df);}}const _0xdc18c6=_0x4f57af;this['focusTo'](_0x208a4b,_0xdc18c6,_0x11ad10,_0x15d87a,onGoing,onFinished);}else {const _0x166890=_0x15a2be[_0x3eca12(0x18c)]()*1.5,_0x47e1f2=new Quaternion()[_0x3eca12(0x155)](new Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x3eca12(0x192)](_0x208a4b,_0x47e1f2,_0x166890,_0x15d87a,onGoing,onFinished);}}['focusToObject'](_0x4c39fd,_0x3b0d24,_0x1e5547={}){const _0x4ecd85=_0x51df63,_0x11e9b5=new Box3()[_0x4ecd85(0x1a5)](_0x4c39fd);this[_0x4ecd85(0x17c)](_0x11e9b5,_0x3b0d24,_0x1e5547);}}
|
|
91
91
|
|
|
92
|
-
function
|
|
92
|
+
function _0x1bc2(){const _0x15f2fa=['far','3664612AsICKV','2349594QNOZtk','top','Perspective','Invalid\x20camera\x20type','warn','left','aspect','right','22321790rvheYc','bottom','271204FJMAyB','849872nSqPbF','fov','4ZxbkqO','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','9LMOhJS','type','6952045JYehYi','near','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','Orthographic','6SykMcU','updataCamera','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','533704xtrQFZ'];_0x1bc2=function(){return _0x15f2fa;};return _0x1bc2();}const _0x4fc6cd=_0x532c;function _0x532c(_0x2c3833,_0x5a4bd6){_0x2c3833=_0x2c3833-0x1a3;const _0x1bc28e=_0x1bc2();let _0x532c68=_0x1bc28e[_0x2c3833];return _0x532c68;}(function(_0x119d48,_0x96c733){const _0xaf7e3b=_0x532c,_0x57a5cc=_0x119d48();while(!![]){try{const _0x2bf0af=-parseInt(_0xaf7e3b(0x1a6))/0x1+-parseInt(_0xaf7e3b(0x1a7))/0x2*(parseInt(_0xaf7e3b(0x1b1))/0x3)+parseInt(_0xaf7e3b(0x1a9))/0x4*(-parseInt(_0xaf7e3b(0x1ad))/0x5)+parseInt(_0xaf7e3b(0x1b7))/0x6+parseInt(_0xaf7e3b(0x1b6))/0x7+parseInt(_0xaf7e3b(0x1b4))/0x8+-parseInt(_0xaf7e3b(0x1ab))/0x9*(-parseInt(_0xaf7e3b(0x1a4))/0xa);if(_0x2bf0af===_0x96c733)break;else _0x57a5cc['push'](_0x57a5cc['shift']());}catch(_0x2453a2){_0x57a5cc['push'](_0x57a5cc['shift']());}}}(_0x1bc2,0xab83a));class CameraFactory{static['createCamera'](_0x2bfe2c){const _0x243ebc=_0x532c;try{switch(_0x2bfe2c[_0x243ebc(0x1ac)]){case _0x243ebc(0x1b9):{let _0x1130e2=_0x2bfe2c;return new PerspectiveCamera(_0x1130e2[_0x243ebc(0x1a8)],_0x1130e2[_0x243ebc(0x1bd)],_0x1130e2['near'],_0x1130e2['far']);}case _0x243ebc(0x1b0):{let _0x4685c7=_0x2bfe2c;return new OrthographicCamera(_0x4685c7[_0x243ebc(0x1bc)],_0x4685c7[_0x243ebc(0x1a3)],_0x4685c7[_0x243ebc(0x1b8)],_0x4685c7[_0x243ebc(0x1a5)],_0x4685c7[_0x243ebc(0x1ae)],_0x4685c7[_0x243ebc(0x1b5)]);}default:{throw new Error(_0x243ebc(0x1ba));}}}catch(_0x441bcb){return console[_0x243ebc(0x1bb)]('[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20',_0x441bcb),console[_0x243ebc(0x1bb)](_0x243ebc(0x1af)),new PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x4fc6cd(0x1b2)](_0x4527ae,_0x712ef4){const _0x13f1eb=_0x4fc6cd;try{switch(_0x4527ae[_0x13f1eb(0x1ac)]){case _0x13f1eb(0x1b9):{let _0x27e5f2=_0x4527ae;if(_0x712ef4 instanceof PerspectiveCamera)return _0x712ef4['near']=_0x27e5f2[_0x13f1eb(0x1ae)],_0x712ef4[_0x13f1eb(0x1b5)]=_0x27e5f2[_0x13f1eb(0x1b5)],_0x712ef4[_0x13f1eb(0x1a8)]=_0x27e5f2[_0x13f1eb(0x1a8)],_0x712ef4[_0x13f1eb(0x1bd)]=_0x27e5f2[_0x13f1eb(0x1bd)],_0x712ef4;return new PerspectiveCamera(_0x27e5f2[_0x13f1eb(0x1a8)],_0x27e5f2[_0x13f1eb(0x1bd)],_0x27e5f2[_0x13f1eb(0x1ae)],_0x27e5f2[_0x13f1eb(0x1b5)]);}case _0x13f1eb(0x1b0):{let _0x1da5f0=_0x4527ae;if(_0x712ef4 instanceof OrthographicCamera)return _0x712ef4[_0x13f1eb(0x1ae)]=_0x1da5f0['near'],_0x712ef4[_0x13f1eb(0x1b5)]=_0x1da5f0[_0x13f1eb(0x1b5)],_0x712ef4[_0x13f1eb(0x1bc)]=_0x1da5f0[_0x13f1eb(0x1bc)],_0x712ef4[_0x13f1eb(0x1a3)]=_0x1da5f0['right'],_0x712ef4['top']=_0x1da5f0[_0x13f1eb(0x1b8)],_0x712ef4[_0x13f1eb(0x1a5)]=_0x1da5f0[_0x13f1eb(0x1a5)],_0x712ef4;return new OrthographicCamera(_0x1da5f0[_0x13f1eb(0x1bc)],_0x1da5f0[_0x13f1eb(0x1a3)],_0x1da5f0['top'],_0x1da5f0[_0x13f1eb(0x1a5)],_0x1da5f0[_0x13f1eb(0x1ae)],_0x1da5f0['far']);}default:{throw new Error(_0x13f1eb(0x1ba));}}}catch(_0x299834){return console[_0x13f1eb(0x1bb)](_0x13f1eb(0x1b3),_0x299834),console[_0x13f1eb(0x1bb)](_0x13f1eb(0x1aa)),_0x712ef4;}}}
|
|
93
93
|
|
|
94
|
-
const
|
|
94
|
+
const _0x2c232b=_0x28fe;(function(_0x33248d,_0x39b904){const _0x505529=_0x28fe,_0x50a697=_0x33248d();while(!![]){try{const _0x53514a=-parseInt(_0x505529(0x1d7))/0x1*(parseInt(_0x505529(0x1da))/0x2)+parseInt(_0x505529(0x1e0))/0x3+parseInt(_0x505529(0x1dd))/0x4*(-parseInt(_0x505529(0x1d8))/0x5)+-parseInt(_0x505529(0x1d5))/0x6*(-parseInt(_0x505529(0x1d6))/0x7)+parseInt(_0x505529(0x1dc))/0x8*(-parseInt(_0x505529(0x1d4))/0x9)+-parseInt(_0x505529(0x1d9))/0xa*(-parseInt(_0x505529(0x1df))/0xb)+parseInt(_0x505529(0x1e2))/0xc;if(_0x53514a===_0x39b904)break;else _0x50a697['push'](_0x50a697['shift']());}catch(_0x58aafe){_0x50a697['push'](_0x50a697['shift']());}}}(_0x4735,0x46ea7));function _0x28fe(_0xf6e3ef,_0x119651){_0xf6e3ef=_0xf6e3ef-0x1d3;const _0x47353d=_0x4735();let _0x28fee3=_0x47353d[_0xf6e3ef];return _0x28fee3;}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x2c232b(0x1d3),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x2c232b(0x1de),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x2c232b(0x1e1)](JSON[_0x2c232b(0x1db)](DefaultPerspectiveCameraParam));function _0x4735(){const _0xeebbba=['2136308jFZMgj','Orthographic','2057xyrxWm','804336kfKwvs','parse','11181516BWXLKl','Perspective','1554327TUdMgP','14862GuNYTm','581xrVnGR','1wuKqQu','5pRoOiA','4090RuWOKA','278644YMLZJg','stringify','24cElTOw'];_0x4735=function(){return _0xeebbba;};return _0x4735();}
|
|
95
95
|
|
|
96
|
-
(function(
|
|
96
|
+
function _0x5e83(_0x2640f5,_0x43adc1){_0x2640f5=_0x2640f5-0x9c;const _0x342c19=_0x342c();let _0x5e8359=_0x342c19[_0x2640f5];return _0x5e8359;}(function(_0x255d80,_0x5c6adf){const _0x2ac7fd=_0x5e83,_0x36aa42=_0x255d80();while(!![]){try{const _0x526111=parseInt(_0x2ac7fd(0xa4))/0x1*(-parseInt(_0x2ac7fd(0xa5))/0x2)+parseInt(_0x2ac7fd(0x9c))/0x3*(parseInt(_0x2ac7fd(0xa0))/0x4)+-parseInt(_0x2ac7fd(0x9e))/0x5*(-parseInt(_0x2ac7fd(0xa7))/0x6)+parseInt(_0x2ac7fd(0xa1))/0x7*(parseInt(_0x2ac7fd(0x9f))/0x8)+-parseInt(_0x2ac7fd(0xa6))/0x9+parseInt(_0x2ac7fd(0xa3))/0xa*(parseInt(_0x2ac7fd(0xa2))/0xb)+-parseInt(_0x2ac7fd(0x9d))/0xc;if(_0x526111===_0x5c6adf)break;else _0x36aa42['push'](_0x36aa42['shift']());}catch(_0xa768c5){_0x36aa42['push'](_0x36aa42['shift']());}}}(_0x342c,0xb15c8));function _0x342c(){const _0x499734=['3xurVLp','11372460eDQREM','428615RIIRrr','8lWqnVz','5357980udNqUv','1581951CjLLfq','11xSAikQ','5496730aQgxOV','33VHyDJA','4742FPIysC','7893711cdsjda','36vAPeyK'];_0x342c=function(){return _0x499734;};return _0x342c();}const DefaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
97
97
|
|
|
98
|
-
const
|
|
98
|
+
const _0x54a104=_0x4f80;function _0x3b4a(){const _0x25194d=['disposeObject3DResource','object','has','traverse','4033650svwFcO','geometry','isObject3D','isScene','isArray','79370oKQVnW','parent','200tnpgPA','1430300KTQPff','dispose','2ZqyGao','forEach','source','1251eHxbou','20AgBChp','material','keys','children','disposeMaterialTextures','4806936mKqkJo','369586VDCLXm','disposeMeshResource','isTexture','add','disposeMeshMaterial','isBufferGeometry','49535926zRtmdn','331265DNlOal'];_0x3b4a=function(){return _0x25194d;};return _0x3b4a();}function _0x4f80(_0x5aa12e,_0x5751be){_0x5aa12e=_0x5aa12e-0x198;const _0x3b4aa4=_0x3b4a();let _0x4f801e=_0x3b4aa4[_0x5aa12e];return _0x4f801e;}(function(_0x321c52,_0x110648){const _0x5dcab3=_0x4f80,_0x5ad226=_0x321c52();while(!![]){try{const _0x150e40=-parseInt(_0x5dcab3(0x1b6))/0x1+parseInt(_0x5dcab3(0x1a5))/0x2*(-parseInt(_0x5dcab3(0x19b))/0x3)+parseInt(_0x5dcab3(0x1a3))/0x4*(-parseInt(_0x5dcab3(0x1a9))/0x5)+-parseInt(_0x5dcab3(0x1ae))/0x6+parseInt(_0x5dcab3(0x1af))/0x7*(parseInt(_0x5dcab3(0x1a2))/0x8)+-parseInt(_0x5dcab3(0x1a8))/0x9*(parseInt(_0x5dcab3(0x1a0))/0xa)+parseInt(_0x5dcab3(0x1b5))/0xb;if(_0x150e40===_0x110648)break;else _0x5ad226['push'](_0x5ad226['shift']());}catch(_0x3b5031){_0x5ad226['push'](_0x5ad226['shift']());}}}(_0x3b4a,0xc669e));class ThreeObjectLibrary{static[_0x54a104(0x1ad)](_0x5b7a71){const _0x2b9510=_0x54a104,_0x2e1e18=new Set(),_0x497e7b=new Set([_0x2b9510(0x1a1),_0x2b9510(0x1ac),_0x2b9510(0x19c),_0x2b9510(0x1a7)]),_0x195348=_0xd758a0=>{const _0x4e4bd7=_0x2b9510;if(!_0xd758a0||typeof _0xd758a0!==_0x4e4bd7(0x198)||_0x2e1e18['has'](_0xd758a0))return;if(_0xd758a0[_0x4e4bd7(0x19d)]||_0xd758a0[_0x4e4bd7(0x19e)]||_0xd758a0['isMesh']||_0xd758a0[_0x4e4bd7(0x1b4)])return;_0x2e1e18[_0x4e4bd7(0x1b2)](_0xd758a0);if(_0x4e4bd7(0x1b1)in _0xd758a0){_0xd758a0[_0x4e4bd7(0x1a4)]();return;}Object[_0x4e4bd7(0x1ab)](_0xd758a0)['forEach'](_0x360669=>{const _0xe288a5=_0x4e4bd7;if(_0x497e7b[_0xe288a5(0x199)](_0x360669))return;_0x195348(_0xd758a0[_0x360669]);});};Object['keys'](_0x5b7a71)[_0x2b9510(0x1a6)](_0x191e18=>{_0x195348(_0x5b7a71[_0x191e18]);});}static[_0x54a104(0x1b3)](_0x518e76){const _0x39372d=_0x54a104;let _0x3cd123=Array[_0x39372d(0x19f)](_0x518e76[_0x39372d(0x1aa)])?_0x518e76['material']:[_0x518e76[_0x39372d(0x1aa)]];_0x3cd123['forEach'](_0x1d2877=>{const _0x2b927f=_0x39372d;ThreeObjectLibrary[_0x2b927f(0x1ad)](_0x1d2877),_0x1d2877[_0x2b927f(0x1a4)]();});}static[_0x54a104(0x1b0)](_0xae9a19,_0x37ab62=![]){const _0x426721=_0x54a104;ThreeObjectLibrary['disposeMeshMaterial'](_0xae9a19),_0xae9a19['geometry']['dispose'](),_0x37ab62&&_0xae9a19[_0x426721(0x1ac)][_0x426721(0x1a6)](_0x38975d=>{const _0x529078=_0x426721;_0x38975d instanceof Mesh&&ThreeObjectLibrary[_0x529078(0x1b0)](_0x38975d,!![]);});}static[_0x54a104(0x1b7)](_0x1e2aba){const _0x59455d=_0x54a104;_0x1e2aba[_0x59455d(0x19a)](_0x7ffab8=>{const _0x358381=_0x59455d;_0x7ffab8 instanceof Mesh&&ThreeObjectLibrary[_0x358381(0x1b0)](_0x7ffab8);});}}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
var _0x467389=_0x3a35;(function(_0x1ddebe,_0x300af5){var _0x3ca0ec=_0x3a35,_0x5f6a0e=_0x1ddebe();while(!![]){try{var _0x3b401f=-parseInt(_0x3ca0ec(0xe7))/0x1*(parseInt(_0x3ca0ec(0xe8))/0x2)+-parseInt(_0x3ca0ec(0xe6))/0x3+parseInt(_0x3ca0ec(0xec))/0x4*(-parseInt(_0x3ca0ec(0xe9))/0x5)+-parseInt(_0x3ca0ec(0xe4))/0x6*(parseInt(_0x3ca0ec(0xe5))/0x7)+parseInt(_0x3ca0ec(0xeb))/0x8+parseInt(_0x3ca0ec(0xee))/0x9+parseInt(_0x3ca0ec(0xe3))/0xa;if(_0x3b401f===_0x300af5)break;else _0x5f6a0e['push'](_0x5f6a0e['shift']());}catch(_0x10f060){_0x5f6a0e['push'](_0x5f6a0e['shift']());}}}(_0x343a,0x61cca));function _0x343a(){var _0x38e3ea=['398965xtNFEy','obj','2709232PXcTiO','20wNWasO','threeObject','7202259VHLNdZ','three\x20object\x20is\x20invalid','LYObject','4497270quKWKX','54zNywmV','475657NZhEpF','310962ABnHUB','118vuJXeY','1252IbHiZz'];_0x343a=function(){return _0x38e3ea;};return _0x343a();}function _0x3a35(_0x2e3864,_0x10a646){_0x2e3864=_0x2e3864-0xe3;var _0x343a11=_0x343a();var _0x3a353e=_0x343a11[_0x2e3864];return _0x3a353e;}class LevelComponent extends SceneComponent{get[_0x467389(0xed)](){var _0x1aaf22=_0x467389;if(!this[_0x1aaf22(0xea)])throw Error(_0x1aaf22(0xef));return this[_0x1aaf22(0xea)];}set[_0x467389(0xed)](_0x246283){var _0x39fb51=_0x467389;this[_0x39fb51(0xea)]=_0x246283,this['obj']&&(this[_0x39fb51(0xea)]['userData'][_0x39fb51(0xf0)]=this);}constructor(_0x598330,_0x57537a){super(_0x598330,_0x57537a);}['createDefaultObject'](){return new Scene();}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _0x3b5fc1=_0x58f3;(function(_0x3b79e0,_0x52d85b){var _0x5effd7=_0x58f3,_0x5c2a37=_0x3b79e0();while(!![]){try{var _0xa16fb9=parseInt(_0x5effd7(0x135))/0x1+-parseInt(_0x5effd7(0x134))/0x2*(-parseInt(_0x5effd7(0x122))/0x3)+parseInt(_0x5effd7(0x129))/0x4*(-parseInt(_0x5effd7(0x12e))/0x5)+parseInt(_0x5effd7(0x124))/0x6*(-parseInt(_0x5effd7(0x12d))/0x7)+-parseInt(_0x5effd7(0x11e))/0x8*(-parseInt(_0x5effd7(0x11d))/0x9)+-parseInt(_0x5effd7(0x125))/0xa+parseInt(_0x5effd7(0x120))/0xb*(parseInt(_0x5effd7(0x131))/0xc);if(_0xa16fb9===_0x52d85b)break;else _0x5c2a37['push'](_0x5c2a37['shift']());}catch(_0x1c476a){_0x5c2a37['push'](_0x5c2a37['shift']());}}}(_0x5f4e,0x6d124));function _0x58f3(_0x4853d8,_0x6b759d){_0x4853d8=_0x4853d8-0x11d;var _0x5f4e87=_0x5f4e();var _0x58f369=_0x5f4e87[_0x4853d8];return _0x58f369;}function _0x5f4e(){var _0x239bc3=['81676hjCfox','isTickEnabled','destroy','disposeMeshResource','1715231OqpsCt','35EuNgQk','forEach','uuid','1548LcxtGd','app','traverse','621042FXcFya','112613yejDCo','scene','143208DhDUrb','416xrrWub','scene\x20is\x20null','32626HjvWDi','tick','3gfRuIE','clearLevel','6qmbJNg','7984500kmrDRg','_scene','constructRootComponent','threeObject'];_0x5f4e=function(){return _0x239bc3;};return _0x5f4e();}class LevelActor extends Actor{get[_0x3b5fc1(0x136)](){var _0x4082e6=_0x3b5fc1;if(!this['_scene'])throw new Error(_0x4082e6(0x11f));return this[_0x4082e6(0x126)];}constructor(_0x474ac6,_0x57c0c0){var _0x5ec074=_0x3b5fc1;super(_0x474ac6,_0x57c0c0),this[_0x5ec074(0x126)]=null,this[_0x5ec074(0x126)]=this['rootComponent'][_0x5ec074(0x128)],this[_0x5ec074(0x12a)]=![];}[_0x3b5fc1(0x127)](){var _0x410fd0=_0x3b5fc1;return new LevelComponent(this[_0x410fd0(0x132)],this[_0x410fd0(0x130)]);}[_0x3b5fc1(0x121)](_0x2f535e){var _0x2e6af7=_0x3b5fc1;if(!this[_0x2e6af7(0x12a)])return;super[_0x2e6af7(0x121)](_0x2f535e);}[_0x3b5fc1(0x12b)](){var _0x40cf44=_0x3b5fc1;this[_0x40cf44(0x123)](),super['destroy']();}[_0x3b5fc1(0x123)](){var _0x505505=_0x3b5fc1;this['childActors'][_0x505505(0x12f)](_0x467d54=>{var _0x3c7c8f=_0x505505;_0x467d54[_0x3c7c8f(0x12b)]();}),this[_0x505505(0x136)][_0x505505(0x133)](_0x1467d6=>{var _0x244f96=_0x505505;_0x1467d6 instanceof Mesh&&ThreeObjectLibrary[_0x244f96(0x12c)](_0x1467d6);});}}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
(function(_0x4999d7,_0x15c1b0){const _0x3563db=_0x59bd,_0x4eb416=_0x4999d7();while(!![]){try{const _0x106cd3=-parseInt(_0x3563db(0xcc))/0x1+parseInt(_0x3563db(0xc5))/0x2+-parseInt(_0x3563db(0xc7))/0x3*(parseInt(_0x3563db(0xc8))/0x4)+parseInt(_0x3563db(0xca))/0x5*(-parseInt(_0x3563db(0xc6))/0x6)+parseInt(_0x3563db(0xcb))/0x7+-parseInt(_0x3563db(0xc9))/0x8*(parseInt(_0x3563db(0xc4))/0x9)+parseInt(_0x3563db(0xcd))/0xa;if(_0x106cd3===_0x15c1b0)break;else _0x4eb416['push'](_0x4eb416['shift']());}catch(_0xfea56c){_0x4eb416['push'](_0x4eb416['shift']());}}}(_0x3e5d,0xe9914));function _0x3e5d(){const _0x4ea742=['2188263DYGrbm','180871czmjUC','22245280tvPgsS','18uESImi','2398752ZYewfs','2959338SWsptJ','4434NWCfzl','544QouqaG','5645984FvSGeU','10MqgFcc'];_0x3e5d=function(){return _0x4ea742;};return _0x3e5d();}function _0x59bd(_0x3096e5,_0x36c154){_0x3096e5=_0x3096e5-0xc4;const _0x3e5d6a=_0x3e5d();let _0x59bd6a=_0x3e5d6a[_0x3096e5];return _0x59bd6a;}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
105
105
|
|
|
106
|
-
const
|
|
106
|
+
const _0x50fbc3=_0x3845;function _0x3845(_0x1e795a,_0x1299f5){_0x1e795a=_0x1e795a-0x126;const _0x140fd9=_0x140f$1();let _0x384541=_0x140fd9[_0x1e795a];return _0x384541;}(function(_0x55fa5c,_0x536c72){const _0x4fad6b=_0x3845,_0x332f23=_0x55fa5c();while(!![]){try{const _0x2593bb=-parseInt(_0x4fad6b(0x157))/0x1*(-parseInt(_0x4fad6b(0x141))/0x2)+-parseInt(_0x4fad6b(0x12a))/0x3*(-parseInt(_0x4fad6b(0x138))/0x4)+parseInt(_0x4fad6b(0x140))/0x5+-parseInt(_0x4fad6b(0x136))/0x6*(-parseInt(_0x4fad6b(0x12e))/0x7)+parseInt(_0x4fad6b(0x151))/0x8+parseInt(_0x4fad6b(0x133))/0x9+parseInt(_0x4fad6b(0x149))/0xa*(-parseInt(_0x4fad6b(0x14c))/0xb);if(_0x2593bb===_0x536c72)break;else _0x332f23['push'](_0x332f23['shift']());}catch(_0x5031be){_0x332f23['push'](_0x332f23['shift']());}}}(_0x140f$1,0x5d3d4));function _0x140f$1(){const _0xfa7997=['tick','8430OULIqt','_isTickPaused','log','33517oOyABa','forEach','updateProjectionMatrix','updateCamera','_world','1959744vlPJWE','_viewport','removeTickingFunction','viewport','_clock','classes','181826jkQUVv','push','_tickingFunctions','setTickPaused','_assetManager','viewportClass','_controller','3270cuxkgr','renderAsImage','postConstruct','broadcast','1114561rOCqis','addTickingFunction','dispose','assetManager','camera','6794730aGXdjm','_camera','indexOf','24QebfsY','controller','1228tuCnRr','update','_onCameraChangedDelegate','onWindowResize','markRenderStateDirty','renderer','destroy','dracoPath','2167955qOOAvJ','6uaEgOS','aspect','render','onCameraChangedDelegate','assetManagerClass','world','init'];_0x140f$1=function(){return _0xfa7997;};return _0x140f$1();}class ThreeJsApp{get[_0x50fbc3(0x132)](){const _0x58f37b=_0x50fbc3;return this[_0x58f37b(0x134)];}get['clock'](){return this['_clock'];}get['world'](){return this['_world'];}get[_0x50fbc3(0x154)](){const _0x1a431a=_0x50fbc3;return this[_0x1a431a(0x152)];}get[_0x50fbc3(0x137)](){const _0x36c7fe=_0x50fbc3;return this[_0x36c7fe(0x129)];}get[_0x50fbc3(0x131)](){const _0xef350a=_0x50fbc3;return this[_0xef350a(0x127)];}get[_0x50fbc3(0x144)](){const _0x575a0f=_0x50fbc3;return this[_0x575a0f(0x13a)];}constructor(_0x39e83f=DefaultAppParam){const _0xbdd977=_0x50fbc3;var _0x16c491,_0x524532,_0x5e25d6,_0x7e7a38;this[_0xbdd977(0x159)]=[],this[_0xbdd977(0x14a)]=![],this[_0xbdd977(0x13a)]=new Delegate();const _0x5eb95b=(_0x16c491=_0x39e83f['cameraParam'])!==null&&_0x16c491!==void 0?_0x16c491:DefaultCameraParam,_0x15a284=(_0x524532=_0x39e83f['worldParam'])!==null&&_0x524532!==void 0?_0x524532:DefaultWorldParam,_0xbfa6b0=(_0x5e25d6=_0x39e83f['viewportParam'])!==null&&_0x5e25d6!==void 0?_0x5e25d6:DefaultViewportParam,_0x5d6115=(_0x7e7a38=_0x39e83f[_0xbdd977(0x156)])!==null&&_0x7e7a38!==void 0?_0x7e7a38:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0xbdd977(0x155)]=new Timer(),this['_camera']=CameraFactory['createCamera'](_0x5eb95b),this[_0xbdd977(0x150)]=new _0x5d6115['worldClass'](this,_0x15a284),this['_viewport']=new _0x5d6115[(_0xbdd977(0x128))](this,_0xbfa6b0),this[_0xbdd977(0x129)]=new _0x5d6115['controllerClass'](this),this[_0xbdd977(0x127)]=new _0x5d6115[(_0xbdd977(0x145))](this,_0x39e83f[_0xbdd977(0x13f)]),this[_0xbdd977(0x154)][_0xbdd977(0x13d)]['setAnimationLoop'](()=>{const _0x648d73=_0xbdd977;this[_0x648d73(0x155)][_0x648d73(0x139)]();const _0x2e02a0=this[_0x648d73(0x155)]['getDelta']();this[_0x648d73(0x148)](_0x2e02a0);}),this[_0xbdd977(0x12c)]();}[_0x50fbc3(0x12c)](){const _0x361e5b=_0x50fbc3;this[_0x361e5b(0x137)][_0x361e5b(0x147)](),this[_0x361e5b(0x146)][_0x361e5b(0x147)](),this[_0x361e5b(0x154)][_0x361e5b(0x147)]();}[_0x50fbc3(0x147)](){}['tick'](_0x25176d){const _0x500713=_0x50fbc3;if(this[_0x500713(0x14a)])return;this[_0x500713(0x129)]['tick'](_0x25176d),this['world'][_0x500713(0x148)](_0x25176d),this[_0x500713(0x159)][_0x500713(0x14d)](_0x20327b=>{_0x20327b(_0x25176d);}),this['viewport'][_0x500713(0x13c)](),this[_0x500713(0x154)][_0x500713(0x143)]();}[_0x50fbc3(0x126)](_0x5945b8){const _0x5f2f5a=_0x50fbc3;console[_0x5f2f5a(0x14b)]('setTickPaused',_0x5945b8),this['_isTickPaused']=_0x5945b8;}[_0x50fbc3(0x12f)](_0x22ec6d){const _0x2139a4=_0x50fbc3;this[_0x2139a4(0x159)][_0x2139a4(0x158)](_0x22ec6d);}[_0x50fbc3(0x153)](_0x3c0cba){const _0x5f2e91=_0x50fbc3,_0x525c50=this[_0x5f2e91(0x159)][_0x5f2e91(0x135)](_0x3c0cba);_0x525c50>=0x0&&this[_0x5f2e91(0x159)]['splice'](_0x525c50,0x1);}[_0x50fbc3(0x13e)](){const _0x112ea8=_0x50fbc3;this[_0x112ea8(0x144)]['clear'](),this[_0x112ea8(0x137)][_0x112ea8(0x13e)](),this[_0x112ea8(0x146)][_0x112ea8(0x13e)](),this[_0x112ea8(0x127)][_0x112ea8(0x130)](),this[_0x112ea8(0x154)][_0x112ea8(0x13e)]();}[_0x50fbc3(0x14f)](_0x1f2a0c){const _0x58e065=_0x50fbc3,_0x6d3afb=this['camera'];this[_0x58e065(0x134)]=CameraFactory['updataCamera'](_0x1f2a0c,this[_0x58e065(0x132)]),_0x6d3afb!==this[_0x58e065(0x132)]&&(this[_0x58e065(0x13a)][_0x58e065(0x12d)](),this[_0x58e065(0x137)]['updateCamera']()),this[_0x58e065(0x134)][_0x58e065(0x14e)](),this[_0x58e065(0x154)][_0x58e065(0x13c)]();}[_0x50fbc3(0x13b)](_0x5868d5,_0x50a104){const _0x211382=_0x50fbc3;this[_0x211382(0x132)]instanceof PerspectiveCamera&&(this[_0x211382(0x132)][_0x211382(0x142)]=_0x5868d5/_0x50a104),this[_0x211382(0x132)][_0x211382(0x14e)]();}async[_0x50fbc3(0x12b)](_0x1ebe69=0x400,_0x46761e=0x400){const _0x2fda20=_0x50fbc3;return await this[_0x2fda20(0x154)][_0x2fda20(0x12b)](_0x1ebe69,_0x46761e);}}
|
|
107
107
|
|
|
108
|
-
var
|
|
108
|
+
function _0x5625(_0x34fdc4,_0x5e5c65){_0x34fdc4=_0x34fdc4-0xbb;var _0x349e6b=_0x349e();var _0x5625c5=_0x349e6b[_0x34fdc4];return _0x5625c5;}function _0x349e(){var _0x11952d=['LYObject','158279OVUuVs','1508607NuHvKi','721cRpjdm','getHex','1652510KLwCAn','intensity','color','173924TuiiZO','21174IQTLPZ','60NrxTVR','752994wJmWSP','threeObject','1EYaTyS','24xzyLcU','set','24oZxGsE','three\x20object\x20is\x20invalid','obj','1009122IbbGLJ'];_0x349e=function(){return _0x11952d;};return _0x349e();}var _0x24d461=_0x5625;(function(_0x6dc8ff,_0x1aebde){var _0x16dfbe=_0x5625,_0x5292f4=_0x6dc8ff();while(!![]){try{var _0x578a36=-parseInt(_0x16dfbe(0xbb))/0x1*(-parseInt(_0x16dfbe(0xc1))/0x2)+parseInt(_0x16dfbe(0xcd))/0x3+parseInt(_0x16dfbe(0xca))/0x4*(-parseInt(_0x16dfbe(0xcc))/0x5)+-parseInt(_0x16dfbe(0xcb))/0x6*(-parseInt(_0x16dfbe(0xc5))/0x7)+parseInt(_0x16dfbe(0xbe))/0x8*(-parseInt(_0x16dfbe(0xc4))/0x9)+parseInt(_0x16dfbe(0xc7))/0xa+-parseInt(_0x16dfbe(0xc3))/0xb*(-parseInt(_0x16dfbe(0xbc))/0xc);if(_0x578a36===_0x1aebde)break;else _0x5292f4['push'](_0x5292f4['shift']());}catch(_0xf5b08d){_0x5292f4['push'](_0x5292f4['shift']());}}}(_0x349e,0x466b2));class LightComponent extends SceneComponent{get[_0x24d461(0xce)](){var _0x5375c5=_0x24d461;if(!this[_0x5375c5(0xc0)])throw Error(_0x5375c5(0xbf));return this[_0x5375c5(0xc0)];}set[_0x24d461(0xce)](_0x2c0099){var _0x5e580d=_0x24d461;this[_0x5e580d(0xc0)]=_0x2c0099,this[_0x5e580d(0xc0)]&&(this[_0x5e580d(0xc0)]['userData'][_0x5e580d(0xc2)]=this);}get[_0x24d461(0xc9)](){var _0xeb8e55=_0x24d461;return this[_0xeb8e55(0xce)][_0xeb8e55(0xc9)][_0xeb8e55(0xc6)]();}set['color'](_0x1fd07f){var _0x949260=_0x24d461;this[_0x949260(0xce)][_0x949260(0xc9)][_0x949260(0xbd)](_0x1fd07f);}get[_0x24d461(0xc8)](){return this['threeObject']['intensity'];}set[_0x24d461(0xc8)](_0x17ba88){var _0x23c787=_0x24d461;this[_0x23c787(0xce)][_0x23c787(0xc8)]=_0x17ba88;}constructor(_0x1057a4,_0x5bdb34){super(_0x1057a4,_0x5bdb34);}}
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _0x154688=_0x30ef;(function(_0xd9e607,_0x3aa618){var _0x320aa3=_0x30ef,_0x355bb5=_0xd9e607();while(!![]){try{var _0x15ce75=-parseInt(_0x320aa3(0x86))/0x1*(parseInt(_0x320aa3(0x96))/0x2)+parseInt(_0x320aa3(0x85))/0x3*(parseInt(_0x320aa3(0x94))/0x4)+-parseInt(_0x320aa3(0x92))/0x5*(parseInt(_0x320aa3(0x89))/0x6)+parseInt(_0x320aa3(0x8d))/0x7*(parseInt(_0x320aa3(0x8a))/0x8)+parseInt(_0x320aa3(0x9e))/0x9+parseInt(_0x320aa3(0x88))/0xa+-parseInt(_0x320aa3(0x99))/0xb;if(_0x15ce75===_0x3aa618)break;else _0x355bb5['push'](_0x355bb5['shift']());}catch(_0x1f98d7){_0x355bb5['push'](_0x355bb5['shift']());}}}(_0x5d77,0xd48cb));class DirectionalLightComponent extends LightComponent{get[_0x154688(0x8c)](){var _0x574e85=_0x154688;if(!this[_0x574e85(0x9b)])throw Error(_0x574e85(0x8b));return this[_0x574e85(0x9b)];}set[_0x154688(0x8c)](_0x2b42ca){var _0x3426f8=_0x154688;this[_0x3426f8(0x9b)]=_0x2b42ca,this['obj']&&(this[_0x3426f8(0x9b)]['userData'][_0x3426f8(0x8f)]=this);}get[_0x154688(0x97)](){return this['threeObject']['castShadow'];}set['castShadow'](_0x2041c2){var _0x511333=_0x154688;this[_0x511333(0x8c)]['castShadow']=_0x2041c2;}constructor(_0x2e6b85,_0x16c249=0xffffff,_0x4e92a2=0xa,_0x4659a6){var _0x2ba0e0=_0x154688;super(_0x2e6b85,_0x4659a6),this['threeObject']['color'][_0x2ba0e0(0x9c)](_0x16c249),this[_0x2ba0e0(0x8c)][_0x2ba0e0(0x90)]=_0x4e92a2;}[_0x154688(0x9a)](){return new DirectionalLight(0xffffff,0xa);}['setPosition'](..._0x57a0ca){var _0x5be285=_0x154688;_0x57a0ca['length']===0x1?super[_0x5be285(0x98)](_0x57a0ca[0x0]):super[_0x5be285(0x98)](_0x57a0ca[0x0],_0x57a0ca[0x1],_0x57a0ca[0x2]),this[_0x5be285(0x8e)]();}[_0x154688(0x8e)](){var _0x476b59=_0x154688;if(this[_0x476b59(0x93)])this['world'][_0x476b59(0x9d)][_0x476b59(0x91)]();}[_0x154688(0x87)](_0x590a8a){var _0x1e9bab=_0x154688;if(!this[_0x1e9bab(0x8c)])throw Error(_0x1e9bab(0x8b));super[_0x1e9bab(0x87)](_0x590a8a);}[_0x154688(0x95)](){var _0x1b92ab=_0x154688;super[_0x1b92ab(0x95)]();}}function _0x30ef(_0x4ff2bc,_0x4e96e8){_0x4ff2bc=_0x4ff2bc-0x85;var _0x5d771f=_0x5d77();var _0x30efed=_0x5d771f[_0x4ff2bc];return _0x30efed;}function _0x5d77(){var _0x5d9069=['onAddedToWorld','3073140SWMfYA','666iTMdjJ','8mMouOC','three\x20object\x20is\x20invalid','threeObject','8130773ZgSDNq','update','LYObject','intensity','markRenderStateDirty','23365NlDMLa','world','8WaDVxB','destroy','40HQQOOs','castShadow','setPosition','2677510EvLxsx','createDefaultObject','obj','set','viewport','2571057rlPIfb','2053725anMfSN','74548CtysMe'];_0x5d77=function(){return _0x5d9069;};return _0x5d77();}
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
(function(_0x3c4372,_0x5e3ce3){var _0x3c9a7d=_0x56b7,_0x265ff9=_0x3c4372();while(!![]){try{var _0x496fb6=parseInt(_0x3c9a7d(0x1bd))/0x1+parseInt(_0x3c9a7d(0x1bb))/0x2+-parseInt(_0x3c9a7d(0x1b5))/0x3+-parseInt(_0x3c9a7d(0x1b7))/0x4+parseInt(_0x3c9a7d(0x1b3))/0x5*(-parseInt(_0x3c9a7d(0x1c0))/0x6)+parseInt(_0x3c9a7d(0x1bf))/0x7+parseInt(_0x3c9a7d(0x1be))/0x8;if(_0x496fb6===_0x5e3ce3)break;else _0x265ff9['push'](_0x265ff9['shift']());}catch(_0x4f78b6){_0x265ff9['push'](_0x265ff9['shift']());}}}(_0x4699,0x6ee5c));function _0x56b7(_0x4d1741,_0x182f63){_0x4d1741=_0x4d1741-0x1b3;var _0x4699fa=_0x4699();var _0x56b776=_0x4699fa[_0x4d1741];return _0x56b776;}class DirectionalLightActor extends Actor{constructor(_0x3033b0,_0x381ae7=0xffffff,_0x4f674c=0x1,_0x451559){var _0x38482=_0x56b7;super(_0x3033b0,_0x451559),this[_0x38482(0x1b4)]=null,this[_0x38482(0x1b4)]=this[_0x38482(0x1ba)],this[_0x38482(0x1b4)]&&(this[_0x38482(0x1b4)][_0x38482(0x1b6)]=_0x381ae7,this[_0x38482(0x1b4)][_0x38482(0x1b8)]=_0x4f674c,this[_0x38482(0x1b4)][_0x38482(0x1b9)]=!![]),this[_0x38482(0x1b4)]['castShadow']=!![];}['constructRootComponent'](){var _0x4f4b05=_0x56b7;return new DirectionalLightComponent(this[_0x4f4b05(0x1bc)]);}}function _0x4699(){var _0x94346d=['493712AaRcZn','intensity','castShadow','rootComponent','1380328RgGekS','app','57614AOHCrM','2562712GHvUCD','1231748ObosOB','34794YLnzLl','60wZGUpt','lightComponent','1790487EoOEBW','color'];_0x4699=function(){return _0x94346d;};return _0x4699();}
|
|
113
113
|
|
|
114
|
-
var
|
|
114
|
+
var _0x1861bf=_0x240a;function _0x240a(_0x584ed3,_0x256077){_0x584ed3=_0x584ed3-0x1ea;var _0x26a6d6=_0x26a6();var _0x240afa=_0x26a6d6[_0x584ed3];return _0x240afa;}function _0x26a6(){var _0x7718a=['obj','35980310RthwjB','userData','viewport','3340VibyFD','192996NPXRER','9193662EpgyJP','castShadow','2504746eKTACe','onAddedToWorld','333872FCyptW','three\x20object\x20is\x20invalid','color','threeObject','intensity','setPosition','length','set','10140UxknOm','world','920298ivDYiB','update','259weXfTK','1otJTfr'];_0x26a6=function(){return _0x7718a;};return _0x26a6();}(function(_0x5494b8,_0x9a96c4){var _0x3f747a=_0x240a,_0x1ad877=_0x5494b8();while(!![]){try{var _0x5ed0b3=-parseInt(_0x3f747a(0x1ef))/0x1*(-parseInt(_0x3f747a(0x1f8))/0x2)+-parseInt(_0x3f747a(0x1ec))/0x3+parseInt(_0x3f747a(0x1f5))/0x4+parseInt(_0x3f747a(0x1f4))/0x5*(-parseInt(_0x3f747a(0x1ea))/0x6)+parseInt(_0x3f747a(0x1ee))/0x7*(-parseInt(_0x3f747a(0x1fa))/0x8)+-parseInt(_0x3f747a(0x1f6))/0x9+parseInt(_0x3f747a(0x1f1))/0xa;if(_0x5ed0b3===_0x9a96c4)break;else _0x1ad877['push'](_0x1ad877['shift']());}catch(_0x572bfb){_0x1ad877['push'](_0x1ad877['shift']());}}}(_0x26a6,0xdb10b));class AmbientLightComponent extends LightComponent{get['threeObject'](){var _0x4121e3=_0x240a;if(!this[_0x4121e3(0x1f0)])throw Error(_0x4121e3(0x1fb));return this['obj'];}set[_0x1861bf(0x1fd)](_0x43a1e0){var _0xa85ef=_0x1861bf;this['obj']=_0x43a1e0,this[_0xa85ef(0x1f0)]&&(this[_0xa85ef(0x1f0)][_0xa85ef(0x1f2)]['LYObject']=this);}get[_0x1861bf(0x1f7)](){var _0x1e9dba=_0x1861bf;return this[_0x1e9dba(0x1fd)][_0x1e9dba(0x1f7)];}set[_0x1861bf(0x1f7)](_0x4830ce){var _0x24b02b=_0x1861bf;this[_0x24b02b(0x1fd)]['castShadow']=_0x4830ce;}constructor(_0x4a858f,_0x2c2fe9=0xffffff,_0x30acff=0xa,_0x2f7a46){var _0x4b26ec=_0x1861bf;super(_0x4a858f,_0x2f7a46),this[_0x4b26ec(0x1fd)][_0x4b26ec(0x1fc)][_0x4b26ec(0x201)](_0x2c2fe9),this[_0x4b26ec(0x1fd)][_0x4b26ec(0x1fe)]=_0x30acff;}['createDefaultObject'](){return new AmbientLight(0xffffff,0xa);}[_0x1861bf(0x1ff)](..._0x49cc15){var _0x15aa98=_0x1861bf;_0x49cc15[_0x15aa98(0x200)]===0x1?super[_0x15aa98(0x1ff)](_0x49cc15[0x0]):super['setPosition'](_0x49cc15[0x0],_0x49cc15[0x1],_0x49cc15[0x2]),this[_0x15aa98(0x1ed)]();}[_0x1861bf(0x1ed)](){var _0x130bd3=_0x1861bf;if(this[_0x130bd3(0x1eb)])this[_0x130bd3(0x1eb)][_0x130bd3(0x1f3)]['markRenderStateDirty']();}[_0x1861bf(0x1f9)](_0x461e1c){var _0x582a08=_0x1861bf;if(!this[_0x582a08(0x1fd)])throw Error(_0x582a08(0x1fb));super[_0x582a08(0x1f9)](_0x461e1c);}['destroy'](){super['destroy']();}}
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
var _0x327fa9=_0x5c92;(function(_0x34b920,_0x862a08){var _0x45f1d9=_0x5c92,_0x1c6e28=_0x34b920();while(!![]){try{var _0x2885ec=-parseInt(_0x45f1d9(0x1c7))/0x1*(-parseInt(_0x45f1d9(0x1c5))/0x2)+-parseInt(_0x45f1d9(0x1c9))/0x3+parseInt(_0x45f1d9(0x1c2))/0x4+-parseInt(_0x45f1d9(0x1cc))/0x5+-parseInt(_0x45f1d9(0x1c3))/0x6*(parseInt(_0x45f1d9(0x1c0))/0x7)+-parseInt(_0x45f1d9(0x1c1))/0x8+parseInt(_0x45f1d9(0x1ca))/0x9;if(_0x2885ec===_0x862a08)break;else _0x1c6e28['push'](_0x1c6e28['shift']());}catch(_0x2a193d){_0x1c6e28['push'](_0x1c6e28['shift']());}}}(_0x453c,0x73129));function _0x5c92(_0x5ce8ce,_0x39049){_0x5ce8ce=_0x5ce8ce-0x1c0;var _0x453ce6=_0x453c();var _0x5c929a=_0x453ce6[_0x5ce8ce];return _0x5c929a;}class AmbientLightActor extends Actor{constructor(_0x3682df,_0x56afde=0xffffff,_0x361d2e=0x1,_0x29c7d6){var _0x19f382=_0x5c92;super(_0x3682df,_0x29c7d6),this[_0x19f382(0x1c4)]=null,this[_0x19f382(0x1c4)]=this[_0x19f382(0x1c8)],this[_0x19f382(0x1c4)]&&(this[_0x19f382(0x1c4)][_0x19f382(0x1cb)]=_0x56afde,this[_0x19f382(0x1c4)]['intensity']=_0x361d2e,this[_0x19f382(0x1c4)][_0x19f382(0x1c6)]=!![]),this[_0x19f382(0x1c4)][_0x19f382(0x1c6)]=!![];}[_0x327fa9(0x1ce)](){var _0x5886a9=_0x327fa9;return new AmbientLightComponent(this[_0x5886a9(0x1cd)]);}}function _0x453c(){var _0x4894e2=['185311aRPewh','2051064XtoFaQ','3581016hcenpm','138lSTVrS','lightComponent','388nIGFEs','castShadow','1823puCkog','rootComponent','1784094BecHuA','11485170KiZPJM','color','2968745vZzNLx','app','constructRootComponent'];_0x453c=function(){return _0x4894e2;};return _0x453c();}
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
(function(_0x3c8238,_0xfcc501){var _0x5c47fc=_0x3663,_0x2dc1e1=_0x3c8238();while(!![]){try{var _0x36e01a=parseInt(_0x5c47fc(0x142))/0x1*(parseInt(_0x5c47fc(0x148))/0x2)+parseInt(_0x5c47fc(0x144))/0x3*(parseInt(_0x5c47fc(0x143))/0x4)+-parseInt(_0x5c47fc(0x14a))/0x5+-parseInt(_0x5c47fc(0x14b))/0x6+parseInt(_0x5c47fc(0x145))/0x7*(-parseInt(_0x5c47fc(0x147))/0x8)+-parseInt(_0x5c47fc(0x14c))/0x9+-parseInt(_0x5c47fc(0x149))/0xa*(-parseInt(_0x5c47fc(0x146))/0xb);if(_0x36e01a===_0xfcc501)break;else _0x2dc1e1['push'](_0x2dc1e1['shift']());}catch(_0x3d3ba4){_0x2dc1e1['push'](_0x2dc1e1['shift']());}}}(_0x25be,0xd6ae7));function _0x3663(_0x1e8f03,_0x50aa54){_0x1e8f03=_0x1e8f03-0x142;var _0x25becd=_0x25be();var _0x3663b0=_0x25becd[_0x1e8f03];return _0x3663b0;}function _0x25be(){var _0x2b13e7=['2sWEXGU','10UhtKtT','8277020awliXu','1865304ZTyRJw','1549296LxhFLq','820461sPlXfD','95092aRAsbL','51iPnuGt','7lYhHpJ','30307442SImhdu','7696456ZZLEwx'];_0x25be=function(){return _0x2b13e7;};return _0x25be();}class BoxComponent extends MeshComponent{constructor(_0x9268ba,_0x12456e=0x1,_0xb6d0a=0x1,_0x40d012=0x1,_0x2b620f=0x1,_0x128d81=0x1,_0x3303bb=0x1,_0x31828e=new MeshStandardMaterial(),_0x5d6d43){super(_0x9268ba,new BoxGeometry(_0x12456e,_0xb6d0a,_0x40d012,_0x2b620f,_0x128d81,_0x3303bb),_0x31828e,_0x5d6d43);}}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
var _0x47998c=_0x771e;(function(_0xdad252,_0x2ba191){var _0x22c12d=_0x771e,_0x53032c=_0xdad252();while(!![]){try{var _0x390ab4=parseInt(_0x22c12d(0x169))/0x1+parseInt(_0x22c12d(0x16f))/0x2+-parseInt(_0x22c12d(0x16c))/0x3*(-parseInt(_0x22c12d(0x164))/0x4)+parseInt(_0x22c12d(0x16d))/0x5*(parseInt(_0x22c12d(0x168))/0x6)+parseInt(_0x22c12d(0x16e))/0x7+parseInt(_0x22c12d(0x167))/0x8+-parseInt(_0x22c12d(0x16a))/0x9*(parseInt(_0x22c12d(0x165))/0xa);if(_0x390ab4===_0x2ba191)break;else _0x53032c['push'](_0x53032c['shift']());}catch(_0x2943af){_0x53032c['push'](_0x53032c['shift']());}}}(_0x6f32,0x941d1));function _0x6f32(){var _0x20a8c4=['3505500eKyXtE','28555tDCGxU','5530819YMrJHZ','166626FFBHZn','4EYyeDI','21663130MeXYHX','uuid','8437880twSdLh','690pvzsBX','1185869bjutyy','18XERXvg','constructRootComponent'];_0x6f32=function(){return _0x20a8c4;};return _0x6f32();}function _0x771e(_0x250a76,_0x33c06f){_0x250a76=_0x250a76-0x164;var _0x6f3230=_0x6f32();var _0x771e32=_0x6f3230[_0x250a76];return _0x771e32;}class BoxActor extends Actor{constructor(_0x54d571,_0x51c3e1){super(_0x54d571,_0x51c3e1);}[_0x47998c(0x16b)](){var _0x545e19=_0x47998c;return new BoxComponent(this['app'],0x1,0x1,0x1,0x1,0x1,0x1,new MeshBasicMaterial(),this[_0x545e19(0x166)]);}}
|
|
121
121
|
|
|
122
|
-
const
|
|
122
|
+
const _0xbb5998=_0x2efd;(function(_0x1ea282,_0x44db65){const _0x3f1b35=_0x2efd,_0x53ea8d=_0x1ea282();while(!![]){try{const _0x3ea7ef=parseInt(_0x3f1b35(0xed))/0x1+-parseInt(_0x3f1b35(0xdb))/0x2+parseInt(_0x3f1b35(0xec))/0x3*(parseInt(_0x3f1b35(0xd8))/0x4)+parseInt(_0x3f1b35(0xd5))/0x5+-parseInt(_0x3f1b35(0xcf))/0x6+-parseInt(_0x3f1b35(0xdd))/0x7*(parseInt(_0x3f1b35(0xda))/0x8)+parseInt(_0x3f1b35(0xe4))/0x9*(parseInt(_0x3f1b35(0xe3))/0xa);if(_0x3ea7ef===_0x44db65)break;else _0x53ea8d['push'](_0x53ea8d['shift']());}catch(_0x66361){_0x53ea8d['push'](_0x53ea8d['shift']());}}}(_0x5047,0x49aa3));function _0x2efd(_0x3fcdbe,_0x4a8038){_0x3fcdbe=_0x3fcdbe-0xcf;const _0x50478d=_0x5047();let _0x2efdd9=_0x50478d[_0x3fcdbe];return _0x2efdd9;}function _0x5047(){const _0x2620c8=['mieCoefficient','rayleigh','setFromSphericalCoords','azimuth','viewport','destroyObject','updateSky','229848LMlkvZ','37829wTEufQ','turbidity','2062482Yesqbh','markRenderStateDirty','obj','sunPosition','world','createDefaultObject','1897505qOGIJT','skyParam','elevation','20sWHOVa','mieDirectionalG','8aBRUmb','195400ogWniv','LYObject','1823507TUepsn','userData','three\x20object\x20is\x20invalid','degToRad','value','threeObject','184790GpNAqb','99uIHLpf'];_0x5047=function(){return _0x2620c8;};return _0x5047();}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0xbb5998(0xe2)](){const _0x1e43f7=_0xbb5998;if(!this[_0x1e43f7(0xd1)])throw Error(_0x1e43f7(0xdf));return this[_0x1e43f7(0xd1)];}set[_0xbb5998(0xe2)](_0x169cfc){const _0xa6381b=_0xbb5998;this[_0xa6381b(0xd1)]=_0x169cfc,this['obj']&&(this['obj'][_0xa6381b(0xde)][_0xa6381b(0xdc)]=this);}constructor(_0x5cb92f,_0xf39ff4,_0x11d05b){const _0x3e591f=_0xbb5998;super(_0x5cb92f,_0x11d05b),this[_0x3e591f(0xd6)]=DefaultSkyParam,this[_0x3e591f(0xd2)]=new Vector3(),_0xf39ff4&&(this['skyParam']=_0xf39ff4),this['updateSky']();}[_0xbb5998(0xd4)](){return new SkyMesh();}[_0xbb5998(0xeb)](){const _0x4b1ca4=_0xbb5998;var _0x2ba021,_0x4bda70;this['threeObject'][_0x4b1ca4(0xee)][_0x4b1ca4(0xe1)]=this[_0x4b1ca4(0xd6)][_0x4b1ca4(0xee)],this[_0x4b1ca4(0xe2)][_0x4b1ca4(0xe6)]['value']=this[_0x4b1ca4(0xd6)]['rayleigh'],this[_0x4b1ca4(0xe2)][_0x4b1ca4(0xe5)][_0x4b1ca4(0xe1)]=this[_0x4b1ca4(0xd6)][_0x4b1ca4(0xe5)],this[_0x4b1ca4(0xe2)][_0x4b1ca4(0xd9)][_0x4b1ca4(0xe1)]=this[_0x4b1ca4(0xd6)]['mieDirectionalG'];const _0x5b6a5b=MathUtils[_0x4b1ca4(0xe0)](0x5a-this[_0x4b1ca4(0xd6)][_0x4b1ca4(0xd7)]),_0x497d61=MathUtils[_0x4b1ca4(0xe0)](this[_0x4b1ca4(0xd6)][_0x4b1ca4(0xe8)]);this[_0x4b1ca4(0xd2)][_0x4b1ca4(0xe7)](0x1,_0x5b6a5b,_0x497d61),this[_0x4b1ca4(0xe2)]['sunPosition']['value']['copy'](this[_0x4b1ca4(0xd2)]),(_0x4bda70=(_0x2ba021=this[_0x4b1ca4(0xd3)])===null||_0x2ba021===void 0?void 0:_0x2ba021[_0x4b1ca4(0xe9)])===null||_0x4bda70===void 0?void 0:_0x4bda70[_0x4b1ca4(0xd0)]();}[_0xbb5998(0xea)](){const _0x348c85=_0xbb5998;this['obj']&&ThreeObjectLibrary['disposeMeshResource'](this[_0x348c85(0xe2)]);}}
|
|
123
123
|
|
|
124
|
-
var
|
|
124
|
+
function _0x11b5(_0x5a9794,_0x513f10){_0x5a9794=_0x5a9794-0xee;var _0xbb7a1d=_0xbb7a();var _0x11b5d8=_0xbb7a1d[_0x5a9794];return _0x11b5d8;}var _0x4f1f75=_0x11b5;(function(_0x2a95c0,_0x35911b){var _0xed76a5=_0x11b5,_0x4d6fc3=_0x2a95c0();while(!![]){try{var _0x140fb9=parseInt(_0xed76a5(0xf1))/0x1*(-parseInt(_0xed76a5(0xf3))/0x2)+-parseInt(_0xed76a5(0xf2))/0x3+-parseInt(_0xed76a5(0xf0))/0x4*(parseInt(_0xed76a5(0xf9))/0x5)+parseInt(_0xed76a5(0xf4))/0x6*(parseInt(_0xed76a5(0x101))/0x7)+parseInt(_0xed76a5(0xfc))/0x8*(parseInt(_0xed76a5(0xfe))/0x9)+-parseInt(_0xed76a5(0xf6))/0xa+-parseInt(_0xed76a5(0xf8))/0xb*(-parseInt(_0xed76a5(0xf7))/0xc);if(_0x140fb9===_0x35911b)break;else _0x4d6fc3['push'](_0x4d6fc3['shift']());}catch(_0x3bd745){_0x4d6fc3['push'](_0x4d6fc3['shift']());}}}(_0xbb7a,0xa4c24));class SkyActor extends Actor{constructor(_0xdeac1f,_0x4d4092){var _0x148836=_0x11b5;super(_0xdeac1f,_0x4d4092),this[_0x148836(0xfb)]=_0x148836(0x100),this[_0x148836(0xff)]=null,this[_0x148836(0xfd)]='SkyActor',this[_0x148836(0xff)]=this[_0x148836(0xee)],this[_0x148836(0xee)][_0x148836(0xfd)]=this[_0x148836(0xee)][_0x148836(0xfd)]+_0x148836(0xfa),this['setScale'](0xafc8,0xafc8,0xafc8);}[_0x4f1f75(0xef)](){var _0x3360e5=_0x4f1f75;return new SkyComponent(this[_0x3360e5(0xf5)]);}}function _0xbb7a(){var _0x3f6f1a=['36rHwttp','4594271vJkLfD','155WwbhGp','(Root)','_name','8CvhrCJ','name','8610597FQkbev','skyComponent','SkyActor','8484665vBFXNO','rootComponent','constructRootComponent','32156jhvPDd','1DuWSEB','1917549pDyWsQ','1332248ijClqW','6gOwwjA','app','11924430NaJWZN'];_0xbb7a=function(){return _0x3f6f1a;};return _0xbb7a();}
|
|
125
125
|
|
|
126
|
-
(function(
|
|
126
|
+
(function(_0x164861,_0x14914c){var _0x34528b=_0x140f,_0xb469cc=_0x164861();while(!![]){try{var _0x33277c=-parseInt(_0x34528b(0x151))/0x1*(-parseInt(_0x34528b(0x149))/0x2)+parseInt(_0x34528b(0x14a))/0x3*(parseInt(_0x34528b(0x14e))/0x4)+-parseInt(_0x34528b(0x150))/0x5+-parseInt(_0x34528b(0x14b))/0x6+parseInt(_0x34528b(0x14f))/0x7+-parseInt(_0x34528b(0x14d))/0x8*(-parseInt(_0x34528b(0x152))/0x9)+parseInt(_0x34528b(0x14c))/0xa*(parseInt(_0x34528b(0x148))/0xb);if(_0x33277c===_0x14914c)break;else _0xb469cc['push'](_0xb469cc['shift']());}catch(_0x4f2777){_0xb469cc['push'](_0xb469cc['shift']());}}}(_0x37f6,0x70742));class PlaneComponent extends MeshComponent{constructor(_0x447c21,_0x3e886c,_0x151bdc,_0x55fa7e,_0x2f4817=0x1,_0x351877=0x1,_0x39b330){super(_0x447c21,new PlaneGeometry(_0x3e886c,_0x151bdc,_0x2f4817,_0x351877),_0x55fa7e,_0x39b330);}}function _0x140f(_0x551e41,_0x465469){_0x551e41=_0x551e41-0x148;var _0x37f6dc=_0x37f6();var _0x140f7b=_0x37f6dc[_0x551e41];return _0x140f7b;}function _0x37f6(){var _0x371e9d=['3730972bdWcBx','2895305fTcsMr','29243lMKuKx','108AlYvIi','30437lobEsf','18dyGMPP','916257BgeDfZ','3002328CSlPhj','790SRRWnG','146576UbDOfQ','4acffYK'];_0x37f6=function(){return _0x371e9d;};return _0x37f6();}
|
|
127
127
|
|
|
128
|
-
var
|
|
128
|
+
function _0x5114(_0x3b4838,_0x1c654a){_0x3b4838=_0x3b4838-0x1a3;var _0x1bcb1c=_0x1bcb();var _0x511418=_0x1bcb1c[_0x3b4838];return _0x511418;}var _0x4214aa=_0x5114;function _0x1bcb(){var _0x4cb9df=['26102110BsAdDC','9261SmBsFx','107988jgRnrP','915909RLOdRi','app','uuid','148tAUJxh','1371705BBhKWK','2992340bCkxjw','4648Jlbziu','301tfCgqD','15787qxEWWu','destroy'];_0x1bcb=function(){return _0x4cb9df;};return _0x1bcb();}(function(_0x17f96b,_0x931e21){var _0x424f5e=_0x5114,_0x215c35=_0x17f96b();while(!![]){try{var _0x272a64=parseInt(_0x424f5e(0x1a6))/0x1*(parseInt(_0x424f5e(0x1ae))/0x2)+-parseInt(_0x424f5e(0x1ab))/0x3+parseInt(_0x424f5e(0x1a3))/0x4+parseInt(_0x424f5e(0x1af))/0x5+parseInt(_0x424f5e(0x1aa))/0x6*(parseInt(_0x424f5e(0x1a5))/0x7)+parseInt(_0x424f5e(0x1a4))/0x8*(parseInt(_0x424f5e(0x1a9))/0x9)+-parseInt(_0x424f5e(0x1a8))/0xa;if(_0x272a64===_0x931e21)break;else _0x215c35['push'](_0x215c35['shift']());}catch(_0x1e432f){_0x215c35['push'](_0x215c35['shift']());}}}(_0x1bcb,0x9df01));class PlaneActor extends Actor{constructor(_0x2a0628,_0x317a6f){super(_0x2a0628,_0x317a6f);}['constructRootComponent'](){var _0x3811c8=_0x5114;return new PlaneComponent(this[_0x3811c8(0x1ac)],0x1,0x1,new MeshBasicMaterial(),0x1,0x1,this[_0x3811c8(0x1ad)]);}[_0x4214aa(0x1a7)](){var _0x4f7a6=_0x4214aa;super[_0x4f7a6(0x1a7)]();}}
|
|
129
129
|
|
|
130
|
-
const _0x338d73=_0x3941;(function(_0x3cc816,_0x1c76f1){const _0x2ca5ab=_0x3941,_0x18cb66=_0x3cc816();while(!![]){try{const _0x4fb0b7=parseInt(_0x2ca5ab(0xe7))/0x1+parseInt(_0x2ca5ab(0xc9))/0x2+parseInt(_0x2ca5ab(0xea))/0x3*(-parseInt(_0x2ca5ab(0xde))/0x4)+parseInt(_0x2ca5ab(0xc6))/0x5*(-parseInt(_0x2ca5ab(0xf1))/0x6)+parseInt(_0x2ca5ab(0xc7))/0x7+parseInt(_0x2ca5ab(0xf4))/0x8+-parseInt(_0x2ca5ab(0xd6))/0x9;if(_0x4fb0b7===_0x1c76f1)break;else _0x18cb66['push'](_0x18cb66['shift']());}catch(_0x334e30){_0x18cb66['push'](_0x18cb66['shift']());}}}(_0x2129,0x5ed6d));function _0x3941(_0x22cd78,_0x4740fc){_0x22cd78=_0x22cd78-0xc0;const _0x212956=_0x2129();let _0x3941cd=_0x212956[_0x22cd78];return _0x3941cd;}function _0x2129(){const _0x167d02=['meshData','error','length','addRef','material','2351456dvhPbA','materialPtr','assetManager','reverse','geometry','castShadow','material\x20is\x20null','getCenter','app','229420geSvwA','setAttribute','push','3EEpHAg','_meshData','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','CustomMeshComponent','normal','map','_materialPtr','468PeaRtu','max','receiveShadow','3317360XVcEem','geometryPtr\x20is\x20null','calculatePolygonArea','materialPtr\x20is\x20null','vertices','CustomMeshComponent:\x20threeObject\x20is\x20null','warn','_geometryPtr','geometryPtr','viewport','computeUVs','getBoundsBottomCenterPosition','position','getBounds','destroyObject','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','indices','constructGeometry','threeObject','28095ubXcNV','3178623guZTbj','release','882406UAixsO','colors','obj','addGeometryAsset','getBoundsTopCenterPosition','computeVertexNormals','setIndex','min','addMaterialAsset','uvs','normals','clone','getValue','1122975PsefTj','userData','name'];_0x2129=function(){return _0x167d02;};return _0x2129();}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x1db8b3=_0x3941;if(!this[_0x1db8b3(0xcb)])throw new Error(_0x1db8b3(0xf9));return this[_0x1db8b3(0xcb)];}set[_0x338d73(0xc5)](_0x4fe4ad){const _0x57b793=_0x338d73;this[_0x57b793(0xcb)]=_0x4fe4ad,this[_0x57b793(0xcb)]&&(this[_0x57b793(0xcb)][_0x57b793(0xd7)]['LYObject']=this);}get[_0x338d73(0xe2)](){const _0x479ecd=_0x338d73;if(!this['_geometryPtr'])throw new Error(_0x479ecd(0xf5));return this['_geometryPtr'][_0x479ecd(0xd5)]();}set[_0x338d73(0xe2)](_0x122f86){const _0x43974d=_0x338d73;let _0x27d201=this[_0x43974d(0xe6)]['assetManager'][_0x43974d(0xcc)](_0x122f86);this['geometryPtr']=_0x27d201;}get[_0x338d73(0xfc)](){const _0x1aff44=_0x338d73;if(!this[_0x1aff44(0xfb)])throw new Error(_0x1aff44(0xf5));return this[_0x1aff44(0xfb)];}set[_0x338d73(0xfc)](_0x32545c){const _0x2db67f=_0x338d73;this['_geometryPtr']&&(this['_geometryPtr'][_0x2db67f(0xc8)](),this[_0x2db67f(0xfb)]=null);this[_0x2db67f(0xfb)]=_0x32545c;let _0x1a399b=_0x32545c[_0x2db67f(0xd5)]();this[_0x2db67f(0xc5)]&&_0x1a399b&&(this['threeObject'][_0x2db67f(0xe2)]=_0x1a399b);}get[_0x338d73(0xdd)](){const _0x2a321a=_0x338d73;if(!this[_0x2a321a(0xf0)])throw new Error('materialPtr\x20is\x20null');let _0xc448bf=this['_materialPtr'][_0x2a321a(0xd5)]();if(!_0xc448bf)throw new Error(_0x2a321a(0xe4));return _0xc448bf;}get[_0x338d73(0xdf)](){const _0x1089b2=_0x338d73;if(!this[_0x1089b2(0xf0)])throw new Error(_0x1089b2(0xf7));return this['_materialPtr'];}set[_0x338d73(0xdd)](_0x3b988b){const _0x23f58f=_0x338d73;let _0x1cad2c=this['app']['assetManager'][_0x23f58f(0xd1)](_0x3b988b);this['materialPtr']=_0x1cad2c;}set[_0x338d73(0xdf)](_0x545715){const _0x157281=_0x338d73;this['_materialPtr']&&(this[_0x157281(0xf0)][_0x157281(0xc8)](),this['_materialPtr']=null);this['_materialPtr']=_0x545715;let _0x24d75e=_0x545715[_0x157281(0xd5)]();_0x545715[_0x157281(0xdc)](),this[_0x157281(0xc5)]&&_0x24d75e&&(this[_0x157281(0xc5)][_0x157281(0xdd)]=_0x24d75e);}constructor(_0x8cdc3,_0x1c46c3,_0x4f51bf,_0x58e83c){const _0x518cb1=_0x338d73;super(_0x8cdc3,_0x58e83c),this[_0x518cb1(0xeb)]=_0x1c46c3;let _0x41cc95=_0x8cdc3[_0x518cb1(0xe0)][_0x518cb1(0xd1)](_0x4f51bf);this['_materialPtr']=_0x41cc95,_0x41cc95[_0x518cb1(0xdc)]();const _0x4afb7e=this[_0x518cb1(0xc4)](_0x1c46c3);this['_geometryPtr']=_0x8cdc3[_0x518cb1(0xe0)][_0x518cb1(0xcc)](_0x4afb7e),this['threeObject'][_0x518cb1(0xdd)]=_0x4f51bf,this[_0x518cb1(0xc5)]['geometry']=_0x4afb7e,this[_0x518cb1(0xd8)]=_0x518cb1(0xed),this[_0x518cb1(0xe3)]=!![],this['receiveShadow']=!![];}[_0x338d73(0xfe)](_0x9f4e84){const _0x517eba=_0x338d73,_0x417ce3=new Float32Array(_0x9f4e84['length']*0x2);if(_0x9f4e84['length']===0x0)return _0x417ce3;let _0x2e964b=Infinity,_0x32202b=-Infinity,_0x173165=Infinity,_0x5618b8=-Infinity,_0x138072=Infinity,_0x50879f=-Infinity;for(const _0x507e11 of _0x9f4e84){_0x2e964b=Math['min'](_0x2e964b,_0x507e11['x']),_0x32202b=Math[_0x517eba(0xf2)](_0x32202b,_0x507e11['x']),_0x173165=Math[_0x517eba(0xd0)](_0x173165,_0x507e11['y']),_0x5618b8=Math[_0x517eba(0xf2)](_0x5618b8,_0x507e11['y']),_0x138072=Math['min'](_0x138072,_0x507e11['z']),_0x50879f=Math[_0x517eba(0xf2)](_0x50879f,_0x507e11['z']);}const _0x512fc2=_0x32202b-_0x2e964b,_0x32c8e9=_0x5618b8-_0x173165,_0x563d9f=_0x50879f-_0x138072;let _0x1616f3,_0x38b5a0,_0x4cd41c,_0x235b5e,_0x318a07,_0x32cdd7;if(_0x512fc2<=_0x32c8e9&&_0x512fc2<=_0x563d9f)_0x1616f3='y',_0x38b5a0='z',_0x4cd41c=_0x173165,_0x235b5e=_0x32c8e9,_0x318a07=_0x138072,_0x32cdd7=_0x563d9f;else _0x32c8e9<=_0x512fc2&&_0x32c8e9<=_0x563d9f?(_0x1616f3='x',_0x38b5a0='z',_0x4cd41c=_0x2e964b,_0x235b5e=_0x512fc2,_0x318a07=_0x138072,_0x32cdd7=_0x563d9f):(_0x1616f3='x',_0x38b5a0='y',_0x4cd41c=_0x2e964b,_0x235b5e=_0x512fc2,_0x318a07=_0x173165,_0x32cdd7=_0x32c8e9);if(_0x235b5e===0x0)_0x235b5e=0x1;if(_0x32cdd7===0x0)_0x32cdd7=0x1;for(let _0x20f88f=0x0;_0x20f88f<_0x9f4e84['length'];_0x20f88f++){const _0x28f9e5=_0x9f4e84[_0x20f88f],_0x2e2ba3=(_0x28f9e5[_0x1616f3]-_0x4cd41c)/_0x235b5e,_0x4dc5d4=(_0x28f9e5[_0x38b5a0]-_0x318a07)/_0x32cdd7;_0x417ce3[_0x20f88f*0x2]=_0x2e2ba3,_0x417ce3[_0x20f88f*0x2+0x1]=_0x4dc5d4;}return _0x417ce3;}[_0x338d73(0xf6)](_0x309ab5){const _0xd52c9d=_0x338d73;let _0x3a4263=0x0;const _0xf2b915=_0x309ab5[_0xd52c9d(0xdb)]/0x2;for(let _0x933c23=0x0;_0x933c23<_0xf2b915;_0x933c23++){const _0x4a894f=(_0x933c23+0x1)%_0xf2b915,_0x4dac05=_0x309ab5[_0x933c23*0x2],_0x4e0235=_0x309ab5[_0x933c23*0x2+0x1],_0x2e13e5=_0x309ab5[_0x4a894f*0x2],_0x4a56cc=_0x309ab5[_0x4a894f*0x2+0x1];_0x3a4263+=_0x4dac05*_0x4a56cc-_0x2e13e5*_0x4e0235;}return _0x3a4263/0x2;}[_0x338d73(0xc4)](_0x3c5d1e){const _0x5634a3=_0x338d73,_0x1cf0b2=new BufferGeometry();if(!_0x3c5d1e['vertices']||_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)]===0x0)return console[_0x5634a3(0xda)]('CustomMeshComponent:\x20Invalid\x20vertices\x20data'),_0x1cf0b2;const _0x206396=new Float32Array(_0x3c5d1e[_0x5634a3(0xf8)]['length']*0x3);for(let _0x28da85=0x0;_0x28da85<_0x3c5d1e[_0x5634a3(0xf8)]['length'];_0x28da85++){_0x206396[_0x28da85*0x3]=_0x3c5d1e[_0x5634a3(0xf8)][_0x28da85]['x'],_0x206396[_0x28da85*0x3+0x1]=_0x3c5d1e[_0x5634a3(0xf8)][_0x28da85]['y'],_0x206396[_0x28da85*0x3+0x2]=_0x3c5d1e[_0x5634a3(0xf8)][_0x28da85]['z'];}_0x1cf0b2[_0x5634a3(0xe8)](_0x5634a3(0x100),new Float32BufferAttribute(_0x206396,0x3));if(_0x3c5d1e['indices']&&_0x3c5d1e['indices'][_0x5634a3(0xdb)]>0x0)_0x1cf0b2['setIndex'](_0x3c5d1e[_0x5634a3(0xc3)]);else {const _0x2aedda=[];let _0x285de9=Infinity,_0x10fbb2=-Infinity,_0x193198=Infinity,_0x3c8407=-Infinity,_0x5a84b4=Infinity,_0x1ba7a9=-Infinity;for(let _0x5c2d15=0x0;_0x5c2d15<_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)];_0x5c2d15++){const _0x388d6c=_0x3c5d1e[_0x5634a3(0xf8)][_0x5c2d15];_0x193198=Math[_0x5634a3(0xd0)](_0x193198,_0x388d6c['x']),_0x3c8407=Math[_0x5634a3(0xf2)](_0x3c8407,_0x388d6c['x']),_0x285de9=Math[_0x5634a3(0xd0)](_0x285de9,_0x388d6c['y']),_0x10fbb2=Math['max'](_0x10fbb2,_0x388d6c['y']),_0x5a84b4=Math[_0x5634a3(0xd0)](_0x5a84b4,_0x388d6c['z']),_0x1ba7a9=Math[_0x5634a3(0xf2)](_0x1ba7a9,_0x388d6c['z']);}const _0x2ef176=_0x3c8407-_0x193198,_0x1fb79c=_0x10fbb2-_0x285de9,_0x1ed373=_0x1ba7a9-_0x5a84b4;if(_0x1fb79c<=_0x2ef176&&_0x1fb79c<=_0x1ed373){for(let _0x271710=0x0;_0x271710<_0x3c5d1e['vertices'][_0x5634a3(0xdb)];_0x271710++){_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x271710]['x']),_0x2aedda['push'](_0x3c5d1e[_0x5634a3(0xf8)][_0x271710]['z']);}}else {if(_0x2ef176<=_0x1fb79c&&_0x2ef176<=_0x1ed373){for(let _0x4df64f=0x0;_0x4df64f<_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)];_0x4df64f++){_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4df64f]['y']),_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4df64f]['z']);}}else {for(let _0x4f6314=0x0;_0x4f6314<_0x3c5d1e['vertices']['length'];_0x4f6314++){_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4f6314]['x']),_0x2aedda[_0x5634a3(0xe9)](_0x3c5d1e[_0x5634a3(0xf8)][_0x4f6314]['y']);}}}const _0x596125=this[_0x5634a3(0xf6)](_0x2aedda),_0x60c569=_0x596125<0x0;if(_0x60c569){console[_0x5634a3(0xfa)](_0x5634a3(0xec)),_0x2aedda[_0x5634a3(0xe1)]();const _0x555b72=[];for(let _0x4a421e=_0x2aedda['length']-0x2;_0x4a421e>=0x0;_0x4a421e-=0x2){_0x555b72[_0x5634a3(0xe9)](_0x2aedda[_0x4a421e],_0x2aedda[_0x4a421e+0x1]);}_0x2aedda[_0x5634a3(0xdb)]=0x0,_0x2aedda[_0x5634a3(0xe9)](..._0x555b72);}try{const _0x45a15a=_0x571f68(_0x2aedda,undefined,0x2);if(_0x45a15a&&_0x45a15a[_0x5634a3(0xdb)]>0x0){if(_0x60c569)for(let _0x5eaa4c=0x0;_0x5eaa4c<_0x45a15a[_0x5634a3(0xdb)];_0x5eaa4c+=0x3){const _0x59efc0=_0x45a15a[_0x5eaa4c];_0x45a15a[_0x5eaa4c]=_0x45a15a[_0x5eaa4c+0x2],_0x45a15a[_0x5eaa4c+0x2]=_0x59efc0;}_0x1cf0b2[_0x5634a3(0xcf)](_0x45a15a);}else console[_0x5634a3(0xfa)](_0x5634a3(0xc2));}catch(_0x5808f4){console['error']('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0x5808f4);}}if(_0x3c5d1e['normals']&&_0x3c5d1e[_0x5634a3(0xd3)]['length']===_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)]){const _0x41dc1e=new Float32Array(_0x3c5d1e[_0x5634a3(0xd3)]['length']*0x3);for(let _0x2dac5e=0x0;_0x2dac5e<_0x3c5d1e[_0x5634a3(0xd3)]['length'];_0x2dac5e++){_0x41dc1e[_0x2dac5e*0x3]=_0x3c5d1e['normals'][_0x2dac5e]['x'],_0x41dc1e[_0x2dac5e*0x3+0x1]=_0x3c5d1e['normals'][_0x2dac5e]['y'],_0x41dc1e[_0x2dac5e*0x3+0x2]=_0x3c5d1e['normals'][_0x2dac5e]['z'];}_0x1cf0b2[_0x5634a3(0xe8)](_0x5634a3(0xee),new Float32BufferAttribute(_0x41dc1e,0x3));}else _0x1cf0b2[_0x5634a3(0xce)]();if(_0x3c5d1e[_0x5634a3(0xd2)]&&_0x3c5d1e[_0x5634a3(0xd2)][_0x5634a3(0xdb)]>0x0){const _0x8bd727=new Float32Array(_0x3c5d1e[_0x5634a3(0xd2)][_0x5634a3(0xdb)]*0x2);for(let _0x490f9c=0x0;_0x490f9c<_0x3c5d1e[_0x5634a3(0xd2)][_0x5634a3(0xdb)];_0x490f9c++){_0x8bd727[_0x490f9c*0x2]=_0x3c5d1e[_0x5634a3(0xd2)][_0x490f9c]['x'],_0x8bd727[_0x490f9c*0x2+0x1]=_0x3c5d1e[_0x5634a3(0xd2)][_0x490f9c]['y'];}_0x1cf0b2[_0x5634a3(0xe8)]('uv',new Float32BufferAttribute(_0x8bd727,0x2));}else {const _0x4daea6=this[_0x5634a3(0xfe)](_0x3c5d1e[_0x5634a3(0xf8)]);_0x1cf0b2[_0x5634a3(0xe8)]('uv',new Float32BufferAttribute(_0x4daea6,0x2));}if(_0x3c5d1e[_0x5634a3(0xca)]&&_0x3c5d1e[_0x5634a3(0xca)][_0x5634a3(0xdb)]===_0x3c5d1e[_0x5634a3(0xf8)][_0x5634a3(0xdb)]){const _0x30f908=new Float32Array(_0x3c5d1e[_0x5634a3(0xca)][_0x5634a3(0xdb)]*0x3);for(let _0x86fda8=0x0;_0x86fda8<_0x3c5d1e['colors']['length'];_0x86fda8++){_0x30f908[_0x86fda8*0x3]=_0x3c5d1e[_0x5634a3(0xca)][_0x86fda8]['r'],_0x30f908[_0x86fda8*0x3+0x1]=_0x3c5d1e[_0x5634a3(0xca)][_0x86fda8]['g'],_0x30f908[_0x86fda8*0x3+0x2]=_0x3c5d1e[_0x5634a3(0xca)][_0x86fda8]['b'];}_0x1cf0b2[_0x5634a3(0xe8)]('color',new Float32BufferAttribute(_0x30f908,0x3));}return _0x1cf0b2;}set[_0x338d73(0xd9)](_0x507041){const _0x6de0b9=_0x338d73;var _0xae15aa,_0x33a7d7,_0x28157f;this[_0x6de0b9(0xfb)]&&this[_0x6de0b9(0xfb)][_0x6de0b9(0xc8)]();const _0x57b3eb=this[_0x6de0b9(0xc4)](_0x507041);this[_0x6de0b9(0xfb)]=this['app'][_0x6de0b9(0xe0)][_0x6de0b9(0xcc)](_0x57b3eb),this['threeObject'][_0x6de0b9(0xe2)]=_0x57b3eb,this[_0x6de0b9(0xeb)]={'vertices':_0x507041[_0x6de0b9(0xf8)][_0x6de0b9(0xef)](_0x3687fc=>_0x3687fc['clone']()),'indices':_0x507041['indices']?[..._0x507041['indices']]:undefined,'normals':(_0xae15aa=_0x507041[_0x6de0b9(0xd3)])===null||_0xae15aa===void 0?void 0:_0xae15aa['map'](_0x53db5d=>_0x53db5d[_0x6de0b9(0xd4)]()),'uvs':(_0x33a7d7=_0x507041[_0x6de0b9(0xd2)])===null||_0x33a7d7===void 0?void 0:_0x33a7d7[_0x6de0b9(0xef)](_0x120ed8=>_0x120ed8[_0x6de0b9(0xd4)]()),'colors':(_0x28157f=_0x507041['colors'])===null||_0x28157f===void 0?void 0:_0x28157f[_0x6de0b9(0xef)](_0x445408=>_0x445408[_0x6de0b9(0xd4)]())},this['world']&&this['world'][_0x6de0b9(0xfd)]['markRenderStateDirty']();}get['meshData'](){const _0x5ad0e7=_0x338d73;return this[_0x5ad0e7(0xeb)];}['createDefaultObject'](){return new Mesh();}set[_0x338d73(0xe3)](_0x115047){const _0x4712ec=_0x338d73;if(this[_0x4712ec(0xc5)])this[_0x4712ec(0xc5)][_0x4712ec(0xe3)]=_0x115047;}get[_0x338d73(0xe3)](){const _0x43c464=_0x338d73;return this[_0x43c464(0xc5)]?this['threeObject'][_0x43c464(0xe3)]:![];}set[_0x338d73(0xf3)](_0x16881c){const _0x4b7c85=_0x338d73;if(!this['threeObject'])return;this[_0x4b7c85(0xc5)]['receiveShadow']=_0x16881c;}get[_0x338d73(0xf3)](){const _0x1bbb30=_0x338d73;return this[_0x1bbb30(0xc5)]?this[_0x1bbb30(0xc5)][_0x1bbb30(0xf3)]:![];}['getBoundsCenterPosition'](){const _0x339fba=_0x338d73;let _0x1d107d=new Vector3();return this[_0x339fba(0xc0)]()[_0x339fba(0xe5)](_0x1d107d),_0x1d107d;}[_0x338d73(0xcd)](){const _0x488464=_0x338d73;let _0x4c668b=new Vector3(),_0x4936df=this['getBounds']();return _0x4936df[_0x488464(0xe5)](_0x4c668b),_0x4c668b['y']=_0x4936df[_0x488464(0xf2)]['y'],_0x4c668b;}[_0x338d73(0xff)](){const _0x13d8e6=_0x338d73;let _0x1382ab=new Vector3(),_0x247a80=this[_0x13d8e6(0xc0)]();return _0x247a80[_0x13d8e6(0xe5)](_0x1382ab),_0x1382ab['y']=_0x247a80[_0x13d8e6(0xd0)]['y'],_0x1382ab;}[_0x338d73(0xc1)](){const _0x6305b8=_0x338d73;var _0x44fbdf,_0x377739;this[_0x6305b8(0xc5)]&&this[_0x6305b8(0xc5)]['removeFromParent'](),(_0x44fbdf=this[_0x6305b8(0xfb)])===null||_0x44fbdf===void 0?void 0:_0x44fbdf[_0x6305b8(0xc8)](),(_0x377739=this[_0x6305b8(0xf0)])===null||_0x377739===void 0?void 0:_0x377739[_0x6305b8(0xc8)](),super[_0x6305b8(0xc1)]();}}
|
|
130
|
+
const _0x3a1a43=_0x37da;(function(_0xa2675f,_0x4898ee){const _0x1f6045=_0x37da,_0x21f98c=_0xa2675f();while(!![]){try{const _0x509595=parseInt(_0x1f6045(0x188))/0x1*(-parseInt(_0x1f6045(0x18b))/0x2)+parseInt(_0x1f6045(0x19a))/0x3*(-parseInt(_0x1f6045(0x183))/0x4)+parseInt(_0x1f6045(0x1b8))/0x5+parseInt(_0x1f6045(0x192))/0x6+-parseInt(_0x1f6045(0x1a0))/0x7+-parseInt(_0x1f6045(0x194))/0x8*(parseInt(_0x1f6045(0x1a4))/0x9)+-parseInt(_0x1f6045(0x1aa))/0xa*(-parseInt(_0x1f6045(0x184))/0xb);if(_0x509595===_0x4898ee)break;else _0x21f98c['push'](_0x21f98c['shift']());}catch(_0x2913ee){_0x21f98c['push'](_0x21f98c['shift']());}}}(_0x4b41,0x60a8b));function _0x4b41(){const _0x2fe686=['getBoundsBottomCenterPosition','2976696uAQyHR','materialPtr','24JkbAxS','obj','constructGeometry','getCenter','material','setAttribute','2016YSESwL','world','geometryPtr','reverse','geometry','min','305725BMnvyt','push','receiveShadow','getValue','131247xlXQwM','_meshData','materialPtr\x20is\x20null','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','calculatePolygonArea','warn','1540610gCCOQa','error','setIndex','threeObject','colors','name','assetManager','length','geometryPtr\x20is\x20null','CustomMeshComponent','release','normals','material\x20is\x20null','meshData','1059280ECuRaf','position','removeFromParent','viewport','map','castShadow','vertices','_geometryPtr','clone','addGeometryAsset','app','indices','getBounds','userData','24roIYmD','11GLMIEk','LYObject','uvs','color','2257AKLBPi','_materialPtr','normal','332AFyCcr','addMaterialAsset','addRef','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','max','computeUVs'];_0x4b41=function(){return _0x2fe686;};return _0x4b41();}function _0x37da(_0xcc1bea,_0x12a9da){_0xcc1bea=_0xcc1bea-0x178;const _0x4b41a0=_0x4b41();let _0x37daab=_0x4b41a0[_0xcc1bea];return _0x37daab;}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x130aa5=_0x37da;if(!this[_0x130aa5(0x195)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this['obj'];}set[_0x3a1a43(0x1ad)](_0x561d3e){const _0x327652=_0x3a1a43;this[_0x327652(0x195)]=_0x561d3e,this[_0x327652(0x195)]&&(this['obj'][_0x327652(0x182)][_0x327652(0x185)]=this);}get[_0x3a1a43(0x19e)](){const _0xb28f50=_0x3a1a43;if(!this[_0xb28f50(0x17c)])throw new Error(_0xb28f50(0x1b2));return this[_0xb28f50(0x17c)][_0xb28f50(0x1a3)]();}set[_0x3a1a43(0x19e)](_0x5af59e){const _0x61c54=_0x3a1a43;let _0x2d2052=this['app'][_0x61c54(0x1b0)][_0x61c54(0x17e)](_0x5af59e);this[_0x61c54(0x19c)]=_0x2d2052;}get[_0x3a1a43(0x19c)](){const _0x3134aa=_0x3a1a43;if(!this['_geometryPtr'])throw new Error(_0x3134aa(0x1b2));return this[_0x3134aa(0x17c)];}set['geometryPtr'](_0x1c0bf6){const _0xb46319=_0x3a1a43;this[_0xb46319(0x17c)]&&(this[_0xb46319(0x17c)][_0xb46319(0x1b4)](),this[_0xb46319(0x17c)]=null);this[_0xb46319(0x17c)]=_0x1c0bf6;let _0x52db97=_0x1c0bf6[_0xb46319(0x1a3)]();this[_0xb46319(0x1ad)]&&_0x52db97&&(this['threeObject'][_0xb46319(0x19e)]=_0x52db97);}get[_0x3a1a43(0x198)](){const _0x422844=_0x3a1a43;if(!this[_0x422844(0x189)])throw new Error(_0x422844(0x1a6));let _0x150328=this[_0x422844(0x189)]['getValue']();if(!_0x150328)throw new Error(_0x422844(0x1b6));return _0x150328;}get['materialPtr'](){const _0x4d118d=_0x3a1a43;if(!this[_0x4d118d(0x189)])throw new Error(_0x4d118d(0x1a6));return this[_0x4d118d(0x189)];}set['material'](_0x4384e3){const _0x43597c=_0x3a1a43;let _0x2c1300=this['app'][_0x43597c(0x1b0)]['addMaterialAsset'](_0x4384e3);this[_0x43597c(0x193)]=_0x2c1300;}set[_0x3a1a43(0x193)](_0xdfdd8d){const _0x2b8182=_0x3a1a43;this[_0x2b8182(0x189)]&&(this[_0x2b8182(0x189)][_0x2b8182(0x1b4)](),this[_0x2b8182(0x189)]=null);this['_materialPtr']=_0xdfdd8d;let _0x1d343a=_0xdfdd8d[_0x2b8182(0x1a3)]();_0xdfdd8d['addRef'](),this[_0x2b8182(0x1ad)]&&_0x1d343a&&(this[_0x2b8182(0x1ad)][_0x2b8182(0x198)]=_0x1d343a);}constructor(_0x450a02,_0x567430,_0xcab7c9,_0x27295c){const _0x556579=_0x3a1a43;super(_0x450a02,_0x27295c),this[_0x556579(0x1a5)]=_0x567430;let _0x695da6=_0x450a02[_0x556579(0x1b0)][_0x556579(0x18c)](_0xcab7c9);this['_materialPtr']=_0x695da6,_0x695da6[_0x556579(0x18d)]();const _0x247960=this[_0x556579(0x196)](_0x567430);this['_geometryPtr']=_0x450a02[_0x556579(0x1b0)][_0x556579(0x17e)](_0x247960),this[_0x556579(0x1ad)][_0x556579(0x198)]=_0xcab7c9,this['threeObject']['geometry']=_0x247960,this[_0x556579(0x1af)]=_0x556579(0x1b3),this[_0x556579(0x17a)]=!![],this[_0x556579(0x1a2)]=!![];}[_0x3a1a43(0x190)](_0x46757c){const _0x3d0ba7=_0x3a1a43,_0x50556a=new Float32Array(_0x46757c[_0x3d0ba7(0x1b1)]*0x2);if(_0x46757c['length']===0x0)return _0x50556a;let _0x3c7bf3=Infinity,_0x231196=-Infinity,_0xcd8044=Infinity,_0x144d3a=-Infinity,_0x1ba253=Infinity,_0x4abba9=-Infinity;for(const _0x30e8ad of _0x46757c){_0x3c7bf3=Math[_0x3d0ba7(0x19f)](_0x3c7bf3,_0x30e8ad['x']),_0x231196=Math[_0x3d0ba7(0x18f)](_0x231196,_0x30e8ad['x']),_0xcd8044=Math[_0x3d0ba7(0x19f)](_0xcd8044,_0x30e8ad['y']),_0x144d3a=Math['max'](_0x144d3a,_0x30e8ad['y']),_0x1ba253=Math[_0x3d0ba7(0x19f)](_0x1ba253,_0x30e8ad['z']),_0x4abba9=Math[_0x3d0ba7(0x18f)](_0x4abba9,_0x30e8ad['z']);}const _0x5f0b27=_0x231196-_0x3c7bf3,_0x591818=_0x144d3a-_0xcd8044,_0x1b4f90=_0x4abba9-_0x1ba253;let _0x4375ee,_0x1d33e4,_0x4c96df,_0x564dac,_0x187506,_0x59120b;if(_0x5f0b27<=_0x591818&&_0x5f0b27<=_0x1b4f90)_0x4375ee='y',_0x1d33e4='z',_0x4c96df=_0xcd8044,_0x564dac=_0x591818,_0x187506=_0x1ba253,_0x59120b=_0x1b4f90;else _0x591818<=_0x5f0b27&&_0x591818<=_0x1b4f90?(_0x4375ee='x',_0x1d33e4='z',_0x4c96df=_0x3c7bf3,_0x564dac=_0x5f0b27,_0x187506=_0x1ba253,_0x59120b=_0x1b4f90):(_0x4375ee='x',_0x1d33e4='y',_0x4c96df=_0x3c7bf3,_0x564dac=_0x5f0b27,_0x187506=_0xcd8044,_0x59120b=_0x591818);if(_0x564dac===0x0)_0x564dac=0x1;if(_0x59120b===0x0)_0x59120b=0x1;for(let _0x7ff1fc=0x0;_0x7ff1fc<_0x46757c[_0x3d0ba7(0x1b1)];_0x7ff1fc++){const _0x524180=_0x46757c[_0x7ff1fc],_0x257111=(_0x524180[_0x4375ee]-_0x4c96df)/_0x564dac,_0x3f5376=(_0x524180[_0x1d33e4]-_0x187506)/_0x59120b;_0x50556a[_0x7ff1fc*0x2]=_0x257111,_0x50556a[_0x7ff1fc*0x2+0x1]=_0x3f5376;}return _0x50556a;}['calculatePolygonArea'](_0x3ace2e){const _0x210a90=_0x3a1a43;let _0x2b7b98=0x0;const _0x324188=_0x3ace2e[_0x210a90(0x1b1)]/0x2;for(let _0x435a61=0x0;_0x435a61<_0x324188;_0x435a61++){const _0x394669=(_0x435a61+0x1)%_0x324188,_0x16d512=_0x3ace2e[_0x435a61*0x2],_0x3d77e8=_0x3ace2e[_0x435a61*0x2+0x1],_0x2a2d63=_0x3ace2e[_0x394669*0x2],_0x1a3c04=_0x3ace2e[_0x394669*0x2+0x1];_0x2b7b98+=_0x16d512*_0x1a3c04-_0x2a2d63*_0x3d77e8;}return _0x2b7b98/0x2;}[_0x3a1a43(0x196)](_0xcf4718){const _0x2809f8=_0x3a1a43,_0x2a39b1=new BufferGeometry();if(!_0xcf4718[_0x2809f8(0x17b)]||_0xcf4718['vertices'][_0x2809f8(0x1b1)]===0x0)return console[_0x2809f8(0x1ab)]('CustomMeshComponent:\x20Invalid\x20vertices\x20data'),_0x2a39b1;const _0x410475=new Float32Array(_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)]*0x3);for(let _0x3572ac=0x0;_0x3572ac<_0xcf4718['vertices'][_0x2809f8(0x1b1)];_0x3572ac++){_0x410475[_0x3572ac*0x3]=_0xcf4718[_0x2809f8(0x17b)][_0x3572ac]['x'],_0x410475[_0x3572ac*0x3+0x1]=_0xcf4718[_0x2809f8(0x17b)][_0x3572ac]['y'],_0x410475[_0x3572ac*0x3+0x2]=_0xcf4718[_0x2809f8(0x17b)][_0x3572ac]['z'];}_0x2a39b1['setAttribute'](_0x2809f8(0x1b9),new Float32BufferAttribute(_0x410475,0x3));if(_0xcf4718['indices']&&_0xcf4718[_0x2809f8(0x180)]['length']>0x0)_0x2a39b1[_0x2809f8(0x1ac)](_0xcf4718[_0x2809f8(0x180)]);else {const _0x3565f5=[];let _0x4bfa8c=Infinity,_0x3828ef=-Infinity,_0x51713f=Infinity,_0x3e5dc4=-Infinity,_0x40e162=Infinity,_0x4c5b40=-Infinity;for(let _0x3e91ce=0x0;_0x3e91ce<_0xcf4718[_0x2809f8(0x17b)]['length'];_0x3e91ce++){const _0x276b10=_0xcf4718[_0x2809f8(0x17b)][_0x3e91ce];_0x51713f=Math[_0x2809f8(0x19f)](_0x51713f,_0x276b10['x']),_0x3e5dc4=Math['max'](_0x3e5dc4,_0x276b10['x']),_0x4bfa8c=Math[_0x2809f8(0x19f)](_0x4bfa8c,_0x276b10['y']),_0x3828ef=Math[_0x2809f8(0x18f)](_0x3828ef,_0x276b10['y']),_0x40e162=Math[_0x2809f8(0x19f)](_0x40e162,_0x276b10['z']),_0x4c5b40=Math[_0x2809f8(0x18f)](_0x4c5b40,_0x276b10['z']);}const _0x1ea4e3=_0x3e5dc4-_0x51713f,_0x12d5e5=_0x3828ef-_0x4bfa8c,_0x36691b=_0x4c5b40-_0x40e162;if(_0x12d5e5<=_0x1ea4e3&&_0x12d5e5<=_0x36691b){for(let _0x2b75fd=0x0;_0x2b75fd<_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)];_0x2b75fd++){_0x3565f5['push'](_0xcf4718[_0x2809f8(0x17b)][_0x2b75fd]['x']),_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718['vertices'][_0x2b75fd]['z']);}}else {if(_0x1ea4e3<=_0x12d5e5&&_0x1ea4e3<=_0x36691b){for(let _0x19ee16=0x0;_0x19ee16<_0xcf4718['vertices']['length'];_0x19ee16++){_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x19ee16]['y']),_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x19ee16]['z']);}}else {for(let _0x122368=0x0;_0x122368<_0xcf4718['vertices']['length'];_0x122368++){_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x122368]['x']),_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x122368]['y']);}}}const _0x1cf22d=this[_0x2809f8(0x1a8)](_0x3565f5),_0xa4cae=_0x1cf22d<0x0;if(_0xa4cae){console[_0x2809f8(0x1a9)](_0x2809f8(0x18e)),_0x3565f5[_0x2809f8(0x19d)]();const _0x2fa129=[];for(let _0x2f1433=_0x3565f5[_0x2809f8(0x1b1)]-0x2;_0x2f1433>=0x0;_0x2f1433-=0x2){_0x2fa129[_0x2809f8(0x1a1)](_0x3565f5[_0x2f1433],_0x3565f5[_0x2f1433+0x1]);}_0x3565f5[_0x2809f8(0x1b1)]=0x0,_0x3565f5[_0x2809f8(0x1a1)](..._0x2fa129);}try{const _0x5950fc=_0x594b1e(_0x3565f5,undefined,0x2);if(_0x5950fc&&_0x5950fc[_0x2809f8(0x1b1)]>0x0){if(_0xa4cae)for(let _0x3efa7a=0x0;_0x3efa7a<_0x5950fc['length'];_0x3efa7a+=0x3){const _0x56915a=_0x5950fc[_0x3efa7a];_0x5950fc[_0x3efa7a]=_0x5950fc[_0x3efa7a+0x2],_0x5950fc[_0x3efa7a+0x2]=_0x56915a;}_0x2a39b1[_0x2809f8(0x1ac)](_0x5950fc);}else console[_0x2809f8(0x1a9)](_0x2809f8(0x1a7));}catch(_0xb8d1ef){console[_0x2809f8(0x1ab)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0xb8d1ef);}}if(_0xcf4718[_0x2809f8(0x1b5)]&&_0xcf4718['normals'][_0x2809f8(0x1b1)]===_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)]){const _0x55f370=new Float32Array(_0xcf4718[_0x2809f8(0x1b5)][_0x2809f8(0x1b1)]*0x3);for(let _0x3dd2b0=0x0;_0x3dd2b0<_0xcf4718[_0x2809f8(0x1b5)][_0x2809f8(0x1b1)];_0x3dd2b0++){_0x55f370[_0x3dd2b0*0x3]=_0xcf4718[_0x2809f8(0x1b5)][_0x3dd2b0]['x'],_0x55f370[_0x3dd2b0*0x3+0x1]=_0xcf4718[_0x2809f8(0x1b5)][_0x3dd2b0]['y'],_0x55f370[_0x3dd2b0*0x3+0x2]=_0xcf4718[_0x2809f8(0x1b5)][_0x3dd2b0]['z'];}_0x2a39b1['setAttribute'](_0x2809f8(0x18a),new Float32BufferAttribute(_0x55f370,0x3));}else _0x2a39b1['computeVertexNormals']();if(_0xcf4718[_0x2809f8(0x186)]&&_0xcf4718[_0x2809f8(0x186)][_0x2809f8(0x1b1)]>0x0){const _0x5e2627=new Float32Array(_0xcf4718[_0x2809f8(0x186)][_0x2809f8(0x1b1)]*0x2);for(let _0x32c6d8=0x0;_0x32c6d8<_0xcf4718['uvs'][_0x2809f8(0x1b1)];_0x32c6d8++){_0x5e2627[_0x32c6d8*0x2]=_0xcf4718['uvs'][_0x32c6d8]['x'],_0x5e2627[_0x32c6d8*0x2+0x1]=_0xcf4718[_0x2809f8(0x186)][_0x32c6d8]['y'];}_0x2a39b1[_0x2809f8(0x199)]('uv',new Float32BufferAttribute(_0x5e2627,0x2));}else {const _0x3d291a=this['computeUVs'](_0xcf4718[_0x2809f8(0x17b)]);_0x2a39b1[_0x2809f8(0x199)]('uv',new Float32BufferAttribute(_0x3d291a,0x2));}if(_0xcf4718[_0x2809f8(0x1ae)]&&_0xcf4718[_0x2809f8(0x1ae)][_0x2809f8(0x1b1)]===_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)]){const _0x840ed1=new Float32Array(_0xcf4718[_0x2809f8(0x1ae)][_0x2809f8(0x1b1)]*0x3);for(let _0x4d4e4a=0x0;_0x4d4e4a<_0xcf4718[_0x2809f8(0x1ae)][_0x2809f8(0x1b1)];_0x4d4e4a++){_0x840ed1[_0x4d4e4a*0x3]=_0xcf4718['colors'][_0x4d4e4a]['r'],_0x840ed1[_0x4d4e4a*0x3+0x1]=_0xcf4718['colors'][_0x4d4e4a]['g'],_0x840ed1[_0x4d4e4a*0x3+0x2]=_0xcf4718[_0x2809f8(0x1ae)][_0x4d4e4a]['b'];}_0x2a39b1['setAttribute'](_0x2809f8(0x187),new Float32BufferAttribute(_0x840ed1,0x3));}return _0x2a39b1;}set[_0x3a1a43(0x1b7)](_0x118a61){const _0x22828c=_0x3a1a43;var _0x5ac038,_0x1a3be6,_0x32e823;this['_geometryPtr']&&this['_geometryPtr'][_0x22828c(0x1b4)]();const _0x4e7e9b=this[_0x22828c(0x196)](_0x118a61);this[_0x22828c(0x17c)]=this[_0x22828c(0x17f)][_0x22828c(0x1b0)][_0x22828c(0x17e)](_0x4e7e9b),this[_0x22828c(0x1ad)][_0x22828c(0x19e)]=_0x4e7e9b,this[_0x22828c(0x1a5)]={'vertices':_0x118a61[_0x22828c(0x17b)]['map'](_0x31ea0d=>_0x31ea0d['clone']()),'indices':_0x118a61[_0x22828c(0x180)]?[..._0x118a61[_0x22828c(0x180)]]:undefined,'normals':(_0x5ac038=_0x118a61[_0x22828c(0x1b5)])===null||_0x5ac038===void 0?void 0:_0x5ac038[_0x22828c(0x179)](_0x158e60=>_0x158e60['clone']()),'uvs':(_0x1a3be6=_0x118a61['uvs'])===null||_0x1a3be6===void 0?void 0:_0x1a3be6[_0x22828c(0x179)](_0x3ba100=>_0x3ba100[_0x22828c(0x17d)]()),'colors':(_0x32e823=_0x118a61[_0x22828c(0x1ae)])===null||_0x32e823===void 0?void 0:_0x32e823[_0x22828c(0x179)](_0x49baf7=>_0x49baf7[_0x22828c(0x17d)]())},this[_0x22828c(0x19b)]&&this['world'][_0x22828c(0x178)]['markRenderStateDirty']();}get[_0x3a1a43(0x1b7)](){const _0x111f83=_0x3a1a43;return this[_0x111f83(0x1a5)];}['createDefaultObject'](){return new Mesh();}set[_0x3a1a43(0x17a)](_0x74f733){const _0x10bfd1=_0x3a1a43;if(this[_0x10bfd1(0x1ad)])this[_0x10bfd1(0x1ad)]['castShadow']=_0x74f733;}get['castShadow'](){const _0x567d97=_0x3a1a43;return this['threeObject']?this['threeObject'][_0x567d97(0x17a)]:![];}set[_0x3a1a43(0x1a2)](_0x4847f8){const _0x335dbc=_0x3a1a43;if(!this[_0x335dbc(0x1ad)])return;this[_0x335dbc(0x1ad)][_0x335dbc(0x1a2)]=_0x4847f8;}get[_0x3a1a43(0x1a2)](){const _0x578a41=_0x3a1a43;return this[_0x578a41(0x1ad)]?this[_0x578a41(0x1ad)][_0x578a41(0x1a2)]:![];}['getBoundsCenterPosition'](){const _0x25d92b=_0x3a1a43;let _0x3a2570=new Vector3();return this[_0x25d92b(0x181)]()[_0x25d92b(0x197)](_0x3a2570),_0x3a2570;}['getBoundsTopCenterPosition'](){const _0x1d7b8b=_0x3a1a43;let _0x19c795=new Vector3(),_0x2e3798=this[_0x1d7b8b(0x181)]();return _0x2e3798['getCenter'](_0x19c795),_0x19c795['y']=_0x2e3798[_0x1d7b8b(0x18f)]['y'],_0x19c795;}[_0x3a1a43(0x191)](){const _0x31a3c5=_0x3a1a43;let _0x5ca9f3=new Vector3(),_0x33ebde=this['getBounds']();return _0x33ebde['getCenter'](_0x5ca9f3),_0x5ca9f3['y']=_0x33ebde[_0x31a3c5(0x19f)]['y'],_0x5ca9f3;}['destroyObject'](){const _0x5c548e=_0x3a1a43;var _0xf9ac7c,_0x125483;this[_0x5c548e(0x1ad)]&&this['threeObject'][_0x5c548e(0x1ba)](),(_0xf9ac7c=this[_0x5c548e(0x17c)])===null||_0xf9ac7c===void 0?void 0:_0xf9ac7c['release'](),(_0x125483=this[_0x5c548e(0x189)])===null||_0x125483===void 0?void 0:_0x125483['release'](),super['destroyObject']();}}
|
|
131
131
|
|
|
132
|
-
(function(
|
|
132
|
+
(function(_0x51f0a8,_0x335019){var _0x50959c=_0x44c3,_0x29d500=_0x51f0a8();while(!![]){try{var _0x387eeb=parseInt(_0x50959c(0x196))/0x1*(-parseInt(_0x50959c(0x19d))/0x2)+-parseInt(_0x50959c(0x198))/0x3*(-parseInt(_0x50959c(0x19a))/0x4)+-parseInt(_0x50959c(0x19b))/0x5+parseInt(_0x50959c(0x19c))/0x6+parseInt(_0x50959c(0x19e))/0x7+parseInt(_0x50959c(0x199))/0x8+-parseInt(_0x50959c(0x197))/0x9;if(_0x387eeb===_0x335019)break;else _0x29d500['push'](_0x29d500['shift']());}catch(_0x5ca17c){_0x29d500['push'](_0x29d500['shift']());}}}(_0x27ba,0x2e459));function _0x44c3(_0x5b7867,_0x348fec){_0x5b7867=_0x5b7867-0x196;var _0x27baf9=_0x27ba();var _0x44c35a=_0x27baf9[_0x5b7867];return _0x44c35a;}class SphereComponent extends MeshComponent{constructor(_0x4e2b9c,_0x5b4445,_0x4da4f0=new MeshBasicMaterial(),_0xe8dbca=0x20,_0x4a9f29=0x10,_0x25a2c4){super(_0x4e2b9c,new SphereGeometry(_0x5b4445,_0xe8dbca,_0x4a9f29),_0x4da4f0,_0x25a2c4);}}function _0x27ba(){var _0x59c7ab=['173418cUGJAd','1413272oyBekr','24iObWjv','1497890MIQXBk','1049064ZRJtQt','2YFOtKE','514675sYOyvB','241597RmlAUZ','370440NIjjqk'];_0x27ba=function(){return _0x59c7ab;};return _0x27ba();}
|
|
133
133
|
|
|
134
|
-
const
|
|
134
|
+
const _0x362333=_0x181c;(function(_0x5ca619,_0x1c9342){const _0xb46889=_0x181c,_0x3be767=_0x5ca619();while(!![]){try{const _0x150d07=-parseInt(_0xb46889(0x1da))/0x1*(-parseInt(_0xb46889(0x1dd))/0x2)+-parseInt(_0xb46889(0x1d5))/0x3+-parseInt(_0xb46889(0x1cf))/0x4+-parseInt(_0xb46889(0x1db))/0x5*(parseInt(_0xb46889(0x1d2))/0x6)+-parseInt(_0xb46889(0x1d1))/0x7+-parseInt(_0xb46889(0x1ca))/0x8*(-parseInt(_0xb46889(0x1e4))/0x9)+-parseInt(_0xb46889(0x1dc))/0xa*(-parseInt(_0xb46889(0x1d3))/0xb);if(_0x150d07===_0x1c9342)break;else _0x3be767['push'](_0x3be767['shift']());}catch(_0x5debbf){_0x3be767['push'](_0x3be767['shift']());}}}(_0x5d3b,0x9ceb1));function _0x181c(_0x1da888,_0x2a8682){_0x1da888=_0x1da888-0x1ca;const _0x5d3b8a=_0x5d3b();let _0x181c87=_0x5d3b8a[_0x1da888];return _0x181c87;}function _0x5d3b(){const _0x1ddd9d=['destroy','1358424mPnPnu','obj','4021528wQpmDO','6274716EfNGwQ','11913814oRptGA','threeObject','1312248noAYaq','enablePointerEvents','isHoverEnabled','innerHTML','auto','7sjRRqK','5pdJoic','20iiQCVZ','23202qRPicb','pointerEvents','userData','copy','addEventListener','setVisible','isClickEnabled','63XgOkaX','element','style','905936tucDmH','parentNode','LYObject','center'];_0x5d3b=function(){return _0x1ddd9d;};return _0x5d3b();}class LabelComponent extends SceneComponent{get[_0x362333(0x1d4)](){const _0x1a3157=_0x362333;return this[_0x1a3157(0x1d0)];}set[_0x362333(0x1d4)](_0x3f010d){const _0x1f20a2=_0x362333;this[_0x1f20a2(0x1d0)]=_0x3f010d,this[_0x1f20a2(0x1d0)]&&(this[_0x1f20a2(0x1d0)][_0x1f20a2(0x1df)][_0x1f20a2(0x1cc)]=this);}constructor(_0x419a38,_0x2c0206,_0x40bb25={},_0x1dd6e9){const _0x4d8544=_0x362333;super(_0x419a38,_0x1dd6e9),this[_0x4d8544(0x1d0)]=new CSS2DObject(_0x2c0206);const _0x412631=_0x40bb25[_0x4d8544(0x1cd)]||new Vector2$1(0.5,0x1);_0x40bb25[_0x4d8544(0x1d6)]&&(_0x2c0206[_0x4d8544(0x1e6)][_0x4d8544(0x1de)]=_0x4d8544(0x1d9),_0x2c0206[_0x4d8544(0x1e1)]('pointerdown',_0x11cbf2=>{_0x11cbf2['stopPropagation']();})),this[_0x4d8544(0x1d0)][_0x4d8544(0x1cd)][_0x4d8544(0x1e0)](_0x412631);}set[_0x362333(0x1d7)](_0x36a58f){return;}set[_0x362333(0x1e3)](_0x3dcb6e){return;}[_0x362333(0x1e2)](_0x3a70fb){const _0x567cd3=_0x362333;super[_0x567cd3(0x1e2)](_0x3a70fb);}[_0x362333(0x1ce)](){const _0x12d7a9=_0x362333;this[_0x12d7a9(0x1d4)][_0x12d7a9(0x1e5)]&&this[_0x12d7a9(0x1d4)][_0x12d7a9(0x1e5)][_0x12d7a9(0x1cb)]&&(this[_0x12d7a9(0x1d4)][_0x12d7a9(0x1e5)][_0x12d7a9(0x1d8)]='',this[_0x12d7a9(0x1d4)][_0x12d7a9(0x1e5)]['remove']()),super['destroy']();}}
|
|
135
135
|
|
|
136
|
-
const _0xc4eecf=_0x46f3;(function(_0x170ad4,_0x59c31d){const _0xd557da=_0x46f3,_0x517f64=_0x170ad4();while(!![]){try{const _0xf06636=-parseInt(_0xd557da(0x102))/0x1+-parseInt(_0xd557da(0xf2))/0x2*(parseInt(_0xd557da(0x143))/0x3)+-parseInt(_0xd557da(0x10d))/0x4+parseInt(_0xd557da(0x105))/0x5*(parseInt(_0xd557da(0xf9))/0x6)+-parseInt(_0xd557da(0xd6))/0x7*(-parseInt(_0xd557da(0x144))/0x8)+parseInt(_0xd557da(0xde))/0x9+parseInt(_0xd557da(0xd3))/0xa;if(_0xf06636===_0x59c31d)break;else _0x517f64['push'](_0x517f64['shift']());}catch(_0x510ebc){_0x517f64['push'](_0x517f64['shift']());}}}(_0x2cf6,0x61140));function _0x46f3(_0x2b5dd6,_0x32e5c2){_0x2b5dd6=_0x2b5dd6-0xcf;const _0x2cf66d=_0x2cf6();let _0x46f3e4=_0x2cf66d[_0x2b5dd6];return _0x46f3e4;}function normalizeAssetUrl(_0x36eb31){const _0x27ae3a=_0x46f3,_0x2812f2=String(_0x36eb31!==null&&_0x36eb31!==void 0?_0x36eb31:'')[_0x27ae3a(0xf1)]();if(!_0x2812f2)return '';if(/^https?:\/\//i[_0x27ae3a(0xd8)](_0x2812f2))return _0x2812f2;if(_0x2812f2['startsWith']('/'))return _0x2812f2;return '/'+_0x2812f2;}function getMeshPlaneLocalSize(_0x5154fd){const _0x72b5dd=_0x46f3,_0x43af5c=_0x5154fd[_0x72b5dd(0x113)];if(!_0x43af5c)return {'width':0x1,'height':0x1};if(!_0x43af5c['boundingBox'])_0x43af5c[_0x72b5dd(0xeb)]();const _0x2778da=_0x43af5c['boundingBox'];if(!_0x2778da)return {'width':0x1,'height':0x1};const _0x1c577c=_0x2778da['getSize'](new Vector3$1()),_0x4bbf99=[Math[_0x72b5dd(0x128)](_0x1c577c['x']),Math[_0x72b5dd(0x128)](_0x1c577c['y']),Math[_0x72b5dd(0x128)](_0x1c577c['z'])][_0x72b5dd(0x123)]((_0x4bd9c2,_0x1d4f9b)=>_0x1d4f9b-_0x4bd9c2),_0x49c901=Math['max'](0.0001,_0x4bbf99[0x0]||0x1),_0x194519=Math[_0x72b5dd(0x132)](0.0001,_0x4bbf99[0x1]||_0x49c901);return {'width':_0x49c901,'height':_0x194519};}function getMeshLocalNormal(_0xc81bcf){const _0x5ac836=_0x46f3,_0x29828f=_0xc81bcf[_0x5ac836(0x113)];if(!_0x29828f)return new Vector3$1(0x0,0x0,0x1);const _0x58c3d4=_0x29828f[_0x5ac836(0x127)](_0x5ac836(0xf4));if(_0x58c3d4&&_0x58c3d4['count']>0x0){const _0x21f01f=new Vector3$1(),_0x2b3635=new Vector3$1();for(let _0x3ea323=0x0;_0x3ea323<_0x58c3d4[_0x5ac836(0xe5)];_0x3ea323++){_0x2b3635[_0x5ac836(0x142)](_0x58c3d4,_0x3ea323),_0x21f01f['add'](_0x2b3635);}if(_0x21f01f[_0x5ac836(0x135)]()>1e-12)return _0x21f01f[_0x5ac836(0x12a)]();}const _0x59b0a7=_0x29828f[_0x5ac836(0x127)](_0x5ac836(0x103));if(!_0x59b0a7||_0x59b0a7[_0x5ac836(0xe5)]<0x3)return new Vector3$1(0x0,0x0,0x1);const _0xfc1d5d=_0x29828f[_0x5ac836(0xdb)](),_0xde1d2a=new Vector3$1(),_0xf4ac0e=new Vector3$1(),_0xb12f88=new Vector3$1(),_0x1dce0c=new Vector3$1(),_0x27b62a=new Vector3$1(),_0x1b39dd=new Vector3$1(),_0x1c9695=new Vector3$1(),_0x3c6ecb=_0xfc1d5d?Math[_0x5ac836(0x13e)](_0xfc1d5d[_0x5ac836(0xe5)]/0x3):Math[_0x5ac836(0x13e)](_0x59b0a7[_0x5ac836(0xe5)]/0x3);for(let _0xda428d=0x0;_0xda428d<_0x3c6ecb;_0xda428d++){const _0x3dcf9e=_0xfc1d5d?_0xfc1d5d[_0x5ac836(0xe8)](_0xda428d*0x3+0x0):_0xda428d*0x3+0x0,_0x328652=_0xfc1d5d?_0xfc1d5d[_0x5ac836(0xe8)](_0xda428d*0x3+0x1):_0xda428d*0x3+0x1,_0x4b47b0=_0xfc1d5d?_0xfc1d5d[_0x5ac836(0xe8)](_0xda428d*0x3+0x2):_0xda428d*0x3+0x2;_0xde1d2a[_0x5ac836(0x142)](_0x59b0a7,_0x3dcf9e),_0xf4ac0e['fromBufferAttribute'](_0x59b0a7,_0x328652),_0xb12f88[_0x5ac836(0x142)](_0x59b0a7,_0x4b47b0),_0x1dce0c[_0x5ac836(0xf8)](_0xf4ac0e,_0xde1d2a),_0x27b62a[_0x5ac836(0xf8)](_0xb12f88,_0xde1d2a),_0x1c9695[_0x5ac836(0x126)](_0x1dce0c,_0x27b62a);if(_0x1c9695[_0x5ac836(0x135)]()<1e-14)continue;_0x1b39dd['add'](_0x1c9695);}if(_0x1b39dd['lengthSq']()<1e-12)return new Vector3$1(0x0,0x0,0x1);return _0x1b39dd[_0x5ac836(0x12a)]();}function collectOcclusionMeshes(_0xd45e17){const _0x3e4fcb=_0x46f3,_0x5b5c8e=[];return _0xd45e17[_0x3e4fcb(0xed)](_0x2aa02d=>{const _0x2584eb=_0x3e4fcb;var _0x27158d;const _0x1f880e=_0x2aa02d;if(!(_0x1f880e===null||_0x1f880e===void 0?void 0:_0x1f880e[_0x2584eb(0x12b)]))return;if(!_0x2aa02d[_0x2584eb(0x124)])return;if((_0x27158d=_0x2aa02d[_0x2584eb(0x145)])===null||_0x27158d===void 0?void 0:_0x27158d[_0x2584eb(0xe4)])return;_0x5b5c8e[_0x2584eb(0xfb)](_0x2aa02d);}),_0x5b5c8e;}class CSS3DWebPanelComponent extends SceneComponent{get[_0xc4eecf(0x100)](){const _0x4cfb38=_0xc4eecf;if(!this['obj'])throw new Error(_0x4cfb38(0xd2));return this[_0x4cfb38(0x13b)];}set[_0xc4eecf(0x100)](_0x40de24){const _0x10f7bd=_0xc4eecf;this[_0x10f7bd(0x13b)]=_0x40de24,this[_0x10f7bd(0x13b)]&&(this[_0x10f7bd(0x13b)][_0x10f7bd(0x145)][_0x10f7bd(0xe2)]=this);}constructor(_0x4ed083,_0x465f83,_0x17938a,_0x91aac7){const _0x567e68=_0xc4eecf;super(_0x4ed083,_0x91aac7),this[_0x567e68(0xea)]=null,this[_0x567e68(0x138)]=null,this[_0x567e68(0x10c)]=null,this[_0x567e68(0xf6)]=[],this['alphaPunchMeshes']=[],this['tickFunc']=null,this[_0x567e68(0x10e)]=new Vector3$1(),this[_0x567e68(0x122)]=new Vector3$1(),this['rayDir']=new Vector3$1(),this['raycaster']=new Raycaster$1(),this[_0x567e68(0x12c)]=[],this[_0x567e68(0x137)]=_0x567e68(0x114),this[_0x567e68(0xff)]=_0x465f83['filter'](_0x3c9525=>!!_0x3c9525);const _0x35c38a=normalizeAssetUrl(_0x17938a);if(!_0x35c38a||!this[_0x567e68(0xff)][_0x567e68(0xf3)])return;this[_0x567e68(0x10c)]=this[_0x567e68(0xff)][0x0];const _0x415545=getMeshPlaneLocalSize(this[_0x567e68(0x10c)]),_0x4c54b4=0x4b0,_0x5859ad=Math[_0x567e68(0x132)](0x200,Math[_0x567e68(0x101)](0x1000,Math[_0x567e68(0x147)](_0x415545[_0x567e68(0x121)]*_0x4c54b4))),_0x1c407a=Math[_0x567e68(0x132)](0x200,Math[_0x567e68(0x101)](0x1000,Math[_0x567e68(0x147)](_0x415545[_0x567e68(0x118)]*_0x4c54b4))),_0x510e72=document[_0x567e68(0x10a)]('div');_0x510e72[_0x567e68(0x112)][_0x567e68(0x121)]=_0x5859ad+'px',_0x510e72['style'][_0x567e68(0x118)]=_0x1c407a+'px',_0x510e72[_0x567e68(0x112)]['pointerEvents']=_0x567e68(0x130),_0x510e72[_0x567e68(0x112)][_0x567e68(0x140)]=_0x567e68(0x109),_0x510e72['style'][_0x567e68(0x148)]=_0x567e68(0xd7),_0x510e72[_0x567e68(0x112)][_0x567e68(0x12d)]=_0x567e68(0x109),this[_0x567e68(0xea)]=_0x510e72;const _0xaa098b=document[_0x567e68(0x10a)]('iframe');_0xaa098b[_0x567e68(0x107)]=_0x35c38a,_0xaa098b[_0x567e68(0x112)]['width']=_0x567e68(0x11b),_0xaa098b['style'][_0x567e68(0x118)]=_0x567e68(0x11b),_0xaa098b[_0x567e68(0x112)][_0x567e68(0x11d)]='0',_0xaa098b[_0x567e68(0x112)][_0x567e68(0x148)]=_0x567e68(0xd7),_0xaa098b[_0x567e68(0x112)][_0x567e68(0x116)]='auto',_0xaa098b[_0x567e68(0x112)][_0x567e68(0x12d)]=_0x567e68(0x109),_0xaa098b[_0x567e68(0xe3)](_0x567e68(0xe1),_0x567e68(0xdc)),_0xaa098b[_0x567e68(0xe3)](_0x567e68(0x110),_0x567e68(0x117)),_0xaa098b[_0x567e68(0xe3)](_0x567e68(0x13c),'lazy'),_0x510e72['appendChild'](_0xaa098b),this[_0x567e68(0x138)]=_0xaa098b;const _0x4932ea=new CSS3DObject(_0x510e72);_0x4932ea[_0x567e68(0x137)]=(this[_0x567e68(0x10c)][_0x567e68(0x137)]||'wallboard')+_0x567e68(0xcf),_0x4932ea[_0x567e68(0x103)][_0x567e68(0x120)](0x0,0x0,0.001),_0x4932ea[_0x567e68(0xf7)][_0x567e68(0xda)](new Vector3$1(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0x4932ea['scale']['set'](_0x415545[_0x567e68(0x121)]/_0x5859ad,_0x415545[_0x567e68(0x118)]/_0x1c407a,0x1),this[_0x567e68(0x100)]=_0x4932ea,this[_0x567e68(0x10c)][_0x567e68(0x13d)](_0x4932ea),this[_0x567e68(0xd9)](),this['occlusionCandidates']=collectOcclusionMeshes(this['app'][_0x567e68(0xd5)]['scene']),this[_0x567e68(0x125)]();}[_0xc4eecf(0xf5)](){const _0x248f7a=_0xc4eecf;return new CSS3DObject(document['createElement'](_0x248f7a(0xf0)));}[_0xc4eecf(0xd9)](){const _0x3acd5c=_0xc4eecf;var _0x5d352d;for(const _0x9027f6 of this[_0x3acd5c(0xff)]){_0x9027f6[_0x3acd5c(0xfd)]=Math[_0x3acd5c(0x101)]((_0x5d352d=_0x9027f6[_0x3acd5c(0xfd)])!==null&&_0x5d352d!==void 0?_0x5d352d:0x0,-1e3),_0x9027f6[_0x3acd5c(0x11c)]=![],_0x9027f6['receiveShadow']=![];const _0x137e4e=Array[_0x3acd5c(0x11e)](_0x9027f6[_0x3acd5c(0x111)])?_0x9027f6[_0x3acd5c(0x111)]:[_0x9027f6[_0x3acd5c(0x111)]];for(const _0x3365c5 of _0x137e4e){const _0xb9a943=_0x3365c5;if(!_0xb9a943)continue;_0xb9a943[_0x3acd5c(0xd7)]=!![],_0xb9a943['opacity']=0x0,_0xb9a943['colorWrite']=![],_0xb9a943[_0x3acd5c(0xe9)]=![],_0xb9a943[_0x3acd5c(0x141)]=![],_0xb9a943[_0x3acd5c(0xd1)]=!![];}const _0xf52760=_0x9027f6[_0x3acd5c(0x113)];if(!_0xf52760)continue;const _0x3cbb2d=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x3cbb2d['colorWrite']=![],_0x3cbb2d['toneMapped']=![],_0x3cbb2d['fog']=![],_0x3cbb2d[_0x3acd5c(0xef)]=NoBlending,_0x3cbb2d[_0x3acd5c(0xdd)]=!![],_0x3cbb2d[_0x3acd5c(0x119)]=-4,_0x3cbb2d[_0x3acd5c(0x149)]=-4;const _0x38b878=new Mesh$1(_0xf52760,_0x3cbb2d);_0x38b878[_0x3acd5c(0x137)]=(_0x9027f6[_0x3acd5c(0x137)]||'canvas')+_0x3acd5c(0x133),_0x38b878['userData'][_0x3acd5c(0xe4)]=!![],_0x38b878[_0x3acd5c(0xfd)]=Math['min'](_0x9027f6[_0x3acd5c(0xfd)]-0x1,-2e3),_0x38b878[_0x3acd5c(0x103)][_0x3acd5c(0x120)](0x0,0x0,0x0),_0x38b878[_0x3acd5c(0xf7)][_0x3acd5c(0x120)](0x0,0x0,0x0,0x1),_0x38b878[_0x3acd5c(0x131)][_0x3acd5c(0x120)](0x1,0x1,0x1),_0x9027f6[_0x3acd5c(0x13d)](_0x38b878),this['depthMaskMeshes']['push'](_0x38b878);const _0x17f1ee=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':CustomBlending});_0x17f1ee[_0x3acd5c(0x139)]=![],_0x17f1ee[_0x3acd5c(0x11f)]=![],_0x17f1ee[_0x3acd5c(0x10f)]=AddEquation,_0x17f1ee[_0x3acd5c(0x108)]=ZeroFactor,_0x17f1ee[_0x3acd5c(0x104)]=OneFactor,_0x17f1ee[_0x3acd5c(0x136)]=ZeroFactor,_0x17f1ee[_0x3acd5c(0x134)]=ZeroFactor;const _0x4e1e5d=new Mesh$1(_0xf52760,_0x17f1ee);_0x4e1e5d[_0x3acd5c(0x137)]=(_0x9027f6[_0x3acd5c(0x137)]||_0x3acd5c(0xee))+_0x3acd5c(0x12f),_0x4e1e5d[_0x3acd5c(0x145)][_0x3acd5c(0xe4)]=!![],_0x4e1e5d[_0x3acd5c(0xfd)]=Math[_0x3acd5c(0x132)](_0x9027f6[_0x3acd5c(0xfd)]+0x3e8,0x3e8),_0x4e1e5d[_0x3acd5c(0x103)]['set'](0x0,0x0,0x0),_0x4e1e5d[_0x3acd5c(0xf7)]['set'](0x0,0x0,0x0,0x1),_0x4e1e5d[_0x3acd5c(0x131)][_0x3acd5c(0x120)](0x1,0x1,0x1),_0x9027f6['add'](_0x4e1e5d),this[_0x3acd5c(0x115)][_0x3acd5c(0xfb)](_0x4e1e5d);}}[_0xc4eecf(0x125)](){const _0x16ca1f=_0xc4eecf;let _0x32cce1=0x0;this[_0x16ca1f(0xe6)]=_0x30f480=>{const _0xdd1e9e=_0x16ca1f;var _0x422d79;if(!this['targetMesh']||!this[_0xdd1e9e(0xea)]||!this[_0xdd1e9e(0x138)])return;_0x32cce1+=_0x30f480;if(_0x32cce1<0.05)return;_0x32cce1=0x0;const _0x1c410d=this['app'][_0xdd1e9e(0x14a)];_0x1c410d[_0xdd1e9e(0x13a)](this['cameraWorldPos']),this[_0xdd1e9e(0x10c)][_0xdd1e9e(0x13a)](this['panelWorldPos']),this[_0xdd1e9e(0xe0)]['subVectors'](this['panelWorldPos'],this[_0xdd1e9e(0x10e)]);const _0x3e159a=this[_0xdd1e9e(0xe0)]['length']();if(_0x3e159a<=0.00001)return;this['rayDir']['divideScalar'](_0x3e159a),this[_0xdd1e9e(0x10b)][_0xdd1e9e(0x120)](this[_0xdd1e9e(0x10e)],this[_0xdd1e9e(0xe0)]);const _0x2a09ad=this[_0xdd1e9e(0x10b)][_0xdd1e9e(0xfe)](this[_0xdd1e9e(0x12c)],!![]);let _0x1ec2fc=![];const _0x15a0c9=_0x3e159a-0.02;for(const _0x63f607 of _0x2a09ad){if(_0x63f607[_0xdd1e9e(0xfa)]>=_0x15a0c9)break;let _0x123b5f=_0x63f607[_0xdd1e9e(0xec)],_0x30d3dd=!![];while(_0x123b5f){if(!_0x123b5f[_0xdd1e9e(0x124)]){_0x30d3dd=![];break;}_0x123b5f=_0x123b5f[_0xdd1e9e(0x13f)];}if(!_0x30d3dd)continue;_0x123b5f=_0x63f607['object'];let _0xf271b4=![];while(_0x123b5f){if(this[_0xdd1e9e(0xff)][_0xdd1e9e(0xe7)](_0x123b5f)){_0xf271b4=!![];break;}_0x123b5f=_0x123b5f[_0xdd1e9e(0x13f)];}if(_0xf271b4)continue;_0x1ec2fc=!![];break;}const _0x313129=((_0x422d79=this[_0xdd1e9e(0x12e)][_0xdd1e9e(0x146)][_0xdd1e9e(0xfc)])===null||_0x422d79===void 0?void 0:_0x422d79[_0xdd1e9e(0x11a)][_0xdd1e9e(0xd0)])==='1',_0x438d6e=_0x313129||_0x1ec2fc?'none':_0xdd1e9e(0x130);this[_0xdd1e9e(0xea)][_0xdd1e9e(0x112)][_0xdd1e9e(0x116)]!==_0x438d6e&&(this[_0xdd1e9e(0xea)][_0xdd1e9e(0x112)][_0xdd1e9e(0x116)]=_0x438d6e),this[_0xdd1e9e(0x138)]['style'][_0xdd1e9e(0x116)]!==_0x438d6e&&(this[_0xdd1e9e(0x138)][_0xdd1e9e(0x112)][_0xdd1e9e(0x116)]=_0x438d6e);},this['app']['addTickingFunction'](this['tickFunc']);}[_0xc4eecf(0x129)](){const _0x83113d=_0xc4eecf;this['tickFunc']&&(this['app'][_0x83113d(0x106)](this[_0x83113d(0xe6)]),this[_0x83113d(0xe6)]=null);for(const _0x20477b of this[_0x83113d(0xf6)]){_0x20477b[_0x83113d(0xd4)]();const _0x140b1b=_0x20477b[_0x83113d(0x111)];if(Array[_0x83113d(0x11e)](_0x140b1b)){for(const _0x3bdcc1 of _0x140b1b)_0x3bdcc1===null||_0x3bdcc1===void 0?void 0:_0x3bdcc1['dispose']();}else _0x140b1b===null||_0x140b1b===void 0?void 0:_0x140b1b[_0x83113d(0xdf)]();}this[_0x83113d(0xf6)]['length']=0x0;for(const _0x38b255 of this[_0x83113d(0x115)]){_0x38b255[_0x83113d(0xd4)]();const _0x20ca4d=_0x38b255['material'];if(Array[_0x83113d(0x11e)](_0x20ca4d)){for(const _0x43de3c of _0x20ca4d)_0x43de3c===null||_0x43de3c===void 0?void 0:_0x43de3c[_0x83113d(0xdf)]();}else _0x20ca4d===null||_0x20ca4d===void 0?void 0:_0x20ca4d[_0x83113d(0xdf)]();}this[_0x83113d(0x115)][_0x83113d(0xf3)]=0x0,this[_0x83113d(0x138)]&&(this[_0x83113d(0x138)][_0x83113d(0x107)]='about:blank',this[_0x83113d(0x138)]=null),this[_0x83113d(0xea)]&&(this[_0x83113d(0xea)]['remove'](),this[_0x83113d(0xea)]=null),this[_0x83113d(0x10c)]=null,this[_0x83113d(0x12c)]=[],super[_0x83113d(0x129)]();}}function _0x2cf6(){const _0x58a5b4=['length','normal','createDefaultObject','depthMaskMeshes','quaternion','subVectors','24phiUIL','distance','push','outer','renderOrder','intersectObjects','meshes','threeObject','min','759429nxlFAo','position','blendDst','420335AngIFn','removeTickingFunction','src','blendSrc','hidden','createElement','raycaster','targetMesh','2498764meDCtx','cameraWorldPos','blendEquation','allowfullscreen','material','style','geometry','CSS3DWebPanelComponent','alphaPunchMeshes','pointerEvents','true','height','polygonOffsetFactor','dataset','100%','castShadow','border','isArray','fog','set','width','panelWorldPos','sort','visible','setupOcclusionTick','crossVectors','getAttribute','abs','destroy','normalize','isMesh','occlusionCandidates','backfaceVisibility','app','__alpha_punch','auto','scale','max','__depth_mask','blendDstAlpha','lengthSq','blendSrcAlpha','name','iframe','toneMapped','getWorldPosition','obj','loading','add','floor','parent','overflow','depthWrite','fromBufferAttribute','88647feOXjp','140648oJhAAx','userData','viewport','round','background','polygonOffsetUnits','camera','__css3d_web','lyCameraDragging','needsUpdate','threeObject\x20is\x20null','12446780VqKIoO','removeFromParent','world','217lbyLQN','transparent','test','setupMasks','setFromUnitVectors','getIndex','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','polygonOffset','1423152xZGdPO','dispose','rayDir','allow','LYObject','setAttribute','rayIgnored','count','tickFunc','includes','getX','depthTest','wrapper','computeBoundingBox','object','traverse','canvas','blending','div','trim','34PkwZzE'];_0x2cf6=function(){return _0x58a5b4;};return _0x2cf6();}
|
|
136
|
+
function _0x459c(_0x1148fa,_0xebb830){_0x1148fa=_0x1148fa-0x14b;const _0xd43737=_0xd437();let _0x459c8b=_0xd43737[_0x1148fa];return _0x459c8b;}const _0x3a37d1=_0x459c;(function(_0x3b13ad,_0x208998){const _0x3ed8c9=_0x459c,_0x511f84=_0x3b13ad();while(!![]){try{const _0x274f3e=-parseInt(_0x3ed8c9(0x1a8))/0x1+parseInt(_0x3ed8c9(0x181))/0x2*(parseInt(_0x3ed8c9(0x1b5))/0x3)+-parseInt(_0x3ed8c9(0x169))/0x4+parseInt(_0x3ed8c9(0x16b))/0x5+-parseInt(_0x3ed8c9(0x1b4))/0x6*(-parseInt(_0x3ed8c9(0x161))/0x7)+-parseInt(_0x3ed8c9(0x18d))/0x8*(-parseInt(_0x3ed8c9(0x173))/0x9)+-parseInt(_0x3ed8c9(0x171))/0xa;if(_0x274f3e===_0x208998)break;else _0x511f84['push'](_0x511f84['shift']());}catch(_0x291882){_0x511f84['push'](_0x511f84['shift']());}}}(_0xd437,0xeef26));function normalizeAssetUrl(_0x336d0e){const _0x305544=_0x459c,_0x21586d=String(_0x336d0e!==null&&_0x336d0e!==void 0?_0x336d0e:'')[_0x305544(0x19e)]();if(!_0x21586d)return '';if(/^https?:\/\//i['test'](_0x21586d))return _0x21586d;if(_0x21586d[_0x305544(0x1ba)]('/'))return _0x21586d;return '/'+_0x21586d;}function getMeshPlaneLocalSize(_0x2a29c7){const _0x4e8335=_0x459c,_0x6509d1=_0x2a29c7[_0x4e8335(0x1a5)];if(!_0x6509d1)return {'width':0x1,'height':0x1};if(!_0x6509d1[_0x4e8335(0x194)])_0x6509d1[_0x4e8335(0x192)]();const _0x3577ea=_0x6509d1[_0x4e8335(0x194)];if(!_0x3577ea)return {'width':0x1,'height':0x1};const _0x2fc717=_0x3577ea[_0x4e8335(0x191)](new Vector3$1()),_0x23531c=[Math['abs'](_0x2fc717['x']),Math[_0x4e8335(0x1c1)](_0x2fc717['y']),Math[_0x4e8335(0x1c1)](_0x2fc717['z'])][_0x4e8335(0x19a)]((_0xfae1c1,_0x3453aa)=>_0x3453aa-_0xfae1c1),_0x581453=Math['max'](0.0001,_0x23531c[0x0]||0x1),_0x1912f8=Math[_0x4e8335(0x1b6)](0.0001,_0x23531c[0x1]||_0x581453);return {'width':_0x581453,'height':_0x1912f8};}function getMeshLocalNormal(_0xb7391b){const _0x4281b5=_0x459c,_0x3f2aab=_0xb7391b['geometry'];if(!_0x3f2aab)return new Vector3$1(0x0,0x0,0x1);const _0xdf0158=_0x3f2aab[_0x4281b5(0x18c)](_0x4281b5(0x199));if(_0xdf0158&&_0xdf0158[_0x4281b5(0x17a)]>0x0){const _0x3e3bed=new Vector3$1(),_0x4b46c3=new Vector3$1();for(let _0x20a8df=0x0;_0x20a8df<_0xdf0158['count'];_0x20a8df++){_0x4b46c3[_0x4281b5(0x16c)](_0xdf0158,_0x20a8df),_0x3e3bed['add'](_0x4b46c3);}if(_0x3e3bed[_0x4281b5(0x15f)]()>1e-12)return _0x3e3bed['normalize']();}const _0x295385=_0x3f2aab[_0x4281b5(0x18c)]('position');if(!_0x295385||_0x295385[_0x4281b5(0x17a)]<0x3)return new Vector3$1(0x0,0x0,0x1);const _0x521637=_0x3f2aab[_0x4281b5(0x14c)](),_0x1d6232=new Vector3$1(),_0x3df0e3=new Vector3$1(),_0x41a8e=new Vector3$1(),_0x4bd244=new Vector3$1(),_0x1cd34e=new Vector3$1(),_0x36d19a=new Vector3$1(),_0x3de6e6=new Vector3$1(),_0x13266e=_0x521637?Math[_0x4281b5(0x1a6)](_0x521637['count']/0x3):Math['floor'](_0x295385[_0x4281b5(0x17a)]/0x3);for(let _0x510049=0x0;_0x510049<_0x13266e;_0x510049++){const _0x36279a=_0x521637?_0x521637[_0x4281b5(0x1b3)](_0x510049*0x3+0x0):_0x510049*0x3+0x0,_0x7cda99=_0x521637?_0x521637[_0x4281b5(0x1b3)](_0x510049*0x3+0x1):_0x510049*0x3+0x1,_0x543be6=_0x521637?_0x521637[_0x4281b5(0x1b3)](_0x510049*0x3+0x2):_0x510049*0x3+0x2;_0x1d6232[_0x4281b5(0x16c)](_0x295385,_0x36279a),_0x3df0e3['fromBufferAttribute'](_0x295385,_0x7cda99),_0x41a8e[_0x4281b5(0x16c)](_0x295385,_0x543be6),_0x4bd244[_0x4281b5(0x175)](_0x3df0e3,_0x1d6232),_0x1cd34e[_0x4281b5(0x175)](_0x41a8e,_0x1d6232),_0x3de6e6['crossVectors'](_0x4bd244,_0x1cd34e);if(_0x3de6e6['lengthSq']()<1e-14)continue;_0x36d19a[_0x4281b5(0x1be)](_0x3de6e6);}if(_0x36d19a[_0x4281b5(0x15f)]()<1e-12)return new Vector3$1(0x0,0x0,0x1);return _0x36d19a[_0x4281b5(0x18b)]();}function collectOcclusionMeshes(_0x2b446a){const _0xeb988f=_0x459c,_0xba2be=[];return _0x2b446a[_0xeb988f(0x17c)](_0x37971d=>{const _0x3533bc=_0xeb988f;var _0x3c8e6d;const _0x5b5b03=_0x37971d;if(!(_0x5b5b03===null||_0x5b5b03===void 0?void 0:_0x5b5b03[_0x3533bc(0x190)]))return;if(!_0x37971d['visible'])return;if((_0x3c8e6d=_0x37971d[_0x3533bc(0x1a3)])===null||_0x3c8e6d===void 0?void 0:_0x3c8e6d[_0x3533bc(0x152)])return;_0xba2be[_0x3533bc(0x154)](_0x37971d);}),_0xba2be;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x3a37d1(0x153)](){const _0x5f2b13=_0x3a37d1;if(!this[_0x5f2b13(0x179)])throw new Error(_0x5f2b13(0x1aa));return this[_0x5f2b13(0x179)];}set[_0x3a37d1(0x153)](_0x12c069){const _0x4714c1=_0x3a37d1;this[_0x4714c1(0x179)]=_0x12c069,this['obj']&&(this[_0x4714c1(0x179)]['userData'][_0x4714c1(0x150)]=this);}constructor(_0xd4425e,_0x2fddce,_0x3d9e46,_0x686bc){const _0x8c0f17=_0x3a37d1;super(_0xd4425e,_0x686bc),this[_0x8c0f17(0x1af)]=null,this[_0x8c0f17(0x165)]=null,this[_0x8c0f17(0x16e)]=null,this[_0x8c0f17(0x15a)]=[],this[_0x8c0f17(0x168)]=[],this[_0x8c0f17(0x1b9)]=null,this[_0x8c0f17(0x1a1)]=new Vector3$1(),this[_0x8c0f17(0x14b)]=new Vector3$1(),this[_0x8c0f17(0x177)]=new Vector3$1(),this[_0x8c0f17(0x14f)]=new Raycaster$1(),this['occlusionCandidates']=[],this['name']=_0x8c0f17(0x180),this[_0x8c0f17(0x18f)]=_0x2fddce[_0x8c0f17(0x151)](_0x5c7028=>!!_0x5c7028);const _0xe4b924=normalizeAssetUrl(_0x3d9e46);if(!_0xe4b924||!this[_0x8c0f17(0x18f)][_0x8c0f17(0x1bd)])return;this[_0x8c0f17(0x16e)]=this[_0x8c0f17(0x18f)][0x0];const _0x106667=getMeshPlaneLocalSize(this[_0x8c0f17(0x16e)]),_0x1e7555=0x4b0,_0x469cae=Math[_0x8c0f17(0x1b6)](0x200,Math[_0x8c0f17(0x189)](0x1000,Math[_0x8c0f17(0x157)](_0x106667[_0x8c0f17(0x193)]*_0x1e7555))),_0x217c46=Math[_0x8c0f17(0x1b6)](0x200,Math[_0x8c0f17(0x189)](0x1000,Math['round'](_0x106667[_0x8c0f17(0x1bf)]*_0x1e7555))),_0x5c5bba=document[_0x8c0f17(0x178)](_0x8c0f17(0x15c));_0x5c5bba[_0x8c0f17(0x1b7)]['width']=_0x469cae+'px',_0x5c5bba[_0x8c0f17(0x1b7)][_0x8c0f17(0x1bf)]=_0x217c46+'px',_0x5c5bba[_0x8c0f17(0x1b7)][_0x8c0f17(0x1a4)]='auto',_0x5c5bba[_0x8c0f17(0x1b7)]['overflow']='hidden',_0x5c5bba['style']['background']='transparent',_0x5c5bba[_0x8c0f17(0x1b7)][_0x8c0f17(0x19f)]=_0x8c0f17(0x1ae),this[_0x8c0f17(0x1af)]=_0x5c5bba;const _0x544fcb=document[_0x8c0f17(0x178)](_0x8c0f17(0x165));_0x544fcb[_0x8c0f17(0x158)]=_0xe4b924,_0x544fcb[_0x8c0f17(0x1b7)][_0x8c0f17(0x193)]='100%',_0x544fcb[_0x8c0f17(0x1b7)][_0x8c0f17(0x1bf)]='100%',_0x544fcb[_0x8c0f17(0x1b7)]['border']='0',_0x544fcb[_0x8c0f17(0x1b7)][_0x8c0f17(0x19b)]=_0x8c0f17(0x1c3),_0x544fcb[_0x8c0f17(0x1b7)]['pointerEvents']='auto',_0x544fcb['style'][_0x8c0f17(0x19f)]=_0x8c0f17(0x1ae),_0x544fcb['setAttribute'](_0x8c0f17(0x155),_0x8c0f17(0x186)),_0x544fcb[_0x8c0f17(0x185)](_0x8c0f17(0x1b1),_0x8c0f17(0x174)),_0x544fcb[_0x8c0f17(0x185)](_0x8c0f17(0x1a2),'lazy'),_0x5c5bba['appendChild'](_0x544fcb),this['iframe']=_0x544fcb;const _0x20c576=new CSS3DObject(_0x5c5bba);_0x20c576[_0x8c0f17(0x197)]=(this['targetMesh'][_0x8c0f17(0x197)]||'wallboard')+'__css3d_web',_0x20c576['position'][_0x8c0f17(0x1ab)](0x0,0x0,0.001),_0x20c576[_0x8c0f17(0x166)][_0x8c0f17(0x17b)](new Vector3$1(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0x20c576[_0x8c0f17(0x1a0)][_0x8c0f17(0x1ab)](_0x106667[_0x8c0f17(0x193)]/_0x469cae,_0x106667[_0x8c0f17(0x1bf)]/_0x217c46,0x1),this['threeObject']=_0x20c576,this['targetMesh']['add'](_0x20c576),this[_0x8c0f17(0x15d)](),this[_0x8c0f17(0x195)]=collectOcclusionMeshes(this[_0x8c0f17(0x160)][_0x8c0f17(0x19d)][_0x8c0f17(0x16f)]),this[_0x8c0f17(0x1a9)]();}['createDefaultObject'](){const _0x2d4017=_0x3a37d1;return new CSS3DObject(document[_0x2d4017(0x178)]('div'));}[_0x3a37d1(0x15d)](){const _0x3f2cd3=_0x3a37d1;var _0xce266a;for(const _0x2cbae9 of this[_0x3f2cd3(0x18f)]){_0x2cbae9[_0x3f2cd3(0x198)]=Math[_0x3f2cd3(0x189)]((_0xce266a=_0x2cbae9[_0x3f2cd3(0x198)])!==null&&_0xce266a!==void 0?_0xce266a:0x0,-1e3),_0x2cbae9[_0x3f2cd3(0x1a7)]=![],_0x2cbae9[_0x3f2cd3(0x164)]=![];const _0x5781e9=Array[_0x3f2cd3(0x1c0)](_0x2cbae9[_0x3f2cd3(0x1b2)])?_0x2cbae9['material']:[_0x2cbae9[_0x3f2cd3(0x1b2)]];for(const _0x3580df of _0x5781e9){const _0x17eed2=_0x3580df;if(!_0x17eed2)continue;_0x17eed2['transparent']=!![],_0x17eed2[_0x3f2cd3(0x159)]=0x0,_0x17eed2[_0x3f2cd3(0x184)]=![],_0x17eed2[_0x3f2cd3(0x14d)]=![],_0x17eed2[_0x3f2cd3(0x176)]=![],_0x17eed2['needsUpdate']=!![];}const _0x178c9e=_0x2cbae9[_0x3f2cd3(0x1a5)];if(!_0x178c9e)continue;const _0x1280f5=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x1280f5['colorWrite']=![],_0x1280f5[_0x3f2cd3(0x187)]=![],_0x1280f5[_0x3f2cd3(0x170)]=![],_0x1280f5['blending']=NoBlending,_0x1280f5[_0x3f2cd3(0x1bc)]=!![],_0x1280f5['polygonOffsetFactor']=-4,_0x1280f5[_0x3f2cd3(0x19c)]=-4;const _0x1e2294=new Mesh$1(_0x178c9e,_0x1280f5);_0x1e2294[_0x3f2cd3(0x197)]=(_0x2cbae9[_0x3f2cd3(0x197)]||'canvas')+_0x3f2cd3(0x1c2),_0x1e2294[_0x3f2cd3(0x1a3)][_0x3f2cd3(0x152)]=!![],_0x1e2294[_0x3f2cd3(0x198)]=Math[_0x3f2cd3(0x189)](_0x2cbae9['renderOrder']-0x1,-2e3),_0x1e2294[_0x3f2cd3(0x167)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0),_0x1e2294[_0x3f2cd3(0x166)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0,0x1),_0x1e2294[_0x3f2cd3(0x1a0)]['set'](0x1,0x1,0x1),_0x2cbae9[_0x3f2cd3(0x1be)](_0x1e2294),this[_0x3f2cd3(0x15a)][_0x3f2cd3(0x154)](_0x1e2294);const _0x5297a6=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':CustomBlending});_0x5297a6[_0x3f2cd3(0x187)]=![],_0x5297a6['fog']=![],_0x5297a6[_0x3f2cd3(0x17f)]=AddEquation,_0x5297a6['blendSrc']=ZeroFactor,_0x5297a6['blendDst']=OneFactor,_0x5297a6[_0x3f2cd3(0x14e)]=ZeroFactor,_0x5297a6[_0x3f2cd3(0x163)]=ZeroFactor;const _0x18d1ba=new Mesh$1(_0x178c9e,_0x5297a6);_0x18d1ba[_0x3f2cd3(0x197)]=(_0x2cbae9['name']||_0x3f2cd3(0x1b8))+_0x3f2cd3(0x196),_0x18d1ba[_0x3f2cd3(0x1a3)]['rayIgnored']=!![],_0x18d1ba[_0x3f2cd3(0x198)]=Math[_0x3f2cd3(0x1b6)](_0x2cbae9['renderOrder']+0x3e8,0x3e8),_0x18d1ba[_0x3f2cd3(0x167)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0),_0x18d1ba[_0x3f2cd3(0x166)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0,0x1),_0x18d1ba['scale'][_0x3f2cd3(0x1ab)](0x1,0x1,0x1),_0x2cbae9[_0x3f2cd3(0x1be)](_0x18d1ba),this['alphaPunchMeshes']['push'](_0x18d1ba);}}[_0x3a37d1(0x1a9)](){const _0x3c8b8e=_0x3a37d1;let _0x3e5f87=0x0;this[_0x3c8b8e(0x1b9)]=_0x191ff9=>{const _0x1a8f1a=_0x3c8b8e;var _0x49cfd6;if(!this[_0x1a8f1a(0x16e)]||!this['wrapper']||!this['iframe'])return;_0x3e5f87+=_0x191ff9;if(_0x3e5f87<0.05)return;_0x3e5f87=0x0;const _0x4ae324=this['app']['camera'];_0x4ae324[_0x1a8f1a(0x16d)](this[_0x1a8f1a(0x1a1)]),this['targetMesh']['getWorldPosition'](this[_0x1a8f1a(0x14b)]),this[_0x1a8f1a(0x177)]['subVectors'](this['panelWorldPos'],this[_0x1a8f1a(0x1a1)]);const _0x56e1f6=this[_0x1a8f1a(0x177)][_0x1a8f1a(0x1bd)]();if(_0x56e1f6<=0.00001)return;this['rayDir'][_0x1a8f1a(0x17e)](_0x56e1f6),this[_0x1a8f1a(0x14f)][_0x1a8f1a(0x1ab)](this[_0x1a8f1a(0x1a1)],this[_0x1a8f1a(0x177)]);const _0x2726d6=this['raycaster']['intersectObjects'](this[_0x1a8f1a(0x195)],!![]);let _0x3ebb9d=![];const _0x2233a0=_0x56e1f6-0.02;for(const _0x2069c5 of _0x2726d6){if(_0x2069c5['distance']>=_0x2233a0)break;let _0x48fe2d=_0x2069c5[_0x1a8f1a(0x15e)],_0x207648=!![];while(_0x48fe2d){if(!_0x48fe2d[_0x1a8f1a(0x183)]){_0x207648=![];break;}_0x48fe2d=_0x48fe2d[_0x1a8f1a(0x1b0)];}if(!_0x207648)continue;_0x48fe2d=_0x2069c5[_0x1a8f1a(0x15e)];let _0x15678c=![];while(_0x48fe2d){if(this[_0x1a8f1a(0x18f)][_0x1a8f1a(0x172)](_0x48fe2d)){_0x15678c=!![];break;}_0x48fe2d=_0x48fe2d[_0x1a8f1a(0x1b0)];}if(_0x15678c)continue;_0x3ebb9d=!![];break;}const _0x44d83d=((_0x49cfd6=this[_0x1a8f1a(0x160)][_0x1a8f1a(0x15b)]['outer'])===null||_0x49cfd6===void 0?void 0:_0x49cfd6[_0x1a8f1a(0x1ad)][_0x1a8f1a(0x156)])==='1',_0x28866b=_0x44d83d||_0x3ebb9d?_0x1a8f1a(0x182):_0x1a8f1a(0x162);this[_0x1a8f1a(0x1af)][_0x1a8f1a(0x1b7)][_0x1a8f1a(0x1a4)]!==_0x28866b&&(this['wrapper']['style'][_0x1a8f1a(0x1a4)]=_0x28866b),this[_0x1a8f1a(0x165)][_0x1a8f1a(0x1b7)]['pointerEvents']!==_0x28866b&&(this[_0x1a8f1a(0x165)][_0x1a8f1a(0x1b7)][_0x1a8f1a(0x1a4)]=_0x28866b);},this[_0x3c8b8e(0x160)][_0x3c8b8e(0x1bb)](this[_0x3c8b8e(0x1b9)]);}[_0x3a37d1(0x18e)](){const _0x3819fd=_0x3a37d1;this[_0x3819fd(0x1b9)]&&(this[_0x3819fd(0x160)][_0x3819fd(0x188)](this['tickFunc']),this[_0x3819fd(0x1b9)]=null);for(const _0x4c5085 of this['depthMaskMeshes']){_0x4c5085[_0x3819fd(0x16a)]();const _0x15605f=_0x4c5085[_0x3819fd(0x1b2)];if(Array[_0x3819fd(0x1c0)](_0x15605f)){for(const _0x433907 of _0x15605f)_0x433907===null||_0x433907===void 0?void 0:_0x433907[_0x3819fd(0x1ac)]();}else _0x15605f===null||_0x15605f===void 0?void 0:_0x15605f[_0x3819fd(0x1ac)]();}this[_0x3819fd(0x15a)][_0x3819fd(0x1bd)]=0x0;for(const _0xc0ae27 of this[_0x3819fd(0x168)]){_0xc0ae27[_0x3819fd(0x16a)]();const _0x36e56e=_0xc0ae27['material'];if(Array[_0x3819fd(0x1c0)](_0x36e56e)){for(const _0x4c39d1 of _0x36e56e)_0x4c39d1===null||_0x4c39d1===void 0?void 0:_0x4c39d1[_0x3819fd(0x1ac)]();}else _0x36e56e===null||_0x36e56e===void 0?void 0:_0x36e56e[_0x3819fd(0x1ac)]();}this[_0x3819fd(0x168)][_0x3819fd(0x1bd)]=0x0,this[_0x3819fd(0x165)]&&(this[_0x3819fd(0x165)]['src']=_0x3819fd(0x17d),this[_0x3819fd(0x165)]=null),this[_0x3819fd(0x1af)]&&(this[_0x3819fd(0x1af)][_0x3819fd(0x18a)](),this[_0x3819fd(0x1af)]=null),this[_0x3819fd(0x16e)]=null,this[_0x3819fd(0x195)]=[],super[_0x3819fd(0x18e)]();}}function _0xd437(){const _0x27edc3=['count','setFromUnitVectors','traverse','about:blank','divideScalar','blendEquation','CSS3DWebPanelComponent','2759122tkFEmg','none','visible','colorWrite','setAttribute','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','toneMapped','removeTickingFunction','min','remove','normalize','getAttribute','1844408JmyNuW','destroy','meshes','isMesh','getSize','computeBoundingBox','width','boundingBox','occlusionCandidates','__alpha_punch','name','renderOrder','normal','sort','background','polygonOffsetUnits','world','trim','backfaceVisibility','scale','cameraWorldPos','loading','userData','pointerEvents','geometry','floor','castShadow','1945250HqtVeR','setupOcclusionTick','threeObject\x20is\x20null','set','dispose','dataset','hidden','wrapper','parent','allowfullscreen','material','getX','2648154AGhEIn','3qHiQjK','max','style','canvas','tickFunc','startsWith','addTickingFunction','polygonOffset','length','add','height','isArray','abs','__depth_mask','transparent','panelWorldPos','getIndex','depthTest','blendSrcAlpha','raycaster','LYObject','filter','rayIgnored','threeObject','push','allow','lyCameraDragging','round','src','opacity','depthMaskMeshes','viewport','div','setupMasks','object','lengthSq','app','21LwJCxU','auto','blendDstAlpha','receiveShadow','iframe','quaternion','position','alphaPunchMeshes','3901712cGnDhv','removeFromParent','9224505Pabjed','fromBufferAttribute','getWorldPosition','targetMesh','scene','fog','8796860wXAnhC','includes','9blJVnK','true','subVectors','depthWrite','rayDir','createElement','obj'];_0xd437=function(){return _0x27edc3;};return _0xd437();}
|
|
137
137
|
|
|
138
|
-
const
|
|
138
|
+
const _0x44ee78=_0x3f58;(function(_0x2858d8,_0x531c64){const _0xeb4db7=_0x3f58,_0x2330c6=_0x2858d8();while(!![]){try{const _0x13ec96=parseInt(_0xeb4db7(0x216))/0x1+-parseInt(_0xeb4db7(0x1f4))/0x2+parseInt(_0xeb4db7(0x1e1))/0x3*(-parseInt(_0xeb4db7(0x21c))/0x4)+parseInt(_0xeb4db7(0x223))/0x5+-parseInt(_0xeb4db7(0x206))/0x6+parseInt(_0xeb4db7(0x222))/0x7*(parseInt(_0xeb4db7(0x1e6))/0x8)+-parseInt(_0xeb4db7(0x200))/0x9*(-parseInt(_0xeb4db7(0x1fc))/0xa);if(_0x13ec96===_0x531c64)break;else _0x2330c6['push'](_0x2330c6['shift']());}catch(_0x3ee50a){_0x2330c6['push'](_0x2330c6['shift']());}}}(_0x147a,0x99054));function _0x3f58(_0x3d4b7f,_0x49e20b){_0x3d4b7f=_0x3d4b7f-0x1dd;const _0x147a86=_0x147a();let _0x3f5843=_0x147a86[_0x3d4b7f];return _0x3f5843;}function _0x147a(){const _0x3977a0=['createDefaultObject','_sideColor','get','error','translate','63092EvhHPT','bevelThickness','_font','sideColor','size','refreshGeometry','1337uJEqey','4955795ZbCdnH','remove','bevelOffset','_bevelOffset','viewport','165WVOzeX','_text','_fontLoader','curveSegments','has','2032ruzAwR','height','_isUnlit','computeBoundingBox','_mesh','fontUrl','loadFontAndRefresh','set','_bevelSegments','material','updateMaterial','https://threejs.org/examples/fonts/helvetiker_regular.typeface.json','_curveSegments','obj','767594TRUbWx','isUnlit','Text','_size','_bevelEnabled','text','_fontUrl','_height','8542520qcEvZW','boundingBox','loadAsync','bevelSegments','9sVvbvY','bevelEnabled','color','dispose','destroy','max','5036982XgZOVt','forEach','isArray','length','min','_bevelSize','_bevelThickness','bevelSize','add','markRenderStateDirty','_color','_fontCache','Failed\x20to\x20load\x20font\x20from\x20','world','geometry','_group','823656JQLoWM'];_0x147a=function(){return _0x3977a0;};return _0x147a();}class Text3DComponent extends SceneComponent{constructor(_0x442d34,_0x55399a,_0x18fd8f){const _0x331990=_0x3f58;super(_0x442d34,_0x18fd8f),this[_0x331990(0x1e2)]=_0x331990(0x1f6),this[_0x331990(0x1fa)]=_0x331990(0x1f1),this[_0x331990(0x1f7)]=0x1,this[_0x331990(0x1fb)]=0.2,this[_0x331990(0x1f2)]=0xc,this[_0x331990(0x1f8)]=![],this[_0x331990(0x20c)]=0.03,this[_0x331990(0x20b)]=0.02,this[_0x331990(0x1df)]=0x0,this[_0x331990(0x1ee)]=0x5,this[_0x331990(0x210)]='#ffffff',this[_0x331990(0x218)]='#ffffff',this[_0x331990(0x1e8)]=!![],this[_0x331990(0x21e)]=null,this[_0x331990(0x1ea)]=null,this['_group']=this[_0x331990(0x1f3)];if(_0x55399a){if(_0x55399a[_0x331990(0x1f9)]!==undefined)this['_text']=_0x55399a['text'];if(_0x55399a[_0x331990(0x1eb)]!==undefined)this[_0x331990(0x1fa)]=_0x55399a[_0x331990(0x1eb)];if(_0x55399a[_0x331990(0x220)]!==undefined)this[_0x331990(0x1f7)]=_0x55399a[_0x331990(0x220)];if(_0x55399a['height']!==undefined)this['_height']=_0x55399a[_0x331990(0x1e7)];if(_0x55399a[_0x331990(0x1e4)]!==undefined)this['_curveSegments']=_0x55399a[_0x331990(0x1e4)];if(_0x55399a[_0x331990(0x201)]!==undefined)this[_0x331990(0x1f8)]=_0x55399a[_0x331990(0x201)];if(_0x55399a[_0x331990(0x21d)]!==undefined)this[_0x331990(0x20c)]=_0x55399a['bevelThickness'];if(_0x55399a[_0x331990(0x20d)]!==undefined)this[_0x331990(0x20b)]=_0x55399a[_0x331990(0x20d)];if(_0x55399a[_0x331990(0x1de)]!==undefined)this[_0x331990(0x1df)]=_0x55399a[_0x331990(0x1de)];if(_0x55399a[_0x331990(0x1ff)]!==undefined)this[_0x331990(0x1ee)]=_0x55399a[_0x331990(0x1ff)];_0x55399a[_0x331990(0x202)]!==undefined&&(this[_0x331990(0x210)]=_0x55399a['color'],this['_sideColor']=_0x55399a['color']);if(_0x55399a[_0x331990(0x21f)]!==undefined)this[_0x331990(0x218)]=_0x55399a[_0x331990(0x21f)];if(_0x55399a[_0x331990(0x1f5)]!==undefined)this[_0x331990(0x1e8)]=_0x55399a[_0x331990(0x1f5)];}this[_0x331990(0x1ec)]();}[_0x44ee78(0x217)](){return new Group();}get[_0x44ee78(0x1f9)](){return this['_text'];}set[_0x44ee78(0x1f9)](_0x3ee7f1){const _0x56f6ee=_0x44ee78;this[_0x56f6ee(0x1e2)]!==_0x3ee7f1&&(this['_text']=_0x3ee7f1,this[_0x56f6ee(0x221)]());}get[_0x44ee78(0x202)](){return this['_color'];}set[_0x44ee78(0x202)](_0x4e7a31){const _0x25af3a=_0x44ee78;this['_color']!==_0x4e7a31&&(this[_0x25af3a(0x210)]=_0x4e7a31,this[_0x25af3a(0x1f0)]());}get['sideColor'](){const _0x53e997=_0x44ee78;return this[_0x53e997(0x218)];}set[_0x44ee78(0x21f)](_0x9e3fea){const _0x190886=_0x44ee78;this[_0x190886(0x218)]!==_0x9e3fea&&(this[_0x190886(0x218)]=_0x9e3fea,this[_0x190886(0x1f0)]());}get[_0x44ee78(0x220)](){const _0x14b5ba=_0x44ee78;return this[_0x14b5ba(0x1f7)];}set[_0x44ee78(0x220)](_0x45d1c0){const _0x9aea80=_0x44ee78;this[_0x9aea80(0x1f7)]!==_0x45d1c0&&(this[_0x9aea80(0x1f7)]=_0x45d1c0,this[_0x9aea80(0x221)]());}get[_0x44ee78(0x1e7)](){const _0x26560d=_0x44ee78;return this[_0x26560d(0x1fb)];}set['height'](_0xa8cb56){const _0x5062e5=_0x44ee78;this[_0x5062e5(0x1fb)]!==_0xa8cb56&&(this['_height']=_0xa8cb56,this[_0x5062e5(0x221)]());}get['fontUrl'](){const _0x4c79f3=_0x44ee78;return this[_0x4c79f3(0x1fa)];}set['fontUrl'](_0x4ed7ea){const _0x49207b=_0x44ee78;this['_fontUrl']!==_0x4ed7ea&&(this[_0x49207b(0x1fa)]=_0x4ed7ea,this[_0x49207b(0x1ec)]());}async['loadFontAndRefresh'](){const _0x5065e0=_0x44ee78;if(Text3DComponent[_0x5065e0(0x211)][_0x5065e0(0x1e5)](this[_0x5065e0(0x1fa)])){this[_0x5065e0(0x21e)]=Text3DComponent['_fontCache'][_0x5065e0(0x219)](this[_0x5065e0(0x1fa)]),this[_0x5065e0(0x221)]();return;}try{const _0x3715ce=await Text3DComponent[_0x5065e0(0x1e3)][_0x5065e0(0x1fe)](this[_0x5065e0(0x1fa)]);Text3DComponent[_0x5065e0(0x211)][_0x5065e0(0x1ed)](this[_0x5065e0(0x1fa)],_0x3715ce),this[_0x5065e0(0x21e)]=_0x3715ce,this['refreshGeometry']();}catch(_0x4bface){console[_0x5065e0(0x21a)](_0x5065e0(0x212)+this['_fontUrl']+':',_0x4bface);}}[_0x44ee78(0x221)](){const _0x3d40e7=_0x44ee78;if(!this[_0x3d40e7(0x21e)])return;if(this[_0x3d40e7(0x1ea)]){if(this[_0x3d40e7(0x1ea)][_0x3d40e7(0x214)])this['_mesh'][_0x3d40e7(0x214)][_0x3d40e7(0x203)]();this[_0x3d40e7(0x215)][_0x3d40e7(0x1dd)](this[_0x3d40e7(0x1ea)]);}const _0x1de622=new TextGeometry(this['_text'],{'font':this[_0x3d40e7(0x21e)],'size':this[_0x3d40e7(0x1f7)],'depth':this['_height'],'curveSegments':this[_0x3d40e7(0x1f2)],'bevelEnabled':this[_0x3d40e7(0x1f8)],'bevelThickness':this[_0x3d40e7(0x20c)],'bevelSize':this['_bevelSize'],'bevelOffset':this['_bevelOffset'],'bevelSegments':this[_0x3d40e7(0x1ee)]});_0x1de622[_0x3d40e7(0x1e9)]();if(_0x1de622[_0x3d40e7(0x1fd)]){const _0x1a7a5b=-0.5*(_0x1de622['boundingBox']['max']['x']-_0x1de622[_0x3d40e7(0x1fd)][_0x3d40e7(0x20a)]['x']),_0x40cb15=-0.5*(_0x1de622['boundingBox'][_0x3d40e7(0x205)]['y']-_0x1de622['boundingBox'][_0x3d40e7(0x20a)]['y']);_0x1de622[_0x3d40e7(0x21b)](_0x1a7a5b,_0x40cb15,0x0);}let _0x32f21b;this[_0x3d40e7(0x1e8)]?_0x32f21b=[new MeshBasicMaterial({'color':new Color(this[_0x3d40e7(0x210)]),'side':DoubleSide$1}),new MeshBasicMaterial({'color':new Color(this['_sideColor']),'side':DoubleSide$1})]:_0x32f21b=[new MeshStandardMaterial({'color':new Color(this[_0x3d40e7(0x210)]),'side':DoubleSide$1}),new MeshStandardMaterial({'color':new Color(this[_0x3d40e7(0x218)]),'side':DoubleSide$1})],this['_mesh']=new Mesh(_0x1de622,_0x32f21b),this[_0x3d40e7(0x1ea)]['userData']['LYObject']=this,this[_0x3d40e7(0x215)][_0x3d40e7(0x20e)](this[_0x3d40e7(0x1ea)]),this[_0x3d40e7(0x213)]&&this['world']['viewport']['markRenderStateDirty']();}['updateMaterial'](){const _0xa7ea3e=_0x44ee78;if(!this[_0xa7ea3e(0x1ea)])return;if(Array[_0xa7ea3e(0x208)](this[_0xa7ea3e(0x1ea)][_0xa7ea3e(0x1ef)])){const _0x52490f=this[_0xa7ea3e(0x1ea)][_0xa7ea3e(0x1ef)];_0x52490f[_0xa7ea3e(0x209)]>=0x2&&(_0x52490f[0x0][_0xa7ea3e(0x202)][_0xa7ea3e(0x1ed)](this[_0xa7ea3e(0x210)]),_0x52490f[0x1][_0xa7ea3e(0x202)][_0xa7ea3e(0x1ed)](this['_sideColor']));}else {const _0x1a50a5=this[_0xa7ea3e(0x1ea)][_0xa7ea3e(0x1ef)];_0x1a50a5['color']['set'](this[_0xa7ea3e(0x210)]);}this[_0xa7ea3e(0x213)]&&this[_0xa7ea3e(0x213)][_0xa7ea3e(0x1e0)][_0xa7ea3e(0x20f)]();}[_0x44ee78(0x204)](){const _0x25eb4a=_0x44ee78;if(this[_0x25eb4a(0x1ea)]){if(this['_mesh']['geometry'])this[_0x25eb4a(0x1ea)][_0x25eb4a(0x214)][_0x25eb4a(0x203)]();Array['isArray'](this['_mesh'][_0x25eb4a(0x1ef)])?this['_mesh'][_0x25eb4a(0x1ef)][_0x25eb4a(0x207)](_0xb7b1ab=>_0xb7b1ab['dispose']()):this[_0x25eb4a(0x1ea)][_0x25eb4a(0x1ef)][_0x25eb4a(0x203)]();}super[_0x25eb4a(0x204)]();}}Text3DComponent[_0x44ee78(0x1e3)]=new FontLoader(),Text3DComponent['_fontCache']=new Map();
|
|
139
139
|
|
|
140
|
-
const
|
|
140
|
+
const _0x226d8d=_0x54d5;function _0x189a(){const _0x3ce6ef=['2494851mUZMWB','55659956uEIiaQ','ScreenSpaceReflection','7WXuTxP','24066YYEQgD','510BxkXae','16417qCxRpr','221835HqUYjV','9885416oujOvv','7436632tVhuhM','186rKypON','74ccaZHB'];_0x189a=function(){return _0x3ce6ef;};return _0x189a();}function _0x54d5(_0x989e4f,_0x208cbe){_0x989e4f=_0x989e4f-0x1b1;const _0x189a95=_0x189a();let _0x54d50a=_0x189a95[_0x989e4f];return _0x54d50a;}(function(_0x45892e,_0x3dcd02){const _0x42e38e=_0x54d5,_0xa9215=_0x45892e();while(!![]){try{const _0x44d796=-parseInt(_0x42e38e(0x1b6))/0x1*(-parseInt(_0x42e38e(0x1bb))/0x2)+parseInt(_0x42e38e(0x1bc))/0x3+parseInt(_0x42e38e(0x1b9))/0x4+-parseInt(_0x42e38e(0x1b7))/0x5*(-parseInt(_0x42e38e(0x1ba))/0x6)+parseInt(_0x42e38e(0x1b3))/0x7*(parseInt(_0x42e38e(0x1b8))/0x8)+parseInt(_0x42e38e(0x1b4))/0x9*(parseInt(_0x42e38e(0x1b5))/0xa)+-parseInt(_0x42e38e(0x1b1))/0xb;if(_0x44d796===_0x3dcd02)break;else _0xa9215['push'](_0xa9215['shift']());}catch(_0x5b5560){_0xa9215['push'](_0xa9215['shift']());}}}(_0x189a,0xf0a24));const DefaultSSRParam={'type':PostProcessStepType[_0x226d8d(0x1b2)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
const _0x5a3abd=_0x196d;(function(_0x3abb61,_0xa841b8){const _0xb5d36d=_0x196d,_0x9febd8=_0x3abb61();while(!![]){try{const _0x3ace70=-parseInt(_0xb5d36d(0xe4))/0x1+-parseInt(_0xb5d36d(0xe3))/0x2+-parseInt(_0xb5d36d(0xe1))/0x3*(-parseInt(_0xb5d36d(0xdf))/0x4)+-parseInt(_0xb5d36d(0xe0))/0x5+parseInt(_0xb5d36d(0xde))/0x6+-parseInt(_0xb5d36d(0xe5))/0x7*(-parseInt(_0xb5d36d(0xe6))/0x8)+parseInt(_0xb5d36d(0xe7))/0x9;if(_0x3ace70===_0xa841b8)break;else _0x9febd8['push'](_0x9febd8['shift']());}catch(_0x559d19){_0x9febd8['push'](_0x9febd8['shift']());}}}(_0x1b4d,0xcdc8b));function _0x1b4d(){const _0x1c5a02=['178975gvgbdE','364NVqagi','63416wSLrdt','16734789rjKpvo','172830qZsPbc','20whOXlY','8209390GxHsnR','257823zNaXaj','fxaa','132782OOZXWa'];_0x1b4d=function(){return _0x1c5a02;};return _0x1b4d();}function _0x196d(_0x54bd39,_0x1ade65){_0x54bd39=_0x54bd39-0xde;const _0x1b4dd3=_0x1b4d();let _0x196d55=_0x1b4dd3[_0x54bd39];return _0x196d55;}const DefaultAAParams={'type':PostProcessStepType['Antialiasing'],'method':_0x5a3abd(0xe2)};
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
const _0x12b559=_0x111d;(function(_0x5ebee1,_0x56bbaf){const _0x2787e6=_0x111d,_0xe86e9b=_0x5ebee1();while(!![]){try{const _0x38365c=parseInt(_0x2787e6(0x14f))/0x1*(parseInt(_0x2787e6(0x14b))/0x2)+-parseInt(_0x2787e6(0x152))/0x3*(-parseInt(_0x2787e6(0x16f))/0x4)+-parseInt(_0x2787e6(0x164))/0x5+parseInt(_0x2787e6(0x15c))/0x6*(-parseInt(_0x2787e6(0x14a))/0x7)+-parseInt(_0x2787e6(0x163))/0x8+parseInt(_0x2787e6(0x154))/0x9+parseInt(_0x2787e6(0x162))/0xa;if(_0x38365c===_0x56bbaf)break;else _0xe86e9b['push'](_0xe86e9b['shift']());}catch(_0x5c634c){_0xe86e9b['push'](_0xe86e9b['shift']());}}}(_0x3c14,0x9ebfc));function _0x3c14(){const _0x59513d=['_generateHitEvents','debugEnabled','onHitDelegate','markRenderStateDirty','call','remove','setCollisionResponse','60MzOqVh','Ignore','world','_onBeginOverlapDelegate','objectType','_collisionEnabled','15864960doIsZK','6176392fcLnpq','868250fUNjnE','enableDebug','onBeginOverlapDelegate','onEndOverlapDelegate','debugOpacity','_debugOpacity','unregisterCollider','parent','userData','_debugObject','destroyDebugObject','916836FlzIUh','Overlap','disableDebug','assign','_debugEnabled','generateHitEvents','threeObject','setCollisionResponses','_onEndOverlapDelegate','destroy','onAddedToWorld','tick','_generateOverlapEvents','onDebugTick','ColliderComponent','_responseMap','rayIgnored','_registeredInWorld','_debugColor','_onHitDelegate','onDebugStyleChanged','getMutualResponse','createDebugObject','Block','add','_objectType','getCollisionResponse','878059kFLgfC','8IsyHKc','viewport','debugColor','physics','126361kmBxPK','collisionEnabled','WorldDynamic','3zdISNe','generateOverlapEvents','4762404tTaulZ'];_0x3c14=function(){return _0x59513d;};return _0x3c14();}function _0x111d(_0x18209e,_0x235e55){_0x18209e=_0x18209e-0x131;const _0x3c14bf=_0x3c14();let _0x111dc3=_0x3c14bf[_0x18209e];return _0x111dc3;}class ColliderComponent extends SceneComponent{get['debugEnabled'](){const _0x52576b=_0x111d;return this[_0x52576b(0x133)];}set[_0x12b559(0x156)](_0x4342f9){const _0x166ca9=_0x12b559;var _0xb47e12,_0x1f41d9,_0x58e13f;if(this[_0x166ca9(0x133)]===_0x4342f9)return;this['_debugEnabled']=_0x4342f9,this[_0x166ca9(0x133)]?this[_0x166ca9(0x165)]():this['disableDebug'](),(_0x58e13f=(_0x1f41d9=(_0xb47e12=this[_0x166ca9(0x15e)])===null||_0xb47e12===void 0?void 0:_0xb47e12[_0x166ca9(0x14c)])===null||_0x1f41d9===void 0?void 0:_0x1f41d9[_0x166ca9(0x158)])===null||_0x58e13f===void 0?void 0:_0x58e13f[_0x166ca9(0x159)](_0x1f41d9);}get[_0x12b559(0x14d)](){const _0x107a62=_0x12b559;return this[_0x107a62(0x141)];}set[_0x12b559(0x14d)](_0x2bded8){const _0x11fad7=_0x12b559;this['_debugColor']=_0x2bded8,this[_0x11fad7(0x133)]&&this['onDebugStyleChanged']();}get[_0x12b559(0x168)](){const _0x3a7815=_0x12b559;return this[_0x3a7815(0x169)];}set[_0x12b559(0x168)](_0x1fdbcf){const _0x8d7e16=_0x12b559;this[_0x8d7e16(0x169)]=_0x1fdbcf,this[_0x8d7e16(0x133)]&&this['onDebugStyleChanged']();}get[_0x12b559(0x150)](){const _0x4ae7cb=_0x12b559;return this[_0x4ae7cb(0x161)];}set['collisionEnabled'](_0x308a8d){const _0x16aa00=_0x12b559;this[_0x16aa00(0x161)]=_0x308a8d;}get[_0x12b559(0x153)](){return this['_generateOverlapEvents'];}set[_0x12b559(0x153)](_0x2e7af7){this['_generateOverlapEvents']=_0x2e7af7;}get['generateHitEvents'](){const _0x56b6af=_0x12b559;return this[_0x56b6af(0x155)];}set[_0x12b559(0x134)](_0x35222d){this['_generateHitEvents']=_0x35222d;}get[_0x12b559(0x160)](){const _0x1ac601=_0x12b559;return this[_0x1ac601(0x148)];}set[_0x12b559(0x160)](_0xdc2e8){const _0x56eaa9=_0x12b559;this[_0x56eaa9(0x148)]=_0xdc2e8;}get[_0x12b559(0x166)](){return this['_onBeginOverlapDelegate'];}get[_0x12b559(0x167)](){const _0x3fab27=_0x12b559;return this[_0x3fab27(0x137)];}get[_0x12b559(0x157)](){const _0x3cc74e=_0x12b559;return this[_0x3cc74e(0x142)];}constructor(_0x183b4d,_0x458225){const _0x3e7c54=_0x12b559;super(_0x183b4d,_0x458225),this[_0x3e7c54(0x161)]=!![],this[_0x3e7c54(0x13b)]=!![],this[_0x3e7c54(0x155)]=!![],this[_0x3e7c54(0x148)]=CollisionChannel[_0x3e7c54(0x151)],this[_0x3e7c54(0x13e)]={},this[_0x3e7c54(0x15f)]=new Delegate(),this['_onEndOverlapDelegate']=new Delegate(),this[_0x3e7c54(0x142)]=new Delegate(),this[_0x3e7c54(0x140)]=![],this[_0x3e7c54(0x133)]=![],this['_debugColor']=0xff00,this[_0x3e7c54(0x169)]=0.25,this[_0x3e7c54(0x16d)]=null,this['name']=_0x3e7c54(0x13d);}[_0x12b559(0x15b)](_0x10dd9d,_0x23eba4){const _0x4a73d1=_0x12b559;this[_0x4a73d1(0x13e)][_0x10dd9d]=_0x23eba4;}[_0x12b559(0x136)](_0x3e62cd){const _0x342596=_0x12b559;this[_0x342596(0x13e)]=Object[_0x342596(0x132)]({},_0x3e62cd);}[_0x12b559(0x149)](_0x3ee3f5){const _0x5c1c2a=_0x12b559;var _0x4c91f3;return (_0x4c91f3=this[_0x5c1c2a(0x13e)][_0x3ee3f5])!==null&&_0x4c91f3!==void 0?_0x4c91f3:CollisionResponse[_0x5c1c2a(0x146)];}[_0x12b559(0x144)](_0x5768a7){const _0x3d7990=_0x12b559,_0x583cc0=this[_0x3d7990(0x149)](_0x5768a7[_0x3d7990(0x160)]),_0x25d3f4=_0x5768a7[_0x3d7990(0x149)](this[_0x3d7990(0x160)]);if(_0x583cc0===CollisionResponse['Ignore']||_0x25d3f4===CollisionResponse[_0x3d7990(0x15d)])return CollisionResponse[_0x3d7990(0x15d)];if(_0x583cc0===CollisionResponse[_0x3d7990(0x146)]||_0x25d3f4===CollisionResponse[_0x3d7990(0x146)])return CollisionResponse[_0x3d7990(0x146)];return CollisionResponse[_0x3d7990(0x170)];}['tick'](_0x510120){const _0x9d0721=_0x12b559;super[_0x9d0721(0x13a)](_0x510120),this[_0x9d0721(0x133)]&&this[_0x9d0721(0x13c)](_0x510120);}[_0x12b559(0x139)](_0x3b9db6){const _0x5c4ff6=_0x12b559;super[_0x5c4ff6(0x139)](_0x3b9db6),!this[_0x5c4ff6(0x140)]&&(this[_0x5c4ff6(0x15e)][_0x5c4ff6(0x14e)]['registerCollider'](this),this[_0x5c4ff6(0x140)]=!![]);}[_0x12b559(0x138)](){const _0x13fd63=_0x12b559;this['_debugEnabled']&&(this[_0x13fd63(0x131)](),this[_0x13fd63(0x133)]=![]),this[_0x13fd63(0x140)]&&(this[_0x13fd63(0x15e)]['physics'][_0x13fd63(0x16a)](this),this['_registeredInWorld']=![]),super[_0x13fd63(0x138)]();}['getDebugAttachParent'](){const _0x3bf0ab=_0x12b559;return this[_0x3bf0ab(0x135)];}['createDebugObject'](){return null;}['destroyDebugObject'](_0x28f0b1){return;}[_0x12b559(0x13c)](_0x13a699){return;}[_0x12b559(0x143)](){return;}[_0x12b559(0x165)](){const _0x36c355=_0x12b559;if(this[_0x36c355(0x16d)])return;const _0x497fbc=this['getDebugAttachParent'](),_0x1903e1=this[_0x36c355(0x145)]();if(!_0x1903e1)return;this[_0x36c355(0x16d)]=_0x1903e1,_0x1903e1['traverse'](_0x49d8a6=>{const _0x1727f7=_0x36c355;_0x49d8a6[_0x1727f7(0x16c)][_0x1727f7(0x13f)]=!![];}),_0x497fbc&&_0x497fbc[_0x36c355(0x147)](_0x1903e1),this['onDebugStyleChanged']();}[_0x12b559(0x131)](){const _0x1f9b3f=_0x12b559,_0x2bf7fb=this[_0x1f9b3f(0x16d)];if(!_0x2bf7fb)return;this[_0x1f9b3f(0x16e)](_0x2bf7fb),_0x2bf7fb[_0x1f9b3f(0x16b)]&&_0x2bf7fb[_0x1f9b3f(0x16b)][_0x1f9b3f(0x15a)](_0x2bf7fb),this['_debugObject']=null;}}
|
|
145
145
|
|
|
146
|
-
function _0x356d(_0x4d930b,_0x2f5d88){_0x4d930b=_0x4d930b-0x1eb;const _0x172aed=_0x172a();let _0x356d4d=_0x172aed[_0x4d930b];return _0x356d4d;}const _0x3fccc3=_0x356d;(function(_0x46389a,_0x16310d){const _0xfa5615=_0x356d,_0x37cd03=_0x46389a();while(!![]){try{const _0x104460=parseInt(_0xfa5615(0x221))/0x1*(parseInt(_0xfa5615(0x216))/0x2)+parseInt(_0xfa5615(0x229))/0x3*(-parseInt(_0xfa5615(0x213))/0x4)+-parseInt(_0xfa5615(0x205))/0x5*(-parseInt(_0xfa5615(0x219))/0x6)+-parseInt(_0xfa5615(0x20c))/0x7*(parseInt(_0xfa5615(0x227))/0x8)+-parseInt(_0xfa5615(0x22d))/0x9+parseInt(_0xfa5615(0x1f2))/0xa*(-parseInt(_0xfa5615(0x223))/0xb)+parseInt(_0xfa5615(0x226))/0xc*(parseInt(_0xfa5615(0x1f3))/0xd);if(_0x104460===_0x16310d)break;else _0x37cd03['push'](_0x37cd03['shift']());}catch(_0x380be1){_0x37cd03['push'](_0x37cd03['shift']());}}}(_0x172a,0x7bee7));function _0x172a(){const _0x16d2ee=['Overlap','copy','lengthSq','2815QwZgDK','_tmpBA','423566UDoNMs','raycastSphere','_tmpPoint','168rawckA','277288nJMmMS','_tmpB','3OxyEnL','getWorldScale','_debugTop','distance','7561575ZzTsFG','halfHeight','Trigger','_debugRoot','add','scale','max','set','20yOsxcS','2370329RMTTma','getWorldPosition','onDebugStyleChanged','setCollisionResponse','_tmpA','debugOpacity','_tmpNormal','multiplyScalar','CapsuleColliderComponent','raycast','position','CapsuleColliderDebug','clone','_debugBottom','_debugCylinder','_radius','makeSphereHit','Pawn','1120WFPbUw','material','createDebugObject','getWorldAABB','onDebugTick','_halfHeight','radius','70vwXSKh','_tmpOA','dot','sqrt','opacity','transparent','needsUpdate','3549024wWiDlM','name','setHex','68pmCuzU','normal','point','276YcXKDc','abs','traverse','objectType','sub'];_0x172a=function(){return _0x16d2ee;};return _0x172a();}class CapsuleColliderComponent extends ColliderComponent{get[_0x3fccc3(0x20b)](){const _0x46a2f8=_0x3fccc3;return this[_0x46a2f8(0x202)];}get[_0x3fccc3(0x1eb)](){const _0x3b55a4=_0x3fccc3;return this[_0x3b55a4(0x20a)];}constructor(_0x5e1799,_0x43b49d=0.35,_0x3ff6e7=0.5,_0x3fc92d){const _0x47ff21=_0x3fccc3;super(_0x5e1799,_0x3fc92d),this[_0x47ff21(0x1ed)]=null,this[_0x47ff21(0x201)]=null,this[_0x47ff21(0x22b)]=null,this[_0x47ff21(0x200)]=null,this['_tmpA']=new Vector3(),this[_0x47ff21(0x228)]=new Vector3(),this['_tmpBA']=new Vector3(),this['_tmpOA']=new Vector3(),this[_0x47ff21(0x225)]=new Vector3(),this[_0x47ff21(0x1f9)]=new Vector3(),this['_radius']=Math['max'](0x0,_0x43b49d),this['_halfHeight']=Math['max'](0x0,_0x3ff6e7),this[_0x47ff21(0x21c)]=CollisionChannel[_0x47ff21(0x204)],this['setCollisionResponse'](CollisionChannel[_0x47ff21(0x204)],CollisionResponse['Ignore']),this[_0x47ff21(0x1f6)](CollisionChannel[_0x47ff21(0x1ec)],CollisionResponse[_0x47ff21(0x21e)]),this[_0x47ff21(0x214)]=_0x47ff21(0x1fb);}[_0x3fccc3(0x208)](_0x178198=new Box3()){const _0x1d4d05=_0x3fccc3,_0x5ea33a=this[_0x1d4d05(0x1f4)](),_0x51e466=this[_0x1d4d05(0x22a)](),_0x142b09=Math['abs'](_0x51e466['x'])>1e-8?Math['abs'](_0x51e466['x']):0x1,_0x17a7e0=Math['abs'](_0x51e466['y'])>1e-8?Math['abs'](_0x51e466['y']):0x1,_0x5b41d7=Math[_0x1d4d05(0x21a)](_0x51e466['z'])>1e-8?Math[_0x1d4d05(0x21a)](_0x51e466['z']):0x1,_0x2010d7=this[_0x1d4d05(0x202)]*Math['max'](_0x142b09,_0x5b41d7),_0x47abff=this[_0x1d4d05(0x20a)]*_0x17a7e0,_0x56126c=new Vector3(_0x5ea33a['x']-_0x2010d7,_0x5ea33a['y']-_0x47abff-_0x2010d7,_0x5ea33a['z']-_0x2010d7),_0x5052e5=new Vector3(_0x5ea33a['x']+_0x2010d7,_0x5ea33a['y']+_0x47abff+_0x2010d7,_0x5ea33a['z']+_0x2010d7);return _0x178198[_0x1d4d05(0x1f1)](_0x56126c,_0x5052e5),_0x178198;}[_0x3fccc3(0x1fc)](_0x3eac41,_0x2ee79c,_0xf99e6a){const _0x3b9b16=_0x3fccc3;if(_0xf99e6a<=0.000001)return null;const _0x5e7a95=this[_0x3b9b16(0x1f4)](),_0xb43074=this[_0x3b9b16(0x22a)](),_0x1f3cc6=Math['abs'](_0xb43074['x'])>1e-8?Math[_0x3b9b16(0x21a)](_0xb43074['x']):0x1,_0x16f237=Math[_0x3b9b16(0x21a)](_0xb43074['y'])>1e-8?Math[_0x3b9b16(0x21a)](_0xb43074['y']):0x1,_0x4ceb88=Math[_0x3b9b16(0x21a)](_0xb43074['z'])>1e-8?Math['abs'](_0xb43074['z']):0x1,_0x177a72=this[_0x3b9b16(0x202)]*Math[_0x3b9b16(0x1f0)](_0x1f3cc6,_0x4ceb88),_0x52325d=this[_0x3b9b16(0x20a)]*_0x16f237,_0x289309=this[_0x3b9b16(0x1f7)]['copy'](_0x5e7a95)[_0x3b9b16(0x1ee)](new Vector3(0x0,-_0x52325d,0x0)),_0x11fc17=this['_tmpB'][_0x3b9b16(0x21f)](_0x5e7a95)['add'](new Vector3(0x0,_0x52325d,0x0)),_0x6f718e=this[_0x3b9b16(0x222)][_0x3b9b16(0x21f)](_0x11fc17)['sub'](_0x289309),_0x52f869=this[_0x3b9b16(0x20d)][_0x3b9b16(0x21f)](_0x3eac41)['sub'](_0x289309),_0x2506a1=_0x6f718e[_0x3b9b16(0x20e)](_0x6f718e),_0x41c8ee=_0x6f718e[_0x3b9b16(0x20e)](_0x2ee79c),_0x34f4dc=_0x6f718e['dot'](_0x52f869),_0x5e8c8b=_0x2ee79c['dot'](_0x52f869),_0x1eb87d=_0x52f869['dot'](_0x52f869),_0x28482b=_0x177a72*_0x177a72,_0x218931=_0x2506a1-_0x41c8ee*_0x41c8ee,_0x513296=_0x2506a1*_0x5e8c8b-_0x34f4dc*_0x41c8ee,_0x27f0d2=_0x2506a1*(_0x1eb87d-_0x28482b)-_0x34f4dc*_0x34f4dc;let _0xbae543=Infinity,_0x49eb04=null,_0x21dec0=null;const _0x17097d=1e-10;if(Math[_0x3b9b16(0x21a)](_0x218931)>_0x17097d){const _0x2f7f9e=_0x513296*_0x513296-_0x218931*_0x27f0d2;if(_0x2f7f9e>=0x0){const _0xcb30b8=(-_0x513296-Math[_0x3b9b16(0x20f)](_0x2f7f9e))/_0x218931,_0x33927c=_0x34f4dc+_0xcb30b8*_0x41c8ee;if(_0xcb30b8>=0x0&&_0xcb30b8<=_0xf99e6a&&_0x33927c>0x0&&_0x33927c<_0x2506a1){_0xbae543=_0xcb30b8,_0x49eb04=this['_tmpPoint']['copy'](_0x2ee79c)[_0x3b9b16(0x1fa)](_0xcb30b8)[_0x3b9b16(0x1ee)](_0x3eac41);const _0x2ebfa2=this[_0x3b9b16(0x1f9)]['copy'](_0x6f718e)[_0x3b9b16(0x1fa)](_0x33927c/_0x2506a1)[_0x3b9b16(0x1ee)](_0x289309);_0x21dec0=this[_0x3b9b16(0x1f9)][_0x3b9b16(0x21f)](_0x49eb04)[_0x3b9b16(0x21d)](_0x2ebfa2);const _0x160a0c=_0x21dec0[_0x3b9b16(0x220)]();_0x160a0c>1e-12?_0x21dec0[_0x3b9b16(0x1fa)](0x1/Math['sqrt'](_0x160a0c)):_0x21dec0['set'](0x0,0x1,0x0);}}}const _0x6db663=this['raycastSphere'](_0x3eac41,_0x2ee79c,_0xf99e6a,_0x289309,_0x177a72);_0x6db663&&_0x6db663[_0x3b9b16(0x22c)]<_0xbae543&&(_0xbae543=_0x6db663[_0x3b9b16(0x22c)],_0x49eb04=_0x6db663['point'],_0x21dec0=_0x6db663[_0x3b9b16(0x217)]);const _0x368aed=this[_0x3b9b16(0x224)](_0x3eac41,_0x2ee79c,_0xf99e6a,_0x11fc17,_0x177a72);_0x368aed&&_0x368aed[_0x3b9b16(0x22c)]<_0xbae543&&(_0xbae543=_0x368aed[_0x3b9b16(0x22c)],_0x49eb04=_0x368aed[_0x3b9b16(0x218)],_0x21dec0=_0x368aed[_0x3b9b16(0x217)]);if(!_0x49eb04||!_0x21dec0||!Number['isFinite'](_0xbae543))return null;return {'point':_0x49eb04[_0x3b9b16(0x1ff)](),'normal':_0x21dec0['clone'](),'distance':_0xbae543};}[_0x3fccc3(0x224)](_0x32abe2,_0x345d00,_0x281cee,_0x33ad2c,_0x3ba30c){const _0x97edab=_0x3fccc3,_0x5defe6=_0x32abe2[_0x97edab(0x1ff)]()[_0x97edab(0x21d)](_0x33ad2c),_0x4cd03c=_0x5defe6[_0x97edab(0x20e)](_0x345d00),_0xbbdebe=_0x5defe6[_0x97edab(0x20e)](_0x5defe6)-_0x3ba30c*_0x3ba30c,_0x5206ce=_0x4cd03c*_0x4cd03c-_0xbbdebe;if(_0x5206ce<0x0)return null;const _0x2c22ce=Math[_0x97edab(0x20f)](_0x5206ce),_0x270c64=-_0x4cd03c-_0x2c22ce;if(_0x270c64<0x0||_0x270c64>_0x281cee){const _0x5095a2=-_0x4cd03c+_0x2c22ce;if(_0x5095a2<0x0||_0x5095a2>_0x281cee)return null;return this[_0x97edab(0x203)](_0x32abe2,_0x345d00,_0x5095a2,_0x33ad2c);}return this[_0x97edab(0x203)](_0x32abe2,_0x345d00,_0x270c64,_0x33ad2c);}[_0x3fccc3(0x203)](_0x9466fa,_0x505e1c,_0x4c0fee,_0x56b206){const _0x3bc1c2=_0x3fccc3,_0x3e0812=_0x9466fa[_0x3bc1c2(0x1ff)]()[_0x3bc1c2(0x1ee)](_0x505e1c[_0x3bc1c2(0x1ff)]()[_0x3bc1c2(0x1fa)](_0x4c0fee)),_0x636dae=_0x3e0812[_0x3bc1c2(0x1ff)]()[_0x3bc1c2(0x21d)](_0x56b206),_0x3b1030=_0x636dae['lengthSq']();return _0x3b1030>1e-12?_0x636dae[_0x3bc1c2(0x1fa)](0x1/Math[_0x3bc1c2(0x20f)](_0x3b1030)):_0x636dae[_0x3bc1c2(0x1f1)](0x0,0x1,0x0),{'point':_0x3e0812,'normal':_0x636dae,'distance':_0x4c0fee};}[_0x3fccc3(0x207)](){const _0x22d5e4=_0x3fccc3,_0x3469e8=new Object3D();_0x3469e8[_0x22d5e4(0x214)]=_0x22d5e4(0x1fe);const _0x3ed123=new MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x22d5e4(0x1f8)]}),_0x42f55b=Math[_0x22d5e4(0x1f0)](0.000001,this[_0x22d5e4(0x202)]),_0x59fadb=Math[_0x22d5e4(0x1f0)](0.000001,this[_0x22d5e4(0x20a)]*0x2),_0x10f10d=new Mesh(new CylinderGeometry(_0x42f55b,_0x42f55b,_0x59fadb,0xc,0x1,!![]),_0x3ed123),_0x1aefdd=new Mesh(new SphereGeometry(_0x42f55b,0xc,0x8),_0x3ed123),_0x1b1f82=new Mesh(new SphereGeometry(_0x42f55b,0xc,0x8),_0x3ed123);return _0x1aefdd[_0x22d5e4(0x1fd)]['set'](0x0,this[_0x22d5e4(0x20a)],0x0),_0x1b1f82[_0x22d5e4(0x1fd)][_0x22d5e4(0x1f1)](0x0,-this[_0x22d5e4(0x20a)],0x0),_0x3469e8['add'](_0x10f10d),_0x3469e8[_0x22d5e4(0x1ee)](_0x1aefdd),_0x3469e8['add'](_0x1b1f82),this[_0x22d5e4(0x1ed)]=_0x3469e8,this['_debugCylinder']=_0x10f10d,this[_0x22d5e4(0x22b)]=_0x1aefdd,this['_debugBottom']=_0x1b1f82,this[_0x22d5e4(0x209)](0x0),_0x3469e8;}['destroyDebugObject'](_0x22f513){const _0x52adb4=_0x3fccc3;this[_0x52adb4(0x1ed)]=null,this[_0x52adb4(0x201)]=null,this['_debugTop']=null,this[_0x52adb4(0x200)]=null;}[_0x3fccc3(0x209)](_0x196bec){const _0x35bf24=_0x3fccc3,_0x566412=this[_0x35bf24(0x201)],_0x1fc4ef=this['_debugTop'],_0x1ab602=this[_0x35bf24(0x200)];if(!_0x566412||!_0x1fc4ef||!_0x1ab602)return;const _0x150cbb=this[_0x35bf24(0x22a)](),_0xc3cc87=Math['abs'](_0x150cbb['x'])>1e-8?_0x150cbb['x']:0x1,_0x98c16c=Math[_0x35bf24(0x21a)](_0x150cbb['y'])>1e-8?_0x150cbb['y']:0x1,_0x223a1f=Math[_0x35bf24(0x21a)](_0x150cbb['z'])>1e-8?_0x150cbb['z']:0x1,_0x258b4b=Math[_0x35bf24(0x1f0)](0.000001,this[_0x35bf24(0x202)])*Math[_0x35bf24(0x1f0)](Math[_0x35bf24(0x21a)](_0xc3cc87),Math[_0x35bf24(0x21a)](_0x223a1f)),_0x514246=Math[_0x35bf24(0x1f0)](0x0,this[_0x35bf24(0x20a)])*Math['abs'](_0x98c16c);_0x566412['scale']['set'](_0x258b4b/_0xc3cc87,_0x514246*0x2/_0x98c16c,_0x258b4b/_0x223a1f),_0x1fc4ef[_0x35bf24(0x1ef)][_0x35bf24(0x1f1)](_0x258b4b/_0xc3cc87,_0x258b4b/_0x98c16c,_0x258b4b/_0x223a1f),_0x1ab602['scale'][_0x35bf24(0x1f1)](_0x258b4b/_0xc3cc87,_0x258b4b/_0x98c16c,_0x258b4b/_0x223a1f),_0x1fc4ef[_0x35bf24(0x1fd)][_0x35bf24(0x1f1)](0x0,_0x514246/_0x98c16c,0x0),_0x1ab602[_0x35bf24(0x1fd)][_0x35bf24(0x1f1)](0x0,-_0x514246/_0x98c16c,0x0);}[_0x3fccc3(0x1f5)](){const _0x19680a=_0x3fccc3,_0xd29d6c=this[_0x19680a(0x1ed)];if(!_0xd29d6c)return;_0xd29d6c[_0x19680a(0x21b)](_0x461788=>{const _0x510438=_0x19680a,_0x3bb2ad=_0x461788,_0x4579fe=_0x3bb2ad[_0x510438(0x206)];if(!_0x4579fe)return;_0x4579fe['color'][_0x510438(0x215)](this['debugColor']),_0x4579fe[_0x510438(0x210)]=this[_0x510438(0x1f8)],_0x4579fe[_0x510438(0x211)]=this[_0x510438(0x1f8)]<0x1,_0x4579fe[_0x510438(0x212)]=!![];});}}
|
|
146
|
+
const _0x10d366=_0x18da;(function(_0x509ad3,_0x5cbc17){const _0x364062=_0x18da,_0x4adec1=_0x509ad3();while(!![]){try{const _0x2c9b30=-parseInt(_0x364062(0x89))/0x1+parseInt(_0x364062(0x77))/0x2*(-parseInt(_0x364062(0x86))/0x3)+-parseInt(_0x364062(0x79))/0x4+-parseInt(_0x364062(0x96))/0x5+-parseInt(_0x364062(0x9a))/0x6+parseInt(_0x364062(0x7f))/0x7+parseInt(_0x364062(0x7e))/0x8;if(_0x2c9b30===_0x5cbc17)break;else _0x4adec1['push'](_0x4adec1['shift']());}catch(_0xee37b8){_0x4adec1['push'](_0x4adec1['shift']());}}}(_0x2dd5,0x6e586));function _0x18da(_0x259da3,_0x5f2a6c){_0x259da3=_0x259da3-0x70;const _0x2dd57f=_0x2dd5();let _0x18da88=_0x2dd57f[_0x259da3];return _0x18da88;}function _0x2dd5(){const _0x3e748a=['max','scale','point','multiplyScalar','862503ggUydu','dot','sqrt','615003tSgJah','_radius','needsUpdate','_halfHeight','setCollisionResponse','setHex','radius','_debugCylinder','CapsuleColliderDebug','_debugRoot','_tmpB','getWorldPosition','_tmpPoint','143010acDKUP','makeSphereHit','Pawn','opacity','2401758rJMXKc','color','distance','destroyDebugObject','sub','_tmpA','set','debugOpacity','add','copy','clone','_debugTop','halfHeight','transparent','_debugBottom','Overlap','createDebugObject','onDebugStyleChanged','getWorldAABB','_tmpBA','objectType','isFinite','lengthSq','abs','material','raycast','Ignore','6uMkQyG','raycastSphere','1478640yMpxJw','name','getWorldScale','_tmpNormal','position','15303488bskzwV','5705693BIhKnD','normal','_tmpOA'];_0x2dd5=function(){return _0x3e748a;};return _0x2dd5();}class CapsuleColliderComponent extends ColliderComponent{get[_0x10d366(0x8f)](){const _0xdea77d=_0x10d366;return this[_0xdea77d(0x8a)];}get[_0x10d366(0xa6)](){const _0x23aa72=_0x10d366;return this[_0x23aa72(0x8c)];}constructor(_0x413ad0,_0x44f526=0.35,_0x478aee=0.5,_0x54431f){const _0x5b8f5f=_0x10d366;super(_0x413ad0,_0x54431f),this[_0x5b8f5f(0x92)]=null,this[_0x5b8f5f(0x90)]=null,this[_0x5b8f5f(0xa5)]=null,this['_debugBottom']=null,this[_0x5b8f5f(0x9f)]=new Vector3(),this[_0x5b8f5f(0x93)]=new Vector3(),this[_0x5b8f5f(0xad)]=new Vector3(),this[_0x5b8f5f(0x81)]=new Vector3(),this[_0x5b8f5f(0x95)]=new Vector3(),this['_tmpNormal']=new Vector3(),this[_0x5b8f5f(0x8a)]=Math['max'](0x0,_0x44f526),this['_halfHeight']=Math[_0x5b8f5f(0x82)](0x0,_0x478aee),this[_0x5b8f5f(0x70)]=CollisionChannel['Pawn'],this[_0x5b8f5f(0x8d)](CollisionChannel[_0x5b8f5f(0x98)],CollisionResponse[_0x5b8f5f(0x76)]),this[_0x5b8f5f(0x8d)](CollisionChannel['Trigger'],CollisionResponse[_0x5b8f5f(0xa9)]),this[_0x5b8f5f(0x7a)]='CapsuleColliderComponent';}[_0x10d366(0xac)](_0x5413f3=new Box3()){const _0x4f0a36=_0x10d366,_0x2a95f9=this[_0x4f0a36(0x94)](),_0x4b179d=this['getWorldScale'](),_0x514404=Math[_0x4f0a36(0x73)](_0x4b179d['x'])>1e-8?Math[_0x4f0a36(0x73)](_0x4b179d['x']):0x1,_0x4210ae=Math[_0x4f0a36(0x73)](_0x4b179d['y'])>1e-8?Math[_0x4f0a36(0x73)](_0x4b179d['y']):0x1,_0x19999c=Math[_0x4f0a36(0x73)](_0x4b179d['z'])>1e-8?Math['abs'](_0x4b179d['z']):0x1,_0x364919=this[_0x4f0a36(0x8a)]*Math['max'](_0x514404,_0x19999c),_0xf294a1=this[_0x4f0a36(0x8c)]*_0x4210ae,_0x309d50=new Vector3(_0x2a95f9['x']-_0x364919,_0x2a95f9['y']-_0xf294a1-_0x364919,_0x2a95f9['z']-_0x364919),_0x34a4bc=new Vector3(_0x2a95f9['x']+_0x364919,_0x2a95f9['y']+_0xf294a1+_0x364919,_0x2a95f9['z']+_0x364919);return _0x5413f3[_0x4f0a36(0xa0)](_0x309d50,_0x34a4bc),_0x5413f3;}[_0x10d366(0x75)](_0x540374,_0x1a4d28,_0xfa2624){const _0x457458=_0x10d366;if(_0xfa2624<=0.000001)return null;const _0x13d6d1=this[_0x457458(0x94)](),_0x5db842=this[_0x457458(0x7b)](),_0x1d8370=Math[_0x457458(0x73)](_0x5db842['x'])>1e-8?Math[_0x457458(0x73)](_0x5db842['x']):0x1,_0x4c3f34=Math[_0x457458(0x73)](_0x5db842['y'])>1e-8?Math[_0x457458(0x73)](_0x5db842['y']):0x1,_0x5343f6=Math[_0x457458(0x73)](_0x5db842['z'])>1e-8?Math[_0x457458(0x73)](_0x5db842['z']):0x1,_0x2a1fec=this[_0x457458(0x8a)]*Math[_0x457458(0x82)](_0x1d8370,_0x5343f6),_0x3e64a2=this[_0x457458(0x8c)]*_0x4c3f34,_0x5cdf18=this[_0x457458(0x9f)][_0x457458(0xa3)](_0x13d6d1)[_0x457458(0xa2)](new Vector3(0x0,-_0x3e64a2,0x0)),_0x20ac75=this['_tmpB'][_0x457458(0xa3)](_0x13d6d1)[_0x457458(0xa2)](new Vector3(0x0,_0x3e64a2,0x0)),_0x2a3e63=this[_0x457458(0xad)][_0x457458(0xa3)](_0x20ac75)[_0x457458(0x9e)](_0x5cdf18),_0x5a5a7e=this[_0x457458(0x81)][_0x457458(0xa3)](_0x540374)[_0x457458(0x9e)](_0x5cdf18),_0xaca8fe=_0x2a3e63[_0x457458(0x87)](_0x2a3e63),_0x1fe1de=_0x2a3e63['dot'](_0x1a4d28),_0x4cdca1=_0x2a3e63['dot'](_0x5a5a7e),_0x50d7fa=_0x1a4d28[_0x457458(0x87)](_0x5a5a7e),_0x4e3e7c=_0x5a5a7e[_0x457458(0x87)](_0x5a5a7e),_0x138b5b=_0x2a1fec*_0x2a1fec,_0x58d359=_0xaca8fe-_0x1fe1de*_0x1fe1de,_0x42688f=_0xaca8fe*_0x50d7fa-_0x4cdca1*_0x1fe1de,_0x3ac4eb=_0xaca8fe*(_0x4e3e7c-_0x138b5b)-_0x4cdca1*_0x4cdca1;let _0x3749a=Infinity,_0x2e3236=null,_0x59756c=null;const _0x402ad5=1e-10;if(Math[_0x457458(0x73)](_0x58d359)>_0x402ad5){const _0x53414d=_0x42688f*_0x42688f-_0x58d359*_0x3ac4eb;if(_0x53414d>=0x0){const _0x56343a=(-_0x42688f-Math[_0x457458(0x88)](_0x53414d))/_0x58d359,_0x3f2335=_0x4cdca1+_0x56343a*_0x1fe1de;if(_0x56343a>=0x0&&_0x56343a<=_0xfa2624&&_0x3f2335>0x0&&_0x3f2335<_0xaca8fe){_0x3749a=_0x56343a,_0x2e3236=this[_0x457458(0x95)]['copy'](_0x1a4d28)[_0x457458(0x85)](_0x56343a)[_0x457458(0xa2)](_0x540374);const _0x1e95bf=this[_0x457458(0x7c)][_0x457458(0xa3)](_0x2a3e63)[_0x457458(0x85)](_0x3f2335/_0xaca8fe)[_0x457458(0xa2)](_0x5cdf18);_0x59756c=this[_0x457458(0x7c)]['copy'](_0x2e3236)['sub'](_0x1e95bf);const _0x4b9831=_0x59756c['lengthSq']();_0x4b9831>1e-12?_0x59756c[_0x457458(0x85)](0x1/Math[_0x457458(0x88)](_0x4b9831)):_0x59756c[_0x457458(0xa0)](0x0,0x1,0x0);}}}const _0x2e9ace=this['raycastSphere'](_0x540374,_0x1a4d28,_0xfa2624,_0x5cdf18,_0x2a1fec);_0x2e9ace&&_0x2e9ace[_0x457458(0x9c)]<_0x3749a&&(_0x3749a=_0x2e9ace[_0x457458(0x9c)],_0x2e3236=_0x2e9ace[_0x457458(0x84)],_0x59756c=_0x2e9ace[_0x457458(0x80)]);const _0x2ade1b=this[_0x457458(0x78)](_0x540374,_0x1a4d28,_0xfa2624,_0x20ac75,_0x2a1fec);_0x2ade1b&&_0x2ade1b[_0x457458(0x9c)]<_0x3749a&&(_0x3749a=_0x2ade1b[_0x457458(0x9c)],_0x2e3236=_0x2ade1b[_0x457458(0x84)],_0x59756c=_0x2ade1b[_0x457458(0x80)]);if(!_0x2e3236||!_0x59756c||!Number[_0x457458(0x71)](_0x3749a))return null;return {'point':_0x2e3236['clone'](),'normal':_0x59756c[_0x457458(0xa4)](),'distance':_0x3749a};}[_0x10d366(0x78)](_0x33c7fc,_0x4e2ff8,_0x3849d8,_0x1b90b8,_0x39ae54){const _0x426e55=_0x10d366,_0x466348=_0x33c7fc[_0x426e55(0xa4)]()['sub'](_0x1b90b8),_0x4646f4=_0x466348[_0x426e55(0x87)](_0x4e2ff8),_0x3a8ae9=_0x466348[_0x426e55(0x87)](_0x466348)-_0x39ae54*_0x39ae54,_0x489c63=_0x4646f4*_0x4646f4-_0x3a8ae9;if(_0x489c63<0x0)return null;const _0x330f63=Math['sqrt'](_0x489c63),_0x42a5a6=-_0x4646f4-_0x330f63;if(_0x42a5a6<0x0||_0x42a5a6>_0x3849d8){const _0x2aae8c=-_0x4646f4+_0x330f63;if(_0x2aae8c<0x0||_0x2aae8c>_0x3849d8)return null;return this[_0x426e55(0x97)](_0x33c7fc,_0x4e2ff8,_0x2aae8c,_0x1b90b8);}return this[_0x426e55(0x97)](_0x33c7fc,_0x4e2ff8,_0x42a5a6,_0x1b90b8);}[_0x10d366(0x97)](_0x42b0d1,_0x57a262,_0x198c6e,_0x1f4be7){const _0x24daa0=_0x10d366,_0x2654a3=_0x42b0d1[_0x24daa0(0xa4)]()['add'](_0x57a262[_0x24daa0(0xa4)]()['multiplyScalar'](_0x198c6e)),_0x137fff=_0x2654a3[_0x24daa0(0xa4)]()[_0x24daa0(0x9e)](_0x1f4be7),_0xf500e3=_0x137fff[_0x24daa0(0x72)]();return _0xf500e3>1e-12?_0x137fff[_0x24daa0(0x85)](0x1/Math['sqrt'](_0xf500e3)):_0x137fff[_0x24daa0(0xa0)](0x0,0x1,0x0),{'point':_0x2654a3,'normal':_0x137fff,'distance':_0x198c6e};}[_0x10d366(0xaa)](){const _0x17dc41=_0x10d366,_0x5e2c47=new Object3D();_0x5e2c47['name']=_0x17dc41(0x91);const _0xc452cc=new MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x17dc41(0xa1)]}),_0x4de378=Math[_0x17dc41(0x82)](0.000001,this[_0x17dc41(0x8a)]),_0x412061=Math[_0x17dc41(0x82)](0.000001,this[_0x17dc41(0x8c)]*0x2),_0x51e168=new Mesh(new CylinderGeometry(_0x4de378,_0x4de378,_0x412061,0xc,0x1,!![]),_0xc452cc),_0x562a96=new Mesh(new SphereGeometry(_0x4de378,0xc,0x8),_0xc452cc),_0x29ea9b=new Mesh(new SphereGeometry(_0x4de378,0xc,0x8),_0xc452cc);return _0x562a96['position'][_0x17dc41(0xa0)](0x0,this[_0x17dc41(0x8c)],0x0),_0x29ea9b[_0x17dc41(0x7d)]['set'](0x0,-this[_0x17dc41(0x8c)],0x0),_0x5e2c47[_0x17dc41(0xa2)](_0x51e168),_0x5e2c47['add'](_0x562a96),_0x5e2c47[_0x17dc41(0xa2)](_0x29ea9b),this['_debugRoot']=_0x5e2c47,this['_debugCylinder']=_0x51e168,this[_0x17dc41(0xa5)]=_0x562a96,this[_0x17dc41(0xa8)]=_0x29ea9b,this['onDebugTick'](0x0),_0x5e2c47;}[_0x10d366(0x9d)](_0xbfa750){const _0x40d9c5=_0x10d366;this[_0x40d9c5(0x92)]=null,this[_0x40d9c5(0x90)]=null,this['_debugTop']=null,this[_0x40d9c5(0xa8)]=null;}['onDebugTick'](_0x5a5c6c){const _0x1cb47d=_0x10d366,_0xe7c56e=this[_0x1cb47d(0x90)],_0x269110=this[_0x1cb47d(0xa5)],_0x1408d2=this['_debugBottom'];if(!_0xe7c56e||!_0x269110||!_0x1408d2)return;const _0x1f1307=this['getWorldScale'](),_0x50bf50=Math[_0x1cb47d(0x73)](_0x1f1307['x'])>1e-8?_0x1f1307['x']:0x1,_0x40fd63=Math[_0x1cb47d(0x73)](_0x1f1307['y'])>1e-8?_0x1f1307['y']:0x1,_0x7b9c59=Math['abs'](_0x1f1307['z'])>1e-8?_0x1f1307['z']:0x1,_0x1e9ad0=Math[_0x1cb47d(0x82)](0.000001,this[_0x1cb47d(0x8a)])*Math[_0x1cb47d(0x82)](Math[_0x1cb47d(0x73)](_0x50bf50),Math['abs'](_0x7b9c59)),_0x3895ab=Math['max'](0x0,this[_0x1cb47d(0x8c)])*Math['abs'](_0x40fd63);_0xe7c56e[_0x1cb47d(0x83)][_0x1cb47d(0xa0)](_0x1e9ad0/_0x50bf50,_0x3895ab*0x2/_0x40fd63,_0x1e9ad0/_0x7b9c59),_0x269110[_0x1cb47d(0x83)][_0x1cb47d(0xa0)](_0x1e9ad0/_0x50bf50,_0x1e9ad0/_0x40fd63,_0x1e9ad0/_0x7b9c59),_0x1408d2[_0x1cb47d(0x83)][_0x1cb47d(0xa0)](_0x1e9ad0/_0x50bf50,_0x1e9ad0/_0x40fd63,_0x1e9ad0/_0x7b9c59),_0x269110[_0x1cb47d(0x7d)][_0x1cb47d(0xa0)](0x0,_0x3895ab/_0x40fd63,0x0),_0x1408d2['position'][_0x1cb47d(0xa0)](0x0,-_0x3895ab/_0x40fd63,0x0);}[_0x10d366(0xab)](){const _0x3696cd=this['_debugRoot'];if(!_0x3696cd)return;_0x3696cd['traverse'](_0x153e43=>{const _0x159acb=_0x18da,_0x5e134e=_0x153e43,_0x253c85=_0x5e134e[_0x159acb(0x74)];if(!_0x253c85)return;_0x253c85[_0x159acb(0x9b)][_0x159acb(0x8e)](this['debugColor']),_0x253c85[_0x159acb(0x99)]=this[_0x159acb(0xa1)],_0x253c85[_0x159acb(0xa7)]=this[_0x159acb(0xa1)]<0x1,_0x253c85[_0x159acb(0x8b)]=!![];});}}
|
|
147
147
|
|
|
148
|
-
const _0x161008=_0x3cd6;function _0x214a(){const _0x629a24=['lineTraceMulti','35FyEFeX','syncRotation','_moveUp','onBlur','threeObject','add','sub','lyCameraDragging','applyQuaternion','inputFilter','ShiftLeft','unpossess','requestPointerLock','ShiftRight','ray','24fbInvN','camera','Pawn','643422LRdJkJ','pointerLockElement','gravity','248780RZpbTo','920WHhExc','_targetPos','atan2','movementX','normal','exitPointerLock','app','includes','20lmsoSo','updateCameraFromPawn','onMouseUp','dispose','find','onPointerDownDelegate','_yaw','onPointerLockChange','top','setRotation','asin','setCollisionResponse','_moveRight','onPointerUpDelegate','visible','lengthSq','onPointerMoveDelegate','rotation','remove','buttons','button','getTargetCameraState','controller','viewport','position','YXZ','code','151407vphbCW','collider','parentActor','preventDefault','_moveLeft','width','normalize','physics','26536XQBZRY','_moveBackward','3700sovruo','possess','onPointerLockChangeDelegate','KeyA','clamp','quaternion','onMouseMove','dataset','_pitch','parent','direction','distance','KeyD','Space','5666020nmyOUn','Ignore','moveSpeed','onKeyUpDelegate','onContextMenu','_verticalVelocity','near','onContextMenuDelegate','multiplyScalar','eyeHeight','onKeyDown','isClickEnabled','point','lookSpeed','objectType','Visibility','onClick','copy','tick','setFromEuler','rootComponent','KeyW','material','multiply','2849968iGQrDn','onKeyDownDelegate','clientX','setFromAxisAngle','getPosition','getBoundingClientRect','setPosition','lineTraceSingle','KeyS','ArrowLeft','canvas','blocking','invert','onKeyUp','_moveDown','onRawClickDelegate','constructRootComponent','enableGravity','clone','updateProjectionMatrix','movementY','setFromCamera','_clickMarker','585mnIYzG','geometry','length','onWindowBlurDelegate','order','_isRightDragging','ArrowDown','world','max','setQuaternion','_moveForward','ArrowUp','radius','enabled','getQuaternion','ArrowRight','onMouseDown','setCameraDraggingState'];_0x214a=function(){return _0x629a24;};return _0x214a();}function _0x3cd6(_0x2a5db4,_0x3c88b3){_0x2a5db4=_0x2a5db4-0x140;const _0x214a30=_0x214a();let _0x3cd61c=_0x214a30[_0x2a5db4];return _0x3cd61c;}(function(_0x303e33,_0x4c8a07){const _0x4ea0f7=_0x3cd6,_0x4c9955=_0x303e33();while(!![]){try{const _0x22c2c3=parseInt(_0x4ea0f7(0x15b))/0x1+-parseInt(_0x4ea0f7(0x164))/0x2*(parseInt(_0x4ea0f7(0x17f))/0x3)+parseInt(_0x4ea0f7(0x15c))/0x4*(-parseInt(_0x4ea0f7(0x189))/0x5)+-parseInt(_0x4ea0f7(0x158))/0x6*(parseInt(_0x4ea0f7(0x146))/0x7)+parseInt(_0x4ea0f7(0x187))/0x8*(parseInt(_0x4ea0f7(0x1c6))/0x9)+parseInt(_0x4ea0f7(0x197))/0xa+parseInt(_0x4ea0f7(0x1af))/0xb*(parseInt(_0x4ea0f7(0x155))/0xc);if(_0x22c2c3===_0x4c8a07)break;else _0x4c9955['push'](_0x4c9955['shift']());}catch(_0x189a9d){_0x4c9955['push'](_0x4c9955['shift']());}}}(_0x214a,0x528a8));class FirstPerson extends Pawn{constructor(_0x188fbb){const _0x45a84e=_0x3cd6;super(_0x188fbb),this[_0x45a84e(0x199)]=0xa,this[_0x45a84e(0x1a4)]=0.002,this['enableGravity']=!![],this[_0x45a84e(0x15a)]=0x1e,this[_0x45a84e(0x1a0)]=0.7,this['_verticalVelocity']=0x0,this[_0x45a84e(0x16a)]=0x0,this[_0x45a84e(0x191)]=0x0,this[_0x45a84e(0x15d)]=null,this[_0x45a84e(0x1c5)]=null,this[_0x45a84e(0x1d0)]=![],this[_0x45a84e(0x188)]=![],this[_0x45a84e(0x183)]=![],this['_moveRight']=![],this[_0x45a84e(0x148)]=![],this[_0x45a84e(0x1bd)]=![],this[_0x45a84e(0x1cb)]=![],this['onContextMenu']=_0x364110=>{const _0x8b7c6=_0x45a84e;if(!Pawn[_0x8b7c6(0x14f)]())return;_0x364110[_0x8b7c6(0x182)]();},this[_0x45a84e(0x149)]=()=>{const _0x606d51=_0x45a84e;this[_0x606d51(0x1d0)]=![],this[_0x606d51(0x188)]=![],this[_0x606d51(0x183)]=![],this['_moveRight']=![],this[_0x606d51(0x148)]=![],this[_0x606d51(0x1bd)]=![],this['_isRightDragging']=![],this[_0x606d51(0x144)](![]);},this[_0x45a84e(0x143)]=_0x40be11=>{const _0x3e69bd=_0x45a84e;if(!this['enabled']||!Pawn[_0x3e69bd(0x14f)]())return;if(_0x40be11[_0x3e69bd(0x178)]!==0x2)return;this['_isRightDragging']=!![],this[_0x3e69bd(0x144)](!![]);const _0x5b2a14=this[_0x3e69bd(0x162)][_0x3e69bd(0x17b)][_0x3e69bd(0x1b9)];_0x5b2a14&&document[_0x3e69bd(0x159)]!==_0x5b2a14&&_0x5b2a14[_0x3e69bd(0x152)]();},this[_0x45a84e(0x166)]=_0x3d3358=>{const _0x5de035=_0x45a84e;if(_0x3d3358[_0x5de035(0x178)]!==0x2)return;this[_0x5de035(0x1cb)]=![],this[_0x5de035(0x144)](![]),document[_0x5de035(0x159)]===this[_0x5de035(0x162)]['viewport'][_0x5de035(0x1b9)]&&document[_0x5de035(0x161)]();},this[_0x45a84e(0x1a7)]=_0xeebea2=>{const _0x5d12f8=_0x45a84e;if(!this['enabled']||!Pawn[_0x5d12f8(0x14f)]())return;if(_0xeebea2[_0x5d12f8(0x178)]!==0x0)return;const _0x622a38=this['app'][_0x5d12f8(0x17b)][_0x5d12f8(0x1b9)];if(!_0x622a38||!this['camera'])return;const _0xb9b25a=_0x622a38[_0x5d12f8(0x1b4)](),_0x43f8c1=new Vector2$1((_0xeebea2[_0x5d12f8(0x1b1)]-_0xb9b25a['left'])/_0xb9b25a[_0x5d12f8(0x184)]*0x2-0x1,-((_0xeebea2['clientY']-_0xb9b25a[_0x5d12f8(0x16c)])/_0xb9b25a['height'])*0x2+0x1),_0x2c37ef=new Raycaster();_0x2c37ef[_0x5d12f8(0x1c4)](_0x43f8c1,this['camera']);const _0x3cbcb9=_0x2c37ef[_0x5d12f8(0x154)]['origin'][_0x5d12f8(0x1c1)](),_0x178d4c=_0x3cbcb9[_0x5d12f8(0x1c1)]()[_0x5d12f8(0x14b)](_0x2c37ef[_0x5d12f8(0x154)][_0x5d12f8(0x193)][_0x5d12f8(0x1c1)]()[_0x5d12f8(0x19f)](0x3e8)),_0x1d7dca=this[_0x5d12f8(0x1ab)]instanceof CapsuleColliderComponent?this[_0x5d12f8(0x1ab)]:undefined,_0x58c5a8=this[_0x5d12f8(0x162)][_0x5d12f8(0x1cd)][_0x5d12f8(0x186)][_0x5d12f8(0x145)](_0x3cbcb9,_0x178d4c,CollisionChannel['Pawn'],_0x1d7dca);let _0x396d09=null;for(const _0x5bcc64 of _0x58c5a8){if(!_0x5bcc64[_0x5d12f8(0x1ba)])continue;if(this[_0x5d12f8(0x156)]instanceof PerspectiveCamera){if(_0x5bcc64[_0x5d12f8(0x194)]<this['camera'][_0x5d12f8(0x19d)]*1.5)continue;}const _0x1550df=_0x5bcc64['collider'],_0x54b6ce=_0x1550df&&(_0x1550df[_0x5d12f8(0x1a2)]||_0x1550df[_0x5d12f8(0x181)]&&_0x1550df[_0x5d12f8(0x181)][_0x5d12f8(0x1a2)]),_0x4a0858=_0x5bcc64[_0x5d12f8(0x160)]['y']>0.5;if(!_0x4a0858&&!_0x54b6ce){let _0x531b99=0.5;this['camera']instanceof PerspectiveCamera&&(_0x531b99=this['camera'][_0x5d12f8(0x19d)]*0x2);if(_0x5bcc64['distance']>_0x531b99)break;continue;}_0x396d09=_0x5bcc64;break;}if(_0x396d09){const _0x495fac=_0x396d09[_0x5d12f8(0x180)];if(_0x495fac){if(_0x495fac['isClickEnabled'])return;if(_0x495fac[_0x5d12f8(0x181)]&&_0x495fac[_0x5d12f8(0x181)][_0x5d12f8(0x1a2)])return;}_0x396d09[_0x5d12f8(0x160)]['y']>0.5&&(this[_0x5d12f8(0x15d)]=_0x396d09[_0x5d12f8(0x1a3)]['clone'](),this[_0x5d12f8(0x1c5)]&&(this[_0x5d12f8(0x1c5)][_0x5d12f8(0x17c)][_0x5d12f8(0x1a8)](this[_0x5d12f8(0x15d)]),this['_clickMarker']['visible']=!![]));}},this[_0x45a84e(0x16b)]=()=>{},this[_0x45a84e(0x18f)]=_0x567ad3=>{const _0xb5e59d=_0x45a84e,_0x27db1d=(_0x567ad3[_0xb5e59d(0x177)]&0x2)===0x2;if(_0x27db1d&&!this[_0xb5e59d(0x1cb)])this['_isRightDragging']=!![],this[_0xb5e59d(0x144)](!![]);else !_0x27db1d&&this['_isRightDragging']&&(this['_isRightDragging']=![],this[_0xb5e59d(0x144)](![]));if(document[_0xb5e59d(0x159)]!==this['app']['viewport'][_0xb5e59d(0x1b9)]&&!_0x27db1d)return;if(!this[_0xb5e59d(0x140)]||!Pawn[_0xb5e59d(0x14f)]())return;const _0x25376e=_0x567ad3[_0xb5e59d(0x15f)]||0x0,_0x4c617d=_0x567ad3[_0xb5e59d(0x1c3)]||0x0;this[_0xb5e59d(0x147)](),this[_0xb5e59d(0x16a)]-=_0x25376e*this['lookSpeed'],this['_pitch']-=_0x4c617d*this['lookSpeed'];const _0x36c103=Math['PI']/0x2;this[_0xb5e59d(0x191)]=MathUtils['clamp'](this[_0xb5e59d(0x191)],-_0x36c103+0.001,_0x36c103-0.001);const _0x6496ca=new Quaternion()[_0xb5e59d(0x1b2)](new Vector3(0x0,0x1,0x0),this[_0xb5e59d(0x16a)]);super[_0xb5e59d(0x1cf)](_0x6496ca),this[_0xb5e59d(0x165)]();},this[_0x45a84e(0x1a1)]=_0x1d560d=>{const _0x159672=_0x45a84e;if(!Pawn[_0x159672(0x14f)]())return;if([_0x159672(0x1d1),'KeyW',_0x159672(0x1b8),_0x159672(0x18c),_0x159672(0x1cc),'KeyS',_0x159672(0x142),_0x159672(0x195)][_0x159672(0x163)](_0x1d560d[_0x159672(0x17e)])){this[_0x159672(0x15d)]=null;if(this[_0x159672(0x1c5)])this['_clickMarker'][_0x159672(0x172)]=![];}switch(_0x1d560d[_0x159672(0x17e)]){case _0x159672(0x1d1):case _0x159672(0x1ac):this['_moveForward']=!![];break;case 'ArrowLeft':case _0x159672(0x18c):this[_0x159672(0x183)]=!![];break;case 'ArrowDown':case _0x159672(0x1b7):this[_0x159672(0x188)]=!![];break;case _0x159672(0x142):case _0x159672(0x195):this['_moveRight']=!![];break;case _0x159672(0x196):!this[_0x159672(0x1c0)]&&(this[_0x159672(0x148)]=!![]);break;case _0x159672(0x150):case _0x159672(0x153):this[_0x159672(0x1bd)]=!![];break;}},this['onKeyUp']=_0x2c4b84=>{const _0x425fc6=_0x45a84e;switch(_0x2c4b84[_0x425fc6(0x17e)]){case 'ArrowUp':case _0x425fc6(0x1ac):this[_0x425fc6(0x1d0)]=![];break;case _0x425fc6(0x1b8):case _0x425fc6(0x18c):this['_moveLeft']=![];break;case _0x425fc6(0x1cc):case _0x425fc6(0x1b7):this[_0x425fc6(0x188)]=![];break;case _0x425fc6(0x142):case _0x425fc6(0x195):this[_0x425fc6(0x170)]=![];break;case _0x425fc6(0x196):this[_0x425fc6(0x148)]=![];break;case _0x425fc6(0x150):case _0x425fc6(0x153):this[_0x425fc6(0x1bd)]=![];break;}};}[_0x161008(0x1bf)](){const _0x763e02=_0x161008,_0x39677f=new CapsuleColliderComponent(this['app'],0.35,0.55);return _0x39677f[_0x763e02(0x1a5)]=CollisionChannel[_0x763e02(0x157)],_0x39677f[_0x763e02(0x16f)](CollisionChannel[_0x763e02(0x1a6)],CollisionResponse[_0x763e02(0x198)]),_0x39677f;}['landToGround'](){const _0x47d929=_0x161008,_0xb80981=this[_0x47d929(0x1b3)](),_0x6a135d=_0xb80981[_0x47d929(0x1c1)]()[_0x47d929(0x14b)](new Vector3(0x0,-1e3,0x0)),_0x96217=this['rootComponent'],_0x284437=this[_0x47d929(0x162)][_0x47d929(0x1cd)][_0x47d929(0x186)][_0x47d929(0x1b6)](_0xb80981,_0x6a135d,CollisionChannel[_0x47d929(0x157)],_0x96217);if(_0x284437&&_0x284437[_0x47d929(0x1ba)]){const _0x1aa544=_0x96217['halfHeight']+_0x96217[_0x47d929(0x1d2)],_0x41503c=_0x284437[_0x47d929(0x1a3)]['y']+_0x1aa544;this[_0x47d929(0x1b5)](_0xb80981['x'],_0x41503c,_0xb80981['z']),this[_0x47d929(0x19c)]=0x0;}}[_0x161008(0x147)](){const _0x48d233=_0x161008,_0x31365d=this['getQuaternion'](),_0x34c6a0=new Vector3(0x0,0x0,-1)[_0x48d233(0x14e)](_0x31365d);this['_yaw']=Math[_0x48d233(0x15e)](-_0x34c6a0['x'],-_0x34c6a0['z']);}[_0x161008(0x16d)](..._0x44d337){const _0x6814e1=_0x161008,_0x251701=new Quaternion();_0x44d337[_0x6814e1(0x1c8)]===0x1?_0x251701[_0x6814e1(0x1aa)](_0x44d337[0x0]):_0x251701[_0x6814e1(0x1aa)](new Euler(_0x44d337[0x0],_0x44d337[0x1],_0x44d337[0x2],_0x6814e1(0x17d))),this[_0x6814e1(0x1cf)](_0x251701);}[_0x161008(0x1cf)](..._0x3db44c){const _0x2e43d2=_0x161008;let _0x179434;_0x3db44c['length']===0x1?_0x179434=_0x3db44c[0x0]:_0x179434=new Quaternion(_0x3db44c[0x0],_0x3db44c[0x1],_0x3db44c[0x2],_0x3db44c[0x3]);const _0x500057=new Vector3(0x0,0x0,-1)[_0x2e43d2(0x14e)](_0x179434);let _0x1b04c9=Math[_0x2e43d2(0x16e)](MathUtils[_0x2e43d2(0x18d)](_0x500057['y'],-1,0x1));const _0x49c82c=Math['PI']/0x2;_0x1b04c9=MathUtils['clamp'](_0x1b04c9,-_0x49c82c+0.001,_0x49c82c-0.001);const _0x2a8e4b=Math[_0x2e43d2(0x15e)](-_0x500057['x'],-_0x500057['z']);this['_pitch']=_0x1b04c9,this[_0x2e43d2(0x16a)]=_0x2a8e4b;const _0x5d1f44=new Quaternion()['setFromAxisAngle'](new Vector3(0x0,0x1,0x0),this[_0x2e43d2(0x16a)]);super['setQuaternion'](_0x5d1f44),this[_0x2e43d2(0x140)]&&this[_0x2e43d2(0x165)]();}[_0x161008(0x18a)](){const _0x15d579=_0x161008;super['possess']();const _0x17b1af=this[_0x15d579(0x162)][_0x15d579(0x17a)];_0x17b1af&&(_0x17b1af[_0x15d579(0x1be)][_0x15d579(0x14b)](this['onClick']),_0x17b1af[_0x15d579(0x19e)]['add'](this[_0x15d579(0x19b)]),_0x17b1af[_0x15d579(0x18b)][_0x15d579(0x14b)](this['onPointerLockChange']),_0x17b1af[_0x15d579(0x1b0)][_0x15d579(0x14b)](this[_0x15d579(0x1a1)]),_0x17b1af[_0x15d579(0x19a)][_0x15d579(0x14b)](this['onKeyUp']),_0x17b1af[_0x15d579(0x174)][_0x15d579(0x14b)](this[_0x15d579(0x18f)]),_0x17b1af['onPointerDownDelegate']['add'](this['onMouseDown']),_0x17b1af[_0x15d579(0x171)][_0x15d579(0x14b)](this[_0x15d579(0x166)]),_0x17b1af[_0x15d579(0x1c9)]['add'](this['onBlur'])),this['rootComponent']&&this[_0x15d579(0x1ab)][_0x15d579(0x14a)]&&(this[_0x15d579(0x1ab)][_0x15d579(0x14a)][_0x15d579(0x175)][_0x15d579(0x1ca)]='YXZ'),this[_0x15d579(0x147)](),this[_0x15d579(0x165)]();}[_0x161008(0x151)](){const _0x366481=_0x161008;var _0x11bab4;super[_0x366481(0x151)]();const _0x378ea4=this['app']['controller'];_0x378ea4&&(_0x378ea4['onRawClickDelegate'][_0x366481(0x176)](this[_0x366481(0x1a7)]),_0x378ea4[_0x366481(0x19e)][_0x366481(0x176)](this[_0x366481(0x19b)]),_0x378ea4['onPointerLockChangeDelegate'][_0x366481(0x176)](this[_0x366481(0x16b)]),_0x378ea4[_0x366481(0x1b0)]['remove'](this[_0x366481(0x1a1)]),_0x378ea4[_0x366481(0x19a)][_0x366481(0x176)](this[_0x366481(0x1bc)]),_0x378ea4[_0x366481(0x174)]['remove'](this[_0x366481(0x18f)]),_0x378ea4[_0x366481(0x169)][_0x366481(0x176)](this[_0x366481(0x143)]),_0x378ea4[_0x366481(0x171)][_0x366481(0x176)](this[_0x366481(0x166)]),_0x378ea4['onWindowBlurDelegate'][_0x366481(0x176)](this[_0x366481(0x149)])),this[_0x366481(0x1cb)]=![],this[_0x366481(0x144)](![]),this[_0x366481(0x1c5)]&&((_0x11bab4=this[_0x366481(0x1c5)][_0x366481(0x192)])===null||_0x11bab4===void 0?void 0:_0x11bab4[_0x366481(0x176)](this[_0x366481(0x1c5)]),this[_0x366481(0x1c5)][_0x366481(0x1c7)][_0x366481(0x167)](),this[_0x366481(0x1c5)][_0x366481(0x1ad)][_0x366481(0x167)](),this['_clickMarker']=null),document['pointerLockElement']===this['app'][_0x366481(0x17b)][_0x366481(0x1b9)]&&document[_0x366481(0x161)]();}[_0x161008(0x179)](){const _0x54f53a=_0x161008,_0x5c54ca=this[_0x54f53a(0x1b3)]();_0x5c54ca['y']+=this[_0x54f53a(0x1a0)];const _0x10b068=this[_0x54f53a(0x156)]||this[_0x54f53a(0x162)][_0x54f53a(0x156)],_0x4fed3c=this[_0x54f53a(0x141)](),_0x59f491=new Quaternion()[_0x54f53a(0x1b2)](new Vector3(0x1,0x0,0x0),this[_0x54f53a(0x191)]),_0x4bef1c=_0x4fed3c[_0x54f53a(0x1c1)]()[_0x54f53a(0x1ae)](_0x59f491);if(_0x10b068){const _0x504d25=new Vector3(0x0,0x0,_0x10b068[_0x54f53a(0x19d)])[_0x54f53a(0x14e)](_0x4bef1c);_0x5c54ca[_0x54f53a(0x14b)](_0x504d25);}return {'position':_0x5c54ca,'quaternion':_0x4bef1c};}[_0x161008(0x144)](_0x2b2dc5){const _0x3a808f=_0x161008,_0x3e832b=this[_0x3a808f(0x162)][_0x3a808f(0x17b)]['outer'];if(!_0x3e832b)return;_0x2b2dc5?_0x3e832b[_0x3a808f(0x190)][_0x3a808f(0x14d)]='1':delete _0x3e832b[_0x3a808f(0x190)][_0x3a808f(0x14d)];}[_0x161008(0x1a9)](_0x20e4c3){const _0x4c6f0a=_0x161008;if(!this['enabled'])return;const _0x1d5eaf=this[_0x4c6f0a(0x199)]*_0x20e4c3,_0x569cba=new Vector3();if(this[_0x4c6f0a(0x1d0)])_0x569cba['z']-=0x1;if(this[_0x4c6f0a(0x188)])_0x569cba['z']+=0x1;if(this['_moveLeft'])_0x569cba['x']-=0x1;if(this[_0x4c6f0a(0x170)])_0x569cba['x']+=0x1;if(this['_targetPos']&&_0x569cba['lengthSq']()===0x0){const _0x5bd058=this[_0x4c6f0a(0x1b3)](),_0x57f5c0=this['_targetPos'][_0x4c6f0a(0x1c1)]();this[_0x4c6f0a(0x1c0)]&&(_0x57f5c0['y']=_0x5bd058['y']);const _0x556ece=_0x57f5c0[_0x4c6f0a(0x14c)](_0x5bd058),_0x369ead=_0x556ece[_0x4c6f0a(0x1c8)]();if(_0x369ead>0.1){_0x556ece[_0x4c6f0a(0x185)]();if(this['enableGravity']){const _0x52c97b=this[_0x4c6f0a(0x141)]()[_0x4c6f0a(0x1bb)](),_0x3ffeb3=_0x556ece[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14e)](_0x52c97b);_0x569cba[_0x4c6f0a(0x1a8)](_0x3ffeb3);}else _0x569cba['copy'](_0x556ece);}else {this[_0x4c6f0a(0x15d)]=null;if(this[_0x4c6f0a(0x1c5)])this[_0x4c6f0a(0x1c5)][_0x4c6f0a(0x172)]=![];}}if(!this['enableGravity']){if(this[_0x4c6f0a(0x148)])_0x569cba['y']+=0x1;if(this[_0x4c6f0a(0x1bd)])_0x569cba['y']-=0x1;}let _0x4dbd60=new Vector3();if(_0x569cba[_0x4c6f0a(0x173)]()>0x0){_0x569cba[_0x4c6f0a(0x185)]()[_0x4c6f0a(0x19f)](_0x1d5eaf);const _0x1c27b2=this[_0x4c6f0a(0x141)]();_0x4dbd60=_0x569cba[_0x4c6f0a(0x14e)](_0x1c27b2),this['enableGravity']&&(_0x4dbd60['y']=0x0,_0x4dbd60[_0x4c6f0a(0x173)]()>0x0&&_0x4dbd60[_0x4c6f0a(0x185)]()['multiplyScalar'](_0x1d5eaf));}const _0x481976=this[_0x4c6f0a(0x162)][_0x4c6f0a(0x1cd)],_0xb34c2=this[_0x4c6f0a(0x1b3)](),_0x126c5e=this[_0x4c6f0a(0x1ab)]instanceof CapsuleColliderComponent?this[_0x4c6f0a(0x1ab)]:null,_0x55685b=_0x126c5e?_0x126c5e['radius']:0.35,_0x588b96=_0x126c5e?_0x126c5e['halfHeight']:0.9;if(this[_0x4c6f0a(0x1c0)]){this[_0x4c6f0a(0x19c)]-=this['gravity']*_0x20e4c3;const _0x1eda4f=_0xb34c2[_0x4c6f0a(0x1c1)](),_0xc302aa=_0x588b96+_0x55685b+0.1,_0x276abf=_0x481976[_0x4c6f0a(0x186)]['lineTraceMulti'](_0x1eda4f,_0x1eda4f['clone']()[_0x4c6f0a(0x14b)](new Vector3(0x0,-_0xc302aa,0x0)),CollisionChannel[_0x4c6f0a(0x157)],_0x126c5e||undefined),_0x23f01a=_0x276abf[_0x4c6f0a(0x168)](_0x24662d=>_0x24662d[_0x4c6f0a(0x1ba)]);_0x23f01a&&(this[_0x4c6f0a(0x19c)]<=0x0&&(this['_verticalVelocity']=Math[_0x4c6f0a(0x1ce)](0x0,this[_0x4c6f0a(0x19c)]))),_0x4dbd60['y']+=this['_verticalVelocity']*_0x20e4c3;}let _0x30c478=_0x4dbd60;if(_0x481976&&_0x481976[_0x4c6f0a(0x186)]&&_0x4dbd60[_0x4c6f0a(0x173)]()>0.000001){const _0x54f1d7=_0xb34c2[_0x4c6f0a(0x1c1)](),_0x474b28=_0x4dbd60[_0x4c6f0a(0x1c8)]()+_0x55685b+0.1,_0x17b8e2=_0x54f1d7[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14b)](_0x4dbd60[_0x4c6f0a(0x1c1)]()['normalize']()[_0x4c6f0a(0x19f)](_0x474b28)),_0x35bb90=_0x481976[_0x4c6f0a(0x186)]['lineTraceMulti'](_0x54f1d7,_0x17b8e2,CollisionChannel['Pawn'],_0x126c5e||undefined),_0x28d54c=_0x35bb90[_0x4c6f0a(0x168)](_0x29219f=>_0x29219f[_0x4c6f0a(0x1ba)]);if(_0x28d54c&&_0x28d54c['blocking']){const _0xb86ba9=_0x28d54c[_0x4c6f0a(0x194)],_0x8619e9=Math[_0x4c6f0a(0x1ce)](0x0,_0xb86ba9-_0x55685b-0.001);if(_0x8619e9<_0x4dbd60[_0x4c6f0a(0x1c8)]()){const _0x215f09=_0x4dbd60[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x185)](),_0x30475a=_0x215f09[_0x4c6f0a(0x1c1)]()['multiplyScalar'](_0x8619e9),_0x41093c=_0x4dbd60[_0x4c6f0a(0x1c1)]()['sub'](_0x30475a),_0x2ee212=_0x28d54c[_0x4c6f0a(0x160)],_0x1b7895=_0x41093c['dot'](_0x2ee212);let _0x23474a=new Vector3();_0x1b7895<0x0?_0x23474a=_0x41093c['clone']()['sub'](_0x2ee212[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x19f)](_0x1b7895)):_0x23474a=_0x41093c;const _0x3f2fb6=_0x23474a['length']();if(_0x3f2fb6>0.001){const _0x78602f=_0x54f1d7[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14b)](_0x30475a),_0x1b2777=_0x3f2fb6+_0x55685b+0.1,_0x1f883d=_0x78602f[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x14b)](_0x23474a[_0x4c6f0a(0x1c1)]()[_0x4c6f0a(0x185)]()['multiplyScalar'](_0x1b2777)),_0x339747=_0x481976[_0x4c6f0a(0x186)][_0x4c6f0a(0x145)](_0x78602f,_0x1f883d,CollisionChannel[_0x4c6f0a(0x157)],_0x126c5e||undefined),_0xf13739=_0x339747['find'](_0x53c81e=>_0x53c81e[_0x4c6f0a(0x1ba)]);if(_0xf13739&&_0xf13739[_0x4c6f0a(0x1ba)]){const _0x31605a=_0xf13739[_0x4c6f0a(0x194)],_0x3f59a1=Math['max'](0x0,_0x31605a-_0x55685b-0.001);_0x3f59a1<_0x3f2fb6&&_0x23474a[_0x4c6f0a(0x185)]()[_0x4c6f0a(0x19f)](_0x3f59a1);}}_0x30c478=_0x30475a[_0x4c6f0a(0x14b)](_0x23474a);}}}_0x30c478['lengthSq']()>0x0&&(_0xb34c2['add'](_0x30c478),this[_0x4c6f0a(0x1b5)](_0xb34c2)),this[_0x4c6f0a(0x165)]();}[_0x161008(0x165)](){const _0x5d9c5c=_0x161008;if(!this[_0x5d9c5c(0x140)]||!this['camera'])return;const _0x236a68=this[_0x5d9c5c(0x1b3)]();_0x236a68['y']+=this['eyeHeight'];const _0x302605=this['getQuaternion'](),_0x292b2d=new Quaternion()[_0x5d9c5c(0x1b2)](new Vector3(0x1,0x0,0x0),this['_pitch']),_0x1f70e5=_0x302605[_0x5d9c5c(0x1c1)]()['multiply'](_0x292b2d),_0x40a1f1=new Vector3(0x0,0x0,this[_0x5d9c5c(0x156)][_0x5d9c5c(0x19d)])[_0x5d9c5c(0x14e)](_0x1f70e5);_0x236a68[_0x5d9c5c(0x14b)](_0x40a1f1),this['camera'][_0x5d9c5c(0x17c)][_0x5d9c5c(0x1a8)](_0x236a68),this[_0x5d9c5c(0x156)][_0x5d9c5c(0x18e)][_0x5d9c5c(0x1a8)](_0x1f70e5),this[_0x5d9c5c(0x156)][_0x5d9c5c(0x1c2)]();}}
|
|
148
|
+
const _0x31339a=_0x3c17;function _0xd0bd(){const _0x9ae8df=['buttons','parentActor','ShiftRight','app','onClick','setCollisionResponse','setFromEuler','multiply','ArrowLeft','isClickEnabled','left','onPointerLockChangeDelegate','ShiftLeft','collider','unpossess','ArrowRight','onKeyDown','applyQuaternion','constructRootComponent','updateProjectionMatrix','setRotation','onWindowBlurDelegate','YXZ','onContextMenu','visible','top','moveSpeed','ArrowUp','_yaw','getTargetCameraState','sub','canvas','enableGravity','_moveForward','lookSpeed','possess','_moveDown','includes','normalize','pointerLockElement','copy','setQuaternion','_verticalVelocity','rotation','getQuaternion','origin','KeyD','_isRightDragging','width','enabled','dataset','position','clientX','getBoundingClientRect','_clickMarker','physics','movementX','getPosition','_targetPos','onKeyUpDelegate','_moveRight','setFromAxisAngle','add','button','841821LjWgPt','Space','dispose','world','exitPointerLock','91818BVDtMq','radius','_pitch','onContextMenuDelegate','2078616WaPMAm','onKeyDownDelegate','onPointerLockChange','viewport','clamp','_moveUp','ArrowDown','dot','1192816BlhRnB','updateCameraFromPawn','onPointerUpDelegate','lineTraceMulti','lyCameraDragging','movementY','near','onMouseMove','setPosition','multiplyScalar','2250790gfScUb','distance','2CRLbhS','find','max','requestPointerLock','onBlur','lengthSq','length','invert','4043790EfiwZC','halfHeight','asin','onPointerDownDelegate','code','camera','KeyW','setFromCamera','syncRotation','blocking','eyeHeight','rootComponent','controller','Pawn','gravity','_moveBackward','normal','KeyA','inputFilter','onKeyUp','landToGround','clone','quaternion','KeyS','threeObject','direction','Visibility','ray','Ignore','7DUWySr','remove','order','_moveLeft','atan2','1027024VkvIGt','onRawClickDelegate','point','objectType','onMouseUp','onPointerMoveDelegate','material','setCameraDraggingState','onMouseDown'];_0xd0bd=function(){return _0x9ae8df;};return _0xd0bd();}(function(_0x44a909,_0x4fe231){const _0x264aaa=_0x3c17,_0x4f2686=_0x44a909();while(!![]){try{const _0x39bfc0=-parseInt(_0x264aaa(0x10f))/0x1*(-parseInt(_0x264aaa(0xf7))/0x2)+-parseInt(_0x264aaa(0xf2))/0x3+parseInt(_0x264aaa(0x139))/0x4+parseInt(_0x264aaa(0x10d))/0x5+parseInt(_0x264aaa(0xfb))/0x6+-parseInt(_0x264aaa(0x134))/0x7*(parseInt(_0x264aaa(0x103))/0x8)+-parseInt(_0x264aaa(0x117))/0x9;if(_0x39bfc0===_0x4fe231)break;else _0x4f2686['push'](_0x4f2686['shift']());}catch(_0x39d96c){_0x4f2686['push'](_0x4f2686['shift']());}}}(_0xd0bd,0x40fa5));function _0x3c17(_0x36ee26,_0x3a4a5e){_0x36ee26=_0x36ee26-0xe9;const _0xd0bd23=_0xd0bd();let _0x3c173b=_0xd0bd23[_0x36ee26];return _0x3c173b;}class FirstPerson extends Pawn{constructor(_0x460a90){const _0x4c7916=_0x3c17;super(_0x460a90),this[_0x4c7916(0x15c)]=0xa,this[_0x4c7916(0x164)]=0.002,this[_0x4c7916(0x162)]=!![],this['gravity']=0x1e,this['eyeHeight']=0.7,this[_0x4c7916(0x16c)]=0x0,this[_0x4c7916(0x15e)]=0x0,this[_0x4c7916(0xf9)]=0x0,this[_0x4c7916(0xec)]=null,this[_0x4c7916(0x178)]=null,this[_0x4c7916(0x163)]=![],this[_0x4c7916(0x126)]=![],this['_moveLeft']=![],this['_moveRight']=![],this[_0x4c7916(0x100)]=![],this[_0x4c7916(0x166)]=![],this[_0x4c7916(0x171)]=![],this[_0x4c7916(0x159)]=_0x1d4bcb=>{const _0x18913c=_0x4c7916;if(!Pawn[_0x18913c(0x129)]())return;_0x1d4bcb['preventDefault']();},this[_0x4c7916(0x113)]=()=>{const _0x28c7f8=_0x4c7916;this[_0x28c7f8(0x163)]=![],this[_0x28c7f8(0x126)]=![],this['_moveLeft']=![],this[_0x28c7f8(0xee)]=![],this[_0x28c7f8(0x100)]=![],this[_0x28c7f8(0x166)]=![],this[_0x28c7f8(0x171)]=![],this['setCameraDraggingState'](![]);},this[_0x4c7916(0x141)]=_0x395595=>{const _0x47dbbe=_0x4c7916;if(!this[_0x47dbbe(0x173)]||!Pawn[_0x47dbbe(0x129)]())return;if(_0x395595['button']!==0x2)return;this['_isRightDragging']=!![],this[_0x47dbbe(0x140)](!![]);const _0x448ac3=this[_0x47dbbe(0x145)][_0x47dbbe(0xfe)][_0x47dbbe(0x161)];_0x448ac3&&document['pointerLockElement']!==_0x448ac3&&_0x448ac3[_0x47dbbe(0x112)]();},this['onMouseUp']=_0x53b480=>{const _0x511233=_0x4c7916;if(_0x53b480['button']!==0x2)return;this[_0x511233(0x171)]=![],this['setCameraDraggingState'](![]),document[_0x511233(0x169)]===this['app']['viewport']['canvas']&&document[_0x511233(0xf6)]();},this[_0x4c7916(0x146)]=_0x4ac0b4=>{const _0x17f92f=_0x4c7916;if(!this[_0x17f92f(0x173)]||!Pawn['inputFilter']())return;if(_0x4ac0b4[_0x17f92f(0xf1)]!==0x0)return;const _0x86785e=this[_0x17f92f(0x145)][_0x17f92f(0xfe)][_0x17f92f(0x161)];if(!_0x86785e||!this[_0x17f92f(0x11c)])return;const _0x2349ae=_0x86785e[_0x17f92f(0x177)](),_0x33bf20=new Vector2$1((_0x4ac0b4[_0x17f92f(0x176)]-_0x2349ae[_0x17f92f(0x14c)])/_0x2349ae[_0x17f92f(0x172)]*0x2-0x1,-((_0x4ac0b4['clientY']-_0x2349ae[_0x17f92f(0x15b)])/_0x2349ae['height'])*0x2+0x1),_0xb35c88=new Raycaster();_0xb35c88[_0x17f92f(0x11e)](_0x33bf20,this[_0x17f92f(0x11c)]);const _0x1df52e=_0xb35c88[_0x17f92f(0x132)][_0x17f92f(0x16f)][_0x17f92f(0x12c)](),_0x2c6d51=_0x1df52e['clone']()[_0x17f92f(0xf0)](_0xb35c88[_0x17f92f(0x132)][_0x17f92f(0x130)][_0x17f92f(0x12c)]()['multiplyScalar'](0x3e8)),_0x1c8449=this[_0x17f92f(0x122)]instanceof CapsuleColliderComponent?this['rootComponent']:undefined,_0x28429b=this['app']['world']['physics']['lineTraceMulti'](_0x1df52e,_0x2c6d51,CollisionChannel[_0x17f92f(0x124)],_0x1c8449);let _0x842f9d=null;for(const _0x37ec19 of _0x28429b){if(!_0x37ec19[_0x17f92f(0x120)])continue;if(this['camera']instanceof PerspectiveCamera){if(_0x37ec19[_0x17f92f(0x10e)]<this[_0x17f92f(0x11c)][_0x17f92f(0x109)]*1.5)continue;}const _0x54e12d=_0x37ec19[_0x17f92f(0x14f)],_0x3d7fb4=_0x54e12d&&(_0x54e12d[_0x17f92f(0x14b)]||_0x54e12d[_0x17f92f(0x143)]&&_0x54e12d[_0x17f92f(0x143)]['isClickEnabled']),_0x3bd055=_0x37ec19['normal']['y']>0.5;if(!_0x3bd055&&!_0x3d7fb4){let _0x28f48e=0.5;this[_0x17f92f(0x11c)]instanceof PerspectiveCamera&&(_0x28f48e=this[_0x17f92f(0x11c)]['near']*0x2);if(_0x37ec19[_0x17f92f(0x10e)]>_0x28f48e)break;continue;}_0x842f9d=_0x37ec19;break;}if(_0x842f9d){const _0x27e1f5=_0x842f9d['collider'];if(_0x27e1f5){if(_0x27e1f5[_0x17f92f(0x14b)])return;if(_0x27e1f5[_0x17f92f(0x143)]&&_0x27e1f5[_0x17f92f(0x143)][_0x17f92f(0x14b)])return;}_0x842f9d[_0x17f92f(0x127)]['y']>0.5&&(this['_targetPos']=_0x842f9d['point'][_0x17f92f(0x12c)](),this[_0x17f92f(0x178)]&&(this['_clickMarker'][_0x17f92f(0x175)]['copy'](this['_targetPos']),this[_0x17f92f(0x178)][_0x17f92f(0x15a)]=!![]));}},this[_0x4c7916(0xfd)]=()=>{},this[_0x4c7916(0x10a)]=_0x3386bc=>{const _0x276320=_0x4c7916,_0x39aea3=(_0x3386bc[_0x276320(0x142)]&0x2)===0x2;if(_0x39aea3&&!this[_0x276320(0x171)])this[_0x276320(0x171)]=!![],this[_0x276320(0x140)](!![]);else !_0x39aea3&&this[_0x276320(0x171)]&&(this[_0x276320(0x171)]=![],this[_0x276320(0x140)](![]));if(document['pointerLockElement']!==this[_0x276320(0x145)]['viewport'][_0x276320(0x161)]&&!_0x39aea3)return;if(!this[_0x276320(0x173)]||!Pawn[_0x276320(0x129)]())return;const _0x430e50=_0x3386bc[_0x276320(0xea)]||0x0,_0x1758e3=_0x3386bc[_0x276320(0x108)]||0x0;this[_0x276320(0x11f)](),this[_0x276320(0x15e)]-=_0x430e50*this[_0x276320(0x164)],this[_0x276320(0xf9)]-=_0x1758e3*this[_0x276320(0x164)];const _0x45fc1c=Math['PI']/0x2;this[_0x276320(0xf9)]=MathUtils[_0x276320(0xff)](this['_pitch'],-_0x45fc1c+0.001,_0x45fc1c-0.001);const _0x520e5c=new Quaternion()['setFromAxisAngle'](new Vector3(0x0,0x1,0x0),this['_yaw']);super[_0x276320(0x16b)](_0x520e5c),this[_0x276320(0x104)]();},this[_0x4c7916(0x152)]=_0x110d9a=>{const _0x1d1bc6=_0x4c7916;if(!Pawn[_0x1d1bc6(0x129)]())return;if([_0x1d1bc6(0x15d),_0x1d1bc6(0x11d),_0x1d1bc6(0x14a),'KeyA',_0x1d1bc6(0x101),_0x1d1bc6(0x12e),'ArrowRight','KeyD'][_0x1d1bc6(0x167)](_0x110d9a[_0x1d1bc6(0x11b)])){this[_0x1d1bc6(0xec)]=null;if(this[_0x1d1bc6(0x178)])this['_clickMarker'][_0x1d1bc6(0x15a)]=![];}switch(_0x110d9a[_0x1d1bc6(0x11b)]){case 'ArrowUp':case _0x1d1bc6(0x11d):this[_0x1d1bc6(0x163)]=!![];break;case _0x1d1bc6(0x14a):case _0x1d1bc6(0x128):this['_moveLeft']=!![];break;case _0x1d1bc6(0x101):case 'KeyS':this[_0x1d1bc6(0x126)]=!![];break;case _0x1d1bc6(0x151):case _0x1d1bc6(0x170):this[_0x1d1bc6(0xee)]=!![];break;case _0x1d1bc6(0xf3):!this[_0x1d1bc6(0x162)]&&(this[_0x1d1bc6(0x100)]=!![]);break;case _0x1d1bc6(0x14e):case _0x1d1bc6(0x144):this[_0x1d1bc6(0x166)]=!![];break;}},this[_0x4c7916(0x12a)]=_0x35fece=>{const _0x33fa2d=_0x4c7916;switch(_0x35fece[_0x33fa2d(0x11b)]){case _0x33fa2d(0x15d):case _0x33fa2d(0x11d):this[_0x33fa2d(0x163)]=![];break;case _0x33fa2d(0x14a):case _0x33fa2d(0x128):this[_0x33fa2d(0x137)]=![];break;case _0x33fa2d(0x101):case _0x33fa2d(0x12e):this[_0x33fa2d(0x126)]=![];break;case 'ArrowRight':case _0x33fa2d(0x170):this['_moveRight']=![];break;case 'Space':this[_0x33fa2d(0x100)]=![];break;case _0x33fa2d(0x14e):case _0x33fa2d(0x144):this[_0x33fa2d(0x166)]=![];break;}};}[_0x31339a(0x154)](){const _0x4e2da8=_0x31339a,_0x415b8a=new CapsuleColliderComponent(this[_0x4e2da8(0x145)],0.35,0.55);return _0x415b8a[_0x4e2da8(0x13c)]=CollisionChannel[_0x4e2da8(0x124)],_0x415b8a[_0x4e2da8(0x147)](CollisionChannel[_0x4e2da8(0x131)],CollisionResponse[_0x4e2da8(0x133)]),_0x415b8a;}[_0x31339a(0x12b)](){const _0x3ebefa=_0x31339a,_0x3c89ac=this['getPosition'](),_0xba2a57=_0x3c89ac[_0x3ebefa(0x12c)]()['add'](new Vector3(0x0,-1e3,0x0)),_0x424e33=this[_0x3ebefa(0x122)],_0x4a3cbd=this[_0x3ebefa(0x145)][_0x3ebefa(0xf5)][_0x3ebefa(0xe9)]['lineTraceSingle'](_0x3c89ac,_0xba2a57,CollisionChannel['Pawn'],_0x424e33);if(_0x4a3cbd&&_0x4a3cbd[_0x3ebefa(0x120)]){const _0x511b38=_0x424e33[_0x3ebefa(0x118)]+_0x424e33[_0x3ebefa(0xf8)],_0x3dfe74=_0x4a3cbd[_0x3ebefa(0x13b)]['y']+_0x511b38;this['setPosition'](_0x3c89ac['x'],_0x3dfe74,_0x3c89ac['z']),this[_0x3ebefa(0x16c)]=0x0;}}['syncRotation'](){const _0x564ae0=_0x31339a,_0x1aa4d5=this[_0x564ae0(0x16e)](),_0x59363d=new Vector3(0x0,0x0,-1)['applyQuaternion'](_0x1aa4d5);this[_0x564ae0(0x15e)]=Math[_0x564ae0(0x138)](-_0x59363d['x'],-_0x59363d['z']);}[_0x31339a(0x156)](..._0xe61318){const _0x2e95c7=_0x31339a,_0x419e03=new Quaternion();_0xe61318[_0x2e95c7(0x115)]===0x1?_0x419e03['setFromEuler'](_0xe61318[0x0]):_0x419e03[_0x2e95c7(0x148)](new Euler(_0xe61318[0x0],_0xe61318[0x1],_0xe61318[0x2],_0x2e95c7(0x158))),this['setQuaternion'](_0x419e03);}[_0x31339a(0x16b)](..._0x5b2e97){const _0x3532f3=_0x31339a;let _0x68de0;_0x5b2e97[_0x3532f3(0x115)]===0x1?_0x68de0=_0x5b2e97[0x0]:_0x68de0=new Quaternion(_0x5b2e97[0x0],_0x5b2e97[0x1],_0x5b2e97[0x2],_0x5b2e97[0x3]);const _0x19b455=new Vector3(0x0,0x0,-1)[_0x3532f3(0x153)](_0x68de0);let _0x10ae3e=Math[_0x3532f3(0x119)](MathUtils[_0x3532f3(0xff)](_0x19b455['y'],-1,0x1));const _0x313b90=Math['PI']/0x2;_0x10ae3e=MathUtils[_0x3532f3(0xff)](_0x10ae3e,-_0x313b90+0.001,_0x313b90-0.001);const _0x35c1b6=Math[_0x3532f3(0x138)](-_0x19b455['x'],-_0x19b455['z']);this[_0x3532f3(0xf9)]=_0x10ae3e,this[_0x3532f3(0x15e)]=_0x35c1b6;const _0x4b9633=new Quaternion()[_0x3532f3(0xef)](new Vector3(0x0,0x1,0x0),this[_0x3532f3(0x15e)]);super[_0x3532f3(0x16b)](_0x4b9633),this[_0x3532f3(0x173)]&&this[_0x3532f3(0x104)]();}[_0x31339a(0x165)](){const _0x24cfc8=_0x31339a;super['possess']();const _0x38d672=this[_0x24cfc8(0x145)]['controller'];_0x38d672&&(_0x38d672['onRawClickDelegate'][_0x24cfc8(0xf0)](this['onClick']),_0x38d672[_0x24cfc8(0xfa)][_0x24cfc8(0xf0)](this[_0x24cfc8(0x159)]),_0x38d672[_0x24cfc8(0x14d)]['add'](this['onPointerLockChange']),_0x38d672[_0x24cfc8(0xfc)][_0x24cfc8(0xf0)](this['onKeyDown']),_0x38d672['onKeyUpDelegate'][_0x24cfc8(0xf0)](this[_0x24cfc8(0x12a)]),_0x38d672['onPointerMoveDelegate'][_0x24cfc8(0xf0)](this[_0x24cfc8(0x10a)]),_0x38d672[_0x24cfc8(0x11a)][_0x24cfc8(0xf0)](this[_0x24cfc8(0x141)]),_0x38d672[_0x24cfc8(0x105)][_0x24cfc8(0xf0)](this[_0x24cfc8(0x13d)]),_0x38d672['onWindowBlurDelegate'][_0x24cfc8(0xf0)](this[_0x24cfc8(0x113)])),this[_0x24cfc8(0x122)]&&this[_0x24cfc8(0x122)]['threeObject']&&(this[_0x24cfc8(0x122)][_0x24cfc8(0x12f)][_0x24cfc8(0x16d)][_0x24cfc8(0x136)]=_0x24cfc8(0x158)),this[_0x24cfc8(0x11f)](),this[_0x24cfc8(0x104)]();}[_0x31339a(0x150)](){const _0x1334b4=_0x31339a;var _0xe20aca;super['unpossess']();const _0x281d3d=this[_0x1334b4(0x145)][_0x1334b4(0x123)];_0x281d3d&&(_0x281d3d[_0x1334b4(0x13a)][_0x1334b4(0x135)](this['onClick']),_0x281d3d[_0x1334b4(0xfa)][_0x1334b4(0x135)](this['onContextMenu']),_0x281d3d[_0x1334b4(0x14d)][_0x1334b4(0x135)](this[_0x1334b4(0xfd)]),_0x281d3d[_0x1334b4(0xfc)]['remove'](this[_0x1334b4(0x152)]),_0x281d3d[_0x1334b4(0xed)][_0x1334b4(0x135)](this['onKeyUp']),_0x281d3d[_0x1334b4(0x13e)]['remove'](this['onMouseMove']),_0x281d3d[_0x1334b4(0x11a)][_0x1334b4(0x135)](this['onMouseDown']),_0x281d3d[_0x1334b4(0x105)][_0x1334b4(0x135)](this[_0x1334b4(0x13d)]),_0x281d3d[_0x1334b4(0x157)][_0x1334b4(0x135)](this[_0x1334b4(0x113)])),this[_0x1334b4(0x171)]=![],this['setCameraDraggingState'](![]),this['_clickMarker']&&((_0xe20aca=this[_0x1334b4(0x178)]['parent'])===null||_0xe20aca===void 0?void 0:_0xe20aca[_0x1334b4(0x135)](this[_0x1334b4(0x178)]),this[_0x1334b4(0x178)]['geometry'][_0x1334b4(0xf4)](),this[_0x1334b4(0x178)][_0x1334b4(0x13f)][_0x1334b4(0xf4)](),this[_0x1334b4(0x178)]=null),document[_0x1334b4(0x169)]===this[_0x1334b4(0x145)]['viewport']['canvas']&&document[_0x1334b4(0xf6)]();}[_0x31339a(0x15f)](){const _0x1924a7=_0x31339a,_0x90089b=this['getPosition']();_0x90089b['y']+=this['eyeHeight'];const _0xe72082=this['camera']||this['app']['camera'],_0x39ac0f=this[_0x1924a7(0x16e)](),_0xfbe8e8=new Quaternion()['setFromAxisAngle'](new Vector3(0x1,0x0,0x0),this[_0x1924a7(0xf9)]),_0x3fce3b=_0x39ac0f[_0x1924a7(0x12c)]()[_0x1924a7(0x149)](_0xfbe8e8);if(_0xe72082){const _0x5e1c7a=new Vector3(0x0,0x0,_0xe72082[_0x1924a7(0x109)])[_0x1924a7(0x153)](_0x3fce3b);_0x90089b[_0x1924a7(0xf0)](_0x5e1c7a);}return {'position':_0x90089b,'quaternion':_0x3fce3b};}[_0x31339a(0x140)](_0x557e7a){const _0x125748=_0x31339a,_0x2761ef=this[_0x125748(0x145)][_0x125748(0xfe)]['outer'];if(!_0x2761ef)return;_0x557e7a?_0x2761ef[_0x125748(0x174)][_0x125748(0x107)]='1':delete _0x2761ef[_0x125748(0x174)]['lyCameraDragging'];}['tick'](_0x3cc624){const _0x5f51f6=_0x31339a;if(!this['enabled'])return;const _0x1f78e8=this[_0x5f51f6(0x15c)]*_0x3cc624,_0x13437f=new Vector3();if(this['_moveForward'])_0x13437f['z']-=0x1;if(this[_0x5f51f6(0x126)])_0x13437f['z']+=0x1;if(this[_0x5f51f6(0x137)])_0x13437f['x']-=0x1;if(this['_moveRight'])_0x13437f['x']+=0x1;if(this[_0x5f51f6(0xec)]&&_0x13437f[_0x5f51f6(0x114)]()===0x0){const _0x22a605=this[_0x5f51f6(0xeb)](),_0x5afa64=this[_0x5f51f6(0xec)]['clone']();this[_0x5f51f6(0x162)]&&(_0x5afa64['y']=_0x22a605['y']);const _0x1e38fa=_0x5afa64[_0x5f51f6(0x160)](_0x22a605),_0x281e3e=_0x1e38fa[_0x5f51f6(0x115)]();if(_0x281e3e>0.1){_0x1e38fa['normalize']();if(this[_0x5f51f6(0x162)]){const _0x480e14=this['getQuaternion']()[_0x5f51f6(0x116)](),_0x27e585=_0x1e38fa[_0x5f51f6(0x12c)]()[_0x5f51f6(0x153)](_0x480e14);_0x13437f[_0x5f51f6(0x16a)](_0x27e585);}else _0x13437f[_0x5f51f6(0x16a)](_0x1e38fa);}else {this[_0x5f51f6(0xec)]=null;if(this[_0x5f51f6(0x178)])this[_0x5f51f6(0x178)]['visible']=![];}}if(!this['enableGravity']){if(this[_0x5f51f6(0x100)])_0x13437f['y']+=0x1;if(this[_0x5f51f6(0x166)])_0x13437f['y']-=0x1;}let _0x1b34bd=new Vector3();if(_0x13437f['lengthSq']()>0x0){_0x13437f['normalize']()[_0x5f51f6(0x10c)](_0x1f78e8);const _0x3c5cde=this[_0x5f51f6(0x16e)]();_0x1b34bd=_0x13437f[_0x5f51f6(0x153)](_0x3c5cde),this['enableGravity']&&(_0x1b34bd['y']=0x0,_0x1b34bd['lengthSq']()>0x0&&_0x1b34bd['normalize']()[_0x5f51f6(0x10c)](_0x1f78e8));}const _0x53461d=this[_0x5f51f6(0x145)]['world'],_0x501712=this[_0x5f51f6(0xeb)](),_0x10fb0d=this['rootComponent']instanceof CapsuleColliderComponent?this[_0x5f51f6(0x122)]:null,_0x22fcdc=_0x10fb0d?_0x10fb0d[_0x5f51f6(0xf8)]:0.35,_0x4cdc00=_0x10fb0d?_0x10fb0d[_0x5f51f6(0x118)]:0.9;if(this[_0x5f51f6(0x162)]){this[_0x5f51f6(0x16c)]-=this[_0x5f51f6(0x125)]*_0x3cc624;const _0x3c2043=_0x501712[_0x5f51f6(0x12c)](),_0x3deb07=_0x4cdc00+_0x22fcdc+0.1,_0x420bf0=_0x53461d['physics'][_0x5f51f6(0x106)](_0x3c2043,_0x3c2043[_0x5f51f6(0x12c)]()[_0x5f51f6(0xf0)](new Vector3(0x0,-_0x3deb07,0x0)),CollisionChannel[_0x5f51f6(0x124)],_0x10fb0d||undefined),_0x11f038=_0x420bf0[_0x5f51f6(0x110)](_0x298258=>_0x298258[_0x5f51f6(0x120)]);_0x11f038&&(this[_0x5f51f6(0x16c)]<=0x0&&(this[_0x5f51f6(0x16c)]=Math[_0x5f51f6(0x111)](0x0,this[_0x5f51f6(0x16c)]))),_0x1b34bd['y']+=this['_verticalVelocity']*_0x3cc624;}let _0x178d25=_0x1b34bd;if(_0x53461d&&_0x53461d[_0x5f51f6(0xe9)]&&_0x1b34bd['lengthSq']()>0.000001){const _0x4a070e=_0x501712[_0x5f51f6(0x12c)](),_0x335ed6=_0x1b34bd['length']()+_0x22fcdc+0.1,_0xd8a403=_0x4a070e[_0x5f51f6(0x12c)]()[_0x5f51f6(0xf0)](_0x1b34bd[_0x5f51f6(0x12c)]()['normalize']()[_0x5f51f6(0x10c)](_0x335ed6)),_0x847f9d=_0x53461d['physics'][_0x5f51f6(0x106)](_0x4a070e,_0xd8a403,CollisionChannel[_0x5f51f6(0x124)],_0x10fb0d||undefined),_0x2bf9e6=_0x847f9d['find'](_0xaa29ce=>_0xaa29ce[_0x5f51f6(0x120)]);if(_0x2bf9e6&&_0x2bf9e6[_0x5f51f6(0x120)]){const _0x2e648c=_0x2bf9e6[_0x5f51f6(0x10e)],_0x1003d7=Math[_0x5f51f6(0x111)](0x0,_0x2e648c-_0x22fcdc-0.001);if(_0x1003d7<_0x1b34bd[_0x5f51f6(0x115)]()){const _0x436920=_0x1b34bd[_0x5f51f6(0x12c)]()[_0x5f51f6(0x168)](),_0x539e71=_0x436920['clone']()[_0x5f51f6(0x10c)](_0x1003d7),_0xbcf23c=_0x1b34bd[_0x5f51f6(0x12c)]()['sub'](_0x539e71),_0x1be88b=_0x2bf9e6[_0x5f51f6(0x127)],_0xa6ee2=_0xbcf23c[_0x5f51f6(0x102)](_0x1be88b);let _0x156834=new Vector3();_0xa6ee2<0x0?_0x156834=_0xbcf23c[_0x5f51f6(0x12c)]()[_0x5f51f6(0x160)](_0x1be88b[_0x5f51f6(0x12c)]()['multiplyScalar'](_0xa6ee2)):_0x156834=_0xbcf23c;const _0x1852c5=_0x156834[_0x5f51f6(0x115)]();if(_0x1852c5>0.001){const _0x3f08ee=_0x4a070e['clone']()[_0x5f51f6(0xf0)](_0x539e71),_0x11570c=_0x1852c5+_0x22fcdc+0.1,_0x16746e=_0x3f08ee[_0x5f51f6(0x12c)]()[_0x5f51f6(0xf0)](_0x156834[_0x5f51f6(0x12c)]()[_0x5f51f6(0x168)]()[_0x5f51f6(0x10c)](_0x11570c)),_0x43e50b=_0x53461d['physics'][_0x5f51f6(0x106)](_0x3f08ee,_0x16746e,CollisionChannel[_0x5f51f6(0x124)],_0x10fb0d||undefined),_0x2c4cd9=_0x43e50b[_0x5f51f6(0x110)](_0x2a006d=>_0x2a006d[_0x5f51f6(0x120)]);if(_0x2c4cd9&&_0x2c4cd9[_0x5f51f6(0x120)]){const _0x7a456c=_0x2c4cd9[_0x5f51f6(0x10e)],_0x520a5f=Math[_0x5f51f6(0x111)](0x0,_0x7a456c-_0x22fcdc-0.001);_0x520a5f<_0x1852c5&&_0x156834['normalize']()[_0x5f51f6(0x10c)](_0x520a5f);}}_0x178d25=_0x539e71[_0x5f51f6(0xf0)](_0x156834);}}}_0x178d25['lengthSq']()>0x0&&(_0x501712[_0x5f51f6(0xf0)](_0x178d25),this[_0x5f51f6(0x10b)](_0x501712)),this[_0x5f51f6(0x104)]();}[_0x31339a(0x104)](){const _0x39c66f=_0x31339a;if(!this[_0x39c66f(0x173)]||!this['camera'])return;const _0x25f43b=this[_0x39c66f(0xeb)]();_0x25f43b['y']+=this[_0x39c66f(0x121)];const _0x20f17e=this['getQuaternion'](),_0x51afc0=new Quaternion()['setFromAxisAngle'](new Vector3(0x1,0x0,0x0),this[_0x39c66f(0xf9)]),_0x2f380a=_0x20f17e[_0x39c66f(0x12c)]()[_0x39c66f(0x149)](_0x51afc0),_0x583fc9=new Vector3(0x0,0x0,this['camera'][_0x39c66f(0x109)])['applyQuaternion'](_0x2f380a);_0x25f43b[_0x39c66f(0xf0)](_0x583fc9),this['camera'][_0x39c66f(0x175)][_0x39c66f(0x16a)](_0x25f43b),this[_0x39c66f(0x11c)][_0x39c66f(0x12d)][_0x39c66f(0x16a)](_0x2f380a),this['camera'][_0x39c66f(0x155)]();}}
|
|
149
149
|
|
|
150
|
-
function
|
|
150
|
+
function _0x53de(_0x42246b,_0x54b1c4){_0x42246b=_0x42246b-0xdf;const _0x3bd475=_0x3bd4();let _0x53de78=_0x3bd475[_0x42246b];return _0x53de78;}const _0xf39646=_0x53de;(function(_0x2582b9,_0x211145){const _0x59a9ee=_0x53de,_0x453b76=_0x2582b9();while(!![]){try{const _0x20e772=parseInt(_0x59a9ee(0xf0))/0x1+parseInt(_0x59a9ee(0xfd))/0x2+parseInt(_0x59a9ee(0xe4))/0x3*(-parseInt(_0x59a9ee(0xfc))/0x4)+parseInt(_0x59a9ee(0xe2))/0x5*(-parseInt(_0x59a9ee(0xf4))/0x6)+-parseInt(_0x59a9ee(0xdf))/0x7*(-parseInt(_0x59a9ee(0xf6))/0x8)+parseInt(_0x59a9ee(0xeb))/0x9+-parseInt(_0x59a9ee(0xef))/0xa;if(_0x20e772===_0x211145)break;else _0x453b76['push'](_0x453b76['shift']());}catch(_0x2aff9f){_0x453b76['push'](_0x453b76['shift']());}}}(_0x3bd4,0x402fc));class Spectator extends Pawn{constructor(_0x3b7caf){const _0x486030=_0x53de;super(_0x3b7caf),this[_0x486030(0xfe)]=0xa,this[_0x486030(0xe0)]=0.002,this[_0x486030(0xf8)]=0.7;}[_0xf39646(0xe5)](){const _0x13fb58=_0xf39646;return new SceneComponent(this[_0x13fb58(0xf2)]);}[_0xf39646(0xfb)](){const _0x30a1d3=_0xf39646;super[_0x30a1d3(0xfb)](),this[_0x30a1d3(0xee)]&&this[_0x30a1d3(0xee)][_0x30a1d3(0xe3)]&&(this[_0x30a1d3(0xee)][_0x30a1d3(0xe3)]['rotation'][_0x30a1d3(0xf5)]='YXZ'),this[_0x30a1d3(0xf9)]();}[_0xf39646(0xe9)](){const _0x4aef04=_0xf39646;super[_0x4aef04(0xe9)](),document[_0x4aef04(0xed)]===this['app'][_0x4aef04(0xf1)][_0x4aef04(0xec)]&&document['exitPointerLock']();}[_0xf39646(0xea)](){const _0x51597d=_0xf39646,_0x1f145e=this[_0x51597d(0xf3)]();return _0x1f145e['y']+=this[_0x51597d(0xf8)],{'position':_0x1f145e,'quaternion':this['getQuaternion']()['clone']()};}[_0xf39646(0xe8)](_0x13ba0c){const _0x29ffdf=_0xf39646;if(!this[_0x29ffdf(0xe1)])return;this['updateCameraFromPawn']();}[_0xf39646(0xf9)](){const _0x2d04d2=_0xf39646;if(!this['enabled']||!this[_0x2d04d2(0xe7)])return;const _0x3d3ac5=this[_0x2d04d2(0xf3)]();_0x3d3ac5['y']+=this[_0x2d04d2(0xf8)],this['camera'][_0x2d04d2(0xfa)][_0x2d04d2(0xf7)](_0x3d3ac5),this['camera'][_0x2d04d2(0xe6)][_0x2d04d2(0xf7)](this['getRotation']());}}function _0x3bd4(){const _0x2c253d=['12qIWSLD','891574hMOfJK','moveSpeed','142849CwzLLK','lookSpeed','enabled','93470fnmHCm','threeObject','429444kgFeuJ','constructRootComponent','rotation','camera','tick','unpossess','getTargetCameraState','507645SqFtwk','canvas','pointerLockElement','rootComponent','4003570WrrlTp','299680uECHeE','viewport','app','getPosition','18WZYwXS','order','136vkojrJ','copy','eyeHeight','updateCameraFromPawn','position','possess'];_0x3bd4=function(){return _0x2c253d;};return _0x3bd4();}
|
|
151
151
|
|
|
152
|
-
const
|
|
152
|
+
const _0x3b2eb2=_0x1def;(function(_0xe076c6,_0x2d2db6){const _0x3157b2=_0x1def,_0x1ef446=_0xe076c6();while(!![]){try{const _0xb41d91=-parseInt(_0x3157b2(0xa5))/0x1+-parseInt(_0x3157b2(0x9b))/0x2*(-parseInt(_0x3157b2(0xb0))/0x3)+parseInt(_0x3157b2(0xb1))/0x4*(-parseInt(_0x3157b2(0xca))/0x5)+parseInt(_0x3157b2(0xcc))/0x6*(parseInt(_0x3157b2(0xd5))/0x7)+-parseInt(_0x3157b2(0x9d))/0x8+-parseInt(_0x3157b2(0xa4))/0x9*(parseInt(_0x3157b2(0x99))/0xa)+parseInt(_0x3157b2(0xcd))/0xb*(parseInt(_0x3157b2(0xb2))/0xc);if(_0xb41d91===_0x2d2db6)break;else _0x1ef446['push'](_0x1ef446['shift']());}catch(_0x4c53f4){_0x1ef446['push'](_0x1ef446['shift']());}}}(_0x1332,0x7bc86));function _0x1332(){const _0x3ac55e=['add','getTargetScene','remove','onChange','multiplyMatrices','dragging-changed','setSize','getTargetCameraState','set','scale','enable','Control\x20not\x20initialized','userData','control','forEach','setSpace','attach','rotationSnap','624595FyWmzj','setMode','177564WSXrPZ','11XJxoYO','getHelper','onTransforming','setTranslationSnap','isTickEnabled','viewport','onUpdateFunction','enabled','182LAuDKM','onObjectChangeEvent','getMatrixInWorld','addEventListener','unpossess','scene','targets','onDraggingFunction','showY','_control','matrixWorld','includes','setScaleSnap','showZ','value','quaternion','onChangeEvent','onDraggingChangedEvent','world','clear','canvas','position','getMode','targetMatrixMap','rayIgnored','40870ySWsNM','onDraggingChanged','178VIVAmN','decompose','3505848YiXWvI','setAxis','clone','viewPort','helperObject','detach','removeEventListener','495rRmTao','817602Okjfir','markRenderStateDirty','gizmoScene','get','onObjectChanged','destroy','getRotationnSnap','getTranslationSnap','objectChange','primaryTarget','controller','6429VAkkbq','28xDwKHl','22822728qjYnpV','name','invert','setRotationSnap','camera','setTarget'];_0x1332=function(){return _0x3ac55e;};return _0x1332();}function _0x1def(_0x4951bd,_0xf2b8b){_0x4951bd=_0x4951bd-0x99;const _0x13326e=_0x1332();let _0x1def48=_0x13326e[_0x4951bd];return _0x1def48;}class TransformGizmo extends Pawn{get[_0x3b2eb2(0xc5)](){const _0x454c17=_0x3b2eb2;if(!this[_0x454c17(0xde)])throw new Error(_0x454c17(0xc3));return this[_0x454c17(0xde)];}constructor(_0x2fb644,_0x4fe1cf){const _0x3e7112=_0x3b2eb2;var _0x14e393;super(_0x2fb644),this['_control']=null,this[_0x3e7112(0xa1)]=new Object3D(),this['targets']=[],this[_0x3e7112(0xae)]=null,this['targetMatrixMap']=new Map(),this[_0x3e7112(0xa7)]=null,this[_0x3e7112(0xe6)]=_0x588304=>{this['onDraggingChanged'](_0x588304);},this[_0x3e7112(0xd6)]=()=>{this['onObjectChanged']();},this[_0x3e7112(0xe5)]=()=>{this['onChange']();},this[_0x3e7112(0xd3)]=null,this[_0x3e7112(0xdc)]=null;let _0xfe594d=_0x2fb644[_0x3e7112(0xd2)][_0x3e7112(0xe9)];if(!_0xfe594d)throw new Error('TransformGizmo:Canvas\x20not\x20found');this['_control']=new TransformControls(_0x2fb644['camera'],_0xfe594d),this['control'][_0x3e7112(0xce)]()['traverse'](_0x5cf8a4=>{const _0x9a687e=_0x3e7112;_0x5cf8a4[_0x9a687e(0xc4)][_0x9a687e(0xed)]=!![];}),this[_0x3e7112(0xa1)][_0x3e7112(0xb3)]='TransformHelperObject',this[_0x3e7112(0xa7)]=(_0x14e393=_0x4fe1cf===null||_0x4fe1cf===void 0?void 0:_0x4fe1cf['helperScene'])!==null&&_0x14e393!==void 0?_0x14e393:null;}[_0x3b2eb2(0xb9)](){const _0x31cde6=_0x3b2eb2;var _0x32aa8f;return (_0x32aa8f=this[_0x31cde6(0xa7)])!==null&&_0x32aa8f!==void 0?_0x32aa8f:this[_0x31cde6(0xaf)][_0x31cde6(0xe7)][_0x31cde6(0xda)];}['possess'](){const _0x37af55=_0x3b2eb2,_0x314716=this[_0x37af55(0xb9)]();_0x314716['add'](this[_0x37af55(0xa1)]),_0x314716[_0x37af55(0xb8)](this[_0x37af55(0xc5)][_0x37af55(0xce)]()),this[_0x37af55(0xc5)][_0x37af55(0xc8)](this[_0x37af55(0xa1)]),this[_0x37af55(0xc5)][_0x37af55(0xd8)]('change',this[_0x37af55(0xe5)]),this[_0x37af55(0xc5)]['addEventListener'](_0x37af55(0xbd),this[_0x37af55(0xe6)]),this[_0x37af55(0xc5)][_0x37af55(0xd8)](_0x37af55(0xad),this[_0x37af55(0xd6)]);}[_0x3b2eb2(0xd9)](){const _0x339ce3=_0x3b2eb2;this[_0x339ce3(0xc5)][_0x339ce3(0xa3)]('change',this['onChangeEvent']),this[_0x339ce3(0xc5)]['removeEventListener'](_0x339ce3(0xbd),this[_0x339ce3(0xe6)]),this[_0x339ce3(0xc5)]['removeEventListener'](_0x339ce3(0xad),this[_0x339ce3(0xd6)]),this[_0x339ce3(0xc5)][_0x339ce3(0xa2)]();const _0x51d872=this['getTargetScene']();_0x51d872[_0x339ce3(0xba)](this[_0x339ce3(0xa1)]),_0x51d872[_0x339ce3(0xba)](this[_0x339ce3(0xc5)]['getHelper']());}[_0x3b2eb2(0xbf)](){const _0x75e2c4=_0x3b2eb2;return {'position':this['camera'][_0x75e2c4(0xea)][_0x75e2c4(0x9f)](),'quaternion':this[_0x75e2c4(0xb6)]['quaternion'][_0x75e2c4(0x9f)]()};}['refresh'](){const _0x40c8fe=_0x3b2eb2;if(!this['primaryTarget'])return;this['control'][_0x40c8fe(0xa2)]();const _0x3710d5=this[_0x40c8fe(0xb9)]();_0x3710d5[_0x40c8fe(0xba)](this[_0x40c8fe(0xa1)]),this[_0x40c8fe(0xec)]['clear']();let _0x4ba0c5=this[_0x40c8fe(0xae)][_0x40c8fe(0xd7)]();_0x4ba0c5[_0x40c8fe(0x9c)](this[_0x40c8fe(0xa1)][_0x40c8fe(0xea)],this[_0x40c8fe(0xa1)]['quaternion'],this['helperObject'][_0x40c8fe(0xc1)]),_0x3710d5[_0x40c8fe(0xb8)](this[_0x40c8fe(0xc5)][_0x40c8fe(0xce)]()),_0x3710d5['add'](this[_0x40c8fe(0xa1)]),this[_0x40c8fe(0xc5)]['attach'](this[_0x40c8fe(0xa1)]),this[_0x40c8fe(0xdb)]['forEach'](_0x32dec2=>{const _0x29127d=_0x40c8fe,_0x31bdd7=_0x32dec2[_0x29127d(0xd7)](),_0x4fd3b1=_0x4ba0c5[_0x29127d(0x9f)]()[_0x29127d(0xb4)]()['multiply'](_0x31bdd7);this[_0x29127d(0xec)]['set'](_0x32dec2,_0x4fd3b1);});}[_0x3b2eb2(0xbb)](){const _0x130240=_0x3b2eb2;this[_0x130240(0xaf)][_0x130240(0xa0)][_0x130240(0xa6)]();}[_0x3b2eb2(0x9a)](_0x33e90e){const _0x51e6b8=_0x3b2eb2;if(this['primaryTarget']){let _0x61f019=this[_0x51e6b8(0xae)][_0x51e6b8(0xd7)]();_0x61f019[_0x51e6b8(0x9c)](this['helperObject']['position'],this['helperObject'][_0x51e6b8(0xe4)],this[_0x51e6b8(0xa1)][_0x51e6b8(0xc1)]);}this[_0x51e6b8(0xdc)]&&this[_0x51e6b8(0xdc)](_0x33e90e[_0x51e6b8(0xe3)]);}[_0x3b2eb2(0xa9)](){const _0x5b03f6=_0x3b2eb2;if(this['primaryTarget']){this[_0x5b03f6(0xa1)]['updateMatrixWorld'](!![]);const _0x362ac0=this[_0x5b03f6(0xa1)][_0x5b03f6(0xdf)][_0x5b03f6(0x9f)]();this[_0x5b03f6(0xae)][_0x5b03f6(0xcf)](_0x362ac0),this[_0x5b03f6(0xdb)][_0x5b03f6(0xc6)](_0x257246=>{const _0x30a497=_0x5b03f6,_0x296bd4=this['targetMatrixMap'][_0x30a497(0xa8)](_0x257246);if(_0x296bd4){const _0x1aca89=new Matrix4()[_0x30a497(0xbc)](_0x362ac0,_0x296bd4);_0x257246[_0x30a497(0xcf)](_0x1aca89);}});}this[_0x5b03f6(0xd3)]&&this['onUpdateFunction']();}set[_0x3b2eb2(0xc2)](_0x4798f5){const _0x4c2fc2=_0x3b2eb2;this['control'][_0x4c2fc2(0xd4)]=_0x4798f5;}[_0x3b2eb2(0xb7)](_0x5157db,_0xf45ee4,_0xbdb3ba=null,_0x3a72c8=null){const _0x54d56b=_0x3b2eb2;this[_0x54d56b(0xec)][_0x54d56b(0xe8)]();let _0x43c0dd=_0x5157db['getMatrixInWorld']();_0x43c0dd[_0x54d56b(0x9c)](this[_0x54d56b(0xa1)][_0x54d56b(0xea)],this['helperObject'][_0x54d56b(0xe4)],this[_0x54d56b(0xa1)][_0x54d56b(0xc1)]);const _0x12ec34=this[_0x54d56b(0xb9)]();_0x12ec34[_0x54d56b(0xb8)](this[_0x54d56b(0xc5)][_0x54d56b(0xce)]()),this[_0x54d56b(0xae)]=_0x5157db,this[_0x54d56b(0xdb)]=_0xf45ee4,this[_0x54d56b(0xdb)]['forEach'](_0x3befdb=>{const _0x43e5f7=_0x54d56b,_0x7bf832=_0x3befdb['getMatrixInWorld'](),_0x3d30c1=_0x43c0dd[_0x43e5f7(0x9f)]()[_0x43e5f7(0xb4)]()['multiply'](_0x7bf832);this[_0x43e5f7(0xec)][_0x43e5f7(0xc0)](_0x3befdb,_0x3d30c1);}),_0xbdb3ba&&(this[_0x54d56b(0xd3)]=_0xbdb3ba),_0x3a72c8&&(this[_0x54d56b(0xdc)]=_0x3a72c8),this[_0x54d56b(0xd1)]=!![];}[_0x3b2eb2(0xeb)](){const _0x4f26a0=_0x3b2eb2;return this['control'][_0x4f26a0(0xeb)]();}[_0x3b2eb2(0xcb)](_0x5be3ea){const _0x4f02e8=_0x3b2eb2;this[_0x4f02e8(0xc5)][_0x4f02e8(0xcb)](_0x5be3ea);}[_0x3b2eb2(0xc7)](_0x307935){const _0x22b8ad=_0x3b2eb2;this['control'][_0x22b8ad(0xc7)](_0x307935);}[_0x3b2eb2(0x9e)](_0x48fd67){const _0x1c9b94=_0x3b2eb2;this[_0x1c9b94(0xc5)]['showX']=_0x48fd67?_0x48fd67===null||_0x48fd67===void 0?void 0:_0x48fd67[_0x1c9b94(0xe0)]('X'):![],this[_0x1c9b94(0xc5)][_0x1c9b94(0xdd)]=_0x48fd67?_0x48fd67===null||_0x48fd67===void 0?void 0:_0x48fd67['includes']('Y'):![],this[_0x1c9b94(0xc5)][_0x1c9b94(0xe2)]=_0x48fd67?_0x48fd67===null||_0x48fd67===void 0?void 0:_0x48fd67[_0x1c9b94(0xe0)]('Z'):![];}[_0x3b2eb2(0xbe)](_0x21950c){const _0x4018e3=_0x3b2eb2;this[_0x4018e3(0xc5)]['setSize'](_0x21950c);}[_0x3b2eb2(0xac)](){const _0xc315c8=_0x3b2eb2;return this[_0xc315c8(0xc5)]['translationSnap'];}[_0x3b2eb2(0xd0)](_0x5918e7){const _0x283eb1=_0x3b2eb2;this['control'][_0x283eb1(0xd0)](_0x5918e7);}[_0x3b2eb2(0xab)](){const _0x595057=_0x3b2eb2;return this[_0x595057(0xc5)][_0x595057(0xc9)];}[_0x3b2eb2(0xb5)](_0x4eff6f){const _0x3b078e=_0x3b2eb2;this[_0x3b078e(0xc5)][_0x3b078e(0xb5)](_0x4eff6f);}['getScaleSnap'](){const _0x5f12fb=_0x3b2eb2;return this[_0x5f12fb(0xc5)]['scaleSnap'];}[_0x3b2eb2(0xe1)](_0x58897d){const _0x5896d7=_0x3b2eb2;this[_0x5896d7(0xc5)][_0x5896d7(0xe1)](_0x58897d);}[_0x3b2eb2(0xaa)](){const _0x38e54c=_0x3b2eb2;var _0x2b3c84;this[_0x38e54c(0xd1)]=![],this[_0x38e54c(0xd9)](),this['targetMatrixMap'][_0x38e54c(0xe8)](),this[_0x38e54c(0xdb)]=[],this[_0x38e54c(0xae)]=null,this[_0x38e54c(0xd3)]=null,this[_0x38e54c(0xdc)]=null,(_0x2b3c84=this[_0x38e54c(0xde)])===null||_0x2b3c84===void 0?void 0:_0x2b3c84['dispose'](),this[_0x38e54c(0xde)]=null,super[_0x38e54c(0xaa)]();}}
|
|
153
153
|
|
|
154
|
-
const
|
|
154
|
+
const _0x46fdda=_0x5ede;function _0x475c(){const _0x4e17d9=['add','2582422vUBYtR','applyMatrix4','destroyDebugObject','1833839Lhvhnu','normalize','98568dJijUg','normal','BoxColliderDebugMesh','BoxColliderDebug','subVectors','invert','copy','8366196bOlWIh','BoxColliderComponent','clone','halfExtents','multiplyScalar','1ZCwoxg','abs','transpose','752xUmpXJ','getWorldAABB','matrixWorld','negate','16GoBuhA','name','30343300uRnUzs','8392155NUtitb','debugColor','onDebugTick','raycast','_halfExtents','threeObject','expandByPoint','78252RGlddy','_debugMesh','set','makeEmpty','createDebugObject'];_0x475c=function(){return _0x4e17d9;};return _0x475c();}(function(_0x5b0506,_0x31f70f){const _0x3649b3=_0x5ede,_0x18aa60=_0x5b0506();while(!![]){try{const _0x3a0d7a=parseInt(_0x3649b3(0x193))/0x1*(-parseInt(_0x3649b3(0x182))/0x2)+parseInt(_0x3649b3(0x17c))/0x3*(parseInt(_0x3649b3(0x19a))/0x4)+parseInt(_0x3649b3(0x19d))/0x5+-parseInt(_0x3649b3(0x18e))/0x6+-parseInt(_0x3649b3(0x185))/0x7+parseInt(_0x3649b3(0x196))/0x8*(-parseInt(_0x3649b3(0x187))/0x9)+parseInt(_0x3649b3(0x19c))/0xa;if(_0x3a0d7a===_0x31f70f)break;else _0x18aa60['push'](_0x18aa60['shift']());}catch(_0x39ecb2){_0x18aa60['push'](_0x18aa60['shift']());}}}(_0x475c,0xcd177));function _0x5ede(_0x4cbe02,_0x5bd055){_0x4cbe02=_0x4cbe02-0x178;const _0x475c36=_0x475c();let _0x5ede3e=_0x475c36[_0x4cbe02];return _0x5ede3e;}class BoxColliderComponent extends ColliderComponent{get[_0x46fdda(0x191)](){return this['_halfExtents'];}constructor(_0x5e261e,_0x262233=new Vector3(0.5,0.5,0.5),_0x433a36){const _0x1c69b0=_0x46fdda;super(_0x5e261e,_0x433a36),this[_0x1c69b0(0x17d)]=null,this[_0x1c69b0(0x179)]=new Vector3(_0x262233['x'],_0x262233['y'],_0x262233['z']),this[_0x1c69b0(0x19b)]=_0x1c69b0(0x18f);}[_0x46fdda(0x197)](_0x115c19=new Box3()){const _0x5ad62d=_0x46fdda,_0x30a921=this['getWorldMatrix'](),_0x32f467=this[_0x5ad62d(0x179)]['x'],_0x258281=this[_0x5ad62d(0x179)]['y'],_0x387f98=this['_halfExtents']['z'];_0x115c19[_0x5ad62d(0x17f)]();const _0x5c4ff8=[new Vector3(-_0x32f467,-_0x258281,-_0x387f98),new Vector3(-_0x32f467,-_0x258281,_0x387f98),new Vector3(-_0x32f467,_0x258281,-_0x387f98),new Vector3(-_0x32f467,_0x258281,_0x387f98),new Vector3(_0x32f467,-_0x258281,-_0x387f98),new Vector3(_0x32f467,-_0x258281,_0x387f98),new Vector3(_0x32f467,_0x258281,-_0x387f98),new Vector3(_0x32f467,_0x258281,_0x387f98)];for(const _0x12bf3f of _0x5c4ff8){_0x12bf3f['applyMatrix4'](_0x30a921),_0x115c19[_0x5ad62d(0x17b)](_0x12bf3f);}return _0x115c19;}[_0x46fdda(0x180)](){const _0x57123c=_0x46fdda,_0x5e709b=new Object3D();_0x5e709b[_0x57123c(0x19b)]=_0x57123c(0x18a);const _0x25c959=new BoxGeometry(0x1,0x1,0x1),_0x33664b=new MeshBasicMaterial({'color':this[_0x57123c(0x19e)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']}),_0x1b7550=new Mesh(_0x25c959,_0x33664b);return _0x1b7550[_0x57123c(0x19b)]=_0x57123c(0x189),_0x5e709b[_0x57123c(0x181)](_0x1b7550),this[_0x57123c(0x17d)]=_0x1b7550,this[_0x57123c(0x19f)](0x0),_0x5e709b;}[_0x46fdda(0x184)](_0x23e64f){const _0x3dadbe=_0x46fdda;this[_0x3dadbe(0x17d)]=null;}[_0x46fdda(0x19f)](_0xc01843){const _0x3a05ec=_0x46fdda;if(!this[_0x3a05ec(0x17d)])return;this[_0x3a05ec(0x17d)]['scale'][_0x3a05ec(0x17e)](this[_0x3a05ec(0x179)]['x']*0x2,this[_0x3a05ec(0x179)]['y']*0x2,this[_0x3a05ec(0x179)]['z']*0x2);}[_0x46fdda(0x178)](_0x46274d,_0xe617b7,_0x37053){const _0x462bde=_0x46fdda;if(!this['threeObject'])return null;const _0x251318=this[_0x462bde(0x17a)][_0x462bde(0x198)]['clone']()['invert'](),_0x2792c7=_0x46274d[_0x462bde(0x190)]()['applyMatrix4'](_0x251318),_0x42d7f1=_0xe617b7[_0x462bde(0x190)]()['transformDirection'](_0x251318),_0xb811d=_0x46274d[_0x462bde(0x190)]()[_0x462bde(0x181)](_0xe617b7),_0x489870=_0xb811d[_0x462bde(0x183)](_0x251318);_0x42d7f1[_0x462bde(0x18b)](_0x489870,_0x2792c7);const _0x2e4575=this[_0x462bde(0x179)][_0x462bde(0x190)]()[_0x462bde(0x199)](),_0x46b93d=this[_0x462bde(0x179)][_0x462bde(0x190)](),_0x4679df=this['intersectRayAabbRaw'](_0x2792c7,_0x42d7f1,_0x2e4575,_0x46b93d);if(!_0x4679df)return null;if(_0x4679df['t']>_0x37053)return null;const _0x4e7a7a=_0x46274d['clone']()[_0x462bde(0x181)](_0xe617b7[_0x462bde(0x190)]()[_0x462bde(0x192)](_0x4679df['t'])),_0x143bb7=_0x4679df[_0x462bde(0x188)],_0x7b3d27=new Matrix4()[_0x462bde(0x18d)](this[_0x462bde(0x17a)][_0x462bde(0x198)])[_0x462bde(0x18c)]()[_0x462bde(0x195)](),_0x304e31=_0x143bb7[_0x462bde(0x183)](_0x7b3d27)[_0x462bde(0x186)]();return {'point':_0x4e7a7a,'normal':_0x304e31,'distance':_0x4679df['t']};}['intersectRayAabbRaw'](_0x7ede89,_0x39deff,_0x292ba4,_0x263601){const _0x2e899f=_0x46fdda;let _0x2725ef=-Infinity,_0x462387=Infinity;const _0x444399=new Vector3(),_0x1740e9=1e-8,_0x4b7c30=_0x391706=>{const _0x49ce8a=_0x5ede,_0x565206=_0x7ede89[_0x391706],_0x2bcd7a=_0x39deff[_0x391706],_0x4eb2c4=_0x292ba4[_0x391706],_0x59e863=_0x263601[_0x391706];if(Math[_0x49ce8a(0x194)](_0x2bcd7a)<_0x1740e9){if(_0x565206<_0x4eb2c4||_0x565206>_0x59e863)return ![];return !![];}const _0x3ef98e=0x1/_0x2bcd7a;let _0x12c4de=(_0x4eb2c4-_0x565206)*_0x3ef98e,_0x443507=(_0x59e863-_0x565206)*_0x3ef98e;if(_0x12c4de>_0x443507){const _0xffe61d=_0x12c4de;_0x12c4de=_0x443507,_0x443507=_0xffe61d;}if(_0x12c4de>_0x2725ef){_0x2725ef=_0x12c4de,_0x444399[_0x49ce8a(0x17e)](0x0,0x0,0x0),_0x444399[_0x391706]=_0x2bcd7a<0x0?0x1:-1;if(_0x2bcd7a>0x0)_0x444399[_0x391706]=-1;else _0x444399[_0x391706]=0x1;}_0x443507<_0x462387&&(_0x462387=_0x443507);if(_0x2725ef>_0x462387)return ![];return !![];};if(!_0x4b7c30('x')||!_0x4b7c30('y')||!_0x4b7c30('z'))return null;if(_0x462387<0x0)return null;if(_0x2725ef<0x0)return {'t':0x0,'normal':_0x39deff[_0x2e899f(0x190)]()['negate']()['normalize']()};return {'t':_0x2725ef,'normal':_0x444399};}}
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
const _0x5e4c37=_0x466d;(function(_0x2147e5,_0x256c39){const _0x58889b=_0x466d,_0xfd398d=_0x2147e5();while(!![]){try{const _0xeeef3f=-parseInt(_0x58889b(0x1d1))/0x1+parseInt(_0x58889b(0x1d3))/0x2*(-parseInt(_0x58889b(0x1c3))/0x3)+-parseInt(_0x58889b(0x1d0))/0x4+-parseInt(_0x58889b(0x1b8))/0x5+-parseInt(_0x58889b(0x1c4))/0x6*(-parseInt(_0x58889b(0x1d2))/0x7)+parseInt(_0x58889b(0x1c0))/0x8*(parseInt(_0x58889b(0x1cd))/0x9)+parseInt(_0x58889b(0x1c1))/0xa;if(_0xeeef3f===_0x256c39)break;else _0xfd398d['push'](_0xfd398d['shift']());}catch(_0x5d0f83){_0xfd398d['push'](_0xfd398d['shift']());}}}(_0x2045,0x8f355));function _0x466d(_0x4bea76,_0x3ebf5f){_0x4bea76=_0x4bea76-0x1b8;const _0x204544=_0x2045();let _0x466da9=_0x204544[_0x4bea76];return _0x466da9;}class SphereColliderComponent extends ColliderComponent{get['radius'](){const _0x555f6d=_0x466d;return this[_0x555f6d(0x1ce)];}constructor(_0x55b1b0,_0x40e297=0.5,_0x52a397){const _0x43bc12=_0x466d;super(_0x55b1b0,_0x52a397),this[_0x43bc12(0x1c9)]=null,this[_0x43bc12(0x1ce)]=_0x40e297,this[_0x43bc12(0x1cb)]='SphereColliderComponent';}['getWorldAABB'](_0x1d1c24=new Box3()){const _0x4372d1=_0x466d,_0x182763=this['getWorldPosition'](),_0xc277b3=this[_0x4372d1(0x1bf)](),_0xf70a86=Math[_0x4372d1(0x1c6)](Math[_0x4372d1(0x1c8)](_0xc277b3['x']),Math[_0x4372d1(0x1c8)](_0xc277b3['y']),Math[_0x4372d1(0x1c8)](_0xc277b3['z'])),_0x4c279f=Math[_0x4372d1(0x1c6)](0x0,this[_0x4372d1(0x1ce)])*_0xf70a86,_0x54381b=new Vector3(_0x4c279f*0x2,_0x4c279f*0x2,_0x4c279f*0x2);return _0x1d1c24['setFromCenterAndSize'](_0x182763,_0x54381b),_0x1d1c24;}[_0x5e4c37(0x1ba)](){const _0x40fd79=_0x5e4c37,_0x2a39b3=new Object3D();_0x2a39b3[_0x40fd79(0x1cb)]=_0x40fd79(0x1bc);const _0xb10b06=new SphereGeometry(0x1,0x18,0x10),_0x26158b=new MeshBasicMaterial({'color':this[_0x40fd79(0x1be)],'wireframe':!![],'transparent':!![],'opacity':this[_0x40fd79(0x1b9)]}),_0x4899a1=new Mesh(_0xb10b06,_0x26158b);return _0x4899a1['name']=_0x40fd79(0x1cc),_0x2a39b3['add'](_0x4899a1),this['_debugMesh']=_0x4899a1,this[_0x40fd79(0x1ca)](0x0),_0x2a39b3;}['destroyDebugObject'](_0x3313b7){const _0x23622a=_0x5e4c37;this[_0x23622a(0x1c9)]=null;}[_0x5e4c37(0x1ca)](_0x39707e){const _0x3fc199=_0x5e4c37,_0x19475f=this[_0x3fc199(0x1c9)];if(!_0x19475f)return;const _0x4c710f=this[_0x3fc199(0x1bf)](),_0x31439c=Math[_0x3fc199(0x1c8)](_0x4c710f['x'])>1e-8?_0x4c710f['x']:0x1,_0x33e485=Math[_0x3fc199(0x1c8)](_0x4c710f['y'])>1e-8?_0x4c710f['y']:0x1,_0x2ec501=Math['abs'](_0x4c710f['z'])>1e-8?_0x4c710f['z']:0x1,_0xcae13c=Math[_0x3fc199(0x1c6)](Math[_0x3fc199(0x1c8)](_0x31439c),Math[_0x3fc199(0x1c8)](_0x33e485),Math[_0x3fc199(0x1c8)](_0x2ec501)),_0x10f7fc=Math[_0x3fc199(0x1c6)](0x0,this[_0x3fc199(0x1ce)])*_0xcae13c;_0x19475f[_0x3fc199(0x1c5)][_0x3fc199(0x1cf)](_0x10f7fc/_0x31439c,_0x10f7fc/_0x33e485,_0x10f7fc/_0x2ec501);}['onDebugStyleChanged'](){const _0x280099=_0x5e4c37,_0x31eec2=this['_debugMesh'];if(!_0x31eec2)return;const _0x3070d0=_0x31eec2['material'];_0x3070d0[_0x280099(0x1c2)][_0x280099(0x1bd)](this[_0x280099(0x1be)]),_0x3070d0[_0x280099(0x1d4)]=this[_0x280099(0x1b9)],_0x3070d0[_0x280099(0x1c7)]=this[_0x280099(0x1b9)]<0x1,_0x3070d0[_0x280099(0x1bb)]=!![];}}function _0x2045(){const _0x4c3c70=['569787ucfUpu','24DXZOiI','scale','max','transparent','abs','_debugMesh','onDebugTick','name','SphereColliderDebugMesh','123363ZWCfRc','_radius','set','1259232PhAegm','411173irllcL','1058491rUpblw','4qdcxcf','opacity','398640temSGB','debugOpacity','createDebugObject','needsUpdate','SphereColliderDebug','setHex','debugColor','getWorldScale','56BSgdEL','10713470NQYJzp','color'];_0x2045=function(){return _0x4c3c70;};return _0x2045();}
|
|
157
157
|
|
|
158
|
-
const _0x297442=_0x3f39;function _0x3f39(_0x9bb1a7,_0x24d6f2){_0x9bb1a7=_0x9bb1a7-0x192;const _0x403cc2=_0x403c();let _0x3f3937=_0x403cc2[_0x9bb1a7];return _0x3f3937;}(function(_0x49a06b,_0x3fb0e4){const _0x359dc8=_0x3f39,_0x1255d5=_0x49a06b();while(!![]){try{const _0x44c638=parseInt(_0x359dc8(0x1b7))/0x1*(-parseInt(_0x359dc8(0x1d1))/0x2)+parseInt(_0x359dc8(0x19f))/0x3+-parseInt(_0x359dc8(0x1c3))/0x4*(-parseInt(_0x359dc8(0x1b8))/0x5)+-parseInt(_0x359dc8(0x1ac))/0x6+parseInt(_0x359dc8(0x1d4))/0x7+parseInt(_0x359dc8(0x1a0))/0x8+-parseInt(_0x359dc8(0x1a8))/0x9*(parseInt(_0x359dc8(0x1b2))/0xa);if(_0x44c638===_0x3fb0e4)break;else _0x1255d5['push'](_0x1255d5['shift']());}catch(_0x11bd8f){_0x1255d5['push'](_0x1255d5['shift']());}}}(_0x403c,0xe30f7));function _0x403c(){const _0x24c73d=['_sourceObject','intersectRayTriangle','index','_tmpB','from','addScaledVector','_tmpC','name','29770pwsusR','expandByPoint','attributes','1426194lfyvWi','_tmpA','getIndex','_tmpEdge2','destroyDebugObject','lengthSq','MeshColliderDebug','geometry','createDebugObject','crossVectors','applyMatrix4','remove','count','abs','matrixWorld','dispose','setSourceObject','_tmpN','_tmpCorner','obj','_tmpAabb','onDebugStyleChanged','makeEmpty','_debugEntries','_tmpP','copy','getX','getAttribute','position','updateWorldMatrix','invert','push','_tmpT','debugOpacity','_tmpMat','setAttribute','boundingBox','4427424WJdGxp','11108200VrkauP','floor','mergeGeometries','multiplyScalar','min','setHex','clone','traverse','8277579vblpZN','sub','length','_mesh','1125414RYRPam','max','sort','getY','getDebugAttachParent','sqrt','30OBvIZd','add','debugColor','dot','setIndex','61qUCaaH','255kqDSGR','threeObject','array','debugEnabled','intersectRayAabb','color','set','_debugMaterial','_tmpBoxCorner','computeBoundingBox','destroy','134644BTyGqu','_tmpQ','multiply','normal','getZ','distance'];_0x403c=function(){return _0x24c73d;};return _0x403c();}class MeshColliderComponent extends ColliderComponent{get['sourceObject'](){const _0xc35f3=_0x3f39;return this[_0xc35f3(0x1c9)];}constructor(_0x5733ef,_0x39d399=null,_0x28f2c9){const _0x5d2e16=_0x3f39;super(_0x5733ef,_0x28f2c9),this[_0x5d2e16(0x1c9)]=null,this['_mesh']=null,this[_0x5d2e16(0x1eb)]=[],this[_0x5d2e16(0x1bf)]=null,this['_tmpAabb']=new Box3(),this[_0x5d2e16(0x19c)]=new Matrix4(),this[_0x5d2e16(0x1e6)]=new Vector3(),this[_0x5d2e16(0x1c0)]=Array[_0x5d2e16(0x1cd)]({'length':0x8},()=>new Vector3()),this[_0x5d2e16(0x1d5)]=new Vector3(),this[_0x5d2e16(0x1cc)]=new Vector3(),this[_0x5d2e16(0x1cf)]=new Vector3(),this['_tmpEdge1']=new Vector3(),this['_tmpEdge2']=new Vector3(),this[_0x5d2e16(0x192)]=new Vector3(),this[_0x5d2e16(0x19a)]=new Vector3(),this['_tmpQ']=new Vector3(),this[_0x5d2e16(0x1e5)]=new Vector3(),this[_0x5d2e16(0x1d0)]='MeshColliderComponent',this[_0x5d2e16(0x1e4)](_0x39d399);}[_0x297442(0x1e4)](_0x260078){const _0xc19747=_0x297442,_0x2f8404=this[_0xc19747(0x1bb)];_0x2f8404&&(this[_0xc19747(0x1bb)]=![]);this[_0xc19747(0x1c9)]=_0x260078;this[_0xc19747(0x1ab)]&&(this[_0xc19747(0x1ab)]['geometry'][_0xc19747(0x1e3)](),this[_0xc19747(0x1ab)]=null);if(!_0x260078){_0x2f8404&&(this[_0xc19747(0x1bb)]=!![]);return;}const _0x2faac1=[];_0x260078[_0xc19747(0x197)](!![],!![]);const _0x458390=_0x260078[_0xc19747(0x1e2)]['clone']()[_0xc19747(0x198)]();_0x260078[_0xc19747(0x1a7)](_0xf1d246=>{const _0x3cfada=_0xc19747;if(_0xf1d246['isMesh']){const _0x1eb999=_0xf1d246;if(_0x1eb999[_0x3cfada(0x1db)]){const _0x38a3df=_0x1eb999['geometry']['clone'](),_0x276154=_0x458390[_0x3cfada(0x1a6)]()[_0x3cfada(0x1c5)](_0x1eb999[_0x3cfada(0x1e2)]);_0x38a3df['applyMatrix4'](_0x276154),_0x2faac1[_0x3cfada(0x199)](_0x38a3df);}}});if(_0x2faac1[_0xc19747(0x1aa)]>0x0){const _0x2c7be3=this[_0xc19747(0x1a2)](_0x2faac1);if(_0x2c7be3){const _0x5add7d=new Mesh(_0x2c7be3);this[_0xc19747(0x1ab)]=_0x5add7d;}}_0x2f8404&&(this[_0xc19747(0x1bb)]=!![]);}[_0x297442(0x1a2)](_0x4f7cb2){const _0x351641=_0x297442;if(_0x4f7cb2[_0x351641(0x1aa)]===0x0)return null;if(_0x4f7cb2['length']===0x1)return _0x4f7cb2[0x0];let _0x4894f7=0x0,_0x2d3260=0x0;for(const _0x84d20a of _0x4f7cb2){_0x4894f7+=_0x84d20a[_0x351641(0x1d3)]['position'][_0x351641(0x1e0)],_0x84d20a['index']?_0x2d3260+=_0x84d20a['index'][_0x351641(0x1e0)]:_0x2d3260+=_0x84d20a[_0x351641(0x1d3)][_0x351641(0x196)]['count'];}const _0x252424=new Float32Array(_0x4894f7*0x3),_0x37fdc1=new Uint32Array(_0x2d3260);let _0x3e248a=0x0,_0x85543c=0x0;for(const _0xa619b4 of _0x4f7cb2){const _0x889c7=_0xa619b4[_0x351641(0x1d3)][_0x351641(0x196)][_0x351641(0x1ba)],_0x85d8d6=_0xa619b4[_0x351641(0x1d3)]['position'][_0x351641(0x1e0)];for(let _0x1e9c98=0x0;_0x1e9c98<_0x85d8d6*0x3;_0x1e9c98++){_0x252424[_0x3e248a*0x3+_0x1e9c98]=_0x889c7[_0x1e9c98];}if(_0xa619b4[_0x351641(0x1cb)]){const _0x4245f0=_0xa619b4[_0x351641(0x1cb)]['array'];for(let _0x407aec=0x0;_0x407aec<_0xa619b4[_0x351641(0x1cb)][_0x351641(0x1e0)];_0x407aec++){_0x37fdc1[_0x85543c+_0x407aec]=_0x4245f0[_0x407aec]+_0x3e248a;}_0x85543c+=_0xa619b4[_0x351641(0x1cb)][_0x351641(0x1e0)];}else {for(let _0x5a2374=0x0;_0x5a2374<_0x85d8d6;_0x5a2374++){_0x37fdc1[_0x85543c+_0x5a2374]=_0x5a2374+_0x3e248a;}_0x85543c+=_0x85d8d6;}_0x3e248a+=_0x85d8d6;}const _0x511bbc=new BufferGeometry();return _0x511bbc[_0x351641(0x19d)](_0x351641(0x196),new BufferAttribute(_0x252424,0x3)),_0x511bbc[_0x351641(0x1b6)](new BufferAttribute(_0x37fdc1,0x1)),_0x511bbc;}[_0x297442(0x1c2)](){const _0x110703=_0x297442;this['debugEnabled']=![],this['_mesh']&&(this[_0x110703(0x1ab)][_0x110703(0x1db)][_0x110703(0x1e3)](),this[_0x110703(0x1ab)]=null),this[_0x110703(0x1c9)]=null,super[_0x110703(0x1c2)]();}['getWorldAABB'](_0x2cdfa5=new Box3()){const _0x59d8a9=_0x297442;_0x2cdfa5[_0x59d8a9(0x1ea)]();if(!this[_0x59d8a9(0x1c9)])return _0x2cdfa5;this[_0x59d8a9(0x1c9)][_0x59d8a9(0x197)](!![],!![]);const _0x212ad3=this[_0x59d8a9(0x1c0)];if(this[_0x59d8a9(0x1ab)]){const _0x54a2c9=this[_0x59d8a9(0x1ab)];_0x54a2c9[_0x59d8a9(0x1e2)][_0x59d8a9(0x193)](this[_0x59d8a9(0x1c9)][_0x59d8a9(0x1e2)]);const _0x5e0a25=_0x54a2c9[_0x59d8a9(0x1db)];if(_0x5e0a25){!_0x5e0a25[_0x59d8a9(0x19e)]&&_0x5e0a25[_0x59d8a9(0x1c1)]();const _0x5f3e76=_0x5e0a25[_0x59d8a9(0x19e)];if(_0x5f3e76){this['_tmpMat']['copy'](_0x54a2c9[_0x59d8a9(0x1e2)]);const _0x19cec3=_0x5f3e76[_0x59d8a9(0x1a4)],_0x35d1f7=_0x5f3e76[_0x59d8a9(0x1ad)];_0x212ad3[0x0][_0x59d8a9(0x1be)](_0x19cec3['x'],_0x19cec3['y'],_0x19cec3['z']),_0x212ad3[0x1][_0x59d8a9(0x1be)](_0x19cec3['x'],_0x19cec3['y'],_0x35d1f7['z']),_0x212ad3[0x2][_0x59d8a9(0x1be)](_0x19cec3['x'],_0x35d1f7['y'],_0x19cec3['z']),_0x212ad3[0x3]['set'](_0x19cec3['x'],_0x35d1f7['y'],_0x35d1f7['z']),_0x212ad3[0x4]['set'](_0x35d1f7['x'],_0x19cec3['y'],_0x19cec3['z']),_0x212ad3[0x5][_0x59d8a9(0x1be)](_0x35d1f7['x'],_0x19cec3['y'],_0x35d1f7['z']),_0x212ad3[0x6][_0x59d8a9(0x1be)](_0x35d1f7['x'],_0x35d1f7['y'],_0x19cec3['z']),_0x212ad3[0x7][_0x59d8a9(0x1be)](_0x35d1f7['x'],_0x35d1f7['y'],_0x35d1f7['z']);for(const _0x27e27d of _0x212ad3){_0x27e27d['applyMatrix4'](this[_0x59d8a9(0x19c)]),_0x2cdfa5[_0x59d8a9(0x1d2)](_0x27e27d);}}}}return _0x2cdfa5;}['raycastAll'](_0x143c9a,_0x110d1e,_0xb360cc){const _0x2dbdef=_0x297442;if(!this[_0x2dbdef(0x1c9)])return [];this[_0x2dbdef(0x1c9)]['updateWorldMatrix'](!![],!![]);const _0x5355b3=[];if(this[_0x2dbdef(0x1ab)]){const _0x4872c1=this[_0x2dbdef(0x1ab)];_0x4872c1[_0x2dbdef(0x1e2)][_0x2dbdef(0x193)](this[_0x2dbdef(0x1c9)]['matrixWorld']);const _0x42eed7=_0x4872c1[_0x2dbdef(0x1db)];if(_0x42eed7){!_0x42eed7[_0x2dbdef(0x19e)]&&_0x42eed7[_0x2dbdef(0x1c1)]();const _0x3bea52=_0x42eed7[_0x2dbdef(0x19e)];if(_0x3bea52){const _0x142267=this[_0x2dbdef(0x1e8)][_0x2dbdef(0x193)](_0x3bea52)['applyMatrix4'](_0x4872c1[_0x2dbdef(0x1e2)]);if(this[_0x2dbdef(0x1bc)](_0x143c9a,_0x110d1e,_0xb360cc,_0x142267)){const _0x5c5c1f=_0x42eed7[_0x2dbdef(0x195)](_0x2dbdef(0x196));if(_0x5c5c1f){const _0x22c53e=_0x42eed7[_0x2dbdef(0x1d6)](),_0x3cffa7=_0x22c53e?Math[_0x2dbdef(0x1a1)](_0x22c53e[_0x2dbdef(0x1e0)]/0x3):Math[_0x2dbdef(0x1a1)](_0x5c5c1f[_0x2dbdef(0x1e0)]/0x3);for(let _0x27b14c=0x0;_0x27b14c<_0x3cffa7;_0x27b14c++){const _0x317ac2=_0x22c53e?_0x22c53e[_0x2dbdef(0x194)](_0x27b14c*0x3+0x0):_0x27b14c*0x3+0x0,_0x4e4d53=_0x22c53e?_0x22c53e[_0x2dbdef(0x194)](_0x27b14c*0x3+0x1):_0x27b14c*0x3+0x1,_0x1dd65a=_0x22c53e?_0x22c53e['getX'](_0x27b14c*0x3+0x2):_0x27b14c*0x3+0x2;this[_0x2dbdef(0x1d5)][_0x2dbdef(0x1be)](_0x5c5c1f[_0x2dbdef(0x194)](_0x317ac2),_0x5c5c1f['getY'](_0x317ac2),_0x5c5c1f[_0x2dbdef(0x1c7)](_0x317ac2))[_0x2dbdef(0x1de)](_0x4872c1[_0x2dbdef(0x1e2)]),this[_0x2dbdef(0x1cc)][_0x2dbdef(0x1be)](_0x5c5c1f[_0x2dbdef(0x194)](_0x4e4d53),_0x5c5c1f[_0x2dbdef(0x1af)](_0x4e4d53),_0x5c5c1f['getZ'](_0x4e4d53))[_0x2dbdef(0x1de)](_0x4872c1[_0x2dbdef(0x1e2)]),this[_0x2dbdef(0x1cf)]['set'](_0x5c5c1f[_0x2dbdef(0x194)](_0x1dd65a),_0x5c5c1f['getY'](_0x1dd65a),_0x5c5c1f[_0x2dbdef(0x1c7)](_0x1dd65a))[_0x2dbdef(0x1de)](_0x4872c1[_0x2dbdef(0x1e2)]);const _0x329be2=this[_0x2dbdef(0x1ca)](_0x143c9a,_0x110d1e,this[_0x2dbdef(0x1d5)],this['_tmpB'],this[_0x2dbdef(0x1cf)],_0xb360cc);_0x329be2&&_0x5355b3[_0x2dbdef(0x199)]({'distance':_0x329be2[_0x2dbdef(0x1c8)],'point':_0x329be2['point'][_0x2dbdef(0x1a6)](),'normal':_0x329be2[_0x2dbdef(0x1c6)][_0x2dbdef(0x1a6)]()});}}}}}}return _0x5355b3[_0x2dbdef(0x1ae)]((_0x376fde,_0x39a55c)=>_0x376fde['distance']-_0x39a55c[_0x2dbdef(0x1c8)]);}['raycast'](_0x14ee55,_0x41063b,_0xc913fa){const _0x1086d6=_0x297442,_0x172669=this['raycastAll'](_0x14ee55,_0x41063b,_0xc913fa);if(_0x172669[_0x1086d6(0x1aa)]>0x0)return _0x172669[0x0];return null;}[_0x297442(0x1bc)](_0x5af5f5,_0x39505f,_0x31e67d,_0x170b77){const _0x1d44fe=_0x297442;let _0x5529d0=0x0,_0x2c94a5=_0x31e67d;const _0x204bd2=1e-8,_0x2b7ac2=_0x41df2b=>{const _0x132ede=_0x3f39,_0x471494=_0x5af5f5[_0x41df2b],_0x3757e9=_0x39505f[_0x41df2b],_0x41fb9b=_0x170b77[_0x132ede(0x1a4)][_0x41df2b],_0x53bf90=_0x170b77[_0x132ede(0x1ad)][_0x41df2b];if(Math[_0x132ede(0x1e1)](_0x3757e9)<_0x204bd2)return _0x471494>=_0x41fb9b&&_0x471494<=_0x53bf90;const _0x2c3cff=0x1/_0x3757e9;let _0x1ebe6f,_0x450f21;return _0x3757e9>=0x0?(_0x1ebe6f=(_0x41fb9b-_0x471494)*_0x2c3cff,_0x450f21=(_0x53bf90-_0x471494)*_0x2c3cff):(_0x1ebe6f=(_0x53bf90-_0x471494)*_0x2c3cff,_0x450f21=(_0x41fb9b-_0x471494)*_0x2c3cff),_0x1ebe6f>_0x5529d0&&(_0x5529d0=_0x1ebe6f),_0x450f21<_0x2c94a5&&(_0x2c94a5=_0x450f21),_0x5529d0<=_0x2c94a5;};if(!_0x2b7ac2('x')||!_0x2b7ac2('y')||!_0x2b7ac2('z'))return ![];const _0x308bf5=Math[_0x1d44fe(0x1ad)](0x0,_0x5529d0);return _0x308bf5<=_0x31e67d;}['intersectRayTriangle'](_0x575c99,_0x1dff9d,_0x30bd85,_0x2e5efd,_0x409bb0,_0x49e20f){const _0x43cb4d=_0x297442,_0x279cd=1e-8,_0x5cd44b=this['_tmpEdge1'][_0x43cb4d(0x193)](_0x2e5efd)[_0x43cb4d(0x1a9)](_0x30bd85),_0x3958ba=this[_0x43cb4d(0x1d7)][_0x43cb4d(0x193)](_0x409bb0)['sub'](_0x30bd85),_0x4a84fa=this[_0x43cb4d(0x192)][_0x43cb4d(0x1dd)](_0x1dff9d,_0x3958ba),_0x820466=_0x5cd44b[_0x43cb4d(0x1b5)](_0x4a84fa);if(Math[_0x43cb4d(0x1e1)](_0x820466)<_0x279cd)return null;const _0x523177=0x1/_0x820466,_0x3872d3=this[_0x43cb4d(0x19a)][_0x43cb4d(0x193)](_0x575c99)['sub'](_0x30bd85),_0x49f51b=_0x3872d3[_0x43cb4d(0x1b5)](_0x4a84fa)*_0x523177;if(_0x49f51b<0x0||_0x49f51b>0x1)return null;const _0x2484fa=this[_0x43cb4d(0x1c4)][_0x43cb4d(0x1dd)](_0x3872d3,_0x5cd44b),_0x19dd7f=_0x1dff9d['dot'](_0x2484fa)*_0x523177;if(_0x19dd7f<0x0||_0x49f51b+_0x19dd7f>0x1)return null;const _0x32cbd4=_0x3958ba[_0x43cb4d(0x1b5)](_0x2484fa)*_0x523177;if(_0x32cbd4<0x0||_0x32cbd4>_0x49e20f)return null;const _0x29d7de=this[_0x43cb4d(0x1e5)][_0x43cb4d(0x1dd)](_0x5cd44b,_0x3958ba),_0x3837bf=_0x29d7de[_0x43cb4d(0x1d9)]();_0x3837bf>_0x279cd&&_0x29d7de[_0x43cb4d(0x1a3)](0x1/Math[_0x43cb4d(0x1b1)](_0x3837bf));_0x29d7de[_0x43cb4d(0x1b5)](_0x1dff9d)>0x0&&_0x29d7de[_0x43cb4d(0x1a3)](-1);const _0x289e1c=this[_0x43cb4d(0x1e6)][_0x43cb4d(0x193)](_0x575c99)[_0x43cb4d(0x1ce)](_0x1dff9d,_0x32cbd4);return {'point':_0x289e1c,'normal':_0x29d7de,'distance':_0x32cbd4};}[_0x297442(0x1b0)](){const _0x14c60f=_0x297442;return this[_0x14c60f(0x1b9)];}[_0x297442(0x1dc)](){const _0x22a664=_0x297442;if(!this[_0x22a664(0x1c9)])return null;const _0x94e9e2=new Object3D();_0x94e9e2[_0x22a664(0x1d0)]=_0x22a664(0x1da),this['_debugEntries']=[],this[_0x22a664(0x1bf)]=new MeshBasicMaterial({'color':this[_0x22a664(0x1b4)],'wireframe':!![],'transparent':!![],'opacity':this['debugOpacity']});if(this[_0x22a664(0x1ab)]){const _0x507894=this[_0x22a664(0x1ab)],_0x53fc7d=_0x507894['geometry'];if(_0x53fc7d){const _0x5442b2=new Mesh(_0x53fc7d,this[_0x22a664(0x1bf)]);_0x94e9e2[_0x22a664(0x1b3)](_0x5442b2),this['_debugEntries'][_0x22a664(0x199)]({'parent':_0x94e9e2,'obj':_0x5442b2});}}return _0x94e9e2;}[_0x297442(0x1d8)](_0x53c294){const _0x201434=_0x297442;for(const _0x42d409 of this[_0x201434(0x1eb)]){_0x42d409['parent'][_0x201434(0x1df)](_0x42d409[_0x201434(0x1e7)]);}this['_debugEntries']=[],this[_0x201434(0x1bf)]=null;}[_0x297442(0x1e9)](){const _0xb12ab6=_0x297442;if(!this[_0xb12ab6(0x1bf)])return;this[_0xb12ab6(0x1bf)][_0xb12ab6(0x1bd)][_0xb12ab6(0x1a5)](this[_0xb12ab6(0x1b4)]),this['_debugMaterial']['opacity']=this[_0xb12ab6(0x19b)],this[_0xb12ab6(0x1bf)]['transparent']=this[_0xb12ab6(0x19b)]<0x1,this[_0xb12ab6(0x1bf)]['needsUpdate']=!![];}}
|
|
158
|
+
function _0x326d(_0xe1c427,_0x261230){_0xe1c427=_0xe1c427-0x168;const _0x4a2384=_0x4a23();let _0x326d25=_0x4a2384[_0xe1c427];return _0x326d25;}const _0x4906fd=_0x326d;(function(_0x4c1613,_0x2b1394){const _0x1de986=_0x326d,_0x45b936=_0x4c1613();while(!![]){try{const _0x1fc466=parseInt(_0x1de986(0x18c))/0x1+-parseInt(_0x1de986(0x1b8))/0x2*(parseInt(_0x1de986(0x16d))/0x3)+-parseInt(_0x1de986(0x186))/0x4*(parseInt(_0x1de986(0x191))/0x5)+parseInt(_0x1de986(0x169))/0x6*(parseInt(_0x1de986(0x1c0))/0x7)+-parseInt(_0x1de986(0x17f))/0x8+-parseInt(_0x1de986(0x187))/0x9+parseInt(_0x1de986(0x18e))/0xa;if(_0x1fc466===_0x2b1394)break;else _0x45b936['push'](_0x45b936['shift']());}catch(_0x3fbfc2){_0x45b936['push'](_0x45b936['shift']());}}}(_0x4a23,0x8af4c));class MeshColliderComponent extends ColliderComponent{get[_0x4906fd(0x184)](){const _0x23ef02=_0x4906fd;return this[_0x23ef02(0x193)];}constructor(_0xac3115,_0x435971=null,_0x468edd){const _0x25d3b6=_0x4906fd;super(_0xac3115,_0x468edd),this[_0x25d3b6(0x193)]=null,this['_mesh']=null,this[_0x25d3b6(0x185)]=[],this[_0x25d3b6(0x19c)]=null,this['_tmpAabb']=new Box3(),this['_tmpMat']=new Matrix4(),this[_0x25d3b6(0x1a2)]=new Vector3(),this[_0x25d3b6(0x1ad)]=Array[_0x25d3b6(0x173)]({'length':0x8},()=>new Vector3()),this[_0x25d3b6(0x17b)]=new Vector3(),this[_0x25d3b6(0x1a1)]=new Vector3(),this[_0x25d3b6(0x183)]=new Vector3(),this[_0x25d3b6(0x1ae)]=new Vector3(),this['_tmpEdge2']=new Vector3(),this[_0x25d3b6(0x1aa)]=new Vector3(),this[_0x25d3b6(0x1bc)]=new Vector3(),this[_0x25d3b6(0x18d)]=new Vector3(),this[_0x25d3b6(0x175)]=new Vector3(),this[_0x25d3b6(0x1a0)]='MeshColliderComponent',this[_0x25d3b6(0x16f)](_0x435971);}[_0x4906fd(0x16f)](_0x1b39ef){const _0x327dc9=_0x4906fd,_0x3ee54e=this[_0x327dc9(0x174)];_0x3ee54e&&(this['debugEnabled']=![]);this[_0x327dc9(0x193)]=_0x1b39ef;this[_0x327dc9(0x180)]&&(this[_0x327dc9(0x180)][_0x327dc9(0x1af)][_0x327dc9(0x16a)](),this[_0x327dc9(0x180)]=null);if(!_0x1b39ef){_0x3ee54e&&(this['debugEnabled']=!![]);return;}const _0x1e7b8c=[];_0x1b39ef[_0x327dc9(0x1c2)](!![],!![]);const _0x55424e=_0x1b39ef[_0x327dc9(0x18f)][_0x327dc9(0x1b7)]()[_0x327dc9(0x1a4)]();_0x1b39ef[_0x327dc9(0x177)](_0x4e61b1=>{const _0x52436b=_0x327dc9;if(_0x4e61b1[_0x52436b(0x197)]){const _0x18bab9=_0x4e61b1;if(_0x18bab9[_0x52436b(0x1af)]){const _0x495043=_0x18bab9[_0x52436b(0x1af)][_0x52436b(0x1b7)](),_0x24b716=_0x55424e[_0x52436b(0x1b7)]()[_0x52436b(0x178)](_0x18bab9['matrixWorld']);_0x495043[_0x52436b(0x19f)](_0x24b716),_0x1e7b8c['push'](_0x495043);}}});if(_0x1e7b8c[_0x327dc9(0x170)]>0x0){const _0x57060f=this[_0x327dc9(0x16e)](_0x1e7b8c);if(_0x57060f){const _0x504c63=new Mesh(_0x57060f);this[_0x327dc9(0x180)]=_0x504c63;}}_0x3ee54e&&(this['debugEnabled']=!![]);}[_0x4906fd(0x16e)](_0xb9ceae){const _0x32e7aa=_0x4906fd;if(_0xb9ceae[_0x32e7aa(0x170)]===0x0)return null;if(_0xb9ceae['length']===0x1)return _0xb9ceae[0x0];let _0x258682=0x0,_0x368412=0x0;for(const _0x58fc4b of _0xb9ceae){_0x258682+=_0x58fc4b[_0x32e7aa(0x1c3)][_0x32e7aa(0x17a)][_0x32e7aa(0x19b)],_0x58fc4b[_0x32e7aa(0x190)]?_0x368412+=_0x58fc4b[_0x32e7aa(0x190)]['count']:_0x368412+=_0x58fc4b[_0x32e7aa(0x1c3)][_0x32e7aa(0x17a)][_0x32e7aa(0x19b)];}const _0x4dd1e5=new Float32Array(_0x258682*0x3),_0x133440=new Uint32Array(_0x368412);let _0x57953c=0x0,_0x4c482d=0x0;for(const _0x49ec4a of _0xb9ceae){const _0x27c3eb=_0x49ec4a[_0x32e7aa(0x1c3)]['position'][_0x32e7aa(0x1a7)],_0x50fff9=_0x49ec4a[_0x32e7aa(0x1c3)][_0x32e7aa(0x17a)]['count'];for(let _0x47a6b7=0x0;_0x47a6b7<_0x50fff9*0x3;_0x47a6b7++){_0x4dd1e5[_0x57953c*0x3+_0x47a6b7]=_0x27c3eb[_0x47a6b7];}if(_0x49ec4a['index']){const _0x1a6c32=_0x49ec4a['index'][_0x32e7aa(0x1a7)];for(let _0x20a44d=0x0;_0x20a44d<_0x49ec4a[_0x32e7aa(0x190)]['count'];_0x20a44d++){_0x133440[_0x4c482d+_0x20a44d]=_0x1a6c32[_0x20a44d]+_0x57953c;}_0x4c482d+=_0x49ec4a[_0x32e7aa(0x190)]['count'];}else {for(let _0x5a62a2=0x0;_0x5a62a2<_0x50fff9;_0x5a62a2++){_0x133440[_0x4c482d+_0x5a62a2]=_0x5a62a2+_0x57953c;}_0x4c482d+=_0x50fff9;}_0x57953c+=_0x50fff9;}const _0x2e5213=new BufferGeometry();return _0x2e5213[_0x32e7aa(0x1be)]('position',new BufferAttribute(_0x4dd1e5,0x3)),_0x2e5213[_0x32e7aa(0x1a6)](new BufferAttribute(_0x133440,0x1)),_0x2e5213;}[_0x4906fd(0x1a9)](){const _0x4b0138=_0x4906fd;this['debugEnabled']=![],this['_mesh']&&(this[_0x4b0138(0x180)]['geometry'][_0x4b0138(0x16a)](),this['_mesh']=null),this['_sourceObject']=null,super[_0x4b0138(0x1a9)]();}[_0x4906fd(0x1a3)](_0x135f7e=new Box3()){const _0xdf5c7e=_0x4906fd;_0x135f7e['makeEmpty']();if(!this[_0xdf5c7e(0x193)])return _0x135f7e;this[_0xdf5c7e(0x193)][_0xdf5c7e(0x1c2)](!![],!![]);const _0x4bc76a=this[_0xdf5c7e(0x1ad)];if(this[_0xdf5c7e(0x180)]){const _0xc115d7=this[_0xdf5c7e(0x180)];_0xc115d7[_0xdf5c7e(0x18f)]['copy'](this['_sourceObject'][_0xdf5c7e(0x18f)]);const _0x36c010=_0xc115d7['geometry'];if(_0x36c010){!_0x36c010[_0xdf5c7e(0x19e)]&&_0x36c010[_0xdf5c7e(0x1b4)]();const _0x4dae73=_0x36c010[_0xdf5c7e(0x19e)];if(_0x4dae73){this[_0xdf5c7e(0x1b1)][_0xdf5c7e(0x1b0)](_0xc115d7[_0xdf5c7e(0x18f)]);const _0x5a8ecc=_0x4dae73['min'],_0x3ed1b2=_0x4dae73[_0xdf5c7e(0x1ba)];_0x4bc76a[0x0][_0xdf5c7e(0x182)](_0x5a8ecc['x'],_0x5a8ecc['y'],_0x5a8ecc['z']),_0x4bc76a[0x1][_0xdf5c7e(0x182)](_0x5a8ecc['x'],_0x5a8ecc['y'],_0x3ed1b2['z']),_0x4bc76a[0x2][_0xdf5c7e(0x182)](_0x5a8ecc['x'],_0x3ed1b2['y'],_0x5a8ecc['z']),_0x4bc76a[0x3]['set'](_0x5a8ecc['x'],_0x3ed1b2['y'],_0x3ed1b2['z']),_0x4bc76a[0x4]['set'](_0x3ed1b2['x'],_0x5a8ecc['y'],_0x5a8ecc['z']),_0x4bc76a[0x5][_0xdf5c7e(0x182)](_0x3ed1b2['x'],_0x5a8ecc['y'],_0x3ed1b2['z']),_0x4bc76a[0x6][_0xdf5c7e(0x182)](_0x3ed1b2['x'],_0x3ed1b2['y'],_0x5a8ecc['z']),_0x4bc76a[0x7][_0xdf5c7e(0x182)](_0x3ed1b2['x'],_0x3ed1b2['y'],_0x3ed1b2['z']);for(const _0x3d4312 of _0x4bc76a){_0x3d4312[_0xdf5c7e(0x19f)](this[_0xdf5c7e(0x1b1)]),_0x135f7e[_0xdf5c7e(0x176)](_0x3d4312);}}}}return _0x135f7e;}[_0x4906fd(0x1bf)](_0x397c12,_0x424d0e,_0x531584){const _0x492eb7=_0x4906fd;if(!this['_sourceObject'])return [];this['_sourceObject'][_0x492eb7(0x1c2)](!![],!![]);const _0x489e2c=[];if(this['_mesh']){const _0x3173b5=this[_0x492eb7(0x180)];_0x3173b5[_0x492eb7(0x18f)][_0x492eb7(0x1b0)](this['_sourceObject']['matrixWorld']);const _0x59ad7e=_0x3173b5[_0x492eb7(0x1af)];if(_0x59ad7e){!_0x59ad7e[_0x492eb7(0x19e)]&&_0x59ad7e[_0x492eb7(0x1b4)]();const _0x26de1f=_0x59ad7e[_0x492eb7(0x19e)];if(_0x26de1f){const _0x46c891=this[_0x492eb7(0x16b)]['copy'](_0x26de1f)[_0x492eb7(0x19f)](_0x3173b5['matrixWorld']);if(this[_0x492eb7(0x1ab)](_0x397c12,_0x424d0e,_0x531584,_0x46c891)){const _0x5d062a=_0x59ad7e[_0x492eb7(0x1b5)](_0x492eb7(0x17a));if(_0x5d062a){const _0x33bb19=_0x59ad7e[_0x492eb7(0x172)](),_0x465938=_0x33bb19?Math[_0x492eb7(0x1ac)](_0x33bb19[_0x492eb7(0x19b)]/0x3):Math[_0x492eb7(0x1ac)](_0x5d062a['count']/0x3);for(let _0x5a83eb=0x0;_0x5a83eb<_0x465938;_0x5a83eb++){const _0x4f8892=_0x33bb19?_0x33bb19[_0x492eb7(0x192)](_0x5a83eb*0x3+0x0):_0x5a83eb*0x3+0x0,_0x4d00e3=_0x33bb19?_0x33bb19[_0x492eb7(0x192)](_0x5a83eb*0x3+0x1):_0x5a83eb*0x3+0x1,_0x222801=_0x33bb19?_0x33bb19['getX'](_0x5a83eb*0x3+0x2):_0x5a83eb*0x3+0x2;this[_0x492eb7(0x17b)][_0x492eb7(0x182)](_0x5d062a[_0x492eb7(0x192)](_0x4f8892),_0x5d062a['getY'](_0x4f8892),_0x5d062a[_0x492eb7(0x1a8)](_0x4f8892))['applyMatrix4'](_0x3173b5[_0x492eb7(0x18f)]),this[_0x492eb7(0x1a1)][_0x492eb7(0x182)](_0x5d062a['getX'](_0x4d00e3),_0x5d062a[_0x492eb7(0x196)](_0x4d00e3),_0x5d062a[_0x492eb7(0x1a8)](_0x4d00e3))[_0x492eb7(0x19f)](_0x3173b5[_0x492eb7(0x18f)]),this[_0x492eb7(0x183)][_0x492eb7(0x182)](_0x5d062a[_0x492eb7(0x192)](_0x222801),_0x5d062a['getY'](_0x222801),_0x5d062a[_0x492eb7(0x1a8)](_0x222801))[_0x492eb7(0x19f)](_0x3173b5[_0x492eb7(0x18f)]);const _0x579754=this['intersectRayTriangle'](_0x397c12,_0x424d0e,this['_tmpA'],this[_0x492eb7(0x1a1)],this[_0x492eb7(0x183)],_0x531584);_0x579754&&_0x489e2c[_0x492eb7(0x1c1)]({'distance':_0x579754['distance'],'point':_0x579754[_0x492eb7(0x17d)][_0x492eb7(0x1b7)](),'normal':_0x579754[_0x492eb7(0x17c)]['clone']()});}}}}}}return _0x489e2c[_0x492eb7(0x171)]((_0x2f07f0,_0x2b36e3)=>_0x2f07f0[_0x492eb7(0x179)]-_0x2b36e3[_0x492eb7(0x179)]);}[_0x4906fd(0x17e)](_0x340a60,_0x1f9321,_0x2507fe){const _0x4866b3=_0x4906fd,_0x160baa=this[_0x4866b3(0x1bf)](_0x340a60,_0x1f9321,_0x2507fe);if(_0x160baa[_0x4866b3(0x170)]>0x0)return _0x160baa[0x0];return null;}[_0x4906fd(0x1ab)](_0x479be4,_0x477a8a,_0x435df1,_0x54cee1){const _0xa2fc68=_0x4906fd;let _0x3232ff=0x0,_0x352701=_0x435df1;const _0x4d4dfb=1e-8,_0x54272a=_0x399fb4=>{const _0x5e1e84=_0x326d,_0x41b389=_0x479be4[_0x399fb4],_0x34261d=_0x477a8a[_0x399fb4],_0xea0706=_0x54cee1[_0x5e1e84(0x1b2)][_0x399fb4],_0x46c8a=_0x54cee1[_0x5e1e84(0x1ba)][_0x399fb4];if(Math[_0x5e1e84(0x188)](_0x34261d)<_0x4d4dfb)return _0x41b389>=_0xea0706&&_0x41b389<=_0x46c8a;const _0x571f72=0x1/_0x34261d;let _0x21a3f3,_0x5e0cdb;return _0x34261d>=0x0?(_0x21a3f3=(_0xea0706-_0x41b389)*_0x571f72,_0x5e0cdb=(_0x46c8a-_0x41b389)*_0x571f72):(_0x21a3f3=(_0x46c8a-_0x41b389)*_0x571f72,_0x5e0cdb=(_0xea0706-_0x41b389)*_0x571f72),_0x21a3f3>_0x3232ff&&(_0x3232ff=_0x21a3f3),_0x5e0cdb<_0x352701&&(_0x352701=_0x5e0cdb),_0x3232ff<=_0x352701;};if(!_0x54272a('x')||!_0x54272a('y')||!_0x54272a('z'))return ![];const _0x13c0c7=Math[_0xa2fc68(0x1ba)](0x0,_0x3232ff);return _0x13c0c7<=_0x435df1;}['intersectRayTriangle'](_0x315791,_0x1b4a7d,_0x3457fa,_0xa5b493,_0x172c02,_0xf3eb43){const _0x585b54=_0x4906fd,_0x112e9f=1e-8,_0x504284=this[_0x585b54(0x1ae)][_0x585b54(0x1b0)](_0xa5b493)[_0x585b54(0x19d)](_0x3457fa),_0x4b41de=this['_tmpEdge2'][_0x585b54(0x1b0)](_0x172c02)[_0x585b54(0x19d)](_0x3457fa),_0x594f7d=this['_tmpP'][_0x585b54(0x1a5)](_0x1b4a7d,_0x4b41de),_0x58984b=_0x504284[_0x585b54(0x19a)](_0x594f7d);if(Math[_0x585b54(0x188)](_0x58984b)<_0x112e9f)return null;const _0x1c38d4=0x1/_0x58984b,_0x556cea=this[_0x585b54(0x1bc)][_0x585b54(0x1b0)](_0x315791)[_0x585b54(0x19d)](_0x3457fa),_0x89b4a9=_0x556cea[_0x585b54(0x19a)](_0x594f7d)*_0x1c38d4;if(_0x89b4a9<0x0||_0x89b4a9>0x1)return null;const _0x1606bc=this['_tmpQ'][_0x585b54(0x1a5)](_0x556cea,_0x504284),_0x52cdd4=_0x1b4a7d[_0x585b54(0x19a)](_0x1606bc)*_0x1c38d4;if(_0x52cdd4<0x0||_0x89b4a9+_0x52cdd4>0x1)return null;const _0x60864c=_0x4b41de[_0x585b54(0x19a)](_0x1606bc)*_0x1c38d4;if(_0x60864c<0x0||_0x60864c>_0xf3eb43)return null;const _0x3df436=this[_0x585b54(0x175)][_0x585b54(0x1a5)](_0x504284,_0x4b41de),_0x417fb1=_0x3df436[_0x585b54(0x195)]();_0x417fb1>_0x112e9f&&_0x3df436[_0x585b54(0x1b6)](0x1/Math['sqrt'](_0x417fb1));_0x3df436[_0x585b54(0x19a)](_0x1b4a7d)>0x0&&_0x3df436[_0x585b54(0x1b6)](-1);const _0x5ea2eb=this['_tmpCorner'][_0x585b54(0x1b0)](_0x315791)[_0x585b54(0x194)](_0x1b4a7d,_0x60864c);return {'point':_0x5ea2eb,'normal':_0x3df436,'distance':_0x60864c};}[_0x4906fd(0x1bd)](){return this['threeObject'];}[_0x4906fd(0x1b3)](){const _0x22a829=_0x4906fd;if(!this[_0x22a829(0x193)])return null;const _0x32716e=new Object3D();_0x32716e[_0x22a829(0x1a0)]=_0x22a829(0x18a),this[_0x22a829(0x185)]=[],this['_debugMaterial']=new MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x22a829(0x198)]});if(this[_0x22a829(0x180)]){const _0x9cdf06=this['_mesh'],_0x5ba4e4=_0x9cdf06['geometry'];if(_0x5ba4e4){const _0x8ed94e=new Mesh(_0x5ba4e4,this[_0x22a829(0x19c)]);_0x32716e[_0x22a829(0x1bb)](_0x8ed94e),this[_0x22a829(0x185)][_0x22a829(0x1c1)]({'parent':_0x32716e,'obj':_0x8ed94e});}}return _0x32716e;}[_0x4906fd(0x168)](_0x21d1f7){const _0x21a864=_0x4906fd;for(const _0x1631da of this['_debugEntries']){_0x1631da[_0x21a864(0x181)][_0x21a864(0x199)](_0x1631da['obj']);}this[_0x21a864(0x185)]=[],this[_0x21a864(0x19c)]=null;}[_0x4906fd(0x1c4)](){const _0x35ea50=_0x4906fd;if(!this[_0x35ea50(0x19c)])return;this['_debugMaterial']['color'][_0x35ea50(0x18b)](this[_0x35ea50(0x189)]),this[_0x35ea50(0x19c)][_0x35ea50(0x1b9)]=this['debugOpacity'],this[_0x35ea50(0x19c)][_0x35ea50(0x16c)]=this[_0x35ea50(0x198)]<0x1,this[_0x35ea50(0x19c)]['needsUpdate']=!![];}}function _0x4a23(){const _0x4293f0=['914413lRBowo','_tmpQ','8155510omcVGm','matrixWorld','index','396735IleEfV','getX','_sourceObject','addScaledVector','lengthSq','getY','isMesh','debugOpacity','remove','dot','count','_debugMaterial','sub','boundingBox','applyMatrix4','name','_tmpB','_tmpCorner','getWorldAABB','invert','crossVectors','setIndex','array','getZ','destroy','_tmpP','intersectRayAabb','floor','_tmpBoxCorner','_tmpEdge1','geometry','copy','_tmpMat','min','createDebugObject','computeBoundingBox','getAttribute','multiplyScalar','clone','232JBLAnw','opacity','max','add','_tmpT','getDebugAttachParent','setAttribute','raycastAll','231DRLgiB','push','updateWorldMatrix','attributes','onDebugStyleChanged','destroyDebugObject','132402HixdHg','dispose','_tmpAabb','transparent','23460HNBFle','mergeGeometries','setSourceObject','length','sort','getIndex','from','debugEnabled','_tmpN','expandByPoint','traverse','multiply','distance','position','_tmpA','normal','point','raycast','633968UvqBan','_mesh','parent','set','_tmpC','sourceObject','_debugEntries','44axpOvD','268452QWlCQT','abs','debugColor','MeshColliderDebug','setHex'];_0x4a23=function(){return _0x4293f0;};return _0x4a23();}
|
|
159
159
|
|
|
160
|
-
(function(
|
|
160
|
+
(function(_0x167490,_0x155f89){var _0x4c5287=_0x4b72,_0x35a06d=_0x167490();while(!![]){try{var _0x39c7d4=parseInt(_0x4c5287(0x1c8))/0x1*(parseInt(_0x4c5287(0x1c2))/0x2)+parseInt(_0x4c5287(0x1c7))/0x3*(parseInt(_0x4c5287(0x1c1))/0x4)+parseInt(_0x4c5287(0x1c4))/0x5*(-parseInt(_0x4c5287(0x1bf))/0x6)+-parseInt(_0x4c5287(0x1c6))/0x7+parseInt(_0x4c5287(0x1c5))/0x8+parseInt(_0x4c5287(0x1c3))/0x9+-parseInt(_0x4c5287(0x1be))/0xa*(-parseInt(_0x4c5287(0x1c0))/0xb);if(_0x39c7d4===_0x155f89)break;else _0x35a06d['push'](_0x35a06d['shift']());}catch(_0x4ad164){_0x35a06d['push'](_0x35a06d['shift']());}}}(_0x3094,0xbe419));function _0x4b72(_0x1de93a,_0x28e646){_0x1de93a=_0x1de93a-0x1be;var _0x3094a1=_0x3094();var _0x4b7246=_0x3094a1[_0x1de93a];return _0x4b7246;}function _0x3094(){var _0x2e0468=['61386QWgynG','3219887iGAtWw','31084AQKbhR','6vCMzNO','6186447spJFXL','570tyvaLV','691832lnZiaI','9545676XWAlRw','465pjTYjW','346069piyJvx','10zdqWCq'];_0x3094=function(){return _0x2e0468;};return _0x3094();}
|
|
161
161
|
|
|
162
|
-
(function(
|
|
162
|
+
(function(_0x1b1053,_0x48ad6f){var _0x87366f=_0x5c95,_0x3743f5=_0x1b1053();while(!![]){try{var _0x59e5e9=parseInt(_0x87366f(0x11d))/0x1*(parseInt(_0x87366f(0x11b))/0x2)+-parseInt(_0x87366f(0x11c))/0x3+-parseInt(_0x87366f(0x11a))/0x4+parseInt(_0x87366f(0x116))/0x5*(parseInt(_0x87366f(0x115))/0x6)+-parseInt(_0x87366f(0x118))/0x7*(parseInt(_0x87366f(0x112))/0x8)+parseInt(_0x87366f(0x114))/0x9*(parseInt(_0x87366f(0x113))/0xa)+parseInt(_0x87366f(0x119))/0xb*(parseInt(_0x87366f(0x117))/0xc);if(_0x59e5e9===_0x48ad6f)break;else _0x3743f5['push'](_0x3743f5['shift']());}catch(_0x14de2a){_0x3743f5['push'](_0x3743f5['shift']());}}}(_0x2d22,0x4a746));function _0x2d22(){var _0x123be3=['14BqDDXg','21461kHPjJq','119240rvBGAS','2tCyIaR','1355781MSUDHR','445165zpCykJ','1840336zhmcRN','274910NZlZeX','135JigwWY','12bpMLFj','480515AZIneB','1212yFlRHQ'];_0x2d22=function(){return _0x123be3;};return _0x2d22();}function _0x5c95(_0x9b1f92,_0x853f84){_0x9b1f92=_0x9b1f92-0x112;var _0x2d22ab=_0x2d22();var _0x5c950d=_0x2d22ab[_0x9b1f92];return _0x5c950d;}
|
|
163
163
|
|
|
164
164
|
export { ASSET_POINTER_KEY, Actor, AmbientLightActor, AmbientLightComponent, AssetCategory, AssetLoadState, AssetManager, AssetType, AttachmentRules, BoxActor, BoxColliderComponent, BoxComponent, CSS3DWebPanelComponent, CapsuleColliderComponent, ColliderComponent, CollisionChannel, CollisionResponse, CollisionShapeType, Controller, CustomMeshComponent, DefaultAAParams, DefaultAppParam, DefaultBloomParam, DefaultCameraParam, DefaultDOFParam, DefaultGTAOParam, DefaultLensFlareParam, DefaultOrthographicCameraParam, DefaultOutlineParams, DefaultPerspectiveCameraParam, DefaultPostProcessParam, DefaultSSRParam, DefaultSkyParam, DefaultViewportParam, DefaultWorldParam, Delegate, DirectionalLightActor, DirectionalLightComponent, EDITOR_ASSET_ID_KEY, FirstPerson, GeometryAssetPointer, InstanceMeshComponent, LabelComponent, LevelActor, LevelComponent, MaterialAssetPointer, MeshColliderComponent, MeshComponent, Orbital, Pawn, PhysicsWorld, PlaneActor, PlaneComponent, PostProcessManager, PostProcessStepType, ReferenceType, RendererType, SceneComponent, SkyActor, SkyComponent, Spectator, SphereColliderComponent, SphereComponent, TAssetPointer, TSmartPointer, Text3DComponent, TextureAssetPointer, ThreeJsApp, ThreeObjectLibrary, TransformGizmo, Viewport, World };
|
|
165
165
|
//# sourceMappingURL=bundle.esm.js.map
|